@fluidattacks/design 3.25.5 → 3.25.6-pr

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 (162) 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/alert/index.js +1 -1
  5. package/dist/components/alert/types.d.ts +2 -2
  6. package/dist/components/avatar/index.js +1 -1
  7. package/dist/components/button/index.js +1 -1
  8. package/dist/components/card/card-header/index.js +1 -1
  9. package/dist/components/card/card-with-image/index.js +1 -1
  10. package/dist/components/card/card-with-input/index.js +1 -1
  11. package/dist/components/card/card-with-options/index.js +1 -1
  12. package/dist/components/card/card-with-selector/index.js +1 -1
  13. package/dist/components/card/card-with-switch/index.js +1 -1
  14. package/dist/components/card/index.js +1 -1
  15. package/dist/components/card-container/index.js +1 -1
  16. package/dist/components/carousel/index.js +1 -1
  17. package/dist/components/checkbox/index.js +1 -1
  18. package/dist/components/cloud-image/index.js +1 -1
  19. package/dist/components/code-snippet/index.js +1 -1
  20. package/dist/components/code-snippet/location-code/index.js +1 -1
  21. package/dist/components/colors/index.js +1 -1
  22. package/dist/components/conditions-dialog/index.js +1 -1
  23. package/dist/components/confirm-dialog/index.js +1 -1
  24. package/dist/components/container/index.js +1 -1
  25. package/dist/components/copy-button/index.js +1 -1
  26. package/dist/components/divider/index.js +1 -1
  27. package/dist/components/dropdown/index.js +1 -1
  28. package/dist/components/empty-state/empty-button/index.js +1 -1
  29. package/dist/components/empty-state/index.js +1 -1
  30. package/dist/components/file-preview/index.js +1 -1
  31. package/dist/components/form/index.js +1 -1
  32. package/dist/components/form/inner-form/index.js +1 -1
  33. package/dist/components/grid-container/index.js +1 -1
  34. package/dist/components/group-selector/index.js +1 -1
  35. package/dist/components/group-selector/option-container/index.js +1 -1
  36. package/dist/components/icon/index.js +1 -1
  37. package/dist/components/icon-button/index.js +1 -1
  38. package/dist/components/indicator-card/index.js +1 -1
  39. package/dist/components/info-sidebar/index.js +1 -1
  40. package/dist/components/inputs/fields/combobox/field/index.js +1 -1
  41. package/dist/components/inputs/fields/combobox/index.js +1 -1
  42. package/dist/components/inputs/fields/combobox/option/index.js +1 -1
  43. package/dist/components/inputs/fields/date/calendar/cell/index.js +1 -1
  44. package/dist/components/inputs/fields/date/calendar/grid/index.js +1 -1
  45. package/dist/components/inputs/fields/date/calendar/header/index.js +1 -1
  46. package/dist/components/inputs/fields/date/calendar/index.js +1 -1
  47. package/dist/components/inputs/fields/date/index.js +1 -1
  48. package/dist/components/inputs/fields/date-range/calendar/index.js +1 -1
  49. package/dist/components/inputs/fields/date-range/index.js +1 -1
  50. package/dist/components/inputs/fields/date-time/calendar/index.js +1 -1
  51. package/dist/components/inputs/fields/date-time/index.js +1 -1
  52. package/dist/components/inputs/fields/editable/index.js +1 -1
  53. package/dist/components/inputs/fields/input/index.js +1 -1
  54. package/dist/components/inputs/fields/input-array/field/index.js +1 -1
  55. package/dist/components/inputs/fields/input-array/index.js +1 -1
  56. package/dist/components/inputs/fields/input-file/index.js +1 -1
  57. package/dist/components/inputs/fields/input-tags/field/index.js +1 -1
  58. package/dist/components/inputs/fields/input-tags/index.js +1 -1
  59. package/dist/components/inputs/fields/number/index.js +1 -1
  60. package/dist/components/inputs/fields/number-range/index.js +1 -1
  61. package/dist/components/inputs/fields/phone/index.js +1 -1
  62. package/dist/components/inputs/fields/text-area/index.js +1 -1
  63. package/dist/components/inputs/index.js +1 -1
  64. package/dist/components/inputs/label/index.js +1 -1
  65. package/dist/components/inputs/outline-container/index.js +1 -1
  66. package/dist/components/inputs/utils/action-button/index.js +1 -1
  67. package/dist/components/inputs/utils/calendar-button/index.js +1 -1
  68. package/dist/components/inputs/utils/date-selector/index.js +1 -1
  69. package/dist/components/inputs/utils/date-time-field/index.js +1 -1
  70. package/dist/components/inputs/utils/dialog/index.js +1 -1
  71. package/dist/components/inputs/utils/number-field/index.js +1 -1
  72. package/dist/components/inputs/utils/popover/index.js +1 -1
  73. package/dist/components/layout/categories/buttons/index.js +1 -1
  74. package/dist/components/layout/categories/column/index.js +1 -1
  75. package/dist/components/layout/categories/gap/index.js +1 -1
  76. package/dist/components/layout/categories/row/index.js +1 -1
  77. package/dist/components/layout/index.js +1 -1
  78. package/dist/components/link/index.js +1 -1
  79. package/dist/components/list-item/index.js +1 -1
  80. package/dist/components/little-flag/index.js +1 -1
  81. package/dist/components/loading/index.js +1 -1
  82. package/dist/components/logo/index.js +1 -1
  83. package/dist/components/lottie/index.js +1 -1
  84. package/dist/components/menu/index.js +1 -1
  85. package/dist/components/message-banner/index.js +1 -1
  86. package/dist/components/modal/columns-modal/index.js +1 -1
  87. package/dist/components/modal/columns-modal/preview-panel/index.js +1 -1
  88. package/dist/components/modal/columns-modal/search-panel/index.js +1 -1
  89. package/dist/components/modal/filters-modal/applied-filter/index.js +1 -1
  90. package/dist/components/modal/filters-modal/applied-filters/index.js +1 -1
  91. package/dist/components/modal/filters-modal/column-filters/index.js +1 -1
  92. package/dist/components/modal/filters-modal/filter-control/index.js +1 -1
  93. package/dist/components/modal/filters-modal/filter-form/form-content/index.js +1 -1
  94. package/dist/components/modal/filters-modal/filter-form/hooks/index.js +1 -1
  95. package/dist/components/modal/filters-modal/filter-form/index.js +1 -1
  96. package/dist/components/modal/filters-modal/filters-list/index.js +1 -1
  97. package/dist/components/modal/filters-modal/index.js +1 -1
  98. package/dist/components/modal/footer/index.js +1 -1
  99. package/dist/components/modal/header/index.js +1 -1
  100. package/dist/components/modal/index.js +1 -1
  101. package/dist/components/modal/modal-confirm/index.js +1 -1
  102. package/dist/components/notification/index.js +1 -1
  103. package/dist/components/notification-sign/index.js +1 -1
  104. package/dist/components/number-input/index.js +1 -1
  105. package/dist/components/oauth-selector/index.js +1 -1
  106. package/dist/components/oauth-selector/option-container/index.js +1 -1
  107. package/dist/components/pop-up/description/index.js +1 -1
  108. package/dist/components/pop-up/index.js +1 -1
  109. package/dist/components/premium-feature/index.js +1 -1
  110. package/dist/components/priority-score/index.js +1 -1
  111. package/dist/components/progress-bar/index.js +1 -1
  112. package/dist/components/progress-indicator/in-progress-icon/index.js +1 -1
  113. package/dist/components/progress-indicator/index.js +1 -1
  114. package/dist/components/progress-indicator/step/index.js +1 -1
  115. package/dist/components/radio-button/index.js +1 -1
  116. package/dist/components/scroll-button/index.js +1 -1
  117. package/dist/components/search/index.js +1 -1
  118. package/dist/components/severity-badge/index.js +1 -1
  119. package/dist/components/severity-overview/badge/index.js +1 -1
  120. package/dist/components/severity-overview/index.js +1 -1
  121. package/dist/components/show-on-hover/index.js +1 -1
  122. package/dist/components/slide-out-menu/index.js +1 -1
  123. package/dist/components/slide-out-menu/menu-item/index.js +1 -1
  124. package/dist/components/slider/index.js +1 -1
  125. package/dist/components/slider/thumb/index.js +1 -1
  126. package/dist/components/step-lapse/index.js +1 -1
  127. package/dist/components/table/context/index.js +1 -1
  128. package/dist/components/table/export-csv/index.js +1 -1
  129. package/dist/components/table/index.js +1 -1
  130. package/dist/components/table/pagination/pagination-control/index.js +1 -1
  131. package/dist/components/table/pagination/pagination-dropdown/index.js +1 -1
  132. package/dist/components/table/pagination/pagination-size/index.js +1 -1
  133. package/dist/components/table/sort-icon/index.js +1 -1
  134. package/dist/components/table/table-body/index.js +1 -1
  135. package/dist/components/table/table-column-toggle/index.js +1 -1
  136. package/dist/components/table/table-content/head/index.js +1 -1
  137. package/dist/components/table/table-content/index.js +1 -1
  138. package/dist/components/table/table-footer/footer-content/index.js +1 -1
  139. package/dist/components/table/table-footer/index.js +1 -1
  140. package/dist/components/table/table-options/caption-content/index.js +1 -1
  141. package/dist/components/table/table-options/controls-content/index.js +1 -1
  142. package/dist/components/table/table-options/highlighted-content/index.js +1 -1
  143. package/dist/components/table/table-options/index.js +1 -1
  144. package/dist/components/table/wrapper/index.js +1 -1
  145. package/dist/components/table-button/index.js +1 -1
  146. package/dist/components/tabs/index.js +1 -1
  147. package/dist/components/tabs/tab/index.js +1 -1
  148. package/dist/components/tag/index.js +1 -1
  149. package/dist/components/timeline/card/index.js +1 -1
  150. package/dist/components/timeline/index.js +1 -1
  151. package/dist/components/toggle/index.js +1 -1
  152. package/dist/components/tooltip/index.js +1 -1
  153. package/dist/components/tour/index.js +1 -1
  154. package/dist/components/typography/heading/index.js +1 -1
  155. package/dist/components/typography/index.js +1 -1
  156. package/dist/components/typography/span/index.js +1 -1
  157. package/dist/components/typography/text/index.js +1 -1
  158. package/dist/{components-EtEx0y88.js → components-BukPIlia.js} +1 -1
  159. package/dist/{components-B6-Uar2A.mjs → components-qtUKkVfE.mjs} +146 -150
  160. package/dist/hooks/index.js +1 -1
  161. package/dist/index.js +1 -1
  162. package/package.json +1 -1
@@ -1,8 +1,8 @@
1
1
  import { jsx as i, jsxs as f, Fragment as Je } from "react/jsx-runtime";
2
- import Qe, { forwardRef as Z, useState as R, useCallback as v, StrictMode as Fn, useEffect as U, useRef as B, useMemo as K, Fragment as ye, Children as Ke, isValidElement as Ut, cloneElement as Gt, createContext as En, useContext as ue } from "react";
3
- import { X as Rn, s as b, J as E, u as _t, a as jn, b as Ln, c as An, d as Pn, l as M, e as et, f as On, o as tt, g as Wn, n as Ce, _ as L, $ as Hn, h as Mn, i as Bn, j as Vn, k as Un, m as Gn, p as _n, q as Yn, r as Kn, t as Yt, C as nt, v as Zn, w as Xn, x as qn, y as yt, z as Fe, A as Jn, B as Qn, D as Kt, E as Zt, F as Ee, G as ei, H as ti, I as ni, K as ii, L as ai, M as te, N as ri, O as Xt, P as oi, Q as qt, R as li, S as si, T as ci, U as di, V as pi, W as gi, Y as it, Z as ui, a0 as $t, a1 as bt, a2 as xt, a3 as hi, a4 as fi, a5 as yi, a6 as $i, a7 as bi, a8 as xi, a9 as mi, aa as wi, ab as Jt, ac as vi, ad as ki, ae as Ci, af as Si, ag as zi, ak as Qt, al as Ii, am as Ti, an as Ni, ao as Di, ap as Fi, aq as Ei, ar as Ri, as as ji, at as Li, au as Ai, av as Pi, aw as Ze, ax as Oi, ay as mt, az as Wi, aA as wt, aB as Hi } from "./vendor-Nr1PjBcL.mjs";
2
+ import Qe, { forwardRef as Z, useState as R, useCallback as v, StrictMode as Fn, useMemo as Y, useEffect as U, useRef as V, Fragment as ye, Children as Ke, isValidElement as Ut, cloneElement as Gt, createContext as En, useContext as ue } from "react";
3
+ import { X as Rn, s as b, J as E, u as _t, a as jn, b as Ln, c as An, d as Pn, l as M, e as et, f as On, o as tt, g as Wn, n as Ce, _ as L, $ as Hn, h as Mn, i as Vn, j as Bn, k as Un, m as Gn, p as _n, q as Yn, r as Kn, t as Yt, C as nt, v as Zn, w as Xn, x as qn, y as yt, z as Fe, A as Jn, B as Qn, D as Kt, E as Zt, F as Ee, G as ei, H as ti, I as ni, K as ii, L as ai, M as te, N as ri, O as Xt, P as oi, Q as qt, R as li, S as si, T as ci, U as di, V as pi, W as gi, Y as it, Z as ui, a0 as $t, a1 as bt, a2 as xt, a3 as hi, a4 as fi, a5 as yi, a6 as $i, a7 as bi, a8 as xi, a9 as mi, aa as wi, ab as Jt, ac as vi, ad as ki, ae as Ci, af as Si, ag as zi, ak as Qt, al as Ii, am as Ti, an as Ni, ao as Di, ap as Fi, aq as Ei, ar as Ri, as as ji, at as Li, au as Ai, av as Pi, aw as Ze, ax as Oi, ay as mt, az as Wi, aA as wt, aB as Hi } from "./vendor-Nr1PjBcL.mjs";
4
4
  import { createPortal as $e } from "react-dom";
5
- import { Link as Mi, useLocation as Bi, NavLink as Vi } from "react-router-dom";
5
+ import { Link as Mi, useLocation as Vi, NavLink as Bi } from "react-router-dom";
6
6
  const oe = (e) => ({
7
7
  getVariant: (t, n) => e(t)[n]
8
8
  }), Ui = [
@@ -1292,8 +1292,8 @@ const F = Z(function({
1292
1292
  }), ks = Z(function({
1293
1293
  autoHide: t = !1,
1294
1294
  children: n,
1295
- closable: a = !1,
1296
- iconEnabled: r = !0,
1295
+ iconEnabled: a = !0,
1296
+ onClose: r,
1297
1297
  onTimeOut: o,
1298
1298
  show: s = !0,
1299
1299
  time: l = 8,
@@ -1301,19 +1301,15 @@ const F = Z(function({
1301
1301
  id: d,
1302
1302
  ...p
1303
1303
  }, g) {
1304
- const [u, h] = R(s), y = v(() => {
1305
- h(!1);
1306
- }, []);
1304
+ const u = Y(() => s, [s]);
1307
1305
  return U(() => {
1308
- const x = setTimeout(() => {
1309
- o == null || o(!0), t && y();
1306
+ const h = setTimeout(() => {
1307
+ o == null || o(!0), t && (r == null || r());
1310
1308
  }, l * 1e3);
1311
1309
  return () => {
1312
- clearTimeout(x);
1310
+ clearTimeout(h);
1313
1311
  };
1314
- }, [t, y, l, o]), U(() => {
1315
- h(s);
1316
- }, [s, h]), /* @__PURE__ */ i(
1312
+ }, [t, r, l, o]), /* @__PURE__ */ i(
1317
1313
  $,
1318
1314
  {
1319
1315
  display: u ? "block" : "none",
@@ -1321,7 +1317,7 @@ const F = Z(function({
1321
1317
  role: "alert",
1322
1318
  ...p,
1323
1319
  children: /* @__PURE__ */ f(ua, { $variant: c, id: d, children: [
1324
- r ? /* @__PURE__ */ i(
1320
+ a ? /* @__PURE__ */ i(
1325
1321
  F,
1326
1322
  {
1327
1323
  clickable: !1,
@@ -1331,14 +1327,14 @@ const F = Z(function({
1331
1327
  }
1332
1328
  ) : void 0,
1333
1329
  /* @__PURE__ */ i(ha, { children: n }),
1334
- a ? /* @__PURE__ */ i(
1330
+ r ? /* @__PURE__ */ i(
1335
1331
  _,
1336
1332
  {
1337
1333
  height: "fit-content",
1338
1334
  icon: "close",
1339
1335
  iconSize: "xs",
1340
1336
  iconType: "fa-light",
1341
- onClick: y,
1337
+ onClick: r,
1342
1338
  px: 0.125,
1343
1339
  py: 0.125,
1344
1340
  variant: "ghost"
@@ -1700,7 +1696,7 @@ const F = Z(function({
1700
1696
  "noopener,noreferrer,"
1701
1697
  );
1702
1698
  M.isObject(n) && (n.opener = null);
1703
- }, V = Z(function({
1699
+ }, B = Z(function({
1704
1700
  children: t,
1705
1701
  disabled: n = !1,
1706
1702
  external: a = !1,
@@ -1793,7 +1789,7 @@ const F = Z(function({
1793
1789
  zIndex: 30,
1794
1790
  children: [
1795
1791
  !!n ? /* @__PURE__ */ f(
1796
- V,
1792
+ B,
1797
1793
  {
1798
1794
  onClick: n,
1799
1795
  pb: 0.5,
@@ -2373,7 +2369,7 @@ const F = Z(function({
2373
2369
  }
2374
2370
  ) : void 0
2375
2371
  ] });
2376
- }, Be = ({
2372
+ }, Ve = ({
2377
2373
  className: e,
2378
2374
  children: t,
2379
2375
  isFilter: n = !1,
@@ -2383,7 +2379,7 @@ const F = Z(function({
2383
2379
  ...s
2384
2380
  }) => {
2385
2381
  var g;
2386
- const l = B(null), c = (g = o == null ? void 0 : o.current) == null ? void 0 : g.getBoundingClientRect(), { popoverProps: d } = Hn(
2382
+ const l = V(null), c = (g = o == null ? void 0 : o.current) == null ? void 0 : g.getBoundingClientRect(), { popoverProps: d } = Hn(
2387
2383
  {
2388
2384
  ...s,
2389
2385
  popoverRef: a ?? l,
@@ -2625,9 +2621,9 @@ const F = Z(function({
2625
2621
  watch: l
2626
2622
  }) => {
2627
2623
  var T, z, O;
2628
- const c = E(), d = B(null), p = e.props.hrefLang, g = s.disabledKeys, u = Array.from(s.collection.getKeys()).filter(
2624
+ const c = E(), d = V(null), p = e.props.hrefLang, g = s.disabledKeys, u = Array.from(s.collection.getKeys()).filter(
2629
2625
  (D) => !Array.from(g).includes(D) && D !== "All"
2630
- ), { optionProps: h, isSelected: y, isFocused: x, isDisabled: m } = Bn(
2626
+ ), { optionProps: h, isSelected: y, isFocused: x, isDisabled: m } = Vn(
2631
2627
  { key: e.key },
2632
2628
  s,
2633
2629
  d
@@ -2642,7 +2638,7 @@ const F = Z(function({
2642
2638
  [u, n, r, o]
2643
2639
  ), S = v(() => {
2644
2640
  const D = l == null ? void 0 : l(`${n}Options`), W = typeof D == "string" ? [D] : D;
2645
- Vn(u, W) && !Array.from(g).includes("All") ? (o == null || o("checkAll", "All vulnerability types"), r("All vulnerability types")) : (o == null || o("checkAll", ""), r(
2641
+ Bn(u, W) && !Array.from(g).includes("All") ? (o == null || o("checkAll", "All vulnerability types"), r("All vulnerability types")) : (o == null || o("checkAll", ""), r(
2646
2642
  (W == null ? void 0 : W.length) <= 2 ? W.join(", ") : `${W.slice(0, 2).join(", ") + `, +${W.length - 2} more`}`
2647
2643
  ));
2648
2644
  }, [g, u, n, r, o, l]), C = e.key === "All" ? /* @__PURE__ */ i(
@@ -2727,11 +2723,11 @@ const F = Z(function({
2727
2723
  var ht;
2728
2724
  const j = E(), T = t ? void 0 : a, z = (e == null ? void 0 : e.value) ?? S, [O, D] = R(
2729
2725
  ((ht = g.find((H) => H.value === z)) == null ? void 0 : ht.name) ?? ""
2730
- ), [W, ne] = R(z), [ae, pe] = R(g), [G, X] = R(!1), { contains: Y } = Un({ sensitivity: "base" }), be = B(null), Ge = B(null), _e = B(null), pt = B(null), gt = B(null), wn = K(() => g.toSorted((H, q) => {
2726
+ ), [W, ne] = R(z), [ae, pe] = R(g), [G, X] = R(!1), { contains: K } = Un({ sensitivity: "base" }), be = V(null), Ge = V(null), _e = V(null), pt = V(null), gt = V(null), wn = Y(() => g.toSorted((H, q) => {
2731
2727
  const J = Array.from(n ?? []), xe = J.includes(H.value), ft = J.includes(q.value);
2732
2728
  return xe && !ft ? 1 : !xe && ft ? -1 : 0;
2733
2729
  }).map(
2734
- (H) => Y(H.name, O) || G ? /* @__PURE__ */ i(
2730
+ (H) => K(H.name, O) || G ? /* @__PURE__ */ i(
2735
2731
  Gn,
2736
2732
  {
2737
2733
  "aria-label": H.value,
@@ -2741,7 +2737,7 @@ const F = Z(function({
2741
2737
  },
2742
2738
  H.value
2743
2739
  ) : null
2744
- ), [Y, n, O, g, G]), vn = v(
2740
+ ), [K, n, O, g, G]), vn = v(
2745
2741
  (H) => {
2746
2742
  const q = H.split(/,|\s/u).slice(-1)[0].trim();
2747
2743
  D(p ? q : H), H === "" || H.endsWith(",") ? X(!0) : (X(!1), ne((J) => {
@@ -2749,11 +2745,11 @@ const F = Z(function({
2749
2745
  return e && e.onChange(xe), h && h(H), xe;
2750
2746
  }), pe(
2751
2747
  g.filter(
2752
- (J) => Y(J.name, p ? q : H)
2748
+ (J) => K(J.name, p ? q : H)
2753
2749
  )
2754
2750
  ));
2755
2751
  },
2756
- [Y, g, e, p, h]
2752
+ [K, g, e, p, h]
2757
2753
  ), kn = v(
2758
2754
  (H) => {
2759
2755
  var q;
@@ -2877,7 +2873,7 @@ const F = Z(function({
2877
2873
  }
2878
2874
  ),
2879
2875
  re.isOpen && re.collection.size > 0 && !t ? /* @__PURE__ */ i(
2880
- Be,
2876
+ Ve,
2881
2877
  {
2882
2878
  className: "dropdown",
2883
2879
  offset: 4,
@@ -3127,7 +3123,7 @@ const F = Z(function({
3127
3123
  width: 100%;
3128
3124
  `}
3129
3125
  `, Wa = ({ state: e, date: t }) => {
3130
- const n = B(null), a = Zn(t, Xn()), { cellProps: r, buttonProps: o, isSelected: s, isDisabled: l, formattedDate: c } = qn({ date: t }, e, n), d = "highlightedRange" in e && !M.isNull(e.highlightedRange) ? yt(t, e.highlightedRange.start) : s, p = "highlightedRange" in e && !M.isNull(e.highlightedRange) ? yt(t, e.highlightedRange.end) : s, g = s && !l && !(d || p) ? "range" : "";
3126
+ const n = V(null), a = Zn(t, Xn()), { cellProps: r, buttonProps: o, isSelected: s, isDisabled: l, formattedDate: c } = qn({ date: t }, e, n), d = "highlightedRange" in e && !M.isNull(e.highlightedRange) ? yt(t, e.highlightedRange.start) : s, p = "highlightedRange" in e && !M.isNull(e.highlightedRange) ? yt(t, e.highlightedRange.end) : s, g = s && !l && !(d || p) ? "range" : "";
3131
3127
  return /* @__PURE__ */ i(Pa, { id: g, ...r, children: /* @__PURE__ */ f(
3132
3128
  "div",
3133
3129
  {
@@ -3193,7 +3189,7 @@ const F = Z(function({
3193
3189
  padding: ${e.spacing[0.25]};
3194
3190
  width: 292px;
3195
3191
  `}
3196
- `, Ba = b.button`
3192
+ `, Va = b.button`
3197
3193
  ${({ theme: e, $disabled: t, $focus: n, $header: a }) => {
3198
3194
  const r = n ? "34px" : "40px";
3199
3195
  return `
@@ -3211,7 +3207,7 @@ const F = Z(function({
3211
3207
  }
3212
3208
  `;
3213
3209
  }}
3214
- `, Va = b.div`
3210
+ `, Ba = b.div`
3215
3211
  ${({ theme: e }) => `
3216
3212
  align-items: center;
3217
3213
  background: transparent;
@@ -3265,9 +3261,9 @@ const F = Z(function({
3265
3261
  icon: t,
3266
3262
  props: n
3267
3263
  }) => {
3268
- const a = B(null), { buttonProps: r } = Yt(n, a);
3264
+ const a = V(null), { buttonProps: r } = Yt(n, a);
3269
3265
  return /* @__PURE__ */ i(
3270
- Ba,
3266
+ Va,
3271
3267
  {
3272
3268
  ...r,
3273
3269
  $disabled: e,
@@ -3332,13 +3328,13 @@ const F = Z(function({
3332
3328
  }
3333
3329
  ),
3334
3330
  /* @__PURE__ */ i(ot, { state: a }),
3335
- /* @__PURE__ */ i(rt, { children: /* @__PURE__ */ i(V, { onClick: e, variant: "ghost", children: "Cancel" }) })
3331
+ /* @__PURE__ */ i(rt, { children: /* @__PURE__ */ i(B, { onClick: e, variant: "ghost", children: "Cancel" }) })
3336
3332
  ] });
3337
3333
  }, pn = ({
3338
3334
  segment: e,
3339
3335
  state: t
3340
3336
  }) => {
3341
- const n = E(), a = B(null), o = { ...e, placeholder: {
3337
+ const n = E(), a = V(null), o = { ...e, placeholder: {
3342
3338
  day: "dd",
3343
3339
  dayPeriod: "(AM/PM)",
3344
3340
  era: "",
@@ -3369,7 +3365,7 @@ const F = Z(function({
3369
3365
  error: t = !1,
3370
3366
  props: n
3371
3367
  }) => {
3372
- const a = E(), r = B(null), o = ei({
3368
+ const a = E(), r = V(null), o = ei({
3373
3369
  ...n,
3374
3370
  createCalendar: Ee,
3375
3371
  locale: "en-US"
@@ -3382,7 +3378,7 @@ const F = Z(function({
3382
3378
  },
3383
3379
  []
3384
3380
  );
3385
- return /* @__PURE__ */ f(Va, { ...s, onClick: l, children: [
3381
+ return /* @__PURE__ */ f(Ba, { ...s, onClick: l, children: [
3386
3382
  /* @__PURE__ */ i(
3387
3383
  "div",
3388
3384
  {
@@ -3412,7 +3408,7 @@ const F = Z(function({
3412
3408
  ) : void 0
3413
3409
  ] });
3414
3410
  }, Ya = (e) => {
3415
- const t = B(null), n = ni({
3411
+ const t = V(null), n = ni({
3416
3412
  ...e,
3417
3413
  locale: "en-US",
3418
3414
  shouldForceLeadingZeros: !0
@@ -3524,7 +3520,7 @@ const F = Z(function({
3524
3520
  children: e,
3525
3521
  ...t
3526
3522
  }) => {
3527
- const n = B(null), { dialogProps: a } = ri(t, n);
3523
+ const n = V(null), { dialogProps: a } = ri(t, n);
3528
3524
  return /* @__PURE__ */ i(Ma, { ...a, ref: n, children: e });
3529
3525
  }, Za = ({
3530
3526
  disabled: e = !1,
@@ -3541,7 +3537,7 @@ const F = Z(function({
3541
3537
  watch: g,
3542
3538
  ...u
3543
3539
  }) => {
3544
- const h = B(null), y = g == null ? void 0 : g(l), x = v(
3540
+ const h = V(null), y = g == null ? void 0 : g(l), x = v(
3545
3541
  (T) => {
3546
3542
  d && T && d(l, Ne(String(T)), {
3547
3543
  shouldDirty: !0
@@ -3588,7 +3584,7 @@ const F = Z(function({
3588
3584
  }
3589
3585
  ),
3590
3586
  m.isOpen && !e ? /* @__PURE__ */ i(
3591
- Be,
3587
+ Ve,
3592
3588
  {
3593
3589
  offset: 8,
3594
3590
  placement: "bottom start",
@@ -3604,7 +3600,7 @@ const F = Z(function({
3604
3600
  onClose: e,
3605
3601
  props: t
3606
3602
  }) => {
3607
- const { locale: n } = Fe(), a = B(null), r = li({ ...t, createCalendar: Ee, locale: n }), { prevButtonProps: o, nextButtonProps: s, title: l } = si(
3603
+ const { locale: n } = Fe(), a = V(null), r = li({ ...t, createCalendar: Ee, locale: n }), { prevButtonProps: o, nextButtonProps: s, title: l } = si(
3608
3604
  t,
3609
3605
  r,
3610
3606
  a
@@ -3620,7 +3616,7 @@ const F = Z(function({
3620
3616
  }
3621
3617
  ),
3622
3618
  /* @__PURE__ */ i(ot, { state: r }),
3623
- /* @__PURE__ */ i(rt, { children: /* @__PURE__ */ i(V, { onClick: e, variant: "ghost", children: "Cancel" }) })
3619
+ /* @__PURE__ */ i(rt, { children: /* @__PURE__ */ i(B, { onClick: e, variant: "ghost", children: "Cancel" }) })
3624
3620
  ] });
3625
3621
  }, qa = b.div`
3626
3622
  ${({ theme: e, $disabled: t, $show: n }) => `
@@ -3647,7 +3643,7 @@ const F = Z(function({
3647
3643
  variant: p = "default",
3648
3644
  ...g
3649
3645
  }) => {
3650
- const u = `${a}Max`, h = `${a}Min`, y = B(null), x = v(
3646
+ const u = `${a}Max`, h = `${a}Min`, y = V(null), x = v(
3651
3647
  (z) => {
3652
3648
  l && z && (l(
3653
3649
  (c == null ? void 0 : c.name) ?? u,
@@ -3738,7 +3734,7 @@ const F = Z(function({
3738
3734
  }
3739
3735
  ),
3740
3736
  m.isOpen && !e ? /* @__PURE__ */ i(
3741
- Be,
3737
+ Ve,
3742
3738
  {
3743
3739
  offset: 8,
3744
3740
  placement: "bottom start",
@@ -3795,7 +3791,7 @@ const F = Z(function({
3795
3791
  }
3796
3792
  ) })
3797
3793
  ] }),
3798
- /* @__PURE__ */ i(rt, { children: /* @__PURE__ */ i(V, { onClick: t, variant: "ghost", children: "Cancel" }) })
3794
+ /* @__PURE__ */ i(rt, { children: /* @__PURE__ */ i(B, { onClick: t, variant: "ghost", children: "Cancel" }) })
3799
3795
  ] });
3800
3796
  }, Is = (e) => {
3801
3797
  const {
@@ -3808,7 +3804,7 @@ const F = Z(function({
3808
3804
  register: l,
3809
3805
  setValue: c,
3810
3806
  watch: d
3811
- } = e, p = d == null ? void 0 : d(o), g = B(null), u = Xt({
3807
+ } = e, p = d == null ? void 0 : d(o), g = V(null), u = Xt({
3812
3808
  ...e,
3813
3809
  granularity: "minute",
3814
3810
  hourCycle: 12,
@@ -3869,7 +3865,7 @@ const F = Z(function({
3869
3865
  }
3870
3866
  ),
3871
3867
  u.isOpen && !t ? /* @__PURE__ */ i(
3872
- Be,
3868
+ Ve,
3873
3869
  {
3874
3870
  offset: 8,
3875
3871
  placement: "bottom start",
@@ -3931,13 +3927,13 @@ const F = Z(function({
3931
3927
  ...j
3932
3928
  }) => {
3933
3929
  const { required: T, onBlur: z, onChange: O } = j, D = E(), W = e ? void 0 : o, [ne, ae] = R(""), pe = v(
3934
- (Y) => {
3935
- ae(Y.target.value), O == null || O(Y);
3930
+ (K) => {
3931
+ ae(K.target.value), O == null || O(K);
3936
3932
  },
3937
3933
  [O]
3938
3934
  ), G = c && d && !e && ne.trim() !== "", X = v(
3939
- (Y) => {
3940
- Y.key === "Enter" && Y.preventDefault();
3935
+ (K) => {
3936
+ K.key === "Enter" && K.preventDefault();
3941
3937
  },
3942
3938
  []
3943
3939
  );
@@ -4016,7 +4012,7 @@ const F = Z(function({
4016
4012
  }
4017
4013
  ),
4018
4014
  w ? /* @__PURE__ */ i("datalist", { id: `list_${u}`, children: w.map(
4019
- (Y) => /* @__PURE__ */ i("option", { value: Y }, Y)
4015
+ (K) => /* @__PURE__ */ i("option", { value: K }, K)
4020
4016
  ) }) : void 0
4021
4017
  ]
4022
4018
  }
@@ -4178,7 +4174,7 @@ const F = Z(function({
4178
4174
  }
4179
4175
  ) }),
4180
4176
  s < d - 1 && s + 1 === (a == null ? void 0 : a.length) ? /* @__PURE__ */ i(Dt, { lg: 25, md: 25, sm: 25, children: /* @__PURE__ */ i(
4181
- V,
4177
+ B,
4182
4178
  {
4183
4179
  disabled: n,
4184
4180
  icon: "plus",
@@ -4285,7 +4281,7 @@ const F = Z(function({
4285
4281
  watch: y,
4286
4282
  weight: x
4287
4283
  }) => {
4288
- const m = E(), k = t ? void 0 : n, w = B(null), S = g == null ? void 0 : g(c, { required: p }), C = y == null ? void 0 : y(c), I = sr(C), j = v(() => {
4284
+ const m = E(), k = t ? void 0 : n, w = V(null), S = g == null ? void 0 : g(c, { required: p }), C = y == null ? void 0 : y(c), I = sr(C), j = v(() => {
4289
4285
  const O = we("change", c, void 0);
4290
4286
  u && u(c, void 0), S && S.onChange(O);
4291
4287
  }, [S, c, u]), T = v(
@@ -4348,7 +4344,7 @@ const F = Z(function({
4348
4344
  }
4349
4345
  ),
4350
4346
  /* @__PURE__ */ f(
4351
- V,
4347
+ B,
4352
4348
  {
4353
4349
  border: t ? `1px solid ${m.palette.gray[300]} !important` : "",
4354
4350
  borderRadius: "0px 8px 8px 0px !important",
@@ -4409,7 +4405,7 @@ const F = Z(function({
4409
4405
  value: h,
4410
4406
  weight: y
4411
4407
  }) => {
4412
- const x = E(), m = e ? void 0 : t, [k, w] = R(""), S = c ? h : n == null ? void 0 : n.value, C = K(() => S && typeof S == "string" ? S.split(",").filter(Boolean) : [], [S]), I = v(
4408
+ const x = E(), m = e ? void 0 : t, [k, w] = R(""), S = c ? h : n == null ? void 0 : n.value, C = Y(() => S && typeof S == "string" ? S.split(",").filter(Boolean) : [], [S]), I = v(
4413
4409
  (D) => {
4414
4410
  const ne = [...new Set(D.filter(Boolean))].join(","), ae = we("change", l, ne);
4415
4411
  n && n.onChange(ae), c && c(ae);
@@ -4905,7 +4901,7 @@ const F = Z(function({
4905
4901
  watch: d,
4906
4902
  weight: p
4907
4903
  }) => {
4908
- const g = E(), u = B(null), h = e ? void 0 : t, y = (d == null ? void 0 : d(a)) ?? c, [x, m] = R(!1), [k, w] = R(""), { refs: S, floatingStyles: C } = it({
4904
+ const g = E(), u = V(null), h = e ? void 0 : t, y = (d == null ? void 0 : d(a)) ?? c, [x, m] = R(!1), [k, w] = R(""), { refs: S, floatingStyles: C } = it({
4909
4905
  placement: "bottom-start",
4910
4906
  whileElementsMounted: et
4911
4907
  }), { inputRef: I, inputValue: j, handlePhoneValueChange: T, country: z, setCountry: O } = ui({
@@ -5024,14 +5020,14 @@ const F = Z(function({
5024
5020
  ),
5025
5021
  x && $e(
5026
5022
  /* @__PURE__ */ i(hr, { ref: S.setFloating, style: C, children: pe.map((G) => {
5027
- const { dialCode: X, iso2: Y, name: be } = bt(G);
5023
+ const { dialCode: X, iso2: K, name: be } = bt(G);
5028
5024
  return /* @__PURE__ */ f(
5029
5025
  fr,
5030
5026
  {
5031
- onClick: ne(Y),
5032
- value: Y,
5027
+ onClick: ne(K),
5028
+ value: K,
5033
5029
  children: [
5034
- /* @__PURE__ */ i(xt, { iso2: Y, size: "16px" }),
5030
+ /* @__PURE__ */ i(xt, { iso2: K, size: "16px" }),
5035
5031
  /* @__PURE__ */ i(yr, { children: be }),
5036
5032
  /* @__PURE__ */ i(
5037
5033
  N,
@@ -5045,7 +5041,7 @@ const F = Z(function({
5045
5041
  )
5046
5042
  ]
5047
5043
  },
5048
- Y
5044
+ K
5049
5045
  );
5050
5046
  }) }),
5051
5047
  document.getElementById("modal-wrapper") ?? document.getElementById("root") ?? document.body
@@ -5164,7 +5160,7 @@ const F = Z(function({
5164
5160
  setValue: I,
5165
5161
  watch: j
5166
5162
  }) => {
5167
- const T = K(() => {
5163
+ const T = Y(() => {
5168
5164
  if (s === "text")
5169
5165
  return /* @__PURE__ */ i(
5170
5166
  ct,
@@ -5286,13 +5282,13 @@ const F = Z(function({
5286
5282
  publicId: e,
5287
5283
  format: t = "webp"
5288
5284
  }) => {
5289
- const n = K(() => new hi({
5285
+ const n = Y(() => new hi({
5290
5286
  cloud: {
5291
5287
  cloudName: "fluid-attacks"
5292
5288
  }
5293
5289
  }), []);
5294
- return K(() => n.image(e).format(t), [n, e, t]);
5295
- }, Ve = (e) => {
5290
+ return Y(() => n.image(e).format(t), [n, e, t]);
5291
+ }, Be = (e) => {
5296
5292
  const [t, n] = R(!1), a = v(() => {
5297
5293
  n(!0);
5298
5294
  }, []), r = v(() => {
@@ -5307,7 +5303,7 @@ const F = Z(function({
5307
5303
  columnOrder: n,
5308
5304
  setColumnOrder: a
5309
5305
  }) => {
5310
- const r = K(
5306
+ const r = Y(
5311
5307
  () => [
5312
5308
  // locked -> visible -> hidden
5313
5309
  ...t.filter(({ locked: p }) => p).map(({ locked: p, ...g }) => ({
@@ -5340,15 +5336,15 @@ const F = Z(function({
5340
5336
  return Number(u.visible) !== Number(g.visible) ? Number(u.visible) - Number(g.visible) : h - y;
5341
5337
  });
5342
5338
  s(p), a == null || a(n);
5343
- }, [o, n, a]), d = K(() => fi(o, (p) => ((n == null ? void 0 : n.includes(p.id)) ?? !1) !== p.visible), [o, n]);
5339
+ }, [o, n, a]), d = Y(() => fi(o, (p) => ((n == null ? void 0 : n.includes(p.id)) ?? !1) !== p.visible), [o, n]);
5344
5340
  return {
5345
5341
  setColumns: l,
5346
5342
  resetToDefault: c,
5347
5343
  columns: o,
5348
- ...Ve(e),
5344
+ ...Be(e),
5349
5345
  hasChanged: d
5350
5346
  };
5351
- }, gn = (e, t) => K(
5347
+ }, gn = (e, t) => Y(
5352
5348
  () => L.debounce(e, t),
5353
5349
  [e, t]
5354
5350
  ), Ws = (e) => {
@@ -5718,7 +5714,7 @@ const F = Z(function({
5718
5714
  ]
5719
5715
  }
5720
5716
  );
5721
- }, Ir = 0.5, jt = 1.25, Bs = ({
5717
+ }, Ir = 0.5, jt = 1.25, Vs = ({
5722
5718
  children: e,
5723
5719
  bgColor: t,
5724
5720
  border: n,
@@ -5773,7 +5769,7 @@ const F = Z(function({
5773
5769
  gap: ${({ theme: e }) => e.spacing[0.5]};
5774
5770
  justify-content: center;
5775
5771
  margin-top: ${({ theme: e }) => e.spacing[2]};
5776
- `, Vs = ({
5772
+ `, Bs = ({
5777
5773
  slides: e,
5778
5774
  interval: t = 300
5779
5775
  }) => {
@@ -5910,7 +5906,7 @@ const F = Z(function({
5910
5906
  return h.length > 8 && !o ? `${[...h].splice(0, 7).join(`
5911
5907
  `)}
5912
5908
  ${h[8]}...` : (h.length < 8 && c(!1), t);
5913
- }, [o, t, e]), g = K(p, [p]), u = v(async () => {
5909
+ }, [o, t, e]), g = Y(p, [p]), u = v(async () => {
5914
5910
  await navigator.clipboard.writeText(g);
5915
5911
  }, [g]);
5916
5912
  return a === "location" ? /* @__PURE__ */ i(
@@ -5944,7 +5940,7 @@ ${h[8]}...` : (h.length < 8 && c(!1), t);
5944
5940
  width: r.spacing[2.5]
5945
5941
  }
5946
5942
  ),
5947
- l ? /* @__PURE__ */ f(V, { onClick: d, variant: "ghost", children: [
5943
+ l ? /* @__PURE__ */ f(B, { onClick: d, variant: "ghost", children: [
5948
5944
  o ? "Show Less" : "Show more",
5949
5945
  /* @__PURE__ */ i(
5950
5946
  F,
@@ -6120,7 +6116,7 @@ ${h[8]}...` : (h.length < 8 && c(!1), t);
6120
6116
  e,
6121
6117
  /* @__PURE__ */ i(Wr, { children: /* @__PURE__ */ f("div", { children: [
6122
6118
  a && /* @__PURE__ */ i(
6123
- V,
6119
+ B,
6124
6120
  {
6125
6121
  id: a.id,
6126
6122
  onClick: o,
@@ -6130,7 +6126,7 @@ ${h[8]}...` : (h.length < 8 && c(!1), t);
6130
6126
  }
6131
6127
  ),
6132
6128
  n && /* @__PURE__ */ i(
6133
- V,
6129
+ B,
6134
6130
  {
6135
6131
  id: n.id,
6136
6132
  onClick: s,
@@ -6143,7 +6139,7 @@ ${h[8]}...` : (h.length < 8 && c(!1), t);
6143
6139
  ]
6144
6140
  }
6145
6141
  ) : null;
6146
- }, Br = ({
6142
+ }, Vr = ({
6147
6143
  title: e,
6148
6144
  description: t,
6149
6145
  modalRef: n,
@@ -6195,7 +6191,7 @@ ${h[8]}...` : (h.length < 8 && c(!1), t);
6195
6191
  t && M.isString(t) && !M.isEmpty(t) ? /* @__PURE__ */ i(N, { mt: 0.5, size: "sm", children: t }) : void 0,
6196
6192
  t && !M.isString(t) && /* @__PURE__ */ i(Te, { display: "block", mt: 0.5, size: "sm", children: t })
6197
6193
  ] });
6198
- }, Vr = ({
6194
+ }, Br = ({
6199
6195
  disabled: e,
6200
6196
  id: t = "modal-confirm",
6201
6197
  onCancel: n,
@@ -6213,7 +6209,7 @@ ${h[8]}...` : (h.length < 8 && c(!1), t);
6213
6209
  mt: 1.5,
6214
6210
  children: [
6215
6211
  n ? /* @__PURE__ */ i(
6216
- V,
6212
+ B,
6217
6213
  {
6218
6214
  id: `${t}-cancel`,
6219
6215
  justify: "center",
@@ -6224,7 +6220,7 @@ ${h[8]}...` : (h.length < 8 && c(!1), t);
6224
6220
  }
6225
6221
  ) : void 0,
6226
6222
  /* @__PURE__ */ i(
6227
- V,
6223
+ B,
6228
6224
  {
6229
6225
  disabled: e,
6230
6226
  id: t,
@@ -6333,9 +6329,9 @@ ${h[8]}...` : (h.length < 8 && c(!1), t);
6333
6329
  variant: c = "primary",
6334
6330
  tag: d
6335
6331
  }) => {
6336
- const { pathname: p } = Bi(), g = a || (c === "primary" ? p.includes(r) : p.endsWith(r));
6332
+ const { pathname: p } = Vi(), g = a || (c === "primary" ? p.includes(r) : p.endsWith(r));
6337
6333
  return /* @__PURE__ */ i(ee, { display: "flex", id: `${n}-tooltip`, tip: l, children: /* @__PURE__ */ f(Gr, { $borderButton: g, $variant: c, children: [
6338
- /* @__PURE__ */ f(Vi, { end: e, id: n, onClick: s, to: r, children: [
6334
+ /* @__PURE__ */ f(Bi, { end: e, id: n, onClick: s, to: r, children: [
6339
6335
  t,
6340
6336
  /* @__PURE__ */ i(
6341
6337
  Kr,
@@ -6787,7 +6783,7 @@ ${h[8]}...` : (h.length < 8 && c(!1), t);
6787
6783
  value: r,
6788
6784
  ...o
6789
6785
  }) => {
6790
- const s = B(null), l = E(), [c, d] = R(!1), [p, g] = R(r ?? ""), { refs: u, floatingStyles: h } = it(), y = v(() => {
6786
+ const s = V(null), l = E(), [c, d] = R(!1), [p, g] = R(r ?? ""), { refs: u, floatingStyles: h } = it(), y = v(() => {
6791
6787
  d((S) => !S);
6792
6788
  }, []), x = v(
6793
6789
  (S) => {
@@ -6868,7 +6864,7 @@ ${h[8]}...` : (h.length < 8 && c(!1), t);
6868
6864
  onChangeHandler: n,
6869
6865
  variant: a
6870
6866
  }) => {
6871
- const r = B(null), [o, s] = R([]), [l, c] = R(""), d = v(
6867
+ const r = V(null), [o, s] = R([]), [l, c] = R(""), d = v(
6872
6868
  (g) => {
6873
6869
  const { value: u } = g.target;
6874
6870
  c(u);
@@ -6988,7 +6984,7 @@ ${h[8]}...` : (h.length < 8 && c(!1), t);
6988
6984
  modalRef: n,
6989
6985
  variant: a
6990
6986
  }) => {
6991
- const r = E(), o = B(null), [s, l] = R(void 0), c = v(
6987
+ const r = E(), o = V(null), [s, l] = R(void 0), c = v(
6992
6988
  (g) => {
6993
6989
  const { checked: u, value: h } = g.target, y = n.columns.map((x) => {
6994
6990
  var m;
@@ -7091,7 +7087,7 @@ ${h[8]}...` : (h.length < 8 && c(!1), t);
7091
7087
  py: 1.25,
7092
7088
  children: [
7093
7089
  /* @__PURE__ */ i(
7094
- V,
7090
+ B,
7095
7091
  {
7096
7092
  disabled: !n.hasChanged,
7097
7093
  form: "columns-visibility",
@@ -7104,7 +7100,7 @@ ${h[8]}...` : (h.length < 8 && c(!1), t);
7104
7100
  }
7105
7101
  ),
7106
7102
  /* @__PURE__ */ i(
7107
- V,
7103
+ B,
7108
7104
  {
7109
7105
  id: "columns-modal-submit",
7110
7106
  justify: "center",
@@ -7420,7 +7416,7 @@ ${h[8]}...` : (h.length < 8 && c(!1), t);
7420
7416
  setValue: p
7421
7417
  }
7422
7418
  ),
7423
- /* @__PURE__ */ i(V, { mt: 1, type: "submit", children: "Apply" })
7419
+ /* @__PURE__ */ i(B, { mt: 1, type: "submit", children: "Apply" })
7424
7420
  ] })
7425
7421
  ]
7426
7422
  }
@@ -7571,7 +7567,7 @@ ${h[8]}...` : (h.length < 8 && c(!1), t);
7571
7567
  modalRef: a,
7572
7568
  variant: r
7573
7569
  }) => {
7574
- const [o, s] = R("row"), [l, c] = R(!0), d = E(), p = B(null), g = /* @__PURE__ */ i(
7570
+ const [o, s] = R("row"), [l, c] = R(!0), d = E(), p = V(null), g = /* @__PURE__ */ i(
7575
7571
  _,
7576
7572
  {
7577
7573
  icon: "close",
@@ -7891,7 +7887,7 @@ const ze = ({
7891
7887
  onSearch: l,
7892
7888
  variant: c = "ungrouped"
7893
7889
  }) => {
7894
- const d = Ve("filters-modal"), [p, g] = R(!1), [u, h] = R([]), y = Io(u), x = a.map((C) => ({
7890
+ const d = Be("filters-modal"), [p, g] = R(!1), [u, h] = R([]), y = Io(u), x = a.map((C) => ({
7895
7891
  ...C,
7896
7892
  filterOptions: C.filterOptions.map((I) => u.find(
7897
7893
  (T) => T.key === I.key && T.type === I.type && T.filterFn === I.filterFn
@@ -7941,7 +7937,7 @@ const ze = ({
7941
7937
  wrap: "wrap",
7942
7938
  children: [
7943
7939
  /* @__PURE__ */ i($, { pr: 0.25, children: /* @__PURE__ */ i(
7944
- V,
7940
+ B,
7945
7941
  {
7946
7942
  icon: "filter",
7947
7943
  id: "filter-btn",
@@ -7994,7 +7990,7 @@ const ze = ({
7994
7990
  id: h,
7995
7991
  children: [
7996
7992
  !L.isEmpty(g) && !L.isNil(g) && /* @__PURE__ */ i(
7997
- Br,
7993
+ Vr,
7998
7994
  {
7999
7995
  description: s,
8000
7996
  modalRef: l,
@@ -8037,7 +8033,7 @@ const ze = ({
8037
8033
  document.getElementById("portals") ?? document.body
8038
8034
  ) : l.isOpen ? x : null;
8039
8035
  }, Ys = (e, t, n) => {
8040
- const a = Ve("confirm-dialog-modal"), r = B(null), o = v(async () => (a.open(), new Promise((d) => {
8036
+ const a = Be("confirm-dialog-modal"), r = V(null), o = v(async () => (a.open(), new Promise((d) => {
8041
8037
  r.current = d;
8042
8038
  })), [a]), s = v(() => {
8043
8039
  var d;
@@ -8085,7 +8081,7 @@ const ze = ({
8085
8081
  d,
8086
8082
  /* @__PURE__ */ i($, { display: "flex", flexDirection: "column", gap: 0.5, children: x }),
8087
8083
  /* @__PURE__ */ i(
8088
- Vr,
8084
+ Br,
8089
8085
  {
8090
8086
  disabled: y,
8091
8087
  id: e,
@@ -8097,7 +8093,7 @@ const ze = ({
8097
8093
  );
8098
8094
  }];
8099
8095
  }, Ks = () => {
8100
- const [e, t] = R(!1), [n, a] = R(), r = B(null), o = Ve("confirm-dialog-modal"), s = v(
8096
+ const [e, t] = R(!1), [n, a] = R(), r = V(null), o = Be("confirm-dialog-modal"), s = v(
8101
8097
  async (p) => (a(p), t(!0), new Promise((g) => {
8102
8098
  r.current = g;
8103
8099
  })),
@@ -8219,7 +8215,7 @@ const ze = ({
8219
8215
  document.getElementById("dropdown-toggle")
8220
8216
  ), /* @__PURE__ */ f(ye, { children: [
8221
8217
  /* @__PURE__ */ i(
8222
- V,
8218
+ B,
8223
8219
  {
8224
8220
  "aria-label": o,
8225
8221
  icon: e,
@@ -8260,7 +8256,7 @@ const ze = ({
8260
8256
  );
8261
8257
  }) }) : void 0
8262
8258
  ] });
8263
- }, Pt = ({ buttonProps: e, variant: t }) => /* @__PURE__ */ i(V, { onClick: e.onClick, variant: t, children: e.text }), Eo = b.div`
8259
+ }, Pt = ({ buttonProps: e, variant: t }) => /* @__PURE__ */ i(B, { onClick: e.onClick, variant: t, children: e.text }), Eo = b.div`
8264
8260
  display: flex;
8265
8261
  flex-direction: column;
8266
8262
  align-items: center;
@@ -8406,7 +8402,7 @@ const ze = ({
8406
8402
  e,
8407
8403
  /* @__PURE__ */ f($, { display: "flex", gap: 0.75, maxWidth: l, children: [
8408
8404
  n ? /* @__PURE__ */ i(
8409
- V,
8405
+ B,
8410
8406
  {
8411
8407
  icon: n.icon,
8412
8408
  id: `${s}-cancel`,
@@ -8419,7 +8415,7 @@ const ze = ({
8419
8415
  }
8420
8416
  ) : void 0,
8421
8417
  /* @__PURE__ */ i(
8422
- V,
8418
+ B,
8423
8419
  {
8424
8420
  disabled: ((r == null ? void 0 : r.disabled) ?? !1) || x.formState.isSubmitting || o && !x.formState.isDirty,
8425
8421
  icon: r == null ? void 0 : r.icon,
@@ -8799,7 +8795,7 @@ const ze = ({
8799
8795
  py: 1,
8800
8796
  children: o.map(
8801
8797
  ({ icon: l, text: c, onClick: d }, p) => /* @__PURE__ */ i(
8802
- V,
8798
+ B,
8803
8799
  {
8804
8800
  icon: l,
8805
8801
  onClick: d,
@@ -8851,14 +8847,14 @@ const ze = ({
8851
8847
  red: `stroke: ${e.palette.primary[500]};`,
8852
8848
  white: `stroke: ${e.palette.white};`
8853
8849
  })
8854
- ), Bo = Qt`
8850
+ ), Vo = Qt`
8855
8851
  0% {
8856
8852
  transform: rotateZ(0deg);
8857
8853
  }
8858
8854
  100% {
8859
8855
  transform: rotateZ(360deg)
8860
8856
  }
8861
- `, Vo = Qt`
8857
+ `, Bo = Qt`
8862
8858
  0%,
8863
8859
  25% {
8864
8860
  stroke-dashoffset: 280;
@@ -8877,14 +8873,14 @@ const ze = ({
8877
8873
  }
8878
8874
  `, Uo = b.svg`
8879
8875
  ${({ $size: e = "md" }) => Ce`
8880
- animation: ${Bo} 2s linear infinite;
8876
+ animation: ${Vo} 2s linear infinite;
8881
8877
  animation-timing-function: linear;
8882
8878
  display: inline-block;
8883
8879
  width: ${Ho[e]}px;
8884
8880
  `}
8885
8881
  `, Go = b.circle`
8886
8882
  ${({ theme: e, $color: t = "red" }) => Ce`
8887
- animation: 1.4s ease-in-out infinite both ${Vo};
8883
+ animation: 1.4s ease-in-out infinite both ${Bo};
8888
8884
  display: block;
8889
8885
  fill: transparent;
8890
8886
  stroke-linecap: round;
@@ -9328,7 +9324,7 @@ const ze = ({
9328
9324
  manualOption: r,
9329
9325
  providers: o
9330
9326
  }) => {
9331
- const s = E(), [l, c] = R(!1), d = B(null);
9327
+ const s = E(), [l, c] = R(!1), d = V(null);
9332
9328
  he(
9333
9329
  d.current,
9334
9330
  () => {
@@ -9361,7 +9357,7 @@ const ze = ({
9361
9357
  width: "max-content",
9362
9358
  zIndex: 10,
9363
9359
  children: [
9364
- /* @__PURE__ */ i(V, { icon: "plus", onClick: g, variant: "primary", children: t }),
9360
+ /* @__PURE__ */ i(B, { icon: "plus", onClick: g, variant: "primary", children: t }),
9365
9361
  /* @__PURE__ */ f(
9366
9362
  $,
9367
9363
  {
@@ -9795,10 +9791,10 @@ const ze = ({
9795
9791
  }) => {
9796
9792
  const a = Ke.toArray(
9797
9793
  e
9798
- ), r = K(
9794
+ ), r = Y(
9799
9795
  () => Ke.count(e),
9800
9796
  [e]
9801
- ), o = K(
9797
+ ), o = Y(
9802
9798
  () => r * n,
9803
9799
  [r, n]
9804
9800
  );
@@ -9984,7 +9980,7 @@ const ze = ({
9984
9980
  justify: p ? "start" : "center",
9985
9981
  children: [
9986
9982
  M.isObject(r) ? /* @__PURE__ */ i(
9987
- V,
9983
+ B,
9988
9984
  {
9989
9985
  onClick: S,
9990
9986
  variant: (r == null ? void 0 : r.variant) ?? "primary",
@@ -9993,7 +9989,7 @@ const ze = ({
9993
9989
  r == null ? void 0 : r.key
9994
9990
  ) : void 0,
9995
9991
  M.isObject(t) ? /* @__PURE__ */ i(
9996
- V,
9992
+ B,
9997
9993
  {
9998
9994
  onClick: w,
9999
9995
  variant: (t == null ? void 0 : t.variant) ?? "tertiary",
@@ -10299,7 +10295,7 @@ const ze = ({
10299
10295
  secondaryOnClick: c,
10300
10296
  title: d
10301
10297
  }) => {
10302
- const p = E(), g = B(null), u = v(
10298
+ const p = E(), g = V(null), u = v(
10303
10299
  (h) => () => {
10304
10300
  h(), r();
10305
10301
  },
@@ -10433,7 +10429,7 @@ const ze = ({
10433
10429
  zIndex: 40,
10434
10430
  children: [
10435
10431
  l === void 0 ? void 0 : /* @__PURE__ */ i(
10436
- V,
10432
+ B,
10437
10433
  {
10438
10434
  color: `${p.palette.primary[500]} !important`,
10439
10435
  onClick: c,
@@ -10443,7 +10439,7 @@ const ze = ({
10443
10439
  children: l
10444
10440
  }
10445
10441
  ),
10446
- /* @__PURE__ */ i(V, { onClick: s, type: "submit", children: o })
10442
+ /* @__PURE__ */ i(B, { onClick: s, type: "submit", children: o })
10447
10443
  ]
10448
10444
  }
10449
10445
  )
@@ -10535,13 +10531,13 @@ const ze = ({
10535
10531
  index: n,
10536
10532
  name: a
10537
10533
  }) => {
10538
- const r = B(null), { thumbProps: o, inputProps: s, isDragging: l } = Fi(
10534
+ const r = V(null), { thumbProps: o, inputProps: s, isDragging: l } = Fi(
10539
10535
  { index: n, trackRef: t, inputRef: r },
10540
10536
  e
10541
10537
  );
10542
10538
  return /* @__PURE__ */ i("div", { ...o, className: `thumb ${l ? "dragging" : ""}`, children: /* @__PURE__ */ i(Ei, { children: /* @__PURE__ */ i("input", { ...s, "aria-label": a, ref: r }) }) });
10543
10539
  }, Il = (e, t, n) => Math.round((n - e) / (t - e) * 100), wc = (e) => {
10544
- const t = E(), n = B(null), { label: a, minValue: r = 0, maxValue: o = 100, name: s, setValue: l, watch: c } = e, d = Ri(), p = ji({
10540
+ const t = E(), n = V(null), { label: a, minValue: r = 0, maxValue: o = 100, name: s, setValue: l, watch: c } = e, d = Ri(), p = ji({
10545
10541
  ...e,
10546
10542
  numberFormatter: d,
10547
10543
  onChange(y) {
@@ -10704,7 +10700,7 @@ const ze = ({
10704
10700
  p,
10705
10701
  /* @__PURE__ */ f(Fl, { children: [
10706
10702
  o > 1 && /* @__PURE__ */ i(
10707
- V,
10703
+ B,
10708
10704
  {
10709
10705
  disabled: c.isDisabledPrevious ?? !1,
10710
10706
  onClick: l(-1, h),
@@ -10713,7 +10709,7 @@ const ze = ({
10713
10709
  }
10714
10710
  ),
10715
10711
  o < r.length ? /* @__PURE__ */ i(
10716
- V,
10712
+ B,
10717
10713
  {
10718
10714
  disabled: c.isDisabledNext ?? !1,
10719
10715
  onClick: l(1, u),
@@ -10721,7 +10717,7 @@ const ze = ({
10721
10717
  children: "Next step"
10722
10718
  }
10723
10719
  ) : /* @__PURE__ */ i(
10724
- V,
10720
+ B,
10725
10721
  {
10726
10722
  disabled: e,
10727
10723
  onClick: a,
@@ -10762,15 +10758,15 @@ const ze = ({
10762
10758
  export: r = !1,
10763
10759
  headers: o = {},
10764
10760
  name: s = "Report"
10765
- } = e, l = K(
10761
+ } = e, l = Y(
10766
10762
  () => L.isUndefined(a) ? Ht(t) : Ht(t).map(
10767
10763
  (p) => L.pick(p, a)
10768
10764
  ),
10769
10765
  [t, a]
10770
- ), c = K(
10766
+ ), c = Y(
10771
10767
  () => l.length > 0 && !L.isEmpty(o),
10772
10768
  [l.length, o]
10773
- ), d = K(
10769
+ ), d = Y(
10774
10770
  () => (c ? Object.keys(l[0]) : []).map(
10775
10771
  (p) => L.includes(Object.keys(o), p) ? { key: p, label: o[p] } : { key: p, label: p }
10776
10772
  ),
@@ -10786,10 +10782,10 @@ const ze = ({
10786
10782
  }
10787
10783
  ) : /* @__PURE__ */ i(ye, { children: n });
10788
10784
  }, Ll = (e) => {
10789
- const { table: t } = e, { meta: n } = t.options, [a, r] = R(0), [, o] = t.getHeaderGroups(), s = t.getState(), l = K(
10785
+ const { table: t } = e, { meta: n } = t.options, [a, r] = R(0), [, o] = t.getHeaderGroups(), s = t.getState(), l = Y(
10790
10786
  () => t.getAllLeafColumns().filter((g) => g.id !== "selection"),
10791
10787
  [t]
10792
- ), c = K(() => l.map(
10788
+ ), c = Y(() => l.map(
10793
10789
  (g) => {
10794
10790
  var u;
10795
10791
  return {
@@ -10815,7 +10811,7 @@ const ze = ({
10815
10811
  );
10816
10812
  }, [t, s]), /* @__PURE__ */ f("div", { id: "columns-filter", children: [
10817
10813
  /* @__PURE__ */ i(
10818
- V,
10814
+ B,
10819
10815
  {
10820
10816
  icon: "columns",
10821
10817
  id: "columns-toggle-btn",
@@ -11110,7 +11106,7 @@ const ze = ({
11110
11106
  margin-right: ${({ theme: e }) => e.spacing[0.5]};
11111
11107
  }
11112
11108
  }
11113
- `, Bt = b.div`
11109
+ `, Vt = b.div`
11114
11110
  transition: all 150ms;
11115
11111
  content: "";
11116
11112
  z-index: 2;
@@ -11196,7 +11192,7 @@ const ze = ({
11196
11192
  }
11197
11193
  ),
11198
11194
  u.column.getCanResize() && /* @__PURE__ */ i(
11199
- Bt,
11195
+ Vt,
11200
11196
  {
11201
11197
  onMouseDown: o(p)
11202
11198
  }
@@ -11250,7 +11246,7 @@ const ze = ({
11250
11246
  }
11251
11247
  ),
11252
11248
  d.column.getCanResize() && /* @__PURE__ */ i(
11253
- Bt,
11249
+ Vt,
11254
11250
  {
11255
11251
  onMouseDown: o(d)
11256
11252
  }
@@ -11264,8 +11260,8 @@ const ze = ({
11264
11260
  align-items: center;
11265
11261
  display: flex;
11266
11262
  width: 100%;
11267
- `, Bl = () => {
11268
- const e = E(), { table: t } = ue(de), { loading: n } = (t == null ? void 0 : t.options.meta) ?? {}, a = K(() => {
11263
+ `, Vl = () => {
11264
+ const e = E(), { table: t } = ue(de), { loading: n } = (t == null ? void 0 : t.options.meta) ?? {}, a = Y(() => {
11269
11265
  const { enableRowSelection: l, enableMultiRowSelection: c } = (t == null ? void 0 : t.options) ?? {};
11270
11266
  return l || c ? 1 : 0;
11271
11267
  }, [t == null ? void 0 : t.options]), r = v(
@@ -11346,7 +11342,7 @@ const ze = ({
11346
11342
  ),
11347
11343
  l.getIsExpanded() ? /* @__PURE__ */ i("tr", { "data-testid": `row-${l.id}-expand`, id: "description", children: /* @__PURE__ */ i("td", { colSpan: 100, children: s(l) }) }) : void 0
11348
11344
  ] }, l.id)) });
11349
- }, Vl = () => {
11345
+ }, Bl = () => {
11350
11346
  const {
11351
11347
  containerRef: e,
11352
11348
  hidden: t,
@@ -11374,10 +11370,10 @@ const ze = ({
11374
11370
  ] }) }),
11375
11371
  /* @__PURE__ */ f("table", { ref: l, children: [
11376
11372
  /* @__PURE__ */ i(Hl, {}),
11377
- /* @__PURE__ */ i(Bl, {})
11373
+ /* @__PURE__ */ i(Vl, {})
11378
11374
  ] })
11379
11375
  ] });
11380
- }, Vt = b(_)`
11376
+ }, Bt = b(_)`
11381
11377
  ${({ theme: e, $padding: t }) => `
11382
11378
  background-color: ${e.palette.white};
11383
11379
  border: 1px solid ${e.palette.gray[200]};
@@ -11411,7 +11407,7 @@ const ze = ({
11411
11407
  }, [e]);
11412
11408
  return /* @__PURE__ */ f($, { alignItems: "center", display: "flex", gap: 0.5, children: [
11413
11409
  /* @__PURE__ */ i(
11414
- Vt,
11410
+ Bt,
11415
11411
  {
11416
11412
  $padding: "4px 6px",
11417
11413
  disabled: !(e != null && e.getCanPreviousPage()),
@@ -11423,7 +11419,7 @@ const ze = ({
11423
11419
  }
11424
11420
  ),
11425
11421
  /* @__PURE__ */ i(
11426
- Vt,
11422
+ Bt,
11427
11423
  {
11428
11424
  $padding: "4px 6px",
11429
11425
  disabled: t > n - 2,
@@ -11443,7 +11439,7 @@ const ze = ({
11443
11439
  open: a,
11444
11440
  placement: "top-end",
11445
11441
  whileElementsMounted: et
11446
- }), d = K(
11442
+ }), d = Y(
11447
11443
  () => Oi(
11448
11444
  [Gl, _l, Yl, Kl],
11449
11445
  // eslint-disable-next-line functional/prefer-immutable-types
@@ -11684,7 +11680,7 @@ const ze = ({
11684
11680
  table: t
11685
11681
  }) => {
11686
11682
  var u;
11687
- const n = B(null), a = B(null), { id: r } = t.options.meta ?? {}, { enableMultiRowSelection: o } = (t == null ? void 0 : t.options) ?? {}, s = Object.keys(t.getState().rowSelection).length, l = s === 1 ? "item" : "items", c = s === 0 || !o, d = Math.max(
11683
+ const n = V(null), a = V(null), { id: r } = t.options.meta ?? {}, { enableMultiRowSelection: o } = (t == null ? void 0 : t.options) ?? {}, s = Object.keys(t.getState().rowSelection).length, l = s === 1 ? "item" : "items", c = s === 0 || !o, d = Math.max(
11688
11684
  ((u = n.current) == null ? void 0 : u.clientWidth) ?? 0,
11689
11685
  t.getTotalSize() + ls
11690
11686
  ), p = v(() => {
@@ -11717,7 +11713,7 @@ const ze = ({
11717
11713
  }, kc = Object.assign(ss, {
11718
11714
  Caption: as,
11719
11715
  Columns: Ll,
11720
- Content: Vl,
11716
+ Content: Bl,
11721
11717
  Controls: rs,
11722
11718
  Export: jl,
11723
11719
  Footer: ql,
@@ -11928,7 +11924,7 @@ const ze = ({
11928
11924
  }) })
11929
11925
  ] });
11930
11926
  }, Sc = ({ items: e }) => {
11931
- const t = B(null), [n, a] = R("long");
11927
+ const t = V(null), [n, a] = R("long");
11932
11928
  return U(() => {
11933
11929
  t.current && a(t.current.offsetWidth <= 1100 ? "small" : "long");
11934
11930
  }, []), /* @__PURE__ */ i($, { ref: t, width: "100%", children: /* @__PURE__ */ i(gs, { $size: n, children: e.map((r, o) => /* @__PURE__ */ i(
@@ -12086,7 +12082,7 @@ export {
12086
12082
  lc as am,
12087
12083
  sc as an,
12088
12084
  bn as ao,
12089
- Vr as ap,
12085
+ Br as ap,
12090
12086
  Mr as aq,
12091
12087
  oo as ar,
12092
12088
  $o as as,
@@ -12105,7 +12101,7 @@ export {
12105
12101
  he as b3,
12106
12102
  mr as b4,
12107
12103
  gn as b5,
12108
- Ve as b6,
12104
+ Be as b6,
12109
12105
  Ws as b7,
12110
12106
  sa as b8,
12111
12107
  sn as b9,
@@ -12126,8 +12122,8 @@ export {
12126
12122
  de as bO,
12127
12123
  Mt as bP,
12128
12124
  Hl as bQ,
12129
- Bl as bR,
12130
- Vl as bS,
12125
+ Vl as bR,
12126
+ Bl as bS,
12131
12127
  Ul as bT,
12132
12128
  Zl as bU,
12133
12129
  Xl as bV,
@@ -12136,7 +12132,7 @@ export {
12136
12132
  is as bY,
12137
12133
  as as bZ,
12138
12134
  rs as b_,
12139
- Be as ba,
12135
+ Ve as ba,
12140
12136
  Ra as bb,
12141
12137
  Ct as bc,
12142
12138
  Wa as bd,
@@ -12155,7 +12151,7 @@ export {
12155
12151
  Rt as bq,
12156
12152
  qe as br,
12157
12153
  jr as bs,
12158
- Br as bt,
12154
+ Vr as bt,
12159
12155
  Zr as bu,
12160
12156
  Qr as bv,
12161
12157
  to as bw,
@@ -12174,14 +12170,14 @@ export {
12174
12170
  He as k,
12175
12171
  ks as l,
12176
12172
  Cs as m,
12177
- V as n,
12173
+ B as n,
12178
12174
  Os as o,
12179
12175
  Ss as p,
12180
12176
  Hs as q,
12181
12177
  Ms as r,
12182
12178
  Re as s,
12183
- Bs as t,
12184
- Vs as u,
12179
+ Vs as t,
12180
+ Bs as u,
12185
12181
  oe as v,
12186
12182
  fe as w,
12187
12183
  Us as x,