master-components-react 4.3.25 → 4.3.27

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 +201 -207
  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: w,
68
+ loading: C,
69
69
  withIcons: u,
70
- iconOne: k,
70
+ iconOne: w,
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
- ${w ? Je.loading : ""}
92
+ ${C ? 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 && 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" }) }),
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" }) }),
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: w,
172
+ activeStyle: C,
173
173
  checkBoxStyle: u,
174
- withActive: k = !0,
174
+ withActive: w = !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" } : w ?? {} : u ?? {},
183
+ style: b ? t ? { boxShadow: "none" } : C ?? {} : 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: w,
212
+ number: C,
213
213
  checkboxProps: u,
214
- disable: k,
214
+ disable: w,
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: w ?? "" }),
235
+ f && /* @__PURE__ */ e("div", { style: B ?? {}, className: cn.tagNumber, children: C ?? "" }),
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: w,
247
+ size: C,
248
248
  onChange: u,
249
- onFocus: k,
249
+ onFocus: w,
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), k && typeof k == "function" && k();
298
+ ne(!0), w && typeof w == "function" && w();
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[w ?? "sm"]}`,
340
+ className: `${$e.inputContainer} ${ke && !M ? $e.focused : ""} ${m ? $e.disabled : ""} ${y?.error ? $e.error : ""} ${$e[C ?? "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: w = !1,
484
+ withEmoji: C = !1,
485
485
  maxLength: u,
486
- withResize: k = !0,
486
+ withResize: w = !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} ${k ? Be.resize : ""}`, ref: N, children: [
572
+ /* @__PURE__ */ i("div", { className: `${Be.wrap} ${w ? 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
- w && /* @__PURE__ */ i("div", { ref: q, className: Be.popupEmojiContainer, children: [
594
+ C && /* @__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: w,
636
+ bgStyle: C,
637
637
  checkedBgStyle: u,
638
- disabledBgStyle: k,
638
+ disabledBgStyle: w,
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 && k)
653
- return k;
654
- } else if (w) return w;
652
+ if (t && w)
653
+ return w;
654
+ } else if (C) return C;
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: w,
694
+ radioWrapperStyle: C,
695
695
  radioStateStyle: u,
696
- innerCircleStyle: k,
696
+ innerCircleStyle: w,
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: w ?? {},
708
+ style: C ?? {},
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: k ?? {}, className: en.innerCircle }) })
712
+ /* @__PURE__ */ e("div", { style: u ?? {}, className: en.radioState, children: /* @__PURE__ */ e("div", { style: w ?? {}, 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: w,
771
+ readOnly: C,
772
772
  searchValue: u,
773
- onClearAll: k,
773
+ onClearAll: w,
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 = (C, 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 = (k, U) => {
823
823
  const Ne = /* @__PURE__ */ new Set();
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) => {
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) => {
828
828
  Ie((U) => {
829
829
  const Ne = new Set(U);
830
- Ne.has(C.id) ? Ne.delete(C.id) : Ne.add(C.id);
830
+ Ne.has(k.id) ? Ne.delete(k.id) : Ne.add(k.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 = (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);
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);
840
840
  } else
841
- He(C), ie(C);
841
+ He(k), ie(k);
842
842
  }, Ln = () => {
843
843
  if (Y || Y === 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]));
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]));
846
846
  }
847
- }, [Mn, kn] = O(!1), Tn = (C) => {
847
+ }, [Mn, kn] = O(!1), Tn = (k) => {
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(""), k && typeof k == "function" && k(), we((C) => !C);
851
+ Ie(/* @__PURE__ */ new Set()), ve.current = [], A([], !0), ie(""), w && typeof w == "function" && w(), we((k) => !k);
852
852
  }, In = () => {
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);
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);
855
855
  }, vn = re(!0);
856
856
  te(() => {
857
857
  if (vn.current) {
@@ -863,56 +863,50 @@ const wr = ({ loadingColor: r }) => /* @__PURE__ */ i(
863
863
  const An = () => {
864
864
  l && typeof l == "function" && l();
865
865
  }, En = async () => {
866
- if (!(Me || w)) {
866
+ if (!(Me || C)) {
867
867
  if (Z && typeof Z == "function") {
868
868
  Se(!0);
869
869
  try {
870
870
  await Z();
871
- } catch (C) {
872
- console.error("Error loading dropdown data:", C);
871
+ } catch (k) {
872
+ console.error("Error loading dropdown data:", k);
873
873
  } finally {
874
- Se(!1), await new Promise((C) => {
875
- requestAnimationFrame(() => {
876
- requestAnimationFrame(() => {
877
- C();
878
- });
879
- });
880
- });
874
+ Se(!1);
881
875
  }
882
876
  }
883
- Ee((C) => !C), Qe();
877
+ Ee((k) => !k), Qe();
884
878
  }
885
- }, a = (C) => C, ce = (C) => {
879
+ }, a = (k) => k, ce = (k) => {
886
880
  let U = !0, Ne = Fe;
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) => {
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) => {
891
885
  if (q) {
892
- if (C.composedPath().includes(qe.current)) return;
886
+ if (k.composedPath().includes(qe.current)) return;
893
887
  Ee(!1);
894
888
  }
895
889
  }, Qe = () => {
896
- const C = qe.current, U = nn.current;
897
- if (!U || !C) return;
898
- const Ne = C.getBoundingClientRect(), We = window.innerHeight;
890
+ const k = qe.current, U = nn.current;
891
+ if (!U || !k) return;
892
+ const Ne = k.getBoundingClientRect(), We = window.innerHeight;
899
893
  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)");
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);
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);
904
898
  }, hn = re(null);
905
899
  return te(() => {
906
900
  ge && hn.current && hn.current.focus();
907
901
  }, [ge]), te(() => {
908
902
  if (n) {
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(", "));
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(", "));
911
905
  }
912
906
  }, []), te(() => {
913
907
  if (n && I) {
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(", ")));
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(", ")));
916
910
  }
917
911
  }, [I, n]), te(() => {
918
912
  T && u && u.length > 0 && He(u), be.current = I;
@@ -953,7 +947,7 @@ const wr = ({ loadingColor: r }) => /* @__PURE__ */ i(
953
947
  onFocus: An,
954
948
  ref: qe,
955
949
  onClick: En,
956
- className: `${xe.dropdownContainer} ${ge && !w ? xe.focused : ""} ${o ? xe.disabled : ""} ${f?.error ? xe.error : ""} ${xe[c]} ${Me ? xe.loading : ""}`,
950
+ className: `${xe.dropdownContainer} ${ge && !C ? xe.focused : ""} ${o ? xe.disabled : ""} ${f?.error ? xe.error : ""} ${xe[c]} ${Me ? xe.loading : ""}`,
957
951
  style: $ ?? {},
958
952
  children: [
959
953
  T ? /* @__PURE__ */ i("div", { children: [
@@ -967,13 +961,13 @@ const wr = ({ loadingColor: r }) => /* @__PURE__ */ i(
967
961
  className: xe.selectedTags,
968
962
  style: { width: !ge && ve.current.length === 0 ? 0 : "calc(100% - 2.25rem)", ...z ?? {} },
969
963
  children: !T && !ge ? /* @__PURE__ */ i("div", { style: { display: "flex", alignItems: "center", justifyContent: "flex-start", width: "100%" }, children: [
970
- ve.current.slice(0, 3).map((C, U) => {
964
+ ve.current.slice(0, 3).map((k, U) => {
971
965
  let Ne = ve.current[ve.current.length - 1];
972
966
  return /* @__PURE__ */ i("span", { className: xe.selectedList, style: le ?? {}, children: [
973
- C.label,
974
- C.id !== Ne.id && U !== 2 ? "," : "",
967
+ k.label,
968
+ k.id !== Ne.id && U !== 2 ? "," : "",
975
969
  "  "
976
- ] }, C?.id);
970
+ ] }, k?.id);
977
971
  }),
978
972
  ve.current.length > 3 && /* @__PURE__ */ i("div", { className: xe.additional, style: G ?? {}, children: [
979
973
  "+",
@@ -983,13 +977,13 @@ const wr = ({ loadingColor: r }) => /* @__PURE__ */ i(
983
977
  "input",
984
978
  {
985
979
  ref: hn,
986
- onClick: (C) => (C.stopPropagation(), Ee(!0)),
980
+ onClick: (k) => (k.stopPropagation(), Ee(!0)),
987
981
  autoCorrect: "off",
988
982
  placeholder: Me ? "Loading..." : "Search...",
989
983
  type: "text",
990
984
  readOnly: Me,
991
985
  ...T || M ? { value: Ce } : {},
992
- onChange: (C) => _n(C.target.value)
986
+ onChange: (k) => _n(k.target.value)
993
987
  },
994
988
  Y
995
989
  )
@@ -1004,11 +998,11 @@ const wr = ({ loadingColor: r }) => /* @__PURE__ */ i(
1004
998
  readOnly: !X || !ge || n || b || Me,
1005
999
  type: "text",
1006
1000
  value: (n || b) && !T && ge ? "" : Fe,
1007
- onChange: (C) => _n(C.target.value)
1001
+ onChange: (k) => _n(k.target.value)
1008
1002
  },
1009
1003
  Y
1010
1004
  ),
1011
- I && I.length > 0 && ge && !Me && /* @__PURE__ */ i("div", { ref: nn, onClick: (C) => C.stopPropagation(), className: xe.dropdownListContainer, children: [
1005
+ I && I.length > 0 && ge && !Me && /* @__PURE__ */ i("div", { ref: nn, onClick: (k) => k.stopPropagation(), className: xe.dropdownListContainer, children: [
1012
1006
  b ? /* @__PURE__ */ e(
1013
1007
  $i,
1014
1008
  {
@@ -1027,25 +1021,25 @@ const wr = ({ loadingColor: r }) => /* @__PURE__ */ i(
1027
1021
  theme: ne,
1028
1022
  ...ke
1029
1023
  }
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;
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;
1032
1026
  return /* @__PURE__ */ i(
1033
1027
  "li",
1034
1028
  {
1035
1029
  style: se ?? {},
1036
- className: `${!n && M ? xe[ce(C?.label ?? "-")] : ""} ${!C?.label || C.label === void 0 || C?.disabled ? xe.disabled : ""} ${U ? xe.selected : ""}`,
1030
+ className: `${!n && M ? xe[ce(k?.label ?? "-")] : ""} ${!k?.label || k.label === void 0 || k?.disabled ? xe.disabled : ""} ${U ? xe.selected : ""}`,
1037
1031
  onClick: () => {
1038
- n ? tn(C) : sn(C);
1032
+ n ? tn(k) : sn(k);
1039
1033
  },
1040
1034
  children: [
1041
1035
  /* @__PURE__ */ i("p", { children: [
1042
1036
  " ",
1043
- C?.customLabel ? C.customLabel() : C?.label ?? "-"
1037
+ k?.customLabel ? k.customLabel() : k?.label ?? "-"
1044
1038
  ] }),
1045
1039
  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 }) })
1046
1040
  ]
1047
1041
  },
1048
- C?.id
1042
+ k?.id
1049
1043
  );
1050
1044
  }) }),
1051
1045
  n && P && /* @__PURE__ */ i("div", { className: xe.dropdownListFooter, children: [
@@ -1053,7 +1047,7 @@ const wr = ({ loadingColor: r }) => /* @__PURE__ */ i(
1053
1047
  h && /* @__PURE__ */ e("span", { onClick: Sn, children: "Clear All" })
1054
1048
  ] })
1055
1049
  ] }),
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 }) }),
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 }) }),
1057
1051
  ae ? a(ae) : /* @__PURE__ */ e(
1058
1052
  "div",
1059
1053
  {
@@ -1092,9 +1086,9 @@ const wr = ({ loadingColor: r }) => /* @__PURE__ */ i(
1092
1086
  triggerClear: c = !1,
1093
1087
  placement: m = "top",
1094
1088
  trigger: f = "hover",
1095
- title: w,
1089
+ title: C,
1096
1090
  text: u,
1097
- customText: k,
1091
+ customText: w,
1098
1092
  tooltipContentStyle: g,
1099
1093
  tooltipTitlestyle: y,
1100
1094
  tooltipTextStyle: M,
@@ -1113,7 +1107,7 @@ const wr = ({ loadingColor: r }) => /* @__PURE__ */ i(
1113
1107
  }) => {
1114
1108
  const A = re(null), Y = re(null);
1115
1109
  let X;
1116
- const [N, q] = O(!1), V = o || w || u || k, R = () => {
1110
+ const [N, q] = O(!1), V = o || C || u || w, R = () => {
1117
1111
  f === "hover" && V && (X = setTimeout(() => {
1118
1112
  q(!0);
1119
1113
  }, t));
@@ -1144,7 +1138,7 @@ const wr = ({ loadingColor: r }) => /* @__PURE__ */ i(
1144
1138
  };
1145
1139
  return te(() => {
1146
1140
  d();
1147
- }, [A, N, r, m, o, k, w, u]), te(() => {
1141
+ }, [A, N, r, m, o, w, C, u]), te(() => {
1148
1142
  const x = (Q) => {
1149
1143
  A.current?.contains(Q.target) || q(!1);
1150
1144
  }, j = (Q) => {
@@ -1188,8 +1182,8 @@ const wr = ({ loadingColor: r }) => /* @__PURE__ */ i(
1188
1182
  ref: Y,
1189
1183
  className: `${Oe.tooltipContent} ${m ? Oe[m] : Oe.bottom}`,
1190
1184
  children: [
1191
- k && typeof k == "function" && k(),
1192
- w && w.length > 0 && /* @__PURE__ */ e("h2", { className: Oe.tooltipTitle, style: y ?? {}, children: w }),
1185
+ w && typeof w == "function" && w(),
1186
+ C && C.length > 0 && /* @__PURE__ */ e("h2", { className: Oe.tooltipTitle, style: y ?? {}, children: C }),
1193
1187
  u && u.length > 0 && /* @__PURE__ */ e("p", { className: Oe.tooltipText, style: M ?? {}, children: u })
1194
1188
  ]
1195
1189
  }
@@ -1259,10 +1253,10 @@ const Qn = (r, o) => {
1259
1253
  children: c,
1260
1254
  onClickOutside: m,
1261
1255
  onClose: f,
1262
- widthType: w,
1256
+ widthType: C,
1263
1257
  // "horizontal"
1264
1258
  modalOverlayStyle: u,
1265
- popupContainerStyle: k,
1259
+ popupContainerStyle: w,
1266
1260
  templateWrapperStyle: g,
1267
1261
  popupHeaderStyle: y,
1268
1262
  popupTitleStyle: M,
@@ -1299,12 +1293,12 @@ const Qn = (r, o) => {
1299
1293
  children: /* @__PURE__ */ i(
1300
1294
  "div",
1301
1295
  {
1302
- style: k ?? {},
1296
+ style: w ?? {},
1303
1297
  className: `
1304
1298
  mcPopup_global
1305
1299
  ${Ke.popupContainer}
1306
1300
  ${t?.type ? Ke.withOptions : ""}
1307
- ${w === "horizontal" ? Ke.horizontal : ""}
1301
+ ${C === "horizontal" ? Ke.horizontal : ""}
1308
1302
  `,
1309
1303
  children: [
1310
1304
  /* @__PURE__ */ e("div", { className: Ke.closeButton, style: b ?? {}, onClick: D, children: /* @__PURE__ */ e(
@@ -1404,7 +1398,7 @@ var er = { exports: {} };
1404
1398
  (function(t, c) {
1405
1399
  r.exports = c();
1406
1400
  })(Wc, function() {
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) {
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) {
1408
1402
  return (l = +l) + (l > 68 ? 1900 : 2e3);
1409
1403
  }, y = function(l) {
1410
1404
  return function(p) {
@@ -1417,10 +1411,10 @@ var er = { exports: {} };
1417
1411
  return s === 0 ? 0 : h[0] === "+" ? -s : s;
1418
1412
  }(l);
1419
1413
  }], b = function(l) {
1420
- var p = k[l];
1414
+ var p = w[l];
1421
1415
  return p && (p.indexOf ? p : p.s.concat(p.f));
1422
1416
  }, B = function(l, p) {
1423
- var h, s = k.meridiem;
1417
+ var h, s = w.meridiem;
1424
1418
  if (s) {
1425
1419
  for (var F = 1; F <= 24; F += 1) if (l.indexOf(s(F, 0, p)) > -1) {
1426
1420
  h = F > 12;
@@ -1440,10 +1434,10 @@ var er = { exports: {} };
1440
1434
  this.milliseconds = 10 * +l;
1441
1435
  }], SSS: [/\d{3}/, function(l) {
1442
1436
  this.milliseconds = +l;
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+/);
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+/);
1445
1439
  if (this.day = h[0], p) for (var s = 1; s <= 31; s += 1) p(s).replace(/\[|\]/g, "") === l && (this.day = s);
1446
- }], w: [w, y("week")], ww: [f, y("week")], M: [w, y("month")], MM: [f, y("month")], MMM: [u, function(l) {
1440
+ }], w: [C, y("week")], ww: [f, y("week")], M: [C, y("month")], MM: [f, y("month")], MMM: [u, function(l) {
1447
1441
  var p = b("months"), h = (b("monthsShort") || p.map(function(s) {
1448
1442
  return s.slice(0, 3);
1449
1443
  })).indexOf(l) + 1;
@@ -1458,7 +1452,7 @@ var er = { exports: {} };
1458
1452
  }], YYYY: [/\d{4}/, y("year")], Z: M, ZZ: M };
1459
1453
  function D(l) {
1460
1454
  var p, h;
1461
- p = l, h = k && k.formats;
1455
+ p = l, h = w && w.formats;
1462
1456
  for (var s = (l = p.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(X, N, q) {
1463
1457
  var V = q && q.toUpperCase();
1464
1458
  return N || h[q] || t[q] || h[V].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(R, n, v) {
@@ -1495,7 +1489,7 @@ var er = { exports: {} };
1495
1489
  var Y = A[1];
1496
1490
  if (typeof Y == "string") {
1497
1491
  var X = A[2] === !0, N = A[3] === !0, q = X || N, V = A[2];
1498
- N && (V = A[2]), k = this.$locale(), !X && V && (k = h.Ls[V]), this.$d = function(d, x, j, Q) {
1492
+ N && (V = A[2]), w = this.$locale(), !X && V && (w = h.Ls[V]), this.$d = function(d, x, j, Q) {
1499
1493
  try {
1500
1494
  if (["x", "X"].indexOf(x) > -1) return new Date((x === "X" ? 1e3 : 1) * d);
1501
1495
  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;
@@ -1505,7 +1499,7 @@ var er = { exports: {} };
1505
1499
  } catch {
1506
1500
  return /* @__PURE__ */ new Date("");
1507
1501
  }
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 = {};
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 = {};
1509
1503
  } else if (Y instanceof Array) for (var R = Y.length, n = 1; n <= R; n += 1) {
1510
1504
  A[1] = Y[n - 1];
1511
1505
  var v = h.apply(this, A);
@@ -1530,9 +1524,9 @@ const Kc = ({
1530
1524
  format: c = "HH:mm",
1531
1525
  defaultHour: m,
1532
1526
  defaultMinute: f,
1533
- defaultValue: w,
1527
+ defaultValue: C,
1534
1528
  size: u = "md",
1535
- msg: k,
1529
+ msg: w,
1536
1530
  onTimeChange: g,
1537
1531
  onFocus: y,
1538
1532
  onBlur: M,
@@ -1594,8 +1588,8 @@ const Kc = ({
1594
1588
  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)");
1595
1589
  }, J = re(!0);
1596
1590
  return te(() => {
1597
- if (w) {
1598
- const $ = K(w, [c], !0);
1591
+ if (C) {
1592
+ const $ = K(C, [c], !0);
1599
1593
  n.current = $.format("HH"), R.current = $.format("mm"), V($.format(c));
1600
1594
  } else if (m) {
1601
1595
  const $ = K().hour(parseInt(m, 10)).minute(parseInt(f ?? "0", 10)).format(c ?? "HH:mm");
@@ -1698,7 +1692,7 @@ const Kc = ({
1698
1692
  ]
1699
1693
  }
1700
1694
  ),
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 }) })
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 }) })
1702
1696
  ] });
1703
1697
  }, 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 = {
1704
1698
  datepickerContainer: Vc,
@@ -1747,9 +1741,9 @@ const Da = ({
1747
1741
  CurrentMonth: c,
1748
1742
  setCurrentMonth: m,
1749
1743
  SelectedDate: f,
1750
- namespace: w,
1744
+ namespace: C,
1751
1745
  customYears: u,
1752
- setSelectedDate: k,
1746
+ setSelectedDate: w,
1753
1747
  IsFocused: g,
1754
1748
  setIsFocused: y,
1755
1749
  mode: M,
@@ -1834,7 +1828,7 @@ const Da = ({
1834
1828
  }), n.current = Qn(n.current, "key"), _ = n.current, _;
1835
1829
  }, Q = (_) => {
1836
1830
  let S = { start: "", end: "" };
1837
- switch (k(null), _.key.toLowerCase()) {
1831
+ switch (w(null), _.key.toLowerCase()) {
1838
1832
  case "today":
1839
1833
  B({
1840
1834
  start: K(),
@@ -1842,7 +1836,7 @@ const Da = ({
1842
1836
  }), S.start = K();
1843
1837
  break;
1844
1838
  case "yesterday":
1845
- k(K().subtract(1, "day")), B({
1839
+ w(K().subtract(1, "day")), B({
1846
1840
  start: K().subtract(1, "day"),
1847
1841
  end: K().subtract(1, "day")
1848
1842
  }), S.start = K().subtract(1, "day");
@@ -1911,7 +1905,7 @@ const Da = ({
1911
1905
  }), { start: _ ?? "", end: J?.start ?? "" }) : (t({
1912
1906
  ...J,
1913
1907
  end: _ ?? ""
1914
- }), { ...J, end: _ ?? "" }) : J) : (B({ start: null, end: null }), k(_), H || (y(!1), t && typeof t == "function" && t(_.format(r ?? r))));
1908
+ }), { ...J, end: _ ?? "" }) : J) : (B({ start: null, end: null }), w(_), H || (y(!1), t && typeof t == "function" && t(_.format(r ?? r))));
1915
1909
  }, pe = () => {
1916
1910
  m(c.add(1, "month"));
1917
1911
  }, _e = () => {
@@ -1927,7 +1921,7 @@ const Da = ({
1927
1921
  "div",
1928
1922
  {
1929
1923
  ref: h,
1930
- className: `${V === "dark" ? ue.dark : ""} ${w === "namespaceHr" ? ue.namespaceHr : ""} ${ue.datePicker} ${g ? ue.focused : ""} ${W === "dual" ? o && o.length ? ue.dualCalendarWithQuick : ue.dualCalendar : ""} `,
1924
+ className: `${V === "dark" ? ue.dark : ""} ${C === "namespaceHr" ? ue.namespaceHr : ""} ${ue.datePicker} ${g ? ue.focused : ""} ${W === "dual" ? o && o.length ? ue.dualCalendarWithQuick : ue.dualCalendar : ""} `,
1931
1925
  onClick: (_) => _.stopPropagation(),
1932
1926
  style: W === "dual" && o && o.length > 0 ? { width: "848px" } : {},
1933
1927
  children: [
@@ -2071,9 +2065,9 @@ const Na = ({
2071
2065
  defaultValue: c,
2072
2066
  size: m = "md",
2073
2067
  valueFormat: f = "DD-MM-YYYY",
2074
- onlyIcon: w = !1,
2068
+ onlyIcon: C = !1,
2075
2069
  onChange: u,
2076
- onBlur: k,
2070
+ onBlur: w,
2077
2071
  onFocus: g,
2078
2072
  customYears: y,
2079
2073
  fixedDropdown: M = !0,
@@ -2128,7 +2122,7 @@ const Na = ({
2128
2122
  }, fe = () => {
2129
2123
  g && typeof g == "function" && g();
2130
2124
  }, se = () => {
2131
- k && typeof k == "function" && k();
2125
+ w && typeof w == "function" && w();
2132
2126
  }, ke = () => {
2133
2127
  const ne = E.current, de = he.current;
2134
2128
  if (!de || !ne) return;
@@ -2155,7 +2149,7 @@ const Na = ({
2155
2149
  " ",
2156
2150
  /* @__PURE__ */ e("span", { className: Ue.required, style: h ?? {}, children: o && "*" })
2157
2151
  ] }),
2158
- w ? /* @__PURE__ */ e(
2152
+ C ? /* @__PURE__ */ e(
2159
2153
  "div",
2160
2154
  {
2161
2155
  ref: E,
@@ -2266,9 +2260,9 @@ const Na = ({
2266
2260
  max: c = 100,
2267
2261
  label: m = "top",
2268
2262
  showLabels: f = !1,
2269
- withPercent: w = !1,
2263
+ withPercent: C = !1,
2270
2264
  debounceTime: u,
2271
- onChange: k,
2265
+ onChange: w,
2272
2266
  theme: g,
2273
2267
  sliderContainerStyle: y,
2274
2268
  sliderStyle: M,
@@ -2306,7 +2300,7 @@ const Na = ({
2306
2300
  h.current = !1;
2307
2301
  return;
2308
2302
  }
2309
- k && typeof k == "function" && Y(() => k([s.minValue, s.maxValue]), u ?? 100);
2303
+ w && typeof w == "function" && Y(() => w([s.minValue, s.maxValue]), u ?? 100);
2310
2304
  }, [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: [
2311
2305
  /* @__PURE__ */ e("div", { className: ze.sliderProgress, style: { ...R, ...b ?? {} } }),
2312
2306
  /* @__PURE__ */ e(
@@ -2322,7 +2316,7 @@ const Na = ({
2322
2316
  onMouseDown: q("min"),
2323
2317
  children: f && (T.min || I.min) && /* @__PURE__ */ e("div", { style: B ?? {}, className: `${ze.values} ${ze[m]}`, children: /* @__PURE__ */ i("span", { style: W ?? {}, children: [
2324
2318
  s.minValue,
2325
- w && "%"
2319
+ C && "%"
2326
2320
  ] }) })
2327
2321
  }
2328
2322
  ),
@@ -2339,7 +2333,7 @@ const Na = ({
2339
2333
  onMouseDown: q("max"),
2340
2334
  children: f && (T.max || I.max) && /* @__PURE__ */ e("div", { style: B ?? {}, className: `${ze.values} ${ze[m]}`, children: /* @__PURE__ */ i("span", { style: W ?? {}, children: [
2341
2335
  s.maxValue,
2342
- w && "%"
2336
+ C && "%"
2343
2337
  ] }) })
2344
2338
  }
2345
2339
  )
@@ -2351,9 +2345,9 @@ const Na = ({
2351
2345
  deleteDate: c,
2352
2346
  setdeleteDate: m,
2353
2347
  setdeleteTime: f,
2354
- deleteTime: w,
2348
+ deleteTime: C,
2355
2349
  renderComp: u,
2356
- isLastElement: k,
2350
+ isLastElement: w,
2357
2351
  theme: g,
2358
2352
  onSingleChange: y,
2359
2353
  fieldGap: M,
@@ -2499,7 +2493,7 @@ const Na = ({
2499
2493
  {
2500
2494
  ...n.props,
2501
2495
  label: n.label,
2502
- key: w,
2496
+ key: C,
2503
2497
  theme: g,
2504
2498
  defaultHour: n.value.length > 0 ? n.value[0].time.split(":")[0] : n.value,
2505
2499
  defaultMinute: n.value.length > 0 ? n.value[0].time.split(":")[1] : n.value,
@@ -2616,7 +2610,7 @@ const Na = ({
2616
2610
  /* @__PURE__ */ e("p", { className: Le.titleSubText, children: r?.subText ?? "" })
2617
2611
  ] }),
2618
2612
  /* @__PURE__ */ e("div", { className: Le.renderComponent, children: R() }),
2619
- !k && /* @__PURE__ */ e("hr", {})
2613
+ !w && /* @__PURE__ */ e("hr", {})
2620
2614
  ] });
2621
2615
  }, 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 = ({
2622
2616
  onApply: r,
@@ -2626,9 +2620,9 @@ const Na = ({
2626
2620
  tagPosition: m = "bottom",
2627
2621
  // sude,bottom
2628
2622
  rowReverse: f = !0,
2629
- filterIcon: w,
2623
+ filterIcon: C,
2630
2624
  withSearch: u = !1,
2631
- searchProps: k,
2625
+ searchProps: w,
2632
2626
  onSearch: g,
2633
2627
  visibleTagsNumber: y,
2634
2628
  children: M,
@@ -2709,7 +2703,7 @@ const Na = ({
2709
2703
  u && /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
2710
2704
  xn,
2711
2705
  {
2712
- ...k ?? {},
2706
+ ...w ?? {},
2713
2707
  leftIcon: /* @__PURE__ */ e(Jn, {}),
2714
2708
  value: d,
2715
2709
  placeholder: "Search",
@@ -2735,7 +2729,7 @@ const Na = ({
2735
2729
  justifyContent: "center",
2736
2730
  alignItems: "center"
2737
2731
  },
2738
- children: w || /* @__PURE__ */ e(nr, {})
2732
+ children: C || /* @__PURE__ */ e(nr, {})
2739
2733
  }
2740
2734
  ),
2741
2735
  /* @__PURE__ */ i("span", { className: Le.filter, style: A?.style ?? {}, children: [
@@ -2901,9 +2895,9 @@ const Na = ({
2901
2895
  independentStep: c,
2902
2896
  fillIcon: m,
2903
2897
  stepIcon: f,
2904
- emptyIcon: w,
2898
+ emptyIcon: C,
2905
2899
  gap: u = 20,
2906
- vertical: k = !1,
2900
+ vertical: w = !1,
2907
2901
  stepsStyle: g,
2908
2902
  currentStepStyle: y,
2909
2903
  progressBarStyle: M,
@@ -2913,7 +2907,7 @@ const Na = ({
2913
2907
  }) => {
2914
2908
  const D = Ye(), l = (s) => {
2915
2909
  t && typeof t == "function" && c && t(s);
2916
- }, p = (s) => k ? { ...s.id === o[o.length - 1].id ? { height: "0", top: 0, left: 0 } : s.id === o[o.length - 2].id ? {
2910
+ }, p = (s) => w ? { ...s.id === o[o.length - 1].id ? { height: "0", top: 0, left: 0 } : s.id === o[o.length - 2].id ? {
2917
2911
  height: `calc(100% + ${u}px`,
2918
2912
  top: "50%",
2919
2913
  backgroundColor: r > s?.id ? D === "namespaceHr" ? "#00813A" : "#7F56D9" : "#E9EAEB"
@@ -2933,7 +2927,7 @@ const Na = ({
2933
2927
  return /* @__PURE__ */ e(
2934
2928
  "div",
2935
2929
  {
2936
- className: `${W === "dark" ? De.dark : ""} ${De[D]} ${De.steps} ${k ? De.vertical : ""}`,
2930
+ className: `${W === "dark" ? De.dark : ""} ${De[D]} ${De.steps} ${w ? De.vertical : ""}`,
2937
2931
  style: { ...g, gap: u + "px" },
2938
2932
  children: o.map((s) => /* @__PURE__ */ i(
2939
2933
  "div",
@@ -2942,8 +2936,8 @@ const Na = ({
2942
2936
  className: `${De.currentStep} ${s.disabled ? De.disabled : ""}`,
2943
2937
  onClick: () => l(s),
2944
2938
  children: [
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 }) }) }) }) }) }),
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 }) }) }) }) }) }),
2947
2941
  /* @__PURE__ */ i("div", { className: `${De.texts} ${s.id === r ? De.currentText : {}}`, style: B ?? {}, children: [
2948
2942
  /* @__PURE__ */ e("p", { style: s?.titleStyle ?? {}, className: De.name, children: s?.name }),
2949
2943
  typeof s?.subTitle == "function" ? s.subTitle() : /* @__PURE__ */ e("p", { className: De.subTitle, style: s?.subTitleStyle ? { ...s.subTitleStyle } : {}, children: s?.subTitle ?? "" }) ?? ""
@@ -2967,7 +2961,7 @@ const Na = ({
2967
2961
  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"
2968
2962
  }
2969
2963
  ) }), ul = ({ items: r, change: o, theme: t }) => {
2970
- const c = re(r), [m, f] = O(null), [w, u] = O(!1), [k, g] = O(!1), y = re(null), M = re(null);
2964
+ const c = re(r), [m, f] = O(null), [C, u] = O(!1), [w, g] = O(!1), y = re(null), M = re(null);
2971
2965
  te(() => (document.addEventListener("click", b), () => {
2972
2966
  document.removeEventListener("click", b);
2973
2967
  }), []);
@@ -2994,9 +2988,9 @@ const Na = ({
2994
2988
  }, s = () => {
2995
2989
  u((F) => !F);
2996
2990
  };
2997
- return /* @__PURE__ */ i("div", { className: `${t === "dark" ? fn.dark : ""} ${fn.configureWrapper} ${w ? fn.active : ""}`, ref: M, children: [
2991
+ return /* @__PURE__ */ i("div", { className: `${t === "dark" ? fn.dark : ""} ${fn.configureWrapper} ${C ? fn.active : ""}`, ref: M, children: [
2998
2992
  /* @__PURE__ */ e("div", { className: fn.iconWrapper, onClick: s, children: /* @__PURE__ */ e(nr, {}) }),
2999
- w && /* @__PURE__ */ e("ul", { className: "draggable-list", ref: y, children: c.current.map((F, T) => /* @__PURE__ */ i(
2993
+ C && /* @__PURE__ */ e("ul", { className: "draggable-list", ref: y, children: c.current.map((F, T) => /* @__PURE__ */ i(
3000
2994
  "li",
3001
2995
  {
3002
2996
  className: `draggable-item${T === m ? " dragged" : ""} ${F.visible ? "" : fn.notVisible}`,
@@ -3044,14 +3038,14 @@ const Na = ({
3044
3038
  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"
3045
3039
  }
3046
3040
  )
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({
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({
3049
3043
  top: 0,
3050
3044
  left: 0
3051
3045
  }), M = (l) => {
3052
3046
  o && typeof o == "function" && (o(!c), b());
3053
3047
  }, b = () => {
3054
- const l = k.current.getBoundingClientRect(), p = g.current.getBoundingClientRect();
3048
+ const l = w.current.getBoundingClientRect(), p = g.current.getBoundingClientRect();
3055
3049
  y.current.top = l.top + p.height + 20, y.current.left = l.left - p.width / 1.5;
3056
3050
  }, B = (l, p) => {
3057
3051
  m[p.disableKey] || p.event && typeof p.event == "function" && p.event(p.type, m);
@@ -3076,10 +3070,10 @@ const Na = ({
3076
3070
  "div",
3077
3071
  {
3078
3072
  id: `datagrid_action_data_id_${t}`,
3079
- className: `${w === "dark" ? an.dark : ""} ${an.actionsWrapper} datagrid_action_data_controller`,
3073
+ className: `${C === "dark" ? an.dark : ""} ${an.actionsWrapper} datagrid_action_data_controller`,
3080
3074
  onClick: (l) => l.stopPropagation(),
3081
3075
  children: [
3082
- /* @__PURE__ */ i("div", { className: an.moreActionsButton, onClick: (l) => M(), ref: k, children: [
3076
+ /* @__PURE__ */ i("div", { className: an.moreActionsButton, onClick: (l) => M(), ref: w, children: [
3083
3077
  /* @__PURE__ */ e("div", {}),
3084
3078
  /* @__PURE__ */ e("div", {}),
3085
3079
  /* @__PURE__ */ e("div", {})
@@ -3127,8 +3121,8 @@ const Na = ({
3127
3121
  dark: vl,
3128
3122
  datagridDeleteAllAction: $l
3129
3123
  }, xl = ar((r, o) => {
3130
- const [t, c] = O(0), m = (w) => {
3131
- c(w);
3124
+ const [t, c] = O(0), m = (C) => {
3125
+ c(C);
3132
3126
  };
3133
3127
  lr(o, () => ({
3134
3128
  setValue: m
@@ -3151,9 +3145,9 @@ const Na = ({
3151
3145
  keyExpr: c,
3152
3146
  theme: m,
3153
3147
  height: f,
3154
- focusedRowEnabled: w = !0,
3148
+ focusedRowEnabled: C = !0,
3155
3149
  rowAlternationEnabled: u,
3156
- columnAutoWidth: k = !0,
3150
+ columnAutoWidth: w = !0,
3157
3151
  // custom store
3158
3152
  withCustomStore: g,
3159
3153
  withGrouping: y,
@@ -3245,7 +3239,7 @@ const Na = ({
3245
3239
  Te ? Qe = !Te.classList.contains("dx-hidden") : Qe = !1, Xe.style.display = Qe ? "block" : "none";
3246
3240
  }
3247
3241
  }, qe = (a) => {
3248
- w && Y?.mode === "multiple" && s && ie.current.setValue(a.selectedRowKeys.length), n && typeof n == "function" && n(a);
3242
+ C && Y?.mode === "multiple" && s && ie.current.setValue(a.selectedRowKeys.length), n && typeof n == "function" && n(a);
3249
3243
  }, nn = (a) => {
3250
3244
  v && typeof v == "function" && v(a);
3251
3245
  }, oe = (a) => {
@@ -3269,7 +3263,7 @@ const Na = ({
3269
3263
  U.querySelector("ul") ? U.style.overflow = "unset" : U.style.overflow = "hidden";
3270
3264
  });
3271
3265
  const Fn = Te.getBoundingClientRect(), hn = document.querySelector(".gridWrapper").getBoundingClientRect();
3272
- let C = {
3266
+ let k = {
3273
3267
  width: p?.width ?? "8rem",
3274
3268
  display: "block",
3275
3269
  position: "absolute",
@@ -3278,9 +3272,9 @@ const Na = ({
3278
3272
  right: "18px",
3279
3273
  left: "auto"
3280
3274
  };
3281
- Fn.bottom > hn.bottom - 150 && (C.top = "unset", C.bottom = "100%", C.left = "-100px"), Xe.forEach((U) => {
3275
+ Fn.bottom > hn.bottom - 150 && (k.top = "unset", k.bottom = "100%", k.left = "-100px"), Xe.forEach((U) => {
3282
3276
  U.style.display = "none", U.style.pointerEvents = "none";
3283
- }), Object.assign(Qe.style, C);
3277
+ }), Object.assign(Qe.style, k);
3284
3278
  }, Mn = (a) => {
3285
3279
  Me.current = a, Ee((ce) => !ce), he && typeof he == "function" && he(Me.current);
3286
3280
  }, kn = (a) => {
@@ -3403,7 +3397,7 @@ const Na = ({
3403
3397
  keyExpr: c ?? "id",
3404
3398
  allowColumnReordering: !1,
3405
3399
  allowColumnResizing: de,
3406
- columnAutoWidth: k,
3400
+ columnAutoWidth: w,
3407
3401
  noDataText: se ?? "No Data",
3408
3402
  showColumnLines: !1,
3409
3403
  showRowLines: !0,
@@ -3425,7 +3419,7 @@ const Na = ({
3425
3419
  onEditCanceled: (a) => Ie(a, "onEditCanceled"),
3426
3420
  onContentReady: (a) => Ie(a, "onContentReady"),
3427
3421
  onOptionChanged: (a) => _n(a),
3428
- focusedRowEnabled: w,
3422
+ focusedRowEnabled: C,
3429
3423
  autoNavigateToFocusedRow: !1,
3430
3424
  onFocusedRowChanging: nn,
3431
3425
  onFocusedRowChanged: oe,
@@ -3551,18 +3545,18 @@ const Na = ({
3551
3545
  onItemClick: c,
3552
3546
  tabContainerStyle: m,
3553
3547
  singleTabStyle: f,
3554
- theme: w
3548
+ theme: C
3555
3549
  }) => {
3556
- const [u, k] = O(!1), g = (y) => {
3550
+ const [u, w] = O(!1), g = (y) => {
3557
3551
  y.active = !0, r.forEach((M) => {
3558
3552
  M.id === y.id ? M.active = !0 : M.active = !1;
3559
- }), c && typeof c == "function" && c(y), k((M) => !M);
3553
+ }), c && typeof c == "function" && c(y), w((M) => !M);
3560
3554
  };
3561
3555
  return /* @__PURE__ */ e(
3562
3556
  "div",
3563
3557
  {
3564
3558
  style: m ?? {},
3565
- className: `${w === "dark" ? ln.dark : ""} ${ln.tabContainer} ${ln[o]} ${t ? ln.vertical : ""}`,
3559
+ className: `${C === "dark" ? ln.dark : ""} ${ln.tabContainer} ${ln[o]} ${t ? ln.vertical : ""}`,
3566
3560
  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))
3567
3561
  }
3568
3562
  );
@@ -3581,17 +3575,17 @@ const Na = ({
3581
3575
  strokeLinecap: "round",
3582
3576
  strokeLinejoin: "round"
3583
3577
  }
3584
- ) }), Gl = ({ theme: r, file: o, onDelete: t, fileBlockWrapperStyle: c, fileNameStyle: m, textsStyle: f, nameStyle: w, sizeStyle: u, clearIcon: k, fileIcon: g }) => {
3578
+ ) }), Gl = ({ theme: r, file: o, onDelete: t, fileBlockWrapperStyle: c, fileNameStyle: m, textsStyle: f, nameStyle: C, sizeStyle: u, clearIcon: w, fileIcon: g }) => {
3585
3579
  const y = () => {
3586
3580
  t && typeof t == "function" && t(o);
3587
3581
  };
3588
3582
  return /* @__PURE__ */ e("div", { className: `${r === "dark" ? pn.dark : ""} ${pn.fileBlockWrapper}`, style: c ?? {}, children: /* @__PURE__ */ i("div", { className: pn.fileName, style: m ?? {}, children: [
3589
3583
  /* @__PURE__ */ e("div", { style: { display: "flex", alignItems: "center" }, children: g ?? /* @__PURE__ */ e(Ul, {}) }),
3590
3584
  /* @__PURE__ */ i("div", { className: pn.texts, style: f ?? {}, children: [
3591
- /* @__PURE__ */ e("span", { title: o && o?.fileName ? o.fileName : "-", style: w ?? {}, children: o && o?.fileName ? o.fileName : "-" }),
3585
+ /* @__PURE__ */ e("span", { title: o && o?.fileName ? o.fileName : "-", style: C ?? {}, children: o && o?.fileName ? o.fileName : "-" }),
3592
3586
  /* @__PURE__ */ e("span", { style: u ?? {}, className: pn.size, children: o && o?.unitSize ? o?.unitSize : "" })
3593
3587
  ] }),
3594
- /* @__PURE__ */ e("div", { className: pn.deleteFile, onClick: y, children: k ?? /* @__PURE__ */ e(Gn, { width: 16 }) })
3588
+ /* @__PURE__ */ e("div", { className: pn.deleteFile, onClick: y, children: w ?? /* @__PURE__ */ e(Gn, { width: 16 }) })
3595
3589
  ] }) });
3596
3590
  }, 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 = {
3597
3591
  fileUploaderWrapper: Kl,
@@ -3622,9 +3616,9 @@ const Na = ({
3622
3616
  acceptedFileFormats: m,
3623
3617
  // example: ['jpeg','png','svg','jpg'],
3624
3618
  title: f,
3625
- subTitle: w,
3619
+ subTitle: C,
3626
3620
  withResults: u = !0,
3627
- onFormatError: k,
3621
+ onFormatError: w,
3628
3622
  onMaxSizeError: g,
3629
3623
  defaultValue: y,
3630
3624
  type: M = "default",
@@ -3679,7 +3673,7 @@ const Na = ({
3679
3673
  fileID: crypto.randomUUID()
3680
3674
  };
3681
3675
  if (c && m && !m.includes(E.format.toLowerCase())) {
3682
- k && typeof k == "function" && k(E.format.toLowerCase());
3676
+ w && typeof w == "function" && w(E.format.toLowerCase());
3683
3677
  return;
3684
3678
  }
3685
3679
  t && H[$].size > t ? g && typeof g == "function" && g({ Error: "Max_Size_Error", MaxSize: t }) : J.push(E);
@@ -3713,7 +3707,7 @@ const Na = ({
3713
3707
  M !== "row" ? "or drag and drop" : "upload"
3714
3708
  ] })
3715
3709
  ] }) }) }),
3716
- w && typeof w == "function" ? w() : /* @__PURE__ */ e("p", { style: F ?? {}, className: Ge.subTitle, children: w ?? "" })
3710
+ C && typeof C == "function" ? C() : /* @__PURE__ */ e("p", { style: F ?? {}, className: Ge.subTitle, children: C ?? "" })
3717
3711
  ] })
3718
3712
  ] }),
3719
3713
  /* @__PURE__ */ e("div", { className: Ge.uploadAction, children: /* @__PURE__ */ e("input", { type: "file", name: "", id: q.current, multiple: !!r, onChange: he, accept: "" }) })
@@ -3875,12 +3869,12 @@ const Na = ({
3875
3869
  },
3876
3870
  t ? 0 : o
3877
3871
  );
3878
- }, Ms = (r, o, t, c, m, f, w) => {
3872
+ }, Ms = (r, o, t, c, m, f, C) => {
3879
3873
  document.querySelector('style[id="toast_notification_style_key"]') && document.querySelector('style[id="toast_notification_style_key"]').remove(), ei();
3880
3874
  let u = document.createElement("div");
3881
3875
  u.classList.add("notifications_wrapper", t || "bottom-right");
3882
- const k = crypto.randomUUID();
3883
- let g = `data-key-${k}`, y = document.querySelector("body > .notifications_wrapper");
3876
+ const w = crypto.randomUUID();
3877
+ let g = `data-key-${w}`, y = document.querySelector("body > .notifications_wrapper");
3884
3878
  if (!y)
3885
3879
  document.querySelector("body").appendChild(u);
3886
3880
  else {
@@ -3889,13 +3883,13 @@ const Na = ({
3889
3883
  }
3890
3884
  if (c && document.querySelector(".notifications_wrapper").childElementCount >= c) return;
3891
3885
  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";
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">
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">
3893
3887
  <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"/>
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);
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);
3895
3889
  let h = !1;
3896
- document.querySelector(`#closeicon_${k}`).addEventListener("click", () => {
3897
- h = !0, Yn(k, o || 3500, h);
3898
- }), Yn(k, o || 3500);
3890
+ document.querySelector(`#closeicon_${w}`).addEventListener("click", () => {
3891
+ h = !0, Yn(w, o || 3500, h);
3892
+ }), Yn(w, o || 3500);
3899
3893
  }, ni = "InlineLoading-module__inlineLoadingWrapper", ri = "InlineLoading-module__loading", ti = "InlineLoading-module__dark", Rn = {
3900
3894
  inlineLoadingWrapper: ni,
3901
3895
  loading: ri,
@@ -3975,9 +3969,9 @@ const Na = ({
3975
3969
  onCollapse: c,
3976
3970
  onSelect: m,
3977
3971
  fromDropdown: f = !1,
3978
- withSelectAll: w = !1,
3972
+ withSelectAll: C = !1,
3979
3973
  withClearAll: u = !1,
3980
- expandedNodes: k,
3974
+ expandedNodes: w,
3981
3975
  setExpandedNodes: g,
3982
3976
  SearchValue: y,
3983
3977
  SelectedData: M,
@@ -4048,7 +4042,7 @@ const Na = ({
4048
4042
  checkboxProps: t,
4049
4043
  onCollapse: X,
4050
4044
  depth: 0,
4051
- expandedNodes: k,
4045
+ expandedNodes: w,
4052
4046
  SearchValue: y,
4053
4047
  SelectedData: M,
4054
4048
  theme: s,
@@ -4065,7 +4059,7 @@ const Na = ({
4065
4059
  )) }),
4066
4060
  f && /* @__PURE__ */ i("div", { className: Ve.dropdownListFooter, style: W, children: [
4067
4061
  u && /* @__PURE__ */ e("span", { onClick: q, style: D, children: "Clear All" }),
4068
- w && y === "" && /* @__PURE__ */ e("span", { onClick: V, style: D, children: "Select All" })
4062
+ C && y === "" && /* @__PURE__ */ e("span", { onClick: V, style: D, children: "Select All" })
4069
4063
  ] })
4070
4064
  ] });
4071
4065
  }, tr = ({
@@ -4075,9 +4069,9 @@ const Na = ({
4075
4069
  checkboxProps: c,
4076
4070
  onCollapse: m,
4077
4071
  depth: f,
4078
- expandedNodes: w,
4072
+ expandedNodes: C,
4079
4073
  SearchValue: u,
4080
- SelectedData: k,
4074
+ SelectedData: w,
4081
4075
  theme: g,
4082
4076
  treeContainerStyle: y,
4083
4077
  treeNodeItemStyle: M,
@@ -4088,7 +4082,7 @@ const Na = ({
4088
4082
  collapseToggleStyle: l,
4089
4083
  checkIndividualOnly: p
4090
4084
  }) => {
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 = () => {
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 = () => {
4092
4086
  T((N) => !N), m?.(F, r);
4093
4087
  }, Y = () => {
4094
4088
  r.selected = !r.selected, o(r.id, r.selected, r), I((N) => !N);
@@ -4129,9 +4123,9 @@ const Na = ({
4129
4123
  checkboxProps: c,
4130
4124
  onCollapse: m,
4131
4125
  depth: f + 1,
4132
- expandedNodes: w,
4126
+ expandedNodes: C,
4133
4127
  SearchValue: u,
4134
- SelectedData: k,
4128
+ SelectedData: w,
4135
4129
  theme: g,
4136
4130
  treeContainerStyle: y,
4137
4131
  treeNodeItemStyle: M,
@@ -4175,9 +4169,9 @@ const Na = ({
4175
4169
  withLabel: c = !0,
4176
4170
  progressType: m = "circle",
4177
4171
  labelPosition: f = "right",
4178
- progressSize: w = "xs",
4172
+ progressSize: C = "xs",
4179
4173
  withTooltip: u = !1,
4180
- progressContainerStyle: k,
4174
+ progressContainerStyle: w,
4181
4175
  progressBarStyle: g,
4182
4176
  progressFillStyle: y,
4183
4177
  progressTextStyle: M,
@@ -4191,7 +4185,7 @@ const Na = ({
4191
4185
  size: null,
4192
4186
  strokeWidth: null
4193
4187
  };
4194
- switch (w) {
4188
+ switch (C) {
4195
4189
  case "xxs":
4196
4190
  n.size = 60, n.strokeWidth = 6;
4197
4191
  break;
@@ -4209,13 +4203,13 @@ const Na = ({
4209
4203
  break;
4210
4204
  }
4211
4205
  return n;
4212
- }, [w]), p = bn(() => {
4206
+ }, [C]), p = bn(() => {
4213
4207
  let n = {
4214
4208
  size: { width: null, height: null },
4215
4209
  strokeWidth: null,
4216
4210
  d: null
4217
4211
  };
4218
- switch (w) {
4212
+ switch (C) {
4219
4213
  case "xxs":
4220
4214
  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";
4221
4215
  break;
@@ -4233,7 +4227,7 @@ const Na = ({
4233
4227
  break;
4234
4228
  }
4235
4229
  return n;
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);
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);
4237
4231
  te(() => {
4238
4232
  if (N.current) {
4239
4233
  const v = N.current.getTotalLength();
@@ -4251,11 +4245,11 @@ const Na = ({
4251
4245
  };
4252
4246
  let R = u ? Un : "div";
4253
4247
  return /* @__PURE__ */ i(Ze, { children: [
4254
- m === "bar" && /* @__PURE__ */ i("div", { style: k ?? {}, className: `${D === "dark" ? Ae.dark : ""} ${Ae.progressContainer} ${Ae[f]}`, children: [
4248
+ m === "bar" && /* @__PURE__ */ i("div", { style: w ?? {}, className: `${D === "dark" ? Ae.dark : ""} ${Ae.progressContainer} ${Ae[f]}`, children: [
4255
4249
  /* @__PURE__ */ e("div", { className: Ae.progressBar, style: g ?? {}, children: /* @__PURE__ */ e("div", { className: Ae.progressFill, style: { width: `${r}%`, ...y ?? {} } }) }),
4256
4250
  /* @__PURE__ */ e("div", { className: Ae.progressText, style: M ?? {}, children: c && (t && typeof t == "function" ? t() : `${r}${o ? "%" : ""}`) })
4257
4251
  ] }),
4258
- m === "circle" && /* @__PURE__ */ i("div", { className: `${D === "dark" ? Ae.dark : ""} ${Ae.wrapper}`, style: { width: h, height: h, ...k ?? {} }, children: [
4252
+ m === "circle" && /* @__PURE__ */ i("div", { className: `${D === "dark" ? Ae.dark : ""} ${Ae.wrapper}`, style: { width: h, height: h, ...w ?? {} }, children: [
4259
4253
  /* @__PURE__ */ e(R, { ...b, children: /* @__PURE__ */ i("svg", { className: Ae.svg, width: h, height: h, children: [
4260
4254
  /* @__PURE__ */ e(
4261
4255
  "circle",
@@ -4286,7 +4280,7 @@ const Na = ({
4286
4280
  }
4287
4281
  )
4288
4282
  ] }) }),
4289
- /* @__PURE__ */ e("div", { className: `${Ae.progressText} ${Ae[w]}`, style: M ?? {}, children: c && (t && typeof t == "function" ? t() : `${r}${o ? "%" : ""}`) })
4283
+ /* @__PURE__ */ e("div", { className: `${Ae.progressText} ${Ae[C]}`, style: M ?? {}, children: c && (t && typeof t == "function" ? t() : `${r}${o ? "%" : ""}`) })
4290
4284
  ] }),
4291
4285
  m === "semicircle" && /* @__PURE__ */ i("div", { className: `${D === "dark" ? Ae.dark : ""} ${Ae.wrapper}`, style: { width: h.width, height: h.height }, children: [
4292
4286
  /* @__PURE__ */ e(Un, { ...b, children: /* @__PURE__ */ i(
@@ -4332,7 +4326,7 @@ const Na = ({
4332
4326
  ]
4333
4327
  }
4334
4328
  ) }),
4335
- c && /* @__PURE__ */ e("div", { className: `${Ae.progressText} ${Ae.semicircle} ${Ae[w]}`, style: M ?? {}, children: t ? typeof t == "function" ? t() : t : `${r}${o ? "%" : ""}` })
4329
+ c && /* @__PURE__ */ e("div", { className: `${Ae.progressText} ${Ae.semicircle} ${Ae[C]}`, style: M ?? {}, children: t ? typeof t == "function" ? t() : t : `${r}${o ? "%" : ""}` })
4336
4330
  ] })
4337
4331
  ] });
4338
4332
  }, 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 = {
@@ -6919,9 +6913,9 @@ const Na = ({
6919
6913
  required: c,
6920
6914
  disabled: m,
6921
6915
  disableDropdown: f,
6922
- maxLength: w,
6916
+ maxLength: C,
6923
6917
  currencyData: u,
6924
- type: k = "text",
6918
+ type: w = "text",
6925
6919
  readOnly: g,
6926
6920
  msg: y,
6927
6921
  size: M = "md",
@@ -6989,7 +6983,7 @@ const Na = ({
6989
6983
  _e(!0), z(), A && typeof A == "function" && A();
6990
6984
  }, $ = (L) => {
6991
6985
  const G = L.target.value, fe = G.length === 0;
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);
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);
6993
6987
  }, E = () => ({ ...{}, ...F ?? {} }), z = () => {
6994
6988
  const L = _.current, G = ae.current;
6995
6989
  if (!G || !L) return;
@@ -7071,7 +7065,7 @@ const Na = ({
7071
7065
  {
7072
7066
  ref: Q,
7073
7067
  style: { ...T, ...W === "right" ? { borderLeft: "none", borderRight: "1px solid #D5D7DA" } : {} },
7074
- type: k ?? "text",
7068
+ type: w ?? "text",
7075
7069
  value: o,
7076
7070
  onChange: (L) => S(L),
7077
7071
  onFocus: J,
@@ -7082,7 +7076,7 @@ const Na = ({
7082
7076
  spellCheck: !1,
7083
7077
  placeholder: t ?? "",
7084
7078
  autoComplete: "off",
7085
- maxLength: w
7079
+ maxLength: C
7086
7080
  }
7087
7081
  ),
7088
7082
  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.25",
4
+ "version": "4.3.27",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",