@stenajs-webui/grid 25.5.3 → 25.7.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,19 +1,19 @@
1
- import { jsx as s, Fragment as E, jsxs as C } from "react/jsx-runtime";
2
- import * as R from "react";
3
- import { useMemo as b, useRef as Q, useState as Se, useCallback as P, useEffect as ft, useContext as N, createContext as F, useLayoutEffect as tn, useSyncExternalStore as nn, useReducer as rn, useId as on } from "react";
4
- import { InputSpinner as We, Icon as Z, stenaExclamationTriangle as Oe, stenaArrowRight as pt, stenaSortUpMini as sn, stenaSortDownMini as an, stenaInfoCircle as cn, FlatButton as Fe, stenaDotsVertical as ln, stenaAngleDown as gt, stenaAngleRight as wt, ResultListBanner as dn, Banner as Qe } from "@stenajs-webui/elements";
5
- import { cssColor as j } from "@stenajs-webui/theme";
1
+ import { jsx as s, Fragment as R, jsxs as C } from "react/jsx-runtime";
2
+ import * as E from "react";
3
+ import { useMemo as b, useRef as X, useState as Pe, useCallback as P, useEffect as wt, useContext as _, createContext as F, useLayoutEffect as tn, useSyncExternalStore as nn, useReducer as rn, useId as on } from "react";
4
+ import { InputSpinner as Be, Icon as ee, stenaExclamationTriangle as Ie, stenaArrowRight as gt, stenaSortUpMini as sn, stenaSortDownMini as an, stenaInfoCircle as cn, FlatButton as Fe, stenaDotsVertical as dn, stenaAngleDown as yt, stenaAngleRight as bt, ResultListBanner as ln, Banner as Ue } from "@stenajs-webui/elements";
5
+ import { cssColor as q } from "@stenajs-webui/theme";
6
6
  import { Tooltip as be, Popover as un } from "@stenajs-webui/tooltip";
7
- import { Text as ee, Indent as G, Space as M, Row as I, Box as ue, Heading as yt, booleanOrNumberToNumber as hn, useArraySet as bt, useOnScreen as mn, Spacing as Re } from "@stenajs-webui/core";
8
- import vt from "classnames";
9
- import { TextInput as Be, Checkbox as Le } from "@stenajs-webui/forms";
10
- import { useDispatch as fn, useSelector as Xe } from "react-redux";
11
- import { createEntityActions as pn, createSelectedIdsActions as Ue, createSortOrderActions as gn, createSelectedIdsReducerInitialState as Je, createSortOrderReducerInitialState as wn, reducerIdGate as ke, createSortOrderReducer as yn, createSelectedIdsReducer as Ze, createEntityReducer as bn, reducerIdGateAction as oe } from "@stenajs-webui/redux";
7
+ import { Text as te, Indent as W, Space as M, Row as I, Box as le, Heading as vt, booleanOrNumberToNumber as hn, useArraySet as Ct, useOnScreen as mn, Spacing as Me } from "@stenajs-webui/core";
8
+ import xt from "classnames";
9
+ import { TextInput as Le, Checkbox as Ne } from "@stenajs-webui/forms";
10
+ import { useDispatch as fn, useSelector as Je } from "react-redux";
11
+ import { createEntityActions as pn, createSelectedIdsActions as Ze, createSortOrderActions as wn, createSelectedIdsReducerInitialState as et, createSortOrderReducerInitialState as gn, reducerIdGate as Se, createSortOrderReducer as yn, createSelectedIdsReducer as tt, createEntityReducer as bn, reducerIdGateAction as oe } from "@stenajs-webui/redux";
12
12
  import { combineReducers as vn } from "redux";
13
13
  import { LoadingScreen as Cn, ErrorScreen as xn } from "@stenajs-webui/panels";
14
14
  import { compact as kn, upperFirst as Sn, lowerCase as Pn } from "lodash-es";
15
15
  import On from "@emotion/styled";
16
- import './index.css';const Ct = R.createContext({}), js = ({
16
+ import './index.css';const kt = E.createContext({}), Xs = ({
17
17
  children: e,
18
18
  numCols: t,
19
19
  numRows: n,
@@ -24,26 +24,26 @@ import './index.css';const Ct = R.createContext({}), js = ({
24
24
  () => ({ numCols: t, numRows: n, tableId: r, wrap: o }),
25
25
  [t, n, r, o]
26
26
  );
27
- return /* @__PURE__ */ s(Ct.Provider, { value: a, children: e });
27
+ return /* @__PURE__ */ s(kt.Provider, { value: a, children: e });
28
28
  }, Ae = (e) => {
29
29
  const { loading: t, creating: n, deleting: r, updating: o, hasError: a } = e;
30
30
  return !!(t || n || r || o || a);
31
- }, xt = ({ crudStatus: e }) => {
31
+ }, St = ({ crudStatus: e }) => {
32
32
  if (!e || !Ae(e))
33
33
  return null;
34
34
  const { errorMessage: t, hasError: n, loading: r, creating: o, deleting: a, updating: i } = e;
35
35
  if (r || o || a || i)
36
- return /* @__PURE__ */ s(We, { color: j("--lhds-color-ui-500") });
36
+ return /* @__PURE__ */ s(Be, { color: q("--lhds-color-ui-500") });
37
37
  if (n) {
38
38
  const c = /* @__PURE__ */ s(
39
- Z,
39
+ ee,
40
40
  {
41
- icon: Oe,
42
- color: j("--lhds-color-orange-600"),
41
+ icon: Ie,
42
+ color: q("--lhds-color-orange-600"),
43
43
  size: 14
44
44
  }
45
45
  );
46
- return /* @__PURE__ */ s(E, { children: t ? /* @__PURE__ */ s(be, { label: t, children: c }) : c });
46
+ return /* @__PURE__ */ s(R, { children: t ? /* @__PURE__ */ s(be, { label: t, children: c }) : c });
47
47
  }
48
48
  return null;
49
49
  }, In = ({
@@ -54,28 +54,28 @@ import './index.css';const Ct = R.createContext({}), js = ({
54
54
  crudStatus: o
55
55
  }) => {
56
56
  const a = t && r?.modified && r?.newValue === "", i = o && Ae(o), c = a || i;
57
- return /* @__PURE__ */ C(E, { children: [
57
+ return /* @__PURE__ */ C(R, { children: [
58
58
  /* @__PURE__ */ s(
59
- ee,
59
+ te,
60
60
  {
61
61
  color: e ? "var(--swui-primary-action-color)" : void 0,
62
62
  variant: r?.modified ? "bold" : void 0,
63
63
  children: n
64
64
  }
65
65
  ),
66
- r?.newValue !== void 0 && /* @__PURE__ */ C(E, { children: [
67
- /* @__PURE__ */ s(G, { children: /* @__PURE__ */ s(Z, { icon: pt, size: 12 }) }),
68
- /* @__PURE__ */ s(ee, { color: "var(--swui-primary-action-color)", variant: "bold", children: r.newValue })
66
+ r?.newValue !== void 0 && /* @__PURE__ */ C(R, { children: [
67
+ /* @__PURE__ */ s(W, { children: /* @__PURE__ */ s(ee, { icon: gt, size: 12 }) }),
68
+ /* @__PURE__ */ s(te, { color: "var(--swui-primary-action-color)", variant: "bold", children: r.newValue })
69
69
  ] }),
70
70
  c && /* @__PURE__ */ s(M, {}),
71
71
  a ? /* @__PURE__ */ s(be, { label: t, children: /* @__PURE__ */ s(
72
- Z,
72
+ ee,
73
73
  {
74
- icon: Oe,
75
- color: j("--lhds-color-orange-600"),
74
+ icon: Ie,
75
+ color: q("--lhds-color-orange-600"),
76
76
  size: 14
77
77
  }
78
- ) }) : /* @__PURE__ */ s(xt, { crudStatus: o })
78
+ ) }) : /* @__PURE__ */ s(St, { crudStatus: o })
79
79
  ] });
80
80
  }, Tn = ({
81
81
  alignItems: e = "center",
@@ -93,21 +93,21 @@ import './index.css';const Ct = R.createContext({}), js = ({
93
93
  indent: r,
94
94
  ...o
95
95
  }
96
- ), Dn = "var(--lhds-color-ui-300)", En = "var(--lhds-color-blue-500)", kt = "var(--lhds-color-blue-50)", Rn = "var(--lhds-color-blue-100)", we = `1px solid ${Dn}`, Mn = "1px solid transparent", He = "var(--swui-expand-highlight-border-width) solid transparent", St = `var(--swui-expand-highlight-border-width) solid ${En}`, Ne = "40px", Ye = "40px", Pt = "40px", Vs = (e) => /* @__PURE__ */ s(
96
+ ), Dn = "var(--lhds-color-ui-300)", Rn = "var(--lhds-color-blue-600)", Pt = "var(--lhds-color-ui-200)", En = "var(--lhds-color-ui-300)", ge = `1px solid ${Dn}`, Mn = "1px solid transparent", He = "var(--swui-expand-highlight-border-width) solid transparent", Us = `var(--swui-expand-highlight-border-width) solid ${Rn}`, _e = "40px", Ye = "40px", Ot = "40px", Js = (e) => /* @__PURE__ */ s(
97
97
  Tn,
98
98
  {
99
- width: Pt,
99
+ width: Ot,
100
100
  justifyContent: "center",
101
101
  ...e
102
102
  }
103
- ), et = ({ direction: e }) => /* @__PURE__ */ s(ue, { width: "14px", children: /* @__PURE__ */ s(
104
- Z,
103
+ ), nt = ({ direction: e }) => /* @__PURE__ */ s(le, { width: "14px", children: /* @__PURE__ */ s(
104
+ ee,
105
105
  {
106
106
  size: 14,
107
- color: j("--lhds-color-ui-500"),
107
+ color: q("--lhds-color-ui-500"),
108
108
  icon: e === "up" ? sn : an
109
109
  }
110
- ) }), ze = R.memo(
110
+ ) }), ze = E.memo(
111
111
  ({
112
112
  label: e,
113
113
  arrow: t,
@@ -117,81 +117,81 @@ import './index.css';const Ct = R.createContext({}), js = ({
117
117
  popoverContent: a,
118
118
  loading: i,
119
119
  infoIconTooltipAppendTo: c,
120
- infoIconTooltipText: l,
120
+ infoIconTooltipText: d,
121
121
  infoIconTooltipZIndex: u,
122
- columnHeadContent: d,
122
+ columnHeadContent: l,
123
123
  overflow: h = "hidden",
124
124
  alignRight: f,
125
125
  ...p
126
126
  }) => {
127
- const g = Q(null), m = n ? { cursor: "pointer", userSelect: "none" } : void 0, w = !e && !t && !l;
127
+ const w = X(null), m = n ? { cursor: "pointer", userSelect: "none" } : void 0, g = !e && !t && !d;
128
128
  return /* @__PURE__ */ C(
129
129
  I,
130
130
  {
131
131
  height: "100%",
132
132
  alignItems: "center",
133
- ref: g,
133
+ ref: w,
134
134
  overflow: h,
135
135
  justifyContent: f ? "flex-end" : "flex-start",
136
136
  borderTop: "2px solid transparent",
137
- borderBottom: `2px solid ${o ? j("--lhds-color-blue-500") : "transparent"}`,
137
+ borderBottom: `2px solid ${o ? q("--lhds-color-blue-500") : "transparent"}`,
138
138
  ...p,
139
139
  children: [
140
140
  /* @__PURE__ */ C(I, { alignItems: "center", indent: !0, children: [
141
- !t && f && /* @__PURE__ */ C(E, { children: [
141
+ !t && f && /* @__PURE__ */ C(R, { children: [
142
142
  /* @__PURE__ */ s(M, {}),
143
- /* @__PURE__ */ s(ue, { width: "14px" }),
143
+ /* @__PURE__ */ s(le, { width: "14px" }),
144
144
  /* @__PURE__ */ s(M, { num: 0.5 })
145
145
  ] }),
146
146
  (r || e) && /* @__PURE__ */ C(I, { onClick: n, style: m, alignItems: "center", children: [
147
- r && /* @__PURE__ */ C(E, { children: [
147
+ r && /* @__PURE__ */ C(R, { children: [
148
148
  r,
149
- !w && /* @__PURE__ */ s(M, { num: 0.5 })
149
+ !g && /* @__PURE__ */ s(M, { num: 0.5 })
150
150
  ] }),
151
- t && f && /* @__PURE__ */ C(E, { children: [
151
+ t && f && /* @__PURE__ */ C(R, { children: [
152
152
  /* @__PURE__ */ s(M, {}),
153
- /* @__PURE__ */ s(et, { direction: t }),
153
+ /* @__PURE__ */ s(nt, { direction: t }),
154
154
  /* @__PURE__ */ s(M, { num: 0.5 })
155
155
  ] }),
156
- e && /* @__PURE__ */ s(yt, { variant: "h6", style: { textAlign: "left" }, children: e }),
157
- t && !f && /* @__PURE__ */ C(E, { children: [
156
+ e && /* @__PURE__ */ s(vt, { variant: "h6", style: { textAlign: "left" }, children: e }),
157
+ t && !f && /* @__PURE__ */ C(R, { children: [
158
158
  /* @__PURE__ */ s(M, { num: 0.5 }),
159
- /* @__PURE__ */ s(et, { direction: t }),
159
+ /* @__PURE__ */ s(nt, { direction: t }),
160
160
  /* @__PURE__ */ s(M, {})
161
161
  ] })
162
162
  ] }),
163
- d && /* @__PURE__ */ C(E, { children: [
163
+ l && /* @__PURE__ */ C(R, { children: [
164
164
  /* @__PURE__ */ s(M, {}),
165
- /* @__PURE__ */ s(I, { children: d })
165
+ /* @__PURE__ */ s(I, { children: l })
166
166
  ] }),
167
- l && /* @__PURE__ */ C(E, { children: [
167
+ d && /* @__PURE__ */ C(R, { children: [
168
168
  /* @__PURE__ */ s(M, {}),
169
169
  /* @__PURE__ */ s(I, { onClick: (y) => y.stopPropagation(), children: /* @__PURE__ */ s(
170
170
  be,
171
171
  {
172
172
  appendTo: c,
173
- label: l,
173
+ label: d,
174
174
  zIndex: u,
175
175
  children: /* @__PURE__ */ s(
176
- Z,
176
+ ee,
177
177
  {
178
178
  icon: cn,
179
179
  size: 14,
180
- color: j("--lhds-color-blue-400")
180
+ color: q("--lhds-color-blue-400")
181
181
  }
182
182
  )
183
183
  }
184
184
  ) })
185
185
  ] }),
186
- (d || l) && /* @__PURE__ */ s(M, {})
186
+ (l || d) && /* @__PURE__ */ s(M, {})
187
187
  ] }),
188
- /* @__PURE__ */ s(I, { children: i ? /* @__PURE__ */ s(We, {}) : a ? /* @__PURE__ */ s(
188
+ /* @__PURE__ */ s(I, { children: i ? /* @__PURE__ */ s(Be, {}) : a ? /* @__PURE__ */ s(
189
189
  un,
190
190
  {
191
191
  renderTrigger: (y) => /* @__PURE__ */ s(
192
192
  Fe,
193
193
  {
194
- leftIcon: ln,
194
+ leftIcon: dn,
195
195
  size: "small",
196
196
  ...y
197
197
  }
@@ -201,33 +201,33 @@ import './index.css';const Ct = R.createContext({}), js = ({
201
201
  children: a
202
202
  }
203
203
  ) : null }),
204
- !t && !f && /* @__PURE__ */ C(E, { children: [
204
+ !t && !f && /* @__PURE__ */ C(R, { children: [
205
205
  /* @__PURE__ */ s(M, {}),
206
- /* @__PURE__ */ s(ue, { width: "14px" }),
206
+ /* @__PURE__ */ s(le, { width: "14px" }),
207
207
  /* @__PURE__ */ s(M, { num: 0.5 })
208
208
  ] })
209
209
  ]
210
210
  }
211
211
  );
212
212
  }
213
- ), Ks = (e) => /* @__PURE__ */ s(
213
+ ), Zs = (e) => /* @__PURE__ */ s(
214
214
  ze,
215
215
  {
216
- width: Pt,
216
+ width: Ot,
217
217
  justifyContent: "center",
218
218
  ...e
219
219
  }
220
- ), $s = ({
220
+ ), ea = ({
221
221
  label: e,
222
222
  flex: t,
223
223
  width: n,
224
224
  indent: r = 1,
225
225
  height: o = Ye
226
- }) => /* @__PURE__ */ s(ze, { width: n, flex: t, height: o, children: /* @__PURE__ */ s(ue, { indent: r, spacing: !0, children: /* @__PURE__ */ s(ee, { variant: "bold", children: e }) }) }), Qs = R.memo(
226
+ }) => /* @__PURE__ */ s(ze, { width: n, flex: t, height: o, children: /* @__PURE__ */ s(le, { indent: r, spacing: !0, children: /* @__PURE__ */ s(te, { variant: "bold", children: e }) }) }), ta = E.memo(
227
227
  ({ style: e, height: t = Ye, ...n }) => /* @__PURE__ */ s(I, { style: e, height: t, ...n })
228
228
  ), Gn = "_tableRow_1cphw_1", Wn = {
229
229
  tableRow: Gn
230
- }, Xs = ({
230
+ }, na = ({
231
231
  hideBorderTop: e,
232
232
  height: t = Ye,
233
233
  className: n,
@@ -235,41 +235,41 @@ import './index.css';const Ct = R.createContext({}), js = ({
235
235
  }) => /* @__PURE__ */ s(
236
236
  I,
237
237
  {
238
- borderTop: e ? Mn : we,
238
+ borderTop: e ? Mn : ge,
239
239
  height: t,
240
- className: vt(Wn.tableRow, n),
240
+ className: xt(Wn.tableRow, n),
241
241
  ...r
242
242
  }
243
- ), Fn = (e) => {
244
- const [t, n] = Se(e), r = Q(e), o = Q(e), a = P(
245
- (d) => {
246
- n(d), o.current = d;
243
+ ), Bn = (e) => {
244
+ const [t, n] = Pe(e), r = X(e), o = X(e), a = P(
245
+ (l) => {
246
+ n(l), o.current = l;
247
247
  },
248
248
  [n, o]
249
249
  );
250
- ft(() => {
250
+ wt(() => {
251
251
  a(e);
252
252
  }, [a, e]);
253
253
  const i = P(() => {
254
254
  r && a(r.current);
255
255
  }, [a, r]), c = P(
256
- (d) => {
257
- r.current = t, d && a(d);
256
+ (l) => {
257
+ r.current = t, l && a(l);
258
258
  },
259
259
  [t, a]
260
- ), l = P(
261
- (d) => r.current = d,
260
+ ), d = P(
261
+ (l) => r.current = l,
262
262
  [r]
263
263
  ), u = P(() => o.current, [o]);
264
264
  return {
265
265
  value: t,
266
266
  setValue: a,
267
- setRevertValue: l,
267
+ setRevertValue: d,
268
268
  revert: i,
269
269
  commit: c,
270
270
  getValue: u
271
271
  };
272
- }, Bn = (e) => ({
272
+ }, Fn = (e) => ({
273
273
  altKey: e.altKey,
274
274
  charCode: e.charCode,
275
275
  ctrlKey: e.ctrlKey,
@@ -281,7 +281,7 @@ import './index.css';const Ct = R.createContext({}), js = ({
281
281
  repeat: e.repeat,
282
282
  shiftKey: e.shiftKey,
283
283
  which: e.which
284
- }), Ln = (e) => e, An = (e, {
284
+ }), Ln = (e) => e, Nn = (e, {
285
285
  isEditable: t = !1,
286
286
  allowedInputType: n = "all",
287
287
  onChange: r,
@@ -289,25 +289,25 @@ import './index.css';const Ct = R.createContext({}), js = ({
289
289
  onStopEditing: a,
290
290
  transformEnteredValue: i = Ln
291
291
  }) => {
292
- const [c, l] = Se(!1), [u, d] = Se(
292
+ const [c, d] = Pe(!1), [u, l] = Pe(
293
293
  void 0
294
- ), h = Fn(e), { getValue: f, revert: p, setValue: g, setRevertValue: m } = h, w = P(
295
- (v) => {
296
- t && (g(e), m(e), l(!0), o && o(v));
294
+ ), h = Bn(e), { getValue: f, revert: p, setValue: w, setRevertValue: m } = h, g = P(
295
+ (S) => {
296
+ t && (w(e), m(e), d(!0), o && o(S));
297
297
  },
298
- [t, o, m, g, e]
298
+ [t, o, m, w, e]
299
299
  ), y = P(() => {
300
- t && (l(!1), a && a(), r && r(f()));
301
- }, [t, r, a, f, l]), k = P(() => {
302
- t && (l(!1), a && a(), p());
303
- }, [t, a, p, l]);
300
+ t && (d(!1), a && a(), r && r(f()));
301
+ }, [t, r, a, f, d]), k = P(() => {
302
+ t && (d(!1), a && a(), p());
303
+ }, [t, a, p, d]);
304
304
  return {
305
305
  onKeyDown: b(
306
- () => _n(
306
+ () => qn(
307
307
  c,
308
308
  t,
309
- w,
310
- d,
309
+ g,
310
+ l,
311
311
  n,
312
312
  i,
313
313
  h
@@ -315,8 +315,8 @@ import './index.css';const Ct = R.createContext({}), js = ({
315
315
  [
316
316
  c,
317
317
  t,
318
- w,
319
- d,
318
+ g,
319
+ l,
320
320
  n,
321
321
  i,
322
322
  h
@@ -325,18 +325,18 @@ import './index.css';const Ct = R.createContext({}), js = ({
325
325
  isEditing: c,
326
326
  lastKeyEvent: u,
327
327
  revertableValue: h,
328
- startEditing: w,
328
+ startEditing: g,
329
329
  stopEditing: y,
330
330
  stopEditingAndRevert: k,
331
- onDoubleClick: w
331
+ onDoubleClick: g
332
332
  };
333
- }, Hn = (e) => e === "all" || e === "numeric" || e === "alphanumeric", Nn = (e) => e === "all" || e === "alphanumeric" || e === "letters", Yn = (e) => !!e.match(/^[-+*<>]$/), zn = (e) => !!e.match(/^[a-zA-Z0-9]$/), qn = (e) => !isNaN(parseInt(e, 10)), _n = (e, t, n, r, o, a, i) => (c) => {
333
+ }, An = (e) => e === "all" || e === "numeric" || e === "alphanumeric", Hn = (e) => e === "all" || e === "alphanumeric" || e === "letters", _n = (e) => !!e.match(/^[-+*<>]$/), Yn = (e) => !!e.match(/^[a-zA-Z0-9]$/), zn = (e) => !isNaN(parseInt(e, 10)), qn = (e, t, n, r, o, a, i) => (c) => {
334
334
  if (!(c.ctrlKey || c.metaKey || c.shiftKey)) {
335
335
  if (c.key === "Enter" && t)
336
336
  r(void 0), n(), i.commit(), c.preventDefault(), c.stopPropagation();
337
337
  else if (t) {
338
- const l = Bn(c);
339
- (qn(c.key) && Hn(o) || zn(c.key) && Nn(o) || Yn(c.key)) && (n(l), r(l), i.commit(), i.setValue(a(l.key)), c.preventDefault(), c.stopPropagation());
338
+ const d = Fn(c);
339
+ (zn(c.key) && An(o) || Yn(c.key) && Hn(o) || _n(c.key)) && (n(d), r(d), i.commit(), i.setValue(a(d.key)), c.preventDefault(), c.stopPropagation());
340
340
  }
341
341
  }
342
342
  }, jn = (e, t, n, r) => {
@@ -345,9 +345,9 @@ import './index.css';const Ct = R.createContext({}), js = ({
345
345
  realX: o,
346
346
  realY: a
347
347
  };
348
- }, tt = (e, t, n) => Math.max(Math.min(e, n), t), Vn = (e, t, n) => ({
349
- rowIndex: tt(e.rowIndex, 0, t),
350
- colIndex: tt(e.colIndex, 0, n)
348
+ }, rt = (e, t, n) => Math.max(Math.min(e, n), t), Vn = (e, t, n) => ({
349
+ rowIndex: rt(e.rowIndex, 0, t),
350
+ colIndex: rt(e.colIndex, 0, n)
351
351
  }), Kn = (e, t, n) => {
352
352
  const r = jn(e.colIndex, e.rowIndex, n, t);
353
353
  return {
@@ -380,8 +380,8 @@ import './index.css';const Ct = R.createContext({}), js = ({
380
380
  if (e.numCols == null)
381
381
  throw new Error("numCols is required.");
382
382
  return e;
383
- }, Ot = (e) => {
384
- const t = N(Ct);
383
+ }, It = (e) => {
384
+ const t = _(kt);
385
385
  return b(
386
386
  () => Un({
387
387
  ...t,
@@ -398,8 +398,8 @@ import './index.css';const Ct = R.createContext({}), js = ({
398
398
  tableId: a,
399
399
  edgeMode: i,
400
400
  onCellMove: c,
401
- onCellNavigation: l
402
- } = Ot(e), u = b(
401
+ onCellNavigation: d
402
+ } = It(e), u = b(
403
403
  () => Zn(
404
404
  a,
405
405
  t,
@@ -408,7 +408,7 @@ import './index.css';const Ct = R.createContext({}), js = ({
408
408
  o,
409
409
  i,
410
410
  c,
411
- l
411
+ d
412
412
  ),
413
413
  [
414
414
  a,
@@ -418,61 +418,61 @@ import './index.css';const Ct = R.createContext({}), js = ({
418
418
  o,
419
419
  i,
420
420
  c,
421
- l
421
+ d
422
422
  ]
423
- ), d = b(
423
+ ), l = b(
424
424
  () => er(u),
425
425
  [u]
426
426
  ), h = b(
427
- () => It(a, t, n),
427
+ () => Tt(a, t, n),
428
428
  [a, t, n]
429
429
  ), f = b(
430
430
  () => ({
431
431
  tabIndex: 0,
432
- onKeyDown: d,
432
+ onKeyDown: l,
433
433
  id: h
434
434
  }),
435
- [d, h]
435
+ [l, h]
436
436
  );
437
437
  return {
438
- focusOnCell: Tt,
438
+ focusOnCell: Dt,
439
439
  moveHandler: u,
440
440
  requiredProps: f
441
441
  };
442
- }, Zn = (e, t, n, r, o, a, i, c) => (l) => {
442
+ }, Zn = (e, t, n, r, o, a, i, c) => (d) => {
443
443
  const u = $n(
444
444
  t,
445
445
  n,
446
446
  r,
447
447
  o,
448
- l,
448
+ d,
449
449
  a
450
- ), d = n !== u.colIndex, h = t !== u.rowIndex;
451
- (d || h) && (i && i({
452
- direction: l,
450
+ ), l = n !== u.colIndex, h = t !== u.rowIndex;
451
+ (l || h) && (i && i({
452
+ direction: d,
453
453
  fromRowIndex: t,
454
454
  fromColIndex: n,
455
455
  rowIndex: u.rowIndex,
456
456
  colIndex: u.colIndex,
457
- colDidChange: d,
457
+ colDidChange: l,
458
458
  rowDidChange: h
459
- }), Tt(e, u)), c && c({
460
- direction: l,
459
+ }), Dt(e, u)), c && c({
460
+ direction: d,
461
461
  fromRowIndex: t,
462
462
  fromColIndex: n,
463
463
  rowIndex: u.rowIndex,
464
464
  colIndex: u.colIndex,
465
- colDidChange: d,
465
+ colDidChange: l,
466
466
  rowDidChange: h,
467
- cellDidChange: d || h
467
+ cellDidChange: l || h
468
468
  });
469
- }, It = (e, t, n) => Xn(`table-${e}-${t}-${n}`), er = (e) => (t) => t.key === "ArrowLeft" ? (e("left"), t.preventDefault(), t.stopPropagation(), !0) : t.key === "ArrowUp" ? (e("up"), t.preventDefault(), t.stopPropagation(), !0) : t.key === "ArrowRight" ? (e("right"), t.preventDefault(), t.stopPropagation(), !0) : t.key === "ArrowDown" ? (e("down"), t.preventDefault(), t.stopPropagation(), !0) : !1, Tt = (e, t) => {
469
+ }, Tt = (e, t, n) => Xn(`table-${e}-${t}-${n}`), er = (e) => (t) => t.key === "ArrowLeft" ? (e("left"), t.preventDefault(), t.stopPropagation(), !0) : t.key === "ArrowUp" ? (e("up"), t.preventDefault(), t.stopPropagation(), !0) : t.key === "ArrowRight" ? (e("right"), t.preventDefault(), t.stopPropagation(), !0) : t.key === "ArrowDown" ? (e("down"), t.preventDefault(), t.stopPropagation(), !0) : !1, Dt = (e, t) => {
470
470
  const n = document.getElementById(
471
- It(e, t.rowIndex, t.colIndex)
471
+ Tt(e, t.rowIndex, t.colIndex)
472
472
  );
473
473
  n && n.focus();
474
- }, Ie = (e, t) => {
475
- const { tableId: n } = Ot(t), r = Jn(t), o = An(e, t), a = b(
474
+ }, Te = (e, t) => {
475
+ const { tableId: n } = It(t), r = Jn(t), o = Nn(e, t), a = b(
476
476
  () => ({
477
477
  rowIndex: t.rowIndex,
478
478
  colIndex: t.colIndex
@@ -482,14 +482,14 @@ import './index.css';const Ct = R.createContext({}), js = ({
482
482
  o.startEditing(), r.focusOnCell(n, a);
483
483
  }, [o, r, n, a]), c = P(() => {
484
484
  o.stopEditing(), r.focusOnCell(n, a);
485
- }, [o, r, n, a]), l = P(() => {
485
+ }, [o, r, n, a]), d = P(() => {
486
486
  o.stopEditingAndRevert(), r.focusOnCell(n, a);
487
487
  }, [o, r, n, a]), u = P(
488
488
  (p) => {
489
489
  o.stopEditing(), r.moveHandler(p);
490
490
  },
491
491
  [o, r]
492
- ), d = P(
492
+ ), l = P(
493
493
  (p) => {
494
494
  r.moveHandler(p);
495
495
  },
@@ -514,13 +514,13 @@ import './index.css';const Ct = R.createContext({}), js = ({
514
514
  setEditorValue: o.revertableValue.setValue,
515
515
  revertEditorValue: o.revertableValue.revert,
516
516
  requiredProps: f,
517
- move: d,
517
+ move: l,
518
518
  startEditing: i,
519
519
  stopEditing: c,
520
- stopEditingAndRevert: l,
520
+ stopEditingAndRevert: d,
521
521
  stopEditingAndMove: u
522
522
  };
523
- }, Us = function({
523
+ }, ra = function({
524
524
  allowedInputType: t,
525
525
  value: n = "",
526
526
  entityId: r,
@@ -528,50 +528,50 @@ import './index.css';const Ct = R.createContext({}), js = ({
528
528
  rowIndent: a,
529
529
  crudStatusRedux: i,
530
530
  modifiedFieldsRedux: c,
531
- colIndex: l,
531
+ colIndex: d,
532
532
  rowIndex: u,
533
- numCols: d,
533
+ numCols: l,
534
534
  numRows: h,
535
535
  warningOnEmpty: f
536
536
  }) {
537
- const p = fn(), g = Xe(
537
+ const p = fn(), w = Je(
538
538
  c.selectors.getState
539
- ), m = Xe(i.selectors.getState), w = g.entities[r], y = m.entities[r], k = P(
540
- (H = "") => {
541
- p(H === n ? c.actions.clearEntity(r) : c.actions.setEntity({
539
+ ), m = Je(i.selectors.getState), g = w.entities[r], y = m.entities[r], k = P(
540
+ (A = "") => {
541
+ p(A === n ? c.actions.clearEntity(r) : c.actions.setEntity({
542
542
  id: r,
543
543
  originalValue: n,
544
- newValue: H,
544
+ newValue: A,
545
545
  modified: !0
546
546
  }));
547
547
  },
548
548
  [p, r, c.actions, n]
549
549
  ), {
550
- isEditing: S,
551
- stopEditing: v,
552
- editorValue: O,
553
- setEditorValue: W,
550
+ isEditing: O,
551
+ stopEditing: S,
552
+ editorValue: v,
553
+ setEditorValue: B,
554
554
  stopEditingAndRevert: L,
555
- stopEditingAndMove: A,
556
- lastKeyEvent: z,
557
- requiredProps: { onKeyDown: V, ...q }
558
- } = Ie(n, {
555
+ stopEditingAndMove: j,
556
+ lastKeyEvent: N,
557
+ requiredProps: { onKeyDown: V, ...H }
558
+ } = Te(n, {
559
559
  rowIndex: u,
560
- colIndex: l,
561
- numCols: d,
560
+ colIndex: d,
561
+ numCols: l,
562
562
  numRows: h,
563
563
  tableId: "serviceManningMatrixTable",
564
564
  onChange: k,
565
565
  isEditable: o,
566
566
  allowedInputType: t
567
567
  }), K = P(
568
- (H) => {
569
- H.key === "Delete" ? (p(c.actions.clearEntity(r)), p(
568
+ (A) => {
569
+ A.key === "Delete" ? (p(c.actions.clearEntity(r)), p(
570
570
  i.actions.setEntityFields(r, {
571
571
  hasError: !1,
572
572
  errorMessage: void 0
573
573
  })
574
- )) : V(H);
574
+ )) : V(A);
575
575
  },
576
576
  [
577
577
  V,
@@ -584,13 +584,13 @@ import './index.css';const Ct = R.createContext({}), js = ({
584
584
  return /* @__PURE__ */ C(
585
585
  I,
586
586
  {
587
- height: Ne,
587
+ height: _e,
588
588
  width: "100%",
589
- borderBottom: we,
589
+ borderBottom: ge,
590
590
  hoverBackground: "var(--ui7)",
591
591
  alignItems: "center",
592
592
  children: [
593
- a && /* @__PURE__ */ s(G, { num: a }),
593
+ a && /* @__PURE__ */ s(W, { num: a }),
594
594
  /* @__PURE__ */ s(
595
595
  I,
596
596
  {
@@ -600,81 +600,81 @@ import './index.css';const Ct = R.createContext({}), js = ({
600
600
  alignItems: "center",
601
601
  border: "1px solid transparent",
602
602
  borderRadius: "4px",
603
- focusBorder: S ? void 0 : "1px solid var(--primary-action-color)",
604
- hoverBorder: S ? void 0 : "var(--ui5) solid 1px;",
603
+ focusBorder: O ? void 0 : "1px solid var(--primary-action-color)",
604
+ hoverBorder: O ? void 0 : "var(--ui5) solid 1px;",
605
605
  onKeyDown: K,
606
- ...q,
607
- children: /* @__PURE__ */ s(G, { row: !0, alignItems: "center", children: S ? /* @__PURE__ */ s(
608
- Be,
606
+ ...H,
607
+ children: /* @__PURE__ */ s(W, { row: !0, alignItems: "center", children: O ? /* @__PURE__ */ s(
608
+ Le,
609
609
  {
610
- onValueChange: W,
611
- value: O,
612
- onDone: v,
610
+ onValueChange: B,
611
+ value: v,
612
+ onDone: S,
613
613
  onEsc: L,
614
614
  autoFocus: !0,
615
- selectAllOnMount: !z,
616
- onMove: A
615
+ selectAllOnMount: !N,
616
+ onMove: j
617
617
  }
618
- ) : /* @__PURE__ */ C(E, { children: [
618
+ ) : /* @__PURE__ */ C(R, { children: [
619
619
  /* @__PURE__ */ s(
620
- ee,
620
+ te,
621
621
  {
622
622
  color: o ? "var(--primary-action-color)" : void 0,
623
- variant: w?.modified ? "bold" : void 0,
623
+ variant: g?.modified ? "bold" : void 0,
624
624
  children: n
625
625
  }
626
626
  ),
627
- w?.newValue !== void 0 && /* @__PURE__ */ C(E, { children: [
628
- /* @__PURE__ */ s(G, { children: /* @__PURE__ */ s(Z, { icon: pt, size: 12 }) }),
627
+ g?.newValue !== void 0 && /* @__PURE__ */ C(R, { children: [
628
+ /* @__PURE__ */ s(W, { children: /* @__PURE__ */ s(ee, { icon: gt, size: 12 }) }),
629
629
  /* @__PURE__ */ s(
630
- ee,
630
+ te,
631
631
  {
632
632
  color: "var(--primary-action-color)",
633
633
  variant: "bold",
634
- children: w.newValue
634
+ children: g.newValue
635
635
  }
636
636
  )
637
637
  ] }),
638
638
  y && Ae(y) && /* @__PURE__ */ s(M, { num: 2 }),
639
- f && w?.modified && w?.newValue === "" ? /* @__PURE__ */ s(be, { label: f, children: /* @__PURE__ */ s(
640
- Z,
639
+ f && g?.modified && g?.newValue === "" ? /* @__PURE__ */ s(be, { label: f, children: /* @__PURE__ */ s(
640
+ ee,
641
641
  {
642
- icon: Oe,
642
+ icon: Ie,
643
643
  color: "var(--ui-alert1)",
644
644
  size: 14
645
645
  }
646
- ) }) : /* @__PURE__ */ s(xt, { crudStatus: y })
646
+ ) }) : /* @__PURE__ */ s(St, { crudStatus: y })
647
647
  ] }) })
648
648
  }
649
649
  ),
650
- a && /* @__PURE__ */ s(G, { num: a })
650
+ a && /* @__PURE__ */ s(W, { num: a })
651
651
  ]
652
652
  }
653
653
  );
654
- }, Dt = F(""), Et = F(
654
+ }, Rt = F(""), Et = F(
655
655
  void 0
656
- ), Rt = F(void 0), Mt = F(void 0), tr = () => ({
657
- sortOrder: gn(),
658
- selectedIds: Ue(),
659
- expandedRows: Ue(),
656
+ ), Mt = F(void 0), Gt = F(void 0), tr = () => ({
657
+ sortOrder: wn(),
658
+ selectedIds: Ze(),
659
+ expandedRows: Ze(),
660
660
  fields: pn()
661
- }), _ = (e, t) => `${e}.${t}`, Gt = (e = void 0, t = !1, n = [], r = []) => ({
662
- sortOrder: wn(e, t),
663
- selectedIds: Je(n),
664
- expandedRows: Je(r),
661
+ }), z = (e, t) => `${e}.${t}`, Wt = (e = void 0, t = !1, n = [], r = []) => ({
662
+ sortOrder: gn(e, t),
663
+ selectedIds: et(n),
664
+ expandedRows: et(r),
665
665
  fields: { lastSelectedId: void 0 }
666
666
  }), nr = (e, t) => {
667
- const n = ke(
668
- _(e, "sortOrder"),
667
+ const n = Se(
668
+ z(e, "sortOrder"),
669
669
  yn(t?.sortOrder)
670
- ), r = ke(
671
- _(e, "selectedIds"),
672
- Ze(t?.selectedIds)
673
- ), o = ke(
674
- _(e, "expandedRows"),
675
- Ze(t?.expandedRows)
676
- ), a = ke(
677
- _(e, "fields"),
670
+ ), r = Se(
671
+ z(e, "selectedIds"),
672
+ tt(t?.selectedIds)
673
+ ), o = Se(
674
+ z(e, "expandedRows"),
675
+ tt(t?.expandedRows)
676
+ ), a = Se(
677
+ z(e, "fields"),
678
678
  bn(t?.fields ?? {})
679
679
  );
680
680
  return vn({
@@ -683,17 +683,17 @@ import './index.css';const Ct = R.createContext({}), js = ({
683
683
  expandedRows: o,
684
684
  fields: a
685
685
  });
686
- }, qe = () => N(Dt), T = () => N(Mt), he = () => N(Et), ve = () => N(Rt), Wt = F([]), te = () => N(
687
- Wt
686
+ }, qe = () => _(Rt), T = () => _(Gt), ue = () => _(Et), ve = () => _(Mt), Bt = F([]), ne = () => _(
687
+ Bt
688
688
  ), Ft = () => {
689
- const e = T(), t = te();
689
+ const e = T(), t = ne();
690
690
  let n = 0;
691
691
  return e.enableExpandCollapse && n++, e.showRowCheckbox && n++, n + b(
692
692
  () => t.map((r) => r.groupConfig.columnOrder.length).reduce((r, o) => r + o, 0),
693
693
  [t]
694
694
  );
695
- }, Bt = F(void 0), rr = () => N(Bt), Lt = F(void 0), or = () => N(Lt), sr = F(void 0), ar = F(!1), At = F(void 0), ir = (e) => {
696
- const t = Q(/* @__PURE__ */ new Set()), n = Q(void 0), r = Q(void 0);
695
+ }, Lt = F(void 0), rr = () => _(Lt), Nt = F(void 0), or = () => _(Nt), sr = F(void 0), ar = F(!1), At = F(void 0), ir = (e) => {
696
+ const t = X(/* @__PURE__ */ new Set()), n = X(void 0), r = X(void 0);
697
697
  return n.current !== e && (n.current = e, r.current = new Set(e)), tn(() => {
698
698
  t.current.forEach((o) => o());
699
699
  }, [e]), b(
@@ -706,12 +706,12 @@ import './index.css';const Ct = R.createContext({}), js = ({
706
706
  []
707
707
  );
708
708
  }, cr = (e) => {
709
- const t = N(At);
709
+ const t = _(At);
710
710
  return nn(
711
711
  t.subscribe,
712
712
  () => t.getSelectedIdsSet().has(e)
713
713
  );
714
- }, lr = F("standard"), Ht = F({}), _e = () => N(Ht), Nt = F(0), je = () => N(Nt), Yt = (e, t, n) => e ? kn(
714
+ }, dr = F("standard"), Ht = F({}), je = () => _(Ht), _t = F(0), Ve = () => _(_t), Yt = (e, t, n) => e ? kn(
715
715
  t?.map((r) => {
716
716
  const o = e?.[r];
717
717
  return {
@@ -729,24 +729,24 @@ import './index.css';const Ct = R.createContext({}), js = ({
729
729
  columnOrder: n ?? []
730
730
  }
731
731
  }
732
- ], Ve = (e, t, n) => {
732
+ ], Ke = (e, t, n) => {
733
733
  if (e)
734
- return e === !0 ? we : e;
734
+ return e === !0 ? ge : e;
735
735
  if (!t && n)
736
- return n === !0 ? we : n;
737
- }, Te = (e, t, n) => {
736
+ return n === !0 ? ge : n;
737
+ }, De = (e, t, n) => {
738
738
  if (!(e === 0 || t !== 0) && n)
739
- return n === !0 ? we : n;
739
+ return n === !0 ? ge : n;
740
740
  }, Ce = (e) => {
741
741
  const { columns: t } = T(), n = t[e];
742
742
  if (!n)
743
743
  throw new Error("No config for column with id=" + e);
744
744
  return n;
745
- }, dr = () => {
746
- const e = T(), t = te()?.[0]?.groupConfig.columnOrder?.[0];
745
+ }, lr = () => {
746
+ const e = T(), t = ne()?.[0]?.groupConfig.columnOrder?.[0];
747
747
  return t ? e.columns[t] : void 0;
748
748
  }, ur = () => {
749
- const e = T(), t = te(), n = t[t.length - 1], r = n?.groupConfig.columnOrder[n.groupConfig.columnOrder.length - 1] ?? void 0;
749
+ const e = T(), t = ne(), n = t[t.length - 1], r = n?.groupConfig.columnOrder[n.groupConfig.columnOrder.length - 1] ?? void 0;
750
750
  return r ? e.columns[r] : void 0;
751
751
  }, hr = function({
752
752
  columnId: t,
@@ -756,41 +756,41 @@ import './index.css';const Ct = R.createContext({}), js = ({
756
756
  isFirstGroup: a,
757
757
  isLastGroup: i
758
758
  }) {
759
- const { label: c, render: l, contentLeft: u, contentRight: d, loading: h, error: f } = n, { width: p, minWidth: g, zIndex: m, borderLeft: w } = Ce(t), y = T(), { stickyHeader: k, headerRowOffsetTop: S } = y, v = "columnGroupOrder" in y ? y.stickyColumnGroups : void 0, O = mr(r, w), W = a && (v === "first" || v === "both"), L = i && (v === "last" || v === "both"), A = W || L || k, z = W || L;
759
+ const { label: c, render: d, contentLeft: u, contentRight: l, loading: h, error: f } = n, { width: p, minWidth: w, zIndex: m, borderLeft: g } = Ce(t), y = T(), { stickyHeader: k, headerRowOffsetTop: O } = y, S = "columnGroupOrder" in y ? y.stickyColumnGroups : void 0, v = mr(r, g), B = a && (S === "first" || S === "both"), L = i && (S === "last" || S === "both"), j = B || L || k, N = B || L;
760
760
  return /* @__PURE__ */ s(
761
761
  "th",
762
762
  {
763
763
  colSpan: o,
764
764
  style: {
765
- position: A ? "sticky" : void 0,
765
+ position: j ? "sticky" : void 0,
766
766
  height: "var(--current-row-height)",
767
767
  width: p,
768
- minWidth: g ?? p ?? "20px",
769
- background: A ? "white" : "transparent",
770
- left: W ? "var(--current-left-offset)" : void 0,
768
+ minWidth: w ?? p ?? "20px",
769
+ background: j ? "white" : "transparent",
770
+ left: B ? "var(--current-left-offset)" : void 0,
771
771
  right: L ? "0px" : void 0,
772
- top: k ? S ?? "0px" : void 0,
773
- borderLeft: O,
774
- zIndex: k && z ? "var(--swui-sticky-column-group-label-z-index)" : z ? "var(--swui-sticky-group-group-z-index)" : k ? m ?? "var(--swui-sticky-header-column-group-z-index)" : m ?? 1,
775
- boxShadow: W ? "var(--swui-sticky-column-shadow-right)" : L ? "var(--swui-sticky-column-shadow-left)" : void 0
772
+ top: k ? O ?? "0px" : void 0,
773
+ borderLeft: v,
774
+ zIndex: k && N ? "var(--swui-sticky-column-group-label-z-index)" : N ? "var(--swui-sticky-group-group-z-index)" : k ? m ?? "var(--swui-sticky-header-column-group-z-index)" : m ?? 1,
775
+ boxShadow: B ? "var(--swui-sticky-column-shadow-right)" : L ? "var(--swui-sticky-column-shadow-left)" : void 0
776
776
  },
777
- children: /* @__PURE__ */ s(I, { alignItems: "center", children: /* @__PURE__ */ C(E, { children: [
778
- u && /* @__PURE__ */ C(E, { children: [
777
+ children: /* @__PURE__ */ s(I, { alignItems: "center", children: /* @__PURE__ */ C(R, { children: [
778
+ u && /* @__PURE__ */ C(R, { children: [
779
779
  /* @__PURE__ */ s(M, {}),
780
780
  u,
781
781
  /* @__PURE__ */ s(M, { num: 0.5 })
782
782
  ] }),
783
- l ? l(n) : /* @__PURE__ */ s(G, { children: /* @__PURE__ */ s(yt, { variant: "h5", whiteSpace: "nowrap", children: c }) }),
784
- d && /* @__PURE__ */ C(E, { children: [
783
+ d ? d(n) : /* @__PURE__ */ s(W, { children: /* @__PURE__ */ s(vt, { variant: "h5", whiteSpace: "nowrap", children: c }) }),
784
+ l && /* @__PURE__ */ C(R, { children: [
785
785
  /* @__PURE__ */ s(M, { num: 0.5 }),
786
- d
786
+ l
787
787
  ] }),
788
- (f || h) && /* @__PURE__ */ s(G, {}),
789
- h ? /* @__PURE__ */ s(We, {}) : f ? /* @__PURE__ */ s(be, { label: f, placement: "bottom", children: /* @__PURE__ */ s(
790
- Z,
788
+ (f || h) && /* @__PURE__ */ s(W, {}),
789
+ h ? /* @__PURE__ */ s(Be, {}) : f ? /* @__PURE__ */ s(be, { label: f, placement: "bottom", children: /* @__PURE__ */ s(
790
+ ee,
791
791
  {
792
- icon: Oe,
793
- color: j("--lhds-color-red-500"),
792
+ icon: Ie,
793
+ color: q("--lhds-color-red-500"),
794
794
  size: 14
795
795
  }
796
796
  ) }) : void 0
@@ -815,23 +815,23 @@ import './index.css';const Ct = R.createContext({}), js = ({
815
815
  return t;
816
816
  if (e)
817
817
  return 0;
818
- }, gr = R.memo(function({
819
- height: t = Ne
818
+ }, wr = E.memo(function({
819
+ height: t = _e
820
820
  }) {
821
- const n = te(), r = T(), {
821
+ const n = ne(), r = T(), {
822
822
  showHeaderCheckbox: o,
823
823
  enableExpandCollapse: a,
824
824
  rowIndent: i,
825
825
  zIndex: c,
826
- stickyHeader: l,
826
+ stickyHeader: d,
827
827
  stickyCheckboxColumn: u,
828
- headerRowOffsetTop: d
828
+ headerRowOffsetTop: l
829
829
  } = r, h = fr(
830
- l,
831
- u,
832
830
  d,
831
+ u,
832
+ l,
833
833
  c
834
- ), f = l ? "var(--swui-sticky-column-group-label-z-index)" : "var(--swui-sticky-group-group-z-index)";
834
+ ), f = d ? "var(--swui-sticky-column-group-label-z-index)" : "var(--swui-sticky-group-group-z-index)";
835
835
  return /* @__PURE__ */ C(
836
836
  "tr",
837
837
  {
@@ -862,7 +862,7 @@ import './index.css';const Ct = R.createContext({}), js = ({
862
862
  }
863
863
  }
864
864
  ),
865
- n.map(({ groupConfig: p, groupId: g }, m) => /* @__PURE__ */ s(
865
+ n.map(({ groupConfig: p, groupId: w }, m) => /* @__PURE__ */ s(
866
866
  hr,
867
867
  {
868
868
  isFirstGroup: m === 0,
@@ -870,20 +870,20 @@ import './index.css';const Ct = R.createContext({}), js = ({
870
870
  groupConfig: p,
871
871
  columnId: p.columnOrder[0],
872
872
  colSpan: p.columnOrder.length,
873
- borderFromGroup: Te(
873
+ borderFromGroup: De(
874
874
  m,
875
875
  0,
876
876
  p.borderLeft
877
877
  )
878
878
  },
879
- g
879
+ w
880
880
  )),
881
881
  i && /* @__PURE__ */ s("th", { style: h }),
882
882
  /* @__PURE__ */ s("th", { style: h })
883
883
  ]
884
884
  }
885
885
  );
886
- }), wr = (e) => {
886
+ }), gr = (e) => {
887
887
  const t = Yt(
888
888
  "columnGroups" in e ? e.columnGroups : void 0,
889
889
  "columnGroupOrder" in e ? e.columnGroupOrder : void 0,
@@ -901,10 +901,10 @@ import './index.css';const Ct = R.createContext({}), js = ({
901
901
  }, yr = (e) => !e.disableGridCell, zt = F({
902
902
  columnIndexPerColumnId: {},
903
903
  numNavigableColumns: 0
904
- }), qt = () => N(
904
+ }), qt = () => _(
905
905
  zt
906
906
  ), br = (e) => {
907
- "columnGroupOrder" in e && (vr(e), (e.stickyColumnGroups === "first" || e.stickyColumnGroups === "both") && nt(e, 0), (e.stickyColumnGroups === "last" || e.stickyColumnGroups === "both") && nt(
907
+ "columnGroupOrder" in e && (vr(e), (e.stickyColumnGroups === "first" || e.stickyColumnGroups === "both") && ot(e, 0), (e.stickyColumnGroups === "last" || e.stickyColumnGroups === "both") && ot(
908
908
  e,
909
909
  e.columnGroupOrder.length - 1
910
910
  ));
@@ -916,7 +916,7 @@ import './index.css';const Ct = R.createContext({}), js = ({
916
916
  "Columns can not be sticky when column groups are used. columnId: " + n
917
917
  );
918
918
  });
919
- }, nt = (e, t) => {
919
+ }, ot = (e, t) => {
920
920
  if (!e.columnGroupOrder || e.columnGroupOrder.length === 0)
921
921
  throw new Error(
922
922
  "columnGroupOrder required when validating column group fixed width."
@@ -933,11 +933,11 @@ import './index.css';const Ct = R.createContext({}), js = ({
933
933
  );
934
934
  });
935
935
  }, Cr = (e) => {
936
- const t = e.stickyColumnGroups === "first" || e.stickyColumnGroups === "both" ? rt(
936
+ const t = e.stickyColumnGroups === "first" || e.stickyColumnGroups === "both" ? st(
937
937
  kr(e),
938
938
  e.columns,
939
939
  !0
940
- ) : void 0, n = e.stickyColumnGroups === "last" || e.stickyColumnGroups === "both" ? rt(
940
+ ) : void 0, n = e.stickyColumnGroups === "last" || e.stickyColumnGroups === "both" ? st(
941
941
  Sr(e),
942
942
  e.columns,
943
943
  !1
@@ -946,7 +946,7 @@ import './index.css';const Ct = R.createContext({}), js = ({
946
946
  ...t,
947
947
  ...n
948
948
  };
949
- }, rt = (e, t, n) => {
949
+ }, st = (e, t, n) => {
950
950
  const r = {}, o = [
951
951
  n ? "var(--current-left-offset)" : "0px"
952
952
  ];
@@ -981,48 +981,48 @@ import './index.css';const Ct = R.createContext({}), js = ({
981
981
  const t = {}, n = e.columnGroupOrder, r = Cr(e), o = e.stickyColumnGroups === "first" || e.stickyColumnGroups === "both", a = e.stickyColumnGroups === "last" || e.stickyColumnGroups === "both";
982
982
  return n.forEach((i, c) => {
983
983
  const u = e.columnGroups[i].columnOrder;
984
- u.forEach((d, h) => {
985
- const f = c === 0, p = c === n.length - 1, g = f && o, m = p && a, w = h === 0 && p, y = h === u.length - 1 && f;
986
- t[d] = {
987
- sticky: g || m,
988
- left: g ? r[d] : void 0,
989
- right: m ? r[d] : void 0,
990
- type: g ? "first-group" : m ? "last-group" : void 0,
991
- isFirstColumnInLastGroup: w,
984
+ u.forEach((l, h) => {
985
+ const f = c === 0, p = c === n.length - 1, w = f && o, m = p && a, g = h === 0 && p, y = h === u.length - 1 && f;
986
+ t[l] = {
987
+ sticky: w || m,
988
+ left: w ? r[l] : void 0,
989
+ right: m ? r[l] : void 0,
990
+ type: w ? "first-group" : m ? "last-group" : void 0,
991
+ isFirstColumnInLastGroup: g,
992
992
  isLastColumnInFirstGroup: y
993
993
  };
994
994
  });
995
995
  }), t;
996
996
  }, Tr = (e, t) => ({
997
997
  setSelectedIds: (n) => oe(
998
- _(e, "selectedIds"),
998
+ z(e, "selectedIds"),
999
999
  t.selectedIds.setSelectedIds(n)
1000
1000
  ),
1001
1001
  clearSelection: () => oe(
1002
- _(e, "selectedIds"),
1002
+ z(e, "selectedIds"),
1003
1003
  t.selectedIds.clearSelectedIds()
1004
1004
  ),
1005
1005
  expandByIds: (n) => oe(
1006
- _(e, "expandedRows"),
1006
+ z(e, "expandedRows"),
1007
1007
  t.expandedRows.setSelectedIds(n)
1008
1008
  ),
1009
1009
  collapseAll: () => oe(
1010
- _(e, "expandedRows"),
1010
+ z(e, "expandedRows"),
1011
1011
  t.expandedRows.clearSelectedIds()
1012
1012
  ),
1013
1013
  sortBy: (n, r) => oe(
1014
- _(e, "sortOrder"),
1014
+ z(e, "sortOrder"),
1015
1015
  t.sortOrder.sortBy(n, r ?? !1)
1016
1016
  ),
1017
1017
  clearSortOrder: () => oe(
1018
- _(e, "sortOrder"),
1018
+ z(e, "sortOrder"),
1019
1019
  t.sortOrder.clearSortOrder()
1020
1020
  ),
1021
1021
  setLastSelectedId: (n) => oe(
1022
- _(e, "fields"),
1022
+ z(e, "fields"),
1023
1023
  t.fields.setEntityFields({ lastSelectedId: n })
1024
1024
  )
1025
- }), Dr = (e, t = Gt()) => {
1025
+ }), Dr = (e, t = Wt()) => {
1026
1026
  const [n, r] = rn(
1027
1027
  nr(e),
1028
1028
  t
@@ -1043,12 +1043,12 @@ import './index.css';const Ct = R.createContext({}), js = ({
1043
1043
  [n, o, r]
1044
1044
  )
1045
1045
  };
1046
- }, Er = (e) => (e.rowIndent ? 2 : 0) + (e.enableExpandCollapse ? 1 : 0) + (e.showRowCheckbox ? 1 : 0) + Rr(e), Rr = (e) => "columnGroupOrder" in e ? e.columnGroupOrder.reduce((t, n) => {
1046
+ }, Rr = (e) => (e.rowIndent ? 2 : 0) + (e.enableExpandCollapse ? 1 : 0) + (e.showRowCheckbox ? 1 : 0) + Er(e), Er = (e) => "columnGroupOrder" in e ? e.columnGroupOrder.reduce((t, n) => {
1047
1047
  const r = e.columnGroups?.[n];
1048
1048
  return t + (r?.columnOrder?.length ?? 0);
1049
1049
  }, 0) : e.columnOrder?.length ?? 0, Mr = () => {
1050
- const e = T(), t = te(), n = e.enableExpandCollapse || e.showRowCheckbox, r = hn(e.rowIndent);
1051
- return /* @__PURE__ */ C(E, { children: [
1050
+ const e = T(), t = ne(), n = e.enableExpandCollapse || e.showRowCheckbox, r = hn(e.rowIndent);
1051
+ return /* @__PURE__ */ C(R, { children: [
1052
1052
  r ? /* @__PURE__ */ s("colgroup", { children: /* @__PURE__ */ s(
1053
1053
  "col",
1054
1054
  {
@@ -1076,19 +1076,19 @@ import './index.css';const Ct = R.createContext({}), js = ({
1076
1076
  }
1077
1077
  ) }) : null
1078
1078
  ] });
1079
- }, Gr = "_standardTable_d7cgg_1", Wr = "_relaxed_d7cgg_39", Fr = "_condensed_d7cgg_43", Br = "_compact_d7cgg_47", ot = {
1079
+ }, Gr = "_standardTable_1dd9o_1", Wr = "_relaxed_1dd9o_39", Br = "_condensed_1dd9o_43", Fr = "_compact_1dd9o_47", at = {
1080
1080
  standardTable: Gr,
1081
1081
  relaxed: Wr,
1082
- condensed: Fr,
1083
- compact: Br
1084
- }, Lr = (e, t) => e != null && t == null ? -1 : e == null && t != null ? 1 : Me(e, t, "number") ? Number(e) - Number(t) : Me(e, t, "boolean") ? Number(t) - Number(e) : Me(e, t, "string") ? String(e).localeCompare(String(t)) : e instanceof Date && t instanceof Date ? e.getTime() - t.getTime() : 0, Me = (e, t, n) => typeof e === n && typeof t === n, Ar = (e) => {
1082
+ condensed: Br,
1083
+ compact: Fr
1084
+ }, Lr = (e, t) => e != null && t == null ? -1 : e == null && t != null ? 1 : Ge(e, t, "number") ? Number(e) - Number(t) : Ge(e, t, "boolean") ? Number(t) - Number(e) : Ge(e, t, "string") ? String(e).localeCompare(String(t)) : e instanceof Date && t instanceof Date ? e.getTime() - t.getTime() : 0, Ge = (e, t, n) => typeof e === n && typeof t === n, Nr = (e) => {
1085
1085
  const { columns: t } = T();
1086
1086
  if (!e)
1087
1087
  return;
1088
1088
  const n = t[e];
1089
1089
  if (n)
1090
1090
  return n.itemValueResolver;
1091
- }, Hr = R.memo(
1091
+ }, Ar = E.memo(
1092
1092
  function({
1093
1093
  value: t,
1094
1094
  onValueChange: n,
@@ -1097,22 +1097,22 @@ import './index.css';const Ct = R.createContext({}), js = ({
1097
1097
  numRows: a,
1098
1098
  disabled: i,
1099
1099
  onValueChangeAndShift: c,
1100
- shiftPressedRef: l
1100
+ shiftPressedRef: d
1101
1101
  }) {
1102
- const u = Ft(), d = qe(), h = Ie(!!t, {
1102
+ const u = Ft(), l = qe(), h = Te(!!t, {
1103
1103
  colIndex: r,
1104
1104
  numCols: u,
1105
1105
  numRows: a,
1106
1106
  rowIndex: o,
1107
- tableId: d
1107
+ tableId: l
1108
1108
  }), { requiredProps: f } = h, p = P(
1109
- (g) => {
1110
- l.current ? c?.(g) : n?.(g);
1109
+ (w) => {
1110
+ d.current ? c?.(w) : n?.(w);
1111
1111
  },
1112
- [n, c, l]
1112
+ [n, c, d]
1113
1113
  );
1114
1114
  return /* @__PURE__ */ s(
1115
- Le,
1115
+ Ne,
1116
1116
  {
1117
1117
  size: "small",
1118
1118
  disabled: i,
@@ -1122,7 +1122,7 @@ import './index.css';const Ct = R.createContext({}), js = ({
1122
1122
  }
1123
1123
  );
1124
1124
  }
1125
- ), Nr = (e, t, n) => {
1125
+ ), Hr = (e, t, n) => {
1126
1126
  if (t == null || n == null || e == null || t === n)
1127
1127
  return;
1128
1128
  const r = e.indexOf(t), o = e.indexOf(n);
@@ -1130,58 +1130,58 @@ import './index.css';const Ct = R.createContext({}), js = ({
1130
1130
  return;
1131
1131
  const a = Math.min(r, o), i = Math.max(r, o);
1132
1132
  return e.slice(a, i + 1);
1133
- }, Yr = (e, t) => {
1133
+ }, _r = (e, t) => {
1134
1134
  const { keyResolver: n } = T(), {
1135
1135
  selectedIds: { selectedIds: r },
1136
1136
  fields: { lastSelectedId: o }
1137
- } = he(), {
1137
+ } = ue(), {
1138
1138
  actions: { setSelectedIds: a, setLastSelectedId: i },
1139
1139
  dispatch: c
1140
- } = ve(), l = b(() => n(e), [n, e]), u = b(
1141
- () => r.includes(l),
1142
- [r, l]
1143
- ), { toggle: d, addMultiple: h, removeMultiple: f } = bt(
1140
+ } = ve(), d = b(() => n(e), [n, e]), u = b(
1141
+ () => r.includes(d),
1142
+ [r, d]
1143
+ ), { toggle: l, addMultiple: h, removeMultiple: f } = Ct(
1144
1144
  r,
1145
1145
  (m) => c(a(m))
1146
1146
  ), p = P(() => {
1147
1147
  if (t && o) {
1148
- const m = Nr(
1148
+ const m = Hr(
1149
1149
  t,
1150
1150
  o,
1151
- l
1151
+ d
1152
1152
  );
1153
- m?.length ? u ? f(m) : h(m) : d(l);
1153
+ m?.length ? u ? f(m) : h(m) : l(d);
1154
1154
  } else
1155
- d(l);
1156
- c(i(l));
1155
+ l(d);
1156
+ c(i(d));
1157
1157
  }, [
1158
1158
  t,
1159
1159
  o,
1160
1160
  c,
1161
1161
  i,
1162
- l,
1162
+ d,
1163
1163
  u,
1164
1164
  f,
1165
1165
  h,
1166
- d
1167
- ]), g = P(() => {
1168
- d(l), c(i(l));
1169
- }, [d, l, c, i]);
1166
+ l
1167
+ ]), w = P(() => {
1168
+ l(d), c(i(d));
1169
+ }, [l, d, c, i]);
1170
1170
  return {
1171
1171
  isSelected: u,
1172
- toggleSelected: g,
1172
+ toggleSelected: w,
1173
1173
  shiftAndToggleSelected: p
1174
1174
  };
1175
- }, Ke = (e) => {
1175
+ }, $e = (e) => {
1176
1176
  const { keyResolver: t } = T(), {
1177
1177
  expandedRows: { selectedIds: n }
1178
- } = he(), {
1178
+ } = ue(), {
1179
1179
  actions: { expandByIds: r },
1180
1180
  dispatch: o
1181
1181
  } = ve(), a = b(() => t(e), [t, e]), i = b(
1182
1182
  () => n.includes(a),
1183
1183
  [n, a]
1184
- ), { toggle: c } = bt(
1184
+ ), { toggle: c } = Ct(
1185
1185
  n,
1186
1186
  (u) => o(r(u))
1187
1187
  );
@@ -1191,40 +1191,40 @@ import './index.css';const Ct = R.createContext({}), js = ({
1191
1191
  }, [c, a]),
1192
1192
  isExpanded: i
1193
1193
  };
1194
- }, zr = function({
1194
+ }, Yr = function({
1195
1195
  item: e,
1196
1196
  colIndex: t,
1197
1197
  numRows: n,
1198
1198
  rowIndex: r
1199
1199
  }) {
1200
- const o = Ft(), a = qe(), i = Ie(!0, {
1200
+ const o = Ft(), a = qe(), i = Te(!0, {
1201
1201
  colIndex: t,
1202
1202
  numCols: o,
1203
1203
  numRows: n,
1204
1204
  rowIndex: r,
1205
1205
  tableId: a
1206
- }), { requiredProps: c } = i, { expandCollapseDisableResolver: l } = T(), { toggleRowExpanded: u, isExpanded: d } = Ke(e), h = b(() => l ? l(e) : !1, [l, e]);
1206
+ }), { requiredProps: c } = i, { expandCollapseDisableResolver: d } = T(), { toggleRowExpanded: u, isExpanded: l } = $e(e), h = b(() => d ? d(e) : !1, [d, e]);
1207
1207
  return /* @__PURE__ */ s(I, { alignItems: "center", justifyContent: "center", indent: !0, children: !h && /* @__PURE__ */ s(
1208
1208
  Fe,
1209
1209
  {
1210
1210
  size: "small",
1211
- leftIcon: d ? gt : wt,
1211
+ leftIcon: l ? yt : bt,
1212
1212
  onClick: u,
1213
1213
  ...c
1214
1214
  }
1215
1215
  ) });
1216
- }, qr = (e, t, n, r) => e ? e(t, r) : n, _t = (e, t, n, r) => b(
1217
- () => qr(e, t, n, r),
1216
+ }, zr = (e, t, n, r) => e ? e(t, r) : n, jt = (e, t, n, r) => b(
1217
+ () => zr(e, t, n, r),
1218
1218
  [e, t, n, r]
1219
- ), _r = (e, t, n) => {
1219
+ ), qr = (e, t, n) => {
1220
1220
  const { background: r, backgroundResolver: o } = Ce(e);
1221
- return _t(o, t, r, n);
1222
- }, st = (e, t, n) => {
1221
+ return jt(o, t, r, n);
1222
+ }, it = (e, t, n) => {
1223
1223
  const { background: r, backgroundResolver: o } = e ?? {};
1224
- return _t(o, t, r, n);
1224
+ return jt(o, t, r, n);
1225
1225
  }, jr = (e) => e == null ? "" : e instanceof Date ? e.toISOString() : typeof e == "object" ? JSON.stringify(e) : String(e), Vr = (e) => Sn(Pn(e)), Kr = "_standardTableCell_1xzcm_1", $r = {
1226
1226
  standardTableCell: Kr
1227
- }, Qr = R.memo(
1227
+ }, Qr = E.memo(
1228
1228
  function({
1229
1229
  enableGridCell: t,
1230
1230
  children: n,
@@ -1233,13 +1233,13 @@ import './index.css';const Ct = R.createContext({}), js = ({
1233
1233
  isEditing: a,
1234
1234
  justifyContent: i,
1235
1235
  onKeyDown: c,
1236
- width: l,
1236
+ width: d,
1237
1237
  minWidth: u
1238
1238
  }) {
1239
1239
  return /* @__PURE__ */ s(
1240
1240
  I,
1241
1241
  {
1242
- width: l,
1242
+ width: d,
1243
1243
  minWidth: u,
1244
1244
  height: "inherit",
1245
1245
  background: r,
@@ -1264,13 +1264,13 @@ import './index.css';const Ct = R.createContext({}), js = ({
1264
1264
  }
1265
1265
  );
1266
1266
  }
1267
- ), Xr = R.memo(function({
1267
+ ), Xr = E.memo(function({
1268
1268
  label: t,
1269
1269
  size: n,
1270
1270
  color: r
1271
1271
  }) {
1272
- return /* @__PURE__ */ s(G, { overflow: "hidden", children: /* @__PURE__ */ s(
1273
- ee,
1272
+ return /* @__PURE__ */ s(W, { overflow: "hidden", children: /* @__PURE__ */ s(
1273
+ te,
1274
1274
  {
1275
1275
  title: t,
1276
1276
  size: n,
@@ -1284,7 +1284,7 @@ import './index.css';const Ct = R.createContext({}), js = ({
1284
1284
  }), Ur = ({
1285
1285
  label: e,
1286
1286
  textSize: t
1287
- }) => /* @__PURE__ */ s(Xr, { label: e, size: t }), Jr = R.memo(function({
1287
+ }) => /* @__PURE__ */ s(Xr, { label: e, size: t }), Jr = E.memo(function({
1288
1288
  columnId: t,
1289
1289
  item: n,
1290
1290
  colIndex: r,
@@ -1294,82 +1294,82 @@ import './index.css';const Ct = R.createContext({}), js = ({
1294
1294
  disableBorderLeft: c
1295
1295
  }) {
1296
1296
  const {
1297
- keyResolver: l,
1297
+ keyResolver: d,
1298
1298
  enableGridCell: u,
1299
- gridCellOptions: d
1300
- } = T(), h = qe(), f = rr(), { numNavigableColumns: p } = qt(), g = _e(), m = b(() => l(n), [n, l]), w = cr(m), { defaultCellRenderer: y = Ur, defaultTextSize: k } = T(), {
1301
- itemValueResolver: S,
1302
- itemLabelFormatter: v,
1303
- width: O,
1304
- minWidth: W,
1299
+ gridCellOptions: l
1300
+ } = T(), h = qe(), f = rr(), { numNavigableColumns: p } = qt(), w = je(), m = b(() => d(n), [n, d]), g = cr(m), { defaultCellRenderer: y = Ur, defaultTextSize: k } = T(), {
1301
+ itemValueResolver: O,
1302
+ itemLabelFormatter: S,
1303
+ width: v,
1304
+ minWidth: B,
1305
1305
  justifyContentCell: L = "flex-start",
1306
- borderLeft: A,
1307
- renderCell: z = y,
1306
+ borderLeft: j,
1307
+ renderCell: N = y,
1308
1308
  gridCellOptions: V,
1309
- isEditable: q,
1309
+ isEditable: H,
1310
1310
  onChange: K,
1311
- onKeyDown: H,
1312
- disableGridCell: ae,
1313
- disableGridCellFocus: me,
1314
- zIndex: ne,
1315
- height: ie
1316
- } = Ce(t), $ = b(() => S ? S(n) : t in n ? n[t] : "", [S, n, t]), U = b(
1317
- () => v ? v($, n) : jr($),
1318
- [$, v, n]
1319
- ), ce = typeof q == "boolean" ? q : q ? q(n) : void 0, fe = P(
1320
- (xe) => {
1321
- H?.(xe, { columnId: t, item: n }), f?.(xe, { columnId: t, item: n });
1311
+ onKeyDown: A,
1312
+ disableGridCell: he,
1313
+ disableGridCellFocus: ae,
1314
+ zIndex: ie,
1315
+ height: re
1316
+ } = Ce(t), $ = b(() => O ? O(n) : t in n ? n[t] : "", [O, n, t]), Q = b(
1317
+ () => S ? S($, n) : jr($),
1318
+ [$, S, n]
1319
+ ), me = typeof H == "boolean" ? H : H ? H(n) : void 0, xe = P(
1320
+ (ke) => {
1321
+ A?.(ke, { columnId: t, item: n }), f?.(ke, { columnId: t, item: n });
1322
1322
  },
1323
- [f, t, n, H]
1324
- ), re = Ie(U, {
1323
+ [f, t, n, A]
1324
+ ), J = Te(Q, {
1325
1325
  colIndex: r,
1326
1326
  rowIndex: o,
1327
1327
  numRows: a,
1328
1328
  numCols: p,
1329
1329
  tableId: h,
1330
- isEditable: ce,
1331
- onChange: K ? (xe) => K(n, xe) : void 0,
1332
- ...d,
1330
+ isEditable: me,
1331
+ onChange: K ? (ke) => K(n, ke) : void 0,
1332
+ ...l,
1333
1333
  ...V
1334
- }), B = g[t], Ut = _r(t, n, w) ?? "inherit", Ee = B.sticky ? ne ?? "var(--swui-sticky-column-z-index)" : ne ?? 1, $e = ie ?? "var(--current-row-height)", Jt = b(
1335
- () => z({
1336
- label: U,
1334
+ }), G = w[t], Ut = qr(t, n, g) ?? "inherit", Ee = G.sticky ? ie ?? "var(--swui-sticky-column-z-index)" : ie ?? 1, Xe = re ?? "var(--current-row-height)", Jt = b(
1335
+ () => N({
1336
+ label: Q,
1337
1337
  value: $,
1338
1338
  item: n,
1339
- gridCell: re,
1340
- isEditable: ce,
1341
- isSelected: w,
1339
+ gridCell: J,
1340
+ isEditable: me,
1341
+ isSelected: g,
1342
1342
  zIndex: Ee,
1343
1343
  textSize: k,
1344
1344
  itemKey: m,
1345
- height: $e
1345
+ height: Xe
1346
1346
  }),
1347
1347
  [
1348
- z,
1349
- U,
1348
+ N,
1349
+ Q,
1350
1350
  $,
1351
1351
  n,
1352
- re,
1353
- ce,
1354
- w,
1352
+ J,
1353
+ me,
1354
+ g,
1355
1355
  Ee,
1356
1356
  m,
1357
1357
  k,
1358
- $e
1358
+ Xe
1359
1359
  ]
1360
- ), Zt = Ve(
1360
+ ), Zt = Ke(
1361
1361
  i,
1362
1362
  c,
1363
- A
1364
- ), en = B.sticky && B.type === "last-group" && B.isFirstColumnInLastGroup || B.sticky && B.type === "column" && B.right ? "var(--swui-sticky-column-shadow-left)" : B.sticky ? "var(--swui-sticky-column-shadow-right)" : void 0;
1363
+ j
1364
+ ), en = G.sticky && G.type === "last-group" && G.isFirstColumnInLastGroup || G.sticky && G.type === "column" && G.right ? "var(--swui-sticky-column-shadow-left)" : G.sticky ? "var(--swui-sticky-column-shadow-right)" : void 0;
1365
1365
  return /* @__PURE__ */ s(
1366
1366
  "td",
1367
1367
  {
1368
1368
  style: {
1369
1369
  borderLeft: Zt,
1370
- position: B.sticky ? "sticky" : void 0,
1371
- left: B.sticky ? B.left : void 0,
1372
- right: B.sticky ? B.right : void 0,
1370
+ position: G.sticky ? "sticky" : void 0,
1371
+ left: G.sticky ? G.left : void 0,
1372
+ right: G.sticky ? G.right : void 0,
1373
1373
  boxShadow: en,
1374
1374
  zIndex: Ee,
1375
1375
  height: "var(--current-row-height)",
@@ -1378,31 +1378,19 @@ import './index.css';const Ct = R.createContext({}), js = ({
1378
1378
  children: /* @__PURE__ */ s(
1379
1379
  Qr,
1380
1380
  {
1381
- enableGridCell: u && !ae && !me,
1382
- gridCellRequiredProps: re.requiredProps,
1383
- isEditing: re.isEditing,
1384
- width: O,
1385
- minWidth: W,
1381
+ enableGridCell: u && !he && !ae,
1382
+ gridCellRequiredProps: J.requiredProps,
1383
+ isEditing: J.isEditing,
1384
+ width: v,
1385
+ minWidth: B,
1386
1386
  justifyContent: L,
1387
- onKeyDown: fe,
1387
+ onKeyDown: xe,
1388
1388
  children: Jt
1389
1389
  }
1390
1390
  )
1391
1391
  }
1392
1392
  );
1393
- }), Zr = function({ item: t }) {
1394
- const { renderRowExpansion: n, enableExpandCollapse: r } = T(), { isExpanded: o, toggleRowExpanded: a } = Ke(t), i = je();
1395
- return /* @__PURE__ */ s(E, { children: r && n && o && /* @__PURE__ */ s(
1396
- "tr",
1397
- {
1398
- style: {
1399
- borderLeft: St,
1400
- background: kt
1401
- },
1402
- children: /* @__PURE__ */ s("td", { colSpan: i, children: n(t, { onRequestCollapse: a }) })
1403
- }
1404
- ) });
1405
- }, jt = On.tr`
1393
+ }), Qe = On.tr`
1406
1394
  ${({ focusBackground: e }) => e ? `--focus-within-background: ${e};` : ""}
1407
1395
  ${({ borderLeft: e }) => e ? `border-left: ${e};` : ""};
1408
1396
  ${({ background: e }) => e ? `background: ${e};` : ""};
@@ -1411,7 +1399,34 @@ import './index.css';const Ct = R.createContext({}), js = ({
1411
1399
  background: ${e};
1412
1400
  }
1413
1401
  ` : ""}
1414
- `, eo = R.memo(function({
1402
+ `, Zr = "_expandedRow_1bih7_9", eo = "_expansionRow_1bih7_14", to = "_stickyContent_1bih7_39", no = "_stickyLine_1bih7_43", ro = "_stickyBody_1bih7_58", we = {
1403
+ expandedRow: Zr,
1404
+ expansionRow: eo,
1405
+ stickyContent: to,
1406
+ stickyLine: no,
1407
+ stickyBody: ro
1408
+ }, oo = function({ item: t }) {
1409
+ const {
1410
+ renderRowExpansion: n,
1411
+ enableExpandCollapse: r,
1412
+ showExpandedRowBackground: o,
1413
+ stickyCheckboxColumn: a,
1414
+ rowIndent: i
1415
+ } = T(), { isExpanded: c, toggleRowExpanded: d } = $e(t), u = Ve(), l = a && !i;
1416
+ return /* @__PURE__ */ s(R, { children: r && n && c && /* @__PURE__ */ s(
1417
+ Qe,
1418
+ {
1419
+ className: l ? void 0 : we.expansionRow,
1420
+ background: o ? Pt : "white",
1421
+ children: /* @__PURE__ */ s("td", { colSpan: u, children: l ? /* @__PURE__ */ C("div", { className: we.stickyContent, children: [
1422
+ /* @__PURE__ */ s("div", { className: we.stickyLine }),
1423
+ /* @__PURE__ */ s("div", { className: we.stickyBody, children: n(t, {
1424
+ onRequestCollapse: d
1425
+ }) })
1426
+ ] }) : n(t, { onRequestCollapse: d }) })
1427
+ }
1428
+ ) });
1429
+ }, so = E.memo(function({
1415
1430
  item: t,
1416
1431
  idListForEnabledItems: n,
1417
1432
  rowIndex: r,
@@ -1420,65 +1435,66 @@ import './index.css';const Ct = R.createContext({}), js = ({
1420
1435
  alwaysVisible: i,
1421
1436
  shiftPressedRef: c
1422
1437
  }) {
1423
- const l = Q(null), u = je(), { stickyCheckboxColumn: d } = T(), h = te(), { columnIndexPerColumnId: f } = qt(), {
1438
+ const d = X(null), u = Ve(), { stickyCheckboxColumn: l } = T(), h = ne(), { columnIndexPerColumnId: f } = qt(), {
1424
1439
  showRowCheckbox: p,
1425
- rowBackgroundResolver: g,
1440
+ rowBackgroundResolver: w,
1426
1441
  checkboxDisabledResolver: m,
1427
- enableGridCell: w,
1442
+ enableGridCell: g,
1428
1443
  rowIndent: y,
1429
- enableExpandCollapse: k
1430
- } = T(), { isExpanded: S } = Ke(t), { isSelected: v, toggleSelected: O, shiftAndToggleSelected: W } = Yr(
1444
+ enableExpandCollapse: k,
1445
+ showExpandedRowBackground: O
1446
+ } = T(), { isExpanded: S } = $e(t), { isSelected: v, toggleSelected: B, shiftAndToggleSelected: L } = _r(
1431
1447
  t,
1432
1448
  n
1433
- ), L = mn(l, {
1449
+ ), j = mn(d, {
1434
1450
  rootMargin: "400px 0px 400px 0px",
1435
1451
  threshold: 0
1436
- }), A = b(
1437
- () => g?.(t, v),
1438
- [v, t, g]
1439
- ), z = to(
1440
- A,
1452
+ }), N = b(
1453
+ () => w?.(t, v),
1454
+ [v, t, w]
1455
+ ), V = ao(
1456
+ N,
1441
1457
  v,
1442
- S
1443
- ), V = no(
1444
- A,
1458
+ S && !!O
1459
+ ), H = io(
1460
+ N,
1445
1461
  v,
1446
- S
1447
- ), q = ro(
1448
- A,
1462
+ S && !!O
1463
+ ), K = co(
1464
+ N,
1449
1465
  v,
1450
- V
1451
- ), K = b(
1466
+ H
1467
+ ), A = b(
1452
1468
  () => m?.(t),
1453
1469
  [t, m]
1454
- ), H = dr(), ae = st(
1455
- H,
1470
+ ), he = lr(), ae = it(
1471
+ he,
1456
1472
  t,
1457
1473
  v
1458
- ), me = ur(), ne = st(
1459
- me,
1474
+ ), ie = ur(), re = it(
1475
+ ie,
1460
1476
  t,
1461
1477
  v
1462
- ), ie = b(
1463
- () => /* @__PURE__ */ s(E, { children: /* @__PURE__ */ C(E, { children: [
1478
+ ), $ = b(
1479
+ () => /* @__PURE__ */ s(R, { children: /* @__PURE__ */ C(R, { children: [
1464
1480
  y && /* @__PURE__ */ s(
1465
1481
  "td",
1466
1482
  {
1467
1483
  style: {
1468
1484
  background: ae
1469
1485
  },
1470
- children: /* @__PURE__ */ s(G, { num: y })
1486
+ children: /* @__PURE__ */ s(W, { num: y })
1471
1487
  }
1472
1488
  ),
1473
1489
  k && /* @__PURE__ */ s(
1474
1490
  "td",
1475
1491
  {
1476
1492
  style: {
1477
- background: d ? "inherit" : void 0,
1478
- position: d ? "sticky" : void 0,
1479
- left: d ? "0px" : void 0,
1480
- boxShadow: d ? "var(--swui-sticky-column-shadow-right)" : void 0,
1481
- zIndex: d ? "var(--swui-sticky-column-z-index)" : void 0
1493
+ background: l ? "inherit" : void 0,
1494
+ position: l ? "sticky" : void 0,
1495
+ left: l ? "0px" : void 0,
1496
+ boxShadow: l ? "var(--swui-sticky-column-shadow-right)" : void 0,
1497
+ zIndex: l ? "var(--swui-sticky-column-z-index)" : void 0
1482
1498
  },
1483
1499
  children: /* @__PURE__ */ s(
1484
1500
  I,
@@ -1488,11 +1504,11 @@ import './index.css';const Ct = R.createContext({}), js = ({
1488
1504
  alignItems: "center",
1489
1505
  justifyContent: "center",
1490
1506
  children: /* @__PURE__ */ s(
1491
- zr,
1507
+ Yr,
1492
1508
  {
1493
1509
  colIndex: a,
1494
- rowIndex: w ? r : 0,
1495
- numRows: w ? o : 0,
1510
+ rowIndex: g ? r : 0,
1511
+ numRows: g ? o : 0,
1496
1512
  item: t
1497
1513
  }
1498
1514
  )
@@ -1504,12 +1520,12 @@ import './index.css';const Ct = R.createContext({}), js = ({
1504
1520
  "td",
1505
1521
  {
1506
1522
  style: {
1507
- background: d ? "inherit" : void 0,
1508
- position: d ? "sticky" : void 0,
1509
- left: k && d ? "var(--swui-expand-cell-width)" : d ? "0px" : void 0,
1523
+ background: l ? "inherit" : void 0,
1524
+ position: l ? "sticky" : void 0,
1525
+ left: k && l ? "var(--swui-expand-cell-width)" : l ? "0px" : void 0,
1510
1526
  textAlign: "center",
1511
- boxShadow: d ? "var(--swui-sticky-column-shadow-right)" : void 0,
1512
- zIndex: d ? "var(--swui-sticky-column-z-index)" : void 0
1527
+ boxShadow: l ? "var(--swui-sticky-column-shadow-right)" : void 0,
1528
+ zIndex: l ? "var(--swui-sticky-column-z-index)" : void 0
1513
1529
  },
1514
1530
  children: /* @__PURE__ */ s(
1515
1531
  I,
@@ -1519,12 +1535,12 @@ import './index.css';const Ct = R.createContext({}), js = ({
1519
1535
  alignItems: "center",
1520
1536
  justifyContent: "center",
1521
1537
  children: /* @__PURE__ */ s(
1522
- Hr,
1538
+ Ar,
1523
1539
  {
1524
- disabled: K,
1540
+ disabled: A,
1525
1541
  value: v,
1526
- onValueChange: O,
1527
- onValueChangeAndShift: W,
1542
+ onValueChange: B,
1543
+ onValueChangeAndShift: L,
1528
1544
  colIndex: a + (k ? 1 : 0),
1529
1545
  rowIndex: r,
1530
1546
  numRows: o,
@@ -1535,30 +1551,30 @@ import './index.css';const Ct = R.createContext({}), js = ({
1535
1551
  )
1536
1552
  }
1537
1553
  ),
1538
- h.map(({ groupConfig: $, groupId: U }, ce) => /* @__PURE__ */ s(R.Fragment, { children: $.columnOrder.map((fe, re) => /* @__PURE__ */ s(
1554
+ h.map(({ groupConfig: Q, groupId: me }, xe) => /* @__PURE__ */ s(E.Fragment, { children: Q.columnOrder.map((J, G) => /* @__PURE__ */ s(
1539
1555
  Jr,
1540
1556
  {
1541
- columnId: fe,
1557
+ columnId: J,
1542
1558
  item: t,
1543
- colIndex: a + f[fe],
1559
+ colIndex: a + f[J],
1544
1560
  rowIndex: r,
1545
1561
  numRows: o,
1546
- borderFromGroup: Te(
1547
- ce,
1548
- re,
1549
- $.borderLeft
1562
+ borderFromGroup: De(
1563
+ xe,
1564
+ G,
1565
+ Q.borderLeft
1550
1566
  ),
1551
- disableBorderLeft: ce === 0 && re === 0
1567
+ disableBorderLeft: xe === 0 && G === 0
1552
1568
  },
1553
- fe
1554
- )) }, U)),
1569
+ J
1570
+ )) }, me)),
1555
1571
  y && /* @__PURE__ */ s(
1556
1572
  "td",
1557
1573
  {
1558
1574
  style: {
1559
- background: ne
1575
+ background: re
1560
1576
  },
1561
- children: /* @__PURE__ */ s(G, { num: y })
1577
+ children: /* @__PURE__ */ s(W, { num: y })
1562
1578
  }
1563
1579
  ),
1564
1580
  /* @__PURE__ */ s("td", {})
@@ -1566,34 +1582,35 @@ import './index.css';const Ct = R.createContext({}), js = ({
1566
1582
  [
1567
1583
  a,
1568
1584
  f,
1569
- K,
1585
+ A,
1570
1586
  k,
1571
- w,
1587
+ g,
1572
1588
  ae,
1573
1589
  h,
1574
1590
  v,
1575
1591
  t,
1576
- ne,
1592
+ re,
1577
1593
  o,
1578
1594
  y,
1579
1595
  r,
1580
- W,
1596
+ L,
1581
1597
  c,
1582
1598
  p,
1583
- d,
1584
- O
1599
+ l,
1600
+ B
1585
1601
  ]
1586
1602
  );
1587
- return /* @__PURE__ */ C(E, { children: [
1603
+ return /* @__PURE__ */ C(R, { children: [
1588
1604
  /* @__PURE__ */ s(
1589
- jt,
1605
+ Qe,
1590
1606
  {
1591
- hoverBackground: V,
1592
- background: z,
1593
- focusBackground: q,
1594
- borderLeft: S ? St : He,
1595
- ref: l,
1596
- children: L || i || S ? ie : /* @__PURE__ */ s(
1607
+ hoverBackground: H,
1608
+ background: V,
1609
+ focusBackground: K,
1610
+ borderLeft: He,
1611
+ className: S ? we.expandedRow : void 0,
1612
+ ref: d,
1613
+ children: j || i || S ? $ : /* @__PURE__ */ s(
1597
1614
  "td",
1598
1615
  {
1599
1616
  colSpan: u,
@@ -1602,35 +1619,35 @@ import './index.css';const Ct = R.createContext({}), js = ({
1602
1619
  )
1603
1620
  }
1604
1621
  ),
1605
- /* @__PURE__ */ s(Zr, { item: t })
1622
+ /* @__PURE__ */ s(oo, { item: t })
1606
1623
  ] });
1607
- }), to = (e, t, n) => e ? typeof e == "string" ? e : e?.background : t ? j("--lhds-color-blue-100") : n ? kt : "white", no = (e, t, n) => e ? typeof e == "string" ? e : e?.hoverBackground : t ? j("--lhds-color-blue-200") : n ? Rn : j("--lhds-color-ui-200"), ro = (e, t, n) => {
1624
+ }), ao = (e, t, n) => e ? typeof e == "string" ? e : e?.background : t ? q("--lhds-color-blue-100") : n ? Pt : "white", io = (e, t, n) => e ? typeof e == "string" ? e : e?.hoverBackground : t ? q("--lhds-color-blue-200") : n ? En : q("--lhds-color-ui-200"), co = (e, t, n) => {
1608
1625
  if (t)
1609
- return j("--lhds-color-blue-200");
1626
+ return q("--lhds-color-blue-200");
1610
1627
  if (e)
1611
1628
  return n;
1612
- }, oo = (e) => Object.values(e).some((t) => so(t)), so = (e) => !!(e.renderSummaryCell || e.summaryText), ao = "_summaryRow_12x8k_1", io = {
1613
- summaryRow: ao
1614
- }, co = R.memo(function({
1629
+ }, lo = (e) => Object.values(e).some((t) => uo(t)), uo = (e) => !!(e.renderSummaryCell || e.summaryText), ho = "_summaryRow_12x8k_1", mo = {
1630
+ summaryRow: ho
1631
+ }, fo = E.memo(function({
1615
1632
  columnId: t,
1616
1633
  items: n,
1617
1634
  disableBorderLeft: r,
1618
1635
  borderFromGroup: o,
1619
1636
  colSpan: a
1620
1637
  }) {
1621
- const i = _e(), {
1638
+ const i = je(), {
1622
1639
  renderSummaryCell: c,
1623
- summaryText: l,
1640
+ summaryText: d,
1624
1641
  borderLeft: u,
1625
- zIndex: d,
1642
+ zIndex: l,
1626
1643
  width: h,
1627
1644
  minWidth: f,
1628
1645
  justifyContentCell: p
1629
- } = Ce(t), g = Ve(
1646
+ } = Ce(t), w = Ke(
1630
1647
  o,
1631
1648
  r,
1632
1649
  u
1633
- ), m = i[t], w = m.sticky ? d ?? "var(--swui-sticky-column-z-index)" : d ?? 1, y = m.sticky && m.type === "last-group" && m.isFirstColumnInLastGroup || m.sticky && m.type === "column" && m.right ? "var(--swui-sticky-column-shadow-left)" : m.sticky ? "var(--swui-sticky-column-shadow-right)" : void 0, k = b(() => l?.({ items: n }), [n, l]), S = b(
1650
+ ), m = i[t], g = m.sticky ? l ?? "var(--swui-sticky-column-z-index)" : l ?? 1, y = m.sticky && m.type === "last-group" && m.isFirstColumnInLastGroup || m.sticky && m.type === "column" && m.right ? "var(--swui-sticky-column-shadow-left)" : m.sticky ? "var(--swui-sticky-column-shadow-right)" : void 0, k = b(() => d?.({ items: n }), [n, d]), O = b(
1634
1651
  () => c?.({ items: n, text: k }),
1635
1652
  [n, c, k]
1636
1653
  );
@@ -1639,12 +1656,12 @@ import './index.css';const Ct = R.createContext({}), js = ({
1639
1656
  {
1640
1657
  colSpan: a,
1641
1658
  style: {
1642
- borderLeft: g,
1659
+ borderLeft: w,
1643
1660
  position: m.sticky ? "sticky" : void 0,
1644
1661
  left: m.sticky ? m.left : void 0,
1645
1662
  right: m.sticky ? m.right : void 0,
1646
1663
  boxShadow: y,
1647
- zIndex: w,
1664
+ zIndex: g,
1648
1665
  height: "var(--current-row-height)"
1649
1666
  },
1650
1667
  children: /* @__PURE__ */ s(
@@ -1656,12 +1673,12 @@ import './index.css';const Ct = R.createContext({}), js = ({
1656
1673
  overflow: "hidden",
1657
1674
  justifyContent: p,
1658
1675
  alignItems: "center",
1659
- children: c ? S : /* @__PURE__ */ s(G, { children: /* @__PURE__ */ s(ee, { variant: "bold", children: k }) })
1676
+ children: c ? O : /* @__PURE__ */ s(W, { children: /* @__PURE__ */ s(te, { variant: "bold", children: k }) })
1660
1677
  }
1661
1678
  )
1662
1679
  }
1663
1680
  );
1664
- }), lo = (e, t) => {
1681
+ }), po = (e, t) => {
1665
1682
  const n = [];
1666
1683
  for (let r = 0; r < e.length; r++) {
1667
1684
  const { summaryCellColSpan: o } = t[e[r]], a = Math.min(
@@ -1673,52 +1690,52 @@ import './index.css';const Ct = R.createContext({}), js = ({
1673
1690
  i > 1 && (r += i - 1);
1674
1691
  }
1675
1692
  return n;
1676
- }, uo = R.memo(
1693
+ }, wo = E.memo(
1677
1694
  function({
1678
1695
  items: t
1679
1696
  }) {
1680
- const n = te(), { showRowCheckbox: r, enableExpandCollapse: o, columns: a, rowIndent: i } = T();
1681
- return /* @__PURE__ */ C("tr", { className: io.summaryRow, children: [
1682
- i && /* @__PURE__ */ s("td", { children: /* @__PURE__ */ s(G, { num: i }) }),
1697
+ const n = ne(), { showRowCheckbox: r, enableExpandCollapse: o, columns: a, rowIndent: i } = T();
1698
+ return /* @__PURE__ */ C("tr", { className: mo.summaryRow, children: [
1699
+ i && /* @__PURE__ */ s("td", { children: /* @__PURE__ */ s(W, { num: i }) }),
1683
1700
  o && /* @__PURE__ */ s("td", {}),
1684
1701
  r && /* @__PURE__ */ s("td", {}),
1685
- n.map(({ groupConfig: c, groupId: l }, u) => /* @__PURE__ */ s(R.Fragment, { children: lo(c.columnOrder, a).map(
1686
- ({ columnId: d, colSpan: h }, f) => /* @__PURE__ */ s(
1687
- co,
1702
+ n.map(({ groupConfig: c, groupId: d }, u) => /* @__PURE__ */ s(E.Fragment, { children: po(c.columnOrder, a).map(
1703
+ ({ columnId: l, colSpan: h }, f) => /* @__PURE__ */ s(
1704
+ fo,
1688
1705
  {
1689
1706
  colSpan: h,
1690
- columnId: d,
1707
+ columnId: l,
1691
1708
  items: t,
1692
- borderFromGroup: Te(
1709
+ borderFromGroup: De(
1693
1710
  u,
1694
1711
  f,
1695
1712
  c.borderLeft
1696
1713
  ),
1697
1714
  disableBorderLeft: u === 0 && f === 0
1698
1715
  },
1699
- d
1716
+ l
1700
1717
  )
1701
- ) }, l)),
1702
- i && /* @__PURE__ */ s("td", { children: /* @__PURE__ */ s(G, { num: i }) }),
1718
+ ) }, d)),
1719
+ i && /* @__PURE__ */ s("td", { children: /* @__PURE__ */ s(W, { num: i }) }),
1703
1720
  /* @__PURE__ */ s("td", {})
1704
1721
  ] });
1705
1722
  }
1706
- ), ho = function({ items: t }) {
1723
+ ), go = function({ items: t }) {
1707
1724
  const { columns: n } = T();
1708
- return b(() => oo(n), [n]) ? /* @__PURE__ */ s(uo, { items: t }) : null;
1709
- }, Vt = (e) => (t) => e == null ? !0 : !e(t), mo = R.memo(function({
1725
+ return b(() => lo(n), [n]) ? /* @__PURE__ */ s(wo, { items: t }) : null;
1726
+ }, Vt = (e) => (t) => e == null ? !0 : !e(t), yo = E.memo(function({
1710
1727
  items: t,
1711
1728
  colIndexOffset: n = 0,
1712
1729
  rowIndexOffset: r = 0
1713
1730
  }) {
1714
- const o = Q(0), a = Q(!1), {
1731
+ const o = X(0), a = X(!1), {
1715
1732
  keyResolver: i,
1716
1733
  disableInfiniteList: c,
1717
- checkboxDisabledResolver: l,
1734
+ checkboxDisabledResolver: d,
1718
1735
  enableExternalSorting: u
1719
1736
  } = T(), {
1720
- sortOrder: { sortBy: d, desc: h }
1721
- } = he(), f = Ar(d), p = b(() => {
1737
+ sortOrder: { sortBy: l, desc: h }
1738
+ } = ue(), f = Nr(l), p = b(() => {
1722
1739
  if (u)
1723
1740
  return t ?? [];
1724
1741
  if (!t || !t.length)
@@ -1727,41 +1744,41 @@ import './index.css';const Ct = R.createContext({}), js = ({
1727
1744
  return t;
1728
1745
  const m = [...t];
1729
1746
  return m.sort(
1730
- (w, y) => Lr(
1731
- f(w),
1747
+ (g, y) => Lr(
1748
+ f(g),
1732
1749
  f(y)
1733
1750
  )
1734
1751
  ), h && m.reverse(), c || o.current++, m;
1735
- }, [u, t, f, h, c]), g = b(
1736
- () => p.filter(Vt(l)).map((m) => i(m)),
1737
- [p, l, i]
1752
+ }, [u, t, f, h, c]), w = b(
1753
+ () => p.filter(Vt(d)).map((m) => i(m)),
1754
+ [p, d, i]
1738
1755
  );
1739
- return ft(() => {
1756
+ return wt(() => {
1740
1757
  const m = (y) => {
1741
1758
  y.key === "Shift" && (a.current = !1);
1742
- }, w = (y) => {
1759
+ }, g = (y) => {
1743
1760
  y.key === "Shift" && (a.current = !0);
1744
1761
  };
1745
- return document.addEventListener("keyup", m), document.addEventListener("keydown", w), () => {
1746
- document.removeEventListener("keyup", m), document.removeEventListener("keydown", w);
1762
+ return document.addEventListener("keyup", m), document.addEventListener("keydown", g), () => {
1763
+ document.removeEventListener("keyup", m), document.removeEventListener("keydown", g);
1747
1764
  };
1748
- }, []), /* @__PURE__ */ C(R.Fragment, { children: [
1749
- p.map((m, w) => /* @__PURE__ */ s(
1750
- eo,
1765
+ }, []), /* @__PURE__ */ C(E.Fragment, { children: [
1766
+ p.map((m, g) => /* @__PURE__ */ s(
1767
+ so,
1751
1768
  {
1752
1769
  alwaysVisible: c || p.length < 30,
1753
1770
  item: m,
1754
- idListForEnabledItems: g,
1771
+ idListForEnabledItems: w,
1755
1772
  colIndexOffset: n,
1756
- rowIndex: w + r,
1773
+ rowIndex: g + r,
1757
1774
  numRows: p.length,
1758
1775
  shiftPressedRef: a
1759
1776
  },
1760
1777
  i(m)
1761
1778
  )),
1762
- /* @__PURE__ */ s(ho, { items: p })
1779
+ /* @__PURE__ */ s(go, { items: p })
1763
1780
  ] }, o.current);
1764
- }), fo = R.memo(function({
1781
+ }), bo = E.memo(function({
1765
1782
  error: t,
1766
1783
  bannerError: n,
1767
1784
  loading: r,
@@ -1769,26 +1786,26 @@ import './index.css';const Ct = R.createContext({}), js = ({
1769
1786
  noItemsLabel: a = "There is no data available.",
1770
1787
  noItemsContentRight: i,
1771
1788
  noItemsContentBottom: c,
1772
- noItemsHeader: l,
1789
+ noItemsHeader: d,
1773
1790
  colIndexOffset: u,
1774
- rowIndexOffset: d,
1791
+ rowIndexOffset: l,
1775
1792
  variant: h,
1776
1793
  errorLabel: f,
1777
1794
  renderExtraRowTop: p,
1778
- renderExtraRowBottom: g
1795
+ renderExtraRowBottom: w
1779
1796
  }) {
1780
- const m = je();
1781
- return n ? /* @__PURE__ */ s("tbody", { children: /* @__PURE__ */ s("tr", { children: /* @__PURE__ */ s("td", { colSpan: m, children: /* @__PURE__ */ s(Re, { num: 4, justifyContent: "center", children: /* @__PURE__ */ s(ue, { alignItems: "center", children: /* @__PURE__ */ s(dn, { bannerState: n, variant: "error" }) }) }) }) }) }) : t || f ? /* @__PURE__ */ s("tbody", { children: /* @__PURE__ */ s("tr", { children: /* @__PURE__ */ s("td", { colSpan: m, children: /* @__PURE__ */ s(Re, { num: 4, justifyContent: "center", children: /* @__PURE__ */ s(ue, { alignItems: "center", children: /* @__PURE__ */ s(
1782
- Qe,
1797
+ const m = Ve();
1798
+ return n ? /* @__PURE__ */ s("tbody", { children: /* @__PURE__ */ s("tr", { children: /* @__PURE__ */ s("td", { colSpan: m, children: /* @__PURE__ */ s(Me, { num: 4, justifyContent: "center", children: /* @__PURE__ */ s(le, { alignItems: "center", children: /* @__PURE__ */ s(ln, { bannerState: n, variant: "error" }) }) }) }) }) }) : t || f ? /* @__PURE__ */ s("tbody", { children: /* @__PURE__ */ s("tr", { children: /* @__PURE__ */ s("td", { colSpan: m, children: /* @__PURE__ */ s(Me, { num: 4, justifyContent: "center", children: /* @__PURE__ */ s(le, { alignItems: "center", children: /* @__PURE__ */ s(
1799
+ Ue,
1783
1800
  {
1784
1801
  headerText: (t ? t.message : f) ?? "Unknown error",
1785
1802
  variant: "error"
1786
1803
  }
1787
- ) }) }) }) }) }) : r ? /* @__PURE__ */ s("tbody", { children: /* @__PURE__ */ s("tr", { children: /* @__PURE__ */ s("td", { colSpan: m, children: /* @__PURE__ */ s(Re, { num: 4, children: /* @__PURE__ */ s(Cn, {}) }) }) }) }) : !o || !o.length ? /* @__PURE__ */ s("tbody", { children: /* @__PURE__ */ s("tr", { children: /* @__PURE__ */ s("td", { colSpan: m, children: /* @__PURE__ */ s(I, { spacing: 4, justifyContent: "center", children: /* @__PURE__ */ s(
1788
- Qe,
1804
+ ) }) }) }) }) }) : r ? /* @__PURE__ */ s("tbody", { children: /* @__PURE__ */ s("tr", { children: /* @__PURE__ */ s("td", { colSpan: m, children: /* @__PURE__ */ s(Me, { num: 4, children: /* @__PURE__ */ s(Cn, {}) }) }) }) }) : !o || !o.length ? /* @__PURE__ */ s("tbody", { children: /* @__PURE__ */ s("tr", { children: /* @__PURE__ */ s("td", { colSpan: m, children: /* @__PURE__ */ s(I, { spacing: 4, justifyContent: "center", children: /* @__PURE__ */ s(
1805
+ Ue,
1789
1806
  {
1790
1807
  text: a,
1791
- headerText: l,
1808
+ headerText: d,
1792
1809
  contentRight: i,
1793
1810
  variant: "info",
1794
1811
  children: c
@@ -1796,26 +1813,26 @@ import './index.css';const Ct = R.createContext({}), js = ({
1796
1813
  ) }) }) }) }) : /* @__PURE__ */ C("tbody", { children: [
1797
1814
  p?.(),
1798
1815
  /* @__PURE__ */ s(
1799
- mo,
1816
+ yo,
1800
1817
  {
1801
1818
  variant: h,
1802
1819
  items: o,
1803
1820
  colIndexOffset: u,
1804
- rowIndexOffset: d
1821
+ rowIndexOffset: l
1805
1822
  }
1806
1823
  ),
1807
- g?.()
1824
+ w?.()
1808
1825
  ] });
1809
- }), po = (e) => {
1826
+ }), vo = (e) => {
1810
1827
  const { keyResolver: t, checkboxDisabledResolver: n } = T(), {
1811
1828
  selectedIds: { selectedIds: r }
1812
- } = he(), {
1829
+ } = ue(), {
1813
1830
  actions: { setSelectedIds: o, clearSelection: a },
1814
1831
  dispatch: i
1815
- } = ve(), c = r.length === 0, l = e ? e.length > 0 && r.length === e.length : !1, u = P(() => {
1832
+ } = ve(), c = r.length === 0, d = e ? e.length > 0 && r.length === e.length : !1, u = P(() => {
1816
1833
  e && i(
1817
1834
  c ? o(
1818
- e.filter(Vt(n)).map((d) => t(d))
1835
+ e.filter(Vt(n)).map((l) => t(l))
1819
1836
  ) : a()
1820
1837
  );
1821
1838
  }, [
@@ -1829,17 +1846,17 @@ import './index.css';const Ct = R.createContext({}), js = ({
1829
1846
  ]);
1830
1847
  return {
1831
1848
  selectionIsEmpty: c,
1832
- allItemsAreSelected: l,
1849
+ allItemsAreSelected: d,
1833
1850
  onClickCheckbox: u
1834
1851
  };
1835
- }, go = (e) => {
1852
+ }, Co = (e) => {
1836
1853
  const { keyResolver: t } = T(), {
1837
1854
  expandedRows: { selectedIds: n }
1838
- } = he(), {
1855
+ } = ue(), {
1839
1856
  actions: { collapseAll: r, expandByIds: o },
1840
1857
  dispatch: a
1841
1858
  } = ve(), i = e ? e.length > 0 && n.length === e.length : !1, c = P(() => {
1842
- e && a(i ? r() : o(e.map((l) => t(l))));
1859
+ e && a(i ? r() : o(e.map((d) => t(d))));
1843
1860
  }, [
1844
1861
  i,
1845
1862
  r,
@@ -1852,10 +1869,10 @@ import './index.css';const Ct = R.createContext({}), js = ({
1852
1869
  allItemsAreExpanded: i,
1853
1870
  toggleExpanded: c
1854
1871
  };
1855
- }, wo = (e) => {
1872
+ }, xo = (e) => {
1856
1873
  const { dispatch: t, actions: n } = ve(), r = or(), {
1857
1874
  sortOrder: { desc: o, sortBy: a }
1858
- } = he();
1875
+ } = ue();
1859
1876
  return b(() => {
1860
1877
  const i = e === a;
1861
1878
  return {
@@ -1868,9 +1885,9 @@ import './index.css';const Ct = R.createContext({}), js = ({
1868
1885
  }
1869
1886
  };
1870
1887
  }, [e, a, o, t, n, r]);
1871
- }, yo = "_standardTableHeadTh_swsxb_8", bo = {
1872
- standardTableHeadTh: yo
1873
- }, vo = R.memo(
1888
+ }, ko = "_standardTableHeadTh_swsxb_8", So = {
1889
+ standardTableHeadTh: ko
1890
+ }, Po = E.memo(
1874
1891
  function({
1875
1892
  columnId: t,
1876
1893
  borderFromGroup: n,
@@ -1881,28 +1898,28 @@ import './index.css';const Ct = R.createContext({}), js = ({
1881
1898
  columnLabel: a,
1882
1899
  borderLeft: i,
1883
1900
  infoIconTooltipText: c,
1884
- columnHeadContent: l,
1901
+ columnHeadContent: d,
1885
1902
  background: u,
1886
- width: d,
1903
+ width: l,
1887
1904
  minWidth: h
1888
- } = Ce(t), { disableSorting: f, infoIconTooltipAppendTo: p, infoIconTooltipZIndex: g } = T(), m = _e(), { arrow: w, selected: y, onClickColumnHead: k } = wo(t), S = typeof a == "string" ? a : Vr(t), v = Ve(
1905
+ } = Ce(t), { disableSorting: f, infoIconTooltipAppendTo: p, infoIconTooltipZIndex: w } = T(), m = je(), { arrow: g, selected: y, onClickColumnHead: k } = xo(t), O = typeof a == "string" ? a : Vr(t), S = Ke(
1889
1906
  n,
1890
1907
  r,
1891
1908
  i
1892
- ), O = m[t];
1909
+ ), v = m[t];
1893
1910
  return /* @__PURE__ */ s(
1894
1911
  "th",
1895
1912
  {
1896
- className: bo.standardTableHeadTh,
1913
+ className: So.standardTableHeadTh,
1897
1914
  style: {
1898
1915
  background: u ?? "white",
1899
- borderLeft: v,
1900
- position: O.sticky ? "sticky" : void 0,
1901
- left: O.left,
1902
- right: O.right,
1903
- boxShadow: O.sticky && O.isFirstColumnInLastGroup && O.sticky && O.isFirstColumnInLastGroup ? "var(--swui-sticky-column-shadow-left)" : O.sticky ? "var(--swui-sticky-column-shadow-right)" : void 0,
1904
- zIndex: O.sticky ? "var(--swui-sticky-group-header-z-index)" : void 0,
1905
- width: d,
1916
+ borderLeft: S,
1917
+ position: v.sticky ? "sticky" : void 0,
1918
+ left: v.left,
1919
+ right: v.right,
1920
+ boxShadow: v.sticky && v.isFirstColumnInLastGroup && v.sticky && v.isFirstColumnInLastGroup ? "var(--swui-sticky-column-shadow-left)" : v.sticky ? "var(--swui-sticky-column-shadow-right)" : void 0,
1921
+ zIndex: v.sticky ? "var(--swui-sticky-group-header-z-index)" : void 0,
1922
+ width: l,
1906
1923
  minWidth: h
1907
1924
  },
1908
1925
  children: /* @__PURE__ */ s(
@@ -1910,13 +1927,13 @@ import './index.css';const Ct = R.createContext({}), js = ({
1910
1927
  {
1911
1928
  width: "inherit",
1912
1929
  minWidth: "inherit",
1913
- arrow: !f && S ? w : void 0,
1930
+ arrow: !f && O ? g : void 0,
1914
1931
  onClick: f ? void 0 : k,
1915
- label: S,
1932
+ label: O,
1916
1933
  infoIconTooltipAppendTo: p,
1917
1934
  infoIconTooltipText: c,
1918
- infoIconTooltipZIndex: g,
1919
- columnHeadContent: l,
1935
+ infoIconTooltipZIndex: w,
1936
+ columnHeadContent: d,
1920
1937
  alignRight: o === "flex-end",
1921
1938
  selected: y,
1922
1939
  height: "100%"
@@ -1925,27 +1942,27 @@ import './index.css';const Ct = R.createContext({}), js = ({
1925
1942
  }
1926
1943
  );
1927
1944
  }
1928
- ), Co = R.memo(function({ items: t, height: n = Ne }) {
1929
- const r = te(), {
1945
+ ), Oo = E.memo(function({ items: t, height: n = _e }) {
1946
+ const r = ne(), {
1930
1947
  showHeaderCheckbox: o,
1931
1948
  showHeaderExpandCollapse: a,
1932
1949
  enableExpandCollapse: i,
1933
1950
  rowIndent: c,
1934
- stickyCheckboxColumn: l,
1951
+ stickyCheckboxColumn: d,
1935
1952
  showRowCheckbox: u
1936
- } = T(), { allItemsAreExpanded: d, toggleExpanded: h } = go(t), { allItemsAreSelected: f, onClickCheckbox: p, selectionIsEmpty: g } = po(t), m = !t || t.length === 0, w = {
1937
- zIndex: l ? "var(--swui-sticky-group-header-z-index)" : void 0,
1938
- background: l ? "white" : void 0,
1939
- position: l ? "sticky" : void 0,
1940
- boxShadow: l ? "var(--swui-sticky-column-shadow-right)" : void 0
1953
+ } = T(), { allItemsAreExpanded: l, toggleExpanded: h } = Co(t), { allItemsAreSelected: f, onClickCheckbox: p, selectionIsEmpty: w } = vo(t), m = !t || t.length === 0, g = {
1954
+ zIndex: d ? "var(--swui-sticky-group-header-z-index)" : void 0,
1955
+ background: d ? "white" : void 0,
1956
+ position: d ? "sticky" : void 0,
1957
+ boxShadow: d ? "var(--swui-sticky-column-shadow-right)" : void 0
1941
1958
  };
1942
- return /* @__PURE__ */ C(jt, { height: n, borderLeft: He, children: [
1959
+ return /* @__PURE__ */ C(Qe, { height: n, borderLeft: He, children: [
1943
1960
  c && /* @__PURE__ */ s("th", { children: /* @__PURE__ */ s(I, { indent: c }) }),
1944
1961
  i && /* @__PURE__ */ s(
1945
1962
  "th",
1946
1963
  {
1947
1964
  style: {
1948
- ...w,
1965
+ ...g,
1949
1966
  left: "0px",
1950
1967
  textAlign: "left"
1951
1968
  },
@@ -1960,7 +1977,7 @@ import './index.css';const Ct = R.createContext({}), js = ({
1960
1977
  Fe,
1961
1978
  {
1962
1979
  size: "small",
1963
- leftIcon: d ? gt : wt,
1980
+ leftIcon: l ? yt : bt,
1964
1981
  onClick: h
1965
1982
  }
1966
1983
  )
@@ -1972,9 +1989,9 @@ import './index.css';const Ct = R.createContext({}), js = ({
1972
1989
  "th",
1973
1990
  {
1974
1991
  style: {
1975
- ...w,
1992
+ ...g,
1976
1993
  overflow: "hidden",
1977
- left: l && i ? "var(--swui-expand-cell-width)" : l ? "0px" : void 0
1994
+ left: d && i ? "var(--swui-expand-cell-width)" : d ? "0px" : void 0
1978
1995
  },
1979
1996
  children: /* @__PURE__ */ s(
1980
1997
  I,
@@ -1984,12 +2001,12 @@ import './index.css';const Ct = R.createContext({}), js = ({
1984
2001
  alignItems: "center",
1985
2002
  justifyContent: "center",
1986
2003
  children: o && /* @__PURE__ */ s(
1987
- Le,
2004
+ Ne,
1988
2005
  {
1989
2006
  size: "small",
1990
2007
  disabled: m,
1991
2008
  value: f,
1992
- indeterminate: !g && !f,
2009
+ indeterminate: !w && !f,
1993
2010
  onValueChange: p
1994
2011
  }
1995
2012
  )
@@ -1997,23 +2014,23 @@ import './index.css';const Ct = R.createContext({}), js = ({
1997
2014
  )
1998
2015
  }
1999
2016
  ),
2000
- r.map(({ groupConfig: y, groupId: k }, S) => /* @__PURE__ */ s(R.Fragment, { children: y.columnOrder.map((v, O) => /* @__PURE__ */ s(
2001
- vo,
2017
+ r.map(({ groupConfig: y, groupId: k }, O) => /* @__PURE__ */ s(E.Fragment, { children: y.columnOrder.map((S, v) => /* @__PURE__ */ s(
2018
+ Po,
2002
2019
  {
2003
- columnId: v,
2004
- borderFromGroup: Te(
2005
- S,
2020
+ columnId: S,
2021
+ borderFromGroup: De(
2006
2022
  O,
2023
+ v,
2007
2024
  y.borderLeft
2008
2025
  ),
2009
- disableBorderLeft: S === 0 && O === 0
2026
+ disableBorderLeft: O === 0 && v === 0
2010
2027
  },
2011
- v
2028
+ S
2012
2029
  )) }, k)),
2013
2030
  c && /* @__PURE__ */ s("th", { children: /* @__PURE__ */ s(I, { indent: c }) }),
2014
2031
  /* @__PURE__ */ s("th", {})
2015
2032
  ] });
2016
- }), Js = function({
2033
+ }), oa = function({
2017
2034
  tableContext: t,
2018
2035
  config: n,
2019
2036
  columnGroupOrder: r,
@@ -2021,113 +2038,113 @@ import './index.css';const Ct = R.createContext({}), js = ({
2021
2038
  variant: a = "standard",
2022
2039
  onKeyDown: i,
2023
2040
  onSortOrderChange: c,
2024
- renderExtraHeadRows: l,
2041
+ renderExtraHeadRows: d,
2025
2042
  ...u
2026
2043
  }) {
2027
- const d = on(), {
2044
+ const l = on(), {
2028
2045
  initialSortOrderDesc: h,
2029
2046
  initialSortOrder: f,
2030
2047
  enableExpandCollapse: p,
2031
- stickyCheckboxColumn: g,
2048
+ stickyCheckboxColumn: w,
2032
2049
  headerRowOffsetTop: m,
2033
- stickyHeader: w,
2050
+ stickyHeader: g,
2034
2051
  zIndex: y
2035
2052
  } = n, { tableContext: k } = Dr(
2036
- o ?? d,
2037
- Gt(f, h)
2038
- ), S = t || k, { state: v, actions: O, dispatch: W } = S, L = ir(
2039
- v.selectedIds.selectedIds
2040
- ), A = b(
2053
+ o ?? l,
2054
+ Wt(f, h)
2055
+ ), O = t || k, { state: S, actions: v, dispatch: B } = O, L = ir(
2056
+ S.selectedIds.selectedIds
2057
+ ), j = b(
2041
2058
  () => ({
2042
- actions: O,
2043
- dispatch: W
2059
+ actions: v,
2060
+ dispatch: B
2044
2061
  }),
2045
- [O, W]
2046
- ), z = !!(r ?? "columnGroupOrder" in n), V = "columnGroups" in n ? n.columnGroups : void 0, q = "columnGroupOrder" in n ? n.columnGroupOrder : void 0, K = "columnOrder" in n ? n.columnOrder : void 0, H = b(
2062
+ [v, B]
2063
+ ), N = !!(r ?? "columnGroupOrder" in n), V = "columnGroups" in n ? n.columnGroups : void 0, H = "columnGroupOrder" in n ? n.columnGroupOrder : void 0, K = "columnOrder" in n ? n.columnOrder : void 0, A = b(
2047
2064
  () => Yt(
2048
2065
  V,
2049
- q,
2066
+ H,
2050
2067
  K
2051
2068
  ),
2052
- [V, q, K]
2053
- ), ae = b(
2054
- () => wr(n),
2069
+ [V, H, K]
2070
+ ), he = b(
2071
+ () => gr(n),
2055
2072
  [n]
2056
- ), me = b(() => Er(n), [n]), ne = b(
2073
+ ), ae = b(() => Rr(n), [n]), ie = b(
2057
2074
  () => Pr(n),
2058
2075
  [n]
2059
- ), ie = b(() => {
2076
+ ), re = b(() => {
2060
2077
  try {
2061
2078
  br(n);
2062
2079
  return;
2063
- } catch (U) {
2064
- return U instanceof Error ? U : new Error("Unknown error");
2080
+ } catch (Q) {
2081
+ return Q instanceof Error ? Q : new Error("Unknown error");
2065
2082
  }
2066
2083
  }, [n]), $ = {
2067
- background: w || g ? "white" : void 0,
2068
- position: w || g ? "sticky" : void 0,
2069
- top: w || g ? m ?? 0 : void 0,
2070
- boxShadow: w && g ? "var(--swui-sticky-header-shadow-and-right)" : g ? "var(--swui-sticky-column-shadow-right)" : w ? "var(--swui-sticky-header-shadow)" : void 0,
2071
- zIndex: w && g ? "var(--swui-sticky-header-in-sticky-column-z-index)" : g ? "var(--swui-sticky-group-header-z-index)" : w ? "var(--swui-sticky-head-z-index)" : y
2084
+ background: g || w ? "white" : void 0,
2085
+ position: g || w ? "sticky" : void 0,
2086
+ top: g || w ? m ?? 0 : void 0,
2087
+ boxShadow: g && w ? "var(--swui-sticky-header-shadow-and-right)" : w ? "var(--swui-sticky-column-shadow-right)" : g ? "var(--swui-sticky-header-shadow)" : void 0,
2088
+ zIndex: g && w ? "var(--swui-sticky-header-in-sticky-column-z-index)" : w ? "var(--swui-sticky-group-header-z-index)" : g ? "var(--swui-sticky-head-z-index)" : y
2072
2089
  };
2073
- return ie ? /* @__PURE__ */ s(xn, { text: ie.message }) : /* @__PURE__ */ s(
2090
+ return re ? /* @__PURE__ */ s(xn, { text: re.message }) : /* @__PURE__ */ s(
2074
2091
  "table",
2075
2092
  {
2076
- className: vt(ot.standardTable, ot[a]),
2093
+ className: xt(at.standardTable, at[a]),
2077
2094
  style: {
2078
2095
  width: "100%",
2079
2096
  isolation: "isolate",
2080
- "--current-left-offset": p && g ? "calc(var(--swui-expand-cell-width) + var(--swui-checkbox-cell-width))" : g ? "var(--swui-checkbox-cell-width)" : p ? "var(--swui-expand-cell-width)" : "0px"
2097
+ "--current-left-offset": p && w ? "calc(var(--swui-expand-cell-width) + var(--swui-checkbox-cell-width))" : w ? "var(--swui-checkbox-cell-width)" : p ? "var(--swui-expand-cell-width)" : "0px"
2081
2098
  },
2082
- children: /* @__PURE__ */ s(Ht.Provider, { value: ne, children: /* @__PURE__ */ s(Nt.Provider, { value: me, children: /* @__PURE__ */ s(lr.Provider, { value: a, children: /* @__PURE__ */ s(
2083
- Dt.Provider,
2099
+ children: /* @__PURE__ */ s(Ht.Provider, { value: ie, children: /* @__PURE__ */ s(_t.Provider, { value: ae, children: /* @__PURE__ */ s(dr.Provider, { value: a, children: /* @__PURE__ */ s(
2100
+ Rt.Provider,
2084
2101
  {
2085
- value: o ?? d,
2086
- children: /* @__PURE__ */ s(Et.Provider, { value: v, children: /* @__PURE__ */ s(
2102
+ value: o ?? l,
2103
+ children: /* @__PURE__ */ s(Et.Provider, { value: S, children: /* @__PURE__ */ s(
2087
2104
  At.Provider,
2088
2105
  {
2089
2106
  value: L,
2090
- children: /* @__PURE__ */ s(Rt.Provider, { value: A, children: /* @__PURE__ */ s(Mt.Provider, { value: n, children: /* @__PURE__ */ s(
2091
- Wt.Provider,
2107
+ children: /* @__PURE__ */ s(Mt.Provider, { value: j, children: /* @__PURE__ */ s(Gt.Provider, { value: n, children: /* @__PURE__ */ s(
2108
+ Bt.Provider,
2092
2109
  {
2093
- value: H,
2110
+ value: A,
2094
2111
  children: /* @__PURE__ */ s(
2095
2112
  zt.Provider,
2096
2113
  {
2097
- value: ae,
2114
+ value: he,
2098
2115
  children: /* @__PURE__ */ s(
2099
2116
  ar.Provider,
2100
2117
  {
2101
- value: z,
2118
+ value: N,
2102
2119
  children: /* @__PURE__ */ C(
2103
2120
  sr.Provider,
2104
2121
  {
2105
2122
  value: "columnGroupOrder" in n ? r ?? n.columnGroupOrder : r,
2106
2123
  children: [
2107
2124
  /* @__PURE__ */ s(Mr, {}),
2108
- /* @__PURE__ */ s(Bt.Provider, { value: i, children: /* @__PURE__ */ C(
2109
- Lt.Provider,
2125
+ /* @__PURE__ */ s(Lt.Provider, { value: i, children: /* @__PURE__ */ C(
2126
+ Nt.Provider,
2110
2127
  {
2111
2128
  value: c,
2112
2129
  children: [
2113
2130
  /* @__PURE__ */ C("thead", { style: $, children: [
2114
2131
  (r || "columnGroupOrder" in n) && /* @__PURE__ */ s(
2115
- gr,
2132
+ wr,
2116
2133
  {
2117
2134
  height: "var(--current-row-height)"
2118
2135
  }
2119
2136
  ),
2120
2137
  /* @__PURE__ */ s(
2121
- Co,
2138
+ Oo,
2122
2139
  {
2123
2140
  items: u.items,
2124
2141
  height: "var(--current-row-height)"
2125
2142
  }
2126
2143
  ),
2127
- l?.()
2144
+ d?.()
2128
2145
  ] }),
2129
2146
  /* @__PURE__ */ s(
2130
- fo,
2147
+ bo,
2131
2148
  {
2132
2149
  variant: a,
2133
2150
  ...u
@@ -2151,10 +2168,10 @@ import './index.css';const Ct = R.createContext({}), js = ({
2151
2168
  ) }) }) })
2152
2169
  }
2153
2170
  );
2154
- }, le = (e, t) => ({
2171
+ }, ce = (e, t) => ({
2155
2172
  ...t,
2156
2173
  itemValueResolver: e
2157
- }), xo = (e) => ({
2174
+ }), Io = (e) => ({
2158
2175
  label: t,
2159
2176
  gridCell: {
2160
2177
  editorValue: n,
@@ -2163,10 +2180,10 @@ import './index.css';const Ct = R.createContext({}), js = ({
2163
2180
  stopEditingAndRevert: a,
2164
2181
  lastKeyEvent: i,
2165
2182
  stopEditing: c,
2166
- stopEditingAndMove: l
2183
+ stopEditingAndMove: d
2167
2184
  }
2168
2185
  }) => r ? /* @__PURE__ */ s(
2169
- Be,
2186
+ Le,
2170
2187
  {
2171
2188
  onValueChange: o,
2172
2189
  value: n,
@@ -2174,75 +2191,75 @@ import './index.css';const Ct = R.createContext({}), js = ({
2174
2191
  onEsc: a,
2175
2192
  autoFocus: !0,
2176
2193
  selectAllOnMount: !i,
2177
- onMove: l
2194
+ onMove: d
2178
2195
  }
2179
- ) : /* @__PURE__ */ s(G, { children: /* @__PURE__ */ s(ee, { color: "var(--swui-primary-action-color)", size: e, children: t }) }), Zs = (e, t, n) => ({
2196
+ ) : /* @__PURE__ */ s(W, { children: /* @__PURE__ */ s(te, { color: "var(--swui-primary-action-color)", size: e, children: t }) }), sa = (e, t, n) => ({
2180
2197
  label: r,
2181
2198
  item: o,
2182
2199
  gridCell: {
2183
2200
  editorValue: a,
2184
2201
  isEditing: i,
2185
2202
  setEditorValue: c,
2186
- stopEditingAndRevert: l,
2203
+ stopEditingAndRevert: d,
2187
2204
  lastKeyEvent: u,
2188
- stopEditing: d,
2205
+ stopEditing: l,
2189
2206
  stopEditingAndMove: h
2190
2207
  },
2191
2208
  isEditable: f
2192
2209
  }) => {
2193
- const p = typeof e == "function" ? e(o) : e, g = t ? t(o) : void 0, m = n ? n(o) : void 0;
2210
+ const p = typeof e == "function" ? e(o) : e, w = t ? t(o) : void 0, m = n ? n(o) : void 0;
2194
2211
  return f && i ? /* @__PURE__ */ s(
2195
- Be,
2212
+ Le,
2196
2213
  {
2197
2214
  onValueChange: c,
2198
2215
  value: a,
2199
- onDone: d,
2200
- onEsc: l,
2216
+ onDone: l,
2217
+ onEsc: d,
2201
2218
  autoFocus: !0,
2202
2219
  selectAllOnMount: !u,
2203
2220
  onMove: h
2204
2221
  }
2205
- ) : /* @__PURE__ */ s(G, { row: !0, alignItems: "center", children: /* @__PURE__ */ s(
2222
+ ) : /* @__PURE__ */ s(W, { row: !0, alignItems: "center", children: /* @__PURE__ */ s(
2206
2223
  In,
2207
2224
  {
2208
2225
  value: r,
2209
2226
  modifiedField: m,
2210
- crudStatus: g,
2227
+ crudStatus: w,
2211
2228
  isEditable: f,
2212
2229
  warningOnEmpty: p
2213
2230
  }
2214
2231
  ) });
2215
- }, Kt = 6048e5, ko = 864e5, at = /* @__PURE__ */ Symbol.for("constructDateFrom");
2216
- function X(e, t) {
2217
- return typeof e == "function" ? e(t) : e && typeof e == "object" && at in e ? e[at](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
2232
+ }, Kt = 6048e5, To = 864e5, ct = /* @__PURE__ */ Symbol.for("constructDateFrom");
2233
+ function U(e, t) {
2234
+ return typeof e == "function" ? e(t) : e && typeof e == "object" && ct in e ? e[ct](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
2218
2235
  }
2219
2236
  function Y(e, t) {
2220
- return X(t || e, e);
2237
+ return U(t || e, e);
2221
2238
  }
2222
2239
  function D(e, t, n) {
2223
2240
  const r = Y(e, n?.in);
2224
- return isNaN(t) ? X(e, NaN) : (t && r.setDate(r.getDate() + t), r);
2241
+ return isNaN(t) ? U(e, NaN) : (t && r.setDate(r.getDate() + t), r);
2225
2242
  }
2226
- let So = {};
2227
- function De() {
2228
- return So;
2243
+ let Do = {};
2244
+ function Re() {
2245
+ return Do;
2229
2246
  }
2230
2247
  function ye(e, t) {
2231
- const n = De(), r = t?.weekStartsOn ?? t?.locale?.options?.weekStartsOn ?? n.weekStartsOn ?? n.locale?.options?.weekStartsOn ?? 0, o = Y(e, t?.in), a = o.getDay(), i = (a < r ? 7 : 0) + a - r;
2248
+ const n = Re(), r = t?.weekStartsOn ?? t?.locale?.options?.weekStartsOn ?? n.weekStartsOn ?? n.locale?.options?.weekStartsOn ?? 0, o = Y(e, t?.in), a = o.getDay(), i = (a < r ? 7 : 0) + a - r;
2232
2249
  return o.setDate(o.getDate() - i), o.setHours(0, 0, 0, 0), o;
2233
2250
  }
2234
- function Pe(e, t) {
2251
+ function Oe(e, t) {
2235
2252
  return ye(e, { ...t, weekStartsOn: 1 });
2236
2253
  }
2237
2254
  function $t(e, t) {
2238
- const n = Y(e, t?.in), r = n.getFullYear(), o = X(n, 0);
2255
+ const n = Y(e, t?.in), r = n.getFullYear(), o = U(n, 0);
2239
2256
  o.setFullYear(r + 1, 0, 4), o.setHours(0, 0, 0, 0);
2240
- const a = Pe(o), i = X(n, 0);
2257
+ const a = Oe(o), i = U(n, 0);
2241
2258
  i.setFullYear(r, 0, 4), i.setHours(0, 0, 0, 0);
2242
- const c = Pe(i);
2259
+ const c = Oe(i);
2243
2260
  return n.getTime() >= a.getTime() ? r + 1 : n.getTime() >= c.getTime() ? r : r - 1;
2244
2261
  }
2245
- function it(e) {
2262
+ function dt(e) {
2246
2263
  const t = Y(e), n = new Date(
2247
2264
  Date.UTC(
2248
2265
  t.getFullYear(),
@@ -2256,40 +2273,40 @@ function it(e) {
2256
2273
  );
2257
2274
  return n.setUTCFullYear(t.getFullYear()), +e - +n;
2258
2275
  }
2259
- function Po(e, ...t) {
2260
- const n = X.bind(
2276
+ function Ro(e, ...t) {
2277
+ const n = U.bind(
2261
2278
  null,
2262
2279
  t.find((r) => typeof r == "object")
2263
2280
  );
2264
2281
  return t.map(n);
2265
2282
  }
2266
- function ct(e, t) {
2283
+ function lt(e, t) {
2267
2284
  const n = Y(e, t?.in);
2268
2285
  return n.setHours(0, 0, 0, 0), n;
2269
2286
  }
2270
- function Oo(e, t, n) {
2271
- const [r, o] = Po(
2287
+ function Eo(e, t, n) {
2288
+ const [r, o] = Ro(
2272
2289
  n?.in,
2273
2290
  e,
2274
2291
  t
2275
- ), a = ct(r), i = ct(o), c = +a - it(a), l = +i - it(i);
2276
- return Math.round((c - l) / ko);
2292
+ ), a = lt(r), i = lt(o), c = +a - dt(a), d = +i - dt(i);
2293
+ return Math.round((c - d) / To);
2277
2294
  }
2278
- function Io(e, t) {
2279
- const n = $t(e, t), r = X(e, 0);
2280
- return r.setFullYear(n, 0, 4), r.setHours(0, 0, 0, 0), Pe(r);
2295
+ function Mo(e, t) {
2296
+ const n = $t(e, t), r = U(e, 0);
2297
+ return r.setFullYear(n, 0, 4), r.setHours(0, 0, 0, 0), Oe(r);
2281
2298
  }
2282
- function To(e) {
2299
+ function Go(e) {
2283
2300
  return e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]";
2284
2301
  }
2285
- function Do(e) {
2286
- return !(!To(e) && typeof e != "number" || isNaN(+Y(e)));
2302
+ function Wo(e) {
2303
+ return !(!Go(e) && typeof e != "number" || isNaN(+Y(e)));
2287
2304
  }
2288
- function Eo(e, t) {
2305
+ function Bo(e, t) {
2289
2306
  const n = Y(e, t?.in);
2290
2307
  return n.setFullYear(n.getFullYear(), 0, 1), n.setHours(0, 0, 0, 0), n;
2291
2308
  }
2292
- const Ro = {
2309
+ const Fo = {
2293
2310
  lessThanXSeconds: {
2294
2311
  one: "less than a second",
2295
2312
  other: "less than {{count}} seconds"
@@ -2351,54 +2368,54 @@ const Ro = {
2351
2368
  one: "almost 1 year",
2352
2369
  other: "almost {{count}} years"
2353
2370
  }
2354
- }, Mo = (e, t, n) => {
2371
+ }, Lo = (e, t, n) => {
2355
2372
  let r;
2356
- const o = Ro[e];
2373
+ const o = Fo[e];
2357
2374
  return typeof o == "string" ? r = o : t === 1 ? r = o.one : r = o.other.replace("{{count}}", t.toString()), n?.addSuffix ? n.comparison && n.comparison > 0 ? "in " + r : r + " ago" : r;
2358
2375
  };
2359
- function Ge(e) {
2376
+ function We(e) {
2360
2377
  return (t = {}) => {
2361
2378
  const n = t.width ? String(t.width) : e.defaultWidth;
2362
2379
  return e.formats[n] || e.formats[e.defaultWidth];
2363
2380
  };
2364
2381
  }
2365
- const Go = {
2382
+ const No = {
2366
2383
  full: "EEEE, MMMM do, y",
2367
2384
  long: "MMMM do, y",
2368
2385
  medium: "MMM d, y",
2369
2386
  short: "MM/dd/yyyy"
2370
- }, Wo = {
2387
+ }, Ao = {
2371
2388
  full: "h:mm:ss a zzzz",
2372
2389
  long: "h:mm:ss a z",
2373
2390
  medium: "h:mm:ss a",
2374
2391
  short: "h:mm a"
2375
- }, Fo = {
2392
+ }, Ho = {
2376
2393
  full: "{{date}} 'at' {{time}}",
2377
2394
  long: "{{date}} 'at' {{time}}",
2378
2395
  medium: "{{date}}, {{time}}",
2379
2396
  short: "{{date}}, {{time}}"
2380
- }, Bo = {
2381
- date: Ge({
2382
- formats: Go,
2397
+ }, _o = {
2398
+ date: We({
2399
+ formats: No,
2383
2400
  defaultWidth: "full"
2384
2401
  }),
2385
- time: Ge({
2386
- formats: Wo,
2402
+ time: We({
2403
+ formats: Ao,
2387
2404
  defaultWidth: "full"
2388
2405
  }),
2389
- dateTime: Ge({
2390
- formats: Fo,
2406
+ dateTime: We({
2407
+ formats: Ho,
2391
2408
  defaultWidth: "full"
2392
2409
  })
2393
- }, Lo = {
2410
+ }, Yo = {
2394
2411
  lastWeek: "'last' eeee 'at' p",
2395
2412
  yesterday: "'yesterday at' p",
2396
2413
  today: "'today at' p",
2397
2414
  tomorrow: "'tomorrow at' p",
2398
2415
  nextWeek: "eeee 'at' p",
2399
2416
  other: "P"
2400
- }, Ao = (e, t, n, r) => Lo[e];
2401
- function pe(e) {
2417
+ }, zo = (e, t, n, r) => Yo[e];
2418
+ function fe(e) {
2402
2419
  return (t, n) => {
2403
2420
  const r = n?.context ? String(n.context) : "standalone";
2404
2421
  let o;
@@ -2413,15 +2430,15 @@ function pe(e) {
2413
2430
  return o[a];
2414
2431
  };
2415
2432
  }
2416
- const Ho = {
2433
+ const qo = {
2417
2434
  narrow: ["B", "A"],
2418
2435
  abbreviated: ["BC", "AD"],
2419
2436
  wide: ["Before Christ", "Anno Domini"]
2420
- }, No = {
2437
+ }, jo = {
2421
2438
  narrow: ["1", "2", "3", "4"],
2422
2439
  abbreviated: ["Q1", "Q2", "Q3", "Q4"],
2423
2440
  wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
2424
- }, Yo = {
2441
+ }, Vo = {
2425
2442
  narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
2426
2443
  abbreviated: [
2427
2444
  "Jan",
@@ -2451,7 +2468,7 @@ const Ho = {
2451
2468
  "November",
2452
2469
  "December"
2453
2470
  ]
2454
- }, zo = {
2471
+ }, Ko = {
2455
2472
  narrow: ["S", "M", "T", "W", "T", "F", "S"],
2456
2473
  short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
2457
2474
  abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
@@ -2464,7 +2481,7 @@ const Ho = {
2464
2481
  "Friday",
2465
2482
  "Saturday"
2466
2483
  ]
2467
- }, qo = {
2484
+ }, $o = {
2468
2485
  narrow: {
2469
2486
  am: "a",
2470
2487
  pm: "p",
@@ -2495,7 +2512,7 @@ const Ho = {
2495
2512
  evening: "evening",
2496
2513
  night: "night"
2497
2514
  }
2498
- }, _o = {
2515
+ }, Qo = {
2499
2516
  narrow: {
2500
2517
  am: "a",
2501
2518
  pm: "p",
@@ -2526,7 +2543,7 @@ const Ho = {
2526
2543
  evening: "in the evening",
2527
2544
  night: "at night"
2528
2545
  }
2529
- }, jo = (e, t) => {
2546
+ }, Xo = (e, t) => {
2530
2547
  const n = Number(e), r = n % 100;
2531
2548
  if (r > 20 || r < 10)
2532
2549
  switch (r % 10) {
@@ -2538,61 +2555,61 @@ const Ho = {
2538
2555
  return n + "rd";
2539
2556
  }
2540
2557
  return n + "th";
2541
- }, Vo = {
2542
- ordinalNumber: jo,
2543
- era: pe({
2544
- values: Ho,
2558
+ }, Uo = {
2559
+ ordinalNumber: Xo,
2560
+ era: fe({
2561
+ values: qo,
2545
2562
  defaultWidth: "wide"
2546
2563
  }),
2547
- quarter: pe({
2548
- values: No,
2564
+ quarter: fe({
2565
+ values: jo,
2549
2566
  defaultWidth: "wide",
2550
2567
  argumentCallback: (e) => e - 1
2551
2568
  }),
2552
- month: pe({
2553
- values: Yo,
2569
+ month: fe({
2570
+ values: Vo,
2554
2571
  defaultWidth: "wide"
2555
2572
  }),
2556
- day: pe({
2557
- values: zo,
2573
+ day: fe({
2574
+ values: Ko,
2558
2575
  defaultWidth: "wide"
2559
2576
  }),
2560
- dayPeriod: pe({
2561
- values: qo,
2577
+ dayPeriod: fe({
2578
+ values: $o,
2562
2579
  defaultWidth: "wide",
2563
- formattingValues: _o,
2580
+ formattingValues: Qo,
2564
2581
  defaultFormattingWidth: "wide"
2565
2582
  })
2566
2583
  };
2567
- function ge(e) {
2584
+ function pe(e) {
2568
2585
  return (t, n = {}) => {
2569
2586
  const r = n.width, o = r && e.matchPatterns[r] || e.matchPatterns[e.defaultMatchWidth], a = t.match(o);
2570
2587
  if (!a)
2571
2588
  return null;
2572
- const i = a[0], c = r && e.parsePatterns[r] || e.parsePatterns[e.defaultParseWidth], l = Array.isArray(c) ? $o(c, (h) => h.test(i)) : (
2589
+ const i = a[0], c = r && e.parsePatterns[r] || e.parsePatterns[e.defaultParseWidth], d = Array.isArray(c) ? Zo(c, (h) => h.test(i)) : (
2573
2590
  // [TODO] -- I challenge you to fix the type
2574
- Ko(c, (h) => h.test(i))
2591
+ Jo(c, (h) => h.test(i))
2575
2592
  );
2576
2593
  let u;
2577
- u = e.valueCallback ? e.valueCallback(l) : l, u = n.valueCallback ? (
2594
+ u = e.valueCallback ? e.valueCallback(d) : d, u = n.valueCallback ? (
2578
2595
  // [TODO] -- I challenge you to fix the type
2579
2596
  n.valueCallback(u)
2580
2597
  ) : u;
2581
- const d = t.slice(i.length);
2582
- return { value: u, rest: d };
2598
+ const l = t.slice(i.length);
2599
+ return { value: u, rest: l };
2583
2600
  };
2584
2601
  }
2585
- function Ko(e, t) {
2602
+ function Jo(e, t) {
2586
2603
  for (const n in e)
2587
2604
  if (Object.prototype.hasOwnProperty.call(e, n) && t(e[n]))
2588
2605
  return n;
2589
2606
  }
2590
- function $o(e, t) {
2607
+ function Zo(e, t) {
2591
2608
  for (let n = 0; n < e.length; n++)
2592
2609
  if (t(e[n]))
2593
2610
  return n;
2594
2611
  }
2595
- function Qo(e) {
2612
+ function es(e) {
2596
2613
  return (t, n = {}) => {
2597
2614
  const r = t.match(e.matchPattern);
2598
2615
  if (!r) return null;
@@ -2604,23 +2621,23 @@ function Qo(e) {
2604
2621
  return { value: i, rest: c };
2605
2622
  };
2606
2623
  }
2607
- const Xo = /^(\d+)(th|st|nd|rd)?/i, Uo = /\d+/i, Jo = {
2624
+ const ts = /^(\d+)(th|st|nd|rd)?/i, ns = /\d+/i, rs = {
2608
2625
  narrow: /^(b|a)/i,
2609
2626
  abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
2610
2627
  wide: /^(before christ|before common era|anno domini|common era)/i
2611
- }, Zo = {
2628
+ }, os = {
2612
2629
  any: [/^b/i, /^(a|c)/i]
2613
- }, es = {
2630
+ }, ss = {
2614
2631
  narrow: /^[1234]/i,
2615
2632
  abbreviated: /^q[1234]/i,
2616
2633
  wide: /^[1234](th|st|nd|rd)? quarter/i
2617
- }, ts = {
2634
+ }, as = {
2618
2635
  any: [/1/i, /2/i, /3/i, /4/i]
2619
- }, ns = {
2636
+ }, is = {
2620
2637
  narrow: /^[jfmasond]/i,
2621
2638
  abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
2622
2639
  wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
2623
- }, rs = {
2640
+ }, cs = {
2624
2641
  narrow: [
2625
2642
  /^j/i,
2626
2643
  /^f/i,
@@ -2649,18 +2666,18 @@ const Xo = /^(\d+)(th|st|nd|rd)?/i, Uo = /\d+/i, Jo = {
2649
2666
  /^n/i,
2650
2667
  /^d/i
2651
2668
  ]
2652
- }, os = {
2669
+ }, ds = {
2653
2670
  narrow: /^[smtwf]/i,
2654
2671
  short: /^(su|mo|tu|we|th|fr|sa)/i,
2655
2672
  abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
2656
2673
  wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
2657
- }, ss = {
2674
+ }, ls = {
2658
2675
  narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
2659
2676
  any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
2660
- }, as = {
2677
+ }, us = {
2661
2678
  narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
2662
2679
  any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
2663
- }, is = {
2680
+ }, hs = {
2664
2681
  any: {
2665
2682
  am: /^a/i,
2666
2683
  pm: /^p/i,
@@ -2671,84 +2688,84 @@ const Xo = /^(\d+)(th|st|nd|rd)?/i, Uo = /\d+/i, Jo = {
2671
2688
  evening: /evening/i,
2672
2689
  night: /night/i
2673
2690
  }
2674
- }, cs = {
2675
- ordinalNumber: Qo({
2676
- matchPattern: Xo,
2677
- parsePattern: Uo,
2691
+ }, ms = {
2692
+ ordinalNumber: es({
2693
+ matchPattern: ts,
2694
+ parsePattern: ns,
2678
2695
  valueCallback: (e) => parseInt(e, 10)
2679
2696
  }),
2680
- era: ge({
2681
- matchPatterns: Jo,
2697
+ era: pe({
2698
+ matchPatterns: rs,
2682
2699
  defaultMatchWidth: "wide",
2683
- parsePatterns: Zo,
2700
+ parsePatterns: os,
2684
2701
  defaultParseWidth: "any"
2685
2702
  }),
2686
- quarter: ge({
2687
- matchPatterns: es,
2703
+ quarter: pe({
2704
+ matchPatterns: ss,
2688
2705
  defaultMatchWidth: "wide",
2689
- parsePatterns: ts,
2706
+ parsePatterns: as,
2690
2707
  defaultParseWidth: "any",
2691
2708
  valueCallback: (e) => e + 1
2692
2709
  }),
2693
- month: ge({
2694
- matchPatterns: ns,
2710
+ month: pe({
2711
+ matchPatterns: is,
2695
2712
  defaultMatchWidth: "wide",
2696
- parsePatterns: rs,
2713
+ parsePatterns: cs,
2697
2714
  defaultParseWidth: "any"
2698
2715
  }),
2699
- day: ge({
2700
- matchPatterns: os,
2716
+ day: pe({
2717
+ matchPatterns: ds,
2701
2718
  defaultMatchWidth: "wide",
2702
- parsePatterns: ss,
2719
+ parsePatterns: ls,
2703
2720
  defaultParseWidth: "any"
2704
2721
  }),
2705
- dayPeriod: ge({
2706
- matchPatterns: as,
2722
+ dayPeriod: pe({
2723
+ matchPatterns: us,
2707
2724
  defaultMatchWidth: "any",
2708
- parsePatterns: is,
2725
+ parsePatterns: hs,
2709
2726
  defaultParseWidth: "any"
2710
2727
  })
2711
- }, ls = {
2728
+ }, fs = {
2712
2729
  code: "en-US",
2713
- formatDistance: Mo,
2714
- formatLong: Bo,
2715
- formatRelative: Ao,
2716
- localize: Vo,
2717
- match: cs,
2730
+ formatDistance: Lo,
2731
+ formatLong: _o,
2732
+ formatRelative: zo,
2733
+ localize: Uo,
2734
+ match: ms,
2718
2735
  options: {
2719
2736
  weekStartsOn: 0,
2720
2737
  firstWeekContainsDate: 1
2721
2738
  }
2722
2739
  };
2723
- function ds(e, t) {
2740
+ function ps(e, t) {
2724
2741
  const n = Y(e, t?.in);
2725
- return Oo(n, Eo(n)) + 1;
2742
+ return Eo(n, Bo(n)) + 1;
2726
2743
  }
2727
- function us(e, t) {
2728
- const n = Y(e, t?.in), r = +Pe(n) - +Io(n);
2744
+ function ws(e, t) {
2745
+ const n = Y(e, t?.in), r = +Oe(n) - +Mo(n);
2729
2746
  return Math.round(r / Kt) + 1;
2730
2747
  }
2731
2748
  function Qt(e, t) {
2732
- const n = Y(e, t?.in), r = n.getFullYear(), o = De(), a = t?.firstWeekContainsDate ?? t?.locale?.options?.firstWeekContainsDate ?? o.firstWeekContainsDate ?? o.locale?.options?.firstWeekContainsDate ?? 1, i = X(t?.in || e, 0);
2749
+ const n = Y(e, t?.in), r = n.getFullYear(), o = Re(), a = t?.firstWeekContainsDate ?? t?.locale?.options?.firstWeekContainsDate ?? o.firstWeekContainsDate ?? o.locale?.options?.firstWeekContainsDate ?? 1, i = U(t?.in || e, 0);
2733
2750
  i.setFullYear(r + 1, 0, a), i.setHours(0, 0, 0, 0);
2734
- const c = ye(i, t), l = X(t?.in || e, 0);
2735
- l.setFullYear(r, 0, a), l.setHours(0, 0, 0, 0);
2736
- const u = ye(l, t);
2751
+ const c = ye(i, t), d = U(t?.in || e, 0);
2752
+ d.setFullYear(r, 0, a), d.setHours(0, 0, 0, 0);
2753
+ const u = ye(d, t);
2737
2754
  return +n >= +c ? r + 1 : +n >= +u ? r : r - 1;
2738
2755
  }
2739
- function hs(e, t) {
2740
- const n = De(), r = t?.firstWeekContainsDate ?? t?.locale?.options?.firstWeekContainsDate ?? n.firstWeekContainsDate ?? n.locale?.options?.firstWeekContainsDate ?? 1, o = Qt(e, t), a = X(t?.in || e, 0);
2756
+ function gs(e, t) {
2757
+ const n = Re(), r = t?.firstWeekContainsDate ?? t?.locale?.options?.firstWeekContainsDate ?? n.firstWeekContainsDate ?? n.locale?.options?.firstWeekContainsDate ?? 1, o = Qt(e, t), a = U(t?.in || e, 0);
2741
2758
  return a.setFullYear(o, 0, r), a.setHours(0, 0, 0, 0), ye(a, t);
2742
2759
  }
2743
- function ms(e, t) {
2744
- const n = Y(e, t?.in), r = +ye(n, t) - +hs(n, t);
2760
+ function ys(e, t) {
2761
+ const n = Y(e, t?.in), r = +ye(n, t) - +gs(n, t);
2745
2762
  return Math.round(r / Kt) + 1;
2746
2763
  }
2747
2764
  function x(e, t) {
2748
2765
  const n = e < 0 ? "-" : "", r = Math.abs(e).toString().padStart(t, "0");
2749
2766
  return n + r;
2750
2767
  }
2751
- const J = {
2768
+ const Z = {
2752
2769
  // Year
2753
2770
  y(e, t) {
2754
2771
  const n = e.getFullYear(), r = n > 0 ? n : 1 - n;
@@ -2808,7 +2825,7 @@ const J = {
2808
2825
  afternoon: "afternoon",
2809
2826
  evening: "evening",
2810
2827
  night: "night"
2811
- }, lt = {
2828
+ }, ut = {
2812
2829
  // Era
2813
2830
  G: function(e, t, n) {
2814
2831
  const r = e.getFullYear() > 0 ? 1 : 0;
@@ -2831,7 +2848,7 @@ const J = {
2831
2848
  const r = e.getFullYear(), o = r > 0 ? r : 1 - r;
2832
2849
  return n.ordinalNumber(o, { unit: "year" });
2833
2850
  }
2834
- return J.y(e, t);
2851
+ return Z.y(e, t);
2835
2852
  },
2836
2853
  // Local week-numbering year
2837
2854
  Y: function(e, t, n, r) {
@@ -2930,7 +2947,7 @@ const J = {
2930
2947
  switch (t) {
2931
2948
  case "M":
2932
2949
  case "MM":
2933
- return J.M(e, t);
2950
+ return Z.M(e, t);
2934
2951
  // 1st, 2nd, ..., 12th
2935
2952
  case "Mo":
2936
2953
  return n.ordinalNumber(r + 1, { unit: "month" });
@@ -2981,21 +2998,21 @@ const J = {
2981
2998
  },
2982
2999
  // Local week of year
2983
3000
  w: function(e, t, n, r) {
2984
- const o = ms(e, r);
3001
+ const o = ys(e, r);
2985
3002
  return t === "wo" ? n.ordinalNumber(o, { unit: "week" }) : x(o, t.length);
2986
3003
  },
2987
3004
  // ISO week of year
2988
3005
  I: function(e, t, n) {
2989
- const r = us(e);
3006
+ const r = ws(e);
2990
3007
  return t === "Io" ? n.ordinalNumber(r, { unit: "week" }) : x(r, t.length);
2991
3008
  },
2992
3009
  // Day of the month
2993
3010
  d: function(e, t, n) {
2994
- return t === "do" ? n.ordinalNumber(e.getDate(), { unit: "date" }) : J.d(e, t);
3011
+ return t === "do" ? n.ordinalNumber(e.getDate(), { unit: "date" }) : Z.d(e, t);
2995
3012
  },
2996
3013
  // Day of year
2997
3014
  D: function(e, t, n) {
2998
- const r = ds(e);
3015
+ const r = ps(e);
2999
3016
  return t === "Do" ? n.ordinalNumber(r, { unit: "dayOfYear" }) : x(r, t.length);
3000
3017
  },
3001
3018
  // Day of week
@@ -3226,11 +3243,11 @@ const J = {
3226
3243
  let r = e.getHours() % 12;
3227
3244
  return r === 0 && (r = 12), n.ordinalNumber(r, { unit: "hour" });
3228
3245
  }
3229
- return J.h(e, t);
3246
+ return Z.h(e, t);
3230
3247
  },
3231
3248
  // Hour [0-23]
3232
3249
  H: function(e, t, n) {
3233
- return t === "Ho" ? n.ordinalNumber(e.getHours(), { unit: "hour" }) : J.H(e, t);
3250
+ return t === "Ho" ? n.ordinalNumber(e.getHours(), { unit: "hour" }) : Z.H(e, t);
3234
3251
  },
3235
3252
  // Hour [0-11]
3236
3253
  K: function(e, t, n) {
@@ -3244,15 +3261,15 @@ const J = {
3244
3261
  },
3245
3262
  // Minute
3246
3263
  m: function(e, t, n) {
3247
- return t === "mo" ? n.ordinalNumber(e.getMinutes(), { unit: "minute" }) : J.m(e, t);
3264
+ return t === "mo" ? n.ordinalNumber(e.getMinutes(), { unit: "minute" }) : Z.m(e, t);
3248
3265
  },
3249
3266
  // Second
3250
3267
  s: function(e, t, n) {
3251
- return t === "so" ? n.ordinalNumber(e.getSeconds(), { unit: "second" }) : J.s(e, t);
3268
+ return t === "so" ? n.ordinalNumber(e.getSeconds(), { unit: "second" }) : Z.s(e, t);
3252
3269
  },
3253
3270
  // Fraction of second
3254
3271
  S: function(e, t) {
3255
- return J.S(e, t);
3272
+ return Z.S(e, t);
3256
3273
  },
3257
3274
  // Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
3258
3275
  X: function(e, t, n) {
@@ -3262,7 +3279,7 @@ const J = {
3262
3279
  switch (t) {
3263
3280
  // Hours and optional minutes
3264
3281
  case "X":
3265
- return ut(r);
3282
+ return mt(r);
3266
3283
  // Hours, minutes and optional seconds without `:` delimiter
3267
3284
  // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
3268
3285
  // so this token always has the same output as `XX`
@@ -3280,7 +3297,7 @@ const J = {
3280
3297
  switch (t) {
3281
3298
  // Hours and optional minutes
3282
3299
  case "x":
3283
- return ut(r);
3300
+ return mt(r);
3284
3301
  // Hours, minutes and optional seconds without `:` delimiter
3285
3302
  // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
3286
3303
  // so this token always has the same output as `xx`
@@ -3300,7 +3317,7 @@ const J = {
3300
3317
  case "O":
3301
3318
  case "OO":
3302
3319
  case "OOO":
3303
- return "GMT" + dt(r, ":");
3320
+ return "GMT" + ht(r, ":");
3304
3321
  default:
3305
3322
  return "GMT" + se(r, ":");
3306
3323
  }
@@ -3313,7 +3330,7 @@ const J = {
3313
3330
  case "z":
3314
3331
  case "zz":
3315
3332
  case "zzz":
3316
- return "GMT" + dt(r, ":");
3333
+ return "GMT" + ht(r, ":");
3317
3334
  default:
3318
3335
  return "GMT" + se(r, ":");
3319
3336
  }
@@ -3328,18 +3345,18 @@ const J = {
3328
3345
  return x(+e, t.length);
3329
3346
  }
3330
3347
  };
3331
- function dt(e, t = "") {
3348
+ function ht(e, t = "") {
3332
3349
  const n = e > 0 ? "-" : "+", r = Math.abs(e), o = Math.trunc(r / 60), a = r % 60;
3333
3350
  return a === 0 ? n + String(o) : n + String(o) + t + x(a, 2);
3334
3351
  }
3335
- function ut(e, t) {
3352
+ function mt(e, t) {
3336
3353
  return e % 60 === 0 ? (e > 0 ? "-" : "+") + x(Math.abs(e) / 60, 2) : se(e, t);
3337
3354
  }
3338
3355
  function se(e, t = "") {
3339
3356
  const n = e > 0 ? "-" : "+", r = Math.abs(e), o = x(Math.trunc(r / 60), 2), a = x(r % 60, 2);
3340
3357
  return n + o + t + a;
3341
3358
  }
3342
- const ht = (e, t) => {
3359
+ const ft = (e, t) => {
3343
3360
  switch (e) {
3344
3361
  case "P":
3345
3362
  return t.date({ width: "short" });
@@ -3361,10 +3378,10 @@ const ht = (e, t) => {
3361
3378
  default:
3362
3379
  return t.time({ width: "full" });
3363
3380
  }
3364
- }, fs = (e, t) => {
3381
+ }, bs = (e, t) => {
3365
3382
  const n = e.match(/(P+)(p+)?/) || [], r = n[1], o = n[2];
3366
3383
  if (!o)
3367
- return ht(e, t);
3384
+ return ft(e, t);
3368
3385
  let a;
3369
3386
  switch (r) {
3370
3387
  case "P":
@@ -3380,70 +3397,70 @@ const ht = (e, t) => {
3380
3397
  a = t.dateTime({ width: "full" });
3381
3398
  break;
3382
3399
  }
3383
- return a.replace("{{date}}", ht(r, t)).replace("{{time}}", Xt(o, t));
3384
- }, ps = {
3400
+ return a.replace("{{date}}", ft(r, t)).replace("{{time}}", Xt(o, t));
3401
+ }, vs = {
3385
3402
  p: Xt,
3386
- P: fs
3387
- }, gs = /^D+$/, ws = /^Y+$/, ys = ["D", "DD", "YY", "YYYY"];
3388
- function bs(e) {
3389
- return gs.test(e);
3403
+ P: bs
3404
+ }, Cs = /^D+$/, xs = /^Y+$/, ks = ["D", "DD", "YY", "YYYY"];
3405
+ function Ss(e) {
3406
+ return Cs.test(e);
3390
3407
  }
3391
- function vs(e) {
3392
- return ws.test(e);
3408
+ function Ps(e) {
3409
+ return xs.test(e);
3393
3410
  }
3394
- function Cs(e, t, n) {
3395
- const r = xs(e, t, n);
3396
- if (console.warn(r), ys.includes(e)) throw new RangeError(r);
3411
+ function Os(e, t, n) {
3412
+ const r = Is(e, t, n);
3413
+ if (console.warn(r), ks.includes(e)) throw new RangeError(r);
3397
3414
  }
3398
- function xs(e, t, n) {
3415
+ function Is(e, t, n) {
3399
3416
  const r = e[0] === "Y" ? "years" : "days of the month";
3400
3417
  return `Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
3401
3418
  }
3402
- const ks = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Ss = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Ps = /^'([^]*?)'?$/, Os = /''/g, Is = /[a-zA-Z]/;
3403
- function Ts(e, t, n) {
3404
- const r = De(), o = r.locale ?? ls, a = r.firstWeekContainsDate ?? r.locale?.options?.firstWeekContainsDate ?? 1, i = r.weekStartsOn ?? r.locale?.options?.weekStartsOn ?? 0, c = Y(e, n?.in);
3405
- if (!Do(c))
3419
+ const Ts = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Ds = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Rs = /^'([^]*?)'?$/, Es = /''/g, Ms = /[a-zA-Z]/;
3420
+ function Gs(e, t, n) {
3421
+ const r = Re(), o = r.locale ?? fs, a = r.firstWeekContainsDate ?? r.locale?.options?.firstWeekContainsDate ?? 1, i = r.weekStartsOn ?? r.locale?.options?.weekStartsOn ?? 0, c = Y(e, n?.in);
3422
+ if (!Wo(c))
3406
3423
  throw new RangeError("Invalid time value");
3407
- let l = t.match(Ss).map((d) => {
3408
- const h = d[0];
3424
+ let d = t.match(Ds).map((l) => {
3425
+ const h = l[0];
3409
3426
  if (h === "p" || h === "P") {
3410
- const f = ps[h];
3411
- return f(d, o.formatLong);
3427
+ const f = vs[h];
3428
+ return f(l, o.formatLong);
3412
3429
  }
3413
- return d;
3414
- }).join("").match(ks).map((d) => {
3415
- if (d === "''")
3430
+ return l;
3431
+ }).join("").match(Ts).map((l) => {
3432
+ if (l === "''")
3416
3433
  return { isToken: !1, value: "'" };
3417
- const h = d[0];
3434
+ const h = l[0];
3418
3435
  if (h === "'")
3419
- return { isToken: !1, value: Ds(d) };
3420
- if (lt[h])
3421
- return { isToken: !0, value: d };
3422
- if (h.match(Is))
3436
+ return { isToken: !1, value: Ws(l) };
3437
+ if (ut[h])
3438
+ return { isToken: !0, value: l };
3439
+ if (h.match(Ms))
3423
3440
  throw new RangeError(
3424
3441
  "Format string contains an unescaped latin alphabet character `" + h + "`"
3425
3442
  );
3426
- return { isToken: !1, value: d };
3443
+ return { isToken: !1, value: l };
3427
3444
  });
3428
- o.localize.preprocessor && (l = o.localize.preprocessor(c, l));
3445
+ o.localize.preprocessor && (d = o.localize.preprocessor(c, d));
3429
3446
  const u = {
3430
3447
  firstWeekContainsDate: a,
3431
3448
  weekStartsOn: i,
3432
3449
  locale: o
3433
3450
  };
3434
- return l.map((d) => {
3435
- if (!d.isToken) return d.value;
3436
- const h = d.value;
3437
- (vs(h) || bs(h)) && Cs(h, t, String(e));
3438
- const f = lt[h[0]];
3451
+ return d.map((l) => {
3452
+ if (!l.isToken) return l.value;
3453
+ const h = l.value;
3454
+ (Ps(h) || Ss(h)) && Os(h, t, String(e));
3455
+ const f = ut[h[0]];
3439
3456
  return f(c, h, o.localize, u);
3440
3457
  }).join("");
3441
3458
  }
3442
- function Ds(e) {
3443
- const t = e.match(Ps);
3444
- return t ? t[1].replace(Os, "'") : e;
3459
+ function Ws(e) {
3460
+ const t = e.match(Rs);
3461
+ return t ? t[1].replace(Es, "'") : e;
3445
3462
  }
3446
- const Es = () => [
3463
+ const Bs = () => [
3447
3464
  {
3448
3465
  id: "123",
3449
3466
  active: !1,
@@ -3612,26 +3629,26 @@ const Es = () => [
3612
3629
  numPassengers: 655,
3613
3630
  departure: D(/* @__PURE__ */ new Date(), 5)
3614
3631
  }
3615
- ], mt = (e, t, n) => e.map((r) => r.id === t ? { ...r, ...n } : r), ea = {
3632
+ ], pt = (e, t, n) => e.map((r) => r.id === t ? { ...r, ...n } : r), aa = {
3616
3633
  keyResolver: (e) => e.id,
3617
3634
  showHeaderCheckbox: !0,
3618
3635
  showRowCheckbox: !0,
3619
3636
  enableGridCell: !0,
3620
3637
  columns: {
3621
- id: le((e) => e.id),
3622
- active: le((e) => e.active, {
3638
+ id: ce((e) => e.id),
3639
+ active: ce((e) => e.active, {
3623
3640
  disableGridCellFocus: !0,
3624
- renderCell: ({ item: e, gridCell: { requiredProps: t } }) => /* @__PURE__ */ s(G, { children: /* @__PURE__ */ s(Le, { value: e.active, ...t }) }),
3641
+ renderCell: ({ item: e, gridCell: { requiredProps: t } }) => /* @__PURE__ */ s(W, { children: /* @__PURE__ */ s(Ne, { value: e.active, ...t }) }),
3625
3642
  infoIconTooltipText: "Active means out on the sea."
3626
3643
  }),
3627
- name: le((e) => e.name, {
3644
+ name: ce((e) => e.name, {
3628
3645
  justifyContentHeader: "flex-end",
3629
3646
  justifyContentCell: "flex-end",
3630
3647
  infoIconTooltipText: "Ohoh"
3631
3648
  }),
3632
- ship: le((e) => e.ship, {}),
3633
- numPassengers: le((e) => e.numPassengers, {
3634
- renderCell: xo(),
3649
+ ship: ce((e) => e.ship, {}),
3650
+ numPassengers: ce((e) => e.numPassengers, {
3651
+ renderCell: Io(),
3635
3652
  isEditable: !0,
3636
3653
  onChange: () => {
3637
3654
  },
@@ -3639,17 +3656,17 @@ const Es = () => [
3639
3656
  justifyContentCell: "flex-end",
3640
3657
  width: "140px"
3641
3658
  }),
3642
- departure: le((e) => e.departure, {
3643
- itemLabelFormatter: (e) => Ts(e, "yyyy-MM-dd"),
3659
+ departure: ce((e) => e.departure, {
3660
+ itemLabelFormatter: (e) => Gs(e, "yyyy-MM-dd"),
3644
3661
  borderLeft: !0
3645
3662
  })
3646
3663
  },
3647
3664
  columnOrder: ["id", "active", "name", "ship", "numPassengers", "departure"]
3648
- }, ta = Es(), na = (e) => {
3649
- const [t, n] = Se(e), r = P(
3665
+ }, ia = Bs(), ca = (e) => {
3666
+ const [t, n] = Pe(e), r = P(
3650
3667
  (a, i) => {
3651
3668
  n(
3652
- mt(t, a.id, {
3669
+ pt(t, a.id, {
3653
3670
  numPassengers: i ? parseInt(i) : void 0
3654
3671
  })
3655
3672
  );
@@ -3658,7 +3675,7 @@ const Es = () => [
3658
3675
  ), o = P(
3659
3676
  (a, i) => {
3660
3677
  n(
3661
- mt(t, a.id, {
3678
+ pt(t, a.id, {
3662
3679
  active: i
3663
3680
  })
3664
3681
  );
@@ -3672,78 +3689,78 @@ const Es = () => [
3672
3689
  };
3673
3690
  };
3674
3691
  export {
3675
- xt as CrudStatusIndicator,
3676
- Us as EditableTextCellWithCrudAndModified,
3677
- Ct as GridHooksContext,
3678
- js as GridHooksTable,
3692
+ St as CrudStatusIndicator,
3693
+ ra as EditableTextCellWithCrudAndModified,
3694
+ kt as GridHooksContext,
3695
+ Xs as GridHooksTable,
3679
3696
  In as ModifiedField,
3680
- Vs as SmallTableCell,
3681
- Ks as SmallTableHead,
3682
- Js as StandardTable,
3683
- Rt as StandardTableActionsContext,
3697
+ Js as SmallTableCell,
3698
+ Zs as SmallTableHead,
3699
+ oa as StandardTable,
3700
+ Mt as StandardTableActionsContext,
3684
3701
  Jr as StandardTableCell,
3685
3702
  Qr as StandardTableCellUi,
3686
- Mt as StandardTableConfigContext,
3687
- fo as StandardTableContent,
3688
- Co as StandardTableHeadRow,
3689
- eo as StandardTableRow,
3690
- Hr as StandardTableRowCheckbox,
3691
- mo as StandardTableRowList,
3703
+ Gt as StandardTableConfigContext,
3704
+ bo as StandardTableContent,
3705
+ Oo as StandardTableHeadRow,
3706
+ so as StandardTableRow,
3707
+ Ar as StandardTableRowCheckbox,
3708
+ yo as StandardTableRowList,
3692
3709
  Et as StandardTableStateContext,
3693
- Dt as StandardTableTableIdContext,
3710
+ Rt as StandardTableTableIdContext,
3694
3711
  Tn as TableCell,
3695
- $s as TableColumnGroupHead,
3712
+ ea as TableColumnGroupHead,
3696
3713
  ze as TableHeadItem,
3697
- Qs as TableHeadRow,
3698
- Xs as TableRow,
3714
+ ta as TableHeadRow,
3715
+ na as TableRow,
3699
3716
  Xr as TextCell,
3700
- le as createColumnConfig,
3701
- Zs as createEditableTextCellWithStatus,
3717
+ ce as createColumnConfig,
3718
+ sa as createEditableTextCellWithStatus,
3702
3719
  Yt as createGroupConfigAndIdsForRows,
3703
3720
  tr as createInternalStandardTableActions,
3704
- Es as createItemsMocks,
3705
- xo as createStandardEditableTextCell,
3721
+ Bs as createItemsMocks,
3722
+ Io as createStandardEditableTextCell,
3706
3723
  Tr as createStandardTableActions,
3707
- Gt as createStandardTableInitialState,
3724
+ Wt as createStandardTableInitialState,
3708
3725
  nr as createStandardTableReducer,
3709
3726
  Ye as defaultTableHeadRowHeight,
3710
- Ne as defaultTableRowHeight,
3711
- Tt as focusOnCell,
3727
+ _e as defaultTableRowHeight,
3728
+ Dt as focusOnCell,
3712
3729
  Vr as formatColumnIdToHeaderCellLabel,
3713
3730
  jr as formatValueLabel,
3714
3731
  Ae as hasIndicatorContent,
3715
- ta as mockedItems,
3732
+ ia as mockedItems,
3716
3733
  Lr as multitypeComparator,
3717
- mt as setListItemFields,
3718
- Pt as smallTableRowWidth,
3719
- ea as standardTableConfigForStories,
3720
- kt as tableBackgroundColorExpanded,
3721
- Rn as tableBackgroundHoverColorExpanded,
3722
- we as tableBorder,
3734
+ pt as setListItemFields,
3735
+ Ot as smallTableRowWidth,
3736
+ aa as standardTableConfigForStories,
3737
+ Pt as tableBackgroundColorExpanded,
3738
+ En as tableBackgroundHoverColorExpanded,
3739
+ ge as tableBorder,
3723
3740
  Dn as tableBorderColor,
3724
- En as tableBorderColorExpanded,
3741
+ Rn as tableBorderColorExpanded,
3725
3742
  Mn as tableBorderHidden,
3726
3743
  He as tableBorderLeft,
3727
- St as tableBorderLeftExpanded,
3728
- st as useCellBackgroundByColumnConfig,
3729
- _r as useCellBackgroundByColumnId,
3744
+ Us as tableBorderLeftExpanded,
3745
+ it as useCellBackgroundByColumnConfig,
3746
+ qr as useCellBackgroundByColumnId,
3730
3747
  Ce as useColumnConfigById,
3731
- Ar as useColumnValueResolver,
3732
- An as useEditableCell,
3733
- dr as useFirstColumnConfig,
3734
- Ie as useGridCell,
3748
+ Nr as useColumnValueResolver,
3749
+ Nn as useEditableCell,
3750
+ lr as useFirstColumnConfig,
3751
+ Te as useGridCell,
3735
3752
  Jn as useGridNavigation,
3736
- Ot as useGridNavigationOptionsFromContext,
3753
+ It as useGridNavigationOptionsFromContext,
3737
3754
  ur as useLastColumnConfig,
3738
- na as useListState,
3755
+ ca as useListState,
3739
3756
  Dr as useLocalStateTableContext,
3740
- Fn as useRevertableValue,
3741
- Yr as useRowCheckbox,
3757
+ Bn as useRevertableValue,
3758
+ _r as useRowCheckbox,
3742
3759
  ve as useStandardTableActions,
3743
3760
  T as useStandardTableConfig,
3744
3761
  qe as useStandardTableId,
3745
- he as useStandardTableState,
3746
- po as useTableHeadCheckbox,
3747
- wo as useTableSortHeader
3762
+ ue as useStandardTableState,
3763
+ vo as useTableHeadCheckbox,
3764
+ xo as useTableSortHeader
3748
3765
  };
3749
3766
  //# sourceMappingURL=index.es.js.map