knt-shared 1.6.7 → 1.6.9

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/index.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { getCurrentInstance, inject, defineComponent, computed, createElementBlock, openBlock, normalizeStyle, normalizeClass, createElementVNode, resolveComponent, createCommentVNode, createVNode, createBlock, unref, 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 } from "vue";
1
+ import { getCurrentInstance, inject, defineComponent, computed, createElementBlock, openBlock, normalizeStyle, normalizeClass, createElementVNode, resolveComponent, createCommentVNode, createVNode, createBlock, unref, 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
2
  import { Message, Transfer, Mention, Upload, Rate, Slider, Switch, RangePicker, TimePicker, DatePicker, TreeSelect, Cascader, CheckboxGroup, Checkbox, RadioGroup, Radio, Select, AutoComplete, Textarea, InputPassword, InputNumber, Input, ImagePreviewGroup, Image, Modal } from "@arco-design/web-vue";
3
3
  const configProviderInjectionKey = Symbol("ArcoConfigProvider");
4
4
  const CLASS_PREFIX = "arco";
@@ -22,7 +22,7 @@ var _export_sfc$1 = (sfc, props) => {
22
22
  }
23
23
  return sfc;
24
24
  };
25
- const _sfc_main$v = defineComponent({
25
+ const _sfc_main$x = defineComponent({
26
26
  name: "IconExclamationCircle",
27
27
  props: {
28
28
  size: {
@@ -75,7 +75,7 @@ const _sfc_main$v = defineComponent({
75
75
  };
76
76
  }
77
77
  });
78
- const _hoisted_1$r = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
78
+ const _hoisted_1$s = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
79
79
  function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
80
80
  return openBlock(), createElementBlock("svg", {
81
81
  viewBox: "0 0 48 48",
@@ -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$r);
93
+ ]), 14, _hoisted_1$s);
94
94
  }
95
- var _IconExclamationCircle = /* @__PURE__ */ _export_sfc$1(_sfc_main$v, [["render", _sfc_render$g]]);
95
+ var _IconExclamationCircle = /* @__PURE__ */ _export_sfc$1(_sfc_main$x, [["render", _sfc_render$g]]);
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$u = defineComponent({
103
+ const _sfc_main$w = defineComponent({
104
104
  name: "IconPlus",
105
105
  props: {
106
106
  size: {
@@ -153,7 +153,7 @@ const _sfc_main$u = defineComponent({
153
153
  };
154
154
  }
155
155
  });
156
- const _hoisted_1$q = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
156
+ const _hoisted_1$r = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
157
157
  function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
158
158
  return openBlock(), createElementBlock("svg", {
159
159
  viewBox: "0 0 48 48",
@@ -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$q);
171
+ ]), 14, _hoisted_1$r);
172
172
  }
173
- var _IconPlus = /* @__PURE__ */ _export_sfc$1(_sfc_main$u, [["render", _sfc_render$f]]);
173
+ var _IconPlus = /* @__PURE__ */ _export_sfc$1(_sfc_main$w, [["render", _sfc_render$f]]);
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$t = defineComponent({
181
+ const _sfc_main$v = defineComponent({
182
182
  name: "IconQuestionCircle",
183
183
  props: {
184
184
  size: {
@@ -231,7 +231,7 @@ const _sfc_main$t = defineComponent({
231
231
  };
232
232
  }
233
233
  });
234
- const _hoisted_1$p = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
234
+ const _hoisted_1$q = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
235
235
  function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
236
236
  return openBlock(), createElementBlock("svg", {
237
237
  viewBox: "0 0 48 48",
@@ -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$p);
250
+ ]), 14, _hoisted_1$q);
251
251
  }
252
- var _IconQuestionCircle = /* @__PURE__ */ _export_sfc$1(_sfc_main$t, [["render", _sfc_render$e]]);
252
+ var _IconQuestionCircle = /* @__PURE__ */ _export_sfc$1(_sfc_main$v, [["render", _sfc_render$e]]);
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$s = defineComponent({
260
+ const _sfc_main$u = defineComponent({
261
261
  name: "IconEye",
262
262
  props: {
263
263
  size: {
@@ -310,7 +310,7 @@ const _sfc_main$s = defineComponent({
310
310
  };
311
311
  }
312
312
  });
313
- const _hoisted_1$o = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
313
+ const _hoisted_1$p = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
314
314
  function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
315
315
  return openBlock(), createElementBlock("svg", {
316
316
  viewBox: "0 0 48 48",
@@ -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$o);
332
+ ]), 14, _hoisted_1$p);
333
333
  }
334
- var _IconEye = /* @__PURE__ */ _export_sfc$1(_sfc_main$s, [["render", _sfc_render$d]]);
334
+ var _IconEye = /* @__PURE__ */ _export_sfc$1(_sfc_main$u, [["render", _sfc_render$d]]);
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$r = defineComponent({
342
+ const _sfc_main$t = defineComponent({
343
343
  name: "IconMore",
344
344
  props: {
345
345
  size: {
@@ -392,7 +392,7 @@ const _sfc_main$r = defineComponent({
392
392
  };
393
393
  }
394
394
  });
395
- const _hoisted_1$n = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
395
+ const _hoisted_1$o = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
396
396
  function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
397
397
  return openBlock(), createElementBlock("svg", {
398
398
  viewBox: "0 0 48 48",
@@ -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$n);
415
+ ]), 14, _hoisted_1$o);
416
416
  }
417
- var _IconMore = /* @__PURE__ */ _export_sfc$1(_sfc_main$r, [["render", _sfc_render$c]]);
417
+ var _IconMore = /* @__PURE__ */ _export_sfc$1(_sfc_main$t, [["render", _sfc_render$c]]);
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$q = defineComponent({
425
+ const _sfc_main$s = defineComponent({
426
426
  name: "IconRefresh",
427
427
  props: {
428
428
  size: {
@@ -475,7 +475,7 @@ const _sfc_main$q = defineComponent({
475
475
  };
476
476
  }
477
477
  });
478
- const _hoisted_1$m = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
478
+ const _hoisted_1$n = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
479
479
  function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
480
480
  return openBlock(), createElementBlock("svg", {
481
481
  viewBox: "0 0 48 48",
@@ -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$m);
493
+ ]), 14, _hoisted_1$n);
494
494
  }
495
- var _IconRefresh = /* @__PURE__ */ _export_sfc$1(_sfc_main$q, [["render", _sfc_render$b]]);
495
+ var _IconRefresh = /* @__PURE__ */ _export_sfc$1(_sfc_main$s, [["render", _sfc_render$b]]);
496
496
  const IconRefresh = Object.assign(_IconRefresh, {
497
497
  install: (app, options) => {
498
498
  var _a;
@@ -500,7 +500,7 @@ const IconRefresh = Object.assign(_IconRefresh, {
500
500
  app.component(iconPrefix + _IconRefresh.name, _IconRefresh);
501
501
  }
502
502
  });
503
- const _sfc_main$p = defineComponent({
503
+ const _sfc_main$r = defineComponent({
504
504
  name: "IconSettings",
505
505
  props: {
506
506
  size: {
@@ -553,7 +553,7 @@ const _sfc_main$p = defineComponent({
553
553
  };
554
554
  }
555
555
  });
556
- const _hoisted_1$l = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
556
+ const _hoisted_1$m = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
557
557
  function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
558
558
  return openBlock(), createElementBlock("svg", {
559
559
  viewBox: "0 0 48 48",
@@ -569,9 +569,9 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
569
569
  }, _cache[1] || (_cache[1] = [
570
570
  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
571
  createElementVNode("path", { d: "M30 24a6 6 0 1 1-12 0 6 6 0 0 1 12 0Z" }, null, -1)
572
- ]), 14, _hoisted_1$l);
572
+ ]), 14, _hoisted_1$m);
573
573
  }
574
- var _IconSettings = /* @__PURE__ */ _export_sfc$1(_sfc_main$p, [["render", _sfc_render$a]]);
574
+ var _IconSettings = /* @__PURE__ */ _export_sfc$1(_sfc_main$r, [["render", _sfc_render$a]]);
575
575
  const IconSettings = Object.assign(_IconSettings, {
576
576
  install: (app, options) => {
577
577
  var _a;
@@ -579,7 +579,7 @@ const IconSettings = Object.assign(_IconSettings, {
579
579
  app.component(iconPrefix + _IconSettings.name, _IconSettings);
580
580
  }
581
581
  });
582
- const _sfc_main$o = defineComponent({
582
+ const _sfc_main$q = defineComponent({
583
583
  name: "IconUpload",
584
584
  props: {
585
585
  size: {
@@ -632,7 +632,7 @@ const _sfc_main$o = defineComponent({
632
632
  };
633
633
  }
634
634
  });
635
- const _hoisted_1$k = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
635
+ const _hoisted_1$l = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
636
636
  function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
637
637
  return openBlock(), createElementBlock("svg", {
638
638
  viewBox: "0 0 48 48",
@@ -647,9 +647,9 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
647
647
  onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onClick && _ctx.onClick(...args))
648
648
  }, _cache[1] || (_cache[1] = [
649
649
  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$k);
650
+ ]), 14, _hoisted_1$l);
651
651
  }
652
- var _IconUpload = /* @__PURE__ */ _export_sfc$1(_sfc_main$o, [["render", _sfc_render$9]]);
652
+ var _IconUpload = /* @__PURE__ */ _export_sfc$1(_sfc_main$q, [["render", _sfc_render$9]]);
653
653
  const IconUpload = Object.assign(_IconUpload, {
654
654
  install: (app, options) => {
655
655
  var _a;
@@ -657,7 +657,7 @@ const IconUpload = Object.assign(_IconUpload, {
657
657
  app.component(iconPrefix + _IconUpload.name, _IconUpload);
658
658
  }
659
659
  });
660
- const _sfc_main$n = defineComponent({
660
+ const _sfc_main$p = defineComponent({
661
661
  name: "IconDelete",
662
662
  props: {
663
663
  size: {
@@ -710,7 +710,7 @@ const _sfc_main$n = defineComponent({
710
710
  };
711
711
  }
712
712
  });
713
- const _hoisted_1$j = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
713
+ const _hoisted_1$k = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
714
714
  function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
715
715
  return openBlock(), createElementBlock("svg", {
716
716
  viewBox: "0 0 48 48",
@@ -725,9 +725,9 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
725
725
  onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onClick && _ctx.onClick(...args))
726
726
  }, _cache[1] || (_cache[1] = [
727
727
  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$j);
728
+ ]), 14, _hoisted_1$k);
729
729
  }
730
- var _IconDelete = /* @__PURE__ */ _export_sfc$1(_sfc_main$n, [["render", _sfc_render$8]]);
730
+ var _IconDelete = /* @__PURE__ */ _export_sfc$1(_sfc_main$p, [["render", _sfc_render$8]]);
731
731
  const IconDelete = Object.assign(_IconDelete, {
732
732
  install: (app, options) => {
733
733
  var _a;
@@ -735,7 +735,7 @@ const IconDelete = Object.assign(_IconDelete, {
735
735
  app.component(iconPrefix + _IconDelete.name, _IconDelete);
736
736
  }
737
737
  });
738
- const _sfc_main$m = defineComponent({
738
+ const _sfc_main$o = defineComponent({
739
739
  name: "IconLineHeight",
740
740
  props: {
741
741
  size: {
@@ -788,7 +788,7 @@ const _sfc_main$m = defineComponent({
788
788
  };
789
789
  }
790
790
  });
791
- const _hoisted_1$i = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
791
+ const _hoisted_1$j = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
792
792
  function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
793
793
  return openBlock(), createElementBlock("svg", {
794
794
  viewBox: "0 0 48 48",
@@ -809,9 +809,9 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
809
809
  stroke: "none"
810
810
  }, null, -1),
811
811
  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$i);
812
+ ]), 14, _hoisted_1$j);
813
813
  }
814
- var _IconLineHeight = /* @__PURE__ */ _export_sfc$1(_sfc_main$m, [["render", _sfc_render$7]]);
814
+ var _IconLineHeight = /* @__PURE__ */ _export_sfc$1(_sfc_main$o, [["render", _sfc_render$7]]);
815
815
  const IconLineHeight = Object.assign(_IconLineHeight, {
816
816
  install: (app, options) => {
817
817
  var _a;
@@ -819,7 +819,7 @@ const IconLineHeight = Object.assign(_IconLineHeight, {
819
819
  app.component(iconPrefix + _IconLineHeight.name, _IconLineHeight);
820
820
  }
821
821
  });
822
- const _sfc_main$l = defineComponent({
822
+ const _sfc_main$n = defineComponent({
823
823
  name: "IconFullscreenExit",
824
824
  props: {
825
825
  size: {
@@ -872,7 +872,7 @@ const _sfc_main$l = defineComponent({
872
872
  };
873
873
  }
874
874
  });
875
- const _hoisted_1$h = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
875
+ const _hoisted_1$i = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
876
876
  function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
877
877
  return openBlock(), createElementBlock("svg", {
878
878
  viewBox: "0 0 48 48",
@@ -887,9 +887,9 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
887
887
  onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onClick && _ctx.onClick(...args))
888
888
  }, _cache[1] || (_cache[1] = [
889
889
  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$h);
890
+ ]), 14, _hoisted_1$i);
891
891
  }
892
- var _IconFullscreenExit = /* @__PURE__ */ _export_sfc$1(_sfc_main$l, [["render", _sfc_render$6]]);
892
+ var _IconFullscreenExit = /* @__PURE__ */ _export_sfc$1(_sfc_main$n, [["render", _sfc_render$6]]);
893
893
  const IconFullscreenExit = Object.assign(_IconFullscreenExit, {
894
894
  install: (app, options) => {
895
895
  var _a;
@@ -897,7 +897,7 @@ const IconFullscreenExit = Object.assign(_IconFullscreenExit, {
897
897
  app.component(iconPrefix + _IconFullscreenExit.name, _IconFullscreenExit);
898
898
  }
899
899
  });
900
- const _sfc_main$k = defineComponent({
900
+ const _sfc_main$m = defineComponent({
901
901
  name: "IconFullscreen",
902
902
  props: {
903
903
  size: {
@@ -950,7 +950,7 @@ const _sfc_main$k = defineComponent({
950
950
  };
951
951
  }
952
952
  });
953
- const _hoisted_1$g = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
953
+ const _hoisted_1$h = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
954
954
  function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
955
955
  return openBlock(), createElementBlock("svg", {
956
956
  viewBox: "0 0 48 48",
@@ -965,9 +965,9 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
965
965
  onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onClick && _ctx.onClick(...args))
966
966
  }, _cache[1] || (_cache[1] = [
967
967
  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$g);
968
+ ]), 14, _hoisted_1$h);
969
969
  }
970
- var _IconFullscreen = /* @__PURE__ */ _export_sfc$1(_sfc_main$k, [["render", _sfc_render$5]]);
970
+ var _IconFullscreen = /* @__PURE__ */ _export_sfc$1(_sfc_main$m, [["render", _sfc_render$5]]);
971
971
  const IconFullscreen = Object.assign(_IconFullscreen, {
972
972
  install: (app, options) => {
973
973
  var _a;
@@ -975,7 +975,7 @@ const IconFullscreen = Object.assign(_IconFullscreen, {
975
975
  app.component(iconPrefix + _IconFullscreen.name, _IconFullscreen);
976
976
  }
977
977
  });
978
- const _sfc_main$j = defineComponent({
978
+ const _sfc_main$l = defineComponent({
979
979
  name: "IconMute",
980
980
  props: {
981
981
  size: {
@@ -1028,7 +1028,7 @@ const _sfc_main$j = defineComponent({
1028
1028
  };
1029
1029
  }
1030
1030
  });
1031
- const _hoisted_1$f = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
1031
+ const _hoisted_1$g = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
1032
1032
  function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
1033
1033
  return openBlock(), createElementBlock("svg", {
1034
1034
  viewBox: "0 0 48 48",
@@ -1043,9 +1043,9 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
1043
1043
  onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onClick && _ctx.onClick(...args))
1044
1044
  }, _cache[1] || (_cache[1] = [
1045
1045
  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$f);
1046
+ ]), 14, _hoisted_1$g);
1047
1047
  }
1048
- var _IconMute = /* @__PURE__ */ _export_sfc$1(_sfc_main$j, [["render", _sfc_render$4]]);
1048
+ var _IconMute = /* @__PURE__ */ _export_sfc$1(_sfc_main$l, [["render", _sfc_render$4]]);
1049
1049
  const IconMute = Object.assign(_IconMute, {
1050
1050
  install: (app, options) => {
1051
1051
  var _a;
@@ -1053,7 +1053,7 @@ const IconMute = Object.assign(_IconMute, {
1053
1053
  app.component(iconPrefix + _IconMute.name, _IconMute);
1054
1054
  }
1055
1055
  });
1056
- const _sfc_main$i = defineComponent({
1056
+ const _sfc_main$k = defineComponent({
1057
1057
  name: "IconPause",
1058
1058
  props: {
1059
1059
  size: {
@@ -1106,7 +1106,7 @@ const _sfc_main$i = defineComponent({
1106
1106
  };
1107
1107
  }
1108
1108
  });
1109
- const _hoisted_1$e = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
1109
+ const _hoisted_1$f = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
1110
1110
  function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
1111
1111
  return openBlock(), createElementBlock("svg", {
1112
1112
  viewBox: "0 0 48 48",
@@ -1126,9 +1126,9 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
1126
1126
  stroke: "none",
1127
1127
  d: "M14 12h4v24h-4zM30 12h4v24h-4z"
1128
1128
  }, null, -1)
1129
- ]), 14, _hoisted_1$e);
1129
+ ]), 14, _hoisted_1$f);
1130
1130
  }
1131
- var _IconPause = /* @__PURE__ */ _export_sfc$1(_sfc_main$i, [["render", _sfc_render$3]]);
1131
+ var _IconPause = /* @__PURE__ */ _export_sfc$1(_sfc_main$k, [["render", _sfc_render$3]]);
1132
1132
  const IconPause = Object.assign(_IconPause, {
1133
1133
  install: (app, options) => {
1134
1134
  var _a;
@@ -1136,7 +1136,7 @@ const IconPause = Object.assign(_IconPause, {
1136
1136
  app.component(iconPrefix + _IconPause.name, _IconPause);
1137
1137
  }
1138
1138
  });
1139
- const _sfc_main$h = defineComponent({
1139
+ const _sfc_main$j = defineComponent({
1140
1140
  name: "IconPlayArrow",
1141
1141
  props: {
1142
1142
  size: {
@@ -1189,7 +1189,7 @@ const _sfc_main$h = defineComponent({
1189
1189
  };
1190
1190
  }
1191
1191
  });
1192
- const _hoisted_1$d = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
1192
+ const _hoisted_1$e = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
1193
1193
  function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
1194
1194
  return openBlock(), createElementBlock("svg", {
1195
1195
  viewBox: "0 0 48 48",
@@ -1204,9 +1204,9 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
1204
1204
  onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onClick && _ctx.onClick(...args))
1205
1205
  }, _cache[1] || (_cache[1] = [
1206
1206
  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$d);
1207
+ ]), 14, _hoisted_1$e);
1208
1208
  }
1209
- var _IconPlayArrow = /* @__PURE__ */ _export_sfc$1(_sfc_main$h, [["render", _sfc_render$2]]);
1209
+ var _IconPlayArrow = /* @__PURE__ */ _export_sfc$1(_sfc_main$j, [["render", _sfc_render$2]]);
1210
1210
  const IconPlayArrow = Object.assign(_IconPlayArrow, {
1211
1211
  install: (app, options) => {
1212
1212
  var _a;
@@ -1214,7 +1214,7 @@ const IconPlayArrow = Object.assign(_IconPlayArrow, {
1214
1214
  app.component(iconPrefix + _IconPlayArrow.name, _IconPlayArrow);
1215
1215
  }
1216
1216
  });
1217
- const _sfc_main$g = defineComponent({
1217
+ const _sfc_main$i = defineComponent({
1218
1218
  name: "IconSound",
1219
1219
  props: {
1220
1220
  size: {
@@ -1267,7 +1267,7 @@ const _sfc_main$g = defineComponent({
1267
1267
  };
1268
1268
  }
1269
1269
  });
1270
- const _hoisted_1$c = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
1270
+ const _hoisted_1$d = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
1271
1271
  function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
1272
1272
  return openBlock(), createElementBlock("svg", {
1273
1273
  viewBox: "0 0 48 48",
@@ -1283,9 +1283,9 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
1283
1283
  }, _cache[1] || (_cache[1] = [
1284
1284
  createElementVNode("path", { d: "m14 16 10-9v34l-10-9H6V16h8Z" }, null, -1),
1285
1285
  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$c);
1286
+ ]), 14, _hoisted_1$d);
1287
1287
  }
1288
- var _IconSound = /* @__PURE__ */ _export_sfc$1(_sfc_main$g, [["render", _sfc_render$1]]);
1288
+ var _IconSound = /* @__PURE__ */ _export_sfc$1(_sfc_main$i, [["render", _sfc_render$1]]);
1289
1289
  const IconSound = Object.assign(_IconSound, {
1290
1290
  install: (app, options) => {
1291
1291
  var _a;
@@ -1293,7 +1293,7 @@ const IconSound = Object.assign(_IconSound, {
1293
1293
  app.component(iconPrefix + _IconSound.name, _IconSound);
1294
1294
  }
1295
1295
  });
1296
- const _sfc_main$f = defineComponent({
1296
+ const _sfc_main$h = defineComponent({
1297
1297
  name: "IconLoading",
1298
1298
  props: {
1299
1299
  size: {
@@ -1346,7 +1346,7 @@ const _sfc_main$f = defineComponent({
1346
1346
  };
1347
1347
  }
1348
1348
  });
1349
- const _hoisted_1$b = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
1349
+ const _hoisted_1$c = ["stroke-width", "stroke-linecap", "stroke-linejoin"];
1350
1350
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
1351
1351
  return openBlock(), createElementBlock("svg", {
1352
1352
  viewBox: "0 0 48 48",
@@ -1361,9 +1361,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
1361
1361
  onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onClick && _ctx.onClick(...args))
1362
1362
  }, _cache[1] || (_cache[1] = [
1363
1363
  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$b);
1364
+ ]), 14, _hoisted_1$c);
1365
1365
  }
1366
- var _IconLoading = /* @__PURE__ */ _export_sfc$1(_sfc_main$f, [["render", _sfc_render]]);
1366
+ var _IconLoading = /* @__PURE__ */ _export_sfc$1(_sfc_main$h, [["render", _sfc_render]]);
1367
1367
  const IconLoading = Object.assign(_IconLoading, {
1368
1368
  install: (app, options) => {
1369
1369
  var _a;
@@ -1371,7 +1371,7 @@ const IconLoading = Object.assign(_IconLoading, {
1371
1371
  app.component(iconPrefix + _IconLoading.name, _IconLoading);
1372
1372
  }
1373
1373
  });
1374
- const _hoisted_1$a = ["draggable"];
1374
+ const _hoisted_1$b = ["draggable"];
1375
1375
  const _hoisted_2$8 = ["src", "alt"];
1376
1376
  const _hoisted_3$6 = {
1377
1377
  key: 1,
@@ -1386,7 +1386,7 @@ const _hoisted_6$4 = {
1386
1386
  key: 3,
1387
1387
  class: "error-tip"
1388
1388
  };
1389
- const _sfc_main$e = /* @__PURE__ */ defineComponent({
1389
+ const _sfc_main$g = /* @__PURE__ */ defineComponent({
1390
1390
  ...{
1391
1391
  name: "SortableFileItem"
1392
1392
  },
@@ -1473,7 +1473,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
1473
1473
  __props.file.status === "error" ? (openBlock(), createElementBlock("div", _hoisted_6$4, [
1474
1474
  createVNode(unref(IconExclamationCircle))
1475
1475
  ])) : createCommentVNode("", true)
1476
- ], 46, _hoisted_1$a);
1476
+ ], 46, _hoisted_1$b);
1477
1477
  };
1478
1478
  }
1479
1479
  });
@@ -1484,9 +1484,9 @@ const _export_sfc = (sfc, props) => {
1484
1484
  }
1485
1485
  return target;
1486
1486
  };
1487
- const SortableFileItem = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-f3ec7e11"]]);
1488
- const _hoisted_1$9 = { class: "sortable-file-list" };
1489
- const _sfc_main$d = /* @__PURE__ */ defineComponent({
1487
+ const SortableFileItem = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-f3ec7e11"]]);
1488
+ const _hoisted_1$a = { class: "sortable-file-list" };
1489
+ const _sfc_main$f = /* @__PURE__ */ defineComponent({
1490
1490
  ...{
1491
1491
  name: "SortableFileList"
1492
1492
  },
@@ -1550,7 +1550,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
1550
1550
  emit("remove", file);
1551
1551
  };
1552
1552
  return (_ctx, _cache) => {
1553
- return openBlock(), createElementBlock("div", _hoisted_1$9, [
1553
+ return openBlock(), createElementBlock("div", _hoisted_1$a, [
1554
1554
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.fileList, (file, index) => {
1555
1555
  return openBlock(), createBlock(SortableFileItem, {
1556
1556
  key: file.uid,
@@ -1571,8 +1571,8 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
1571
1571
  };
1572
1572
  }
1573
1573
  });
1574
- const SortableFileList = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-1ede8f45"]]);
1575
- const _hoisted_1$8 = ["src", "autoplay", "loop", "muted", "preload"];
1574
+ const SortableFileList = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-1ede8f45"]]);
1575
+ const _hoisted_1$9 = ["src", "autoplay", "loop", "muted", "preload"];
1576
1576
  const _hoisted_2$7 = {
1577
1577
  key: 0,
1578
1578
  class: "play-overlay"
@@ -1589,7 +1589,7 @@ const _hoisted_8$1 = { class: "volume-slider-container" };
1589
1589
  const _hoisted_9 = { class: "time-display" };
1590
1590
  const _hoisted_10 = { class: "controls-right" };
1591
1591
  const _hoisted_11 = { class: "control-button" };
1592
- const _sfc_main$c = /* @__PURE__ */ defineComponent({
1592
+ const _sfc_main$e = /* @__PURE__ */ defineComponent({
1593
1593
  ...{
1594
1594
  name: "VideoPreview"
1595
1595
  },
@@ -1809,7 +1809,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
1809
1809
  onPause: _cache[1] || (_cache[1] = ($event) => isPlaying.value = false),
1810
1810
  onEnded: handleEnded,
1811
1811
  onVolumechange: handleVolumeChange
1812
- }, null, 40, _hoisted_1$8),
1812
+ }, null, 40, _hoisted_1$9),
1813
1813
  !isPlaying.value && !isLoading.value ? (openBlock(), createElementBlock("div", _hoisted_2$7, [
1814
1814
  createElementVNode("div", _hoisted_3$5, [
1815
1815
  createVNode(unref(IconPlayArrow), { size: 48 })
@@ -1938,11 +1938,11 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
1938
1938
  };
1939
1939
  }
1940
1940
  });
1941
- const VideoPreview = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-e8cbf700"]]);
1942
- const _hoisted_1$7 = { class: "video-modal-title" };
1941
+ const VideoPreview = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-e8cbf700"]]);
1942
+ const _hoisted_1$8 = { class: "video-modal-title" };
1943
1943
  const _hoisted_2$6 = { class: "file-name" };
1944
1944
  const _hoisted_3$4 = { class: "video-modal-content" };
1945
- const _sfc_main$b = /* @__PURE__ */ defineComponent({
1945
+ const _sfc_main$d = /* @__PURE__ */ defineComponent({
1946
1946
  ...{
1947
1947
  name: "VideoPreviewModal"
1948
1948
  },
@@ -1993,7 +1993,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
1993
1993
  onCancel: handleClose
1994
1994
  }, {
1995
1995
  title: withCtx(() => [
1996
- createElementVNode("div", _hoisted_1$7, [
1996
+ createElementVNode("div", _hoisted_1$8, [
1997
1997
  createElementVNode("span", _hoisted_2$6, toDisplayString(__props.fileName || "视频预览"), 1)
1998
1998
  ])
1999
1999
  ]),
@@ -2014,8 +2014,8 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
2014
2014
  };
2015
2015
  }
2016
2016
  });
2017
- const VideoPreviewModal = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-0ae4ec5c"]]);
2018
- const _hoisted_1$6 = { class: "basic-upload" };
2017
+ const VideoPreviewModal = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-0ae4ec5c"]]);
2018
+ const _hoisted_1$7 = { class: "basic-upload" };
2019
2019
  const _hoisted_2$5 = {
2020
2020
  key: 0,
2021
2021
  class: "upload-empty-state"
@@ -2041,7 +2041,7 @@ const _hoisted_8 = {
2041
2041
  key: 5,
2042
2042
  class: "inline-video-preview"
2043
2043
  };
2044
- const _sfc_main$a = /* @__PURE__ */ defineComponent({
2044
+ const _sfc_main$c = /* @__PURE__ */ defineComponent({
2045
2045
  ...{
2046
2046
  name: "BasicUpload",
2047
2047
  inheritAttrs: false
@@ -2574,7 +2574,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
2574
2574
  const _component_a_button = resolveComponent("a-button");
2575
2575
  const _component_a_upload = resolveComponent("a-upload");
2576
2576
  const _component_a_image = resolveComponent("a-image");
2577
- return openBlock(), createElementBlock("div", _hoisted_1$6, [
2577
+ return openBlock(), createElementBlock("div", _hoisted_1$7, [
2578
2578
  shouldShowEmptyState.value ? (openBlock(), createElementBlock("div", _hoisted_2$5, [
2579
2579
  renderSlot(_ctx.$slots, "empty", {}, () => [
2580
2580
  createTextVNode(toDisplayString(getProps.value.emptyText), 1)
@@ -2722,7 +2722,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
2722
2722
  };
2723
2723
  }
2724
2724
  });
2725
- const BasicUpload = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-507c779d"]]);
2725
+ const BasicUpload = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-507c779d"]]);
2726
2726
  function useUpload(props) {
2727
2727
  const uploadRef = ref(null);
2728
2728
  const fileListRef = ref((props == null ? void 0 : props.defaultFileList) || []);
@@ -3018,7 +3018,7 @@ function clearApiCache(api, params) {
3018
3018
  const cacheKey = getCacheKey(api, params);
3019
3019
  cacheMap.delete(cacheKey);
3020
3020
  }
3021
- const _sfc_main$9 = /* @__PURE__ */ defineComponent({
3021
+ const _sfc_main$b = /* @__PURE__ */ defineComponent({
3022
3022
  __name: "ApiSelect",
3023
3023
  props: {
3024
3024
  modelValue: {},
@@ -3129,7 +3129,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
3129
3129
  };
3130
3130
  }
3131
3131
  });
3132
- const _sfc_main$8 = /* @__PURE__ */ defineComponent({
3132
+ const _sfc_main$a = /* @__PURE__ */ defineComponent({
3133
3133
  __name: "ApiCascader",
3134
3134
  props: {
3135
3135
  modelValue: {},
@@ -3296,13 +3296,13 @@ const componentMap = {
3296
3296
  Textarea,
3297
3297
  AutoComplete,
3298
3298
  Select,
3299
- ApiSelect: _sfc_main$9,
3299
+ ApiSelect: _sfc_main$b,
3300
3300
  Radio,
3301
3301
  RadioGroup,
3302
3302
  Checkbox,
3303
3303
  CheckboxGroup,
3304
3304
  Cascader,
3305
- ApiCascader: _sfc_main$8,
3305
+ ApiCascader: _sfc_main$a,
3306
3306
  TreeSelect,
3307
3307
  DatePicker,
3308
3308
  TimePicker,
@@ -3330,6 +3330,7 @@ function getComponent(name) {
3330
3330
  }
3331
3331
  const componentsNeedPlaceholder = /* @__PURE__ */ new Set([
3332
3332
  "Input",
3333
+ "InputNumber",
3333
3334
  "InputPassword",
3334
3335
  "Textarea",
3335
3336
  "AutoComplete"
@@ -3899,7 +3900,7 @@ const rendererMap = {
3899
3900
  function getRenderer(component = "Input") {
3900
3901
  return rendererMap[component] || rendererMap.default;
3901
3902
  }
3902
- const _sfc_main$7 = /* @__PURE__ */ defineComponent({
3903
+ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
3903
3904
  ...{
3904
3905
  name: "BasicReadonlyField",
3905
3906
  inheritAttrs: false
@@ -4008,7 +4009,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
4008
4009
  };
4009
4010
  }
4010
4011
  });
4011
- const BasicReadonlyField = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-3d2d24e0"]]);
4012
+ const BasicReadonlyField = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-3d2d24e0"]]);
4012
4013
  function useReadonlyField(options) {
4013
4014
  const defaultEmptyText = (options == null ? void 0 : options.defaultEmptyText) || "-";
4014
4015
  const globalLabelMap = (options == null ? void 0 : options.globalLabelMap) || {};
@@ -4120,7 +4121,7 @@ function useReadonlyField(options) {
4120
4121
  clearCache
4121
4122
  };
4122
4123
  }
4123
- const _sfc_main$6 = /* @__PURE__ */ defineComponent({
4124
+ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
4124
4125
  ...{
4125
4126
  name: "BasicForm",
4126
4127
  inheritAttrs: false
@@ -4309,21 +4310,18 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
4309
4310
  }
4310
4311
  return (component == null ? void 0 : component.name) || "Input";
4311
4312
  };
4312
- const isVNodeChild = (value) => {
4313
- return isVNode(value) || typeof value === "string" || typeof value === "number";
4314
- };
4315
- const renderSlotContent = (slotConfig2, slotData) => {
4316
- if (isVNodeChild(slotConfig2)) {
4317
- return slotConfig2;
4313
+ const renderSlotContent = (slotConfig, slotData) => {
4314
+ if (isVNode(slotConfig)) {
4315
+ return slotConfig;
4316
+ }
4317
+ if (typeof slotConfig === "string" || typeof slotConfig === "number") {
4318
+ return h("span", String(slotConfig));
4318
4319
  }
4319
- if (typeof slotConfig2 === "function") {
4320
- return slotConfig2(slotData, formModel);
4320
+ if (typeof slotConfig === "function") {
4321
+ return slotConfig(slotData, formModel);
4321
4322
  }
4322
4323
  return null;
4323
4324
  };
4324
- const hasComponentSlots = (schema) => {
4325
- return !!(schema.componentSlots && Object.keys(schema.componentSlots).length > 0);
4326
- };
4327
4325
  const handleSubmit = async (data) => {
4328
4326
  try {
4329
4327
  submitLoading.value = true;
@@ -4551,13 +4549,14 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
4551
4549
  "onUpdate:modelValue": ($event) => formModel[schema.field] = $event,
4552
4550
  placeholder: getPlaceholderText(schema)
4553
4551
  }, { ref_for: true }, getComponentProps(schema)), createSlots({ _: 2 }, [
4554
- hasComponentSlots(schema) ? {
4555
- name: slotName,
4556
- fn: withCtx((slotData) => [
4557
- (openBlock(), createBlock(resolveDynamicComponent(renderSlotContent(slotConfig, slotData))))
4558
- ]),
4559
- key: "0"
4560
- } : void 0
4552
+ renderList(schema.componentSlots, (slotConfig, slotName) => {
4553
+ return {
4554
+ name: slotName,
4555
+ fn: withCtx((slotData) => [
4556
+ (openBlock(), createBlock(resolveDynamicComponent(renderSlotContent(slotConfig, slotData))))
4557
+ ])
4558
+ };
4559
+ })
4561
4560
  ]), 1040, ["modelValue", "onUpdate:modelValue", "placeholder"]))
4562
4561
  ];
4563
4562
  }),
@@ -4888,8 +4887,8 @@ function createFormSchema(schemas) {
4888
4887
  function mergeFormSchemas(...schemas) {
4889
4888
  return schemas.flat();
4890
4889
  }
4891
- const _hoisted_1$5 = { class: "basic-text-ellipsis" };
4892
- const _sfc_main$5 = /* @__PURE__ */ defineComponent({
4890
+ const _hoisted_1$6 = { class: "basic-text-ellipsis" };
4891
+ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
4893
4892
  __name: "BasicTextEllipsis",
4894
4893
  props: {
4895
4894
  text: { default: "" },
@@ -4977,7 +4976,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
4977
4976
  );
4978
4977
  return (_ctx, _cache) => {
4979
4978
  const _component_a_tooltip = resolveComponent("a-tooltip");
4980
- return openBlock(), createElementBlock("div", _hoisted_1$5, [
4979
+ return openBlock(), createElementBlock("div", _hoisted_1$6, [
4981
4980
  showTooltip.value ? (openBlock(), createBlock(_component_a_tooltip, mergeProps({
4982
4981
  key: 0,
4983
4982
  content: __props.text,
@@ -5003,7 +5002,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
5003
5002
  };
5004
5003
  }
5005
5004
  });
5006
- const BasicTextEllipsis = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-05b93f77"]]);
5005
+ const BasicTextEllipsis = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-05b93f77"]]);
5007
5006
  function useLocalStorage(key, initialValue) {
5008
5007
  let initialStoredValue;
5009
5008
  try {
@@ -5413,12 +5412,12 @@ function useEditFormat(options) {
5413
5412
  wrapFormatListeners
5414
5413
  };
5415
5414
  }
5416
- const _hoisted_1$4 = { class: "edit-cell" };
5415
+ const _hoisted_1$5 = { class: "edit-cell" };
5417
5416
  const _hoisted_2$4 = {
5418
5417
  key: 2,
5419
5418
  class: "edit-cell-error"
5420
5419
  };
5421
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
5420
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
5422
5421
  ...{
5423
5422
  name: "EditCell"
5424
5423
  },
@@ -5505,7 +5504,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
5505
5504
  }
5506
5505
  });
5507
5506
  return (_ctx, _cache) => {
5508
- return openBlock(), createElementBlock("div", _hoisted_1$4, [
5507
+ return openBlock(), createElementBlock("div", _hoisted_1$5, [
5509
5508
  props.column.editRender ? (openBlock(), createBlock(resolveDynamicComponent(customRenderContent.value), { key: 0 })) : (openBlock(), createBlock(resolveDynamicComponent(editComponent.value), mergeProps({ key: 1 }, mergedProps.value, {
5510
5509
  "model-value": unref(currentValue),
5511
5510
  "onUpdate:modelValue": handleChange,
@@ -5516,7 +5515,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
5516
5515
  };
5517
5516
  }
5518
5517
  });
5519
- const EditCell = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-52761074"]]);
5518
+ const EditCell = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-52761074"]]);
5520
5519
  function useEditValidation() {
5521
5520
  const validateField = async (value, column, record) => {
5522
5521
  if (!column.editRule) {
@@ -5927,7 +5926,7 @@ function useTableEdit(props, dataSource, getRowKey) {
5927
5926
  getChangedValues
5928
5927
  };
5929
5928
  }
5930
- const _hoisted_1$3 = { class: "basic-table-wrapper" };
5929
+ const _hoisted_1$4 = { class: "basic-table-wrapper" };
5931
5930
  const _hoisted_2$3 = {
5932
5931
  key: 0,
5933
5932
  class: "basic-table-search"
@@ -5946,7 +5945,7 @@ const _hoisted_6$1 = {
5946
5945
  class: "toolbar-right"
5947
5946
  };
5948
5947
  const _hoisted_7$1 = { class: "column-setting" };
5949
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
5948
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
5950
5949
  ...{
5951
5950
  name: "BasicTable"
5952
5951
  },
@@ -6016,8 +6015,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
6016
6015
  });
6017
6016
  return result;
6018
6017
  });
6019
- const getFormSlotName = (slotName2) => {
6020
- const name = slotName2.toString();
6018
+ const getFormSlotName = (slotName) => {
6019
+ const name = slotName.toString();
6021
6020
  return name.startsWith("form-") ? name.slice(5) : name;
6022
6021
  };
6023
6022
  const tableRef = ref();
@@ -6898,9 +6897,9 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
6898
6897
  const _component_a_link = resolveComponent("a-link");
6899
6898
  const _component_a_popconfirm = resolveComponent("a-popconfirm");
6900
6899
  const _component_a_table = resolveComponent("a-table");
6901
- return openBlock(), createElementBlock("div", _hoisted_1$3, [
6900
+ return openBlock(), createElementBlock("div", _hoisted_1$4, [
6902
6901
  getSearchConfig.value.show ? (openBlock(), createElementBlock("div", _hoisted_2$3, [
6903
- createVNode(unref(_sfc_main$6), mergeProps({
6902
+ createVNode(unref(_sfc_main$8), mergeProps({
6904
6903
  ref_key: "searchFormRef",
6905
6904
  ref: searchFormRef
6906
6905
  }, getSearchFormProps.value, {
@@ -7262,7 +7261,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
7262
7261
  };
7263
7262
  }
7264
7263
  });
7265
- const BasicTable = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-e0254887"]]);
7264
+ const BasicTable = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-e0254887"]]);
7266
7265
  function useTable(options = {}) {
7267
7266
  const tableRef = ref(null);
7268
7267
  const formRef = ref(null);
@@ -7613,9 +7612,9 @@ function createTableColumns(columns) {
7613
7612
  function mergeTableColumns(...columns) {
7614
7613
  return columns.flat();
7615
7614
  }
7616
- const _hoisted_1$2 = { style: { "position": "relative", "width": "100%" } };
7615
+ const _hoisted_1$3 = { style: { "position": "relative", "width": "100%" } };
7617
7616
  const _hoisted_2$2 = { key: 1 };
7618
- const _sfc_main$2 = /* @__PURE__ */ defineComponent({
7617
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
7619
7618
  ...{
7620
7619
  name: "BasicModal",
7621
7620
  inheritAttrs: false
@@ -7966,7 +7965,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
7966
7965
  } : getProps.value.title ? {
7967
7966
  name: "title",
7968
7967
  fn: withCtx(() => [
7969
- createElementVNode("div", _hoisted_1$2, [
7968
+ createElementVNode("div", _hoisted_1$3, [
7970
7969
  createElementVNode("span", {
7971
7970
  style: normalizeStyle({ display: "block", textAlign: getProps.value.titleAlign }),
7972
7971
  class: normalizeClass(["block"])
@@ -8067,7 +8066,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
8067
8066
  };
8068
8067
  }
8069
8068
  });
8070
- const BasicModal = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-ce432825"]]);
8069
+ const BasicModal = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-ce432825"]]);
8071
8070
  function useModal(props) {
8072
8071
  const modalRef = ref(null);
8073
8072
  const loadedRef = ref(false);
@@ -8225,7 +8224,7 @@ function useModalInner(callbackFn) {
8225
8224
  }
8226
8225
  ];
8227
8226
  }
8228
- const _hoisted_1$1 = { class: "basic-description" };
8227
+ const _hoisted_1$2 = { class: "basic-description" };
8229
8228
  const _hoisted_2$1 = {
8230
8229
  key: 0,
8231
8230
  class: "description-header"
@@ -8236,7 +8235,7 @@ const _hoisted_4$1 = {
8236
8235
  class: "description-extra"
8237
8236
  };
8238
8237
  const _hoisted_5$1 = { key: 1 };
8239
- const _sfc_main$1 = /* @__PURE__ */ defineComponent({
8238
+ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
8240
8239
  ...{
8241
8240
  name: "BasicDescription",
8242
8241
  inheritAttrs: false
@@ -8367,7 +8366,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
8367
8366
  const _component_a_tooltip = resolveComponent("a-tooltip");
8368
8367
  const _component_a_descriptions_item = resolveComponent("a-descriptions-item");
8369
8368
  const _component_a_descriptions = resolveComponent("a-descriptions");
8370
- return openBlock(), createElementBlock("div", _hoisted_1$1, [
8369
+ return openBlock(), createElementBlock("div", _hoisted_1$2, [
8371
8370
  getProps.value.title || _ctx.$slots.title || _ctx.$slots.extra ? (openBlock(), createElementBlock("div", _hoisted_2$1, [
8372
8371
  createElementVNode("div", _hoisted_3$1, [
8373
8372
  _ctx.$slots.title ? renderSlot(_ctx.$slots, "title", { key: 0 }, void 0, true) : getProps.value.title ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
@@ -8442,7 +8441,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
8442
8441
  };
8443
8442
  }
8444
8443
  });
8445
- const BasicDescription = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-f100005c"]]);
8444
+ const BasicDescription = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-f100005c"]]);
8446
8445
  function useDescription(props) {
8447
8446
  const descriptionRef = ref(null);
8448
8447
  const loadedRef = ref(false);
@@ -8485,7 +8484,7 @@ function useDescription(props) {
8485
8484
  }
8486
8485
  ];
8487
8486
  }
8488
- const _hoisted_1 = { class: "basic-image" };
8487
+ const _hoisted_1$1 = { class: "basic-image" };
8489
8488
  const _hoisted_2 = {
8490
8489
  key: 0,
8491
8490
  class: "basic-image-empty"
@@ -8504,7 +8503,7 @@ const _hoisted_7 = {
8504
8503
  key: 0,
8505
8504
  style: { "display": "none" }
8506
8505
  };
8507
- const _sfc_main = /* @__PURE__ */ defineComponent({
8506
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
8508
8507
  ...{
8509
8508
  name: "BasicImage"
8510
8509
  },
@@ -8584,7 +8583,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
8584
8583
  __expose(methods);
8585
8584
  return (_ctx, _cache) => {
8586
8585
  const _component_a_image = resolveComponent("a-image");
8587
- return openBlock(), createElementBlock("div", _hoisted_1, [
8586
+ return openBlock(), createElementBlock("div", _hoisted_1$1, [
8588
8587
  normalizedImages.value.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_2, [
8589
8588
  renderSlot(_ctx.$slots, "empty", {}, () => [
8590
8589
  createElementVNode("span", _hoisted_3, toDisplayString(getProps.value.emptyText), 1)
@@ -8642,7 +8641,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
8642
8641
  };
8643
8642
  }
8644
8643
  });
8645
- const BasicImage = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-8435954c"]]);
8644
+ const BasicImage = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-8435954c"]]);
8646
8645
  function useImage(options) {
8647
8646
  const imageRef = ref(null);
8648
8647
  const loadedRef = ref(false);
@@ -8689,6 +8688,215 @@ function useImage(options) {
8689
8688
  });
8690
8689
  return [register, methods];
8691
8690
  }
8691
+ const _hoisted_1 = { class: "knt-loading-overlay__content" };
8692
+ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
8693
+ ...{
8694
+ name: "LoadingOverlay",
8695
+ inheritAttrs: false
8696
+ },
8697
+ __name: "LoadingOverlay",
8698
+ props: {
8699
+ tip: { default: "" },
8700
+ zIndex: { default: 1e3 },
8701
+ maskStyle: {},
8702
+ maskClass: {},
8703
+ viewport: { type: Boolean, default: true }
8704
+ },
8705
+ setup(__props) {
8706
+ const props = __props;
8707
+ const overlayStyle = computed(() => {
8708
+ const base = {
8709
+ position: props.viewport ? "fixed" : "absolute",
8710
+ inset: 0,
8711
+ zIndex: props.zIndex,
8712
+ display: "flex",
8713
+ alignItems: "center",
8714
+ justifyContent: "center",
8715
+ backgroundColor: "rgba(255, 255, 255, 0.6)"
8716
+ };
8717
+ return base;
8718
+ });
8719
+ return (_ctx, _cache) => {
8720
+ const _component_a_spin = resolveComponent("a-spin");
8721
+ return openBlock(), createElementBlock("div", {
8722
+ class: normalizeClass(["knt-loading-overlay", __props.maskClass]),
8723
+ style: normalizeStyle([overlayStyle.value, __props.maskStyle])
8724
+ }, [
8725
+ createElementVNode("div", _hoisted_1, [
8726
+ renderSlot(_ctx.$slots, "default", {}, () => [
8727
+ createVNode(_component_a_spin, { tip: __props.tip }, null, 8, ["tip"])
8728
+ ], true)
8729
+ ])
8730
+ ], 6);
8731
+ };
8732
+ }
8733
+ });
8734
+ const LoadingOverlay = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-b8f1311d"]]);
8735
+ const _sfc_main = /* @__PURE__ */ defineComponent({
8736
+ ...{
8737
+ name: "BasicLoading",
8738
+ inheritAttrs: false
8739
+ },
8740
+ __name: "BasicLoading",
8741
+ props: {
8742
+ loading: { type: Boolean, default: false },
8743
+ mode: { default: "viewport" },
8744
+ target: {},
8745
+ scrollLock: { type: Boolean, default: void 0 },
8746
+ tip: { default: "" },
8747
+ zIndex: { default: 1e3 },
8748
+ maskStyle: {},
8749
+ maskClass: {}
8750
+ },
8751
+ setup(__props) {
8752
+ const props = __props;
8753
+ const effectiveScrollLock = computed(() => {
8754
+ if (props.scrollLock !== void 0) return props.scrollLock;
8755
+ return props.mode === "viewport";
8756
+ });
8757
+ let bodyOverflowRestore = "";
8758
+ const applyScrollLock = (lock) => {
8759
+ if (lock) {
8760
+ bodyOverflowRestore = document.body.style.overflow;
8761
+ document.body.style.overflow = "hidden";
8762
+ } else {
8763
+ document.body.style.overflow = bodyOverflowRestore || "";
8764
+ }
8765
+ };
8766
+ watch(
8767
+ () => props.loading && effectiveScrollLock.value,
8768
+ (shouldLock) => {
8769
+ applyScrollLock(!!shouldLock);
8770
+ },
8771
+ { immediate: true }
8772
+ );
8773
+ onUnmounted(() => {
8774
+ if (props.loading && effectiveScrollLock.value) {
8775
+ document.body.style.overflow = bodyOverflowRestore || "";
8776
+ }
8777
+ });
8778
+ const teleportTo = ref(null);
8779
+ const resolveTeleportTarget = () => {
8780
+ if (!props.loading) {
8781
+ teleportTo.value = null;
8782
+ return;
8783
+ }
8784
+ if (props.mode === "viewport") {
8785
+ teleportTo.value = "body";
8786
+ return;
8787
+ }
8788
+ if (props.mode === "inside" && props.target) {
8789
+ const el = typeof props.target === "string" ? document.querySelector(props.target) : props.target;
8790
+ teleportTo.value = el;
8791
+ return;
8792
+ }
8793
+ teleportTo.value = null;
8794
+ };
8795
+ watch(
8796
+ () => [props.loading, props.mode, props.target],
8797
+ resolveTeleportTarget,
8798
+ { immediate: true }
8799
+ );
8800
+ return (_ctx, _cache) => {
8801
+ const _component_a_spin = resolveComponent("a-spin");
8802
+ return __props.loading ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
8803
+ teleportTo.value ? (openBlock(), createBlock(Teleport, {
8804
+ key: 0,
8805
+ to: teleportTo.value
8806
+ }, [
8807
+ createVNode(LoadingOverlay, {
8808
+ tip: __props.tip,
8809
+ "z-index": __props.zIndex,
8810
+ viewport: __props.mode === "viewport",
8811
+ "mask-style": __props.maskStyle,
8812
+ "mask-class": __props.maskClass
8813
+ }, {
8814
+ default: withCtx(() => [
8815
+ renderSlot(_ctx.$slots, "default", {}, () => [
8816
+ createVNode(_component_a_spin, { tip: __props.tip }, null, 8, ["tip"])
8817
+ ])
8818
+ ]),
8819
+ _: 3
8820
+ }, 8, ["tip", "z-index", "viewport", "mask-style", "mask-class"])
8821
+ ], 8, ["to"])) : createCommentVNode("", true)
8822
+ ], 64)) : createCommentVNode("", true);
8823
+ };
8824
+ }
8825
+ });
8826
+ function resolveTarget(options) {
8827
+ const { mode, target } = options;
8828
+ if (mode !== "inside" || !target) return null;
8829
+ return typeof target === "string" ? document.querySelector(target) : target;
8830
+ }
8831
+ function getEffectiveScrollLock(options) {
8832
+ if (options.scrollLock !== void 0) return options.scrollLock;
8833
+ return options.mode !== "inside";
8834
+ }
8835
+ function createLoading(options = {}) {
8836
+ const mode = options.mode ?? "viewport";
8837
+ const scrollLock = getEffectiveScrollLock(options);
8838
+ let containerEl = null;
8839
+ let app = null;
8840
+ let bodyOverflowRestore = "";
8841
+ const state = reactive({
8842
+ tip: options.tip ?? "",
8843
+ zIndex: options.zIndex ?? 1e3,
8844
+ maskStyle: options.maskStyle,
8845
+ maskClass: options.maskClass,
8846
+ viewport: mode === "viewport"
8847
+ });
8848
+ const applyScrollLock = (lock) => {
8849
+ if (lock) {
8850
+ bodyOverflowRestore = document.body.style.overflow;
8851
+ document.body.style.overflow = "hidden";
8852
+ } else {
8853
+ document.body.style.overflow = bodyOverflowRestore || "";
8854
+ }
8855
+ };
8856
+ const close = () => {
8857
+ if (!app || !containerEl) return;
8858
+ app.unmount();
8859
+ app = null;
8860
+ if (containerEl.parentNode) {
8861
+ containerEl.parentNode.removeChild(containerEl);
8862
+ }
8863
+ containerEl = null;
8864
+ if (scrollLock) applyScrollLock(false);
8865
+ };
8866
+ const open = (openOptions) => {
8867
+ if (containerEl && app) {
8868
+ if ((openOptions == null ? void 0 : openOptions.tip) !== void 0) state.tip = openOptions.tip;
8869
+ return;
8870
+ }
8871
+ if (mode === "inside") {
8872
+ const target = resolveTarget(options);
8873
+ if (!target) {
8874
+ console.warn("[createLoading] inside 模式需要有效的 target");
8875
+ return;
8876
+ }
8877
+ }
8878
+ state.tip = (openOptions == null ? void 0 : openOptions.tip) ?? options.tip ?? "";
8879
+ containerEl = document.createElement("div");
8880
+ if (mode === "inside") {
8881
+ containerEl.style.cssText = "position:absolute;inset:0;overflow:hidden;pointer-events:auto;";
8882
+ const target = resolveTarget(options);
8883
+ target.appendChild(containerEl);
8884
+ } else {
8885
+ document.body.appendChild(containerEl);
8886
+ }
8887
+ app = createApp(LoadingOverlay, state);
8888
+ app.mount(containerEl);
8889
+ if (scrollLock) applyScrollLock(true);
8890
+ };
8891
+ const setTip = (tip) => {
8892
+ state.tip = tip;
8893
+ };
8894
+ return {
8895
+ open,
8896
+ close,
8897
+ setTip
8898
+ };
8899
+ }
8692
8900
  function formatDate(date, format = "YYYY-MM-DD HH:mm:ss") {
8693
8901
  const d = typeof date === "number" ? new Date(date) : date;
8694
8902
  const year = d.getFullYear();
@@ -9224,11 +9432,12 @@ function useToggle(initialValue = false) {
9224
9432
  return [value, toggle, setTrue, setFalse];
9225
9433
  }
9226
9434
  export {
9227
- _sfc_main$8 as ApiCascader,
9228
- _sfc_main$9 as ApiSelect,
9435
+ _sfc_main$a as ApiCascader,
9436
+ _sfc_main$b as ApiSelect,
9229
9437
  BasicDescription,
9230
- _sfc_main$6 as BasicForm,
9438
+ _sfc_main$8 as BasicForm,
9231
9439
  BasicImage,
9440
+ _sfc_main as BasicLoading,
9232
9441
  BasicModal,
9233
9442
  BasicReadonlyField,
9234
9443
  BasicTable,
@@ -9244,6 +9453,7 @@ export {
9244
9453
  componentMap,
9245
9454
  copyToClipboard,
9246
9455
  createFormSchema,
9456
+ createLoading,
9247
9457
  createTableColumns,
9248
9458
  debounce,
9249
9459
  diffArrays,