@getsoren/design-system 4.56.0 → 4.56.1
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 +1 -1
- package/dist/main.js +280 -274
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as yn, c as vo, i as Cn, n as _n, o as xn, r as En, s as Sn, t as tf } from "./grey-BAzK6S76.js";
|
|
2
|
-
import { Alert as Wl, AppBar as el, Autocomplete as rf, Avatar as uo, Backdrop as nf, Badge as of, Box as
|
|
2
|
+
import { Alert as Wl, AppBar as el, Autocomplete as rf, Avatar as uo, Backdrop as nf, Badge as of, Box as Z, Button as bo, Card as jn, CardContent as Ou, Checkbox as va, Chip as kr, CircularProgress as Kl, Collapse as tl, Container as Ps, CssBaseline as af, Dialog as lf, DialogActions as sf, DialogContent as df, DialogContentText as uf, Divider as Po, Fade as jl, GlobalStyles as Ln, IconButton as it, InputAdornment as Fn, InputLabel as cf, List as yo, ListItem as Cr, ListItemAvatar as pf, ListItemButton as ba, ListItemIcon as Bu, ListItemText as Gr, Menu as Pu, MenuItem as Mu, Modal as ff, Paper as Hl, Popper as Af, Radio as hf, Skeleton as ht, Slide as gf, Snackbar as mf, Stack as ae, SvgIcon as It, SwipeableDrawer as vf, Tab as bf, TextField as Mo, TextareaAutosize as yf, ThemeProvider as Cf, ToggleButton as Jo, ToggleButtonGroup as xf, Toolbar as Ef, Tooltip as wt, Typography as ge, alpha as Bt, createTheme as Pn, css as ya, getOverlayAlpha as rl, responsiveFontSizes as Gl, useMediaQuery as un, useTheme as vt } from "@mui/material";
|
|
3
3
|
import * as I from "react";
|
|
4
4
|
import Or, { Children as Du, cloneElement as sn, createContext as qa, forwardRef as Tt, isValidElement as Rt, memo as Wa, useCallback as Fe, useContext as sr, useEffect as Mt, useImperativeHandle as Vu, useMemo as mr, useRef as Ze, useState as Ve } from "react";
|
|
5
5
|
import * as Co from "react/jsx-runtime";
|
|
@@ -674,7 +674,7 @@ var fA = /* @__PURE__ */ yt((e) => {
|
|
|
674
674
|
function j(F) {
|
|
675
675
|
return S(F) === s;
|
|
676
676
|
}
|
|
677
|
-
function
|
|
677
|
+
function X(F) {
|
|
678
678
|
return typeof F == "object" && F !== null && F.$$typeof === r;
|
|
679
679
|
}
|
|
680
680
|
function U(F) {
|
|
@@ -701,7 +701,7 @@ var fA = /* @__PURE__ */ yt((e) => {
|
|
|
701
701
|
function de(F) {
|
|
702
702
|
return S(F) === v;
|
|
703
703
|
}
|
|
704
|
-
e.AsyncMode = y, e.ConcurrentMode = T, e.ContextConsumer = D, e.ContextProvider = B, e.Element = P, e.ForwardRef = R, e.Fragment = m, e.Lazy = k, e.Memo = M, e.Portal = Q, e.Profiler = V, e.StrictMode = $, e.Suspense = z, e.isAsyncMode = ee, e.isConcurrentMode = G, e.isContextConsumer = L, e.isContextProvider = j, e.isElement =
|
|
704
|
+
e.AsyncMode = y, e.ConcurrentMode = T, e.ContextConsumer = D, e.ContextProvider = B, e.Element = P, e.ForwardRef = R, e.Fragment = m, e.Lazy = k, e.Memo = M, e.Portal = Q, e.Profiler = V, e.StrictMode = $, e.Suspense = z, e.isAsyncMode = ee, e.isConcurrentMode = G, e.isContextConsumer = L, e.isContextProvider = j, e.isElement = X, e.isForwardRef = U, e.isFragment = H, e.isLazy = re, e.isMemo = ue, e.isPortal = Y, e.isProfiler = _, e.isStrictMode = ne, e.isSuspense = de, e.isValidElementType = x, e.typeOf = S;
|
|
705
705
|
}();
|
|
706
706
|
}), hA = /* @__PURE__ */ yt((e, t) => {
|
|
707
707
|
process.env.NODE_ENV === "production" ? t.exports = fA() : t.exports = AA();
|
|
@@ -1022,7 +1022,7 @@ var Yu = /* @__PURE__ */ I.createContext(typeof HTMLElement < "u" ? /* @__PURE__
|
|
|
1022
1022
|
}, Vo = Tt(({ secondarySrc: e, secondaryAvatarProps: t, showSecondaryAvatar: r, size: o, sx: a, ...i }, l) => {
|
|
1023
1023
|
if (r !== !1 && (e || r || t)) {
|
|
1024
1024
|
const { sx: s, ...u } = t || {}, c = o ? St[o].primary : xa(sl(a) ? a.width : void 0), p = o ? St[o].primary : xa(sl(a) ? a.height : void 0), A = PA(a, o), v = A.width / 3, f = A.height / 3;
|
|
1025
|
-
return /* @__PURE__ */ O(
|
|
1025
|
+
return /* @__PURE__ */ O(Z, {
|
|
1026
1026
|
sx: {
|
|
1027
1027
|
display: "flex",
|
|
1028
1028
|
height: p + v,
|
|
@@ -1433,26 +1433,26 @@ var MA = (e, t) => {
|
|
|
1433
1433
|
position: "absolute",
|
|
1434
1434
|
width: "1px",
|
|
1435
1435
|
zIndex: 0
|
|
1436
|
-
}), ec = ({ variant: e, gap: t }) => /* @__PURE__ */ O(mt, { children: [e !== "top" && /* @__PURE__ */ d(
|
|
1436
|
+
}), ec = ({ variant: e, gap: t }) => /* @__PURE__ */ O(mt, { children: [e !== "top" && /* @__PURE__ */ d(Z, {
|
|
1437
1437
|
"aria-hidden": !0,
|
|
1438
1438
|
sx: (r) => ({
|
|
1439
1439
|
...dl(r),
|
|
1440
1440
|
height: t[0],
|
|
1441
1441
|
top: 0
|
|
1442
1442
|
})
|
|
1443
|
-
}), e !== "bottom" && /* @__PURE__ */ d(
|
|
1443
|
+
}), e !== "bottom" && /* @__PURE__ */ d(Z, {
|
|
1444
1444
|
"aria-hidden": !0,
|
|
1445
1445
|
sx: (r) => ({
|
|
1446
1446
|
...dl(r),
|
|
1447
1447
|
bottom: 0,
|
|
1448
1448
|
top: t[1]
|
|
1449
1449
|
})
|
|
1450
|
-
})] }), Di = ({ height: e }) => /* @__PURE__ */ d(
|
|
1450
|
+
})] }), Di = ({ height: e }) => /* @__PURE__ */ d(Z, {
|
|
1451
1451
|
sx: {
|
|
1452
1452
|
height: e,
|
|
1453
1453
|
position: "relative"
|
|
1454
1454
|
},
|
|
1455
|
-
children: /* @__PURE__ */ d(
|
|
1455
|
+
children: /* @__PURE__ */ d(Z, {
|
|
1456
1456
|
"aria-hidden": !0,
|
|
1457
1457
|
sx: (t) => ({
|
|
1458
1458
|
...dl(t),
|
|
@@ -1460,7 +1460,7 @@ var MA = (e, t) => {
|
|
|
1460
1460
|
top: 0
|
|
1461
1461
|
})
|
|
1462
1462
|
})
|
|
1463
|
-
}), WA = ({ icon: e, reached: t }) => /* @__PURE__ */ d(
|
|
1463
|
+
}), WA = ({ icon: e, reached: t }) => /* @__PURE__ */ d(Z, {
|
|
1464
1464
|
sx: {
|
|
1465
1465
|
alignItems: "center",
|
|
1466
1466
|
display: "flex",
|
|
@@ -1468,7 +1468,7 @@ var MA = (e, t) => {
|
|
|
1468
1468
|
justifyContent: "center",
|
|
1469
1469
|
width: 34
|
|
1470
1470
|
},
|
|
1471
|
-
children: /* @__PURE__ */ d(
|
|
1471
|
+
children: /* @__PURE__ */ d(Z, {
|
|
1472
1472
|
sx: {
|
|
1473
1473
|
"& svg": { fontSize: 15 },
|
|
1474
1474
|
alignItems: "center",
|
|
@@ -1496,14 +1496,14 @@ var MA = (e, t) => {
|
|
|
1496
1496
|
variant: r,
|
|
1497
1497
|
gap: UA
|
|
1498
1498
|
}),
|
|
1499
|
-
/* @__PURE__ */ d(
|
|
1499
|
+
/* @__PURE__ */ d(Z, {
|
|
1500
1500
|
sx: {
|
|
1501
1501
|
display: "flex",
|
|
1502
1502
|
flexShrink: 0,
|
|
1503
1503
|
justifyContent: "center",
|
|
1504
1504
|
width: 40
|
|
1505
1505
|
},
|
|
1506
|
-
children: /* @__PURE__ */ d(
|
|
1506
|
+
children: /* @__PURE__ */ d(Z, {
|
|
1507
1507
|
sx: {
|
|
1508
1508
|
display: "flex",
|
|
1509
1509
|
mt: "1px",
|
|
@@ -1515,7 +1515,7 @@ var MA = (e, t) => {
|
|
|
1515
1515
|
})
|
|
1516
1516
|
})
|
|
1517
1517
|
}),
|
|
1518
|
-
/* @__PURE__ */ O(
|
|
1518
|
+
/* @__PURE__ */ O(Z, {
|
|
1519
1519
|
sx: { pl: "12px" },
|
|
1520
1520
|
children: [
|
|
1521
1521
|
e.overline && /* @__PURE__ */ d(ge, {
|
|
@@ -1544,7 +1544,7 @@ var MA = (e, t) => {
|
|
|
1544
1544
|
children: ` ${e.titleSuffix}`
|
|
1545
1545
|
})]
|
|
1546
1546
|
}),
|
|
1547
|
-
e.content && /* @__PURE__ */ d(
|
|
1547
|
+
e.content && /* @__PURE__ */ d(Z, {
|
|
1548
1548
|
sx: { mt: 0.5 },
|
|
1549
1549
|
children: e.content
|
|
1550
1550
|
})
|
|
@@ -1711,7 +1711,7 @@ var MA = (e, t) => {
|
|
|
1711
1711
|
function j(F) {
|
|
1712
1712
|
return S(F) === s;
|
|
1713
1713
|
}
|
|
1714
|
-
function
|
|
1714
|
+
function X(F) {
|
|
1715
1715
|
return typeof F == "object" && F !== null && F.$$typeof === r;
|
|
1716
1716
|
}
|
|
1717
1717
|
function U(F) {
|
|
@@ -1738,7 +1738,7 @@ var MA = (e, t) => {
|
|
|
1738
1738
|
function de(F) {
|
|
1739
1739
|
return S(F) === v;
|
|
1740
1740
|
}
|
|
1741
|
-
e.AsyncMode = y, e.ConcurrentMode = T, e.ContextConsumer = D, e.ContextProvider = B, e.Element = P, e.ForwardRef = R, e.Fragment = m, e.Lazy = k, e.Memo = M, e.Portal = Q, e.Profiler = V, e.StrictMode = $, e.Suspense = z, e.isAsyncMode = ee, e.isConcurrentMode = G, e.isContextConsumer = L, e.isContextProvider = j, e.isElement =
|
|
1741
|
+
e.AsyncMode = y, e.ConcurrentMode = T, e.ContextConsumer = D, e.ContextProvider = B, e.Element = P, e.ForwardRef = R, e.Fragment = m, e.Lazy = k, e.Memo = M, e.Portal = Q, e.Profiler = V, e.StrictMode = $, e.Suspense = z, e.isAsyncMode = ee, e.isConcurrentMode = G, e.isContextConsumer = L, e.isContextProvider = j, e.isElement = X, e.isForwardRef = U, e.isFragment = H, e.isLazy = re, e.isMemo = ue, e.isPortal = Y, e.isProfiler = _, e.isStrictMode = ne, e.isSuspense = de, e.isValidElementType = x, e.typeOf = S;
|
|
1742
1742
|
}();
|
|
1743
1743
|
}), rc = /* @__PURE__ */ yt((e, t) => {
|
|
1744
1744
|
process.env.NODE_ENV === "production" ? t.exports = HA() : t.exports = GA();
|
|
@@ -1869,7 +1869,7 @@ var MA = (e, t) => {
|
|
|
1869
1869
|
E.prototype = Error.prototype;
|
|
1870
1870
|
function w(L) {
|
|
1871
1871
|
if (process.env.NODE_ENV !== "production")
|
|
1872
|
-
var j = {},
|
|
1872
|
+
var j = {}, X = 0;
|
|
1873
1873
|
function U(re, ue, Y, _, ne, de, F) {
|
|
1874
1874
|
if (_ = _ || b, de = de || Y, F !== a) {
|
|
1875
1875
|
if (p) {
|
|
@@ -1877,7 +1877,7 @@ var MA = (e, t) => {
|
|
|
1877
1877
|
throw se.name = "Invariant Violation", se;
|
|
1878
1878
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
1879
1879
|
var he = _ + ":" + Y;
|
|
1880
|
-
!j[he] &&
|
|
1880
|
+
!j[he] && X < 3 && (s("You are manually calling a React.PropTypes validation function for the `" + de + "` prop on `" + _ + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."), j[he] = !0, X++);
|
|
1881
1881
|
}
|
|
1882
1882
|
}
|
|
1883
1883
|
return ue[Y] == null ? re ? ue[Y] === null ? new E("The " + ne + " `" + de + "` is marked as required " + ("in `" + _ + "`, but its value is `null`.")) : new E("The " + ne + " `" + de + "` is marked as required in " + ("`" + _ + "`, but its value is `undefined`.")) : null : L(ue, Y, _, ne, de);
|
|
@@ -1886,8 +1886,8 @@ var MA = (e, t) => {
|
|
|
1886
1886
|
return H.isRequired = U.bind(null, !0), H;
|
|
1887
1887
|
}
|
|
1888
1888
|
function C(L) {
|
|
1889
|
-
function j(
|
|
1890
|
-
var _ =
|
|
1889
|
+
function j(X, U, H, re, ue, Y) {
|
|
1890
|
+
var _ = X[U];
|
|
1891
1891
|
if (z(_) !== L) {
|
|
1892
1892
|
var ne = te(_);
|
|
1893
1893
|
return new E("Invalid " + re + " `" + ue + "` of type " + ("`" + ne + "` supplied to `" + H + "`, expected ") + ("`" + L + "`."), { expectedType: L });
|
|
@@ -1900,9 +1900,9 @@ var MA = (e, t) => {
|
|
|
1900
1900
|
return w(u);
|
|
1901
1901
|
}
|
|
1902
1902
|
function S(L) {
|
|
1903
|
-
function j(
|
|
1903
|
+
function j(X, U, H, re, ue) {
|
|
1904
1904
|
if (typeof L != "function") return new E("Property `" + ue + "` of component `" + H + "` has invalid PropType notation inside arrayOf.");
|
|
1905
|
-
var Y =
|
|
1905
|
+
var Y = X[U];
|
|
1906
1906
|
if (!Array.isArray(Y)) {
|
|
1907
1907
|
var _ = z(Y);
|
|
1908
1908
|
return new E("Invalid " + re + " `" + ue + "` of type " + ("`" + _ + "` supplied to `" + H + "`, expected an array."));
|
|
@@ -1916,8 +1916,8 @@ var MA = (e, t) => {
|
|
|
1916
1916
|
return w(j);
|
|
1917
1917
|
}
|
|
1918
1918
|
function y() {
|
|
1919
|
-
function L(j,
|
|
1920
|
-
var ue = j[
|
|
1919
|
+
function L(j, X, U, H, re) {
|
|
1920
|
+
var ue = j[X];
|
|
1921
1921
|
if (!c(ue)) {
|
|
1922
1922
|
var Y = z(ue);
|
|
1923
1923
|
return new E("Invalid " + H + " `" + re + "` of type " + ("`" + Y + "` supplied to `" + U + "`, expected a single ReactElement."));
|
|
@@ -1927,8 +1927,8 @@ var MA = (e, t) => {
|
|
|
1927
1927
|
return w(L);
|
|
1928
1928
|
}
|
|
1929
1929
|
function T() {
|
|
1930
|
-
function L(j,
|
|
1931
|
-
var ue = j[
|
|
1930
|
+
function L(j, X, U, H, re) {
|
|
1931
|
+
var ue = j[X];
|
|
1932
1932
|
if (!r.isValidElementType(ue)) {
|
|
1933
1933
|
var Y = z(ue);
|
|
1934
1934
|
return new E("Invalid " + H + " `" + re + "` of type " + ("`" + Y + "` supplied to `" + U + "`, expected a single ReactElement type."));
|
|
@@ -1938,9 +1938,9 @@ var MA = (e, t) => {
|
|
|
1938
1938
|
return w(L);
|
|
1939
1939
|
}
|
|
1940
1940
|
function D(L) {
|
|
1941
|
-
function j(
|
|
1942
|
-
if (!(
|
|
1943
|
-
var Y = L.name || b, _ = G(
|
|
1941
|
+
function j(X, U, H, re, ue) {
|
|
1942
|
+
if (!(X[U] instanceof L)) {
|
|
1943
|
+
var Y = L.name || b, _ = G(X[U]);
|
|
1944
1944
|
return new E("Invalid " + re + " `" + ue + "` of type " + ("`" + _ + "` supplied to `" + H + "`, expected ") + ("instance of `" + Y + "`."));
|
|
1945
1945
|
}
|
|
1946
1946
|
return null;
|
|
@@ -1950,8 +1950,8 @@ var MA = (e, t) => {
|
|
|
1950
1950
|
function B(L) {
|
|
1951
1951
|
if (!Array.isArray(L))
|
|
1952
1952
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? s("Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).") : s("Invalid argument supplied to oneOf, expected an array.")), u;
|
|
1953
|
-
function j(
|
|
1954
|
-
for (var Y =
|
|
1953
|
+
function j(X, U, H, re, ue) {
|
|
1954
|
+
for (var Y = X[U], _ = 0; _ < L.length; _++) if (h(Y, L[_])) return null;
|
|
1955
1955
|
var ne = JSON.stringify(L, function(F, se) {
|
|
1956
1956
|
return te(se) === "symbol" ? String(se) : se;
|
|
1957
1957
|
});
|
|
@@ -1960,9 +1960,9 @@ var MA = (e, t) => {
|
|
|
1960
1960
|
return w(j);
|
|
1961
1961
|
}
|
|
1962
1962
|
function P(L) {
|
|
1963
|
-
function j(
|
|
1963
|
+
function j(X, U, H, re, ue) {
|
|
1964
1964
|
if (typeof L != "function") return new E("Property `" + ue + "` of component `" + H + "` has invalid PropType notation inside objectOf.");
|
|
1965
|
-
var Y =
|
|
1965
|
+
var Y = X[U], _ = z(Y);
|
|
1966
1966
|
if (_ !== "object") return new E("Invalid " + re + " `" + ue + "` of type " + ("`" + _ + "` supplied to `" + H + "`, expected an object."));
|
|
1967
1967
|
for (var ne in Y) if (i(Y, ne)) {
|
|
1968
1968
|
var de = L(Y, ne, H, re, ue + "." + ne, a);
|
|
@@ -1976,9 +1976,9 @@ var MA = (e, t) => {
|
|
|
1976
1976
|
if (!Array.isArray(L))
|
|
1977
1977
|
return process.env.NODE_ENV !== "production" && s("Invalid argument supplied to oneOfType, expected an instance of array."), u;
|
|
1978
1978
|
for (var j = 0; j < L.length; j++) {
|
|
1979
|
-
var
|
|
1980
|
-
if (typeof
|
|
1981
|
-
return s("Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ee(
|
|
1979
|
+
var X = L[j];
|
|
1980
|
+
if (typeof X != "function")
|
|
1981
|
+
return s("Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ee(X) + " at index " + j + "."), u;
|
|
1982
1982
|
}
|
|
1983
1983
|
function U(H, re, ue, Y, _) {
|
|
1984
1984
|
for (var ne = [], de = 0; de < L.length; de++) {
|
|
@@ -1992,17 +1992,17 @@ var MA = (e, t) => {
|
|
|
1992
1992
|
return w(U);
|
|
1993
1993
|
}
|
|
1994
1994
|
function m() {
|
|
1995
|
-
function L(j,
|
|
1996
|
-
return V(j[
|
|
1995
|
+
function L(j, X, U, H, re) {
|
|
1996
|
+
return V(j[X]) ? null : new E("Invalid " + H + " `" + re + "` supplied to " + ("`" + U + "`, expected a ReactNode."));
|
|
1997
1997
|
}
|
|
1998
1998
|
return w(L);
|
|
1999
1999
|
}
|
|
2000
|
-
function k(L, j,
|
|
2001
|
-
return new E((L || "React class") + ": " + j + " type `" +
|
|
2000
|
+
function k(L, j, X, U, H) {
|
|
2001
|
+
return new E((L || "React class") + ": " + j + " type `" + X + "." + U + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + H + "`.");
|
|
2002
2002
|
}
|
|
2003
2003
|
function M(L) {
|
|
2004
|
-
function j(
|
|
2005
|
-
var Y =
|
|
2004
|
+
function j(X, U, H, re, ue) {
|
|
2005
|
+
var Y = X[U], _ = z(Y);
|
|
2006
2006
|
if (_ !== "object") return new E("Invalid " + re + " `" + ue + "` of type `" + _ + "` " + ("supplied to `" + H + "`, expected `object`."));
|
|
2007
2007
|
for (var ne in L) {
|
|
2008
2008
|
var de = L[ne];
|
|
@@ -2015,13 +2015,13 @@ var MA = (e, t) => {
|
|
|
2015
2015
|
return w(j);
|
|
2016
2016
|
}
|
|
2017
2017
|
function Q(L) {
|
|
2018
|
-
function j(
|
|
2019
|
-
var Y =
|
|
2018
|
+
function j(X, U, H, re, ue) {
|
|
2019
|
+
var Y = X[U], _ = z(Y);
|
|
2020
2020
|
if (_ !== "object") return new E("Invalid " + re + " `" + ue + "` of type `" + _ + "` " + ("supplied to `" + H + "`, expected `object`."));
|
|
2021
|
-
for (var ne in o({},
|
|
2021
|
+
for (var ne in o({}, X[U], L)) {
|
|
2022
2022
|
var de = L[ne];
|
|
2023
2023
|
if (i(L, ne) && typeof de != "function") return k(H, re, ue, ne, te(de));
|
|
2024
|
-
if (!de) return new E("Invalid " + re + " `" + ue + "` key `" + ne + "` supplied to `" + H + "`.\nBad object: " + JSON.stringify(
|
|
2024
|
+
if (!de) return new E("Invalid " + re + " `" + ue + "` key `" + ne + "` supplied to `" + H + "`.\nBad object: " + JSON.stringify(X[U], null, " ") + `
|
|
2025
2025
|
Valid keys: ` + JSON.stringify(Object.keys(L), null, " "));
|
|
2026
2026
|
var F = de(Y, ne, H, re, ue + "." + ne, a);
|
|
2027
2027
|
if (F) return F;
|
|
@@ -2043,10 +2043,10 @@ Valid keys: ` + JSON.stringify(Object.keys(L), null, " "));
|
|
|
2043
2043
|
if (L === null || c(L)) return !0;
|
|
2044
2044
|
var j = f(L);
|
|
2045
2045
|
if (j) {
|
|
2046
|
-
var
|
|
2046
|
+
var X = j.call(L), U;
|
|
2047
2047
|
if (j !== L.entries) {
|
|
2048
|
-
for (; !(U =
|
|
2049
|
-
} else for (; !(U =
|
|
2048
|
+
for (; !(U = X.next()).done; ) if (!V(U.value)) return !1;
|
|
2049
|
+
} else for (; !(U = X.next()).done; ) {
|
|
2050
2050
|
var H = U.value;
|
|
2051
2051
|
if (H && !V(H[1]))
|
|
2052
2052
|
return !1;
|
|
@@ -4644,7 +4644,7 @@ var Eh = (e) => /* @__PURE__ */ d(lt, {
|
|
|
4644
4644
|
const [r, o] = Ve("");
|
|
4645
4645
|
return /* @__PURE__ */ d(wt, {
|
|
4646
4646
|
title: r,
|
|
4647
|
-
children: /* @__PURE__ */ d(
|
|
4647
|
+
children: /* @__PURE__ */ d(Z, {
|
|
4648
4648
|
onMouseEnter: (a) => {
|
|
4649
4649
|
const i = a.currentTarget.firstElementChild ?? a.currentTarget;
|
|
4650
4650
|
o(i.scrollWidth > i.clientWidth ? e : "");
|
|
@@ -4664,7 +4664,7 @@ var Eh = (e) => /* @__PURE__ */ d(lt, {
|
|
|
4664
4664
|
sx: { flexShrink: 0 },
|
|
4665
4665
|
children: e.slice(0, 3).map((t, r) => {
|
|
4666
4666
|
const o = e.length - 3, a = r === Math.min(e.length, 3) - 1;
|
|
4667
|
-
return /* @__PURE__ */ O(
|
|
4667
|
+
return /* @__PURE__ */ O(Z, {
|
|
4668
4668
|
sx: {
|
|
4669
4669
|
border: "1.5px solid",
|
|
4670
4670
|
borderColor: "background.paper",
|
|
@@ -4676,17 +4676,17 @@ var Eh = (e) => /* @__PURE__ */ d(lt, {
|
|
|
4676
4676
|
width: 22,
|
|
4677
4677
|
zIndex: 3 - r
|
|
4678
4678
|
},
|
|
4679
|
-
children: [/* @__PURE__ */ d(
|
|
4679
|
+
children: [/* @__PURE__ */ d(Z, {
|
|
4680
4680
|
component: "img",
|
|
4681
4681
|
src: t.src,
|
|
4682
|
-
alt: t.name,
|
|
4682
|
+
alt: t.name ?? "",
|
|
4683
4683
|
sx: {
|
|
4684
4684
|
display: "block",
|
|
4685
4685
|
height: "100%",
|
|
4686
4686
|
objectFit: "cover",
|
|
4687
4687
|
width: "100%"
|
|
4688
4688
|
}
|
|
4689
|
-
}), a && o > 0 && /* @__PURE__ */ O(
|
|
4689
|
+
}), a && o > 0 && /* @__PURE__ */ O(Z, {
|
|
4690
4690
|
sx: {
|
|
4691
4691
|
alignItems: "center",
|
|
4692
4692
|
backgroundColor: "rgba(0, 0, 0, 0.55)",
|
|
@@ -4700,11 +4700,82 @@ var Eh = (e) => /* @__PURE__ */ d(lt, {
|
|
|
4700
4700
|
},
|
|
4701
4701
|
children: ["+", o]
|
|
4702
4702
|
})]
|
|
4703
|
-
}, t.src);
|
|
4703
|
+
}, `${t.src}-${r}`);
|
|
4704
4704
|
})
|
|
4705
4705
|
}), Ih = ({ event: e, labels: t }) => {
|
|
4706
|
-
const r = e.status === "closed" ? t.closed : t.open
|
|
4707
|
-
|
|
4706
|
+
const r = e.status === "closed" ? t.closed : t.open, o = /* @__PURE__ */ O(ae, {
|
|
4707
|
+
direction: "row",
|
|
4708
|
+
alignItems: "flex-start",
|
|
4709
|
+
spacing: 1,
|
|
4710
|
+
sx: { width: "100%" },
|
|
4711
|
+
children: [/* @__PURE__ */ d(Z, {
|
|
4712
|
+
sx: {
|
|
4713
|
+
flex: 1,
|
|
4714
|
+
minWidth: 0
|
|
4715
|
+
},
|
|
4716
|
+
children: /* @__PURE__ */ d(Sh, {
|
|
4717
|
+
text: e.labelText,
|
|
4718
|
+
children: e.label
|
|
4719
|
+
})
|
|
4720
|
+
}), /* @__PURE__ */ O(ae, {
|
|
4721
|
+
direction: "row",
|
|
4722
|
+
alignItems: "center",
|
|
4723
|
+
spacing: 0.75,
|
|
4724
|
+
sx: {
|
|
4725
|
+
flexShrink: 0,
|
|
4726
|
+
mt: "1px"
|
|
4727
|
+
},
|
|
4728
|
+
children: [
|
|
4729
|
+
e.photos && e.photos.length > 0 && /* @__PURE__ */ d(wh, { photos: e.photos }),
|
|
4730
|
+
(e.user || e.date) && /* @__PURE__ */ d(wt, {
|
|
4731
|
+
title: e.tooltip ?? "",
|
|
4732
|
+
children: /* @__PURE__ */ O(ae, {
|
|
4733
|
+
direction: "row",
|
|
4734
|
+
alignItems: "center",
|
|
4735
|
+
spacing: 0.75,
|
|
4736
|
+
children: [e.user && /* @__PURE__ */ d(Lo, {
|
|
4737
|
+
size: "small",
|
|
4738
|
+
src: e.user.avatar ?? void 0,
|
|
4739
|
+
sx: {
|
|
4740
|
+
flexShrink: 0,
|
|
4741
|
+
fontSize: 9,
|
|
4742
|
+
height: 18,
|
|
4743
|
+
width: 18
|
|
4744
|
+
},
|
|
4745
|
+
children: e.user.initials
|
|
4746
|
+
}), e.date && /* @__PURE__ */ d(ge, {
|
|
4747
|
+
variant: "caption",
|
|
4748
|
+
noWrap: !0,
|
|
4749
|
+
sx: {
|
|
4750
|
+
color: "text.disabled",
|
|
4751
|
+
flexShrink: 0,
|
|
4752
|
+
textAlign: "right",
|
|
4753
|
+
width: "46px"
|
|
4754
|
+
},
|
|
4755
|
+
children: e.date
|
|
4756
|
+
})]
|
|
4757
|
+
})
|
|
4758
|
+
}),
|
|
4759
|
+
/* @__PURE__ */ d(Mc, {
|
|
4760
|
+
fontSize: "small",
|
|
4761
|
+
sx: {
|
|
4762
|
+
color: "text.disabled",
|
|
4763
|
+
flexShrink: 0,
|
|
4764
|
+
visibility: e.onClick ? "visible" : "hidden"
|
|
4765
|
+
}
|
|
4766
|
+
})
|
|
4767
|
+
]
|
|
4768
|
+
})]
|
|
4769
|
+
}), a = {
|
|
4770
|
+
alignItems: "stretch",
|
|
4771
|
+
borderRadius: "8px",
|
|
4772
|
+
display: "flex",
|
|
4773
|
+
flexDirection: "column",
|
|
4774
|
+
minWidth: 0,
|
|
4775
|
+
p: "10px",
|
|
4776
|
+
width: "100%"
|
|
4777
|
+
};
|
|
4778
|
+
return /* @__PURE__ */ O(Z, {
|
|
4708
4779
|
sx: {
|
|
4709
4780
|
display: "flex",
|
|
4710
4781
|
position: "relative",
|
|
@@ -4715,14 +4786,14 @@ var Eh = (e) => /* @__PURE__ */ d(lt, {
|
|
|
4715
4786
|
variant: "mid",
|
|
4716
4787
|
gap: qA
|
|
4717
4788
|
}),
|
|
4718
|
-
/* @__PURE__ */ d(
|
|
4789
|
+
/* @__PURE__ */ d(Z, {
|
|
4719
4790
|
sx: {
|
|
4720
4791
|
display: "flex",
|
|
4721
4792
|
flexShrink: 0,
|
|
4722
4793
|
justifyContent: "center",
|
|
4723
4794
|
width: 40
|
|
4724
4795
|
},
|
|
4725
|
-
children: /* @__PURE__ */ d(
|
|
4796
|
+
children: /* @__PURE__ */ d(Z, {
|
|
4726
4797
|
sx: {
|
|
4727
4798
|
alignItems: "center",
|
|
4728
4799
|
display: "flex",
|
|
@@ -4756,7 +4827,7 @@ var Eh = (e) => /* @__PURE__ */ d(lt, {
|
|
|
4756
4827
|
width: 24
|
|
4757
4828
|
}
|
|
4758
4829
|
})
|
|
4759
|
-
}) : /* @__PURE__ */ d(
|
|
4830
|
+
}) : /* @__PURE__ */ d(Z, {
|
|
4760
4831
|
sx: {
|
|
4761
4832
|
"& svg": { fontSize: 16 },
|
|
4762
4833
|
alignItems: "center",
|
|
@@ -4775,90 +4846,25 @@ var Eh = (e) => /* @__PURE__ */ d(lt, {
|
|
|
4775
4846
|
})
|
|
4776
4847
|
})
|
|
4777
4848
|
}),
|
|
4778
|
-
/* @__PURE__ */ d(
|
|
4849
|
+
/* @__PURE__ */ d(Z, {
|
|
4779
4850
|
sx: {
|
|
4780
4851
|
flex: 1,
|
|
4781
4852
|
minWidth: 0,
|
|
4782
4853
|
ml: "2px"
|
|
4783
4854
|
},
|
|
4784
|
-
children: /* @__PURE__ */ d(ba, {
|
|
4855
|
+
children: e.onClick ? /* @__PURE__ */ d(ba, {
|
|
4785
4856
|
disableGutters: !0,
|
|
4786
4857
|
onClick: e.onClick,
|
|
4787
4858
|
sx: {
|
|
4788
4859
|
"&:hover": { backgroundColor: "action.hover" },
|
|
4789
|
-
alignItems: "stretch",
|
|
4790
4860
|
backgroundColor: "transparent",
|
|
4791
|
-
|
|
4792
|
-
|
|
4793
|
-
flexDirection: "column",
|
|
4794
|
-
minWidth: 0,
|
|
4795
|
-
p: "10px",
|
|
4796
|
-
width: "100%"
|
|
4861
|
+
cursor: "pointer",
|
|
4862
|
+
...a
|
|
4797
4863
|
},
|
|
4798
|
-
children:
|
|
4799
|
-
|
|
4800
|
-
|
|
4801
|
-
|
|
4802
|
-
sx: { width: "100%" },
|
|
4803
|
-
children: [/* @__PURE__ */ d(X, {
|
|
4804
|
-
sx: {
|
|
4805
|
-
flex: 1,
|
|
4806
|
-
minWidth: 0
|
|
4807
|
-
},
|
|
4808
|
-
children: /* @__PURE__ */ d(Sh, {
|
|
4809
|
-
text: e.labelText,
|
|
4810
|
-
children: e.label
|
|
4811
|
-
})
|
|
4812
|
-
}), /* @__PURE__ */ O(ae, {
|
|
4813
|
-
direction: "row",
|
|
4814
|
-
alignItems: "center",
|
|
4815
|
-
spacing: 0.75,
|
|
4816
|
-
sx: {
|
|
4817
|
-
flexShrink: 0,
|
|
4818
|
-
mt: "1px"
|
|
4819
|
-
},
|
|
4820
|
-
children: [
|
|
4821
|
-
e.photos && e.photos.length > 0 && /* @__PURE__ */ d(wh, { photos: e.photos }),
|
|
4822
|
-
(e.user || e.date) && /* @__PURE__ */ d(wt, {
|
|
4823
|
-
title: e.tooltip ?? "",
|
|
4824
|
-
children: /* @__PURE__ */ O(ae, {
|
|
4825
|
-
direction: "row",
|
|
4826
|
-
alignItems: "center",
|
|
4827
|
-
spacing: 0.75,
|
|
4828
|
-
children: [e.user && /* @__PURE__ */ d(Lo, {
|
|
4829
|
-
size: "small",
|
|
4830
|
-
src: e.user.avatar ?? void 0,
|
|
4831
|
-
sx: {
|
|
4832
|
-
flexShrink: 0,
|
|
4833
|
-
fontSize: 9,
|
|
4834
|
-
height: 18,
|
|
4835
|
-
width: 18
|
|
4836
|
-
},
|
|
4837
|
-
children: e.user.initials
|
|
4838
|
-
}), e.date && /* @__PURE__ */ d(ge, {
|
|
4839
|
-
variant: "caption",
|
|
4840
|
-
noWrap: !0,
|
|
4841
|
-
sx: {
|
|
4842
|
-
color: "text.disabled",
|
|
4843
|
-
flexShrink: 0,
|
|
4844
|
-
textAlign: "right",
|
|
4845
|
-
width: "46px"
|
|
4846
|
-
},
|
|
4847
|
-
children: e.date
|
|
4848
|
-
})]
|
|
4849
|
-
})
|
|
4850
|
-
}),
|
|
4851
|
-
/* @__PURE__ */ d(Mc, {
|
|
4852
|
-
fontSize: "small",
|
|
4853
|
-
sx: {
|
|
4854
|
-
color: "text.disabled",
|
|
4855
|
-
flexShrink: 0,
|
|
4856
|
-
visibility: e.onClick ? "visible" : "hidden"
|
|
4857
|
-
}
|
|
4858
|
-
})
|
|
4859
|
-
]
|
|
4860
|
-
})]
|
|
4861
|
-
})
|
|
4864
|
+
children: o
|
|
4865
|
+
}) : /* @__PURE__ */ d(Z, {
|
|
4866
|
+
sx: a,
|
|
4867
|
+
children: o
|
|
4862
4868
|
})
|
|
4863
4869
|
})
|
|
4864
4870
|
]
|
|
@@ -6045,7 +6051,7 @@ var Eh = (e) => /* @__PURE__ */ d(lt, {
|
|
|
6045
6051
|
closed: A("closed"),
|
|
6046
6052
|
open: A("open")
|
|
6047
6053
|
};
|
|
6048
|
-
return /* @__PURE__ */ O(
|
|
6054
|
+
return /* @__PURE__ */ O(Z, {
|
|
6049
6055
|
sx: { position: "relative" },
|
|
6050
6056
|
"data-test": u,
|
|
6051
6057
|
"data-testid": c,
|
|
@@ -8048,7 +8054,7 @@ var jg = xe("MuiButtonBase", [
|
|
|
8048
8054
|
G,
|
|
8049
8055
|
te
|
|
8050
8056
|
]);
|
|
8051
|
-
const
|
|
8057
|
+
const X = Rr(te, "start", T, A), U = Rr(te, "stop", E, A), H = Rr(te, "stop", w, A), re = Rr(te, "stop", B, A), ue = Rr(te, "stop", (J) => {
|
|
8052
8058
|
G && J.preventDefault(), D && D(J);
|
|
8053
8059
|
}, A), Y = Rr(te, "start", m, A), _ = Rr(te, "stop", P, A), ne = Rr(te, "stop", R, A), de = Rr(te, "stop", (J) => {
|
|
8054
8060
|
Ia(J.target) || L(!1), g && g(J);
|
|
@@ -8095,7 +8101,7 @@ var jg = xe("MuiButtonBase", [
|
|
|
8095
8101
|
onFocus: F,
|
|
8096
8102
|
onKeyDown: he,
|
|
8097
8103
|
onKeyUp: ke,
|
|
8098
|
-
onMouseDown:
|
|
8104
|
+
onMouseDown: X,
|
|
8099
8105
|
onMouseLeave: ue,
|
|
8100
8106
|
onMouseUp: re,
|
|
8101
8107
|
onDragLeave: H,
|
|
@@ -9665,10 +9671,10 @@ var LC = xe("MuiModal", [
|
|
|
9665
9671
|
}), L = {
|
|
9666
9672
|
...M,
|
|
9667
9673
|
exited: ee
|
|
9668
|
-
}, j = Nm(L),
|
|
9669
|
-
if (c.props.tabIndex === void 0 && (
|
|
9674
|
+
}, j = Nm(L), X = {};
|
|
9675
|
+
if (c.props.tabIndex === void 0 && (X.tabIndex = "-1"), G) {
|
|
9670
9676
|
const { onEnter: _, onExited: ne } = $();
|
|
9671
|
-
|
|
9677
|
+
X.onEnter = _, X.onExited = ne;
|
|
9672
9678
|
}
|
|
9673
9679
|
const U = {
|
|
9674
9680
|
slots: {
|
|
@@ -9718,7 +9724,7 @@ var LC = xe("MuiModal", [
|
|
|
9718
9724
|
disableRestoreFocus: w,
|
|
9719
9725
|
isEnabled: te,
|
|
9720
9726
|
open: B,
|
|
9721
|
-
children: /* @__PURE__ */ I.cloneElement(c,
|
|
9727
|
+
children: /* @__PURE__ */ I.cloneElement(c, X)
|
|
9722
9728
|
})]
|
|
9723
9729
|
})
|
|
9724
9730
|
});
|
|
@@ -10085,7 +10091,7 @@ var Gm = (e) => {
|
|
|
10085
10091
|
}
|
|
10086
10092
|
});
|
|
10087
10093
|
x === "auto" && !G.muiSupportAuto && (te = void 0);
|
|
10088
|
-
const j = A || (i ? To(so(i)).body : void 0), [
|
|
10094
|
+
const j = A || (i ? To(so(i)).body : void 0), [X, { slots: U, slotProps: H, ...re }] = Oe("root", {
|
|
10089
10095
|
ref: r,
|
|
10090
10096
|
elementType: zm,
|
|
10091
10097
|
externalForwardedProps: {
|
|
@@ -10113,9 +10119,9 @@ var Gm = (e) => {
|
|
|
10113
10119
|
},
|
|
10114
10120
|
ownerState: B
|
|
10115
10121
|
});
|
|
10116
|
-
return /* @__PURE__ */ W(
|
|
10122
|
+
return /* @__PURE__ */ W(X, {
|
|
10117
10123
|
...re,
|
|
10118
|
-
...!wa(
|
|
10124
|
+
...!wa(X) && {
|
|
10119
10125
|
slots: U,
|
|
10120
10126
|
slotProps: H,
|
|
10121
10127
|
disableScrollLock: y
|
|
@@ -10808,7 +10814,7 @@ var f2 = gs.Provider, kd, A2 = ie(dp, {
|
|
|
10808
10814
|
controlled: z,
|
|
10809
10815
|
default: p,
|
|
10810
10816
|
name: "Select"
|
|
10811
|
-
}), [j,
|
|
10817
|
+
}), [j, X] = Ad({
|
|
10812
10818
|
controlled: R,
|
|
10813
10819
|
default: c,
|
|
10814
10820
|
name: "Select"
|
|
@@ -10852,7 +10858,7 @@ var f2 = gs.Provider, kd, A2 = ie(dp, {
|
|
|
10852
10858
|
}
|
|
10853
10859
|
}, [h]);
|
|
10854
10860
|
const Be = (pe, me) => {
|
|
10855
|
-
pe ? (F(u2(me)), P && P(me)) : (F(null), y && y(me)), Y || (ne(l ? null : ke.clientWidth),
|
|
10861
|
+
pe ? (F(u2(me)), P && P(me)) : (F(null), y && y(me)), Y || (ne(l ? null : ke.clientWidth), X(pe));
|
|
10856
10862
|
}, Ge = (pe) => {
|
|
10857
10863
|
B?.(pe), pe.button === 0 && (pe.preventDefault(), H.current.focus(), Be(!0, pe));
|
|
10858
10864
|
}, Le = (pe) => {
|
|
@@ -11395,7 +11401,7 @@ var Lt = xe("MuiInputBase", [
|
|
|
11395
11401
|
const o = we({
|
|
11396
11402
|
props: t,
|
|
11397
11403
|
name: "MuiInputBase"
|
|
11398
|
-
}), { "aria-describedby": a, autoComplete: i, autoFocus: l, className: s, color: u, components: c = {}, componentsProps: p = {}, defaultValue: A, disabled: v, disableInjectingGlobalStyles: f, endAdornment: b, error: g, fullWidth: h = !1, id: E, inputComponent: w = "input", inputProps: C = {}, inputRef: x, margin: S, maxRows: y, minRows: T, multiline: D = !1, name: B, onBlur: P, onChange: R, onClick: m, onFocus: k, onKeyDown: M, onKeyUp: Q, placeholder: V, readOnly: $, renderSuffix: z, rows: te, size: ee, slotProps: G = {}, slots: L = {}, startAdornment: j, type:
|
|
11404
|
+
}), { "aria-describedby": a, autoComplete: i, autoFocus: l, className: s, color: u, components: c = {}, componentsProps: p = {}, defaultValue: A, disabled: v, disableInjectingGlobalStyles: f, endAdornment: b, error: g, fullWidth: h = !1, id: E, inputComponent: w = "input", inputProps: C = {}, inputRef: x, margin: S, maxRows: y, minRows: T, multiline: D = !1, name: B, onBlur: P, onChange: R, onClick: m, onFocus: k, onKeyDown: M, onKeyUp: Q, placeholder: V, readOnly: $, renderSuffix: z, rows: te, size: ee, slotProps: G = {}, slots: L = {}, startAdornment: j, type: X = "text", value: U, ...H } = o, re = C.value != null ? C.value : U, { current: ue } = I.useRef(re != null), Y = I.useRef(), _ = I.useCallback((De) => {
|
|
11399
11405
|
process.env.NODE_ENV !== "production" && De && De.nodeName !== "INPUT" && !De.focus && console.error([
|
|
11400
11406
|
"MUI: You have provided a `inputComponent` to the input component",
|
|
11401
11407
|
"that does not correctly handle the `ref` prop.",
|
|
@@ -11492,7 +11498,7 @@ var Lt = xe("MuiInputBase", [
|
|
|
11492
11498
|
multiline: D,
|
|
11493
11499
|
size: he.size,
|
|
11494
11500
|
startAdornment: j,
|
|
11495
|
-
type:
|
|
11501
|
+
type: X
|
|
11496
11502
|
}, pt = C2(qe), We = L.root || c.Root || hi, Ee = G.root || p.root || {}, dt = L.input || c.Input || gi;
|
|
11497
11503
|
return oe = {
|
|
11498
11504
|
...oe,
|
|
@@ -11528,7 +11534,7 @@ var Lt = xe("MuiInputBase", [
|
|
|
11528
11534
|
value: re,
|
|
11529
11535
|
onKeyDown: M,
|
|
11530
11536
|
onKeyUp: Q,
|
|
11531
|
-
type:
|
|
11537
|
+
type: X,
|
|
11532
11538
|
...oe,
|
|
11533
11539
|
...!wa(dt) && {
|
|
11534
11540
|
as: Ae,
|
|
@@ -12853,7 +12859,7 @@ var G2 = ie(ps, {
|
|
|
12853
12859
|
ownerState: M,
|
|
12854
12860
|
className: fe(Q.root, v),
|
|
12855
12861
|
ref: r
|
|
12856
|
-
}), [
|
|
12862
|
+
}), [X, U] = Oe("backdrop", {
|
|
12857
12863
|
elementType: G2,
|
|
12858
12864
|
shouldForwardComponentProp: !0,
|
|
12859
12865
|
externalForwardedProps: G,
|
|
@@ -12892,7 +12898,7 @@ var G2 = ie(ps, {
|
|
|
12892
12898
|
});
|
|
12893
12899
|
return /* @__PURE__ */ W(L, {
|
|
12894
12900
|
closeAfterTransition: !0,
|
|
12895
|
-
slots: { backdrop:
|
|
12901
|
+
slots: { backdrop: X },
|
|
12896
12902
|
slotProps: { backdrop: {
|
|
12897
12903
|
transitionDuration: R,
|
|
12898
12904
|
as: c,
|
|
@@ -13171,7 +13177,7 @@ function Fd(e, t, r, o) {
|
|
|
13171
13177
|
return typeof a == "string" ? a : "";
|
|
13172
13178
|
}
|
|
13173
13179
|
function A3(e) {
|
|
13174
|
-
const { unstable_isActiveElementInListbox: t = p3, unstable_classNamePrefix: r = "Mui", autoComplete: o = !1, autoHighlight: a = !1, autoSelect: i = !1, blurOnSelect: l = !1, clearOnBlur: s = !e.freeSolo, clearOnEscape: u = !1, componentName: c = "useAutocomplete", defaultValue: p = e.multiple ? f3 : null, disableClearable: A = !1, disableCloseOnSelect: v = !1, disabled: f, disabledItemsFocusable: b = !1, disableListWrap: g = !1, filterOptions: h = u3, filterSelectedOptions: E = !1, freeSolo: w = !1, getOptionDisabled: C, getOptionKey: x, getOptionLabel: S = (N) => N.label ?? N, groupBy: y, handleHomeEndKeys: T = !e.freeSolo, id: D, includeInputInList: B = !1, inputValue: P, isOptionEqualToValue: R = Ld, multiple: m = !1, onChange: k, onClose: M, onHighlightChange: Q, onInputChange: V, onOpen: $, open: z, openOnFocus: te = !1, options: ee, readOnly: G = !1, renderValue: L, selectOnFocus: j = !e.freeSolo, value:
|
|
13180
|
+
const { unstable_isActiveElementInListbox: t = p3, unstable_classNamePrefix: r = "Mui", autoComplete: o = !1, autoHighlight: a = !1, autoSelect: i = !1, blurOnSelect: l = !1, clearOnBlur: s = !e.freeSolo, clearOnEscape: u = !1, componentName: c = "useAutocomplete", defaultValue: p = e.multiple ? f3 : null, disableClearable: A = !1, disableCloseOnSelect: v = !1, disabled: f, disabledItemsFocusable: b = !1, disableListWrap: g = !1, filterOptions: h = u3, filterSelectedOptions: E = !1, freeSolo: w = !1, getOptionDisabled: C, getOptionKey: x, getOptionLabel: S = (N) => N.label ?? N, groupBy: y, handleHomeEndKeys: T = !e.freeSolo, id: D, includeInputInList: B = !1, inputValue: P, isOptionEqualToValue: R = Ld, multiple: m = !1, onChange: k, onClose: M, onHighlightChange: Q, onInputChange: V, onOpen: $, open: z, openOnFocus: te = !1, options: ee, readOnly: G = !1, renderValue: L, selectOnFocus: j = !e.freeSolo, value: X } = e, U = No(D);
|
|
13175
13181
|
let H = S;
|
|
13176
13182
|
H = (N) => {
|
|
13177
13183
|
const q = S(N);
|
|
@@ -13184,8 +13190,8 @@ function A3(e) {
|
|
|
13184
13190
|
}
|
|
13185
13191
|
return q;
|
|
13186
13192
|
};
|
|
13187
|
-
const re = I.useRef(!1), ue = I.useRef(!0), Y = I.useRef(null), _ = I.useRef(null), ne = I.useRef(!1), [de, F] = I.useState(null), [se, he] = I.useState(-1), ke = a ? 0 : -1, ye = I.useRef(ke), Be = I.useRef(null), Ge = I.useRef(!1), Le = I.useRef(!1), Pe = I.useRef(Fd(p ??
|
|
13188
|
-
controlled:
|
|
13193
|
+
const re = I.useRef(!1), ue = I.useRef(!0), Y = I.useRef(null), _ = I.useRef(null), ne = I.useRef(!1), [de, F] = I.useState(null), [se, he] = I.useState(-1), ke = a ? 0 : -1, ye = I.useRef(ke), Be = I.useRef(null), Ge = I.useRef(!1), Le = I.useRef(!1), Pe = I.useRef(Fd(p ?? X, m, H)).current, [J, Ae] = pa({
|
|
13194
|
+
controlled: X,
|
|
13189
13195
|
default: p,
|
|
13190
13196
|
name: c
|
|
13191
13197
|
}), [oe, ze] = pa({
|
|
@@ -14223,14 +14229,14 @@ function ev(e) {
|
|
|
14223
14229
|
}
|
|
14224
14230
|
if (T)
|
|
14225
14231
|
for (var te = b ? 3 : 1, ee = function(j) {
|
|
14226
|
-
var
|
|
14232
|
+
var X = C.find(function(U) {
|
|
14227
14233
|
var H = y.get(U);
|
|
14228
14234
|
if (H) return H.slice(0, j).every(function(re) {
|
|
14229
14235
|
return re;
|
|
14230
14236
|
});
|
|
14231
14237
|
});
|
|
14232
|
-
if (
|
|
14233
|
-
return D =
|
|
14238
|
+
if (X)
|
|
14239
|
+
return D = X, "break";
|
|
14234
14240
|
}, G = te; G > 0 && ee(G) !== "break"; G--) ;
|
|
14235
14241
|
t.placement !== D && (t.modifiersData[o]._skip = !0, t.placement = D, t.reset = !0);
|
|
14236
14242
|
}
|
|
@@ -14343,10 +14349,10 @@ function uv(e) {
|
|
|
14343
14349
|
};
|
|
14344
14350
|
if (y) {
|
|
14345
14351
|
if (i) {
|
|
14346
|
-
var k, M = x === "y" ? "top" : Br, Q = x === "y" ? Fr : Xr, V = x === "y" ? "height" : "width", $ = y[x], z = $ + h[M], te = $ - h[Q], ee = f ? -D[V] / 2 : 0, G = w === "start" ? T[V] : D[V], L = w === "start" ? -D[V] : -T[V], j = t.elements.arrow,
|
|
14352
|
+
var k, M = x === "y" ? "top" : Br, Q = x === "y" ? Fr : Xr, V = x === "y" ? "height" : "width", $ = y[x], z = $ + h[M], te = $ - h[Q], ee = f ? -D[V] / 2 : 0, G = w === "start" ? T[V] : D[V], L = w === "start" ? -D[V] : -T[V], j = t.elements.arrow, X = f && j ? Cs(j) : {
|
|
14347
14353
|
width: 0,
|
|
14348
14354
|
height: 0
|
|
14349
|
-
}, U = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Sp(), H = U[M], re = U[Q], ue = Ao(0, T[V],
|
|
14355
|
+
}, U = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Sp(), H = U[M], re = U[Q], ue = Ao(0, T[V], X[V]), Y = C ? T[V] / 2 - ee - ue - H - P.mainAxis : G - ue - H - P.mainAxis, _ = C ? -T[V] / 2 + ee + ue + re + P.mainAxis : L + ue + re + P.mainAxis, ne = t.elements.arrow && Go(t.elements.arrow), de = ne ? x === "y" ? ne.clientTop || 0 : ne.clientLeft || 0 : 0, F = (k = R?.[x]) != null ? k : 0, se = $ + Y - F - de, he = $ + _ - F, ke = Ao(f ? Da(z, se) : z, $, f ? dn(te, he) : te);
|
|
14350
14356
|
y[x] = ke, m[x] = ke - $;
|
|
14351
14357
|
}
|
|
14352
14358
|
if (s) {
|
|
@@ -15420,7 +15426,7 @@ var Op = /* @__PURE__ */ I.forwardRef(function(t, r) {
|
|
|
15420
15426
|
U.onKeyUp?.(H), R(H);
|
|
15421
15427
|
}
|
|
15422
15428
|
})
|
|
15423
|
-
}), [j,
|
|
15429
|
+
}), [j, X] = Oe("label", {
|
|
15424
15430
|
elementType: Fv,
|
|
15425
15431
|
externalForwardedProps: ee,
|
|
15426
15432
|
ownerState: M,
|
|
@@ -15432,7 +15438,7 @@ var Op = /* @__PURE__ */ I.forwardRef(function(t, r) {
|
|
|
15432
15438
|
children: [
|
|
15433
15439
|
z || te,
|
|
15434
15440
|
/* @__PURE__ */ W(j, {
|
|
15435
|
-
...
|
|
15441
|
+
...X,
|
|
15436
15442
|
children: v
|
|
15437
15443
|
}),
|
|
15438
15444
|
$
|
|
@@ -15766,7 +15772,7 @@ var Ie = xe("MuiAutocomplete", [
|
|
|
15766
15772
|
const o = we({
|
|
15767
15773
|
props: t,
|
|
15768
15774
|
name: "MuiAutocomplete"
|
|
15769
|
-
}), { autoComplete: a = !1, autoHighlight: i = !1, autoSelect: l = !1, blurOnSelect: s = !1, ChipProps: u, className: c, clearIcon: p = Xd || (Xd = /* @__PURE__ */ W(Qv, { fontSize: "small" })), clearOnBlur: A = !o.freeSolo, clearOnEscape: v = !1, clearText: f = "Clear", closeText: b = "Close", componentsProps: g, defaultValue: h = o.multiple ? [] : null, disableClearable: E = !1, disableCloseOnSelect: w = !1, disabled: C = !1, disabledItemsFocusable: x = !1, disableListWrap: S = !1, disablePortal: y = !1, filterOptions: T, filterSelectedOptions: D = !1, forcePopupIcon: B = "auto", freeSolo: P = !1, fullWidth: R = !1, getLimitTagsText: m = (Me) => `+${Me}`, getOptionDisabled: k, getOptionKey: M, getOptionLabel: Q, isOptionEqualToValue: V, groupBy: $, handleHomeEndKeys: z = !o.freeSolo, id: te, includeInputInList: ee = !1, inputValue: G, limitTags: L = -1, ListboxComponent: j, ListboxProps:
|
|
15775
|
+
}), { autoComplete: a = !1, autoHighlight: i = !1, autoSelect: l = !1, blurOnSelect: s = !1, ChipProps: u, className: c, clearIcon: p = Xd || (Xd = /* @__PURE__ */ W(Qv, { fontSize: "small" })), clearOnBlur: A = !o.freeSolo, clearOnEscape: v = !1, clearText: f = "Clear", closeText: b = "Close", componentsProps: g, defaultValue: h = o.multiple ? [] : null, disableClearable: E = !1, disableCloseOnSelect: w = !1, disabled: C = !1, disabledItemsFocusable: x = !1, disableListWrap: S = !1, disablePortal: y = !1, filterOptions: T, filterSelectedOptions: D = !1, forcePopupIcon: B = "auto", freeSolo: P = !1, fullWidth: R = !1, getLimitTagsText: m = (Me) => `+${Me}`, getOptionDisabled: k, getOptionKey: M, getOptionLabel: Q, isOptionEqualToValue: V, groupBy: $, handleHomeEndKeys: z = !o.freeSolo, id: te, includeInputInList: ee = !1, inputValue: G, limitTags: L = -1, ListboxComponent: j, ListboxProps: X, loading: U = !1, loadingText: H = "Loading…", multiple: re = !1, noOptionsText: ue = "No options", onChange: Y, onClose: _, onHighlightChange: ne, onInputChange: de, onOpen: F, open: se, openOnFocus: he = !1, openText: ke = "Open", options: ye, PaperComponent: Be, PopperComponent: Ge, popupIcon: Le = Jd || (Jd = /* @__PURE__ */ W(Ap, {})), readOnly: Pe = !1, renderGroup: J, renderInput: Ae, renderOption: oe, renderTags: ze, renderValue: qe, selectOnFocus: pt = !o.freeSolo, size: We = "medium", slots: Ee = {}, slotProps: dt = {}, value: De, ...kt } = o, { getRootProps: Ct, getInputProps: et, getInputLabelProps: Ot, getPopupIndicatorProps: wr, getClearProps: Nr, getItemProps: Ke, getListboxProps: ct, getOptionProps: pe, value: me, dirty: ot, expanded: _t, id: Wt, popupOpen: xt, focused: Kt, focusedItem: Zn, anchorEl: er, setAnchorEl: Xn, inputValue: Ii, groupedOptions: jt } = A3({
|
|
15770
15776
|
...o,
|
|
15771
15777
|
componentName: "Autocomplete"
|
|
15772
15778
|
}), Ir = l3();
|
|
@@ -15809,7 +15815,7 @@ var Ie = xe("MuiAutocomplete", [
|
|
|
15809
15815
|
},
|
|
15810
15816
|
slotProps: {
|
|
15811
15817
|
chip: u,
|
|
15812
|
-
listbox:
|
|
15818
|
+
listbox: X,
|
|
15813
15819
|
...g,
|
|
15814
15820
|
...dt
|
|
15815
15821
|
}
|
|
@@ -16768,7 +16774,7 @@ var GC = xe("MuiTextField", ["root"]), pb = {
|
|
|
16768
16774
|
required: k,
|
|
16769
16775
|
select: Q,
|
|
16770
16776
|
variant: G
|
|
16771
|
-
},
|
|
16777
|
+
}, X = fb(j);
|
|
16772
16778
|
process.env.NODE_ENV !== "production" && Q && !l && console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");
|
|
16773
16779
|
const U = No(g), H = b && U ? `${U}-helper-text` : void 0, re = x && U ? `${U}-label` : void 0, ue = pb[G], Y = {
|
|
16774
16780
|
slots: $,
|
|
@@ -16790,7 +16796,7 @@ var GC = xe("MuiTextField", ["root"]), pb = {
|
|
|
16790
16796
|
...L
|
|
16791
16797
|
},
|
|
16792
16798
|
ownerState: j,
|
|
16793
|
-
className: fe(
|
|
16799
|
+
className: fe(X.root, s),
|
|
16794
16800
|
ref: r,
|
|
16795
16801
|
additionalProps: {
|
|
16796
16802
|
disabled: p,
|
|
@@ -17044,7 +17050,7 @@ var oa = (e) => `${e.firstName} ${e.lastName}`, hb = ({ ref: e, value: t, onChan
|
|
|
17044
17050
|
large: 17,
|
|
17045
17051
|
medium: 16,
|
|
17046
17052
|
small: 15
|
|
17047
|
-
}, Fa = ({ size: e, loadingPosition: t, position: r = "absolute" }) => /* @__PURE__ */ d(
|
|
17053
|
+
}, Fa = ({ size: e, loadingPosition: t, position: r = "absolute" }) => /* @__PURE__ */ d(Z, {
|
|
17048
17054
|
position: r,
|
|
17049
17055
|
top: 0,
|
|
17050
17056
|
left: 0,
|
|
@@ -17072,11 +17078,11 @@ var oa = (e) => `${e.firstName} ${e.lastName}`, hb = ({ ref: e, value: t, onChan
|
|
|
17072
17078
|
size: a,
|
|
17073
17079
|
position: "relative",
|
|
17074
17080
|
loadingPosition: o
|
|
17075
|
-
}), /* @__PURE__ */ d(
|
|
17081
|
+
}), /* @__PURE__ */ d(Z, {
|
|
17076
17082
|
component: "span",
|
|
17077
17083
|
children: e
|
|
17078
17084
|
})]
|
|
17079
|
-
}) : t && !r && !s ? /* @__PURE__ */ O(mt, { children: [t && !r && /* @__PURE__ */ d(Fa, { size: a }), /* @__PURE__ */ d(
|
|
17085
|
+
}) : t && !r && !s ? /* @__PURE__ */ O(mt, { children: [t && !r && /* @__PURE__ */ d(Fa, { size: a }), /* @__PURE__ */ d(Z, {
|
|
17080
17086
|
component: "span",
|
|
17081
17087
|
sx: { opacity: 0 },
|
|
17082
17088
|
children: e
|
|
@@ -17084,7 +17090,7 @@ var oa = (e) => `${e.firstName} ${e.lastName}`, hb = ({ ref: e, value: t, onChan
|
|
|
17084
17090
|
" ",
|
|
17085
17091
|
r,
|
|
17086
17092
|
" "
|
|
17087
|
-
] }) : /* @__PURE__ */ d(
|
|
17093
|
+
] }) : /* @__PURE__ */ d(Z, {
|
|
17088
17094
|
component: "span",
|
|
17089
17095
|
children: e
|
|
17090
17096
|
});
|
|
@@ -18570,7 +18576,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
18570
18576
|
open: t,
|
|
18571
18577
|
onClose: u,
|
|
18572
18578
|
...a,
|
|
18573
|
-
children: /* @__PURE__ */ O(
|
|
18579
|
+
children: /* @__PURE__ */ O(Z, { children: [
|
|
18574
18580
|
/* @__PURE__ */ d(it, {
|
|
18575
18581
|
size: "small",
|
|
18576
18582
|
"aria-label": "close",
|
|
@@ -18594,7 +18600,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
18594
18600
|
},
|
|
18595
18601
|
children: "×"
|
|
18596
18602
|
}),
|
|
18597
|
-
!(i || e) && /* @__PURE__ */ d(
|
|
18603
|
+
!(i || e) && /* @__PURE__ */ d(Z, {
|
|
18598
18604
|
position: "absolute",
|
|
18599
18605
|
width: "100%",
|
|
18600
18606
|
height: "100%",
|
|
@@ -18603,7 +18609,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
18603
18609
|
justifyContent: "center",
|
|
18604
18610
|
children: /* @__PURE__ */ d(Kl, {})
|
|
18605
18611
|
}),
|
|
18606
|
-
/* @__PURE__ */ d(
|
|
18612
|
+
/* @__PURE__ */ d(Z, {
|
|
18607
18613
|
sx: {
|
|
18608
18614
|
left: "50%",
|
|
18609
18615
|
outline: 0,
|
|
@@ -18619,7 +18625,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
18619
18625
|
},
|
|
18620
18626
|
children: e || /* @__PURE__ */ d(jl, {
|
|
18621
18627
|
in: t && i,
|
|
18622
|
-
children: /* @__PURE__ */ d(
|
|
18628
|
+
children: /* @__PURE__ */ d(Z, {
|
|
18623
18629
|
component: "img",
|
|
18624
18630
|
src: o,
|
|
18625
18631
|
width: "100%",
|
|
@@ -18682,7 +18688,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
18682
18688
|
!(l || o) && /* @__PURE__ */ d(wt, {
|
|
18683
18689
|
arrow: !0,
|
|
18684
18690
|
title: B || A ? M : "",
|
|
18685
|
-
children: /* @__PURE__ */ O(
|
|
18691
|
+
children: /* @__PURE__ */ O(Z, {
|
|
18686
18692
|
"data-test": "fileViewer",
|
|
18687
18693
|
width: f,
|
|
18688
18694
|
height: v,
|
|
@@ -18705,7 +18711,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
18705
18711
|
userSelect: "none",
|
|
18706
18712
|
...a
|
|
18707
18713
|
},
|
|
18708
|
-
children: [/* @__PURE__ */ d(
|
|
18714
|
+
children: [/* @__PURE__ */ d(Z, {
|
|
18709
18715
|
src: Q,
|
|
18710
18716
|
overflow: "hidden",
|
|
18711
18717
|
width: "100%",
|
|
@@ -18747,7 +18753,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
18747
18753
|
onClose: $,
|
|
18748
18754
|
src: e,
|
|
18749
18755
|
title: r,
|
|
18750
|
-
children: /* @__PURE__ */ d(
|
|
18756
|
+
children: /* @__PURE__ */ d(Z, {
|
|
18751
18757
|
component: "iframe",
|
|
18752
18758
|
src: e,
|
|
18753
18759
|
sx: {
|
|
@@ -18767,7 +18773,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
18767
18773
|
src: e,
|
|
18768
18774
|
title: r
|
|
18769
18775
|
})),
|
|
18770
|
-
o && /* @__PURE__ */ d(
|
|
18776
|
+
o && /* @__PURE__ */ d(Z, {
|
|
18771
18777
|
onClick: V,
|
|
18772
18778
|
sx: {
|
|
18773
18779
|
":hover": { opacity: R },
|
|
@@ -18805,7 +18811,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
18805
18811
|
},
|
|
18806
18812
|
children: /* @__PURE__ */ O(jn, {
|
|
18807
18813
|
sx: { maxWidth: 370 },
|
|
18808
|
-
children: [/* @__PURE__ */ d(
|
|
18814
|
+
children: [/* @__PURE__ */ d(Z, {
|
|
18809
18815
|
component: "img",
|
|
18810
18816
|
height: 170,
|
|
18811
18817
|
width: "100%",
|
|
@@ -18827,7 +18833,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
18827
18833
|
children: e.description
|
|
18828
18834
|
})
|
|
18829
18835
|
}),
|
|
18830
|
-
e?.buttonText && /* @__PURE__ */ d(
|
|
18836
|
+
e?.buttonText && /* @__PURE__ */ d(Z, {
|
|
18831
18837
|
textAlign: "center",
|
|
18832
18838
|
mt: 3,
|
|
18833
18839
|
children: /* @__PURE__ */ d(jp, {
|
|
@@ -18878,7 +18884,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
18878
18884
|
title: g,
|
|
18879
18885
|
enterDelay: pr.enterDelay,
|
|
18880
18886
|
enterNextDelay: pr.enterNextDelay,
|
|
18881
|
-
children: /* @__PURE__ */ d(
|
|
18887
|
+
children: /* @__PURE__ */ d(Z, {
|
|
18882
18888
|
component: "span",
|
|
18883
18889
|
children: /* @__PURE__ */ d(LA, {
|
|
18884
18890
|
src: c,
|
|
@@ -18900,7 +18906,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
18900
18906
|
direction: "row",
|
|
18901
18907
|
alignItems: "center",
|
|
18902
18908
|
mt: 1,
|
|
18903
|
-
children: [A && /* @__PURE__ */ d(
|
|
18909
|
+
children: [A && /* @__PURE__ */ d(Z, {
|
|
18904
18910
|
flex: 1,
|
|
18905
18911
|
children: A
|
|
18906
18912
|
}), v]
|
|
@@ -19054,7 +19060,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
19054
19060
|
})]
|
|
19055
19061
|
});
|
|
19056
19062
|
};
|
|
19057
|
-
return /* @__PURE__ */ d(
|
|
19063
|
+
return /* @__PURE__ */ d(Z, {
|
|
19058
19064
|
component: "div",
|
|
19059
19065
|
style: {
|
|
19060
19066
|
paddingLeft: r,
|
|
@@ -19177,7 +19183,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
19177
19183
|
},
|
|
19178
19184
|
children: /* @__PURE__ */ d(ae, {
|
|
19179
19185
|
height: "100%",
|
|
19180
|
-
children: /* @__PURE__ */ d(
|
|
19186
|
+
children: /* @__PURE__ */ d(Z, {
|
|
19181
19187
|
flex: 1,
|
|
19182
19188
|
ref: y,
|
|
19183
19189
|
className: "kanban-virtual-list",
|
|
@@ -19188,7 +19194,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
19188
19194
|
variant: "rounded",
|
|
19189
19195
|
height: zi
|
|
19190
19196
|
}, m))
|
|
19191
|
-
}) : /* @__PURE__ */ d(
|
|
19197
|
+
}) : /* @__PURE__ */ d(Z, {
|
|
19192
19198
|
sx: {
|
|
19193
19199
|
height: `${B.getTotalSize()}px`,
|
|
19194
19200
|
position: "relative",
|
|
@@ -19196,7 +19202,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
19196
19202
|
},
|
|
19197
19203
|
children: B.getVirtualItems().map((R) => {
|
|
19198
19204
|
const m = R.index >= o.length;
|
|
19199
|
-
return /* @__PURE__ */ d(
|
|
19205
|
+
return /* @__PURE__ */ d(Z, {
|
|
19200
19206
|
ref: B.measureElement,
|
|
19201
19207
|
"data-index": R.index,
|
|
19202
19208
|
sx: {
|
|
@@ -19208,7 +19214,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
19208
19214
|
transform: `translateY(${R.start}px)`,
|
|
19209
19215
|
width: "100%"
|
|
19210
19216
|
},
|
|
19211
|
-
children: m ? /* @__PURE__ */ d(
|
|
19217
|
+
children: m ? /* @__PURE__ */ d(Z, {
|
|
19212
19218
|
sx: { px: `${l}px` },
|
|
19213
19219
|
children: /* @__PURE__ */ d(ht, {
|
|
19214
19220
|
variant: "rounded",
|
|
@@ -19258,7 +19264,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
19258
19264
|
}), JC = ({ data: e, onClickItem: t, disableCount: r, onColumnInView: o, emptyState: a, chipColumVariant: i, chipStatus: l, headerColumnChip: s, activeItemId: u = "", variant: c = "primary", chipColumDot: p = !0, height: A = "100%", itemPerPage: v = 50, listWidth: f = 360, loadMoreItems: b = () => {
|
|
19259
19265
|
} }) => {
|
|
19260
19266
|
const g = Ze(null), { spacing: h } = vt(), { onMouseDown: E, onMouseUp: w, onMouseMove: C } = hy(g), x = parseInt(h(1), 10), S = e.every((y) => y.items.length === 0 && y.isFetched && !y.isLoading && !y.isFetching);
|
|
19261
|
-
return /* @__PURE__ */ O(
|
|
19267
|
+
return /* @__PURE__ */ O(Z, {
|
|
19262
19268
|
sx: {
|
|
19263
19269
|
height: A,
|
|
19264
19270
|
position: "relative"
|
|
@@ -19339,7 +19345,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
19339
19345
|
const T = `key-${h}-${r}-${t}`, D = !!a?.toLowerCase()?.endsWith(".pdf"), B = su(a), P = su(i), R = Nl(a), m = g ? "none" : void 0, k = C || !!s || !B || R, M = !!g || !!(!(g || C) && a), Q = S === T, V = (P ? i : "") || (B ? a : "") || "", $ = !!A, z = A && p ? /* @__PURE__ */ O(ae, {
|
|
19340
19346
|
direction: "row",
|
|
19341
19347
|
alignItems: "center",
|
|
19342
|
-
children: [/* @__PURE__ */ d(
|
|
19348
|
+
children: [/* @__PURE__ */ d(Z, {
|
|
19343
19349
|
className: "ListAvatar-hoverAction",
|
|
19344
19350
|
children: p
|
|
19345
19351
|
}), A]
|
|
@@ -19385,7 +19391,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
19385
19391
|
...b
|
|
19386
19392
|
},
|
|
19387
19393
|
children: [
|
|
19388
|
-
e !== void 0 && /* @__PURE__ */ d(
|
|
19394
|
+
e !== void 0 && /* @__PURE__ */ d(Z, {
|
|
19389
19395
|
marginRight: mo,
|
|
19390
19396
|
children: e
|
|
19391
19397
|
}),
|
|
@@ -19558,7 +19564,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
19558
19564
|
...a
|
|
19559
19565
|
},
|
|
19560
19566
|
...u,
|
|
19561
|
-
children: /* @__PURE__ */ d(
|
|
19567
|
+
children: /* @__PURE__ */ d(Z, {
|
|
19562
19568
|
flex: "auto",
|
|
19563
19569
|
minWidth: 0,
|
|
19564
19570
|
children: e
|
|
@@ -19613,7 +19619,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
19613
19619
|
f.mode,
|
|
19614
19620
|
u,
|
|
19615
19621
|
i
|
|
19616
|
-
]), c === "img") return A ? /* @__PURE__ */ d(
|
|
19622
|
+
]), c === "img") return A ? /* @__PURE__ */ d(Z, {
|
|
19617
19623
|
component: "img",
|
|
19618
19624
|
src: A,
|
|
19619
19625
|
alt: "Tracktor",
|
|
@@ -19635,7 +19641,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
19635
19641
|
});
|
|
19636
19642
|
if (i) {
|
|
19637
19643
|
const D = e || f.primary.main;
|
|
19638
|
-
return /* @__PURE__ */ O(
|
|
19644
|
+
return /* @__PURE__ */ O(Z, {
|
|
19639
19645
|
component: "svg",
|
|
19640
19646
|
viewBox: "0 0 32 32",
|
|
19641
19647
|
fill: "none",
|
|
@@ -19664,7 +19670,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
19664
19670
|
]
|
|
19665
19671
|
});
|
|
19666
19672
|
}
|
|
19667
|
-
return u === "pricing" ? /* @__PURE__ */ O(
|
|
19673
|
+
return u === "pricing" ? /* @__PURE__ */ O(Z, {
|
|
19668
19674
|
component: "svg",
|
|
19669
19675
|
viewBox: "0 0 147 44",
|
|
19670
19676
|
fill: "none",
|
|
@@ -19746,7 +19752,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
19746
19752
|
fill: "white"
|
|
19747
19753
|
})
|
|
19748
19754
|
}) })]
|
|
19749
|
-
}) : u === "supplier" ? /* @__PURE__ */ O(
|
|
19755
|
+
}) : u === "supplier" ? /* @__PURE__ */ O(Z, {
|
|
19750
19756
|
component: "svg",
|
|
19751
19757
|
viewBox: "0 0 195 24",
|
|
19752
19758
|
fill: "none",
|
|
@@ -19836,7 +19842,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
19836
19842
|
})
|
|
19837
19843
|
}) })
|
|
19838
19844
|
]
|
|
19839
|
-
}) : /* @__PURE__ */ O(
|
|
19845
|
+
}) : /* @__PURE__ */ O(Z, {
|
|
19840
19846
|
component: "svg",
|
|
19841
19847
|
viewBox: "0 0 105 24",
|
|
19842
19848
|
fill: "none",
|
|
@@ -20109,7 +20115,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
20109
20115
|
maxWidth: "none",
|
|
20110
20116
|
p: 0
|
|
20111
20117
|
} } },
|
|
20112
|
-
children: /* @__PURE__ */ O(
|
|
20118
|
+
children: /* @__PURE__ */ O(Z, {
|
|
20113
20119
|
onClick: E,
|
|
20114
20120
|
sx: {
|
|
20115
20121
|
alignItems: "center",
|
|
@@ -20130,7 +20136,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
20130
20136
|
width: w
|
|
20131
20137
|
},
|
|
20132
20138
|
children: [
|
|
20133
|
-
T != null && /* @__PURE__ */ d(
|
|
20139
|
+
T != null && /* @__PURE__ */ d(Z, { sx: {
|
|
20134
20140
|
backgroundImage: `repeating-linear-gradient(135deg, ${c.warning.main}, ${c.warning.main} 4px, ${c.warning.dark} 4px, ${c.warning.dark} 8px)`,
|
|
20135
20141
|
bottom: 0,
|
|
20136
20142
|
left: Math.max(0, T),
|
|
@@ -20141,7 +20147,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
20141
20147
|
top: 0,
|
|
20142
20148
|
zIndex: 1
|
|
20143
20149
|
} }),
|
|
20144
|
-
P.map((R) => /* @__PURE__ */ d(
|
|
20150
|
+
P.map((R) => /* @__PURE__ */ d(Z, { sx: {
|
|
20145
20151
|
backgroundImage: `repeating-linear-gradient(135deg, ${c.error.main}, ${c.error.main} 4px, ${c.error.dark} 4px, ${c.error.dark} 8px)`,
|
|
20146
20152
|
bottom: 0,
|
|
20147
20153
|
left: R.left,
|
|
@@ -20152,7 +20158,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
20152
20158
|
width: R.width,
|
|
20153
20159
|
zIndex: 0
|
|
20154
20160
|
} }, R.left)),
|
|
20155
|
-
/* @__PURE__ */ d(
|
|
20161
|
+
/* @__PURE__ */ d(Z, {
|
|
20156
20162
|
sx: {
|
|
20157
20163
|
height: "100%",
|
|
20158
20164
|
minWidth: 0,
|
|
@@ -20163,7 +20169,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
20163
20169
|
},
|
|
20164
20170
|
children: s?.(e, { sidebarCollapsed: o })
|
|
20165
20171
|
}),
|
|
20166
|
-
l && /* @__PURE__ */ d(
|
|
20172
|
+
l && /* @__PURE__ */ d(Z, {
|
|
20167
20173
|
...h,
|
|
20168
20174
|
sx: {
|
|
20169
20175
|
"&::after": {
|
|
@@ -20194,13 +20200,13 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
20194
20200
|
});
|
|
20195
20201
|
}, Zy = ({ scale: e, height: t, selectedDate: r }) => {
|
|
20196
20202
|
const { palette: o, typography: a } = vt(), { ticks: i, width: l } = e, s = Math.round(t / 2), u = r ? e.dateToX(r) : null;
|
|
20197
|
-
return /* @__PURE__ */ O(
|
|
20203
|
+
return /* @__PURE__ */ O(Z, {
|
|
20198
20204
|
sx: {
|
|
20199
20205
|
height: t,
|
|
20200
20206
|
position: "relative",
|
|
20201
20207
|
width: l
|
|
20202
20208
|
},
|
|
20203
|
-
children: [i.major.map((c) => /* @__PURE__ */ d(
|
|
20209
|
+
children: [i.major.map((c) => /* @__PURE__ */ d(Z, {
|
|
20204
20210
|
sx: {
|
|
20205
20211
|
alignItems: "center",
|
|
20206
20212
|
borderRight: `1px solid ${o.divider}`,
|
|
@@ -20225,7 +20231,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
20225
20231
|
})
|
|
20226
20232
|
}, c.key)), i.minor.map((c) => {
|
|
20227
20233
|
const p = u != null && u >= c.x && u < c.x + c.width;
|
|
20228
|
-
return /* @__PURE__ */ d(
|
|
20234
|
+
return /* @__PURE__ */ d(Z, {
|
|
20229
20235
|
sx: {
|
|
20230
20236
|
alignItems: "center",
|
|
20231
20237
|
backgroundColor: p ? o.action.selected : "transparent",
|
|
@@ -20265,7 +20271,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
20265
20271
|
return null;
|
|
20266
20272
|
}
|
|
20267
20273
|
}, _C = ({ groups: e, resources: t, tasks: r, isLoading: o, onTaskClick: a, onResourceClick: i, onGroupClick: l, onBarResize: s, renderGroup: u, renderResource: c, renderBar: p, renderTooltip: A, isTaskSelected: v, recenterKey: f, toolbarActions: b, sidebarTitle: g, locale: h, labels: E, localStorageKeys: w, defaultViewMode: C = "day", sidebarWidth: x = 300, rowHeight: S = 56 }) => {
|
|
20268
|
-
const y = w?.viewMode ?? Xy.viewMode, [T, D] = Ve(() => Yy(y) ?? C), [B, P] = Ve(() => /* @__PURE__ */ new Date()), [R, m] = Ve(!1), { palette: k, shape: M, typography: Q } = vt(), { t: V } = Gn(), $ = Ze(!1), z = Ze(T), te = Ze(f), ee = Ze(null), G = mr(() => e ?? [], [e]), L = mr(() => t ?? [], [t]), j = mr(() => r ?? [], [r]),
|
|
20274
|
+
const y = w?.viewMode ?? Xy.viewMode, [T, D] = Ve(() => Yy(y) ?? C), [B, P] = Ve(() => /* @__PURE__ */ new Date()), [R, m] = Ve(!1), { palette: k, shape: M, typography: Q } = vt(), { t: V } = Gn(), $ = Ze(!1), z = Ze(T), te = Ze(f), ee = Ze(null), G = mr(() => e ?? [], [e]), L = mr(() => t ?? [], [t]), j = mr(() => r ?? [], [r]), X = k.mode === "dark" ? k.grey[800] : k.divider, U = Fe((Ae) => E?.[Ae] ?? V(Ae), [E, V]), H = mr(() => {
|
|
20269
20275
|
const Ae = /* @__PURE__ */ new Map();
|
|
20270
20276
|
j.forEach((Ee) => {
|
|
20271
20277
|
const dt = Ae.get(Ee.resourceId);
|
|
@@ -20412,7 +20418,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
20412
20418
|
sx: { minHeight: 360 }
|
|
20413
20419
|
});
|
|
20414
20420
|
const Ge = qy(B, T, h), Le = ue + re.width, Pe = re.dateToX(Date.now()), J = re.ticks.minor.find((Ae) => Pe >= Ae.x && Pe < Ae.x + Ae.width);
|
|
20415
|
-
return /* @__PURE__ */ O(
|
|
20421
|
+
return /* @__PURE__ */ O(Z, {
|
|
20416
20422
|
sx: {
|
|
20417
20423
|
display: "flex",
|
|
20418
20424
|
flexDirection: "column",
|
|
@@ -20508,7 +20514,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
20508
20514
|
]
|
|
20509
20515
|
})]
|
|
20510
20516
|
})]
|
|
20511
|
-
}), /* @__PURE__ */ O(
|
|
20517
|
+
}), /* @__PURE__ */ O(Z, {
|
|
20512
20518
|
ref: ee,
|
|
20513
20519
|
sx: {
|
|
20514
20520
|
border: `1px solid ${k.divider}`,
|
|
@@ -20519,12 +20525,12 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
20519
20525
|
overflow: "auto",
|
|
20520
20526
|
position: "relative"
|
|
20521
20527
|
},
|
|
20522
|
-
children: [/* @__PURE__ */ O(
|
|
20528
|
+
children: [/* @__PURE__ */ O(Z, {
|
|
20523
20529
|
sx: {
|
|
20524
20530
|
position: "relative",
|
|
20525
20531
|
width: Le
|
|
20526
20532
|
},
|
|
20527
|
-
children: [/* @__PURE__ */ O(
|
|
20533
|
+
children: [/* @__PURE__ */ O(Z, {
|
|
20528
20534
|
sx: {
|
|
20529
20535
|
display: "flex",
|
|
20530
20536
|
height: gu,
|
|
@@ -20532,7 +20538,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
20532
20538
|
top: 0,
|
|
20533
20539
|
zIndex: 3
|
|
20534
20540
|
},
|
|
20535
|
-
children: [/* @__PURE__ */ d(
|
|
20541
|
+
children: [/* @__PURE__ */ d(Z, {
|
|
20536
20542
|
sx: {
|
|
20537
20543
|
alignItems: "center",
|
|
20538
20544
|
backgroundColor: k.background.paper,
|
|
@@ -20551,7 +20557,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
20551
20557
|
variant: "h5",
|
|
20552
20558
|
children: g
|
|
20553
20559
|
})
|
|
20554
|
-
}), /* @__PURE__ */ d(
|
|
20560
|
+
}), /* @__PURE__ */ d(Z, {
|
|
20555
20561
|
sx: {
|
|
20556
20562
|
backgroundColor: k.background.paper,
|
|
20557
20563
|
backgroundImage: ao(1),
|
|
@@ -20563,12 +20569,12 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
20563
20569
|
selectedDate: B
|
|
20564
20570
|
})
|
|
20565
20571
|
})]
|
|
20566
|
-
}), /* @__PURE__ */ O(
|
|
20572
|
+
}), /* @__PURE__ */ O(Z, {
|
|
20567
20573
|
sx: {
|
|
20568
20574
|
height: Y.getTotalSize(),
|
|
20569
20575
|
position: "relative"
|
|
20570
20576
|
},
|
|
20571
|
-
children: [J && /* @__PURE__ */ d(
|
|
20577
|
+
children: [J && /* @__PURE__ */ d(Z, { sx: {
|
|
20572
20578
|
backgroundColor: k.primary.main,
|
|
20573
20579
|
height: "100%",
|
|
20574
20580
|
left: ue + J.x,
|
|
@@ -20589,7 +20595,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
20589
20595
|
sidebarCollapsed: R,
|
|
20590
20596
|
tasks: oe.tasks
|
|
20591
20597
|
});
|
|
20592
|
-
return /* @__PURE__ */ O(
|
|
20598
|
+
return /* @__PURE__ */ O(Z, {
|
|
20593
20599
|
sx: {
|
|
20594
20600
|
display: "flex",
|
|
20595
20601
|
height: S,
|
|
@@ -20599,11 +20605,11 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
20599
20605
|
transform: `translateY(${Ae.start}px)`,
|
|
20600
20606
|
width: "100%"
|
|
20601
20607
|
},
|
|
20602
|
-
children: [!R && /* @__PURE__ */ d(
|
|
20608
|
+
children: [!R && /* @__PURE__ */ d(Z, {
|
|
20603
20609
|
sx: {
|
|
20604
20610
|
backgroundColor: k.background.paper,
|
|
20605
20611
|
backgroundImage: ao(1),
|
|
20606
|
-
borderBottom: `1px solid ${
|
|
20612
|
+
borderBottom: `1px solid ${X}`,
|
|
20607
20613
|
borderRight: `1px solid ${k.divider}`,
|
|
20608
20614
|
flexShrink: 0,
|
|
20609
20615
|
left: 0,
|
|
@@ -20612,9 +20618,9 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
20612
20618
|
zIndex: 2
|
|
20613
20619
|
},
|
|
20614
20620
|
children: pt
|
|
20615
|
-
}), /* @__PURE__ */ O(
|
|
20621
|
+
}), /* @__PURE__ */ O(Z, {
|
|
20616
20622
|
sx: {
|
|
20617
|
-
borderBottom: `1px solid ${
|
|
20623
|
+
borderBottom: `1px solid ${X}`,
|
|
20618
20624
|
flex: 1,
|
|
20619
20625
|
position: "relative",
|
|
20620
20626
|
...ze && (R ? {
|
|
@@ -20623,7 +20629,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
20623
20629
|
} : { backgroundColor: k.action.hover }),
|
|
20624
20630
|
...qe && { backgroundColor: k.action.selected }
|
|
20625
20631
|
},
|
|
20626
|
-
children: [ze && R && /* @__PURE__ */ d(
|
|
20632
|
+
children: [ze && R && /* @__PURE__ */ d(Z, {
|
|
20627
20633
|
sx: {
|
|
20628
20634
|
height: "100%",
|
|
20629
20635
|
left: 0,
|
|
@@ -20722,7 +20728,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
20722
20728
|
alignItems: "stretch",
|
|
20723
20729
|
spacing: 0,
|
|
20724
20730
|
mt: 0.5,
|
|
20725
|
-
children: [/* @__PURE__ */ d(
|
|
20731
|
+
children: [/* @__PURE__ */ d(Z, {
|
|
20726
20732
|
mt: 1.5,
|
|
20727
20733
|
textAlign: "center",
|
|
20728
20734
|
children: /* @__PURE__ */ O(ae, {
|
|
@@ -20732,7 +20738,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
20732
20738
|
height: "100%",
|
|
20733
20739
|
width: 32
|
|
20734
20740
|
},
|
|
20735
|
-
children: [p || /* @__PURE__ */ d(ma, { color: o ? "secondary" : "primary" }), /* @__PURE__ */ d(
|
|
20741
|
+
children: [p || /* @__PURE__ */ d(ma, { color: o ? "secondary" : "primary" }), /* @__PURE__ */ d(Z, {
|
|
20736
20742
|
sx: { flex: 1 },
|
|
20737
20743
|
children: !r && /* @__PURE__ */ d(Po, {
|
|
20738
20744
|
sx: {
|
|
@@ -20762,7 +20768,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
20762
20768
|
spacing: 1,
|
|
20763
20769
|
justifyContent: "space-between",
|
|
20764
20770
|
direction: "row",
|
|
20765
|
-
children: [/* @__PURE__ */ O(
|
|
20771
|
+
children: [/* @__PURE__ */ O(Z, { children: [
|
|
20766
20772
|
/* @__PURE__ */ O(ae, {
|
|
20767
20773
|
direction: "row",
|
|
20768
20774
|
alignItems: "center",
|
|
@@ -20794,7 +20800,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
20794
20800
|
color: "textSecondary",
|
|
20795
20801
|
children: t
|
|
20796
20802
|
}) : t)
|
|
20797
|
-
] }), c && /* @__PURE__ */ d(
|
|
20803
|
+
] }), c && /* @__PURE__ */ d(Z, {
|
|
20798
20804
|
className: "action",
|
|
20799
20805
|
sx: {
|
|
20800
20806
|
opacity: i === "hover" ? 0 : 1,
|
|
@@ -20889,7 +20895,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
20889
20895
|
height: Tn,
|
|
20890
20896
|
width: Tn
|
|
20891
20897
|
}
|
|
20892
|
-
})), C.length > 1 && /* @__PURE__ */ d(
|
|
20898
|
+
})), C.length > 1 && /* @__PURE__ */ d(Z, {
|
|
20893
20899
|
sx: {
|
|
20894
20900
|
alignItems: "center",
|
|
20895
20901
|
backgroundColor: ({ palette: S }) => S.grey[100],
|
|
@@ -21069,7 +21075,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
21069
21075
|
},
|
|
21070
21076
|
children: [
|
|
21071
21077
|
/* @__PURE__ */ d(Lp, { onClick: (c) => s?.(c, "closeButton") }),
|
|
21072
|
-
/* @__PURE__ */ d(
|
|
21078
|
+
/* @__PURE__ */ d(Z, {
|
|
21073
21079
|
sx: {
|
|
21074
21080
|
alignItems: "center",
|
|
21075
21081
|
backgroundColor: ({ palette: c }) => c[a]["12p"],
|
|
@@ -21262,7 +21268,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
21262
21268
|
justifyContent: "center",
|
|
21263
21269
|
"data-testid": "empty-state",
|
|
21264
21270
|
children: [
|
|
21265
|
-
/* @__PURE__ */ d(
|
|
21271
|
+
/* @__PURE__ */ d(Z, {
|
|
21266
21272
|
mb: 3,
|
|
21267
21273
|
children: e ?? /* @__PURE__ */ d(s6, {})
|
|
21268
21274
|
}),
|
|
@@ -21416,12 +21422,12 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
21416
21422
|
ref: k,
|
|
21417
21423
|
size: S,
|
|
21418
21424
|
disableCloseOnSelect: y,
|
|
21419
|
-
onChange: (
|
|
21425
|
+
onChange: (X, U, H, re) => {
|
|
21420
21426
|
if (U === null) {
|
|
21421
|
-
t?.(
|
|
21427
|
+
t?.(X, T ? [] : null, H, re);
|
|
21422
21428
|
return;
|
|
21423
21429
|
}
|
|
21424
|
-
t?.(
|
|
21430
|
+
t?.(X, U, H, re), y && T || Q(!1);
|
|
21425
21431
|
},
|
|
21426
21432
|
getLimitTagsText: c6(e),
|
|
21427
21433
|
inputValue: z,
|
|
@@ -21447,25 +21453,25 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
21447
21453
|
...B?.paper
|
|
21448
21454
|
}
|
|
21449
21455
|
},
|
|
21450
|
-
onInputChange: (
|
|
21451
|
-
H === "reset" && M && !h || H === "selectOption" && !h || H === "removeOption" && !h || (f || $(U), v?.(
|
|
21456
|
+
onInputChange: (X, U, H) => {
|
|
21457
|
+
H === "reset" && M && !h || H === "selectOption" && !h || H === "removeOption" && !h || (f || $(U), v?.(X, U, H));
|
|
21452
21458
|
},
|
|
21453
|
-
onFocus: (
|
|
21454
|
-
Q(!0), u?.(
|
|
21459
|
+
onFocus: (X) => {
|
|
21460
|
+
Q(!0), u?.(X);
|
|
21455
21461
|
},
|
|
21456
|
-
onBlur: (
|
|
21457
|
-
Q(!1), c?.(
|
|
21462
|
+
onBlur: (X) => {
|
|
21463
|
+
Q(!1), c?.(X);
|
|
21458
21464
|
},
|
|
21459
|
-
getOptionLabel: A || ((
|
|
21460
|
-
const U = typeof
|
|
21465
|
+
getOptionLabel: A || ((X) => {
|
|
21466
|
+
const U = typeof X == "object" && "label" in X ? X.label : X;
|
|
21461
21467
|
return String(U);
|
|
21462
21468
|
}),
|
|
21463
|
-
renderOption: E || ((
|
|
21469
|
+
renderOption: E || ((X, U, { selected: H }) => {
|
|
21464
21470
|
const re = typeof U != "string" && U.isHeader;
|
|
21465
21471
|
if (g || re) return null;
|
|
21466
|
-
const ue = typeof U == "string" ? U : U?.id || U?.value || "", Y = typeof U == "string" ? U : U?.label, _ = typeof U == "string" ? void 0 : U?.image, ne = `${ue}-${
|
|
21472
|
+
const ue = typeof U == "string" ? U : U?.id || U?.value || "", Y = typeof U == "string" ? U : U?.label, _ = typeof U == "string" ? void 0 : U?.image, ne = `${ue}-${X?.key}`;
|
|
21467
21473
|
return /* @__PURE__ */ Lu(Cr, {
|
|
21468
|
-
...
|
|
21474
|
+
...X,
|
|
21469
21475
|
key: ne
|
|
21470
21476
|
}, !r && /* @__PURE__ */ d(va, {
|
|
21471
21477
|
disableRipple: !0,
|
|
@@ -21496,7 +21502,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
21496
21502
|
children: Y
|
|
21497
21503
|
}) : Y);
|
|
21498
21504
|
}),
|
|
21499
|
-
renderValue: w || (T ? (
|
|
21505
|
+
renderValue: w || (T ? (X, U, H) => Array.isArray(X) ? X.map((re, ue) => {
|
|
21500
21506
|
if (H?.focused) return null;
|
|
21501
21507
|
const { key: Y } = U({ index: ue });
|
|
21502
21508
|
return /* @__PURE__ */ d(ge, {
|
|
@@ -21507,7 +21513,7 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
21507
21513
|
children: typeof re == "object" && "label" in re && re?.label ? re.label : re.toString()
|
|
21508
21514
|
}, Y);
|
|
21509
21515
|
}) : null : void 0),
|
|
21510
|
-
renderInput: (
|
|
21516
|
+
renderInput: (X) => {
|
|
21511
21517
|
const U = () => {
|
|
21512
21518
|
if (!(!M && (Array.isArray(s) && s.length || !Array.isArray(s) && s)))
|
|
21513
21519
|
return o;
|
|
@@ -21568,8 +21574,8 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
21568
21574
|
},
|
|
21569
21575
|
sx: { marginRight: "-3px" },
|
|
21570
21576
|
children: /* @__PURE__ */ d(Jr, { sx: { fontSize: Ue(20) } })
|
|
21571
|
-
}), Rt(
|
|
21572
|
-
}) : Rt(
|
|
21577
|
+
}), Rt(X.InputProps?.endAdornment) && typeof X.InputProps.endAdornment == "object" && "props" in X.InputProps.endAdornment && X.InputProps.endAdornment.props && typeof X.InputProps.endAdornment.props == "object" && "children" in X.InputProps.endAdornment.props && Array.isArray(X.InputProps.endAdornment.props.children) && X.InputProps.endAdornment.props.children[1]]
|
|
21578
|
+
}) : Rt(X.InputProps?.endAdornment) ? X.InputProps.endAdornment : null;
|
|
21573
21579
|
return /* @__PURE__ */ d(Mo, {
|
|
21574
21580
|
sx: {
|
|
21575
21581
|
"& .MuiInputBase-root .MuiInputBase-input": {
|
|
@@ -21593,14 +21599,14 @@ var Jb = (e) => /* @__PURE__ */ O(lt, {
|
|
|
21593
21599
|
paddingY: "0 !important"
|
|
21594
21600
|
} }
|
|
21595
21601
|
},
|
|
21596
|
-
...
|
|
21602
|
+
...X,
|
|
21597
21603
|
slotProps: {
|
|
21598
21604
|
htmlInput: {
|
|
21599
|
-
...
|
|
21605
|
+
...X.inputProps,
|
|
21600
21606
|
...o && { "aria-label": o }
|
|
21601
21607
|
},
|
|
21602
21608
|
input: {
|
|
21603
|
-
...
|
|
21609
|
+
...X.InputProps,
|
|
21604
21610
|
endAdornment: H()
|
|
21605
21611
|
}
|
|
21606
21612
|
},
|
|
@@ -21775,7 +21781,7 @@ function i4({ label: e, value: t, onChange: r, checked: o, onCheckedChange: a, o
|
|
|
21775
21781
|
color: "text.secondary",
|
|
21776
21782
|
marginLeft: 0.5
|
|
21777
21783
|
},
|
|
21778
|
-
onClick: (
|
|
21784
|
+
onClick: (X) => X.stopPropagation(),
|
|
21779
21785
|
children: /* @__PURE__ */ d(h6, { fontSize: "small" })
|
|
21780
21786
|
})
|
|
21781
21787
|
})
|
|
@@ -22182,14 +22188,14 @@ var m6 = ({ fontSize: e, sx: t, color: r = "currentColor" }) => /* @__PURE__ */
|
|
|
22182
22188
|
height: "100%",
|
|
22183
22189
|
direction: i ? "column" : "row",
|
|
22184
22190
|
minHeight: 0,
|
|
22185
|
-
children: [l, /* @__PURE__ */ d(
|
|
22191
|
+
children: [l, /* @__PURE__ */ d(Z, {
|
|
22186
22192
|
flex: 1,
|
|
22187
22193
|
sx: {
|
|
22188
22194
|
maxHeight: "100%",
|
|
22189
22195
|
overflow: "auto"
|
|
22190
22196
|
},
|
|
22191
22197
|
ref: a,
|
|
22192
|
-
children: /* @__PURE__ */ d(
|
|
22198
|
+
children: /* @__PURE__ */ d(Z, {
|
|
22193
22199
|
component: "main",
|
|
22194
22200
|
height: "100%",
|
|
22195
22201
|
children: e
|
|
@@ -22251,11 +22257,11 @@ var m6 = ({ fontSize: e, sx: t, color: r = "currentColor" }) => /* @__PURE__ */
|
|
|
22251
22257
|
});
|
|
22252
22258
|
return E.current && S.observe(E.current), () => S.disconnect();
|
|
22253
22259
|
}, []), a === "preview" ? /* @__PURE__ */ O(mt, { children: [
|
|
22254
|
-
/* @__PURE__ */ d(
|
|
22260
|
+
/* @__PURE__ */ d(Z, {
|
|
22255
22261
|
sx: xu,
|
|
22256
|
-
children: /* @__PURE__ */ d(
|
|
22262
|
+
children: /* @__PURE__ */ d(Z, {
|
|
22257
22263
|
sx: Eu(A),
|
|
22258
|
-
children: /* @__PURE__ */ d(
|
|
22264
|
+
children: /* @__PURE__ */ d(Z, {
|
|
22259
22265
|
sx: { px: 3 },
|
|
22260
22266
|
children: /* @__PURE__ */ O(ae, {
|
|
22261
22267
|
direction: "row",
|
|
@@ -22288,7 +22294,7 @@ var m6 = ({ fontSize: e, sx: t, color: r = "currentColor" }) => /* @__PURE__ */
|
|
|
22288
22294
|
})
|
|
22289
22295
|
})
|
|
22290
22296
|
}),
|
|
22291
|
-
/* @__PURE__ */ d(
|
|
22297
|
+
/* @__PURE__ */ d(Z, {
|
|
22292
22298
|
sx: {
|
|
22293
22299
|
px: 3,
|
|
22294
22300
|
py: 3
|
|
@@ -22338,12 +22344,12 @@ var m6 = ({ fontSize: e, sx: t, color: r = "currentColor" }) => /* @__PURE__ */
|
|
|
22338
22344
|
]
|
|
22339
22345
|
})
|
|
22340
22346
|
}),
|
|
22341
|
-
/* @__PURE__ */ d(
|
|
22347
|
+
/* @__PURE__ */ d(Z, { ref: E })
|
|
22342
22348
|
] }) : /* @__PURE__ */ O(mt, { children: [
|
|
22343
22349
|
!h && /* @__PURE__ */ d(Ln, { styles: { main: { height: "auto !important" } } }),
|
|
22344
|
-
/* @__PURE__ */ d(
|
|
22350
|
+
/* @__PURE__ */ d(Z, {
|
|
22345
22351
|
sx: xu,
|
|
22346
|
-
children: /* @__PURE__ */ d(
|
|
22352
|
+
children: /* @__PURE__ */ d(Z, {
|
|
22347
22353
|
sx: Eu(A),
|
|
22348
22354
|
children: /* @__PURE__ */ d(Ps, {
|
|
22349
22355
|
...C,
|
|
@@ -22363,7 +22369,7 @@ var m6 = ({ fontSize: e, sx: t, color: r = "currentColor" }) => /* @__PURE__ */
|
|
|
22363
22369
|
})
|
|
22364
22370
|
})
|
|
22365
22371
|
}),
|
|
22366
|
-
/* @__PURE__ */ d(
|
|
22372
|
+
/* @__PURE__ */ d(Z, {
|
|
22367
22373
|
sx: {
|
|
22368
22374
|
mt: g ? 0 : 3,
|
|
22369
22375
|
py: 3
|
|
@@ -22373,7 +22379,7 @@ var m6 = ({ fontSize: e, sx: t, color: r = "currentColor" }) => /* @__PURE__ */
|
|
|
22373
22379
|
children: /* @__PURE__ */ O(ae, {
|
|
22374
22380
|
spacing: 2,
|
|
22375
22381
|
children: [
|
|
22376
|
-
u && /* @__PURE__ */ d(
|
|
22382
|
+
u && /* @__PURE__ */ d(Z, { children: /* @__PURE__ */ d(Yr, {
|
|
22377
22383
|
variant: "link",
|
|
22378
22384
|
size: "small",
|
|
22379
22385
|
onClick: u,
|
|
@@ -22395,7 +22401,7 @@ var m6 = ({ fontSize: e, sx: t, color: r = "currentColor" }) => /* @__PURE__ */
|
|
|
22395
22401
|
})
|
|
22396
22402
|
})
|
|
22397
22403
|
}),
|
|
22398
|
-
/* @__PURE__ */ d(
|
|
22404
|
+
/* @__PURE__ */ d(Z, { ref: E })
|
|
22399
22405
|
] });
|
|
22400
22406
|
}, zp = ({ color: e = "currentColor" }) => /* @__PURE__ */ d(It, {
|
|
22401
22407
|
focusable: "false",
|
|
@@ -22460,7 +22466,7 @@ var m6 = ({ fontSize: e, sx: t, color: r = "currentColor" }) => /* @__PURE__ */
|
|
|
22460
22466
|
state: a,
|
|
22461
22467
|
target: u,
|
|
22462
22468
|
children: r
|
|
22463
|
-
}) : /* @__PURE__ */ d(
|
|
22469
|
+
}) : /* @__PURE__ */ d(Z, {
|
|
22464
22470
|
component: "a",
|
|
22465
22471
|
href: e,
|
|
22466
22472
|
onClick: p,
|
|
@@ -22524,7 +22530,7 @@ var m6 = ({ fontSize: e, sx: t, color: r = "currentColor" }) => /* @__PURE__ */
|
|
|
22524
22530
|
justifyContent: "center",
|
|
22525
22531
|
paddingY: 2
|
|
22526
22532
|
}
|
|
22527
|
-
}, wu = ({ link: e, NavLink: t, isCollapsed: r, sx: o }) => /* @__PURE__ */ d(
|
|
22533
|
+
}, wu = ({ link: e, NavLink: t, isCollapsed: r, sx: o }) => /* @__PURE__ */ d(Z, {
|
|
22528
22534
|
sx: o?.bottomLink,
|
|
22529
22535
|
children: /* @__PURE__ */ d(ks, {
|
|
22530
22536
|
component: t,
|
|
@@ -22536,13 +22542,13 @@ var m6 = ({ fontSize: e, sx: t, color: r = "currentColor" }) => /* @__PURE__ */
|
|
|
22536
22542
|
alignItems: "center",
|
|
22537
22543
|
spacing: 1,
|
|
22538
22544
|
direction: "row",
|
|
22539
|
-
children: [e?.icon && /* @__PURE__ */ d(
|
|
22545
|
+
children: [e?.icon && /* @__PURE__ */ d(Z, {
|
|
22540
22546
|
component: "span",
|
|
22541
22547
|
sx: o.iconWrapper,
|
|
22542
22548
|
children: e.icon
|
|
22543
22549
|
}), e?.label && /* @__PURE__ */ d(jl, {
|
|
22544
22550
|
in: !r,
|
|
22545
|
-
children: /* @__PURE__ */ d(
|
|
22551
|
+
children: /* @__PURE__ */ d(Z, {
|
|
22546
22552
|
component: "span",
|
|
22547
22553
|
display: "flex",
|
|
22548
22554
|
children: e.label
|
|
@@ -22553,7 +22559,7 @@ var m6 = ({ fontSize: e, sx: t, color: r = "currentColor" }) => /* @__PURE__ */
|
|
|
22553
22559
|
})
|
|
22554
22560
|
}), F6 = ({ children: e, ...t }) => {
|
|
22555
22561
|
const { hideSearchDesktop: r, closeDrawerMenu: o, isMobile: a, isTablet: i, isDrawerOpen: l, isCollapsed: s, toggleCollapse: u, sideBarWidth: c, bottomLink: p, NavLink: A, Footer: v, Search: f = t.Logo, Logo: b = t.Logo } = sr(en), { palette: g } = vt(), h = g.mode === "dark" ? g.background.default : g.primary.black, E = a && l ? "none" : `solid 1px ${g.divider}`, w = r ? !!(a || i) : !0;
|
|
22556
|
-
return /* @__PURE__ */ O(
|
|
22562
|
+
return /* @__PURE__ */ O(Z, {
|
|
22557
22563
|
component: "aside",
|
|
22558
22564
|
sx: {
|
|
22559
22565
|
...nn.container,
|
|
@@ -22573,7 +22579,7 @@ var m6 = ({ fontSize: e, sx: t, color: r = "currentColor" }) => /* @__PURE__ */
|
|
|
22573
22579
|
direction: "row",
|
|
22574
22580
|
alignItems: "center",
|
|
22575
22581
|
spacing: 3,
|
|
22576
|
-
children: [/* @__PURE__ */ d(
|
|
22582
|
+
children: [/* @__PURE__ */ d(Z, {
|
|
22577
22583
|
sx: {
|
|
22578
22584
|
...nn.logo,
|
|
22579
22585
|
...a && { "& svg, & img": {
|
|
@@ -22588,11 +22594,11 @@ var m6 = ({ fontSize: e, sx: t, color: r = "currentColor" }) => /* @__PURE__ */
|
|
|
22588
22594
|
children: /* @__PURE__ */ d(Jr, { color: g.getContrastText(h) })
|
|
22589
22595
|
})]
|
|
22590
22596
|
}),
|
|
22591
|
-
f && w && /* @__PURE__ */ d(
|
|
22597
|
+
f && w && /* @__PURE__ */ d(Z, {
|
|
22592
22598
|
p: 2,
|
|
22593
22599
|
children: f
|
|
22594
22600
|
}),
|
|
22595
|
-
/* @__PURE__ */ d(
|
|
22601
|
+
/* @__PURE__ */ d(Z, {
|
|
22596
22602
|
flex: 1,
|
|
22597
22603
|
children: e
|
|
22598
22604
|
}),
|
|
@@ -22616,7 +22622,7 @@ var m6 = ({ fontSize: e, sx: t, color: r = "currentColor" }) => /* @__PURE__ */
|
|
|
22616
22622
|
})
|
|
22617
22623
|
}),
|
|
22618
22624
|
/* @__PURE__ */ d(Po, {}),
|
|
22619
|
-
/* @__PURE__ */ d(
|
|
22625
|
+
/* @__PURE__ */ d(Z, {
|
|
22620
22626
|
display: "flex",
|
|
22621
22627
|
justifyContent: "flex-end",
|
|
22622
22628
|
children: /* @__PURE__ */ d(it, {
|
|
@@ -22726,7 +22732,7 @@ var m6 = ({ fontSize: e, sx: t, color: r = "currentColor" }) => /* @__PURE__ */
|
|
|
22726
22732
|
spacing: 1.5,
|
|
22727
22733
|
width: "100%",
|
|
22728
22734
|
alignItems: "center",
|
|
22729
|
-
children: [c ? /* @__PURE__ */ O(
|
|
22735
|
+
children: [c ? /* @__PURE__ */ O(Z, {
|
|
22730
22736
|
component: "div",
|
|
22731
22737
|
sx: {
|
|
22732
22738
|
...Bo.iconWrapper,
|
|
@@ -22739,7 +22745,7 @@ var m6 = ({ fontSize: e, sx: t, color: r = "currentColor" }) => /* @__PURE__ */
|
|
|
22739
22745
|
variant: "rounded",
|
|
22740
22746
|
sx: Tu
|
|
22741
22747
|
})]
|
|
22742
|
-
}) : r && /* @__PURE__ */ O(
|
|
22748
|
+
}) : r && /* @__PURE__ */ O(Z, {
|
|
22743
22749
|
component: "div",
|
|
22744
22750
|
sx: {
|
|
22745
22751
|
...Bo.iconWrapper,
|
|
@@ -22787,10 +22793,10 @@ var m6 = ({ fontSize: e, sx: t, color: r = "currentColor" }) => /* @__PURE__ */
|
|
|
22787
22793
|
const p = r || !i || s, A = () => i && u((f) => !f), v = (f) => {
|
|
22788
22794
|
i && (f.key === "Enter" || f.key === " ") && (f.preventDefault(), A());
|
|
22789
22795
|
};
|
|
22790
|
-
return /* @__PURE__ */ O(
|
|
22796
|
+
return /* @__PURE__ */ O(Z, {
|
|
22791
22797
|
component: "li",
|
|
22792
22798
|
sx: Bo.groupItem,
|
|
22793
|
-
children: [!r && /* @__PURE__ */ O(
|
|
22799
|
+
children: [!r && /* @__PURE__ */ O(Z, {
|
|
22794
22800
|
component: "div",
|
|
22795
22801
|
role: i ? "button" : void 0,
|
|
22796
22802
|
tabIndex: i ? 0 : void 0,
|
|
@@ -22826,7 +22832,7 @@ var m6 = ({ fontSize: e, sx: t, color: r = "currentColor" }) => /* @__PURE__ */
|
|
|
22826
22832
|
});
|
|
22827
22833
|
}, q6 = ({ items: e, ...t }) => {
|
|
22828
22834
|
const { NavLink: r = t.NavLink, isMobile: o } = sr(en);
|
|
22829
|
-
return /* @__PURE__ */ d(
|
|
22835
|
+
return /* @__PURE__ */ d(Z, {
|
|
22830
22836
|
px: 2,
|
|
22831
22837
|
component: "nav",
|
|
22832
22838
|
children: /* @__PURE__ */ d(yo, {
|
|
@@ -22934,7 +22940,7 @@ var m6 = ({ fontSize: e, sx: t, color: r = "currentColor" }) => /* @__PURE__ */
|
|
|
22934
22940
|
});
|
|
22935
22941
|
}, G6 = Wa(H6), A4 = G6, z6 = ({ children: e, value: t, index: r, orientation: o, paddingY: a, paddingX: i, fullHeight: l, sx: s }, u) => {
|
|
22936
22942
|
const c = a || 3, p = i || o === "vertical" ? 3 : 0;
|
|
22937
|
-
return t === r ? /* @__PURE__ */ d(
|
|
22943
|
+
return t === r ? /* @__PURE__ */ d(Z, {
|
|
22938
22944
|
ref: u,
|
|
22939
22945
|
role: "tabpanel",
|
|
22940
22946
|
hidden: t !== r,
|
|
@@ -22999,7 +23005,7 @@ var m6 = ({ fontSize: e, sx: t, color: r = "currentColor" }) => /* @__PURE__ */
|
|
|
22999
23005
|
"aria-label": "menu",
|
|
23000
23006
|
children: /* @__PURE__ */ d(zp, {})
|
|
23001
23007
|
}),
|
|
23002
|
-
D || o === null ? null : /* @__PURE__ */ d(
|
|
23008
|
+
D || o === null ? null : /* @__PURE__ */ d(Z, {
|
|
23003
23009
|
sx: B.logoContainer,
|
|
23004
23010
|
children: o || /* @__PURE__ */ d(My, {
|
|
23005
23011
|
mode: "dark",
|