vue-element-ui-x 1.1.1 → 1.2.0-beta.0
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/README.md +140 -140
- package/components.json +12 -12
- package/lib/components/Attachments/index.js +254 -280
- package/lib/components/Bubble/index.js +7392 -7383
- package/lib/components/BubbleList/index.js +7731 -7724
- package/lib/components/Conversations/index.js +108 -134
- package/lib/components/EditorSender/index.js +57 -61
- package/lib/components/FilesCard/index.js +150 -164
- package/lib/components/Prompts/index.js +55 -61
- package/lib/components/Sender/index.js +85 -91
- package/lib/components/Thinking/index.js +47 -57
- package/lib/components/ThoughtChain/index.js +20715 -20708
- package/lib/components/Typewriter/index.js +58 -49
- package/lib/components/Welcome/index.js +39 -43
- package/lib/index.common.js +1 -1
- package/lib/index.esm.js +1 -1
- package/lib/index.js +28385 -28462
- package/lib/index.umd.js +1 -1
- package/lib/locale/index.js +97 -97
- package/lib/locale/lang/ar.js +18 -18
- package/lib/locale/lang/ar.umd.js +17 -17
- package/lib/locale/lang/de.js +18 -18
- package/lib/locale/lang/de.umd.js +17 -17
- package/lib/locale/lang/en.js +18 -18
- package/lib/locale/lang/en.umd.js +17 -17
- package/lib/locale/lang/es.js +18 -18
- package/lib/locale/lang/es.umd.js +17 -17
- package/lib/locale/lang/fr.js +18 -18
- package/lib/locale/lang/fr.umd.js +17 -17
- package/lib/locale/lang/it.js +18 -18
- package/lib/locale/lang/it.umd.js +17 -17
- package/lib/locale/lang/ja.js +18 -18
- package/lib/locale/lang/ja.umd.js +17 -17
- package/lib/locale/lang/ko.js +18 -18
- package/lib/locale/lang/ko.umd.js +17 -17
- package/lib/locale/lang/pt-br.js +18 -18
- package/lib/locale/lang/pt-br.umd.js +17 -17
- package/lib/locale/lang/ru-RU.js +18 -18
- package/lib/locale/lang/ru-RU.umd.js +17 -17
- package/lib/locale/lang/zh-CN.js +18 -18
- package/lib/locale/lang/zh-CN.umd.js +17 -17
- package/lib/locale/lang/zh-TW.js +18 -18
- package/lib/locale/lang/zh-TW.umd.js +17 -17
- package/lib/locale/mixin.js +9 -9
- package/lib/mixins/index.js +250 -250
- package/package.json +77 -77
package/lib/locale/index.js
CHANGED
|
@@ -1,97 +1,97 @@
|
|
|
1
|
-
const defaultLang = require("./lang/zh-CN");
|
|
2
|
-
|
|
3
|
-
let lang = defaultLang;
|
|
4
|
-
let merged = false;
|
|
5
|
-
let i18nHandler = function () {
|
|
6
|
-
// 检查是否存在 vue-i18n@5.x (Vue.locale)
|
|
7
|
-
if (typeof window !== 'undefined' && window.Vue && window.Vue.locale) {
|
|
8
|
-
const vuei18n = window.Vue.locale;
|
|
9
|
-
if (typeof vuei18n === 'function') {
|
|
10
|
-
if (!merged) {
|
|
11
|
-
merged = true;
|
|
12
|
-
window.Vue.locale(
|
|
13
|
-
window.Vue.config.lang,
|
|
14
|
-
deepMerge(lang, window.Vue.locale(window.Vue.config.lang) || {}, { clone: true }),
|
|
15
|
-
);
|
|
16
|
-
}
|
|
17
|
-
return vuei18n.apply(this, arguments);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
// 检查是否存在 vue-i18n@6.x+ (this.$t)
|
|
22
|
-
if (this && this.$t && typeof this.$t === 'function') {
|
|
23
|
-
try {
|
|
24
|
-
return this.$t.apply(this, arguments);
|
|
25
|
-
} catch (e) {
|
|
26
|
-
// 如果出错,回退到内置翻译
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
const deepMerge = function (target, source, options) {
|
|
32
|
-
options = options || {};
|
|
33
|
-
const clone = options.clone !== false;
|
|
34
|
-
const mergedTarget = clone ? { ...target } : target;
|
|
35
|
-
|
|
36
|
-
for (const key in source) {
|
|
37
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
38
|
-
const value = source[key];
|
|
39
|
-
if (value !== null && typeof value === 'object' && !Array.isArray(value)) {
|
|
40
|
-
mergedTarget[key] = deepMerge(mergedTarget[key] || {}, value, options);
|
|
41
|
-
} else {
|
|
42
|
-
mergedTarget[key] = value;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
return mergedTarget;
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
const t = function (path, options) {
|
|
51
|
-
let value = i18nHandler.apply(this, arguments);
|
|
52
|
-
if (value !== null && value !== undefined) return value;
|
|
53
|
-
|
|
54
|
-
const array = path.split('.');
|
|
55
|
-
let current = lang;
|
|
56
|
-
|
|
57
|
-
for (let i = 0, j = array.length; i < j; i++) {
|
|
58
|
-
const property = array[i];
|
|
59
|
-
value = current[property];
|
|
60
|
-
if (i === j - 1) return format(value, options);
|
|
61
|
-
if (!value) return '';
|
|
62
|
-
current = value;
|
|
63
|
-
}
|
|
64
|
-
return '';
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
const format = function (template, ...args) {
|
|
68
|
-
if (typeof template === 'function') {
|
|
69
|
-
return template(...args);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
if (typeof template !== 'string') {
|
|
73
|
-
return template;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
const [options] = args;
|
|
77
|
-
if (!options) return template;
|
|
78
|
-
|
|
79
|
-
return template.replace(/\{(\w+)\}/g, (match, key) => {
|
|
80
|
-
return options[key] !== undefined ? options[key] : match;
|
|
81
|
-
});
|
|
82
|
-
};
|
|
83
|
-
|
|
84
|
-
const use = function (l) {
|
|
85
|
-
lang = l || lang;
|
|
86
|
-
merged = false;
|
|
87
|
-
};
|
|
88
|
-
|
|
89
|
-
const i18n = function (fn) {
|
|
90
|
-
i18nHandler = fn || i18nHandler;
|
|
91
|
-
};
|
|
92
|
-
|
|
93
|
-
module.exports = {
|
|
94
|
-
use,
|
|
95
|
-
t,
|
|
96
|
-
i18n,
|
|
97
|
-
};
|
|
1
|
+
const defaultLang = require("./lang/zh-CN");
|
|
2
|
+
|
|
3
|
+
let lang = defaultLang;
|
|
4
|
+
let merged = false;
|
|
5
|
+
let i18nHandler = function () {
|
|
6
|
+
// 检查是否存在 vue-i18n@5.x (Vue.locale)
|
|
7
|
+
if (typeof window !== 'undefined' && window.Vue && window.Vue.locale) {
|
|
8
|
+
const vuei18n = window.Vue.locale;
|
|
9
|
+
if (typeof vuei18n === 'function') {
|
|
10
|
+
if (!merged) {
|
|
11
|
+
merged = true;
|
|
12
|
+
window.Vue.locale(
|
|
13
|
+
window.Vue.config.lang,
|
|
14
|
+
deepMerge(lang, window.Vue.locale(window.Vue.config.lang) || {}, { clone: true }),
|
|
15
|
+
);
|
|
16
|
+
}
|
|
17
|
+
return vuei18n.apply(this, arguments);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
// 检查是否存在 vue-i18n@6.x+ (this.$t)
|
|
22
|
+
if (this && this.$t && typeof this.$t === 'function') {
|
|
23
|
+
try {
|
|
24
|
+
return this.$t.apply(this, arguments);
|
|
25
|
+
} catch (e) {
|
|
26
|
+
// 如果出错,回退到内置翻译
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
const deepMerge = function (target, source, options) {
|
|
32
|
+
options = options || {};
|
|
33
|
+
const clone = options.clone !== false;
|
|
34
|
+
const mergedTarget = clone ? { ...target } : target;
|
|
35
|
+
|
|
36
|
+
for (const key in source) {
|
|
37
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
38
|
+
const value = source[key];
|
|
39
|
+
if (value !== null && typeof value === 'object' && !Array.isArray(value)) {
|
|
40
|
+
mergedTarget[key] = deepMerge(mergedTarget[key] || {}, value, options);
|
|
41
|
+
} else {
|
|
42
|
+
mergedTarget[key] = value;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
return mergedTarget;
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
const t = function (path, options) {
|
|
51
|
+
let value = i18nHandler.apply(this, arguments);
|
|
52
|
+
if (value !== null && value !== undefined) return value;
|
|
53
|
+
|
|
54
|
+
const array = path.split('.');
|
|
55
|
+
let current = lang;
|
|
56
|
+
|
|
57
|
+
for (let i = 0, j = array.length; i < j; i++) {
|
|
58
|
+
const property = array[i];
|
|
59
|
+
value = current[property];
|
|
60
|
+
if (i === j - 1) return format(value, options);
|
|
61
|
+
if (!value) return '';
|
|
62
|
+
current = value;
|
|
63
|
+
}
|
|
64
|
+
return '';
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
const format = function (template, ...args) {
|
|
68
|
+
if (typeof template === 'function') {
|
|
69
|
+
return template(...args);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
if (typeof template !== 'string') {
|
|
73
|
+
return template;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
const [options] = args;
|
|
77
|
+
if (!options) return template;
|
|
78
|
+
|
|
79
|
+
return template.replace(/\{(\w+)\}/g, (match, key) => {
|
|
80
|
+
return options[key] !== undefined ? options[key] : match;
|
|
81
|
+
});
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
const use = function (l) {
|
|
85
|
+
lang = l || lang;
|
|
86
|
+
merged = false;
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
const i18n = function (fn) {
|
|
90
|
+
i18nHandler = fn || i18nHandler;
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
module.exports = {
|
|
94
|
+
use,
|
|
95
|
+
t,
|
|
96
|
+
i18n,
|
|
97
|
+
};
|
package/lib/locale/lang/ar.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
el_x: {
|
|
3
|
-
thinking: {
|
|
4
|
-
start: 'ابدأ التفكير',
|
|
5
|
-
processing: 'جاري التفكير...',
|
|
6
|
-
completed: 'اكتمل التفكير',
|
|
7
|
-
error: 'خطأ في التفكير',
|
|
8
|
-
errorContent: 'حدث خطأ أثناء التفكير',
|
|
9
|
-
},
|
|
10
|
-
sender: { placeholder: 'يرجى إدخال المحتوى' },
|
|
11
|
-
common: {
|
|
12
|
-
loading: 'جاري التحميل...',
|
|
13
|
-
success: 'نجح',
|
|
14
|
-
error: 'خطأ',
|
|
15
|
-
warning: 'تحذير',
|
|
16
|
-
},
|
|
17
|
-
},
|
|
18
|
-
};
|
|
1
|
+
module.exports = {
|
|
2
|
+
el_x: {
|
|
3
|
+
thinking: {
|
|
4
|
+
start: 'ابدأ التفكير',
|
|
5
|
+
processing: 'جاري التفكير...',
|
|
6
|
+
completed: 'اكتمل التفكير',
|
|
7
|
+
error: 'خطأ في التفكير',
|
|
8
|
+
errorContent: 'حدث خطأ أثناء التفكير',
|
|
9
|
+
},
|
|
10
|
+
sender: { placeholder: 'يرجى إدخال المحتوى' },
|
|
11
|
+
common: {
|
|
12
|
+
loading: 'جاري التحميل...',
|
|
13
|
+
success: 'نجح',
|
|
14
|
+
error: 'خطأ',
|
|
15
|
+
warning: 'تحذير',
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
};
|
|
@@ -4,23 +4,23 @@
|
|
|
4
4
|
(global = global || self, (global.ELEMENT_UI_X = global.ELEMENT_UI_X || {}, global.ELEMENT_UI_X.lang = global.ELEMENT_UI_X.lang || {}, global.ELEMENT_UI_X.lang.ar = factory()));
|
|
5
5
|
}(this, function () { 'use strict';
|
|
6
6
|
|
|
7
|
-
return {
|
|
8
|
-
el_x: {
|
|
9
|
-
thinking: {
|
|
10
|
-
start: 'ابدأ التفكير',
|
|
11
|
-
processing: 'جاري التفكير...',
|
|
12
|
-
completed: 'اكتمل التفكير',
|
|
13
|
-
error: 'خطأ في التفكير',
|
|
14
|
-
errorContent: 'حدث خطأ أثناء التفكير',
|
|
15
|
-
},
|
|
16
|
-
sender: { placeholder: 'يرجى إدخال المحتوى' },
|
|
17
|
-
common: {
|
|
18
|
-
loading: 'جاري التحميل...',
|
|
19
|
-
success: 'نجح',
|
|
20
|
-
error: 'خطأ',
|
|
21
|
-
warning: 'تحذير',
|
|
22
|
-
},
|
|
23
|
-
},
|
|
7
|
+
return {
|
|
8
|
+
el_x: {
|
|
9
|
+
thinking: {
|
|
10
|
+
start: 'ابدأ التفكير',
|
|
11
|
+
processing: 'جاري التفكير...',
|
|
12
|
+
completed: 'اكتمل التفكير',
|
|
13
|
+
error: 'خطأ في التفكير',
|
|
14
|
+
errorContent: 'حدث خطأ أثناء التفكير',
|
|
15
|
+
},
|
|
16
|
+
sender: { placeholder: 'يرجى إدخال المحتوى' },
|
|
17
|
+
common: {
|
|
18
|
+
loading: 'جاري التحميل...',
|
|
19
|
+
success: 'نجح',
|
|
20
|
+
error: 'خطأ',
|
|
21
|
+
warning: 'تحذير',
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
24
|
};
|
|
25
25
|
|
|
26
26
|
}));
|
package/lib/locale/lang/de.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
el_x: {
|
|
3
|
-
thinking: {
|
|
4
|
-
start: 'Denken beginnen',
|
|
5
|
-
processing: 'Denken...',
|
|
6
|
-
completed: 'Denken abgeschlossen',
|
|
7
|
-
error: 'Denkfehler',
|
|
8
|
-
errorContent: 'Beim Denken ist ein Fehler aufgetreten',
|
|
9
|
-
},
|
|
10
|
-
sender: { placeholder: 'Bitte geben Sie Inhalt ein' },
|
|
11
|
-
common: {
|
|
12
|
-
loading: 'Laden...',
|
|
13
|
-
success: 'Erfolg',
|
|
14
|
-
error: 'Fehler',
|
|
15
|
-
warning: 'Warnung',
|
|
16
|
-
},
|
|
17
|
-
},
|
|
18
|
-
};
|
|
1
|
+
module.exports = {
|
|
2
|
+
el_x: {
|
|
3
|
+
thinking: {
|
|
4
|
+
start: 'Denken beginnen',
|
|
5
|
+
processing: 'Denken...',
|
|
6
|
+
completed: 'Denken abgeschlossen',
|
|
7
|
+
error: 'Denkfehler',
|
|
8
|
+
errorContent: 'Beim Denken ist ein Fehler aufgetreten',
|
|
9
|
+
},
|
|
10
|
+
sender: { placeholder: 'Bitte geben Sie Inhalt ein' },
|
|
11
|
+
common: {
|
|
12
|
+
loading: 'Laden...',
|
|
13
|
+
success: 'Erfolg',
|
|
14
|
+
error: 'Fehler',
|
|
15
|
+
warning: 'Warnung',
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
};
|
|
@@ -4,23 +4,23 @@
|
|
|
4
4
|
(global = global || self, (global.ELEMENT_UI_X = global.ELEMENT_UI_X || {}, global.ELEMENT_UI_X.lang = global.ELEMENT_UI_X.lang || {}, global.ELEMENT_UI_X.lang.de = factory()));
|
|
5
5
|
}(this, function () { 'use strict';
|
|
6
6
|
|
|
7
|
-
return {
|
|
8
|
-
el_x: {
|
|
9
|
-
thinking: {
|
|
10
|
-
start: 'Denken beginnen',
|
|
11
|
-
processing: 'Denken...',
|
|
12
|
-
completed: 'Denken abgeschlossen',
|
|
13
|
-
error: 'Denkfehler',
|
|
14
|
-
errorContent: 'Beim Denken ist ein Fehler aufgetreten',
|
|
15
|
-
},
|
|
16
|
-
sender: { placeholder: 'Bitte geben Sie Inhalt ein' },
|
|
17
|
-
common: {
|
|
18
|
-
loading: 'Laden...',
|
|
19
|
-
success: 'Erfolg',
|
|
20
|
-
error: 'Fehler',
|
|
21
|
-
warning: 'Warnung',
|
|
22
|
-
},
|
|
23
|
-
},
|
|
7
|
+
return {
|
|
8
|
+
el_x: {
|
|
9
|
+
thinking: {
|
|
10
|
+
start: 'Denken beginnen',
|
|
11
|
+
processing: 'Denken...',
|
|
12
|
+
completed: 'Denken abgeschlossen',
|
|
13
|
+
error: 'Denkfehler',
|
|
14
|
+
errorContent: 'Beim Denken ist ein Fehler aufgetreten',
|
|
15
|
+
},
|
|
16
|
+
sender: { placeholder: 'Bitte geben Sie Inhalt ein' },
|
|
17
|
+
common: {
|
|
18
|
+
loading: 'Laden...',
|
|
19
|
+
success: 'Erfolg',
|
|
20
|
+
error: 'Fehler',
|
|
21
|
+
warning: 'Warnung',
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
24
|
};
|
|
25
25
|
|
|
26
26
|
}));
|
package/lib/locale/lang/en.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
el_x: {
|
|
3
|
-
thinking: {
|
|
4
|
-
start: 'Start Thinking',
|
|
5
|
-
processing: 'Thinking...',
|
|
6
|
-
completed: 'Thinking Completed',
|
|
7
|
-
error: 'Thinking Error',
|
|
8
|
-
errorContent: 'An error occurred during thinking',
|
|
9
|
-
},
|
|
10
|
-
sender: { placeholder: 'Please enter content' },
|
|
11
|
-
common: {
|
|
12
|
-
loading: 'Loading...',
|
|
13
|
-
success: 'Success',
|
|
14
|
-
error: 'Error',
|
|
15
|
-
warning: 'Warning',
|
|
16
|
-
},
|
|
17
|
-
},
|
|
18
|
-
};
|
|
1
|
+
module.exports = {
|
|
2
|
+
el_x: {
|
|
3
|
+
thinking: {
|
|
4
|
+
start: 'Start Thinking',
|
|
5
|
+
processing: 'Thinking...',
|
|
6
|
+
completed: 'Thinking Completed',
|
|
7
|
+
error: 'Thinking Error',
|
|
8
|
+
errorContent: 'An error occurred during thinking',
|
|
9
|
+
},
|
|
10
|
+
sender: { placeholder: 'Please enter content' },
|
|
11
|
+
common: {
|
|
12
|
+
loading: 'Loading...',
|
|
13
|
+
success: 'Success',
|
|
14
|
+
error: 'Error',
|
|
15
|
+
warning: 'Warning',
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
};
|
|
@@ -4,23 +4,23 @@
|
|
|
4
4
|
(global = global || self, (global.ELEMENT_UI_X = global.ELEMENT_UI_X || {}, global.ELEMENT_UI_X.lang = global.ELEMENT_UI_X.lang || {}, global.ELEMENT_UI_X.lang.en = factory()));
|
|
5
5
|
}(this, function () { 'use strict';
|
|
6
6
|
|
|
7
|
-
return {
|
|
8
|
-
el_x: {
|
|
9
|
-
thinking: {
|
|
10
|
-
start: 'Start Thinking',
|
|
11
|
-
processing: 'Thinking...',
|
|
12
|
-
completed: 'Thinking Completed',
|
|
13
|
-
error: 'Thinking Error',
|
|
14
|
-
errorContent: 'An error occurred during thinking',
|
|
15
|
-
},
|
|
16
|
-
sender: { placeholder: 'Please enter content' },
|
|
17
|
-
common: {
|
|
18
|
-
loading: 'Loading...',
|
|
19
|
-
success: 'Success',
|
|
20
|
-
error: 'Error',
|
|
21
|
-
warning: 'Warning',
|
|
22
|
-
},
|
|
23
|
-
},
|
|
7
|
+
return {
|
|
8
|
+
el_x: {
|
|
9
|
+
thinking: {
|
|
10
|
+
start: 'Start Thinking',
|
|
11
|
+
processing: 'Thinking...',
|
|
12
|
+
completed: 'Thinking Completed',
|
|
13
|
+
error: 'Thinking Error',
|
|
14
|
+
errorContent: 'An error occurred during thinking',
|
|
15
|
+
},
|
|
16
|
+
sender: { placeholder: 'Please enter content' },
|
|
17
|
+
common: {
|
|
18
|
+
loading: 'Loading...',
|
|
19
|
+
success: 'Success',
|
|
20
|
+
error: 'Error',
|
|
21
|
+
warning: 'Warning',
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
24
|
};
|
|
25
25
|
|
|
26
26
|
}));
|
package/lib/locale/lang/es.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
el_x: {
|
|
3
|
-
thinking: {
|
|
4
|
-
start: 'Comenzar a pensar',
|
|
5
|
-
processing: 'Pensando...',
|
|
6
|
-
completed: 'Pensamiento completado',
|
|
7
|
-
error: 'Error de pensamiento',
|
|
8
|
-
errorContent: 'Ocurrió un error durante el pensamiento',
|
|
9
|
-
},
|
|
10
|
-
sender: { placeholder: 'Por favor ingrese contenido' },
|
|
11
|
-
common: {
|
|
12
|
-
loading: 'Cargando...',
|
|
13
|
-
success: 'Éxito',
|
|
14
|
-
error: 'Error',
|
|
15
|
-
warning: 'Advertencia',
|
|
16
|
-
},
|
|
17
|
-
},
|
|
18
|
-
};
|
|
1
|
+
module.exports = {
|
|
2
|
+
el_x: {
|
|
3
|
+
thinking: {
|
|
4
|
+
start: 'Comenzar a pensar',
|
|
5
|
+
processing: 'Pensando...',
|
|
6
|
+
completed: 'Pensamiento completado',
|
|
7
|
+
error: 'Error de pensamiento',
|
|
8
|
+
errorContent: 'Ocurrió un error durante el pensamiento',
|
|
9
|
+
},
|
|
10
|
+
sender: { placeholder: 'Por favor ingrese contenido' },
|
|
11
|
+
common: {
|
|
12
|
+
loading: 'Cargando...',
|
|
13
|
+
success: 'Éxito',
|
|
14
|
+
error: 'Error',
|
|
15
|
+
warning: 'Advertencia',
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
};
|
|
@@ -4,23 +4,23 @@
|
|
|
4
4
|
(global = global || self, (global.ELEMENT_UI_X = global.ELEMENT_UI_X || {}, global.ELEMENT_UI_X.lang = global.ELEMENT_UI_X.lang || {}, global.ELEMENT_UI_X.lang.es = factory()));
|
|
5
5
|
}(this, function () { 'use strict';
|
|
6
6
|
|
|
7
|
-
return {
|
|
8
|
-
el_x: {
|
|
9
|
-
thinking: {
|
|
10
|
-
start: 'Comenzar a pensar',
|
|
11
|
-
processing: 'Pensando...',
|
|
12
|
-
completed: 'Pensamiento completado',
|
|
13
|
-
error: 'Error de pensamiento',
|
|
14
|
-
errorContent: 'Ocurrió un error durante el pensamiento',
|
|
15
|
-
},
|
|
16
|
-
sender: { placeholder: 'Por favor ingrese contenido' },
|
|
17
|
-
common: {
|
|
18
|
-
loading: 'Cargando...',
|
|
19
|
-
success: 'Éxito',
|
|
20
|
-
error: 'Error',
|
|
21
|
-
warning: 'Advertencia',
|
|
22
|
-
},
|
|
23
|
-
},
|
|
7
|
+
return {
|
|
8
|
+
el_x: {
|
|
9
|
+
thinking: {
|
|
10
|
+
start: 'Comenzar a pensar',
|
|
11
|
+
processing: 'Pensando...',
|
|
12
|
+
completed: 'Pensamiento completado',
|
|
13
|
+
error: 'Error de pensamiento',
|
|
14
|
+
errorContent: 'Ocurrió un error durante el pensamiento',
|
|
15
|
+
},
|
|
16
|
+
sender: { placeholder: 'Por favor ingrese contenido' },
|
|
17
|
+
common: {
|
|
18
|
+
loading: 'Cargando...',
|
|
19
|
+
success: 'Éxito',
|
|
20
|
+
error: 'Error',
|
|
21
|
+
warning: 'Advertencia',
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
24
|
};
|
|
25
25
|
|
|
26
26
|
}));
|
package/lib/locale/lang/fr.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
el_x: {
|
|
3
|
-
thinking: {
|
|
4
|
-
start: 'Commencer à réfléchir',
|
|
5
|
-
processing: 'Réflexion en cours...',
|
|
6
|
-
completed: 'Réflexion terminée',
|
|
7
|
-
error: 'Erreur de réflexion',
|
|
8
|
-
errorContent: "Une erreur s'est produite pendant la réflexion",
|
|
9
|
-
},
|
|
10
|
-
sender: { placeholder: 'Veuillez entrer le contenu' },
|
|
11
|
-
common: {
|
|
12
|
-
loading: 'Chargement...',
|
|
13
|
-
success: 'Succès',
|
|
14
|
-
error: 'Erreur',
|
|
15
|
-
warning: 'Avertissement',
|
|
16
|
-
},
|
|
17
|
-
},
|
|
18
|
-
};
|
|
1
|
+
module.exports = {
|
|
2
|
+
el_x: {
|
|
3
|
+
thinking: {
|
|
4
|
+
start: 'Commencer à réfléchir',
|
|
5
|
+
processing: 'Réflexion en cours...',
|
|
6
|
+
completed: 'Réflexion terminée',
|
|
7
|
+
error: 'Erreur de réflexion',
|
|
8
|
+
errorContent: "Une erreur s'est produite pendant la réflexion",
|
|
9
|
+
},
|
|
10
|
+
sender: { placeholder: 'Veuillez entrer le contenu' },
|
|
11
|
+
common: {
|
|
12
|
+
loading: 'Chargement...',
|
|
13
|
+
success: 'Succès',
|
|
14
|
+
error: 'Erreur',
|
|
15
|
+
warning: 'Avertissement',
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
};
|
|
@@ -4,23 +4,23 @@
|
|
|
4
4
|
(global = global || self, (global.ELEMENT_UI_X = global.ELEMENT_UI_X || {}, global.ELEMENT_UI_X.lang = global.ELEMENT_UI_X.lang || {}, global.ELEMENT_UI_X.lang.fr = factory()));
|
|
5
5
|
}(this, function () { 'use strict';
|
|
6
6
|
|
|
7
|
-
return {
|
|
8
|
-
el_x: {
|
|
9
|
-
thinking: {
|
|
10
|
-
start: 'Commencer à réfléchir',
|
|
11
|
-
processing: 'Réflexion en cours...',
|
|
12
|
-
completed: 'Réflexion terminée',
|
|
13
|
-
error: 'Erreur de réflexion',
|
|
14
|
-
errorContent: "Une erreur s'est produite pendant la réflexion",
|
|
15
|
-
},
|
|
16
|
-
sender: { placeholder: 'Veuillez entrer le contenu' },
|
|
17
|
-
common: {
|
|
18
|
-
loading: 'Chargement...',
|
|
19
|
-
success: 'Succès',
|
|
20
|
-
error: 'Erreur',
|
|
21
|
-
warning: 'Avertissement',
|
|
22
|
-
},
|
|
23
|
-
},
|
|
7
|
+
return {
|
|
8
|
+
el_x: {
|
|
9
|
+
thinking: {
|
|
10
|
+
start: 'Commencer à réfléchir',
|
|
11
|
+
processing: 'Réflexion en cours...',
|
|
12
|
+
completed: 'Réflexion terminée',
|
|
13
|
+
error: 'Erreur de réflexion',
|
|
14
|
+
errorContent: "Une erreur s'est produite pendant la réflexion",
|
|
15
|
+
},
|
|
16
|
+
sender: { placeholder: 'Veuillez entrer le contenu' },
|
|
17
|
+
common: {
|
|
18
|
+
loading: 'Chargement...',
|
|
19
|
+
success: 'Succès',
|
|
20
|
+
error: 'Erreur',
|
|
21
|
+
warning: 'Avertissement',
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
24
|
};
|
|
25
25
|
|
|
26
26
|
}));
|
package/lib/locale/lang/it.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
el_x: {
|
|
3
|
-
thinking: {
|
|
4
|
-
start: 'Inizia a pensare',
|
|
5
|
-
processing: 'Pensando...',
|
|
6
|
-
completed: 'Pensiero completato',
|
|
7
|
-
error: 'Errore di pensiero',
|
|
8
|
-
errorContent: 'Si è verificato un errore durante il pensiero',
|
|
9
|
-
},
|
|
10
|
-
sender: { placeholder: 'Inserisci il contenuto' },
|
|
11
|
-
common: {
|
|
12
|
-
loading: 'Caricamento...',
|
|
13
|
-
success: 'Successo',
|
|
14
|
-
error: 'Errore',
|
|
15
|
-
warning: 'Avvertimento',
|
|
16
|
-
},
|
|
17
|
-
},
|
|
18
|
-
};
|
|
1
|
+
module.exports = {
|
|
2
|
+
el_x: {
|
|
3
|
+
thinking: {
|
|
4
|
+
start: 'Inizia a pensare',
|
|
5
|
+
processing: 'Pensando...',
|
|
6
|
+
completed: 'Pensiero completato',
|
|
7
|
+
error: 'Errore di pensiero',
|
|
8
|
+
errorContent: 'Si è verificato un errore durante il pensiero',
|
|
9
|
+
},
|
|
10
|
+
sender: { placeholder: 'Inserisci il contenuto' },
|
|
11
|
+
common: {
|
|
12
|
+
loading: 'Caricamento...',
|
|
13
|
+
success: 'Successo',
|
|
14
|
+
error: 'Errore',
|
|
15
|
+
warning: 'Avvertimento',
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
};
|
|
@@ -4,23 +4,23 @@
|
|
|
4
4
|
(global = global || self, (global.ELEMENT_UI_X = global.ELEMENT_UI_X || {}, global.ELEMENT_UI_X.lang = global.ELEMENT_UI_X.lang || {}, global.ELEMENT_UI_X.lang.it = factory()));
|
|
5
5
|
}(this, function () { 'use strict';
|
|
6
6
|
|
|
7
|
-
return {
|
|
8
|
-
el_x: {
|
|
9
|
-
thinking: {
|
|
10
|
-
start: 'Inizia a pensare',
|
|
11
|
-
processing: 'Pensando...',
|
|
12
|
-
completed: 'Pensiero completato',
|
|
13
|
-
error: 'Errore di pensiero',
|
|
14
|
-
errorContent: 'Si è verificato un errore durante il pensiero',
|
|
15
|
-
},
|
|
16
|
-
sender: { placeholder: 'Inserisci il contenuto' },
|
|
17
|
-
common: {
|
|
18
|
-
loading: 'Caricamento...',
|
|
19
|
-
success: 'Successo',
|
|
20
|
-
error: 'Errore',
|
|
21
|
-
warning: 'Avvertimento',
|
|
22
|
-
},
|
|
23
|
-
},
|
|
7
|
+
return {
|
|
8
|
+
el_x: {
|
|
9
|
+
thinking: {
|
|
10
|
+
start: 'Inizia a pensare',
|
|
11
|
+
processing: 'Pensando...',
|
|
12
|
+
completed: 'Pensiero completato',
|
|
13
|
+
error: 'Errore di pensiero',
|
|
14
|
+
errorContent: 'Si è verificato un errore durante il pensiero',
|
|
15
|
+
},
|
|
16
|
+
sender: { placeholder: 'Inserisci il contenuto' },
|
|
17
|
+
common: {
|
|
18
|
+
loading: 'Caricamento...',
|
|
19
|
+
success: 'Successo',
|
|
20
|
+
error: 'Errore',
|
|
21
|
+
warning: 'Avvertimento',
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
24
|
};
|
|
25
25
|
|
|
26
26
|
}));
|