@tracktor/design-system 3.11.2 → 3.11.4
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 +3 -2
- package/dist/main.cjs +4 -4
- package/dist/main.js +151 -147
- 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 Ae, SvgIcon as ve, TextField 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 T1, Toolbar as rn, Stack as j, AppBar as G1, Typography as X, List as w1, 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 E1, 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
3
|
import * as Te from "react";
|
|
4
|
-
import at, { createContext as
|
|
4
|
+
import at, { createContext as A1, useContext as _e, useCallback as pe, forwardRef as ue, useState as ae, useEffect as _1, cloneElement as fr, isValidElement as L1, memo as ot, useMemo as l1, useRef as M1, 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 = A1(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)));
|
|
@@ -353,7 +353,7 @@ function An() {
|
|
|
353
353
|
return "";
|
|
354
354
|
}
|
|
355
355
|
var qe = Object.prototype.hasOwnProperty, mr = {}, vr = w.ReactDebugCurrentFrame;
|
|
356
|
-
function
|
|
356
|
+
function h1(s) {
|
|
357
357
|
if (s) {
|
|
358
358
|
var C = s._owner, E = Ie(s.type, s._source, C ? C.type : null);
|
|
359
359
|
vr.setExtraStackFrame(E);
|
|
@@ -375,7 +375,7 @@ function An() {
|
|
|
375
375
|
} catch (Q) {
|
|
376
376
|
O = Q;
|
|
377
377
|
}
|
|
378
|
-
O && !(O instanceof Error) && (
|
|
378
|
+
O && !(O instanceof Error) && (h1(z), S("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", L || "React class", E, V, typeof O), h1(null)), O instanceof Error && !(O.message in mr) && (mr[O.message] = !0, h1(z), S("Failed %s type: %s", E, O.message), h1(null));
|
|
379
379
|
}
|
|
380
380
|
}
|
|
381
381
|
}
|
|
@@ -667,7 +667,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
667
667
|
}()), Qe;
|
|
668
668
|
}
|
|
669
669
|
process.env.NODE_ENV === "production" ? Q1.exports = Tn() : Q1.exports = An();
|
|
670
|
-
var
|
|
670
|
+
var c1 = Q1.exports, _n = !1;
|
|
671
671
|
function Ln(e) {
|
|
672
672
|
if (e.sheet)
|
|
673
673
|
return e.sheet;
|
|
@@ -708,7 +708,7 @@ var Fn = /* @__PURE__ */ function() {
|
|
|
708
708
|
return (a = i.parentNode) == null ? void 0 : a.removeChild(i);
|
|
709
709
|
}), this.tags = [], this.ctr = 0;
|
|
710
710
|
}, e;
|
|
711
|
-
}(), le = "-ms-",
|
|
711
|
+
}(), le = "-ms-", S1 = "-moz-", P = "-webkit-", lt = "comm", hr = "rule", gr = "decl", Hn = "@import", ct = "@keyframes", On = "@layer", Vn = Math.abs, I1 = String.fromCharCode, Dn = Object.assign;
|
|
712
712
|
function $n(e, r) {
|
|
713
713
|
return oe(e, 0) ^ 45 ? (((r << 2 ^ oe(e, 0)) << 2 ^ oe(e, 1)) << 2 ^ oe(e, 2)) << 2 ^ oe(e, 3) : 0;
|
|
714
714
|
}
|
|
@@ -727,16 +727,16 @@ function er(e, r) {
|
|
|
727
727
|
function oe(e, r) {
|
|
728
728
|
return e.charCodeAt(r) | 0;
|
|
729
729
|
}
|
|
730
|
-
function
|
|
730
|
+
function d1(e, r, t) {
|
|
731
731
|
return e.slice(r, t);
|
|
732
732
|
}
|
|
733
|
-
function
|
|
733
|
+
function Me(e) {
|
|
734
734
|
return e.length;
|
|
735
735
|
}
|
|
736
736
|
function Cr(e) {
|
|
737
737
|
return e.length;
|
|
738
738
|
}
|
|
739
|
-
function
|
|
739
|
+
function g1(e, r) {
|
|
740
740
|
return r.push(e), e;
|
|
741
741
|
}
|
|
742
742
|
function Bn(e, r) {
|
|
@@ -758,16 +758,16 @@ function zn() {
|
|
|
758
758
|
function xe() {
|
|
759
759
|
return re = ge < pt ? oe(We, ge++) : 0, Ne++, re === 10 && (Ne = 1, F1++), re;
|
|
760
760
|
}
|
|
761
|
-
function
|
|
761
|
+
function ke() {
|
|
762
762
|
return oe(We, ge);
|
|
763
763
|
}
|
|
764
|
-
function
|
|
764
|
+
function b1() {
|
|
765
765
|
return ge;
|
|
766
766
|
}
|
|
767
|
-
function
|
|
768
|
-
return
|
|
767
|
+
function f1(e, r) {
|
|
768
|
+
return d1(We, e, r);
|
|
769
769
|
}
|
|
770
|
-
function
|
|
770
|
+
function p1(e) {
|
|
771
771
|
switch (e) {
|
|
772
772
|
case 0:
|
|
773
773
|
case 9:
|
|
@@ -800,23 +800,23 @@ function d1(e) {
|
|
|
800
800
|
return 0;
|
|
801
801
|
}
|
|
802
802
|
function ut(e) {
|
|
803
|
-
return F1 = Ne = 1, pt =
|
|
803
|
+
return F1 = Ne = 1, pt = Me(We = e), ge = 0, [];
|
|
804
804
|
}
|
|
805
805
|
function ft(e) {
|
|
806
806
|
return We = "", e;
|
|
807
807
|
}
|
|
808
|
-
function
|
|
809
|
-
return dt(
|
|
808
|
+
function y1(e) {
|
|
809
|
+
return dt(f1(ge - 1, rr(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
810
810
|
}
|
|
811
811
|
function Nn(e) {
|
|
812
|
-
for (; (re =
|
|
812
|
+
for (; (re = ke()) && re < 33; )
|
|
813
813
|
xe();
|
|
814
|
-
return
|
|
814
|
+
return p1(e) > 2 || p1(re) > 3 ? "" : " ";
|
|
815
815
|
}
|
|
816
816
|
function Wn(e, r) {
|
|
817
817
|
for (; --r && xe() && !(re < 48 || re > 102 || re > 57 && re < 65 || re > 70 && re < 97); )
|
|
818
818
|
;
|
|
819
|
-
return
|
|
819
|
+
return f1(e, b1() + (r < 6 && ke() == 32 && xe() == 32));
|
|
820
820
|
}
|
|
821
821
|
function rr(e) {
|
|
822
822
|
for (; xe(); )
|
|
@@ -838,30 +838,30 @@ function rr(e) {
|
|
|
838
838
|
}
|
|
839
839
|
function jn(e, r) {
|
|
840
840
|
for (; xe() && e + re !== 57; )
|
|
841
|
-
if (e + re === 84 &&
|
|
841
|
+
if (e + re === 84 && ke() === 47)
|
|
842
842
|
break;
|
|
843
|
-
return "/*" +
|
|
843
|
+
return "/*" + f1(r, ge - 1) + "*" + I1(e === 47 ? e : xe());
|
|
844
844
|
}
|
|
845
845
|
function Yn(e) {
|
|
846
|
-
for (; !
|
|
846
|
+
for (; !p1(ke()); )
|
|
847
847
|
xe();
|
|
848
|
-
return
|
|
848
|
+
return f1(e, ge);
|
|
849
849
|
}
|
|
850
850
|
function Un(e) {
|
|
851
|
-
return ft(
|
|
851
|
+
return ft(m1("", null, null, null, [""], e = ut(e), 0, [0], e));
|
|
852
852
|
}
|
|
853
|
-
function
|
|
853
|
+
function m1(e, r, t, i, a, o, l, c, d) {
|
|
854
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
857
|
if (k != 108 && oe(T, x - 1) == 58) {
|
|
858
|
-
er(T += B(
|
|
858
|
+
er(T += B(y1(S), "&", "&\f"), "&\f") != -1 && (w = -1);
|
|
859
859
|
break;
|
|
860
860
|
}
|
|
861
861
|
case 34:
|
|
862
862
|
case 39:
|
|
863
863
|
case 91:
|
|
864
|
-
T +=
|
|
864
|
+
T += y1(S);
|
|
865
865
|
break;
|
|
866
866
|
case 9:
|
|
867
867
|
case 10:
|
|
@@ -870,20 +870,20 @@ function y1(e, r, t, i, a, o, l, c, d) {
|
|
|
870
870
|
T += Nn(k);
|
|
871
871
|
break;
|
|
872
872
|
case 92:
|
|
873
|
-
T += Wn(
|
|
873
|
+
T += Wn(b1() - 1, 7);
|
|
874
874
|
continue;
|
|
875
875
|
case 47:
|
|
876
|
-
switch (
|
|
876
|
+
switch (ke()) {
|
|
877
877
|
case 42:
|
|
878
878
|
case 47:
|
|
879
|
-
|
|
879
|
+
g1(Gn(jn(xe(), b1()), 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++] =
|
|
886
|
+
c[u++] = Me(T) * w;
|
|
887
887
|
case 125 * y:
|
|
888
888
|
case 59:
|
|
889
889
|
case 0:
|
|
@@ -892,30 +892,30 @@ 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 && (T = B(T, /\f/g, "")), g > 0 &&
|
|
895
|
+
w == -1 && (T = B(T, /\f/g, "")), g > 0 && Me(T) - x && g1(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 (
|
|
900
|
+
if (g1(_ = Dr(T, r, t, u, f, a, c, m, M = [], p = [], x), o), S === 123)
|
|
901
901
|
if (f === 0)
|
|
902
|
-
|
|
902
|
+
m1(T, r, _, _, M, o, x, c, p);
|
|
903
903
|
else
|
|
904
904
|
switch (b === 99 && oe(T, 3) === 110 ? 100 : b) {
|
|
905
905
|
case 100:
|
|
906
906
|
case 108:
|
|
907
907
|
case 109:
|
|
908
908
|
case 115:
|
|
909
|
-
|
|
909
|
+
m1(e, _, _, i && g1(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
|
-
|
|
912
|
+
m1(T, _, _, _, [""], p, 0, c, p);
|
|
913
913
|
}
|
|
914
914
|
}
|
|
915
915
|
u = f = g = 0, y = w = 1, m = T = "", x = l;
|
|
916
916
|
break;
|
|
917
917
|
case 58:
|
|
918
|
-
x = 1 +
|
|
918
|
+
x = 1 + Me(T), g = k;
|
|
919
919
|
default:
|
|
920
920
|
if (y < 1) {
|
|
921
921
|
if (S == 123)
|
|
@@ -928,28 +928,28 @@ function y1(e, r, t, i, a, o, l, c, d) {
|
|
|
928
928
|
w = f > 0 ? 1 : (T += "\f", -1);
|
|
929
929
|
break;
|
|
930
930
|
case 44:
|
|
931
|
-
c[u++] = (
|
|
931
|
+
c[u++] = (Me(T) - 1) * w, w = 1;
|
|
932
932
|
break;
|
|
933
933
|
case 64:
|
|
934
|
-
|
|
934
|
+
ke() === 45 && (T += y1(xe())), b = ke(), f = x = Me(m = T += Yn(b1())), S++;
|
|
935
935
|
break;
|
|
936
936
|
case 45:
|
|
937
|
-
k === 45 &&
|
|
937
|
+
k === 45 && Me(T) == 2 && (y = 0);
|
|
938
938
|
}
|
|
939
939
|
}
|
|
940
940
|
return o;
|
|
941
941
|
}
|
|
942
942
|
function Dr(e, r, t, i, a, o, l, c, d, u, f) {
|
|
943
943
|
for (var x = a - 1, b = a === 0 ? o : [""], g = Cr(b), k = 0, y = 0, h = 0; k < i; ++k)
|
|
944
|
-
for (var w = 0, S =
|
|
944
|
+
for (var w = 0, S = d1(e, x + 1, x = Vn(y = l[k])), m = e; w < g; ++w)
|
|
945
945
|
(m = dt(y > 0 ? b[w] + " " + S : B(S, /&\f/g, b[w]))) && (d[h++] = m);
|
|
946
946
|
return H1(e, r, t, a === 0 ? hr : c, d, u, f);
|
|
947
947
|
}
|
|
948
948
|
function Gn(e, r, t) {
|
|
949
|
-
return H1(e, r, t, lt, I1(Zn()),
|
|
949
|
+
return H1(e, r, t, lt, I1(Zn()), d1(e, 2, -2), 0);
|
|
950
950
|
}
|
|
951
951
|
function $r(e, r, t, i) {
|
|
952
|
-
return H1(e, r, t, gr,
|
|
952
|
+
return H1(e, r, t, gr, d1(e, 0, i), d1(e, i + 1, -1), i);
|
|
953
953
|
}
|
|
954
954
|
function ze(e, r) {
|
|
955
955
|
for (var t = "", i = Cr(e), a = 0; a < i; a++)
|
|
@@ -970,7 +970,7 @@ function Xn(e, r, t, i) {
|
|
|
970
970
|
case hr:
|
|
971
971
|
e.value = e.props.join(",");
|
|
972
972
|
}
|
|
973
|
-
return
|
|
973
|
+
return Me(t = ze(e.children, i)) ? e.return = e.value + "{" + t + "}" : "";
|
|
974
974
|
}
|
|
975
975
|
function qn(e) {
|
|
976
976
|
var r = Cr(e);
|
|
@@ -992,22 +992,22 @@ function Jn(e) {
|
|
|
992
992
|
};
|
|
993
993
|
}
|
|
994
994
|
var Qn = function(r, t, i) {
|
|
995
|
-
for (var a = 0, o = 0; a = o, o =
|
|
995
|
+
for (var a = 0, o = 0; a = o, o = ke(), a === 38 && o === 12 && (t[i] = 1), !p1(o); )
|
|
996
996
|
xe();
|
|
997
|
-
return
|
|
997
|
+
return f1(r, ge);
|
|
998
998
|
}, ei = function(r, t) {
|
|
999
999
|
var i = -1, a = 44;
|
|
1000
1000
|
do
|
|
1001
|
-
switch (
|
|
1001
|
+
switch (p1(a)) {
|
|
1002
1002
|
case 0:
|
|
1003
|
-
a === 38 &&
|
|
1003
|
+
a === 38 && ke() === 12 && (t[i] = 1), r[i] += Qn(ge - 1, t, i);
|
|
1004
1004
|
break;
|
|
1005
1005
|
case 2:
|
|
1006
|
-
r[i] +=
|
|
1006
|
+
r[i] += y1(a);
|
|
1007
1007
|
break;
|
|
1008
1008
|
case 4:
|
|
1009
1009
|
if (a === 44) {
|
|
1010
|
-
r[++i] =
|
|
1010
|
+
r[++i] = ke() === 58 ? "&\f" : "", t[i] = r[i].length;
|
|
1011
1011
|
break;
|
|
1012
1012
|
}
|
|
1013
1013
|
default:
|
|
@@ -1073,7 +1073,7 @@ function ht(e, r) {
|
|
|
1073
1073
|
case 4810:
|
|
1074
1074
|
case 6968:
|
|
1075
1075
|
case 2756:
|
|
1076
|
-
return P + e +
|
|
1076
|
+
return P + e + S1 + e + le + e + e;
|
|
1077
1077
|
case 6828:
|
|
1078
1078
|
case 4268:
|
|
1079
1079
|
return P + e + le + e + e;
|
|
@@ -1117,11 +1117,11 @@ function ht(e, r) {
|
|
|
1117
1117
|
case 5789:
|
|
1118
1118
|
case 5021:
|
|
1119
1119
|
case 4765:
|
|
1120
|
-
if (
|
|
1120
|
+
if (Me(e) - 1 - r > 6) switch (oe(e, r + 1)) {
|
|
1121
1121
|
case 109:
|
|
1122
1122
|
if (oe(e, r + 4) !== 45) break;
|
|
1123
1123
|
case 102:
|
|
1124
|
-
return B(e, /(.+:)(.+)-([^]+)/, "$1" + P + "$2-$3$1" +
|
|
1124
|
+
return B(e, /(.+:)(.+)-([^]+)/, "$1" + P + "$2-$3$1" + S1 + (oe(e, r + 3) == 108 ? "$3" : "$2-$3")) + e;
|
|
1125
1125
|
case 115:
|
|
1126
1126
|
return ~er(e, "stretch") ? ht(B(e, "stretch", "fill-available"), r) + e : e;
|
|
1127
1127
|
}
|
|
@@ -1129,7 +1129,7 @@ function ht(e, r) {
|
|
|
1129
1129
|
case 4949:
|
|
1130
1130
|
if (oe(e, r + 1) !== 115) break;
|
|
1131
1131
|
case 6444:
|
|
1132
|
-
switch (oe(e,
|
|
1132
|
+
switch (oe(e, Me(e) - 3 - (~er(e, "!important") && 10))) {
|
|
1133
1133
|
case 107:
|
|
1134
1134
|
return B(e, ":", ":" + P) + e;
|
|
1135
1135
|
case 101:
|
|
@@ -1164,13 +1164,13 @@ var ii = function(r, t, i, a) {
|
|
|
1164
1164
|
case ":read-only":
|
|
1165
1165
|
case ":read-write":
|
|
1166
1166
|
return ze([e1(r, {
|
|
1167
|
-
props: [B(o, /:(read-\w+)/, ":" +
|
|
1167
|
+
props: [B(o, /:(read-\w+)/, ":" + S1 + "$1")]
|
|
1168
1168
|
})], a);
|
|
1169
1169
|
case "::placeholder":
|
|
1170
1170
|
return ze([e1(r, {
|
|
1171
1171
|
props: [B(o, /:(plac\w+)/, ":" + P + "input-$1")]
|
|
1172
1172
|
}), e1(r, {
|
|
1173
|
-
props: [B(o, /:(plac\w+)/, ":" +
|
|
1173
|
+
props: [B(o, /:(plac\w+)/, ":" + S1 + "$1")]
|
|
1174
1174
|
}), e1(r, {
|
|
1175
1175
|
props: [B(o, /:(plac\w+)/, le + "input-$1")]
|
|
1176
1176
|
})], a);
|
|
@@ -1518,16 +1518,16 @@ var Ci = {
|
|
|
1518
1518
|
case "animationName":
|
|
1519
1519
|
if (typeof t == "string")
|
|
1520
1520
|
return t.replace(yi, function(i, a, o) {
|
|
1521
|
-
return
|
|
1521
|
+
return Se = {
|
|
1522
1522
|
name: a,
|
|
1523
1523
|
styles: o,
|
|
1524
|
-
next:
|
|
1524
|
+
next: Se
|
|
1525
1525
|
}, a;
|
|
1526
1526
|
});
|
|
1527
1527
|
}
|
|
1528
1528
|
return Ci[r] !== 1 && !bt(r) && typeof t == "number" && t !== 0 ? t + "px" : t;
|
|
1529
1529
|
}, mi = "Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";
|
|
1530
|
-
function
|
|
1530
|
+
function u1(e, r, t) {
|
|
1531
1531
|
if (t == null)
|
|
1532
1532
|
return "";
|
|
1533
1533
|
var i = t;
|
|
@@ -1539,20 +1539,20 @@ function p1(e, r, t) {
|
|
|
1539
1539
|
case "object": {
|
|
1540
1540
|
var a = t;
|
|
1541
1541
|
if (a.anim === 1)
|
|
1542
|
-
return
|
|
1542
|
+
return Se = {
|
|
1543
1543
|
name: a.name,
|
|
1544
1544
|
styles: a.styles,
|
|
1545
|
-
next:
|
|
1545
|
+
next: Se
|
|
1546
1546
|
}, a.name;
|
|
1547
1547
|
var o = t;
|
|
1548
1548
|
if (o.styles !== void 0) {
|
|
1549
1549
|
var l = o.next;
|
|
1550
1550
|
if (l !== void 0)
|
|
1551
1551
|
for (; l !== void 0; )
|
|
1552
|
-
|
|
1552
|
+
Se = {
|
|
1553
1553
|
name: l.name,
|
|
1554
1554
|
styles: l.styles,
|
|
1555
|
-
next:
|
|
1555
|
+
next: Se
|
|
1556
1556
|
}, l = l.next;
|
|
1557
1557
|
var c = o.styles + ";";
|
|
1558
1558
|
return c;
|
|
@@ -1561,8 +1561,8 @@ function p1(e, r, t) {
|
|
|
1561
1561
|
}
|
|
1562
1562
|
case "function": {
|
|
1563
1563
|
if (e !== void 0) {
|
|
1564
|
-
var d =
|
|
1565
|
-
return
|
|
1564
|
+
var d = Se, u = t(e);
|
|
1565
|
+
return Se = d, u1(e, r, u);
|
|
1566
1566
|
}
|
|
1567
1567
|
break;
|
|
1568
1568
|
}
|
|
@@ -1574,7 +1574,7 @@ function vi(e, r, t) {
|
|
|
1574
1574
|
var i = "";
|
|
1575
1575
|
if (Array.isArray(t))
|
|
1576
1576
|
for (var a = 0; a < t.length; a++)
|
|
1577
|
-
i +=
|
|
1577
|
+
i += u1(e, r, t[a]) + ";";
|
|
1578
1578
|
else
|
|
1579
1579
|
for (var o in t) {
|
|
1580
1580
|
var l = t[o];
|
|
@@ -1588,7 +1588,7 @@ function vi(e, r, t) {
|
|
|
1588
1588
|
for (var d = 0; d < l.length; d++)
|
|
1589
1589
|
zr(l[d]) && (i += Y1(o) + ":" + Nr(o, l[d]) + ";");
|
|
1590
1590
|
else {
|
|
1591
|
-
var u =
|
|
1591
|
+
var u = u1(e, r, l);
|
|
1592
1592
|
switch (o) {
|
|
1593
1593
|
case "animation":
|
|
1594
1594
|
case "animationName": {
|
|
@@ -1603,21 +1603,21 @@ function vi(e, r, t) {
|
|
|
1603
1603
|
}
|
|
1604
1604
|
return i;
|
|
1605
1605
|
}
|
|
1606
|
-
var Wr = /label:\s*([^\s;{]+)\s*(;|$)/g,
|
|
1606
|
+
var Wr = /label:\s*([^\s;{]+)\s*(;|$)/g, Se;
|
|
1607
1607
|
function wi(e, r, t) {
|
|
1608
1608
|
if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
|
|
1609
1609
|
return e[0];
|
|
1610
1610
|
var i = !0, a = "";
|
|
1611
|
-
|
|
1611
|
+
Se = void 0;
|
|
1612
1612
|
var o = e[0];
|
|
1613
1613
|
if (o == null || o.raw === void 0)
|
|
1614
|
-
i = !1, a +=
|
|
1614
|
+
i = !1, a += u1(t, r, o);
|
|
1615
1615
|
else {
|
|
1616
1616
|
var l = o;
|
|
1617
1617
|
a += l[0];
|
|
1618
1618
|
}
|
|
1619
1619
|
for (var c = 1; c < e.length; c++)
|
|
1620
|
-
if (a +=
|
|
1620
|
+
if (a += u1(t, r, e[c]), i) {
|
|
1621
1621
|
var d = o;
|
|
1622
1622
|
a += d[c];
|
|
1623
1623
|
}
|
|
@@ -1628,7 +1628,7 @@ function wi(e, r, t) {
|
|
|
1628
1628
|
return {
|
|
1629
1629
|
name: x,
|
|
1630
1630
|
styles: a,
|
|
1631
|
-
next:
|
|
1631
|
+
next: Se
|
|
1632
1632
|
};
|
|
1633
1633
|
}
|
|
1634
1634
|
var Ei = function(r) {
|
|
@@ -1678,12 +1678,12 @@ var Ri = function(r) {
|
|
|
1678
1678
|
isStringTag: typeof a == "string"
|
|
1679
1679
|
}), /* @__PURE__ */ Te.createElement(a, d));
|
|
1680
1680
|
}
|
|
1681
|
-
), vt = _i,
|
|
1681
|
+
), vt = _i, Re = c1.Fragment;
|
|
1682
1682
|
function n(e, r, t) {
|
|
1683
|
-
return O1.call(r, "css") ?
|
|
1683
|
+
return O1.call(r, "css") ? c1.jsx(vt, mt(e, r), t) : c1.jsx(e, r, t);
|
|
1684
1684
|
}
|
|
1685
1685
|
function v(e, r, t) {
|
|
1686
|
-
return O1.call(r, "css") ?
|
|
1686
|
+
return O1.call(r, "css") ? c1.jsxs(vt, mt(e, r), t) : c1.jsxs(e, r, t);
|
|
1687
1687
|
}
|
|
1688
1688
|
const jr = 32, Li = 24, Ii = 105, Fi = 24, Hi = 195, Oi = 44, Vi = 147, Di = () => {
|
|
1689
1689
|
const { palette: e } = we(), r = pe(
|
|
@@ -1736,7 +1736,7 @@ const jr = 32, Li = 24, Ii = 105, Fi = 24, Hi = 195, Oi = 44, Vi = 147, Di = ()
|
|
|
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
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 (
|
|
1739
|
+
if (_1(() => {
|
|
1740
1740
|
u !== "svg" && (async () => {
|
|
1741
1741
|
const D = await y(d, l || g.mode, o);
|
|
1742
1742
|
b(D.default);
|
|
@@ -2122,7 +2122,7 @@ const jr = 32, Li = 24, Ii = 105, Fi = 24, Hi = 195, Oi = 44, Vi = 147, Di = ()
|
|
|
2122
2122
|
}
|
|
2123
2123
|
), Na = ue(Bi), Zi = ({ className: e, style: r, minRows: t = 4, ...i }, a) => {
|
|
2124
2124
|
const { palette: o, shape: l, spacing: c } = we();
|
|
2125
|
-
return /* @__PURE__ */ v(
|
|
2125
|
+
return /* @__PURE__ */ v(Re, { children: [
|
|
2126
2126
|
/* @__PURE__ */ n(
|
|
2127
2127
|
i1,
|
|
2128
2128
|
{
|
|
@@ -2158,7 +2158,7 @@ const jr = 32, Li = 24, Ii = 105, Fi = 24, Hi = 195, Oi = 44, Vi = 147, Di = ()
|
|
|
2158
2158
|
)
|
|
2159
2159
|
] });
|
|
2160
2160
|
}, Wa = ue(Zi), ja = ({ fullWidth: e, value: r, setValue: t, min: i = 1, max: a = 50, ...o }) => /* @__PURE__ */ n(
|
|
2161
|
-
|
|
2161
|
+
T1,
|
|
2162
2162
|
{
|
|
2163
2163
|
onChange: (x) => {
|
|
2164
2164
|
const { target: b } = x, g = +b.value;
|
|
@@ -2383,11 +2383,11 @@ const jr = 32, Li = 24, Ii = 105, Fi = 24, Hi = 195, Oi = 44, Vi = 147, Di = ()
|
|
|
2383
2383
|
}
|
|
2384
2384
|
}, Ur = ({ items: e, ...r }) => {
|
|
2385
2385
|
const { NavLink: t = r.NavLink, isMobile: i } = _e(je);
|
|
2386
|
-
return /* @__PURE__ */ n(H, { px: 2, component: "nav", children: /* @__PURE__ */ n(
|
|
2386
|
+
return /* @__PURE__ */ n(H, { px: 2, component: "nav", children: /* @__PURE__ */ n(w1, { sx: { ...Ni.list }, children: e == null ? void 0 : e.filter((a) => {
|
|
2387
2387
|
const o = !(a && typeof a == "object" && "hideOnMobile" in a && i && a.hideOnMobile), l = !(a && typeof a == "object" && "hasAccess" in a && !a.hasAccess);
|
|
2388
2388
|
return o && l;
|
|
2389
2389
|
}).map((a, o) => {
|
|
2390
|
-
if (
|
|
2390
|
+
if (L1(a))
|
|
2391
2391
|
return a;
|
|
2392
2392
|
if (a && typeof a == "object" && "label" in a) {
|
|
2393
2393
|
const { count: l, url: c, label: d, icon: u, active: f, disabled: x } = a, b = `${c}-${d}-${o}`;
|
|
@@ -2409,9 +2409,9 @@ 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 = A1(Et), Wi = () => {
|
|
2413
2413
|
const { items: e, disableResponsive: r, isMobile: t, isTablet: i, isDrawerOpen: a, closeDrawerMenu: o, sideBarWidth: l, openDrawerMenu: c } = _e(je);
|
|
2414
|
-
return (t || i) && !r ? /* @__PURE__ */ v(
|
|
2414
|
+
return (t || i) && !r ? /* @__PURE__ */ v(Re, { children: [
|
|
2415
2415
|
/* @__PURE__ */ n(zi, {}),
|
|
2416
2416
|
/* @__PURE__ */ n(tn, { anchor: "left", open: a, onClose: o, onOpen: c, children: /* @__PURE__ */ n(Yr, { children: /* @__PURE__ */ n(Ur, { items: e }) }) })
|
|
2417
2417
|
] }) : /* @__PURE__ */ n(Yr, { width: l, children: /* @__PURE__ */ n(Ur, { items: e }) });
|
|
@@ -2432,7 +2432,7 @@ const jr = 32, Li = 24, Ii = 105, Fi = 24, Hi = 195, Oi = 44, Vi = 147, Di = ()
|
|
|
2432
2432
|
y(!1);
|
|
2433
2433
|
}, []), w = pe(() => {
|
|
2434
2434
|
y(!0);
|
|
2435
|
-
}, []), S =
|
|
2435
|
+
}, []), S = l1(
|
|
2436
2436
|
() => ({
|
|
2437
2437
|
AppBar: e,
|
|
2438
2438
|
bottomLink: u,
|
|
@@ -2519,11 +2519,11 @@ const jr = 32, Li = 24, Ii = 105, Fi = 24, Hi = 195, Oi = 44, Vi = 147, Di = ()
|
|
|
2519
2519
|
]
|
|
2520
2520
|
}
|
|
2521
2521
|
);
|
|
2522
|
-
},
|
|
2522
|
+
}, v1 = ue(Ji), Qi = {
|
|
2523
2523
|
large: 17,
|
|
2524
2524
|
medium: 16,
|
|
2525
2525
|
small: 15
|
|
2526
|
-
},
|
|
2526
|
+
}, k1 = ({ size: e, loadingPosition: r, position: t = "absolute" }) => /* @__PURE__ */ n(
|
|
2527
2527
|
H,
|
|
2528
2528
|
{
|
|
2529
2529
|
position: t,
|
|
@@ -2555,12 +2555,12 @@ const jr = 32, Li = 24, Ii = 105, Fi = 24, Hi = 195, Oi = 44, Vi = 147, Di = ()
|
|
|
2555
2555
|
}) => {
|
|
2556
2556
|
const c = o || l;
|
|
2557
2557
|
return r && i ? /* @__PURE__ */ v(j, { direction: i === "start" ? "row" : "row-reverse", alignItems: "center", children: [
|
|
2558
|
-
/* @__PURE__ */ n(
|
|
2558
|
+
/* @__PURE__ */ n(k1, { size: a, position: "relative", loadingPosition: i }),
|
|
2559
2559
|
/* @__PURE__ */ n(H, { component: "span", children: e })
|
|
2560
|
-
] }) : r && !t && !c ? /* @__PURE__ */ v(
|
|
2561
|
-
r && !t && /* @__PURE__ */ n(
|
|
2560
|
+
] }) : r && !t && !c ? /* @__PURE__ */ v(Re, { children: [
|
|
2561
|
+
r && !t && /* @__PURE__ */ n(k1, { size: a }),
|
|
2562
2562
|
/* @__PURE__ */ n(H, { component: "span", sx: { opacity: 0 }, children: e })
|
|
2563
|
-
] }) : r && t ? /* @__PURE__ */ v(
|
|
2563
|
+
] }) : r && t ? /* @__PURE__ */ v(Re, { children: [
|
|
2564
2564
|
" ",
|
|
2565
2565
|
t,
|
|
2566
2566
|
" "
|
|
@@ -2587,8 +2587,8 @@ const jr = 32, Li = 24, Ii = 105, Fi = 24, Hi = 195, Oi = 44, Vi = 147, Di = ()
|
|
|
2587
2587
|
size: d,
|
|
2588
2588
|
variant: u,
|
|
2589
2589
|
disableRipple: a || u === "link",
|
|
2590
|
-
startIcon: o && f ? /* @__PURE__ */ n(
|
|
2591
|
-
endIcon: o && x ? /* @__PURE__ */ n(
|
|
2590
|
+
startIcon: o && f ? /* @__PURE__ */ n(k1, { position: "relative", size: d }) : f,
|
|
2591
|
+
endIcon: o && x ? /* @__PURE__ */ n(k1, { position: "relative", size: d }) : x,
|
|
2592
2592
|
...b,
|
|
2593
2593
|
children: /* @__PURE__ */ n(
|
|
2594
2594
|
ea,
|
|
@@ -2696,7 +2696,7 @@ const jr = 32, Li = 24, Ii = 105, Fi = 24, Hi = 195, Oi = 44, Vi = 147, Di = ()
|
|
|
2696
2696
|
primary: 24,
|
|
2697
2697
|
secondary: 16
|
|
2698
2698
|
}
|
|
2699
|
-
}, ir = (e) => e !== void 0 && typeof e == "object" && !Array.isArray(e),
|
|
2699
|
+
}, ir = (e) => e !== void 0 && typeof e == "object" && !Array.isArray(e), R1 = (e) => {
|
|
2700
2700
|
if (e === void 0) return ie.medium.primary;
|
|
2701
2701
|
if (typeof e == "number")
|
|
2702
2702
|
return e;
|
|
@@ -2711,8 +2711,8 @@ const jr = 32, Li = 24, Ii = 105, Fi = 24, Hi = 195, Oi = 44, Vi = 147, Di = ()
|
|
|
2711
2711
|
if (ir(e)) {
|
|
2712
2712
|
const { height: t, width: i } = e;
|
|
2713
2713
|
return {
|
|
2714
|
-
height: Math.max(
|
|
2715
|
-
width: Math.max(
|
|
2714
|
+
height: Math.max(R1(t) - (ie.medium.primary - ie.medium.secondary), ie.small.secondary),
|
|
2715
|
+
width: Math.max(R1(i) - (ie.medium.primary - ie.medium.secondary), ie.small.secondary)
|
|
2716
2716
|
};
|
|
2717
2717
|
}
|
|
2718
2718
|
return {
|
|
@@ -2722,7 +2722,7 @@ const jr = 32, Li = 24, Ii = 105, Fi = 24, Hi = 195, Oi = 44, Vi = 147, Di = ()
|
|
|
2722
2722
|
}, St = ue(
|
|
2723
2723
|
({ secondarySrc: e, secondaryAvatarProps: r, size: t, ...i }, a) => {
|
|
2724
2724
|
if (e || r) {
|
|
2725
|
-
const o = t ? ie[t].primary :
|
|
2725
|
+
const o = t ? ie[t].primary : R1(ir(i.sx) ? i.sx.width : void 0), l = t ? ie[t].primary : R1(ir(i.sx) ? i.sx.height : void 0), c = ia(i == null ? void 0 : i.sx, t), d = c.width / 3, u = c.height / 3;
|
|
2726
2726
|
return /* @__PURE__ */ v(
|
|
2727
2727
|
H,
|
|
2728
2728
|
{
|
|
@@ -2795,12 +2795,12 @@ const aa = (e, r) => {
|
|
|
2795
2795
|
height: c = 64,
|
|
2796
2796
|
alt: d = "Article"
|
|
2797
2797
|
}) => {
|
|
2798
|
-
const [u, f] = ae(!1), [x, b] = ae(!1), { borderRadius: g, padding: k } = aa(l, c), y = { borderRadius: g, flexShrink: 0 }, h = e && !u && !x, w = !e || x
|
|
2798
|
+
const [u, f] = ae(!1), [x, b] = ae(!1), { borderRadius: g, padding: k } = aa(l, c), y = { borderRadius: g, flexShrink: 0 }, h = e && !u && !x, w = !e || x, S = (e == null ? void 0 : e.endsWith(".png")) || (e == null ? void 0 : e.endsWith(".svg")) || (e == null ? void 0 : e.endsWith(".gif")) || (e == null ? void 0 : e.endsWith(".webp")) || !1, m = () => {
|
|
2799
2799
|
b(!1), f(!0);
|
|
2800
2800
|
}, M = () => {
|
|
2801
2801
|
b(!0), f(!1);
|
|
2802
2802
|
};
|
|
2803
|
-
return /* @__PURE__ */
|
|
2803
|
+
return /* @__PURE__ */ v(
|
|
2804
2804
|
St,
|
|
2805
2805
|
{
|
|
2806
2806
|
src: e,
|
|
@@ -2817,6 +2817,10 @@ const aa = (e, r) => {
|
|
|
2817
2817
|
onLoad: m,
|
|
2818
2818
|
sx: {
|
|
2819
2819
|
...y,
|
|
2820
|
+
// Hide image until loaded
|
|
2821
|
+
"& img": {
|
|
2822
|
+
visibility: u || x ? "visible" : "hidden"
|
|
2823
|
+
},
|
|
2820
2824
|
background: ({ palette: p }) => p.grey[100],
|
|
2821
2825
|
height: c,
|
|
2822
2826
|
padding: S || w ? k : 0,
|
|
@@ -2857,8 +2861,8 @@ const aa = (e, r) => {
|
|
|
2857
2861
|
] })
|
|
2858
2862
|
]
|
|
2859
2863
|
}
|
|
2860
|
-
)
|
|
2861
|
-
}, sa = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20data-name='Vrstva%201'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201982.09%201982.09'%3e%3cpath%20d='m1966.86,15.24c-20.32-20.32-53.25-20.32-73.57,0L15.24,1893.29c-20.32,20.32-20.32,53.25,0,73.57,20.32,20.32,53.25,20.32,73.57,0L1966.86,88.81c20.32-20.32,20.32-53.25,0-73.57Z'%20fill='currentColor'/%3e%3cpath%20d='m186.78,1603.82h47.21l164.08-164.08h-158.05l441.04-437.77,77.39,77.39,701.08-701.08H186.78c-62.61,0-113.37,50.76-113.37,113.38v998.78c0,62.62,50.76,113.38,113.37,113.38Zm304.43-1013.81c70.67,0,127.97,57.29,127.97,127.96s-57.3,127.96-127.97,127.96-127.95-57.29-127.95-127.96,57.28-127.96,127.95-127.96Z'%20fill='currentColor'/%3e%3cpath%20d='m1795.31,378.28h-47.21l-533.75,533.75,527.72,527.71H686.63l-164.08,164.08h1272.76c62.62,0,113.37-50.76,113.37-113.38V491.66c0-62.62-50.75-113.38-113.37-113.38Z'%20fill='currentColor'/%3e%3c/svg%3e",
|
|
2864
|
+
);
|
|
2865
|
+
}, sa = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20data-name='Vrstva%201'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201982.09%201982.09'%3e%3cpath%20d='m1966.86,15.24c-20.32-20.32-53.25-20.32-73.57,0L15.24,1893.29c-20.32,20.32-20.32,53.25,0,73.57,20.32,20.32,53.25,20.32,73.57,0L1966.86,88.81c20.32-20.32,20.32-53.25,0-73.57Z'%20fill='currentColor'/%3e%3cpath%20d='m186.78,1603.82h47.21l164.08-164.08h-158.05l441.04-437.77,77.39,77.39,701.08-701.08H186.78c-62.61,0-113.37,50.76-113.37,113.38v998.78c0,62.62,50.76,113.38,113.37,113.38Zm304.43-1013.81c70.67,0,127.97,57.29,127.97,127.96s-57.3,127.96-127.97,127.96-127.95-57.29-127.95-127.96,57.28-127.96,127.95-127.96Z'%20fill='currentColor'/%3e%3cpath%20d='m1795.31,378.28h-47.21l-533.75,533.75,527.72,527.71H686.63l-164.08,164.08h1272.76c62.62,0,113.37-50.76,113.37-113.38V491.66c0-62.62-50.75-113.38-113.37-113.38Z'%20fill='currentColor'/%3e%3c/svg%3e", C1 = {
|
|
2862
2866
|
container: {
|
|
2863
2867
|
alignSelf: "center",
|
|
2864
2868
|
backgroundColor: ({ palette: e }) => e.background.paper,
|
|
@@ -2914,19 +2918,19 @@ const aa = (e, r) => {
|
|
|
2914
2918
|
onClickThumb: k,
|
|
2915
2919
|
variant: y
|
|
2916
2920
|
}) => {
|
|
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 =
|
|
2921
|
+
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 = M1(null), D = S ? sa : r || e, I = f ? 1 : 0.8, K = () => {
|
|
2918
2922
|
!p && !_ || w((Y) => !Y);
|
|
2919
2923
|
}, se = () => {
|
|
2920
2924
|
w(!1), g == null || g();
|
|
2921
2925
|
}, ne = pe(() => {
|
|
2922
2926
|
m(!0);
|
|
2923
2927
|
}, []);
|
|
2924
|
-
return
|
|
2928
|
+
return _1(() => {
|
|
2925
2929
|
const Y = T.current;
|
|
2926
2930
|
return Y == null || Y.addEventListener("error", ne), () => {
|
|
2927
2931
|
Y == null || Y.removeEventListener("error", ne);
|
|
2928
2932
|
};
|
|
2929
|
-
}, [ne, T]), /* @__PURE__ */ v(
|
|
2933
|
+
}, [ne, T]), /* @__PURE__ */ v(Re, { children: [
|
|
2930
2934
|
!x && !i && /* @__PURE__ */ n(
|
|
2931
2935
|
H,
|
|
2932
2936
|
{
|
|
@@ -2937,7 +2941,7 @@ const aa = (e, r) => {
|
|
|
2937
2941
|
k == null || k(), K();
|
|
2938
2942
|
},
|
|
2939
2943
|
sx: {
|
|
2940
|
-
...
|
|
2944
|
+
...C1.container,
|
|
2941
2945
|
":hover": { opacity: I },
|
|
2942
2946
|
borderRadius: y === "rounded" ? 1 : "0",
|
|
2943
2947
|
cursor: f ? "default" : "pointer",
|
|
@@ -2954,7 +2958,7 @@ const aa = (e, r) => {
|
|
|
2954
2958
|
width: "100%",
|
|
2955
2959
|
src: D || void 0,
|
|
2956
2960
|
ref: T,
|
|
2957
|
-
sx:
|
|
2961
|
+
sx: C1.thumb
|
|
2958
2962
|
},
|
|
2959
2963
|
D
|
|
2960
2964
|
)
|
|
@@ -2968,7 +2972,7 @@ const aa = (e, r) => {
|
|
|
2968
2972
|
width: c,
|
|
2969
2973
|
height: d,
|
|
2970
2974
|
sx: {
|
|
2971
|
-
..._ ?
|
|
2975
|
+
..._ ? C1.viewFile : C1.viewImage,
|
|
2972
2976
|
...u
|
|
2973
2977
|
}
|
|
2974
2978
|
}
|
|
@@ -2985,7 +2989,7 @@ const aa = (e, r) => {
|
|
|
2985
2989
|
}
|
|
2986
2990
|
)
|
|
2987
2991
|
] });
|
|
2988
|
-
}, la = ({ sx: e, fontSize: r, color: t = "currentColor" }) => /* @__PURE__ */ n(ve, { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", sx: e, fontSize: r, children: /* @__PURE__ */ n("path", { d: "M6 2L5.295 2.705L8.085 5.5L2 5.5L2 6.5L8.085 6.5L5.295 9.295L6 10L10 6L6 2Z", fill: t, fillOpacity: "0.54" }) }), ca = ({ sx: e, color: r = "currentColor" }) => /* @__PURE__ */ n(ve, { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", sx: e, children: /* @__PURE__ */ n("path", { d: "M12 6.47003L11.06 5.53003L8 8.58336L4.94 5.53003L4 6.47003L8 10.47L12 6.47003Z", fill: r, fillOpacity: "0.54" }) }),
|
|
2992
|
+
}, la = ({ sx: e, fontSize: r, color: t = "currentColor" }) => /* @__PURE__ */ n(ve, { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", sx: e, fontSize: r, children: /* @__PURE__ */ n("path", { d: "M6 2L5.295 2.705L8.085 5.5L2 5.5L2 6.5L8.085 6.5L5.295 9.295L6 10L10 6L6 2Z", fill: t, fillOpacity: "0.54" }) }), ca = ({ sx: e, color: r = "currentColor" }) => /* @__PURE__ */ n(ve, { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", sx: e, children: /* @__PURE__ */ n("path", { d: "M12 6.47003L11.06 5.53003L8 8.58336L4.94 5.53003L4 6.47003L8 10.47L12 6.47003Z", fill: r, fillOpacity: "0.54" }) }), x1 = 64, qr = 1e3, da = ({
|
|
2989
2993
|
title: e,
|
|
2990
2994
|
subtitle: r,
|
|
2991
2995
|
isLastElement: t,
|
|
@@ -3001,11 +3005,11 @@ const aa = (e, r) => {
|
|
|
3001
3005
|
Collapse: b
|
|
3002
3006
|
}) => {
|
|
3003
3007
|
const [g, k] = ae(!1), y = b || !!(c != null && c.length);
|
|
3004
|
-
return
|
|
3008
|
+
return _1(() => {
|
|
3005
3009
|
d && k(!0);
|
|
3006
3010
|
}, [d]), /* @__PURE__ */ v(j, { direction: "row", alignItems: "stretch", spacing: 0, mt: 0.5, children: [
|
|
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(
|
|
3008
|
-
f || /* @__PURE__ */ n(
|
|
3011
|
+
/* @__PURE__ */ n(H, { mt: 1.5, textAlign: "center", children: /* @__PURE__ */ n(j, { spacing: 1, alignItems: "center", sx: { height: "100%", width: 32 }, children: /* @__PURE__ */ v(Re, { children: [
|
|
3012
|
+
f || /* @__PURE__ */ n(v1, { color: i ? "secondary" : "primary" }),
|
|
3009
3013
|
/* @__PURE__ */ n(H, { sx: { flex: 1 }, children: !t && /* @__PURE__ */ n(
|
|
3010
3014
|
nt,
|
|
3011
3015
|
{
|
|
@@ -3143,8 +3147,8 @@ const aa = (e, r) => {
|
|
|
3143
3147
|
sx: {
|
|
3144
3148
|
borderRadius: 0.5,
|
|
3145
3149
|
cursor: "pointer",
|
|
3146
|
-
height:
|
|
3147
|
-
width:
|
|
3150
|
+
height: x1,
|
|
3151
|
+
width: x1
|
|
3148
3152
|
}
|
|
3149
3153
|
}
|
|
3150
3154
|
),
|
|
@@ -3156,9 +3160,9 @@ const aa = (e, r) => {
|
|
|
3156
3160
|
backgroundColor: ({ palette: D }) => D.grey[100],
|
|
3157
3161
|
borderRadius: 0.5,
|
|
3158
3162
|
display: "flex",
|
|
3159
|
-
height:
|
|
3163
|
+
height: x1,
|
|
3160
3164
|
justifyContent: "center",
|
|
3161
|
-
width:
|
|
3165
|
+
width: x1
|
|
3162
3166
|
},
|
|
3163
3167
|
children: `${(((T = h == null ? void 0 : h.file) == null ? void 0 : T.length) || 0) - 1}+`
|
|
3164
3168
|
}
|
|
@@ -3199,27 +3203,27 @@ const aa = (e, r) => {
|
|
|
3199
3203
|
const [c, d] = ae("");
|
|
3200
3204
|
return r ? /* @__PURE__ */ n(U1, { sx: i, "data-test": o, "data-testid": l, children: /* @__PURE__ */ v(j, { spacing: 3, children: [
|
|
3201
3205
|
/* @__PURE__ */ v(j, { spacing: 2, pt: 1, pl: 0.5, direction: "row", children: [
|
|
3202
|
-
/* @__PURE__ */ n(
|
|
3206
|
+
/* @__PURE__ */ n(v1, {}),
|
|
3203
3207
|
/* @__PURE__ */ v(j, { children: [
|
|
3204
3208
|
/* @__PURE__ */ n(X, { children: /* @__PURE__ */ n(Ce, { width: 100 }) }),
|
|
3205
3209
|
/* @__PURE__ */ n(X, { variant: "body2", children: /* @__PURE__ */ n(Ce, { width: 130 }) })
|
|
3206
3210
|
] })
|
|
3207
3211
|
] }),
|
|
3208
3212
|
/* @__PURE__ */ v(j, { spacing: 2, pt: 1, pl: 0.5, direction: "row", children: [
|
|
3209
|
-
/* @__PURE__ */ n(
|
|
3213
|
+
/* @__PURE__ */ n(v1, {}),
|
|
3210
3214
|
/* @__PURE__ */ v(j, { children: [
|
|
3211
3215
|
/* @__PURE__ */ n(X, { children: /* @__PURE__ */ n(Ce, { width: 150 }) }),
|
|
3212
3216
|
/* @__PURE__ */ n(X, { variant: "body2", children: /* @__PURE__ */ n(Ce, { width: 100, height: 20 }) })
|
|
3213
3217
|
] })
|
|
3214
3218
|
] }),
|
|
3215
3219
|
/* @__PURE__ */ v(j, { spacing: 2, pt: 1, pl: 0.5, direction: "row", children: [
|
|
3216
|
-
/* @__PURE__ */ n(
|
|
3220
|
+
/* @__PURE__ */ n(v1, {}),
|
|
3217
3221
|
/* @__PURE__ */ v(j, { children: [
|
|
3218
3222
|
/* @__PURE__ */ n(X, { children: /* @__PURE__ */ n(Ce, { width: 80 }) }),
|
|
3219
3223
|
/* @__PURE__ */ n(X, { variant: "body2", children: /* @__PURE__ */ n(Ce, { width: 110, height: 20 }) })
|
|
3220
3224
|
] })
|
|
3221
3225
|
] })
|
|
3222
|
-
] }) }) : !(e != null && e.length) && !r ? /* @__PURE__ */ n(U1, { sx: i, children: /* @__PURE__ */ n(cr, { severity: "info", children: t }) }) : /* @__PURE__ */ v(
|
|
3226
|
+
] }) }) : !(e != null && e.length) && !r ? /* @__PURE__ */ n(U1, { sx: i, children: /* @__PURE__ */ n(cr, { severity: "info", children: t }) }) : /* @__PURE__ */ v(Re, { children: [
|
|
3223
3227
|
/* @__PURE__ */ n(U1, { sx: i, "data-test": o, "data-testid": l, children: e == null ? void 0 : e.map(
|
|
3224
3228
|
({ 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) => {
|
|
3225
3229
|
const _ = `${k}-${p}-${M}`, T = p === e.length - 1;
|
|
@@ -3247,7 +3251,7 @@ const aa = (e, r) => {
|
|
|
3247
3251
|
/* @__PURE__ */ n(Mt, { open: !!c, onClose: () => d(""), src: c })
|
|
3248
3252
|
] });
|
|
3249
3253
|
}, Ja = ({ Main: e, Sidebar: r, AppBar: t }) => {
|
|
3250
|
-
const { breakpoints: i } = we(), a =
|
|
3254
|
+
const { breakpoints: i } = we(), a = M1(null), o = s1(i.down("md")), l = r && fr(r, { AppBar: t });
|
|
3251
3255
|
return /* @__PURE__ */ v(j, { height: "100%", children: [
|
|
3252
3256
|
!o && t,
|
|
3253
3257
|
/* @__PURE__ */ v(j, { height: "100%", direction: o ? "column" : "row", minHeight: 0, children: [
|
|
@@ -3565,7 +3569,7 @@ const aa = (e, r) => {
|
|
|
3565
3569
|
}, fa = ue(({ sx: e, slotProps: r, type: t = "search", ...i }, a) => {
|
|
3566
3570
|
var o, l, c, d, u, f, x, b, g, k;
|
|
3567
3571
|
return /* @__PURE__ */ n(
|
|
3568
|
-
|
|
3572
|
+
T1,
|
|
3569
3573
|
{
|
|
3570
3574
|
fullWidth: !0,
|
|
3571
3575
|
size: "xSmall",
|
|
@@ -3676,7 +3680,7 @@ const aa = (e, r) => {
|
|
|
3676
3680
|
paddingX: p ? 1 : 3,
|
|
3677
3681
|
...x
|
|
3678
3682
|
};
|
|
3679
|
-
return u ? /* @__PURE__ */ n(G1, { position: b, elevation: g, sx: D, children: u }) : /* @__PURE__ */ v(
|
|
3683
|
+
return u ? /* @__PURE__ */ n(G1, { position: b, elevation: g, sx: D, children: u }) : /* @__PURE__ */ v(Re, { children: [
|
|
3680
3684
|
/* @__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: [
|
|
3681
3685
|
T && /* @__PURE__ */ n(Ae, { onClick: f, edge: "end", color: "inherit", "aria-label": "menu", children: /* @__PURE__ */ n(wt, {}) }),
|
|
3682
3686
|
T || i === null ? null : /* @__PURE__ */ n(H, { sx: D.logoContainer, children: i || /* @__PURE__ */ n(Pi, { mode: "dark", ...d }) }),
|
|
@@ -3721,7 +3725,7 @@ const aa = (e, r) => {
|
|
|
3721
3725
|
}
|
|
3722
3726
|
},
|
|
3723
3727
|
children: m == null ? void 0 : m.map((I, K) => {
|
|
3724
|
-
if (
|
|
3728
|
+
if (L1(I)) {
|
|
3725
3729
|
if (I.key)
|
|
3726
3730
|
return I;
|
|
3727
3731
|
const se = `${m}-${K}`;
|
|
@@ -3834,7 +3838,7 @@ const aa = (e, r) => {
|
|
|
3834
3838
|
}, Jr = {
|
|
3835
3839
|
root: ({ theme: e, ownerState: r }) => {
|
|
3836
3840
|
const t = En.toArray(r.children), i = t[t.length - 1];
|
|
3837
|
-
if (
|
|
3841
|
+
if (L1(i)) {
|
|
3838
3842
|
if (i.props.variant === "contained" || i.props.variant === "outlined")
|
|
3839
3843
|
return {
|
|
3840
3844
|
padding: e.spacing(3)
|
|
@@ -4729,12 +4733,12 @@ const aa = (e, r) => {
|
|
|
4729
4733
|
}, Qr = {
|
|
4730
4734
|
fontWeight: ma,
|
|
4731
4735
|
import: !0
|
|
4732
|
-
}, Tt =
|
|
4736
|
+
}, Tt = A1({
|
|
4733
4737
|
language: "en"
|
|
4734
4738
|
}), wa = ({ theme: e }) => /* @__PURE__ */ n(
|
|
4735
4739
|
i1,
|
|
4736
4740
|
{
|
|
4737
|
-
styles:
|
|
4741
|
+
styles: E1`
|
|
4738
4742
|
* {
|
|
4739
4743
|
scrollbar-color: ${e === "dark" ? "rgba(255, 255, 255, 0.2) rgba(255, 255, 255, 0.05)" : "rgba(0, 0, 0, 0.2) rgba(0, 0, 0, 0.05)"};
|
|
4740
4744
|
scrollbar-width: thin;
|
|
@@ -4768,7 +4772,7 @@ const aa = (e, r) => {
|
|
|
4768
4772
|
), Ea = () => /* @__PURE__ */ n(
|
|
4769
4773
|
i1,
|
|
4770
4774
|
{
|
|
4771
|
-
styles:
|
|
4775
|
+
styles: E1`
|
|
4772
4776
|
html,
|
|
4773
4777
|
body,
|
|
4774
4778
|
#root {
|
|
@@ -4787,18 +4791,18 @@ const aa = (e, r) => {
|
|
|
4787
4791
|
font: c = Qr
|
|
4788
4792
|
}) => {
|
|
4789
4793
|
var g, k;
|
|
4790
|
-
const d = { ...Qr, ...c }, u = (d == null ? void 0 : d.googleFontName) || ((g = or.typography.fontFamily) == null ? void 0 : g.split(",")[0]), f = (k = d == null ? void 0 : d.fontWeight) == null ? void 0 : k.join(";"), x =
|
|
4794
|
+
const d = { ...Qr, ...c }, u = (d == null ? void 0 : d.googleFontName) || ((g = or.typography.fontFamily) == null ? void 0 : g.split(",")[0]), f = (k = d == null ? void 0 : d.fontWeight) == null ? void 0 : k.join(";"), x = l1(() => ({ language: l }), [l]), b = l1(() => {
|
|
4791
4795
|
var w, S;
|
|
4792
4796
|
const y = typeof o == "object" ? o : {}, h = {
|
|
4793
4797
|
...l === "fr" && ya
|
|
4794
4798
|
};
|
|
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);
|
|
4796
|
-
};
|
|
4797
|
-
return /* @__PURE__ */ n(Tt.Provider, { value: x, children: /* @__PURE__ */ v(pn, { theme: b
|
|
4799
|
+
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 || 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);
|
|
4800
|
+
}, [o, l]);
|
|
4801
|
+
return /* @__PURE__ */ n(Tt.Provider, { value: x, children: /* @__PURE__ */ v(pn, { theme: b, children: [
|
|
4798
4802
|
/* @__PURE__ */ n(
|
|
4799
4803
|
i1,
|
|
4800
4804
|
{
|
|
4801
|
-
styles:
|
|
4805
|
+
styles: E1`
|
|
4802
4806
|
::-webkit-calendar-picker-indicator {
|
|
4803
4807
|
filter: invert(${o === "dark" ? 1 : 0});
|
|
4804
4808
|
}
|
|
@@ -4808,7 +4812,7 @@ const aa = (e, r) => {
|
|
|
4808
4812
|
d.import && /* @__PURE__ */ n(
|
|
4809
4813
|
i1,
|
|
4810
4814
|
{
|
|
4811
|
-
styles:
|
|
4815
|
+
styles: E1`
|
|
4812
4816
|
@import url("https://fonts.googleapis.com/css2?family=${u}:wght@${f}&display=swap");
|
|
4813
4817
|
`
|
|
4814
4818
|
}
|
|
@@ -4867,7 +4871,7 @@ const aa = (e, r) => {
|
|
|
4867
4871
|
title: y,
|
|
4868
4872
|
variant: h = "vertical"
|
|
4869
4873
|
}, w) => {
|
|
4870
|
-
const { t: S } = At(), { palette: m } = we(), M = h === "vertical", p = c || r, _ =
|
|
4874
|
+
const { t: S } = At(), { palette: m } = we(), M = h === "vertical", p = c || r, _ = M1(null), T = M1(null), [D, I] = ae(null), K = Ta(D);
|
|
4871
4875
|
Mn(w, () => T.current);
|
|
4872
4876
|
const se = (Z) => {
|
|
4873
4877
|
b == null || b(Z), I(Z.target.files);
|
|
@@ -4914,7 +4918,7 @@ const aa = (e, r) => {
|
|
|
4914
4918
|
color: t ? "text.disabled" : "text.secondary",
|
|
4915
4919
|
children: [
|
|
4916
4920
|
x || /* @__PURE__ */ n(ba, { sx: { height: 40, width: 40 } }),
|
|
4917
|
-
K ? /* @__PURE__ */ v(
|
|
4921
|
+
K ? /* @__PURE__ */ v(Re, { children: [
|
|
4918
4922
|
/* @__PURE__ */ v(X, { variant: "body2", color: "textSecondary", children: [
|
|
4919
4923
|
D == null ? void 0 : D.length,
|
|
4920
4924
|
" ",
|
|
@@ -4993,7 +4997,7 @@ const aa = (e, r) => {
|
|
|
4993
4997
|
var x;
|
|
4994
4998
|
const [u, f] = ae("");
|
|
4995
4999
|
return !(t != null && t.length) && !l && !r ? e || null : l ? /* @__PURE__ */ n(
|
|
4996
|
-
|
|
5000
|
+
w1,
|
|
4997
5001
|
{
|
|
4998
5002
|
sx: {
|
|
4999
5003
|
...n1.list,
|
|
@@ -5012,7 +5016,7 @@ const aa = (e, r) => {
|
|
|
5012
5016
|
] }, b))
|
|
5013
5017
|
}
|
|
5014
5018
|
) : /* @__PURE__ */ v(
|
|
5015
|
-
|
|
5019
|
+
w1,
|
|
5016
5020
|
{
|
|
5017
5021
|
sx: {
|
|
5018
5022
|
...n1.list,
|
|
@@ -5155,8 +5159,8 @@ const aa = (e, r) => {
|
|
|
5155
5159
|
}) => {
|
|
5156
5160
|
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);
|
|
5157
5161
|
return /* @__PURE__ */ v(ur, { ...u, children: [
|
|
5158
|
-
d && !o && (!r || !!(b != null && b.length)) && /* @__PURE__ */ v(
|
|
5159
|
-
/* @__PURE__ */ v(
|
|
5162
|
+
d && !o && (!r || !!(b != null && b.length)) && /* @__PURE__ */ v(Re, { children: [
|
|
5163
|
+
/* @__PURE__ */ v(w1, { role: "listbox", children: [
|
|
5160
5164
|
!r && /* @__PURE__ */ n(
|
|
5161
5165
|
Le,
|
|
5162
5166
|
{
|
|
@@ -5327,9 +5331,9 @@ const aa = (e, r) => {
|
|
|
5327
5331
|
const A = () => {
|
|
5328
5332
|
if (!(!I && (Array.isArray(l) && l.length || !Array.isArray(l) && l)))
|
|
5329
5333
|
return t;
|
|
5330
|
-
}, U =
|
|
5334
|
+
}, U = L1((te = $.InputProps) == null ? void 0 : te.endAdornment) ? (ce = $.InputProps) == null ? void 0 : ce.endAdornment : null;
|
|
5331
5335
|
return /* @__PURE__ */ n(
|
|
5332
|
-
|
|
5336
|
+
T1,
|
|
5333
5337
|
{
|
|
5334
5338
|
sx: {
|
|
5335
5339
|
".MuiInputBase-root .MuiInputBase-input": {
|
|
@@ -5433,7 +5437,7 @@ const aa = (e, r) => {
|
|
|
5433
5437
|
c.preventDefault();
|
|
5434
5438
|
};
|
|
5435
5439
|
return /* @__PURE__ */ n(
|
|
5436
|
-
|
|
5440
|
+
T1,
|
|
5437
5441
|
{
|
|
5438
5442
|
type: t ? "text" : "password",
|
|
5439
5443
|
slotProps: {
|
|
@@ -5590,7 +5594,7 @@ const aa = (e, r) => {
|
|
|
5590
5594
|
]
|
|
5591
5595
|
}
|
|
5592
5596
|
), po = ({ children: e, permissions: r, disabledPermissions: t }) => {
|
|
5593
|
-
const [i, a] = ae(), o =
|
|
5597
|
+
const [i, a] = ae(), o = l1(
|
|
5594
5598
|
() => ({
|
|
5595
5599
|
disabledPermissions: t,
|
|
5596
5600
|
permissions: i,
|
|
@@ -5598,7 +5602,7 @@ const aa = (e, r) => {
|
|
|
5598
5602
|
}),
|
|
5599
5603
|
[t, i]
|
|
5600
5604
|
);
|
|
5601
|
-
return
|
|
5605
|
+
return _1(() => {
|
|
5602
5606
|
a(r);
|
|
5603
5607
|
}, [r]), /* @__PURE__ */ n(st.Provider, { value: o, children: e });
|
|
5604
5608
|
}, Da = {
|
|
@@ -5607,7 +5611,7 @@ const aa = (e, r) => {
|
|
|
5607
5611
|
message: "",
|
|
5608
5612
|
severity: "success",
|
|
5609
5613
|
variant: "standard"
|
|
5610
|
-
}, _t =
|
|
5614
|
+
}, _t = A1({
|
|
5611
5615
|
closeSnackbar: () => {
|
|
5612
5616
|
},
|
|
5613
5617
|
isOpen: !1,
|
|
@@ -5628,7 +5632,7 @@ const aa = (e, r) => {
|
|
|
5628
5632
|
});
|
|
5629
5633
|
}, []), l = pe((d, u) => {
|
|
5630
5634
|
u !== "clickaway" && a((f) => ({ ...f, isOpen: !1 }));
|
|
5631
|
-
}, []), c =
|
|
5635
|
+
}, []), c = l1(
|
|
5632
5636
|
() => ({
|
|
5633
5637
|
closeSnackbar: l,
|
|
5634
5638
|
isOpen: i.isOpen,
|
|
@@ -5699,7 +5703,7 @@ export {
|
|
|
5699
5703
|
ja as QuantityField,
|
|
5700
5704
|
_t as SnackbarContext,
|
|
5701
5705
|
uo as SnackbarProvider,
|
|
5702
|
-
|
|
5706
|
+
v1 as StatusIcon,
|
|
5703
5707
|
Ga as TabPanel,
|
|
5704
5708
|
Wa as TextArea,
|
|
5705
5709
|
fa as TextFieldAppBar,
|