knt-shared 1.6.10 → 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/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 +229 -186
- 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 +194 -151
- 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 +112 -112
- 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$y = 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$x = 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$w = 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$v = 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$u = 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$t = 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,6 +500,84 @@ const IconRefresh = Object.assign(_IconRefresh, {
|
|
|
500
500
|
app.component(iconPrefix + _IconRefresh.name, _IconRefresh);
|
|
501
501
|
}
|
|
502
502
|
});
|
|
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
|
+
});
|
|
503
581
|
const _sfc_main$s = defineComponent({
|
|
504
582
|
name: "IconSettings",
|
|
505
583
|
props: {
|
|
@@ -1427,7 +1505,6 @@ const _sfc_main$h = /* @__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,
|
|
@@ -1452,7 +1529,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
1452
1529
|
class: "file-image"
|
|
1453
1530
|
}, null, 8, _hoisted_2$9)) : createCommentVNode("", true),
|
|
1454
1531
|
__props.file.status === "uploading" ? (openBlock(), createElementBlock("div", _hoisted_3$7, [
|
|
1455
|
-
createVNode(
|
|
1532
|
+
createVNode(unref(Progress), {
|
|
1456
1533
|
percent: __props.file.percent || 0,
|
|
1457
1534
|
size: "mini"
|
|
1458
1535
|
}, null, 8, ["percent"])
|
|
@@ -1484,7 +1561,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
1484
1561
|
}
|
|
1485
1562
|
return target;
|
|
1486
1563
|
};
|
|
1487
|
-
const SortableFileItem = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-
|
|
1564
|
+
const SortableFileItem = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-17fb6dd9"]]);
|
|
1488
1565
|
const _hoisted_1$b = { class: "sortable-file-list" };
|
|
1489
1566
|
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
1490
1567
|
...{
|
|
@@ -1785,9 +1862,6 @@ const _sfc_main$f = /* @__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
|
}, [
|
|
@@ -1816,7 +1890,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
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$f = /* @__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,7 +2012,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
1938
2012
|
};
|
|
1939
2013
|
}
|
|
1940
2014
|
});
|
|
1941
|
-
const VideoPreview = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-
|
|
2015
|
+
const VideoPreview = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-b982f870"]]);
|
|
1942
2016
|
const _hoisted_1$9 = { class: "video-modal-title" };
|
|
1943
2017
|
const _hoisted_2$7 = { class: "file-name" };
|
|
1944
2018
|
const _hoisted_3$5 = { class: "video-modal-content" };
|
|
@@ -1981,8 +2055,7 @@ const _sfc_main$e = /* @__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,
|
|
@@ -2014,7 +2087,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
2014
2087
|
};
|
|
2015
2088
|
}
|
|
2016
2089
|
});
|
|
2017
|
-
const VideoPreviewModal = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-
|
|
2090
|
+
const VideoPreviewModal = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-cac8e63e"]]);
|
|
2018
2091
|
const _hoisted_1$8 = { class: "basic-upload" };
|
|
2019
2092
|
const _hoisted_2$6 = {
|
|
2020
2093
|
key: 0,
|
|
@@ -2102,7 +2175,7 @@ const _sfc_main$d = /* @__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$d = /* @__PURE__ */ defineComponent({
|
|
|
2571
2644
|
});
|
|
2572
2645
|
});
|
|
2573
2646
|
return (_ctx, _cache) => {
|
|
2574
|
-
const _component_a_button = resolveComponent("a-button");
|
|
2575
|
-
const _component_a_upload = resolveComponent("a-upload");
|
|
2576
|
-
const _component_a_image = resolveComponent("a-image");
|
|
2577
2647
|
return openBlock(), createElementBlock("div", _hoisted_1$8, [
|
|
2578
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
|
|
@@ -2605,7 +2675,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
2605
2675
|
}, [
|
|
2606
2676
|
createVNode(unref(IconPlus), { size: 16 }),
|
|
2607
2677
|
getProps.value.uploadButtonText ? (openBlock(), createElementBlock("div", _hoisted_3$4, toDisplayString(getProps.value.uploadButtonText), 1)) : createCommentVNode("", true)
|
|
2608
|
-
], 4)) : (openBlock(), createBlock(
|
|
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$d = /* @__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$d = /* @__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$d = /* @__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$d = /* @__PURE__ */ defineComponent({
|
|
|
2722
2792
|
};
|
|
2723
2793
|
}
|
|
2724
2794
|
});
|
|
2725
|
-
const BasicUpload = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-
|
|
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) || []);
|
|
@@ -3100,8 +3170,7 @@ const _sfc_main$c = /* @__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,
|
|
@@ -3262,8 +3331,7 @@ const _sfc_main$b = /* @__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,
|
|
@@ -4492,16 +4560,7 @@ const _sfc_main$9 = /* @__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$9 = /* @__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$9 = /* @__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$9 = /* @__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)
|
|
@@ -4975,9 +5034,8 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
4975
5034
|
}
|
|
4976
5035
|
);
|
|
4977
5036
|
return (_ctx, _cache) => {
|
|
4978
|
-
const _component_a_tooltip = resolveComponent("a-tooltip");
|
|
4979
5037
|
return openBlock(), createElementBlock("div", _hoisted_1$7, [
|
|
4980
|
-
showTooltip.value ? (openBlock(), createBlock(
|
|
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$8 = /* @__PURE__ */ defineComponent({
|
|
|
5002
5060
|
};
|
|
5003
5061
|
}
|
|
5004
5062
|
});
|
|
5005
|
-
const BasicTextEllipsis = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-
|
|
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 {
|
|
@@ -6885,18 +6943,6 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
6885
6943
|
searchFormRef.value = null;
|
|
6886
6944
|
});
|
|
6887
6945
|
return (_ctx, _cache) => {
|
|
6888
|
-
const _component_a_divider = resolveComponent("a-divider");
|
|
6889
|
-
const _component_a_button = resolveComponent("a-button");
|
|
6890
|
-
const _component_a_tooltip = resolveComponent("a-tooltip");
|
|
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
6946
|
return openBlock(), createElementBlock("div", _hoisted_1$5, [
|
|
6901
6947
|
getSearchConfig.value.show ? (openBlock(), createElementBlock("div", _hoisted_2$4, [
|
|
6902
6948
|
createVNode(unref(_sfc_main$9), mergeProps({
|
|
@@ -6915,7 +6961,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
6915
6961
|
};
|
|
6916
6962
|
})
|
|
6917
6963
|
]), 1040),
|
|
6918
|
-
createVNode(
|
|
6964
|
+
createVNode(unref(Divider), { class: "!mt-0" })
|
|
6919
6965
|
])) : createCommentVNode("", true),
|
|
6920
6966
|
getToolbarConfig.value.show || getToolbarConfig.value.title || _ctx.$slots.tableTitle ? (openBlock(), createElementBlock("div", _hoisted_3$3, [
|
|
6921
6967
|
createElementVNode("div", _hoisted_4$2, [
|
|
@@ -6924,10 +6970,10 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
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$6 = /* @__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$6 = /* @__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$6 = /* @__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$6 = /* @__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$6 = /* @__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$6 = /* @__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$6 = /* @__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$6 = /* @__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$6 = /* @__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$6 = /* @__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$6 = /* @__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$6 = /* @__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$6 = /* @__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$6 = /* @__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$6 = /* @__PURE__ */ defineComponent({
|
|
|
7261
7307
|
};
|
|
7262
7308
|
}
|
|
7263
7309
|
});
|
|
7264
|
-
const BasicTable = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-
|
|
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);
|
|
@@ -7920,12 +7966,7 @@ const _sfc_main$5 = /* @__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$5 = /* @__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),
|
|
@@ -7974,7 +8015,7 @@ const _sfc_main$5 = /* @__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$5 = /* @__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
|
}, {
|
|
@@ -8031,17 +8072,17 @@ const _sfc_main$5 = /* @__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$5 = /* @__PURE__ */ defineComponent({
|
|
|
8066
8107
|
};
|
|
8067
8108
|
}
|
|
8068
8109
|
});
|
|
8069
|
-
const BasicModal = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-
|
|
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);
|
|
@@ -8363,16 +8404,13 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
8363
8404
|
});
|
|
8364
8405
|
return (_ctx, _cache) => {
|
|
8365
8406
|
var _a;
|
|
8366
|
-
const _component_a_tooltip = resolveComponent("a-tooltip");
|
|
8367
|
-
const _component_a_descriptions_item = resolveComponent("a-descriptions-item");
|
|
8368
|
-
const _component_a_descriptions = resolveComponent("a-descriptions");
|
|
8369
8407
|
return openBlock(), createElementBlock("div", _hoisted_1$3, [
|
|
8370
8408
|
getProps.value.title || _ctx.$slots.title || _ctx.$slots.extra ? (openBlock(), createElementBlock("div", _hoisted_2$2, [
|
|
8371
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$4 = /* @__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$4 = /* @__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$4 = /* @__PURE__ */ defineComponent({
|
|
|
8441
8479
|
};
|
|
8442
8480
|
}
|
|
8443
8481
|
});
|
|
8444
|
-
const BasicDescription = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-
|
|
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);
|
|
@@ -8582,17 +8620,16 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
8582
8620
|
});
|
|
8583
8621
|
__expose(methods);
|
|
8584
8622
|
return (_ctx, _cache) => {
|
|
8585
|
-
const _component_a_image = resolveComponent("a-image");
|
|
8586
8623
|
return openBlock(), createElementBlock("div", _hoisted_1$2, [
|
|
8587
8624
|
normalizedImages.value.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_2$1, [
|
|
8588
8625
|
renderSlot(_ctx.$slots, "empty", {}, () => [
|
|
8589
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$3 = /* @__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$3 = /* @__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$3 = /* @__PURE__ */ defineComponent({
|
|
|
8641
8678
|
};
|
|
8642
8679
|
}
|
|
8643
8680
|
});
|
|
8644
|
-
const BasicImage = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-
|
|
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);
|
|
@@ -9455,6 +9492,11 @@ function useToggle(initialValue = false) {
|
|
|
9455
9492
|
};
|
|
9456
9493
|
return [value, toggle, setTrue, setFalse];
|
|
9457
9494
|
}
|
|
9495
|
+
const KntSharedPlugin = {
|
|
9496
|
+
install(app) {
|
|
9497
|
+
app.use(ArcoVue);
|
|
9498
|
+
}
|
|
9499
|
+
};
|
|
9458
9500
|
export {
|
|
9459
9501
|
_sfc_main$b as ApiCascader,
|
|
9460
9502
|
_sfc_main$c as ApiSelect,
|
|
@@ -9467,6 +9509,7 @@ export {
|
|
|
9467
9509
|
BasicTable,
|
|
9468
9510
|
BasicTextEllipsis,
|
|
9469
9511
|
BasicUpload,
|
|
9512
|
+
KntSharedPlugin,
|
|
9470
9513
|
VideoPreview,
|
|
9471
9514
|
VideoPreviewModal,
|
|
9472
9515
|
arrayToMap,
|