@dt-frames/ui 2.0.18 → 2.0.20

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.
@@ -176,12 +176,13 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
176
176
  },
177
177
  btns: {
178
178
  type: Array,
179
- default: []
179
+ default: () => []
180
180
  },
181
181
  flag: {
182
182
  type: String
183
183
  },
184
184
  record: {
185
+ type: Object,
185
186
  default: {}
186
187
  },
187
188
  index: {
@@ -201,17 +202,17 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
201
202
  return auth;
202
203
  } else if (authPrefix && auth) {
203
204
  return `${authPrefix}:${auth}`;
204
- } else {
205
- return auth ?? null;
206
205
  }
206
+ return auth ?? null;
207
207
  };
208
208
  const { appConf } = useAppStore();
209
209
  const getExpandNum = computed(() => {
210
210
  return props2.expandNum || appConf?.ui?.table?.expandNum;
211
211
  });
212
212
  const showMore = computed(() => {
213
- if (!unref(getExpandNum))
213
+ if (!unref(getExpandNum)) {
214
214
  return false;
215
+ }
215
216
  let allAuths = DtCache.getLocal(CacheKey.AUTHS);
216
217
  let remainBtnNum = unref(actionBtns).length - unref(getExpandNum);
217
218
  let remainBtn = takeRight(unref(actionBtns), remainBtnNum);
@@ -240,7 +241,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
240
241
  return label;
241
242
  };
242
243
  watch(
243
- () => props2.btns,
244
+ () => unref(props2.btns),
244
245
  (btns) => {
245
246
  actionBtns.value = [...btns].map((it) => {
246
247
  return {
@@ -252,7 +253,8 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
252
253
  });
253
254
  },
254
255
  {
255
- immediate: true
256
+ immediate: true,
257
+ deep: true
256
258
  }
257
259
  );
258
260
  return (_ctx, _cache) => {
@@ -265,11 +267,11 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
265
267
  key: 0,
266
268
  class: normalizeClass(unref(getExpandNum) ? "dt-expand-has-collapse" : "")
267
269
  }, [
268
- (openBlock(true), createElementBlock(Fragment, null, renderList(actionBtns.value, (item, index2) => {
270
+ (openBlock(true), createElementBlock(Fragment, null, renderList(actionBtns.value, (item, index) => {
269
271
  return openBlock(), createElementBlock(Fragment, null, [
270
272
  item.ifShow ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
271
273
  unref(getExpandNum) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
272
- index2 < unref(getExpandNum) ? withDirectives((openBlock(), createElementBlock("span", {
274
+ index < unref(getExpandNum) ? withDirectives((openBlock(), createElementBlock("span", {
273
275
  key: 0,
274
276
  class: "dt-table-action-btn w-8 inline-block",
275
277
  onClick: ($event) => handleAction(item)
@@ -277,10 +279,10 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
277
279
  createTextVNode(toDisplayString(item.label()), 1)
278
280
  ], 8, _hoisted_1$8)), [
279
281
  [_directive_auth, getAuth(item.auth)]
280
- ]) : createCommentVNode("v-if", true),
281
- index2 >= unref(getExpandNum) && index2 === actionBtns.value.length - 1 ? (openBlock(), createBlock(_component_ADropdown, {
282
+ ]) : createCommentVNode("", true),
283
+ index >= unref(getExpandNum) && index === actionBtns.value.length - 1 ? (openBlock(), createBlock(_component_ADropdown, {
282
284
  key: 1,
283
- getPopupContainer: getPopupContainer$1,
285
+ "get-popup-container": getPopupContainer$1,
284
286
  trigger: ["click"]
285
287
  }, {
286
288
  overlay: withCtx(() => [
@@ -297,10 +299,10 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
297
299
  createElementVNode("span", _hoisted_4$2, toDisplayString(item1.label()), 1)
298
300
  ]),
299
301
  _: 2
300
- }, 1032, ["onClick"])) : createCommentVNode("v-if", true)
302
+ }, 1032, ["onClick"])) : createCommentVNode("", true)
301
303
  ])), [
302
304
  [_directive_auth, getAuth(item1.auth)]
303
- ]) : createCommentVNode("v-if", true)
305
+ ]) : createCommentVNode("", true)
304
306
  ], 64);
305
307
  }), 256))
306
308
  ]),
@@ -308,10 +310,10 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
308
310
  })
309
311
  ]),
310
312
  default: withCtx(() => [
311
- unref(showMore) ? (openBlock(), createElementBlock("span", _hoisted_2$3, "\u66F4\u591A")) : createCommentVNode("v-if", true)
313
+ unref(showMore) ? (openBlock(), createElementBlock("span", _hoisted_2$3, " \u66F4\u591A ")) : createCommentVNode("", true)
312
314
  ]),
313
315
  _: 1
314
- })) : createCommentVNode("v-if", true)
316
+ })) : createCommentVNode("", true)
315
317
  ], 64)) : (openBlock(), createBlock(_component_ATooltip, {
316
318
  key: 1,
317
319
  placement: "bottom"
@@ -332,12 +334,12 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
332
334
  ]),
333
335
  _: 2
334
336
  }, 1024))
335
- ], 64)) : createCommentVNode("v-if", true)
337
+ ], 64)) : createCommentVNode("", true)
336
338
  ], 64);
337
339
  }), 256))
338
340
  ], 2)) : (openBlock(), createBlock(_component_ADropdown, {
339
341
  key: 1,
340
- getPopupContainer: getPopupContainer$1,
342
+ "get-popup-container": getPopupContainer$1,
341
343
  trigger: ["click"]
342
344
  }, {
343
345
  overlay: withCtx(() => [
@@ -359,7 +361,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
359
361
  createElementVNode("span", _hoisted_8, toDisplayString(item.label()), 1)
360
362
  ]),
361
363
  _: 2
362
- }, 1032, ["onClick"])) : createCommentVNode("v-if", true)
364
+ }, 1032, ["onClick"])) : createCommentVNode("", true)
363
365
  ])), [
364
366
  [_directive_auth, getAuth(item.auth)]
365
367
  ]);
@@ -376,14 +378,6 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
376
378
  };
377
379
  }
378
380
  });
379
- const _export_sfc = (sfc, props2) => {
380
- const target = sfc.__vccOpts || sfc;
381
- for (const [key, val] of props2) {
382
- target[key] = val;
383
- }
384
- return target;
385
- };
386
- const TableAction = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/components/table/src/components/TableAction.vue"]]);
387
381
  const tableKey = Symbol("dt-page");
388
382
  function createTableInstance(instance) {
389
383
  provide(tableKey, instance);
@@ -477,9 +471,9 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
477
471
  const valueField = isCheckValue ? "checked" : "value";
478
472
  const val = unref(currentValueRef);
479
473
  let compProps = props2.column?.editComponentProps ?? {};
480
- const { record, column, index: index2 } = props2;
474
+ const { record, column, index } = props2;
481
475
  if (isFunction(compProps)) {
482
- compProps = compProps({ text: val, record, column, index: index2 }) ?? {};
476
+ compProps = compProps({ text: val, record, column, index }) ?? {};
483
477
  }
484
478
  if (unref(getComponent) === "InputNumber") {
485
479
  compProps = {
@@ -559,9 +553,8 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
559
553
  };
560
554
  }
561
555
  });
562
- const EditableCell = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/components/table/src/components/editTable/EditTableCell.vue"]]);
563
556
  function renderEditCell(column) {
564
- return ({ text: value, record, index: index2 }) => {
557
+ return ({ text: value, record, index }) => {
565
558
  record.onValid = async () => {
566
559
  if (isArray(record?.validCbs)) {
567
560
  const validFns = (record?.validCbs || []).map((fn) => fn());
@@ -589,11 +582,11 @@ function renderEditCell(column) {
589
582
  }
590
583
  return true;
591
584
  };
592
- return h(EditableCell, {
585
+ return h(_sfc_main$8, {
593
586
  value,
594
587
  record,
595
588
  column,
596
- index: index2
589
+ index
597
590
  });
598
591
  };
599
592
  }
@@ -605,8 +598,9 @@ function handleItem(item, ellipsis) {
605
598
  const { key, dataIndex, children } = item;
606
599
  item.align = item.align || align;
607
600
  if (ellipsis) {
608
- if (!key)
601
+ if (!key) {
609
602
  item.key = dataIndex && dataIndex.toString();
603
+ }
610
604
  if (!isBoolean(item.ellipsis)) {
611
605
  item = Object.assign(item, {
612
606
  ellipsis
@@ -618,8 +612,9 @@ function handleItem(item, ellipsis) {
618
612
  }
619
613
  }
620
614
  function handleChildren(children, ellipsis) {
621
- if (!children)
615
+ if (!children) {
622
616
  return;
617
+ }
623
618
  children.forEach((item) => {
624
619
  const { children: children2 } = item;
625
620
  handleItem(item, ellipsis);
@@ -642,25 +637,27 @@ function handleIndexColumn(propsRef, getPaginationRef, columns) {
642
637
  columns.splice(indIndex, 1);
643
638
  }
644
639
  });
645
- if (!pushIndexColumns)
640
+ if (!pushIndexColumns) {
646
641
  return;
642
+ }
647
643
  const isFixedLeft = columns.some((item) => item.fixed === "left");
648
644
  columns.unshift({
649
645
  flag: INDEX_FLAG,
650
646
  width: unref(getIsZH) ? 50 : 70,
651
647
  title: t("NUMBER"),
652
648
  align: "center",
653
- customRender: ({ index: index2, renderIndex, record }) => {
654
- if (virtual && record?.index)
649
+ customRender: ({ index, renderIndex, record }) => {
650
+ if (virtual && record?.index) {
655
651
  return record?.index;
652
+ }
656
653
  const getPagination = unref(getPaginationRef);
657
654
  const { appConf } = useAppStore();
658
655
  const { defaultPageSize } = appConf.ui.table;
659
656
  if (isBoolean(getPagination)) {
660
- return `${index2 + 1}`;
657
+ return `${index + 1}`;
661
658
  }
662
659
  const { current = 1, pageSize = defaultPageSize } = getPagination;
663
- return ((current < 1 ? 1 : current) - 1) * pageSize + index2 + 1;
660
+ return ((current < 1 ? 1 : current) - 1) * pageSize + index + 1;
664
661
  },
665
662
  ...isFixedLeft ? {
666
663
  fixed: "left"
@@ -672,39 +669,50 @@ function handleActionColumn(propsRef, columns) {
672
669
  const { appConf } = useAppStore();
673
670
  const { getIsZH } = useHeader();
674
671
  const { t } = useI18n("UI");
675
- let defaultButtons = [
676
- { label: t("EDIT"), icon: "mdi:text-box-edit-outline", onClick: unref(propsRef).onOpenUpdateDialog },
677
- { label: t("DELETE"), icon: "mdi:delete-outline", onClick: unref(propsRef).onDelete, color: "#ed6f6f" }
672
+ const defaultButtons = [
673
+ {
674
+ label: t("EDIT"),
675
+ icon: "mdi:text-box-edit-outline",
676
+ onClick: (row, index) => {
677
+ unref(propsRef).onOpenUpdateDialog(row, index, unref(propsRef).rowKey);
678
+ }
679
+ },
680
+ {
681
+ label: t("DELETE"),
682
+ icon: "mdi:delete-outline",
683
+ onClick: unref(propsRef).onDelete,
684
+ color: "#ed6f6f"
685
+ }
678
686
  ];
679
687
  const { operations = defaultButtons, expandActions = false, authPrefix } = unref(propsRef);
680
- if (!operations || isObject(operations) && operations?.btns && !operations?.btns?.length || isArray(operations) && !operations.length)
688
+ if (!operations || isObject(operations) && operations?.btns && !operations?.btns?.length || isArray(operations) && !operations.length) {
681
689
  return;
690
+ }
682
691
  const hasIndex = columns.findIndex((column) => column.flag === ACTION_COLUMN);
683
692
  if (hasIndex === -1) {
684
- let column = isObject(operations) ? {
693
+ const column = isObject(operations) ? {
685
694
  expand: appConf?.ui?.table?.expandActions,
686
695
  btns: defaultButtons,
687
696
  ...operations
688
697
  } : isArray(operations) ? { expand: appConf?.ui?.table?.expandActions, btns: operations } : {};
689
- let expand = column.expand ? column.expand : expandActions;
690
- let expandNum = (isObject(operations) ? operations.expandNum : appConf?.ui?.table?.expandNum) || null;
691
- let allAuths = DtCache.getLocal(CacheKey.AUTHS);
698
+ const expand = column.expand ? column.expand : expandActions;
699
+ const expandNum = (isObject(operations) ? operations.expandNum : appConf?.ui?.table?.expandNum) || null;
700
+ const allAuths = DtCache.getLocal(CacheKey.AUTHS);
692
701
  const getAuth = (auth) => {
693
702
  if (auth && auth.includes(":")) {
694
703
  return auth;
695
704
  } else if (authPrefix && auth) {
696
705
  return `${authPrefix}:${auth}`;
697
- } else {
698
- return auth ?? null;
699
706
  }
707
+ return auth ?? null;
700
708
  };
701
709
  const getWidth = () => {
702
710
  let w = 0;
703
711
  if (expand) {
704
712
  if (expandNum) {
705
713
  let showMore = false;
706
- column.btns.forEach((btn, index2) => {
707
- if (index2 < expandNum && (btn.auth && allAuths.includes(getAuth(btn.auth)) || !btn.auth)) {
714
+ column.btns.forEach((btn, index) => {
715
+ if (index < expandNum && (btn.auth && allAuths.includes(getAuth(btn.auth)) || !btn.auth)) {
708
716
  w += (unref(getIsZH) ? btn.label.length : btn.enLabel.length) * 14 + 8;
709
717
  } else if (btn.auth && allAuths.includes(getAuth(btn.auth)) || !btn.auth) {
710
718
  showMore = true;
@@ -719,7 +727,7 @@ function handleActionColumn(propsRef, columns) {
719
727
  }
720
728
  return w;
721
729
  };
722
- let columnObj = {
730
+ const columnObj = {
723
731
  fixed: "right",
724
732
  title: t("ACTIONS"),
725
733
  align: "center",
@@ -730,15 +738,18 @@ function handleActionColumn(propsRef, columns) {
730
738
  };
731
739
  columns.push({
732
740
  ...columnObj,
733
- customRender: ({ record, index: index2 }) => {
741
+ customRender: ({ record, index }) => {
734
742
  return h(
735
- TableAction,
736
- omit({
737
- ...columnObj,
738
- authPrefix,
739
- record,
740
- index: index2
741
- }, "align")
743
+ _sfc_main$9,
744
+ omit(
745
+ {
746
+ ...columnObj,
747
+ authPrefix,
748
+ record,
749
+ index
750
+ },
751
+ "align"
752
+ )
742
753
  );
743
754
  }
744
755
  });
@@ -748,9 +759,10 @@ function sortFixedColumn(columns) {
748
759
  const fixedLeftColumn = [];
749
760
  const fixedRightColumn = [];
750
761
  const defaultColumn = [];
751
- for (let column of columns) {
752
- if (column.defaultHidden)
762
+ for (const column of columns) {
763
+ if (column.defaultHidden) {
753
764
  continue;
765
+ }
754
766
  if (column.fixed === "left") {
755
767
  fixedLeftColumn.push(column);
756
768
  continue;
@@ -761,11 +773,7 @@ function sortFixedColumn(columns) {
761
773
  }
762
774
  defaultColumn.push(column);
763
775
  }
764
- return [
765
- ...fixedLeftColumn,
766
- ...defaultColumn,
767
- ...fixedRightColumn
768
- ];
776
+ return [...fixedLeftColumn, ...defaultColumn, ...fixedRightColumn];
769
777
  }
770
778
  function useColumns(propsRef, getPaginationRef, tableElRef) {
771
779
  const columnsRef = ref(unref(propsRef).columns);
@@ -810,7 +818,8 @@ function useColumns(propsRef, getPaginationRef, tableElRef) {
810
818
  }
811
819
  function addResize() {
812
820
  const { resizable, minWidth = 50, maxWidth = 700 } = unref(propsRef);
813
- let els = unref(tableElRef)?.$el.querySelectorAll(".__column"), allWidth = 0, columnAllWidth = 0, noWidthNum = 0, avgWidth = 0, scrollBarW = 10;
821
+ const els = unref(tableElRef)?.$el.querySelectorAll(".__column"), scrollBarW = 10;
822
+ let allWidth = 0, columnAllWidth = 0, noWidthNum = 0, avgWidth = 0;
814
823
  for (let i = 0; i < els?.length; i++) {
815
824
  allWidth += els[i].offsetWidth ?? 0;
816
825
  }
@@ -876,12 +885,12 @@ function useColumns(propsRef, getPaginationRef, tableElRef) {
876
885
  }
877
886
  }
878
887
  function setColumnsByDataIndex(dataIndex, value) {
879
- if (!dataIndex || !value)
888
+ if (!dataIndex || !value) {
880
889
  return;
890
+ }
881
891
  cacheColumns.forEach((item) => {
882
892
  if (item.dataIndex === dataIndex) {
883
893
  Object.assign(item, value);
884
- return;
885
894
  }
886
895
  });
887
896
  columnsRef.value = [...cacheColumns];
@@ -907,18 +916,20 @@ function useColumns(propsRef, getPaginationRef, tableElRef) {
907
916
  };
908
917
  }
909
918
  function useCustomRow(propsRef, { setSelectedRowKeys, getSelectedRowKeys, clearSelectedRowKeys, emits }) {
910
- const customRow = (record, index2) => {
919
+ const customRow = (record, index) => {
911
920
  return {
912
921
  onClick: (e) => {
913
922
  e?.stopPropagation();
914
923
  function handleClick() {
915
924
  const { rowSelection, rowKey, clickToSelectRow } = unref(propsRef);
916
- if (!rowSelection || !clickToSelectRow)
925
+ if (!rowSelection) {
917
926
  return;
927
+ }
918
928
  const keys = getSelectedRowKeys();
919
929
  const key = record[rowKey];
920
- if (!key)
930
+ if (!key) {
921
931
  return;
932
+ }
922
933
  const isCheckbox = rowSelection.type === "checkbox";
923
934
  const isRadio = rowSelection.type === "radio";
924
935
  if (clickToSelectRow) {
@@ -929,17 +940,20 @@ function useCustomRow(propsRef, { setSelectedRowKeys, getSelectedRowKeys, clearS
929
940
  setSelectedRowKeys([...keys, key]);
930
941
  }
931
942
  }
932
- if (isRadio)
943
+ if (isRadio) {
933
944
  setSelectedRowKeys([key]);
945
+ }
934
946
  return;
935
947
  }
936
948
  if (isCheckbox) {
937
- const tr = e.composedPath?.().find((dom) => dom.tagName === "TR");
938
- if (!tr)
949
+ const td = e.composedPath?.().find((dom) => dom.tagName === "TD");
950
+ if (!td) {
939
951
  return;
940
- const checkBox = tr.querySelector("input[type=checkbox]");
941
- if (!checkBox || checkBox.hasAttribute("disabled"))
952
+ }
953
+ const checkBox = td.querySelector("input[type=checkbox]");
954
+ if (!checkBox || checkBox.hasAttribute("disabled")) {
942
955
  return;
956
+ }
943
957
  if (!keys.includes(key)) {
944
958
  setSelectedRowKeys([...keys, key]);
945
959
  return;
@@ -961,19 +975,19 @@ function useCustomRow(propsRef, { setSelectedRowKeys, getSelectedRowKeys, clearS
961
975
  }
962
976
  }
963
977
  handleClick();
964
- emits("row-click", record, index2, e);
978
+ emits("row-click", record, index, e);
965
979
  },
966
980
  onDblclick: (event) => {
967
- emits("row-dbClick", record, index2, event);
981
+ emits("row-dbClick", record, index, event);
968
982
  },
969
983
  onContextmenu: (event) => {
970
- emits("row-contextmenu", record, index2, event);
984
+ emits("row-contextmenu", record, index, event);
971
985
  },
972
986
  onMouseenter: (event) => {
973
- emits("row-mouseenter", record, index2, event);
987
+ emits("row-mouseenter", record, index, event);
974
988
  },
975
989
  onMouseleave: (event) => {
976
- emits("row-mouseleave", record, index2, event);
990
+ emits("row-mouseleave", record, index, event);
977
991
  }
978
992
  };
979
993
  };
@@ -981,11 +995,7 @@ function useCustomRow(propsRef, { setSelectedRowKeys, getSelectedRowKeys, clearS
981
995
  customRow
982
996
  };
983
997
  }
984
- function useDataSource(propsRef, {
985
- getPaginationInfo,
986
- setPagination,
987
- clearSelectedRowKeys
988
- }) {
998
+ function useDataSource(propsRef, { getPaginationInfo, setPagination, clearSelectedRowKeys }) {
989
999
  const dataSourceRef = ref([]);
990
1000
  watch(
991
1001
  () => unref(propsRef).dataSource,
@@ -1026,15 +1036,18 @@ function useDataSource(propsRef, {
1026
1036
  }
1027
1037
  const { defSort, onTableChange } = unref(propsRef);
1028
1038
  const { appConf } = useAppStore();
1029
- onTableChange({
1030
- pagination: {
1031
- current: 1,
1032
- pageSize: appConf.ui.table.defaultPageSize
1039
+ onTableChange(
1040
+ {
1041
+ pagination: {
1042
+ current: 1,
1043
+ pageSize: appConf.ui.table.defaultPageSize
1044
+ },
1045
+ sort: defSort,
1046
+ filter: null,
1047
+ showBtnLoading: false
1033
1048
  },
1034
- sort: defSort,
1035
- filter: null,
1036
- showBtnLoading: false
1037
- }, false);
1049
+ false
1050
+ );
1038
1051
  function updateTableDataRecord(rowKey, record) {
1039
1052
  const row = findTableDataRecord(rowKey);
1040
1053
  if (row) {
@@ -1045,8 +1058,9 @@ function useDataSource(propsRef, {
1045
1058
  }
1046
1059
  }
1047
1060
  function findTableDataRecord(rowKey) {
1048
- if (!dataSourceRef.value || dataSourceRef.value.length == 0 || !rowKey)
1061
+ if (!dataSourceRef.value || dataSourceRef.value.length == 0 || !rowKey) {
1049
1062
  return;
1063
+ }
1050
1064
  const { childrenColumnName = "children" } = unref(propsRef);
1051
1065
  const findRow = (array) => {
1052
1066
  let ret;
@@ -1095,7 +1109,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
1095
1109
  const _component_ATooltip = Tooltip;
1096
1110
  return openBlock(), createBlock(_component_ATooltip, { placement: "top" }, {
1097
1111
  title: withCtx(() => [
1098
- !unref(isFullscreen) ? (openBlock(), createElementBlock("span", _hoisted_1$6, toDisplayString(unref(t)("FULLSCREEN")), 1)) : createCommentVNode("v-if", true)
1112
+ !unref(isFullscreen) ? (openBlock(), createElementBlock("span", _hoisted_1$6, toDisplayString(unref(t)("FULLSCREEN")), 1)) : createCommentVNode("", true)
1099
1113
  ]),
1100
1114
  default: withCtx(() => [
1101
1115
  createElementVNode("span", {
@@ -1112,7 +1126,6 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
1112
1126
  };
1113
1127
  }
1114
1128
  });
1115
- const FullscreenSetting = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/components/table/src/components/tableSetting/Fullscreen.vue"]]);
1116
1129
  const _hoisted_1$5 = { class: "column-select" };
1117
1130
  const _sfc_main$6 = /* @__PURE__ */ defineComponent({
1118
1131
  __name: "DownloadCtrl",
@@ -1184,7 +1197,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
1184
1197
  createVNode(_component_ADivider, { dashed: "" }),
1185
1198
  createVNode(_component_ARow, null, {
1186
1199
  default: withCtx(() => [
1187
- (openBlock(true), createElementBlock(Fragment, null, renderList(modalData.value, (it, index2) => {
1200
+ (openBlock(true), createElementBlock(Fragment, null, renderList(modalData.value, (it, index) => {
1188
1201
  return openBlock(), createBlock(_component_ACol, { span: 8 }, {
1189
1202
  default: withCtx(() => [
1190
1203
  createVNode(_component_ACheckbox, {
@@ -1210,7 +1223,6 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
1210
1223
  };
1211
1224
  }
1212
1225
  });
1213
- const DownloadCtrl = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/components/table/src/components/tableSetting/DownloadCtrl.vue"]]);
1214
1226
  const _hoisted_1$4 = /* @__PURE__ */ createElementVNode("span", { class: "flex" }, [
1215
1227
  /* @__PURE__ */ createElementVNode("i", { class: "i ic:baseline-download w-7 leading-7 text-center cursor-pointer" })
1216
1228
  ], -1);
@@ -1269,19 +1281,19 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
1269
1281
  createElementVNode("span", null, toDisplayString(unref(t)("EXPORT_CURRENT_PAGE")), 1)
1270
1282
  ]),
1271
1283
  _: 1
1272
- })) : createCommentVNode("v-if", true),
1284
+ })) : createCommentVNode("", true),
1273
1285
  unref(showSelectedDownload) ? (openBlock(), createBlock(_component_AMenuItem, { key: "select" }, {
1274
1286
  default: withCtx(() => [
1275
1287
  createElementVNode("span", null, toDisplayString(unref(t)("EXPORT_SELECT_COLUMN")), 1)
1276
1288
  ]),
1277
1289
  _: 1
1278
- })) : createCommentVNode("v-if", true),
1290
+ })) : createCommentVNode("", true),
1279
1291
  unref(showBackDownload) ? (openBlock(), createBlock(_component_AMenuItem, { key: "all" }, {
1280
1292
  default: withCtx(() => [
1281
1293
  createElementVNode("span", null, toDisplayString(unref(t)("EXPORT_ALL")), 1)
1282
1294
  ]),
1283
1295
  _: 1
1284
- })) : createCommentVNode("v-if", true)
1296
+ })) : createCommentVNode("", true)
1285
1297
  ]),
1286
1298
  _: 1
1287
1299
  })
@@ -1291,14 +1303,13 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
1291
1303
  ]),
1292
1304
  _: 1
1293
1305
  }),
1294
- createVNode(DownloadCtrl, { onRegister: unref(registerDialog) }, null, 8, ["onRegister"])
1306
+ createVNode(_sfc_main$6, { onRegister: unref(registerDialog) }, null, 8, ["onRegister"])
1295
1307
  ]),
1296
1308
  _: 1
1297
1309
  });
1298
1310
  };
1299
1311
  }
1300
1312
  });
1301
- const Download = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/components/table/src/components/tableSetting/Download.vue"]]);
1302
1313
  const _hoisted_1$3 = /* @__PURE__ */ createElementVNode("i", { class: "i ant-design:drag-outlined drag-icon cursor-pointer" }, null, -1);
1303
1314
  const _hoisted_2$2 = ["onClick"];
1304
1315
  const _hoisted_3$1 = ["onClick"];
@@ -1441,9 +1452,9 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
1441
1452
  return;
1442
1453
  const columns = getColumns();
1443
1454
  const isFixed = item.fixed === fixed ? false : fixed;
1444
- const index2 = columns.findIndex((col) => col.dataIndex === item.dataIndex);
1445
- if (index2 !== -1) {
1446
- columns[index2].fixed = isFixed;
1455
+ const index = columns.findIndex((col) => col.dataIndex === item.dataIndex);
1456
+ if (index !== -1) {
1457
+ columns[index].fixed = isFixed;
1447
1458
  }
1448
1459
  item.fixed = isFixed;
1449
1460
  if (isFixed && !item.width) {
@@ -1634,7 +1645,6 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
1634
1645
  };
1635
1646
  }
1636
1647
  });
1637
- const ColumnSetting = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/components/table/src/components/tableSetting/Column.vue"]]);
1638
1648
  const _hoisted_1$2 = { class: "flex dt-table-setting" };
1639
1649
  const _sfc_main$3 = /* @__PURE__ */ defineComponent({
1640
1650
  __name: "index",
@@ -1660,17 +1670,16 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
1660
1670
  }
1661
1671
  return (_ctx, _cache) => {
1662
1672
  return openBlock(), createElementBlock("div", _hoisted_1$2, [
1663
- unref(getSetting).download ? (openBlock(), createBlock(Download, normalizeProps(mergeProps({ key: 0 }, unref(getSetting))), null, 16)) : createCommentVNode("v-if", true),
1664
- unref(getSetting).setting ? (openBlock(), createBlock(ColumnSetting, {
1673
+ unref(getSetting).download ? (openBlock(), createBlock(_sfc_main$5, normalizeProps(mergeProps({ key: 0 }, unref(getSetting))), null, 16)) : createCommentVNode("", true),
1674
+ unref(getSetting).setting ? (openBlock(), createBlock(_sfc_main$4, {
1665
1675
  key: 1,
1666
1676
  onColumnsChange: handleColumnChange
1667
- })) : createCommentVNode("v-if", true),
1668
- unref(getSetting).fullscreen ? (openBlock(), createBlock(FullscreenSetting, { key: 2 })) : createCommentVNode("v-if", true)
1677
+ })) : createCommentVNode("", true),
1678
+ unref(getSetting).fullscreen ? (openBlock(), createBlock(_sfc_main$7, { key: 2 })) : createCommentVNode("", true)
1669
1679
  ]);
1670
1680
  };
1671
1681
  }
1672
1682
  });
1673
- const DtTableSetting = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/components/table/src/components/tableSetting/index.vue"]]);
1674
1683
  const _hoisted_1$1 = { class: "dt-table-header" };
1675
1684
  const _hoisted_2$1 = { class: "flex flex-row justify-between" };
1676
1685
  const _hoisted_3 = { class: "flex flex-row flex-1" };
@@ -1706,21 +1715,20 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
1706
1715
  return openBlock(), createElementBlock("div", _hoisted_1$1, [
1707
1716
  createElementVNode("div", _hoisted_2$1, [
1708
1717
  createElementVNode("div", _hoisted_3, [
1709
- unref(getActionsProps)?.buttonList.length ? (openBlock(), createBlock(unref(DtFormButtons), normalizeProps(mergeProps({ key: 0 }, unref(getActionsProps))), null, 16)) : createCommentVNode("v-if", true),
1718
+ unref(getActionsProps)?.buttonList.length ? (openBlock(), createBlock(unref(DtFormButtons), normalizeProps(mergeProps({ key: 0 }, unref(getActionsProps))), null, 16)) : createCommentVNode("", true),
1710
1719
  renderSlot(_ctx.$slots, "toolbar")
1711
1720
  ]),
1712
1721
  __props.tableSetting ? (openBlock(), createElementBlock("div", _hoisted_4, [
1713
- createVNode(DtTableSetting, { setting: __props.tableSetting }, null, 8, ["setting"])
1714
- ])) : createCommentVNode("v-if", true)
1722
+ createVNode(_sfc_main$3, { setting: __props.tableSetting }, null, 8, ["setting"])
1723
+ ])) : createCommentVNode("", true)
1715
1724
  ]),
1716
1725
  _ctx.$slots.headerTop ? (openBlock(), createElementBlock("div", _hoisted_5, [
1717
1726
  renderSlot(_ctx.$slots, "headerTop")
1718
- ])) : createCommentVNode("v-if", true)
1727
+ ])) : createCommentVNode("", true)
1719
1728
  ]);
1720
1729
  };
1721
1730
  }
1722
1731
  });
1723
- const TableHeader = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/components/table/src/components/TableHeader.vue"]]);
1724
1732
  function useTableHeader(propsRef, slots, handlers) {
1725
1733
  const { t } = useI18n("UI");
1726
1734
  const getHeaderProps = computed(() => {
@@ -1733,7 +1741,7 @@ function useTableHeader(propsRef, slots, handlers) {
1733
1741
  const hideTitle = (!toolbar || !toolbar.filter((it) => it.show ?? true).length) && !slots.toolbar && !slots.headerTop && !tableSetting;
1734
1742
  return {
1735
1743
  title: hideTitle ? null : () => h(
1736
- TableHeader,
1744
+ _sfc_main$2,
1737
1745
  {
1738
1746
  tableSetting,
1739
1747
  toolbar,
@@ -1839,8 +1847,9 @@ function useRowSelection(propsRef, emit) {
1839
1847
  const selectedRowRef = ref([]);
1840
1848
  const getRowSelectionRef = computed(() => {
1841
1849
  const { rowSelection, showCheckboxColumn, checkStrictly } = unref(propsRef);
1842
- if (!rowSelection && !showCheckboxColumn)
1850
+ if (!rowSelection && !showCheckboxColumn) {
1843
1851
  return null;
1852
+ }
1844
1853
  if (isBoolean(showCheckboxColumn)) {
1845
1854
  if (showCheckboxColumn && rowSelection) {
1846
1855
  rowSelection.type = "checkbox";
@@ -1905,8 +1914,9 @@ function useRowSelection(propsRef, emit) {
1905
1914
  const { rowSelection } = unref(propsRef);
1906
1915
  if (rowSelection) {
1907
1916
  const { onChange } = rowSelection;
1908
- if (onChange && isFunction(onChange))
1917
+ if (onChange && isFunction(onChange)) {
1909
1918
  onChange(getSelectedRowKeys(), getSelectRows());
1919
+ }
1910
1920
  }
1911
1921
  emit("selection-change", {
1912
1922
  keys: getSelectedRowKeys(),
@@ -1938,7 +1948,7 @@ function useTableScroll(propsRef, tableElRef, columnsRef, rowSelectionRef) {
1938
1948
  windowResizeFn(debounceRedoHeight, 280);
1939
1949
  watch(
1940
1950
  () => propsRef.value.dataSource,
1941
- (v) => {
1951
+ () => {
1942
1952
  debounceRedoHeight();
1943
1953
  },
1944
1954
  {
@@ -1947,8 +1957,8 @@ function useTableScroll(propsRef, tableElRef, columnsRef, rowSelectionRef) {
1947
1957
  }
1948
1958
  );
1949
1959
  function redoHeight() {
1950
- const { virtual } = unref(propsRef);
1951
- virtual ? calcTableScroll() : filterSource.value = unref(propsRef)?.dataSource;
1960
+ const { virtual, dataSource } = unref(propsRef);
1961
+ virtual ? calcTableScroll() : filterSource.value = dataSource.map((row) => new Proxy(row, {}));
1952
1962
  }
1953
1963
  const getScrollX = computed(() => {
1954
1964
  let width = 0;
@@ -1965,7 +1975,7 @@ function useTableScroll(propsRef, tableElRef, columnsRef, rowSelectionRef) {
1965
1975
  return tableWidth > width ? "100%" : width;
1966
1976
  });
1967
1977
  const hideScrollX = computed(() => {
1968
- let operations = unref(propsRef).operations;
1978
+ const operations = unref(propsRef).operations;
1969
1979
  return !operations || isObject(operations) && operations?.btns && !operations?.btns?.length || isArray(operations) && !operations.length;
1970
1980
  });
1971
1981
  const getScrollRef = computed(() => {
@@ -1990,15 +2000,15 @@ function useTableScroll(propsRef, tableElRef, columnsRef, rowSelectionRef) {
1990
2000
  on(bodyEl, "scroll", fn);
1991
2001
  }
1992
2002
  function createScrollWrap(el, prefixH) {
1993
- let data = unref(propsRef)?.dataSource?.length;
2003
+ const data = unref(propsRef)?.dataSource?.length;
1994
2004
  const { getUiSize } = useHeader();
1995
2005
  const rowHeight = TABLE_SIZE_HEIGHT[unref(getUiSize)];
1996
- let scrollWrap = el.querySelector(".tableScrollWrap");
1997
- let wrapHeight = data * rowHeight - prefixH + "px";
2006
+ const scrollWrap = el.querySelector(".tableScrollWrap");
2007
+ const wrapHeight = data * rowHeight - prefixH + "px";
1998
2008
  if (scrollWrap) {
1999
2009
  scrollWrap.style.height = wrapHeight;
2000
2010
  } else {
2001
- let div = document.createElement("div");
2011
+ const div = document.createElement("div");
2002
2012
  div.className = "tableScrollWrap";
2003
2013
  div.style.height = wrapHeight;
2004
2014
  el.insertBefore(div, el.querySelector("table")[0]);
@@ -2009,10 +2019,10 @@ function useTableScroll(propsRef, tableElRef, columnsRef, rowSelectionRef) {
2009
2019
  cancelAnimationFrame(unref(t));
2010
2020
  t.value = requestAnimationFrame(() => {
2011
2021
  const scrollTop = el.scrollTop;
2012
- let maxIndex = Math.round(scrollTop / itemH) + itemSize * 2;
2013
- let minIndex = Math.round(scrollTop / itemH) - itemSize;
2022
+ const maxIndex = Math.round(scrollTop / itemH) + itemSize * 2;
2023
+ const minIndex = Math.round(scrollTop / itemH) - itemSize;
2014
2024
  if (minIndex < 0) {
2015
- bodyEl.querySelector("table").style.transform = `translateY(0px)`;
2025
+ bodyEl.querySelector("table").style.transform = "translateY(0px)";
2016
2026
  filterSource.value = unref(propsRef)?.dataSource.slice(0, itemSize * 3);
2017
2027
  } else {
2018
2028
  bodyEl.querySelector("table").style.transform = `translateY(${minIndex * itemH}px)`;
@@ -2026,14 +2036,14 @@ function useTableScroll(propsRef, tableElRef, columnsRef, rowSelectionRef) {
2026
2036
  };
2027
2037
  }
2028
2038
  function useRows(propsRef) {
2029
- function getRowClassName(record, index2) {
2039
+ function getRowClassName(record, index) {
2030
2040
  const { striped, rowClassName } = unref(propsRef);
2031
2041
  const classNames = [];
2032
2042
  if (striped) {
2033
- classNames.push(index2 % 2 === 1 ? "table-striped" : "");
2043
+ classNames.push(index % 2 === 1 ? "table-striped" : "");
2034
2044
  }
2035
2045
  if (rowClassName && isFunction(rowClassName)) {
2036
- classNames.push(rowClassName(record, index2));
2046
+ classNames.push(rowClassName(record, index));
2037
2047
  }
2038
2048
  return classNames.join(" ");
2039
2049
  }
@@ -2063,7 +2073,7 @@ const _sfc_main$1 = {
2063
2073
  const {
2064
2074
  column,
2065
2075
  record,
2066
- index: index2
2076
+ index
2067
2077
  } = props2;
2068
2078
  const {
2069
2079
  render,
@@ -2108,21 +2118,21 @@ const _sfc_main$1 = {
2108
2118
  let txt = link.text ?? text;
2109
2119
  renderText.value = createVNode("a", {
2110
2120
  "class": "primary-color-link",
2111
- "onClick": () => link(record, index2)
2121
+ "onClick": () => link(record, index)
2112
2122
  }, [txt]);
2113
2123
  } else if (isVnode(render)) {
2114
2124
  renderText.value = createVNode(Fragment, null, [createTextVNode(" "), render, createTextVNode(" ")]);
2115
- } else if (render["setup"]) {
2125
+ } else if (render.setup) {
2116
2126
  renderText.value = createVNode(render, {
2117
2127
  ...record,
2118
2128
  text
2119
2129
  });
2120
2130
  }
2121
2131
  } else if (isFunction(render)) {
2122
- let afterRenderData = render(record, index2, text);
2132
+ let afterRenderData = render(record, index, text);
2123
2133
  if (afterRenderData.__v_isRef) {
2124
2134
  renderText = afterRenderData;
2125
- } else if (afterRenderData["setup"]) {
2135
+ } else if (afterRenderData.setup) {
2126
2136
  renderText.value = createVNode(afterRenderData, {
2127
2137
  ...record,
2128
2138
  text
@@ -2137,7 +2147,6 @@ const _sfc_main$1 = {
2137
2147
  return () => createVNode("span", null, [unref(renderText)]);
2138
2148
  }
2139
2149
  };
2140
- const TableRender = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/components/table/src/components/TableRender.vue"]]);
2141
2150
  const DEFAULT_SORT_FN = (sortInfo) => {
2142
2151
  const { field, order } = sortInfo;
2143
2152
  return field && order ? { field, order } : {};
@@ -2239,11 +2248,11 @@ const TableProps = {
2239
2248
  },
2240
2249
  onOpenUpdateDialog: {
2241
2250
  type: Function,
2242
- default: (row, index2) => ({})
2251
+ default: (row, index) => ({})
2243
2252
  },
2244
2253
  onDelete: {
2245
2254
  type: Function,
2246
- default: (row, index2) => ({})
2255
+ default: (row, index) => ({})
2247
2256
  },
2248
2257
  onDeletes: {
2249
2258
  type: Function,
@@ -2280,11 +2289,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
2280
2289
  });
2281
2290
  const { getRowClassName } = useRows(getProps);
2282
2291
  const tableCls = computed(() => {
2283
- return [
2284
- "dt-table",
2285
- "box-border",
2286
- { "dt-table-no-pagation": !unref(getProps).pagination }
2287
- ];
2292
+ return ["dt-table", "box-border", { "dt-table-no-pagation": !unref(getProps).pagination }];
2288
2293
  });
2289
2294
  const { getLoading, setLoading } = useLoading(getProps);
2290
2295
  const { getPaginationInfo, setPagination, getPagination } = usePagination(getProps);
@@ -2304,7 +2309,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
2304
2309
  getSelectedRowKeys,
2305
2310
  setSelectedRowKeys
2306
2311
  } = useRowSelection(getProps, emits);
2307
- const { getScrollRef, filterSource } = useTableScroll(getProps, tableElRef, getColumnsRef, getRowSelectionRef);
2312
+ const { getScrollRef, filterSource } = useTableScroll(
2313
+ getProps,
2314
+ tableElRef,
2315
+ getColumnsRef,
2316
+ getRowSelectionRef
2317
+ );
2308
2318
  const handlers = {
2309
2319
  onColumnsChange: (data) => {
2310
2320
  emits("columns-change", data);
@@ -2312,7 +2322,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
2312
2322
  }
2313
2323
  };
2314
2324
  const { getHeaderProps } = useTableHeader(getProps, slots, handlers);
2315
- const { customRow } = useCustomRow(getProps, { setSelectedRowKeys, getSelectedRowKeys, clearSelectedRowKeys, emits });
2325
+ const { customRow } = useCustomRow(getProps, {
2326
+ setSelectedRowKeys,
2327
+ getSelectedRowKeys,
2328
+ clearSelectedRowKeys,
2329
+ emits
2330
+ });
2316
2331
  const { handleTableChange, findTableDataRecord, updateTableDataRecord } = useDataSource(
2317
2332
  getProps,
2318
2333
  {
@@ -2380,8 +2395,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
2380
2395
  unref(innerPropsRef)?.registerInstance(tableAction);
2381
2396
  }
2382
2397
  onMounted(() => {
2383
- if (unref(getProps).autoFetch)
2398
+ if (unref(getProps).autoFetch) {
2384
2399
  unref(getProps)?.onSearch({});
2400
+ }
2385
2401
  });
2386
2402
  return (_ctx, _cache) => {
2387
2403
  const _component_ATable = Table;
@@ -2389,19 +2405,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
2389
2405
  ref_key: "tableElRef",
2390
2406
  ref: tableElRef
2391
2407
  }, unref(getBind), {
2392
- rowClassName: unref(getRowClassName),
2408
+ "row-class-name": unref(getRowClassName),
2393
2409
  onChange: unref(handleTableChange)
2394
2410
  }), createSlots({
2395
- bodyCell: withCtx(({ column, record, index: index2 }) => [
2396
- _ctx.$slots.bodyCell ? renderSlot(_ctx.$slots, "bodyCell", normalizeProps(mergeProps({ key: 0 }, { column, record, index: index2 }))) : createCommentVNode("v-if", true),
2397
- column.slot ? renderSlot(_ctx.$slots, column.slot, normalizeProps(mergeProps({ key: 1 }, { column, record, index: index2 }))) : createCommentVNode("v-if", true),
2398
- createCommentVNode(" \u9759\u6001\u7684\u6570\u636E\u53EF\u4EE5\u901A\u8FC7customRender, \u4F46\u662F\u54CD\u5E94\u5F0F\u6570\u636E, \u5F02\u6B65\u51FD\u6570,\u7EC4\u4EF6\u7B49\u9700\u8981\u4F7F\u7528bodyCell\u6E32\u67D3 "),
2399
- column?.render && !column.slot && !_ctx.$slots.bodyCell ? (openBlock(), createBlock(TableRender, {
2411
+ bodyCell: withCtx(({ column, record, index }) => [
2412
+ _ctx.$slots.bodyCell ? renderSlot(_ctx.$slots, "bodyCell", normalizeProps(mergeProps({ key: 0 }, { column, record, index }))) : createCommentVNode("", true),
2413
+ column.slot ? renderSlot(_ctx.$slots, column.slot, normalizeProps(mergeProps({ key: 1 }, { column, record, index }))) : createCommentVNode("", true),
2414
+ column?.render && !column.slot && !_ctx.$slots.bodyCell ? (openBlock(), createBlock(_sfc_main$1, {
2400
2415
  key: 2,
2401
2416
  column,
2402
2417
  record,
2403
- index: index2
2404
- }, null, 8, ["column", "record", "index"])) : createCommentVNode("v-if", true)
2418
+ index
2419
+ }, null, 8, ["column", "record", "index"])) : createCommentVNode("", true)
2405
2420
  ]),
2406
2421
  emptyText: withCtx(() => [
2407
2422
  _hoisted_1,
@@ -2417,12 +2432,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
2417
2432
  ])
2418
2433
  };
2419
2434
  })
2420
- ]), 1040, ["rowClassName", "onChange"]);
2435
+ ]), 1040, ["row-class-name", "onChange"]);
2421
2436
  };
2422
2437
  }
2423
2438
  });
2424
- const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "D:/dt/dt-frame-front/dt-frames/frames/packages/ui/src/components/table/src/index.vue"]]);
2425
2439
  export {
2426
- index as DtTable,
2440
+ _sfc_main as DtTable,
2427
2441
  useTable
2428
2442
  };