@tracktor/design-system 4.20.4 → 4.20.5
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/main.cjs +4 -4
- package/dist/main.js +115 -115
- package/dist/src/components/Layout/Backoffice/Backoffice.d.ts +3 -3
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Avatar as PA, Box as U, Skeleton as sA, SvgIcon as uA, useTheme as dA, Chip as
|
|
1
|
+
import { Avatar as PA, Box as U, Skeleton as sA, SvgIcon as uA, useTheme as dA, Chip as UA, IconButton as gA, CircularProgress as At, Fade as et, Modal as Er, Typography as G, Tooltip as ge, Button as GA, Stack as v, CardContent as Ht, Card as LA, List as he, Divider as ye, ListItem as SA, ListItemText as QA, ListItemButton as Oe, Alert as tt, alpha as hA, Collapse as Ct, Popper as xr, Paper as rt, Backdrop as Nt, DialogContent as Ir, DialogContentText as Sr, DialogActions as yr, Dialog as Qr, responsiveFontSizes as nt, createTheme as RA, getOverlayAlpha as We, GlobalStyles as XA, css as fe, CssBaseline as Br, ThemeProvider as wr, TextField as te, Checkbox as me, ListItemAvatar as Vr, InputAdornment as kA, Autocomplete as vr, Badge as Rr, Menu as Pt, MenuItem as Jt, Radio as qr, ListItemIcon as Gt, InputLabel as Ur, TextareaAutosize as kr, useMediaQuery as YA, Toolbar as Fr, AppBar as Ze, SwipeableDrawer as Lr, Tab as Dr, Slide as Kr, Snackbar as Mr } from "@mui/material";
|
|
2
2
|
export * from "@mui/material";
|
|
3
3
|
import * as IA from "react";
|
|
4
|
-
import Tr, { forwardRef as iA, useContext as yA, useState as z, isValidElement as
|
|
4
|
+
import Tr, { forwardRef as iA, useContext as yA, useState as z, isValidElement as wA, useRef as CA, useEffect as re, Fragment as Or, memo as Xt, useCallback as oA, Children as Wr, createContext as Qe, useMemo as jA, useImperativeHandle as Zr, cloneElement as ot } from "react";
|
|
5
5
|
import { useInView as Hr, capitalize as Nr, isString as Yt } from "@tracktor/react-utils";
|
|
6
6
|
import Pr from "react-virtualized-auto-sizer";
|
|
7
7
|
import { VariableSizeList as Jr } from "react-window";
|
|
@@ -595,7 +595,7 @@ function g1(A, e, t) {
|
|
|
595
595
|
function bt(A, e, t, n) {
|
|
596
596
|
return Ve(A, e, t, at, _A(A, 0, n), _A(A, n + 1, -1), n);
|
|
597
597
|
}
|
|
598
|
-
function
|
|
598
|
+
function qA(A, e) {
|
|
599
599
|
for (var t = "", n = st(A), o = 0; o < n; o++)
|
|
600
600
|
t += e(A[o], o, A, e) || "";
|
|
601
601
|
return t;
|
|
@@ -610,11 +610,11 @@ function h1(A, e, t, n) {
|
|
|
610
610
|
case jt:
|
|
611
611
|
return "";
|
|
612
612
|
case zt:
|
|
613
|
-
return A.return = A.value + "{" +
|
|
613
|
+
return A.return = A.value + "{" + qA(A.children, n) + "}";
|
|
614
614
|
case it:
|
|
615
615
|
A.value = A.props.join(",");
|
|
616
616
|
}
|
|
617
|
-
return bA(t =
|
|
617
|
+
return bA(t = qA(A.children, n)) ? A.return = A.value + "{" + t + "}" : "";
|
|
618
618
|
}
|
|
619
619
|
function f1(A) {
|
|
620
620
|
var e = st(A);
|
|
@@ -831,7 +831,7 @@ var Q1 = function(e, t, n, o) {
|
|
|
831
831
|
e.return = tr(e.value, e.length);
|
|
832
832
|
break;
|
|
833
833
|
case zt:
|
|
834
|
-
return
|
|
834
|
+
return qA([WA(e, {
|
|
835
835
|
value: Z(e.value, "@", "@" + W)
|
|
836
836
|
})], o);
|
|
837
837
|
case it:
|
|
@@ -840,12 +840,12 @@ var Q1 = function(e, t, n, o) {
|
|
|
840
840
|
// :read-(only|write)
|
|
841
841
|
case ":read-only":
|
|
842
842
|
case ":read-write":
|
|
843
|
-
return
|
|
843
|
+
return qA([WA(e, {
|
|
844
844
|
props: [Z(i, /:(read-\w+)/, ":" + be + "$1")]
|
|
845
845
|
})], o);
|
|
846
846
|
// :placeholder
|
|
847
847
|
case "::placeholder":
|
|
848
|
-
return
|
|
848
|
+
return qA([WA(e, {
|
|
849
849
|
props: [Z(i, /:(plac\w+)/, ":" + W + "input-$1")]
|
|
850
850
|
}), WA(e, {
|
|
851
851
|
props: [Z(i, /:(plac\w+)/, ":" + be + "$1")]
|
|
@@ -881,7 +881,7 @@ var Q1 = function(e, t, n, o) {
|
|
|
881
881
|
var u, C = [h1, m1(function(h) {
|
|
882
882
|
u.insert(h);
|
|
883
883
|
})], m = f1(d.concat(o, C)), x = function(E) {
|
|
884
|
-
return
|
|
884
|
+
return qA(C1(E), m);
|
|
885
885
|
};
|
|
886
886
|
c = function(E, y, Q, b) {
|
|
887
887
|
u = Q, x(E ? E + "{" + y.styles + "}" : y.styles), b && (g.inserted[y.name] = !0);
|
|
@@ -1900,7 +1900,7 @@ const Y1 = (A, e) => {
|
|
|
1900
1900
|
warning: s.warning.main
|
|
1901
1901
|
};
|
|
1902
1902
|
return /* @__PURE__ */ r(
|
|
1903
|
-
|
|
1903
|
+
UA,
|
|
1904
1904
|
{
|
|
1905
1905
|
ref: a,
|
|
1906
1906
|
variant: t,
|
|
@@ -2186,7 +2186,7 @@ const Y1 = (A, e) => {
|
|
|
2186
2186
|
} : void 0
|
|
2187
2187
|
}
|
|
2188
2188
|
);
|
|
2189
|
-
}, an = 18, sn = 25, Rt = 40,
|
|
2189
|
+
}, an = 18, sn = 25, Rt = 40, VA = {
|
|
2190
2190
|
default: 64,
|
|
2191
2191
|
"footer-only": 64,
|
|
2192
2192
|
"footer-subtitles": 60,
|
|
@@ -2201,17 +2201,17 @@ const Y1 = (A, e) => {
|
|
|
2201
2201
|
}, ln = (A, e, t) => {
|
|
2202
2202
|
switch (!0) {
|
|
2203
2203
|
case (A && e):
|
|
2204
|
-
return
|
|
2204
|
+
return VA["header-subtitles"];
|
|
2205
2205
|
case (A && !e):
|
|
2206
|
-
return
|
|
2206
|
+
return VA["header-only"];
|
|
2207
2207
|
case (e && t):
|
|
2208
|
-
return
|
|
2208
|
+
return VA["footer-subtitles"];
|
|
2209
2209
|
case (t && !A && !e):
|
|
2210
|
-
return
|
|
2210
|
+
return VA["footer-only"];
|
|
2211
2211
|
case (e && !A && !t):
|
|
2212
|
-
return
|
|
2212
|
+
return VA["subtitles-only"];
|
|
2213
2213
|
default:
|
|
2214
|
-
return
|
|
2214
|
+
return VA.default;
|
|
2215
2215
|
}
|
|
2216
2216
|
}, cn = (A, e, t, n) => A ? e && t ? le["header-subtitles"] : e ? le["header-only"] : n ? le.rightFooter : le.default : 0, dn = (A) => A ? sn : 0, pn = (A) => (A ?? 0) * an, un = (A, e, t, n, o) => ({
|
|
2217
2217
|
baseHeight: ln(A, e, t),
|
|
@@ -2312,7 +2312,7 @@ const Y1 = (A, e) => {
|
|
|
2312
2312
|
)
|
|
2313
2313
|
}
|
|
2314
2314
|
);
|
|
2315
|
-
}, Ye = iA(fn), dr = (A) => /* @__PURE__ */ r(Ye, { ...A }), mn = ({ emptyState: A }) =>
|
|
2315
|
+
}, Ye = iA(fn), dr = (A) => /* @__PURE__ */ r(Ye, { ...A }), mn = ({ emptyState: A }) => wA(A) ? /* @__PURE__ */ r(
|
|
2316
2316
|
v,
|
|
2317
2317
|
{
|
|
2318
2318
|
position: "absolute",
|
|
@@ -2604,7 +2604,7 @@ const Y1 = (A, e) => {
|
|
|
2604
2604
|
] })
|
|
2605
2605
|
}
|
|
2606
2606
|
) });
|
|
2607
|
-
},
|
|
2607
|
+
}, qo = ({
|
|
2608
2608
|
data: A,
|
|
2609
2609
|
onClickItem: e,
|
|
2610
2610
|
disableCount: t,
|
|
@@ -2707,7 +2707,7 @@ const Y1 = (A, e) => {
|
|
|
2707
2707
|
borderRadius: 1,
|
|
2708
2708
|
padding: 0.5
|
|
2709
2709
|
}
|
|
2710
|
-
}, yn = (A) => typeof A == "string",
|
|
2710
|
+
}, yn = (A) => typeof A == "string", Uo = ({
|
|
2711
2711
|
Empty: A,
|
|
2712
2712
|
action: e,
|
|
2713
2713
|
items: t,
|
|
@@ -2847,7 +2847,7 @@ const Y1 = (A, e) => {
|
|
|
2847
2847
|
{
|
|
2848
2848
|
primary: /* @__PURE__ */ f(v, { direction: "row", alignItems: "center", spacing: 1, children: [
|
|
2849
2849
|
m && /* @__PURE__ */ r(G, { variant: "h6", whiteSpace: "nowrap", textOverflow: "ellipsis", overflow: "hidden", children: m }),
|
|
2850
|
-
Q && /* @__PURE__ */ r(
|
|
2850
|
+
Q && /* @__PURE__ */ r(UA, { label: Q, variant: "rounded", size: "xSmall", color: yn(b) ? b : "default" })
|
|
2851
2851
|
] }),
|
|
2852
2852
|
secondary: x,
|
|
2853
2853
|
slotProps: {
|
|
@@ -2921,7 +2921,7 @@ const Y1 = (A, e) => {
|
|
|
2921
2921
|
...c,
|
|
2922
2922
|
children: /* @__PURE__ */ r(U, { flex: "auto", minWidth: 0, children: A })
|
|
2923
2923
|
}
|
|
2924
|
-
),
|
|
2924
|
+
), ko = Xt(iA(Vn)), kt = 32, vn = 24, Rn = 105, qn = 24, Un = 195, kn = 44, Fn = 147, Ln = () => {
|
|
2925
2925
|
const { palette: A } = dA(), e = oA(
|
|
2926
2926
|
(a) => a === "white" ? "#fff" : a === "black" ? "#000" : a || A.text.primary,
|
|
2927
2927
|
[A.text.primary]
|
|
@@ -3355,7 +3355,7 @@ const Y1 = (A, e) => {
|
|
|
3355
3355
|
]
|
|
3356
3356
|
}
|
|
3357
3357
|
);
|
|
3358
|
-
}, Ce = iA(On), Wn = ({ sx: A, fontSize: e, color: t = "currentColor" }) => /* @__PURE__ */ r(uA, { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", sx: A, fontSize: e, children: /* @__PURE__ */ r("path", { d: "M6 2L5.295 2.705L8.085 5.5L2 5.5L2 6.5L8.085 6.5L5.295 9.295L6 10L10 6L6 2Z", fill: t, fillOpacity: "0.54" }) }), lt = ({ sx: A, fontSize: e, color: t = "currentColor" }) => /* @__PURE__ */ r(uA, { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", sx: A, fontSize: e, children: /* @__PURE__ */ r("path", { d: "M12 6.47003L11.06 5.53003L8 8.58336L4.94 5.53003L4 6.47003L8 10.47L12 6.47003Z", fill: t, fillOpacity: "0.54" }) }),
|
|
3358
|
+
}, Ce = iA(On), Wn = ({ sx: A, fontSize: e, color: t = "currentColor" }) => /* @__PURE__ */ r(uA, { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", sx: A, fontSize: e, children: /* @__PURE__ */ r("path", { d: "M6 2L5.295 2.705L8.085 5.5L2 5.5L2 6.5L8.085 6.5L5.295 9.295L6 10L10 6L6 2Z", fill: t, fillOpacity: "0.54" }) }), lt = ({ sx: A, fontSize: e, color: t = "currentColor" }) => /* @__PURE__ */ r(uA, { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", sx: A, fontSize: e, children: /* @__PURE__ */ r("path", { d: "M12 6.47003L11.06 5.53003L8 8.58336L4.94 5.53003L4 6.47003L8 10.47L12 6.47003Z", fill: t, fillOpacity: "0.54" }) }), vA = 64, Ft = 1e3, Zn = ({
|
|
3359
3359
|
title: A,
|
|
3360
3360
|
subtitle: e,
|
|
3361
3361
|
isLastElement: t,
|
|
@@ -3442,7 +3442,7 @@ const Y1 = (A, e) => {
|
|
|
3442
3442
|
]
|
|
3443
3443
|
}
|
|
3444
3444
|
),
|
|
3445
|
-
a && /* @__PURE__ */ r(
|
|
3445
|
+
a && /* @__PURE__ */ r(UA, { color: a?.color || "default", label: a?.label, size: "xSmall", variant: "outlined" }),
|
|
3446
3446
|
e && (Yt(e) ? /* @__PURE__ */ r(G, { variant: "body2", color: "textSecondary", children: e }) : e)
|
|
3447
3447
|
] }),
|
|
3448
3448
|
d && /* @__PURE__ */ r(
|
|
@@ -3490,7 +3490,7 @@ const Y1 = (A, e) => {
|
|
|
3490
3490
|
)
|
|
3491
3491
|
}
|
|
3492
3492
|
),
|
|
3493
|
-
E?.tag && /* @__PURE__ */ r(
|
|
3493
|
+
E?.tag && /* @__PURE__ */ r(UA, { color: E?.tag?.color || "default", label: E?.tag?.label, size: "xSmall", variant: "outlined" })
|
|
3494
3494
|
] }),
|
|
3495
3495
|
E?.subtitle && /* @__PURE__ */ r(ge, { title: E?.subtitle, enterDelay: Ft, children: /* @__PURE__ */ r(
|
|
3496
3496
|
G,
|
|
@@ -3512,8 +3512,8 @@ const Y1 = (A, e) => {
|
|
|
3512
3512
|
sx: {
|
|
3513
3513
|
borderRadius: 0.5,
|
|
3514
3514
|
cursor: "pointer",
|
|
3515
|
-
height:
|
|
3516
|
-
width:
|
|
3515
|
+
height: vA,
|
|
3516
|
+
width: vA
|
|
3517
3517
|
}
|
|
3518
3518
|
}
|
|
3519
3519
|
) : /* @__PURE__ */ r(
|
|
@@ -3525,8 +3525,8 @@ const Y1 = (A, e) => {
|
|
|
3525
3525
|
sx: {
|
|
3526
3526
|
borderRadius: 0.5,
|
|
3527
3527
|
cursor: "pointer",
|
|
3528
|
-
height:
|
|
3529
|
-
width:
|
|
3528
|
+
height: vA,
|
|
3529
|
+
width: vA
|
|
3530
3530
|
}
|
|
3531
3531
|
}
|
|
3532
3532
|
)),
|
|
@@ -3538,9 +3538,9 @@ const Y1 = (A, e) => {
|
|
|
3538
3538
|
backgroundColor: ({ palette: l }) => l.grey[100],
|
|
3539
3539
|
borderRadius: 0.5,
|
|
3540
3540
|
display: "flex",
|
|
3541
|
-
height:
|
|
3541
|
+
height: vA,
|
|
3542
3542
|
justifyContent: "center",
|
|
3543
|
-
width:
|
|
3543
|
+
width: vA
|
|
3544
3544
|
},
|
|
3545
3545
|
children: `${b.length - 1}+`
|
|
3546
3546
|
}
|
|
@@ -3569,7 +3569,7 @@ const Y1 = (A, e) => {
|
|
|
3569
3569
|
},
|
|
3570
3570
|
children: /* @__PURE__ */ r(Ht, { children: A })
|
|
3571
3571
|
}
|
|
3572
|
-
),
|
|
3572
|
+
), Fo = ({
|
|
3573
3573
|
items: A,
|
|
3574
3574
|
isLoading: e,
|
|
3575
3575
|
emptyMessage: t,
|
|
@@ -3628,7 +3628,7 @@ const Y1 = (A, e) => {
|
|
|
3628
3628
|
) }),
|
|
3629
3629
|
/* @__PURE__ */ r(lr, { open: !!s, onClose: () => c(""), src: s })
|
|
3630
3630
|
] }) : /* @__PURE__ */ r(De, { sx: n, children: /* @__PURE__ */ r(tt, { severity: "info", children: t }) });
|
|
3631
|
-
},
|
|
3631
|
+
}, Lo = ({
|
|
3632
3632
|
isLoading: A,
|
|
3633
3633
|
children: e,
|
|
3634
3634
|
emptyText: t,
|
|
@@ -3659,7 +3659,7 @@ const Y1 = (A, e) => {
|
|
|
3659
3659
|
},
|
|
3660
3660
|
children: /* @__PURE__ */ r(ee, {})
|
|
3661
3661
|
}
|
|
3662
|
-
),
|
|
3662
|
+
), Do = ({ open: A, anchorEl: e, onClose: t, children: n, placement: o, variant: i = "outlined" }) => /* @__PURE__ */ r(Nt, { open: !!A, onClick: t, sx: { backgroundColor: "rgba(0, 0, 0, 0.2)" }, children: /* @__PURE__ */ r(xr, { open: !!A, anchorEl: e, placement: o, sx: { maxWidth: "100%" }, children: /* @__PURE__ */ r(
|
|
3663
3663
|
rt,
|
|
3664
3664
|
{
|
|
3665
3665
|
role: "dialog",
|
|
@@ -3706,7 +3706,7 @@ const Y1 = (A, e) => {
|
|
|
3706
3706
|
strokeDasharray: "30",
|
|
3707
3707
|
strokeDashoffset: "-30"
|
|
3708
3708
|
}
|
|
3709
|
-
},
|
|
3709
|
+
}, Ko = ({
|
|
3710
3710
|
title: A,
|
|
3711
3711
|
subtitle: e,
|
|
3712
3712
|
buttonPrimary: t,
|
|
@@ -3860,7 +3860,7 @@ const Y1 = (A, e) => {
|
|
|
3860
3860
|
}, Kt = {
|
|
3861
3861
|
root: ({ theme: A, ownerState: e }) => {
|
|
3862
3862
|
const t = Wr.toArray(e.children), n = t[t.length - 1];
|
|
3863
|
-
if (
|
|
3863
|
+
if (wA(n) && typeof n.props == "object" && n.props !== null) {
|
|
3864
3864
|
const { variant: o, size: i } = n.props;
|
|
3865
3865
|
if (o === "contained" || o === "outlined")
|
|
3866
3866
|
return {
|
|
@@ -4840,7 +4840,7 @@ const Y1 = (A, e) => {
|
|
|
4840
4840
|
letterSpacing: -0.3
|
|
4841
4841
|
}
|
|
4842
4842
|
})
|
|
4843
|
-
}, je = nt(
|
|
4843
|
+
}, je = nt(RA(ct)), pr = nt(RA(ct, _1)), ur = nt(RA(ct, lA)), Mo = {
|
|
4844
4844
|
commonTheme: je,
|
|
4845
4845
|
darkTheme: ur,
|
|
4846
4846
|
lightTheme: pr
|
|
@@ -4894,7 +4894,7 @@ const Y1 = (A, e) => {
|
|
|
4894
4894
|
}
|
|
4895
4895
|
`
|
|
4896
4896
|
}
|
|
4897
|
-
),
|
|
4897
|
+
), To = ({
|
|
4898
4898
|
children: A,
|
|
4899
4899
|
enableColorScheme: e,
|
|
4900
4900
|
includeCssBaseline: t = !0,
|
|
@@ -4908,7 +4908,7 @@ const Y1 = (A, e) => {
|
|
|
4908
4908
|
const x = typeof i == "object" ? i : {}, g = {
|
|
4909
4909
|
...a === "fr" && Pn
|
|
4910
4910
|
};
|
|
4911
|
-
return i === "dark" || typeof i == "object" && "palette" in i && i?.palette?.mode === "dark" ?
|
|
4911
|
+
return i === "dark" || typeof i == "object" && "palette" in i && i?.palette?.mode === "dark" ? RA(ur, x, g) : !i || i === "light" || typeof i == "object" && "palette" in i && i?.palette?.mode === "light" ? RA(pr, x, g) : RA(je, x, g);
|
|
4912
4912
|
}, [i, a]);
|
|
4913
4913
|
return /* @__PURE__ */ r(Cr.Provider, { value: C, children: /* @__PURE__ */ f(wr, { theme: m, children: [
|
|
4914
4914
|
/* @__PURE__ */ r(
|
|
@@ -5186,7 +5186,7 @@ const Y1 = (A, e) => {
|
|
|
5186
5186
|
if (!(!F && (Array.isArray(s) && s.length || !Array.isArray(s) && s)))
|
|
5187
5187
|
return n;
|
|
5188
5188
|
}, K = () => V ? /* @__PURE__ */ f(
|
|
5189
|
-
|
|
5189
|
+
kA,
|
|
5190
5190
|
{
|
|
5191
5191
|
position: "end",
|
|
5192
5192
|
sx: {
|
|
@@ -5248,7 +5248,7 @@ const Y1 = (A, e) => {
|
|
|
5248
5248
|
]
|
|
5249
5249
|
}
|
|
5250
5250
|
) : F ? /* @__PURE__ */ f(
|
|
5251
|
-
|
|
5251
|
+
kA,
|
|
5252
5252
|
{
|
|
5253
5253
|
position: "end",
|
|
5254
5254
|
sx: {
|
|
@@ -5267,10 +5267,10 @@ const Y1 = (A, e) => {
|
|
|
5267
5267
|
children: /* @__PURE__ */ r(ee, { sx: { fontSize: P(20) } })
|
|
5268
5268
|
}
|
|
5269
5269
|
),
|
|
5270
|
-
|
|
5270
|
+
wA(p.InputProps?.endAdornment) && typeof p.InputProps.endAdornment == "object" && "props" in p.InputProps.endAdornment && p.InputProps.endAdornment.props && typeof p.InputProps.endAdornment.props == "object" && "children" in p.InputProps.endAdornment.props && Array.isArray(p.InputProps.endAdornment.props.children) && p.InputProps.endAdornment.props.children[1]
|
|
5271
5271
|
]
|
|
5272
5272
|
}
|
|
5273
|
-
) :
|
|
5273
|
+
) : wA(p.InputProps?.endAdornment) ? p.InputProps.endAdornment : null;
|
|
5274
5274
|
return /* @__PURE__ */ r(
|
|
5275
5275
|
te,
|
|
5276
5276
|
{
|
|
@@ -5316,7 +5316,7 @@ const Y1 = (A, e) => {
|
|
|
5316
5316
|
...M
|
|
5317
5317
|
}
|
|
5318
5318
|
);
|
|
5319
|
-
},
|
|
5319
|
+
}, Oo = iA(to), gr = () => {
|
|
5320
5320
|
const [A, e] = z(null), t = !!A, n = oA(() => {
|
|
5321
5321
|
e(null);
|
|
5322
5322
|
}, []), o = oA(({ currentTarget: i }) => {
|
|
@@ -5329,7 +5329,7 @@ const Y1 = (A, e) => {
|
|
|
5329
5329
|
openMenu: o
|
|
5330
5330
|
};
|
|
5331
5331
|
};
|
|
5332
|
-
function
|
|
5332
|
+
function Wo({
|
|
5333
5333
|
label: A,
|
|
5334
5334
|
value: e,
|
|
5335
5335
|
onChange: t,
|
|
@@ -5387,7 +5387,7 @@ function Zo({
|
|
|
5387
5387
|
}, j = (V) => g ? n === !0 : m ? h?.includes(V) : h === V, X = (V) => S ? `${c ? `${c} ${C} ` : ""}${i.find((D) => D.value === V)?.label || ""}` : i?.label;
|
|
5388
5388
|
return /* @__PURE__ */ f(fA, { children: [
|
|
5389
5389
|
/* @__PURE__ */ r(
|
|
5390
|
-
|
|
5390
|
+
UA,
|
|
5391
5391
|
{
|
|
5392
5392
|
disabled: s,
|
|
5393
5393
|
size: x,
|
|
@@ -5481,7 +5481,7 @@ const ro = ({ fontSize: A, sx: e, color: t = "currentColor" }) => /* @__PURE__ *
|
|
|
5481
5481
|
return o.length > 10 && e ? `${o.substring(0, 10)}(...).${i}` : o;
|
|
5482
5482
|
}).join(" • ");
|
|
5483
5483
|
return A.length > Tt ? `${n} + ${A.length - Tt}` : n;
|
|
5484
|
-
},
|
|
5484
|
+
}, Zo = iA(
|
|
5485
5485
|
({
|
|
5486
5486
|
accept: A,
|
|
5487
5487
|
name: e,
|
|
@@ -5612,7 +5612,7 @@ const ro = ({ fontSize: A, sx: e, color: t = "currentColor" }) => /* @__PURE__ *
|
|
|
5612
5612
|
}
|
|
5613
5613
|
);
|
|
5614
5614
|
}
|
|
5615
|
-
),
|
|
5615
|
+
), Ho = ({ fullWidth: A, value: e, setValue: t, min: n = 1, max: o = 50, ...i }) => /* @__PURE__ */ r(
|
|
5616
5616
|
te,
|
|
5617
5617
|
{
|
|
5618
5618
|
onChange: (C) => {
|
|
@@ -5621,11 +5621,11 @@ const ro = ({ fontSize: A, sx: e, color: t = "currentColor" }) => /* @__PURE__ *
|
|
|
5621
5621
|
},
|
|
5622
5622
|
autoComplete: "off",
|
|
5623
5623
|
InputProps: {
|
|
5624
|
-
endAdornment: /* @__PURE__ */ r(
|
|
5624
|
+
endAdornment: /* @__PURE__ */ r(kA, { position: "end", children: /* @__PURE__ */ r(gA, { disabled: e === o, onClick: () => {
|
|
5625
5625
|
const C = Number(e) + 1;
|
|
5626
5626
|
t?.(C <= o ? C : Number(e));
|
|
5627
5627
|
}, size: "small", "aria-label": "increment", children: /* @__PURE__ */ r(uA, { viewBox: "0 0 24 24", children: /* @__PURE__ */ r("path", { d: "M18 13h-5v5c0 .55-.45 1-1 1s-1-.45-1-1v-5H6c-.55 0-1-.45-1-1s.45-1 1-1h5V6c0-.55.45-1 1-1s1 .45 1 1v5h5c.55 0 1 .45 1 1s-.45 1-1 1z" }) }) }) }),
|
|
5628
|
-
startAdornment: /* @__PURE__ */ r(
|
|
5628
|
+
startAdornment: /* @__PURE__ */ r(kA, { position: "start", children: /* @__PURE__ */ r(gA, { onClick: () => {
|
|
5629
5629
|
const C = Number(e) - 1;
|
|
5630
5630
|
t?.(C >= n ? C : Number(e));
|
|
5631
5631
|
}, disabled: e === n || e === 0, size: "small", "aria-label": "decrement", children: /* @__PURE__ */ r(uA, { viewBox: "0 0 24 24", children: /* @__PURE__ */ r("path", { d: "M18 13H6c-.55 0-1-.45-1-1s.45-1 1-1h12c.55 0 1 .45 1 1s-.45 1-1 1z" }) }) }) }),
|
|
@@ -5677,7 +5677,7 @@ const ro = ({ fontSize: A, sx: e, color: t = "currentColor" }) => /* @__PURE__ *
|
|
|
5677
5677
|
}
|
|
5678
5678
|
)
|
|
5679
5679
|
] });
|
|
5680
|
-
},
|
|
5680
|
+
}, No = iA(io), ao = iA(({ sx: A, slotProps: e, type: t = "search", ...n }, o) => /* @__PURE__ */ r(
|
|
5681
5681
|
te,
|
|
5682
5682
|
{
|
|
5683
5683
|
fullWidth: !0,
|
|
@@ -5710,7 +5710,7 @@ const ro = ({ fontSize: A, sx: e, color: t = "currentColor" }) => /* @__PURE__ *
|
|
|
5710
5710
|
...e,
|
|
5711
5711
|
input: {
|
|
5712
5712
|
autoComplete: "off",
|
|
5713
|
-
startAdornment: t === "search" && /* @__PURE__ */ r(
|
|
5713
|
+
startAdornment: t === "search" && /* @__PURE__ */ r(kA, { position: "start", children: /* @__PURE__ */ r(uA, { focusable: "false", "aria-hidden": "true", viewBox: "0 0 24 24", children: /* @__PURE__ */ f("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
5714
5714
|
/* @__PURE__ */ f("g", { clipPath: "url(#clip0_14432_13952)", children: [
|
|
5715
5715
|
/* @__PURE__ */ r(
|
|
5716
5716
|
"path",
|
|
@@ -5739,7 +5739,7 @@ const ro = ({ fontSize: A, sx: e, color: t = "currentColor" }) => /* @__PURE__ *
|
|
|
5739
5739
|
c.font = a;
|
|
5740
5740
|
const d = e?.toString() || t?.toString() || n?.toString() || " ", u = c.measureText(d).width, C = parseFloat(i.paddingLeft), m = parseFloat(i.paddingRight);
|
|
5741
5741
|
return u + C + m + o;
|
|
5742
|
-
},
|
|
5742
|
+
}, Po = iA(({ sx: A, maxWidth: e, ...t }, n) => {
|
|
5743
5743
|
const o = CA(null), [i, a] = z(null), s = CA(void 0), { size: c } = t, d = c === "tiny", u = d ? 27 : 50, C = t?.slotProps?.input, m = !!C?.startAdornment || !!t?.InputProps?.startAdornment, x = !!C?.endAdornment || !!t?.InputProps?.endAdornment, g = (m ? u : 0) + (x ? u : 0), h = oA(() => {
|
|
5744
5744
|
const y = so(o.current, t.value, t.defaultValue, t.placeholder, g);
|
|
5745
5745
|
y !== null && a(e ? Math.min(y, e) : y);
|
|
@@ -5791,7 +5791,7 @@ const ro = ({ fontSize: A, sx: e, color: t = "currentColor" }) => /* @__PURE__ *
|
|
|
5791
5791
|
d: "M19.7231 21.1385L15.8308 17.2577C15.3884 17.4539 14.8394 17.6266 14.1836 17.776C13.5279 17.9253 12.8 18 12 18C9.81665 18 7.83139 17.4035 6.0442 16.2106C4.25702 15.0176 2.93459 13.4474 2.0769 11.5C2.46535 10.6167 2.97753 9.78943 3.61343 9.01828C4.24933 8.24713 4.92818 7.60001 5.64998 7.07693L2.8615 4.27693L3.5692 3.56923L20.4308 20.4308L19.7231 21.1385ZM12 15.1539C12.2346 15.1539 12.492 15.1263 12.7721 15.0712C13.0522 15.016 13.2711 14.9442 13.4288 14.8558L8.6442 10.0712C8.55574 10.2545 8.48395 10.483 8.42883 10.7567C8.3737 11.0304 8.34613 11.2782 8.34613 11.5C8.34613 12.5192 8.7003 13.383 9.40863 14.0914C10.117 14.7997 10.9807 15.1539 12 15.1539ZM18.6077 15.7192L15.5096 12.6462C15.5493 12.5039 15.5833 12.3349 15.6115 12.1394C15.6397 11.9439 15.6538 11.7308 15.6538 11.5C15.6538 10.4808 15.2997 9.61699 14.5913 8.90865C13.883 8.20032 13.0192 7.84615 12 7.84615C11.7692 7.84615 11.5625 7.86346 11.3798 7.89808C11.1971 7.9327 11.0282 7.98462 10.8731 8.05385L8.4192 5.61923C8.99997 5.4 9.591 5.24198 10.1923 5.14518C10.7936 5.0484 11.3961 5 12 5C14.1705 5 16.1558 5.59648 17.9558 6.78943C19.7558 7.98238 21.0782 9.55257 21.9231 11.5C21.5654 12.3039 21.1125 13.0593 20.5644 13.7664C20.0163 14.4734 19.3641 15.1244 18.6077 15.7192ZM14.6942 11.85L11.675 8.85C12.0904 8.76667 12.4939 8.79455 12.8856 8.93365C13.2772 9.07275 13.6147 9.2859 13.8981 9.57308C14.1942 9.86026 14.4144 10.2029 14.5586 10.601C14.7029 10.999 14.7481 11.4154 14.6942 11.85Z",
|
|
5792
5792
|
fill: t
|
|
5793
5793
|
}
|
|
5794
|
-
) }),
|
|
5794
|
+
) }), Jo = ({ slotProps: A, ...e }) => {
|
|
5795
5795
|
const [t, n] = z(!1), o = () => {
|
|
5796
5796
|
n((s) => !s);
|
|
5797
5797
|
}, i = (s) => {
|
|
@@ -5807,7 +5807,7 @@ const ro = ({ fontSize: A, sx: e, color: t = "currentColor" }) => /* @__PURE__ *
|
|
|
5807
5807
|
...A,
|
|
5808
5808
|
input: {
|
|
5809
5809
|
...A?.input,
|
|
5810
|
-
endAdornment: /* @__PURE__ */ r(
|
|
5810
|
+
endAdornment: /* @__PURE__ */ r(kA, { position: "end", children: /* @__PURE__ */ r(
|
|
5811
5811
|
gA,
|
|
5812
5812
|
{
|
|
5813
5813
|
"aria-label": t ? "hide the password" : "display the password",
|
|
@@ -5823,8 +5823,8 @@ const ro = ({ fontSize: A, sx: e, color: t = "currentColor" }) => /* @__PURE__ *
|
|
|
5823
5823
|
...e
|
|
5824
5824
|
}
|
|
5825
5825
|
);
|
|
5826
|
-
},
|
|
5827
|
-
const { breakpoints: n } = dA(), o = CA(null), i = YA(n.down("md")), a = e
|
|
5826
|
+
}, Go = ({ Main: A, Sidebar: e, AppBar: t }) => {
|
|
5827
|
+
const { breakpoints: n } = dA(), o = CA(null), i = YA(n.down("md")), a = wA(e) ? ot(e, { AppBar: t }) : e;
|
|
5828
5828
|
return /* @__PURE__ */ f(v, { height: "100%", children: [
|
|
5829
5829
|
!i && t,
|
|
5830
5830
|
/* @__PURE__ */ f(v, { height: "100%", direction: i ? "column" : "row", minHeight: 0, children: [
|
|
@@ -5849,8 +5849,8 @@ const ro = ({ fontSize: A, sx: e, color: t = "currentColor" }) => /* @__PURE__ *
|
|
|
5849
5849
|
fill: A,
|
|
5850
5850
|
d: "M4 18h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zm0-5h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1zM3 7c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1z"
|
|
5851
5851
|
}
|
|
5852
|
-
) }),
|
|
5853
|
-
const { openDrawerMenu: A, AppBar: e } = yA(KA), { palette: t } = dA(), n = t.mode === "dark" ? t.background.default : t.primary.black, o = e &&
|
|
5852
|
+
) }), po = (A, e) => ot(A, e), uo = () => {
|
|
5853
|
+
const { openDrawerMenu: A, AppBar: e } = yA(KA), { palette: t } = dA(), n = t.mode === "dark" ? t.background.default : t.primary.black, o = e && po(e, { onClickBurger: A });
|
|
5854
5854
|
return e ? o : /* @__PURE__ */ r(
|
|
5855
5855
|
Ze,
|
|
5856
5856
|
{
|
|
@@ -5863,7 +5863,7 @@ const ro = ({ fontSize: A, sx: e, color: t = "currentColor" }) => /* @__PURE__ *
|
|
|
5863
5863
|
children: /* @__PURE__ */ r(Fr, { component: v, direction: "row", spacing: 3, height: "100%", justifyContent: "space-between", children: /* @__PURE__ */ r(gA, { onClick: A, edge: "end", color: "inherit", "aria-label": "menu", children: /* @__PURE__ */ r(hr, {}) }) })
|
|
5864
5864
|
}
|
|
5865
5865
|
);
|
|
5866
|
-
},
|
|
5866
|
+
}, Co = ({ sx: A, color: e = "currentColor" }) => /* @__PURE__ */ r(uA, { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", sx: A, children: /* @__PURE__ */ r(
|
|
5867
5867
|
"path",
|
|
5868
5868
|
{
|
|
5869
5869
|
d: "M12 11.3334L8.66667 8.00002L12 4.66669M7.33333 11.3334L4 8.00002L7.33333 4.66669",
|
|
@@ -6050,7 +6050,7 @@ const ro = ({ fontSize: A, sx: e, color: t = "currentColor" }) => /* @__PURE__ *
|
|
|
6050
6050
|
width: "100%"
|
|
6051
6051
|
},
|
|
6052
6052
|
children: /* @__PURE__ */ r(
|
|
6053
|
-
|
|
6053
|
+
Co,
|
|
6054
6054
|
{
|
|
6055
6055
|
sx: {
|
|
6056
6056
|
transform: s ? "rotate(180deg) translateX(2px)" : "rotate(0deg)"
|
|
@@ -6119,7 +6119,7 @@ const ro = ({ fontSize: A, sx: e, color: t = "currentColor" }) => /* @__PURE__ *
|
|
|
6119
6119
|
const a = !(i && typeof i == "object" && "hideOnMobile" in i && n && i.hideOnMobile), s = !(i && typeof i == "object" && "hasAccess" in i && !i.hasAccess);
|
|
6120
6120
|
return a && s;
|
|
6121
6121
|
}).map((i, a) => {
|
|
6122
|
-
if (
|
|
6122
|
+
if (wA(i))
|
|
6123
6123
|
return i;
|
|
6124
6124
|
if (i && typeof i == "object" && "label" in i) {
|
|
6125
6125
|
const { count: s, url: c, label: d, icon: u, active: C, disabled: m, target: x } = i, g = `${c}-${d}-${a}`;
|
|
@@ -6127,7 +6127,7 @@ const ro = ({ fontSize: A, sx: e, color: t = "currentColor" }) => /* @__PURE__ *
|
|
|
6127
6127
|
u ? /* @__PURE__ */ r(U, { component: "div", sx: Me.iconWrapper, children: u }) : o && /* @__PURE__ */ r(U, { component: "div", sx: Me.iconWrapper, children: typeof d == "string" ? d.charAt(0) : "" }),
|
|
6128
6128
|
/* @__PURE__ */ r(et, { in: !o, children: /* @__PURE__ */ f(v, { direction: "row", justifyContent: "space-between", flex: 1, whiteSpace: "nowrap", children: [
|
|
6129
6129
|
d,
|
|
6130
|
-
s && /* @__PURE__ */ r(
|
|
6130
|
+
s && /* @__PURE__ */ r(UA, { color: "warning", size: "small", label: s, variant: "rounded" })
|
|
6131
6131
|
] }) })
|
|
6132
6132
|
] }) }) }, g);
|
|
6133
6133
|
}
|
|
@@ -6144,13 +6144,13 @@ const ro = ({ fontSize: A, sx: e, color: t = "currentColor" }) => /* @__PURE__ *
|
|
|
6144
6144
|
},
|
|
6145
6145
|
toggleCollapse: () => {
|
|
6146
6146
|
}
|
|
6147
|
-
}, KA = Qe(_e),
|
|
6147
|
+
}, KA = Qe(_e), go = () => {
|
|
6148
6148
|
const { items: A, disableResponsive: e, isMobile: t, isTablet: n, isDrawerOpen: o, closeDrawerMenu: i, sideBarWidth: a, openDrawerMenu: s } = yA(KA);
|
|
6149
6149
|
return (t || n) && !e ? /* @__PURE__ */ f(fA, { children: [
|
|
6150
|
-
/* @__PURE__ */ r(
|
|
6150
|
+
/* @__PURE__ */ r(uo, {}),
|
|
6151
6151
|
/* @__PURE__ */ r(Lr, { anchor: "left", open: o, onClose: i, onOpen: s, children: /* @__PURE__ */ r(Wt, { children: /* @__PURE__ */ r(Zt, { items: A }) }) })
|
|
6152
6152
|
] }) : /* @__PURE__ */ r(Wt, { width: a, children: /* @__PURE__ */ r(Zt, { items: A }) });
|
|
6153
|
-
},
|
|
6153
|
+
}, ho = ({
|
|
6154
6154
|
AppBar: A,
|
|
6155
6155
|
NavLink: e,
|
|
6156
6156
|
Search: t,
|
|
@@ -6211,8 +6211,8 @@ const ro = ({ fontSize: A, sx: e, color: t = "currentColor" }) => /* @__PURE__ *
|
|
|
6211
6211
|
I
|
|
6212
6212
|
]
|
|
6213
6213
|
);
|
|
6214
|
-
return /* @__PURE__ */ r(KA.Provider, { value: l, children: /* @__PURE__ */ r(
|
|
6215
|
-
},
|
|
6214
|
+
return /* @__PURE__ */ r(KA.Provider, { value: l, children: /* @__PURE__ */ r(go, {}) });
|
|
6215
|
+
}, Xo = Xt(ho), fo = ({ children: A, value: e, index: t, orientation: n, paddingY: o, paddingX: i, fullHeight: a, sx: s }, c) => {
|
|
6216
6216
|
const d = o || 3, u = i || n === "vertical" ? 3 : 0;
|
|
6217
6217
|
return e === t ? /* @__PURE__ */ r(
|
|
6218
6218
|
U,
|
|
@@ -6228,7 +6228,7 @@ const ro = ({ fontSize: A, sx: e, color: t = "currentColor" }) => /* @__PURE__ *
|
|
|
6228
6228
|
children: A
|
|
6229
6229
|
}
|
|
6230
6230
|
) : null;
|
|
6231
|
-
},
|
|
6231
|
+
}, Yo = iA(fo), jo = ({ component: A = "a", ...e }) => /* @__PURE__ */ r(Dr, { component: A, onClick: (t) => t.preventDefault(), ...e }), mo = "appBarAvatarMenu", zo = ({
|
|
6232
6232
|
Avatar: A,
|
|
6233
6233
|
Search: e,
|
|
6234
6234
|
Action: t,
|
|
@@ -6301,7 +6301,7 @@ const ro = ({ fontSize: A, sx: e, color: t = "currentColor" }) => /* @__PURE__ *
|
|
|
6301
6301
|
b && /* @__PURE__ */ r(Nt, { sx: { zIndex: (q) => q.zIndex.drawer + 1 }, open: E, onClick: h, children: /* @__PURE__ */ r(
|
|
6302
6302
|
Pt,
|
|
6303
6303
|
{
|
|
6304
|
-
id:
|
|
6304
|
+
id: mo,
|
|
6305
6305
|
anchorEl: y,
|
|
6306
6306
|
open: E,
|
|
6307
6307
|
onClose: h,
|
|
@@ -6318,7 +6318,7 @@ const ro = ({ fontSize: A, sx: e, color: t = "currentColor" }) => /* @__PURE__ *
|
|
|
6318
6318
|
}
|
|
6319
6319
|
},
|
|
6320
6320
|
children: b?.map((q, M) => {
|
|
6321
|
-
if (
|
|
6321
|
+
if (wA(q)) {
|
|
6322
6322
|
if (q.key)
|
|
6323
6323
|
return q;
|
|
6324
6324
|
const J = `${b}-${M}`;
|
|
@@ -6336,7 +6336,7 @@ const ro = ({ fontSize: A, sx: e, color: t = "currentColor" }) => /* @__PURE__ *
|
|
|
6336
6336
|
}
|
|
6337
6337
|
) })
|
|
6338
6338
|
] });
|
|
6339
|
-
},
|
|
6339
|
+
}, bo = ({
|
|
6340
6340
|
in: A,
|
|
6341
6341
|
children: e,
|
|
6342
6342
|
sx: t,
|
|
@@ -6375,7 +6375,7 @@ const ro = ({ fontSize: A, sx: e, color: t = "currentColor" }) => /* @__PURE__ *
|
|
|
6375
6375
|
...c,
|
|
6376
6376
|
children: e
|
|
6377
6377
|
}
|
|
6378
|
-
) }),
|
|
6378
|
+
) }), _o = iA(bo), Eo = ({ children: A, sx: e, ...t }, n) => /* @__PURE__ */ r(
|
|
6379
6379
|
LA,
|
|
6380
6380
|
{
|
|
6381
6381
|
sx: {
|
|
@@ -6395,12 +6395,12 @@ const ro = ({ fontSize: A, sx: e, color: t = "currentColor" }) => /* @__PURE__ *
|
|
|
6395
6395
|
...t,
|
|
6396
6396
|
children: A
|
|
6397
6397
|
}
|
|
6398
|
-
),
|
|
6398
|
+
), $o = iA(Eo), xo = {
|
|
6399
6399
|
disabledPermissions: void 0,
|
|
6400
6400
|
permissions: void 0,
|
|
6401
6401
|
setPermissions: () => {
|
|
6402
6402
|
}
|
|
6403
|
-
}, fr = Qe(
|
|
6403
|
+
}, fr = Qe(xo), $e = "or", Te = (A, e) => A === "" || !e.length ? !1 : e.some((t) => A === t), Io = () => {
|
|
6404
6404
|
const { permissions: A, setPermissions: e, disabledPermissions: t } = yA(fr), n = oA(
|
|
6405
6405
|
(i, a, s = $e) => {
|
|
6406
6406
|
const d = [...a || [], ...A || []].filter((u) => !t?.includes(u));
|
|
@@ -6420,16 +6420,16 @@ const ro = ({ fontSize: A, sx: e, color: t = "currentColor" }) => /* @__PURE__ *
|
|
|
6420
6420
|
permissions: A,
|
|
6421
6421
|
setPermissions: e
|
|
6422
6422
|
};
|
|
6423
|
-
},
|
|
6423
|
+
}, Ai = ({
|
|
6424
6424
|
children: A,
|
|
6425
6425
|
fallback: e,
|
|
6426
6426
|
name: t,
|
|
6427
6427
|
additionalPermissions: n,
|
|
6428
6428
|
permissionCheckMode: o = $e
|
|
6429
6429
|
}) => {
|
|
6430
|
-
const { hasPermission: i } =
|
|
6430
|
+
const { hasPermission: i } = Io(), a = i(t, n, o);
|
|
6431
6431
|
return a ? A : !a && e ? e : null;
|
|
6432
|
-
},
|
|
6432
|
+
}, ei = ({ children: A, permissions: e, disabledPermissions: t }) => {
|
|
6433
6433
|
const [n, o] = z(), i = jA(
|
|
6434
6434
|
() => ({
|
|
6435
6435
|
disabledPermissions: t,
|
|
@@ -6441,7 +6441,7 @@ const ro = ({ fontSize: A, sx: e, color: t = "currentColor" }) => /* @__PURE__ *
|
|
|
6441
6441
|
return re(() => {
|
|
6442
6442
|
o(e);
|
|
6443
6443
|
}, [e]), /* @__PURE__ */ r(fr.Provider, { value: i, children: A });
|
|
6444
|
-
},
|
|
6444
|
+
}, So = {
|
|
6445
6445
|
component: void 0,
|
|
6446
6446
|
isOpen: !1,
|
|
6447
6447
|
message: "",
|
|
@@ -6453,12 +6453,12 @@ const ro = ({ fontSize: A, sx: e, color: t = "currentColor" }) => /* @__PURE__ *
|
|
|
6453
6453
|
isOpen: !1,
|
|
6454
6454
|
openSnackbar: () => {
|
|
6455
6455
|
}
|
|
6456
|
-
}),
|
|
6456
|
+
}), ti = ({
|
|
6457
6457
|
children: A,
|
|
6458
6458
|
autoHideDuration: e = 5e3,
|
|
6459
6459
|
anchorOrigin: t = { horizontal: "center", vertical: "bottom" }
|
|
6460
6460
|
}) => {
|
|
6461
|
-
const [n, o] = z(
|
|
6461
|
+
const [n, o] = z(So), i = oA((c) => {
|
|
6462
6462
|
o({
|
|
6463
6463
|
component: c?.component,
|
|
6464
6464
|
isOpen: !0,
|
|
@@ -6490,7 +6490,7 @@ const ro = ({ fontSize: A, sx: e, color: t = "currentColor" }) => /* @__PURE__ *
|
|
|
6490
6490
|
),
|
|
6491
6491
|
A
|
|
6492
6492
|
] });
|
|
6493
|
-
},
|
|
6493
|
+
}, ri = () => {
|
|
6494
6494
|
const A = yA(mr), { isOpen: e, closeSnackbar: t, openSnackbar: n } = A;
|
|
6495
6495
|
if (A === void 0)
|
|
6496
6496
|
throw new Error("SnackbarProvider must be used within a useSnackBar hook");
|
|
@@ -6499,7 +6499,7 @@ const ro = ({ fontSize: A, sx: e, color: t = "currentColor" }) => /* @__PURE__ *
|
|
|
6499
6499
|
isOpen: e,
|
|
6500
6500
|
openSnackbar: n
|
|
6501
6501
|
};
|
|
6502
|
-
},
|
|
6502
|
+
}, ni = () => {
|
|
6503
6503
|
const [A, e] = z(0);
|
|
6504
6504
|
return {
|
|
6505
6505
|
handleChange: oA((n, o) => {
|
|
@@ -6507,55 +6507,55 @@ const ro = ({ fontSize: A, sx: e, color: t = "currentColor" }) => /* @__PURE__ *
|
|
|
6507
6507
|
}, []),
|
|
6508
6508
|
value: A
|
|
6509
6509
|
};
|
|
6510
|
-
},
|
|
6510
|
+
}, oi = (A) => `linear-gradient(${hA("#fff", +We(A))}, ${hA("#fff", +We(A))})`;
|
|
6511
6511
|
export {
|
|
6512
6512
|
Dt as ActionAppBar,
|
|
6513
|
-
|
|
6513
|
+
zo as AppBar,
|
|
6514
6514
|
z1 as ArticleImage,
|
|
6515
|
-
|
|
6515
|
+
Oo as AutocompleteFilter,
|
|
6516
6516
|
xe as Avatar,
|
|
6517
6517
|
$1 as AvatarAppBar,
|
|
6518
|
-
|
|
6519
|
-
|
|
6518
|
+
Go as Backoffice,
|
|
6519
|
+
_o as BottomFixedPaper,
|
|
6520
6520
|
Ye as Button,
|
|
6521
|
-
|
|
6521
|
+
$o as CardModal,
|
|
6522
6522
|
Ge as Chip,
|
|
6523
|
-
|
|
6523
|
+
Wo as ChipFilter,
|
|
6524
6524
|
$e as DEFAULT_PERMISSION_CHECK_MODE,
|
|
6525
6525
|
Hn as DialogCloseIcon,
|
|
6526
|
-
|
|
6527
|
-
|
|
6528
|
-
|
|
6526
|
+
Do as DialogPopper,
|
|
6527
|
+
Ko as DialogValidation,
|
|
6528
|
+
Zo as File,
|
|
6529
6529
|
Ie as FileViewer,
|
|
6530
|
-
|
|
6531
|
-
|
|
6530
|
+
Ai as HasPermission,
|
|
6531
|
+
qo as Kanban,
|
|
6532
6532
|
lr as Lightbox,
|
|
6533
|
-
|
|
6534
|
-
|
|
6535
|
-
|
|
6536
|
-
|
|
6533
|
+
jo as LinkTab,
|
|
6534
|
+
Uo as ListAvatar,
|
|
6535
|
+
Uo as ListAvatars,
|
|
6536
|
+
ko as ListItemCard,
|
|
6537
6537
|
Kn as Logo,
|
|
6538
|
-
|
|
6538
|
+
Xo as NavigationMenu,
|
|
6539
6539
|
KA as NavigationMenuContext,
|
|
6540
|
-
|
|
6541
|
-
|
|
6540
|
+
ei as PermissionProvider,
|
|
6541
|
+
Ho as QuantityField,
|
|
6542
6542
|
mr as SnackbarContext,
|
|
6543
|
-
|
|
6543
|
+
ti as SnackbarProvider,
|
|
6544
6544
|
Ce as StatusIcon,
|
|
6545
|
-
|
|
6546
|
-
|
|
6545
|
+
Yo as TabPanel,
|
|
6546
|
+
No as TextArea,
|
|
6547
6547
|
ao as TextFieldAppBar,
|
|
6548
|
-
|
|
6549
|
-
|
|
6550
|
-
|
|
6551
|
-
|
|
6552
|
-
|
|
6548
|
+
Po as TextFieldAutosize,
|
|
6549
|
+
Jo as TextFieldPassword,
|
|
6550
|
+
To as ThemeProvider,
|
|
6551
|
+
Fo as TimeLine,
|
|
6552
|
+
Lo as TypographySkeleton,
|
|
6553
6553
|
En as defaultKanbanChip,
|
|
6554
|
-
|
|
6554
|
+
oi as getBackgroundImageElevation,
|
|
6555
6555
|
P as pxToRem,
|
|
6556
|
-
|
|
6556
|
+
Mo as theme,
|
|
6557
6557
|
gr as useMenu,
|
|
6558
|
-
|
|
6559
|
-
|
|
6560
|
-
|
|
6558
|
+
Io as usePermission,
|
|
6559
|
+
ri as useSnackbar,
|
|
6560
|
+
ni as useTabs
|
|
6561
6561
|
};
|