vue-element-ui-x 0.1.8-beta → 0.1.10-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.
Files changed (97) hide show
  1. package/lib/components/Attachments/index.js +229 -237
  2. package/lib/components/Bubble/index.js +47 -34
  3. package/lib/components/BubbleList/index.js +57 -49
  4. package/lib/components/Conversations/index.js +32 -69
  5. package/lib/components/FilesCard/index.js +207 -211
  6. package/lib/components/Prompts/index.js +21 -21
  7. package/lib/components/Sender/index.js +18 -18
  8. package/lib/components/Think/index.js +1 -1
  9. package/lib/components/Thinking/index.js +1 -1
  10. package/lib/components/ThoughtChain/index.js +60 -47
  11. package/lib/components/Typewriter/index.js +46 -33
  12. package/lib/components/Welcome/index.js +1 -1
  13. package/lib/index.common.js +1 -1
  14. package/lib/index.esm.js +1 -1
  15. package/lib/index.js +479 -427
  16. package/lib/index.umd.js +1 -1
  17. package/lib/mixins/index.js +105 -16
  18. package/package.json +1 -1
  19. package/src/components/Attachments/index.js +8 -8
  20. package/src/components/Attachments/src/main.vue +10 -10
  21. package/src/components/Bubble/index.js +6 -6
  22. package/src/components/Bubble/src/main.vue +299 -299
  23. package/src/components/BubbleList/index.js +8 -8
  24. package/src/components/BubbleList/src/loading.vue +75 -75
  25. package/src/components/BubbleList/src/main.vue +461 -466
  26. package/src/components/Conversations/index.js +8 -8
  27. package/src/components/Conversations/src/components/item.vue +13 -34
  28. package/src/components/Conversations/src/main.vue +622 -635
  29. package/src/components/FilesCard/index.js +8 -8
  30. package/src/components/FilesCard/src/fileSvg/audio.vue +38 -38
  31. package/src/components/FilesCard/src/fileSvg/code.vue +35 -35
  32. package/src/components/FilesCard/src/fileSvg/database.vue +94 -94
  33. package/src/components/FilesCard/src/fileSvg/excel.vue +38 -38
  34. package/src/components/FilesCard/src/fileSvg/file.vue +40 -40
  35. package/src/components/FilesCard/src/fileSvg/image.vue +40 -40
  36. package/src/components/FilesCard/src/fileSvg/index.js +46 -46
  37. package/src/components/FilesCard/src/fileSvg/link.vue +54 -54
  38. package/src/components/FilesCard/src/fileSvg/mark.vue +38 -38
  39. package/src/components/FilesCard/src/fileSvg/pdf.vue +38 -38
  40. package/src/components/FilesCard/src/fileSvg/ppt.vue +38 -38
  41. package/src/components/FilesCard/src/fileSvg/three.vue +38 -38
  42. package/src/components/FilesCard/src/fileSvg/txt.vue +38 -38
  43. package/src/components/FilesCard/src/fileSvg/unknown.vue +54 -54
  44. package/src/components/FilesCard/src/fileSvg/video.vue +38 -38
  45. package/src/components/FilesCard/src/fileSvg/word.vue +38 -38
  46. package/src/components/FilesCard/src/fileSvg/zip.vue +38 -38
  47. package/src/components/FilesCard/src/main.vue +4 -8
  48. package/src/components/FilesCard/src/options.js +18 -18
  49. package/src/components/Prompts/index.js +8 -8
  50. package/src/components/Prompts/src/main.vue +248 -248
  51. package/src/components/Sender/index.js +8 -8
  52. package/src/components/Sender/src/components/ClearButton.vue +28 -28
  53. package/src/components/Sender/src/components/Loading.vue +53 -53
  54. package/src/components/Sender/src/components/LoadingButton.vue +39 -39
  55. package/src/components/Sender/src/components/SendButton.vue +26 -26
  56. package/src/components/Sender/src/components/SpeechButton.vue +24 -24
  57. package/src/components/Sender/src/components/SpeechLoading.vue +87 -87
  58. package/src/components/Sender/src/components/SpeechLoadingButton.vue +43 -43
  59. package/src/components/Sender/src/main.vue +4 -3
  60. package/src/components/Think/index.js +8 -8
  61. package/src/components/Think/src/main.vue +190 -190
  62. package/src/components/Thinking/index.js +8 -8
  63. package/src/components/ThoughtChain/index.js +8 -8
  64. package/src/components/ThoughtChain/src/main.vue +293 -293
  65. package/src/components/Typewriter/index.js +8 -8
  66. package/src/components/Typewriter/src/main.vue +10 -2
  67. package/src/components/Welcome/index.js +8 -8
  68. package/src/components/Welcome/src/main.vue +151 -151
  69. package/src/mixins/recordMixin.js +0 -1
  70. package/src/mixins/sendMixin.js +104 -11
  71. package/src/mixins/streamMixin.js +3 -5
  72. package/src/styles/Attachments.scss +236 -236
  73. package/src/styles/Bubble.scss +157 -157
  74. package/src/styles/BubbleList.scss +148 -148
  75. package/src/styles/Conversations.scss +260 -260
  76. package/src/styles/FilesCard.scss +221 -221
  77. package/src/styles/Prompts.scss +195 -195
  78. package/src/styles/Sender.scss +199 -199
  79. package/src/styles/Think.scss +134 -134
  80. package/src/styles/ThoughtChain.scss +113 -113
  81. package/src/styles/Typewriter.scss +66 -66
  82. package/src/theme/var.scss +72 -72
  83. package/lib/attachments.js +0 -3082
  84. package/lib/bubble-list.js +0 -13840
  85. package/lib/bubble.js +0 -13125
  86. package/lib/conversations.js +0 -18825
  87. package/lib/files-card.js +0 -2471
  88. package/lib/mixins.js +0 -1016
  89. package/lib/prompts.js +0 -832
  90. package/lib/sender.js +0 -1911
  91. package/lib/think.js +0 -799
  92. package/lib/thinking.js +0 -809
  93. package/lib/thought-chain.js +0 -30391
  94. package/lib/typewriter.js +0 -12788
  95. package/lib/welcome.js +0 -755
  96. package/src/styles/button.scss +0 -302
  97. package/src/styles/var.scss +0 -1052
package/lib/prompts.js DELETED
@@ -1,832 +0,0 @@
1
- module.exports =
2
- /******/ (function(modules) { // webpackBootstrap
3
- /******/ // The module cache
4
- /******/ var installedModules = {};
5
- /******/
6
- /******/ // The require function
7
- /******/ function __webpack_require__(moduleId) {
8
- /******/
9
- /******/ // Check if module is in cache
10
- /******/ if(installedModules[moduleId]) {
11
- /******/ return installedModules[moduleId].exports;
12
- /******/ }
13
- /******/ // Create a new module (and put it into the cache)
14
- /******/ var module = installedModules[moduleId] = {
15
- /******/ i: moduleId,
16
- /******/ l: false,
17
- /******/ exports: {}
18
- /******/ };
19
- /******/
20
- /******/ // Execute the module function
21
- /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
22
- /******/
23
- /******/ // Flag the module as loaded
24
- /******/ module.l = true;
25
- /******/
26
- /******/ // Return the exports of the module
27
- /******/ return module.exports;
28
- /******/ }
29
- /******/
30
- /******/
31
- /******/ // expose the modules object (__webpack_modules__)
32
- /******/ __webpack_require__.m = modules;
33
- /******/
34
- /******/ // expose the module cache
35
- /******/ __webpack_require__.c = installedModules;
36
- /******/
37
- /******/ // define getter function for harmony exports
38
- /******/ __webpack_require__.d = function(exports, name, getter) {
39
- /******/ if(!__webpack_require__.o(exports, name)) {
40
- /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
41
- /******/ }
42
- /******/ };
43
- /******/
44
- /******/ // define __esModule on exports
45
- /******/ __webpack_require__.r = function(exports) {
46
- /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
47
- /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
48
- /******/ }
49
- /******/ Object.defineProperty(exports, '__esModule', { value: true });
50
- /******/ };
51
- /******/
52
- /******/ // create a fake namespace object
53
- /******/ // mode & 1: value is a module id, require it
54
- /******/ // mode & 2: merge all properties of value into the ns
55
- /******/ // mode & 4: return value when already ns object
56
- /******/ // mode & 8|1: behave like require
57
- /******/ __webpack_require__.t = function(value, mode) {
58
- /******/ if(mode & 1) value = __webpack_require__(value);
59
- /******/ if(mode & 8) return value;
60
- /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
61
- /******/ var ns = Object.create(null);
62
- /******/ __webpack_require__.r(ns);
63
- /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
64
- /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
65
- /******/ return ns;
66
- /******/ };
67
- /******/
68
- /******/ // getDefaultExport function for compatibility with non-harmony modules
69
- /******/ __webpack_require__.n = function(module) {
70
- /******/ var getter = module && module.__esModule ?
71
- /******/ function getDefault() { return module['default']; } :
72
- /******/ function getModuleExports() { return module; };
73
- /******/ __webpack_require__.d(getter, 'a', getter);
74
- /******/ return getter;
75
- /******/ };
76
- /******/
77
- /******/ // Object.prototype.hasOwnProperty.call
78
- /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
79
- /******/
80
- /******/ // __webpack_public_path__
81
- /******/ __webpack_require__.p = "";
82
- /******/
83
- /******/
84
- /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 102);
86
- /******/ })
87
- /************************************************************************/
88
- /******/ ({
89
-
90
- /***/ 0:
91
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
92
-
93
- "use strict";
94
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; });
95
- /* globals __VUE_SSR_CONTEXT__ */
96
-
97
- // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
98
- // This module is a runtime utility for cleaner component module output and will
99
- // be included in the final webpack user bundle.
100
-
101
- function normalizeComponent(
102
- scriptExports,
103
- render,
104
- staticRenderFns,
105
- functionalTemplate,
106
- injectStyles,
107
- scopeId,
108
- moduleIdentifier /* server only */,
109
- shadowMode /* vue-cli only */
110
- ) {
111
- // Vue.extend constructor export interop
112
- var options =
113
- typeof scriptExports === 'function' ? scriptExports.options : scriptExports
114
-
115
- // render functions
116
- if (render) {
117
- options.render = render
118
- options.staticRenderFns = staticRenderFns
119
- options._compiled = true
120
- }
121
-
122
- // functional template
123
- if (functionalTemplate) {
124
- options.functional = true
125
- }
126
-
127
- // scopedId
128
- if (scopeId) {
129
- options._scopeId = 'data-v-' + scopeId
130
- }
131
-
132
- var hook
133
- if (moduleIdentifier) {
134
- // server build
135
- hook = function (context) {
136
- // 2.3 injection
137
- context =
138
- context || // cached call
139
- (this.$vnode && this.$vnode.ssrContext) || // stateful
140
- (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
141
- // 2.2 with runInNewContext: true
142
- if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
143
- context = __VUE_SSR_CONTEXT__
144
- }
145
- // inject component styles
146
- if (injectStyles) {
147
- injectStyles.call(this, context)
148
- }
149
- // register component module identifier for async chunk inferrence
150
- if (context && context._registeredComponents) {
151
- context._registeredComponents.add(moduleIdentifier)
152
- }
153
- }
154
- // used by ssr in case component is cached and beforeCreate
155
- // never gets called
156
- options._ssrRegister = hook
157
- } else if (injectStyles) {
158
- hook = shadowMode
159
- ? function () {
160
- injectStyles.call(
161
- this,
162
- (options.functional ? this.parent : this).$root.$options.shadowRoot
163
- )
164
- }
165
- : injectStyles
166
- }
167
-
168
- if (hook) {
169
- if (options.functional) {
170
- // for template-only hot-reload because in that case the render fn doesn't
171
- // go through the normalizer
172
- options._injectStyles = hook
173
- // register for functional component in vue file
174
- var originalRender = options.render
175
- options.render = function renderWithStyleInjection(h, context) {
176
- hook.call(context)
177
- return originalRender(h, context)
178
- }
179
- } else {
180
- // inject component registration as beforeCreate hook
181
- var existing = options.beforeCreate
182
- options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
183
- }
184
- }
185
-
186
- return {
187
- exports: scriptExports,
188
- options: options
189
- }
190
- }
191
-
192
-
193
- /***/ }),
194
-
195
- /***/ 102:
196
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
-
198
- "use strict";
199
- // ESM COMPAT FLAG
200
- __webpack_require__.r(__webpack_exports__);
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/Prompts/src/main.vue?vue&type=template&id=ee2290d4&scoped=true
203
- var render = function render() {
204
- var _vm = this,
205
- _c = _vm._self._c;
206
- return _c("div", {
207
- class: ["el-x-prompts", {
208
- "el-x-prompts-rtl": _vm.direction === "rtl"
209
- }, _vm.rootClassName],
210
- style: _vm.customStyle
211
- }, [_vm.title ? _c("h5", {
212
- staticClass: "el-x-prompts-title",
213
- class: [_vm.classNames.title],
214
- style: _vm.titleStyle
215
- }, [_vm._v("\n " + _vm._s(_vm.title) + "\n ")]) : _vm._e(), _vm._v(" "), _c("div", {
216
- class: ["el-x-prompts-list", {
217
- "el-x-prompts-list-wrap": _vm.wrap,
218
- "el-x-prompts-list-vertical": _vm.vertical
219
- }, _vm.classNames.list],
220
- style: _vm.listStyle
221
- }, _vm._l(_vm.items, function (info, index) {
222
- return _c("div", {
223
- key: info.key || `key_${index}`,
224
- class: ["el-x-prompts-item", {
225
- "el-x-prompts-item-disabled": info.disabled,
226
- "el-x-prompts-item-has-nest": _vm.hasChildren(info)
227
- }, _vm.classNames.item],
228
- style: _vm.itemStyle,
229
- on: {
230
- click: function ($event) {
231
- return _vm.handleItemClick(info);
232
- }
233
- }
234
- }, [info.icon ? _c("div", {
235
- staticClass: "el-x-prompts-icon"
236
- }, [_vm._t("icon", function () {
237
- return [_c("i", {
238
- class: info.icon
239
- })];
240
- }, {
241
- item: info
242
- })], 2) : _vm._e(), _vm._v(" "), _c("div", {
243
- class: ["el-x-prompts-content", _vm.classNames.itemContent],
244
- style: _vm.itemContentStyle
245
- }, [info.label ? _c("h6", {
246
- staticClass: "el-x-prompts-label"
247
- }, [_vm._t("label", function () {
248
- return [_vm._v(_vm._s(info.label))];
249
- }, {
250
- item: info
251
- })], 2) : _vm._e(), _vm._v(" "), info.description ? _c("p", {
252
- staticClass: "el-x-prompts-desc"
253
- }, [_vm._t("description", function () {
254
- return [_vm._v(_vm._s(info.description))];
255
- }, {
256
- item: info
257
- })], 2) : _vm._e(), _vm._v(" "), _vm.hasChildren(info) ? _c(_vm.$options.name, {
258
- tag: "component",
259
- staticClass: "el-x-prompts-nested",
260
- attrs: {
261
- items: info.children,
262
- vertical: true,
263
- "class-names": {
264
- list: _vm.classNames.subList,
265
- item: _vm.classNames.subItem
266
- },
267
- styles: {
268
- list: _vm.styles.subList,
269
- item: _vm.styles.subItem
270
- }
271
- },
272
- on: {
273
- "on-item-click": function ($event) {
274
- return _vm.$emit("on-item-click", $event);
275
- }
276
- }
277
- }) : _vm._e()], 1)]);
278
- }), 0)]);
279
- };
280
- var staticRenderFns = [];
281
- render._withStripped = true;
282
-
283
- // CONCATENATED MODULE: ./src/components/Prompts/src/main.vue?vue&type=template&id=ee2290d4&scoped=true
284
-
285
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Prompts/src/main.vue?vue&type=script&lang=js
286
- /* harmony default export */ var mainvue_type_script_lang_js = ({
287
- name: 'ElXPrompts',
288
- props: {
289
- /**
290
- * 包含多个提示项的列表
291
- */
292
- items: {
293
- type: Array,
294
- default: () => []
295
- },
296
- /**
297
- * 显示在提示列表顶部的标题
298
- */
299
- title: {
300
- type: String,
301
- default: ''
302
- },
303
- /**
304
- * Item 提示项被点击时的回调函数
305
- */
306
- onItemClick: {
307
- type: Function,
308
- default: null
309
- },
310
- /**
311
- * 提示列表是否垂直排列
312
- */
313
- vertical: {
314
- type: Boolean,
315
- default: false
316
- },
317
- /**
318
- * 提示列表是否换行
319
- */
320
- wrap: {
321
- type: Boolean,
322
- default: false
323
- },
324
- /**
325
- * 自定义样式,用于各个提示项的不同部分
326
- */
327
- styles: {
328
- type: Object,
329
- default: () => ({})
330
- },
331
- /**
332
- * 自定义样式类名,用于各个提示项的不同部分
333
- */
334
- classNames: {
335
- type: Object,
336
- default: () => ({})
337
- },
338
- /**
339
- * 根节点的样式类名
340
- */
341
- rootClassName: {
342
- type: String,
343
- default: ''
344
- },
345
- /**
346
- * 自定义样式
347
- */
348
- customStyle: {
349
- type: Object,
350
- default: () => ({})
351
- },
352
- /**
353
- * 方向
354
- */
355
- direction: {
356
- type: String,
357
- default: 'ltr'
358
- }
359
- },
360
- computed: {
361
- titleStyle() {
362
- return {
363
- ...this.styles.title
364
- };
365
- },
366
- listStyle() {
367
- return {
368
- ...this.styles.list
369
- };
370
- },
371
- itemStyle() {
372
- return {
373
- ...this.styles.item
374
- };
375
- },
376
- itemContentStyle() {
377
- return {
378
- ...this.styles.itemContent
379
- };
380
- }
381
- },
382
- methods: {
383
- hasChildren(item) {
384
- return item.children && item.children.length > 0;
385
- },
386
- handleItemClick(info) {
387
- if (info.disabled) {
388
- return;
389
- }
390
- // 如果有子项,不触发点击事件
391
- if (this.hasChildren(info)) {
392
- return;
393
- }
394
- this.$emit('on-item-click', {
395
- data: info
396
- });
397
- // 向后兼容性
398
- if (this.onItemClick) {
399
- this.onItemClick({
400
- data: info
401
- });
402
- }
403
- }
404
- }
405
- });
406
- // CONCATENATED MODULE: ./src/components/Prompts/src/main.vue?vue&type=script&lang=js
407
- /* harmony default export */ var src_mainvue_type_script_lang_js = (mainvue_type_script_lang_js);
408
- // EXTERNAL MODULE: ./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js
409
- var injectStylesIntoStyleTag = __webpack_require__(3);
410
- var injectStylesIntoStyleTag_default = /*#__PURE__*/__webpack_require__.n(injectStylesIntoStyleTag);
411
-
412
- // 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/Prompts/src/main.vue?vue&type=style&index=0&id=ee2290d4&prod&lang=scss&scoped=true
413
- var mainvue_type_style_index_0_id_ee2290d4_prod_lang_scss_scoped_true = __webpack_require__(88);
414
-
415
- // 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/Prompts/src/main.vue?vue&type=style&index=0&id=ee2290d4&prod&lang=scss&scoped=true
416
-
417
-
418
-
419
- var options = {};
420
-
421
- options.insert = "head";
422
- options.singleton = false;
423
-
424
- var update = injectStylesIntoStyleTag_default()(mainvue_type_style_index_0_id_ee2290d4_prod_lang_scss_scoped_true["a" /* default */], options);
425
-
426
-
427
-
428
- /* harmony default export */ var src_mainvue_type_style_index_0_id_ee2290d4_prod_lang_scss_scoped_true = (mainvue_type_style_index_0_id_ee2290d4_prod_lang_scss_scoped_true["a" /* default */].locals || {});
429
- // CONCATENATED MODULE: ./src/components/Prompts/src/main.vue?vue&type=style&index=0&id=ee2290d4&prod&lang=scss&scoped=true
430
-
431
- // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
432
- var componentNormalizer = __webpack_require__(0);
433
-
434
- // CONCATENATED MODULE: ./src/components/Prompts/src/main.vue
435
-
436
-
437
-
438
-
439
-
440
-
441
- /* normalize component */
442
-
443
- var component = Object(componentNormalizer["a" /* default */])(
444
- src_mainvue_type_script_lang_js,
445
- render,
446
- staticRenderFns,
447
- false,
448
- null,
449
- "ee2290d4",
450
- null
451
-
452
- )
453
-
454
- /* harmony default export */ var main = (component.exports);
455
- // CONCATENATED MODULE: ./src/components/Prompts/index.js
456
-
457
-
458
- /* istanbul ignore next */
459
- main.install = function (Vue) {
460
- Vue.component(main.name, main);
461
- };
462
- /* harmony default export */ var Prompts = __webpack_exports__["default"] = (main);
463
-
464
- /***/ }),
465
-
466
- /***/ 2:
467
- /***/ (function(module, exports, __webpack_require__) {
468
-
469
- "use strict";
470
-
471
-
472
- /*
473
- MIT License http://www.opensource.org/licenses/mit-license.php
474
- Author Tobias Koppers @sokra
475
- */
476
- // css base code, injected by the css-loader
477
- // eslint-disable-next-line func-names
478
- module.exports = function (cssWithMappingToString) {
479
- var list = []; // return the list of modules as css string
480
-
481
- list.toString = function toString() {
482
- return this.map(function (item) {
483
- var content = cssWithMappingToString(item);
484
-
485
- if (item[2]) {
486
- return "@media ".concat(item[2], " {").concat(content, "}");
487
- }
488
-
489
- return content;
490
- }).join("");
491
- }; // import a list of modules into the list
492
- // eslint-disable-next-line func-names
493
-
494
-
495
- list.i = function (modules, mediaQuery, dedupe) {
496
- if (typeof modules === "string") {
497
- // eslint-disable-next-line no-param-reassign
498
- modules = [[null, modules, ""]];
499
- }
500
-
501
- var alreadyImportedModules = {};
502
-
503
- if (dedupe) {
504
- for (var i = 0; i < this.length; i++) {
505
- // eslint-disable-next-line prefer-destructuring
506
- var id = this[i][0];
507
-
508
- if (id != null) {
509
- alreadyImportedModules[id] = true;
510
- }
511
- }
512
- }
513
-
514
- for (var _i = 0; _i < modules.length; _i++) {
515
- var item = [].concat(modules[_i]);
516
-
517
- if (dedupe && alreadyImportedModules[item[0]]) {
518
- // eslint-disable-next-line no-continue
519
- continue;
520
- }
521
-
522
- if (mediaQuery) {
523
- if (!item[2]) {
524
- item[2] = mediaQuery;
525
- } else {
526
- item[2] = "".concat(mediaQuery, " and ").concat(item[2]);
527
- }
528
- }
529
-
530
- list.push(item);
531
- }
532
- };
533
-
534
- return list;
535
- };
536
-
537
- /***/ }),
538
-
539
- /***/ 3:
540
- /***/ (function(module, exports, __webpack_require__) {
541
-
542
- "use strict";
543
-
544
-
545
- var isOldIE = function isOldIE() {
546
- var memo;
547
- return function memorize() {
548
- if (typeof memo === 'undefined') {
549
- // Test for IE <= 9 as proposed by Browserhacks
550
- // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805
551
- // Tests for existence of standard globals is to allow style-loader
552
- // to operate correctly into non-standard environments
553
- // @see https://github.com/webpack-contrib/style-loader/issues/177
554
- memo = Boolean(window && document && document.all && !window.atob);
555
- }
556
-
557
- return memo;
558
- };
559
- }();
560
-
561
- var getTarget = function getTarget() {
562
- var memo = {};
563
- return function memorize(target) {
564
- if (typeof memo[target] === 'undefined') {
565
- var styleTarget = document.querySelector(target); // Special case to return head of iframe instead of iframe itself
566
-
567
- if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {
568
- try {
569
- // This will throw an exception if access to iframe is blocked
570
- // due to cross-origin restrictions
571
- styleTarget = styleTarget.contentDocument.head;
572
- } catch (e) {
573
- // istanbul ignore next
574
- styleTarget = null;
575
- }
576
- }
577
-
578
- memo[target] = styleTarget;
579
- }
580
-
581
- return memo[target];
582
- };
583
- }();
584
-
585
- var stylesInDom = [];
586
-
587
- function getIndexByIdentifier(identifier) {
588
- var result = -1;
589
-
590
- for (var i = 0; i < stylesInDom.length; i++) {
591
- if (stylesInDom[i].identifier === identifier) {
592
- result = i;
593
- break;
594
- }
595
- }
596
-
597
- return result;
598
- }
599
-
600
- function modulesToDom(list, options) {
601
- var idCountMap = {};
602
- var identifiers = [];
603
-
604
- for (var i = 0; i < list.length; i++) {
605
- var item = list[i];
606
- var id = options.base ? item[0] + options.base : item[0];
607
- var count = idCountMap[id] || 0;
608
- var identifier = "".concat(id, " ").concat(count);
609
- idCountMap[id] = count + 1;
610
- var index = getIndexByIdentifier(identifier);
611
- var obj = {
612
- css: item[1],
613
- media: item[2],
614
- sourceMap: item[3]
615
- };
616
-
617
- if (index !== -1) {
618
- stylesInDom[index].references++;
619
- stylesInDom[index].updater(obj);
620
- } else {
621
- stylesInDom.push({
622
- identifier: identifier,
623
- updater: addStyle(obj, options),
624
- references: 1
625
- });
626
- }
627
-
628
- identifiers.push(identifier);
629
- }
630
-
631
- return identifiers;
632
- }
633
-
634
- function insertStyleElement(options) {
635
- var style = document.createElement('style');
636
- var attributes = options.attributes || {};
637
-
638
- if (typeof attributes.nonce === 'undefined') {
639
- var nonce = true ? __webpack_require__.nc : undefined;
640
-
641
- if (nonce) {
642
- attributes.nonce = nonce;
643
- }
644
- }
645
-
646
- Object.keys(attributes).forEach(function (key) {
647
- style.setAttribute(key, attributes[key]);
648
- });
649
-
650
- if (typeof options.insert === 'function') {
651
- options.insert(style);
652
- } else {
653
- var target = getTarget(options.insert || 'head');
654
-
655
- if (!target) {
656
- throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");
657
- }
658
-
659
- target.appendChild(style);
660
- }
661
-
662
- return style;
663
- }
664
-
665
- function removeStyleElement(style) {
666
- // istanbul ignore if
667
- if (style.parentNode === null) {
668
- return false;
669
- }
670
-
671
- style.parentNode.removeChild(style);
672
- }
673
- /* istanbul ignore next */
674
-
675
-
676
- var replaceText = function replaceText() {
677
- var textStore = [];
678
- return function replace(index, replacement) {
679
- textStore[index] = replacement;
680
- return textStore.filter(Boolean).join('\n');
681
- };
682
- }();
683
-
684
- function applyToSingletonTag(style, index, remove, obj) {
685
- var css = remove ? '' : obj.media ? "@media ".concat(obj.media, " {").concat(obj.css, "}") : obj.css; // For old IE
686
-
687
- /* istanbul ignore if */
688
-
689
- if (style.styleSheet) {
690
- style.styleSheet.cssText = replaceText(index, css);
691
- } else {
692
- var cssNode = document.createTextNode(css);
693
- var childNodes = style.childNodes;
694
-
695
- if (childNodes[index]) {
696
- style.removeChild(childNodes[index]);
697
- }
698
-
699
- if (childNodes.length) {
700
- style.insertBefore(cssNode, childNodes[index]);
701
- } else {
702
- style.appendChild(cssNode);
703
- }
704
- }
705
- }
706
-
707
- function applyToTag(style, options, obj) {
708
- var css = obj.css;
709
- var media = obj.media;
710
- var sourceMap = obj.sourceMap;
711
-
712
- if (media) {
713
- style.setAttribute('media', media);
714
- } else {
715
- style.removeAttribute('media');
716
- }
717
-
718
- if (sourceMap && typeof btoa !== 'undefined') {
719
- css += "\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), " */");
720
- } // For old IE
721
-
722
- /* istanbul ignore if */
723
-
724
-
725
- if (style.styleSheet) {
726
- style.styleSheet.cssText = css;
727
- } else {
728
- while (style.firstChild) {
729
- style.removeChild(style.firstChild);
730
- }
731
-
732
- style.appendChild(document.createTextNode(css));
733
- }
734
- }
735
-
736
- var singleton = null;
737
- var singletonCounter = 0;
738
-
739
- function addStyle(obj, options) {
740
- var style;
741
- var update;
742
- var remove;
743
-
744
- if (options.singleton) {
745
- var styleIndex = singletonCounter++;
746
- style = singleton || (singleton = insertStyleElement(options));
747
- update = applyToSingletonTag.bind(null, style, styleIndex, false);
748
- remove = applyToSingletonTag.bind(null, style, styleIndex, true);
749
- } else {
750
- style = insertStyleElement(options);
751
- update = applyToTag.bind(null, style, options);
752
-
753
- remove = function remove() {
754
- removeStyleElement(style);
755
- };
756
- }
757
-
758
- update(obj);
759
- return function updateStyle(newObj) {
760
- if (newObj) {
761
- if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap) {
762
- return;
763
- }
764
-
765
- update(obj = newObj);
766
- } else {
767
- remove();
768
- }
769
- };
770
- }
771
-
772
- module.exports = function (list, options) {
773
- options = options || {}; // Force single-tag solution on IE6-9, which has a hard limit on the # of <style>
774
- // tags it will allow on a page
775
-
776
- if (!options.singleton && typeof options.singleton !== 'boolean') {
777
- options.singleton = isOldIE();
778
- }
779
-
780
- list = list || [];
781
- var lastIdentifiers = modulesToDom(list, options);
782
- return function update(newList) {
783
- newList = newList || [];
784
-
785
- if (Object.prototype.toString.call(newList) !== '[object Array]') {
786
- return;
787
- }
788
-
789
- for (var i = 0; i < lastIdentifiers.length; i++) {
790
- var identifier = lastIdentifiers[i];
791
- var index = getIndexByIdentifier(identifier);
792
- stylesInDom[index].references--;
793
- }
794
-
795
- var newLastIdentifiers = modulesToDom(newList, options);
796
-
797
- for (var _i = 0; _i < lastIdentifiers.length; _i++) {
798
- var _identifier = lastIdentifiers[_i];
799
-
800
- var _index = getIndexByIdentifier(_identifier);
801
-
802
- if (stylesInDom[_index].references === 0) {
803
- stylesInDom[_index].updater();
804
-
805
- stylesInDom.splice(_index, 1);
806
- }
807
- }
808
-
809
- lastIdentifiers = newLastIdentifiers;
810
- };
811
- };
812
-
813
- /***/ }),
814
-
815
- /***/ 88:
816
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
817
-
818
- "use strict";
819
- /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
820
- /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);
821
- // Imports
822
-
823
- var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});
824
- // Module
825
- ___CSS_LOADER_EXPORT___.push([module.i, "[data-v-ee2290d4]:root{--color-primary: #409EFF;--color-success: #67C23A;--color-warning: #E6A23C;--color-danger: #F56C6C;--color-info: #909399}.el-x-prompts[data-v-ee2290d4]{max-width:100%}.el-x-prompts[data-v-ee2290d4],.el-x-prompts *[data-v-ee2290d4]{box-sizing:border-box}.el-x-prompts.el-x-prompts-rtl[data-v-ee2290d4]{direction:rtl}.el-x-prompts .el-x-prompts-title[data-v-ee2290d4]{font-weight:normal;font-size:16px;color:#909399;margin-top:0;margin-bottom:.5em}.el-x-prompts .el-x-prompts-list[data-v-ee2290d4]{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none;list-style:none;padding-left:0;margin:0;align-items:stretch}.el-x-prompts .el-x-prompts-list[data-v-ee2290d4]::-webkit-scrollbar{display:none}.el-x-prompts .el-x-prompts-list-wrap[data-v-ee2290d4]{flex-wrap:wrap}.el-x-prompts .el-x-prompts-list-vertical[data-v-ee2290d4]{flex-direction:column;align-items:flex-start}@media screen and (max-width: 768px){.el-x-prompts .el-x-prompts-list[data-v-ee2290d4]{flex-wrap:wrap;gap:8px}.el-x-prompts .el-x-prompts-list-wrap[data-v-ee2290d4]{justify-content:space-between}}.el-x-prompts .el-x-prompts-item[data-v-ee2290d4]{flex:none;display:flex;gap:4px;height:auto;padding:12px 18px;align-items:flex-start;justify-content:flex-start;background:#fff;border-radius:8px;transition:border all .3s cubic-bezier(0.645, 0.045, 0.355, 1),background all .3s cubic-bezier(0.645, 0.045, 0.355, 1);border:1px solid #ebeef5}@media screen and (max-width: 768px){.el-x-prompts .el-x-prompts-item[data-v-ee2290d4]{width:calc(50% - 4px);min-width:150px;padding:8px 12px}.el-x-prompts-list-wrap .el-x-prompts .el-x-prompts-item[data-v-ee2290d4]{width:calc(50% - 4px);margin-bottom:8px}.el-x-prompts-list-vertical .el-x-prompts .el-x-prompts-item[data-v-ee2290d4]{width:100%}}.el-x-prompts .el-x-prompts-item[data-v-ee2290d4]:not(.el-x-prompts-item-has-nest):hover{cursor:pointer;background:#f5f7fa}.el-x-prompts .el-x-prompts-item[data-v-ee2290d4]:not(.el-x-prompts-item-has-nest):active{background:rgb(235.9,245.3,255)}.el-x-prompts .el-x-prompts-item .el-x-prompts-content[data-v-ee2290d4]{flex:auto;min-width:0;display:flex;gap:4px;flex-direction:column;align-items:flex-start}@media screen and (max-width: 768px){.el-x-prompts .el-x-prompts-item .el-x-prompts-content[data-v-ee2290d4]{width:100%;gap:2px}}.el-x-prompts .el-x-prompts-item .el-x-prompts-icon[data-v-ee2290d4],.el-x-prompts .el-x-prompts-item .el-x-prompts-label[data-v-ee2290d4],.el-x-prompts .el-x-prompts-item .el-x-prompts-desc[data-v-ee2290d4]{margin:0;padding:0;font-size:14px;line-height:24px;text-align:start;white-space:normal}@media screen and (max-width: 768px){.el-x-prompts .el-x-prompts-item .el-x-prompts-icon[data-v-ee2290d4],.el-x-prompts .el-x-prompts-item .el-x-prompts-label[data-v-ee2290d4],.el-x-prompts .el-x-prompts-item .el-x-prompts-desc[data-v-ee2290d4]{font-size:14px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}}.el-x-prompts .el-x-prompts-item .el-x-prompts-label[data-v-ee2290d4]{color:#303133;font-weight:500}.el-x-prompts .el-x-prompts-item .el-x-prompts-label+.el-x-prompts-desc[data-v-ee2290d4]{color:#909399}.el-x-prompts .el-x-prompts-item.el-x-prompts-item-disabled[data-v-ee2290d4]{pointer-events:none;background:#f5f7fa}.el-x-prompts .el-x-prompts-item.el-x-prompts-item-disabled .el-x-prompts-label[data-v-ee2290d4],.el-x-prompts .el-x-prompts-item.el-x-prompts-item-disabled .el-x-prompts-desc[data-v-ee2290d4]{color:#909399}.el-x-prompts .el-x-prompts-item-has-nest>.el-x-prompts-content>.el-x-prompts-label[data-v-ee2290d4]{font-size:18px;line-height:24px}.el-x-prompts.el-x-prompts-nested[data-v-ee2290d4]{margin-top:5px;align-self:stretch}.el-x-prompts.el-x-prompts-nested .el-x-prompts-list[data-v-ee2290d4]{align-items:stretch}.el-x-prompts.el-x-prompts-nested .el-x-prompts-item[data-v-ee2290d4]{border:0;background:#f5f7fa}", ""]);
826
- // Exports
827
- /* harmony default export */ __webpack_exports__["a"] = (___CSS_LOADER_EXPORT___);
828
-
829
-
830
- /***/ })
831
-
832
- /******/ });