@cgi-learning-hub/ui 0.0.1-dev.1711719764 → 0.0.1-dev.1712580863

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 (30) hide show
  1. package/dist/{TextInput-q6mkaobT.js → TextInput-CApOq4O9.js} +131 -130
  2. package/dist/{TextInput-BVYR7dwx.cjs → TextInput-CzIbLsyF.cjs} +9 -9
  3. package/dist/{TimePicker-CdZbE5Fk.cjs → TimePicker-CcO2zbfq.cjs} +1 -1
  4. package/dist/{TimePicker-CkUlMaV7.js → TimePicker-fHcWQ3Nn.js} +1 -1
  5. package/dist/assets/index.css +1 -1
  6. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -0
  7. package/dist/components/LoaderBackdrop/LoaderBackdrop.d.ts +5 -0
  8. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +13 -0
  9. package/dist/components/LoaderBackdrop/LoaderBackdrop.stories.cjs.js +1 -0
  10. package/dist/components/LoaderBackdrop/LoaderBackdrop.stories.d.ts +4 -0
  11. package/dist/components/LoaderBackdrop/LoaderBackdrop.stories.es.js +14 -0
  12. package/dist/components/LoaderBackdrop/index.cjs.js +1 -0
  13. package/dist/components/LoaderBackdrop/index.d.ts +2 -0
  14. package/dist/components/LoaderBackdrop/index.es.js +4 -0
  15. package/dist/components/index.cjs.js +1 -1
  16. package/dist/components/index.d.ts +3 -0
  17. package/dist/components/index.es.js +163 -158
  18. package/dist/components/inputs/PasswordInput/PasswordInput.cjs.js +1 -1
  19. package/dist/components/inputs/PasswordInput/PasswordInput.es.js +12 -11
  20. package/dist/components/inputs/TextInput/TextInput.cjs.js +1 -1
  21. package/dist/components/inputs/TextInput/TextInput.es.js +1 -1
  22. package/dist/components/inputs/TextInput/TextInput.stories.cjs.js +1 -1
  23. package/dist/components/inputs/TextInput/TextInput.stories.es.js +1 -1
  24. package/dist/components/inputs/TextInput/index.cjs.js +1 -1
  25. package/dist/components/inputs/TextInput/index.es.js +1 -1
  26. package/dist/components/inputs/index.cjs.js +1 -1
  27. package/dist/components/inputs/index.es.js +1 -1
  28. package/dist/index.cjs.js +1 -1
  29. package/dist/index.es.js +163 -158
  30. package/package.json +6 -6
@@ -528,7 +528,7 @@ var ht = process.env.NODE_ENV !== "production" ? e.oneOfType([e.number, e.shape(
528
528
  enter: e.number,
529
529
  exit: e.number,
530
530
  appear: e.number
531
- }).isRequired]) : null, Qs = process.env.NODE_ENV !== "production" ? e.oneOfType([e.string, e.shape({
531
+ }).isRequired]) : null, Zs = process.env.NODE_ENV !== "production" ? e.oneOfType([e.string, e.shape({
532
532
  enter: e.string,
533
533
  exit: e.string,
534
534
  active: e.string
@@ -2354,7 +2354,7 @@ const Jt = bn;
2354
2354
  function Qt(o) {
2355
2355
  return ee("MuiFormControl", o);
2356
2356
  }
2357
- const Zt = oe("MuiFormControl", ["root", "marginNone", "marginNormal", "marginDense", "fullWidth", "disabled"]), Zs = Zt, er = ["children", "className", "color", "component", "disabled", "error", "focused", "fullWidth", "hiddenLabel", "margin", "required", "size", "variant"], or = (o) => {
2357
+ const Zt = oe("MuiFormControl", ["root", "marginNone", "marginNormal", "marginDense", "fullWidth", "disabled"]), ei = Zt, er = ["children", "className", "color", "component", "disabled", "error", "focused", "fullWidth", "hiddenLabel", "margin", "required", "size", "variant"], or = (o) => {
2358
2358
  const {
2359
2359
  classes: n,
2360
2360
  margin: t,
@@ -2714,7 +2714,7 @@ const dr = gn;
2714
2714
  function ur(o) {
2715
2715
  return ee("MuiList", o);
2716
2716
  }
2717
- const pr = oe("MuiList", ["root", "padding", "dense", "subheader"]), ei = pr, fr = ["children", "className", "component", "dense", "disablePadding", "subheader"], mr = (o) => {
2717
+ const pr = oe("MuiList", ["root", "padding", "dense", "subheader"]), oi = pr, fr = ["children", "className", "component", "dense", "disablePadding", "subheader"], mr = (o) => {
2718
2718
  const {
2719
2719
  classes: n,
2720
2720
  disablePadding: t,
@@ -3315,8 +3315,7 @@ const Cr = On;
3315
3315
  function Rr(o) {
3316
3316
  return ee("MuiBackdrop", o);
3317
3317
  }
3318
- oe("MuiBackdrop", ["root", "invisible"]);
3319
- const Pr = ["children", "className", "component", "components", "componentsProps", "invisible", "open", "slotProps", "slots", "TransitionComponent", "transitionDuration"], Nr = (o) => {
3318
+ const Pr = oe("MuiBackdrop", ["root", "invisible"]), ni = Pr, Nr = ["children", "className", "component", "components", "componentsProps", "invisible", "open", "slotProps", "slots", "TransitionComponent", "transitionDuration"], Ir = (o) => {
3320
3319
  const {
3321
3320
  classes: n,
3322
3321
  invisible: t
@@ -3324,7 +3323,7 @@ const Pr = ["children", "className", "component", "components", "componentsProps
3324
3323
  return ne({
3325
3324
  root: ["root", t && "invisible"]
3326
3325
  }, Rr, n);
3327
- }, Ir = _("div", {
3326
+ }, Sr = _("div", {
3328
3327
  name: "MuiBackdrop",
3329
3328
  slot: "Root",
3330
3329
  overridesResolver: (o, n) => {
@@ -3365,15 +3364,15 @@ const Pr = ["children", "className", "component", "components", "componentsProps
3365
3364
  slots: w = {},
3366
3365
  TransitionComponent: O = Cr,
3367
3366
  transitionDuration: g
3368
- } = a, M = z(a, Pr), f = d({}, a, {
3367
+ } = a, M = z(a, Nr), f = d({}, a, {
3369
3368
  component: p,
3370
3369
  invisible: x
3371
- }), m = Nr(f), E = (r = v.root) != null ? r : h.root;
3370
+ }), m = Ir(f), E = (r = v.root) != null ? r : h.root;
3372
3371
  return /* @__PURE__ */ I(O, d({
3373
3372
  in: T,
3374
3373
  timeout: g
3375
3374
  }, M, {
3376
- children: /* @__PURE__ */ I(Ir, d({
3375
+ children: /* @__PURE__ */ I(Sr, d({
3377
3376
  "aria-hidden": !0
3378
3377
  }, E, {
3379
3378
  as: (i = (s = w.root) != null ? s : b.Root) != null ? i : p,
@@ -3481,12 +3480,12 @@ process.env.NODE_ENV !== "production" && (Cn.propTypes = {
3481
3480
  exit: e.number
3482
3481
  })])
3483
3482
  });
3484
- const Sr = Cn;
3485
- function wr(o) {
3483
+ const wr = Cn;
3484
+ function Mr(o) {
3486
3485
  return ee("MuiModal", o);
3487
3486
  }
3488
3487
  oe("MuiModal", ["root", "hidden", "backdrop"]);
3489
- const Mr = ["BackdropComponent", "BackdropProps", "classes", "className", "closeAfterTransition", "children", "container", "component", "components", "componentsProps", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "onBackdropClick", "onClose", "onTransitionEnter", "onTransitionExited", "open", "slotProps", "slots", "theme"], $r = (o) => {
3488
+ const $r = ["BackdropComponent", "BackdropProps", "classes", "className", "closeAfterTransition", "children", "container", "component", "components", "componentsProps", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "onBackdropClick", "onClose", "onTransitionEnter", "onTransitionExited", "open", "slotProps", "slots", "theme"], kr = (o) => {
3490
3489
  const {
3491
3490
  open: n,
3492
3491
  exited: t,
@@ -3495,8 +3494,8 @@ const Mr = ["BackdropComponent", "BackdropProps", "classes", "className", "close
3495
3494
  return ne({
3496
3495
  root: ["root", !n && t && "hidden"],
3497
3496
  backdrop: ["backdrop"]
3498
- }, wr, r);
3499
- }, kr = _("div", {
3497
+ }, Mr, r);
3498
+ }, Fr = _("div", {
3500
3499
  name: "MuiModal",
3501
3500
  slot: "Root",
3502
3501
  overridesResolver: (o, n) => {
@@ -3517,7 +3516,7 @@ const Mr = ["BackdropComponent", "BackdropProps", "classes", "className", "close
3517
3516
  left: 0
3518
3517
  }, !n.open && n.exited && {
3519
3518
  visibility: "hidden"
3520
- })), Fr = _(Sr, {
3519
+ })), Dr = _(wr, {
3521
3520
  name: "MuiModal",
3522
3521
  slot: "Backdrop",
3523
3522
  overridesResolver: (o, n) => n.backdrop
@@ -3529,7 +3528,7 @@ const Mr = ["BackdropComponent", "BackdropProps", "classes", "className", "close
3529
3528
  name: "MuiModal",
3530
3529
  props: n
3531
3530
  }), {
3532
- BackdropComponent: b = Fr,
3531
+ BackdropComponent: b = Dr,
3533
3532
  BackdropProps: h,
3534
3533
  className: x,
3535
3534
  closeAfterTransition: T = !1,
@@ -3551,7 +3550,7 @@ const Mr = ["BackdropComponent", "BackdropProps", "classes", "className", "close
3551
3550
  slotProps: F,
3552
3551
  slots: N
3553
3552
  // eslint-disable-next-line react/prop-types
3554
- } = p, C = z(p, Mr), S = d({}, p, {
3553
+ } = p, C = z(p, $r), S = d({}, p, {
3555
3554
  closeAfterTransition: T,
3556
3555
  disableAutoFocus: f,
3557
3556
  disableEnforceFocus: m,
@@ -3573,7 +3572,7 @@ const Mr = ["BackdropComponent", "BackdropProps", "classes", "className", "close
3573
3572
  rootRef: t
3574
3573
  })), H = d({}, S, {
3575
3574
  exited: Y
3576
- }), te = $r(H), se = {};
3575
+ }), te = kr(H), se = {};
3577
3576
  if (v.props.tabIndex === void 0 && (se.tabIndex = "-1"), G) {
3578
3577
  const {
3579
3578
  onEnter: U,
@@ -3581,7 +3580,7 @@ const Mr = ["BackdropComponent", "BackdropProps", "classes", "className", "close
3581
3580
  } = L();
3582
3581
  se.onEnter = U, se.onExited = q;
3583
3582
  }
3584
- const le = (r = (i = N == null ? void 0 : N.root) != null ? i : g.Root) != null ? r : kr, ae = (s = (a = N == null ? void 0 : N.backdrop) != null ? a : g.Backdrop) != null ? s : b, Ce = (l = F == null ? void 0 : F.root) != null ? l : M.root, ve = (c = F == null ? void 0 : F.backdrop) != null ? c : M.backdrop, ge = Fe({
3583
+ const le = (r = (i = N == null ? void 0 : N.root) != null ? i : g.Root) != null ? r : Fr, ae = (s = (a = N == null ? void 0 : N.backdrop) != null ? a : g.Backdrop) != null ? s : b, Ce = (l = F == null ? void 0 : F.root) != null ? l : M.root, ve = (c = F == null ? void 0 : F.backdrop) != null ? c : M.backdrop, ge = Fe({
3585
3584
  elementType: le,
3586
3585
  externalSlotProps: Ce,
3587
3586
  externalForwardedProps: C,
@@ -3801,11 +3800,11 @@ process.env.NODE_ENV !== "production" && (Rn.propTypes = {
3801
3800
  */
3802
3801
  sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
3803
3802
  });
3804
- const Dr = Rn;
3805
- function Lr(o) {
3803
+ const Lr = Rn;
3804
+ function jr(o) {
3806
3805
  return ee("MuiPaper", o);
3807
3806
  }
3808
- const jr = oe("MuiPaper", ["root", "rounded", "outlined", "elevation", "elevation0", "elevation1", "elevation2", "elevation3", "elevation4", "elevation5", "elevation6", "elevation7", "elevation8", "elevation9", "elevation10", "elevation11", "elevation12", "elevation13", "elevation14", "elevation15", "elevation16", "elevation17", "elevation18", "elevation19", "elevation20", "elevation21", "elevation22", "elevation23", "elevation24"]), oi = jr, _r = ["className", "component", "elevation", "square", "variant"], Ar = (o) => {
3807
+ const _r = oe("MuiPaper", ["root", "rounded", "outlined", "elevation", "elevation0", "elevation1", "elevation2", "elevation3", "elevation4", "elevation5", "elevation6", "elevation7", "elevation8", "elevation9", "elevation10", "elevation11", "elevation12", "elevation13", "elevation14", "elevation15", "elevation16", "elevation17", "elevation18", "elevation19", "elevation20", "elevation21", "elevation22", "elevation23", "elevation24"]), ti = _r, Ar = ["className", "component", "elevation", "square", "variant"], Br = (o) => {
3809
3808
  const {
3810
3809
  square: n,
3811
3810
  elevation: t,
@@ -3814,8 +3813,8 @@ const jr = oe("MuiPaper", ["root", "rounded", "outlined", "elevation", "elevatio
3814
3813
  } = o, s = {
3815
3814
  root: ["root", r, !n && "rounded", r === "elevation" && `elevation${t}`]
3816
3815
  };
3817
- return ne(s, Lr, i);
3818
- }, Br = _("div", {
3816
+ return ne(s, jr, i);
3817
+ }, Wr = _("div", {
3819
3818
  name: "MuiPaper",
3820
3819
  slot: "Root",
3821
3820
  overridesResolver: (o, n) => {
@@ -3854,14 +3853,14 @@ const jr = oe("MuiPaper", ["root", "rounded", "outlined", "elevation", "elevatio
3854
3853
  elevation: a = 1,
3855
3854
  square: l = !1,
3856
3855
  variant: c = "elevation"
3857
- } = r, p = z(r, _r), b = d({}, r, {
3856
+ } = r, p = z(r, Ar), b = d({}, r, {
3858
3857
  component: s,
3859
3858
  elevation: a,
3860
3859
  square: l,
3861
3860
  variant: c
3862
- }), h = Ar(b);
3861
+ }), h = Br(b);
3863
3862
  return process.env.NODE_ENV !== "production" && Ze().shadows[a] === void 0 && console.error([`MUI: The elevation provided <Paper elevation={${a}}> is not available in the theme.`, `Please make sure that \`theme.shadows[${a}]\` is defined.`].join(`
3864
- `)), /* @__PURE__ */ I(Br, d({
3863
+ `)), /* @__PURE__ */ I(Wr, d({
3865
3864
  as: s,
3866
3865
  ownerState: b,
3867
3866
  className: Z(h.root, i),
@@ -3917,12 +3916,12 @@ process.env.NODE_ENV !== "production" && (Pn.propTypes = {
3917
3916
  */
3918
3917
  variant: e.oneOfType([e.oneOf(["elevation", "outlined"]), e.string])
3919
3918
  });
3920
- const Wr = Pn;
3921
- function Ur(o) {
3919
+ const Ur = Pn;
3920
+ function Vr(o) {
3922
3921
  return ee("MuiPopover", o);
3923
3922
  }
3924
3923
  oe("MuiPopover", ["root", "paper"]);
3925
- const Vr = ["onEntering"], qr = ["action", "anchorEl", "anchorOrigin", "anchorPosition", "anchorReference", "children", "className", "container", "elevation", "marginThreshold", "open", "PaperProps", "slots", "slotProps", "transformOrigin", "TransitionComponent", "transitionDuration", "TransitionProps", "disableScrollLock"], zr = ["slotProps"];
3924
+ const qr = ["onEntering"], zr = ["action", "anchorEl", "anchorOrigin", "anchorPosition", "anchorReference", "children", "className", "container", "elevation", "marginThreshold", "open", "PaperProps", "slots", "slotProps", "transformOrigin", "TransitionComponent", "transitionDuration", "TransitionProps", "disableScrollLock"], Hr = ["slotProps"];
3926
3925
  function Go(o, n) {
3927
3926
  let t = 0;
3928
3927
  return typeof n == "number" ? t = n : n === "center" ? t = o.height / 2 : n === "bottom" && (t = o.height), t;
@@ -3937,19 +3936,19 @@ function Yo(o) {
3937
3936
  function Xe(o) {
3938
3937
  return typeof o == "function" ? o() : o;
3939
3938
  }
3940
- const Hr = (o) => {
3939
+ const Kr = (o) => {
3941
3940
  const {
3942
3941
  classes: n
3943
3942
  } = o;
3944
3943
  return ne({
3945
3944
  root: ["root"],
3946
3945
  paper: ["paper"]
3947
- }, Ur, n);
3948
- }, Kr = _(Dr, {
3946
+ }, Vr, n);
3947
+ }, Gr = _(Lr, {
3949
3948
  name: "MuiPopover",
3950
3949
  slot: "Root",
3951
3950
  overridesResolver: (o, n) => n.root
3952
- })({}), Nn = _(Wr, {
3951
+ })({}), Nn = _(Ur, {
3953
3952
  name: "MuiPopover",
3954
3953
  slot: "Paper",
3955
3954
  overridesResolver: (o, n) => n.paper
@@ -3998,7 +3997,7 @@ const Hr = (o) => {
3998
3997
  onEntering: D
3999
3998
  } = {},
4000
3999
  disableScrollLock: j = !1
4001
- } = a, A = z(a.TransitionProps, Vr), V = z(a, qr), W = (r = m == null ? void 0 : m.paper) != null ? r : M, F = u.useRef(), N = be(F, W.ref), C = d({}, a, {
4000
+ } = a, A = z(a.TransitionProps, qr), V = z(a, zr), W = (r = m == null ? void 0 : m.paper) != null ? r : M, F = u.useRef(), N = be(F, W.ref), C = d({}, a, {
4002
4001
  anchorOrigin: p,
4003
4002
  anchorReference: h,
4004
4003
  elevation: w,
@@ -4008,7 +4007,7 @@ const Hr = (o) => {
4008
4007
  TransitionComponent: P,
4009
4008
  transitionDuration: y,
4010
4009
  TransitionProps: A
4011
- }), S = Hr(C), k = u.useCallback(() => {
4010
+ }), S = Kr(C), k = u.useCallback(() => {
4012
4011
  if (h === "anchorPosition")
4013
4012
  return process.env.NODE_ENV !== "production" && (b || console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')), b;
4014
4013
  const U = Xe(c), q = U && U.nodeType === 1 ? U : ie(F.current).body, X = q.getBoundingClientRect();
@@ -4089,7 +4088,7 @@ const Hr = (o) => {
4089
4088
  }, [c, g, Y]);
4090
4089
  let te = y;
4091
4090
  y === "auto" && !P.muiSupportAuto && (te = void 0);
4092
- const se = v || (c ? ie(Xe(c)).body : void 0), le = (i = f == null ? void 0 : f.root) != null ? i : Kr, ae = (s = f == null ? void 0 : f.paper) != null ? s : Nn, Ce = Fe({
4091
+ const se = v || (c ? ie(Xe(c)).body : void 0), le = (i = f == null ? void 0 : f.root) != null ? i : Gr, ae = (s = f == null ? void 0 : f.paper) != null ? s : Nn, Ce = Fe({
4093
4092
  elementType: ae,
4094
4093
  externalSlotProps: d({}, W, {
4095
4094
  style: K ? W.style : d({}, W.style, {
@@ -4120,7 +4119,7 @@ const Hr = (o) => {
4120
4119
  className: Z(S.root, T)
4121
4120
  }), {
4122
4121
  slotProps: ge
4123
- } = ve, ye = z(ve, zr);
4122
+ } = ve, ye = z(ve, Hr);
4124
4123
  return /* @__PURE__ */ I(le, d({}, ye, !Hn(le) && {
4125
4124
  slotProps: ge,
4126
4125
  disableScrollLock: j
@@ -4315,17 +4314,17 @@ process.env.NODE_ENV !== "production" && (In.propTypes = {
4315
4314
  */
4316
4315
  TransitionProps: e.object
4317
4316
  });
4318
- const Gr = In;
4319
- function Xr(o) {
4317
+ const Xr = In;
4318
+ function Yr(o) {
4320
4319
  return ee("MuiMenu", o);
4321
4320
  }
4322
- const Yr = oe("MuiMenu", ["root", "paper", "list"]), ni = Yr, Jr = ["onEntering"], Qr = ["autoFocus", "children", "className", "disableAutoFocusItem", "MenuListProps", "onClose", "open", "PaperProps", "PopoverClasses", "transitionDuration", "TransitionProps", "variant", "slots", "slotProps"], Zr = {
4321
+ const Jr = oe("MuiMenu", ["root", "paper", "list"]), ri = Jr, Qr = ["onEntering"], Zr = ["autoFocus", "children", "className", "disableAutoFocusItem", "MenuListProps", "onClose", "open", "PaperProps", "PopoverClasses", "transitionDuration", "TransitionProps", "variant", "slots", "slotProps"], es = {
4323
4322
  vertical: "top",
4324
4323
  horizontal: "right"
4325
- }, es = {
4324
+ }, os = {
4326
4325
  vertical: "top",
4327
4326
  horizontal: "left"
4328
- }, os = (o) => {
4327
+ }, ns = (o) => {
4329
4328
  const {
4330
4329
  classes: n
4331
4330
  } = o;
@@ -4333,13 +4332,13 @@ const Yr = oe("MuiMenu", ["root", "paper", "list"]), ni = Yr, Jr = ["onEntering"
4333
4332
  root: ["root"],
4334
4333
  paper: ["paper"],
4335
4334
  list: ["list"]
4336
- }, Xr, n);
4337
- }, ns = _(Gr, {
4335
+ }, Yr, n);
4336
+ }, ts = _(Xr, {
4338
4337
  shouldForwardProp: (o) => me(o) || o === "classes",
4339
4338
  name: "MuiMenu",
4340
4339
  slot: "Root",
4341
4340
  overridesResolver: (o, n) => n.root
4342
- })({}), ts = _(Nn, {
4341
+ })({}), rs = _(Nn, {
4343
4342
  name: "MuiMenu",
4344
4343
  slot: "Paper",
4345
4344
  overridesResolver: (o, n) => n.paper
@@ -4350,7 +4349,7 @@ const Yr = oe("MuiMenu", ["root", "paper", "list"]), ni = Yr, Jr = ["onEntering"
4350
4349
  maxHeight: "calc(100% - 96px)",
4351
4350
  // Add iOS momentum scrolling for iOS < 13.0
4352
4351
  WebkitOverflowScrolling: "touch"
4353
- }), rs = _(gr, {
4352
+ }), ss = _(gr, {
4354
4353
  name: "MuiMenu",
4355
4354
  slot: "List",
4356
4355
  overridesResolver: (o, n) => n.list
@@ -4379,7 +4378,7 @@ const Yr = oe("MuiMenu", ["root", "paper", "list"]), ni = Yr, Jr = ["onEntering"
4379
4378
  variant: g = "selectedMenu",
4380
4379
  slots: M = {},
4381
4380
  slotProps: f = {}
4382
- } = s, m = z(s.TransitionProps, Jr), E = z(s, Qr), P = Ze(), y = P.direction === "rtl", D = d({}, s, {
4381
+ } = s, m = z(s.TransitionProps, Qr), E = z(s, Zr), P = Ze(), y = P.direction === "rtl", D = d({}, s, {
4383
4382
  autoFocus: a,
4384
4383
  disableAutoFocusItem: p,
4385
4384
  MenuListProps: b,
@@ -4388,7 +4387,7 @@ const Yr = oe("MuiMenu", ["root", "paper", "list"]), ni = Yr, Jr = ["onEntering"
4388
4387
  transitionDuration: w,
4389
4388
  TransitionProps: m,
4390
4389
  variant: g
4391
- }), j = os(D), A = a && !p && x, V = u.useRef(null), W = (L, K) => {
4390
+ }), j = ns(D), A = a && !p && x, V = u.useRef(null), W = (L, K) => {
4392
4391
  V.current && V.current.adjustStyleForScrollbar(L, P), O && O(L, K);
4393
4392
  }, F = (L) => {
4394
4393
  L.key === "Tab" && (L.preventDefault(), h && h(L, "tabKeyDown"));
@@ -4398,7 +4397,7 @@ const Yr = oe("MuiMenu", ["root", "paper", "list"]), ni = Yr, Jr = ["onEntering"
4398
4397
  /* @__PURE__ */ u.isValidElement(L) && (process.env.NODE_ENV !== "production" && vo.isFragment(L) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
4399
4398
  `)), L.props.disabled || (g === "selectedMenu" && L.props.selected || N === -1) && (N = K));
4400
4399
  });
4401
- const C = (r = M.paper) != null ? r : ts, S = (i = f.paper) != null ? i : T, k = Fe({
4400
+ const C = (r = M.paper) != null ? r : rs, S = (i = f.paper) != null ? i : T, k = Fe({
4402
4401
  elementType: M.root,
4403
4402
  externalSlotProps: f.root,
4404
4403
  ownerState: D,
@@ -4409,13 +4408,13 @@ const Yr = oe("MuiMenu", ["root", "paper", "list"]), ni = Yr, Jr = ["onEntering"
4409
4408
  ownerState: D,
4410
4409
  className: j.paper
4411
4410
  });
4412
- return /* @__PURE__ */ I(ns, d({
4411
+ return /* @__PURE__ */ I(ts, d({
4413
4412
  onClose: h,
4414
4413
  anchorOrigin: {
4415
4414
  vertical: "bottom",
4416
4415
  horizontal: y ? "right" : "left"
4417
4416
  },
4418
- transformOrigin: y ? Zr : es,
4417
+ transformOrigin: y ? es : os,
4419
4418
  slots: {
4420
4419
  paper: C,
4421
4420
  root: M.root
@@ -4433,7 +4432,7 @@ const Yr = oe("MuiMenu", ["root", "paper", "list"]), ni = Yr, Jr = ["onEntering"
4433
4432
  ownerState: D
4434
4433
  }, E, {
4435
4434
  classes: v,
4436
- children: /* @__PURE__ */ I(rs, d({
4435
+ children: /* @__PURE__ */ I(ss, d({
4437
4436
  onKeyDown: F,
4438
4437
  actions: V,
4439
4438
  autoFocus: a && (N === -1 || p),
@@ -4551,11 +4550,11 @@ process.env.NODE_ENV !== "production" && (Sn.propTypes = {
4551
4550
  */
4552
4551
  variant: e.oneOf(["menu", "selectedMenu"])
4553
4552
  });
4554
- const ss = Sn;
4555
- function is(o) {
4553
+ const is = Sn;
4554
+ function as(o) {
4556
4555
  return ee("MuiNativeSelect", o);
4557
4556
  }
4558
- const as = oe("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput", "error"]), Io = as, ls = ["className", "disabled", "error", "IconComponent", "inputRef", "variant"], cs = (o) => {
4557
+ const ls = oe("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput", "error"]), Io = ls, cs = ["className", "disabled", "error", "IconComponent", "inputRef", "variant"], ds = (o) => {
4559
4558
  const {
4560
4559
  classes: n,
4561
4560
  variant: t,
@@ -4567,7 +4566,7 @@ const as = oe("MuiNativeSelect", ["root", "select", "multiple", "filled", "outli
4567
4566
  select: ["select", t, r && "disabled", i && "multiple", a && "error"],
4568
4567
  icon: ["icon", `icon${ce(t)}`, s && "iconOpen", r && "disabled"]
4569
4568
  };
4570
- return ne(l, is, n);
4569
+ return ne(l, as, n);
4571
4570
  }, wn = ({
4572
4571
  ownerState: o,
4573
4572
  theme: n
@@ -4622,7 +4621,7 @@ const as = oe("MuiNativeSelect", ["root", "select", "multiple", "filled", "outli
4622
4621
  "&&&": {
4623
4622
  paddingRight: 32
4624
4623
  }
4625
- }), ds = _("select", {
4624
+ }), us = _("select", {
4626
4625
  name: "MuiNativeSelect",
4627
4626
  slot: "Select",
4628
4627
  shouldForwardProp: me,
@@ -4656,7 +4655,7 @@ const as = oe("MuiNativeSelect", ["root", "select", "multiple", "filled", "outli
4656
4655
  right: 7
4657
4656
  }, o.variant === "outlined" && {
4658
4657
  right: 7
4659
- }), us = _("svg", {
4658
+ }), ps = _("svg", {
4660
4659
  name: "MuiNativeSelect",
4661
4660
  slot: "Icon",
4662
4661
  overridesResolver: (o, n) => {
@@ -4673,18 +4672,18 @@ const as = oe("MuiNativeSelect", ["root", "select", "multiple", "filled", "outli
4673
4672
  IconComponent: a,
4674
4673
  inputRef: l,
4675
4674
  variant: c = "standard"
4676
- } = n, p = z(n, ls), b = d({}, n, {
4675
+ } = n, p = z(n, cs), b = d({}, n, {
4677
4676
  disabled: i,
4678
4677
  variant: c,
4679
4678
  error: s
4680
- }), h = cs(b);
4679
+ }), h = ds(b);
4681
4680
  return /* @__PURE__ */ fe(u.Fragment, {
4682
- children: [/* @__PURE__ */ I(ds, d({
4681
+ children: [/* @__PURE__ */ I(us, d({
4683
4682
  ownerState: b,
4684
4683
  className: Z(h.select, r),
4685
4684
  disabled: i,
4686
4685
  ref: l || t
4687
- }, p)), n.multiple ? null : /* @__PURE__ */ I(us, {
4686
+ }, p)), n.multiple ? null : /* @__PURE__ */ I(ps, {
4688
4687
  as: a,
4689
4688
  ownerState: b,
4690
4689
  className: h.icon
@@ -4747,13 +4746,13 @@ process.env.NODE_ENV !== "production" && ($n.propTypes = {
4747
4746
  */
4748
4747
  variant: e.oneOf(["standard", "outlined", "filled"])
4749
4748
  });
4750
- const ps = $n;
4751
- function fs(o) {
4749
+ const fs = $n;
4750
+ function ms(o) {
4752
4751
  return ee("MuiSelect", o);
4753
4752
  }
4754
- const ms = oe("MuiSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "focused", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput", "error"]), je = ms;
4753
+ const bs = oe("MuiSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "focused", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput", "error"]), je = bs;
4755
4754
  var Jo;
4756
- const bs = ["aria-describedby", "aria-label", "autoFocus", "autoWidth", "children", "className", "defaultOpen", "defaultValue", "disabled", "displayEmpty", "error", "IconComponent", "inputRef", "labelId", "MenuProps", "multiple", "name", "onBlur", "onChange", "onClose", "onFocus", "onOpen", "open", "readOnly", "renderValue", "SelectDisplayProps", "tabIndex", "type", "value", "variant"], hs = _("div", {
4755
+ const hs = ["aria-describedby", "aria-label", "autoFocus", "autoWidth", "children", "className", "defaultOpen", "defaultValue", "disabled", "displayEmpty", "error", "IconComponent", "inputRef", "labelId", "MenuProps", "multiple", "name", "onBlur", "onChange", "onClose", "onFocus", "onOpen", "open", "readOnly", "renderValue", "SelectDisplayProps", "tabIndex", "type", "value", "variant"], vs = _("div", {
4757
4756
  name: "MuiSelect",
4758
4757
  slot: "Select",
4759
4758
  overridesResolver: (o, n) => {
@@ -4787,7 +4786,7 @@ const bs = ["aria-describedby", "aria-label", "autoFocus", "autoWidth", "childre
4787
4786
  whiteSpace: "nowrap",
4788
4787
  overflow: "hidden"
4789
4788
  }
4790
- }), vs = _("svg", {
4789
+ }), gs = _("svg", {
4791
4790
  name: "MuiSelect",
4792
4791
  slot: "Icon",
4793
4792
  overridesResolver: (o, n) => {
@@ -4796,7 +4795,7 @@ const bs = ["aria-describedby", "aria-label", "autoFocus", "autoWidth", "childre
4796
4795
  } = o;
4797
4796
  return [n.icon, t.variant && n[`icon${ce(t.variant)}`], t.open && n.iconOpen];
4798
4797
  }
4799
- })(Mn), gs = _("input", {
4798
+ })(Mn), ys = _("input", {
4800
4799
  shouldForwardProp: (o) => jn(o) && o !== "classes",
4801
4800
  name: "MuiSelect",
4802
4801
  slot: "NativeInput",
@@ -4813,10 +4812,10 @@ const bs = ["aria-describedby", "aria-label", "autoFocus", "autoWidth", "childre
4813
4812
  function Qo(o, n) {
4814
4813
  return typeof n == "object" && n !== null ? o === n : String(o) === String(n);
4815
4814
  }
4816
- function ys(o) {
4815
+ function Es(o) {
4817
4816
  return o == null || typeof o == "string" && !o.trim();
4818
4817
  }
4819
- const Es = (o) => {
4818
+ const xs = (o) => {
4820
4819
  const {
4821
4820
  classes: n,
4822
4821
  variant: t,
@@ -4829,7 +4828,7 @@ const Es = (o) => {
4829
4828
  icon: ["icon", `icon${ce(t)}`, s && "iconOpen", r && "disabled"],
4830
4829
  nativeInput: ["nativeInput"]
4831
4830
  };
4832
- return ne(l, fs, n);
4831
+ return ne(l, ms, n);
4833
4832
  }, kn = /* @__PURE__ */ u.forwardRef(function(n, t) {
4834
4833
  var r;
4835
4834
  const {
@@ -4862,7 +4861,7 @@ const Es = (o) => {
4862
4861
  tabIndex: N,
4863
4862
  value: C,
4864
4863
  variant: S = "standard"
4865
- } = n, k = z(n, bs), [$, L] = jo({
4864
+ } = n, k = z(n, hs), [$, L] = jo({
4866
4865
  controlled: C,
4867
4866
  default: h,
4868
4867
  name: "Select"
@@ -4995,9 +4994,9 @@ const Es = (o) => {
4995
4994
  value: $,
4996
4995
  open: Re,
4997
4996
  error: v
4998
- }), ro = Es(He), so = d({}, M.PaperProps, (r = M.slotProps) == null ? void 0 : r.paper), ko = Zo();
4997
+ }), ro = xs(He), so = d({}, M.PaperProps, (r = M.slotProps) == null ? void 0 : r.paper), ko = Zo();
4999
4998
  return /* @__PURE__ */ fe(u.Fragment, {
5000
- children: [/* @__PURE__ */ I(hs, d({
4999
+ children: [/* @__PURE__ */ I(vs, d({
5001
5000
  ref: ve,
5002
5001
  tabIndex: to,
5003
5002
  role: "combobox",
@@ -5016,14 +5015,14 @@ const Es = (o) => {
5016
5015
  ownerState: He,
5017
5016
  className: Z(F.className, ro.select, p),
5018
5017
  id: $o,
5019
- children: ys(pe) ? (
5018
+ children: Es(pe) ? (
5020
5019
  // notranslate needed while Google Translate will not fix zero-width space issue
5021
5020
  Jo || (Jo = /* @__PURE__ */ I("span", {
5022
5021
  className: "notranslate",
5023
5022
  children: "​"
5024
5023
  }))
5025
5024
  ) : pe
5026
- })), /* @__PURE__ */ I(gs, d({
5025
+ })), /* @__PURE__ */ I(ys, d({
5027
5026
  "aria-invalid": v,
5028
5027
  value: Array.isArray($) ? $.join(",") : $,
5029
5028
  name: m,
@@ -5035,11 +5034,11 @@ const Es = (o) => {
5035
5034
  className: ro.nativeInput,
5036
5035
  autoFocus: a,
5037
5036
  ownerState: He
5038
- }, k)), /* @__PURE__ */ I(vs, {
5037
+ }, k)), /* @__PURE__ */ I(gs, {
5039
5038
  as: w,
5040
5039
  className: ro.icon,
5041
5040
  ownerState: He
5042
- }), /* @__PURE__ */ I(ss, d({
5041
+ }), /* @__PURE__ */ I(is, d({
5043
5042
  id: `menu-${m || ""}`,
5044
5043
  anchorEl: ge,
5045
5044
  open: Re,
@@ -5216,9 +5215,9 @@ process.env.NODE_ENV !== "production" && (kn.propTypes = {
5216
5215
  */
5217
5216
  variant: e.oneOf(["standard", "outlined", "filled"])
5218
5217
  });
5219
- const xs = kn, Ts = Kn(/* @__PURE__ */ I("path", {
5218
+ const Ts = kn, Os = Kn(/* @__PURE__ */ I("path", {
5220
5219
  d: "M7 10l5 5 5-5z"
5221
- }), "ArrowDropDown"), Os = ["autoWidth", "children", "classes", "className", "defaultOpen", "displayEmpty", "IconComponent", "id", "input", "inputProps", "label", "labelId", "MenuProps", "multiple", "native", "onClose", "onOpen", "open", "renderValue", "SelectDisplayProps", "variant"], Cs = ["root"], Rs = (o) => {
5220
+ }), "ArrowDropDown"), Cs = ["autoWidth", "children", "classes", "className", "defaultOpen", "displayEmpty", "IconComponent", "id", "input", "inputProps", "label", "labelId", "MenuProps", "multiple", "native", "onClose", "onOpen", "open", "renderValue", "SelectDisplayProps", "variant"], Rs = ["root"], Ps = (o) => {
5222
5221
  const {
5223
5222
  classes: n
5224
5223
  } = o;
@@ -5228,7 +5227,7 @@ const xs = kn, Ts = Kn(/* @__PURE__ */ I("path", {
5228
5227
  overridesResolver: (o, n) => n.root,
5229
5228
  shouldForwardProp: (o) => me(o) && o !== "variant",
5230
5229
  slot: "Root"
5231
- }, Ps = _(dn, So)(""), Ns = _(fn, So)(""), Is = _(un, So)(""), wo = /* @__PURE__ */ u.forwardRef(function(n, t) {
5230
+ }, Ns = _(dn, So)(""), Is = _(fn, So)(""), Ss = _(un, So)(""), wo = /* @__PURE__ */ u.forwardRef(function(n, t) {
5232
5231
  const r = re({
5233
5232
  name: "MuiSelect",
5234
5233
  props: n
@@ -5239,7 +5238,7 @@ const xs = kn, Ts = Kn(/* @__PURE__ */ I("path", {
5239
5238
  className: l,
5240
5239
  defaultOpen: c = !1,
5241
5240
  displayEmpty: p = !1,
5242
- IconComponent: b = Ts,
5241
+ IconComponent: b = Os,
5243
5242
  id: h,
5244
5243
  input: x,
5245
5244
  inputProps: T,
@@ -5254,22 +5253,22 @@ const xs = kn, Ts = Kn(/* @__PURE__ */ I("path", {
5254
5253
  renderValue: P,
5255
5254
  SelectDisplayProps: y,
5256
5255
  variant: D = "outlined"
5257
- } = r, j = z(r, Os), A = M ? ps : xs, V = Ve(), W = qe({
5256
+ } = r, j = z(r, Cs), A = M ? fs : Ts, V = Ve(), W = qe({
5258
5257
  props: r,
5259
5258
  muiFormControl: V,
5260
5259
  states: ["variant", "error"]
5261
5260
  }), F = W.variant || D, N = d({}, r, {
5262
5261
  variant: F,
5263
5262
  classes: a
5264
- }), C = Rs(N), S = z(C, Cs), k = x || {
5265
- standard: /* @__PURE__ */ I(Ps, {
5263
+ }), C = Ps(N), S = z(C, Rs), k = x || {
5264
+ standard: /* @__PURE__ */ I(Ns, {
5266
5265
  ownerState: N
5267
5266
  }),
5268
- outlined: /* @__PURE__ */ I(Ns, {
5267
+ outlined: /* @__PURE__ */ I(Is, {
5269
5268
  label: v,
5270
5269
  ownerState: N
5271
5270
  }),
5272
- filled: /* @__PURE__ */ I(Is, {
5271
+ filled: /* @__PURE__ */ I(Ss, {
5273
5272
  ownerState: N
5274
5273
  })
5275
5274
  }[F], $ = be(t, k.ref);
@@ -5462,23 +5461,23 @@ process.env.NODE_ENV !== "production" && (wo.propTypes = {
5462
5461
  variant: e.oneOf(["filled", "outlined", "standard"])
5463
5462
  });
5464
5463
  wo.muiName = "Select";
5465
- const Ss = wo;
5466
- function ws(o) {
5464
+ const ws = wo;
5465
+ function Ms(o) {
5467
5466
  return ee("MuiTextField", o);
5468
5467
  }
5469
5468
  oe("MuiTextField", ["root"]);
5470
- const Ms = ["autoComplete", "autoFocus", "children", "className", "color", "defaultValue", "disabled", "error", "FormHelperTextProps", "fullWidth", "helperText", "id", "InputLabelProps", "inputProps", "InputProps", "inputRef", "label", "maxRows", "minRows", "multiline", "name", "onBlur", "onChange", "onFocus", "placeholder", "required", "rows", "select", "SelectProps", "type", "value", "variant"], $s = {
5469
+ const $s = ["autoComplete", "autoFocus", "children", "className", "color", "defaultValue", "disabled", "error", "FormHelperTextProps", "fullWidth", "helperText", "id", "InputLabelProps", "inputProps", "InputProps", "inputRef", "label", "maxRows", "minRows", "multiline", "name", "onBlur", "onChange", "onFocus", "placeholder", "required", "rows", "select", "SelectProps", "type", "value", "variant"], ks = {
5471
5470
  standard: dn,
5472
5471
  filled: un,
5473
5472
  outlined: fn
5474
- }, ks = (o) => {
5473
+ }, Fs = (o) => {
5475
5474
  const {
5476
5475
  classes: n
5477
5476
  } = o;
5478
5477
  return ne({
5479
5478
  root: ["root"]
5480
- }, ws, n);
5481
- }, Fs = _(tr, {
5479
+ }, Ms, n);
5480
+ }, Ds = _(tr, {
5482
5481
  name: "MuiTextField",
5483
5482
  slot: "Root",
5484
5483
  overridesResolver: (o, n) => n.root
@@ -5519,7 +5518,7 @@ const Ms = ["autoComplete", "autoFocus", "children", "className", "color", "defa
5519
5518
  type: k,
5520
5519
  value: $,
5521
5520
  variant: L = "outlined"
5522
- } = r, K = z(r, Ms), de = d({}, r, {
5521
+ } = r, K = z(r, $s), de = d({}, r, {
5523
5522
  autoFocus: s,
5524
5523
  color: c,
5525
5524
  disabled: b,
@@ -5529,11 +5528,11 @@ const Ms = ["autoComplete", "autoFocus", "children", "className", "color", "defa
5529
5528
  required: F,
5530
5529
  select: C,
5531
5530
  variant: L
5532
- }), Y = ks(de);
5531
+ }), Y = Fs(de);
5533
5532
  process.env.NODE_ENV !== "production" && C && !a && console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");
5534
5533
  const G = {};
5535
5534
  L === "outlined" && (O && typeof O.shrink < "u" && (G.notched = O.shrink), G.label = m), C && ((!S || !S.native) && (G.id = void 0), G["aria-describedby"] = void 0);
5536
- const H = Zo(w), te = v && H ? `${H}-helper-text` : void 0, se = m && H ? `${H}-label` : void 0, le = $s[L], ae = /* @__PURE__ */ I(le, d({
5535
+ const H = Zo(w), te = v && H ? `${H}-helper-text` : void 0, se = m && H ? `${H}-label` : void 0, le = ks[L], ae = /* @__PURE__ */ I(le, d({
5537
5536
  "aria-describedby": te,
5538
5537
  autoComplete: i,
5539
5538
  autoFocus: s,
@@ -5554,7 +5553,7 @@ const Ms = ["autoComplete", "autoFocus", "children", "className", "color", "defa
5554
5553
  placeholder: W,
5555
5554
  inputProps: g
5556
5555
  }, G, M));
5557
- return /* @__PURE__ */ fe(Fs, d({
5556
+ return /* @__PURE__ */ fe(Ds, d({
5558
5557
  className: Z(Y.root, l),
5559
5558
  disabled: b,
5560
5559
  error: h,
@@ -5570,7 +5569,7 @@ const Ms = ["autoComplete", "autoFocus", "children", "className", "color", "defa
5570
5569
  id: se
5571
5570
  }, O, {
5572
5571
  children: m
5573
- })), C ? /* @__PURE__ */ I(Ss, d({
5572
+ })), C ? /* @__PURE__ */ I(ws, d({
5574
5573
  "aria-describedby": te,
5575
5574
  id: H,
5576
5575
  labelId: se,
@@ -5758,43 +5757,45 @@ process.env.NODE_ENV !== "production" && (Fn.propTypes = {
5758
5757
  */
5759
5758
  variant: e.oneOf(["filled", "outlined", "standard"])
5760
5759
  });
5761
- const Ds = Fn, ti = (o) => /* @__PURE__ */ I(Ds, { ...o, variant: o.variant || "standard" });
5760
+ const Ls = Fn, si = (o) => /* @__PURE__ */ I(Ls, { ...o, variant: o.variant || "standard" });
5762
5761
  export {
5763
- Ds as A,
5764
- Sr as B,
5765
- gr as C,
5762
+ dr as A,
5763
+ wr as B,
5764
+ Ye as C,
5765
+ Ls as D,
5766
+ gr as E,
5766
5767
  tr as F,
5767
5768
  xr as G,
5768
5769
  Ue as H,
5769
5770
  hr as L,
5770
- ss as M,
5771
+ is as M,
5771
5772
  Je as P,
5772
- Ss as S,
5773
- ti as T,
5773
+ ws as S,
5774
+ si as T,
5774
5775
  cr as a,
5775
- Wr as b,
5776
- zo as c,
5777
- rr as d,
5778
- ur as e,
5779
- Zs as f,
5780
- Qt as g,
5781
- Xr as h,
5782
- Lr as i,
5783
- fs as j,
5784
- oo as k,
5785
- ei as l,
5786
- ni as m,
5787
- tn as n,
5788
- vt as o,
5789
- oi as p,
5790
- cn as q,
5791
- Qs as r,
5776
+ Ur as b,
5777
+ ni as c,
5778
+ Qt as d,
5779
+ zo as e,
5780
+ ei as f,
5781
+ Rr as g,
5782
+ rr as h,
5783
+ ur as i,
5784
+ Yr as j,
5785
+ jr as k,
5786
+ oi as l,
5787
+ ri as m,
5788
+ ms as n,
5789
+ oo as o,
5790
+ ti as p,
5791
+ tn as q,
5792
+ vt as r,
5792
5793
  je as s,
5793
- Dr as t,
5794
- Cr as u,
5795
- Tn as v,
5796
- Qe as w,
5797
- ln as x,
5798
- dr as y,
5799
- Ye as z
5794
+ cn as t,
5795
+ Zs as u,
5796
+ Lr as v,
5797
+ Cr as w,
5798
+ Tn as x,
5799
+ Qe as y,
5800
+ ln as z
5800
5801
  };