biblio-react 3.0.0-alpha209 → 3.0.0-alpha210
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 +235 -235
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -241,18 +241,18 @@ function MM() {
|
|
|
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 V(_) {
|
|
253
253
|
return typeof _ == "object" && _ !== null && _.$$typeof === t;
|
|
254
254
|
}
|
|
255
|
-
a(
|
|
255
|
+
a(V, "isElement");
|
|
256
256
|
function U(_) {
|
|
257
257
|
return C(_) === p;
|
|
258
258
|
}
|
|
@@ -284,7 +284,7 @@ function MM() {
|
|
|
284
284
|
function le(_) {
|
|
285
285
|
return C(_) === f;
|
|
286
286
|
}
|
|
287
|
-
a(le, "isSuspense"), ot.AsyncMode = S, ot.ConcurrentMode = w, ot.ContextConsumer = P, ot.ContextProvider = $, ot.Element = A, ot.ForwardRef = I, ot.Fragment = M, ot.Lazy = R, ot.Memo = F, ot.Portal = L, ot.Profiler = B, ot.StrictMode = z, ot.Suspense = j, ot.isAsyncMode = K, ot.isConcurrentMode = D, ot.isContextConsumer =
|
|
287
|
+
a(le, "isSuspense"), ot.AsyncMode = S, ot.ConcurrentMode = w, ot.ContextConsumer = P, ot.ContextProvider = $, ot.Element = A, ot.ForwardRef = I, ot.Fragment = M, ot.Lazy = R, ot.Memo = F, ot.Portal = L, ot.Profiler = B, ot.StrictMode = z, ot.Suspense = j, ot.isAsyncMode = K, ot.isConcurrentMode = D, ot.isContextConsumer = H, ot.isContextProvider = ee, ot.isElement = V, ot.isForwardRef = U, ot.isFragment = J, ot.isLazy = G, ot.isMemo = ne, ot.isPortal = Q, ot.isProfiler = ae, ot.isStrictMode = de, ot.isSuspense = le, ot.isValidElementType = T, ot.typeOf = C;
|
|
288
288
|
}()), ot;
|
|
289
289
|
}
|
|
290
290
|
a(MM, "requireReactIs_development$2");
|
|
@@ -429,9 +429,9 @@ function $M() {
|
|
|
429
429
|
return a(s, "emptyFunctionThatReturnsNull"), Dp = /* @__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 $M() {
|
|
|
455
455
|
shape: R,
|
|
456
456
|
exact: F
|
|
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 y(D) {
|
|
467
467
|
if (process.env.NODE_ENV !== "production")
|
|
468
|
-
var
|
|
469
|
-
function
|
|
468
|
+
var H = {}, ee = 0;
|
|
469
|
+
function V(J, G, ne, Q, ae, de, le) {
|
|
470
470
|
if (Q = Q || h, de = de || ne, le !== r) {
|
|
471
471
|
if (u) {
|
|
472
472
|
var _ = new Error(
|
|
@@ -475,22 +475,22 @@ function $M() {
|
|
|
475
475
|
throw _.name = "Invariant Violation", _;
|
|
476
476
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
477
477
|
var te = Q + ":" + ne;
|
|
478
|
-
!
|
|
478
|
+
!H[te] && // 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 `" + de + "` prop on `" + Q + "`. 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[te] = !0, ee++);
|
|
482
482
|
}
|
|
483
483
|
}
|
|
484
484
|
return G[ne] == null ? J ? G[ne] === null ? new b("The " + ae + " `" + de + "` is marked as required " + ("in `" + Q + "`, but its value is `null`.")) : new b("The " + ae + " `" + de + "` is marked as required in " + ("`" + Q + "`, but its value is `undefined`.")) : null : D(G, ne, Q, ae, de);
|
|
485
485
|
}
|
|
486
|
-
a(
|
|
487
|
-
var U =
|
|
488
|
-
return U.isRequired =
|
|
486
|
+
a(V, "checkType");
|
|
487
|
+
var U = V.bind(null, !1);
|
|
488
|
+
return U.isRequired = V.bind(null, !0), U;
|
|
489
489
|
}
|
|
490
490
|
a(y, "createChainableTypeChecker");
|
|
491
491
|
function x(D) {
|
|
492
|
-
function
|
|
493
|
-
var Q = ee[
|
|
492
|
+
function H(ee, V, U, J, G, ne) {
|
|
493
|
+
var Q = ee[V], ae = z(Q);
|
|
494
494
|
if (ae !== D) {
|
|
495
495
|
var de = j(Q);
|
|
496
496
|
return new b(
|
|
@@ -500,7 +500,7 @@ function $M() {
|
|
|
500
500
|
}
|
|
501
501
|
return null;
|
|
502
502
|
}
|
|
503
|
-
return a(
|
|
503
|
+
return a(H, "validate"), y(H);
|
|
504
504
|
}
|
|
505
505
|
a(x, "createPrimitiveTypeChecker");
|
|
506
506
|
function E() {
|
|
@@ -508,10 +508,10 @@ function $M() {
|
|
|
508
508
|
}
|
|
509
509
|
a(E, "createAnyTypeChecker");
|
|
510
510
|
function T(D) {
|
|
511
|
-
function
|
|
511
|
+
function H(ee, V, 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 ne = ee[
|
|
514
|
+
var ne = ee[V];
|
|
515
515
|
if (!Array.isArray(ne)) {
|
|
516
516
|
var Q = z(ne);
|
|
517
517
|
return new b("Invalid " + J + " `" + G + "` of type " + ("`" + Q + "` supplied to `" + U + "`, expected an array."));
|
|
@@ -523,15 +523,15 @@ function $M() {
|
|
|
523
523
|
}
|
|
524
524
|
return null;
|
|
525
525
|
}
|
|
526
|
-
return a(
|
|
526
|
+
return a(H, "validate"), y(H);
|
|
527
527
|
}
|
|
528
528
|
a(T, "createArrayOfTypeChecker");
|
|
529
529
|
function C() {
|
|
530
|
-
function D(
|
|
531
|
-
var G =
|
|
530
|
+
function D(H, ee, V, U, J) {
|
|
531
|
+
var G = H[ee];
|
|
532
532
|
if (!l(G)) {
|
|
533
533
|
var ne = z(G);
|
|
534
|
-
return new b("Invalid " + U + " `" + J + "` of type " + ("`" + ne + "` supplied to `" +
|
|
534
|
+
return new b("Invalid " + U + " `" + J + "` of type " + ("`" + ne + "` supplied to `" + V + "`, expected a single ReactElement."));
|
|
535
535
|
}
|
|
536
536
|
return null;
|
|
537
537
|
}
|
|
@@ -539,11 +539,11 @@ function $M() {
|
|
|
539
539
|
}
|
|
540
540
|
a(C, "createElementTypeChecker");
|
|
541
541
|
function S() {
|
|
542
|
-
function D(
|
|
543
|
-
var G =
|
|
542
|
+
function D(H, ee, V, U, J) {
|
|
543
|
+
var G = H[ee];
|
|
544
544
|
if (!e.isValidElementType(G)) {
|
|
545
545
|
var ne = z(G);
|
|
546
|
-
return new b("Invalid " + U + " `" + J + "` of type " + ("`" + ne + "` supplied to `" +
|
|
546
|
+
return new b("Invalid " + U + " `" + J + "` of type " + ("`" + ne + "` supplied to `" + V + "`, expected a single ReactElement type."));
|
|
547
547
|
}
|
|
548
548
|
return null;
|
|
549
549
|
}
|
|
@@ -551,14 +551,14 @@ function $M() {
|
|
|
551
551
|
}
|
|
552
552
|
a(S, "createElementTypeTypeChecker");
|
|
553
553
|
function w(D) {
|
|
554
|
-
function
|
|
555
|
-
if (!(ee[
|
|
556
|
-
var ne = D.name || h, Q = K(ee[
|
|
554
|
+
function H(ee, V, U, J, G) {
|
|
555
|
+
if (!(ee[V] instanceof D)) {
|
|
556
|
+
var ne = D.name || h, Q = K(ee[V]);
|
|
557
557
|
return new b("Invalid " + J + " `" + G + "` of type " + ("`" + Q + "` supplied to `" + U + "`, expected ") + ("instance of `" + ne + "`."));
|
|
558
558
|
}
|
|
559
559
|
return null;
|
|
560
560
|
}
|
|
561
|
-
return a(
|
|
561
|
+
return a(H, "validate"), y(H);
|
|
562
562
|
}
|
|
563
563
|
a(w, "createInstanceTypeChecker");
|
|
564
564
|
function P(D) {
|
|
@@ -566,8 +566,8 @@ function $M() {
|
|
|
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 ne = ee[
|
|
569
|
+
function H(ee, V, U, J, G) {
|
|
570
|
+
for (var ne = ee[V], Q = 0; Q < D.length; Q++)
|
|
571
571
|
if (m(ne, D[Q]))
|
|
572
572
|
return null;
|
|
573
573
|
var ae = JSON.stringify(D, /* @__PURE__ */ a(function(le, _) {
|
|
@@ -576,14 +576,14 @@ function $M() {
|
|
|
576
576
|
}, "replacer"));
|
|
577
577
|
return new b("Invalid " + J + " `" + G + "` of value `" + String(ne) + "` " + ("supplied to `" + U + "`, expected one of " + ae + "."));
|
|
578
578
|
}
|
|
579
|
-
return a(
|
|
579
|
+
return a(H, "validate"), y(H);
|
|
580
580
|
}
|
|
581
581
|
a(P, "createEnumTypeChecker");
|
|
582
582
|
function $(D) {
|
|
583
|
-
function
|
|
583
|
+
function H(ee, V, 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 ne = ee[
|
|
586
|
+
var ne = ee[V], Q = z(ne);
|
|
587
587
|
if (Q !== "object")
|
|
588
588
|
return new b("Invalid " + J + " `" + G + "` of type " + ("`" + Q + "` supplied to `" + U + "`, expected an object."));
|
|
589
589
|
for (var ae in ne)
|
|
@@ -594,20 +594,20 @@ function $M() {
|
|
|
594
594
|
}
|
|
595
595
|
return null;
|
|
596
596
|
}
|
|
597
|
-
return a(
|
|
597
|
+
return a(H, "validate"), y(H);
|
|
598
598
|
}
|
|
599
599
|
a($, "createObjectOfTypeChecker");
|
|
600
600
|
function A(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 V(U, J, G, ne, Q) {
|
|
611
611
|
for (var ae = [], de = 0; de < D.length; de++) {
|
|
612
612
|
var le = D[de], _ = le(U, J, G, ne, Q, r);
|
|
613
613
|
if (_ == null)
|
|
@@ -617,25 +617,25 @@ function $M() {
|
|
|
617
617
|
var te = ae.length > 0 ? ", expected one of type [" + ae.join(", ") + "]" : "";
|
|
618
618
|
return new b("Invalid " + ne + " `" + Q + "` supplied to " + ("`" + G + "`" + te + "."));
|
|
619
619
|
}
|
|
620
|
-
return a(
|
|
620
|
+
return a(V, "validate"), y(V);
|
|
621
621
|
}
|
|
622
622
|
a(A, "createUnionTypeChecker");
|
|
623
623
|
function I() {
|
|
624
|
-
function D(
|
|
625
|
-
return L(
|
|
624
|
+
function D(H, ee, V, U, J) {
|
|
625
|
+
return L(H[ee]) ? null : new b("Invalid " + U + " `" + J + "` supplied to " + ("`" + V + "`, expected a ReactNode."));
|
|
626
626
|
}
|
|
627
627
|
return a(D, "validate"), y(D);
|
|
628
628
|
}
|
|
629
629
|
a(I, "createNodeChecker");
|
|
630
|
-
function M(D,
|
|
630
|
+
function M(D, H, ee, V, U) {
|
|
631
631
|
return new b(
|
|
632
|
-
(D || "React class") + ": " +
|
|
632
|
+
(D || "React class") + ": " + H + " type `" + ee + "." + V + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + U + "`."
|
|
633
633
|
);
|
|
634
634
|
}
|
|
635
635
|
a(M, "invalidValidatorError");
|
|
636
636
|
function R(D) {
|
|
637
|
-
function
|
|
638
|
-
var ne = ee[
|
|
637
|
+
function H(ee, V, U, J, G) {
|
|
638
|
+
var ne = ee[V], Q = z(ne);
|
|
639
639
|
if (Q !== "object")
|
|
640
640
|
return new b("Invalid " + J + " `" + G + "` of type `" + Q + "` " + ("supplied to `" + U + "`, expected `object`."));
|
|
641
641
|
for (var ae in D) {
|
|
@@ -648,22 +648,22 @@ function $M() {
|
|
|
648
648
|
}
|
|
649
649
|
return null;
|
|
650
650
|
}
|
|
651
|
-
return a(
|
|
651
|
+
return a(H, "validate"), y(H);
|
|
652
652
|
}
|
|
653
653
|
a(R, "createShapeTypeChecker");
|
|
654
654
|
function F(D) {
|
|
655
|
-
function
|
|
656
|
-
var ne = ee[
|
|
655
|
+
function H(ee, V, U, J, G) {
|
|
656
|
+
var ne = ee[V], Q = z(ne);
|
|
657
657
|
if (Q !== "object")
|
|
658
658
|
return new b("Invalid " + J + " `" + G + "` of type `" + Q + "` " + ("supplied to `" + U + "`, expected `object`."));
|
|
659
|
-
var ae = t({}, ee[
|
|
659
|
+
var ae = t({}, ee[V], D);
|
|
660
660
|
for (var de in ae) {
|
|
661
661
|
var le = D[de];
|
|
662
662
|
if (n(D, de) && typeof le != "function")
|
|
663
663
|
return M(U, J, G, de, j(le));
|
|
664
664
|
if (!le)
|
|
665
665
|
return new b(
|
|
666
|
-
"Invalid " + J + " `" + G + "` key `" + de + "` supplied to `" + U + "`.\nBad object: " + JSON.stringify(ee[
|
|
666
|
+
"Invalid " + J + " `" + G + "` key `" + de + "` supplied to `" + U + "`.\nBad object: " + JSON.stringify(ee[V], null, " ") + `
|
|
667
667
|
Valid keys: ` + JSON.stringify(Object.keys(D), null, " ")
|
|
668
668
|
);
|
|
669
669
|
var _ = le(ne, de, U, J, G + "." + de, 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"), y(H);
|
|
676
676
|
}
|
|
677
677
|
a(F, "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), V;
|
|
694
|
+
if (H !== D.entries) {
|
|
695
|
+
for (; !(V = ee.next()).done; )
|
|
696
|
+
if (!L(V.value))
|
|
697
697
|
return !1;
|
|
698
698
|
} else
|
|
699
|
-
for (; !(
|
|
700
|
-
var U =
|
|
699
|
+
for (; !(V = ee.next()).done; ) {
|
|
700
|
+
var U = V.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 B(D,
|
|
713
|
-
return D === "symbol" ? !0 :
|
|
712
|
+
function B(D, H) {
|
|
713
|
+
return D === "symbol" ? !0 : H ? H["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && H instanceof Symbol : !1;
|
|
714
714
|
}
|
|
715
715
|
a(B, "isSymbol");
|
|
716
716
|
function z(D) {
|
|
717
|
-
var
|
|
718
|
-
return Array.isArray(D) ? "array" : D instanceof RegExp ? "object" : B(
|
|
717
|
+
var H = typeof D;
|
|
718
|
+
return Array.isArray(D) ? "array" : D instanceof RegExp ? "object" : B(H, D) ? "symbol" : H;
|
|
719
719
|
}
|
|
720
720
|
a(z, "getPropType");
|
|
721
721
|
function j(D) {
|
|
722
722
|
if (typeof D > "u" || D === null)
|
|
723
723
|
return "" + D;
|
|
724
|
-
var
|
|
725
|
-
if (
|
|
724
|
+
var H = z(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
733
|
a(j, "getPreciseType");
|
|
734
734
|
function N(D) {
|
|
735
|
-
var
|
|
736
|
-
switch (
|
|
735
|
+
var H = j(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");
|
|
@@ -1684,18 +1684,18 @@ function uR() {
|
|
|
1684
1684
|
return C(_) === d;
|
|
1685
1685
|
}
|
|
1686
1686
|
a(D, "isConcurrentMode");
|
|
1687
|
-
function
|
|
1687
|
+
function H(_) {
|
|
1688
1688
|
return C(_) === l;
|
|
1689
1689
|
}
|
|
1690
|
-
a(
|
|
1690
|
+
a(H, "isContextConsumer");
|
|
1691
1691
|
function ee(_) {
|
|
1692
1692
|
return C(_) === s;
|
|
1693
1693
|
}
|
|
1694
1694
|
a(ee, "isContextProvider");
|
|
1695
|
-
function
|
|
1695
|
+
function V(_) {
|
|
1696
1696
|
return typeof _ == "object" && _ !== null && _.$$typeof === t;
|
|
1697
1697
|
}
|
|
1698
|
-
a(
|
|
1698
|
+
a(V, "isElement");
|
|
1699
1699
|
function U(_) {
|
|
1700
1700
|
return C(_) === p;
|
|
1701
1701
|
}
|
|
@@ -1727,7 +1727,7 @@ function uR() {
|
|
|
1727
1727
|
function le(_) {
|
|
1728
1728
|
return C(_) === f;
|
|
1729
1729
|
}
|
|
1730
|
-
a(le, "isSuspense"), at.AsyncMode = S, at.ConcurrentMode = w, at.ContextConsumer = P, at.ContextProvider = $, at.Element = A, at.ForwardRef = I, at.Fragment = M, at.Lazy = R, at.Memo = F, at.Portal = L, at.Profiler = B, at.StrictMode = z, at.Suspense = j, at.isAsyncMode = K, at.isConcurrentMode = D, at.isContextConsumer =
|
|
1730
|
+
a(le, "isSuspense"), at.AsyncMode = S, at.ConcurrentMode = w, at.ContextConsumer = P, at.ContextProvider = $, at.Element = A, at.ForwardRef = I, at.Fragment = M, at.Lazy = R, at.Memo = F, at.Portal = L, at.Profiler = B, at.StrictMode = z, at.Suspense = j, at.isAsyncMode = K, at.isConcurrentMode = D, at.isContextConsumer = H, at.isContextProvider = ee, at.isElement = V, at.isForwardRef = U, at.isFragment = J, at.isLazy = G, at.isMemo = ne, at.isPortal = Q, at.isProfiler = ae, at.isStrictMode = de, at.isSuspense = le, at.isValidElementType = T, at.typeOf = C;
|
|
1731
1731
|
}()), at;
|
|
1732
1732
|
}
|
|
1733
1733
|
a(uR, "requireReactIs_development$1");
|
|
@@ -2873,18 +2873,18 @@ function aA() {
|
|
|
2873
2873
|
return N || (N = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
2874
2874
|
}
|
|
2875
2875
|
a(D, "isAsyncMode");
|
|
2876
|
-
function
|
|
2876
|
+
function H(Y) {
|
|
2877
2877
|
return K || (K = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
2878
2878
|
}
|
|
2879
|
-
a(
|
|
2879
|
+
a(H, "isConcurrentMode");
|
|
2880
2880
|
function ee(Y) {
|
|
2881
2881
|
return S(Y) === s;
|
|
2882
2882
|
}
|
|
2883
2883
|
a(ee, "isContextConsumer");
|
|
2884
|
-
function
|
|
2884
|
+
function V(Y) {
|
|
2885
2885
|
return S(Y) === i;
|
|
2886
2886
|
}
|
|
2887
|
-
a(
|
|
2887
|
+
a(V, "isContextProvider");
|
|
2888
2888
|
function U(Y) {
|
|
2889
2889
|
return typeof Y == "object" && Y !== null && Y.$$typeof === e;
|
|
2890
2890
|
}
|
|
@@ -2924,7 +2924,7 @@ function aA() {
|
|
|
2924
2924
|
function te(Y) {
|
|
2925
2925
|
return S(Y) === p;
|
|
2926
2926
|
}
|
|
2927
|
-
a(te, "isSuspenseList"), lt.ContextConsumer = w, lt.ContextProvider = P, lt.Element = $, lt.ForwardRef = A, lt.Fragment = I, lt.Lazy = M, lt.Memo = R, lt.Portal = F, lt.Profiler = L, lt.StrictMode = B, lt.Suspense = z, lt.SuspenseList = j, lt.isAsyncMode = D, lt.isConcurrentMode =
|
|
2927
|
+
a(te, "isSuspenseList"), lt.ContextConsumer = w, lt.ContextProvider = P, lt.Element = $, lt.ForwardRef = A, lt.Fragment = I, lt.Lazy = M, lt.Memo = R, lt.Portal = F, lt.Profiler = L, lt.StrictMode = B, lt.Suspense = z, lt.SuspenseList = j, lt.isAsyncMode = D, lt.isConcurrentMode = H, lt.isContextConsumer = ee, lt.isContextProvider = V, lt.isElement = U, lt.isForwardRef = J, lt.isFragment = G, lt.isLazy = ne, lt.isMemo = Q, lt.isPortal = ae, lt.isProfiler = de, lt.isStrictMode = le, lt.isSuspense = _, lt.isSuspenseList = te, lt.isValidElementType = C, lt.typeOf = S;
|
|
2928
2928
|
}()), lt;
|
|
2929
2929
|
}
|
|
2930
2930
|
a(aA, "requireReactIs_development");
|
|
@@ -7543,15 +7543,15 @@ const cL = ["BackdropComponent", "BackdropProps", "classes", "className", "close
|
|
|
7543
7543
|
getBackdropProps: N,
|
|
7544
7544
|
getTransitionProps: K,
|
|
7545
7545
|
portalRef: D,
|
|
7546
|
-
isTopModal:
|
|
7546
|
+
isTopModal: H,
|
|
7547
7547
|
exited: ee,
|
|
7548
|
-
hasTransition:
|
|
7548
|
+
hasTransition: V
|
|
7549
7549
|
} = sL(k({}, z, {
|
|
7550
7550
|
rootRef: r
|
|
7551
7551
|
})), U = k({}, z, {
|
|
7552
7552
|
exited: ee
|
|
7553
7553
|
}), J = uL(U), G = {};
|
|
7554
|
-
if (m.props.tabIndex === void 0 && (G.tabIndex = "-1"),
|
|
7554
|
+
if (m.props.tabIndex === void 0 && (G.tabIndex = "-1"), V) {
|
|
7555
7555
|
const {
|
|
7556
7556
|
onEnter: te,
|
|
7557
7557
|
onExited: Y
|
|
@@ -7581,7 +7581,7 @@ const cL = ["BackdropComponent", "BackdropProps", "classes", "className", "close
|
|
|
7581
7581
|
className: oe(de == null ? void 0 : de.className, f == null ? void 0 : f.className, J == null ? void 0 : J.backdrop),
|
|
7582
7582
|
ownerState: U
|
|
7583
7583
|
});
|
|
7584
|
-
return !I && !R && (!
|
|
7584
|
+
return !I && !R && (!V || ee) ? null : /* @__PURE__ */ v(ul, {
|
|
7585
7585
|
ref: D,
|
|
7586
7586
|
container: b,
|
|
7587
7587
|
disablePortal: w,
|
|
@@ -7590,7 +7590,7 @@ const cL = ["BackdropComponent", "BackdropProps", "classes", "className", "close
|
|
|
7590
7590
|
disableEnforceFocus: C,
|
|
7591
7591
|
disableAutoFocus: T,
|
|
7592
7592
|
disableRestoreFocus: P,
|
|
7593
|
-
isEnabled:
|
|
7593
|
+
isEnabled: H,
|
|
7594
7594
|
open: R,
|
|
7595
7595
|
children: /* @__PURE__ */ O.cloneElement(m, G)
|
|
7596
7596
|
})]
|
|
@@ -9707,12 +9707,12 @@ const EN = /^(\d+)(th|st|nd|rd)?/i, kN = /\d+/i, wN = {
|
|
|
9707
9707
|
disabled: N,
|
|
9708
9708
|
useContenido: K = Kl,
|
|
9709
9709
|
validate: D,
|
|
9710
|
-
required:
|
|
9710
|
+
required: H,
|
|
9711
9711
|
...ee
|
|
9712
|
-
} = C,
|
|
9712
|
+
} = C, V = l || j === void 0 ? A : j, U = l || N === void 0 ? I : N, J = l || L === void 0 ? w : L, G = l || B === void 0 ? $ : B, ne = l || z === void 0 ? P : z, Q = ln(e), ae = K({
|
|
9713
9713
|
...F,
|
|
9714
9714
|
estado: r,
|
|
9715
|
-
hidden:
|
|
9715
|
+
hidden: V,
|
|
9716
9716
|
isLoading: n,
|
|
9717
9717
|
utils: Q,
|
|
9718
9718
|
...ee
|
|
@@ -9725,7 +9725,7 @@ const EN = /^(\d+)(th|st|nd|rd)?/i, kN = /\d+/i, wN = {
|
|
|
9725
9725
|
validate: ye,
|
|
9726
9726
|
required: qe,
|
|
9727
9727
|
...Ne
|
|
9728
|
-
} = ae, _e = _ || J, Ee = Y || G, He = te || ne, De = y !== void 0 ? y : qe !== void 0 ? qe : f ? !0 : l ||
|
|
9728
|
+
} = ae, _e = _ || J, Ee = Y || G, He = te || ne, De = y !== void 0 ? y : qe !== void 0 ? qe : f ? !0 : l || H === void 0 ? R : H, ut = Array.isArray(M) ? M : [M], dt = Array.isArray(D) ? D : [D], ze = Array.isArray(ye) ? ye : [ye];
|
|
9729
9729
|
let Je = [
|
|
9730
9730
|
...ut,
|
|
9731
9731
|
...dt,
|
|
@@ -9757,7 +9757,7 @@ const EN = /^(\d+)(th|st|nd|rd)?/i, kN = /\d+/i, wN = {
|
|
|
9757
9757
|
isRequired: De,
|
|
9758
9758
|
...S
|
|
9759
9759
|
},
|
|
9760
|
-
hidden: b !== void 0 ? b : de !== void 0 ? de : p ? !0 :
|
|
9760
|
+
hidden: b !== void 0 ? b : de !== void 0 ? de : p ? !0 : V
|
|
9761
9761
|
};
|
|
9762
9762
|
}, "useContenidoController"), gD = /* @__PURE__ */ a((e) => {
|
|
9763
9763
|
const { validateDelete: t, className: r } = e, n = pt(e), o = yr(), i = eo(), { mutationOptions: { onError: s } = {} } = Tt(), { open: l, isLoading: u, handleDialogOpen: d, handleDialogClose: p } = pP({ record: o, resource: n }), f = /* @__PURE__ */ a((g) => {
|
|
@@ -11442,9 +11442,9 @@ const La = Oe("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
|
|
|
11442
11442
|
slotProps: N = {},
|
|
11443
11443
|
slots: K = {},
|
|
11444
11444
|
startAdornment: D,
|
|
11445
|
-
type:
|
|
11445
|
+
type: H = "text",
|
|
11446
11446
|
value: ee
|
|
11447
|
-
} = o,
|
|
11447
|
+
} = o, V = ie(o, i2), U = E.value != null ? E.value : ee, {
|
|
11448
11448
|
current: J
|
|
11449
11449
|
} = O.useRef(U != null), G = O.useRef(), ne = O.useCallback((Pe) => {
|
|
11450
11450
|
process.env.NODE_ENV !== "production" && Pe && Pe.nodeName !== "INPUT" && !Pe.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(`
|
|
@@ -11525,7 +11525,7 @@ const La = Oe("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
|
|
|
11525
11525
|
multiline: w,
|
|
11526
11526
|
size: _.size,
|
|
11527
11527
|
startAdornment: D,
|
|
11528
|
-
type:
|
|
11528
|
+
type: H
|
|
11529
11529
|
}), ze = a2(dt), Je = K.root || d.Root || sp, Qe = N.root || p.root || {}, Et = K.input || d.Input || lp;
|
|
11530
11530
|
return De = k({}, De, (n = N.input) != null ? n : p.input), /* @__PURE__ */ W(O.Fragment, {
|
|
11531
11531
|
children: [!g && s2, /* @__PURE__ */ W(Je, k({}, Qe, !$a(Je) && {
|
|
@@ -11533,7 +11533,7 @@ const La = Oe("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
|
|
|
11533
11533
|
}, {
|
|
11534
11534
|
ref: r,
|
|
11535
11535
|
onClick: Ee
|
|
11536
|
-
},
|
|
11536
|
+
}, V, {
|
|
11537
11537
|
className: oe(ze.root, Qe.className, u, B && "MuiInputBase-readOnly"),
|
|
11538
11538
|
children: [D, /* @__PURE__ */ v(op.Provider, {
|
|
11539
11539
|
value: null,
|
|
@@ -11555,7 +11555,7 @@ const La = Oe("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
|
|
|
11555
11555
|
value: U,
|
|
11556
11556
|
onKeyDown: R,
|
|
11557
11557
|
onKeyUp: F,
|
|
11558
|
-
type:
|
|
11558
|
+
type: H
|
|
11559
11559
|
}, De, !$a(Et) && {
|
|
11560
11560
|
as: He,
|
|
11561
11561
|
ownerState: k({}, dt, De.ownerState)
|
|
@@ -12513,9 +12513,9 @@ const S2 = Oe("MuiButtonBase", ["root", "disabled", "focusVisible"]), C2 = ["act
|
|
|
12513
12513
|
type: B
|
|
12514
12514
|
} = n, z = ie(n, C2), j = O.useRef(null), N = O.useRef(null), K = Ft(N, L), {
|
|
12515
12515
|
isFocusVisibleRef: D,
|
|
12516
|
-
onFocus:
|
|
12516
|
+
onFocus: H,
|
|
12517
12517
|
onBlur: ee,
|
|
12518
|
-
ref:
|
|
12518
|
+
ref: V
|
|
12519
12519
|
} = Jd(), [U, J] = O.useState(!1);
|
|
12520
12520
|
d && U && J(!1), O.useImperativeHandle(o, () => ({
|
|
12521
12521
|
focusVisible: /* @__PURE__ */ a(() => {
|
|
@@ -12539,7 +12539,7 @@ const S2 = Oe("MuiButtonBase", ["root", "disabled", "focusVisible"]), C2 = ["act
|
|
|
12539
12539
|
}), ye = ae("start", M), qe = ae("stop", A), Ne = ae("stop", I), _e = ae("stop", (me) => {
|
|
12540
12540
|
ee(me), D.current === !1 && J(!1), m && m(me);
|
|
12541
12541
|
}, !1), Ee = Tr((me) => {
|
|
12542
|
-
j.current || (j.current = me.currentTarget),
|
|
12542
|
+
j.current || (j.current = me.currentTarget), H(me), D.current === !0 && (J(!0), T && T(me)), E && E(me);
|
|
12543
12543
|
}), He = /* @__PURE__ */ a(() => {
|
|
12544
12544
|
const me = j.current;
|
|
12545
12545
|
return u && u !== "button" && !(me.tagName === "A" && me.href);
|
|
@@ -12556,7 +12556,7 @@ const S2 = Oe("MuiButtonBase", ["root", "disabled", "focusVisible"]), C2 = ["act
|
|
|
12556
12556
|
ze === "button" && (z.href || z.to) && (ze = g);
|
|
12557
12557
|
const Je = {};
|
|
12558
12558
|
ze === "button" ? (Je.type = B === void 0 ? "button" : B, Je.disabled = d) : (!z.href && !z.to && (Je.role = "button"), d && (Je["aria-disabled"] = d));
|
|
12559
|
-
const Qe = Ft(r,
|
|
12559
|
+
const Qe = Ft(r, V, j);
|
|
12560
12560
|
process.env.NODE_ENV !== "production" && O.useEffect(() => {
|
|
12561
12561
|
Q && !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(`
|
|
12562
12562
|
`));
|
|
@@ -13492,8 +13492,8 @@ const Y2 = ["className"], Q2 = ["alignItems", "autoFocus", "button", "children",
|
|
|
13492
13492
|
className: oe(z.root, K.className, u),
|
|
13493
13493
|
disabled: b
|
|
13494
13494
|
}, A);
|
|
13495
|
-
let
|
|
13496
|
-
return s && (D.component = d || "div", D.focusVisibleClassName = oe(na.focusVisible, T),
|
|
13495
|
+
let H = d || "li";
|
|
13496
|
+
return s && (D.component = d || "div", D.focusVisibleClassName = oe(na.focusVisible, T), H = to), L ? (H = !D.component && !d ? "div" : H, h === "li" && (H === "li" ? H = "div" : D.component === "li" && (D.component = "div")), /* @__PURE__ */ v(Hr.Provider, {
|
|
13497
13497
|
value: M,
|
|
13498
13498
|
children: /* @__PURE__ */ W(t_, k({
|
|
13499
13499
|
as: h,
|
|
@@ -13502,7 +13502,7 @@ const Y2 = ["className"], Q2 = ["alignItems", "autoFocus", "button", "children",
|
|
|
13502
13502
|
ownerState: B
|
|
13503
13503
|
}, $, {
|
|
13504
13504
|
children: [/* @__PURE__ */ v(N, k({}, K, !$a(N) && {
|
|
13505
|
-
as:
|
|
13505
|
+
as: H,
|
|
13506
13506
|
ownerState: k({}, B, K.ownerState)
|
|
13507
13507
|
}, D, {
|
|
13508
13508
|
children: F
|
|
@@ -13511,7 +13511,7 @@ const Y2 = ["className"], Q2 = ["alignItems", "autoFocus", "button", "children",
|
|
|
13511
13511
|
})) : /* @__PURE__ */ v(Hr.Provider, {
|
|
13512
13512
|
value: M,
|
|
13513
13513
|
children: /* @__PURE__ */ W(N, k({}, K, {
|
|
13514
|
-
as:
|
|
13514
|
+
as: H,
|
|
13515
13515
|
ref: j
|
|
13516
13516
|
}, !$a(N) && {
|
|
13517
13517
|
ownerState: k({}, B, K.ownerState)
|
|
@@ -14572,11 +14572,11 @@ const T_ = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
14572
14572
|
Fn(() => {
|
|
14573
14573
|
j.current = null;
|
|
14574
14574
|
}, [x]);
|
|
14575
|
-
const N = O.useCallback((
|
|
14575
|
+
const N = O.useCallback((V, U = {}) => {
|
|
14576
14576
|
const {
|
|
14577
14577
|
mode: J = null,
|
|
14578
14578
|
changeTransition: G = !0
|
|
14579
|
-
} = U, ne = ws(o, s), Q = ["right", "bottom"].indexOf(ne) !== -1 ? 1 : -1, ae = Go(s), de = ae ? `translate(${Q *
|
|
14579
|
+
} = U, ne = ws(o, s), Q = ["right", "bottom"].indexOf(ne) !== -1 ? 1 : -1, ae = Go(s), de = ae ? `translate(${Q * V}px, 0)` : `translate(0, ${Q * V}px)`, le = L.current.style;
|
|
14580
14580
|
le.webkitTransform = de, le.transform = de;
|
|
14581
14581
|
let _ = "";
|
|
14582
14582
|
if (J && (_ = o.transitions.create("all", Ri({
|
|
@@ -14587,9 +14587,9 @@ const T_ = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
14587
14587
|
mode: J
|
|
14588
14588
|
}))), G && (le.webkitTransition = _, le.transition = _), !l && !p) {
|
|
14589
14589
|
const te = F.current.style;
|
|
14590
|
-
te.opacity = 1 -
|
|
14590
|
+
te.opacity = 1 - V / ms(ae, L.current), G && (te.webkitTransition = _, te.transition = _);
|
|
14591
14591
|
}
|
|
14592
|
-
}, [s, l, p, o, S]), K = Tr((
|
|
14592
|
+
}, [s, l, p, o, S]), K = Tr((V) => {
|
|
14593
14593
|
if (!z.current)
|
|
14594
14594
|
return;
|
|
14595
14595
|
if (Dn = null, z.current = !1, Bf.flushSync(() => {
|
|
@@ -14601,7 +14601,7 @@ const T_ = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
14601
14601
|
M.current.isSwiping = null;
|
|
14602
14602
|
const U = ws(o, s), J = Go(s);
|
|
14603
14603
|
let G;
|
|
14604
|
-
J ? G = Jp(U,
|
|
14604
|
+
J ? G = Jp(U, V.changedTouches, jr(V.currentTarget)) : G = Yp(U, V.changedTouches, rn(V.currentTarget));
|
|
14605
14605
|
const ne = J ? M.current.startX : M.current.startY, Q = ms(J, L.current), ae = V0(G, ne, x, Q), de = ae / Q;
|
|
14606
14606
|
if (Math.abs(M.current.velocity) > g && (j.current = Math.abs((Q - ae) / M.current.velocity) * 1e3), x) {
|
|
14607
14607
|
M.current.velocity > g || de > f ? b() : N(0, {
|
|
@@ -14612,9 +14612,9 @@ const T_ = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
14612
14612
|
M.current.velocity < -g || 1 - de > f ? y() : N(ms(J, L.current), {
|
|
14613
14613
|
mode: "enter"
|
|
14614
14614
|
});
|
|
14615
|
-
}), D = /* @__PURE__ */ a((
|
|
14615
|
+
}), D = /* @__PURE__ */ a((V = !1) => {
|
|
14616
14616
|
if (!A) {
|
|
14617
|
-
(
|
|
14617
|
+
(V || !(u && h)) && Bf.flushSync(() => {
|
|
14618
14618
|
I(!0);
|
|
14619
14619
|
});
|
|
14620
14620
|
const U = Go(s);
|
|
@@ -14622,13 +14622,13 @@ const T_ = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
14622
14622
|
changeTransition: !1
|
|
14623
14623
|
}), M.current.velocity = 0, M.current.lastTime = null, M.current.lastTranslate = null, M.current.paperHit = !1, z.current = !0;
|
|
14624
14624
|
}
|
|
14625
|
-
}, "startMaybeSwiping"),
|
|
14625
|
+
}, "startMaybeSwiping"), H = Tr((V) => {
|
|
14626
14626
|
if (!L.current || !z.current || Dn !== null && Dn !== M.current)
|
|
14627
14627
|
return;
|
|
14628
14628
|
D(!0);
|
|
14629
|
-
const U = ws(o, s), J = Go(s), G = Jp(U,
|
|
14630
|
-
if (x && L.current.contains(
|
|
14631
|
-
const _ = S_(
|
|
14629
|
+
const U = ws(o, s), J = Go(s), G = Jp(U, V.touches, jr(V.currentTarget)), ne = Yp(U, V.touches, rn(V.currentTarget));
|
|
14630
|
+
if (x && L.current.contains(V.target) && Dn === null) {
|
|
14631
|
+
const _ = S_(V.target, L.current);
|
|
14632
14632
|
if (C_({
|
|
14633
14633
|
domTreeShapes: _,
|
|
14634
14634
|
start: J ? M.current.startX : M.current.startY,
|
|
@@ -14642,9 +14642,9 @@ const T_ = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
14642
14642
|
}
|
|
14643
14643
|
if (M.current.isSwiping == null) {
|
|
14644
14644
|
const _ = Math.abs(G - M.current.startX), te = Math.abs(ne - M.current.startY), Y = J ? _ > te && _ > fc : te > _ && te > fc;
|
|
14645
|
-
if (Y &&
|
|
14645
|
+
if (Y && V.cancelable && V.preventDefault(), Y === !0 || (J ? te > fc : _ > fc)) {
|
|
14646
14646
|
if (M.current.isSwiping = Y, !Y) {
|
|
14647
|
-
K(
|
|
14647
|
+
K(V);
|
|
14648
14648
|
return;
|
|
14649
14649
|
}
|
|
14650
14650
|
M.current.startX = G, M.current.startY = ne, !u && !x && (J ? M.current.startX -= Kp : M.current.startY -= Kp);
|
|
@@ -14665,14 +14665,14 @@ const T_ = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
14665
14665
|
return;
|
|
14666
14666
|
M.current.lastTranslate === null && (M.current.lastTranslate = de, M.current.lastTime = performance.now() + 1);
|
|
14667
14667
|
const le = (de - M.current.lastTranslate) / (performance.now() - M.current.lastTime) * 1e3;
|
|
14668
|
-
M.current.velocity = M.current.velocity * 0.4 + le * 0.6, M.current.lastTranslate = de, M.current.lastTime = performance.now(),
|
|
14669
|
-
}), ee = Tr((
|
|
14670
|
-
if (
|
|
14668
|
+
M.current.velocity = M.current.velocity * 0.4 + le * 0.6, M.current.lastTranslate = de, M.current.lastTime = performance.now(), V.cancelable && V.preventDefault(), N(de);
|
|
14669
|
+
}), ee = Tr((V) => {
|
|
14670
|
+
if (V.defaultPrevented || V.defaultMuiPrevented || x && (p || !F.current.contains(V.target)) && !L.current.contains(V.target))
|
|
14671
14671
|
return;
|
|
14672
|
-
const U = ws(o, s), J = Go(s), G = Jp(U,
|
|
14672
|
+
const U = ws(o, s), J = Go(s), G = Jp(U, V.touches, jr(V.currentTarget)), ne = Yp(U, V.touches, rn(V.currentTarget));
|
|
14673
14673
|
if (!x) {
|
|
14674
14674
|
var Q;
|
|
14675
|
-
if (d || !(
|
|
14675
|
+
if (d || !(V.target === R.current || (Q = L.current) != null && Q.contains(V.target) && (typeof h == "function" ? h(V, R.current, L.current) : h)))
|
|
14676
14676
|
return;
|
|
14677
14677
|
if (J) {
|
|
14678
14678
|
if (G > C)
|
|
@@ -14680,20 +14680,20 @@ const T_ = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
14680
14680
|
} else if (ne > C)
|
|
14681
14681
|
return;
|
|
14682
14682
|
}
|
|
14683
|
-
|
|
14683
|
+
V.defaultMuiPrevented = !0, Dn = null, M.current.startX = G, M.current.startY = ne, D();
|
|
14684
14684
|
});
|
|
14685
14685
|
return O.useEffect(() => {
|
|
14686
14686
|
if (w === "temporary") {
|
|
14687
|
-
const
|
|
14688
|
-
return
|
|
14687
|
+
const V = jr(L.current);
|
|
14688
|
+
return V.addEventListener("touchstart", ee), V.addEventListener("touchmove", H, {
|
|
14689
14689
|
passive: !x
|
|
14690
|
-
}),
|
|
14691
|
-
|
|
14690
|
+
}), V.addEventListener("touchend", K), () => {
|
|
14691
|
+
V.removeEventListener("touchstart", ee), V.removeEventListener("touchmove", H, {
|
|
14692
14692
|
passive: !x
|
|
14693
|
-
}),
|
|
14693
|
+
}), V.removeEventListener("touchend", K);
|
|
14694
14694
|
};
|
|
14695
14695
|
}
|
|
14696
|
-
}, [w, x, ee,
|
|
14696
|
+
}, [w, x, ee, H, K]), O.useEffect(() => () => {
|
|
14697
14697
|
Dn === M.current && (Dn = null);
|
|
14698
14698
|
}, []), O.useEffect(() => {
|
|
14699
14699
|
x || I(!1);
|
|
@@ -15284,7 +15284,7 @@ const io = Oe("MuiBadge", [
|
|
|
15284
15284
|
overlap: j = y,
|
|
15285
15285
|
anchorOrigin: N = p,
|
|
15286
15286
|
variant: K = $
|
|
15287
|
-
} = B ? L : d, D = K !== "dot" ? F : void 0,
|
|
15287
|
+
} = B ? L : d, D = K !== "dot" ? F : void 0, H = k({}, d, {
|
|
15288
15288
|
badgeContent: I,
|
|
15289
15289
|
invisible: B,
|
|
15290
15290
|
max: R,
|
|
@@ -15294,23 +15294,23 @@ const io = Oe("MuiBadge", [
|
|
|
15294
15294
|
color: z,
|
|
15295
15295
|
overlap: j,
|
|
15296
15296
|
variant: K
|
|
15297
|
-
}), ee = I_(
|
|
15298
|
-
elementType:
|
|
15297
|
+
}), ee = I_(H), V = (n = (o = S == null ? void 0 : S.root) != null ? o : g.Root) != null ? n : L_, U = (i = (s = S == null ? void 0 : S.badge) != null ? s : g.Badge) != null ? i : N_, J = (l = w == null ? void 0 : w.root) != null ? l : m.root, G = (u = w == null ? void 0 : w.badge) != null ? u : m.badge, ne = wr({
|
|
15298
|
+
elementType: V,
|
|
15299
15299
|
externalSlotProps: J,
|
|
15300
15300
|
externalForwardedProps: A,
|
|
15301
15301
|
additionalProps: {
|
|
15302
15302
|
ref: r,
|
|
15303
15303
|
as: h
|
|
15304
15304
|
},
|
|
15305
|
-
ownerState:
|
|
15305
|
+
ownerState: H,
|
|
15306
15306
|
className: oe(J == null ? void 0 : J.className, ee.root, f)
|
|
15307
15307
|
}), Q = wr({
|
|
15308
15308
|
elementType: U,
|
|
15309
15309
|
externalSlotProps: G,
|
|
15310
|
-
ownerState:
|
|
15310
|
+
ownerState: H,
|
|
15311
15311
|
className: oe(ee.badge, G == null ? void 0 : G.className)
|
|
15312
15312
|
});
|
|
15313
|
-
return /* @__PURE__ */ W(
|
|
15313
|
+
return /* @__PURE__ */ W(V, k({}, ne, {
|
|
15314
15314
|
children: [b, /* @__PURE__ */ v(U, k({}, Q, {
|
|
15315
15315
|
children: D
|
|
15316
15316
|
}))]
|
|
@@ -23245,11 +23245,11 @@ const lj = O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
23245
23245
|
hasSeleccionMultiple: N,
|
|
23246
23246
|
chkSeleccion: K,
|
|
23247
23247
|
actionsContainerRef: D,
|
|
23248
|
-
...
|
|
23248
|
+
...H
|
|
23249
23249
|
}
|
|
23250
23250
|
} = Zd(), {
|
|
23251
23251
|
data: ee = [],
|
|
23252
|
-
isFetching:
|
|
23252
|
+
isFetching: V,
|
|
23253
23253
|
selectedIds: U,
|
|
23254
23254
|
onSelect: J,
|
|
23255
23255
|
displayedFilters: G,
|
|
@@ -23618,7 +23618,7 @@ const lj = O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
23618
23618
|
};
|
|
23619
23619
|
});
|
|
23620
23620
|
}, [fe, Ae, pe]), gt = N && Wn(z), $t = /* @__PURE__ */ a((X) => {
|
|
23621
|
-
|
|
23621
|
+
V || (N || !x ? J(X) : te.current.isRowSelected(X[0]) ? J([]) : J(X));
|
|
23622
23622
|
}, "handleSelectionChange"), dr = /* @__PURE__ */ a((X) => {
|
|
23623
23623
|
var bt;
|
|
23624
23624
|
const Ye = (((bt = te.current.state.rowGrouping) == null ? void 0 : bt.model) || [])[0];
|
|
@@ -23680,7 +23680,7 @@ const lj = O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
23680
23680
|
}
|
|
23681
23681
|
};
|
|
23682
23682
|
return /* @__PURE__ */ W(Kn, { children: [
|
|
23683
|
-
/* @__PURE__ */ v(rT, { isLoading:
|
|
23683
|
+
/* @__PURE__ */ v(rT, { isLoading: V }),
|
|
23684
23684
|
gt && K ? /* @__PURE__ */ v(TP, { selectedIds: U, children: z }) : null,
|
|
23685
23685
|
/* @__PURE__ */ v(Zw, { theme: _e, children: /* @__PURE__ */ W(
|
|
23686
23686
|
Ze,
|
|
@@ -23817,7 +23817,7 @@ const lj = O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
23817
23817
|
rows: ee,
|
|
23818
23818
|
apiRef: te,
|
|
23819
23819
|
groupingColDef: dt,
|
|
23820
|
-
loading:
|
|
23820
|
+
loading: V || F.progress.open,
|
|
23821
23821
|
hideFooterSelectedRowCount: !0,
|
|
23822
23822
|
hideFooter: !0,
|
|
23823
23823
|
disableMultipleRowSelection: !N && x,
|
|
@@ -23836,7 +23836,7 @@ const lj = O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
23836
23836
|
rowHeight: 45,
|
|
23837
23837
|
defaultGroupingExpansionDepth: -1,
|
|
23838
23838
|
...w,
|
|
23839
|
-
...
|
|
23839
|
+
...H
|
|
23840
23840
|
}
|
|
23841
23841
|
)
|
|
23842
23842
|
]
|
|
@@ -24265,11 +24265,11 @@ const lj = O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
24265
24265
|
useContenido: N = Kl,
|
|
24266
24266
|
onBeforeSubmitAsistente: K,
|
|
24267
24267
|
onAfterSubmitAsistente: D,
|
|
24268
|
-
allowAdd:
|
|
24268
|
+
allowAdd: H,
|
|
24269
24269
|
allowRemove: ee,
|
|
24270
|
-
slots:
|
|
24270
|
+
slots: V,
|
|
24271
24271
|
validateAllowAdd: U
|
|
24272
|
-
} = P || {}, [J, G] = je(n), [{ field: ne, sort: Q }] = n, ae = R || d || z, de = L !== void 0 ? L : M ? !0 : j !== void 0 ? j : p, le =
|
|
24272
|
+
} = P || {}, [J, G] = je(n), [{ field: ne, sort: Q }] = n, ae = R || d || z, de = L !== void 0 ? L : M ? !0 : j !== void 0 ? j : p, le = H ?? s, _ = ee ?? l;
|
|
24273
24273
|
let te = { ...m };
|
|
24274
24274
|
E && t.split(",").forEach((Ee) => {
|
|
24275
24275
|
Ee && (te[Ee] = [
|
|
@@ -24424,7 +24424,7 @@ const lj = O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
24424
24424
|
filterable: !1,
|
|
24425
24425
|
disableColumnMenu: !0,
|
|
24426
24426
|
slots: {
|
|
24427
|
-
...
|
|
24427
|
+
...V,
|
|
24428
24428
|
noRowsOverlay: Sg
|
|
24429
24429
|
},
|
|
24430
24430
|
...b,
|
|
@@ -25383,11 +25383,11 @@ const cT = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
25383
25383
|
scrollableY: F && L,
|
|
25384
25384
|
centered: d && !F,
|
|
25385
25385
|
scrollButtonsHideMobile: !g
|
|
25386
|
-
}),
|
|
25386
|
+
}), H = r5(D), ee = wr({
|
|
25387
25387
|
elementType: C.StartScrollButtonIcon,
|
|
25388
25388
|
externalSlotProps: S.startScrollButtonIcon,
|
|
25389
25389
|
ownerState: D
|
|
25390
|
-
}),
|
|
25390
|
+
}), V = wr({
|
|
25391
25391
|
elementType: C.EndScrollButtonIcon,
|
|
25392
25392
|
externalSlotProps: S.endScrollButtonIcon,
|
|
25393
25393
|
ownerState: D
|
|
@@ -25486,7 +25486,7 @@ const cT = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
25486
25486
|
const re = {};
|
|
25487
25487
|
re.scrollbarSizeListener = F ? /* @__PURE__ */ v(s5, {
|
|
25488
25488
|
onChange: Qe,
|
|
25489
|
-
className: oe(
|
|
25489
|
+
className: oe(H.scrollableX, H.hideScrollbar)
|
|
25490
25490
|
}) : null;
|
|
25491
25491
|
const Ae = F && (E === "auto" && (Q || de) || E === !0);
|
|
25492
25492
|
return re.scrollButtonStart = Ae ? /* @__PURE__ */ v(x, k({
|
|
@@ -25501,20 +25501,20 @@ const cT = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
25501
25501
|
onClick: ze,
|
|
25502
25502
|
disabled: !Q
|
|
25503
25503
|
}, P, {
|
|
25504
|
-
className: oe(
|
|
25504
|
+
className: oe(H.scrollButtons, P.className)
|
|
25505
25505
|
})) : null, re.scrollButtonEnd = Ae ? /* @__PURE__ */ v(x, k({
|
|
25506
25506
|
slots: {
|
|
25507
25507
|
EndScrollButtonIcon: C.EndScrollButtonIcon
|
|
25508
25508
|
},
|
|
25509
25509
|
slotProps: {
|
|
25510
|
-
endScrollButtonIcon:
|
|
25510
|
+
endScrollButtonIcon: V
|
|
25511
25511
|
},
|
|
25512
25512
|
orientation: y,
|
|
25513
25513
|
direction: i ? "left" : "right",
|
|
25514
25514
|
onClick: Je,
|
|
25515
25515
|
disabled: !de
|
|
25516
25516
|
}, P, {
|
|
25517
|
-
className: oe(
|
|
25517
|
+
className: oe(H.scrollButtons, P.className)
|
|
25518
25518
|
})) : null, re;
|
|
25519
25519
|
}, "getConditionalElements"), Pe = Tr((re) => {
|
|
25520
25520
|
const {
|
|
@@ -25591,7 +25591,7 @@ const cT = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
25591
25591
|
updateScrollButtons: me
|
|
25592
25592
|
}), [He, me]);
|
|
25593
25593
|
const mt = /* @__PURE__ */ v(a5, k({}, w, {
|
|
25594
|
-
className: oe(
|
|
25594
|
+
className: oe(H.indicator, w.className),
|
|
25595
25595
|
ownerState: D,
|
|
25596
25596
|
style: k({}, G, w.style)
|
|
25597
25597
|
}));
|
|
@@ -25636,13 +25636,13 @@ const cT = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
25636
25636
|
}
|
|
25637
25637
|
}, "handleKeyDown"), fe = Et();
|
|
25638
25638
|
return /* @__PURE__ */ W(n5, k({
|
|
25639
|
-
className: oe(
|
|
25639
|
+
className: oe(H.root, f),
|
|
25640
25640
|
ownerState: D,
|
|
25641
25641
|
ref: r,
|
|
25642
25642
|
as: h
|
|
25643
25643
|
}, R, {
|
|
25644
25644
|
children: [fe.scrollButtonStart, fe.scrollbarSizeListener, /* @__PURE__ */ W(o5, {
|
|
25645
|
-
className:
|
|
25645
|
+
className: H.scroller,
|
|
25646
25646
|
ownerState: D,
|
|
25647
25647
|
style: {
|
|
25648
25648
|
overflow: Y.overflow,
|
|
@@ -25653,7 +25653,7 @@ const cT = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
25653
25653
|
"aria-label": s,
|
|
25654
25654
|
"aria-labelledby": l,
|
|
25655
25655
|
"aria-orientation": y === "vertical" ? "vertical" : null,
|
|
25656
|
-
className:
|
|
25656
|
+
className: H.flexContainer,
|
|
25657
25657
|
ownerState: D,
|
|
25658
25658
|
onKeyDown: xr,
|
|
25659
25659
|
ref: _e,
|
|
@@ -27096,7 +27096,7 @@ function yV(e) {
|
|
|
27096
27096
|
P.set(M, K);
|
|
27097
27097
|
}
|
|
27098
27098
|
if ($)
|
|
27099
|
-
for (var D = m ? 3 : 1,
|
|
27099
|
+
for (var D = m ? 3 : 1, H = /* @__PURE__ */ a(function(J) {
|
|
27100
27100
|
var G = C.find(function(ne) {
|
|
27101
27101
|
var Q = P.get(ne);
|
|
27102
27102
|
if (Q)
|
|
@@ -27107,8 +27107,8 @@ function yV(e) {
|
|
|
27107
27107
|
if (G)
|
|
27108
27108
|
return A = G, "break";
|
|
27109
27109
|
}, "_loop"), ee = D; ee > 0; ee--) {
|
|
27110
|
-
var
|
|
27111
|
-
if (
|
|
27110
|
+
var V = H(ee);
|
|
27111
|
+
if (V === "break") break;
|
|
27112
27112
|
}
|
|
27113
27113
|
t.placement !== A && (t.modifiersData[n]._skip = !0, t.placement = A, t.reset = !0);
|
|
27114
27114
|
}
|
|
@@ -27234,10 +27234,10 @@ function PV(e) {
|
|
|
27234
27234
|
};
|
|
27235
27235
|
if (w) {
|
|
27236
27236
|
if (i) {
|
|
27237
|
-
var F, L = C === "y" ? fr : hr, B = C === "y" ? Kr : Jr, z = C === "y" ? "height" : "width", j = w[C], N = j + y[L], K = j - y[B], D = g ? -$[z] / 2 : 0,
|
|
27237
|
+
var F, L = C === "y" ? fr : hr, B = C === "y" ? Kr : Jr, z = C === "y" ? "height" : "width", j = w[C], N = j + y[L], K = j - y[B], D = g ? -$[z] / 2 : 0, H = E === Da ? P[z] : $[z], ee = E === Da ? -$[z] : -P[z], V = t.elements.arrow, U = g && V ? Yg(V) : {
|
|
27238
27238
|
width: 0,
|
|
27239
27239
|
height: 0
|
|
27240
|
-
}, J = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : TT(), G = J[L], ne = J[B], Q = Fs(0, P[z], U[z]), ae = T ? P[z] / 2 - D - Q - G - I.mainAxis :
|
|
27240
|
+
}, J = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : TT(), G = J[L], ne = J[B], Q = Fs(0, P[z], U[z]), ae = T ? P[z] / 2 - D - Q - G - I.mainAxis : H - Q - G - I.mainAxis, de = T ? -P[z] / 2 + D + Q + ne + I.mainAxis : ee + Q + ne + I.mainAxis, le = t.elements.arrow && Yl(t.elements.arrow), _ = le ? C === "y" ? le.clientTop || 0 : le.clientLeft || 0 : 0, te = (F = M == null ? void 0 : M[C]) != null ? F : 0, Y = j + ae - te - _, ye = j + de - te, qe = Fs(g ? su(N, Y) : N, j, g ? fi(K, ye) : K);
|
|
27241
27241
|
w[C] = qe, R[C] = qe - j;
|
|
27242
27242
|
}
|
|
27243
27243
|
if (l) {
|
|
@@ -28151,9 +28151,9 @@ const fp = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
28151
28151
|
enterTouchDelay: N = 700,
|
|
28152
28152
|
followCursor: K = !1,
|
|
28153
28153
|
id: D,
|
|
28154
|
-
leaveDelay:
|
|
28154
|
+
leaveDelay: H = 0,
|
|
28155
28155
|
leaveTouchDelay: ee = 1500,
|
|
28156
|
-
onClose:
|
|
28156
|
+
onClose: V,
|
|
28157
28157
|
onOpen: U,
|
|
28158
28158
|
open: J,
|
|
28159
28159
|
placement: G = "bottom",
|
|
@@ -28193,9 +28193,9 @@ const fp = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
28193
28193
|
* @param {React.SyntheticEvent | Event} event
|
|
28194
28194
|
*/
|
|
28195
28195
|
($e) => {
|
|
28196
|
-
ax.start(800 +
|
|
28196
|
+
ax.start(800 + H, () => {
|
|
28197
28197
|
bc = !1;
|
|
28198
|
-
}), me(!1),
|
|
28198
|
+
}), me(!1), V && mt && V($e), ze.start(qe.transitions.duration.shortest, () => {
|
|
28199
28199
|
ut.current = !1;
|
|
28200
28200
|
});
|
|
28201
28201
|
}
|
|
@@ -28204,7 +28204,7 @@ const fp = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
28204
28204
|
fe($e);
|
|
28205
28205
|
}) : fe($e));
|
|
28206
28206
|
}, "handleMouseOver"), Ae = /* @__PURE__ */ a(($e) => {
|
|
28207
|
-
Je.clear(), Qe.start(
|
|
28207
|
+
Je.clear(), Qe.start(H, () => {
|
|
28208
28208
|
re($e);
|
|
28209
28209
|
});
|
|
28210
28210
|
}, "handleMouseLeave"), {
|
|
@@ -28904,39 +28904,39 @@ const y3 = /* @__PURE__ */ a((e) => {
|
|
|
28904
28904
|
}
|
|
28905
28905
|
} = Zd();
|
|
28906
28906
|
jw(t, () => L.current);
|
|
28907
|
-
const B = { ...A, ...$ }, z = /* @__PURE__ */ a((
|
|
28908
|
-
f(
|
|
28907
|
+
const B = { ...A, ...$ }, z = /* @__PURE__ */ a((H) => {
|
|
28908
|
+
f(H.currentTarget);
|
|
28909
28909
|
}, "handleOpenMenu"), j = /* @__PURE__ */ a(() => {
|
|
28910
28910
|
f(null), g(null);
|
|
28911
|
-
}, "handleCloseMenu"), N = /* @__PURE__ */ a((
|
|
28912
|
-
g(
|
|
28913
|
-
}, "handleOpenSubMenu"), K = /* @__PURE__ */ a((
|
|
28914
|
-
b((
|
|
28915
|
-
const U =
|
|
28911
|
+
}, "handleCloseMenu"), N = /* @__PURE__ */ a((H) => {
|
|
28912
|
+
g(H);
|
|
28913
|
+
}, "handleOpenSubMenu"), K = /* @__PURE__ */ a((H, ee) => {
|
|
28914
|
+
b((V) => {
|
|
28915
|
+
const U = V[ee] || null, J = U && U.selectedOption === H;
|
|
28916
28916
|
return {
|
|
28917
|
-
...
|
|
28918
|
-
[ee]: J ? null : { index: ee, selectedOption:
|
|
28917
|
+
...V,
|
|
28918
|
+
[ee]: J ? null : { index: ee, selectedOption: H }
|
|
28919
28919
|
};
|
|
28920
28920
|
}), j();
|
|
28921
28921
|
}, "handleSubMenuItemSelect");
|
|
28922
28922
|
delete d.hasCreate;
|
|
28923
28923
|
const D = O.useMemo(
|
|
28924
|
-
() => Pd.map(i, (
|
|
28925
|
-
const
|
|
28926
|
-
return Array.isArray(
|
|
28924
|
+
() => Pd.map(i, (H, ee) => {
|
|
28925
|
+
const V = H.props || {};
|
|
28926
|
+
return Array.isArray(V.options) && V.options.length > 0 ? {
|
|
28927
28927
|
type: "MenuButton",
|
|
28928
|
-
icon:
|
|
28929
|
-
options:
|
|
28930
|
-
label:
|
|
28928
|
+
icon: V.icon,
|
|
28929
|
+
options: V.options,
|
|
28930
|
+
label: V.label || V.options[0].label,
|
|
28931
28931
|
index: ee
|
|
28932
|
-
} :
|
|
28932
|
+
} : V.children && (V.title || V.label) ? {
|
|
28933
28933
|
type: "Button",
|
|
28934
|
-
key:
|
|
28935
|
-
title:
|
|
28936
|
-
icon:
|
|
28937
|
-
onClick:
|
|
28938
|
-
component:
|
|
28939
|
-
to:
|
|
28934
|
+
key: H.key,
|
|
28935
|
+
title: V.title || V.label,
|
|
28936
|
+
icon: V.children,
|
|
28937
|
+
onClick: V.onClick,
|
|
28938
|
+
component: V.component,
|
|
28939
|
+
to: V.to
|
|
28940
28940
|
} : null;
|
|
28941
28941
|
}) || [],
|
|
28942
28942
|
[i]
|
|
@@ -28968,36 +28968,36 @@ const y3 = /* @__PURE__ */ a((e) => {
|
|
|
28968
28968
|
vertical: "top",
|
|
28969
28969
|
horizontal: "right"
|
|
28970
28970
|
},
|
|
28971
|
-
children: D.map((
|
|
28972
|
-
if (
|
|
28971
|
+
children: D.map((H) => {
|
|
28972
|
+
if (H.type === "Button")
|
|
28973
28973
|
return /* @__PURE__ */ W(
|
|
28974
28974
|
di,
|
|
28975
28975
|
{
|
|
28976
|
-
component:
|
|
28977
|
-
to:
|
|
28976
|
+
component: H.component,
|
|
28977
|
+
to: H.to,
|
|
28978
28978
|
onClick: /* @__PURE__ */ a((ee) => {
|
|
28979
|
-
|
|
28979
|
+
H.onClick ? H.onClick(ee, B) : l(
|
|
28980
28980
|
B,
|
|
28981
|
-
|
|
28981
|
+
H.key
|
|
28982
28982
|
), j();
|
|
28983
28983
|
}, "onClick"),
|
|
28984
|
-
title:
|
|
28984
|
+
title: H.title,
|
|
28985
28985
|
children: [
|
|
28986
|
-
/* @__PURE__ */ v(ma, { children: tn(
|
|
28986
|
+
/* @__PURE__ */ v(ma, { children: tn(H.icon, {
|
|
28987
28987
|
fontSize: "medium"
|
|
28988
28988
|
}) }),
|
|
28989
|
-
/* @__PURE__ */ v(ga, { primary:
|
|
28989
|
+
/* @__PURE__ */ v(ga, { primary: H.title })
|
|
28990
28990
|
]
|
|
28991
28991
|
},
|
|
28992
|
-
|
|
28992
|
+
H.key
|
|
28993
28993
|
);
|
|
28994
|
-
if (
|
|
28995
|
-
const ee = m[
|
|
28994
|
+
if (H.type === "MenuButton") {
|
|
28995
|
+
const ee = m[H.index], V = ee ? ee.selectedOption : null, U = V ? V.label : H.label, J = V ? V.icon : H.icon;
|
|
28996
28996
|
return [
|
|
28997
28997
|
/* @__PURE__ */ W(
|
|
28998
28998
|
di,
|
|
28999
28999
|
{
|
|
29000
|
-
onClick: /* @__PURE__ */ a(() => N(
|
|
29000
|
+
onClick: /* @__PURE__ */ a(() => N(H.index), "onClick"),
|
|
29001
29001
|
children: [
|
|
29002
29002
|
/* @__PURE__ */ v(ma, { children: tn(J, {
|
|
29003
29003
|
fontSize: "medium"
|
|
@@ -29005,13 +29005,13 @@ const y3 = /* @__PURE__ */ a((e) => {
|
|
|
29005
29005
|
/* @__PURE__ */ v(ga, { primary: U })
|
|
29006
29006
|
]
|
|
29007
29007
|
},
|
|
29008
|
-
`menu-${
|
|
29008
|
+
`menu-${H.index}`
|
|
29009
29009
|
),
|
|
29010
29010
|
/* @__PURE__ */ v(
|
|
29011
29011
|
_f,
|
|
29012
29012
|
{
|
|
29013
29013
|
anchorEl: p,
|
|
29014
|
-
open: h ===
|
|
29014
|
+
open: h === H.index,
|
|
29015
29015
|
onClose: j,
|
|
29016
29016
|
anchorOrigin: {
|
|
29017
29017
|
vertical: "top",
|
|
@@ -29034,7 +29034,7 @@ const y3 = /* @__PURE__ */ a((e) => {
|
|
|
29034
29034
|
boxShadow: "0 2px 10px rgba(0,0,0,0.1)"
|
|
29035
29035
|
}
|
|
29036
29036
|
},
|
|
29037
|
-
children:
|
|
29037
|
+
children: H.options.map((G) => {
|
|
29038
29038
|
const ne = (ee == null ? void 0 : ee.selectedOption) === G;
|
|
29039
29039
|
return /* @__PURE__ */ W(
|
|
29040
29040
|
di,
|
|
@@ -29042,7 +29042,7 @@ const y3 = /* @__PURE__ */ a((e) => {
|
|
|
29042
29042
|
onClick: /* @__PURE__ */ a((Q) => {
|
|
29043
29043
|
K(
|
|
29044
29044
|
G,
|
|
29045
|
-
|
|
29045
|
+
H.index
|
|
29046
29046
|
), G.onClick ? G.onClick(
|
|
29047
29047
|
Q,
|
|
29048
29048
|
B
|
|
@@ -29068,7 +29068,7 @@ const y3 = /* @__PURE__ */ a((e) => {
|
|
|
29068
29068
|
);
|
|
29069
29069
|
})
|
|
29070
29070
|
},
|
|
29071
|
-
`submenu-${
|
|
29071
|
+
`submenu-${H.index}`
|
|
29072
29072
|
)
|
|
29073
29073
|
];
|
|
29074
29074
|
}
|
|
@@ -30295,18 +30295,18 @@ const e4 = /* @__PURE__ */ a((e) => {
|
|
|
30295
30295
|
left: `${Math.round(_e)}px`,
|
|
30296
30296
|
transformOrigin: ux(ye)
|
|
30297
30297
|
};
|
|
30298
|
-
}, [u, f, j, N, y]), [D,
|
|
30298
|
+
}, [u, f, j, N, y]), [D, H] = O.useState(x), ee = O.useCallback(() => {
|
|
30299
30299
|
const te = F.current;
|
|
30300
30300
|
if (!te)
|
|
30301
30301
|
return;
|
|
30302
30302
|
const Y = K(te);
|
|
30303
|
-
Y.top !== null && (te.style.top = Y.top), Y.left !== null && (te.style.left = Y.left), te.style.transformOrigin = Y.transformOrigin,
|
|
30303
|
+
Y.top !== null && (te.style.top = Y.top), Y.left !== null && (te.style.left = Y.left), te.style.transformOrigin = Y.transformOrigin, H(!0);
|
|
30304
30304
|
}, [K]);
|
|
30305
30305
|
O.useEffect(() => (A && window.addEventListener("scroll", ee), () => window.removeEventListener("scroll", ee)), [u, A, ee]);
|
|
30306
|
-
const
|
|
30306
|
+
const V = /* @__PURE__ */ a((te, Y) => {
|
|
30307
30307
|
$ && $(te, Y), ee();
|
|
30308
30308
|
}, "handleEntering"), U = /* @__PURE__ */ a(() => {
|
|
30309
|
-
|
|
30309
|
+
H(!1);
|
|
30310
30310
|
}, "handleExited");
|
|
30311
30311
|
O.useEffect(() => {
|
|
30312
30312
|
x && ee();
|
|
@@ -30365,7 +30365,7 @@ const e4 = /* @__PURE__ */ a((e) => {
|
|
|
30365
30365
|
children: /* @__PURE__ */ v(w, k({
|
|
30366
30366
|
appear: !0,
|
|
30367
30367
|
in: x,
|
|
30368
|
-
onEntering:
|
|
30368
|
+
onEntering: V,
|
|
30369
30369
|
onExited: U,
|
|
30370
30370
|
timeout: J
|
|
30371
30371
|
}, I, {
|
|
@@ -52844,32 +52844,32 @@ const GQ = /* @__PURE__ */ a((e) => {
|
|
|
52844
52844
|
controlled: B,
|
|
52845
52845
|
default: f,
|
|
52846
52846
|
name: "Select"
|
|
52847
|
-
}), [D,
|
|
52847
|
+
}), [D, H] = sl({
|
|
52848
52848
|
controlled: I,
|
|
52849
52849
|
default: p,
|
|
52850
52850
|
name: "Select"
|
|
52851
|
-
}), ee = O.useRef(null),
|
|
52851
|
+
}), ee = O.useRef(null), V = O.useRef(null), [U, J] = O.useState(null), {
|
|
52852
52852
|
current: G
|
|
52853
52853
|
} = O.useRef(I != null), [ne, Q] = O.useState(), ae = Ft(r, y), de = O.useCallback((fe) => {
|
|
52854
|
-
|
|
52854
|
+
V.current = fe, fe && J(fe);
|
|
52855
52855
|
}, []), le = U == null ? void 0 : U.parentNode;
|
|
52856
52856
|
O.useImperativeHandle(ae, () => ({
|
|
52857
52857
|
focus: /* @__PURE__ */ a(() => {
|
|
52858
|
-
|
|
52858
|
+
V.current.focus();
|
|
52859
52859
|
}, "focus"),
|
|
52860
52860
|
node: ee.current,
|
|
52861
52861
|
value: N
|
|
52862
52862
|
}), [N]), O.useEffect(() => {
|
|
52863
|
-
p && D && U && !G && (Q(l ? null : le.clientWidth),
|
|
52863
|
+
p && D && U && !G && (Q(l ? null : le.clientWidth), V.current.focus());
|
|
52864
52864
|
}, [U, l]), O.useEffect(() => {
|
|
52865
|
-
s &&
|
|
52865
|
+
s && V.current.focus();
|
|
52866
52866
|
}, [s]), O.useEffect(() => {
|
|
52867
52867
|
if (!x)
|
|
52868
52868
|
return;
|
|
52869
|
-
const fe = jr(
|
|
52869
|
+
const fe = jr(V.current).getElementById(x);
|
|
52870
52870
|
if (fe) {
|
|
52871
52871
|
const re = /* @__PURE__ */ a(() => {
|
|
52872
|
-
getSelection().isCollapsed &&
|
|
52872
|
+
getSelection().isCollapsed && V.current.focus();
|
|
52873
52873
|
}, "handler");
|
|
52874
52874
|
return fe.addEventListener("click", re), () => {
|
|
52875
52875
|
fe.removeEventListener("click", re);
|
|
@@ -52877,9 +52877,9 @@ const GQ = /* @__PURE__ */ a((e) => {
|
|
|
52877
52877
|
}
|
|
52878
52878
|
}, [x]);
|
|
52879
52879
|
const _ = /* @__PURE__ */ a((fe, re) => {
|
|
52880
|
-
fe ? A && A(re) : P && P(re), G || (Q(l ? null : le.clientWidth),
|
|
52880
|
+
fe ? A && A(re) : P && P(re), G || (Q(l ? null : le.clientWidth), H(fe));
|
|
52881
52881
|
}, "update"), te = /* @__PURE__ */ a((fe) => {
|
|
52882
|
-
fe.button === 0 && (fe.preventDefault(),
|
|
52882
|
+
fe.button === 0 && (fe.preventDefault(), V.current.focus(), _(!0, fe));
|
|
52883
52883
|
}, "handleMouseDown"), Y = /* @__PURE__ */ a((fe) => {
|
|
52884
52884
|
_(!1, fe);
|
|
52885
52885
|
}, "handleClose"), ye = O.Children.toArray(u), qe = /* @__PURE__ */ a((fe) => {
|
|
@@ -53496,7 +53496,7 @@ const rX = ["autoComplete", "autoFocus", "children", "className", "color", "defa
|
|
|
53496
53496
|
type: j,
|
|
53497
53497
|
value: N,
|
|
53498
53498
|
variant: K = "outlined"
|
|
53499
|
-
} = n, D = ie(n, rX),
|
|
53499
|
+
} = n, D = ie(n, rX), H = k({}, n, {
|
|
53500
53500
|
autoFocus: i,
|
|
53501
53501
|
color: u,
|
|
53502
53502
|
disabled: p,
|
|
@@ -53506,10 +53506,10 @@ const rX = ["autoComplete", "autoFocus", "children", "className", "color", "defa
|
|
|
53506
53506
|
required: F,
|
|
53507
53507
|
select: B,
|
|
53508
53508
|
variant: K
|
|
53509
|
-
}), ee = oX(
|
|
53509
|
+
}), ee = oX(H);
|
|
53510
53510
|
process.env.NODE_ENV !== "production" && B && !s && console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");
|
|
53511
|
-
const
|
|
53512
|
-
K === "outlined" && (y && typeof y.shrink < "u" && (
|
|
53511
|
+
const V = {};
|
|
53512
|
+
K === "outlined" && (y && typeof y.shrink < "u" && (V.notched = y.shrink), V.label = C), B && ((!z || !z.native) && (V.id = void 0), V["aria-describedby"] = void 0);
|
|
53513
53513
|
const U = Bl(b), J = m && U ? `${U}-helper-text` : void 0, G = C && U ? `${U}-label` : void 0, ne = nX[K], Q = /* @__PURE__ */ v(ne, k({
|
|
53514
53514
|
"aria-describedby": J,
|
|
53515
53515
|
autoComplete: o,
|
|
@@ -53530,7 +53530,7 @@ const rX = ["autoComplete", "autoFocus", "children", "className", "color", "defa
|
|
|
53530
53530
|
onFocus: M,
|
|
53531
53531
|
placeholder: R,
|
|
53532
53532
|
inputProps: x
|
|
53533
|
-
},
|
|
53533
|
+
}, V, E));
|
|
53534
53534
|
return /* @__PURE__ */ W(iX, k({
|
|
53535
53535
|
className: oe(ee.root, l),
|
|
53536
53536
|
disabled: p,
|
|
@@ -53540,7 +53540,7 @@ const rX = ["autoComplete", "autoFocus", "children", "className", "color", "defa
|
|
|
53540
53540
|
required: F,
|
|
53541
53541
|
color: u,
|
|
53542
53542
|
variant: K,
|
|
53543
|
-
ownerState:
|
|
53543
|
+
ownerState: H
|
|
53544
53544
|
}, D, {
|
|
53545
53545
|
children: [C != null && C !== "" && /* @__PURE__ */ v(dw, k({
|
|
53546
53546
|
htmlFor: U,
|
|
@@ -54595,9 +54595,9 @@ const ite = /* @__PURE__ */ a((e) => {
|
|
|
54595
54595
|
shouldUnregister: N,
|
|
54596
54596
|
source: K,
|
|
54597
54597
|
submitError: D,
|
|
54598
|
-
subscription:
|
|
54598
|
+
subscription: H,
|
|
54599
54599
|
textAlign: ee,
|
|
54600
|
-
translate:
|
|
54600
|
+
translate: V,
|
|
54601
54601
|
translateChoice: U,
|
|
54602
54602
|
validate: J,
|
|
54603
54603
|
validateFields: G,
|