@kashifd/jwero-components 0.5.78 → 0.5.80

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/index.es.js CHANGED
@@ -600,8 +600,8 @@ Check the top-level render call using <` + lt + ">.");
600
600
  ke.ref !== null && (Ft(ke), R("Invalid attribute `ref` supplied to `React.Fragment`."), Ft(null));
601
601
  }
602
602
  }
603
- var jr = {};
604
- function Fr(ke, qe, lt, Ie, Ne, _e) {
603
+ var Lr = {};
604
+ function jr(ke, qe, lt, Ie, Ne, _e) {
605
605
  {
606
606
  var Xe = U(ke);
607
607
  if (!Xe) {
@@ -632,24 +632,24 @@ Check the top-level render call using <` + lt + ">.");
632
632
  var l = ue(ke), u = Object.keys(qe).filter(function(p) {
633
633
  return p !== "key";
634
634
  }), f = u.length > 0 ? "{key: someKey, " + u.join(": ..., ") + ": ...}" : "{key: someKey}";
635
- if (!jr[l + f]) {
635
+ if (!Lr[l + f]) {
636
636
  var h = u.length > 0 ? "{" + u.join(": ..., ") + ": ...}" : "{}";
637
637
  R(`A props object containing a "key" prop is being spread into JSX:
638
638
  let props = %s;
639
639
  <%s {...props} />
640
640
  React keys must be passed directly to JSX without using spread:
641
641
  let props = %s;
642
- <%s key={someKey} {...props} />`, f, l, h, l), jr[l + f] = !0;
642
+ <%s key={someKey} {...props} />`, f, l, h, l), Lr[l + f] = !0;
643
643
  }
644
644
  }
645
645
  return ke === a ? sr($) : Sr($), $;
646
646
  }
647
647
  }
648
648
  function en(ke, qe, lt) {
649
- return Fr(ke, qe, lt, !0);
649
+ return jr(ke, qe, lt, !0);
650
650
  }
651
651
  function _n(ke, qe, lt) {
652
- return Fr(ke, qe, lt, !1);
652
+ return jr(ke, qe, lt, !1);
653
653
  }
654
654
  var Wr = _n, tn = en;
655
655
  Pi.Fragment = a, Pi.jsx = Wr, Pi.jsxs = tn;
@@ -3034,7 +3034,7 @@ function Gs(e, t) {
3034
3034
  function Ow(e, t) {
3035
3035
  return e.map(t).join("");
3036
3036
  }
3037
- var bc = 1, ai = 1, $m = 0, gn = 0, zr = 0, yi = "";
3037
+ var bc = 1, ai = 1, $m = 0, gn = 0, Br = 0, yi = "";
3038
3038
  function xc(e, t, n, a, s, c, d) {
3039
3039
  return { value: e, root: t, parent: n, type: a, props: s, children: c, line: bc, column: ai, length: d, return: "" };
3040
3040
  }
@@ -3042,13 +3042,13 @@ function Ei(e, t) {
3042
3042
  return Sw(xc("", null, null, "", null, null, 0), e, { length: -e.length }, t);
3043
3043
  }
3044
3044
  function Dw() {
3045
- return zr;
3045
+ return Br;
3046
3046
  }
3047
3047
  function Mw() {
3048
- return zr = gn > 0 ? Xr(yi, --gn) : 0, ai--, zr === 10 && (ai = 1, bc--), zr;
3048
+ return Br = gn > 0 ? Xr(yi, --gn) : 0, ai--, Br === 10 && (ai = 1, bc--), Br;
3049
3049
  }
3050
3050
  function Tn() {
3051
- return zr = gn < $m ? Xr(yi, gn++) : 0, ai++, zr === 10 && (ai = 1, bc++), zr;
3051
+ return Br = gn < $m ? Xr(yi, gn++) : 0, ai++, Br === 10 && (ai = 1, bc++), Br;
3052
3052
  }
3053
3053
  function fo() {
3054
3054
  return Xr(yi, gn);
@@ -3101,23 +3101,23 @@ function xl(e) {
3101
3101
  return Um(Os(gn - 1, Zu(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
3102
3102
  }
3103
3103
  function Pw(e) {
3104
- for (; (zr = fo()) && zr < 33; )
3104
+ for (; (Br = fo()) && Br < 33; )
3105
3105
  Tn();
3106
- return cs(e) > 2 || cs(zr) > 3 ? "" : " ";
3106
+ return cs(e) > 2 || cs(Br) > 3 ? "" : " ";
3107
3107
  }
3108
3108
  function Ew(e, t) {
3109
- for (; --t && Tn() && !(zr < 48 || zr > 102 || zr > 57 && zr < 65 || zr > 70 && zr < 97); )
3109
+ for (; --t && Tn() && !(Br < 48 || Br > 102 || Br > 57 && Br < 65 || Br > 70 && Br < 97); )
3110
3110
  ;
3111
3111
  return Os(e, bl() + (t < 6 && fo() == 32 && Tn() == 32));
3112
3112
  }
3113
3113
  function Zu(e) {
3114
3114
  for (; Tn(); )
3115
- switch (zr) {
3115
+ switch (Br) {
3116
3116
  case e:
3117
3117
  return gn;
3118
3118
  case 34:
3119
3119
  case 39:
3120
- e !== 34 && e !== 39 && Zu(zr);
3120
+ e !== 34 && e !== 39 && Zu(Br);
3121
3121
  break;
3122
3122
  case 40:
3123
3123
  e === 41 && Zu(e);
@@ -3129,8 +3129,8 @@ function Zu(e) {
3129
3129
  return gn;
3130
3130
  }
3131
3131
  function Rw(e, t) {
3132
- for (; Tn() && e + zr !== 57; )
3133
- if (e + zr === 84 && fo() === 47)
3132
+ for (; Tn() && e + Br !== 57; )
3133
+ if (e + Br === 84 && fo() === 47)
3134
3134
  break;
3135
3135
  return "/*" + Os(t, gn - 1) + "*" + vc(e === 47 ? e : Tn());
3136
3136
  }
@@ -5476,7 +5476,7 @@ function zC(e = {}) {
5476
5476
  sx: i.oneOfType([i.arrayOf(i.oneOfType([i.func, i.object, i.bool])), i.func, i.object])
5477
5477
  }), d;
5478
5478
  }
5479
- function Lr() {
5479
+ function zr() {
5480
5480
  const e = yc(Ac);
5481
5481
  return process.env.NODE_ENV !== "production" && z.useDebugValue(e), e[Ds] || e;
5482
5482
  }
@@ -6556,7 +6556,7 @@ const aS = ["addEndListener", "children", "className", "collapsedSize", "compone
6556
6556
  } = a, B = je(a, aS), _ = N({}, a, {
6557
6557
  orientation: W,
6558
6558
  collapsedSize: g
6559
- }), G = iS(_), ae = Lr(), J = Wo(), U = z.useRef(null), te = z.useRef(), de = typeof g == "number" ? `${g}px` : g, ue = W === "horizontal", ie = ue ? "width" : "height", ee = z.useRef(null), ne = zt(n, ee), fe = (se) => (ge) => {
6559
+ }), G = iS(_), ae = zr(), J = Wo(), U = z.useRef(null), te = z.useRef(), de = typeof g == "number" ? `${g}px` : g, ue = W === "horizontal", ie = ue ? "width" : "height", ee = z.useRef(null), ne = zt(n, ee), fe = (se) => (ge) => {
6560
6560
  if (se) {
6561
6561
  const oe = ee.current;
6562
6562
  ge === void 0 ? se(oe) : se(oe, ge);
@@ -6806,7 +6806,7 @@ const dS = ["className", "component", "elevation", "square", "variant"], fS = (e
6806
6806
  square: g,
6807
6807
  variant: m
6808
6808
  }), T = fS(w);
6809
- return process.env.NODE_ENV !== "production" && Lr().shadows[d] === void 0 && console.error([`MUI: The elevation provided <Paper elevation={${d}}> is not available in the theme.`, `Please make sure that \`theme.shadows[${d}]\` is defined.`].join(`
6809
+ return process.env.NODE_ENV !== "production" && zr().shadows[d] === void 0 && console.error([`MUI: The elevation provided <Paper elevation={${d}}> is not available in the theme.`, `Please make sure that \`theme.shadows[${d}]\` is defined.`].join(`
6810
6810
  `)), /* @__PURE__ */ k.jsx(hS, N({
6811
6811
  as: c,
6812
6812
  ownerState: w,
@@ -10745,13 +10745,13 @@ function UT(e) {
10745
10745
  index: Ne,
10746
10746
  reason: "mouse"
10747
10747
  });
10748
- }, jr = (Ie) => {
10748
+ }, Lr = (Ie) => {
10749
10749
  dt({
10750
10750
  event: Ie,
10751
10751
  index: Number(Ie.currentTarget.getAttribute("data-option-index")),
10752
10752
  reason: "touch"
10753
10753
  }), yr.current = !0;
10754
- }, Fr = (Ie) => {
10754
+ }, jr = (Ie) => {
10755
10755
  const Ne = Number(Ie.currentTarget.getAttribute("data-option-index"));
10756
10756
  dr(Ie, ot[Ne], "selectOption"), yr.current = !1;
10757
10757
  }, en = (Ie) => (Ne) => {
@@ -10858,8 +10858,8 @@ function UT(e) {
10858
10858
  role: "option",
10859
10859
  id: `${he}-option-${Ie}`,
10860
10860
  onMouseMove: sr,
10861
- onClick: Fr,
10862
- onTouchStart: jr,
10861
+ onClick: jr,
10862
+ onTouchStart: Lr,
10863
10863
  "data-option-index": Ie,
10864
10864
  "aria-disabled": nt,
10865
10865
  "aria-selected": Xe
@@ -12730,13 +12730,13 @@ const b2 = ["autoComplete", "autoHighlight", "autoSelect", "blurOnSelect", "Chip
12730
12730
  popupOpen: mr,
12731
12731
  size: Be
12732
12732
  }), sr = C2(Sr);
12733
- let jr;
12733
+ let Lr;
12734
12734
  if (ce && ot.length > 0) {
12735
12735
  const Xe = (nt) => N({
12736
12736
  className: sr.tag,
12737
12737
  disabled: G
12738
12738
  }, Dt(nt));
12739
- Re ? jr = Re(ot, Xe, Sr) : jr = ot.map((nt, Ke) => {
12739
+ Re ? Lr = Re(ot, Xe, Sr) : Lr = ot.map((nt, Ke) => {
12740
12740
  const bt = Xe({
12741
12741
  index: Ke
12742
12742
  }), {
@@ -12748,12 +12748,12 @@ const b2 = ["autoComplete", "autoHighlight", "autoSelect", "blurOnSelect", "Chip
12748
12748
  }, r, D), $);
12749
12749
  });
12750
12750
  }
12751
- if (pe > -1 && Array.isArray(jr)) {
12752
- const Xe = jr.length - pe;
12753
- !dt && Xe > 0 && (jr = jr.splice(0, pe), jr.push(/* @__PURE__ */ k.jsx("span", {
12751
+ if (pe > -1 && Array.isArray(Lr)) {
12752
+ const Xe = Lr.length - pe;
12753
+ !dt && Xe > 0 && (Lr = Lr.splice(0, pe), Lr.push(/* @__PURE__ */ k.jsx("span", {
12754
12754
  className: sr.tag,
12755
12755
  children: ee(Xe)
12756
- }, jr.length)));
12756
+ }, Lr.length)));
12757
12757
  }
12758
12758
  const en = xe || ((Xe) => /* @__PURE__ */ k.jsxs("li", {
12759
12759
  children: [/* @__PURE__ */ k.jsx(I2, {
@@ -12844,7 +12844,7 @@ const b2 = ["autoComplete", "autoHighlight", "autoSelect", "blurOnSelect", "Chip
12844
12844
  InputProps: N({
12845
12845
  ref: yt,
12846
12846
  className: sr.inputRoot,
12847
- startAdornment: jr,
12847
+ startAdornment: Lr,
12848
12848
  onClick: (Xe) => {
12849
12849
  Xe.target === Xe.currentTarget && yr(Xe);
12850
12850
  }
@@ -13546,7 +13546,7 @@ const X2 = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "
13546
13546
  opacity: 1
13547
13547
  }
13548
13548
  }, Aa = /* @__PURE__ */ z.forwardRef(function(t, n) {
13549
- const a = Lr(), s = {
13549
+ const a = zr(), s = {
13550
13550
  enter: a.transitions.duration.enteringScreen,
13551
13551
  exit: a.transitions.duration.leavingScreen
13552
13552
  }, {
@@ -15655,7 +15655,7 @@ const KO = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
15655
15655
  const a = et({
15656
15656
  props: t,
15657
15657
  name: "MuiDialog"
15658
- }), s = Lr(), c = {
15658
+ }), s = zr(), c = {
15659
15659
  enter: s.transitions.duration.enteringScreen,
15660
15660
  exit: s.transitions.duration.leavingScreen
15661
15661
  }, {
@@ -16198,7 +16198,7 @@ function nl(e, t, n) {
16198
16198
  s && (t.style.webkitTransform = s, t.style.transform = s);
16199
16199
  }
16200
16200
  const nb = /* @__PURE__ */ z.forwardRef(function(t, n) {
16201
- const a = Lr(), s = {
16201
+ const a = zr(), s = {
16202
16202
  enter: a.transitions.easing.easeOut,
16203
16203
  exit: a.transitions.easing.sharp
16204
16204
  }, c = {
@@ -16493,7 +16493,7 @@ const ib = /* @__PURE__ */ z.forwardRef(function(t, n) {
16493
16493
  const a = et({
16494
16494
  props: t,
16495
16495
  name: "MuiDrawer"
16496
- }), s = Lr(), c = Hr(), d = {
16496
+ }), s = zr(), c = Hr(), d = {
16497
16497
  enter: s.transitions.duration.enteringScreen,
16498
16498
  exit: s.transitions.duration.leavingScreen
16499
16499
  }, {
@@ -17633,7 +17633,7 @@ const VD = {
17633
17633
  timeout: I = "auto",
17634
17634
  // eslint-disable-next-line react/prop-types
17635
17635
  TransitionComponent: L = vn
17636
- } = t, W = je(t, zD), R = Wo(), H = z.useRef(), X = Lr(), B = z.useRef(null), _ = zt(B, c.ref, n), G = (ee) => (ne) => {
17636
+ } = t, W = je(t, zD), R = Wo(), H = z.useRef(), X = zr(), B = z.useRef(null), _ = zt(B, c.ref, n), G = (ee) => (ne) => {
17637
17637
  if (ee) {
17638
17638
  const fe = B.current;
17639
17639
  ne === void 0 ? ee(fe) : ee(fe, ne);
@@ -22686,7 +22686,7 @@ const ZP = ["onEnter", "onExited"], JP = ["action", "anchorOrigin", "autoHideDur
22686
22686
  const a = et({
22687
22687
  props: t,
22688
22688
  name: "MuiSnackbar"
22689
- }), s = Lr(), c = {
22689
+ }), s = zr(), c = {
22690
22690
  enter: s.transitions.duration.enteringScreen,
22691
22691
  exit: s.transitions.duration.leavingScreen
22692
22692
  }, {
@@ -23105,7 +23105,7 @@ const to = /* @__PURE__ */ z.forwardRef(function(t, n) {
23105
23105
  TransitionProps: xe
23106
23106
  } = _, we = je(_, rE), De = /* @__PURE__ */ z.isValidElement(ae) ? ae : /* @__PURE__ */ k.jsx("span", {
23107
23107
  children: ae
23108
- }), Re = Lr(), Ve = Hr(), [Be, Ge] = z.useState(), [Qe, ft] = z.useState(null), Pt = z.useRef(!1), Et = ie || Ce, Ot = Wo(), At = Wo(), Dt = Wo(), Vt = Wo(), [vt, ot] = $r({
23108
+ }), Re = zr(), Ve = Hr(), [Be, Ge] = z.useState(), [Qe, ft] = z.useState(null), Pt = z.useRef(!1), Et = ie || Ce, Ot = Wo(), At = Wo(), Dt = Wo(), Vt = Wo(), [vt, ot] = $r({
23109
23109
  controlled: ce,
23110
23110
  default: !1,
23111
23111
  name: "Tooltip",
@@ -23186,21 +23186,21 @@ const to = /* @__PURE__ */ z.forwardRef(function(t, n) {
23186
23186
  x: Ke.clientX,
23187
23187
  y: Ke.clientY
23188
23188
  }, Jr.current && Jr.current.update();
23189
- }, sr = {}, jr = typeof Pe == "string";
23190
- te ? (sr.title = !jt && jr && !ue ? Pe : null, sr["aria-describedby"] = jt ? or : null) : (sr["aria-label"] = jr ? Pe : null, sr["aria-labelledby"] = jt && !jr ? or : null);
23191
- const Fr = N({}, sr, we, De.props, {
23189
+ }, sr = {}, Lr = typeof Pe == "string";
23190
+ te ? (sr.title = !jt && Lr && !ue ? Pe : null, sr["aria-describedby"] = jt ? or : null) : (sr["aria-label"] = Lr ? Pe : null, sr["aria-labelledby"] = jt && !Lr ? or : null);
23191
+ const jr = N({}, sr, we, De.props, {
23192
23192
  className: He(we.className, De.props.className),
23193
23193
  onTouchStart: Dn,
23194
23194
  ref: wo
23195
23195
  }, Ce ? {
23196
23196
  onMouseMove: Sr
23197
23197
  } : {});
23198
- process.env.NODE_ENV !== "production" && (Fr["data-mui-internal-clone-element"] = !0, z.useEffect(() => {
23198
+ process.env.NODE_ENV !== "production" && (jr["data-mui-internal-clone-element"] = !0, z.useEffect(() => {
23199
23199
  Be && !Be.getAttribute("data-mui-internal-clone-element") && console.error(["MUI: The `children` component of the Tooltip is not forwarding its props correctly.", "Please make sure that props are spread on the same element that the ref is applied to."].join(`
23200
23200
  `));
23201
23201
  }, [Be]));
23202
23202
  const en = {};
23203
- ee || (Fr.onTouchStart = Mn, Fr.onTouchEnd = yo), ue || (Fr.onMouseOver = al(at, Fr.onMouseOver), Fr.onMouseLeave = al(yt, Fr.onMouseLeave), Et || (en.onMouseOver = at, en.onMouseLeave = yt)), de || (Fr.onFocus = al(_r, Fr.onFocus), Fr.onBlur = al(dr, Fr.onBlur), Et || (en.onFocus = _r, en.onBlur = dr)), process.env.NODE_ENV !== "production" && De.props.title && console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.", `Remove this title prop \`${De.props.title}\` or the Tooltip component.`].join(`
23203
+ ee || (jr.onTouchStart = Mn, jr.onTouchEnd = yo), ue || (jr.onMouseOver = al(at, jr.onMouseOver), jr.onMouseLeave = al(yt, jr.onMouseLeave), Et || (en.onMouseOver = at, en.onMouseLeave = yt)), de || (jr.onFocus = al(_r, jr.onFocus), jr.onBlur = al(dr, jr.onBlur), Et || (en.onFocus = _r, en.onBlur = dr)), process.env.NODE_ENV !== "production" && De.props.title && console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.", `Remove this title prop \`${De.props.title}\` or the Tooltip component.`].join(`
23204
23204
  `));
23205
23205
  const _n = z.useMemo(() => {
23206
23206
  var Ke;
@@ -23230,7 +23230,7 @@ const to = /* @__PURE__ */ z.forwardRef(function(t, n) {
23230
23230
  className: He(tn.arrow, (X = (B = me.arrow) != null ? B : U.arrow) == null ? void 0 : X.className)
23231
23231
  }), Wr);
23232
23232
  return /* @__PURE__ */ k.jsxs(z.Fragment, {
23233
- children: [/* @__PURE__ */ z.cloneElement(De, Fr), /* @__PURE__ */ k.jsx(ke, N({
23233
+ children: [/* @__PURE__ */ z.cloneElement(De, jr), /* @__PURE__ */ k.jsx(ke, N({
23234
23234
  as: ge ?? wa,
23235
23235
  placement: se,
23236
23236
  anchorEl: Ce ? {
@@ -24620,7 +24620,7 @@ const kf = /* @__PURE__ */ z.forwardRef(function(t, n) {
24620
24620
  const a = et({
24621
24621
  props: t,
24622
24622
  name: "MuiTabs"
24623
- }), s = Lr(), c = Hr(), {
24623
+ }), s = zr(), c = Hr(), {
24624
24624
  "aria-label": d,
24625
24625
  "aria-labelledby": g,
24626
24626
  action: m,
@@ -31672,7 +31672,7 @@ function hx(e) {
31672
31672
  className: a,
31673
31673
  reduceAnimations: s,
31674
31674
  transKey: c
31675
- } = t, d = r5(t), g = Lr();
31675
+ } = t, d = r5(t), g = zr();
31676
31676
  return s ? n : /* @__PURE__ */ k.jsx(n5, {
31677
31677
  className: He(d.root, a),
31678
31678
  children: /* @__PURE__ */ k.jsx(Aa, {
@@ -32084,7 +32084,7 @@ function p5(e) {
32084
32084
  reduceAnimations: s,
32085
32085
  transKey: c
32086
32086
  // extracting `classes` from `other`
32087
- } = t, d = je(t, d5), g = f5(t), m = Lr();
32087
+ } = t, d = je(t, d5), g = f5(t), m = zr();
32088
32088
  if (s)
32089
32089
  return /* @__PURE__ */ k.jsx("div", {
32090
32090
  className: He(g.root, a),
@@ -43466,7 +43466,7 @@ Object.defineProperty(nu, "__esModule", {
43466
43466
  value: !0
43467
43467
  });
43468
43468
  nu.default = void 0;
43469
- var ua = Qy(pr), ur = hz(Un), _y = Qy(Eo), Br = Da, fz = Lo;
43469
+ var ua = Qy(pr), ur = hz(Un), _y = Qy(Eo), Fr = Da, fz = Lo;
43470
43470
  function hz(e) {
43471
43471
  return e && e.__esModule ? e : { default: e };
43472
43472
  }
@@ -43503,13 +43503,13 @@ function pz(e, t, n) {
43503
43503
  const a = /* @__PURE__ */ new Date();
43504
43504
  return /* @__PURE__ */ ua.default.createElement("div", {
43505
43505
  className: e.weekDays
43506
- }, (0, Br.eachDayOfInterval)({
43507
- start: (0, Br.startOfWeek)(a, t),
43508
- end: (0, Br.endOfWeek)(a, t)
43506
+ }, (0, Fr.eachDayOfInterval)({
43507
+ start: (0, Fr.startOfWeek)(a, t),
43508
+ end: (0, Fr.endOfWeek)(a, t)
43509
43509
  }).map((s, c) => /* @__PURE__ */ ua.default.createElement("span", {
43510
43510
  className: e.weekDay,
43511
43511
  key: c
43512
- }, (0, Br.format)(s, n, t))));
43512
+ }, (0, Fr.format)(s, n, t))));
43513
43513
  }
43514
43514
  class wh extends ua.PureComponent {
43515
43515
  render() {
@@ -43520,7 +43520,7 @@ class wh extends ua.PureComponent {
43520
43520
  styles: c,
43521
43521
  disabledDates: d,
43522
43522
  disabledDay: g
43523
- } = this.props, m = this.props.minDate && (0, Br.startOfDay)(this.props.minDate), b = this.props.maxDate && (0, Br.endOfDay)(this.props.maxDate), w = (0, fz.getMonthDisplayRange)(this.props.month, this.props.dateOptions, this.props.fixedHeight);
43523
+ } = this.props, m = this.props.minDate && (0, Fr.startOfDay)(this.props.minDate), b = this.props.maxDate && (0, Fr.endOfDay)(this.props.maxDate), w = (0, fz.getMonthDisplayRange)(this.props.month, this.props.dateOptions, this.props.fixedHeight);
43524
43524
  let T = this.props.ranges;
43525
43525
  if (n === "dateRange" && s.status) {
43526
43526
  let {
@@ -43539,27 +43539,27 @@ class wh extends ua.PureComponent {
43539
43539
  style: this.props.style
43540
43540
  }, this.props.showMonthName ? /* @__PURE__ */ ua.default.createElement("div", {
43541
43541
  className: c.monthName
43542
- }, (0, Br.format)(this.props.month, this.props.monthDisplayFormat, this.props.dateOptions)) : null, this.props.showWeekDays && pz(c, this.props.dateOptions, this.props.weekdayDisplayFormat), /* @__PURE__ */ ua.default.createElement("div", {
43542
+ }, (0, Fr.format)(this.props.month, this.props.monthDisplayFormat, this.props.dateOptions)) : null, this.props.showWeekDays && pz(c, this.props.dateOptions, this.props.weekdayDisplayFormat), /* @__PURE__ */ ua.default.createElement("div", {
43543
43543
  className: c.days,
43544
43544
  onMouseLeave: this.props.onMouseLeave
43545
- }, (0, Br.eachDayOfInterval)({
43545
+ }, (0, Fr.eachDayOfInterval)({
43546
43546
  start: w.start,
43547
43547
  end: w.end
43548
43548
  }).map((P, E) => {
43549
- const I = (0, Br.isSameDay)(P, w.startDateOfMonth), L = (0, Br.isSameDay)(P, w.endDateOfMonth), W = m && (0, Br.isBefore)(P, m) || b && (0, Br.isAfter)(P, b), R = d.some((X) => (0, Br.isSameDay)(X, P)), H = g(P);
43549
+ const I = (0, Fr.isSameDay)(P, w.startDateOfMonth), L = (0, Fr.isSameDay)(P, w.endDateOfMonth), W = m && (0, Fr.isBefore)(P, m) || b && (0, Fr.isAfter)(P, b), R = d.some((X) => (0, Fr.isSameDay)(X, P)), H = g(P);
43550
43550
  return /* @__PURE__ */ ua.default.createElement(_y.default, wd({}, this.props, {
43551
43551
  ranges: T,
43552
43552
  day: P,
43553
43553
  preview: D ? this.props.preview : null,
43554
- isWeekend: (0, Br.isWeekend)(P, this.props.dateOptions),
43555
- isToday: (0, Br.isSameDay)(P, t),
43556
- isStartOfWeek: (0, Br.isSameDay)(P, (0, Br.startOfWeek)(P, this.props.dateOptions)),
43557
- isEndOfWeek: (0, Br.isSameDay)(P, (0, Br.endOfWeek)(P, this.props.dateOptions)),
43554
+ isWeekend: (0, Fr.isWeekend)(P, this.props.dateOptions),
43555
+ isToday: (0, Fr.isSameDay)(P, t),
43556
+ isStartOfWeek: (0, Fr.isSameDay)(P, (0, Fr.startOfWeek)(P, this.props.dateOptions)),
43557
+ isEndOfWeek: (0, Fr.isSameDay)(P, (0, Fr.endOfWeek)(P, this.props.dateOptions)),
43558
43558
  isStartOfMonth: I,
43559
43559
  isEndOfMonth: L,
43560
43560
  key: E,
43561
43561
  disabled: W || R || H,
43562
- isPassive: !(0, Br.isWithinInterval)(P, {
43562
+ isPassive: !(0, Fr.isWithinInterval)(P, {
43563
43563
  start: w.startDateOfMonth,
43564
43564
  end: w.endDateOfMonth
43565
43565
  }),
@@ -45650,7 +45650,7 @@ const $s = (e) => /* @__PURE__ */ k.jsxs(
45650
45650
  enterDelay: s = 500,
45651
45651
  sx: c
45652
45652
  }) => {
45653
- const d = Lr(), g = a === "primary" ? d.colors.secondary : a === "secondary" ? "#ffffff" : d.colors.positive, m = a === "primary" ? "#ffffff" : a === "secondary" ? "black" : d.colors.positive;
45653
+ const d = zr(), g = a === "primary" ? d.colors.secondary : a === "secondary" ? "#ffffff" : d.colors.positive, m = a === "primary" ? "#ffffff" : a === "secondary" ? "black" : d.colors.positive;
45654
45654
  return /* @__PURE__ */ k.jsx(
45655
45655
  to,
45656
45656
  {
@@ -46056,7 +46056,7 @@ const $s = (e) => /* @__PURE__ */ k.jsxs(
46056
46056
  loading: b = !1
46057
46057
  }) => {
46058
46058
  var T, D;
46059
- const w = Lr();
46059
+ const w = zr();
46060
46060
  return /* @__PURE__ */ k.jsx(
46061
46061
  eb,
46062
46062
  {
@@ -46601,7 +46601,7 @@ const v8 = ({
46601
46601
  type: c = "positive"
46602
46602
  }) => {
46603
46603
  var T;
46604
- const d = Lr(), [g, m] = Jn(!1), b = (D, P) => {
46604
+ const d = zr(), [g, m] = Jn(!1), b = (D, P) => {
46605
46605
  if (P === "clickaway") {
46606
46606
  console.log(D);
46607
46607
  return;
@@ -47186,7 +47186,7 @@ const $V = ({
47186
47186
  panelSx: T
47187
47187
  }) => {
47188
47188
  var L;
47189
- const D = Lr(), [P, E] = Jn(
47189
+ const D = zr(), [P, E] = Jn(
47190
47190
  d || ((L = t == null ? void 0 : t[0]) == null ? void 0 : L.value)
47191
47191
  ), I = (W, R) => {
47192
47192
  E(R), a && a(W, R);
@@ -47332,7 +47332,6 @@ const $V = ({
47332
47332
  currentView: t,
47333
47333
  onChangeView: n
47334
47334
  }) => {
47335
- const a = Lr();
47336
47335
  if (!Array.isArray(e) || e.length === 0)
47337
47336
  throw new Error(
47338
47337
  "The 'options' prop must be an array with at least one element."
@@ -47349,28 +47348,28 @@ const $V = ({
47349
47348
  overflow: "hidden",
47350
47349
  display: "inline-flex"
47351
47350
  },
47352
- children: e == null ? void 0 : e.map((s, c) => {
47353
- var d, g, m, b, w;
47354
- return /* @__PURE__ */ k.jsx(to, { title: (d = s.labelProps) == null ? void 0 : d.text, children: /* @__PURE__ */ k.jsxs(
47351
+ children: e == null ? void 0 : e.map((a, s) => {
47352
+ var c, d, g, m, b;
47353
+ return /* @__PURE__ */ k.jsx(to, { title: (c = a.labelProps) == null ? void 0 : c.text, children: /* @__PURE__ */ k.jsxs(
47355
47354
  rt,
47356
47355
  {
47357
- onClick: () => n == null ? void 0 : n(s.value),
47356
+ onClick: () => n == null ? void 0 : n(a.value),
47358
47357
  direction: "row",
47359
47358
  alignItems: "center",
47360
47359
  sx: {
47361
47360
  gap: "0.25rem",
47362
47361
  padding: "0.4rem 0.75rem",
47363
47362
  transition: "0.3s ease",
47364
- borderRight: c !== (e == null ? void 0 : e.length) - 1 ? `1px solid ${a.colors.surface2_lightgrey}` : "1px solid transparent",
47365
- backgroundColor: t === s.value ? a.colors.surface2_lightgrey : "white"
47363
+ borderRight: s !== (e == null ? void 0 : e.length) - 1 ? "1px solid #E9EFFF" : "1px solid transparent",
47364
+ backgroundColor: t === a.value ? "#E9EFFF" : "white"
47366
47365
  },
47367
47366
  children: [
47368
- ((g = s.labelProps) == null ? void 0 : g.position) === "left" && /* @__PURE__ */ k.jsx(wt, { ...s == null ? void 0 : s.labelTypographyProps, children: (m = s.labelProps) == null ? void 0 : m.text }),
47369
- s.icon,
47370
- ((b = s.labelProps) == null ? void 0 : b.position) === "right" && /* @__PURE__ */ k.jsx(wt, { ...s == null ? void 0 : s.labelTypographyProps, children: (w = s.labelProps) == null ? void 0 : w.text })
47367
+ ((d = a.labelProps) == null ? void 0 : d.position) === "left" && /* @__PURE__ */ k.jsx(wt, { ...a == null ? void 0 : a.labelTypographyProps, children: (g = a.labelProps) == null ? void 0 : g.text }),
47368
+ a.icon,
47369
+ ((m = a.labelProps) == null ? void 0 : m.position) === "right" && /* @__PURE__ */ k.jsx(wt, { ...a == null ? void 0 : a.labelTypographyProps, children: (b = a.labelProps) == null ? void 0 : b.text })
47371
47370
  ]
47372
47371
  }
47373
- ) }, s.value);
47372
+ ) }, a.value);
47374
47373
  })
47375
47374
  }
47376
47375
  );
@@ -47527,7 +47526,7 @@ const $V = ({
47527
47526
  customSecondaryBox: a,
47528
47527
  customMessageBox: s
47529
47528
  }) => {
47530
- const c = Lr();
47529
+ const c = zr();
47531
47530
  return /* @__PURE__ */ k.jsxs(
47532
47531
  rt,
47533
47532
  {
@@ -48147,7 +48146,7 @@ const V8 = /* @__PURE__ */ _o(z8), W8 = (e) => /* @__PURE__ */ k.jsxs(
48147
48146
  }
48148
48147
  ) });
48149
48148
  }, pm = "start", gm = "end", b0 = ({ menuList: e = [], boxSx: t }) => {
48150
- const n = Lr();
48149
+ const n = zr();
48151
48150
  if (No.isArrayWithValues(e))
48152
48151
  return /* @__PURE__ */ k.jsx(
48153
48152
  rt,
@@ -48543,7 +48542,7 @@ const nW = ({
48543
48542
  options: n,
48544
48543
  customClose: a
48545
48544
  }) => {
48546
- const s = Lr(), [c, d] = Jn(!1), [g, m] = Jn(
48545
+ const s = zr(), [c, d] = Jn(!1), [g, m] = Jn(
48547
48546
  null
48548
48547
  ), b = (T) => {
48549
48548
  T.stopPropagation(), c ? (d(!1), m(null)) : (d(!0), m(T.currentTarget), t != null && t.onClick && (t == null || t.onClick(T)));
@@ -48631,7 +48630,7 @@ const nW = ({
48631
48630
  showButton: w = !0,
48632
48631
  showAddButton: T = !0
48633
48632
  }) => {
48634
- const D = Lr();
48633
+ const D = zr();
48635
48634
  let P = t, E = n, I = a;
48636
48635
  return e === "search" && (P = t || tV, E = n || "No results found", I = a || `We could not find any results for ${m ? `"${m}"` : "your searched text"}`), e === "data" && (P = t || J8, E = n || "No data found", I = a || "There is no data present, please add data."), /* @__PURE__ */ k.jsxs(
48637
48636
  rt,
@@ -55035,7 +55034,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
55035
55034
  }($), h = $.length - 1, p = [], v = 0; v < h; v++) l = en($[v], $[v + 1]), Math.abs(l) < 1e-6 ? f[v] = f[v + 1] = 0 : (u = (r = f[v] / l) * r + (o = f[v + 1] / l) * o) > 9 && (u = 3 * l / Math.sqrt(u), f[v] = u * r, f[v + 1] = u * o);
55036
55035
  for (var y = 0; y <= h; y++) u = ($[Math.min(h, y + 1)][0] - $[Math.max(0, y - 1)][0]) / (6 * (1 + f[y] * f[y])), p.push([u || 0, f[y] * u || 0]);
55037
55036
  return p;
55038
- }, jr = function($) {
55037
+ }, Lr = function($) {
55039
55038
  var r = sr($), o = $[1], l = $[0], u = [], f = r[1], h = r[0];
55040
55039
  u.push(l, [l[0] + h[0], l[1] + h[1], o[0] - f[0], o[1] - f[1], o[0], o[1]]);
55041
55040
  for (var p = 2, v = r.length; p < v; p++) {
@@ -55043,7 +55042,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
55043
55042
  u.push([y[0] - A[0], y[1] - A[1], y[0], y[1]]);
55044
55043
  }
55045
55044
  return u;
55046
- }, Fr = function($, r, o) {
55045
+ }, jr = function($, r, o) {
55047
55046
  var l = $.slice(r, o);
55048
55047
  if (r) {
55049
55048
  if (o - r > 1 && l[1].length < 6) {
@@ -55192,7 +55191,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
55192
55191
  return [Jt, Z[Gt]];
55193
55192
  }).filter(function(Jt) {
55194
55193
  return Jt[1] !== null;
55195
- })), st = Ue.length > 1 ? jr(Ue) : Ue, mt = [];
55194
+ })), st = Ue.length > 1 ? Lr(Ue) : Ue, mt = [];
55196
55195
  be && (ve ? x = Ue : mt = x.reverse());
55197
55196
  var xt = 0, kt = 0;
55198
55197
  if (function(Jt, Gt) {
@@ -55201,7 +55200,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
55201
55200
  return Di.forEach(function(D0) {
55202
55201
  D0 !== null ? Ao++ : Ao > 0 && (rn.push(Ao), Ao = 0);
55203
55202
  }), Ao > 0 && rn.push(Ao), rn;
55204
- }(Jt), Gr = [], Qr = 0, no = 0; Qr < ir.length; no += ir[Qr++]) Gr[Qr] = Fr(Gt, no, no + ir[Qr]);
55203
+ }(Jt), Gr = [], Qr = 0, no = 0; Qr < ir.length; no += ir[Qr++]) Gr[Qr] = jr(Gt, no, no + ir[Qr]);
55205
55204
  return Gr;
55206
55205
  }(Fe, st).forEach(function(Jt) {
55207
55206
  xt++;
@@ -58726,7 +58725,16 @@ const MV = ({ name: e, labels: t, data: n }) => {
58726
58725
  data: n == null ? void 0 : n.map((c, d) => (d + 1) * 20).reverse()
58727
58726
  }
58728
58727
  ];
58729
- return /* @__PURE__ */ k.jsx(jo, { options: a, series: s, type: "bar" });
58728
+ return /* @__PURE__ */ k.jsx(
58729
+ jo,
58730
+ {
58731
+ options: a,
58732
+ series: s,
58733
+ type: "bar",
58734
+ height: "100%",
58735
+ width: "100%"
58736
+ }
58737
+ );
58730
58738
  }, RV = ({ name: e, data: t, labels: n }) => {
58731
58739
  const a = {
58732
58740
  chart: {
@@ -58953,7 +58961,7 @@ const NV = ({
58953
58961
  };
58954
58962
  }, jV = ({
58955
58963
  completionRate: e,
58956
- size: t,
58964
+ size: t = 70,
58957
58965
  labelOptions: n
58958
58966
  }) => {
58959
58967
  const a = typeof e == "number" && e >= 0 && e <= 100 ? e : 0, c = { ...{
@@ -58965,7 +58973,7 @@ const NV = ({
58965
58973
  color: ut.colors.text_tertiary
58966
58974
  },
58967
58975
  valueSx: {
58968
- fontSize: "2rem",
58976
+ fontSize: t > 60 ? "2rem" : t > 50 ? "1.5rem" : "1rem",
58969
58977
  fontWeight: 600,
58970
58978
  fontFamily: "Inter, sans-serif",
58971
58979
  color: ut.colors.positive
@@ -58973,14 +58981,16 @@ const NV = ({
58973
58981
  }, ...n }, d = bm(c.nameSx), g = bm(c.valueSx), m = {
58974
58982
  chart: {
58975
58983
  type: "radialBar",
58976
- offsetY: 0
58984
+ offsetY: 0,
58985
+ height: "100%",
58986
+ width: "100%"
58977
58987
  },
58978
58988
  plotOptions: {
58979
58989
  radialBar: {
58980
58990
  startAngle: 0,
58981
58991
  endAngle: 360,
58982
58992
  hollow: {
58983
- size: `${t}%` || "70%"
58993
+ size: `${t}%`
58984
58994
  },
58985
58995
  dataLabels: {
58986
58996
  name: {
@@ -58989,7 +58999,7 @@ const NV = ({
58989
58999
  ...d
58990
59000
  },
58991
59001
  value: {
58992
- offsetY: -18,
59002
+ offsetY: -7,
58993
59003
  formatter: function(w) {
58994
59004
  return `${w}%`;
58995
59005
  },
@@ -59006,7 +59016,16 @@ const NV = ({
59006
59016
  },
59007
59017
  labels: [c.name]
59008
59018
  }, b = [a];
59009
- return /* @__PURE__ */ k.jsx(jo, { options: m, series: b, type: "radialBar" });
59019
+ return /* @__PURE__ */ k.jsx(
59020
+ jo,
59021
+ {
59022
+ options: m,
59023
+ series: b,
59024
+ type: "radialBar",
59025
+ height: "100%",
59026
+ width: "100%"
59027
+ }
59028
+ );
59010
59029
  }, FV = ({
59011
59030
  series: e,
59012
59031
  label: t