@devopness/ui-react 2.145.0 → 2.146.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/dist/components/Buttons/Button/Button.d.ts +1 -1
- package/dist/ui-react.cjs +369 -0
- package/dist/ui-react.js +138 -142
- package/package.json +4 -2
package/dist/ui-react.js
CHANGED
|
@@ -568,7 +568,7 @@ function Fp() {
|
|
|
568
568
|
F++;
|
|
569
569
|
}
|
|
570
570
|
}
|
|
571
|
-
function
|
|
571
|
+
function Q() {
|
|
572
572
|
{
|
|
573
573
|
if (F--, F === 0) {
|
|
574
574
|
var m = {
|
|
@@ -688,7 +688,7 @@ function Fp() {
|
|
|
688
688
|
}
|
|
689
689
|
}
|
|
690
690
|
} finally {
|
|
691
|
-
re = !1, H.current = Se,
|
|
691
|
+
re = !1, H.current = Se, Q(), Error.prepareStackTrace = me;
|
|
692
692
|
}
|
|
693
693
|
var pr = m ? m.displayName || m.name : "", Jt = pr ? q(pr) : "";
|
|
694
694
|
return typeof m == "function" && ne.set(m, Jt), Jt;
|
|
@@ -1044,7 +1044,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1044
1044
|
}()), Ur;
|
|
1045
1045
|
}
|
|
1046
1046
|
process.env.NODE_ENV === "production" ? Go.exports = Vp() : Go.exports = Fp();
|
|
1047
|
-
var
|
|
1047
|
+
var J = Go.exports, rt = function() {
|
|
1048
1048
|
return rt = Object.assign || function(t) {
|
|
1049
1049
|
for (var r, n = 1, o = arguments.length; n < o; n++) {
|
|
1050
1050
|
r = arguments[n];
|
|
@@ -2039,16 +2039,16 @@ function Yd(e, t, r) {
|
|
|
2039
2039
|
return function(T, R, U) {
|
|
2040
2040
|
var I = T.attrs, u = T.componentStyle, P = T.defaultProps, j = T.foldedComponentIds, _ = T.styledComponentId, Y = T.target, F = ke.useContext(Mi), W = Ra(), G = T.shouldForwardProp || W.shouldForwardProp;
|
|
2041
2041
|
process.env.NODE_ENV !== "production" && oa(_);
|
|
2042
|
-
var ae = dd(R, F, P) || Rr, te = function(
|
|
2043
|
-
for (var q, re = rt(rt({}, H), { className: void 0, theme: Z }), ne = 0; ne <
|
|
2044
|
-
var pe = $r(q =
|
|
2042
|
+
var ae = dd(R, F, P) || Rr, te = function(Q, H, Z) {
|
|
2043
|
+
for (var q, re = rt(rt({}, H), { className: void 0, theme: Z }), ne = 0; ne < Q.length; ne += 1) {
|
|
2044
|
+
var pe = $r(q = Q[ne]) ? q(re) : q;
|
|
2045
2045
|
for (var A in pe) re[A] = A === "className" ? rr(re[A], pe[A]) : A === "style" ? rt(rt({}, re[A]), pe[A]) : pe[A];
|
|
2046
2046
|
}
|
|
2047
2047
|
return H.className && (re.className = rr(re.className, H.className)), re;
|
|
2048
2048
|
}(I, R, ae), x = te.as || Y, k = {};
|
|
2049
2049
|
for (var B in te) te[B] === void 0 || B[0] === "$" || B === "as" || B === "theme" && te.theme === ae || (B === "forwardedAs" ? k.as = te.forwardedAs : G && !G(B, x) || (k[B] = te[B], G || process.env.NODE_ENV !== "development" || Up(B) || Ma.has(B) || !Zo.has(x) || (Ma.add(B), console.warn('styled-components: it looks like an unknown prop "'.concat(B, '" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));
|
|
2050
|
-
var ee = function(
|
|
2051
|
-
var Z = Ra(), q =
|
|
2050
|
+
var ee = function(Q, H) {
|
|
2051
|
+
var Z = Ra(), q = Q.generateAndInjectStyles(H, Z.styleSheet, Z.stylis);
|
|
2052
2052
|
return process.env.NODE_ENV !== "production" && oa(q), q;
|
|
2053
2053
|
}(u, te);
|
|
2054
2054
|
process.env.NODE_ENV !== "production" && T.warnTooManyClasses && T.warnTooManyClasses(ee);
|
|
@@ -2863,7 +2863,7 @@ var _0 = { register: (e = "l-dot-spinner") => {
|
|
|
2863
2863
|
});
|
|
2864
2864
|
}, element: Ba };
|
|
2865
2865
|
_0.register();
|
|
2866
|
-
const A0 = ({ color: e, size: t }) => /* @__PURE__ */
|
|
2866
|
+
const A0 = ({ color: e, size: t }) => /* @__PURE__ */ J.jsx(
|
|
2867
2867
|
"l-dot-spinner",
|
|
2868
2868
|
{
|
|
2869
2869
|
size: t,
|
|
@@ -2984,12 +2984,12 @@ const A0 = ({ color: e, size: t }) => /* @__PURE__ */ Q.jsx(
|
|
|
2984
2984
|
{ type: "icon", accessor: "treeView", component: x0 },
|
|
2985
2985
|
{ type: "icon", accessor: "folder", component: h0 }
|
|
2986
2986
|
], xn = 12, ih = (e, t = 13, r = "", n = 1, o = "") => {
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
switch (i.type) {
|
|
2987
|
+
if (e === void 0)
|
|
2988
|
+
return /* @__PURE__ */ J.jsx(J.Fragment, {});
|
|
2989
|
+
const i = oh.find(({ accessor: a }) => a === e);
|
|
2990
|
+
switch (i == null ? void 0 : i.type) {
|
|
2991
2991
|
case "icon":
|
|
2992
|
-
return /* @__PURE__ */
|
|
2992
|
+
return /* @__PURE__ */ J.jsx(
|
|
2993
2993
|
i.component,
|
|
2994
2994
|
{
|
|
2995
2995
|
"aria-label": o,
|
|
@@ -2999,7 +2999,7 @@ const A0 = ({ color: e, size: t }) => /* @__PURE__ */ Q.jsx(
|
|
|
2999
2999
|
}
|
|
3000
3000
|
);
|
|
3001
3001
|
case "image":
|
|
3002
|
-
return /* @__PURE__ */
|
|
3002
|
+
return /* @__PURE__ */ J.jsx(
|
|
3003
3003
|
"img",
|
|
3004
3004
|
{
|
|
3005
3005
|
"aria-label": o,
|
|
@@ -3009,7 +3009,7 @@ const A0 = ({ color: e, size: t }) => /* @__PURE__ */ Q.jsx(
|
|
|
3009
3009
|
}
|
|
3010
3010
|
);
|
|
3011
3011
|
default:
|
|
3012
|
-
return /* @__PURE__ */
|
|
3012
|
+
return /* @__PURE__ */ J.jsx(
|
|
3013
3013
|
"img",
|
|
3014
3014
|
{
|
|
3015
3015
|
"aria-label": o,
|
|
@@ -3036,57 +3036,53 @@ const A0 = ({ color: e, size: t }) => /* @__PURE__ */ Q.jsx(
|
|
|
3036
3036
|
backgroundColor: o,
|
|
3037
3037
|
borderColor: i,
|
|
3038
3038
|
disabled: a,
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
...M
|
|
3039
|
+
tabIndex: s,
|
|
3040
|
+
loading: c,
|
|
3041
|
+
icon: f,
|
|
3042
|
+
children: p,
|
|
3043
|
+
revertOrientation: d = !1,
|
|
3044
|
+
noMargin: h,
|
|
3045
|
+
noIconMargin: b,
|
|
3046
|
+
noPointerEvents: S,
|
|
3047
|
+
iconSize: g,
|
|
3048
|
+
iconColor: v,
|
|
3049
|
+
...C
|
|
3051
3050
|
}) => {
|
|
3052
|
-
const
|
|
3051
|
+
const M = () => c === void 0 && f === void 0 || !c && f === void 0 ? /* @__PURE__ */ J.jsx(J.Fragment, {}) : /* @__PURE__ */ J.jsx(
|
|
3053
3052
|
t1,
|
|
3054
3053
|
{
|
|
3055
|
-
"data-testid":
|
|
3056
|
-
reversed:
|
|
3057
|
-
noIconMargin:
|
|
3058
|
-
size:
|
|
3054
|
+
"data-testid": c ? "loading" : "icon",
|
|
3055
|
+
reversed: d,
|
|
3056
|
+
noIconMargin: b,
|
|
3057
|
+
size: g ?? Va,
|
|
3059
3058
|
children: ih(
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
|
|
3059
|
+
c ? "loading" : f,
|
|
3060
|
+
g ?? Va,
|
|
3061
|
+
c ? ah(r) : v
|
|
3063
3062
|
)
|
|
3064
3063
|
}
|
|
3065
3064
|
);
|
|
3066
|
-
return /* @__PURE__ */
|
|
3065
|
+
return /* @__PURE__ */ J.jsxs(
|
|
3067
3066
|
n1,
|
|
3068
3067
|
{
|
|
3069
3068
|
"data-testid": "button",
|
|
3070
3069
|
size: t,
|
|
3071
3070
|
variant: r,
|
|
3072
|
-
reversed:
|
|
3073
|
-
noPointerEvents:
|
|
3071
|
+
reversed: d,
|
|
3072
|
+
noPointerEvents: S,
|
|
3074
3073
|
custom: {
|
|
3075
3074
|
color: n,
|
|
3076
3075
|
backgroundColor: o,
|
|
3077
3076
|
borderColor: i
|
|
3078
3077
|
},
|
|
3079
|
-
noMargin:
|
|
3078
|
+
noMargin: h,
|
|
3080
3079
|
disabled: a,
|
|
3081
3080
|
type: e,
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
},
|
|
3085
|
-
tabIndex: c,
|
|
3086
|
-
...M,
|
|
3081
|
+
tabIndex: s,
|
|
3082
|
+
...C,
|
|
3087
3083
|
children: [
|
|
3088
|
-
/* @__PURE__ */
|
|
3089
|
-
|
|
3084
|
+
/* @__PURE__ */ J.jsx(M, {}),
|
|
3085
|
+
p && /* @__PURE__ */ J.jsx(r1, { className: "translate", children: p })
|
|
3090
3086
|
]
|
|
3091
3087
|
}
|
|
3092
3088
|
);
|
|
@@ -3241,7 +3237,7 @@ function ch() {
|
|
|
3241
3237
|
function D(A) {
|
|
3242
3238
|
return w(A) === p;
|
|
3243
3239
|
}
|
|
3244
|
-
function
|
|
3240
|
+
function Q(A) {
|
|
3245
3241
|
return w(A) === n;
|
|
3246
3242
|
}
|
|
3247
3243
|
function H(A) {
|
|
@@ -3262,7 +3258,7 @@ function ch() {
|
|
|
3262
3258
|
function pe(A) {
|
|
3263
3259
|
return w(A) === d;
|
|
3264
3260
|
}
|
|
3265
|
-
ve.AsyncMode = y, ve.ConcurrentMode = T, ve.ContextConsumer = R, ve.ContextProvider = U, ve.Element = I, ve.ForwardRef = u, ve.Fragment = P, ve.Lazy = j, ve.Memo = _, ve.Portal = Y, ve.Profiler = F, ve.StrictMode = W, ve.Suspense = G, ve.isAsyncMode = te, ve.isConcurrentMode = x, ve.isContextConsumer = k, ve.isContextProvider = B, ve.isElement = ee, ve.isForwardRef = D, ve.isFragment =
|
|
3261
|
+
ve.AsyncMode = y, ve.ConcurrentMode = T, ve.ContextConsumer = R, ve.ContextProvider = U, ve.Element = I, ve.ForwardRef = u, ve.Fragment = P, ve.Lazy = j, ve.Memo = _, ve.Portal = Y, ve.Profiler = F, ve.StrictMode = W, ve.Suspense = G, ve.isAsyncMode = te, ve.isConcurrentMode = x, ve.isContextConsumer = k, ve.isContextProvider = B, ve.isElement = ee, ve.isForwardRef = D, ve.isFragment = Q, ve.isLazy = H, ve.isMemo = Z, ve.isPortal = q, ve.isProfiler = re, ve.isStrictMode = ne, ve.isSuspense = pe, ve.isValidElementType = E, ve.typeOf = w;
|
|
3266
3262
|
}()), ve;
|
|
3267
3263
|
}
|
|
3268
3264
|
var Wa;
|
|
@@ -3435,7 +3431,7 @@ function fh() {
|
|
|
3435
3431
|
function v(x) {
|
|
3436
3432
|
if (process.env.NODE_ENV !== "production")
|
|
3437
3433
|
var k = {}, B = 0;
|
|
3438
|
-
function ee(
|
|
3434
|
+
function ee(Q, H, Z, q, re, ne, pe) {
|
|
3439
3435
|
if (q = q || h, ne = ne || Z, pe !== r) {
|
|
3440
3436
|
if (c) {
|
|
3441
3437
|
var A = new Error(
|
|
@@ -3450,18 +3446,18 @@ function fh() {
|
|
|
3450
3446
|
), k[Te] = !0, B++);
|
|
3451
3447
|
}
|
|
3452
3448
|
}
|
|
3453
|
-
return H[Z] == null ?
|
|
3449
|
+
return H[Z] == null ? Q ? H[Z] === null ? new g("The " + re + " `" + ne + "` is marked as required " + ("in `" + q + "`, but its value is `null`.")) : new g("The " + re + " `" + ne + "` is marked as required in " + ("`" + q + "`, but its value is `undefined`.")) : null : x(H, Z, q, re, ne);
|
|
3454
3450
|
}
|
|
3455
3451
|
var D = ee.bind(null, !1);
|
|
3456
3452
|
return D.isRequired = ee.bind(null, !0), D;
|
|
3457
3453
|
}
|
|
3458
3454
|
function C(x) {
|
|
3459
|
-
function k(B, ee, D,
|
|
3455
|
+
function k(B, ee, D, Q, H, Z) {
|
|
3460
3456
|
var q = B[ee], re = W(q);
|
|
3461
3457
|
if (re !== x) {
|
|
3462
3458
|
var ne = G(q);
|
|
3463
3459
|
return new g(
|
|
3464
|
-
"Invalid " +
|
|
3460
|
+
"Invalid " + Q + " `" + H + "` of type " + ("`" + ne + "` supplied to `" + D + "`, expected ") + ("`" + x + "`."),
|
|
3465
3461
|
{ expectedType: x }
|
|
3466
3462
|
);
|
|
3467
3463
|
}
|
|
@@ -3473,16 +3469,16 @@ function fh() {
|
|
|
3473
3469
|
return v(a);
|
|
3474
3470
|
}
|
|
3475
3471
|
function E(x) {
|
|
3476
|
-
function k(B, ee, D,
|
|
3472
|
+
function k(B, ee, D, Q, H) {
|
|
3477
3473
|
if (typeof x != "function")
|
|
3478
3474
|
return new g("Property `" + H + "` of component `" + D + "` has invalid PropType notation inside arrayOf.");
|
|
3479
3475
|
var Z = B[ee];
|
|
3480
3476
|
if (!Array.isArray(Z)) {
|
|
3481
3477
|
var q = W(Z);
|
|
3482
|
-
return new g("Invalid " +
|
|
3478
|
+
return new g("Invalid " + Q + " `" + H + "` of type " + ("`" + q + "` supplied to `" + D + "`, expected an array."));
|
|
3483
3479
|
}
|
|
3484
3480
|
for (var re = 0; re < Z.length; re++) {
|
|
3485
|
-
var ne = x(Z, re, D,
|
|
3481
|
+
var ne = x(Z, re, D, Q, H + "[" + re + "]", r);
|
|
3486
3482
|
if (ne instanceof Error)
|
|
3487
3483
|
return ne;
|
|
3488
3484
|
}
|
|
@@ -3491,32 +3487,32 @@ function fh() {
|
|
|
3491
3487
|
return v(k);
|
|
3492
3488
|
}
|
|
3493
3489
|
function w() {
|
|
3494
|
-
function x(k, B, ee, D,
|
|
3490
|
+
function x(k, B, ee, D, Q) {
|
|
3495
3491
|
var H = k[B];
|
|
3496
3492
|
if (!s(H)) {
|
|
3497
3493
|
var Z = W(H);
|
|
3498
|
-
return new g("Invalid " + D + " `" +
|
|
3494
|
+
return new g("Invalid " + D + " `" + Q + "` of type " + ("`" + Z + "` supplied to `" + ee + "`, expected a single ReactElement."));
|
|
3499
3495
|
}
|
|
3500
3496
|
return null;
|
|
3501
3497
|
}
|
|
3502
3498
|
return v(x);
|
|
3503
3499
|
}
|
|
3504
3500
|
function y() {
|
|
3505
|
-
function x(k, B, ee, D,
|
|
3501
|
+
function x(k, B, ee, D, Q) {
|
|
3506
3502
|
var H = k[B];
|
|
3507
3503
|
if (!e.isValidElementType(H)) {
|
|
3508
3504
|
var Z = W(H);
|
|
3509
|
-
return new g("Invalid " + D + " `" +
|
|
3505
|
+
return new g("Invalid " + D + " `" + Q + "` of type " + ("`" + Z + "` supplied to `" + ee + "`, expected a single ReactElement type."));
|
|
3510
3506
|
}
|
|
3511
3507
|
return null;
|
|
3512
3508
|
}
|
|
3513
3509
|
return v(x);
|
|
3514
3510
|
}
|
|
3515
3511
|
function T(x) {
|
|
3516
|
-
function k(B, ee, D,
|
|
3512
|
+
function k(B, ee, D, Q, H) {
|
|
3517
3513
|
if (!(B[ee] instanceof x)) {
|
|
3518
3514
|
var Z = x.name || h, q = te(B[ee]);
|
|
3519
|
-
return new g("Invalid " +
|
|
3515
|
+
return new g("Invalid " + Q + " `" + H + "` of type " + ("`" + q + "` supplied to `" + D + "`, expected ") + ("instance of `" + Z + "`."));
|
|
3520
3516
|
}
|
|
3521
3517
|
return null;
|
|
3522
3518
|
}
|
|
@@ -3527,7 +3523,7 @@ function fh() {
|
|
|
3527
3523
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
3528
3524
|
"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])."
|
|
3529
3525
|
) : i("Invalid argument supplied to oneOf, expected an array.")), a;
|
|
3530
|
-
function k(B, ee, D,
|
|
3526
|
+
function k(B, ee, D, Q, H) {
|
|
3531
3527
|
for (var Z = B[ee], q = 0; q < x.length; q++)
|
|
3532
3528
|
if (S(Z, x[q]))
|
|
3533
3529
|
return null;
|
|
@@ -3535,20 +3531,20 @@ function fh() {
|
|
|
3535
3531
|
var Te = G(A);
|
|
3536
3532
|
return Te === "symbol" ? String(A) : A;
|
|
3537
3533
|
});
|
|
3538
|
-
return new g("Invalid " +
|
|
3534
|
+
return new g("Invalid " + Q + " `" + H + "` of value `" + String(Z) + "` " + ("supplied to `" + D + "`, expected one of " + re + "."));
|
|
3539
3535
|
}
|
|
3540
3536
|
return v(k);
|
|
3541
3537
|
}
|
|
3542
3538
|
function U(x) {
|
|
3543
|
-
function k(B, ee, D,
|
|
3539
|
+
function k(B, ee, D, Q, H) {
|
|
3544
3540
|
if (typeof x != "function")
|
|
3545
3541
|
return new g("Property `" + H + "` of component `" + D + "` has invalid PropType notation inside objectOf.");
|
|
3546
3542
|
var Z = B[ee], q = W(Z);
|
|
3547
3543
|
if (q !== "object")
|
|
3548
|
-
return new g("Invalid " +
|
|
3544
|
+
return new g("Invalid " + Q + " `" + H + "` of type " + ("`" + q + "` supplied to `" + D + "`, expected an object."));
|
|
3549
3545
|
for (var re in Z)
|
|
3550
3546
|
if (n(Z, re)) {
|
|
3551
|
-
var ne = x(Z, re, D,
|
|
3547
|
+
var ne = x(Z, re, D, Q, H + "." + re, r);
|
|
3552
3548
|
if (ne instanceof Error)
|
|
3553
3549
|
return ne;
|
|
3554
3550
|
}
|
|
@@ -3566,9 +3562,9 @@ function fh() {
|
|
|
3566
3562
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ae(B) + " at index " + k + "."
|
|
3567
3563
|
), a;
|
|
3568
3564
|
}
|
|
3569
|
-
function ee(D,
|
|
3565
|
+
function ee(D, Q, H, Z, q) {
|
|
3570
3566
|
for (var re = [], ne = 0; ne < x.length; ne++) {
|
|
3571
|
-
var pe = x[ne], A = pe(D,
|
|
3567
|
+
var pe = x[ne], A = pe(D, Q, H, Z, q, r);
|
|
3572
3568
|
if (A == null)
|
|
3573
3569
|
return null;
|
|
3574
3570
|
A.data && n(A.data, "expectedType") && re.push(A.data.expectedType);
|
|
@@ -3579,8 +3575,8 @@ function fh() {
|
|
|
3579
3575
|
return v(ee);
|
|
3580
3576
|
}
|
|
3581
3577
|
function u() {
|
|
3582
|
-
function x(k, B, ee, D,
|
|
3583
|
-
return Y(k[B]) ? null : new g("Invalid " + D + " `" +
|
|
3578
|
+
function x(k, B, ee, D, Q) {
|
|
3579
|
+
return Y(k[B]) ? null : new g("Invalid " + D + " `" + Q + "` supplied to " + ("`" + ee + "`, expected a ReactNode."));
|
|
3584
3580
|
}
|
|
3585
3581
|
return v(x);
|
|
3586
3582
|
}
|
|
@@ -3590,15 +3586,15 @@ function fh() {
|
|
|
3590
3586
|
);
|
|
3591
3587
|
}
|
|
3592
3588
|
function j(x) {
|
|
3593
|
-
function k(B, ee, D,
|
|
3589
|
+
function k(B, ee, D, Q, H) {
|
|
3594
3590
|
var Z = B[ee], q = W(Z);
|
|
3595
3591
|
if (q !== "object")
|
|
3596
|
-
return new g("Invalid " +
|
|
3592
|
+
return new g("Invalid " + Q + " `" + H + "` of type `" + q + "` " + ("supplied to `" + D + "`, expected `object`."));
|
|
3597
3593
|
for (var re in x) {
|
|
3598
3594
|
var ne = x[re];
|
|
3599
3595
|
if (typeof ne != "function")
|
|
3600
|
-
return P(D,
|
|
3601
|
-
var pe = ne(Z, re, D,
|
|
3596
|
+
return P(D, Q, H, re, G(ne));
|
|
3597
|
+
var pe = ne(Z, re, D, Q, H + "." + re, r);
|
|
3602
3598
|
if (pe)
|
|
3603
3599
|
return pe;
|
|
3604
3600
|
}
|
|
@@ -3607,21 +3603,21 @@ function fh() {
|
|
|
3607
3603
|
return v(k);
|
|
3608
3604
|
}
|
|
3609
3605
|
function _(x) {
|
|
3610
|
-
function k(B, ee, D,
|
|
3606
|
+
function k(B, ee, D, Q, H) {
|
|
3611
3607
|
var Z = B[ee], q = W(Z);
|
|
3612
3608
|
if (q !== "object")
|
|
3613
|
-
return new g("Invalid " +
|
|
3609
|
+
return new g("Invalid " + Q + " `" + H + "` of type `" + q + "` " + ("supplied to `" + D + "`, expected `object`."));
|
|
3614
3610
|
var re = t({}, B[ee], x);
|
|
3615
3611
|
for (var ne in re) {
|
|
3616
3612
|
var pe = x[ne];
|
|
3617
3613
|
if (n(x, ne) && typeof pe != "function")
|
|
3618
|
-
return P(D,
|
|
3614
|
+
return P(D, Q, H, ne, G(pe));
|
|
3619
3615
|
if (!pe)
|
|
3620
3616
|
return new g(
|
|
3621
|
-
"Invalid " +
|
|
3617
|
+
"Invalid " + Q + " `" + H + "` key `" + ne + "` supplied to `" + D + "`.\nBad object: " + JSON.stringify(B[ee], null, " ") + `
|
|
3622
3618
|
Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
|
|
3623
3619
|
);
|
|
3624
|
-
var A = pe(Z, ne, D,
|
|
3620
|
+
var A = pe(Z, ne, D, Q, H + "." + ne, r);
|
|
3625
3621
|
if (A)
|
|
3626
3622
|
return A;
|
|
3627
3623
|
}
|
|
@@ -4886,7 +4882,7 @@ function E2() {
|
|
|
4886
4882
|
function D(V) {
|
|
4887
4883
|
return typeof V == "object" && V !== null && V.$$typeof === e;
|
|
4888
4884
|
}
|
|
4889
|
-
function
|
|
4885
|
+
function Q(V) {
|
|
4890
4886
|
return y(V) === c;
|
|
4891
4887
|
}
|
|
4892
4888
|
function H(V) {
|
|
@@ -4913,7 +4909,7 @@ function E2() {
|
|
|
4913
4909
|
function Te(V) {
|
|
4914
4910
|
return y(V) === p;
|
|
4915
4911
|
}
|
|
4916
|
-
be.ContextConsumer = T, be.ContextProvider = R, be.Element = U, be.ForwardRef = I, be.Fragment = u, be.Lazy = P, be.Memo = j, be.Portal = _, be.Profiler = Y, be.StrictMode = F, be.Suspense = W, be.SuspenseList = G, be.isAsyncMode = x, be.isConcurrentMode = k, be.isContextConsumer = B, be.isContextProvider = ee, be.isElement = D, be.isForwardRef =
|
|
4912
|
+
be.ContextConsumer = T, be.ContextProvider = R, be.Element = U, be.ForwardRef = I, be.Fragment = u, be.Lazy = P, be.Memo = j, be.Portal = _, be.Profiler = Y, be.StrictMode = F, be.Suspense = W, be.SuspenseList = G, be.isAsyncMode = x, be.isConcurrentMode = k, be.isContextConsumer = B, be.isContextProvider = ee, be.isElement = D, be.isForwardRef = Q, be.isFragment = H, be.isLazy = Z, be.isMemo = q, be.isPortal = re, be.isProfiler = ne, be.isStrictMode = pe, be.isSuspense = A, be.isSuspenseList = Te, be.isValidElementType = w, be.typeOf = y;
|
|
4917
4913
|
}()), be;
|
|
4918
4914
|
}
|
|
4919
4915
|
process.env.NODE_ENV === "production" ? oi.exports = C2() : oi.exports = E2();
|
|
@@ -7279,7 +7275,7 @@ const Zm = {
|
|
|
7279
7275
|
}), _ = R(h), Y = (F) => {
|
|
7280
7276
|
g === "auto" && M.start(E.current || 0, F), n && n(y.current, F);
|
|
7281
7277
|
};
|
|
7282
|
-
return /* @__PURE__ */
|
|
7278
|
+
return /* @__PURE__ */ J.jsx(v, {
|
|
7283
7279
|
appear: o,
|
|
7284
7280
|
in: s,
|
|
7285
7281
|
nodeRef: y,
|
|
@@ -7913,15 +7909,15 @@ function kg(e) {
|
|
|
7913
7909
|
function Ng(e) {
|
|
7914
7910
|
var t = e.state, r = e.options, n = e.name;
|
|
7915
7911
|
if (!t.modifiersData[n]._skip) {
|
|
7916
|
-
for (var o = r.mainAxis, i = o === void 0 ? !0 : o, a = r.altAxis, s = a === void 0 ? !0 : a, c = r.fallbackPlacements, f = r.padding, p = r.boundary, d = r.rootBoundary, h = r.altBoundary, b = r.flipVariations, S = b === void 0 ? !0 : b, g = r.allowedAutoPlacements, v = t.options.placement, C = Mt(v), M = C === v, E = c || (M || !S ? [Fn(v)] : kg(v)), w = [v].concat(E).reduce(function(D,
|
|
7917
|
-
return D.concat(Mt(
|
|
7918
|
-
placement:
|
|
7912
|
+
for (var o = r.mainAxis, i = o === void 0 ? !0 : o, a = r.altAxis, s = a === void 0 ? !0 : a, c = r.fallbackPlacements, f = r.padding, p = r.boundary, d = r.rootBoundary, h = r.altBoundary, b = r.flipVariations, S = b === void 0 ? !0 : b, g = r.allowedAutoPlacements, v = t.options.placement, C = Mt(v), M = C === v, E = c || (M || !S ? [Fn(v)] : kg(v)), w = [v].concat(E).reduce(function(D, Q) {
|
|
7913
|
+
return D.concat(Mt(Q) === Gi ? Ag(t, {
|
|
7914
|
+
placement: Q,
|
|
7919
7915
|
boundary: p,
|
|
7920
7916
|
rootBoundary: d,
|
|
7921
7917
|
padding: f,
|
|
7922
7918
|
flipVariations: S,
|
|
7923
7919
|
allowedAutoPlacements: g
|
|
7924
|
-
}) :
|
|
7920
|
+
}) : Q);
|
|
7925
7921
|
}, []), y = t.rects.reference, T = t.rects.popper, R = /* @__PURE__ */ new Map(), U = !0, I = w[0], u = 0; u < w.length; u++) {
|
|
7926
7922
|
var P = w[u], j = Mt(P), _ = Nr(P) === _r, Y = [ot, vt].indexOf(j) >= 0, F = Y ? "width" : "height", W = un(t, {
|
|
7927
7923
|
placement: P,
|
|
@@ -7941,11 +7937,11 @@ function Ng(e) {
|
|
|
7941
7937
|
R.set(P, te);
|
|
7942
7938
|
}
|
|
7943
7939
|
if (U)
|
|
7944
|
-
for (var x = S ? 3 : 1, k = function(
|
|
7940
|
+
for (var x = S ? 3 : 1, k = function(Q) {
|
|
7945
7941
|
var H = w.find(function(Z) {
|
|
7946
7942
|
var q = R.get(Z);
|
|
7947
7943
|
if (q)
|
|
7948
|
-
return q.slice(0,
|
|
7944
|
+
return q.slice(0, Q).every(function(re) {
|
|
7949
7945
|
return re;
|
|
7950
7946
|
});
|
|
7951
7947
|
});
|
|
@@ -8074,7 +8070,7 @@ function Wg(e) {
|
|
|
8074
8070
|
var _, Y = w === "y" ? ot : it, F = w === "y" ? vt : yt, W = w === "y" ? "height" : "width", G = T[w], ae = G + v[Y], te = G - v[F], x = b ? -U[W] / 2 : 0, k = M === _r ? R[W] : U[W], B = M === _r ? -U[W] : -R[W], ee = t.elements.arrow, D = b && ee ? qi(ee) : {
|
|
8075
8071
|
width: 0,
|
|
8076
8072
|
height: 0
|
|
8077
|
-
},
|
|
8073
|
+
}, Q = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Dc(), H = Q[Y], Z = Q[F], q = rn(0, R[W], D[W]), re = E ? R[W] / 2 - x - q - H - u.mainAxis : k - q - H - u.mainAxis, ne = E ? -R[W] / 2 + x + q + Z + u.mainAxis : B + q + Z + u.mainAxis, pe = t.elements.arrow && gn(t.elements.arrow), A = pe ? w === "y" ? pe.clientTop || 0 : pe.clientLeft || 0 : 0, Te = (_ = P == null ? void 0 : P[w]) != null ? _ : 0, V = G + re - Te - A, Me = G + ne - Te, _e = rn(b ? Jn(ae, V) : ae, G, b ? ar(te, Me) : te);
|
|
8078
8074
|
T[w] = _e, j[w] = _e - G;
|
|
8079
8075
|
}
|
|
8080
8076
|
if (s) {
|
|
@@ -8307,11 +8303,11 @@ const Qn = /* @__PURE__ */ $.forwardRef(function(t, r) {
|
|
|
8307
8303
|
};
|
|
8308
8304
|
return /* @__PURE__ */ $.cloneElement(n, f);
|
|
8309
8305
|
}
|
|
8310
|
-
return /* @__PURE__ */
|
|
8306
|
+
return /* @__PURE__ */ J.jsx($.Fragment, {
|
|
8311
8307
|
children: n
|
|
8312
8308
|
});
|
|
8313
8309
|
}
|
|
8314
|
-
return /* @__PURE__ */
|
|
8310
|
+
return /* @__PURE__ */ J.jsx($.Fragment, {
|
|
8315
8311
|
children: a && /* @__PURE__ */ ul.createPortal(n, a)
|
|
8316
8312
|
});
|
|
8317
8313
|
});
|
|
@@ -8461,7 +8457,7 @@ const sv = (e) => {
|
|
|
8461
8457
|
ownerState: t,
|
|
8462
8458
|
className: j.root
|
|
8463
8459
|
});
|
|
8464
|
-
return /* @__PURE__ */
|
|
8460
|
+
return /* @__PURE__ */ J.jsx(_, {
|
|
8465
8461
|
...Y,
|
|
8466
8462
|
children: typeof o == "function" ? o(P) : o
|
|
8467
8463
|
});
|
|
@@ -8502,10 +8498,10 @@ const sv = (e) => {
|
|
|
8502
8498
|
onEnter: y,
|
|
8503
8499
|
onExited: T
|
|
8504
8500
|
} : void 0;
|
|
8505
|
-
return /* @__PURE__ */
|
|
8501
|
+
return /* @__PURE__ */ J.jsx(Qn, {
|
|
8506
8502
|
disablePortal: s,
|
|
8507
8503
|
container: R,
|
|
8508
|
-
children: /* @__PURE__ */
|
|
8504
|
+
children: /* @__PURE__ */ J.jsx(lv, {
|
|
8509
8505
|
anchorEl: n,
|
|
8510
8506
|
direction: a,
|
|
8511
8507
|
disablePortal: s,
|
|
@@ -8691,7 +8687,7 @@ const uv = Ye(Fc, {
|
|
|
8691
8687
|
transition: C,
|
|
8692
8688
|
...w
|
|
8693
8689
|
};
|
|
8694
|
-
return /* @__PURE__ */
|
|
8690
|
+
return /* @__PURE__ */ J.jsx(uv, {
|
|
8695
8691
|
as: a,
|
|
8696
8692
|
direction: n ? "rtl" : "ltr",
|
|
8697
8693
|
slots: {
|
|
@@ -9146,9 +9142,9 @@ const Hc = /* @__PURE__ */ $.forwardRef(function(t, r) {
|
|
|
9146
9142
|
TransitionComponent: Y = cn,
|
|
9147
9143
|
TransitionProps: F,
|
|
9148
9144
|
...W
|
|
9149
|
-
} = n, G = /* @__PURE__ */ $.isValidElement(i) ? i : /* @__PURE__ */
|
|
9145
|
+
} = n, G = /* @__PURE__ */ $.isValidElement(i) ? i : /* @__PURE__ */ J.jsx("span", {
|
|
9150
9146
|
children: i
|
|
9151
|
-
}), ae = Hi(), te = Oo(), [x, k] = $.useState(), [B, ee] = $.useState(null), D = $.useRef(!1),
|
|
9147
|
+
}), ae = Hi(), te = Oo(), [x, k] = $.useState(), [B, ee] = $.useState(null), D = $.useRef(!1), Q = h || C, H = Sr(), Z = Sr(), q = Sr(), re = Sr(), [ne, pe] = W2({
|
|
9152
9148
|
controlled: R,
|
|
9153
9149
|
default: !1,
|
|
9154
9150
|
name: "Tooltip",
|
|
@@ -9242,7 +9238,7 @@ const Hc = /* @__PURE__ */ $.forwardRef(function(t, r) {
|
|
|
9242
9238
|
`));
|
|
9243
9239
|
}, [x]));
|
|
9244
9240
|
const kt = {};
|
|
9245
|
-
b || (De.onTouchStart = ut, De.onTouchEnd = wt), d || (De.onMouseOver = An(Ne, De.onMouseOver), De.onMouseLeave = An(He, De.onMouseLeave),
|
|
9241
|
+
b || (De.onTouchStart = ut, De.onTouchEnd = wt), d || (De.onMouseOver = An(Ne, De.onMouseOver), De.onMouseLeave = An(He, De.onMouseLeave), Q || (kt.onMouseOver = Ne, kt.onMouseLeave = He)), p || (De.onFocus = An(Xe, De.onFocus), De.onBlur = An(Ue, De.onBlur), Q || (kt.onFocus = Xe, kt.onBlur = Ue)), process.env.NODE_ENV !== "production" && G.props.title && console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.", `Remove this title prop \`${G.props.title}\` or the Tooltip component.`].join(`
|
|
9246
9242
|
`));
|
|
9247
9243
|
const Vr = $.useMemo(() => {
|
|
9248
9244
|
var Je;
|
|
@@ -9262,7 +9258,7 @@ const Hc = /* @__PURE__ */ $.forwardRef(function(t, r) {
|
|
|
9262
9258
|
...n,
|
|
9263
9259
|
isRtl: te,
|
|
9264
9260
|
arrow: o,
|
|
9265
|
-
disableInteractive:
|
|
9261
|
+
disableInteractive: Q,
|
|
9266
9262
|
placement: U,
|
|
9267
9263
|
PopperComponentProp: I,
|
|
9268
9264
|
touch: D.current
|
|
@@ -9280,8 +9276,8 @@ const Hc = /* @__PURE__ */ $.forwardRef(function(t, r) {
|
|
|
9280
9276
|
...P.arrow ?? c.arrow,
|
|
9281
9277
|
className: $e(K.arrow, (Fr = P.arrow ?? c.arrow) == null ? void 0 : Fr.className)
|
|
9282
9278
|
}, St);
|
|
9283
|
-
return /* @__PURE__ */
|
|
9284
|
-
children: [/* @__PURE__ */ $.cloneElement(G, De), /* @__PURE__ */
|
|
9279
|
+
return /* @__PURE__ */ J.jsxs($.Fragment, {
|
|
9280
|
+
children: [/* @__PURE__ */ $.cloneElement(G, De), /* @__PURE__ */ J.jsx(X, {
|
|
9285
9281
|
as: I ?? Qi,
|
|
9286
9282
|
placement: U,
|
|
9287
9283
|
anchorEl: C ? {
|
|
@@ -9303,13 +9299,13 @@ const Hc = /* @__PURE__ */ $.forwardRef(function(t, r) {
|
|
|
9303
9299
|
popperOptions: Vr,
|
|
9304
9300
|
children: ({
|
|
9305
9301
|
TransitionProps: se
|
|
9306
|
-
}) => /* @__PURE__ */
|
|
9302
|
+
}) => /* @__PURE__ */ J.jsx(le, {
|
|
9307
9303
|
timeout: ae.transitions.duration.shorter,
|
|
9308
9304
|
...se,
|
|
9309
9305
|
...Ge,
|
|
9310
|
-
children: /* @__PURE__ */
|
|
9306
|
+
children: /* @__PURE__ */ J.jsxs(ue, {
|
|
9311
9307
|
...Ct,
|
|
9312
|
-
children: [_, o ? /* @__PURE__ */
|
|
9308
|
+
children: [_, o ? /* @__PURE__ */ J.jsx(he, {
|
|
9313
9309
|
...Ht,
|
|
9314
9310
|
ref: ee
|
|
9315
9311
|
}) : null]
|
|
@@ -9535,7 +9531,7 @@ const vv = xt.span`
|
|
|
9535
9531
|
...t
|
|
9536
9532
|
}) => {
|
|
9537
9533
|
const r = Ye(
|
|
9538
|
-
({ className: n, ...o }) => /* @__PURE__ */
|
|
9534
|
+
({ className: n, ...o }) => /* @__PURE__ */ J.jsx(
|
|
9539
9535
|
Hc,
|
|
9540
9536
|
{
|
|
9541
9537
|
...o,
|
|
@@ -9550,7 +9546,7 @@ const vv = xt.span`
|
|
|
9550
9546
|
fontFamily: _i("roboto")
|
|
9551
9547
|
}
|
|
9552
9548
|
}));
|
|
9553
|
-
return /* @__PURE__ */
|
|
9549
|
+
return /* @__PURE__ */ J.jsx(r, { ...t });
|
|
9554
9550
|
}, c4 = ({
|
|
9555
9551
|
disableHover: e = !1,
|
|
9556
9552
|
enableOnlyWithEllipsisPoints: t = !1,
|
|
@@ -9573,7 +9569,7 @@ const vv = xt.span`
|
|
|
9573
9569
|
}, [
|
|
9574
9570
|
s,
|
|
9575
9571
|
c
|
|
9576
|
-
]), /* @__PURE__ */
|
|
9572
|
+
]), /* @__PURE__ */ J.jsx(
|
|
9577
9573
|
wv,
|
|
9578
9574
|
{
|
|
9579
9575
|
placement: "bottom-start",
|
|
@@ -9582,7 +9578,7 @@ const vv = xt.span`
|
|
|
9582
9578
|
disableTouchListener: !0,
|
|
9583
9579
|
title: r,
|
|
9584
9580
|
...o,
|
|
9585
|
-
children: /* @__PURE__ */
|
|
9581
|
+
children: /* @__PURE__ */ J.jsx(
|
|
9586
9582
|
vv,
|
|
9587
9583
|
{
|
|
9588
9584
|
ref: p,
|
|
@@ -9671,10 +9667,10 @@ function Wc(e) {
|
|
|
9671
9667
|
clearTimeout(g);
|
|
9672
9668
|
};
|
|
9673
9669
|
}
|
|
9674
|
-
}, [c, s, f]), /* @__PURE__ */
|
|
9670
|
+
}, [c, s, f]), /* @__PURE__ */ J.jsx("span", {
|
|
9675
9671
|
className: h,
|
|
9676
9672
|
style: b,
|
|
9677
|
-
children: /* @__PURE__ */
|
|
9673
|
+
children: /* @__PURE__ */ J.jsx("span", {
|
|
9678
9674
|
className: S
|
|
9679
9675
|
})
|
|
9680
9676
|
});
|
|
@@ -9832,7 +9828,7 @@ const dt = Kt("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa
|
|
|
9832
9828
|
rippleSize: U,
|
|
9833
9829
|
cb: I
|
|
9834
9830
|
} = w;
|
|
9835
|
-
f((u) => [...u, /* @__PURE__ */
|
|
9831
|
+
f((u) => [...u, /* @__PURE__ */ J.jsx($v, {
|
|
9836
9832
|
classes: {
|
|
9837
9833
|
ripple: $e(i.ripple, dt.ripple),
|
|
9838
9834
|
rippleVisible: $e(i.rippleVisible, dt.rippleVisible),
|
|
@@ -9916,11 +9912,11 @@ const dt = Kt("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa
|
|
|
9916
9912
|
pulsate: M,
|
|
9917
9913
|
start: C,
|
|
9918
9914
|
stop: E
|
|
9919
|
-
}), [M, C, E]), /* @__PURE__ */
|
|
9915
|
+
}), [M, C, E]), /* @__PURE__ */ J.jsx(Rv, {
|
|
9920
9916
|
className: $e(dt.root, i.root, a),
|
|
9921
9917
|
ref: g,
|
|
9922
9918
|
...s,
|
|
9923
|
-
children: /* @__PURE__ */
|
|
9919
|
+
children: /* @__PURE__ */ J.jsx(Ui, {
|
|
9924
9920
|
component: null,
|
|
9925
9921
|
exit: !0,
|
|
9926
9922
|
children: c
|
|
@@ -10046,7 +10042,7 @@ const Pv = Kt("MuiButtonBase", ["root", "disabled", "focusVisible"]), _v = (e) =
|
|
|
10046
10042
|
function D(oe, ut, wt = d) {
|
|
10047
10043
|
return Lt((ft) => (ut && ut(ft), wt || te[oe](ft), !0));
|
|
10048
10044
|
}
|
|
10049
|
-
const
|
|
10045
|
+
const Q = D("start", R), H = D("stop", C), Z = D("stop", M), q = D("stop", I), re = D("stop", (oe) => {
|
|
10050
10046
|
k && oe.preventDefault(), U && U(oe);
|
|
10051
10047
|
}), ne = D("start", j), pe = D("stop", u), A = D("stop", P), Te = D("stop", (oe) => {
|
|
10052
10048
|
Zn(oe.target) || B(!1), g && g(oe);
|
|
@@ -10079,7 +10075,7 @@ const Pv = Kt("MuiButtonBase", ["root", "disabled", "focusVisible"]), _v = (e) =
|
|
|
10079
10075
|
tabIndex: _,
|
|
10080
10076
|
focusVisible: k
|
|
10081
10077
|
}, Xe = _v(Ue);
|
|
10082
|
-
return /* @__PURE__ */
|
|
10078
|
+
return /* @__PURE__ */ J.jsxs(Av, {
|
|
10083
10079
|
as: Ne,
|
|
10084
10080
|
className: $e(Xe.root, s),
|
|
10085
10081
|
ownerState: Ue,
|
|
@@ -10089,7 +10085,7 @@ const Pv = Kt("MuiButtonBase", ["root", "disabled", "focusVisible"]), _v = (e) =
|
|
|
10089
10085
|
onFocus: V,
|
|
10090
10086
|
onKeyDown: _e,
|
|
10091
10087
|
onKeyUp: Oe,
|
|
10092
|
-
onMouseDown:
|
|
10088
|
+
onMouseDown: Q,
|
|
10093
10089
|
onMouseLeave: re,
|
|
10094
10090
|
onMouseUp: q,
|
|
10095
10091
|
onDragLeave: Z,
|
|
@@ -10101,7 +10097,7 @@ const Pv = Kt("MuiButtonBase", ["root", "disabled", "focusVisible"]), _v = (e) =
|
|
|
10101
10097
|
type: W,
|
|
10102
10098
|
...He,
|
|
10103
10099
|
...G,
|
|
10104
|
-
children: [a, ee ? /* @__PURE__ */
|
|
10100
|
+
children: [a, ee ? /* @__PURE__ */ J.jsx(Uc, {
|
|
10105
10101
|
ref: x,
|
|
10106
10102
|
center: i,
|
|
10107
10103
|
...Y
|
|
@@ -10478,7 +10474,7 @@ const tt = Kt("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrim
|
|
|
10478
10474
|
}, I = (u) => {
|
|
10479
10475
|
v && !g && h && h(u, M), S && S(u);
|
|
10480
10476
|
};
|
|
10481
|
-
return /* @__PURE__ */
|
|
10477
|
+
return /* @__PURE__ */ J.jsxs(jv, {
|
|
10482
10478
|
focusRipple: !a,
|
|
10483
10479
|
className: $e(T.root, o),
|
|
10484
10480
|
ref: r,
|
|
@@ -10490,9 +10486,9 @@ const tt = Kt("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrim
|
|
|
10490
10486
|
ownerState: y,
|
|
10491
10487
|
tabIndex: g ? 0 : -1,
|
|
10492
10488
|
...w,
|
|
10493
|
-
children: [f === "top" || f === "start" ? /* @__PURE__ */
|
|
10489
|
+
children: [f === "top" || f === "start" ? /* @__PURE__ */ J.jsxs($.Fragment, {
|
|
10494
10490
|
children: [R, d]
|
|
10495
|
-
}) : /* @__PURE__ */
|
|
10491
|
+
}) : /* @__PURE__ */ J.jsxs($.Fragment, {
|
|
10496
10492
|
children: [d, R]
|
|
10497
10493
|
}), p]
|
|
10498
10494
|
});
|
|
@@ -10746,7 +10742,7 @@ const zv = (e) => {
|
|
|
10746
10742
|
}, v = {};
|
|
10747
10743
|
p || (v.viewBox = h);
|
|
10748
10744
|
const C = zv(g);
|
|
10749
|
-
return /* @__PURE__ */
|
|
10745
|
+
return /* @__PURE__ */ J.jsxs(Bv, {
|
|
10750
10746
|
as: s,
|
|
10751
10747
|
className: $e(C.root, i),
|
|
10752
10748
|
focusable: "false",
|
|
@@ -10758,7 +10754,7 @@ const zv = (e) => {
|
|
|
10758
10754
|
...b,
|
|
10759
10755
|
...S && o.props,
|
|
10760
10756
|
ownerState: g,
|
|
10761
|
-
children: [S ? o.props.children : o, d ? /* @__PURE__ */
|
|
10757
|
+
children: [S ? o.props.children : o, d ? /* @__PURE__ */ J.jsx("title", {
|
|
10762
10758
|
children: d
|
|
10763
10759
|
}) : null]
|
|
10764
10760
|
});
|
|
@@ -10838,7 +10834,7 @@ process.env.NODE_ENV !== "production" && (fn.propTypes = {
|
|
|
10838
10834
|
fn && (fn.muiName = "SvgIcon");
|
|
10839
10835
|
function Yc(e, t) {
|
|
10840
10836
|
function r(n, o) {
|
|
10841
|
-
return /* @__PURE__ */
|
|
10837
|
+
return /* @__PURE__ */ J.jsx(fn, {
|
|
10842
10838
|
"data-testid": `${t}Icon`,
|
|
10843
10839
|
ref: o,
|
|
10844
10840
|
...n,
|
|
@@ -10871,7 +10867,7 @@ function qc(e) {
|
|
|
10871
10867
|
};
|
|
10872
10868
|
}, [t]), $.useEffect(() => {
|
|
10873
10869
|
i(), t(n.current);
|
|
10874
|
-
}, [t]), /* @__PURE__ */
|
|
10870
|
+
}, [t]), /* @__PURE__ */ J.jsx("div", {
|
|
10875
10871
|
style: Vv,
|
|
10876
10872
|
ref: o,
|
|
10877
10873
|
...r
|
|
@@ -10880,9 +10876,9 @@ function qc(e) {
|
|
|
10880
10876
|
process.env.NODE_ENV !== "production" && (qc.propTypes = {
|
|
10881
10877
|
onChange: l.func.isRequired
|
|
10882
10878
|
});
|
|
10883
|
-
const Fv = Yc(/* @__PURE__ */
|
|
10879
|
+
const Fv = Yc(/* @__PURE__ */ J.jsx("path", {
|
|
10884
10880
|
d: "M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
|
|
10885
|
-
}), "KeyboardArrowLeft"), Hv = Yc(/* @__PURE__ */
|
|
10881
|
+
}), "KeyboardArrowLeft"), Hv = Yc(/* @__PURE__ */ J.jsx("path", {
|
|
10886
10882
|
d: "M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
|
|
10887
10883
|
}), "KeyboardArrowRight");
|
|
10888
10884
|
function Wv(e) {
|
|
@@ -10955,7 +10951,7 @@ const Uv = Kt("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled
|
|
|
10955
10951
|
},
|
|
10956
10952
|
ownerState: h
|
|
10957
10953
|
});
|
|
10958
|
-
return /* @__PURE__ */
|
|
10954
|
+
return /* @__PURE__ */ J.jsx(Yv, {
|
|
10959
10955
|
component: "div",
|
|
10960
10956
|
className: $e(b.root, o),
|
|
10961
10957
|
ref: r,
|
|
@@ -10969,9 +10965,9 @@ const Uv = Kt("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled
|
|
|
10969
10965
|
"--TabScrollButton-svgRotate": `rotate(${d ? -90 : 90}deg)`
|
|
10970
10966
|
}
|
|
10971
10967
|
},
|
|
10972
|
-
children: s === "left" ? /* @__PURE__ */
|
|
10968
|
+
children: s === "left" ? /* @__PURE__ */ J.jsx(S, {
|
|
10973
10969
|
...v
|
|
10974
|
-
}) : /* @__PURE__ */
|
|
10970
|
+
}) : /* @__PURE__ */ J.jsx(g, {
|
|
10975
10971
|
...C
|
|
10976
10972
|
})
|
|
10977
10973
|
});
|
|
@@ -11292,7 +11288,7 @@ const Zc = /* @__PURE__ */ $.forwardRef(function(t, r) {
|
|
|
11292
11288
|
ownerState: x
|
|
11293
11289
|
});
|
|
11294
11290
|
process.env.NODE_ENV !== "production" && f && _ && console.error('MUI: You can not use the `centered={true}` and `variant="scrollable"` properties at the same time on a `Tabs` component.');
|
|
11295
|
-
const [D,
|
|
11291
|
+
const [D, Q] = $.useState(!1), [H, Z] = $.useState(_s), [q, re] = $.useState(!1), [ne, pe] = $.useState(!1), [A, Te] = $.useState(!1), [V, Me] = $.useState({
|
|
11296
11292
|
overflow: "hidden",
|
|
11297
11293
|
scrollbarWidth: 0
|
|
11298
11294
|
}), _e = /* @__PURE__ */ new Map(), Oe = $.useRef(null), Ne = $.useRef(null), He = () => {
|
|
@@ -11377,12 +11373,12 @@ const Zc = /* @__PURE__ */ $.forwardRef(function(t, r) {
|
|
|
11377
11373
|
});
|
|
11378
11374
|
}, []), qe = () => {
|
|
11379
11375
|
const K = {};
|
|
11380
|
-
K.scrollbarSizeListener = _ ? /* @__PURE__ */
|
|
11376
|
+
K.scrollbarSizeListener = _ ? /* @__PURE__ */ J.jsx(e4, {
|
|
11381
11377
|
onChange: ft,
|
|
11382
11378
|
className: $e(k.scrollableX, k.hideScrollbar)
|
|
11383
11379
|
}) : null;
|
|
11384
11380
|
const le = _ && (M === "auto" && (q || ne) || M === !0);
|
|
11385
|
-
return K.scrollButtonStart = le ? /* @__PURE__ */
|
|
11381
|
+
return K.scrollButtonStart = le ? /* @__PURE__ */ J.jsx(C, {
|
|
11386
11382
|
slots: {
|
|
11387
11383
|
StartScrollButtonIcon: w.StartScrollButtonIcon
|
|
11388
11384
|
},
|
|
@@ -11395,7 +11391,7 @@ const Zc = /* @__PURE__ */ $.forwardRef(function(t, r) {
|
|
|
11395
11391
|
disabled: !q,
|
|
11396
11392
|
...R,
|
|
11397
11393
|
className: $e(k.scrollButtons, R.className)
|
|
11398
|
-
}) : null, K.scrollButtonEnd = le ? /* @__PURE__ */
|
|
11394
|
+
}) : null, K.scrollButtonEnd = le ? /* @__PURE__ */ J.jsx(C, {
|
|
11399
11395
|
slots: {
|
|
11400
11396
|
EndScrollButtonIcon: w.EndScrollButtonIcon
|
|
11401
11397
|
},
|
|
@@ -11471,7 +11467,7 @@ const Zc = /* @__PURE__ */ $.forwardRef(function(t, r) {
|
|
|
11471
11467
|
};
|
|
11472
11468
|
}
|
|
11473
11469
|
}, [_, M, A, p == null ? void 0 : p.length]), $.useEffect(() => {
|
|
11474
|
-
|
|
11470
|
+
Q(!0);
|
|
11475
11471
|
}, []), $.useEffect(() => {
|
|
11476
11472
|
Be();
|
|
11477
11473
|
}), $.useEffect(() => {
|
|
@@ -11480,7 +11476,7 @@ const Zc = /* @__PURE__ */ $.forwardRef(function(t, r) {
|
|
|
11480
11476
|
updateIndicator: Be,
|
|
11481
11477
|
updateScrollButtons: at
|
|
11482
11478
|
}), [Be, at]);
|
|
11483
|
-
const At = /* @__PURE__ */
|
|
11479
|
+
const At = /* @__PURE__ */ J.jsx(Qv, {
|
|
11484
11480
|
...T,
|
|
11485
11481
|
className: $e(k.indicator, T.className),
|
|
11486
11482
|
ownerState: x,
|
|
@@ -11530,13 +11526,13 @@ const Zc = /* @__PURE__ */ $.forwardRef(function(t, r) {
|
|
|
11530
11526
|
break;
|
|
11531
11527
|
}
|
|
11532
11528
|
}, St = qe();
|
|
11533
|
-
return /* @__PURE__ */
|
|
11529
|
+
return /* @__PURE__ */ J.jsxs(Zv, {
|
|
11534
11530
|
className: $e(k.root, d),
|
|
11535
11531
|
ownerState: x,
|
|
11536
11532
|
ref: r,
|
|
11537
11533
|
as: h,
|
|
11538
11534
|
...j,
|
|
11539
|
-
children: [St.scrollButtonStart, St.scrollbarSizeListener, /* @__PURE__ */
|
|
11535
|
+
children: [St.scrollButtonStart, St.scrollbarSizeListener, /* @__PURE__ */ J.jsxs(Xv, {
|
|
11540
11536
|
className: k.scroller,
|
|
11541
11537
|
ownerState: x,
|
|
11542
11538
|
style: {
|
|
@@ -11544,7 +11540,7 @@ const Zc = /* @__PURE__ */ $.forwardRef(function(t, r) {
|
|
|
11544
11540
|
[Y ? `margin${i ? "Left" : "Right"}` : "marginBottom"]: P ? void 0 : -V.scrollbarWidth
|
|
11545
11541
|
},
|
|
11546
11542
|
ref: Oe,
|
|
11547
|
-
children: [/* @__PURE__ */
|
|
11543
|
+
children: [/* @__PURE__ */ J.jsx(Jv, {
|
|
11548
11544
|
"aria-label": a,
|
|
11549
11545
|
"aria-labelledby": s,
|
|
11550
11546
|
"aria-orientation": v === "vertical" ? "vertical" : null,
|
|
@@ -11748,14 +11744,14 @@ const t4 = xt(Zc)`
|
|
|
11748
11744
|
onTabClick: r = (n) => null
|
|
11749
11745
|
}) => {
|
|
11750
11746
|
var n, o;
|
|
11751
|
-
return e.length === 0 ? null : e.length === 1 ? (n = e.at(0)) == null ? void 0 : n.component : /* @__PURE__ */
|
|
11752
|
-
/* @__PURE__ */
|
|
11747
|
+
return e.length === 0 ? null : e.length === 1 ? (n = e.at(0)) == null ? void 0 : n.component : /* @__PURE__ */ J.jsxs(J.Fragment, { children: [
|
|
11748
|
+
/* @__PURE__ */ J.jsx(
|
|
11753
11749
|
t4,
|
|
11754
11750
|
{
|
|
11755
11751
|
value: t,
|
|
11756
11752
|
variant: "scrollable",
|
|
11757
11753
|
scrollButtons: !1,
|
|
11758
|
-
children: e.map(({ label: i }, a) => /* @__PURE__ */
|
|
11754
|
+
children: e.map(({ label: i }, a) => /* @__PURE__ */ J.jsx(
|
|
11759
11755
|
r4,
|
|
11760
11756
|
{
|
|
11761
11757
|
label: i,
|