biblio-react 3.0.0-alpha210 → 3.0.0-alpha211
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 +497 -493
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -241,30 +241,30 @@ function MM() {
|
|
|
241
241
|
return C(_) === d;
|
|
242
242
|
}
|
|
243
243
|
a(D, "isConcurrentMode");
|
|
244
|
-
function
|
|
244
|
+
function V(_) {
|
|
245
245
|
return C(_) === l;
|
|
246
246
|
}
|
|
247
|
-
a(
|
|
247
|
+
a(V, "isContextConsumer");
|
|
248
248
|
function ee(_) {
|
|
249
249
|
return C(_) === s;
|
|
250
250
|
}
|
|
251
251
|
a(ee, "isContextProvider");
|
|
252
|
-
function
|
|
252
|
+
function H(_) {
|
|
253
253
|
return typeof _ == "object" && _ !== null && _.$$typeof === t;
|
|
254
254
|
}
|
|
255
|
-
a(
|
|
256
|
-
function
|
|
255
|
+
a(H, "isElement");
|
|
256
|
+
function q(_) {
|
|
257
257
|
return C(_) === p;
|
|
258
258
|
}
|
|
259
|
-
a(
|
|
259
|
+
a(q, "isForwardRef");
|
|
260
260
|
function J(_) {
|
|
261
261
|
return C(_) === n;
|
|
262
262
|
}
|
|
263
263
|
a(J, "isFragment");
|
|
264
|
-
function
|
|
264
|
+
function U(_) {
|
|
265
265
|
return C(_) === m;
|
|
266
266
|
}
|
|
267
|
-
a(
|
|
267
|
+
a(U, "isLazy");
|
|
268
268
|
function ne(_) {
|
|
269
269
|
return C(_) === g;
|
|
270
270
|
}
|
|
@@ -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 = V, ot.isContextProvider = ee, ot.isElement = H, ot.isForwardRef = q, ot.isFragment = J, ot.isLazy = U, 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 V = D && (d && D[d] || D[p]);
|
|
433
|
+
if (typeof V == "function")
|
|
434
|
+
return V;
|
|
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, V) {
|
|
459
|
+
return D === V ? D !== 0 || 1 / D === 1 / V : D !== D && V !== V;
|
|
460
460
|
}
|
|
461
461
|
a(m, "is");
|
|
462
|
-
function b(D,
|
|
463
|
-
this.message = D, this.data =
|
|
462
|
+
function b(D, V) {
|
|
463
|
+
this.message = D, this.data = V && typeof V == "object" ? V : {}, 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 V = {}, ee = 0;
|
|
469
|
+
function H(J, U, 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,32 +475,32 @@ 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
|
+
!V[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
|
+
), V[te] = !0, ee++);
|
|
482
482
|
}
|
|
483
483
|
}
|
|
484
|
-
return
|
|
484
|
+
return U[ne] == null ? J ? U[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(U, ne, Q, ae, de);
|
|
485
485
|
}
|
|
486
|
-
a(
|
|
487
|
-
var
|
|
488
|
-
return
|
|
486
|
+
a(H, "checkType");
|
|
487
|
+
var q = H.bind(null, !1);
|
|
488
|
+
return q.isRequired = H.bind(null, !0), q;
|
|
489
489
|
}
|
|
490
490
|
a(y, "createChainableTypeChecker");
|
|
491
491
|
function x(D) {
|
|
492
|
-
function
|
|
493
|
-
var Q = ee[
|
|
492
|
+
function V(ee, H, q, J, U, ne) {
|
|
493
|
+
var Q = ee[H], ae = z(Q);
|
|
494
494
|
if (ae !== D) {
|
|
495
495
|
var de = j(Q);
|
|
496
496
|
return new b(
|
|
497
|
-
"Invalid " + J + " `" +
|
|
497
|
+
"Invalid " + J + " `" + U + "` of type " + ("`" + de + "` supplied to `" + q + "`, expected ") + ("`" + D + "`."),
|
|
498
498
|
{ expectedType: D }
|
|
499
499
|
);
|
|
500
500
|
}
|
|
501
501
|
return null;
|
|
502
502
|
}
|
|
503
|
-
return a(
|
|
503
|
+
return a(V, "validate"), y(V);
|
|
504
504
|
}
|
|
505
505
|
a(x, "createPrimitiveTypeChecker");
|
|
506
506
|
function E() {
|
|
@@ -508,30 +508,30 @@ function $M() {
|
|
|
508
508
|
}
|
|
509
509
|
a(E, "createAnyTypeChecker");
|
|
510
510
|
function T(D) {
|
|
511
|
-
function
|
|
511
|
+
function V(ee, H, q, J, U) {
|
|
512
512
|
if (typeof D != "function")
|
|
513
|
-
return new b("Property `" +
|
|
514
|
-
var ne = ee[
|
|
513
|
+
return new b("Property `" + U + "` of component `" + q + "` has invalid PropType notation inside arrayOf.");
|
|
514
|
+
var ne = ee[H];
|
|
515
515
|
if (!Array.isArray(ne)) {
|
|
516
516
|
var Q = z(ne);
|
|
517
|
-
return new b("Invalid " + J + " `" +
|
|
517
|
+
return new b("Invalid " + J + " `" + U + "` of type " + ("`" + Q + "` supplied to `" + q + "`, expected an array."));
|
|
518
518
|
}
|
|
519
519
|
for (var ae = 0; ae < ne.length; ae++) {
|
|
520
|
-
var de = D(ne, ae,
|
|
520
|
+
var de = D(ne, ae, q, J, U + "[" + ae + "]", r);
|
|
521
521
|
if (de instanceof Error)
|
|
522
522
|
return de;
|
|
523
523
|
}
|
|
524
524
|
return null;
|
|
525
525
|
}
|
|
526
|
-
return a(
|
|
526
|
+
return a(V, "validate"), y(V);
|
|
527
527
|
}
|
|
528
528
|
a(T, "createArrayOfTypeChecker");
|
|
529
529
|
function C() {
|
|
530
|
-
function D(
|
|
531
|
-
var
|
|
532
|
-
if (!l(
|
|
533
|
-
var ne = z(
|
|
534
|
-
return new b("Invalid " +
|
|
530
|
+
function D(V, ee, H, q, J) {
|
|
531
|
+
var U = V[ee];
|
|
532
|
+
if (!l(U)) {
|
|
533
|
+
var ne = z(U);
|
|
534
|
+
return new b("Invalid " + q + " `" + J + "` of type " + ("`" + ne + "` supplied to `" + H + "`, 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
|
|
544
|
-
if (!e.isValidElementType(
|
|
545
|
-
var ne = z(
|
|
546
|
-
return new b("Invalid " +
|
|
542
|
+
function D(V, ee, H, q, J) {
|
|
543
|
+
var U = V[ee];
|
|
544
|
+
if (!e.isValidElementType(U)) {
|
|
545
|
+
var ne = z(U);
|
|
546
|
+
return new b("Invalid " + q + " `" + J + "` of type " + ("`" + ne + "` supplied to `" + H + "`, 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[
|
|
557
|
-
return new b("Invalid " + J + " `" +
|
|
554
|
+
function V(ee, H, q, J, U) {
|
|
555
|
+
if (!(ee[H] instanceof D)) {
|
|
556
|
+
var ne = D.name || h, Q = K(ee[H]);
|
|
557
|
+
return new b("Invalid " + J + " `" + U + "` of type " + ("`" + Q + "` supplied to `" + q + "`, expected ") + ("instance of `" + ne + "`."));
|
|
558
558
|
}
|
|
559
559
|
return null;
|
|
560
560
|
}
|
|
561
|
-
return a(
|
|
561
|
+
return a(V, "validate"), y(V);
|
|
562
562
|
}
|
|
563
563
|
a(w, "createInstanceTypeChecker");
|
|
564
564
|
function P(D) {
|
|
@@ -566,113 +566,113 @@ 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 V(ee, H, q, J, U) {
|
|
570
|
+
for (var ne = ee[H], 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, _) {
|
|
574
574
|
var te = j(_);
|
|
575
575
|
return te === "symbol" ? String(_) : _;
|
|
576
576
|
}, "replacer"));
|
|
577
|
-
return new b("Invalid " + J + " `" +
|
|
577
|
+
return new b("Invalid " + J + " `" + U + "` of value `" + String(ne) + "` " + ("supplied to `" + q + "`, expected one of " + ae + "."));
|
|
578
578
|
}
|
|
579
|
-
return a(
|
|
579
|
+
return a(V, "validate"), y(V);
|
|
580
580
|
}
|
|
581
581
|
a(P, "createEnumTypeChecker");
|
|
582
582
|
function $(D) {
|
|
583
|
-
function
|
|
583
|
+
function V(ee, H, q, J, U) {
|
|
584
584
|
if (typeof D != "function")
|
|
585
|
-
return new b("Property `" +
|
|
586
|
-
var ne = ee[
|
|
585
|
+
return new b("Property `" + U + "` of component `" + q + "` has invalid PropType notation inside objectOf.");
|
|
586
|
+
var ne = ee[H], Q = z(ne);
|
|
587
587
|
if (Q !== "object")
|
|
588
|
-
return new b("Invalid " + J + " `" +
|
|
588
|
+
return new b("Invalid " + J + " `" + U + "` of type " + ("`" + Q + "` supplied to `" + q + "`, expected an object."));
|
|
589
589
|
for (var ae in ne)
|
|
590
590
|
if (n(ne, ae)) {
|
|
591
|
-
var de = D(ne, ae,
|
|
591
|
+
var de = D(ne, ae, q, J, U + "." + ae, r);
|
|
592
592
|
if (de instanceof Error)
|
|
593
593
|
return de;
|
|
594
594
|
}
|
|
595
595
|
return null;
|
|
596
596
|
}
|
|
597
|
-
return a(
|
|
597
|
+
return a(V, "validate"), y(V);
|
|
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 V = 0; V < D.length; V++) {
|
|
604
|
+
var ee = D[V];
|
|
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 " + V + "."
|
|
608
608
|
), s;
|
|
609
609
|
}
|
|
610
|
-
function
|
|
610
|
+
function H(q, J, U, ne, Q) {
|
|
611
611
|
for (var ae = [], de = 0; de < D.length; de++) {
|
|
612
|
-
var le = D[de], _ = le(
|
|
612
|
+
var le = D[de], _ = le(q, J, U, ne, Q, r);
|
|
613
613
|
if (_ == null)
|
|
614
614
|
return null;
|
|
615
615
|
_.data && n(_.data, "expectedType") && ae.push(_.data.expectedType);
|
|
616
616
|
}
|
|
617
617
|
var te = ae.length > 0 ? ", expected one of type [" + ae.join(", ") + "]" : "";
|
|
618
|
-
return new b("Invalid " + ne + " `" + Q + "` supplied to " + ("`" +
|
|
618
|
+
return new b("Invalid " + ne + " `" + Q + "` supplied to " + ("`" + U + "`" + te + "."));
|
|
619
619
|
}
|
|
620
|
-
return a(
|
|
620
|
+
return a(H, "validate"), y(H);
|
|
621
621
|
}
|
|
622
622
|
a(A, "createUnionTypeChecker");
|
|
623
623
|
function I() {
|
|
624
|
-
function D(
|
|
625
|
-
return L(
|
|
624
|
+
function D(V, ee, H, q, J) {
|
|
625
|
+
return L(V[ee]) ? null : new b("Invalid " + q + " `" + J + "` supplied to " + ("`" + H + "`, 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, V, ee, H, q) {
|
|
631
631
|
return new b(
|
|
632
|
-
(D || "React class") + ": " +
|
|
632
|
+
(D || "React class") + ": " + V + " type `" + ee + "." + H + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + q + "`."
|
|
633
633
|
);
|
|
634
634
|
}
|
|
635
635
|
a(M, "invalidValidatorError");
|
|
636
636
|
function R(D) {
|
|
637
|
-
function
|
|
638
|
-
var ne = ee[
|
|
637
|
+
function V(ee, H, q, J, U) {
|
|
638
|
+
var ne = ee[H], Q = z(ne);
|
|
639
639
|
if (Q !== "object")
|
|
640
|
-
return new b("Invalid " + J + " `" +
|
|
640
|
+
return new b("Invalid " + J + " `" + U + "` of type `" + Q + "` " + ("supplied to `" + q + "`, expected `object`."));
|
|
641
641
|
for (var ae in D) {
|
|
642
642
|
var de = D[ae];
|
|
643
643
|
if (typeof de != "function")
|
|
644
|
-
return M(
|
|
645
|
-
var le = de(ne, ae,
|
|
644
|
+
return M(q, J, U, ae, j(de));
|
|
645
|
+
var le = de(ne, ae, q, J, U + "." + ae, r);
|
|
646
646
|
if (le)
|
|
647
647
|
return le;
|
|
648
648
|
}
|
|
649
649
|
return null;
|
|
650
650
|
}
|
|
651
|
-
return a(
|
|
651
|
+
return a(V, "validate"), y(V);
|
|
652
652
|
}
|
|
653
653
|
a(R, "createShapeTypeChecker");
|
|
654
654
|
function F(D) {
|
|
655
|
-
function
|
|
656
|
-
var ne = ee[
|
|
655
|
+
function V(ee, H, q, J, U) {
|
|
656
|
+
var ne = ee[H], Q = z(ne);
|
|
657
657
|
if (Q !== "object")
|
|
658
|
-
return new b("Invalid " + J + " `" +
|
|
659
|
-
var ae = t({}, ee[
|
|
658
|
+
return new b("Invalid " + J + " `" + U + "` of type `" + Q + "` " + ("supplied to `" + q + "`, expected `object`."));
|
|
659
|
+
var ae = t({}, ee[H], D);
|
|
660
660
|
for (var de in ae) {
|
|
661
661
|
var le = D[de];
|
|
662
662
|
if (n(D, de) && typeof le != "function")
|
|
663
|
-
return M(
|
|
663
|
+
return M(q, J, U, de, j(le));
|
|
664
664
|
if (!le)
|
|
665
665
|
return new b(
|
|
666
|
-
"Invalid " + J + " `" +
|
|
666
|
+
"Invalid " + J + " `" + U + "` key `" + de + "` supplied to `" + q + "`.\nBad object: " + JSON.stringify(ee[H], null, " ") + `
|
|
667
667
|
Valid keys: ` + JSON.stringify(Object.keys(D), null, " ")
|
|
668
668
|
);
|
|
669
|
-
var _ = le(ne, de,
|
|
669
|
+
var _ = le(ne, de, q, J, U + "." + de, r);
|
|
670
670
|
if (_)
|
|
671
671
|
return _;
|
|
672
672
|
}
|
|
673
673
|
return null;
|
|
674
674
|
}
|
|
675
|
-
return a(
|
|
675
|
+
return a(V, "validate"), y(V);
|
|
676
676
|
}
|
|
677
677
|
a(F, "createStrictShapeTypeChecker");
|
|
678
678
|
function L(D) {
|
|
@@ -688,17 +688,17 @@ 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 V = f(D);
|
|
692
|
+
if (V) {
|
|
693
|
+
var ee = V.call(D), H;
|
|
694
|
+
if (V !== D.entries) {
|
|
695
|
+
for (; !(H = ee.next()).done; )
|
|
696
|
+
if (!L(H.value))
|
|
697
697
|
return !1;
|
|
698
698
|
} else
|
|
699
|
-
for (; !(
|
|
700
|
-
var
|
|
701
|
-
if (
|
|
699
|
+
for (; !(H = ee.next()).done; ) {
|
|
700
|
+
var q = H.value;
|
|
701
|
+
if (q && !L(q[1]))
|
|
702
702
|
return !1;
|
|
703
703
|
}
|
|
704
704
|
} else
|
|
@@ -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, V) {
|
|
713
|
+
return D === "symbol" ? !0 : V ? V["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && V 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 V = typeof D;
|
|
718
|
+
return Array.isArray(D) ? "array" : D instanceof RegExp ? "object" : B(V, D) ? "symbol" : V;
|
|
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 V = z(D);
|
|
725
|
+
if (V === "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 V;
|
|
732
732
|
}
|
|
733
733
|
a(j, "getPreciseType");
|
|
734
734
|
function N(D) {
|
|
735
|
-
var
|
|
736
|
-
switch (
|
|
735
|
+
var V = j(D);
|
|
736
|
+
switch (V) {
|
|
737
737
|
case "array":
|
|
738
738
|
case "object":
|
|
739
|
-
return "an " +
|
|
739
|
+
return "an " + V;
|
|
740
740
|
case "boolean":
|
|
741
741
|
case "date":
|
|
742
742
|
case "regexp":
|
|
743
|
-
return "a " +
|
|
743
|
+
return "a " + V;
|
|
744
744
|
default:
|
|
745
|
-
return
|
|
745
|
+
return V;
|
|
746
746
|
}
|
|
747
747
|
}
|
|
748
748
|
a(N, "getPostfixForTypeWarning");
|
|
@@ -1684,30 +1684,30 @@ function uR() {
|
|
|
1684
1684
|
return C(_) === d;
|
|
1685
1685
|
}
|
|
1686
1686
|
a(D, "isConcurrentMode");
|
|
1687
|
-
function
|
|
1687
|
+
function V(_) {
|
|
1688
1688
|
return C(_) === l;
|
|
1689
1689
|
}
|
|
1690
|
-
a(
|
|
1690
|
+
a(V, "isContextConsumer");
|
|
1691
1691
|
function ee(_) {
|
|
1692
1692
|
return C(_) === s;
|
|
1693
1693
|
}
|
|
1694
1694
|
a(ee, "isContextProvider");
|
|
1695
|
-
function
|
|
1695
|
+
function H(_) {
|
|
1696
1696
|
return typeof _ == "object" && _ !== null && _.$$typeof === t;
|
|
1697
1697
|
}
|
|
1698
|
-
a(
|
|
1699
|
-
function
|
|
1698
|
+
a(H, "isElement");
|
|
1699
|
+
function q(_) {
|
|
1700
1700
|
return C(_) === p;
|
|
1701
1701
|
}
|
|
1702
|
-
a(
|
|
1702
|
+
a(q, "isForwardRef");
|
|
1703
1703
|
function J(_) {
|
|
1704
1704
|
return C(_) === n;
|
|
1705
1705
|
}
|
|
1706
1706
|
a(J, "isFragment");
|
|
1707
|
-
function
|
|
1707
|
+
function U(_) {
|
|
1708
1708
|
return C(_) === m;
|
|
1709
1709
|
}
|
|
1710
|
-
a(
|
|
1710
|
+
a(U, "isLazy");
|
|
1711
1711
|
function ne(_) {
|
|
1712
1712
|
return C(_) === g;
|
|
1713
1713
|
}
|
|
@@ -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 = V, at.isContextProvider = ee, at.isElement = H, at.isForwardRef = q, at.isFragment = J, at.isLazy = U, 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,30 +2873,30 @@ 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 V(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(V, "isConcurrentMode");
|
|
2880
2880
|
function ee(Y) {
|
|
2881
2881
|
return S(Y) === s;
|
|
2882
2882
|
}
|
|
2883
2883
|
a(ee, "isContextConsumer");
|
|
2884
|
-
function
|
|
2884
|
+
function H(Y) {
|
|
2885
2885
|
return S(Y) === i;
|
|
2886
2886
|
}
|
|
2887
|
-
a(
|
|
2888
|
-
function
|
|
2887
|
+
a(H, "isContextProvider");
|
|
2888
|
+
function q(Y) {
|
|
2889
2889
|
return typeof Y == "object" && Y !== null && Y.$$typeof === e;
|
|
2890
2890
|
}
|
|
2891
|
-
a(
|
|
2891
|
+
a(q, "isElement");
|
|
2892
2892
|
function J(Y) {
|
|
2893
2893
|
return S(Y) === u;
|
|
2894
2894
|
}
|
|
2895
2895
|
a(J, "isForwardRef");
|
|
2896
|
-
function
|
|
2896
|
+
function U(Y) {
|
|
2897
2897
|
return S(Y) === r;
|
|
2898
2898
|
}
|
|
2899
|
-
a(
|
|
2899
|
+
a(U, "isFragment");
|
|
2900
2900
|
function ne(Y) {
|
|
2901
2901
|
return S(Y) === h;
|
|
2902
2902
|
}
|
|
@@ -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 = V, lt.isContextConsumer = ee, lt.isContextProvider = H, lt.isElement = q, lt.isForwardRef = J, lt.isFragment = U, 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,20 +7543,20 @@ const cL = ["BackdropComponent", "BackdropProps", "classes", "className", "close
|
|
|
7543
7543
|
getBackdropProps: N,
|
|
7544
7544
|
getTransitionProps: K,
|
|
7545
7545
|
portalRef: D,
|
|
7546
|
-
isTopModal:
|
|
7546
|
+
isTopModal: V,
|
|
7547
7547
|
exited: ee,
|
|
7548
|
-
hasTransition:
|
|
7548
|
+
hasTransition: H
|
|
7549
7549
|
} = sL(k({}, z, {
|
|
7550
7550
|
rootRef: r
|
|
7551
|
-
})),
|
|
7551
|
+
})), q = k({}, z, {
|
|
7552
7552
|
exited: ee
|
|
7553
|
-
}), J = uL(
|
|
7554
|
-
if (m.props.tabIndex === void 0 && (
|
|
7553
|
+
}), J = uL(q), U = {};
|
|
7554
|
+
if (m.props.tabIndex === void 0 && (U.tabIndex = "-1"), H) {
|
|
7555
7555
|
const {
|
|
7556
7556
|
onEnter: te,
|
|
7557
7557
|
onExited: Y
|
|
7558
7558
|
} = K();
|
|
7559
|
-
|
|
7559
|
+
U.onEnter = te, U.onExited = Y;
|
|
7560
7560
|
}
|
|
7561
7561
|
const ne = (n = (o = L == null ? void 0 : L.root) != null ? o : x.Root) != null ? n : dL, Q = (i = (s = L == null ? void 0 : L.backdrop) != null ? s : x.Backdrop) != null ? i : p, ae = (l = F == null ? void 0 : F.root) != null ? l : E.root, de = (u = F == null ? void 0 : F.backdrop) != null ? u : E.backdrop, le = wr({
|
|
7562
7562
|
elementType: ne,
|
|
@@ -7567,8 +7567,8 @@ const cL = ["BackdropComponent", "BackdropProps", "classes", "className", "close
|
|
|
7567
7567
|
ref: r,
|
|
7568
7568
|
as: y
|
|
7569
7569
|
},
|
|
7570
|
-
ownerState:
|
|
7571
|
-
className: oe(h, ae == null ? void 0 : ae.className, J == null ? void 0 : J.root, !
|
|
7570
|
+
ownerState: q,
|
|
7571
|
+
className: oe(h, ae == null ? void 0 : ae.className, J == null ? void 0 : J.root, !q.open && q.exited && (J == null ? void 0 : J.hidden))
|
|
7572
7572
|
}), _ = wr({
|
|
7573
7573
|
elementType: Q,
|
|
7574
7574
|
externalSlotProps: de,
|
|
@@ -7579,9 +7579,9 @@ const cL = ["BackdropComponent", "BackdropProps", "classes", "className", "close
|
|
|
7579
7579
|
}, "onClick")
|
|
7580
7580
|
})), "getSlotProps"),
|
|
7581
7581
|
className: oe(de == null ? void 0 : de.className, f == null ? void 0 : f.className, J == null ? void 0 : J.backdrop),
|
|
7582
|
-
ownerState:
|
|
7582
|
+
ownerState: q
|
|
7583
7583
|
});
|
|
7584
|
-
return !I && !R && (!
|
|
7584
|
+
return !I && !R && (!H || ee) ? null : /* @__PURE__ */ v(ul, {
|
|
7585
7585
|
ref: D,
|
|
7586
7586
|
container: b,
|
|
7587
7587
|
disablePortal: w,
|
|
@@ -7590,9 +7590,9 @@ const cL = ["BackdropComponent", "BackdropProps", "classes", "className", "close
|
|
|
7590
7590
|
disableEnforceFocus: C,
|
|
7591
7591
|
disableAutoFocus: T,
|
|
7592
7592
|
disableRestoreFocus: P,
|
|
7593
|
-
isEnabled:
|
|
7593
|
+
isEnabled: V,
|
|
7594
7594
|
open: R,
|
|
7595
|
-
children: /* @__PURE__ */ O.cloneElement(m,
|
|
7595
|
+
children: /* @__PURE__ */ O.cloneElement(m, U)
|
|
7596
7596
|
})]
|
|
7597
7597
|
}))
|
|
7598
7598
|
});
|
|
@@ -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: V,
|
|
9711
9711
|
...ee
|
|
9712
|
-
} = C,
|
|
9712
|
+
} = C, H = l || j === void 0 ? A : j, q = l || N === void 0 ? I : N, J = l || L === void 0 ? w : L, U = 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: H,
|
|
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 ||
|
|
9728
|
+
} = ae, _e = _ || J, Ee = Y || U, He = te || ne, De = y !== void 0 ? y : qe !== void 0 ? qe : f ? !0 : l || V === void 0 ? R : V, 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,
|
|
@@ -9752,12 +9752,12 @@ const EN = /^(\d+)(th|st|nd|rd)?/i, kN = /\d+/i, wN = {
|
|
|
9752
9752
|
...F,
|
|
9753
9753
|
...ee,
|
|
9754
9754
|
...Ne,
|
|
9755
|
-
readOnly: m !== void 0 ? m : le !== void 0 ? le : h ? !0 :
|
|
9755
|
+
readOnly: m !== void 0 ? m : le !== void 0 ? le : h ? !0 : q,
|
|
9756
9756
|
...E ? { label: E } : { label: g || e.label },
|
|
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 : H
|
|
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,14 +11442,14 @@ 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: V = "text",
|
|
11446
11446
|
value: ee
|
|
11447
|
-
} = o,
|
|
11447
|
+
} = o, H = ie(o, i2), q = E.value != null ? E.value : ee, {
|
|
11448
11448
|
current: J
|
|
11449
|
-
} = O.useRef(
|
|
11449
|
+
} = O.useRef(q != null), U = 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(`
|
|
11451
11451
|
`));
|
|
11452
|
-
}, []), Q = Ft(
|
|
11452
|
+
}, []), Q = Ft(U, T, E.ref, ne), [ae, de] = O.useState(!1), le = Gi();
|
|
11453
11453
|
process.env.NODE_ENV !== "production" && O.useEffect(() => {
|
|
11454
11454
|
if (le)
|
|
11455
11455
|
return le.registerEffect();
|
|
@@ -11467,9 +11467,9 @@ const La = Oe("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
|
|
|
11467
11467
|
}, [te, Y]);
|
|
11468
11468
|
Fn(() => {
|
|
11469
11469
|
J && ye({
|
|
11470
|
-
value:
|
|
11470
|
+
value: q
|
|
11471
11471
|
});
|
|
11472
|
-
}, [
|
|
11472
|
+
}, [q, ye, J]);
|
|
11473
11473
|
const qe = /* @__PURE__ */ a((Pe) => {
|
|
11474
11474
|
if (_.disabled) {
|
|
11475
11475
|
Pe.stopPropagation();
|
|
@@ -11480,7 +11480,7 @@ const La = Oe("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
|
|
|
11480
11480
|
$ && $(Pe), E.onBlur && E.onBlur(Pe), le && le.onBlur ? le.onBlur(Pe) : de(!1);
|
|
11481
11481
|
}, "handleBlur"), _e = /* @__PURE__ */ a((Pe, ...me) => {
|
|
11482
11482
|
if (!J) {
|
|
11483
|
-
const mt = Pe.target ||
|
|
11483
|
+
const mt = Pe.target || U.current;
|
|
11484
11484
|
if (mt == null)
|
|
11485
11485
|
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info." : Jn(1));
|
|
11486
11486
|
ye({
|
|
@@ -11490,10 +11490,10 @@ const La = Oe("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
|
|
|
11490
11490
|
E.onChange && E.onChange(Pe, ...me), A && A(Pe, ...me);
|
|
11491
11491
|
}, "handleChange");
|
|
11492
11492
|
O.useEffect(() => {
|
|
11493
|
-
ye(
|
|
11493
|
+
ye(U.current);
|
|
11494
11494
|
}, []);
|
|
11495
11495
|
const Ee = /* @__PURE__ */ a((Pe) => {
|
|
11496
|
-
|
|
11496
|
+
U.current && Pe.currentTarget === Pe.target && U.current.focus(), I && I(Pe);
|
|
11497
11497
|
}, "handleClick");
|
|
11498
11498
|
let He = x, De = E;
|
|
11499
11499
|
w && He === "input" && (j ? (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."), De = k({
|
|
@@ -11506,7 +11506,7 @@ const La = Oe("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
|
|
|
11506
11506
|
minRows: S
|
|
11507
11507
|
}, De), He = DC);
|
|
11508
11508
|
const ut = /* @__PURE__ */ a((Pe) => {
|
|
11509
|
-
ye(Pe.animationName === "mui-auto-fill-cancel" ?
|
|
11509
|
+
ye(Pe.animationName === "mui-auto-fill-cancel" ? U.current : {
|
|
11510
11510
|
value: "x"
|
|
11511
11511
|
});
|
|
11512
11512
|
}, "handleAutoFill");
|
|
@@ -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: V
|
|
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
|
+
}, H, {
|
|
11537
11537
|
className: oe(ze.root, Qe.className, u, B && "MuiInputBase-readOnly"),
|
|
11538
11538
|
children: [D, /* @__PURE__ */ v(op.Provider, {
|
|
11539
11539
|
value: null,
|
|
@@ -11552,10 +11552,10 @@ const La = Oe("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
|
|
|
11552
11552
|
readOnly: B,
|
|
11553
11553
|
required: _.required,
|
|
11554
11554
|
rows: j,
|
|
11555
|
-
value:
|
|
11555
|
+
value: q,
|
|
11556
11556
|
onKeyDown: R,
|
|
11557
11557
|
onKeyUp: F,
|
|
11558
|
-
type:
|
|
11558
|
+
type: V
|
|
11559
11559
|
}, De, !$a(Et) && {
|
|
11560
11560
|
as: He,
|
|
11561
11561
|
ownerState: k({}, dt, De.ownerState)
|
|
@@ -12513,42 +12513,42 @@ 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: V,
|
|
12517
12517
|
onBlur: ee,
|
|
12518
|
-
ref:
|
|
12519
|
-
} = Jd(), [
|
|
12520
|
-
d &&
|
|
12518
|
+
ref: H
|
|
12519
|
+
} = Jd(), [q, J] = O.useState(!1);
|
|
12520
|
+
d && q && J(!1), O.useImperativeHandle(o, () => ({
|
|
12521
12521
|
focusVisible: /* @__PURE__ */ a(() => {
|
|
12522
12522
|
J(!0), j.current.focus();
|
|
12523
12523
|
}, "focusVisible")
|
|
12524
12524
|
}), []);
|
|
12525
|
-
const [
|
|
12525
|
+
const [U, ne] = O.useState(!1);
|
|
12526
12526
|
O.useEffect(() => {
|
|
12527
12527
|
ne(!0);
|
|
12528
12528
|
}, []);
|
|
12529
|
-
const Q =
|
|
12529
|
+
const Q = U && !p && !d;
|
|
12530
12530
|
O.useEffect(() => {
|
|
12531
|
-
|
|
12532
|
-
}, [p, h,
|
|
12531
|
+
q && h && !p && U && N.current.pulsate();
|
|
12532
|
+
}, [p, h, q, U]);
|
|
12533
12533
|
function ae(me, mt, Kt = f) {
|
|
12534
12534
|
return Tr((Jt) => (mt && mt(Jt), !Kt && N.current && N.current[me](Jt), !0));
|
|
12535
12535
|
}
|
|
12536
12536
|
a(ae, "useRippleHandler");
|
|
12537
12537
|
const de = ae("start", w), le = ae("stop", y), _ = ae("stop", x), te = ae("stop", $), Y = ae("stop", (me) => {
|
|
12538
|
-
|
|
12538
|
+
q && me.preventDefault(), P && P(me);
|
|
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), V(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);
|
|
12546
12546
|
}, "isNonNativeButton"), De = O.useRef(!1), ut = Tr((me) => {
|
|
12547
|
-
h && !De.current &&
|
|
12547
|
+
h && !De.current && q && N.current && me.key === " " && (De.current = !0, N.current.stop(me, () => {
|
|
12548
12548
|
N.current.start(me);
|
|
12549
12549
|
})), me.target === me.currentTarget && He() && me.key === " " && me.preventDefault(), C && C(me), me.target === me.currentTarget && He() && me.key === "Enter" && !d && (me.preventDefault(), b && b(me));
|
|
12550
12550
|
}), dt = Tr((me) => {
|
|
12551
|
-
h && me.key === " " && N.current &&
|
|
12551
|
+
h && me.key === " " && N.current && q && !me.defaultPrevented && (De.current = !1, N.current.stop(me, () => {
|
|
12552
12552
|
N.current.pulsate(me);
|
|
12553
12553
|
})), S && S(me), b && me.target === me.currentTarget && He() && me.key === " " && !me.defaultPrevented && b(me);
|
|
12554
12554
|
});
|
|
@@ -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, H, 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
|
`));
|
|
@@ -12569,7 +12569,7 @@ const S2 = Oe("MuiButtonBase", ["root", "disabled", "focusVisible"]), C2 = ["act
|
|
|
12569
12569
|
disableTouchRipple: f,
|
|
12570
12570
|
focusRipple: h,
|
|
12571
12571
|
tabIndex: R,
|
|
12572
|
-
focusVisible:
|
|
12572
|
+
focusVisible: q
|
|
12573
12573
|
}), Pe = T2(Et);
|
|
12574
12574
|
return /* @__PURE__ */ W(E2, k({
|
|
12575
12575
|
as: ze,
|
|
@@ -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 V = d || "li";
|
|
13496
|
+
return s && (D.component = d || "div", D.focusVisibleClassName = oe(na.focusVisible, T), V = to), L ? (V = !D.component && !d ? "div" : V, h === "li" && (V === "li" ? V = "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: V,
|
|
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: V,
|
|
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((H, q = {}) => {
|
|
14576
14576
|
const {
|
|
14577
14577
|
mode: J = null,
|
|
14578
|
-
changeTransition:
|
|
14579
|
-
} =
|
|
14578
|
+
changeTransition: U = !0
|
|
14579
|
+
} = q, ne = ws(o, s), Q = ["right", "bottom"].indexOf(ne) !== -1 ? 1 : -1, ae = Go(s), de = ae ? `translate(${Q * H}px, 0)` : `translate(0, ${Q * H}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({
|
|
@@ -14585,11 +14585,11 @@ const T_ = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
14585
14585
|
timeout: S
|
|
14586
14586
|
}, {
|
|
14587
14587
|
mode: J
|
|
14588
|
-
}))),
|
|
14588
|
+
}))), U && (le.webkitTransition = _, le.transition = _), !l && !p) {
|
|
14589
14589
|
const te = F.current.style;
|
|
14590
|
-
te.opacity = 1 -
|
|
14590
|
+
te.opacity = 1 - H / ms(ae, L.current), U && (te.webkitTransition = _, te.transition = _);
|
|
14591
14591
|
}
|
|
14592
|
-
}, [s, l, p, o, S]), K = Tr((
|
|
14592
|
+
}, [s, l, p, o, S]), K = Tr((H) => {
|
|
14593
14593
|
if (!z.current)
|
|
14594
14594
|
return;
|
|
14595
14595
|
if (Dn = null, z.current = !1, Bf.flushSync(() => {
|
|
@@ -14599,10 +14599,10 @@ const T_ = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
14599
14599
|
return;
|
|
14600
14600
|
}
|
|
14601
14601
|
M.current.isSwiping = null;
|
|
14602
|
-
const
|
|
14603
|
-
let
|
|
14604
|
-
J ?
|
|
14605
|
-
const ne = J ? M.current.startX : M.current.startY, Q = ms(J, L.current), ae = V0(
|
|
14602
|
+
const q = ws(o, s), J = Go(s);
|
|
14603
|
+
let U;
|
|
14604
|
+
J ? U = Jp(q, H.changedTouches, jr(H.currentTarget)) : U = Yp(q, H.changedTouches, rn(H.currentTarget));
|
|
14605
|
+
const ne = J ? M.current.startX : M.current.startY, Q = ms(J, L.current), ae = V0(U, 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, {
|
|
14608
14608
|
mode: "exit"
|
|
@@ -14612,27 +14612,27 @@ 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((H = !1) => {
|
|
14616
14616
|
if (!A) {
|
|
14617
|
-
(
|
|
14617
|
+
(H || !(u && h)) && Bf.flushSync(() => {
|
|
14618
14618
|
I(!0);
|
|
14619
14619
|
});
|
|
14620
|
-
const
|
|
14621
|
-
!x && L.current && N(ms(
|
|
14620
|
+
const q = Go(s);
|
|
14621
|
+
!x && L.current && N(ms(q, L.current) + (u ? 15 : -Kp), {
|
|
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"), V = Tr((H) => {
|
|
14626
14626
|
if (!L.current || !z.current || Dn !== null && Dn !== M.current)
|
|
14627
14627
|
return;
|
|
14628
14628
|
D(!0);
|
|
14629
|
-
const
|
|
14630
|
-
if (x && L.current.contains(
|
|
14631
|
-
const _ = S_(
|
|
14629
|
+
const q = ws(o, s), J = Go(s), U = Jp(q, H.touches, jr(H.currentTarget)), ne = Yp(q, H.touches, rn(H.currentTarget));
|
|
14630
|
+
if (x && L.current.contains(H.target) && Dn === null) {
|
|
14631
|
+
const _ = S_(H.target, L.current);
|
|
14632
14632
|
if (C_({
|
|
14633
14633
|
domTreeShapes: _,
|
|
14634
14634
|
start: J ? M.current.startX : M.current.startY,
|
|
14635
|
-
current: J ?
|
|
14635
|
+
current: J ? U : ne,
|
|
14636
14636
|
anchor: s
|
|
14637
14637
|
})) {
|
|
14638
14638
|
Dn = !0;
|
|
@@ -14641,13 +14641,13 @@ const T_ = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
14641
14641
|
Dn = M.current;
|
|
14642
14642
|
}
|
|
14643
14643
|
if (M.current.isSwiping == null) {
|
|
14644
|
-
const _ = Math.abs(
|
|
14645
|
-
if (Y &&
|
|
14644
|
+
const _ = Math.abs(U - M.current.startX), te = Math.abs(ne - M.current.startY), Y = J ? _ > te && _ > fc : te > _ && te > fc;
|
|
14645
|
+
if (Y && H.cancelable && H.preventDefault(), Y === !0 || (J ? te > fc : _ > fc)) {
|
|
14646
14646
|
if (M.current.isSwiping = Y, !Y) {
|
|
14647
|
-
K(
|
|
14647
|
+
K(H);
|
|
14648
14648
|
return;
|
|
14649
14649
|
}
|
|
14650
|
-
M.current.startX =
|
|
14650
|
+
M.current.startX = U, M.current.startY = ne, !u && !x && (J ? M.current.startX -= Kp : M.current.startY -= Kp);
|
|
14651
14651
|
}
|
|
14652
14652
|
}
|
|
14653
14653
|
if (!M.current.isSwiping)
|
|
@@ -14655,45 +14655,45 @@ const T_ = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
14655
14655
|
const Q = ms(J, L.current);
|
|
14656
14656
|
let ae = J ? M.current.startX : M.current.startY;
|
|
14657
14657
|
x && !M.current.paperHit && (ae = Math.min(ae, Q));
|
|
14658
|
-
const de = V0(J ?
|
|
14658
|
+
const de = V0(J ? U : ne, ae, x, Q);
|
|
14659
14659
|
if (x)
|
|
14660
14660
|
if (M.current.paperHit)
|
|
14661
|
-
de === 0 && (M.current.startX =
|
|
14662
|
-
else if (J ?
|
|
14663
|
-
M.current.paperHit = !0, M.current.startX =
|
|
14661
|
+
de === 0 && (M.current.startX = U, M.current.startY = ne);
|
|
14662
|
+
else if (J ? U < Q : ne < Q)
|
|
14663
|
+
M.current.paperHit = !0, M.current.startX = U, M.current.startY = ne;
|
|
14664
14664
|
else
|
|
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(), H.cancelable && H.preventDefault(), N(de);
|
|
14669
|
+
}), ee = Tr((H) => {
|
|
14670
|
+
if (H.defaultPrevented || H.defaultMuiPrevented || x && (p || !F.current.contains(H.target)) && !L.current.contains(H.target))
|
|
14671
14671
|
return;
|
|
14672
|
-
const
|
|
14672
|
+
const q = ws(o, s), J = Go(s), U = Jp(q, H.touches, jr(H.currentTarget)), ne = Yp(q, H.touches, rn(H.currentTarget));
|
|
14673
14673
|
if (!x) {
|
|
14674
14674
|
var Q;
|
|
14675
|
-
if (d || !(
|
|
14675
|
+
if (d || !(H.target === R.current || (Q = L.current) != null && Q.contains(H.target) && (typeof h == "function" ? h(H, R.current, L.current) : h)))
|
|
14676
14676
|
return;
|
|
14677
14677
|
if (J) {
|
|
14678
|
-
if (
|
|
14678
|
+
if (U > C)
|
|
14679
14679
|
return;
|
|
14680
14680
|
} else if (ne > C)
|
|
14681
14681
|
return;
|
|
14682
14682
|
}
|
|
14683
|
-
|
|
14683
|
+
H.defaultMuiPrevented = !0, Dn = null, M.current.startX = U, M.current.startY = ne, D();
|
|
14684
14684
|
});
|
|
14685
14685
|
return O.useEffect(() => {
|
|
14686
14686
|
if (w === "temporary") {
|
|
14687
|
-
const
|
|
14688
|
-
return
|
|
14687
|
+
const H = jr(L.current);
|
|
14688
|
+
return H.addEventListener("touchstart", ee), H.addEventListener("touchmove", V, {
|
|
14689
14689
|
passive: !x
|
|
14690
|
-
}),
|
|
14691
|
-
|
|
14690
|
+
}), H.addEventListener("touchend", K), () => {
|
|
14691
|
+
H.removeEventListener("touchstart", ee), H.removeEventListener("touchmove", V, {
|
|
14692
14692
|
passive: !x
|
|
14693
|
-
}),
|
|
14693
|
+
}), H.removeEventListener("touchend", K);
|
|
14694
14694
|
};
|
|
14695
14695
|
}
|
|
14696
|
-
}, [w, x, ee,
|
|
14696
|
+
}, [w, x, ee, V, 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, V = k({}, d, {
|
|
15288
15288
|
badgeContent: I,
|
|
15289
15289
|
invisible: B,
|
|
15290
15290
|
max: R,
|
|
@@ -15294,24 +15294,24 @@ const io = Oe("MuiBadge", [
|
|
|
15294
15294
|
color: z,
|
|
15295
15295
|
overlap: j,
|
|
15296
15296
|
variant: K
|
|
15297
|
-
}), ee = I_(
|
|
15298
|
-
elementType:
|
|
15297
|
+
}), ee = I_(V), H = (n = (o = S == null ? void 0 : S.root) != null ? o : g.Root) != null ? n : L_, q = (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, U = (u = w == null ? void 0 : w.badge) != null ? u : m.badge, ne = wr({
|
|
15298
|
+
elementType: H,
|
|
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: V,
|
|
15306
15306
|
className: oe(J == null ? void 0 : J.className, ee.root, f)
|
|
15307
15307
|
}), Q = wr({
|
|
15308
|
-
elementType:
|
|
15309
|
-
externalSlotProps:
|
|
15310
|
-
ownerState:
|
|
15311
|
-
className: oe(ee.badge,
|
|
15308
|
+
elementType: q,
|
|
15309
|
+
externalSlotProps: U,
|
|
15310
|
+
ownerState: V,
|
|
15311
|
+
className: oe(ee.badge, U == null ? void 0 : U.className)
|
|
15312
15312
|
});
|
|
15313
|
-
return /* @__PURE__ */ W(
|
|
15314
|
-
children: [b, /* @__PURE__ */ v(
|
|
15313
|
+
return /* @__PURE__ */ W(H, k({}, ne, {
|
|
15314
|
+
children: [b, /* @__PURE__ */ v(q, k({}, Q, {
|
|
15315
15315
|
children: D
|
|
15316
15316
|
}))]
|
|
15317
15317
|
}));
|
|
@@ -23245,14 +23245,14 @@ const lj = O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
23245
23245
|
hasSeleccionMultiple: N,
|
|
23246
23246
|
chkSeleccion: K,
|
|
23247
23247
|
actionsContainerRef: D,
|
|
23248
|
-
...
|
|
23248
|
+
...V
|
|
23249
23249
|
}
|
|
23250
23250
|
} = Zd(), {
|
|
23251
23251
|
data: ee = [],
|
|
23252
|
-
isFetching:
|
|
23253
|
-
selectedIds:
|
|
23252
|
+
isFetching: H,
|
|
23253
|
+
selectedIds: q,
|
|
23254
23254
|
onSelect: J,
|
|
23255
|
-
displayedFilters:
|
|
23255
|
+
displayedFilters: U,
|
|
23256
23256
|
setFilters: ne,
|
|
23257
23257
|
sort: Q,
|
|
23258
23258
|
setSort: ae,
|
|
@@ -23618,13 +23618,13 @@ 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
|
+
H || (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];
|
|
23625
23625
|
ne(
|
|
23626
23626
|
m({ groupingField: Ye, ...X }),
|
|
23627
|
-
|
|
23627
|
+
U
|
|
23628
23628
|
);
|
|
23629
23629
|
}, "handleFilterChange"), cn = /* @__PURE__ */ a((X) => {
|
|
23630
23630
|
if (X.length > 0) {
|
|
@@ -23680,8 +23680,8 @@ 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:
|
|
23684
|
-
gt && K ? /* @__PURE__ */ v(TP, { selectedIds:
|
|
23683
|
+
/* @__PURE__ */ v(rT, { isLoading: H }),
|
|
23684
|
+
gt && K ? /* @__PURE__ */ v(TP, { selectedIds: q, children: z }) : null,
|
|
23685
23685
|
/* @__PURE__ */ v(Zw, { theme: _e, children: /* @__PURE__ */ W(
|
|
23686
23686
|
Ze,
|
|
23687
23687
|
{
|
|
@@ -23817,14 +23817,14 @@ 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: H || F.progress.open,
|
|
23821
23821
|
hideFooterSelectedRowCount: !0,
|
|
23822
23822
|
hideFooter: !0,
|
|
23823
23823
|
disableMultipleRowSelection: !N && x,
|
|
23824
23824
|
checkboxSelection: K,
|
|
23825
23825
|
filterMode: "server",
|
|
23826
23826
|
onFilterModelChange: dr,
|
|
23827
|
-
rowSelectionModel:
|
|
23827
|
+
rowSelectionModel: q,
|
|
23828
23828
|
onRowGroupingModelChange: mt,
|
|
23829
23829
|
onRowSelectionModelChange: $t,
|
|
23830
23830
|
isRowSelectable: /* @__PURE__ */ a((X) => !X.id.startsWith("auto-generated-row"), "isRowSelectable"),
|
|
@@ -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
|
+
...V
|
|
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: V,
|
|
24269
24269
|
allowRemove: ee,
|
|
24270
|
-
slots:
|
|
24271
|
-
validateAllowAdd:
|
|
24272
|
-
} = P || {}, [J,
|
|
24270
|
+
slots: H,
|
|
24271
|
+
validateAllowAdd: q
|
|
24272
|
+
} = P || {}, [J, U] = je(n), [{ field: ne, sort: Q }] = n, ae = R || d || z, de = L !== void 0 ? L : M ? !0 : j !== void 0 ? j : p, le = V ?? s, _ = ee ?? l;
|
|
24273
24273
|
let te = { ...m };
|
|
24274
24274
|
E && t.split(",").forEach((Ee) => {
|
|
24275
24275
|
Ee && (te[Ee] = [
|
|
@@ -24341,7 +24341,7 @@ const lj = O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
24341
24341
|
Aj,
|
|
24342
24342
|
{
|
|
24343
24343
|
...b,
|
|
24344
|
-
validateAllowAdd:
|
|
24344
|
+
validateAllowAdd: q,
|
|
24345
24345
|
source: h,
|
|
24346
24346
|
onBeforeSubmitAsistente: K,
|
|
24347
24347
|
onAfterSubmitAsistente: D,
|
|
@@ -24416,7 +24416,7 @@ const lj = O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
24416
24416
|
rows: y,
|
|
24417
24417
|
columns: _e,
|
|
24418
24418
|
sortModel: J,
|
|
24419
|
-
onSortModelChange: /* @__PURE__ */ a((Ee) =>
|
|
24419
|
+
onSortModelChange: /* @__PURE__ */ a((Ee) => U(Ee), "onSortModelChange"),
|
|
24420
24420
|
sortable: !1,
|
|
24421
24421
|
resizable: !1,
|
|
24422
24422
|
disableReorder: !0,
|
|
@@ -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
|
+
...H,
|
|
24428
24428
|
noRowsOverlay: Sg
|
|
24429
24429
|
},
|
|
24430
24430
|
...b,
|
|
@@ -25383,17 +25383,17 @@ 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
|
+
}), V = r5(D), ee = wr({
|
|
25387
25387
|
elementType: C.StartScrollButtonIcon,
|
|
25388
25388
|
externalSlotProps: S.startScrollButtonIcon,
|
|
25389
25389
|
ownerState: D
|
|
25390
|
-
}),
|
|
25390
|
+
}), H = wr({
|
|
25391
25391
|
elementType: C.EndScrollButtonIcon,
|
|
25392
25392
|
externalSlotProps: S.endScrollButtonIcon,
|
|
25393
25393
|
ownerState: D
|
|
25394
25394
|
});
|
|
25395
25395
|
process.env.NODE_ENV !== "production" && d && F && console.error('MUI: You can not use the `centered={true}` and `variant="scrollable"` properties at the same time on a `Tabs` component.');
|
|
25396
|
-
const [
|
|
25396
|
+
const [q, J] = O.useState(!1), [U, ne] = O.useState(K0), [Q, ae] = O.useState(!1), [de, le] = O.useState(!1), [_, te] = O.useState(!1), [Y, ye] = O.useState({
|
|
25397
25397
|
overflow: "hidden",
|
|
25398
25398
|
scrollbarWidth: 0
|
|
25399
25399
|
}), qe = /* @__PURE__ */ new Map(), Ne = O.useRef(null), _e = O.useRef(null), Ee = /* @__PURE__ */ a(() => {
|
|
@@ -25445,10 +25445,10 @@ const cT = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
25445
25445
|
// May be wrong until the font is loaded.
|
|
25446
25446
|
[K]: pe ? pe[K] : 0
|
|
25447
25447
|
};
|
|
25448
|
-
if (isNaN(
|
|
25448
|
+
if (isNaN(U[We]) || isNaN(U[K]))
|
|
25449
25449
|
ne(gt);
|
|
25450
25450
|
else {
|
|
25451
|
-
const $t = Math.abs(
|
|
25451
|
+
const $t = Math.abs(U[We] - gt[We]), dr = Math.abs(U[K] - gt[K]);
|
|
25452
25452
|
($t >= 1 || dr >= 1) && ne(gt);
|
|
25453
25453
|
}
|
|
25454
25454
|
}), De = /* @__PURE__ */ a((re, {
|
|
@@ -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(V.scrollableX, V.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(V.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: H
|
|
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(V.scrollButtons, P.className)
|
|
25518
25518
|
})) : null, re;
|
|
25519
25519
|
}, "getConditionalElements"), Pe = Tr((re) => {
|
|
25520
25520
|
const {
|
|
@@ -25585,15 +25585,15 @@ const cT = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
25585
25585
|
}, []), O.useEffect(() => {
|
|
25586
25586
|
He();
|
|
25587
25587
|
}), O.useEffect(() => {
|
|
25588
|
-
Pe(K0 !==
|
|
25589
|
-
}, [Pe,
|
|
25588
|
+
Pe(K0 !== U);
|
|
25589
|
+
}, [Pe, U]), O.useImperativeHandle(u, () => ({
|
|
25590
25590
|
updateIndicator: He,
|
|
25591
25591
|
updateScrollButtons: me
|
|
25592
25592
|
}), [He, me]);
|
|
25593
25593
|
const mt = /* @__PURE__ */ v(a5, k({}, w, {
|
|
25594
|
-
className: oe(
|
|
25594
|
+
className: oe(V.indicator, w.className),
|
|
25595
25595
|
ownerState: D,
|
|
25596
|
-
style: k({},
|
|
25596
|
+
style: k({}, U, w.style)
|
|
25597
25597
|
}));
|
|
25598
25598
|
let Kt = 0;
|
|
25599
25599
|
const Jt = O.Children.map(p, (re) => {
|
|
@@ -25606,7 +25606,7 @@ const cT = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
25606
25606
|
const Ae = pe === A;
|
|
25607
25607
|
return Kt += 1, /* @__PURE__ */ O.cloneElement(re, k({
|
|
25608
25608
|
fullWidth: I === "fullWidth",
|
|
25609
|
-
indicator: Ae && !
|
|
25609
|
+
indicator: Ae && !q && mt,
|
|
25610
25610
|
selected: Ae,
|
|
25611
25611
|
selectionFollowsFocus: T,
|
|
25612
25612
|
onChange: b,
|
|
@@ -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(V.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: V.scroller,
|
|
25646
25646
|
ownerState: D,
|
|
25647
25647
|
style: {
|
|
25648
25648
|
overflow: Y.overflow,
|
|
@@ -25653,13 +25653,13 @@ 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: V.flexContainer,
|
|
25657
25657
|
ownerState: D,
|
|
25658
25658
|
onKeyDown: xr,
|
|
25659
25659
|
ref: _e,
|
|
25660
25660
|
role: "tablist",
|
|
25661
25661
|
children: Jt
|
|
25662
|
-
}),
|
|
25662
|
+
}), q && mt]
|
|
25663
25663
|
}), fe.scrollButtonEnd]
|
|
25664
25664
|
}));
|
|
25665
25665
|
}, "Tabs"));
|
|
@@ -27068,8 +27068,8 @@ a(bV, "getExpandedFallbackPlacements");
|
|
|
27068
27068
|
function yV(e) {
|
|
27069
27069
|
var t = e.state, r = e.options, n = e.name;
|
|
27070
27070
|
if (!t.modifiersData[n]._skip) {
|
|
27071
|
-
for (var o = r.mainAxis, i = o === void 0 ? !0 : o, s = r.altAxis, l = s === void 0 ? !0 : s, u = r.fallbackPlacements, d = r.padding, p = r.boundary, f = r.rootBoundary, h = r.altBoundary, g = r.flipVariations, m = g === void 0 ? !0 : g, b = r.allowedAutoPlacements, y = t.options.placement, x = Pn(y), E = x === y, T = u || (E || !m ? [Bc(y)] : bV(y)), C = [y].concat(T).reduce(function(
|
|
27072
|
-
return
|
|
27071
|
+
for (var o = r.mainAxis, i = o === void 0 ? !0 : o, s = r.altAxis, l = s === void 0 ? !0 : s, u = r.fallbackPlacements, d = r.padding, p = r.boundary, f = r.rootBoundary, h = r.altBoundary, g = r.flipVariations, m = g === void 0 ? !0 : g, b = r.allowedAutoPlacements, y = t.options.placement, x = Pn(y), E = x === y, T = u || (E || !m ? [Bc(y)] : bV(y)), C = [y].concat(T).reduce(function(q, J) {
|
|
27072
|
+
return q.concat(Pn(J) === Kg ? gV(t, {
|
|
27073
27073
|
placement: J,
|
|
27074
27074
|
boundary: p,
|
|
27075
27075
|
rootBoundary: f,
|
|
@@ -27087,8 +27087,8 @@ function yV(e) {
|
|
|
27087
27087
|
}), j = L ? F ? Jr : hr : F ? Kr : fr;
|
|
27088
27088
|
S[B] > w[B] && (j = Bc(j));
|
|
27089
27089
|
var N = Bc(j), K = [];
|
|
27090
|
-
if (i && K.push(z[R] <= 0), l && K.push(z[j] <= 0, z[N] <= 0), K.every(function(
|
|
27091
|
-
return
|
|
27090
|
+
if (i && K.push(z[R] <= 0), l && K.push(z[j] <= 0, z[N] <= 0), K.every(function(q) {
|
|
27091
|
+
return q;
|
|
27092
27092
|
})) {
|
|
27093
27093
|
A = M, $ = !1;
|
|
27094
27094
|
break;
|
|
@@ -27096,19 +27096,19 @@ function yV(e) {
|
|
|
27096
27096
|
P.set(M, K);
|
|
27097
27097
|
}
|
|
27098
27098
|
if ($)
|
|
27099
|
-
for (var D = m ? 3 : 1,
|
|
27100
|
-
var
|
|
27099
|
+
for (var D = m ? 3 : 1, V = /* @__PURE__ */ a(function(J) {
|
|
27100
|
+
var U = C.find(function(ne) {
|
|
27101
27101
|
var Q = P.get(ne);
|
|
27102
27102
|
if (Q)
|
|
27103
27103
|
return Q.slice(0, J).every(function(ae) {
|
|
27104
27104
|
return ae;
|
|
27105
27105
|
});
|
|
27106
27106
|
});
|
|
27107
|
-
if (
|
|
27108
|
-
return A =
|
|
27107
|
+
if (U)
|
|
27108
|
+
return A = U, "break";
|
|
27109
27109
|
}, "_loop"), ee = D; ee > 0; ee--) {
|
|
27110
|
-
var
|
|
27111
|
-
if (
|
|
27110
|
+
var H = V(ee);
|
|
27111
|
+
if (H === "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, V = E === Da ? P[z] : $[z], ee = E === Da ? -$[z] : -P[z], H = t.elements.arrow, q = g && H ? Yg(H) : {
|
|
27238
27238
|
width: 0,
|
|
27239
27239
|
height: 0
|
|
27240
|
-
}, J = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : TT(),
|
|
27240
|
+
}, J = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : TT(), U = J[L], ne = J[B], Q = Fs(0, P[z], q[z]), ae = T ? P[z] / 2 - D - Q - U - I.mainAxis : V - Q - U - 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,12 +28151,12 @@ 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: V = 0,
|
|
28155
28155
|
leaveTouchDelay: ee = 1500,
|
|
28156
|
-
onClose:
|
|
28157
|
-
onOpen:
|
|
28156
|
+
onClose: H,
|
|
28157
|
+
onOpen: q,
|
|
28158
28158
|
open: J,
|
|
28159
|
-
placement:
|
|
28159
|
+
placement: U = "bottom",
|
|
28160
28160
|
PopperComponent: ne,
|
|
28161
28161
|
PopperProps: Q = {},
|
|
28162
28162
|
slotProps: ae = {},
|
|
@@ -28187,15 +28187,15 @@ const fp = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
28187
28187
|
});
|
|
28188
28188
|
O.useEffect(() => xr, [xr]);
|
|
28189
28189
|
const fe = /* @__PURE__ */ a(($e) => {
|
|
28190
|
-
ax.clear(), bc = !0, me(!0),
|
|
28190
|
+
ax.clear(), bc = !0, me(!0), q && !mt && q($e);
|
|
28191
28191
|
}, "handleOpen"), re = Tr(
|
|
28192
28192
|
/**
|
|
28193
28193
|
* @param {React.SyntheticEvent | Event} event
|
|
28194
28194
|
*/
|
|
28195
28195
|
($e) => {
|
|
28196
|
-
ax.start(800 +
|
|
28196
|
+
ax.start(800 + V, () => {
|
|
28197
28197
|
bc = !1;
|
|
28198
|
-
}), me(!1),
|
|
28198
|
+
}), me(!1), H && mt && H($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(V, () => {
|
|
28208
28208
|
re($e);
|
|
28209
28209
|
});
|
|
28210
28210
|
}, "handleMouseLeave"), {
|
|
@@ -28280,7 +28280,7 @@ const fp = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
28280
28280
|
isRtl: Ne,
|
|
28281
28281
|
arrow: P,
|
|
28282
28282
|
disableInteractive: dt,
|
|
28283
|
-
placement:
|
|
28283
|
+
placement: U,
|
|
28284
28284
|
PopperComponentProp: ne,
|
|
28285
28285
|
touch: ut.current
|
|
28286
28286
|
}), Ye = e3(Ie), bt = (n = (o = de.popper) != null ? o : A.Popper) != null ? n : t3, Fe = (i = (s = (l = de.transition) != null ? l : A.Transition) != null ? s : _) != null ? i : pl, et = (u = (d = de.tooltip) != null ? d : A.Tooltip) != null ? u : r3, Mt = (p = (f = de.arrow) != null ? f : A.Arrow) != null ? p : n3, nr = ca(bt, k({}, Q, (h = ae.popper) != null ? h : I.popper, {
|
|
@@ -28293,7 +28293,7 @@ const fp = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
28293
28293
|
return /* @__PURE__ */ W(O.Fragment, {
|
|
28294
28294
|
children: [/* @__PURE__ */ O.cloneElement(ye, rr), /* @__PURE__ */ v(bt, k({
|
|
28295
28295
|
as: ne ?? tb,
|
|
28296
|
-
placement:
|
|
28296
|
+
placement: U,
|
|
28297
28297
|
anchorEl: K ? {
|
|
28298
28298
|
getBoundingClientRect: /* @__PURE__ */ a(() => ({
|
|
28299
28299
|
top: bs.y,
|
|
@@ -28904,39 +28904,43 @@ 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((V) => {
|
|
28908
|
+
f(V.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
|
|
28911
|
+
}, "handleCloseMenu"), N = /* @__PURE__ */ a((V) => {
|
|
28912
|
+
g(V);
|
|
28913
|
+
}, "handleOpenSubMenu"), K = /* @__PURE__ */ a((V, ee) => {
|
|
28914
|
+
b((H) => {
|
|
28915
|
+
const q = H[ee] || null, J = q && q.selectedOption === V;
|
|
28916
28916
|
return {
|
|
28917
|
-
...
|
|
28918
|
-
[ee]: J ? null : { index: ee, selectedOption:
|
|
28917
|
+
...H,
|
|
28918
|
+
[ee]: J ? null : { index: ee, selectedOption: V }
|
|
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, (V, ee) => {
|
|
28925
|
+
const H = V.props || {};
|
|
28926
|
+
return Array.isArray(H.options) && H.options.length > 0 ? {
|
|
28927
28927
|
type: "MenuButton",
|
|
28928
|
-
icon:
|
|
28929
|
-
options:
|
|
28930
|
-
label:
|
|
28928
|
+
icon: H.icon,
|
|
28929
|
+
options: H.options,
|
|
28930
|
+
label: H.label || H.options[0].label,
|
|
28931
28931
|
index: ee
|
|
28932
|
-
} :
|
|
28932
|
+
} : /* @__PURE__ */ a((U) => {
|
|
28933
|
+
var ne;
|
|
28934
|
+
return O.isValidElement(U) && (U.type === Button || // Button directo
|
|
28935
|
+
((ne = U.type) == null ? void 0 : ne.isButton) === !0);
|
|
28936
|
+
}, "isButton") ? {
|
|
28933
28937
|
type: "Button",
|
|
28934
|
-
key:
|
|
28935
|
-
title:
|
|
28936
|
-
icon:
|
|
28937
|
-
onClick:
|
|
28938
|
-
component:
|
|
28939
|
-
to:
|
|
28938
|
+
key: V.key,
|
|
28939
|
+
title: H.title || H.label,
|
|
28940
|
+
icon: H.children,
|
|
28941
|
+
onClick: H.onClick,
|
|
28942
|
+
component: H.component,
|
|
28943
|
+
to: H.to
|
|
28940
28944
|
} : null;
|
|
28941
28945
|
}) || [],
|
|
28942
28946
|
[i]
|
|
@@ -28968,50 +28972,50 @@ const y3 = /* @__PURE__ */ a((e) => {
|
|
|
28968
28972
|
vertical: "top",
|
|
28969
28973
|
horizontal: "right"
|
|
28970
28974
|
},
|
|
28971
|
-
children: D.map((
|
|
28972
|
-
if (
|
|
28975
|
+
children: D.map((V) => {
|
|
28976
|
+
if (V.type === "Button")
|
|
28973
28977
|
return /* @__PURE__ */ W(
|
|
28974
28978
|
di,
|
|
28975
28979
|
{
|
|
28976
|
-
component:
|
|
28977
|
-
to:
|
|
28980
|
+
component: V.component,
|
|
28981
|
+
to: V.to,
|
|
28978
28982
|
onClick: /* @__PURE__ */ a((ee) => {
|
|
28979
|
-
|
|
28983
|
+
V.onClick ? V.onClick(ee, B) : l(
|
|
28980
28984
|
B,
|
|
28981
|
-
|
|
28985
|
+
V.key
|
|
28982
28986
|
), j();
|
|
28983
28987
|
}, "onClick"),
|
|
28984
|
-
title:
|
|
28988
|
+
title: V.title,
|
|
28985
28989
|
children: [
|
|
28986
|
-
/* @__PURE__ */ v(ma, { children: tn(
|
|
28990
|
+
/* @__PURE__ */ v(ma, { children: tn(V.icon, {
|
|
28987
28991
|
fontSize: "medium"
|
|
28988
28992
|
}) }),
|
|
28989
|
-
/* @__PURE__ */ v(ga, { primary:
|
|
28993
|
+
/* @__PURE__ */ v(ga, { primary: V.title })
|
|
28990
28994
|
]
|
|
28991
28995
|
},
|
|
28992
|
-
|
|
28996
|
+
V.key
|
|
28993
28997
|
);
|
|
28994
|
-
if (
|
|
28995
|
-
const ee = m[
|
|
28998
|
+
if (V.type === "MenuButton") {
|
|
28999
|
+
const ee = m[V.index], H = ee ? ee.selectedOption : null, q = H ? H.label : V.label, J = H ? H.icon : V.icon;
|
|
28996
29000
|
return [
|
|
28997
29001
|
/* @__PURE__ */ W(
|
|
28998
29002
|
di,
|
|
28999
29003
|
{
|
|
29000
|
-
onClick: /* @__PURE__ */ a(() => N(
|
|
29004
|
+
onClick: /* @__PURE__ */ a(() => N(V.index), "onClick"),
|
|
29001
29005
|
children: [
|
|
29002
29006
|
/* @__PURE__ */ v(ma, { children: tn(J, {
|
|
29003
29007
|
fontSize: "medium"
|
|
29004
29008
|
}) }),
|
|
29005
|
-
/* @__PURE__ */ v(ga, { primary:
|
|
29009
|
+
/* @__PURE__ */ v(ga, { primary: q })
|
|
29006
29010
|
]
|
|
29007
29011
|
},
|
|
29008
|
-
`menu-${
|
|
29012
|
+
`menu-${V.index}`
|
|
29009
29013
|
),
|
|
29010
29014
|
/* @__PURE__ */ v(
|
|
29011
29015
|
_f,
|
|
29012
29016
|
{
|
|
29013
29017
|
anchorEl: p,
|
|
29014
|
-
open: h ===
|
|
29018
|
+
open: h === V.index,
|
|
29015
29019
|
onClose: j,
|
|
29016
29020
|
anchorOrigin: {
|
|
29017
29021
|
vertical: "top",
|
|
@@ -29034,41 +29038,41 @@ const y3 = /* @__PURE__ */ a((e) => {
|
|
|
29034
29038
|
boxShadow: "0 2px 10px rgba(0,0,0,0.1)"
|
|
29035
29039
|
}
|
|
29036
29040
|
},
|
|
29037
|
-
children:
|
|
29038
|
-
const ne = (ee == null ? void 0 : ee.selectedOption) ===
|
|
29041
|
+
children: V.options.map((U) => {
|
|
29042
|
+
const ne = (ee == null ? void 0 : ee.selectedOption) === U;
|
|
29039
29043
|
return /* @__PURE__ */ W(
|
|
29040
29044
|
di,
|
|
29041
29045
|
{
|
|
29042
29046
|
onClick: /* @__PURE__ */ a((Q) => {
|
|
29043
29047
|
K(
|
|
29044
|
-
|
|
29045
|
-
|
|
29046
|
-
),
|
|
29048
|
+
U,
|
|
29049
|
+
V.index
|
|
29050
|
+
), U.onClick ? U.onClick(
|
|
29047
29051
|
Q,
|
|
29048
29052
|
B
|
|
29049
29053
|
) : l(
|
|
29050
29054
|
B,
|
|
29051
|
-
|
|
29055
|
+
U.key
|
|
29052
29056
|
);
|
|
29053
29057
|
}, "onClick"),
|
|
29054
29058
|
selected: ne,
|
|
29055
29059
|
children: [
|
|
29056
|
-
/* @__PURE__ */ v(ma, { children: tn(
|
|
29060
|
+
/* @__PURE__ */ v(ma, { children: tn(U.icon, {
|
|
29057
29061
|
fontSize: "medium"
|
|
29058
29062
|
}) }),
|
|
29059
29063
|
/* @__PURE__ */ v(
|
|
29060
29064
|
ga,
|
|
29061
29065
|
{
|
|
29062
|
-
primary:
|
|
29066
|
+
primary: U.label
|
|
29063
29067
|
}
|
|
29064
29068
|
)
|
|
29065
29069
|
]
|
|
29066
29070
|
},
|
|
29067
|
-
|
|
29071
|
+
U.key
|
|
29068
29072
|
);
|
|
29069
29073
|
})
|
|
29070
29074
|
},
|
|
29071
|
-
`submenu-${
|
|
29075
|
+
`submenu-${V.index}`
|
|
29072
29076
|
)
|
|
29073
29077
|
];
|
|
29074
29078
|
}
|
|
@@ -30295,18 +30299,18 @@ const e4 = /* @__PURE__ */ a((e) => {
|
|
|
30295
30299
|
left: `${Math.round(_e)}px`,
|
|
30296
30300
|
transformOrigin: ux(ye)
|
|
30297
30301
|
};
|
|
30298
|
-
}, [u, f, j, N, y]), [D,
|
|
30302
|
+
}, [u, f, j, N, y]), [D, V] = O.useState(x), ee = O.useCallback(() => {
|
|
30299
30303
|
const te = F.current;
|
|
30300
30304
|
if (!te)
|
|
30301
30305
|
return;
|
|
30302
30306
|
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,
|
|
30307
|
+
Y.top !== null && (te.style.top = Y.top), Y.left !== null && (te.style.left = Y.left), te.style.transformOrigin = Y.transformOrigin, V(!0);
|
|
30304
30308
|
}, [K]);
|
|
30305
30309
|
O.useEffect(() => (A && window.addEventListener("scroll", ee), () => window.removeEventListener("scroll", ee)), [u, A, ee]);
|
|
30306
|
-
const
|
|
30310
|
+
const H = /* @__PURE__ */ a((te, Y) => {
|
|
30307
30311
|
$ && $(te, Y), ee();
|
|
30308
|
-
}, "handleEntering"),
|
|
30309
|
-
|
|
30312
|
+
}, "handleEntering"), q = /* @__PURE__ */ a(() => {
|
|
30313
|
+
V(!1);
|
|
30310
30314
|
}, "handleExited");
|
|
30311
30315
|
O.useEffect(() => {
|
|
30312
30316
|
x && ee();
|
|
@@ -30326,7 +30330,7 @@ const e4 = /* @__PURE__ */ a((e) => {
|
|
|
30326
30330
|
}, [u, x, ee]);
|
|
30327
30331
|
let J = P;
|
|
30328
30332
|
P === "auto" && !w.muiSupportAuto && (J = void 0);
|
|
30329
|
-
const
|
|
30333
|
+
const U = m || (u ? jr(jc(u)).body : void 0), ne = (o = T == null ? void 0 : T.root) != null ? o : t4, Q = (i = T == null ? void 0 : T.paper) != null ? i : jT, ae = wr({
|
|
30330
30334
|
elementType: Q,
|
|
30331
30335
|
externalSlotProps: k({}, R, {
|
|
30332
30336
|
style: D ? R.style : k({}, R.style, {
|
|
@@ -30350,7 +30354,7 @@ const e4 = /* @__PURE__ */ a((e) => {
|
|
|
30350
30354
|
invisible: !0
|
|
30351
30355
|
}
|
|
30352
30356
|
},
|
|
30353
|
-
container:
|
|
30357
|
+
container: U,
|
|
30354
30358
|
open: x
|
|
30355
30359
|
},
|
|
30356
30360
|
ownerState: B,
|
|
@@ -30365,8 +30369,8 @@ const e4 = /* @__PURE__ */ a((e) => {
|
|
|
30365
30369
|
children: /* @__PURE__ */ v(w, k({
|
|
30366
30370
|
appear: !0,
|
|
30367
30371
|
in: x,
|
|
30368
|
-
onEntering:
|
|
30369
|
-
onExited:
|
|
30372
|
+
onEntering: H,
|
|
30373
|
+
onExited: q,
|
|
30370
30374
|
timeout: J
|
|
30371
30375
|
}, I, {
|
|
30372
30376
|
children: /* @__PURE__ */ v(Q, k({}, ae, {
|
|
@@ -50624,7 +50628,7 @@ const pd = [
|
|
|
50624
50628
|
"yoga",
|
|
50625
50629
|
"zinc",
|
|
50626
50630
|
"zoology"
|
|
50627
|
-
],
|
|
50631
|
+
], G = {
|
|
50628
50632
|
plural: {
|
|
50629
50633
|
men: new RegExp("^(m|wom)en$", "gi"),
|
|
50630
50634
|
people: new RegExp("(pe)ople$", "gi"),
|
|
@@ -50696,133 +50700,133 @@ const pd = [
|
|
|
50696
50700
|
}
|
|
50697
50701
|
}, Kk = [
|
|
50698
50702
|
// do not replace if its already a plural word
|
|
50699
|
-
[
|
|
50700
|
-
[
|
|
50701
|
-
[
|
|
50702
|
-
[
|
|
50703
|
-
[
|
|
50704
|
-
[
|
|
50705
|
-
[
|
|
50706
|
-
[
|
|
50707
|
-
[
|
|
50708
|
-
[
|
|
50709
|
-
[
|
|
50710
|
-
[
|
|
50711
|
-
[
|
|
50712
|
-
[
|
|
50713
|
-
[
|
|
50714
|
-
[
|
|
50715
|
-
[
|
|
50716
|
-
[
|
|
50717
|
-
[
|
|
50718
|
-
[
|
|
50719
|
-
[
|
|
50720
|
-
[
|
|
50721
|
-
[
|
|
50722
|
-
[
|
|
50723
|
-
[
|
|
50724
|
-
[
|
|
50725
|
-
[
|
|
50726
|
-
[
|
|
50727
|
-
[
|
|
50728
|
-
[
|
|
50729
|
-
[
|
|
50730
|
-
[
|
|
50703
|
+
[G.plural.men],
|
|
50704
|
+
[G.plural.people],
|
|
50705
|
+
[G.plural.children],
|
|
50706
|
+
[G.plural.tia],
|
|
50707
|
+
[G.plural.analyses],
|
|
50708
|
+
[G.plural.databases],
|
|
50709
|
+
[G.plural.drives],
|
|
50710
|
+
[G.plural.hives],
|
|
50711
|
+
[G.plural.curves],
|
|
50712
|
+
[G.plural.lrves],
|
|
50713
|
+
[G.plural.foves],
|
|
50714
|
+
[G.plural.aeiouyies],
|
|
50715
|
+
[G.plural.series],
|
|
50716
|
+
[G.plural.movies],
|
|
50717
|
+
[G.plural.xes],
|
|
50718
|
+
[G.plural.mice],
|
|
50719
|
+
[G.plural.buses],
|
|
50720
|
+
[G.plural.oes],
|
|
50721
|
+
[G.plural.shoes],
|
|
50722
|
+
[G.plural.crises],
|
|
50723
|
+
[G.plural.octopuses],
|
|
50724
|
+
[G.plural.aliases],
|
|
50725
|
+
[G.plural.summonses],
|
|
50726
|
+
[G.plural.oxen],
|
|
50727
|
+
[G.plural.matrices],
|
|
50728
|
+
[G.plural.feet],
|
|
50729
|
+
[G.plural.teeth],
|
|
50730
|
+
[G.plural.geese],
|
|
50731
|
+
[G.plural.quizzes],
|
|
50732
|
+
[G.plural.whereases],
|
|
50733
|
+
[G.plural.criteria],
|
|
50734
|
+
[G.plural.genera],
|
|
50731
50735
|
// original rule
|
|
50732
|
-
[
|
|
50733
|
-
[
|
|
50734
|
-
[
|
|
50735
|
-
[
|
|
50736
|
-
[
|
|
50737
|
-
[
|
|
50738
|
-
[
|
|
50739
|
-
[
|
|
50740
|
-
[
|
|
50741
|
-
[
|
|
50742
|
-
[
|
|
50743
|
-
[
|
|
50744
|
-
[
|
|
50745
|
-
[
|
|
50746
|
-
[
|
|
50747
|
-
[
|
|
50748
|
-
[
|
|
50749
|
-
[
|
|
50750
|
-
[
|
|
50751
|
-
[
|
|
50752
|
-
[
|
|
50753
|
-
[
|
|
50754
|
-
[
|
|
50755
|
-
[
|
|
50756
|
-
[
|
|
50757
|
-
[
|
|
50758
|
-
[
|
|
50759
|
-
[
|
|
50760
|
-
[
|
|
50736
|
+
[G.singular.man, "$1en"],
|
|
50737
|
+
[G.singular.person, "$1ople"],
|
|
50738
|
+
[G.singular.child, "$1ren"],
|
|
50739
|
+
[G.singular.drive, "$1s"],
|
|
50740
|
+
[G.singular.ox, "$1en"],
|
|
50741
|
+
[G.singular.axis, "$1es"],
|
|
50742
|
+
[G.singular.octopus, "$1uses"],
|
|
50743
|
+
[G.singular.alias, "$1es"],
|
|
50744
|
+
[G.singular.summons, "$1es"],
|
|
50745
|
+
[G.singular.bus, "$1ses"],
|
|
50746
|
+
[G.singular.buffalo, "$1oes"],
|
|
50747
|
+
[G.singular.tium, "$1a"],
|
|
50748
|
+
[G.singular.sis, "ses"],
|
|
50749
|
+
[G.singular.ffe, "$1$2ves"],
|
|
50750
|
+
[G.singular.hive, "$1ves"],
|
|
50751
|
+
[G.singular.aeiouyy, "$1ies"],
|
|
50752
|
+
[G.singular.matrix, "$1ices"],
|
|
50753
|
+
[G.singular.vertex, "$1ices"],
|
|
50754
|
+
[G.singular.x, "$1es"],
|
|
50755
|
+
[G.singular.mouse, "$1ice"],
|
|
50756
|
+
[G.singular.foot, "feet"],
|
|
50757
|
+
[G.singular.tooth, "teeth"],
|
|
50758
|
+
[G.singular.goose, "geese"],
|
|
50759
|
+
[G.singular.quiz, "$1zes"],
|
|
50760
|
+
[G.singular.whereas, "$1es"],
|
|
50761
|
+
[G.singular.criterion, "$1a"],
|
|
50762
|
+
[G.singular.genus, "genera"],
|
|
50763
|
+
[G.singular.s, "s"],
|
|
50764
|
+
[G.singular.common, "s"]
|
|
50761
50765
|
], Jk = [
|
|
50762
50766
|
// do not replace if its already a singular word
|
|
50763
|
-
[
|
|
50764
|
-
[
|
|
50765
|
-
[
|
|
50766
|
-
[
|
|
50767
|
-
[
|
|
50768
|
-
[
|
|
50769
|
-
[
|
|
50770
|
-
[
|
|
50771
|
-
[
|
|
50772
|
-
[
|
|
50773
|
-
[
|
|
50774
|
-
[
|
|
50775
|
-
[
|
|
50776
|
-
[
|
|
50777
|
-
[
|
|
50778
|
-
[
|
|
50779
|
-
[
|
|
50780
|
-
[
|
|
50781
|
-
[
|
|
50782
|
-
[
|
|
50783
|
-
[
|
|
50784
|
-
[
|
|
50785
|
-
[
|
|
50786
|
-
[
|
|
50787
|
-
[
|
|
50788
|
-
[
|
|
50767
|
+
[G.singular.man],
|
|
50768
|
+
[G.singular.person],
|
|
50769
|
+
[G.singular.child],
|
|
50770
|
+
[G.singular.drive],
|
|
50771
|
+
[G.singular.ox],
|
|
50772
|
+
[G.singular.axis],
|
|
50773
|
+
[G.singular.octopus],
|
|
50774
|
+
[G.singular.alias],
|
|
50775
|
+
[G.singular.summons],
|
|
50776
|
+
[G.singular.bus],
|
|
50777
|
+
[G.singular.buffalo],
|
|
50778
|
+
[G.singular.tium],
|
|
50779
|
+
[G.singular.sis],
|
|
50780
|
+
[G.singular.ffe],
|
|
50781
|
+
[G.singular.hive],
|
|
50782
|
+
[G.singular.aeiouyy],
|
|
50783
|
+
[G.singular.x],
|
|
50784
|
+
[G.singular.matrix],
|
|
50785
|
+
[G.singular.mouse],
|
|
50786
|
+
[G.singular.foot],
|
|
50787
|
+
[G.singular.tooth],
|
|
50788
|
+
[G.singular.goose],
|
|
50789
|
+
[G.singular.quiz],
|
|
50790
|
+
[G.singular.whereas],
|
|
50791
|
+
[G.singular.criterion],
|
|
50792
|
+
[G.singular.genus],
|
|
50789
50793
|
// original rule
|
|
50790
|
-
[
|
|
50791
|
-
[
|
|
50792
|
-
[
|
|
50793
|
-
[
|
|
50794
|
-
[
|
|
50795
|
-
[
|
|
50796
|
-
[
|
|
50797
|
-
[
|
|
50798
|
-
[
|
|
50799
|
-
[
|
|
50800
|
-
[
|
|
50801
|
-
[
|
|
50802
|
-
[
|
|
50803
|
-
[
|
|
50804
|
-
[
|
|
50805
|
-
[
|
|
50806
|
-
[
|
|
50807
|
-
[
|
|
50808
|
-
[
|
|
50809
|
-
[
|
|
50810
|
-
[
|
|
50811
|
-
[
|
|
50812
|
-
[
|
|
50813
|
-
[
|
|
50814
|
-
[
|
|
50815
|
-
[
|
|
50816
|
-
[
|
|
50817
|
-
[
|
|
50818
|
-
[
|
|
50819
|
-
[
|
|
50820
|
-
[
|
|
50821
|
-
[
|
|
50822
|
-
[
|
|
50823
|
-
[
|
|
50824
|
-
[
|
|
50825
|
-
[
|
|
50794
|
+
[G.plural.men, "$1an"],
|
|
50795
|
+
[G.plural.people, "$1rson"],
|
|
50796
|
+
[G.plural.children, "$1"],
|
|
50797
|
+
[G.plural.databases, "$1"],
|
|
50798
|
+
[G.plural.drives, "$1"],
|
|
50799
|
+
[G.plural.genera, "genus"],
|
|
50800
|
+
[G.plural.criteria, "$1on"],
|
|
50801
|
+
[G.plural.tia, "$1um"],
|
|
50802
|
+
[G.plural.analyses, "$1$2sis"],
|
|
50803
|
+
[G.plural.hives, "$1ve"],
|
|
50804
|
+
[G.plural.curves, "$1"],
|
|
50805
|
+
[G.plural.lrves, "$1f"],
|
|
50806
|
+
[G.plural.aves, "$1ve"],
|
|
50807
|
+
[G.plural.foves, "$1fe"],
|
|
50808
|
+
[G.plural.movies, "$1ovie"],
|
|
50809
|
+
[G.plural.aeiouyies, "$1y"],
|
|
50810
|
+
[G.plural.series, "$1eries"],
|
|
50811
|
+
[G.plural.xes, "$1"],
|
|
50812
|
+
[G.plural.mice, "$1ouse"],
|
|
50813
|
+
[G.plural.buses, "$1"],
|
|
50814
|
+
[G.plural.oes, "$1"],
|
|
50815
|
+
[G.plural.shoes, "$1"],
|
|
50816
|
+
[G.plural.crises, "$1is"],
|
|
50817
|
+
[G.plural.octopuses, "$1us"],
|
|
50818
|
+
[G.plural.aliases, "$1"],
|
|
50819
|
+
[G.plural.summonses, "$1"],
|
|
50820
|
+
[G.plural.oxen, "$1"],
|
|
50821
|
+
[G.plural.matrices, "$1ix"],
|
|
50822
|
+
[G.plural.vertices, "$1ex"],
|
|
50823
|
+
[G.plural.feet, "foot"],
|
|
50824
|
+
[G.plural.teeth, "tooth"],
|
|
50825
|
+
[G.plural.geese, "goose"],
|
|
50826
|
+
[G.plural.quizzes, "$1"],
|
|
50827
|
+
[G.plural.whereases, "$1"],
|
|
50828
|
+
[G.plural.ss, "ss"],
|
|
50829
|
+
[G.plural.s, ""]
|
|
50826
50830
|
], VY = [
|
|
50827
50831
|
"and",
|
|
50828
50832
|
"or",
|
|
@@ -52844,32 +52848,32 @@ const GQ = /* @__PURE__ */ a((e) => {
|
|
|
52844
52848
|
controlled: B,
|
|
52845
52849
|
default: f,
|
|
52846
52850
|
name: "Select"
|
|
52847
|
-
}), [D,
|
|
52851
|
+
}), [D, V] = sl({
|
|
52848
52852
|
controlled: I,
|
|
52849
52853
|
default: p,
|
|
52850
52854
|
name: "Select"
|
|
52851
|
-
}), ee = O.useRef(null),
|
|
52852
|
-
current:
|
|
52855
|
+
}), ee = O.useRef(null), H = O.useRef(null), [q, J] = O.useState(null), {
|
|
52856
|
+
current: U
|
|
52853
52857
|
} = O.useRef(I != null), [ne, Q] = O.useState(), ae = Ft(r, y), de = O.useCallback((fe) => {
|
|
52854
|
-
|
|
52855
|
-
}, []), le =
|
|
52858
|
+
H.current = fe, fe && J(fe);
|
|
52859
|
+
}, []), le = q == null ? void 0 : q.parentNode;
|
|
52856
52860
|
O.useImperativeHandle(ae, () => ({
|
|
52857
52861
|
focus: /* @__PURE__ */ a(() => {
|
|
52858
|
-
|
|
52862
|
+
H.current.focus();
|
|
52859
52863
|
}, "focus"),
|
|
52860
52864
|
node: ee.current,
|
|
52861
52865
|
value: N
|
|
52862
52866
|
}), [N]), O.useEffect(() => {
|
|
52863
|
-
p && D &&
|
|
52864
|
-
}, [
|
|
52865
|
-
s &&
|
|
52867
|
+
p && D && q && !U && (Q(l ? null : le.clientWidth), H.current.focus());
|
|
52868
|
+
}, [q, l]), O.useEffect(() => {
|
|
52869
|
+
s && H.current.focus();
|
|
52866
52870
|
}, [s]), O.useEffect(() => {
|
|
52867
52871
|
if (!x)
|
|
52868
52872
|
return;
|
|
52869
|
-
const fe = jr(
|
|
52873
|
+
const fe = jr(H.current).getElementById(x);
|
|
52870
52874
|
if (fe) {
|
|
52871
52875
|
const re = /* @__PURE__ */ a(() => {
|
|
52872
|
-
getSelection().isCollapsed &&
|
|
52876
|
+
getSelection().isCollapsed && H.current.focus();
|
|
52873
52877
|
}, "handler");
|
|
52874
52878
|
return fe.addEventListener("click", re), () => {
|
|
52875
52879
|
fe.removeEventListener("click", re);
|
|
@@ -52877,9 +52881,9 @@ const GQ = /* @__PURE__ */ a((e) => {
|
|
|
52877
52881
|
}
|
|
52878
52882
|
}, [x]);
|
|
52879
52883
|
const _ = /* @__PURE__ */ a((fe, re) => {
|
|
52880
|
-
fe ? A && A(re) : P && P(re),
|
|
52884
|
+
fe ? A && A(re) : P && P(re), U || (Q(l ? null : le.clientWidth), V(fe));
|
|
52881
52885
|
}, "update"), te = /* @__PURE__ */ a((fe) => {
|
|
52882
|
-
fe.button === 0 && (fe.preventDefault(),
|
|
52886
|
+
fe.button === 0 && (fe.preventDefault(), H.current.focus(), _(!0, fe));
|
|
52883
52887
|
}, "handleMouseDown"), Y = /* @__PURE__ */ a((fe) => {
|
|
52884
52888
|
_(!1, fe);
|
|
52885
52889
|
}, "handleClose"), ye = O.Children.toArray(u), qe = /* @__PURE__ */ a((fe) => {
|
|
@@ -52915,7 +52919,7 @@ const GQ = /* @__PURE__ */ a((e) => {
|
|
|
52915
52919
|
// https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-select-only/
|
|
52916
52920
|
"Enter"
|
|
52917
52921
|
].indexOf(fe.key) !== -1 && (fe.preventDefault(), _(!0, fe));
|
|
52918
|
-
}, "handleKeyDown"), Ee =
|
|
52922
|
+
}, "handleKeyDown"), Ee = q !== null && D, He = /* @__PURE__ */ a((fe) => {
|
|
52919
52923
|
!Ee && S && (Object.defineProperty(fe, "target", {
|
|
52920
52924
|
writable: !0,
|
|
52921
52925
|
value: {
|
|
@@ -52965,7 +52969,7 @@ const GQ = /* @__PURE__ */ a((e) => {
|
|
|
52965
52969
|
}
|
|
52966
52970
|
}, [Je, ye, T, C, N]), ze && (T ? dt.length === 0 ? De = null : De = dt.reduce((fe, re, pe) => (fe.push(re), pe < dt.length - 1 && fe.push(", "), fe), []) : De = ut);
|
|
52967
52971
|
let Et = ne;
|
|
52968
|
-
!l &&
|
|
52972
|
+
!l && U && q && (Et = le.clientWidth);
|
|
52969
52973
|
let Pe;
|
|
52970
52974
|
typeof L < "u" ? Pe = L : Pe = h ? null : 0;
|
|
52971
52975
|
const me = F.id || (C ? `mui-component-select-${C}` : void 0), mt = k({}, t, {
|
|
@@ -53496,7 +53500,7 @@ const rX = ["autoComplete", "autoFocus", "children", "className", "color", "defa
|
|
|
53496
53500
|
type: j,
|
|
53497
53501
|
value: N,
|
|
53498
53502
|
variant: K = "outlined"
|
|
53499
|
-
} = n, D = ie(n, rX),
|
|
53503
|
+
} = n, D = ie(n, rX), V = k({}, n, {
|
|
53500
53504
|
autoFocus: i,
|
|
53501
53505
|
color: u,
|
|
53502
53506
|
disabled: p,
|
|
@@ -53506,11 +53510,11 @@ const rX = ["autoComplete", "autoFocus", "children", "className", "color", "defa
|
|
|
53506
53510
|
required: F,
|
|
53507
53511
|
select: B,
|
|
53508
53512
|
variant: K
|
|
53509
|
-
}), ee = oX(
|
|
53513
|
+
}), ee = oX(V);
|
|
53510
53514
|
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" && (
|
|
53513
|
-
const
|
|
53515
|
+
const H = {};
|
|
53516
|
+
K === "outlined" && (y && typeof y.shrink < "u" && (H.notched = y.shrink), H.label = C), B && ((!z || !z.native) && (H.id = void 0), H["aria-describedby"] = void 0);
|
|
53517
|
+
const q = Bl(b), J = m && q ? `${q}-helper-text` : void 0, U = C && q ? `${q}-label` : void 0, ne = nX[K], Q = /* @__PURE__ */ v(ne, k({
|
|
53514
53518
|
"aria-describedby": J,
|
|
53515
53519
|
autoComplete: o,
|
|
53516
53520
|
autoFocus: i,
|
|
@@ -53523,14 +53527,14 @@ const rX = ["autoComplete", "autoFocus", "children", "className", "color", "defa
|
|
|
53523
53527
|
minRows: w,
|
|
53524
53528
|
type: j,
|
|
53525
53529
|
value: N,
|
|
53526
|
-
id:
|
|
53530
|
+
id: q,
|
|
53527
53531
|
inputRef: T,
|
|
53528
53532
|
onBlur: A,
|
|
53529
53533
|
onChange: I,
|
|
53530
53534
|
onFocus: M,
|
|
53531
53535
|
placeholder: R,
|
|
53532
53536
|
inputProps: x
|
|
53533
|
-
},
|
|
53537
|
+
}, H, E));
|
|
53534
53538
|
return /* @__PURE__ */ W(iX, k({
|
|
53535
53539
|
className: oe(ee.root, l),
|
|
53536
53540
|
disabled: p,
|
|
@@ -53540,17 +53544,17 @@ const rX = ["autoComplete", "autoFocus", "children", "className", "color", "defa
|
|
|
53540
53544
|
required: F,
|
|
53541
53545
|
color: u,
|
|
53542
53546
|
variant: K,
|
|
53543
|
-
ownerState:
|
|
53547
|
+
ownerState: V
|
|
53544
53548
|
}, D, {
|
|
53545
53549
|
children: [C != null && C !== "" && /* @__PURE__ */ v(dw, k({
|
|
53546
|
-
htmlFor:
|
|
53547
|
-
id:
|
|
53550
|
+
htmlFor: q,
|
|
53551
|
+
id: U
|
|
53548
53552
|
}, y, {
|
|
53549
53553
|
children: C
|
|
53550
53554
|
})), B ? /* @__PURE__ */ v(ay, k({
|
|
53551
53555
|
"aria-describedby": J,
|
|
53552
|
-
id:
|
|
53553
|
-
labelId:
|
|
53556
|
+
id: q,
|
|
53557
|
+
labelId: U,
|
|
53554
53558
|
value: N,
|
|
53555
53559
|
input: Q
|
|
53556
53560
|
}, z, {
|
|
@@ -54595,12 +54599,12 @@ const ite = /* @__PURE__ */ a((e) => {
|
|
|
54595
54599
|
shouldUnregister: N,
|
|
54596
54600
|
source: K,
|
|
54597
54601
|
submitError: D,
|
|
54598
|
-
subscription:
|
|
54602
|
+
subscription: V,
|
|
54599
54603
|
textAlign: ee,
|
|
54600
|
-
translate:
|
|
54601
|
-
translateChoice:
|
|
54604
|
+
translate: H,
|
|
54605
|
+
translateChoice: q,
|
|
54602
54606
|
validate: J,
|
|
54603
|
-
validateFields:
|
|
54607
|
+
validateFields: U,
|
|
54604
54608
|
value: ne,
|
|
54605
54609
|
...Q
|
|
54606
54610
|
}) => Q, "sanitizeInputRestProps"), RZ = /* @__PURE__ */ a(({
|