biblio-react 3.0.28 → 3.0.29
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 +286 -286
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -190,10 +190,10 @@ function GD() {
|
|
|
190
190
|
return typeof z == "object" && z !== null && z.$$typeof === e;
|
|
191
191
|
}
|
|
192
192
|
s(Q, "isElement");
|
|
193
|
-
function
|
|
193
|
+
function q(z) {
|
|
194
194
|
return C(z) === p;
|
|
195
195
|
}
|
|
196
|
-
s(
|
|
196
|
+
s(q, "isForwardRef");
|
|
197
197
|
function K(z) {
|
|
198
198
|
return C(z) === r;
|
|
199
199
|
}
|
|
@@ -206,10 +206,10 @@ function GD() {
|
|
|
206
206
|
return C(z) === h;
|
|
207
207
|
}
|
|
208
208
|
s(W, "isMemo");
|
|
209
|
-
function
|
|
209
|
+
function U(z) {
|
|
210
210
|
return C(z) === n;
|
|
211
211
|
}
|
|
212
|
-
s(
|
|
212
|
+
s(U, "isPortal");
|
|
213
213
|
function Z(z) {
|
|
214
214
|
return C(z) === i;
|
|
215
215
|
}
|
|
@@ -221,7 +221,7 @@ function GD() {
|
|
|
221
221
|
function se(z) {
|
|
222
222
|
return C(z) === f;
|
|
223
223
|
}
|
|
224
|
-
s(se, "isSuspense"), yt.AsyncMode = T, yt.ConcurrentMode = O, yt.ContextConsumer = M, yt.ContextProvider = N, yt.Element = R, yt.ForwardRef = D, yt.Fragment = P, yt.Lazy = k, yt.Memo = A, yt.Portal = $, yt.Profiler = L, yt.StrictMode = I, yt.Suspense = _, yt.isAsyncMode = V, yt.isConcurrentMode = B, yt.isContextConsumer = F, yt.isContextProvider = H, yt.isElement = Q, yt.isForwardRef =
|
|
224
|
+
s(se, "isSuspense"), yt.AsyncMode = T, yt.ConcurrentMode = O, yt.ContextConsumer = M, yt.ContextProvider = N, yt.Element = R, yt.ForwardRef = D, yt.Fragment = P, yt.Lazy = k, yt.Memo = A, yt.Portal = $, yt.Profiler = L, yt.StrictMode = I, yt.Suspense = _, yt.isAsyncMode = V, yt.isConcurrentMode = B, yt.isContextConsumer = F, yt.isContextProvider = H, yt.isElement = Q, yt.isForwardRef = q, yt.isFragment = K, yt.isLazy = te, yt.isMemo = W, yt.isPortal = U, yt.isProfiler = Z, yt.isStrictMode = ee, yt.isSuspense = se, yt.isValidElementType = w, yt.typeOf = C;
|
|
225
225
|
})()), yt;
|
|
226
226
|
}
|
|
227
227
|
s(GD, "requireReactIs_development$3");
|
|
@@ -398,35 +398,35 @@ function JD() {
|
|
|
398
398
|
function v(B) {
|
|
399
399
|
if (process.env.NODE_ENV !== "production")
|
|
400
400
|
var F = {}, H = 0;
|
|
401
|
-
function Q(K, te, W,
|
|
402
|
-
if (
|
|
401
|
+
function Q(K, te, W, U, Z, ee, se) {
|
|
402
|
+
if (U = U || m, ee = ee || W, se !== n) {
|
|
403
403
|
if (u) {
|
|
404
404
|
var z = new Error(
|
|
405
405
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
406
406
|
);
|
|
407
407
|
throw z.name = "Invariant Violation", z;
|
|
408
408
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
409
|
-
var ge =
|
|
409
|
+
var ge = U + ":" + W;
|
|
410
410
|
!F[ge] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
411
411
|
H < 3 && (i(
|
|
412
|
-
"You are manually calling a React.PropTypes validation function for the `" + ee + "` prop on `" +
|
|
412
|
+
"You are manually calling a React.PropTypes validation function for the `" + ee + "` prop on `" + U + "`. 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."
|
|
413
413
|
), F[ge] = !0, H++);
|
|
414
414
|
}
|
|
415
415
|
}
|
|
416
|
-
return te[W] == null ? K ? te[W] === null ? new g("The " + Z + " `" + ee + "` is marked as required " + ("in `" +
|
|
416
|
+
return te[W] == null ? K ? te[W] === null ? new g("The " + Z + " `" + ee + "` is marked as required " + ("in `" + U + "`, but its value is `null`.")) : new g("The " + Z + " `" + ee + "` is marked as required in " + ("`" + U + "`, but its value is `undefined`.")) : null : B(te, W, U, Z, ee);
|
|
417
417
|
}
|
|
418
418
|
s(Q, "checkType");
|
|
419
|
-
var
|
|
420
|
-
return
|
|
419
|
+
var q = Q.bind(null, !1);
|
|
420
|
+
return q.isRequired = Q.bind(null, !0), q;
|
|
421
421
|
}
|
|
422
422
|
s(v, "createChainableTypeChecker");
|
|
423
423
|
function x(B) {
|
|
424
|
-
function F(H, Q,
|
|
425
|
-
var
|
|
424
|
+
function F(H, Q, q, K, te, W) {
|
|
425
|
+
var U = H[Q], Z = I(U);
|
|
426
426
|
if (Z !== B) {
|
|
427
|
-
var ee = _(
|
|
427
|
+
var ee = _(U);
|
|
428
428
|
return new g(
|
|
429
|
-
"Invalid " + K + " `" + te + "` of type " + ("`" + ee + "` supplied to `" +
|
|
429
|
+
"Invalid " + K + " `" + te + "` of type " + ("`" + ee + "` supplied to `" + q + "`, expected ") + ("`" + B + "`."),
|
|
430
430
|
{ expectedType: B }
|
|
431
431
|
);
|
|
432
432
|
}
|
|
@@ -440,16 +440,16 @@ function JD() {
|
|
|
440
440
|
}
|
|
441
441
|
s(E, "createAnyTypeChecker");
|
|
442
442
|
function w(B) {
|
|
443
|
-
function F(H, Q,
|
|
443
|
+
function F(H, Q, q, K, te) {
|
|
444
444
|
if (typeof B != "function")
|
|
445
|
-
return new g("Property `" + te + "` of component `" +
|
|
445
|
+
return new g("Property `" + te + "` of component `" + q + "` has invalid PropType notation inside arrayOf.");
|
|
446
446
|
var W = H[Q];
|
|
447
447
|
if (!Array.isArray(W)) {
|
|
448
|
-
var
|
|
449
|
-
return new g("Invalid " + K + " `" + te + "` of type " + ("`" +
|
|
448
|
+
var U = I(W);
|
|
449
|
+
return new g("Invalid " + K + " `" + te + "` of type " + ("`" + U + "` supplied to `" + q + "`, expected an array."));
|
|
450
450
|
}
|
|
451
451
|
for (var Z = 0; Z < W.length; Z++) {
|
|
452
|
-
var ee = B(W, Z,
|
|
452
|
+
var ee = B(W, Z, q, K, te + "[" + Z + "]", n);
|
|
453
453
|
if (ee instanceof Error)
|
|
454
454
|
return ee;
|
|
455
455
|
}
|
|
@@ -459,11 +459,11 @@ function JD() {
|
|
|
459
459
|
}
|
|
460
460
|
s(w, "createArrayOfTypeChecker");
|
|
461
461
|
function C() {
|
|
462
|
-
function B(F, H, Q,
|
|
462
|
+
function B(F, H, Q, q, K) {
|
|
463
463
|
var te = F[H];
|
|
464
464
|
if (!l(te)) {
|
|
465
465
|
var W = I(te);
|
|
466
|
-
return new g("Invalid " +
|
|
466
|
+
return new g("Invalid " + q + " `" + K + "` of type " + ("`" + W + "` supplied to `" + Q + "`, expected a single ReactElement."));
|
|
467
467
|
}
|
|
468
468
|
return null;
|
|
469
469
|
}
|
|
@@ -471,11 +471,11 @@ function JD() {
|
|
|
471
471
|
}
|
|
472
472
|
s(C, "createElementTypeChecker");
|
|
473
473
|
function T() {
|
|
474
|
-
function B(F, H, Q,
|
|
474
|
+
function B(F, H, Q, q, K) {
|
|
475
475
|
var te = F[H];
|
|
476
476
|
if (!t.isValidElementType(te)) {
|
|
477
477
|
var W = I(te);
|
|
478
|
-
return new g("Invalid " +
|
|
478
|
+
return new g("Invalid " + q + " `" + K + "` of type " + ("`" + W + "` supplied to `" + Q + "`, expected a single ReactElement type."));
|
|
479
479
|
}
|
|
480
480
|
return null;
|
|
481
481
|
}
|
|
@@ -483,10 +483,10 @@ function JD() {
|
|
|
483
483
|
}
|
|
484
484
|
s(T, "createElementTypeTypeChecker");
|
|
485
485
|
function O(B) {
|
|
486
|
-
function F(H, Q,
|
|
486
|
+
function F(H, Q, q, K, te) {
|
|
487
487
|
if (!(H[Q] instanceof B)) {
|
|
488
|
-
var W = B.name || m,
|
|
489
|
-
return new g("Invalid " + K + " `" + te + "` of type " + ("`" +
|
|
488
|
+
var W = B.name || m, U = V(H[Q]);
|
|
489
|
+
return new g("Invalid " + K + " `" + te + "` of type " + ("`" + U + "` supplied to `" + q + "`, expected ") + ("instance of `" + W + "`."));
|
|
490
490
|
}
|
|
491
491
|
return null;
|
|
492
492
|
}
|
|
@@ -498,29 +498,29 @@ function JD() {
|
|
|
498
498
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
499
499
|
"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])."
|
|
500
500
|
) : i("Invalid argument supplied to oneOf, expected an array.")), a;
|
|
501
|
-
function F(H, Q,
|
|
502
|
-
for (var W = H[Q],
|
|
503
|
-
if (y(W, B[
|
|
501
|
+
function F(H, Q, q, K, te) {
|
|
502
|
+
for (var W = H[Q], U = 0; U < B.length; U++)
|
|
503
|
+
if (y(W, B[U]))
|
|
504
504
|
return null;
|
|
505
505
|
var Z = JSON.stringify(B, /* @__PURE__ */ s(function(se, z) {
|
|
506
506
|
var ge = _(z);
|
|
507
507
|
return ge === "symbol" ? String(z) : z;
|
|
508
508
|
}, "replacer"));
|
|
509
|
-
return new g("Invalid " + K + " `" + te + "` of value `" + String(W) + "` " + ("supplied to `" +
|
|
509
|
+
return new g("Invalid " + K + " `" + te + "` of value `" + String(W) + "` " + ("supplied to `" + q + "`, expected one of " + Z + "."));
|
|
510
510
|
}
|
|
511
511
|
return s(F, "validate"), v(F);
|
|
512
512
|
}
|
|
513
513
|
s(M, "createEnumTypeChecker");
|
|
514
514
|
function N(B) {
|
|
515
|
-
function F(H, Q,
|
|
515
|
+
function F(H, Q, q, K, te) {
|
|
516
516
|
if (typeof B != "function")
|
|
517
|
-
return new g("Property `" + te + "` of component `" +
|
|
518
|
-
var W = H[Q],
|
|
519
|
-
if (
|
|
520
|
-
return new g("Invalid " + K + " `" + te + "` of type " + ("`" +
|
|
517
|
+
return new g("Property `" + te + "` of component `" + q + "` has invalid PropType notation inside objectOf.");
|
|
518
|
+
var W = H[Q], U = I(W);
|
|
519
|
+
if (U !== "object")
|
|
520
|
+
return new g("Invalid " + K + " `" + te + "` of type " + ("`" + U + "` supplied to `" + q + "`, expected an object."));
|
|
521
521
|
for (var Z in W)
|
|
522
522
|
if (r(W, Z)) {
|
|
523
|
-
var ee = B(W, Z,
|
|
523
|
+
var ee = B(W, Z, q, K, te + "." + Z, n);
|
|
524
524
|
if (ee instanceof Error)
|
|
525
525
|
return ee;
|
|
526
526
|
}
|
|
@@ -539,42 +539,42 @@ function JD() {
|
|
|
539
539
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + j(H) + " at index " + F + "."
|
|
540
540
|
), a;
|
|
541
541
|
}
|
|
542
|
-
function Q(
|
|
542
|
+
function Q(q, K, te, W, U) {
|
|
543
543
|
for (var Z = [], ee = 0; ee < B.length; ee++) {
|
|
544
|
-
var se = B[ee], z = se(
|
|
544
|
+
var se = B[ee], z = se(q, K, te, W, U, n);
|
|
545
545
|
if (z == null)
|
|
546
546
|
return null;
|
|
547
547
|
z.data && r(z.data, "expectedType") && Z.push(z.data.expectedType);
|
|
548
548
|
}
|
|
549
549
|
var ge = Z.length > 0 ? ", expected one of type [" + Z.join(", ") + "]" : "";
|
|
550
|
-
return new g("Invalid " + W + " `" +
|
|
550
|
+
return new g("Invalid " + W + " `" + U + "` supplied to " + ("`" + te + "`" + ge + "."));
|
|
551
551
|
}
|
|
552
552
|
return s(Q, "validate"), v(Q);
|
|
553
553
|
}
|
|
554
554
|
s(R, "createUnionTypeChecker");
|
|
555
555
|
function D() {
|
|
556
|
-
function B(F, H, Q,
|
|
557
|
-
return $(F[H]) ? null : new g("Invalid " +
|
|
556
|
+
function B(F, H, Q, q, K) {
|
|
557
|
+
return $(F[H]) ? null : new g("Invalid " + q + " `" + K + "` supplied to " + ("`" + Q + "`, expected a ReactNode."));
|
|
558
558
|
}
|
|
559
559
|
return s(B, "validate"), v(B);
|
|
560
560
|
}
|
|
561
561
|
s(D, "createNodeChecker");
|
|
562
|
-
function P(B, F, H, Q,
|
|
562
|
+
function P(B, F, H, Q, q) {
|
|
563
563
|
return new g(
|
|
564
|
-
(B || "React class") + ": " + F + " type `" + H + "." + Q + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" +
|
|
564
|
+
(B || "React class") + ": " + F + " type `" + H + "." + Q + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + q + "`."
|
|
565
565
|
);
|
|
566
566
|
}
|
|
567
567
|
s(P, "invalidValidatorError");
|
|
568
568
|
function k(B) {
|
|
569
|
-
function F(H, Q,
|
|
570
|
-
var W = H[Q],
|
|
571
|
-
if (
|
|
572
|
-
return new g("Invalid " + K + " `" + te + "` of type `" +
|
|
569
|
+
function F(H, Q, q, K, te) {
|
|
570
|
+
var W = H[Q], U = I(W);
|
|
571
|
+
if (U !== "object")
|
|
572
|
+
return new g("Invalid " + K + " `" + te + "` of type `" + U + "` " + ("supplied to `" + q + "`, expected `object`."));
|
|
573
573
|
for (var Z in B) {
|
|
574
574
|
var ee = B[Z];
|
|
575
575
|
if (typeof ee != "function")
|
|
576
|
-
return P(
|
|
577
|
-
var se = ee(W, Z,
|
|
576
|
+
return P(q, K, te, Z, _(ee));
|
|
577
|
+
var se = ee(W, Z, q, K, te + "." + Z, n);
|
|
578
578
|
if (se)
|
|
579
579
|
return se;
|
|
580
580
|
}
|
|
@@ -584,21 +584,21 @@ function JD() {
|
|
|
584
584
|
}
|
|
585
585
|
s(k, "createShapeTypeChecker");
|
|
586
586
|
function A(B) {
|
|
587
|
-
function F(H, Q,
|
|
588
|
-
var W = H[Q],
|
|
589
|
-
if (
|
|
590
|
-
return new g("Invalid " + K + " `" + te + "` of type `" +
|
|
587
|
+
function F(H, Q, q, K, te) {
|
|
588
|
+
var W = H[Q], U = I(W);
|
|
589
|
+
if (U !== "object")
|
|
590
|
+
return new g("Invalid " + K + " `" + te + "` of type `" + U + "` " + ("supplied to `" + q + "`, expected `object`."));
|
|
591
591
|
var Z = e({}, H[Q], B);
|
|
592
592
|
for (var ee in Z) {
|
|
593
593
|
var se = B[ee];
|
|
594
594
|
if (r(B, ee) && typeof se != "function")
|
|
595
|
-
return P(
|
|
595
|
+
return P(q, K, te, ee, _(se));
|
|
596
596
|
if (!se)
|
|
597
597
|
return new g(
|
|
598
|
-
"Invalid " + K + " `" + te + "` key `" + ee + "` supplied to `" +
|
|
598
|
+
"Invalid " + K + " `" + te + "` key `" + ee + "` supplied to `" + q + "`.\nBad object: " + JSON.stringify(H[Q], null, " ") + `
|
|
599
599
|
Valid keys: ` + JSON.stringify(Object.keys(B), null, " ")
|
|
600
600
|
);
|
|
601
|
-
var z = se(W, ee,
|
|
601
|
+
var z = se(W, ee, q, K, te + "." + ee, n);
|
|
602
602
|
if (z)
|
|
603
603
|
return z;
|
|
604
604
|
}
|
|
@@ -629,8 +629,8 @@ Valid keys: ` + JSON.stringify(Object.keys(B), null, " ")
|
|
|
629
629
|
return !1;
|
|
630
630
|
} else
|
|
631
631
|
for (; !(Q = H.next()).done; ) {
|
|
632
|
-
var
|
|
633
|
-
if (
|
|
632
|
+
var q = Q.value;
|
|
633
|
+
if (q && !$(q[1]))
|
|
634
634
|
return !1;
|
|
635
635
|
}
|
|
636
636
|
} else
|
|
@@ -2591,10 +2591,10 @@ function OL() {
|
|
|
2591
2591
|
return typeof z == "object" && z !== null && z.$$typeof === e;
|
|
2592
2592
|
}
|
|
2593
2593
|
s(Q, "isElement");
|
|
2594
|
-
function
|
|
2594
|
+
function q(z) {
|
|
2595
2595
|
return C(z) === p;
|
|
2596
2596
|
}
|
|
2597
|
-
s(
|
|
2597
|
+
s(q, "isForwardRef");
|
|
2598
2598
|
function K(z) {
|
|
2599
2599
|
return C(z) === r;
|
|
2600
2600
|
}
|
|
@@ -2607,10 +2607,10 @@ function OL() {
|
|
|
2607
2607
|
return C(z) === h;
|
|
2608
2608
|
}
|
|
2609
2609
|
s(W, "isMemo");
|
|
2610
|
-
function
|
|
2610
|
+
function U(z) {
|
|
2611
2611
|
return C(z) === n;
|
|
2612
2612
|
}
|
|
2613
|
-
s(
|
|
2613
|
+
s(U, "isPortal");
|
|
2614
2614
|
function Z(z) {
|
|
2615
2615
|
return C(z) === i;
|
|
2616
2616
|
}
|
|
@@ -2622,7 +2622,7 @@ function OL() {
|
|
|
2622
2622
|
function se(z) {
|
|
2623
2623
|
return C(z) === f;
|
|
2624
2624
|
}
|
|
2625
|
-
s(se, "isSuspense"), vt.AsyncMode = T, vt.ConcurrentMode = O, vt.ContextConsumer = M, vt.ContextProvider = N, vt.Element = R, vt.ForwardRef = D, vt.Fragment = P, vt.Lazy = k, vt.Memo = A, vt.Portal = $, vt.Profiler = L, vt.StrictMode = I, vt.Suspense = _, vt.isAsyncMode = V, vt.isConcurrentMode = B, vt.isContextConsumer = F, vt.isContextProvider = H, vt.isElement = Q, vt.isForwardRef =
|
|
2625
|
+
s(se, "isSuspense"), vt.AsyncMode = T, vt.ConcurrentMode = O, vt.ContextConsumer = M, vt.ContextProvider = N, vt.Element = R, vt.ForwardRef = D, vt.Fragment = P, vt.Lazy = k, vt.Memo = A, vt.Portal = $, vt.Profiler = L, vt.StrictMode = I, vt.Suspense = _, vt.isAsyncMode = V, vt.isConcurrentMode = B, vt.isContextConsumer = F, vt.isContextProvider = H, vt.isElement = Q, vt.isForwardRef = q, vt.isFragment = K, vt.isLazy = te, vt.isMemo = W, vt.isPortal = U, vt.isProfiler = Z, vt.isStrictMode = ee, vt.isSuspense = se, vt.isValidElementType = w, vt.typeOf = C;
|
|
2626
2626
|
})()), vt;
|
|
2627
2627
|
}
|
|
2628
2628
|
s(OL, "requireReactIs_development$1");
|
|
@@ -4490,9 +4490,9 @@ function _F(t) {
|
|
|
4490
4490
|
noSsr: L
|
|
4491
4491
|
} = x, I = S.useRef(!1), _ = l0(), j = S.useContext(d), V = !!j && !P, B = S.useMemo(() => w || (typeof n == "function" ? n() : n), [w]), F = B[e], H = F || B, {
|
|
4492
4492
|
colorSchemes: Q = f,
|
|
4493
|
-
components:
|
|
4493
|
+
components: q = m,
|
|
4494
4494
|
cssVarPrefix: K
|
|
4495
|
-
} = H, te = Object.keys(Q).filter((Xe) => !!Q[Xe]).join(","), W = S.useMemo(() => te.split(","), [te]),
|
|
4495
|
+
} = H, te = Object.keys(Q).filter((Xe) => !!Q[Xe]).join(","), W = S.useMemo(() => te.split(","), [te]), U = typeof a == "string" ? a : a.light, Z = typeof a == "string" ? a : a.dark, ee = Q[U] && Q[Z] ? A : Q[H.defaultColorScheme]?.palette?.mode || H.palette?.mode, {
|
|
4496
4496
|
mode: se,
|
|
4497
4497
|
setMode: z,
|
|
4498
4498
|
systemMode: ge,
|
|
@@ -4502,7 +4502,7 @@ function _F(t) {
|
|
|
4502
4502
|
setColorScheme: ie
|
|
4503
4503
|
} = LF({
|
|
4504
4504
|
supportedColorSchemes: W,
|
|
4505
|
-
defaultLightColorScheme:
|
|
4505
|
+
defaultLightColorScheme: U,
|
|
4506
4506
|
defaultDarkColorScheme: Z,
|
|
4507
4507
|
modeStorageKey: C,
|
|
4508
4508
|
colorSchemeStorageKey: T,
|
|
@@ -4519,7 +4519,7 @@ function _F(t) {
|
|
|
4519
4519
|
const Te = S.useMemo(() => {
|
|
4520
4520
|
const Xe = H.generateThemeVars?.() || H.vars, ce = {
|
|
4521
4521
|
...H,
|
|
4522
|
-
components:
|
|
4522
|
+
components: q,
|
|
4523
4523
|
colorSchemes: Q,
|
|
4524
4524
|
cssVarPrefix: K,
|
|
4525
4525
|
vars: Xe
|
|
@@ -4534,7 +4534,7 @@ function _F(t) {
|
|
|
4534
4534
|
});
|
|
4535
4535
|
}
|
|
4536
4536
|
return l ? l(ce) : ce;
|
|
4537
|
-
}, [H, De,
|
|
4537
|
+
}, [H, De, q, Q, K]), be = H.colorSchemeSelector;
|
|
4538
4538
|
On(() => {
|
|
4539
4539
|
if (Ie && D && be && be !== "media") {
|
|
4540
4540
|
const Xe = be;
|
|
@@ -8487,13 +8487,13 @@ const DB = /* @__PURE__ */ s((t) => {
|
|
|
8487
8487
|
}), H = {
|
|
8488
8488
|
...$,
|
|
8489
8489
|
exited: B
|
|
8490
|
-
}, Q = DB(H),
|
|
8491
|
-
if (d.props.tabIndex === void 0 && (
|
|
8490
|
+
}, Q = DB(H), q = {};
|
|
8491
|
+
if (d.props.tabIndex === void 0 && (q.tabIndex = "-1"), F) {
|
|
8492
8492
|
const {
|
|
8493
8493
|
onEnter: ee,
|
|
8494
8494
|
onExited: se
|
|
8495
8495
|
} = _();
|
|
8496
|
-
|
|
8496
|
+
q.onEnter = ee, q.onExited = se;
|
|
8497
8497
|
}
|
|
8498
8498
|
const K = {
|
|
8499
8499
|
slots: {
|
|
@@ -8516,7 +8516,7 @@ const DB = /* @__PURE__ */ s((t) => {
|
|
|
8516
8516
|
getSlotProps: L,
|
|
8517
8517
|
ownerState: H,
|
|
8518
8518
|
className: ae(l, Q?.root, !H.open && H.exited && Q?.hidden)
|
|
8519
|
-
}), [
|
|
8519
|
+
}), [U, Z] = je("backdrop", {
|
|
8520
8520
|
ref: i?.ref,
|
|
8521
8521
|
elementType: o,
|
|
8522
8522
|
externalForwardedProps: K,
|
|
@@ -8537,7 +8537,7 @@ const DB = /* @__PURE__ */ s((t) => {
|
|
|
8537
8537
|
disablePortal: x,
|
|
8538
8538
|
children: /* @__PURE__ */ Y(te, {
|
|
8539
8539
|
...W,
|
|
8540
|
-
children: [!C && o ? /* @__PURE__ */ b(
|
|
8540
|
+
children: [!C && o ? /* @__PURE__ */ b(U, {
|
|
8541
8541
|
...Z
|
|
8542
8542
|
}) : null, /* @__PURE__ */ b(Xd, {
|
|
8543
8543
|
disableEnforceFocus: g,
|
|
@@ -8545,7 +8545,7 @@ const DB = /* @__PURE__ */ s((t) => {
|
|
|
8545
8545
|
disableRestoreFocus: E,
|
|
8546
8546
|
isEnabled: V,
|
|
8547
8547
|
open: R,
|
|
8548
|
-
children: /* @__PURE__ */ S.cloneElement(d,
|
|
8548
|
+
children: /* @__PURE__ */ S.cloneElement(d, q)
|
|
8549
8549
|
})]
|
|
8550
8550
|
})
|
|
8551
8551
|
});
|
|
@@ -9121,7 +9121,7 @@ const jB = ne(b0, {
|
|
|
9121
9121
|
}, H = {
|
|
9122
9122
|
slots: B,
|
|
9123
9123
|
slotProps: F
|
|
9124
|
-
}, [Q,
|
|
9124
|
+
}, [Q, q] = je("root", {
|
|
9125
9125
|
elementType: HB,
|
|
9126
9126
|
shouldForwardComponentProp: !0,
|
|
9127
9127
|
externalForwardedProps: H,
|
|
@@ -9134,7 +9134,7 @@ const jB = ne(b0, {
|
|
|
9134
9134
|
externalForwardedProps: H,
|
|
9135
9135
|
ownerState: A,
|
|
9136
9136
|
className: $.backdrop
|
|
9137
|
-
}), [W,
|
|
9137
|
+
}), [W, U] = je("paper", {
|
|
9138
9138
|
elementType: UB,
|
|
9139
9139
|
shouldForwardComponentProp: !0,
|
|
9140
9140
|
externalForwardedProps: H,
|
|
@@ -9172,7 +9172,7 @@ const jB = ne(b0, {
|
|
|
9172
9172
|
onClose: E,
|
|
9173
9173
|
open: w,
|
|
9174
9174
|
onClick: _,
|
|
9175
|
-
...
|
|
9175
|
+
...q,
|
|
9176
9176
|
...k,
|
|
9177
9177
|
children: /* @__PURE__ */ b(se, {
|
|
9178
9178
|
...z,
|
|
@@ -9186,7 +9186,7 @@ const jB = ne(b0, {
|
|
|
9186
9186
|
"aria-describedby": a,
|
|
9187
9187
|
"aria-labelledby": j,
|
|
9188
9188
|
"aria-modal": u,
|
|
9189
|
-
...
|
|
9189
|
+
...U,
|
|
9190
9190
|
children: /* @__PURE__ */ b(S0.Provider, {
|
|
9191
9191
|
value: V,
|
|
9192
9192
|
children: f
|
|
@@ -10976,10 +10976,10 @@ const Jy = /* @__PURE__ */ s((t = "scope") => (TC += 1, `${t}-${TC}`), "createRe
|
|
|
10976
10976
|
validate: F,
|
|
10977
10977
|
required: H,
|
|
10978
10978
|
...Q
|
|
10979
|
-
} = T,
|
|
10979
|
+
} = T, q = l || j === void 0 ? D : j, K = l || V === void 0 ? P : V, te = l || L === void 0 ? M : L, W = l || I === void 0 ? R : I, U = l || _ === void 0 ? N : _, Z = Xr(t), ee = B({
|
|
10980
10980
|
...$,
|
|
10981
10981
|
estado: n,
|
|
10982
|
-
hidden:
|
|
10982
|
+
hidden: q,
|
|
10983
10983
|
isLoading: r,
|
|
10984
10984
|
utils: Z,
|
|
10985
10985
|
...Q
|
|
@@ -10992,7 +10992,7 @@ const Jy = /* @__PURE__ */ s((t = "scope") => (TC += 1, `${t}-${TC}`), "createRe
|
|
|
10992
10992
|
validate: de,
|
|
10993
10993
|
required: ie,
|
|
10994
10994
|
...ye
|
|
10995
|
-
} = ee, Ie = ge || te, De = X || W, Te = le ||
|
|
10995
|
+
} = ee, Ie = ge || te, De = X || W, Te = le || U, be = x !== void 0 ? x : ie !== void 0 ? ie : m ? !0 : l || H === void 0 ? A : H, rt = v !== void 0 ? v : se !== void 0 ? se : f ? !0 : q, Ge = g !== void 0 ? g : z !== void 0 ? z : h ? !0 : K, Tt = tt(() => {
|
|
10996
10996
|
const ze = Array.isArray(k) ? k : [k], Ne = Array.isArray(F) ? F : [F], At = Array.isArray(de) ? de : [de];
|
|
10997
10997
|
let ot = [
|
|
10998
10998
|
...ze,
|
|
@@ -13341,8 +13341,8 @@ s(y3, "getExpandedFallbackPlacements");
|
|
|
13341
13341
|
function b3(t) {
|
|
13342
13342
|
var e = t.state, n = t.options, r = t.name;
|
|
13343
13343
|
if (!e.modifiersData[r]._skip) {
|
|
13344
|
-
for (var o = n.mainAxis, i = o === void 0 ? !0 : o, a = n.altAxis, l = a === void 0 ? !0 : a, u = n.fallbackPlacements, d = n.padding, p = n.boundary, f = n.rootBoundary, m = n.altBoundary, h = n.flipVariations, y = h === void 0 ? !0 : h, g = n.allowedAutoPlacements, v = e.options.placement, x = So(v), E = x === v, w = u || (E || !y ? [Pd(v)] : y3(v)), C = [v].concat(w).reduce(function(
|
|
13345
|
-
return
|
|
13344
|
+
for (var o = n.mainAxis, i = o === void 0 ? !0 : o, a = n.altAxis, l = a === void 0 ? !0 : a, u = n.fallbackPlacements, d = n.padding, p = n.boundary, f = n.rootBoundary, m = n.altBoundary, h = n.flipVariations, y = h === void 0 ? !0 : h, g = n.allowedAutoPlacements, v = e.options.placement, x = So(v), E = x === v, w = u || (E || !y ? [Pd(v)] : y3(v)), C = [v].concat(w).reduce(function(q, K) {
|
|
13345
|
+
return q.concat(So(K) === I0 ? g3(e, {
|
|
13346
13346
|
placement: K,
|
|
13347
13347
|
boundary: p,
|
|
13348
13348
|
rootBoundary: f,
|
|
@@ -13360,8 +13360,8 @@ function b3(t) {
|
|
|
13360
13360
|
}), _ = $ ? A ? Ar : Xn : A ? Pr : Jn;
|
|
13361
13361
|
T[L] > O[L] && (_ = Pd(_));
|
|
13362
13362
|
var j = Pd(_), V = [];
|
|
13363
|
-
if (i && V.push(I[k] <= 0), l && V.push(I[_] <= 0, I[j] <= 0), V.every(function(
|
|
13364
|
-
return
|
|
13363
|
+
if (i && V.push(I[k] <= 0), l && V.push(I[_] <= 0, I[j] <= 0), V.every(function(q) {
|
|
13364
|
+
return q;
|
|
13365
13365
|
})) {
|
|
13366
13366
|
R = P, N = !1;
|
|
13367
13367
|
break;
|
|
@@ -13371,9 +13371,9 @@ function b3(t) {
|
|
|
13371
13371
|
if (N)
|
|
13372
13372
|
for (var B = y ? 3 : 1, F = /* @__PURE__ */ s(function(K) {
|
|
13373
13373
|
var te = C.find(function(W) {
|
|
13374
|
-
var
|
|
13375
|
-
if (
|
|
13376
|
-
return
|
|
13374
|
+
var U = M.get(W);
|
|
13375
|
+
if (U)
|
|
13376
|
+
return U.slice(0, K).every(function(Z) {
|
|
13377
13377
|
return Z;
|
|
13378
13378
|
});
|
|
13379
13379
|
});
|
|
@@ -13506,10 +13506,10 @@ function M3(t) {
|
|
|
13506
13506
|
};
|
|
13507
13507
|
if (O) {
|
|
13508
13508
|
if (i) {
|
|
13509
|
-
var A, $ = C === "y" ? Jn : Xn, L = C === "y" ? Pr : Ar, I = C === "y" ? "height" : "width", _ = O[C], j = _ + v[$], V = _ - v[L], B = h ? -N[I] / 2 : 0, F = E === Ba ? M[I] : N[I], H = E === Ba ? -N[I] : -M[I], Q = e.elements.arrow,
|
|
13509
|
+
var A, $ = C === "y" ? Jn : Xn, L = C === "y" ? Pr : Ar, I = C === "y" ? "height" : "width", _ = O[C], j = _ + v[$], V = _ - v[L], B = h ? -N[I] / 2 : 0, F = E === Ba ? M[I] : N[I], H = E === Ba ? -N[I] : -M[I], Q = e.elements.arrow, q = h && Q ? P0(Q) : {
|
|
13510
13510
|
width: 0,
|
|
13511
13511
|
height: 0
|
|
13512
|
-
}, K = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : MI(), te = K[$], W = K[L],
|
|
13512
|
+
}, K = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : MI(), te = K[$], W = K[L], U = Kl(0, M[I], q[I]), Z = w ? M[I] / 2 - B - U - te - D.mainAxis : F - U - te - D.mainAxis, ee = w ? -M[I] / 2 + B + U + W + D.mainAxis : H + U + W + D.mainAxis, se = e.elements.arrow && vu(e.elements.arrow), z = se ? C === "y" ? se.clientTop || 0 : se.clientLeft || 0 : 0, ge = (A = P?.[C]) != null ? A : 0, le = _ + Z - ge - z, X = _ + ee - ge, de = Kl(h ? ip(j, le) : j, _, h ? ws(V, X) : V);
|
|
13513
13513
|
O[C] = de, k[C] = de - _;
|
|
13514
13514
|
}
|
|
13515
13515
|
if (l) {
|
|
@@ -14764,7 +14764,7 @@ const aV = _e("MuiButtonBase", ["root", "disabled", "focusVisible"]), lV = /* @_
|
|
|
14764
14764
|
S.useEffect(() => {
|
|
14765
14765
|
F && m && !p && V.pulsate();
|
|
14766
14766
|
}, [p, m, F, V]);
|
|
14767
|
-
const
|
|
14767
|
+
const q = Po(V, "start", M, f), K = Po(V, "stop", x, f), te = Po(V, "stop", E, f), W = Po(V, "stop", R, f), U = Po(V, "stop", (be) => {
|
|
14768
14768
|
F && be.preventDefault(), N && N(be);
|
|
14769
14769
|
}, f), Z = Po(V, "start", k, f), ee = Po(V, "stop", D, f), se = Po(V, "stop", P, f), z = Po(V, "stop", (be) => {
|
|
14770
14770
|
Ha(be.target) || H(!1), g && g(be);
|
|
@@ -14811,8 +14811,8 @@ const aV = _e("MuiButtonBase", ["root", "disabled", "focusVisible"]), lV = /* @_
|
|
|
14811
14811
|
onFocus: ge,
|
|
14812
14812
|
onKeyDown: X,
|
|
14813
14813
|
onKeyUp: de,
|
|
14814
|
-
onMouseDown:
|
|
14815
|
-
onMouseLeave:
|
|
14814
|
+
onMouseDown: q,
|
|
14815
|
+
onMouseLeave: U,
|
|
14816
14816
|
onMouseUp: W,
|
|
14817
14817
|
onDragLeave: te,
|
|
14818
14818
|
onTouchEnd: ee,
|
|
@@ -15708,11 +15708,11 @@ const yh = /* @__PURE__ */ s((t, e) => {
|
|
|
15708
15708
|
slotProps: F = {},
|
|
15709
15709
|
slots: H = {},
|
|
15710
15710
|
startAdornment: Q,
|
|
15711
|
-
type:
|
|
15711
|
+
type: q = "text",
|
|
15712
15712
|
value: K,
|
|
15713
15713
|
...te
|
|
15714
15714
|
} = r, W = w.value != null ? w.value : K, {
|
|
15715
|
-
current:
|
|
15715
|
+
current: U
|
|
15716
15716
|
} = S.useRef(W != null), Z = S.useRef(), ee = S.useCallback((Ne) => {
|
|
15717
15717
|
process.env.NODE_ENV !== "production" && Ne && Ne.nodeName !== "INPUT" && !Ne.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(`
|
|
15718
15718
|
`));
|
|
@@ -15733,16 +15733,16 @@ const yh = /* @__PURE__ */ s((t, e) => {
|
|
|
15733
15733
|
lp(Ne) ? de && de() : ie && ie();
|
|
15734
15734
|
}, [de, ie]);
|
|
15735
15735
|
On(() => {
|
|
15736
|
-
|
|
15736
|
+
U && ye({
|
|
15737
15737
|
value: W
|
|
15738
15738
|
});
|
|
15739
|
-
}, [W, ye,
|
|
15739
|
+
}, [W, ye, U]);
|
|
15740
15740
|
const Ie = /* @__PURE__ */ s((Ne) => {
|
|
15741
15741
|
A && A(Ne), w.onFocus && w.onFocus(Ne), le && le.onFocus ? le.onFocus(Ne) : ge(!0);
|
|
15742
15742
|
}, "handleFocus"), De = /* @__PURE__ */ s((Ne) => {
|
|
15743
15743
|
D && D(Ne), w.onBlur && w.onBlur(Ne), le && le.onBlur ? le.onBlur(Ne) : ge(!1);
|
|
15744
15744
|
}, "handleBlur"), Te = /* @__PURE__ */ s((Ne, ...At) => {
|
|
15745
|
-
if (!
|
|
15745
|
+
if (!U) {
|
|
15746
15746
|
const ot = Ne.target || Z.current;
|
|
15747
15747
|
if (ot == null)
|
|
15748
15748
|
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." : jo(1));
|
|
@@ -15791,7 +15791,7 @@ const yh = /* @__PURE__ */ s((t, e) => {
|
|
|
15791
15791
|
multiline: N,
|
|
15792
15792
|
size: X.size,
|
|
15793
15793
|
startAdornment: Q,
|
|
15794
|
-
type:
|
|
15794
|
+
type: q
|
|
15795
15795
|
}, ce = bV(Xe), J = H.root || d.Root || vh, ve = F.root || p.root || {}, ze = H.input || d.Input || Sh;
|
|
15796
15796
|
return Ge = {
|
|
15797
15797
|
...Ge,
|
|
@@ -15830,7 +15830,7 @@ const yh = /* @__PURE__ */ s((t, e) => {
|
|
|
15830
15830
|
value: W,
|
|
15831
15831
|
onKeyDown: $,
|
|
15832
15832
|
onKeyUp: L,
|
|
15833
|
-
type:
|
|
15833
|
+
type: q,
|
|
15834
15834
|
...Ge,
|
|
15835
15835
|
...!Fa(ze) && {
|
|
15836
15836
|
as: rt,
|
|
@@ -16626,7 +16626,7 @@ const RV = /* @__PURE__ */ s((t) => {
|
|
|
16626
16626
|
role: void 0,
|
|
16627
16627
|
tabIndex: null
|
|
16628
16628
|
}
|
|
16629
|
-
}), [Q,
|
|
16629
|
+
}), [Q, q] = je("input", {
|
|
16630
16630
|
ref: h,
|
|
16631
16631
|
elementType: AV,
|
|
16632
16632
|
className: V.input,
|
|
@@ -16657,7 +16657,7 @@ const RV = /* @__PURE__ */ s((t) => {
|
|
|
16657
16657
|
return /* @__PURE__ */ Y(F, {
|
|
16658
16658
|
...H,
|
|
16659
16659
|
children: [/* @__PURE__ */ b(Q, {
|
|
16660
|
-
...
|
|
16660
|
+
...q
|
|
16661
16661
|
}), D ? i : p]
|
|
16662
16662
|
});
|
|
16663
16663
|
}, "SwitchBase"));
|
|
@@ -20829,7 +20829,7 @@ const $j = /* @__PURE__ */ s((t) => {
|
|
|
20829
20829
|
}
|
|
20830
20830
|
});
|
|
20831
20831
|
C === "auto" && !F.muiSupportAuto && (V = void 0);
|
|
20832
|
-
const Q = f || (i ? un(Bl(i)).body : void 0), [
|
|
20832
|
+
const Q = f || (i ? un(Bl(i)).body : void 0), [q, {
|
|
20833
20833
|
slots: K,
|
|
20834
20834
|
slotProps: te,
|
|
20835
20835
|
...W
|
|
@@ -20855,7 +20855,7 @@ const $j = /* @__PURE__ */ s((t) => {
|
|
|
20855
20855
|
},
|
|
20856
20856
|
ownerState: R,
|
|
20857
20857
|
className: ae(D.root, p)
|
|
20858
|
-
}), [
|
|
20858
|
+
}), [U, Z] = je("paper", {
|
|
20859
20859
|
ref: N,
|
|
20860
20860
|
className: D.paper,
|
|
20861
20861
|
elementType: UI,
|
|
@@ -20869,9 +20869,9 @@ const $j = /* @__PURE__ */ s((t) => {
|
|
|
20869
20869
|
},
|
|
20870
20870
|
ownerState: R
|
|
20871
20871
|
});
|
|
20872
|
-
return /* @__PURE__ */ b(
|
|
20872
|
+
return /* @__PURE__ */ b(q, {
|
|
20873
20873
|
...W,
|
|
20874
|
-
...!Fa(
|
|
20874
|
+
...!Fa(q) && {
|
|
20875
20875
|
slots: K,
|
|
20876
20876
|
slotProps: te,
|
|
20877
20877
|
disableScrollLock: O
|
|
@@ -20879,7 +20879,7 @@ const $j = /* @__PURE__ */ s((t) => {
|
|
|
20879
20879
|
children: /* @__PURE__ */ b(F, {
|
|
20880
20880
|
...H,
|
|
20881
20881
|
timeout: V,
|
|
20882
|
-
children: /* @__PURE__ */ b(
|
|
20882
|
+
children: /* @__PURE__ */ b(U, {
|
|
20883
20883
|
...Z,
|
|
20884
20884
|
children: d
|
|
20885
20885
|
})
|
|
@@ -21708,14 +21708,14 @@ const Qj = /* @__PURE__ */ s((t) => {
|
|
|
21708
21708
|
controlled: j,
|
|
21709
21709
|
default: p,
|
|
21710
21710
|
name: "Select"
|
|
21711
|
-
}), [Q,
|
|
21711
|
+
}), [Q, q] = Jd({
|
|
21712
21712
|
controlled: P,
|
|
21713
21713
|
default: d,
|
|
21714
21714
|
name: "Select"
|
|
21715
|
-
}), K = S.useRef(null), te = S.useRef(null), [W,
|
|
21715
|
+
}), K = S.useRef(null), te = S.useRef(null), [W, U] = S.useState(null), {
|
|
21716
21716
|
current: Z
|
|
21717
21717
|
} = S.useRef(P != null), [ee, se] = S.useState(), z = jt(n, g), ge = S.useCallback((we) => {
|
|
21718
|
-
te.current = we, we &&
|
|
21718
|
+
te.current = we, we && U(we);
|
|
21719
21719
|
}, []), le = W?.parentNode;
|
|
21720
21720
|
S.useImperativeHandle(z, () => ({
|
|
21721
21721
|
focus: /* @__PURE__ */ s(() => {
|
|
@@ -21752,7 +21752,7 @@ const Qj = /* @__PURE__ */ s((t) => {
|
|
|
21752
21752
|
}
|
|
21753
21753
|
}, [v]);
|
|
21754
21754
|
const de = /* @__PURE__ */ s((we, He) => {
|
|
21755
|
-
we ? D && D(He) : O && O(He), Z || (se(a ? null : le.clientWidth),
|
|
21755
|
+
we ? D && D(He) : O && O(He), Z || (se(a ? null : le.clientWidth), q(we));
|
|
21756
21756
|
}, "update"), ie = /* @__PURE__ */ s((we) => {
|
|
21757
21757
|
R?.(we), we.button === 0 && (we.preventDefault(), te.current.focus(), de(!0, we));
|
|
21758
21758
|
}, "handleMouseDown"), ye = /* @__PURE__ */ s((we) => {
|
|
@@ -22418,9 +22418,9 @@ const o6 = {
|
|
|
22418
22418
|
required: A,
|
|
22419
22419
|
select: L,
|
|
22420
22420
|
variant: F
|
|
22421
|
-
},
|
|
22421
|
+
}, q = i6(Q);
|
|
22422
22422
|
process.env.NODE_ENV !== "production" && L && !a && console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");
|
|
22423
|
-
const K = qs(g), te = y && K ? `${K}-helper-text` : void 0, W = C && K ? `${K}-label` : void 0,
|
|
22423
|
+
const K = qs(g), te = y && K ? `${K}-helper-text` : void 0, W = C && K ? `${K}-label` : void 0, U = o6[F], Z = {
|
|
22424
22424
|
slots: _,
|
|
22425
22425
|
slotProps: {
|
|
22426
22426
|
input: E,
|
|
@@ -22440,7 +22440,7 @@ const o6 = {
|
|
|
22440
22440
|
...H
|
|
22441
22441
|
},
|
|
22442
22442
|
ownerState: Q,
|
|
22443
|
-
className: ae(
|
|
22443
|
+
className: ae(q.root, l),
|
|
22444
22444
|
ref: n,
|
|
22445
22445
|
additionalProps: {
|
|
22446
22446
|
disabled: p,
|
|
@@ -22451,7 +22451,7 @@ const o6 = {
|
|
|
22451
22451
|
variant: F
|
|
22452
22452
|
}
|
|
22453
22453
|
}), [le, X] = je("input", {
|
|
22454
|
-
elementType:
|
|
22454
|
+
elementType: U,
|
|
22455
22455
|
externalForwardedProps: Z,
|
|
22456
22456
|
additionalProps: ee,
|
|
22457
22457
|
ownerState: Q
|
|
@@ -23685,7 +23685,7 @@ const Su = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
23685
23685
|
...I
|
|
23686
23686
|
} = r, _ = /* @__PURE__ */ S.isValidElement(i) ? i : /* @__PURE__ */ b("span", {
|
|
23687
23687
|
children: i
|
|
23688
|
-
}), j = cr(), V = Hs(), [B, F] = S.useState(), [H, Q] = S.useState(null),
|
|
23688
|
+
}), j = cr(), V = Hs(), [B, F] = S.useState(), [H, Q] = S.useState(null), q = S.useRef(!1), K = m || x, te = ms(), W = ms(), U = ms(), Z = ms(), [ee, se] = Jd({
|
|
23689
23689
|
controlled: M,
|
|
23690
23690
|
default: !1,
|
|
23691
23691
|
name: "Tooltip",
|
|
@@ -23715,15 +23715,15 @@ const Su = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
23715
23715
|
rw.start(800 + w, () => {
|
|
23716
23716
|
Ku = !1;
|
|
23717
23717
|
}), se(!1), T && z && T(Ve), te.start(j.transitions.duration.shortest, () => {
|
|
23718
|
-
|
|
23718
|
+
q.current = !1;
|
|
23719
23719
|
});
|
|
23720
23720
|
}
|
|
23721
23721
|
), ye = /* @__PURE__ */ s((Ve) => {
|
|
23722
|
-
|
|
23722
|
+
q.current && Ve.type !== "touchstart" || (B && B.removeAttribute("title"), W.clear(), U.clear(), y || Ku && g ? W.start(Ku ? g : y, () => {
|
|
23723
23723
|
de(Ve);
|
|
23724
23724
|
}) : de(Ve));
|
|
23725
23725
|
}, "handleMouseOver"), Ie = /* @__PURE__ */ s((Ve) => {
|
|
23726
|
-
W.clear(),
|
|
23726
|
+
W.clear(), U.start(w, () => {
|
|
23727
23727
|
ie(Ve);
|
|
23728
23728
|
});
|
|
23729
23729
|
}, "handleMouseLeave"), [, De] = S.useState(!1), Te = /* @__PURE__ */ s((Ve) => {
|
|
@@ -23740,15 +23740,15 @@ const Su = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
23740
23740
|
}, "handleBlur"), be = /* @__PURE__ */ s((Ve) => {
|
|
23741
23741
|
B || F(Ve.currentTarget), Ha(Ve.target) && (De(!0), ye(Ve));
|
|
23742
23742
|
}, "handleFocus"), rt = /* @__PURE__ */ s((Ve) => {
|
|
23743
|
-
|
|
23743
|
+
q.current = !0;
|
|
23744
23744
|
const $t = _.props;
|
|
23745
23745
|
$t.onTouchStart && $t.onTouchStart(Ve);
|
|
23746
23746
|
}, "detectTouchStart"), Ge = /* @__PURE__ */ s((Ve) => {
|
|
23747
|
-
rt(Ve),
|
|
23747
|
+
rt(Ve), U.clear(), te.clear(), X(), le.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", Z.start(v, () => {
|
|
23748
23748
|
document.body.style.WebkitUserSelect = le.current, ye(Ve);
|
|
23749
23749
|
});
|
|
23750
23750
|
}, "handleTouchStart"), Tt = /* @__PURE__ */ s((Ve) => {
|
|
23751
|
-
_.props.onTouchEnd && _.props.onTouchEnd(Ve), X(),
|
|
23751
|
+
_.props.onTouchEnd && _.props.onTouchEnd(Ve), X(), U.start(C, () => {
|
|
23752
23752
|
ie(Ve);
|
|
23753
23753
|
});
|
|
23754
23754
|
}, "handleTouchEnd");
|
|
@@ -23797,7 +23797,7 @@ const Su = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
23797
23797
|
disableInteractive: K,
|
|
23798
23798
|
placement: N,
|
|
23799
23799
|
PopperComponentProp: R,
|
|
23800
|
-
touch:
|
|
23800
|
+
touch: q.current
|
|
23801
23801
|
}, Et = typeof P.popper == "function" ? P.popper(ot) : P.popper, tn = S.useMemo(() => {
|
|
23802
23802
|
let Ve = [{
|
|
23803
23803
|
name: "arrow",
|
|
@@ -24678,7 +24678,7 @@ const iR = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
24678
24678
|
ownerState: B
|
|
24679
24679
|
});
|
|
24680
24680
|
process.env.NODE_ENV !== "production" && d && A && console.error('MUI: You can not use the `centered={true}` and `variant="scrollable"` properties at the same time on a `Tabs` component.');
|
|
24681
|
-
const [
|
|
24681
|
+
const [q, K] = S.useState(!1), [te, W] = S.useState(sw), [U, Z] = S.useState(!1), [ee, se] = S.useState(!1), [z, ge] = S.useState(!1), [le, X] = S.useState({
|
|
24682
24682
|
overflow: "hidden",
|
|
24683
24683
|
scrollbarWidth: 0
|
|
24684
24684
|
}), de = /* @__PURE__ */ new Map(), ie = S.useRef(null), ye = S.useRef(null), Ie = {
|
|
@@ -24799,11 +24799,11 @@ const iR = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
24799
24799
|
...ve,
|
|
24800
24800
|
onChange: ze
|
|
24801
24801
|
}) : null;
|
|
24802
|
-
const qe = A && (E === "auto" && (
|
|
24802
|
+
const qe = A && (E === "auto" && (U || ee) || E === !0);
|
|
24803
24803
|
return Se.scrollButtonStart = qe ? /* @__PURE__ */ b(Ne, {
|
|
24804
24804
|
direction: i ? "right" : "left",
|
|
24805
24805
|
onClick: Tt,
|
|
24806
|
-
disabled: !
|
|
24806
|
+
disabled: !U,
|
|
24807
24807
|
...At
|
|
24808
24808
|
}) : null, Se.scrollButtonEnd = qe ? /* @__PURE__ */ b(Ne, {
|
|
24809
24809
|
direction: i ? "left" : "right",
|
|
@@ -24904,7 +24904,7 @@ const iR = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
24904
24904
|
const qe = ue === R;
|
|
24905
24905
|
return He += 1, /* @__PURE__ */ S.cloneElement(Se, {
|
|
24906
24906
|
fullWidth: D === "fullWidth",
|
|
24907
|
-
indicator: qe && !
|
|
24907
|
+
indicator: qe && !q && we,
|
|
24908
24908
|
selected: qe,
|
|
24909
24909
|
selectionFollowsFocus: w,
|
|
24910
24910
|
onChange: g,
|
|
@@ -24981,7 +24981,7 @@ const iR = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
24981
24981
|
role: "tablist",
|
|
24982
24982
|
...$t,
|
|
24983
24983
|
children: ct
|
|
24984
|
-
}),
|
|
24984
|
+
}), q && we]
|
|
24985
24985
|
}), yn.scrollButtonEnd]
|
|
24986
24986
|
});
|
|
24987
24987
|
}, "Tabs"));
|
|
@@ -27898,16 +27898,16 @@ const kR = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
27898
27898
|
...B,
|
|
27899
27899
|
children: Q
|
|
27900
27900
|
});
|
|
27901
|
-
const
|
|
27901
|
+
const q = /* @__PURE__ */ b(F, {
|
|
27902
27902
|
...H,
|
|
27903
27903
|
children: Q
|
|
27904
27904
|
});
|
|
27905
27905
|
return T === "persistent" ? /* @__PURE__ */ b(V, {
|
|
27906
27906
|
...B,
|
|
27907
|
-
children:
|
|
27907
|
+
children: q
|
|
27908
27908
|
}) : /* @__PURE__ */ b(L, {
|
|
27909
27909
|
...I,
|
|
27910
|
-
children:
|
|
27910
|
+
children: q
|
|
27911
27911
|
});
|
|
27912
27912
|
}, "Drawer"));
|
|
27913
27913
|
process.env.NODE_ENV !== "production" && (kR.propTypes = {
|
|
@@ -28202,11 +28202,11 @@ const cH = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
28202
28202
|
On(() => {
|
|
28203
28203
|
V.current = null;
|
|
28204
28204
|
}, [E]);
|
|
28205
|
-
const B = S.useCallback((W,
|
|
28205
|
+
const B = S.useCallback((W, U = {}) => {
|
|
28206
28206
|
const {
|
|
28207
28207
|
mode: Z = null,
|
|
28208
28208
|
changeTransition: ee = !0
|
|
28209
|
-
} =
|
|
28209
|
+
} = U, se = zl(o, a), z = ["right", "bottom"].includes(se) ? 1 : -1, ge = es(a), le = ge ? `translate(${z * W}px, 0)` : `translate(0, ${z * W}px)`, X = I.current.style;
|
|
28210
28210
|
X.webkitTransform = le, X.transform = le;
|
|
28211
28211
|
let de = "";
|
|
28212
28212
|
if (Z && (de = o.transitions.create("all", Wo({
|
|
@@ -28229,9 +28229,9 @@ const cH = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
28229
28229
|
return;
|
|
28230
28230
|
}
|
|
28231
28231
|
A.current.isSwiping = null;
|
|
28232
|
-
const
|
|
28232
|
+
const U = zl(o, a), Z = es(a);
|
|
28233
28233
|
let ee;
|
|
28234
|
-
Z ? ee = Fm(
|
|
28234
|
+
Z ? ee = Fm(U, W.changedTouches, un(W.currentTarget)) : ee = _m(U, W.changedTouches, En(W.currentTarget));
|
|
28235
28235
|
const se = Z ? A.current.startX : A.current.startY, z = Il(Z, I.current), ge = bw(ee, se, E, z), le = ge / z;
|
|
28236
28236
|
if (Math.abs(A.current.velocity) > h && (V.current = Math.abs((z - ge) / A.current.velocity) * 1e3), E) {
|
|
28237
28237
|
A.current.velocity > h || le > f ? v() : B(0, {
|
|
@@ -28247,8 +28247,8 @@ const cH = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
28247
28247
|
(W || !(u && m)) && Ay.flushSync(() => {
|
|
28248
28248
|
k(!0);
|
|
28249
28249
|
});
|
|
28250
|
-
const
|
|
28251
|
-
!E && I.current && B(Il(
|
|
28250
|
+
const U = es(a);
|
|
28251
|
+
!E && I.current && B(Il(U, I.current) + (u ? 15 : -Lm), {
|
|
28252
28252
|
changeTransition: !1
|
|
28253
28253
|
}), A.current.velocity = 0, A.current.lastTime = null, A.current.lastTranslate = null, A.current.paperHit = !1, j.current = !0;
|
|
28254
28254
|
}
|
|
@@ -28256,7 +28256,7 @@ const cH = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
28256
28256
|
if (!I.current || !j.current || Ao !== null && Ao !== A.current)
|
|
28257
28257
|
return;
|
|
28258
28258
|
H(!0);
|
|
28259
|
-
const
|
|
28259
|
+
const U = zl(o, a), Z = es(a), ee = Fm(U, W.touches, un(W.currentTarget)), se = _m(U, W.touches, En(W.currentTarget));
|
|
28260
28260
|
if (E && I.current.contains(W.target) && Ao === null) {
|
|
28261
28261
|
const de = aH(W.target, I.current);
|
|
28262
28262
|
if (lH({
|
|
@@ -28296,10 +28296,10 @@ const cH = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
28296
28296
|
A.current.lastTranslate === null && (A.current.lastTranslate = le, A.current.lastTime = performance.now() + 1);
|
|
28297
28297
|
const X = (le - A.current.lastTranslate) / (performance.now() - A.current.lastTime) * 1e3;
|
|
28298
28298
|
A.current.velocity = A.current.velocity * 0.4 + X * 0.6, A.current.lastTranslate = le, A.current.lastTime = performance.now(), W.cancelable && W.preventDefault(), B(le);
|
|
28299
|
-
}),
|
|
28299
|
+
}), q = _n((W) => {
|
|
28300
28300
|
if (W.defaultPrevented || W.defaultMuiPrevented || E && (p || !L.current.contains(W.target)) && !I.current.contains(W.target))
|
|
28301
28301
|
return;
|
|
28302
|
-
const
|
|
28302
|
+
const U = zl(o, a), Z = es(a), ee = Fm(U, W.touches, un(W.currentTarget)), se = _m(U, W.touches, En(W.currentTarget));
|
|
28303
28303
|
if (!E) {
|
|
28304
28304
|
if (d || !(W.target === $.current || I.current?.contains(W.target) && (typeof m == "function" ? m(W, $.current, I.current) : m)))
|
|
28305
28305
|
return;
|
|
@@ -28314,15 +28314,15 @@ const cH = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
28314
28314
|
S.useEffect(() => {
|
|
28315
28315
|
if (M === "temporary") {
|
|
28316
28316
|
const W = un(I.current);
|
|
28317
|
-
return W.addEventListener("touchstart",
|
|
28317
|
+
return W.addEventListener("touchstart", q), W.addEventListener("touchmove", Q, {
|
|
28318
28318
|
passive: !E
|
|
28319
28319
|
}), W.addEventListener("touchend", F), () => {
|
|
28320
|
-
W.removeEventListener("touchstart",
|
|
28320
|
+
W.removeEventListener("touchstart", q), W.removeEventListener("touchmove", Q, {
|
|
28321
28321
|
passive: !E
|
|
28322
28322
|
}), W.removeEventListener("touchend", F);
|
|
28323
28323
|
};
|
|
28324
28324
|
}
|
|
28325
|
-
}, [M, E,
|
|
28325
|
+
}, [M, E, q, Q, F]), S.useEffect(() => () => {
|
|
28326
28326
|
Ao === A.current && (Ao = null);
|
|
28327
28327
|
}, []), S.useEffect(() => {
|
|
28328
28328
|
E || k(!1);
|
|
@@ -30494,7 +30494,7 @@ const p9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
30494
30494
|
slots: $,
|
|
30495
30495
|
slotProps: L,
|
|
30496
30496
|
...I
|
|
30497
|
-
} = t, [_, j] = S.useState(0), V = S.useRef(null), [B, F] = S.useState({ top: 2, left: 8, h: 28 }), H = Ir((G) => G.breakpoints.down("md")), Q = dh(t),
|
|
30497
|
+
} = t, [_, j] = S.useState(0), V = S.useRef(null), [B, F] = S.useState({ top: 2, left: 8, h: 28 }), H = Ir((G) => G.breakpoints.down("md")), Q = dh(t), q = lt(), [K] = zv(), te = (K === "en" ? J0 : X0).components.MuiDataGrid.defaultProps.localeText, W = GH(), U = pt(t), {
|
|
30498
30498
|
props: {
|
|
30499
30499
|
bulkActionButtons: Z = r,
|
|
30500
30500
|
hasCreate: ee,
|
|
@@ -30659,7 +30659,7 @@ const p9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
30659
30659
|
),
|
|
30660
30660
|
groupFields: JSON.stringify(oe.groupFields ?? []),
|
|
30661
30661
|
groupKeys: JSON.stringify(oe.groupKeys ?? [])
|
|
30662
|
-
}, nr = we.getList(
|
|
30662
|
+
}, nr = we.getList(U, {
|
|
30663
30663
|
pagination: { page: ft, perPage: Gt },
|
|
30664
30664
|
sort: { field: Io, order: xe },
|
|
30665
30665
|
filter: st,
|
|
@@ -30735,7 +30735,7 @@ const p9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
30735
30735
|
we,
|
|
30736
30736
|
At,
|
|
30737
30737
|
ce,
|
|
30738
|
-
|
|
30738
|
+
U,
|
|
30739
30739
|
I?.meta,
|
|
30740
30740
|
Te?.meta,
|
|
30741
30741
|
sn.field,
|
|
@@ -30749,7 +30749,7 @@ const p9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
30749
30749
|
};
|
|
30750
30750
|
},
|
|
30751
30751
|
[]
|
|
30752
|
-
), K2 = P ?? (Ou ? G2 : void 0), { showCreate: HS, showEdit: Zh, showShow: Y2 } = Y0({ resource:
|
|
30752
|
+
), K2 = P ?? (Ou ? G2 : void 0), { showCreate: HS, showEdit: Zh, showShow: Y2 } = Y0({ resource: U }), hl = nt(Nn) || {}, {
|
|
30753
30753
|
user: ku = [],
|
|
30754
30754
|
lang: qS = []
|
|
30755
30755
|
} = hl, J2 = Ic(hl, "borrar") || Ic(hl, "delete"), Mu = O && !J2, em = nt(YM), ei = Q0(), Iu = (J.current?.state?.rowGrouping?.model?.length ?? 0) > 0, US = Iu && !ce ? `${B.h + 4}px` : 0;
|
|
@@ -30801,7 +30801,7 @@ const p9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
30801
30801
|
}
|
|
30802
30802
|
);
|
|
30803
30803
|
}, "renderCell")
|
|
30804
|
-
}, ml = S.useMemo(() => `metiri_rowGrouping_${(
|
|
30804
|
+
}, ml = S.useMemo(() => `metiri_rowGrouping_${(U || "").toString().trim() || "default"}`, [U]), Js = S.useMemo(() => {
|
|
30805
30805
|
try {
|
|
30806
30806
|
const G = localStorage.getItem(ml), oe = G ? JSON.parse(G) : [];
|
|
30807
30807
|
return Array.isArray(oe) ? oe : [];
|
|
@@ -30915,7 +30915,7 @@ const p9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
30915
30915
|
), ft = C && at, an = ex.current, Io = (G.row?.id == null || G.row?.id === "") && Ye, xe = oe?.type === "group" || Io ? void 0 : G.row?.id ?? G.id, Ot = xe ? /* @__PURE__ */ b(
|
|
30916
30916
|
Zs,
|
|
30917
30917
|
{
|
|
30918
|
-
label:
|
|
30918
|
+
label: q("ra.action.show"),
|
|
30919
30919
|
icon: /* @__PURE__ */ b(rp, { color: "primary" }),
|
|
30920
30920
|
onClick: /* @__PURE__ */ s((st) => {
|
|
30921
30921
|
st && (st.defaultMuiPrevented = !0, st.stopPropagation()), Y2({ id: xe, record: G.row });
|
|
@@ -30960,7 +30960,7 @@ const p9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
30960
30960
|
{
|
|
30961
30961
|
sx: yb,
|
|
30962
30962
|
onClick: st,
|
|
30963
|
-
label:
|
|
30963
|
+
label: q("ra.action.delete"),
|
|
30964
30964
|
icon: HR(
|
|
30965
30965
|
g,
|
|
30966
30966
|
/* @__PURE__ */ b(du, {})
|
|
@@ -30985,7 +30985,7 @@ const p9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
30985
30985
|
{
|
|
30986
30986
|
sx: yb,
|
|
30987
30987
|
onClick: st,
|
|
30988
|
-
label:
|
|
30988
|
+
label: q("pos.create_from"),
|
|
30989
30989
|
icon: /* @__PURE__ */ b(np, {}),
|
|
30990
30990
|
showInMenu: !0
|
|
30991
30991
|
},
|
|
@@ -30998,7 +30998,7 @@ const p9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
30998
30998
|
ft ? Ot : /* @__PURE__ */ b(
|
|
30999
30999
|
Zs,
|
|
31000
31000
|
{
|
|
31001
|
-
label:
|
|
31001
|
+
label: q("ra.action.edit"),
|
|
31002
31002
|
icon: c9(
|
|
31003
31003
|
y,
|
|
31004
31004
|
/* @__PURE__ */ b(
|
|
@@ -31025,7 +31025,7 @@ const p9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
31025
31025
|
/* @__PURE__ */ b(
|
|
31026
31026
|
Zs,
|
|
31027
31027
|
{
|
|
31028
|
-
label: "ra.action.create",
|
|
31028
|
+
label: q("ra.action.create"),
|
|
31029
31029
|
icon: /* @__PURE__ */ b(uu, { color: "primary" }),
|
|
31030
31030
|
onClick: /* @__PURE__ */ s((st) => {
|
|
31031
31031
|
st && (st.defaultMuiPrevented = !0, st.stopPropagation());
|
|
@@ -31057,8 +31057,8 @@ const p9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
31057
31057
|
C,
|
|
31058
31058
|
a,
|
|
31059
31059
|
M,
|
|
31060
|
-
q,
|
|
31061
31060
|
U,
|
|
31061
|
+
q,
|
|
31062
31062
|
Xs,
|
|
31063
31063
|
ce
|
|
31064
31064
|
]), qn = JH({
|
|
@@ -31471,10 +31471,10 @@ const p9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
31471
31471
|
uk,
|
|
31472
31472
|
{
|
|
31473
31473
|
selectedIds: _t,
|
|
31474
|
-
selectAllButton: H && He.some((G) => !_t.includes(G.id)) ? /* @__PURE__ */ b(Ur, { title:
|
|
31474
|
+
selectAllButton: H && He.some((G) => !_t.includes(G.id)) ? /* @__PURE__ */ b(Ur, { title: q("pos.select_all"), children: /* @__PURE__ */ b(
|
|
31475
31475
|
Pn,
|
|
31476
31476
|
{
|
|
31477
|
-
"aria-label":
|
|
31477
|
+
"aria-label": q("pos.select_all"),
|
|
31478
31478
|
color: "primary",
|
|
31479
31479
|
size: "small",
|
|
31480
31480
|
onClick: oN,
|
|
@@ -31772,7 +31772,7 @@ const p9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
31772
31772
|
)?.[0] ?? H;
|
|
31773
31773
|
} catch {
|
|
31774
31774
|
}
|
|
31775
|
-
const Q = e.find((z) => z.field === H),
|
|
31775
|
+
const Q = e.find((z) => z.field === H), q = Q ? (z) => Q.groupingValueGetter?.(
|
|
31776
31776
|
z?.[H],
|
|
31777
31777
|
z
|
|
31778
31778
|
) ?? z?.[H] : void 0, K = a ? a.split(",").map((z) => z.trim()).filter(Boolean) : [], W = (K.length ? K.map(
|
|
@@ -31782,7 +31782,7 @@ const p9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
31782
31782
|
).filter(Boolean) : e).map((z) => ({
|
|
31783
31783
|
...z,
|
|
31784
31784
|
headerName: C[z.field.replace("_lis", "")] ?? z.headerName
|
|
31785
|
-
})),
|
|
31785
|
+
})), U = /* @__PURE__ */ s(() => {
|
|
31786
31786
|
F({ overlay: null, params: null });
|
|
31787
31787
|
}, "handleCloseOverlay"), Z = S.useMemo(
|
|
31788
31788
|
() => ({
|
|
@@ -31795,7 +31795,7 @@ const p9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
31795
31795
|
apiRef: _,
|
|
31796
31796
|
showAction: N,
|
|
31797
31797
|
primaryText: n,
|
|
31798
|
-
primaryTextPrefix:
|
|
31798
|
+
primaryTextPrefix: q,
|
|
31799
31799
|
secondaryText: r ?? Q?.headerName
|
|
31800
31800
|
}
|
|
31801
31801
|
), "renderCell")
|
|
@@ -31943,7 +31943,7 @@ const p9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
31943
31943
|
{
|
|
31944
31944
|
open: B.overlay === "actions",
|
|
31945
31945
|
container: P,
|
|
31946
|
-
onClose:
|
|
31946
|
+
onClose: U,
|
|
31947
31947
|
params: B.params,
|
|
31948
31948
|
actions: M,
|
|
31949
31949
|
hasEdit: g ? !1 : l,
|
|
@@ -32300,11 +32300,11 @@ const p9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
32300
32300
|
label: void 0
|
|
32301
32301
|
}, { hidden: H } = _ || {}, {
|
|
32302
32302
|
enviarTodo: Q = !1,
|
|
32303
|
-
disabled:
|
|
32303
|
+
disabled: q,
|
|
32304
32304
|
hidden: K,
|
|
32305
32305
|
enableLoad: te,
|
|
32306
32306
|
useContenido: W = yu,
|
|
32307
|
-
onBeforeSubmitAsistente:
|
|
32307
|
+
onBeforeSubmitAsistente: U,
|
|
32308
32308
|
onAfterSubmitAsistente: Z,
|
|
32309
32309
|
allowEdit: ee,
|
|
32310
32310
|
allowAdd: se,
|
|
@@ -32314,7 +32314,7 @@ const p9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
32314
32314
|
slotProps: X,
|
|
32315
32315
|
initialState: de,
|
|
32316
32316
|
validateAllowAdd: ie
|
|
32317
|
-
} = $ || {}, ye = `${h}_enviartodo`, [Ie, De] = S.useState(r), [{ field: Te, sort: be }] = r, rt = B || p ||
|
|
32317
|
+
} = $ || {}, ye = `${h}_enviartodo`, [Ie, De] = S.useState(r), [{ field: Te, sort: be }] = r, rt = B || p || q, Ge = H !== void 0 ? H : V ? !0 : K !== void 0 ? K : f, Tt = L.enableLoad ?? te ?? d, Xe = ee ?? a, ce = se ?? l, J = z ?? u;
|
|
32318
32318
|
let ve = { ...g };
|
|
32319
32319
|
O && e.split(",").forEach((ue) => {
|
|
32320
32320
|
ue && (ve[ue] = [
|
|
@@ -32424,7 +32424,7 @@ const p9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
32424
32424
|
{
|
|
32425
32425
|
...w,
|
|
32426
32426
|
source: h,
|
|
32427
|
-
onBeforeSubmitAsistente:
|
|
32427
|
+
onBeforeSubmitAsistente: U,
|
|
32428
32428
|
onAfterSubmitAsistente: Z,
|
|
32429
32429
|
enviarTodo: Q,
|
|
32430
32430
|
camposClaveFila: n,
|
|
@@ -32443,7 +32443,7 @@ const p9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
32443
32443
|
...w,
|
|
32444
32444
|
validateAllowAdd: ie,
|
|
32445
32445
|
source: h,
|
|
32446
|
-
onBeforeSubmitAsistente:
|
|
32446
|
+
onBeforeSubmitAsistente: U,
|
|
32447
32447
|
onAfterSubmitAsistente: Z,
|
|
32448
32448
|
enviarTodo: Q,
|
|
32449
32449
|
camposClaveFila: n
|
|
@@ -32462,7 +32462,7 @@ const p9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
32462
32462
|
{
|
|
32463
32463
|
...w,
|
|
32464
32464
|
source: h,
|
|
32465
|
-
onBeforeSubmitAsistente:
|
|
32465
|
+
onBeforeSubmitAsistente: U,
|
|
32466
32466
|
onAfterSubmitAsistente: Z,
|
|
32467
32467
|
enviarTodo: Q,
|
|
32468
32468
|
camposClaveFila: n,
|
|
@@ -33224,7 +33224,7 @@ const nP = /* @__PURE__ */ s(() => {
|
|
|
33224
33224
|
enabled: n && !f
|
|
33225
33225
|
},
|
|
33226
33226
|
w
|
|
33227
|
-
), O = f?.record || f?.initialValues || C, M = f ? !1 : T, N = y && typeof y == "object" && !Array.isArray(y) ? { ...
|
|
33227
|
+
), O = f?.record || f?.initialValues || C, M = f ? !1 : T, N = y && typeof y == "object" && !Array.isArray(y) ? { ...O || {}, ...y } : O, R = tt(
|
|
33228
33228
|
() => ({
|
|
33229
33229
|
estado: m,
|
|
33230
33230
|
initialValues: N || {},
|
|
@@ -33547,7 +33547,7 @@ const nP = /* @__PURE__ */ s(() => {
|
|
|
33547
33547
|
let H = null;
|
|
33548
33548
|
const Q = typeof ResizeObserver < "u" ? new ResizeObserver(() => {
|
|
33549
33549
|
K();
|
|
33550
|
-
}) : null,
|
|
33550
|
+
}) : null, q = typeof MutationObserver < "u" ? new MutationObserver(() => {
|
|
33551
33551
|
K();
|
|
33552
33552
|
}) : null;
|
|
33553
33553
|
function K() {
|
|
@@ -33557,14 +33557,14 @@ const nP = /* @__PURE__ */ s(() => {
|
|
|
33557
33557
|
H !== te && (H && Q && Q.unobserve(H), H = te, H && Q && Q.observe(H));
|
|
33558
33558
|
const W = H ? Math.ceil(H.getBoundingClientRect().height) : Ww;
|
|
33559
33559
|
k(
|
|
33560
|
-
(
|
|
33560
|
+
(U) => U === W ? U : W
|
|
33561
33561
|
);
|
|
33562
33562
|
}
|
|
33563
|
-
return s(K, "syncPaginationHeight"),
|
|
33563
|
+
return s(K, "syncPaginationHeight"), q?.observe(F, {
|
|
33564
33564
|
childList: !0,
|
|
33565
33565
|
subtree: !0
|
|
33566
33566
|
}), K(), () => {
|
|
33567
|
-
|
|
33567
|
+
q?.disconnect(), H && Q && Q.unobserve(H), Q?.disconnect();
|
|
33568
33568
|
};
|
|
33569
33569
|
}, []), x === null)
|
|
33570
33570
|
return /* @__PURE__ */ b(Ws, { loadingPrimary: "", loadingSecondary: "", timeout: 0 });
|
|
@@ -34332,9 +34332,9 @@ const nP = /* @__PURE__ */ s(() => {
|
|
|
34332
34332
|
pivotUi: H = "mui",
|
|
34333
34333
|
apiRef: Q
|
|
34334
34334
|
}
|
|
34335
|
-
} = Xo(),
|
|
34335
|
+
} = Xo(), q = !F && j === "pivot" ? "grilla" : j, { showCreate: K } = Y0({ resource: M }), te = Ir((X) => X.breakpoints.down("md"));
|
|
34336
34336
|
CN(e, () => I.current);
|
|
34337
|
-
const W = { ...D, ...E },
|
|
34337
|
+
const W = { ...D, ...E }, U = /* @__PURE__ */ s((X) => {
|
|
34338
34338
|
m(X.currentTarget);
|
|
34339
34339
|
}, "handleOpenMenu"), Z = /* @__PURE__ */ s(() => {
|
|
34340
34340
|
m(null), y(null);
|
|
@@ -34432,7 +34432,7 @@ const nP = /* @__PURE__ */ s(() => {
|
|
|
34432
34432
|
onClick: /* @__PURE__ */ s(() => V("pivot"), "onClick")
|
|
34433
34433
|
}), [{
|
|
34434
34434
|
type: "MenuButton",
|
|
34435
|
-
label:
|
|
34435
|
+
label: q === "pivot" ? "Pivot" : x(q === "grilla" ? "pos.view_grid" : "pos.view_card"),
|
|
34436
34436
|
icon: /* @__PURE__ */ b(Gw, {}),
|
|
34437
34437
|
options: de,
|
|
34438
34438
|
selectOnClick: !0,
|
|
@@ -34443,7 +34443,7 @@ const nP = /* @__PURE__ */ s(() => {
|
|
|
34443
34443
|
return X;
|
|
34444
34444
|
}, [
|
|
34445
34445
|
P,
|
|
34446
|
-
|
|
34446
|
+
q,
|
|
34447
34447
|
B,
|
|
34448
34448
|
te,
|
|
34449
34449
|
F,
|
|
@@ -34497,8 +34497,8 @@ const nP = /* @__PURE__ */ s(() => {
|
|
|
34497
34497
|
}
|
|
34498
34498
|
),
|
|
34499
34499
|
d !== !1 && /* @__PURE__ */ b(h8, { resource: M }),
|
|
34500
|
-
F && H !== "custom" &&
|
|
34501
|
-
!l && le.length > 0 && /* @__PURE__ */ b(Pn, { onClick:
|
|
34500
|
+
F && H !== "custom" && q === "pivot" && /* @__PURE__ */ b(Pn, { onClick: se, children: /* @__PURE__ */ b(np, {}) }),
|
|
34501
|
+
!l && le.length > 0 && /* @__PURE__ */ b(Pn, { onClick: U, children: /* @__PURE__ */ b(d8, {}) }),
|
|
34502
34502
|
!l && le.length > 0 && /* @__PURE__ */ b(
|
|
34503
34503
|
$a,
|
|
34504
34504
|
{
|
|
@@ -35601,7 +35601,7 @@ const une = /* @__PURE__ */ s((t) => {
|
|
|
35601
35601
|
H < T ? O(H) : H >= F && O(H - C + 1), A.current = D;
|
|
35602
35602
|
}, [P, C, T]);
|
|
35603
35603
|
const $ = tt(() => R.map(({ tab: F, tabIndex: H }) => {
|
|
35604
|
-
const Q = a ? Du(F, H) : H,
|
|
35604
|
+
const Q = a ? Du(F, H) : H, q = E || H >= T && H < T + C, K = F.props?.style ?? {}, te = q ? K : {
|
|
35605
35605
|
...K,
|
|
35606
35606
|
minWidth: 0,
|
|
35607
35607
|
maxWidth: 0,
|
|
@@ -36528,14 +36528,14 @@ const eT = S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
36528
36528
|
...H,
|
|
36529
36529
|
...V.sx || {}
|
|
36530
36530
|
}
|
|
36531
|
-
},
|
|
36531
|
+
}, q = /* @__PURE__ */ s((K, te) => {
|
|
36532
36532
|
x && te !== "backdropClick" && O();
|
|
36533
36533
|
}, "handleClose");
|
|
36534
36534
|
return M === "confirm" ? /* @__PURE__ */ b(
|
|
36535
36535
|
Wd,
|
|
36536
36536
|
{
|
|
36537
36537
|
open: !0,
|
|
36538
|
-
onClose:
|
|
36538
|
+
onClose: q,
|
|
36539
36539
|
fullWidth: !0,
|
|
36540
36540
|
maxWidth: "sm",
|
|
36541
36541
|
TransitionComponent: eT,
|
|
@@ -36558,7 +36558,7 @@ const eT = S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
36558
36558
|
Wd,
|
|
36559
36559
|
{
|
|
36560
36560
|
open: !0,
|
|
36561
|
-
onClose:
|
|
36561
|
+
onClose: q,
|
|
36562
36562
|
fullWidth: !0,
|
|
36563
36563
|
fullScreen: M === "vista",
|
|
36564
36564
|
maxWidth: M === "vista" ? "lg" : "sm",
|
|
@@ -38045,8 +38045,8 @@ const c7 = me([/* @__PURE__ */ b("circle", {
|
|
|
38045
38045
|
const V = l.indexOf(I), B = [...l];
|
|
38046
38046
|
if (j.shiftKey && d !== null) {
|
|
38047
38047
|
const F = Math.min(d, _), H = Math.max(d, _);
|
|
38048
|
-
M.slice(F, H + 1).map((
|
|
38049
|
-
B.includes(
|
|
38048
|
+
M.slice(F, H + 1).map((q) => q.id).forEach((q) => {
|
|
38049
|
+
B.includes(q) || B.push(q);
|
|
38050
38050
|
});
|
|
38051
38051
|
} else
|
|
38052
38052
|
V === -1 ? B.push(I) : B.splice(V, 1);
|
|
@@ -38161,7 +38161,7 @@ const c7 = me([/* @__PURE__ */ b("circle", {
|
|
|
38161
38161
|
overflow: "auto"
|
|
38162
38162
|
},
|
|
38163
38163
|
children: F.map((H, Q) => {
|
|
38164
|
-
const
|
|
38164
|
+
const q = `transfer-list-item-${H.id}-label`;
|
|
38165
38165
|
return /* @__PURE__ */ Y(
|
|
38166
38166
|
_o,
|
|
38167
38167
|
{
|
|
@@ -38182,7 +38182,7 @@ const c7 = me([/* @__PURE__ */ b("circle", {
|
|
|
38182
38182
|
tabIndex: -1,
|
|
38183
38183
|
disableRipple: !0,
|
|
38184
38184
|
inputProps: {
|
|
38185
|
-
"aria-labelledby":
|
|
38185
|
+
"aria-labelledby": q
|
|
38186
38186
|
},
|
|
38187
38187
|
sx: /* @__PURE__ */ s((K) => ({
|
|
38188
38188
|
color: K.palette.primary.main,
|
|
@@ -38195,7 +38195,7 @@ const c7 = me([/* @__PURE__ */ b("circle", {
|
|
|
38195
38195
|
/* @__PURE__ */ b(
|
|
38196
38196
|
yo,
|
|
38197
38197
|
{
|
|
38198
|
-
id:
|
|
38198
|
+
id: q,
|
|
38199
38199
|
primary: H.etiqueta || H.name || `Item ${H.id}`,
|
|
38200
38200
|
primaryTypographyProps: {
|
|
38201
38201
|
variant: "body2",
|
|
@@ -41114,7 +41114,7 @@ const Tq = /* @__PURE__ */ s((t) => {
|
|
|
41114
41114
|
X.style[I] = `${ie}px`, X.style.transitionTimingFunction = Ie, h && h(X, de);
|
|
41115
41115
|
}), Q = V((X, de) => {
|
|
41116
41116
|
X.style[I] = "auto", m && m(X, de);
|
|
41117
|
-
}),
|
|
41117
|
+
}), q = V((X) => {
|
|
41118
41118
|
X.style[I] = `${B()}px`, y && y(X);
|
|
41119
41119
|
}), K = V(g), te = V((X) => {
|
|
41120
41120
|
const de = B(), {
|
|
@@ -41135,7 +41135,7 @@ const Tq = /* @__PURE__ */ s((t) => {
|
|
|
41135
41135
|
X.style[I] = $, X.style.transitionTimingFunction = ye, v && v(X);
|
|
41136
41136
|
}), W = /* @__PURE__ */ s((X) => {
|
|
41137
41137
|
T === "auto" && P.start(A.current || 0, X), o && o(_.current, X);
|
|
41138
|
-
}, "handleAddEndListener"),
|
|
41138
|
+
}, "handleAddEndListener"), U = {
|
|
41139
41139
|
slots: E,
|
|
41140
41140
|
slotProps: w,
|
|
41141
41141
|
component: u
|
|
@@ -41143,7 +41143,7 @@ const Tq = /* @__PURE__ */ s((t) => {
|
|
|
41143
41143
|
ref: j,
|
|
41144
41144
|
className: ae(R.root, a),
|
|
41145
41145
|
elementType: Eq,
|
|
41146
|
-
externalForwardedProps:
|
|
41146
|
+
externalForwardedProps: U,
|
|
41147
41147
|
ownerState: N,
|
|
41148
41148
|
additionalProps: {
|
|
41149
41149
|
style: {
|
|
@@ -41155,12 +41155,12 @@ const Tq = /* @__PURE__ */ s((t) => {
|
|
|
41155
41155
|
ref: k,
|
|
41156
41156
|
className: R.wrapper,
|
|
41157
41157
|
elementType: Oq,
|
|
41158
|
-
externalForwardedProps:
|
|
41158
|
+
externalForwardedProps: U,
|
|
41159
41159
|
ownerState: N
|
|
41160
41160
|
}), [ge, le] = je("wrapperInner", {
|
|
41161
41161
|
className: R.wrapperInner,
|
|
41162
41162
|
elementType: kq,
|
|
41163
|
-
externalForwardedProps:
|
|
41163
|
+
externalForwardedProps: U,
|
|
41164
41164
|
ownerState: N
|
|
41165
41165
|
});
|
|
41166
41166
|
return /* @__PURE__ */ b(O, {
|
|
@@ -41168,7 +41168,7 @@ const Tq = /* @__PURE__ */ s((t) => {
|
|
|
41168
41168
|
onEnter: F,
|
|
41169
41169
|
onEntered: Q,
|
|
41170
41170
|
onEntering: H,
|
|
41171
|
-
onExit:
|
|
41171
|
+
onExit: q,
|
|
41172
41172
|
onExited: K,
|
|
41173
41173
|
onExiting: te,
|
|
41174
41174
|
addEndListener: W,
|
|
@@ -41343,25 +41343,25 @@ const Mq = /* @__PURE__ */ s((t, e, n) => typeof n == "function" ? n(t, e) : n,
|
|
|
41343
41343
|
rootRefObject: v,
|
|
41344
41344
|
contentRefObject: x,
|
|
41345
41345
|
interactions: y
|
|
41346
|
-
}, R = /* @__PURE__ */ s((W) => (
|
|
41347
|
-
W.onFocus?.(
|
|
41348
|
-
}, "createRootHandleFocus"), D = /* @__PURE__ */ s((W) => (
|
|
41349
|
-
if (W.onBlur?.(
|
|
41346
|
+
}, R = /* @__PURE__ */ s((W) => (U) => {
|
|
41347
|
+
W.onFocus?.(U), !U.defaultMuiPrevented && !g.focused && Oe.canItemBeFocused(r.state, l) && U.currentTarget === U.target && r.focus.focusItem(U, l);
|
|
41348
|
+
}, "createRootHandleFocus"), D = /* @__PURE__ */ s((W) => (U) => {
|
|
41349
|
+
if (W.onBlur?.(U), U.defaultMuiPrevented)
|
|
41350
41350
|
return;
|
|
41351
41351
|
const Z = r.items.getItemDOMElement(l);
|
|
41352
41352
|
g.editing || // we can exit the editing state by clicking outside the input (within the Tree Item) or by pressing Enter or Escape -> we don't want to remove the focused item from the state in these cases
|
|
41353
41353
|
// we can also exit the editing state by clicking on the root itself -> want to remove the focused item from the state in this case
|
|
41354
|
-
|
|
41355
|
-
}, "createRootHandleBlur"), P = /* @__PURE__ */ s((W) => (
|
|
41356
|
-
W.onKeyDown?.(
|
|
41357
|
-
}, "createRootHandleKeyDown"), k = /* @__PURE__ */ s((W) => (
|
|
41358
|
-
W.onDoubleClick?.(
|
|
41359
|
-
}, "createLabelHandleDoubleClick"), A = /* @__PURE__ */ s((W) => (
|
|
41360
|
-
W.onClick?.(
|
|
41361
|
-
}, "createContentHandleClick"), $ = /* @__PURE__ */ s((W) => (
|
|
41362
|
-
W.onMouseDown?.(
|
|
41363
|
-
}, "createContentHandleMouseDown"), L = /* @__PURE__ */ s((W) => (
|
|
41364
|
-
W.onClick?.(
|
|
41354
|
+
U.relatedTarget && Ob(U.relatedTarget, Z) && (U.target && U.target?.dataset?.element === "labelInput" && Ob(U.target, Z) || U.relatedTarget?.dataset?.element === "labelInput") || r.focus.removeFocusedItem();
|
|
41355
|
+
}, "createRootHandleBlur"), P = /* @__PURE__ */ s((W) => (U) => {
|
|
41356
|
+
W.onKeyDown?.(U), !(U.defaultMuiPrevented || U.target?.dataset?.element === "labelInput") && r.keyboardNavigation.handleItemKeyDown(U, l);
|
|
41357
|
+
}, "createRootHandleKeyDown"), k = /* @__PURE__ */ s((W) => (U) => {
|
|
41358
|
+
W.onDoubleClick?.(U), !U.defaultMuiPrevented && y.toggleItemEditing();
|
|
41359
|
+
}, "createLabelHandleDoubleClick"), A = /* @__PURE__ */ s((W) => (U) => {
|
|
41360
|
+
W.onClick?.(U), r.items.handleItemClick(U, l), !(U.defaultMuiPrevented || C.current?.contains(U.target)) && (Yt.triggerSlot(r.state) === "content" && y.handleExpansion(U), T || y.handleSelection(U));
|
|
41361
|
+
}, "createContentHandleClick"), $ = /* @__PURE__ */ s((W) => (U) => {
|
|
41362
|
+
W.onMouseDown?.(U), !U.defaultMuiPrevented && (U.shiftKey || U.ctrlKey || U.metaKey || g.disabled) && U.preventDefault();
|
|
41363
|
+
}, "createContentHandleMouseDown"), L = /* @__PURE__ */ s((W) => (U) => {
|
|
41364
|
+
W.onClick?.(U), !U.defaultMuiPrevented && Yt.triggerSlot(r.state) === "iconContainer" && y.handleExpansion(U);
|
|
41365
41365
|
}, "createIconContainerHandleClick");
|
|
41366
41366
|
return {
|
|
41367
41367
|
getContextProviderProps: /* @__PURE__ */ s(() => ({
|
|
@@ -41369,7 +41369,7 @@ const Mq = /* @__PURE__ */ s((t, e, n) => typeof n == "function" ? n(t, e) : n,
|
|
|
41369
41369
|
id: a
|
|
41370
41370
|
}), "getContextProviderProps"),
|
|
41371
41371
|
getRootProps: /* @__PURE__ */ s((W = {}) => {
|
|
41372
|
-
const
|
|
41372
|
+
const U = Ce({}, gr(t), gr(W)), Z = Ce({}, U, {
|
|
41373
41373
|
ref: E,
|
|
41374
41374
|
role: "treeitem",
|
|
41375
41375
|
tabIndex: M ? 0 : -1,
|
|
@@ -41380,32 +41380,32 @@ const Mq = /* @__PURE__ */ s((t, e, n) => typeof n == "function" ? n(t, e) : n,
|
|
|
41380
41380
|
style: Ce({}, W.style ?? {}, {
|
|
41381
41381
|
"--TreeView-itemDepth": i
|
|
41382
41382
|
}),
|
|
41383
|
-
onFocus: R(
|
|
41384
|
-
onBlur: D(
|
|
41385
|
-
onKeyDown: P(
|
|
41383
|
+
onFocus: R(U),
|
|
41384
|
+
onBlur: D(U),
|
|
41385
|
+
onKeyDown: P(U)
|
|
41386
41386
|
}), ee = h.root?.(Ce({}, N, {
|
|
41387
|
-
externalEventHandlers:
|
|
41387
|
+
externalEventHandlers: U
|
|
41388
41388
|
})) ?? {};
|
|
41389
41389
|
return Ce({}, Z, ee);
|
|
41390
41390
|
}, "getRootProps"),
|
|
41391
41391
|
getContentProps: /* @__PURE__ */ s((W = {}) => {
|
|
41392
|
-
const
|
|
41392
|
+
const U = gr(W), Z = Ce({}, U, W, {
|
|
41393
41393
|
ref: w,
|
|
41394
|
-
onClick: A(
|
|
41395
|
-
onMouseDown: $(
|
|
41394
|
+
onClick: A(U),
|
|
41395
|
+
onMouseDown: $(U),
|
|
41396
41396
|
status: g
|
|
41397
41397
|
});
|
|
41398
41398
|
["expanded", "selected", "focused", "disabled", "editing", "editable"].forEach((se) => {
|
|
41399
41399
|
g[se] && (Z[`data-${se}`] = "");
|
|
41400
41400
|
});
|
|
41401
41401
|
const ee = h.content?.(Ce({}, N, {
|
|
41402
|
-
externalEventHandlers:
|
|
41402
|
+
externalEventHandlers: U
|
|
41403
41403
|
})) ?? {};
|
|
41404
41404
|
return Ce({}, Z, ee);
|
|
41405
41405
|
}, "getContentProps"),
|
|
41406
41406
|
getGroupTransitionProps: /* @__PURE__ */ s((W = {}) => {
|
|
41407
|
-
const
|
|
41408
|
-
return Ce({},
|
|
41407
|
+
const U = gr(W);
|
|
41408
|
+
return Ce({}, U, {
|
|
41409
41409
|
unmountOnExit: !0,
|
|
41410
41410
|
component: "ul",
|
|
41411
41411
|
role: "group",
|
|
@@ -41414,52 +41414,52 @@ const Mq = /* @__PURE__ */ s((t, e, n) => typeof n == "function" ? n(t, e) : n,
|
|
|
41414
41414
|
}, W);
|
|
41415
41415
|
}, "getGroupTransitionProps"),
|
|
41416
41416
|
getIconContainerProps: /* @__PURE__ */ s((W = {}) => {
|
|
41417
|
-
const
|
|
41418
|
-
return Ce({},
|
|
41419
|
-
onClick: L(
|
|
41417
|
+
const U = gr(W);
|
|
41418
|
+
return Ce({}, U, W, {
|
|
41419
|
+
onClick: L(U)
|
|
41420
41420
|
});
|
|
41421
41421
|
}, "getIconContainerProps"),
|
|
41422
41422
|
getCheckboxProps: /* @__PURE__ */ s((W = {}) => {
|
|
41423
|
-
const
|
|
41423
|
+
const U = gr(W), Z = Ce({}, U, {
|
|
41424
41424
|
ref: C,
|
|
41425
41425
|
"aria-hidden": !0
|
|
41426
41426
|
}, W), ee = h.checkbox?.(Ce({}, N, {
|
|
41427
|
-
externalEventHandlers:
|
|
41427
|
+
externalEventHandlers: U
|
|
41428
41428
|
})) ?? {};
|
|
41429
41429
|
return Ce({}, Z, ee);
|
|
41430
41430
|
}, "getCheckboxProps"),
|
|
41431
41431
|
getLabelProps: /* @__PURE__ */ s((W = {}) => {
|
|
41432
|
-
const
|
|
41432
|
+
const U = Ce({}, gr(W)), Z = Ce({}, U, {
|
|
41433
41433
|
children: u
|
|
41434
41434
|
}, W, {
|
|
41435
|
-
onDoubleClick: k(
|
|
41435
|
+
onDoubleClick: k(U)
|
|
41436
41436
|
}), ee = h.label?.(Ce({}, N, {
|
|
41437
|
-
externalEventHandlers:
|
|
41437
|
+
externalEventHandlers: U
|
|
41438
41438
|
})) ?? {};
|
|
41439
41439
|
return Ce({}, ee, Z);
|
|
41440
41440
|
}, "getLabelProps"),
|
|
41441
41441
|
getLabelInputProps: /* @__PURE__ */ s((W = {}) => {
|
|
41442
|
-
const
|
|
41443
|
-
externalEventHandlers:
|
|
41442
|
+
const U = gr(W), Z = h.labelInput?.(Ce({}, N, {
|
|
41443
|
+
externalEventHandlers: U
|
|
41444
41444
|
})) ?? {};
|
|
41445
41445
|
return Ce({}, W, Z);
|
|
41446
41446
|
}, "getLabelInputProps"),
|
|
41447
41447
|
getDragAndDropOverlayProps: /* @__PURE__ */ s((W = {}) => {
|
|
41448
|
-
const
|
|
41449
|
-
externalEventHandlers:
|
|
41448
|
+
const U = gr(W), Z = h.dragAndDropOverlay?.(Ce({}, N, {
|
|
41449
|
+
externalEventHandlers: U
|
|
41450
41450
|
})) ?? {};
|
|
41451
41451
|
return Ce({}, W, Z);
|
|
41452
41452
|
}, "getDragAndDropOverlayProps"),
|
|
41453
41453
|
getErrorContainerProps: /* @__PURE__ */ s((W = {}) => {
|
|
41454
|
-
const
|
|
41455
|
-
return Ce({},
|
|
41454
|
+
const U = gr(W);
|
|
41455
|
+
return Ce({}, U, W);
|
|
41456
41456
|
}, "getErrorContainerProps"),
|
|
41457
41457
|
getLoadingContainerProps: /* @__PURE__ */ s((W = {}) => {
|
|
41458
|
-
const
|
|
41458
|
+
const U = gr(W);
|
|
41459
41459
|
return Ce({
|
|
41460
41460
|
size: "12px",
|
|
41461
41461
|
thickness: 6
|
|
41462
|
-
},
|
|
41462
|
+
}, U, W);
|
|
41463
41463
|
}, "getLoadingContainerProps"),
|
|
41464
41464
|
rootRef: E,
|
|
41465
41465
|
status: g,
|
|
@@ -41888,7 +41888,7 @@ const Uq = /* @__PURE__ */ s((t) => {
|
|
|
41888
41888
|
externalSlotProps: f.groupTransition,
|
|
41889
41889
|
ownerState: {},
|
|
41890
41890
|
className: D.groupTransition
|
|
41891
|
-
}), Q = p.labelInput ?? $q,
|
|
41891
|
+
}), Q = p.labelInput ?? $q, q = yr({
|
|
41892
41892
|
elementType: Q,
|
|
41893
41893
|
getSlotProps: T,
|
|
41894
41894
|
externalSlotProps: f.labelInput,
|
|
@@ -41900,7 +41900,7 @@ const Uq = /* @__PURE__ */ s((t) => {
|
|
|
41900
41900
|
externalSlotProps: f.dragAndDropOverlay,
|
|
41901
41901
|
ownerState: {},
|
|
41902
41902
|
className: D.dragAndDropOverlay
|
|
41903
|
-
}), W = p.errorIcon ?? Hq,
|
|
41903
|
+
}), W = p.errorIcon ?? Hq, U = yr({
|
|
41904
41904
|
elementType: W,
|
|
41905
41905
|
getSlotProps: M,
|
|
41906
41906
|
externalSlotProps: f.errorIcon,
|
|
@@ -41917,12 +41917,12 @@ const Uq = /* @__PURE__ */ s((t) => {
|
|
|
41917
41917
|
children: /* @__PURE__ */ Y(P, Ce({}, k, {
|
|
41918
41918
|
children: [/* @__PURE__ */ Y(A, Ce({}, $, {
|
|
41919
41919
|
children: [/* @__PURE__ */ Y(L, Ce({}, I, {
|
|
41920
|
-
children: [R.error && /* @__PURE__ */ b(W, Ce({},
|
|
41920
|
+
children: [R.error && /* @__PURE__ */ b(W, Ce({}, U)), R.loading ? /* @__PURE__ */ b(Z, Ce({}, ee)) : /* @__PURE__ */ b(PP, {
|
|
41921
41921
|
status: R,
|
|
41922
41922
|
slots: p,
|
|
41923
41923
|
slotProps: f
|
|
41924
41924
|
})]
|
|
41925
|
-
})), /* @__PURE__ */ b(V, Ce({}, B)), R.editing ? /* @__PURE__ */ b(Q, Ce({},
|
|
41925
|
+
})), /* @__PURE__ */ b(V, Ce({}, B)), R.editing ? /* @__PURE__ */ b(Q, Ce({}, q)) : /* @__PURE__ */ b(_, Ce({}, j)), /* @__PURE__ */ b(K, Ce({}, te))]
|
|
41926
41926
|
})), d && /* @__PURE__ */ b(Wq, Ce({
|
|
41927
41927
|
as: F
|
|
41928
41928
|
}, H))]
|
|
@@ -42262,9 +42262,9 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
|
|
|
42262
42262
|
initialFilterKey: u = Al[0].key,
|
|
42263
42263
|
filterOptionKeys: d
|
|
42264
42264
|
} = t, p = tt(() => !Array.isArray(d) || d.length === 0 ? Al : Al.filter(
|
|
42265
|
-
(
|
|
42265
|
+
(q) => d.includes(q.key)
|
|
42266
42266
|
), [d]), [f, m] = Pe(rU), [h, y] = Pe([]), [g, v] = Pe(null), [x, E] = Pe(!0), [w, C] = Pe(!1), [T, O] = Pe(
|
|
42267
|
-
p.find((
|
|
42267
|
+
p.find((q) => q.key === u) || p[0] || Al[0]
|
|
42268
42268
|
), M = Go(), N = cr(), R = !!g, D = tt(
|
|
42269
42269
|
() => Xq(n),
|
|
42270
42270
|
[n]
|
|
@@ -42283,10 +42283,10 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
|
|
|
42283
42283
|
[f, T.key, P]
|
|
42284
42284
|
);
|
|
42285
42285
|
Ae(() => {
|
|
42286
|
-
const
|
|
42286
|
+
const q = p.find(
|
|
42287
42287
|
(K) => K.key === u
|
|
42288
42288
|
) || p[0] || Al[0];
|
|
42289
|
-
O(
|
|
42289
|
+
O(q), E(!0);
|
|
42290
42290
|
}, [p, u]), Ae(() => {
|
|
42291
42291
|
i && i({
|
|
42292
42292
|
filter: f,
|
|
@@ -42299,7 +42299,7 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
|
|
|
42299
42299
|
}, "loadInitialData"))();
|
|
42300
42300
|
}, []);
|
|
42301
42301
|
const A = Le(
|
|
42302
|
-
(
|
|
42302
|
+
(q, K) => {
|
|
42303
42303
|
if (String(K).endsWith("-placeholder"))
|
|
42304
42304
|
return;
|
|
42305
42305
|
const te = _P(h, K), W = K === hd.id ? {
|
|
@@ -42320,21 +42320,21 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
|
|
|
42320
42320
|
},
|
|
42321
42321
|
[D, P, a, h]
|
|
42322
42322
|
), $ = Le(
|
|
42323
|
-
(
|
|
42324
|
-
E(!1), o && o(
|
|
42323
|
+
(q) => {
|
|
42324
|
+
E(!1), o && o(q);
|
|
42325
42325
|
},
|
|
42326
42326
|
[o]
|
|
42327
|
-
), L = /* @__PURE__ */ s(async (
|
|
42327
|
+
), L = /* @__PURE__ */ s(async (q) => {
|
|
42328
42328
|
try {
|
|
42329
42329
|
return (await M.getChildNodes("form_224", {
|
|
42330
|
-
parentId:
|
|
42330
|
+
parentId: q
|
|
42331
42331
|
})).data.map(FP);
|
|
42332
42332
|
} catch {
|
|
42333
42333
|
throw new Error("Data Loading Error");
|
|
42334
42334
|
}
|
|
42335
|
-
}, "fetchData"), I = /* @__PURE__ */ s(async (
|
|
42336
|
-
const te = /* @__PURE__ */ s(async (
|
|
42337
|
-
|
|
42335
|
+
}, "fetchData"), I = /* @__PURE__ */ s(async (q, K) => {
|
|
42336
|
+
const te = /* @__PURE__ */ s(async (U) => Promise.all(
|
|
42337
|
+
U.map(async (Z) => {
|
|
42338
42338
|
if (Z.id === K && Z.children.length === 0 && Z.hasItems) {
|
|
42339
42339
|
const ee = await L(K);
|
|
42340
42340
|
return { ...Z, children: ee };
|
|
@@ -42347,8 +42347,8 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
|
|
|
42347
42347
|
})
|
|
42348
42348
|
), "updateNodeChildren"), W = await te(h);
|
|
42349
42349
|
y(W);
|
|
42350
|
-
}, "handleItemExpansionToggle"), _ = /* @__PURE__ */ s((
|
|
42351
|
-
const K =
|
|
42350
|
+
}, "handleItemExpansionToggle"), _ = /* @__PURE__ */ s((q) => {
|
|
42351
|
+
const K = q.Icon || (q.children.length > 0 || q.hasItems ? P7 : null);
|
|
42352
42352
|
return K ? /* @__PURE__ */ Y(
|
|
42353
42353
|
Me,
|
|
42354
42354
|
{
|
|
@@ -42365,11 +42365,11 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
|
|
|
42365
42365
|
sx: { color: N.palette.primary.main }
|
|
42366
42366
|
}
|
|
42367
42367
|
),
|
|
42368
|
-
/* @__PURE__ */ b("span", { children:
|
|
42368
|
+
/* @__PURE__ */ b("span", { children: q.id === hd.id ? e(q.text) : q.text })
|
|
42369
42369
|
]
|
|
42370
42370
|
}
|
|
42371
|
-
) :
|
|
42372
|
-
}, "renderNodeLabel"), j = /* @__PURE__ */ s((
|
|
42371
|
+
) : q.id === hd.id ? e(q.text) : q.text;
|
|
42372
|
+
}, "renderNodeLabel"), j = /* @__PURE__ */ s((q) => q.map((K) => /* @__PURE__ */ b(
|
|
42373
42373
|
bp,
|
|
42374
42374
|
{
|
|
42375
42375
|
itemId: K.id,
|
|
@@ -42397,14 +42397,14 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
|
|
|
42397
42397
|
) : null
|
|
42398
42398
|
},
|
|
42399
42399
|
K.id
|
|
42400
|
-
)), "renderTreeItems"), V = /* @__PURE__ */ s((
|
|
42401
|
-
v(
|
|
42400
|
+
)), "renderTreeItems"), V = /* @__PURE__ */ s((q) => {
|
|
42401
|
+
v(q.currentTarget);
|
|
42402
42402
|
}, "handleMenuOpen"), B = /* @__PURE__ */ s(() => {
|
|
42403
42403
|
v(null);
|
|
42404
|
-
}, "handleMenuClose"), F = /* @__PURE__ */ s((
|
|
42405
|
-
E(!0), O(
|
|
42404
|
+
}, "handleMenuClose"), F = /* @__PURE__ */ s((q) => {
|
|
42405
|
+
E(!0), O(q), l?.(q), B();
|
|
42406
42406
|
}, "handleFiltroFuncionarios"), H = /* @__PURE__ */ s(() => {
|
|
42407
|
-
C((
|
|
42407
|
+
C((q) => !q);
|
|
42408
42408
|
}, "toggleTreePanel"), Q = T.Icon;
|
|
42409
42409
|
return /* @__PURE__ */ Y(
|
|
42410
42410
|
Me,
|
|
@@ -42433,10 +42433,10 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
|
|
|
42433
42433
|
xs: "100%",
|
|
42434
42434
|
md: w ? "36px" : "300px"
|
|
42435
42435
|
},
|
|
42436
|
-
transition: /* @__PURE__ */ s((
|
|
42437
|
-
duration:
|
|
42436
|
+
transition: /* @__PURE__ */ s((q) => q.transitions.create(["width", "flex-basis"], {
|
|
42437
|
+
duration: q.transitions.duration.shorter
|
|
42438
42438
|
}), "transition"),
|
|
42439
|
-
borderRight: /* @__PURE__ */ s((
|
|
42439
|
+
borderRight: /* @__PURE__ */ s((q) => `1px solid ${q.palette.divider}`, "borderRight")
|
|
42440
42440
|
},
|
|
42441
42441
|
children: [
|
|
42442
42442
|
/* @__PURE__ */ b(
|
|
@@ -42453,8 +42453,8 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
|
|
|
42453
42453
|
width: 28,
|
|
42454
42454
|
height: 28,
|
|
42455
42455
|
backgroundColor: "background.paper",
|
|
42456
|
-
border: /* @__PURE__ */ s((
|
|
42457
|
-
boxShadow: /* @__PURE__ */ s((
|
|
42456
|
+
border: /* @__PURE__ */ s((q) => `1px solid ${q.palette.divider}`, "border"),
|
|
42457
|
+
boxShadow: /* @__PURE__ */ s((q) => q.shadows[1], "boxShadow"),
|
|
42458
42458
|
"&:hover": {
|
|
42459
42459
|
backgroundColor: "background.paper"
|
|
42460
42460
|
}
|
|
@@ -42489,13 +42489,13 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
|
|
|
42489
42489
|
anchorEl: g,
|
|
42490
42490
|
open: R,
|
|
42491
42491
|
onClose: B,
|
|
42492
|
-
children: p.map((
|
|
42493
|
-
const K =
|
|
42492
|
+
children: p.map((q) => {
|
|
42493
|
+
const K = q.Icon;
|
|
42494
42494
|
return /* @__PURE__ */ Y(
|
|
42495
42495
|
bo,
|
|
42496
42496
|
{
|
|
42497
|
-
selected:
|
|
42498
|
-
onClick: /* @__PURE__ */ s(() => F(
|
|
42497
|
+
selected: q.key === T.key,
|
|
42498
|
+
onClick: /* @__PURE__ */ s(() => F(q), "onClick"),
|
|
42499
42499
|
children: [
|
|
42500
42500
|
/* @__PURE__ */ b(
|
|
42501
42501
|
K,
|
|
@@ -42504,10 +42504,10 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
|
|
|
42504
42504
|
style: { marginRight: 8 }
|
|
42505
42505
|
}
|
|
42506
42506
|
),
|
|
42507
|
-
e(
|
|
42507
|
+
e(q.label)
|
|
42508
42508
|
]
|
|
42509
42509
|
},
|
|
42510
|
-
|
|
42510
|
+
q.key
|
|
42511
42511
|
);
|
|
42512
42512
|
})
|
|
42513
42513
|
}
|
|
@@ -42524,7 +42524,7 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
|
|
|
42524
42524
|
minHeight: 30
|
|
42525
42525
|
},
|
|
42526
42526
|
"& .MuiTreeItem-label": {
|
|
42527
|
-
fontSize: /* @__PURE__ */ s((
|
|
42527
|
+
fontSize: /* @__PURE__ */ s((q) => q.typography.caption.fontSize, "fontSize")
|
|
42528
42528
|
},
|
|
42529
42529
|
"& .MuiSvgIcon-root": {
|
|
42530
42530
|
fontSize: 18
|
|
@@ -42780,7 +42780,7 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
|
|
|
42780
42780
|
name: e,
|
|
42781
42781
|
control: y.control,
|
|
42782
42782
|
rules: j
|
|
42783
|
-
}), { [e]: F = {} } = v, H = Xr(t), Q = F.onChange === void 0 ? n : F.onChange,
|
|
42783
|
+
}), { [e]: F = {} } = v, H = Xr(t), Q = F.onChange === void 0 ? n : F.onChange, q = N !== !1 && k !== !1, [K, te] = Pe(
|
|
42784
42784
|
Zi(k)
|
|
42785
42785
|
), W = tt(
|
|
42786
42786
|
() => Zm.find((J) => J.value === K) || Zm[0],
|
|
@@ -42791,7 +42791,7 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
|
|
|
42791
42791
|
}, [k]), Ae(() => {
|
|
42792
42792
|
x.current || (setTimeout(() => {
|
|
42793
42793
|
const J = y.getValues(e);
|
|
42794
|
-
if (
|
|
42794
|
+
if (q ? vT(J) : J == null || J === "") {
|
|
42795
42795
|
const ve = $P({
|
|
42796
42796
|
soloActivos: Zi(k)
|
|
42797
42797
|
});
|
|
@@ -42801,10 +42801,10 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
|
|
|
42801
42801
|
);
|
|
42802
42802
|
}
|
|
42803
42803
|
}, 0), x.current = !0);
|
|
42804
|
-
}, [M, y, k, e,
|
|
42805
|
-
const
|
|
42804
|
+
}, [M, y, k, e, q]);
|
|
42805
|
+
const U = Le(
|
|
42806
42806
|
(J) => {
|
|
42807
|
-
if (
|
|
42807
|
+
if (q && vT(J))
|
|
42808
42808
|
return h(W.label);
|
|
42809
42809
|
const ve = fd(J, {
|
|
42810
42810
|
soloActivos: K
|
|
@@ -42818,11 +42818,11 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
|
|
|
42818
42818
|
W.label,
|
|
42819
42819
|
M,
|
|
42820
42820
|
h,
|
|
42821
|
-
|
|
42821
|
+
q
|
|
42822
42822
|
]
|
|
42823
42823
|
), Z = V.value, ee = tt(
|
|
42824
|
-
() =>
|
|
42825
|
-
[Z,
|
|
42824
|
+
() => U(Z),
|
|
42825
|
+
[Z, U]
|
|
42826
42826
|
), se = tt(() => {
|
|
42827
42827
|
const J = fd(Z, {
|
|
42828
42828
|
soloActivos: K
|
|
@@ -43130,7 +43130,7 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
|
|
|
43130
43130
|
pl: 0.5
|
|
43131
43131
|
},
|
|
43132
43132
|
children: [
|
|
43133
|
-
|
|
43133
|
+
q ? /* @__PURE__ */ Y(Yn, { children: [
|
|
43134
43134
|
O && /* @__PURE__ */ b(
|
|
43135
43135
|
Pn,
|
|
43136
43136
|
{
|
|
@@ -61138,12 +61138,12 @@ const Cf = "RaLabeled", wf = {
|
|
|
61138
61138
|
subscription: F,
|
|
61139
61139
|
textAlign: H,
|
|
61140
61140
|
translate: Q,
|
|
61141
|
-
translateChoice:
|
|
61141
|
+
translateChoice: q,
|
|
61142
61142
|
validate: K,
|
|
61143
61143
|
validateFields: te,
|
|
61144
61144
|
value: W,
|
|
61145
|
-
...
|
|
61146
|
-
}) =>
|
|
61145
|
+
...U
|
|
61146
|
+
}) => U, "sanitizeInputRestProps"), ete = /* @__PURE__ */ s(({
|
|
61147
61147
|
className: t,
|
|
61148
61148
|
defaultValue: e,
|
|
61149
61149
|
format: n = rte,
|