@dt-frames/ui 2.0.2 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/es/components/container/index.d.ts +4 -3
  2. package/es/components/container/index.js +24 -22
  3. package/es/components/container/src/slot-container.d.ts +5 -3
  4. package/es/components/curd/index.js +304 -282
  5. package/es/components/curd/src/components/Curd.d.ts +126 -331
  6. package/es/components/curd/src/props.d.ts +14 -15
  7. package/es/components/drawer/index.d.ts +2 -4
  8. package/es/components/drawer/index.js +64 -63
  9. package/es/components/drawer/src/components/DrawerHeader.d.ts +1 -3
  10. package/es/components/drawer/src/index.d.ts +2 -4
  11. package/es/components/form/index.d.ts +196 -344
  12. package/es/components/form/index.js +140 -139
  13. package/es/components/form/src/components/FormButtons.d.ts +3 -3
  14. package/es/components/form/src/components/FormItem.d.ts +156 -304
  15. package/es/components/form/src/components/formIcon.d.ts +10 -10
  16. package/es/components/form/src/components/formInputUseDialog.d.ts +5 -5
  17. package/es/components/form/src/index.d.ts +186 -334
  18. package/es/components/form/src/props.d.ts +7 -7
  19. package/es/components/form/src/types/form.type.d.ts +1 -1
  20. package/es/components/icons/index.d.ts +496 -2
  21. package/es/components/icons/src/pick-icon.d.ts +5 -5
  22. package/es/components/modal/index.js +87 -86
  23. package/es/components/modal/src/components/Modal.d.ts +108 -215
  24. package/es/components/modal/src/index.d.ts +107 -214
  25. package/es/components/source/index.js +1 -0
  26. package/es/components/table/index.js +357 -788
  27. package/es/components/table/index.less +9 -0
  28. package/es/components/table/src/components/TableAction.d.ts +1 -1
  29. package/es/components/table/src/components/TableHeader.d.ts +109 -216
  30. package/es/components/table/src/components/TableRender.d.ts +13 -9
  31. package/es/components/table/src/components/tableSetting/Download.d.ts +107 -214
  32. package/es/components/table/src/components/tableSetting/DownloadCtrl.d.ts +107 -214
  33. package/es/components/table/src/components/tableSetting/index.d.ts +107 -214
  34. package/es/components/table/src/hooks/useDataSource.d.ts +1 -2
  35. package/es/components/table/src/hooks/usePagination.d.ts +3 -118
  36. package/es/components/table/src/index.d.ts +79 -425
  37. package/es/components/table/src/props.d.ts +11 -70
  38. package/es/components/table/src/types/actions.type.d.ts +1 -2
  39. package/es/components/table/src/types/table.type.d.ts +9 -3
  40. package/es/index.d.ts +1 -1
  41. package/es/index.js +2 -3240
  42. package/es/theme/index.js +406 -393
  43. package/es/theme/src/components/header/components/logo.d.ts +0 -1
  44. package/es/theme/src/components/header/components/notify.d.ts +4 -3
  45. package/es/theme/src/components/header/components/setting-theme.d.ts +2 -1
  46. package/es/theme/src/components/header/components/size.d.ts +5 -5
  47. package/es/theme/src/components/header/components/user-info.d.ts +4 -3
  48. package/es/theme/src/components/header/index.d.ts +13 -12
  49. package/es/theme/src/components/header/multiple-header.d.ts +26 -28
  50. package/es/theme/src/hooks/useMenu.d.ts +1 -1
  51. package/es/theme/src/index.d.ts +27 -28
  52. package/es/theme/src/types/theme.type.d.ts +1 -1
  53. package/package.json +3 -2
  54. package/vite.config.ts +0 -27
@@ -1,17 +1,20 @@
1
1
  import { useApp, isFunction, isObject, error, useTimeoutFn, useSlots, useI18n, off, on, windowResizeFn, dispatchResize, isArray, deepMerge } from "@dt-frames/core";
2
+ import { reactive, ref as ref$1, watchEffect, unref, nextTick, onUnmounted, toRefs, useAttrs, createVNode, isVNode, defineComponent, computed, openBlock, createElementBlock, normalizeClass, Fragment, createBlock, withCtx, createElementVNode, createCommentVNode, getCurrentInstance as getCurrentInstance$1, inject, h as h$1, provide, onMounted as onMounted$1, normalizeStyle, resolveDynamicComponent, renderSlot, mergeProps, watch, resolveDirective, normalizeProps, renderList, withDirectives, createTextVNode, toDisplayString, createSlots, guardReactiveProps } from "vue";
2
3
  import { Tooltip, Button, FormItem, Col, Spin } from "ant-design-vue/es";
3
- import { createVNode, isVNode, defineComponent as defineComponent$1, openBlock, createElementBlock, normalizeClass, unref as unref$1, Fragment, createBlock, withCtx, createElementVNode, createCommentVNode, getCurrentInstance as getCurrentInstance$1, ref as ref$1, inject, computed as computed$1, onUnmounted as onUnmounted$1, h as h$1, normalizeStyle, resolveDynamicComponent, renderSlot, mergeProps, resolveDirective, normalizeProps, renderList, withDirectives, createTextVNode, toDisplayString, createSlots, guardReactiveProps } from "vue";
4
+ import "ant-design-vue/es/spin/style";
4
5
  import { omit } from "lodash-es";
5
- import { Modal as Modal$1 } from "ant-design-vue";
6
+ import { Modal } from "ant-design-vue";
7
+ import "ant-design-vue/es/tooltip/style";
8
+ import "ant-design-vue/es/col/style";
6
9
  import "ant-design-vue/es/form/style";
7
10
  import "ant-design-vue/es/button/style";
8
11
  const orgDialogProp = reactive({});
9
12
  const cbTransfer = reactive({});
10
13
  const dataTransfer = reactive({});
11
14
  function useModalOut() {
12
- const modal = ref(null);
13
- const loaded = ref(true);
14
- const uid = ref(null);
15
+ const modal = ref$1(null);
16
+ const loaded = ref$1(true);
17
+ const uid = ref$1(null);
15
18
  const { isProd } = useApp();
16
19
  function register(modalMethod, uuid) {
17
20
  if (!getCurrentInstance()) {
@@ -69,9 +72,9 @@ function useModalOut() {
69
72
  return [register, methods];
70
73
  }
71
74
  function useModal(props, setModalData) {
72
- const modalInstanceRef = ref(null);
75
+ const modalInstanceRef = ref$1(null);
73
76
  const currentInstance = getCurrentInstance();
74
- const uidRef = ref(null);
77
+ const uidRef = ref$1(null);
75
78
  const { isProd } = useApp();
76
79
  const getInstance = () => {
77
80
  const instance = unref(modalInstanceRef);
@@ -119,8 +122,6 @@ function useModal(props, setModalData) {
119
122
  };
120
123
  return [register, methods];
121
124
  }
122
- const _default = "";
123
- const index$2 = "";
124
125
  const basicProps = {
125
126
  t: {
126
127
  type: String
@@ -277,7 +278,7 @@ function useDragMove(context) {
277
278
  function _isSlot(s) {
278
279
  return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
279
280
  }
280
- const Modal = defineComponent({
281
+ const _sfc_main$8 = {
281
282
  name: "Modal",
282
283
  inheritAttrs: false,
283
284
  props: basicProps,
@@ -311,14 +312,13 @@ const Modal = defineComponent({
311
312
  };
312
313
  if (!propsData?.visible)
313
314
  return null;
314
- return createVNode(Modal$1, propsData, _isSlot(_slot = extendSlots(slots)) ? _slot : {
315
+ return createVNode(Modal, propsData, _isSlot(_slot = extendSlots(slots)) ? _slot : {
315
316
  default: () => [_slot]
316
317
  });
317
318
  };
318
319
  }
319
- });
320
- const index$1 = "";
321
- const _sfc_main$7 = /* @__PURE__ */ defineComponent$1({
320
+ };
321
+ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
322
322
  __name: "CloseIcon",
323
323
  props: {
324
324
  canFullscreen: { type: Boolean, default: true },
@@ -348,12 +348,12 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent$1({
348
348
  return (_ctx, _cache) => {
349
349
  const _component_ATooltip = Tooltip;
350
350
  return openBlock(), createElementBlock("div", {
351
- class: normalizeClass(["flex h-14 items-center justify-center", unref$1(getClass)])
351
+ class: normalizeClass(["flex h-14 items-center justify-center", unref(getClass)])
352
352
  }, [
353
353
  __props.canFullscreen ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
354
354
  __props.fullScreen ? (openBlock(), createBlock(_component_ATooltip, {
355
355
  key: 0,
356
- title: unref$1(t)("EXIT_FULLSCREEN"),
356
+ title: unref(t)("EXIT_FULLSCREEN"),
357
357
  placement: "bottom"
358
358
  }, {
359
359
  default: withCtx(() => [
@@ -365,7 +365,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent$1({
365
365
  _: 1
366
366
  }, 8, ["title"])) : (openBlock(), createBlock(_component_ATooltip, {
367
367
  key: 1,
368
- title: unref$1(t)("FULLSCREEN"),
368
+ title: unref(t)("FULLSCREEN"),
369
369
  placement: "bottom"
370
370
  }, {
371
371
  default: withCtx(() => [
@@ -445,7 +445,7 @@ function removeResizeListener(element, fn) {
445
445
  element.__ro__.disconnect();
446
446
  }
447
447
  }
448
- const Bar = defineComponent$1({
448
+ const Bar = defineComponent({
449
449
  name: "Bar",
450
450
  props: {
451
451
  vertical: Boolean,
@@ -456,7 +456,7 @@ const Bar = defineComponent$1({
456
456
  const instance = getCurrentInstance$1();
457
457
  const thumb = ref$1();
458
458
  const wrap = inject("scroll-bar-wrap", {});
459
- const bar = computed$1(() => {
459
+ const bar = computed(() => {
460
460
  return BAR_MAP[props.vertical ? "vertical" : "horizontal"];
461
461
  });
462
462
  const barStore = ref$1({});
@@ -501,7 +501,7 @@ const Bar = defineComponent$1({
501
501
  off(document, "mousemove", mouseMoveDocumentHandler);
502
502
  document.onselectstart = null;
503
503
  }
504
- onUnmounted$1(() => {
504
+ onUnmounted(() => {
505
505
  off(document, "mouseup", mouseUpDocumentHandler);
506
506
  });
507
507
  return () => h$1(
@@ -524,7 +524,7 @@ const Bar = defineComponent$1({
524
524
  }
525
525
  });
526
526
  const _hoisted_1$1 = { class: "scrollbar relative h-full overflow-hidden" };
527
- const _sfc_main$6 = /* @__PURE__ */ defineComponent$1({
527
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
528
528
  __name: "scroll-bar",
529
529
  props: {
530
530
  wrapClass: {
@@ -548,12 +548,12 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent$1({
548
548
  },
549
549
  setup(__props) {
550
550
  const props = __props;
551
- const sizeWidth = ref("0");
552
- const sizeHeight = ref("0");
553
- const moveX = ref(0);
554
- const moveY = ref(0);
555
- const wrap = ref();
556
- const resize = ref();
551
+ const sizeWidth = ref$1("0");
552
+ const sizeHeight = ref$1("0");
553
+ const moveX = ref$1(0);
554
+ const moveY = ref$1(0);
555
+ const wrap = ref$1();
556
+ const resize = ref$1();
557
557
  provide("scroll-bar-wrap", wrap);
558
558
  const style = computed(() => {
559
559
  let rsStyle = {};
@@ -577,7 +577,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent$1({
577
577
  sizeHeight.value = heightPercentage < 100 ? heightPercentage + "%" : "";
578
578
  sizeWidth.value = widthPercentage < 100 ? widthPercentage + "%" : "";
579
579
  };
580
- onMounted(() => {
580
+ onMounted$1(() => {
581
581
  nextTick(update);
582
582
  if (!props.noresize) {
583
583
  addResizeListener(unref(resize), update);
@@ -598,7 +598,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent$1({
598
598
  ref_key: "wrap",
599
599
  ref: wrap,
600
600
  class: normalizeClass([[__props.wrapClass, "scrollbar__wrap--hidden-default"], "h-full overflow-auto"]),
601
- style: normalizeStyle(unref$1(style)),
601
+ style: normalizeStyle(unref(style)),
602
602
  onScroll: handleScroll
603
603
  }, [
604
604
  (openBlock(), createBlock(resolveDynamicComponent(__props.tag), {
@@ -613,20 +613,20 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent$1({
613
613
  _: 3
614
614
  }, 8, ["class", "style"]))
615
615
  ], 38),
616
- createVNode(unref$1(Bar), {
617
- move: unref$1(moveX),
618
- size: unref$1(sizeWidth)
616
+ createVNode(unref(Bar), {
617
+ move: moveX.value,
618
+ size: sizeWidth.value
619
619
  }, null, 8, ["move", "size"]),
620
- createVNode(unref$1(Bar), {
620
+ createVNode(unref(Bar), {
621
621
  vertical: "",
622
- move: unref$1(moveY),
623
- size: unref$1(sizeHeight)
622
+ move: moveY.value,
623
+ size: sizeHeight.value
624
624
  }, null, 8, ["move", "size"])
625
625
  ]);
626
626
  };
627
627
  }
628
628
  });
629
- const _sfc_main$5 = /* @__PURE__ */ defineComponent$1({
629
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
630
630
  __name: "scroll-container",
631
631
  setup(__props) {
632
632
  const scrollbarRef = ref(null);
@@ -643,8 +643,8 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent$1({
643
643
  };
644
644
  }
645
645
  });
646
- const _sfc_main$4 = defineComponent({
647
- name: "slot-container",
646
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
647
+ __name: "slot-container",
648
648
  props: {
649
649
  template: {
650
650
  type: Function
@@ -653,9 +653,11 @@ const _sfc_main$4 = defineComponent({
653
653
  type: Object
654
654
  }
655
655
  },
656
- setup(props) {
657
- return () => {
658
- return h("div", [props.template(props.data)]);
656
+ setup(__props) {
657
+ const props = __props;
658
+ const Container = h("div", [props.template(props.data)]);
659
+ return (_ctx, _cache) => {
660
+ return openBlock(), createBlock(unref(Container));
659
661
  };
660
662
  }
661
663
  });
@@ -667,7 +669,7 @@ const withInstall = (comp) => {
667
669
  };
668
670
  const DtScrollContainer = withInstall(_sfc_main$5);
669
671
  withInstall(_sfc_main$4);
670
- const _sfc_main$3 = /* @__PURE__ */ defineComponent$1({
672
+ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
671
673
  __name: "ModalWrap",
672
674
  props: {
673
675
  useWrapper: { type: Boolean, default: true },
@@ -681,10 +683,10 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent$1({
681
683
  emits: ["ext-height", "height-change"],
682
684
  setup(__props, { emit: emits }) {
683
685
  const props = __props;
684
- const wrapperRef = ref(null);
685
- const wrapRef = ref(null);
686
- const realHeightRef = ref(0);
687
- const minRealHeightRef = ref(0);
686
+ const wrapperRef = ref$1(null);
687
+ const wrapRef = ref$1(null);
688
+ const realHeightRef = ref$1(0);
689
+ const minRealHeightRef = ref$1(0);
688
690
  let realHeight = 0;
689
691
  const wrapStyle = computed(() => {
690
692
  return {
@@ -755,7 +757,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent$1({
755
757
  }
756
758
  );
757
759
  return (_ctx, _cache) => {
758
- return openBlock(), createBlock(unref$1(DtScrollContainer), {
760
+ return openBlock(), createBlock(unref(DtScrollContainer), {
759
761
  ref_key: "wrapperRef",
760
762
  ref: wrapperRef
761
763
  }, {
@@ -763,7 +765,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent$1({
763
765
  createElementVNode("div", {
764
766
  ref_key: "wrapRef",
765
767
  ref: wrapRef,
766
- style: normalizeStyle(unref$1(wrapStyle))
768
+ style: normalizeStyle(unref(wrapStyle))
767
769
  }, [
768
770
  renderSlot(_ctx.$slots, "default")
769
771
  ], 4)
@@ -773,7 +775,6 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent$1({
773
775
  };
774
776
  }
775
777
  });
776
- const index = "";
777
778
  const _hoisted_1 = {
778
779
  key: 0,
779
780
  className: "preIcon pr-1"
@@ -787,7 +788,7 @@ const _hoisted_4 = /* @__PURE__ */ createElementVNode("i", { class: "text-2xl i
787
788
  const _hoisted_5 = [
788
789
  _hoisted_4
789
790
  ];
790
- const _sfc_main$2 = /* @__PURE__ */ defineComponent$1({
791
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
791
792
  __name: "FormButtons",
792
793
  props: {
793
794
  mode: {
@@ -819,7 +820,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent$1({
819
820
  setup(__props, { emit: emits }) {
820
821
  const props = __props;
821
822
  const { t } = useI18n();
822
- const advancedRef = ref(props.isAdvanced);
823
+ const advancedRef = ref$1(props.isAdvanced);
823
824
  let key = 0;
824
825
  const showAdvanceRef = computed(() => {
825
826
  return props.mode === "search" ? props.showAdvancedButton : false;
@@ -874,7 +875,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent$1({
874
875
  const _component_ACol = Col;
875
876
  const _directive_icon = resolveDirective("icon");
876
877
  const _directive_auth = resolveDirective("auth");
877
- return __props.show ? (openBlock(), createBlock(_component_ACol, normalizeProps(mergeProps({ key: 0 }, unref$1(colOpt))), {
878
+ return __props.show ? (openBlock(), createBlock(_component_ACol, normalizeProps(mergeProps({ key: 0 }, unref(colOpt))), {
878
879
  default: withCtx(() => [
879
880
  createVNode(_component_AFormItem, {
880
881
  class: "dt-form-btns",
@@ -888,9 +889,9 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent$1({
888
889
  (button.show === void 0 ? true : button.show) ? withDirectives((openBlock(), createBlock(_component_AButton, {
889
890
  type: button.type,
890
891
  class: normalizeClass(button.class),
891
- loading: button.loading,
892
+ loading: button.loading?.value,
892
893
  disabled: button.disabled,
893
- key: unref$1(key),
894
+ key: unref(key),
894
895
  onClick: ($event) => handleBtnClick(button)
895
896
  }, {
896
897
  icon: withCtx(() => [
@@ -899,7 +900,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent$1({
899
900
  ]) : createCommentVNode("", true)
900
901
  ]),
901
902
  default: withCtx(() => [
902
- createTextVNode(" " + toDisplayString(unref$1(t)(button.name)) + " ", 1),
903
+ createTextVNode(" " + toDisplayString(unref(t)(button.name)) + " ", 1),
903
904
  button.postIcon ? withDirectives((openBlock(), createElementBlock("span", _hoisted_2, null, 512)), [
904
905
  [_directive_icon, button.postIcon]
905
906
  ]) : createCommentVNode("", true)
@@ -910,16 +911,16 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent$1({
910
911
  ]) : createCommentVNode("", true)
911
912
  ], 64);
912
913
  }), 256)),
913
- unref$1(showAdvanceRef) ? (openBlock(), createBlock(_component_AButton, {
914
+ unref(showAdvanceRef) ? (openBlock(), createBlock(_component_AButton, {
914
915
  key: 0,
915
916
  type: "link",
916
917
  class: "advanced",
917
918
  onClick: toggleAdvanced
918
919
  }, {
919
920
  default: withCtx(() => [
920
- createElementVNode("span", _hoisted_3, toDisplayString(unref$1(advancedRef) ? unref$1(t)("UI.ADVANCED") : unref$1(t)("UI.EXPAND")), 1),
921
+ createElementVNode("span", _hoisted_3, toDisplayString(advancedRef.value ? unref(t)("UI.ADVANCED") : unref(t)("UI.EXPAND")), 1),
921
922
  createElementVNode("span", {
922
- class: normalizeClass(unref$1(getAdvanceClass))
923
+ class: normalizeClass(unref(getAdvanceClass))
923
924
  }, _hoisted_5, 2)
924
925
  ]),
925
926
  _: 1
@@ -933,7 +934,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent$1({
933
934
  };
934
935
  }
935
936
  });
936
- const _sfc_main$1 = /* @__PURE__ */ defineComponent$1({
937
+ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
937
938
  __name: "ModalFooter",
938
939
  props: {
939
940
  buttons: Object,
@@ -949,7 +950,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent$1({
949
950
  setup(__props, { emit: emits }) {
950
951
  const props = __props;
951
952
  const { t } = useI18n("UI");
952
- const buttonList = computed$1(() => {
953
+ const buttonList = computed(() => {
953
954
  if (props.buttons && props.buttons.length)
954
955
  return props.buttons;
955
956
  let buttonActions = [
@@ -977,7 +978,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent$1({
977
978
  renderSlot(_ctx.$slots, "appendFooter"),
978
979
  createVNode(_sfc_main$2, {
979
980
  mode: "dialog",
980
- buttonList: unref$1(buttonList),
981
+ buttonList: unref(buttonList),
981
982
  onHandleMethod: _cache[0] || (_cache[0] = ($event) => handleMethod($event))
982
983
  }, null, 8, ["buttonList"])
983
984
  ], 64);
@@ -985,7 +986,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent$1({
985
986
  }
986
987
  });
987
988
  function useFullScreen(wrapClassName) {
988
- const fullScreenRef = ref(false);
989
+ const fullScreenRef = ref$1(false);
989
990
  const getWrapClassName = computed(() => {
990
991
  const clsName = unref(wrapClassName) || "";
991
992
  const cls = unref(fullScreenRef) ? `fullscreen-modal ${clsName} ` : unref(clsName);
@@ -1002,15 +1003,15 @@ function useFullScreen(wrapClassName) {
1002
1003
  toggleFullScreen
1003
1004
  };
1004
1005
  }
1005
- const _sfc_main = /* @__PURE__ */ defineComponent$1({
1006
+ const _sfc_main = /* @__PURE__ */ defineComponent({
1006
1007
  __name: "index",
1007
1008
  props: basicProps,
1008
1009
  emits: ["visible-change", "height-change", "cancel", "save", "register", "update:visible"],
1009
1010
  setup(__props, { emit: emits }) {
1010
1011
  const props = __props;
1011
- const visibleRef = ref(false);
1012
- const propsRef = ref();
1013
- const modalWrapperRef = ref(null);
1012
+ const visibleRef = ref$1(false);
1013
+ const propsRef = ref$1();
1014
+ const modalWrapperRef = ref$1(null);
1014
1015
  const { getWrapClassName, toggleFullScreen, fullScreenRef } = useFullScreen(computed(() => unref(propsRef)?.wrapClassName));
1015
1016
  const getMergeProps = computed(() => {
1016
1017
  return {
@@ -1102,23 +1103,23 @@ const _sfc_main = /* @__PURE__ */ defineComponent$1({
1102
1103
  });
1103
1104
  return (_ctx, _cache) => {
1104
1105
  const _component_ASpin = Spin;
1105
- return openBlock(), createBlock(unref$1(Modal), mergeProps(unref$1(getBindValue), { onCancel: handleCancel }), createSlots({
1106
+ return openBlock(), createBlock(_sfc_main$8, mergeProps(unref(getBindValue), { onCancel: handleCancel }), createSlots({
1106
1107
  default: withCtx(() => [
1107
1108
  createVNode(_component_ASpin, {
1108
- spinning: unref$1(getBindValue).loading,
1109
- tip: unref$1(getBindValue).loadingTip
1109
+ spinning: unref(getBindValue).loading,
1110
+ tip: unref(getBindValue).loadingTip
1110
1111
  }, {
1111
1112
  default: withCtx(() => [
1112
1113
  createVNode(_sfc_main$3, mergeProps({
1113
- useWrapper: unref$1(getBindValue).useWrapper,
1114
- fullScreen: unref$1(fullScreenRef),
1114
+ useWrapper: unref(getBindValue).useWrapper,
1115
+ fullScreen: unref(fullScreenRef),
1115
1116
  ref_key: "modalWrapperRef",
1116
1117
  ref: modalWrapperRef,
1117
- minHeight: unref$1(getBindValue).minHeight,
1118
- height: unref$1(getWrapperHeight),
1119
- visible: unref$1(visibleRef),
1120
- modalFooterHeight: unref$1(modalFooterHeight)
1121
- }, unref$1(omit)(unref$1(getBindValue).wrapperProps, "visible", "height", "modalFooterHeight"), { onHeightChange: handleHeightChange }), {
1118
+ minHeight: unref(getBindValue).minHeight,
1119
+ height: unref(getWrapperHeight),
1120
+ visible: visibleRef.value,
1121
+ modalFooterHeight: unref(modalFooterHeight)
1122
+ }, unref(omit)(unref(getBindValue).wrapperProps, "visible", "height", "modalFooterHeight"), { onHeightChange: handleHeightChange }), {
1122
1123
  default: withCtx(() => [
1123
1124
  renderSlot(_ctx.$slots, "default")
1124
1125
  ]),
@@ -1134,10 +1135,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent$1({
1134
1135
  name: "closeIcon",
1135
1136
  fn: withCtx(() => [
1136
1137
  createVNode(_sfc_main$7, {
1137
- canFullscreen: unref$1(getBindValue).canFullscreen,
1138
- fullScreen: unref$1(fullScreenRef),
1138
+ canFullscreen: unref(getBindValue).canFullscreen,
1139
+ fullScreen: unref(fullScreenRef),
1139
1140
  onCancel: handleCancel,
1140
- onFullscreen: unref$1(toggleFullScreen)
1141
+ onFullscreen: unref(toggleFullScreen)
1141
1142
  }, null, 8, ["canFullscreen", "fullScreen", "onFullscreen"])
1142
1143
  ]),
1143
1144
  key: "0"
@@ -1145,7 +1146,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent$1({
1145
1146
  !_ctx.$slots.title ? {
1146
1147
  name: "title",
1147
1148
  fn: withCtx(() => [
1148
- createTextVNode(toDisplayString(unref$1(getMergeProps).title), 1)
1149
+ createTextVNode(toDisplayString(unref(getMergeProps).title), 1)
1149
1150
  ]),
1150
1151
  key: "1"
1151
1152
  } : void 0,
@@ -1153,11 +1154,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent$1({
1153
1154
  name: "footer",
1154
1155
  fn: withCtx(() => [
1155
1156
  createVNode(_sfc_main$1, {
1156
- buttons: unref$1(propsRef)?.footer,
1157
- showSave: unref$1(getBindValue).showOkBtn,
1158
- showCancel: unref$1(getBindValue).showCancelBtn,
1159
- okText: unref$1(getBindValue).okText,
1160
- cancelText: unref$1(getBindValue).cancelText,
1157
+ buttons: propsRef.value?.footer,
1158
+ showSave: unref(getBindValue).showOkBtn,
1159
+ showCancel: unref(getBindValue).showCancelBtn,
1160
+ okText: unref(getBindValue).okText,
1161
+ cancelText: unref(getBindValue).cancelText,
1161
1162
  onHandleSave: handleSave,
1162
1163
  onHandleCancel: handleCancel
1163
1164
  }, createSlots({ _: 2 }, [
@@ -1173,7 +1174,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent$1({
1173
1174
  ]),
1174
1175
  key: "2"
1175
1176
  } : void 0,
1176
- renderList(Object.keys(unref$1(omit)(_ctx.$slots, "default")), (item) => {
1177
+ renderList(Object.keys(unref(omit)(_ctx.$slots, "default")), (item) => {
1177
1178
  return {
1178
1179
  name: item,
1179
1180
  fn: withCtx((data) => [