jcicl 0.0.118 → 0.0.120
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/.chunks/ButtonBase.js +1 -1
- package/.chunks/DefaultPropsProvider.js +74 -76
- package/.chunks/Input.js +314 -301
- package/.chunks/Portal.js +15 -15
- package/.chunks/TransitionGroupContext.js +6 -6
- package/AppContainer/AppContainer.d.ts +8 -3
- package/AppContainer/AppContainer.js +633 -1270
- package/AppHeader/AppHeader.d.ts +5 -0
- package/AppHeader/AppHeader.js +110 -99
- package/Avatar/index.d.ts +1 -1
- package/Input/Input.d.ts +3 -0
- package/Nav/Nav.d.ts +3 -12
- package/Nav/Nav.js +87 -46
- package/Nav/index.d.ts +1 -1
- package/ScrollContainer/ScrollContainer.d.ts +1 -0
- package/ScrollContainer/ScrollContainer.js +216 -213
- package/Tooltip/Tooltip.js +1 -1
- package/package.json +1 -1
- package/theme.d.ts +15 -0
- package/theme.js +3 -2
package/.chunks/ButtonBase.js
CHANGED
|
@@ -6,7 +6,7 @@ import W, { Children as Oe, isValidElement as G, cloneElement as J } from "react
|
|
|
6
6
|
import { P as e, b as E, a as fe, s as te, u as de, g as je, d as Fe } from "./DefaultPropsProvider.js";
|
|
7
7
|
import { jsx as I, jsxs as $e } from "react/jsx-runtime";
|
|
8
8
|
import { k as ne } from "./emotion-react.browser.esm.js";
|
|
9
|
-
import {
|
|
9
|
+
import { b as Ie, _ as Ue, c as ze, T as ue, d as _e, a as ce, e as H, r as Xe } from "./TransitionGroupContext.js";
|
|
10
10
|
import { _ as Ye } from "./emotion-styled.browser.esm.js";
|
|
11
11
|
import { e as Ae } from "./elementTypeAcceptingRef.js";
|
|
12
12
|
import { i as pe } from "./isFocusVisible.js";
|
|
@@ -26,11 +26,10 @@ function ie(e, r, t = {
|
|
|
26
26
|
Object.prototype.hasOwnProperty.call(e, o) && pe(e[o]) ? n[o] = ie(e[o], r[o], t) : t.clone ? n[o] = pe(r[o]) ? Hr(r[o]) : r[o] : n[o] = r[o];
|
|
27
27
|
}), n;
|
|
28
28
|
}
|
|
29
|
-
var No = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
30
29
|
function ft(e) {
|
|
31
30
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
32
31
|
}
|
|
33
|
-
var cr = { exports: {} },
|
|
32
|
+
var cr = { exports: {} }, De = { exports: {} }, V = {};
|
|
34
33
|
/** @license React v16.13.1
|
|
35
34
|
* react-is.production.min.js
|
|
36
35
|
*
|
|
@@ -154,7 +153,7 @@ function pt() {
|
|
|
154
153
|
}
|
|
155
154
|
}
|
|
156
155
|
}
|
|
157
|
-
var d = l, B = f, X = c, Z = s, ee = r, i = y, C = n, x = T,
|
|
156
|
+
var d = l, B = f, X = c, Z = s, ee = r, i = y, C = n, x = T, j = E, q = t, te = a, re = o, ae = m, le = !1;
|
|
158
157
|
function ve(v) {
|
|
159
158
|
return le || (le = !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.")), h(v) || w(v) === l;
|
|
160
159
|
}
|
|
@@ -188,18 +187,18 @@ function pt() {
|
|
|
188
187
|
function F(v) {
|
|
189
188
|
return w(v) === a;
|
|
190
189
|
}
|
|
191
|
-
function
|
|
190
|
+
function D(v) {
|
|
192
191
|
return w(v) === o;
|
|
193
192
|
}
|
|
194
193
|
function ne(v) {
|
|
195
194
|
return w(v) === m;
|
|
196
195
|
}
|
|
197
|
-
L.AsyncMode = d, L.ConcurrentMode = B, L.ContextConsumer = X, L.ContextProvider = Z, L.Element = ee, L.ForwardRef = i, L.Fragment = C, L.Lazy = x, L.Memo =
|
|
196
|
+
L.AsyncMode = d, L.ConcurrentMode = B, L.ContextConsumer = X, L.ContextProvider = Z, L.Element = ee, L.ForwardRef = i, L.Fragment = C, L.Lazy = x, L.Memo = j, L.Portal = q, L.Profiler = te, L.StrictMode = re, L.Suspense = ae, L.isAsyncMode = ve, L.isConcurrentMode = h, L.isContextConsumer = S, L.isContextProvider = I, L.isElement = R, L.isForwardRef = _, L.isFragment = M, L.isLazy = P, L.isMemo = k, L.isPortal = N, L.isProfiler = F, L.isStrictMode = D, L.isSuspense = ne, L.isValidElementType = A, L.typeOf = w;
|
|
198
197
|
}()), L;
|
|
199
198
|
}
|
|
200
199
|
var wr;
|
|
201
200
|
function Qr() {
|
|
202
|
-
return wr || (wr = 1, process.env.NODE_ENV === "production" ?
|
|
201
|
+
return wr || (wr = 1, process.env.NODE_ENV === "production" ? De.exports = dt() : De.exports = pt()), De.exports;
|
|
203
202
|
}
|
|
204
203
|
/*
|
|
205
204
|
object-assign
|
|
@@ -355,7 +354,7 @@ function yt() {
|
|
|
355
354
|
oneOf: X,
|
|
356
355
|
oneOfType: ee,
|
|
357
356
|
shape: x,
|
|
358
|
-
exact:
|
|
357
|
+
exact: j
|
|
359
358
|
};
|
|
360
359
|
function T(h, S) {
|
|
361
360
|
return h === S ? h !== 0 || 1 / h === 1 / S : h !== h && S !== S;
|
|
@@ -367,8 +366,8 @@ function yt() {
|
|
|
367
366
|
function p(h) {
|
|
368
367
|
if (process.env.NODE_ENV !== "production")
|
|
369
368
|
var S = {}, I = 0;
|
|
370
|
-
function R(M, P, k, N, F,
|
|
371
|
-
if (N = N || g,
|
|
369
|
+
function R(M, P, k, N, F, D, ne) {
|
|
370
|
+
if (N = N || g, D = D || k, ne !== t) {
|
|
372
371
|
if (l) {
|
|
373
372
|
var v = new Error(
|
|
374
373
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
@@ -378,11 +377,11 @@ function yt() {
|
|
|
378
377
|
var se = N + ":" + k;
|
|
379
378
|
!S[se] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
380
379
|
I < 3 && (a(
|
|
381
|
-
"You are manually calling a React.PropTypes validation function for the `" +
|
|
380
|
+
"You are manually calling a React.PropTypes validation function for the `" + D + "` prop on `" + N + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
382
381
|
), S[se] = !0, I++);
|
|
383
382
|
}
|
|
384
383
|
}
|
|
385
|
-
return P[k] == null ? M ? P[k] === null ? new b("The " + F + " `" +
|
|
384
|
+
return P[k] == null ? M ? P[k] === null ? new b("The " + F + " `" + D + "` is marked as required " + ("in `" + N + "`, but its value is `null`.")) : new b("The " + F + " `" + D + "` is marked as required in " + ("`" + N + "`, but its value is `undefined`.")) : null : h(P, k, N, F, D);
|
|
386
385
|
}
|
|
387
386
|
var _ = R.bind(null, !1);
|
|
388
387
|
return _.isRequired = R.bind(null, !0), _;
|
|
@@ -391,9 +390,9 @@ function yt() {
|
|
|
391
390
|
function S(I, R, _, M, P, k) {
|
|
392
391
|
var N = I[R], F = re(N);
|
|
393
392
|
if (F !== h) {
|
|
394
|
-
var
|
|
393
|
+
var D = ae(N);
|
|
395
394
|
return new b(
|
|
396
|
-
"Invalid " + M + " `" + P + "` of type " + ("`" +
|
|
395
|
+
"Invalid " + M + " `" + P + "` of type " + ("`" + D + "` supplied to `" + _ + "`, expected ") + ("`" + h + "`."),
|
|
397
396
|
{ expectedType: h }
|
|
398
397
|
);
|
|
399
398
|
}
|
|
@@ -414,9 +413,9 @@ function yt() {
|
|
|
414
413
|
return new b("Invalid " + M + " `" + P + "` of type " + ("`" + N + "` supplied to `" + _ + "`, expected an array."));
|
|
415
414
|
}
|
|
416
415
|
for (var F = 0; F < k.length; F++) {
|
|
417
|
-
var
|
|
418
|
-
if (
|
|
419
|
-
return
|
|
416
|
+
var D = h(k, F, _, M, P + "[" + F + "]", t);
|
|
417
|
+
if (D instanceof Error)
|
|
418
|
+
return D;
|
|
420
419
|
}
|
|
421
420
|
return null;
|
|
422
421
|
}
|
|
@@ -480,9 +479,9 @@ function yt() {
|
|
|
480
479
|
return new b("Invalid " + M + " `" + P + "` of type " + ("`" + N + "` supplied to `" + _ + "`, expected an object."));
|
|
481
480
|
for (var F in k)
|
|
482
481
|
if (n(k, F)) {
|
|
483
|
-
var
|
|
484
|
-
if (
|
|
485
|
-
return
|
|
482
|
+
var D = h(k, F, _, M, P + "." + F, t);
|
|
483
|
+
if (D instanceof Error)
|
|
484
|
+
return D;
|
|
486
485
|
}
|
|
487
486
|
return null;
|
|
488
487
|
}
|
|
@@ -499,8 +498,8 @@ function yt() {
|
|
|
499
498
|
), s;
|
|
500
499
|
}
|
|
501
500
|
function R(_, M, P, k, N) {
|
|
502
|
-
for (var F = [],
|
|
503
|
-
var ne = h[
|
|
501
|
+
for (var F = [], D = 0; D < h.length; D++) {
|
|
502
|
+
var ne = h[D], v = ne(_, M, P, k, N, t);
|
|
504
503
|
if (v == null)
|
|
505
504
|
return null;
|
|
506
505
|
v.data && n(v.data, "expectedType") && F.push(v.data.expectedType);
|
|
@@ -527,10 +526,10 @@ function yt() {
|
|
|
527
526
|
if (N !== "object")
|
|
528
527
|
return new b("Invalid " + M + " `" + P + "` of type `" + N + "` " + ("supplied to `" + _ + "`, expected `object`."));
|
|
529
528
|
for (var F in h) {
|
|
530
|
-
var
|
|
531
|
-
if (typeof
|
|
532
|
-
return C(_, M, P, F, ae(
|
|
533
|
-
var ne =
|
|
529
|
+
var D = h[F];
|
|
530
|
+
if (typeof D != "function")
|
|
531
|
+
return C(_, M, P, F, ae(D));
|
|
532
|
+
var ne = D(k, F, _, M, P + "." + F, t);
|
|
534
533
|
if (ne)
|
|
535
534
|
return ne;
|
|
536
535
|
}
|
|
@@ -538,22 +537,22 @@ function yt() {
|
|
|
538
537
|
}
|
|
539
538
|
return p(S);
|
|
540
539
|
}
|
|
541
|
-
function
|
|
540
|
+
function j(h) {
|
|
542
541
|
function S(I, R, _, M, P) {
|
|
543
542
|
var k = I[R], N = re(k);
|
|
544
543
|
if (N !== "object")
|
|
545
544
|
return new b("Invalid " + M + " `" + P + "` of type `" + N + "` " + ("supplied to `" + _ + "`, expected `object`."));
|
|
546
545
|
var F = r({}, I[R], h);
|
|
547
|
-
for (var
|
|
548
|
-
var ne = h[
|
|
549
|
-
if (n(h,
|
|
550
|
-
return C(_, M, P,
|
|
546
|
+
for (var D in F) {
|
|
547
|
+
var ne = h[D];
|
|
548
|
+
if (n(h, D) && typeof ne != "function")
|
|
549
|
+
return C(_, M, P, D, ae(ne));
|
|
551
550
|
if (!ne)
|
|
552
551
|
return new b(
|
|
553
|
-
"Invalid " + M + " `" + P + "` key `" +
|
|
552
|
+
"Invalid " + M + " `" + P + "` key `" + D + "` supplied to `" + _ + "`.\nBad object: " + JSON.stringify(I[R], null, " ") + `
|
|
554
553
|
Valid keys: ` + JSON.stringify(Object.keys(h), null, " ")
|
|
555
554
|
);
|
|
556
|
-
var v = ne(k,
|
|
555
|
+
var v = ne(k, D, _, M, P + "." + D, t);
|
|
557
556
|
if (v)
|
|
558
557
|
return v;
|
|
559
558
|
}
|
|
@@ -824,7 +823,7 @@ function Et() {
|
|
|
824
823
|
}
|
|
825
824
|
}
|
|
826
825
|
}
|
|
827
|
-
var B = s, X = a, Z = e, ee = l, i = t, C = g, x = m,
|
|
826
|
+
var B = s, X = a, Z = e, ee = l, i = t, C = g, x = m, j = r, q = o, te = n, re = f, ae = y, le = !1, ve = !1;
|
|
828
827
|
function h($) {
|
|
829
828
|
return le || (le = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
830
829
|
}
|
|
@@ -855,7 +854,7 @@ function Et() {
|
|
|
855
854
|
function F($) {
|
|
856
855
|
return d($) === r;
|
|
857
856
|
}
|
|
858
|
-
function
|
|
857
|
+
function D($) {
|
|
859
858
|
return d($) === o;
|
|
860
859
|
}
|
|
861
860
|
function ne($) {
|
|
@@ -867,7 +866,7 @@ function Et() {
|
|
|
867
866
|
function se($) {
|
|
868
867
|
return d($) === y;
|
|
869
868
|
}
|
|
870
|
-
U.ContextConsumer = B, U.ContextProvider = X, U.Element = Z, U.ForwardRef = ee, U.Fragment = i, U.Lazy = C, U.Memo = x, U.Portal =
|
|
869
|
+
U.ContextConsumer = B, U.ContextProvider = X, U.Element = Z, U.ForwardRef = ee, U.Fragment = i, U.Lazy = C, U.Memo = x, U.Portal = j, U.Profiler = q, U.StrictMode = te, U.Suspense = re, U.SuspenseList = ae, U.isAsyncMode = h, U.isConcurrentMode = S, U.isContextConsumer = I, U.isContextProvider = R, U.isElement = _, U.isForwardRef = M, U.isFragment = P, U.isLazy = k, U.isMemo = N, U.isPortal = F, U.isProfiler = D, U.isStrictMode = ne, U.isSuspense = v, U.isSuspenseList = se, U.isValidElementType = w, U.typeOf = d;
|
|
871
870
|
}()), U;
|
|
872
871
|
}
|
|
873
872
|
process.env.NODE_ENV === "production" ? ur.exports = Ct() : ur.exports = Et();
|
|
@@ -933,7 +932,7 @@ function lr(e, r) {
|
|
|
933
932
|
}
|
|
934
933
|
return t;
|
|
935
934
|
}
|
|
936
|
-
function
|
|
935
|
+
function No(e, r, t = void 0) {
|
|
937
936
|
const n = {};
|
|
938
937
|
for (const o in e) {
|
|
939
938
|
const a = e[o];
|
|
@@ -995,7 +994,7 @@ function et(e) {
|
|
|
995
994
|
} else for (t in e) e[t] && (n && (n += " "), n += t);
|
|
996
995
|
return n;
|
|
997
996
|
}
|
|
998
|
-
function
|
|
997
|
+
function jo() {
|
|
999
998
|
for (var e, r, t = 0, n = "", o = arguments.length; t < o; t++) (e = arguments[t]) && (r = et(e)) && (n && (n += " "), n += r);
|
|
1000
999
|
return n;
|
|
1001
1000
|
}
|
|
@@ -1060,7 +1059,7 @@ const Le = {
|
|
|
1060
1059
|
// desktop
|
|
1061
1060
|
xl: 1536
|
|
1062
1061
|
// large screen
|
|
1063
|
-
},
|
|
1062
|
+
}, Dr = {
|
|
1064
1063
|
// Sorted ASC by size. That's important.
|
|
1065
1064
|
// It can't be configured as it's used statically for propTypes.
|
|
1066
1065
|
keys: ["xs", "sm", "md", "lg", "xl"],
|
|
@@ -1076,11 +1075,11 @@ const Le = {
|
|
|
1076
1075
|
function ge(e, r, t) {
|
|
1077
1076
|
const n = e.theme || {};
|
|
1078
1077
|
if (Array.isArray(r)) {
|
|
1079
|
-
const a = n.breakpoints ||
|
|
1078
|
+
const a = n.breakpoints || Dr;
|
|
1080
1079
|
return r.reduce((s, c, l) => (s[a.up(a.keys[l])] = t(r[l]), s), {});
|
|
1081
1080
|
}
|
|
1082
1081
|
if (typeof r == "object") {
|
|
1083
|
-
const a = n.breakpoints ||
|
|
1082
|
+
const a = n.breakpoints || Dr;
|
|
1084
1083
|
return Object.keys(r).reduce((s, c) => {
|
|
1085
1084
|
if (_t(a.keys, c)) {
|
|
1086
1085
|
const l = Pt(n.containerQueries ? n : kt, c);
|
|
@@ -1149,28 +1148,28 @@ function Nt(e) {
|
|
|
1149
1148
|
const r = {};
|
|
1150
1149
|
return (t) => (r[t] === void 0 && (r[t] = e(t)), r[t]);
|
|
1151
1150
|
}
|
|
1152
|
-
const
|
|
1151
|
+
const Dt = {
|
|
1153
1152
|
m: "margin",
|
|
1154
1153
|
p: "padding"
|
|
1155
|
-
},
|
|
1154
|
+
}, jt = {
|
|
1156
1155
|
t: "Top",
|
|
1157
1156
|
r: "Right",
|
|
1158
1157
|
b: "Bottom",
|
|
1159
1158
|
l: "Left",
|
|
1160
1159
|
x: ["Left", "Right"],
|
|
1161
1160
|
y: ["Top", "Bottom"]
|
|
1162
|
-
},
|
|
1161
|
+
}, jr = {
|
|
1163
1162
|
marginX: "mx",
|
|
1164
1163
|
marginY: "my",
|
|
1165
1164
|
paddingX: "px",
|
|
1166
1165
|
paddingY: "py"
|
|
1167
1166
|
}, Bt = Nt((e) => {
|
|
1168
1167
|
if (e.length > 2)
|
|
1169
|
-
if (
|
|
1170
|
-
e =
|
|
1168
|
+
if (jr[e])
|
|
1169
|
+
e = jr[e];
|
|
1171
1170
|
else
|
|
1172
1171
|
return [e];
|
|
1173
|
-
const [r, t] = e.split(""), n =
|
|
1172
|
+
const [r, t] = e.split(""), n = Dt[r], o = jt[t] || "";
|
|
1174
1173
|
return Array.isArray(o) ? o.map((a) => n + a) : [n + o];
|
|
1175
1174
|
}), Ue = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], ze = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Ft = [...Ue, ...ze];
|
|
1176
1175
|
function Ie(e, r, t, n) {
|
|
@@ -1980,7 +1979,7 @@ function kn(e = {}) {
|
|
|
1980
1979
|
y && y !== "Root" && y !== "root" || !1
|
|
1981
1980
|
), p = g || !1;
|
|
1982
1981
|
let O = or;
|
|
1983
|
-
y === "Root" || y === "root" ? O = n : y ? O = o :
|
|
1982
|
+
y === "Root" || y === "root" ? O = n : y ? O = o : Dn(c) && (O = void 0);
|
|
1984
1983
|
const K = En(c, {
|
|
1985
1984
|
shouldForwardProp: O,
|
|
1986
1985
|
label: Mn(f, y),
|
|
@@ -2010,12 +2009,12 @@ function kn(e = {}) {
|
|
|
2010
2009
|
return E(x, te);
|
|
2011
2010
|
}), f && !b && Z.push(function(x) {
|
|
2012
2011
|
var te, re;
|
|
2013
|
-
const
|
|
2012
|
+
const j = x.theme, q = (re = (te = j == null ? void 0 : j.components) == null ? void 0 : te[f]) == null ? void 0 : re.variants;
|
|
2014
2013
|
return q ? ot(x, q) : null;
|
|
2015
2014
|
}), p || Z.push(Oe), Array.isArray(X[0])) {
|
|
2016
|
-
const C = X.shift(), x = new Array(B.length).fill(""),
|
|
2015
|
+
const C = X.shift(), x = new Array(B.length).fill(""), j = new Array(Z.length).fill("");
|
|
2017
2016
|
let q;
|
|
2018
|
-
q = [...x, ...C, ...
|
|
2017
|
+
q = [...x, ...C, ...j], q.raw = [...x, ...C.raw, ...j], B.unshift(q);
|
|
2019
2018
|
}
|
|
2020
2019
|
const ee = [...B, ...X, ...Z], i = K(...ee);
|
|
2021
2020
|
return c.muiName && (i.muiName = c.muiName), process.env.NODE_ENV !== "production" && (i.displayName = In(f, y, c)), i;
|
|
@@ -2035,7 +2034,7 @@ function Nn(e) {
|
|
|
2035
2034
|
return !1;
|
|
2036
2035
|
return !0;
|
|
2037
2036
|
}
|
|
2038
|
-
function
|
|
2037
|
+
function Dn(e) {
|
|
2039
2038
|
return typeof e == "string" && // 96 is one less than the char code
|
|
2040
2039
|
// for "a" so this is checking that
|
|
2041
2040
|
// it's a lowercase character
|
|
@@ -2047,7 +2046,7 @@ function it(e) {
|
|
|
2047
2046
|
function hr(e, r = 0, t = 1) {
|
|
2048
2047
|
return process.env.NODE_ENV !== "production" && (e < r || e > t) && console.error(`MUI: The value provided ${e} is out of range [${r}, ${t}].`), Ot(e, r, t);
|
|
2049
2048
|
}
|
|
2050
|
-
function
|
|
2049
|
+
function jn(e) {
|
|
2051
2050
|
e = e.slice(1);
|
|
2052
2051
|
const r = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
|
|
2053
2052
|
let t = e.match(r);
|
|
@@ -2057,7 +2056,7 @@ function he(e) {
|
|
|
2057
2056
|
if (e.type)
|
|
2058
2057
|
return e;
|
|
2059
2058
|
if (e.charAt(0) === "#")
|
|
2060
|
-
return he(
|
|
2059
|
+
return he(jn(e));
|
|
2061
2060
|
const r = e.indexOf("("), t = e.substring(0, r);
|
|
2062
2061
|
if (!["rgb", "rgba", "hsl", "hsla", "color"].includes(t))
|
|
2063
2062
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
|
|
@@ -2119,7 +2118,7 @@ function Vr(e, r) {
|
|
|
2119
2118
|
function Fn(e, r) {
|
|
2120
2119
|
return e = he(e), r = hr(r), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${r}` : e.values[3] = r, Xe(e);
|
|
2121
2120
|
}
|
|
2122
|
-
function
|
|
2121
|
+
function je(e, r, t) {
|
|
2123
2122
|
try {
|
|
2124
2123
|
return Fn(e, r);
|
|
2125
2124
|
} catch {
|
|
@@ -2342,15 +2341,15 @@ function Gn(e, r = {}) {
|
|
|
2342
2341
|
css: C
|
|
2343
2342
|
}]) => {
|
|
2344
2343
|
var q, te;
|
|
2345
|
-
const x = (te = (q = a[i]) == null ? void 0 : q.palette) == null ? void 0 : te.mode,
|
|
2344
|
+
const x = (te = (q = a[i]) == null ? void 0 : q.palette) == null ? void 0 : te.mode, j = !n && x ? {
|
|
2346
2345
|
colorScheme: x,
|
|
2347
2346
|
...C
|
|
2348
2347
|
} : {
|
|
2349
2348
|
...C
|
|
2350
2349
|
};
|
|
2351
2350
|
d(t(i, {
|
|
2352
|
-
...
|
|
2353
|
-
}),
|
|
2351
|
+
...j
|
|
2352
|
+
}), j);
|
|
2354
2353
|
}), A;
|
|
2355
2354
|
}
|
|
2356
2355
|
};
|
|
@@ -3149,22 +3148,22 @@ function Oo(e = {}, ...r) {
|
|
|
3149
3148
|
};
|
|
3150
3149
|
Object.keys(w.colorSchemes).forEach((ee) => {
|
|
3151
3150
|
const i = w.colorSchemes[ee].palette, C = (x) => {
|
|
3152
|
-
const
|
|
3151
|
+
const j = x.split("-"), q = j[1], te = j[2];
|
|
3153
3152
|
return g(x, i[q][te]);
|
|
3154
3153
|
};
|
|
3155
3154
|
if (i.mode === "light" && (u(i.common, "background", "#fff"), u(i.common, "onBackground", "#000")), i.mode === "dark" && (u(i.common, "background", "#000"), u(i.common, "onBackground", "#fff")), wo(i, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), i.mode === "light") {
|
|
3156
3155
|
u(i.Alert, "errorColor", z(i.error.light, 0.6)), u(i.Alert, "infoColor", z(i.info.light, 0.6)), u(i.Alert, "successColor", z(i.success.light, 0.6)), u(i.Alert, "warningColor", z(i.warning.light, 0.6)), u(i.Alert, "errorFilledBg", C("palette-error-main")), u(i.Alert, "infoFilledBg", C("palette-info-main")), u(i.Alert, "successFilledBg", C("palette-success-main")), u(i.Alert, "warningFilledBg", C("palette-warning-main")), u(i.Alert, "errorFilledColor", fe(() => i.getContrastText(i.error.main))), u(i.Alert, "infoFilledColor", fe(() => i.getContrastText(i.info.main))), u(i.Alert, "successFilledColor", fe(() => i.getContrastText(i.success.main))), u(i.Alert, "warningFilledColor", fe(() => i.getContrastText(i.warning.main))), u(i.Alert, "errorStandardBg", Y(i.error.light, 0.9)), u(i.Alert, "infoStandardBg", Y(i.info.light, 0.9)), u(i.Alert, "successStandardBg", Y(i.success.light, 0.9)), u(i.Alert, "warningStandardBg", Y(i.warning.light, 0.9)), u(i.Alert, "errorIconColor", C("palette-error-main")), u(i.Alert, "infoIconColor", C("palette-info-main")), u(i.Alert, "successIconColor", C("palette-success-main")), u(i.Alert, "warningIconColor", C("palette-warning-main")), u(i.AppBar, "defaultBg", C("palette-grey-100")), u(i.Avatar, "defaultBg", C("palette-grey-400")), u(i.Button, "inheritContainedBg", C("palette-grey-300")), u(i.Button, "inheritContainedHoverBg", C("palette-grey-A100")), u(i.Chip, "defaultBorder", C("palette-grey-400")), u(i.Chip, "defaultAvatarColor", C("palette-grey-700")), u(i.Chip, "defaultIconColor", C("palette-grey-700")), u(i.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), u(i.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), u(i.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), u(i.LinearProgress, "primaryBg", Y(i.primary.main, 0.62)), u(i.LinearProgress, "secondaryBg", Y(i.secondary.main, 0.62)), u(i.LinearProgress, "errorBg", Y(i.error.main, 0.62)), u(i.LinearProgress, "infoBg", Y(i.info.main, 0.62)), u(i.LinearProgress, "successBg", Y(i.success.main, 0.62)), u(i.LinearProgress, "warningBg", Y(i.warning.main, 0.62)), u(i.Skeleton, "bg", `rgba(${C("palette-text-primaryChannel")} / 0.11)`), u(i.Slider, "primaryTrack", Y(i.primary.main, 0.62)), u(i.Slider, "secondaryTrack", Y(i.secondary.main, 0.62)), u(i.Slider, "errorTrack", Y(i.error.main, 0.62)), u(i.Slider, "infoTrack", Y(i.info.main, 0.62)), u(i.Slider, "successTrack", Y(i.success.main, 0.62)), u(i.Slider, "warningTrack", Y(i.warning.main, 0.62));
|
|
3157
3156
|
const x = Be(i.background.default, 0.8);
|
|
3158
|
-
u(i.SnackbarContent, "bg", x), u(i.SnackbarContent, "color", fe(() => i.getContrastText(x))), u(i.SpeedDialAction, "fabHoverBg", Be(i.background.paper, 0.15)), u(i.StepConnector, "border", C("palette-grey-400")), u(i.StepContent, "border", C("palette-grey-400")), u(i.Switch, "defaultColor", C("palette-common-white")), u(i.Switch, "defaultDisabledColor", C("palette-grey-100")), u(i.Switch, "primaryDisabledColor", Y(i.primary.main, 0.62)), u(i.Switch, "secondaryDisabledColor", Y(i.secondary.main, 0.62)), u(i.Switch, "errorDisabledColor", Y(i.error.main, 0.62)), u(i.Switch, "infoDisabledColor", Y(i.info.main, 0.62)), u(i.Switch, "successDisabledColor", Y(i.success.main, 0.62)), u(i.Switch, "warningDisabledColor", Y(i.warning.main, 0.62)), u(i.TableCell, "border", Y(
|
|
3157
|
+
u(i.SnackbarContent, "bg", x), u(i.SnackbarContent, "color", fe(() => i.getContrastText(x))), u(i.SpeedDialAction, "fabHoverBg", Be(i.background.paper, 0.15)), u(i.StepConnector, "border", C("palette-grey-400")), u(i.StepContent, "border", C("palette-grey-400")), u(i.Switch, "defaultColor", C("palette-common-white")), u(i.Switch, "defaultDisabledColor", C("palette-grey-100")), u(i.Switch, "primaryDisabledColor", Y(i.primary.main, 0.62)), u(i.Switch, "secondaryDisabledColor", Y(i.secondary.main, 0.62)), u(i.Switch, "errorDisabledColor", Y(i.error.main, 0.62)), u(i.Switch, "infoDisabledColor", Y(i.info.main, 0.62)), u(i.Switch, "successDisabledColor", Y(i.success.main, 0.62)), u(i.Switch, "warningDisabledColor", Y(i.warning.main, 0.62)), u(i.TableCell, "border", Y(je(i.divider, 1), 0.88)), u(i.Tooltip, "bg", je(i.grey[700], 0.92));
|
|
3159
3158
|
}
|
|
3160
3159
|
if (i.mode === "dark") {
|
|
3161
3160
|
u(i.Alert, "errorColor", Y(i.error.light, 0.6)), u(i.Alert, "infoColor", Y(i.info.light, 0.6)), u(i.Alert, "successColor", Y(i.success.light, 0.6)), u(i.Alert, "warningColor", Y(i.warning.light, 0.6)), u(i.Alert, "errorFilledBg", C("palette-error-dark")), u(i.Alert, "infoFilledBg", C("palette-info-dark")), u(i.Alert, "successFilledBg", C("palette-success-dark")), u(i.Alert, "warningFilledBg", C("palette-warning-dark")), u(i.Alert, "errorFilledColor", fe(() => i.getContrastText(i.error.dark))), u(i.Alert, "infoFilledColor", fe(() => i.getContrastText(i.info.dark))), u(i.Alert, "successFilledColor", fe(() => i.getContrastText(i.success.dark))), u(i.Alert, "warningFilledColor", fe(() => i.getContrastText(i.warning.dark))), u(i.Alert, "errorStandardBg", z(i.error.light, 0.9)), u(i.Alert, "infoStandardBg", z(i.info.light, 0.9)), u(i.Alert, "successStandardBg", z(i.success.light, 0.9)), u(i.Alert, "warningStandardBg", z(i.warning.light, 0.9)), u(i.Alert, "errorIconColor", C("palette-error-main")), u(i.Alert, "infoIconColor", C("palette-info-main")), u(i.Alert, "successIconColor", C("palette-success-main")), u(i.Alert, "warningIconColor", C("palette-warning-main")), u(i.AppBar, "defaultBg", C("palette-grey-900")), u(i.AppBar, "darkBg", C("palette-background-paper")), u(i.AppBar, "darkColor", C("palette-text-primary")), u(i.Avatar, "defaultBg", C("palette-grey-600")), u(i.Button, "inheritContainedBg", C("palette-grey-800")), u(i.Button, "inheritContainedHoverBg", C("palette-grey-700")), u(i.Chip, "defaultBorder", C("palette-grey-700")), u(i.Chip, "defaultAvatarColor", C("palette-grey-300")), u(i.Chip, "defaultIconColor", C("palette-grey-300")), u(i.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), u(i.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), u(i.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), u(i.LinearProgress, "primaryBg", z(i.primary.main, 0.5)), u(i.LinearProgress, "secondaryBg", z(i.secondary.main, 0.5)), u(i.LinearProgress, "errorBg", z(i.error.main, 0.5)), u(i.LinearProgress, "infoBg", z(i.info.main, 0.5)), u(i.LinearProgress, "successBg", z(i.success.main, 0.5)), u(i.LinearProgress, "warningBg", z(i.warning.main, 0.5)), u(i.Skeleton, "bg", `rgba(${C("palette-text-primaryChannel")} / 0.13)`), u(i.Slider, "primaryTrack", z(i.primary.main, 0.5)), u(i.Slider, "secondaryTrack", z(i.secondary.main, 0.5)), u(i.Slider, "errorTrack", z(i.error.main, 0.5)), u(i.Slider, "infoTrack", z(i.info.main, 0.5)), u(i.Slider, "successTrack", z(i.success.main, 0.5)), u(i.Slider, "warningTrack", z(i.warning.main, 0.5));
|
|
3162
3161
|
const x = Be(i.background.default, 0.98);
|
|
3163
|
-
u(i.SnackbarContent, "bg", x), u(i.SnackbarContent, "color", fe(() => i.getContrastText(x))), u(i.SpeedDialAction, "fabHoverBg", Be(i.background.paper, 0.15)), u(i.StepConnector, "border", C("palette-grey-600")), u(i.StepContent, "border", C("palette-grey-600")), u(i.Switch, "defaultColor", C("palette-grey-300")), u(i.Switch, "defaultDisabledColor", C("palette-grey-600")), u(i.Switch, "primaryDisabledColor", z(i.primary.main, 0.55)), u(i.Switch, "secondaryDisabledColor", z(i.secondary.main, 0.55)), u(i.Switch, "errorDisabledColor", z(i.error.main, 0.55)), u(i.Switch, "infoDisabledColor", z(i.info.main, 0.55)), u(i.Switch, "successDisabledColor", z(i.success.main, 0.55)), u(i.Switch, "warningDisabledColor", z(i.warning.main, 0.55)), u(i.TableCell, "border", z(
|
|
3162
|
+
u(i.SnackbarContent, "bg", x), u(i.SnackbarContent, "color", fe(() => i.getContrastText(x))), u(i.SpeedDialAction, "fabHoverBg", Be(i.background.paper, 0.15)), u(i.StepConnector, "border", C("palette-grey-600")), u(i.StepContent, "border", C("palette-grey-600")), u(i.Switch, "defaultColor", C("palette-grey-300")), u(i.Switch, "defaultDisabledColor", C("palette-grey-600")), u(i.Switch, "primaryDisabledColor", z(i.primary.main, 0.55)), u(i.Switch, "secondaryDisabledColor", z(i.secondary.main, 0.55)), u(i.Switch, "errorDisabledColor", z(i.error.main, 0.55)), u(i.Switch, "infoDisabledColor", z(i.info.main, 0.55)), u(i.Switch, "successDisabledColor", z(i.success.main, 0.55)), u(i.Switch, "warningDisabledColor", z(i.warning.main, 0.55)), u(i.TableCell, "border", z(je(i.divider, 1), 0.68)), u(i.Tooltip, "bg", je(i.grey[700], 0.92));
|
|
3164
3163
|
}
|
|
3165
3164
|
de(i.background, "default"), de(i.background, "paper"), de(i.common, "background"), de(i.common, "onBackground"), de(i, "divider"), Object.keys(i).forEach((x) => {
|
|
3166
|
-
const
|
|
3167
|
-
|
|
3165
|
+
const j = i[x];
|
|
3166
|
+
j && typeof j == "object" && (j.main && u(i[x], "mainChannel", _e(Pe(j.main))), j.light && u(i[x], "lightChannel", _e(Pe(j.light))), j.dark && u(i[x], "darkChannel", _e(Pe(j.dark))), j.contrastText && u(i[x], "contrastTextChannel", _e(Pe(j.contrastText))), x === "text" && (de(i[x], "primary"), de(i[x], "secondary")), x === "action" && (j.active && de(i[x], "active"), j.selected && de(i[x], "selected")));
|
|
3168
3167
|
});
|
|
3169
3168
|
}), w = r.reduce((ee, i) => ie(ee, i), w);
|
|
3170
3169
|
const d = {
|
|
@@ -3249,35 +3248,34 @@ const _o = xo(), Po = "$$material";
|
|
|
3249
3248
|
function Ro(e) {
|
|
3250
3249
|
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
3251
3250
|
}
|
|
3252
|
-
const ko = (e) => Ro(e) && e !== "classes",
|
|
3251
|
+
const ko = (e) => Ro(e) && e !== "classes", Bo = kn({
|
|
3253
3252
|
themeId: Po,
|
|
3254
3253
|
defaultTheme: _o,
|
|
3255
3254
|
rootShouldForwardProp: ko
|
|
3256
3255
|
});
|
|
3257
3256
|
process.env.NODE_ENV !== "production" && (me.node, me.object.isRequired);
|
|
3258
|
-
function
|
|
3257
|
+
function Fo(e) {
|
|
3259
3258
|
return Un(e);
|
|
3260
3259
|
}
|
|
3261
3260
|
export {
|
|
3262
3261
|
me as P,
|
|
3263
3262
|
Po as T,
|
|
3264
3263
|
Do as a,
|
|
3265
|
-
|
|
3264
|
+
jo as b,
|
|
3266
3265
|
mr as c,
|
|
3267
|
-
|
|
3266
|
+
No as d,
|
|
3268
3267
|
Fn as e,
|
|
3269
3268
|
lr as f,
|
|
3270
3269
|
Zr as g,
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
Ro as o,
|
|
3270
|
+
nt as h,
|
|
3271
|
+
_o as i,
|
|
3272
|
+
ye as j,
|
|
3273
|
+
ie as k,
|
|
3274
|
+
Ir as l,
|
|
3275
|
+
yo as m,
|
|
3276
|
+
Ro as n,
|
|
3279
3277
|
xn as p,
|
|
3280
3278
|
ko as r,
|
|
3281
|
-
|
|
3282
|
-
|
|
3279
|
+
Bo as s,
|
|
3280
|
+
Fo as u
|
|
3283
3281
|
};
|