vue-element-ui-x 0.2.2 → 1.0.2
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/lib/components/Attachments/index.js +18 -18
- package/lib/components/Bubble/index.js +145 -155
- package/lib/components/BubbleList/index.js +180 -207
- package/lib/components/Conversations/index.js +14370 -14370
- package/lib/components/FilesCard/index.js +5 -5
- package/lib/components/Prompts/index.js +25 -25
- package/lib/components/Sender/index.js +1606 -1459
- package/lib/components/Thinking/index.js +157 -23
- package/lib/components/ThoughtChain/index.js +143 -144
- package/lib/components/Typewriter/index.js +124 -125
- package/lib/components/Welcome/index.js +5 -5
- package/lib/index.common.js +1 -1
- package/lib/index.esm.js +1 -1
- package/lib/index.js +817 -389
- package/lib/index.umd.js +1 -1
- package/lib/locale/index.js +97 -0
- package/lib/locale/lang/ar-SA.js +18 -0
- package/lib/locale/lang/ar-SA.umd.js +26 -0
- package/lib/locale/lang/ar.js +18 -0
- package/lib/locale/lang/ar.umd.js +26 -0
- package/lib/locale/lang/de-DE.js +18 -0
- package/lib/locale/lang/de-DE.umd.js +26 -0
- package/lib/locale/lang/de.js +18 -0
- package/lib/locale/lang/de.umd.js +26 -0
- package/lib/locale/lang/en.js +18 -0
- package/lib/locale/lang/en.umd.js +26 -0
- package/lib/locale/lang/es-ES.js +18 -0
- package/lib/locale/lang/es-ES.umd.js +26 -0
- package/lib/locale/lang/es.js +18 -0
- package/lib/locale/lang/es.umd.js +26 -0
- package/lib/locale/lang/fr-FR.js +18 -0
- package/lib/locale/lang/fr-FR.umd.js +26 -0
- package/lib/locale/lang/fr.js +18 -0
- package/lib/locale/lang/fr.umd.js +26 -0
- package/lib/locale/lang/index.js +50 -0
- package/lib/locale/lang/it-IT.js +18 -0
- package/lib/locale/lang/it-IT.umd.js +26 -0
- package/lib/locale/lang/it.js +18 -0
- package/lib/locale/lang/it.umd.js +26 -0
- package/lib/locale/lang/ja-JP.js +18 -0
- package/lib/locale/lang/ja-JP.umd.js +26 -0
- package/lib/locale/lang/ja.js +18 -0
- package/lib/locale/lang/ja.umd.js +26 -0
- package/lib/locale/lang/ko-KR.js +18 -0
- package/lib/locale/lang/ko-KR.umd.js +26 -0
- package/lib/locale/lang/ko.js +18 -0
- package/lib/locale/lang/ko.umd.js +26 -0
- package/lib/locale/lang/pt-BR.js +18 -0
- package/lib/locale/lang/pt-BR.umd.js +26 -0
- package/lib/locale/lang/ru-RU.js +18 -0
- package/lib/locale/lang/ru-RU.umd.js +26 -0
- package/lib/locale/lang/zh-CN.js +18 -0
- package/lib/locale/lang/zh-CN.umd.js +26 -0
- package/lib/locale/lang/zh-TW.js +18 -0
- package/lib/locale/lang/zh-TW.umd.js +26 -0
- package/lib/locale/mixin.js +9 -0
- package/package.json +15 -10
- package/src/components/Attachments/src/main.vue +2 -10
- package/src/components/Bubble/src/main.vue +288 -299
- package/src/components/BubbleList/src/main.vue +2 -19
- package/src/components/Conversations/src/main.vue +0 -41
- package/src/components/Prompts/src/main.vue +248 -248
- package/src/components/Sender/src/components/LoadingButton.vue +37 -39
- package/src/components/Sender/src/components/SpeechLoadingButton.vue +41 -43
- package/src/components/Sender/src/main.vue +13 -3
- package/src/components/Thinking/src/main.vue +13 -9
- package/src/components/ThoughtChain/src/main.vue +1 -3
- package/src/components/Typewriter/src/main.vue +3 -7
- package/src/components/Welcome/src/main.vue +151 -151
- package/src/index.js +23 -6
- package/src/locale/index.js +97 -0
- package/src/locale/lang/ar.js +18 -0
- package/src/locale/lang/de.js +18 -0
- package/src/locale/lang/en.js +18 -0
- package/src/locale/lang/es.js +18 -0
- package/src/locale/lang/fr.js +18 -0
- package/src/locale/lang/index.js +62 -0
- package/src/locale/lang/it.js +18 -0
- package/src/locale/lang/ja.js +18 -0
- package/src/locale/lang/ko.js +18 -0
- package/src/locale/lang/pt-br.js +18 -0
- package/src/locale/lang/ru-RU.js +18 -0
- package/src/locale/lang/zh-CN.js +18 -0
- package/src/locale/lang/zh-TW.js +18 -0
- package/src/locale/mixin.js +9 -0
- package/src/styles/Attachments.scss +236 -236
- package/src/styles/Bubble.scss +5 -4
- package/src/styles/BubbleList.scss +148 -148
- package/src/styles/Conversations.scss +260 -260
- package/src/styles/FilesCard.scss +222 -221
- package/src/styles/Prompts.scss +197 -195
- package/src/styles/Sender.scss +207 -199
- package/src/styles/Thinking.scss +36 -6
- package/src/styles/ThoughtChain.scss +113 -113
- package/src/styles/Typewriter.scss +66 -66
- package/src/styles/var.scss +4 -5
- package/src/theme/var.scss +183 -72
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 105);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -192,14 +192,14 @@ function normalizeComponent(
|
|
|
192
192
|
|
|
193
193
|
/***/ }),
|
|
194
194
|
|
|
195
|
-
/***/
|
|
195
|
+
/***/ 105:
|
|
196
196
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
197
197
|
|
|
198
198
|
"use strict";
|
|
199
199
|
// ESM COMPAT FLAG
|
|
200
200
|
__webpack_require__.r(__webpack_exports__);
|
|
201
201
|
|
|
202
|
-
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Thinking/src/main.vue?vue&type=template&id=
|
|
202
|
+
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Thinking/src/main.vue?vue&type=template&id=f68ab76a&scoped=true
|
|
203
203
|
var render = function render() {
|
|
204
204
|
var _vm = this,
|
|
205
205
|
_c = _vm._self._c;
|
|
@@ -240,7 +240,7 @@ var render = function render() {
|
|
|
240
240
|
})], 2), _vm._v(" "), _c("span", {
|
|
241
241
|
staticClass: "label"
|
|
242
242
|
}, [_vm._t("label", function () {
|
|
243
|
-
return [_vm._v("\n " + _vm._s(_vm.localStatus === "thinking" ? "
|
|
243
|
+
return [_vm._v("\n " + _vm._s(_vm.localStatus === "thinking" ? _vm.elXt("el_x.thinking.processing") : _vm.localStatus === "error" ? _vm.elXt("el_x.thinking.error") : _vm.localStatus === "end" ? _vm.elXt("el_x.thinking.completed") : _vm.elXt("el_x.thinking.start")) + "\n ")];
|
|
244
244
|
}, {
|
|
245
245
|
status: _vm.localStatus
|
|
246
246
|
})], 2), _vm._v(" "), _c("transition", {
|
|
@@ -256,17 +256,11 @@ var render = function render() {
|
|
|
256
256
|
return [_c("i", {
|
|
257
257
|
staticClass: "el-icon-center el-icon-arrow-up"
|
|
258
258
|
})];
|
|
259
|
-
})], 2) : _vm._e()])], 1), _vm._v(" "), _c("
|
|
259
|
+
})], 2) : _vm._e()])], 1), _vm._v(" "), _c("transition", {
|
|
260
260
|
attrs: {
|
|
261
261
|
name: "slide"
|
|
262
262
|
}
|
|
263
|
-
}, [_vm.displayedContent ? _c("div", {
|
|
264
|
-
directives: [{
|
|
265
|
-
name: "show",
|
|
266
|
-
rawName: "v-show",
|
|
267
|
-
value: _vm.isExpanded,
|
|
268
|
-
expression: "isExpanded"
|
|
269
|
-
}],
|
|
263
|
+
}, [_vm.isExpanded && _vm.displayedContent ? _c("div", {
|
|
270
264
|
staticClass: "content-wrapper",
|
|
271
265
|
class: {
|
|
272
266
|
"error-state": _vm.localStatus === "error"
|
|
@@ -288,11 +282,16 @@ var render = function render() {
|
|
|
288
282
|
var staticRenderFns = [];
|
|
289
283
|
render._withStripped = true;
|
|
290
284
|
|
|
291
|
-
// CONCATENATED MODULE: ./src/components/Thinking/src/main.vue?vue&type=template&id=
|
|
285
|
+
// CONCATENATED MODULE: ./src/components/Thinking/src/main.vue?vue&type=template&id=f68ab76a&scoped=true
|
|
286
|
+
|
|
287
|
+
// EXTERNAL MODULE: ./src/locale/mixin.js
|
|
288
|
+
var mixin = __webpack_require__(31);
|
|
292
289
|
|
|
293
290
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Thinking/src/main.vue?vue&type=script&lang=js
|
|
291
|
+
|
|
294
292
|
/* harmony default export */ var mainvue_type_script_lang_js = ({
|
|
295
293
|
name: 'ElXThinking',
|
|
294
|
+
mixins: [mixin["a" /* default */]],
|
|
296
295
|
props: {
|
|
297
296
|
content: {
|
|
298
297
|
type: String,
|
|
@@ -346,7 +345,7 @@ render._withStripped = true;
|
|
|
346
345
|
},
|
|
347
346
|
computed: {
|
|
348
347
|
displayedContent() {
|
|
349
|
-
return this.localStatus === 'error' ? '
|
|
348
|
+
return this.localStatus === 'error' ? this.elXt('el_x.thinking.errorContent') : this.content;
|
|
350
349
|
}
|
|
351
350
|
},
|
|
352
351
|
watch: {
|
|
@@ -386,10 +385,10 @@ render._withStripped = true;
|
|
|
386
385
|
var injectStylesIntoStyleTag = __webpack_require__(3);
|
|
387
386
|
var injectStylesIntoStyleTag_default = /*#__PURE__*/__webpack_require__.n(injectStylesIntoStyleTag);
|
|
388
387
|
|
|
389
|
-
// EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Thinking/src/main.vue?vue&type=style&index=0&id=
|
|
390
|
-
var
|
|
388
|
+
// EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Thinking/src/main.vue?vue&type=style&index=0&id=f68ab76a&prod&lang=scss&scoped=true
|
|
389
|
+
var mainvue_type_style_index_0_id_f68ab76a_prod_lang_scss_scoped_true = __webpack_require__(96);
|
|
391
390
|
|
|
392
|
-
// CONCATENATED MODULE: ./node_modules/style-loader/dist/cjs.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Thinking/src/main.vue?vue&type=style&index=0&id=
|
|
391
|
+
// CONCATENATED MODULE: ./node_modules/style-loader/dist/cjs.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Thinking/src/main.vue?vue&type=style&index=0&id=f68ab76a&prod&lang=scss&scoped=true
|
|
393
392
|
|
|
394
393
|
|
|
395
394
|
|
|
@@ -398,12 +397,12 @@ var options = {};
|
|
|
398
397
|
options.insert = "head";
|
|
399
398
|
options.singleton = false;
|
|
400
399
|
|
|
401
|
-
var update = injectStylesIntoStyleTag_default()(
|
|
400
|
+
var update = injectStylesIntoStyleTag_default()(mainvue_type_style_index_0_id_f68ab76a_prod_lang_scss_scoped_true["a" /* default */], options);
|
|
402
401
|
|
|
403
402
|
|
|
404
403
|
|
|
405
|
-
/* harmony default export */ var
|
|
406
|
-
// CONCATENATED MODULE: ./src/components/Thinking/src/main.vue?vue&type=style&index=0&id=
|
|
404
|
+
/* harmony default export */ var src_mainvue_type_style_index_0_id_f68ab76a_prod_lang_scss_scoped_true = (mainvue_type_style_index_0_id_f68ab76a_prod_lang_scss_scoped_true["a" /* default */].locals || {});
|
|
405
|
+
// CONCATENATED MODULE: ./src/components/Thinking/src/main.vue?vue&type=style&index=0&id=f68ab76a&prod&lang=scss&scoped=true
|
|
407
406
|
|
|
408
407
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
409
408
|
var componentNormalizer = __webpack_require__(0);
|
|
@@ -423,7 +422,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
423
422
|
staticRenderFns,
|
|
424
423
|
false,
|
|
425
424
|
null,
|
|
426
|
-
"
|
|
425
|
+
"f68ab76a",
|
|
427
426
|
null
|
|
428
427
|
|
|
429
428
|
)
|
|
@@ -513,6 +512,125 @@ module.exports = function (cssWithMappingToString) {
|
|
|
513
512
|
|
|
514
513
|
/***/ }),
|
|
515
514
|
|
|
515
|
+
/***/ 25:
|
|
516
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
517
|
+
|
|
518
|
+
"use strict";
|
|
519
|
+
/* harmony import */ var _lang_zh_CN__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(26);
|
|
520
|
+
|
|
521
|
+
let lang = _lang_zh_CN__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"];
|
|
522
|
+
let merged = false;
|
|
523
|
+
let i18nHandler = function () {
|
|
524
|
+
// 检查是否存在 vue-i18n@5.x (Vue.locale)
|
|
525
|
+
if (typeof window !== 'undefined' && window.Vue && window.Vue.locale) {
|
|
526
|
+
const vuei18n = window.Vue.locale;
|
|
527
|
+
if (typeof vuei18n === 'function') {
|
|
528
|
+
if (!merged) {
|
|
529
|
+
merged = true;
|
|
530
|
+
window.Vue.locale(window.Vue.config.lang, deepMerge(lang, window.Vue.locale(window.Vue.config.lang) || {}, {
|
|
531
|
+
clone: true
|
|
532
|
+
}));
|
|
533
|
+
}
|
|
534
|
+
return vuei18n.apply(this, arguments);
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
// 检查是否存在 vue-i18n@6.x+ (this.$t)
|
|
539
|
+
if (this && this.$t && typeof this.$t === 'function') {
|
|
540
|
+
try {
|
|
541
|
+
return this.$t.apply(this, arguments);
|
|
542
|
+
} catch (e) {
|
|
543
|
+
// 如果出错,回退到内置翻译
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
};
|
|
547
|
+
const deepMerge = function (target, source, options) {
|
|
548
|
+
options = options || {};
|
|
549
|
+
const clone = options.clone !== false;
|
|
550
|
+
const mergedTarget = clone ? {
|
|
551
|
+
...target
|
|
552
|
+
} : target;
|
|
553
|
+
for (const key in source) {
|
|
554
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
555
|
+
const value = source[key];
|
|
556
|
+
if (value !== null && typeof value === 'object' && !Array.isArray(value)) {
|
|
557
|
+
mergedTarget[key] = deepMerge(mergedTarget[key] || {}, value, options);
|
|
558
|
+
} else {
|
|
559
|
+
mergedTarget[key] = value;
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
return mergedTarget;
|
|
564
|
+
};
|
|
565
|
+
const t = function (path, options) {
|
|
566
|
+
let value = i18nHandler.apply(this, arguments);
|
|
567
|
+
if (value !== null && value !== undefined) return value;
|
|
568
|
+
const array = path.split('.');
|
|
569
|
+
let current = lang;
|
|
570
|
+
for (let i = 0, j = array.length; i < j; i++) {
|
|
571
|
+
const property = array[i];
|
|
572
|
+
value = current[property];
|
|
573
|
+
if (i === j - 1) return format(value, options);
|
|
574
|
+
if (!value) return '';
|
|
575
|
+
current = value;
|
|
576
|
+
}
|
|
577
|
+
return '';
|
|
578
|
+
};
|
|
579
|
+
const format = function (template, ...args) {
|
|
580
|
+
if (typeof template === 'function') {
|
|
581
|
+
return template(...args);
|
|
582
|
+
}
|
|
583
|
+
if (typeof template !== 'string') {
|
|
584
|
+
return template;
|
|
585
|
+
}
|
|
586
|
+
const [options] = args;
|
|
587
|
+
if (!options) return template;
|
|
588
|
+
return template.replace(/\{(\w+)\}/g, (match, key) => {
|
|
589
|
+
return options[key] !== undefined ? options[key] : match;
|
|
590
|
+
});
|
|
591
|
+
};
|
|
592
|
+
const use = function (l) {
|
|
593
|
+
lang = l || lang;
|
|
594
|
+
merged = false;
|
|
595
|
+
};
|
|
596
|
+
const i18n = function (fn) {
|
|
597
|
+
i18nHandler = fn || i18nHandler;
|
|
598
|
+
};
|
|
599
|
+
/* harmony default export */ __webpack_exports__["a"] = ({
|
|
600
|
+
use,
|
|
601
|
+
t,
|
|
602
|
+
i18n
|
|
603
|
+
});
|
|
604
|
+
|
|
605
|
+
/***/ }),
|
|
606
|
+
|
|
607
|
+
/***/ 26:
|
|
608
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
609
|
+
|
|
610
|
+
"use strict";
|
|
611
|
+
/* harmony default export */ __webpack_exports__["a"] = ({
|
|
612
|
+
el_x: {
|
|
613
|
+
thinking: {
|
|
614
|
+
start: '开始思考',
|
|
615
|
+
processing: '思考中...',
|
|
616
|
+
completed: '思考完成',
|
|
617
|
+
error: '思考遇到问题',
|
|
618
|
+
errorContent: '思考过程中出现错误'
|
|
619
|
+
},
|
|
620
|
+
sender: {
|
|
621
|
+
placeholder: '请输入内容'
|
|
622
|
+
},
|
|
623
|
+
common: {
|
|
624
|
+
loading: '加载中...',
|
|
625
|
+
success: '成功',
|
|
626
|
+
error: '错误',
|
|
627
|
+
warning: '警告'
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
});
|
|
631
|
+
|
|
632
|
+
/***/ }),
|
|
633
|
+
|
|
516
634
|
/***/ 3:
|
|
517
635
|
/***/ (function(module, exports, __webpack_require__) {
|
|
518
636
|
|
|
@@ -789,7 +907,23 @@ module.exports = function (list, options) {
|
|
|
789
907
|
|
|
790
908
|
/***/ }),
|
|
791
909
|
|
|
792
|
-
/***/
|
|
910
|
+
/***/ 31:
|
|
911
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
912
|
+
|
|
913
|
+
"use strict";
|
|
914
|
+
/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25);
|
|
915
|
+
|
|
916
|
+
/* harmony default export */ __webpack_exports__["a"] = ({
|
|
917
|
+
methods: {
|
|
918
|
+
elXt(...args) {
|
|
919
|
+
return _index__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"].t.apply(this, args);
|
|
920
|
+
}
|
|
921
|
+
}
|
|
922
|
+
});
|
|
923
|
+
|
|
924
|
+
/***/ }),
|
|
925
|
+
|
|
926
|
+
/***/ 96:
|
|
793
927
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
794
928
|
|
|
795
929
|
"use strict";
|
|
@@ -799,7 +933,7 @@ module.exports = function (list, options) {
|
|
|
799
933
|
|
|
800
934
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});
|
|
801
935
|
// Module
|
|
802
|
-
___CSS_LOADER_EXPORT___.push([module.i, "[data-v-
|
|
936
|
+
___CSS_LOADER_EXPORT___.push([module.i, "[data-v-f68ab76a]:root{--color-primary: #409eff;--color-success: #67c23a;--color-warning: #e6a23c;--color-danger: #f56c6c;--color-info: #909399}.el-x-thinking[data-v-f68ab76a]{margin:0 auto}.trigger[data-v-f68ab76a]{display:flex;align-items:center;height:100%;width:var(--el-x-thinking-button-width);gap:4px;padding:8px calc(8px + 4px);border:1px solid #dcdfe6;border-radius:8px;background:#fff;cursor:pointer;margin-bottom:4px}.trigger .el-icon-center[data-v-f68ab76a]{height:100%;display:flex;align-items:center}.trigger .start-color[data-v-f68ab76a]{color:#e6a23c}.trigger .end-color[data-v-f68ab76a]{color:#67c23a}.trigger .is-loading[data-v-f68ab76a]{color:#409eff}.trigger .error-color[data-v-f68ab76a]{color:#f56c6c}.trigger[data-v-f68ab76a]:hover{background:#f5f7fa}.trigger.disabled[data-v-f68ab76a]{cursor:pointer}.trigger[data-v-f68ab76a]:disabled{cursor:not-allowed;opacity:.7}.status-icon[data-v-f68ab76a]{font-size:16px}.thinking-arrow[data-v-f68ab76a]{margin-left:auto;transition:transform var(--el-x-thinking-animation-duration)}.thinking-arrow.expanded[data-v-f68ab76a]{transform:rotate(180deg)}.slide-enter-active[data-v-f68ab76a],.slide-leave-active[data-v-f68ab76a]{height:calc-size(max-content, size);opacity:1;transition:height var(--el-x-thinking-animation-duration),opacity var(--el-x-thinking-animation-duration),border var(--el-x-thinking-animation-duration);overflow:hidden}.slide-enter[data-v-f68ab76a],.slide-leave-to[data-v-f68ab76a]{height:0;opacity:0 !important}.slide-enter-to[data-v-f68ab76a],.slide-leave[data-v-f68ab76a]{height:calc-size(max-content, size);opacity:1}.content-wrapper[data-v-f68ab76a]{box-sizing:border-box;min-width:0}.content pre[data-v-f68ab76a]{border:1px solid #dcdfe6;background:var(--el-x-thinking-content-wrapper-background-color);padding:8px calc(8px + 4px);border-radius:8px;max-width:var(--el-x-thinking-content-wrapper-width);font-size:14px;color:var(--el-x-thinking-content-wrapper-color);white-space:pre-wrap;margin:0;line-height:24px}.error-state[data-v-f68ab76a]{border-color:#fde2e2;background:#fde2e2}.error-message[data-v-f68ab76a]{color:#f56c6c;height:fit-content;padding:4px;background:#fde2e2;border-radius:8px}", ""]);
|
|
803
937
|
// Exports
|
|
804
938
|
/* harmony default export */ __webpack_exports__["a"] = (___CSS_LOADER_EXPORT___);
|
|
805
939
|
|