askbot-dragon 1.7.21-beta → 1.7.23-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -1
- package/public/index.html +8 -10
- package/src/assets/js/AliyunlssUtil.js +50 -26
- package/src/assets/js/hammer.js +13 -2
- package/src/assets/less/converSationContainer/common.less +7 -0
- package/src/components/ActionAlertIframe.vue +24 -1
- package/src/components/AiGuide.vue +121 -154
- package/src/components/AnswerDocknowledge.vue +108 -100
- package/src/components/ConversationContainer.vue +12 -207
- package/src/components/MyEditor.vue +2 -1
- package/src/components/actionSatisfaction.vue +3 -3
- package/src/components/answerRadio.vue +3 -3
- package/src/components/askVideo.vue +23 -0
- package/src/components/associationIntention.vue +11 -7
- package/src/components/formTemplate.vue +54 -50
- package/src/components/intelligentSummary.vue +8 -4
- package/src/components/message/TextMessage.vue +15 -11
- package/src/components/message/swiper/ticketSwiper.vue +1 -1
- package/src/components/newPdfPosition.vue +878 -0
- package/src/components/pdfPosition.vue +217 -37
- package/src/components/popup.vue +2 -2
- package/src/components/previewDoc.vue +6 -2
- package/src/components/previewPdf.vue +159 -134
- package/src/components/senderMessagePlatform.vue +4 -4
- package/src/components/utils/ckeditor.js +1 -1
- package/src/components/welcomeKnowledgeFile.vue +6 -2
- package/src/components/welcomeLlmCard.vue +5 -1
- package/src/components/welcomeSuggest.vue +1 -1
- package/src/locales/cn.json +72 -0
- package/src/locales/en.json +73 -0
- package/src/locales/jp.json +73 -0
- package/src/main.js +18 -0
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actionSatisfaction": {
|
|
3
|
+
"satisfaction": "満足",
|
|
4
|
+
"notSatisfied": "不満"
|
|
5
|
+
},
|
|
6
|
+
"answerRadio": {
|
|
7
|
+
"tip": "AIがお勧めする内容",
|
|
8
|
+
"loadMore": "さらに表示"
|
|
9
|
+
},
|
|
10
|
+
"previewPdf": {
|
|
11
|
+
"intelligentSummary": "インテリジェントサマリー",
|
|
12
|
+
"chat": "チャット",
|
|
13
|
+
"regeneration": "再生成",
|
|
14
|
+
"generating": "生成中",
|
|
15
|
+
"copyUrl": "ダウンロードURLがコピーされました。Safariブラウザでダウンロードしてください。",
|
|
16
|
+
"answer": "回答",
|
|
17
|
+
"answerTip": "セクションの生成"
|
|
18
|
+
},
|
|
19
|
+
"answerDocKnowledge": {
|
|
20
|
+
"title": "AIが生成した要約",
|
|
21
|
+
"sourceFrom": "出典",
|
|
22
|
+
"view": "表示"
|
|
23
|
+
},
|
|
24
|
+
"formTemplate": {
|
|
25
|
+
"report": "レポート",
|
|
26
|
+
"feedbackDes": "フィードバックの説明",
|
|
27
|
+
"orderDes": "オーダーの説明",
|
|
28
|
+
"uploadType": "画像形式のみアップロード可能です",
|
|
29
|
+
"uploadImageSize": "画像サイズは8MB以下にしてください",
|
|
30
|
+
"uploadVideoType": "ビデオ形式のみアップロード可能です",
|
|
31
|
+
"uploadVideoSize": "ビデオサイズは100MB以下にしてください",
|
|
32
|
+
"uploadFileSize": "ファイルサイズは100MB以下にしてください",
|
|
33
|
+
"onlyUpload": "アップロードのみ可能",
|
|
34
|
+
"number": "個",
|
|
35
|
+
"textFlag": "テキストが必要です",
|
|
36
|
+
"imageOrAttachment": "画像または添付ファイルが必要です",
|
|
37
|
+
"imageFlag": "画像が必要です",
|
|
38
|
+
"attachmentFlag": "添付ファイルが必要です",
|
|
39
|
+
"image": "画像",
|
|
40
|
+
"file": "添付ファイル",
|
|
41
|
+
"and": "と",
|
|
42
|
+
"required": "必須",
|
|
43
|
+
"uploading": "ファイルをアップロード中です。しばらくお待ちください",
|
|
44
|
+
"pleaseImprove": "ご改善ください",
|
|
45
|
+
"feedbackDesRequired": "フィードバックの説明は必須です",
|
|
46
|
+
"orderDesRequired": "オーダーの説明は必須です"
|
|
47
|
+
},
|
|
48
|
+
"senderMessagePlatform": {
|
|
49
|
+
"IM": "IMチャット",
|
|
50
|
+
"service": "ご案内します",
|
|
51
|
+
"transfer": "会話を転送します"
|
|
52
|
+
},
|
|
53
|
+
"common": {
|
|
54
|
+
"drawerTitle": "タイトル",
|
|
55
|
+
"viewDetail": "詳細を表示",
|
|
56
|
+
"download": "ダウンロード",
|
|
57
|
+
"changeBatch": "別のバッチに変更",
|
|
58
|
+
"lodeMore": "さらに表示",
|
|
59
|
+
"previous": "前へ",
|
|
60
|
+
"next": "次へ",
|
|
61
|
+
"selectPlaceholder": "選択してください",
|
|
62
|
+
"inputPlaceholder": "入力してください",
|
|
63
|
+
"selectDate": "日付を選択",
|
|
64
|
+
"selectTime": "時間を選択",
|
|
65
|
+
"selectDateTime": "日時を選択",
|
|
66
|
+
"cancel": "キャンセル",
|
|
67
|
+
"confirm": "確認",
|
|
68
|
+
"submit": "送信",
|
|
69
|
+
"submited": "送信済み",
|
|
70
|
+
"confirmed": "確認済み"
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
package/src/main.js
CHANGED
|
@@ -16,6 +16,23 @@ Vue.use(vConsole);*/
|
|
|
16
16
|
import $ from 'jquery'
|
|
17
17
|
Vue.prototype._$ = $;
|
|
18
18
|
Vue.use(Vant);
|
|
19
|
+
import VueI18n from 'vue-i18n'; //多语言
|
|
20
|
+
|
|
21
|
+
// 导入多语言的 JSON 文件
|
|
22
|
+
import enLocale from './locales/en.json';
|
|
23
|
+
import cnLocale from './locales/cn.json';
|
|
24
|
+
|
|
25
|
+
Vue.use(VueI18n);
|
|
26
|
+
console.log('languageCode',sessionStorage.getItem('languageCode'))
|
|
27
|
+
// 创建 VueI18n 实例,并设置默认语言和多语言内容
|
|
28
|
+
const i18n = new VueI18n({
|
|
29
|
+
locale: sessionStorage.getItem('languageCode') || 'cn', // 默认语言
|
|
30
|
+
messages: {
|
|
31
|
+
en: enLocale, // 英文
|
|
32
|
+
cn: cnLocale, // 中文
|
|
33
|
+
// 其他语言...
|
|
34
|
+
}
|
|
35
|
+
});
|
|
19
36
|
Date.prototype.Format = function (fmt) { //author: meizz
|
|
20
37
|
var o = {
|
|
21
38
|
"M+": this.getMonth() + 1, //月份
|
|
@@ -53,5 +70,6 @@ Vue.prototype.requestUrl = requestUrl;
|
|
|
53
70
|
Vue.prototype.utils = utils;
|
|
54
71
|
|
|
55
72
|
new Vue({
|
|
73
|
+
i18n,
|
|
56
74
|
render: h => h(App),
|
|
57
75
|
}).$mount('#app')
|