@movable/ui 0.14.0 → 0.15.0
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/lib/components/Header/InkWorkflowHeader.d.ts +8 -0
- package/lib/components/Header/index.d.ts +1 -0
- package/lib/index.mjs +314 -244
- package/lib/index.mjs.map +1 -1
- package/lib/theme/components/stepper.d.ts +872 -0
- package/package.json +2 -1
- /package/lib/{palette.d.ts → theme/palette.d.ts} +0 -0
package/lib/index.mjs
CHANGED
|
@@ -63,8 +63,8 @@ function Qt() {
|
|
|
63
63
|
{
|
|
64
64
|
var T = N.ReactDebugCurrentFrame, F = T.getStackAddendum();
|
|
65
65
|
F !== "" && (u += "%s", y = y.concat([F]));
|
|
66
|
-
var z = y.map(function(
|
|
67
|
-
return String(
|
|
66
|
+
var z = y.map(function(I) {
|
|
67
|
+
return String(I);
|
|
68
68
|
});
|
|
69
69
|
z.unshift("Warning: " + u), Function.prototype.apply.call(console[t], console, z);
|
|
70
70
|
}
|
|
@@ -123,9 +123,9 @@ function Qt() {
|
|
|
123
123
|
var T = t.displayName || null;
|
|
124
124
|
return T !== null ? T : ge(t.type) || "Memo";
|
|
125
125
|
case l: {
|
|
126
|
-
var F = t, z = F._payload,
|
|
126
|
+
var F = t, z = F._payload, I = F._init;
|
|
127
127
|
try {
|
|
128
|
-
return ge(
|
|
128
|
+
return ge(I(z));
|
|
129
129
|
} catch {
|
|
130
130
|
return null;
|
|
131
131
|
}
|
|
@@ -133,14 +133,14 @@ function Qt() {
|
|
|
133
133
|
}
|
|
134
134
|
return null;
|
|
135
135
|
}
|
|
136
|
-
var fe = Object.assign, Te = 0, ye, ve, we,
|
|
136
|
+
var fe = Object.assign, Te = 0, ye, ve, we, Me, c, x, S;
|
|
137
137
|
function R() {
|
|
138
138
|
}
|
|
139
139
|
R.__reactDisabledLog = !0;
|
|
140
140
|
function O() {
|
|
141
141
|
{
|
|
142
142
|
if (Te === 0) {
|
|
143
|
-
ye = console.log, ve = console.info, we = console.warn,
|
|
143
|
+
ye = console.log, ve = console.info, we = console.warn, Me = console.error, c = console.group, x = console.groupCollapsed, S = console.groupEnd;
|
|
144
144
|
var t = {
|
|
145
145
|
configurable: !0,
|
|
146
146
|
enumerable: !0,
|
|
@@ -160,7 +160,7 @@ function Qt() {
|
|
|
160
160
|
Te++;
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
|
-
function
|
|
163
|
+
function M() {
|
|
164
164
|
{
|
|
165
165
|
if (Te--, Te === 0) {
|
|
166
166
|
var t = {
|
|
@@ -179,7 +179,7 @@ function Qt() {
|
|
|
179
179
|
value: we
|
|
180
180
|
}),
|
|
181
181
|
error: fe({}, t, {
|
|
182
|
-
value:
|
|
182
|
+
value: Me
|
|
183
183
|
}),
|
|
184
184
|
group: fe({}, t, {
|
|
185
185
|
value: c
|
|
@@ -188,25 +188,25 @@ function Qt() {
|
|
|
188
188
|
value: x
|
|
189
189
|
}),
|
|
190
190
|
groupEnd: fe({}, t, {
|
|
191
|
-
value:
|
|
191
|
+
value: S
|
|
192
192
|
})
|
|
193
193
|
});
|
|
194
194
|
}
|
|
195
195
|
Te < 0 && G("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
|
-
var
|
|
199
|
-
function
|
|
198
|
+
var C = N.ReactCurrentDispatcher, _;
|
|
199
|
+
function P(t, u, y) {
|
|
200
200
|
{
|
|
201
|
-
if (
|
|
201
|
+
if (_ === void 0)
|
|
202
202
|
try {
|
|
203
203
|
throw Error();
|
|
204
204
|
} catch (F) {
|
|
205
205
|
var T = F.stack.trim().match(/\n( *(at )?)/);
|
|
206
|
-
|
|
206
|
+
_ = T && T[1] || "";
|
|
207
207
|
}
|
|
208
208
|
return `
|
|
209
|
-
` +
|
|
209
|
+
` + _ + t;
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
212
|
var B = !1, $;
|
|
@@ -227,30 +227,30 @@ function Qt() {
|
|
|
227
227
|
var F = Error.prepareStackTrace;
|
|
228
228
|
Error.prepareStackTrace = void 0;
|
|
229
229
|
var z;
|
|
230
|
-
z =
|
|
230
|
+
z = C.current, C.current = null, O();
|
|
231
231
|
try {
|
|
232
232
|
if (u) {
|
|
233
|
-
var
|
|
233
|
+
var I = function() {
|
|
234
234
|
throw Error();
|
|
235
235
|
};
|
|
236
|
-
if (Object.defineProperty(
|
|
236
|
+
if (Object.defineProperty(I.prototype, "props", {
|
|
237
237
|
set: function() {
|
|
238
238
|
throw Error();
|
|
239
239
|
}
|
|
240
240
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
241
241
|
try {
|
|
242
|
-
Reflect.construct(
|
|
242
|
+
Reflect.construct(I, []);
|
|
243
243
|
} catch (Oe) {
|
|
244
244
|
T = Oe;
|
|
245
245
|
}
|
|
246
|
-
Reflect.construct(t, [],
|
|
246
|
+
Reflect.construct(t, [], I);
|
|
247
247
|
} else {
|
|
248
248
|
try {
|
|
249
|
-
|
|
249
|
+
I.call();
|
|
250
250
|
} catch (Oe) {
|
|
251
251
|
T = Oe;
|
|
252
252
|
}
|
|
253
|
-
t.call(
|
|
253
|
+
t.call(I.prototype);
|
|
254
254
|
}
|
|
255
255
|
} else {
|
|
256
256
|
try {
|
|
@@ -280,77 +280,77 @@ function Qt() {
|
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
282
|
} finally {
|
|
283
|
-
B = !1,
|
|
283
|
+
B = !1, C.current = z, M(), Error.prepareStackTrace = F;
|
|
284
284
|
}
|
|
285
|
-
var Be = t ? t.displayName || t.name : "", Vr = Be ?
|
|
285
|
+
var Be = t ? t.displayName || t.name : "", Vr = Be ? P(Be) : "";
|
|
286
286
|
return typeof t == "function" && $.set(t, Vr), Vr;
|
|
287
287
|
}
|
|
288
288
|
function he(t, u, y) {
|
|
289
289
|
return h(t, !1);
|
|
290
290
|
}
|
|
291
|
-
function
|
|
291
|
+
function Ie(t) {
|
|
292
292
|
var u = t.prototype;
|
|
293
293
|
return !!(u && u.isReactComponent);
|
|
294
294
|
}
|
|
295
|
-
function
|
|
295
|
+
function Se(t, u, y) {
|
|
296
296
|
if (t == null)
|
|
297
297
|
return "";
|
|
298
298
|
if (typeof t == "function")
|
|
299
|
-
return h(t,
|
|
299
|
+
return h(t, Ie(t));
|
|
300
300
|
if (typeof t == "string")
|
|
301
|
-
return
|
|
301
|
+
return P(t);
|
|
302
302
|
switch (t) {
|
|
303
303
|
case p:
|
|
304
|
-
return
|
|
304
|
+
return P("Suspense");
|
|
305
305
|
case g:
|
|
306
|
-
return
|
|
306
|
+
return P("SuspenseList");
|
|
307
307
|
}
|
|
308
308
|
if (typeof t == "object")
|
|
309
309
|
switch (t.$$typeof) {
|
|
310
310
|
case d:
|
|
311
311
|
return he(t.render);
|
|
312
312
|
case m:
|
|
313
|
-
return
|
|
313
|
+
return Se(t.type, u, y);
|
|
314
314
|
case l: {
|
|
315
315
|
var T = t, F = T._payload, z = T._init;
|
|
316
316
|
try {
|
|
317
|
-
return
|
|
317
|
+
return Se(z(F), u, y);
|
|
318
318
|
} catch {
|
|
319
319
|
}
|
|
320
320
|
}
|
|
321
321
|
}
|
|
322
322
|
return "";
|
|
323
323
|
}
|
|
324
|
-
var rr = Object.prototype.hasOwnProperty,
|
|
324
|
+
var rr = Object.prototype.hasOwnProperty, Mr = {}, Ir = N.ReactDebugCurrentFrame;
|
|
325
325
|
function tr(t) {
|
|
326
326
|
if (t) {
|
|
327
|
-
var u = t._owner, y =
|
|
328
|
-
|
|
327
|
+
var u = t._owner, y = Se(t.type, t._source, u ? u.type : null);
|
|
328
|
+
Ir.setExtraStackFrame(y);
|
|
329
329
|
} else
|
|
330
|
-
|
|
330
|
+
Ir.setExtraStackFrame(null);
|
|
331
331
|
}
|
|
332
|
-
function
|
|
332
|
+
function Ct(t, u, y, T, F) {
|
|
333
333
|
{
|
|
334
334
|
var z = Function.call.bind(rr);
|
|
335
|
-
for (var
|
|
336
|
-
if (z(t,
|
|
335
|
+
for (var I in t)
|
|
336
|
+
if (z(t, I)) {
|
|
337
337
|
var k = void 0;
|
|
338
338
|
try {
|
|
339
|
-
if (typeof t[
|
|
340
|
-
var le = Error((T || "React class") + ": " + y + " type `" +
|
|
339
|
+
if (typeof t[I] != "function") {
|
|
340
|
+
var le = Error((T || "React class") + ": " + y + " type `" + I + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[I] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
341
341
|
throw le.name = "Invariant Violation", le;
|
|
342
342
|
}
|
|
343
|
-
k = t[
|
|
343
|
+
k = t[I](u, I, T, y, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
344
344
|
} catch (ee) {
|
|
345
345
|
k = ee;
|
|
346
346
|
}
|
|
347
|
-
k && !(k instanceof Error) && (tr(F), G("%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).", T || "React class", y,
|
|
347
|
+
k && !(k instanceof Error) && (tr(F), G("%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).", T || "React class", y, I, typeof k), tr(null)), k instanceof Error && !(k.message in Mr) && (Mr[k.message] = !0, tr(F), G("Failed %s type: %s", y, k.message), tr(null));
|
|
348
348
|
}
|
|
349
349
|
}
|
|
350
350
|
}
|
|
351
|
-
var
|
|
351
|
+
var _t = Array.isArray;
|
|
352
352
|
function gr(t) {
|
|
353
|
-
return
|
|
353
|
+
return _t(t);
|
|
354
354
|
}
|
|
355
355
|
function Rt(t) {
|
|
356
356
|
{
|
|
@@ -372,14 +372,14 @@ function Qt() {
|
|
|
372
372
|
if (wt(t))
|
|
373
373
|
return G("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Rt(t)), Dr(t);
|
|
374
374
|
}
|
|
375
|
-
var Ve = N.ReactCurrentOwner,
|
|
375
|
+
var Ve = N.ReactCurrentOwner, St = {
|
|
376
376
|
key: !0,
|
|
377
377
|
ref: !0,
|
|
378
378
|
__self: !0,
|
|
379
379
|
__source: !0
|
|
380
380
|
}, Nr, Fr, yr;
|
|
381
381
|
yr = {};
|
|
382
|
-
function
|
|
382
|
+
function Pt(t) {
|
|
383
383
|
if (rr.call(t, "ref")) {
|
|
384
384
|
var u = Object.getOwnPropertyDescriptor(t, "ref").get;
|
|
385
385
|
if (u && u.isReactWarning)
|
|
@@ -412,7 +412,7 @@ function Qt() {
|
|
|
412
412
|
});
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
-
function
|
|
415
|
+
function Mt(t, u) {
|
|
416
416
|
{
|
|
417
417
|
var y = function() {
|
|
418
418
|
Fr || (Fr = !0, G("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", u));
|
|
@@ -423,7 +423,7 @@ function Qt() {
|
|
|
423
423
|
});
|
|
424
424
|
}
|
|
425
425
|
}
|
|
426
|
-
var
|
|
426
|
+
var It = function(t, u, y, T, F, z, I) {
|
|
427
427
|
var k = {
|
|
428
428
|
// This tag allows us to uniquely identify this as a React Element
|
|
429
429
|
$$typeof: r,
|
|
@@ -431,7 +431,7 @@ function Qt() {
|
|
|
431
431
|
type: t,
|
|
432
432
|
key: u,
|
|
433
433
|
ref: y,
|
|
434
|
-
props:
|
|
434
|
+
props: I,
|
|
435
435
|
// Record the component responsible for creating this element.
|
|
436
436
|
_owner: z
|
|
437
437
|
};
|
|
@@ -454,26 +454,26 @@ function Qt() {
|
|
|
454
454
|
};
|
|
455
455
|
function Dt(t, u, y, T, F) {
|
|
456
456
|
{
|
|
457
|
-
var z,
|
|
458
|
-
y !== void 0 && (Br(y), k = "" + y), $t(u) && (Br(u.key), k = "" + u.key),
|
|
457
|
+
var z, I = {}, k = null, le = null;
|
|
458
|
+
y !== void 0 && (Br(y), k = "" + y), $t(u) && (Br(u.key), k = "" + u.key), Pt(u) && (le = u.ref, kt(u, F));
|
|
459
459
|
for (z in u)
|
|
460
|
-
rr.call(u, z) && !
|
|
460
|
+
rr.call(u, z) && !St.hasOwnProperty(z) && (I[z] = u[z]);
|
|
461
461
|
if (t && t.defaultProps) {
|
|
462
462
|
var ee = t.defaultProps;
|
|
463
463
|
for (z in ee)
|
|
464
|
-
|
|
464
|
+
I[z] === void 0 && (I[z] = ee[z]);
|
|
465
465
|
}
|
|
466
466
|
if (k || le) {
|
|
467
467
|
var te = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
468
|
-
k && jt(
|
|
468
|
+
k && jt(I, te), le && Mt(I, te);
|
|
469
469
|
}
|
|
470
|
-
return
|
|
470
|
+
return It(t, k, le, F, T, Ve.current, I);
|
|
471
471
|
}
|
|
472
472
|
}
|
|
473
473
|
var mr = N.ReactCurrentOwner, Wr = N.ReactDebugCurrentFrame;
|
|
474
474
|
function De(t) {
|
|
475
475
|
if (t) {
|
|
476
|
-
var u = t._owner, y =
|
|
476
|
+
var u = t._owner, y = Se(t.type, t._source, u ? u.type : null);
|
|
477
477
|
Wr.setExtraStackFrame(y);
|
|
478
478
|
} else
|
|
479
479
|
Wr.setExtraStackFrame(null);
|
|
@@ -546,8 +546,8 @@ Check the top-level render call using <` + y + ">.");
|
|
|
546
546
|
else if (t) {
|
|
547
547
|
var F = w(t);
|
|
548
548
|
if (typeof F == "function" && F !== t.entries)
|
|
549
|
-
for (var z = F.call(t),
|
|
550
|
-
br(
|
|
549
|
+
for (var z = F.call(t), I; !(I = z.next()).done; )
|
|
550
|
+
br(I.value) && Yr(I.value, u);
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
553
|
}
|
|
@@ -567,7 +567,7 @@ Check the top-level render call using <` + y + ">.");
|
|
|
567
567
|
return;
|
|
568
568
|
if (y) {
|
|
569
569
|
var T = ge(u);
|
|
570
|
-
|
|
570
|
+
Ct(y, t.props, "prop", T, t);
|
|
571
571
|
} else if (u.PropTypes !== void 0 && !hr) {
|
|
572
572
|
hr = !0;
|
|
573
573
|
var F = ge(u);
|
|
@@ -590,8 +590,8 @@ Check the top-level render call using <` + y + ">.");
|
|
|
590
590
|
}
|
|
591
591
|
function Gr(t, u, y, T, F, z) {
|
|
592
592
|
{
|
|
593
|
-
var
|
|
594
|
-
if (!
|
|
593
|
+
var I = Ge(t);
|
|
594
|
+
if (!I) {
|
|
595
595
|
var k = "";
|
|
596
596
|
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (k += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
597
597
|
var le = Bt(F);
|
|
@@ -602,7 +602,7 @@ Check the top-level render call using <` + y + ">.");
|
|
|
602
602
|
var te = Dt(t, u, y, F, z);
|
|
603
603
|
if (te == null)
|
|
604
604
|
return te;
|
|
605
|
-
if (
|
|
605
|
+
if (I) {
|
|
606
606
|
var be = u.children;
|
|
607
607
|
if (be !== void 0)
|
|
608
608
|
if (T)
|
|
@@ -630,13 +630,13 @@ Check the top-level render call using <` + y + ">.");
|
|
|
630
630
|
}
|
|
631
631
|
process.env.NODE_ENV === "production" ? Rr.exports = Zt() : Rr.exports = Qt();
|
|
632
632
|
var V = Rr.exports;
|
|
633
|
-
function
|
|
633
|
+
function ia({ stringToDisplay: e }) {
|
|
634
634
|
return V.jsxs(Xe, { children: ["stringToDisplay prop is:", " ", V.jsx("span", { "data-test-string-to-display": !0, children: e })] });
|
|
635
635
|
}
|
|
636
|
-
function
|
|
636
|
+
function sa({ metadata: e }) {
|
|
637
637
|
return V.jsx(Fe, { direction: "row", spacing: 2, children: e.map(({ icon: r, label: o, value: n }) => V.jsxs(Fe, { direction: "row", spacing: 0.5, children: [V.jsx(mt, { fontSize: "small", sx: { color: "neutral600" }, children: r }), V.jsx(Xe, { variant: "body2", color: "text.secondary", children: o }), V.jsx(Xe, { variant: "body2", children: n })] }, o)) });
|
|
638
638
|
}
|
|
639
|
-
function
|
|
639
|
+
function ua({ Breadcrumbs: e, Subtitle: r, Metadata: o, Chips: n, ButtonGroup: a, Tabs: i }) {
|
|
640
640
|
return V.jsx("header", { children: V.jsxs(Fe, { direction: "column", spacing: 2, sx: {
|
|
641
641
|
borderBottom: 1,
|
|
642
642
|
borderColor: "divider",
|
|
@@ -651,10 +651,10 @@ function en({ label: e }) {
|
|
|
651
651
|
function rn({ breadcrumb: e, i: r }) {
|
|
652
652
|
return V.jsx(Kt, { underline: "hover", href: e.path, "data-cy": `breadcrumb-${r}`, variant: "h5", color: "text.disabled", children: e.label });
|
|
653
653
|
}
|
|
654
|
-
function
|
|
654
|
+
function la({ breadcrumbs: e }) {
|
|
655
655
|
return V.jsx(Vt, { children: e == null ? void 0 : e.map((r, o) => o === e.length - 1 ? V.jsx(en, { label: r.label }, `breadcrumb-${o}`) : V.jsx(rn, { breadcrumb: r, i: o }, `breadcrumb-${o}`)) });
|
|
656
656
|
}
|
|
657
|
-
function
|
|
657
|
+
function ca({ primaryAction: e, secondaryAction: r, dropdownAction: o }) {
|
|
658
658
|
var d;
|
|
659
659
|
const [n, a] = Gt(null), i = !!n, s = (p) => {
|
|
660
660
|
a(p.currentTarget);
|
|
@@ -673,7 +673,7 @@ function la({ primaryAction: e, secondaryAction: r, dropdownAction: o }) {
|
|
|
673
673
|
g(), f();
|
|
674
674
|
}, ...m, children: p }, l)) })] }), r && V.jsx(vr, { variant: "contained", color: "inherit", ...r, children: r.label }), e && V.jsx(vr, { variant: "contained", ...e, sx: { whiteSpace: "nowrap" }, children: e.label })] });
|
|
675
675
|
}
|
|
676
|
-
function
|
|
676
|
+
function fa({ subtitle: e }) {
|
|
677
677
|
return V.jsx(Xe, { variant: "body2", color: "text.secondary", children: e });
|
|
678
678
|
}
|
|
679
679
|
function ie() {
|
|
@@ -697,12 +697,12 @@ function ht(e) {
|
|
|
697
697
|
r[o] = ht(e[o]);
|
|
698
698
|
}), r;
|
|
699
699
|
}
|
|
700
|
-
function
|
|
700
|
+
function Ce(e, r, o = {
|
|
701
701
|
clone: !0
|
|
702
702
|
}) {
|
|
703
703
|
const n = o.clone ? ie({}, e) : e;
|
|
704
704
|
return Ne(e) && Ne(r) && Object.keys(r).forEach((a) => {
|
|
705
|
-
a !== "__proto__" && (Ne(r[a]) && a in e && Ne(e[a]) ? n[a] =
|
|
705
|
+
a !== "__proto__" && (Ne(r[a]) && a in e && Ne(e[a]) ? n[a] = Ce(e[a], r[a], o) : o.clone ? n[a] = Ne(r[a]) ? ht(r[a]) : r[a] : n[a] = r[a]);
|
|
706
706
|
}), n;
|
|
707
707
|
}
|
|
708
708
|
var wr = { exports: {} }, nr = { exports: {} }, W = {};
|
|
@@ -803,24 +803,24 @@ function nn() {
|
|
|
803
803
|
var he = h.$$typeof;
|
|
804
804
|
switch (he) {
|
|
805
805
|
case r:
|
|
806
|
-
var
|
|
807
|
-
switch (
|
|
806
|
+
var Ie = h.type;
|
|
807
|
+
switch (Ie) {
|
|
808
808
|
case d:
|
|
809
809
|
case p:
|
|
810
810
|
case n:
|
|
811
811
|
case i:
|
|
812
812
|
case a:
|
|
813
813
|
case m:
|
|
814
|
-
return
|
|
814
|
+
return Ie;
|
|
815
815
|
default:
|
|
816
|
-
var
|
|
817
|
-
switch (
|
|
816
|
+
var Se = Ie && Ie.$$typeof;
|
|
817
|
+
switch (Se) {
|
|
818
818
|
case f:
|
|
819
819
|
case g:
|
|
820
820
|
case A:
|
|
821
821
|
case E:
|
|
822
822
|
case s:
|
|
823
|
-
return
|
|
823
|
+
return Se;
|
|
824
824
|
default:
|
|
825
825
|
return he;
|
|
826
826
|
}
|
|
@@ -831,7 +831,7 @@ function nn() {
|
|
|
831
831
|
}
|
|
832
832
|
}
|
|
833
833
|
var v = d, Ae = p, Ye = f, ze = s, $e = r, Ge = g, ke = n, je = A, ge = E, fe = o, Te = i, ye = a, ve = m, we = !1;
|
|
834
|
-
function
|
|
834
|
+
function Me(h) {
|
|
835
835
|
return we || (we = !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.")), c(h) || X(h) === d;
|
|
836
836
|
}
|
|
837
837
|
function c(h) {
|
|
@@ -840,7 +840,7 @@ function nn() {
|
|
|
840
840
|
function x(h) {
|
|
841
841
|
return X(h) === f;
|
|
842
842
|
}
|
|
843
|
-
function
|
|
843
|
+
function S(h) {
|
|
844
844
|
return X(h) === s;
|
|
845
845
|
}
|
|
846
846
|
function R(h) {
|
|
@@ -849,16 +849,16 @@ function nn() {
|
|
|
849
849
|
function O(h) {
|
|
850
850
|
return X(h) === g;
|
|
851
851
|
}
|
|
852
|
-
function
|
|
852
|
+
function M(h) {
|
|
853
853
|
return X(h) === n;
|
|
854
854
|
}
|
|
855
|
-
function
|
|
855
|
+
function C(h) {
|
|
856
856
|
return X(h) === A;
|
|
857
857
|
}
|
|
858
|
-
function
|
|
858
|
+
function _(h) {
|
|
859
859
|
return X(h) === E;
|
|
860
860
|
}
|
|
861
|
-
function
|
|
861
|
+
function P(h) {
|
|
862
862
|
return X(h) === o;
|
|
863
863
|
}
|
|
864
864
|
function B(h) {
|
|
@@ -870,7 +870,7 @@ function nn() {
|
|
|
870
870
|
function se(h) {
|
|
871
871
|
return X(h) === m;
|
|
872
872
|
}
|
|
873
|
-
U.AsyncMode = v, U.ConcurrentMode = Ae, U.ContextConsumer = Ye, U.ContextProvider = ze, U.Element = $e, U.ForwardRef = Ge, U.Fragment = ke, U.Lazy = je, U.Memo = ge, U.Portal = fe, U.Profiler = Te, U.StrictMode = ye, U.Suspense = ve, U.isAsyncMode =
|
|
873
|
+
U.AsyncMode = v, U.ConcurrentMode = Ae, U.ContextConsumer = Ye, U.ContextProvider = ze, U.Element = $e, U.ForwardRef = Ge, U.Fragment = ke, U.Lazy = je, U.Memo = ge, U.Portal = fe, U.Profiler = Te, U.StrictMode = ye, U.Suspense = ve, U.isAsyncMode = Me, U.isConcurrentMode = c, U.isContextConsumer = x, U.isContextProvider = S, U.isElement = R, U.isForwardRef = O, U.isFragment = M, U.isLazy = C, U.isMemo = _, U.isPortal = P, U.isProfiler = B, U.isStrictMode = $, U.isSuspense = se, U.isValidElementType = H, U.typeOf = X;
|
|
874
874
|
}()), U;
|
|
875
875
|
}
|
|
876
876
|
var Xr;
|
|
@@ -930,7 +930,7 @@ function on() {
|
|
|
930
930
|
}, xr;
|
|
931
931
|
}
|
|
932
932
|
var Er, Qr;
|
|
933
|
-
function
|
|
933
|
+
function Sr() {
|
|
934
934
|
if (Qr)
|
|
935
935
|
return Er;
|
|
936
936
|
Qr = 1;
|
|
@@ -949,7 +949,7 @@ function an() {
|
|
|
949
949
|
var e = function() {
|
|
950
950
|
};
|
|
951
951
|
if (process.env.NODE_ENV !== "production") {
|
|
952
|
-
var r =
|
|
952
|
+
var r = Sr(), o = {}, n = vt();
|
|
953
953
|
e = function(i) {
|
|
954
954
|
var s = "Warning: " + i;
|
|
955
955
|
typeof console < "u" && console.error(s);
|
|
@@ -996,7 +996,7 @@ function sn() {
|
|
|
996
996
|
if (tt)
|
|
997
997
|
return Or;
|
|
998
998
|
tt = 1;
|
|
999
|
-
var e = bt(), r = on(), o =
|
|
999
|
+
var e = bt(), r = on(), o = Sr(), n = vt(), a = an(), i = function() {
|
|
1000
1000
|
};
|
|
1001
1001
|
process.env.NODE_ENV !== "production" && (i = function(f) {
|
|
1002
1002
|
var d = "Warning: " + f;
|
|
@@ -1046,34 +1046,34 @@ function sn() {
|
|
|
1046
1046
|
b.prototype = Error.prototype;
|
|
1047
1047
|
function w(c) {
|
|
1048
1048
|
if (process.env.NODE_ENV !== "production")
|
|
1049
|
-
var x = {},
|
|
1050
|
-
function R(
|
|
1051
|
-
if (
|
|
1049
|
+
var x = {}, S = 0;
|
|
1050
|
+
function R(M, C, _, P, B, $, se) {
|
|
1051
|
+
if (P = P || l, $ = $ || _, se !== o) {
|
|
1052
1052
|
if (d) {
|
|
1053
1053
|
var h = new Error(
|
|
1054
1054
|
"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"
|
|
1055
1055
|
);
|
|
1056
1056
|
throw h.name = "Invariant Violation", h;
|
|
1057
1057
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
1058
|
-
var he =
|
|
1058
|
+
var he = P + ":" + _;
|
|
1059
1059
|
!x[he] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
1060
|
-
|
|
1061
|
-
"You are manually calling a React.PropTypes validation function for the `" + $ + "` prop on `" +
|
|
1062
|
-
), x[he] = !0,
|
|
1060
|
+
S < 3 && (i(
|
|
1061
|
+
"You are manually calling a React.PropTypes validation function for the `" + $ + "` prop on `" + P + "`. 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."
|
|
1062
|
+
), x[he] = !0, S++);
|
|
1063
1063
|
}
|
|
1064
1064
|
}
|
|
1065
|
-
return _
|
|
1065
|
+
return C[_] == null ? M ? C[_] === null ? new b("The " + B + " `" + $ + "` is marked as required " + ("in `" + P + "`, but its value is `null`.")) : new b("The " + B + " `" + $ + "` is marked as required in " + ("`" + P + "`, but its value is `undefined`.")) : null : c(C, _, P, B, $);
|
|
1066
1066
|
}
|
|
1067
1067
|
var O = R.bind(null, !1);
|
|
1068
1068
|
return O.isRequired = R.bind(null, !0), O;
|
|
1069
1069
|
}
|
|
1070
1070
|
function N(c) {
|
|
1071
|
-
function x(
|
|
1072
|
-
var
|
|
1071
|
+
function x(S, R, O, M, C, _) {
|
|
1072
|
+
var P = S[R], B = ye(P);
|
|
1073
1073
|
if (B !== c) {
|
|
1074
|
-
var $ = ve(
|
|
1074
|
+
var $ = ve(P);
|
|
1075
1075
|
return new b(
|
|
1076
|
-
"Invalid " +
|
|
1076
|
+
"Invalid " + M + " `" + C + "` of type " + ("`" + $ + "` supplied to `" + O + "`, expected ") + ("`" + c + "`."),
|
|
1077
1077
|
{ expectedType: c }
|
|
1078
1078
|
);
|
|
1079
1079
|
}
|
|
@@ -1085,16 +1085,16 @@ function sn() {
|
|
|
1085
1085
|
return w(s);
|
|
1086
1086
|
}
|
|
1087
1087
|
function H(c) {
|
|
1088
|
-
function x(
|
|
1088
|
+
function x(S, R, O, M, C) {
|
|
1089
1089
|
if (typeof c != "function")
|
|
1090
|
-
return new b("Property `" +
|
|
1091
|
-
var
|
|
1092
|
-
if (!Array.isArray(
|
|
1093
|
-
var
|
|
1094
|
-
return new b("Invalid " +
|
|
1090
|
+
return new b("Property `" + C + "` of component `" + O + "` has invalid PropType notation inside arrayOf.");
|
|
1091
|
+
var _ = S[R];
|
|
1092
|
+
if (!Array.isArray(_)) {
|
|
1093
|
+
var P = ye(_);
|
|
1094
|
+
return new b("Invalid " + M + " `" + C + "` of type " + ("`" + P + "` supplied to `" + O + "`, expected an array."));
|
|
1095
1095
|
}
|
|
1096
|
-
for (var B = 0; B <
|
|
1097
|
-
var $ = c(
|
|
1096
|
+
for (var B = 0; B < _.length; B++) {
|
|
1097
|
+
var $ = c(_, B, O, M, C + "[" + B + "]", o);
|
|
1098
1098
|
if ($ instanceof Error)
|
|
1099
1099
|
return $;
|
|
1100
1100
|
}
|
|
@@ -1103,32 +1103,32 @@ function sn() {
|
|
|
1103
1103
|
return w(x);
|
|
1104
1104
|
}
|
|
1105
1105
|
function X() {
|
|
1106
|
-
function c(x,
|
|
1107
|
-
var
|
|
1108
|
-
if (!f(
|
|
1109
|
-
var
|
|
1110
|
-
return new b("Invalid " + O + " `" +
|
|
1106
|
+
function c(x, S, R, O, M) {
|
|
1107
|
+
var C = x[S];
|
|
1108
|
+
if (!f(C)) {
|
|
1109
|
+
var _ = ye(C);
|
|
1110
|
+
return new b("Invalid " + O + " `" + M + "` of type " + ("`" + _ + "` supplied to `" + R + "`, expected a single ReactElement."));
|
|
1111
1111
|
}
|
|
1112
1112
|
return null;
|
|
1113
1113
|
}
|
|
1114
1114
|
return w(c);
|
|
1115
1115
|
}
|
|
1116
1116
|
function v() {
|
|
1117
|
-
function c(x,
|
|
1118
|
-
var
|
|
1119
|
-
if (!e.isValidElementType(
|
|
1120
|
-
var
|
|
1121
|
-
return new b("Invalid " + O + " `" +
|
|
1117
|
+
function c(x, S, R, O, M) {
|
|
1118
|
+
var C = x[S];
|
|
1119
|
+
if (!e.isValidElementType(C)) {
|
|
1120
|
+
var _ = ye(C);
|
|
1121
|
+
return new b("Invalid " + O + " `" + M + "` of type " + ("`" + _ + "` supplied to `" + R + "`, expected a single ReactElement type."));
|
|
1122
1122
|
}
|
|
1123
1123
|
return null;
|
|
1124
1124
|
}
|
|
1125
1125
|
return w(c);
|
|
1126
1126
|
}
|
|
1127
1127
|
function Ae(c) {
|
|
1128
|
-
function x(
|
|
1129
|
-
if (!(
|
|
1130
|
-
var
|
|
1131
|
-
return new b("Invalid " +
|
|
1128
|
+
function x(S, R, O, M, C) {
|
|
1129
|
+
if (!(S[R] instanceof c)) {
|
|
1130
|
+
var _ = c.name || l, P = Me(S[R]);
|
|
1131
|
+
return new b("Invalid " + M + " `" + C + "` of type " + ("`" + P + "` supplied to `" + O + "`, expected ") + ("instance of `" + _ + "`."));
|
|
1132
1132
|
}
|
|
1133
1133
|
return null;
|
|
1134
1134
|
}
|
|
@@ -1139,28 +1139,28 @@ function sn() {
|
|
|
1139
1139
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
1140
1140
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
1141
1141
|
) : i("Invalid argument supplied to oneOf, expected an array.")), s;
|
|
1142
|
-
function x(
|
|
1143
|
-
for (var
|
|
1144
|
-
if (A(
|
|
1142
|
+
function x(S, R, O, M, C) {
|
|
1143
|
+
for (var _ = S[R], P = 0; P < c.length; P++)
|
|
1144
|
+
if (A(_, c[P]))
|
|
1145
1145
|
return null;
|
|
1146
1146
|
var B = JSON.stringify(c, function(se, h) {
|
|
1147
1147
|
var he = ve(h);
|
|
1148
1148
|
return he === "symbol" ? String(h) : h;
|
|
1149
1149
|
});
|
|
1150
|
-
return new b("Invalid " +
|
|
1150
|
+
return new b("Invalid " + M + " `" + C + "` of value `" + String(_) + "` " + ("supplied to `" + O + "`, expected one of " + B + "."));
|
|
1151
1151
|
}
|
|
1152
1152
|
return w(x);
|
|
1153
1153
|
}
|
|
1154
1154
|
function ze(c) {
|
|
1155
|
-
function x(
|
|
1155
|
+
function x(S, R, O, M, C) {
|
|
1156
1156
|
if (typeof c != "function")
|
|
1157
|
-
return new b("Property `" +
|
|
1158
|
-
var
|
|
1159
|
-
if (
|
|
1160
|
-
return new b("Invalid " +
|
|
1161
|
-
for (var B in
|
|
1162
|
-
if (n(
|
|
1163
|
-
var $ = c(
|
|
1157
|
+
return new b("Property `" + C + "` of component `" + O + "` has invalid PropType notation inside objectOf.");
|
|
1158
|
+
var _ = S[R], P = ye(_);
|
|
1159
|
+
if (P !== "object")
|
|
1160
|
+
return new b("Invalid " + M + " `" + C + "` of type " + ("`" + P + "` supplied to `" + O + "`, expected an object."));
|
|
1161
|
+
for (var B in _)
|
|
1162
|
+
if (n(_, B)) {
|
|
1163
|
+
var $ = c(_, B, O, M, C + "." + B, o);
|
|
1164
1164
|
if ($ instanceof Error)
|
|
1165
1165
|
return $;
|
|
1166
1166
|
}
|
|
@@ -1172,45 +1172,45 @@ function sn() {
|
|
|
1172
1172
|
if (!Array.isArray(c))
|
|
1173
1173
|
return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), s;
|
|
1174
1174
|
for (var x = 0; x < c.length; x++) {
|
|
1175
|
-
var
|
|
1176
|
-
if (typeof
|
|
1175
|
+
var S = c[x];
|
|
1176
|
+
if (typeof S != "function")
|
|
1177
1177
|
return i(
|
|
1178
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + we(
|
|
1178
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + we(S) + " at index " + x + "."
|
|
1179
1179
|
), s;
|
|
1180
1180
|
}
|
|
1181
|
-
function R(O,
|
|
1181
|
+
function R(O, M, C, _, P) {
|
|
1182
1182
|
for (var B = [], $ = 0; $ < c.length; $++) {
|
|
1183
|
-
var se = c[$], h = se(O,
|
|
1183
|
+
var se = c[$], h = se(O, M, C, _, P, o);
|
|
1184
1184
|
if (h == null)
|
|
1185
1185
|
return null;
|
|
1186
1186
|
h.data && n(h.data, "expectedType") && B.push(h.data.expectedType);
|
|
1187
1187
|
}
|
|
1188
1188
|
var he = B.length > 0 ? ", expected one of type [" + B.join(", ") + "]" : "";
|
|
1189
|
-
return new b("Invalid " +
|
|
1189
|
+
return new b("Invalid " + _ + " `" + P + "` supplied to " + ("`" + C + "`" + he + "."));
|
|
1190
1190
|
}
|
|
1191
1191
|
return w(R);
|
|
1192
1192
|
}
|
|
1193
1193
|
function Ge() {
|
|
1194
|
-
function c(x,
|
|
1195
|
-
return fe(x[
|
|
1194
|
+
function c(x, S, R, O, M) {
|
|
1195
|
+
return fe(x[S]) ? null : new b("Invalid " + O + " `" + M + "` supplied to " + ("`" + R + "`, expected a ReactNode."));
|
|
1196
1196
|
}
|
|
1197
1197
|
return w(c);
|
|
1198
1198
|
}
|
|
1199
|
-
function ke(c, x,
|
|
1199
|
+
function ke(c, x, S, R, O) {
|
|
1200
1200
|
return new b(
|
|
1201
|
-
(c || "React class") + ": " + x + " type `" +
|
|
1201
|
+
(c || "React class") + ": " + x + " type `" + S + "." + R + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + O + "`."
|
|
1202
1202
|
);
|
|
1203
1203
|
}
|
|
1204
1204
|
function je(c) {
|
|
1205
|
-
function x(
|
|
1206
|
-
var
|
|
1207
|
-
if (
|
|
1208
|
-
return new b("Invalid " +
|
|
1205
|
+
function x(S, R, O, M, C) {
|
|
1206
|
+
var _ = S[R], P = ye(_);
|
|
1207
|
+
if (P !== "object")
|
|
1208
|
+
return new b("Invalid " + M + " `" + C + "` of type `" + P + "` " + ("supplied to `" + O + "`, expected `object`."));
|
|
1209
1209
|
for (var B in c) {
|
|
1210
1210
|
var $ = c[B];
|
|
1211
1211
|
if (typeof $ != "function")
|
|
1212
|
-
return ke(O,
|
|
1213
|
-
var se = $(
|
|
1212
|
+
return ke(O, M, C, B, ve($));
|
|
1213
|
+
var se = $(_, B, O, M, C + "." + B, o);
|
|
1214
1214
|
if (se)
|
|
1215
1215
|
return se;
|
|
1216
1216
|
}
|
|
@@ -1219,21 +1219,21 @@ function sn() {
|
|
|
1219
1219
|
return w(x);
|
|
1220
1220
|
}
|
|
1221
1221
|
function ge(c) {
|
|
1222
|
-
function x(
|
|
1223
|
-
var
|
|
1224
|
-
if (
|
|
1225
|
-
return new b("Invalid " +
|
|
1226
|
-
var B = r({},
|
|
1222
|
+
function x(S, R, O, M, C) {
|
|
1223
|
+
var _ = S[R], P = ye(_);
|
|
1224
|
+
if (P !== "object")
|
|
1225
|
+
return new b("Invalid " + M + " `" + C + "` of type `" + P + "` " + ("supplied to `" + O + "`, expected `object`."));
|
|
1226
|
+
var B = r({}, S[R], c);
|
|
1227
1227
|
for (var $ in B) {
|
|
1228
1228
|
var se = c[$];
|
|
1229
1229
|
if (n(c, $) && typeof se != "function")
|
|
1230
|
-
return ke(O,
|
|
1230
|
+
return ke(O, M, C, $, ve(se));
|
|
1231
1231
|
if (!se)
|
|
1232
1232
|
return new b(
|
|
1233
|
-
"Invalid " +
|
|
1233
|
+
"Invalid " + M + " `" + C + "` key `" + $ + "` supplied to `" + O + "`.\nBad object: " + JSON.stringify(S[R], null, " ") + `
|
|
1234
1234
|
Valid keys: ` + JSON.stringify(Object.keys(c), null, " ")
|
|
1235
1235
|
);
|
|
1236
|
-
var h = se(
|
|
1236
|
+
var h = se(_, $, O, M, C + "." + $, o);
|
|
1237
1237
|
if (h)
|
|
1238
1238
|
return h;
|
|
1239
1239
|
}
|
|
@@ -1256,13 +1256,13 @@ Valid keys: ` + JSON.stringify(Object.keys(c), null, " ")
|
|
|
1256
1256
|
return !0;
|
|
1257
1257
|
var x = m(c);
|
|
1258
1258
|
if (x) {
|
|
1259
|
-
var
|
|
1259
|
+
var S = x.call(c), R;
|
|
1260
1260
|
if (x !== c.entries) {
|
|
1261
|
-
for (; !(R =
|
|
1261
|
+
for (; !(R = S.next()).done; )
|
|
1262
1262
|
if (!fe(R.value))
|
|
1263
1263
|
return !1;
|
|
1264
1264
|
} else
|
|
1265
|
-
for (; !(R =
|
|
1265
|
+
for (; !(R = S.next()).done; ) {
|
|
1266
1266
|
var O = R.value;
|
|
1267
1267
|
if (O && !fe(O[1]))
|
|
1268
1268
|
return !1;
|
|
@@ -1307,23 +1307,23 @@ Valid keys: ` + JSON.stringify(Object.keys(c), null, " ")
|
|
|
1307
1307
|
return x;
|
|
1308
1308
|
}
|
|
1309
1309
|
}
|
|
1310
|
-
function
|
|
1310
|
+
function Me(c) {
|
|
1311
1311
|
return !c.constructor || !c.constructor.name ? l : c.constructor.name;
|
|
1312
1312
|
}
|
|
1313
1313
|
return E.checkPropTypes = a, E.resetWarningCache = a.resetWarningCache, E.PropTypes = E, E;
|
|
1314
1314
|
}, Or;
|
|
1315
1315
|
}
|
|
1316
|
-
var
|
|
1316
|
+
var Cr, nt;
|
|
1317
1317
|
function un() {
|
|
1318
1318
|
if (nt)
|
|
1319
|
-
return
|
|
1319
|
+
return Cr;
|
|
1320
1320
|
nt = 1;
|
|
1321
|
-
var e =
|
|
1321
|
+
var e = Sr();
|
|
1322
1322
|
function r() {
|
|
1323
1323
|
}
|
|
1324
1324
|
function o() {
|
|
1325
1325
|
}
|
|
1326
|
-
return o.resetWarningCache = r,
|
|
1326
|
+
return o.resetWarningCache = r, Cr = function() {
|
|
1327
1327
|
function n(s, f, d, p, g, m) {
|
|
1328
1328
|
if (m !== e) {
|
|
1329
1329
|
var l = new Error(
|
|
@@ -1360,7 +1360,7 @@ function un() {
|
|
|
1360
1360
|
resetWarningCache: r
|
|
1361
1361
|
};
|
|
1362
1362
|
return i.PropTypes = i, i;
|
|
1363
|
-
},
|
|
1363
|
+
}, Cr;
|
|
1364
1364
|
}
|
|
1365
1365
|
if (process.env.NODE_ENV !== "production") {
|
|
1366
1366
|
var ln = bt(), cn = !0;
|
|
@@ -1479,12 +1479,12 @@ const xn = {
|
|
|
1479
1479
|
borderRadius: 4
|
|
1480
1480
|
}, En = xn, An = process.env.NODE_ENV !== "production" ? He.oneOfType([He.number, He.string, He.object, He.array]) : {}, Re = An;
|
|
1481
1481
|
function Je(e, r) {
|
|
1482
|
-
return r ?
|
|
1482
|
+
return r ? Ce(e, r, {
|
|
1483
1483
|
clone: !1
|
|
1484
1484
|
// No need to clone deep, it's way faster.
|
|
1485
1485
|
}) : e;
|
|
1486
1486
|
}
|
|
1487
|
-
const
|
|
1487
|
+
const Pr = {
|
|
1488
1488
|
xs: 0,
|
|
1489
1489
|
// phone
|
|
1490
1490
|
sm: 600,
|
|
@@ -1499,9 +1499,9 @@ const Sr = {
|
|
|
1499
1499
|
// Sorted ASC by size. That's important.
|
|
1500
1500
|
// It can't be configured as it's used statically for propTypes.
|
|
1501
1501
|
keys: ["xs", "sm", "md", "lg", "xl"],
|
|
1502
|
-
up: (e) => `@media (min-width:${
|
|
1502
|
+
up: (e) => `@media (min-width:${Pr[e]}px)`
|
|
1503
1503
|
};
|
|
1504
|
-
function
|
|
1504
|
+
function _e(e, r, o) {
|
|
1505
1505
|
const n = e.theme || {};
|
|
1506
1506
|
if (Array.isArray(r)) {
|
|
1507
1507
|
const i = n.breakpoints || at;
|
|
@@ -1510,7 +1510,7 @@ function Ce(e, r, o) {
|
|
|
1510
1510
|
if (typeof r == "object") {
|
|
1511
1511
|
const i = n.breakpoints || at;
|
|
1512
1512
|
return Object.keys(r).reduce((s, f) => {
|
|
1513
|
-
if (Object.keys(i.values ||
|
|
1513
|
+
if (Object.keys(i.values || Pr).indexOf(f) !== -1) {
|
|
1514
1514
|
const d = i.up(f);
|
|
1515
1515
|
s[d] = o(r[f], f);
|
|
1516
1516
|
} else {
|
|
@@ -1559,7 +1559,7 @@ function L(e) {
|
|
|
1559
1559
|
if (s[r] == null)
|
|
1560
1560
|
return null;
|
|
1561
1561
|
const f = s[r], d = s.theme, p = ar(d, n) || {};
|
|
1562
|
-
return
|
|
1562
|
+
return _e(s, f, (m) => {
|
|
1563
1563
|
let l = or(p, a, m);
|
|
1564
1564
|
return m === l && typeof m == "string" && (l = or(p, a, `${r}${m === "default" ? "" : xt(m)}`, m)), o === !1 ? l : {
|
|
1565
1565
|
[o]: l
|
|
@@ -1570,11 +1570,11 @@ function L(e) {
|
|
|
1570
1570
|
[r]: Re
|
|
1571
1571
|
} : {}, i.filterProps = [r], i;
|
|
1572
1572
|
}
|
|
1573
|
-
function
|
|
1573
|
+
function Cn(e) {
|
|
1574
1574
|
const r = {};
|
|
1575
1575
|
return (o) => (r[o] === void 0 && (r[o] = e(o)), r[o]);
|
|
1576
1576
|
}
|
|
1577
|
-
const
|
|
1577
|
+
const _n = {
|
|
1578
1578
|
m: "margin",
|
|
1579
1579
|
p: "padding"
|
|
1580
1580
|
}, Rn = {
|
|
@@ -1589,15 +1589,15 @@ const Cn = {
|
|
|
1589
1589
|
marginY: "my",
|
|
1590
1590
|
paddingX: "px",
|
|
1591
1591
|
paddingY: "py"
|
|
1592
|
-
}, wn =
|
|
1592
|
+
}, wn = Cn((e) => {
|
|
1593
1593
|
if (e.length > 2)
|
|
1594
1594
|
if (it[e])
|
|
1595
1595
|
e = it[e];
|
|
1596
1596
|
else
|
|
1597
1597
|
return [e];
|
|
1598
|
-
const [r, o] = e.split(""), n =
|
|
1598
|
+
const [r, o] = e.split(""), n = _n[r], a = Rn[o] || "";
|
|
1599
1599
|
return Array.isArray(a) ? a.map((i) => n + i) : [n + a];
|
|
1600
|
-
}), ir = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], sr = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"],
|
|
1600
|
+
}), ir = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], sr = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Sn = [...ir, ...sr];
|
|
1601
1601
|
function Qe(e, r, o, n) {
|
|
1602
1602
|
var a;
|
|
1603
1603
|
const i = (a = ar(e, r, !1)) != null ? a : o;
|
|
@@ -1616,14 +1616,14 @@ function er(e, r) {
|
|
|
1616
1616
|
const o = Math.abs(r), n = e(o);
|
|
1617
1617
|
return r >= 0 ? n : typeof n == "number" ? -n : `-${n}`;
|
|
1618
1618
|
}
|
|
1619
|
-
function
|
|
1619
|
+
function Pn(e, r) {
|
|
1620
1620
|
return (o) => e.reduce((n, a) => (n[a] = er(r, o), n), {});
|
|
1621
1621
|
}
|
|
1622
1622
|
function $n(e, r, o, n) {
|
|
1623
1623
|
if (r.indexOf(o) === -1)
|
|
1624
1624
|
return null;
|
|
1625
|
-
const a = wn(o), i =
|
|
1626
|
-
return
|
|
1625
|
+
const a = wn(o), i = Pn(a, n), s = e[o];
|
|
1626
|
+
return _e(e, s, i);
|
|
1627
1627
|
}
|
|
1628
1628
|
function At(e, r) {
|
|
1629
1629
|
const o = Et(e.theme);
|
|
@@ -1639,7 +1639,7 @@ function Q(e) {
|
|
|
1639
1639
|
}
|
|
1640
1640
|
Q.propTypes = process.env.NODE_ENV !== "production" ? sr.reduce((e, r) => (e[r] = Re, e), {}) : {};
|
|
1641
1641
|
Q.filterProps = sr;
|
|
1642
|
-
process.env.NODE_ENV !== "production" &&
|
|
1642
|
+
process.env.NODE_ENV !== "production" && Sn.reduce((e, r) => (e[r] = Re, e), {});
|
|
1643
1643
|
function kn(e = 8) {
|
|
1644
1644
|
if (e.mui)
|
|
1645
1645
|
return e;
|
|
@@ -1664,11 +1664,11 @@ const jn = L({
|
|
|
1664
1664
|
prop: "border",
|
|
1665
1665
|
themeKey: "borders",
|
|
1666
1666
|
transform: Ee
|
|
1667
|
-
}),
|
|
1667
|
+
}), Mn = L({
|
|
1668
1668
|
prop: "borderTop",
|
|
1669
1669
|
themeKey: "borders",
|
|
1670
1670
|
transform: Ee
|
|
1671
|
-
}),
|
|
1671
|
+
}), In = L({
|
|
1672
1672
|
prop: "borderRight",
|
|
1673
1673
|
themeKey: "borders",
|
|
1674
1674
|
transform: Ee
|
|
@@ -1700,7 +1700,7 @@ const jn = L({
|
|
|
1700
1700
|
const r = Qe(e.theme, "shape.borderRadius", 4, "borderRadius"), o = (n) => ({
|
|
1701
1701
|
borderRadius: er(r, n)
|
|
1702
1702
|
});
|
|
1703
|
-
return
|
|
1703
|
+
return _e(e, e.borderRadius, o);
|
|
1704
1704
|
}
|
|
1705
1705
|
return null;
|
|
1706
1706
|
};
|
|
@@ -1708,13 +1708,13 @@ lr.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
1708
1708
|
borderRadius: Re
|
|
1709
1709
|
} : {};
|
|
1710
1710
|
lr.filterProps = ["borderRadius"];
|
|
1711
|
-
ur(jn,
|
|
1711
|
+
ur(jn, Mn, In, Dn, Bn, Nn, Fn, Wn, Un, Ln, lr);
|
|
1712
1712
|
const cr = (e) => {
|
|
1713
1713
|
if (e.gap !== void 0 && e.gap !== null) {
|
|
1714
1714
|
const r = Qe(e.theme, "spacing", 8, "gap"), o = (n) => ({
|
|
1715
1715
|
gap: er(r, n)
|
|
1716
1716
|
});
|
|
1717
|
-
return
|
|
1717
|
+
return _e(e, e.gap, o);
|
|
1718
1718
|
}
|
|
1719
1719
|
return null;
|
|
1720
1720
|
};
|
|
@@ -1727,7 +1727,7 @@ const fr = (e) => {
|
|
|
1727
1727
|
const r = Qe(e.theme, "spacing", 8, "columnGap"), o = (n) => ({
|
|
1728
1728
|
columnGap: er(r, n)
|
|
1729
1729
|
});
|
|
1730
|
-
return
|
|
1730
|
+
return _e(e, e.columnGap, o);
|
|
1731
1731
|
}
|
|
1732
1732
|
return null;
|
|
1733
1733
|
};
|
|
@@ -1740,7 +1740,7 @@ const dr = (e) => {
|
|
|
1740
1740
|
const r = Qe(e.theme, "spacing", 8, "rowGap"), o = (n) => ({
|
|
1741
1741
|
rowGap: er(r, n)
|
|
1742
1742
|
});
|
|
1743
|
-
return
|
|
1743
|
+
return _e(e, e.rowGap, o);
|
|
1744
1744
|
}
|
|
1745
1745
|
return null;
|
|
1746
1746
|
};
|
|
@@ -1796,7 +1796,7 @@ const ro = L({
|
|
|
1796
1796
|
if (e.maxWidth !== void 0 && e.maxWidth !== null) {
|
|
1797
1797
|
const r = (o) => {
|
|
1798
1798
|
var n, a;
|
|
1799
|
-
const i = ((n = e.theme) == null || (n = n.breakpoints) == null || (n = n.values) == null ? void 0 : n[o]) ||
|
|
1799
|
+
const i = ((n = e.theme) == null || (n = n.breakpoints) == null || (n = n.values) == null ? void 0 : n[o]) || Pr[o];
|
|
1800
1800
|
return i ? ((a = e.theme) == null || (a = a.breakpoints) == null ? void 0 : a.unit) !== "px" ? {
|
|
1801
1801
|
maxWidth: `${i}${e.theme.breakpoints.unit}`
|
|
1802
1802
|
} : {
|
|
@@ -1805,7 +1805,7 @@ const ro = L({
|
|
|
1805
1805
|
maxWidth: me(o)
|
|
1806
1806
|
};
|
|
1807
1807
|
};
|
|
1808
|
-
return
|
|
1808
|
+
return _e(e, e.maxWidth, r);
|
|
1809
1809
|
}
|
|
1810
1810
|
return null;
|
|
1811
1811
|
};
|
|
@@ -2145,7 +2145,7 @@ function co() {
|
|
|
2145
2145
|
[o]: n
|
|
2146
2146
|
};
|
|
2147
2147
|
const l = ar(a, p) || {};
|
|
2148
|
-
return m ? m(s) :
|
|
2148
|
+
return m ? m(s) : _e(s, n, (A) => {
|
|
2149
2149
|
let b = or(l, g, A);
|
|
2150
2150
|
return A === b && typeof A == "string" && (b = or(l, g, `${o}${A === "default" ? "" : xt(A)}`, A)), d === !1 ? b : {
|
|
2151
2151
|
[d]: b
|
|
@@ -2178,7 +2178,7 @@ function co() {
|
|
|
2178
2178
|
if (s[E])
|
|
2179
2179
|
l = Je(l, e(E, A, i, s));
|
|
2180
2180
|
else {
|
|
2181
|
-
const b =
|
|
2181
|
+
const b = _e({
|
|
2182
2182
|
theme: i
|
|
2183
2183
|
}, A, (w) => ({
|
|
2184
2184
|
[E]: w
|
|
@@ -2206,7 +2206,7 @@ function po(e = {}, ...r) {
|
|
|
2206
2206
|
spacing: a,
|
|
2207
2207
|
shape: i = {}
|
|
2208
2208
|
} = e, s = Le(e, fo), f = vn(o), d = kn(a);
|
|
2209
|
-
let p =
|
|
2209
|
+
let p = Ce({
|
|
2210
2210
|
breakpoints: f,
|
|
2211
2211
|
direction: "ltr",
|
|
2212
2212
|
components: {},
|
|
@@ -2217,7 +2217,7 @@ function po(e = {}, ...r) {
|
|
|
2217
2217
|
spacing: d,
|
|
2218
2218
|
shape: ie({}, En, i)
|
|
2219
2219
|
}, s);
|
|
2220
|
-
return p = r.reduce((g, m) =>
|
|
2220
|
+
return p = r.reduce((g, m) => Ce(g, m), p), p.unstable_sxConfig = ie({}, kr, s == null ? void 0 : s.unstable_sxConfig), p.unstable_sx = function(m) {
|
|
2221
2221
|
return Ot({
|
|
2222
2222
|
sx: m,
|
|
2223
2223
|
theme: this
|
|
@@ -2233,11 +2233,11 @@ function go(e) {
|
|
|
2233
2233
|
let o = e.match(r);
|
|
2234
2234
|
return o && o[0].length === 1 && (o = o.map((n) => n + n)), o ? `rgb${o.length === 4 ? "a" : ""}(${o.map((n, a) => a < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1e3) / 1e3).join(", ")})` : "";
|
|
2235
2235
|
}
|
|
2236
|
-
function
|
|
2236
|
+
function Pe(e) {
|
|
2237
2237
|
if (e.type)
|
|
2238
2238
|
return e;
|
|
2239
2239
|
if (e.charAt(0) === "#")
|
|
2240
|
-
return
|
|
2240
|
+
return Pe(go(e));
|
|
2241
2241
|
const r = e.indexOf("("), o = e.substring(0, r);
|
|
2242
2242
|
if (["rgb", "rgba", "hsl", "hsla", "color"].indexOf(o) === -1)
|
|
2243
2243
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
|
|
@@ -2266,7 +2266,7 @@ function pr(e) {
|
|
|
2266
2266
|
return r.indexOf("rgb") !== -1 ? n = n.map((a, i) => i < 3 ? parseInt(a, 10) : a) : r.indexOf("hsl") !== -1 && (n[1] = `${n[1]}%`, n[2] = `${n[2]}%`), r.indexOf("color") !== -1 ? n = `${o} ${n.join(" ")}` : n = `${n.join(", ")}`, `${r}(${n})`;
|
|
2267
2267
|
}
|
|
2268
2268
|
function yo(e) {
|
|
2269
|
-
e =
|
|
2269
|
+
e = Pe(e);
|
|
2270
2270
|
const {
|
|
2271
2271
|
values: r
|
|
2272
2272
|
} = e, o = r[0], n = r[1] / 100, a = r[2] / 100, i = n * Math.min(a, 1 - a), s = (p, g = (p + o / 30) % 12) => a - i * Math.max(Math.min(g - 3, 9 - g, 1), -1);
|
|
@@ -2278,8 +2278,8 @@ function yo(e) {
|
|
|
2278
2278
|
});
|
|
2279
2279
|
}
|
|
2280
2280
|
function st(e) {
|
|
2281
|
-
e =
|
|
2282
|
-
let r = e.type === "hsl" || e.type === "hsla" ?
|
|
2281
|
+
e = Pe(e);
|
|
2282
|
+
let r = e.type === "hsl" || e.type === "hsla" ? Pe(yo(e)).values : e.values;
|
|
2283
2283
|
return r = r.map((o) => (e.type !== "color" && (o /= 255), o <= 0.03928 ? o / 12.92 : ((o + 0.055) / 1.055) ** 2.4)), Number((0.2126 * r[0] + 0.7152 * r[1] + 0.0722 * r[2]).toFixed(3));
|
|
2284
2284
|
}
|
|
2285
2285
|
function ut(e, r) {
|
|
@@ -2287,10 +2287,10 @@ function ut(e, r) {
|
|
|
2287
2287
|
return (Math.max(o, n) + 0.05) / (Math.min(o, n) + 0.05);
|
|
2288
2288
|
}
|
|
2289
2289
|
function pe(e, r) {
|
|
2290
|
-
return e =
|
|
2290
|
+
return e = Pe(e), r = jr(r), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${r}` : e.values[3] = r, pr(e);
|
|
2291
2291
|
}
|
|
2292
2292
|
function mo(e, r) {
|
|
2293
|
-
if (e =
|
|
2293
|
+
if (e = Pe(e), r = jr(r), e.type.indexOf("hsl") !== -1)
|
|
2294
2294
|
e.values[2] *= 1 - r;
|
|
2295
2295
|
else if (e.type.indexOf("rgb") !== -1 || e.type.indexOf("color") !== -1)
|
|
2296
2296
|
for (let o = 0; o < 3; o += 1)
|
|
@@ -2298,7 +2298,7 @@ function mo(e, r) {
|
|
|
2298
2298
|
return pr(e);
|
|
2299
2299
|
}
|
|
2300
2300
|
function ho(e, r) {
|
|
2301
|
-
if (e =
|
|
2301
|
+
if (e = Pe(e), r = jr(r), e.type.indexOf("hsl") !== -1)
|
|
2302
2302
|
e.values[2] += (100 - e.values[2]) * r;
|
|
2303
2303
|
else if (e.type.indexOf("rgb") !== -1)
|
|
2304
2304
|
for (let o = 0; o < 3; o += 1)
|
|
@@ -2401,7 +2401,7 @@ const vo = {
|
|
|
2401
2401
|
A200: "#448aff",
|
|
2402
2402
|
A400: "#2979ff",
|
|
2403
2403
|
A700: "#2962ff"
|
|
2404
|
-
}, re = Oo,
|
|
2404
|
+
}, re = Oo, Co = {
|
|
2405
2405
|
50: "#e1f5fe",
|
|
2406
2406
|
100: "#b3e5fc",
|
|
2407
2407
|
200: "#81d4fa",
|
|
@@ -2416,7 +2416,7 @@ const vo = {
|
|
|
2416
2416
|
A200: "#40c4ff",
|
|
2417
2417
|
A400: "#00b0ff",
|
|
2418
2418
|
A700: "#0091ea"
|
|
2419
|
-
}, J =
|
|
2419
|
+
}, J = Co, _o = {
|
|
2420
2420
|
50: "#e8f5e9",
|
|
2421
2421
|
100: "#c8e6c9",
|
|
2422
2422
|
200: "#a5d6a7",
|
|
@@ -2431,7 +2431,7 @@ const vo = {
|
|
|
2431
2431
|
A200: "#69f0ae",
|
|
2432
2432
|
A400: "#00e676",
|
|
2433
2433
|
A700: "#00c853"
|
|
2434
|
-
}, oe =
|
|
2434
|
+
}, oe = _o, Ro = ["mode", "contrastThreshold", "tonalOffset"], lt = {
|
|
2435
2435
|
// The colors used to style the text.
|
|
2436
2436
|
text: {
|
|
2437
2437
|
// The most important text.
|
|
@@ -2468,7 +2468,7 @@ const vo = {
|
|
|
2468
2468
|
focusOpacity: 0.12,
|
|
2469
2469
|
activatedOpacity: 0.12
|
|
2470
2470
|
}
|
|
2471
|
-
},
|
|
2471
|
+
}, _r = {
|
|
2472
2472
|
text: {
|
|
2473
2473
|
primary: Ze.white,
|
|
2474
2474
|
secondary: "rgba(255, 255, 255, 0.7)",
|
|
@@ -2509,7 +2509,7 @@ function wo(e = "light") {
|
|
|
2509
2509
|
dark: re[800]
|
|
2510
2510
|
};
|
|
2511
2511
|
}
|
|
2512
|
-
function
|
|
2512
|
+
function So(e = "light") {
|
|
2513
2513
|
return e === "dark" ? {
|
|
2514
2514
|
main: Y[200],
|
|
2515
2515
|
light: Y[50],
|
|
@@ -2520,7 +2520,7 @@ function Po(e = "light") {
|
|
|
2520
2520
|
dark: Y[700]
|
|
2521
2521
|
};
|
|
2522
2522
|
}
|
|
2523
|
-
function
|
|
2523
|
+
function Po(e = "light") {
|
|
2524
2524
|
return e === "dark" ? {
|
|
2525
2525
|
main: q[500],
|
|
2526
2526
|
light: q[300],
|
|
@@ -2565,14 +2565,14 @@ function jo(e = "light") {
|
|
|
2565
2565
|
dark: ae[900]
|
|
2566
2566
|
};
|
|
2567
2567
|
}
|
|
2568
|
-
function
|
|
2568
|
+
function Mo(e) {
|
|
2569
2569
|
const {
|
|
2570
2570
|
mode: r = "light",
|
|
2571
2571
|
contrastThreshold: o = 3,
|
|
2572
2572
|
tonalOffset: n = 0.2
|
|
2573
|
-
} = e, a = Le(e, Ro), i = e.primary || wo(r), s = e.secondary ||
|
|
2573
|
+
} = e, a = Le(e, Ro), i = e.primary || wo(r), s = e.secondary || So(r), f = e.error || Po(r), d = e.info || $o(r), p = e.success || ko(r), g = e.warning || jo(r);
|
|
2574
2574
|
function m(b) {
|
|
2575
|
-
const w = ut(b,
|
|
2575
|
+
const w = ut(b, _r.text.primary) >= o ? _r.text.primary : lt.text.primary;
|
|
2576
2576
|
if (process.env.NODE_ENV !== "production") {
|
|
2577
2577
|
const N = ut(b, w);
|
|
2578
2578
|
N < 3 && console.error([`MUI: The contrast ratio of ${N}:1 for ${w} on ${b}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|
|
@@ -2607,10 +2607,10 @@ const theme2 = createTheme({ palette: {
|
|
|
2607
2607
|
} });` : Ue(12, w ? ` (${w})` : "", JSON.stringify(b.main)));
|
|
2608
2608
|
return ct(b, "light", G, n), ct(b, "dark", H, n), b.contrastText || (b.contrastText = m(b.main)), b;
|
|
2609
2609
|
}, E = {
|
|
2610
|
-
dark:
|
|
2610
|
+
dark: _r,
|
|
2611
2611
|
light: lt
|
|
2612
2612
|
};
|
|
2613
|
-
return process.env.NODE_ENV !== "production" && (E[r] || console.error(`MUI: The palette mode \`${r}\` is not supported.`)),
|
|
2613
|
+
return process.env.NODE_ENV !== "production" && (E[r] || console.error(`MUI: The palette mode \`${r}\` is not supported.`)), Ce(ie({
|
|
2614
2614
|
// A collection of common colors.
|
|
2615
2615
|
common: ie({}, Ze),
|
|
2616
2616
|
// prevent mutable object.
|
|
@@ -2664,7 +2664,7 @@ const theme2 = createTheme({ palette: {
|
|
|
2664
2664
|
tonalOffset: n
|
|
2665
2665
|
}, E[r]), a);
|
|
2666
2666
|
}
|
|
2667
|
-
const
|
|
2667
|
+
const Io = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
|
|
2668
2668
|
function Do(e) {
|
|
2669
2669
|
return Math.round(e * 1e5) / 1e5;
|
|
2670
2670
|
}
|
|
@@ -2687,7 +2687,7 @@ function Bo(e, r) {
|
|
|
2687
2687
|
// Apply the CSS properties to all the variants.
|
|
2688
2688
|
allVariants: g,
|
|
2689
2689
|
pxToRem: m
|
|
2690
|
-
} = o, l = Le(o,
|
|
2690
|
+
} = o, l = Le(o, Io);
|
|
2691
2691
|
process.env.NODE_ENV !== "production" && (typeof a != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof p != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
|
|
2692
2692
|
const E = a / 14, A = m || ((N) => `${N / p * E}rem`), b = (N, G, H, X, v) => ie({
|
|
2693
2693
|
fontFamily: n,
|
|
@@ -2720,7 +2720,7 @@ function Bo(e, r) {
|
|
|
2720
2720
|
letterSpacing: "inherit"
|
|
2721
2721
|
}
|
|
2722
2722
|
};
|
|
2723
|
-
return
|
|
2723
|
+
return Ce(ie({
|
|
2724
2724
|
htmlFontSize: p,
|
|
2725
2725
|
pxToRem: A,
|
|
2726
2726
|
fontFamily: n,
|
|
@@ -2811,8 +2811,8 @@ function Xo(e = {}, ...r) {
|
|
|
2811
2811
|
} = e, s = Le(e, Jo);
|
|
2812
2812
|
if (e.vars)
|
|
2813
2813
|
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name." : Ue(18));
|
|
2814
|
-
const f =
|
|
2815
|
-
let p =
|
|
2814
|
+
const f = Mo(n), d = po(e);
|
|
2815
|
+
let p = Ce(d, {
|
|
2816
2816
|
mixins: bo(d.breakpoints, o),
|
|
2817
2817
|
palette: f,
|
|
2818
2818
|
// Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
|
|
@@ -2821,7 +2821,7 @@ function Xo(e = {}, ...r) {
|
|
|
2821
2821
|
transitions: Ko(a),
|
|
2822
2822
|
zIndex: ie({}, Ho)
|
|
2823
2823
|
});
|
|
2824
|
-
if (p =
|
|
2824
|
+
if (p = Ce(p, s), p = r.reduce((g, m) => Ce(g, m), p), process.env.NODE_ENV !== "production") {
|
|
2825
2825
|
const g = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], m = (l, E) => {
|
|
2826
2826
|
let A;
|
|
2827
2827
|
for (A in l) {
|
|
@@ -2853,6 +2853,71 @@ function Xo(e = {}, ...r) {
|
|
|
2853
2853
|
}, p;
|
|
2854
2854
|
}
|
|
2855
2855
|
const Zo = {
|
|
2856
|
+
MuiStepper: {
|
|
2857
|
+
styleOverrides: {
|
|
2858
|
+
root: {
|
|
2859
|
+
justifyContent: "center"
|
|
2860
|
+
}
|
|
2861
|
+
}
|
|
2862
|
+
},
|
|
2863
|
+
MuiStep: {
|
|
2864
|
+
styleOverrides: {
|
|
2865
|
+
root: ({ theme: e, ownerState: r }) => ({
|
|
2866
|
+
"> .MuiStepButton-root": {
|
|
2867
|
+
...e.typography.body2,
|
|
2868
|
+
padding: "8px 20px",
|
|
2869
|
+
"&:disabled": {
|
|
2870
|
+
backgroundColor: "green"
|
|
2871
|
+
},
|
|
2872
|
+
"&.MuiButtonBase-root": {
|
|
2873
|
+
backgroundColor: "white",
|
|
2874
|
+
borderRadius: 100,
|
|
2875
|
+
outline: "4px solid white",
|
|
2876
|
+
border: `1px solid ${e.palette.neutral300}`,
|
|
2877
|
+
...r.active && {
|
|
2878
|
+
border: `2px solid ${e.palette.primary.main}`,
|
|
2879
|
+
// NOTE:
|
|
2880
|
+
// These not selectors are useed to NOT inherit the active color if present. If you need to expand this see the other color variants of icons here: https://mui.com/material-ui/api/icon/
|
|
2881
|
+
"& .MuiIcon-root:not(.MuiIcon-colorSuccess):not(.MuiIcon-colorWarning):not(.MuiIcon-colorError)": {
|
|
2882
|
+
color: e.palette.primary.main
|
|
2883
|
+
}
|
|
2884
|
+
},
|
|
2885
|
+
"&:disabled, &:hover": {
|
|
2886
|
+
backgroundColor: e.palette.neutral200
|
|
2887
|
+
},
|
|
2888
|
+
"& .MuiStepLabel-labelContainer": {
|
|
2889
|
+
color: e.palette.text.primary
|
|
2890
|
+
},
|
|
2891
|
+
// WARN:
|
|
2892
|
+
// This customization removes the default icon when icon prop is not included.
|
|
2893
|
+
"& .MuiSvgIcon-root": {
|
|
2894
|
+
display: "none"
|
|
2895
|
+
}
|
|
2896
|
+
}
|
|
2897
|
+
}
|
|
2898
|
+
})
|
|
2899
|
+
}
|
|
2900
|
+
},
|
|
2901
|
+
MuiStepConnector: {
|
|
2902
|
+
styleOverrides: {
|
|
2903
|
+
line: {
|
|
2904
|
+
borderColor: "netural300",
|
|
2905
|
+
borderWidth: "1px"
|
|
2906
|
+
}
|
|
2907
|
+
}
|
|
2908
|
+
},
|
|
2909
|
+
MuiStepButton: {
|
|
2910
|
+
styleOverrides: {
|
|
2911
|
+
root: ({ ownerState: e }) => ({
|
|
2912
|
+
...!e.icon && {
|
|
2913
|
+
"& .MuiStepLabel-iconContainer": {
|
|
2914
|
+
display: "none"
|
|
2915
|
+
}
|
|
2916
|
+
}
|
|
2917
|
+
})
|
|
2918
|
+
}
|
|
2919
|
+
}
|
|
2920
|
+
}, Qo = {
|
|
2856
2921
|
50: "#ede7f6",
|
|
2857
2922
|
100: "#d1c4e9",
|
|
2858
2923
|
200: "#b39ddb",
|
|
@@ -2867,7 +2932,7 @@ const Zo = {
|
|
|
2867
2932
|
A200: "#7c4dff",
|
|
2868
2933
|
A400: "#651fff",
|
|
2869
2934
|
A700: "#6200ea"
|
|
2870
|
-
}, ce =
|
|
2935
|
+
}, ce = Qo, ea = {
|
|
2871
2936
|
50: "#e0f7fa",
|
|
2872
2937
|
100: "#b2ebf2",
|
|
2873
2938
|
200: "#80deea",
|
|
@@ -2882,7 +2947,7 @@ const Zo = {
|
|
|
2882
2947
|
A200: "#18ffff",
|
|
2883
2948
|
A400: "#00e5ff",
|
|
2884
2949
|
A700: "#00b8d4"
|
|
2885
|
-
}, de =
|
|
2950
|
+
}, de = ea, ra = {
|
|
2886
2951
|
50: "#f1f8e9",
|
|
2887
2952
|
100: "#dcedc8",
|
|
2888
2953
|
200: "#c5e1a5",
|
|
@@ -2897,7 +2962,7 @@ const Zo = {
|
|
|
2897
2962
|
A200: "#b2ff59",
|
|
2898
2963
|
A400: "#76ff03",
|
|
2899
2964
|
A700: "#64dd17"
|
|
2900
|
-
}, xe =
|
|
2965
|
+
}, xe = ra, ta = {
|
|
2901
2966
|
50: "#fffde7",
|
|
2902
2967
|
100: "#fff9c4",
|
|
2903
2968
|
200: "#fff59d",
|
|
@@ -2912,7 +2977,7 @@ const Zo = {
|
|
|
2912
2977
|
A200: "#ffff00",
|
|
2913
2978
|
A400: "#ffea00",
|
|
2914
2979
|
A700: "#ffd600"
|
|
2915
|
-
}, ue =
|
|
2980
|
+
}, ue = ta, j = {
|
|
2916
2981
|
blue600: "#1389F6",
|
|
2917
2982
|
blue700: "#287DFD",
|
|
2918
2983
|
blue800: "#285AE6",
|
|
@@ -3163,11 +3228,12 @@ const Zo = {
|
|
|
3163
3228
|
disabledBackground: ne[200],
|
|
3164
3229
|
disabled: ne[700]
|
|
3165
3230
|
}
|
|
3166
|
-
}, gt = "0.15px",
|
|
3231
|
+
}, gt = "0.15px", na = "5.5px", da = Xo({
|
|
3167
3232
|
typography: {
|
|
3168
3233
|
fontFamily: ["Inter", "Roboto", "sans-serif"].join(",")
|
|
3169
3234
|
},
|
|
3170
3235
|
components: {
|
|
3236
|
+
...Zo,
|
|
3171
3237
|
MuiAutocomplete: {
|
|
3172
3238
|
defaultProps: {
|
|
3173
3239
|
ChipProps: {
|
|
@@ -3182,9 +3248,19 @@ const Zo = {
|
|
|
3182
3248
|
}
|
|
3183
3249
|
},
|
|
3184
3250
|
inputRoot: ({ theme: e }) => ({
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3251
|
+
"&.MuiInputBase-hiddenLabel": {
|
|
3252
|
+
padding: e.spacing(1, 1.5),
|
|
3253
|
+
"& .MuiAutocomplete-input": {
|
|
3254
|
+
padding: e.spacing(0)
|
|
3255
|
+
}
|
|
3256
|
+
},
|
|
3257
|
+
"&.MuiInputBase-hiddenLabel.MuiInputBase-sizeSmall": {
|
|
3258
|
+
paddingTop: e.spacing(0.5),
|
|
3259
|
+
paddingBottom: e.spacing(0.5),
|
|
3260
|
+
paddingLeft: e.spacing(1),
|
|
3261
|
+
"& .MuiAutocomplete-input": {
|
|
3262
|
+
padding: e.spacing(0)
|
|
3263
|
+
}
|
|
3188
3264
|
},
|
|
3189
3265
|
gap: e.spacing(1)
|
|
3190
3266
|
})
|
|
@@ -3366,7 +3442,7 @@ const Zo = {
|
|
|
3366
3442
|
MuiFormControl: {
|
|
3367
3443
|
styleOverrides: {
|
|
3368
3444
|
root: {
|
|
3369
|
-
gap:
|
|
3445
|
+
gap: na
|
|
3370
3446
|
}
|
|
3371
3447
|
}
|
|
3372
3448
|
},
|
|
@@ -3399,7 +3475,7 @@ const Zo = {
|
|
|
3399
3475
|
disableUnderline: !0
|
|
3400
3476
|
},
|
|
3401
3477
|
styleOverrides: {
|
|
3402
|
-
root: ({ theme: e
|
|
3478
|
+
root: ({ theme: e }) => ({
|
|
3403
3479
|
backgroundColor: e.palette.neutral100,
|
|
3404
3480
|
borderRadius: e.spacing(1),
|
|
3405
3481
|
lineHeight: e.spacing(3),
|
|
@@ -3426,29 +3502,23 @@ const Zo = {
|
|
|
3426
3502
|
"&.Mui-readOnly": {
|
|
3427
3503
|
border: `1px solid ${e.palette.neutral200}`,
|
|
3428
3504
|
backgroundColor: "inherit"
|
|
3429
|
-
},
|
|
3430
|
-
"&": {
|
|
3431
|
-
padding: e.spacing(1, 1.5),
|
|
3432
|
-
...r.size === "small" && {
|
|
3433
|
-
padding: e.spacing(0.5, 1)
|
|
3434
|
-
}
|
|
3435
3505
|
}
|
|
3436
3506
|
}),
|
|
3437
|
-
input: {
|
|
3438
|
-
padding: 0
|
|
3439
|
-
}
|
|
3507
|
+
input: ({ theme: e, ownerState: r }) => ({
|
|
3508
|
+
padding: r.size === "small" ? e.spacing(0.5, 1) : e.spacing(1, 1.5)
|
|
3509
|
+
})
|
|
3440
3510
|
}
|
|
3441
3511
|
}
|
|
3442
3512
|
},
|
|
3443
3513
|
palette: D
|
|
3444
3514
|
});
|
|
3445
3515
|
export {
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
|
-
|
|
3516
|
+
ia as DemoComponent,
|
|
3517
|
+
sa as HeaderMetadata,
|
|
3518
|
+
fa as HeaderSubtitle,
|
|
3519
|
+
ua as InkPageHeader,
|
|
3520
|
+
la as LinkBreadcrumbs,
|
|
3521
|
+
da as MovableUITheme,
|
|
3522
|
+
ca as PageHeaderActionButtons
|
|
3453
3523
|
};
|
|
3454
3524
|
//# sourceMappingURL=index.mjs.map
|