@geelato/web-vue 2.58.1 → 2.58.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9890,7 +9890,10 @@
9890
9890
  }, column: l3, operations: xt2.value, dataColumns: J2.value, resizable: i2, onClick: (e2) => ((e3, t3) => {
9891
9891
  n2("headerClick", e3, t3);
9892
9892
  })(l3, e2) }, { th: r2.th });
9893
- })] }))], thead: r2.thead }), eo2 = () => {
9893
+ })] }))], thead: r2.thead }), eo2 = e.defineComponent({ setup: (t3, { attrs: o2, slots: l2 }) => () => {
9894
+ var _a2;
9895
+ return e.createVNode("table", e.mergeProps(o2, { style: [o2.style, { tableLayout: "fixed" }], cellpadding: 0, cellspacing: 0 }), [e.createVNode(th, { dataColumns: J2.value, operations: xt2.value, columnWidth: oe2 }, null), (_a2 = l2.default) == null ? void 0 : _a2.call(l2)]);
9896
+ } }), to2 = () => {
9894
9897
  var _a2, _b;
9895
9898
  if (X2.value) {
9896
9899
  const o2 = s(t2.stickyHeader) ? `${t2.stickyHeader}px` : void 0, l2 = [(_a2 = j2.value) == null ? void 0 : _a2.outerClass];
@@ -9898,15 +9901,15 @@
9898
9901
  const n3 = { top: o2, ...(_b = j2.value) == null ? void 0 : _b.outerStyle }, a2 = M2.value ? Zo : "div";
9899
9902
  return e.createVNode(e.Fragment, null, [t2.showHeader && e.createVNode(a2, e.mergeProps({ ref: Z2, class: [`${z2}-header`, { [`${z2}-header-sticky`]: t2.stickyHeader && !M2.value }], style: { overflowY: Et2.value ? "scroll" : void 0, top: M2.value ? void 0 : o2 } }, B2.value ? { hide: 0 !== rt2.value.length, disableVertical: true, ...j2.value, outerClass: l2, outerStyle: n3 } : void 0), { default: () => [e.createVNode("table", { class: `${z2}-element`, style: wt2.value, cellpadding: 0, cellspacing: 0 }, [e.createVNode(th, { dataColumns: J2.value, operations: xt2.value, columnWidth: oe2 }, null), Jt2()])] }), e.createVNode(re, { onResize: Ot2 }, { default: () => {
9900
9903
  var _a3, _b2, _c2, _d2;
9901
- return [$t2.value && rt2.value.length ? e.createVNode(Bl, e.mergeProps({ ref: K2.value, class: `${z2}-body`, data: Gt2.value, itemKey: "_key", component: { list: "table", content: "tbody" }, listAttrs: { class: `${z2}-element`, style: St2.value }, paddingPosition: "list", height: (_b2 = (_a3 = t2.scroll) == null ? void 0 : _a3.y) != null ? _b2 : "auto" }, t2.virtualListProps, { onScroll: vt2 }), { item: ({ item: e2 }) => _t2(e2) }) : e.createVNode(a2, e.mergeProps({ ref: W2, class: `${z2}-body`, style: { maxHeight: s((_c2 = t2.scroll) == null ? void 0 : _c2.y) ? `${(_d2 = t2.scroll) == null ? void 0 : _d2.y}px` : "100%" } }, B2.value ? { outerStyle: { display: "flex", minHeight: "0" }, ...j2.value } : void 0, { onScroll: vt2 }), { default: () => [e.createVNode("table", { class: `${z2}-element`, style: St2.value, cellpadding: 0, cellspacing: 0 }, [0 !== rt2.value.length && e.createVNode(th, { dataColumns: J2.value, operations: xt2.value, columnWidth: oe2 }, null), Qt2()])] })];
9904
+ return [$t2.value && rt2.value.length ? e.createVNode(Bl, e.mergeProps({ ref: K2.value, class: `${z2}-body`, data: Gt2.value, itemKey: "_key", component: { list: eo2, content: "tbody" }, listAttrs: { class: `${z2}-element`, style: St2.value }, paddingPosition: "list", height: (_b2 = (_a3 = t2.scroll) == null ? void 0 : _a3.y) != null ? _b2 : "auto" }, t2.virtualListProps, { onScroll: vt2 }), { item: ({ item: e2 }) => _t2(e2) }) : e.createVNode(a2, e.mergeProps({ ref: W2, class: `${z2}-body`, style: { maxHeight: s((_c2 = t2.scroll) == null ? void 0 : _c2.y) ? `${(_d2 = t2.scroll) == null ? void 0 : _d2.y}px` : "100%" } }, B2.value ? { outerStyle: { display: "flex", minHeight: "0" }, ...j2.value } : void 0, { onScroll: vt2 }), { default: () => [e.createVNode("table", { class: `${z2}-element`, style: St2.value, cellpadding: 0, cellspacing: 0 }, [0 !== rt2.value.length && e.createVNode(th, { dataColumns: J2.value, operations: xt2.value, columnWidth: oe2 }, null), Qt2()])] })];
9902
9905
  } }), ct2.value && ct2.value.length > 0 && e.createVNode("div", { ref: A2, class: `${z2}-tfoot`, style: { overflowY: Et2.value ? "scroll" : "hidden" } }, [e.createVNode("table", { class: `${z2}-element`, style: St2.value, cellpadding: 0, cellspacing: 0 }, [e.createVNode(th, { dataColumns: J2.value, operations: xt2.value, columnWidth: oe2 }, null), qt2()])])]);
9903
9906
  }
9904
9907
  return e.createVNode(re, { onResize: () => mt2() }, { default: () => [e.createVNode("table", { class: `${z2}-element`, cellpadding: 0, cellspacing: 0, style: St2.value }, [e.createVNode(th, { dataColumns: J2.value, operations: xt2.value, columnWidth: oe2 }, null), t2.showHeader && Jt2(), Qt2(), ct2.value && ct2.value.length > 0 && qt2()])] });
9905
- }, to2 = (o2) => {
9908
+ }, oo2 = (o2) => {
9906
9909
  var _a2;
9907
9910
  const l2 = ((_a2 = t2.scroll) == null ? void 0 : _a2.maxHeight) ? { maxHeight: t2.scroll.maxHeight } : void 0, n3 = M2.value ? Zo : "div";
9908
- return e.createVNode(e.Fragment, null, [e.createVNode("div", { class: [`${z2}-container`, Bt2.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: ft2 }), { default: () => [o2 ? e.createVNode("table", { class: `${z2}-element`, cellpadding: 0, cellspacing: 0 }, [o2()]) : eo2()] })]), r2.footer && e.createVNode("div", { class: `${z2}-footer` }, [r2.footer()])]);
9909
- }, oo2 = () => {
9911
+ return e.createVNode(e.Fragment, null, [e.createVNode("div", { class: [`${z2}-container`, Bt2.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: ft2 }), { default: () => [o2 ? e.createVNode("table", { class: `${z2}-element`, cellpadding: 0, cellspacing: 0 }, [o2()]) : to2()] })]), r2.footer && e.createVNode("div", { class: `${z2}-footer` }, [r2.footer()])]);
9912
+ }, lo2 = () => {
9910
9913
  var _a2, _b;
9911
9914
  const o2 = a(t2.pagination) ? Tt(t2.pagination, ["current", "pageSize", "defaultCurrent", "defaultPageSize"]) : {};
9912
9915
  return e.createVNode("div", { class: Nt2.value }, [(_a2 = r2["pagination-left"]) == null ? void 0 : _a2.call(r2), e.createVNode(zp, e.mergeProps({ total: Je2.value.length, current: tt2.value, pageSize: ot2.value, onChange: (e2) => {
@@ -9914,14 +9917,14 @@
9914
9917
  }, onPageSizeChange: (e2) => {
9915
9918
  nt2(e2), ue2("pagination");
9916
9919
  } }, o2), null), (_b = r2["pagination-right"]) == null ? void 0 : _b.call(r2)]);
9917
- }, lo2 = e.computed(() => {
9920
+ }, no2 = e.computed(() => {
9918
9921
  var _a2, _b;
9919
9922
  if (i((_a2 = t2.scroll) == null ? void 0 : _a2.y))
9920
9923
  return { height: (_b = t2.scroll) == null ? void 0 : _b.y };
9921
9924
  });
9922
9925
  return { render: () => {
9923
9926
  var _a2;
9924
- return r2.default ? e.createVNode("div", { class: Vt2.value }, [to2(r2.default)]) : (L2.value = (_a2 = r2.columns) == null ? void 0 : _a2.call(r2), e.createVNode("div", { class: Vt2.value, style: lo2.value }, [L2.value, e.createVNode(Ho, It2.value, { default: () => [false !== t2.pagination && (rt2.value.length > 0 || et2.value.length > 0) && ne2.value && oo2(), to2(), false !== t2.pagination && (rt2.value.length > 0 || et2.value.length > 0) && !ne2.value && oo2()] })]));
9927
+ return r2.default ? e.createVNode("div", { class: Vt2.value }, [oo2(r2.default)]) : (L2.value = (_a2 = r2.columns) == null ? void 0 : _a2.call(r2), e.createVNode("div", { class: Vt2.value, style: no2.value }, [L2.value, e.createVNode(Ho, It2.value, { default: () => [false !== t2.pagination && (rt2.value.length > 0 || et2.value.length > 0) && ne2.value && lo2(), oo2(), false !== t2.pagination && (rt2.value.length > 0 || et2.value.length > 0) && !ne2.value && lo2()] })]));
9925
9928
  }, selfExpand: Fe2, selfExpandAll: We2, selfSelect: Oe2, selfSelectAll: Ie2, selfResetFilters: ye2, selfClearFilters: ge2, selfResetSorters: Ce2, selfClearSorters: xe2 };
9926
9929
  }, methods: { selectAll(e2) {
9927
9930
  return this.selfSelectAll(e2);