@stenajs-webui/grid 21.0.3 → 21.2.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/dist/index.es.js CHANGED
@@ -1,11 +1,11 @@
1
1
  (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode("._tableRow_1cphw_1:focus-within{background:var(--focus-within-background, var(--lhds-color-blue-50))}._standardTable_1iok0_1{--swui-standard-table-height: 40px;--swui-sticky-header-shadow: 2px 4px 4px 0 rgba(0, 0, 0, .05);--swui-sticky-header-shadow-and-right: var(--swui-sticky-header-shadow), var(--swui-sticky-column-shadow-right);--swui-sticky-header-shadow-and-left: var(--swui-sticky-header-shadow), var(--swui-sticky-column-shadow-left);--swui-sticky-column-shadow-right: 4px 2px 4px 0 rgba(0, 0, 0, .05);--swui-sticky-column-shadow-left: -4px 2px 4px 0 rgba(0, 0, 0, .05);--swui-sticky-header-z-index: 10;--swui-sticky-column-z-index: 20;--swui-sticky-group-group-z-index: 25;--swui-sticky-group-header-z-index: 26;--swui-sticky-header-column-group-z-index: 30;--swui-sticky-column-group-label-z-index: 40;--swui-sticky-header-in-sticky-column-z-index: 50;--swui-sticky-popover-z-index: 60;--swui-expand-cell-width: 45px;--swui-checkbox-cell-width: 45px;--swui-expand-highlight-border-width: 2px;--current-row-height: var(--swui-standard-table-height);--current-left-offset: 0px;border-spacing:0}._standardTable_1iok0_1 td{border-top:1px solid var(--lhds-color-ui-300);padding:0}._standardTable_1iok0_1 th{padding:0}._standardTable_1iok0_1._relaxed_1iok0_37{--current-row-height: 48px}._standardTable_1iok0_1._condensed_1iok0_41{--current-row-height: 32px}._standardTable_1iok0_1._compact_1iok0_45{--current-row-height: 24px}._standardTableCell_1xzcm_1{outline:none}._textCell_1yv6v_1{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._summaryRow_12x8k_1 td{border-top:1px solid var(--lhds-color-ui-400)}._standardTableHeadTh_swsxb_8{height:1px}@-moz-document url-prefix(){._standardTableHeadTh_swsxb_8{height:100%}}")),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}})();
2
- import { jsx as a, Fragment as M, jsxs as C } from "react/jsx-runtime";
3
- import * as R from "react";
4
- import { useMemo as y, useRef as ce, useState as ke, useCallback as P, useEffect as ht, useContext as z, createContext as H, useReducer as Zt, useId as en } from "react";
5
- import { InputSpinner as We, Icon as Q, stenaExclamationTriangle as Pe, stenaArrowRight as mt, stenaInfoCircle as tn, FlatButton as Ne, stenaDotsVertical as nn, stenaAngleDown as ft, stenaAngleRight as pt, ResultListBanner as rn, Banner as Ke } from "@stenajs-webui/elements";
2
+ import { jsx as a, Fragment as E, jsxs as C } from "react/jsx-runtime";
3
+ import * as M from "react";
4
+ import { useMemo as y, useRef as ce, useState as ke, useCallback as P, useEffect as ht, useContext as Y, createContext as H, useReducer as Zt, useId as en } from "react";
5
+ import { InputSpinner as We, Icon as X, stenaExclamationTriangle as Pe, stenaArrowRight as mt, stenaInfoCircle as tn, FlatButton as Ne, stenaDotsVertical as nn, stenaAngleDown as ft, stenaAngleRight as pt, ResultListBanner as rn, Banner as Ke } from "@stenajs-webui/elements";
6
6
  import { cssColor as j } from "@stenajs-webui/theme";
7
7
  import { Tooltip as we, Popover as on } from "@stenajs-webui/tooltip";
8
- import { Text as X, Indent as N, Space as W, Row as T, Box as le, exhaustSwitchCaseElseThrow as sn, Heading as wt, booleanOrNumberToNumber as an, useArraySet as gt, useOnScreen as cn, Spacing as Me } from "@stenajs-webui/core";
8
+ import { Text as U, Indent as L, Space as N, Row as T, Box as le, exhaustSwitchCaseElseThrow as sn, Heading as wt, booleanOrNumberToNumber as an, useArraySet as gt, useOnScreen as cn, Spacing as Me } from "@stenajs-webui/core";
9
9
  import { faSortAlphaDown as ln } from "@fortawesome/free-solid-svg-icons/faSortAlphaDown";
10
10
  import { faSortAlphaUp as un } from "@fortawesome/free-solid-svg-icons/faSortAlphaUp";
11
11
  import { faSortAmountDownAlt as dn } from "@fortawesome/free-solid-svg-icons/faSortAmountDownAlt";
@@ -20,7 +20,7 @@ import { combineReducers as Cn } from "redux";
20
20
  import { LoadingScreen as xn, ErrorScreen as kn } from "@stenajs-webui/panels";
21
21
  import { compact as Sn, upperFirst as Pn, lowerCase as On } from "lodash-es";
22
22
  import In from "@emotion/styled";
23
- const bt = R.createContext({}), Zs = ({
23
+ const bt = M.createContext({}), Zs = ({
24
24
  children: e,
25
25
  numCols: t,
26
26
  numRows: n,
@@ -43,14 +43,14 @@ const bt = R.createContext({}), Zs = ({
43
43
  return /* @__PURE__ */ a(We, { color: j("--lhds-color-ui-500") });
44
44
  if (n) {
45
45
  const c = /* @__PURE__ */ a(
46
- Q,
46
+ X,
47
47
  {
48
48
  icon: Pe,
49
49
  color: j("--lhds-color-orange-600"),
50
50
  size: 14
51
51
  }
52
52
  );
53
- return /* @__PURE__ */ a(M, { children: t ? /* @__PURE__ */ a(we, { label: t, children: c }) : c });
53
+ return /* @__PURE__ */ a(E, { children: t ? /* @__PURE__ */ a(we, { label: t, children: c }) : c });
54
54
  }
55
55
  return null;
56
56
  }, Tn = ({
@@ -61,22 +61,22 @@ const bt = R.createContext({}), Zs = ({
61
61
  crudStatus: o
62
62
  }) => {
63
63
  const s = t && (r == null ? void 0 : r.modified) && (r == null ? void 0 : r.newValue) === "", i = o && Ae(o), c = s || i;
64
- return /* @__PURE__ */ C(M, { children: [
64
+ return /* @__PURE__ */ C(E, { children: [
65
65
  /* @__PURE__ */ a(
66
- X,
66
+ U,
67
67
  {
68
68
  color: e ? "var(--swui-primary-action-color)" : void 0,
69
69
  variant: r != null && r.modified ? "bold" : void 0,
70
70
  children: n
71
71
  }
72
72
  ),
73
- (r == null ? void 0 : r.newValue) !== void 0 && /* @__PURE__ */ C(M, { children: [
74
- /* @__PURE__ */ a(N, { children: /* @__PURE__ */ a(Q, { icon: mt, size: 12 }) }),
75
- /* @__PURE__ */ a(X, { color: "var(--swui-primary-action-color)", variant: "bold", children: r.newValue })
73
+ (r == null ? void 0 : r.newValue) !== void 0 && /* @__PURE__ */ C(E, { children: [
74
+ /* @__PURE__ */ a(L, { children: /* @__PURE__ */ a(X, { icon: mt, size: 12 }) }),
75
+ /* @__PURE__ */ a(U, { color: "var(--swui-primary-action-color)", variant: "bold", children: r.newValue })
76
76
  ] }),
77
- c && /* @__PURE__ */ a(W, {}),
77
+ c && /* @__PURE__ */ a(N, {}),
78
78
  s ? /* @__PURE__ */ a(we, { label: t, children: /* @__PURE__ */ a(
79
- Q,
79
+ X,
80
80
  {
81
81
  icon: Pe,
82
82
  color: j("--lhds-color-orange-600"),
@@ -111,7 +111,7 @@ const bt = R.createContext({}), Zs = ({
111
111
  iconVariant: e = "amount",
112
112
  direction: t
113
113
  }) => /* @__PURE__ */ a(le, { width: "14px", children: /* @__PURE__ */ a(
114
- Q,
114
+ X,
115
115
  {
116
116
  size: 14,
117
117
  color: j("--lhds-color-ui-500"),
@@ -128,7 +128,7 @@ const bt = R.createContext({}), Zs = ({
128
128
  default:
129
129
  return sn(t);
130
130
  }
131
- }, ze = R.memo(
131
+ }, ze = M.memo(
132
132
  ({
133
133
  label: e,
134
134
  arrow: t,
@@ -157,18 +157,18 @@ const bt = R.createContext({}), Zs = ({
157
157
  ...m,
158
158
  children: [
159
159
  /* @__PURE__ */ C(T, { alignItems: "center", indent: !0, children: [
160
- !t && d && /* @__PURE__ */ C(M, { children: [
161
- /* @__PURE__ */ a(W, {}),
160
+ !t && d && /* @__PURE__ */ C(E, { children: [
161
+ /* @__PURE__ */ a(N, {}),
162
162
  /* @__PURE__ */ a(le, { width: "14px" }),
163
- /* @__PURE__ */ a(W, { num: 0.5 })
163
+ /* @__PURE__ */ a(N, { num: 0.5 })
164
164
  ] }),
165
165
  (r || e) && /* @__PURE__ */ C(T, { onClick: n, style: f, alignItems: "center", children: [
166
- r && /* @__PURE__ */ C(M, { children: [
166
+ r && /* @__PURE__ */ C(E, { children: [
167
167
  r,
168
- !w && /* @__PURE__ */ a(W, { num: 0.5 })
168
+ !w && /* @__PURE__ */ a(N, { num: 0.5 })
169
169
  ] }),
170
- t && d && /* @__PURE__ */ C(M, { children: [
171
- /* @__PURE__ */ a(W, {}),
170
+ t && d && /* @__PURE__ */ C(E, { children: [
171
+ /* @__PURE__ */ a(N, {}),
172
172
  /* @__PURE__ */ a(
173
173
  Ze,
174
174
  {
@@ -176,11 +176,11 @@ const bt = R.createContext({}), Zs = ({
176
176
  iconVariant: u
177
177
  }
178
178
  ),
179
- /* @__PURE__ */ a(W, { num: 0.5 })
179
+ /* @__PURE__ */ a(N, { num: 0.5 })
180
180
  ] }),
181
181
  e && /* @__PURE__ */ a(wt, { variant: "h6", style: { textAlign: "left" }, children: e }),
182
- t && !d && /* @__PURE__ */ C(M, { children: [
183
- /* @__PURE__ */ a(W, { num: 0.5 }),
182
+ t && !d && /* @__PURE__ */ C(E, { children: [
183
+ /* @__PURE__ */ a(N, { num: 0.5 }),
184
184
  /* @__PURE__ */ a(
185
185
  Ze,
186
186
  {
@@ -188,21 +188,21 @@ const bt = R.createContext({}), Zs = ({
188
188
  iconVariant: u
189
189
  }
190
190
  ),
191
- /* @__PURE__ */ a(W, {})
191
+ /* @__PURE__ */ a(N, {})
192
192
  ] })
193
193
  ] }),
194
- c && /* @__PURE__ */ C(M, { children: [
195
- /* @__PURE__ */ a(W, {}),
194
+ c && /* @__PURE__ */ C(E, { children: [
195
+ /* @__PURE__ */ a(N, {}),
196
196
  /* @__PURE__ */ C(T, { onClick: (h) => h.stopPropagation(), children: [
197
197
  /* @__PURE__ */ a(we, { label: c, children: /* @__PURE__ */ a(
198
- Q,
198
+ X,
199
199
  {
200
200
  icon: tn,
201
201
  size: 14,
202
202
  color: j("--lhds-color-blue-400")
203
203
  }
204
204
  ) }),
205
- /* @__PURE__ */ a(W, {})
205
+ /* @__PURE__ */ a(N, {})
206
206
  ] })
207
207
  ] })
208
208
  ] }),
@@ -222,10 +222,10 @@ const bt = R.createContext({}), Zs = ({
222
222
  children: s
223
223
  }
224
224
  ) : null }),
225
- !t && !d && /* @__PURE__ */ C(M, { children: [
226
- /* @__PURE__ */ a(W, {}),
225
+ !t && !d && /* @__PURE__ */ C(E, { children: [
226
+ /* @__PURE__ */ a(N, {}),
227
227
  /* @__PURE__ */ a(le, { width: "14px" }),
228
- /* @__PURE__ */ a(W, { num: 0.5 })
228
+ /* @__PURE__ */ a(N, { num: 0.5 })
229
229
  ] })
230
230
  ]
231
231
  }
@@ -244,7 +244,7 @@ const bt = R.createContext({}), Zs = ({
244
244
  width: n,
245
245
  indent: r = 1,
246
246
  height: o = Ye
247
- }) => /* @__PURE__ */ a(ze, { width: n, flex: t, height: o, children: /* @__PURE__ */ a(le, { indent: r, spacing: !0, children: /* @__PURE__ */ a(X, { variant: "bold", children: e }) }) }), ra = R.memo(
247
+ }) => /* @__PURE__ */ a(ze, { width: n, flex: t, height: o, children: /* @__PURE__ */ a(le, { indent: r, spacing: !0, children: /* @__PURE__ */ a(U, { variant: "bold", children: e }) }) }), ra = M.memo(
248
248
  ({ style: e, height: t = Ye, ...n }) => /* @__PURE__ */ a(T, { style: e, height: t, ...n })
249
249
  ), Nn = "_tableRow_1cphw_1", Ln = {
250
250
  tableRow: Nn
@@ -402,7 +402,7 @@ const bt = R.createContext({}), Zs = ({
402
402
  throw new Error("numCols is required.");
403
403
  return e;
404
404
  }, St = (e) => {
405
- const t = z(bt);
405
+ const t = Y(bt);
406
406
  return y(
407
407
  () => Zn({
408
408
  ...t,
@@ -568,14 +568,14 @@ const bt = R.createContext({}), Zs = ({
568
568
  },
569
569
  [f, r, c.actions, n]
570
570
  ), {
571
- isEditing: I,
571
+ isEditing: O,
572
572
  stopEditing: v,
573
- editorValue: E,
573
+ editorValue: R,
574
574
  setEditorValue: G,
575
575
  stopEditingAndRevert: k,
576
- stopEditingAndMove: L,
576
+ stopEditingAndMove: W,
577
577
  lastKeyEvent: B,
578
- requiredProps: { onKeyDown: V, ...Z }
578
+ requiredProps: { onKeyDown: V, ...ee }
579
579
  } = Oe(n, {
580
580
  rowIndex: d,
581
581
  colIndex: l,
@@ -585,7 +585,7 @@ const bt = R.createContext({}), Zs = ({
585
585
  onChange: S,
586
586
  isEditable: o,
587
587
  allowedInputType: t
588
- }), Y = P(
588
+ }), q = P(
589
589
  (A) => {
590
590
  A.key === "Delete" ? (f(c.actions.clearEntity(r)), f(
591
591
  i.actions.setEntityFields(r, {
@@ -611,7 +611,7 @@ const bt = R.createContext({}), Zs = ({
611
611
  hoverBackground: "var(--ui7)",
612
612
  alignItems: "center",
613
613
  children: [
614
- s && /* @__PURE__ */ a(N, { num: s }),
614
+ s && /* @__PURE__ */ a(L, { num: s }),
615
615
  /* @__PURE__ */ a(
616
616
  T,
617
617
  {
@@ -621,34 +621,34 @@ const bt = R.createContext({}), Zs = ({
621
621
  alignItems: "center",
622
622
  border: "1px solid transparent",
623
623
  borderRadius: "4px",
624
- focusBorder: I ? void 0 : "1px solid var(--primary-action-color)",
625
- hoverBorder: I ? void 0 : "var(--ui5) solid 1px;",
626
- onKeyDown: Y,
627
- ...Z,
628
- children: /* @__PURE__ */ a(N, { row: !0, alignItems: "center", children: I ? /* @__PURE__ */ a(
624
+ focusBorder: O ? void 0 : "1px solid var(--primary-action-color)",
625
+ hoverBorder: O ? void 0 : "var(--ui5) solid 1px;",
626
+ onKeyDown: q,
627
+ ...ee,
628
+ children: /* @__PURE__ */ a(L, { row: !0, alignItems: "center", children: O ? /* @__PURE__ */ a(
629
629
  Le,
630
630
  {
631
631
  onValueChange: G,
632
- value: E,
632
+ value: R,
633
633
  onDone: v,
634
634
  onEsc: k,
635
635
  autoFocus: !0,
636
636
  selectAllOnMount: !B,
637
- onMove: L
637
+ onMove: W
638
638
  }
639
- ) : /* @__PURE__ */ C(M, { children: [
639
+ ) : /* @__PURE__ */ C(E, { children: [
640
640
  /* @__PURE__ */ a(
641
- X,
641
+ U,
642
642
  {
643
643
  color: o ? "var(--primary-action-color)" : void 0,
644
644
  variant: g != null && g.modified ? "bold" : void 0,
645
645
  children: n
646
646
  }
647
647
  ),
648
- (g == null ? void 0 : g.newValue) !== void 0 && /* @__PURE__ */ C(M, { children: [
649
- /* @__PURE__ */ a(N, { children: /* @__PURE__ */ a(Q, { icon: mt, size: 12 }) }),
648
+ (g == null ? void 0 : g.newValue) !== void 0 && /* @__PURE__ */ C(E, { children: [
649
+ /* @__PURE__ */ a(L, { children: /* @__PURE__ */ a(X, { icon: mt, size: 12 }) }),
650
650
  /* @__PURE__ */ a(
651
- X,
651
+ U,
652
652
  {
653
653
  color: "var(--primary-action-color)",
654
654
  variant: "bold",
@@ -656,9 +656,9 @@ const bt = R.createContext({}), Zs = ({
656
656
  }
657
657
  )
658
658
  ] }),
659
- b && Ae(b) && /* @__PURE__ */ a(W, { num: 2 }),
659
+ b && Ae(b) && /* @__PURE__ */ a(N, { num: 2 }),
660
660
  p && (g != null && g.modified) && (g == null ? void 0 : g.newValue) === "" ? /* @__PURE__ */ a(we, { label: p, children: /* @__PURE__ */ a(
661
- Q,
661
+ X,
662
662
  {
663
663
  icon: Pe,
664
664
  color: "var(--ui-alert1)",
@@ -668,7 +668,7 @@ const bt = R.createContext({}), Zs = ({
668
668
  ] }) })
669
669
  }
670
670
  ),
671
- s && /* @__PURE__ */ a(N, { num: s })
671
+ s && /* @__PURE__ */ a(L, { num: s })
672
672
  ]
673
673
  }
674
674
  );
@@ -704,16 +704,16 @@ const bt = R.createContext({}), Zs = ({
704
704
  expandedRows: o,
705
705
  fields: s
706
706
  });
707
- }, qe = () => z(It), O = () => z(Et), oe = () => z(Tt), ge = () => z(Dt), Rt = H([]), J = () => z(
707
+ }, qe = () => Y(It), I = () => Y(Et), oe = () => Y(Tt), ge = () => Y(Dt), Rt = H([]), Z = () => Y(
708
708
  Rt
709
709
  ), Gt = () => {
710
- const e = O(), t = J();
710
+ const e = I(), t = Z();
711
711
  let n = 0;
712
712
  return e.enableExpandCollapse && n++, e.showRowCheckbox && n++, n + y(
713
713
  () => t.map((r) => r.groupConfig.columnOrder.length).reduce((r, o) => r + o, 0),
714
714
  [t]
715
715
  );
716
- }, Wt = H(void 0), sr = () => z(Wt), Nt = H(void 0), ar = () => z(Nt), Lt = H(void 0), ir = H(!1), cr = () => z(Lt), lr = H("standard"), Bt = H({}), _e = () => z(Bt), At = H(0), je = () => z(At), Ft = (e, t, n) => e ? Sn(
716
+ }, Wt = H(void 0), sr = () => Y(Wt), Nt = H(void 0), ar = () => Y(Nt), Lt = H(void 0), ir = H(!1), cr = () => Y(Lt), lr = H("standard"), Bt = H({}), _e = () => Y(Bt), At = H(0), je = () => Y(At), Ft = (e, t, n) => e ? Sn(
717
717
  (t == null ? void 0 : t.map((r) => {
718
718
  const o = e == null ? void 0 : e[r];
719
719
  return {
@@ -743,16 +743,16 @@ const bt = R.createContext({}), Zs = ({
743
743
  if (!(e === 0 || t !== 0) && n)
744
744
  return n === !0 ? fe : n;
745
745
  }, ye = (e) => {
746
- const { columns: t } = O(), n = t[e];
746
+ const { columns: t } = I(), n = t[e];
747
747
  if (!n)
748
748
  throw new Error("No config for column with id=" + e);
749
749
  return n;
750
750
  }, ur = () => {
751
751
  var n, r, o;
752
- const e = O(), t = (o = (r = (n = J()) == null ? void 0 : n[0]) == null ? void 0 : r.groupConfig.columnOrder) == null ? void 0 : o[0];
752
+ const e = I(), t = (o = (r = (n = Z()) == null ? void 0 : n[0]) == null ? void 0 : r.groupConfig.columnOrder) == null ? void 0 : o[0];
753
753
  return t ? e.columns[t] : void 0;
754
754
  }, dr = () => {
755
- const e = O(), t = J(), n = t[t.length - 1], r = (n == null ? void 0 : n.groupConfig.columnOrder[n.groupConfig.columnOrder.length - 1]) ?? void 0;
755
+ const e = I(), t = Z(), n = t[t.length - 1], r = (n == null ? void 0 : n.groupConfig.columnOrder[n.groupConfig.columnOrder.length - 1]) ?? void 0;
756
756
  return r ? e.columns[r] : void 0;
757
757
  }, hr = function({
758
758
  columnId: t,
@@ -762,38 +762,38 @@ const bt = R.createContext({}), Zs = ({
762
762
  isFirstGroup: s,
763
763
  isLastGroup: i
764
764
  }) {
765
- const { label: c, render: l, contentLeft: d, contentRight: u, loading: m, error: p } = n, { width: f, minWidth: w, zIndex: h, borderLeft: g } = ye(t), b = O(), { stickyHeader: S, headerRowOffsetTop: I } = b, v = "columnGroupOrder" in b ? b.stickyColumnGroups : void 0, E = mr(r, g), G = s && (v === "first" || v === "both"), k = i && (v === "last" || v === "both"), L = G || k || S, B = G || k;
765
+ const { label: c, render: l, contentLeft: d, contentRight: u, loading: m, error: p } = n, { width: f, minWidth: w, zIndex: h, borderLeft: g } = ye(t), b = I(), { stickyHeader: S, headerRowOffsetTop: O } = b, v = "columnGroupOrder" in b ? b.stickyColumnGroups : void 0, R = mr(r, g), G = s && (v === "first" || v === "both"), k = i && (v === "last" || v === "both"), W = G || k || S, B = G || k;
766
766
  return /* @__PURE__ */ a(
767
767
  "th",
768
768
  {
769
769
  colSpan: o,
770
770
  style: {
771
- position: L ? "sticky" : void 0,
771
+ position: W ? "sticky" : void 0,
772
772
  height: "var(--current-row-height)",
773
773
  width: f,
774
774
  minWidth: w ?? f ?? "20px",
775
- background: L ? "white" : "transparent",
775
+ background: W ? "white" : "transparent",
776
776
  left: G ? "var(--current-left-offset)" : void 0,
777
777
  right: k ? "0px" : void 0,
778
- top: S ? I ?? "0px" : void 0,
779
- borderLeft: E,
778
+ top: S ? O ?? "0px" : void 0,
779
+ borderLeft: R,
780
780
  zIndex: S && B ? "var(--swui-sticky-column-group-label-z-index)" : B ? "var(--swui-sticky-group-group-z-index)" : S ? h ?? "var(--swui-sticky-header-column-group-z-index)" : h ?? 1,
781
781
  boxShadow: G ? "var(--swui-sticky-column-shadow-right)" : k ? "var(--swui-sticky-column-shadow-left)" : void 0
782
782
  },
783
- children: /* @__PURE__ */ a(T, { alignItems: "center", children: /* @__PURE__ */ C(M, { children: [
784
- d && /* @__PURE__ */ C(M, { children: [
785
- /* @__PURE__ */ a(W, {}),
783
+ children: /* @__PURE__ */ a(T, { alignItems: "center", children: /* @__PURE__ */ C(E, { children: [
784
+ d && /* @__PURE__ */ C(E, { children: [
785
+ /* @__PURE__ */ a(N, {}),
786
786
  d,
787
- /* @__PURE__ */ a(W, { num: 0.5 })
787
+ /* @__PURE__ */ a(N, { num: 0.5 })
788
788
  ] }),
789
- l ? l(n) : /* @__PURE__ */ a(N, { children: /* @__PURE__ */ a(wt, { variant: "h5", whiteSpace: "nowrap", children: c }) }),
790
- u && /* @__PURE__ */ C(M, { children: [
791
- /* @__PURE__ */ a(W, { num: 0.5 }),
789
+ l ? l(n) : /* @__PURE__ */ a(L, { children: /* @__PURE__ */ a(wt, { variant: "h5", whiteSpace: "nowrap", children: c }) }),
790
+ u && /* @__PURE__ */ C(E, { children: [
791
+ /* @__PURE__ */ a(N, { num: 0.5 }),
792
792
  u
793
793
  ] }),
794
- (p || m) && /* @__PURE__ */ a(N, {}),
794
+ (p || m) && /* @__PURE__ */ a(L, {}),
795
795
  m ? /* @__PURE__ */ a(We, {}) : p ? /* @__PURE__ */ a(we, { label: p, placement: "bottom", children: /* @__PURE__ */ a(
796
- Q,
796
+ X,
797
797
  {
798
798
  icon: Pe,
799
799
  color: j("--lhds-color-red-500"),
@@ -821,10 +821,10 @@ const bt = R.createContext({}), Zs = ({
821
821
  return t;
822
822
  if (e)
823
823
  return 0;
824
- }, wr = R.memo(function({
824
+ }, wr = M.memo(function({
825
825
  height: t = He
826
826
  }) {
827
- const n = J(), r = O(), {
827
+ const n = Z(), r = I(), {
828
828
  showHeaderCheckbox: o,
829
829
  enableExpandCollapse: s,
830
830
  rowIndent: i,
@@ -907,7 +907,7 @@ const bt = R.createContext({}), Zs = ({
907
907
  }, yr = (e) => !e.disableGridCell, Ht = H({
908
908
  columnIndexPerColumnId: {},
909
909
  numNavigableColumns: 0
910
- }), Yt = () => z(
910
+ }), Yt = () => Y(
911
911
  Ht
912
912
  ), br = (e) => {
913
913
  "columnGroupOrder" in e && (vr(e), (e.stickyColumnGroups === "first" || e.stickyColumnGroups === "both") && tt(e, 0), (e.stickyColumnGroups === "last" || e.stickyColumnGroups === "both") && tt(
@@ -1063,8 +1063,8 @@ const bt = R.createContext({}), Zs = ({
1063
1063
  return n + (((i = o == null ? void 0 : o.columnOrder) == null ? void 0 : i.length) ?? 0);
1064
1064
  }, 0) : ((t = e.columnOrder) == null ? void 0 : t.length) ?? 0;
1065
1065
  }, Rr = () => {
1066
- const e = O(), t = J(), n = e.enableExpandCollapse || e.showRowCheckbox, r = an(e.rowIndent);
1067
- return /* @__PURE__ */ C(M, { children: [
1066
+ const e = I(), t = Z(), n = e.enableExpandCollapse || e.showRowCheckbox, r = an(e.rowIndent);
1067
+ return /* @__PURE__ */ C(E, { children: [
1068
1068
  r ? /* @__PURE__ */ a("colgroup", { children: /* @__PURE__ */ a(
1069
1069
  "col",
1070
1070
  {
@@ -1098,13 +1098,13 @@ const bt = R.createContext({}), Zs = ({
1098
1098
  condensed: Nr,
1099
1099
  compact: Lr
1100
1100
  }, Br = (e, t) => e != null && t == null ? -1 : e == null && t != null ? 1 : Re(e, t, "number") ? Number(e) - Number(t) : Re(e, t, "boolean") ? Number(t) - Number(e) : Re(e, t, "string") ? String(e).localeCompare(String(t)) : e instanceof Date && t instanceof Date ? e.getTime() - t.getTime() : 0, Re = (e, t, n) => typeof e === n && typeof t === n, Ar = (e) => {
1101
- const { columns: t } = O();
1101
+ const { columns: t } = I();
1102
1102
  if (!e)
1103
1103
  return;
1104
1104
  const n = t[e];
1105
1105
  if (n)
1106
1106
  return n.itemValueResolver;
1107
- }, Fr = R.memo(
1107
+ }, Fr = M.memo(
1108
1108
  function({
1109
1109
  value: t,
1110
1110
  onValueChange: n,
@@ -1147,7 +1147,7 @@ const bt = R.createContext({}), Zs = ({
1147
1147
  const s = Math.min(r, o), i = Math.max(r, o);
1148
1148
  return e.slice(s, i + 1);
1149
1149
  }, Yr = (e, t) => {
1150
- const { keyResolver: n } = O(), {
1150
+ const { keyResolver: n } = I(), {
1151
1151
  selectedIds: { selectedIds: r },
1152
1152
  fields: { lastSelectedId: o }
1153
1153
  } = oe(), {
@@ -1189,7 +1189,7 @@ const bt = R.createContext({}), Zs = ({
1189
1189
  shiftAndToggleSelected: f
1190
1190
  };
1191
1191
  }, $e = (e) => {
1192
- const { keyResolver: t } = O(), {
1192
+ const { keyResolver: t } = I(), {
1193
1193
  expandedRows: { selectedIds: n }
1194
1194
  } = oe(), {
1195
1195
  actions: { expandByIds: r },
@@ -1219,7 +1219,7 @@ const bt = R.createContext({}), Zs = ({
1219
1219
  numRows: n,
1220
1220
  rowIndex: r,
1221
1221
  tableId: s
1222
- }), { requiredProps: c } = i, { expandCollapseDisableResolver: l } = O(), { toggleRowExpanded: d, isExpanded: u } = $e(e), m = y(() => l ? l(e) : !1, [l, e]);
1222
+ }), { requiredProps: c } = i, { expandCollapseDisableResolver: l } = I(), { toggleRowExpanded: d, isExpanded: u } = $e(e), m = y(() => l ? l(e) : !1, [l, e]);
1223
1223
  return /* @__PURE__ */ a(T, { alignItems: "center", justifyContent: "center", indent: !0, children: !m && /* @__PURE__ */ a(
1224
1224
  Ne,
1225
1225
  {
@@ -1240,7 +1240,7 @@ const bt = R.createContext({}), Zs = ({
1240
1240
  return zt(r, t, n);
1241
1241
  }, jr = (e) => e == null ? "" : e instanceof Date ? e.toISOString() : typeof e == "object" ? JSON.stringify(e) : String(e), Vr = (e) => Pn(On(e)), $r = "_standardTableCell_1xzcm_1", Kr = {
1242
1242
  standardTableCell: $r
1243
- }, Qr = R.memo(
1243
+ }, Qr = M.memo(
1244
1244
  function({
1245
1245
  enableGridCell: t,
1246
1246
  children: n,
@@ -1282,16 +1282,16 @@ const bt = R.createContext({}), Zs = ({
1282
1282
  }
1283
1283
  ), Xr = "_textCell_1yv6v_1", Ur = {
1284
1284
  textCell: Xr
1285
- }, Jr = R.memo(function({
1285
+ }, Jr = M.memo(function({
1286
1286
  label: t,
1287
1287
  size: n,
1288
1288
  color: r
1289
1289
  }) {
1290
- return /* @__PURE__ */ a(N, { overflow: "hidden", children: /* @__PURE__ */ a(X, { className: Ur.textCell, title: t, size: n, color: r, children: t }) });
1290
+ return /* @__PURE__ */ a(L, { overflow: "hidden", children: /* @__PURE__ */ a(U, { className: Ur.textCell, title: t, size: n, color: r, children: t }) });
1291
1291
  }), Zr = ({
1292
1292
  label: e,
1293
1293
  textSize: t
1294
- }) => /* @__PURE__ */ a(Jr, { label: e, size: t }), eo = R.memo(function({
1294
+ }) => /* @__PURE__ */ a(Jr, { label: e, size: t }), eo = M.memo(function({
1295
1295
  columnId: t,
1296
1296
  item: n,
1297
1297
  colIndex: r,
@@ -1304,29 +1304,29 @@ const bt = R.createContext({}), Zs = ({
1304
1304
  keyResolver: l,
1305
1305
  enableGridCell: d,
1306
1306
  gridCellOptions: u
1307
- } = O(), m = oe().selectedIds.selectedIds, p = qe(), f = sr(), { numNavigableColumns: w } = Yt(), h = _e(), g = y(() => l(n), [n, l]), b = y(() => m.indexOf(g) >= 0, [g, m]), { defaultCellRenderer: S = Zr, defaultTextSize: I } = O(), {
1307
+ } = I(), m = oe().selectedIds.selectedIds, p = qe(), f = sr(), { numNavigableColumns: w } = Yt(), h = _e(), g = y(() => l(n), [n, l]), b = y(() => m.indexOf(g) >= 0, [g, m]), { defaultCellRenderer: S = Zr, defaultTextSize: O } = I(), {
1308
1308
  itemValueResolver: v,
1309
- itemLabelFormatter: E,
1309
+ itemLabelFormatter: R,
1310
1310
  width: G,
1311
1311
  minWidth: k,
1312
- justifyContentCell: L = "flex-start",
1312
+ justifyContentCell: W = "flex-start",
1313
1313
  borderLeft: B,
1314
1314
  renderCell: V = S,
1315
- gridCellOptions: Z,
1316
- isEditable: Y,
1315
+ gridCellOptions: ee,
1316
+ isEditable: q,
1317
1317
  onChange: A,
1318
- onKeyDown: ee,
1318
+ onKeyDown: $,
1319
1319
  disableGridCell: De,
1320
1320
  disableGridCellFocus: be,
1321
1321
  zIndex: ve
1322
- } = ye(t), $ = y(() => v ? v(n) : t in n ? n[t] : "", [v, n, t]), ue = y(
1323
- () => E ? E($, n) : jr($),
1324
- [$, E, n]
1325
- ), se = typeof Y == "boolean" ? Y : Y ? Y(n) : void 0, de = P(
1322
+ } = ye(t), K = y(() => v ? v(n) : t in n ? n[t] : "", [v, n, t]), ue = y(
1323
+ () => R ? R(K, n) : jr(K),
1324
+ [K, R, n]
1325
+ ), se = typeof q == "boolean" ? q : q ? q(n) : void 0, de = P(
1326
1326
  (Ce) => {
1327
- ee == null || ee(Ce, { columnId: t, item: n }), f == null || f(Ce, { columnId: t, item: n });
1327
+ $ == null || $(Ce, { columnId: t, item: n }), f == null || f(Ce, { columnId: t, item: n });
1328
1328
  },
1329
- [f, t, n, ee]
1329
+ [f, t, n, $]
1330
1330
  ), te = Oe(ue, {
1331
1331
  colIndex: r,
1332
1332
  rowIndex: o,
@@ -1336,30 +1336,30 @@ const bt = R.createContext({}), Zs = ({
1336
1336
  isEditable: se,
1337
1337
  onChange: A ? (Ce) => A(n, Ce) : void 0,
1338
1338
  ...u,
1339
- ...Z
1339
+ ...ee
1340
1340
  }), F = h[t], Qt = _r(t, n) ?? "inherit", Ee = F.sticky ? ve ?? "var(--swui-sticky-column-z-index)" : ve ?? 1, Xt = y(
1341
1341
  () => V({
1342
1342
  label: ue,
1343
- value: $,
1343
+ value: K,
1344
1344
  item: n,
1345
1345
  gridCell: te,
1346
1346
  isEditable: se,
1347
1347
  isSelected: b,
1348
1348
  zIndex: Ee,
1349
- textSize: I,
1349
+ textSize: O,
1350
1350
  itemKey: g
1351
1351
  }),
1352
1352
  [
1353
1353
  V,
1354
1354
  ue,
1355
- $,
1355
+ K,
1356
1356
  n,
1357
1357
  te,
1358
1358
  se,
1359
1359
  b,
1360
1360
  Ee,
1361
1361
  g,
1362
- I
1362
+ O
1363
1363
  ]
1364
1364
  ), Ut = Ve(
1365
1365
  i,
@@ -1387,7 +1387,7 @@ const bt = R.createContext({}), Zs = ({
1387
1387
  isEditing: te.isEditing,
1388
1388
  width: G,
1389
1389
  minWidth: k,
1390
- justifyContent: L,
1390
+ justifyContent: W,
1391
1391
  onKeyDown: de,
1392
1392
  children: Xt
1393
1393
  }
@@ -1395,8 +1395,8 @@ const bt = R.createContext({}), Zs = ({
1395
1395
  }
1396
1396
  );
1397
1397
  }), to = function({ item: t }) {
1398
- const { renderRowExpansion: n, enableExpandCollapse: r } = O(), { isExpanded: o, toggleRowExpanded: s } = $e(t), i = je();
1399
- return /* @__PURE__ */ a(M, { children: r && n && o && /* @__PURE__ */ a(
1398
+ const { renderRowExpansion: n, enableExpandCollapse: r } = I(), { isExpanded: o, toggleRowExpanded: s } = $e(t), i = je();
1399
+ return /* @__PURE__ */ a(E, { children: r && n && o && /* @__PURE__ */ a(
1400
1400
  "tr",
1401
1401
  {
1402
1402
  style: {
@@ -1415,7 +1415,7 @@ const bt = R.createContext({}), Zs = ({
1415
1415
  background: ${e};
1416
1416
  }
1417
1417
  ` : ""}
1418
- `, no = R.memo(function({
1418
+ `, no = M.memo(function({
1419
1419
  item: t,
1420
1420
  idListForEnabledItems: n,
1421
1421
  rowIndex: r,
@@ -1424,52 +1424,52 @@ const bt = R.createContext({}), Zs = ({
1424
1424
  alwaysVisible: i,
1425
1425
  shiftPressedRef: c
1426
1426
  }) {
1427
- const l = ce(null), d = je(), { stickyCheckboxColumn: u } = O(), m = J(), { columnIndexPerColumnId: p } = Yt(), {
1427
+ const l = ce(null), d = je(), { stickyCheckboxColumn: u } = I(), m = Z(), { columnIndexPerColumnId: p } = Yt(), {
1428
1428
  showRowCheckbox: f,
1429
1429
  rowBackgroundResolver: w,
1430
1430
  checkboxDisabledResolver: h,
1431
1431
  enableGridCell: g,
1432
1432
  rowIndent: b,
1433
1433
  enableExpandCollapse: S
1434
- } = O(), { isExpanded: I } = $e(t), { isSelected: v, toggleSelected: E, shiftAndToggleSelected: G } = Yr(
1434
+ } = I(), { isExpanded: O } = $e(t), { isSelected: v, toggleSelected: R, shiftAndToggleSelected: G } = Yr(
1435
1435
  t,
1436
1436
  n
1437
1437
  ), k = cn(l, {
1438
1438
  rootMargin: "400px 0px 400px 0px",
1439
1439
  threshold: 0
1440
- }), L = y(
1440
+ }), W = y(
1441
1441
  () => w == null ? void 0 : w(t, v),
1442
1442
  [v, t, w]
1443
1443
  ), B = ro(
1444
- L,
1444
+ W,
1445
1445
  v,
1446
- I
1446
+ O
1447
1447
  ), V = oo(
1448
- L,
1448
+ W,
1449
1449
  v,
1450
- I
1451
- ), Z = so(
1452
- L,
1450
+ O
1451
+ ), ee = so(
1452
+ W,
1453
1453
  v,
1454
1454
  V
1455
- ), Y = y(
1455
+ ), q = y(
1456
1456
  () => h == null ? void 0 : h(t),
1457
1457
  [t, h]
1458
- ), A = ur(), ee = ot(
1458
+ ), A = ur(), $ = ot(
1459
1459
  A,
1460
1460
  t
1461
1461
  ), De = dr(), be = ot(
1462
1462
  De,
1463
1463
  t
1464
1464
  ), ve = y(
1465
- () => /* @__PURE__ */ a(M, { children: /* @__PURE__ */ C(M, { children: [
1465
+ () => /* @__PURE__ */ a(E, { children: /* @__PURE__ */ C(E, { children: [
1466
1466
  b && /* @__PURE__ */ a(
1467
1467
  "td",
1468
1468
  {
1469
1469
  style: {
1470
- background: ee
1470
+ background: $
1471
1471
  },
1472
- children: /* @__PURE__ */ a(N, { num: b })
1472
+ children: /* @__PURE__ */ a(L, { num: b })
1473
1473
  }
1474
1474
  ),
1475
1475
  S && /* @__PURE__ */ a(
@@ -1523,9 +1523,9 @@ const bt = R.createContext({}), Zs = ({
1523
1523
  children: /* @__PURE__ */ a(
1524
1524
  Fr,
1525
1525
  {
1526
- disabled: Y,
1526
+ disabled: q,
1527
1527
  value: v,
1528
- onValueChange: E,
1528
+ onValueChange: R,
1529
1529
  onValueChangeAndShift: G,
1530
1530
  colIndex: s + (S ? 1 : 0),
1531
1531
  rowIndex: r,
@@ -1537,7 +1537,7 @@ const bt = R.createContext({}), Zs = ({
1537
1537
  )
1538
1538
  }
1539
1539
  ),
1540
- m.map(({ groupConfig: $, groupId: ue }, se) => /* @__PURE__ */ a(R.Fragment, { children: $.columnOrder.map((de, te) => /* @__PURE__ */ a(
1540
+ m.map(({ groupConfig: K, groupId: ue }, se) => /* @__PURE__ */ a(M.Fragment, { children: K.columnOrder.map((de, te) => /* @__PURE__ */ a(
1541
1541
  eo,
1542
1542
  {
1543
1543
  columnId: de,
@@ -1548,7 +1548,7 @@ const bt = R.createContext({}), Zs = ({
1548
1548
  borderFromGroup: Ie(
1549
1549
  se,
1550
1550
  te,
1551
- $.borderLeft
1551
+ K.borderLeft
1552
1552
  ),
1553
1553
  disableBorderLeft: se === 0 && te === 0
1554
1554
  },
@@ -1560,7 +1560,7 @@ const bt = R.createContext({}), Zs = ({
1560
1560
  style: {
1561
1561
  background: be
1562
1562
  },
1563
- children: /* @__PURE__ */ a(N, { num: b })
1563
+ children: /* @__PURE__ */ a(L, { num: b })
1564
1564
  }
1565
1565
  ),
1566
1566
  /* @__PURE__ */ a("td", {})
@@ -1568,10 +1568,10 @@ const bt = R.createContext({}), Zs = ({
1568
1568
  [
1569
1569
  s,
1570
1570
  p,
1571
- Y,
1571
+ q,
1572
1572
  S,
1573
1573
  g,
1574
- ee,
1574
+ $,
1575
1575
  m,
1576
1576
  v,
1577
1577
  t,
@@ -1583,19 +1583,19 @@ const bt = R.createContext({}), Zs = ({
1583
1583
  c,
1584
1584
  f,
1585
1585
  u,
1586
- E
1586
+ R
1587
1587
  ]
1588
1588
  );
1589
- return /* @__PURE__ */ C(M, { children: [
1589
+ return /* @__PURE__ */ C(E, { children: [
1590
1590
  /* @__PURE__ */ a(
1591
1591
  qt,
1592
1592
  {
1593
1593
  hoverBackground: V,
1594
1594
  background: B,
1595
- focusBackground: Z,
1596
- borderLeft: I ? xt : Fe,
1595
+ focusBackground: ee,
1596
+ borderLeft: O ? xt : Fe,
1597
1597
  ref: l,
1598
- children: k || i || I ? ve : /* @__PURE__ */ a(
1598
+ children: k || i || O ? ve : /* @__PURE__ */ a(
1599
1599
  "td",
1600
1600
  {
1601
1601
  colSpan: d,
@@ -1613,7 +1613,7 @@ const bt = R.createContext({}), Zs = ({
1613
1613
  return n;
1614
1614
  }, ao = (e) => Object.values(e).some((t) => io(t)), io = (e) => !!(e.renderSummaryCell || e.summaryText), co = "_summaryRow_12x8k_1", lo = {
1615
1615
  summaryRow: co
1616
- }, uo = R.memo(function({
1616
+ }, uo = M.memo(function({
1617
1617
  columnId: t,
1618
1618
  items: n,
1619
1619
  disableBorderLeft: r,
@@ -1632,7 +1632,7 @@ const bt = R.createContext({}), Zs = ({
1632
1632
  o,
1633
1633
  r,
1634
1634
  d
1635
- ), h = i[t], g = h.sticky ? u ?? "var(--swui-sticky-column-z-index)" : u ?? 1, b = h.sticky && h.type === "last-group" && h.isFirstColumnInLastGroup || h.sticky && h.type === "column" && h.right ? "var(--swui-sticky-column-shadow-left)" : h.sticky ? "var(--swui-sticky-column-shadow-right)" : void 0, S = y(() => l == null ? void 0 : l({ items: n }), [n, l]), I = y(
1635
+ ), h = i[t], g = h.sticky ? u ?? "var(--swui-sticky-column-z-index)" : u ?? 1, b = h.sticky && h.type === "last-group" && h.isFirstColumnInLastGroup || h.sticky && h.type === "column" && h.right ? "var(--swui-sticky-column-shadow-left)" : h.sticky ? "var(--swui-sticky-column-shadow-right)" : void 0, S = y(() => l == null ? void 0 : l({ items: n }), [n, l]), O = y(
1636
1636
  () => c == null ? void 0 : c({ items: n, text: S }),
1637
1637
  [n, c, S]
1638
1638
  );
@@ -1658,7 +1658,7 @@ const bt = R.createContext({}), Zs = ({
1658
1658
  overflow: "hidden",
1659
1659
  justifyContent: f,
1660
1660
  alignItems: "center",
1661
- children: c ? I : /* @__PURE__ */ a(N, { children: /* @__PURE__ */ a(X, { variant: "bold", children: S }) })
1661
+ children: c ? O : /* @__PURE__ */ a(L, { children: /* @__PURE__ */ a(U, { variant: "bold", children: S }) })
1662
1662
  }
1663
1663
  )
1664
1664
  }
@@ -1675,16 +1675,16 @@ const bt = R.createContext({}), Zs = ({
1675
1675
  i > 1 && (r += i - 1);
1676
1676
  }
1677
1677
  return n;
1678
- }, mo = R.memo(
1678
+ }, mo = M.memo(
1679
1679
  function({
1680
1680
  items: t
1681
1681
  }) {
1682
- const n = J(), { showRowCheckbox: r, enableExpandCollapse: o, columns: s, rowIndent: i } = O();
1682
+ const n = Z(), { showRowCheckbox: r, enableExpandCollapse: o, columns: s, rowIndent: i } = I();
1683
1683
  return /* @__PURE__ */ C("tr", { className: lo.summaryRow, children: [
1684
- i && /* @__PURE__ */ a("td", { children: /* @__PURE__ */ a(N, { num: i }) }),
1684
+ i && /* @__PURE__ */ a("td", { children: /* @__PURE__ */ a(L, { num: i }) }),
1685
1685
  o && /* @__PURE__ */ a("td", {}),
1686
1686
  r && /* @__PURE__ */ a("td", {}),
1687
- n.map(({ groupConfig: c, groupId: l }, d) => /* @__PURE__ */ a(R.Fragment, { children: ho(c.columnOrder, s).map(
1687
+ n.map(({ groupConfig: c, groupId: l }, d) => /* @__PURE__ */ a(M.Fragment, { children: ho(c.columnOrder, s).map(
1688
1688
  ({ columnId: u, colSpan: m }, p) => /* @__PURE__ */ a(
1689
1689
  uo,
1690
1690
  {
@@ -1701,14 +1701,14 @@ const bt = R.createContext({}), Zs = ({
1701
1701
  u
1702
1702
  )
1703
1703
  ) }, l)),
1704
- i && /* @__PURE__ */ a("td", { children: /* @__PURE__ */ a(N, { num: i }) }),
1704
+ i && /* @__PURE__ */ a("td", { children: /* @__PURE__ */ a(L, { num: i }) }),
1705
1705
  /* @__PURE__ */ a("td", {})
1706
1706
  ] });
1707
1707
  }
1708
1708
  ), fo = function({ items: t }) {
1709
- const { columns: n } = O();
1709
+ const { columns: n } = I();
1710
1710
  return y(() => ao(n), [n]) ? /* @__PURE__ */ a(mo, { items: t }) : null;
1711
- }, _t = (e) => (t) => e == null ? !0 : !e(t), po = R.memo(function({
1711
+ }, _t = (e) => (t) => e == null ? !0 : !e(t), po = M.memo(function({
1712
1712
  items: t,
1713
1713
  colIndexOffset: n = 0,
1714
1714
  rowIndexOffset: r = 0
@@ -1718,7 +1718,7 @@ const bt = R.createContext({}), Zs = ({
1718
1718
  disableInfiniteList: c,
1719
1719
  checkboxDisabledResolver: l,
1720
1720
  enableExternalSorting: d
1721
- } = O(), {
1721
+ } = I(), {
1722
1722
  sortOrder: { sortBy: u, desc: m }
1723
1723
  } = oe(), p = Ar(u), f = y(() => {
1724
1724
  if (d)
@@ -1747,7 +1747,7 @@ const bt = R.createContext({}), Zs = ({
1747
1747
  return document.addEventListener("keyup", h), document.addEventListener("keydown", g), () => {
1748
1748
  document.removeEventListener("keyup", h), document.removeEventListener("keydown", g);
1749
1749
  };
1750
- }, []), /* @__PURE__ */ C(R.Fragment, { children: [
1750
+ }, []), /* @__PURE__ */ C(M.Fragment, { children: [
1751
1751
  f.map((h, g) => /* @__PURE__ */ a(
1752
1752
  no,
1753
1753
  {
@@ -1763,7 +1763,7 @@ const bt = R.createContext({}), Zs = ({
1763
1763
  )),
1764
1764
  /* @__PURE__ */ a(fo, { items: f })
1765
1765
  ] }, o.current);
1766
- }), wo = R.memo(function({
1766
+ }), wo = M.memo(function({
1767
1767
  error: t,
1768
1768
  bannerError: n,
1769
1769
  loading: r,
@@ -1809,7 +1809,7 @@ const bt = R.createContext({}), Zs = ({
1809
1809
  w == null ? void 0 : w()
1810
1810
  ] });
1811
1811
  }), go = (e) => {
1812
- const { keyResolver: t, checkboxDisabledResolver: n } = O(), {
1812
+ const { keyResolver: t, checkboxDisabledResolver: n } = I(), {
1813
1813
  selectedIds: { selectedIds: r }
1814
1814
  } = oe(), {
1815
1815
  actions: { setSelectedIds: o, clearSelection: s },
@@ -1835,7 +1835,7 @@ const bt = R.createContext({}), Zs = ({
1835
1835
  onClickCheckbox: d
1836
1836
  };
1837
1837
  }, yo = (e) => {
1838
- const { keyResolver: t } = O(), {
1838
+ const { keyResolver: t } = I(), {
1839
1839
  expandedRows: { selectedIds: n }
1840
1840
  } = oe(), {
1841
1841
  actions: { collapseAll: r, expandByIds: o },
@@ -1872,7 +1872,7 @@ const bt = R.createContext({}), Zs = ({
1872
1872
  }, [e, s, o, t, n, r]);
1873
1873
  }, vo = "_standardTableHeadTh_swsxb_8", Co = {
1874
1874
  standardTableHeadTh: vo
1875
- }, xo = R.memo(
1875
+ }, xo = M.memo(
1876
1876
  function({
1877
1877
  columnId: t,
1878
1878
  borderFromGroup: n,
@@ -1893,7 +1893,7 @@ const bt = R.createContext({}), Zs = ({
1893
1893
  } = ye(t), {
1894
1894
  disableSorting: h,
1895
1895
  sortOrderIconVariant: g
1896
- } = O(), b = _e(), { arrow: S, selected: I, onClickColumnHead: v } = bo(t), E = typeof c == "string" ? c : Vr(t), G = Ve(
1896
+ } = I(), b = _e(), { arrow: S, selected: O, onClickColumnHead: v } = bo(t), R = typeof c == "string" ? c : Vr(t), G = Ve(
1897
1897
  n,
1898
1898
  r,
1899
1899
  l
@@ -1919,13 +1919,13 @@ const bt = R.createContext({}), Zs = ({
1919
1919
  {
1920
1920
  width: "inherit",
1921
1921
  minWidth: "inherit",
1922
- arrow: !h && E ? S : void 0,
1922
+ arrow: !h && R ? S : void 0,
1923
1923
  onClick: h ? void 0 : v,
1924
- label: E,
1924
+ label: R,
1925
1925
  infoIconTooltipText: d,
1926
1926
  alignRight: i === "flex-end",
1927
1927
  sortOrderIconVariant: p ?? g,
1928
- selected: I,
1928
+ selected: O,
1929
1929
  height: "100%"
1930
1930
  }
1931
1931
  )
@@ -1941,8 +1941,8 @@ const bt = R.createContext({}), Zs = ({
1941
1941
  return e;
1942
1942
  if (r)
1943
1943
  return 0;
1944
- }, So = R.memo(function({ items: t, height: n = He }) {
1945
- const r = J(), {
1944
+ }, So = M.memo(function({ items: t, height: n = He }) {
1945
+ const r = Z(), {
1946
1946
  showHeaderCheckbox: o,
1947
1947
  showHeaderExpandCollapse: s,
1948
1948
  enableExpandCollapse: i,
@@ -1952,7 +1952,7 @@ const bt = R.createContext({}), Zs = ({
1952
1952
  stickyHeader: u,
1953
1953
  stickyCheckboxColumn: m,
1954
1954
  showRowCheckbox: p
1955
- } = O(), f = cr(), { allItemsAreExpanded: w, toggleExpanded: h } = yo(t), { allItemsAreSelected: g, onClickCheckbox: b, selectionIsEmpty: S } = go(t), I = !t || t.length === 0, v = {
1955
+ } = I(), f = cr(), { allItemsAreExpanded: w, toggleExpanded: h } = yo(t), { allItemsAreSelected: g, onClickCheckbox: b, selectionIsEmpty: S } = go(t), O = !t || t.length === 0, v = {
1956
1956
  zIndex: u && m ? "var(--swui-sticky-header-in-sticky-column-z-index)" : m ? "var(--swui-sticky-group-header-z-index)" : u ? "var(--swui-sticky-header-z-index)" : d,
1957
1957
  top: ko(
1958
1958
  l,
@@ -2012,7 +2012,7 @@ const bt = R.createContext({}), Zs = ({
2012
2012
  Be,
2013
2013
  {
2014
2014
  size: "small",
2015
- disabled: I,
2015
+ disabled: O,
2016
2016
  value: g,
2017
2017
  indeterminate: !S && !g,
2018
2018
  onValueChange: b
@@ -2022,20 +2022,20 @@ const bt = R.createContext({}), Zs = ({
2022
2022
  )
2023
2023
  }
2024
2024
  ),
2025
- r.map(({ groupConfig: E, groupId: G }, k) => /* @__PURE__ */ a(R.Fragment, { children: E.columnOrder.map((L, B) => /* @__PURE__ */ a(
2025
+ r.map(({ groupConfig: R, groupId: G }, k) => /* @__PURE__ */ a(M.Fragment, { children: R.columnOrder.map((W, B) => /* @__PURE__ */ a(
2026
2026
  xo,
2027
2027
  {
2028
- columnId: L,
2028
+ columnId: W,
2029
2029
  borderFromGroup: Ie(
2030
2030
  k,
2031
2031
  B,
2032
- E.borderLeft
2032
+ R.borderLeft
2033
2033
  ),
2034
2034
  disableBorderLeft: k === 0 && B === 0,
2035
2035
  stickyHeader: u,
2036
2036
  top: v.top
2037
2037
  },
2038
- L
2038
+ W
2039
2039
  )) }, G)),
2040
2040
  c && /* @__PURE__ */ a("th", { style: v, children: /* @__PURE__ */ a(T, { indent: c }) }),
2041
2041
  /* @__PURE__ */ a("th", { style: v })
@@ -2048,68 +2048,69 @@ const bt = R.createContext({}), Zs = ({
2048
2048
  variant: s = "standard",
2049
2049
  onKeyDown: i,
2050
2050
  onSortOrderChange: c,
2051
- ...l
2051
+ renderExtraHeadRows: l,
2052
+ ...d
2052
2053
  }) {
2053
- const d = en(), {
2054
- initialSortOrderDesc: u,
2055
- initialSortOrder: m,
2056
- enableExpandCollapse: p,
2057
- stickyCheckboxColumn: f
2058
- } = n, { tableContext: w } = Dr(
2059
- o ?? d,
2060
- Mt(m, u)
2061
- ), h = t || w, { state: g, actions: b, dispatch: S } = h, I = y(
2054
+ const u = en(), {
2055
+ initialSortOrderDesc: m,
2056
+ initialSortOrder: p,
2057
+ enableExpandCollapse: f,
2058
+ stickyCheckboxColumn: w
2059
+ } = n, { tableContext: h } = Dr(
2060
+ o ?? u,
2061
+ Mt(p, m)
2062
+ ), g = t || h, { state: b, actions: S, dispatch: O } = g, v = y(
2062
2063
  () => ({
2063
- actions: b,
2064
- dispatch: S
2064
+ actions: S,
2065
+ dispatch: O
2065
2066
  }),
2066
- [b, S]
2067
- ), v = !!(r ?? "columnGroupOrder" in n), E = "columnGroups" in n ? n.columnGroups : void 0, G = "columnGroupOrder" in n ? n.columnGroupOrder : void 0, k = "columnOrder" in n ? n.columnOrder : void 0, L = y(
2067
+ [S, O]
2068
+ ), R = !!(r ?? "columnGroupOrder" in n), G = "columnGroups" in n ? n.columnGroups : void 0, k = "columnGroupOrder" in n ? n.columnGroupOrder : void 0, W = "columnOrder" in n ? n.columnOrder : void 0, B = y(
2068
2069
  () => Ft(
2069
- E,
2070
2070
  G,
2071
- k
2071
+ k,
2072
+ W
2072
2073
  ),
2073
- [E, G, k]
2074
- ), B = y(
2074
+ [G, k, W]
2075
+ ), V = y(
2075
2076
  () => gr(n),
2076
2077
  [n]
2077
- ), V = y(() => Er(n), [n]), Z = y(
2078
+ ), ee = y(() => Er(n), [n]), q = y(
2078
2079
  () => Pr(n),
2079
2080
  [n]
2080
- ), Y = y(() => {
2081
+ ), A = y(() => {
2081
2082
  try {
2082
2083
  br(n);
2083
2084
  return;
2084
- } catch (A) {
2085
- return A instanceof Error ? A : new Error("Unknown error");
2085
+ } catch ($) {
2086
+ return $ instanceof Error ? $ : new Error("Unknown error");
2086
2087
  }
2087
2088
  }, [n]);
2088
- return Y ? /* @__PURE__ */ a(kn, { text: Y.message }) : /* @__PURE__ */ a(
2089
+ return A ? /* @__PURE__ */ a(kn, { text: A.message }) : /* @__PURE__ */ a(
2089
2090
  "table",
2090
2091
  {
2091
2092
  className: yt(rt.standardTable, rt[s]),
2092
2093
  style: {
2093
2094
  width: "100%",
2094
2095
  isolation: "isolate",
2095
- "--current-left-offset": p && f ? "calc(var(--swui-expand-cell-width) + var(--swui-checkbox-cell-width))" : f ? "var(--swui-checkbox-cell-width)" : p ? "var(--swui-expand-cell-width)" : "0px"
2096
+ "--current-left-offset": f && w ? "calc(var(--swui-expand-cell-width) + var(--swui-checkbox-cell-width))" : w ? "var(--swui-checkbox-cell-width)" : f ? "var(--swui-expand-cell-width)" : "0px"
2096
2097
  },
2097
- children: /* @__PURE__ */ a(Bt.Provider, { value: Z, children: /* @__PURE__ */ a(At.Provider, { value: V, children: /* @__PURE__ */ a(lr.Provider, { value: s, children: /* @__PURE__ */ a(
2098
+ children: /* @__PURE__ */ a(Bt.Provider, { value: q, children: /* @__PURE__ */ a(At.Provider, { value: ee, children: /* @__PURE__ */ a(lr.Provider, { value: s, children: /* @__PURE__ */ a(
2098
2099
  It.Provider,
2099
2100
  {
2100
- value: o ?? d,
2101
- children: /* @__PURE__ */ a(Tt.Provider, { value: g, children: /* @__PURE__ */ a(Dt.Provider, { value: I, children: /* @__PURE__ */ a(Et.Provider, { value: n, children: /* @__PURE__ */ a(
2101
+ value: o ?? u,
2102
+ children: /* @__PURE__ */ a(Tt.Provider, { value: b, children: /* @__PURE__ */ a(Dt.Provider, { value: v, children: /* @__PURE__ */ a(Et.Provider, { value: n, children: /* @__PURE__ */ a(
2102
2103
  Rt.Provider,
2103
2104
  {
2104
- value: L,
2105
+ value: B,
2105
2106
  children: /* @__PURE__ */ a(
2106
2107
  Ht.Provider,
2107
2108
  {
2108
- value: B,
2109
+ value: V,
2109
2110
  children: /* @__PURE__ */ a(
2110
2111
  ir.Provider,
2111
2112
  {
2112
- value: v,
2113
+ value: R,
2113
2114
  children: /* @__PURE__ */ C(
2114
2115
  Lt.Provider,
2115
2116
  {
@@ -2131,16 +2132,17 @@ const bt = R.createContext({}), Zs = ({
2131
2132
  /* @__PURE__ */ a(
2132
2133
  So,
2133
2134
  {
2134
- items: l.items,
2135
+ items: d.items,
2135
2136
  height: "var(--current-row-height)"
2136
2137
  }
2137
- )
2138
+ ),
2139
+ l == null ? void 0 : l()
2138
2140
  ] }),
2139
2141
  /* @__PURE__ */ a(
2140
2142
  wo,
2141
2143
  {
2142
2144
  variant: s,
2143
- ...l
2145
+ ...d
2144
2146
  }
2145
2147
  )
2146
2148
  ]
@@ -2184,7 +2186,7 @@ const bt = R.createContext({}), Zs = ({
2184
2186
  selectAllOnMount: !i,
2185
2187
  onMove: l
2186
2188
  }
2187
- ) : /* @__PURE__ */ a(N, { children: /* @__PURE__ */ a(X, { color: "var(--swui-primary-action-color)", size: e, children: t }) }), ia = (e, t, n) => ({
2189
+ ) : /* @__PURE__ */ a(L, { children: /* @__PURE__ */ a(U, { color: "var(--swui-primary-action-color)", size: e, children: t }) }), ia = (e, t, n) => ({
2188
2190
  label: r,
2189
2191
  item: o,
2190
2192
  gridCell: {
@@ -2210,7 +2212,7 @@ const bt = R.createContext({}), Zs = ({
2210
2212
  selectAllOnMount: !d,
2211
2213
  onMove: m
2212
2214
  }
2213
- ) : /* @__PURE__ */ a(N, { row: !0, alignItems: "center", children: /* @__PURE__ */ a(
2215
+ ) : /* @__PURE__ */ a(L, { row: !0, alignItems: "center", children: /* @__PURE__ */ a(
2214
2216
  Tn,
2215
2217
  {
2216
2218
  value: r,
@@ -2221,16 +2223,16 @@ const bt = R.createContext({}), Zs = ({
2221
2223
  }
2222
2224
  ) });
2223
2225
  };
2224
- function q(e) {
2226
+ function z(e) {
2225
2227
  const t = Object.prototype.toString.call(e);
2226
2228
  return e instanceof Date || typeof e == "object" && t === "[object Date]" ? new e.constructor(+e) : typeof e == "number" || t === "[object Number]" || typeof e == "string" || t === "[object String]" ? new Date(e) : /* @__PURE__ */ new Date(NaN);
2227
2229
  }
2228
- function U(e, t) {
2230
+ function J(e, t) {
2229
2231
  return e instanceof Date ? new e.constructor(t) : new Date(t);
2230
2232
  }
2231
2233
  function D(e, t) {
2232
- const n = q(e);
2233
- return isNaN(t) ? U(e, NaN) : (t && n.setDate(n.getDate() + t), n);
2234
+ const n = z(e);
2235
+ return isNaN(t) ? J(e, NaN) : (t && n.setDate(n.getDate() + t), n);
2234
2236
  }
2235
2237
  const jt = 6048e5, Oo = 864e5;
2236
2238
  let Io = {};
@@ -2239,26 +2241,26 @@ function Te() {
2239
2241
  }
2240
2242
  function pe(e, t) {
2241
2243
  var c, l, d, u;
2242
- const n = Te(), r = (t == null ? void 0 : t.weekStartsOn) ?? ((l = (c = t == null ? void 0 : t.locale) == null ? void 0 : c.options) == null ? void 0 : l.weekStartsOn) ?? n.weekStartsOn ?? ((u = (d = n.locale) == null ? void 0 : d.options) == null ? void 0 : u.weekStartsOn) ?? 0, o = q(e), s = o.getDay(), i = (s < r ? 7 : 0) + s - r;
2244
+ const n = Te(), r = (t == null ? void 0 : t.weekStartsOn) ?? ((l = (c = t == null ? void 0 : t.locale) == null ? void 0 : c.options) == null ? void 0 : l.weekStartsOn) ?? n.weekStartsOn ?? ((u = (d = n.locale) == null ? void 0 : d.options) == null ? void 0 : u.weekStartsOn) ?? 0, o = z(e), s = o.getDay(), i = (s < r ? 7 : 0) + s - r;
2243
2245
  return o.setDate(o.getDate() - i), o.setHours(0, 0, 0, 0), o;
2244
2246
  }
2245
2247
  function Se(e) {
2246
2248
  return pe(e, { weekStartsOn: 1 });
2247
2249
  }
2248
2250
  function Vt(e) {
2249
- const t = q(e), n = t.getFullYear(), r = U(e, 0);
2251
+ const t = z(e), n = t.getFullYear(), r = J(e, 0);
2250
2252
  r.setFullYear(n + 1, 0, 4), r.setHours(0, 0, 0, 0);
2251
- const o = Se(r), s = U(e, 0);
2253
+ const o = Se(r), s = J(e, 0);
2252
2254
  s.setFullYear(n, 0, 4), s.setHours(0, 0, 0, 0);
2253
2255
  const i = Se(s);
2254
2256
  return t.getTime() >= o.getTime() ? n + 1 : t.getTime() >= i.getTime() ? n : n - 1;
2255
2257
  }
2256
2258
  function st(e) {
2257
- const t = q(e);
2259
+ const t = z(e);
2258
2260
  return t.setHours(0, 0, 0, 0), t;
2259
2261
  }
2260
2262
  function at(e) {
2261
- const t = q(e), n = new Date(
2263
+ const t = z(e), n = new Date(
2262
2264
  Date.UTC(
2263
2265
  t.getFullYear(),
2264
2266
  t.getMonth(),
@@ -2276,7 +2278,7 @@ function To(e, t) {
2276
2278
  return Math.round((o - s) / Oo);
2277
2279
  }
2278
2280
  function Do(e) {
2279
- const t = Vt(e), n = U(e, 0);
2281
+ const t = Vt(e), n = J(e, 0);
2280
2282
  return n.setFullYear(t, 0, 4), n.setHours(0, 0, 0, 0), Se(n);
2281
2283
  }
2282
2284
  function Eo(e) {
@@ -2285,11 +2287,11 @@ function Eo(e) {
2285
2287
  function Mo(e) {
2286
2288
  if (!Eo(e) && typeof e != "number")
2287
2289
  return !1;
2288
- const t = q(e);
2290
+ const t = z(e);
2289
2291
  return !isNaN(Number(t));
2290
2292
  }
2291
2293
  function Ro(e) {
2292
- const t = q(e), n = U(e, 0);
2294
+ const t = z(e), n = J(e, 0);
2293
2295
  return n.setFullYear(t.getFullYear(), 0, 1), n.setHours(0, 0, 0, 0), n;
2294
2296
  }
2295
2297
  const Go = {
@@ -2726,36 +2728,36 @@ const Jo = /^(\d+)(th|st|nd|rd)?/i, Zo = /\d+/i, es = {
2726
2728
  }
2727
2729
  };
2728
2730
  function hs(e) {
2729
- const t = q(e);
2731
+ const t = z(e);
2730
2732
  return To(t, Ro(t)) + 1;
2731
2733
  }
2732
2734
  function ms(e) {
2733
- const t = q(e), n = +Se(t) - +Do(t);
2735
+ const t = z(e), n = +Se(t) - +Do(t);
2734
2736
  return Math.round(n / jt) + 1;
2735
2737
  }
2736
2738
  function $t(e, t) {
2737
2739
  var u, m, p, f;
2738
- const n = q(e), r = n.getFullYear(), o = Te(), s = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((m = (u = t == null ? void 0 : t.locale) == null ? void 0 : u.options) == null ? void 0 : m.firstWeekContainsDate) ?? o.firstWeekContainsDate ?? ((f = (p = o.locale) == null ? void 0 : p.options) == null ? void 0 : f.firstWeekContainsDate) ?? 1, i = U(e, 0);
2740
+ const n = z(e), r = n.getFullYear(), o = Te(), s = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((m = (u = t == null ? void 0 : t.locale) == null ? void 0 : u.options) == null ? void 0 : m.firstWeekContainsDate) ?? o.firstWeekContainsDate ?? ((f = (p = o.locale) == null ? void 0 : p.options) == null ? void 0 : f.firstWeekContainsDate) ?? 1, i = J(e, 0);
2739
2741
  i.setFullYear(r + 1, 0, s), i.setHours(0, 0, 0, 0);
2740
- const c = pe(i, t), l = U(e, 0);
2742
+ const c = pe(i, t), l = J(e, 0);
2741
2743
  l.setFullYear(r, 0, s), l.setHours(0, 0, 0, 0);
2742
2744
  const d = pe(l, t);
2743
2745
  return n.getTime() >= c.getTime() ? r + 1 : n.getTime() >= d.getTime() ? r : r - 1;
2744
2746
  }
2745
2747
  function fs(e, t) {
2746
2748
  var c, l, d, u;
2747
- const n = Te(), r = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((l = (c = t == null ? void 0 : t.locale) == null ? void 0 : c.options) == null ? void 0 : l.firstWeekContainsDate) ?? n.firstWeekContainsDate ?? ((u = (d = n.locale) == null ? void 0 : d.options) == null ? void 0 : u.firstWeekContainsDate) ?? 1, o = $t(e, t), s = U(e, 0);
2749
+ const n = Te(), r = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((l = (c = t == null ? void 0 : t.locale) == null ? void 0 : c.options) == null ? void 0 : l.firstWeekContainsDate) ?? n.firstWeekContainsDate ?? ((u = (d = n.locale) == null ? void 0 : d.options) == null ? void 0 : u.firstWeekContainsDate) ?? 1, o = $t(e, t), s = J(e, 0);
2748
2750
  return s.setFullYear(o, 0, r), s.setHours(0, 0, 0, 0), pe(s, t);
2749
2751
  }
2750
2752
  function ps(e, t) {
2751
- const n = q(e), r = +pe(n, t) - +fs(n, t);
2753
+ const n = z(e), r = +pe(n, t) - +fs(n, t);
2752
2754
  return Math.round(r / jt) + 1;
2753
2755
  }
2754
2756
  function x(e, t) {
2755
2757
  const n = e < 0 ? "-" : "", r = Math.abs(e).toString().padStart(t, "0");
2756
2758
  return n + r;
2757
2759
  }
2758
- const K = {
2760
+ const Q = {
2759
2761
  // Year
2760
2762
  y(e, t) {
2761
2763
  const n = e.getFullYear(), r = n > 0 ? n : 1 - n;
@@ -2840,7 +2842,7 @@ const K = {
2840
2842
  const r = e.getFullYear(), o = r > 0 ? r : 1 - r;
2841
2843
  return n.ordinalNumber(o, { unit: "year" });
2842
2844
  }
2843
- return K.y(e, t);
2845
+ return Q.y(e, t);
2844
2846
  },
2845
2847
  // Local week-numbering year
2846
2848
  Y: function(e, t, n, r) {
@@ -2931,7 +2933,7 @@ const K = {
2931
2933
  switch (t) {
2932
2934
  case "M":
2933
2935
  case "MM":
2934
- return K.M(e, t);
2936
+ return Q.M(e, t);
2935
2937
  case "Mo":
2936
2938
  return n.ordinalNumber(r + 1, { unit: "month" });
2937
2939
  case "MMM":
@@ -2986,7 +2988,7 @@ const K = {
2986
2988
  },
2987
2989
  // Day of the month
2988
2990
  d: function(e, t, n) {
2989
- return t === "do" ? n.ordinalNumber(e.getDate(), { unit: "date" }) : K.d(e, t);
2991
+ return t === "do" ? n.ordinalNumber(e.getDate(), { unit: "date" }) : Q.d(e, t);
2990
2992
  },
2991
2993
  // Day of year
2992
2994
  D: function(e, t, n) {
@@ -3209,11 +3211,11 @@ const K = {
3209
3211
  let r = e.getHours() % 12;
3210
3212
  return r === 0 && (r = 12), n.ordinalNumber(r, { unit: "hour" });
3211
3213
  }
3212
- return K.h(e, t);
3214
+ return Q.h(e, t);
3213
3215
  },
3214
3216
  // Hour [0-23]
3215
3217
  H: function(e, t, n) {
3216
- return t === "Ho" ? n.ordinalNumber(e.getHours(), { unit: "hour" }) : K.H(e, t);
3218
+ return t === "Ho" ? n.ordinalNumber(e.getHours(), { unit: "hour" }) : Q.H(e, t);
3217
3219
  },
3218
3220
  // Hour [0-11]
3219
3221
  K: function(e, t, n) {
@@ -3227,15 +3229,15 @@ const K = {
3227
3229
  },
3228
3230
  // Minute
3229
3231
  m: function(e, t, n) {
3230
- return t === "mo" ? n.ordinalNumber(e.getMinutes(), { unit: "minute" }) : K.m(e, t);
3232
+ return t === "mo" ? n.ordinalNumber(e.getMinutes(), { unit: "minute" }) : Q.m(e, t);
3231
3233
  },
3232
3234
  // Second
3233
3235
  s: function(e, t, n) {
3234
- return t === "so" ? n.ordinalNumber(e.getSeconds(), { unit: "second" }) : K.s(e, t);
3236
+ return t === "so" ? n.ordinalNumber(e.getSeconds(), { unit: "second" }) : Q.s(e, t);
3235
3237
  },
3236
3238
  // Fraction of second
3237
3239
  S: function(e, t) {
3238
- return K.S(e, t);
3240
+ return Q.S(e, t);
3239
3241
  },
3240
3242
  // Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
3241
3243
  X: function(e, t, n) {
@@ -3384,7 +3386,7 @@ function Ss(e, t, n) {
3384
3386
  const Ps = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Os = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Is = /^'([^]*?)'?$/, Ts = /''/g, Ds = /[a-zA-Z]/;
3385
3387
  function Es(e, t, n) {
3386
3388
  var u, m, p, f;
3387
- const r = Te(), o = r.locale ?? ds, s = r.firstWeekContainsDate ?? ((m = (u = r.locale) == null ? void 0 : u.options) == null ? void 0 : m.firstWeekContainsDate) ?? 1, i = r.weekStartsOn ?? ((f = (p = r.locale) == null ? void 0 : p.options) == null ? void 0 : f.weekStartsOn) ?? 0, c = q(e);
3389
+ const r = Te(), o = r.locale ?? ds, s = r.firstWeekContainsDate ?? ((m = (u = r.locale) == null ? void 0 : u.options) == null ? void 0 : m.firstWeekContainsDate) ?? 1, i = r.weekStartsOn ?? ((f = (p = r.locale) == null ? void 0 : p.options) == null ? void 0 : f.weekStartsOn) ?? 0, c = z(e);
3388
3390
  if (!Mo(c))
3389
3391
  throw new RangeError("Invalid time value");
3390
3392
  let l = t.match(Os).map((w) => {
@@ -3607,7 +3609,7 @@ const Rs = () => [
3607
3609
  }),
3608
3610
  active: ae((e) => e.active, {
3609
3611
  disableGridCellFocus: !0,
3610
- renderCell: ({ item: e, gridCell: { requiredProps: t } }) => /* @__PURE__ */ a(N, { children: /* @__PURE__ */ a(Be, { value: e.active, ...t }) }),
3612
+ renderCell: ({ item: e, gridCell: { requiredProps: t } }) => /* @__PURE__ */ a(L, { children: /* @__PURE__ */ a(Be, { value: e.active, ...t }) }),
3611
3613
  infoIconTooltipText: "Active means out on the sea."
3612
3614
  }),
3613
3615
  name: ae((e) => e.name, {
@@ -3730,7 +3732,7 @@ export {
3730
3732
  Bn as useRevertableValue,
3731
3733
  Yr as useRowCheckbox,
3732
3734
  ge as useStandardTableActions,
3733
- O as useStandardTableConfig,
3735
+ I as useStandardTableConfig,
3734
3736
  qe as useStandardTableId,
3735
3737
  oe as useStandardTableState,
3736
3738
  go as useTableHeadCheckbox,