@fluidattacks/design 3.18.8 → 3.18.10-pr

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (142) 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/carousel/index.js +1 -1
  15. package/dist/components/checkbox/index.js +1 -1
  16. package/dist/components/cloud-image/index.js +1 -1
  17. package/dist/components/code-snippet/index.js +1 -1
  18. package/dist/components/code-snippet/location-code/index.js +1 -1
  19. package/dist/components/colors/index.js +1 -1
  20. package/dist/components/confirm-dialog/index.js +1 -1
  21. package/dist/components/container/index.js +1 -1
  22. package/dist/components/divider/index.js +1 -1
  23. package/dist/components/dropdown/index.js +1 -1
  24. package/dist/components/empty-state/empty-button/index.js +1 -1
  25. package/dist/components/empty-state/index.js +1 -1
  26. package/dist/components/file-preview/index.js +1 -1
  27. package/dist/components/form/index.js +1 -1
  28. package/dist/components/form/index.stories.d.ts +13 -0
  29. package/dist/components/form/inner-form/index.js +1 -1
  30. package/dist/components/grid-container/index.js +1 -1
  31. package/dist/components/group-selector/index.js +1 -1
  32. package/dist/components/group-selector/option-container/index.js +1 -1
  33. package/dist/components/icon/index.js +1 -1
  34. package/dist/components/icon-button/index.js +1 -1
  35. package/dist/components/indicator-card/index.js +1 -1
  36. package/dist/components/info-sidebar/index.js +1 -1
  37. package/dist/components/inputs/fields/combobox/field/index.js +1 -1
  38. package/dist/components/inputs/fields/combobox/index.js +1 -1
  39. package/dist/components/inputs/fields/combobox/option/index.js +1 -1
  40. package/dist/components/inputs/fields/date/calendar/cell/index.js +1 -1
  41. package/dist/components/inputs/fields/date/calendar/grid/index.js +1 -1
  42. package/dist/components/inputs/fields/date/calendar/header/index.js +1 -1
  43. package/dist/components/inputs/fields/date/calendar/index.js +1 -1
  44. package/dist/components/inputs/fields/date/index.js +1 -1
  45. package/dist/components/inputs/fields/date-range/calendar/index.js +1 -1
  46. package/dist/components/inputs/fields/date-range/index.js +1 -1
  47. package/dist/components/inputs/fields/date-time/calendar/index.js +1 -1
  48. package/dist/components/inputs/fields/date-time/index.js +1 -1
  49. package/dist/components/inputs/fields/editable/index.js +1 -1
  50. package/dist/components/inputs/fields/input/index.js +1 -1
  51. package/dist/components/inputs/fields/input-array/field/index.js +1 -1
  52. package/dist/components/inputs/fields/input-array/index.js +1 -1
  53. package/dist/components/inputs/fields/input-file/index.js +1 -1
  54. package/dist/components/inputs/fields/input-tags/field/index.js +1 -1
  55. package/dist/components/inputs/fields/input-tags/index.js +1 -1
  56. package/dist/components/inputs/fields/number/index.js +1 -1
  57. package/dist/components/inputs/fields/number-range/index.js +1 -1
  58. package/dist/components/inputs/fields/phone/index.js +1 -1
  59. package/dist/components/inputs/fields/text-area/index.js +1 -1
  60. package/dist/components/inputs/index.js +1 -1
  61. package/dist/components/inputs/label/index.js +1 -1
  62. package/dist/components/inputs/outline-container/index.js +1 -1
  63. package/dist/components/inputs/utils/action-button/index.js +1 -1
  64. package/dist/components/inputs/utils/calendar-button/index.js +1 -1
  65. package/dist/components/inputs/utils/date-selector/index.js +1 -1
  66. package/dist/components/inputs/utils/date-time-field/index.js +1 -1
  67. package/dist/components/inputs/utils/dialog/index.js +1 -1
  68. package/dist/components/inputs/utils/number-field/index.js +1 -1
  69. package/dist/components/inputs/utils/popover/index.js +1 -1
  70. package/dist/components/layout/categories/buttons/index.js +1 -1
  71. package/dist/components/layout/categories/column/index.js +1 -1
  72. package/dist/components/layout/categories/gap/index.js +1 -1
  73. package/dist/components/layout/categories/row/index.js +1 -1
  74. package/dist/components/layout/index.js +1 -1
  75. package/dist/components/link/index.js +1 -1
  76. package/dist/components/list-item/index.js +1 -1
  77. package/dist/components/little-flag/index.js +1 -1
  78. package/dist/components/loading/index.js +1 -1
  79. package/dist/components/logo/index.js +1 -1
  80. package/dist/components/lottie/index.js +1 -1
  81. package/dist/components/menu/index.js +1 -1
  82. package/dist/components/message-banner/index.js +1 -1
  83. package/dist/components/modal/columns-modal/index.js +1 -1
  84. package/dist/components/modal/columns-modal/preview-panel/index.js +1 -1
  85. package/dist/components/modal/columns-modal/search-panel/index.js +1 -1
  86. package/dist/components/modal/filters-modal/applied-filter/index.js +1 -1
  87. package/dist/components/modal/filters-modal/applied-filters/index.js +1 -1
  88. package/dist/components/modal/filters-modal/column-filters/index.js +1 -1
  89. package/dist/components/modal/filters-modal/filter-control/index.js +1 -1
  90. package/dist/components/modal/filters-modal/filter-form/form-content/index.js +1 -1
  91. package/dist/components/modal/filters-modal/filter-form/hooks/index.js +1 -1
  92. package/dist/components/modal/filters-modal/filter-form/index.js +1 -1
  93. package/dist/components/modal/filters-modal/filters-list/index.js +1 -1
  94. package/dist/components/modal/filters-modal/index.js +1 -1
  95. package/dist/components/modal/footer/index.js +1 -1
  96. package/dist/components/modal/header/index.js +1 -1
  97. package/dist/components/modal/index.js +1 -1
  98. package/dist/components/modal/modal-confirm/index.js +1 -1
  99. package/dist/components/notification/index.js +1 -1
  100. package/dist/components/notification-sign/index.js +1 -1
  101. package/dist/components/number-input/index.js +1 -1
  102. package/dist/components/oauth-selector/index.js +1 -1
  103. package/dist/components/oauth-selector/option-container/index.js +1 -1
  104. package/dist/components/plan-card/index.js +1 -1
  105. package/dist/components/plan-card/recommended-tag/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/radio-button/index.js +1 -1
  112. package/dist/components/scroll-button/index.js +1 -1
  113. package/dist/components/search/index.js +1 -1
  114. package/dist/components/severity-badge/index.d.ts +2 -1
  115. package/dist/components/severity-badge/index.js +1 -1
  116. package/dist/components/severity-overview/badge/index.js +1 -1
  117. package/dist/components/severity-overview/index.js +1 -1
  118. package/dist/components/show-on-hover/index.js +1 -1
  119. package/dist/components/slide-out-menu/index.js +1 -1
  120. package/dist/components/slide-out-menu/menu-item/index.js +1 -1
  121. package/dist/components/slider/index.js +1 -1
  122. package/dist/components/slider/thumb/index.js +1 -1
  123. package/dist/components/step-lapse/index.js +1 -1
  124. package/dist/components/table-button/index.js +1 -1
  125. package/dist/components/tabs/index.js +1 -1
  126. package/dist/components/tabs/tab/index.js +1 -1
  127. package/dist/components/tag/index.js +1 -1
  128. package/dist/components/timeline/card/index.js +1 -1
  129. package/dist/components/timeline/index.js +1 -1
  130. package/dist/components/toggle/index.js +1 -1
  131. package/dist/components/toggle-buttons/index.js +1 -1
  132. package/dist/components/tooltip/index.js +1 -1
  133. package/dist/components/tour/index.js +1 -1
  134. package/dist/components/typography/heading/index.js +1 -1
  135. package/dist/components/typography/index.js +1 -1
  136. package/dist/components/typography/span/index.js +1 -1
  137. package/dist/components/typography/text/index.js +1 -1
  138. package/dist/{components-Dx8allHv.mjs → components-D4OqUaC1.mjs} +193 -193
  139. package/dist/{components-CgvjjWjC.js → components-VOTciBTd.js} +29 -29
  140. package/dist/hooks/index.js +1 -1
  141. package/dist/index.js +1 -1
  142. package/package.json +1 -1
@@ -338,7 +338,7 @@ const le = (e) => ({
338
338
  ), g = L(
339
339
  "gap",
340
340
  e.gap === void 0 ? void 0 : N.spacing[e.gap]
341
- ), u = L("background-color", e.bgColor), f = L("background", e.bgGradient), y = L("flex-direction", e.flexDirection), $ = L("flex-grow", e.flexGrow), w = L("justify-content", e.justify), C = L("justify-self", e.justifySelf), m = L("align-items", e.alignItems), v = L("align-self", e.alignSelf), S = L("flex-wrap", e.wrap);
341
+ ), u = L("background-color", e.bgColor), f = L("background", e.bgGradient), y = L("flex-direction", e.flexDirection), $ = L("flex-grow", e.flexGrow), m = L("justify-content", e.justify), C = L("justify-self", e.justifySelf), w = L("align-items", e.alignItems), v = L("align-self", e.alignSelf), S = L("flex-wrap", e.wrap);
342
342
  return `
343
343
  ${t}
344
344
  ${i}
@@ -355,9 +355,9 @@ const le = (e) => ({
355
355
  ${g}
356
356
  ${y}
357
357
  ${$}
358
- ${w}
359
- ${C}
360
358
  ${m}
359
+ ${C}
360
+ ${w}
361
361
  ${v}
362
362
  ${S}
363
363
  `;
@@ -536,7 +536,7 @@ const le = (e) => ({
536
536
  $sizeSm: f,
537
537
  $textFill: y = "unset",
538
538
  $whiteSpace: $ = "pre-line",
539
- $wordBreak: w = "normal"
539
+ $wordBreak: m = "normal"
540
540
  }) => `
541
541
  background: ${t};
542
542
  color: ${i};
@@ -550,7 +550,7 @@ const le = (e) => ({
550
550
  overflow: ${d};
551
551
  width: ${a === "block" ? "100%" : "auto"};
552
552
  white-space: ${$};
553
- word-break: ${w};
553
+ word-break: ${m};
554
554
  background-clip: text;
555
555
  -webkit-background-clip: text;
556
556
  -webkit-text-fill-color: ${y};
@@ -604,9 +604,9 @@ const le = (e) => ({
604
604
  sizeMd: f,
605
605
  sizeSm: y,
606
606
  textFill: $,
607
- whiteSpace: w,
607
+ whiteSpace: m,
608
608
  wordBreak: C,
609
- ...m
609
+ ...w
610
610
  }, v) {
611
611
  return /* @__PURE__ */ n(
612
612
  Vn,
@@ -624,11 +624,11 @@ const le = (e) => ({
624
624
  $sizeMd: f,
625
625
  $sizeSm: y,
626
626
  $textFill: $,
627
- $whiteSpace: w,
627
+ $whiteSpace: m,
628
628
  $wordBreak: C,
629
629
  className: a,
630
630
  ref: v,
631
- ...m,
631
+ ...w,
632
632
  children: i
633
633
  }
634
634
  );
@@ -682,9 +682,9 @@ const le = (e) => ({
682
682
  sizeMd: f,
683
683
  sizeSm: y,
684
684
  textFill: $,
685
- whiteSpace: w,
685
+ whiteSpace: m,
686
686
  wordBreak: C,
687
- fontStyle: m,
687
+ fontStyle: w,
688
688
  ...v
689
689
  }, S) {
690
690
  return /* @__PURE__ */ n(
@@ -694,7 +694,7 @@ const le = (e) => ({
694
694
  $color: r,
695
695
  $display: o,
696
696
  $fontFamily: l,
697
- $fontStyle: m,
697
+ $fontStyle: w,
698
698
  $fontWeight: s,
699
699
  $letterSpacing: c,
700
700
  $lineSpacing: p,
@@ -704,7 +704,7 @@ const le = (e) => ({
704
704
  $sizeMd: f,
705
705
  $sizeSm: y,
706
706
  $textFill: $,
707
- $whiteSpace: w,
707
+ $whiteSpace: m,
708
708
  $wordBreak: C,
709
709
  className: a,
710
710
  ref: S,
@@ -801,7 +801,7 @@ const F = Y(function({
801
801
  spanClass: f,
802
802
  secondaryColor: y,
803
803
  ...$
804
- }, w) {
804
+ }, m) {
805
805
  return /* @__PURE__ */ n(
806
806
  Kn,
807
807
  {
@@ -815,7 +815,7 @@ const F = Y(function({
815
815
  className: f,
816
816
  "data-testid": `${r}-icon`,
817
817
  onClick: g,
818
- ref: w,
818
+ ref: m,
819
819
  ...$,
820
820
  children: /* @__PURE__ */ n(
821
821
  "i",
@@ -1155,7 +1155,7 @@ const F = Y(function({
1155
1155
  hide: f = g === "" && u === "" && p === void 0,
1156
1156
  width: y
1157
1157
  }) => {
1158
- const $ = A(), [w, C] = j(!1), { refs: m, floatingStyles: v, context: S } = Dt({
1158
+ const $ = A(), [m, C] = j(!1), { refs: w, floatingStyles: v, context: S } = Dt({
1159
1159
  middleware: [
1160
1160
  Ci({
1161
1161
  fallbackAxisSideDirection: "start"
@@ -1164,7 +1164,7 @@ const F = Y(function({
1164
1164
  Si()
1165
1165
  ],
1166
1166
  onOpenChange: C,
1167
- open: w,
1167
+ open: m,
1168
1168
  placement: d,
1169
1169
  whileElementsMounted: jt
1170
1170
  }), I = mi(S, {
@@ -1183,7 +1183,7 @@ const F = Y(function({
1183
1183
  display: i,
1184
1184
  height: a,
1185
1185
  id: s,
1186
- ref: m.setReference,
1186
+ ref: w.setReference,
1187
1187
  width: y,
1188
1188
  children: r ? /* @__PURE__ */ n(
1189
1189
  F,
@@ -1193,19 +1193,19 @@ const F = Y(function({
1193
1193
  icon: r,
1194
1194
  iconColor: o,
1195
1195
  iconSize: l ?? "xxs",
1196
- iconType: w ? "fa-solid" : "fa-light"
1196
+ iconType: m ? "fa-solid" : "fa-light"
1197
1197
  }
1198
1198
  ) : e
1199
1199
  }
1200
1200
  ),
1201
- w && !f && ge(
1201
+ m && !f && ge(
1202
1202
  /* @__PURE__ */ h(
1203
1203
  ia,
1204
1204
  {
1205
1205
  ...E(),
1206
1206
  $maxWidth: c,
1207
1207
  id: `floating-${s}`,
1208
- ref: m.setFloating,
1208
+ ref: w.setFloating,
1209
1209
  style: v,
1210
1210
  children: [
1211
1211
  H.isEmpty(u) ? void 0 : /* @__PURE__ */ n(
@@ -1254,9 +1254,9 @@ const F = Y(function({
1254
1254
  type: f = "button",
1255
1255
  tooltip: y,
1256
1256
  tooltipPlace: $,
1257
- value: w,
1257
+ value: m,
1258
1258
  variant: C = "primary",
1259
- ...m
1259
+ ...w
1260
1260
  }, v) {
1261
1261
  const S = /* @__PURE__ */ n(
1262
1262
  ea,
@@ -1273,8 +1273,8 @@ const F = Y(function({
1273
1273
  py: u,
1274
1274
  ref: v,
1275
1275
  type: f,
1276
- value: w,
1277
- ...m,
1276
+ value: m,
1277
+ ...w,
1278
1278
  children: /* @__PURE__ */ n(
1279
1279
  F,
1280
1280
  {
@@ -1716,9 +1716,9 @@ const F = Y(function({
1716
1716
  tag: f,
1717
1717
  type: y = "button",
1718
1718
  tooltip: $,
1719
- tooltipPlace: w = "bottom",
1719
+ tooltipPlace: m = "bottom",
1720
1720
  underline: C = !1,
1721
- value: m,
1721
+ value: w,
1722
1722
  variant: v = "primary",
1723
1723
  width: S,
1724
1724
  ...I
@@ -1738,7 +1738,7 @@ const F = Y(function({
1738
1738
  onClick: v === "link" ? E : g,
1739
1739
  ref: P,
1740
1740
  type: y,
1741
- value: m,
1741
+ value: w,
1742
1742
  width: S,
1743
1743
  ...D ? { "data-tooltip-id": z } : {},
1744
1744
  ...I,
@@ -1770,7 +1770,7 @@ const F = Y(function({
1770
1770
  {
1771
1771
  disabled: !D,
1772
1772
  id: z,
1773
- place: w,
1773
+ place: m,
1774
1774
  tip: $,
1775
1775
  width: S,
1776
1776
  children: W
@@ -1982,7 +1982,7 @@ const F = Y(function({
1982
1982
  showMaximize: g = !0,
1983
1983
  videoViewStatus: u
1984
1984
  }) => {
1985
- const f = A(), [y, $] = j(!1), w = k(() => {
1985
+ const f = A(), [y, $] = j(!1), m = k(() => {
1986
1986
  $(!0);
1987
1987
  }, []), C = k(() => {
1988
1988
  $(!1);
@@ -1997,7 +1997,7 @@ const F = Y(function({
1997
1997
  display: "flex",
1998
1998
  flexDirection: "column",
1999
1999
  gap: 1,
2000
- onHover: w,
2000
+ onHover: m,
2001
2001
  onLeave: C,
2002
2002
  padding: [0.5, 0.5, 0.5, 0.5],
2003
2003
  width: "100%",
@@ -2598,7 +2598,7 @@ const F = Y(function({
2598
2598
  { key: e.key },
2599
2599
  l,
2600
2600
  p
2601
- ), w = [
2601
+ ), m = [
2602
2602
  f ? "selected" : "",
2603
2603
  y ? "focused" : "",
2604
2604
  $ ? "disabled" : ""
@@ -2607,7 +2607,7 @@ const F = Y(function({
2607
2607
  r(""), o == null || o(`${i}Options`, ""), z.currentTarget.checked && (r(z.currentTarget.value), o == null || o(`${i}Options`, g));
2608
2608
  },
2609
2609
  [g, i, r, o]
2610
- ), m = k(() => {
2610
+ ), w = k(() => {
2611
2611
  const z = s == null ? void 0 : s(`${i}Options`), E = typeof z == "string" ? [z] : z;
2612
2612
  Ni(g, E) && !Array.from(d).includes("All") ? (o == null || o("checkAll", "All vulnerability types"), r("All vulnerability types")) : (o == null || o("checkAll", ""), r(
2613
2613
  (E == null ? void 0 : E.length) <= 2 ? E.join(", ") : `${E.slice(0, 2).join(", ") + `, +${E.length - 2} more`}`
@@ -2623,7 +2623,7 @@ const F = Y(function({
2623
2623
  ) : /* @__PURE__ */ n(
2624
2624
  $e,
2625
2625
  {
2626
- ...a == null ? void 0 : a(`${i}Options`, { onChange: m }),
2626
+ ...a == null ? void 0 : a(`${i}Options`, { onChange: w }),
2627
2627
  label: (D = e.rendered) == null ? void 0 : D.toString(),
2628
2628
  name: `${i}Options`,
2629
2629
  value: e.key.toString()
@@ -2650,7 +2650,7 @@ const F = Y(function({
2650
2650
  {
2651
2651
  ...t ? {} : u,
2652
2652
  $multiSelection: t,
2653
- className: w,
2653
+ className: m,
2654
2654
  ref: p,
2655
2655
  children: [
2656
2656
  S,
@@ -2676,9 +2676,9 @@ const F = Y(function({
2676
2676
  onChange: f,
2677
2677
  placeholder: y,
2678
2678
  register: $,
2679
- required: w,
2679
+ required: m,
2680
2680
  setValue: C,
2681
- tooltip: m,
2681
+ tooltip: w,
2682
2682
  value: v,
2683
2683
  watch: S,
2684
2684
  weight: I
@@ -2776,8 +2776,8 @@ const F = Y(function({
2776
2776
  htmlFor: p,
2777
2777
  id: "combobox",
2778
2778
  label: s,
2779
- required: w,
2780
- tooltip: m,
2779
+ required: m,
2780
+ tooltip: w,
2781
2781
  weight: I,
2782
2782
  children: [
2783
2783
  /* @__PURE__ */ h(
@@ -2879,9 +2879,9 @@ const F = Y(function({
2879
2879
  onChange: f,
2880
2880
  placeholder: y,
2881
2881
  register: $,
2882
- required: w,
2882
+ required: m,
2883
2883
  setValue: C,
2884
- tooltip: m,
2884
+ tooltip: w,
2885
2885
  value: v,
2886
2886
  watch: S,
2887
2887
  weight: I
@@ -2911,16 +2911,16 @@ const F = Y(function({
2911
2911
  onChange: f,
2912
2912
  placeholder: y,
2913
2913
  register: $,
2914
- required: w,
2914
+ required: m,
2915
2915
  setValue: C,
2916
- tooltip: m,
2916
+ tooltip: w,
2917
2917
  value: v,
2918
2918
  watch: S,
2919
2919
  weight: I
2920
2920
  }
2921
2921
  );
2922
2922
  },
2923
- rules: { required: w }
2923
+ rules: { required: m }
2924
2924
  }
2925
2925
  ) : /* @__PURE__ */ n(
2926
2926
  ft,
@@ -2939,8 +2939,8 @@ const F = Y(function({
2939
2939
  onBlur: u,
2940
2940
  onChange: f,
2941
2941
  placeholder: y,
2942
- required: w,
2943
- tooltip: m,
2942
+ required: m,
2943
+ tooltip: w,
2944
2944
  value: v,
2945
2945
  weight: I
2946
2946
  }
@@ -3495,15 +3495,15 @@ const F = Y(function({
3495
3495
  p && D && p(s, Ce(String(D)));
3496
3496
  },
3497
3497
  [s, p]
3498
- ), w = Pt({
3498
+ ), m = Pt({
3499
3499
  ...u,
3500
3500
  onChange(D) {
3501
3501
  $(D);
3502
3502
  },
3503
3503
  value: R.isNil(y) || R.isEmpty(y) || y === "-" ? null : Yi(y.replace(/\//gu, "-"))
3504
- }), { close: C } = w, { groupProps: m, fieldProps: v, buttonProps: S, dialogProps: I, calendarProps: P } = Wt(
3504
+ }), { close: C } = m, { groupProps: w, fieldProps: v, buttonProps: S, dialogProps: I, calendarProps: P } = Wt(
3505
3505
  { ...u, "aria-label": l ?? s, name: s },
3506
- w,
3506
+ m,
3507
3507
  f
3508
3508
  );
3509
3509
  return /* @__PURE__ */ h(
@@ -3526,7 +3526,7 @@ const F = Y(function({
3526
3526
  disabled: e,
3527
3527
  error: t,
3528
3528
  fieldProps: v,
3529
- groupProps: m,
3529
+ groupProps: w,
3530
3530
  name: s,
3531
3531
  register: c,
3532
3532
  required: o,
@@ -3534,12 +3534,12 @@ const F = Y(function({
3534
3534
  value: y
3535
3535
  }
3536
3536
  ),
3537
- w.isOpen && !e ? /* @__PURE__ */ n(
3537
+ m.isOpen && !e ? /* @__PURE__ */ n(
3538
3538
  Oe,
3539
3539
  {
3540
3540
  offset: 8,
3541
3541
  placement: "bottom start",
3542
- state: w,
3542
+ state: m,
3543
3543
  triggerRef: f,
3544
3544
  children: /* @__PURE__ */ n(Je, { ...I, children: /* @__PURE__ */ n(Fa, { onClose: C, props: P }) })
3545
3545
  }
@@ -3605,15 +3605,15 @@ const F = Y(function({
3605
3605
  ));
3606
3606
  },
3607
3607
  [u, f, s, c, p]
3608
- ), w = qi({
3608
+ ), m = qi({
3609
3609
  ...g,
3610
3610
  endName: (c == null ? void 0 : c.name) ?? u,
3611
3611
  startName: (p == null ? void 0 : p.name) ?? f,
3612
3612
  onChange(z) {
3613
3613
  $(z);
3614
3614
  }
3615
- }), { close: C } = w, {
3616
- groupProps: m,
3615
+ }), { close: C } = m, {
3616
+ groupProps: w,
3617
3617
  startFieldProps: v,
3618
3618
  endFieldProps: S,
3619
3619
  buttonProps: I,
@@ -3621,7 +3621,7 @@ const F = Y(function({
3621
3621
  calendarProps: D
3622
3622
  } = Xi(
3623
3623
  { ...g, "aria-label": i ?? a },
3624
- w,
3624
+ m,
3625
3625
  y
3626
3626
  );
3627
3627
  return /* @__PURE__ */ h(
@@ -3655,7 +3655,7 @@ const F = Y(function({
3655
3655
  "aria-label": `${v["aria-label"]} ${a}`,
3656
3656
  validate: (z) => S.value && z > S.value ? "Start date must be less than or equal to end date" : null
3657
3657
  },
3658
- groupProps: m,
3658
+ groupProps: w,
3659
3659
  name: (p == null ? void 0 : p.name) ?? f,
3660
3660
  register: l,
3661
3661
  setValue: s,
@@ -3674,7 +3674,7 @@ const F = Y(function({
3674
3674
  "aria-label": `${S["aria-label"]} ${a}`,
3675
3675
  validate: (z) => v.value && z < v.value ? "End date must be greater than or equal to start date" : null
3676
3676
  },
3677
- groupProps: m,
3677
+ groupProps: w,
3678
3678
  name: (c == null ? void 0 : c.name) ?? u,
3679
3679
  register: l,
3680
3680
  setValue: s,
@@ -3684,12 +3684,12 @@ const F = Y(function({
3684
3684
  ]
3685
3685
  }
3686
3686
  ),
3687
- w.isOpen && !e ? /* @__PURE__ */ n(
3687
+ m.isOpen && !e ? /* @__PURE__ */ n(
3688
3688
  Oe,
3689
3689
  {
3690
3690
  offset: 8,
3691
3691
  placement: "bottom start",
3692
- state: w,
3692
+ state: m,
3693
3693
  triggerRef: y,
3694
3694
  children: /* @__PURE__ */ n(Je, { ...P, children: /* @__PURE__ */ n(Ea, { onClose: C, props: D }) })
3695
3695
  }
@@ -3765,9 +3765,9 @@ const F = Y(function({
3765
3765
  value: R.isNil(d) || R.isEmpty(d) || d === "-" || ee(d, "YYYY/MM/DD hh:mm A").isValid() === !1 ? null : Ji(
3766
3766
  ee(d, "YYYY/MM/DD hh:mm A").format("YYYY-MM-DDTHH:mm:ss")
3767
3767
  )
3768
- }), { close: f } = u, { groupProps: y, fieldProps: $, buttonProps: w, dialogProps: C, calendarProps: m } = Wt(e, u, g), v = k(
3768
+ }), { close: f } = u, { groupProps: y, fieldProps: $, buttonProps: m, dialogProps: C, calendarProps: w } = Wt(e, u, g), v = k(
3769
3769
  (I) => {
3770
- if (m.onChange && m.onChange(I), u.timeValue) {
3770
+ if (w.onChange && w.onChange(I), u.timeValue) {
3771
3771
  const P = xt(
3772
3772
  I,
3773
3773
  u.timeValue
@@ -3776,7 +3776,7 @@ const F = Y(function({
3776
3776
  } else
3777
3777
  u.setDateValue(I);
3778
3778
  },
3779
- [m, o, c, u]
3779
+ [w, o, c, u]
3780
3780
  ), S = k(
3781
3781
  (I) => {
3782
3782
  if (I) {
@@ -3802,7 +3802,7 @@ const F = Y(function({
3802
3802
  /* @__PURE__ */ n(
3803
3803
  Se,
3804
3804
  {
3805
- buttonProps: w,
3805
+ buttonProps: m,
3806
3806
  datePickerRef: g,
3807
3807
  disabled: t,
3808
3808
  error: i,
@@ -3827,7 +3827,7 @@ const F = Y(function({
3827
3827
  {
3828
3828
  handleTimeChange: S,
3829
3829
  onClose: f,
3830
- props: { ...m, onChange: v },
3830
+ props: { ...w, onChange: v },
3831
3831
  timeState: u
3832
3832
  }
3833
3833
  ) })
@@ -3869,9 +3869,9 @@ const F = Y(function({
3869
3869
  maskValue: f = !1,
3870
3870
  onPaste: y,
3871
3871
  placeholder: $,
3872
- removeItemArray: w,
3872
+ removeItemArray: m,
3873
3873
  register: C,
3874
- suggestions: m,
3874
+ suggestions: w,
3875
3875
  tooltip: v,
3876
3876
  type: S = "text",
3877
3877
  weight: I,
@@ -3922,7 +3922,7 @@ const F = Y(function({
3922
3922
  "data-testid": `${u}-input`,
3923
3923
  disabled: e,
3924
3924
  id: u,
3925
- list: m ? `list_${u}` : void 0,
3925
+ list: w ? `list_${u}` : void 0,
3926
3926
  onKeyDown: K,
3927
3927
  onPaste: y,
3928
3928
  placeholder: $,
@@ -3955,14 +3955,14 @@ const F = Y(function({
3955
3955
  icon: "trash",
3956
3956
  iconSize: "xxs",
3957
3957
  iconType: "fa-light",
3958
- onClick: w ? w(s) : void 0,
3958
+ onClick: m ? m(s) : void 0,
3959
3959
  variant: "ghost"
3960
3960
  }
3961
3961
  ) : void 0
3962
3962
  ]
3963
3963
  }
3964
3964
  ),
3965
- m ? /* @__PURE__ */ n("datalist", { id: `list_${u}`, children: m.map(
3965
+ w ? /* @__PURE__ */ n("datalist", { id: `list_${u}`, children: w.map(
3966
3966
  (_) => /* @__PURE__ */ n("option", { value: _ }, _)
3967
3967
  ) }) : void 0
3968
3968
  ]
@@ -4092,12 +4092,12 @@ const F = Y(function({
4092
4092
  placeholder: f,
4093
4093
  tooltip: y,
4094
4094
  remove: $,
4095
- value: w
4095
+ value: m
4096
4096
  }) => {
4097
4097
  var v;
4098
4098
  const C = k(() => {
4099
4099
  t == null || t(o);
4100
- }, [t, o]), m = k(
4100
+ }, [t, o]), w = k(
4101
4101
  (S) => () => {
4102
4102
  $ == null || $(S);
4103
4103
  },
@@ -4118,10 +4118,10 @@ const F = Y(function({
4118
4118
  onBlur: g,
4119
4119
  onChange: u,
4120
4120
  placeholder: f,
4121
- removeItemArray: m,
4121
+ removeItemArray: w,
4122
4122
  required: s,
4123
4123
  tooltip: y,
4124
- value: w
4124
+ value: m
4125
4125
  }
4126
4126
  ) }),
4127
4127
  l < p - 1 && l + 1 === (a == null ? void 0 : a.length) ? /* @__PURE__ */ n(mt, { lg: 25, md: 25, sm: 25, children: /* @__PURE__ */ n(
@@ -4156,7 +4156,7 @@ const F = Y(function({
4156
4156
  {
4157
4157
  control: i,
4158
4158
  name: `${p}.${$}`,
4159
- render: ({ field: w, fieldState: C }) => /* @__PURE__ */ n(
4159
+ render: ({ field: m, fieldState: C }) => /* @__PURE__ */ n(
4160
4160
  wt,
4161
4161
  {
4162
4162
  addText: e,
@@ -4168,14 +4168,14 @@ const F = Y(function({
4168
4168
  initValue: o,
4169
4169
  label: s,
4170
4170
  max: c,
4171
- name: w.name,
4172
- onBlur: w.onBlur,
4173
- onChange: d ?? w.onChange,
4171
+ name: m.name,
4172
+ onBlur: m.onBlur,
4173
+ onChange: d ?? m.onChange,
4174
4174
  placeholder: g,
4175
4175
  remove: u,
4176
4176
  required: l,
4177
4177
  tooltip: f,
4178
- value: typeof w.value == "object" ? w.value.value : w.value
4178
+ value: typeof m.value == "object" ? m.value.value : m.value
4179
4179
  }
4180
4180
  ),
4181
4181
  index: $
@@ -4232,7 +4232,7 @@ const F = Y(function({
4232
4232
  watch: y,
4233
4233
  weight: $
4234
4234
  }) => {
4235
- const w = A(), C = t ? void 0 : i, m = M(null), v = g == null ? void 0 : g(c, { required: d }), S = y == null ? void 0 : y(c), I = _a(S), P = k(() => {
4235
+ const m = A(), C = t ? void 0 : i, w = M(null), v = g == null ? void 0 : g(c, { required: d }), S = y == null ? void 0 : y(c), I = _a(S), P = k(() => {
4236
4236
  const E = Zt("change", c, void 0);
4237
4237
  u && u(c, void 0), v && v.onChange(E);
4238
4238
  }, [v, c, u]), D = k(
@@ -4243,7 +4243,7 @@ const F = Y(function({
4243
4243
  [v, c, p, u]
4244
4244
  ), z = k(
4245
4245
  (E) => {
4246
- t ? E.preventDefault() : m.current && m.current.click();
4246
+ t ? E.preventDefault() : w.current && w.current.click();
4247
4247
  },
4248
4248
  [t]
4249
4249
  );
@@ -4269,7 +4269,7 @@ const F = Y(function({
4269
4269
  H.isEmpty(I) ? void 0 : /* @__PURE__ */ n(
4270
4270
  q,
4271
4271
  {
4272
- color: w.palette.gray[400],
4272
+ color: m.palette.gray[400],
4273
4273
  height: "20px",
4274
4274
  icon: "xmark",
4275
4275
  iconSize: "lg",
@@ -4284,14 +4284,14 @@ const F = Y(function({
4284
4284
  {
4285
4285
  icon: "exclamation-circle",
4286
4286
  iconClass: "error-icon",
4287
- iconColor: w.palette.error[500],
4287
+ iconColor: m.palette.error[500],
4288
4288
  iconSize: "xs"
4289
4289
  }
4290
4290
  ),
4291
4291
  /* @__PURE__ */ h(
4292
4292
  B,
4293
4293
  {
4294
- border: t ? `1px solid ${w.palette.gray[300]} !important` : "",
4294
+ border: t ? `1px solid ${m.palette.gray[300]} !important` : "",
4295
4295
  borderRadius: "0px 8px 8px 0px !important",
4296
4296
  disabled: t,
4297
4297
  height: "40px",
@@ -4320,7 +4320,7 @@ const F = Y(function({
4320
4320
  multiple: s,
4321
4321
  name: c,
4322
4322
  onChange: D,
4323
- ref: m,
4323
+ ref: w,
4324
4324
  type: "file"
4325
4325
  }
4326
4326
  )
@@ -4350,7 +4350,7 @@ const F = Y(function({
4350
4350
  value: f,
4351
4351
  weight: y
4352
4352
  }) => {
4353
- const $ = A(), w = e ? void 0 : t, [C, m] = j(""), v = c ? f : i == null ? void 0 : i.value, S = te(() => v && typeof v == "string" ? v.split(",").filter(Boolean) : [], [v]), I = k(
4353
+ const $ = A(), m = e ? void 0 : t, [C, w] = j(""), v = c ? f : i == null ? void 0 : i.value, S = te(() => v && typeof v == "string" ? v.split(",").filter(Boolean) : [], [v]), I = k(
4354
4354
  (W) => {
4355
4355
  const Q = [...new Set(W.filter(Boolean))].join(","), re = Zt("change", s, Q);
4356
4356
  i && i.onChange(re), c && c(re);
@@ -4358,19 +4358,19 @@ const F = Y(function({
4358
4358
  [i, s, c]
4359
4359
  ), P = k(
4360
4360
  (W) => {
4361
- m(W.target.value);
4361
+ w(W.target.value);
4362
4362
  },
4363
4363
  []
4364
4364
  ), D = k(
4365
4365
  (W) => {
4366
4366
  const U = C.trim();
4367
- U.length && !S.includes(U) && (W.preventDefault(), I([...S, U]), m("")), i && i.onBlur();
4367
+ U.length && !S.includes(U) && (W.preventDefault(), I([...S, U]), w("")), i && i.onBlur();
4368
4368
  },
4369
4369
  [C, i, I, S]
4370
4370
  ), z = k(
4371
4371
  (W) => {
4372
4372
  const U = C.trim();
4373
- W.key === "Enter" && U.length === 0 && W.preventDefault(), ["Enter", ","].includes(W.key) && U.length > 0 && !S.includes(U) ? (W.preventDefault(), I([...S, U]), m("")) : W.key === "Backspace" && !U.length && S.length && (W.preventDefault(), p == null || p(S[S.length - 1]), I(S.slice(0, -1)));
4373
+ W.key === "Enter" && U.length === 0 && W.preventDefault(), ["Enter", ","].includes(W.key) && U.length > 0 && !S.includes(U) ? (W.preventDefault(), I([...S, U]), w("")) : W.key === "Backspace" && !U.length && S.length && (W.preventDefault(), p == null || p(S[S.length - 1]), I(S.slice(0, -1)));
4374
4374
  },
4375
4375
  [C, p, I, S]
4376
4376
  ), E = k(
@@ -4382,7 +4382,7 @@ const F = Y(function({
4382
4382
  return /* @__PURE__ */ n(
4383
4383
  Z,
4384
4384
  {
4385
- error: w,
4385
+ error: m,
4386
4386
  helpLink: a,
4387
4387
  helpLinkText: r,
4388
4388
  helpText: o,
@@ -4395,7 +4395,7 @@ const F = Y(function({
4395
4395
  se,
4396
4396
  {
4397
4397
  $overflowX: "auto",
4398
- className: `${e ? "disabled" : ""} ${w ? "error" : ""}`,
4398
+ className: `${e ? "disabled" : ""} ${m ? "error" : ""}`,
4399
4399
  children: [
4400
4400
  S.map((W) => /* @__PURE__ */ n(
4401
4401
  ae,
@@ -4410,7 +4410,7 @@ const F = Y(function({
4410
4410
  Ka,
4411
4411
  {
4412
4412
  "aria-hidden": !1,
4413
- "aria-invalid": w ? "true" : "false",
4413
+ "aria-invalid": m ? "true" : "false",
4414
4414
  "aria-label": s,
4415
4415
  "aria-required": g,
4416
4416
  autoComplete: "off",
@@ -4424,7 +4424,7 @@ const F = Y(function({
4424
4424
  value: C
4425
4425
  }
4426
4426
  ),
4427
- w ? /* @__PURE__ */ n(
4427
+ m ? /* @__PURE__ */ n(
4428
4428
  F,
4429
4429
  {
4430
4430
  icon: "exclamation-circle",
@@ -4536,21 +4536,21 @@ const F = Y(function({
4536
4536
  setValue: u,
4537
4537
  value: f
4538
4538
  }) => {
4539
- const y = A(), $ = i ? void 0 : e, w = t < 0 ? 0 : t, [C, m] = j(
4539
+ const y = A(), $ = i ? void 0 : e, m = t < 0 ? 0 : t, [C, w] = j(
4540
4540
  f ? R.toNumber(f) : 0
4541
4541
  ), v = k(() => {
4542
- const D = (C - 10 ** -w).toFixed(w), z = Math.max(Number(l), Number(D));
4543
- u && u(s, z, { shouldDirty: !0 }), m(z);
4544
- }, [w, C, l, s, u]), S = k(() => {
4545
- const D = (C + 10 ** -w).toFixed(w), z = Math.min(
4542
+ const D = (C - 10 ** -m).toFixed(m), z = Math.max(Number(l), Number(D));
4543
+ u && u(s, z, { shouldDirty: !0 }), w(z);
4544
+ }, [m, C, l, s, u]), S = k(() => {
4545
+ const D = (C + 10 ** -m).toFixed(m), z = Math.min(
4546
4546
  Number(o),
4547
4547
  Number(D) > Number(l) ? Number(D) : Number(l)
4548
4548
  );
4549
- u && u(s, z, { shouldDirty: !0 }), m(z);
4550
- }, [w, C, o, l, s, u]), I = k(
4549
+ u && u(s, z, { shouldDirty: !0 }), w(z);
4550
+ }, [m, C, o, l, s, u]), I = k(
4551
4551
  (D) => {
4552
4552
  const { value: z } = D.target, E = /\d+/u.test(z) && !R.isEmpty(z);
4553
- u && u(s, E ? z : void 0), c && c(D), m(Number(z));
4553
+ u && u(s, E ? z : void 0), c && c(D), w(Number(z));
4554
4554
  },
4555
4555
  [s, c, u]
4556
4556
  ), P = k(
@@ -4579,7 +4579,7 @@ const F = Y(function({
4579
4579
  onKeyDown: P,
4580
4580
  placeholder: p,
4581
4581
  required: g,
4582
- step: 10 ** -w,
4582
+ step: 10 ** -m,
4583
4583
  type: "number",
4584
4584
  ...d == null ? void 0 : d(s, {
4585
4585
  maxLength: r,
@@ -4644,9 +4644,9 @@ const F = Y(function({
4644
4644
  placeholder: f,
4645
4645
  register: y,
4646
4646
  required: $,
4647
- setValue: w,
4647
+ setValue: m,
4648
4648
  tooltip: C,
4649
- value: m,
4649
+ value: w,
4650
4650
  watch: v,
4651
4651
  weight: S
4652
4652
  }) => /* @__PURE__ */ n(
@@ -4677,8 +4677,8 @@ const F = Y(function({
4677
4677
  placeholder: f,
4678
4678
  register: y,
4679
4679
  required: $,
4680
- setValue: w,
4681
- value: u ? m : v == null ? void 0 : v(g)
4680
+ setValue: m,
4681
+ value: u ? w : v == null ? void 0 : v(g)
4682
4682
  }
4683
4683
  )
4684
4684
  }
@@ -4840,7 +4840,7 @@ const F = Y(function({
4840
4840
  watch: p,
4841
4841
  weight: d
4842
4842
  }) => {
4843
- const g = A(), u = M(null), f = e ? void 0 : t, y = (p == null ? void 0 : p(a)) ?? c, [$, w] = j(!1), [C, m] = j(""), { refs: v, floatingStyles: S } = Ot({
4843
+ const g = A(), u = M(null), f = e ? void 0 : t, y = (p == null ? void 0 : p(a)) ?? c, [$, m] = j(!1), [C, w] = j(""), { refs: v, floatingStyles: S } = Ot({
4844
4844
  placement: "bottom-start",
4845
4845
  whileElementsMounted: jt
4846
4846
  }), { inputRef: I, inputValue: P, handlePhoneValueChange: D, country: z, setCountry: E } = Qi({
@@ -4855,17 +4855,17 @@ const F = Y(function({
4855
4855
  []
4856
4856
  ), U = k(
4857
4857
  (V) => {
4858
- V.preventDefault(), w((K) => !K), $ || m("");
4858
+ V.preventDefault(), m((K) => !K), $ || w("");
4859
4859
  },
4860
4860
  [$]
4861
4861
  ), Q = k(
4862
4862
  (V) => () => {
4863
- E(V), w(!1), m("");
4863
+ E(V), m(!1), w("");
4864
4864
  },
4865
- [E, w]
4865
+ [E, m]
4866
4866
  ), re = k(
4867
4867
  (V) => {
4868
- V.key.length === 1 ? m((K) => K + V.key) : V.key === "Backspace" && m((K) => K.slice(0, -1));
4868
+ V.key.length === 1 ? w((K) => K + V.key) : V.key === "Backspace" && w((K) => K.slice(0, -1));
4869
4869
  },
4870
4870
  []
4871
4871
  ), ce = lt.filter((V) => {
@@ -4875,7 +4875,7 @@ const F = Y(function({
4875
4875
  return ue(
4876
4876
  v.floating.current,
4877
4877
  () => {
4878
- w(!1), m("");
4878
+ m(!1), w("");
4879
4879
  },
4880
4880
  !0
4881
4881
  ), /* @__PURE__ */ n(
@@ -5007,11 +5007,11 @@ const F = Y(function({
5007
5007
  required: f,
5008
5008
  rows: y,
5009
5009
  tooltip: $,
5010
- watch: w,
5010
+ watch: m,
5011
5011
  weight: C,
5012
- value: m
5012
+ value: w
5013
5013
  }) => {
5014
- const v = A(), S = (w == null ? void 0 : w(s)) ?? m, I = o && r && !e, P = e ? void 0 : t;
5014
+ const v = A(), S = (m == null ? void 0 : m(s)) ?? w, I = o && r && !e, P = e ? void 0 : t;
5015
5015
  return /* @__PURE__ */ n(
5016
5016
  Z,
5017
5017
  {
@@ -5090,9 +5090,9 @@ const F = Y(function({
5090
5090
  title: f,
5091
5091
  value: y,
5092
5092
  isTouched: $,
5093
- isValid: w,
5093
+ isValid: m,
5094
5094
  error: C,
5095
- register: m,
5095
+ register: w,
5096
5096
  setValue: v,
5097
5097
  watch: S
5098
5098
  }) => {
@@ -5104,10 +5104,10 @@ const F = Y(function({
5104
5104
  disabled: i,
5105
5105
  error: C,
5106
5106
  isTouched: $,
5107
- isValid: w,
5107
+ isValid: m,
5108
5108
  name: d,
5109
5109
  placeholder: g,
5110
- register: m
5110
+ register: w
5111
5111
  }
5112
5112
  );
5113
5113
  if (l === "date")
@@ -5117,7 +5117,7 @@ const F = Y(function({
5117
5117
  disabled: i,
5118
5118
  error: C,
5119
5119
  name: d,
5120
- register: m,
5120
+ register: w,
5121
5121
  setValue: v,
5122
5122
  watch: S
5123
5123
  }
@@ -5145,7 +5145,7 @@ const F = Y(function({
5145
5145
  min: z,
5146
5146
  name: d,
5147
5147
  placeholder: g,
5148
- register: m
5148
+ register: w
5149
5149
  }
5150
5150
  );
5151
5151
  }, [
@@ -5155,11 +5155,11 @@ const F = Y(function({
5155
5155
  s,
5156
5156
  l,
5157
5157
  $,
5158
- w,
5158
+ m,
5159
5159
  r,
5160
5160
  d,
5161
5161
  g,
5162
- m,
5162
+ w,
5163
5163
  v,
5164
5164
  y,
5165
5165
  S
@@ -5249,7 +5249,7 @@ const F = Y(function({
5249
5249
  const g = d.filter(({ locked: $ }) => !$), f = [...d.filter(({ locked: $ }) => $), ...g], y = f.map(({ name: $ }) => $);
5250
5250
  l(($) => [
5251
5251
  ...f,
5252
- ...$.filter(({ name: w }) => !y.includes(w))
5252
+ ...$.filter(({ name: m }) => !y.includes(m))
5253
5253
  ]), a && a(f.map(({ id: $ }) => $));
5254
5254
  },
5255
5255
  [a]
@@ -6886,8 +6886,8 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
6886
6886
  const r = A(), o = M(null), [l, s] = j(void 0), c = k(
6887
6887
  (g) => {
6888
6888
  const { checked: u, value: f } = g.target, y = i.columns.map(($) => {
6889
- var w;
6890
- return $.name === f ? ((w = $.toggleVisibility) == null || w.call($, u), { ...$, visible: u }) : $;
6889
+ var m;
6890
+ return $.name === f ? ((m = $.toggleVisibility) == null || m.call($, u), { ...$, visible: u }) : $;
6891
6891
  });
6892
6892
  i.setColumns(y);
6893
6893
  },
@@ -7271,11 +7271,11 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
7271
7271
  async (y) => {
7272
7272
  const { value: $ } = y.target;
7273
7273
  t && t($);
7274
- const w = await Xr(
7274
+ const m = await Xr(
7275
7275
  e,
7276
7276
  $
7277
7277
  );
7278
- s(w);
7278
+ s(m);
7279
7279
  },
7280
7280
  [e, t, s]
7281
7281
  ), f = k(
@@ -7315,21 +7315,21 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
7315
7315
  const l = A(), [s, c] = j(e), [p, d] = j(
7316
7316
  []
7317
7317
  ), [g, u] = j({}), [f, y] = j(""), $ = k(
7318
- (m) => () => {
7319
- const v = s.find((I) => I.label === m), S = !(v != null && v.filterOptions.some(
7318
+ (w) => () => {
7319
+ const v = s.find((I) => I.label === w), S = !(v != null && v.filterOptions.some(
7320
7320
  (I) => I.type === "dateRange" || I.type === "select"
7321
7321
  ));
7322
- o == null || o(S ?? !0), y(m), d((v == null ? void 0 : v.filterOptions) ?? []);
7322
+ o == null || o(S ?? !0), y(w), d((v == null ? void 0 : v.filterOptions) ?? []);
7323
7323
  },
7324
7324
  [s, o]
7325
- ), w = k(
7326
- (m) => {
7325
+ ), m = k(
7326
+ (w) => {
7327
7327
  const v = [
7328
- ...m.checkbox,
7329
- ...Object.values(m.text ?? {}),
7330
- ...m.radio ? [m.radio] : [],
7331
- ...m.minValue ? [String(m.minValue)] : [],
7332
- ...m.maxValue ? [String(m.maxValue)] : []
7328
+ ...w.checkbox,
7329
+ ...Object.values(w.text ?? {}),
7330
+ ...w.radio ? [w.radio] : [],
7331
+ ...w.minValue ? [String(w.minValue)] : [],
7332
+ ...w.maxValue ? [String(w.maxValue)] : []
7333
7333
  ];
7334
7334
  u((z) => v.length > 0 ? { ...z, [f]: v } : z);
7335
7335
  const S = (z) => {
@@ -7338,11 +7338,11 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
7338
7338
  ...z,
7339
7339
  options: (E = z.options) == null ? void 0 : E.map((U) => ({
7340
7340
  ...U,
7341
- checked: m.checkbox.includes(U.value) || m.radio === U.value
7341
+ checked: w.checkbox.includes(U.value) || w.radio === U.value
7342
7342
  })),
7343
- value: ["text", "select"].includes(z.type) ? ((W = m.text) == null ? void 0 : W[`${String(z.key)}-${z.filterFn ?? "caseInsensitive"}`]) ?? z.value : z.value,
7344
- minValue: ["numberRange", "dateRange"].includes(z.type) ? m.minValue : z.minValue,
7345
- maxValue: ["numberRange", "dateRange"].includes(z.type) ? m.maxValue : z.maxValue
7343
+ value: ["text", "select"].includes(z.type) ? ((W = w.text) == null ? void 0 : W[`${String(z.key)}-${z.filterFn ?? "caseInsensitive"}`]) ?? z.value : z.value,
7344
+ minValue: ["numberRange", "dateRange"].includes(z.type) ? w.minValue : z.minValue,
7345
+ maxValue: ["numberRange", "dateRange"].includes(z.type) ? w.maxValue : z.maxValue
7346
7346
  };
7347
7347
  }, I = (z) => z.label === f ? {
7348
7348
  ...z,
@@ -7356,19 +7356,19 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
7356
7356
  },
7357
7357
  [s, i, f]
7358
7358
  ), C = k(
7359
- (m, v) => {
7360
- const S = `li-filter-option-${m}`;
7359
+ (w, v) => {
7360
+ const S = `li-filter-option-${w}`;
7361
7361
  return /* @__PURE__ */ h(
7362
7362
  Ur,
7363
7363
  {
7364
7364
  icon: v,
7365
- onClick: $(m),
7365
+ onClick: $(w),
7366
7366
  style: { minWidth: "180px" },
7367
7367
  value: S,
7368
7368
  width: "100%",
7369
7369
  children: [
7370
- m,
7371
- g[m] === void 0 ? void 0 : /* @__PURE__ */ n(ae, { tagLabel: g[m].length.toString() })
7370
+ w,
7371
+ g[w] === void 0 ? void 0 : /* @__PURE__ */ n(ae, { tagLabel: g[w].length.toString() })
7372
7372
  ]
7373
7373
  },
7374
7374
  S
@@ -7377,7 +7377,7 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
7377
7377
  [g, $]
7378
7378
  );
7379
7379
  return G(() => {
7380
- const m = e.reduce(
7380
+ const w = e.reduce(
7381
7381
  (v, { label: S, filterOptions: I }) => {
7382
7382
  const P = I.flatMap(({ value: E, minValue: W, maxValue: U }) => [
7383
7383
  W,
@@ -7394,7 +7394,7 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
7394
7394
  },
7395
7395
  {}
7396
7396
  );
7397
- u(m), p.length > 0 && r && r("column");
7397
+ u(w), p.length > 0 && r && r("column");
7398
7398
  }, [p, e, r]), t === "grouped" ? /* @__PURE__ */ n(
7399
7399
  x,
7400
7400
  {
@@ -7410,17 +7410,17 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
7410
7410
  {
7411
7411
  id: "filters-options",
7412
7412
  onSearch: a,
7413
- onSubmit: w,
7413
+ onSubmit: m,
7414
7414
  options: p,
7415
7415
  selectedFilter: f
7416
7416
  }
7417
7417
  ) : Object.entries(ni(e)).map(
7418
- ([m, v]) => /* @__PURE__ */ h(x, { children: [
7419
- /* @__PURE__ */ n(T, { color: l.palette.gray[400], mb: 0.25, size: "sm", children: m }),
7418
+ ([w, v]) => /* @__PURE__ */ h(x, { children: [
7419
+ /* @__PURE__ */ n(T, { color: l.palette.gray[400], mb: 0.25, size: "sm", children: w }),
7420
7420
  v.map(
7421
7421
  ({ label: S, icon: I = "filter-list" }) => C(S, I)
7422
7422
  )
7423
- ] }, m)
7423
+ ] }, w)
7424
7424
  )
7425
7425
  }
7426
7426
  ) : /* @__PURE__ */ n(
@@ -7438,12 +7438,12 @@ ${f[8]}...` : (f.length < 8 && c(!1), t);
7438
7438
  {
7439
7439
  id: "filters-options",
7440
7440
  onSearch: a,
7441
- onSubmit: w,
7441
+ onSubmit: m,
7442
7442
  options: p,
7443
7443
  selectedFilter: f
7444
7444
  }
7445
7445
  ) : e.map(
7446
- ({ label: m, icon: v = "filter-list" }) => C(m, v)
7446
+ ({ label: w, icon: v = "filter-list" }) => C(w, v)
7447
7447
  )
7448
7448
  }
7449
7449
  );
@@ -7729,30 +7729,30 @@ const we = ({
7729
7729
  }) => {
7730
7730
  const c = Qe("filters-modal"), [p, d] = j([]), [g, u] = j(
7731
7731
  zt(p)
7732
- ), f = i.map((m) => ({
7733
- ...m,
7734
- filterOptions: m.filterOptions.map((v) => p.find(
7732
+ ), f = i.map((w) => ({
7733
+ ...w,
7734
+ filterOptions: w.filterOptions.map((v) => p.find(
7735
7735
  (I) => I.key === v.key && I.type === v.type && I.filterFn === v.filterFn
7736
7736
  ) ?? { ...v })
7737
7737
  })), y = k(
7738
- (m) => {
7739
- d([...m]), localStorage.setItem(t, JSON.stringify(m));
7738
+ (w) => {
7739
+ d([...w]), localStorage.setItem(t, JSON.stringify(w));
7740
7740
  },
7741
7741
  [d, t]
7742
7742
  ), $ = k(() => {
7743
7743
  o && o(), c.toggle();
7744
- }, [c, o]), w = k(
7745
- (m) => () => {
7744
+ }, [c, o]), m = k(
7745
+ (w) => () => {
7746
7746
  o && o();
7747
7747
  const v = p.map(
7748
- (S) => S.key === m.key && S.type === m.type && S.filterFn === m.filterFn ? ro(S) : S
7748
+ (S) => S.key === w.key && S.type === w.type && S.filterFn === w.filterFn ? ro(S) : S
7749
7749
  );
7750
7750
  d(v), localStorage.setItem(t, JSON.stringify(v));
7751
7751
  },
7752
7752
  [p, t, o]
7753
7753
  );
7754
7754
  return G(() => {
7755
- const m = localStorage.getItem(t), v = i.flatMap((I) => I.filterOptions), S = m ? JSON.parse(m) : v;
7755
+ const w = localStorage.getItem(t), v = i.flatMap((I) => I.filterOptions), S = w ? JSON.parse(w) : v;
7756
7756
  v.flatMap((I) => I.value).filter(Boolean).length > 0 || v.flatMap((I) => I.options).filter((I) => (I == null ? void 0 : I.checked) === void 0).length > 0 ? (d(v), localStorage.setItem(t, JSON.stringify(v))) : d(S);
7757
7757
  }, [t, i, d]), G(() => {
7758
7758
  a && e !== void 0 && a(ao(e, p)), u(zt(p)), r == null || r(p);
@@ -7788,7 +7788,7 @@ const we = ({
7788
7788
  )
7789
7789
  ]
7790
7790
  }
7791
- ), options: f, removeFilter: w };
7791
+ ), options: f, removeFilter: m };
7792
7792
  }, oo = ({
7793
7793
  _portal: e = !0,
7794
7794
  alert: t,
@@ -8111,7 +8111,7 @@ const we = ({
8111
8111
  ...u,
8112
8112
  mode: c ?? "all",
8113
8113
  resolver: g ? un(g) : void 0
8114
- });
8114
+ }), m = d ? `calc(100% - ${e ? "139px" : "83px"})` : "100%";
8115
8115
  return /* @__PURE__ */ n(gn, { ...y, children: /* @__PURE__ */ n(uo, { onSubmit: y.handleSubmit(p), children: /* @__PURE__ */ h(x, { scroll: "y", width: "100%", children: [
8116
8116
  /* @__PURE__ */ n(
8117
8117
  x,
@@ -8120,7 +8120,7 @@ const we = ({
8120
8120
  display: "flex",
8121
8121
  flexDirection: "column",
8122
8122
  gap: 0.5,
8123
- height: e ? "calc(100% - 139px)" : "calc(100% - 83px)",
8123
+ height: m,
8124
8124
  pb: 1.5,
8125
8125
  pt: 0,
8126
8126
  px: 1.5,
@@ -8279,17 +8279,17 @@ const we = ({
8279
8279
  variant: s
8280
8280
  }) => {
8281
8281
  const c = A(), [p, d] = j(t), [g, u] = j(""), f = k(
8282
- (w) => {
8282
+ (m) => {
8283
8283
  d(
8284
8284
  (C) => C.filter(
8285
- (m) => String(m.name).toLowerCase().includes(w.toLocaleLowerCase())
8285
+ (w) => String(w.name).toLowerCase().includes(m.toLocaleLowerCase())
8286
8286
  )
8287
8287
  );
8288
8288
  },
8289
8289
  [d]
8290
8290
  ), y = k(
8291
- (w) => {
8292
- w.currentTarget && (u(w.currentTarget.value), f(w.currentTarget.value));
8291
+ (m) => {
8292
+ m.currentTarget && (u(m.currentTarget.value), f(m.currentTarget.value));
8293
8293
  },
8294
8294
  [u, f]
8295
8295
  );
@@ -8369,14 +8369,14 @@ const we = ({
8369
8369
  /* @__PURE__ */ n(T, { color: c.palette.gray[400], size: "sm", children: "New organization" })
8370
8370
  ] }) }) : void 0,
8371
8371
  p.map(
8372
- (w) => /* @__PURE__ */ n(
8372
+ (m) => /* @__PURE__ */ n(
8373
8373
  yo,
8374
8374
  {
8375
- isSelected: o.toLowerCase() === w.name,
8376
- label: w.name.charAt(0).toUpperCase() + w.name.slice(1),
8375
+ isSelected: o.toLowerCase() === m.name,
8376
+ label: m.name.charAt(0).toUpperCase() + m.name.slice(1),
8377
8377
  onSelect: a
8378
8378
  },
8379
- w.name
8379
+ m.name
8380
8380
  )
8381
8381
  )
8382
8382
  ]
@@ -8960,8 +8960,8 @@ const we = ({
8960
8960
  }, d) {
8961
8961
  const g = i < 0 ? 0 : i, [u, f] = j(Number(a).toFixed(g)), y = k(
8962
8962
  (C) => {
8963
- const m = H.toNumber(C.target.value);
8964
- C.target.value.endsWith(".") ? f(C.target.value) : m >= Number(o) && m <= Number(r) && (f(String(m)), t && s(H.toNumber(m.toFixed(g)))), C.stopPropagation();
8963
+ const w = H.toNumber(C.target.value);
8964
+ C.target.value.endsWith(".") ? f(C.target.value) : w >= Number(o) && w <= Number(r) && (f(String(w)), t && s(H.toNumber(w.toFixed(g)))), C.stopPropagation();
8965
8965
  },
8966
8966
  [t, g, r, o, s]
8967
8967
  ), $ = k(
@@ -8969,7 +8969,7 @@ const we = ({
8969
8969
  C.currentTarget.contains(C.relatedTarget) || f(Number(a).toFixed(g)), C.stopPropagation();
8970
8970
  },
8971
8971
  [g, a]
8972
- ), w = k(
8972
+ ), m = k(
8973
8973
  (C) => {
8974
8974
  C.stopPropagation(), C.key === "Enter" && !H.isEmpty(C.currentTarget.value) && s(H.toNumber(C.currentTarget.value));
8975
8975
  },
@@ -8987,7 +8987,7 @@ const we = ({
8987
8987
  min: o,
8988
8988
  name: l,
8989
8989
  onChange: y,
8990
- onKeyUp: w,
8990
+ onKeyUp: m,
8991
8991
  ref: d,
8992
8992
  step: 10 ** -g,
8993
8993
  type: "number",
@@ -9434,9 +9434,9 @@ const we = ({
9434
9434
  title: d,
9435
9435
  titleColor: g
9436
9436
  }) => {
9437
- const u = A(), { alt: f, src: y, width: $ = "77px", height: w = "77px" } = c, C = k(() => {
9437
+ const u = A(), { alt: f, src: y, width: $ = "77px", height: m = "77px" } = c, C = k(() => {
9438
9438
  t == null || t.onClick();
9439
- }, [t]), m = k(() => {
9439
+ }, [t]), w = k(() => {
9440
9440
  r == null || r.onClick();
9441
9441
  }, [r]), v = /* @__PURE__ */ n(
9442
9442
  x,
@@ -9482,7 +9482,7 @@ const we = ({
9482
9482
  de,
9483
9483
  {
9484
9484
  alt: f,
9485
- height: w,
9485
+ height: m,
9486
9486
  publicId: y,
9487
9487
  width: $
9488
9488
  }
@@ -9532,7 +9532,7 @@ const we = ({
9532
9532
  H.isObject(r) ? /* @__PURE__ */ n(
9533
9533
  B,
9534
9534
  {
9535
- onClick: m,
9535
+ onClick: w,
9536
9536
  variant: (r == null ? void 0 : r.variant) ?? "primary",
9537
9537
  children: r == null ? void 0 : r.text
9538
9538
  },
@@ -9843,8 +9843,8 @@ const we = ({
9843
9843
  return G(() => {
9844
9844
  const f = ["mousedown", "touchstart"], y = ($) => {
9845
9845
  var S;
9846
- const w = $.target, C = document.getElementById("helpBtn"), m = document.getElementById("filterBtn"), v = (w === C || ((C == null ? void 0 : C.contains(w)) ?? !1) || w === m || (m == null ? void 0 : m.contains(w))) ?? !1;
9847
- i && !v && !(((S = g.current) == null ? void 0 : S.contains(w)) ?? !1) && r();
9846
+ const m = $.target, C = document.getElementById("helpBtn"), w = document.getElementById("filterBtn"), v = (m === C || ((C == null ? void 0 : C.contains(m)) ?? !1) || m === w || (w == null ? void 0 : w.contains(m))) ?? !1;
9847
+ i && !v && !(((S = g.current) == null ? void 0 : S.contains(m)) ?? !1) && r();
9848
9848
  };
9849
9849
  return f.forEach(($) => {
9850
9850
  document.addEventListener($, y, { passive: !0 });
@@ -9933,20 +9933,20 @@ const we = ({
9933
9933
  customBadge: f,
9934
9934
  description: y,
9935
9935
  icon: $,
9936
- onClick: w,
9936
+ onClick: m,
9937
9937
  requiresUpgrade: C,
9938
- title: m
9938
+ title: w
9939
9939
  }) => /* @__PURE__ */ n(
9940
9940
  Go,
9941
9941
  {
9942
9942
  customBadge: f,
9943
9943
  description: y,
9944
9944
  icon: $,
9945
- onClick: u(w),
9945
+ onClick: u(m),
9946
9946
  requiresUpgrade: C,
9947
- title: m
9947
+ title: w
9948
9948
  },
9949
- m
9949
+ w
9950
9950
  )
9951
9951
  ),
9952
9952
  e && /* @__PURE__ */ n(x, { px: 1.25, children: e })
@@ -10224,9 +10224,9 @@ const we = ({
10224
10224
  []
10225
10225
  );
10226
10226
  return /* @__PURE__ */ n(el, { children: r.map((c, p) => {
10227
- const { content: d, title: g, nextAction: u, previousAction: f } = c, y = p + 1, $ = y === o ? "current" : "disabled", w = y < o ? "completed" : $;
10227
+ const { content: d, title: g, nextAction: u, previousAction: f } = c, y = p + 1, $ = y === o ? "current" : "disabled", m = y < o ? "completed" : $;
10228
10228
  return /* @__PURE__ */ h(tl, { children: [
10229
- /* @__PURE__ */ n(x, { maxWidth: "40px", position: "relative", children: /* @__PURE__ */ n(nl, { $variant: w, children: w === "completed" ? /* @__PURE__ */ n(F, { icon: "check", iconSize: "xs", iconType: "fa-solid" }) : y }) }),
10229
+ /* @__PURE__ */ n(x, { maxWidth: "40px", position: "relative", children: /* @__PURE__ */ n(nl, { $variant: m, children: m === "completed" ? /* @__PURE__ */ n(F, { icon: "check", iconSize: "xs", iconType: "fa-solid" }) : y }) }),
10230
10230
  /* @__PURE__ */ h(x, { ml: 1.5, width: "100%", children: [
10231
10231
  /* @__PURE__ */ n(
10232
10232
  ie,
@@ -10238,7 +10238,7 @@ const we = ({
10238
10238
  children: g
10239
10239
  }
10240
10240
  ),
10241
- w === "current" && /* @__PURE__ */ h(x, { children: [
10241
+ m === "current" && /* @__PURE__ */ h(x, { children: [
10242
10242
  d,
10243
10243
  /* @__PURE__ */ h(il, { children: [
10244
10244
  o > 1 && /* @__PURE__ */ n(