knt-shared 1.6.9 → 1.7.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/dist/components/Description/BasicDescription.vue.d.ts.map +1 -1
- package/dist/components/Form/BasicForm.vue.d.ts.map +1 -1
- package/dist/components/Form/components/ApiCascader.vue.d.ts.map +1 -1
- package/dist/components/Form/components/ApiSelect.vue.d.ts.map +1 -1
- package/dist/components/Image/BasicImage.vue.d.ts.map +1 -1
- package/dist/components/Loading/BasicLoading.vue.d.ts.map +1 -1
- package/dist/components/Loading/LoadingOverlay.vue.d.ts.map +1 -1
- package/dist/components/Loading/LoadingSpinner.vue.d.ts +16 -0
- package/dist/components/Loading/LoadingSpinner.vue.d.ts.map +1 -0
- package/dist/components/Modal/BasicModal.vue.d.ts +2 -2
- package/dist/components/Modal/BasicModal.vue.d.ts.map +1 -1
- package/dist/components/Table/BasicTable.vue.d.ts.map +1 -1
- package/dist/components/TextEllipsis/BasicTextEllipsis.vue.d.ts.map +1 -1
- package/dist/components/Upload/BasicUpload.vue.d.ts +2 -1
- package/dist/components/Upload/BasicUpload.vue.d.ts.map +1 -1
- package/dist/components/Upload/components/SortableFileItem.vue.d.ts.map +1 -1
- package/dist/components/Upload/components/VideoPreview.vue.d.ts.map +1 -1
- package/dist/components/Upload/components/VideoPreviewModal.vue.d.ts.map +1 -1
- package/dist/index.cjs.js +380 -313
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +345 -278
- package/dist/index.esm.js.map +1 -1
- package/dist/plugin.d.ts +21 -0
- package/dist/plugin.d.ts.map +1 -0
- package/dist/style.css +156 -114
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { getCurrentInstance, inject, defineComponent, computed, createElementBlock, openBlock, normalizeStyle, normalizeClass, createElementVNode,
|
|
2
|
-
import { Message, Transfer, Mention,
|
|
1
|
+
import { getCurrentInstance, inject, defineComponent, computed, createElementBlock, openBlock, normalizeStyle, normalizeClass, createElementVNode, createCommentVNode, createVNode, unref, createBlock, reactive, Fragment, renderList, withModifiers, ref, watch, onMounted, onUnmounted, withDirectives, vModelText, vShow, toDisplayString, withCtx, createTextVNode, useCssVars, nextTick, renderSlot, mergeProps, createSlots, onBeforeUnmount, toRef, normalizeProps, guardReactiveProps, h, resolveDynamicComponent, isVNode, useSlots, Teleport, createApp } from "vue";
|
|
2
|
+
import ArcoVue, { Progress, Spin, Dropdown, Doption, Modal, Upload, Button, Image, Message, Select, Cascader, Transfer, Mention, Rate, Slider, Switch, RangePicker, TimePicker, DatePicker, TreeSelect, CheckboxGroup, Checkbox, RadioGroup, Radio, AutoComplete, Textarea, InputPassword, InputNumber, Input, ImagePreviewGroup, Form, Row, Col, FormItem, Tooltip, Space, Divider, Popover, Table, Popconfirm, Link, Descriptions, DescriptionsItem } from "@arco-design/web-vue";
|
|
3
3
|
const configProviderInjectionKey = Symbol("ArcoConfigProvider");
|
|
4
4
|
const CLASS_PREFIX = "arco";
|
|
5
5
|
const GLOBAL_CONFIG_NAME = "$arco";
|
|
@@ -22,7 +22,7 @@ var _export_sfc$1 = (sfc, props) => {
|
|
|
22
22
|
}
|
|
23
23
|
return sfc;
|
|
24
24
|
};
|
|
25
|
-
const _sfc_main$
|
|
25
|
+
const _sfc_main$z = defineComponent({
|
|
26
26
|
name: "IconExclamationCircle",
|
|
27
27
|
props: {
|
|
28
28
|
size: {
|
|
@@ -75,8 +75,8 @@ const _sfc_main$x = defineComponent({
|
|
|
75
75
|
};
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
const _hoisted_1$
|
|
79
|
-
function _sfc_render$
|
|
78
|
+
const _hoisted_1$u = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
|
|
79
|
+
function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
80
80
|
return openBlock(), createElementBlock("svg", {
|
|
81
81
|
viewBox: "0 0 48 48",
|
|
82
82
|
fill: "none",
|
|
@@ -90,9 +90,9 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
90
90
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onClick && _ctx.onClick(...args))
|
|
91
91
|
}, _cache[1] || (_cache[1] = [
|
|
92
92
|
createElementVNode("path", { d: "M24 28V14m0 16v4M6 24c0-9.941 8.059-18 18-18s18 8.059 18 18-8.059 18-18 18S6 33.941 6 24Z" }, null, -1)
|
|
93
|
-
]), 14, _hoisted_1$
|
|
93
|
+
]), 14, _hoisted_1$u);
|
|
94
94
|
}
|
|
95
|
-
var _IconExclamationCircle = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
95
|
+
var _IconExclamationCircle = /* @__PURE__ */ _export_sfc$1(_sfc_main$z, [["render", _sfc_render$h]]);
|
|
96
96
|
const IconExclamationCircle = Object.assign(_IconExclamationCircle, {
|
|
97
97
|
install: (app, options) => {
|
|
98
98
|
var _a;
|
|
@@ -100,7 +100,7 @@ const IconExclamationCircle = Object.assign(_IconExclamationCircle, {
|
|
|
100
100
|
app.component(iconPrefix + _IconExclamationCircle.name, _IconExclamationCircle);
|
|
101
101
|
}
|
|
102
102
|
});
|
|
103
|
-
const _sfc_main$
|
|
103
|
+
const _sfc_main$y = defineComponent({
|
|
104
104
|
name: "IconPlus",
|
|
105
105
|
props: {
|
|
106
106
|
size: {
|
|
@@ -153,8 +153,8 @@ const _sfc_main$w = defineComponent({
|
|
|
153
153
|
};
|
|
154
154
|
}
|
|
155
155
|
});
|
|
156
|
-
const _hoisted_1$
|
|
157
|
-
function _sfc_render$
|
|
156
|
+
const _hoisted_1$t = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
|
|
157
|
+
function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
158
158
|
return openBlock(), createElementBlock("svg", {
|
|
159
159
|
viewBox: "0 0 48 48",
|
|
160
160
|
fill: "none",
|
|
@@ -168,9 +168,9 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
168
168
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onClick && _ctx.onClick(...args))
|
|
169
169
|
}, _cache[1] || (_cache[1] = [
|
|
170
170
|
createElementVNode("path", { d: "M5 24h38M24 5v38" }, null, -1)
|
|
171
|
-
]), 14, _hoisted_1$
|
|
171
|
+
]), 14, _hoisted_1$t);
|
|
172
172
|
}
|
|
173
|
-
var _IconPlus = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
173
|
+
var _IconPlus = /* @__PURE__ */ _export_sfc$1(_sfc_main$y, [["render", _sfc_render$g]]);
|
|
174
174
|
const IconPlus = Object.assign(_IconPlus, {
|
|
175
175
|
install: (app, options) => {
|
|
176
176
|
var _a;
|
|
@@ -178,7 +178,7 @@ const IconPlus = Object.assign(_IconPlus, {
|
|
|
178
178
|
app.component(iconPrefix + _IconPlus.name, _IconPlus);
|
|
179
179
|
}
|
|
180
180
|
});
|
|
181
|
-
const _sfc_main$
|
|
181
|
+
const _sfc_main$x = defineComponent({
|
|
182
182
|
name: "IconQuestionCircle",
|
|
183
183
|
props: {
|
|
184
184
|
size: {
|
|
@@ -231,8 +231,8 @@ const _sfc_main$v = defineComponent({
|
|
|
231
231
|
};
|
|
232
232
|
}
|
|
233
233
|
});
|
|
234
|
-
const _hoisted_1$
|
|
235
|
-
function _sfc_render$
|
|
234
|
+
const _hoisted_1$s = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
|
|
235
|
+
function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
236
236
|
return openBlock(), createElementBlock("svg", {
|
|
237
237
|
viewBox: "0 0 48 48",
|
|
238
238
|
fill: "none",
|
|
@@ -247,9 +247,9 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
247
247
|
}, _cache[1] || (_cache[1] = [
|
|
248
248
|
createElementVNode("path", { d: "M42 24c0 9.941-8.059 18-18 18S6 33.941 6 24 14.059 6 24 6s18 8.059 18 18Z" }, null, -1),
|
|
249
249
|
createElementVNode("path", { d: "M24.006 31v4.008m0-6.008L24 28c0-3 3-4 4.78-6.402C30.558 19.195 28.288 15 23.987 15c-4.014 0-5.382 2.548-5.388 4.514v.465" }, null, -1)
|
|
250
|
-
]), 14, _hoisted_1$
|
|
250
|
+
]), 14, _hoisted_1$s);
|
|
251
251
|
}
|
|
252
|
-
var _IconQuestionCircle = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
252
|
+
var _IconQuestionCircle = /* @__PURE__ */ _export_sfc$1(_sfc_main$x, [["render", _sfc_render$f]]);
|
|
253
253
|
const IconQuestionCircle = Object.assign(_IconQuestionCircle, {
|
|
254
254
|
install: (app, options) => {
|
|
255
255
|
var _a;
|
|
@@ -257,7 +257,7 @@ const IconQuestionCircle = Object.assign(_IconQuestionCircle, {
|
|
|
257
257
|
app.component(iconPrefix + _IconQuestionCircle.name, _IconQuestionCircle);
|
|
258
258
|
}
|
|
259
259
|
});
|
|
260
|
-
const _sfc_main$
|
|
260
|
+
const _sfc_main$w = defineComponent({
|
|
261
261
|
name: "IconEye",
|
|
262
262
|
props: {
|
|
263
263
|
size: {
|
|
@@ -310,8 +310,8 @@ const _sfc_main$u = defineComponent({
|
|
|
310
310
|
};
|
|
311
311
|
}
|
|
312
312
|
});
|
|
313
|
-
const _hoisted_1$
|
|
314
|
-
function _sfc_render$
|
|
313
|
+
const _hoisted_1$r = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
|
|
314
|
+
function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
315
315
|
return openBlock(), createElementBlock("svg", {
|
|
316
316
|
viewBox: "0 0 48 48",
|
|
317
317
|
fill: "none",
|
|
@@ -329,9 +329,9 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
329
329
|
d: "M24 37c6.627 0 12.627-4.333 18-13-5.373-8.667-11.373-13-18-13-6.627 0-12.627 4.333-18 13 5.373 8.667 11.373 13 18 13Z"
|
|
330
330
|
}, null, -1),
|
|
331
331
|
createElementVNode("path", { d: "M29 24a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z" }, null, -1)
|
|
332
|
-
]), 14, _hoisted_1$
|
|
332
|
+
]), 14, _hoisted_1$r);
|
|
333
333
|
}
|
|
334
|
-
var _IconEye = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
334
|
+
var _IconEye = /* @__PURE__ */ _export_sfc$1(_sfc_main$w, [["render", _sfc_render$e]]);
|
|
335
335
|
const IconEye = Object.assign(_IconEye, {
|
|
336
336
|
install: (app, options) => {
|
|
337
337
|
var _a;
|
|
@@ -339,7 +339,7 @@ const IconEye = Object.assign(_IconEye, {
|
|
|
339
339
|
app.component(iconPrefix + _IconEye.name, _IconEye);
|
|
340
340
|
}
|
|
341
341
|
});
|
|
342
|
-
const _sfc_main$
|
|
342
|
+
const _sfc_main$v = defineComponent({
|
|
343
343
|
name: "IconMore",
|
|
344
344
|
props: {
|
|
345
345
|
size: {
|
|
@@ -392,8 +392,8 @@ const _sfc_main$t = defineComponent({
|
|
|
392
392
|
};
|
|
393
393
|
}
|
|
394
394
|
});
|
|
395
|
-
const _hoisted_1$
|
|
396
|
-
function _sfc_render$
|
|
395
|
+
const _hoisted_1$q = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
|
|
396
|
+
function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
397
397
|
return openBlock(), createElementBlock("svg", {
|
|
398
398
|
viewBox: "0 0 48 48",
|
|
399
399
|
fill: "none",
|
|
@@ -412,9 +412,9 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
412
412
|
stroke: "none"
|
|
413
413
|
}, null, -1),
|
|
414
414
|
createElementVNode("path", { d: "M38 25v-2h2v2h-2ZM23 25v-2h2v2h-2ZM8 25v-2h2v2H8Z" }, null, -1)
|
|
415
|
-
]), 14, _hoisted_1$
|
|
415
|
+
]), 14, _hoisted_1$q);
|
|
416
416
|
}
|
|
417
|
-
var _IconMore = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
417
|
+
var _IconMore = /* @__PURE__ */ _export_sfc$1(_sfc_main$v, [["render", _sfc_render$d]]);
|
|
418
418
|
const IconMore = Object.assign(_IconMore, {
|
|
419
419
|
install: (app, options) => {
|
|
420
420
|
var _a;
|
|
@@ -422,7 +422,7 @@ const IconMore = Object.assign(_IconMore, {
|
|
|
422
422
|
app.component(iconPrefix + _IconMore.name, _IconMore);
|
|
423
423
|
}
|
|
424
424
|
});
|
|
425
|
-
const _sfc_main$
|
|
425
|
+
const _sfc_main$u = defineComponent({
|
|
426
426
|
name: "IconRefresh",
|
|
427
427
|
props: {
|
|
428
428
|
size: {
|
|
@@ -475,8 +475,8 @@ const _sfc_main$s = defineComponent({
|
|
|
475
475
|
};
|
|
476
476
|
}
|
|
477
477
|
});
|
|
478
|
-
const _hoisted_1$
|
|
479
|
-
function _sfc_render$
|
|
478
|
+
const _hoisted_1$p = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
|
|
479
|
+
function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
480
480
|
return openBlock(), createElementBlock("svg", {
|
|
481
481
|
viewBox: "0 0 48 48",
|
|
482
482
|
fill: "none",
|
|
@@ -490,9 +490,9 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
490
490
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onClick && _ctx.onClick(...args))
|
|
491
491
|
}, _cache[1] || (_cache[1] = [
|
|
492
492
|
createElementVNode("path", { d: "M38.837 18C36.463 12.136 30.715 8 24 8 15.163 8 8 15.163 8 24s7.163 16 16 16c7.455 0 13.72-5.1 15.496-12M40 8v10H30" }, null, -1)
|
|
493
|
-
]), 14, _hoisted_1$
|
|
493
|
+
]), 14, _hoisted_1$p);
|
|
494
494
|
}
|
|
495
|
-
var _IconRefresh = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
495
|
+
var _IconRefresh = /* @__PURE__ */ _export_sfc$1(_sfc_main$u, [["render", _sfc_render$c]]);
|
|
496
496
|
const IconRefresh = Object.assign(_IconRefresh, {
|
|
497
497
|
install: (app, options) => {
|
|
498
498
|
var _a;
|
|
@@ -500,7 +500,85 @@ const IconRefresh = Object.assign(_IconRefresh, {
|
|
|
500
500
|
app.component(iconPrefix + _IconRefresh.name, _IconRefresh);
|
|
501
501
|
}
|
|
502
502
|
});
|
|
503
|
-
const _sfc_main$
|
|
503
|
+
const _sfc_main$t = defineComponent({
|
|
504
|
+
name: "IconSearch",
|
|
505
|
+
props: {
|
|
506
|
+
size: {
|
|
507
|
+
type: [Number, String]
|
|
508
|
+
},
|
|
509
|
+
strokeWidth: {
|
|
510
|
+
type: Number,
|
|
511
|
+
default: 4
|
|
512
|
+
},
|
|
513
|
+
strokeLinecap: {
|
|
514
|
+
type: String,
|
|
515
|
+
default: "butt",
|
|
516
|
+
validator: (value) => {
|
|
517
|
+
return ["butt", "round", "square"].includes(value);
|
|
518
|
+
}
|
|
519
|
+
},
|
|
520
|
+
strokeLinejoin: {
|
|
521
|
+
type: String,
|
|
522
|
+
default: "miter",
|
|
523
|
+
validator: (value) => {
|
|
524
|
+
return ["arcs", "bevel", "miter", "miter-clip", "round"].includes(value);
|
|
525
|
+
}
|
|
526
|
+
},
|
|
527
|
+
rotate: Number,
|
|
528
|
+
spin: Boolean
|
|
529
|
+
},
|
|
530
|
+
emits: {
|
|
531
|
+
click: (ev) => true
|
|
532
|
+
},
|
|
533
|
+
setup(props, { emit }) {
|
|
534
|
+
const prefixCls = getPrefixCls("icon");
|
|
535
|
+
const cls = computed(() => [prefixCls, `${prefixCls}-search`, { [`${prefixCls}-spin`]: props.spin }]);
|
|
536
|
+
const innerStyle = computed(() => {
|
|
537
|
+
const styles = {};
|
|
538
|
+
if (props.size) {
|
|
539
|
+
styles.fontSize = isNumber$1(props.size) ? `${props.size}px` : props.size;
|
|
540
|
+
}
|
|
541
|
+
if (props.rotate) {
|
|
542
|
+
styles.transform = `rotate(${props.rotate}deg)`;
|
|
543
|
+
}
|
|
544
|
+
return styles;
|
|
545
|
+
});
|
|
546
|
+
const onClick = (ev) => {
|
|
547
|
+
emit("click", ev);
|
|
548
|
+
};
|
|
549
|
+
return {
|
|
550
|
+
cls,
|
|
551
|
+
innerStyle,
|
|
552
|
+
onClick
|
|
553
|
+
};
|
|
554
|
+
}
|
|
555
|
+
});
|
|
556
|
+
const _hoisted_1$o = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
|
|
557
|
+
function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
558
|
+
return openBlock(), createElementBlock("svg", {
|
|
559
|
+
viewBox: "0 0 48 48",
|
|
560
|
+
fill: "none",
|
|
561
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
562
|
+
stroke: "currentColor",
|
|
563
|
+
class: normalizeClass(_ctx.cls),
|
|
564
|
+
style: normalizeStyle(_ctx.innerStyle),
|
|
565
|
+
"stroke-width": _ctx.strokeWidth,
|
|
566
|
+
"stroke-linecap": _ctx.strokeLinecap,
|
|
567
|
+
"stroke-linejoin": _ctx.strokeLinejoin,
|
|
568
|
+
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onClick && _ctx.onClick(...args))
|
|
569
|
+
}, _cache[1] || (_cache[1] = [
|
|
570
|
+
createElementVNode("path", { d: "M33.072 33.071c6.248-6.248 6.248-16.379 0-22.627-6.249-6.249-16.38-6.249-22.628 0-6.248 6.248-6.248 16.379 0 22.627 6.248 6.248 16.38 6.248 22.628 0Zm0 0 8.485 8.485" }, null, -1)
|
|
571
|
+
]), 14, _hoisted_1$o);
|
|
572
|
+
}
|
|
573
|
+
var _IconSearch = /* @__PURE__ */ _export_sfc$1(_sfc_main$t, [["render", _sfc_render$b]]);
|
|
574
|
+
const IconSearch = Object.assign(_IconSearch, {
|
|
575
|
+
install: (app, options) => {
|
|
576
|
+
var _a;
|
|
577
|
+
const iconPrefix = (_a = options == null ? void 0 : options.iconPrefix) != null ? _a : "";
|
|
578
|
+
app.component(iconPrefix + _IconSearch.name, _IconSearch);
|
|
579
|
+
}
|
|
580
|
+
});
|
|
581
|
+
const _sfc_main$s = defineComponent({
|
|
504
582
|
name: "IconSettings",
|
|
505
583
|
props: {
|
|
506
584
|
size: {
|
|
@@ -553,7 +631,7 @@ const _sfc_main$r = defineComponent({
|
|
|
553
631
|
};
|
|
554
632
|
}
|
|
555
633
|
});
|
|
556
|
-
const _hoisted_1$
|
|
634
|
+
const _hoisted_1$n = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
|
|
557
635
|
function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
558
636
|
return openBlock(), createElementBlock("svg", {
|
|
559
637
|
viewBox: "0 0 48 48",
|
|
@@ -569,9 +647,9 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
569
647
|
}, _cache[1] || (_cache[1] = [
|
|
570
648
|
createElementVNode("path", { d: "M18.797 6.732A1 1 0 0 1 19.76 6h8.48a1 1 0 0 1 .964.732l1.285 4.628a1 1 0 0 0 1.213.7l4.651-1.2a1 1 0 0 1 1.116.468l4.24 7.344a1 1 0 0 1-.153 1.2L38.193 23.3a1 1 0 0 0 0 1.402l3.364 3.427a1 1 0 0 1 .153 1.2l-4.24 7.344a1 1 0 0 1-1.116.468l-4.65-1.2a1 1 0 0 0-1.214.7l-1.285 4.628a1 1 0 0 1-.964.732h-8.48a1 1 0 0 1-.963-.732L17.51 36.64a1 1 0 0 0-1.213-.7l-4.65 1.2a1 1 0 0 1-1.116-.468l-4.24-7.344a1 1 0 0 1 .153-1.2L9.809 24.7a1 1 0 0 0 0-1.402l-3.364-3.427a1 1 0 0 1-.153-1.2l4.24-7.344a1 1 0 0 1 1.116-.468l4.65 1.2a1 1 0 0 0 1.213-.7l1.286-4.628Z" }, null, -1),
|
|
571
649
|
createElementVNode("path", { d: "M30 24a6 6 0 1 1-12 0 6 6 0 0 1 12 0Z" }, null, -1)
|
|
572
|
-
]), 14, _hoisted_1$
|
|
650
|
+
]), 14, _hoisted_1$n);
|
|
573
651
|
}
|
|
574
|
-
var _IconSettings = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
652
|
+
var _IconSettings = /* @__PURE__ */ _export_sfc$1(_sfc_main$s, [["render", _sfc_render$a]]);
|
|
575
653
|
const IconSettings = Object.assign(_IconSettings, {
|
|
576
654
|
install: (app, options) => {
|
|
577
655
|
var _a;
|
|
@@ -579,7 +657,7 @@ const IconSettings = Object.assign(_IconSettings, {
|
|
|
579
657
|
app.component(iconPrefix + _IconSettings.name, _IconSettings);
|
|
580
658
|
}
|
|
581
659
|
});
|
|
582
|
-
const _sfc_main$
|
|
660
|
+
const _sfc_main$r = defineComponent({
|
|
583
661
|
name: "IconUpload",
|
|
584
662
|
props: {
|
|
585
663
|
size: {
|
|
@@ -632,7 +710,7 @@ const _sfc_main$q = defineComponent({
|
|
|
632
710
|
};
|
|
633
711
|
}
|
|
634
712
|
});
|
|
635
|
-
const _hoisted_1$
|
|
713
|
+
const _hoisted_1$m = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
|
|
636
714
|
function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
637
715
|
return openBlock(), createElementBlock("svg", {
|
|
638
716
|
viewBox: "0 0 48 48",
|
|
@@ -647,9 +725,9 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
647
725
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onClick && _ctx.onClick(...args))
|
|
648
726
|
}, _cache[1] || (_cache[1] = [
|
|
649
727
|
createElementVNode("path", { d: "M14.93 17.071 24.001 8l9.071 9.071m-9.07 16.071v-25M40 35v6H8v-6" }, null, -1)
|
|
650
|
-
]), 14, _hoisted_1$
|
|
728
|
+
]), 14, _hoisted_1$m);
|
|
651
729
|
}
|
|
652
|
-
var _IconUpload = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
730
|
+
var _IconUpload = /* @__PURE__ */ _export_sfc$1(_sfc_main$r, [["render", _sfc_render$9]]);
|
|
653
731
|
const IconUpload = Object.assign(_IconUpload, {
|
|
654
732
|
install: (app, options) => {
|
|
655
733
|
var _a;
|
|
@@ -657,7 +735,7 @@ const IconUpload = Object.assign(_IconUpload, {
|
|
|
657
735
|
app.component(iconPrefix + _IconUpload.name, _IconUpload);
|
|
658
736
|
}
|
|
659
737
|
});
|
|
660
|
-
const _sfc_main$
|
|
738
|
+
const _sfc_main$q = defineComponent({
|
|
661
739
|
name: "IconDelete",
|
|
662
740
|
props: {
|
|
663
741
|
size: {
|
|
@@ -710,7 +788,7 @@ const _sfc_main$p = defineComponent({
|
|
|
710
788
|
};
|
|
711
789
|
}
|
|
712
790
|
});
|
|
713
|
-
const _hoisted_1$
|
|
791
|
+
const _hoisted_1$l = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
|
|
714
792
|
function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
715
793
|
return openBlock(), createElementBlock("svg", {
|
|
716
794
|
viewBox: "0 0 48 48",
|
|
@@ -725,9 +803,9 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
725
803
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onClick && _ctx.onClick(...args))
|
|
726
804
|
}, _cache[1] || (_cache[1] = [
|
|
727
805
|
createElementVNode("path", { d: "M5 11h5.5m0 0v29a1 1 0 0 0 1 1h25a1 1 0 0 0 1-1V11m-27 0H16m21.5 0H43m-5.5 0H32m-16 0V7h16v4m-16 0h16M20 18v15m8-15v15" }, null, -1)
|
|
728
|
-
]), 14, _hoisted_1$
|
|
806
|
+
]), 14, _hoisted_1$l);
|
|
729
807
|
}
|
|
730
|
-
var _IconDelete = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
808
|
+
var _IconDelete = /* @__PURE__ */ _export_sfc$1(_sfc_main$q, [["render", _sfc_render$8]]);
|
|
731
809
|
const IconDelete = Object.assign(_IconDelete, {
|
|
732
810
|
install: (app, options) => {
|
|
733
811
|
var _a;
|
|
@@ -735,7 +813,7 @@ const IconDelete = Object.assign(_IconDelete, {
|
|
|
735
813
|
app.component(iconPrefix + _IconDelete.name, _IconDelete);
|
|
736
814
|
}
|
|
737
815
|
});
|
|
738
|
-
const _sfc_main$
|
|
816
|
+
const _sfc_main$p = defineComponent({
|
|
739
817
|
name: "IconLineHeight",
|
|
740
818
|
props: {
|
|
741
819
|
size: {
|
|
@@ -788,7 +866,7 @@ const _sfc_main$o = defineComponent({
|
|
|
788
866
|
};
|
|
789
867
|
}
|
|
790
868
|
});
|
|
791
|
-
const _hoisted_1$
|
|
869
|
+
const _hoisted_1$k = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
|
|
792
870
|
function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
793
871
|
return openBlock(), createElementBlock("svg", {
|
|
794
872
|
viewBox: "0 0 48 48",
|
|
@@ -809,9 +887,9 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
809
887
|
stroke: "none"
|
|
810
888
|
}, null, -1),
|
|
811
889
|
createElementVNode("path", { d: "M39 13h2l-2-3.5-2 3.5h2Zm0 0v22m0 0h2l-2 3.5-2-3.5h2Z" }, null, -1)
|
|
812
|
-
]), 14, _hoisted_1$
|
|
890
|
+
]), 14, _hoisted_1$k);
|
|
813
891
|
}
|
|
814
|
-
var _IconLineHeight = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
892
|
+
var _IconLineHeight = /* @__PURE__ */ _export_sfc$1(_sfc_main$p, [["render", _sfc_render$7]]);
|
|
815
893
|
const IconLineHeight = Object.assign(_IconLineHeight, {
|
|
816
894
|
install: (app, options) => {
|
|
817
895
|
var _a;
|
|
@@ -819,7 +897,7 @@ const IconLineHeight = Object.assign(_IconLineHeight, {
|
|
|
819
897
|
app.component(iconPrefix + _IconLineHeight.name, _IconLineHeight);
|
|
820
898
|
}
|
|
821
899
|
});
|
|
822
|
-
const _sfc_main$
|
|
900
|
+
const _sfc_main$o = defineComponent({
|
|
823
901
|
name: "IconFullscreenExit",
|
|
824
902
|
props: {
|
|
825
903
|
size: {
|
|
@@ -872,7 +950,7 @@ const _sfc_main$n = defineComponent({
|
|
|
872
950
|
};
|
|
873
951
|
}
|
|
874
952
|
});
|
|
875
|
-
const _hoisted_1$
|
|
953
|
+
const _hoisted_1$j = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
|
|
876
954
|
function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
877
955
|
return openBlock(), createElementBlock("svg", {
|
|
878
956
|
viewBox: "0 0 48 48",
|
|
@@ -887,9 +965,9 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
887
965
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onClick && _ctx.onClick(...args))
|
|
888
966
|
}, _cache[1] || (_cache[1] = [
|
|
889
967
|
createElementVNode("path", { d: "M35 6v8a1 1 0 0 0 1 1h8M13 6v8a1 1 0 0 1-1 1H4m31 27v-8a1 1 0 0 1 1-1h8m-31 9v-8a1 1 0 0 0-1-1H4" }, null, -1)
|
|
890
|
-
]), 14, _hoisted_1$
|
|
968
|
+
]), 14, _hoisted_1$j);
|
|
891
969
|
}
|
|
892
|
-
var _IconFullscreenExit = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
970
|
+
var _IconFullscreenExit = /* @__PURE__ */ _export_sfc$1(_sfc_main$o, [["render", _sfc_render$6]]);
|
|
893
971
|
const IconFullscreenExit = Object.assign(_IconFullscreenExit, {
|
|
894
972
|
install: (app, options) => {
|
|
895
973
|
var _a;
|
|
@@ -897,7 +975,7 @@ const IconFullscreenExit = Object.assign(_IconFullscreenExit, {
|
|
|
897
975
|
app.component(iconPrefix + _IconFullscreenExit.name, _IconFullscreenExit);
|
|
898
976
|
}
|
|
899
977
|
});
|
|
900
|
-
const _sfc_main$
|
|
978
|
+
const _sfc_main$n = defineComponent({
|
|
901
979
|
name: "IconFullscreen",
|
|
902
980
|
props: {
|
|
903
981
|
size: {
|
|
@@ -950,7 +1028,7 @@ const _sfc_main$m = defineComponent({
|
|
|
950
1028
|
};
|
|
951
1029
|
}
|
|
952
1030
|
});
|
|
953
|
-
const _hoisted_1$
|
|
1031
|
+
const _hoisted_1$i = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
|
|
954
1032
|
function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
955
1033
|
return openBlock(), createElementBlock("svg", {
|
|
956
1034
|
viewBox: "0 0 48 48",
|
|
@@ -965,9 +1043,9 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
965
1043
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onClick && _ctx.onClick(...args))
|
|
966
1044
|
}, _cache[1] || (_cache[1] = [
|
|
967
1045
|
createElementVNode("path", { d: "M42 17V9a1 1 0 0 0-1-1h-8M6 17V9a1 1 0 0 1 1-1h8m27 23v8a1 1 0 0 1-1 1h-8M6 31v8a1 1 0 0 0 1 1h8" }, null, -1)
|
|
968
|
-
]), 14, _hoisted_1$
|
|
1046
|
+
]), 14, _hoisted_1$i);
|
|
969
1047
|
}
|
|
970
|
-
var _IconFullscreen = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
1048
|
+
var _IconFullscreen = /* @__PURE__ */ _export_sfc$1(_sfc_main$n, [["render", _sfc_render$5]]);
|
|
971
1049
|
const IconFullscreen = Object.assign(_IconFullscreen, {
|
|
972
1050
|
install: (app, options) => {
|
|
973
1051
|
var _a;
|
|
@@ -975,7 +1053,7 @@ const IconFullscreen = Object.assign(_IconFullscreen, {
|
|
|
975
1053
|
app.component(iconPrefix + _IconFullscreen.name, _IconFullscreen);
|
|
976
1054
|
}
|
|
977
1055
|
});
|
|
978
|
-
const _sfc_main$
|
|
1056
|
+
const _sfc_main$m = defineComponent({
|
|
979
1057
|
name: "IconMute",
|
|
980
1058
|
props: {
|
|
981
1059
|
size: {
|
|
@@ -1028,7 +1106,7 @@ const _sfc_main$l = defineComponent({
|
|
|
1028
1106
|
};
|
|
1029
1107
|
}
|
|
1030
1108
|
});
|
|
1031
|
-
const _hoisted_1$
|
|
1109
|
+
const _hoisted_1$h = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
|
|
1032
1110
|
function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1033
1111
|
return openBlock(), createElementBlock("svg", {
|
|
1034
1112
|
viewBox: "0 0 48 48",
|
|
@@ -1043,9 +1121,9 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1043
1121
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onClick && _ctx.onClick(...args))
|
|
1044
1122
|
}, _cache[1] || (_cache[1] = [
|
|
1045
1123
|
createElementVNode("path", { d: "m19 11.5 4.833-4.35a.1.1 0 0 1 .167.075V17m-14-1H7.1a.1.1 0 0 0-.1.1v15.8a.1.1 0 0 0 .1.1H14l9.833 8.85a.1.1 0 0 0 .167-.075V31m6.071-14.071C32.535 19.393 34 23 32.799 26m2.929-14.728C41.508 17.052 42.5 25 39.123 32M6.5 6.5l35 35" }, null, -1)
|
|
1046
|
-
]), 14, _hoisted_1$
|
|
1124
|
+
]), 14, _hoisted_1$h);
|
|
1047
1125
|
}
|
|
1048
|
-
var _IconMute = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
1126
|
+
var _IconMute = /* @__PURE__ */ _export_sfc$1(_sfc_main$m, [["render", _sfc_render$4]]);
|
|
1049
1127
|
const IconMute = Object.assign(_IconMute, {
|
|
1050
1128
|
install: (app, options) => {
|
|
1051
1129
|
var _a;
|
|
@@ -1053,7 +1131,7 @@ const IconMute = Object.assign(_IconMute, {
|
|
|
1053
1131
|
app.component(iconPrefix + _IconMute.name, _IconMute);
|
|
1054
1132
|
}
|
|
1055
1133
|
});
|
|
1056
|
-
const _sfc_main$
|
|
1134
|
+
const _sfc_main$l = defineComponent({
|
|
1057
1135
|
name: "IconPause",
|
|
1058
1136
|
props: {
|
|
1059
1137
|
size: {
|
|
@@ -1106,7 +1184,7 @@ const _sfc_main$k = defineComponent({
|
|
|
1106
1184
|
};
|
|
1107
1185
|
}
|
|
1108
1186
|
});
|
|
1109
|
-
const _hoisted_1$
|
|
1187
|
+
const _hoisted_1$g = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
|
|
1110
1188
|
function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1111
1189
|
return openBlock(), createElementBlock("svg", {
|
|
1112
1190
|
viewBox: "0 0 48 48",
|
|
@@ -1126,9 +1204,9 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1126
1204
|
stroke: "none",
|
|
1127
1205
|
d: "M14 12h4v24h-4zM30 12h4v24h-4z"
|
|
1128
1206
|
}, null, -1)
|
|
1129
|
-
]), 14, _hoisted_1$
|
|
1207
|
+
]), 14, _hoisted_1$g);
|
|
1130
1208
|
}
|
|
1131
|
-
var _IconPause = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
1209
|
+
var _IconPause = /* @__PURE__ */ _export_sfc$1(_sfc_main$l, [["render", _sfc_render$3]]);
|
|
1132
1210
|
const IconPause = Object.assign(_IconPause, {
|
|
1133
1211
|
install: (app, options) => {
|
|
1134
1212
|
var _a;
|
|
@@ -1136,7 +1214,7 @@ const IconPause = Object.assign(_IconPause, {
|
|
|
1136
1214
|
app.component(iconPrefix + _IconPause.name, _IconPause);
|
|
1137
1215
|
}
|
|
1138
1216
|
});
|
|
1139
|
-
const _sfc_main$
|
|
1217
|
+
const _sfc_main$k = defineComponent({
|
|
1140
1218
|
name: "IconPlayArrow",
|
|
1141
1219
|
props: {
|
|
1142
1220
|
size: {
|
|
@@ -1189,7 +1267,7 @@ const _sfc_main$j = defineComponent({
|
|
|
1189
1267
|
};
|
|
1190
1268
|
}
|
|
1191
1269
|
});
|
|
1192
|
-
const _hoisted_1$
|
|
1270
|
+
const _hoisted_1$f = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
|
|
1193
1271
|
function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1194
1272
|
return openBlock(), createElementBlock("svg", {
|
|
1195
1273
|
viewBox: "0 0 48 48",
|
|
@@ -1204,9 +1282,9 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1204
1282
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onClick && _ctx.onClick(...args))
|
|
1205
1283
|
}, _cache[1] || (_cache[1] = [
|
|
1206
1284
|
createElementVNode("path", { d: "M12.533 7.965A1 1 0 0 0 11 8.81v30.377a1 1 0 0 0 1.533.846L36.656 24.84a1 1 0 0 0 0-1.692L12.533 7.965Z" }, null, -1)
|
|
1207
|
-
]), 14, _hoisted_1$
|
|
1285
|
+
]), 14, _hoisted_1$f);
|
|
1208
1286
|
}
|
|
1209
|
-
var _IconPlayArrow = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
1287
|
+
var _IconPlayArrow = /* @__PURE__ */ _export_sfc$1(_sfc_main$k, [["render", _sfc_render$2]]);
|
|
1210
1288
|
const IconPlayArrow = Object.assign(_IconPlayArrow, {
|
|
1211
1289
|
install: (app, options) => {
|
|
1212
1290
|
var _a;
|
|
@@ -1214,7 +1292,7 @@ const IconPlayArrow = Object.assign(_IconPlayArrow, {
|
|
|
1214
1292
|
app.component(iconPrefix + _IconPlayArrow.name, _IconPlayArrow);
|
|
1215
1293
|
}
|
|
1216
1294
|
});
|
|
1217
|
-
const _sfc_main$
|
|
1295
|
+
const _sfc_main$j = defineComponent({
|
|
1218
1296
|
name: "IconSound",
|
|
1219
1297
|
props: {
|
|
1220
1298
|
size: {
|
|
@@ -1267,7 +1345,7 @@ const _sfc_main$i = defineComponent({
|
|
|
1267
1345
|
};
|
|
1268
1346
|
}
|
|
1269
1347
|
});
|
|
1270
|
-
const _hoisted_1$
|
|
1348
|
+
const _hoisted_1$e = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
|
|
1271
1349
|
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1272
1350
|
return openBlock(), createElementBlock("svg", {
|
|
1273
1351
|
viewBox: "0 0 48 48",
|
|
@@ -1283,9 +1361,9 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1283
1361
|
}, _cache[1] || (_cache[1] = [
|
|
1284
1362
|
createElementVNode("path", { d: "m14 16 10-9v34l-10-9H6V16h8Z" }, null, -1),
|
|
1285
1363
|
createElementVNode("path", { d: "M31.071 16.929c3.905 3.905 3.905 10.237 0 14.142M36.727 11.272c7.03 7.03 7.03 18.426 0 25.456" }, null, -1)
|
|
1286
|
-
]), 14, _hoisted_1$
|
|
1364
|
+
]), 14, _hoisted_1$e);
|
|
1287
1365
|
}
|
|
1288
|
-
var _IconSound = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
1366
|
+
var _IconSound = /* @__PURE__ */ _export_sfc$1(_sfc_main$j, [["render", _sfc_render$1]]);
|
|
1289
1367
|
const IconSound = Object.assign(_IconSound, {
|
|
1290
1368
|
install: (app, options) => {
|
|
1291
1369
|
var _a;
|
|
@@ -1293,7 +1371,7 @@ const IconSound = Object.assign(_IconSound, {
|
|
|
1293
1371
|
app.component(iconPrefix + _IconSound.name, _IconSound);
|
|
1294
1372
|
}
|
|
1295
1373
|
});
|
|
1296
|
-
const _sfc_main$
|
|
1374
|
+
const _sfc_main$i = defineComponent({
|
|
1297
1375
|
name: "IconLoading",
|
|
1298
1376
|
props: {
|
|
1299
1377
|
size: {
|
|
@@ -1346,7 +1424,7 @@ const _sfc_main$h = defineComponent({
|
|
|
1346
1424
|
};
|
|
1347
1425
|
}
|
|
1348
1426
|
});
|
|
1349
|
-
const _hoisted_1$
|
|
1427
|
+
const _hoisted_1$d = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
|
|
1350
1428
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1351
1429
|
return openBlock(), createElementBlock("svg", {
|
|
1352
1430
|
viewBox: "0 0 48 48",
|
|
@@ -1361,9 +1439,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1361
1439
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onClick && _ctx.onClick(...args))
|
|
1362
1440
|
}, _cache[1] || (_cache[1] = [
|
|
1363
1441
|
createElementVNode("path", { d: "M42 24c0 9.941-8.059 18-18 18S6 33.941 6 24 14.059 6 24 6" }, null, -1)
|
|
1364
|
-
]), 14, _hoisted_1$
|
|
1442
|
+
]), 14, _hoisted_1$d);
|
|
1365
1443
|
}
|
|
1366
|
-
var _IconLoading = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
1444
|
+
var _IconLoading = /* @__PURE__ */ _export_sfc$1(_sfc_main$i, [["render", _sfc_render]]);
|
|
1367
1445
|
const IconLoading = Object.assign(_IconLoading, {
|
|
1368
1446
|
install: (app, options) => {
|
|
1369
1447
|
var _a;
|
|
@@ -1371,9 +1449,9 @@ const IconLoading = Object.assign(_IconLoading, {
|
|
|
1371
1449
|
app.component(iconPrefix + _IconLoading.name, _IconLoading);
|
|
1372
1450
|
}
|
|
1373
1451
|
});
|
|
1374
|
-
const _hoisted_1$
|
|
1375
|
-
const _hoisted_2$
|
|
1376
|
-
const _hoisted_3$
|
|
1452
|
+
const _hoisted_1$c = ["draggable"];
|
|
1453
|
+
const _hoisted_2$9 = ["src", "alt"];
|
|
1454
|
+
const _hoisted_3$7 = {
|
|
1377
1455
|
key: 1,
|
|
1378
1456
|
class: "upload-progress"
|
|
1379
1457
|
};
|
|
@@ -1386,7 +1464,7 @@ const _hoisted_6$4 = {
|
|
|
1386
1464
|
key: 3,
|
|
1387
1465
|
class: "error-tip"
|
|
1388
1466
|
};
|
|
1389
|
-
const _sfc_main$
|
|
1467
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
1390
1468
|
...{
|
|
1391
1469
|
name: "SortableFileItem"
|
|
1392
1470
|
},
|
|
@@ -1427,7 +1505,6 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
1427
1505
|
}
|
|
1428
1506
|
};
|
|
1429
1507
|
return (_ctx, _cache) => {
|
|
1430
|
-
const _component_a_progress = resolveComponent("a-progress");
|
|
1431
1508
|
return openBlock(), createElementBlock("div", {
|
|
1432
1509
|
class: normalizeClass(["sortable-file-item", {
|
|
1433
1510
|
"is-dragging": __props.isDragging,
|
|
@@ -1450,9 +1527,9 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
1450
1527
|
src: __props.file.url,
|
|
1451
1528
|
alt: __props.file.name,
|
|
1452
1529
|
class: "file-image"
|
|
1453
|
-
}, null, 8, _hoisted_2$
|
|
1454
|
-
__props.file.status === "uploading" ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
1455
|
-
createVNode(
|
|
1530
|
+
}, null, 8, _hoisted_2$9)) : createCommentVNode("", true),
|
|
1531
|
+
__props.file.status === "uploading" ? (openBlock(), createElementBlock("div", _hoisted_3$7, [
|
|
1532
|
+
createVNode(unref(Progress), {
|
|
1456
1533
|
percent: __props.file.percent || 0,
|
|
1457
1534
|
size: "mini"
|
|
1458
1535
|
}, null, 8, ["percent"])
|
|
@@ -1473,7 +1550,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
1473
1550
|
__props.file.status === "error" ? (openBlock(), createElementBlock("div", _hoisted_6$4, [
|
|
1474
1551
|
createVNode(unref(IconExclamationCircle))
|
|
1475
1552
|
])) : createCommentVNode("", true)
|
|
1476
|
-
], 46, _hoisted_1$
|
|
1553
|
+
], 46, _hoisted_1$c);
|
|
1477
1554
|
};
|
|
1478
1555
|
}
|
|
1479
1556
|
});
|
|
@@ -1484,9 +1561,9 @@ const _export_sfc = (sfc, props) => {
|
|
|
1484
1561
|
}
|
|
1485
1562
|
return target;
|
|
1486
1563
|
};
|
|
1487
|
-
const SortableFileItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1488
|
-
const _hoisted_1$
|
|
1489
|
-
const _sfc_main$
|
|
1564
|
+
const SortableFileItem = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-17fb6dd9"]]);
|
|
1565
|
+
const _hoisted_1$b = { class: "sortable-file-list" };
|
|
1566
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
1490
1567
|
...{
|
|
1491
1568
|
name: "SortableFileList"
|
|
1492
1569
|
},
|
|
@@ -1550,7 +1627,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
1550
1627
|
emit("remove", file);
|
|
1551
1628
|
};
|
|
1552
1629
|
return (_ctx, _cache) => {
|
|
1553
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1630
|
+
return openBlock(), createElementBlock("div", _hoisted_1$b, [
|
|
1554
1631
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.fileList, (file, index) => {
|
|
1555
1632
|
return openBlock(), createBlock(SortableFileItem, {
|
|
1556
1633
|
key: file.uid,
|
|
@@ -1571,13 +1648,13 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
1571
1648
|
};
|
|
1572
1649
|
}
|
|
1573
1650
|
});
|
|
1574
|
-
const SortableFileList = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1575
|
-
const _hoisted_1$
|
|
1576
|
-
const _hoisted_2$
|
|
1651
|
+
const SortableFileList = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-1ede8f45"]]);
|
|
1652
|
+
const _hoisted_1$a = ["src", "autoplay", "loop", "muted", "preload"];
|
|
1653
|
+
const _hoisted_2$8 = {
|
|
1577
1654
|
key: 0,
|
|
1578
1655
|
class: "play-overlay"
|
|
1579
1656
|
};
|
|
1580
|
-
const _hoisted_3$
|
|
1657
|
+
const _hoisted_3$6 = { class: "play-button" };
|
|
1581
1658
|
const _hoisted_4$4 = {
|
|
1582
1659
|
key: 1,
|
|
1583
1660
|
class: "loading-overlay"
|
|
@@ -1589,7 +1666,7 @@ const _hoisted_8$1 = { class: "volume-slider-container" };
|
|
|
1589
1666
|
const _hoisted_9 = { class: "time-display" };
|
|
1590
1667
|
const _hoisted_10 = { class: "controls-right" };
|
|
1591
1668
|
const _hoisted_11 = { class: "control-button" };
|
|
1592
|
-
const _sfc_main$
|
|
1669
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
1593
1670
|
...{
|
|
1594
1671
|
name: "VideoPreview"
|
|
1595
1672
|
},
|
|
@@ -1785,9 +1862,6 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
1785
1862
|
});
|
|
1786
1863
|
return (_ctx, _cache) => {
|
|
1787
1864
|
var _a2, _b, _c, _d;
|
|
1788
|
-
const _component_a_spin = resolveComponent("a-spin");
|
|
1789
|
-
const _component_a_doption = resolveComponent("a-doption");
|
|
1790
|
-
const _component_a_dropdown = resolveComponent("a-dropdown");
|
|
1791
1865
|
return openBlock(), createElementBlock("div", {
|
|
1792
1866
|
class: normalizeClass(["video-preview", { fullscreen: isFullscreen.value }])
|
|
1793
1867
|
}, [
|
|
@@ -1809,14 +1883,14 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
1809
1883
|
onPause: _cache[1] || (_cache[1] = ($event) => isPlaying.value = false),
|
|
1810
1884
|
onEnded: handleEnded,
|
|
1811
1885
|
onVolumechange: handleVolumeChange
|
|
1812
|
-
}, null, 40, _hoisted_1$
|
|
1813
|
-
!isPlaying.value && !isLoading.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
1814
|
-
createElementVNode("div", _hoisted_3$
|
|
1886
|
+
}, null, 40, _hoisted_1$a),
|
|
1887
|
+
!isPlaying.value && !isLoading.value ? (openBlock(), createElementBlock("div", _hoisted_2$8, [
|
|
1888
|
+
createElementVNode("div", _hoisted_3$6, [
|
|
1815
1889
|
createVNode(unref(IconPlayArrow), { size: 48 })
|
|
1816
1890
|
])
|
|
1817
1891
|
])) : createCommentVNode("", true),
|
|
1818
1892
|
isLoading.value ? (openBlock(), createElementBlock("div", _hoisted_4$4, [
|
|
1819
|
-
createVNode(
|
|
1893
|
+
createVNode(unref(Spin), { size: 48 })
|
|
1820
1894
|
])) : createCommentVNode("", true)
|
|
1821
1895
|
]),
|
|
1822
1896
|
((_d = __props.playerOptions) == null ? void 0 : _d.controls) !== false ? (openBlock(), createElementBlock("div", {
|
|
@@ -1899,10 +1973,10 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
1899
1973
|
createElementVNode("span", _hoisted_9, toDisplayString(formatTime(currentTime.value)) + " / " + toDisplayString(formatTime(duration.value)), 1)
|
|
1900
1974
|
]),
|
|
1901
1975
|
createElementVNode("div", _hoisted_10, [
|
|
1902
|
-
createVNode(
|
|
1976
|
+
createVNode(unref(Dropdown), { "popup-max-height": false }, {
|
|
1903
1977
|
content: withCtx(() => [
|
|
1904
1978
|
(openBlock(), createElementBlock(Fragment, null, renderList(playbackRates, (rate) => {
|
|
1905
|
-
return createVNode(
|
|
1979
|
+
return createVNode(unref(Doption), {
|
|
1906
1980
|
key: rate,
|
|
1907
1981
|
value: rate,
|
|
1908
1982
|
onClick: ($event) => setPlaybackRate(rate)
|
|
@@ -1938,11 +2012,11 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
1938
2012
|
};
|
|
1939
2013
|
}
|
|
1940
2014
|
});
|
|
1941
|
-
const VideoPreview = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1942
|
-
const _hoisted_1$
|
|
1943
|
-
const _hoisted_2$
|
|
1944
|
-
const _hoisted_3$
|
|
1945
|
-
const _sfc_main$
|
|
2015
|
+
const VideoPreview = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-b982f870"]]);
|
|
2016
|
+
const _hoisted_1$9 = { class: "video-modal-title" };
|
|
2017
|
+
const _hoisted_2$7 = { class: "file-name" };
|
|
2018
|
+
const _hoisted_3$5 = { class: "video-modal-content" };
|
|
2019
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
1946
2020
|
...{
|
|
1947
2021
|
name: "VideoPreviewModal"
|
|
1948
2022
|
},
|
|
@@ -1981,8 +2055,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
1981
2055
|
}
|
|
1982
2056
|
);
|
|
1983
2057
|
return (_ctx, _cache) => {
|
|
1984
|
-
|
|
1985
|
-
return openBlock(), createBlock(_component_a_modal, {
|
|
2058
|
+
return openBlock(), createBlock(unref(Modal), {
|
|
1986
2059
|
visible: __props.visible,
|
|
1987
2060
|
footer: false,
|
|
1988
2061
|
simple: true,
|
|
@@ -1993,12 +2066,12 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
1993
2066
|
onCancel: handleClose
|
|
1994
2067
|
}, {
|
|
1995
2068
|
title: withCtx(() => [
|
|
1996
|
-
createElementVNode("div", _hoisted_1$
|
|
1997
|
-
createElementVNode("span", _hoisted_2$
|
|
2069
|
+
createElementVNode("div", _hoisted_1$9, [
|
|
2070
|
+
createElementVNode("span", _hoisted_2$7, toDisplayString(__props.fileName || "视频预览"), 1)
|
|
1998
2071
|
])
|
|
1999
2072
|
]),
|
|
2000
2073
|
default: withCtx(() => [
|
|
2001
|
-
createElementVNode("div", _hoisted_3$
|
|
2074
|
+
createElementVNode("div", _hoisted_3$5, [
|
|
2002
2075
|
__props.videoUrl ? (openBlock(), createBlock(VideoPreview, {
|
|
2003
2076
|
key: 0,
|
|
2004
2077
|
"video-url": __props.videoUrl,
|
|
@@ -2014,13 +2087,13 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
2014
2087
|
};
|
|
2015
2088
|
}
|
|
2016
2089
|
});
|
|
2017
|
-
const VideoPreviewModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2018
|
-
const _hoisted_1$
|
|
2019
|
-
const _hoisted_2$
|
|
2090
|
+
const VideoPreviewModal = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-cac8e63e"]]);
|
|
2091
|
+
const _hoisted_1$8 = { class: "basic-upload" };
|
|
2092
|
+
const _hoisted_2$6 = {
|
|
2020
2093
|
key: 0,
|
|
2021
2094
|
class: "upload-empty-state"
|
|
2022
2095
|
};
|
|
2023
|
-
const _hoisted_3$
|
|
2096
|
+
const _hoisted_3$4 = {
|
|
2024
2097
|
key: 0,
|
|
2025
2098
|
class: "upload-text"
|
|
2026
2099
|
};
|
|
@@ -2041,7 +2114,7 @@ const _hoisted_8 = {
|
|
|
2041
2114
|
key: 5,
|
|
2042
2115
|
class: "inline-video-preview"
|
|
2043
2116
|
};
|
|
2044
|
-
const _sfc_main$
|
|
2117
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
2045
2118
|
...{
|
|
2046
2119
|
name: "BasicUpload",
|
|
2047
2120
|
inheritAttrs: false
|
|
@@ -2102,7 +2175,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
2102
2175
|
emits: ["register", "update:modelValue", "change", "success", "handleSuccess", "error", "handlError", "progress", "remove", "preview", "exceed", "sortChange"],
|
|
2103
2176
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
2104
2177
|
useCssVars((_ctx) => ({
|
|
2105
|
-
"
|
|
2178
|
+
"v8d4c92d8": cardSizeValue.value
|
|
2106
2179
|
}));
|
|
2107
2180
|
const props = __props;
|
|
2108
2181
|
const emit = __emit;
|
|
@@ -2571,15 +2644,12 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
2571
2644
|
});
|
|
2572
2645
|
});
|
|
2573
2646
|
return (_ctx, _cache) => {
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
const _component_a_image = resolveComponent("a-image");
|
|
2577
|
-
return openBlock(), createElementBlock("div", _hoisted_1$7, [
|
|
2578
|
-
shouldShowEmptyState.value ? (openBlock(), createElementBlock("div", _hoisted_2$5, [
|
|
2647
|
+
return openBlock(), createElementBlock("div", _hoisted_1$8, [
|
|
2648
|
+
shouldShowEmptyState.value ? (openBlock(), createElementBlock("div", _hoisted_2$6, [
|
|
2579
2649
|
renderSlot(_ctx.$slots, "empty", {}, () => [
|
|
2580
2650
|
createTextVNode(toDisplayString(getProps.value.emptyText), 1)
|
|
2581
2651
|
], true)
|
|
2582
|
-
])) : !shouldUseSortable.value ? (openBlock(), createBlock(
|
|
2652
|
+
])) : !shouldUseSortable.value ? (openBlock(), createBlock(unref(Upload), mergeProps({
|
|
2583
2653
|
key: 1,
|
|
2584
2654
|
ref_key: "uploadRef",
|
|
2585
2655
|
ref: uploadRef
|
|
@@ -2604,8 +2674,8 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
2604
2674
|
})
|
|
2605
2675
|
}, [
|
|
2606
2676
|
createVNode(unref(IconPlus), { size: 16 }),
|
|
2607
|
-
getProps.value.uploadButtonText ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
2608
|
-
], 4)) : (openBlock(), createBlock(
|
|
2677
|
+
getProps.value.uploadButtonText ? (openBlock(), createElementBlock("div", _hoisted_3$4, toDisplayString(getProps.value.uploadButtonText), 1)) : createCommentVNode("", true)
|
|
2678
|
+
], 4)) : (openBlock(), createBlock(unref(Button), {
|
|
2609
2679
|
key: 1,
|
|
2610
2680
|
type: getProps.value.uploadButtonType || "primary"
|
|
2611
2681
|
}, {
|
|
@@ -2655,7 +2725,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
2655
2725
|
onPreview: handlePreview,
|
|
2656
2726
|
onRemove: handleRemoveFile
|
|
2657
2727
|
}, null, 8, ["file-list", "card-size", "disabled"])) : createCommentVNode("", true),
|
|
2658
|
-
createVNode(
|
|
2728
|
+
createVNode(unref(Upload), mergeProps({
|
|
2659
2729
|
ref_key: "uploadRef",
|
|
2660
2730
|
ref: uploadRef
|
|
2661
2731
|
}, getBindValue.value, {
|
|
@@ -2687,7 +2757,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
2687
2757
|
]), 1040, ["file-list"]),
|
|
2688
2758
|
getProps.value.tip ? (openBlock(), createElementBlock("div", _hoisted_7$2, toDisplayString(getProps.value.tip), 1)) : createCommentVNode("", true)
|
|
2689
2759
|
])),
|
|
2690
|
-
previewImageUrl.value ? (openBlock(), createBlock(
|
|
2760
|
+
previewImageUrl.value ? (openBlock(), createBlock(unref(Image), {
|
|
2691
2761
|
key: 3,
|
|
2692
2762
|
src: previewImageUrl.value,
|
|
2693
2763
|
"preview-visible": previewVisible.value,
|
|
@@ -2708,7 +2778,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
2708
2778
|
"video-url": previewVideoUrl.value,
|
|
2709
2779
|
"player-options": getProps.value.videoPlayerOptions
|
|
2710
2780
|
}, null, 8, ["video-url", "player-options"]),
|
|
2711
|
-
createVNode(
|
|
2781
|
+
createVNode(unref(Button), {
|
|
2712
2782
|
class: "close-inline-preview",
|
|
2713
2783
|
onClick: _cache[2] || (_cache[2] = ($event) => previewVideoVisible.value = false)
|
|
2714
2784
|
}, {
|
|
@@ -2722,7 +2792,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
2722
2792
|
};
|
|
2723
2793
|
}
|
|
2724
2794
|
});
|
|
2725
|
-
const BasicUpload = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2795
|
+
const BasicUpload = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-2be9e535"]]);
|
|
2726
2796
|
function useUpload(props) {
|
|
2727
2797
|
const uploadRef = ref(null);
|
|
2728
2798
|
const fileListRef = ref((props == null ? void 0 : props.defaultFileList) || []);
|
|
@@ -3018,7 +3088,7 @@ function clearApiCache(api, params) {
|
|
|
3018
3088
|
const cacheKey = getCacheKey(api, params);
|
|
3019
3089
|
cacheMap.delete(cacheKey);
|
|
3020
3090
|
}
|
|
3021
|
-
const _sfc_main$
|
|
3091
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
3022
3092
|
__name: "ApiSelect",
|
|
3023
3093
|
props: {
|
|
3024
3094
|
modelValue: {},
|
|
@@ -3100,8 +3170,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
3100
3170
|
getOptions: () => computedOptions.value
|
|
3101
3171
|
});
|
|
3102
3172
|
return (_ctx, _cache) => {
|
|
3103
|
-
|
|
3104
|
-
return openBlock(), createBlock(_component_a_select, mergeProps({
|
|
3173
|
+
return openBlock(), createBlock(unref(Select), mergeProps({
|
|
3105
3174
|
modelValue: state.value,
|
|
3106
3175
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => state.value = $event),
|
|
3107
3176
|
options: computedOptions.value,
|
|
@@ -3129,7 +3198,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
3129
3198
|
};
|
|
3130
3199
|
}
|
|
3131
3200
|
});
|
|
3132
|
-
const _sfc_main$
|
|
3201
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
3133
3202
|
__name: "ApiCascader",
|
|
3134
3203
|
props: {
|
|
3135
3204
|
modelValue: {},
|
|
@@ -3262,8 +3331,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
3262
3331
|
getOptions: () => computedOptions.value
|
|
3263
3332
|
});
|
|
3264
3333
|
return (_ctx, _cache) => {
|
|
3265
|
-
|
|
3266
|
-
return openBlock(), createBlock(_component_a_cascader, mergeProps({
|
|
3334
|
+
return openBlock(), createBlock(unref(Cascader), mergeProps({
|
|
3267
3335
|
modelValue: state.value,
|
|
3268
3336
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => state.value = $event),
|
|
3269
3337
|
options: computedOptions.value,
|
|
@@ -3296,13 +3364,13 @@ const componentMap = {
|
|
|
3296
3364
|
Textarea,
|
|
3297
3365
|
AutoComplete,
|
|
3298
3366
|
Select,
|
|
3299
|
-
ApiSelect: _sfc_main$
|
|
3367
|
+
ApiSelect: _sfc_main$c,
|
|
3300
3368
|
Radio,
|
|
3301
3369
|
RadioGroup,
|
|
3302
3370
|
Checkbox,
|
|
3303
3371
|
CheckboxGroup,
|
|
3304
3372
|
Cascader,
|
|
3305
|
-
ApiCascader: _sfc_main$
|
|
3373
|
+
ApiCascader: _sfc_main$b,
|
|
3306
3374
|
TreeSelect,
|
|
3307
3375
|
DatePicker,
|
|
3308
3376
|
TimePicker,
|
|
@@ -3900,7 +3968,7 @@ const rendererMap = {
|
|
|
3900
3968
|
function getRenderer(component = "Input") {
|
|
3901
3969
|
return rendererMap[component] || rendererMap.default;
|
|
3902
3970
|
}
|
|
3903
|
-
const _sfc_main$
|
|
3971
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
3904
3972
|
...{
|
|
3905
3973
|
name: "BasicReadonlyField",
|
|
3906
3974
|
inheritAttrs: false
|
|
@@ -4009,7 +4077,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
4009
4077
|
};
|
|
4010
4078
|
}
|
|
4011
4079
|
});
|
|
4012
|
-
const BasicReadonlyField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4080
|
+
const BasicReadonlyField = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-3d2d24e0"]]);
|
|
4013
4081
|
function useReadonlyField(options) {
|
|
4014
4082
|
const defaultEmptyText = (options == null ? void 0 : options.defaultEmptyText) || "-";
|
|
4015
4083
|
const globalLabelMap = (options == null ? void 0 : options.globalLabelMap) || {};
|
|
@@ -4121,7 +4189,7 @@ function useReadonlyField(options) {
|
|
|
4121
4189
|
clearCache
|
|
4122
4190
|
};
|
|
4123
4191
|
}
|
|
4124
|
-
const _sfc_main$
|
|
4192
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
4125
4193
|
...{
|
|
4126
4194
|
name: "BasicForm",
|
|
4127
4195
|
inheritAttrs: false
|
|
@@ -4492,16 +4560,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
4492
4560
|
dynamicProps.value = {};
|
|
4493
4561
|
});
|
|
4494
4562
|
return (_ctx, _cache) => {
|
|
4495
|
-
|
|
4496
|
-
const _component_a_form_item = resolveComponent("a-form-item");
|
|
4497
|
-
const _component_a_col = resolveComponent("a-col");
|
|
4498
|
-
const _component_icon_search = resolveComponent("icon-search");
|
|
4499
|
-
const _component_a_button = resolveComponent("a-button");
|
|
4500
|
-
const _component_icon_refresh = resolveComponent("icon-refresh");
|
|
4501
|
-
const _component_a_space = resolveComponent("a-space");
|
|
4502
|
-
const _component_a_row = resolveComponent("a-row");
|
|
4503
|
-
const _component_a_form = resolveComponent("a-form");
|
|
4504
|
-
return openBlock(), createBlock(_component_a_form, mergeProps({
|
|
4563
|
+
return openBlock(), createBlock(unref(Form), mergeProps({
|
|
4505
4564
|
ref_key: "formRef",
|
|
4506
4565
|
ref: formRef
|
|
4507
4566
|
}, getBindValue.value, {
|
|
@@ -4509,17 +4568,17 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
4509
4568
|
onSubmit: handleSubmit
|
|
4510
4569
|
}), {
|
|
4511
4570
|
default: withCtx(() => [
|
|
4512
|
-
createVNode(
|
|
4571
|
+
createVNode(unref(Row), normalizeProps(guardReactiveProps(getRow.value)), {
|
|
4513
4572
|
default: withCtx(() => [
|
|
4514
4573
|
(openBlock(true), createElementBlock(Fragment, null, renderList(getVisibleSchemas.value, (schema) => {
|
|
4515
|
-
return openBlock(), createBlock(
|
|
4574
|
+
return openBlock(), createBlock(unref(Col), mergeProps({
|
|
4516
4575
|
key: schema.key || schema.field,
|
|
4517
4576
|
ref_for: true
|
|
4518
4577
|
}, getColProps(schema), {
|
|
4519
4578
|
"data-field": schema.field
|
|
4520
4579
|
}), {
|
|
4521
4580
|
default: withCtx(() => [
|
|
4522
|
-
schema.render ? (openBlock(), createBlock(resolveDynamicComponent(schema.render(schema, formModel)), { key: 0 })) : (openBlock(), createBlock(
|
|
4581
|
+
schema.render ? (openBlock(), createBlock(resolveDynamicComponent(schema.render(schema, formModel)), { key: 0 })) : (openBlock(), createBlock(unref(FormItem), mergeProps({
|
|
4523
4582
|
key: 1,
|
|
4524
4583
|
ref_for: true
|
|
4525
4584
|
}, getFormItemBindValue(schema)), createSlots({
|
|
@@ -4565,7 +4624,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
4565
4624
|
shouldRenderCustomLabel(schema) ? {
|
|
4566
4625
|
name: "label",
|
|
4567
4626
|
fn: withCtx(() => [
|
|
4568
|
-
schema.labelTooltip ? (openBlock(), createBlock(
|
|
4627
|
+
schema.labelTooltip ? (openBlock(), createBlock(unref(Tooltip), {
|
|
4569
4628
|
key: 0,
|
|
4570
4629
|
content: getLabelTooltipContent(schema)
|
|
4571
4630
|
}, {
|
|
@@ -4587,32 +4646,32 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
4587
4646
|
_: 2
|
|
4588
4647
|
}, 1040, ["data-field"]);
|
|
4589
4648
|
}), 128)),
|
|
4590
|
-
getActionProps.value.showActionButtons ? (openBlock(), createBlock(
|
|
4649
|
+
getActionProps.value.showActionButtons ? (openBlock(), createBlock(unref(Col), normalizeProps(mergeProps({ key: 0 }, getActionProps.value.actionColOptions)), {
|
|
4591
4650
|
default: withCtx(() => [
|
|
4592
|
-
createVNode(
|
|
4651
|
+
createVNode(unref(FormItem), normalizeProps(guardReactiveProps(getActionProps.value.actionFormItemProps)), {
|
|
4593
4652
|
default: withCtx(() => [
|
|
4594
|
-
createVNode(
|
|
4653
|
+
createVNode(unref(Space), null, {
|
|
4595
4654
|
default: withCtx(() => [
|
|
4596
|
-
getActionProps.value.showSubmitButton ? (openBlock(), createBlock(
|
|
4655
|
+
getActionProps.value.showSubmitButton ? (openBlock(), createBlock(unref(Button), {
|
|
4597
4656
|
key: 0,
|
|
4598
4657
|
type: "primary",
|
|
4599
4658
|
"html-type": "submit",
|
|
4600
4659
|
loading: submitLoading.value
|
|
4601
4660
|
}, {
|
|
4602
4661
|
icon: withCtx(() => [
|
|
4603
|
-
createVNode(
|
|
4662
|
+
createVNode(unref(IconSearch))
|
|
4604
4663
|
]),
|
|
4605
4664
|
default: withCtx(() => [
|
|
4606
4665
|
createTextVNode(" " + toDisplayString(getActionProps.value.submitButtonText), 1)
|
|
4607
4666
|
]),
|
|
4608
4667
|
_: 1
|
|
4609
4668
|
}, 8, ["loading"])) : createCommentVNode("", true),
|
|
4610
|
-
getActionProps.value.showResetButton ? (openBlock(), createBlock(
|
|
4669
|
+
getActionProps.value.showResetButton ? (openBlock(), createBlock(unref(Button), {
|
|
4611
4670
|
key: 1,
|
|
4612
4671
|
onClick: handleReset
|
|
4613
4672
|
}, {
|
|
4614
4673
|
icon: withCtx(() => [
|
|
4615
|
-
createVNode(
|
|
4674
|
+
createVNode(unref(IconRefresh))
|
|
4616
4675
|
]),
|
|
4617
4676
|
default: withCtx(() => [
|
|
4618
4677
|
createTextVNode(" " + toDisplayString(getActionProps.value.resetButtonText), 1)
|
|
@@ -4887,8 +4946,8 @@ function createFormSchema(schemas) {
|
|
|
4887
4946
|
function mergeFormSchemas(...schemas) {
|
|
4888
4947
|
return schemas.flat();
|
|
4889
4948
|
}
|
|
4890
|
-
const _hoisted_1$
|
|
4891
|
-
const _sfc_main$
|
|
4949
|
+
const _hoisted_1$7 = { class: "basic-text-ellipsis" };
|
|
4950
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
4892
4951
|
__name: "BasicTextEllipsis",
|
|
4893
4952
|
props: {
|
|
4894
4953
|
text: { default: "" },
|
|
@@ -4975,9 +5034,8 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
4975
5034
|
}
|
|
4976
5035
|
);
|
|
4977
5036
|
return (_ctx, _cache) => {
|
|
4978
|
-
|
|
4979
|
-
|
|
4980
|
-
showTooltip.value ? (openBlock(), createBlock(_component_a_tooltip, mergeProps({
|
|
5037
|
+
return openBlock(), createElementBlock("div", _hoisted_1$7, [
|
|
5038
|
+
showTooltip.value ? (openBlock(), createBlock(unref(Tooltip), mergeProps({
|
|
4981
5039
|
key: 0,
|
|
4982
5040
|
content: __props.text,
|
|
4983
5041
|
trigger: __props.tooltipTrigger
|
|
@@ -5002,7 +5060,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
5002
5060
|
};
|
|
5003
5061
|
}
|
|
5004
5062
|
});
|
|
5005
|
-
const BasicTextEllipsis = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5063
|
+
const BasicTextEllipsis = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-305f9842"]]);
|
|
5006
5064
|
function useLocalStorage(key, initialValue) {
|
|
5007
5065
|
let initialStoredValue;
|
|
5008
5066
|
try {
|
|
@@ -5412,12 +5470,12 @@ function useEditFormat(options) {
|
|
|
5412
5470
|
wrapFormatListeners
|
|
5413
5471
|
};
|
|
5414
5472
|
}
|
|
5415
|
-
const _hoisted_1$
|
|
5416
|
-
const _hoisted_2$
|
|
5473
|
+
const _hoisted_1$6 = { class: "edit-cell" };
|
|
5474
|
+
const _hoisted_2$5 = {
|
|
5417
5475
|
key: 2,
|
|
5418
5476
|
class: "edit-cell-error"
|
|
5419
5477
|
};
|
|
5420
|
-
const _sfc_main$
|
|
5478
|
+
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
5421
5479
|
...{
|
|
5422
5480
|
name: "EditCell"
|
|
5423
5481
|
},
|
|
@@ -5504,18 +5562,18 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
5504
5562
|
}
|
|
5505
5563
|
});
|
|
5506
5564
|
return (_ctx, _cache) => {
|
|
5507
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
5565
|
+
return openBlock(), createElementBlock("div", _hoisted_1$6, [
|
|
5508
5566
|
props.column.editRender ? (openBlock(), createBlock(resolveDynamicComponent(customRenderContent.value), { key: 0 })) : (openBlock(), createBlock(resolveDynamicComponent(editComponent.value), mergeProps({ key: 1 }, mergedProps.value, {
|
|
5509
5567
|
"model-value": unref(currentValue),
|
|
5510
5568
|
"onUpdate:modelValue": handleChange,
|
|
5511
5569
|
class: "edit-cell-input"
|
|
5512
5570
|
}), null, 16, ["model-value"])),
|
|
5513
|
-
__props.error ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
5571
|
+
__props.error ? (openBlock(), createElementBlock("div", _hoisted_2$5, toDisplayString(__props.error), 1)) : createCommentVNode("", true)
|
|
5514
5572
|
]);
|
|
5515
5573
|
};
|
|
5516
5574
|
}
|
|
5517
5575
|
});
|
|
5518
|
-
const EditCell = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5576
|
+
const EditCell = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-52761074"]]);
|
|
5519
5577
|
function useEditValidation() {
|
|
5520
5578
|
const validateField = async (value, column, record) => {
|
|
5521
5579
|
if (!column.editRule) {
|
|
@@ -5926,12 +5984,12 @@ function useTableEdit(props, dataSource, getRowKey) {
|
|
|
5926
5984
|
getChangedValues
|
|
5927
5985
|
};
|
|
5928
5986
|
}
|
|
5929
|
-
const _hoisted_1$
|
|
5930
|
-
const _hoisted_2$
|
|
5987
|
+
const _hoisted_1$5 = { class: "basic-table-wrapper" };
|
|
5988
|
+
const _hoisted_2$4 = {
|
|
5931
5989
|
key: 0,
|
|
5932
5990
|
class: "basic-table-search"
|
|
5933
5991
|
};
|
|
5934
|
-
const _hoisted_3$
|
|
5992
|
+
const _hoisted_3$3 = {
|
|
5935
5993
|
key: 1,
|
|
5936
5994
|
class: "basic-table-toolbar"
|
|
5937
5995
|
};
|
|
@@ -5945,7 +6003,7 @@ const _hoisted_6$1 = {
|
|
|
5945
6003
|
class: "toolbar-right"
|
|
5946
6004
|
};
|
|
5947
6005
|
const _hoisted_7$1 = { class: "column-setting" };
|
|
5948
|
-
const _sfc_main$
|
|
6006
|
+
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
5949
6007
|
...{
|
|
5950
6008
|
name: "BasicTable"
|
|
5951
6009
|
},
|
|
@@ -6885,21 +6943,9 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
6885
6943
|
searchFormRef.value = null;
|
|
6886
6944
|
});
|
|
6887
6945
|
return (_ctx, _cache) => {
|
|
6888
|
-
|
|
6889
|
-
|
|
6890
|
-
|
|
6891
|
-
const _component_a_doption = resolveComponent("a-doption");
|
|
6892
|
-
const _component_a_dropdown = resolveComponent("a-dropdown");
|
|
6893
|
-
const _component_a_checkbox = resolveComponent("a-checkbox");
|
|
6894
|
-
const _component_a_checkbox_group = resolveComponent("a-checkbox-group");
|
|
6895
|
-
const _component_a_popover = resolveComponent("a-popover");
|
|
6896
|
-
const _component_a_space = resolveComponent("a-space");
|
|
6897
|
-
const _component_a_link = resolveComponent("a-link");
|
|
6898
|
-
const _component_a_popconfirm = resolveComponent("a-popconfirm");
|
|
6899
|
-
const _component_a_table = resolveComponent("a-table");
|
|
6900
|
-
return openBlock(), createElementBlock("div", _hoisted_1$4, [
|
|
6901
|
-
getSearchConfig.value.show ? (openBlock(), createElementBlock("div", _hoisted_2$3, [
|
|
6902
|
-
createVNode(unref(_sfc_main$8), mergeProps({
|
|
6946
|
+
return openBlock(), createElementBlock("div", _hoisted_1$5, [
|
|
6947
|
+
getSearchConfig.value.show ? (openBlock(), createElementBlock("div", _hoisted_2$4, [
|
|
6948
|
+
createVNode(unref(_sfc_main$9), mergeProps({
|
|
6903
6949
|
ref_key: "searchFormRef",
|
|
6904
6950
|
ref: searchFormRef
|
|
6905
6951
|
}, getSearchFormProps.value, {
|
|
@@ -6915,19 +6961,19 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
6915
6961
|
};
|
|
6916
6962
|
})
|
|
6917
6963
|
]), 1040),
|
|
6918
|
-
createVNode(
|
|
6964
|
+
createVNode(unref(Divider), { class: "!mt-0" })
|
|
6919
6965
|
])) : createCommentVNode("", true),
|
|
6920
|
-
getToolbarConfig.value.show || getToolbarConfig.value.title || _ctx.$slots.tableTitle ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
6966
|
+
getToolbarConfig.value.show || getToolbarConfig.value.title || _ctx.$slots.tableTitle ? (openBlock(), createElementBlock("div", _hoisted_3$3, [
|
|
6921
6967
|
createElementVNode("div", _hoisted_4$2, [
|
|
6922
6968
|
renderSlot(_ctx.$slots, "tableTitle", {}, () => [
|
|
6923
6969
|
getToolbarConfig.value.title ? (openBlock(), createElementBlock("div", _hoisted_5$2, toDisplayString(getToolbarConfig.value.title), 1)) : createCommentVNode("", true)
|
|
6924
6970
|
], true)
|
|
6925
6971
|
]),
|
|
6926
6972
|
getToolbarConfig.value.show ? (openBlock(), createElementBlock("div", _hoisted_6$1, [
|
|
6927
|
-
createVNode(
|
|
6973
|
+
createVNode(unref(Space), null, {
|
|
6928
6974
|
default: withCtx(() => [
|
|
6929
6975
|
getToolbarConfig.value.actions && getToolbarConfig.value.actions.length > 0 ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(getToolbarConfig.value.actions, (action, index) => {
|
|
6930
|
-
return withDirectives((openBlock(), createBlock(
|
|
6976
|
+
return withDirectives((openBlock(), createBlock(unref(Button), mergeProps({
|
|
6931
6977
|
key: index,
|
|
6932
6978
|
onClick: action.onClick
|
|
6933
6979
|
}, { ref_for: true }, action), createSlots({
|
|
@@ -6947,12 +6993,12 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
6947
6993
|
[vShow, action.show !== false]
|
|
6948
6994
|
]);
|
|
6949
6995
|
}), 128)) : createCommentVNode("", true),
|
|
6950
|
-
getToolbarConfig.value.showRefresh ? (openBlock(), createBlock(
|
|
6996
|
+
getToolbarConfig.value.showRefresh ? (openBlock(), createBlock(unref(Tooltip), {
|
|
6951
6997
|
key: 1,
|
|
6952
6998
|
content: "刷新"
|
|
6953
6999
|
}, {
|
|
6954
7000
|
default: withCtx(() => [
|
|
6955
|
-
createVNode(
|
|
7001
|
+
createVNode(unref(Button), {
|
|
6956
7002
|
onClick: unref(handleRefresh),
|
|
6957
7003
|
"aria-label": "刷新表格"
|
|
6958
7004
|
}, {
|
|
@@ -6964,12 +7010,12 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
6964
7010
|
]),
|
|
6965
7011
|
_: 1
|
|
6966
7012
|
})) : createCommentVNode("", true),
|
|
6967
|
-
getToolbarConfig.value.showFullscreen ? (openBlock(), createBlock(
|
|
7013
|
+
getToolbarConfig.value.showFullscreen ? (openBlock(), createBlock(unref(Tooltip), {
|
|
6968
7014
|
key: 2,
|
|
6969
7015
|
content: isFullscreen.value ? "退出全屏" : "全屏"
|
|
6970
7016
|
}, {
|
|
6971
7017
|
default: withCtx(() => [
|
|
6972
|
-
createVNode(
|
|
7018
|
+
createVNode(unref(Button), {
|
|
6973
7019
|
onClick: handleFullscreen,
|
|
6974
7020
|
"aria-label": isFullscreen.value ? "退出全屏" : "全屏显示"
|
|
6975
7021
|
}, {
|
|
@@ -6981,30 +7027,30 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
6981
7027
|
]),
|
|
6982
7028
|
_: 1
|
|
6983
7029
|
}, 8, ["content"])) : createCommentVNode("", true),
|
|
6984
|
-
getToolbarConfig.value.showDensity ? (openBlock(), createBlock(
|
|
7030
|
+
getToolbarConfig.value.showDensity ? (openBlock(), createBlock(unref(Dropdown), {
|
|
6985
7031
|
key: 3,
|
|
6986
7032
|
onSelect: handleDensityChange
|
|
6987
7033
|
}, {
|
|
6988
7034
|
content: withCtx(() => [
|
|
6989
|
-
createVNode(
|
|
7035
|
+
createVNode(unref(Doption), { value: "mini" }, {
|
|
6990
7036
|
default: withCtx(() => [..._cache[2] || (_cache[2] = [
|
|
6991
7037
|
createTextVNode("紧凑", -1)
|
|
6992
7038
|
])]),
|
|
6993
7039
|
_: 1
|
|
6994
7040
|
}),
|
|
6995
|
-
createVNode(
|
|
7041
|
+
createVNode(unref(Doption), { value: "small" }, {
|
|
6996
7042
|
default: withCtx(() => [..._cache[3] || (_cache[3] = [
|
|
6997
7043
|
createTextVNode("偏小", -1)
|
|
6998
7044
|
])]),
|
|
6999
7045
|
_: 1
|
|
7000
7046
|
}),
|
|
7001
|
-
createVNode(
|
|
7047
|
+
createVNode(unref(Doption), { value: "medium" }, {
|
|
7002
7048
|
default: withCtx(() => [..._cache[4] || (_cache[4] = [
|
|
7003
7049
|
createTextVNode("默认", -1)
|
|
7004
7050
|
])]),
|
|
7005
7051
|
_: 1
|
|
7006
7052
|
}),
|
|
7007
|
-
createVNode(
|
|
7053
|
+
createVNode(unref(Doption), { value: "large" }, {
|
|
7008
7054
|
default: withCtx(() => [..._cache[5] || (_cache[5] = [
|
|
7009
7055
|
createTextVNode("宽松", -1)
|
|
7010
7056
|
])]),
|
|
@@ -7012,9 +7058,9 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
7012
7058
|
})
|
|
7013
7059
|
]),
|
|
7014
7060
|
default: withCtx(() => [
|
|
7015
|
-
createVNode(
|
|
7061
|
+
createVNode(unref(Tooltip), { content: "密度" }, {
|
|
7016
7062
|
default: withCtx(() => [
|
|
7017
|
-
createVNode(
|
|
7063
|
+
createVNode(unref(Button), { "aria-label": "设置表格密度" }, {
|
|
7018
7064
|
icon: withCtx(() => [
|
|
7019
7065
|
createVNode(unref(IconLineHeight))
|
|
7020
7066
|
]),
|
|
@@ -7026,14 +7072,14 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
7026
7072
|
]),
|
|
7027
7073
|
_: 1
|
|
7028
7074
|
})) : createCommentVNode("", true),
|
|
7029
|
-
getToolbarConfig.value.showColumnSetting ? (openBlock(), createBlock(
|
|
7075
|
+
getToolbarConfig.value.showColumnSetting ? (openBlock(), createBlock(unref(Popover), {
|
|
7030
7076
|
key: 4,
|
|
7031
7077
|
trigger: "click",
|
|
7032
7078
|
position: "br"
|
|
7033
7079
|
}, {
|
|
7034
7080
|
content: withCtx(() => [
|
|
7035
7081
|
createElementVNode("div", _hoisted_7$1, [
|
|
7036
|
-
createVNode(
|
|
7082
|
+
createVNode(unref(CheckboxGroup), {
|
|
7037
7083
|
modelValue: checkedColumns.value,
|
|
7038
7084
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => checkedColumns.value = $event),
|
|
7039
7085
|
onChange: handleColumnChange
|
|
@@ -7044,7 +7090,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
7044
7090
|
key: col.dataIndex,
|
|
7045
7091
|
class: "column-setting-item"
|
|
7046
7092
|
}, [
|
|
7047
|
-
createVNode(
|
|
7093
|
+
createVNode(unref(Checkbox), {
|
|
7048
7094
|
value: col.dataIndex
|
|
7049
7095
|
}, {
|
|
7050
7096
|
default: withCtx(() => [
|
|
@@ -7060,9 +7106,9 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
7060
7106
|
])
|
|
7061
7107
|
]),
|
|
7062
7108
|
default: withCtx(() => [
|
|
7063
|
-
createVNode(
|
|
7109
|
+
createVNode(unref(Tooltip), { content: "列设置" }, {
|
|
7064
7110
|
default: withCtx(() => [
|
|
7065
|
-
createVNode(
|
|
7111
|
+
createVNode(unref(Button), { "aria-label": "设置显示列" }, {
|
|
7066
7112
|
icon: withCtx(() => [
|
|
7067
7113
|
createVNode(unref(IconSettings))
|
|
7068
7114
|
]),
|
|
@@ -7079,7 +7125,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
7079
7125
|
})
|
|
7080
7126
|
])) : createCommentVNode("", true)
|
|
7081
7127
|
])) : createCommentVNode("", true),
|
|
7082
|
-
createVNode(
|
|
7128
|
+
createVNode(unref(Table), mergeProps({
|
|
7083
7129
|
ref_key: "tableRef",
|
|
7084
7130
|
ref: tableRef
|
|
7085
7131
|
}, getBindValues.value, {
|
|
@@ -7118,13 +7164,13 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
7118
7164
|
key: 1,
|
|
7119
7165
|
record: slotProps.record
|
|
7120
7166
|
}, () => [
|
|
7121
|
-
createVNode(
|
|
7167
|
+
createVNode(unref(Space), null, {
|
|
7122
7168
|
default: withCtx(() => [
|
|
7123
7169
|
(openBlock(true), createElementBlock(Fragment, null, renderList(getVisibleActions(slotProps.record).visible, (action) => {
|
|
7124
7170
|
return openBlock(), createElementBlock(Fragment, {
|
|
7125
7171
|
key: action.label
|
|
7126
7172
|
}, [
|
|
7127
|
-
action.popConfirm ? (openBlock(), createBlock(
|
|
7173
|
+
action.popConfirm ? (openBlock(), createBlock(unref(Popconfirm), {
|
|
7128
7174
|
key: 0,
|
|
7129
7175
|
content: action.popConfirm.title,
|
|
7130
7176
|
"ok-text": action.popConfirm.okText,
|
|
@@ -7136,7 +7182,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
7136
7182
|
onCancel: action.popConfirm.onCancel
|
|
7137
7183
|
}, {
|
|
7138
7184
|
default: withCtx(() => [
|
|
7139
|
-
createVNode(
|
|
7185
|
+
createVNode(unref(Link), {
|
|
7140
7186
|
status: action.color,
|
|
7141
7187
|
disabled: getActionDisabled(action, slotProps.record),
|
|
7142
7188
|
onClick: _cache[1] || (_cache[1] = withModifiers(() => {
|
|
@@ -7157,7 +7203,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
7157
7203
|
]), 1032, ["status", "disabled"])
|
|
7158
7204
|
]),
|
|
7159
7205
|
_: 2
|
|
7160
|
-
}, 1032, ["content", "ok-text", "cancel-text", "onOk", "onCancel"])) : (openBlock(), createBlock(
|
|
7206
|
+
}, 1032, ["content", "ok-text", "cancel-text", "onOk", "onCancel"])) : (openBlock(), createBlock(unref(Link), {
|
|
7161
7207
|
key: 1,
|
|
7162
7208
|
status: action.color,
|
|
7163
7209
|
disabled: getActionDisabled(action, slotProps.record),
|
|
@@ -7178,13 +7224,13 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
7178
7224
|
]), 1032, ["status", "disabled", "onClick"]))
|
|
7179
7225
|
], 64);
|
|
7180
7226
|
}), 128)),
|
|
7181
|
-
getVisibleActions(slotProps.record).more.length > 0 ? (openBlock(), createBlock(
|
|
7227
|
+
getVisibleActions(slotProps.record).more.length > 0 ? (openBlock(), createBlock(unref(Dropdown), { key: 0 }, {
|
|
7182
7228
|
content: withCtx(() => [
|
|
7183
7229
|
(openBlock(true), createElementBlock(Fragment, null, renderList(getVisibleActions(slotProps.record).more, (action) => {
|
|
7184
7230
|
return openBlock(), createElementBlock(Fragment, {
|
|
7185
7231
|
key: action.label
|
|
7186
7232
|
}, [
|
|
7187
|
-
action.popConfirm ? (openBlock(), createBlock(
|
|
7233
|
+
action.popConfirm ? (openBlock(), createBlock(unref(Doption), {
|
|
7188
7234
|
key: 0,
|
|
7189
7235
|
disabled: getActionDisabled(action, slotProps.record),
|
|
7190
7236
|
onClick: () => showConfirmModal(action, slotProps.record)
|
|
@@ -7193,7 +7239,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
7193
7239
|
createTextVNode(toDisplayString(action.label), 1)
|
|
7194
7240
|
]),
|
|
7195
7241
|
_: 2
|
|
7196
|
-
}, 1032, ["disabled", "onClick"])) : (openBlock(), createBlock(
|
|
7242
|
+
}, 1032, ["disabled", "onClick"])) : (openBlock(), createBlock(unref(Doption), {
|
|
7197
7243
|
key: 1,
|
|
7198
7244
|
disabled: getActionDisabled(action, slotProps.record),
|
|
7199
7245
|
onClick: ($event) => handleActionClick(action, slotProps.record)
|
|
@@ -7215,7 +7261,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
7215
7261
|
}), 128))
|
|
7216
7262
|
]),
|
|
7217
7263
|
default: withCtx(() => [
|
|
7218
|
-
createVNode(
|
|
7264
|
+
createVNode(unref(Link), null, {
|
|
7219
7265
|
icon: withCtx(() => [
|
|
7220
7266
|
createVNode(unref(IconMore))
|
|
7221
7267
|
]),
|
|
@@ -7261,7 +7307,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
7261
7307
|
};
|
|
7262
7308
|
}
|
|
7263
7309
|
});
|
|
7264
|
-
const BasicTable = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7310
|
+
const BasicTable = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-db561fa7"]]);
|
|
7265
7311
|
function useTable(options = {}) {
|
|
7266
7312
|
const tableRef = ref(null);
|
|
7267
7313
|
const formRef = ref(null);
|
|
@@ -7612,9 +7658,9 @@ function createTableColumns(columns) {
|
|
|
7612
7658
|
function mergeTableColumns(...columns) {
|
|
7613
7659
|
return columns.flat();
|
|
7614
7660
|
}
|
|
7615
|
-
const _hoisted_1$
|
|
7616
|
-
const _hoisted_2$
|
|
7617
|
-
const _sfc_main$
|
|
7661
|
+
const _hoisted_1$4 = { style: { "position": "relative", "width": "100%" } };
|
|
7662
|
+
const _hoisted_2$3 = { key: 1 };
|
|
7663
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
7618
7664
|
...{
|
|
7619
7665
|
name: "BasicModal",
|
|
7620
7666
|
inheritAttrs: false
|
|
@@ -7920,12 +7966,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
7920
7966
|
});
|
|
7921
7967
|
});
|
|
7922
7968
|
return (_ctx, _cache) => {
|
|
7923
|
-
|
|
7924
|
-
const _component_a_spin = resolveComponent("a-spin");
|
|
7925
|
-
const _component_a_button = resolveComponent("a-button");
|
|
7926
|
-
const _component_a_space = resolveComponent("a-space");
|
|
7927
|
-
const _component_a_modal = resolveComponent("a-modal");
|
|
7928
|
-
return openBlock(), createBlock(_component_a_modal, mergeProps(getBindValue.value, {
|
|
7969
|
+
return openBlock(), createBlock(unref(Modal), mergeProps(getBindValue.value, {
|
|
7929
7970
|
visible: visibleRef.value,
|
|
7930
7971
|
"onUpdate:visible": handleVisibleChange,
|
|
7931
7972
|
onOk: unref(handleOk),
|
|
@@ -7936,7 +7977,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
7936
7977
|
onBeforeClose: _cache[3] || (_cache[3] = ($event) => emit("before-close"))
|
|
7937
7978
|
}), createSlots({
|
|
7938
7979
|
default: withCtx(() => [
|
|
7939
|
-
createVNode(
|
|
7980
|
+
createVNode(unref(Spin), {
|
|
7940
7981
|
loading: getProps.value.loading,
|
|
7941
7982
|
tip: getProps.value.loadingTip,
|
|
7942
7983
|
style: normalizeStyle(spinStyle.value),
|
|
@@ -7965,7 +8006,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
7965
8006
|
} : getProps.value.title ? {
|
|
7966
8007
|
name: "title",
|
|
7967
8008
|
fn: withCtx(() => [
|
|
7968
|
-
createElementVNode("div", _hoisted_1$
|
|
8009
|
+
createElementVNode("div", _hoisted_1$4, [
|
|
7969
8010
|
createElementVNode("span", {
|
|
7970
8011
|
style: normalizeStyle({ display: "block", textAlign: getProps.value.titleAlign }),
|
|
7971
8012
|
class: normalizeClass(["block"])
|
|
@@ -7974,7 +8015,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
7974
8015
|
class: normalizeClass(["modal-title-actions", getProps.value.closable ? "has-close" : ""])
|
|
7975
8016
|
}, [
|
|
7976
8017
|
getProps.value.helpMessage ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
7977
|
-
Array.isArray(getProps.value.helpMessage) ? (openBlock(), createBlock(
|
|
8018
|
+
Array.isArray(getProps.value.helpMessage) ? (openBlock(), createBlock(unref(Tooltip), {
|
|
7978
8019
|
key: 0,
|
|
7979
8020
|
position: "top"
|
|
7980
8021
|
}, {
|
|
@@ -7987,7 +8028,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
7987
8028
|
createVNode(unref(IconQuestionCircle), { class: "cursor-help text-gray-400" })
|
|
7988
8029
|
]),
|
|
7989
8030
|
_: 1
|
|
7990
|
-
})) : (openBlock(), createBlock(
|
|
8031
|
+
})) : (openBlock(), createBlock(unref(Tooltip), {
|
|
7991
8032
|
key: 1,
|
|
7992
8033
|
position: "top"
|
|
7993
8034
|
}, {
|
|
@@ -8000,7 +8041,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
8000
8041
|
_: 1
|
|
8001
8042
|
}))
|
|
8002
8043
|
], 64)) : createCommentVNode("", true),
|
|
8003
|
-
getProps.value.canFullscreen ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
8044
|
+
getProps.value.canFullscreen ? (openBlock(), createElementBlock("div", _hoisted_2$3, [
|
|
8004
8045
|
!fullscreenRef.value ? (openBlock(), createBlock(unref(IconFullscreen), {
|
|
8005
8046
|
key: 0,
|
|
8006
8047
|
class: "cursor-pointer",
|
|
@@ -8031,17 +8072,17 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
8031
8072
|
opacity: getProps.value.loading ? 0.6 : 1
|
|
8032
8073
|
})
|
|
8033
8074
|
}, [
|
|
8034
|
-
createVNode(
|
|
8075
|
+
createVNode(unref(Space), null, {
|
|
8035
8076
|
default: withCtx(() => [
|
|
8036
8077
|
renderSlot(_ctx.$slots, "insertFooter", {}, void 0, true),
|
|
8037
|
-
getProps.value.showCancelBtn ? (openBlock(), createBlock(
|
|
8078
|
+
getProps.value.showCancelBtn ? (openBlock(), createBlock(unref(Button), mergeProps({ key: 0 }, getCancelButtonProps.value, { onClick: handleCancel }), {
|
|
8038
8079
|
default: withCtx(() => [
|
|
8039
8080
|
createTextVNode(toDisplayString(getProps.value.cancelText || "取消"), 1)
|
|
8040
8081
|
]),
|
|
8041
8082
|
_: 1
|
|
8042
8083
|
}, 16)) : createCommentVNode("", true),
|
|
8043
8084
|
renderSlot(_ctx.$slots, "centerFooter", {}, void 0, true),
|
|
8044
|
-
getProps.value.showOkBtn ? (openBlock(), createBlock(
|
|
8085
|
+
getProps.value.showOkBtn ? (openBlock(), createBlock(unref(Button), mergeProps({ key: 1 }, getOkButtonProps.value, {
|
|
8045
8086
|
type: "primary",
|
|
8046
8087
|
onClick: unref(handleOk)
|
|
8047
8088
|
}), {
|
|
@@ -8066,7 +8107,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
8066
8107
|
};
|
|
8067
8108
|
}
|
|
8068
8109
|
});
|
|
8069
|
-
const BasicModal = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8110
|
+
const BasicModal = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-e4400cf8"]]);
|
|
8070
8111
|
function useModal(props) {
|
|
8071
8112
|
const modalRef = ref(null);
|
|
8072
8113
|
const loadedRef = ref(false);
|
|
@@ -8224,18 +8265,18 @@ function useModalInner(callbackFn) {
|
|
|
8224
8265
|
}
|
|
8225
8266
|
];
|
|
8226
8267
|
}
|
|
8227
|
-
const _hoisted_1$
|
|
8228
|
-
const _hoisted_2$
|
|
8268
|
+
const _hoisted_1$3 = { class: "basic-description" };
|
|
8269
|
+
const _hoisted_2$2 = {
|
|
8229
8270
|
key: 0,
|
|
8230
8271
|
class: "description-header"
|
|
8231
8272
|
};
|
|
8232
|
-
const _hoisted_3$
|
|
8273
|
+
const _hoisted_3$2 = { class: "description-title" };
|
|
8233
8274
|
const _hoisted_4$1 = {
|
|
8234
8275
|
key: 0,
|
|
8235
8276
|
class: "description-extra"
|
|
8236
8277
|
};
|
|
8237
8278
|
const _hoisted_5$1 = { key: 1 };
|
|
8238
|
-
const _sfc_main$
|
|
8279
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
8239
8280
|
...{
|
|
8240
8281
|
name: "BasicDescription",
|
|
8241
8282
|
inheritAttrs: false
|
|
@@ -8363,16 +8404,13 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
8363
8404
|
});
|
|
8364
8405
|
return (_ctx, _cache) => {
|
|
8365
8406
|
var _a;
|
|
8366
|
-
|
|
8367
|
-
|
|
8368
|
-
|
|
8369
|
-
return openBlock(), createElementBlock("div", _hoisted_1$2, [
|
|
8370
|
-
getProps.value.title || _ctx.$slots.title || _ctx.$slots.extra ? (openBlock(), createElementBlock("div", _hoisted_2$1, [
|
|
8371
|
-
createElementVNode("div", _hoisted_3$1, [
|
|
8407
|
+
return openBlock(), createElementBlock("div", _hoisted_1$3, [
|
|
8408
|
+
getProps.value.title || _ctx.$slots.title || _ctx.$slots.extra ? (openBlock(), createElementBlock("div", _hoisted_2$2, [
|
|
8409
|
+
createElementVNode("div", _hoisted_3$2, [
|
|
8372
8410
|
_ctx.$slots.title ? renderSlot(_ctx.$slots, "title", { key: 0 }, void 0, true) : getProps.value.title ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
8373
8411
|
createElementVNode("span", null, toDisplayString(getProps.value.title), 1),
|
|
8374
8412
|
((_a = getProps.value.helpMessageOptions) == null ? void 0 : _a.helpMessage) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
8375
|
-
Array.isArray(getProps.value.helpMessageOptions.helpMessage) ? (openBlock(), createBlock(
|
|
8413
|
+
Array.isArray(getProps.value.helpMessageOptions.helpMessage) ? (openBlock(), createBlock(unref(Tooltip), {
|
|
8376
8414
|
key: 0,
|
|
8377
8415
|
position: "top"
|
|
8378
8416
|
}, {
|
|
@@ -8385,7 +8423,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
8385
8423
|
createVNode(unref(IconQuestionCircle), { class: "ml-2 cursor-help text-gray-400" })
|
|
8386
8424
|
]),
|
|
8387
8425
|
_: 1
|
|
8388
|
-
})) : (openBlock(), createBlock(
|
|
8426
|
+
})) : (openBlock(), createBlock(unref(Tooltip), {
|
|
8389
8427
|
key: 1,
|
|
8390
8428
|
position: "top"
|
|
8391
8429
|
}, {
|
|
@@ -8404,10 +8442,10 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
8404
8442
|
_ctx.$slots.extra ? renderSlot(_ctx.$slots, "extra", { key: 0 }, void 0, true) : (openBlock(), createElementBlock("span", _hoisted_5$1, toDisplayString(getProps.value.extra), 1))
|
|
8405
8443
|
])) : createCommentVNode("", true)
|
|
8406
8444
|
])) : createCommentVNode("", true),
|
|
8407
|
-
createVNode(
|
|
8445
|
+
createVNode(unref(Descriptions), normalizeProps(guardReactiveProps(getBindValue.value)), {
|
|
8408
8446
|
default: withCtx(() => [
|
|
8409
8447
|
(openBlock(true), createElementBlock(Fragment, null, renderList(getSchema.value, (item) => {
|
|
8410
|
-
return openBlock(), createBlock(
|
|
8448
|
+
return openBlock(), createBlock(unref(DescriptionsItem), {
|
|
8411
8449
|
key: item.field,
|
|
8412
8450
|
label: item.label,
|
|
8413
8451
|
span: item.span
|
|
@@ -8441,7 +8479,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
8441
8479
|
};
|
|
8442
8480
|
}
|
|
8443
8481
|
});
|
|
8444
|
-
const BasicDescription = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8482
|
+
const BasicDescription = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-f93aecf8"]]);
|
|
8445
8483
|
function useDescription(props) {
|
|
8446
8484
|
const descriptionRef = ref(null);
|
|
8447
8485
|
const loadedRef = ref(false);
|
|
@@ -8484,12 +8522,12 @@ function useDescription(props) {
|
|
|
8484
8522
|
}
|
|
8485
8523
|
];
|
|
8486
8524
|
}
|
|
8487
|
-
const _hoisted_1$
|
|
8488
|
-
const _hoisted_2 = {
|
|
8525
|
+
const _hoisted_1$2 = { class: "basic-image" };
|
|
8526
|
+
const _hoisted_2$1 = {
|
|
8489
8527
|
key: 0,
|
|
8490
8528
|
class: "basic-image-empty"
|
|
8491
8529
|
};
|
|
8492
|
-
const _hoisted_3 = { class: "empty-text" };
|
|
8530
|
+
const _hoisted_3$1 = { class: "empty-text" };
|
|
8493
8531
|
const _hoisted_4 = {
|
|
8494
8532
|
key: 0,
|
|
8495
8533
|
class: "basic-image-simple"
|
|
@@ -8503,7 +8541,7 @@ const _hoisted_7 = {
|
|
|
8503
8541
|
key: 0,
|
|
8504
8542
|
style: { "display": "none" }
|
|
8505
8543
|
};
|
|
8506
|
-
const _sfc_main$
|
|
8544
|
+
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
8507
8545
|
...{
|
|
8508
8546
|
name: "BasicImage"
|
|
8509
8547
|
},
|
|
@@ -8582,17 +8620,16 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
8582
8620
|
});
|
|
8583
8621
|
__expose(methods);
|
|
8584
8622
|
return (_ctx, _cache) => {
|
|
8585
|
-
|
|
8586
|
-
|
|
8587
|
-
normalizedImages.value.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
8623
|
+
return openBlock(), createElementBlock("div", _hoisted_1$2, [
|
|
8624
|
+
normalizedImages.value.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_2$1, [
|
|
8588
8625
|
renderSlot(_ctx.$slots, "empty", {}, () => [
|
|
8589
|
-
createElementVNode("span", _hoisted_3, toDisplayString(getProps.value.emptyText), 1)
|
|
8626
|
+
createElementVNode("span", _hoisted_3$1, toDisplayString(getProps.value.emptyText), 1)
|
|
8590
8627
|
], true)
|
|
8591
|
-
])) : (openBlock(), createBlock(resolveDynamicComponent(getProps.value.preview ?
|
|
8628
|
+
])) : (openBlock(), createBlock(resolveDynamicComponent(getProps.value.preview ? unref(ImagePreviewGroup) : "div"), { key: 1 }, {
|
|
8592
8629
|
default: withCtx(() => [
|
|
8593
8630
|
!getProps.value.showAll ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
8594
8631
|
createElementVNode("div", _hoisted_5, [
|
|
8595
|
-
createVNode(
|
|
8632
|
+
createVNode(unref(Image), {
|
|
8596
8633
|
src: normalizedImages.value[0].url,
|
|
8597
8634
|
width: getProps.value.width,
|
|
8598
8635
|
height: getProps.value.height,
|
|
@@ -8605,7 +8642,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
8605
8642
|
]),
|
|
8606
8643
|
getProps.value.preview && normalizedImages.value.length > 1 ? (openBlock(), createElementBlock("div", _hoisted_7, [
|
|
8607
8644
|
(openBlock(true), createElementBlock(Fragment, null, renderList(normalizedImages.value.slice(1), (item, index) => {
|
|
8608
|
-
return openBlock(), createBlock(
|
|
8645
|
+
return openBlock(), createBlock(unref(Image), {
|
|
8609
8646
|
key: index,
|
|
8610
8647
|
src: item.url,
|
|
8611
8648
|
alt: item.name || "图片"
|
|
@@ -8622,7 +8659,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
8622
8659
|
key: index,
|
|
8623
8660
|
class: "image-item"
|
|
8624
8661
|
}, [
|
|
8625
|
-
createVNode(
|
|
8662
|
+
createVNode(unref(Image), {
|
|
8626
8663
|
src: item.url,
|
|
8627
8664
|
width: getProps.value.width,
|
|
8628
8665
|
height: getProps.value.height,
|
|
@@ -8641,7 +8678,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
8641
8678
|
};
|
|
8642
8679
|
}
|
|
8643
8680
|
});
|
|
8644
|
-
const BasicImage = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8681
|
+
const BasicImage = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-04c54d5a"]]);
|
|
8645
8682
|
function useImage(options) {
|
|
8646
8683
|
const imageRef = ref(null);
|
|
8647
8684
|
const loadedRef = ref(false);
|
|
@@ -8688,6 +8725,32 @@ function useImage(options) {
|
|
|
8688
8725
|
});
|
|
8689
8726
|
return [register, methods];
|
|
8690
8727
|
}
|
|
8728
|
+
const _hoisted_1$1 = { class: "knt-spinner" };
|
|
8729
|
+
const _hoisted_2 = { class: "knt-spinner__ring" };
|
|
8730
|
+
const _hoisted_3 = {
|
|
8731
|
+
key: 0,
|
|
8732
|
+
class: "knt-spinner__tip"
|
|
8733
|
+
};
|
|
8734
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
8735
|
+
...{ name: "LoadingSpinner" },
|
|
8736
|
+
__name: "LoadingSpinner",
|
|
8737
|
+
props: {
|
|
8738
|
+
tip: {}
|
|
8739
|
+
},
|
|
8740
|
+
setup(__props) {
|
|
8741
|
+
return (_ctx, _cache) => {
|
|
8742
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1, [
|
|
8743
|
+
createElementVNode("div", _hoisted_2, [
|
|
8744
|
+
(openBlock(), createElementBlock(Fragment, null, renderList(4, (i) => {
|
|
8745
|
+
return createElementVNode("span", { key: i });
|
|
8746
|
+
}), 64))
|
|
8747
|
+
]),
|
|
8748
|
+
__props.tip ? (openBlock(), createElementBlock("p", _hoisted_3, toDisplayString(__props.tip), 1)) : createCommentVNode("", true)
|
|
8749
|
+
]);
|
|
8750
|
+
};
|
|
8751
|
+
}
|
|
8752
|
+
});
|
|
8753
|
+
const LoadingSpinner = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-8cd97aae"]]);
|
|
8691
8754
|
const _hoisted_1 = { class: "knt-loading-overlay__content" };
|
|
8692
8755
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
8693
8756
|
...{
|
|
@@ -8717,21 +8780,20 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
8717
8780
|
return base;
|
|
8718
8781
|
});
|
|
8719
8782
|
return (_ctx, _cache) => {
|
|
8720
|
-
const _component_a_spin = resolveComponent("a-spin");
|
|
8721
8783
|
return openBlock(), createElementBlock("div", {
|
|
8722
8784
|
class: normalizeClass(["knt-loading-overlay", __props.maskClass]),
|
|
8723
8785
|
style: normalizeStyle([overlayStyle.value, __props.maskStyle])
|
|
8724
8786
|
}, [
|
|
8725
8787
|
createElementVNode("div", _hoisted_1, [
|
|
8726
8788
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
8727
|
-
createVNode(
|
|
8789
|
+
createVNode(LoadingSpinner, { tip: __props.tip }, null, 8, ["tip"])
|
|
8728
8790
|
], true)
|
|
8729
8791
|
])
|
|
8730
8792
|
], 6);
|
|
8731
8793
|
};
|
|
8732
8794
|
}
|
|
8733
8795
|
});
|
|
8734
|
-
const LoadingOverlay = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
8796
|
+
const LoadingOverlay = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-b25f4ff8"]]);
|
|
8735
8797
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8736
8798
|
...{
|
|
8737
8799
|
name: "BasicLoading",
|
|
@@ -8798,7 +8860,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
8798
8860
|
{ immediate: true }
|
|
8799
8861
|
);
|
|
8800
8862
|
return (_ctx, _cache) => {
|
|
8801
|
-
const _component_a_spin = resolveComponent("a-spin");
|
|
8802
8863
|
return __props.loading ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
8803
8864
|
teleportTo.value ? (openBlock(), createBlock(Teleport, {
|
|
8804
8865
|
key: 0,
|
|
@@ -8813,7 +8874,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
8813
8874
|
}, {
|
|
8814
8875
|
default: withCtx(() => [
|
|
8815
8876
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
8816
|
-
createVNode(
|
|
8877
|
+
createVNode(LoadingSpinner, { tip: __props.tip }, null, 8, ["tip"])
|
|
8817
8878
|
])
|
|
8818
8879
|
]),
|
|
8819
8880
|
_: 3
|
|
@@ -9431,11 +9492,16 @@ function useToggle(initialValue = false) {
|
|
|
9431
9492
|
};
|
|
9432
9493
|
return [value, toggle, setTrue, setFalse];
|
|
9433
9494
|
}
|
|
9495
|
+
const KntSharedPlugin = {
|
|
9496
|
+
install(app) {
|
|
9497
|
+
app.use(ArcoVue);
|
|
9498
|
+
}
|
|
9499
|
+
};
|
|
9434
9500
|
export {
|
|
9435
|
-
_sfc_main$
|
|
9436
|
-
_sfc_main$
|
|
9501
|
+
_sfc_main$b as ApiCascader,
|
|
9502
|
+
_sfc_main$c as ApiSelect,
|
|
9437
9503
|
BasicDescription,
|
|
9438
|
-
_sfc_main$
|
|
9504
|
+
_sfc_main$9 as BasicForm,
|
|
9439
9505
|
BasicImage,
|
|
9440
9506
|
_sfc_main as BasicLoading,
|
|
9441
9507
|
BasicModal,
|
|
@@ -9443,6 +9509,7 @@ export {
|
|
|
9443
9509
|
BasicTable,
|
|
9444
9510
|
BasicTextEllipsis,
|
|
9445
9511
|
BasicUpload,
|
|
9512
|
+
KntSharedPlugin,
|
|
9446
9513
|
VideoPreview,
|
|
9447
9514
|
VideoPreviewModal,
|
|
9448
9515
|
arrayToMap,
|