@applica-software-guru/react-admin 1.0.38 → 1.0.39

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 (29) hide show
  1. package/dist/components/ra-inputs/BooleanInput.d.ts +2 -0
  2. package/dist/components/ra-inputs/BooleanInput.d.ts.map +1 -1
  3. package/dist/components/ra-inputs/DateInput.d.ts +1 -0
  4. package/dist/components/ra-inputs/LabeledInput.d.ts +5 -1
  5. package/dist/components/ra-inputs/LabeledInput.d.ts.map +1 -1
  6. package/dist/components/ra-inputs/NumberInput.d.ts +2 -0
  7. package/dist/components/ra-inputs/SelectArrayInput.d.ts +1 -0
  8. package/dist/components/ra-inputs/SelectInput.d.ts +1 -0
  9. package/dist/components/ra-inputs/SmartTextInput.d.ts +1 -0
  10. package/dist/components/ra-inputs/SmartTextInput.d.ts.map +1 -1
  11. package/dist/components/ra-inputs/TextInput.d.ts +1 -0
  12. package/dist/components/ra-inputs/TimeInput.d.ts +1 -0
  13. package/dist/components/ra-lists/Datagrid.d.ts.map +1 -1
  14. package/dist/index.d.ts +1 -1
  15. package/dist/react-admin.cjs.js +43 -43
  16. package/dist/react-admin.es.js +380 -353
  17. package/dist/react-admin.umd.js +44 -44
  18. package/package.json +1 -1
  19. package/playground/src/menu.js +0 -7
  20. package/playground/src/theme.js +3 -5
  21. package/src/components/ra-forms/Edit.jsx +1 -1
  22. package/src/components/ra-forms/SimpleFormIterator.tsx +30 -0
  23. package/src/components/ra-inputs/ArrayInput.jsx +13 -13
  24. package/src/components/ra-inputs/LabeledInput.jsx +14 -5
  25. package/src/components/ra-lists/Datagrid.jsx +7 -8
  26. package/src/index.jsx +0 -1
  27. package/dist/components/ra-forms/SimpleFormIterator.d.ts +0 -5
  28. package/dist/components/ra-forms/SimpleFormIterator.d.ts.map +0 -1
  29. package/src/components/ra-forms/SimpleFormIterator.jsx +0 -14
@@ -1,6 +1,6 @@
1
1
  import Vo, { jsx as m, jsxs as ae, Fragment as fn } from "react/jsx-runtime";
2
2
  import { useResourceDefinitions as ZS, useGetIdentity as Bm, usePermissions as eR, useTranslate as Zn, useRecordContext as Yt, useResourceContext as Sn, useLogout as tR, useDataProvider as yd, useAuthProvider as Qm, useNotify as Fi, useRedirect as bd, useUpdate as vm, useLocaleState as Wl, useGetList as nR, LoadingIndicator as rR, Notification as oR, Toolbar as xd, Form as wd, SaveButton as Ul, Edit as iR, FormGroupContextProvider as aR, getTabbedFormTabFullPath as sR, SimpleForm as ym, DeleteWithConfirmButton as bm, TabbedForm as Yl, CreateButtonClasses as xm, Button as oo, useCreateController as lR, CreateContextProvider as cR, useGetOne as AR, useEditController as uR, EditContextProvider as dR, EditButton as gR, CloneButton as fR, FileField as Td, ImageField as wm, DateField as Va, EmailField as Gl, FunctionField as pR, FieldTitle as Tm, ReferenceManyField as Pd, TextField as Kl, useInput as hR, ArrayInput as Pm, FileInput as _l, AutocompleteArrayInput as Sm, AutocompleteInput as Rm, BooleanInput as Sd, DateInput as Rd, ImageInput as Om, NumberInput as Od, ReferenceArrayInput as Dd, ReferenceInput as Md, ResourceContextProvider as CR, Pagination as ER, ListToolbar as mR, SearchInput as IR, SelectArrayInput as kd, SelectInput as Dm, TextInput as Fd, maxLength as BR, TimeInput as Nd, Datagrid as ql, List as Jl, useRefresh as Mm, useUnselectAll as km, useListContext as Fm, useUpdateMany as Nm, CoreAdminContext as Ld, localStorageStore as QR, AdminUI as Lm } from "react-admin";
3
- import { ArrayInput as E7, ArrayInputContext as m7, BooleanField as I7, BulkDeleteWithConfirmButton as B7, Button as Q7, ChipField as v7, Confirm as y7, Create as b7, CreateButton as x7, CreateContextProvider as w7, CustomRoutes as T7, DeleteWithConfirmButton as P7, DeleteWithUndoButton as S7, EditButton as R7, EditContextProvider as O7, FieldTitle as D7, Form as M7, HttpError as k7, ListToolbar as F7, Pagination as N7, RecordContextProvider as L7, ReferenceArrayField as j7, ReferenceField as V7, Resource as H7, ResourceContextProvider as z7, SaveButton as W7, SimpleFormIteratorContext as U7, SimpleList as Y7, SingleFieldList as G7, TopToolbar as K7, UrlField as _7, choices as q7, email as J7, maxLength as $7, maxValue as X7, minLength as Z7, minValue as eG, number as tG, regex as nG, required as rG, useArrayInput as oG, useAuthProvider as iG, useCreateController as aG, useDataProvider as sG, useEditContext as lG, useGetIdentity as cG, useGetList as AG, useGetMany as uG, useGetManyReference as dG, useGetOne as gG, useListContext as fG, useNotify as pG, usePermissions as hG, useRecordContext as CG, useRefresh as EG, useResourceContext as mG, useResourceDefinition as IG, useResourceDefinitions as BG, useTranslate as QG, useUnselect as vG, useUnselectAll as yG, useUpdateMany as bG } from "react-admin";
3
+ import { ArrayInputContext as I7, BooleanField as B7, BulkDeleteWithConfirmButton as Q7, Button as v7, ChipField as y7, Confirm as b7, Create as x7, CreateButton as w7, CreateContextProvider as T7, CustomRoutes as P7, DeleteWithConfirmButton as S7, DeleteWithUndoButton as R7, EditButton as O7, EditContextProvider as D7, FieldTitle as M7, Form as k7, HttpError as F7, ListToolbar as N7, Pagination as L7, RecordContextProvider as j7, ReferenceArrayField as V7, ReferenceField as H7, Resource as z7, ResourceContextProvider as W7, SaveButton as U7, SimpleFormIteratorContext as Y7, SimpleList as G7, SingleFieldList as K7, TopToolbar as _7, UrlField as q7, choices as J7, email as $7, maxLength as X7, maxValue as Z7, minLength as eG, minValue as tG, number as nG, regex as rG, required as oG, useArrayInput as iG, useAuthProvider as aG, useCreateController as sG, useDataProvider as lG, useEditContext as cG, useGetIdentity as AG, useGetList as uG, useGetMany as dG, useGetManyReference as gG, useGetOne as fG, useListContext as pG, useNotify as hG, usePermissions as CG, useRecordContext as EG, useRefresh as mG, useResourceContext as IG, useResourceDefinition as BG, useResourceDefinitions as QG, useTranslate as vG, useUnselect as yG, useUnselectAll as bG, useUpdateMany as xG } from "react-admin";
4
4
  import { Popover as vR, styled as jd, IconButton as jm, MenuItem as yR, Card as bR, CardHeader as Mu, Typography as xe, Divider as wi, CardContent as Vm, Grid as xt, Box as Fe, Tooltip as Ha, tooltipClasses as Ks, Grow as xR, Collapse as Hm, Fade as wR, Slide as TR, Zoom as zm, CircularProgress as ku, circularProgressClasses as PR, LinearProgress as Wm, useMediaQuery as Tn, ListItemButton as ko, ListItemIcon as $r, ListItemText as Fo, Chip as kh, Avatar as hl, Popper as za, Paper as Oi, ClickAwayListener as Di, List as Pa, ButtonBase as Um, Drawer as SR, Stack as sr, AppBar as Vd, Toolbar as Hd, ListItemAvatar as RR, ListItemSecondaryAction as Ym, Badge as OR, Container as Gm, useScrollTrigger as DR, Fab as MR, Dialog as Km, InputLabel as _m, FormHelperText as kR, TextField as FR, useTheme as NR, darken as LR, lighten as jR, Button as VR, StyledEngineProvider as HR, CssBaseline as zR } from "@mui/material";
5
5
  import * as D from "react";
6
6
  import Pe, { useState as lt, Children as Ro, createContext as Yn, useContext as kt, useMemo as Je, useEffect as Ft, forwardRef as Ho, isValidElement as Ca, cloneElement as Xr, useLayoutEffect as WR, useRef as to, useInsertionEffect as UR, useCallback as st, createElement as YR, useId as GR, Fragment as zo, Suspense as KR } from "react";
@@ -3063,7 +3063,7 @@ function eg(e = {}, ...t) {
3063
3063
  }, g;
3064
3064
  }
3065
3065
  const pM = eg(), tg = pM;
3066
- function At() {
3066
+ function ut() {
3067
3067
  const e = fI(tg);
3068
3068
  return process.env.NODE_ENV !== "production" && D.useDebugValue(e), e[Sa] || e;
3069
3069
  }
@@ -3817,8 +3817,8 @@ vl.exports;
3817
3817
  };
3818
3818
  }
3819
3819
  function Vf(M, q, G, Ce, De) {
3820
- return De(M, function(Xe, jt, ct) {
3821
- G = Ce ? (Ce = !1, Xe) : q(G, Xe, jt, ct);
3820
+ return De(M, function(Xe, jt, At) {
3821
+ G = Ce ? (Ce = !1, Xe) : q(G, Xe, jt, At);
3822
3822
  }), G;
3823
3823
  }
3824
3824
  function Pb(M, q) {
@@ -3960,18 +3960,18 @@ vl.exports;
3960
3960
  }
3961
3961
  var Yb = function M(q) {
3962
3962
  q = q == null ? Kt : Zo.defaults(Kt.Object(), q, Zo.pick(Kt, gb));
3963
- var G = q.Array, Ce = q.Date, De = q.Error, Xe = q.Function, jt = q.Math, ct = q.Object, tA = q.RegExp, Gb = q.String, kn = q.TypeError, us = G.prototype, Kb = Xe.prototype, ei = ct.prototype, ds = q["__core-js_shared__"], gs = Kb.toString, it = ei.hasOwnProperty, _b = 0, Gf = function() {
3963
+ var G = q.Array, Ce = q.Date, De = q.Error, Xe = q.Function, jt = q.Math, At = q.Object, tA = q.RegExp, Gb = q.String, kn = q.TypeError, us = G.prototype, Kb = Xe.prototype, ei = At.prototype, ds = q["__core-js_shared__"], gs = Kb.toString, it = ei.hasOwnProperty, _b = 0, Gf = function() {
3964
3964
  var o = /[^.]+$/.exec(ds && ds.keys && ds.keys.IE_PROTO || "");
3965
3965
  return o ? "Symbol(src)_1." + o : "";
3966
- }(), fs = ei.toString, qb = gs.call(ct), Jb = Kt._, $b = tA(
3966
+ }(), fs = ei.toString, qb = gs.call(At), Jb = Kt._, $b = tA(
3967
3967
  "^" + gs.call(it).replace(Nc, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
3968
- ), ps = Pf ? q.Buffer : n, Lr = q.Symbol, hs = q.Uint8Array, Kf = ps ? ps.allocUnsafe : n, Cs = Uf(ct.getPrototypeOf, ct), _f = ct.create, qf = ei.propertyIsEnumerable, Es = us.splice, Jf = Lr ? Lr.isConcatSpreadable : n, _i = Lr ? Lr.iterator : n, fo = Lr ? Lr.toStringTag : n, ms = function() {
3968
+ ), ps = Pf ? q.Buffer : n, Lr = q.Symbol, hs = q.Uint8Array, Kf = ps ? ps.allocUnsafe : n, Cs = Uf(At.getPrototypeOf, At), _f = At.create, qf = ei.propertyIsEnumerable, Es = us.splice, Jf = Lr ? Lr.isConcatSpreadable : n, _i = Lr ? Lr.iterator : n, fo = Lr ? Lr.toStringTag : n, ms = function() {
3969
3969
  try {
3970
- var o = mo(ct, "defineProperty");
3970
+ var o = mo(At, "defineProperty");
3971
3971
  return o({}, "", {}), o;
3972
3972
  } catch {
3973
3973
  }
3974
- }(), Xb = q.clearTimeout !== Kt.clearTimeout && q.clearTimeout, Zb = Ce && Ce.now !== Kt.Date.now && Ce.now, ex = q.setTimeout !== Kt.setTimeout && q.setTimeout, Is = jt.ceil, Bs = jt.floor, nA = ct.getOwnPropertySymbols, tx = ps ? ps.isBuffer : n, $f = q.isFinite, nx = us.join, rx = Uf(ct.keys, ct), Vt = jt.max, qt = jt.min, ox = Ce.now, ix = q.parseInt, Xf = jt.random, ax = us.reverse, rA = mo(q, "DataView"), qi = mo(q, "Map"), oA = mo(q, "Promise"), ti = mo(q, "Set"), Ji = mo(q, "WeakMap"), $i = mo(ct, "create"), Qs = Ji && new Ji(), ni = {}, sx = Io(rA), lx = Io(qi), cx = Io(oA), Ax = Io(ti), ux = Io(Ji), vs = Lr ? Lr.prototype : n, Xi = vs ? vs.valueOf : n, Zf = vs ? vs.toString : n;
3974
+ }(), Xb = q.clearTimeout !== Kt.clearTimeout && q.clearTimeout, Zb = Ce && Ce.now !== Kt.Date.now && Ce.now, ex = q.setTimeout !== Kt.setTimeout && q.setTimeout, Is = jt.ceil, Bs = jt.floor, nA = At.getOwnPropertySymbols, tx = ps ? ps.isBuffer : n, $f = q.isFinite, nx = us.join, rx = Uf(At.keys, At), Vt = jt.max, qt = jt.min, ox = Ce.now, ix = q.parseInt, Xf = jt.random, ax = us.reverse, rA = mo(q, "DataView"), qi = mo(q, "Map"), oA = mo(q, "Promise"), ti = mo(q, "Set"), Ji = mo(q, "WeakMap"), $i = mo(At, "create"), Qs = Ji && new Ji(), ni = {}, sx = Io(rA), lx = Io(qi), cx = Io(oA), Ax = Io(ti), ux = Io(Ji), vs = Lr ? Lr.prototype : n, Xi = vs ? vs.valueOf : n, Zf = vs ? vs.toString : n;
3975
3975
  function y(o) {
3976
3976
  if (vt(o) && !ke(o) && !(o instanceof Ye)) {
3977
3977
  if (o instanceof Fn)
@@ -4318,7 +4318,7 @@ vl.exports;
4318
4318
  var p = u.length;
4319
4319
  if (o == null)
4320
4320
  return !p;
4321
- for (o = ct(o); p--; ) {
4321
+ for (o = At(o); p--; ) {
4322
4322
  var Q = u[p], b = a[Q], S = o[Q];
4323
4323
  if (S === n && !(Q in o) || !b(S))
4324
4324
  return !1;
@@ -4408,7 +4408,7 @@ vl.exports;
4408
4408
  return ke(o) ? p : Fr(p, u(o));
4409
4409
  }
4410
4410
  function rn(o) {
4411
- return o == null ? o === n ? Kn : ln : fo && fo in ct(o) ? b1(o) : L1(o);
4411
+ return o == null ? o === n ? Kn : ln : fo && fo in At(o) ? b1(o) : L1(o);
4412
4412
  }
4413
4413
  function cA(o, a) {
4414
4414
  return o > a;
@@ -4417,7 +4417,7 @@ vl.exports;
4417
4417
  return o != null && it.call(o, a);
4418
4418
  }
4419
4419
  function Yx(o, a) {
4420
- return o != null && a in ct(o);
4420
+ return o != null && a in At(o);
4421
4421
  }
4422
4422
  function Gx(o, a, u) {
4423
4423
  return o >= qt(a, u) && o < Vt(a, u);
@@ -4492,7 +4492,7 @@ vl.exports;
4492
4492
  var Q = u.length, b = Q, S = !p;
4493
4493
  if (o == null)
4494
4494
  return !b;
4495
- for (o = ct(o); Q--; ) {
4495
+ for (o = At(o); Q--; ) {
4496
4496
  var O = u[Q];
4497
4497
  if (S && O[2] ? O[1] !== o[O[0]] : !(O[0] in o))
4498
4498
  return !1;
@@ -4535,7 +4535,7 @@ vl.exports;
4535
4535
  if (!ia(o))
4536
4536
  return rx(o);
4537
4537
  var a = [];
4538
- for (var u in ct(o))
4538
+ for (var u in At(o))
4539
4539
  it.call(o, u) && u != "constructor" && a.push(u);
4540
4540
  return a;
4541
4541
  }
@@ -4859,7 +4859,7 @@ vl.exports;
4859
4859
  return a.lastIndex = o.lastIndex, a;
4860
4860
  }
4861
4861
  function f1(o) {
4862
- return Xi ? ct(Xi.call(o)) : {};
4862
+ return Xi ? At(Xi.call(o)) : {};
4863
4863
  }
4864
4864
  function wp(o, a) {
4865
4865
  var u = a ? QA(o.buffer) : o.buffer;
@@ -4935,7 +4935,7 @@ vl.exports;
4935
4935
  function oi(o) {
4936
4936
  return He(function(a, u) {
4937
4937
  var p = -1, Q = u.length, b = Q > 1 ? u[Q - 1] : n, S = Q > 2 ? u[2] : n;
4938
- for (b = o.length > 3 && typeof b == "function" ? (Q--, b) : n, S && on(u[0], u[1], S) && (b = Q < 3 ? n : b, Q = 1), a = ct(a); ++p < Q; ) {
4938
+ for (b = o.length > 3 && typeof b == "function" ? (Q--, b) : n, S && on(u[0], u[1], S) && (b = Q < 3 ? n : b, Q = 1), a = At(a); ++p < Q; ) {
4939
4939
  var O = u[p];
4940
4940
  O && o(a, O, p, b);
4941
4941
  }
@@ -4948,14 +4948,14 @@ vl.exports;
4948
4948
  return u;
4949
4949
  if (!An(u))
4950
4950
  return o(u, p);
4951
- for (var Q = u.length, b = a ? Q : -1, S = ct(u); (a ? b-- : ++b < Q) && p(S[b], b, S) !== !1; )
4951
+ for (var Q = u.length, b = a ? Q : -1, S = At(u); (a ? b-- : ++b < Q) && p(S[b], b, S) !== !1; )
4952
4952
  ;
4953
4953
  return u;
4954
4954
  };
4955
4955
  }
4956
4956
  function Op(o) {
4957
4957
  return function(a, u, p) {
4958
- for (var Q = -1, b = ct(a), S = p(a), O = S.length; O--; ) {
4958
+ for (var Q = -1, b = At(a), S = p(a), O = S.length; O--; ) {
4959
4959
  var k = S[o ? O : ++Q];
4960
4960
  if (u(b[k], k, b) === !1)
4961
4961
  break;
@@ -5034,7 +5034,7 @@ vl.exports;
5034
5034
  }
5035
5035
  function Mp(o) {
5036
5036
  return function(a, u, p) {
5037
- var Q = ct(a);
5037
+ var Q = At(a);
5038
5038
  if (!An(a)) {
5039
5039
  var b = be(u, 3);
5040
5040
  a = Wt(a), u = function(O) {
@@ -5380,7 +5380,7 @@ vl.exports;
5380
5380
  return p && (a ? o[fo] = u : delete o[fo]), Q;
5381
5381
  }
5382
5382
  var PA = nA ? function(o) {
5383
- return o == null ? [] : (o = ct(o), kr(nA(o), function(a) {
5383
+ return o == null ? [] : (o = At(o), kr(nA(o), function(a) {
5384
5384
  return qf.call(o, a);
5385
5385
  }));
5386
5386
  } : KA, Wp = nA ? function(o) {
@@ -5505,7 +5505,7 @@ vl.exports;
5505
5505
  if (ke(o))
5506
5506
  return !1;
5507
5507
  var u = typeof o;
5508
- return u == "number" || u == "symbol" || u == "boolean" || o == null || Bn(o) ? !0 : Ty.test(o) || !wy.test(o) || a != null && o in ct(a);
5508
+ return u == "number" || u == "symbol" || u == "boolean" || o == null || Bn(o) ? !0 : Ty.test(o) || !wy.test(o) || a != null && o in At(a);
5509
5509
  }
5510
5510
  function O1(o) {
5511
5511
  var a = typeof o;
@@ -5533,7 +5533,7 @@ vl.exports;
5533
5533
  }
5534
5534
  function Kp(o, a) {
5535
5535
  return function(u) {
5536
- return u == null ? !1 : u[o] === a && (a !== n || o in ct(u));
5536
+ return u == null ? !1 : u[o] === a && (a !== n || o in At(u));
5537
5537
  };
5538
5538
  }
5539
5539
  function k1(o) {
@@ -5557,7 +5557,7 @@ vl.exports;
5557
5557
  function N1(o) {
5558
5558
  var a = [];
5559
5559
  if (o != null)
5560
- for (var u in ct(o))
5560
+ for (var u in At(o))
5561
5561
  a.push(u);
5562
5562
  return a;
5563
5563
  }
@@ -6484,7 +6484,7 @@ vl.exports;
6484
6484
  return a == null ? u : np(u, a);
6485
6485
  }
6486
6486
  var uP = He(function(o, a) {
6487
- o = ct(o);
6487
+ o = At(o);
6488
6488
  var u = -1, p = a.length, Q = p > 2 ? a[2] : n;
6489
6489
  for (Q && on(a[0], a[1], Q) && (p = 1); ++u < p; )
6490
6490
  for (var b = a[u], S = un(b), O = -1, k = S.length; ++O < k; ) {
@@ -7433,7 +7433,7 @@ const RM = (e) => {
7433
7433
  color: I = "default",
7434
7434
  ...B
7435
7435
  }, v) => {
7436
- const T = At();
7436
+ const T = ut();
7437
7437
  return t = T.palette.mode === "dark" ? t || !0 : t, /* @__PURE__ */ ae(
7438
7438
  bR,
7439
7439
  {
@@ -9965,7 +9965,7 @@ const au = GI, Xk = ({ id: e, title: t, icon: n, url: r, last: i }) => /* @__PUR
9965
9965
  mode: E,
9966
9966
  ...I
9967
9967
  }) => {
9968
- const B = At(), v = Ni(), [T, R] = lt(), [w, x] = lt();
9968
+ const B = ut(), v = Ni(), [T, R] = lt(), [w, x] = lt();
9969
9969
  let P = v.pathname;
9970
9970
  const L = {
9971
9971
  marginRight: B.spacing(0.75),
@@ -14678,7 +14678,7 @@ function ud({
14678
14678
  size: i = "md",
14679
14679
  ...s
14680
14680
  }) {
14681
- const l = At();
14681
+ const l = ut();
14682
14682
  return /* @__PURE__ */ m(E3, { variant: e, theme: l, color: n, type: r, size: i, ...s, children: t });
14683
14683
  }
14684
14684
  ud.propTypes = {
@@ -14689,7 +14689,7 @@ ud.propTypes = {
14689
14689
  variant: c.string
14690
14690
  };
14691
14691
  const Sg = ({ color: e, size: t, variant: n, sx: r }) => {
14692
- const i = At(), s = en(i, e || "primary"), { main: l } = s;
14692
+ const i = ut(), s = en(i, e || "primary"), { main: l } = s;
14693
14693
  return /* @__PURE__ */ m(
14694
14694
  Fe,
14695
14695
  {
@@ -15033,7 +15033,7 @@ const w3 = ie(b3, {
15033
15033
  ...x3({ variant: t, theme: e, color: r })
15034
15034
  })), Lo = Ho(
15035
15035
  ({ variant: e = "text", shape: t = "square", children: n, color: r = "primary", ...i }, s) => {
15036
- const l = At();
15036
+ const l = ut();
15037
15037
  return /* @__PURE__ */ m(
15038
15038
  w3,
15039
15039
  {
@@ -15979,7 +15979,7 @@ const t5 = ie(e5, {
15979
15979
  }
15980
15980
  })), I0 = Ho(
15981
15981
  ({ variant: e = "text", shape: t, children: n, color: r = "primary", ...i }, s) => {
15982
- const l = At();
15982
+ const l = ut();
15983
15983
  return /* @__PURE__ */ m(
15984
15984
  t5,
15985
15985
  {
@@ -16034,7 +16034,7 @@ const r5 = ie(
16034
16034
  ...t && n5({ color: t, theme: e, labelColor: n })
16035
16035
  }));
16036
16036
  function o5({ children: e, arrow: t, labelColor: n = "", ...r }) {
16037
- const i = At();
16037
+ const i = ut();
16038
16038
  return /* @__PURE__ */ m(Fe, { display: "flex", children: /* @__PURE__ */ m(r5, { arrow: t, ...r, theme: i, labelColor: n, children: e }) });
16039
16039
  }
16040
16040
  o5.propTypes = {
@@ -16254,7 +16254,7 @@ l5.propTypes = {
16254
16254
  value: c.number
16255
16255
  };
16256
16256
  const ba = ({ item: e, level: t }) => {
16257
- const n = At(), { menuOrientation: r, isVerticalLayout: i } = Zt(), { drawerOpen: s, openItem: l, activeItem: A, openDrawer: d } = Ar(), g = Tn(n.breakpoints.down("lg"));
16257
+ const n = ut(), { menuOrientation: r, isVerticalLayout: i } = Zt(), { drawerOpen: s, openItem: l, activeItem: A, openDrawer: d } = Ar(), g = Tn(n.breakpoints.down("lg"));
16258
16258
  let f = "_self";
16259
16259
  e.target && (f = "_blank");
16260
16260
  let C = {
@@ -16484,7 +16484,7 @@ const kE = ie(za)(({ theme: e }) => ({
16484
16484
  selectedLevel: l
16485
16485
  }) => {
16486
16486
  var W;
16487
- const A = At(), { activeItem: d } = Ar(), g = Tn(A.breakpoints.down("lg")), { drawerOpen: f } = Ar(), { menuOrientation: C, isVerticalLayout: h } = Zt(), E = nO(), [I, B] = lt(!1), [v, T] = lt(null), [R, w] = lt(null), x = (F) => {
16487
+ const A = ut(), { activeItem: d } = Ar(), g = Tn(A.breakpoints.down("lg")), { drawerOpen: f } = Ar(), { menuOrientation: C, isVerticalLayout: h } = Zt(), E = nO(), [I, B] = lt(!1), [v, T] = lt(null), [R, w] = lt(null), x = (F) => {
16488
16488
  w(null), s(t), f ? (B(!I), T(v ? null : e.id), r(v ? "" : e.id), e.url && E(`${e.url}`)) : w(F == null ? void 0 : F.currentTarget);
16489
16489
  }, P = () => {
16490
16490
  f || e.url && E(`${e.url}`);
@@ -16774,7 +16774,7 @@ const c5 = ie(za)(({ theme: e }) => ({
16774
16774
  selectedLevel: A
16775
16775
  }) => {
16776
16776
  var Y, J;
16777
- const d = At(), g = Zn(), { pathname: f } = { pathname: "" }, { menuOrientation: C, isVerticalLayout: h } = Zt(), E = Ar(), { drawerOpen: I, selectedID: B } = E, { activeID: v } = Ar(), T = Tn(d.breakpoints.down("lg")), [R, w] = lt(null), [x, P] = lt(e), L = !!R;
16777
+ const d = ut(), g = Zn(), { pathname: f } = { pathname: "" }, { menuOrientation: C, isVerticalLayout: h } = Zt(), E = Ar(), { drawerOpen: I, selectedID: B } = E, { activeID: v } = Ar(), T = Tn(d.breakpoints.down("lg")), [R, w] = lt(null), [x, P] = lt(e), L = !!R;
16778
16778
  Ft(() => {
16779
16779
  if (t)
16780
16780
  if (e.id === r) {
@@ -16993,7 +16993,7 @@ B0.propTypes = {
16993
16993
  selectedLevel: c.number
16994
16994
  };
16995
16995
  const Q0 = () => {
16996
- const e = At(), { menu: t, isLoading: n } = kI(), r = Tn(e.breakpoints.down("lg")), { menuOrientation: i, horizontalMaxItems: s, isHorizontalLayout: l } = Zt(), { drawerOpen: A } = Ar(), [d, g] = lt(""), [f, C] = lt(0), h = l(i) && !r, E = h ? s : null;
16996
+ const e = ut(), { menu: t, isLoading: n } = kI(), r = Tn(e.breakpoints.down("lg")), { menuOrientation: i, horizontalMaxItems: s, isHorizontalLayout: l } = Zt(), { drawerOpen: A } = Ar(), [d, g] = lt(""), [f, C] = lt(0), h = l(i) && !r, E = h ? s : null;
16997
16997
  let I = n ? 0 : t.length - 1, B = [], v;
16998
16998
  !n && E && E < t.length && (v = t[E - 1].id, I = E - 1, B = t.slice(E - 1, t.length).map((R) => ({
16999
16999
  title: R.title,
@@ -18429,7 +18429,7 @@ DQ.propTypes = {
18429
18429
  logoMain: c.node
18430
18430
  };
18431
18431
  const Mg = ({ open: e, logoMain: t, logoIcon: n }) => {
18432
- const r = At(), i = Tn(r.breakpoints.down("lg")), { menuOrientation: s, isHorizontalLayout: l } = Zt(), A = l(s) && !i;
18432
+ const r = ut(), i = Tn(r.breakpoints.down("lg")), { menuOrientation: s, isHorizontalLayout: l } = Zt(), A = l(s) && !i;
18433
18433
  return /* @__PURE__ */ m(
18434
18434
  OQ,
18435
18435
  {
@@ -18481,7 +18481,7 @@ const m6 = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "
18481
18481
  opacity: 1
18482
18482
  }
18483
18483
  }, kQ = /* @__PURE__ */ D.forwardRef(function(t, n) {
18484
- const r = At(), i = {
18484
+ const r = ut(), i = {
18485
18485
  enter: r.transitions.duration.enteringScreen,
18486
18486
  exit: r.transitions.duration.leavingScreen
18487
18487
  }, {
@@ -19095,7 +19095,7 @@ function rl(e, t, n) {
19095
19095
  i && (t.style.webkitTransform = i, t.style.transform = i);
19096
19096
  }
19097
19097
  const zQ = /* @__PURE__ */ D.forwardRef(function(t, n) {
19098
- const r = At(), i = {
19098
+ const r = ut(), i = {
19099
19099
  enter: r.transitions.easing.easeOut,
19100
19100
  exit: r.transitions.easing.sharp
19101
19101
  }, s = {
@@ -19342,7 +19342,7 @@ const O6 = ["className", "component", "elevation", "square", "variant"], D6 = (e
19342
19342
  square: A,
19343
19343
  variant: d
19344
19344
  }), C = D6(f);
19345
- return process.env.NODE_ENV !== "production" && At().shadows[l] === void 0 && console.error([`MUI: The elevation provided <Paper elevation={${l}}> is not available in the theme.`, `Please make sure that \`theme.shadows[${l}]\` is defined.`].join(`
19345
+ return process.env.NODE_ENV !== "production" && ut().shadows[l] === void 0 && console.error([`MUI: The elevation provided <Paper elevation={${l}}> is not available in the theme.`, `Please make sure that \`theme.shadows[${l}]\` is defined.`].join(`
19346
19346
  `)), /* @__PURE__ */ m(M6, j({
19347
19347
  as: s,
19348
19348
  ownerState: f,
@@ -19506,7 +19506,7 @@ const GQ = /* @__PURE__ */ D.forwardRef(function(t, n) {
19506
19506
  const r = Rt({
19507
19507
  props: t,
19508
19508
  name: "MuiDrawer"
19509
- }), i = At(), s = {
19509
+ }), i = ut(), s = {
19510
19510
  enter: i.transitions.duration.enteringScreen,
19511
19511
  exit: i.transitions.duration.leavingScreen
19512
19512
  }, {
@@ -19701,7 +19701,7 @@ const W6 = GQ, GE = (e, t) => ({
19701
19701
  };
19702
19702
  }
19703
19703
  ), KQ = ({ open: e, handleDrawerToggle: t, window: n, logoMain: r, logoIcon: i }) => {
19704
- const s = At(), l = Tn(s.breakpoints.down("lg")), A = n !== void 0 ? () => n().document.body : void 0, d = Je(() => /* @__PURE__ */ m(f6, {}), []), g = Je(
19704
+ const s = ut(), l = Tn(s.breakpoints.down("lg")), A = n !== void 0 ? () => n().document.body : void 0, d = Je(() => /* @__PURE__ */ m(f6, {}), []), g = Je(
19705
19705
  () => /* @__PURE__ */ m(Mg, { open: e, logoMain: r, logoIcon: i }),
19706
19706
  [e, r, i]
19707
19707
  ), { drawerWidth: f } = Zt();
@@ -19943,7 +19943,7 @@ JQ.propTypes = {
19943
19943
  c.node, c.any.isRequired, c.any.isRequired;
19944
19944
  const $Q = () => {
19945
19945
  var B;
19946
- const e = At(), { identity: t } = Bm(), n = to(null), [r, i] = lt(!1), s = () => {
19946
+ const e = ut(), { identity: t } = Bm(), n = to(null), [r, i] = lt(!1), s = () => {
19947
19947
  i((v) => !v);
19948
19948
  }, l = (v) => {
19949
19949
  n.current && n.current.contains(v.target) || i(!1);
@@ -20048,7 +20048,7 @@ const $Q = () => {
20048
20048
  )
20049
20049
  ] });
20050
20050
  }, J6 = () => {
20051
- const e = At(), [t, n] = lt(!1), r = to(null), i = () => {
20051
+ const e = ut(), [t, n] = lt(!1), r = to(null), i = () => {
20052
20052
  n((g) => !g);
20053
20053
  }, s = (g) => {
20054
20054
  r.current && r.current.contains(g.target) || n(!1);
@@ -20467,7 +20467,7 @@ const X6 = {
20467
20467
  alignSelf: "flex-start",
20468
20468
  transform: "none"
20469
20469
  }, bc = ({ resource: e }) => {
20470
- const t = At(), n = Tn(t.breakpoints.down("md")), r = to(null), [i, s] = lt(!1), l = () => {
20470
+ const t = ut(), n = Tn(t.breakpoints.down("md")), r = to(null), [i, s] = lt(!1), l = () => {
20471
20471
  s((B) => !B);
20472
20472
  }, A = (B) => {
20473
20473
  r.current && r.current.contains(B.target) || s(!1);
@@ -20610,7 +20610,7 @@ const ev = ({
20610
20610
  notification: i,
20611
20611
  disableNotification: s
20612
20612
  }) => {
20613
- const l = At(), A = Tn(l.breakpoints.down("lg")), { menuOrientation: d, isHorizontalLayout: g } = Zt(), f = g(d) && !A, C = Je(
20613
+ const l = ut(), A = Tn(l.breakpoints.down("lg")), { menuOrientation: d, isHorizontalLayout: g } = Zt(), f = g(d) && !A, C = Je(
20614
20614
  () => /* @__PURE__ */ m(
20615
20615
  ZQ,
20616
20616
  {
@@ -20660,7 +20660,7 @@ ev.propTypes = {
20660
20660
  disableNotification: c.bool
20661
20661
  };
20662
20662
  function ej({ children: e, window: t }) {
20663
- const n = At(), r = DR({
20663
+ const n = ut(), r = DR({
20664
20664
  disableHysteresis: !0,
20665
20665
  threshold: 0,
20666
20666
  target: t
@@ -20670,7 +20670,7 @@ function ej({ children: e, window: t }) {
20670
20670
  });
20671
20671
  }
20672
20672
  const tj = () => {
20673
- const e = At(), { container: t } = Zt();
20673
+ const e = ut(), { container: t } = Zt();
20674
20674
  return /* @__PURE__ */ m(ej, { children: /* @__PURE__ */ m(
20675
20675
  Vd,
20676
20676
  {
@@ -20697,7 +20697,7 @@ const tj = () => {
20697
20697
  notification: s,
20698
20698
  disableNotification: l
20699
20699
  }) => {
20700
- const A = At(), { openDrawer: d } = Ar(), { isLoading: g, navigation: f, breadcrumbs: C } = SM(), h = Tn(A.breakpoints.down("xl")), E = Tn(A.breakpoints.down("lg")), { container: I, miniDrawer: B, menuOrientation: v, isHorizontalLayout: T } = Zt(), { drawerOpen: R } = Ar(), w = T(v) && !E, [x, P] = lt(!B || R), L = () => {
20700
+ const A = ut(), { openDrawer: d } = Ar(), { isLoading: g, navigation: f, breadcrumbs: C } = SM(), h = Tn(A.breakpoints.down("xl")), E = Tn(A.breakpoints.down("lg")), { container: I, miniDrawer: B, menuOrientation: v, isHorizontalLayout: T } = Zt(), { drawerOpen: R } = Ar(), w = T(v) && !E, [x, P] = lt(!B || R), L = () => {
20701
20701
  P(!x), d(!x);
20702
20702
  };
20703
20703
  return Ft(() => {
@@ -20984,7 +20984,7 @@ const Cd = 4, oj = io(_E || (_E = zi`
20984
20984
  } = r, g = ze(r, rj), f = j({}, r, {
20985
20985
  color: s,
20986
20986
  variant: d
20987
- }), C = sj(f), h = At(), E = {}, I = {
20987
+ }), C = sj(f), h = ut(), E = {}, I = {
20988
20988
  bar1: {},
20989
20989
  bar2: {}
20990
20990
  };
@@ -21072,7 +21072,7 @@ const dj = nv, gj = ie("div")(({ theme: e }) => ({
21072
21072
  "& > * + *": {
21073
21073
  marginTop: e.spacing(2)
21074
21074
  }
21075
- })), fj = () => /* @__PURE__ */ m(gj, { children: /* @__PURE__ */ m(dj, { color: "primary" }) }), c7 = (e) => (t) => /* @__PURE__ */ m(KR, { fallback: /* @__PURE__ */ m(fj, {}), children: /* @__PURE__ */ m(e, { ...t }) }), rv = ({ title: e }) => /* @__PURE__ */ ae(fn, { children: [
21075
+ })), fj = () => /* @__PURE__ */ m(gj, { children: /* @__PURE__ */ m(dj, { color: "primary" }) }), u7 = (e) => (t) => /* @__PURE__ */ m(KR, { fallback: /* @__PURE__ */ m(fj, {}), children: /* @__PURE__ */ m(e, { ...t }) }), rv = ({ title: e }) => /* @__PURE__ */ ae(fn, { children: [
21076
21076
  /* @__PURE__ */ m(xe, { variant: "h2", sx: { fontWeight: "regular", letterSpacing: -2.5 }, children: "a." }),
21077
21077
  " ",
21078
21078
  /* @__PURE__ */ m(xe, { variant: "h2", sx: { fontWeight: "bold" }, children: e })
@@ -21100,7 +21100,7 @@ const pj = ie(
21100
21100
  ov.propTypes = {
21101
21101
  children: c.node
21102
21102
  };
21103
- const A7 = ie("div")({
21103
+ const d7 = ie("div")({
21104
21104
  width: "100%",
21105
21105
  overflowX: "auto",
21106
21106
  display: "block"
@@ -21207,14 +21207,14 @@ Ng.defaultProps = {
21207
21207
  ...sr.defaultProps
21208
21208
  };
21209
21209
  Ng.Section = Fg;
21210
- const u7 = ie(iR, {
21210
+ const g7 = ie(iR, {
21211
21211
  name: "RaApplicaEdit",
21212
21212
  slot: "root"
21213
21213
  })(({ theme: e }) => ({
21214
21214
  "& .RaEdi-card, & > div > div > form": {
21215
21215
  backgroundColor: e.palette.background.default
21216
21216
  },
21217
- "& .RaEdit-main>.MuiPaper-root:first-child": {
21217
+ "& .RaEdit-main>.MuiPaper-root:first-of-type": {
21218
21218
  // Ci ho messo 4 ore per scrivere questa riga di codice e risolvere un problema con react-sticky-box ed i Long Form.
21219
21219
  // L'overflow è di default 'hidden', a noi serve visibile per consentire a react-sticky-box di funzionare e gestire la visiblità con ancore
21220
21220
  // di tutti gli elementi presenti all'interno della pagina.
@@ -22089,7 +22089,7 @@ const hv = pv, mz = ["aria-describedby", "aria-labelledby", "BackdropComponent",
22089
22089
  const r = Rt({
22090
22090
  props: t,
22091
22091
  name: "MuiDialog"
22092
- }), i = At(), s = {
22092
+ }), i = ut(), s = {
22093
22093
  enter: i.transitions.duration.enteringScreen,
22094
22094
  exit: i.transitions.duration.leavingScreen
22095
22095
  }, {
@@ -23136,13 +23136,28 @@ var P9 = jd("div", {
23136
23136
  visibility: "visible"
23137
23137
  }, t;
23138
23138
  });
23139
- const d7 = ie($g, {
23139
+ const f7 = ie($g, {
23140
23140
  name: "ApplicaSimpleFormIterator",
23141
23141
  root: "root"
23142
23142
  })(({ theme: e }) => ({
23143
23143
  "& .RaSimpleFormIterator-line": {
23144
23144
  paddingTop: e.spacing(1),
23145
23145
  paddingBottom: e.spacing(0.5)
23146
+ },
23147
+ "& .RaSimpleFormIterator-action": {
23148
+ display: "flex",
23149
+ flexDirection: "row",
23150
+ alignItems: "center",
23151
+ mb: 1.5
23152
+ },
23153
+ "& section": {
23154
+ width: "100%",
23155
+ "& label": {
23156
+ position: "relative",
23157
+ overflow: "visible",
23158
+ transform: "none",
23159
+ ml: 0
23160
+ }
23146
23161
  }
23147
23162
  })), Xg = ji(Yl, {
23148
23163
  name: "RaApplicaTabbedForm",
@@ -23783,10 +23798,10 @@ $v.defaultProps = {
23783
23798
  $v.propTypes = {
23784
23799
  ...Kl.propTypes
23785
23800
  };
23786
- const ut = ({ label: e, children: t, display: n, helperText: r, sx: i, addLabel: s, ...l }) => {
23787
- const A = qR(), { getCurrentDialog: d } = qa(), { source: g, resource: f, isRequired: C } = l, {
23788
- fieldState: { invalid: h }
23789
- } = hR(l), E = d();
23801
+ const ct = ({ label: e, children: t, display: n, helperText: r, sx: i, addLabel: s, divider: l, ...A }) => {
23802
+ const d = qR(), { getCurrentDialog: g } = qa(), { source: f, resource: C, isRequired: h } = A, {
23803
+ fieldState: { invalid: E }
23804
+ } = hR(A), I = g();
23790
23805
  return /* @__PURE__ */ ae(
23791
23806
  sr,
23792
23807
  {
@@ -23796,7 +23811,7 @@ const ut = ({ label: e, children: t, display: n, helperText: r, sx: i, addLabel:
23796
23811
  // @see: https://github.com/marmelab/react-admin/blob/master/packages/ra-ui-materialui/src/input/SelectArrayInput.tsx#L340
23797
23812
  // the 'invalid' prop is not used inside the react-admin component. This is necessary if we want to support
23798
23813
  // remove error message colorization when the field is in error state.
23799
- color: h ? A.palette.error.main : A.palette.text.secondary,
23814
+ color: E ? d.palette.error.main : d.palette.text.secondary,
23800
23815
  "& span": {
23801
23816
  display: "none"
23802
23817
  }
@@ -23804,21 +23819,32 @@ const ut = ({ label: e, children: t, display: n, helperText: r, sx: i, addLabel:
23804
23819
  ...i
23805
23820
  },
23806
23821
  children: [
23807
- n === "label" && e !== !1 && s !== !1 && /* @__PURE__ */ m(_m, { error: h === !0, children: /* @__PURE__ */ m(Tm, { label: e, source: g, resource: E || f, isRequired: C }) }),
23822
+ n === "label" && e !== !1 && s !== !1 && /* @__PURE__ */ m(
23823
+ _m,
23824
+ {
23825
+ error: E === !0,
23826
+ sx: {
23827
+ borderBottom: l ? `1px solid ${d.palette.divider}` : "none",
23828
+ pb: l ? 1 : 0,
23829
+ mt: l ? 1 : 0
23830
+ },
23831
+ children: /* @__PURE__ */ m(Tm, { label: e, source: f, resource: I || C, isRequired: h })
23832
+ }
23833
+ ),
23808
23834
  Pe.cloneElement(t, {
23809
23835
  ...t.props,
23810
- ...l,
23836
+ ...A,
23811
23837
  label: n === "legend" ? e : !1
23812
23838
  }),
23813
23839
  n === "label" && r && /* @__PURE__ */ m(
23814
23840
  kR,
23815
23841
  {
23816
23842
  sx: {
23817
- pl: 2,
23843
+ pl: 1.8,
23818
23844
  pb: 2,
23819
23845
  marginTop: "0 !important"
23820
23846
  },
23821
- error: h === !0,
23847
+ error: E === !0,
23822
23848
  children: r
23823
23849
  }
23824
23850
  )
@@ -23826,7 +23852,7 @@ const ut = ({ label: e, children: t, display: n, helperText: r, sx: i, addLabel:
23826
23852
  }
23827
23853
  );
23828
23854
  };
23829
- ut.propTypes = {
23855
+ ct.propTypes = {
23830
23856
  sx: c.object,
23831
23857
  children: c.element,
23832
23858
  label: c.oneOfType([c.string, c.bool]),
@@ -23835,12 +23861,14 @@ ut.propTypes = {
23835
23861
  isRequired: c.bool,
23836
23862
  source: c.string,
23837
23863
  display: c.oneOf(["legend", "label"]),
23838
- helperText: c.oneOfType([c.string, c.bool])
23864
+ helperText: c.oneOfType([c.string, c.bool]),
23865
+ divider: c.bool
23839
23866
  };
23840
- ut.defaultProps = {
23841
- display: "label"
23867
+ ct.defaultProps = {
23868
+ display: "label",
23869
+ divider: !1
23842
23870
  };
23843
- ie(Pm, {
23871
+ const Y9 = ie(Pm, {
23844
23872
  name: "RaApplicaArrayInput",
23845
23873
  slot: "root"
23846
23874
  })(({ theme: e }) => ({
@@ -23851,12 +23879,12 @@ ie(Pm, {
23851
23879
  width: "100%"
23852
23880
  }
23853
23881
  }
23854
- }));
23855
- ({
23882
+ })), G9 = (e) => /* @__PURE__ */ m(ct, { ...e, divider: !0, children: /* @__PURE__ */ m(Y9, { ...e }) });
23883
+ G9.propTypes = {
23856
23884
  ...Pm.propTypes,
23857
- ...ut.propTypes
23858
- });
23859
- const Y9 = (e) => e ? {
23885
+ ...ct.propTypes
23886
+ };
23887
+ const K9 = (e) => e ? {
23860
23888
  "& .RaFileInput-removeButton > .RaFileInputPreview-removeButton": {
23861
23889
  display: "none",
23862
23890
  visiblity: "hidden"
@@ -23865,7 +23893,7 @@ const Y9 = (e) => e ? {
23865
23893
  display: "none",
23866
23894
  visiblity: "hidden"
23867
23895
  }
23868
- } : {}, G9 = ie(_l, {
23896
+ } : {}, _9 = ie(_l, {
23869
23897
  name: "RaApplicaFileInput",
23870
23898
  slot: "root"
23871
23899
  })(({ disabled: e, theme: t }) => ({
@@ -23887,10 +23915,10 @@ const Y9 = (e) => e ? {
23887
23915
  fontSize: t.typography.body1.fontSize
23888
23916
  }
23889
23917
  },
23890
- ...Y9(e)
23918
+ ...K9(e)
23891
23919
  })), Xv = ({ children: e, disabled: t, ...n }) => {
23892
23920
  const r = Yt(n), i = n == null ? void 0 : n.source, s = r == null ? void 0 : r.id;
23893
- return /* @__PURE__ */ m(ut, { ...n, children: /* @__PURE__ */ m(G9, { disabled: t, children: Pe.cloneElement(e, { ...e.props, entityId: s, property: i }) }) });
23921
+ return /* @__PURE__ */ m(ct, { ...n, children: /* @__PURE__ */ m(_9, { disabled: t, children: Pe.cloneElement(e, { ...e.props, entityId: s, property: i }) }) });
23894
23922
  };
23895
23923
  Xv.propTypes = {
23896
23924
  ..._l.propTypes,
@@ -23903,40 +23931,40 @@ Xv.defaultProps = {
23903
23931
  multiple: !0,
23904
23932
  disabled: !1
23905
23933
  };
23906
- const K9 = ie(Sm, {
23934
+ const q9 = ie(Sm, {
23907
23935
  name: "StyledAutocompleteInput",
23908
23936
  root: "root"
23909
23937
  })(({ label: e }) => ({
23910
23938
  "& legend": {
23911
23939
  width: e === !1 ? 0 : "auto"
23912
23940
  }
23913
- })), _9 = ({ ...e }) => /* @__PURE__ */ m(ut, { ...e, children: /* @__PURE__ */ m(K9, {}) });
23914
- _9.propTypes = {
23941
+ })), J9 = ({ ...e }) => /* @__PURE__ */ m(ct, { ...e, children: /* @__PURE__ */ m(q9, {}) });
23942
+ J9.propTypes = {
23915
23943
  ...Sm.propTypes,
23916
- ...ut.propTypes
23944
+ ...ct.propTypes
23917
23945
  };
23918
- const q9 = ie(Rm, {
23946
+ const $9 = ie(Rm, {
23919
23947
  name: "StyledAutocompleteInput",
23920
23948
  root: "root"
23921
23949
  })(({ label: e }) => ({
23922
23950
  "& legend": {
23923
23951
  width: e === !1 ? 0 : "auto"
23924
23952
  }
23925
- })), J9 = (e) => {
23953
+ })), X9 = (e) => {
23926
23954
  const { perPage: t, ...n } = e;
23927
- return /* @__PURE__ */ m(ut, { ...n, children: /* @__PURE__ */ m(q9, {}) });
23955
+ return /* @__PURE__ */ m(ct, { ...n, children: /* @__PURE__ */ m($9, {}) });
23928
23956
  };
23929
- J9.propTypes = {
23957
+ X9.propTypes = {
23930
23958
  ...Rm.propTypes,
23931
- ...ut.propTypes
23959
+ ...ct.propTypes
23932
23960
  };
23933
- const $9 = ie(Sd, {
23961
+ const Z9 = ie(Sd, {
23934
23962
  name: "RaApplicaBooleanInput",
23935
23963
  slot: "Root"
23936
23964
  })(() => ({})), Zv = ({ horizontal: e, ...t }) => {
23937
- const n = At();
23965
+ const n = ut();
23938
23966
  return /* @__PURE__ */ m(
23939
- ut,
23967
+ ct,
23940
23968
  {
23941
23969
  ...t,
23942
23970
  sx: e ? {
@@ -23956,36 +23984,36 @@ const $9 = ie(Sd, {
23956
23984
  }
23957
23985
  }
23958
23986
  } : {},
23959
- children: /* @__PURE__ */ m($9, {})
23987
+ children: /* @__PURE__ */ m(Z9, {})
23960
23988
  }
23961
23989
  );
23962
23990
  };
23963
23991
  Zv.defaultProps = {
23964
23992
  ...Sd.defaultProps,
23965
- ...ut.defaultProps
23993
+ ...ct.defaultProps
23966
23994
  };
23967
23995
  Zv.propTypes = {
23968
23996
  ...Sd.propTypes,
23969
- ...ut.propTypes,
23997
+ ...ct.propTypes,
23970
23998
  horizontal: c.bool
23971
23999
  };
23972
- const X9 = ie(Rd, {
24000
+ const eU = ie(Rd, {
23973
24001
  name: "RaApplicaDateInput",
23974
24002
  slot: "root"
23975
24003
  })(({ label: e }) => ({
23976
24004
  "& legend": {
23977
24005
  width: e === !1 ? 0 : "auto"
23978
24006
  }
23979
- })), ey = (e) => /* @__PURE__ */ m(ut, { ...e, children: /* @__PURE__ */ m(X9, {}) });
24007
+ })), ey = (e) => /* @__PURE__ */ m(ct, { ...e, children: /* @__PURE__ */ m(eU, {}) });
23980
24008
  ey.propTypes = {
23981
24009
  ...Rd.propTypes,
23982
- ...ut.propTypes
24010
+ ...ct.propTypes
23983
24011
  };
23984
24012
  ey.defaultProps = {
23985
24013
  ...Rd.defaultProps,
23986
- ...ut.defaultProps
24014
+ ...ct.defaultProps
23987
24015
  };
23988
- const Z9 = ie(_l, {
24016
+ const tU = ie(_l, {
23989
24017
  name: "RaApplicaFileInput",
23990
24018
  slot: "root"
23991
24019
  })(({ theme: e }) => ({
@@ -24018,7 +24046,7 @@ const Z9 = ie(_l, {
24018
24046
  }
24019
24047
  return A;
24020
24048
  }, [i, s, r]);
24021
- return /* @__PURE__ */ m(ut, { ...n, children: /* @__PURE__ */ m(Z9, { children: Pe.cloneElement(e, {
24049
+ return /* @__PURE__ */ m(ct, { ...n, children: /* @__PURE__ */ m(tU, { children: Pe.cloneElement(e, {
24022
24050
  ...e.props,
24023
24051
  title: t || s,
24024
24052
  source: s,
@@ -24041,7 +24069,7 @@ ty.defaultProps = {
24041
24069
  };
24042
24070
  const ny = ({ children: e, title: t, ...n }) => {
24043
24071
  const r = Xm({ name: n.source }), i = Yt(n), { source: s } = n;
24044
- return /* @__PURE__ */ m(ut, { ...n, children: /* @__PURE__ */ m(Om, { accept: "image/*", children: Pe.cloneElement(e, {
24072
+ return /* @__PURE__ */ m(ct, { ...n, children: /* @__PURE__ */ m(Om, { accept: "image/*", children: Pe.cloneElement(e, {
24045
24073
  ...e.props,
24046
24074
  title: t,
24047
24075
  source: s,
@@ -24063,23 +24091,23 @@ ny.propTypes = {
24063
24091
  children: c.node,
24064
24092
  multiple: c.bool
24065
24093
  };
24066
- const eU = ie(Od, {
24094
+ const nU = ie(Od, {
24067
24095
  name: "RaApplicaNumberInput",
24068
24096
  slot: "root"
24069
24097
  })(({ label: e }) => ({
24070
24098
  "& legend": {
24071
24099
  width: e === !1 ? 0 : "auto"
24072
24100
  }
24073
- })), ry = (e) => /* @__PURE__ */ m(ut, { ...e, children: /* @__PURE__ */ m(eU, {}) });
24101
+ })), ry = (e) => /* @__PURE__ */ m(ct, { ...e, children: /* @__PURE__ */ m(nU, {}) });
24074
24102
  ry.propTypes = {
24075
24103
  ...Od.propTypes,
24076
- ...ut.propTypes
24104
+ ...ct.propTypes
24077
24105
  };
24078
24106
  ry.defaultProps = {
24079
24107
  ...Od.defaultProps,
24080
- ...ut.defaultProps
24108
+ ...ct.defaultProps
24081
24109
  };
24082
- const tU = ({ source: e, minWidth: t = 300, children: n }) => {
24110
+ const rU = ({ source: e, minWidth: t = 300, children: n }) => {
24083
24111
  const r = Sn(), i = Yt(), [s, l] = lt(at.get(i, e, "")), [A, d] = lt(!1), g = st((I) => l(I.target.value), []), f = yd(), C = st(
24084
24112
  (I) => {
24085
24113
  I.key === "Enter" && (d(!0), f.update(r, {
@@ -24134,7 +24162,7 @@ const tU = ({ source: e, minWidth: t = 300, children: n }) => {
24134
24162
  }
24135
24163
  );
24136
24164
  };
24137
- tU.propTypes = {
24165
+ rU.propTypes = {
24138
24166
  source: c.string.isRequired,
24139
24167
  minWidth: c.number,
24140
24168
  children: c.element
@@ -24191,10 +24219,10 @@ ay.propTypes = {
24191
24219
  ay.defaultProps = {
24192
24220
  ...rs.defaultProps
24193
24221
  };
24194
- const nU = ie(IR, {
24222
+ const oU = ie(IR, {
24195
24223
  name: "RaApplicaSearchInput",
24196
24224
  slot: "root"
24197
- })(() => ({})), g7 = (e) => /* @__PURE__ */ m(nU, { ...e }), sy = ie(kd, {
24225
+ })(() => ({})), p7 = (e) => /* @__PURE__ */ m(oU, { ...e }), sy = ie(kd, {
24198
24226
  name: "RaApplicaSelectArrayInput",
24199
24227
  slot: "Root"
24200
24228
  })(({ label: e }) => ({
@@ -24210,7 +24238,7 @@ const nU = ie(IR, {
24210
24238
  sy.propTypes = {
24211
24239
  ...kd.propTypes
24212
24240
  };
24213
- const ly = (e) => /* @__PURE__ */ m(ut, { ...e, children: /* @__PURE__ */ m(
24241
+ const ly = (e) => /* @__PURE__ */ m(ct, { ...e, children: /* @__PURE__ */ m(
24214
24242
  sy,
24215
24243
  {
24216
24244
  options: {
@@ -24224,27 +24252,27 @@ ly.defaultProps = {
24224
24252
  };
24225
24253
  ly.propTypes = {
24226
24254
  ...kd.propTypes,
24227
- ...ut.propTypes
24255
+ ...ct.propTypes
24228
24256
  };
24229
- const rU = ie(Dm, {
24257
+ const iU = ie(Dm, {
24230
24258
  name: "RaApplicaSelectArrayInput",
24231
24259
  slot: "Root"
24232
24260
  })(({ label: e }) => ({
24233
24261
  "& legend": {
24234
24262
  width: e === !1 ? 0 : "auto"
24235
24263
  }
24236
- })), oU = (e) => /* @__PURE__ */ m(ut, { ...e, children: /* @__PURE__ */ m(rU, {}) });
24237
- oU.propTypes = {
24264
+ })), aU = (e) => /* @__PURE__ */ m(ct, { ...e, children: /* @__PURE__ */ m(iU, {}) });
24265
+ aU.propTypes = {
24238
24266
  ...Dm.propTypes,
24239
- ...ut.propTypes
24267
+ ...ct.propTypes
24240
24268
  };
24241
- const Dc = (e) => /* @__PURE__ */ m(ut, { ...e, children: /* @__PURE__ */ m(Fd, {}) });
24269
+ const Dc = (e) => /* @__PURE__ */ m(ct, { ...e, children: /* @__PURE__ */ m(Fd, {}) });
24242
24270
  Dc.defaultProps = {
24243
24271
  ...Fd.defaultProps
24244
24272
  };
24245
24273
  Dc.propTypes = {
24246
24274
  ...Fd.propTypes,
24247
- ...ut.propTypes
24275
+ ...ct.propTypes
24248
24276
  };
24249
24277
  const of = ({ ...e }) => {
24250
24278
  var A, d;
@@ -24267,11 +24295,11 @@ of.propTypes = {
24267
24295
  multiline: c.bool,
24268
24296
  rows: c.number
24269
24297
  };
24270
- const iU = (e) => {
24298
+ const sU = (e) => {
24271
24299
  const t = e.split(":");
24272
24300
  return t.length === 1 && t.push("00"), Or().hour(t[0]).minute(t[1]);
24273
24301
  };
24274
- function f7() {
24302
+ function h7() {
24275
24303
  var e = (/* @__PURE__ */ new Date()).getTime();
24276
24304
  window.performance && typeof window.performance.now == "function" && (e += performance.now());
24277
24305
  var t = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(n) {
@@ -24280,29 +24308,29 @@ function f7() {
24280
24308
  });
24281
24309
  return t;
24282
24310
  }
24283
- const aU = (e) => {
24311
+ const lU = (e) => {
24284
24312
  if (!e)
24285
24313
  return "";
24286
- const t = iU(e);
24314
+ const t = sU(e);
24287
24315
  return t ? t.format("HH:mm") : "";
24288
- }, sU = (e) => e, lU = ie(Nd, {
24316
+ }, cU = (e) => e, AU = ie(Nd, {
24289
24317
  name: "RaApplicaTimeInput",
24290
24318
  slot: "root"
24291
24319
  })(({ label: e }) => ({
24292
24320
  "& legend": {
24293
24321
  width: e === !1 ? 0 : "auto"
24294
24322
  }
24295
- })), cy = (e) => /* @__PURE__ */ m(ut, { ...e, children: /* @__PURE__ */ m(lU, {}) });
24323
+ })), cy = (e) => /* @__PURE__ */ m(ct, { ...e, children: /* @__PURE__ */ m(AU, {}) });
24296
24324
  cy.defaultProps = {
24297
24325
  ...Nd.defaultProps,
24298
- format: aU,
24299
- parse: sU
24326
+ format: lU,
24327
+ parse: cU
24300
24328
  };
24301
24329
  cy.propTypes = {
24302
24330
  ...Nd.propTypes,
24303
- ...ut.propTypes
24331
+ ...ct.propTypes
24304
24332
  };
24305
- const cU = ie(ql, {
24333
+ const uU = ie(ql, {
24306
24334
  name: "RaApplicaDatagrid",
24307
24335
  slot: "root"
24308
24336
  })(() => ({
@@ -24324,26 +24352,25 @@ const cU = ie(ql, {
24324
24352
  left: -1
24325
24353
  },
24326
24354
  "& th": {
24327
- backgroundColor: "yellow",
24328
24355
  textOverflow: "ellipsis",
24329
24356
  overflow: "hidden",
24330
24357
  whiteSpace: "nowrap"
24331
24358
  }
24332
- })), Ay = (e) => /* @__PURE__ */ m(cU, { ...e });
24359
+ })), Ay = (e) => /* @__PURE__ */ m(uU, { ...e });
24333
24360
  Ay.propTypes = {
24334
24361
  ...ql.propTypes
24335
24362
  };
24336
24363
  Ay.defaultProps = {
24337
24364
  ...ql.defaultProps
24338
24365
  };
24339
- const AU = ie("div")(({ theme: e }) => ({
24366
+ const dU = ie("div")(({ theme: e }) => ({
24340
24367
  padding: e.spacing(2)
24341
- })), uU = ({ actions: e, className: t, ...n }) => {
24368
+ })), gU = ({ actions: e, className: t, ...n }) => {
24342
24369
  const { hasCreate: r } = BO(n), i = $m(n), s = Ua(), l = QO(), A = s(`resources.${i}.forcedCaseName`, {
24343
24370
  smart_count: 0,
24344
24371
  _: l(i, 0)
24345
24372
  }), d = s("ra.page.empty", { name: A }), g = s("ra.page.invite");
24346
- return /* @__PURE__ */ ae(dU, { className: t, children: [
24373
+ return /* @__PURE__ */ ae(fU, { className: t, children: [
24347
24374
  /* @__PURE__ */ ae("div", { className: Ri.message, children: [
24348
24375
  /* @__PURE__ */ m(ZR, { className: Ri.icon }),
24349
24376
  /* @__PURE__ */ m(xe, { variant: "h4", paragraph: !0, children: s(`resources.${i}.empty`, {
@@ -24353,13 +24380,13 @@ const AU = ie("div")(({ theme: e }) => ({
24353
24380
  _: g
24354
24381
  }) })
24355
24382
  ] }),
24356
- /* @__PURE__ */ m(AU, { className: Ri.toolbar, children: e })
24383
+ /* @__PURE__ */ m(dU, { className: Ri.toolbar, children: e })
24357
24384
  ] });
24358
24385
  }, fl = "RaApplicaEmpty", Ri = {
24359
24386
  message: `${fl}-message`,
24360
24387
  icon: `${fl}-icon`,
24361
24388
  toolbar: `${fl}-toolbar`
24362
- }, dU = ie("span", {
24389
+ }, fU = ie("span", {
24363
24390
  name: fl,
24364
24391
  overridesResolver: (e, t) => t.root
24365
24392
  })(({ theme: e }) => ({
@@ -24379,11 +24406,11 @@ const AU = ie("div")(({ theme: e }) => ({
24379
24406
  marginTop: "2em"
24380
24407
  }
24381
24408
  }));
24382
- uU.propTypes = {
24409
+ gU.propTypes = {
24383
24410
  actions: c.element,
24384
24411
  className: c.string
24385
24412
  };
24386
- const gU = ji(Jl, {
24413
+ const pU = ji(Jl, {
24387
24414
  name: "RaApplicaList",
24388
24415
  slot: "root"
24389
24416
  })(({ theme: e }) => ({
@@ -24442,14 +24469,14 @@ const gU = ji(Jl, {
24442
24469
  "& .RaEmpty-toolbar": {
24443
24470
  margin: e.spacing(2)
24444
24471
  }
24445
- })), uy = (e) => /* @__PURE__ */ m(lr, { content: !1, children: /* @__PURE__ */ m(gU, { ...Jl.defaultProps, ...e }) });
24472
+ })), uy = (e) => /* @__PURE__ */ m(lr, { content: !1, children: /* @__PURE__ */ m(pU, { ...Jl.defaultProps, ...e }) });
24446
24473
  uy.defaultProps = {
24447
24474
  ...Jl.defaultProps
24448
24475
  };
24449
24476
  uy.propTypes = {
24450
24477
  ...Jl.propTypes
24451
24478
  };
24452
- const fU = () => {
24479
+ const hU = () => {
24453
24480
  const e = Mm(), t = Fi(), n = km(), r = Sn(), { selectedIds: i, data: s } = Fm(), l = Yt(), A = i.map((C) => s.find((h) => h.id === C)), [d, { isLoading: g }] = Nm(
24454
24481
  r,
24455
24482
  {
@@ -24476,7 +24503,7 @@ const fU = () => {
24476
24503
  children: /* @__PURE__ */ m(eO, {})
24477
24504
  }
24478
24505
  );
24479
- }, pU = () => {
24506
+ }, CU = () => {
24480
24507
  const e = Mm(), t = Fi(), n = km(), { selectedIds: r, data: i } = Fm(), s = Yt(), l = Sn(), A = r.map((C) => i.find((h) => h.id === C)).concat([s]), [d, { isLoading: g }] = Nm(
24481
24508
  l,
24482
24509
  {
@@ -24503,7 +24530,7 @@ const fU = () => {
24503
24530
  children: /* @__PURE__ */ m(tO, {})
24504
24531
  }
24505
24532
  );
24506
- }, hU = (e) => {
24533
+ }, EU = (e) => {
24507
24534
  const t = Yt(e), n = Sn(e), r = bd(), i = Fi(), s = Zn(), [l] = Wl(), A = Je(
24508
24535
  () => t != null && t.readed ? Or(t == null ? void 0 : t.readed).locale(l).format("ddd, DD MMM YYYY HH:mm:ss") : !1,
24509
24536
  [t == null ? void 0 : t.readed, l]
@@ -24546,7 +24573,7 @@ const fU = () => {
24546
24573
  ),
24547
24574
  A && /* @__PURE__ */ m(xe, { variant: "caption", display: "block", sx: { mt: 1 }, color: "textSecondary", children: s("ra.notification.readed", { readed: A }) })
24548
24575
  ] });
24549
- }, p7 = ({ ...e }) => {
24576
+ }, C7 = ({ ...e }) => {
24550
24577
  const t = NR(), { mode: n, colorize: r, density: i } = Je(
24551
24578
  () => ({
24552
24579
  mode: t.palette.mode,
@@ -24561,11 +24588,11 @@ const fU = () => {
24561
24588
  [t, n, r, i]
24562
24589
  );
24563
24590
  return /* @__PURE__ */ ae(ql, { ...e, rowStyle: s, children: [
24564
- /* @__PURE__ */ m(hU, { source: "notification", sortable: !1, label: "ra.notification" }),
24591
+ /* @__PURE__ */ m(EU, { source: "notification", sortable: !1, label: "ra.notification" }),
24565
24592
  /* @__PURE__ */ m(nf, { source: "created", label: "ra.notification.created" }),
24566
24593
  /* @__PURE__ */ ae(uc, { children: [
24567
- /* @__PURE__ */ m(fU, {}),
24568
- /* @__PURE__ */ m(pU, {})
24594
+ /* @__PURE__ */ m(hU, {}),
24595
+ /* @__PURE__ */ m(CU, {})
24569
24596
  ] })
24570
24597
  ] });
24571
24598
  }, il = {
@@ -24644,7 +24671,7 @@ dy.propTypes = {
24644
24671
  dy.defaultProps = {
24645
24672
  variant: "body1"
24646
24673
  };
24647
- const CU = (e) => ({
24674
+ const mU = (e) => ({
24648
24675
  // z1: `0px 2px 8px rgba(0, 0, 0, 0.15)`,
24649
24676
  button: e.palette.mode === "dark" ? "0 2px 0 rgb(0 0 0 / 5%)" : "0 2px #0000000b",
24650
24677
  text: "0 -1px 0 rgb(0 0 0 / 12%)",
@@ -24665,17 +24692,17 @@ const CU = (e) => ({
24665
24692
  greyButton: `0 14px 12px ${Ve(e.palette.grey[500], 0.2)}`
24666
24693
  });
24667
24694
  function Un(e, t) {
24668
- EU(e) && (e = "100%");
24669
- var n = mU(e);
24695
+ IU(e) && (e = "100%");
24696
+ var n = BU(e);
24670
24697
  return e = t === 360 ? e : Math.min(t, Math.max(0, parseFloat(e))), n && (e = parseInt(String(e * t), 10) / 100), Math.abs(e - t) < 1e-6 ? 1 : (t === 360 ? e = (e < 0 ? e % t + t : e % t) / parseFloat(String(t)) : e = e % t / parseFloat(String(t)), e);
24671
24698
  }
24672
- function EU(e) {
24699
+ function IU(e) {
24673
24700
  return typeof e == "string" && e.indexOf(".") !== -1 && parseFloat(e) === 1;
24674
24701
  }
24675
- function mU(e) {
24702
+ function BU(e) {
24676
24703
  return typeof e == "string" && e.indexOf("%") !== -1;
24677
24704
  }
24678
- function IU(e) {
24705
+ function QU(e) {
24679
24706
  return e = parseFloat(e), (isNaN(e) || e < 0 || e > 1) && (e = 1), e;
24680
24707
  }
24681
24708
  function al(e) {
@@ -24684,7 +24711,7 @@ function al(e) {
24684
24711
  function xu(e) {
24685
24712
  return e.length === 1 ? "0" + e : String(e);
24686
24713
  }
24687
- function BU(e, t, n) {
24714
+ function vU(e, t, n) {
24688
24715
  return {
24689
24716
  r: Un(e, 255) * 255,
24690
24717
  g: Un(t, 255) * 255,
@@ -24694,7 +24721,7 @@ function BU(e, t, n) {
24694
24721
  function wu(e, t, n) {
24695
24722
  return n < 0 && (n += 1), n > 1 && (n -= 1), n < 1 / 6 ? e + (t - e) * (6 * n) : n < 1 / 2 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e;
24696
24723
  }
24697
- function QU(e, t, n) {
24724
+ function yU(e, t, n) {
24698
24725
  var r, i, s;
24699
24726
  if (e = Un(e, 360), t = Un(t, 100), n = Un(n, 100), t === 0)
24700
24727
  i = n, s = n, r = n;
@@ -24704,7 +24731,7 @@ function QU(e, t, n) {
24704
24731
  }
24705
24732
  return { r: r * 255, g: i * 255, b: s * 255 };
24706
24733
  }
24707
- function vU(e, t, n) {
24734
+ function bU(e, t, n) {
24708
24735
  e = Un(e, 255), t = Un(t, 255), n = Un(n, 255);
24709
24736
  var r = Math.max(e, t, n), i = Math.min(e, t, n), s = 0, l = r, A = r - i, d = r === 0 ? 0 : A / r;
24710
24737
  if (r === i)
@@ -24725,12 +24752,12 @@ function vU(e, t, n) {
24725
24752
  }
24726
24753
  return { h: s, s: d, v: l };
24727
24754
  }
24728
- function yU(e, t, n) {
24755
+ function xU(e, t, n) {
24729
24756
  e = Un(e, 360) * 6, t = Un(t, 100), n = Un(n, 100);
24730
24757
  var r = Math.floor(e), i = e - r, s = n * (1 - t), l = n * (1 - i * t), A = n * (1 - (1 - i) * t), d = r % 6, g = [n, l, s, s, A, n][d], f = [A, n, n, l, s, s][d], C = [s, s, A, n, n, l][d];
24731
24758
  return { r: g * 255, g: f * 255, b: C * 255 };
24732
24759
  }
24733
- function bU(e, t, n, r) {
24760
+ function wU(e, t, n, r) {
24734
24761
  var i = [
24735
24762
  xu(Math.round(e).toString(16)),
24736
24763
  xu(Math.round(t).toString(16)),
@@ -24896,7 +24923,7 @@ var gm = {
24896
24923
  };
24897
24924
  function fa(e) {
24898
24925
  var t = { r: 0, g: 0, b: 0 }, n = 1, r = null, i = null, s = null, l = !1, A = !1;
24899
- return typeof e == "string" && (e = TU(e)), typeof e == "object" && (Qr(e.r) && Qr(e.g) && Qr(e.b) ? (t = BU(e.r, e.g, e.b), l = !0, A = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : Qr(e.h) && Qr(e.s) && Qr(e.v) ? (r = al(e.s), i = al(e.v), t = yU(e.h, r, i), l = !0, A = "hsv") : Qr(e.h) && Qr(e.s) && Qr(e.l) && (r = al(e.s), s = al(e.l), t = QU(e.h, r, s), l = !0, A = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (n = e.a)), n = IU(n), {
24926
+ return typeof e == "string" && (e = SU(e)), typeof e == "object" && (Qr(e.r) && Qr(e.g) && Qr(e.b) ? (t = vU(e.r, e.g, e.b), l = !0, A = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : Qr(e.h) && Qr(e.s) && Qr(e.v) ? (r = al(e.s), i = al(e.v), t = xU(e.h, r, i), l = !0, A = "hsv") : Qr(e.h) && Qr(e.s) && Qr(e.l) && (r = al(e.s), s = al(e.l), t = yU(e.h, r, s), l = !0, A = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (n = e.a)), n = QU(n), {
24900
24927
  ok: l,
24901
24928
  format: e.format || A,
24902
24929
  r: Math.min(255, Math.max(t.r, 0)),
@@ -24905,7 +24932,7 @@ function fa(e) {
24905
24932
  a: n
24906
24933
  };
24907
24934
  }
24908
- var xU = "[-\\+]?\\d+%?", wU = "[-\\+]?\\d*\\.\\d+%?", Jr = "(?:".concat(wU, ")|(?:").concat(xU, ")"), Tu = "[\\s|\\(]+(".concat(Jr, ")[,|\\s]+(").concat(Jr, ")[,|\\s]+(").concat(Jr, ")\\s*\\)?"), Pu = "[\\s|\\(]+(".concat(Jr, ")[,|\\s]+(").concat(Jr, ")[,|\\s]+(").concat(Jr, ")[,|\\s]+(").concat(Jr, ")\\s*\\)?"), Xn = {
24935
+ var TU = "[-\\+]?\\d+%?", PU = "[-\\+]?\\d*\\.\\d+%?", Jr = "(?:".concat(PU, ")|(?:").concat(TU, ")"), Tu = "[\\s|\\(]+(".concat(Jr, ")[,|\\s]+(").concat(Jr, ")[,|\\s]+(").concat(Jr, ")\\s*\\)?"), Pu = "[\\s|\\(]+(".concat(Jr, ")[,|\\s]+(").concat(Jr, ")[,|\\s]+(").concat(Jr, ")[,|\\s]+(").concat(Jr, ")\\s*\\)?"), Xn = {
24909
24936
  CSS_UNIT: new RegExp(Jr),
24910
24937
  rgb: new RegExp("rgb" + Tu),
24911
24938
  rgba: new RegExp("rgba" + Pu),
@@ -24918,7 +24945,7 @@ var xU = "[-\\+]?\\d+%?", wU = "[-\\+]?\\d*\\.\\d+%?", Jr = "(?:".concat(wU, ")|
24918
24945
  hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
24919
24946
  hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/
24920
24947
  };
24921
- function TU(e) {
24948
+ function SU(e) {
24922
24949
  if (e = e.trim().toLowerCase(), e.length === 0)
24923
24950
  return !1;
24924
24951
  var t = !1;
@@ -24954,7 +24981,7 @@ function TU(e) {
24954
24981
  function Qr(e) {
24955
24982
  return !!Xn.CSS_UNIT.exec(String(e));
24956
24983
  }
24957
- var sl = 2, fm = 0.16, PU = 0.05, SU = 0.05, RU = 0.15, gy = 5, fy = 4, OU = [{
24984
+ var sl = 2, fm = 0.16, RU = 0.05, OU = 0.05, DU = 0.15, gy = 5, fy = 4, MU = [{
24958
24985
  index: 7,
24959
24986
  opacity: 0.15
24960
24987
  }, {
@@ -24986,7 +25013,7 @@ var sl = 2, fm = 0.16, PU = 0.05, SU = 0.05, RU = 0.15, gy = 5, fy = 4, OU = [{
24986
25013
  opacity: 0.98
24987
25014
  }];
24988
25015
  function pm(e) {
24989
- var t = e.r, n = e.g, r = e.b, i = vU(t, n, r);
25016
+ var t = e.r, n = e.g, r = e.b, i = bU(t, n, r);
24990
25017
  return {
24991
25018
  h: i.h * 360,
24992
25019
  s: i.s,
@@ -24995,9 +25022,9 @@ function pm(e) {
24995
25022
  }
24996
25023
  function ll(e) {
24997
25024
  var t = e.r, n = e.g, r = e.b;
24998
- return "#".concat(bU(t, n, r, !1));
25025
+ return "#".concat(wU(t, n, r, !1));
24999
25026
  }
25000
- function DU(e, t, n) {
25027
+ function kU(e, t, n) {
25001
25028
  var r = n / 100, i = {
25002
25029
  r: (t.r - e.r) * r + e.r,
25003
25030
  g: (t.g - e.g) * r + e.g,
@@ -25013,11 +25040,11 @@ function Cm(e, t, n) {
25013
25040
  if (e.h === 0 && e.s === 0)
25014
25041
  return e.s;
25015
25042
  var r;
25016
- return n ? r = e.s - fm * t : t === fy ? r = e.s + fm : r = e.s + PU * t, r > 1 && (r = 1), n && t === gy && r > 0.1 && (r = 0.1), r < 0.06 && (r = 0.06), Number(r.toFixed(2));
25043
+ return n ? r = e.s - fm * t : t === fy ? r = e.s + fm : r = e.s + RU * t, r > 1 && (r = 1), n && t === gy && r > 0.1 && (r = 0.1), r < 0.06 && (r = 0.06), Number(r.toFixed(2));
25017
25044
  }
25018
25045
  function Em(e, t, n) {
25019
25046
  var r;
25020
- return n ? r = e.v + SU * t : r = e.v - RU * t, r > 1 && (r = 1), Number(r.toFixed(2));
25047
+ return n ? r = e.v + OU * t : r = e.v - DU * t, r > 1 && (r = 1), Number(r.toFixed(2));
25021
25048
  }
25022
25049
  function mm(e) {
25023
25050
  for (var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = [], r = fa(e), i = gy; i > 0; i -= 1) {
@@ -25037,8 +25064,8 @@ function mm(e) {
25037
25064
  }));
25038
25065
  n.push(g);
25039
25066
  }
25040
- return t.theme === "dark" ? OU.map(function(f) {
25041
- var C = f.index, h = f.opacity, E = ll(DU(fa(t.backgroundColor || "#141414"), fa(n[C]), h * 100));
25067
+ return t.theme === "dark" ? MU.map(function(f) {
25068
+ var C = f.index, h = f.opacity, E = ll(kU(fa(t.backgroundColor || "#141414"), fa(n[C]), h * 100));
25042
25069
  return E;
25043
25070
  }) : n;
25044
25071
  }
@@ -25165,7 +25192,7 @@ const py = (e) => {
25165
25192
  py.propTypes = {
25166
25193
  colors: c.object
25167
25194
  };
25168
- const MU = (e, t) => {
25195
+ const FU = (e, t) => {
25169
25196
  const { grey: n } = e, r = {
25170
25197
  0: n[0],
25171
25198
  50: n[1],
@@ -25272,7 +25299,7 @@ const MU = (e, t) => {
25272
25299
  },
25273
25300
  grey: r
25274
25301
  };
25275
- }, kU = (e, t) => {
25302
+ }, NU = (e, t) => {
25276
25303
  const { grey: n } = e, r = {
25277
25304
  0: n[0],
25278
25305
  50: n[1],
@@ -25379,7 +25406,7 @@ const MU = (e, t) => {
25379
25406
  },
25380
25407
  grey: r
25381
25408
  };
25382
- }, FU = (e, t) => {
25409
+ }, LU = (e, t) => {
25383
25410
  const { grey: n } = e, r = {
25384
25411
  0: n[0],
25385
25412
  50: n[1],
@@ -25486,7 +25513,7 @@ const MU = (e, t) => {
25486
25513
  },
25487
25514
  grey: r
25488
25515
  };
25489
- }, NU = (e, t) => {
25516
+ }, jU = (e, t) => {
25490
25517
  const { grey: n } = e, r = {
25491
25518
  0: n[0],
25492
25519
  50: n[1],
@@ -25593,7 +25620,7 @@ const MU = (e, t) => {
25593
25620
  },
25594
25621
  grey: r
25595
25622
  };
25596
- }, LU = (e, t) => {
25623
+ }, VU = (e, t) => {
25597
25624
  const { grey: n } = e, r = {
25598
25625
  0: n[0],
25599
25626
  50: n[1],
@@ -25700,7 +25727,7 @@ const MU = (e, t) => {
25700
25727
  },
25701
25728
  grey: r
25702
25729
  };
25703
- }, jU = (e, t) => {
25730
+ }, HU = (e, t) => {
25704
25731
  const { grey: n } = e, r = {
25705
25732
  0: n[0],
25706
25733
  50: n[1],
@@ -25807,7 +25834,7 @@ const MU = (e, t) => {
25807
25834
  },
25808
25835
  grey: r
25809
25836
  };
25810
- }, VU = (e, t) => {
25837
+ }, zU = (e, t) => {
25811
25838
  const { grey: n } = e, r = {
25812
25839
  0: n[0],
25813
25840
  50: n[1],
@@ -25914,7 +25941,7 @@ const MU = (e, t) => {
25914
25941
  },
25915
25942
  grey: r
25916
25943
  };
25917
- }, HU = (e, t) => {
25944
+ }, WU = (e, t) => {
25918
25945
  const { grey: n } = e, r = {
25919
25946
  0: n[0],
25920
25947
  50: n[1],
@@ -26024,21 +26051,21 @@ const MU = (e, t) => {
26024
26051
  }, hy = (e, t, n) => {
26025
26052
  switch (t) {
26026
26053
  case "theme1":
26027
- return MU(e, n);
26054
+ return FU(e, n);
26028
26055
  case "theme2":
26029
- return kU(e, n);
26056
+ return NU(e, n);
26030
26057
  case "theme3":
26031
- return FU(e, n);
26058
+ return LU(e, n);
26032
26059
  case "theme4":
26033
- return NU(e, n);
26060
+ return jU(e, n);
26034
26061
  case "theme5":
26035
- return LU(e, n);
26062
+ return VU(e, n);
26036
26063
  case "theme6":
26037
- return jU(e, n);
26064
+ return HU(e, n);
26038
26065
  case "theme7":
26039
- return VU(e, n);
26066
+ return zU(e, n);
26040
26067
  case "theme8":
26041
- return HU(e, n);
26068
+ return WU(e, n);
26042
26069
  default:
26043
26070
  return py(e);
26044
26071
  }
@@ -26047,7 +26074,7 @@ hy.propTypes = {
26047
26074
  colors: c.object,
26048
26075
  presetColor: c.any
26049
26076
  };
26050
- const zU = (e, t) => {
26077
+ const UU = (e, t) => {
26051
26078
  const n = e === "dark" ? pl : Ut;
26052
26079
  let r = [
26053
26080
  "#ffffff",
@@ -26099,7 +26126,7 @@ const zU = (e, t) => {
26099
26126
  }
26100
26127
  }
26101
26128
  });
26102
- }, WU = (e) => ({
26129
+ }, YU = (e) => ({
26103
26130
  htmlFontSize: 16,
26104
26131
  fontFamily: e,
26105
26132
  fontWeightLight: 300,
@@ -26166,7 +26193,7 @@ const zU = (e, t) => {
26166
26193
  textTransform: "capitalize"
26167
26194
  }
26168
26195
  });
26169
- function UU(e) {
26196
+ function GU(e) {
26170
26197
  return {
26171
26198
  MuiAccordion: {
26172
26199
  defaultProps: {
@@ -26191,7 +26218,7 @@ function UU(e) {
26191
26218
  }
26192
26219
  };
26193
26220
  }
26194
- function YU(e) {
26221
+ function KU(e) {
26195
26222
  return {
26196
26223
  MuiAccordionDetails: {
26197
26224
  styleOverrides: {
@@ -26203,7 +26230,7 @@ function YU(e) {
26203
26230
  }
26204
26231
  };
26205
26232
  }
26206
- function GU(e) {
26233
+ function _U(e) {
26207
26234
  const { palette: t, spacing: n } = e;
26208
26235
  return {
26209
26236
  MuiAccordionSummary: {
@@ -26240,7 +26267,7 @@ function vo({ color: e, theme: t }) {
26240
26267
  }
26241
26268
  };
26242
26269
  }
26243
- function KU(e) {
26270
+ function qU(e) {
26244
26271
  const t = vo({ color: "primary", theme: e });
26245
26272
  return {
26246
26273
  MuiAlert: {
@@ -26291,7 +26318,7 @@ function KU(e) {
26291
26318
  }
26292
26319
  };
26293
26320
  }
26294
- function _U() {
26321
+ function JU() {
26295
26322
  return {
26296
26323
  MuiAlertTitle: {
26297
26324
  styleOverrides: {
@@ -26304,7 +26331,7 @@ function _U() {
26304
26331
  }
26305
26332
  };
26306
26333
  }
26307
- function qU(e) {
26334
+ function $U(e) {
26308
26335
  return {
26309
26336
  MuiAutocomplete: {
26310
26337
  styleOverrides: {
@@ -26335,7 +26362,7 @@ function yo({ color: e, theme: t }) {
26335
26362
  backgroundColor: r
26336
26363
  };
26337
26364
  }
26338
- function JU(e) {
26365
+ function XU(e) {
26339
26366
  const t = yo({ color: "primary", theme: e });
26340
26367
  return {
26341
26368
  MuiBadge: {
@@ -26422,7 +26449,7 @@ function $e({ variant: e, color: t, theme: n }) {
26422
26449
  };
26423
26450
  }
26424
26451
  }
26425
- function $U(e) {
26452
+ function ZU(e) {
26426
26453
  const t = $e({ variant: "dashed", color: "primary", theme: e }), n = $e({ variant: "shadow", color: "primary", theme: e }), r = {
26427
26454
  "&.Mui-disabled": {
26428
26455
  backgroundColor: e.palette.grey[200]
@@ -26567,7 +26594,7 @@ function $U(e) {
26567
26594
  }
26568
26595
  };
26569
26596
  }
26570
- function XU() {
26597
+ function eY() {
26571
26598
  return {
26572
26599
  MuiButtonBase: {
26573
26600
  defaultProps: {
@@ -26577,7 +26604,7 @@ function XU() {
26577
26604
  }
26578
26605
  };
26579
26606
  }
26580
- function ZU() {
26607
+ function tY() {
26581
26608
  return {
26582
26609
  MuiButtonGroup: {
26583
26610
  defaultProps: {
@@ -26586,7 +26613,7 @@ function ZU() {
26586
26613
  }
26587
26614
  };
26588
26615
  }
26589
- function eY() {
26616
+ function nY() {
26590
26617
  return {
26591
26618
  MuiCardContent: {
26592
26619
  styleOverrides: {
@@ -26615,7 +26642,7 @@ function pi({ color: e, theme: t }) {
26615
26642
  }
26616
26643
  };
26617
26644
  }
26618
- function tY(e) {
26645
+ function rY(e) {
26619
26646
  switch (e) {
26620
26647
  case "small":
26621
26648
  return { size: 16, fontSize: 1, position: 1 };
@@ -26627,7 +26654,7 @@ function tY(e) {
26627
26654
  }
26628
26655
  }
26629
26656
  function Ru(e) {
26630
- const t = tY(e);
26657
+ const t = rY(e);
26631
26658
  return {
26632
26659
  "& .icon": {
26633
26660
  width: t.size,
@@ -26640,7 +26667,7 @@ function Ru(e) {
26640
26667
  }
26641
26668
  };
26642
26669
  }
26643
- function nY(e) {
26670
+ function oY(e) {
26644
26671
  const { palette: t } = e;
26645
26672
  return {
26646
26673
  MuiCheckbox: {
@@ -26737,7 +26764,7 @@ function yn({ color: e, theme: t }) {
26737
26764
  }
26738
26765
  };
26739
26766
  }
26740
- function rY(e) {
26767
+ function iY(e) {
26741
26768
  const t = yn({ color: "secondary", theme: e });
26742
26769
  return {
26743
26770
  MuiChip: {
@@ -26781,7 +26808,7 @@ function rY(e) {
26781
26808
  }
26782
26809
  };
26783
26810
  }
26784
- function oY() {
26811
+ function aY() {
26785
26812
  return {
26786
26813
  MuiDialog: {
26787
26814
  styleOverrides: {
@@ -26794,7 +26821,7 @@ function oY() {
26794
26821
  }
26795
26822
  };
26796
26823
  }
26797
- function iY(e) {
26824
+ function sY(e) {
26798
26825
  return {
26799
26826
  MuiDialogContentText: {
26800
26827
  styleOverrides: {
@@ -26806,7 +26833,7 @@ function iY(e) {
26806
26833
  }
26807
26834
  };
26808
26835
  }
26809
- function aY() {
26836
+ function lY() {
26810
26837
  return {
26811
26838
  MuiDialogTitle: {
26812
26839
  styleOverrides: {
@@ -26842,7 +26869,7 @@ function Ci({ color: e, theme: t }) {
26842
26869
  }
26843
26870
  };
26844
26871
  }
26845
- function sY(e) {
26872
+ function cY(e) {
26846
26873
  return {
26847
26874
  MuiFab: {
26848
26875
  styleOverrides: {
@@ -26882,7 +26909,7 @@ function sY(e) {
26882
26909
  }
26883
26910
  };
26884
26911
  }
26885
- function lY(e) {
26912
+ function AY(e) {
26886
26913
  return {
26887
26914
  MuiIconButton: {
26888
26915
  styleOverrides: {
@@ -26908,7 +26935,7 @@ function lY(e) {
26908
26935
  }
26909
26936
  };
26910
26937
  }
26911
- function cY() {
26938
+ function uY() {
26912
26939
  return {
26913
26940
  MuiInputBase: {
26914
26941
  styleOverrides: {
@@ -26919,7 +26946,7 @@ function cY() {
26919
26946
  }
26920
26947
  };
26921
26948
  }
26922
- function AY(e) {
26949
+ function dY(e) {
26923
26950
  return {
26924
26951
  MuiInputLabel: {
26925
26952
  styleOverrides: {
@@ -26942,7 +26969,7 @@ function AY(e) {
26942
26969
  }
26943
26970
  };
26944
26971
  }
26945
- function uY() {
26972
+ function gY() {
26946
26973
  return {
26947
26974
  MuiLinearProgress: {
26948
26975
  styleOverrides: {
@@ -26957,7 +26984,7 @@ function uY() {
26957
26984
  }
26958
26985
  };
26959
26986
  }
26960
- function dY() {
26987
+ function fY() {
26961
26988
  return {
26962
26989
  MuiLink: {
26963
26990
  defaultProps: {
@@ -26966,7 +26993,7 @@ function dY() {
26966
26993
  }
26967
26994
  };
26968
26995
  }
26969
- function gY(e) {
26996
+ function pY(e) {
26970
26997
  return {
26971
26998
  MuiListItemButton: {
26972
26999
  styleOverrides: {
@@ -26982,7 +27009,7 @@ function gY(e) {
26982
27009
  }
26983
27010
  };
26984
27011
  }
26985
- function fY(e) {
27012
+ function hY(e) {
26986
27013
  return {
26987
27014
  MuiListItemIcon: {
26988
27015
  styleOverrides: {
@@ -26994,7 +27021,7 @@ function fY(e) {
26994
27021
  }
26995
27022
  };
26996
27023
  }
26997
- function pY() {
27024
+ function CY() {
26998
27025
  return {
26999
27026
  MuiLoadingButton: {
27000
27027
  styleOverrides: {
@@ -27023,7 +27050,7 @@ function bo({ variant: e, theme: t }) {
27023
27050
  }
27024
27051
  };
27025
27052
  }
27026
- function hY(e) {
27053
+ function EY(e) {
27027
27054
  return {
27028
27055
  MuiOutlinedInput: {
27029
27056
  styleOverrides: {
@@ -27054,7 +27081,7 @@ function hY(e) {
27054
27081
  }
27055
27082
  };
27056
27083
  }
27057
- function CY() {
27084
+ function mY() {
27058
27085
  return {
27059
27086
  MuiPagination: {
27060
27087
  defaultProps: {
@@ -27105,7 +27132,7 @@ function Et({ variant: e, color: t, theme: n }) {
27105
27132
  };
27106
27133
  }
27107
27134
  }
27108
- function EY(e) {
27135
+ function IY(e) {
27109
27136
  return {
27110
27137
  MuiPaginationItem: {
27111
27138
  styleOverrides: {
@@ -27265,7 +27292,7 @@ function EY(e) {
27265
27292
  }
27266
27293
  };
27267
27294
  }
27268
- function mY(e) {
27295
+ function BY(e) {
27269
27296
  return {
27270
27297
  MuiPopover: {
27271
27298
  styleOverrides: {
@@ -27291,7 +27318,7 @@ function Ei({ color: e, theme: t }) {
27291
27318
  }
27292
27319
  };
27293
27320
  }
27294
- function IY(e) {
27321
+ function QY(e) {
27295
27322
  switch (e) {
27296
27323
  case "small":
27297
27324
  return { size: 16, dotSize: 8, position: 3 };
@@ -27303,7 +27330,7 @@ function IY(e) {
27303
27330
  }
27304
27331
  }
27305
27332
  function Ou(e) {
27306
- const t = IY(e);
27333
+ const t = QY(e);
27307
27334
  return {
27308
27335
  "& .icon": {
27309
27336
  width: t.size,
@@ -27317,7 +27344,7 @@ function Ou(e) {
27317
27344
  }
27318
27345
  };
27319
27346
  }
27320
- function BY(e) {
27347
+ function vY(e) {
27321
27348
  const { palette: t } = e;
27322
27349
  return {
27323
27350
  MuiRadio: {
@@ -27395,7 +27422,7 @@ function mi({ color: e, theme: t }) {
27395
27422
  border: `2px solid ${r}`
27396
27423
  };
27397
27424
  }
27398
- function QY(e) {
27425
+ function yY(e) {
27399
27426
  return {
27400
27427
  MuiSlider: {
27401
27428
  styleOverrides: {
@@ -27450,7 +27477,7 @@ function QY(e) {
27450
27477
  }
27451
27478
  };
27452
27479
  }
27453
- function vY(e) {
27480
+ function bY(e) {
27454
27481
  switch (e) {
27455
27482
  case "small":
27456
27483
  return { width: 28, height: 16, base: 12, thumb: 10, trackRadius: 8 };
@@ -27462,7 +27489,7 @@ function vY(e) {
27462
27489
  }
27463
27490
  }
27464
27491
  function Du(e, t) {
27465
- const n = vY(t);
27492
+ const n = bY(t);
27466
27493
  return {
27467
27494
  width: n.width,
27468
27495
  height: n.height,
@@ -27481,7 +27508,7 @@ function Du(e, t) {
27481
27508
  }
27482
27509
  };
27483
27510
  }
27484
- function yY(e) {
27511
+ function xY(e) {
27485
27512
  return {
27486
27513
  MuiSwitch: {
27487
27514
  styleOverrides: {
@@ -27531,7 +27558,7 @@ function yY(e) {
27531
27558
  }
27532
27559
  };
27533
27560
  }
27534
- function bY(e) {
27561
+ function wY(e) {
27535
27562
  return {
27536
27563
  MuiTab: {
27537
27564
  styleOverrides: {
@@ -27553,7 +27580,7 @@ function bY(e) {
27553
27580
  }
27554
27581
  };
27555
27582
  }
27556
- function xY(e) {
27583
+ function TY(e) {
27557
27584
  const t = {
27558
27585
  "&:hover": {
27559
27586
  backgroundColor: e.palette.secondary.lighter
@@ -27577,7 +27604,7 @@ function xY(e) {
27577
27604
  }
27578
27605
  };
27579
27606
  }
27580
- function wY(e) {
27607
+ function PY(e) {
27581
27608
  const t = {
27582
27609
  "&:not(:last-of-type)": {
27583
27610
  position: "relative",
@@ -27618,7 +27645,7 @@ function wY(e) {
27618
27645
  }
27619
27646
  };
27620
27647
  }
27621
- function TY(e) {
27648
+ function SY(e) {
27622
27649
  return {
27623
27650
  MuiTableFooter: {
27624
27651
  styleOverrides: {
@@ -27631,7 +27658,7 @@ function TY(e) {
27631
27658
  }
27632
27659
  };
27633
27660
  }
27634
- function PY(e) {
27661
+ function RY(e) {
27635
27662
  return {
27636
27663
  MuiTableHead: {
27637
27664
  styleOverrides: {
@@ -27644,7 +27671,7 @@ function PY(e) {
27644
27671
  }
27645
27672
  };
27646
27673
  }
27647
- function SY() {
27674
+ function OY() {
27648
27675
  return {
27649
27676
  MuiTablePagination: {
27650
27677
  styleOverrides: {
@@ -27658,7 +27685,7 @@ function SY() {
27658
27685
  }
27659
27686
  };
27660
27687
  }
27661
- function RY() {
27688
+ function DY() {
27662
27689
  return {
27663
27690
  MuiTableRow: {
27664
27691
  styleOverrides: {
@@ -27681,7 +27708,7 @@ function RY() {
27681
27708
  }
27682
27709
  };
27683
27710
  }
27684
- function OY() {
27711
+ function MY() {
27685
27712
  return {
27686
27713
  MuiTabs: {
27687
27714
  styleOverrides: {
@@ -27692,7 +27719,7 @@ function OY() {
27692
27719
  }
27693
27720
  };
27694
27721
  }
27695
- function DY(e) {
27722
+ function kY(e) {
27696
27723
  return {
27697
27724
  MuiToggleButton: {
27698
27725
  styleOverrides: {
@@ -27710,7 +27737,7 @@ function DY(e) {
27710
27737
  }
27711
27738
  };
27712
27739
  }
27713
- function MY(e) {
27740
+ function FY(e) {
27714
27741
  return {
27715
27742
  MuiTooltip: {
27716
27743
  styleOverrides: {
@@ -27721,7 +27748,7 @@ function MY(e) {
27721
27748
  }
27722
27749
  };
27723
27750
  }
27724
- function kY() {
27751
+ function NY() {
27725
27752
  return {
27726
27753
  MuiTreeItem: {
27727
27754
  styleOverrides: {
@@ -27737,7 +27764,7 @@ function kY() {
27737
27764
  }
27738
27765
  };
27739
27766
  }
27740
- function FY() {
27767
+ function LY() {
27741
27768
  return {
27742
27769
  MuiTypography: {
27743
27770
  styleOverrides: {
@@ -27748,56 +27775,56 @@ function FY() {
27748
27775
  }
27749
27776
  };
27750
27777
  }
27751
- function NY(e) {
27778
+ function jY(e) {
27752
27779
  return at.merge(
27753
- UU(e),
27754
- YU(e),
27755
27780
  GU(e),
27756
27781
  KU(e),
27757
- _U(),
27782
+ _U(e),
27758
27783
  qU(e),
27759
- JU(e),
27784
+ JU(),
27760
27785
  $U(e),
27761
- XU(),
27762
- ZU(),
27786
+ XU(e),
27787
+ ZU(e),
27763
27788
  eY(),
27764
- nY(e),
27765
- rY(e),
27766
- oY(),
27789
+ tY(),
27790
+ nY(),
27791
+ oY(e),
27767
27792
  iY(e),
27768
27793
  aY(),
27769
27794
  sY(e),
27770
- lY(e),
27771
- cY(),
27795
+ lY(),
27796
+ cY(e),
27772
27797
  AY(e),
27773
27798
  uY(),
27774
- dY(),
27775
- gY(e),
27776
- fY(e),
27777
- pY(),
27799
+ dY(e),
27800
+ gY(),
27801
+ fY(),
27802
+ pY(e),
27778
27803
  hY(e),
27779
27804
  CY(),
27780
27805
  EY(e),
27781
- mY(e),
27806
+ mY(),
27807
+ IY(e),
27782
27808
  BY(e),
27783
- QY(e),
27809
+ vY(e),
27784
27810
  yY(e),
27785
- bY(e),
27786
27811
  xY(e),
27787
27812
  wY(e),
27788
27813
  TY(e),
27789
27814
  PY(e),
27790
- SY(),
27791
- RY(),
27815
+ SY(e),
27816
+ RY(e),
27792
27817
  OY(),
27793
- DY(e),
27794
- MY(e),
27795
- kY(),
27796
- FY()
27818
+ DY(),
27819
+ MY(),
27820
+ kY(e),
27821
+ FY(e),
27822
+ NY(),
27823
+ LY()
27797
27824
  );
27798
27825
  }
27799
27826
  const Cy = ({ themeOverrides: e, children: t }) => {
27800
- const { themeDirection: n, mode: r, presetColor: i, fontFamily: s } = Zt(), l = Je(() => zU(r, i), [r, i]), A = Je(() => WU(s), [s]), d = Je(() => CU(l), [l]), g = Je(
27827
+ const { themeDirection: n, mode: r, presetColor: i, fontFamily: s } = Zt(), l = Je(() => UU(r, i), [r, i]), A = Je(() => YU(s), [s]), d = Je(() => mU(l), [l]), g = Je(
27801
27828
  () => ({
27802
27829
  breakpoints: {
27803
27830
  values: {
@@ -27824,7 +27851,7 @@ const Cy = ({ themeOverrides: e, children: t }) => {
27824
27851
  }),
27825
27852
  [n, l, A, d, e]
27826
27853
  ), f = eg(g);
27827
- return f.components = NY(f), /* @__PURE__ */ m(HR, { injectFirst: !0, children: /* @__PURE__ */ ae(BI, { theme: f, children: [
27854
+ return f.components = jY(f), /* @__PURE__ */ m(HR, { injectFirst: !0, children: /* @__PURE__ */ ae(BI, { theme: f, children: [
27828
27855
  /* @__PURE__ */ m(zR, {}),
27829
27856
  t
27830
27857
  ] }) });
@@ -27919,14 +27946,14 @@ class Ey {
27919
27946
  return this.display;
27920
27947
  }
27921
27948
  }
27922
- const LY = ({ apiUrl: e, endpoint: t, locale: n, message: r, bodyBuilder: i }) => fetch(`${e}${t}`, {
27949
+ const VY = ({ apiUrl: e, endpoint: t, locale: n, message: r, bodyBuilder: i }) => fetch(`${e}${t}`, {
27923
27950
  method: "PUT",
27924
27951
  headers: new Headers({
27925
27952
  Accept: "application/json",
27926
27953
  "Content-Type": "application/json"
27927
27954
  }),
27928
27955
  body: JSON.stringify(i(n, r))
27929
- }), jY = ({
27956
+ }), HY = ({
27930
27957
  enabled: e = !0,
27931
27958
  apiUrl: t,
27932
27959
  endpoint: n = "/ui-errors/put",
@@ -27953,21 +27980,21 @@ const LY = ({ apiUrl: e, endpoint: t, locale: n, message: r, bodyBuilder: i }) =
27953
27980
  l.apply(console, arguments);
27954
27981
  return;
27955
27982
  }
27956
- f.logError() && LY({ apiUrl: t, endpoint: n, message: g, bodyBuilder: s }), f.displayError() ? l.apply(console, arguments) : console.debug.apply(console, arguments);
27983
+ f.logError() && VY({ apiUrl: t, endpoint: n, message: g, bodyBuilder: s }), f.displayError() ? l.apply(console, arguments) : console.debug.apply(console, arguments);
27957
27984
  };
27958
- }, [t, r, s, n, i, e]), !0), VY = ({ languages: e, defaultLocale: t, allowMissing: n = !1 }) => wO(
27985
+ }, [t, r, s, n, i, e]), !0), zY = ({ languages: e, defaultLocale: t, allowMissing: n = !1 }) => wO(
27959
27986
  (r) => at.get(e, r, {}),
27960
27987
  t,
27961
27988
  [{ locale: t }],
27962
27989
  { allowMissing: n }
27963
- ), Im = [], HY = ({ apiUrl: e, endpoint: t, locale: n, message: r, bodyBuilder: i }) => r != null && r !== "undefined" && r.indexOf("[") === -1 && r.indexOf("]") === -1 && Im.indexOf(`${n}-${r}`) === -1 && Im.push(`${n}-${r}`) && fetch(`${e}${t}`, {
27990
+ ), Im = [], WY = ({ apiUrl: e, endpoint: t, locale: n, message: r, bodyBuilder: i }) => r != null && r !== "undefined" && r.indexOf("[") === -1 && r.indexOf("]") === -1 && Im.indexOf(`${n}-${r}`) === -1 && Im.push(`${n}-${r}`) && fetch(`${e}${t}`, {
27964
27991
  method: "PUT",
27965
27992
  headers: new Headers({
27966
27993
  Accept: "application/json",
27967
27994
  "Content-Type": "application/json"
27968
27995
  }),
27969
27996
  body: JSON.stringify(i(n, r))
27970
- }), zY = ({
27997
+ }), UY = ({
27971
27998
  apiUrl: e,
27972
27999
  enabled: t = !0,
27973
28000
  endpoint: n = "/languages/put-message",
@@ -27991,7 +28018,7 @@ const LY = ({ apiUrl: e, endpoint: t, locale: n, message: r, bodyBuilder: i }) =
27991
28018
  if (A = A.replace("Warning: Missing translation for key: ", ""), A = A.split('"').join("").trim(), A === null || A.indexOf(" ") !== -1 || A.indexOf(".") === -1)
27992
28019
  return;
27993
28020
  const d = localStorage.getItem("locale") || s;
27994
- HY({ apiUrl: e, endpoint: n, locale: d, message: A, bodyBuilder: i });
28021
+ WY({ apiUrl: e, endpoint: n, locale: d, message: A, bodyBuilder: i });
27995
28022
  return;
27996
28023
  }
27997
28024
  l.apply(console, arguments);
@@ -28000,7 +28027,7 @@ const LY = ({ apiUrl: e, endpoint: t, locale: n, message: r, bodyBuilder: i }) =
28000
28027
  }, [e, s, r, i, n, t]), !0;
28001
28028
  };
28002
28029
  window.React = Pe;
28003
- const WY = ({
28030
+ const YY = ({
28004
28031
  apiUrl: e,
28005
28032
  endpoint: t = "/languages/load",
28006
28033
  mapper: n = ({ data: r }) => ({ data: r })
@@ -28010,7 +28037,7 @@ const WY = ({
28010
28037
  let s = new Headers();
28011
28038
  s.append("Accept", "application/json"), s.append("Content-Type", "application/json"), fetch(`${e}${t}`, { headers: s }).then((l) => l.json()).then((l) => i({ loading: !1, ...n(l) }));
28012
28039
  }, [e, t, n]), r;
28013
- }, UY = (e) => e.reduce(
28040
+ }, GY = (e) => e.reduce(
28014
28041
  (t, n) => ({
28015
28042
  ...t,
28016
28043
  [n.lang]: {
@@ -28019,11 +28046,11 @@ const WY = ({
28019
28046
  }
28020
28047
  }),
28021
28048
  {}
28022
- ), YY = (e, t) => ({
28049
+ ), KY = (e, t) => ({
28023
28050
  lang: e,
28024
28051
  code: t,
28025
28052
  text: t
28026
- }), GY = new bO({
28053
+ }), _Y = new bO({
28027
28054
  defaultOptions: {
28028
28055
  queries: {
28029
28056
  refetchOnWindowFocus: !1
@@ -28045,18 +28072,18 @@ const WY = ({
28045
28072
  disableNotification: h,
28046
28073
  ...E
28047
28074
  }) => {
28048
- const I = WY({
28075
+ const I = YY({
28049
28076
  apiUrl: t,
28050
28077
  endpoint: "/i18n/messages",
28051
- mapper: UY
28078
+ mapper: GY
28052
28079
  });
28053
- zY({
28054
- bodyBuilder: YY,
28080
+ UY({
28081
+ bodyBuilder: KY,
28055
28082
  apiUrl: t,
28056
28083
  endpoint: "/i18n/message",
28057
28084
  loading: I == null ? void 0 : I.loading,
28058
28085
  enabled: r
28059
- }), jY({
28086
+ }), HY({
28060
28087
  apiUrl: t,
28061
28088
  endpoint: "/cli/error",
28062
28089
  catcherFn: (T) => {
@@ -28093,7 +28120,7 @@ const WY = ({
28093
28120
  );
28094
28121
  if (I != null && I.loading)
28095
28122
  return null;
28096
- const v = VY({
28123
+ const v = zY({
28097
28124
  languages: I,
28098
28125
  defaultLocale: n,
28099
28126
  allowMissing: r
@@ -28104,7 +28131,7 @@ const WY = ({
28104
28131
  theme: e,
28105
28132
  layout: B,
28106
28133
  notification: pj,
28107
- queryClient: GY,
28134
+ queryClient: _Y,
28108
28135
  dataProvider: g,
28109
28136
  authProvider: f,
28110
28137
  i18nProvider: v,
@@ -28185,61 +28212,61 @@ export {
28185
28212
  vI as AppConfigContext,
28186
28213
  yI as AppConfigProvider,
28187
28214
  my as ApplicaAdmin,
28188
- E7 as ArrayInput,
28189
- m7 as ArrayInputContext,
28215
+ G9 as ArrayInput,
28216
+ I7 as ArrayInputContext,
28190
28217
  Hv as AttachmentField,
28191
28218
  Xv as AttachmentInput,
28192
- _9 as AutocompleteArrayInput,
28193
- J9 as AutocompleteInput,
28219
+ J9 as AutocompleteArrayInput,
28220
+ X9 as AutocompleteInput,
28194
28221
  ud as Avatar,
28195
- I7 as BooleanField,
28222
+ B7 as BooleanField,
28196
28223
  Zv as BooleanInput,
28197
28224
  cg as Breadcrumbs,
28198
- B7 as BulkDeleteWithConfirmButton,
28199
- Q7 as Button,
28225
+ Q7 as BulkDeleteWithConfirmButton,
28226
+ v7 as Button,
28200
28227
  Ng as CardForm,
28201
- v7 as ChipField,
28228
+ y7 as ChipField,
28202
28229
  i5 as CircularWithLabel,
28203
28230
  a5 as CircularWithPath,
28204
- y7 as Confirm,
28231
+ b7 as Confirm,
28205
28232
  tf as CoverField,
28206
- b7 as Create,
28207
- x7 as CreateButton,
28208
- w7 as CreateContextProvider,
28233
+ x7 as Create,
28234
+ w7 as CreateButton,
28235
+ T7 as CreateContextProvider,
28209
28236
  Fv as CreateInDialogButton,
28210
- T7 as CustomRoutes,
28237
+ P7 as CustomRoutes,
28211
28238
  Ay as Datagrid,
28212
28239
  nf as DateAgoField,
28213
28240
  Uv as DateField,
28214
28241
  ey as DateInput,
28215
- P7 as DeleteWithConfirmButton,
28216
- S7 as DeleteWithUndoButton,
28242
+ S7 as DeleteWithConfirmButton,
28243
+ R7 as DeleteWithUndoButton,
28217
28244
  Sg as Dot,
28218
- u7 as Edit,
28219
- R7 as EditButton,
28220
- O7 as EditContextProvider,
28245
+ g7 as Edit,
28246
+ O7 as EditButton,
28247
+ D7 as EditContextProvider,
28221
28248
  Lv as EditInDialogButton,
28222
28249
  Gv as EmailField,
28223
- uU as Empty,
28224
- D7 as FieldTitle,
28250
+ gU as Empty,
28251
+ M7 as FieldTitle,
28225
28252
  Kv as FileField,
28226
28253
  ty as FileInput,
28227
- M7 as Form,
28254
+ k7 as Form,
28228
28255
  av as FormHeader,
28229
28256
  H9 as FunctionField,
28230
- k7 as HttpError,
28257
+ F7 as HttpError,
28231
28258
  Lo as IconButton,
28232
28259
  Oc as ImageField,
28233
28260
  ny as ImageInput,
28234
28261
  k9 as ImpersonateUserButton,
28235
- ut as LabeledInput,
28262
+ ct as LabeledInput,
28236
28263
  tv as Layout,
28237
28264
  s5 as LinearWithIcon,
28238
28265
  l5 as LinearWithLabel,
28239
28266
  uy as List,
28240
28267
  dy as ListItem,
28241
- F7 as ListToolbar,
28242
- c7 as Loadable,
28268
+ N7 as ListToolbar,
28269
+ u7 as Loadable,
28243
28270
  fj as Loader,
28244
28271
  I0 as LoadingButton,
28245
28272
  DQ as Logo,
@@ -28251,32 +28278,32 @@ export {
28251
28278
  ng as MenuPopover,
28252
28279
  Da as MenuPropTypes,
28253
28280
  pj as Notification,
28254
- p7 as NotificationList,
28281
+ C7 as NotificationList,
28255
28282
  ry as NumberInput,
28256
- N7 as Pagination,
28283
+ L7 as Pagination,
28257
28284
  qv as ReadonlyField,
28258
- L7 as RecordContextProvider,
28259
- tU as RecordInput,
28260
- j7 as ReferenceArrayField,
28285
+ j7 as RecordContextProvider,
28286
+ rU as RecordInput,
28287
+ V7 as ReferenceArrayField,
28261
28288
  oy as ReferenceArrayInput,
28262
- V7 as ReferenceField,
28289
+ H7 as ReferenceField,
28263
28290
  iy as ReferenceInput,
28264
28291
  rs as ReferenceManyField,
28265
28292
  ay as ReferenceManyInput,
28266
- H7 as Resource,
28267
- z7 as ResourceContextProvider,
28268
- W7 as SaveButton,
28293
+ z7 as Resource,
28294
+ W7 as ResourceContextProvider,
28295
+ U7 as SaveButton,
28269
28296
  ov as ScrollTop,
28270
- A7 as ScrollX,
28271
- g7 as SearchInput,
28297
+ d7 as ScrollX,
28298
+ p7 as SearchInput,
28272
28299
  ly as SelectArrayInput,
28273
- oU as SelectInput,
28300
+ aU as SelectInput,
28274
28301
  RQ as SimpleBar,
28275
28302
  cv as SimpleForm,
28276
- d7 as SimpleFormIterator,
28277
- U7 as SimpleFormIteratorContext,
28278
- Y7 as SimpleList,
28279
- G7 as SingleFieldList,
28303
+ f7 as SimpleFormIterator,
28304
+ Y7 as SimpleFormIteratorContext,
28305
+ G7 as SimpleList,
28306
+ K7 as SingleFieldList,
28280
28307
  U9 as SizeField,
28281
28308
  iv as SmallIcon,
28282
28309
  of as SmartTextInput,
@@ -28288,47 +28315,47 @@ export {
28288
28315
  cy as TimeInput,
28289
28316
  Yo as Toolbar,
28290
28317
  o5 as Tooltip,
28291
- K7 as TopToolbar,
28318
+ _7 as TopToolbar,
28292
28319
  jo as Transitions,
28293
- _7 as UrlField,
28294
- q7 as choices,
28295
- J7 as email,
28296
- $7 as maxLength,
28297
- X7 as maxValue,
28298
- Z7 as minLength,
28299
- eG as minValue,
28300
- tG as number,
28301
- iU as parseTime,
28302
- nG as regex,
28303
- rG as required,
28320
+ q7 as UrlField,
28321
+ J7 as choices,
28322
+ $7 as email,
28323
+ X7 as maxLength,
28324
+ Z7 as maxValue,
28325
+ eG as minLength,
28326
+ tG as minValue,
28327
+ nG as number,
28328
+ sU as parseTime,
28329
+ rG as regex,
28330
+ oG as required,
28304
28331
  qa as useAppConfig,
28305
- oG as useArrayInput,
28306
- iG as useAuthProvider,
28332
+ iG as useArrayInput,
28333
+ aG as useAuthProvider,
28307
28334
  SM as useBreadcrumbs,
28308
- aG as useCreateController,
28309
- sG as useDataProvider,
28310
- lG as useEditContext,
28311
- cG as useGetIdentity,
28312
- AG as useGetList,
28313
- uG as useGetMany,
28314
- dG as useGetManyReference,
28315
- gG as useGetOne,
28316
- fG as useListContext,
28335
+ sG as useCreateController,
28336
+ lG as useDataProvider,
28337
+ cG as useEditContext,
28338
+ AG as useGetIdentity,
28339
+ uG as useGetList,
28340
+ dG as useGetMany,
28341
+ gG as useGetManyReference,
28342
+ fG as useGetOne,
28343
+ pG as useListContext,
28317
28344
  FI as useLocalStorage,
28318
28345
  kI as useMenu,
28319
28346
  Ar as useMenuConfig,
28320
- pG as useNotify,
28321
- hG as usePermissions,
28322
- CG as useRecordContext,
28323
- EG as useRefresh,
28324
- mG as useResourceContext,
28325
- IG as useResourceDefinition,
28326
- BG as useResourceDefinitions,
28347
+ hG as useNotify,
28348
+ CG as usePermissions,
28349
+ EG as useRecordContext,
28350
+ mG as useRefresh,
28351
+ IG as useResourceContext,
28352
+ BG as useResourceDefinition,
28353
+ QG as useResourceDefinitions,
28327
28354
  RM as useResourceTitle,
28328
28355
  Zt as useThemeConfig,
28329
- QG as useTranslate,
28330
- vG as useUnselect,
28331
- yG as useUnselectAll,
28332
- bG as useUpdateMany,
28333
- f7 as uuid
28356
+ vG as useTranslate,
28357
+ yG as useUnselect,
28358
+ bG as useUnselectAll,
28359
+ xG as useUpdateMany,
28360
+ h7 as uuid
28334
28361
  };