@fluidattacks/design 4.16.2 → 4.16.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (188) hide show
  1. package/dist/components/@core/index.js +1 -1
  2. package/dist/components/accordion/accordion-content/index.js +1 -1
  3. package/dist/components/accordion/index.js +1 -1
  4. package/dist/components/advanced-badge/index.js +1 -1
  5. package/dist/components/advisories-card/index.js +1 -1
  6. package/dist/components/alert/index.js +1 -1
  7. package/dist/components/avatar/index.js +1 -1
  8. package/dist/components/button/index.js +1 -1
  9. package/dist/components/card/card-header/index.js +1 -1
  10. package/dist/components/card/card-with-image/index.js +1 -1
  11. package/dist/components/card/card-with-input/index.js +1 -1
  12. package/dist/components/card/card-with-options/index.js +1 -1
  13. package/dist/components/card/card-with-selector/index.js +1 -1
  14. package/dist/components/card/card-with-switch/index.js +1 -1
  15. package/dist/components/card/index.js +1 -1
  16. package/dist/components/card/indicator-card/index.js +1 -1
  17. package/dist/components/card-container/index.js +1 -1
  18. package/dist/components/carousel/index.js +1 -1
  19. package/dist/components/checkbox/index.js +1 -1
  20. package/dist/components/circular-progress/index.js +1 -1
  21. package/dist/components/cloud-image/index.js +1 -1
  22. package/dist/components/code-snippet/index.js +1 -1
  23. package/dist/components/colors/index.js +1 -1
  24. package/dist/components/conditions-dialog/index.js +1 -1
  25. package/dist/components/confirm-dialog/index.js +1 -1
  26. package/dist/components/container/index.js +1 -1
  27. package/dist/components/copy-button/index.js +1 -1
  28. package/dist/components/divider/index.js +1 -1
  29. package/dist/components/dropdown/index.js +1 -1
  30. package/dist/components/empty-state/empty-button/index.js +1 -1
  31. package/dist/components/empty-state/index.js +1 -1
  32. package/dist/components/fa-tag/index.js +1 -1
  33. package/dist/components/file-preview/index.js +1 -1
  34. package/dist/components/filters/active-filters/active-filter/index.js +1 -1
  35. package/dist/components/filters/active-filters/index.js +1 -1
  36. package/dist/components/filters/context/index.js +1 -1
  37. package/dist/components/filters/filters-menu/index.js +1 -1
  38. package/dist/components/filters/index.js +1 -1
  39. package/dist/components/filters/options-menu/include-exclude/index.js +1 -1
  40. package/dist/components/filters/options-menu/index.js +1 -1
  41. package/dist/components/filters/options-menu/options/index.js +1 -1
  42. package/dist/components/filters/search/no-matches/index.js +1 -1
  43. package/dist/components/form/index.js +1 -1
  44. package/dist/components/form/inner-form/index.js +1 -1
  45. package/dist/components/grid-container/index.js +1 -1
  46. package/dist/components/group-selector/index.js +1 -1
  47. package/dist/components/group-selector/option-container/index.js +1 -1
  48. package/dist/components/icon/index.js +1 -1
  49. package/dist/components/icon-button/index.js +1 -1
  50. package/dist/components/indicator-card-db/index.js +1 -1
  51. package/dist/components/info-sidebar/index.js +1 -1
  52. package/dist/components/inputs/fields/combobox/field/index.js +1 -1
  53. package/dist/components/inputs/fields/combobox/index.js +1 -1
  54. package/dist/components/inputs/fields/combobox/option/index.js +1 -1
  55. package/dist/components/inputs/fields/date/calendar/cell/index.js +1 -1
  56. package/dist/components/inputs/fields/date/calendar/grid/index.js +1 -1
  57. package/dist/components/inputs/fields/date/calendar/header/index.js +1 -1
  58. package/dist/components/inputs/fields/date/calendar/index.js +1 -1
  59. package/dist/components/inputs/fields/date/index.js +1 -1
  60. package/dist/components/inputs/fields/date-range/calendar/index.js +1 -1
  61. package/dist/components/inputs/fields/date-range/index.js +1 -1
  62. package/dist/components/inputs/fields/date-time/calendar/index.js +1 -1
  63. package/dist/components/inputs/fields/date-time/index.js +1 -1
  64. package/dist/components/inputs/fields/editable/index.js +1 -1
  65. package/dist/components/inputs/fields/input-array/field/index.js +1 -1
  66. package/dist/components/inputs/fields/input-array/index.js +1 -1
  67. package/dist/components/inputs/fields/input-file/default/index.js +1 -1
  68. package/dist/components/inputs/fields/input-file/dropzone/index.js +1 -1
  69. package/dist/components/inputs/fields/input-file/index.js +1 -1
  70. package/dist/components/inputs/fields/input-section/index.js +1 -1
  71. package/dist/components/inputs/fields/input-tags/field/index.js +1 -1
  72. package/dist/components/inputs/fields/input-tags/index.js +1 -1
  73. package/dist/components/inputs/fields/number/index.js +1 -1
  74. package/dist/components/inputs/fields/number-range/index.js +1 -1
  75. package/dist/components/inputs/fields/phone/index.js +1 -1
  76. package/dist/components/inputs/fields/text-area/index.js +1 -1
  77. package/dist/components/inputs/fields/text-input/index.js +1 -1
  78. package/dist/components/inputs/index.js +1 -1
  79. package/dist/components/inputs/label/index.js +1 -1
  80. package/dist/components/inputs/outline-container/index.js +1 -1
  81. package/dist/components/inputs/utils/action-button/index.js +1 -1
  82. package/dist/components/inputs/utils/calendar-button/index.js +1 -1
  83. package/dist/components/inputs/utils/date-selector/index.js +1 -1
  84. package/dist/components/inputs/utils/date-time-field/index.js +1 -1
  85. package/dist/components/inputs/utils/dialog/index.js +1 -1
  86. package/dist/components/inputs/utils/number-field/index.js +1 -1
  87. package/dist/components/inputs/utils/popover/index.js +1 -1
  88. package/dist/components/item-card-db/index.js +1 -1
  89. package/dist/components/layout/categories/buttons/index.js +1 -1
  90. package/dist/components/layout/categories/column/index.js +1 -1
  91. package/dist/components/layout/categories/gap/index.js +1 -1
  92. package/dist/components/layout/categories/row/index.js +1 -1
  93. package/dist/components/layout/index.js +1 -1
  94. package/dist/components/link/index.js +1 -1
  95. package/dist/components/list-item/index.js +1 -1
  96. package/dist/components/little-flag/index.js +1 -1
  97. package/dist/components/loading/index.js +1 -1
  98. package/dist/components/logo/index.js +1 -1
  99. package/dist/components/lottie/index.js +1 -1
  100. package/dist/components/menu/index.js +1 -1
  101. package/dist/components/message-banner/index.js +1 -1
  102. package/dist/components/modal/columns-modal/index.js +1 -1
  103. package/dist/components/modal/columns-modal/preview-panel/index.js +1 -1
  104. package/dist/components/modal/columns-modal/search-panel/index.js +1 -1
  105. package/dist/components/modal/footer/index.js +1 -1
  106. package/dist/components/modal/header/index.js +1 -1
  107. package/dist/components/modal/index.js +1 -1
  108. package/dist/components/modal/modal-confirm/index.js +1 -1
  109. package/dist/components/notification/index.js +1 -1
  110. package/dist/components/notification-sign/index.js +1 -1
  111. package/dist/components/oauth-selector/index.js +1 -1
  112. package/dist/components/oauth-selector/option-container/index.js +1 -1
  113. package/dist/components/package-card/index.js +1 -1
  114. package/dist/components/paginator-db/btn/index.js +1 -1
  115. package/dist/components/paginator-db/dropdown/index.js +1 -1
  116. package/dist/components/paginator-db/index.js +1 -1
  117. package/dist/components/pop-up/description/index.js +1 -1
  118. package/dist/components/pop-up/index.js +1 -1
  119. package/dist/components/premium-feature/index.js +1 -1
  120. package/dist/components/priority-cards/card/index.js +1 -1
  121. package/dist/components/priority-cards/index.js +1 -1
  122. package/dist/components/priority-score/index.js +1 -1
  123. package/dist/components/progress-bar/index.js +1 -1
  124. package/dist/components/progress-indicator/in-progress-icon/index.js +1 -1
  125. package/dist/components/progress-indicator/index.js +1 -1
  126. package/dist/components/progress-indicator/step/index.js +1 -1
  127. package/dist/components/radio-button/index.js +1 -1
  128. package/dist/components/rank-position/icon/index.js +1 -1
  129. package/dist/components/rank-position/index.js +1 -1
  130. package/dist/components/rules-card/index.js +1 -1
  131. package/dist/components/scroll-button/index.js +1 -1
  132. package/dist/components/search/index.js +1 -1
  133. package/dist/components/search-dropdown/index.js +1 -1
  134. package/dist/components/segmented-progress-bar/index.js +1 -1
  135. package/dist/components/severity-badge/index.js +1 -1
  136. package/dist/components/severity-indicator/index.js +1 -1
  137. package/dist/components/severity-overview/badge/index.js +1 -1
  138. package/dist/components/severity-overview/index.js +1 -1
  139. package/dist/components/show-on-hover/index.js +1 -1
  140. package/dist/components/slide-out-menu/index.js +1 -1
  141. package/dist/components/slide-out-menu/menu-item/index.js +1 -1
  142. package/dist/components/slider/index.js +1 -1
  143. package/dist/components/slider/thumb/index.js +1 -1
  144. package/dist/components/step-lapse/index.js +1 -1
  145. package/dist/components/table/context/index.js +1 -1
  146. package/dist/components/table/export-csv/index.js +1 -1
  147. package/dist/components/table/index.js +1 -1
  148. package/dist/components/table/index.stories.d.ts +2 -1
  149. package/dist/components/table/pagination/pagination-control/index.js +1 -1
  150. package/dist/components/table/pagination/pagination-dropdown/index.js +1 -1
  151. package/dist/components/table/pagination/pagination-size/index.js +1 -1
  152. package/dist/components/table/sort-icon/index.js +1 -1
  153. package/dist/components/table/table-body/index.js +1 -1
  154. package/dist/components/table/table-column-toggle/index.js +1 -1
  155. package/dist/components/table/table-content/head/index.js +1 -1
  156. package/dist/components/table/table-content/index.js +1 -1
  157. package/dist/components/table/table-footer/footer-content/index.js +1 -1
  158. package/dist/components/table/table-footer/index.js +1 -1
  159. package/dist/components/table/table-options/caption-content/index.js +1 -1
  160. package/dist/components/table/table-options/controls-content/index.js +1 -1
  161. package/dist/components/table/table-options/highlighted-content/index.js +1 -1
  162. package/dist/components/table/table-options/index.js +1 -1
  163. package/dist/components/table/wrapper/index.js +1 -1
  164. package/dist/components/table-button/index.js +1 -1
  165. package/dist/components/table-content/index.js +1 -1
  166. package/dist/components/table-content/item-content/index.js +1 -1
  167. package/dist/components/table-of-contents/index.js +1 -1
  168. package/dist/components/tabs/index.js +1 -1
  169. package/dist/components/tabs/tab/index.js +1 -1
  170. package/dist/components/tag/index.js +1 -1
  171. package/dist/components/timeline/card/index.js +1 -1
  172. package/dist/components/timeline/index.js +1 -1
  173. package/dist/components/toggle/index.js +1 -1
  174. package/dist/components/tooltip/index.js +1 -1
  175. package/dist/components/tour/index.js +1 -1
  176. package/dist/components/tree/index.js +1 -1
  177. package/dist/components/typography/heading/index.js +1 -1
  178. package/dist/components/typography/index.js +1 -1
  179. package/dist/components/typography/span/index.js +1 -1
  180. package/dist/components/typography/text/index.js +1 -1
  181. package/dist/components/weaknesses-card/index.js +1 -1
  182. package/dist/{components-DIJCNlEu.mjs → components-Bys1Jmds.mjs} +137 -127
  183. package/dist/globals/design-tokens-css/index.js +1 -1
  184. package/dist/globals/designs-provider/index.js +1 -1
  185. package/dist/hooks/index.js +1 -1
  186. package/dist/index.js +1 -1
  187. package/dist/utils/index.js +1 -1
  188. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { jsx as n, jsxs as u, Fragment as ue } from "react/jsx-runtime";
2
- import bt, { forwardRef as re, useState as O, useCallback as w, useReducer as xi, useEffect as Q, useMemo as G, useRef as Z, StrictMode as mi, Fragment as xe, Children as Gt, isValidElement as bo, cloneElement as xo, createContext as mo, useContext as we, useImperativeHandle as wi, createElement as vi } from "react";
2
+ import bt, { forwardRef as re, useState as O, useCallback as w, useReducer as xi, useEffect as Q, useMemo as _, useRef as Z, StrictMode as mi, Fragment as xe, Children as Gt, isValidElement as bo, cloneElement as xo, createContext as mo, useContext as we, useImperativeHandle as wi, createElement as vi } from "react";
3
3
  import ki, { ThemeProvider as Ci, styled as m, useTheme as A, css as Qe, keyframes as wo } from "styled-components";
4
4
  import { C as Si, s as zi, _ as q, A as Ii, l as Ti, p as Di, d as ce, $ as Ei, a as vo, b as J, c as xt, u as Ze, e as Ni, f as Ri, g as Li, h as Fi, i as mt, j as ko, o as wt, k as Ai, m as ji, n as Pi, q as Oi, r as Mi, t as Vi, v as Bi, w as Wi, x as Hi, y as Gi, z as Co, B as Qt, D as en, E as _i, F as Ui, G as Yi, H as Sn, I as vt, J as Xi, K as Zi, L as So, M as kt, N as zo, O as Ki, P as qi, Q as Ji, R as Qi, S as er, T as tr, U as Io, V as To, W as nr, X as or, Y as ir, Z as rr, a0 as ar, a1 as lr, a2 as tn, a3 as sr, a4 as zn, a5 as In, a6 as Tn, a7 as Xe, a8 as cr, a9 as dr, aa as pr, ab as gr, ac as ur, ad as hr, ae as fr, af as yr, ag as $r, ah as br, ai as xr, aj as mr, ak as wr, al as vr, am as kr, an as Cr, ao as Sr, ap as zr, aq as Ir, ar as Tr, as as _t, at as Dr, au as Do, av as Eo, aw as Er, ax as Nr, ay as Rr, az as Dn, aA as Lr, aB as Fr, aC as Ar, aD as jr, aE as Pr, aF as Or, aJ as No, aK as Mr, aL as Vr, aM as Br, aN as Wr, aO as Hr, aP as Gr, aQ as _r, aR as Ur, aS as Yr, aT as Xr, aU as Ut, aV as Zr, aW as En, aX as Kr, aY as Nn, aZ as qr } from "./vendor-BBQctgLx.mjs";
5
5
  import { useQueryStates as Jr, parseAsString as Qr } from "nuqs";
@@ -1108,12 +1108,12 @@ const N = re(function({
1108
1108
  publicId: e,
1109
1109
  format: t = "webp"
1110
1110
  }) => {
1111
- const o = G(() => new Si({
1111
+ const o = _(() => new Si({
1112
1112
  cloud: {
1113
1113
  cloudName: "fluid-attacks"
1114
1114
  }
1115
1115
  }), []);
1116
- return G(() => o.image(e).format(t), [o, e, t]);
1116
+ return _(() => o.image(e).format(t), [o, e, t]);
1117
1117
  }, Rt = (e) => {
1118
1118
  const [t, o] = O(!1), i = w(() => {
1119
1119
  o(!0);
@@ -1133,7 +1133,7 @@ const N = re(function({
1133
1133
  setColumnOrder: i,
1134
1134
  setColumnVisibility: a
1135
1135
  }) => {
1136
- const r = G(
1136
+ const r = _(
1137
1137
  () => [
1138
1138
  // locked -> visible -> hidden
1139
1139
  ...t.filter(({ locked: g }) => g).map(({ locked: g, ...h }) => ({ ...h, visible: !0, locked: g })),
@@ -1162,7 +1162,7 @@ const N = re(function({
1162
1162
  return x - y;
1163
1163
  });
1164
1164
  a?.(Aa(g)), c(g);
1165
- }, [l, o, c, a]), p = G(() => zi(l, (g) => (o?.includes(g.id) ?? !1) !== g.visible), [l, o]);
1165
+ }, [l, o, c, a]), p = _(() => zi(l, (g) => (o?.includes(g.id) ?? !1) !== g.visible), [l, o]);
1166
1166
  return {
1167
1167
  setColumns: c,
1168
1168
  resetToDefault: d,
@@ -1170,7 +1170,7 @@ const N = re(function({
1170
1170
  ...Rt(e),
1171
1171
  hasChanged: p
1172
1172
  };
1173
- }, nn = (e, t) => G(
1173
+ }, nn = (e, t) => _(
1174
1174
  () => q.debounce(e, t),
1175
1175
  [e, t]
1176
1176
  ), Po = 7, Oo = (e) => e.reduce(
@@ -1239,12 +1239,12 @@ const N = re(function({
1239
1239
  }, Ln = (e) => typeof window > "u" ? null : window.localStorage.getItem(e), gt = (e) => {
1240
1240
  typeof window > "u" || window.localStorage.removeItem(e);
1241
1241
  }, Ba = (e, t, o) => {
1242
- const i = Z(!1), a = Z(!1), [r, l] = Jr(t, o), [s, c] = Va(e, null), d = G(
1242
+ const i = Z(!1), a = Z(!1), [r, l] = Jr(t, o), [s, c] = Va(e, null), d = _(
1243
1243
  () => Object.values(r).every(
1244
1244
  (h) => h == null || h === ""
1245
1245
  ),
1246
1246
  [r]
1247
- ), p = G(() => {
1247
+ ), p = _(() => {
1248
1248
  if (a.current || !d || typeof window > "u") return r;
1249
1249
  const h = Ln(e);
1250
1250
  if (h === null) return r;
@@ -1342,10 +1342,10 @@ const N = re(function({
1342
1342
  filters: e,
1343
1343
  storageKey: t
1344
1344
  }) => {
1345
- const o = G(Mo, []), i = G(() => t ?? o, [t, o]), a = G(
1345
+ const o = _(Mo, []), i = _(() => t ?? o, [t, o]), a = _(
1346
1346
  () => e.flatMap((y) => y.id),
1347
1347
  [e]
1348
- ), r = G(
1348
+ ), r = _(
1349
1349
  () => ({
1350
1350
  ...Object.fromEntries(
1351
1351
  a.map((y) => [y, Qr.withDefault("")])
@@ -1361,10 +1361,10 @@ const N = re(function({
1361
1361
  s(y);
1362
1362
  },
1363
1363
  [s]
1364
- ), p = G(
1364
+ ), p = _(
1365
1365
  () => new Map(Oo(e).menu.map((y) => [y.id, y])),
1366
1366
  [e]
1367
- ), g = G(() => Object.entries(c).filter(
1367
+ ), g = _(() => Object.entries(c).filter(
1368
1368
  ([y, b]) => p.has(y) && !!b && b !== "undefined"
1369
1369
  ).reduce((y, [b, k]) => {
1370
1370
  const v = p.get(b);
@@ -1383,7 +1383,7 @@ const N = re(function({
1383
1383
  return R !== "-" && R !== "" && R !== on;
1384
1384
  });
1385
1385
  return y + E.length;
1386
- }, 0), [c, p]), h = G(() => Object.entries(c).filter(([, y]) => !!y && y !== "undefined").flatMap(([y, b]) => {
1386
+ }, 0), [c, p]), h = _(() => Object.entries(c).filter(([, y]) => !!y && y !== "undefined").flatMap(([y, b]) => {
1387
1387
  const k = p.get(y);
1388
1388
  if (!k) return [];
1389
1389
  const { label: v, options: S, hideChipLabel: C } = k, E = S?.find((T) => T.type === "text"), z = C ? { hideChipLabel: !0 } : {}, R = S?.find(
@@ -2123,7 +2123,7 @@ const N = re(function({
2123
2123
  z,
2124
2124
  R,
2125
2125
  j
2126
- ]), F = G(() => E.startsWith("top") ? "top" : E.startsWith("bottom") ? "bottom" : E.startsWith("left") ? "left" : E.startsWith("right") ? "right" : "bottom", [E]);
2126
+ ]), F = _(() => E.startsWith("top") ? "top" : E.startsWith("bottom") ? "bottom" : E.startsWith("left") ? "left" : E.startsWith("right") ? "right" : "bottom", [E]);
2127
2127
  return t ? /* @__PURE__ */ n(mi, { children: e }) : /* @__PURE__ */ u(ue, { children: [
2128
2128
  /* @__PURE__ */ n(
2129
2129
  ll,
@@ -3865,7 +3865,7 @@ const N = re(function({
3865
3865
  { key: t.key },
3866
3866
  l,
3867
3867
  d
3868
- ), k = G(() => l.collection.getItem("All")?.rendered?.toString(), [l.collection]), v = [
3868
+ ), k = _(() => l.collection.getItem("All")?.rendered?.toString(), [l.collection]), v = [
3869
3869
  x ? "selected" : "",
3870
3870
  y ? "focused" : "",
3871
3871
  b ? "disabled" : ""
@@ -3893,14 +3893,14 @@ const N = re(function({
3893
3893
  [h, i, a, r]
3894
3894
  ), E = w(
3895
3895
  (L) => {
3896
- const U = L.target.value, P = s?.(`${i}Options`) ?? [], W = Array.isArray(P) ? P : P ? [P] : [], K = L.target.checked ? [...W, U] : W.filter((_) => _ !== U);
3896
+ const U = L.target.value, P = s?.(`${i}Options`) ?? [], W = Array.isArray(P) ? P : P ? [P] : [], K = L.target.checked ? [...W, U] : W.filter((G) => G !== U);
3897
3897
  r?.(`${i}Options`, K), S(K);
3898
3898
  },
3899
3899
  [i, r, s, S]
3900
- ), z = s?.(`${i}Options`), R = G(() => Array.isArray(z) ? z : typeof z == "string" && z ? [z] : [], [z]), j = G(
3900
+ ), z = s?.(`${i}Options`), R = _(() => Array.isArray(z) ? z : typeof z == "string" && z ? [z] : [], [z]), j = _(
3901
3901
  () => R.includes(t.key.toString()),
3902
3902
  [R, t.key]
3903
- ), M = s?.(`${i}CheckAll`), D = G(() => !!M, [M]), F = t.key === "All" ? /* @__PURE__ */ n(
3903
+ ), M = s?.(`${i}CheckAll`), D = _(() => !!M, [M]), F = t.key === "All" ? /* @__PURE__ */ n(
3904
3904
  De,
3905
3905
  {
3906
3906
  checked: D,
@@ -3983,7 +3983,7 @@ const N = re(function({
3983
3983
  }) => {
3984
3984
  const j = A(), M = t ? void 0 : i, D = e?.value ?? E, [F, Y] = O(
3985
3985
  g.find((B) => B.value === D)?.name ?? ""
3986
- ), [T, L] = O(D), [U, P] = O(g), [W, K] = O(!1), { contains: _ } = Vi({ sensitivity: "base" }), X = Z(null), oe = Z(null), te = Z(null), ae = Z(null), $e = Z(null), At = Z(/* @__PURE__ */ new Set()), si = G(() => {
3986
+ ), [T, L] = O(D), [U, P] = O(g), [W, K] = O(!1), { contains: G } = Vi({ sensitivity: "base" }), X = Z(null), oe = Z(null), te = Z(null), ae = Z(null), $e = Z(null), At = Z(/* @__PURE__ */ new Set()), si = _(() => {
3987
3987
  const B = At.current, le = Array.from(o ?? []), de = g.some((se) => se.group !== void 0);
3988
3988
  return g.toSorted((se, ve) => {
3989
3989
  if (se.value === "All") return -1;
@@ -4012,7 +4012,7 @@ const N = re(function({
4012
4012
  }
4013
4013
  return 0;
4014
4014
  }).map(
4015
- (se) => _(se.name, F) || W ? /* @__PURE__ */ n(
4015
+ (se) => G(se.name, F) || W ? /* @__PURE__ */ n(
4016
4016
  Bi,
4017
4017
  {
4018
4018
  "aria-label": se.value,
@@ -4023,7 +4023,7 @@ const N = re(function({
4023
4023
  se.value
4024
4024
  ) : null
4025
4025
  );
4026
- }, [_, o, F, g, p, W]), ci = w(
4026
+ }, [G, o, F, g, p, W]), ci = w(
4027
4027
  (B) => {
4028
4028
  const le = B.split(/,|\s/u).slice(-1)[0].trim();
4029
4029
  Y(p ? le : B), B === "" || B.endsWith(",") ? K(!0) : (K(!1), L((de) => {
@@ -4031,11 +4031,11 @@ const N = re(function({
4031
4031
  return e && e.onChange(fe), f && f(B), fe;
4032
4032
  }), P(
4033
4033
  g.filter(
4034
- (de) => _(de.name, p ? le : B)
4034
+ (de) => G(de.name, p ? le : B)
4035
4035
  )
4036
4036
  ));
4037
4037
  },
4038
- [_, g, e, p, f]
4038
+ [G, g, e, p, f]
4039
4039
  ), di = w(
4040
4040
  (B) => {
4041
4041
  Y(g.find((le) => le.value === B)?.name ?? ""), L(B ? String(B) : ""), e && e.onChange(B), f && f(B ? String(B) : ""), P(g);
@@ -4112,10 +4112,10 @@ const N = re(function({
4112
4112
  }, [D, g, c, p]);
4113
4113
  const _e = Array.from(ge.collection), mn = p ? _e.findLastIndex(
4114
4114
  (B) => B.key === "All" || At.current.has(String(B.key))
4115
- ) : -1, bi = G(() => g.map((B) => B.value), [g]), wn = G(
4115
+ ) : -1, bi = _(() => g.map((B) => B.value), [g]), wn = _(
4116
4116
  () => new Map(g.map((B) => [B.value, B.group])),
4117
4117
  [g]
4118
- ), tt = G(() => _e.reduce(
4118
+ ), tt = _(() => _e.reduce(
4119
4119
  (B, le, de) => {
4120
4120
  const fe = wn.get(String(le.key));
4121
4121
  return fe !== void 0 && fe !== B.currentGroup ? (B.result.push({ type: "header", group: fe }), B.currentGroup = fe) : fe === void 0 && B.currentGroup !== void 0 && (B.currentGroup = void 0), B.result.push({ type: "item", index: de }), B;
@@ -5385,7 +5385,7 @@ const N = re(function({
5385
5385
  Y(X.target.value), j?.(X);
5386
5386
  },
5387
5387
  [j]
5388
- ), K = c && d && !e && F.trim() !== "", _ = w(
5388
+ ), K = c && d && !e && F.trim() !== "", G = w(
5389
5389
  (X) => {
5390
5390
  X.key === "Enter" && X.preventDefault();
5391
5391
  },
@@ -5424,7 +5424,7 @@ const N = re(function({
5424
5424
  disabled: e,
5425
5425
  id: g,
5426
5426
  list: k ? `list_${g}` : void 0,
5427
- onKeyDown: _,
5427
+ onKeyDown: G,
5428
5428
  onPaste: f,
5429
5429
  placeholder: x,
5430
5430
  type: U,
@@ -6429,7 +6429,7 @@ const N = re(function({
6429
6429
  value: f,
6430
6430
  weight: x
6431
6431
  }) => {
6432
- const y = A(), b = e ? void 0 : t, [k, v] = O(""), S = c ? f : o?.value, C = G(() => S && typeof S == "string" ? S.split(",").filter(Boolean) : [], [S]), E = w(
6432
+ const y = A(), b = e ? void 0 : t, [k, v] = O(""), S = c ? f : o?.value, C = _(() => S && typeof S == "string" ? S.split(",").filter(Boolean) : [], [S]), E = w(
6433
6433
  (D) => {
6434
6434
  const Y = [...new Set(D.filter(Boolean))].join(","), T = qe("change", s, Y);
6435
6435
  o && o.onChange(T), c && c(T);
@@ -7019,31 +7019,31 @@ const N = re(function({
7019
7019
  forceDialCode: !0,
7020
7020
  value: x ? String(x) : ""
7021
7021
  }), Y = w(
7022
- (_) => {
7023
- _.key === "Enter" && _.preventDefault();
7022
+ (G) => {
7023
+ G.key === "Enter" && G.preventDefault();
7024
7024
  },
7025
7025
  []
7026
7026
  ), T = w(
7027
- (_) => {
7028
- _.preventDefault(), b((X) => !X), y || v("");
7027
+ (G) => {
7028
+ G.preventDefault(), b((X) => !X), y || v("");
7029
7029
  },
7030
7030
  [y]
7031
7031
  ), L = w(
7032
- (_) => () => {
7033
- F(_), b(!1), v("");
7032
+ (G) => () => {
7033
+ F(G), b(!1), v("");
7034
7034
  },
7035
7035
  [F, b]
7036
7036
  ), U = w(
7037
- (_) => {
7038
- _.key.length === 1 ? v((X) => X + _.key) : _.key === "Backspace" && v((X) => X.slice(0, -1));
7037
+ (G) => {
7038
+ G.key.length === 1 ? v((X) => X + G.key) : G.key === "Backspace" && v((X) => X.slice(0, -1));
7039
7039
  },
7040
7040
  []
7041
7041
  ), P = w(() => {
7042
7042
  C(!0);
7043
7043
  }, []), W = w(() => {
7044
7044
  C(!1);
7045
- }, []), K = zn.filter((_) => {
7046
- const { name: X } = In(_);
7045
+ }, []), K = zn.filter((G) => {
7046
+ const { name: X } = In(G);
7047
7047
  return X.toLowerCase().includes(k.toLowerCase());
7048
7048
  });
7049
7049
  return Ce(E.floating.current, () => {
@@ -7130,8 +7130,8 @@ const N = re(function({
7130
7130
  }
7131
7131
  ),
7132
7132
  y && He(
7133
- /* @__PURE__ */ n(ks, { ref: E.setFloating, style: z, children: K.map((_) => {
7134
- const { dialCode: X, iso2: oe, name: te } = In(_);
7133
+ /* @__PURE__ */ n(ks, { ref: E.setFloating, style: z, children: K.map((G) => {
7134
+ const { dialCode: X, iso2: oe, name: te } = In(G);
7135
7135
  return /* @__PURE__ */ u(
7136
7136
  Cs,
7137
7137
  {
@@ -7273,7 +7273,7 @@ const N = re(function({
7273
7273
  setValue: E,
7274
7274
  watch: z
7275
7275
  }) => {
7276
- const R = G(() => {
7276
+ const R = _(() => {
7277
7277
  if (l === "text")
7278
7278
  return /* @__PURE__ */ n(
7279
7279
  pn,
@@ -8284,11 +8284,11 @@ const Jn = Object.fromEntries(
8284
8284
  }) => {
8285
8285
  const c = A(), [d, p] = O(!1);
8286
8286
  Q(() => p(!1), [r]);
8287
- const g = s === "location", h = !q.isNil(r) && !q.isString(r) && !q.isEmpty(r.content), f = h ? r.content : null, x = h ? r.offset : 0, y = l !== void 0 ? Number(l) : null, b = q.isString(r) && !q.isEmpty(r), k = G(
8287
+ const g = s === "location", h = !q.isNil(r) && !q.isString(r) && !q.isEmpty(r.content), f = h ? r.content : null, x = h ? r.offset : 0, y = l !== void 0 ? Number(l) : null, b = q.isString(r) && !q.isEmpty(r), k = _(
8288
8288
  () => b ? r.split(`
8289
8289
  `) : [],
8290
8290
  [b, r]
8291
- ), v = k.length > 8, S = G(() => b ? v && !d ? `${k.slice(0, 8).join(`
8291
+ ), v = k.length > 8, S = _(() => b ? v && !d ? `${k.slice(0, 8).join(`
8292
8292
  `)}...` : r : i, [b, v, d, k, r, i]), C = w(
8293
8293
  (j) => ({
8294
8294
  style: {
@@ -10166,7 +10166,7 @@ const Jn = Object.fromEntries(
10166
10166
  values: d,
10167
10167
  updateSearch: p,
10168
10168
  setValues: g
10169
- } = we(Ge), h = Ma(o, s), f = G(() => Object.values(d).filter(Boolean).length > 0, [d]), x = w(
10169
+ } = we(Ge), h = Ma(o, s), f = _(() => Object.values(d).filter(Boolean).length > 0, [d]), x = w(
10170
10170
  (k) => () => {
10171
10171
  i(k), p({ previousValue: d[k] ?? "" }), c({ searchFilter: "", searchGlobal: "" });
10172
10172
  },
@@ -10298,7 +10298,7 @@ const Jn = Object.fromEntries(
10298
10298
  );
10299
10299
  return { searchState: t, updateSearch: i };
10300
10300
  }, wc = () => {
10301
- const e = Z(null), [t, o] = O("0"), i = G(
10301
+ const e = Z(null), [t, o] = O("0"), i = _(
10302
10302
  () => ({ height: t, ref: e }),
10303
10303
  [t]
10304
10304
  ), a = w((r) => {
@@ -10406,7 +10406,7 @@ const Jn = Object.fromEntries(
10406
10406
  }) => {
10407
10407
  const l = A(), [s, c] = O(r), [d, p] = O(
10408
10408
  () => new Set(o)
10409
- ), [g, h] = O(null), f = Z(null), x = G(() => new Set(o), [o]), y = G(
10409
+ ), [g, h] = O(null), f = Z(null), x = _(() => new Set(o), [o]), y = _(
10410
10410
  () => [...t].sort(
10411
10411
  (D, F) => Number(d.has(F.value)) - Number(d.has(D.value))
10412
10412
  ),
@@ -10533,7 +10533,7 @@ const Jn = Object.fromEntries(
10533
10533
  ) : void 0
10534
10534
  ] });
10535
10535
  }, ro = (e, t) => e.includes(t) ? e.filter((o) => o !== t) : [...e, t], Rc = re(function({ id: t, label: o, option: i }, a) {
10536
- const r = A(), { values: l, setValues: s, navMode: c } = we(Ge), d = i.items ?? [], p = i.includeLabel ?? "Include", g = i.excludeLabel ?? "Exclude", { include: h, exclude: f } = G(
10536
+ const r = A(), { values: l, setValues: s, navMode: c } = we(Ge), d = i.items ?? [], p = i.includeLabel ?? "Include", g = i.excludeLabel ?? "Exclude", { include: h, exclude: f } = _(
10537
10537
  () => Ve(l[t] ?? ""),
10538
10538
  [l, t]
10539
10539
  ), x = w(
@@ -10962,7 +10962,7 @@ const Jn = Object.fromEntries(
10962
10962
  (T) => T.type === "includeExclude"
10963
10963
  ), v = o?.find(
10964
10964
  (T) => T.type === "checkboxes" && T.excludeLabel
10965
- ), { mode: S, values: C } = Ie(b ?? ""), E = S === "exclude", z = C.length > 0, R = G(() => o?.map((T) => (T?.items ?? []).filter(
10965
+ ), { mode: S, values: C } = Ie(b ?? ""), E = S === "exclude", z = C.length > 0, R = _(() => o?.map((T) => (T?.items ?? []).filter(
10966
10966
  (U) => U.label?.toLowerCase().includes(s.toLowerCase()) ?? !1
10967
10967
  )) ?? [], [o, s]), j = w(() => {
10968
10968
  p((T) => ({ ...T, [r]: "" }));
@@ -11006,27 +11006,27 @@ const Jn = Object.fromEntries(
11006
11006
  if (L === "checkboxes") {
11007
11007
  const { mode: W, values: K } = Ie(
11008
11008
  P[r] ?? ""
11009
- ), _ = K.includes(T) ? K.filter((X) => X !== T) : [...K, T];
11009
+ ), G = K.includes(T) ? K.filter((X) => X !== T) : [...K, T];
11010
11010
  return {
11011
11011
  ...P,
11012
- [r]: dt({ mode: W, values: _ })
11012
+ [r]: dt({ mode: W, values: G })
11013
11013
  };
11014
11014
  }
11015
11015
  if (L === "dateRange") {
11016
11016
  const W = Vt(P[r] ?? ""), K = W.filter(
11017
11017
  (te) => te !== "-" && !RegExp(/^\d+\-\d+\-\d+$/).test(te.trim())
11018
- ), _ = W.filter(
11018
+ ), G = W.filter(
11019
11019
  (te) => ce(te).isValid() && ce(te).isAfter(ce("1903-01-01"))
11020
11020
  ), X = ce(T, "YYYY-MM-DD", !0), oe = ["-", "-"];
11021
- return _.length === 2 ? (oe[0] = _[0], oe[1] = _[1]) : _.length === 1 && (X.isAfter(ce(_[0])) ? (oe[0] = _[0], oe[1] = T) : (oe[0] = T, oe[1] = _[0])), oe[U ?? 0] = T, { ...P, [r]: [...K, ...oe].join(",") };
11021
+ return G.length === 2 ? (oe[0] = G[0], oe[1] = G[1]) : G.length === 1 && (X.isAfter(ce(G[0])) ? (oe[0] = G[0], oe[1] = T) : (oe[0] = T, oe[1] = G[0])), oe[U ?? 0] = T, { ...P, [r]: [...K, ...oe].join(",") };
11022
11022
  }
11023
11023
  if (L === "numberRange") {
11024
11024
  const W = Vt(P[r] ?? ""), K = W.filter(
11025
11025
  (te) => te !== "-" && !RegExp(/^\d+$/).test(te.trim())
11026
- ), _ = W.filter(
11026
+ ), G = W.filter(
11027
11027
  (te) => te === "-" || RegExp(/^\d+$/).test(te.trim())
11028
11028
  ), X = ["-", "-"];
11029
- _.forEach((te, ae) => {
11029
+ G.forEach((te, ae) => {
11030
11030
  if (ae >= 2) return;
11031
11031
  const $e = te.trim();
11032
11032
  RegExp(/^\d+$/).test($e) ? X[ae] = Number($e) : $e === "-" && (X[ae] = "-");
@@ -11048,13 +11048,13 @@ const Jn = Object.fromEntries(
11048
11048
  }
11049
11049
  if (L === "list") {
11050
11050
  const K = Vt(P[r] ?? "").filter(
11051
- (_) => _ === "-" || RegExp(/^\d+$/).test(_) || RegExp(/^\d+\-\d+\-\d+$/).test(_.trim())
11051
+ (G) => G === "-" || RegExp(/^\d+$/).test(G) || RegExp(/^\d+\-\d+\-\d+$/).test(G.trim())
11052
11052
  );
11053
11053
  return { ...P, [r]: [...K, T].join(",") };
11054
11054
  }
11055
11055
  if (L === "textCheckbox") {
11056
- const W = P[r] ?? "", K = W.match(/^textCheck:(true|false),(.*)$/), _ = K ? K[2] : W, X = T === "true";
11057
- return !X && _ === "" ? { ...P, [r]: "" } : { ...P, [r]: `textCheck:${X},${_}` };
11056
+ const W = P[r] ?? "", K = W.match(/^textCheck:(true|false),(.*)$/), G = K ? K[2] : W, X = T === "true";
11057
+ return !X && G === "" ? { ...P, [r]: "" } : { ...P, [r]: `textCheck:${X},${G}` };
11058
11058
  }
11059
11059
  if (L === "text") {
11060
11060
  const K = (P[r] ?? "").match(/^textCheck:(true|false),/);
@@ -11238,19 +11238,19 @@ const Jn = Object.fromEntries(
11238
11238
  const f = Rt("filters"), { calendarState: x } = vc(), { searchState: y, updateSearch: b } = mc(!1), { scrollState: k, updateScrollHeight: v } = wc(), [S, C] = O(""), [E, z] = O(null), { refs: R } = Ze({ placement: "bottom-start" }), { refs: j } = Ze({
11239
11239
  elements: { reference: R.reference.current },
11240
11240
  placement: "right-end"
11241
- }), { activeFilters: M, values: D, setValues: F } = i, { previousValue: Y } = y, { menu: T, inline: L } = G(
11241
+ }), { activeFilters: M, values: D, setValues: F } = i, { previousValue: Y } = y, { menu: T, inline: L } = _(
11242
11242
  () => Oo(t),
11243
11243
  [t]
11244
- ), { label: U, options: P } = Oa(T, S, Y), W = Pa(T), K = Lr(l) || l === null || S !== l, _ = w(
11244
+ ), { label: U, options: P } = Oa(T, S, Y), W = Pa(T), K = Lr(l) || l === null || S !== l, G = w(
11245
11245
  (ae, $e) => {
11246
11246
  C(ae), s(ae), z($e);
11247
11247
  },
11248
11248
  [s]
11249
11249
  ), X = w(
11250
11250
  (ae) => {
11251
- _(ae, null);
11251
+ G(ae, null);
11252
11252
  },
11253
- [_]
11253
+ [G]
11254
11254
  ), oe = w(() => {
11255
11255
  f.isOpen || c(), f.toggle(), C(""), s(null), z(null), r({ searchGlobal: "", searchFilter: "" });
11256
11256
  }, [f, s, r, c]), te = w(() => {
@@ -11266,10 +11266,10 @@ const Jn = Object.fromEntries(
11266
11266
  h,
11267
11267
  () => ({
11268
11268
  openAndNavigate: (ae, $e) => {
11269
- f.isOpen || (c(), f.open()), r({ searchGlobal: "", searchFilter: "" }), b({ previousValue: D[ae] ?? "" }), _(ae, $e ?? null);
11269
+ f.isOpen || (c(), f.open()), r({ searchGlobal: "", searchFilter: "" }), b({ previousValue: D[ae] ?? "" }), G(ae, $e ?? null);
11270
11270
  }
11271
11271
  }),
11272
- [f, c, r, b, D, _]
11272
+ [f, c, r, b, D, G]
11273
11273
  ), Ce(R.floating.current, te, [
11274
11274
  R.reference.current,
11275
11275
  j.floating.current
@@ -11347,10 +11347,10 @@ const Jn = Object.fromEntries(
11347
11347
  );
11348
11348
  }, Mc = re(
11349
11349
  ({ disabled: e = !1, filters: t, tooltip: o, storageKey: i, width: a, justify: r }, l) => {
11350
- const s = G(Mo, []), c = G(() => i ?? s, [i, s]), d = Ho({ filters: t, storageKey: i }), [p, g] = O(null), [h, f] = O({
11350
+ const s = _(Mo, []), c = _(() => i ?? s, [i, s]), d = Ho({ filters: t, storageKey: i }), [p, g] = O(null), [h, f] = O({
11351
11351
  searchGlobal: "",
11352
11352
  searchFilter: ""
11353
- }), x = G(
11353
+ }), x = _(
11354
11354
  () => Object.values(d.values).some(
11355
11355
  (k) => !!k && k !== "undefined"
11356
11356
  ),
@@ -13626,10 +13626,10 @@ const Lg = ({
13626
13626
  }) => {
13627
13627
  const i = Gt.toArray(
13628
13628
  e
13629
- ), a = G(
13629
+ ), a = _(
13630
13630
  () => Gt.count(e),
13631
13631
  [e]
13632
- ), r = G(
13632
+ ), r = _(
13633
13633
  () => a * o,
13634
13634
  [a, o]
13635
13635
  );
@@ -13955,7 +13955,7 @@ const Lg = ({
13955
13955
  i?.(Y), x(!1);
13956
13956
  },
13957
13957
  [t, i]
13958
- ), R = f && (y.trim().length > 0 || t.length > 0), j = G(
13958
+ ), R = f && (y.trim().length > 0 || t.length > 0), j = _(
13959
13959
  () => t.length === 0 ? /* @__PURE__ */ n(Md, { children: c }) : /* @__PURE__ */ n(Pd, { role: "listbox", children: t.map(
13960
13960
  (D, F) => /* @__PURE__ */ n(Od, { onClick: z, role: "option", children: o(D) }, F)
13961
13961
  ) }),
@@ -15013,7 +15013,7 @@ const Lg = ({
15013
15013
  variant: i = "default",
15014
15014
  onItemClick: a
15015
15015
  }) => {
15016
- const r = G(
15016
+ const r = _(
15017
15017
  () => e.map((d) => d.id),
15018
15018
  [e]
15019
15019
  ), [l, s] = Ra(r, {
@@ -15077,15 +15077,15 @@ const Lg = ({
15077
15077
  export: a = !1,
15078
15078
  headers: r = {},
15079
15079
  name: l = "Report"
15080
- } = e, s = G(
15080
+ } = e, s = _(
15081
15081
  () => q.isUndefined(i) ? po(t) : po(t).map(
15082
15082
  (p) => q.pick(p, i)
15083
15083
  ),
15084
15084
  [t, i]
15085
- ), c = G(
15085
+ ), c = _(
15086
15086
  () => s.length > 0 && !q.isEmpty(r),
15087
15087
  [s.length, r]
15088
- ), d = G(
15088
+ ), d = _(
15089
15089
  () => (c ? Object.keys(s[0]) : []).map(
15090
15090
  (p) => q.includes(Object.keys(r), p) ? { key: p, label: r[p] } : { key: p, label: p }
15091
15091
  ),
@@ -15101,10 +15101,10 @@ const Lg = ({
15101
15101
  }
15102
15102
  ) : /* @__PURE__ */ n(xe, { children: o });
15103
15103
  }, gp = (e) => {
15104
- const { table: t } = e, { meta: o } = t.options, [i, a] = O(0), [, r] = t.getHeaderGroups(), l = t.getState(), s = G(
15104
+ const { table: t } = e, { meta: o } = t.options, [i, a] = O(0), [, r] = t.getHeaderGroups(), l = t.getState(), s = _(
15105
15105
  () => t.getAllLeafColumns().filter((g) => g.id !== "selection"),
15106
15106
  [t]
15107
- ), c = G(() => s.map(
15107
+ ), c = _(() => s.map(
15108
15108
  (g) => ({
15109
15109
  group: g.parent?.id,
15110
15110
  id: g.id,
@@ -15582,19 +15582,22 @@ const Lg = ({
15582
15582
  display: flex;
15583
15583
  width: 100%;
15584
15584
  `, xp = () => {
15585
- const e = A(), { table: t } = we(Re), { loading: o } = t?.options.meta ?? {}, i = G(() => {
15586
- const c = (t?.getVisibleLeafColumns() ?? []).findIndex(
15587
- (d) => d?.id !== "selection"
15588
- );
15589
- return c === -1 ? 0 : c;
15590
- }, [t]), a = w(
15591
- (s, c) => {
15592
- if (c === i)
15593
- return (d) => {
15594
- d.stopPropagation(), t?.options?.onRowClick?.(s);
15585
+ const e = A(), { table: t } = we(Re), { loading: o } = t?.options.meta ?? {}, i = w(
15586
+ (s) => {
15587
+ const c = s.findIndex(
15588
+ (d) => d.column.id !== "selection"
15589
+ );
15590
+ return c === -1 ? 0 : c;
15591
+ },
15592
+ []
15593
+ ), a = w(
15594
+ (s, c, d) => {
15595
+ if (c === d)
15596
+ return (p) => {
15597
+ p.stopPropagation(), t?.options?.onRowClick?.(s);
15595
15598
  };
15596
15599
  },
15597
- [i, t]
15600
+ [t]
15598
15601
  ), r = w(
15599
15602
  (s) => (c) => {
15600
15603
  c.stopPropagation(), s.toggleExpanded();
@@ -15624,47 +15627,54 @@ const Lg = ({
15624
15627
  textAlign: "center",
15625
15628
  children: "No data to display"
15626
15629
  }
15627
- ) }) }) }) : /* @__PURE__ */ n("tbody", { children: t?.getRowModel().rows.map((s) => /* @__PURE__ */ u(bt.Fragment, { children: [
15628
- /* @__PURE__ */ n(
15629
- "tr",
15630
- {
15631
- "aria-expanded": s.getIsExpanded(),
15632
- className: s.getIsSelected() ? "selected" : "",
15633
- "data-testid": `row-${s.id}`,
15634
- children: s.getVisibleCells().map((c, d) => /* @__PURE__ */ n(
15635
- "td",
15636
- {
15637
- className: d === i && t.options.onRowClick ? "clickable" : "",
15638
- "data-testid": `cell-${c.id}`,
15639
- onClick: a(s, d),
15640
- children: /* @__PURE__ */ u(bp, { children: [
15641
- d === i && s.getCanExpand() ? /* @__PURE__ */ n(
15642
- "button",
15643
- {
15644
- onClick: r(s),
15645
- style: { cursor: "pointer", marginRight: "1rem" },
15646
- children: /* @__PURE__ */ n(
15647
- N,
15648
- {
15649
- icon: s.getIsExpanded() ? "angle-up" : "angle-down",
15650
- iconSize: "lg",
15651
- iconType: "fa-light"
15652
- }
15653
- )
15654
- }
15655
- ) : void 0,
15656
- Ut(
15657
- c.column.columnDef.cell,
15658
- c.getContext()
15659
- )
15660
- ] })
15661
- },
15662
- c.id
15663
- ))
15664
- }
15665
- ),
15666
- s.getIsExpanded() ? /* @__PURE__ */ n("tr", { "data-testid": `row-${s.id}-expand`, id: "description", children: /* @__PURE__ */ n("td", { colSpan: 100, children: l(s) }) }) : void 0
15667
- ] }, s.id)) });
15630
+ ) }) }) }) : /* @__PURE__ */ n("tbody", { children: t?.getRowModel().rows.map((s) => {
15631
+ const c = s.getVisibleCells(), d = i(c);
15632
+ return /* @__PURE__ */ u(bt.Fragment, { children: [
15633
+ /* @__PURE__ */ n(
15634
+ "tr",
15635
+ {
15636
+ "aria-expanded": s.getIsExpanded(),
15637
+ className: s.getIsSelected() ? "selected" : "",
15638
+ "data-testid": `row-${s.id}`,
15639
+ children: c.map((p, g) => /* @__PURE__ */ n(
15640
+ "td",
15641
+ {
15642
+ className: g === d && t.options.onRowClick ? "clickable" : "",
15643
+ "data-testid": `cell-${p.id}`,
15644
+ onClick: a(
15645
+ s,
15646
+ g,
15647
+ d
15648
+ ),
15649
+ children: /* @__PURE__ */ u(bp, { children: [
15650
+ g === d && s.getCanExpand() ? /* @__PURE__ */ n(
15651
+ "button",
15652
+ {
15653
+ onClick: r(s),
15654
+ style: { cursor: "pointer", marginRight: "1rem" },
15655
+ children: /* @__PURE__ */ n(
15656
+ N,
15657
+ {
15658
+ icon: s.getIsExpanded() ? "angle-up" : "angle-down",
15659
+ iconSize: "lg",
15660
+ iconType: "fa-light"
15661
+ }
15662
+ )
15663
+ }
15664
+ ) : void 0,
15665
+ Ut(
15666
+ p.column.columnDef.cell,
15667
+ p.getContext()
15668
+ )
15669
+ ] })
15670
+ },
15671
+ p.id
15672
+ ))
15673
+ }
15674
+ ),
15675
+ s.getIsExpanded() ? /* @__PURE__ */ n("tr", { "data-testid": `row-${s.id}-expand`, id: "description", children: /* @__PURE__ */ n("td", { colSpan: 100, children: l(s) }) }) : void 0
15676
+ ] }, s.id);
15677
+ }) });
15668
15678
  }, mp = () => {
15669
15679
  const {
15670
15680
  containerRef: e,
@@ -15764,7 +15774,7 @@ const Lg = ({
15764
15774
  open: c,
15765
15775
  placement: "top-end",
15766
15776
  whileElementsMounted: mt
15767
- }), x = G(
15777
+ }), x = _(
15768
15778
  () => Zr(
15769
15779
  [vp, kp, Cp, fo],
15770
15780
  // eslint-disable-next-line functional/prefer-immutable-types
@@ -1,5 +1,5 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { t as a } from "../../components-DIJCNlEu.mjs";
2
+ import { t as a } from "../../components-Bys1Jmds.mjs";
3
3
  const n = [
4
4
  "gray",
5
5
  "primary",
@@ -1,7 +1,7 @@
1
1
  import { jsxs as s, jsx as r } from "react/jsx-runtime";
2
2
  import { DesignTokensCss as e } from "../design-tokens-css/index.js";
3
3
  import { GlobalTypography as m } from "../global-typography/index.js";
4
- import { C as i } from "../../components-DIJCNlEu.mjs";
4
+ import { C as i } from "../../components-Bys1Jmds.mjs";
5
5
  const a = ({
6
6
  children: o
7
7
  }) => /* @__PURE__ */ s(i, { children: [
@@ -1,4 +1,4 @@
1
- import { bB as a, bC as u, bD as b, bE as l, bF as o, bI as c, bJ as i, bK as r, bL as C } from "../components-DIJCNlEu.mjs";
1
+ import { bB as a, bC as u, bD as b, bE as l, bF as o, bI as c, bJ as i, bK as r, bL as C } from "../components-Bys1Jmds.mjs";
2
2
  export {
3
3
  a as useActiveSection,
4
4
  u as useCarousel,