@amateescu/portal-ui-components 0.0.30-beta9 → 0.0.31
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/{Box-ZFRI9JCw.js → Box-D-aleOLf.js} +1 -1
- package/dist/{Button-CNfTnafe.js → Button-xgiLW4_3.js} +5 -7
- package/dist/{ButtonBase-DWpUn0eT.js → ButtonBase-DUKuDCWw.js} +126 -125
- package/dist/{CircularProgress-D6RyizwS.js → CircularProgress-Dq_bUtxt.js} +29 -30
- package/dist/{EllipsisOutlined-D-3xCg8z.js → EllipsisOutlined-CmR4hXJ_.js} +1 -1
- package/dist/{PurePanel-CTG2Gs1r.js → PurePanel-CykVuv66.js} +1 -1
- package/dist/{Skeleton-AxdUhch9.js → Skeleton-BBwDqRB3.js} +1 -1
- package/dist/{UserInfoDropdown-DLPEHXMj.js → UserInfoDropdown-DtadP0e7.js} +3 -3
- package/dist/components/ConfirmationModal/ConfirmationModal.js +1 -1
- package/dist/components/ConfirmationModal/ConfirmationModal.stories.js +1 -1
- package/dist/components/CustomButton/CustomButton.js +1 -1
- package/dist/components/CustomButton/CustomButton.stories.js +1 -1
- package/dist/components/CustomPagination/CustomPagination.js +39 -41
- package/dist/components/ErrorModal/ErrorModal.js +1 -1
- package/dist/components/ErrorModal/ErrorModal.stories.js +1 -1
- package/dist/components/InfoModal/InfoModal.js +1 -1
- package/dist/components/InfoModal/InfoModal.stories.js +1 -1
- package/dist/components/KpiCard/KpiCard.js +3 -3
- package/dist/components/LoadingAnimation/LoadingAnimation.js +2 -2
- package/dist/components/Login/Login.js +1009 -989
- package/dist/components/SideMenu/SideMenu.js +1 -1
- package/dist/components/UserInfoDropdown/UserInfoDropdown.js +1 -1
- package/dist/components/UserInfoDropdown/UserInfoDropdown.stories.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/{context-D9BBvKPl.js → context-4ttylmIf.js} +1648 -1676
- package/dist/{createSimplePaletteValueFilter-rq2_biPF.js → createSimplePaletteValueFilter-evt-Xthj.js} +197 -196
- package/dist/{createSvgIcon-jB7EUYpq.js → createSvgIcon-CgFXfzFk.js} +1 -1
- package/dist/{index-C4jQKFL8.js → index-Dz00OoV7.js} +3 -3
- package/dist/main.js +1 -1
- package/dist/useSlot-Baxtq84W.js +188 -0
- package/package.json +11 -11
- package/dist/useSlot-CT4096EK.js +0 -188
|
@@ -856,10 +856,24 @@ function Be(e, r, t) {
|
|
|
856
856
|
return e;
|
|
857
857
|
}
|
|
858
858
|
}
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
859
|
+
const Mr = (e) => e, Mt = () => {
|
|
860
|
+
let e = Mr;
|
|
861
|
+
return {
|
|
862
|
+
configure(r) {
|
|
863
|
+
e = r;
|
|
864
|
+
},
|
|
865
|
+
generate(r) {
|
|
866
|
+
return e(r);
|
|
867
|
+
},
|
|
868
|
+
reset() {
|
|
869
|
+
e = Mr;
|
|
870
|
+
}
|
|
862
871
|
};
|
|
872
|
+
}, Dt = Mt();
|
|
873
|
+
function vr(e) {
|
|
874
|
+
if (typeof e != "string")
|
|
875
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : ge(7));
|
|
876
|
+
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
863
877
|
}
|
|
864
878
|
var Ve = { exports: {} }, L = {};
|
|
865
879
|
/**
|
|
@@ -871,10 +885,10 @@ var Ve = { exports: {} }, L = {};
|
|
|
871
885
|
* This source code is licensed under the MIT license found in the
|
|
872
886
|
* LICENSE file in the root directory of this source tree.
|
|
873
887
|
*/
|
|
874
|
-
var
|
|
875
|
-
function
|
|
876
|
-
if (
|
|
877
|
-
|
|
888
|
+
var Dr;
|
|
889
|
+
function Bt() {
|
|
890
|
+
if (Dr) return L;
|
|
891
|
+
Dr = 1;
|
|
878
892
|
var e = Symbol.for("react.transitional.element"), r = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), i = Symbol.for("react.consumer"), s = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), m = Symbol.for("react.view_transition"), S = Symbol.for("react.client.reference");
|
|
879
893
|
function b(c) {
|
|
880
894
|
if (typeof c == "object" && c !== null) {
|
|
@@ -945,9 +959,9 @@ var W = {};
|
|
|
945
959
|
* This source code is licensed under the MIT license found in the
|
|
946
960
|
* LICENSE file in the root directory of this source tree.
|
|
947
961
|
*/
|
|
948
|
-
var
|
|
949
|
-
function
|
|
950
|
-
return
|
|
962
|
+
var Br;
|
|
963
|
+
function Vt() {
|
|
964
|
+
return Br || (Br = 1, process.env.NODE_ENV !== "production" && function() {
|
|
951
965
|
function e(c) {
|
|
952
966
|
if (typeof c == "object" && c !== null) {
|
|
953
967
|
var w = c.$$typeof;
|
|
@@ -1009,11 +1023,11 @@ function Dt() {
|
|
|
1009
1023
|
}, W.typeOf = e;
|
|
1010
1024
|
}()), W;
|
|
1011
1025
|
}
|
|
1012
|
-
var
|
|
1013
|
-
function
|
|
1014
|
-
return
|
|
1026
|
+
var Vr;
|
|
1027
|
+
function jt() {
|
|
1028
|
+
return Vr || (Vr = 1, process.env.NODE_ENV === "production" ? Ve.exports = /* @__PURE__ */ Bt() : Ve.exports = /* @__PURE__ */ Vt()), Ve.exports;
|
|
1015
1029
|
}
|
|
1016
|
-
var Fe = /* @__PURE__ */
|
|
1030
|
+
var Fe = /* @__PURE__ */ jt();
|
|
1017
1031
|
function de(e) {
|
|
1018
1032
|
if (typeof e != "object" || e === null)
|
|
1019
1033
|
return !1;
|
|
@@ -1039,72 +1053,6 @@ function oe(e, r, t = {
|
|
|
1039
1053
|
Object.prototype.hasOwnProperty.call(e, o) && de(e[o]) ? n[o] = oe(e[o], r[o], t) : t.clone ? n[o] = de(r[o]) ? it(r[o]) : r[o] : n[o] = r[o];
|
|
1040
1054
|
}), n;
|
|
1041
1055
|
}
|
|
1042
|
-
function at(e, r = "") {
|
|
1043
|
-
return e.displayName || e.name || r;
|
|
1044
|
-
}
|
|
1045
|
-
function Vr(e, r, t) {
|
|
1046
|
-
const n = at(r);
|
|
1047
|
-
return e.displayName || (n !== "" ? `${t}(${n})` : t);
|
|
1048
|
-
}
|
|
1049
|
-
function Vt(e) {
|
|
1050
|
-
if (e != null) {
|
|
1051
|
-
if (typeof e == "string")
|
|
1052
|
-
return e;
|
|
1053
|
-
if (typeof e == "function")
|
|
1054
|
-
return at(e, "Component");
|
|
1055
|
-
if (typeof e == "object")
|
|
1056
|
-
switch (e.$$typeof) {
|
|
1057
|
-
case Fe.ForwardRef:
|
|
1058
|
-
return Vr(e, e.render, "ForwardRef");
|
|
1059
|
-
case Fe.Memo:
|
|
1060
|
-
return Vr(e, e.type, "memo");
|
|
1061
|
-
default:
|
|
1062
|
-
return;
|
|
1063
|
-
}
|
|
1064
|
-
}
|
|
1065
|
-
}
|
|
1066
|
-
function vr(e) {
|
|
1067
|
-
if (typeof e != "string")
|
|
1068
|
-
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : ge(7));
|
|
1069
|
-
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
1070
|
-
}
|
|
1071
|
-
const jr = (e) => e, jt = () => {
|
|
1072
|
-
let e = jr;
|
|
1073
|
-
return {
|
|
1074
|
-
configure(r) {
|
|
1075
|
-
e = r;
|
|
1076
|
-
},
|
|
1077
|
-
generate(r) {
|
|
1078
|
-
return e(r);
|
|
1079
|
-
},
|
|
1080
|
-
reset() {
|
|
1081
|
-
e = jr;
|
|
1082
|
-
}
|
|
1083
|
-
};
|
|
1084
|
-
}, Ft = jt(), Lt = {
|
|
1085
|
-
active: "active",
|
|
1086
|
-
checked: "checked",
|
|
1087
|
-
completed: "completed",
|
|
1088
|
-
disabled: "disabled",
|
|
1089
|
-
error: "error",
|
|
1090
|
-
expanded: "expanded",
|
|
1091
|
-
focused: "focused",
|
|
1092
|
-
focusVisible: "focusVisible",
|
|
1093
|
-
open: "open",
|
|
1094
|
-
readOnly: "readOnly",
|
|
1095
|
-
required: "required",
|
|
1096
|
-
selected: "selected"
|
|
1097
|
-
};
|
|
1098
|
-
function st(e, r, t = "Mui") {
|
|
1099
|
-
const n = Lt[r];
|
|
1100
|
-
return n ? `${t}-${n}` : `${Ft.generate(e)}-${r}`;
|
|
1101
|
-
}
|
|
1102
|
-
function ii(e, r, t = "Mui") {
|
|
1103
|
-
const n = {};
|
|
1104
|
-
return r.forEach((o) => {
|
|
1105
|
-
n[o] = st(e, o, t);
|
|
1106
|
-
}), n;
|
|
1107
|
-
}
|
|
1108
1056
|
function Ae(e, r) {
|
|
1109
1057
|
return r ? oe(e, r, {
|
|
1110
1058
|
clone: !1
|
|
@@ -1112,7 +1060,7 @@ function Ae(e, r) {
|
|
|
1112
1060
|
}) : e;
|
|
1113
1061
|
}
|
|
1114
1062
|
const ye = process.env.NODE_ENV !== "production" ? fe.oneOfType([fe.number, fe.string, fe.object, fe.array]) : {};
|
|
1115
|
-
function
|
|
1063
|
+
function Ft(e, r) {
|
|
1116
1064
|
if (!e.containerQueries)
|
|
1117
1065
|
return r;
|
|
1118
1066
|
const t = Object.keys(r).filter((n) => n.startsWith("@container")).sort((n, o) => {
|
|
@@ -1127,10 +1075,10 @@ function Wt(e, r) {
|
|
|
1127
1075
|
...r
|
|
1128
1076
|
}) : r;
|
|
1129
1077
|
}
|
|
1130
|
-
function
|
|
1078
|
+
function Lt(e, r) {
|
|
1131
1079
|
return r === "@" || r.startsWith("@") && (e.some((t) => r.startsWith(`@${t}`)) || !!r.match(/^@\d/));
|
|
1132
1080
|
}
|
|
1133
|
-
function
|
|
1081
|
+
function Wt(e, r) {
|
|
1134
1082
|
const t = r.match(/^@([^/]+)?\/?(.+)?$/);
|
|
1135
1083
|
if (!t) {
|
|
1136
1084
|
if (process.env.NODE_ENV !== "production")
|
|
@@ -1141,7 +1089,7 @@ For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : ge(18, `(${r})`));
|
|
|
1141
1089
|
const [, n, o] = t, i = Number.isNaN(+n) ? n || 0 : +n;
|
|
1142
1090
|
return e.containerQueries(o).up(i);
|
|
1143
1091
|
}
|
|
1144
|
-
function
|
|
1092
|
+
function Yt(e) {
|
|
1145
1093
|
const r = (i, s) => i.replace("@media", s ? `@container ${s}` : "@container");
|
|
1146
1094
|
function t(i, s) {
|
|
1147
1095
|
i.up = (...u) => r(e.breakpoints.up(...u), s), i.down = (...u) => r(e.breakpoints.down(...u), s), i.between = (...u) => r(e.breakpoints.between(...u), s), i.only = (...u) => r(e.breakpoints.only(...u), s), i.not = (...u) => {
|
|
@@ -1166,12 +1114,12 @@ const ze = {
|
|
|
1166
1114
|
// desktop
|
|
1167
1115
|
xl: 1536
|
|
1168
1116
|
// large screen
|
|
1169
|
-
},
|
|
1117
|
+
}, jr = {
|
|
1170
1118
|
// Sorted ASC by size. That's important.
|
|
1171
1119
|
// It can't be configured as it's used statically for propTypes.
|
|
1172
1120
|
keys: ["xs", "sm", "md", "lg", "xl"],
|
|
1173
1121
|
up: (e) => `@media (min-width:${ze[e]}px)`
|
|
1174
|
-
},
|
|
1122
|
+
}, Ut = {
|
|
1175
1123
|
containerQueries: (e) => ({
|
|
1176
1124
|
up: (r) => {
|
|
1177
1125
|
let t = typeof r == "number" ? r : ze[r] || r;
|
|
@@ -1182,14 +1130,14 @@ const ze = {
|
|
|
1182
1130
|
function pe(e, r, t) {
|
|
1183
1131
|
const n = e.theme || {};
|
|
1184
1132
|
if (Array.isArray(r)) {
|
|
1185
|
-
const i = n.breakpoints ||
|
|
1133
|
+
const i = n.breakpoints || jr;
|
|
1186
1134
|
return r.reduce((s, u, f) => (s[i.up(i.keys[f])] = t(r[f]), s), {});
|
|
1187
1135
|
}
|
|
1188
1136
|
if (typeof r == "object") {
|
|
1189
|
-
const i = n.breakpoints ||
|
|
1137
|
+
const i = n.breakpoints || jr;
|
|
1190
1138
|
return Object.keys(r).reduce((s, u) => {
|
|
1191
|
-
if (
|
|
1192
|
-
const f =
|
|
1139
|
+
if (Lt(i.keys, u)) {
|
|
1140
|
+
const f = Wt(n.containerQueries ? n : Ut, u);
|
|
1193
1141
|
f && (s[f] = t(r[u], u));
|
|
1194
1142
|
} else if (Object.keys(i.values || ze).includes(u)) {
|
|
1195
1143
|
const f = i.up(u);
|
|
@@ -1203,14 +1151,14 @@ function pe(e, r, t) {
|
|
|
1203
1151
|
}
|
|
1204
1152
|
return t(r);
|
|
1205
1153
|
}
|
|
1206
|
-
function
|
|
1154
|
+
function zt(e = {}) {
|
|
1207
1155
|
var t;
|
|
1208
1156
|
return ((t = e.keys) == null ? void 0 : t.reduce((n, o) => {
|
|
1209
1157
|
const i = e.up(o);
|
|
1210
1158
|
return n[i] = {}, n;
|
|
1211
1159
|
}, {})) || {};
|
|
1212
1160
|
}
|
|
1213
|
-
function
|
|
1161
|
+
function Gt(e, r) {
|
|
1214
1162
|
return e.reduce((t, n) => {
|
|
1215
1163
|
const o = t[n];
|
|
1216
1164
|
return (!o || Object.keys(o).length === 0) && delete t[n], t;
|
|
@@ -1251,34 +1199,34 @@ function Q(e) {
|
|
|
1251
1199
|
[r]: ye
|
|
1252
1200
|
} : {}, i.filterProps = [r], i;
|
|
1253
1201
|
}
|
|
1254
|
-
function
|
|
1202
|
+
function qt(e) {
|
|
1255
1203
|
const r = {};
|
|
1256
1204
|
return (t) => (r[t] === void 0 && (r[t] = e(t)), r[t]);
|
|
1257
1205
|
}
|
|
1258
|
-
const
|
|
1206
|
+
const Kt = {
|
|
1259
1207
|
m: "margin",
|
|
1260
1208
|
p: "padding"
|
|
1261
|
-
},
|
|
1209
|
+
}, Ht = {
|
|
1262
1210
|
t: "Top",
|
|
1263
1211
|
r: "Right",
|
|
1264
1212
|
b: "Bottom",
|
|
1265
1213
|
l: "Left",
|
|
1266
1214
|
x: ["Left", "Right"],
|
|
1267
1215
|
y: ["Top", "Bottom"]
|
|
1268
|
-
},
|
|
1216
|
+
}, Fr = {
|
|
1269
1217
|
marginX: "mx",
|
|
1270
1218
|
marginY: "my",
|
|
1271
1219
|
paddingX: "px",
|
|
1272
1220
|
paddingY: "py"
|
|
1273
|
-
},
|
|
1221
|
+
}, Qt = qt((e) => {
|
|
1274
1222
|
if (e.length > 2)
|
|
1275
|
-
if (
|
|
1276
|
-
e =
|
|
1223
|
+
if (Fr[e])
|
|
1224
|
+
e = Fr[e];
|
|
1277
1225
|
else
|
|
1278
1226
|
return [e];
|
|
1279
|
-
const [r, t] = e.split(""), n =
|
|
1227
|
+
const [r, t] = e.split(""), n = Kt[r], o = Ht[t] || "";
|
|
1280
1228
|
return Array.isArray(o) ? o.map((i) => n + i) : [n + o];
|
|
1281
|
-
}), qe = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], Ke = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"],
|
|
1229
|
+
}), qe = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], Ke = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Xt = [...qe, ...Ke];
|
|
1282
1230
|
function Re(e, r, t, n) {
|
|
1283
1231
|
const o = Ge(e, r, !0) ?? t;
|
|
1284
1232
|
return typeof o == "number" || typeof o == "string" ? (i) => typeof i == "string" ? i : (process.env.NODE_ENV !== "production" && typeof i != "number" && console.error(`MUI: Expected ${n} argument to be a number or a string, got ${i}.`), typeof o == "string" ? o.startsWith("var(") && i === 0 ? 0 : o.startsWith("var(") && i === 1 ? o : `calc(${i} * ${o})` : o * i) : Array.isArray(o) ? (i) => {
|
|
@@ -1300,30 +1248,30 @@ function Sr(e) {
|
|
|
1300
1248
|
function ke(e, r) {
|
|
1301
1249
|
return typeof r == "string" || r == null ? r : e(r);
|
|
1302
1250
|
}
|
|
1303
|
-
function
|
|
1251
|
+
function Jt(e, r) {
|
|
1304
1252
|
return (t) => e.reduce((n, o) => (n[o] = ke(r, t), n), {});
|
|
1305
1253
|
}
|
|
1306
|
-
function
|
|
1254
|
+
function Zt(e, r, t, n) {
|
|
1307
1255
|
if (!r.includes(t))
|
|
1308
1256
|
return null;
|
|
1309
|
-
const o =
|
|
1257
|
+
const o = Qt(t), i = Jt(o, n), s = e[t];
|
|
1310
1258
|
return pe(e, s, i);
|
|
1311
1259
|
}
|
|
1312
|
-
function
|
|
1260
|
+
function at(e, r) {
|
|
1313
1261
|
const t = Sr(e.theme);
|
|
1314
|
-
return Object.keys(e).map((n) =>
|
|
1262
|
+
return Object.keys(e).map((n) => Zt(e, r, n, t)).reduce(Ae, {});
|
|
1315
1263
|
}
|
|
1316
1264
|
function q(e) {
|
|
1317
|
-
return
|
|
1265
|
+
return at(e, qe);
|
|
1318
1266
|
}
|
|
1319
1267
|
q.propTypes = process.env.NODE_ENV !== "production" ? qe.reduce((e, r) => (e[r] = ye, e), {}) : {};
|
|
1320
1268
|
q.filterProps = qe;
|
|
1321
1269
|
function K(e) {
|
|
1322
|
-
return
|
|
1270
|
+
return at(e, Ke);
|
|
1323
1271
|
}
|
|
1324
1272
|
K.propTypes = process.env.NODE_ENV !== "production" ? Ke.reduce((e, r) => (e[r] = ye, e), {}) : {};
|
|
1325
1273
|
K.filterProps = Ke;
|
|
1326
|
-
process.env.NODE_ENV !== "production" &&
|
|
1274
|
+
process.env.NODE_ENV !== "production" && Xt.reduce((e, r) => (e[r] = ye, e), {});
|
|
1327
1275
|
function He(...e) {
|
|
1328
1276
|
const r = e.reduce((n, o) => (o.filterProps.forEach((i) => {
|
|
1329
1277
|
n[i] = o;
|
|
@@ -1340,7 +1288,7 @@ function ae(e, r) {
|
|
|
1340
1288
|
transform: r
|
|
1341
1289
|
});
|
|
1342
1290
|
}
|
|
1343
|
-
const
|
|
1291
|
+
const en = ae("border", ie), rn = ae("borderTop", ie), tn = ae("borderRight", ie), nn = ae("borderBottom", ie), on = ae("borderLeft", ie), an = ae("borderColor"), sn = ae("borderTopColor"), cn = ae("borderRightColor"), un = ae("borderBottomColor"), ln = ae("borderLeftColor"), fn = ae("outline", ie), dn = ae("outlineColor"), Qe = (e) => {
|
|
1344
1292
|
if (e.borderRadius !== void 0 && e.borderRadius !== null) {
|
|
1345
1293
|
const r = Re(e.theme, "shape.borderRadius", 4, "borderRadius"), t = (n) => ({
|
|
1346
1294
|
borderRadius: ke(r, n)
|
|
@@ -1353,7 +1301,7 @@ Qe.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
1353
1301
|
borderRadius: ye
|
|
1354
1302
|
} : {};
|
|
1355
1303
|
Qe.filterProps = ["borderRadius"];
|
|
1356
|
-
He(tn, nn, on, an, sn, cn, un, ln,
|
|
1304
|
+
He(en, rn, tn, nn, on, an, sn, cn, un, ln, Qe, fn, dn);
|
|
1357
1305
|
const Xe = (e) => {
|
|
1358
1306
|
if (e.gap !== void 0 && e.gap !== null) {
|
|
1359
1307
|
const r = Re(e.theme, "spacing", 8, "gap"), t = (n) => ({
|
|
@@ -1393,48 +1341,48 @@ Ze.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
1393
1341
|
rowGap: ye
|
|
1394
1342
|
} : {};
|
|
1395
1343
|
Ze.filterProps = ["rowGap"];
|
|
1396
|
-
const
|
|
1344
|
+
const pn = Q({
|
|
1397
1345
|
prop: "gridColumn"
|
|
1398
|
-
}),
|
|
1346
|
+
}), mn = Q({
|
|
1399
1347
|
prop: "gridRow"
|
|
1400
|
-
}),
|
|
1348
|
+
}), gn = Q({
|
|
1401
1349
|
prop: "gridAutoFlow"
|
|
1402
|
-
}),
|
|
1350
|
+
}), hn = Q({
|
|
1403
1351
|
prop: "gridAutoColumns"
|
|
1404
|
-
}),
|
|
1352
|
+
}), yn = Q({
|
|
1405
1353
|
prop: "gridAutoRows"
|
|
1406
|
-
}),
|
|
1354
|
+
}), bn = Q({
|
|
1407
1355
|
prop: "gridTemplateColumns"
|
|
1408
|
-
}),
|
|
1356
|
+
}), vn = Q({
|
|
1409
1357
|
prop: "gridTemplateRows"
|
|
1410
|
-
}),
|
|
1358
|
+
}), Sn = Q({
|
|
1411
1359
|
prop: "gridTemplateAreas"
|
|
1412
|
-
}),
|
|
1360
|
+
}), En = Q({
|
|
1413
1361
|
prop: "gridArea"
|
|
1414
1362
|
});
|
|
1415
|
-
He(Xe, Je, Ze, gn, hn, yn, bn, vn, Sn, En
|
|
1363
|
+
He(Xe, Je, Ze, pn, mn, gn, hn, yn, bn, vn, Sn, En);
|
|
1416
1364
|
function we(e, r) {
|
|
1417
1365
|
return r === "grey" ? r : e;
|
|
1418
1366
|
}
|
|
1419
|
-
const
|
|
1367
|
+
const Cn = Q({
|
|
1420
1368
|
prop: "color",
|
|
1421
1369
|
themeKey: "palette",
|
|
1422
1370
|
transform: we
|
|
1423
|
-
}),
|
|
1371
|
+
}), Tn = Q({
|
|
1424
1372
|
prop: "bgcolor",
|
|
1425
1373
|
cssProperty: "backgroundColor",
|
|
1426
1374
|
themeKey: "palette",
|
|
1427
1375
|
transform: we
|
|
1428
|
-
}),
|
|
1376
|
+
}), wn = Q({
|
|
1429
1377
|
prop: "backgroundColor",
|
|
1430
1378
|
themeKey: "palette",
|
|
1431
1379
|
transform: we
|
|
1432
1380
|
});
|
|
1433
|
-
He(
|
|
1381
|
+
He(Cn, Tn, wn);
|
|
1434
1382
|
function ne(e) {
|
|
1435
1383
|
return e <= 1 && e !== 0 ? `${e * 100}%` : e;
|
|
1436
1384
|
}
|
|
1437
|
-
const
|
|
1385
|
+
const xn = Q({
|
|
1438
1386
|
prop: "width",
|
|
1439
1387
|
transform: ne
|
|
1440
1388
|
}), Er = (e) => {
|
|
@@ -1455,16 +1403,16 @@ const On = Q({
|
|
|
1455
1403
|
return null;
|
|
1456
1404
|
};
|
|
1457
1405
|
Er.filterProps = ["maxWidth"];
|
|
1458
|
-
const
|
|
1406
|
+
const $n = Q({
|
|
1459
1407
|
prop: "minWidth",
|
|
1460
1408
|
transform: ne
|
|
1461
|
-
}),
|
|
1409
|
+
}), On = Q({
|
|
1462
1410
|
prop: "height",
|
|
1463
1411
|
transform: ne
|
|
1464
|
-
}),
|
|
1412
|
+
}), _n = Q({
|
|
1465
1413
|
prop: "maxHeight",
|
|
1466
1414
|
transform: ne
|
|
1467
|
-
}),
|
|
1415
|
+
}), An = Q({
|
|
1468
1416
|
prop: "minHeight",
|
|
1469
1417
|
transform: ne
|
|
1470
1418
|
});
|
|
@@ -1478,10 +1426,10 @@ Q({
|
|
|
1478
1426
|
cssProperty: "height",
|
|
1479
1427
|
transform: ne
|
|
1480
1428
|
});
|
|
1481
|
-
const
|
|
1429
|
+
const Pn = Q({
|
|
1482
1430
|
prop: "boxSizing"
|
|
1483
1431
|
});
|
|
1484
|
-
He(
|
|
1432
|
+
He(xn, Er, $n, On, _n, An, Pn);
|
|
1485
1433
|
const er = {
|
|
1486
1434
|
// borders
|
|
1487
1435
|
border: {
|
|
@@ -1770,14 +1718,14 @@ const er = {
|
|
|
1770
1718
|
themeKey: "typography"
|
|
1771
1719
|
}
|
|
1772
1720
|
};
|
|
1773
|
-
function
|
|
1721
|
+
function Rn(...e) {
|
|
1774
1722
|
const r = e.reduce((n, o) => n.concat(Object.keys(o)), []), t = new Set(r);
|
|
1775
1723
|
return e.every((n) => t.size === Object.keys(n).length);
|
|
1776
1724
|
}
|
|
1777
|
-
function
|
|
1725
|
+
function kn(e, r) {
|
|
1778
1726
|
return typeof e == "function" ? e(r) : e;
|
|
1779
1727
|
}
|
|
1780
|
-
function
|
|
1728
|
+
function In() {
|
|
1781
1729
|
function e(t, n, o, i) {
|
|
1782
1730
|
const s = {
|
|
1783
1731
|
[t]: n,
|
|
@@ -1823,10 +1771,10 @@ function Mn() {
|
|
|
1823
1771
|
return u;
|
|
1824
1772
|
if (!f)
|
|
1825
1773
|
return null;
|
|
1826
|
-
const d =
|
|
1774
|
+
const d = zt(o.breakpoints), g = Object.keys(d);
|
|
1827
1775
|
let p = d;
|
|
1828
1776
|
return Object.keys(f).forEach((m) => {
|
|
1829
|
-
const S =
|
|
1777
|
+
const S = kn(f[m], o);
|
|
1830
1778
|
if (S != null)
|
|
1831
1779
|
if (typeof S == "object")
|
|
1832
1780
|
if (i[m])
|
|
@@ -1837,22 +1785,22 @@ function Mn() {
|
|
|
1837
1785
|
}, S, (c) => ({
|
|
1838
1786
|
[m]: c
|
|
1839
1787
|
}));
|
|
1840
|
-
|
|
1788
|
+
Rn(b, S) ? p[m] = r({
|
|
1841
1789
|
sx: S,
|
|
1842
1790
|
theme: o
|
|
1843
1791
|
}) : p = Ae(p, b);
|
|
1844
1792
|
}
|
|
1845
1793
|
else
|
|
1846
1794
|
p = Ae(p, e(m, S, o, i));
|
|
1847
|
-
}),
|
|
1795
|
+
}), Ft(o, Gt(g, p));
|
|
1848
1796
|
}
|
|
1849
1797
|
return Array.isArray(n) ? n.map(s) : s(n);
|
|
1850
1798
|
}
|
|
1851
1799
|
return r;
|
|
1852
1800
|
}
|
|
1853
|
-
const xe =
|
|
1801
|
+
const xe = In();
|
|
1854
1802
|
xe.filterProps = ["sx"];
|
|
1855
|
-
function
|
|
1803
|
+
function Nn(e) {
|
|
1856
1804
|
for (var r = 0, t, n = 0, o = e.length; o >= 4; ++n, o -= 4)
|
|
1857
1805
|
t = e.charCodeAt(n) & 255 | (e.charCodeAt(++n) & 255) << 8 | (e.charCodeAt(++n) & 255) << 16 | (e.charCodeAt(++n) & 255) << 24, t = /* Math.imul(k, m): */
|
|
1858
1806
|
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), t ^= /* k >>> r: */
|
|
@@ -1871,7 +1819,7 @@ function Dn(e) {
|
|
|
1871
1819
|
return r ^= r >>> 13, r = /* Math.imul(h, m): */
|
|
1872
1820
|
(r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), ((r ^ r >>> 15) >>> 0).toString(36);
|
|
1873
1821
|
}
|
|
1874
|
-
var
|
|
1822
|
+
var Mn = {
|
|
1875
1823
|
animationIterationCount: 1,
|
|
1876
1824
|
aspectRatio: 1,
|
|
1877
1825
|
borderImageOutset: 1,
|
|
@@ -1921,24 +1869,24 @@ var Bn = {
|
|
|
1921
1869
|
strokeOpacity: 1,
|
|
1922
1870
|
strokeWidth: 1
|
|
1923
1871
|
};
|
|
1924
|
-
function
|
|
1872
|
+
function Dn(e) {
|
|
1925
1873
|
var r = /* @__PURE__ */ Object.create(null);
|
|
1926
1874
|
return function(t) {
|
|
1927
1875
|
return r[t] === void 0 && (r[t] = e(t)), r[t];
|
|
1928
1876
|
};
|
|
1929
1877
|
}
|
|
1930
|
-
var
|
|
1878
|
+
var Bn = /[A-Z]|^ms/g, Vn = /_EMO_([^_]+?)_([^]*?)_EMO_/g, st = function(r) {
|
|
1931
1879
|
return r.charCodeAt(1) === 45;
|
|
1932
|
-
},
|
|
1880
|
+
}, Lr = function(r) {
|
|
1933
1881
|
return r != null && typeof r != "boolean";
|
|
1934
|
-
}, cr = /* @__PURE__ */
|
|
1935
|
-
return
|
|
1936
|
-
}),
|
|
1882
|
+
}, cr = /* @__PURE__ */ Dn(function(e) {
|
|
1883
|
+
return st(e) ? e : e.replace(Bn, "-$&").toLowerCase();
|
|
1884
|
+
}), Wr = function(r, t) {
|
|
1937
1885
|
switch (r) {
|
|
1938
1886
|
case "animation":
|
|
1939
1887
|
case "animationName":
|
|
1940
1888
|
if (typeof t == "string")
|
|
1941
|
-
return t.replace(
|
|
1889
|
+
return t.replace(Vn, function(n, o, i) {
|
|
1942
1890
|
return me = {
|
|
1943
1891
|
name: o,
|
|
1944
1892
|
styles: i,
|
|
@@ -1946,7 +1894,7 @@ var jn = /[A-Z]|^ms/g, Fn = /_EMO_([^_]+?)_([^]*?)_EMO_/g, ut = function(r) {
|
|
|
1946
1894
|
}, o;
|
|
1947
1895
|
});
|
|
1948
1896
|
}
|
|
1949
|
-
return
|
|
1897
|
+
return Mn[r] !== 1 && !st(r) && typeof t == "number" && t !== 0 ? t + "px" : t;
|
|
1950
1898
|
};
|
|
1951
1899
|
function We(e, r, t) {
|
|
1952
1900
|
if (t == null)
|
|
@@ -1978,13 +1926,13 @@ function We(e, r, t) {
|
|
|
1978
1926
|
var u = i.styles + ";";
|
|
1979
1927
|
return u;
|
|
1980
1928
|
}
|
|
1981
|
-
return
|
|
1929
|
+
return jn(e, r, t);
|
|
1982
1930
|
}
|
|
1983
1931
|
}
|
|
1984
1932
|
var f = t;
|
|
1985
1933
|
return f;
|
|
1986
1934
|
}
|
|
1987
|
-
function
|
|
1935
|
+
function jn(e, r, t) {
|
|
1988
1936
|
var n = "";
|
|
1989
1937
|
if (Array.isArray(t))
|
|
1990
1938
|
for (var o = 0; o < t.length; o++)
|
|
@@ -1994,10 +1942,10 @@ function Ln(e, r, t) {
|
|
|
1994
1942
|
var s = t[i];
|
|
1995
1943
|
if (typeof s != "object") {
|
|
1996
1944
|
var u = s;
|
|
1997
|
-
|
|
1945
|
+
Lr(u) && (n += cr(i) + ":" + Wr(i, u) + ";");
|
|
1998
1946
|
} else if (Array.isArray(s) && typeof s[0] == "string" && r == null)
|
|
1999
1947
|
for (var f = 0; f < s.length; f++)
|
|
2000
|
-
|
|
1948
|
+
Lr(s[f]) && (n += cr(i) + ":" + Wr(i, s[f]) + ";");
|
|
2001
1949
|
else {
|
|
2002
1950
|
var d = We(e, r, s);
|
|
2003
1951
|
switch (i) {
|
|
@@ -2013,8 +1961,8 @@ function Ln(e, r, t) {
|
|
|
2013
1961
|
}
|
|
2014
1962
|
return n;
|
|
2015
1963
|
}
|
|
2016
|
-
var
|
|
2017
|
-
function
|
|
1964
|
+
var Yr = /label:\s*([^\s;{]+)\s*(;|$)/g, me;
|
|
1965
|
+
function Fn(e, r, t) {
|
|
2018
1966
|
if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
|
|
2019
1967
|
return e[0];
|
|
2020
1968
|
var n = !0, o = "";
|
|
@@ -2031,10 +1979,10 @@ function Wn(e, r, t) {
|
|
|
2031
1979
|
var f = i;
|
|
2032
1980
|
o += f[u];
|
|
2033
1981
|
}
|
|
2034
|
-
|
|
2035
|
-
for (var d = "", g; (g =
|
|
1982
|
+
Yr.lastIndex = 0;
|
|
1983
|
+
for (var d = "", g; (g = Yr.exec(o)) !== null; )
|
|
2036
1984
|
d += "-" + g[1];
|
|
2037
|
-
var p =
|
|
1985
|
+
var p = Nn(o) + d;
|
|
2038
1986
|
return {
|
|
2039
1987
|
name: p,
|
|
2040
1988
|
styles: o,
|
|
@@ -2042,13 +1990,13 @@ function Wn(e, r, t) {
|
|
|
2042
1990
|
};
|
|
2043
1991
|
}
|
|
2044
1992
|
/**
|
|
2045
|
-
* @mui/styled-engine v7.0
|
|
1993
|
+
* @mui/styled-engine v7.1.0
|
|
2046
1994
|
*
|
|
2047
1995
|
* @license MIT
|
|
2048
1996
|
* This source code is licensed under the MIT license found in the
|
|
2049
1997
|
* LICENSE file in the root directory of this source tree.
|
|
2050
1998
|
*/
|
|
2051
|
-
function
|
|
1999
|
+
function Ln(e, r) {
|
|
2052
2000
|
const t = St(e, r);
|
|
2053
2001
|
return process.env.NODE_ENV !== "production" ? (...n) => {
|
|
2054
2002
|
const o = typeof e == "string" ? `"${e}"` : "component";
|
|
@@ -2056,14 +2004,14 @@ function Yn(e, r) {
|
|
|
2056
2004
|
`)) : n.some((i) => i === void 0) && console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`), t(...n);
|
|
2057
2005
|
} : t;
|
|
2058
2006
|
}
|
|
2059
|
-
function
|
|
2007
|
+
function Wn(e, r) {
|
|
2060
2008
|
Array.isArray(e.__emotion_styles) && (e.__emotion_styles = r(e.__emotion_styles));
|
|
2061
2009
|
}
|
|
2062
|
-
const
|
|
2063
|
-
function
|
|
2064
|
-
return
|
|
2010
|
+
const Ur = [];
|
|
2011
|
+
function zr(e) {
|
|
2012
|
+
return Ur[0] = e, Fn(Ur);
|
|
2065
2013
|
}
|
|
2066
|
-
const
|
|
2014
|
+
const Yn = (e) => {
|
|
2067
2015
|
const r = Object.keys(e).map((t) => ({
|
|
2068
2016
|
key: t,
|
|
2069
2017
|
val: e[t]
|
|
@@ -2073,7 +2021,7 @@ const zn = (e) => {
|
|
|
2073
2021
|
[n.key]: n.val
|
|
2074
2022
|
}), {});
|
|
2075
2023
|
};
|
|
2076
|
-
function
|
|
2024
|
+
function Un(e) {
|
|
2077
2025
|
const {
|
|
2078
2026
|
// The breakpoint **start** at this value.
|
|
2079
2027
|
// For instance with the first breakpoint xs: [xs, sm).
|
|
@@ -2092,7 +2040,7 @@ function Gn(e) {
|
|
|
2092
2040
|
unit: t = "px",
|
|
2093
2041
|
step: n = 5,
|
|
2094
2042
|
...o
|
|
2095
|
-
} = e, i =
|
|
2043
|
+
} = e, i = Yn(r), s = Object.keys(i);
|
|
2096
2044
|
function u(m) {
|
|
2097
2045
|
return `@media (min-width:${typeof r[m] == "number" ? r[m] : m}${t})`;
|
|
2098
2046
|
}
|
|
@@ -2122,10 +2070,10 @@ function Gn(e) {
|
|
|
2122
2070
|
...o
|
|
2123
2071
|
};
|
|
2124
2072
|
}
|
|
2125
|
-
const
|
|
2073
|
+
const zn = {
|
|
2126
2074
|
borderRadius: 4
|
|
2127
2075
|
};
|
|
2128
|
-
function
|
|
2076
|
+
function ct(e = 8, r = Sr({
|
|
2129
2077
|
spacing: e
|
|
2130
2078
|
})) {
|
|
2131
2079
|
if (e.mui)
|
|
@@ -2136,7 +2084,7 @@ function lt(e = 8, r = Sr({
|
|
|
2136
2084
|
}).join(" "));
|
|
2137
2085
|
return t.mui = !0, t;
|
|
2138
2086
|
}
|
|
2139
|
-
function
|
|
2087
|
+
function Gn(e, r) {
|
|
2140
2088
|
var n;
|
|
2141
2089
|
const t = this;
|
|
2142
2090
|
if (t.vars) {
|
|
@@ -2149,14 +2097,14 @@ function Kn(e, r) {
|
|
|
2149
2097
|
}
|
|
2150
2098
|
return t.palette.mode === e ? r : {};
|
|
2151
2099
|
}
|
|
2152
|
-
function
|
|
2100
|
+
function ut(e = {}, ...r) {
|
|
2153
2101
|
const {
|
|
2154
2102
|
breakpoints: t = {},
|
|
2155
2103
|
palette: n = {},
|
|
2156
2104
|
spacing: o,
|
|
2157
2105
|
shape: i = {},
|
|
2158
2106
|
...s
|
|
2159
|
-
} = e, u =
|
|
2107
|
+
} = e, u = Un(t), f = ct(o);
|
|
2160
2108
|
let d = oe({
|
|
2161
2109
|
breakpoints: u,
|
|
2162
2110
|
direction: "ltr",
|
|
@@ -2168,11 +2116,11 @@ function ft(e = {}, ...r) {
|
|
|
2168
2116
|
},
|
|
2169
2117
|
spacing: f,
|
|
2170
2118
|
shape: {
|
|
2171
|
-
...
|
|
2119
|
+
...zn,
|
|
2172
2120
|
...i
|
|
2173
2121
|
}
|
|
2174
2122
|
}, s);
|
|
2175
|
-
return d =
|
|
2123
|
+
return d = Yt(d), d.applyStyles = Gn, d = r.reduce((g, p) => oe(g, p), d), d.unstable_sxConfig = {
|
|
2176
2124
|
...er,
|
|
2177
2125
|
...s == null ? void 0 : s.unstable_sxConfig
|
|
2178
2126
|
}, d.unstable_sx = function(p) {
|
|
@@ -2182,20 +2130,68 @@ function ft(e = {}, ...r) {
|
|
|
2182
2130
|
});
|
|
2183
2131
|
}, d;
|
|
2184
2132
|
}
|
|
2133
|
+
const qn = {
|
|
2134
|
+
active: "active",
|
|
2135
|
+
checked: "checked",
|
|
2136
|
+
completed: "completed",
|
|
2137
|
+
disabled: "disabled",
|
|
2138
|
+
error: "error",
|
|
2139
|
+
expanded: "expanded",
|
|
2140
|
+
focused: "focused",
|
|
2141
|
+
focusVisible: "focusVisible",
|
|
2142
|
+
open: "open",
|
|
2143
|
+
readOnly: "readOnly",
|
|
2144
|
+
required: "required",
|
|
2145
|
+
selected: "selected"
|
|
2146
|
+
};
|
|
2147
|
+
function lt(e, r, t = "Mui") {
|
|
2148
|
+
const n = qn[r];
|
|
2149
|
+
return n ? `${t}-${n}` : `${Dt.generate(e)}-${r}`;
|
|
2150
|
+
}
|
|
2151
|
+
function oi(e, r, t = "Mui") {
|
|
2152
|
+
const n = {};
|
|
2153
|
+
return r.forEach((o) => {
|
|
2154
|
+
n[o] = lt(e, o, t);
|
|
2155
|
+
}), n;
|
|
2156
|
+
}
|
|
2157
|
+
function ft(e, r = "") {
|
|
2158
|
+
return e.displayName || e.name || r;
|
|
2159
|
+
}
|
|
2160
|
+
function Gr(e, r, t) {
|
|
2161
|
+
const n = ft(r);
|
|
2162
|
+
return e.displayName || (n !== "" ? `${t}(${n})` : t);
|
|
2163
|
+
}
|
|
2164
|
+
function Kn(e) {
|
|
2165
|
+
if (e != null) {
|
|
2166
|
+
if (typeof e == "string")
|
|
2167
|
+
return e;
|
|
2168
|
+
if (typeof e == "function")
|
|
2169
|
+
return ft(e, "Component");
|
|
2170
|
+
if (typeof e == "object")
|
|
2171
|
+
switch (e.$$typeof) {
|
|
2172
|
+
case Fe.ForwardRef:
|
|
2173
|
+
return Gr(e, e.render, "ForwardRef");
|
|
2174
|
+
case Fe.Memo:
|
|
2175
|
+
return Gr(e, e.type, "memo");
|
|
2176
|
+
default:
|
|
2177
|
+
return;
|
|
2178
|
+
}
|
|
2179
|
+
}
|
|
2180
|
+
}
|
|
2185
2181
|
function dt(e) {
|
|
2186
2182
|
const {
|
|
2187
2183
|
variants: r,
|
|
2188
2184
|
...t
|
|
2189
2185
|
} = e, n = {
|
|
2190
2186
|
variants: r,
|
|
2191
|
-
style:
|
|
2187
|
+
style: zr(t),
|
|
2192
2188
|
isProcessed: !0
|
|
2193
2189
|
};
|
|
2194
2190
|
return n.style === t || r && r.forEach((o) => {
|
|
2195
|
-
typeof o.style != "function" && (o.style =
|
|
2191
|
+
typeof o.style != "function" && (o.style = zr(o.style));
|
|
2196
2192
|
}), n;
|
|
2197
2193
|
}
|
|
2198
|
-
const Hn =
|
|
2194
|
+
const Hn = ut();
|
|
2199
2195
|
function ur(e) {
|
|
2200
2196
|
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
2201
2197
|
}
|
|
@@ -2259,7 +2255,7 @@ function Jn(e = {}) {
|
|
|
2259
2255
|
Xn(u, r, t);
|
|
2260
2256
|
}
|
|
2261
2257
|
return (u, f = {}) => {
|
|
2262
|
-
|
|
2258
|
+
Wn(u, (h) => h.filter((j) => j !== xe));
|
|
2263
2259
|
const {
|
|
2264
2260
|
name: d,
|
|
2265
2261
|
slot: g,
|
|
@@ -2276,7 +2272,7 @@ function Jn(e = {}) {
|
|
|
2276
2272
|
), w = m || !1;
|
|
2277
2273
|
let $ = ur;
|
|
2278
2274
|
g === "Root" || g === "root" ? $ = n : g ? $ = o : to(u) && ($ = void 0);
|
|
2279
|
-
const H =
|
|
2275
|
+
const H = Ln(u, {
|
|
2280
2276
|
shouldForwardProp: $,
|
|
2281
2277
|
label: eo(d, g),
|
|
2282
2278
|
...b
|
|
@@ -2319,7 +2315,7 @@ function Jn(e = {}) {
|
|
|
2319
2315
|
};
|
|
2320
2316
|
}
|
|
2321
2317
|
function Zn(e, r, t) {
|
|
2322
|
-
return e ? `${e}${vr(r || "")}` : `Styled(${
|
|
2318
|
+
return e ? `${e}${vr(r || "")}` : `Styled(${Kn(t)})`;
|
|
2323
2319
|
}
|
|
2324
2320
|
function eo(e, r) {
|
|
2325
2321
|
let t;
|
|
@@ -3056,7 +3052,7 @@ function mr(e = {}, ...r) {
|
|
|
3056
3052
|
// `generateThemeVars` is the closest identifier for checking that the `options` is a result of `createTheme` with CSS variables so that user can create new theme for nested ThemeProvider.
|
|
3057
3053
|
e.generateThemeVars === void 0)
|
|
3058
3054
|
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature." : ge(20));
|
|
3059
|
-
const g = Cr(i), p =
|
|
3055
|
+
const g = Cr(i), p = ut(e);
|
|
3060
3056
|
let m = oe(p, {
|
|
3061
3057
|
mixins: Co(p.breakpoints, n),
|
|
3062
3058
|
palette: g,
|
|
@@ -3075,7 +3071,7 @@ function mr(e = {}, ...r) {
|
|
|
3075
3071
|
const H = c[$];
|
|
3076
3072
|
if (S.includes($) && Object.keys(H).length > 0) {
|
|
3077
3073
|
if (process.env.NODE_ENV !== "production") {
|
|
3078
|
-
const x =
|
|
3074
|
+
const x = lt("", $);
|
|
3079
3075
|
console.error([`MUI: The \`${w}\` component increases the CSS specificity of the \`${$}\` internal state.`, "You can not override it like this: ", JSON.stringify(c, null, 2), "", `Instead, you need to use the '&.${x}' syntax:`, JSON.stringify({
|
|
3080
3076
|
root: {
|
|
3081
3077
|
[`&.${x}`]: H
|
|
@@ -3316,7 +3312,7 @@ function Uo(e = {}, ...r) {
|
|
|
3316
3312
|
return T.vars = j, Object.entries(T.colorSchemes[T.defaultColorScheme]).forEach(([Z, a]) => {
|
|
3317
3313
|
T[Z] = a;
|
|
3318
3314
|
}), T.generateThemeVars = X, T.generateStyleSheets = J, T.generateSpacing = function() {
|
|
3319
|
-
return
|
|
3315
|
+
return ct(d.spacing, Sr(this));
|
|
3320
3316
|
}, T.getColorSchemeSelector = fo(u), T.spacing = T.generateSpacing(), T.shouldSkipGeneratingVar = s, T.unstable_sxConfig = {
|
|
3321
3317
|
...er,
|
|
3322
3318
|
...d == null ? void 0 : d.unstable_sxConfig
|
|
@@ -3385,15 +3381,20 @@ const Go = zo(), qo = "$$material";
|
|
|
3385
3381
|
function Ko(e) {
|
|
3386
3382
|
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
3387
3383
|
}
|
|
3388
|
-
const Ho = (e) => Ko(e) && e !== "classes",
|
|
3384
|
+
const Ho = (e) => Ko(e) && e !== "classes", ii = Jn({
|
|
3389
3385
|
themeId: qo,
|
|
3390
3386
|
defaultTheme: Go,
|
|
3391
3387
|
rootShouldForwardProp: Ho
|
|
3392
|
-
}),
|
|
3388
|
+
}), ai = ao;
|
|
3393
3389
|
process.env.NODE_ENV !== "production" && (fe.node, fe.object.isRequired);
|
|
3394
|
-
function
|
|
3390
|
+
function si(e) {
|
|
3395
3391
|
return io(e);
|
|
3396
3392
|
}
|
|
3393
|
+
function ci(e, r) {
|
|
3394
|
+
return process.env.NODE_ENV === "production" ? () => null : function(...n) {
|
|
3395
|
+
return e(...n) || r(...n);
|
|
3396
|
+
};
|
|
3397
|
+
}
|
|
3397
3398
|
function Qo(e) {
|
|
3398
3399
|
return typeof e.main == "string";
|
|
3399
3400
|
}
|
|
@@ -3411,30 +3412,30 @@ function ui(e = []) {
|
|
|
3411
3412
|
export {
|
|
3412
3413
|
Fe as A,
|
|
3413
3414
|
Ko as B,
|
|
3414
|
-
|
|
3415
|
+
Dt as C,
|
|
3415
3416
|
fe as P,
|
|
3416
3417
|
qo as T,
|
|
3417
|
-
|
|
3418
|
+
oi as a,
|
|
3418
3419
|
vr as b,
|
|
3419
3420
|
ti as c,
|
|
3420
3421
|
ni as d,
|
|
3421
3422
|
ui as e,
|
|
3422
|
-
|
|
3423
|
-
|
|
3423
|
+
ci as f,
|
|
3424
|
+
lt as g,
|
|
3424
3425
|
Ho as h,
|
|
3425
3426
|
It as i,
|
|
3426
3427
|
de as j,
|
|
3427
3428
|
er as k,
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3429
|
+
ut as l,
|
|
3430
|
+
ai as m,
|
|
3431
|
+
Ln as n,
|
|
3431
3432
|
xe as o,
|
|
3432
3433
|
zo as p,
|
|
3433
3434
|
Jn as q,
|
|
3434
3435
|
dr as r,
|
|
3435
|
-
|
|
3436
|
+
ii as s,
|
|
3436
3437
|
Go as t,
|
|
3437
|
-
|
|
3438
|
+
si as u,
|
|
3438
3439
|
Mo as v,
|
|
3439
3440
|
yr as w,
|
|
3440
3441
|
br as x,
|