master-components-react 4.3.23 → 4.3.25

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 (2) hide show
  1. package/dist/index.js +207 -201
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -65,9 +65,9 @@ const wr = ({ loadingColor: r }) => /* @__PURE__ */ i(
65
65
  onClick: c,
66
66
  size: m = "md",
67
67
  disabled: f = !1,
68
- loading: C,
68
+ loading: w,
69
69
  withIcons: u,
70
- iconOne: w,
70
+ iconOne: k,
71
71
  iconTwo: g,
72
72
  onlyIcon: y,
73
73
  buttonStyle: M,
@@ -89,15 +89,15 @@ const wr = ({ loadingColor: r }) => /* @__PURE__ */ i(
89
89
  ${Je.mainButton}
90
90
  ${f ? Je.disabled : t ? Je[t] : ""}
91
91
  ${y ? Je.onlyIcon : ""}
92
- ${C ? Je.loading : ""}
92
+ ${w ? Je.loading : ""}
93
93
  ${m ? Je[m] : ""}
94
94
  `,
95
95
  onClick: () => {
96
96
  !f && c && typeof c == "function" && c();
97
97
  },
98
98
  children: /* @__PURE__ */ i("div", { className: Je.buttonSlot, style: !f && W ? W : {}, children: [
99
- y || u && w ? w : "",
100
- !y && /* @__PURE__ */ e(Ze, { children: C ? /* @__PURE__ */ e("div", { style: { display: "grid", placeItems: "center" }, children: /* @__PURE__ */ e(wr, { loadingColor: D }) }) : /* @__PURE__ */ e("span", { style: !f && b ? b : {}, className: Je.buttonLabel, children: r ?? "Button" }) }),
99
+ y || u && k ? k : "",
100
+ !y && /* @__PURE__ */ e(Ze, { children: w ? /* @__PURE__ */ e("div", { style: { display: "grid", placeItems: "center" }, children: /* @__PURE__ */ e(wr, { loadingColor: D }) }) : /* @__PURE__ */ e("span", { style: !f && b ? b : {}, className: Je.buttonLabel, children: r ?? "Button" }) }),
101
101
  u && g ? g : ""
102
102
  ] })
103
103
  }
@@ -169,9 +169,9 @@ const wr = ({ loadingColor: r }) => /* @__PURE__ */ i(
169
169
  required: c = !1,
170
170
  multipleChecked: m = !1,
171
171
  size: f = "md",
172
- activeStyle: C,
172
+ activeStyle: w,
173
173
  checkBoxStyle: u,
174
- withActive: w = !0,
174
+ withActive: k = !0,
175
175
  theme: g = "light"
176
176
  }) => {
177
177
  const y = Ye(), M = re(null), [b, B] = O(!1), W = () => {
@@ -180,7 +180,7 @@ const wr = ({ loadingColor: r }) => /* @__PURE__ */ i(
180
180
  return /* @__PURE__ */ i(
181
181
  "div",
182
182
  {
183
- style: b ? t ? { boxShadow: "none" } : C ?? {} : u ?? {},
183
+ style: b ? t ? { boxShadow: "none" } : w ?? {} : u ?? {},
184
184
  className: ` ${g === "dark" ? on.dark : ""} ${on[y]} ${on.checkboxWrapper} ${on[f]} ${r ? on.checked : on.unChecked} ${t ? on.disabled : ""}`,
185
185
  onMouseDown: () => B(!0),
186
186
  onMouseUp: () => B(!1),
@@ -209,9 +209,9 @@ const wr = ({ loadingColor: r }) => /* @__PURE__ */ i(
209
209
  withClose: c,
210
210
  withCheckbox: m,
211
211
  withNumber: f,
212
- number: C,
212
+ number: w,
213
213
  checkboxProps: u,
214
- disable: w,
214
+ disable: k,
215
215
  size: g,
216
216
  onClose: y,
217
217
  tagContainerStyle: M,
@@ -232,7 +232,7 @@ const wr = ({ loadingColor: r }) => /* @__PURE__ */ i(
232
232
  m && /* @__PURE__ */ e(Dn, { ...u }),
233
233
  t && p(),
234
234
  o && /* @__PURE__ */ e("p", { style: b ?? {}, className: cn.tagLabel, children: o ?? "" }),
235
- f && /* @__PURE__ */ e("div", { style: B ?? {}, className: cn.tagNumber, children: C ?? "" }),
235
+ f && /* @__PURE__ */ e("div", { style: B ?? {}, className: cn.tagNumber, children: w ?? "" }),
236
236
  c && /* @__PURE__ */ e("div", { style: W ?? {}, className: cn.tagClose, onClick: h, children: /* @__PURE__ */ e(wn, { width: W?.width ?? "14", height: W?.height ?? "14", color: W?.color ?? "#A4A7AE" }) })
237
237
  ]
238
238
  }
@@ -244,9 +244,9 @@ const wr = ({ loadingColor: r }) => /* @__PURE__ */ i(
244
244
  required: c,
245
245
  disabled: m,
246
246
  type: f,
247
- size: C,
247
+ size: w,
248
248
  onChange: u,
249
- onFocus: w,
249
+ onFocus: k,
250
250
  onBlur: g,
251
251
  msg: y,
252
252
  readOnly: M,
@@ -295,7 +295,7 @@ const wr = ({ loadingColor: r }) => /* @__PURE__ */ i(
295
295
  let be = oe.target.value;
296
296
  be.length === 1 && (be = be.trim()), u && typeof u == "function" && u(B ? be.replace(/\d/g, "") : be);
297
297
  }, ye = () => {
298
- ne(!0), w && typeof w == "function" && w();
298
+ ne(!0), k && typeof k == "function" && k();
299
299
  }, Fe = () => {
300
300
  ne(!1), g && typeof g == "function" && g();
301
301
  }, ie = (oe) => {
@@ -337,7 +337,7 @@ const wr = ({ loadingColor: r }) => /* @__PURE__ */ i(
337
337
  {
338
338
  style: ve(),
339
339
  ref: we,
340
- className: `${$e.inputContainer} ${ke && !M ? $e.focused : ""} ${m ? $e.disabled : ""} ${y?.error ? $e.error : ""} ${$e[C ?? "sm"]}`,
340
+ className: `${$e.inputContainer} ${ke && !M ? $e.focused : ""} ${m ? $e.disabled : ""} ${y?.error ? $e.error : ""} ${$e[w ?? "sm"]}`,
341
341
  children: [
342
342
  !X && !v && A && /* @__PURE__ */ e(
343
343
  "div",
@@ -481,9 +481,9 @@ const wr = ({ loadingColor: r }) => /* @__PURE__ */ i(
481
481
  cols: c,
482
482
  rows: m,
483
483
  value: f,
484
- withEmoji: C = !1,
484
+ withEmoji: w = !1,
485
485
  maxLength: u,
486
- withResize: w = !0,
486
+ withResize: k = !0,
487
487
  onChange: g,
488
488
  onFocus: y,
489
489
  onBlur: M,
@@ -569,7 +569,7 @@ const wr = ({ loadingColor: r }) => /* @__PURE__ */ i(
569
569
  /* @__PURE__ */ e("span", { style: l ?? {}, className: Be.required, children: B && "*" }),
570
570
  F && n(F)
571
571
  ] }),
572
- /* @__PURE__ */ i("div", { className: `${Be.wrap} ${w ? Be.resize : ""}`, ref: N, children: [
572
+ /* @__PURE__ */ i("div", { className: `${Be.wrap} ${k ? Be.resize : ""}`, ref: N, children: [
573
573
  /* @__PURE__ */ e(
574
574
  "textarea",
575
575
  {
@@ -591,7 +591,7 @@ const wr = ({ loadingColor: r }) => /* @__PURE__ */ i(
591
591
  }
592
592
  }
593
593
  ),
594
- C && /* @__PURE__ */ i("div", { ref: q, className: Be.popupEmojiContainer, children: [
594
+ w && /* @__PURE__ */ i("div", { ref: q, className: Be.popupEmojiContainer, children: [
595
595
  /* @__PURE__ */ e(
596
596
  "div",
597
597
  {
@@ -633,9 +633,9 @@ const wr = ({ loadingColor: r }) => /* @__PURE__ */ i(
633
633
  required: c,
634
634
  withActive: m = !0,
635
635
  activeStyle: f,
636
- bgStyle: C,
636
+ bgStyle: w,
637
637
  checkedBgStyle: u,
638
- disabledBgStyle: w,
638
+ disabledBgStyle: k,
639
639
  circleStyle: g,
640
640
  checkedCircleStyle: y,
641
641
  disabledCircleStyle: M,
@@ -649,9 +649,9 @@ const wr = ({ loadingColor: r }) => /* @__PURE__ */ i(
649
649
  if (r) {
650
650
  if (u) return u;
651
651
  } else if (r) {
652
- if (t && w)
653
- return w;
654
- } else if (C) return C;
652
+ if (t && k)
653
+ return k;
654
+ } else if (w) return w;
655
655
  return {};
656
656
  }, h = () => {
657
657
  if (r) {
@@ -691,9 +691,9 @@ const wr = ({ loadingColor: r }) => /* @__PURE__ */ i(
691
691
  required: c,
692
692
  withUncheckState: m = !1,
693
693
  size: f,
694
- radioWrapperStyle: C,
694
+ radioWrapperStyle: w,
695
695
  radioStateStyle: u,
696
- innerCircleStyle: w,
696
+ innerCircleStyle: k,
697
697
  theme: g = "light"
698
698
  }) => {
699
699
  const y = Ye();
@@ -705,11 +705,11 @@ const wr = ({ loadingColor: r }) => /* @__PURE__ */ i(
705
705
  "div",
706
706
  {
707
707
  className: `${g === "dark" ? en.dark : ""} ${en[y]} ${en.radioWrapper} ${en[f] ?? en.md} ${r ? en.checked : ""} ${t ? en.disabled : ""}`,
708
- style: C ?? {},
708
+ style: w ?? {},
709
709
  onClick: M,
710
710
  children: [
711
711
  /* @__PURE__ */ e("input", { type: "radio", checked: !0, readOnly: !0, hidden: !0, disabled: t ?? !1, required: c }),
712
- /* @__PURE__ */ e("div", { style: u ?? {}, className: en.radioState, children: /* @__PURE__ */ e("div", { style: w ?? {}, className: en.innerCircle }) })
712
+ /* @__PURE__ */ e("div", { style: u ?? {}, className: en.radioState, children: /* @__PURE__ */ e("div", { style: k ?? {}, className: en.innerCircle }) })
713
713
  ]
714
714
  }
715
715
  );
@@ -768,9 +768,9 @@ const wr = ({ loadingColor: r }) => /* @__PURE__ */ i(
768
768
  size: c = "md",
769
769
  placeholder: m,
770
770
  msg: f,
771
- readOnly: C,
771
+ readOnly: w,
772
772
  searchValue: u,
773
- onClearAll: w,
773
+ onClearAll: k,
774
774
  onSelectAll: g,
775
775
  onBottomScroll: y,
776
776
  withSearch: M = !1,
@@ -819,39 +819,39 @@ const wr = ({ loadingColor: r }) => /* @__PURE__ */ i(
819
819
  treeProps: ke,
820
820
  theme: ne = "light"
821
821
  }) => {
822
- const de = Ye(), [me, we] = O(!1), [ge, Ee] = O(!1), [Me, Se] = O(!1), [ee, ye] = O([]), [Fe, ie] = O(""), [Ce, He] = O(""), ve = re([]), [rn, Ie] = O(/* @__PURE__ */ new Set()), qe = re(null), nn = re(null), oe = re({}), be = re([]), je = (k, U) => {
822
+ const de = Ye(), [me, we] = O(!1), [ge, Ee] = O(!1), [Me, Se] = O(!1), [ee, ye] = O([]), [Fe, ie] = O(""), [Ce, He] = O(""), ve = re([]), [rn, Ie] = O(/* @__PURE__ */ new Set()), qe = re(null), nn = re(null), oe = re({}), be = re([]), je = (C, U) => {
823
823
  const Ne = /* @__PURE__ */ new Set();
824
- return k.filter((We) => Ne.has(We[U]) ? !1 : (Ne.add(We[U]), !0));
825
- }, sn = (k) => {
826
- oe.current = k, ie(oe.current?.label), A && typeof A == "function" && A(oe.current), Ee(!1);
827
- }, tn = (k) => {
824
+ return C.filter((We) => Ne.has(We[U]) ? !1 : (Ne.add(We[U]), !0));
825
+ }, sn = (C) => {
826
+ oe.current = C, ie(oe.current?.label), A && typeof A == "function" && A(oe.current), Ee(!1);
827
+ }, tn = (C) => {
828
828
  Ie((U) => {
829
829
  const Ne = new Set(U);
830
- Ne.has(k.id) ? Ne.delete(k.id) : Ne.add(k.id);
830
+ Ne.has(C.id) ? Ne.delete(C.id) : Ne.add(C.id);
831
831
  const We = I.filter((Bn) => Ne.has(Bn.id));
832
832
  return ve.current = je(We, "id"), A && typeof A == "function" && A(ve.current), T || ie(ve.current.map((Bn) => Bn.label).join(", ")), Ne;
833
833
  }), we((U) => !U);
834
- }, Nn = (k) => {
835
- k.stopPropagation(), n || b ? M && (He(""), be.current = I, we((U) => !U)) : (ve.current = [], Y = null, _n(""), oe.current = {}, A({}), ie("")), V && typeof V == "function" && V("");
836
- }, _n = (k) => {
837
- if (V && typeof V == "function" && V(k), n && M) {
838
- let U = I, Ne = U.filter((We) => We?.label?.toLowerCase().includes(k?.toLowerCase() || ""));
839
- be.current = k?.length > 0 ? Ne : U, He(k), we((We) => !We);
834
+ }, Nn = (C) => {
835
+ C.stopPropagation(), n || b ? M && (He(""), be.current = I, we((U) => !U)) : (ve.current = [], Y = null, _n(""), oe.current = {}, A({}), ie("")), V && typeof V == "function" && V("");
836
+ }, _n = (C) => {
837
+ if (V && typeof V == "function" && V(C), n && M) {
838
+ let U = I, Ne = U.filter((We) => We?.label?.toLowerCase().includes(C?.toLowerCase() || ""));
839
+ be.current = C?.length > 0 ? Ne : U, He(C), we((We) => !We);
840
840
  } else
841
- He(k), ie(k);
841
+ He(C), ie(C);
842
842
  }, Ln = () => {
843
843
  if (Y || Y === 0) {
844
- let k = I.filter((U) => Number(U.id) === Number(Y));
845
- k && k[0] && (oe.current = k[0], v ? (V && typeof V == "function" && V(oe.current.label), ie(oe.current.label), d && Ee((U) => !1)) : sn(k[0]));
844
+ let C = I.filter((U) => Number(U.id) === Number(Y));
845
+ C && C[0] && (oe.current = C[0], v ? (V && typeof V == "function" && V(oe.current.label), ie(oe.current.label), d && Ee((U) => !1)) : sn(C[0]));
846
846
  }
847
- }, [Mn, kn] = O(!1), Tn = (k) => {
847
+ }, [Mn, kn] = O(!1), Tn = (C) => {
848
848
  let U = qe.current.querySelector("ul"), We = Math.abs(U.scrollTop + U.clientHeight - U.scrollHeight) <= 2;
849
849
  R && We && !Mn && (y && typeof y == "function" && y(!0), kn(!0)), We || kn(!1);
850
850
  }, Sn = () => {
851
- Ie(/* @__PURE__ */ new Set()), ve.current = [], A([], !0), ie(""), w && typeof w == "function" && w(), we((k) => !k);
851
+ Ie(/* @__PURE__ */ new Set()), ve.current = [], A([], !0), ie(""), k && typeof k == "function" && k(), we((C) => !C);
852
852
  }, In = () => {
853
- const k = I.filter((U) => U?.id && U?.id !== null && U?.label && U?.label !== "" && U?.label !== "-" && !U.disabled);
854
- Ie(new Set(k.map((U) => U.id))), ve.current = je(k, "id"), ie(ve.current.map((U) => U.label).join(", ")), g && typeof g == "function" && g(), A(ve.current, !0), we((U) => !U);
853
+ const C = I.filter((U) => U?.id && U?.id !== null && U?.label && U?.label !== "" && U?.label !== "-" && !U.disabled);
854
+ Ie(new Set(C.map((U) => U.id))), ve.current = je(C, "id"), ie(ve.current.map((U) => U.label).join(", ")), g && typeof g == "function" && g(), A(ve.current, !0), we((U) => !U);
855
855
  }, vn = re(!0);
856
856
  te(() => {
857
857
  if (vn.current) {
@@ -863,50 +863,56 @@ const wr = ({ loadingColor: r }) => /* @__PURE__ */ i(
863
863
  const An = () => {
864
864
  l && typeof l == "function" && l();
865
865
  }, En = async () => {
866
- if (!(Me || C)) {
866
+ if (!(Me || w)) {
867
867
  if (Z && typeof Z == "function") {
868
868
  Se(!0);
869
869
  try {
870
870
  await Z();
871
- } catch (k) {
872
- console.error("Error loading dropdown data:", k);
871
+ } catch (C) {
872
+ console.error("Error loading dropdown data:", C);
873
873
  } finally {
874
- Se(!1);
874
+ Se(!1), await new Promise((C) => {
875
+ requestAnimationFrame(() => {
876
+ requestAnimationFrame(() => {
877
+ C();
878
+ });
879
+ });
880
+ });
875
881
  }
876
882
  }
877
- Ee((k) => !k), Qe();
883
+ Ee((C) => !C), Qe();
878
884
  }
879
- }, a = (k) => k, ce = (k) => {
885
+ }, a = (C) => C, ce = (C) => {
880
886
  let U = !0, Ne = Fe;
881
- return X && k && !k.toLowerCase().split(" ").join("").trim().includes(Ne.toLowerCase().split(" ").join("").trim()) && Ne.trim() !== "" && (U = !1), Ce.length > 0 && k === "-" ? "hidden" : U ? "visible" : "hidden";
882
- }, Te = (k) => {
883
- k.composedPath().includes(qe.current) || Ee(!1);
884
- }, Xe = (k) => {
887
+ return X && C && !C.toLowerCase().split(" ").join("").trim().includes(Ne.toLowerCase().split(" ").join("").trim()) && Ne.trim() !== "" && (U = !1), Ce.length > 0 && C === "-" ? "hidden" : U ? "visible" : "hidden";
888
+ }, Te = (C) => {
889
+ C.composedPath().includes(qe.current) || Ee(!1);
890
+ }, Xe = (C) => {
885
891
  if (q) {
886
- if (k.composedPath().includes(qe.current)) return;
892
+ if (C.composedPath().includes(qe.current)) return;
887
893
  Ee(!1);
888
894
  }
889
895
  }, Qe = () => {
890
- const k = qe.current, U = nn.current;
891
- if (!U || !k) return;
892
- const Ne = k.getBoundingClientRect(), We = window.innerHeight;
896
+ const C = qe.current, U = nn.current;
897
+ if (!U || !C) return;
898
+ const Ne = C.getBoundingClientRect(), We = window.innerHeight;
893
899
  q ? (U.style.position = "fixed", U.style.width = Ne.width + "px", U.style.left = `${Ne.left}px`, Ne.bottom + U.offsetHeight > We ? (U.style.top = `${Ne.top - U.offsetHeight - 8}px`, U.style.bottom = "unset") : (U.style.top = `${Ne.bottom}px`, U.style.bottom = "unset")) : Ne.bottom > We ? (U.style.top = "unset", U.style.bottom = "calc(100% + 8px)") : (U.style.bottom = "unset", U.style.top = "calc(100% + 8px)");
894
- }, dn = (k) => {
895
- ve.current = k, A && typeof A == "function" && A(k);
896
- }, Fn = (k, U) => {
897
- D && typeof D == "function" && D(k, U);
900
+ }, dn = (C) => {
901
+ ve.current = C, A && typeof A == "function" && A(C);
902
+ }, Fn = (C, U) => {
903
+ D && typeof D == "function" && D(C, U);
898
904
  }, hn = re(null);
899
905
  return te(() => {
900
906
  ge && hn.current && hn.current.focus();
901
907
  }, [ge]), te(() => {
902
908
  if (n) {
903
- const k = I.filter((U) => U.selected);
904
- ve.current = k, Ie(new Set(k.map((U) => U.id))), ie(k.map((U) => U.label).join(", "));
909
+ const C = I.filter((U) => U.selected);
910
+ ve.current = C, Ie(new Set(C.map((U) => U.id))), ie(C.map((U) => U.label).join(", "));
905
911
  }
906
912
  }, []), te(() => {
907
913
  if (n && I) {
908
- const k = I.filter((U) => U.selected);
909
- k.length > 0 && (Ie(new Set(k.map((U) => U.id))), ve.current = k, ie(k.map((U) => U.label).join(", ")));
914
+ const C = I.filter((U) => U.selected);
915
+ C.length > 0 && (Ie(new Set(C.map((U) => U.id))), ve.current = C, ie(C.map((U) => U.label).join(", ")));
910
916
  }
911
917
  }, [I, n]), te(() => {
912
918
  T && u && u.length > 0 && He(u), be.current = I;
@@ -947,7 +953,7 @@ const wr = ({ loadingColor: r }) => /* @__PURE__ */ i(
947
953
  onFocus: An,
948
954
  ref: qe,
949
955
  onClick: En,
950
- className: `${xe.dropdownContainer} ${ge && !C ? xe.focused : ""} ${o ? xe.disabled : ""} ${f?.error ? xe.error : ""} ${xe[c]} ${Me ? xe.loading : ""}`,
956
+ className: `${xe.dropdownContainer} ${ge && !w ? xe.focused : ""} ${o ? xe.disabled : ""} ${f?.error ? xe.error : ""} ${xe[c]} ${Me ? xe.loading : ""}`,
951
957
  style: $ ?? {},
952
958
  children: [
953
959
  T ? /* @__PURE__ */ i("div", { children: [
@@ -961,13 +967,13 @@ const wr = ({ loadingColor: r }) => /* @__PURE__ */ i(
961
967
  className: xe.selectedTags,
962
968
  style: { width: !ge && ve.current.length === 0 ? 0 : "calc(100% - 2.25rem)", ...z ?? {} },
963
969
  children: !T && !ge ? /* @__PURE__ */ i("div", { style: { display: "flex", alignItems: "center", justifyContent: "flex-start", width: "100%" }, children: [
964
- ve.current.slice(0, 3).map((k, U) => {
970
+ ve.current.slice(0, 3).map((C, U) => {
965
971
  let Ne = ve.current[ve.current.length - 1];
966
972
  return /* @__PURE__ */ i("span", { className: xe.selectedList, style: le ?? {}, children: [
967
- k.label,
968
- k.id !== Ne.id && U !== 2 ? "," : "",
973
+ C.label,
974
+ C.id !== Ne.id && U !== 2 ? "," : "",
969
975
  "  "
970
- ] }, k?.id);
976
+ ] }, C?.id);
971
977
  }),
972
978
  ve.current.length > 3 && /* @__PURE__ */ i("div", { className: xe.additional, style: G ?? {}, children: [
973
979
  "+",
@@ -977,13 +983,13 @@ const wr = ({ loadingColor: r }) => /* @__PURE__ */ i(
977
983
  "input",
978
984
  {
979
985
  ref: hn,
980
- onClick: (k) => (k.stopPropagation(), Ee(!0)),
986
+ onClick: (C) => (C.stopPropagation(), Ee(!0)),
981
987
  autoCorrect: "off",
982
988
  placeholder: Me ? "Loading..." : "Search...",
983
989
  type: "text",
984
990
  readOnly: Me,
985
991
  ...T || M ? { value: Ce } : {},
986
- onChange: (k) => _n(k.target.value)
992
+ onChange: (C) => _n(C.target.value)
987
993
  },
988
994
  Y
989
995
  )
@@ -998,11 +1004,11 @@ const wr = ({ loadingColor: r }) => /* @__PURE__ */ i(
998
1004
  readOnly: !X || !ge || n || b || Me,
999
1005
  type: "text",
1000
1006
  value: (n || b) && !T && ge ? "" : Fe,
1001
- onChange: (k) => _n(k.target.value)
1007
+ onChange: (C) => _n(C.target.value)
1002
1008
  },
1003
1009
  Y
1004
1010
  ),
1005
- I && I.length > 0 && ge && !Me && /* @__PURE__ */ i("div", { ref: nn, onClick: (k) => k.stopPropagation(), className: xe.dropdownListContainer, children: [
1011
+ I && I.length > 0 && ge && !Me && /* @__PURE__ */ i("div", { ref: nn, onClick: (C) => C.stopPropagation(), className: xe.dropdownListContainer, children: [
1006
1012
  b ? /* @__PURE__ */ e(
1007
1013
  $i,
1008
1014
  {
@@ -1021,25 +1027,25 @@ const wr = ({ loadingColor: r }) => /* @__PURE__ */ i(
1021
1027
  theme: ne,
1022
1028
  ...ke
1023
1029
  }
1024
- ) : /* @__PURE__ */ e("ul", { onScroll: (k) => Tn(), onClick: (k) => k.stopPropagation(), className: xe.dropdownList, style: fe ?? {}, children: (n && X ? be.current : I).map((k) => {
1025
- const U = n ? k.selected || rn.has(k.id) : oe.current?.id && oe.current?.id === k.id;
1030
+ ) : /* @__PURE__ */ e("ul", { onScroll: (C) => Tn(), onClick: (C) => C.stopPropagation(), className: xe.dropdownList, style: fe ?? {}, children: (n && X ? be.current : I).map((C) => {
1031
+ const U = n ? C.selected || rn.has(C.id) : oe.current?.id && oe.current?.id === C.id;
1026
1032
  return /* @__PURE__ */ i(
1027
1033
  "li",
1028
1034
  {
1029
1035
  style: se ?? {},
1030
- className: `${!n && M ? xe[ce(k?.label ?? "-")] : ""} ${!k?.label || k.label === void 0 || k?.disabled ? xe.disabled : ""} ${U ? xe.selected : ""}`,
1036
+ className: `${!n && M ? xe[ce(C?.label ?? "-")] : ""} ${!C?.label || C.label === void 0 || C?.disabled ? xe.disabled : ""} ${U ? xe.selected : ""}`,
1031
1037
  onClick: () => {
1032
- n ? tn(k) : sn(k);
1038
+ n ? tn(C) : sn(C);
1033
1039
  },
1034
1040
  children: [
1035
1041
  /* @__PURE__ */ i("p", { children: [
1036
1042
  " ",
1037
- k?.customLabel ? k.customLabel() : k?.label ?? "-"
1043
+ C?.customLabel ? C.customLabel() : C?.label ?? "-"
1038
1044
  ] }),
1039
1045
  F ? /* @__PURE__ */ e(Ze, { children: U ? /* @__PURE__ */ e(Io, {}) : /* @__PURE__ */ e(So, {}) }) : U && /* @__PURE__ */ e("span", { className: xe.checkIcon, children: /* @__PURE__ */ e(qn, { color: de === "namespaceHr" ? "#32B45F" : "#7F56D9", width: 20, height: 20 }) })
1040
1046
  ]
1041
1047
  },
1042
- k?.id
1048
+ C?.id
1043
1049
  );
1044
1050
  }) }),
1045
1051
  n && P && /* @__PURE__ */ i("div", { className: xe.dropdownListFooter, children: [
@@ -1047,7 +1053,7 @@ const wr = ({ loadingColor: r }) => /* @__PURE__ */ i(
1047
1053
  h && /* @__PURE__ */ e("span", { onClick: Sn, children: "Clear All" })
1048
1054
  ] })
1049
1055
  ] }),
1050
- N && (n ? ge ? Ce.length > 0 : !1 : Fe.length > 0 || Ce.length > 0) && /* @__PURE__ */ e("div", { onClick: (k) => Nn(k), style: { display: "grid", placeItems: "center", cursor: "pointer" }, children: j ? a(j) : /* @__PURE__ */ e(wn, { width: 16, height: 16 }) }),
1056
+ N && (n ? ge ? Ce.length > 0 : !1 : Fe.length > 0 || Ce.length > 0) && /* @__PURE__ */ e("div", { onClick: (C) => Nn(C), style: { display: "grid", placeItems: "center", cursor: "pointer" }, children: j ? a(j) : /* @__PURE__ */ e(wn, { width: 16, height: 16 }) }),
1051
1057
  ae ? a(ae) : /* @__PURE__ */ e(
1052
1058
  "div",
1053
1059
  {
@@ -1086,9 +1092,9 @@ const wr = ({ loadingColor: r }) => /* @__PURE__ */ i(
1086
1092
  triggerClear: c = !1,
1087
1093
  placement: m = "top",
1088
1094
  trigger: f = "hover",
1089
- title: C,
1095
+ title: w,
1090
1096
  text: u,
1091
- customText: w,
1097
+ customText: k,
1092
1098
  tooltipContentStyle: g,
1093
1099
  tooltipTitlestyle: y,
1094
1100
  tooltipTextStyle: M,
@@ -1107,7 +1113,7 @@ const wr = ({ loadingColor: r }) => /* @__PURE__ */ i(
1107
1113
  }) => {
1108
1114
  const A = re(null), Y = re(null);
1109
1115
  let X;
1110
- const [N, q] = O(!1), V = o || C || u || w, R = () => {
1116
+ const [N, q] = O(!1), V = o || w || u || k, R = () => {
1111
1117
  f === "hover" && V && (X = setTimeout(() => {
1112
1118
  q(!0);
1113
1119
  }, t));
@@ -1138,7 +1144,7 @@ const wr = ({ loadingColor: r }) => /* @__PURE__ */ i(
1138
1144
  };
1139
1145
  return te(() => {
1140
1146
  d();
1141
- }, [A, N, r, m, o, w, C, u]), te(() => {
1147
+ }, [A, N, r, m, o, k, w, u]), te(() => {
1142
1148
  const x = (Q) => {
1143
1149
  A.current?.contains(Q.target) || q(!1);
1144
1150
  }, j = (Q) => {
@@ -1182,8 +1188,8 @@ const wr = ({ loadingColor: r }) => /* @__PURE__ */ i(
1182
1188
  ref: Y,
1183
1189
  className: `${Oe.tooltipContent} ${m ? Oe[m] : Oe.bottom}`,
1184
1190
  children: [
1185
- w && typeof w == "function" && w(),
1186
- C && C.length > 0 && /* @__PURE__ */ e("h2", { className: Oe.tooltipTitle, style: y ?? {}, children: C }),
1191
+ k && typeof k == "function" && k(),
1192
+ w && w.length > 0 && /* @__PURE__ */ e("h2", { className: Oe.tooltipTitle, style: y ?? {}, children: w }),
1187
1193
  u && u.length > 0 && /* @__PURE__ */ e("p", { className: Oe.tooltipText, style: M ?? {}, children: u })
1188
1194
  ]
1189
1195
  }
@@ -1253,10 +1259,10 @@ const Qn = (r, o) => {
1253
1259
  children: c,
1254
1260
  onClickOutside: m,
1255
1261
  onClose: f,
1256
- widthType: C,
1262
+ widthType: w,
1257
1263
  // "horizontal"
1258
1264
  modalOverlayStyle: u,
1259
- popupContainerStyle: w,
1265
+ popupContainerStyle: k,
1260
1266
  templateWrapperStyle: g,
1261
1267
  popupHeaderStyle: y,
1262
1268
  popupTitleStyle: M,
@@ -1293,12 +1299,12 @@ const Qn = (r, o) => {
1293
1299
  children: /* @__PURE__ */ i(
1294
1300
  "div",
1295
1301
  {
1296
- style: w ?? {},
1302
+ style: k ?? {},
1297
1303
  className: `
1298
1304
  mcPopup_global
1299
1305
  ${Ke.popupContainer}
1300
1306
  ${t?.type ? Ke.withOptions : ""}
1301
- ${C === "horizontal" ? Ke.horizontal : ""}
1307
+ ${w === "horizontal" ? Ke.horizontal : ""}
1302
1308
  `,
1303
1309
  children: [
1304
1310
  /* @__PURE__ */ e("div", { className: Ke.closeButton, style: b ?? {}, onClick: D, children: /* @__PURE__ */ e(
@@ -1398,7 +1404,7 @@ var er = { exports: {} };
1398
1404
  (function(t, c) {
1399
1405
  r.exports = c();
1400
1406
  })(Wc, function() {
1401
- var t = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, c = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, m = /\d/, f = /\d\d/, C = /\d\d?/, u = /\d*[^-_:/,()\s\d]+/, w = {}, g = function(l) {
1407
+ var t = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, c = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, m = /\d/, f = /\d\d/, w = /\d\d?/, u = /\d*[^-_:/,()\s\d]+/, k = {}, g = function(l) {
1402
1408
  return (l = +l) + (l > 68 ? 1900 : 2e3);
1403
1409
  }, y = function(l) {
1404
1410
  return function(p) {
@@ -1411,10 +1417,10 @@ var er = { exports: {} };
1411
1417
  return s === 0 ? 0 : h[0] === "+" ? -s : s;
1412
1418
  }(l);
1413
1419
  }], b = function(l) {
1414
- var p = w[l];
1420
+ var p = k[l];
1415
1421
  return p && (p.indexOf ? p : p.s.concat(p.f));
1416
1422
  }, B = function(l, p) {
1417
- var h, s = w.meridiem;
1423
+ var h, s = k.meridiem;
1418
1424
  if (s) {
1419
1425
  for (var F = 1; F <= 24; F += 1) if (l.indexOf(s(F, 0, p)) > -1) {
1420
1426
  h = F > 12;
@@ -1434,10 +1440,10 @@ var er = { exports: {} };
1434
1440
  this.milliseconds = 10 * +l;
1435
1441
  }], SSS: [/\d{3}/, function(l) {
1436
1442
  this.milliseconds = +l;
1437
- }], s: [C, y("seconds")], ss: [C, y("seconds")], m: [C, y("minutes")], mm: [C, y("minutes")], H: [C, y("hours")], h: [C, y("hours")], HH: [C, y("hours")], hh: [C, y("hours")], D: [C, y("day")], DD: [f, y("day")], Do: [u, function(l) {
1438
- var p = w.ordinal, h = l.match(/\d+/);
1443
+ }], s: [w, y("seconds")], ss: [w, y("seconds")], m: [w, y("minutes")], mm: [w, y("minutes")], H: [w, y("hours")], h: [w, y("hours")], HH: [w, y("hours")], hh: [w, y("hours")], D: [w, y("day")], DD: [f, y("day")], Do: [u, function(l) {
1444
+ var p = k.ordinal, h = l.match(/\d+/);
1439
1445
  if (this.day = h[0], p) for (var s = 1; s <= 31; s += 1) p(s).replace(/\[|\]/g, "") === l && (this.day = s);
1440
- }], w: [C, y("week")], ww: [f, y("week")], M: [C, y("month")], MM: [f, y("month")], MMM: [u, function(l) {
1446
+ }], w: [w, y("week")], ww: [f, y("week")], M: [w, y("month")], MM: [f, y("month")], MMM: [u, function(l) {
1441
1447
  var p = b("months"), h = (b("monthsShort") || p.map(function(s) {
1442
1448
  return s.slice(0, 3);
1443
1449
  })).indexOf(l) + 1;
@@ -1452,7 +1458,7 @@ var er = { exports: {} };
1452
1458
  }], YYYY: [/\d{4}/, y("year")], Z: M, ZZ: M };
1453
1459
  function D(l) {
1454
1460
  var p, h;
1455
- p = l, h = w && w.formats;
1461
+ p = l, h = k && k.formats;
1456
1462
  for (var s = (l = p.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(X, N, q) {
1457
1463
  var V = q && q.toUpperCase();
1458
1464
  return N || h[q] || t[q] || h[V].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(R, n, v) {
@@ -1489,7 +1495,7 @@ var er = { exports: {} };
1489
1495
  var Y = A[1];
1490
1496
  if (typeof Y == "string") {
1491
1497
  var X = A[2] === !0, N = A[3] === !0, q = X || N, V = A[2];
1492
- N && (V = A[2]), w = this.$locale(), !X && V && (w = h.Ls[V]), this.$d = function(d, x, j, Q) {
1498
+ N && (V = A[2]), k = this.$locale(), !X && V && (k = h.Ls[V]), this.$d = function(d, x, j, Q) {
1493
1499
  try {
1494
1500
  if (["x", "X"].indexOf(x) > -1) return new Date((x === "X" ? 1e3 : 1) * d);
1495
1501
  var ae = D(x)(d), pe = ae.year, _e = ae.month, he = ae.day, Z = ae.hours, _ = ae.minutes, S = ae.seconds, H = ae.milliseconds, J = ae.zone, $ = ae.week, E = /* @__PURE__ */ new Date(), z = he || (pe || _e ? 1 : E.getDate()), le = pe || E.getFullYear(), L = 0;
@@ -1499,7 +1505,7 @@ var er = { exports: {} };
1499
1505
  } catch {
1500
1506
  return /* @__PURE__ */ new Date("");
1501
1507
  }
1502
- }(P, Y, I, h), this.init(), V && V !== !0 && (this.$L = this.locale(V).$L), q && P != this.format(Y) && (this.$d = /* @__PURE__ */ new Date("")), w = {};
1508
+ }(P, Y, I, h), this.init(), V && V !== !0 && (this.$L = this.locale(V).$L), q && P != this.format(Y) && (this.$d = /* @__PURE__ */ new Date("")), k = {};
1503
1509
  } else if (Y instanceof Array) for (var R = Y.length, n = 1; n <= R; n += 1) {
1504
1510
  A[1] = Y[n - 1];
1505
1511
  var v = h.apply(this, A);
@@ -1524,9 +1530,9 @@ const Kc = ({
1524
1530
  format: c = "HH:mm",
1525
1531
  defaultHour: m,
1526
1532
  defaultMinute: f,
1527
- defaultValue: C,
1533
+ defaultValue: w,
1528
1534
  size: u = "md",
1529
- msg: w,
1535
+ msg: k,
1530
1536
  onTimeChange: g,
1531
1537
  onFocus: y,
1532
1538
  onBlur: M,
@@ -1588,8 +1594,8 @@ const Kc = ({
1588
1594
  s ? (E.style.position = "fixed", E.style.left = `${z.left + window.pageXOffset}px`, z.bottom + E.offsetHeight > le ? (E.style.top = `${window.scrollY + z.top - E.offsetHeight - 8}px`, E.style.bottom = "unset") : (E.style.top = `${window.scrollY + z.bottom}px`, E.style.bottom = "unset")) : z.bottom > le ? (E.style.top = "unset", E.style.bottom = "calc(100% + 8px)") : (E.style.bottom = "unset", E.style.top = "calc(100% + 8px)");
1589
1595
  }, J = re(!0);
1590
1596
  return te(() => {
1591
- if (C) {
1592
- const $ = K(C, [c], !0);
1597
+ if (w) {
1598
+ const $ = K(w, [c], !0);
1593
1599
  n.current = $.format("HH"), R.current = $.format("mm"), V($.format(c));
1594
1600
  } else if (m) {
1595
1601
  const $ = K().hour(parseInt(m, 10)).minute(parseInt(f ?? "0", 10)).format(c ?? "HH:mm");
@@ -1692,7 +1698,7 @@ const Kc = ({
1692
1698
  ]
1693
1699
  }
1694
1700
  ),
1695
- w && w?.visible && /* @__PURE__ */ e("div", { style: l ?? {}, className: `${Pe.timepickerHelperText} ${w?.error ? Pe.error : ""}`, children: /* @__PURE__ */ e("p", { style: w?.style ?? {}, children: w.text }) })
1701
+ k && k?.visible && /* @__PURE__ */ e("div", { style: l ?? {}, className: `${Pe.timepickerHelperText} ${k?.error ? Pe.error : ""}`, children: /* @__PURE__ */ e("p", { style: k?.style ?? {}, children: k.text }) })
1696
1702
  ] });
1697
1703
  }, Vc = "Datepicker-module__datepickerContainer", jc = "Datepicker-module__datepickerLabel", zc = "Datepicker-module__required", Oc = "Datepicker-module__datepickerIcon", Zc = "Datepicker-module__sm", Yc = "Datepicker-module__md", qc = "Datepicker-module__hasValue", Xc = "Datepicker-module__datepicker", Jc = "Datepicker-module__focused", Qc = "Datepicker-module__error", ea = "Datepicker-module__disabled", na = "Datepicker-module__datepickerHelperText", ra = "Datepicker-module__namespaceHr", ta = "Datepicker-module__dark", Ue = {
1698
1704
  datepickerContainer: Vc,
@@ -1741,9 +1747,9 @@ const Da = ({
1741
1747
  CurrentMonth: c,
1742
1748
  setCurrentMonth: m,
1743
1749
  SelectedDate: f,
1744
- namespace: C,
1750
+ namespace: w,
1745
1751
  customYears: u,
1746
- setSelectedDate: w,
1752
+ setSelectedDate: k,
1747
1753
  IsFocused: g,
1748
1754
  setIsFocused: y,
1749
1755
  mode: M,
@@ -1828,7 +1834,7 @@ const Da = ({
1828
1834
  }), n.current = Qn(n.current, "key"), _ = n.current, _;
1829
1835
  }, Q = (_) => {
1830
1836
  let S = { start: "", end: "" };
1831
- switch (w(null), _.key.toLowerCase()) {
1837
+ switch (k(null), _.key.toLowerCase()) {
1832
1838
  case "today":
1833
1839
  B({
1834
1840
  start: K(),
@@ -1836,7 +1842,7 @@ const Da = ({
1836
1842
  }), S.start = K();
1837
1843
  break;
1838
1844
  case "yesterday":
1839
- w(K().subtract(1, "day")), B({
1845
+ k(K().subtract(1, "day")), B({
1840
1846
  start: K().subtract(1, "day"),
1841
1847
  end: K().subtract(1, "day")
1842
1848
  }), S.start = K().subtract(1, "day");
@@ -1905,7 +1911,7 @@ const Da = ({
1905
1911
  }), { start: _ ?? "", end: J?.start ?? "" }) : (t({
1906
1912
  ...J,
1907
1913
  end: _ ?? ""
1908
- }), { ...J, end: _ ?? "" }) : J) : (B({ start: null, end: null }), w(_), H || (y(!1), t && typeof t == "function" && t(_.format(r ?? r))));
1914
+ }), { ...J, end: _ ?? "" }) : J) : (B({ start: null, end: null }), k(_), H || (y(!1), t && typeof t == "function" && t(_.format(r ?? r))));
1909
1915
  }, pe = () => {
1910
1916
  m(c.add(1, "month"));
1911
1917
  }, _e = () => {
@@ -1921,7 +1927,7 @@ const Da = ({
1921
1927
  "div",
1922
1928
  {
1923
1929
  ref: h,
1924
- className: `${V === "dark" ? ue.dark : ""} ${C === "namespaceHr" ? ue.namespaceHr : ""} ${ue.datePicker} ${g ? ue.focused : ""} ${W === "dual" ? o && o.length ? ue.dualCalendarWithQuick : ue.dualCalendar : ""} `,
1930
+ className: `${V === "dark" ? ue.dark : ""} ${w === "namespaceHr" ? ue.namespaceHr : ""} ${ue.datePicker} ${g ? ue.focused : ""} ${W === "dual" ? o && o.length ? ue.dualCalendarWithQuick : ue.dualCalendar : ""} `,
1925
1931
  onClick: (_) => _.stopPropagation(),
1926
1932
  style: W === "dual" && o && o.length > 0 ? { width: "848px" } : {},
1927
1933
  children: [
@@ -2065,9 +2071,9 @@ const Na = ({
2065
2071
  defaultValue: c,
2066
2072
  size: m = "md",
2067
2073
  valueFormat: f = "DD-MM-YYYY",
2068
- onlyIcon: C = !1,
2074
+ onlyIcon: w = !1,
2069
2075
  onChange: u,
2070
- onBlur: w,
2076
+ onBlur: k,
2071
2077
  onFocus: g,
2072
2078
  customYears: y,
2073
2079
  fixedDropdown: M = !0,
@@ -2122,7 +2128,7 @@ const Na = ({
2122
2128
  }, fe = () => {
2123
2129
  g && typeof g == "function" && g();
2124
2130
  }, se = () => {
2125
- w && typeof w == "function" && w();
2131
+ k && typeof k == "function" && k();
2126
2132
  }, ke = () => {
2127
2133
  const ne = E.current, de = he.current;
2128
2134
  if (!de || !ne) return;
@@ -2149,7 +2155,7 @@ const Na = ({
2149
2155
  " ",
2150
2156
  /* @__PURE__ */ e("span", { className: Ue.required, style: h ?? {}, children: o && "*" })
2151
2157
  ] }),
2152
- C ? /* @__PURE__ */ e(
2158
+ w ? /* @__PURE__ */ e(
2153
2159
  "div",
2154
2160
  {
2155
2161
  ref: E,
@@ -2260,9 +2266,9 @@ const Na = ({
2260
2266
  max: c = 100,
2261
2267
  label: m = "top",
2262
2268
  showLabels: f = !1,
2263
- withPercent: C = !1,
2269
+ withPercent: w = !1,
2264
2270
  debounceTime: u,
2265
- onChange: w,
2271
+ onChange: k,
2266
2272
  theme: g,
2267
2273
  sliderContainerStyle: y,
2268
2274
  sliderStyle: M,
@@ -2300,7 +2306,7 @@ const Na = ({
2300
2306
  h.current = !1;
2301
2307
  return;
2302
2308
  }
2303
- w && typeof w == "function" && Y(() => w([s.minValue, s.maxValue]), u ?? 100);
2309
+ k && typeof k == "function" && Y(() => k([s.minValue, s.maxValue]), u ?? 100);
2304
2310
  }, [s]), /* @__PURE__ */ e("div", { style: y ?? {}, className: `${g === "dark" ? ze.dark : ""} ${ze.sliderContainer}`, children: /* @__PURE__ */ i("div", { ref: X, style: M ?? {}, className: ze.slider, onMouseDown: V, children: [
2305
2311
  /* @__PURE__ */ e("div", { className: ze.sliderProgress, style: { ...R, ...b ?? {} } }),
2306
2312
  /* @__PURE__ */ e(
@@ -2316,7 +2322,7 @@ const Na = ({
2316
2322
  onMouseDown: q("min"),
2317
2323
  children: f && (T.min || I.min) && /* @__PURE__ */ e("div", { style: B ?? {}, className: `${ze.values} ${ze[m]}`, children: /* @__PURE__ */ i("span", { style: W ?? {}, children: [
2318
2324
  s.minValue,
2319
- C && "%"
2325
+ w && "%"
2320
2326
  ] }) })
2321
2327
  }
2322
2328
  ),
@@ -2333,7 +2339,7 @@ const Na = ({
2333
2339
  onMouseDown: q("max"),
2334
2340
  children: f && (T.max || I.max) && /* @__PURE__ */ e("div", { style: B ?? {}, className: `${ze.values} ${ze[m]}`, children: /* @__PURE__ */ i("span", { style: W ?? {}, children: [
2335
2341
  s.maxValue,
2336
- C && "%"
2342
+ w && "%"
2337
2343
  ] }) })
2338
2344
  }
2339
2345
  )
@@ -2345,9 +2351,9 @@ const Na = ({
2345
2351
  deleteDate: c,
2346
2352
  setdeleteDate: m,
2347
2353
  setdeleteTime: f,
2348
- deleteTime: C,
2354
+ deleteTime: w,
2349
2355
  renderComp: u,
2350
- isLastElement: w,
2356
+ isLastElement: k,
2351
2357
  theme: g,
2352
2358
  onSingleChange: y,
2353
2359
  fieldGap: M,
@@ -2493,7 +2499,7 @@ const Na = ({
2493
2499
  {
2494
2500
  ...n.props,
2495
2501
  label: n.label,
2496
- key: C,
2502
+ key: w,
2497
2503
  theme: g,
2498
2504
  defaultHour: n.value.length > 0 ? n.value[0].time.split(":")[0] : n.value,
2499
2505
  defaultMinute: n.value.length > 0 ? n.value[0].time.split(":")[1] : n.value,
@@ -2610,7 +2616,7 @@ const Na = ({
2610
2616
  /* @__PURE__ */ e("p", { className: Le.titleSubText, children: r?.subText ?? "" })
2611
2617
  ] }),
2612
2618
  /* @__PURE__ */ e("div", { className: Le.renderComponent, children: R() }),
2613
- !w && /* @__PURE__ */ e("hr", {})
2619
+ !k && /* @__PURE__ */ e("hr", {})
2614
2620
  ] });
2615
2621
  }, nr = () => /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ e("path", { d: "M5 10H15M2.5 5H17.5M7.5 15H12.5", stroke: "#414651", strokeWidth: "1.66667", strokeLinecap: "round", strokeLinejoin: "round" }) }), $s = ({
2616
2622
  onApply: r,
@@ -2620,9 +2626,9 @@ const Na = ({
2620
2626
  tagPosition: m = "bottom",
2621
2627
  // sude,bottom
2622
2628
  rowReverse: f = !0,
2623
- filterIcon: C,
2629
+ filterIcon: w,
2624
2630
  withSearch: u = !1,
2625
- searchProps: w,
2631
+ searchProps: k,
2626
2632
  onSearch: g,
2627
2633
  visibleTagsNumber: y,
2628
2634
  children: M,
@@ -2703,7 +2709,7 @@ const Na = ({
2703
2709
  u && /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
2704
2710
  xn,
2705
2711
  {
2706
- ...w ?? {},
2712
+ ...k ?? {},
2707
2713
  leftIcon: /* @__PURE__ */ e(Jn, {}),
2708
2714
  value: d,
2709
2715
  placeholder: "Search",
@@ -2729,7 +2735,7 @@ const Na = ({
2729
2735
  justifyContent: "center",
2730
2736
  alignItems: "center"
2731
2737
  },
2732
- children: C || /* @__PURE__ */ e(nr, {})
2738
+ children: w || /* @__PURE__ */ e(nr, {})
2733
2739
  }
2734
2740
  ),
2735
2741
  /* @__PURE__ */ i("span", { className: Le.filter, style: A?.style ?? {}, children: [
@@ -2895,9 +2901,9 @@ const Na = ({
2895
2901
  independentStep: c,
2896
2902
  fillIcon: m,
2897
2903
  stepIcon: f,
2898
- emptyIcon: C,
2904
+ emptyIcon: w,
2899
2905
  gap: u = 20,
2900
- vertical: w = !1,
2906
+ vertical: k = !1,
2901
2907
  stepsStyle: g,
2902
2908
  currentStepStyle: y,
2903
2909
  progressBarStyle: M,
@@ -2907,7 +2913,7 @@ const Na = ({
2907
2913
  }) => {
2908
2914
  const D = Ye(), l = (s) => {
2909
2915
  t && typeof t == "function" && c && t(s);
2910
- }, p = (s) => w ? { ...s.id === o[o.length - 1].id ? { height: "0", top: 0, left: 0 } : s.id === o[o.length - 2].id ? {
2916
+ }, p = (s) => k ? { ...s.id === o[o.length - 1].id ? { height: "0", top: 0, left: 0 } : s.id === o[o.length - 2].id ? {
2911
2917
  height: `calc(100% + ${u}px`,
2912
2918
  top: "50%",
2913
2919
  backgroundColor: r > s?.id ? D === "namespaceHr" ? "#00813A" : "#7F56D9" : "#E9EAEB"
@@ -2927,7 +2933,7 @@ const Na = ({
2927
2933
  return /* @__PURE__ */ e(
2928
2934
  "div",
2929
2935
  {
2930
- className: `${W === "dark" ? De.dark : ""} ${De[D]} ${De.steps} ${w ? De.vertical : ""}`,
2936
+ className: `${W === "dark" ? De.dark : ""} ${De[D]} ${De.steps} ${k ? De.vertical : ""}`,
2931
2937
  style: { ...g, gap: u + "px" },
2932
2938
  children: o.map((s) => /* @__PURE__ */ i(
2933
2939
  "div",
@@ -2936,8 +2942,8 @@ const Na = ({
2936
2942
  className: `${De.currentStep} ${s.disabled ? De.disabled : ""}`,
2937
2943
  onClick: () => l(s),
2938
2944
  children: [
2939
- w ? /* @__PURE__ */ e("div", { className: De.progressBarVertical, style: p(s) }) : /* @__PURE__ */ e("div", { style: p(s), className: De.progressBar }),
2940
- /* @__PURE__ */ e("div", { className: De.singleStep, style: b ?? {}, children: /* @__PURE__ */ e(Ze, { children: s.isAllFilled ? /* @__PURE__ */ e(Ze, { children: m ? h(m) : /* @__PURE__ */ e(ol, { color: D === "namespaceHr" && "#29A756", width: "24px" }) }) : r < s?.id ? /* @__PURE__ */ e(Ze, { children: C ? h(C) : /* @__PURE__ */ e("div", { className: `${De.radioWrapper} ${De.md} ${De.checked} ${De.disabled}`, children: /* @__PURE__ */ e("div", { className: De.radioState, children: /* @__PURE__ */ e("div", { className: De.innerCircle }) }) }) }) : /* @__PURE__ */ e(Ze, { children: f ? h(f) : /* @__PURE__ */ e("div", { className: `${De.radioWrapper} ${De.md} ${De.checked} `, children: /* @__PURE__ */ e("div", { className: De.radioState, children: /* @__PURE__ */ e("div", { className: De.innerCircle }) }) }) }) }) }),
2945
+ k ? /* @__PURE__ */ e("div", { className: De.progressBarVertical, style: p(s) }) : /* @__PURE__ */ e("div", { style: p(s), className: De.progressBar }),
2946
+ /* @__PURE__ */ e("div", { className: De.singleStep, style: b ?? {}, children: /* @__PURE__ */ e(Ze, { children: s.isAllFilled ? /* @__PURE__ */ e(Ze, { children: m ? h(m) : /* @__PURE__ */ e(ol, { color: D === "namespaceHr" && "#29A756", width: "24px" }) }) : r < s?.id ? /* @__PURE__ */ e(Ze, { children: w ? h(w) : /* @__PURE__ */ e("div", { className: `${De.radioWrapper} ${De.md} ${De.checked} ${De.disabled}`, children: /* @__PURE__ */ e("div", { className: De.radioState, children: /* @__PURE__ */ e("div", { className: De.innerCircle }) }) }) }) : /* @__PURE__ */ e(Ze, { children: f ? h(f) : /* @__PURE__ */ e("div", { className: `${De.radioWrapper} ${De.md} ${De.checked} `, children: /* @__PURE__ */ e("div", { className: De.radioState, children: /* @__PURE__ */ e("div", { className: De.innerCircle }) }) }) }) }) }),
2941
2947
  /* @__PURE__ */ i("div", { className: `${De.texts} ${s.id === r ? De.currentText : {}}`, style: B ?? {}, children: [
2942
2948
  /* @__PURE__ */ e("p", { style: s?.titleStyle ?? {}, className: De.name, children: s?.name }),
2943
2949
  typeof s?.subTitle == "function" ? s.subTitle() : /* @__PURE__ */ e("p", { className: De.subTitle, style: s?.subTitleStyle ? { ...s.subTitleStyle } : {}, children: s?.subTitle ?? "" }) ?? ""
@@ -2961,7 +2967,7 @@ const Na = ({
2961
2967
  d: "M2 1a1 1 0 11-2 0 1 1 0 012 0zM6 1a1 1 0 11-2 0 1 1 0 012 0zM2 5a1 1 0 11-2 0 1 1 0 012 0zM6 5a1 1 0 11-2 0 1 1 0 012 0zM2 9a1 1 0 11-2 0 1 1 0 012 0zM6 9a1 1 0 11-2 0 1 1 0 012 0z"
2962
2968
  }
2963
2969
  ) }), ul = ({ items: r, change: o, theme: t }) => {
2964
- const c = re(r), [m, f] = O(null), [C, u] = O(!1), [w, g] = O(!1), y = re(null), M = re(null);
2970
+ const c = re(r), [m, f] = O(null), [w, u] = O(!1), [k, g] = O(!1), y = re(null), M = re(null);
2965
2971
  te(() => (document.addEventListener("click", b), () => {
2966
2972
  document.removeEventListener("click", b);
2967
2973
  }), []);
@@ -2988,9 +2994,9 @@ const Na = ({
2988
2994
  }, s = () => {
2989
2995
  u((F) => !F);
2990
2996
  };
2991
- return /* @__PURE__ */ i("div", { className: `${t === "dark" ? fn.dark : ""} ${fn.configureWrapper} ${C ? fn.active : ""}`, ref: M, children: [
2997
+ return /* @__PURE__ */ i("div", { className: `${t === "dark" ? fn.dark : ""} ${fn.configureWrapper} ${w ? fn.active : ""}`, ref: M, children: [
2992
2998
  /* @__PURE__ */ e("div", { className: fn.iconWrapper, onClick: s, children: /* @__PURE__ */ e(nr, {}) }),
2993
- C && /* @__PURE__ */ e("ul", { className: "draggable-list", ref: y, children: c.current.map((F, T) => /* @__PURE__ */ i(
2999
+ w && /* @__PURE__ */ e("ul", { className: "draggable-list", ref: y, children: c.current.map((F, T) => /* @__PURE__ */ i(
2994
3000
  "li",
2995
3001
  {
2996
3002
  className: `draggable-item${T === m ? " dragged" : ""} ${F.visible ? "" : fn.notVisible}`,
@@ -3038,14 +3044,14 @@ const Na = ({
3038
3044
  d: "M13.367 2.517L6.8 9.083c-.25.25-.5.742-.55 1.1l-.358 2.509c-.134.908.508 1.541 1.416 1.416l2.509-.358c.35-.05.841-.3 1.1-.55l6.566-6.567c1.134-1.133 1.667-2.45 0-4.116-1.666-1.667-2.983-1.134-4.116 0zM12.425 3.458a5.954 5.954 0 004.117 4.117"
3039
3045
  }
3040
3046
  )
3041
- ] }), bl = ({ actions: r, onExpand: o, rowID: t, visible: c, rowData: m, hiddenActionTypes: f, theme: C, actionUlStyle: u }) => {
3042
- const w = re(null), g = re(null), y = re({
3047
+ ] }), bl = ({ actions: r, onExpand: o, rowID: t, visible: c, rowData: m, hiddenActionTypes: f, theme: w, actionUlStyle: u }) => {
3048
+ const k = re(null), g = re(null), y = re({
3043
3049
  top: 0,
3044
3050
  left: 0
3045
3051
  }), M = (l) => {
3046
3052
  o && typeof o == "function" && (o(!c), b());
3047
3053
  }, b = () => {
3048
- const l = w.current.getBoundingClientRect(), p = g.current.getBoundingClientRect();
3054
+ const l = k.current.getBoundingClientRect(), p = g.current.getBoundingClientRect();
3049
3055
  y.current.top = l.top + p.height + 20, y.current.left = l.left - p.width / 1.5;
3050
3056
  }, B = (l, p) => {
3051
3057
  m[p.disableKey] || p.event && typeof p.event == "function" && p.event(p.type, m);
@@ -3070,10 +3076,10 @@ const Na = ({
3070
3076
  "div",
3071
3077
  {
3072
3078
  id: `datagrid_action_data_id_${t}`,
3073
- className: `${C === "dark" ? an.dark : ""} ${an.actionsWrapper} datagrid_action_data_controller`,
3079
+ className: `${w === "dark" ? an.dark : ""} ${an.actionsWrapper} datagrid_action_data_controller`,
3074
3080
  onClick: (l) => l.stopPropagation(),
3075
3081
  children: [
3076
- /* @__PURE__ */ i("div", { className: an.moreActionsButton, onClick: (l) => M(), ref: w, children: [
3082
+ /* @__PURE__ */ i("div", { className: an.moreActionsButton, onClick: (l) => M(), ref: k, children: [
3077
3083
  /* @__PURE__ */ e("div", {}),
3078
3084
  /* @__PURE__ */ e("div", {}),
3079
3085
  /* @__PURE__ */ e("div", {})
@@ -3121,8 +3127,8 @@ const Na = ({
3121
3127
  dark: vl,
3122
3128
  datagridDeleteAllAction: $l
3123
3129
  }, xl = ar((r, o) => {
3124
- const [t, c] = O(0), m = (C) => {
3125
- c(C);
3130
+ const [t, c] = O(0), m = (w) => {
3131
+ c(w);
3126
3132
  };
3127
3133
  lr(o, () => ({
3128
3134
  setValue: m
@@ -3145,9 +3151,9 @@ const Na = ({
3145
3151
  keyExpr: c,
3146
3152
  theme: m,
3147
3153
  height: f,
3148
- focusedRowEnabled: C = !0,
3154
+ focusedRowEnabled: w = !0,
3149
3155
  rowAlternationEnabled: u,
3150
- columnAutoWidth: w = !0,
3156
+ columnAutoWidth: k = !0,
3151
3157
  // custom store
3152
3158
  withCustomStore: g,
3153
3159
  withGrouping: y,
@@ -3239,7 +3245,7 @@ const Na = ({
3239
3245
  Te ? Qe = !Te.classList.contains("dx-hidden") : Qe = !1, Xe.style.display = Qe ? "block" : "none";
3240
3246
  }
3241
3247
  }, qe = (a) => {
3242
- C && Y?.mode === "multiple" && s && ie.current.setValue(a.selectedRowKeys.length), n && typeof n == "function" && n(a);
3248
+ w && Y?.mode === "multiple" && s && ie.current.setValue(a.selectedRowKeys.length), n && typeof n == "function" && n(a);
3243
3249
  }, nn = (a) => {
3244
3250
  v && typeof v == "function" && v(a);
3245
3251
  }, oe = (a) => {
@@ -3263,7 +3269,7 @@ const Na = ({
3263
3269
  U.querySelector("ul") ? U.style.overflow = "unset" : U.style.overflow = "hidden";
3264
3270
  });
3265
3271
  const Fn = Te.getBoundingClientRect(), hn = document.querySelector(".gridWrapper").getBoundingClientRect();
3266
- let k = {
3272
+ let C = {
3267
3273
  width: p?.width ?? "8rem",
3268
3274
  display: "block",
3269
3275
  position: "absolute",
@@ -3272,9 +3278,9 @@ const Na = ({
3272
3278
  right: "18px",
3273
3279
  left: "auto"
3274
3280
  };
3275
- Fn.bottom > hn.bottom - 150 && (k.top = "unset", k.bottom = "100%", k.left = "-100px"), Xe.forEach((U) => {
3281
+ Fn.bottom > hn.bottom - 150 && (C.top = "unset", C.bottom = "100%", C.left = "-100px"), Xe.forEach((U) => {
3276
3282
  U.style.display = "none", U.style.pointerEvents = "none";
3277
- }), Object.assign(Qe.style, k);
3283
+ }), Object.assign(Qe.style, C);
3278
3284
  }, Mn = (a) => {
3279
3285
  Me.current = a, Ee((ce) => !ce), he && typeof he == "function" && he(Me.current);
3280
3286
  }, kn = (a) => {
@@ -3397,7 +3403,7 @@ const Na = ({
3397
3403
  keyExpr: c ?? "id",
3398
3404
  allowColumnReordering: !1,
3399
3405
  allowColumnResizing: de,
3400
- columnAutoWidth: w,
3406
+ columnAutoWidth: k,
3401
3407
  noDataText: se ?? "No Data",
3402
3408
  showColumnLines: !1,
3403
3409
  showRowLines: !0,
@@ -3419,7 +3425,7 @@ const Na = ({
3419
3425
  onEditCanceled: (a) => Ie(a, "onEditCanceled"),
3420
3426
  onContentReady: (a) => Ie(a, "onContentReady"),
3421
3427
  onOptionChanged: (a) => _n(a),
3422
- focusedRowEnabled: C,
3428
+ focusedRowEnabled: w,
3423
3429
  autoNavigateToFocusedRow: !1,
3424
3430
  onFocusedRowChanging: nn,
3425
3431
  onFocusedRowChanged: oe,
@@ -3545,18 +3551,18 @@ const Na = ({
3545
3551
  onItemClick: c,
3546
3552
  tabContainerStyle: m,
3547
3553
  singleTabStyle: f,
3548
- theme: C
3554
+ theme: w
3549
3555
  }) => {
3550
- const [u, w] = O(!1), g = (y) => {
3556
+ const [u, k] = O(!1), g = (y) => {
3551
3557
  y.active = !0, r.forEach((M) => {
3552
3558
  M.id === y.id ? M.active = !0 : M.active = !1;
3553
- }), c && typeof c == "function" && c(y), w((M) => !M);
3559
+ }), c && typeof c == "function" && c(y), k((M) => !M);
3554
3560
  };
3555
3561
  return /* @__PURE__ */ e(
3556
3562
  "div",
3557
3563
  {
3558
3564
  style: m ?? {},
3559
- className: `${C === "dark" ? ln.dark : ""} ${ln.tabContainer} ${ln[o]} ${t ? ln.vertical : ""}`,
3565
+ className: `${w === "dark" ? ln.dark : ""} ${ln.tabContainer} ${ln[o]} ${t ? ln.vertical : ""}`,
3560
3566
  children: r.map((y) => /* @__PURE__ */ e("div", { style: f ?? {}, className: `${ln.singleTab} ${y.active ? ln.active : ""}`, onClick: () => g(y), children: typeof y.label == "function" ? /* @__PURE__ */ e("span", { className: ln.labelWrapper, children: y.label() }) : y.label }, y.id))
3561
3567
  }
3562
3568
  );
@@ -3575,17 +3581,17 @@ const Na = ({
3575
3581
  strokeLinecap: "round",
3576
3582
  strokeLinejoin: "round"
3577
3583
  }
3578
- ) }), Gl = ({ theme: r, file: o, onDelete: t, fileBlockWrapperStyle: c, fileNameStyle: m, textsStyle: f, nameStyle: C, sizeStyle: u, clearIcon: w, fileIcon: g }) => {
3584
+ ) }), Gl = ({ theme: r, file: o, onDelete: t, fileBlockWrapperStyle: c, fileNameStyle: m, textsStyle: f, nameStyle: w, sizeStyle: u, clearIcon: k, fileIcon: g }) => {
3579
3585
  const y = () => {
3580
3586
  t && typeof t == "function" && t(o);
3581
3587
  };
3582
3588
  return /* @__PURE__ */ e("div", { className: `${r === "dark" ? pn.dark : ""} ${pn.fileBlockWrapper}`, style: c ?? {}, children: /* @__PURE__ */ i("div", { className: pn.fileName, style: m ?? {}, children: [
3583
3589
  /* @__PURE__ */ e("div", { style: { display: "flex", alignItems: "center" }, children: g ?? /* @__PURE__ */ e(Ul, {}) }),
3584
3590
  /* @__PURE__ */ i("div", { className: pn.texts, style: f ?? {}, children: [
3585
- /* @__PURE__ */ e("span", { title: o && o?.fileName ? o.fileName : "-", style: C ?? {}, children: o && o?.fileName ? o.fileName : "-" }),
3591
+ /* @__PURE__ */ e("span", { title: o && o?.fileName ? o.fileName : "-", style: w ?? {}, children: o && o?.fileName ? o.fileName : "-" }),
3586
3592
  /* @__PURE__ */ e("span", { style: u ?? {}, className: pn.size, children: o && o?.unitSize ? o?.unitSize : "" })
3587
3593
  ] }),
3588
- /* @__PURE__ */ e("div", { className: pn.deleteFile, onClick: y, children: w ?? /* @__PURE__ */ e(Gn, { width: 16 }) })
3594
+ /* @__PURE__ */ e("div", { className: pn.deleteFile, onClick: y, children: k ?? /* @__PURE__ */ e(Gn, { width: 16 }) })
3589
3595
  ] }) });
3590
3596
  }, Kl = "FileUploader-module__fileUploaderWrapper", Vl = "FileUploader-module__rowStyle", jl = "FileUploader-module__fileUploaderContent", zl = "FileUploader-module__labels", Ol = "FileUploader-module__draganddrop", Zl = "FileUploader-module__uploadSvg", Yl = "FileUploader-module__title", ql = "FileUploader-module__brandColor", Xl = "FileUploader-module__subTitle", Jl = "FileUploader-module__uploadAction", Ql = "FileUploader-module__dark", Ge = {
3591
3597
  fileUploaderWrapper: Kl,
@@ -3616,9 +3622,9 @@ const Na = ({
3616
3622
  acceptedFileFormats: m,
3617
3623
  // example: ['jpeg','png','svg','jpg'],
3618
3624
  title: f,
3619
- subTitle: C,
3625
+ subTitle: w,
3620
3626
  withResults: u = !0,
3621
- onFormatError: w,
3627
+ onFormatError: k,
3622
3628
  onMaxSizeError: g,
3623
3629
  defaultValue: y,
3624
3630
  type: M = "default",
@@ -3673,7 +3679,7 @@ const Na = ({
3673
3679
  fileID: crypto.randomUUID()
3674
3680
  };
3675
3681
  if (c && m && !m.includes(E.format.toLowerCase())) {
3676
- w && typeof w == "function" && w(E.format.toLowerCase());
3682
+ k && typeof k == "function" && k(E.format.toLowerCase());
3677
3683
  return;
3678
3684
  }
3679
3685
  t && H[$].size > t ? g && typeof g == "function" && g({ Error: "Max_Size_Error", MaxSize: t }) : J.push(E);
@@ -3707,7 +3713,7 @@ const Na = ({
3707
3713
  M !== "row" ? "or drag and drop" : "upload"
3708
3714
  ] })
3709
3715
  ] }) }) }),
3710
- C && typeof C == "function" ? C() : /* @__PURE__ */ e("p", { style: F ?? {}, className: Ge.subTitle, children: C ?? "" })
3716
+ w && typeof w == "function" ? w() : /* @__PURE__ */ e("p", { style: F ?? {}, className: Ge.subTitle, children: w ?? "" })
3711
3717
  ] })
3712
3718
  ] }),
3713
3719
  /* @__PURE__ */ e("div", { className: Ge.uploadAction, children: /* @__PURE__ */ e("input", { type: "file", name: "", id: q.current, multiple: !!r, onChange: he, accept: "" }) })
@@ -3869,12 +3875,12 @@ const Na = ({
3869
3875
  },
3870
3876
  t ? 0 : o
3871
3877
  );
3872
- }, Ms = (r, o, t, c, m, f, C) => {
3878
+ }, Ms = (r, o, t, c, m, f, w) => {
3873
3879
  document.querySelector('style[id="toast_notification_style_key"]') && document.querySelector('style[id="toast_notification_style_key"]').remove(), ei();
3874
3880
  let u = document.createElement("div");
3875
3881
  u.classList.add("notifications_wrapper", t || "bottom-right");
3876
- const w = crypto.randomUUID();
3877
- let g = `data-key-${w}`, y = document.querySelector("body > .notifications_wrapper");
3882
+ const k = crypto.randomUUID();
3883
+ let g = `data-key-${k}`, y = document.querySelector("body > .notifications_wrapper");
3878
3884
  if (!y)
3879
3885
  document.querySelector("body").appendChild(u);
3880
3886
  else {
@@ -3883,13 +3889,13 @@ const Na = ({
3883
3889
  }
3884
3890
  if (c && document.querySelector(".notifications_wrapper").childElementCount >= c) return;
3885
3891
  let M = document.createElement("div"), b = document.createElement("div"), B = document.createElement("div"), W = m ? document.createElement("div") : null, D = document.createElement("div"), l = document.createElement("p"), p = "info";
3886
- M.setAttribute("id", `toast_notification_${w}`), M.classList.add("toast_notification", p, "enter"), b.classList.add("notification_content"), D.classList.add("closeicon"), D.setAttribute("id", `closeicon_${w}`), m && W.classList.add("icon"), B.classList.add("text_content"), l.textContent = r, D.innerHTML = f ?? `<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32" fill="none">
3892
+ M.setAttribute("id", `toast_notification_${k}`), M.classList.add("toast_notification", p, "enter"), b.classList.add("notification_content"), D.classList.add("closeicon"), D.setAttribute("id", `closeicon_${k}`), m && W.classList.add("icon"), B.classList.add("text_content"), l.textContent = r, D.innerHTML = f ?? `<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32" fill="none">
3887
3893
  <path fill-rule="evenodd" clip-rule="evenodd" d="M10.2929 10.2929C10.6834 9.90237 11.3166 9.90237 11.7071 10.2929L16 14.5858L20.2929 10.2929C20.6834 9.90237 21.3166 9.90237 21.7071 10.2929C22.0976 10.6834 22.0976 11.3166 21.7071 11.7071L17.4142 16L21.7071 20.2929C22.0976 20.6834 22.0976 21.3166 21.7071 21.7071C21.3166 22.0976 20.6834 22.0976 20.2929 21.7071L16 17.4142L11.7071 21.7071C11.3166 22.0976 10.6834 22.0976 10.2929 21.7071C9.90237 21.3166 9.90237 20.6834 10.2929 20.2929L14.5858 16L10.2929 11.7071C9.90237 11.3166 9.90237 10.6834 10.2929 10.2929Z" fill="white"/>
3888
- </svg>`, m && (W.innerHTML = m), M && C?.contentStyle && Object.assign(M.style, C?.contentStyle), l && C?.textStyle && Object.assign(l.style, C?.textStyle), m && b.appendChild(W), B.appendChild(l), b.appendChild(B), b.appendChild(D), M.appendChild(b), M.setAttribute(`${g}`, ""), b.setAttribute(`${g}`, ""), D.setAttribute(`${g}`, ""), l.setAttribute(`${g}`, ""), document.querySelector("body > .notifications_wrapper").appendChild(M);
3894
+ </svg>`, m && (W.innerHTML = m), M && w?.contentStyle && Object.assign(M.style, w?.contentStyle), l && w?.textStyle && Object.assign(l.style, w?.textStyle), m && b.appendChild(W), B.appendChild(l), b.appendChild(B), b.appendChild(D), M.appendChild(b), M.setAttribute(`${g}`, ""), b.setAttribute(`${g}`, ""), D.setAttribute(`${g}`, ""), l.setAttribute(`${g}`, ""), document.querySelector("body > .notifications_wrapper").appendChild(M);
3889
3895
  let h = !1;
3890
- document.querySelector(`#closeicon_${w}`).addEventListener("click", () => {
3891
- h = !0, Yn(w, o || 3500, h);
3892
- }), Yn(w, o || 3500);
3896
+ document.querySelector(`#closeicon_${k}`).addEventListener("click", () => {
3897
+ h = !0, Yn(k, o || 3500, h);
3898
+ }), Yn(k, o || 3500);
3893
3899
  }, ni = "InlineLoading-module__inlineLoadingWrapper", ri = "InlineLoading-module__loading", ti = "InlineLoading-module__dark", Rn = {
3894
3900
  inlineLoadingWrapper: ni,
3895
3901
  loading: ri,
@@ -3969,9 +3975,9 @@ const Na = ({
3969
3975
  onCollapse: c,
3970
3976
  onSelect: m,
3971
3977
  fromDropdown: f = !1,
3972
- withSelectAll: C = !1,
3978
+ withSelectAll: w = !1,
3973
3979
  withClearAll: u = !1,
3974
- expandedNodes: w,
3980
+ expandedNodes: k,
3975
3981
  setExpandedNodes: g,
3976
3982
  SearchValue: y,
3977
3983
  SelectedData: M,
@@ -4042,7 +4048,7 @@ const Na = ({
4042
4048
  checkboxProps: t,
4043
4049
  onCollapse: X,
4044
4050
  depth: 0,
4045
- expandedNodes: w,
4051
+ expandedNodes: k,
4046
4052
  SearchValue: y,
4047
4053
  SelectedData: M,
4048
4054
  theme: s,
@@ -4059,7 +4065,7 @@ const Na = ({
4059
4065
  )) }),
4060
4066
  f && /* @__PURE__ */ i("div", { className: Ve.dropdownListFooter, style: W, children: [
4061
4067
  u && /* @__PURE__ */ e("span", { onClick: q, style: D, children: "Clear All" }),
4062
- C && y === "" && /* @__PURE__ */ e("span", { onClick: V, style: D, children: "Select All" })
4068
+ w && y === "" && /* @__PURE__ */ e("span", { onClick: V, style: D, children: "Select All" })
4063
4069
  ] })
4064
4070
  ] });
4065
4071
  }, tr = ({
@@ -4069,9 +4075,9 @@ const Na = ({
4069
4075
  checkboxProps: c,
4070
4076
  onCollapse: m,
4071
4077
  depth: f,
4072
- expandedNodes: C,
4078
+ expandedNodes: w,
4073
4079
  SearchValue: u,
4074
- SelectedData: w,
4080
+ SelectedData: k,
4075
4081
  theme: g,
4076
4082
  treeContainerStyle: y,
4077
4083
  treeNodeItemStyle: M,
@@ -4082,7 +4088,7 @@ const Na = ({
4082
4088
  collapseToggleStyle: l,
4083
4089
  checkIndividualOnly: p
4084
4090
  }) => {
4085
- const h = C?.find((N) => N.id === r.id), s = w?.find((N) => N.id === r.id), [F, T] = O(h ? !1 : t), [P, I] = O(!1), A = () => {
4091
+ const h = w?.find((N) => N.id === r.id), s = k?.find((N) => N.id === r.id), [F, T] = O(h ? !1 : t), [P, I] = O(!1), A = () => {
4086
4092
  T((N) => !N), m?.(F, r);
4087
4093
  }, Y = () => {
4088
4094
  r.selected = !r.selected, o(r.id, r.selected, r), I((N) => !N);
@@ -4123,9 +4129,9 @@ const Na = ({
4123
4129
  checkboxProps: c,
4124
4130
  onCollapse: m,
4125
4131
  depth: f + 1,
4126
- expandedNodes: C,
4132
+ expandedNodes: w,
4127
4133
  SearchValue: u,
4128
- SelectedData: w,
4134
+ SelectedData: k,
4129
4135
  theme: g,
4130
4136
  treeContainerStyle: y,
4131
4137
  treeNodeItemStyle: M,
@@ -4169,9 +4175,9 @@ const Na = ({
4169
4175
  withLabel: c = !0,
4170
4176
  progressType: m = "circle",
4171
4177
  labelPosition: f = "right",
4172
- progressSize: C = "xs",
4178
+ progressSize: w = "xs",
4173
4179
  withTooltip: u = !1,
4174
- progressContainerStyle: w,
4180
+ progressContainerStyle: k,
4175
4181
  progressBarStyle: g,
4176
4182
  progressFillStyle: y,
4177
4183
  progressTextStyle: M,
@@ -4185,7 +4191,7 @@ const Na = ({
4185
4191
  size: null,
4186
4192
  strokeWidth: null
4187
4193
  };
4188
- switch (C) {
4194
+ switch (w) {
4189
4195
  case "xxs":
4190
4196
  n.size = 60, n.strokeWidth = 6;
4191
4197
  break;
@@ -4203,13 +4209,13 @@ const Na = ({
4203
4209
  break;
4204
4210
  }
4205
4211
  return n;
4206
- }, [C]), p = bn(() => {
4212
+ }, [w]), p = bn(() => {
4207
4213
  let n = {
4208
4214
  size: { width: null, height: null },
4209
4215
  strokeWidth: null,
4210
4216
  d: null
4211
4217
  };
4212
- switch (C) {
4218
+ switch (w) {
4213
4219
  case "xxs":
4214
4220
  n.size.width = 64, n.size.height = 36, n.strokeWidth = 6, n.d = "M61 32C61 28.1917 60.2499 24.4206 58.7925 20.9022C57.3351 17.3837 55.199 14.1868 52.5061 11.4939C49.8132 8.80101 46.6163 6.66488 43.0978 5.20749C39.5794 3.75011 35.8083 3 32 3C28.1917 3 24.4206 3.7501 20.9022 5.20749C17.3838 6.66487 14.1868 8.80099 11.4939 11.4939C8.80101 14.1868 6.66489 17.3837 5.2075 20.9022C3.75011 24.4206 3 28.1917 3 32";
4215
4221
  break;
@@ -4227,7 +4233,7 @@ const Na = ({
4227
4233
  break;
4228
4234
  }
4229
4235
  return n;
4230
- }, [C]), { size: h, strokeWidth: s } = m === "circle" ? l() : m === "semicircle" ? p() : {}, F = (h - s) / 2, T = 2 * Math.PI * F, P = T - r / 100 * T, [I, A] = O(0), [Y, X] = O(!1), N = re(null);
4236
+ }, [w]), { size: h, strokeWidth: s } = m === "circle" ? l() : m === "semicircle" ? p() : {}, F = (h - s) / 2, T = 2 * Math.PI * F, P = T - r / 100 * T, [I, A] = O(0), [Y, X] = O(!1), N = re(null);
4231
4237
  te(() => {
4232
4238
  if (N.current) {
4233
4239
  const v = N.current.getTotalLength();
@@ -4245,11 +4251,11 @@ const Na = ({
4245
4251
  };
4246
4252
  let R = u ? Un : "div";
4247
4253
  return /* @__PURE__ */ i(Ze, { children: [
4248
- m === "bar" && /* @__PURE__ */ i("div", { style: w ?? {}, className: `${D === "dark" ? Ae.dark : ""} ${Ae.progressContainer} ${Ae[f]}`, children: [
4254
+ m === "bar" && /* @__PURE__ */ i("div", { style: k ?? {}, className: `${D === "dark" ? Ae.dark : ""} ${Ae.progressContainer} ${Ae[f]}`, children: [
4249
4255
  /* @__PURE__ */ e("div", { className: Ae.progressBar, style: g ?? {}, children: /* @__PURE__ */ e("div", { className: Ae.progressFill, style: { width: `${r}%`, ...y ?? {} } }) }),
4250
4256
  /* @__PURE__ */ e("div", { className: Ae.progressText, style: M ?? {}, children: c && (t && typeof t == "function" ? t() : `${r}${o ? "%" : ""}`) })
4251
4257
  ] }),
4252
- m === "circle" && /* @__PURE__ */ i("div", { className: `${D === "dark" ? Ae.dark : ""} ${Ae.wrapper}`, style: { width: h, height: h, ...w ?? {} }, children: [
4258
+ m === "circle" && /* @__PURE__ */ i("div", { className: `${D === "dark" ? Ae.dark : ""} ${Ae.wrapper}`, style: { width: h, height: h, ...k ?? {} }, children: [
4253
4259
  /* @__PURE__ */ e(R, { ...b, children: /* @__PURE__ */ i("svg", { className: Ae.svg, width: h, height: h, children: [
4254
4260
  /* @__PURE__ */ e(
4255
4261
  "circle",
@@ -4280,7 +4286,7 @@ const Na = ({
4280
4286
  }
4281
4287
  )
4282
4288
  ] }) }),
4283
- /* @__PURE__ */ e("div", { className: `${Ae.progressText} ${Ae[C]}`, style: M ?? {}, children: c && (t && typeof t == "function" ? t() : `${r}${o ? "%" : ""}`) })
4289
+ /* @__PURE__ */ e("div", { className: `${Ae.progressText} ${Ae[w]}`, style: M ?? {}, children: c && (t && typeof t == "function" ? t() : `${r}${o ? "%" : ""}`) })
4284
4290
  ] }),
4285
4291
  m === "semicircle" && /* @__PURE__ */ i("div", { className: `${D === "dark" ? Ae.dark : ""} ${Ae.wrapper}`, style: { width: h.width, height: h.height }, children: [
4286
4292
  /* @__PURE__ */ e(Un, { ...b, children: /* @__PURE__ */ i(
@@ -4326,7 +4332,7 @@ const Na = ({
4326
4332
  ]
4327
4333
  }
4328
4334
  ) }),
4329
- c && /* @__PURE__ */ e("div", { className: `${Ae.progressText} ${Ae.semicircle} ${Ae[C]}`, style: M ?? {}, children: t ? typeof t == "function" ? t() : t : `${r}${o ? "%" : ""}` })
4335
+ c && /* @__PURE__ */ e("div", { className: `${Ae.progressText} ${Ae.semicircle} ${Ae[w]}`, style: M ?? {}, children: t ? typeof t == "function" ? t() : t : `${r}${o ? "%" : ""}` })
4330
4336
  ] })
4331
4337
  ] });
4332
4338
  }, Oi = "InputWithDropdown-module__inputWithDropdownWrapper", Zi = "InputWithDropdown-module__inputLabel", Yi = "InputWithDropdown-module__required", qi = "InputWithDropdown-module__inputContainer", Xi = "InputWithDropdown-module__inputWithDropdownContent", Ji = "InputWithDropdown-module__inputIcon", Qi = "InputWithDropdown-module__iconDown", es = "InputWithDropdown-module__currentCurrencyCode", ns = "InputWithDropdown-module__inputDropDown", rs = "InputWithDropdown-module__countryName", ts = "InputWithDropdown-module__hidden", os = "InputWithDropdown-module__visible", cs = "InputWithDropdown-module__checkIcon", as = "InputWithDropdown-module__disabled", ls = "InputWithDropdown-module__selected", is = "InputWithDropdown-module__focused", ss = "InputWithDropdown-module__error", ds = "InputWithDropdown-module__sm", us = "InputWithDropdown-module__md", ms = "InputWithDropdown-module__inputHelperText", ys = "InputWithDropdown-module__Namespace_Hr", fs = "InputWithDropdown-module__dark", ps = "InputWithDropdown-module__inputWrapper", _s = "InputWithDropdown-module__http", Re = {
@@ -6913,9 +6919,9 @@ const Na = ({
6913
6919
  required: c,
6914
6920
  disabled: m,
6915
6921
  disableDropdown: f,
6916
- maxLength: C,
6922
+ maxLength: w,
6917
6923
  currencyData: u,
6918
- type: w = "text",
6924
+ type: k = "text",
6919
6925
  readOnly: g,
6920
6926
  msg: y,
6921
6927
  size: M = "md",
@@ -6983,7 +6989,7 @@ const Na = ({
6983
6989
  _e(!0), z(), A && typeof A == "function" && A();
6984
6990
  }, $ = (L) => {
6985
6991
  const G = L.target.value, fe = G.length === 0;
6986
- w === "number" && (L.keyCode === 69 || !fe && (L.keyCode === 187 || L.keyCode === 107 || L.keyCode === 189 || L.keyCode === 109)) && L.preventDefault(), L.key === "Enter" && G && G.length > 0 && X && typeof X == "function" && X(G);
6992
+ k === "number" && (L.keyCode === 69 || !fe && (L.keyCode === 187 || L.keyCode === 107 || L.keyCode === 189 || L.keyCode === 109)) && L.preventDefault(), L.key === "Enter" && G && G.length > 0 && X && typeof X == "function" && X(G);
6987
6993
  }, E = () => ({ ...{}, ...F ?? {} }), z = () => {
6988
6994
  const L = _.current, G = ae.current;
6989
6995
  if (!G || !L) return;
@@ -7065,7 +7071,7 @@ const Na = ({
7065
7071
  {
7066
7072
  ref: Q,
7067
7073
  style: { ...T, ...W === "right" ? { borderLeft: "none", borderRight: "1px solid #D5D7DA" } : {} },
7068
- type: w ?? "text",
7074
+ type: k ?? "text",
7069
7075
  value: o,
7070
7076
  onChange: (L) => S(L),
7071
7077
  onFocus: J,
@@ -7076,7 +7082,7 @@ const Na = ({
7076
7082
  spellCheck: !1,
7077
7083
  placeholder: t ?? "",
7078
7084
  autoComplete: "off",
7079
- maxLength: C
7085
+ maxLength: w
7080
7086
  }
7081
7087
  ),
7082
7088
  he && /* @__PURE__ */ e("ul", { ref: ae, className: Re.inputDropDown, onClick: (L) => L.stopPropagation(), children: V.current.map((L, G) => /* @__PURE__ */ i("li", { onClick: () => H(L), children: [
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "master-components-react",
3
3
  "private": false,
4
- "version": "4.3.23",
4
+ "version": "4.3.25",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",