diff --git a/ui/src/components/app-icon/icons/application.ts b/ui/src/components/app-icon/icons/application.ts index 86697bf67..a3102a64b 100644 --- a/ui/src/components/app-icon/icons/application.ts +++ b/ui/src/components/app-icon/icons/application.ts @@ -571,4 +571,46 @@ export default { ]) }, }, + 'app-reference-outlined': { + iconReader: () => { + return h('i', [ + h( + 'svg', + { + style: { height: '100%', width: '100%' }, + viewBox: '0 0 1024 1024', + version: '1.1', + xmlns: 'http://www.w3.org/2000/svg', + }, + [ + h('path', { + d: 'M121.216 714.368c-7.082667-17.493333-7.466667-83.413333-7.424-104.32 0.341333-142.72 34.048-256.426667 88.32-330.112C262.4 198.229333 351.701333 161.024 460.8 172.8c7.893333 0.853333 11.946667 7.338667 10.581333 16.981333l-7.381333 51.285334c-1.749333 12.202667-9.813333 12.885333-17.621333 12.202666-138.709333-11.946667-232.576 84.053333-245.76 296.704a165.632 165.632 0 0 1 83.754666-22.528c91.050667 0 164.906667 72.96 164.906667 162.944C449.28 780.373333 375.466667 853.333333 284.373333 853.333333c-82.858667 0-151.424-60.330667-163.157333-138.965333z m438.570667 0c-7.082667-17.493333-7.509333-83.413333-7.466667-104.32 0.426667-142.72 34.090667-256.426667 88.405333-330.112 60.202667-81.706667 149.504-118.912 258.645334-107.136 7.893333 0.853333 11.946667 7.338667 10.581333 16.981333l-7.381333 51.285334c-1.749333 12.202667-9.813333 12.885333-17.621334 12.202666-138.752-11.946667-232.576 84.053333-245.76 296.704a165.632 165.632 0 0 1 83.712-22.528c91.093333 0 164.906667 72.96 164.906667 162.944 0 90.026667-73.813333 162.944-164.906667 162.944-82.773333 0-151.381333-60.330667-163.114666-138.965333z', + fill: 'currentColor', + }), + ], + ), + ]) + }, + }, + 'app-quote': { + iconReader: () => { + return h('i', [ + h( + 'svg', + { + style: { height: '100%', width: '100%' }, + viewBox: '0 0 1024 1024', + version: '1.1', + xmlns: 'http://www.w3.org/2000/svg' + }, + [ + h('path', { + d: 'M800.768 477.184c-14.336 0-30.72 2.048-45.056 4.096 18.432-51.2 77.824-188.416 237.568-315.392 36.864-28.672-20.48-86.016-59.392-57.344-155.648 116.736-356.352 317.44-356.352 573.44v20.48c0 122.88 100.352 223.232 223.232 223.232S1024 825.344 1024 702.464c0-124.928-100.352-225.28-223.232-225.28zM223.232 477.184c-14.336 0-30.72 2.048-45.056 4.096 18.432-51.2 77.824-188.416 237.568-315.392 36.864-28.672-20.48-86.016-59.392-57.344C200.704 225.28 0 425.984 0 681.984v20.48c0 122.88 100.352 223.232 223.232 223.232s223.232-100.352 223.232-223.232c0-124.928-100.352-225.28-223.232-225.28z', + fill: 'currentColor' + }) + ] + ) + ]) + } + }, } diff --git a/ui/src/components/app-icon/icons/chat.ts b/ui/src/components/app-icon/icons/chat.ts deleted file mode 100644 index 7b6fd4426..000000000 --- a/ui/src/components/app-icon/icons/chat.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { h } from 'vue' -export default { - 'app-reference-outlined': { - iconReader: () => { - return h('i', [ - h( - 'svg', - { - style: { height: '100%', width: '100%' }, - viewBox: '0 0 1024 1024', - version: '1.1', - xmlns: 'http://www.w3.org/2000/svg', - }, - [ - h('path', { - d: 'M121.216 714.368c-7.082667-17.493333-7.466667-83.413333-7.424-104.32 0.341333-142.72 34.048-256.426667 88.32-330.112C262.4 198.229333 351.701333 161.024 460.8 172.8c7.893333 0.853333 11.946667 7.338667 10.581333 16.981333l-7.381333 51.285334c-1.749333 12.202667-9.813333 12.885333-17.621333 12.202666-138.709333-11.946667-232.576 84.053333-245.76 296.704a165.632 165.632 0 0 1 83.754666-22.528c91.050667 0 164.906667 72.96 164.906667 162.944C449.28 780.373333 375.466667 853.333333 284.373333 853.333333c-82.858667 0-151.424-60.330667-163.157333-138.965333z m438.570667 0c-7.082667-17.493333-7.509333-83.413333-7.466667-104.32 0.426667-142.72 34.090667-256.426667 88.405333-330.112 60.202667-81.706667 149.504-118.912 258.645334-107.136 7.893333 0.853333 11.946667 7.338667 10.581333 16.981333l-7.381333 51.285334c-1.749333 12.202667-9.813333 12.885333-17.621334 12.202666-138.752-11.946667-232.576 84.053333-245.76 296.704a165.632 165.632 0 0 1 83.712-22.528c91.093333 0 164.906667 72.96 164.906667 162.944 0 90.026667-73.813333 162.944-164.906667 162.944-82.773333 0-151.381333-60.330667-163.114666-138.965333z', - fill: 'currentColor', - }), - ], - ), - ]) - }, - }, -} diff --git a/ui/src/locales/lang/en-US/views/application-overview.ts b/ui/src/locales/lang/en-US/views/application-overview.ts index b9f1cc22c..febc3eec8 100644 --- a/ui/src/locales/lang/en-US/views/application-overview.ts +++ b/ui/src/locales/lang/en-US/views/application-overview.ts @@ -43,6 +43,9 @@ export default { whitelistLabel: 'Allowed Domains', whitelistPlaceholder: 'Enter allowed third-party domains, one per line. For example:\nhttp://127.0.0.1:5678\nhttps://dataease.io', + loginMethod: 'Login Method', + loginMethodRequired: 'Please select login method', + toSettingChatUser: 'Go to configure chat user', }, SettingAPIKeyDialog: { allowCrossDomainLabel: 'Allow Cross-Domain Access', diff --git a/ui/src/locales/lang/zh-CN/views/application-overview.ts b/ui/src/locales/lang/zh-CN/views/application-overview.ts index a81be33bf..316bc58ac 100644 --- a/ui/src/locales/lang/zh-CN/views/application-overview.ts +++ b/ui/src/locales/lang/zh-CN/views/application-overview.ts @@ -17,7 +17,7 @@ export default { msgConfirm1: '是否重新生成公开访问链接?', msgConfirm2: '重新生成公开访问链接会影响嵌入第三方脚本变更,需要将新脚本重新嵌入第三方,请谨慎操作!', - refreshSuccess: '刷新成功' + refreshSuccess: '刷新成功', }, APIKeyDialog: { @@ -25,13 +25,13 @@ export default { msgConfirm1: '是否删除API Key', msgConfirm2: '删除API Key后将无法恢复,请确认是否删除?', enabledSuccess: '已启用', - disabledSuccess: '已禁用' + disabledSuccess: '已禁用', }, EmbedDialog: { fullscreenModeTitle: '全屏模式', copyInstructions: '复制以下代码进行嵌入', floatingModeTitle: '浮窗模式', - mobileModeTitle: '移动端模式' + mobileModeTitle: '移动端模式', }, LimitDialog: { showSourceLabel: '显示知识来源', @@ -41,13 +41,16 @@ export default { authenticationValue: '密码验证', whitelistLabel: '白名单', whitelistPlaceholder: - '请输入允许嵌入第三方的源地址,一行一个,如:\nhttp://127.0.0.1:5678\nhttps://dataease.io' + '请输入允许嵌入第三方的源地址,一行一个,如:\nhttp://127.0.0.1:5678\nhttps://dataease.io', + loginMethod: '登录方式', + loginMethodRequired: '请选择登录方式', + toSettingChatUser: '去配置对话用户', }, SettingAPIKeyDialog: { dialogTitle: '设置', allowCrossDomainLabel: '允许跨域地址', crossDomainPlaceholder: - '请输入允许的跨域地址,开启后不输入跨域地址则不限制。\n跨域地址一行一个,如:\nhttp://127.0.0.1:5678 \nhttps://dataease.io' + '请输入允许的跨域地址,开启后不输入跨域地址则不限制。\n跨域地址一行一个,如:\nhttp://127.0.0.1:5678 \nhttps://dataease.io', }, SettingDisplayDialog: { dialogTitle: '显示设置', @@ -69,7 +72,7 @@ export default { left: '左', right: '右', bottom: '下', - top: '上' + top: '上', }, draggablePosition: '可拖拽位置', showHistory: '显示历史记录', @@ -78,7 +81,7 @@ export default { disclaimerValue: '「以上内容均由 AI 生成,仅供参考和借鉴」', chatBackground: '聊天背景', chatBackgroundMessage: '支持 JPG、PNG、GIF,大小不超过 10 MB', - } + }, }, monitor: { monitoringStatistics: '监控统计', @@ -98,7 +101,7 @@ export default { tokensTotal: 'Tokens 总数', userSatisfaction: '用户满意度', approval: '赞同', - disapproval: '反对' - } - } + disapproval: '反对', + }, + }, } diff --git a/ui/src/locales/lang/zh-Hant/views/application-overview.ts b/ui/src/locales/lang/zh-Hant/views/application-overview.ts index b9d232d57..1fc4ca3c0 100644 --- a/ui/src/locales/lang/zh-Hant/views/application-overview.ts +++ b/ui/src/locales/lang/zh-Hant/views/application-overview.ts @@ -42,6 +42,9 @@ export default { whitelistLabel: '白名單', whitelistPlaceholder: '請輸入允許嵌入第三方的來源位址,一行一個,如:\nhttp://127.0.0.1:5678\nhttps://dataease.io', + loginMethod: '登陸方式', + loginMethodRequired: '請選擇登陸方式', + toSettingChatUser: '去配置對話用戶', }, SettingAPIKeyDialog: { dialogTitle: '設定', diff --git a/ui/src/views/application-overview/xpack-component/XPackLimitDrawer.vue b/ui/src/views/application-overview/xpack-component/XPackLimitDrawer.vue index 316ed2700..a421cef8b 100644 --- a/ui/src/views/application-overview/xpack-component/XPackLimitDrawer.vue +++ b/ui/src/views/application-overview/xpack-component/XPackLimitDrawer.vue @@ -86,16 +86,17 @@
{{ $t('views.system.authentication.title') }}