@julingbase/jly-arco-design 0.0.3 → 0.0.4

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 (86) hide show
  1. package/README.md +56 -2
  2. package/dist/arco-vue.js +16 -2
  3. package/dist/arco-vue.js.map +1 -1
  4. package/dist/arco-vue.min.js +166 -163
  5. package/dist/arco-vue.min.js.map +1 -1
  6. package/es/_components/input-label/input-label.d.ts +2 -2
  7. package/es/_components/picker/input-range.d.ts +4 -4
  8. package/es/_components/picker/input.d.ts +2 -2
  9. package/es/_components/select-view/select-view.d.ts +1 -1
  10. package/es/auto-complete/auto-complete.d.ts +3 -3
  11. package/es/auto-complete/index.d.ts +9 -9
  12. package/es/calendar/calendar.d.ts +1 -1
  13. package/es/calendar/index.d.ts +3 -3
  14. package/es/cascader/cascader-panel.d.ts +3 -3
  15. package/es/cascader/cascader.d.ts +6 -6
  16. package/es/cascader/index.d.ts +20 -20
  17. package/es/checkbox/checkbox-group.d.ts +2 -2
  18. package/es/checkbox/checkbox.d.ts +1 -1
  19. package/es/checkbox/index.d.ts +5 -5
  20. package/es/color-picker/color-picker.d.ts +1 -1
  21. package/es/color-picker/index.d.ts +3 -3
  22. package/es/date-picker/index.d.ts +7 -7
  23. package/es/date-picker/picker.d.ts +5 -5
  24. package/es/date-picker/range-picker.d.ts +7 -7
  25. package/es/descriptions/descriptions.d.ts +1 -1
  26. package/es/descriptions/index.d.ts +3 -3
  27. package/es/form/form-item.d.ts +3 -3
  28. package/es/form/index.d.ts +3 -3
  29. package/es/input/index.d.ts +8 -8
  30. package/es/input/input-password.d.ts +2 -2
  31. package/es/input/input.d.ts +2 -2
  32. package/es/input-number/index.d.ts +3 -3
  33. package/es/input-number/input-number.d.ts +1 -1
  34. package/es/input-tag/index.d.ts +18 -18
  35. package/es/input-tag/input-tag.d.ts +6 -6
  36. package/es/list/index.d.ts +3 -3
  37. package/es/list/list.d.ts +1 -1
  38. package/es/mention/index.d.ts +6 -6
  39. package/es/mention/mention.d.ts +2 -2
  40. package/es/menu/item.d.ts +1 -1
  41. package/es/menu/sub-menu-pop.d.ts +1 -1
  42. package/es/pagination/page-jumper.d.ts +3 -3
  43. package/es/pagination/page-options.d.ts +28 -28
  44. package/es/radio/index.d.ts +8 -8
  45. package/es/radio/radio-group.d.ts +2 -2
  46. package/es/radio/radio.d.ts +2 -2
  47. package/es/rate/index.d.ts +9 -9
  48. package/es/rate/rate.d.ts +3 -3
  49. package/es/select/index.d.ts +28 -28
  50. package/es/select/option.d.ts +5 -5
  51. package/es/select/select-dropdown.d.ts +1 -1
  52. package/es/select/select.d.ts +8 -8
  53. package/es/slider/index.d.ts +12 -12
  54. package/es/slider/slider-input.d.ts +3 -3
  55. package/es/slider/slider.d.ts +5 -5
  56. package/es/split/index.d.ts +3 -3
  57. package/es/split/split.d.ts +1 -1
  58. package/es/switch/index.d.ts +3 -3
  59. package/es/switch/switch.d.ts +1 -1
  60. package/es/table/index.d.ts +15 -0
  61. package/es/table/table-operation-td.d.ts +13 -13
  62. package/es/table/table.d.ts +9 -0
  63. package/es/table/table.js +16 -2
  64. package/es/tag/index.d.ts +3 -3
  65. package/es/tag/tag.d.ts +1 -1
  66. package/es/textarea/index.d.ts +6 -6
  67. package/es/textarea/textarea.d.ts +2 -2
  68. package/es/time-picker/index.d.ts +15 -15
  69. package/es/time-picker/time-picker.d.ts +7 -7
  70. package/es/transfer/index.d.ts +22 -22
  71. package/es/transfer/transfer-view.d.ts +8 -8
  72. package/es/transfer/transfer.d.ts +10 -10
  73. package/es/tree/base-node.d.ts +5 -5
  74. package/es/tree/transition-node-list.d.ts +5 -5
  75. package/es/tree-select/index.d.ts +8 -8
  76. package/es/tree-select/tree-select.d.ts +3 -3
  77. package/es/typography/edit-content.d.ts +24 -24
  78. package/es/upload/index.d.ts +3 -3
  79. package/es/upload/upload.d.ts +1 -1
  80. package/es/verification-code/index.d.ts +6 -6
  81. package/es/verification-code/verification-code.d.ts +2 -2
  82. package/json/vetur-attributes.json +2397 -2397
  83. package/json/vetur-tags.json +730 -730
  84. package/json/web-types.json +4781 -4781
  85. package/lib/table/table.js +16 -2
  86. package/package.json +2 -2
@@ -9317,25 +9317,25 @@
9317
9317
  var zh = e.defineComponent({ name: "Table", props: { columns: { type: Array, default: () => [] }, data: { type: Array, default: () => [] }, bordered: { type: [Boolean, Object], default: true }, hoverable: { type: Boolean, default: true }, stripe: { type: Boolean, default: false }, size: { type: String, default: () => {
9318
9318
  var _a2, _b;
9319
9319
  return (_b = (_a2 = e.inject(v, void 0)) == null ? void 0 : _a2.size) != null ? _b : "large";
9320
- } }, tableLayoutFixed: { type: Boolean, default: false }, loading: { type: [Boolean, Object], default: false }, rowSelection: { type: Object }, expandable: { type: Object }, scroll: { type: Object }, pagination: { type: [Boolean, Object], default: true }, pagePosition: { type: String, default: "br" }, indentSize: { type: Number, default: 16 }, rowKey: { type: String, default: "key" }, showHeader: { type: Boolean, default: true }, virtualListProps: { type: Object }, spanMethod: { type: Function }, spanAll: { type: Boolean, default: false }, components: { type: Object }, loadMore: { type: Function }, filterIconAlignLeft: { type: Boolean, default: false }, hideExpandButtonOnEmpty: { type: Boolean, default: false }, rowClass: { type: [String, Array, Object, Function] }, draggable: { type: Object }, rowNumber: { type: [Boolean, Object] }, columnResizable: { type: Boolean }, summary: { type: [Boolean, Function] }, summaryText: { type: String, default: "Summary" }, summarySpanMethod: { type: Function }, selectedKeys: { type: Array }, defaultSelectedKeys: { type: Array }, expandedKeys: { type: Array }, defaultExpandedKeys: { type: Array }, defaultExpandAllRows: { type: Boolean, default: false }, stickyHeader: { type: [Boolean, Number], default: false }, scrollbar: { type: [Object, Boolean], default: true }, showEmptyTree: { type: Boolean, default: false } }, emits: { "update:selectedKeys": (e2) => true, "update:expandedKeys": (e2) => true, expand: (e2, t2) => true, expandedChange: (e2) => true, select: (e2, t2, o2) => true, selectAll: (e2) => true, selectionChange: (e2) => true, sorterChange: (e2, t2) => true, filterChange: (e2, t2) => true, pageChange: (e2) => true, pageSizeChange: (e2) => true, change: (e2, t2, o2) => true, cellMouseEnter: (e2, t2, o2) => true, cellMouseLeave: (e2, t2, o2) => true, cellClick: (e2, t2, o2) => true, rowClick: (e2, t2) => true, headerClick: (e2, t2) => true, columnResize: (e2, t2) => true, rowDblclick: (e2, t2) => true, cellDblclick: (e2, t2, o2) => true, rowContextmenu: (e2, t2) => true, cellContextmenu: (e2, t2, o2) => true }, setup(t2, { emit: n2, slots: r2 }) {
9321
- const { columns: d2, rowKey: p2, rowSelection: m2, expandable: f2, loadMore: h2, filterIconAlignLeft: g2, selectedKeys: y2, defaultSelectedKeys: k2, expandedKeys: b2, defaultExpandedKeys: C2, defaultExpandAllRows: x2, spanMethod: w2, draggable: V2, summarySpanMethod: N2, scrollbar: B2, showEmptyTree: $2 } = e.toRefs(t2), z2 = S("table"), P2 = e.inject(v, void 0), E2 = e.computed(() => a(t2.bordered) ? { ...$h, ...t2.bordered } : { ...$h, wrapper: t2.bordered }), { children: L2, components: O2 } = Qa("TableColumn"), M2 = e.computed(() => {
9320
+ } }, tableLayoutFixed: { type: Boolean, default: false }, loading: { type: [Boolean, Object], default: false }, rowSelection: { type: Object }, expandable: { type: Object }, scroll: { type: Object }, pagination: { type: [Boolean, Object], default: true }, pagePosition: { type: String, default: "br" }, indentSize: { type: Number, default: 16 }, rowKey: { type: String, default: "key" }, showHeader: { type: Boolean, default: true }, virtualListProps: { type: Object }, spanMethod: { type: Function }, spanAll: { type: Boolean, default: false }, components: { type: Object }, loadMore: { type: Function }, filterIconAlignLeft: { type: Boolean, default: false }, hideExpandButtonOnEmpty: { type: Boolean, default: false }, rowClass: { type: [String, Array, Object, Function] }, draggable: { type: Object }, rowNumber: { type: [Boolean, Object] }, columnResizable: { type: Boolean }, summary: { type: [Boolean, Function] }, summaryText: { type: String, default: "Summary" }, summarySpanMethod: { type: Function }, selectedKeys: { type: Array }, defaultSelectedKeys: { type: Array }, expandedKeys: { type: Array }, defaultExpandedKeys: { type: Array }, defaultExpandAllRows: { type: Boolean, default: false }, stickyHeader: { type: [Boolean, Number], default: false }, scrollbar: { type: [Object, Boolean], default: true }, showEmptyTree: { type: Boolean, default: false }, enabledHeaderRowSlot: { type: Boolean, default: false } }, emits: { "update:selectedKeys": (e2) => true, "update:expandedKeys": (e2) => true, expand: (e2, t2) => true, expandedChange: (e2) => true, select: (e2, t2, o2) => true, selectAll: (e2) => true, selectionChange: (e2) => true, sorterChange: (e2, t2) => true, filterChange: (e2, t2) => true, pageChange: (e2) => true, pageSizeChange: (e2) => true, change: (e2, t2, o2) => true, cellMouseEnter: (e2, t2, o2) => true, cellMouseLeave: (e2, t2, o2) => true, cellClick: (e2, t2, o2) => true, rowClick: (e2, t2) => true, headerClick: (e2, t2) => true, columnResize: (e2, t2) => true, rowDblclick: (e2, t2) => true, cellDblclick: (e2, t2, o2) => true, rowContextmenu: (e2, t2) => true, cellContextmenu: (e2, t2, o2) => true }, setup(t2, { emit: n2, slots: r2 }) {
9321
+ const { columns: d2, rowKey: p2, rowSelection: m2, expandable: f2, loadMore: h2, filterIconAlignLeft: g2, selectedKeys: y2, defaultSelectedKeys: k2, expandedKeys: b2, defaultExpandedKeys: C2, defaultExpandAllRows: x2, spanMethod: w2, draggable: V2, summarySpanMethod: N2, scrollbar: B2, showEmptyTree: $2, enabledHeaderRowSlot: z2 } = e.toRefs(t2), P2 = S("table"), E2 = e.inject(v, void 0), L2 = e.computed(() => a(t2.bordered) ? { ...$h, ...t2.bordered } : { ...$h, wrapper: t2.bordered }), { children: O2, components: M2 } = Qa("TableColumn"), I2 = e.computed(() => {
9322
9322
  var _a2, _b;
9323
9323
  return (_b = (_a2 = m2.value) == null ? void 0 : _a2.checkStrictly) != null ? _b : true;
9324
- }), { displayScrollbar: I2, scrollbarProps: j2 } = Xo(B2), T2 = e.computed(() => {
9324
+ }), { displayScrollbar: j2, scrollbarProps: T2 } = Xo(B2), A2 = e.computed(() => {
9325
9325
  var _a2, _b, _c2, _d2;
9326
9326
  return { x: Boolean(((_a2 = t2.scroll) == null ? void 0 : _a2.x) || ((_b = t2.scroll) == null ? void 0 : _b.minWidth)), y: Boolean(((_c2 = t2.scroll) == null ? void 0 : _c2.y) || ((_d2 = t2.scroll) == null ? void 0 : _d2.maxHeight)) };
9327
- }), A2 = e.ref(), D2 = e.ref({}), { componentRef: R2, elementRef: F2 } = Uo("containerRef"), { componentRef: H2, elementRef: W2 } = Uo("containerRef"), { componentRef: K2, elementRef: q2 } = Uo("viewportRef"), { componentRef: Z2, elementRef: Y2 } = Uo("containerRef"), U2 = e.computed(() => X2.value ? Vt2.value ? q2.value : W2.value : F2.value), X2 = e.computed(() => T2.value.y || t2.stickyHeader || Vt2.value || T2.value.x && 0 === lt2.value.length), G2 = e.reactive(/* @__PURE__ */ new Map()), _2 = e.ref();
9328
- e.watch([O2, G2], ([e2, t3]) => {
9327
+ }), D2 = e.ref(), R2 = e.ref({}), { componentRef: F2, elementRef: H2 } = Uo("containerRef"), { componentRef: W2, elementRef: K2 } = Uo("containerRef"), { componentRef: q2, elementRef: Z2 } = Uo("viewportRef"), { componentRef: Y2, elementRef: U2 } = Uo("containerRef"), X2 = e.computed(() => G2.value ? Nt2.value ? Z2.value : K2.value : H2.value), G2 = e.computed(() => A2.value.y || t2.stickyHeader || Nt2.value || A2.value.x && 0 === nt2.value.length), _2 = e.reactive(/* @__PURE__ */ new Map()), Q2 = e.ref();
9328
+ e.watch([M2, _2], ([e2, t3]) => {
9329
9329
  if (e2.length > 0) {
9330
9330
  const o2 = [];
9331
9331
  e2.forEach((e3) => {
9332
9332
  const l2 = t3.get(e3);
9333
9333
  l2 && o2.push(l2);
9334
- }), _2.value = o2;
9334
+ }), Q2.value = o2;
9335
9335
  } else
9336
- _2.value = void 0;
9336
+ Q2.value = void 0;
9337
9337
  });
9338
- const Q2 = /* @__PURE__ */ new Map(), J2 = e.ref([]), ee2 = e.ref([]), { resizingColumn: te2, columnWidth: oe2, handleThMouseDown: le2 } = ((t3, o2) => {
9338
+ const J2 = /* @__PURE__ */ new Map(), ee2 = e.ref([]), te2 = e.ref([]), { resizingColumn: oe2, columnWidth: le2, handleThMouseDown: ne2 } = ((t3, o2) => {
9339
9339
  const l2 = e.ref(""), n3 = e.reactive({}), a2 = () => {
9340
9340
  l2.value = "", he(window, "mousemove", r3), he(window, "mouseup", a2), he(window, "contextmenu", a2);
9341
9341
  }, r3 = (e2) => {
@@ -9349,8 +9349,8 @@
9349
9349
  return { resizingColumn: l2, columnWidth: n3, handleThMouseDown: (e2, t4) => {
9350
9350
  t4.preventDefault(), l2.value = e2, ve(window, "mousemove", r3), ve(window, "mouseup", a2), ve(window, "contextmenu", a2);
9351
9351
  }, handleThMouseUp: a2 };
9352
- })(D2, n2);
9353
- e.watch([d2, _2, oe2], ([e2, t3]) => {
9352
+ })(R2, n2);
9353
+ e.watch([d2, Q2, le2], ([e2, t3]) => {
9354
9354
  var _a2;
9355
9355
  const n3 = ((e3, t4, n4) => {
9356
9356
  const a2 = Fv(e3);
@@ -9371,31 +9371,31 @@
9371
9371
  }
9372
9372
  };
9373
9373
  return d3(e3), c(s2) || (r3[s2].isLastLeftFixed = true, Hv(r3[s2], "left")), c(u2) || (r3[u2].isFirstRightFixed = true, Hv(r3[u2], "right")), { dataColumns: r3, groupColumns: i2 };
9374
- })((_a2 = t3 != null ? t3 : e2) != null ? _a2 : [], Q2, oe2);
9375
- J2.value = n3.dataColumns, ee2.value = n3.groupColumns;
9374
+ })((_a2 = t3 != null ? t3 : e2) != null ? _a2 : [], J2, le2);
9375
+ ee2.value = n3.dataColumns, te2.value = n3.groupColumns;
9376
9376
  }, { immediate: true, deep: true });
9377
- const ne2 = e.computed(() => ["tl", "top", "tr"].includes(t2.pagePosition)), ae2 = e.ref(false), re2 = e.ref(false), se2 = e.ref(false);
9377
+ const ae2 = e.computed(() => ["tl", "top", "tr"].includes(t2.pagePosition)), re2 = e.ref(false), se2 = e.ref(false), ce2 = e.ref(false);
9378
9378
  e.watchEffect(() => {
9379
9379
  var _a2, _b, _c2;
9380
9380
  let e2 = false, o2 = false, l2 = false;
9381
9381
  (((_a2 = t2.rowSelection) == null ? void 0 : _a2.fixed) || ((_b = t2.expandable) == null ? void 0 : _b.fixed) || ((_c2 = t2.draggable) == null ? void 0 : _c2.fixed)) && (e2 = true);
9382
- for (const t3 of J2.value)
9382
+ for (const t3 of ee2.value)
9383
9383
  "left" === t3.fixed ? (e2 = true, l2 = true) : "right" === t3.fixed && (o2 = true);
9384
- e2 !== ae2.value && (ae2.value = e2), o2 !== re2.value && (re2.value = o2), l2 !== se2.value && (se2.value = l2);
9384
+ e2 !== re2.value && (re2.value = e2), o2 !== se2.value && (se2.value = o2), l2 !== ce2.value && (ce2.value = l2);
9385
9385
  });
9386
- const ce2 = e.computed(() => {
9387
- for (const e2 of J2.value)
9386
+ const ue2 = e.computed(() => {
9387
+ for (const e2 of ee2.value)
9388
9388
  if (e2.ellipsis)
9389
9389
  return true;
9390
9390
  return false;
9391
- }), ue2 = (e2) => {
9392
- const t3 = { type: e2, page: Qe2.value, pageSize: Je2.value, sorter: be2.value, filters: fe2.value, dragTarget: "drag" === e2 ? He2.data : void 0 };
9393
- n2("change", nt2.value, t3, _e2.value);
9394
- }, de2 = (e2, t3) => {
9395
- me2.value = { ...fe2.value, [e2]: t3 }, n2("filterChange", e2, t3), ue2("filter");
9391
+ }), de2 = (e2) => {
9392
+ const t3 = { type: e2, page: Je2.value, pageSize: et2.value, sorter: Ce2.value, filters: ge2.value, dragTarget: "drag" === e2 ? We2.data : void 0 };
9393
+ n2("change", at2.value, t3, Qe2.value);
9396
9394
  }, pe2 = (e2, t3) => {
9397
- ke2.value = t3 ? { field: e2, direction: t3 } : void 0, n2("sorterChange", e2, t3), ue2("sorter");
9398
- }, { _filters: me2, computedFilters: fe2, resetFilters: ge2, clearFilters: ye2 } = (({ columns: t3, onFilterChange: o2 }) => {
9395
+ fe2.value = { ...ge2.value, [e2]: t3 }, n2("filterChange", e2, t3), de2("filter");
9396
+ }, me2 = (e2, t3) => {
9397
+ be2.value = t3 ? { field: e2, direction: t3 } : void 0, n2("sorterChange", e2, t3), de2("sorter");
9398
+ }, { _filters: fe2, computedFilters: ge2, resetFilters: ye2, clearFilters: ke2 } = (({ columns: t3, onFilterChange: o2 }) => {
9399
9399
  const l2 = e.ref(Vh(t3.value));
9400
9400
  e.watch(t3, (e2) => {
9401
9401
  const t4 = Vh(e2);
@@ -9429,7 +9429,7 @@
9429
9429
  }
9430
9430
  l2.value = a2;
9431
9431
  } };
9432
- })({ columns: J2, onFilterChange: de2 }), { _sorter: ke2, computedSorter: be2, resetSorters: Ce2, clearSorters: xe2 } = (({ columns: t3, onSorterChange: o2 }) => {
9432
+ })({ columns: ee2, onFilterChange: pe2 }), { _sorter: be2, computedSorter: Ce2, resetSorters: xe2, clearSorters: we2 } = (({ columns: t3, onSorterChange: o2 }) => {
9433
9433
  const l2 = e.ref(Nh(t3.value));
9434
9434
  e.watch(t3, (e2) => {
9435
9435
  const t4 = Nh(e2);
@@ -9454,28 +9454,28 @@
9454
9454
  for (const e2 of t3.value)
9455
9455
  e2.dataIndex && e2.sortable && o2(e2.dataIndex, "");
9456
9456
  } };
9457
- })({ columns: J2, onSorterChange: pe2 }), we2 = /* @__PURE__ */ new Set(), Se2 = e.computed(() => {
9457
+ })({ columns: ee2, onSorterChange: me2 }), Se2 = /* @__PURE__ */ new Set(), Ve2 = e.computed(() => {
9458
9458
  const e2 = [];
9459
- we2.clear();
9459
+ Se2.clear();
9460
9460
  const l2 = (t3) => {
9461
9461
  if (o(t3) && t3.length > 0)
9462
9462
  for (const o2 of t3)
9463
- e2.push(o2[p2.value]), o2.disabled && we2.add(o2[p2.value]), o2.children && l2(o2.children);
9463
+ e2.push(o2[p2.value]), o2.disabled && Se2.add(o2[p2.value]), o2.children && l2(o2.children);
9464
9464
  };
9465
9465
  return l2(t2.data), e2;
9466
- }), Ve2 = e.computed(() => {
9466
+ }), Ne2 = e.computed(() => {
9467
9467
  const e2 = [], t3 = (o2) => {
9468
9468
  for (const l2 of o2)
9469
9469
  e2.push(l2.key), l2.children && t3(l2.children);
9470
9470
  };
9471
- return t3(lt2.value), e2;
9472
- }), Ne2 = e.computed(() => {
9471
+ return t3(nt2.value), e2;
9472
+ }), Be2 = e.computed(() => {
9473
9473
  const e2 = [], t3 = (o2) => {
9474
9474
  for (const l2 of o2)
9475
9475
  l2.disabled || e2.push(l2.key), l2.children && t3(l2.children);
9476
9476
  };
9477
- return t3(lt2.value), e2;
9478
- }), { isRadio: Be2, selectedRowKeys: $e2, currentSelectedRowKeys: ze2, handleSelect: Pe2, handleSelectAllLeafs: Ee2, handleSelectAll: Le2, select: Oe2, selectAll: Me2, clearSelected: Ie2 } = (({ selectedKeys: t3, defaultSelectedKeys: o2, rowSelection: l2, currentAllRowKeys: n3, currentAllEnabledRowKeys: a2, emit: r3 }) => {
9477
+ return t3(nt2.value), e2;
9478
+ }), { isRadio: $e2, selectedRowKeys: ze2, currentSelectedRowKeys: Pe2, handleSelect: Ee2, handleSelectAllLeafs: Le2, handleSelectAll: Oe2, select: Me2, selectAll: Ie2, clearSelected: je2 } = (({ selectedKeys: t3, defaultSelectedKeys: o2, rowSelection: l2, currentAllRowKeys: n3, currentAllEnabledRowKeys: a2, emit: r3 }) => {
9479
9479
  var _a2, _b, _c2;
9480
9480
  const i2 = e.computed(() => {
9481
9481
  var _a3;
@@ -9502,7 +9502,7 @@
9502
9502
  }, clearSelected: () => {
9503
9503
  s2.value = [], r3("selectionChange", []), r3("update:selectedKeys", []);
9504
9504
  } };
9505
- })({ selectedKeys: y2, defaultSelectedKeys: k2, rowSelection: m2, currentAllRowKeys: Ve2, currentAllEnabledRowKeys: Ne2, emit: n2 }), { expandedRowKeys: je2, handleExpand: Te2, expand: Ae2, expandAll: De2 } = (({ expandedKeys: t3, defaultExpandedKeys: o2, defaultExpandAllRows: l2, expandable: n3, allRowKeys: a2, emit: r3 }) => {
9505
+ })({ selectedKeys: y2, defaultSelectedKeys: k2, rowSelection: m2, currentAllRowKeys: Ne2, currentAllEnabledRowKeys: Be2, emit: n2 }), { expandedRowKeys: Te2, handleExpand: Ae2, expand: De2, expandAll: Re2 } = (({ expandedKeys: t3, defaultExpandedKeys: o2, defaultExpandAllRows: l2, expandable: n3, allRowKeys: a2, emit: r3 }) => {
9506
9506
  var _a2, _b;
9507
9507
  const i2 = e.ref(o2.value ? o2.value : ((_a2 = n3.value) == null ? void 0 : _a2.defaultExpandedRowKeys) ? n3.value.defaultExpandedRowKeys : l2.value || ((_b = n3.value) == null ? void 0 : _b.defaultExpandAllRows) ? [...a2.value] : []), s2 = e.computed(() => {
9508
9508
  var _a3, _b2, _c2;
@@ -9518,7 +9518,7 @@
9518
9518
  const t4 = e2 ? [...a2.value] : [];
9519
9519
  i2.value = t4, r3("expandedChange", t4), r3("update:expandedKeys", t4);
9520
9520
  } };
9521
- })({ expandedKeys: b2, defaultExpandedKeys: C2, defaultExpandAllRows: x2, expandable: f2, allRowKeys: Se2, emit: n2 }), Re2 = e.reactive({}), { dragType: Fe2, dragState: He2, handleDragStart: We2, handleDragEnter: Ke2, handleDragLeave: qe2, handleDragover: Ze2, handleDragEnd: Ye2, handleDrop: Ue2 } = ((t3) => {
9521
+ })({ expandedKeys: b2, defaultExpandedKeys: C2, defaultExpandAllRows: x2, expandable: f2, allRowKeys: Ve2, emit: n2 }), Fe2 = e.reactive({}), { dragType: He2, dragState: We2, handleDragStart: Ke2, handleDragEnter: qe2, handleDragLeave: Ze2, handleDragover: Ye2, handleDragEnd: Ue2, handleDrop: Xe2 } = ((t3) => {
9522
9522
  const o2 = e.computed(() => {
9523
9523
  if (t3.value)
9524
9524
  return "handle" === t3.value.type ? "handle" : "row";
@@ -9542,22 +9542,22 @@
9542
9542
  }, handleDrop: (e2) => {
9543
9543
  n3(), e2.preventDefault();
9544
9544
  } };
9545
- })(V2), Xe2 = e.computed(() => {
9545
+ })(V2), Ge2 = e.computed(() => {
9546
9546
  var _a2;
9547
9547
  const e2 = (o2) => {
9548
9548
  const l2 = [];
9549
9549
  for (const n3 of o2) {
9550
9550
  const o3 = { raw: n3, key: n3[t2.rowKey], disabled: n3.disabled, expand: n3.expand, isLeaf: n3.isLeaf };
9551
- n3.children ? (o3.isLeaf = false, o3.children = e2(n3.children)) : t2.loadMore && !n3.isLeaf ? (o3.isLeaf = false, Re2[o3.key] && (o3.children = e2(Re2[o3.key]))) : o3.isLeaf = true, o3.hasSubtree = Boolean(o3.children ? !t2.hideExpandButtonOnEmpty || o3.children.length > 0 : t2.loadMore && !o3.isLeaf), l2.push(o3);
9551
+ n3.children ? (o3.isLeaf = false, o3.children = e2(n3.children)) : t2.loadMore && !n3.isLeaf ? (o3.isLeaf = false, Fe2[o3.key] && (o3.children = e2(Fe2[o3.key]))) : o3.isLeaf = true, o3.hasSubtree = Boolean(o3.children ? !t2.hideExpandButtonOnEmpty || o3.children.length > 0 : t2.loadMore && !o3.isLeaf), l2.push(o3);
9552
9552
  }
9553
9553
  return l2;
9554
9554
  };
9555
9555
  return e2((_a2 = t2.data) != null ? _a2 : []);
9556
- }), Ge2 = e.computed(() => {
9556
+ }), _e2 = e.computed(() => {
9557
9557
  const e2 = (t3) => t3.filter((t4) => !!((e3) => {
9558
9558
  var _a2, _b;
9559
- for (const t5 of Object.keys(fe2.value)) {
9560
- const o2 = fe2.value[t5], l2 = Q2.get(t5);
9559
+ for (const t5 of Object.keys(ge2.value)) {
9560
+ const o2 = ge2.value[t5], l2 = J2.get(t5);
9561
9561
  if (l2 && ((_a2 = l2.filterable) == null ? void 0 : _a2.filter) && o2.length > 0) {
9562
9562
  const t6 = (_b = l2.filterable) == null ? void 0 : _b.filter(o2, e3.raw);
9563
9563
  if (!t6)
@@ -9566,15 +9566,15 @@
9566
9566
  }
9567
9567
  return true;
9568
9568
  })(t4) && (t4.children && (t4.children = e2(t4.children)), true));
9569
- return Object.keys(fe2.value).length > 0 ? e2(Xe2.value) : Xe2.value;
9570
- }), _e2 = e.computed(() => {
9569
+ return Object.keys(ge2.value).length > 0 ? e2(Ge2.value) : Ge2.value;
9570
+ }), Qe2 = e.computed(() => {
9571
9571
  var _a2, _b, _c2;
9572
- const e2 = Gv(Ge2.value);
9572
+ const e2 = Gv(_e2.value);
9573
9573
  if (e2.length > 0) {
9574
- if ((_a2 = be2.value) == null ? void 0 : _a2.field) {
9575
- const t4 = Q2.get(be2.value.field);
9574
+ if ((_a2 = Ce2.value) == null ? void 0 : _a2.field) {
9575
+ const t4 = J2.get(Ce2.value.field);
9576
9576
  if (t4 && true !== ((_b = t4.sortable) == null ? void 0 : _b.sorter)) {
9577
- const { field: o3, direction: l2 } = be2.value;
9577
+ const { field: o3, direction: l2 } = Ce2.value;
9578
9578
  e2.sort((e3, n3) => {
9579
9579
  var _a3;
9580
9580
  const a2 = Js(e3.raw, o3), r3 = Js(n3.raw, o3);
@@ -9585,8 +9585,8 @@
9585
9585
  });
9586
9586
  }
9587
9587
  }
9588
- const { sourcePath: t3, targetPath: o2 } = He2;
9589
- if (He2.dragging && o2.length && o2.toString() !== t3.toString() && t3.length === o2.length && t3.slice(0, -1).toString() === o2.slice(0, -1).toString()) {
9588
+ const { sourcePath: t3, targetPath: o2 } = We2;
9589
+ if (We2.dragging && o2.length && o2.toString() !== t3.toString() && t3.length === o2.length && t3.slice(0, -1).toString() === o2.slice(0, -1).toString()) {
9590
9590
  let l2 = e2;
9591
9591
  for (let e3 = 0; e3 < t3.length; e3++) {
9592
9592
  const n3 = t3[e3];
@@ -9599,7 +9599,7 @@
9599
9599
  }
9600
9600
  }
9601
9601
  return e2;
9602
- }), { page: Qe2, pageSize: Je2, handlePageChange: et2, handlePageSizeChange: tt2 } = ((t3, o2) => {
9602
+ }), { page: Je2, pageSize: et2, handlePageChange: tt2, handlePageSizeChange: ot2 } = ((t3, o2) => {
9603
9603
  var _a2, _b;
9604
9604
  const l2 = e.ref(a(t3.pagination) ? (_a2 = t3.pagination.defaultCurrent) != null ? _a2 : 1 : 1), n3 = e.ref(a(t3.pagination) ? (_b = t3.pagination.defaultPageSize) != null ? _b : 10 : 10), r3 = e.computed(() => {
9605
9605
  var _a3;
@@ -9613,20 +9613,20 @@
9613
9613
  }, handlePageSizeChange: (e2) => {
9614
9614
  n3.value = e2, o2("pageSizeChange", e2);
9615
9615
  } };
9616
- })(t2, n2), ot2 = e.computed(() => {
9616
+ })(t2, n2), lt2 = e.computed(() => {
9617
9617
  var _a2, _b;
9618
9618
  return (_b = (_a2 = m2.value) == null ? void 0 : _a2.onlyCurrent) != null ? _b : false;
9619
9619
  });
9620
- e.watch(Qe2, (e2, t3) => {
9621
- e2 !== t3 && ot2.value && Ie2();
9620
+ e.watch(Je2, (e2, t3) => {
9621
+ e2 !== t3 && lt2.value && je2();
9622
9622
  });
9623
- const lt2 = e.computed(() => t2.pagination && _e2.value.length > Je2.value ? _e2.value.slice((Qe2.value - 1) * Je2.value, Qe2.value * Je2.value) : _e2.value), nt2 = e.computed(() => _v(lt2.value)), at2 = (e2) => e2 && e2.length > 0 ? e2.map((e3) => ({ raw: e3, key: e3[t2.rowKey] })) : [], rt2 = e.computed(() => t2.summary ? u(t2.summary) ? at2(t2.summary({ columns: J2.value, data: nt2.value })) : at2([J2.value.reduce((e2, o2, n3) => {
9623
+ const nt2 = e.computed(() => t2.pagination && Qe2.value.length > et2.value ? Qe2.value.slice((Je2.value - 1) * et2.value, Je2.value * et2.value) : Qe2.value), at2 = e.computed(() => _v(nt2.value)), rt2 = (e2) => e2 && e2.length > 0 ? e2.map((e3) => ({ raw: e3, key: e3[t2.rowKey] })) : [], it2 = e.computed(() => t2.summary ? u(t2.summary) ? rt2(t2.summary({ columns: ee2.value, data: at2.value })) : rt2([ee2.value.reduce((e2, o2, n3) => {
9624
9624
  if (o2.dataIndex)
9625
9625
  if (0 === n3)
9626
9626
  ec(e2, o2.dataIndex, t2.summaryText, { addPath: true });
9627
9627
  else {
9628
9628
  let t3 = 0, n4 = false;
9629
- lt2.value.forEach((e3) => {
9629
+ nt2.value.forEach((e3) => {
9630
9630
  if (o2.dataIndex) {
9631
9631
  const a2 = Js(e3.raw, o2.dataIndex);
9632
9632
  s(a2) ? t3 += a2 : c(a2) || l(a2) || (n4 = true);
@@ -9634,199 +9634,202 @@
9634
9634
  }), ec(e2, o2.dataIndex, n4 ? "" : t3, { addPath: true });
9635
9635
  }
9636
9636
  return e2;
9637
- }, {})]) : []), it2 = e.ref(0), st2 = e.ref(true), ct2 = e.ref(true), ut2 = () => {
9637
+ }, {})]) : []), st2 = e.ref(0), ct2 = e.ref(true), ut2 = e.ref(true), dt2 = () => {
9638
9638
  let e2 = true, t3 = true;
9639
- const o2 = U2.value;
9640
- o2 && (e2 = 0 === it2.value, t3 = Math.ceil(it2.value + o2.offsetWidth) >= o2.scrollWidth), e2 !== st2.value && (st2.value = e2), t3 !== ct2.value && (ct2.value = t3);
9641
- }, dt2 = (e2) => {
9642
- e2.target.scrollLeft !== it2.value && (it2.value = e2.target.scrollLeft), ut2();
9639
+ const o2 = X2.value;
9640
+ o2 && (e2 = 0 === st2.value, t3 = Math.ceil(st2.value + o2.offsetWidth) >= o2.scrollWidth), e2 !== ct2.value && (ct2.value = e2), t3 !== ut2.value && (ut2.value = t3);
9643
9641
  }, pt2 = (e2) => {
9644
- dt2(e2);
9642
+ e2.target.scrollLeft !== st2.value && (st2.value = e2.target.scrollLeft), dt2();
9643
+ }, mt2 = (e2) => {
9644
+ pt2(e2);
9645
9645
  const { scrollLeft: t3 } = e2.target;
9646
- Y2.value && (Y2.value.scrollLeft = t3), A2.value && (A2.value.scrollLeft = t3);
9647
- }, mt2 = (e2, t3) => {
9646
+ U2.value && (U2.value.scrollLeft = t3), D2.value && (D2.value.scrollLeft = t3);
9647
+ }, ft2 = (e2, t3) => {
9648
9648
  n2("rowClick", e2.raw, t3);
9649
- }, ft2 = (e2, t3, o2) => {
9649
+ }, vt2 = (e2, t3, o2) => {
9650
9650
  n2("cellClick", e2.raw, t3, o2);
9651
- }, vt2 = wa((e2, t3, o2) => {
9651
+ }, ht2 = wa((e2, t3, o2) => {
9652
9652
  n2("cellMouseEnter", e2.raw, t3, o2);
9653
- }, 30), ht2 = wa((e2, t3, o2) => {
9653
+ }, 30), gt2 = wa((e2, t3, o2) => {
9654
9654
  n2("cellMouseLeave", e2.raw, t3, o2);
9655
- }, 30), gt2 = (e2, t3, o2) => {
9655
+ }, 30), yt2 = (e2, t3, o2) => {
9656
9656
  n2("cellDblclick", e2.raw, t3, o2);
9657
- }, yt2 = (e2, t3, o2) => {
9657
+ }, kt2 = (e2, t3, o2) => {
9658
9658
  n2("cellContextmenu", e2.raw, t3, o2);
9659
- }, kt2 = e.computed(() => {
9659
+ }, bt2 = e.computed(() => {
9660
9660
  var _a2, _b;
9661
- const e2 = [], o2 = ae2.value || re2.value;
9661
+ const e2 = [], o2 = re2.value || se2.value;
9662
9662
  let l2, n3, a2;
9663
- "handle" === ((_a2 = t2.draggable) == null ? void 0 : _a2.type) && (l2 = { name: "drag-handle", title: t2.draggable.title, width: t2.draggable.width, fixed: t2.draggable.fixed || o2 }, e2.push(l2)), t2.expandable && (n3 = { name: "expand", title: t2.expandable.title, width: t2.expandable.width, fixed: t2.expandable.fixed || o2 }, e2.push(n3)), t2.rowSelection && (a2 = { name: "radio" === t2.rowSelection.type ? "selection-radio" : "selection-checkbox", title: t2.rowSelection.title, width: t2.rowSelection.width, fixed: t2.rowSelection.fixed || o2 }, e2.push(a2)), !se2.value && e2.length > 0 && e2[e2.length - 1].fixed && (e2[e2.length - 1].isLastLeftFixed = true);
9663
+ "handle" === ((_a2 = t2.draggable) == null ? void 0 : _a2.type) && (l2 = { name: "drag-handle", title: t2.draggable.title, width: t2.draggable.width, fixed: t2.draggable.fixed || o2 }, e2.push(l2)), t2.expandable && (n3 = { name: "expand", title: t2.expandable.title, width: t2.expandable.width, fixed: t2.expandable.fixed || o2 }, e2.push(n3)), t2.rowSelection && (a2 = { name: "radio" === t2.rowSelection.type ? "selection-radio" : "selection-checkbox", title: t2.rowSelection.title, width: t2.rowSelection.width, fixed: t2.rowSelection.fixed || o2 }, e2.push(a2)), !ce2.value && e2.length > 0 && e2[e2.length - 1].fixed && (e2[e2.length - 1].isLastLeftFixed = true);
9664
9664
  const r3 = (_b = t2.components) == null ? void 0 : _b.operations;
9665
9665
  return u(r3) ? r3({ dragHandle: l2, expand: n3, selection: a2 }) : e2;
9666
- }), bt2 = e.computed(() => {
9666
+ }), Ct2 = e.computed(() => {
9667
9667
  var _a2, _b, _c2, _d2;
9668
- if (T2.value.x) {
9668
+ if (A2.value.x) {
9669
9669
  const e2 = { width: s((_a2 = t2.scroll) == null ? void 0 : _a2.x) ? `${(_b = t2.scroll) == null ? void 0 : _b.x}px` : (_c2 = t2.scroll) == null ? void 0 : _c2.x };
9670
9670
  return ((_d2 = t2.scroll) == null ? void 0 : _d2.minWidth) && (e2.minWidth = s(t2.scroll.minWidth) ? `${t2.scroll.minWidth}px` : t2.scroll.minWidth), e2;
9671
9671
  }
9672
- }), Ct2 = e.computed(() => {
9672
+ }), xt2 = e.computed(() => {
9673
9673
  var _a2, _b, _c2, _d2;
9674
- if (T2.value.x && lt2.value.length > 0) {
9674
+ if (A2.value.x && nt2.value.length > 0) {
9675
9675
  const e2 = { width: s((_a2 = t2.scroll) == null ? void 0 : _a2.x) ? `${(_b = t2.scroll) == null ? void 0 : _b.x}px` : (_c2 = t2.scroll) == null ? void 0 : _c2.x };
9676
9676
  return ((_d2 = t2.scroll) == null ? void 0 : _d2.minWidth) && (e2.minWidth = s(t2.scroll.minWidth) ? `${t2.scroll.minWidth}px` : t2.scroll.minWidth), e2;
9677
9677
  }
9678
9678
  });
9679
9679
  e.provide(hh, e.reactive({ loadMore: h2, addLazyLoadData: (e2, t3) => {
9680
- e2 && (Re2[t3.key] = e2);
9681
- }, slots: r2, sorter: be2, filters: fe2, filterIconAlignLeft: g2, resizingColumn: te2, checkStrictly: M2, currentAllEnabledRowKeys: Ne2, currentSelectedRowKeys: ze2, addColumn: (e2, t3) => {
9682
- G2.set(e2, t3);
9680
+ e2 && (Fe2[t3.key] = e2);
9681
+ }, slots: r2, sorter: Ce2, filters: ge2, filterIconAlignLeft: g2, resizingColumn: oe2, checkStrictly: I2, currentAllEnabledRowKeys: Be2, currentSelectedRowKeys: Pe2, addColumn: (e2, t3) => {
9682
+ _2.set(e2, t3);
9683
9683
  }, removeColumn: (e2) => {
9684
- G2.delete(e2);
9685
- }, onSelectAll: Le2, onSelect: Pe2, onSelectAllLeafs: Ee2, onSorterChange: pe2, onFilterChange: de2, onThMouseDown: le2 }));
9686
- const xt2 = e.computed(() => [z2, `${z2}-size-${t2.size}`, { [`${z2}-border`]: E2.value.wrapper, [`${z2}-border-cell`]: E2.value.cell, [`${z2}-border-header-cell`]: !E2.value.cell && E2.value.headerCell, [`${z2}-border-body-cell`]: !E2.value.cell && E2.value.bodyCell, [`${z2}-stripe`]: t2.stripe, [`${z2}-hover`]: t2.hoverable, [`${z2}-dragging`]: He2.dragging, [`${z2}-type-selection`]: Boolean(t2.rowSelection), [`${z2}-empty`]: t2.data && 0 === lt2.value.length, [`${z2}-layout-fixed`]: t2.tableLayoutFixed || T2.value.x || X2.value || ce2.value }]), wt2 = e.computed(() => [`${z2}-pagination`, { [`${z2}-pagination-left`]: "tl" === t2.pagePosition || "bl" === t2.pagePosition, [`${z2}-pagination-center`]: "top" === t2.pagePosition || "bottom" === t2.pagePosition, [`${z2}-pagination-right`]: "tr" === t2.pagePosition || "br" === t2.pagePosition, [`${z2}-pagination-top`]: ne2.value }]), St2 = e.computed(() => {
9684
+ _2.delete(e2);
9685
+ }, onSelectAll: Oe2, onSelect: Ee2, onSelectAllLeafs: Le2, onSorterChange: me2, onFilterChange: pe2, onThMouseDown: ne2 }));
9686
+ const wt2 = e.computed(() => [P2, `${P2}-size-${t2.size}`, { [`${P2}-border`]: L2.value.wrapper, [`${P2}-border-cell`]: L2.value.cell, [`${P2}-border-header-cell`]: !L2.value.cell && L2.value.headerCell, [`${P2}-border-body-cell`]: !L2.value.cell && L2.value.bodyCell, [`${P2}-stripe`]: t2.stripe, [`${P2}-hover`]: t2.hoverable, [`${P2}-dragging`]: We2.dragging, [`${P2}-type-selection`]: Boolean(t2.rowSelection), [`${P2}-empty`]: t2.data && 0 === nt2.value.length, [`${P2}-layout-fixed`]: t2.tableLayoutFixed || A2.value.x || G2.value || ue2.value }]), St2 = e.computed(() => [`${P2}-pagination`, { [`${P2}-pagination-left`]: "tl" === t2.pagePosition || "bl" === t2.pagePosition, [`${P2}-pagination-center`]: "top" === t2.pagePosition || "bottom" === t2.pagePosition, [`${P2}-pagination-right`]: "tr" === t2.pagePosition || "br" === t2.pagePosition, [`${P2}-pagination-top`]: ae2.value }]), Vt2 = e.computed(() => {
9687
9687
  const e2 = (() => {
9688
9688
  const e3 = [];
9689
- return ae2.value && e3.push(`${z2}-has-fixed-col-left`), re2.value && e3.push(`${z2}-has-fixed-col-right`), e3;
9689
+ return re2.value && e3.push(`${P2}-has-fixed-col-left`), se2.value && e3.push(`${P2}-has-fixed-col-right`), e3;
9690
9690
  })();
9691
- return T2.value.x && e2.push(st2.value && ct2.value ? `${z2}-scroll-position-both` : st2.value ? `${z2}-scroll-position-left` : ct2.value ? `${z2}-scroll-position-right` : `${z2}-scroll-position-middle`), X2.value && e2.push(`${z2}-scroll-y`), e2;
9692
- }), Vt2 = e.computed(() => Boolean(t2.virtualListProps)), Nt2 = e.ref({}), Bt2 = () => {
9691
+ return A2.value.x && e2.push(ct2.value && ut2.value ? `${P2}-scroll-position-both` : ct2.value ? `${P2}-scroll-position-left` : ut2.value ? `${P2}-scroll-position-right` : `${P2}-scroll-position-middle`), G2.value && e2.push(`${P2}-scroll-y`), e2;
9692
+ }), Nt2 = e.computed(() => Boolean(t2.virtualListProps)), Bt2 = e.ref({}), $t2 = () => {
9693
9693
  const e2 = {};
9694
- for (const t3 of Object.keys(D2.value))
9695
- e2[t3] = D2.value[t3].offsetWidth;
9696
- Nt2.value = e2;
9697
- }, $t2 = e.ref(false), zt2 = () => !!W2.value && W2.value.offsetWidth > W2.value.clientWidth, Pt2 = () => {
9698
- const e2 = zt2();
9699
- $t2.value !== e2 && ($t2.value = e2), ut2(), Bt2();
9694
+ for (const t3 of Object.keys(R2.value))
9695
+ e2[t3] = R2.value[t3].offsetWidth;
9696
+ Bt2.value = e2;
9697
+ }, zt2 = e.ref(false), Pt2 = () => !!K2.value && K2.value.offsetWidth > K2.value.clientWidth, Et2 = () => {
9698
+ const e2 = Pt2();
9699
+ zt2.value !== e2 && (zt2.value = e2), dt2(), $t2();
9700
9700
  };
9701
9701
  e.onMounted(() => {
9702
- $t2.value = zt2(), Bt2();
9702
+ zt2.value = Pt2(), $t2();
9703
9703
  });
9704
- const Et2 = e.computed(() => a(t2.loading) ? t2.loading : { loading: t2.loading }), Lt2 = () => e.createVNode(lh, { empty: true }, { default: () => [e.createVNode(xh, { colSpan: J2.value.length + kt2.value.length }, { default: () => {
9704
+ const Lt2 = e.computed(() => a(t2.loading) ? t2.loading : { loading: t2.loading }), Ot2 = () => e.createVNode(lh, { empty: true }, { default: () => [e.createVNode(xh, { colSpan: ee2.value.length + bt2.value.length }, { default: () => {
9705
9705
  var _a2, _b, _c2, _d2, _e3;
9706
- return [(_e3 = (_d2 = (_a2 = r2.empty) == null ? void 0 : _a2.call(r2)) != null ? _d2 : (_c2 = P2 == null ? void 0 : (_b = P2.slots).empty) == null ? void 0 : _c2.call(_b, { component: "table" })) != null ? _e3 : e.createVNode(Fo, null, null)];
9707
- } })] }), Ot2 = e.computed(() => [].concat(kt2.value, J2.value)), Mt2 = e.computed(() => t2.spanAll ? Ot2.value : J2.value), { tableSpan: It2, removedCells: jt2 } = Bh({ spanMethod: w2, data: lt2, columns: Mt2 }), { tableSpan: Tt2, removedCells: Dt2 } = Bh({ spanMethod: N2, data: rt2, columns: Ot2 }), Rt2 = (e2) => {
9708
- if (Vt2.value && e2 && Nt2.value[e2])
9709
- return { width: `${Nt2.value[e2]}px` };
9710
- }, Ft2 = () => rt2.value && rt2.value.length > 0 ? e.createVNode("tfoot", null, [rt2.value.map((o2, l2) => {
9711
- return n3 = o2, a2 = l2, e.createVNode(lh, { key: `table-summary-${a2}`, class: [`${z2}-tr-summary`, u(t2.rowClass) ? t2.rowClass(n3.raw, a2) : t2.rowClass], onClick: (e2) => mt2(n3, e2) }, { default: () => [kt2.value.map((t3, o3) => {
9706
+ return [(_e3 = (_d2 = (_a2 = r2.empty) == null ? void 0 : _a2.call(r2)) != null ? _d2 : (_c2 = E2 == null ? void 0 : (_b = E2.slots).empty) == null ? void 0 : _c2.call(_b, { component: "table" })) != null ? _e3 : e.createVNode(Fo, null, null)];
9707
+ } })] }), Mt2 = e.computed(() => [].concat(bt2.value, ee2.value)), It2 = e.computed(() => t2.spanAll ? Mt2.value : ee2.value), { tableSpan: jt2, removedCells: Tt2 } = Bh({ spanMethod: w2, data: nt2, columns: It2 }), { tableSpan: Dt2, removedCells: Rt2 } = Bh({ spanMethod: N2, data: it2, columns: Mt2 }), Ft2 = (e2) => {
9708
+ if (Nt2.value && e2 && Bt2.value[e2])
9709
+ return { width: `${Bt2.value[e2]}px` };
9710
+ }, Ht2 = () => it2.value && it2.value.length > 0 ? e.createVNode("tfoot", null, [it2.value.map((o2, l2) => {
9711
+ return n3 = o2, a2 = l2, e.createVNode(lh, { key: `table-summary-${a2}`, class: [`${P2}-tr-summary`, u(t2.rowClass) ? t2.rowClass(n3.raw, a2) : t2.rowClass], onClick: (e2) => ft2(n3, e2) }, { default: () => [bt2.value.map((t3, o3) => {
9712
9712
  var _a2;
9713
- const l3 = `${a2}-${o3}-${n3.key}`, [r3, i2] = (_a2 = Tt2.value[l3]) != null ? _a2 : [1, 1];
9714
- if (Dt2.value.includes(l3))
9713
+ const l3 = `${a2}-${o3}-${n3.key}`, [r3, i2] = (_a2 = Dt2.value[l3]) != null ? _a2 : [1, 1];
9714
+ if (Rt2.value.includes(l3))
9715
9715
  return null;
9716
- const s2 = Rt2(t3.name);
9717
- return e.createVNode(Sh, { style: s2, operationColumn: t3, operations: kt2.value, record: n3, rowSpan: r3, colSpan: i2, summary: true }, null);
9718
- }), J2.value.map((t3, o3) => {
9716
+ const s2 = Ft2(t3.name);
9717
+ return e.createVNode(Sh, { style: s2, operationColumn: t3, operations: bt2.value, record: n3, rowSpan: r3, colSpan: i2, summary: true }, null);
9718
+ }), ee2.value.map((t3, o3) => {
9719
9719
  var _a2;
9720
- const l3 = `${a2}-${kt2.value.length + o3}-${n3.key}`, [i2, s2] = (_a2 = Tt2.value[l3]) != null ? _a2 : [1, 1];
9721
- if (Dt2.value.includes(l3))
9720
+ const l3 = `${a2}-${bt2.value.length + o3}-${n3.key}`, [i2, s2] = (_a2 = Dt2.value[l3]) != null ? _a2 : [1, 1];
9721
+ if (Rt2.value.includes(l3))
9722
9722
  return null;
9723
- const c2 = Rt2(t3.dataIndex);
9724
- return e.createVNode(xh, { key: `td-${l3}`, style: c2, rowIndex: a2, record: n3, column: t3, operations: kt2.value, dataColumns: J2.value, rowSpan: i2, colSpan: s2, summary: true, onClick: (e2) => ft2(n3, t3, e2), onDblclick: (e2) => gt2(n3, t3, e2), onMouseenter: (e2) => vt2(n3, t3, e2), onMouseleave: (e2) => ht2(n3, t3, e2), onContextmenu: (e2) => yt2(n3, t3, e2) }, { td: r2.td, cell: r2["summary-cell"] });
9723
+ const c2 = Ft2(t3.dataIndex);
9724
+ return e.createVNode(xh, { key: `td-${l3}`, style: c2, rowIndex: a2, record: n3, column: t3, operations: bt2.value, dataColumns: ee2.value, rowSpan: i2, colSpan: s2, summary: true, onClick: (e2) => vt2(n3, t3, e2), onDblclick: (e2) => yt2(n3, t3, e2), onMouseenter: (e2) => ht2(n3, t3, e2), onMouseleave: (e2) => gt2(n3, t3, e2), onContextmenu: (e2) => kt2(n3, t3, e2) }, { td: r2.td, cell: r2["summary-cell"] });
9725
9725
  })], tr: r2.tr });
9726
9726
  var n3, a2;
9727
- })]) : null, Ht2 = (o2, l2 = true) => {
9727
+ })]) : null, Wt2 = (o2, l2 = true) => {
9728
9728
  var _a2, _b, _c2, _d2, _e3;
9729
- const n3 = o2.key, a2 = je2.value.includes(n3);
9730
- return e.createVNode("button", { type: "button", class: `${z2}-expand-btn`, onClick: (e2) => {
9731
- Te2(n3, o2.raw), l2 && e2.stopPropagation();
9729
+ const n3 = o2.key, a2 = Te2.value.includes(n3);
9730
+ return e.createVNode("button", { type: "button", class: `${P2}-expand-btn`, onClick: (e2) => {
9731
+ Ae2(n3, o2.raw), l2 && e2.stopPropagation();
9732
9732
  } }, [(_e3 = (_d2 = (_a2 = r2["expand-icon"]) == null ? void 0 : _a2.call(r2, { expanded: a2, record: o2.raw })) != null ? _d2 : (_c2 = (_b = t2.expandable) == null ? void 0 : _b.icon) == null ? void 0 : _c2.call(_b, a2, o2.raw)) != null ? _e3 : a2 ? e.createVNode(vi, null, null) : e.createVNode(di, null, null)]);
9733
- }, Wt2 = (t3, { indentSize: o2, indexPath: l2, allowDrag: n3, expandContent: a2 }) => {
9733
+ }, Kt2 = (t3, { indentSize: o2, indexPath: l2, allowDrag: n3, expandContent: a2 }) => {
9734
9734
  var _a2, _b;
9735
9735
  if (t3.hasSubtree)
9736
- return 0 === ((_a2 = t3.children) == null ? void 0 : _a2.length) && $2.value ? Lt2() : (_b = t3.children) == null ? void 0 : _b.map((e2, t4) => Kt2(e2, t4, { indentSize: o2, indexPath: l2, allowDrag: n3 }));
9736
+ return 0 === ((_a2 = t3.children) == null ? void 0 : _a2.length) && $2.value ? Ot2() : (_b = t3.children) == null ? void 0 : _b.map((e2, t4) => qt2(e2, t4, { indentSize: o2, indexPath: l2, allowDrag: n3 }));
9737
9737
  if (a2) {
9738
- const o3 = U2.value;
9738
+ const o3 = X2.value;
9739
9739
  return e.createVNode(lh, { key: `${t3.key}-expand`, expand: true }, { default: () => {
9740
- return [e.createVNode(xh, { isFixedExpand: ae2.value || re2.value, containerWidth: o3 == null ? void 0 : o3.clientWidth, colSpan: J2.value.length + kt2.value.length }, (t4 = a2, "function" == typeof t4 || "[object Object]" === Object.prototype.toString.call(t4) && !e.isVNode(t4) ? a2 : { default: () => [a2] }))];
9740
+ return [e.createVNode(xh, { isFixedExpand: re2.value || se2.value, containerWidth: o3 == null ? void 0 : o3.clientWidth, colSpan: ee2.value.length + bt2.value.length }, (t4 = a2, "function" == typeof t4 || "[object Object]" === Object.prototype.toString.call(t4) && !e.isVNode(t4) ? a2 : { default: () => [a2] }))];
9741
9741
  var t4;
9742
9742
  } });
9743
9743
  }
9744
9744
  return null;
9745
- }, Kt2 = (o2, l2, { indentSize: a2 = 0, indexPath: i2, allowDrag: s2 = true } = {}) => {
9745
+ }, qt2 = (o2, l2, { indentSize: a2 = 0, indexPath: i2, allowDrag: s2 = true } = {}) => {
9746
9746
  var _a2;
9747
9747
  const c2 = o2.key, d3 = (i2 != null ? i2 : []).concat(l2), p3 = ((e2) => {
9748
9748
  var _a3;
9749
9749
  return e2.expand ? u(e2.expand) ? e2.expand() : e2.expand : r2["expand-row"] ? r2["expand-row"]({ record: e2.raw }) : ((_a3 = t2.expandable) == null ? void 0 : _a3.expandedRowRender) ? t2.expandable.expandedRowRender(e2.raw) : void 0;
9750
- })(o2), m3 = je2.value.includes(c2), f3 = He2.sourceKey === o2.key, v2 = Fe2.value ? { draggable: s2, onDragstart: (e2) => {
9751
- s2 && We2(e2, o2.key, d3, o2.raw);
9750
+ })(o2), m3 = Te2.value.includes(c2), f3 = We2.sourceKey === o2.key, v2 = He2.value ? { draggable: s2, onDragstart: (e2) => {
9751
+ s2 && Ke2(e2, o2.key, d3, o2.raw);
9752
9752
  }, onDragend: (e2) => {
9753
- s2 && Ye2(e2);
9754
- } } : {}, h3 = Fe2.value ? { onDragenter: (e2) => {
9755
- s2 && Ke2(e2, d3);
9753
+ s2 && Ue2(e2);
9754
+ } } : {}, h3 = He2.value ? { onDragenter: (e2) => {
9755
+ s2 && qe2(e2, d3);
9756
9756
  }, onDragover: (e2) => {
9757
- s2 && Ze2(e2);
9757
+ s2 && Ye2(e2);
9758
9758
  }, onDrop: (e2) => {
9759
- s2 && (ue2("drag"), Ue2(e2));
9759
+ s2 && (de2("drag"), Xe2(e2));
9760
9760
  } } : {};
9761
- return e.createVNode(e.Fragment, null, [e.createVNode(lh, e.mergeProps({ key: c2, class: [{ [`${z2}-tr-draggable`]: "row" === Fe2.value, [`${z2}-tr-drag`]: f3 }, u(t2.rowClass) ? t2.rowClass(o2.raw, l2) : t2.rowClass], rowIndex: l2, record: o2, checked: t2.rowSelection && ((_a2 = $e2.value) == null ? void 0 : _a2.includes(c2)), onClick: (e2) => mt2(o2, e2), onDblclick: (e2) => ((e3, t3) => {
9761
+ return e.createVNode(e.Fragment, null, [z2.value && e.createVNode(lh, null, { default: () => {
9762
+ var _a3;
9763
+ return [(_a3 = r2.headerRow) == null ? void 0 : _a3.call(r2, { record: o2.raw, dataColumnLength: ee2.value.length, operationColumnLength: bt2.value.length })];
9764
+ } }), e.createVNode(lh, e.mergeProps({ key: c2, class: [{ [`${P2}-tr-draggable`]: "row" === He2.value, [`${P2}-tr-drag`]: f3 }, u(t2.rowClass) ? t2.rowClass(o2.raw, l2) : t2.rowClass], rowIndex: l2, record: o2, checked: t2.rowSelection && ((_a2 = ze2.value) == null ? void 0 : _a2.includes(c2)), onClick: (e2) => ft2(o2, e2), onDblclick: (e2) => ((e3, t3) => {
9762
9765
  n2("rowDblclick", e3.raw, t3);
9763
9766
  })(o2, e2), onContextmenu: (e2) => ((e3, t3) => {
9764
9767
  n2("rowContextmenu", e3.raw, t3);
9765
- })(o2, e2) }, "row" === Fe2.value ? v2 : {}, h3), { default: () => [kt2.value.map((n3, a3) => {
9768
+ })(o2, e2) }, "row" === He2.value ? v2 : {}, h3), { default: () => [bt2.value.map((n3, a3) => {
9766
9769
  var _a3;
9767
- const i3 = `${l2}-${a3}-${o2.key}`, [s3, c3] = t2.spanAll ? (_a3 = It2.value[i3]) != null ? _a3 : [1, 1] : [1, 1];
9768
- if (t2.spanAll && jt2.value.includes(i3))
9770
+ const i3 = `${l2}-${a3}-${o2.key}`, [s3, c3] = t2.spanAll ? (_a3 = jt2.value[i3]) != null ? _a3 : [1, 1] : [1, 1];
9771
+ if (t2.spanAll && Tt2.value.includes(i3))
9769
9772
  return null;
9770
- const u2 = Rt2(n3.name);
9771
- return e.createVNode(Sh, e.mergeProps({ key: `operation-td-${a3}`, style: u2, operationColumn: n3, operations: kt2.value, record: o2, hasExpand: Boolean(p3), selectedRowKeys: ze2.value, rowSpan: s3, colSpan: c3, renderExpandBtn: Ht2 }, "handle" === Fe2.value ? v2 : {}), { "drag-handle-icon": r2["drag-handle-icon"] });
9772
- }), J2.value.map((n3, i3) => {
9773
+ const u2 = Ft2(n3.name);
9774
+ return e.createVNode(Sh, e.mergeProps({ key: `operation-td-${a3}`, style: u2, operationColumn: n3, operations: bt2.value, record: o2, hasExpand: Boolean(p3), selectedRowKeys: Pe2.value, rowSpan: s3, colSpan: c3, renderExpandBtn: Wt2 }, "handle" === He2.value ? v2 : {}), { "drag-handle-icon": r2["drag-handle-icon"] });
9775
+ }), ee2.value.map((n3, i3) => {
9773
9776
  var _a3;
9774
- const s3 = `${l2}-${t2.spanAll ? kt2.value.length + i3 : i3}-${o2.key}`, [c3, u2] = (_a3 = It2.value[s3]) != null ? _a3 : [1, 1];
9775
- if (jt2.value.includes(s3))
9777
+ const s3 = `${l2}-${t2.spanAll ? bt2.value.length + i3 : i3}-${o2.key}`, [c3, u2] = (_a3 = jt2.value[s3]) != null ? _a3 : [1, 1];
9778
+ if (Tt2.value.includes(s3))
9776
9779
  return null;
9777
- const d4 = 0 === i3 ? { showExpandBtn: o2.hasSubtree, indentSize: o2.hasSubtree ? a2 - 20 : a2 } : {}, p4 = Rt2(n3.dataIndex);
9778
- return e.createVNode(xh, e.mergeProps({ key: `td-${i3}`, style: p4, rowIndex: l2, record: o2, column: n3, operations: kt2.value, dataColumns: J2.value, rowSpan: c3, renderExpandBtn: Ht2, colSpan: u2 }, d4, { onClick: (e2) => ft2(o2, n3, e2), onDblclick: (e2) => gt2(o2, n3, e2), onMouseenter: (e2) => vt2(o2, n3, e2), onMouseleave: (e2) => ht2(o2, n3, e2), onContextmenu: (e2) => yt2(o2, n3, e2) }), { td: r2.td });
9779
- })], tr: r2.tr }), m3 && Wt2(o2, { indentSize: a2 + t2.indentSize, indexPath: d3, allowDrag: s2 && !f3, expandContent: p3 })]);
9780
- }, qt2 = () => {
9781
- const t3 = lt2.value.some((e2) => Boolean(e2.hasSubtree));
9782
- return e.createVNode(oh, null, { default: () => [lt2.value.length > 0 ? lt2.value.map((e2, o2) => Kt2(e2, o2, { indentSize: t3 ? 20 : 0 })) : Lt2()], tbody: r2.tbody });
9783
- }, Zt2 = () => e.createVNode(th, null, { default: () => [ee2.value.map((o2, l2) => e.createVNode(lh, { key: `header-row-${l2}` }, { default: () => [0 === l2 && kt2.value.map((o3, l3) => {
9780
+ const d4 = 0 === i3 ? { showExpandBtn: o2.hasSubtree, indentSize: o2.hasSubtree ? a2 - 20 : a2 } : {}, p4 = Ft2(n3.dataIndex);
9781
+ return e.createVNode(xh, e.mergeProps({ key: `td-${i3}`, style: p4, rowIndex: l2, record: o2, column: n3, operations: bt2.value, dataColumns: ee2.value, rowSpan: c3, renderExpandBtn: Wt2, colSpan: u2 }, d4, { onClick: (e2) => vt2(o2, n3, e2), onDblclick: (e2) => yt2(o2, n3, e2), onMouseenter: (e2) => ht2(o2, n3, e2), onMouseleave: (e2) => gt2(o2, n3, e2), onContextmenu: (e2) => kt2(o2, n3, e2) }), { td: r2.td });
9782
+ })], tr: r2.tr }), m3 && Kt2(o2, { indentSize: a2 + t2.indentSize, indexPath: d3, allowDrag: s2 && !f3, expandContent: p3 })]);
9783
+ }, Zt2 = () => {
9784
+ const t3 = nt2.value.some((e2) => Boolean(e2.hasSubtree));
9785
+ return e.createVNode(oh, null, { default: () => [nt2.value.length > 0 ? nt2.value.map((e2, o2) => qt2(e2, o2, { indentSize: t3 ? 20 : 0 })) : Ot2()], tbody: r2.tbody });
9786
+ }, Yt2 = () => e.createVNode(th, null, { default: () => [te2.value.map((o2, l2) => e.createVNode(lh, { key: `header-row-${l2}` }, { default: () => [0 === l2 && bt2.value.map((o3, l3) => {
9784
9787
  var _a2;
9785
9788
  return e.createVNode(wh, { key: `operation-th-${l3}`, ref: (e2) => {
9786
- (e2 == null ? void 0 : e2.$el) && o3.name && (D2.value[o3.name] = e2.$el);
9787
- }, operationColumn: o3, operations: kt2.value, selectAll: Boolean("selection-checkbox" === o3.name && ((_a2 = t2.rowSelection) == null ? void 0 : _a2.showCheckedAll)), rowSpan: ee2.value.length }, null);
9789
+ (e2 == null ? void 0 : e2.$el) && o3.name && (R2.value[o3.name] = e2.$el);
9790
+ }, operationColumn: o3, operations: bt2.value, selectAll: Boolean("selection-checkbox" === o3.name && ((_a2 = t2.rowSelection) == null ? void 0 : _a2.showCheckedAll)), rowSpan: te2.value.length }, null);
9788
9791
  }), o2.map((l3, a2) => {
9789
9792
  const i2 = t2.columnResizable && Boolean(l3.dataIndex) && a2 < o2.length - 1;
9790
9793
  return e.createVNode(Ch, { key: `th-${a2}`, ref: (e2) => {
9791
- (e2 == null ? void 0 : e2.$el) && l3.dataIndex && (D2.value[l3.dataIndex] = e2.$el);
9792
- }, column: l3, operations: kt2.value, dataColumns: J2.value, resizable: i2, onClick: (e2) => ((e3, t3) => {
9794
+ (e2 == null ? void 0 : e2.$el) && l3.dataIndex && (R2.value[l3.dataIndex] = e2.$el);
9795
+ }, column: l3, operations: bt2.value, dataColumns: ee2.value, resizable: i2, onClick: (e2) => ((e3, t3) => {
9793
9796
  n2("headerClick", e3, t3);
9794
9797
  })(l3, e2) }, { th: r2.th });
9795
- })] }))], thead: r2.thead }), Yt2 = () => {
9798
+ })] }))], thead: r2.thead }), Ut2 = () => {
9796
9799
  var _a2, _b;
9797
- if (X2.value) {
9798
- const o2 = s(t2.stickyHeader) ? `${t2.stickyHeader}px` : void 0, l2 = [(_a2 = j2.value) == null ? void 0 : _a2.outerClass];
9799
- t2.stickyHeader && l2.push(`${z2}-header-sticky`);
9800
- const n3 = { top: o2, ...(_b = j2.value) == null ? void 0 : _b.outerStyle }, a2 = I2.value ? Yo : "div";
9801
- return e.createVNode(e.Fragment, null, [t2.showHeader && e.createVNode(a2, e.mergeProps({ ref: Z2, class: [`${z2}-header`, { [`${z2}-header-sticky`]: t2.stickyHeader && !I2.value }], style: { overflowY: $t2.value ? "scroll" : void 0, top: I2.value ? void 0 : o2 } }, B2.value ? { hide: 0 !== lt2.value.length, disableVertical: true, ...j2.value, outerClass: l2, outerStyle: n3 } : void 0), { default: () => [e.createVNode("table", { class: `${z2}-element`, style: bt2.value, cellpadding: 0, cellspacing: 0 }, [e.createVNode(eh, { dataColumns: J2.value, operations: kt2.value, columnWidth: oe2 }, null), Zt2()])] }), e.createVNode(ie, { onResize: Pt2 }, { default: () => {
9800
+ if (G2.value) {
9801
+ const o2 = s(t2.stickyHeader) ? `${t2.stickyHeader}px` : void 0, l2 = [(_a2 = T2.value) == null ? void 0 : _a2.outerClass];
9802
+ t2.stickyHeader && l2.push(`${P2}-header-sticky`);
9803
+ const n3 = { top: o2, ...(_b = T2.value) == null ? void 0 : _b.outerStyle }, a2 = j2.value ? Yo : "div";
9804
+ return e.createVNode(e.Fragment, null, [t2.showHeader && e.createVNode(a2, e.mergeProps({ ref: Y2, class: [`${P2}-header`, { [`${P2}-header-sticky`]: t2.stickyHeader && !j2.value }], style: { overflowY: zt2.value ? "scroll" : void 0, top: j2.value ? void 0 : o2 } }, B2.value ? { hide: 0 !== nt2.value.length, disableVertical: true, ...T2.value, outerClass: l2, outerStyle: n3 } : void 0), { default: () => [e.createVNode("table", { class: `${P2}-element`, style: Ct2.value, cellpadding: 0, cellspacing: 0 }, [e.createVNode(eh, { dataColumns: ee2.value, operations: bt2.value, columnWidth: le2 }, null), Yt2()])] }), e.createVNode(ie, { onResize: Et2 }, { default: () => {
9802
9805
  var _a3, _b2;
9803
- return [Vt2.value && lt2.value.length ? e.createVNode(zl, e.mergeProps({ ref: (e2) => {
9804
- (e2 == null ? void 0 : e2.$el) && (W2.value = e2.$el);
9805
- }, class: `${z2}-body`, data: lt2.value, itemKey: "_key", component: { list: "table", content: "tbody" }, listAttrs: { class: `${z2}-element`, style: Ct2.value }, paddingPosition: "list", height: "auto" }, t2.virtualListProps, { onScroll: pt2 }), { item: ({ item: e2, index: t3 }) => Kt2(e2, t3) }) : e.createVNode(a2, e.mergeProps({ ref: H2, class: `${z2}-body`, style: { maxHeight: s((_a3 = t2.scroll) == null ? void 0 : _a3.y) ? `${(_b2 = t2.scroll) == null ? void 0 : _b2.y}px` : "100%" } }, B2.value ? { outerStyle: { display: "flex", minHeight: "0" }, ...j2.value } : void 0, { onScroll: pt2 }), { default: () => [e.createVNode("table", { class: `${z2}-element`, style: Ct2.value, cellpadding: 0, cellspacing: 0 }, [0 !== lt2.value.length && e.createVNode(eh, { dataColumns: J2.value, operations: kt2.value, columnWidth: oe2 }, null), qt2()])] })];
9806
- } }), rt2.value && rt2.value.length > 0 && e.createVNode("div", { ref: A2, class: `${z2}-tfoot`, style: { overflowY: $t2.value ? "scroll" : "hidden" } }, [e.createVNode("table", { class: `${z2}-element`, style: Ct2.value, cellpadding: 0, cellspacing: 0 }, [e.createVNode(eh, { dataColumns: J2.value, operations: kt2.value, columnWidth: oe2 }, null), Ft2()])])]);
9806
+ return [Nt2.value && nt2.value.length ? e.createVNode(zl, e.mergeProps({ ref: (e2) => {
9807
+ (e2 == null ? void 0 : e2.$el) && (K2.value = e2.$el);
9808
+ }, class: `${P2}-body`, data: nt2.value, itemKey: "_key", component: { list: "table", content: "tbody" }, listAttrs: { class: `${P2}-element`, style: xt2.value }, paddingPosition: "list", height: "auto" }, t2.virtualListProps, { onScroll: mt2 }), { item: ({ item: e2, index: t3 }) => qt2(e2, t3) }) : e.createVNode(a2, e.mergeProps({ ref: W2, class: `${P2}-body`, style: { maxHeight: s((_a3 = t2.scroll) == null ? void 0 : _a3.y) ? `${(_b2 = t2.scroll) == null ? void 0 : _b2.y}px` : "100%" } }, B2.value ? { outerStyle: { display: "flex", minHeight: "0" }, ...T2.value } : void 0, { onScroll: mt2 }), { default: () => [e.createVNode("table", { class: `${P2}-element`, style: xt2.value, cellpadding: 0, cellspacing: 0 }, [0 !== nt2.value.length && e.createVNode(eh, { dataColumns: ee2.value, operations: bt2.value, columnWidth: le2 }, null), Zt2()])] })];
9809
+ } }), it2.value && it2.value.length > 0 && e.createVNode("div", { ref: D2, class: `${P2}-tfoot`, style: { overflowY: zt2.value ? "scroll" : "hidden" } }, [e.createVNode("table", { class: `${P2}-element`, style: xt2.value, cellpadding: 0, cellspacing: 0 }, [e.createVNode(eh, { dataColumns: ee2.value, operations: bt2.value, columnWidth: le2 }, null), Ht2()])])]);
9807
9810
  }
9808
- return e.createVNode(ie, { onResize: () => ut2() }, { default: () => [e.createVNode("table", { class: `${z2}-element`, cellpadding: 0, cellspacing: 0, style: Ct2.value }, [e.createVNode(eh, { dataColumns: J2.value, operations: kt2.value, columnWidth: oe2 }, null), t2.showHeader && Zt2(), qt2(), rt2.value && rt2.value.length > 0 && Ft2()])] });
9809
- }, Ut2 = (o2) => {
9811
+ return e.createVNode(ie, { onResize: () => dt2() }, { default: () => [e.createVNode("table", { class: `${P2}-element`, cellpadding: 0, cellspacing: 0, style: xt2.value }, [e.createVNode(eh, { dataColumns: ee2.value, operations: bt2.value, columnWidth: le2 }, null), t2.showHeader && Yt2(), Zt2(), it2.value && it2.value.length > 0 && Ht2()])] });
9812
+ }, Xt2 = (o2) => {
9810
9813
  var _a2;
9811
- const l2 = ((_a2 = t2.scroll) == null ? void 0 : _a2.maxHeight) ? { maxHeight: t2.scroll.maxHeight } : void 0, n3 = I2.value ? Yo : "div";
9812
- return e.createVNode(e.Fragment, null, [e.createVNode("div", { class: [`${z2}-container`, St2.value] }, [e.createVNode(n3, e.mergeProps({ ref: R2, class: [`${z2}-content`, { [`${z2}-content-scroll-x`]: !X2.value }], style: l2 }, B2.value ? { outerStyle: { height: "100%" }, ...j2.value } : void 0, { onScroll: dt2 }), { default: () => [o2 ? e.createVNode("table", { class: `${z2}-element`, cellpadding: 0, cellspacing: 0 }, [o2()]) : Yt2()] })]), r2.footer && e.createVNode("div", { class: `${z2}-footer` }, [r2.footer()])]);
9813
- }, Xt2 = () => {
9814
+ const l2 = ((_a2 = t2.scroll) == null ? void 0 : _a2.maxHeight) ? { maxHeight: t2.scroll.maxHeight } : void 0, n3 = j2.value ? Yo : "div";
9815
+ return e.createVNode(e.Fragment, null, [e.createVNode("div", { class: [`${P2}-container`, Vt2.value] }, [e.createVNode(n3, e.mergeProps({ ref: F2, class: [`${P2}-content`, { [`${P2}-content-scroll-x`]: !G2.value }], style: l2 }, B2.value ? { outerStyle: { height: "100%" }, ...T2.value } : void 0, { onScroll: pt2 }), { default: () => [o2 ? e.createVNode("table", { class: `${P2}-element`, cellpadding: 0, cellspacing: 0 }, [o2()]) : Ut2()] })]), r2.footer && e.createVNode("div", { class: `${P2}-footer` }, [r2.footer()])]);
9816
+ }, Gt2 = () => {
9814
9817
  var _a2, _b;
9815
9818
  const o2 = a(t2.pagination) ? At(t2.pagination, ["current", "pageSize", "defaultCurrent", "defaultPageSize"]) : {};
9816
- return e.createVNode("div", { class: wt2.value }, [(_a2 = r2["pagination-left"]) == null ? void 0 : _a2.call(r2), e.createVNode($p, e.mergeProps({ total: Ge2.value.length, current: Qe2.value, pageSize: Je2.value, onChange: (e2) => {
9817
- et2(e2), ue2("pagination");
9819
+ return e.createVNode("div", { class: St2.value }, [(_a2 = r2["pagination-left"]) == null ? void 0 : _a2.call(r2), e.createVNode($p, e.mergeProps({ total: _e2.value.length, current: Je2.value, pageSize: et2.value, onChange: (e2) => {
9820
+ tt2(e2), de2("pagination");
9818
9821
  }, onPageSizeChange: (e2) => {
9819
- tt2(e2), ue2("pagination");
9822
+ ot2(e2), de2("pagination");
9820
9823
  } }, o2), null), (_b = r2["pagination-right"]) == null ? void 0 : _b.call(r2)]);
9821
- }, Gt2 = e.computed(() => {
9824
+ }, _t2 = e.computed(() => {
9822
9825
  var _a2, _b;
9823
9826
  if (i((_a2 = t2.scroll) == null ? void 0 : _a2.y))
9824
9827
  return { height: (_b = t2.scroll) == null ? void 0 : _b.y };
9825
9828
  });
9826
9829
  return { render: () => {
9827
9830
  var _a2;
9828
- return r2.default ? e.createVNode("div", { class: xt2.value }, [Ut2(r2.default)]) : (L2.value = (_a2 = r2.columns) == null ? void 0 : _a2.call(r2), e.createVNode("div", { class: xt2.value, style: Gt2.value }, [L2.value, e.createVNode(Ko, Et2.value, { default: () => [false !== t2.pagination && (lt2.value.length > 0 || _e2.value.length > 0) && ne2.value && Xt2(), Ut2(), false !== t2.pagination && (lt2.value.length > 0 || _e2.value.length > 0) && !ne2.value && Xt2()] })]));
9829
- }, selfExpand: Ae2, selfExpandAll: De2, selfSelect: Oe2, selfSelectAll: Me2, selfResetFilters: ge2, selfClearFilters: ye2, selfResetSorters: Ce2, selfClearSorters: xe2 };
9831
+ return r2.default ? e.createVNode("div", { class: wt2.value }, [Xt2(r2.default)]) : (O2.value = (_a2 = r2.columns) == null ? void 0 : _a2.call(r2), e.createVNode("div", { class: wt2.value, style: _t2.value }, [O2.value, e.createVNode(Ko, Lt2.value, { default: () => [false !== t2.pagination && (nt2.value.length > 0 || Qe2.value.length > 0) && ae2.value && Gt2(), Xt2(), false !== t2.pagination && (nt2.value.length > 0 || Qe2.value.length > 0) && !ae2.value && Gt2()] })]));
9832
+ }, selfExpand: De2, selfExpandAll: Re2, selfSelect: Me2, selfSelectAll: Ie2, selfResetFilters: ye2, selfClearFilters: ke2, selfResetSorters: xe2, selfClearSorters: we2 };
9830
9833
  }, methods: { selectAll(e2) {
9831
9834
  return this.selfSelectAll(e2);
9832
9835
  }, select(e2, t2) {