@shtabapp/ui-kit 1.73.0 → 1.74.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## [@shtabapp/ui-kit-v1.74.0](https://gitlab.com/mstikharev/shtab-ui-kit/compare/@shtabapp/ui-kit@1.73.0...@shtabapp/ui-kit@1.74.0) (2026-09-13)
2
+
3
+ ### Features
4
+
5
+ - **components:** reveal the sort button on hover and make drop-inside delay configurable ([5655956](https://gitlab.com/mstikharev/shtab-ui-kit/commit/5655956f3357bc8e0311925ed535aae442d12be8))
6
+ - **components:** s-table rowStyle prop for app-driven row inline style ([e9a991c](https://gitlab.com/mstikharev/shtab-ui-kit/commit/e9a991c0a031b2c1f0f0c373240269cc37bfec73))
7
+ - **components:** stable group rows honour rowStyle and expose their cells ([6efe711](https://gitlab.com/mstikharev/shtab-ui-kit/commit/6efe7111078c81b2987a4e1a2dcb78f234663742))
8
+
1
9
  ## [@shtabapp/ui-kit-v1.73.0](https://gitlab.com/mstikharev/shtab-ui-kit/compare/@shtabapp/ui-kit@1.72.0...@shtabapp/ui-kit@1.73.0) (2026-09-12)
2
10
 
3
11
  ### Features
@@ -596,7 +596,7 @@ var J = /* @__PURE__ */ function(e) {
596
596
  "data-section": W($).BODY,
597
597
  tabindex: m.descriptor.key === e.focusColumnKey ? 0 : -1
598
598
  }, [m.descriptor.key === e.groupColumnKey ? (L(), C("div", {
599
- key: 0,
599
+ key: 1,
600
600
  class: "s-ui-table__group-content",
601
601
  style: P(h.value)
602
602
  }, [B(t.$slots, "row", {}, () => [
@@ -650,7 +650,10 @@ var J = /* @__PURE__ */ function(e) {
650
650
  })]),
651
651
  _: 3
652
652
  }, 8, ["modelValue", "placement"])) : S("", !0)])
653
- ])], 4)) : S("", !0)], 14, mt))), 128)),
653
+ ])], 4)) : B(t.$slots, "group-cell", {
654
+ key: 0,
655
+ columnKey: m.descriptor.key
656
+ })], 14, mt))), 128)),
654
657
  b[4] ||= w("td", {
655
658
  class: "s-ui-table__cell s-ui-table__filler-cell s-ui-table__group-cell",
656
659
  role: "presentation"
@@ -706,6 +709,10 @@ var J = /* @__PURE__ */ function(e) {
706
709
  menuOpen: {
707
710
  type: Boolean,
708
711
  default: !1
712
+ },
713
+ menuEnabled: {
714
+ type: Boolean,
715
+ default: !0
709
716
  }
710
717
  },
711
718
  emits: [
@@ -715,7 +722,7 @@ var J = /* @__PURE__ */ function(e) {
715
722
  "hide"
716
723
  ],
717
724
  setup(e, { emit: t }) {
718
- let n = t, s = ie(), { t: c } = de(), f = b(() => !!s.menu || e.descriptor.sortable || e.descriptor.hideable), p = b(() => ({
725
+ let n = t, s = ie(), { t: c } = de(), f = b(() => e.menuEnabled === !1 ? !1 : !!s.menu || e.descriptor.sortable || e.descriptor.hideable), p = b(() => ({
719
726
  "s-ui-table__header-plaque--sorted": !!e.sortDirection,
720
727
  "s-ui-table__header-plaque--sortable": e.descriptor.sortable,
721
728
  "s-ui-table__header-plaque--align-center": e.descriptor.align === Y.CENTER,
@@ -1705,74 +1712,74 @@ var J = /* @__PURE__ */ function(e) {
1705
1712
  }
1706
1713
  }
1707
1714
  };
1708
- }, _n = ({ tableId: e, enabled: t, dragMode: n, snapshot: r, scrollElement: i, isRowDraggable: a, dragExpandDelayMs: o, isExpanded: s, onHoverExpand: c, onReorder: l, onTreeDrop: u, resolveRowPreviewTitle: d }) => {
1709
- let f = /* @__PURE__ */ new Map(), p = V(), m = V(), h = V(), g = (e) => {
1715
+ }, _n = ({ tableId: e, enabled: t, dragMode: n, snapshot: r, scrollElement: i, isRowDraggable: a, dragExpandDelayMs: o, dragInsideDelayMs: s, isExpanded: c, onHoverExpand: l, onReorder: u, onTreeDrop: d, resolveRowPreviewTitle: f }) => {
1716
+ let p = /* @__PURE__ */ new Map(), m = V(), h = V(), g = V(), _ = (e) => {
1710
1717
  if (!(e instanceof HTMLElement)) return;
1711
1718
  let t = Number(e.dataset.index);
1712
1719
  if (Number.isInteger(t)) return r.value.flatRows[t];
1713
- }, _ = (e) => {
1720
+ }, v = (e) => {
1714
1721
  if (!e || !U(t) || e.kind !== Q.ROW && e.kind !== Q.GROUP) return !1;
1715
1722
  let n = U(a);
1716
1723
  return n ? n(e.item) !== !1 : !0;
1717
- }, v = (e, t) => {
1724
+ }, y = (e, t) => {
1718
1725
  let { getSubtreeRangeByKey: n, getRowIndexByKey: i } = r.value, a = n(e), o = i(t);
1719
1726
  return !a || o === void 0 ? !1 : o >= a[0] && o <= a[1];
1720
- }, y = _e(() => {
1721
- let e = b.value;
1722
- e && !s(e) && c(e);
1723
- }, () => U(o) ?? 500, { immediate: !1 }), b = V(), x = _e(() => {
1724
- C.value = S.value;
1725
- }, He, { immediate: !1 }), S = V(), C = V(), w = (e) => {
1726
- !(e.hasChildren || e.kind === Q.GROUP) || e.expanded || b.value !== e.key && (b.value = e.key, y.stop(), y.start());
1727
- }, T = () => {
1728
- y.stop(), b.value = void 0, x.stop(), S.value = void 0, C.value = void 0;
1729
- }, E = (e, t, r, i) => {
1727
+ }, b = _e(() => {
1728
+ let e = x.value;
1729
+ e && !c(e) && l(e);
1730
+ }, () => U(o) ?? 500, { immediate: !1 }), x = V(), S = _e(() => {
1731
+ w.value = C.value;
1732
+ }, () => U(s) ?? 1300, { immediate: !1 }), C = V(), w = V(), T = (e) => {
1733
+ !(e.hasChildren || e.kind === Q.GROUP) || e.expanded || x.value !== e.key && (x.value = e.key, b.stop(), b.start());
1734
+ }, E = () => {
1735
+ b.stop(), x.value = void 0, S.stop(), C.value = void 0, w.value = void 0;
1736
+ }, D = (e, t, r, i) => {
1730
1737
  if (U(n) === Pe.TREE) {
1731
1738
  let n = t.getBoundingClientRect(), i = Ve * n.height / 2;
1732
1739
  if (Math.abs(r - (n.top + n.height / 2)) <= i) {
1733
- if (e.kind === Q.GROUP || C.value === e.key) return Fe.CHILD;
1734
- S.value !== e.key && (S.value = e.key, x.stop(), x.start());
1735
- } else S.value === e.key && (x.stop(), S.value = void 0, C.value = void 0);
1740
+ if (e.kind === Q.GROUP || w.value === e.key) return Fe.CHILD;
1741
+ C.value !== e.key && (C.value = e.key, S.stop(), S.start());
1742
+ } else C.value === e.key && (S.stop(), C.value = void 0, w.value = void 0);
1736
1743
  }
1737
1744
  return i === "top" ? Fe.BEFORE : Fe.AFTER;
1738
- }, D, O = (e) => {
1745
+ }, O, k = (e) => {
1739
1746
  [e, ...e.querySelectorAll("[id], [tabindex]")].forEach((e) => {
1740
1747
  e.removeAttribute("id"), e.removeAttribute("tabindex");
1741
1748
  });
1742
- }, k = (e) => {
1749
+ }, A = (e) => {
1743
1750
  let t = e.querySelector(".s-ui-table__cell--primary .s-ui-table__cell-body, .s-ui-table__cell--primary .s-ui-table__group-content"), n = t?.closest("td");
1744
1751
  return t && n ? {
1745
1752
  content: t,
1746
1753
  cell: n
1747
1754
  } : void 0;
1748
- }, A = (e, t) => {
1755
+ }, j = (e, t) => {
1749
1756
  let n = document.createElement("div");
1750
1757
  n.className = "s-ui-table__row-drag-preview", n.setAttribute("aria-hidden", "true");
1751
- let r = k(e);
1752
- if (!r) return n.textContent = t ? d(t) : "", n;
1758
+ let r = A(e);
1759
+ if (!r) return n.textContent = t ? f(t) : "", n;
1753
1760
  let i = r.content.cloneNode(!0);
1754
- return i instanceof Element && O(i), n.style.inlineSize = `${Math.round(r.cell.getBoundingClientRect().width)}px`, n.appendChild(i), n;
1755
- }, j = (e, t) => {
1756
- D && (D.style.transform = `translate(${e + 8}px, ${t + 8}px)`);
1757
- }, M = (e) => {
1758
- j(e.clientX, e.clientY);
1759
- }, ee = (e, t, n) => {
1760
- N(), D = document.createElement("div"), D.className = "s-ui-table__row-drag-layer", D.appendChild(e), document.body.appendChild(D), document.addEventListener("dragover", M), j(t, n);
1761
- }, N = () => {
1762
- document.removeEventListener("dragover", M), D?.remove(), D = void 0;
1763
- }, P = (t) => {
1761
+ return i instanceof Element && k(i), n.style.inlineSize = `${Math.round(r.cell.getBoundingClientRect().width)}px`, n.appendChild(i), n;
1762
+ }, M = (e, t) => {
1763
+ O && (O.style.transform = `translate(${e + 8}px, ${t + 8}px)`);
1764
+ }, ee = (e) => {
1765
+ M(e.clientX, e.clientY);
1766
+ }, N = (e, t, n) => {
1767
+ P(), O = document.createElement("div"), O.className = "s-ui-table__row-drag-layer", O.appendChild(e), document.body.appendChild(O), document.addEventListener("dragover", ee), M(t, n);
1768
+ }, P = () => {
1769
+ document.removeEventListener("dragover", ee), O?.remove(), O = void 0;
1770
+ }, I = (t) => {
1764
1771
  if (!(t instanceof HTMLElement)) {
1765
- f.forEach((e, t) => {
1766
- t.isConnected || (e(), f.delete(t));
1772
+ p.forEach((e, t) => {
1773
+ t.isConnected || (e(), p.delete(t));
1767
1774
  });
1768
1775
  return;
1769
1776
  }
1770
- if (f.has(t)) return;
1777
+ if (p.has(t)) return;
1771
1778
  let n = q(xe({
1772
1779
  element: t,
1773
- canDrag: () => _(g(t)),
1780
+ canDrag: () => v(_(t)),
1774
1781
  getInitialData: () => {
1775
- let n = g(t);
1782
+ let n = _(t);
1776
1783
  return {
1777
1784
  type: ln,
1778
1785
  tableId: e,
@@ -1781,94 +1788,94 @@ var J = /* @__PURE__ */ function(e) {
1781
1788
  };
1782
1789
  },
1783
1790
  onGenerateDragPreview: ({ nativeSetDragImage: e, location: n }) => {
1784
- let r = A(t, g(t)), { clientX: i, clientY: a } = n.current.input;
1785
- Oe({ nativeSetDragImage: e }), ee(r, i, a);
1791
+ let r = j(t, _(t)), { clientX: i, clientY: a } = n.current.input;
1792
+ Oe({ nativeSetDragImage: e }), N(r, i, a);
1786
1793
  },
1787
1794
  onDragStart: () => {
1788
- p.value = g(t)?.key, h.value = void 0;
1795
+ m.value = _(t)?.key, g.value = void 0;
1789
1796
  },
1790
1797
  onDrop: () => {
1791
- p.value = void 0, m.value = void 0, T(), N();
1798
+ m.value = void 0, h.value = void 0, E(), P();
1792
1799
  }
1793
1800
  }), Se({
1794
1801
  element: t,
1795
1802
  canDrop: ({ source: n }) => {
1796
1803
  if (!dn(n.data, e)) return !1;
1797
- let r = g(t);
1798
- return !r || r.key === n.data.rowKey ? !1 : !v(n.data.rowKey, r.key);
1804
+ let r = _(t);
1805
+ return !r || r.key === n.data.rowKey ? !1 : !y(n.data.rowKey, r.key);
1799
1806
  },
1800
- getData: ({ input: e, element: t }) => Ee({ rowKey: g(t)?.key ?? "" }, {
1807
+ getData: ({ input: e, element: t }) => Ee({ rowKey: _(t)?.key ?? "" }, {
1801
1808
  input: e,
1802
1809
  element: t,
1803
1810
  allowedEdges: ["top", "bottom"]
1804
1811
  }),
1805
1812
  onDrag: ({ self: e, location: n }) => {
1806
- let r = g(t);
1813
+ let r = _(t);
1807
1814
  if (!r) return;
1808
- w(r);
1809
- let i = De(e.data), a = i === "top" || i === "bottom" ? i : null, o = E(r, t, n.current.input.clientY, a), s = o === Fe.CHILD ? r.depth + 1 : r.depth, c = m.value;
1810
- (c?.targetKey !== r.key || c.action !== o || c.depth !== s) && (m.value = {
1815
+ T(r);
1816
+ let i = De(e.data), a = i === "top" || i === "bottom" ? i : null, o = D(r, t, n.current.input.clientY, a), s = o === Fe.CHILD ? r.depth + 1 : r.depth, c = h.value;
1817
+ (c?.targetKey !== r.key || c.action !== o || c.depth !== s) && (h.value = {
1811
1818
  targetKey: r.key,
1812
1819
  action: o,
1813
1820
  depth: s
1814
- }), h.value = {
1821
+ }), g.value = {
1815
1822
  targetKey: r.key,
1816
1823
  action: o,
1817
1824
  depth: s
1818
1825
  };
1819
1826
  },
1820
1827
  onDragLeave: () => {
1821
- let e = g(t);
1822
- m.value?.targetKey === e?.key && (m.value = void 0), b.value === e?.key && (y.stop(), b.value = void 0);
1828
+ let e = _(t);
1829
+ h.value?.targetKey === e?.key && (h.value = void 0), x.value === e?.key && (b.stop(), x.value = void 0);
1823
1830
  }
1824
1831
  }));
1825
- f.set(t, n);
1826
- }, I = Ce({
1832
+ p.set(t, n);
1833
+ }, L = Ce({
1827
1834
  canMonitor: ({ source: t }) => dn(t.data, e),
1828
1835
  onDrop: ({ source: t, location: i }) => {
1829
- let a = h.value;
1830
- if (h.value = void 0, p.value = void 0, m.value = void 0, T(), !i.current.dropTargets[0] || !a || !dn(t.data, e)) return;
1831
- let { flatRows: o, getRowIndexByKey: s } = r.value, c = s(t.data.rowKey), d = s(a.targetKey), f = c === void 0 ? void 0 : o[c], g = d === void 0 ? void 0 : o[d];
1832
- if (!f || !g || f.key === g.key || v(f.key, g.key)) return;
1836
+ let a = g.value;
1837
+ if (g.value = void 0, m.value = void 0, h.value = void 0, E(), !i.current.dropTargets[0] || !a || !dn(t.data, e)) return;
1838
+ let { flatRows: o, getRowIndexByKey: s } = r.value, c = s(t.data.rowKey), l = s(a.targetKey), f = c === void 0 ? void 0 : o[c], p = l === void 0 ? void 0 : o[l];
1839
+ if (!f || !p || f.key === p.key || y(f.key, p.key)) return;
1833
1840
  if (U(n) === Pe.FLAT) {
1834
1841
  if (a.action === Fe.CHILD) return;
1835
- l({
1842
+ u({
1836
1843
  action: a.action,
1837
1844
  sourceKey: f.key,
1838
1845
  sourceItem: f.item,
1839
- targetKey: g.key,
1840
- targetItem: g.item,
1846
+ targetKey: p.key,
1847
+ targetItem: p.item,
1841
1848
  sourceIndex: f.index,
1842
- targetIndex: g.index
1849
+ targetIndex: p.index
1843
1850
  });
1844
1851
  return;
1845
1852
  }
1846
- let _ = a.action === Fe.CHILD, y = _ ? g.key : g.parentKey, b = y === void 0 ? void 0 : s(y), x = b === void 0 ? void 0 : o[b];
1847
- u({
1853
+ let _ = a.action === Fe.CHILD, v = _ ? p.key : p.parentKey, b = v === void 0 ? void 0 : s(v), x = b === void 0 ? void 0 : o[b];
1854
+ d({
1848
1855
  action: a.action,
1849
1856
  sourceKey: f.key,
1850
1857
  sourceItem: f.item,
1851
- targetKey: g.key,
1852
- targetItem: g.item,
1853
- parentKey: y,
1858
+ targetKey: p.key,
1859
+ targetItem: p.item,
1860
+ parentKey: v,
1854
1861
  parentItem: x?.item,
1855
- depth: _ ? g.depth + 1 : g.depth
1862
+ depth: _ ? p.depth + 1 : p.depth
1856
1863
  });
1857
1864
  }
1858
- }), L;
1865
+ }), R;
1859
1866
  return G(i, (t) => {
1860
- L?.(), L = void 0, t && (L = ke({
1867
+ R?.(), R = void 0, t && (R = ke({
1861
1868
  element: t,
1862
1869
  canScroll: ({ source: t }) => dn(t.data, e)
1863
1870
  }));
1864
1871
  }, { immediate: !0 }), F(() => {
1865
- I(), L?.(), N(), f.forEach((e) => {
1872
+ L(), R?.(), P(), p.forEach((e) => {
1866
1873
  e();
1867
- }), f.clear();
1874
+ }), p.clear();
1868
1875
  }), {
1869
- registerRowElement: P,
1870
- draggingRowKey: p,
1871
- dropIndicator: m
1876
+ registerRowElement: I,
1877
+ draggingRowKey: m,
1878
+ dropIndicator: h
1872
1879
  };
1873
1880
  }, vn = ({ flatRows: e, virtualEnabled: t, windowIndexes: n, uiTotalSize: r, getRowUiOffset: i, activeGroupRowIndex: a, activeDepthFooterRowIndexes: o, leavingDepthFooterRowIndex: s, slidingDepthFooterRowIndexes: c, farDepthFooterRowIndexes: l, activeRowIndex: u }) => {
1874
1881
  let d = b(() => {
@@ -2579,6 +2586,7 @@ var J = /* @__PURE__ */ function(e) {
2579
2586
  rowsDragMode: {},
2580
2587
  isRowDraggable: { type: Function },
2581
2588
  dragExpandDelayMs: { default: () => 500 },
2589
+ dragInsideDelayMs: { default: () => He },
2582
2590
  columnsResizable: {
2583
2591
  type: Boolean,
2584
2592
  default: !0
@@ -2587,6 +2595,10 @@ var J = /* @__PURE__ */ function(e) {
2587
2595
  type: Boolean,
2588
2596
  default: !0
2589
2597
  },
2598
+ columnMenu: {
2599
+ type: Boolean,
2600
+ default: !0
2601
+ },
2590
2602
  scrollSeekPlaceholders: {
2591
2603
  type: Boolean,
2592
2604
  default: !0
@@ -2736,6 +2748,7 @@ var J = /* @__PURE__ */ function(e) {
2736
2748
  scrollElement: te,
2737
2749
  isRowDraggable: () => e.isRowDraggable,
2738
2750
  dragExpandDelayMs: () => e.dragExpandDelayMs,
2751
+ dragInsideDelayMs: () => e.dragInsideDelayMs,
2739
2752
  isExpanded: (e) => p.value.includes(e),
2740
2753
  onHoverExpand: (e) => {
2741
2754
  xe(e);
@@ -3048,50 +3061,52 @@ var J = /* @__PURE__ */ function(e) {
3048
3061
  style: P({ width: `var(${e.liveWidthVar}, var(${e.widthVar}))` })
3049
3062
  }, null, 4))), 128))
3050
3063
  ]),
3051
- w("thead", Rn, [w("tr", zn, [(L(!0), C(y, null, z(W(Ee), ({ key: e, descriptor: s }) => (L(), C(y, { key: e }, [s ? (L(), C("th", {
3064
+ w("thead", Rn, [w("tr", zn, [(L(!0), C(y, null, z(W(Ee), ({ key: s, descriptor: c }) => (L(), C(y, { key: s }, [c ? (L(), C("th", {
3052
3065
  key: 1,
3053
3066
  id: pr({
3054
3067
  section: W($).HEADER,
3055
- columnKey: s.key
3068
+ columnKey: c.key
3056
3069
  }),
3057
3070
  ref_for: !0,
3058
- ref: (e) => ut(e, s.key),
3059
- class: N(["s-ui-table__header-cell", [W(Oe)(s), { "s-ui-table__header-cell--dragging": W(st) === s.key }]]),
3060
- style: P(W(De)(s)),
3061
- "data-column-key": s.key,
3071
+ ref: (e) => ut(e, c.key),
3072
+ class: N(["s-ui-table__header-cell", [W(Oe)(c), { "s-ui-table__header-cell--dragging": W(st) === c.key }]]),
3073
+ style: P(W(De)(c)),
3074
+ "data-column-key": c.key,
3062
3075
  "data-section": W($).HEADER,
3063
- "aria-colindex": s.colIndex,
3064
- "aria-sort": W(Ft)(s),
3065
- tabindex: yr(W($).HEADER, void 0, s.key),
3076
+ "aria-colindex": c.colIndex,
3077
+ "aria-sort": W(Ft)(c),
3078
+ tabindex: yr(W($).HEADER, void 0, c.key),
3066
3079
  scope: "col"
3067
- }, [s.column ? (L(), x(Dt, {
3080
+ }, [c.column ? (L(), x(Dt, {
3068
3081
  key: 0,
3069
- descriptor: s,
3070
- "sort-direction": W(At)(s.key),
3071
- "sort-index": W(jt)(s.key),
3072
- "menu-open": Lt.value === s.key,
3073
- "onUpdate:menuOpen": (e) => Rt(s.key, e),
3074
- onSortToggle: (e) => W(Nt)(s.key, e),
3075
- onSortSet: (e) => W(Pt)(s.key, e),
3076
- onHide: (e) => qt(s.key)
3077
- }, T({ _: 2 }, [W(F)[`header:${s.key}`] ? {
3082
+ descriptor: c,
3083
+ "sort-direction": W(At)(c.key),
3084
+ "sort-index": W(jt)(c.key),
3085
+ "menu-enabled": e.columnMenu,
3086
+ "menu-open": Lt.value === c.key,
3087
+ "onUpdate:menuOpen": (e) => Rt(c.key, e),
3088
+ onSortToggle: (e) => W(Nt)(c.key, e),
3089
+ onSortSet: (e) => W(Pt)(c.key, e),
3090
+ onHide: (e) => qt(c.key)
3091
+ }, T({ _: 2 }, [W(F)[`header:${c.key}`] ? {
3078
3092
  name: "default",
3079
- fn: K(() => [B(t.$slots, `header:${s.key}`, M({ ref_for: !0 }, W(It)(s)))]),
3093
+ fn: K(() => [B(t.$slots, `header:${c.key}`, M({ ref_for: !0 }, W(It)(c)))]),
3080
3094
  key: "0"
3081
- } : void 0, W(F)[`header-menu:${s.key}`] ? {
3095
+ } : void 0, W(F)[`header-menu:${c.key}`] ? {
3082
3096
  name: "menu",
3083
- fn: K(() => [B(t.$slots, `header-menu:${s.key}`, M({ ref_for: !0 }, W(It)(s)))]),
3097
+ fn: K(() => [B(t.$slots, `header-menu:${c.key}`, M({ ref_for: !0 }, W(It)(c)))]),
3084
3098
  key: "1"
3085
3099
  } : void 0]), 1032, [
3086
3100
  "descriptor",
3087
3101
  "sort-direction",
3088
3102
  "sort-index",
3103
+ "menu-enabled",
3089
3104
  "menu-open",
3090
3105
  "onUpdate:menuOpen",
3091
3106
  "onSortToggle",
3092
3107
  "onSortSet",
3093
3108
  "onHide"
3094
- ])) : s.service === W(qe).CHECKBOX ? (L(), x(We, {
3109
+ ])) : c.service === W(qe).CHECKBOX ? (L(), x(We, {
3095
3110
  key: 1,
3096
3111
  class: N(["s-ui-table__header-checkbox", { "s-ui-table__header-checkbox--active": W(Yt) !== W(Z).UNCHECKED }]),
3097
3112
  "model-value": W(Yt) === W(Z).CHECKED,
@@ -3103,7 +3118,7 @@ var J = /* @__PURE__ */ function(e) {
3103
3118
  "model-value",
3104
3119
  "indeterminate",
3105
3120
  "screen-reader-label"
3106
- ])) : s.service === W(qe).COLUMNS_MANAGER ? (L(), C("div", Hn, [D(W(u), {
3121
+ ])) : c.service === W(qe).COLUMNS_MANAGER ? (L(), C("div", Hn, [D(W(u), {
3107
3122
  modelValue: Bt.value,
3108
3123
  "onUpdate:modelValue": n[1] ||= (e) => Bt.value = e,
3109
3124
  placement: W(l).BOTTOM_END,
@@ -3161,16 +3176,16 @@ var J = /* @__PURE__ */ function(e) {
3161
3176
  _: 3
3162
3177
  })]),
3163
3178
  _: 3
3164
- }, 8, ["modelValue", "placement"])])) : S("", !0), s.resizable ? (L(), C("span", {
3179
+ }, 8, ["modelValue", "placement"])])) : S("", !0), c.resizable ? (L(), C("span", {
3165
3180
  key: 3,
3166
- class: N(["s-ui-table__resize-handle", { "s-ui-table__resize-handle--active": W(tt) === s.key }]),
3181
+ class: N(["s-ui-table__resize-handle", { "s-ui-table__resize-handle--active": W(tt) === c.key }]),
3167
3182
  role: "separator",
3168
3183
  "aria-orientation": "vertical",
3169
3184
  "aria-label": W(I)("table.resizeColumn"),
3170
3185
  tabindex: "-1",
3171
- onPointerdown: (e) => W(nt)(e, s.key),
3172
- onKeydown: (e) => W(rt)(e, s.key),
3173
- onDblclick: (e) => W(it)(s.key),
3186
+ onPointerdown: (e) => W(nt)(e, c.key),
3187
+ onKeydown: (e) => W(rt)(e, c.key),
3188
+ onDblclick: (e) => W(it)(c.key),
3174
3189
  onClick: n[2] ||= oe(() => {}, ["stop"])
3175
3190
  }, null, 42, Gn)) : S("", !0)], 14, Vn)) : (L(), C("th", Bn))], 64))), 128))])]),
3176
3191
  w("tbody", Kn, [
@@ -3231,15 +3246,23 @@ var J = /* @__PURE__ */ function(e) {
3231
3246
  fn: K(() => [B(t.$slots, "group-row", M({ ref_for: !0 }, ar(n)))]),
3232
3247
  key: "1"
3233
3248
  } : void 0,
3249
+ W(F)["group-cell"] ? {
3250
+ name: "group-cell",
3251
+ fn: K((e) => [B(t.$slots, "group-cell", M({ ref_for: !0 }, {
3252
+ ...ar(n),
3253
+ ...e
3254
+ }))]),
3255
+ key: "2"
3256
+ } : void 0,
3234
3257
  W(F)["group-title"] ? {
3235
3258
  name: "title",
3236
3259
  fn: K(() => [B(t.$slots, "group-title", M({ ref_for: !0 }, ar(n)))]),
3237
- key: "2"
3260
+ key: "3"
3238
3261
  } : void 0,
3239
3262
  W(F)["group-actions"] ? {
3240
3263
  name: "actions",
3241
3264
  fn: K(() => [B(t.$slots, "group-actions", M({ ref_for: !0 }, ar(n)))]),
3242
- key: "3"
3265
+ key: "4"
3243
3266
  } : void 0
3244
3267
  ]), 1032, [
3245
3268
  "id",