@companycam/slab-web 2.5.0 → 2.5.1

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/index.mjs CHANGED
@@ -393,7 +393,7 @@ const vn = ({ disabled: e = !1, readOnly: r = !1 }) => `
393
393
  children: e
394
394
  }
395
395
  ) : e;
396
- function VC({
396
+ function BC({
397
397
  contentAfter: e,
398
398
  contentTopLeft: r,
399
399
  contentTopRight: n,
@@ -3818,7 +3818,7 @@ const Ch = /* @__PURE__ */ $h(kh), Dh = w.ul`
3818
3818
  all: initial;
3819
3819
  flex-shrink: 0;
3820
3820
  `;
3821
- function BC({
3821
+ function WC({
3822
3822
  avatars: e,
3823
3823
  renderListFooter: r,
3824
3824
  size: n = "medium",
@@ -3929,7 +3929,7 @@ const ht = {
3929
3929
  display: none;
3930
3930
  }
3931
3931
  `;
3932
- function WC({
3932
+ function GC({
3933
3933
  children: e,
3934
3934
  color: r = ht.info,
3935
3935
  iconName: n,
@@ -4414,7 +4414,7 @@ const am = (e) => {
4414
4414
  min-width: var(--cc_size_avatar_xs);
4415
4415
  height: var(--cc_size_avatar_xs);
4416
4416
  border-radius: var(--cc_size_border_radius_pill);
4417
- `, GC = Le(
4417
+ `, jC = Le(
4418
4418
  ({ count: e, icon: r, status: n = "normal", loading: t, ...o }, i) => {
4419
4419
  const a = n === "active" && e && e >= 1;
4420
4420
  return /* @__PURE__ */ A(
@@ -4547,7 +4547,7 @@ const fm = w.div`
4547
4547
  `, vm = (e) => ({
4548
4548
  ...e.onClick ? { as: "button", type: "button" } : { as: e.href ? "a" : "div" },
4549
4549
  ...e
4550
- }), jC = ({
4550
+ }), KC = ({
4551
4551
  children: e,
4552
4552
  className: r,
4553
4553
  containerStyle: n,
@@ -4650,7 +4650,7 @@ const wm = w.span`
4650
4650
  font-size: var(--cc_size_text_m);
4651
4651
  width: ${ko};
4652
4652
  `;
4653
- function KC({ closeAction: e, ...r }) {
4653
+ function qC({ closeAction: e, ...r }) {
4654
4654
  const { children: n, iconName: t, contentBefore: o, size: i = "medium", ...a } = r;
4655
4655
  return /* @__PURE__ */ _(wm, { $size: i, ...a, children: /* @__PURE__ */ _(
4656
4656
  Fu,
@@ -4691,7 +4691,7 @@ const Sm = w.button`
4691
4691
  ` : null}
4692
4692
  ${(e) => e.disabled ? pt : null}
4693
4693
  `;
4694
- function qC({ pressed: e = !1, ...r }) {
4694
+ function UC({ pressed: e = !1, ...r }) {
4695
4695
  const {
4696
4696
  children: n,
4697
4697
  disabled: t = !1,
@@ -4728,7 +4728,7 @@ const km = w.div`
4728
4728
  overflow: hidden;
4729
4729
  transition: height ${(e) => e.$duration}ms ease;
4730
4730
  `;
4731
- function UC({
4731
+ function QC({
4732
4732
  isOpen: e,
4733
4733
  collapsedHeight: r = "0px",
4734
4734
  duration: n = 300,
@@ -4810,7 +4810,7 @@ const Cm = w.div`
4810
4810
  border-start-start-radius: 0;
4811
4811
  `}
4812
4812
  `;
4813
- function QC({
4813
+ function XC({
4814
4814
  ccMargin: e,
4815
4815
  design: r = "other",
4816
4816
  children: n,
@@ -4944,7 +4944,7 @@ const Lu = mn`
4944
4944
  animation-timing-function: ${$e.easeOut};
4945
4945
  animation-delay: 100ms; /* wait a little bit for the backdrop to fade in first */
4946
4946
  `;
4947
- function XC({
4947
+ function ZC({
4948
4948
  as: e,
4949
4949
  backDropStyle: r,
4950
4950
  children: n,
@@ -5029,7 +5029,7 @@ const zu = w.span`
5029
5029
  `;
5030
5030
  })}
5031
5031
  `;
5032
- function ZC({
5032
+ function JC({
5033
5033
  children: e,
5034
5034
  debug: r = !1,
5035
5035
  id: n,
@@ -5067,7 +5067,7 @@ const Am = w.hr`
5067
5067
  margin: ${yt(e.$ccMargin)};
5068
5068
  ` : null}
5069
5069
  `;
5070
- function JC({ ccMargin: e, ...r }) {
5070
+ function eD({ ccMargin: e, ...r }) {
5071
5071
  return /* @__PURE__ */ _(Am, { $ccMargin: e, ...r });
5072
5072
  }
5073
5073
  const Hm = w.div`
@@ -5415,7 +5415,7 @@ function Bu({ layout: e = "block", ...r }) {
5415
5415
  }
5416
5416
  );
5417
5417
  }
5418
- function eD({
5418
+ function tD({
5419
5419
  onChange: e,
5420
5420
  options: r,
5421
5421
  selectedValues: n,
@@ -11722,7 +11722,7 @@ const Wy = F`
11722
11722
  margin-block-end: var(--cc_size_spacing_xs);
11723
11723
  `}
11724
11724
  `;
11725
- function tD({
11725
+ function nD({
11726
11726
  hideLabel: e,
11727
11727
  label: r,
11728
11728
  children: n,
@@ -11856,7 +11856,7 @@ function Jy({ messages: e, id: r, status: n }) {
11856
11856
  /* @__PURE__ */ _(Hu, { children: t })
11857
11857
  ] }) }, o)) }) });
11858
11858
  }
11859
- const nD = Le(
11859
+ const rD = Le(
11860
11860
  ({
11861
11861
  onDrop: e,
11862
11862
  onDropAccepted: r,
@@ -12077,7 +12077,7 @@ const nD = Le(
12077
12077
  }
12078
12078
  ), a0 = w(hs)`
12079
12079
  margin-inline-end: var(--cc_size_spacing_s);
12080
- `, rD = Le(
12080
+ `, oD = Le(
12081
12081
  (e, r) => {
12082
12082
  const [n, t] = ae();
12083
12083
  return /* @__PURE__ */ _(
@@ -12245,7 +12245,7 @@ const nD = Le(
12245
12245
  );
12246
12246
  }
12247
12247
  );
12248
- function oD({
12248
+ function iD({
12249
12249
  onChange: e,
12250
12250
  options: r,
12251
12251
  selectedValue: n,
@@ -12362,7 +12362,7 @@ const u0 = w.span`
12362
12362
  `, g0 = (e, r, n) => Math.round((e - r) / n) * n + r, h0 = (e, r, n) => {
12363
12363
  const t = n > 0 ? n : 1, o = e + (r - e) / 2;
12364
12364
  return g0(o, e, t);
12365
- }, iD = Le(
12365
+ }, aD = Le(
12366
12366
  ({
12367
12367
  contentBefore: e,
12368
12368
  contentAfter: r,
@@ -12506,7 +12506,7 @@ const u0 = w.span`
12506
12506
  font-size: var(--cc_size_text_l);
12507
12507
  color: var(--cc_color_link_subtle);
12508
12508
  pointer-events: none;
12509
- `, aD = Le(
12509
+ `, sD = Le(
12510
12510
  ({
12511
12511
  className: e,
12512
12512
  style: r,
@@ -12624,7 +12624,7 @@ const u0 = w.span`
12624
12624
  "--textarea-height",
12625
12625
  `${n}px`
12626
12626
  );
12627
- }, sD = Le(
12627
+ }, lD = Le(
12628
12628
  ({
12629
12629
  hideLabel: e = !1,
12630
12630
  inputSize: r = "medium",
@@ -12693,7 +12693,7 @@ const u0 = w.span`
12693
12693
  min-width: 0;
12694
12694
  color: ${(e) => e.$color === "yellow" ? Za : Io};
12695
12695
  `;
12696
- function lD({ color: e, ...r }) {
12696
+ function cD({ color: e, ...r }) {
12697
12697
  return /* @__PURE__ */ _(x0, { ...r, $color: e, children: /* @__PURE__ */ _(
12698
12698
  $0,
12699
12699
  {
@@ -12759,7 +12759,7 @@ const D0 = w.div`
12759
12759
  cover: "xMidYMid slice",
12760
12760
  fill: "none"
12761
12761
  };
12762
- function cD({
12762
+ function uD({
12763
12763
  accessibilityLabel: e,
12764
12764
  ccMargin: r,
12765
12765
  className: n,
@@ -15417,7 +15417,7 @@ const q$ = mn`
15417
15417
  }
15418
15418
  ) })
15419
15419
  ] });
15420
- }, pD = (e) => /* @__PURE__ */ _(Ef, { children: ({ open: r }) => /* @__PURE__ */ _(X$, { ...e, open: r }) }), Z$ = w.h3`
15420
+ }, gD = (e) => /* @__PURE__ */ _(Ef, { children: ({ open: r }) => /* @__PURE__ */ _(X$, { ...e, open: r }) }), Z$ = w.h3`
15421
15421
  all: initial;
15422
15422
  display: block;
15423
15423
  ${ft}
@@ -15428,7 +15428,7 @@ const q$ = mn`
15428
15428
  margin: calc(var(--cc_size_spacing_s) * 1.25) var(--cc_size_spacing_s)
15429
15429
  calc(var(--cc_size_spacing_s) * 0.75);
15430
15430
  `;
15431
- function gD({ ...e }) {
15431
+ function hD({ ...e }) {
15432
15432
  return /* @__PURE__ */ _(Z$, { ...e, "aria-hidden": "true" });
15433
15433
  }
15434
15434
  const J$ = w.button`
@@ -15465,7 +15465,7 @@ const J$ = w.button`
15465
15465
  display: flex;
15466
15466
  align-items: center;
15467
15467
  `;
15468
- function hD({
15468
+ function mD({
15469
15469
  children: e,
15470
15470
  iconName: r,
15471
15471
  contentAfter: n,
@@ -15651,7 +15651,7 @@ const oS = F`
15651
15651
  /* @__PURE__ */ _(jt, { children: t })
15652
15652
  ] });
15653
15653
  };
15654
- function mD({
15654
+ function vD({
15655
15655
  count: e,
15656
15656
  title: r,
15657
15657
  iconName: n,
@@ -15845,7 +15845,7 @@ const pS = w(Sf.Title)`
15845
15845
  n ? /* @__PURE__ */ _(wS, { children: n }) : null,
15846
15846
  r ? /* @__PURE__ */ _(xS, { children: r }) : null
15847
15847
  ] });
15848
- function vD({
15848
+ function _D({
15849
15849
  isOpen: e,
15850
15850
  onClose: r,
15851
15851
  as: n,
@@ -15940,7 +15940,7 @@ const kS = w.dialog`
15940
15940
  `, CS = (e, r) => {
15941
15941
  const n = r.getBoundingClientRect();
15942
15942
  return !(e.clientX > n.left && e.clientX < n.right && e.clientY > n.top && e.clientY < n.bottom);
15943
- }, _D = ({
15943
+ }, bD = ({
15944
15944
  isOpen: e,
15945
15945
  onClose: r,
15946
15946
  children: n,
@@ -16113,7 +16113,7 @@ const kS = w.dialog`
16113
16113
  font-size: ${({ size: e = Tn.medium }) => IS(e)}px;
16114
16114
  color: ${({ color: e = me.info }) => MS(e)};
16115
16115
  `;
16116
- function bD({
16116
+ function yD({
16117
16117
  children: e,
16118
16118
  ccMargin: r,
16119
16119
  color: n = me.info,
@@ -16188,7 +16188,7 @@ const NS = lr.header`
16188
16188
  align-items: flex-end;
16189
16189
  gap: var(--cc_size_spacing_s);
16190
16190
  `;
16191
- function yD({
16191
+ function wD({
16192
16192
  backAction: e,
16193
16193
  contentAfter: r,
16194
16194
  contentAfterHeading: n,
@@ -16258,7 +16258,7 @@ const WS = w.div`
16258
16258
  transform: none;
16259
16259
  }
16260
16260
  `;
16261
- function wD({
16261
+ function xD({
16262
16262
  as: e,
16263
16263
  children: r,
16264
16264
  isOpen: n,
@@ -16344,7 +16344,7 @@ const KS = w.div`
16344
16344
  ${(e) => Nc(e.$color, e.$isCompleted)}
16345
16345
  }
16346
16346
  `;
16347
- function xD({
16347
+ function $D({
16348
16348
  hideLabel: e = !1,
16349
16349
  labelStyle: r,
16350
16350
  size: n = "small",
@@ -16434,7 +16434,7 @@ const QS = {
16434
16434
  }
16435
16435
  return e === "large" ? "s" : "xs";
16436
16436
  };
16437
- function $D({
16437
+ function SD({
16438
16438
  formatValue: e,
16439
16439
  size: r = "medium",
16440
16440
  customDiameter: n,
@@ -16578,7 +16578,7 @@ const oi = {
16578
16578
  all: initial;
16579
16579
  ${nt}
16580
16580
  `, hk = (e, r, n) => e > 0 && e >= r || e === 0 && r <= n;
16581
- function SD({
16581
+ function kD({
16582
16582
  accessibilityLabel: e,
16583
16583
  className: r,
16584
16584
  "data-testid": n,
@@ -16646,20 +16646,35 @@ function SD({
16646
16646
  }
16647
16647
  );
16648
16648
  }
16649
- const mk = (e, r) => e ? nt : r === "group" ? F`
16649
+ const mk = ({
16650
+ mode: e,
16651
+ surface: r,
16652
+ className: n,
16653
+ ...t
16654
+ }) => /* @__PURE__ */ _(
16655
+ "div",
16656
+ {
16657
+ "data-mode": e,
16658
+ "data-surface": r,
16659
+ className: Ie("contents", n),
16660
+ ...t
16661
+ }
16662
+ );
16663
+ mk.displayName = "SlabProvider";
16664
+ const vk = (e, r) => e ? nt : r === "group" ? F`
16650
16665
  flex: 1;
16651
16666
  min-width: 1px;
16652
- ` : null, ii = Ja, vk = w.div`
16667
+ ` : null, ii = Ja, _k = w.div`
16653
16668
  display: flex;
16654
16669
  align-items: center;
16655
16670
  gap: var(--cc_size_spacing_s);
16656
16671
  ${(e) => e.$message ? F`
16657
16672
  margin-block-end: var(--cc_size_spacing_s);
16658
16673
  ` : null}
16659
- `, _k = w.label`
16674
+ `, bk = w.label`
16660
16675
  all: initial;
16661
- ${(e) => mk(e.$hideLabel, e.$layout)}
16662
- `, bk = w.span`
16676
+ ${(e) => vk(e.$hideLabel, e.$layout)}
16677
+ `, yk = w.span`
16663
16678
  ${Pe}
16664
16679
  flex: 1;
16665
16680
  min-width: 1px;
@@ -16683,7 +16698,7 @@ const mk = (e, r) => e ? nt : r === "group" ? F`
16683
16698
  transition: all 0.2s;
16684
16699
  background-color: var(--cc_color_button_text_secondary);
16685
16700
  }
16686
- `, yk = w.span`
16701
+ `, wk = w.span`
16687
16702
  height: 100%;
16688
16703
  display: grid;
16689
16704
  grid-template-columns: 1fr 1fr;
@@ -16694,7 +16709,7 @@ const mk = (e, r) => e ? nt : r === "group" ? F`
16694
16709
  transition: all 0.2s;
16695
16710
  transition-delay: 0.1s;
16696
16711
  color: ${(e) => e.$isPressed ? "var(--cc_color_button_text_secondary)" : "var(--cc_color_button_text_subtle)"};
16697
- `, wk = w.button`
16712
+ `, xk = w.button`
16698
16713
  all: initial; /* reset browser styles */
16699
16714
  ${vn} /* add our shared CoCam button styles */
16700
16715
  flex-shrink: 0;
@@ -16716,7 +16731,7 @@ const mk = (e, r) => e ? nt : r === "group" ? F`
16716
16731
  ` : F`
16717
16732
  background-color: var(--cc_color_button_background_subtle);
16718
16733
  `}
16719
- `, kD = ({
16734
+ `, CD = ({
16720
16735
  hideLabel: e,
16721
16736
  label: r,
16722
16737
  layout: n = "default",
@@ -16725,13 +16740,13 @@ const mk = (e, r) => e ? nt : r === "group" ? F`
16725
16740
  ...i
16726
16741
  }) => {
16727
16742
  const { status: a = "normal", className: s, message: l, style: c, ...u } = i, d = /* @__PURE__ */ _(
16728
- _k,
16743
+ bk,
16729
16744
  {
16730
16745
  id: `${i.id}-label`,
16731
16746
  $hideLabel: e,
16732
16747
  $layout: n,
16733
16748
  htmlFor: n === "default" ? i.id : "",
16734
- children: /* @__PURE__ */ _(bk, { children: r })
16749
+ children: /* @__PURE__ */ _(yk, { children: r })
16735
16750
  }
16736
16751
  );
16737
16752
  return /* @__PURE__ */ _(
@@ -16742,10 +16757,10 @@ const mk = (e, r) => e ? nt : r === "group" ? F`
16742
16757
  className: s,
16743
16758
  status: a,
16744
16759
  style: c,
16745
- children: /* @__PURE__ */ A(vk, { $layout: n, $message: l, children: [
16760
+ children: /* @__PURE__ */ A(_k, { $layout: n, $message: l, children: [
16746
16761
  n === "group" ? d : null,
16747
16762
  /* @__PURE__ */ A(
16748
- wk,
16763
+ xk,
16749
16764
  {
16750
16765
  "aria-labelledby": `${i.id}-label`,
16751
16766
  "aria-describedby": l ? `${i.id}-message` : "",
@@ -16756,7 +16771,7 @@ const mk = (e, r) => e ? nt : r === "group" ? F`
16756
16771
  "aria-pressed": o,
16757
16772
  ...u,
16758
16773
  children: [
16759
- /* @__PURE__ */ A(yk, { children: [
16774
+ /* @__PURE__ */ A(wk, { children: [
16760
16775
  /* @__PURE__ */ _(
16761
16776
  Ac,
16762
16777
  {
@@ -16799,10 +16814,10 @@ function tt(e, r) {
16799
16814
  function Ni(e) {
16800
16815
  return e instanceof Function;
16801
16816
  }
16802
- function xk(e) {
16817
+ function $k(e) {
16803
16818
  return Array.isArray(e) && e.every((r) => typeof r == "number");
16804
16819
  }
16805
- function $k(e, r) {
16820
+ function Sk(e, r) {
16806
16821
  const n = [], t = (o) => {
16807
16822
  o.forEach((i) => {
16808
16823
  n.push(i);
@@ -16846,7 +16861,7 @@ function X(e, r, n, t) {
16846
16861
  onChange: t
16847
16862
  };
16848
16863
  }
16849
- function Sk(e, r, n, t) {
16864
+ function kk(e, r, n, t) {
16850
16865
  const o = () => {
16851
16866
  var a;
16852
16867
  return (a = i.getValue()) != null ? a : e.options.renderFallbackValue;
@@ -16869,7 +16884,7 @@ function Sk(e, r, n, t) {
16869
16884
  a.createCell == null || a.createCell(i, n, r, e);
16870
16885
  }, {}), i;
16871
16886
  }
16872
- function kk(e, r, n, t) {
16887
+ function Ck(e, r, n, t) {
16873
16888
  var o, i;
16874
16889
  const s = {
16875
16890
  ...e._getDefaultColumnDef(),
@@ -16939,7 +16954,7 @@ function Hc(e, r, n) {
16939
16954
  a.createHeader == null || a.createHeader(i, e);
16940
16955
  }), i;
16941
16956
  }
16942
- const Ck = {
16957
+ const Dk = {
16943
16958
  createTable: (e) => {
16944
16959
  e.getHeaderGroups = Q(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left, e.getState().columnPinning.right], (r, n, t, o) => {
16945
16960
  var i, a;
@@ -17024,7 +17039,7 @@ function wo(e, r, n, t) {
17024
17039
  });
17025
17040
  return d((o = (i = l[0]) == null ? void 0 : i.headers) != null ? o : []), l;
17026
17041
  }
17027
- const Dk = (e, r, n, t, o, i, a) => {
17042
+ const Ek = (e, r, n, t, o, i, a) => {
17028
17043
  let s = {
17029
17044
  id: r,
17030
17045
  index: t,
@@ -17052,7 +17067,7 @@ const Dk = (e, r, n, t, o, i, a) => {
17052
17067
  return (c = s.getValue(l)) != null ? c : e.options.renderFallbackValue;
17053
17068
  },
17054
17069
  subRows: [],
17055
- getLeafRows: () => $k(s.subRows, (l) => l.subRows),
17070
+ getLeafRows: () => Sk(s.subRows, (l) => l.subRows),
17056
17071
  getParentRow: () => s.parentId ? e.getRow(s.parentId, !0) : void 0,
17057
17072
  getParentRows: () => {
17058
17073
  let l = [], c = s;
@@ -17063,7 +17078,7 @@ const Dk = (e, r, n, t, o, i, a) => {
17063
17078
  }
17064
17079
  return l.reverse();
17065
17080
  },
17066
- getAllCells: Q(() => [e.getAllLeafColumns()], (l) => l.map((c) => Sk(e, s, c, c.id)), X(e.options, "debugRows", "getAllCells")),
17081
+ getAllCells: Q(() => [e.getAllLeafColumns()], (l) => l.map((c) => kk(e, s, c, c.id)), X(e.options, "debugRows", "getAllCells")),
17067
17082
  _getAllCellsByColumnId: Q(() => [s.getAllCells()], (l) => l.reduce((c, u) => (c[u.column.id] = u, c), {}), X(e.options, "debugRows", "getAllCellsByColumnId"))
17068
17083
  };
17069
17084
  for (let l = 0; l < e._features.length; l++) {
@@ -17071,7 +17086,7 @@ const Dk = (e, r, n, t, o, i, a) => {
17071
17086
  c == null || c.createRow == null || c.createRow(s, e);
17072
17087
  }
17073
17088
  return s;
17074
- }, Ek = {
17089
+ }, Mk = {
17075
17090
  createColumn: (e, r) => {
17076
17091
  e._getFacetedRowModel = r.options.getFacetedRowModel && r.options.getFacetedRowModel(r, e.id), e.getFacetedRowModel = () => e._getFacetedRowModel ? e._getFacetedRowModel() : r.getPreFilteredRowModel(), e._getFacetedUniqueValues = r.options.getFacetedUniqueValues && r.options.getFacetedUniqueValues(r, e.id), e.getFacetedUniqueValues = () => e._getFacetedUniqueValues ? e._getFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getFacetedMinMaxValues = r.options.getFacetedMinMaxValues && r.options.getFacetedMinMaxValues(r, e.id), e.getFacetedMinMaxValues = () => {
17077
17092
  if (e._getFacetedMinMaxValues)
@@ -17141,7 +17156,7 @@ const Ot = {
17141
17156
  function vt(e) {
17142
17157
  return e == null || e === "";
17143
17158
  }
17144
- const Mk = {
17159
+ const Rk = {
17145
17160
  getDefaultColumnDef: () => ({
17146
17161
  filterFn: "auto"
17147
17162
  }),
@@ -17219,54 +17234,54 @@ const Mk = {
17219
17234
  function Yc(e, r, n) {
17220
17235
  return (e && e.autoRemove ? e.autoRemove(r, n) : !1) || typeof r > "u" || typeof r == "string" && !r;
17221
17236
  }
17222
- const Rk = (e, r, n) => n.reduce((t, o) => {
17237
+ const Pk = (e, r, n) => n.reduce((t, o) => {
17223
17238
  const i = o.getValue(e);
17224
17239
  return t + (typeof i == "number" ? i : 0);
17225
- }, 0), Pk = (e, r, n) => {
17240
+ }, 0), Tk = (e, r, n) => {
17226
17241
  let t;
17227
17242
  return n.forEach((o) => {
17228
17243
  const i = o.getValue(e);
17229
17244
  i != null && (t > i || t === void 0 && i >= i) && (t = i);
17230
17245
  }), t;
17231
- }, Tk = (e, r, n) => {
17246
+ }, Ik = (e, r, n) => {
17232
17247
  let t;
17233
17248
  return n.forEach((o) => {
17234
17249
  const i = o.getValue(e);
17235
17250
  i != null && (t < i || t === void 0 && i >= i) && (t = i);
17236
17251
  }), t;
17237
- }, Ik = (e, r, n) => {
17252
+ }, Ok = (e, r, n) => {
17238
17253
  let t, o;
17239
17254
  return n.forEach((i) => {
17240
17255
  const a = i.getValue(e);
17241
17256
  a != null && (t === void 0 ? a >= a && (t = o = a) : (t > a && (t = a), o < a && (o = a)));
17242
17257
  }), [t, o];
17243
- }, Ok = (e, r) => {
17258
+ }, Fk = (e, r) => {
17244
17259
  let n = 0, t = 0;
17245
17260
  if (r.forEach((o) => {
17246
17261
  let i = o.getValue(e);
17247
17262
  i != null && (i = +i) >= i && (++n, t += i);
17248
17263
  }), n) return t / n;
17249
- }, Fk = (e, r) => {
17264
+ }, Lk = (e, r) => {
17250
17265
  if (!r.length)
17251
17266
  return;
17252
17267
  const n = r.map((i) => i.getValue(e));
17253
- if (!xk(n))
17268
+ if (!$k(n))
17254
17269
  return;
17255
17270
  if (n.length === 1)
17256
17271
  return n[0];
17257
17272
  const t = Math.floor(n.length / 2), o = n.sort((i, a) => i - a);
17258
17273
  return n.length % 2 !== 0 ? o[t] : (o[t - 1] + o[t]) / 2;
17259
- }, Lk = (e, r) => Array.from(new Set(r.map((n) => n.getValue(e))).values()), zk = (e, r) => new Set(r.map((n) => n.getValue(e))).size, Nk = (e, r) => r.length, pa = {
17260
- sum: Rk,
17261
- min: Pk,
17262
- max: Tk,
17263
- extent: Ik,
17264
- mean: Ok,
17265
- median: Fk,
17266
- unique: Lk,
17267
- uniqueCount: zk,
17268
- count: Nk
17269
- }, Ak = {
17274
+ }, zk = (e, r) => Array.from(new Set(r.map((n) => n.getValue(e))).values()), Nk = (e, r) => new Set(r.map((n) => n.getValue(e))).size, Ak = (e, r) => r.length, pa = {
17275
+ sum: Pk,
17276
+ min: Tk,
17277
+ max: Ik,
17278
+ extent: Ok,
17279
+ mean: Fk,
17280
+ median: Lk,
17281
+ unique: zk,
17282
+ uniqueCount: Nk,
17283
+ count: Ak
17284
+ }, Hk = {
17270
17285
  getDefaultColumnDef: () => ({
17271
17286
  aggregatedCell: (e) => {
17272
17287
  var r, n;
@@ -17333,13 +17348,13 @@ const Rk = (e, r, n) => n.reduce((t, o) => {
17333
17348
  };
17334
17349
  }
17335
17350
  };
17336
- function Hk(e, r, n) {
17351
+ function Yk(e, r, n) {
17337
17352
  if (!(r != null && r.length) || !n)
17338
17353
  return e;
17339
17354
  const t = e.filter((i) => !r.includes(i.id));
17340
17355
  return n === "remove" ? t : [...r.map((i) => e.find((a) => a.id === i)).filter(Boolean), ...t];
17341
17356
  }
17342
- const Yk = {
17357
+ const Vk = {
17343
17358
  getInitialState: (e) => ({
17344
17359
  columnOrder: [],
17345
17360
  ...e
@@ -17373,13 +17388,13 @@ const Yk = {
17373
17388
  }
17374
17389
  i = [...i, ...s];
17375
17390
  }
17376
- return Hk(i, n, t);
17391
+ return Yk(i, n, t);
17377
17392
  }, X(e.options, "debugTable", "_getOrderColumnsFn"));
17378
17393
  }
17379
17394
  }, ga = () => ({
17380
17395
  left: [],
17381
17396
  right: []
17382
- }), Vk = {
17397
+ }), Bk = {
17383
17398
  getInitialState: (e) => ({
17384
17399
  columnPinning: ga(),
17385
17400
  ...e
@@ -17456,7 +17471,7 @@ const Yk = {
17456
17471
  }, X(e.options, "debugColumns", "getCenterLeafColumns"));
17457
17472
  }
17458
17473
  };
17459
- function Bk(e) {
17474
+ function Wk(e) {
17460
17475
  return e || (typeof document < "u" ? document : null);
17461
17476
  }
17462
17477
  const xo = {
@@ -17470,7 +17485,7 @@ const xo = {
17470
17485
  deltaPercentage: null,
17471
17486
  isResizingColumn: !1,
17472
17487
  columnSizingStart: []
17473
- }), Wk = {
17488
+ }), Gk = {
17474
17489
  getDefaultColumnDef: () => xo,
17475
17490
  getInitialState: (e) => ({
17476
17491
  columnSizing: {},
@@ -17550,7 +17565,7 @@ const xo = {
17550
17565
  deltaPercentage: null,
17551
17566
  columnSizingStart: []
17552
17567
  }));
17553
- }, f = Bk(n), g = {
17568
+ }, f = Wk(n), g = {
17554
17569
  moveHandler: (v) => d(v.clientX),
17555
17570
  upHandler: (v) => {
17556
17571
  f?.removeEventListener("mousemove", g.moveHandler), f?.removeEventListener("mouseup", g.upHandler), p(v.clientX);
@@ -17561,7 +17576,7 @@ const xo = {
17561
17576
  var y;
17562
17577
  f?.removeEventListener("touchmove", h.moveHandler), f?.removeEventListener("touchend", h.upHandler), v.cancelable && (v.preventDefault(), v.stopPropagation()), p((y = v.touches[0]) == null ? void 0 : y.clientX);
17563
17578
  }
17564
- }, m = Gk() ? {
17579
+ }, m = jk() ? {
17565
17580
  passive: !1
17566
17581
  } : !1;
17567
17582
  ma(i) ? (f?.addEventListener("touchmove", h.moveHandler, m), f?.addEventListener("touchend", h.upHandler, m)) : (f?.addEventListener("mousemove", g.moveHandler, m), f?.addEventListener("mouseup", g.upHandler, m)), r.setColumnSizingInfo((v) => ({
@@ -17599,7 +17614,7 @@ const xo = {
17599
17614
  }
17600
17615
  };
17601
17616
  let $o = null;
17602
- function Gk() {
17617
+ function jk() {
17603
17618
  if (typeof $o == "boolean") return $o;
17604
17619
  let e = !1;
17605
17620
  try {
@@ -17618,7 +17633,7 @@ function Gk() {
17618
17633
  function ma(e) {
17619
17634
  return e.type === "touchstart";
17620
17635
  }
17621
- const jk = {
17636
+ const Kk = {
17622
17637
  getInitialState: (e) => ({
17623
17638
  columnVisibility: {},
17624
17639
  ...e
@@ -17666,14 +17681,14 @@ const jk = {
17666
17681
  function Rr(e, r) {
17667
17682
  return r ? r === "center" ? e.getCenterVisibleLeafColumns() : r === "left" ? e.getLeftVisibleLeafColumns() : e.getRightVisibleLeafColumns() : e.getVisibleLeafColumns();
17668
17683
  }
17669
- const Kk = {
17684
+ const qk = {
17670
17685
  createTable: (e) => {
17671
17686
  e._getGlobalFacetedRowModel = e.options.getFacetedRowModel && e.options.getFacetedRowModel(e, "__global__"), e.getGlobalFacetedRowModel = () => e.options.manualFiltering || !e._getGlobalFacetedRowModel ? e.getPreFilteredRowModel() : e._getGlobalFacetedRowModel(), e._getGlobalFacetedUniqueValues = e.options.getFacetedUniqueValues && e.options.getFacetedUniqueValues(e, "__global__"), e.getGlobalFacetedUniqueValues = () => e._getGlobalFacetedUniqueValues ? e._getGlobalFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getGlobalFacetedMinMaxValues = e.options.getFacetedMinMaxValues && e.options.getFacetedMinMaxValues(e, "__global__"), e.getGlobalFacetedMinMaxValues = () => {
17672
17687
  if (e._getGlobalFacetedMinMaxValues)
17673
17688
  return e._getGlobalFacetedMinMaxValues();
17674
17689
  };
17675
17690
  }
17676
- }, qk = {
17691
+ }, Uk = {
17677
17692
  getInitialState: (e) => ({
17678
17693
  globalFilter: void 0,
17679
17694
  ...e
@@ -17706,7 +17721,7 @@ const Kk = {
17706
17721
  e.setGlobalFilter(r ? void 0 : e.initialState.globalFilter);
17707
17722
  };
17708
17723
  }
17709
- }, Uk = {
17724
+ }, Qk = {
17710
17725
  getInitialState: (e) => ({
17711
17726
  expanded: {},
17712
17727
  ...e
@@ -17796,7 +17811,7 @@ const Kk = {
17796
17811
  }, ja = 0, Ka = 10, va = () => ({
17797
17812
  pageIndex: ja,
17798
17813
  pageSize: Ka
17799
- }), Qk = {
17814
+ }), Xk = {
17800
17815
  getInitialState: (e) => ({
17801
17816
  ...e,
17802
17817
  pagination: {
@@ -17879,7 +17894,7 @@ const Kk = {
17879
17894
  }, _a = () => ({
17880
17895
  top: [],
17881
17896
  bottom: []
17882
- }), Xk = {
17897
+ }), Zk = {
17883
17898
  getInitialState: (e) => ({
17884
17899
  rowPinning: _a(),
17885
17900
  ...e
@@ -17980,7 +17995,7 @@ const Kk = {
17980
17995
  return r.filter((i) => !o.has(i.id));
17981
17996
  }, X(e.options, "debugRows", "getCenterRows"));
17982
17997
  }
17983
- }, Zk = {
17998
+ }, Jk = {
17984
17999
  getInitialState: (e) => ({
17985
18000
  rowSelection: {},
17986
18001
  ...e
@@ -18136,10 +18151,10 @@ function Ua(e, r, n) {
18136
18151
  }
18137
18152
  }), o ? "all" : i ? "some" : !1;
18138
18153
  }
18139
- const Qa = /([0-9]+)/gm, Jk = (e, r, n) => Hf(gn(e.getValue(n)).toLowerCase(), gn(r.getValue(n)).toLowerCase()), eC = (e, r, n) => Hf(gn(e.getValue(n)), gn(r.getValue(n))), tC = (e, r, n) => Vs(gn(e.getValue(n)).toLowerCase(), gn(r.getValue(n)).toLowerCase()), nC = (e, r, n) => Vs(gn(e.getValue(n)), gn(r.getValue(n))), rC = (e, r, n) => {
18154
+ const Qa = /([0-9]+)/gm, eC = (e, r, n) => Hf(gn(e.getValue(n)).toLowerCase(), gn(r.getValue(n)).toLowerCase()), tC = (e, r, n) => Hf(gn(e.getValue(n)), gn(r.getValue(n))), nC = (e, r, n) => Vs(gn(e.getValue(n)).toLowerCase(), gn(r.getValue(n)).toLowerCase()), rC = (e, r, n) => Vs(gn(e.getValue(n)), gn(r.getValue(n))), oC = (e, r, n) => {
18140
18155
  const t = e.getValue(n), o = r.getValue(n);
18141
18156
  return t > o ? 1 : t < o ? -1 : 0;
18142
- }, oC = (e, r, n) => Vs(e.getValue(n), r.getValue(n));
18157
+ }, iC = (e, r, n) => Vs(e.getValue(n), r.getValue(n));
18143
18158
  function Vs(e, r) {
18144
18159
  return e === r ? 0 : e > r ? 1 : -1;
18145
18160
  }
@@ -18167,13 +18182,13 @@ function Hf(e, r) {
18167
18182
  return n.length - t.length;
18168
18183
  }
18169
18184
  const br = {
18170
- alphanumeric: Jk,
18171
- alphanumericCaseSensitive: eC,
18172
- text: tC,
18173
- textCaseSensitive: nC,
18174
- datetime: rC,
18175
- basic: oC
18176
- }, iC = {
18185
+ alphanumeric: eC,
18186
+ alphanumericCaseSensitive: tC,
18187
+ text: nC,
18188
+ textCaseSensitive: rC,
18189
+ datetime: oC,
18190
+ basic: iC
18191
+ }, aC = {
18177
18192
  getInitialState: (e) => ({
18178
18193
  sorting: [],
18179
18194
  ...e
@@ -18262,30 +18277,30 @@ const br = {
18262
18277
  e.setSorting(r ? [] : (n = (t = e.initialState) == null ? void 0 : t.sorting) != null ? n : []);
18263
18278
  }, e.getPreSortedRowModel = () => e.getGroupedRowModel(), e.getSortedRowModel = () => (!e._getSortedRowModel && e.options.getSortedRowModel && (e._getSortedRowModel = e.options.getSortedRowModel(e)), e.options.manualSorting || !e._getSortedRowModel ? e.getPreSortedRowModel() : e._getSortedRowModel());
18264
18279
  }
18265
- }, aC = [
18266
- Ck,
18267
- jk,
18268
- Yk,
18280
+ }, sC = [
18281
+ Dk,
18282
+ Kk,
18269
18283
  Vk,
18270
- Ek,
18284
+ Bk,
18271
18285
  Mk,
18272
- Kk,
18273
- //depends on ColumnFaceting
18286
+ Rk,
18274
18287
  qk,
18288
+ //depends on ColumnFaceting
18289
+ Uk,
18275
18290
  //depends on ColumnFiltering
18276
- iC,
18277
- Ak,
18291
+ aC,
18292
+ Hk,
18278
18293
  //depends on RowSorting
18279
- Uk,
18280
18294
  Qk,
18281
18295
  Xk,
18282
18296
  Zk,
18283
- Wk
18297
+ Jk,
18298
+ Gk
18284
18299
  ];
18285
- function sC(e) {
18300
+ function lC(e) {
18286
18301
  var r, n;
18287
18302
  process.env.NODE_ENV !== "production" && (e.debugAll || e.debugTable) && console.info("Creating Table Instance...");
18288
- const t = [...aC, ...(r = e._features) != null ? r : []];
18303
+ const t = [...sC, ...(r = e._features) != null ? r : []];
18289
18304
  let o = {
18290
18305
  _features: t
18291
18306
  };
@@ -18365,7 +18380,7 @@ function sC(e) {
18365
18380
  getAllColumns: Q(() => [o._getColumnDefs()], (p) => {
18366
18381
  const f = function(g, h, m) {
18367
18382
  return m === void 0 && (m = 0), g.map((v) => {
18368
- const y = kk(o, v, m, h), b = v;
18383
+ const y = Ck(o, v, m, h), b = v;
18369
18384
  return y.columns = b.columns ? f(b.columns, y, m + 1) : [], y;
18370
18385
  });
18371
18386
  };
@@ -18389,7 +18404,7 @@ function sC(e) {
18389
18404
  }
18390
18405
  return o;
18391
18406
  }
18392
- function lC() {
18407
+ function cC() {
18393
18408
  return (e) => Q(() => [e.options.data], (r) => {
18394
18409
  const n = {
18395
18410
  rows: [],
@@ -18399,7 +18414,7 @@ function lC() {
18399
18414
  i === void 0 && (i = 0);
18400
18415
  const s = [];
18401
18416
  for (let c = 0; c < o.length; c++) {
18402
- const u = Dk(e, e._getRowId(o[c], c, a), o[c], c, i, void 0, a?.id);
18417
+ const u = Ek(e, e._getRowId(o[c], c, a), o[c], c, i, void 0, a?.id);
18403
18418
  if (n.flatRows.push(u), n.rowsById[u.id] = u, s.push(u), e.options.getSubRows) {
18404
18419
  var l;
18405
18420
  u.originalSubRows = e.options.getSubRows(o[c], c), (l = u.originalSubRows) != null && l.length && (u.subRows = t(u.originalSubRows, i + 1, u));
@@ -18410,7 +18425,7 @@ function lC() {
18410
18425
  return n.rows = t(r), n;
18411
18426
  }, X(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
18412
18427
  }
18413
- function cC(e) {
18428
+ function uC(e) {
18414
18429
  const r = [], n = (t) => {
18415
18430
  var o;
18416
18431
  r.push(t), (o = t.subRows) != null && o.length && t.getIsExpanded() && t.subRows.forEach(n);
@@ -18421,7 +18436,7 @@ function cC(e) {
18421
18436
  rowsById: e.rowsById
18422
18437
  };
18423
18438
  }
18424
- function uC(e) {
18439
+ function dC(e) {
18425
18440
  return (r) => Q(() => [r.getState().pagination, r.getPrePaginationRowModel(), r.options.paginateExpandedRows ? void 0 : r.getState().expanded], (n, t) => {
18426
18441
  if (!t.rows.length)
18427
18442
  return t;
@@ -18441,7 +18456,7 @@ function uC(e) {
18441
18456
  rows: a,
18442
18457
  flatRows: s,
18443
18458
  rowsById: l
18444
- } : d = cC({
18459
+ } : d = uC({
18445
18460
  rows: a,
18446
18461
  flatRows: s,
18447
18462
  rowsById: l
@@ -18452,7 +18467,7 @@ function uC(e) {
18452
18467
  return d.rows.forEach(p), d;
18453
18468
  }, X(r.options, "debugTable", "getPaginationRowModel"));
18454
18469
  }
18455
- function dC() {
18470
+ function fC() {
18456
18471
  return (e) => Q(() => [e.getState().sorting, e.getPreSortedRowModel()], (r, n) => {
18457
18472
  if (!n.rows.length || !(r != null && r.length))
18458
18473
  return n;
@@ -18502,21 +18517,21 @@ function dC() {
18502
18517
  }, X(e.options, "debugTable", "getSortedRowModel", () => e._autoResetPageIndex()));
18503
18518
  }
18504
18519
  function Xa(e, r) {
18505
- return e ? fC(e) ? /* @__PURE__ */ S.createElement(e, r) : e : null;
18506
- }
18507
- function fC(e) {
18508
- return pC(e) || typeof e == "function" || gC(e);
18520
+ return e ? pC(e) ? /* @__PURE__ */ S.createElement(e, r) : e : null;
18509
18521
  }
18510
18522
  function pC(e) {
18523
+ return gC(e) || typeof e == "function" || hC(e);
18524
+ }
18525
+ function gC(e) {
18511
18526
  return typeof e == "function" && (() => {
18512
18527
  const r = Object.getPrototypeOf(e);
18513
18528
  return r.prototype && r.prototype.isReactComponent;
18514
18529
  })();
18515
18530
  }
18516
- function gC(e) {
18531
+ function hC(e) {
18517
18532
  return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);
18518
18533
  }
18519
- function hC(e) {
18534
+ function mC(e) {
18520
18535
  const r = {
18521
18536
  state: {},
18522
18537
  // Dummy state
@@ -18526,7 +18541,7 @@ function hC(e) {
18526
18541
  renderFallbackValue: null,
18527
18542
  ...e
18528
18543
  }, [n] = S.useState(() => ({
18529
- current: sC(r)
18544
+ current: lC(r)
18530
18545
  })), [t, o] = S.useState(() => n.current.initialState);
18531
18546
  return n.current.setOptions((i) => ({
18532
18547
  ...i,
@@ -18542,7 +18557,7 @@ function hC(e) {
18542
18557
  }
18543
18558
  })), n.current;
18544
18559
  }
18545
- const mC = w.button`
18560
+ const vC = w.button`
18546
18561
  ${vn}
18547
18562
  display: flex;
18548
18563
  align-items: center;
@@ -18551,12 +18566,12 @@ const mC = w.button`
18551
18566
  font-weight: 600;
18552
18567
  text-align: start;
18553
18568
  color: ${(e) => e.$isInactive ? "var(--cc_color_link_subtle)" : "var(--cc_color_link_secondary)"};
18554
- `, vC = w.span`
18569
+ `, _C = w.span`
18555
18570
  flex: 1;
18556
- `, _C = w.i`
18571
+ `, bC = w.i`
18557
18572
  flex-shrink: 0;
18558
18573
  font-size: var(--cc_size_text_m);
18559
- `, bC = ({
18574
+ `, yC = ({
18560
18575
  header: e
18561
18576
  }) => {
18562
18577
  const r = e.column.getIsSorted() || "false", n = {
@@ -18565,14 +18580,14 @@ const mC = w.button`
18565
18580
  false: "swap-vertical"
18566
18581
  };
18567
18582
  return /* @__PURE__ */ A(
18568
- mC,
18583
+ vC,
18569
18584
  {
18570
18585
  onClick: e.column.getToggleSortingHandler(),
18571
18586
  $isInactive: r === "false",
18572
18587
  children: [
18573
- /* @__PURE__ */ _(vC, { children: e.isPlaceholder ? null : Xa(e.column.columnDef.header, e.getContext()) }),
18588
+ /* @__PURE__ */ _(_C, { children: e.isPlaceholder ? null : Xa(e.column.columnDef.header, e.getContext()) }),
18574
18589
  /* @__PURE__ */ _(
18575
- _C,
18590
+ bC,
18576
18591
  {
18577
18592
  role: "presentation",
18578
18593
  className: `mdi mdi-${n[r]}`
@@ -18581,11 +18596,11 @@ const mC = w.button`
18581
18596
  ]
18582
18597
  }
18583
18598
  );
18584
- }, yC = (e) => typeof e == "number" ? `${e}px` : `${e === "fill" ? "minmax(100px, 1fr)" : e}`, Vc = F`
18599
+ }, wC = (e) => typeof e == "number" ? `${e}px` : `${e === "fill" ? "minmax(100px, 1fr)" : e}`, Vc = F`
18585
18600
  white-space: normal;
18586
18601
  overflow-wrap: break-word;
18587
18602
  hyphens: auto;
18588
- `, wC = w.table`
18603
+ `, xC = w.table`
18589
18604
  all: unset;
18590
18605
  display: block;
18591
18606
  min-width: 100%;
@@ -18620,7 +18635,7 @@ const mC = w.button`
18620
18635
  min-width: 100%;
18621
18636
  display: grid;
18622
18637
  ${(e) => {
18623
- const r = e.$columnSizes?.map((n) => yC(n)).join(" ");
18638
+ const r = e.$columnSizes?.map((n) => wC(n)).join(" ");
18624
18639
  return F`
18625
18640
  grid-template-columns: ${r};
18626
18641
  `;
@@ -18687,7 +18702,7 @@ const mC = w.button`
18687
18702
  position: relative;
18688
18703
  z-index: 1;
18689
18704
  }
18690
- `, xC = (e) => e ? e?.desc ? "descending" : "ascending" : "none", CD = ({
18705
+ `, $C = (e) => e ? e?.desc ? "descending" : "ascending" : "none", DD = ({
18691
18706
  defaultSortedColumns: e,
18692
18707
  defaultData: r,
18693
18708
  ccMargin: n,
@@ -18701,7 +18716,7 @@ const mC = w.button`
18701
18716
  onSortingChange: u,
18702
18717
  ...d
18703
18718
  }) => {
18704
- const [p, f] = ae(() => [...r]), [g, h] = ae([]), m = c ?? g, v = c !== void 0, b = hC({
18719
+ const [p, f] = ae(() => [...r]), [g, h] = ae([]), m = c ?? g, v = c !== void 0, b = mC({
18705
18720
  // asserting columns as a mutable type because react-table expects one, but in reality we shouldn't mutate the array
18706
18721
  columns: t,
18707
18722
  data: p,
@@ -18712,9 +18727,9 @@ const mC = w.button`
18712
18727
  onSortingChange: ($) => {
18713
18728
  u && u($), v || h($);
18714
18729
  },
18715
- getCoreRowModel: lC(),
18716
- getPaginationRowModel: uC(),
18717
- getSortedRowModel: v ? void 0 : dC(),
18730
+ getCoreRowModel: cC(),
18731
+ getPaginationRowModel: dC(),
18732
+ getSortedRowModel: v ? void 0 : fC(),
18718
18733
  enableSortingRemoval: i,
18719
18734
  manualPagination: s,
18720
18735
  manualSorting: v,
@@ -18726,7 +18741,7 @@ const mC = w.button`
18726
18741
  }, [e, b]), de(() => {
18727
18742
  f([...r]);
18728
18743
  }, [r]), /* @__PURE__ */ A(
18729
- wC,
18744
+ xC,
18730
18745
  {
18731
18746
  $ccMargin: n,
18732
18747
  $enableStickyHeaders: a,
@@ -18734,8 +18749,8 @@ const mC = w.button`
18734
18749
  ...d,
18735
18750
  children: [
18736
18751
  /* @__PURE__ */ _("thead", { children: b.getHeaderGroups().map(($) => /* @__PURE__ */ _("tr", { children: $.headers.map((C) => {
18737
- const k = m[C.column.getSortIndex()], E = xC(k);
18738
- return /* @__PURE__ */ _("th", { "aria-sort": E, scope: "col", children: C.column.getCanSort() ? /* @__PURE__ */ _(bC, { header: C }) : Xa(
18752
+ const k = m[C.column.getSortIndex()], E = $C(k);
18753
+ return /* @__PURE__ */ _("th", { "aria-sort": E, scope: "col", children: C.column.getCanSort() ? /* @__PURE__ */ _(yC, { header: C }) : Xa(
18739
18754
  C.column.columnDef.header,
18740
18755
  C.getContext()
18741
18756
  ) }, C.id);
@@ -18755,7 +18770,7 @@ const mC = w.button`
18755
18770
  statusSize: 24,
18756
18771
  iconSize: 22
18757
18772
  }
18758
- }, $C = w.div`
18773
+ }, SC = w.div`
18759
18774
  display: flex;
18760
18775
  align-items: center;
18761
18776
  gap: calc(var(--cc_size_spacing_xs) * 1.25);
@@ -18766,7 +18781,7 @@ const mC = w.button`
18766
18781
  flex-shrink: 0;
18767
18782
  display: grid;
18768
18783
  place-items: center;
18769
- `, SC = w.span`
18784
+ `, kC = w.span`
18770
18785
  ${Pe}
18771
18786
  color: ${(e) => e.$status === "error" ? "var(--cc_color_utility_destroy)" : "var(--cc_color_text_subtle)"};
18772
18787
  font-size: ${(e) => zn[e.$size || "small"].fontSize};
@@ -18775,7 +18790,7 @@ const mC = w.button`
18775
18790
  text-overflow: ellipsis;
18776
18791
  white-space: nowrap;
18777
18792
  min-width: 1px;
18778
- `, kC = mn`
18793
+ `, CC = mn`
18779
18794
  50% {
18780
18795
  transform: scale(1.125);
18781
18796
  }
@@ -18783,25 +18798,25 @@ const mC = w.button`
18783
18798
  transform: scale(1);
18784
18799
  opacity: 1;
18785
18800
  }
18786
- `, CC = w.i`
18801
+ `, DC = w.i`
18787
18802
  font-size: ${(e) => zn[e.$size || "small"].iconSize}px;
18788
18803
  color: ${(e) => e.$status === "error" ? "var(--cc_color_utility_destroy)" : "var(--cc_color_utility_success_darken_10)"};
18789
18804
 
18790
18805
  transform: scale(0.5);
18791
18806
  opacity: 0;
18792
- animation-name: ${kC};
18807
+ animation-name: ${CC};
18793
18808
  animation-duration: ${$e.duration.medium};
18794
18809
  animation-fill-mode: forwards;
18795
18810
  animation-timing-function: ${$e.easeOut};
18796
18811
  `;
18797
- function DD({
18812
+ function ED({
18798
18813
  children: e,
18799
18814
  avatar: r,
18800
18815
  size: n = "small",
18801
18816
  status: t = "none",
18802
18817
  ...o
18803
18818
  }) {
18804
- return /* @__PURE__ */ A($C, { ...o, children: [
18819
+ return /* @__PURE__ */ A(SC, { ...o, children: [
18805
18820
  r ? /* @__PURE__ */ _(
18806
18821
  ps,
18807
18822
  {
@@ -18810,7 +18825,7 @@ function DD({
18810
18825
  ...r
18811
18826
  }
18812
18827
  ) : null,
18813
- /* @__PURE__ */ _(SC, { $size: n, $status: t, children: e }),
18828
+ /* @__PURE__ */ _(kC, { $size: n, $status: t, children: e }),
18814
18829
  t === "saving" ? /* @__PURE__ */ _(Bc, { $size: n, children: /* @__PURE__ */ _(
18815
18830
  gs,
18816
18831
  {
@@ -18819,7 +18834,7 @@ function DD({
18819
18834
  }
18820
18835
  ) }) : null,
18821
18836
  t === "success" || t === "error" ? /* @__PURE__ */ _(Bc, { $size: n, children: /* @__PURE__ */ _(
18822
- CC,
18837
+ DC,
18823
18838
  {
18824
18839
  className: `mdi mdi-${t === "error" ? "alert-circle-outline" : "cloud-check-variant-outline"}`,
18825
18840
  "aria-hidden": "true",
@@ -18834,7 +18849,7 @@ const ln = {
18834
18849
  destroy: "destroy",
18835
18850
  info: "info",
18836
18851
  success: "success"
18837
- }, DC = (e, r) => {
18852
+ }, EC = (e, r) => {
18838
18853
  switch (r) {
18839
18854
  case "caution":
18840
18855
  return e || "alert-outline";
@@ -18847,7 +18862,7 @@ const ln = {
18847
18862
  default:
18848
18863
  return e || "information-outline";
18849
18864
  }
18850
- }, EC = (e) => {
18865
+ }, MC = (e) => {
18851
18866
  switch (e) {
18852
18867
  case ln.caution:
18853
18868
  return "var(--cc_color_utility_caution)";
@@ -18860,13 +18875,13 @@ const ln = {
18860
18875
  default:
18861
18876
  return "var(--cc_color_utility_info)";
18862
18877
  }
18863
- }, MC = (e) => e === ln.info ? Io : Za, RC = w.div`
18878
+ }, RC = (e) => e === ln.info ? Io : Za, PC = w.div`
18864
18879
  width: 360px;
18865
18880
  border-radius: var(--cc_size_border_radius_l);
18866
18881
  color: var(--cc_color_text_default);
18867
18882
  box-shadow: 0 var(--cc_size_depth_3_y) var(--cc_size_depth_3_blur)
18868
18883
  var(--cc_color_depth_3);
18869
- `, PC = w.div`
18884
+ `, TC = w.div`
18870
18885
  position: relative;
18871
18886
  padding: var(--cc_size_spacing_m);
18872
18887
  display: flex;
@@ -18874,7 +18889,7 @@ const ln = {
18874
18889
  gap: var(--cc_size_spacing_m);
18875
18890
  background: var(--cc_color_background_3);
18876
18891
  border-radius: var(--cc_size_border_radius_l);
18877
- `, TC = w.div`
18892
+ `, IC = w.div`
18878
18893
  flex: 1;
18879
18894
  min-width: 1px;
18880
18895
  display: flex;
@@ -18882,7 +18897,7 @@ const ln = {
18882
18897
  align-items: start;
18883
18898
  gap: var(--cc_size_spacing_xxs);
18884
18899
  padding-inline-end: var(--cc_size_spacing_l);
18885
- `, IC = w.div`
18900
+ `, OC = w.div`
18886
18901
  display: grid;
18887
18902
  place-items: center;
18888
18903
  flex-shrink: 0;
@@ -18890,13 +18905,13 @@ const ln = {
18890
18905
  height: var(--cc_size_avatar_m);
18891
18906
  background: var(--cc_color_utility_success);
18892
18907
  border-radius: var(--cc_size_border_radius_l);
18893
- background-color: ${({ color: e = ln.success }) => EC(e)};
18894
- `, OC = w.i`
18908
+ background-color: ${({ color: e = ln.success }) => MC(e)};
18909
+ `, FC = w.i`
18895
18910
  font-size: 20px;
18896
- color: ${({ color: e = ln.success }) => MC(e)};
18897
- `, FC = w(tr)`
18911
+ color: ${({ color: e = ln.success }) => RC(e)};
18912
+ `, LC = w(tr)`
18898
18913
  margin-block-start: var(--cc_size_spacing_s);
18899
- `, LC = w(
18914
+ `, zC = w(
18900
18915
  zr
18901
18916
  )`
18902
18917
  position: absolute;
@@ -18904,7 +18919,7 @@ const ln = {
18904
18919
  right: 6px;
18905
18920
  display: block;
18906
18921
  `;
18907
- function ED({
18922
+ function MD({
18908
18923
  action: e,
18909
18924
  closeAction: r,
18910
18925
  color: n = ln.success,
@@ -18913,25 +18928,25 @@ function ED({
18913
18928
  title: i,
18914
18929
  testId: a
18915
18930
  }) {
18916
- return /* @__PURE__ */ _(RC, { "data-testId": a, children: /* @__PURE__ */ A(
18917
- PC,
18931
+ return /* @__PURE__ */ _(PC, { "data-testId": a, children: /* @__PURE__ */ A(
18932
+ TC,
18918
18933
  {
18919
18934
  $hasAction: !!e,
18920
18935
  $hasTitle: !!i,
18921
18936
  className: "dark-environment",
18922
18937
  children: [
18923
- /* @__PURE__ */ _(IC, { color: n, children: /* @__PURE__ */ _(
18924
- OC,
18938
+ /* @__PURE__ */ _(OC, { color: n, children: /* @__PURE__ */ _(
18939
+ FC,
18925
18940
  {
18926
18941
  color: n,
18927
- className: `mdi mdi-${DC(t, n)}`
18942
+ className: `mdi mdi-${EC(t, n)}`
18928
18943
  }
18929
18944
  ) }),
18930
- /* @__PURE__ */ A(TC, { children: [
18945
+ /* @__PURE__ */ A(IC, { children: [
18931
18946
  i ? /* @__PURE__ */ _(Fe, { as: "h4", family: "heading", size: "m", weight: 600, children: i }) : null,
18932
18947
  /* @__PURE__ */ _(Fe, { as: "p", children: o }),
18933
18948
  e ? /* @__PURE__ */ _(
18934
- FC,
18949
+ LC,
18935
18950
  {
18936
18951
  ...e,
18937
18952
  "data-testid": e["data-testid"],
@@ -18947,7 +18962,7 @@ function ED({
18947
18962
  ) : null
18948
18963
  ] }),
18949
18964
  r ? /* @__PURE__ */ _(
18950
- LC,
18965
+ zC,
18951
18966
  {
18952
18967
  ...r,
18953
18968
  "data-testid": r["data-testid"],
@@ -18961,58 +18976,59 @@ function ED({
18961
18976
  ) });
18962
18977
  }
18963
18978
  export {
18964
- VC as AssetThumbnail,
18979
+ BC as AssetThumbnail,
18965
18980
  ps as Avatar,
18966
- BC as AvatarGroup,
18967
- WC as Badge,
18981
+ WC as AvatarGroup,
18982
+ GC as Badge,
18968
18983
  om as Billboard,
18969
18984
  tr as Button,
18970
18985
  Pu as ButtonCondensed,
18971
- GC as ButtonFilter,
18986
+ jC as ButtonFilter,
18972
18987
  hs as ButtonIcon,
18973
18988
  zr as ButtonIconCondensed,
18974
- jC as Card,
18975
- KC as ChipFilter,
18976
- qC as ChipToggle,
18977
- UC as Collapse,
18978
- QC as Comment,
18979
- XC as Drawer,
18989
+ KC as Card,
18990
+ qC as ChipFilter,
18991
+ UC as ChipToggle,
18992
+ QC as Collapse,
18993
+ XC as Comment,
18994
+ ZC as Drawer,
18980
18995
  Qm as Fieldset,
18981
- ZC as Grid,
18982
- JC as HorizontalRule,
18996
+ JC as Grid,
18997
+ eD as HorizontalRule,
18983
18998
  jm as InputCheckbox,
18984
- eD as InputCheckboxGroup,
18985
- tD as InputDate,
18986
- nD as InputFile,
18987
- rD as InputPassword,
18999
+ tD as InputCheckboxGroup,
19000
+ nD as InputDate,
19001
+ rD as InputFile,
19002
+ oD as InputPassword,
18988
19003
  c0 as InputRadio,
18989
- oD as InputRadioGroup,
18990
- iD as InputRange,
18991
- aD as InputSelectHTML,
19004
+ iD as InputRadioGroup,
19005
+ aD as InputRange,
19006
+ sD as InputSelectHTML,
18992
19007
  i0 as InputText,
18993
- sD as InputTextArea,
18994
- lD as Label,
19008
+ lD as InputTextArea,
19009
+ cD as Label,
18995
19010
  C0 as Link,
18996
- cD as Lottie,
18997
- pD as Menu,
18998
- gD as MenuHeading,
18999
- hD as MenuItem,
19000
- mD as Metric,
19001
- vD as Modal,
19002
- _D as ModalBase,
19003
- bD as Notice,
19004
- yD as PageHeader,
19005
- wD as Popover,
19006
- xD as ProgressBar,
19007
- $D as ProgressCircle,
19008
- SD as Rating,
19011
+ uD as Lottie,
19012
+ gD as Menu,
19013
+ hD as MenuHeading,
19014
+ mD as MenuItem,
19015
+ vD as Metric,
19016
+ _D as Modal,
19017
+ bD as ModalBase,
19018
+ yD as Notice,
19019
+ wD as PageHeader,
19020
+ xD as Popover,
19021
+ $D as ProgressBar,
19022
+ SD as ProgressCircle,
19023
+ kD as Rating,
19009
19024
  jt as ScreenReaderContent,
19025
+ mk as SlabProvider,
19010
19026
  gs as Spinner,
19011
- kD as Switch,
19012
- CD as Table,
19027
+ CD as Switch,
19028
+ DD as Table,
19013
19029
  Fe as Text,
19014
- DD as TimeStamp,
19015
- ED as Toast,
19030
+ ED as TimeStamp,
19031
+ MD as Toast,
19016
19032
  Cu as Tooltip,
19017
19033
  Xf as slabContainerAction
19018
19034
  };