@fluidattacks/design 3.25.16-pr.1 → 3.25.16-pr.2

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 (161) 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/avatar/index.js +1 -1
  6. package/dist/components/button/index.js +1 -1
  7. package/dist/components/card/card-header/index.js +1 -1
  8. package/dist/components/card/card-with-image/index.js +1 -1
  9. package/dist/components/card/card-with-input/index.js +1 -1
  10. package/dist/components/card/card-with-options/index.js +1 -1
  11. package/dist/components/card/card-with-selector/index.js +1 -1
  12. package/dist/components/card/card-with-switch/index.js +1 -1
  13. package/dist/components/card/index.js +1 -1
  14. package/dist/components/card-container/index.js +1 -1
  15. package/dist/components/carousel/index.js +1 -1
  16. package/dist/components/checkbox/index.js +1 -1
  17. package/dist/components/cloud-image/index.js +1 -1
  18. package/dist/components/code-snippet/index.js +1 -1
  19. package/dist/components/code-snippet/location-code/index.js +1 -1
  20. package/dist/components/colors/index.js +1 -1
  21. package/dist/components/conditions-dialog/index.js +1 -1
  22. package/dist/components/confirm-dialog/index.js +1 -1
  23. package/dist/components/container/index.js +1 -1
  24. package/dist/components/copy-button/index.js +1 -1
  25. package/dist/components/divider/index.js +1 -1
  26. package/dist/components/dropdown/index.js +1 -1
  27. package/dist/components/empty-state/empty-button/index.js +1 -1
  28. package/dist/components/empty-state/index.js +1 -1
  29. package/dist/components/file-preview/index.js +1 -1
  30. package/dist/components/form/index.js +1 -1
  31. package/dist/components/form/inner-form/index.js +1 -1
  32. package/dist/components/grid-container/index.js +1 -1
  33. package/dist/components/group-selector/index.js +1 -1
  34. package/dist/components/group-selector/option-container/index.js +1 -1
  35. package/dist/components/icon/index.js +1 -1
  36. package/dist/components/icon-button/index.js +1 -1
  37. package/dist/components/indicator-card/index.js +1 -1
  38. package/dist/components/info-sidebar/index.js +1 -1
  39. package/dist/components/inputs/fields/combobox/field/index.js +1 -1
  40. package/dist/components/inputs/fields/combobox/index.js +1 -1
  41. package/dist/components/inputs/fields/combobox/option/index.js +1 -1
  42. package/dist/components/inputs/fields/date/calendar/cell/index.js +1 -1
  43. package/dist/components/inputs/fields/date/calendar/grid/index.js +1 -1
  44. package/dist/components/inputs/fields/date/calendar/header/index.js +1 -1
  45. package/dist/components/inputs/fields/date/calendar/index.js +1 -1
  46. package/dist/components/inputs/fields/date/index.js +1 -1
  47. package/dist/components/inputs/fields/date-range/calendar/index.js +1 -1
  48. package/dist/components/inputs/fields/date-range/index.js +1 -1
  49. package/dist/components/inputs/fields/date-time/calendar/index.js +1 -1
  50. package/dist/components/inputs/fields/date-time/index.js +1 -1
  51. package/dist/components/inputs/fields/editable/index.js +1 -1
  52. package/dist/components/inputs/fields/input/index.js +1 -1
  53. package/dist/components/inputs/fields/input-array/field/index.js +1 -1
  54. package/dist/components/inputs/fields/input-array/index.js +1 -1
  55. package/dist/components/inputs/fields/input-file/index.js +1 -1
  56. package/dist/components/inputs/fields/input-tags/field/index.js +1 -1
  57. package/dist/components/inputs/fields/input-tags/index.js +1 -1
  58. package/dist/components/inputs/fields/number/index.js +1 -1
  59. package/dist/components/inputs/fields/number-range/index.js +1 -1
  60. package/dist/components/inputs/fields/phone/index.js +1 -1
  61. package/dist/components/inputs/fields/text-area/index.js +1 -1
  62. package/dist/components/inputs/index.js +1 -1
  63. package/dist/components/inputs/label/index.js +1 -1
  64. package/dist/components/inputs/outline-container/index.js +1 -1
  65. package/dist/components/inputs/utils/action-button/index.js +1 -1
  66. package/dist/components/inputs/utils/calendar-button/index.js +1 -1
  67. package/dist/components/inputs/utils/date-selector/index.js +1 -1
  68. package/dist/components/inputs/utils/date-time-field/index.js +1 -1
  69. package/dist/components/inputs/utils/dialog/index.js +1 -1
  70. package/dist/components/inputs/utils/number-field/index.js +1 -1
  71. package/dist/components/inputs/utils/popover/index.js +1 -1
  72. package/dist/components/layout/categories/buttons/index.js +1 -1
  73. package/dist/components/layout/categories/column/index.js +1 -1
  74. package/dist/components/layout/categories/gap/index.js +1 -1
  75. package/dist/components/layout/categories/row/index.js +1 -1
  76. package/dist/components/layout/index.js +1 -1
  77. package/dist/components/link/index.js +1 -1
  78. package/dist/components/list-item/index.js +1 -1
  79. package/dist/components/little-flag/index.js +1 -1
  80. package/dist/components/loading/index.js +1 -1
  81. package/dist/components/logo/index.js +1 -1
  82. package/dist/components/lottie/index.js +1 -1
  83. package/dist/components/menu/index.js +1 -1
  84. package/dist/components/message-banner/index.js +1 -1
  85. package/dist/components/modal/columns-modal/index.js +1 -1
  86. package/dist/components/modal/columns-modal/preview-panel/index.js +1 -1
  87. package/dist/components/modal/columns-modal/search-panel/index.js +1 -1
  88. package/dist/components/modal/filters-modal/applied-filter/index.js +1 -1
  89. package/dist/components/modal/filters-modal/applied-filters/index.js +1 -1
  90. package/dist/components/modal/filters-modal/column-filters/index.js +1 -1
  91. package/dist/components/modal/filters-modal/filter-control/index.js +1 -1
  92. package/dist/components/modal/filters-modal/filter-form/form-content/index.js +1 -1
  93. package/dist/components/modal/filters-modal/filter-form/hooks/index.js +1 -1
  94. package/dist/components/modal/filters-modal/filter-form/index.js +1 -1
  95. package/dist/components/modal/filters-modal/filters-list/index.js +1 -1
  96. package/dist/components/modal/filters-modal/index.js +1 -1
  97. package/dist/components/modal/footer/index.js +1 -1
  98. package/dist/components/modal/header/index.js +1 -1
  99. package/dist/components/modal/index.js +1 -1
  100. package/dist/components/modal/modal-confirm/index.js +1 -1
  101. package/dist/components/notification/index.js +1 -1
  102. package/dist/components/notification-sign/index.js +1 -1
  103. package/dist/components/number-input/index.js +1 -1
  104. package/dist/components/oauth-selector/index.js +1 -1
  105. package/dist/components/oauth-selector/option-container/index.js +1 -1
  106. package/dist/components/pop-up/description/index.js +1 -1
  107. package/dist/components/pop-up/index.js +1 -1
  108. package/dist/components/premium-feature/index.js +1 -1
  109. package/dist/components/priority-score/index.js +1 -1
  110. package/dist/components/progress-bar/index.js +1 -1
  111. package/dist/components/progress-indicator/in-progress-icon/index.js +1 -1
  112. package/dist/components/progress-indicator/index.js +1 -1
  113. package/dist/components/progress-indicator/step/index.js +1 -1
  114. package/dist/components/radio-button/index.js +1 -1
  115. package/dist/components/scroll-button/index.js +1 -1
  116. package/dist/components/search/index.js +1 -1
  117. package/dist/components/severity-badge/index.js +1 -1
  118. package/dist/components/severity-overview/badge/index.js +1 -1
  119. package/dist/components/severity-overview/index.js +1 -1
  120. package/dist/components/show-on-hover/index.js +1 -1
  121. package/dist/components/slide-out-menu/index.js +1 -1
  122. package/dist/components/slide-out-menu/menu-item/index.js +1 -1
  123. package/dist/components/slider/index.js +1 -1
  124. package/dist/components/slider/thumb/index.js +1 -1
  125. package/dist/components/step-lapse/index.js +1 -1
  126. package/dist/components/table/context/index.js +1 -1
  127. package/dist/components/table/export-csv/index.js +1 -1
  128. package/dist/components/table/index.js +1 -1
  129. package/dist/components/table/pagination/pagination-control/index.js +1 -1
  130. package/dist/components/table/pagination/pagination-dropdown/index.js +1 -1
  131. package/dist/components/table/pagination/pagination-size/index.js +1 -1
  132. package/dist/components/table/sort-icon/index.js +1 -1
  133. package/dist/components/table/table-body/index.js +1 -1
  134. package/dist/components/table/table-column-toggle/index.js +1 -1
  135. package/dist/components/table/table-content/head/index.js +1 -1
  136. package/dist/components/table/table-content/index.js +1 -1
  137. package/dist/components/table/table-footer/footer-content/index.js +1 -1
  138. package/dist/components/table/table-footer/index.js +1 -1
  139. package/dist/components/table/table-options/caption-content/index.js +1 -1
  140. package/dist/components/table/table-options/controls-content/index.js +1 -1
  141. package/dist/components/table/table-options/highlighted-content/index.js +1 -1
  142. package/dist/components/table/table-options/index.js +1 -1
  143. package/dist/components/table/wrapper/index.js +1 -1
  144. package/dist/components/table-button/index.js +1 -1
  145. package/dist/components/tabs/index.js +1 -1
  146. package/dist/components/tabs/tab/index.js +1 -1
  147. package/dist/components/tag/index.js +1 -1
  148. package/dist/components/timeline/card/index.js +1 -1
  149. package/dist/components/timeline/index.js +1 -1
  150. package/dist/components/toggle/index.js +1 -1
  151. package/dist/components/tooltip/index.js +1 -1
  152. package/dist/components/tour/index.js +1 -1
  153. package/dist/components/typography/heading/index.js +1 -1
  154. package/dist/components/typography/index.js +1 -1
  155. package/dist/components/typography/span/index.js +1 -1
  156. package/dist/components/typography/text/index.js +1 -1
  157. package/dist/{components-C3g2TVY2.js → components-CqgkDw14.js} +38 -38
  158. package/dist/{components-BMslvlLD.mjs → components-h4-OteWw.mjs} +174 -171
  159. package/dist/hooks/index.js +1 -1
  160. package/dist/index.js +1 -1
  161. package/package.json +1 -1
@@ -338,7 +338,7 @@ const oe = (e) => ({
338
338
  ), g = P(
339
339
  "gap",
340
340
  e.gap === void 0 ? void 0 : A.spacing[e.gap]
341
- ), u = P("background-color", e.bgColor), h = P("background", e.bgGradient), y = P("flex-direction", e.flexDirection), m = P("flex-grow", e.flexGrow), $ = P("justify-content", e.justify), k = P("justify-self", e.justifySelf), w = P("align-items", e.alignItems), S = P("align-self", e.alignSelf), C = P("flex-wrap", e.wrap);
341
+ ), u = P("background-color", e.bgColor), h = P("background", e.bgGradient), y = P("flex-direction", e.flexDirection), m = P("flex-grow", e.flexGrow), $ = P("justify-content", e.justify), C = P("justify-self", e.justifySelf), w = P("align-items", e.alignItems), S = P("align-self", e.alignSelf), k = P("flex-wrap", e.wrap);
342
342
  return `
343
343
  ${t}
344
344
  ${n}
@@ -356,10 +356,10 @@ const oe = (e) => ({
356
356
  ${y}
357
357
  ${m}
358
358
  ${$}
359
- ${k}
359
+ ${C}
360
360
  ${w}
361
361
  ${S}
362
- ${C}
362
+ ${k}
363
363
  `;
364
364
  }, Oe = (e) => {
365
365
  const t = P("color", e.color), n = P("font-family", e.fontFamily), a = P("font-size", e.fontSize), r = P("font-weight", e.fontWeight), o = P("line-spacing", e.letterSpacing), s = P("line-height", e.lineSpacing), l = P("text-align", e.textAlign), c = P("text-decoration", e.textDecoration), d = P("text-overflow", e.textOverflow), p = P("white-space", e.whiteSpace), g = P("word-break", e.wordBreak), u = P("word-wrap", e.wordWrap);
@@ -605,7 +605,7 @@ const oe = (e) => ({
605
605
  sizeSm: y,
606
606
  textFill: m,
607
607
  whiteSpace: $,
608
- wordBreak: k,
608
+ wordBreak: C,
609
609
  ...w
610
610
  }, S) {
611
611
  return /* @__PURE__ */ i(
@@ -625,7 +625,7 @@ const oe = (e) => ({
625
625
  $sizeSm: y,
626
626
  $textFill: m,
627
627
  $whiteSpace: $,
628
- $wordBreak: k,
628
+ $wordBreak: C,
629
629
  className: a,
630
630
  ref: S,
631
631
  ...w,
@@ -683,10 +683,10 @@ const oe = (e) => ({
683
683
  sizeSm: y,
684
684
  textFill: m,
685
685
  whiteSpace: $,
686
- wordBreak: k,
686
+ wordBreak: C,
687
687
  fontStyle: w,
688
688
  ...S
689
- }, C) {
689
+ }, k) {
690
690
  return /* @__PURE__ */ i(
691
691
  an,
692
692
  {
@@ -705,9 +705,9 @@ const oe = (e) => ({
705
705
  $sizeSm: y,
706
706
  $textFill: m,
707
707
  $whiteSpace: $,
708
- $wordBreak: k,
708
+ $wordBreak: C,
709
709
  className: a,
710
- ref: C,
710
+ ref: k,
711
711
  ...S,
712
712
  children: n
713
713
  }
@@ -1155,7 +1155,7 @@ const E = Z(function({
1155
1155
  hide: h = g === "" && u === "" && d === void 0,
1156
1156
  width: y
1157
1157
  }) => {
1158
- const m = F(), [$, k] = j(!1), { refs: w, floatingStyles: S, context: C } = _t({
1158
+ const m = F(), [$, C] = j(!1), { refs: w, floatingStyles: S, context: k } = _t({
1159
1159
  middleware: [
1160
1160
  Hn({
1161
1161
  fallbackAxisSideDirection: "start"
@@ -1163,14 +1163,14 @@ const E = Z(function({
1163
1163
  it({ mainAxis: 10 }),
1164
1164
  Wn()
1165
1165
  ],
1166
- onOpenChange: k,
1166
+ onOpenChange: C,
1167
1167
  open: $,
1168
1168
  placement: p,
1169
1169
  whileElementsMounted: nt
1170
- }), I = An(C, {
1170
+ }), I = An(k, {
1171
1171
  delay: { close: 0, open: 500 },
1172
1172
  move: !1
1173
- }), R = Ln(C), T = Pn(C, { role: r ? "label" : "tooltip" }), { getReferenceProps: z, getFloatingProps: O } = On([
1173
+ }), R = Ln(k), T = Pn(k, { role: r ? "label" : "tooltip" }), { getReferenceProps: z, getFloatingProps: O } = On([
1174
1174
  I,
1175
1175
  R,
1176
1176
  T
@@ -1255,13 +1255,13 @@ const E = Z(function({
1255
1255
  tooltip: y,
1256
1256
  tooltipPlace: m,
1257
1257
  value: $,
1258
- variant: k = "primary",
1258
+ variant: C = "primary",
1259
1259
  ...w
1260
1260
  }, S) {
1261
- const C = /* @__PURE__ */ i(
1261
+ const k = /* @__PURE__ */ i(
1262
1262
  $a,
1263
1263
  {
1264
- $variant: k,
1264
+ $variant: C,
1265
1265
  "aria-disabled": n,
1266
1266
  "aria-label": c,
1267
1267
  borderRadius: t,
@@ -1287,8 +1287,8 @@ const E = Z(function({
1287
1287
  }
1288
1288
  )
1289
1289
  }
1290
- ), R = (h + (k ?? "") + (c ?? a)).replace(/ /u, "_");
1291
- return y === void 0 ? C : /* @__PURE__ */ i(ee, { id: `${R}-tooltip`, place: m, tip: y, children: C });
1290
+ ), R = (h + (C ?? "") + (c ?? a)).replace(/ /u, "_");
1291
+ return y === void 0 ? k : /* @__PURE__ */ i(ee, { id: `${R}-tooltip`, place: m, tip: y, children: k });
1292
1292
  }), Cs = Z(function({
1293
1293
  autoHide: t = !1,
1294
1294
  children: n,
@@ -1717,10 +1717,10 @@ const E = Z(function({
1717
1717
  type: y = "button",
1718
1718
  tooltip: m,
1719
1719
  tooltipPlace: $ = "bottom",
1720
- underline: k = !1,
1720
+ underline: C = !1,
1721
1721
  value: w,
1722
1722
  variant: S = "primary",
1723
- width: C,
1723
+ width: k,
1724
1724
  ...I
1725
1725
  }, R) {
1726
1726
  const T = m !== void 0, z = `${s}-tooltip`, O = v(() => {
@@ -1731,7 +1731,7 @@ const E = Z(function({
1731
1731
  $size: r,
1732
1732
  $variant: S,
1733
1733
  "aria-disabled": n,
1734
- className: k ? "underline" : void 0,
1734
+ className: C ? "underline" : void 0,
1735
1735
  disabled: n,
1736
1736
  id: s,
1737
1737
  name: p,
@@ -1739,7 +1739,7 @@ const E = Z(function({
1739
1739
  ref: R,
1740
1740
  type: y,
1741
1741
  value: w,
1742
- width: C,
1742
+ width: k,
1743
1743
  ...T ? { "data-tooltip-id": z } : {},
1744
1744
  ...I,
1745
1745
  children: [
@@ -1772,7 +1772,7 @@ const E = Z(function({
1772
1772
  id: z,
1773
1773
  place: $,
1774
1774
  tip: m,
1775
- width: C,
1775
+ width: k,
1776
1776
  children: D
1777
1777
  }
1778
1778
  ) : D;
@@ -1995,7 +1995,7 @@ const E = Z(function({
1995
1995
  }) => {
1996
1996
  const h = F(), [y, m] = j(!1), $ = v(() => {
1997
1997
  m(!0);
1998
- }, []), k = v(() => {
1998
+ }, []), C = v(() => {
1999
1999
  m(!1);
2000
2000
  }, []);
2001
2001
  return /* @__PURE__ */ f(
@@ -2009,7 +2009,7 @@ const E = Z(function({
2009
2009
  flexDirection: "column",
2010
2010
  gap: 1,
2011
2011
  onHover: $,
2012
- onLeave: k,
2012
+ onLeave: C,
2013
2013
  padding: [0.5, 0.5, 0.5, 0.5],
2014
2014
  width: "100%",
2015
2015
  children: [
@@ -2634,7 +2634,7 @@ const E = Z(function({
2634
2634
  { key: e.key },
2635
2635
  s,
2636
2636
  d
2637
- ), k = [
2637
+ ), C = [
2638
2638
  y ? "selected" : "",
2639
2639
  m ? "focused" : "",
2640
2640
  $ ? "disabled" : ""
@@ -2648,7 +2648,7 @@ const E = Z(function({
2648
2648
  Un(u, H) && !Array.from(g).includes("All") ? (o == null || o("checkAll", "All vulnerability types"), r("All vulnerability types")) : (o == null || o("checkAll", ""), r(
2649
2649
  (H == null ? void 0 : H.length) <= 2 ? H.join(", ") : `${H.slice(0, 2).join(", ") + `, +${H.length - 2} more`}`
2650
2650
  ));
2651
- }, [g, u, n, r, o, l]), C = e.key === "All" ? /* @__PURE__ */ i(
2651
+ }, [g, u, n, r, o, l]), k = e.key === "All" ? /* @__PURE__ */ i(
2652
2652
  fe,
2653
2653
  {
2654
2654
  ...a == null ? void 0 : a("checkAll", { onChange: w }),
@@ -2664,7 +2664,7 @@ const E = Z(function({
2664
2664
  name: `${n}Options`,
2665
2665
  value: e.key.toString()
2666
2666
  }
2667
- ), I = t && !$ ? C : /* @__PURE__ */ i(
2667
+ ), I = t && !$ ? k : /* @__PURE__ */ i(
2668
2668
  N,
2669
2669
  {
2670
2670
  color: c.palette.gray[800],
@@ -2694,7 +2694,7 @@ const E = Z(function({
2694
2694
  {
2695
2695
  ...!t && !p ? h : {},
2696
2696
  $multiSelection: t,
2697
- className: k,
2697
+ className: C,
2698
2698
  ref: d,
2699
2699
  children: [
2700
2700
  p ? /* @__PURE__ */ i(se, { href: p, onClick: R, children: I }) : I,
@@ -2721,10 +2721,10 @@ const E = Z(function({
2721
2721
  placeholder: y,
2722
2722
  register: m,
2723
2723
  required: $,
2724
- setValue: k,
2724
+ setValue: C,
2725
2725
  tooltip: w,
2726
2726
  value: S,
2727
- watch: C,
2727
+ watch: k,
2728
2728
  weight: I
2729
2729
  }) => {
2730
2730
  var ht;
@@ -2909,9 +2909,9 @@ const E = Z(function({
2909
2909
  name: d,
2910
2910
  register: m,
2911
2911
  setInputValue: D,
2912
- setValue: k,
2912
+ setValue: C,
2913
2913
  state: te,
2914
- watch: C
2914
+ watch: k
2915
2915
  },
2916
2916
  W.key
2917
2917
  ))
@@ -2940,10 +2940,10 @@ const E = Z(function({
2940
2940
  placeholder: y,
2941
2941
  register: m,
2942
2942
  required: $,
2943
- setValue: k,
2943
+ setValue: C,
2944
2944
  tooltip: w,
2945
2945
  value: S,
2946
- watch: C,
2946
+ watch: k,
2947
2947
  weight: I
2948
2948
  }) => e ? /* @__PURE__ */ i(
2949
2949
  at,
@@ -2972,10 +2972,10 @@ const E = Z(function({
2972
2972
  placeholder: y,
2973
2973
  register: m,
2974
2974
  required: $,
2975
- setValue: k,
2975
+ setValue: C,
2976
2976
  tooltip: w,
2977
2977
  value: S,
2978
- watch: C,
2978
+ watch: k,
2979
2979
  weight: I
2980
2980
  }
2981
2981
  );
@@ -3576,7 +3576,7 @@ const E = Z(function({
3576
3576
  m(T);
3577
3577
  },
3578
3578
  ...!L.isNil(y) && !L.isEmpty(y) && ne(y).isValid() ? { defaultValue: li(y.replace(/\//gu, "-")) } : {}
3579
- }), { close: k } = $, { groupProps: w, fieldProps: S, buttonProps: C, dialogProps: I, calendarProps: R } = qt(
3579
+ }), { close: C } = $, { groupProps: w, fieldProps: S, buttonProps: k, dialogProps: I, calendarProps: R } = qt(
3580
3580
  { ...u, "aria-label": s ?? l, name: l },
3581
3581
  $,
3582
3582
  h
@@ -3596,7 +3596,7 @@ const E = Z(function({
3596
3596
  /* @__PURE__ */ i(
3597
3597
  De,
3598
3598
  {
3599
- buttonProps: C,
3599
+ buttonProps: k,
3600
3600
  datePickerRef: h,
3601
3601
  disabled: e,
3602
3602
  error: t,
@@ -3616,7 +3616,7 @@ const E = Z(function({
3616
3616
  placement: "bottom start",
3617
3617
  state: $,
3618
3618
  triggerRef: h,
3619
- children: /* @__PURE__ */ i(dt, { ...I, children: /* @__PURE__ */ i(_a, { onClose: k, props: R }) })
3619
+ children: /* @__PURE__ */ i(dt, { ...I, children: /* @__PURE__ */ i(_a, { onClose: C, props: R }) })
3620
3620
  }
3621
3621
  ) : null
3622
3622
  ]
@@ -3687,10 +3687,10 @@ const E = Z(function({
3687
3687
  onChange(z) {
3688
3688
  m(z);
3689
3689
  }
3690
- }), { close: k } = $, {
3690
+ }), { close: C } = $, {
3691
3691
  groupProps: w,
3692
3692
  startFieldProps: S,
3693
- endFieldProps: C,
3693
+ endFieldProps: k,
3694
3694
  buttonProps: I,
3695
3695
  dialogProps: R,
3696
3696
  calendarProps: T
@@ -3728,7 +3728,7 @@ const E = Z(function({
3728
3728
  fieldProps: {
3729
3729
  ...S,
3730
3730
  "aria-label": `${S["aria-label"]} ${a}`,
3731
- validate: (z) => C.value && z > C.value ? "Start date must be less than or equal to end date" : null
3731
+ validate: (z) => k.value && z > k.value ? "Start date must be less than or equal to end date" : null
3732
3732
  },
3733
3733
  groupProps: w,
3734
3734
  name: (d == null ? void 0 : d.name) ?? h,
@@ -3745,8 +3745,8 @@ const E = Z(function({
3745
3745
  disabled: e,
3746
3746
  error: t,
3747
3747
  fieldProps: {
3748
- ...C,
3749
- "aria-label": `${C["aria-label"]} ${a}`,
3748
+ ...k,
3749
+ "aria-label": `${k["aria-label"]} ${a}`,
3750
3750
  validate: (z) => S.value && z < S.value ? "End date must be greater than or equal to start date" : null
3751
3751
  },
3752
3752
  groupProps: w,
@@ -3766,7 +3766,7 @@ const E = Z(function({
3766
3766
  placement: "bottom start",
3767
3767
  state: $,
3768
3768
  triggerRef: y,
3769
- children: /* @__PURE__ */ i(dt, { ...R, children: /* @__PURE__ */ i(qa, { onClose: k, props: T }) })
3769
+ children: /* @__PURE__ */ i(dt, { ...R, children: /* @__PURE__ */ i(qa, { onClose: C, props: T }) })
3770
3770
  }
3771
3771
  ) : null
3772
3772
  ]
@@ -3840,7 +3840,7 @@ const E = Z(function({
3840
3840
  value: L.isNil(p) || L.isEmpty(p) || p === "-" || ne(p, "YYYY/MM/DD hh:mm A").isValid() === !1 ? null : gi(
3841
3841
  ne(p, "YYYY/MM/DD hh:mm A").format("YYYY-MM-DDTHH:mm:ss")
3842
3842
  )
3843
- }), { close: h } = u, { groupProps: y, fieldProps: m, buttonProps: $, dialogProps: k, calendarProps: w } = qt(e, u, g), S = v(
3843
+ }), { close: h } = u, { groupProps: y, fieldProps: m, buttonProps: $, dialogProps: C, calendarProps: w } = qt(e, u, g), S = v(
3844
3844
  (I) => {
3845
3845
  if (w.onChange && w.onChange(I), u.timeValue) {
3846
3846
  const R = Nt(
@@ -3852,7 +3852,7 @@ const E = Z(function({
3852
3852
  u.setDateValue(I);
3853
3853
  },
3854
3854
  [w, o, c, u]
3855
- ), C = v(
3855
+ ), k = v(
3856
3856
  (I) => {
3857
3857
  if (I) {
3858
3858
  u.setTimeValue(I);
@@ -3897,10 +3897,10 @@ const E = Z(function({
3897
3897
  placement: "bottom start",
3898
3898
  state: u,
3899
3899
  triggerRef: g,
3900
- children: /* @__PURE__ */ i(dt, { ...k, children: /* @__PURE__ */ i(
3900
+ children: /* @__PURE__ */ i(dt, { ...C, children: /* @__PURE__ */ i(
3901
3901
  nr,
3902
3902
  {
3903
- handleTimeChange: C,
3903
+ handleTimeChange: k,
3904
3904
  onClose: h,
3905
3905
  props: { ...w, onChange: S },
3906
3906
  timeState: u
@@ -3945,10 +3945,10 @@ const E = Z(function({
3945
3945
  onPaste: y,
3946
3946
  placeholder: m,
3947
3947
  removeItemArray: $,
3948
- register: k,
3948
+ register: C,
3949
3949
  suggestions: w,
3950
3950
  tooltip: S,
3951
- type: C = "text",
3951
+ type: k = "text",
3952
3952
  weight: I,
3953
3953
  ...R
3954
3954
  }) => {
@@ -4001,8 +4001,8 @@ const E = Z(function({
4001
4001
  onKeyDown: X,
4002
4002
  onPaste: y,
4003
4003
  placeholder: m,
4004
- type: C,
4005
- ...k ? k(u, { required: T, onBlur: z, onChange: ge }) : { ...R, onChange: ge }
4004
+ type: k,
4005
+ ...C ? C(u, { required: T, onBlur: z, onChange: ge }) : { ...R, onChange: ge }
4006
4006
  }
4007
4007
  ),
4008
4008
  H ? /* @__PURE__ */ i(
@@ -4170,11 +4170,11 @@ const E = Z(function({
4170
4170
  value: $
4171
4171
  }) => {
4172
4172
  var S;
4173
- const k = v(() => {
4173
+ const C = v(() => {
4174
4174
  t == null || t(o);
4175
4175
  }, [t, o]), w = v(
4176
- (C) => () => {
4177
- m == null || m(C);
4176
+ (k) => () => {
4177
+ m == null || m(k);
4178
4178
  },
4179
4179
  [m]
4180
4180
  );
@@ -4204,7 +4204,7 @@ const E = Z(function({
4204
4204
  {
4205
4205
  disabled: n,
4206
4206
  icon: "plus",
4207
- onClick: k,
4207
+ onClick: C,
4208
4208
  variant: "ghost",
4209
4209
  width: "100%",
4210
4210
  children: e ?? "Add"
@@ -4231,13 +4231,13 @@ const E = Z(function({
4231
4231
  {
4232
4232
  control: n,
4233
4233
  name: `${d}.${m}`,
4234
- render: ({ field: $, fieldState: k }) => /* @__PURE__ */ i(
4234
+ render: ({ field: $, fieldState: C }) => /* @__PURE__ */ i(
4235
4235
  Ft,
4236
4236
  {
4237
4237
  addText: e,
4238
4238
  append: t,
4239
4239
  disabled: a,
4240
- fieldState: k,
4240
+ fieldState: C,
4241
4241
  fields: r,
4242
4242
  index: m,
4243
4243
  initValue: o,
@@ -4307,7 +4307,7 @@ const E = Z(function({
4307
4307
  watch: y,
4308
4308
  weight: m
4309
4309
  }) => {
4310
- const $ = F(), 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 = cr(C), R = v(() => {
4310
+ const $ = F(), C = t ? void 0 : n, w = B(null), S = g == null ? void 0 : g(c, { required: p }), k = y == null ? void 0 : y(c), I = cr(k), R = v(() => {
4311
4311
  const O = we("change", c, void 0);
4312
4312
  u && u(c, void 0), S && S.onChange(O);
4313
4313
  }, [S, c, u]), T = v(
@@ -4331,7 +4331,7 @@ const E = Z(function({
4331
4331
  return /* @__PURE__ */ f(
4332
4332
  Q,
4333
4333
  {
4334
- error: k,
4334
+ error: C,
4335
4335
  helpLink: r,
4336
4336
  helpText: o,
4337
4337
  htmlFor: s ?? c,
@@ -4343,7 +4343,7 @@ const E = Z(function({
4343
4343
  /* @__PURE__ */ f(
4344
4344
  ce,
4345
4345
  {
4346
- className: `${t ? "disabled" : ""} ${k ? "error" : ""}`,
4346
+ className: `${t ? "disabled" : ""} ${C ? "error" : ""}`,
4347
4347
  children: [
4348
4348
  /* @__PURE__ */ i(lr, { $size: "xs", children: I }),
4349
4349
  /* @__PURE__ */ f(b, { alignItems: "center", display: "flex", gap: 0.625, children: [
@@ -4360,7 +4360,7 @@ const E = Z(function({
4360
4360
  width: "20px"
4361
4361
  }
4362
4362
  ),
4363
- k && /* @__PURE__ */ i(
4363
+ C && /* @__PURE__ */ i(
4364
4364
  E,
4365
4365
  {
4366
4366
  icon: "exclamation-circle",
@@ -4431,7 +4431,7 @@ const E = Z(function({
4431
4431
  value: h,
4432
4432
  weight: y
4433
4433
  }) => {
4434
- const m = F(), $ = e ? void 0 : t, [k, w] = j(""), S = c ? h : n == null ? void 0 : n.value, C = K(() => S && typeof S == "string" ? S.split(",").filter(Boolean) : [], [S]), I = v(
4434
+ const m = F(), $ = e ? void 0 : t, [C, w] = j(""), S = c ? h : n == null ? void 0 : n.value, k = K(() => S && typeof S == "string" ? S.split(",").filter(Boolean) : [], [S]), I = v(
4435
4435
  (D) => {
4436
4436
  const ie = [...new Set(D.filter(Boolean))].join(","), re = we("change", l, ie);
4437
4437
  n && n.onChange(re), c && c(re);
@@ -4444,21 +4444,21 @@ const E = Z(function({
4444
4444
  []
4445
4445
  ), T = v(
4446
4446
  (D) => {
4447
- const H = k.trim();
4448
- H.length && !C.includes(H) && (D.preventDefault(), I([...C, H]), w("")), n && n.onBlur();
4447
+ const H = C.trim();
4448
+ H.length && !k.includes(H) && (D.preventDefault(), I([...k, H]), w("")), n && n.onBlur();
4449
4449
  },
4450
- [k, n, I, C]
4450
+ [C, n, I, k]
4451
4451
  ), z = v(
4452
4452
  (D) => {
4453
- const H = k.trim();
4454
- D.key === "Enter" && H.length === 0 && D.preventDefault(), ["Enter", ","].includes(D.key) && H.length > 0 && !C.includes(H) ? (D.preventDefault(), I([...C, H]), w("")) : D.key === "Backspace" && !H.length && C.length && (D.preventDefault(), d == null || d(C[C.length - 1]), I(C.slice(0, -1)));
4453
+ const H = C.trim();
4454
+ D.key === "Enter" && H.length === 0 && D.preventDefault(), ["Enter", ","].includes(D.key) && H.length > 0 && !k.includes(H) ? (D.preventDefault(), I([...k, H]), w("")) : D.key === "Backspace" && !H.length && k.length && (D.preventDefault(), d == null || d(k[k.length - 1]), I(k.slice(0, -1)));
4455
4455
  },
4456
- [k, d, I, C]
4456
+ [C, d, I, k]
4457
4457
  ), O = v(
4458
4458
  (D) => () => {
4459
- d == null || d(D), I(C.filter((H) => H !== D));
4459
+ d == null || d(D), I(k.filter((H) => H !== D));
4460
4460
  },
4461
- [d, I, C]
4461
+ [d, I, k]
4462
4462
  );
4463
4463
  return /* @__PURE__ */ i(
4464
4464
  Q,
@@ -4478,7 +4478,7 @@ const E = Z(function({
4478
4478
  $overflowX: "auto",
4479
4479
  className: `${e ? "disabled" : ""} ${$ ? "error" : ""}`,
4480
4480
  children: [
4481
- C.map((D) => /* @__PURE__ */ i(
4481
+ k.map((D) => /* @__PURE__ */ i(
4482
4482
  ae,
4483
4483
  {
4484
4484
  disabled: e,
@@ -4499,10 +4499,10 @@ const E = Z(function({
4499
4499
  onBlur: T,
4500
4500
  onChange: R,
4501
4501
  onKeyDown: z,
4502
- placeholder: C.length === 0 ? p : void 0,
4502
+ placeholder: k.length === 0 ? p : void 0,
4503
4503
  ref: n == null ? void 0 : n.ref,
4504
4504
  type: "text",
4505
- value: k
4505
+ value: C
4506
4506
  }
4507
4507
  ),
4508
4508
  $ ? /* @__PURE__ */ i(
@@ -4617,22 +4617,22 @@ const E = Z(function({
4617
4617
  setValue: u,
4618
4618
  value: h
4619
4619
  }) => {
4620
- const y = F(), m = n ? void 0 : e, $ = t < 0 ? 0 : t, [k, w] = j(
4620
+ const y = F(), m = n ? void 0 : e, $ = t < 0 ? 0 : t, [C, w] = j(
4621
4621
  h ? L.toNumber(h) : 0
4622
4622
  ), S = v(() => {
4623
- const T = (k - 10 ** -$).toFixed($), z = Math.max(Number(s), Number(T));
4623
+ const T = (C - 10 ** -$).toFixed($), z = Math.max(Number(s), Number(T));
4624
4624
  u && u(l, z, { shouldDirty: !0 }), w(z);
4625
4625
  const O = we("change", l, T);
4626
4626
  c && c(O);
4627
- }, [k, $, s, u, l, c]), C = v(() => {
4628
- const T = (k + 10 ** -$).toFixed($), z = Math.min(
4627
+ }, [C, $, s, u, l, c]), k = v(() => {
4628
+ const T = (C + 10 ** -$).toFixed($), z = Math.min(
4629
4629
  Number(o),
4630
4630
  Number(T) > Number(s) ? Number(T) : Number(s)
4631
4631
  );
4632
4632
  u && u(l, z, { shouldDirty: !0 }), w(z);
4633
4633
  const O = we("change", l, T);
4634
4634
  c && c(O);
4635
- }, [k, $, o, s, u, l, c]), I = v(
4635
+ }, [C, $, o, s, u, l, c]), I = v(
4636
4636
  (T) => {
4637
4637
  const { value: z } = T.target, O = /\d+/u.test(z) && !L.isEmpty(z);
4638
4638
  u && u(l, O ? z : void 0), c && c(T), w(Number(z));
@@ -4667,7 +4667,7 @@ const E = Z(function({
4667
4667
  required: g,
4668
4668
  step: 10 ** -$,
4669
4669
  type: "number",
4670
- value: k,
4670
+ value: C,
4671
4671
  ...p == null ? void 0 : p(l, {
4672
4672
  maxLength: r,
4673
4673
  max: o,
@@ -4706,7 +4706,7 @@ const E = Z(function({
4706
4706
  borderRadius: `0 ${y.spacing[0.5]} ${y.spacing[0.5]} 0`,
4707
4707
  disabled: n,
4708
4708
  icon: "plus",
4709
- onClick: C,
4709
+ onClick: k,
4710
4710
  px: 0.75,
4711
4711
  py: 0.75
4712
4712
  }
@@ -4732,10 +4732,10 @@ const E = Z(function({
4732
4732
  register: y,
4733
4733
  required: m,
4734
4734
  setValue: $,
4735
- tooltip: k,
4735
+ tooltip: C,
4736
4736
  value: w,
4737
4737
  watch: S,
4738
- weight: C
4738
+ weight: k
4739
4739
  }) => /* @__PURE__ */ i(
4740
4740
  Q,
4741
4741
  {
@@ -4747,8 +4747,8 @@ const E = Z(function({
4747
4747
  linkPosition: l,
4748
4748
  maxLength: c,
4749
4749
  required: m,
4750
- tooltip: k,
4751
- weight: C,
4750
+ tooltip: C,
4751
+ weight: k,
4752
4752
  children: /* @__PURE__ */ i(
4753
4753
  Qe,
4754
4754
  {
@@ -4927,7 +4927,7 @@ const E = Z(function({
4927
4927
  watch: d,
4928
4928
  weight: p
4929
4929
  }) => {
4930
- const g = F(), u = B(null), h = e ? void 0 : t, y = (d == null ? void 0 : d(a)) ?? c, [m, $] = j(!1), [k, w] = j(""), { refs: S, floatingStyles: C } = rt({
4930
+ const g = F(), u = B(null), h = e ? void 0 : t, y = (d == null ? void 0 : d(a)) ?? c, [m, $] = j(!1), [C, w] = j(""), { refs: S, floatingStyles: k } = rt({
4931
4931
  placement: "bottom-start",
4932
4932
  whileElementsMounted: nt
4933
4933
  }), { inputRef: I, inputValue: R, handlePhoneValueChange: T, country: z, setCountry: O } = hi({
@@ -4957,7 +4957,7 @@ const E = Z(function({
4957
4957
  []
4958
4958
  ), ge = $t.filter((G) => {
4959
4959
  const { name: X } = bt(G);
4960
- return X.toLowerCase().includes(k.toLowerCase());
4960
+ return X.toLowerCase().includes(C.toLowerCase());
4961
4961
  });
4962
4962
  return de(
4963
4963
  S.floating.current,
@@ -5045,7 +5045,7 @@ const E = Z(function({
5045
5045
  }
5046
5046
  ),
5047
5047
  m && $e(
5048
- /* @__PURE__ */ i(fr, { ref: S.setFloating, style: C, children: ge.map((G) => {
5048
+ /* @__PURE__ */ i(fr, { ref: S.setFloating, style: k, children: ge.map((G) => {
5049
5049
  const { dialCode: X, iso2: Y, name: be } = bt(G);
5050
5050
  return /* @__PURE__ */ f(
5051
5051
  yr,
@@ -5095,11 +5095,11 @@ const E = Z(function({
5095
5095
  required: y,
5096
5096
  rows: m,
5097
5097
  tooltip: $,
5098
- watch: k,
5098
+ watch: C,
5099
5099
  weight: w,
5100
5100
  value: S
5101
5101
  }) => {
5102
- const C = F(), I = (k == null ? void 0 : k(l)) ?? S, R = o && r && !e, T = e ? void 0 : t;
5102
+ const k = F(), I = (C == null ? void 0 : C(l)) ?? S, R = o && r && !e, T = e ? void 0 : t;
5103
5103
  return /* @__PURE__ */ i(
5104
5104
  Q,
5105
5105
  {
@@ -5143,7 +5143,7 @@ const E = Z(function({
5143
5143
  {
5144
5144
  icon: "exclamation-circle",
5145
5145
  iconClass: "error-icon",
5146
- iconColor: C.palette.error[500],
5146
+ iconColor: k.palette.error[500],
5147
5147
  iconSize: "xs"
5148
5148
  }
5149
5149
  ) : void 0,
@@ -5152,7 +5152,7 @@ const E = Z(function({
5152
5152
  {
5153
5153
  icon: "check-circle",
5154
5154
  iconClass: "success-icon",
5155
- iconColor: C.palette.success[500],
5155
+ iconColor: k.palette.success[500],
5156
5156
  iconSize: "xs"
5157
5157
  }
5158
5158
  ) : void 0
@@ -5179,10 +5179,10 @@ const E = Z(function({
5179
5179
  title: y,
5180
5180
  value: m,
5181
5181
  isTouched: $,
5182
- isValid: k,
5182
+ isValid: C,
5183
5183
  error: w,
5184
5184
  onChange: S,
5185
- register: C,
5185
+ register: k,
5186
5186
  setValue: I,
5187
5187
  watch: R
5188
5188
  }) => {
@@ -5194,10 +5194,10 @@ const E = Z(function({
5194
5194
  disabled: n,
5195
5195
  error: w,
5196
5196
  isTouched: $,
5197
- isValid: k,
5197
+ isValid: C,
5198
5198
  name: p,
5199
5199
  placeholder: g,
5200
- register: C
5200
+ register: k
5201
5201
  }
5202
5202
  );
5203
5203
  if (s === "date")
@@ -5207,7 +5207,7 @@ const E = Z(function({
5207
5207
  disabled: n,
5208
5208
  error: w,
5209
5209
  name: p,
5210
- register: C,
5210
+ register: k,
5211
5211
  setValue: I,
5212
5212
  watch: R
5213
5213
  }
@@ -5236,7 +5236,7 @@ const E = Z(function({
5236
5236
  name: p,
5237
5237
  onChange: S,
5238
5238
  placeholder: g,
5239
- register: C,
5239
+ register: k,
5240
5240
  setValue: I,
5241
5241
  value: m,
5242
5242
  watch: R
@@ -5249,12 +5249,12 @@ const E = Z(function({
5249
5249
  l,
5250
5250
  s,
5251
5251
  $,
5252
- k,
5252
+ C,
5253
5253
  r,
5254
5254
  p,
5255
5255
  S,
5256
5256
  g,
5257
- C,
5257
+ k,
5258
5258
  I,
5259
5259
  m,
5260
5260
  R
@@ -5345,7 +5345,7 @@ const E = Z(function({
5345
5345
  const u = g.filter(({ locked: $ }) => !$), y = [...g.filter(({ locked: $ }) => $), ...u], m = y.map(({ name: $ }) => $);
5346
5346
  l(($) => [
5347
5347
  ...y,
5348
- ...$.filter(({ name: k }) => !m.includes(k))
5348
+ ...$.filter(({ name: C }) => !m.includes(C))
5349
5349
  ]), a && a(y.map(({ id: $ }) => $));
5350
5350
  },
5351
5351
  [a]
@@ -6907,7 +6907,7 @@ ${y[8]}...` : (y.length < 8 && d(!1), t);
6907
6907
  g(S.target.value), a == null || a(S);
6908
6908
  },
6909
6909
  [a]
6910
- ), k = v(() => {
6910
+ ), C = v(() => {
6911
6911
  g(""), n == null || n();
6912
6912
  }, [n]);
6913
6913
  de(
@@ -6947,7 +6947,7 @@ ${y[8]}...` : (y.length < 8 && d(!1), t);
6947
6947
  iconColor: l.palette.gray[300],
6948
6948
  iconSize: "xs",
6949
6949
  iconType: "fa-light",
6950
- onClick: k,
6950
+ onClick: C,
6951
6951
  px: 0.25,
6952
6952
  py: 0.25,
6953
6953
  type: "reset",
@@ -7545,10 +7545,10 @@ ${y[8]}...` : (y.length < 8 && d(!1), t);
7545
7545
  []
7546
7546
  ), [g, u] = j({}), [h, y] = j(""), m = v(
7547
7547
  (w) => () => {
7548
- const S = l.find((I) => I.label === w), C = !(S != null && S.filterOptions.some(
7548
+ const S = l.find((I) => I.label === w), k = !(S != null && S.filterOptions.some(
7549
7549
  (I) => I.type === "dateRange" || I.type === "select"
7550
7550
  ));
7551
- o == null || o(C ?? !0), y(w), p((S == null ? void 0 : S.filterOptions) ?? []);
7551
+ o == null || o(k ?? !0), y(w), p((S == null ? void 0 : S.filterOptions) ?? []);
7552
7552
  },
7553
7553
  [l, o]
7554
7554
  ), $ = v(
@@ -7561,7 +7561,7 @@ ${y[8]}...` : (y.length < 8 && d(!1), t);
7561
7561
  ...w.maxValue ? [String(w.maxValue)] : []
7562
7562
  ];
7563
7563
  u((z) => S.length > 0 ? { ...z, [h]: S } : z);
7564
- const C = (z) => {
7564
+ const k = (z) => {
7565
7565
  var O, D;
7566
7566
  return {
7567
7567
  ...z,
@@ -7575,7 +7575,7 @@ ${y[8]}...` : (y.length < 8 && d(!1), t);
7575
7575
  };
7576
7576
  }, I = (z) => z.label === h ? {
7577
7577
  ...z,
7578
- filterOptions: z.filterOptions.map(C)
7578
+ filterOptions: z.filterOptions.map(k)
7579
7579
  } : z, R = l.map(I);
7580
7580
  c((z) => z.map(I));
7581
7581
  const T = R.flatMap(
@@ -7584,30 +7584,30 @@ ${y[8]}...` : (y.length < 8 && d(!1), t);
7584
7584
  n(T), p([]);
7585
7585
  },
7586
7586
  [l, n, h]
7587
- ), k = v(
7587
+ ), C = v(
7588
7588
  (w, S) => {
7589
- const C = `li-filter-option-${w}`;
7589
+ const k = `li-filter-option-${w}`;
7590
7590
  return /* @__PURE__ */ f(
7591
7591
  $o,
7592
7592
  {
7593
7593
  icon: S,
7594
7594
  onClick: m(w),
7595
7595
  style: { minWidth: "180px", writingMode: "horizontal-tb" },
7596
- value: C,
7596
+ value: k,
7597
7597
  width: "100%",
7598
7598
  children: [
7599
7599
  w,
7600
7600
  g[w] === void 0 ? void 0 : /* @__PURE__ */ i(ae, { tagLabel: g[w].length.toString() })
7601
7601
  ]
7602
7602
  },
7603
- C
7603
+ k
7604
7604
  );
7605
7605
  },
7606
7606
  [g, m]
7607
7607
  );
7608
7608
  return U(() => {
7609
7609
  const w = e.reduce(
7610
- (S, { label: C, filterOptions: I }) => {
7610
+ (S, { label: k, filterOptions: I }) => {
7611
7611
  const R = I.flatMap(({ value: O, minValue: D, maxValue: H }) => [
7612
7612
  D,
7613
7613
  H,
@@ -7618,7 +7618,7 @@ ${y[8]}...` : (y.length < 8 && d(!1), t);
7618
7618
  ];
7619
7619
  return z.length === 0 ? S : {
7620
7620
  ...S,
7621
- [C]: z
7621
+ [k]: z
7622
7622
  };
7623
7623
  },
7624
7624
  {}
@@ -7645,7 +7645,7 @@ ${y[8]}...` : (y.length < 8 && d(!1), t);
7645
7645
  ([w, S]) => /* @__PURE__ */ f(b, { style: { writingMode: "horizontal-tb" }, children: [
7646
7646
  /* @__PURE__ */ i(N, { color: s.palette.gray[400], mb: 0.25, size: "sm", children: w }),
7647
7647
  S.map(
7648
- ({ label: C, icon: I = "filter-list" }) => k(C, I)
7648
+ ({ label: k, icon: I = "filter-list" }) => C(k, I)
7649
7649
  )
7650
7650
  ] }, w)
7651
7651
  )
@@ -7668,7 +7668,7 @@ ${y[8]}...` : (y.length < 8 && d(!1), t);
7668
7668
  selectedFilter: h
7669
7669
  }
7670
7670
  ) : e.map(
7671
- ({ label: w, icon: S = "filter-list" }) => k(w, S)
7671
+ ({ label: w, icon: S = "filter-list" }) => C(w, S)
7672
7672
  )
7673
7673
  }
7674
7674
  );
@@ -7999,30 +7999,30 @@ const ze = ({
7999
7999
  onSearch: l,
8000
8000
  variant: c = "ungrouped"
8001
8001
  }) => {
8002
- const d = Ve("filters-modal"), [p, g] = j(!1), [u, h] = j([]), y = Lo(u), m = a.map((C) => ({
8003
- ...C,
8004
- filterOptions: C.filterOptions.map((I) => u.find(
8002
+ const d = Ve("filters-modal"), [p, g] = j(!1), [u, h] = j([]), y = Lo(u), m = a.map((k) => ({
8003
+ ...k,
8004
+ filterOptions: k.filterOptions.map((I) => u.find(
8005
8005
  (T) => T.key === I.key && T.type === I.type && T.filterFn === I.filterFn
8006
8006
  ) ?? { ...I })
8007
8007
  })), $ = v(
8008
- (C) => {
8009
- h([...C]), Ze(C, t);
8008
+ (k) => {
8009
+ h([...k]), Ze(k, t);
8010
8010
  },
8011
8011
  [h, t]
8012
- ), k = v(() => {
8012
+ ), C = v(() => {
8013
8013
  s && s(), d.isOpen || g(!0), d.toggle();
8014
8014
  }, [d, s]), w = v(
8015
- (C) => () => {
8015
+ (k) => () => {
8016
8016
  s && s();
8017
8017
  const I = u.map(
8018
- (R) => R.key === C.key && R.type === C.type && R.filterFn === C.filterFn ? Po(R) : R
8018
+ (R) => R.key === k.key && R.type === k.type && R.filterFn === k.filterFn ? Po(R) : R
8019
8019
  );
8020
8020
  h(I), Ze(I, t);
8021
8021
  },
8022
8022
  [u, s, t]
8023
8023
  );
8024
8024
  return U(() => {
8025
- const C = a.flatMap((T) => T.filterOptions), I = n();
8025
+ const k = a.flatMap((T) => T.filterOptions), I = n();
8026
8026
  if ((() => {
8027
8027
  if (!I) return !1;
8028
8028
  try {
@@ -8032,10 +8032,10 @@ const ze = ({
8032
8032
  return !1;
8033
8033
  }
8034
8034
  })()) {
8035
- const T = jo(n, C);
8035
+ const T = jo(n, k);
8036
8036
  h(T);
8037
8037
  } else
8038
- C.flatMap((z) => z.value).filter(Boolean).length > 0 || C.flatMap((z) => z.options).filter((z) => (z == null ? void 0 : z.checked) === !0).length > 0 ? (h(C), p && Ze(C, t)) : h(C);
8038
+ k.flatMap((z) => z.value).filter(Boolean).length > 0 || k.flatMap((z) => z.options).filter((z) => (z == null ? void 0 : z.checked) === !0).length > 0 ? (h(k), p && Ze(k, t)) : h(k);
8039
8039
  }, [a, h, t, n, p]), U(() => {
8040
8040
  r && e !== void 0 && r(Ao(e, u)), o == null || o(u);
8041
8041
  }, [e, u, r, o]), { Filters: () => /* @__PURE__ */ f(
@@ -8053,7 +8053,7 @@ const ze = ({
8053
8053
  {
8054
8054
  icon: "filter",
8055
8055
  id: "filter-btn",
8056
- onClick: k,
8056
+ onClick: C,
8057
8057
  tag: y.toString(),
8058
8058
  variant: "ghost"
8059
8059
  }
@@ -8088,17 +8088,14 @@ const ze = ({
8088
8088
  id: h = "modal-container",
8089
8089
  loading: y = !1
8090
8090
  }) => {
8091
- var R;
8092
- const m = F(), [$, k] = j(void 0), w = B(null), S = B(!1), C = (R = p == null ? void 0 : p.find((T) => T.isActive)) == null ? void 0 : R.id;
8091
+ const m = F(), [$, C] = j(void 0), w = B(null), S = B(!1), k = Array.isArray(p) && p.length > 0;
8093
8092
  U(() => {
8094
- if (!y && w.current) {
8095
- const T = w.current.getBoundingClientRect().height;
8096
- T > 50 && (k(
8097
- (z) => z ? Math.max(z, T) : T
8098
- ), S.current = !0);
8099
- }
8100
- l.isOpen || (k(void 0), S.current = !1);
8101
- }, [y, l.isOpen, C]);
8093
+ if (k && !y && !S.current && w.current) {
8094
+ const R = w.current.getBoundingClientRect().height;
8095
+ R > 50 && (C(R), S.current = !0);
8096
+ }
8097
+ l.isOpen || (C(void 0), S.current = !1);
8098
+ }, [k, y, l.isOpen]);
8102
8099
  const I = /* @__PURE__ */ i(
8103
8100
  fn,
8104
8101
  {
@@ -8112,7 +8109,7 @@ const ze = ({
8112
8109
  "data-testid": h,
8113
8110
  flexDirection: "column",
8114
8111
  id: h,
8115
- style: $ ? { height: $ } : {},
8112
+ style: k && $ ? { height: $ } : {},
8116
8113
  children: [
8117
8114
  !L.isEmpty(g) && !L.isNil(g) && /* @__PURE__ */ i(
8118
8115
  Ur,
@@ -8134,11 +8131,17 @@ const ze = ({
8134
8131
  children: /* @__PURE__ */ i($n, { items: p })
8135
8132
  }
8136
8133
  ),
8137
- /* @__PURE__ */ i(Or, { children: y ? /* @__PURE__ */ i(yn, { size: "md" }) : /* @__PURE__ */ f("div", { ref: w, children: [
8138
- a,
8139
- L.isObject(o) && L.isString(o.imageSrc) && /* @__PURE__ */ i(Br, { $framed: o.imageFramed, children: /* @__PURE__ */ i(ue, { alt: "modal-img", publicId: o.imageSrc }) }),
8140
- L.isObject(o) && L.isString(o.imageText) && /* @__PURE__ */ i(N, { size: "sm", children: o.imageText })
8141
- ] }) }),
8134
+ /* @__PURE__ */ i(
8135
+ Or,
8136
+ {
8137
+ style: k && $ ? { overflowY: "auto", maxHeight: $ } : {},
8138
+ children: y ? /* @__PURE__ */ i(yn, { size: "md" }) : /* @__PURE__ */ f("div", { ref: k ? w : void 0, children: [
8139
+ a,
8140
+ L.isObject(o) && L.isString(o.imageSrc) && /* @__PURE__ */ i(Br, { $framed: o.imageFramed, children: /* @__PURE__ */ i(ue, { alt: "modal-img", publicId: o.imageSrc }) }),
8141
+ L.isObject(o) && L.isString(o.imageText) && /* @__PURE__ */ i(N, { size: "sm", children: o.imageText })
8142
+ ] })
8143
+ }
8144
+ ),
8142
8145
  /* @__PURE__ */ i(
8143
8146
  Vr,
8144
8147
  {
@@ -8174,18 +8177,18 @@ const ze = ({
8174
8177
  g({ ...n });
8175
8178
  }, []), h = v(($) => () => {
8176
8179
  g(
8177
- (k) => ({
8178
- ...k,
8179
- [$]: { ...k[$], state: !k[$].state }
8180
+ (C) => ({
8181
+ ...C,
8182
+ [$]: { ...C[$], state: !C[$].state }
8180
8183
  })
8181
8184
  );
8182
8185
  }, []), y = !Object.values(p).every(
8183
8186
  ({ state: $ }) => $
8184
8187
  ), m = Object.entries(p).map(
8185
- ([$, { state: k, label: w }]) => /* @__PURE__ */ i(
8188
+ ([$, { state: C, label: w }]) => /* @__PURE__ */ i(
8186
8189
  fe,
8187
8190
  {
8188
- defaultChecked: k,
8191
+ defaultChecked: C,
8189
8192
  label: w,
8190
8193
  name: $,
8191
8194
  onChange: h($)
@@ -8491,8 +8494,8 @@ const ze = ({
8491
8494
  mode: c ?? "all",
8492
8495
  resolver: u ? Ii(u) : void 0
8493
8496
  });
8494
- function $(C) {
8495
- C.stopPropagation(), m.handleSubmit(d)(C);
8497
+ function $(k) {
8498
+ k.stopPropagation(), m.handleSubmit(d)(k);
8496
8499
  }
8497
8500
  const w = g ? `calc(100% - ${e ? "139px" : "83px"})` : "100%", S = p ? 1.5 : 0;
8498
8501
  return /* @__PURE__ */ i(zi, { ...m, children: /* @__PURE__ */ i(Uo, { onSubmit: $, children: /* @__PURE__ */ f(b, { scroll: "y", width: "100%", children: [
@@ -8664,7 +8667,7 @@ const ze = ({
8664
8667
  const c = F(), [d, p] = j(t), [g, u] = j(""), h = v(
8665
8668
  ($) => {
8666
8669
  p(
8667
- (k) => k.filter(
8670
+ (C) => C.filter(
8668
8671
  (w) => String(w.name).toLowerCase().includes($.toLocaleLowerCase())
8669
8672
  )
8670
8673
  );
@@ -9259,19 +9262,19 @@ const ze = ({
9259
9262
  ...d
9260
9263
  }, p) {
9261
9264
  const g = n < 0 ? 0 : n, [u, h] = j(Number(a).toFixed(g)), y = v(
9262
- (k) => {
9263
- const w = M.toNumber(k.target.value);
9264
- k.target.value.endsWith(".") ? h(k.target.value) : w >= Number(o) && w <= Number(r) && (h(String(w)), t && l(M.toNumber(w.toFixed(g)))), k.stopPropagation();
9265
+ (C) => {
9266
+ const w = M.toNumber(C.target.value);
9267
+ C.target.value.endsWith(".") ? h(C.target.value) : w >= Number(o) && w <= Number(r) && (h(String(w)), t && l(M.toNumber(w.toFixed(g)))), C.stopPropagation();
9265
9268
  },
9266
9269
  [t, g, r, o, l]
9267
9270
  ), m = v(
9268
- (k) => {
9269
- k.currentTarget.contains(k.relatedTarget) || h(Number(a).toFixed(g)), k.stopPropagation();
9271
+ (C) => {
9272
+ C.currentTarget.contains(C.relatedTarget) || h(Number(a).toFixed(g)), C.stopPropagation();
9270
9273
  },
9271
9274
  [g, a]
9272
9275
  ), $ = v(
9273
- (k) => {
9274
- k.stopPropagation(), k.key === "Enter" && !M.isEmpty(k.currentTarget.value) && l(M.toNumber(k.currentTarget.value));
9276
+ (C) => {
9277
+ C.stopPropagation(), C.key === "Enter" && !M.isEmpty(C.currentTarget.value) && l(M.toNumber(C.currentTarget.value));
9275
9278
  },
9276
9279
  [l]
9277
9280
  );
@@ -9913,11 +9916,11 @@ const ze = ({
9913
9916
  title: g,
9914
9917
  titleColor: u
9915
9918
  }) => {
9916
- const h = F(), { alt: y, src: m, width: $ = "77px", height: k = "77px" } = c, w = v(() => {
9919
+ const h = F(), { alt: y, src: m, width: $ = "77px", height: C = "77px" } = c, w = v(() => {
9917
9920
  t == null || t.onClick();
9918
9921
  }, [t]), S = v(() => {
9919
9922
  r == null || r.onClick();
9920
- }, [r]), C = /* @__PURE__ */ i(
9923
+ }, [r]), k = /* @__PURE__ */ i(
9921
9924
  le,
9922
9925
  {
9923
9926
  color: u,
@@ -9928,7 +9931,7 @@ const ze = ({
9928
9931
  textAlign: p ? "start" : "center",
9929
9932
  children: g
9930
9933
  }
9931
- ), I = /* @__PURE__ */ i(ue, { alt: y, height: k, publicId: m, width: $ }), R = /* @__PURE__ */ i(
9934
+ ), I = /* @__PURE__ */ i(ue, { alt: y, height: C, publicId: m, width: $ }), R = /* @__PURE__ */ i(
9932
9935
  b,
9933
9936
  {
9934
9937
  alignItems: "center",
@@ -9967,12 +9970,12 @@ const ze = ({
9967
9970
  flexDirection: "column",
9968
9971
  width: "100%",
9969
9972
  children: [
9970
- p ? C : void 0,
9973
+ p ? k : void 0,
9971
9974
  p ? /* @__PURE__ */ i(
9972
9975
  b,
9973
9976
  {
9974
9977
  alignItems: "center",
9975
- height: k,
9978
+ height: C,
9976
9979
  justify: "center",
9977
9980
  mr: 0,
9978
9981
  children: /* @__PURE__ */ i(
@@ -9997,7 +10000,7 @@ const ze = ({
9997
10000
  mb: 1.5,
9998
10001
  mt: 1.5,
9999
10002
  children: [
10000
- p ? void 0 : C,
10003
+ p ? void 0 : k,
10001
10004
  /* @__PURE__ */ i(
10002
10005
  yl,
10003
10006
  {
@@ -10345,9 +10348,9 @@ const ze = ({
10345
10348
  );
10346
10349
  return U(() => {
10347
10350
  const h = ["mousedown", "touchstart"], y = (m) => {
10348
- var C;
10349
- const $ = m.target, k = document.getElementById("helpBtn"), w = document.getElementById("filter-btn"), S = ($ === k || ((k == null ? void 0 : k.contains($)) ?? !1) || $ === w || (w == null ? void 0 : w.contains($))) ?? !1;
10350
- n && !S && !(((C = g.current) == null ? void 0 : C.contains($)) ?? !1) && r();
10351
+ var k;
10352
+ const $ = m.target, C = document.getElementById("helpBtn"), w = document.getElementById("filter-btn"), S = ($ === C || ((C == null ? void 0 : C.contains($)) ?? !1) || $ === w || (w == null ? void 0 : w.contains($))) ?? !1;
10353
+ n && !S && !(((k = g.current) == null ? void 0 : k.contains($)) ?? !1) && r();
10351
10354
  };
10352
10355
  return h.forEach((m) => {
10353
10356
  document.addEventListener(m, y, { passive: !0 });
@@ -10437,7 +10440,7 @@ const ze = ({
10437
10440
  description: y,
10438
10441
  icon: m,
10439
10442
  onClick: $,
10440
- requiresUpgrade: k,
10443
+ requiresUpgrade: C,
10441
10444
  title: w
10442
10445
  }) => /* @__PURE__ */ i(
10443
10446
  wl,
@@ -10446,7 +10449,7 @@ const ze = ({
10446
10449
  description: y,
10447
10450
  icon: m,
10448
10451
  onClick: u($),
10449
- requiresUpgrade: k,
10452
+ requiresUpgrade: C,
10450
10453
  title: w
10451
10454
  },
10452
10455
  w