@applica-software-guru/react-admin 1.5.303 → 1.5.305
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Layout/Header/Profile/index.d.ts +1 -0
- package/dist/components/Layout/Header/Profile/index.d.ts.map +1 -1
- package/dist/components/ra-inputs/LabeledInput.d.ts +1 -0
- package/dist/components/ra-inputs/LabeledInput.d.ts.map +1 -1
- package/dist/components/ra-lists/FilterSidebar/FilterSidebarContext.d.ts.map +1 -1
- package/dist/react-admin.cjs.js +45 -45
- package/dist/react-admin.cjs.js.gz +0 -0
- package/dist/react-admin.cjs.js.map +1 -1
- package/dist/react-admin.es.js +221 -217
- package/dist/react-admin.es.js.gz +0 -0
- package/dist/react-admin.es.js.map +1 -1
- package/dist/react-admin.umd.js +45 -45
- package/dist/react-admin.umd.js.gz +0 -0
- package/dist/react-admin.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Layout/Header/Profile/index.ts +1 -0
- package/src/components/ra-inputs/LabeledInput.tsx +3 -1
- package/src/components/ra-lists/FilterSidebar/ActiveFiltersChips.tsx +1 -1
- package/src/components/ra-lists/FilterSidebar/FilterSidebar.tsx +1 -1
- package/src/components/ra-lists/FilterSidebar/FilterSidebarContext.tsx +15 -12
package/dist/react-admin.es.js
CHANGED
|
@@ -9,7 +9,7 @@ import bi, { jsx as h, jsxs as U, Fragment as rt } from "react/jsx-runtime";
|
|
|
9
9
|
import Pk from "@emotion/styled";
|
|
10
10
|
import { CacheProvider as Rk, Global as Mk, ThemeContext as km, css as _m, keyframes as xs, useTheme as Fm } from "@emotion/react";
|
|
11
11
|
import * as F from "react";
|
|
12
|
-
import xe, { createContext as nn, useLayoutEffect as kk, useEffect as Oe, useContext as yt, useRef as jn, useInsertionEffect as _k, useCallback as de, useMemo as
|
|
12
|
+
import xe, { createContext as nn, useLayoutEffect as kk, useEffect as Oe, useContext as yt, useRef as jn, useInsertionEffect as _k, useCallback as de, useMemo as Be, forwardRef as Mr, createElement as sA, useId as Fk, useState as ke, Children as Vt, isValidElement as Tn, cloneElement as On, useReducer as Dm, Suspense as lA, Fragment as Dk, memo as Lm } from "react";
|
|
13
13
|
import { Card as Zd, CardHeader as ng, Typography as ue, Divider as Gr, CardContent as Bm, Grid as Te, Box as Ee, Tooltip as Ul, tooltipClasses as Xa, Grow as Lk, Collapse as $m, Fade as cA, Slide as Bk, Zoom as uA, CircularProgress as hi, circularProgressClasses as $k, LinearProgress as Nm, Popover as Vm, styled as fa, IconButton as Il, MenuItem as Wm, useMediaQuery as Pn, Button as vt, Fab as jm, alpha as O1, TextField as dA, useTheme as Qt, Container as Qd, Stack as tt, InputLabel as zm, FormHelperText as fA, ListItemText as zn, Chip as ad, Menu as pA, Alert as Nk, AlertTitle as Vk, List as uo, ListItem as Tl, ListItemButton as Nn, ListItemIcon as qr, Badge as hA, ListItemAvatar as gA, Dialog as xi, TableCell as Ji, TableContainer as Wk, Paper as gi, Table as mA, TableHead as jk, TableRow as dh, TableBody as zk, Stepper as Uk, Step as Hk, StepLabel as Gk, Toolbar as pa, ButtonBase as qk, Drawer as Um, AppBar as Jd, ToggleButton as Yk, Avatar as rg, Popper as ef, ClickAwayListener as sa, useScrollTrigger as Kk, DialogTitle as Xk, DialogContent as Hm, DialogContentText as Zk, DialogActions as Qk, Accordion as Jk, AccordionSummary as e8, AccordionDetails as t8, Pagination as n8, TablePagination as P1, darken as r8, lighten as o8, buttonClasses as i8, Link as a8, StyledEngineProvider as s8, CssBaseline as l8 } from "@mui/material";
|
|
14
14
|
import { HomeOutlined as fh, HomeFilled as ph, ApartmentOutlined as og, AntDesignOutlined as c8, FlagFilled as u8, FlagOutlined as d8, PlusCircleOutlined as vA, CaretUpOutlined as f8, CaretDownOutlined as p8, MenuUnfoldOutlined as h8, MenuFoldOutlined as g8, MessageOutlined as m8, BellOutlined as v8, CheckCircleOutlined as y8, LogoutOutlined as b8, MoreOutlined as x8, UpOutlined as C8, DownOutlined as sd, RightOutlined as Gm, BorderOutlined as w8, MoonOutlined as yA, SunOutlined as bA, ReloadOutlined as A8, CheckSquareFilled as S8, MinusSquareFilled as E8 } from "@ant-design/icons";
|
|
15
15
|
import { useLocation as Hl, Link as tn, useNavigate as qm, Outlet as I8, useParams as T8 } from "react-router-dom";
|
|
@@ -98,7 +98,7 @@ function k_(e, t) {
|
|
|
98
98
|
}
|
|
99
99
|
function __(e) {
|
|
100
100
|
const { initial: t, animate: n } = k_(e, yt(of));
|
|
101
|
-
return
|
|
101
|
+
return Be(() => ({ initial: t, animate: n }), [_1(t), _1(n)]);
|
|
102
102
|
}
|
|
103
103
|
function _1(e) {
|
|
104
104
|
return Array.isArray(e) ? e.join(" ") : e;
|
|
@@ -293,7 +293,7 @@ const Ql = (e) => ({
|
|
|
293
293
|
test: (t) => Zl(t) && t.endsWith(e) && t.split(" ").length === 1,
|
|
294
294
|
parse: parseFloat,
|
|
295
295
|
transform: (t) => `${t}${e}`
|
|
296
|
-
}), ii = Ql("deg"), ao = Ql("%"),
|
|
296
|
+
}), ii = Ql("deg"), ao = Ql("%"), Le = Ql("px"), q_ = Ql("vh"), Y_ = Ql("vw"), D1 = {
|
|
297
297
|
...ao,
|
|
298
298
|
parse: (e) => ao.parse(e) / 100,
|
|
299
299
|
transform: (e) => ao.transform(e * 100)
|
|
@@ -302,38 +302,38 @@ const Ql = (e) => ({
|
|
|
302
302
|
transform: Math.round
|
|
303
303
|
}, KA = {
|
|
304
304
|
// Border props
|
|
305
|
-
borderWidth:
|
|
306
|
-
borderTopWidth:
|
|
307
|
-
borderRightWidth:
|
|
308
|
-
borderBottomWidth:
|
|
309
|
-
borderLeftWidth:
|
|
310
|
-
borderRadius:
|
|
311
|
-
radius:
|
|
312
|
-
borderTopLeftRadius:
|
|
313
|
-
borderTopRightRadius:
|
|
314
|
-
borderBottomRightRadius:
|
|
315
|
-
borderBottomLeftRadius:
|
|
305
|
+
borderWidth: Le,
|
|
306
|
+
borderTopWidth: Le,
|
|
307
|
+
borderRightWidth: Le,
|
|
308
|
+
borderBottomWidth: Le,
|
|
309
|
+
borderLeftWidth: Le,
|
|
310
|
+
borderRadius: Le,
|
|
311
|
+
radius: Le,
|
|
312
|
+
borderTopLeftRadius: Le,
|
|
313
|
+
borderTopRightRadius: Le,
|
|
314
|
+
borderBottomRightRadius: Le,
|
|
315
|
+
borderBottomLeftRadius: Le,
|
|
316
316
|
// Positioning props
|
|
317
|
-
width:
|
|
318
|
-
maxWidth:
|
|
319
|
-
height:
|
|
320
|
-
maxHeight:
|
|
321
|
-
size:
|
|
322
|
-
top:
|
|
323
|
-
right:
|
|
324
|
-
bottom:
|
|
325
|
-
left:
|
|
317
|
+
width: Le,
|
|
318
|
+
maxWidth: Le,
|
|
319
|
+
height: Le,
|
|
320
|
+
maxHeight: Le,
|
|
321
|
+
size: Le,
|
|
322
|
+
top: Le,
|
|
323
|
+
right: Le,
|
|
324
|
+
bottom: Le,
|
|
325
|
+
left: Le,
|
|
326
326
|
// Spacing props
|
|
327
|
-
padding:
|
|
328
|
-
paddingTop:
|
|
329
|
-
paddingRight:
|
|
330
|
-
paddingBottom:
|
|
331
|
-
paddingLeft:
|
|
332
|
-
margin:
|
|
333
|
-
marginTop:
|
|
334
|
-
marginRight:
|
|
335
|
-
marginBottom:
|
|
336
|
-
marginLeft:
|
|
327
|
+
padding: Le,
|
|
328
|
+
paddingTop: Le,
|
|
329
|
+
paddingRight: Le,
|
|
330
|
+
paddingBottom: Le,
|
|
331
|
+
paddingLeft: Le,
|
|
332
|
+
margin: Le,
|
|
333
|
+
marginTop: Le,
|
|
334
|
+
marginRight: Le,
|
|
335
|
+
marginBottom: Le,
|
|
336
|
+
marginLeft: Le,
|
|
337
337
|
// Transform props
|
|
338
338
|
rotate: ii,
|
|
339
339
|
rotateX: ii,
|
|
@@ -346,19 +346,19 @@ const Ql = (e) => ({
|
|
|
346
346
|
skew: ii,
|
|
347
347
|
skewX: ii,
|
|
348
348
|
skewY: ii,
|
|
349
|
-
distance:
|
|
350
|
-
translateX:
|
|
351
|
-
translateY:
|
|
352
|
-
translateZ:
|
|
353
|
-
x:
|
|
354
|
-
y:
|
|
355
|
-
z:
|
|
356
|
-
perspective:
|
|
357
|
-
transformPerspective:
|
|
349
|
+
distance: Le,
|
|
350
|
+
translateX: Le,
|
|
351
|
+
translateY: Le,
|
|
352
|
+
translateZ: Le,
|
|
353
|
+
x: Le,
|
|
354
|
+
y: Le,
|
|
355
|
+
z: Le,
|
|
356
|
+
perspective: Le,
|
|
357
|
+
transformPerspective: Le,
|
|
358
358
|
opacity: gl,
|
|
359
359
|
originX: D1,
|
|
360
360
|
originY: D1,
|
|
361
|
-
originZ:
|
|
361
|
+
originZ: Le,
|
|
362
362
|
// Misc
|
|
363
363
|
zIndex: L1,
|
|
364
364
|
// SVG
|
|
@@ -398,7 +398,7 @@ function XA(e, t, n) {
|
|
|
398
398
|
!Un(t[r]) && !HA(r, n) && (e[r] = t[r]);
|
|
399
399
|
}
|
|
400
400
|
function K_({ transformTemplate: e }, t, n) {
|
|
401
|
-
return
|
|
401
|
+
return Be(() => {
|
|
402
402
|
const r = g0();
|
|
403
403
|
return h0(r, t, { enableHardwareAcceleration: !n }, e), Object.assign({}, r.vars, r.style);
|
|
404
404
|
}, [t]);
|
|
@@ -463,7 +463,7 @@ function eF(e, t, n) {
|
|
|
463
463
|
return r;
|
|
464
464
|
}
|
|
465
465
|
function B1(e, t, n) {
|
|
466
|
-
return typeof e == "string" ? e :
|
|
466
|
+
return typeof e == "string" ? e : Le.transform(t + n * e);
|
|
467
467
|
}
|
|
468
468
|
function tF(e, t, n) {
|
|
469
469
|
const r = B1(t, e.x, e.width), o = B1(n, e.y, e.height);
|
|
@@ -479,8 +479,8 @@ const nF = {
|
|
|
479
479
|
function oF(e, t, n = 1, r = 0, o = !0) {
|
|
480
480
|
e.pathLength = 1;
|
|
481
481
|
const a = o ? nF : rF;
|
|
482
|
-
e[a.offset] =
|
|
483
|
-
const s =
|
|
482
|
+
e[a.offset] = Le.transform(-r);
|
|
483
|
+
const s = Le.transform(t), c = Le.transform(n);
|
|
484
484
|
e[a.array] = `${s} ${c}`;
|
|
485
485
|
}
|
|
486
486
|
function m0(e, {
|
|
@@ -508,7 +508,7 @@ const QA = () => ({
|
|
|
508
508
|
attrs: {}
|
|
509
509
|
}), v0 = (e) => typeof e == "string" && e.toLowerCase() === "svg";
|
|
510
510
|
function iF(e, t, n, r) {
|
|
511
|
-
const o =
|
|
511
|
+
const o = Be(() => {
|
|
512
512
|
const a = QA();
|
|
513
513
|
return m0(a, t, { enableHardwareAcceleration: !1 }, v0(r), e.transformTemplate), {
|
|
514
514
|
...a.attrs,
|
|
@@ -527,7 +527,7 @@ function aF(e = !1) {
|
|
|
527
527
|
...eF(r, typeof n == "string", e),
|
|
528
528
|
...u,
|
|
529
529
|
ref: o
|
|
530
|
-
}, { children: g } = r, m =
|
|
530
|
+
}, { children: g } = r, m = Be(() => Un(g) ? g.get() : g, [g]);
|
|
531
531
|
return sA(n, {
|
|
532
532
|
...p,
|
|
533
533
|
children: m
|
|
@@ -2052,7 +2052,7 @@ function ds(e, t) {
|
|
|
2052
2052
|
const $2 = (e) => (t) => t.test(e), VD = {
|
|
2053
2053
|
test: (e) => e === "auto",
|
|
2054
2054
|
parse: (e) => e
|
|
2055
|
-
}, N2 = [ga,
|
|
2055
|
+
}, N2 = [ga, Le, ao, ii, Y_, q_, VD], nl = (e) => N2.find($2(e)), WD = [...N2, En, vi], jD = (e) => WD.find($2(e));
|
|
2056
2056
|
function zD(e, t, n) {
|
|
2057
2057
|
e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, ds(n));
|
|
2058
2058
|
}
|
|
@@ -2896,7 +2896,7 @@ const rl = {
|
|
|
2896
2896
|
if (!t.target)
|
|
2897
2897
|
return e;
|
|
2898
2898
|
if (typeof e == "string")
|
|
2899
|
-
if (
|
|
2899
|
+
if (Le.test(e))
|
|
2900
2900
|
e = parseFloat(e);
|
|
2901
2901
|
else
|
|
2902
2902
|
return e;
|
|
@@ -2973,7 +2973,7 @@ const _7 = {
|
|
|
2973
2973
|
borderBottomLeftRadius: rl,
|
|
2974
2974
|
borderBottomRightRadius: rl,
|
|
2975
2975
|
boxShadow: M7
|
|
2976
|
-
}, K2 = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], F7 = K2.length, gx = (e) => typeof e == "string" ? parseFloat(e) : e, mx = (e) => typeof e == "number" ||
|
|
2976
|
+
}, K2 = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], F7 = K2.length, gx = (e) => typeof e == "string" ? parseFloat(e) : e, mx = (e) => typeof e == "number" || Le.test(e);
|
|
2977
2977
|
function D7(e, t, n, r, o, a) {
|
|
2978
2978
|
o ? (e.opacity = Lt(
|
|
2979
2979
|
0,
|
|
@@ -3767,7 +3767,7 @@ const yL = /* @__PURE__ */ new Set([
|
|
|
3767
3767
|
"y",
|
|
3768
3768
|
"translateX",
|
|
3769
3769
|
"translateY"
|
|
3770
|
-
]), nS = (e) => yL.has(e), bL = (e) => Object.keys(e).some(nS), Iu = (e) => e === ga || e ===
|
|
3770
|
+
]), nS = (e) => yL.has(e), bL = (e) => Object.keys(e).some(nS), Iu = (e) => e === ga || e === Le, Fx = (e, t) => parseFloat(e.split(", ")[t]), Dx = (e, t) => (n, { transform: r }) => {
|
|
3771
3771
|
if (r === "none" || !r)
|
|
3772
3772
|
return 0;
|
|
3773
3773
|
const o = r.match(/^matrix3d\((.+)\)$/);
|
|
@@ -3831,7 +3831,7 @@ const AL = (e, t, n) => {
|
|
|
3831
3831
|
if (g !== v)
|
|
3832
3832
|
if (Iu(g) && Iu(v)) {
|
|
3833
3833
|
const y = d.get();
|
|
3834
|
-
typeof y == "string" && d.set(parseFloat(y)), typeof m == "string" ? t[u] = parseFloat(m) : Array.isArray(m) && v ===
|
|
3834
|
+
typeof y == "string" && d.set(parseFloat(y)), typeof m == "string" ? t[u] = parseFloat(m) : Array.isArray(m) && v === Le && (t[u] = m.map(parseFloat));
|
|
3835
3835
|
} else g != null && g.transform && (v != null && v.transform) && (p === 0 || m === 0) ? p === 0 ? d.set(v.transform(p)) : t[u] = g.transform(m) : (s || (a = wL(e), s = !0), c.push(u), r[u] = r[u] !== void 0 ? r[u] : t[u], d.jump(m));
|
|
3836
3836
|
}), c.length) {
|
|
3837
3837
|
const u = c.indexOf("height") >= 0 ? window.pageYOffset : null, d = AL(t, e, c);
|
|
@@ -4304,7 +4304,7 @@ function bn(e, t) {
|
|
|
4304
4304
|
return e.palette.primary;
|
|
4305
4305
|
}
|
|
4306
4306
|
}
|
|
4307
|
-
function
|
|
4307
|
+
function Qe(e, t) {
|
|
4308
4308
|
if (e == null) return {};
|
|
4309
4309
|
var n = {};
|
|
4310
4310
|
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
|
|
@@ -5060,7 +5060,7 @@ function _o(e) {
|
|
|
5060
5060
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
5061
5061
|
}
|
|
5062
5062
|
function cS(e) {
|
|
5063
|
-
if (!_o(e))
|
|
5063
|
+
if (/* @__PURE__ */ F.isValidElement(e) || !_o(e))
|
|
5064
5064
|
return e;
|
|
5065
5065
|
const t = {};
|
|
5066
5066
|
return Object.keys(e).forEach((n) => {
|
|
@@ -5072,7 +5072,7 @@ function so(e, t, n = {
|
|
|
5072
5072
|
}) {
|
|
5073
5073
|
const r = n.clone ? G({}, e) : e;
|
|
5074
5074
|
return _o(e) && _o(t) && Object.keys(t).forEach((o) => {
|
|
5075
|
-
_o(t[o]) && // Avoid prototype pollution
|
|
5075
|
+
/* @__PURE__ */ F.isValidElement(t[o]) ? r[o] = t[o] : _o(t[o]) && // Avoid prototype pollution
|
|
5076
5076
|
Object.prototype.hasOwnProperty.call(e, o) && _o(e[o]) ? r[o] = so(e[o], t[o], n) : n.clone ? r[o] = _o(t[o]) ? cS(t[o]) : t[o] : r[o] = t[o];
|
|
5077
5077
|
}), r;
|
|
5078
5078
|
}
|
|
@@ -5107,7 +5107,7 @@ function uS(e) {
|
|
|
5107
5107
|
},
|
|
5108
5108
|
unit: n = "px",
|
|
5109
5109
|
step: r = 5
|
|
5110
|
-
} = e, o =
|
|
5110
|
+
} = e, o = Qe(e, XL), a = ZL(t), s = Object.keys(a);
|
|
5111
5111
|
function c(m) {
|
|
5112
5112
|
return `@media (min-width:${typeof t[m] == "number" ? t[m] : m}${n})`;
|
|
5113
5113
|
}
|
|
@@ -5870,7 +5870,7 @@ function xf(e = {}, ...t) {
|
|
|
5870
5870
|
palette: r = {},
|
|
5871
5871
|
spacing: o,
|
|
5872
5872
|
shape: a = {}
|
|
5873
|
-
} = e, s =
|
|
5873
|
+
} = e, s = Qe(e, zB), c = uS(n), u = uB(o);
|
|
5874
5874
|
let d = so({
|
|
5875
5875
|
breakpoints: c,
|
|
5876
5876
|
direction: "ltr",
|
|
@@ -6492,7 +6492,7 @@ process.env.NODE_ENV !== "production" && (AS.propTypes = {
|
|
|
6492
6492
|
styles: x.oneOfType([x.array, x.string, x.object, x.func])
|
|
6493
6493
|
});
|
|
6494
6494
|
/**
|
|
6495
|
-
* @mui/styled-engine v5.16.
|
|
6495
|
+
* @mui/styled-engine v5.16.8
|
|
6496
6496
|
*
|
|
6497
6497
|
* @license MIT
|
|
6498
6498
|
* This source code is licensed under the MIT license found in the
|
|
@@ -6555,7 +6555,7 @@ const I$ = ["sx"], T$ = (e) => {
|
|
|
6555
6555
|
function TS(e) {
|
|
6556
6556
|
const {
|
|
6557
6557
|
sx: t
|
|
6558
|
-
} = e, n =
|
|
6558
|
+
} = e, n = Qe(e, I$), {
|
|
6559
6559
|
systemProps: r,
|
|
6560
6560
|
otherProps: o
|
|
6561
6561
|
} = T$(n);
|
|
@@ -7053,7 +7053,7 @@ function eN(e) {
|
|
|
7053
7053
|
mode: t = "light",
|
|
7054
7054
|
contrastThreshold: n = 3,
|
|
7055
7055
|
tonalOffset: r = 0.2
|
|
7056
|
-
} = e, o =
|
|
7056
|
+
} = e, o = Qe(e, q$), a = e.primary || Y$(t), s = e.secondary || K$(t), c = e.error || X$(t), u = e.info || Z$(t), d = e.success || Q$(t), p = e.warning || J$(t);
|
|
7057
7057
|
function g(b) {
|
|
7058
7058
|
const w = tC(b, _h.text.primary) >= n ? _h.text.primary : rC.text.primary;
|
|
7059
7059
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -7170,7 +7170,7 @@ function rN(e, t) {
|
|
|
7170
7170
|
// Apply the CSS properties to all the variants.
|
|
7171
7171
|
allVariants: p,
|
|
7172
7172
|
pxToRem: g
|
|
7173
|
-
} = n, m =
|
|
7173
|
+
} = n, m = Qe(n, tN);
|
|
7174
7174
|
process.env.NODE_ENV !== "production" && (typeof o != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof d != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
|
|
7175
7175
|
const v = o / 14, y = g || ((S) => `${S / d * v}rem`), b = (S, P, E, O, I) => G({
|
|
7176
7176
|
fontFamily: r,
|
|
@@ -7262,7 +7262,7 @@ function fN(e) {
|
|
|
7262
7262
|
duration: s = n.standard,
|
|
7263
7263
|
easing: c = t.easeInOut,
|
|
7264
7264
|
delay: u = 0
|
|
7265
|
-
} = a, d =
|
|
7265
|
+
} = a, d = Qe(a, lN);
|
|
7266
7266
|
if (process.env.NODE_ENV !== "production") {
|
|
7267
7267
|
const p = (m) => typeof m == "string", g = (m) => !isNaN(parseFloat(m));
|
|
7268
7268
|
!p(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !g(s) && !p(s) && console.error(`MUI: Argument "duration" must be a number or a string but found ${s}.`), p(c) || console.error('MUI: Argument "easing" must be a string.'), !g(u) && !p(u) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof a != "object" && console.error(["MUI: Secong argument of transition.create must be an object.", "Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
@@ -7291,7 +7291,7 @@ function W0(e = {}, ...t) {
|
|
|
7291
7291
|
palette: r = {},
|
|
7292
7292
|
transitions: o = {},
|
|
7293
7293
|
typography: a = {}
|
|
7294
|
-
} = e, s =
|
|
7294
|
+
} = e, s = Qe(e, hN);
|
|
7295
7295
|
if (e.vars)
|
|
7296
7296
|
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name." : la(18));
|
|
7297
7297
|
const c = eN(r), u = xf(e);
|
|
@@ -7838,7 +7838,7 @@ const UN = ["children", "className", "color", "component", "fontSize", "htmlColo
|
|
|
7838
7838
|
inheritViewBox: p = !1,
|
|
7839
7839
|
titleAccess: g,
|
|
7840
7840
|
viewBox: m = "0 0 24 24"
|
|
7841
|
-
} = r, v =
|
|
7841
|
+
} = r, v = Qe(r, UN), y = /* @__PURE__ */ F.isValidElement(o) && o.type === "svg", b = G({}, r, {
|
|
7842
7842
|
color: s,
|
|
7843
7843
|
component: c,
|
|
7844
7844
|
fontSize: u,
|
|
@@ -8327,7 +8327,7 @@ function ZS(e) {
|
|
|
8327
8327
|
externalSlotProps: r,
|
|
8328
8328
|
ownerState: o,
|
|
8329
8329
|
skipResolvingSlotProps: a = !1
|
|
8330
|
-
} = e, s =
|
|
8330
|
+
} = e, s = Qe(e, EV), c = a ? {} : HS(r, o), {
|
|
8331
8331
|
props: u,
|
|
8332
8332
|
internalRef: d
|
|
8333
8333
|
} = XS(G({}, s, {
|
|
@@ -8346,7 +8346,7 @@ function PV(e, t) {
|
|
|
8346
8346
|
externalForwardedProps: a,
|
|
8347
8347
|
getSlotOwnerState: s,
|
|
8348
8348
|
internalForwardedProps: c
|
|
8349
|
-
} = t, u =
|
|
8349
|
+
} = t, u = Qe(t, IV), {
|
|
8350
8350
|
component: d,
|
|
8351
8351
|
slots: p = {
|
|
8352
8352
|
[e]: void 0
|
|
@@ -8355,7 +8355,7 @@ function PV(e, t) {
|
|
|
8355
8355
|
[e]: void 0
|
|
8356
8356
|
}
|
|
8357
8357
|
} = a;
|
|
8358
|
-
|
|
8358
|
+
Qe(a, TV);
|
|
8359
8359
|
const m = p[e] || r, v = HS(g[e], o), y = XS(G({
|
|
8360
8360
|
className: n
|
|
8361
8361
|
}, u, {
|
|
@@ -8366,7 +8366,7 @@ function PV(e, t) {
|
|
|
8366
8366
|
component: b
|
|
8367
8367
|
},
|
|
8368
8368
|
internalRef: w
|
|
8369
|
-
} = y, S =
|
|
8369
|
+
} = y, S = Qe(y.props, OV), P = Gn(w, v == null ? void 0 : v.ref, t.ref), E = s ? s(S) : {}, O = G({}, o, E), I = b, M = ts(m, G({}, e === "root", !p[e] && c, S, I && {
|
|
8370
8370
|
as: I
|
|
8371
8371
|
}, {
|
|
8372
8372
|
ref: P
|
|
@@ -8499,7 +8499,7 @@ const QS = /* @__PURE__ */ F.forwardRef(function(t, n) {
|
|
|
8499
8499
|
src: m,
|
|
8500
8500
|
srcSet: v,
|
|
8501
8501
|
variant: y = "circular"
|
|
8502
|
-
} = r, b =
|
|
8502
|
+
} = r, b = Qe(r, RV);
|
|
8503
8503
|
let w = null;
|
|
8504
8504
|
const S = LV(G({}, p, {
|
|
8505
8505
|
src: m,
|
|
@@ -8635,7 +8635,7 @@ function zV(e) {
|
|
|
8635
8635
|
function Yu(e, t) {
|
|
8636
8636
|
let {
|
|
8637
8637
|
ownerState: n
|
|
8638
|
-
} = t, r =
|
|
8638
|
+
} = t, r = Qe(t, BV);
|
|
8639
8639
|
const o = typeof e == "function" ? e(G({
|
|
8640
8640
|
ownerState: n
|
|
8641
8641
|
}, r)) : e;
|
|
@@ -8647,7 +8647,7 @@ function Yu(e, t) {
|
|
|
8647
8647
|
const {
|
|
8648
8648
|
variants: a = []
|
|
8649
8649
|
} = o;
|
|
8650
|
-
let c =
|
|
8650
|
+
let c = Qe(o, $V);
|
|
8651
8651
|
return a.forEach((u) => {
|
|
8652
8652
|
let d = !0;
|
|
8653
8653
|
typeof u.props == "function" ? d = u.props(G({
|
|
@@ -8683,7 +8683,7 @@ function UV(e = {}) {
|
|
|
8683
8683
|
// TODO v6: remove `lowercaseFirstLetter()` in the next major release
|
|
8684
8684
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
8685
8685
|
overridesResolver: m = zV(bC(d))
|
|
8686
|
-
} = c, v =
|
|
8686
|
+
} = c, v = Qe(c, NV), y = p !== void 0 ? p : (
|
|
8687
8687
|
// TODO v6: remove `Root` in the next major release
|
|
8688
8688
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
8689
8689
|
d && d !== "Root" && d !== "root" || !1
|
|
@@ -8846,7 +8846,7 @@ const KV = ["value"], nE = /* @__PURE__ */ F.createContext();
|
|
|
8846
8846
|
function rE(e) {
|
|
8847
8847
|
let {
|
|
8848
8848
|
value: t
|
|
8849
|
-
} = e, n =
|
|
8849
|
+
} = e, n = Qe(e, KV);
|
|
8850
8850
|
return /* @__PURE__ */ h(nE.Provider, G({
|
|
8851
8851
|
value: t ?? !0
|
|
8852
8852
|
}, n));
|
|
@@ -8947,7 +8947,7 @@ const QV = ["theme"];
|
|
|
8947
8947
|
function iE(e) {
|
|
8948
8948
|
let {
|
|
8949
8949
|
theme: t
|
|
8950
|
-
} = e, n =
|
|
8950
|
+
} = e, n = Qe(e, QV);
|
|
8951
8951
|
const r = t[Fl];
|
|
8952
8952
|
return /* @__PURE__ */ h(wd, G({}, n, {
|
|
8953
8953
|
themeId: r ? Fl : void 0,
|
|
@@ -9199,7 +9199,7 @@ const rW = ["align", "className", "component", "gutterBottom", "noWrap", "paragr
|
|
|
9199
9199
|
paragraph: g = !1,
|
|
9200
9200
|
variant: m = "body1",
|
|
9201
9201
|
variantMapping: v = AC
|
|
9202
|
-
} = a, y =
|
|
9202
|
+
} = a, y = Qe(a, rW), b = G({}, a, {
|
|
9203
9203
|
align: s,
|
|
9204
9204
|
color: o,
|
|
9205
9205
|
className: c,
|
|
@@ -9445,7 +9445,7 @@ var uW = function(t) {
|
|
|
9445
9445
|
return null;
|
|
9446
9446
|
var a = this.props, s = a.children;
|
|
9447
9447
|
a.in, a.mountOnEnter, a.unmountOnExit, a.appear, a.enter, a.exit, a.timeout, a.addEndListener, a.onEnter, a.onEntering, a.onEntered, a.onExit, a.onExiting, a.onExited, a.nodeRef;
|
|
9448
|
-
var c =
|
|
9448
|
+
var c = Qe(a, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
|
|
9449
9449
|
return (
|
|
9450
9450
|
// allows for nested Transitions
|
|
9451
9451
|
/* @__PURE__ */ xe.createElement(Ad.Provider, {
|
|
@@ -9763,7 +9763,7 @@ var gW = Object.values || function(e) {
|
|
|
9763
9763
|
};
|
|
9764
9764
|
}));
|
|
9765
9765
|
}, n.render = function() {
|
|
9766
|
-
var o = this.props, a = o.component, s = o.childFactory, c =
|
|
9766
|
+
var o = this.props, a = o.component, s = o.childFactory, c = Qe(o, ["component", "childFactory"]), u = this.state.contextValue, d = gW(this.state.children).map(s);
|
|
9767
9767
|
return delete c.appear, delete c.enter, delete c.exit, a === null ? /* @__PURE__ */ xe.createElement(Ad.Provider, {
|
|
9768
9768
|
value: u
|
|
9769
9769
|
}, d) : /* @__PURE__ */ xe.createElement(Ad.Provider, {
|
|
@@ -9999,7 +9999,7 @@ const Mg = 550, yW = 80, bW = xs(EC || (EC = Tf`
|
|
|
9999
9999
|
center: o = !1,
|
|
10000
10000
|
classes: a = {},
|
|
10001
10001
|
className: s
|
|
10002
|
-
} = r, c =
|
|
10002
|
+
} = r, c = Qe(r, vW), [u, d] = F.useState([]), p = F.useRef(0), g = F.useRef(null);
|
|
10003
10003
|
F.useEffect(() => {
|
|
10004
10004
|
g.current && (g.current(), g.current = null);
|
|
10005
10005
|
}, [u]);
|
|
@@ -10210,7 +10210,7 @@ const EW = Br("MuiButtonBase", ["root", "disabled", "focusVisible"]), IW = ["act
|
|
|
10210
10210
|
TouchRippleProps: ne,
|
|
10211
10211
|
touchRippleRef: K,
|
|
10212
10212
|
type: Y
|
|
10213
|
-
} = r, V =
|
|
10213
|
+
} = r, V = Qe(r, IW), J = F.useRef(null), B = F.useRef(null), Q = Gn(B, K), {
|
|
10214
10214
|
isFocusVisibleRef: L,
|
|
10215
10215
|
onFocus: H,
|
|
10216
10216
|
onBlur: ae,
|
|
@@ -10491,7 +10491,7 @@ function cE(e) {
|
|
|
10491
10491
|
const {
|
|
10492
10492
|
slots: t = {},
|
|
10493
10493
|
slotProps: n = {}
|
|
10494
|
-
} = e, r =
|
|
10494
|
+
} = e, r = Qe(e, PW), o = e;
|
|
10495
10495
|
return /* @__PURE__ */ h("li", {
|
|
10496
10496
|
children: /* @__PURE__ */ h(RW, G({
|
|
10497
10497
|
focusRipple: !0
|
|
@@ -10588,7 +10588,7 @@ const Ku = /* @__PURE__ */ F.forwardRef(function(t, n) {
|
|
|
10588
10588
|
itemsBeforeCollapse: g = 1,
|
|
10589
10589
|
maxItems: m = 8,
|
|
10590
10590
|
separator: v = "/"
|
|
10591
|
-
} = r, y =
|
|
10591
|
+
} = r, y = Qe(r, FW), [b, w] = F.useState(!1), S = G({}, r, {
|
|
10592
10592
|
component: s,
|
|
10593
10593
|
expanded: b,
|
|
10594
10594
|
expandText: d,
|
|
@@ -11051,7 +11051,7 @@ const zW = Br("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar
|
|
|
11051
11051
|
disabled: u = !1,
|
|
11052
11052
|
disableFocusRipple: d = !1,
|
|
11053
11053
|
size: p = "medium"
|
|
11054
|
-
} = r, g =
|
|
11054
|
+
} = r, g = Qe(r, UW), m = G({}, r, {
|
|
11055
11055
|
edge: o,
|
|
11056
11056
|
color: c,
|
|
11057
11057
|
disabled: u,
|
|
@@ -11343,7 +11343,7 @@ function aj(e) {
|
|
|
11343
11343
|
externalSlotProps: r,
|
|
11344
11344
|
ownerState: o,
|
|
11345
11345
|
skipResolvingSlotProps: a = !1
|
|
11346
|
-
} = e, s =
|
|
11346
|
+
} = e, s = Qe(e, ij), c = a ? {} : rj(r, o), {
|
|
11347
11347
|
props: u,
|
|
11348
11348
|
internalRef: d
|
|
11349
11349
|
} = oj(G({}, s, {
|
|
@@ -12360,7 +12360,7 @@ const yz = () => Fr({
|
|
|
12360
12360
|
TransitionProps: b
|
|
12361
12361
|
// @ts-ignore internal logic
|
|
12362
12362
|
// prevent from spreading to DOM, it can come from the parent component e.g. Select.
|
|
12363
|
-
} = t, w =
|
|
12363
|
+
} = t, w = Qe(t, hz), S = F.useRef(null), P = Gn(S, n), E = F.useRef(null), O = Gn(E, m), I = F.useRef(O);
|
|
12364
12364
|
fo(() => {
|
|
12365
12365
|
I.current = O;
|
|
12366
12366
|
}, [O]), F.useImperativeHandle(m, () => E.current, []);
|
|
@@ -12445,7 +12445,7 @@ const yz = () => Fr({
|
|
|
12445
12445
|
transition: b = !1,
|
|
12446
12446
|
slotProps: w = {},
|
|
12447
12447
|
slots: S = {}
|
|
12448
|
-
} = t, P =
|
|
12448
|
+
} = t, P = Qe(t, gz), [E, O] = F.useState(!0), I = () => {
|
|
12449
12449
|
O(!1);
|
|
12450
12450
|
}, M = () => {
|
|
12451
12451
|
O(!0);
|
|
@@ -12831,7 +12831,7 @@ const wz = ["children", "color", "component", "className", "disabled", "disableE
|
|
|
12831
12831
|
startIcon: P,
|
|
12832
12832
|
type: E,
|
|
12833
12833
|
variant: O = "text"
|
|
12834
|
-
} = s, I =
|
|
12834
|
+
} = s, I = Qe(s, wz), M = G({}, s, {
|
|
12835
12835
|
color: u,
|
|
12836
12836
|
component: d,
|
|
12837
12837
|
disabled: g,
|
|
@@ -13066,7 +13066,7 @@ const ti = 44, Pz = xs(NC || (NC = Mf`
|
|
|
13066
13066
|
thickness: d = 3.6,
|
|
13067
13067
|
value: p = 0,
|
|
13068
13068
|
variant: g = "indeterminate"
|
|
13069
|
-
} = r, m =
|
|
13069
|
+
} = r, m = Qe(r, Oz), v = G({}, r, {
|
|
13070
13070
|
color: a,
|
|
13071
13071
|
disableShrink: s,
|
|
13072
13072
|
size: c,
|
|
@@ -13267,7 +13267,7 @@ const Ro = Br("MuiLoadingButton", ["root", "loading", "loadingIndicator", "loadi
|
|
|
13267
13267
|
loadingIndicator: u,
|
|
13268
13268
|
loadingPosition: d = "center",
|
|
13269
13269
|
variant: p = "text"
|
|
13270
|
-
} = r, g =
|
|
13270
|
+
} = r, g = Qe(r, Lz), m = H0(s), v = u ?? /* @__PURE__ */ h(kf, {
|
|
13271
13271
|
"aria-labelledby": m,
|
|
13272
13272
|
color: "inherit",
|
|
13273
13273
|
size: 16
|
|
@@ -16514,7 +16514,7 @@ const FJ = {
|
|
|
16514
16514
|
timeout: b = "auto",
|
|
16515
16515
|
// eslint-disable-next-line react/prop-types
|
|
16516
16516
|
TransitionComponent: w = Uo
|
|
16517
|
-
} = t, S =
|
|
16517
|
+
} = t, S = Qe(t, _J), P = ns(), E = F.useRef(), O = jt(), I = F.useRef(null), M = Gn(I, a.ref, n), k = (Y) => (V) => {
|
|
16518
16518
|
if (Y) {
|
|
16519
16519
|
const J = I.current;
|
|
16520
16520
|
V === void 0 ? Y(J) : Y(J, V);
|
|
@@ -16730,7 +16730,7 @@ const zJ = () => Fr({
|
|
|
16730
16730
|
TransitionProps: b
|
|
16731
16731
|
// @ts-ignore internal logic
|
|
16732
16732
|
// prevent from spreading to DOM, it can come from the parent component e.g. Select.
|
|
16733
|
-
} = t, w =
|
|
16733
|
+
} = t, w = Qe(t, NJ), S = F.useRef(null), P = Gn(S, n), E = F.useRef(null), O = Gn(E, m), I = F.useRef(O);
|
|
16734
16734
|
fo(() => {
|
|
16735
16735
|
I.current = O;
|
|
16736
16736
|
}, [O]), F.useImperativeHandle(m, () => E.current, []);
|
|
@@ -16815,7 +16815,7 @@ const zJ = () => Fr({
|
|
|
16815
16815
|
transition: b = !1,
|
|
16816
16816
|
slotProps: w = {},
|
|
16817
16817
|
slots: S = {}
|
|
16818
|
-
} = t, P =
|
|
16818
|
+
} = t, P = Qe(t, VJ), [E, O] = F.useState(!0), I = () => {
|
|
16819
16819
|
O(!1);
|
|
16820
16820
|
}, M = () => {
|
|
16821
16821
|
O(!0);
|
|
@@ -17041,7 +17041,7 @@ const ZJ = ["anchorEl", "component", "components", "componentsProps", "container
|
|
|
17041
17041
|
transition: P,
|
|
17042
17042
|
slots: E,
|
|
17043
17043
|
slotProps: O
|
|
17044
|
-
} = a, I =
|
|
17044
|
+
} = a, I = Qe(a, ZJ), M = (r = E == null ? void 0 : E.root) != null ? r : u == null ? void 0 : u.Root, k = G({
|
|
17045
17045
|
anchorEl: s,
|
|
17046
17046
|
container: p,
|
|
17047
17047
|
disablePortal: g,
|
|
@@ -17405,7 +17405,7 @@ const xI = /* @__PURE__ */ F.forwardRef(function(t, n) {
|
|
|
17405
17405
|
title: Pe,
|
|
17406
17406
|
TransitionComponent: le = Ld,
|
|
17407
17407
|
TransitionProps: ot
|
|
17408
|
-
} = M, he =
|
|
17408
|
+
} = M, he = Qe(M, eee), nt = /* @__PURE__ */ F.isValidElement($) ? $ : /* @__PURE__ */ h("span", {
|
|
17409
17409
|
children: $
|
|
17410
17410
|
}), dn = jt(), kt = XV(), [At, Kn] = F.useState(), [_t, St] = F.useState(null), rn = F.useRef(!1), Et = K || Q, Yt = ns(), Ft = ns(), $e = ns(), Ne = ns(), [Re, ye] = qS({
|
|
17411
17411
|
controlled: pe,
|
|
@@ -18705,7 +18705,7 @@ $d.exports;
|
|
|
18705
18705
|
}
|
|
18706
18706
|
}(), I3 = ee.clearTimeout !== ln.clearTimeout && ee.clearTimeout, T3 = we && we.now !== ln.Date.now && we.now, O3 = ee.setTimeout !== ln.setTimeout && ee.setTimeout, Yc = Jt.ceil, Kc = Jt.floor, vp = bt.getOwnPropertySymbols, P3 = zc ? zc.isBuffer : n, zy = ee.isFinite, R3 = Nc.join, M3 = Ly(bt.keys, bt), en = Jt.max, pn = Jt.min, k3 = we.now, _3 = ee.parseInt, Uy = Jt.random, F3 = Nc.reverse, yp = Ni(ee, "DataView"), Ws = Ni(ee, "Map"), bp = Ni(ee, "Promise"), Ta = Ni(ee, "Set"), js = Ni(ee, "WeakMap"), zs = Ni(bt, "create"), Xc = js && new js(), Oa = {}, D3 = Vi(yp), L3 = Vi(Ws), B3 = Vi(bp), $3 = Vi(Ta), N3 = Vi(js), Zc = Yo ? Yo.prototype : n, Us = Zc ? Zc.valueOf : n, Hy = Zc ? Zc.toString : n;
|
|
18707
18707
|
function T(i) {
|
|
18708
|
-
if (Bt(i) && !ze(i) && !(i instanceof
|
|
18708
|
+
if (Bt(i) && !ze(i) && !(i instanceof Je)) {
|
|
18709
18709
|
if (i instanceof gr)
|
|
18710
18710
|
return i;
|
|
18711
18711
|
if (mt.call(i, "__wrapped__"))
|
|
@@ -18776,16 +18776,16 @@ $d.exports;
|
|
|
18776
18776
|
_: T
|
|
18777
18777
|
}
|
|
18778
18778
|
}, T.prototype = Qc.prototype, T.prototype.constructor = T, gr.prototype = Pa(Qc.prototype), gr.prototype.constructor = gr;
|
|
18779
|
-
function
|
|
18779
|
+
function Je(i) {
|
|
18780
18780
|
this.__wrapped__ = i, this.__actions__ = [], this.__dir__ = 1, this.__filtered__ = !1, this.__iteratees__ = [], this.__takeCount__ = H, this.__views__ = [];
|
|
18781
18781
|
}
|
|
18782
18782
|
function V3() {
|
|
18783
|
-
var i = new
|
|
18783
|
+
var i = new Je(this.__wrapped__);
|
|
18784
18784
|
return i.__actions__ = Mn(this.__actions__), i.__dir__ = this.__dir__, i.__filtered__ = this.__filtered__, i.__iteratees__ = Mn(this.__iteratees__), i.__takeCount__ = this.__takeCount__, i.__views__ = Mn(this.__views__), i;
|
|
18785
18785
|
}
|
|
18786
18786
|
function W3() {
|
|
18787
18787
|
if (this.__filtered__) {
|
|
18788
|
-
var i = new
|
|
18788
|
+
var i = new Je(this);
|
|
18789
18789
|
i.__dir__ = -1, i.__filtered__ = !0;
|
|
18790
18790
|
} else
|
|
18791
18791
|
i = this.clone(), i.__dir__ *= -1;
|
|
@@ -18813,7 +18813,7 @@ $d.exports;
|
|
|
18813
18813
|
}
|
|
18814
18814
|
return Fe;
|
|
18815
18815
|
}
|
|
18816
|
-
|
|
18816
|
+
Je.prototype = Pa(Qc.prototype), Je.prototype.constructor = Je;
|
|
18817
18817
|
function Di(i) {
|
|
18818
18818
|
var l = -1, f = i == null ? 0 : i.length;
|
|
18819
18819
|
for (this.clear(); ++l < f; ) {
|
|
@@ -19532,7 +19532,7 @@ $d.exports;
|
|
|
19532
19532
|
}
|
|
19533
19533
|
function gb(i, l) {
|
|
19534
19534
|
var f = i;
|
|
19535
|
-
return f instanceof
|
|
19535
|
+
return f instanceof Je && (f = f.value()), lp(l, function(C, A) {
|
|
19536
19536
|
return A.func.apply(A.thisArg, Go([C], A.args));
|
|
19537
19537
|
}, f);
|
|
19538
19538
|
}
|
|
@@ -20241,7 +20241,7 @@ $d.exports;
|
|
|
20241
20241
|
}
|
|
20242
20242
|
function Gp(i) {
|
|
20243
20243
|
var l = uu(i), f = T[l];
|
|
20244
|
-
if (typeof f != "function" || !(l in
|
|
20244
|
+
if (typeof f != "function" || !(l in Je.prototype))
|
|
20245
20245
|
return !1;
|
|
20246
20246
|
if (i === f)
|
|
20247
20247
|
return !0;
|
|
@@ -20375,7 +20375,7 @@ $d.exports;
|
|
|
20375
20375
|
}), i.sort();
|
|
20376
20376
|
}
|
|
20377
20377
|
function Gb(i) {
|
|
20378
|
-
if (i instanceof
|
|
20378
|
+
if (i instanceof Je)
|
|
20379
20379
|
return i.clone();
|
|
20380
20380
|
var l = new gr(i.__wrapped__, i.__chain__);
|
|
20381
20381
|
return l.__actions__ = Mn(i.__actions__), l.__index__ = i.__index__, l.__values__ = i.__values__, l;
|
|
@@ -20664,7 +20664,7 @@ $d.exports;
|
|
|
20664
20664
|
var l = i.length, f = l ? i[0] : 0, C = this.__wrapped__, A = function(R) {
|
|
20665
20665
|
return Cp(R, i);
|
|
20666
20666
|
};
|
|
20667
|
-
return l > 1 || this.__actions__.length || !(C instanceof
|
|
20667
|
+
return l > 1 || this.__actions__.length || !(C instanceof Je) || !Eo(f) ? this.thru(A) : (C = C.slice(f, +f + (l ? 1 : 0)), C.__actions__.push({
|
|
20668
20668
|
func: pu,
|
|
20669
20669
|
args: [A],
|
|
20670
20670
|
thisArg: n
|
|
@@ -20697,9 +20697,9 @@ $d.exports;
|
|
|
20697
20697
|
}
|
|
20698
20698
|
function AR() {
|
|
20699
20699
|
var i = this.__wrapped__;
|
|
20700
|
-
if (i instanceof
|
|
20700
|
+
if (i instanceof Je) {
|
|
20701
20701
|
var l = i;
|
|
20702
|
-
return this.__actions__.length && (l = new
|
|
20702
|
+
return this.__actions__.length && (l = new Je(this)), l = l.reverse(), l.__actions__.push({
|
|
20703
20703
|
func: pu,
|
|
20704
20704
|
args: [Kp],
|
|
20705
20705
|
thisArg: n
|
|
@@ -21716,19 +21716,19 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
21716
21716
|
}(), { chain: !1 }), T.VERSION = r, pr(["bind", "bindKey", "curry", "curryRight", "partial", "partialRight"], function(i) {
|
|
21717
21717
|
T[i].placeholder = T;
|
|
21718
21718
|
}), pr(["drop", "take"], function(i, l) {
|
|
21719
|
-
|
|
21719
|
+
Je.prototype[i] = function(f) {
|
|
21720
21720
|
f = f === n ? 1 : en(Ge(f), 0);
|
|
21721
|
-
var C = this.__filtered__ && !l ? new
|
|
21721
|
+
var C = this.__filtered__ && !l ? new Je(this) : this.clone();
|
|
21722
21722
|
return C.__filtered__ ? C.__takeCount__ = pn(f, C.__takeCount__) : C.__views__.push({
|
|
21723
21723
|
size: pn(f, H),
|
|
21724
21724
|
type: i + (C.__dir__ < 0 ? "Right" : "")
|
|
21725
21725
|
}), C;
|
|
21726
|
-
},
|
|
21726
|
+
}, Je.prototype[i + "Right"] = function(f) {
|
|
21727
21727
|
return this.reverse()[i](f).reverse();
|
|
21728
21728
|
};
|
|
21729
21729
|
}), pr(["filter", "map", "takeWhile"], function(i, l) {
|
|
21730
21730
|
var f = l + 1, C = f == K || f == V;
|
|
21731
|
-
|
|
21731
|
+
Je.prototype[i] = function(A) {
|
|
21732
21732
|
var R = this.clone();
|
|
21733
21733
|
return R.__iteratees__.push({
|
|
21734
21734
|
iteratee: _e(A, 3),
|
|
@@ -21737,45 +21737,45 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
21737
21737
|
};
|
|
21738
21738
|
}), pr(["head", "last"], function(i, l) {
|
|
21739
21739
|
var f = "take" + (l ? "Right" : "");
|
|
21740
|
-
|
|
21740
|
+
Je.prototype[i] = function() {
|
|
21741
21741
|
return this[f](1).value()[0];
|
|
21742
21742
|
};
|
|
21743
21743
|
}), pr(["initial", "tail"], function(i, l) {
|
|
21744
21744
|
var f = "drop" + (l ? "" : "Right");
|
|
21745
|
-
|
|
21746
|
-
return this.__filtered__ ? new
|
|
21745
|
+
Je.prototype[i] = function() {
|
|
21746
|
+
return this.__filtered__ ? new Je(this) : this[f](1);
|
|
21747
21747
|
};
|
|
21748
|
-
}),
|
|
21748
|
+
}), Je.prototype.compact = function() {
|
|
21749
21749
|
return this.filter(Fn);
|
|
21750
|
-
},
|
|
21750
|
+
}, Je.prototype.find = function(i) {
|
|
21751
21751
|
return this.filter(i).head();
|
|
21752
|
-
},
|
|
21752
|
+
}, Je.prototype.findLast = function(i) {
|
|
21753
21753
|
return this.reverse().find(i);
|
|
21754
|
-
},
|
|
21755
|
-
return typeof i == "function" ? new
|
|
21754
|
+
}, Je.prototype.invokeMap = Ye(function(i, l) {
|
|
21755
|
+
return typeof i == "function" ? new Je(this) : this.map(function(f) {
|
|
21756
21756
|
return qs(f, i, l);
|
|
21757
21757
|
});
|
|
21758
|
-
}),
|
|
21758
|
+
}), Je.prototype.reject = function(i) {
|
|
21759
21759
|
return this.filter(vu(_e(i)));
|
|
21760
|
-
},
|
|
21760
|
+
}, Je.prototype.slice = function(i, l) {
|
|
21761
21761
|
i = Ge(i);
|
|
21762
21762
|
var f = this;
|
|
21763
|
-
return f.__filtered__ && (i > 0 || l < 0) ? new
|
|
21764
|
-
},
|
|
21763
|
+
return f.__filtered__ && (i > 0 || l < 0) ? new Je(f) : (i < 0 ? f = f.takeRight(-i) : i && (f = f.drop(i)), l !== n && (l = Ge(l), f = l < 0 ? f.dropRight(-l) : f.take(l - i)), f);
|
|
21764
|
+
}, Je.prototype.takeRightWhile = function(i) {
|
|
21765
21765
|
return this.reverse().takeWhile(i).reverse();
|
|
21766
|
-
},
|
|
21766
|
+
}, Je.prototype.toArray = function() {
|
|
21767
21767
|
return this.take(H);
|
|
21768
|
-
}, Qr(
|
|
21768
|
+
}, Qr(Je.prototype, function(i, l) {
|
|
21769
21769
|
var f = /^(?:filter|find|map|reject)|While$/.test(l), C = /^(?:head|last)$/.test(l), A = T[C ? "take" + (l == "last" ? "Right" : "") : l], R = C || /^find/.test(l);
|
|
21770
21770
|
A && (T.prototype[l] = function() {
|
|
21771
|
-
var _ = this.__wrapped__, D = C ? [1] : arguments, j = _ instanceof
|
|
21771
|
+
var _ = this.__wrapped__, D = C ? [1] : arguments, j = _ instanceof Je, te = D[0], re = j || ze(_), ie = function(Xe) {
|
|
21772
21772
|
var et = A.apply(T, Go([Xe], D));
|
|
21773
21773
|
return C && me ? et[0] : et;
|
|
21774
21774
|
};
|
|
21775
21775
|
re && f && typeof te == "function" && te.length != 1 && (j = re = !1);
|
|
21776
21776
|
var me = this.__chain__, Ie = !!this.__actions__.length, Fe = R && !me, qe = j && !Ie;
|
|
21777
21777
|
if (!R && re) {
|
|
21778
|
-
_ = qe ? _ : new
|
|
21778
|
+
_ = qe ? _ : new Je(this);
|
|
21779
21779
|
var De = i.apply(_, D);
|
|
21780
21780
|
return De.__actions__.push({ func: pu, args: [ie], thisArg: n }), new gr(De, me);
|
|
21781
21781
|
}
|
|
@@ -21793,7 +21793,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
21793
21793
|
return l.apply(ze(_) ? _ : [], A);
|
|
21794
21794
|
});
|
|
21795
21795
|
};
|
|
21796
|
-
}), Qr(
|
|
21796
|
+
}), Qr(Je.prototype, function(i, l) {
|
|
21797
21797
|
var f = T[l];
|
|
21798
21798
|
if (f) {
|
|
21799
21799
|
var C = f.name + "";
|
|
@@ -21802,13 +21802,13 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
21802
21802
|
}), Oa[au(n, S).name] = [{
|
|
21803
21803
|
name: "wrapper",
|
|
21804
21804
|
func: n
|
|
21805
|
-
}],
|
|
21805
|
+
}], Je.prototype.clone = V3, Je.prototype.reverse = W3, Je.prototype.value = j3, T.prototype.at = vR, T.prototype.chain = yR, T.prototype.commit = bR, T.prototype.next = xR, T.prototype.plant = wR, T.prototype.reverse = AR, T.prototype.toJSON = T.prototype.valueOf = T.prototype.value = SR, T.prototype.first = T.prototype.head, Vs && (T.prototype[Vs] = CR), T;
|
|
21806
21806
|
}, Ea = b3();
|
|
21807
21807
|
_i ? ((_i.exports = Ea)._ = Ea, ip._ = Ea) : ln._ = Ea;
|
|
21808
21808
|
}).call(In);
|
|
21809
21809
|
})($d, $d.exports);
|
|
21810
|
-
var
|
|
21811
|
-
const X = /* @__PURE__ */ mo(
|
|
21810
|
+
var Ze = $d.exports;
|
|
21811
|
+
const X = /* @__PURE__ */ mo(Ze), Ite = ["e-", "entities/"];
|
|
21812
21812
|
function Tte(e) {
|
|
21813
21813
|
let t = e;
|
|
21814
21814
|
return Ite.forEach((n) => {
|
|
@@ -21956,12 +21956,12 @@ function Dv() {
|
|
|
21956
21956
|
return yt(DI);
|
|
21957
21957
|
}
|
|
21958
21958
|
function LI() {
|
|
21959
|
-
const e = q8(), { isLoading: t, data: n } = tf(), r = !!n && !!n.id, { permissions: o } = Y8(r), { menu: a } = Dv(), s = Ue(), c =
|
|
21959
|
+
const e = q8(), { isLoading: t, data: n } = tf(), r = !!n && !!n.id, { permissions: o } = Y8(r), { menu: a } = Dv(), s = Ue(), c = Be(() => {
|
|
21960
21960
|
if (t || !n)
|
|
21961
21961
|
return null;
|
|
21962
21962
|
const p = ((n == null ? void 0 : n.roles) || []).map((m) => m.id);
|
|
21963
21963
|
return Rte(a, e, o, s, p);
|
|
21964
|
-
}, [t, n, e, o, s, a]), u =
|
|
21964
|
+
}, [t, n, e, o, s, a]), u = Be(() => t, [t]);
|
|
21965
21965
|
function d(p) {
|
|
21966
21966
|
if (c)
|
|
21967
21967
|
return qg(c, p);
|
|
@@ -21976,7 +21976,7 @@ function LI() {
|
|
|
21976
21976
|
}
|
|
21977
21977
|
function kte() {
|
|
21978
21978
|
const e = Ue(), { isLoading: t, menu: n, findInMenu: r } = LI(), { pathname: o } = ql();
|
|
21979
|
-
return
|
|
21979
|
+
return Be(() => {
|
|
21980
21980
|
var m;
|
|
21981
21981
|
const a = o.split("/").filter((v) => v), s = X.cloneDeep(n);
|
|
21982
21982
|
let c = o, u = r(s, o);
|
|
@@ -24056,7 +24056,7 @@ function Rue(e, t) {
|
|
|
24056
24056
|
}
|
|
24057
24057
|
function nT(e) {
|
|
24058
24058
|
const t = an(), n = _r(), r = go(), o = t != null && t.id ? "edit" : "create";
|
|
24059
|
-
return
|
|
24059
|
+
return Be(() => {
|
|
24060
24060
|
if (e === !1)
|
|
24061
24061
|
return;
|
|
24062
24062
|
const s = `resources.${r}.title`;
|
|
@@ -24215,7 +24215,7 @@ function Nne({
|
|
|
24215
24215
|
xs: d = 12,
|
|
24216
24216
|
...p
|
|
24217
24217
|
}) {
|
|
24218
|
-
const g = _r(), m = go(), { cardTitle: v, cardSubheader: y } =
|
|
24218
|
+
const g = _r(), m = go(), { cardTitle: v, cardSubheader: y } = Be(() => {
|
|
24219
24219
|
const b = n || `resources.${m}.title`;
|
|
24220
24220
|
return {
|
|
24221
24221
|
cardTitle: g(b, { _: b }),
|
|
@@ -24452,16 +24452,16 @@ const zw = se("div", { overridesResolver: (e, t) => t.root })({ display: "inline
|
|
|
24452
24452
|
});
|
|
24453
24453
|
function Gne(e) {
|
|
24454
24454
|
var p;
|
|
24455
|
-
const { className: t, emptyText: n, source: r, title: o, ...a } = e, s = Cs(e), c =
|
|
24455
|
+
const { className: t, emptyText: n, source: r, title: o, ...a } = e, s = Cs(e), c = Ze.get(s, r), u = Ue();
|
|
24456
24456
|
if (!c)
|
|
24457
24457
|
return n ? /* @__PURE__ */ h(ue, { component: "span", variant: "body2", className: t, ...a, children: n ? u(n, { _: n }) : null }) : /* @__PURE__ */ h(zw, { className: t, ...a });
|
|
24458
24458
|
if (Array.isArray(c))
|
|
24459
24459
|
return /* @__PURE__ */ h(Hne, { className: t, ...a, children: c.map((g, m) => {
|
|
24460
24460
|
var y;
|
|
24461
|
-
const v = o instanceof String ? (y =
|
|
24461
|
+
const v = o instanceof String ? (y = Ze.get(g, o)) == null ? void 0 : y.toString() : o;
|
|
24462
24462
|
return /* @__PURE__ */ h("li", { children: v }, m);
|
|
24463
24463
|
}) });
|
|
24464
|
-
const d = o instanceof String ? (p =
|
|
24464
|
+
const d = o instanceof String ? (p = Ze.get(s, o)) == null ? void 0 : p.toString() : o;
|
|
24465
24465
|
return /* @__PURE__ */ h(zw, { className: t, ...a, children: d });
|
|
24466
24466
|
}
|
|
24467
24467
|
function qne({
|
|
@@ -24476,17 +24476,17 @@ function qne({
|
|
|
24476
24476
|
const [c, u] = ke(null), d = an(s), p = e0(), g = go(), m = nf(), v = de(
|
|
24477
24477
|
async (w) => {
|
|
24478
24478
|
w.preventDefault(), w.stopPropagation(), m("ra.notification.download", { type: "info" });
|
|
24479
|
-
const S =
|
|
24479
|
+
const S = Ze.get(d, s == null ? void 0 : s.source), P = (a || g).replace("entities/", ""), E = e || (d == null ? void 0 : d.id), O = await p.getFile(
|
|
24480
24480
|
`/attachments/${P}/${E}/${t || (s == null ? void 0 : s.source)}/${(S == null ? void 0 : S.id) || (d == null ? void 0 : d.id)}`
|
|
24481
24481
|
), I = document.createElement("a");
|
|
24482
|
-
I.href = O, I.download =
|
|
24482
|
+
I.href = O, I.download = Ze.get(d, (s == null ? void 0 : s.title) || (s == null ? void 0 : s.source)), I.click();
|
|
24483
24483
|
},
|
|
24484
24484
|
[p, d, e, g, a, t, s == null ? void 0 : s.source, s == null ? void 0 : s.title, m]
|
|
24485
|
-
), y =
|
|
24485
|
+
), y = Be(
|
|
24486
24486
|
() => ({
|
|
24487
24487
|
...d,
|
|
24488
|
-
[s == null ? void 0 : s.source]: (d == null ? void 0 : d.src) ||
|
|
24489
|
-
[s == null ? void 0 : s.title]: (d == null ? void 0 : d.title) ||
|
|
24488
|
+
[s == null ? void 0 : s.source]: (d == null ? void 0 : d.src) || Ze.get(d, s == null ? void 0 : s.source),
|
|
24489
|
+
[s == null ? void 0 : s.title]: (d == null ? void 0 : d.title) || Ze.get(d, (s == null ? void 0 : s.title) || (s == null ? void 0 : s.source))
|
|
24490
24490
|
}),
|
|
24491
24491
|
[d, s == null ? void 0 : s.source, s == null ? void 0 : s.title]
|
|
24492
24492
|
), b = _r();
|
|
@@ -24500,9 +24500,9 @@ function qne({
|
|
|
24500
24500
|
record: y,
|
|
24501
24501
|
onClick: v,
|
|
24502
24502
|
title: /* @__PURE__ */ U(Ee, { sx: { cursor: "pointer" }, children: [
|
|
24503
|
-
/* @__PURE__ */ h(ue, { variant: "subtitle1", children:
|
|
24503
|
+
/* @__PURE__ */ h(ue, { variant: "subtitle1", children: Ze.get(y, (s == null ? void 0 : s.title) || (s == null ? void 0 : s.source)) }),
|
|
24504
24504
|
/* @__PURE__ */ U(ue, { variant: "caption", color: "secondary", children: [
|
|
24505
|
-
|
|
24505
|
+
Ze.get(y, "sizeDescription"),
|
|
24506
24506
|
r && c ? " | " : null,
|
|
24507
24507
|
r && c ? b("ra.attachment.info", {
|
|
24508
24508
|
user: c == null ? void 0 : c.name,
|
|
@@ -24527,7 +24527,7 @@ function Xne({
|
|
|
24527
24527
|
sx: a,
|
|
24528
24528
|
...s
|
|
24529
24529
|
}) {
|
|
24530
|
-
const c =
|
|
24530
|
+
const c = Be(
|
|
24531
24531
|
() => ({
|
|
24532
24532
|
width: typeof e == "number" ? `${e}px !important` : `${e} !important`,
|
|
24533
24533
|
height: typeof t == "number" ? `${t}px !important` : `${t} !important`,
|
|
@@ -24628,8 +24628,8 @@ var Jne = uT.exports;
|
|
|
24628
24628
|
const ere = /* @__PURE__ */ mo(Jne);
|
|
24629
24629
|
Xr.extend(ere);
|
|
24630
24630
|
function tre(e) {
|
|
24631
|
-
const t = an(e), [n] = PA(), r =
|
|
24632
|
-
() => Xr(
|
|
24631
|
+
const t = an(e), [n] = PA(), r = Be(
|
|
24632
|
+
() => Xr(Ze.get(t, e == null ? void 0 : e.source)).locale(n).fromNow(),
|
|
24633
24633
|
[t, e == null ? void 0 : e.source, n]
|
|
24634
24634
|
);
|
|
24635
24635
|
return /* @__PURE__ */ U(rt, { children: [
|
|
@@ -24651,7 +24651,7 @@ function ire({ ...e }) {
|
|
|
24651
24651
|
const t = an(e), n = de(
|
|
24652
24652
|
(r) => {
|
|
24653
24653
|
r.preventDefault(), r.stopPropagation();
|
|
24654
|
-
const o =
|
|
24654
|
+
const o = Ze.get(t, `_${e == null ? void 0 : e.source}`, Ze.get(t, e == null ? void 0 : e.source)), a = Ze.get(t, (e == null ? void 0 : e.title) || (e == null ? void 0 : e.source)) || (e == null ? void 0 : e.title), s = document.createElement("a");
|
|
24655
24655
|
s.href = o, s.download = a, s.click();
|
|
24656
24656
|
},
|
|
24657
24657
|
[e == null ? void 0 : e.source, t, e == null ? void 0 : e.title]
|
|
@@ -24673,7 +24673,7 @@ function sre({ variant: e = "body1", ...t }) {
|
|
|
24673
24673
|
return /* @__PURE__ */ h(are, { ...t, variant: e });
|
|
24674
24674
|
}
|
|
24675
24675
|
function Lue(e) {
|
|
24676
|
-
const t = Qt(), n = Xm(), { source: r = "" } = e, a = Cs(e)[r], s = !Qg(a, n), c = Zr(e, { flex: 1 }), [u] = Gl(), d =
|
|
24676
|
+
const t = Qt(), n = Xm(), { source: r = "" } = e, a = Cs(e)[r], s = !Qg(a, n), c = Zr(e, { flex: 1 }), [u] = Gl(), d = Be(() => s ? /* @__PURE__ */ h(u8, { style: { color: t.palette.warning.main } }) : /* @__PURE__ */ h(d8, {}), [s, t.palette.warning.main]), p = Be(() => /* @__PURE__ */ h(tt, { children: X.map(n, (g, m) => /* @__PURE__ */ h(ue, { children: `${g.locale.toUpperCase()}: ${(a ?? {})[g.locale] ?? ""}` }, m)) }), [a, n]);
|
|
24677
24677
|
return (
|
|
24678
24678
|
// @ts-ignore
|
|
24679
24679
|
/* @__PURE__ */ h(lv, { title: p, arrow: !1, children: /* @__PURE__ */ U(tt, { alignItems: "center", direction: "row", gap: 1, children: [
|
|
@@ -24698,7 +24698,7 @@ const lre = se("div")(({ theme: e, fullWidth: t }) => ({
|
|
|
24698
24698
|
}
|
|
24699
24699
|
}));
|
|
24700
24700
|
function cre({ source: e, defaultValue: t = " ", ...n }) {
|
|
24701
|
-
const r = an(n), o =
|
|
24701
|
+
const r = an(n), o = Ze.get(r, e, t);
|
|
24702
24702
|
return /* @__PURE__ */ h(ue, { ...n, dangerouslySetInnerHTML: { __html: o && o !== null ? o : t } });
|
|
24703
24703
|
}
|
|
24704
24704
|
function ure({ title: e, children: t }) {
|
|
@@ -24712,7 +24712,7 @@ function Bue({
|
|
|
24712
24712
|
tooltip: o,
|
|
24713
24713
|
...a
|
|
24714
24714
|
}) {
|
|
24715
|
-
const s = Vt.only(r), { getCurrentDialog: c } = cT(), u = an(a), d = go(a), p = c(), g =
|
|
24715
|
+
const s = Vt.only(r), { getCurrentDialog: c } = cT(), u = an(a), d = go(a), p = c(), g = Be(() => o === !1 ? !1 : typeof o == "function" ? o(u) : typeof o == "string" ? Ze.get(u, o, o) : o, [u, o]), m = Zr(a, { width: a != null && a.fullWidth ? "100%" : "auto" });
|
|
24716
24716
|
return /* @__PURE__ */ h(ure, { title: g, children: /* @__PURE__ */ U(rt, { children: [
|
|
24717
24717
|
/* @__PURE__ */ h(zm, { sx: { pt: 1 }, children: /* @__PURE__ */ h(Jm, { label: e, source: t, resource: p || d }) }),
|
|
24718
24718
|
/* @__PURE__ */ h(lre, { ...a, children: xe.isValidElement(s) ? xe.cloneElement(s, {
|
|
@@ -24784,7 +24784,7 @@ function pre(e) {
|
|
|
24784
24784
|
return /* @__PURE__ */ h(fre, { ...e, children: /* @__PURE__ */ h(O9, { pagination: /* @__PURE__ */ h(t0, {}), ...e }) });
|
|
24785
24785
|
}
|
|
24786
24786
|
function $ue({ source: e, ...t }) {
|
|
24787
|
-
const n = an(t), r =
|
|
24787
|
+
const n = an(t), r = Ze.get(n, e, 0), o = r / 1024, a = o / 1024, s = a / 1024, c = s > 1 ? `${s.toFixed(2)} GB` : a > 1 ? `${a.toFixed(2)} MB` : o > 1 ? `${o.toFixed(2)} KB` : `${r.toFixed(2)} B`;
|
|
24788
24788
|
return /* @__PURE__ */ h(ue, { component: "span", variant: "body1", ...t, children: c });
|
|
24789
24789
|
}
|
|
24790
24790
|
function Rn({
|
|
@@ -24797,9 +24797,9 @@ function Rn({
|
|
|
24797
24797
|
divider: s = !1,
|
|
24798
24798
|
...c
|
|
24799
24799
|
}) {
|
|
24800
|
-
const u = jt(), { getCurrentDialog: d } = zv(), { source: p, resource: g, isRequired: m } = c, {
|
|
24801
|
-
fieldState: { invalid:
|
|
24802
|
-
} = n0(c),
|
|
24800
|
+
const u = jt(), { getCurrentDialog: d } = zv(), { source: p, resource: g, isRequired: m, chip: v } = c, {
|
|
24801
|
+
fieldState: { invalid: y }
|
|
24802
|
+
} = n0(c), b = d();
|
|
24803
24803
|
return /* @__PURE__ */ U(
|
|
24804
24804
|
tt,
|
|
24805
24805
|
{
|
|
@@ -24813,7 +24813,7 @@ function Rn({
|
|
|
24813
24813
|
// the 'invalid' prop is not used inside the react-admin component. This is necessary if we want to support
|
|
24814
24814
|
// remove error message colorization when the field is in error state.
|
|
24815
24815
|
/** @ts-ignore */
|
|
24816
|
-
color:
|
|
24816
|
+
color: y ? u.palette.error.main : u.palette.text.secondary,
|
|
24817
24817
|
"& span": {
|
|
24818
24818
|
display: "none"
|
|
24819
24819
|
}
|
|
@@ -24824,7 +24824,7 @@ function Rn({
|
|
|
24824
24824
|
n === "label" && e !== !1 && a !== !1 && /* @__PURE__ */ h(
|
|
24825
24825
|
zm,
|
|
24826
24826
|
{
|
|
24827
|
-
error:
|
|
24827
|
+
error: y === !0,
|
|
24828
24828
|
sx: {
|
|
24829
24829
|
// @ts-ignore
|
|
24830
24830
|
borderBottom: s ? `1px solid ${u.palette.divider}` : "none",
|
|
@@ -24832,13 +24832,14 @@ function Rn({
|
|
|
24832
24832
|
pb: s ? 1 : 0,
|
|
24833
24833
|
mt: s ? 1 : 0
|
|
24834
24834
|
},
|
|
24835
|
-
children: /* @__PURE__ */ h(Jm, { label: e, source: p, resource:
|
|
24835
|
+
children: /* @__PURE__ */ h(Jm, { label: e, source: p, resource: b || g, isRequired: m })
|
|
24836
24836
|
}
|
|
24837
24837
|
),
|
|
24838
24838
|
xe.isValidElement(t) ? xe.cloneElement(t, {
|
|
24839
24839
|
// @ts-ignore
|
|
24840
24840
|
...t.props,
|
|
24841
24841
|
...c,
|
|
24842
|
+
chip: v && typeof v == "function" ? xe.createElement(v) : v,
|
|
24842
24843
|
label: n === "legend" ? e : !1
|
|
24843
24844
|
}) : t,
|
|
24844
24845
|
r ? /* @__PURE__ */ h(
|
|
@@ -24849,7 +24850,7 @@ function Rn({
|
|
|
24849
24850
|
pb: 2,
|
|
24850
24851
|
marginTop: "0 !important"
|
|
24851
24852
|
},
|
|
24852
|
-
error:
|
|
24853
|
+
error: y === !0,
|
|
24853
24854
|
children: r
|
|
24854
24855
|
}
|
|
24855
24856
|
) : null
|
|
@@ -25020,10 +25021,10 @@ const wre = se(MA, { slot: "root" })(({ theme: e }) => ({
|
|
|
25020
25021
|
}
|
|
25021
25022
|
}));
|
|
25022
25023
|
function Hue({ children: e = /* @__PURE__ */ h(ire, { source: "", title: "" }), title: t, ...n }) {
|
|
25023
|
-
const r = l0({ name: n.source }), o = an(n), { source: a } = n, s =
|
|
25024
|
+
const r = l0({ name: n.source }), o = an(n), { source: a } = n, s = Be(() => {
|
|
25024
25025
|
if (r && (r != null && r.title))
|
|
25025
25026
|
return r == null ? void 0 : r.title;
|
|
25026
|
-
const c =
|
|
25027
|
+
const c = Ze.get(o, a);
|
|
25027
25028
|
if (c) {
|
|
25028
25029
|
const u = c.split("__");
|
|
25029
25030
|
return u.length > 0 ? u[u.length - 1] : c;
|
|
@@ -25041,8 +25042,8 @@ function Hue({ children: e = /* @__PURE__ */ h(ire, { source: "", title: "" }),
|
|
|
25041
25042
|
source: a,
|
|
25042
25043
|
record: {
|
|
25043
25044
|
...o,
|
|
25044
|
-
[a]: (r == null ? void 0 : r.title) ||
|
|
25045
|
-
[`_${a}`]: (r == null ? void 0 : r.src) ||
|
|
25045
|
+
[a]: (r == null ? void 0 : r.title) || Ze.get(o, a),
|
|
25046
|
+
[`_${a}`]: (r == null ? void 0 : r.src) || Ze.get(o, `_${a}`),
|
|
25046
25047
|
[t || a]: s
|
|
25047
25048
|
}
|
|
25048
25049
|
})
|
|
@@ -25062,8 +25063,8 @@ function Gue({ children: e = /* @__PURE__ */ h(Xne, {}), title: t, multiple: n =
|
|
|
25062
25063
|
source: s,
|
|
25063
25064
|
record: {
|
|
25064
25065
|
...a,
|
|
25065
|
-
[s]: (o == null ? void 0 : o.title) ||
|
|
25066
|
-
[`_${s}`]: (o == null ? void 0 : o.src) ||
|
|
25066
|
+
[s]: (o == null ? void 0 : o.title) || Ze.get(a, s),
|
|
25067
|
+
[`_${s}`]: (o == null ? void 0 : o.src) || Ze.get(a, `_${s}`)
|
|
25067
25068
|
}
|
|
25068
25069
|
})
|
|
25069
25070
|
}) });
|
|
@@ -25092,10 +25093,10 @@ function que({
|
|
|
25092
25093
|
return M;
|
|
25093
25094
|
},
|
|
25094
25095
|
[e, t, s, r]
|
|
25095
|
-
), u =
|
|
25096
|
+
), u = Be(() => K8(n, c()), [n, c]), { fieldState: d } = X8({ ...o, validate: u }), { error: p } = d, g = l0({ name: a }), m = !Qg(g, s), [v] = Gl(), [y, b] = ke(v), [w, S] = ke(null), P = !!w, E = de(
|
|
25096
25097
|
(M) => S(P ? null : M.currentTarget),
|
|
25097
25098
|
[P, S]
|
|
25098
|
-
), O = de(() => S(null), [S]), I =
|
|
25099
|
+
), O = de(() => S(null), [S]), I = Be(() => X.map(s, (M, k) => /* @__PURE__ */ h(
|
|
25099
25100
|
Wm,
|
|
25100
25101
|
{
|
|
25101
25102
|
onClick: () => {
|
|
@@ -25175,7 +25176,7 @@ function Kue(e) {
|
|
|
25175
25176
|
);
|
|
25176
25177
|
}
|
|
25177
25178
|
function Xue({ source: e, minWidth: t = 300, children: n }) {
|
|
25178
|
-
const r = go(), o = an(), [a, s] = ke(
|
|
25179
|
+
const r = go(), o = an(), [a, s] = ke(Ze.get(o, e, "")), [c, u] = ke(!1), d = de((y) => s(y.target.value), []), p = e0(), g = de(
|
|
25179
25180
|
(y) => {
|
|
25180
25181
|
y.key === "Enter" && (u(!0), p.update(r, {
|
|
25181
25182
|
id: o.id,
|
|
@@ -25189,7 +25190,7 @@ function Xue({ source: e, minWidth: t = 300, children: n }) {
|
|
|
25189
25190
|
},
|
|
25190
25191
|
[a, p, r, o, e]
|
|
25191
25192
|
), m = de(() => {
|
|
25192
|
-
|
|
25193
|
+
Ze.get(o, e) !== a && (u(!0), p.update(r, {
|
|
25193
25194
|
id: o.id,
|
|
25194
25195
|
data: {
|
|
25195
25196
|
...o,
|
|
@@ -25212,7 +25213,7 @@ function Xue({ source: e, minWidth: t = 300, children: n }) {
|
|
|
25212
25213
|
},
|
|
25213
25214
|
[p, r, e, o]
|
|
25214
25215
|
);
|
|
25215
|
-
return Oe(() => s(
|
|
25216
|
+
return Oe(() => s(Ze.get(o, e)), [o, e]), n ? xe.cloneElement(n, {
|
|
25216
25217
|
...n.props,
|
|
25217
25218
|
source: e,
|
|
25218
25219
|
value: a,
|
|
@@ -25395,7 +25396,7 @@ function _re(e) {
|
|
|
25395
25396
|
const { responseCode: y, value: b } = v;
|
|
25396
25397
|
return y === "ok" ? b : Promise.reject(v);
|
|
25397
25398
|
});
|
|
25398
|
-
}, [t, a, o, s]), u =
|
|
25399
|
+
}, [t, a, o, s]), u = Be(
|
|
25399
25400
|
() => X.chain(n).extend({ queryKey: [r, a], queryFn: c }).value(),
|
|
25400
25401
|
[r, a, c, n]
|
|
25401
25402
|
), { data: d, isLoading: p } = DA(u), g = X.omit(e, ["useDefaults"]);
|
|
@@ -25543,7 +25544,7 @@ const Nre = {
|
|
|
25543
25544
|
activeItem: void 0
|
|
25544
25545
|
}, gT = nn(void 0);
|
|
25545
25546
|
function mT(e) {
|
|
25546
|
-
const t = !!(e.syncWithLocation ?? !0), n = !!(e.errorCount ?? !0), { rootMatchString: r } = e, { pathname: o } = ql(), [a, s] = Dm($re, X.cloneDeep(Nre)), { formRootPath: c, items: u } = a, d =
|
|
25547
|
+
const t = !!(e.syncWithLocation ?? !0), n = !!(e.errorCount ?? !0), { rootMatchString: r } = e, { pathname: o } = ql(), [a, s] = Dm($re, X.cloneDeep(Nre)), { formRootPath: c, items: u } = a, d = Be(() => ({ state: a, dispatch: s }), [a, s]);
|
|
25547
25548
|
return Oe(() => {
|
|
25548
25549
|
const p = [
|
|
25549
25550
|
"entities/:resource/create/*",
|
|
@@ -25692,7 +25693,7 @@ function OT(e) {
|
|
|
25692
25693
|
}
|
|
25693
25694
|
function PT(e) {
|
|
25694
25695
|
const t = xT();
|
|
25695
|
-
return
|
|
25696
|
+
return Be(() => hT(e, t), [t, e]);
|
|
25696
25697
|
}
|
|
25697
25698
|
function Wre() {
|
|
25698
25699
|
const e = yT(), { search: t } = ql(), n = v9();
|
|
@@ -25762,7 +25763,7 @@ function MT(e) {
|
|
|
25762
25763
|
},
|
|
25763
25764
|
[s, o, e, a, u]
|
|
25764
25765
|
);
|
|
25765
|
-
return
|
|
25766
|
+
return Be(() => ({
|
|
25766
25767
|
...e,
|
|
25767
25768
|
selected: n,
|
|
25768
25769
|
onClick: d,
|
|
@@ -25947,7 +25948,7 @@ var Kh = (e) => {
|
|
|
25947
25948
|
return /* @__PURE__ */ h("div", { className: a, style: s, ref: c, children: o });
|
|
25948
25949
|
}, Kre = Yre, _T = /* @__PURE__ */ ((e) => (e.TOP = "top", e.BOTTOM = "bottom", e))(_T || {});
|
|
25949
25950
|
function FT(e) {
|
|
25950
|
-
const { sticky: t = !0, disposition: n = { xl: 3, lg: 3, md: 4, sm: 4, xs: 12 }, spacing: r = 2 } = e, o = X.omit(e, ["sticky", "disposition", "spacing"]), a = t ? Kre : Ee, s =
|
|
25951
|
+
const { sticky: t = !0, disposition: n = { xl: 3, lg: 3, md: 4, sm: 4, xs: 12 }, spacing: r = 2 } = e, o = X.omit(e, ["sticky", "disposition", "spacing"]), a = t ? Kre : Ee, s = Be(() => t ? { offsetTop: 74, offsetBottom: r * 2 } : {}, [t, r]);
|
|
25951
25952
|
return /* @__PURE__ */ h(Te, { ...o, item: !0, ...n, children: /* @__PURE__ */ h(a, { ...s, children: /* @__PURE__ */ h(tt, { spacing: r, children: e.children }) }) });
|
|
25952
25953
|
}
|
|
25953
25954
|
function DT(e) {
|
|
@@ -25955,7 +25956,7 @@ function DT(e) {
|
|
|
25955
25956
|
}
|
|
25956
25957
|
function LT(e) {
|
|
25957
25958
|
const { children: t } = e;
|
|
25958
|
-
return
|
|
25959
|
+
return Be(() => {
|
|
25959
25960
|
const r = {
|
|
25960
25961
|
top: [],
|
|
25961
25962
|
bottom: []
|
|
@@ -26007,7 +26008,7 @@ function NT(e) {
|
|
|
26007
26008
|
}
|
|
26008
26009
|
function Gv(e) {
|
|
26009
26010
|
const { children: t } = e;
|
|
26010
|
-
return
|
|
26011
|
+
return Be(
|
|
26011
26012
|
() => (
|
|
26012
26013
|
//@ts-ignore
|
|
26013
26014
|
X.chain(Vt.toArray(t)).filter((r) => Tn(r) && ((r == null ? void 0 : r.type) === NT || (r == null ? void 0 : r.type) === $T)).map((r, o) => On(r, { index: o })).value()
|
|
@@ -26231,7 +26232,7 @@ function ooe() {
|
|
|
26231
26232
|
const ioe = F.forwardRef((e, t) => {
|
|
26232
26233
|
const { children: n, disabled: r, disableRemove: o = !1, index: a, member: s, resource: c, record: u } = e, d = _r(), [p, g] = F.useState(!1), { total: m, remove: v } = ooe(), y = F.useCallback(() => {
|
|
26233
26234
|
g(!1), v(a);
|
|
26234
|
-
}, [a, v]), b =
|
|
26235
|
+
}, [a, v]), b = Be(
|
|
26235
26236
|
// @ts-ignore
|
|
26236
26237
|
() => ({
|
|
26237
26238
|
index: a,
|
|
@@ -26240,7 +26241,7 @@ const ioe = F.forwardRef((e, t) => {
|
|
|
26240
26241
|
remove: () => v(a)
|
|
26241
26242
|
}),
|
|
26242
26243
|
[a, m, v, u]
|
|
26243
|
-
), w =
|
|
26244
|
+
), w = Be(
|
|
26244
26245
|
() => Vt.map(n, (S) => Tn(S) && (S == null ? void 0 : S.type) === Ud && F.isValidElement(S) ? S : null),
|
|
26245
26246
|
[n]
|
|
26246
26247
|
);
|
|
@@ -26325,7 +26326,7 @@ function aoe(e) {
|
|
|
26325
26326
|
}
|
|
26326
26327
|
const oe = de(() => {
|
|
26327
26328
|
P([]), b(!1);
|
|
26328
|
-
}, [P]), ne =
|
|
26329
|
+
}, [P]), ne = Be(
|
|
26329
26330
|
() => ({
|
|
26330
26331
|
total: w.length,
|
|
26331
26332
|
remove: z,
|
|
@@ -26514,7 +26515,7 @@ function poe({ isHorizontal: e, setCurrentStep: t, stepFields: n }) {
|
|
|
26514
26515
|
);
|
|
26515
26516
|
}
|
|
26516
26517
|
function hoe({ title: e, subheader: t, secondary: n, toolbar: r, progress: o, isSmall: a, modal: s, sx: c, setCurrentStep: u }) {
|
|
26517
|
-
const { currentStep: d, steps: p } = Yv(), g = _r(), m = Qt(), v = a || s, y =
|
|
26518
|
+
const { currentStep: d, steps: p } = Yv(), g = _r(), m = Qt(), v = a || s, y = Be(() => r ? Vt.toArray(r.props.children).find(
|
|
26518
26519
|
(w) => {
|
|
26519
26520
|
var S;
|
|
26520
26521
|
return Tn(w) && w.type === vt && ((S = w.props) == null ? void 0 : S.children) === g("ra.action.cancel");
|
|
@@ -26684,7 +26685,7 @@ function xoe(e) {
|
|
|
26684
26685
|
}, [m, v]), [b, w] = ke(!1), [S, P] = Dm(
|
|
26685
26686
|
yoe,
|
|
26686
26687
|
X.chain(boe).clone().merge({ drawer: { open: !c || m } }).value()
|
|
26687
|
-
), E = de(() => w(!1), []), O =
|
|
26688
|
+
), E = de(() => w(!1), []), O = Be(() => ({ state: S, dispatch: P }), [S, P]), { logoIcon: I, logoMain: M, enableNotification: k, notification: $ } = e;
|
|
26688
26689
|
return Oe(() => {
|
|
26689
26690
|
P({
|
|
26690
26691
|
type: "updateMedia",
|
|
@@ -28249,7 +28250,7 @@ function Tae({ children: e, sx: t, ...n }) {
|
|
|
28249
28250
|
] });
|
|
28250
28251
|
}
|
|
28251
28252
|
function Oae(e) {
|
|
28252
|
-
const t = Qt(), n = Zr(e, { flexShrink: { md: 0 }, zIndex: 1200 }), { downLg: r } = $r(), { open: o, handleDrawerToggle: a, width: s } = _s(), c = r ? Um : Toe, u = document.body, d =
|
|
28253
|
+
const t = Qt(), n = Zr(e, { flexShrink: { md: 0 }, zIndex: 1200 }), { downLg: r } = $r(), { open: o, handleDrawerToggle: a, width: s } = _s(), c = r ? Um : Toe, u = document.body, d = Be(() => r ? {
|
|
28253
28254
|
container: u,
|
|
28254
28255
|
variant: "temporary",
|
|
28255
28256
|
onClose: a,
|
|
@@ -28427,7 +28428,7 @@ function Dae(e) {
|
|
|
28427
28428
|
c("resources.notifications.messages.readed.error", "warning");
|
|
28428
28429
|
}
|
|
28429
28430
|
}
|
|
28430
|
-
), p = de(() => d(), [d]), [g] = Gl(), m =
|
|
28431
|
+
), p = de(() => d(), [d]), [g] = Gl(), m = Be(() => Xr(n.created).locale(g).fromNow(), [n, g]);
|
|
28431
28432
|
return /* @__PURE__ */ h(Tl, { disablePadding: !0, divider: a, children: /* @__PURE__ */ U(Nn, { selected: o, onClick: p, children: [
|
|
28432
28433
|
/* @__PURE__ */ h(gA, { children: /* @__PURE__ */ h(
|
|
28433
28434
|
rg,
|
|
@@ -28995,7 +28996,7 @@ function od({
|
|
|
28995
28996
|
function I() {
|
|
28996
28997
|
v(!1), b(null), S(null);
|
|
28997
28998
|
}
|
|
28998
|
-
|
|
28999
|
+
Be(() => {
|
|
28999
29000
|
y === o ? t === 1 && v(!0) : t === s && (v(!1), b(null));
|
|
29000
29001
|
}, [o, t, y, s]);
|
|
29001
29002
|
const { pathname: M } = Hl(), k = !!w;
|
|
@@ -29829,7 +29830,7 @@ const nA = /* @__PURE__ */ h(i_, {}), oP = F.forwardRef((e, t) => {
|
|
|
29829
29830
|
sx: E,
|
|
29830
29831
|
expandSingle: O = !1,
|
|
29831
29832
|
...I
|
|
29832
|
-
} = e, { sort: M, data: k, isLoading: $, onSelect: z, onToggleItem: q, selectedIds: N, setSort: oe, total: ne } = kr(e), K = !!p, Y =
|
|
29833
|
+
} = e, { sort: M, data: k, isLoading: $, onSelect: z, onToggleItem: q, selectedIds: N, setSort: oe, total: ne } = kr(e), K = !!p, Y = Be(() => ({ isRowExpandable: v, expandSingle: O }), [v, O]), V = jn(null);
|
|
29833
29834
|
Oe(() => {
|
|
29834
29835
|
(!N || N.length === 0) && (V.current = null);
|
|
29835
29836
|
}, [JSON.stringify(N)]);
|
|
@@ -30004,24 +30005,24 @@ function fse() {
|
|
|
30004
30005
|
return ((e = yt(iP)) == null ? void 0 : e.hasFilterSidebar) ?? !1;
|
|
30005
30006
|
}
|
|
30006
30007
|
function aP({ source: e, value: t }) {
|
|
30007
|
-
|
|
30008
|
-
|
|
30009
|
-
|
|
30010
|
-
|
|
30011
|
-
}), [n, e]), a = Le(
|
|
30008
|
+
const n = yt(rf), r = go(), o = Be(() => n.find((u) => {
|
|
30009
|
+
var d;
|
|
30010
|
+
return xe.isValidElement(u) && ((d = u.props) == null ? void 0 : d.source) === e;
|
|
30011
|
+
}), [n, e]), a = Be(
|
|
30012
30012
|
() => xe.isValidElement(o) ? o.props : {},
|
|
30013
30013
|
[o]
|
|
30014
|
-
)
|
|
30015
|
-
if (!
|
|
30014
|
+
);
|
|
30015
|
+
if (!(a != null && a.chip))
|
|
30016
30016
|
throw new Error(
|
|
30017
30017
|
`No chip component found for filter source "${e}". Ensure your filter components define a 'chip' prop.`
|
|
30018
30018
|
);
|
|
30019
|
-
|
|
30019
|
+
const s = {
|
|
30020
30020
|
...a,
|
|
30021
30021
|
record: { [e]: t },
|
|
30022
30022
|
value: t,
|
|
30023
30023
|
resource: r
|
|
30024
|
-
}
|
|
30024
|
+
};
|
|
30025
|
+
return xe.isValidElement(a.chip) ? xe.cloneElement(a.chip, s) : Ze.isFunction(a.chip) ? xe.createElement(a.chip, s) : null;
|
|
30025
30026
|
}
|
|
30026
30027
|
function pse(e) {
|
|
30027
30028
|
const { value: t, source: n, lastItem: r } = e, o = aP({ source: n, value: t });
|
|
@@ -30147,7 +30148,7 @@ function bse() {
|
|
|
30147
30148
|
flexDirection: "row",
|
|
30148
30149
|
flexWrap: r ? "nowrap" : "wrap",
|
|
30149
30150
|
gap: 2,
|
|
30150
|
-
|
|
30151
|
+
py: 0.5,
|
|
30151
30152
|
overflow: "auto",
|
|
30152
30153
|
width: r ? window.innerWidth - 58 : "auto",
|
|
30153
30154
|
children: [
|
|
@@ -30161,7 +30162,7 @@ function bse() {
|
|
|
30161
30162
|
}
|
|
30162
30163
|
function oA() {
|
|
30163
30164
|
const { filterValues: e } = kr(), t = Qt(), n = Pn(t.breakpoints.down("sm")), r = Ue();
|
|
30164
|
-
return e && !
|
|
30165
|
+
return e && !Ze.isEmpty(e) ? /* @__PURE__ */ U(tt, { flexDirection: n ? "column" : "row", alignItems: "baseline", gap: 2, m: n ? 2 : 0, children: [
|
|
30165
30166
|
/* @__PURE__ */ h(ue, { variant: "h6", color: "secondary", whiteSpace: "nowrap", children: r("ra.title.active_filters") }),
|
|
30166
30167
|
/* @__PURE__ */ h(bse, {})
|
|
30167
30168
|
] }) : null;
|
|
@@ -30287,13 +30288,13 @@ function Ase(e) {
|
|
|
30287
30288
|
const { form: t, filters: n } = e, r = Ci();
|
|
30288
30289
|
return /* @__PURE__ */ h(rf.Provider, { value: Array.isArray(n) ? n : [n], children: /* @__PURE__ */ h(S_, { ...t, children: /* @__PURE__ */ h(Ee, { px: "20px", children: n ? (Array.isArray(n) ? n : [n]).map((o, a) => {
|
|
30289
30290
|
const s = { ...o.props, display: "label" };
|
|
30290
|
-
return xe.isValidElement(o) ? /* @__PURE__ */ h(Ee, {
|
|
30291
|
+
return xe.isValidElement(o) ? /* @__PURE__ */ h(Ee, { mb: 1, children: xe.cloneElement(o, { ...s, resource: r }) }, a) : null;
|
|
30291
30292
|
}) : null }) }) });
|
|
30292
30293
|
}
|
|
30293
30294
|
function om(e) {
|
|
30294
30295
|
const { filters: t } = e, [n, r] = ke(!1), { setSidebarOpen: o, sidebarOpen: a } = ty(), { filterValues: s, setFilters: c } = kr(), u = Ue(), d = A_({
|
|
30295
30296
|
defaultValues: s
|
|
30296
|
-
}), { handleSubmit: p, getValues: g, reset: m, watch: v } = d, y = v(), b =
|
|
30297
|
+
}), { handleSubmit: p, getValues: g, reset: m, watch: v } = d, y = v(), b = Be(() => {
|
|
30297
30298
|
const I = {};
|
|
30298
30299
|
return t && (Array.isArray(t) ? t : [t]).forEach((M) => {
|
|
30299
30300
|
I[M.props.source] = (s == null ? void 0 : s[M.props.source]) ?? "";
|
|
@@ -30301,10 +30302,10 @@ function om(e) {
|
|
|
30301
30302
|
}, [t, s]);
|
|
30302
30303
|
Oe(() => {
|
|
30303
30304
|
const I = l_(g(), s), M = g();
|
|
30304
|
-
|
|
30305
|
+
Ze.isEqual(I, M) || m(I);
|
|
30305
30306
|
}, [JSON.stringify(s), s, g, m]);
|
|
30306
30307
|
const w = de(() => {
|
|
30307
|
-
|
|
30308
|
+
Ze.isFunction(o) && o(!1);
|
|
30308
30309
|
}, [o]), S = xe.useCallback(
|
|
30309
30310
|
(I) => {
|
|
30310
30311
|
c(I), w();
|
|
@@ -30316,9 +30317,9 @@ function om(e) {
|
|
|
30316
30317
|
r((I) => !I), P(), setTimeout(() => {
|
|
30317
30318
|
r(!1);
|
|
30318
30319
|
}, 1e3);
|
|
30319
|
-
}, [P]), O =
|
|
30320
|
+
}, [P]), O = Be(() => {
|
|
30320
30321
|
const I = g();
|
|
30321
|
-
return
|
|
30322
|
+
return Ze.isEmpty(b) || Ze.isEqual(I, b);
|
|
30322
30323
|
}, [b, g, y]);
|
|
30323
30324
|
return /* @__PURE__ */ U(Er, { PaperProps: { sx: { height: "100%" } }, open: a, children: [
|
|
30324
30325
|
/* @__PURE__ */ U(Er.Header, { children: [
|
|
@@ -30833,7 +30834,7 @@ function Cde() {
|
|
|
30833
30834
|
if (t === void 0)
|
|
30834
30835
|
throw new Error("The <FilterSidebarButton> component requires the <List filters> prop to be set");
|
|
30835
30836
|
const s = de(() => {
|
|
30836
|
-
|
|
30837
|
+
Ze.isFunction(e) && e(!0);
|
|
30837
30838
|
}, [e]);
|
|
30838
30839
|
return a ? /* @__PURE__ */ U(vt, { className: "add-filter", onClick: s, children: [
|
|
30839
30840
|
/* @__PURE__ */ h(R1, { sx: { fontSize: "1rem", mr: 0.5 } }),
|
|
@@ -30844,7 +30845,7 @@ function lP(e) {
|
|
|
30844
30845
|
const { filters: t, actions: n, className: r, hasFilterSidebar: o, ...a } = e, s = jt(), c = Pn(s.breakpoints.down("sm")), u = n ? xe.cloneElement(n, { ...a, ...n.props }) : null, { filterValues: d } = kr();
|
|
30845
30846
|
return Array.isArray(t) ? /* @__PURE__ */ h(iP.Provider, { value: { hasFilterSidebar: o }, children: /* @__PURE__ */ h(rf.Provider, { value: t, children: c && o ? /* @__PURE__ */ U("div", { children: [
|
|
30846
30847
|
u,
|
|
30847
|
-
|
|
30848
|
+
Ze.isEmpty(d) ? null : /* @__PURE__ */ U("div", { children: [
|
|
30848
30849
|
/* @__PURE__ */ h(Gr, {}),
|
|
30849
30850
|
/* @__PURE__ */ h(oA, {})
|
|
30850
30851
|
] })
|
|
@@ -31063,8 +31064,8 @@ function tle({ nextIconButtonProps: e, backIconButtonProps: t, slotProps: n, ...
|
|
|
31063
31064
|
return r;
|
|
31064
31065
|
}
|
|
31065
31066
|
const uP = Lm((e) => {
|
|
31066
|
-
const { rowsPerPageOptions: t = nle, actions: n, limit: r = null, ...o } = e, { isLoading: a, hasNextPage: s, page: c, perPage: u, total: d, setPage: p, setPerPage: g } = c9(e), m = Ue(), v = Pn(($) => $.breakpoints.down("md")), [y, b] = ke(c - 1), { hasCreate: w } = IA(e), S =
|
|
31067
|
-
|
|
31067
|
+
const { rowsPerPageOptions: t = nle, actions: n, limit: r = null, ...o } = e, { isLoading: a, hasNextPage: s, page: c, perPage: u, total: d, setPage: p, setPerPage: g } = c9(e), m = Ue(), v = Pn(($) => $.breakpoints.down("md")), [y, b] = ke(c - 1), { hasCreate: w } = IA(e), S = Be(() => d != null ? Math.ceil(d / u) : void 0, [u, d]), P = de(
|
|
31068
|
+
Ze.debounce(($) => {
|
|
31068
31069
|
p($ + 1);
|
|
31069
31070
|
}, 500),
|
|
31070
31071
|
[p]
|
|
@@ -31365,7 +31366,7 @@ function cle() {
|
|
|
31365
31366
|
);
|
|
31366
31367
|
}
|
|
31367
31368
|
function ule(e) {
|
|
31368
|
-
const t = an(e), n = go(e), r = h_(), o = nf(), a = _r(), [s] = PA(), c =
|
|
31369
|
+
const t = an(e), n = go(e), r = h_(), o = nf(), a = _r(), [s] = PA(), c = Be(
|
|
31369
31370
|
() => t != null && t.readed ? Xr(t == null ? void 0 : t.readed).locale(s).format("ddd, DD MMM YYYY HH:mm:ss") : !1,
|
|
31370
31371
|
[t == null ? void 0 : t.readed, s]
|
|
31371
31372
|
), [u] = g_(
|
|
@@ -31409,7 +31410,7 @@ function ule(e) {
|
|
|
31409
31410
|
] });
|
|
31410
31411
|
}
|
|
31411
31412
|
function Ade({ ...e }) {
|
|
31412
|
-
const t = Qt(), { mode: n, colorize: r, density: o } =
|
|
31413
|
+
const t = Qt(), { mode: n, colorize: r, density: o } = Be(
|
|
31413
31414
|
() => ({
|
|
31414
31415
|
mode: t.palette.mode,
|
|
31415
31416
|
colorize: t.palette.mode === "dark" ? r8 : o8,
|
|
@@ -31441,7 +31442,7 @@ const Sde = se(v_, {
|
|
|
31441
31442
|
}));
|
|
31442
31443
|
function dle(e) {
|
|
31443
31444
|
const { PaperProps: t, anchor: n = "right", variant: r = "temporary", open: o = !1 } = e, a = Qt(), c = Pn(a.breakpoints.down("sm")) ? "bottom" : n, { setSidebarOpen: u } = ty(), d = de(() => {
|
|
31444
|
-
|
|
31445
|
+
Ze.isFunction(u) && u(!1);
|
|
31445
31446
|
}, [u]), p = Zr(t ?? {}, {
|
|
31446
31447
|
backgroundColor: "background.default",
|
|
31447
31448
|
boxShadow: "-10px 4px 42px 0px rgba(0, 0, 0, 0.25)",
|
|
@@ -31685,7 +31686,7 @@ function Tde(e) {
|
|
|
31685
31686
|
currentStep: 0,
|
|
31686
31687
|
onComplete: () => {
|
|
31687
31688
|
}
|
|
31688
|
-
}), c =
|
|
31689
|
+
}), c = Be(() => ({ state: a, dispatch: s }), [a, s]);
|
|
31689
31690
|
return Oe(() => {
|
|
31690
31691
|
s({ type: "SET_SHOW", payload: r });
|
|
31691
31692
|
}, [r, s]), Oe(() => {
|
|
@@ -31808,7 +31809,7 @@ function kde({
|
|
|
31808
31809
|
buttonProps: p,
|
|
31809
31810
|
...g
|
|
31810
31811
|
}) {
|
|
31811
|
-
const { getCurrentDialog: m } = zv(), v = Ci(g), y = m(), b = Cs(), w = r || b, S =
|
|
31812
|
+
const { getCurrentDialog: m } = zv(), v = Ci(g), y = m(), b = Cs(), w = r || b, S = Ze.get(w, e || "");
|
|
31812
31813
|
return /* @__PURE__ */ U(
|
|
31813
31814
|
tt,
|
|
31814
31815
|
{
|
|
@@ -33739,7 +33740,7 @@ function _ce() {
|
|
|
33739
33740
|
};
|
|
33740
33741
|
}
|
|
33741
33742
|
function Fce(e) {
|
|
33742
|
-
return
|
|
33743
|
+
return Ze.merge(
|
|
33743
33744
|
Nle(e),
|
|
33744
33745
|
Vle(e),
|
|
33745
33746
|
Wle(e),
|
|
@@ -34986,7 +34987,7 @@ function Kce(e) {
|
|
|
34986
34987
|
};
|
|
34987
34988
|
}
|
|
34988
34989
|
function mP({ themeOverrides: e, children: t }) {
|
|
34989
|
-
const n = Yn(), { themeDirection: r, mode: o, presetColor: a, fontFamily: s } = n, c = Fne(), u =
|
|
34990
|
+
const n = Yn(), { themeDirection: r, mode: o, presetColor: a, fontFamily: s } = n, c = Fne(), u = Be(() => o === "auto" ? c : o, [o, c]), d = Be(() => qce(u, a), [u, a]), p = Be(() => Kce(s), [s]), g = Be(() => Yce(d), [d]), m = Be(
|
|
34990
34991
|
() => X.merge(
|
|
34991
34992
|
{
|
|
34992
34993
|
breakpoints: {
|
|
@@ -35334,7 +35335,7 @@ function $de({
|
|
|
35334
35335
|
});
|
|
35335
35336
|
}
|
|
35336
35337
|
});
|
|
35337
|
-
const q =
|
|
35338
|
+
const q = Be(() => xe.isValidElement(c) ? xe.cloneElement(c, {
|
|
35338
35339
|
// @ts-ignore
|
|
35339
35340
|
name: d,
|
|
35340
35341
|
copy: p,
|
|
@@ -35343,7 +35344,7 @@ function $de({
|
|
|
35343
35344
|
background: k,
|
|
35344
35345
|
enableRegistration: P,
|
|
35345
35346
|
enablePasswordRecover: E
|
|
35346
|
-
}) : c, [c, d, g, p, k, a, P, E]), N =
|
|
35347
|
+
}) : c, [c, d, g, p, k, a, P, E]), N = Be(
|
|
35347
35348
|
() => (ne) => /* @__PURE__ */ h(
|
|
35348
35349
|
tse,
|
|
35349
35350
|
{
|
|
@@ -35421,6 +35422,7 @@ export {
|
|
|
35421
35422
|
hde as BulkFloatingActionsToolbar,
|
|
35422
35423
|
Cc as Button,
|
|
35423
35424
|
$ne as CardForm,
|
|
35425
|
+
Vae as ChangePasswordButton,
|
|
35424
35426
|
dT as ChangePasswordForm,
|
|
35425
35427
|
Ude as ChipField,
|
|
35426
35428
|
Aue as CircularWithLabel,
|
|
@@ -35507,6 +35509,7 @@ export {
|
|
|
35507
35509
|
que as LocalizedTextInput,
|
|
35508
35510
|
$le as LoginPage,
|
|
35509
35511
|
Eoe as Logo,
|
|
35512
|
+
Wae as LogoutButton,
|
|
35510
35513
|
qt as LongForm,
|
|
35511
35514
|
ar as MainCard,
|
|
35512
35515
|
fP as MainIcon,
|
|
@@ -35569,6 +35572,7 @@ export {
|
|
|
35569
35572
|
$ue as SizeField,
|
|
35570
35573
|
Dle as SmallIcon,
|
|
35571
35574
|
rde as SmartTextInput,
|
|
35575
|
+
jae as StopImpersonateButton,
|
|
35572
35576
|
Hz as StyledArrow,
|
|
35573
35577
|
VT as TabbedForm,
|
|
35574
35578
|
xfe as TabbedFormTabs,
|