biblio-react 3.0.0-alpha135 → 3.0.0-alpha136
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/index.js +527 -524
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -232,7 +232,7 @@ function MR() {
|
|
|
232
232
|
}
|
|
233
233
|
}
|
|
234
234
|
a(C, "typeOf");
|
|
235
|
-
var S = u, w = d, M = l, F = s, P = e, I = p, R = n, A = m, $ = g, L = r,
|
|
235
|
+
var S = u, w = d, M = l, F = s, P = e, I = p, R = n, A = m, $ = g, L = r, j = i, B = o, V = f, N = !1;
|
|
236
236
|
function K(_) {
|
|
237
237
|
return N || (N = !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.")), D(_) || C(_) === u;
|
|
238
238
|
}
|
|
@@ -241,18 +241,18 @@ function MR() {
|
|
|
241
241
|
return C(_) === d;
|
|
242
242
|
}
|
|
243
243
|
a(D, "isConcurrentMode");
|
|
244
|
-
function
|
|
244
|
+
function H(_) {
|
|
245
245
|
return C(_) === l;
|
|
246
246
|
}
|
|
247
|
-
a(
|
|
247
|
+
a(H, "isContextConsumer");
|
|
248
248
|
function ee(_) {
|
|
249
249
|
return C(_) === s;
|
|
250
250
|
}
|
|
251
251
|
a(ee, "isContextProvider");
|
|
252
|
-
function
|
|
252
|
+
function z(_) {
|
|
253
253
|
return typeof _ == "object" && _ !== null && _.$$typeof === e;
|
|
254
254
|
}
|
|
255
|
-
a(
|
|
255
|
+
a(z, "isElement");
|
|
256
256
|
function U(_) {
|
|
257
257
|
return C(_) === p;
|
|
258
258
|
}
|
|
@@ -284,7 +284,7 @@ function MR() {
|
|
|
284
284
|
function ie(_) {
|
|
285
285
|
return C(_) === f;
|
|
286
286
|
}
|
|
287
|
-
a(ie, "isSuspense"), Ze.AsyncMode = S, Ze.ConcurrentMode = w, Ze.ContextConsumer = M, Ze.ContextProvider = F, Ze.Element = P, Ze.ForwardRef = I, Ze.Fragment = R, Ze.Lazy = A, Ze.Memo = $, Ze.Portal = L, Ze.Profiler =
|
|
287
|
+
a(ie, "isSuspense"), Ze.AsyncMode = S, Ze.ConcurrentMode = w, Ze.ContextConsumer = M, Ze.ContextProvider = F, Ze.Element = P, Ze.ForwardRef = I, Ze.Fragment = R, Ze.Lazy = A, Ze.Memo = $, Ze.Portal = L, Ze.Profiler = j, Ze.StrictMode = B, Ze.Suspense = V, Ze.isAsyncMode = K, Ze.isConcurrentMode = D, Ze.isContextConsumer = H, Ze.isContextProvider = ee, Ze.isElement = z, Ze.isForwardRef = U, Ze.isFragment = J, Ze.isLazy = G, Ze.isMemo = te, Ze.isPortal = X, Ze.isProfiler = oe, Ze.isStrictMode = se, Ze.isSuspense = ie, Ze.isValidElementType = k, Ze.typeOf = C;
|
|
288
288
|
}()), Ze;
|
|
289
289
|
}
|
|
290
290
|
a(MR, "requireReactIs_development$2");
|
|
@@ -429,9 +429,9 @@ function AR() {
|
|
|
429
429
|
return a(s, "emptyFunctionThatReturnsNull"), tf = /* @__PURE__ */ a(function(l, u) {
|
|
430
430
|
var d = typeof Symbol == "function" && Symbol.iterator, p = "@@iterator";
|
|
431
431
|
function f(D) {
|
|
432
|
-
var
|
|
433
|
-
if (typeof
|
|
434
|
-
return
|
|
432
|
+
var H = D && (d && D[d] || D[p]);
|
|
433
|
+
if (typeof H == "function")
|
|
434
|
+
return H;
|
|
435
435
|
}
|
|
436
436
|
a(f, "getIteratorFn");
|
|
437
437
|
var h = "<<anonymous>>", g = {
|
|
@@ -455,18 +455,18 @@ function AR() {
|
|
|
455
455
|
shape: A,
|
|
456
456
|
exact: $
|
|
457
457
|
};
|
|
458
|
-
function m(D,
|
|
459
|
-
return D ===
|
|
458
|
+
function m(D, H) {
|
|
459
|
+
return D === H ? D !== 0 || 1 / D === 1 / H : D !== D && H !== H;
|
|
460
460
|
}
|
|
461
461
|
a(m, "is");
|
|
462
|
-
function b(D,
|
|
463
|
-
this.message = D, this.data =
|
|
462
|
+
function b(D, H) {
|
|
463
|
+
this.message = D, this.data = H && typeof H == "object" ? H : {}, this.stack = "";
|
|
464
464
|
}
|
|
465
465
|
a(b, "PropTypeError"), b.prototype = Error.prototype;
|
|
466
466
|
function v(D) {
|
|
467
467
|
if (process.env.NODE_ENV !== "production")
|
|
468
|
-
var
|
|
469
|
-
function
|
|
468
|
+
var H = {}, ee = 0;
|
|
469
|
+
function z(J, G, te, X, oe, se, ie) {
|
|
470
470
|
if (X = X || h, se = se || te, ie !== r) {
|
|
471
471
|
if (u) {
|
|
472
472
|
var _ = new Error(
|
|
@@ -475,24 +475,24 @@ function AR() {
|
|
|
475
475
|
throw _.name = "Invariant Violation", _;
|
|
476
476
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
477
477
|
var pe = X + ":" + te;
|
|
478
|
-
!
|
|
478
|
+
!H[pe] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
479
479
|
ee < 3 && (i(
|
|
480
480
|
"You are manually calling a React.PropTypes validation function for the `" + se + "` prop on `" + X + "`. 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."
|
|
481
|
-
),
|
|
481
|
+
), H[pe] = !0, ee++);
|
|
482
482
|
}
|
|
483
483
|
}
|
|
484
484
|
return G[te] == null ? J ? G[te] === null ? new b("The " + oe + " `" + se + "` is marked as required " + ("in `" + X + "`, but its value is `null`.")) : new b("The " + oe + " `" + se + "` is marked as required in " + ("`" + X + "`, but its value is `undefined`.")) : null : D(G, te, X, oe, se);
|
|
485
485
|
}
|
|
486
|
-
a(
|
|
487
|
-
var U =
|
|
488
|
-
return U.isRequired =
|
|
486
|
+
a(z, "checkType");
|
|
487
|
+
var U = z.bind(null, !1);
|
|
488
|
+
return U.isRequired = z.bind(null, !0), U;
|
|
489
489
|
}
|
|
490
490
|
a(v, "createChainableTypeChecker");
|
|
491
491
|
function x(D) {
|
|
492
|
-
function
|
|
493
|
-
var X = ee[
|
|
492
|
+
function H(ee, z, U, J, G, te) {
|
|
493
|
+
var X = ee[z], oe = B(X);
|
|
494
494
|
if (oe !== D) {
|
|
495
|
-
var se =
|
|
495
|
+
var se = V(X);
|
|
496
496
|
return new b(
|
|
497
497
|
"Invalid " + J + " `" + G + "` of type " + ("`" + se + "` supplied to `" + U + "`, expected ") + ("`" + D + "`."),
|
|
498
498
|
{ expectedType: D }
|
|
@@ -500,7 +500,7 @@ function AR() {
|
|
|
500
500
|
}
|
|
501
501
|
return null;
|
|
502
502
|
}
|
|
503
|
-
return a(
|
|
503
|
+
return a(H, "validate"), v(H);
|
|
504
504
|
}
|
|
505
505
|
a(x, "createPrimitiveTypeChecker");
|
|
506
506
|
function T() {
|
|
@@ -508,12 +508,12 @@ function AR() {
|
|
|
508
508
|
}
|
|
509
509
|
a(T, "createAnyTypeChecker");
|
|
510
510
|
function k(D) {
|
|
511
|
-
function
|
|
511
|
+
function H(ee, z, U, J, G) {
|
|
512
512
|
if (typeof D != "function")
|
|
513
513
|
return new b("Property `" + G + "` of component `" + U + "` has invalid PropType notation inside arrayOf.");
|
|
514
|
-
var te = ee[
|
|
514
|
+
var te = ee[z];
|
|
515
515
|
if (!Array.isArray(te)) {
|
|
516
|
-
var X =
|
|
516
|
+
var X = B(te);
|
|
517
517
|
return new b("Invalid " + J + " `" + G + "` of type " + ("`" + X + "` supplied to `" + U + "`, expected an array."));
|
|
518
518
|
}
|
|
519
519
|
for (var oe = 0; oe < te.length; oe++) {
|
|
@@ -523,15 +523,15 @@ function AR() {
|
|
|
523
523
|
}
|
|
524
524
|
return null;
|
|
525
525
|
}
|
|
526
|
-
return a(
|
|
526
|
+
return a(H, "validate"), v(H);
|
|
527
527
|
}
|
|
528
528
|
a(k, "createArrayOfTypeChecker");
|
|
529
529
|
function C() {
|
|
530
|
-
function D(
|
|
531
|
-
var G =
|
|
530
|
+
function D(H, ee, z, U, J) {
|
|
531
|
+
var G = H[ee];
|
|
532
532
|
if (!l(G)) {
|
|
533
|
-
var te =
|
|
534
|
-
return new b("Invalid " + U + " `" + J + "` of type " + ("`" + te + "` supplied to `" +
|
|
533
|
+
var te = B(G);
|
|
534
|
+
return new b("Invalid " + U + " `" + J + "` of type " + ("`" + te + "` supplied to `" + z + "`, expected a single ReactElement."));
|
|
535
535
|
}
|
|
536
536
|
return null;
|
|
537
537
|
}
|
|
@@ -539,11 +539,11 @@ function AR() {
|
|
|
539
539
|
}
|
|
540
540
|
a(C, "createElementTypeChecker");
|
|
541
541
|
function S() {
|
|
542
|
-
function D(
|
|
543
|
-
var G =
|
|
542
|
+
function D(H, ee, z, U, J) {
|
|
543
|
+
var G = H[ee];
|
|
544
544
|
if (!t.isValidElementType(G)) {
|
|
545
|
-
var te =
|
|
546
|
-
return new b("Invalid " + U + " `" + J + "` of type " + ("`" + te + "` supplied to `" +
|
|
545
|
+
var te = B(G);
|
|
546
|
+
return new b("Invalid " + U + " `" + J + "` of type " + ("`" + te + "` supplied to `" + z + "`, expected a single ReactElement type."));
|
|
547
547
|
}
|
|
548
548
|
return null;
|
|
549
549
|
}
|
|
@@ -551,14 +551,14 @@ function AR() {
|
|
|
551
551
|
}
|
|
552
552
|
a(S, "createElementTypeTypeChecker");
|
|
553
553
|
function w(D) {
|
|
554
|
-
function
|
|
555
|
-
if (!(ee[
|
|
556
|
-
var te = D.name || h, X = K(ee[
|
|
554
|
+
function H(ee, z, U, J, G) {
|
|
555
|
+
if (!(ee[z] instanceof D)) {
|
|
556
|
+
var te = D.name || h, X = K(ee[z]);
|
|
557
557
|
return new b("Invalid " + J + " `" + G + "` of type " + ("`" + X + "` supplied to `" + U + "`, expected ") + ("instance of `" + te + "`."));
|
|
558
558
|
}
|
|
559
559
|
return null;
|
|
560
560
|
}
|
|
561
|
-
return a(
|
|
561
|
+
return a(H, "validate"), v(H);
|
|
562
562
|
}
|
|
563
563
|
a(w, "createInstanceTypeChecker");
|
|
564
564
|
function M(D) {
|
|
@@ -566,24 +566,24 @@ function AR() {
|
|
|
566
566
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
567
567
|
"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])."
|
|
568
568
|
) : i("Invalid argument supplied to oneOf, expected an array.")), s;
|
|
569
|
-
function
|
|
570
|
-
for (var te = ee[
|
|
569
|
+
function H(ee, z, U, J, G) {
|
|
570
|
+
for (var te = ee[z], X = 0; X < D.length; X++)
|
|
571
571
|
if (m(te, D[X]))
|
|
572
572
|
return null;
|
|
573
573
|
var oe = JSON.stringify(D, /* @__PURE__ */ a(function(ie, _) {
|
|
574
|
-
var pe =
|
|
574
|
+
var pe = V(_);
|
|
575
575
|
return pe === "symbol" ? String(_) : _;
|
|
576
576
|
}, "replacer"));
|
|
577
577
|
return new b("Invalid " + J + " `" + G + "` of value `" + String(te) + "` " + ("supplied to `" + U + "`, expected one of " + oe + "."));
|
|
578
578
|
}
|
|
579
|
-
return a(
|
|
579
|
+
return a(H, "validate"), v(H);
|
|
580
580
|
}
|
|
581
581
|
a(M, "createEnumTypeChecker");
|
|
582
582
|
function F(D) {
|
|
583
|
-
function
|
|
583
|
+
function H(ee, z, U, J, G) {
|
|
584
584
|
if (typeof D != "function")
|
|
585
585
|
return new b("Property `" + G + "` of component `" + U + "` has invalid PropType notation inside objectOf.");
|
|
586
|
-
var te = ee[
|
|
586
|
+
var te = ee[z], X = B(te);
|
|
587
587
|
if (X !== "object")
|
|
588
588
|
return new b("Invalid " + J + " `" + G + "` of type " + ("`" + X + "` supplied to `" + U + "`, expected an object."));
|
|
589
589
|
for (var oe in te)
|
|
@@ -594,20 +594,20 @@ function AR() {
|
|
|
594
594
|
}
|
|
595
595
|
return null;
|
|
596
596
|
}
|
|
597
|
-
return a(
|
|
597
|
+
return a(H, "validate"), v(H);
|
|
598
598
|
}
|
|
599
599
|
a(F, "createObjectOfTypeChecker");
|
|
600
600
|
function P(D) {
|
|
601
601
|
if (!Array.isArray(D))
|
|
602
602
|
return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), s;
|
|
603
|
-
for (var
|
|
604
|
-
var ee = D[
|
|
603
|
+
for (var H = 0; H < D.length; H++) {
|
|
604
|
+
var ee = D[H];
|
|
605
605
|
if (typeof ee != "function")
|
|
606
606
|
return i(
|
|
607
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + N(ee) + " at index " +
|
|
607
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + N(ee) + " at index " + H + "."
|
|
608
608
|
), s;
|
|
609
609
|
}
|
|
610
|
-
function
|
|
610
|
+
function z(U, J, G, te, X) {
|
|
611
611
|
for (var oe = [], se = 0; se < D.length; se++) {
|
|
612
612
|
var ie = D[se], _ = ie(U, J, G, te, X, r);
|
|
613
613
|
if (_ == null)
|
|
@@ -617,53 +617,53 @@ function AR() {
|
|
|
617
617
|
var pe = oe.length > 0 ? ", expected one of type [" + oe.join(", ") + "]" : "";
|
|
618
618
|
return new b("Invalid " + te + " `" + X + "` supplied to " + ("`" + G + "`" + pe + "."));
|
|
619
619
|
}
|
|
620
|
-
return a(
|
|
620
|
+
return a(z, "validate"), v(z);
|
|
621
621
|
}
|
|
622
622
|
a(P, "createUnionTypeChecker");
|
|
623
623
|
function I() {
|
|
624
|
-
function D(
|
|
625
|
-
return L(
|
|
624
|
+
function D(H, ee, z, U, J) {
|
|
625
|
+
return L(H[ee]) ? null : new b("Invalid " + U + " `" + J + "` supplied to " + ("`" + z + "`, expected a ReactNode."));
|
|
626
626
|
}
|
|
627
627
|
return a(D, "validate"), v(D);
|
|
628
628
|
}
|
|
629
629
|
a(I, "createNodeChecker");
|
|
630
|
-
function R(D,
|
|
630
|
+
function R(D, H, ee, z, U) {
|
|
631
631
|
return new b(
|
|
632
|
-
(D || "React class") + ": " +
|
|
632
|
+
(D || "React class") + ": " + H + " type `" + ee + "." + z + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + U + "`."
|
|
633
633
|
);
|
|
634
634
|
}
|
|
635
635
|
a(R, "invalidValidatorError");
|
|
636
636
|
function A(D) {
|
|
637
|
-
function
|
|
638
|
-
var te = ee[
|
|
637
|
+
function H(ee, z, U, J, G) {
|
|
638
|
+
var te = ee[z], X = B(te);
|
|
639
639
|
if (X !== "object")
|
|
640
640
|
return new b("Invalid " + J + " `" + G + "` of type `" + X + "` " + ("supplied to `" + U + "`, expected `object`."));
|
|
641
641
|
for (var oe in D) {
|
|
642
642
|
var se = D[oe];
|
|
643
643
|
if (typeof se != "function")
|
|
644
|
-
return R(U, J, G, oe,
|
|
644
|
+
return R(U, J, G, oe, V(se));
|
|
645
645
|
var ie = se(te, oe, U, J, G + "." + oe, r);
|
|
646
646
|
if (ie)
|
|
647
647
|
return ie;
|
|
648
648
|
}
|
|
649
649
|
return null;
|
|
650
650
|
}
|
|
651
|
-
return a(
|
|
651
|
+
return a(H, "validate"), v(H);
|
|
652
652
|
}
|
|
653
653
|
a(A, "createShapeTypeChecker");
|
|
654
654
|
function $(D) {
|
|
655
|
-
function
|
|
656
|
-
var te = ee[
|
|
655
|
+
function H(ee, z, U, J, G) {
|
|
656
|
+
var te = ee[z], X = B(te);
|
|
657
657
|
if (X !== "object")
|
|
658
658
|
return new b("Invalid " + J + " `" + G + "` of type `" + X + "` " + ("supplied to `" + U + "`, expected `object`."));
|
|
659
|
-
var oe = e({}, ee[
|
|
659
|
+
var oe = e({}, ee[z], D);
|
|
660
660
|
for (var se in oe) {
|
|
661
661
|
var ie = D[se];
|
|
662
662
|
if (n(D, se) && typeof ie != "function")
|
|
663
|
-
return R(U, J, G, se,
|
|
663
|
+
return R(U, J, G, se, V(ie));
|
|
664
664
|
if (!ie)
|
|
665
665
|
return new b(
|
|
666
|
-
"Invalid " + J + " `" + G + "` key `" + se + "` supplied to `" + U + "`.\nBad object: " + JSON.stringify(ee[
|
|
666
|
+
"Invalid " + J + " `" + G + "` key `" + se + "` supplied to `" + U + "`.\nBad object: " + JSON.stringify(ee[z], null, " ") + `
|
|
667
667
|
Valid keys: ` + JSON.stringify(Object.keys(D), null, " ")
|
|
668
668
|
);
|
|
669
669
|
var _ = ie(te, se, U, J, G + "." + se, r);
|
|
@@ -672,7 +672,7 @@ Valid keys: ` + JSON.stringify(Object.keys(D), null, " ")
|
|
|
672
672
|
}
|
|
673
673
|
return null;
|
|
674
674
|
}
|
|
675
|
-
return a(
|
|
675
|
+
return a(H, "validate"), v(H);
|
|
676
676
|
}
|
|
677
677
|
a($, "createStrictShapeTypeChecker");
|
|
678
678
|
function L(D) {
|
|
@@ -688,16 +688,16 @@ Valid keys: ` + JSON.stringify(Object.keys(D), null, " ")
|
|
|
688
688
|
return D.every(L);
|
|
689
689
|
if (D === null || l(D))
|
|
690
690
|
return !0;
|
|
691
|
-
var
|
|
692
|
-
if (
|
|
693
|
-
var ee =
|
|
694
|
-
if (
|
|
695
|
-
for (; !(
|
|
696
|
-
if (!L(
|
|
691
|
+
var H = f(D);
|
|
692
|
+
if (H) {
|
|
693
|
+
var ee = H.call(D), z;
|
|
694
|
+
if (H !== D.entries) {
|
|
695
|
+
for (; !(z = ee.next()).done; )
|
|
696
|
+
if (!L(z.value))
|
|
697
697
|
return !1;
|
|
698
698
|
} else
|
|
699
|
-
for (; !(
|
|
700
|
-
var U =
|
|
699
|
+
for (; !(z = ee.next()).done; ) {
|
|
700
|
+
var U = z.value;
|
|
701
701
|
if (U && !L(U[1]))
|
|
702
702
|
return !1;
|
|
703
703
|
}
|
|
@@ -709,40 +709,40 @@ Valid keys: ` + JSON.stringify(Object.keys(D), null, " ")
|
|
|
709
709
|
}
|
|
710
710
|
}
|
|
711
711
|
a(L, "isNode");
|
|
712
|
-
function
|
|
713
|
-
return D === "symbol" ? !0 :
|
|
712
|
+
function j(D, H) {
|
|
713
|
+
return D === "symbol" ? !0 : H ? H["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && H instanceof Symbol : !1;
|
|
714
714
|
}
|
|
715
|
-
a(
|
|
716
|
-
function
|
|
717
|
-
var
|
|
718
|
-
return Array.isArray(D) ? "array" : D instanceof RegExp ? "object" :
|
|
715
|
+
a(j, "isSymbol");
|
|
716
|
+
function B(D) {
|
|
717
|
+
var H = typeof D;
|
|
718
|
+
return Array.isArray(D) ? "array" : D instanceof RegExp ? "object" : j(H, D) ? "symbol" : H;
|
|
719
719
|
}
|
|
720
|
-
a(
|
|
721
|
-
function
|
|
720
|
+
a(B, "getPropType");
|
|
721
|
+
function V(D) {
|
|
722
722
|
if (typeof D > "u" || D === null)
|
|
723
723
|
return "" + D;
|
|
724
|
-
var
|
|
725
|
-
if (
|
|
724
|
+
var H = B(D);
|
|
725
|
+
if (H === "object") {
|
|
726
726
|
if (D instanceof Date)
|
|
727
727
|
return "date";
|
|
728
728
|
if (D instanceof RegExp)
|
|
729
729
|
return "regexp";
|
|
730
730
|
}
|
|
731
|
-
return
|
|
731
|
+
return H;
|
|
732
732
|
}
|
|
733
|
-
a(
|
|
733
|
+
a(V, "getPreciseType");
|
|
734
734
|
function N(D) {
|
|
735
|
-
var
|
|
736
|
-
switch (
|
|
735
|
+
var H = V(D);
|
|
736
|
+
switch (H) {
|
|
737
737
|
case "array":
|
|
738
738
|
case "object":
|
|
739
|
-
return "an " +
|
|
739
|
+
return "an " + H;
|
|
740
740
|
case "boolean":
|
|
741
741
|
case "date":
|
|
742
742
|
case "regexp":
|
|
743
|
-
return "a " +
|
|
743
|
+
return "a " + H;
|
|
744
744
|
default:
|
|
745
|
-
return
|
|
745
|
+
return H;
|
|
746
746
|
}
|
|
747
747
|
}
|
|
748
748
|
a(N, "getPostfixForTypeWarning");
|
|
@@ -1739,7 +1739,7 @@ function OA() {
|
|
|
1739
1739
|
}
|
|
1740
1740
|
}
|
|
1741
1741
|
a(C, "typeOf");
|
|
1742
|
-
var S = u, w = d, M = l, F = s, P = e, I = p, R = n, A = m, $ = g, L = r,
|
|
1742
|
+
var S = u, w = d, M = l, F = s, P = e, I = p, R = n, A = m, $ = g, L = r, j = i, B = o, V = f, N = !1;
|
|
1743
1743
|
function K(_) {
|
|
1744
1744
|
return N || (N = !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.")), D(_) || C(_) === u;
|
|
1745
1745
|
}
|
|
@@ -1748,18 +1748,18 @@ function OA() {
|
|
|
1748
1748
|
return C(_) === d;
|
|
1749
1749
|
}
|
|
1750
1750
|
a(D, "isConcurrentMode");
|
|
1751
|
-
function
|
|
1751
|
+
function H(_) {
|
|
1752
1752
|
return C(_) === l;
|
|
1753
1753
|
}
|
|
1754
|
-
a(
|
|
1754
|
+
a(H, "isContextConsumer");
|
|
1755
1755
|
function ee(_) {
|
|
1756
1756
|
return C(_) === s;
|
|
1757
1757
|
}
|
|
1758
1758
|
a(ee, "isContextProvider");
|
|
1759
|
-
function
|
|
1759
|
+
function z(_) {
|
|
1760
1760
|
return typeof _ == "object" && _ !== null && _.$$typeof === e;
|
|
1761
1761
|
}
|
|
1762
|
-
a(
|
|
1762
|
+
a(z, "isElement");
|
|
1763
1763
|
function U(_) {
|
|
1764
1764
|
return C(_) === p;
|
|
1765
1765
|
}
|
|
@@ -1791,7 +1791,7 @@ function OA() {
|
|
|
1791
1791
|
function ie(_) {
|
|
1792
1792
|
return C(_) === f;
|
|
1793
1793
|
}
|
|
1794
|
-
a(ie, "isSuspense"), tt.AsyncMode = S, tt.ConcurrentMode = w, tt.ContextConsumer = M, tt.ContextProvider = F, tt.Element = P, tt.ForwardRef = I, tt.Fragment = R, tt.Lazy = A, tt.Memo = $, tt.Portal = L, tt.Profiler =
|
|
1794
|
+
a(ie, "isSuspense"), tt.AsyncMode = S, tt.ConcurrentMode = w, tt.ContextConsumer = M, tt.ContextProvider = F, tt.Element = P, tt.ForwardRef = I, tt.Fragment = R, tt.Lazy = A, tt.Memo = $, tt.Portal = L, tt.Profiler = j, tt.StrictMode = B, tt.Suspense = V, tt.isAsyncMode = K, tt.isConcurrentMode = D, tt.isContextConsumer = H, tt.isContextProvider = ee, tt.isElement = z, tt.isForwardRef = U, tt.isFragment = J, tt.isLazy = G, tt.isMemo = te, tt.isPortal = X, tt.isProfiler = oe, tt.isStrictMode = se, tt.isSuspense = ie, tt.isValidElementType = k, tt.typeOf = C;
|
|
1795
1795
|
}()), tt;
|
|
1796
1796
|
}
|
|
1797
1797
|
a(OA, "requireReactIs_development$1");
|
|
@@ -2819,23 +2819,23 @@ function oF() {
|
|
|
2819
2819
|
}
|
|
2820
2820
|
}
|
|
2821
2821
|
a(S, "typeOf");
|
|
2822
|
-
var w = s, M = i, F = t, P = u, I = r, R = h, A = f, $ = e, L = o,
|
|
2822
|
+
var w = s, M = i, F = t, P = u, I = r, R = h, A = f, $ = e, L = o, j = n, B = d, V = p, N = !1, K = !1;
|
|
2823
2823
|
function D(Y) {
|
|
2824
2824
|
return N || (N = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
2825
2825
|
}
|
|
2826
2826
|
a(D, "isAsyncMode");
|
|
2827
|
-
function
|
|
2827
|
+
function H(Y) {
|
|
2828
2828
|
return K || (K = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
2829
2829
|
}
|
|
2830
|
-
a(
|
|
2830
|
+
a(H, "isConcurrentMode");
|
|
2831
2831
|
function ee(Y) {
|
|
2832
2832
|
return S(Y) === s;
|
|
2833
2833
|
}
|
|
2834
2834
|
a(ee, "isContextConsumer");
|
|
2835
|
-
function
|
|
2835
|
+
function z(Y) {
|
|
2836
2836
|
return S(Y) === i;
|
|
2837
2837
|
}
|
|
2838
|
-
a(
|
|
2838
|
+
a(z, "isContextProvider");
|
|
2839
2839
|
function U(Y) {
|
|
2840
2840
|
return typeof Y == "object" && Y !== null && Y.$$typeof === t;
|
|
2841
2841
|
}
|
|
@@ -2875,7 +2875,7 @@ function oF() {
|
|
|
2875
2875
|
function pe(Y) {
|
|
2876
2876
|
return S(Y) === p;
|
|
2877
2877
|
}
|
|
2878
|
-
a(pe, "isSuspenseList"), nt.ContextConsumer = w, nt.ContextProvider = M, nt.Element = F, nt.ForwardRef = P, nt.Fragment = I, nt.Lazy = R, nt.Memo = A, nt.Portal = $, nt.Profiler = L, nt.StrictMode =
|
|
2878
|
+
a(pe, "isSuspenseList"), nt.ContextConsumer = w, nt.ContextProvider = M, nt.Element = F, nt.ForwardRef = P, nt.Fragment = I, nt.Lazy = R, nt.Memo = A, nt.Portal = $, nt.Profiler = L, nt.StrictMode = j, nt.Suspense = B, nt.SuspenseList = V, nt.isAsyncMode = D, nt.isConcurrentMode = H, nt.isContextConsumer = ee, nt.isContextProvider = z, nt.isElement = U, nt.isForwardRef = J, nt.isFragment = G, nt.isLazy = te, nt.isMemo = X, nt.isPortal = oe, nt.isProfiler = se, nt.isStrictMode = ie, nt.isSuspense = _, nt.isSuspenseList = pe, nt.isValidElementType = C, nt.typeOf = S;
|
|
2879
2879
|
}()), nt;
|
|
2880
2880
|
}
|
|
2881
2881
|
a(oF, "requireReactIs_development");
|
|
@@ -3946,8 +3946,8 @@ function xI(t = {}) {
|
|
|
3946
3946
|
if (!A.components || !A.components[u] || !A.components[u].styleOverrides)
|
|
3947
3947
|
return null;
|
|
3948
3948
|
const $ = A.components[u].styleOverrides, L = {};
|
|
3949
|
-
return Object.entries($).forEach(([
|
|
3950
|
-
L[
|
|
3949
|
+
return Object.entries($).forEach(([j, B]) => {
|
|
3950
|
+
L[j] = _c(B, (0, Mr.default)({}, R, {
|
|
3951
3951
|
theme: A
|
|
3952
3952
|
}));
|
|
3953
3953
|
}), h(R, L);
|
|
@@ -5489,8 +5489,8 @@ function G$(t = {}) {
|
|
|
5489
5489
|
if (!A.components || !A.components[u] || !A.components[u].styleOverrides)
|
|
5490
5490
|
return null;
|
|
5491
5491
|
const $ = A.components[u].styleOverrides, L = {};
|
|
5492
|
-
return Object.entries($).forEach(([
|
|
5493
|
-
L[
|
|
5492
|
+
return Object.entries($).forEach(([j, B]) => {
|
|
5493
|
+
L[j] = Bc(B, E({}, R, {
|
|
5494
5494
|
theme: A
|
|
5495
5495
|
}));
|
|
5496
5496
|
}), h(R, L);
|
|
@@ -7024,30 +7024,30 @@ const JL = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "
|
|
|
7024
7024
|
timeout: x = o,
|
|
7025
7025
|
// eslint-disable-next-line react/prop-types
|
|
7026
7026
|
TransitionComponent: T = en
|
|
7027
|
-
} = e, k = ne(e, JL), C = O.useRef(null), S = wt(C, l.ref, r), w = /* @__PURE__ */ a((L) => (
|
|
7027
|
+
} = e, k = ne(e, JL), C = O.useRef(null), S = wt(C, l.ref, r), w = /* @__PURE__ */ a((L) => (j) => {
|
|
7028
7028
|
if (L) {
|
|
7029
|
-
const
|
|
7030
|
-
|
|
7029
|
+
const B = C.current;
|
|
7030
|
+
j === void 0 ? L(B) : L(B, j);
|
|
7031
7031
|
}
|
|
7032
|
-
}, "normalizedTransitionCallback"), M = w(h), F = w((L,
|
|
7032
|
+
}, "normalizedTransitionCallback"), M = w(h), F = w((L, j) => {
|
|
7033
7033
|
Vg(L);
|
|
7034
|
-
const
|
|
7034
|
+
const B = ki({
|
|
7035
7035
|
style: v,
|
|
7036
7036
|
timeout: x,
|
|
7037
7037
|
easing: u
|
|
7038
7038
|
}, {
|
|
7039
7039
|
mode: "enter"
|
|
7040
7040
|
});
|
|
7041
|
-
L.style.webkitTransition = n.transitions.create("opacity",
|
|
7041
|
+
L.style.webkitTransition = n.transitions.create("opacity", B), L.style.transition = n.transitions.create("opacity", B), p && p(L, j);
|
|
7042
7042
|
}), P = w(f), I = w(b), R = w((L) => {
|
|
7043
|
-
const
|
|
7043
|
+
const j = ki({
|
|
7044
7044
|
style: v,
|
|
7045
7045
|
timeout: x,
|
|
7046
7046
|
easing: u
|
|
7047
7047
|
}, {
|
|
7048
7048
|
mode: "exit"
|
|
7049
7049
|
});
|
|
7050
|
-
L.style.webkitTransition = n.transitions.create("opacity",
|
|
7050
|
+
L.style.webkitTransition = n.transitions.create("opacity", j), L.style.transition = n.transitions.create("opacity", j), g && g(L);
|
|
7051
7051
|
}), A = w(m);
|
|
7052
7052
|
return /* @__PURE__ */ y(T, E({
|
|
7053
7053
|
appear: s,
|
|
@@ -7064,13 +7064,13 @@ const JL = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "
|
|
|
7064
7064
|
}, "handleAddEndListener"),
|
|
7065
7065
|
timeout: x
|
|
7066
7066
|
}, k, {
|
|
7067
|
-
children: /* @__PURE__ */ a((L,
|
|
7067
|
+
children: /* @__PURE__ */ a((L, j) => /* @__PURE__ */ O.cloneElement(l, E({
|
|
7068
7068
|
style: E({
|
|
7069
7069
|
opacity: 0,
|
|
7070
7070
|
visibility: L === "exited" && !d ? "hidden" : void 0
|
|
7071
7071
|
}, QL[L], v, l.props.style),
|
|
7072
7072
|
ref: S
|
|
7073
|
-
},
|
|
7073
|
+
}, j)), "children")
|
|
7074
7074
|
}));
|
|
7075
7075
|
}, "Fade"));
|
|
7076
7076
|
process.env.NODE_ENV !== "production" && (jg.propTypes = {
|
|
@@ -7349,10 +7349,10 @@ function iN(t) {
|
|
|
7349
7349
|
disableScrollLock: n
|
|
7350
7350
|
}), m.current && (m.current.scrollTop = 0);
|
|
7351
7351
|
}, "handleMounted"), M = o0(() => {
|
|
7352
|
-
const
|
|
7353
|
-
o.add(S(),
|
|
7354
|
-
}), F = O.useCallback(() => o.isTopModal(S()), [o]), P = o0((
|
|
7355
|
-
g.current =
|
|
7352
|
+
const B = rN(e) || C().body;
|
|
7353
|
+
o.add(S(), B), m.current && w();
|
|
7354
|
+
}), F = O.useCallback(() => o.isTopModal(S()), [o]), P = o0((B) => {
|
|
7355
|
+
g.current = B, B && (p && F() ? w() : m.current && $s(m.current, k));
|
|
7356
7356
|
}), I = O.useCallback(() => {
|
|
7357
7357
|
o.remove(S(), k);
|
|
7358
7358
|
}, [k, o]);
|
|
@@ -7361,19 +7361,19 @@ function iN(t) {
|
|
|
7361
7361
|
}, [I]), O.useEffect(() => {
|
|
7362
7362
|
p ? M() : (!T || !i) && I();
|
|
7363
7363
|
}, [p, I, T, i, M]);
|
|
7364
|
-
const R = /* @__PURE__ */ a((
|
|
7364
|
+
const R = /* @__PURE__ */ a((B) => (V) => {
|
|
7365
7365
|
var N;
|
|
7366
|
-
(N =
|
|
7367
|
-
!F()) && (r || (
|
|
7368
|
-
}, "createHandleKeyDown"), A = /* @__PURE__ */ a((
|
|
7366
|
+
(N = B.onKeyDown) == null || N.call(B, V), !(V.key !== "Escape" || V.which === 229 || // Wait until IME is settled.
|
|
7367
|
+
!F()) && (r || (V.stopPropagation(), d && d(V, "escapeKeyDown")));
|
|
7368
|
+
}, "createHandleKeyDown"), A = /* @__PURE__ */ a((B) => (V) => {
|
|
7369
7369
|
var N;
|
|
7370
|
-
(N =
|
|
7370
|
+
(N = B.onClick) == null || N.call(B, V), V.target === V.currentTarget && d && d(V, "backdropClick");
|
|
7371
7371
|
}, "createHandleBackdropClick");
|
|
7372
7372
|
return {
|
|
7373
|
-
getRootProps: /* @__PURE__ */ a((
|
|
7374
|
-
const
|
|
7375
|
-
delete
|
|
7376
|
-
const N = E({},
|
|
7373
|
+
getRootProps: /* @__PURE__ */ a((B = {}) => {
|
|
7374
|
+
const V = _C(t);
|
|
7375
|
+
delete V.onTransitionEnter, delete V.onTransitionExited;
|
|
7376
|
+
const N = E({}, V, B);
|
|
7377
7377
|
return E({
|
|
7378
7378
|
role: "presentation"
|
|
7379
7379
|
}, N, {
|
|
@@ -7381,24 +7381,24 @@ function iN(t) {
|
|
|
7381
7381
|
ref: b
|
|
7382
7382
|
});
|
|
7383
7383
|
}, "getRootProps"),
|
|
7384
|
-
getBackdropProps: /* @__PURE__ */ a((
|
|
7385
|
-
const
|
|
7384
|
+
getBackdropProps: /* @__PURE__ */ a((B = {}) => {
|
|
7385
|
+
const V = B;
|
|
7386
7386
|
return E({
|
|
7387
7387
|
"aria-hidden": !0
|
|
7388
|
-
},
|
|
7389
|
-
onClick: A(
|
|
7388
|
+
}, V, {
|
|
7389
|
+
onClick: A(V),
|
|
7390
7390
|
open: p
|
|
7391
7391
|
});
|
|
7392
7392
|
}, "getBackdropProps"),
|
|
7393
7393
|
getTransitionProps: /* @__PURE__ */ a(() => {
|
|
7394
|
-
const
|
|
7394
|
+
const B = /* @__PURE__ */ a(() => {
|
|
7395
7395
|
x(!1), s && s();
|
|
7396
|
-
}, "handleEnter"),
|
|
7396
|
+
}, "handleEnter"), V = /* @__PURE__ */ a(() => {
|
|
7397
7397
|
x(!0), l && l(), i && I();
|
|
7398
7398
|
}, "handleExited");
|
|
7399
7399
|
return {
|
|
7400
|
-
onEnter: i0(
|
|
7401
|
-
onExited: i0(
|
|
7400
|
+
onEnter: i0(B, u == null ? void 0 : u.props.onEnter),
|
|
7401
|
+
onExited: i0(V, u == null ? void 0 : u.props.onExited)
|
|
7402
7402
|
};
|
|
7403
7403
|
}, "getTransitionProps"),
|
|
7404
7404
|
rootRef: b,
|
|
@@ -7479,7 +7479,7 @@ const sN = ["BackdropComponent", "BackdropProps", "classes", "className", "close
|
|
|
7479
7479
|
slotProps: $,
|
|
7480
7480
|
slots: L
|
|
7481
7481
|
// eslint-disable-next-line react/prop-types
|
|
7482
|
-
} = d,
|
|
7482
|
+
} = d, j = ne(d, sN), B = E({}, d, {
|
|
7483
7483
|
closeAfterTransition: g,
|
|
7484
7484
|
disableAutoFocus: k,
|
|
7485
7485
|
disableEnforceFocus: C,
|
|
@@ -7490,19 +7490,19 @@ const sN = ["BackdropComponent", "BackdropProps", "classes", "className", "close
|
|
|
7490
7490
|
hideBackdrop: P,
|
|
7491
7491
|
keepMounted: I
|
|
7492
7492
|
}), {
|
|
7493
|
-
getRootProps:
|
|
7493
|
+
getRootProps: V,
|
|
7494
7494
|
getBackdropProps: N,
|
|
7495
7495
|
getTransitionProps: K,
|
|
7496
7496
|
portalRef: D,
|
|
7497
|
-
isTopModal:
|
|
7497
|
+
isTopModal: H,
|
|
7498
7498
|
exited: ee,
|
|
7499
|
-
hasTransition:
|
|
7500
|
-
} = iN(E({},
|
|
7499
|
+
hasTransition: z
|
|
7500
|
+
} = iN(E({}, B, {
|
|
7501
7501
|
rootRef: r
|
|
7502
|
-
})), U = E({},
|
|
7502
|
+
})), U = E({}, B, {
|
|
7503
7503
|
exited: ee
|
|
7504
7504
|
}), J = lN(U), G = {};
|
|
7505
|
-
if (m.props.tabIndex === void 0 && (G.tabIndex = "-1"),
|
|
7505
|
+
if (m.props.tabIndex === void 0 && (G.tabIndex = "-1"), z) {
|
|
7506
7506
|
const {
|
|
7507
7507
|
onEnter: pe,
|
|
7508
7508
|
onExited: Y
|
|
@@ -7512,8 +7512,8 @@ const sN = ["BackdropComponent", "BackdropProps", "classes", "className", "close
|
|
|
7512
7512
|
const te = (n = (o = L == null ? void 0 : L.root) != null ? o : x.Root) != null ? n : cN, X = (i = (s = L == null ? void 0 : L.backdrop) != null ? s : x.Backdrop) != null ? i : p, oe = (l = $ == null ? void 0 : $.root) != null ? l : T.root, se = (u = $ == null ? void 0 : $.backdrop) != null ? u : T.backdrop, ie = vr({
|
|
7513
7513
|
elementType: te,
|
|
7514
7514
|
externalSlotProps: oe,
|
|
7515
|
-
externalForwardedProps:
|
|
7516
|
-
getSlotProps:
|
|
7515
|
+
externalForwardedProps: j,
|
|
7516
|
+
getSlotProps: V,
|
|
7517
7517
|
additionalProps: {
|
|
7518
7518
|
ref: r,
|
|
7519
7519
|
as: v
|
|
@@ -7532,7 +7532,7 @@ const sN = ["BackdropComponent", "BackdropProps", "classes", "className", "close
|
|
|
7532
7532
|
className: re(se == null ? void 0 : se.className, f == null ? void 0 : f.className, J == null ? void 0 : J.backdrop),
|
|
7533
7533
|
ownerState: U
|
|
7534
7534
|
});
|
|
7535
|
-
return !I && !A && (!
|
|
7535
|
+
return !I && !A && (!z || ee) ? null : /* @__PURE__ */ y(hl, {
|
|
7536
7536
|
ref: D,
|
|
7537
7537
|
container: b,
|
|
7538
7538
|
disablePortal: w,
|
|
@@ -7541,7 +7541,7 @@ const sN = ["BackdropComponent", "BackdropProps", "classes", "className", "close
|
|
|
7541
7541
|
disableEnforceFocus: C,
|
|
7542
7542
|
disableAutoFocus: k,
|
|
7543
7543
|
disableRestoreFocus: M,
|
|
7544
|
-
isEnabled:
|
|
7544
|
+
isEnabled: H,
|
|
7545
7545
|
open: A,
|
|
7546
7546
|
children: /* @__PURE__ */ O.cloneElement(m, G)
|
|
7547
7547
|
})]
|
|
@@ -8046,11 +8046,11 @@ const vN = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
|
|
|
8046
8046
|
scroll: w
|
|
8047
8047
|
}), A = ON(R), $ = O.useRef(), L = /* @__PURE__ */ a((N) => {
|
|
8048
8048
|
$.current = N.target === N.currentTarget;
|
|
8049
|
-
}, "handleMouseDown"),
|
|
8049
|
+
}, "handleMouseDown"), j = /* @__PURE__ */ a((N) => {
|
|
8050
8050
|
x && x(N), $.current && ($.current = null, v && v(N), T && T(N, "backdropClick"));
|
|
8051
|
-
}, "handleBackdropClick"),
|
|
8052
|
-
titleId:
|
|
8053
|
-
}), [
|
|
8051
|
+
}, "handleBackdropClick"), B = Gl(l), V = O.useMemo(() => ({
|
|
8052
|
+
titleId: B
|
|
8053
|
+
}), [B]);
|
|
8054
8054
|
return /* @__PURE__ */ y(SN, E({
|
|
8055
8055
|
className: re(A.root, f),
|
|
8056
8056
|
closeAfterTransition: !0,
|
|
@@ -8067,7 +8067,7 @@ const vN = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
|
|
|
8067
8067
|
onClose: T,
|
|
8068
8068
|
open: k,
|
|
8069
8069
|
ref: r,
|
|
8070
|
-
onClick:
|
|
8070
|
+
onClick: j,
|
|
8071
8071
|
ownerState: R
|
|
8072
8072
|
}, I, {
|
|
8073
8073
|
children: /* @__PURE__ */ y(M, E({
|
|
@@ -8085,12 +8085,12 @@ const vN = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
|
|
|
8085
8085
|
elevation: 24,
|
|
8086
8086
|
role: "dialog",
|
|
8087
8087
|
"aria-describedby": s,
|
|
8088
|
-
"aria-labelledby":
|
|
8088
|
+
"aria-labelledby": B
|
|
8089
8089
|
}, S, {
|
|
8090
8090
|
className: re(A.paper, S.className),
|
|
8091
8091
|
ownerState: R,
|
|
8092
8092
|
children: /* @__PURE__ */ y(Wg.Provider, {
|
|
8093
|
-
value:
|
|
8093
|
+
value: V,
|
|
8094
8094
|
children: p
|
|
8095
8095
|
})
|
|
8096
8096
|
}))
|
|
@@ -9645,20 +9645,20 @@ const CD = /^(\d+)(th|st|nd|rd)?/i, kD = /\d+/i, ED = {
|
|
|
9645
9645
|
} = t, {
|
|
9646
9646
|
onFocus: $,
|
|
9647
9647
|
onBlur: L,
|
|
9648
|
-
onChange:
|
|
9649
|
-
hidden:
|
|
9650
|
-
disabled:
|
|
9648
|
+
onChange: j,
|
|
9649
|
+
hidden: B,
|
|
9650
|
+
disabled: V,
|
|
9651
9651
|
useContenido: N = tc,
|
|
9652
9652
|
validate: K,
|
|
9653
9653
|
required: D,
|
|
9654
|
-
...
|
|
9655
|
-
} = k, ee = s ||
|
|
9654
|
+
...H
|
|
9655
|
+
} = k, ee = s || B === void 0 ? F : B, z = s || V === void 0 ? P : V, U = s || $ === void 0 ? S : $, J = s || L === void 0 ? M : L, G = s || j === void 0 ? w : j, te = wn({ ...t, etrs: C, asisEtr: i }), X = N({
|
|
9656
9656
|
...A,
|
|
9657
9657
|
estado: r,
|
|
9658
9658
|
hidden: ee,
|
|
9659
9659
|
isLoading: n,
|
|
9660
9660
|
utils: te,
|
|
9661
|
-
...
|
|
9661
|
+
...H
|
|
9662
9662
|
}), {
|
|
9663
9663
|
hidden: oe,
|
|
9664
9664
|
disabled: se,
|
|
@@ -9694,9 +9694,9 @@ const CD = /^(\d+)(th|st|nd|rd)?/i, kD = /\d+/i, ED = {
|
|
|
9694
9694
|
helperText: !1,
|
|
9695
9695
|
validate: Ie,
|
|
9696
9696
|
...A,
|
|
9697
|
-
...
|
|
9697
|
+
...H,
|
|
9698
9698
|
...We,
|
|
9699
|
-
readOnly: h !== void 0 ? h : se !== void 0 ? se : f ? !0 :
|
|
9699
|
+
readOnly: h !== void 0 ? h : se !== void 0 ? se : f ? !0 : z,
|
|
9700
9700
|
...v ? { label: v } : {},
|
|
9701
9701
|
required: Ue
|
|
9702
9702
|
},
|
|
@@ -11316,15 +11316,15 @@ const $a = Oe("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
|
|
|
11316
11316
|
onKeyDown: A,
|
|
11317
11317
|
onKeyUp: $,
|
|
11318
11318
|
placeholder: L,
|
|
11319
|
-
readOnly:
|
|
11320
|
-
renderSuffix:
|
|
11321
|
-
rows:
|
|
11319
|
+
readOnly: j,
|
|
11320
|
+
renderSuffix: B,
|
|
11321
|
+
rows: V,
|
|
11322
11322
|
slotProps: N = {},
|
|
11323
11323
|
slots: K = {},
|
|
11324
11324
|
startAdornment: D,
|
|
11325
|
-
type:
|
|
11325
|
+
type: H = "text",
|
|
11326
11326
|
value: ee
|
|
11327
|
-
} = o,
|
|
11327
|
+
} = o, z = ne(o, X_), U = T.value != null ? T.value : ee, {
|
|
11328
11328
|
current: J
|
|
11329
11329
|
} = O.useRef(U != null), G = O.useRef(), te = O.useCallback(($e) => {
|
|
11330
11330
|
process.env.NODE_ENV !== "production" && $e && $e.nodeName !== "INPUT" && !$e.focus && console.error(["MUI: You have provided a `inputComponent` to the input component", "that does not correctly handle the `ref` prop.", "Make sure the `ref` prop is called with a HTMLInputElement."].join(`
|
|
@@ -11376,10 +11376,10 @@ const $a = Oe("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
|
|
|
11376
11376
|
G.current && $e.currentTarget === $e.target && G.current.focus(), I && I($e);
|
|
11377
11377
|
}, "handleClick");
|
|
11378
11378
|
let Ue = x, _e = T;
|
|
11379
|
-
w && Ue === "input" && (
|
|
11379
|
+
w && Ue === "input" && (V ? (process.env.NODE_ENV !== "production" && (S || C) && console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."), _e = E({
|
|
11380
11380
|
type: void 0,
|
|
11381
|
-
minRows:
|
|
11382
|
-
maxRows:
|
|
11381
|
+
minRows: V,
|
|
11382
|
+
maxRows: V
|
|
11383
11383
|
}, _e)) : _e = E({
|
|
11384
11384
|
type: void 0,
|
|
11385
11385
|
maxRows: C,
|
|
@@ -11405,7 +11405,7 @@ const $a = Oe("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
|
|
|
11405
11405
|
multiline: w,
|
|
11406
11406
|
size: _.size,
|
|
11407
11407
|
startAdornment: D,
|
|
11408
|
-
type:
|
|
11408
|
+
type: H
|
|
11409
11409
|
}), Ie = Z_(at), ze = K.root || d.Root || Op, bt = N.root || p.root || {}, kt = K.input || d.Input || Sp;
|
|
11410
11410
|
return _e = E({}, _e, (n = N.input) != null ? n : p.input), /* @__PURE__ */ W(O.Fragment, {
|
|
11411
11411
|
children: [!g && e2, /* @__PURE__ */ W(ze, E({}, bt, !Aa(ze) && {
|
|
@@ -11413,8 +11413,8 @@ const $a = Oe("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
|
|
|
11413
11413
|
}, {
|
|
11414
11414
|
ref: r,
|
|
11415
11415
|
onClick: ut
|
|
11416
|
-
},
|
|
11417
|
-
className: re(Ie.root, bt.className, u,
|
|
11416
|
+
}, z, {
|
|
11417
|
+
className: re(Ie.root, bt.className, u, j && "MuiInputBase-readOnly"),
|
|
11418
11418
|
children: [D, /* @__PURE__ */ y(yp.Provider, {
|
|
11419
11419
|
value: null,
|
|
11420
11420
|
children: /* @__PURE__ */ y(kt, E({
|
|
@@ -11429,24 +11429,24 @@ const $a = Oe("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
|
|
|
11429
11429
|
onAnimationStart: st,
|
|
11430
11430
|
name: M,
|
|
11431
11431
|
placeholder: L,
|
|
11432
|
-
readOnly:
|
|
11432
|
+
readOnly: j,
|
|
11433
11433
|
required: _.required,
|
|
11434
|
-
rows:
|
|
11434
|
+
rows: V,
|
|
11435
11435
|
value: U,
|
|
11436
11436
|
onKeyDown: A,
|
|
11437
11437
|
onKeyUp: $,
|
|
11438
|
-
type:
|
|
11438
|
+
type: H
|
|
11439
11439
|
}, _e, !Aa(kt) && {
|
|
11440
11440
|
as: Ue,
|
|
11441
11441
|
ownerState: E({}, at, _e.ownerState)
|
|
11442
11442
|
}, {
|
|
11443
11443
|
ref: X,
|
|
11444
|
-
className: re(Ie.input, _e.className,
|
|
11444
|
+
className: re(Ie.input, _e.className, j && "MuiInputBase-readOnly"),
|
|
11445
11445
|
onBlur: be,
|
|
11446
11446
|
onChange: Re,
|
|
11447
11447
|
onFocus: We
|
|
11448
11448
|
}))
|
|
11449
|
-
}), m,
|
|
11449
|
+
}), m, B ? B(E({}, _, {
|
|
11450
11450
|
startAdornment: D
|
|
11451
11451
|
})) : null]
|
|
11452
11452
|
}))]
|
|
@@ -12230,16 +12230,16 @@ const Ch = 550, l2 = 80, c2 = es(kx || (kx = kp`
|
|
|
12230
12230
|
A = Math.round(R.width / 2), $ = Math.round(R.height / 2);
|
|
12231
12231
|
else {
|
|
12232
12232
|
const {
|
|
12233
|
-
clientX:
|
|
12234
|
-
clientY:
|
|
12233
|
+
clientX: j,
|
|
12234
|
+
clientY: B
|
|
12235
12235
|
} = C.touches && C.touches.length > 0 ? C.touches[0] : C;
|
|
12236
|
-
A = Math.round(
|
|
12236
|
+
A = Math.round(j - R.left), $ = Math.round(B - R.top);
|
|
12237
12237
|
}
|
|
12238
12238
|
if (F)
|
|
12239
12239
|
L = Math.sqrt((2 * R.width ** 2 + R.height ** 2) / 3), L % 2 === 0 && (L += 1);
|
|
12240
12240
|
else {
|
|
12241
|
-
const
|
|
12242
|
-
L = Math.sqrt(
|
|
12241
|
+
const j = Math.max(Math.abs((I ? I.clientWidth : 0) - A), A) * 2 + 2, B = Math.max(Math.abs((I ? I.clientHeight : 0) - $), $) * 2 + 2;
|
|
12242
|
+
L = Math.sqrt(j ** 2 + B ** 2);
|
|
12243
12243
|
}
|
|
12244
12244
|
C != null && C.touches ? m.current === null && (m.current = () => {
|
|
12245
12245
|
v({
|
|
@@ -12390,16 +12390,16 @@ const m2 = Oe("MuiButtonBase", ["root", "disabled", "focusVisible"]), g2 = ["act
|
|
|
12390
12390
|
tabIndex: A = 0,
|
|
12391
12391
|
TouchRippleProps: $,
|
|
12392
12392
|
touchRippleRef: L,
|
|
12393
|
-
type:
|
|
12394
|
-
} = n,
|
|
12393
|
+
type: j
|
|
12394
|
+
} = n, B = ne(n, g2), V = O.useRef(null), N = O.useRef(null), K = wt(N, L), {
|
|
12395
12395
|
isFocusVisibleRef: D,
|
|
12396
|
-
onFocus:
|
|
12396
|
+
onFocus: H,
|
|
12397
12397
|
onBlur: ee,
|
|
12398
|
-
ref:
|
|
12398
|
+
ref: z
|
|
12399
12399
|
} = cp(), [U, J] = O.useState(!1);
|
|
12400
12400
|
d && U && J(!1), O.useImperativeHandle(o, () => ({
|
|
12401
12401
|
focusVisible: /* @__PURE__ */ a(() => {
|
|
12402
|
-
J(!0),
|
|
12402
|
+
J(!0), V.current.focus();
|
|
12403
12403
|
}, "focusVisible")
|
|
12404
12404
|
}), []);
|
|
12405
12405
|
const [G, te] = O.useState(!1);
|
|
@@ -12419,9 +12419,9 @@ const m2 = Oe("MuiButtonBase", ["root", "disabled", "focusVisible"]), g2 = ["act
|
|
|
12419
12419
|
}), me = oe("start", R), We = oe("stop", P), be = oe("stop", I), Re = oe("stop", (ye) => {
|
|
12420
12420
|
ee(ye), D.current === !1 && J(!1), m && m(ye);
|
|
12421
12421
|
}, !1), ut = gr((ye) => {
|
|
12422
|
-
|
|
12422
|
+
V.current || (V.current = ye.currentTarget), H(ye), D.current === !0 && (J(!0), k && k(ye)), T && T(ye);
|
|
12423
12423
|
}), Ue = /* @__PURE__ */ a(() => {
|
|
12424
|
-
const ye =
|
|
12424
|
+
const ye = V.current;
|
|
12425
12425
|
return u && u !== "button" && !(ye.tagName === "A" && ye.href);
|
|
12426
12426
|
}, "isNonNativeButton"), _e = O.useRef(!1), st = gr((ye) => {
|
|
12427
12427
|
h && !_e.current && U && N.current && ye.key === " " && (_e.current = !0, N.current.stop(ye, () => {
|
|
@@ -12433,10 +12433,10 @@ const m2 = Oe("MuiButtonBase", ["root", "disabled", "focusVisible"]), g2 = ["act
|
|
|
12433
12433
|
})), S && S(ye), b && ye.target === ye.currentTarget && Ue() && ye.key === " " && !ye.defaultPrevented && b(ye);
|
|
12434
12434
|
});
|
|
12435
12435
|
let Ie = u;
|
|
12436
|
-
Ie === "button" && (
|
|
12436
|
+
Ie === "button" && (B.href || B.to) && (Ie = g);
|
|
12437
12437
|
const ze = {};
|
|
12438
|
-
Ie === "button" ? (ze.type =
|
|
12439
|
-
const bt = wt(r,
|
|
12438
|
+
Ie === "button" ? (ze.type = j === void 0 ? "button" : j, ze.disabled = d) : (!B.href && !B.to && (ze.role = "button"), d && (ze["aria-disabled"] = d));
|
|
12439
|
+
const bt = wt(r, z, V);
|
|
12440
12440
|
process.env.NODE_ENV !== "production" && O.useEffect(() => {
|
|
12441
12441
|
X && !N.current && console.error(["MUI: The `component` prop provided to ButtonBase is invalid.", "Please make sure the children prop is rendered in this custom component."].join(`
|
|
12442
12442
|
`));
|
|
@@ -12470,8 +12470,8 @@ const m2 = Oe("MuiButtonBase", ["root", "disabled", "focusVisible"]), g2 = ["act
|
|
|
12470
12470
|
onTouchStart: me,
|
|
12471
12471
|
ref: bt,
|
|
12472
12472
|
tabIndex: d ? -1 : A,
|
|
12473
|
-
type:
|
|
12474
|
-
}, ze,
|
|
12473
|
+
type: j
|
|
12474
|
+
}, ze, B, {
|
|
12475
12475
|
children: [s, X ? (
|
|
12476
12476
|
/* TouchRipple is only needed client-side, x2 boost on the server. */
|
|
12477
12477
|
/* @__PURE__ */ y(Sk, E({
|
|
@@ -13357,7 +13357,7 @@ const H2 = ["className"], W2 = ["alignItems", "autoFocus", "button", "children",
|
|
|
13357
13357
|
kn(() => {
|
|
13358
13358
|
i && (A.current ? A.current.focus() : process.env.NODE_ENV !== "production" && console.error("MUI: Unable to set focus to a ListItem whose component has not been rendered."));
|
|
13359
13359
|
}, [i]);
|
|
13360
|
-
const $ = O.Children.toArray(l), L = $.length && ga($[$.length - 1], ["ListItemSecondaryAction"]),
|
|
13360
|
+
const $ = O.Children.toArray(l), L = $.length && ga($[$.length - 1], ["ListItemSecondaryAction"]), j = E({}, n, {
|
|
13361
13361
|
alignItems: o,
|
|
13362
13362
|
autoFocus: i,
|
|
13363
13363
|
button: s,
|
|
@@ -13368,22 +13368,22 @@ const H2 = ["className"], W2 = ["alignItems", "autoFocus", "button", "children",
|
|
|
13368
13368
|
divider: T,
|
|
13369
13369
|
hasSecondaryAction: L,
|
|
13370
13370
|
selected: S
|
|
13371
|
-
}),
|
|
13372
|
-
className: re(
|
|
13371
|
+
}), B = q2(j), V = wt(A, r), N = M.root || p.Root || G2, K = w.root || f.root || {}, D = E({
|
|
13372
|
+
className: re(B.root, K.className, u),
|
|
13373
13373
|
disabled: b
|
|
13374
13374
|
}, P);
|
|
13375
|
-
let
|
|
13376
|
-
return s && (D.component = d || "div", D.focusVisibleClassName = re(Xi.focusVisible, k),
|
|
13375
|
+
let H = d || "li";
|
|
13376
|
+
return s && (D.component = d || "div", D.focusVisibleClassName = re(Xi.focusVisible, k), H = qn), L ? (H = !D.component && !d ? "div" : H, h === "li" && (H === "li" ? H = "div" : D.component === "li" && (D.component = "div")), /* @__PURE__ */ y(Dr.Provider, {
|
|
13377
13377
|
value: R,
|
|
13378
13378
|
children: /* @__PURE__ */ W(K2, E({
|
|
13379
13379
|
as: h,
|
|
13380
|
-
className: re(
|
|
13381
|
-
ref:
|
|
13382
|
-
ownerState:
|
|
13380
|
+
className: re(B.container, g),
|
|
13381
|
+
ref: V,
|
|
13382
|
+
ownerState: j
|
|
13383
13383
|
}, F, {
|
|
13384
13384
|
children: [/* @__PURE__ */ y(N, E({}, K, !Aa(N) && {
|
|
13385
|
-
as:
|
|
13386
|
-
ownerState: E({},
|
|
13385
|
+
as: H,
|
|
13386
|
+
ownerState: E({}, j, K.ownerState)
|
|
13387
13387
|
}, D, {
|
|
13388
13388
|
children: $
|
|
13389
13389
|
})), $.pop()]
|
|
@@ -13391,10 +13391,10 @@ const H2 = ["className"], W2 = ["alignItems", "autoFocus", "button", "children",
|
|
|
13391
13391
|
})) : /* @__PURE__ */ y(Dr.Provider, {
|
|
13392
13392
|
value: R,
|
|
13393
13393
|
children: /* @__PURE__ */ W(N, E({}, K, {
|
|
13394
|
-
as:
|
|
13395
|
-
ref:
|
|
13394
|
+
as: H,
|
|
13395
|
+
ref: V
|
|
13396
13396
|
}, !Aa(N) && {
|
|
13397
|
-
ownerState: E({},
|
|
13397
|
+
ownerState: E({}, j, K.ownerState)
|
|
13398
13398
|
}, D, {
|
|
13399
13399
|
children: [$, C && /* @__PURE__ */ y(nb, {
|
|
13400
13400
|
children: C
|
|
@@ -13884,11 +13884,11 @@ const ib = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
13884
13884
|
mode: "exit"
|
|
13885
13885
|
});
|
|
13886
13886
|
N.style.webkitTransition = n.transitions.create("-webkit-transform", K), N.style.transition = n.transitions.create("transform", K), pc(p, N, d), v && v(N);
|
|
13887
|
-
}),
|
|
13887
|
+
}), j = P((N) => {
|
|
13888
13888
|
N.style.webkitTransition = "", N.style.transition = "", x && x(N);
|
|
13889
|
-
}),
|
|
13889
|
+
}), B = /* @__PURE__ */ a((N) => {
|
|
13890
13890
|
s && s(M.current, N);
|
|
13891
|
-
}, "handleAddEndListener"),
|
|
13891
|
+
}, "handleAddEndListener"), V = O.useCallback(() => {
|
|
13892
13892
|
M.current && pc(p, M.current, d);
|
|
13893
13893
|
}, [p, d]);
|
|
13894
13894
|
return O.useEffect(() => {
|
|
@@ -13901,16 +13901,16 @@ const ib = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
13901
13901
|
N.clear(), K.removeEventListener("resize", N);
|
|
13902
13902
|
};
|
|
13903
13903
|
}, [p, h, d]), O.useEffect(() => {
|
|
13904
|
-
h ||
|
|
13905
|
-
}, [h,
|
|
13904
|
+
h || V();
|
|
13905
|
+
}, [h, V]), /* @__PURE__ */ y(S, E({
|
|
13906
13906
|
nodeRef: M,
|
|
13907
13907
|
onEnter: I,
|
|
13908
13908
|
onEntered: A,
|
|
13909
13909
|
onEntering: R,
|
|
13910
13910
|
onExit: L,
|
|
13911
|
-
onExited:
|
|
13911
|
+
onExited: j,
|
|
13912
13912
|
onExiting: $,
|
|
13913
|
-
addEndListener:
|
|
13913
|
+
addEndListener: B,
|
|
13914
13914
|
appear: l,
|
|
13915
13915
|
in: h,
|
|
13916
13916
|
timeout: C
|
|
@@ -14448,15 +14448,15 @@ const bB = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
14448
14448
|
// Mobile first.
|
|
14449
14449
|
} = n, M = ne(n.ModalProps, fB), F = ne(n, hB), [P, I] = O.useState(!1), R = O.useRef({
|
|
14450
14450
|
isSwiping: null
|
|
14451
|
-
}), A = O.useRef(), $ = O.useRef(), L = O.useRef(),
|
|
14451
|
+
}), A = O.useRef(), $ = O.useRef(), L = O.useRef(), j = wt(T.ref, L), B = O.useRef(!1), V = O.useRef();
|
|
14452
14452
|
kn(() => {
|
|
14453
|
-
|
|
14453
|
+
V.current = null;
|
|
14454
14454
|
}, [x]);
|
|
14455
|
-
const N = O.useCallback((
|
|
14455
|
+
const N = O.useCallback((z, U = {}) => {
|
|
14456
14456
|
const {
|
|
14457
14457
|
mode: J = null,
|
|
14458
14458
|
changeTransition: G = !0
|
|
14459
|
-
} = U, te = Rs(o, s), X = ["right", "bottom"].indexOf(te) !== -1 ? 1 : -1, oe = Vo(s), se = oe ? `translate(${X *
|
|
14459
|
+
} = U, te = Rs(o, s), X = ["right", "bottom"].indexOf(te) !== -1 ? 1 : -1, oe = Vo(s), se = oe ? `translate(${X * z}px, 0)` : `translate(0, ${X * z}px)`, ie = L.current.style;
|
|
14460
14460
|
ie.webkitTransform = se, ie.transform = se;
|
|
14461
14461
|
let _ = "";
|
|
14462
14462
|
if (J && (_ = o.transitions.create("all", ki({
|
|
@@ -14467,12 +14467,12 @@ const bB = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
14467
14467
|
mode: J
|
|
14468
14468
|
}))), G && (ie.webkitTransition = _, ie.transition = _), !l && !p) {
|
|
14469
14469
|
const pe = $.current.style;
|
|
14470
|
-
pe.opacity = 1 -
|
|
14470
|
+
pe.opacity = 1 - z / ys(oe, L.current), G && (pe.webkitTransition = _, pe.transition = _);
|
|
14471
14471
|
}
|
|
14472
|
-
}, [s, l, p, o, S]), K = gr((
|
|
14473
|
-
if (!
|
|
14472
|
+
}, [s, l, p, o, S]), K = gr((z) => {
|
|
14473
|
+
if (!B.current)
|
|
14474
14474
|
return;
|
|
14475
|
-
if (Pn = null,
|
|
14475
|
+
if (Pn = null, B.current = !1, sh.flushSync(() => {
|
|
14476
14476
|
I(!1);
|
|
14477
14477
|
}), !R.current.isSwiping) {
|
|
14478
14478
|
R.current.isSwiping = null;
|
|
@@ -14481,9 +14481,9 @@ const bB = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
14481
14481
|
R.current.isSwiping = null;
|
|
14482
14482
|
const U = Rs(o, s), J = Vo(s);
|
|
14483
14483
|
let G;
|
|
14484
|
-
J ? G = mf(U,
|
|
14484
|
+
J ? G = mf(U, z.changedTouches, $r(z.currentTarget)) : G = gf(U, z.changedTouches, Jr(z.currentTarget));
|
|
14485
14485
|
const te = J ? R.current.startX : R.current.startY, X = ys(J, L.current), oe = Rx(G, te, x, X), se = oe / X;
|
|
14486
|
-
if (Math.abs(R.current.velocity) > g && (
|
|
14486
|
+
if (Math.abs(R.current.velocity) > g && (V.current = Math.abs((X - oe) / R.current.velocity) * 1e3), x) {
|
|
14487
14487
|
R.current.velocity > g || se > f ? b() : N(0, {
|
|
14488
14488
|
mode: "exit"
|
|
14489
14489
|
});
|
|
@@ -14492,23 +14492,23 @@ const bB = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
14492
14492
|
R.current.velocity < -g || 1 - se > f ? v() : N(ys(J, L.current), {
|
|
14493
14493
|
mode: "enter"
|
|
14494
14494
|
});
|
|
14495
|
-
}), D = /* @__PURE__ */ a((
|
|
14495
|
+
}), D = /* @__PURE__ */ a((z = !1) => {
|
|
14496
14496
|
if (!P) {
|
|
14497
|
-
(
|
|
14497
|
+
(z || !(u && h)) && sh.flushSync(() => {
|
|
14498
14498
|
I(!0);
|
|
14499
14499
|
});
|
|
14500
14500
|
const U = Vo(s);
|
|
14501
14501
|
!x && L.current && N(ys(U, L.current) + (u ? 15 : -hf), {
|
|
14502
14502
|
changeTransition: !1
|
|
14503
|
-
}), R.current.velocity = 0, R.current.lastTime = null, R.current.lastTranslate = null, R.current.paperHit = !1,
|
|
14503
|
+
}), R.current.velocity = 0, R.current.lastTime = null, R.current.lastTranslate = null, R.current.paperHit = !1, B.current = !0;
|
|
14504
14504
|
}
|
|
14505
|
-
}, "startMaybeSwiping"),
|
|
14506
|
-
if (!L.current || !
|
|
14505
|
+
}, "startMaybeSwiping"), H = gr((z) => {
|
|
14506
|
+
if (!L.current || !B.current || Pn !== null && Pn !== R.current)
|
|
14507
14507
|
return;
|
|
14508
14508
|
D(!0);
|
|
14509
|
-
const U = Rs(o, s), J = Vo(s), G = mf(U,
|
|
14510
|
-
if (x && L.current.contains(
|
|
14511
|
-
const _ = mB(
|
|
14509
|
+
const U = Rs(o, s), J = Vo(s), G = mf(U, z.touches, $r(z.currentTarget)), te = gf(U, z.touches, Jr(z.currentTarget));
|
|
14510
|
+
if (x && L.current.contains(z.target) && Pn === null) {
|
|
14511
|
+
const _ = mB(z.target, L.current);
|
|
14512
14512
|
if (gB({
|
|
14513
14513
|
domTreeShapes: _,
|
|
14514
14514
|
start: J ? R.current.startX : R.current.startY,
|
|
@@ -14522,9 +14522,9 @@ const bB = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
14522
14522
|
}
|
|
14523
14523
|
if (R.current.isSwiping == null) {
|
|
14524
14524
|
const _ = Math.abs(G - R.current.startX), pe = Math.abs(te - R.current.startY), Y = J ? _ > pe && _ > fc : pe > _ && pe > fc;
|
|
14525
|
-
if (Y &&
|
|
14525
|
+
if (Y && z.cancelable && z.preventDefault(), Y === !0 || (J ? pe > fc : _ > fc)) {
|
|
14526
14526
|
if (R.current.isSwiping = Y, !Y) {
|
|
14527
|
-
K(
|
|
14527
|
+
K(z);
|
|
14528
14528
|
return;
|
|
14529
14529
|
}
|
|
14530
14530
|
R.current.startX = G, R.current.startY = te, !u && !x && (J ? R.current.startX -= hf : R.current.startY -= hf);
|
|
@@ -14545,14 +14545,14 @@ const bB = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
14545
14545
|
return;
|
|
14546
14546
|
R.current.lastTranslate === null && (R.current.lastTranslate = se, R.current.lastTime = performance.now() + 1);
|
|
14547
14547
|
const ie = (se - R.current.lastTranslate) / (performance.now() - R.current.lastTime) * 1e3;
|
|
14548
|
-
R.current.velocity = R.current.velocity * 0.4 + ie * 0.6, R.current.lastTranslate = se, R.current.lastTime = performance.now(),
|
|
14549
|
-
}), ee = gr((
|
|
14550
|
-
if (
|
|
14548
|
+
R.current.velocity = R.current.velocity * 0.4 + ie * 0.6, R.current.lastTranslate = se, R.current.lastTime = performance.now(), z.cancelable && z.preventDefault(), N(se);
|
|
14549
|
+
}), ee = gr((z) => {
|
|
14550
|
+
if (z.defaultPrevented || z.defaultMuiPrevented || x && (p || !$.current.contains(z.target)) && !L.current.contains(z.target))
|
|
14551
14551
|
return;
|
|
14552
|
-
const U = Rs(o, s), J = Vo(s), G = mf(U,
|
|
14552
|
+
const U = Rs(o, s), J = Vo(s), G = mf(U, z.touches, $r(z.currentTarget)), te = gf(U, z.touches, Jr(z.currentTarget));
|
|
14553
14553
|
if (!x) {
|
|
14554
14554
|
var X;
|
|
14555
|
-
if (d || !(
|
|
14555
|
+
if (d || !(z.target === A.current || (X = L.current) != null && X.contains(z.target) && (typeof h == "function" ? h(z, A.current, L.current) : h)))
|
|
14556
14556
|
return;
|
|
14557
14557
|
if (J) {
|
|
14558
14558
|
if (G > C)
|
|
@@ -14560,20 +14560,20 @@ const bB = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
14560
14560
|
} else if (te > C)
|
|
14561
14561
|
return;
|
|
14562
14562
|
}
|
|
14563
|
-
|
|
14563
|
+
z.defaultMuiPrevented = !0, Pn = null, R.current.startX = G, R.current.startY = te, D();
|
|
14564
14564
|
});
|
|
14565
14565
|
return O.useEffect(() => {
|
|
14566
14566
|
if (w === "temporary") {
|
|
14567
|
-
const
|
|
14568
|
-
return
|
|
14567
|
+
const z = $r(L.current);
|
|
14568
|
+
return z.addEventListener("touchstart", ee), z.addEventListener("touchmove", H, {
|
|
14569
14569
|
passive: !x
|
|
14570
|
-
}),
|
|
14571
|
-
|
|
14570
|
+
}), z.addEventListener("touchend", K), () => {
|
|
14571
|
+
z.removeEventListener("touchstart", ee), z.removeEventListener("touchmove", H, {
|
|
14572
14572
|
passive: !x
|
|
14573
|
-
}),
|
|
14573
|
+
}), z.removeEventListener("touchend", K);
|
|
14574
14574
|
};
|
|
14575
14575
|
}
|
|
14576
|
-
}, [w, x, ee,
|
|
14576
|
+
}, [w, x, ee, H, K]), O.useEffect(() => () => {
|
|
14577
14577
|
Pn === R.current && (Pn = null);
|
|
14578
14578
|
}, []), O.useEffect(() => {
|
|
14579
14579
|
x || I(!1);
|
|
@@ -14593,10 +14593,10 @@ const bB = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
14593
14593
|
style: E({
|
|
14594
14594
|
pointerEvents: w === "temporary" && !x && !h ? "none" : ""
|
|
14595
14595
|
}, T.style),
|
|
14596
|
-
ref:
|
|
14596
|
+
ref: j
|
|
14597
14597
|
}),
|
|
14598
14598
|
anchor: s,
|
|
14599
|
-
transitionDuration:
|
|
14599
|
+
transitionDuration: V.current || S,
|
|
14600
14600
|
onClose: b,
|
|
14601
14601
|
ref: r
|
|
14602
14602
|
}, F)), !d && w === "temporary" && /* @__PURE__ */ y(lu, {
|
|
@@ -15159,38 +15159,38 @@ const Yn = Oe("MuiBadge", [
|
|
|
15159
15159
|
overlap: v,
|
|
15160
15160
|
variant: F,
|
|
15161
15161
|
badgeContent: C
|
|
15162
|
-
}),
|
|
15163
|
-
color:
|
|
15164
|
-
overlap:
|
|
15162
|
+
}), j = R || I == null && F !== "dot", {
|
|
15163
|
+
color: B = x,
|
|
15164
|
+
overlap: V = v,
|
|
15165
15165
|
anchorOrigin: N = p,
|
|
15166
15166
|
variant: K = F
|
|
15167
|
-
} =
|
|
15167
|
+
} = j ? L : d, D = K !== "dot" ? $ : void 0, H = E({}, d, {
|
|
15168
15168
|
badgeContent: I,
|
|
15169
|
-
invisible:
|
|
15169
|
+
invisible: j,
|
|
15170
15170
|
max: A,
|
|
15171
15171
|
displayValue: D,
|
|
15172
15172
|
showZero: M,
|
|
15173
15173
|
anchorOrigin: N,
|
|
15174
|
-
color:
|
|
15175
|
-
overlap:
|
|
15174
|
+
color: B,
|
|
15175
|
+
overlap: V,
|
|
15176
15176
|
variant: K
|
|
15177
|
-
}), ee = wB(
|
|
15178
|
-
elementType:
|
|
15177
|
+
}), ee = wB(H), z = (n = (o = S == null ? void 0 : S.root) != null ? o : g.Root) != null ? n : MB, U = (i = (s = S == null ? void 0 : S.badge) != null ? s : g.Badge) != null ? i : PB, J = (l = w == null ? void 0 : w.root) != null ? l : m.root, G = (u = w == null ? void 0 : w.badge) != null ? u : m.badge, te = vr({
|
|
15178
|
+
elementType: z,
|
|
15179
15179
|
externalSlotProps: J,
|
|
15180
15180
|
externalForwardedProps: P,
|
|
15181
15181
|
additionalProps: {
|
|
15182
15182
|
ref: r,
|
|
15183
15183
|
as: h
|
|
15184
15184
|
},
|
|
15185
|
-
ownerState:
|
|
15185
|
+
ownerState: H,
|
|
15186
15186
|
className: re(J == null ? void 0 : J.className, ee.root, f)
|
|
15187
15187
|
}), X = vr({
|
|
15188
15188
|
elementType: U,
|
|
15189
15189
|
externalSlotProps: G,
|
|
15190
|
-
ownerState:
|
|
15190
|
+
ownerState: H,
|
|
15191
15191
|
className: re(ee.badge, G == null ? void 0 : G.className)
|
|
15192
15192
|
});
|
|
15193
|
-
return /* @__PURE__ */ W(
|
|
15193
|
+
return /* @__PURE__ */ W(z, E({}, te, {
|
|
15194
15194
|
children: [b, /* @__PURE__ */ y(U, E({}, X, {
|
|
15195
15195
|
children: D
|
|
15196
15196
|
}))]
|
|
@@ -23120,17 +23120,17 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
23120
23120
|
hasCreate: A,
|
|
23121
23121
|
hasSeleccionMultiple: $,
|
|
23122
23122
|
chkSeleccion: L,
|
|
23123
|
-
actionsContainerRef:
|
|
23124
|
-
...
|
|
23123
|
+
actionsContainerRef: j,
|
|
23124
|
+
...B
|
|
23125
23125
|
}
|
|
23126
23126
|
} = fp(), {
|
|
23127
|
-
data:
|
|
23127
|
+
data: V = [],
|
|
23128
23128
|
isFetching: N,
|
|
23129
23129
|
selectedIds: K,
|
|
23130
23130
|
onSelect: D,
|
|
23131
|
-
displayedFilters:
|
|
23131
|
+
displayedFilters: H,
|
|
23132
23132
|
setFilters: ee,
|
|
23133
|
-
sort:
|
|
23133
|
+
sort: z,
|
|
23134
23134
|
setSort: U,
|
|
23135
23135
|
exporter: J
|
|
23136
23136
|
} = xi(), G = _l(), te = Xa(), X = ig(), {
|
|
@@ -23327,23 +23327,23 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
23327
23327
|
const Nt = (((he = X.current.state.rowGrouping) == null ? void 0 : he.model) || [])[0];
|
|
23328
23328
|
ee(
|
|
23329
23329
|
m({ groupingField: Nt, ...de }),
|
|
23330
|
-
|
|
23330
|
+
H
|
|
23331
23331
|
);
|
|
23332
23332
|
}, "handleFilterChange"), kt = /* @__PURE__ */ a((de) => {
|
|
23333
23333
|
if (de.length > 0) {
|
|
23334
23334
|
const { field: it } = de[0];
|
|
23335
23335
|
let pt;
|
|
23336
|
-
|
|
23336
|
+
z.field === it ? pt = z.order === "ASC" ? "DESC" : z.order === "DESC" ? "" : "ASC" : pt = "ASC", U({ field: it, order: pt });
|
|
23337
23337
|
} else
|
|
23338
23338
|
U({ field: "", order: "" });
|
|
23339
23339
|
}, "handleSortModelChange"), $e = /* @__PURE__ */ a((de) => {
|
|
23340
23340
|
var it;
|
|
23341
23341
|
!((it = de == null ? void 0 : de.id) != null && it.startsWith("auto-generated-row")) && h && wh(de.row, s) && te(`/${I}/${de.id}`);
|
|
23342
|
-
}, "handleRowDoubleClick"), ye = !t.unstable_listView && !L ?
|
|
23342
|
+
}, "handleRowDoubleClick"), ye = !t.unstable_listView && !L ? z.field ? {
|
|
23343
23343
|
sortModel: [
|
|
23344
23344
|
{
|
|
23345
|
-
field:
|
|
23346
|
-
sort:
|
|
23345
|
+
field: z.field,
|
|
23346
|
+
sort: z.order.toLowerCase()
|
|
23347
23347
|
}
|
|
23348
23348
|
]
|
|
23349
23349
|
} : {} : {};
|
|
@@ -23387,7 +23387,7 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
23387
23387
|
toolbar: J ? () => /* @__PURE__ */ y(
|
|
23388
23388
|
$k,
|
|
23389
23389
|
{
|
|
23390
|
-
containerRef:
|
|
23390
|
+
containerRef: j
|
|
23391
23391
|
}
|
|
23392
23392
|
) : !1,
|
|
23393
23393
|
...C
|
|
@@ -23399,7 +23399,7 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
23399
23399
|
...S
|
|
23400
23400
|
},
|
|
23401
23401
|
columns: at,
|
|
23402
|
-
rows:
|
|
23402
|
+
rows: V,
|
|
23403
23403
|
apiRef: X,
|
|
23404
23404
|
loading: N || F.progress.open,
|
|
23405
23405
|
hideFooterSelectedRowCount: !0,
|
|
@@ -23418,7 +23418,7 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
23418
23418
|
sortingMode: "server",
|
|
23419
23419
|
rowHeight: 45,
|
|
23420
23420
|
...w,
|
|
23421
|
-
...
|
|
23421
|
+
...B
|
|
23422
23422
|
}
|
|
23423
23423
|
)
|
|
23424
23424
|
}
|
|
@@ -23834,15 +23834,15 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
23834
23834
|
}, { hidden: A } = F || {}, {
|
|
23835
23835
|
enviarTodo: $ = !1,
|
|
23836
23836
|
disabled: L,
|
|
23837
|
-
hidden:
|
|
23838
|
-
useContenido:
|
|
23839
|
-
onBeforeSubmitAsistente:
|
|
23837
|
+
hidden: j,
|
|
23838
|
+
useContenido: B = tc,
|
|
23839
|
+
onBeforeSubmitAsistente: V,
|
|
23840
23840
|
onAfterSubmitAsistente: N,
|
|
23841
23841
|
allowAdd: K,
|
|
23842
23842
|
allowRemove: D,
|
|
23843
|
-
slots:
|
|
23843
|
+
slots: H,
|
|
23844
23844
|
validateAllowAdd: ee
|
|
23845
|
-
} = M || {}, [
|
|
23845
|
+
} = M || {}, [z, U] = De(n), [{ field: J, sort: G }] = n, te = R || d || L, X = A !== void 0 ? A : I ? !0 : j !== void 0 ? j : p, oe = K ?? s, se = D ?? l;
|
|
23846
23846
|
let ie = { ...m };
|
|
23847
23847
|
T && e.split(",").forEach((be) => {
|
|
23848
23848
|
be && (ie[be] = [
|
|
@@ -23873,7 +23873,7 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
23873
23873
|
}, 1e3), x((be == null ? void 0 : be.data) || []);
|
|
23874
23874
|
}, "onSuccess")
|
|
23875
23875
|
}
|
|
23876
|
-
), Y =
|
|
23876
|
+
), Y = B({
|
|
23877
23877
|
...t,
|
|
23878
23878
|
refetch: pe
|
|
23879
23879
|
});
|
|
@@ -23897,7 +23897,7 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
23897
23897
|
{
|
|
23898
23898
|
...b,
|
|
23899
23899
|
source: h,
|
|
23900
|
-
onBeforeSubmitAsistente:
|
|
23900
|
+
onBeforeSubmitAsistente: V,
|
|
23901
23901
|
onAfterSubmitAsistente: N,
|
|
23902
23902
|
enviarTodo: $,
|
|
23903
23903
|
camposClaveFila: r,
|
|
@@ -23916,7 +23916,7 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
23916
23916
|
...b,
|
|
23917
23917
|
validateAllowAdd: ee,
|
|
23918
23918
|
source: h,
|
|
23919
|
-
onBeforeSubmitAsistente:
|
|
23919
|
+
onBeforeSubmitAsistente: V,
|
|
23920
23920
|
onAfterSubmitAsistente: N,
|
|
23921
23921
|
enviarTodo: $,
|
|
23922
23922
|
camposClaveFila: r
|
|
@@ -23935,7 +23935,7 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
23935
23935
|
{
|
|
23936
23936
|
...b,
|
|
23937
23937
|
source: h,
|
|
23938
|
-
onBeforeSubmitAsistente:
|
|
23938
|
+
onBeforeSubmitAsistente: V,
|
|
23939
23939
|
onAfterSubmitAsistente: N,
|
|
23940
23940
|
enviarTodo: $,
|
|
23941
23941
|
camposClaveFila: r,
|
|
@@ -23988,7 +23988,7 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
23988
23988
|
hideFooter: !0,
|
|
23989
23989
|
rows: v,
|
|
23990
23990
|
columns: We,
|
|
23991
|
-
sortModel:
|
|
23991
|
+
sortModel: z,
|
|
23992
23992
|
onSortModelChange: /* @__PURE__ */ a((be) => U(be), "onSortModelChange"),
|
|
23993
23993
|
sortable: !1,
|
|
23994
23994
|
resizable: !1,
|
|
@@ -23997,7 +23997,7 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
23997
23997
|
filterable: !1,
|
|
23998
23998
|
disableColumnMenu: !0,
|
|
23999
23999
|
slots: {
|
|
24000
|
-
...
|
|
24000
|
+
...H,
|
|
24001
24001
|
noRowsOverlay: Qg
|
|
24002
24002
|
},
|
|
24003
24003
|
...b,
|
|
@@ -24939,7 +24939,7 @@ const Uk = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
24939
24939
|
value: P,
|
|
24940
24940
|
variant: I = "standard",
|
|
24941
24941
|
visibleScrollbar: R = !1
|
|
24942
|
-
} = n, A = ne(n, Kz), $ = I === "scrollable", L = v === "vertical",
|
|
24942
|
+
} = n, A = ne(n, Kz), $ = I === "scrollable", L = v === "vertical", j = L ? "scrollTop" : "scrollLeft", B = L ? "top" : "left", V = L ? "bottom" : "right", N = L ? "clientHeight" : "clientWidth", K = L ? "height" : "width", D = E({}, n, {
|
|
24943
24943
|
component: h,
|
|
24944
24944
|
allowScrollButtonsMobile: g,
|
|
24945
24945
|
indicatorColor: m,
|
|
@@ -24955,11 +24955,11 @@ const Uk = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
24955
24955
|
scrollableY: $ && L,
|
|
24956
24956
|
centered: d && !$,
|
|
24957
24957
|
scrollButtonsHideMobile: !g
|
|
24958
|
-
}),
|
|
24958
|
+
}), H = Yz(D), ee = vr({
|
|
24959
24959
|
elementType: C.StartScrollButtonIcon,
|
|
24960
24960
|
externalSlotProps: S.startScrollButtonIcon,
|
|
24961
24961
|
ownerState: D
|
|
24962
|
-
}),
|
|
24962
|
+
}), z = vr({
|
|
24963
24963
|
elementType: C.EndScrollButtonIcon,
|
|
24964
24964
|
externalSlotProps: S.endScrollButtonIcon,
|
|
24965
24965
|
ownerState: D
|
|
@@ -25026,11 +25026,11 @@ const Uk = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
25026
25026
|
}), _e = /* @__PURE__ */ a((Z, {
|
|
25027
25027
|
animation: le = !0
|
|
25028
25028
|
} = {}) => {
|
|
25029
|
-
le ? Dz(
|
|
25029
|
+
le ? Dz(j, be.current, Z, {
|
|
25030
25030
|
duration: o.transitions.duration.standard
|
|
25031
|
-
}) : be.current[
|
|
25031
|
+
}) : be.current[j] = Z;
|
|
25032
25032
|
}, "scroll"), st = /* @__PURE__ */ a((Z) => {
|
|
25033
|
-
let le = be.current[
|
|
25033
|
+
let le = be.current[j];
|
|
25034
25034
|
L ? le += Z : (le += Z * (i ? -1 : 1), le *= i && KM() === "reverse" ? -1 : 1), _e(le);
|
|
25035
25035
|
}, "moveTabsScroll"), at = /* @__PURE__ */ a(() => {
|
|
25036
25036
|
const Z = be.current[N];
|
|
@@ -25058,7 +25058,7 @@ const Uk = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
25058
25058
|
const Z = {};
|
|
25059
25059
|
Z.scrollbarSizeListener = $ ? /* @__PURE__ */ y(e5, {
|
|
25060
25060
|
onChange: bt,
|
|
25061
|
-
className: re(
|
|
25061
|
+
className: re(H.scrollableX, H.hideScrollbar)
|
|
25062
25062
|
}) : null;
|
|
25063
25063
|
const Te = $ && (T === "auto" && (X || se) || T === !0);
|
|
25064
25064
|
return Z.scrollButtonStart = Te ? /* @__PURE__ */ y(x, E({
|
|
@@ -25073,20 +25073,20 @@ const Uk = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
25073
25073
|
onClick: Ie,
|
|
25074
25074
|
disabled: !X
|
|
25075
25075
|
}, M, {
|
|
25076
|
-
className: re(
|
|
25076
|
+
className: re(H.scrollButtons, M.className)
|
|
25077
25077
|
})) : null, Z.scrollButtonEnd = Te ? /* @__PURE__ */ y(x, E({
|
|
25078
25078
|
slots: {
|
|
25079
25079
|
EndScrollButtonIcon: C.EndScrollButtonIcon
|
|
25080
25080
|
},
|
|
25081
25081
|
slotProps: {
|
|
25082
|
-
endScrollButtonIcon:
|
|
25082
|
+
endScrollButtonIcon: z
|
|
25083
25083
|
},
|
|
25084
25084
|
orientation: v,
|
|
25085
25085
|
direction: i ? "left" : "right",
|
|
25086
25086
|
onClick: ze,
|
|
25087
25087
|
disabled: !se
|
|
25088
25088
|
}, M, {
|
|
25089
|
-
className: re(
|
|
25089
|
+
className: re(H.scrollButtons, M.className)
|
|
25090
25090
|
})) : null, Z;
|
|
25091
25091
|
}, "getConditionalElements"), $e = gr((Z) => {
|
|
25092
25092
|
const {
|
|
@@ -25094,13 +25094,13 @@ const Uk = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
25094
25094
|
tabMeta: Te
|
|
25095
25095
|
} = ut();
|
|
25096
25096
|
if (!(!Te || !le)) {
|
|
25097
|
-
if (Te[
|
|
25098
|
-
const Be = le[
|
|
25097
|
+
if (Te[B] < le[B]) {
|
|
25098
|
+
const Be = le[j] + (Te[B] - le[B]);
|
|
25099
25099
|
_e(Be, {
|
|
25100
25100
|
animation: Z
|
|
25101
25101
|
});
|
|
25102
|
-
} else if (Te[
|
|
25103
|
-
const Be = le[
|
|
25102
|
+
} else if (Te[V] > le[V]) {
|
|
25103
|
+
const Be = le[j] + (Te[V] - le[V]);
|
|
25104
25104
|
_e(Be, {
|
|
25105
25105
|
animation: Z
|
|
25106
25106
|
});
|
|
@@ -25163,7 +25163,7 @@ const Uk = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
25163
25163
|
updateScrollButtons: ye
|
|
25164
25164
|
}), [Ue, ye]);
|
|
25165
25165
|
const de = /* @__PURE__ */ y(Zz, E({}, w, {
|
|
25166
|
-
className: re(
|
|
25166
|
+
className: re(H.indicator, w.className),
|
|
25167
25167
|
ownerState: D,
|
|
25168
25168
|
style: E({}, G, w.style)
|
|
25169
25169
|
}));
|
|
@@ -25208,13 +25208,13 @@ const Uk = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
25208
25208
|
}
|
|
25209
25209
|
}, "handleKeyDown"), he = kt();
|
|
25210
25210
|
return /* @__PURE__ */ W(Jz, E({
|
|
25211
|
-
className: re(
|
|
25211
|
+
className: re(H.root, f),
|
|
25212
25212
|
ownerState: D,
|
|
25213
25213
|
ref: r,
|
|
25214
25214
|
as: h
|
|
25215
25215
|
}, A, {
|
|
25216
25216
|
children: [he.scrollButtonStart, he.scrollbarSizeListener, /* @__PURE__ */ W(Qz, {
|
|
25217
|
-
className:
|
|
25217
|
+
className: H.scroller,
|
|
25218
25218
|
ownerState: D,
|
|
25219
25219
|
style: {
|
|
25220
25220
|
overflow: Y.overflow,
|
|
@@ -25225,7 +25225,7 @@ const Uk = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
25225
25225
|
"aria-label": s,
|
|
25226
25226
|
"aria-labelledby": l,
|
|
25227
25227
|
"aria-orientation": v === "vertical" ? "vertical" : null,
|
|
25228
|
-
className:
|
|
25228
|
+
className: H.flexContainer,
|
|
25229
25229
|
ownerState: D,
|
|
25230
25230
|
onKeyDown: Nt,
|
|
25231
25231
|
ref: Re,
|
|
@@ -25877,15 +25877,15 @@ const S5 = {
|
|
|
25877
25877
|
timeout: b = "auto",
|
|
25878
25878
|
// eslint-disable-next-line react/prop-types
|
|
25879
25879
|
TransitionComponent: v = en
|
|
25880
|
-
} = e, x = ne(e, O5), T = na(), k = O.useRef(), C = En(), S = O.useRef(null), w = wt(S, i.ref, r), M = /* @__PURE__ */ a((
|
|
25881
|
-
if (
|
|
25882
|
-
const
|
|
25883
|
-
|
|
25880
|
+
} = e, x = ne(e, O5), T = na(), k = O.useRef(), C = En(), S = O.useRef(null), w = wt(S, i.ref, r), M = /* @__PURE__ */ a((j) => (B) => {
|
|
25881
|
+
if (j) {
|
|
25882
|
+
const V = S.current;
|
|
25883
|
+
B === void 0 ? j(V) : j(V, B);
|
|
25884
25884
|
}
|
|
25885
|
-
}, "normalizedTransitionCallback"), F = M(p), P = M((
|
|
25886
|
-
Vg(
|
|
25885
|
+
}, "normalizedTransitionCallback"), F = M(p), P = M((j, B) => {
|
|
25886
|
+
Vg(j);
|
|
25887
25887
|
const {
|
|
25888
|
-
duration:
|
|
25888
|
+
duration: V,
|
|
25889
25889
|
delay: N,
|
|
25890
25890
|
easing: K
|
|
25891
25891
|
} = ki({
|
|
@@ -25896,18 +25896,18 @@ const S5 = {
|
|
|
25896
25896
|
mode: "enter"
|
|
25897
25897
|
});
|
|
25898
25898
|
let D;
|
|
25899
|
-
b === "auto" ? (D = C.transitions.getAutoHeightDuration(
|
|
25899
|
+
b === "auto" ? (D = C.transitions.getAutoHeightDuration(j.clientHeight), k.current = D) : D = V, j.style.transition = [C.transitions.create("opacity", {
|
|
25900
25900
|
duration: D,
|
|
25901
25901
|
delay: N
|
|
25902
25902
|
}), C.transitions.create("transform", {
|
|
25903
25903
|
duration: Cf ? D : D * 0.666,
|
|
25904
25904
|
delay: N,
|
|
25905
25905
|
easing: K
|
|
25906
|
-
})].join(","), u && u(
|
|
25907
|
-
}), I = M(d), R = M(g), A = M((
|
|
25906
|
+
})].join(","), u && u(j, B);
|
|
25907
|
+
}), I = M(d), R = M(g), A = M((j) => {
|
|
25908
25908
|
const {
|
|
25909
|
-
duration:
|
|
25910
|
-
delay:
|
|
25909
|
+
duration: B,
|
|
25910
|
+
delay: V,
|
|
25911
25911
|
easing: N
|
|
25912
25912
|
} = ki({
|
|
25913
25913
|
style: m,
|
|
@@ -25917,14 +25917,14 @@ const S5 = {
|
|
|
25917
25917
|
mode: "exit"
|
|
25918
25918
|
});
|
|
25919
25919
|
let K;
|
|
25920
|
-
b === "auto" ? (K = C.transitions.getAutoHeightDuration(
|
|
25920
|
+
b === "auto" ? (K = C.transitions.getAutoHeightDuration(j.clientHeight), k.current = K) : K = B, j.style.transition = [C.transitions.create("opacity", {
|
|
25921
25921
|
duration: K,
|
|
25922
|
-
delay:
|
|
25922
|
+
delay: V
|
|
25923
25923
|
}), C.transitions.create("transform", {
|
|
25924
25924
|
duration: Cf ? K : K * 0.666,
|
|
25925
|
-
delay: Cf ?
|
|
25925
|
+
delay: Cf ? V : V || K * 0.333,
|
|
25926
25926
|
easing: N
|
|
25927
|
-
})].join(","),
|
|
25927
|
+
})].join(","), j.style.opacity = 0, j.style.transform = Mh(0.75), f && f(j);
|
|
25928
25928
|
}), $ = M(h);
|
|
25929
25929
|
return /* @__PURE__ */ y(v, E({
|
|
25930
25930
|
appear: o,
|
|
@@ -25936,19 +25936,19 @@ const S5 = {
|
|
|
25936
25936
|
onExit: A,
|
|
25937
25937
|
onExited: $,
|
|
25938
25938
|
onExiting: R,
|
|
25939
|
-
addEndListener: /* @__PURE__ */ a((
|
|
25940
|
-
b === "auto" && T.start(k.current || 0,
|
|
25939
|
+
addEndListener: /* @__PURE__ */ a((j) => {
|
|
25940
|
+
b === "auto" && T.start(k.current || 0, j), n && n(S.current, j);
|
|
25941
25941
|
}, "handleAddEndListener"),
|
|
25942
25942
|
timeout: b === "auto" ? null : b
|
|
25943
25943
|
}, x, {
|
|
25944
|
-
children: /* @__PURE__ */ a((
|
|
25944
|
+
children: /* @__PURE__ */ a((j, B) => /* @__PURE__ */ O.cloneElement(i, E({
|
|
25945
25945
|
style: E({
|
|
25946
25946
|
opacity: 0,
|
|
25947
25947
|
transform: Mh(0.75),
|
|
25948
|
-
visibility:
|
|
25949
|
-
}, S5[
|
|
25948
|
+
visibility: j === "exited" && !l ? "hidden" : void 0
|
|
25949
|
+
}, S5[j], m, i.props.style),
|
|
25950
25950
|
ref: w
|
|
25951
|
-
},
|
|
25951
|
+
}, B)), "children")
|
|
25952
25952
|
}));
|
|
25953
25953
|
}, "Grow"));
|
|
25954
25954
|
process.env.NODE_ENV !== "production" && (gl.propTypes = {
|
|
@@ -26607,8 +26607,8 @@ function yl(t, e) {
|
|
|
26607
26607
|
if (h === vs && R) {
|
|
26608
26608
|
var A = R[o];
|
|
26609
26609
|
Object.keys(I).forEach(function($) {
|
|
26610
|
-
var L = [zr, jr].indexOf($) >= 0 ? 1 : -1,
|
|
26611
|
-
I[$] += A[
|
|
26610
|
+
var L = [zr, jr].indexOf($) >= 0 ? 1 : -1, j = [rr, jr].indexOf($) >= 0 ? "y" : "x";
|
|
26611
|
+
I[$] += A[j] * L;
|
|
26612
26612
|
});
|
|
26613
26613
|
}
|
|
26614
26614
|
return I;
|
|
@@ -26655,16 +26655,16 @@ function d3(t) {
|
|
|
26655
26655
|
allowedAutoPlacements: b
|
|
26656
26656
|
}) : J);
|
|
26657
26657
|
}, []), S = e.rects.reference, w = e.rects.popper, M = /* @__PURE__ */ new Map(), F = !0, P = C[0], I = 0; I < C.length; I++) {
|
|
26658
|
-
var R = C[I], A = yn(R), $ = Ba(R) === Na, L = [rr, jr].indexOf(A) >= 0,
|
|
26658
|
+
var R = C[I], A = yn(R), $ = Ba(R) === Na, L = [rr, jr].indexOf(A) >= 0, j = L ? "width" : "height", B = yl(e, {
|
|
26659
26659
|
placement: R,
|
|
26660
26660
|
boundary: p,
|
|
26661
26661
|
rootBoundary: f,
|
|
26662
26662
|
altBoundary: h,
|
|
26663
26663
|
padding: d
|
|
26664
|
-
}),
|
|
26665
|
-
S[
|
|
26666
|
-
var N = Vc(
|
|
26667
|
-
if (i && K.push(
|
|
26664
|
+
}), V = L ? $ ? zr : nr : $ ? jr : rr;
|
|
26665
|
+
S[j] > w[j] && (V = Vc(V));
|
|
26666
|
+
var N = Vc(V), K = [];
|
|
26667
|
+
if (i && K.push(B[A] <= 0), l && K.push(B[V] <= 0, B[N] <= 0), K.every(function(U) {
|
|
26668
26668
|
return U;
|
|
26669
26669
|
})) {
|
|
26670
26670
|
P = R, F = !1;
|
|
@@ -26673,7 +26673,7 @@ function d3(t) {
|
|
|
26673
26673
|
M.set(R, K);
|
|
26674
26674
|
}
|
|
26675
26675
|
if (F)
|
|
26676
|
-
for (var D = m ? 3 : 1,
|
|
26676
|
+
for (var D = m ? 3 : 1, H = /* @__PURE__ */ a(function(J) {
|
|
26677
26677
|
var G = C.find(function(te) {
|
|
26678
26678
|
var X = M.get(te);
|
|
26679
26679
|
if (X)
|
|
@@ -26684,8 +26684,8 @@ function d3(t) {
|
|
|
26684
26684
|
if (G)
|
|
26685
26685
|
return P = G, "break";
|
|
26686
26686
|
}, "_loop"), ee = D; ee > 0; ee--) {
|
|
26687
|
-
var
|
|
26688
|
-
if (
|
|
26687
|
+
var z = H(ee);
|
|
26688
|
+
if (z === "break") break;
|
|
26689
26689
|
}
|
|
26690
26690
|
e.placement !== P && (e.modifiersData[n]._skip = !0, e.placement = P, e.reset = !0);
|
|
26691
26691
|
}
|
|
@@ -26811,11 +26811,11 @@ function O3(t) {
|
|
|
26811
26811
|
};
|
|
26812
26812
|
if (w) {
|
|
26813
26813
|
if (i) {
|
|
26814
|
-
var $, L = C === "y" ? rr : nr,
|
|
26814
|
+
var $, L = C === "y" ? rr : nr, j = C === "y" ? jr : zr, B = C === "y" ? "height" : "width", V = w[C], N = V + v[L], K = V - v[j], D = g ? -F[B] / 2 : 0, H = T === Na ? M[B] : F[B], ee = T === Na ? -F[B] : -M[B], z = e.elements.arrow, U = g && z ? xb(z) : {
|
|
26815
26815
|
width: 0,
|
|
26816
26816
|
height: 0
|
|
26817
|
-
}, J = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : sE(), G = J[L], te = J[
|
|
26818
|
-
w[C] = We, A[C] = We -
|
|
26817
|
+
}, J = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : sE(), G = J[L], te = J[j], X = Ls(0, M[B], U[B]), oe = k ? M[B] / 2 - D - X - G - I.mainAxis : H - X - G - I.mainAxis, se = k ? -M[B] / 2 + D + X + te + I.mainAxis : ee + X + te + I.mainAxis, ie = e.elements.arrow && nc(e.elements.arrow), _ = ie ? C === "y" ? ie.clientTop || 0 : ie.clientLeft || 0 : 0, pe = ($ = R == null ? void 0 : R[C]) != null ? $ : 0, Y = V + oe - pe - _, me = V + se - pe, We = Ls(g ? uu(N, Y) : N, V, g ? si(K, me) : K);
|
|
26818
|
+
w[C] = We, A[C] = We - V;
|
|
26819
26819
|
}
|
|
26820
26820
|
if (l) {
|
|
26821
26821
|
var be, Re = C === "x" ? rr : nr, ut = C === "x" ? jr : zr, Ue = w[S], _e = S === "y" ? "height" : "width", st = Ue + v[Re], at = Ue - v[ut], Ie = [rr, nr].indexOf(x) !== -1, ze = (be = R == null ? void 0 : R[S]) != null ? be : 0, bt = Ie ? st : Ue - M[_e] - F[_e] - ze + I.altAxis, kt = Ie ? Ue + M[_e] + F[_e] - ze - I.altAxis : at, $e = g && Ie ? U5(bt, Ue, kt) : Ls(g ? bt : st, Ue, g ? kt : at);
|
|
@@ -27107,7 +27107,7 @@ const B3 = /* @__PURE__ */ a((t) => {
|
|
|
27107
27107
|
}, [o]), yi(() => {
|
|
27108
27108
|
if (!P || !d)
|
|
27109
27109
|
return;
|
|
27110
|
-
const
|
|
27110
|
+
const j = /* @__PURE__ */ a((N) => {
|
|
27111
27111
|
F(N.placement);
|
|
27112
27112
|
}, "handlePopperUpdate");
|
|
27113
27113
|
if (process.env.NODE_ENV !== "production" && P && wp(P) && P.nodeType === 1) {
|
|
@@ -27115,7 +27115,7 @@ const B3 = /* @__PURE__ */ a((t) => {
|
|
|
27115
27115
|
process.env.NODE_ENV !== "test" && N.top === 0 && N.left === 0 && N.right === 0 && N.bottom === 0 && console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
|
|
27116
27116
|
`));
|
|
27117
27117
|
}
|
|
27118
|
-
let
|
|
27118
|
+
let B = [{
|
|
27119
27119
|
name: "preventOverflow",
|
|
27120
27120
|
options: {
|
|
27121
27121
|
altBoundary: l
|
|
@@ -27132,17 +27132,17 @@ const B3 = /* @__PURE__ */ a((t) => {
|
|
|
27132
27132
|
fn: /* @__PURE__ */ a(({
|
|
27133
27133
|
state: N
|
|
27134
27134
|
}) => {
|
|
27135
|
-
|
|
27135
|
+
j(N);
|
|
27136
27136
|
}, "fn")
|
|
27137
27137
|
}];
|
|
27138
|
-
u != null && (
|
|
27139
|
-
const
|
|
27138
|
+
u != null && (B = B.concat(u)), f && f.modifiers != null && (B = B.concat(f.modifiers));
|
|
27139
|
+
const V = I3(P, x.current, E({
|
|
27140
27140
|
placement: w
|
|
27141
27141
|
}, f, {
|
|
27142
|
-
modifiers:
|
|
27142
|
+
modifiers: B
|
|
27143
27143
|
}));
|
|
27144
|
-
return S.current(
|
|
27145
|
-
|
|
27144
|
+
return S.current(V), () => {
|
|
27145
|
+
V.destroy(), S.current(null);
|
|
27146
27146
|
};
|
|
27147
27147
|
}, [P, l, u, d, f, w]);
|
|
27148
27148
|
const R = {
|
|
@@ -27722,15 +27722,15 @@ const Mp = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
27722
27722
|
disableFocusListener: A = !1,
|
|
27723
27723
|
disableHoverListener: $ = !1,
|
|
27724
27724
|
disableInteractive: L = !1,
|
|
27725
|
-
disableTouchListener:
|
|
27726
|
-
enterDelay:
|
|
27727
|
-
enterNextDelay:
|
|
27725
|
+
disableTouchListener: j = !1,
|
|
27726
|
+
enterDelay: B = 100,
|
|
27727
|
+
enterNextDelay: V = 0,
|
|
27728
27728
|
enterTouchDelay: N = 700,
|
|
27729
27729
|
followCursor: K = !1,
|
|
27730
27730
|
id: D,
|
|
27731
|
-
leaveDelay:
|
|
27731
|
+
leaveDelay: H = 0,
|
|
27732
27732
|
leaveTouchDelay: ee = 1500,
|
|
27733
|
-
onClose:
|
|
27733
|
+
onClose: z,
|
|
27734
27734
|
onOpen: U,
|
|
27735
27735
|
open: J,
|
|
27736
27736
|
placement: G = "bottom",
|
|
@@ -27770,18 +27770,18 @@ const Mp = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
27770
27770
|
* @param {React.SyntheticEvent | Event} event
|
|
27771
27771
|
*/
|
|
27772
27772
|
(Ve) => {
|
|
27773
|
-
Yx.start(800 +
|
|
27773
|
+
Yx.start(800 + H, () => {
|
|
27774
27774
|
bc = !1;
|
|
27775
|
-
}), ye(!1),
|
|
27775
|
+
}), ye(!1), z && de && z(Ve), Ie.start(We.transitions.duration.shortest, () => {
|
|
27776
27776
|
st.current = !1;
|
|
27777
27777
|
});
|
|
27778
27778
|
}
|
|
27779
27779
|
), le = /* @__PURE__ */ a((Ve) => {
|
|
27780
|
-
st.current && Ve.type !== "touchstart" || (Re && Re.removeAttribute("title"), ze.clear(), bt.clear(),
|
|
27780
|
+
st.current && Ve.type !== "touchstart" || (Re && Re.removeAttribute("title"), ze.clear(), bt.clear(), B || bc && V ? ze.start(bc ? V : B, () => {
|
|
27781
27781
|
he(Ve);
|
|
27782
27782
|
}) : he(Ve));
|
|
27783
27783
|
}, "handleMouseOver"), Te = /* @__PURE__ */ a((Ve) => {
|
|
27784
|
-
ze.clear(), bt.start(
|
|
27784
|
+
ze.clear(), bt.start(H, () => {
|
|
27785
27785
|
Z(Ve);
|
|
27786
27786
|
});
|
|
27787
27787
|
}, "handleMouseLeave"), {
|
|
@@ -27838,7 +27838,7 @@ const Mp = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
27838
27838
|
`));
|
|
27839
27839
|
}, [Re]));
|
|
27840
27840
|
const ms = {};
|
|
27841
|
-
|
|
27841
|
+
j || (Er.onTouchStart = AM, Er.onTouchEnd = FM), $ || (Er.onMouseOver = yc(le, Er.onMouseOver), Er.onMouseLeave = yc(Te, Er.onMouseLeave), at || (ms.onMouseOver = le, ms.onMouseLeave = Te)), A || (Er.onFocus = yc(Wi, Er.onFocus), Er.onBlur = yc(qr, Er.onBlur), at || (ms.onFocus = Wi, ms.onBlur = qr)), process.env.NODE_ENV !== "production" && me.props.title && console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.", `Remove this title prop \`${me.props.title}\` or the Tooltip component.`].join(`
|
|
27842
27842
|
`));
|
|
27843
27843
|
const LM = O.useMemo(() => {
|
|
27844
27844
|
var Ve;
|
|
@@ -28472,38 +28472,41 @@ const h4 = /* @__PURE__ */ a((t) => {
|
|
|
28472
28472
|
}
|
|
28473
28473
|
} = fp();
|
|
28474
28474
|
jM(e, () => L.current);
|
|
28475
|
-
const
|
|
28476
|
-
f(
|
|
28477
|
-
}, "handleOpenMenu"),
|
|
28475
|
+
const j = { ...P, ...F }, B = /* @__PURE__ */ a((H) => {
|
|
28476
|
+
f(H.currentTarget);
|
|
28477
|
+
}, "handleOpenMenu"), V = /* @__PURE__ */ a(() => {
|
|
28478
28478
|
f(null), g(null);
|
|
28479
|
-
}, "handleCloseMenu"), N = /* @__PURE__ */ a((
|
|
28480
|
-
g(
|
|
28481
|
-
}, "handleOpenSubMenu"), K = /* @__PURE__ */ a((
|
|
28482
|
-
b((
|
|
28483
|
-
const U =
|
|
28479
|
+
}, "handleCloseMenu"), N = /* @__PURE__ */ a((H) => {
|
|
28480
|
+
g(H);
|
|
28481
|
+
}, "handleOpenSubMenu"), K = /* @__PURE__ */ a((H, ee) => {
|
|
28482
|
+
b((z) => {
|
|
28483
|
+
const U = z[ee] || null, J = U && U.selectedOption === H;
|
|
28484
28484
|
return {
|
|
28485
|
-
...
|
|
28486
|
-
[ee]: J ? null : { index: ee, selectedOption:
|
|
28485
|
+
...z,
|
|
28486
|
+
[ee]: J ? null : { index: ee, selectedOption: H }
|
|
28487
28487
|
};
|
|
28488
|
-
}),
|
|
28488
|
+
}), V();
|
|
28489
28489
|
}, "handleSubMenuItemSelect");
|
|
28490
28490
|
delete d.hasCreate;
|
|
28491
28491
|
const D = O.useMemo(
|
|
28492
|
-
() => zd.map(i, (
|
|
28493
|
-
|
|
28494
|
-
|
|
28495
|
-
|
|
28496
|
-
|
|
28497
|
-
|
|
28498
|
-
|
|
28499
|
-
|
|
28500
|
-
|
|
28501
|
-
|
|
28502
|
-
|
|
28503
|
-
|
|
28504
|
-
|
|
28505
|
-
|
|
28506
|
-
|
|
28492
|
+
() => zd.map(i, (H, ee) => {
|
|
28493
|
+
const z = H.props || {};
|
|
28494
|
+
return Array.isArray(z.options) && z.options.length > 0 ? {
|
|
28495
|
+
type: "MenuButton",
|
|
28496
|
+
icon: z.icon,
|
|
28497
|
+
options: z.options,
|
|
28498
|
+
label: z.label || z.options[0].label,
|
|
28499
|
+
index: ee
|
|
28500
|
+
} : z.children && z.title ? {
|
|
28501
|
+
type: "Button",
|
|
28502
|
+
key: H.key,
|
|
28503
|
+
title: z.title || z.label,
|
|
28504
|
+
icon: z.children,
|
|
28505
|
+
onClick: z.onClick,
|
|
28506
|
+
component: z.component,
|
|
28507
|
+
to: z.to
|
|
28508
|
+
} : null;
|
|
28509
|
+
}) || [],
|
|
28507
28510
|
[i]
|
|
28508
28511
|
);
|
|
28509
28512
|
return Sr(
|
|
@@ -28518,13 +28521,13 @@ const h4 = /* @__PURE__ */ a((t) => {
|
|
|
28518
28521
|
w && I !== !1 && /* @__PURE__ */ y(BP, {}),
|
|
28519
28522
|
T !== !1 && /* @__PURE__ */ y("div", { ref: L }),
|
|
28520
28523
|
u !== !1 && /* @__PURE__ */ y(h4, { resource: S }),
|
|
28521
|
-
D.length > 0 && /* @__PURE__ */ y(ol, { onClick:
|
|
28524
|
+
D.length > 0 && /* @__PURE__ */ y(ol, { onClick: B, children: /* @__PURE__ */ y(OR, {}) }),
|
|
28522
28525
|
/* @__PURE__ */ y(
|
|
28523
28526
|
ih,
|
|
28524
28527
|
{
|
|
28525
28528
|
anchorEl: p,
|
|
28526
28529
|
open: !!p,
|
|
28527
|
-
onClose:
|
|
28530
|
+
onClose: V,
|
|
28528
28531
|
anchorOrigin: {
|
|
28529
28532
|
vertical: "top",
|
|
28530
28533
|
horizontal: "right"
|
|
@@ -28533,36 +28536,36 @@ const h4 = /* @__PURE__ */ a((t) => {
|
|
|
28533
28536
|
vertical: "top",
|
|
28534
28537
|
horizontal: "right"
|
|
28535
28538
|
},
|
|
28536
|
-
children: D.map((
|
|
28537
|
-
if (
|
|
28539
|
+
children: D.map((H) => {
|
|
28540
|
+
if (H.type === "Button")
|
|
28538
28541
|
return /* @__PURE__ */ W(
|
|
28539
28542
|
ii,
|
|
28540
28543
|
{
|
|
28541
|
-
component:
|
|
28542
|
-
to:
|
|
28544
|
+
component: H.component,
|
|
28545
|
+
to: H.to,
|
|
28543
28546
|
onClick: /* @__PURE__ */ a((ee) => {
|
|
28544
|
-
|
|
28545
|
-
|
|
28546
|
-
|
|
28547
|
-
),
|
|
28547
|
+
H.onClick ? H.onClick(ee, j) : l(
|
|
28548
|
+
j,
|
|
28549
|
+
H.key
|
|
28550
|
+
), V();
|
|
28548
28551
|
}, "onClick"),
|
|
28549
|
-
title:
|
|
28552
|
+
title: H.title,
|
|
28550
28553
|
children: [
|
|
28551
|
-
/* @__PURE__ */ y(pa, { children: Yr(
|
|
28554
|
+
/* @__PURE__ */ y(pa, { children: Yr(H.icon, {
|
|
28552
28555
|
fontSize: "medium"
|
|
28553
28556
|
}) }),
|
|
28554
|
-
/* @__PURE__ */ y(fa, { primary:
|
|
28557
|
+
/* @__PURE__ */ y(fa, { primary: H.title })
|
|
28555
28558
|
]
|
|
28556
28559
|
},
|
|
28557
|
-
|
|
28560
|
+
H.key
|
|
28558
28561
|
);
|
|
28559
|
-
if (
|
|
28560
|
-
const ee = m[
|
|
28562
|
+
if (H.type === "MenuButton") {
|
|
28563
|
+
const ee = m[H.index], z = ee ? ee.selectedOption : null, U = z ? z.label : H.label, J = z ? z.icon : H.icon;
|
|
28561
28564
|
return [
|
|
28562
28565
|
/* @__PURE__ */ W(
|
|
28563
28566
|
ii,
|
|
28564
28567
|
{
|
|
28565
|
-
onClick: /* @__PURE__ */ a(() => N(
|
|
28568
|
+
onClick: /* @__PURE__ */ a(() => N(H.index), "onClick"),
|
|
28566
28569
|
children: [
|
|
28567
28570
|
/* @__PURE__ */ y(pa, { children: Yr(J, {
|
|
28568
28571
|
fontSize: "medium"
|
|
@@ -28570,14 +28573,14 @@ const h4 = /* @__PURE__ */ a((t) => {
|
|
|
28570
28573
|
/* @__PURE__ */ y(fa, { primary: U })
|
|
28571
28574
|
]
|
|
28572
28575
|
},
|
|
28573
|
-
`menu-${
|
|
28576
|
+
`menu-${H.index}`
|
|
28574
28577
|
),
|
|
28575
28578
|
/* @__PURE__ */ y(
|
|
28576
28579
|
ih,
|
|
28577
28580
|
{
|
|
28578
28581
|
anchorEl: p,
|
|
28579
|
-
open: h ===
|
|
28580
|
-
onClose:
|
|
28582
|
+
open: h === H.index,
|
|
28583
|
+
onClose: V,
|
|
28581
28584
|
anchorOrigin: {
|
|
28582
28585
|
vertical: "top",
|
|
28583
28586
|
horizontal: "right"
|
|
@@ -28599,7 +28602,7 @@ const h4 = /* @__PURE__ */ a((t) => {
|
|
|
28599
28602
|
boxShadow: "0 2px 10px rgba(0,0,0,0.1)"
|
|
28600
28603
|
}
|
|
28601
28604
|
},
|
|
28602
|
-
children:
|
|
28605
|
+
children: H.options.map((G) => {
|
|
28603
28606
|
const te = (ee == null ? void 0 : ee.selectedOption) === G;
|
|
28604
28607
|
return /* @__PURE__ */ W(
|
|
28605
28608
|
ii,
|
|
@@ -28607,12 +28610,12 @@ const h4 = /* @__PURE__ */ a((t) => {
|
|
|
28607
28610
|
onClick: /* @__PURE__ */ a((X) => {
|
|
28608
28611
|
K(
|
|
28609
28612
|
G,
|
|
28610
|
-
|
|
28613
|
+
H.index
|
|
28611
28614
|
), G.onClick ? G.onClick(
|
|
28612
28615
|
X,
|
|
28613
|
-
|
|
28616
|
+
j
|
|
28614
28617
|
) : l(
|
|
28615
|
-
|
|
28618
|
+
j,
|
|
28616
28619
|
G.key
|
|
28617
28620
|
);
|
|
28618
28621
|
}, "onClick"),
|
|
@@ -28633,7 +28636,7 @@ const h4 = /* @__PURE__ */ a((t) => {
|
|
|
28633
28636
|
);
|
|
28634
28637
|
})
|
|
28635
28638
|
},
|
|
28636
|
-
`submenu-${
|
|
28639
|
+
`submenu-${H.index}`
|
|
28637
28640
|
)
|
|
28638
28641
|
];
|
|
28639
28642
|
}
|
|
@@ -28667,7 +28670,7 @@ const h4 = /* @__PURE__ */ a((t) => {
|
|
|
28667
28670
|
I,
|
|
28668
28671
|
R,
|
|
28669
28672
|
A,
|
|
28670
|
-
|
|
28673
|
+
j.data,
|
|
28671
28674
|
p,
|
|
28672
28675
|
h,
|
|
28673
28676
|
D,
|
|
@@ -29800,7 +29803,7 @@ const J4 = /* @__PURE__ */ a((t) => {
|
|
|
29800
29803
|
onEntering: F
|
|
29801
29804
|
} = {},
|
|
29802
29805
|
disableScrollLock: P = !1
|
|
29803
|
-
} = s, I = ne(s.TransitionProps, G4), R = ne(s, K4), A = (n = C == null ? void 0 : C.paper) != null ? n : T, $ = O.useRef(), L = wt($, A.ref),
|
|
29806
|
+
} = s, I = ne(s.TransitionProps, G4), R = ne(s, K4), A = (n = C == null ? void 0 : C.paper) != null ? n : T, $ = O.useRef(), L = wt($, A.ref), j = E({}, s, {
|
|
29804
29807
|
anchorOrigin: d,
|
|
29805
29808
|
anchorReference: f,
|
|
29806
29809
|
elevation: b,
|
|
@@ -29810,7 +29813,7 @@ const J4 = /* @__PURE__ */ a((t) => {
|
|
|
29810
29813
|
TransitionComponent: w,
|
|
29811
29814
|
transitionDuration: M,
|
|
29812
29815
|
TransitionProps: I
|
|
29813
|
-
}),
|
|
29816
|
+
}), B = J4(j), V = O.useCallback(() => {
|
|
29814
29817
|
if (f === "anchorPosition")
|
|
29815
29818
|
return process.env.NODE_ENV !== "production" && (p || console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')), p;
|
|
29816
29819
|
const pe = jc(u), Y = pe && pe.nodeType === 1 ? pe : $r($.current).body, me = Y.getBoundingClientRect();
|
|
@@ -29837,7 +29840,7 @@ const J4 = /* @__PURE__ */ a((t) => {
|
|
|
29837
29840
|
left: null,
|
|
29838
29841
|
transformOrigin: Zx(me)
|
|
29839
29842
|
};
|
|
29840
|
-
const We =
|
|
29843
|
+
const We = V();
|
|
29841
29844
|
let be = We.top - me.vertical, Re = We.left - me.horizontal;
|
|
29842
29845
|
const ut = be + Y.height, Ue = Re + Y.width, _e = Jr(jc(u)), st = _e.innerHeight - v, at = _e.innerWidth - v;
|
|
29843
29846
|
if (v !== null && be < v) {
|
|
@@ -29860,18 +29863,18 @@ const J4 = /* @__PURE__ */ a((t) => {
|
|
|
29860
29863
|
left: `${Math.round(Re)}px`,
|
|
29861
29864
|
transformOrigin: Zx(me)
|
|
29862
29865
|
};
|
|
29863
|
-
}, [u, f,
|
|
29866
|
+
}, [u, f, V, N, v]), [D, H] = O.useState(x), ee = O.useCallback(() => {
|
|
29864
29867
|
const pe = $.current;
|
|
29865
29868
|
if (!pe)
|
|
29866
29869
|
return;
|
|
29867
29870
|
const Y = K(pe);
|
|
29868
|
-
Y.top !== null && (pe.style.top = Y.top), Y.left !== null && (pe.style.left = Y.left), pe.style.transformOrigin = Y.transformOrigin,
|
|
29871
|
+
Y.top !== null && (pe.style.top = Y.top), Y.left !== null && (pe.style.left = Y.left), pe.style.transformOrigin = Y.transformOrigin, H(!0);
|
|
29869
29872
|
}, [K]);
|
|
29870
29873
|
O.useEffect(() => (P && window.addEventListener("scroll", ee), () => window.removeEventListener("scroll", ee)), [u, P, ee]);
|
|
29871
|
-
const
|
|
29874
|
+
const z = /* @__PURE__ */ a((pe, Y) => {
|
|
29872
29875
|
F && F(pe, Y), ee();
|
|
29873
29876
|
}, "handleEntering"), U = /* @__PURE__ */ a(() => {
|
|
29874
|
-
|
|
29877
|
+
H(!1);
|
|
29875
29878
|
}, "handleExited");
|
|
29876
29879
|
O.useEffect(() => {
|
|
29877
29880
|
x && ee();
|
|
@@ -29902,8 +29905,8 @@ const J4 = /* @__PURE__ */ a((t) => {
|
|
|
29902
29905
|
elevation: b,
|
|
29903
29906
|
ref: L
|
|
29904
29907
|
},
|
|
29905
|
-
ownerState:
|
|
29906
|
-
className: re(
|
|
29908
|
+
ownerState: j,
|
|
29909
|
+
className: re(B.paper, A == null ? void 0 : A.className)
|
|
29907
29910
|
}), se = vr({
|
|
29908
29911
|
elementType: te,
|
|
29909
29912
|
externalSlotProps: (C == null ? void 0 : C.root) || {},
|
|
@@ -29918,8 +29921,8 @@ const J4 = /* @__PURE__ */ a((t) => {
|
|
|
29918
29921
|
container: G,
|
|
29919
29922
|
open: x
|
|
29920
29923
|
},
|
|
29921
|
-
ownerState:
|
|
29922
|
-
className: re(
|
|
29924
|
+
ownerState: j,
|
|
29925
|
+
className: re(B.root, g)
|
|
29923
29926
|
}), {
|
|
29924
29927
|
slotProps: ie
|
|
29925
29928
|
} = se, _ = ne(se, Y4);
|
|
@@ -29930,7 +29933,7 @@ const J4 = /* @__PURE__ */ a((t) => {
|
|
|
29930
29933
|
children: /* @__PURE__ */ y(w, E({
|
|
29931
29934
|
appear: !0,
|
|
29932
29935
|
in: x,
|
|
29933
|
-
onEntering:
|
|
29936
|
+
onEntering: z,
|
|
29934
29937
|
onExited: U,
|
|
29935
29938
|
timeout: J
|
|
29936
29939
|
}, I, {
|
|
@@ -30203,14 +30206,14 @@ const Z4 = ["onEntering"], eH = ["autoFocus", "children", "className", "disableA
|
|
|
30203
30206
|
/* @__PURE__ */ O.isValidElement(N) && (process.env.NODE_ENV !== "production" && Pa.isFragment(N) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
|
|
30204
30207
|
`)), N.props.disabled || (x === "selectedMenu" && N.props.selected || $ === -1) && ($ = K));
|
|
30205
30208
|
});
|
|
30206
|
-
const L = (n = T.paper) != null ? n : iH,
|
|
30209
|
+
const L = (n = T.paper) != null ? n : iH, j = (o = k.paper) != null ? o : g, B = vr({
|
|
30207
30210
|
elementType: T.root,
|
|
30208
30211
|
externalSlotProps: k.root,
|
|
30209
30212
|
ownerState: M,
|
|
30210
30213
|
className: [F.root, u]
|
|
30211
|
-
}),
|
|
30214
|
+
}), V = vr({
|
|
30212
30215
|
elementType: L,
|
|
30213
|
-
externalSlotProps:
|
|
30216
|
+
externalSlotProps: j,
|
|
30214
30217
|
ownerState: M,
|
|
30215
30218
|
className: F.paper
|
|
30216
30219
|
});
|
|
@@ -30226,8 +30229,8 @@ const Z4 = ["onEntering"], eH = ["autoFocus", "children", "className", "disableA
|
|
|
30226
30229
|
root: T.root
|
|
30227
30230
|
},
|
|
30228
30231
|
slotProps: {
|
|
30229
|
-
root:
|
|
30230
|
-
paper:
|
|
30232
|
+
root: B,
|
|
30233
|
+
paper: V
|
|
30231
30234
|
},
|
|
30232
30235
|
open: h,
|
|
30233
30236
|
ref: r,
|
|
@@ -32088,25 +32091,25 @@ const l6 = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked"
|
|
|
32088
32091
|
const D = K.target.checked;
|
|
32089
32092
|
I(D), x && x(K, D);
|
|
32090
32093
|
}, "handleInputChange");
|
|
32091
|
-
let
|
|
32092
|
-
R && typeof
|
|
32093
|
-
const
|
|
32094
|
+
let j = u;
|
|
32095
|
+
R && typeof j > "u" && (j = R.disabled);
|
|
32096
|
+
const B = w === "checkbox" || w === "radio", V = E({}, e, {
|
|
32094
32097
|
checked: P,
|
|
32095
|
-
disabled:
|
|
32098
|
+
disabled: j,
|
|
32096
32099
|
disableFocusRipple: d,
|
|
32097
32100
|
edge: p
|
|
32098
|
-
}), N = c6(
|
|
32101
|
+
}), N = c6(V);
|
|
32099
32102
|
return /* @__PURE__ */ W(u6, E({
|
|
32100
32103
|
component: "span",
|
|
32101
32104
|
className: re(N.root, s),
|
|
32102
32105
|
centerRipple: !0,
|
|
32103
32106
|
focusRipple: !d,
|
|
32104
|
-
disabled:
|
|
32107
|
+
disabled: j,
|
|
32105
32108
|
tabIndex: null,
|
|
32106
32109
|
role: void 0,
|
|
32107
32110
|
onFocus: A,
|
|
32108
32111
|
onBlur: $,
|
|
32109
|
-
ownerState:
|
|
32112
|
+
ownerState: V,
|
|
32110
32113
|
ref: r
|
|
32111
32114
|
}, F, {
|
|
32112
32115
|
children: [/* @__PURE__ */ y(d6, E({
|
|
@@ -32114,14 +32117,14 @@ const l6 = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked"
|
|
|
32114
32117
|
checked: o,
|
|
32115
32118
|
defaultChecked: l,
|
|
32116
32119
|
className: N.input,
|
|
32117
|
-
disabled:
|
|
32118
|
-
id:
|
|
32120
|
+
disabled: j,
|
|
32121
|
+
id: B ? h : void 0,
|
|
32119
32122
|
name: b,
|
|
32120
32123
|
onChange: L,
|
|
32121
32124
|
readOnly: k,
|
|
32122
32125
|
ref: m,
|
|
32123
32126
|
required: C,
|
|
32124
|
-
ownerState:
|
|
32127
|
+
ownerState: V,
|
|
32125
32128
|
tabIndex: S,
|
|
32126
32129
|
type: w
|
|
32127
32130
|
}, w === "checkbox" && M === void 0 ? {} : {
|
|
@@ -32439,22 +32442,22 @@ const nO = /* @__PURE__ */ a((t, e) => t.filter((r) => !e.includes(r)), "not"),
|
|
|
32439
32442
|
!g && C.length > 0 && (p(C), h(() => b.map((A) => n.find(($) => $.id === A))), m(!0));
|
|
32440
32443
|
}, [n, C, b]);
|
|
32441
32444
|
const S = /* @__PURE__ */ a((A, $, L) => () => {
|
|
32442
|
-
const
|
|
32445
|
+
const j = i.indexOf(A), B = [...i];
|
|
32443
32446
|
if (L.shiftKey && l !== null) {
|
|
32444
|
-
const
|
|
32445
|
-
d.slice(
|
|
32446
|
-
|
|
32447
|
+
const V = Math.min(l, $), N = Math.max(l, $);
|
|
32448
|
+
d.slice(V, N + 1).map((D) => D.id).forEach((D) => {
|
|
32449
|
+
B.includes(D) || B.push(D);
|
|
32447
32450
|
});
|
|
32448
32451
|
} else
|
|
32449
|
-
|
|
32450
|
-
s(
|
|
32452
|
+
j === -1 ? B.push(A) : B.splice(j, 1);
|
|
32453
|
+
s(B), u($);
|
|
32451
32454
|
}, "handleToggle"), w = /* @__PURE__ */ a((A, $) => {
|
|
32452
32455
|
if ($) {
|
|
32453
32456
|
const L = [...f, A];
|
|
32454
|
-
h(L), p(d.filter((
|
|
32457
|
+
h(L), p(d.filter((j) => j.id !== A.id));
|
|
32455
32458
|
} else {
|
|
32456
32459
|
const L = f.filter(
|
|
32457
|
-
(
|
|
32460
|
+
(j) => j.id !== A.id
|
|
32458
32461
|
);
|
|
32459
32462
|
p([...d, A]), h(L);
|
|
32460
32463
|
}
|
|
@@ -32476,27 +32479,27 @@ const nO = /* @__PURE__ */ a((t, e) => t.filter((r) => !e.includes(r)), "not"),
|
|
|
32476
32479
|
}, "handleCheckedRight"), I = /* @__PURE__ */ a(() => {
|
|
32477
32480
|
const A = rn(
|
|
32478
32481
|
i,
|
|
32479
|
-
f.map((
|
|
32482
|
+
f.map((j) => j.id)
|
|
32480
32483
|
), $ = [
|
|
32481
32484
|
...d,
|
|
32482
|
-
...f.filter((
|
|
32483
|
-
], L = f.filter((
|
|
32485
|
+
...f.filter((j) => A.includes(j.id))
|
|
32486
|
+
], L = f.filter((j) => !A.includes(j.id));
|
|
32484
32487
|
p($), h(L), s(nO(i, A));
|
|
32485
32488
|
}, "handleCheckedLeft"), R = /* @__PURE__ */ a((A, $, L = {}) => {
|
|
32486
|
-
const
|
|
32487
|
-
x(
|
|
32488
|
-
}, "handleSearchChange"),
|
|
32489
|
-
(
|
|
32489
|
+
const j = /* @__PURE__ */ a((V) => {
|
|
32490
|
+
x(V === "" ? V : V.target.value);
|
|
32491
|
+
}, "handleSearchChange"), B = A.filter(
|
|
32492
|
+
(V) => V.etiqueta.toLowerCase().includes(v.toLowerCase())
|
|
32490
32493
|
);
|
|
32491
32494
|
return /* @__PURE__ */ W(
|
|
32492
32495
|
tn,
|
|
32493
32496
|
{
|
|
32494
|
-
sx: /* @__PURE__ */ a((
|
|
32495
|
-
width:
|
|
32496
|
-
height:
|
|
32497
|
+
sx: /* @__PURE__ */ a((V) => ({
|
|
32498
|
+
width: V.spacing(31),
|
|
32499
|
+
height: V.spacing(34),
|
|
32497
32500
|
overflow: "auto",
|
|
32498
|
-
border: `1px solid ${
|
|
32499
|
-
boxShadow:
|
|
32501
|
+
border: `1px solid ${V.palette.divider}`,
|
|
32502
|
+
boxShadow: V.shadows[2],
|
|
32500
32503
|
...L
|
|
32501
32504
|
}), "sx"),
|
|
32502
32505
|
children: [
|
|
@@ -32517,20 +32520,20 @@ const nO = /* @__PURE__ */ a((t, e) => t.filter((r) => !e.includes(r)), "not"),
|
|
|
32517
32520
|
fullWidth: !0,
|
|
32518
32521
|
resettable: !0,
|
|
32519
32522
|
value: v,
|
|
32520
|
-
onChange:
|
|
32523
|
+
onChange: j,
|
|
32521
32524
|
helperText: !1
|
|
32522
32525
|
}
|
|
32523
32526
|
)
|
|
32524
32527
|
}
|
|
32525
32528
|
),
|
|
32526
|
-
/* @__PURE__ */ y(Ti, { dense: !0, component: "div", role: "list", children:
|
|
32527
|
-
const K = `transfer-list-item-${
|
|
32529
|
+
/* @__PURE__ */ y(Ti, { dense: !0, component: "div", role: "list", children: B.map((V, N) => {
|
|
32530
|
+
const K = `transfer-list-item-${V.id}-label`;
|
|
32528
32531
|
return /* @__PURE__ */ W(
|
|
32529
32532
|
lo,
|
|
32530
32533
|
{
|
|
32531
32534
|
role: "listitem",
|
|
32532
|
-
onClick: /* @__PURE__ */ a((D) => S(
|
|
32533
|
-
onDoubleClick: /* @__PURE__ */ a(() => w(
|
|
32535
|
+
onClick: /* @__PURE__ */ a((D) => S(V.id, N, D)(), "onClick"),
|
|
32536
|
+
onDoubleClick: /* @__PURE__ */ a(() => w(V, $), "onDoubleClick"),
|
|
32534
32537
|
sx: /* @__PURE__ */ a((D) => ({
|
|
32535
32538
|
borderBottom: `1px solid ${D.palette.divider}`,
|
|
32536
32539
|
"&:hover": {
|
|
@@ -32541,7 +32544,7 @@ const nO = /* @__PURE__ */ a((t, e) => t.filter((r) => !e.includes(r)), "not"),
|
|
|
32541
32544
|
/* @__PURE__ */ y(co, { children: /* @__PURE__ */ y(
|
|
32542
32545
|
DE,
|
|
32543
32546
|
{
|
|
32544
|
-
checked: i.includes(
|
|
32547
|
+
checked: i.includes(V.id),
|
|
32545
32548
|
tabIndex: -1,
|
|
32546
32549
|
disableRipple: !0,
|
|
32547
32550
|
inputProps: {
|
|
@@ -32559,7 +32562,7 @@ const nO = /* @__PURE__ */ a((t, e) => t.filter((r) => !e.includes(r)), "not"),
|
|
|
32559
32562
|
uo,
|
|
32560
32563
|
{
|
|
32561
32564
|
id: K,
|
|
32562
|
-
primary:
|
|
32565
|
+
primary: V.etiqueta || V.name || `Item ${V.id}`,
|
|
32563
32566
|
primaryTypographyProps: {
|
|
32564
32567
|
variant: "caption"
|
|
32565
32568
|
}
|
|
@@ -32567,7 +32570,7 @@ const nO = /* @__PURE__ */ a((t, e) => t.filter((r) => !e.includes(r)), "not"),
|
|
|
32567
32570
|
)
|
|
32568
32571
|
]
|
|
32569
32572
|
},
|
|
32570
|
-
|
|
32573
|
+
V.id
|
|
32571
32574
|
);
|
|
32572
32575
|
}) }),
|
|
32573
32576
|
!$ && /* @__PURE__ */ y("input", { type: "hidden", ...k })
|
|
@@ -46607,12 +46610,12 @@ function n8(t) {
|
|
|
46607
46610
|
// <>
|
|
46608
46611
|
];
|
|
46609
46612
|
for (let $ = 0; $ < A.length; $++) {
|
|
46610
|
-
const [L,
|
|
46611
|
-
ue(M, L,
|
|
46612
|
-
const
|
|
46613
|
-
Le(
|
|
46613
|
+
const [L, j] = A[$], B = ue(w, L);
|
|
46614
|
+
ue(M, L, B), ue(B, j, w);
|
|
46615
|
+
const V = wr(Mc);
|
|
46616
|
+
Le(B, r, V);
|
|
46614
46617
|
const N = wr();
|
|
46615
|
-
Le(
|
|
46618
|
+
Le(B, n), Le(V, r, V), Le(V, n, N), Le(N, r, V), Le(N, n, N), ue(V, j, w), ue(N, j, w);
|
|
46616
46619
|
}
|
|
46617
46620
|
return ue(i, Rl, k), ue(i, dy, r8), {
|
|
46618
46621
|
start: i,
|
|
@@ -47366,11 +47369,11 @@ function M8() {
|
|
|
47366
47369
|
}
|
|
47367
47370
|
return M = $, $;
|
|
47368
47371
|
}
|
|
47369
|
-
var
|
|
47370
|
-
if (n(
|
|
47371
|
-
return
|
|
47372
|
-
var
|
|
47373
|
-
return m !== void 0 && m(
|
|
47372
|
+
var j = w, B = M;
|
|
47373
|
+
if (n(j, A))
|
|
47374
|
+
return B;
|
|
47375
|
+
var V = g(A);
|
|
47376
|
+
return m !== void 0 && m(B, V) ? B : (w = A, M = V, V);
|
|
47374
47377
|
}, "memoizedSelector"), P = h === void 0 ? null : h, I = /* @__PURE__ */ a(function() {
|
|
47375
47378
|
return F(f());
|
|
47376
47379
|
}, "getSnapshotWithSelector"), R = P === null ? void 0 : function() {
|
|
@@ -49656,13 +49659,13 @@ var OQ = $t(null), SQ = /* @__PURE__ */ a(function() {
|
|
|
49656
49659
|
var S = Array.isArray(h) ? yQ(h) : h, w = bR(zo({ name: b, defaultValue: Kc(T, m, e), rules: {
|
|
49657
49660
|
validate: /* @__PURE__ */ a(function($, L) {
|
|
49658
49661
|
return wQ(void 0, void 0, void 0, function() {
|
|
49659
|
-
var
|
|
49660
|
-
return MQ(this, function(
|
|
49661
|
-
switch (
|
|
49662
|
+
var j;
|
|
49663
|
+
return MQ(this, function(B) {
|
|
49664
|
+
switch (B.label) {
|
|
49662
49665
|
case 0:
|
|
49663
49666
|
return S ? [4, S($, L, zo(zo({}, t), { finalSource: m }))] : [2, !0];
|
|
49664
49667
|
case 1:
|
|
49665
|
-
return
|
|
49668
|
+
return j = B.sent(), j ? [2, "@@react-admin@@".concat(JSON.stringify(j))] : [2, !0];
|
|
49666
49669
|
}
|
|
49667
49670
|
});
|
|
49668
49671
|
});
|
|
@@ -49674,9 +49677,9 @@ var OQ = $t(null), SQ = /* @__PURE__ */ a(function() {
|
|
|
49674
49677
|
$[L] = arguments[L];
|
|
49675
49678
|
M.onBlur(), l && l.apply(void 0, $);
|
|
49676
49679
|
}), R = eh(function() {
|
|
49677
|
-
for (var $, L,
|
|
49680
|
+
for (var $, L, j, B, V, N = [], K = 0; K < arguments.length; K++)
|
|
49678
49681
|
N[K] = arguments[K];
|
|
49679
|
-
var D = t.type === "checkbox" && ((L = ($ = N[0]) === null || $ === void 0 ? void 0 : $.target) === null || L === void 0 ? void 0 : L.value) === "on" ? N[0].target.checked : (
|
|
49682
|
+
var D = t.type === "checkbox" && ((L = ($ = N[0]) === null || $ === void 0 ? void 0 : $.target) === null || L === void 0 ? void 0 : L.value) === "on" ? N[0].target.checked : (V = (B = (j = N[0]) === null || j === void 0 ? void 0 : j.target) === null || B === void 0 ? void 0 : B.value) !== null && V !== void 0 ? V : N[0];
|
|
49680
49683
|
M.onChange(k ? k(D) : D), u && u.apply(void 0, N);
|
|
49681
49684
|
}), A = zo(zo({}, M), { value: n ? n(M.value) : M.value, onBlur: I, onChange: R });
|
|
49682
49685
|
return {
|
|
@@ -50578,8 +50581,8 @@ const iX = ["children", "className", "color", "component", "disabled", "error",
|
|
|
50578
50581
|
return o && O.Children.forEach(o, (L) => {
|
|
50579
50582
|
if (!ga(L, ["Input", "Select"]))
|
|
50580
50583
|
return;
|
|
50581
|
-
const
|
|
50582
|
-
|
|
50584
|
+
const j = ga(L, ["Select"]) ? L.props.input : L;
|
|
50585
|
+
j && J_(j.props) && ($ = !0);
|
|
50583
50586
|
}), $;
|
|
50584
50587
|
}), [w, M] = O.useState(() => {
|
|
50585
50588
|
let $ = !1;
|
|
@@ -52220,38 +52223,38 @@ const zX = /* @__PURE__ */ a((t) => {
|
|
|
52220
52223
|
renderValue: A,
|
|
52221
52224
|
SelectDisplayProps: $ = {},
|
|
52222
52225
|
tabIndex: L,
|
|
52223
|
-
value:
|
|
52224
|
-
variant:
|
|
52225
|
-
} = e,
|
|
52226
|
-
controlled:
|
|
52226
|
+
value: j,
|
|
52227
|
+
variant: B = "standard"
|
|
52228
|
+
} = e, V = ne(e, DX), [N, K] = dl({
|
|
52229
|
+
controlled: j,
|
|
52227
52230
|
default: f,
|
|
52228
52231
|
name: "Select"
|
|
52229
|
-
}), [D,
|
|
52232
|
+
}), [D, H] = dl({
|
|
52230
52233
|
controlled: I,
|
|
52231
52234
|
default: p,
|
|
52232
52235
|
name: "Select"
|
|
52233
|
-
}), ee = O.useRef(null),
|
|
52236
|
+
}), ee = O.useRef(null), z = O.useRef(null), [U, J] = O.useState(null), {
|
|
52234
52237
|
current: G
|
|
52235
52238
|
} = O.useRef(I != null), [te, X] = O.useState(), oe = wt(r, v), se = O.useCallback((he) => {
|
|
52236
|
-
|
|
52239
|
+
z.current = he, he && J(he);
|
|
52237
52240
|
}, []), ie = U == null ? void 0 : U.parentNode;
|
|
52238
52241
|
O.useImperativeHandle(oe, () => ({
|
|
52239
52242
|
focus: /* @__PURE__ */ a(() => {
|
|
52240
|
-
|
|
52243
|
+
z.current.focus();
|
|
52241
52244
|
}, "focus"),
|
|
52242
52245
|
node: ee.current,
|
|
52243
52246
|
value: N
|
|
52244
52247
|
}), [N]), O.useEffect(() => {
|
|
52245
|
-
p && D && U && !G && (X(l ? null : ie.clientWidth),
|
|
52248
|
+
p && D && U && !G && (X(l ? null : ie.clientWidth), z.current.focus());
|
|
52246
52249
|
}, [U, l]), O.useEffect(() => {
|
|
52247
|
-
s &&
|
|
52250
|
+
s && z.current.focus();
|
|
52248
52251
|
}, [s]), O.useEffect(() => {
|
|
52249
52252
|
if (!x)
|
|
52250
52253
|
return;
|
|
52251
|
-
const he = $r(
|
|
52254
|
+
const he = $r(z.current).getElementById(x);
|
|
52252
52255
|
if (he) {
|
|
52253
52256
|
const Z = /* @__PURE__ */ a(() => {
|
|
52254
|
-
getSelection().isCollapsed &&
|
|
52257
|
+
getSelection().isCollapsed && z.current.focus();
|
|
52255
52258
|
}, "handler");
|
|
52256
52259
|
return he.addEventListener("click", Z), () => {
|
|
52257
52260
|
he.removeEventListener("click", Z);
|
|
@@ -52259,9 +52262,9 @@ const zX = /* @__PURE__ */ a((t) => {
|
|
|
52259
52262
|
}
|
|
52260
52263
|
}, [x]);
|
|
52261
52264
|
const _ = /* @__PURE__ */ a((he, Z) => {
|
|
52262
|
-
he ? P && P(Z) : M && M(Z), G || (X(l ? null : ie.clientWidth),
|
|
52265
|
+
he ? P && P(Z) : M && M(Z), G || (X(l ? null : ie.clientWidth), H(he));
|
|
52263
52266
|
}, "update"), pe = /* @__PURE__ */ a((he) => {
|
|
52264
|
-
he.button === 0 && (he.preventDefault(),
|
|
52267
|
+
he.button === 0 && (he.preventDefault(), z.current.focus(), _(!0, he));
|
|
52265
52268
|
}, "handleMouseDown"), Y = /* @__PURE__ */ a((he) => {
|
|
52266
52269
|
_(!1, he);
|
|
52267
52270
|
}, "handleClose"), me = O.Children.toArray(u), We = /* @__PURE__ */ a((he) => {
|
|
@@ -52306,7 +52309,7 @@ const zX = /* @__PURE__ */ a((t) => {
|
|
|
52306
52309
|
}
|
|
52307
52310
|
}), S(he));
|
|
52308
52311
|
}, "handleBlur");
|
|
52309
|
-
delete
|
|
52312
|
+
delete V["aria-invalid"];
|
|
52310
52313
|
let _e, st;
|
|
52311
52314
|
const at = [];
|
|
52312
52315
|
let Ie = !1, ze = !1;
|
|
@@ -52351,7 +52354,7 @@ const zX = /* @__PURE__ */ a((t) => {
|
|
|
52351
52354
|
let $e;
|
|
52352
52355
|
typeof L < "u" ? $e = L : $e = h ? null : 0;
|
|
52353
52356
|
const ye = $.id || (C ? `mui-component-select-${C}` : void 0), de = E({}, e, {
|
|
52354
|
-
variant:
|
|
52357
|
+
variant: B,
|
|
52355
52358
|
value: N,
|
|
52356
52359
|
open: ut,
|
|
52357
52360
|
error: m
|
|
@@ -52395,7 +52398,7 @@ const zX = /* @__PURE__ */ a((t) => {
|
|
|
52395
52398
|
className: it.nativeInput,
|
|
52396
52399
|
autoFocus: s,
|
|
52397
52400
|
ownerState: de
|
|
52398
|
-
},
|
|
52401
|
+
}, V)), /* @__PURE__ */ y(BX, {
|
|
52399
52402
|
as: b,
|
|
52400
52403
|
className: it.icon,
|
|
52401
52404
|
ownerState: de
|
|
@@ -52620,7 +52623,7 @@ const HX = Eo(/* @__PURE__ */ y("path", {
|
|
|
52620
52623
|
}), $ = A.variant || F, L = E({}, n, {
|
|
52621
52624
|
variant: $,
|
|
52622
52625
|
classes: s
|
|
52623
|
-
}),
|
|
52626
|
+
}), j = qX(L), B = ne(j, UX), V = h || {
|
|
52624
52627
|
standard: /* @__PURE__ */ y(GX, {
|
|
52625
52628
|
ownerState: L
|
|
52626
52629
|
}),
|
|
@@ -52631,9 +52634,9 @@ const HX = Eo(/* @__PURE__ */ y("path", {
|
|
|
52631
52634
|
filled: /* @__PURE__ */ y(YX, {
|
|
52632
52635
|
ownerState: L
|
|
52633
52636
|
})
|
|
52634
|
-
}[$], N = wt(r,
|
|
52637
|
+
}[$], N = wt(r, V.ref);
|
|
52635
52638
|
return /* @__PURE__ */ y(O.Fragment, {
|
|
52636
|
-
children: /* @__PURE__ */ O.cloneElement(
|
|
52639
|
+
children: /* @__PURE__ */ O.cloneElement(V, E({
|
|
52637
52640
|
// Most of the logic is implemented in `SelectInput`.
|
|
52638
52641
|
// The `Select` component is a simple API wrapper to expose something better to play with.
|
|
52639
52642
|
inputComponent: I,
|
|
@@ -52661,13 +52664,13 @@ const HX = Eo(/* @__PURE__ */ y("path", {
|
|
|
52661
52664
|
id: f
|
|
52662
52665
|
}, M)
|
|
52663
52666
|
}, g, {
|
|
52664
|
-
classes: g ? Jt(
|
|
52667
|
+
classes: g ? Jt(B, g.classes) : B
|
|
52665
52668
|
}, h ? h.props.inputProps : {})
|
|
52666
52669
|
}, (x && T || d) && $ === "outlined" ? {
|
|
52667
52670
|
notched: !0
|
|
52668
52671
|
} : {}, {
|
|
52669
52672
|
ref: N,
|
|
52670
|
-
className: re(
|
|
52673
|
+
className: re(V.props.className, l, j.root)
|
|
52671
52674
|
}, !h && {
|
|
52672
52675
|
variant: $
|
|
52673
52676
|
}, P))
|
|
@@ -52873,12 +52876,12 @@ const QX = ["autoComplete", "autoFocus", "children", "className", "color", "defa
|
|
|
52873
52876
|
placeholder: A,
|
|
52874
52877
|
required: $ = !1,
|
|
52875
52878
|
rows: L,
|
|
52876
|
-
select:
|
|
52877
|
-
SelectProps:
|
|
52878
|
-
type:
|
|
52879
|
+
select: j = !1,
|
|
52880
|
+
SelectProps: B,
|
|
52881
|
+
type: V,
|
|
52879
52882
|
value: N,
|
|
52880
52883
|
variant: K = "outlined"
|
|
52881
|
-
} = n, D = ne(n, QX),
|
|
52884
|
+
} = n, D = ne(n, QX), H = E({}, n, {
|
|
52882
52885
|
autoFocus: i,
|
|
52883
52886
|
color: u,
|
|
52884
52887
|
disabled: p,
|
|
@@ -52886,12 +52889,12 @@ const QX = ["autoComplete", "autoFocus", "children", "className", "color", "defa
|
|
|
52886
52889
|
fullWidth: g,
|
|
52887
52890
|
multiline: M,
|
|
52888
52891
|
required: $,
|
|
52889
|
-
select:
|
|
52892
|
+
select: j,
|
|
52890
52893
|
variant: K
|
|
52891
|
-
}), ee = ZX(
|
|
52892
|
-
process.env.NODE_ENV !== "production" &&
|
|
52893
|
-
const
|
|
52894
|
-
K === "outlined" && (v && typeof v.shrink < "u" && (
|
|
52894
|
+
}), ee = ZX(H);
|
|
52895
|
+
process.env.NODE_ENV !== "production" && j && !s && console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");
|
|
52896
|
+
const z = {};
|
|
52897
|
+
K === "outlined" && (v && typeof v.shrink < "u" && (z.notched = v.shrink), z.label = C), j && ((!B || !B.native) && (z.id = void 0), z["aria-describedby"] = void 0);
|
|
52895
52898
|
const U = Gl(b), J = m && U ? `${U}-helper-text` : void 0, G = C && U ? `${U}-label` : void 0, te = XX[K], X = /* @__PURE__ */ y(te, E({
|
|
52896
52899
|
"aria-describedby": J,
|
|
52897
52900
|
autoComplete: o,
|
|
@@ -52903,7 +52906,7 @@ const QX = ["autoComplete", "autoFocus", "children", "className", "color", "defa
|
|
|
52903
52906
|
rows: L,
|
|
52904
52907
|
maxRows: S,
|
|
52905
52908
|
minRows: w,
|
|
52906
|
-
type:
|
|
52909
|
+
type: V,
|
|
52907
52910
|
value: N,
|
|
52908
52911
|
id: U,
|
|
52909
52912
|
inputRef: k,
|
|
@@ -52912,7 +52915,7 @@ const QX = ["autoComplete", "autoFocus", "children", "className", "color", "defa
|
|
|
52912
52915
|
onFocus: R,
|
|
52913
52916
|
placeholder: A,
|
|
52914
52917
|
inputProps: x
|
|
52915
|
-
},
|
|
52918
|
+
}, z, T));
|
|
52916
52919
|
return /* @__PURE__ */ W(eZ, E({
|
|
52917
52920
|
className: re(ee.root, l),
|
|
52918
52921
|
disabled: p,
|
|
@@ -52922,20 +52925,20 @@ const QX = ["autoComplete", "autoFocus", "children", "className", "color", "defa
|
|
|
52922
52925
|
required: $,
|
|
52923
52926
|
color: u,
|
|
52924
52927
|
variant: K,
|
|
52925
|
-
ownerState:
|
|
52928
|
+
ownerState: H
|
|
52926
52929
|
}, D, {
|
|
52927
52930
|
children: [C != null && C !== "" && /* @__PURE__ */ y(Jw, E({
|
|
52928
52931
|
htmlFor: U,
|
|
52929
52932
|
id: G
|
|
52930
52933
|
}, v, {
|
|
52931
52934
|
children: C
|
|
52932
|
-
})),
|
|
52935
|
+
})), j ? /* @__PURE__ */ y(Ry, E({
|
|
52933
52936
|
"aria-describedby": J,
|
|
52934
52937
|
id: U,
|
|
52935
52938
|
labelId: G,
|
|
52936
52939
|
value: N,
|
|
52937
52940
|
input: X
|
|
52938
|
-
},
|
|
52941
|
+
}, B, {
|
|
52939
52942
|
children: s
|
|
52940
52943
|
})) : X, m && /* @__PURE__ */ y(Kw, E({
|
|
52941
52944
|
id: J
|
|
@@ -53971,15 +53974,15 @@ const are = /* @__PURE__ */ a((t) => {
|
|
|
53971
53974
|
refetch: A,
|
|
53972
53975
|
render: $,
|
|
53973
53976
|
resource: L,
|
|
53974
|
-
setFilter:
|
|
53975
|
-
setPagination:
|
|
53976
|
-
setSort:
|
|
53977
|
+
setFilter: j,
|
|
53978
|
+
setPagination: B,
|
|
53979
|
+
setSort: V,
|
|
53977
53980
|
shouldUnregister: N,
|
|
53978
53981
|
source: K,
|
|
53979
53982
|
submitError: D,
|
|
53980
|
-
subscription:
|
|
53983
|
+
subscription: H,
|
|
53981
53984
|
textAlign: ee,
|
|
53982
|
-
translate:
|
|
53985
|
+
translate: z,
|
|
53983
53986
|
translateChoice: U,
|
|
53984
53987
|
validate: J,
|
|
53985
53988
|
validateFields: G,
|