vue-element-ui-x 1.0.3 → 1.0.4

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.
Files changed (76) hide show
  1. package/README.md +20 -9
  2. package/components.json +13 -0
  3. package/lib/components/Attachments/index.js +987 -995
  4. package/lib/components/Bubble/index.js +10656 -10705
  5. package/lib/components/BubbleList/index.js +10951 -11038
  6. package/lib/components/Conversations/index.js +14026 -14063
  7. package/lib/components/FilesCard/index.js +606 -614
  8. package/lib/components/Prompts/index.js +457 -470
  9. package/lib/components/Sender/index.js +1701 -1678
  10. package/lib/components/Thinking/index.js +695 -703
  11. package/lib/components/ThoughtChain/index.js +25117 -25173
  12. package/lib/components/Typewriter/index.js +10247 -10302
  13. package/lib/components/Welcome/index.js +357 -370
  14. package/lib/index.common.js +1 -1
  15. package/lib/index.esm.js +1 -1
  16. package/lib/index.js +32068 -32093
  17. package/lib/index.umd.js +1 -1
  18. package/lib/mixins/index.js +61 -116
  19. package/package.json +24 -6
  20. package/src/components/Attachments/index.js +8 -8
  21. package/src/components/Bubble/index.js +6 -6
  22. package/src/components/BubbleList/index.js +8 -8
  23. package/src/components/BubbleList/src/loading.vue +75 -75
  24. package/src/components/Conversations/index.js +8 -8
  25. package/src/components/FilesCard/index.js +8 -8
  26. package/src/components/FilesCard/src/fileSvg/audio.vue +38 -38
  27. package/src/components/FilesCard/src/fileSvg/code.vue +35 -35
  28. package/src/components/FilesCard/src/fileSvg/database.vue +94 -94
  29. package/src/components/FilesCard/src/fileSvg/excel.vue +38 -38
  30. package/src/components/FilesCard/src/fileSvg/file.vue +40 -40
  31. package/src/components/FilesCard/src/fileSvg/image.vue +40 -40
  32. package/src/components/FilesCard/src/fileSvg/index.js +46 -46
  33. package/src/components/FilesCard/src/fileSvg/link.vue +54 -54
  34. package/src/components/FilesCard/src/fileSvg/mark.vue +38 -38
  35. package/src/components/FilesCard/src/fileSvg/pdf.vue +38 -38
  36. package/src/components/FilesCard/src/fileSvg/ppt.vue +38 -38
  37. package/src/components/FilesCard/src/fileSvg/three.vue +38 -38
  38. package/src/components/FilesCard/src/fileSvg/txt.vue +38 -38
  39. package/src/components/FilesCard/src/fileSvg/unknown.vue +54 -54
  40. package/src/components/FilesCard/src/fileSvg/video.vue +38 -38
  41. package/src/components/FilesCard/src/fileSvg/word.vue +38 -38
  42. package/src/components/FilesCard/src/fileSvg/zip.vue +38 -38
  43. package/src/components/FilesCard/src/main.vue +14 -12
  44. package/src/components/FilesCard/src/options.js +18 -18
  45. package/src/components/Prompts/index.js +8 -8
  46. package/src/components/Sender/index.js +8 -8
  47. package/src/components/Sender/src/components/ClearButton.vue +28 -28
  48. package/src/components/Sender/src/components/Loading.vue +53 -53
  49. package/src/components/Sender/src/components/SendButton.vue +26 -26
  50. package/src/components/Sender/src/components/SpeechButton.vue +24 -24
  51. package/src/components/Sender/src/components/SpeechLoading.vue +87 -87
  52. package/src/components/Sender/src/main.vue +47 -13
  53. package/src/components/Thinking/index.js +8 -8
  54. package/src/components/ThoughtChain/index.js +8 -8
  55. package/src/components/Typewriter/index.js +8 -8
  56. package/src/components/Welcome/index.js +8 -8
  57. package/src/index.js +7 -9
  58. package/src/styles/Sender.scss +1 -1
  59. package/lib/locale/lang/ar-SA.js +0 -18
  60. package/lib/locale/lang/ar-SA.umd.js +0 -26
  61. package/lib/locale/lang/de-DE.js +0 -18
  62. package/lib/locale/lang/de-DE.umd.js +0 -26
  63. package/lib/locale/lang/es-ES.js +0 -18
  64. package/lib/locale/lang/es-ES.umd.js +0 -26
  65. package/lib/locale/lang/fr-FR.js +0 -18
  66. package/lib/locale/lang/fr-FR.umd.js +0 -26
  67. package/lib/locale/lang/it-IT.js +0 -18
  68. package/lib/locale/lang/it-IT.umd.js +0 -26
  69. package/lib/locale/lang/ja-JP.js +0 -18
  70. package/lib/locale/lang/ja-JP.umd.js +0 -26
  71. package/lib/locale/lang/ko-KR.js +0 -18
  72. package/lib/locale/lang/ko-KR.umd.js +0 -26
  73. package/src/styles/button.scss +0 -302
  74. package/src/styles/var.scss +0 -1051
  75. /package/lib/locale/lang/{pt-BR.js → pt-br.js} +0 -0
  76. /package/lib/locale/lang/{pt-BR.umd.js → pt-br.umd.js} +0 -0
@@ -397,21 +397,15 @@
397
397
  internalValue(newVal, oldVal) {
398
398
  this.$emit('input', newVal);
399
399
 
400
- // 当内容变化时,修复高度问题
401
-
402
400
  if (this.isComposing) return;
403
- // 新增:如果处于防抖状态,则不进行触发检测
404
401
  if (this.triggerDebounce) return;
405
402
 
406
- // 触发逻辑:检测输入内容中是否出现了触发字符
407
403
  const triggerStrings = this.triggerStrings || []; // 如果为 undefined,就使用空数组
408
404
 
409
- // 新的检测逻辑:检查是否在当前光标位置前有触发字符
410
405
  if (this.inputRef && triggerStrings.length > 0) {
411
406
  const textArea = this.inputRef.$el.querySelector('textarea');
412
407
  if (textArea) {
413
408
  const cursorPosition = textArea.selectionStart;
414
- // 检查光标前是否有新增的触发字符
415
409
  if (cursorPosition > 0 && newVal.length > oldVal.length) {
416
410
  const lastChar = newVal.charAt(cursorPosition - 1);
417
411
  if (triggerStrings.includes(lastChar)) {
@@ -431,7 +425,7 @@
431
425
  }
432
426
  }
433
427
  }
434
-
428
+ // V2.7X 兼容问题
435
429
  // 原有的处理逻辑,用于向后兼容
436
430
  const validOldVal = typeof oldVal === 'string' ? oldVal : '';
437
431
  const wasOldValTrigger = triggerStrings.includes(validOldVal);
@@ -479,6 +473,31 @@
479
473
  },
480
474
 
481
475
  methods: {
476
+ /* 确保光标在可视区域内 */
477
+ ensureCursorVisible() {
478
+ if (!this.inputRef) return;
479
+
480
+ const textareaEl = this.inputRef.$el.querySelector('textarea');
481
+ if (!textareaEl) return;
482
+
483
+ this.$nextTick(() => {
484
+ // 获取光标位置信息
485
+ const cursorPosition = textareaEl.selectionStart;
486
+ const textBeforeCursor = this.internalValue.substring(0, cursorPosition);
487
+ const linesBeforeCursor = textBeforeCursor.split('\n').length;
488
+
489
+ const lineHeight = parseInt(window.getComputedStyle(textareaEl).lineHeight) || 20;
490
+ const maxVisibleHeight = textareaEl.offsetHeight;
491
+ const maxVisibleLines = Math.floor(maxVisibleHeight / lineHeight);
492
+
493
+ // 如果光标超出可视范围,滚动到光标位置
494
+ if (linesBeforeCursor > maxVisibleLines) {
495
+ const targetScrollTop = (linesBeforeCursor - maxVisibleLines) * lineHeight;
496
+ textareaEl.scrollTop = targetScrollTop;
497
+ }
498
+ });
499
+ },
500
+
482
501
  /* 直接应用输入框样式 */
483
502
  applyInputStyles() {
484
503
  if (!this.inputRef) return;
@@ -486,14 +505,18 @@
486
505
  const textareaEl = this.inputRef.$el.querySelector('textarea');
487
506
  if (!textareaEl) return;
488
507
 
489
- // 设置默认基础样式
508
+ // 设置默认基础样式(当启用autosize时,不设置固定高度)
490
509
  const defaultStyles = {
491
510
  width: this.inputWidth || '100%',
492
- height: '24px',
493
511
  maxHeight: '176px',
494
512
  boxSizing: 'border-box',
495
513
  };
496
514
 
515
+ // 只有在未启用autosize时才设置固定高度
516
+ if (!this.computedAutoSize) {
517
+ defaultStyles.height = '24px';
518
+ }
519
+
497
520
  // 应用默认样式
498
521
  Object.keys(defaultStyles).forEach(key => {
499
522
  textareaEl.style[key] = defaultStyles[key];
@@ -502,11 +525,15 @@
502
525
  // 如果用户传入了样式对象,则应用覆盖默认样式
503
526
  if (this.inputStyle && typeof this.inputStyle === 'object') {
504
527
  Object.keys(this.inputStyle).forEach(key => {
528
+ // 当启用autosize时,避免覆盖height相关属性
529
+ if (this.computedAutoSize && (key === 'height' || key === 'minHeight')) {
530
+ return;
531
+ }
505
532
  textareaEl.style[key] = this.inputStyle[key];
506
533
  });
507
534
 
508
- // 如果用户设置了字体大小,需要调整高度
509
- if (this.inputStyle.fontSize) {
535
+ // 如果用户设置了字体大小,需要调整高度(仅在未启用autosize时)
536
+ if (this.inputStyle.fontSize && !this.computedAutoSize) {
510
537
  // 确保高度能完全容纳当前字体大小
511
538
  const computedFontSize = window.getComputedStyle(textareaEl).fontSize;
512
539
  const fontSize = parseInt(computedFontSize);
@@ -665,6 +692,8 @@
665
692
  this.internalValue = `${textBeforeCursor}\n${textAfterCursor}`; // 插入换行符
666
693
  this.$nextTick(() => {
667
694
  e.target.setSelectionRange(cursorPosition + 1, cursorPosition + 1); // 更新光标位置
695
+ // 确保光标在可视区域内
696
+ this.ensureCursorVisible();
668
697
  });
669
698
  } else if (e.keyCode === 13 && !e.shiftKey) {
670
699
  // 阻止掉 Enter 的默认换行行为
@@ -687,6 +716,8 @@
687
716
  this.internalValue = `${textBeforeCursor}\n${textAfterCursor}`; // 插入换行符
688
717
  this.$nextTick(() => {
689
718
  e.target.setSelectionRange(cursorPosition + 1, cursorPosition + 1); // 更新光标位置
719
+ // 确保光标在可视区域内
720
+ this.ensureCursorVisible();
690
721
  });
691
722
  }
692
723
  }
@@ -758,8 +789,11 @@
758
789
  },
759
790
 
760
791
  updated() {
761
- // 确保在组件更新后重新应用样式
762
- this.applyInputStyles();
792
+ // 只在特定条件下重新应用样式,避免干扰autosize功能
793
+ // 当启用autosize时,减少样式重新应用的频率
794
+ if (!this.computedAutoSize) {
795
+ this.applyInputStyles();
796
+ }
763
797
  },
764
798
  };
765
799
  </script>
@@ -1,8 +1,8 @@
1
- import ElXThinking from './src/main.vue';
2
-
3
- /* istanbul ignore next */
4
- ElXThinking.install = function (Vue) {
5
- Vue.component(ElXThinking.name, ElXThinking);
6
- };
7
-
8
- export default ElXThinking;
1
+ import ElXThinking from './src/main.vue';
2
+
3
+ /* istanbul ignore next */
4
+ ElXThinking.install = function (Vue) {
5
+ Vue.component(ElXThinking.name, ElXThinking);
6
+ };
7
+
8
+ export default ElXThinking;
@@ -1,8 +1,8 @@
1
- import ElXThoughtChain from './src/main.vue';
2
-
3
- /* istanbul ignore next */
4
- ElXThoughtChain.install = function (Vue) {
5
- Vue.component(ElXThoughtChain.name, ElXThoughtChain);
6
- };
7
-
8
- export default ElXThoughtChain;
1
+ import ElXThoughtChain from './src/main.vue';
2
+
3
+ /* istanbul ignore next */
4
+ ElXThoughtChain.install = function (Vue) {
5
+ Vue.component(ElXThoughtChain.name, ElXThoughtChain);
6
+ };
7
+
8
+ export default ElXThoughtChain;
@@ -1,8 +1,8 @@
1
- import ElXTypewriter from './src/main.vue';
2
-
3
- /* istanbul ignore next */
4
- ElXTypewriter.install = function (Vue) {
5
- Vue.component(ElXTypewriter.name, ElXTypewriter);
6
- };
7
-
8
- export default ElXTypewriter;
1
+ import ElXTypewriter from './src/main.vue';
2
+
3
+ /* istanbul ignore next */
4
+ ElXTypewriter.install = function (Vue) {
5
+ Vue.component(ElXTypewriter.name, ElXTypewriter);
6
+ };
7
+
8
+ export default ElXTypewriter;
@@ -1,8 +1,8 @@
1
- import ElXWelcome from './src/main.vue';
2
-
3
- /* istanbul ignore next */
4
- ElXWelcome.install = function (Vue) {
5
- Vue.component(ElXWelcome.name, ElXWelcome);
6
- };
7
-
8
- export default ElXWelcome;
1
+ import ElXWelcome from './src/main.vue';
2
+
3
+ /* istanbul ignore next */
4
+ ElXWelcome.install = function (Vue) {
5
+ Vue.component(ElXWelcome.name, ElXWelcome);
6
+ };
7
+
8
+ export default ElXWelcome;
package/src/index.js CHANGED
@@ -9,8 +9,8 @@ import ElXThinking from './components/Thinking/index.js';
9
9
  import ElXThoughtChain from './components/ThoughtChain/index.js';
10
10
  import ElXTypewriter from './components/Typewriter/index.js';
11
11
  import ElXWelcome from './components/Welcome/index.js';
12
- // 导入所有 mixins
13
- import * as customMixins from './mixins';
12
+
13
+ // 导入 mixins
14
14
  import {
15
15
  createSendUtils,
16
16
  createStreamUtils,
@@ -57,7 +57,11 @@ export {
57
57
  // Mixins
58
58
  createSendUtils,
59
59
  createStreamUtils,
60
- customMixins,
60
+ recordMixin,
61
+ sendMixin,
62
+ streamMixin,
63
+ XRequest,
64
+ XStream,
61
65
  // 组件
62
66
  ElXAttachments,
63
67
  ElXBubble,
@@ -73,11 +77,6 @@ export {
73
77
  lang,
74
78
  // 国际化
75
79
  locale,
76
- recordMixin,
77
- sendMixin,
78
- streamMixin,
79
- XRequest,
80
- XStream,
81
80
  };
82
81
 
83
82
  // 默认导出(完整引入)
@@ -94,7 +93,6 @@ components.forEach(component => {
94
93
  });
95
94
 
96
95
  // 添加mixins
97
- ElementUIX.customMixins = customMixins;
98
96
  ElementUIX.streamMixin = streamMixin;
99
97
  ElementUIX.sendMixin = sendMixin;
100
98
  ElementUIX.recordMixin = recordMixin;
@@ -129,7 +129,7 @@ $--el-x-fill-color: $--background-color-base;
129
129
  align-self: center;
130
130
 
131
131
  ::v-deep .el-textarea__inner {
132
- padding: 0;
132
+ padding: 0 !important;
133
133
  margin: 0;
134
134
  color: $--el-x-text-color-primary;
135
135
  font-size: $--el-x-sender-input-font-size;
@@ -1,18 +0,0 @@
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,26 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
3
- typeof define === 'function' && define.amd ? define(factory) :
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
- }(this, function () { 'use strict';
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
- },
24
- };
25
-
26
- }));
@@ -1,18 +0,0 @@
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,26 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
3
- typeof define === 'function' && define.amd ? define(factory) :
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
- }(this, function () { 'use strict';
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
- },
24
- };
25
-
26
- }));
@@ -1,18 +0,0 @@
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,26 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
3
- typeof define === 'function' && define.amd ? define(factory) :
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
- }(this, function () { 'use strict';
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
- },
24
- };
25
-
26
- }));
@@ -1,18 +0,0 @@
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,26 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
3
- typeof define === 'function' && define.amd ? define(factory) :
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
- }(this, function () { 'use strict';
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
- },
24
- };
25
-
26
- }));
@@ -1,18 +0,0 @@
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,26 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
3
- typeof define === 'function' && define.amd ? define(factory) :
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
- }(this, function () { 'use strict';
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
- },
24
- };
25
-
26
- }));
@@ -1,18 +0,0 @@
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,26 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
3
- typeof define === 'function' && define.amd ? define(factory) :
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.ja = factory()));
5
- }(this, function () { 'use strict';
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
- },
24
- };
25
-
26
- }));
@@ -1,18 +0,0 @@
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,26 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
3
- typeof define === 'function' && define.amd ? define(factory) :
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.ko = factory()));
5
- }(this, function () { 'use strict';
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
- },
24
- };
25
-
26
- }));