@tracktor/design-system 3.11.0 → 3.11.2
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/CHANGELOG.md +2 -2
- package/dist/main.cjs +12 -12
- package/dist/main.js +113 -111
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { useTheme as we, Box as H, Skeleton as Ce, Tab as Qt, Card as lr, GlobalStyles as i1, TextareaAutosize as en, InputAdornment as a1, IconButton as
|
|
1
|
+
import { useTheme as we, Box as H, Skeleton as Ce, Tab as Qt, Card as lr, GlobalStyles as i1, TextareaAutosize as en, InputAdornment as a1, IconButton as Ae, SvgIcon as ve, TextField as R1, Toolbar as rn, Stack as j, AppBar as G1, Typography as X, List as v1, ListItem as Le, Chip as o1, useMediaQuery as s1, SwipeableDrawer as tn, Alert as cr, alpha as Ee, Button as dr, CircularProgress as tt, Modal as nn, Fade as an, Avatar as He, Divider as nt, Collapse as Fr, Tooltip as Hr, CardContent as on, Menu as sn, MenuItem as ln, ListItemIcon as cn, ListItemText as Be, Backdrop as it, responsiveFontSizes as pr, createTheme as Ze, getOverlayAlpha as X1, css as w1, CssBaseline as dn, ThemeProvider as pn, InputLabel as un, ListItemButton as q1, Checkbox as K1, ListItemAvatar as fn, Autocomplete as hn, Badge as gn, Paper as ur, Slide as Cn, Popper as xn, DialogContent as bn, DialogActions as yn, Dialog as mn, DialogContentText as vn, Snackbar as wn } from "@mui/material";
|
|
2
2
|
export * from "@mui/material";
|
|
3
|
-
import * as
|
|
4
|
-
import at, { createContext as
|
|
3
|
+
import * as Te from "react";
|
|
4
|
+
import at, { createContext as T1, useContext as _e, useCallback as pe, forwardRef as ue, useState as ae, useEffect as A1, cloneElement as fr, isValidElement as _1, memo as ot, useMemo as L1, useRef as E1, Children as En, useImperativeHandle as Mn } from "react";
|
|
5
5
|
import { createElement as Sn } from "@emotion/react";
|
|
6
6
|
const kn = {
|
|
7
7
|
disabledPermissions: void 0,
|
|
8
8
|
permissions: void 0,
|
|
9
9
|
setPermissions: () => {
|
|
10
10
|
}
|
|
11
|
-
}, st =
|
|
11
|
+
}, st = T1(kn), J1 = "or", j1 = (e, r) => e === "" || !r.length ? !1 : r.some((t) => e === t), Rn = () => {
|
|
12
12
|
const { permissions: e, setPermissions: r, disabledPermissions: t } = _e(st), i = pe(
|
|
13
13
|
(o, l, c = J1) => {
|
|
14
14
|
const u = [...l || [], ...e || []].filter((f) => !(t != null && t.includes(f)));
|
|
@@ -49,7 +49,7 @@ var Q1 = { exports: {} }, Je = {};
|
|
|
49
49
|
* LICENSE file in the root directory of this source tree.
|
|
50
50
|
*/
|
|
51
51
|
var Or;
|
|
52
|
-
function
|
|
52
|
+
function Tn() {
|
|
53
53
|
if (Or) return Je;
|
|
54
54
|
Or = 1;
|
|
55
55
|
var e = at, r = Symbol.for("react.element"), t = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, a = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
@@ -73,7 +73,7 @@ var Qe = {};
|
|
|
73
73
|
* LICENSE file in the root directory of this source tree.
|
|
74
74
|
*/
|
|
75
75
|
var Vr;
|
|
76
|
-
function
|
|
76
|
+
function An() {
|
|
77
77
|
return Vr || (Vr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
78
78
|
var e = at, r = Symbol.for("react.element"), t = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), c = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), k = Symbol.iterator, y = "@@iterator";
|
|
79
79
|
function h(s) {
|
|
@@ -100,10 +100,10 @@ function Tn() {
|
|
|
100
100
|
G.unshift("Warning: " + C), Function.prototype.apply.call(console[s], console, G);
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
|
-
var M = !1, p = !1, _ = !1,
|
|
103
|
+
var M = !1, p = !1, _ = !1, T = !1, D = !1, I;
|
|
104
104
|
I = Symbol.for("react.module.reference");
|
|
105
105
|
function K(s) {
|
|
106
|
-
return !!(typeof s == "string" || typeof s == "function" || s === i || s === o || D || s === a || s === u || s === f ||
|
|
106
|
+
return !!(typeof s == "string" || typeof s == "function" || s === i || s === o || D || s === a || s === u || s === f || T || s === g || M || p || _ || typeof s == "object" && s !== null && (s.$$typeof === b || s.$$typeof === x || s.$$typeof === l || s.$$typeof === c || s.$$typeof === d || // This needs to include all possible module reference object
|
|
107
107
|
// types supported by any Flight configuration anywhere since
|
|
108
108
|
// we don't know which Flight build this will end up being used
|
|
109
109
|
// with.
|
|
@@ -164,14 +164,14 @@ function Tn() {
|
|
|
164
164
|
}
|
|
165
165
|
return null;
|
|
166
166
|
}
|
|
167
|
-
var Z = Object.assign, q = 0, be, ye, $,
|
|
167
|
+
var Z = Object.assign, q = 0, be, ye, $, A, U, te, ce;
|
|
168
168
|
function fe() {
|
|
169
169
|
}
|
|
170
170
|
fe.__reactDisabledLog = !0;
|
|
171
171
|
function V1() {
|
|
172
172
|
{
|
|
173
173
|
if (q === 0) {
|
|
174
|
-
be = console.log, ye = console.info, $ = console.warn,
|
|
174
|
+
be = console.log, ye = console.info, $ = console.warn, A = console.error, U = console.group, te = console.groupCollapsed, ce = console.groupEnd;
|
|
175
175
|
var s = {
|
|
176
176
|
configurable: !0,
|
|
177
177
|
enumerable: !0,
|
|
@@ -210,7 +210,7 @@ function Tn() {
|
|
|
210
210
|
value: $
|
|
211
211
|
}),
|
|
212
212
|
error: Z({}, s, {
|
|
213
|
-
value:
|
|
213
|
+
value: A
|
|
214
214
|
}),
|
|
215
215
|
group: Z({}, s, {
|
|
216
216
|
value: U
|
|
@@ -529,7 +529,7 @@ Check the render method of \`` + s + "`.";
|
|
|
529
529
|
function Nt(s) {
|
|
530
530
|
return "";
|
|
531
531
|
}
|
|
532
|
-
var
|
|
532
|
+
var Tr = {};
|
|
533
533
|
function Wt(s) {
|
|
534
534
|
{
|
|
535
535
|
var C = Rr();
|
|
@@ -542,15 +542,15 @@ Check the top-level render call using <` + E + ">.");
|
|
|
542
542
|
return C;
|
|
543
543
|
}
|
|
544
544
|
}
|
|
545
|
-
function
|
|
545
|
+
function Ar(s, C) {
|
|
546
546
|
{
|
|
547
547
|
if (!s._store || s._store.validated || s.key != null)
|
|
548
548
|
return;
|
|
549
549
|
s._store.validated = !0;
|
|
550
550
|
var E = Wt(C);
|
|
551
|
-
if (
|
|
551
|
+
if (Tr[E])
|
|
552
552
|
return;
|
|
553
|
-
|
|
553
|
+
Tr[E] = !0;
|
|
554
554
|
var L = "";
|
|
555
555
|
s && s._owner && s._owner !== Z1.current && (L = " It was passed a child from " + Y(s._owner.type) + "."), $e(s), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', E, L), $e(null);
|
|
556
556
|
}
|
|
@@ -562,7 +562,7 @@ Check the top-level render call using <` + E + ">.");
|
|
|
562
562
|
if (P1(s))
|
|
563
563
|
for (var E = 0; E < s.length; E++) {
|
|
564
564
|
var L = s[E];
|
|
565
|
-
N1(L) &&
|
|
565
|
+
N1(L) && Ar(L, C);
|
|
566
566
|
}
|
|
567
567
|
else if (N1(s))
|
|
568
568
|
s._store && (s._store.validated = !0);
|
|
@@ -570,7 +570,7 @@ Check the top-level render call using <` + E + ">.");
|
|
|
570
570
|
var z = h(s);
|
|
571
571
|
if (typeof z == "function" && z !== s.entries)
|
|
572
572
|
for (var G = z.call(s), V; !(V = G.next()).done; )
|
|
573
|
-
N1(V.value) &&
|
|
573
|
+
N1(V.value) && Ar(V.value, C);
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
576
|
}
|
|
@@ -666,7 +666,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
666
666
|
Qe.Fragment = i, Qe.jsx = Xt, Qe.jsxs = qt;
|
|
667
667
|
}()), Qe;
|
|
668
668
|
}
|
|
669
|
-
process.env.NODE_ENV === "production" ? Q1.exports =
|
|
669
|
+
process.env.NODE_ENV === "production" ? Q1.exports = Tn() : Q1.exports = An();
|
|
670
670
|
var l1 = Q1.exports, _n = !1;
|
|
671
671
|
function Ln(e) {
|
|
672
672
|
if (e.sheet)
|
|
@@ -851,26 +851,26 @@ function Un(e) {
|
|
|
851
851
|
return ft(y1("", null, null, null, [""], e = ut(e), 0, [0], e));
|
|
852
852
|
}
|
|
853
853
|
function y1(e, r, t, i, a, o, l, c, d) {
|
|
854
|
-
for (var u = 0, f = 0, x = l, b = 0, g = 0, k = 0, y = 1, h = 1, w = 1, S = 0, m = "", M = a, p = o, _ = i,
|
|
854
|
+
for (var u = 0, f = 0, x = l, b = 0, g = 0, k = 0, y = 1, h = 1, w = 1, S = 0, m = "", M = a, p = o, _ = i, T = m; h; )
|
|
855
855
|
switch (k = S, S = xe()) {
|
|
856
856
|
case 40:
|
|
857
|
-
if (k != 108 && oe(
|
|
858
|
-
er(
|
|
857
|
+
if (k != 108 && oe(T, x - 1) == 58) {
|
|
858
|
+
er(T += B(b1(S), "&", "&\f"), "&\f") != -1 && (w = -1);
|
|
859
859
|
break;
|
|
860
860
|
}
|
|
861
861
|
case 34:
|
|
862
862
|
case 39:
|
|
863
863
|
case 91:
|
|
864
|
-
|
|
864
|
+
T += b1(S);
|
|
865
865
|
break;
|
|
866
866
|
case 9:
|
|
867
867
|
case 10:
|
|
868
868
|
case 13:
|
|
869
869
|
case 32:
|
|
870
|
-
|
|
870
|
+
T += Nn(k);
|
|
871
871
|
break;
|
|
872
872
|
case 92:
|
|
873
|
-
|
|
873
|
+
T += Wn(x1() - 1, 7);
|
|
874
874
|
continue;
|
|
875
875
|
case 47:
|
|
876
876
|
switch (Re()) {
|
|
@@ -879,11 +879,11 @@ function y1(e, r, t, i, a, o, l, c, d) {
|
|
|
879
879
|
h1(Gn(jn(xe(), x1()), r, t), d);
|
|
880
880
|
break;
|
|
881
881
|
default:
|
|
882
|
-
|
|
882
|
+
T += "/";
|
|
883
883
|
}
|
|
884
884
|
break;
|
|
885
885
|
case 123 * y:
|
|
886
|
-
c[u++] = Se(
|
|
886
|
+
c[u++] = Se(T) * w;
|
|
887
887
|
case 125 * y:
|
|
888
888
|
case 59:
|
|
889
889
|
case 0:
|
|
@@ -892,16 +892,16 @@ function y1(e, r, t, i, a, o, l, c, d) {
|
|
|
892
892
|
case 125:
|
|
893
893
|
h = 0;
|
|
894
894
|
case 59 + f:
|
|
895
|
-
w == -1 && (
|
|
895
|
+
w == -1 && (T = B(T, /\f/g, "")), g > 0 && Se(T) - x && h1(g > 32 ? $r(T + ";", i, t, x - 1) : $r(B(T, " ", "") + ";", i, t, x - 2), d);
|
|
896
896
|
break;
|
|
897
897
|
case 59:
|
|
898
|
-
|
|
898
|
+
T += ";";
|
|
899
899
|
default:
|
|
900
|
-
if (h1(_ = Dr(
|
|
900
|
+
if (h1(_ = Dr(T, r, t, u, f, a, c, m, M = [], p = [], x), o), S === 123)
|
|
901
901
|
if (f === 0)
|
|
902
|
-
y1(
|
|
902
|
+
y1(T, r, _, _, M, o, x, c, p);
|
|
903
903
|
else
|
|
904
|
-
switch (b === 99 && oe(
|
|
904
|
+
switch (b === 99 && oe(T, 3) === 110 ? 100 : b) {
|
|
905
905
|
case 100:
|
|
906
906
|
case 108:
|
|
907
907
|
case 109:
|
|
@@ -909,13 +909,13 @@ function y1(e, r, t, i, a, o, l, c, d) {
|
|
|
909
909
|
y1(e, _, _, i && h1(Dr(e, _, _, 0, 0, a, c, m, a, M = [], x), p), a, p, x, c, i ? M : p);
|
|
910
910
|
break;
|
|
911
911
|
default:
|
|
912
|
-
y1(
|
|
912
|
+
y1(T, _, _, _, [""], p, 0, c, p);
|
|
913
913
|
}
|
|
914
914
|
}
|
|
915
|
-
u = f = g = 0, y = w = 1, m =
|
|
915
|
+
u = f = g = 0, y = w = 1, m = T = "", x = l;
|
|
916
916
|
break;
|
|
917
917
|
case 58:
|
|
918
|
-
x = 1 + Se(
|
|
918
|
+
x = 1 + Se(T), g = k;
|
|
919
919
|
default:
|
|
920
920
|
if (y < 1) {
|
|
921
921
|
if (S == 123)
|
|
@@ -923,18 +923,18 @@ function y1(e, r, t, i, a, o, l, c, d) {
|
|
|
923
923
|
else if (S == 125 && y++ == 0 && zn() == 125)
|
|
924
924
|
continue;
|
|
925
925
|
}
|
|
926
|
-
switch (
|
|
926
|
+
switch (T += I1(S), S * y) {
|
|
927
927
|
case 38:
|
|
928
|
-
w = f > 0 ? 1 : (
|
|
928
|
+
w = f > 0 ? 1 : (T += "\f", -1);
|
|
929
929
|
break;
|
|
930
930
|
case 44:
|
|
931
|
-
c[u++] = (Se(
|
|
931
|
+
c[u++] = (Se(T) - 1) * w, w = 1;
|
|
932
932
|
break;
|
|
933
933
|
case 64:
|
|
934
|
-
Re() === 45 && (
|
|
934
|
+
Re() === 45 && (T += b1(xe())), b = Re(), f = x = Se(m = T += Yn(x1())), S++;
|
|
935
935
|
break;
|
|
936
936
|
case 45:
|
|
937
|
-
k === 45 && Se(
|
|
937
|
+
k === 45 && Se(T) == 2 && (y = 0);
|
|
938
938
|
}
|
|
939
939
|
}
|
|
940
940
|
return o;
|
|
@@ -1349,8 +1349,8 @@ function li() {
|
|
|
1349
1349
|
}
|
|
1350
1350
|
}
|
|
1351
1351
|
}
|
|
1352
|
-
var p = d, _ = u,
|
|
1353
|
-
function
|
|
1352
|
+
var p = d, _ = u, T = c, D = l, I = r, K = f, se = i, ne = k, Y = g, Z = t, q = o, be = a, ye = x, $ = !1;
|
|
1353
|
+
function A(R) {
|
|
1354
1354
|
return $ || ($ = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), U(R) || M(R) === d;
|
|
1355
1355
|
}
|
|
1356
1356
|
function U(R) {
|
|
@@ -1389,7 +1389,7 @@ function li() {
|
|
|
1389
1389
|
function $1(R) {
|
|
1390
1390
|
return M(R) === x;
|
|
1391
1391
|
}
|
|
1392
|
-
W.AsyncMode = p, W.ConcurrentMode = _, W.ContextConsumer =
|
|
1392
|
+
W.AsyncMode = p, W.ConcurrentMode = _, W.ContextConsumer = T, W.ContextProvider = D, W.Element = I, W.ForwardRef = K, W.Fragment = se, W.Lazy = ne, W.Memo = Y, W.Portal = Z, W.Profiler = q, W.StrictMode = be, W.Suspense = ye, W.isAsyncMode = A, W.isConcurrentMode = U, W.isContextConsumer = te, W.isContextProvider = ce, W.isElement = fe, W.isForwardRef = V1, W.isFragment = D1, W.isLazy = Ye, W.isMemo = Ue, W.isPortal = Oe, W.isProfiler = Ge, W.isStrictMode = Ve, W.isSuspense = $1, W.isValidElementType = m, W.typeOf = M;
|
|
1393
1393
|
}()), W;
|
|
1394
1394
|
}
|
|
1395
1395
|
process.env.NODE_ENV === "production" ? tr.exports = si() : tr.exports = li();
|
|
@@ -1633,7 +1633,7 @@ function wi(e, r, t) {
|
|
|
1633
1633
|
}
|
|
1634
1634
|
var Ei = function(r) {
|
|
1635
1635
|
return r();
|
|
1636
|
-
}, Mi =
|
|
1636
|
+
}, Mi = Te.useInsertionEffect ? Te.useInsertionEffect : !1, Si = Mi || Ei, ki = !1, yt = /* @__PURE__ */ Te.createContext(
|
|
1637
1637
|
// we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
1638
1638
|
// because this module is primarily intended for the browser and node
|
|
1639
1639
|
// but it's also required in react native and similar environments sometimes
|
|
@@ -1650,12 +1650,12 @@ var Ri = function(r) {
|
|
|
1650
1650
|
var a = _e(yt);
|
|
1651
1651
|
return r(t, a, i);
|
|
1652
1652
|
});
|
|
1653
|
-
},
|
|
1653
|
+
}, Ti = /* @__PURE__ */ Te.createContext({}), O1 = {}.hasOwnProperty, nr = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", mt = function(r, t) {
|
|
1654
1654
|
var i = {};
|
|
1655
1655
|
for (var a in t)
|
|
1656
1656
|
O1.call(t, a) && (i[a] = t[a]);
|
|
1657
1657
|
return i[nr] = r, i;
|
|
1658
|
-
},
|
|
1658
|
+
}, Ai = function(r) {
|
|
1659
1659
|
var t = r.cache, i = r.serialized, a = r.isStringTag;
|
|
1660
1660
|
return xt(t, i, a), Si(function() {
|
|
1661
1661
|
return hi(t, i, a);
|
|
@@ -1667,16 +1667,16 @@ var Ri = function(r) {
|
|
|
1667
1667
|
typeof i == "string" && r.registered[i] !== void 0 && (i = r.registered[i]);
|
|
1668
1668
|
var a = e[nr], o = [i], l = "";
|
|
1669
1669
|
typeof e.className == "string" ? l = fi(r.registered, o, e.className) : e.className != null && (l = e.className + " ");
|
|
1670
|
-
var c = wi(o, void 0,
|
|
1670
|
+
var c = wi(o, void 0, Te.useContext(Ti));
|
|
1671
1671
|
l += r.key + "-" + c.name;
|
|
1672
1672
|
var d = {};
|
|
1673
1673
|
for (var u in e)
|
|
1674
1674
|
O1.call(e, u) && u !== "css" && u !== nr && !ki && (d[u] = e[u]);
|
|
1675
|
-
return d.className = l, t && (d.ref = t), /* @__PURE__ */
|
|
1675
|
+
return d.className = l, t && (d.ref = t), /* @__PURE__ */ Te.createElement(Te.Fragment, null, /* @__PURE__ */ Te.createElement(Ai, {
|
|
1676
1676
|
cache: r,
|
|
1677
1677
|
serialized: c,
|
|
1678
1678
|
isStringTag: typeof a == "string"
|
|
1679
|
-
}), /* @__PURE__ */
|
|
1679
|
+
}), /* @__PURE__ */ Te.createElement(a, d));
|
|
1680
1680
|
}
|
|
1681
1681
|
), vt = _i, Me = l1.Fragment;
|
|
1682
1682
|
function n(e, r, t) {
|
|
@@ -1735,8 +1735,8 @@ const jr = 32, Li = 24, Ii = 105, Fi = 24, Hi = 195, Oi = 44, Vi = 147, Di = ()
|
|
|
1735
1735
|
getTextColor: r
|
|
1736
1736
|
};
|
|
1737
1737
|
}, $i = ({ colorShape: e, shapeBackgroundColor: r, color: t, height: i, width: a, withoutText: o, mode: l, sx: c, variant: d = "default", component: u = "img" }, f) => {
|
|
1738
|
-
const [x, b] = ae(""), { palette: g } = we(), { getTextColor: k, getImageModule: y, getSize: h, getShapeColor: w, getShapeBackgroundColor: S } = Di(), { height: m, width: M } = h({ height: i, variant: d, width: a, withoutText: o }), p = k(t), _ = w(e),
|
|
1739
|
-
if (
|
|
1738
|
+
const [x, b] = ae(""), { palette: g } = we(), { getTextColor: k, getImageModule: y, getSize: h, getShapeColor: w, getShapeBackgroundColor: S } = Di(), { height: m, width: M } = h({ height: i, variant: d, width: a, withoutText: o }), p = k(t), _ = w(e), T = S(r);
|
|
1739
|
+
if (A1(() => {
|
|
1740
1740
|
u !== "svg" && (async () => {
|
|
1741
1741
|
const D = await y(d, l || g.mode, o);
|
|
1742
1742
|
b(D.default);
|
|
@@ -1891,7 +1891,7 @@ const jr = 32, Li = 24, Ii = 105, Fi = 24, Hi = 195, Oi = 44, Vi = 147, Di = ()
|
|
|
1891
1891
|
"path",
|
|
1892
1892
|
{
|
|
1893
1893
|
d: "M0 3C0 1.34315 1.34315 0 3 0H21C22.6569 0 24 1.34315 24 3V21C24 22.6569 22.6569 24 21 24H3C1.34315 24 0 22.6569 0 21V3Z",
|
|
1894
|
-
fill:
|
|
1894
|
+
fill: T
|
|
1895
1895
|
}
|
|
1896
1896
|
),
|
|
1897
1897
|
/* @__PURE__ */ v("g", { clipPath: "url(#clip0_14141_226706)", children: [
|
|
@@ -2005,7 +2005,7 @@ const jr = 32, Li = 24, Ii = 105, Fi = 24, Hi = 195, Oi = 44, Vi = 147, Di = ()
|
|
|
2005
2005
|
"path",
|
|
2006
2006
|
{
|
|
2007
2007
|
d: "M0 3C0 1.34315 1.34315 0 3 0H21C22.6569 0 24 1.34315 24 3V21C24 22.6569 22.6569 24 21 24H3C1.34315 24 0 22.6569 0 21V3Z",
|
|
2008
|
-
fill:
|
|
2008
|
+
fill: T
|
|
2009
2009
|
}
|
|
2010
2010
|
),
|
|
2011
2011
|
/* @__PURE__ */ v("g", { clipPath: "url(#clip0_14141_226601)", children: [
|
|
@@ -2166,11 +2166,11 @@ const jr = 32, Li = 24, Ii = 105, Fi = 24, Hi = 195, Oi = 44, Vi = 147, Di = ()
|
|
|
2166
2166
|
},
|
|
2167
2167
|
autoComplete: "off",
|
|
2168
2168
|
InputProps: {
|
|
2169
|
-
endAdornment: /* @__PURE__ */ n(a1, { position: "end", children: /* @__PURE__ */ n(
|
|
2169
|
+
endAdornment: /* @__PURE__ */ n(a1, { position: "end", children: /* @__PURE__ */ n(Ae, { disabled: r === a, onClick: () => {
|
|
2170
2170
|
const x = Number(r) + 1;
|
|
2171
2171
|
t == null || t(x <= a ? x : Number(r));
|
|
2172
2172
|
}, size: "small", "aria-label": "increment", children: /* @__PURE__ */ n(ve, { viewBox: "0 0 24 24", children: /* @__PURE__ */ n("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" }) }) }) }),
|
|
2173
|
-
startAdornment: /* @__PURE__ */ n(a1, { position: "start", children: /* @__PURE__ */ n(
|
|
2173
|
+
startAdornment: /* @__PURE__ */ n(a1, { position: "start", children: /* @__PURE__ */ n(Ae, { onClick: () => {
|
|
2174
2174
|
const x = Number(r) - 1;
|
|
2175
2175
|
t == null || t(x >= i ? x : Number(r));
|
|
2176
2176
|
}, disabled: r === i || r === 0, size: "small", "aria-label": "decrement", children: /* @__PURE__ */ n(ve, { viewBox: "0 0 24 24", children: /* @__PURE__ */ n("path", { d: "M18 13H6c-.55 0-1-.45-1-1s.45-1 1-1h12c.55 0 1 .45 1 1s-.45 1-1 1z" }) }) }) }),
|
|
@@ -2202,7 +2202,7 @@ const jr = 32, Li = 24, Ii = 105, Fi = 24, Hi = 195, Oi = 44, Vi = 147, Di = ()
|
|
|
2202
2202
|
background: i,
|
|
2203
2203
|
borderBottom: ({ palette: o }) => `1px solid ${o.mode === "dark" ? o.divider : i}`
|
|
2204
2204
|
},
|
|
2205
|
-
children: /* @__PURE__ */ n(rn, { component: j, direction: "row", spacing: 3, height: "100%", justifyContent: "space-between", children: /* @__PURE__ */ n(
|
|
2205
|
+
children: /* @__PURE__ */ n(rn, { component: j, direction: "row", spacing: 3, height: "100%", justifyContent: "space-between", children: /* @__PURE__ */ n(Ae, { onClick: e, edge: "end", color: "inherit", "aria-label": "menu", children: /* @__PURE__ */ n(wt, {}) }) })
|
|
2206
2206
|
}
|
|
2207
2207
|
);
|
|
2208
2208
|
}, xr = ({ sx: e, color: r = "currentColor" }) => /* @__PURE__ */ n(
|
|
@@ -2325,7 +2325,7 @@ const jr = 32, Li = 24, Ii = 105, Fi = 24, Hi = 195, Oi = 44, Vi = 147, Di = ()
|
|
|
2325
2325
|
children: b
|
|
2326
2326
|
}
|
|
2327
2327
|
),
|
|
2328
|
-
a && /* @__PURE__ */ n(
|
|
2328
|
+
a && /* @__PURE__ */ n(Ae, { onClick: i, children: /* @__PURE__ */ n(xr, { color: g.getContrastText(k) }) })
|
|
2329
2329
|
]
|
|
2330
2330
|
}
|
|
2331
2331
|
),
|
|
@@ -2409,7 +2409,7 @@ const jr = 32, Li = 24, Ii = 105, Fi = 24, Hi = 195, Oi = 44, Vi = 147, Di = ()
|
|
|
2409
2409
|
isTablet: !1,
|
|
2410
2410
|
openDrawerMenu: () => {
|
|
2411
2411
|
}
|
|
2412
|
-
}, je =
|
|
2412
|
+
}, je = T1(Et), Wi = () => {
|
|
2413
2413
|
const { items: e, disableResponsive: r, isMobile: t, isTablet: i, isDrawerOpen: a, closeDrawerMenu: o, sideBarWidth: l, openDrawerMenu: c } = _e(je);
|
|
2414
2414
|
return (t || i) && !r ? /* @__PURE__ */ v(Me, { children: [
|
|
2415
2415
|
/* @__PURE__ */ n(zi, {}),
|
|
@@ -2612,7 +2612,7 @@ const jr = 32, Li = 24, Ii = 105, Fi = 24, Hi = 195, Oi = 44, Vi = 147, Di = ()
|
|
|
2612
2612
|
});
|
|
2613
2613
|
return /* @__PURE__ */ n(nn, { open: r, onClose: d, ...a, children: /* @__PURE__ */ v(H, { sx: { "&:focus": { outline: "none" }, inset: 0, position: "absolute" }, children: [
|
|
2614
2614
|
/* @__PURE__ */ n(
|
|
2615
|
-
|
|
2615
|
+
Ae,
|
|
2616
2616
|
{
|
|
2617
2617
|
size: "small",
|
|
2618
2618
|
"aria-label": "close",
|
|
@@ -2650,7 +2650,7 @@ const jr = 32, Li = 24, Ii = 105, Fi = 24, Hi = 195, Oi = 44, Vi = 147, Di = ()
|
|
|
2650
2650
|
)
|
|
2651
2651
|
] }) });
|
|
2652
2652
|
}, ta = ({ onClick: e }) => /* @__PURE__ */ n(
|
|
2653
|
-
|
|
2653
|
+
Ae,
|
|
2654
2654
|
{
|
|
2655
2655
|
"aria-label": "close",
|
|
2656
2656
|
onClick: e,
|
|
@@ -2805,9 +2805,11 @@ const aa = (e, r) => {
|
|
|
2805
2805
|
{
|
|
2806
2806
|
src: e,
|
|
2807
2807
|
secondarySrc: t,
|
|
2808
|
-
secondaryAvatarProps: {
|
|
2808
|
+
secondaryAvatarProps: (i || o) && {
|
|
2809
2809
|
...i,
|
|
2810
|
-
children
|
|
2810
|
+
...o && !(i != null && i.children) && {
|
|
2811
|
+
children: o
|
|
2812
|
+
},
|
|
2811
2813
|
title: o
|
|
2812
2814
|
},
|
|
2813
2815
|
alt: d,
|
|
@@ -2912,19 +2914,19 @@ const aa = (e, r) => {
|
|
|
2912
2914
|
onClickThumb: k,
|
|
2913
2915
|
variant: y
|
|
2914
2916
|
}) => {
|
|
2915
|
-
const [h, w] = ae(!1), [S, m] = ae(!1), M = e == null ? void 0 : e.toLowerCase(), p = !(M != null && M.endsWith(".pdf")) && !(M != null && M.startsWith("blob:")) && !(M != null && M.endsWith(".eml")), _ = M == null ? void 0 : M.endsWith(".pdf"),
|
|
2917
|
+
const [h, w] = ae(!1), [S, m] = ae(!1), M = e == null ? void 0 : e.toLowerCase(), p = !(M != null && M.endsWith(".pdf")) && !(M != null && M.startsWith("blob:")) && !(M != null && M.endsWith(".eml")), _ = M == null ? void 0 : M.endsWith(".pdf"), T = E1(null), D = S ? sa : r || e, I = f ? 1 : 0.8, K = () => {
|
|
2916
2918
|
!p && !_ || w((Y) => !Y);
|
|
2917
2919
|
}, se = () => {
|
|
2918
2920
|
w(!1), g == null || g();
|
|
2919
2921
|
}, ne = pe(() => {
|
|
2920
2922
|
m(!0);
|
|
2921
2923
|
}, []);
|
|
2922
|
-
return
|
|
2923
|
-
const Y =
|
|
2924
|
+
return A1(() => {
|
|
2925
|
+
const Y = T.current;
|
|
2924
2926
|
return Y == null || Y.addEventListener("error", ne), () => {
|
|
2925
2927
|
Y == null || Y.removeEventListener("error", ne);
|
|
2926
2928
|
};
|
|
2927
|
-
}, [ne,
|
|
2929
|
+
}, [ne, T]), /* @__PURE__ */ v(Me, { children: [
|
|
2928
2930
|
!x && !i && /* @__PURE__ */ n(
|
|
2929
2931
|
H,
|
|
2930
2932
|
{
|
|
@@ -2951,7 +2953,7 @@ const aa = (e, r) => {
|
|
|
2951
2953
|
height: p ? "100%" : "auto",
|
|
2952
2954
|
width: "100%",
|
|
2953
2955
|
src: D || void 0,
|
|
2954
|
-
ref:
|
|
2956
|
+
ref: T,
|
|
2955
2957
|
sx: g1.thumb
|
|
2956
2958
|
},
|
|
2957
2959
|
D
|
|
@@ -2999,7 +3001,7 @@ const aa = (e, r) => {
|
|
|
2999
3001
|
Collapse: b
|
|
3000
3002
|
}) => {
|
|
3001
3003
|
const [g, k] = ae(!1), y = b || !!(c != null && c.length);
|
|
3002
|
-
return
|
|
3004
|
+
return A1(() => {
|
|
3003
3005
|
d && k(!0);
|
|
3004
3006
|
}, [d]), /* @__PURE__ */ v(j, { direction: "row", alignItems: "stretch", spacing: 0, mt: 0.5, children: [
|
|
3005
3007
|
/* @__PURE__ */ n(H, { mt: 1.5, textAlign: "center", children: /* @__PURE__ */ n(j, { spacing: 1, alignItems: "center", sx: { height: "100%", width: 32 }, children: /* @__PURE__ */ v(Me, { children: [
|
|
@@ -3088,7 +3090,7 @@ const aa = (e, r) => {
|
|
|
3088
3090
|
x,
|
|
3089
3091
|
b && /* @__PURE__ */ n(Fr, { in: g, children: b }),
|
|
3090
3092
|
!!(c != null && c.length) && /* @__PURE__ */ n(Fr, { in: g, children: /* @__PURE__ */ n(j, { marginTop: 3, spacing: 3, children: c == null ? void 0 : c.map((h, w) => {
|
|
3091
|
-
var M, p, _,
|
|
3093
|
+
var M, p, _, T;
|
|
3092
3094
|
const S = `${h.title}-${w}`, m = Array.isArray(h == null ? void 0 : h.file) ? h == null ? void 0 : h.file[0] : h == null ? void 0 : h.file;
|
|
3093
3095
|
return /* @__PURE__ */ v(j, { direction: "row", spacing: 1, minWidth: 0, children: [
|
|
3094
3096
|
/* @__PURE__ */ n(la, { sx: { height: 18, paddingTop: 0.5, width: 18 } }),
|
|
@@ -3158,7 +3160,7 @@ const aa = (e, r) => {
|
|
|
3158
3160
|
justifyContent: "center",
|
|
3159
3161
|
width: C1
|
|
3160
3162
|
},
|
|
3161
|
-
children: `${(((
|
|
3163
|
+
children: `${(((T = h == null ? void 0 : h.file) == null ? void 0 : T.length) || 0) - 1}+`
|
|
3162
3164
|
}
|
|
3163
3165
|
)
|
|
3164
3166
|
] })
|
|
@@ -3220,7 +3222,7 @@ const aa = (e, r) => {
|
|
|
3220
3222
|
] }) }) : !(e != null && e.length) && !r ? /* @__PURE__ */ n(U1, { sx: i, children: /* @__PURE__ */ n(cr, { severity: "info", children: t }) }) : /* @__PURE__ */ v(Me, { children: [
|
|
3221
3223
|
/* @__PURE__ */ n(U1, { sx: i, "data-test": o, "data-testid": l, children: e == null ? void 0 : e.map(
|
|
3222
3224
|
({ Action: u, Collapse: f, collapseItems: x, collapseDefaultOpen: b, subtitle: g, key: k, active: y, Footer: h, Icon: w, onClick: S, tag: m, title: M }, p) => {
|
|
3223
|
-
const _ = `${k}-${p}-${M}`,
|
|
3225
|
+
const _ = `${k}-${p}-${M}`, T = p === e.length - 1;
|
|
3224
3226
|
return /* @__PURE__ */ n(
|
|
3225
3227
|
da,
|
|
3226
3228
|
{
|
|
@@ -3233,7 +3235,7 @@ const aa = (e, r) => {
|
|
|
3233
3235
|
title: M,
|
|
3234
3236
|
subtitle: g,
|
|
3235
3237
|
Icon: w,
|
|
3236
|
-
isLastElement:
|
|
3238
|
+
isLastElement: T,
|
|
3237
3239
|
onClick: S,
|
|
3238
3240
|
tag: m,
|
|
3239
3241
|
variant: a
|
|
@@ -3644,7 +3646,7 @@ const aa = (e, r) => {
|
|
|
3644
3646
|
position: b = "static",
|
|
3645
3647
|
elevation: g = 0
|
|
3646
3648
|
}) => {
|
|
3647
|
-
const { breakpoints: k } = we(), { closeMenu: y, isMenuOpen: h, anchorMenu: w, openMenu: S } = ha(), { menuItems: m, ...M } = o || {}, p = s1(k.down("sm")), _ = s1(k.between("sm", "md")),
|
|
3649
|
+
const { breakpoints: k } = we(), { closeMenu: y, isMenuOpen: h, anchorMenu: w, openMenu: S } = ha(), { menuItems: m, ...M } = o || {}, p = s1(k.down("sm")), _ = s1(k.between("sm", "md")), T = p || _, D = {
|
|
3648
3650
|
logoContainer: {
|
|
3649
3651
|
a: {
|
|
3650
3652
|
display: "flex"
|
|
@@ -3676,8 +3678,8 @@ const aa = (e, r) => {
|
|
|
3676
3678
|
};
|
|
3677
3679
|
return u ? /* @__PURE__ */ n(G1, { position: b, elevation: g, sx: D, children: u }) : /* @__PURE__ */ v(Me, { children: [
|
|
3678
3680
|
/* @__PURE__ */ n(G1, { position: b, elevation: g, sx: D, children: /* @__PURE__ */ v(j, { direction: "row", sx: { alignItems: "center", height: "100%", width: "100%" }, spacing: 1, children: [
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
+
T && /* @__PURE__ */ n(Ae, { onClick: f, edge: "end", color: "inherit", "aria-label": "menu", children: /* @__PURE__ */ n(wt, {}) }),
|
|
3682
|
+
T || i === null ? null : /* @__PURE__ */ n(H, { sx: D.logoContainer, children: i || /* @__PURE__ */ n(Pi, { mode: "dark", ...d }) }),
|
|
3681
3683
|
/* @__PURE__ */ v(j, { alignItems: "center", direction: "row", justifyContent: p ? "flex-end" : "center", spacing: 1, flex: 1, children: [
|
|
3682
3684
|
p && (t === null ? null : t || /* @__PURE__ */ n(Kr, { ...c })),
|
|
3683
3685
|
r === null ? null : r || /* @__PURE__ */ n(fa, { ...l })
|
|
@@ -4727,7 +4729,7 @@ const aa = (e, r) => {
|
|
|
4727
4729
|
}, Qr = {
|
|
4728
4730
|
fontWeight: ma,
|
|
4729
4731
|
import: !0
|
|
4730
|
-
},
|
|
4732
|
+
}, Tt = T1({
|
|
4731
4733
|
language: "en"
|
|
4732
4734
|
}), wa = ({ theme: e }) => /* @__PURE__ */ n(
|
|
4733
4735
|
i1,
|
|
@@ -4792,7 +4794,7 @@ const aa = (e, r) => {
|
|
|
4792
4794
|
};
|
|
4793
4795
|
return o === "dark" || typeof o == "object" && "palette" in o && ((w = o == null ? void 0 : o.palette) == null ? void 0 : w.mode) === "dark" ? Ze(Rt, y, h) : o === "light" || typeof o == "object" && "palette" in o && ((S = o == null ? void 0 : o.palette) == null ? void 0 : S.mode) === "light" ? Ze(kt, y, h) : Ze(or, y, h);
|
|
4794
4796
|
};
|
|
4795
|
-
return /* @__PURE__ */ n(
|
|
4797
|
+
return /* @__PURE__ */ n(Tt.Provider, { value: x, children: /* @__PURE__ */ v(pn, { theme: b(), children: [
|
|
4796
4798
|
/* @__PURE__ */ n(
|
|
4797
4799
|
i1,
|
|
4798
4800
|
{
|
|
@@ -4829,15 +4831,15 @@ const aa = (e, r) => {
|
|
|
4829
4831
|
}, ka = {
|
|
4830
4832
|
en: Ma,
|
|
4831
4833
|
fr: Sa
|
|
4832
|
-
},
|
|
4833
|
-
const { language: e } = _e(
|
|
4834
|
+
}, At = () => {
|
|
4835
|
+
const { language: e } = _e(Tt);
|
|
4834
4836
|
return {
|
|
4835
4837
|
t: (t) => ka[e][t]
|
|
4836
4838
|
};
|
|
4837
4839
|
}, et = 5, Ra = (e, r) => {
|
|
4838
4840
|
const t = r === "vertical";
|
|
4839
4841
|
return e === "small" ? t ? 130 : 60 : t ? 150 : 80;
|
|
4840
|
-
},
|
|
4842
|
+
}, Ta = (e) => {
|
|
4841
4843
|
if (!e)
|
|
4842
4844
|
return "";
|
|
4843
4845
|
const r = e.length > 1, i = [...e || []].slice(0, 5).map(({ name: a }) => {
|
|
@@ -4865,8 +4867,8 @@ const aa = (e, r) => {
|
|
|
4865
4867
|
title: y,
|
|
4866
4868
|
variant: h = "vertical"
|
|
4867
4869
|
}, w) => {
|
|
4868
|
-
const { t: S } =
|
|
4869
|
-
Mn(w, () =>
|
|
4870
|
+
const { t: S } = At(), { palette: m } = we(), M = h === "vertical", p = c || r, _ = E1(null), T = E1(null), [D, I] = ae(null), K = Ta(D);
|
|
4871
|
+
Mn(w, () => T.current);
|
|
4870
4872
|
const se = (Z) => {
|
|
4871
4873
|
b == null || b(Z), I(Z.target.files);
|
|
4872
4874
|
};
|
|
@@ -4880,7 +4882,7 @@ const aa = (e, r) => {
|
|
|
4880
4882
|
},
|
|
4881
4883
|
onDrop: (Z) => {
|
|
4882
4884
|
if (Z.preventDefault(), Z.dataTransfer.files.length > 0) {
|
|
4883
|
-
const q =
|
|
4885
|
+
const q = T.current, be = Z.dataTransfer.files;
|
|
4884
4886
|
I(be);
|
|
4885
4887
|
const ye = new DataTransfer();
|
|
4886
4888
|
Array.from(be).forEach(($) => ye.items.add($)), q && (q.files = ye.files), q == null || q.focus(), q == null || q.blur(), b == null || b({ ...Z, target: q }), Z.dataTransfer.clearData();
|
|
@@ -4942,7 +4944,7 @@ const aa = (e, r) => {
|
|
|
4942
4944
|
"input",
|
|
4943
4945
|
{
|
|
4944
4946
|
id: p,
|
|
4945
|
-
ref:
|
|
4947
|
+
ref: T,
|
|
4946
4948
|
type: "file",
|
|
4947
4949
|
title: y,
|
|
4948
4950
|
disabled: t,
|
|
@@ -4967,7 +4969,7 @@ const aa = (e, r) => {
|
|
|
4967
4969
|
}
|
|
4968
4970
|
);
|
|
4969
4971
|
}
|
|
4970
|
-
), t1 = 1,
|
|
4972
|
+
), t1 = 1, Aa = (e) => typeof e == "string", n1 = {
|
|
4971
4973
|
list: {
|
|
4972
4974
|
marginLeft: ({ spacing: e }) => `-${e(0.5)} !important`,
|
|
4973
4975
|
marginRight: ({ spacing: e }) => `-${e(0.5)} !important`,
|
|
@@ -5019,9 +5021,9 @@ const aa = (e, r) => {
|
|
|
5019
5021
|
},
|
|
5020
5022
|
children: [
|
|
5021
5023
|
t == null ? void 0 : t.map(
|
|
5022
|
-
({ id: b, title: g, subtitle: k, image: y, thumbnail: h, secondaryAction: w, chipLabel: S, chipColor: m, onClick: M, icon: p, Avatar: _ },
|
|
5023
|
-
var
|
|
5024
|
-
const D = `key-${
|
|
5024
|
+
({ id: b, title: g, subtitle: k, image: y, thumbnail: h, secondaryAction: w, chipLabel: S, chipColor: m, onClick: M, icon: p, Avatar: _ }, T) => {
|
|
5025
|
+
var A, U, te, ce;
|
|
5026
|
+
const D = `key-${T}-${g}-${b}`, I = (A = y == null ? void 0 : y.toLowerCase()) == null ? void 0 : A.endsWith(".pdf"), K = (U = y == null ? void 0 : y.toLowerCase()) == null ? void 0 : U.startsWith("http"), se = (te = h == null ? void 0 : h.toLowerCase()) == null ? void 0 : te.startsWith("http"), ne = M ? "none" : void 0, Y = c || !!p || !K, Z = !!M || !!(!M && !c && (h || y)), q = u === D, $ = (se ? h : "") || (K ? y : "") || "";
|
|
5025
5027
|
return /* @__PURE__ */ v(
|
|
5026
5028
|
Le,
|
|
5027
5029
|
{
|
|
@@ -5080,7 +5082,7 @@ const aa = (e, r) => {
|
|
|
5080
5082
|
{
|
|
5081
5083
|
primary: /* @__PURE__ */ v(j, { direction: "row", alignItems: "center", spacing: 1, children: [
|
|
5082
5084
|
g && /* @__PURE__ */ n(X, { variant: "h6", whiteSpace: "nowrap", textOverflow: "ellipsis", overflow: "hidden", children: g }),
|
|
5083
|
-
S && /* @__PURE__ */ n(o1, { label: S, variant: "rounded", size: "xSmall", color:
|
|
5085
|
+
S && /* @__PURE__ */ n(o1, { label: S, variant: "rounded", size: "xSmall", color: Aa(m) ? m : "default" })
|
|
5084
5086
|
] }),
|
|
5085
5087
|
secondary: k,
|
|
5086
5088
|
primaryTypographyProps: {
|
|
@@ -5151,7 +5153,7 @@ const aa = (e, r) => {
|
|
|
5151
5153
|
multiple: d,
|
|
5152
5154
|
...u
|
|
5153
5155
|
}) => {
|
|
5154
|
-
const { t: f } =
|
|
5156
|
+
const { t: f } = At(), x = Array.isArray(c) ? (c == null ? void 0 : c.length) === (l == null ? void 0 : l.length) : !1, b = l == null ? void 0 : l.filter((g) => g == null ? void 0 : g.isHeader);
|
|
5155
5157
|
return /* @__PURE__ */ v(ur, { ...u, children: [
|
|
5156
5158
|
d && !o && (!r || !!(b != null && b.length)) && /* @__PURE__ */ v(Me, { children: [
|
|
5157
5159
|
/* @__PURE__ */ v(v1, { role: "listbox", children: [
|
|
@@ -5246,7 +5248,7 @@ const aa = (e, r) => {
|
|
|
5246
5248
|
options: M = [],
|
|
5247
5249
|
slotProps: p,
|
|
5248
5250
|
..._
|
|
5249
|
-
},
|
|
5251
|
+
}, T) => {
|
|
5250
5252
|
const { palette: D } = we(), [I, K] = ae(!1), [se, ne] = ae(""), Y = D.mode === "light" ? "default" : "primary", Z = x || se, be = m ? l ? Array.isArray(l) ? l : [l] : [] : l || null;
|
|
5251
5253
|
return /* @__PURE__ */ n(
|
|
5252
5254
|
hn,
|
|
@@ -5257,15 +5259,15 @@ const aa = (e, r) => {
|
|
|
5257
5259
|
value: be,
|
|
5258
5260
|
loading: g,
|
|
5259
5261
|
options: M,
|
|
5260
|
-
ref:
|
|
5262
|
+
ref: T,
|
|
5261
5263
|
size: w,
|
|
5262
5264
|
disableCloseOnSelect: S,
|
|
5263
|
-
onChange: ($,
|
|
5264
|
-
if (
|
|
5265
|
+
onChange: ($, A, U, te) => {
|
|
5266
|
+
if (A === null) {
|
|
5265
5267
|
e == null || e($, m ? [] : null, U, te);
|
|
5266
5268
|
return;
|
|
5267
5269
|
}
|
|
5268
|
-
e == null || e($,
|
|
5270
|
+
e == null || e($, A, U, te), (!S || !m) && K(!1);
|
|
5269
5271
|
},
|
|
5270
5272
|
getLimitTagsText: _a(Y),
|
|
5271
5273
|
inputValue: Z,
|
|
@@ -5288,8 +5290,8 @@ const aa = (e, r) => {
|
|
|
5288
5290
|
...p == null ? void 0 : p.paper
|
|
5289
5291
|
}
|
|
5290
5292
|
},
|
|
5291
|
-
onInputChange: ($,
|
|
5292
|
-
U === "reset" && I && !k || U === "selectOption" && !k || U === "removeOption" && !k || (x || ne(
|
|
5293
|
+
onInputChange: ($, A, U) => {
|
|
5294
|
+
U === "reset" && I && !k || U === "selectOption" && !k || U === "removeOption" && !k || (x || ne(A), f == null || f($, A, U));
|
|
5293
5295
|
},
|
|
5294
5296
|
onFocus: ($) => {
|
|
5295
5297
|
K(!0), c == null || c($);
|
|
@@ -5297,12 +5299,12 @@ const aa = (e, r) => {
|
|
|
5297
5299
|
onBlur: ($) => {
|
|
5298
5300
|
K(!1), d == null || d($);
|
|
5299
5301
|
},
|
|
5300
|
-
renderOption: y || (($,
|
|
5302
|
+
renderOption: y || (($, A, { selected: U }) => {
|
|
5301
5303
|
var ce;
|
|
5302
|
-
if (g ||
|
|
5304
|
+
if (g || A != null && A.isHeader)
|
|
5303
5305
|
return null;
|
|
5304
|
-
const te = `${
|
|
5305
|
-
return /* @__PURE__ */ Sn(Le, { ...$, key: te }, !r && /* @__PURE__ */ n(K1, { disableRipple: !0, checked: U, sx: sr }), (
|
|
5306
|
+
const te = `${A == null ? void 0 : A.id}-${$ == null ? void 0 : $.key}`;
|
|
5307
|
+
return /* @__PURE__ */ Sn(Le, { ...$, key: te }, !r && /* @__PURE__ */ n(K1, { disableRipple: !0, checked: U, sx: sr }), (A == null ? void 0 : A.image) && /* @__PURE__ */ n(
|
|
5306
5308
|
fn,
|
|
5307
5309
|
{
|
|
5308
5310
|
sx: {
|
|
@@ -5311,18 +5313,18 @@ const aa = (e, r) => {
|
|
|
5311
5313
|
minWidth: "auto",
|
|
5312
5314
|
width: 24
|
|
5313
5315
|
},
|
|
5314
|
-
children: /* @__PURE__ */ n(He, { variant: "rounded", src:
|
|
5316
|
+
children: /* @__PURE__ */ n(He, { variant: "rounded", src: A == null ? void 0 : A.image, sx: { height: 24, width: 24 }, children: (A == null ? void 0 : A.image) === "letter" && typeof (A == null ? void 0 : A.label) == "string" && ((ce = A == null ? void 0 : A.label) == null ? void 0 : ce.charAt(0).toUpperCase()) })
|
|
5315
5317
|
}
|
|
5316
|
-
), typeof (
|
|
5318
|
+
), typeof (A == null ? void 0 : A.label) == "string" ? /* @__PURE__ */ n(X, { variant: "body2", whiteSpace: "nowrap", textOverflow: "ellipsis", overflow: "hidden", title: A == null ? void 0 : A.label, children: A.label }) : A == null ? void 0 : A.label);
|
|
5317
5319
|
}),
|
|
5318
|
-
renderTags: h || (($,
|
|
5319
|
-
const { key: fe } =
|
|
5320
|
+
renderTags: h || (($, A, U) => Array.isArray($) ? $.map((te, ce) => {
|
|
5321
|
+
const { key: fe } = A({ index: ce });
|
|
5320
5322
|
return U != null && U.focused ? null : /* @__PURE__ */ n(X, { marginX: 1, whiteSpace: "nowrap", textOverflow: "ellipsis", overflow: "hidden", children: te == null ? void 0 : te.label }, fe);
|
|
5321
5323
|
}) : null),
|
|
5322
5324
|
..._,
|
|
5323
5325
|
renderInput: ($) => {
|
|
5324
5326
|
var te, ce;
|
|
5325
|
-
const
|
|
5327
|
+
const A = () => {
|
|
5326
5328
|
if (!(!I && (Array.isArray(l) && l.length || !Array.isArray(l) && l)))
|
|
5327
5329
|
return t;
|
|
5328
5330
|
}, U = _1((te = $.InputProps) == null ? void 0 : te.endAdornment) ? (ce = $.InputProps) == null ? void 0 : ce.endAdornment : null;
|
|
@@ -5349,7 +5351,7 @@ const aa = (e, r) => {
|
|
|
5349
5351
|
},
|
|
5350
5352
|
children: [
|
|
5351
5353
|
I && Z && !b && /* @__PURE__ */ n(
|
|
5352
|
-
|
|
5354
|
+
Ae,
|
|
5353
5355
|
{
|
|
5354
5356
|
size: "small",
|
|
5355
5357
|
onClick: (fe) => {
|
|
@@ -5365,7 +5367,7 @@ const aa = (e, r) => {
|
|
|
5365
5367
|
) : U
|
|
5366
5368
|
}
|
|
5367
5369
|
},
|
|
5368
|
-
placeholder:
|
|
5370
|
+
placeholder: A()
|
|
5369
5371
|
}
|
|
5370
5372
|
);
|
|
5371
5373
|
}
|
|
@@ -5439,7 +5441,7 @@ const aa = (e, r) => {
|
|
|
5439
5441
|
input: {
|
|
5440
5442
|
...e == null ? void 0 : e.input,
|
|
5441
5443
|
endAdornment: /* @__PURE__ */ n(a1, { position: "end", children: /* @__PURE__ */ n(
|
|
5442
|
-
|
|
5444
|
+
Ae,
|
|
5443
5445
|
{
|
|
5444
5446
|
"aria-label": t ? "hide the password" : "display the password",
|
|
5445
5447
|
onClick: a,
|
|
@@ -5596,7 +5598,7 @@ const aa = (e, r) => {
|
|
|
5596
5598
|
}),
|
|
5597
5599
|
[t, i]
|
|
5598
5600
|
);
|
|
5599
|
-
return
|
|
5601
|
+
return A1(() => {
|
|
5600
5602
|
a(r);
|
|
5601
5603
|
}, [r]), /* @__PURE__ */ n(st.Provider, { value: o, children: e });
|
|
5602
5604
|
}, Da = {
|
|
@@ -5605,7 +5607,7 @@ const aa = (e, r) => {
|
|
|
5605
5607
|
message: "",
|
|
5606
5608
|
severity: "success",
|
|
5607
5609
|
variant: "standard"
|
|
5608
|
-
}, _t =
|
|
5610
|
+
}, _t = T1({
|
|
5609
5611
|
closeSnackbar: () => {
|
|
5610
5612
|
},
|
|
5611
5613
|
isOpen: !1,
|
|
@@ -5702,7 +5704,7 @@ export {
|
|
|
5702
5704
|
Wa as TextArea,
|
|
5703
5705
|
fa as TextFieldAppBar,
|
|
5704
5706
|
so as TextFieldPassword,
|
|
5705
|
-
|
|
5707
|
+
Tt as ThemeContext,
|
|
5706
5708
|
to as ThemeProvider,
|
|
5707
5709
|
Ka as TimeLine,
|
|
5708
5710
|
Xa as TypographySkeleton,
|