@fluidattacks/design 3.25.6-pr → 3.25.7

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