@hybr1d-tech/charizard 2.3.50 → 2.3.52

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.
package/dist/hybr1d-ui.js CHANGED
@@ -128,7 +128,7 @@ function Me() {
128
128
  return "Profiler";
129
129
  case g:
130
130
  return "StrictMode";
131
- case w:
131
+ case N:
132
132
  return "Suspense";
133
133
  case A:
134
134
  return "SuspenseList";
@@ -148,7 +148,7 @@ function Me() {
148
148
  case _:
149
149
  var F = z.render;
150
150
  return z = z.displayName, z || (z = F.displayName || F.name || "", z = z !== "" ? "ForwardRef(" + z + ")" : "ForwardRef"), z;
151
- case N:
151
+ case w:
152
152
  return F = z.displayName || null, F !== null ? F : e(z.type) || "Memo";
153
153
  case L:
154
154
  F = z._payload, z = z._init;
@@ -309,7 +309,7 @@ React keys must be passed directly to JSX without using spread:
309
309
  function p(z) {
310
310
  return typeof z == "object" && z !== null && z.$$typeof === x;
311
311
  }
312
- var h = X7, x = Symbol.for("react.transitional.element"), f = Symbol.for("react.portal"), C = Symbol.for("react.fragment"), g = Symbol.for("react.strict_mode"), q = Symbol.for("react.profiler"), I = Symbol.for("react.consumer"), y = Symbol.for("react.context"), _ = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), A = Symbol.for("react.suspense_list"), N = Symbol.for("react.memo"), L = Symbol.for("react.lazy"), j = Symbol.for("react.activity"), S = Symbol.for("react.client.reference"), B = h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, R = Object.prototype.hasOwnProperty, D = Array.isArray, X = console.createTask ? console.createTask : function() {
312
+ var h = X7, x = Symbol.for("react.transitional.element"), f = Symbol.for("react.portal"), C = Symbol.for("react.fragment"), g = Symbol.for("react.strict_mode"), q = Symbol.for("react.profiler"), I = Symbol.for("react.consumer"), y = Symbol.for("react.context"), _ = Symbol.for("react.forward_ref"), N = Symbol.for("react.suspense"), A = Symbol.for("react.suspense_list"), w = Symbol.for("react.memo"), L = Symbol.for("react.lazy"), j = Symbol.for("react.activity"), S = Symbol.for("react.client.reference"), B = h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, R = Object.prototype.hasOwnProperty, D = Array.isArray, X = console.createTask ? console.createTask : function() {
313
313
  return null;
314
314
  };
315
315
  h = {
@@ -1078,16 +1078,16 @@ function zg({
1078
1078
  drawerPosition: g = "right",
1079
1079
  customContainerStyles: q
1080
1080
  }) {
1081
- const I = v.useRef(null), y = v.useRef(null), _ = v.useRef(null), w = g === "left" ? "-100%" : "100%", A = !u && !d;
1081
+ const I = v.useRef(null), y = v.useRef(null), _ = v.useRef(null), N = g === "left" ? "-100%" : "100%", A = !u && !d;
1082
1082
  return v.useEffect(() => {
1083
- const N = setTimeout(() => {
1083
+ const w = setTimeout(() => {
1084
1084
  if (I.current && y.current && _.current) {
1085
- const L = e ? "translateX(0)" : `translateX(${w})`, j = `calc(100dvh - (1.75rem * 2) - ${_.current.clientHeight}px)`;
1085
+ const L = e ? "translateX(0)" : `translateX(${N})`, j = `calc(100dvh - (1.75rem * 2) - ${_.current.clientHeight}px)`;
1086
1086
  I.current.style.transform = L, y.current.style.maxHeight = j, y.current.style.height = j;
1087
1087
  }
1088
1088
  }, 0);
1089
1089
  return () => {
1090
- clearTimeout(N);
1090
+ clearTimeout(w);
1091
1091
  };
1092
1092
  }, [e]), /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
1093
1093
  /* @__PURE__ */ a.jsx("div", { className: b(j0.backdropLayer, e && j0.show), onClick: l, children: o && /* @__PURE__ */ a.jsx("div", { className: b(j0.backdrop, e && j0.showBackdrop) }) }),
@@ -1128,14 +1128,14 @@ function zg({
1128
1128
  }
1129
1129
  ),
1130
1130
  d && /* @__PURE__ */ a.jsx("div", { className: b(j0.footer, f), ref: _, children: r || m && /* @__PURE__ */ a.jsxs("div", { className: j0.footerBtnContainer, children: [
1131
- /* @__PURE__ */ a.jsx("div", { className: j0.footerBtn, children: m.map((N, L) => /* @__PURE__ */ a.jsx(
1131
+ /* @__PURE__ */ a.jsx("div", { className: j0.footerBtn, children: m.map((w, L) => /* @__PURE__ */ a.jsx(
1132
1132
  e0,
1133
1133
  {
1134
- disabled: N?.disabled,
1135
- variant: N?.variant,
1136
- onClick: N.onClick ? N.onClick : void 0,
1137
- type: N.btnType === O0.ICON_LEFT || N.btnType === O0.ICON_RIGHT ? O0.BASIC : N?.btnType,
1138
- children: N.btnText
1134
+ disabled: w?.disabled,
1135
+ variant: w?.variant,
1136
+ onClick: w.onClick ? w.onClick : void 0,
1137
+ type: w.btnType === O0.ICON_LEFT || w.btnType === O0.ICON_RIGHT ? O0.BASIC : w?.btnType,
1138
+ children: w.btnText
1139
1139
  },
1140
1140
  L
1141
1141
  )) }),
@@ -2005,7 +2005,7 @@ function Fg({
2005
2005
  isDisabled: x,
2006
2006
  onChange: (y, _) => {
2007
2007
  l(
2008
- C ? y.map((w) => w.value) : y?.value ?? "",
2008
+ C ? y.map((N) => N.value) : y?.value ?? "",
2009
2009
  _
2010
2010
  );
2011
2011
  },
@@ -2364,7 +2364,7 @@ function Yt(e) {
2364
2364
  return B6(t3("", null, null, null, [""], e = F6(e), 0, [0], e));
2365
2365
  }
2366
2366
  function t3(e, l, c, n, t, s, r, i, o) {
2367
- for (var u = 0, d = 0, m = r, p = 0, h = 0, x = 0, f = 1, C = 1, g = 1, q = 0, I = "", y = t, _ = s, w = n, A = I; C; )
2367
+ for (var u = 0, d = 0, m = r, p = 0, h = 0, x = 0, f = 1, C = 1, g = 1, q = 0, I = "", y = t, _ = s, N = n, A = I; C; )
2368
2368
  switch (x = q, q = a2()) {
2369
2369
  // (
2370
2370
  case 40:
@@ -2421,9 +2421,9 @@ function t3(e, l, c, n, t, s, r, i, o) {
2421
2421
  A += ";";
2422
2422
  // { rule/at-rule
2423
2423
  default:
2424
- if (O1(w = e5(A, l, c, u, d, t, i, I, y = [], _ = [], m), s), q === 123)
2424
+ if (O1(N = e5(A, l, c, u, d, t, i, I, y = [], _ = [], m), s), q === 123)
2425
2425
  if (d === 0)
2426
- t3(A, l, w, w, y, s, m, i, _);
2426
+ t3(A, l, N, N, y, s, m, i, _);
2427
2427
  else
2428
2428
  switch (p === 99 && G0(A, 3) === 110 ? 100 : p) {
2429
2429
  // d l m s
@@ -2431,10 +2431,10 @@ function t3(e, l, c, n, t, s, r, i, o) {
2431
2431
  case 108:
2432
2432
  case 109:
2433
2433
  case 115:
2434
- t3(e, w, w, n && O1(e5(e, w, w, 0, 0, t, i, I, t, y = [], m), _), t, _, m, i, n ? y : _);
2434
+ t3(e, N, N, n && O1(e5(e, N, N, 0, 0, t, i, I, t, y = [], m), _), t, _, m, i, n ? y : _);
2435
2435
  break;
2436
2436
  default:
2437
- t3(A, w, w, w, [""], _, 0, i, _);
2437
+ t3(A, N, N, N, [""], _, 0, i, _);
2438
2438
  }
2439
2439
  }
2440
2440
  u = d = h = 0, f = g = 1, I = A = "", m = r;
@@ -2797,8 +2797,8 @@ function i9() {
2797
2797
  var e = typeof Symbol == "function" && Symbol.for, l = e ? Symbol.for("react.element") : 60103, c = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, t = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, i = e ? Symbol.for("react.context") : 60110, o = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, x = e ? Symbol.for("react.lazy") : 60116, f = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117, g = e ? Symbol.for("react.responder") : 60118, q = e ? Symbol.for("react.scope") : 60119;
2798
2798
  function I(_) {
2799
2799
  if (typeof _ == "object" && _ !== null) {
2800
- var w = _.$$typeof;
2801
- switch (w) {
2800
+ var N = _.$$typeof;
2801
+ switch (N) {
2802
2802
  case l:
2803
2803
  switch (_ = _.type, _) {
2804
2804
  case o:
@@ -2817,11 +2817,11 @@ function i9() {
2817
2817
  case r:
2818
2818
  return _;
2819
2819
  default:
2820
- return w;
2820
+ return N;
2821
2821
  }
2822
2822
  }
2823
2823
  case c:
2824
- return w;
2824
+ return N;
2825
2825
  }
2826
2826
  }
2827
2827
  }
@@ -2897,7 +2897,7 @@ function u9() {
2897
2897
  }
2898
2898
  }
2899
2899
  }
2900
- var _ = o, w = u, A = i, N = r, L = l, j = d, S = n, B = x, R = h, D = c, X = s, J = t, d0 = m, l0 = !1;
2900
+ var _ = o, N = u, A = i, w = r, L = l, j = d, S = n, B = x, R = h, D = c, X = s, J = t, d0 = m, l0 = !1;
2901
2901
  function w0(G) {
2902
2902
  return l0 || (l0 = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), H(G) || y(G) === o;
2903
2903
  }
@@ -2937,7 +2937,7 @@ function u9() {
2937
2937
  function N2(G) {
2938
2938
  return y(G) === m;
2939
2939
  }
2940
- s0.AsyncMode = _, s0.ConcurrentMode = w, s0.ContextConsumer = A, s0.ContextProvider = N, s0.Element = L, s0.ForwardRef = j, s0.Fragment = S, s0.Lazy = B, s0.Memo = R, s0.Portal = D, s0.Profiler = X, s0.StrictMode = J, s0.Suspense = d0, s0.isAsyncMode = w0, s0.isConcurrentMode = H, s0.isContextConsumer = z, s0.isContextProvider = F, s0.isElement = W, s0.isForwardRef = $, s0.isFragment = u0, s0.isLazy = m0, s0.isMemo = Q, s0.isPortal = i0, s0.isProfiler = g0, s0.isStrictMode = u2, s0.isSuspense = N2, s0.isValidElementType = I, s0.typeOf = y;
2940
+ s0.AsyncMode = _, s0.ConcurrentMode = N, s0.ContextConsumer = A, s0.ContextProvider = w, s0.Element = L, s0.ForwardRef = j, s0.Fragment = S, s0.Lazy = B, s0.Memo = R, s0.Portal = D, s0.Profiler = X, s0.StrictMode = J, s0.Suspense = d0, s0.isAsyncMode = w0, s0.isConcurrentMode = H, s0.isContextConsumer = z, s0.isContextProvider = F, s0.isElement = W, s0.isForwardRef = $, s0.isFragment = u0, s0.isLazy = m0, s0.isMemo = Q, s0.isPortal = i0, s0.isProfiler = g0, s0.isStrictMode = u2, s0.isSuspense = N2, s0.isValidElementType = I, s0.typeOf = y;
2941
2941
  })()), s0;
2942
2942
  }
2943
2943
  var n5;
@@ -2996,11 +2996,11 @@ function m9() {
2996
2996
  var q = o(f);
2997
2997
  u && (q = q.concat(u(f)));
2998
2998
  for (var I = r(x), y = r(f), _ = 0; _ < q.length; ++_) {
2999
- var w = q[_];
3000
- if (!c[w] && !(C && C[w]) && !(y && y[w]) && !(I && I[w])) {
3001
- var A = d(f, w);
2999
+ var N = q[_];
3000
+ if (!c[N] && !(C && C[N]) && !(y && y[N]) && !(I && I[N])) {
3001
+ var A = d(f, N);
3002
3002
  try {
3003
- i(x, w, A);
3003
+ i(x, N, A);
3004
3004
  } catch {
3005
3005
  }
3006
3006
  }
@@ -3538,8 +3538,8 @@ function W9(e, l) {
3538
3538
  threshold: L9(0, B9(1, o)) || 1
3539
3539
  };
3540
3540
  let y = !0;
3541
- function _(w) {
3542
- const A = w[0].intersectionRatio;
3541
+ function _(N) {
3542
+ const A = N[0].intersectionRatio;
3543
3543
  if (A !== o) {
3544
3544
  if (!y)
3545
3545
  return r();
@@ -3735,7 +3735,7 @@ function da(e) {
3735
3735
  maxHeight: l
3736
3736
  };
3737
3737
  if (!c || !c.offsetParent) return u;
3738
- var d = o.getBoundingClientRect(), m = d.height, p = c.getBoundingClientRect(), h = p.bottom, x = p.height, f = p.top, C = c.offsetParent.getBoundingClientRect(), g = C.top, q = r ? window.innerHeight : K9(o), I = Y6(o), y = parseInt(getComputedStyle(c).marginBottom, 10), _ = parseInt(getComputedStyle(c).marginTop, 10), w = g - _, A = q - f, N = w + I, L = m - I - f, j = h - q + I + y, S = I + f - _, B = 160;
3738
+ var d = o.getBoundingClientRect(), m = d.height, p = c.getBoundingClientRect(), h = p.bottom, x = p.height, f = p.top, C = c.offsetParent.getBoundingClientRect(), g = C.top, q = r ? window.innerHeight : K9(o), I = Y6(o), y = parseInt(getComputedStyle(c).marginBottom, 10), _ = parseInt(getComputedStyle(c).marginTop, 10), N = g - _, A = q - f, w = N + I, L = m - I - f, j = h - q + I + y, S = I + f - _, B = 160;
3739
3739
  switch (t) {
3740
3740
  case "auto":
3741
3741
  case "bottom":
@@ -3758,7 +3758,7 @@ function da(e) {
3758
3758
  };
3759
3759
  }
3760
3760
  if (t === "auto" || r) {
3761
- var D = l, X = r ? w : N;
3761
+ var D = l, X = r ? N : w;
3762
3762
  return X >= n && (D = Math.min(X - y - i, l)), {
3763
3763
  placement: "top",
3764
3764
  maxHeight: D
@@ -3771,19 +3771,19 @@ function da(e) {
3771
3771
  };
3772
3772
  break;
3773
3773
  case "top":
3774
- if (w >= x)
3774
+ if (N >= x)
3775
3775
  return {
3776
3776
  placement: "top",
3777
3777
  maxHeight: l
3778
3778
  };
3779
- if (N >= x && !r)
3779
+ if (w >= x && !r)
3780
3780
  return s && W1(o, S, B), {
3781
3781
  placement: "top",
3782
3782
  maxHeight: l
3783
3783
  };
3784
- if (!r && N >= n || r && w >= n) {
3784
+ if (!r && w >= n || r && N >= n) {
3785
3785
  var J = l;
3786
- return (!r && N >= n || r && w >= n) && (J = r ? w - _ : N - _), s && W1(o, S, B), {
3786
+ return (!r && w >= n || r && N >= n) && (J = r ? N - _ : w - _), s && W1(o, S, B), {
3787
3787
  placement: "top",
3788
3788
  maxHeight: J
3789
3789
  };
@@ -3822,16 +3822,16 @@ var U6 = function(l) {
3822
3822
  return n4(function() {
3823
3823
  var _ = m.current;
3824
3824
  if (_) {
3825
- var w = r === "fixed", A = i && !w, N = da({
3825
+ var N = r === "fixed", A = i && !N, w = da({
3826
3826
  maxHeight: t,
3827
3827
  menuEl: _,
3828
3828
  minHeight: n,
3829
3829
  placement: s,
3830
3830
  shouldScroll: A,
3831
- isFixedPosition: w,
3831
+ isFixedPosition: N,
3832
3832
  controlHeight: y
3833
3833
  });
3834
- f(N.maxHeight), I(N.placement), d?.(N.placement);
3834
+ f(w.maxHeight), I(w.placement), d?.(w.placement);
3835
3835
  }
3836
3836
  }, [t, s, r, i, n, d, y]), c({
3837
3837
  ref: m,
@@ -3909,7 +3909,7 @@ var U6 = function(l) {
3909
3909
  };
3910
3910
  }, []), f = F0(null), C = E0(f, 2), g = C[0], q = C[1], I = M0(function() {
3911
3911
  if (t) {
3912
- var A = ta(t), N = i === "fixed" ? 0 : window.pageYOffset, L = A[p] + N;
3912
+ var A = ta(t), w = i === "fixed" ? 0 : window.pageYOffset, L = A[p] + w;
3913
3913
  (L !== g?.offset || A.left !== g?.rect.left || A.width !== g?.rect.width) && q({
3914
3914
  offset: L,
3915
3915
  rect: A
@@ -3931,7 +3931,7 @@ var U6 = function(l) {
3931
3931
  o.current = A, y();
3932
3932
  }, [y]);
3933
3933
  if (!c && i !== "fixed" || !g) return null;
3934
- var w = T("div", O({
3934
+ var N = T("div", O({
3935
3935
  ref: _
3936
3936
  }, b0(P(P({}, l), {}, {
3937
3937
  offset: g.offset,
@@ -3942,7 +3942,7 @@ var U6 = function(l) {
3942
3942
  }), s), n);
3943
3943
  return T(Q6.Provider, {
3944
3944
  value: x
3945
- }, c ? /* @__PURE__ */ a6(w, c) : w);
3945
+ }, c ? /* @__PURE__ */ a6(N, c) : N);
3946
3946
  }, za = function(l) {
3947
3947
  var c = l.isDisabled, n = l.isRtl;
3948
3948
  return {
@@ -4509,11 +4509,11 @@ var Nc = process.env.NODE_ENV === "production" ? {
4509
4509
  return "".concat(n).concat(c ? " for search term " + c : "", ".");
4510
4510
  }
4511
4511
  }, Ec = function(l) {
4512
- var c = l.ariaSelection, n = l.focusedOption, t = l.focusedValue, s = l.focusableOptions, r = l.isFocused, i = l.selectValue, o = l.selectProps, u = l.id, d = l.isAppleDevice, m = o.ariaLiveMessages, p = o.getOptionLabel, h = o.inputValue, x = o.isMulti, f = o.isOptionDisabled, C = o.isSearchable, g = o.menuIsOpen, q = o.options, I = o.screenReaderStatus, y = o.tabSelectsValue, _ = o.isLoading, w = o["aria-label"], A = o["aria-live"], N = M2(function() {
4512
+ var c = l.ariaSelection, n = l.focusedOption, t = l.focusedValue, s = l.focusableOptions, r = l.isFocused, i = l.selectValue, o = l.selectProps, u = l.id, d = l.isAppleDevice, m = o.ariaLiveMessages, p = o.getOptionLabel, h = o.inputValue, x = o.isMulti, f = o.isOptionDisabled, C = o.isSearchable, g = o.menuIsOpen, q = o.options, I = o.screenReaderStatus, y = o.tabSelectsValue, _ = o.isLoading, N = o["aria-label"], A = o["aria-live"], w = M2(function() {
4513
4513
  return P(P({}, jc), m || {});
4514
4514
  }, [m]), L = M2(function() {
4515
4515
  var X = "";
4516
- if (c && N.onChange) {
4516
+ if (c && w.onChange) {
4517
4517
  var J = c.option, d0 = c.options, l0 = c.removedValue, w0 = c.removedValues, H = c.value, z = function(i0) {
4518
4518
  return Array.isArray(i0) ? null : i0;
4519
4519
  }, F = l0 || J || z(H), W = F ? p(F) : "", $ = d0 || w0 || void 0, u0 = $ ? $.map(p) : [], m0 = P({
@@ -4523,12 +4523,12 @@ var Nc = process.env.NODE_ENV === "production" ? {
4523
4523
  label: W,
4524
4524
  labels: u0
4525
4525
  }, c);
4526
- X = N.onChange(m0);
4526
+ X = w.onChange(m0);
4527
4527
  }
4528
4528
  return X;
4529
- }, [c, N, f, i, p]), j = M2(function() {
4529
+ }, [c, w, f, i, p]), j = M2(function() {
4530
4530
  var X = "", J = n || t, d0 = !!(n && i && i.includes(n));
4531
- if (J && N.onFocus) {
4531
+ if (J && w.onFocus) {
4532
4532
  var l0 = {
4533
4533
  focused: J,
4534
4534
  label: p(J),
@@ -4539,27 +4539,27 @@ var Nc = process.env.NODE_ENV === "production" ? {
4539
4539
  selectValue: i,
4540
4540
  isAppleDevice: d
4541
4541
  };
4542
- X = N.onFocus(l0);
4542
+ X = w.onFocus(l0);
4543
4543
  }
4544
4544
  return X;
4545
- }, [n, t, p, f, N, s, i, d]), S = M2(function() {
4545
+ }, [n, t, p, f, w, s, i, d]), S = M2(function() {
4546
4546
  var X = "";
4547
- if (g && q.length && !_ && N.onFilter) {
4547
+ if (g && q.length && !_ && w.onFilter) {
4548
4548
  var J = I({
4549
4549
  count: s.length
4550
4550
  });
4551
- X = N.onFilter({
4551
+ X = w.onFilter({
4552
4552
  inputValue: h,
4553
4553
  resultsMessage: J
4554
4554
  });
4555
4555
  }
4556
4556
  return X;
4557
- }, [s, h, g, N, q, I, _]), B = c?.action === "initial-input-focus", R = M2(function() {
4557
+ }, [s, h, g, w, q, I, _]), B = c?.action === "initial-input-focus", R = M2(function() {
4558
4558
  var X = "";
4559
- if (N.guidance) {
4559
+ if (w.guidance) {
4560
4560
  var J = t ? "value" : g ? "menu" : "input";
4561
- X = N.guidance({
4562
- "aria-label": w,
4561
+ X = w.guidance({
4562
+ "aria-label": N,
4563
4563
  context: J,
4564
4564
  isDisabled: n && f(n, i),
4565
4565
  isMulti: x,
@@ -4569,7 +4569,7 @@ var Nc = process.env.NODE_ENV === "production" ? {
4569
4569
  });
4570
4570
  }
4571
4571
  return X;
4572
- }, [w, n, t, x, f, C, g, N, i, y, B]), D = T(U3, null, T("span", {
4572
+ }, [N, n, t, x, f, C, g, w, i, y, B]), D = T(U3, null, T("span", {
4573
4573
  id: "aria-selection"
4574
4574
  }, L), T("span", {
4575
4575
  id: "aria-focused"
@@ -4899,8 +4899,8 @@ var kc = function(l) {
4899
4899
  function Pc(e) {
4900
4900
  var l = e.isEnabled, c = e.onBottomArrive, n = e.onBottomLeave, t = e.onTopArrive, s = e.onTopLeave, r = t2(!1), i = t2(!1), o = t2(0), u = t2(null), d = M0(function(C, g) {
4901
4901
  if (u.current !== null) {
4902
- var q = u.current, I = q.scrollTop, y = q.scrollHeight, _ = q.clientHeight, w = u.current, A = g > 0, N = y - _ - I, L = !1;
4903
- N > g && r.current && (n && n(C), r.current = !1), A && i.current && (s && s(C), i.current = !1), A && g > N ? (c && !r.current && c(C), w.scrollTop = y, L = !0, r.current = !0) : !A && -g > I && (t && !i.current && t(C), w.scrollTop = 0, L = !0, i.current = !0), L && kc(C);
4902
+ var q = u.current, I = q.scrollTop, y = q.scrollHeight, _ = q.clientHeight, N = u.current, A = g > 0, w = y - _ - I, L = !1;
4903
+ w > g && r.current && (n && n(C), r.current = !1), A && i.current && (s && s(C), i.current = !1), A && g > w ? (c && !r.current && c(C), N.scrollTop = y, L = !0, r.current = !0) : !A && -g > I && (t && !i.current && t(C), N.scrollTop = 0, L = !0, i.current = !0), L && kc(C);
4904
4904
  }
4905
4905
  }, [c, n, t, s]), m = M0(function(C) {
4906
4906
  d(C, C.deltaY);
@@ -5481,7 +5481,7 @@ var f7 = function(l) {
5481
5481
  }, t.onValueInputFocus = function(o) {
5482
5482
  o.preventDefault(), o.stopPropagation(), t.focus();
5483
5483
  }, t.onKeyDown = function(o) {
5484
- var u = t.props, d = u.isMulti, m = u.backspaceRemovesValue, p = u.escapeClearsValue, h = u.inputValue, x = u.isClearable, f = u.isDisabled, C = u.menuIsOpen, g = u.onKeyDown, q = u.tabSelectsValue, I = u.openMenuOnFocus, y = t.state, _ = y.focusedOption, w = y.focusedValue, A = y.selectValue;
5484
+ var u = t.props, d = u.isMulti, m = u.backspaceRemovesValue, p = u.escapeClearsValue, h = u.inputValue, x = u.isClearable, f = u.isDisabled, C = u.menuIsOpen, g = u.onKeyDown, q = u.tabSelectsValue, I = u.openMenuOnFocus, y = t.state, _ = y.focusedOption, N = y.focusedValue, A = y.selectValue;
5485
5485
  if (!f && !(typeof g == "function" && (g(o), o.defaultPrevented))) {
5486
5486
  switch (t.blockOptionHover = !0, o.key) {
5487
5487
  case "ArrowLeft":
@@ -5495,8 +5495,8 @@ var f7 = function(l) {
5495
5495
  case "Delete":
5496
5496
  case "Backspace":
5497
5497
  if (h) return;
5498
- if (w)
5499
- t.removeValue(w);
5498
+ if (N)
5499
+ t.removeValue(N);
5500
5500
  else {
5501
5501
  if (!m) return;
5502
5502
  d ? t.popValue() : x && t.clearValue();
@@ -5858,19 +5858,19 @@ var f7 = function(l) {
5858
5858
  }, {
5859
5859
  key: "renderPlaceholderOrValue",
5860
5860
  value: function() {
5861
- var t = this, s = this.getComponents(), r = s.MultiValue, i = s.MultiValueContainer, o = s.MultiValueLabel, u = s.MultiValueRemove, d = s.SingleValue, m = s.Placeholder, p = this.commonProps, h = this.props, x = h.controlShouldRenderValue, f = h.isDisabled, C = h.isMulti, g = h.inputValue, q = h.placeholder, I = this.state, y = I.selectValue, _ = I.focusedValue, w = I.isFocused;
5861
+ var t = this, s = this.getComponents(), r = s.MultiValue, i = s.MultiValueContainer, o = s.MultiValueLabel, u = s.MultiValueRemove, d = s.SingleValue, m = s.Placeholder, p = this.commonProps, h = this.props, x = h.controlShouldRenderValue, f = h.isDisabled, C = h.isMulti, g = h.inputValue, q = h.placeholder, I = this.state, y = I.selectValue, _ = I.focusedValue, N = I.isFocused;
5862
5862
  if (!this.hasValue() || !x)
5863
5863
  return g ? null : /* @__PURE__ */ v.createElement(m, O({}, p, {
5864
5864
  key: "placeholder",
5865
5865
  isDisabled: f,
5866
- isFocused: w,
5866
+ isFocused: N,
5867
5867
  innerProps: {
5868
5868
  id: this.getElementId("placeholder")
5869
5869
  }
5870
5870
  }), q);
5871
5871
  if (C)
5872
- return y.map(function(N, L) {
5873
- var j = N === _, S = "".concat(t.getOptionLabel(N), "-").concat(t.getOptionValue(N));
5872
+ return y.map(function(w, L) {
5873
+ var j = w === _, S = "".concat(t.getOptionLabel(w), "-").concat(t.getOptionValue(w));
5874
5874
  return /* @__PURE__ */ v.createElement(r, O({}, p, {
5875
5875
  components: {
5876
5876
  Container: i,
@@ -5883,17 +5883,17 @@ var f7 = function(l) {
5883
5883
  index: L,
5884
5884
  removeProps: {
5885
5885
  onClick: function() {
5886
- return t.removeValue(N);
5886
+ return t.removeValue(w);
5887
5887
  },
5888
5888
  onTouchEnd: function() {
5889
- return t.removeValue(N);
5889
+ return t.removeValue(w);
5890
5890
  },
5891
5891
  onMouseDown: function(R) {
5892
5892
  R.preventDefault();
5893
5893
  }
5894
5894
  },
5895
- data: N
5896
- }), t.formatOptionLabel(N, "value"));
5895
+ data: w
5896
+ }), t.formatOptionLabel(w, "value"));
5897
5897
  });
5898
5898
  if (g)
5899
5899
  return null;
@@ -5963,7 +5963,7 @@ var f7 = function(l) {
5963
5963
  }, {
5964
5964
  key: "renderMenu",
5965
5965
  value: function() {
5966
- var t = this, s = this.getComponents(), r = s.Group, i = s.GroupHeading, o = s.Menu, u = s.MenuList, d = s.MenuPortal, m = s.LoadingMessage, p = s.NoOptionsMessage, h = s.Option, x = this.commonProps, f = this.state.focusedOption, C = this.props, g = C.captureMenuScroll, q = C.inputValue, I = C.isLoading, y = C.loadingMessage, _ = C.minMenuHeight, w = C.maxMenuHeight, A = C.menuIsOpen, N = C.menuPlacement, L = C.menuPosition, j = C.menuPortalTarget, S = C.menuShouldBlockScroll, B = C.menuShouldScrollIntoView, R = C.noOptionsMessage, D = C.onMenuScrollToTop, X = C.onMenuScrollToBottom;
5966
+ var t = this, s = this.getComponents(), r = s.Group, i = s.GroupHeading, o = s.Menu, u = s.MenuList, d = s.MenuPortal, m = s.LoadingMessage, p = s.NoOptionsMessage, h = s.Option, x = this.commonProps, f = this.state.focusedOption, C = this.props, g = C.captureMenuScroll, q = C.inputValue, I = C.isLoading, y = C.loadingMessage, _ = C.minMenuHeight, N = C.maxMenuHeight, A = C.menuIsOpen, w = C.menuPlacement, L = C.menuPosition, j = C.menuPortalTarget, S = C.menuShouldBlockScroll, B = C.menuShouldScrollIntoView, R = C.noOptionsMessage, D = C.onMenuScrollToTop, X = C.onMenuScrollToBottom;
5967
5967
  if (!A) return null;
5968
5968
  var J = function(W, $) {
5969
5969
  var u0 = W.type, m0 = W.data, Q = W.isDisabled, i0 = W.isSelected, g0 = W.label, u2 = W.value, N2 = f === m0, G = Q ? void 0 : function() {
@@ -6028,8 +6028,8 @@ var f7 = function(l) {
6028
6028
  }
6029
6029
  var H = {
6030
6030
  minMenuHeight: _,
6031
- maxMenuHeight: w,
6032
- menuPlacement: N,
6031
+ maxMenuHeight: N,
6032
+ menuPlacement: w,
6033
6033
  menuPosition: L,
6034
6034
  menuShouldScrollIntoView: B
6035
6035
  }, z = /* @__PURE__ */ v.createElement(pa, O({}, x, H), function(F) {
@@ -6066,7 +6066,7 @@ var f7 = function(l) {
6066
6066
  return j || L === "fixed" ? /* @__PURE__ */ v.createElement(d, O({}, x, {
6067
6067
  appendTo: j,
6068
6068
  controlElement: this.controlRef,
6069
- menuPlacement: N,
6069
+ menuPlacement: w,
6070
6070
  menuPosition: L
6071
6071
  }), z) : z;
6072
6072
  }
@@ -6161,13 +6161,13 @@ var f7 = function(l) {
6161
6161
  value: function(t, s) {
6162
6162
  var r = s.prevProps, i = s.clearFocusValueOnUpdate, o = s.inputIsHiddenAfterUpdate, u = s.ariaSelection, d = s.isFocused, m = s.prevWasFocused, p = s.instancePrefix, h = t.options, x = t.value, f = t.menuIsOpen, C = t.inputValue, g = t.isMulti, q = f3(x), I = {};
6163
6163
  if (r && (x !== r.value || h !== r.options || f !== r.menuIsOpen || C !== r.inputValue)) {
6164
- var y = f ? un(t, q) : [], _ = f ? w5(a3(t, q), "".concat(p, "-option")) : [], w = i ? dn(s, q) : null, A = mn(s, y), N = O3(_, A);
6164
+ var y = f ? un(t, q) : [], _ = f ? w5(a3(t, q), "".concat(p, "-option")) : [], N = i ? dn(s, q) : null, A = mn(s, y), w = O3(_, A);
6165
6165
  I = {
6166
6166
  selectValue: q,
6167
6167
  focusedOption: A,
6168
- focusedOptionId: N,
6168
+ focusedOptionId: w,
6169
6169
  focusableOptionsWithIds: _,
6170
- focusedValue: w,
6170
+ focusedValue: N,
6171
6171
  clearFocusValueOnUpdate: !1
6172
6172
  };
6173
6173
  }
@@ -6190,15 +6190,15 @@ var f7 = function(l) {
6190
6190
  V4.defaultProps = on;
6191
6191
  var pn = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
6192
6192
  function g7(e) {
6193
- var l = e.defaultInputValue, c = l === void 0 ? "" : l, n = e.defaultMenuIsOpen, t = n === void 0 ? !1 : n, s = e.defaultValue, r = s === void 0 ? null : s, i = e.inputValue, o = e.menuIsOpen, u = e.onChange, d = e.onInputChange, m = e.onMenuClose, p = e.onMenuOpen, h = e.value, x = i2(e, pn), f = F0(i !== void 0 ? i : c), C = E0(f, 2), g = C[0], q = C[1], I = F0(o !== void 0 ? o : t), y = E0(I, 2), _ = y[0], w = y[1], A = F0(h !== void 0 ? h : r), N = E0(A, 2), L = N[0], j = N[1], S = M0(function(l0, w0) {
6193
+ var l = e.defaultInputValue, c = l === void 0 ? "" : l, n = e.defaultMenuIsOpen, t = n === void 0 ? !1 : n, s = e.defaultValue, r = s === void 0 ? null : s, i = e.inputValue, o = e.menuIsOpen, u = e.onChange, d = e.onInputChange, m = e.onMenuClose, p = e.onMenuOpen, h = e.value, x = i2(e, pn), f = F0(i !== void 0 ? i : c), C = E0(f, 2), g = C[0], q = C[1], I = F0(o !== void 0 ? o : t), y = E0(I, 2), _ = y[0], N = y[1], A = F0(h !== void 0 ? h : r), w = E0(A, 2), L = w[0], j = w[1], S = M0(function(l0, w0) {
6194
6194
  typeof u == "function" && u(l0, w0), j(l0);
6195
6195
  }, [u]), B = M0(function(l0, w0) {
6196
6196
  var H;
6197
6197
  typeof d == "function" && (H = d(l0, w0)), q(H !== void 0 ? H : l0);
6198
6198
  }, [d]), R = M0(function() {
6199
- typeof p == "function" && p(), w(!0);
6199
+ typeof p == "function" && p(), N(!0);
6200
6200
  }, [p]), D = M0(function() {
6201
- typeof m == "function" && m(), w(!1);
6201
+ typeof m == "function" && m(), N(!1);
6202
6202
  }, [m]), X = i !== void 0 ? i : g, J = o !== void 0 ? o : _, d0 = h !== void 0 ? h : L;
6203
6203
  return P(P({}, x), {}, {
6204
6204
  inputValue: X,
@@ -6214,7 +6214,7 @@ var vn = ["defaultOptions", "cacheOptions", "loadOptions", "options", "isLoading
6214
6214
  function fn(e) {
6215
6215
  var l = e.defaultOptions, c = l === void 0 ? !1 : l, n = e.cacheOptions, t = n === void 0 ? !1 : n, s = e.loadOptions;
6216
6216
  e.options;
6217
- var r = e.isLoading, i = r === void 0 ? !1 : r, o = e.onInputChange, u = e.filterOption, d = u === void 0 ? null : u, m = i2(e, vn), p = m.inputValue, h = t2(void 0), x = t2(!1), f = F0(Array.isArray(c) ? c : void 0), C = E0(f, 2), g = C[0], q = C[1], I = F0(typeof p < "u" ? p : ""), y = E0(I, 2), _ = y[0], w = y[1], A = F0(c === !0), N = E0(A, 2), L = N[0], j = N[1], S = F0(void 0), B = E0(S, 2), R = B[0], D = B[1], X = F0([]), J = E0(X, 2), d0 = J[0], l0 = J[1], w0 = F0(!1), H = E0(w0, 2), z = H[0], F = H[1], W = F0({}), $ = E0(W, 2), u0 = $[0], m0 = $[1], Q = F0(void 0), i0 = E0(Q, 2), g0 = i0[0], u2 = i0[1], N2 = F0(void 0), G = E0(N2, 2), g2 = G[0], Y0 = G[1];
6217
+ var r = e.isLoading, i = r === void 0 ? !1 : r, o = e.onInputChange, u = e.filterOption, d = u === void 0 ? null : u, m = i2(e, vn), p = m.inputValue, h = t2(void 0), x = t2(!1), f = F0(Array.isArray(c) ? c : void 0), C = E0(f, 2), g = C[0], q = C[1], I = F0(typeof p < "u" ? p : ""), y = E0(I, 2), _ = y[0], N = y[1], A = F0(c === !0), w = E0(A, 2), L = w[0], j = w[1], S = F0(void 0), B = E0(S, 2), R = B[0], D = B[1], X = F0([]), J = E0(X, 2), d0 = J[0], l0 = J[1], w0 = F0(!1), H = E0(w0, 2), z = H[0], F = H[1], W = F0({}), $ = E0(W, 2), u0 = $[0], m0 = $[1], Q = F0(void 0), i0 = E0(Q, 2), g0 = i0[0], u2 = i0[1], N2 = F0(void 0), G = E0(N2, 2), g2 = G[0], Y0 = G[1];
6218
6218
  t !== g2 && (m0({}), Y0(t)), c !== g0 && (q(Array.isArray(c) ? c : void 0), u2(c)), a1(function() {
6219
6219
  return x.current = !0, function() {
6220
6220
  x.current = !1;
@@ -6235,14 +6235,14 @@ function fn(e) {
6235
6235
  var t0 = M0(function(n2, q0) {
6236
6236
  var N0 = Q9(n2, q0, o);
6237
6237
  if (!N0) {
6238
- h.current = void 0, w(""), D(""), l0([]), j(!1), F(!1);
6238
+ h.current = void 0, N(""), D(""), l0([]), j(!1), F(!1);
6239
6239
  return;
6240
6240
  }
6241
6241
  if (t && u0[N0])
6242
- w(N0), D(N0), l0(u0[N0]), j(!1), F(!1);
6242
+ N(N0), D(N0), l0(u0[N0]), j(!1), F(!1);
6243
6243
  else {
6244
6244
  var P1 = h.current = {};
6245
- w(N0), j(!0), F(!R), M(N0, function(q2) {
6245
+ N(N0), j(!0), F(!R), M(N0, function(q2) {
6246
6246
  x && P1 === h.current && (h.current = void 0, j(!1), D(N0), l0(q2 || []), F(!1), m0(q2 ? P(P({}, u0), {}, e1({}, N0, q2)) : u0));
6247
6247
  });
6248
6248
  }
@@ -6354,7 +6354,7 @@ var bn = ["allowCreateWhileLoading", "createOptionPosition", "formatCreateLabel"
6354
6354
  }
6355
6355
  };
6356
6356
  function Cn(e) {
6357
- var l = e.allowCreateWhileLoading, c = l === void 0 ? !1 : l, n = e.createOptionPosition, t = n === void 0 ? "last" : n, s = e.formatCreateLabel, r = s === void 0 ? Z3.formatCreateLabel : s, i = e.isValidNewOption, o = i === void 0 ? Z3.isValidNewOption : i, u = e.getNewOptionData, d = u === void 0 ? Z3.getNewOptionData : u, m = e.onCreateOption, p = e.options, h = p === void 0 ? [] : p, x = e.onChange, f = i2(e, bn), C = f.getOptionValue, g = C === void 0 ? i7 : C, q = f.getOptionLabel, I = q === void 0 ? o7 : q, y = f.inputValue, _ = f.isLoading, w = f.isMulti, A = f.value, N = f.name, L = M2(function() {
6357
+ var l = e.allowCreateWhileLoading, c = l === void 0 ? !1 : l, n = e.createOptionPosition, t = n === void 0 ? "last" : n, s = e.formatCreateLabel, r = s === void 0 ? Z3.formatCreateLabel : s, i = e.isValidNewOption, o = i === void 0 ? Z3.isValidNewOption : i, u = e.getNewOptionData, d = u === void 0 ? Z3.getNewOptionData : u, m = e.onCreateOption, p = e.options, h = p === void 0 ? [] : p, x = e.onChange, f = i2(e, bn), C = f.getOptionValue, g = C === void 0 ? i7 : C, q = f.getOptionLabel, I = q === void 0 ? o7 : q, y = f.inputValue, _ = f.isLoading, N = f.isMulti, A = f.value, w = f.name, L = M2(function() {
6358
6358
  return o(y, f3(A), h, {
6359
6359
  getOptionValue: g,
6360
6360
  getOptionLabel: I
@@ -6370,15 +6370,15 @@ function Cn(e) {
6370
6370
  else {
6371
6371
  var X = d(y, y), J = {
6372
6372
  action: "create-option",
6373
- name: N,
6373
+ name: w,
6374
6374
  option: X
6375
6375
  };
6376
- x(_1(w, [].concat(l1(f3(A)), [X]), X), J);
6376
+ x(_1(N, [].concat(l1(f3(A)), [X]), X), J);
6377
6377
  }
6378
6378
  return;
6379
6379
  }
6380
6380
  x(B, R);
6381
- }, [d, y, w, N, L, m, x, A]);
6381
+ }, [d, y, N, w, L, m, x, A]);
6382
6382
  return P(P({}, f), {}, {
6383
6383
  options: j,
6384
6384
  onChange: S
@@ -6446,15 +6446,15 @@ function Lg({
6446
6446
  if (I)
6447
6447
  if (f) {
6448
6448
  const y = I.filter((A) => A.__isNew__), _ = I.filter((A) => !A.__isNew__);
6449
- let w = _;
6449
+ let N = _;
6450
6450
  if (y.length > 0) {
6451
6451
  const A = await g(
6452
- y.map((N) => N.value)
6452
+ y.map((w) => w.value)
6453
6453
  );
6454
- A && (I = I.map((N) => (N.__isNew__ && (N.value = A[0].value, delete N.__isNew__), N)), await q(), w = [..._, ...A]);
6454
+ A && (I = I.map((w) => (w.__isNew__ && (w.value = A[0].value, delete w.__isNew__), w)), await q(), N = [..._, ...A]);
6455
6455
  }
6456
6456
  l(
6457
- w.map((A) => A.value),
6457
+ N.map((A) => A.value),
6458
6458
  I.actionMeta
6459
6459
  );
6460
6460
  } else {
@@ -6581,9 +6581,9 @@ function kg({
6581
6581
  x(m);
6582
6582
  }, [m]);
6583
6583
  const I = async () => {
6584
- const N = e[h].onContinueClick;
6584
+ const w = e[h].onContinueClick;
6585
6585
  try {
6586
- N ? N.constructor && N.constructor.name === "AsyncFunction" ? (await N(), y()) : (N(), y()) : g && (c(), C(!0));
6586
+ w ? w.constructor && w.constructor.name === "AsyncFunction" ? (await w(), y()) : (w(), y()) : g && (c(), C(!0));
6587
6587
  } catch {
6588
6588
  return;
6589
6589
  }
@@ -6591,14 +6591,14 @@ function kg({
6591
6591
  g && !q ? (c(), C(!0)) : h < e.length - 1 && !q && x(h + 1);
6592
6592
  }, _ = () => {
6593
6593
  x(h - 1), C(!1);
6594
- }, w = (N) => {
6595
- u && N < h && x(N);
6594
+ }, N = (w) => {
6595
+ u && w < h && x(w);
6596
6596
  }, A = () => {
6597
6597
  p(), x(h + 1);
6598
6598
  };
6599
6599
  return /* @__PURE__ */ a.jsxs("div", { className: X0.progressContainer, children: [
6600
6600
  /* @__PURE__ */ a.jsxs("div", { className: X0.header, children: [
6601
- /* @__PURE__ */ a.jsx("div", { className: X0.steps, children: e.map((N, L) => /* @__PURE__ */ a.jsxs("div", { className: X0.step, onClick: () => w(L), children: [
6601
+ /* @__PURE__ */ a.jsx("div", { className: X0.steps, children: e.map((w, L) => /* @__PURE__ */ a.jsxs("div", { className: X0.step, onClick: () => N(L), children: [
6602
6602
  L > 0 && /* @__PURE__ */ a.jsx("div", { className: X0.line }),
6603
6603
  /* @__PURE__ */ a.jsxs("div", { className: X0.labelContainer, children: [
6604
6604
  /* @__PURE__ */ a.jsx(
@@ -6612,7 +6612,7 @@ function kg({
6612
6612
  children: L < h || f ? /* @__PURE__ */ a.jsx(V, { path: b7, width: 20 }) : L + 1
6613
6613
  }
6614
6614
  ),
6615
- /* @__PURE__ */ a.jsx("div", { className: b(X0.label, h === L && X0.active), children: N.label })
6615
+ /* @__PURE__ */ a.jsx("div", { className: b(X0.label, h === L && X0.active), children: w.label })
6616
6616
  ] })
6617
6617
  ] }, L)) }),
6618
6618
  r && /* @__PURE__ */ a.jsxs("div", { className: X0.btnsFlex, children: [
@@ -8463,7 +8463,7 @@ function A7({
8463
8463
  }
8464
8464
  ),
8465
8465
  d && /* @__PURE__ */ a.jsx("div", { className: b(k0.footer, f), ref: y, children: r || m && /* @__PURE__ */ a.jsxs("div", { className: k0.footerBtnContainer, children: [
8466
- /* @__PURE__ */ a.jsx("div", { className: k0.footerBtn, children: m.map(({ btnText: _, ...w }, A) => /* @__PURE__ */ a.jsx(e0, { ...w, children: _ }, A)) }),
8466
+ /* @__PURE__ */ a.jsx("div", { className: k0.footerBtn, children: m.map(({ btnText: _, ...N }, A) => /* @__PURE__ */ a.jsx(e0, { ...N, children: _ }, A)) }),
8467
8467
  p && /* @__PURE__ */ a.jsx("div", { children: p })
8468
8468
  ] }) })
8469
8469
  ] })
@@ -8841,12 +8841,12 @@ function Du({
8841
8841
  const D = { ...R };
8842
8842
  return D[S] = D[S].map((X) => ({ ...X, checked: B })), y(D), D;
8843
8843
  });
8844
- }, w = () => {
8844
+ }, N = () => {
8845
8845
  const S = Pu(s);
8846
8846
  e({}), Object.entries(S).forEach(([B, R]) => {
8847
8847
  p(B, R ? R.split(",") : [], x);
8848
8848
  }), t();
8849
- }, A = (S, B) => s[S] ? s[S][B].checked : !1, N = (S, B, R) => {
8849
+ }, A = (S, B) => s[S] ? s[S][B].checked : !1, w = (S, B, R) => {
8850
8850
  r((D) => {
8851
8851
  const X = { ...D };
8852
8852
  return X[S][B].checked = R, y(X), X;
@@ -8866,7 +8866,7 @@ function Du({
8866
8866
  },
8867
8867
  {
8868
8868
  btnText: "Apply",
8869
- onClick: w
8869
+ onClick: N
8870
8870
  }
8871
8871
  ];
8872
8872
  return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
@@ -8962,7 +8962,7 @@ function Du({
8962
8962
  {
8963
8963
  label: S.name,
8964
8964
  checked: A(g.key, B),
8965
- onChange: (R) => N(g.key, B, R),
8965
+ onChange: (R) => w(g.key, B, R),
8966
8966
  countryCode: S.country_code,
8967
8967
  customName: S.customName
8968
8968
  }
@@ -9051,29 +9051,31 @@ function Ug({
9051
9051
  isError: m,
9052
9052
  showOutsideDays: p = !0,
9053
9053
  trigger: h,
9054
- ...x
9054
+ startMonth: x = new Date(2020, 0),
9055
+ endMonth: f = new Date(2050, 0),
9056
+ ...C
9055
9057
  }) {
9056
- const f = r1((_) => _.monthYear), C = r1((_) => _.setMonthYear);
9058
+ const g = r1((A) => A.monthYear), q = r1((A) => A.setMonthYear);
9057
9059
  v.useEffect(() => {
9058
- e && !isNaN(new Date(e).getTime()) && C({
9060
+ e && !isNaN(new Date(e).getTime()) && q({
9059
9061
  month: new Date(e).getMonth(),
9060
9062
  year: new Date(e).getFullYear()
9061
9063
  });
9062
9064
  }, [e]);
9063
- const g = v.useMemo(() => {
9065
+ const I = v.useMemo(() => {
9064
9066
  if (e)
9065
9067
  return U7(e) ? e : l6(e);
9066
- }, [e]), q = v.useMemo(() => g ? n3(g, t) : "Pick a date", [g, t]), I = v.useRef(null), y = (_) => {
9067
- if (!_) {
9068
+ }, [e]), y = v.useMemo(() => I ? n3(I, t) : "Pick a date", [I, t]), _ = v.useRef(null), N = (A) => {
9069
+ if (!A) {
9068
9070
  l("");
9069
9071
  return;
9070
9072
  }
9071
- const w = n3(_, "yyyy-MM-dd");
9072
- l(w), I?.current?.click();
9073
+ const w = n3(A, "yyyy-MM-dd");
9074
+ l(w), _?.current?.click();
9073
9075
  };
9074
9076
  return /* @__PURE__ */ a.jsx("div", { className: b(o0.datePicker), style: u, children: /* @__PURE__ */ a.jsxs(h4, { placement: "bottom", children: [
9075
9077
  /* @__PURE__ */ a.jsxs(v4, { openOnHover: !1, children: [
9076
- h ? /* @__PURE__ */ a.jsx("div", { ref: I, children: h }) : n === "form" ? /* @__PURE__ */ a.jsx(
9078
+ h ? /* @__PURE__ */ a.jsx("div", { ref: _, children: h }) : n === "form" ? /* @__PURE__ */ a.jsx(
9077
9079
  "button",
9078
9080
  {
9079
9081
  type: "button",
@@ -9086,8 +9088,8 @@ function Ug({
9086
9088
  borderColor: m || s ? "var(--status-danger)" : void 0,
9087
9089
  height: "32px"
9088
9090
  },
9089
- children: /* @__PURE__ */ a.jsxs("div", { className: o0.formBtnInner, ref: I, children: [
9090
- /* @__PURE__ */ a.jsx("span", { style: { color: g ? void 0 : "var(--text-secondary)" }, children: q }),
9091
+ children: /* @__PURE__ */ a.jsxs("div", { className: o0.formBtnInner, ref: _, children: [
9092
+ /* @__PURE__ */ a.jsx("span", { style: { color: I ? void 0 : "var(--text-secondary)" }, children: y }),
9091
9093
  /* @__PURE__ */ a.jsx(V, { path: u4, width: 20, height: 20 })
9092
9094
  ] })
9093
9095
  }
@@ -9098,7 +9100,7 @@ function Ug({
9098
9100
  size: K.SMALL,
9099
9101
  disabled: r,
9100
9102
  customStyles: { cursor: r ? "not-allowed" : "pointer", height: "32px" },
9101
- children: /* @__PURE__ */ a.jsxs("div", { className: o0.buttonContent, ref: I, children: [
9103
+ children: /* @__PURE__ */ a.jsxs("div", { className: o0.buttonContent, ref: _, children: [
9102
9104
  /* @__PURE__ */ a.jsx(
9103
9105
  V,
9104
9106
  {
@@ -9108,7 +9110,7 @@ function Ug({
9108
9110
  spanClassName: o0.calendarIconSpan
9109
9111
  }
9110
9112
  ),
9111
- /* @__PURE__ */ a.jsx("span", { style: { color: g ? void 0 : "var(--text-secondary)" }, children: q })
9113
+ /* @__PURE__ */ a.jsx("span", { style: { color: I ? void 0 : "var(--text-secondary)" }, children: y })
9112
9114
  ] })
9113
9115
  }
9114
9116
  ),
@@ -9125,7 +9127,8 @@ function Ug({
9125
9127
  {
9126
9128
  showOutsideDays: p,
9127
9129
  captionLayout: "dropdown",
9128
- endMonth: new Date(2050, 0),
9130
+ startMonth: x,
9131
+ endMonth: f,
9129
9132
  classNames: {
9130
9133
  month: o0.month,
9131
9134
  month_caption: o0.caption,
@@ -9152,13 +9155,13 @@ function Ug({
9152
9155
  Nav: Pd
9153
9156
  },
9154
9157
  mode: c,
9155
- defaultMonth: g,
9156
- selected: g,
9157
- onSelect: y,
9158
+ defaultMonth: I,
9159
+ selected: I,
9160
+ onSelect: N,
9158
9161
  numberOfMonths: 1,
9159
9162
  disabled: r ? !0 : i,
9160
- month: new Date(f.year, f.month),
9161
- ...x
9163
+ month: new Date(g.year, g.month),
9164
+ ...C
9162
9165
  }
9163
9166
  )
9164
9167
  }
@@ -9635,13 +9638,13 @@ function Gm({
9635
9638
  trigger: C,
9636
9639
  ...g
9637
9640
  }) {
9638
- const q = e, I = b3((R) => R.monthYear), y = b3((R) => R.setMonthYear), [_, w] = v.useState(k2[0]), [A, N] = v.useState(void 0), L = v.useMemo(() => q?.from ? q.to ? P4(q.from, q.to) ? J1.format(q.from) : `${J1.format(q.from)} - ${J1.format(q.to)}` : J1.format(q.from) : f || "Pick a date", [q, f]), j = (R) => {
9639
- t && _.value !== k2[0].value && w(k2[0]);
9641
+ const q = e, I = b3((R) => R.monthYear), y = b3((R) => R.setMonthYear), [_, N] = v.useState(k2[0]), [A, w] = v.useState(void 0), L = v.useMemo(() => q?.from ? q.to ? P4(q.from, q.to) ? J1.format(q.from) : `${J1.format(q.from)} - ${J1.format(q.to)}` : J1.format(q.from) : f || "Pick a date", [q, f]), j = (R) => {
9642
+ t && _.value !== k2[0].value && N(k2[0]);
9640
9643
  const D = R?.from ?? void 0, X = R?.to ?? R?.from;
9641
9644
  l({ from: D, to: X });
9642
9645
  };
9643
9646
  v.useEffect(() => {
9644
- q?.from && q?.to && N({ from: q.from, to: q.to });
9647
+ q?.from && q?.to && w({ from: q.from, to: q.to });
9645
9648
  }, [q]), v.useEffect(() => {
9646
9649
  q?.from && !isNaN(new Date(q.from).getTime()) && y({
9647
9650
  month: new Date(q.from).getMonth(),
@@ -9650,7 +9653,7 @@ function Gm({
9650
9653
  }, [q]);
9651
9654
  const S = (R) => {
9652
9655
  const D = /* @__PURE__ */ new Date(), X = k2.find((J) => J.value === R) ?? k2[0];
9653
- switch (w(X), R) {
9656
+ switch (N(X), R) {
9654
9657
  case "today":
9655
9658
  l({ from: D, to: D });
9656
9659
  break;
@@ -9801,11 +9804,11 @@ function Gm({
9801
9804
  onDayMouseEnter: (R) => {
9802
9805
  if (q?.from && (!q?.to || P4(q.from, q.to))) {
9803
9806
  const D = D4(R, q.from) ? R : q.from, X = D4(R, q.from) ? q.from : R;
9804
- N({ from: D, to: X });
9807
+ w({ from: D, to: X });
9805
9808
  }
9806
9809
  },
9807
9810
  onDayMouseLeave: () => {
9808
- N(void 0);
9811
+ w(void 0);
9809
9812
  },
9810
9813
  disabled: r || ((R) => s && typeof s == "boolean" ? s : o ? R.getDay() === 0 || R.getDay() === 6 : !1),
9811
9814
  modifiers: {
@@ -10400,20 +10403,20 @@ function bh({
10400
10403
  const { isOpen: t, onOpen: s, onClose: r } = b6(), { columns: i, isPending: o, isError: u, handleSaveColumns: d, variant: m } = e, [p, h] = v.useState([]), [x, f] = v.useState(""), C = v.useRef([]), g = () => {
10401
10404
  m === "selection" && i?.checked_state && (C.current = structuredClone(i.checked_state)), s();
10402
10405
  }, q = () => {
10403
- m === "selection" && C.current.length > 0 && (h(structuredClone(C.current)), w(C.current)), r(), f("");
10406
+ m === "selection" && C.current.length > 0 && (h(structuredClone(C.current)), N(C.current)), r(), f("");
10404
10407
  }, I = l.getAllLeafColumns().filter(
10405
10408
  (j) => !j.columnDef.enableHiding && j.id !== _2 && j.id !== R2 && j.id !== Z2
10406
10409
  );
10407
10410
  v.useEffect(() => {
10408
10411
  if (m === "selection" || u || o) return;
10409
10412
  const j = i?.checked_state || [];
10410
- h(j), w(j);
10413
+ h(j), N(j);
10411
10414
  }, [o, u, m]), K1(() => {
10412
10415
  if (m !== "selection" || u || o) return;
10413
10416
  const j = i?.checked_state || [];
10414
- h(j), w(j);
10417
+ h(j), N(j);
10415
10418
  }, [{ isPending: o, isError: u, variant: m, columns: i?.checked_state }]);
10416
- const y = p.filter((j) => j.checked), _ = p.filter((j) => !j.checked), w = (j) => {
10419
+ const y = p.filter((j) => j.checked), _ = p.filter((j) => !j.checked), N = (j) => {
10417
10420
  j.forEach((S) => {
10418
10421
  l.getColumn(S.id)?.toggleVisibility(S.checked);
10419
10422
  }), l.setColumnOrder(() => {
@@ -10427,8 +10430,8 @@ function bh({
10427
10430
  }), B;
10428
10431
  });
10429
10432
  }, A = () => {
10430
- w(p), m === "selection" && (C.current = structuredClone(p)), d(p), r(), f("");
10431
- }, N = _.filter(
10433
+ N(p), m === "selection" && (C.current = structuredClone(p)), d(p), r(), f("");
10434
+ }, w = _.filter(
10432
10435
  (j) => j.label.toLowerCase().includes(x.toLowerCase())
10433
10436
  ), L = [
10434
10437
  {
@@ -10513,7 +10516,7 @@ function bh({
10513
10516
  /* @__PURE__ */ a.jsx(
10514
10517
  Ch,
10515
10518
  {
10516
- cols: N,
10519
+ cols: w,
10517
10520
  text: "Not Selected",
10518
10521
  textCn: U0.info2,
10519
10522
  checkedState: p,
@@ -10627,10 +10630,10 @@ function zh({
10627
10630
  }, []), v.useEffect(() => {
10628
10631
  if (n?.isLoading) return;
10629
10632
  const y = (_) => {
10630
- const w = !i4.includes(_.type);
10631
- let A = w ? [] : "";
10632
- const N = n?.initialFilters?.[_.key];
10633
- return N && (A = w ? N.split(",") : N), {
10633
+ const N = !i4.includes(_.type);
10634
+ let A = N ? [] : "";
10635
+ const w = n?.initialFilters?.[_.key];
10636
+ return w && (A = N ? w.split(",") : w), {
10634
10637
  key: _.key,
10635
10638
  values: A,
10636
10639
  type: _.type
@@ -10941,7 +10944,7 @@ function Kg({
10941
10944
  visibilityConfig: f,
10942
10945
  pinningConfig: C
10943
10946
  }) {
10944
- const g = v.useRef(!0), [q, I] = v.useState([]), [y, _] = v.useState({}), [w, A] = v.useState([]), [N, L] = v.useState({
10947
+ const g = v.useRef(!0), [q, I] = v.useState([]), [y, _] = v.useState({}), [N, A] = v.useState([]), [w, L] = v.useState({
10945
10948
  left: m?.stickyIds ? [R2, _2, ...m?.stickyIds] : [R2, _2],
10946
10949
  right: [Z2]
10947
10950
  }), [j, S] = v.useState({}), B = !l.isFetching && !l.isError && !e.length, { isCheckbox: R, isRadio: D, setSelectedRows: X } = s, J = v2((H) => H.resetAllFilters);
@@ -11034,9 +11037,9 @@ function Kg({
11034
11037
  state: {
11035
11038
  sorting: q,
11036
11039
  columnVisibility: f?.columnVisibility || y,
11037
- columnOrder: w,
11040
+ columnOrder: N,
11038
11041
  rowSelection: s?.rowSelection || j,
11039
- columnPinning: C?.columnPinning || N
11042
+ columnPinning: C?.columnPinning || w
11040
11043
  },
11041
11044
  manualSorting: !0,
11042
11045
  onSortingChange: I,
@@ -11716,9 +11719,9 @@ function sq({
11716
11719
  softwareId: I,
11717
11720
  preLoadedFiles: y = [],
11718
11721
  showFileList: _ = !0,
11719
- acceptedFileTypes: w = "image/png, image/jpeg, image/jpeg, image/webp, application/pdf, .doc, .docx, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel",
11722
+ acceptedFileTypes: N = "image/png, image/jpeg, image/jpeg, image/webp, application/pdf, .doc, .docx, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel",
11720
11723
  error: A,
11721
- addDocumentSubtitle: N,
11724
+ addDocumentSubtitle: w,
11722
11725
  handleImageUpload: L
11723
11726
  }) {
11724
11727
  const [j, S] = v.useState([]), [B, R] = v.useState([]), [D, X] = v.useState(!1), [J, d0] = v.useState([]), [l0, w0] = v.useState([]), [H, z] = v.useState(null), [F, W] = v.useState(""), [$, u0] = v.useState(null), [m0, Q] = v.useState(!0), i0 = v.useRef(null), g0 = n && B.filter((M) => !j.includes(M.key))?.length >= n || h ? !0 : $ !== null && !$;
@@ -11816,7 +11819,7 @@ function sq({
11816
11819
  },
11817
11820
  onChange: u2,
11818
11821
  type: "file",
11819
- accept: w,
11822
+ accept: N,
11820
11823
  style: { display: "none" },
11821
11824
  multiple: s,
11822
11825
  max: 10,
@@ -11853,10 +11856,10 @@ function sq({
11853
11856
  className: b(Y.subTitle, h ? Y.disabledSubTitle : ""),
11854
11857
  children: [
11855
11858
  /* @__PURE__ */ a.jsx("span", { children: "File Type: " }),
11856
- /* @__PURE__ */ a.jsx("b", { children: N }),
11859
+ /* @__PURE__ */ a.jsx("b", { children: w }),
11857
11860
  /* @__PURE__ */ a.jsxs("b", { children: [
11858
11861
  " ",
11859
- B5(w),
11862
+ B5(N),
11860
11863
  "."
11861
11864
  ] }),
11862
11865
  /* @__PURE__ */ a.jsx("div", { className: Y.divider }),
@@ -11926,10 +11929,10 @@ function sq({
11926
11929
  /* @__PURE__ */ a.jsx("div", { className: b(Y.title, h ? Y.disabledTitle : ""), children: x }),
11927
11930
  /* @__PURE__ */ a.jsxs("div", { className: b(Y.subTitle, h ? Y.disabledSubTitle : ""), children: [
11928
11931
  /* @__PURE__ */ a.jsx("span", { children: "File Type: " }),
11929
- /* @__PURE__ */ a.jsx("b", { children: N }),
11932
+ /* @__PURE__ */ a.jsx("b", { children: w }),
11930
11933
  /* @__PURE__ */ a.jsxs("b", { children: [
11931
11934
  " ",
11932
- B5(w),
11935
+ B5(N),
11933
11936
  "."
11934
11937
  ] }),
11935
11938
  /* @__PURE__ */ a.jsx("div", { className: Y.divider }),
@@ -12295,12 +12298,12 @@ function xf({
12295
12298
  const [i, o] = v.useState(U1), [u, d] = v.useState(U1), [m, p] = v.useState(!1);
12296
12299
  v.useEffect(() => {
12297
12300
  if (e) {
12298
- const q = new Date(e), I = q.getHours(), y = q.getMinutes(), _ = q.getSeconds(), w = c === D0.STANDARD ? I >= 12 ? V2.PM : V2.AM : "";
12301
+ const q = new Date(e), I = q.getHours(), y = q.getMinutes(), _ = q.getSeconds(), N = c === D0.STANDARD ? I >= 12 ? V2.PM : V2.AM : "";
12299
12302
  o({
12300
12303
  hour: Q2(I, c, !0),
12301
12304
  minute: Q2(y, c),
12302
12305
  second: Q2(_, c),
12303
- period: w
12306
+ period: N
12304
12307
  });
12305
12308
  } else
12306
12309
  o(U1), d(U1);
package/dist/index.d.ts CHANGED
@@ -478,7 +478,7 @@ declare type CustomColCheckedState = {
478
478
 
479
479
  declare type DateConfig = Partial<DateRangePickerProps>;
480
480
 
481
- export declare function DatePicker({ value, onChange, mode, variant, displayDateFormat, errorMsg, disableDatepicker, disabled, buttonVariant, customContainerStyles, popoverConfig, isError, showOutsideDays, trigger, ...props }: DatePickerProps): JSX.Element;
481
+ export declare function DatePicker({ value, onChange, mode, variant, displayDateFormat, errorMsg, disableDatepicker, disabled, buttonVariant, customContainerStyles, popoverConfig, isError, showOutsideDays, trigger, startMonth, endMonth, ...props }: DatePickerProps): JSX.Element;
482
482
 
483
483
  declare interface DatePickerProps extends PropsSingle {
484
484
  value?: Date | string;
@@ -504,6 +504,8 @@ declare interface DatePickerProps extends PropsSingle {
504
504
  showOutsideDays?: boolean;
505
505
  disabled?: Matcher | Matcher[];
506
506
  trigger?: React_2.ReactNode;
507
+ startMonth?: Date;
508
+ endMonth?: Date;
507
509
  }
508
510
 
509
511
  export declare function DateRangePicker({ value, onChange, mode, datePickerClassNames, showQuickSelect, disabled, customDisable, disableDatepicker, disableWeekends, showOutsideDays, errorMsg, customInputContentStyles, customClasses, size, onReset, placeholder, trigger, ...props }: DateRangePickerProps): JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hybr1d-tech/charizard",
3
- "version": "2.3.50",
3
+ "version": "2.3.52",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -27,56 +27,56 @@
27
27
  "@dnd-kit/utilities": "^3.2.2",
28
28
  "@popperjs/core": "^2.11.8",
29
29
  "@tanstack/react-table": "^8.21.3",
30
- "@zag-js/accordion": "^1.27.1",
31
- "@zag-js/checkbox": "^1.27.1",
32
- "@zag-js/color-picker": "^1.27.1",
33
- "@zag-js/combobox": "^1.27.1",
34
- "@zag-js/dialog": "^1.27.1",
35
- "@zag-js/menu": "^1.27.1",
36
- "@zag-js/pagination": "^1.27.1",
37
- "@zag-js/popover": "^1.27.1",
38
- "@zag-js/popper": "^1.27.1",
39
- "@zag-js/radio-group": "^1.27.1",
40
- "@zag-js/react": "^1.27.1",
41
- "@zag-js/select": "^1.27.1",
42
- "@zag-js/switch": "^1.27.1",
43
- "@zag-js/tabs": "^1.27.1",
44
- "@zag-js/tooltip": "^1.27.1",
30
+ "@zag-js/accordion": "^1.31.1",
31
+ "@zag-js/checkbox": "^1.31.1",
32
+ "@zag-js/color-picker": "^1.31.1",
33
+ "@zag-js/combobox": "^1.31.1",
34
+ "@zag-js/dialog": "^1.31.1",
35
+ "@zag-js/menu": "^1.31.1",
36
+ "@zag-js/pagination": "^1.31.1",
37
+ "@zag-js/popover": "^1.31.1",
38
+ "@zag-js/popper": "^1.31.1",
39
+ "@zag-js/radio-group": "^1.31.1",
40
+ "@zag-js/react": "^1.31.1",
41
+ "@zag-js/select": "^1.31.1",
42
+ "@zag-js/switch": "^1.31.1",
43
+ "@zag-js/tabs": "^1.31.1",
44
+ "@zag-js/tooltip": "^1.31.1",
45
45
  "clsx": "^2.1.1",
46
46
  "date-fns": "^4.1.0",
47
- "react": "^19.2.0",
47
+ "react": "^19.2.3",
48
48
  "react-country-flag": "^3.1.0",
49
- "react-day-picker": "^9.11.1",
50
- "react-dom": "^19.2.0",
49
+ "react-day-picker": "^9.12.0",
50
+ "react-dom": "^19.2.3",
51
51
  "react-infinite-scroll-component": "^6.1.0",
52
52
  "react-inlinesvg": "^4.2.0",
53
53
  "react-intersection-observer": "^9.8.0",
54
- "react-router": "7.9.5",
54
+ "react-router": "7.10.1",
55
55
  "react-select": "^5.10.2",
56
56
  "react-toastify": "^11.0.5",
57
57
  "react-tooltip": "^5.30.0",
58
58
  "use-deep-compare-effect": "^1.8.1",
59
- "zustand": "^5.0.8"
59
+ "zustand": "^5.0.9"
60
60
  },
61
61
  "devDependencies": {
62
62
  "@storybook/addon-essentials": "^8.6.14",
63
63
  "@storybook/addon-interactions": "^8.6.14",
64
- "@storybook/addon-links": "^10.0.5",
64
+ "@storybook/addon-links": "^10.1.8",
65
65
  "@storybook/blocks": "^8.6.14",
66
- "@storybook/react": "^10.0.5",
67
- "@storybook/react-vite": "^10.0.5",
66
+ "@storybook/react": "^10.1.8",
67
+ "@storybook/react-vite": "^10.1.8",
68
68
  "@storybook/test": "^8.6.14",
69
- "@types/node": "^24.10.0",
70
- "@types/react": "^19.2.2",
71
- "@types/react-dom": "^19.2.2",
72
- "@vitejs/plugin-react-swc": "^4.2.1",
69
+ "@types/node": "^25.0.2",
70
+ "@types/react": "^19.2.7",
71
+ "@types/react-dom": "^19.2.3",
72
+ "@vitejs/plugin-react-swc": "^4.2.2",
73
73
  "axios": "^1.13.2",
74
74
  "globals": "^16.5.0",
75
- "storybook": "^10.0.5",
75
+ "storybook": "^10.1.8",
76
76
  "storybook-css-modules-preset": "^1.1.1",
77
77
  "typescript": "5.9.3",
78
- "vite": "^7.2.1",
79
- "vite-plugin-checker": "^0.11.0",
78
+ "vite": "^7.2.7",
79
+ "vite-plugin-checker": "^0.12.0",
80
80
  "vite-plugin-dts": "4.5.4",
81
81
  "vite-plugin-libcss": "^1.1.2"
82
82
  },