biblio-react 3.0.0-alpha35 → 3.0.0-alpha37
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 +612 -606
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -469,11 +469,11 @@ function ub(e) {
|
|
|
469
469
|
}
|
|
470
470
|
n(ub, "compile");
|
|
471
471
|
function Dn(e, t, r, a, i, l, s, c, u) {
|
|
472
|
-
for (var d = 0, p = 0, h = s, m = 0, g = 0, v = 0, b = 1, y = 1,
|
|
472
|
+
for (var d = 0, p = 0, h = s, m = 0, g = 0, v = 0, b = 1, y = 1, P = 1, E = 0, C = "", S = i, x = l, w = a, F = C; y; )
|
|
473
473
|
switch (v = E, E = vt()) {
|
|
474
474
|
case 40:
|
|
475
475
|
if (v != 108 && nt(F, h - 1) == 58) {
|
|
476
|
-
wi(F += Me(Nn(E), "&", "&\f"), "&\f") != -1 && (
|
|
476
|
+
wi(F += Me(Nn(E), "&", "&\f"), "&\f") != -1 && (P = -1);
|
|
477
477
|
break;
|
|
478
478
|
}
|
|
479
479
|
case 34:
|
|
@@ -501,7 +501,7 @@ function Dn(e, t, r, a, i, l, s, c, u) {
|
|
|
501
501
|
}
|
|
502
502
|
break;
|
|
503
503
|
case 123 * b:
|
|
504
|
-
c[d++] = Wt(F) *
|
|
504
|
+
c[d++] = Wt(F) * P;
|
|
505
505
|
case 125 * b:
|
|
506
506
|
case 59:
|
|
507
507
|
case 0:
|
|
@@ -510,12 +510,12 @@ function Dn(e, t, r, a, i, l, s, c, u) {
|
|
|
510
510
|
case 125:
|
|
511
511
|
y = 0;
|
|
512
512
|
case 59 + p:
|
|
513
|
-
|
|
513
|
+
P == -1 && (F = Me(F, /\f/g, "")), g > 0 && Wt(F) - h && Sn(g > 32 ? oc(F + ";", a, r, h - 1) : oc(Me(F, " ", "") + ";", a, r, h - 2), u);
|
|
514
514
|
break;
|
|
515
515
|
case 59:
|
|
516
516
|
F += ";";
|
|
517
517
|
default:
|
|
518
|
-
if (Sn(w = rc(F, t, r, d, p, i, c,
|
|
518
|
+
if (Sn(w = rc(F, t, r, d, p, i, c, C, S = [], x = [], h), l), E === 123)
|
|
519
519
|
if (p === 0)
|
|
520
520
|
Dn(F, t, w, w, S, l, h, c, x);
|
|
521
521
|
else
|
|
@@ -524,13 +524,13 @@ function Dn(e, t, r, a, i, l, s, c, u) {
|
|
|
524
524
|
case 108:
|
|
525
525
|
case 109:
|
|
526
526
|
case 115:
|
|
527
|
-
Dn(e, w, w, a && Sn(rc(e, w, w, 0, 0, i, c,
|
|
527
|
+
Dn(e, w, w, a && Sn(rc(e, w, w, 0, 0, i, c, C, i, S = [], h), x), i, x, h, c, a ? S : x);
|
|
528
528
|
break;
|
|
529
529
|
default:
|
|
530
530
|
Dn(F, w, w, w, [""], x, 0, c, x);
|
|
531
531
|
}
|
|
532
532
|
}
|
|
533
|
-
d = p = g = 0, b =
|
|
533
|
+
d = p = g = 0, b = P = 1, C = F = "", h = s;
|
|
534
534
|
break;
|
|
535
535
|
case 58:
|
|
536
536
|
h = 1 + Wt(F), g = v;
|
|
@@ -543,13 +543,13 @@ function Dn(e, t, r, a, i, l, s, c, u) {
|
|
|
543
543
|
}
|
|
544
544
|
switch (F += ga(E), E * b) {
|
|
545
545
|
case 38:
|
|
546
|
-
|
|
546
|
+
P = p > 0 ? 1 : (F += "\f", -1);
|
|
547
547
|
break;
|
|
548
548
|
case 44:
|
|
549
|
-
c[d++] = (Wt(F) - 1) *
|
|
549
|
+
c[d++] = (Wt(F) - 1) * P, P = 1;
|
|
550
550
|
break;
|
|
551
551
|
case 64:
|
|
552
|
-
Yt() === 45 && (F += Nn(vt())), m = Yt(), p = h = Wt(
|
|
552
|
+
Yt() === 45 && (F += Nn(vt())), m = Yt(), p = h = Wt(C = F += cb(An())), E++;
|
|
553
553
|
break;
|
|
554
554
|
case 45:
|
|
555
555
|
v === 45 && Wt(F) == 2 && (b = 0);
|
|
@@ -560,8 +560,8 @@ function Dn(e, t, r, a, i, l, s, c, u) {
|
|
|
560
560
|
n(Dn, "parse$2");
|
|
561
561
|
function rc(e, t, r, a, i, l, s, c, u, d, p) {
|
|
562
562
|
for (var h = i - 1, m = i === 0 ? l : [""], g = fl(m), v = 0, b = 0, y = 0; v < a; ++v)
|
|
563
|
-
for (var
|
|
564
|
-
(
|
|
563
|
+
for (var P = 0, E = Wo(e, h + 1, h = Jh(b = s[v])), C = e; P < g; ++P)
|
|
564
|
+
(C = yd(b > 0 ? m[P] + " " + E : Me(E, /&\f/g, m[P]))) && (u[y++] = C);
|
|
565
565
|
return ya(e, t, r, i === 0 ? dl : c, u, d, p);
|
|
566
566
|
}
|
|
567
567
|
n(rc, "ruleset");
|
|
@@ -857,8 +857,8 @@ If multiple caches share the same key they might "fight" for each other's style
|
|
|
857
857
|
// means that the style elements we're looking at are only Emotion 11 server-rendered style elements
|
|
858
858
|
document.querySelectorAll('style[data-emotion^="' + r + ' "]'),
|
|
859
859
|
function(b) {
|
|
860
|
-
for (var y = b.getAttribute("data-emotion").split(" "),
|
|
861
|
-
l[y[
|
|
860
|
+
for (var y = b.getAttribute("data-emotion").split(" "), P = 1; P < y.length; P++)
|
|
861
|
+
l[y[P]] = !0;
|
|
862
862
|
c.push(b);
|
|
863
863
|
}
|
|
864
864
|
);
|
|
@@ -876,12 +876,12 @@ If multiple caches share the same key they might "fight" for each other's style
|
|
|
876
876
|
})], m = fb(d.concat(i, h)), g = /* @__PURE__ */ n(function(y) {
|
|
877
877
|
return Ur(ub(y), m);
|
|
878
878
|
}, "stylis");
|
|
879
|
-
u = /* @__PURE__ */ n(function(y,
|
|
880
|
-
p = E, process.env.NODE_ENV !== "production" &&
|
|
879
|
+
u = /* @__PURE__ */ n(function(y, P, E, C) {
|
|
880
|
+
p = E, process.env.NODE_ENV !== "production" && P.map !== void 0 && (p = {
|
|
881
881
|
insert: /* @__PURE__ */ n(function(x) {
|
|
882
|
-
E.insert(x +
|
|
882
|
+
E.insert(x + P.map);
|
|
883
883
|
}, "insert")
|
|
884
|
-
}), g(y ? y + "{" +
|
|
884
|
+
}), g(y ? y + "{" + P.styles + "}" : P.styles), C && (v.inserted[P.name] = !0);
|
|
885
885
|
}, "insert");
|
|
886
886
|
}
|
|
887
887
|
var v = {
|
|
@@ -913,8 +913,8 @@ var ic;
|
|
|
913
913
|
function Fb() {
|
|
914
914
|
if (ic) return $e;
|
|
915
915
|
ic = 1;
|
|
916
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, l = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117,
|
|
917
|
-
function
|
|
916
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, l = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, P = e ? Symbol.for("react.responder") : 60118, E = e ? Symbol.for("react.scope") : 60119;
|
|
917
|
+
function C(x) {
|
|
918
918
|
if (typeof x == "object" && x !== null) {
|
|
919
919
|
var w = x.$$typeof;
|
|
920
920
|
switch (w) {
|
|
@@ -944,37 +944,37 @@ function Fb() {
|
|
|
944
944
|
}
|
|
945
945
|
}
|
|
946
946
|
}
|
|
947
|
-
n(
|
|
947
|
+
n(C, "z");
|
|
948
948
|
function S(x) {
|
|
949
|
-
return
|
|
949
|
+
return C(x) === d;
|
|
950
950
|
}
|
|
951
951
|
return n(S, "A"), $e.AsyncMode = u, $e.ConcurrentMode = d, $e.ContextConsumer = c, $e.ContextProvider = s, $e.Element = t, $e.ForwardRef = p, $e.Fragment = a, $e.Lazy = v, $e.Memo = g, $e.Portal = r, $e.Profiler = l, $e.StrictMode = i, $e.Suspense = h, $e.isAsyncMode = function(x) {
|
|
952
|
-
return S(x) ||
|
|
952
|
+
return S(x) || C(x) === u;
|
|
953
953
|
}, $e.isConcurrentMode = S, $e.isContextConsumer = function(x) {
|
|
954
|
-
return
|
|
954
|
+
return C(x) === c;
|
|
955
955
|
}, $e.isContextProvider = function(x) {
|
|
956
|
-
return
|
|
956
|
+
return C(x) === s;
|
|
957
957
|
}, $e.isElement = function(x) {
|
|
958
958
|
return typeof x == "object" && x !== null && x.$$typeof === t;
|
|
959
959
|
}, $e.isForwardRef = function(x) {
|
|
960
|
-
return
|
|
960
|
+
return C(x) === p;
|
|
961
961
|
}, $e.isFragment = function(x) {
|
|
962
|
-
return
|
|
962
|
+
return C(x) === a;
|
|
963
963
|
}, $e.isLazy = function(x) {
|
|
964
|
-
return
|
|
964
|
+
return C(x) === v;
|
|
965
965
|
}, $e.isMemo = function(x) {
|
|
966
|
-
return
|
|
966
|
+
return C(x) === g;
|
|
967
967
|
}, $e.isPortal = function(x) {
|
|
968
|
-
return
|
|
968
|
+
return C(x) === r;
|
|
969
969
|
}, $e.isProfiler = function(x) {
|
|
970
|
-
return
|
|
970
|
+
return C(x) === l;
|
|
971
971
|
}, $e.isStrictMode = function(x) {
|
|
972
|
-
return
|
|
972
|
+
return C(x) === i;
|
|
973
973
|
}, $e.isSuspense = function(x) {
|
|
974
|
-
return
|
|
974
|
+
return C(x) === h;
|
|
975
975
|
}, $e.isValidElementType = function(x) {
|
|
976
|
-
return typeof x == "string" || typeof x == "function" || x === a || x === d || x === l || x === i || x === h || x === m || typeof x == "object" && x !== null && (x.$$typeof === v || x.$$typeof === g || x.$$typeof === s || x.$$typeof === c || x.$$typeof === p || x.$$typeof === y || x.$$typeof ===
|
|
977
|
-
}, $e.typeOf =
|
|
976
|
+
return typeof x == "string" || typeof x == "function" || x === a || x === d || x === l || x === i || x === h || x === m || typeof x == "object" && x !== null && (x.$$typeof === v || x.$$typeof === g || x.$$typeof === s || x.$$typeof === c || x.$$typeof === p || x.$$typeof === y || x.$$typeof === P || x.$$typeof === E || x.$$typeof === b);
|
|
977
|
+
}, $e.typeOf = C, $e;
|
|
978
978
|
}
|
|
979
979
|
n(Fb, "requireReactIs_production_min$1");
|
|
980
980
|
var Le = {};
|
|
@@ -989,12 +989,12 @@ var Le = {};
|
|
|
989
989
|
var lc;
|
|
990
990
|
function wb() {
|
|
991
991
|
return lc || (lc = 1, process.env.NODE_ENV !== "production" && function() {
|
|
992
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, l = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117,
|
|
993
|
-
function
|
|
992
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, l = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, P = e ? Symbol.for("react.responder") : 60118, E = e ? Symbol.for("react.scope") : 60119;
|
|
993
|
+
function C(z) {
|
|
994
994
|
return typeof z == "string" || typeof z == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
995
|
-
z === a || z === d || z === l || z === i || z === h || z === m || typeof z == "object" && z !== null && (z.$$typeof === v || z.$$typeof === g || z.$$typeof === s || z.$$typeof === c || z.$$typeof === p || z.$$typeof === y || z.$$typeof ===
|
|
995
|
+
z === a || z === d || z === l || z === i || z === h || z === m || typeof z == "object" && z !== null && (z.$$typeof === v || z.$$typeof === g || z.$$typeof === s || z.$$typeof === c || z.$$typeof === p || z.$$typeof === y || z.$$typeof === P || z.$$typeof === E || z.$$typeof === b);
|
|
996
996
|
}
|
|
997
|
-
n(
|
|
997
|
+
n(C, "isValidElementType");
|
|
998
998
|
function S(z) {
|
|
999
999
|
if (typeof z == "object" && z !== null) {
|
|
1000
1000
|
var q = z.$$typeof;
|
|
@@ -1028,7 +1028,7 @@ function wb() {
|
|
|
1028
1028
|
}
|
|
1029
1029
|
}
|
|
1030
1030
|
n(S, "typeOf");
|
|
1031
|
-
var x = u, w = d, F = c, $ = s, R = t, k = p, L = a,
|
|
1031
|
+
var x = u, w = d, F = c, $ = s, R = t, k = p, L = a, N = v, A = g, I = r, _ = l, D = i, B = h, M = !1;
|
|
1032
1032
|
function U(z) {
|
|
1033
1033
|
return M || (M = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), te(z) || S(z) === u;
|
|
1034
1034
|
}
|
|
@@ -1080,7 +1080,7 @@ function wb() {
|
|
|
1080
1080
|
function X(z) {
|
|
1081
1081
|
return S(z) === h;
|
|
1082
1082
|
}
|
|
1083
|
-
n(X, "isSuspense"), Le.AsyncMode = x, Le.ConcurrentMode = w, Le.ContextConsumer = F, Le.ContextProvider = $, Le.Element = R, Le.ForwardRef = k, Le.Fragment = L, Le.Lazy =
|
|
1083
|
+
n(X, "isSuspense"), Le.AsyncMode = x, Le.ConcurrentMode = w, Le.ContextConsumer = F, Le.ContextProvider = $, Le.Element = R, Le.ForwardRef = k, Le.Fragment = L, Le.Lazy = N, Le.Memo = A, Le.Portal = I, Le.Profiler = _, Le.StrictMode = D, Le.Suspense = B, Le.isAsyncMode = U, Le.isConcurrentMode = te, Le.isContextConsumer = ce, Le.isContextProvider = pe, Le.isElement = le, Le.isForwardRef = J, Le.isFragment = ie, Le.isLazy = ne, Le.isMemo = ve, Le.isPortal = se, Le.isProfiler = ue, Le.isStrictMode = xe, Le.isSuspense = X, Le.isValidElementType = C, Le.typeOf = S;
|
|
1084
1084
|
}()), Le;
|
|
1085
1085
|
}
|
|
1086
1086
|
n(wb, "requireReactIs_development$1");
|
|
@@ -1697,22 +1697,22 @@ You may have forgotten to import it.`);
|
|
|
1697
1697
|
for (var m = p.length, g = 1; g < m; g++)
|
|
1698
1698
|
process.env.NODE_ENV !== "production" && p[0][g] === void 0 && console.error(xc), h.push(p[g], p[0][g]);
|
|
1699
1699
|
}
|
|
1700
|
-
var v = Sa(function(b, y,
|
|
1701
|
-
var E = d && b.as || i,
|
|
1700
|
+
var v = Sa(function(b, y, P) {
|
|
1701
|
+
var E = d && b.as || i, C = "", S = [], x = b;
|
|
1702
1702
|
if (b.theme == null) {
|
|
1703
1703
|
x = {};
|
|
1704
1704
|
for (var w in b)
|
|
1705
1705
|
x[w] = b[w];
|
|
1706
1706
|
x.theme = T.useContext(vr);
|
|
1707
1707
|
}
|
|
1708
|
-
typeof b.className == "string" ?
|
|
1708
|
+
typeof b.className == "string" ? C = ml(y.registered, S, b.className) : b.className != null && (C = b.className + " ");
|
|
1709
1709
|
var F = Jr(h.concat(S), y.registered, x);
|
|
1710
|
-
|
|
1710
|
+
C += y.key + "-" + F.name, s !== void 0 && (C += " " + s);
|
|
1711
1711
|
var $ = d && c === void 0 ? yc(E) : u, R = {};
|
|
1712
1712
|
for (var k in b)
|
|
1713
1713
|
d && k === "as" || // $FlowFixMe
|
|
1714
1714
|
$(k) && (R[k] = b[k]);
|
|
1715
|
-
return R.className =
|
|
1715
|
+
return R.className = C, R.ref = P, /* @__PURE__ */ T.createElement(T.Fragment, null, /* @__PURE__ */ T.createElement(rg, {
|
|
1716
1716
|
cache: y,
|
|
1717
1717
|
serialized: F,
|
|
1718
1718
|
isStringTag: typeof E == "string"
|
|
@@ -1991,8 +1991,8 @@ function ug() {
|
|
|
1991
1991
|
v = Symbol.for("react.module.reference");
|
|
1992
1992
|
function b(y) {
|
|
1993
1993
|
if (typeof y == "object" && y !== null) {
|
|
1994
|
-
var
|
|
1995
|
-
switch (
|
|
1994
|
+
var P = y.$$typeof;
|
|
1995
|
+
switch (P) {
|
|
1996
1996
|
case e:
|
|
1997
1997
|
switch (y = y.type, y) {
|
|
1998
1998
|
case r:
|
|
@@ -2011,11 +2011,11 @@ function ug() {
|
|
|
2011
2011
|
case l:
|
|
2012
2012
|
return y;
|
|
2013
2013
|
default:
|
|
2014
|
-
return
|
|
2014
|
+
return P;
|
|
2015
2015
|
}
|
|
2016
2016
|
}
|
|
2017
2017
|
case t:
|
|
2018
|
-
return
|
|
2018
|
+
return P;
|
|
2019
2019
|
}
|
|
2020
2020
|
}
|
|
2021
2021
|
}
|
|
@@ -2065,14 +2065,14 @@ var Ae = {};
|
|
|
2065
2065
|
var Tc;
|
|
2066
2066
|
function dg() {
|
|
2067
2067
|
return Tc || (Tc = 1, process.env.NODE_ENV !== "production" && function() {
|
|
2068
|
-
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), s = Symbol.for("react.context"), c = Symbol.for("react.server_context"), u = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), v = !1, b = !1, y = !1,
|
|
2069
|
-
|
|
2068
|
+
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), s = Symbol.for("react.context"), c = Symbol.for("react.server_context"), u = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), v = !1, b = !1, y = !1, P = !1, E = !1, C;
|
|
2069
|
+
C = Symbol.for("react.module.reference");
|
|
2070
2070
|
function S(j) {
|
|
2071
|
-
return !!(typeof j == "string" || typeof j == "function" || j === r || j === i || E || j === a || j === d || j === p ||
|
|
2071
|
+
return !!(typeof j == "string" || typeof j == "function" || j === r || j === i || E || j === a || j === d || j === p || P || j === g || v || b || y || typeof j == "object" && j !== null && (j.$$typeof === m || j.$$typeof === h || j.$$typeof === l || j.$$typeof === s || j.$$typeof === u || // This needs to include all possible module reference object
|
|
2072
2072
|
// types supported by any Flight configuration anywhere since
|
|
2073
2073
|
// we don't know which Flight build this will end up being used
|
|
2074
2074
|
// with.
|
|
2075
|
-
j.$$typeof ===
|
|
2075
|
+
j.$$typeof === C || j.getModuleId !== void 0));
|
|
2076
2076
|
}
|
|
2077
2077
|
n(S, "isValidElementType");
|
|
2078
2078
|
function x(j) {
|
|
@@ -2108,7 +2108,7 @@ function dg() {
|
|
|
2108
2108
|
}
|
|
2109
2109
|
}
|
|
2110
2110
|
n(x, "typeOf");
|
|
2111
|
-
var w = s, F = l, $ = e, R = u, k = r, L = m,
|
|
2111
|
+
var w = s, F = l, $ = e, R = u, k = r, L = m, N = h, A = t, I = i, _ = a, D = d, B = p, M = !1, U = !1;
|
|
2112
2112
|
function te(j) {
|
|
2113
2113
|
return M || (M = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
2114
2114
|
}
|
|
@@ -2164,7 +2164,7 @@ function dg() {
|
|
|
2164
2164
|
function q(j) {
|
|
2165
2165
|
return x(j) === p;
|
|
2166
2166
|
}
|
|
2167
|
-
n(q, "isSuspenseList"), Ae.ContextConsumer = w, Ae.ContextProvider = F, Ae.Element = $, Ae.ForwardRef = R, Ae.Fragment = k, Ae.Lazy = L, Ae.Memo =
|
|
2167
|
+
n(q, "isSuspenseList"), Ae.ContextConsumer = w, Ae.ContextProvider = F, Ae.Element = $, Ae.ForwardRef = R, Ae.Fragment = k, Ae.Lazy = L, Ae.Memo = N, Ae.Portal = A, Ae.Profiler = I, Ae.StrictMode = _, Ae.Suspense = D, Ae.SuspenseList = B, Ae.isAsyncMode = te, Ae.isConcurrentMode = ce, Ae.isContextConsumer = pe, Ae.isContextProvider = le, Ae.isElement = J, Ae.isForwardRef = ie, Ae.isFragment = ne, Ae.isLazy = ve, Ae.isMemo = se, Ae.isPortal = ue, Ae.isProfiler = xe, Ae.isStrictMode = X, Ae.isSuspense = z, Ae.isSuspenseList = q, Ae.isValidElementType = S, Ae.typeOf = x;
|
|
2168
2168
|
}()), Ae;
|
|
2169
2169
|
}
|
|
2170
2170
|
n(dg, "requireReactIs_development");
|
|
@@ -3213,39 +3213,39 @@ function Fv(e = {}) {
|
|
|
3213
3213
|
), b = h || !1;
|
|
3214
3214
|
let y;
|
|
3215
3215
|
process.env.NODE_ENV !== "production" && u && (y = `${u}-${wc(d || "Root")}`);
|
|
3216
|
-
let
|
|
3217
|
-
d === "Root" || d === "root" ?
|
|
3216
|
+
let P = _n;
|
|
3217
|
+
d === "Root" || d === "root" ? P = a : d ? P = i : Cv(s) && (P = void 0);
|
|
3218
3218
|
const E = (0, Fc.default)(s, (0, Tt.default)({
|
|
3219
|
-
shouldForwardProp:
|
|
3219
|
+
shouldForwardProp: P,
|
|
3220
3220
|
label: y
|
|
3221
|
-
}, g)),
|
|
3221
|
+
}, g)), C = /* @__PURE__ */ n((x) => typeof x == "function" && x.__emotion_real !== x || (0, mv.isPlainObject)(x) ? (w) => jn(x, (0, Tt.default)({}, w, {
|
|
3222
3222
|
theme: Tn({
|
|
3223
3223
|
theme: w.theme,
|
|
3224
3224
|
defaultTheme: r,
|
|
3225
3225
|
themeId: t
|
|
3226
3226
|
})
|
|
3227
3227
|
})) : x, "transformStyleArg"), S = /* @__PURE__ */ n((x, ...w) => {
|
|
3228
|
-
let F =
|
|
3229
|
-
const $ = w ? w.map(
|
|
3228
|
+
let F = C(x);
|
|
3229
|
+
const $ = w ? w.map(C) : [];
|
|
3230
3230
|
u && m && $.push((L) => {
|
|
3231
|
-
const
|
|
3231
|
+
const N = Tn((0, Tt.default)({}, L, {
|
|
3232
3232
|
defaultTheme: r,
|
|
3233
3233
|
themeId: t
|
|
3234
3234
|
}));
|
|
3235
|
-
if (!
|
|
3235
|
+
if (!N.components || !N.components[u] || !N.components[u].styleOverrides)
|
|
3236
3236
|
return null;
|
|
3237
|
-
const A =
|
|
3238
|
-
return Object.entries(A).forEach(([_,
|
|
3239
|
-
I[_] = jn(
|
|
3240
|
-
theme:
|
|
3237
|
+
const A = N.components[u].styleOverrides, I = {};
|
|
3238
|
+
return Object.entries(A).forEach(([_, D]) => {
|
|
3239
|
+
I[_] = jn(D, (0, Tt.default)({}, L, {
|
|
3240
|
+
theme: N
|
|
3241
3241
|
}));
|
|
3242
3242
|
}), m(L, I);
|
|
3243
3243
|
}), u && !v && $.push((L) => {
|
|
3244
|
-
var
|
|
3244
|
+
var N;
|
|
3245
3245
|
const A = Tn((0, Tt.default)({}, L, {
|
|
3246
3246
|
defaultTheme: r,
|
|
3247
3247
|
themeId: t
|
|
3248
|
-
})), I = A == null || (
|
|
3248
|
+
})), I = A == null || (N = A.components) == null || (N = N[u]) == null ? void 0 : N.variants;
|
|
3249
3249
|
return jn({
|
|
3250
3250
|
variants: I
|
|
3251
3251
|
}, (0, Tt.default)({}, L, {
|
|
@@ -3772,8 +3772,8 @@ function ty(e) {
|
|
|
3772
3772
|
function h(b) {
|
|
3773
3773
|
const y = kc(b, ci.text.primary) >= r ? ci.text.primary : $c.text.primary;
|
|
3774
3774
|
if (process.env.NODE_ENV !== "production") {
|
|
3775
|
-
const
|
|
3776
|
-
|
|
3775
|
+
const P = kc(b, y);
|
|
3776
|
+
P < 3 && console.error([`MUI: The contrast ratio of ${P}:1 for ${y} on ${b}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|
|
3777
3777
|
`));
|
|
3778
3778
|
}
|
|
3779
3779
|
return y;
|
|
@@ -3782,13 +3782,13 @@ function ty(e) {
|
|
|
3782
3782
|
const m = /* @__PURE__ */ n(({
|
|
3783
3783
|
color: b,
|
|
3784
3784
|
name: y,
|
|
3785
|
-
mainShade:
|
|
3785
|
+
mainShade: P = 500,
|
|
3786
3786
|
lightShade: E = 300,
|
|
3787
|
-
darkShade:
|
|
3787
|
+
darkShade: C = 700
|
|
3788
3788
|
}) => {
|
|
3789
|
-
if (b = O({}, b), !b.main && b[
|
|
3789
|
+
if (b = O({}, b), !b.main && b[P] && (b.main = b[P]), !b.hasOwnProperty("main"))
|
|
3790
3790
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${y ? ` (${y})` : ""} provided to augmentColor(color) is invalid.
|
|
3791
|
-
The color object needs to have a \`main\` property or a \`${
|
|
3791
|
+
The color object needs to have a \`main\` property or a \`${P}\` property.` : ar(11, y ? ` (${y})` : "", P));
|
|
3792
3792
|
if (typeof b.main != "string")
|
|
3793
3793
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${y ? ` (${y})` : ""} provided to augmentColor(color) is invalid.
|
|
3794
3794
|
\`color.main\` should be a string, but \`${JSON.stringify(b.main)}\` was provided instead.
|
|
@@ -3804,7 +3804,7 @@ const theme1 = createTheme({ palette: {
|
|
|
3804
3804
|
const theme2 = createTheme({ palette: {
|
|
3805
3805
|
primary: { main: green[500] },
|
|
3806
3806
|
} });` : ar(12, y ? ` (${y})` : "", JSON.stringify(b.main)));
|
|
3807
|
-
return Lc(b, "light", E, a), Lc(b, "dark",
|
|
3807
|
+
return Lc(b, "light", E, a), Lc(b, "dark", C, a), b.contrastText || (b.contrastText = h(b.main)), b;
|
|
3808
3808
|
}, "augmentColor"), g = {
|
|
3809
3809
|
dark: ci,
|
|
3810
3810
|
light: $c
|
|
@@ -3890,12 +3890,12 @@ function ny(e, t) {
|
|
|
3890
3890
|
pxToRem: h
|
|
3891
3891
|
} = r, m = K(r, ry);
|
|
3892
3892
|
process.env.NODE_ENV !== "production" && (typeof i != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof d != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
|
|
3893
|
-
const g = i / 14, v = h || ((
|
|
3893
|
+
const g = i / 14, v = h || ((P) => `${P / d * g}rem`), b = /* @__PURE__ */ n((P, E, C, S, x) => O({
|
|
3894
3894
|
fontFamily: a,
|
|
3895
|
-
fontWeight:
|
|
3895
|
+
fontWeight: P,
|
|
3896
3896
|
fontSize: v(E),
|
|
3897
3897
|
// Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
|
|
3898
|
-
lineHeight:
|
|
3898
|
+
lineHeight: C
|
|
3899
3899
|
}, a === Ac ? {
|
|
3900
3900
|
letterSpacing: `${oy(S / E)}em`
|
|
3901
3901
|
} : {}, x, p), "buildVariant"), y = {
|
|
@@ -4153,10 +4153,10 @@ const gy = ["children", "className", "color", "component", "fontSize", "htmlColo
|
|
|
4153
4153
|
hasSvgAsChild: v
|
|
4154
4154
|
}), y = {};
|
|
4155
4155
|
p || (y.viewBox = m);
|
|
4156
|
-
const
|
|
4156
|
+
const P = vy(b);
|
|
4157
4157
|
return /* @__PURE__ */ H(yy, O({
|
|
4158
4158
|
as: c,
|
|
4159
|
-
className: Q(
|
|
4159
|
+
className: Q(P.root, l),
|
|
4160
4160
|
focusable: "false",
|
|
4161
4161
|
color: d,
|
|
4162
4162
|
"aria-hidden": h ? void 0 : !0,
|
|
@@ -4756,39 +4756,39 @@ function rO(e = {}) {
|
|
|
4756
4756
|
), b = h || !1;
|
|
4757
4757
|
let y;
|
|
4758
4758
|
process.env.NODE_ENV !== "production" && u && (y = `${u}-${Bc(d || "Root")}`);
|
|
4759
|
-
let
|
|
4760
|
-
d === "Root" || d === "root" ?
|
|
4759
|
+
let P = di;
|
|
4760
|
+
d === "Root" || d === "root" ? P = a : d ? P = i : Jy(s) && (P = void 0);
|
|
4761
4761
|
const E = yl(s, O({
|
|
4762
|
-
shouldForwardProp:
|
|
4762
|
+
shouldForwardProp: P,
|
|
4763
4763
|
label: y
|
|
4764
|
-
}, g)),
|
|
4764
|
+
}, g)), C = /* @__PURE__ */ n((x) => typeof x == "function" && x.__emotion_real !== x || tr(x) ? (w) => Bn(x, O({}, w, {
|
|
4765
4765
|
theme: Cn({
|
|
4766
4766
|
theme: w.theme,
|
|
4767
4767
|
defaultTheme: r,
|
|
4768
4768
|
themeId: t
|
|
4769
4769
|
})
|
|
4770
4770
|
})) : x, "transformStyleArg"), S = /* @__PURE__ */ n((x, ...w) => {
|
|
4771
|
-
let F =
|
|
4772
|
-
const $ = w ? w.map(
|
|
4771
|
+
let F = C(x);
|
|
4772
|
+
const $ = w ? w.map(C) : [];
|
|
4773
4773
|
u && m && $.push((L) => {
|
|
4774
|
-
const
|
|
4774
|
+
const N = Cn(O({}, L, {
|
|
4775
4775
|
defaultTheme: r,
|
|
4776
4776
|
themeId: t
|
|
4777
4777
|
}));
|
|
4778
|
-
if (!
|
|
4778
|
+
if (!N.components || !N.components[u] || !N.components[u].styleOverrides)
|
|
4779
4779
|
return null;
|
|
4780
|
-
const A =
|
|
4781
|
-
return Object.entries(A).forEach(([_,
|
|
4782
|
-
I[_] = Bn(
|
|
4783
|
-
theme:
|
|
4780
|
+
const A = N.components[u].styleOverrides, I = {};
|
|
4781
|
+
return Object.entries(A).forEach(([_, D]) => {
|
|
4782
|
+
I[_] = Bn(D, O({}, L, {
|
|
4783
|
+
theme: N
|
|
4784
4784
|
}));
|
|
4785
4785
|
}), m(L, I);
|
|
4786
4786
|
}), u && !v && $.push((L) => {
|
|
4787
|
-
var
|
|
4787
|
+
var N;
|
|
4788
4788
|
const A = Cn(O({}, L, {
|
|
4789
4789
|
defaultTheme: r,
|
|
4790
4790
|
themeId: t
|
|
4791
|
-
})), I = A == null || (
|
|
4791
|
+
})), I = A == null || (N = A.components) == null || (N = N[u]) == null ? void 0 : N.variants;
|
|
4792
4792
|
return Bn({
|
|
4793
4793
|
variants: I
|
|
4794
4794
|
}, O({}, L, {
|
|
@@ -5100,9 +5100,9 @@ function TO(e = {}) {
|
|
|
5100
5100
|
spacing: v = 0,
|
|
5101
5101
|
divider: b,
|
|
5102
5102
|
children: y,
|
|
5103
|
-
className:
|
|
5103
|
+
className: P,
|
|
5104
5104
|
useFlexGap: E = !1
|
|
5105
|
-
} = h,
|
|
5105
|
+
} = h, C = K(h, bO), S = {
|
|
5106
5106
|
direction: g,
|
|
5107
5107
|
spacing: v,
|
|
5108
5108
|
useFlexGap: E
|
|
@@ -5111,8 +5111,8 @@ function TO(e = {}) {
|
|
|
5111
5111
|
as: m,
|
|
5112
5112
|
ownerState: S,
|
|
5113
5113
|
ref: d,
|
|
5114
|
-
className: Q(x.root,
|
|
5115
|
-
},
|
|
5114
|
+
className: Q(x.root, P)
|
|
5115
|
+
}, C, {
|
|
5116
5116
|
children: b ? OO(y, b) : y
|
|
5117
5117
|
}));
|
|
5118
5118
|
}, "Grid"));
|
|
@@ -5476,54 +5476,54 @@ function ra(e) {
|
|
|
5476
5476
|
}, [r, c]), T.useEffect(() => {
|
|
5477
5477
|
if (!c || !v.current)
|
|
5478
5478
|
return;
|
|
5479
|
-
const
|
|
5480
|
-
return v.current.contains(
|
|
5479
|
+
const C = or(v.current);
|
|
5480
|
+
return v.current.contains(C.activeElement) || (v.current.hasAttribute("tabIndex") || (process.env.NODE_ENV !== "production" && console.error(["MUI: The modal content node does not accept focus.", 'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join(`
|
|
5481
5481
|
`)), v.current.setAttribute("tabIndex", "-1")), g.current && v.current.focus()), () => {
|
|
5482
5482
|
i || (h.current && h.current.focus && (u.current = !0, h.current.focus()), h.current = null);
|
|
5483
5483
|
};
|
|
5484
5484
|
}, [c]), T.useEffect(() => {
|
|
5485
5485
|
if (!c || !v.current)
|
|
5486
5486
|
return;
|
|
5487
|
-
const
|
|
5488
|
-
y.current = F, !(a || !s() || F.key !== "Tab") &&
|
|
5487
|
+
const C = or(v.current), S = /* @__PURE__ */ n((F) => {
|
|
5488
|
+
y.current = F, !(a || !s() || F.key !== "Tab") && C.activeElement === v.current && F.shiftKey && (u.current = !0, p.current && p.current.focus());
|
|
5489
5489
|
}, "loopFocus"), x = /* @__PURE__ */ n(() => {
|
|
5490
5490
|
const F = v.current;
|
|
5491
5491
|
if (F === null)
|
|
5492
5492
|
return;
|
|
5493
|
-
if (!
|
|
5493
|
+
if (!C.hasFocus() || !s() || u.current) {
|
|
5494
5494
|
u.current = !1;
|
|
5495
5495
|
return;
|
|
5496
5496
|
}
|
|
5497
|
-
if (F.contains(
|
|
5497
|
+
if (F.contains(C.activeElement) || a && C.activeElement !== d.current && C.activeElement !== p.current)
|
|
5498
5498
|
return;
|
|
5499
|
-
if (
|
|
5499
|
+
if (C.activeElement !== m.current)
|
|
5500
5500
|
m.current = null;
|
|
5501
5501
|
else if (m.current !== null)
|
|
5502
5502
|
return;
|
|
5503
5503
|
if (!g.current)
|
|
5504
5504
|
return;
|
|
5505
5505
|
let $ = [];
|
|
5506
|
-
if ((
|
|
5506
|
+
if ((C.activeElement === d.current || C.activeElement === p.current) && ($ = l(v.current)), $.length > 0) {
|
|
5507
5507
|
var R, k;
|
|
5508
|
-
const L = !!((R = y.current) != null && R.shiftKey && ((k = y.current) == null ? void 0 : k.key) === "Tab"),
|
|
5509
|
-
typeof
|
|
5508
|
+
const L = !!((R = y.current) != null && R.shiftKey && ((k = y.current) == null ? void 0 : k.key) === "Tab"), N = $[0], A = $[$.length - 1];
|
|
5509
|
+
typeof N != "string" && typeof A != "string" && (L ? A.focus() : N.focus());
|
|
5510
5510
|
} else
|
|
5511
5511
|
F.focus();
|
|
5512
5512
|
}, "contain");
|
|
5513
|
-
|
|
5513
|
+
C.addEventListener("focusin", x), C.addEventListener("keydown", S, !0);
|
|
5514
5514
|
const w = setInterval(() => {
|
|
5515
|
-
|
|
5515
|
+
C.activeElement && C.activeElement.tagName === "BODY" && x();
|
|
5516
5516
|
}, 50);
|
|
5517
5517
|
return () => {
|
|
5518
|
-
clearInterval(w),
|
|
5518
|
+
clearInterval(w), C.removeEventListener("focusin", x), C.removeEventListener("keydown", S, !0);
|
|
5519
5519
|
};
|
|
5520
5520
|
}, [r, a, i, s, c, l]);
|
|
5521
|
-
const
|
|
5522
|
-
h.current === null && (h.current =
|
|
5521
|
+
const P = /* @__PURE__ */ n((C) => {
|
|
5522
|
+
h.current === null && (h.current = C.relatedTarget), g.current = !0, m.current = C.target;
|
|
5523
5523
|
const S = t.props.onFocus;
|
|
5524
|
-
S && S(
|
|
5525
|
-
}, "onFocus"), E = /* @__PURE__ */ n((
|
|
5526
|
-
h.current === null && (h.current =
|
|
5524
|
+
S && S(C);
|
|
5525
|
+
}, "onFocus"), E = /* @__PURE__ */ n((C) => {
|
|
5526
|
+
h.current === null && (h.current = C.relatedTarget), g.current = !0;
|
|
5527
5527
|
}, "handleFocusSentinel");
|
|
5528
5528
|
return /* @__PURE__ */ H(T.Fragment, {
|
|
5529
5529
|
children: [/* @__PURE__ */ f("div", {
|
|
@@ -5533,7 +5533,7 @@ function ra(e) {
|
|
|
5533
5533
|
"data-testid": "sentinelStart"
|
|
5534
5534
|
}), /* @__PURE__ */ T.cloneElement(t, {
|
|
5535
5535
|
ref: b,
|
|
5536
|
-
onFocus:
|
|
5536
|
+
onFocus: P
|
|
5537
5537
|
}), /* @__PURE__ */ f("div", {
|
|
5538
5538
|
tabIndex: c ? 0 : -1,
|
|
5539
5539
|
onFocus: E,
|
|
@@ -6238,34 +6238,34 @@ const nx = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "
|
|
|
6238
6238
|
onExited: v,
|
|
6239
6239
|
onExiting: b,
|
|
6240
6240
|
style: y,
|
|
6241
|
-
timeout:
|
|
6241
|
+
timeout: P = i,
|
|
6242
6242
|
// eslint-disable-next-line react/prop-types
|
|
6243
6243
|
TransitionComponent: E = Bt
|
|
6244
|
-
} = t,
|
|
6244
|
+
} = t, C = K(t, nx), S = T.useRef(null), x = lt(S, c.ref, r), w = /* @__PURE__ */ n((I) => (_) => {
|
|
6245
6245
|
if (I) {
|
|
6246
|
-
const
|
|
6247
|
-
_ === void 0 ? I(
|
|
6246
|
+
const D = S.current;
|
|
6247
|
+
_ === void 0 ? I(D) : I(D, _);
|
|
6248
6248
|
}
|
|
6249
6249
|
}, "normalizedTransitionCallback"), F = w(m), $ = w((I, _) => {
|
|
6250
6250
|
Dl(I);
|
|
6251
|
-
const
|
|
6251
|
+
const D = oo({
|
|
6252
6252
|
style: y,
|
|
6253
|
-
timeout:
|
|
6253
|
+
timeout: P,
|
|
6254
6254
|
easing: u
|
|
6255
6255
|
}, {
|
|
6256
6256
|
mode: "enter"
|
|
6257
6257
|
});
|
|
6258
|
-
I.style.webkitTransition = a.transitions.create("opacity",
|
|
6258
|
+
I.style.webkitTransition = a.transitions.create("opacity", D), I.style.transition = a.transitions.create("opacity", D), p && p(I, _);
|
|
6259
6259
|
}), R = w(h), k = w(b), L = w((I) => {
|
|
6260
6260
|
const _ = oo({
|
|
6261
6261
|
style: y,
|
|
6262
|
-
timeout:
|
|
6262
|
+
timeout: P,
|
|
6263
6263
|
easing: u
|
|
6264
6264
|
}, {
|
|
6265
6265
|
mode: "exit"
|
|
6266
6266
|
});
|
|
6267
6267
|
I.style.webkitTransition = a.transitions.create("opacity", _), I.style.transition = a.transitions.create("opacity", _), g && g(I);
|
|
6268
|
-
}),
|
|
6268
|
+
}), N = w(v);
|
|
6269
6269
|
return /* @__PURE__ */ f(E, O({
|
|
6270
6270
|
appear: s,
|
|
6271
6271
|
in: d,
|
|
@@ -6274,13 +6274,13 @@ const nx = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "
|
|
|
6274
6274
|
onEntered: R,
|
|
6275
6275
|
onEntering: F,
|
|
6276
6276
|
onExit: L,
|
|
6277
|
-
onExited:
|
|
6277
|
+
onExited: N,
|
|
6278
6278
|
onExiting: k,
|
|
6279
6279
|
addEndListener: /* @__PURE__ */ n((I) => {
|
|
6280
6280
|
l && l(S.current, I);
|
|
6281
6281
|
}, "handleAddEndListener"),
|
|
6282
|
-
timeout:
|
|
6283
|
-
},
|
|
6282
|
+
timeout: P
|
|
6283
|
+
}, C, {
|
|
6284
6284
|
children: /* @__PURE__ */ n((I, _) => /* @__PURE__ */ T.cloneElement(c, O({
|
|
6285
6285
|
style: O({
|
|
6286
6286
|
opacity: 0,
|
|
@@ -6418,21 +6418,21 @@ const lx = ["children", "className", "component", "components", "componentsProps
|
|
|
6418
6418
|
slotProps: v = {},
|
|
6419
6419
|
slots: b = {},
|
|
6420
6420
|
TransitionComponent: y = _l,
|
|
6421
|
-
transitionDuration:
|
|
6422
|
-
} = s, E = K(s, lx),
|
|
6421
|
+
transitionDuration: P
|
|
6422
|
+
} = s, E = K(s, lx), C = O({}, s, {
|
|
6423
6423
|
component: d,
|
|
6424
6424
|
invisible: m
|
|
6425
|
-
}), S = sx(
|
|
6425
|
+
}), S = sx(C), x = (a = v.root) != null ? a : h.root;
|
|
6426
6426
|
return /* @__PURE__ */ f(y, O({
|
|
6427
6427
|
in: g,
|
|
6428
|
-
timeout:
|
|
6428
|
+
timeout: P
|
|
6429
6429
|
}, E, {
|
|
6430
6430
|
children: /* @__PURE__ */ f(cx, O({
|
|
6431
6431
|
"aria-hidden": !0
|
|
6432
6432
|
}, x, {
|
|
6433
6433
|
as: (i = (l = b.root) != null ? l : p.Root) != null ? i : d,
|
|
6434
6434
|
className: Q(S.root, u, x == null ? void 0 : x.className),
|
|
6435
|
-
ownerState: O({},
|
|
6435
|
+
ownerState: O({}, C, x == null ? void 0 : x.ownerState),
|
|
6436
6436
|
classes: S,
|
|
6437
6437
|
ref: r,
|
|
6438
6438
|
children: c
|
|
@@ -6558,39 +6558,39 @@ function fx(e) {
|
|
|
6558
6558
|
onClose: d,
|
|
6559
6559
|
open: p,
|
|
6560
6560
|
rootRef: h
|
|
6561
|
-
} = e, m = T.useRef({}), g = T.useRef(null), v = T.useRef(null), b = Yr(v, h), [y,
|
|
6562
|
-
let
|
|
6563
|
-
(e["aria-hidden"] === "false" || e["aria-hidden"] === !1) && (
|
|
6561
|
+
} = e, m = T.useRef({}), g = T.useRef(null), v = T.useRef(null), b = Yr(v, h), [y, P] = T.useState(!p), E = dx(u);
|
|
6562
|
+
let C = !0;
|
|
6563
|
+
(e["aria-hidden"] === "false" || e["aria-hidden"] === !1) && (C = !1);
|
|
6564
6564
|
const S = /* @__PURE__ */ n(() => or(g.current), "getDoc"), x = /* @__PURE__ */ n(() => (m.current.modalRef = v.current, m.current.mount = g.current, m.current), "getModal"), w = /* @__PURE__ */ n(() => {
|
|
6565
6565
|
i.mount(x(), {
|
|
6566
6566
|
disableScrollLock: a
|
|
6567
6567
|
}), v.current && (v.current.scrollTop = 0);
|
|
6568
6568
|
}, "handleMounted"), F = Gs(() => {
|
|
6569
|
-
const
|
|
6570
|
-
i.add(x(),
|
|
6571
|
-
}), $ = T.useCallback(() => i.isTopModal(x()), [i]), R = Gs((
|
|
6572
|
-
g.current =
|
|
6569
|
+
const D = ux(t) || S().body;
|
|
6570
|
+
i.add(x(), D), v.current && w();
|
|
6571
|
+
}), $ = T.useCallback(() => i.isTopModal(x()), [i]), R = Gs((D) => {
|
|
6572
|
+
g.current = D, D && (p && $() ? w() : v.current && Do(v.current, C));
|
|
6573
6573
|
}), k = T.useCallback(() => {
|
|
6574
|
-
i.remove(x(),
|
|
6575
|
-
}, [
|
|
6574
|
+
i.remove(x(), C);
|
|
6575
|
+
}, [C, i]);
|
|
6576
6576
|
T.useEffect(() => () => {
|
|
6577
6577
|
k();
|
|
6578
6578
|
}, [k]), T.useEffect(() => {
|
|
6579
6579
|
p ? F() : (!E || !l) && k();
|
|
6580
6580
|
}, [p, k, E, l, F]);
|
|
6581
|
-
const L = /* @__PURE__ */ n((
|
|
6581
|
+
const L = /* @__PURE__ */ n((D) => (B) => {
|
|
6582
6582
|
var M;
|
|
6583
|
-
(M =
|
|
6583
|
+
(M = D.onKeyDown) == null || M.call(D, B), !(B.key !== "Escape" || B.which === 229 || // Wait until IME is settled.
|
|
6584
6584
|
!$()) && (r || (B.stopPropagation(), d && d(B, "escapeKeyDown")));
|
|
6585
|
-
}, "createHandleKeyDown"),
|
|
6585
|
+
}, "createHandleKeyDown"), N = /* @__PURE__ */ n((D) => (B) => {
|
|
6586
6586
|
var M;
|
|
6587
|
-
(M =
|
|
6587
|
+
(M = D.onClick) == null || M.call(D, B), B.target === B.currentTarget && d && d(B, "backdropClick");
|
|
6588
6588
|
}, "createHandleBackdropClick");
|
|
6589
6589
|
return {
|
|
6590
|
-
getRootProps: /* @__PURE__ */ n((
|
|
6590
|
+
getRootProps: /* @__PURE__ */ n((D = {}) => {
|
|
6591
6591
|
const B = fp(e);
|
|
6592
6592
|
delete B.onTransitionEnter, delete B.onTransitionExited;
|
|
6593
|
-
const M = O({}, B,
|
|
6593
|
+
const M = O({}, B, D);
|
|
6594
6594
|
return O({
|
|
6595
6595
|
role: "presentation"
|
|
6596
6596
|
}, M, {
|
|
@@ -6598,23 +6598,23 @@ function fx(e) {
|
|
|
6598
6598
|
ref: b
|
|
6599
6599
|
});
|
|
6600
6600
|
}, "getRootProps"),
|
|
6601
|
-
getBackdropProps: /* @__PURE__ */ n((
|
|
6602
|
-
const B =
|
|
6601
|
+
getBackdropProps: /* @__PURE__ */ n((D = {}) => {
|
|
6602
|
+
const B = D;
|
|
6603
6603
|
return O({
|
|
6604
6604
|
"aria-hidden": !0
|
|
6605
6605
|
}, B, {
|
|
6606
|
-
onClick:
|
|
6606
|
+
onClick: N(B),
|
|
6607
6607
|
open: p
|
|
6608
6608
|
});
|
|
6609
6609
|
}, "getBackdropProps"),
|
|
6610
6610
|
getTransitionProps: /* @__PURE__ */ n(() => {
|
|
6611
|
-
const
|
|
6612
|
-
|
|
6611
|
+
const D = /* @__PURE__ */ n(() => {
|
|
6612
|
+
P(!1), s && s();
|
|
6613
6613
|
}, "handleEnter"), B = /* @__PURE__ */ n(() => {
|
|
6614
|
-
|
|
6614
|
+
P(!0), c && c(), l && k();
|
|
6615
6615
|
}, "handleExited");
|
|
6616
6616
|
return {
|
|
6617
|
-
onEnter: Ks(
|
|
6617
|
+
onEnter: Ks(D, u == null ? void 0 : u.props.onEnter),
|
|
6618
6618
|
onExited: Ks(B, u == null ? void 0 : u.props.onExited)
|
|
6619
6619
|
};
|
|
6620
6620
|
}, "getTransitionProps"),
|
|
@@ -6681,9 +6681,9 @@ const hx = ["BackdropComponent", "BackdropProps", "classes", "className", "close
|
|
|
6681
6681
|
children: v,
|
|
6682
6682
|
container: b,
|
|
6683
6683
|
component: y,
|
|
6684
|
-
components:
|
|
6684
|
+
components: P = {},
|
|
6685
6685
|
componentsProps: E = {},
|
|
6686
|
-
disableAutoFocus:
|
|
6686
|
+
disableAutoFocus: C = !1,
|
|
6687
6687
|
disableEnforceFocus: S = !1,
|
|
6688
6688
|
disableEscapeKeyDown: x = !1,
|
|
6689
6689
|
disablePortal: w = !1,
|
|
@@ -6692,13 +6692,13 @@ const hx = ["BackdropComponent", "BackdropProps", "classes", "className", "close
|
|
|
6692
6692
|
hideBackdrop: R = !1,
|
|
6693
6693
|
keepMounted: k = !1,
|
|
6694
6694
|
onBackdropClick: L,
|
|
6695
|
-
open:
|
|
6695
|
+
open: N,
|
|
6696
6696
|
slotProps: A,
|
|
6697
6697
|
slots: I
|
|
6698
6698
|
// eslint-disable-next-line react/prop-types
|
|
6699
|
-
} = d, _ = K(d, hx),
|
|
6699
|
+
} = d, _ = K(d, hx), D = O({}, d, {
|
|
6700
6700
|
closeAfterTransition: g,
|
|
6701
|
-
disableAutoFocus:
|
|
6701
|
+
disableAutoFocus: C,
|
|
6702
6702
|
disableEnforceFocus: S,
|
|
6703
6703
|
disableEscapeKeyDown: x,
|
|
6704
6704
|
disablePortal: w,
|
|
@@ -6714,9 +6714,9 @@ const hx = ["BackdropComponent", "BackdropProps", "classes", "className", "close
|
|
|
6714
6714
|
isTopModal: ce,
|
|
6715
6715
|
exited: pe,
|
|
6716
6716
|
hasTransition: le
|
|
6717
|
-
} = fx(O({},
|
|
6717
|
+
} = fx(O({}, D, {
|
|
6718
6718
|
rootRef: r
|
|
6719
|
-
})), J = O({},
|
|
6719
|
+
})), J = O({}, D, {
|
|
6720
6720
|
exited: pe
|
|
6721
6721
|
}), ie = bx(J), ne = {};
|
|
6722
6722
|
if (v.props.tabIndex === void 0 && (ne.tabIndex = "-1"), le) {
|
|
@@ -6726,7 +6726,7 @@ const hx = ["BackdropComponent", "BackdropProps", "classes", "className", "close
|
|
|
6726
6726
|
} = U();
|
|
6727
6727
|
ne.onEnter = q, ne.onExited = j;
|
|
6728
6728
|
}
|
|
6729
|
-
const ve = (a = (i = I == null ? void 0 : I.root) != null ? i :
|
|
6729
|
+
const ve = (a = (i = I == null ? void 0 : I.root) != null ? i : P.Root) != null ? a : gx, se = (l = (s = I == null ? void 0 : I.backdrop) != null ? s : P.Backdrop) != null ? l : p, ue = (c = A == null ? void 0 : A.root) != null ? c : E.root, xe = (u = A == null ? void 0 : A.backdrop) != null ? u : E.backdrop, X = jt({
|
|
6730
6730
|
elementType: ve,
|
|
6731
6731
|
externalSlotProps: ue,
|
|
6732
6732
|
externalForwardedProps: _,
|
|
@@ -6749,17 +6749,17 @@ const hx = ["BackdropComponent", "BackdropProps", "classes", "className", "close
|
|
|
6749
6749
|
className: Q(xe == null ? void 0 : xe.className, h == null ? void 0 : h.className, ie == null ? void 0 : ie.backdrop),
|
|
6750
6750
|
ownerState: J
|
|
6751
6751
|
});
|
|
6752
|
-
return !k && !
|
|
6752
|
+
return !k && !N && (!le || pe) ? null : /* @__PURE__ */ f(Qo, {
|
|
6753
6753
|
ref: te,
|
|
6754
6754
|
container: b,
|
|
6755
6755
|
disablePortal: w,
|
|
6756
6756
|
children: /* @__PURE__ */ H(ve, O({}, X, {
|
|
6757
6757
|
children: [!R && p ? /* @__PURE__ */ f(se, O({}, z)) : null, /* @__PURE__ */ f(ra, {
|
|
6758
6758
|
disableEnforceFocus: S,
|
|
6759
|
-
disableAutoFocus:
|
|
6759
|
+
disableAutoFocus: C,
|
|
6760
6760
|
disableRestoreFocus: F,
|
|
6761
6761
|
isEnabled: ce,
|
|
6762
|
-
open:
|
|
6762
|
+
open: N,
|
|
6763
6763
|
children: /* @__PURE__ */ T.cloneElement(v, ne)
|
|
6764
6764
|
})]
|
|
6765
6765
|
}))
|
|
@@ -7246,9 +7246,9 @@ const Fx = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
|
|
|
7246
7246
|
fullWidth: v = !1,
|
|
7247
7247
|
maxWidth: b = "sm",
|
|
7248
7248
|
onBackdropClick: y,
|
|
7249
|
-
onClick:
|
|
7249
|
+
onClick: P,
|
|
7250
7250
|
onClose: E,
|
|
7251
|
-
open:
|
|
7251
|
+
open: C,
|
|
7252
7252
|
PaperComponent: S = Or,
|
|
7253
7253
|
PaperProps: x = {},
|
|
7254
7254
|
scroll: w = "paper",
|
|
@@ -7261,15 +7261,15 @@ const Fx = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
|
|
|
7261
7261
|
fullWidth: v,
|
|
7262
7262
|
maxWidth: b,
|
|
7263
7263
|
scroll: w
|
|
7264
|
-
}),
|
|
7264
|
+
}), N = Rx(L), A = T.useRef(), I = /* @__PURE__ */ n((M) => {
|
|
7265
7265
|
A.current = M.target === M.currentTarget;
|
|
7266
7266
|
}, "handleMouseDown"), _ = /* @__PURE__ */ n((M) => {
|
|
7267
|
-
|
|
7268
|
-
}, "handleBackdropClick"),
|
|
7269
|
-
titleId:
|
|
7270
|
-
}), [
|
|
7267
|
+
P && P(M), A.current && (A.current = null, y && y(M), E && E(M, "backdropClick"));
|
|
7268
|
+
}, "handleBackdropClick"), D = pn(c), B = T.useMemo(() => ({
|
|
7269
|
+
titleId: D
|
|
7270
|
+
}), [D]);
|
|
7271
7271
|
return /* @__PURE__ */ f(kx, O({
|
|
7272
|
-
className: Q(
|
|
7272
|
+
className: Q(N.root, h),
|
|
7273
7273
|
closeAfterTransition: !0,
|
|
7274
7274
|
components: {
|
|
7275
7275
|
Backdrop: wx
|
|
@@ -7282,19 +7282,19 @@ const Fx = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
|
|
|
7282
7282
|
},
|
|
7283
7283
|
disableEscapeKeyDown: m,
|
|
7284
7284
|
onClose: E,
|
|
7285
|
-
open:
|
|
7285
|
+
open: C,
|
|
7286
7286
|
ref: r,
|
|
7287
7287
|
onClick: _,
|
|
7288
7288
|
ownerState: L
|
|
7289
7289
|
}, k, {
|
|
7290
7290
|
children: /* @__PURE__ */ f(F, O({
|
|
7291
7291
|
appear: !0,
|
|
7292
|
-
in:
|
|
7292
|
+
in: C,
|
|
7293
7293
|
timeout: $,
|
|
7294
7294
|
role: "presentation"
|
|
7295
7295
|
}, R, {
|
|
7296
7296
|
children: /* @__PURE__ */ f(Mx, {
|
|
7297
|
-
className: Q(
|
|
7297
|
+
className: Q(N.container),
|
|
7298
7298
|
onMouseDown: I,
|
|
7299
7299
|
ownerState: L,
|
|
7300
7300
|
children: /* @__PURE__ */ f($x, O({
|
|
@@ -7302,9 +7302,9 @@ const Fx = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
|
|
|
7302
7302
|
elevation: 24,
|
|
7303
7303
|
role: "dialog",
|
|
7304
7304
|
"aria-describedby": s,
|
|
7305
|
-
"aria-labelledby":
|
|
7305
|
+
"aria-labelledby": D
|
|
7306
7306
|
}, x, {
|
|
7307
|
-
className: Q(
|
|
7307
|
+
className: Q(N.paper, x.className),
|
|
7308
7308
|
ownerState: L,
|
|
7309
7309
|
children: /* @__PURE__ */ f(Bl.Provider, {
|
|
7310
7310
|
value: B,
|
|
@@ -7697,12 +7697,12 @@ const Wx = ["align", "className", "component", "gutterBottom", "noWrap", "paragr
|
|
|
7697
7697
|
paragraph: h,
|
|
7698
7698
|
variant: m,
|
|
7699
7699
|
variantMapping: g
|
|
7700
|
-
}), y = u || (h ? "p" : g[m] || Yc[m]) || "span",
|
|
7700
|
+
}), y = u || (h ? "p" : g[m] || Yc[m]) || "span", P = Ux(b);
|
|
7701
7701
|
return /* @__PURE__ */ f(qx, O({
|
|
7702
7702
|
as: y,
|
|
7703
7703
|
ref: r,
|
|
7704
7704
|
ownerState: b,
|
|
7705
|
-
className: Q(
|
|
7705
|
+
className: Q(P.root, c)
|
|
7706
7706
|
}, v));
|
|
7707
7707
|
}, "Typography"));
|
|
7708
7708
|
process.env.NODE_ENV !== "production" && (ir.propTypes = {
|
|
@@ -15001,7 +15001,7 @@ const xp = gr(), vn = /* @__PURE__ */ n(({ children: e }) => {
|
|
|
15001
15001
|
etrs: y
|
|
15002
15002
|
};
|
|
15003
15003
|
}, "useUtilsSubmit"), er = /* @__PURE__ */ n((e) => {
|
|
15004
|
-
const t = Cp(), r = Pp(), a = Ep(), i = Fp(), l = wp(), s = Rp(), c = yo(), u = sr(), d = rn(), p = ha(), h = Vt(), m = tt(e), g = Da(), { propsContenidos: v, setPropsContenidos: b } = Gl(), [y] = Wl(m),
|
|
15004
|
+
const t = Cp(), r = Pp(), a = Ep(), i = Fp(), l = wp(), s = Rp(), c = yo(), u = sr(), d = rn(), p = ha(), h = Vt(), m = tt(e), g = Da(), { propsContenidos: v, setPropsContenidos: b } = Gl(), [y] = Wl(m), P = e.etrs || {}, E = e.asisEtr || {}, C = h == null ? void 0 : h.trigger;
|
|
15005
15005
|
return {
|
|
15006
15006
|
form: h,
|
|
15007
15007
|
ajax: y,
|
|
@@ -15015,44 +15015,44 @@ const xp = gr(), vn = /* @__PURE__ */ n(({ children: e }) => {
|
|
|
15015
15015
|
setHidden: Ne(
|
|
15016
15016
|
(S, x) => {
|
|
15017
15017
|
r(S, x), setTimeout(() => {
|
|
15018
|
-
|
|
15018
|
+
C(S);
|
|
15019
15019
|
});
|
|
15020
15020
|
},
|
|
15021
|
-
[r,
|
|
15021
|
+
[r, C]
|
|
15022
15022
|
),
|
|
15023
15023
|
setDisable: Ne(
|
|
15024
15024
|
(S, x) => {
|
|
15025
15025
|
a(S, x), setTimeout(() => {
|
|
15026
|
-
|
|
15026
|
+
C(S);
|
|
15027
15027
|
});
|
|
15028
15028
|
},
|
|
15029
|
-
[a,
|
|
15029
|
+
[a, C]
|
|
15030
15030
|
),
|
|
15031
15031
|
setRequire: Ne(
|
|
15032
15032
|
(S, x) => {
|
|
15033
15033
|
i(S, x), setTimeout(() => {
|
|
15034
|
-
|
|
15034
|
+
C(S);
|
|
15035
15035
|
});
|
|
15036
15036
|
},
|
|
15037
|
-
[i,
|
|
15037
|
+
[i, C]
|
|
15038
15038
|
),
|
|
15039
15039
|
setError: Ne(
|
|
15040
15040
|
(S, x) => {
|
|
15041
15041
|
l(S, x), setTimeout(() => {
|
|
15042
|
-
|
|
15042
|
+
C(S);
|
|
15043
15043
|
});
|
|
15044
15044
|
},
|
|
15045
|
-
[l,
|
|
15045
|
+
[l, C]
|
|
15046
15046
|
),
|
|
15047
15047
|
setLabel: Ne(
|
|
15048
15048
|
(S, x) => {
|
|
15049
15049
|
s(S, x), setTimeout(() => {
|
|
15050
|
-
|
|
15050
|
+
C(S);
|
|
15051
15051
|
});
|
|
15052
15052
|
},
|
|
15053
|
-
[s,
|
|
15053
|
+
[s, C]
|
|
15054
15054
|
),
|
|
15055
|
-
etrs:
|
|
15055
|
+
etrs: P,
|
|
15056
15056
|
asisEtr: E
|
|
15057
15057
|
};
|
|
15058
15058
|
}, "useUtilsFicha"), Je = gr({}), Oo = gr(void 0), Ul = gr(), ql = /* @__PURE__ */ n(({ value: e, children: t }) => {
|
|
@@ -15320,10 +15320,10 @@ const dr = 44, gT = fo(Qc || (Qc = Va`
|
|
|
15320
15320
|
thickness: d,
|
|
15321
15321
|
value: p,
|
|
15322
15322
|
variant: h
|
|
15323
|
-
}), v = yT(g), b = {}, y = {},
|
|
15323
|
+
}), v = yT(g), b = {}, y = {}, P = {};
|
|
15324
15324
|
if (h === "determinate") {
|
|
15325
15325
|
const E = 2 * Math.PI * ((dr - d) / 2);
|
|
15326
|
-
b.strokeDasharray = E.toFixed(3),
|
|
15326
|
+
b.strokeDasharray = E.toFixed(3), P["aria-valuenow"] = Math.round(p), b.strokeDashoffset = `${((100 - p) / 100 * E).toFixed(3)}px`, y.transform = "rotate(-90deg)";
|
|
15327
15327
|
}
|
|
15328
15328
|
return /* @__PURE__ */ f(OT, O({
|
|
15329
15329
|
className: Q(v.root, i),
|
|
@@ -15334,7 +15334,7 @@ const dr = 44, gT = fo(Qc || (Qc = Va`
|
|
|
15334
15334
|
ownerState: g,
|
|
15335
15335
|
ref: r,
|
|
15336
15336
|
role: "progressbar"
|
|
15337
|
-
},
|
|
15337
|
+
}, P, m, {
|
|
15338
15338
|
children: /* @__PURE__ */ f(xT, {
|
|
15339
15339
|
className: v.svg,
|
|
15340
15340
|
ownerState: g,
|
|
@@ -15739,9 +15739,9 @@ const _p = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
|
|
|
15739
15739
|
onEntered: v,
|
|
15740
15740
|
onEntering: b,
|
|
15741
15741
|
onExit: y,
|
|
15742
|
-
onExited:
|
|
15742
|
+
onExited: P,
|
|
15743
15743
|
onExiting: E,
|
|
15744
|
-
style:
|
|
15744
|
+
style: C,
|
|
15745
15745
|
timeout: S = l,
|
|
15746
15746
|
// eslint-disable-next-line react/prop-types
|
|
15747
15747
|
TransitionComponent: x = Bt
|
|
@@ -15752,24 +15752,24 @@ const _p = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
|
|
|
15752
15752
|
}), L = R((M, U) => {
|
|
15753
15753
|
const te = oo({
|
|
15754
15754
|
timeout: S,
|
|
15755
|
-
style:
|
|
15755
|
+
style: C,
|
|
15756
15756
|
easing: h
|
|
15757
15757
|
}, {
|
|
15758
15758
|
mode: "enter"
|
|
15759
15759
|
});
|
|
15760
15760
|
M.style.webkitTransition = a.transitions.create("-webkit-transform", O({}, te)), M.style.transition = a.transitions.create("transform", O({}, te)), M.style.webkitTransform = "none", M.style.transform = "none", b && b(M, U);
|
|
15761
|
-
}),
|
|
15761
|
+
}), N = R(v), A = R(E), I = R((M) => {
|
|
15762
15762
|
const U = oo({
|
|
15763
15763
|
timeout: S,
|
|
15764
|
-
style:
|
|
15764
|
+
style: C,
|
|
15765
15765
|
easing: h
|
|
15766
15766
|
}, {
|
|
15767
15767
|
mode: "exit"
|
|
15768
15768
|
});
|
|
15769
15769
|
M.style.webkitTransition = a.transitions.create("-webkit-transform", U), M.style.transition = a.transitions.create("transform", U), En(p, M, d), y && y(M);
|
|
15770
15770
|
}), _ = R((M) => {
|
|
15771
|
-
M.style.webkitTransition = "", M.style.transition = "",
|
|
15772
|
-
}),
|
|
15771
|
+
M.style.webkitTransition = "", M.style.transition = "", P && P(M);
|
|
15772
|
+
}), D = /* @__PURE__ */ n((M) => {
|
|
15773
15773
|
s && s(F.current, M);
|
|
15774
15774
|
}, "handleAddEndListener"), B = T.useCallback(() => {
|
|
15775
15775
|
F.current && En(p, F.current, d);
|
|
@@ -15788,12 +15788,12 @@ const _p = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
|
|
|
15788
15788
|
}, [m, B]), /* @__PURE__ */ f(x, O({
|
|
15789
15789
|
nodeRef: F,
|
|
15790
15790
|
onEnter: k,
|
|
15791
|
-
onEntered:
|
|
15791
|
+
onEntered: N,
|
|
15792
15792
|
onEntering: L,
|
|
15793
15793
|
onExit: I,
|
|
15794
15794
|
onExited: _,
|
|
15795
15795
|
onExiting: A,
|
|
15796
|
-
addEndListener:
|
|
15796
|
+
addEndListener: D,
|
|
15797
15797
|
appear: c,
|
|
15798
15798
|
in: m,
|
|
15799
15799
|
timeout: S
|
|
@@ -15802,7 +15802,7 @@ const _p = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
|
|
|
15802
15802
|
ref: $,
|
|
15803
15803
|
style: O({
|
|
15804
15804
|
visibility: M === "exited" && !m ? "hidden" : void 0
|
|
15805
|
-
},
|
|
15805
|
+
}, C, u.props.style)
|
|
15806
15806
|
}, U)), "children")
|
|
15807
15807
|
}));
|
|
15808
15808
|
}, "Slide"));
|
|
@@ -16566,9 +16566,9 @@ const Yp = /* @__PURE__ */ n((e) => {
|
|
|
16566
16566
|
convertFilterModelToFilterValues: v = TC,
|
|
16567
16567
|
claveNuevo: b,
|
|
16568
16568
|
mobileColumns: y = "",
|
|
16569
|
-
hasVerFicha:
|
|
16569
|
+
hasVerFicha: P = !1,
|
|
16570
16570
|
disableMultipleRowSelection: E = !0,
|
|
16571
|
-
borra:
|
|
16571
|
+
borra: C = !0,
|
|
16572
16572
|
...S
|
|
16573
16573
|
} = e, x = ja(e), w = rt(), F = tt(e), {
|
|
16574
16574
|
props: {
|
|
@@ -16576,13 +16576,13 @@ const Yp = /* @__PURE__ */ n((e) => {
|
|
|
16576
16576
|
hasCreate: R,
|
|
16577
16577
|
hasSeleccionMultiple: k,
|
|
16578
16578
|
chkSeleccion: L,
|
|
16579
|
-
...
|
|
16579
|
+
...N
|
|
16580
16580
|
}
|
|
16581
16581
|
} = _a(), {
|
|
16582
16582
|
data: A = [],
|
|
16583
16583
|
isFetching: I,
|
|
16584
16584
|
selectedIds: _,
|
|
16585
|
-
onSelect:
|
|
16585
|
+
onSelect: D,
|
|
16586
16586
|
displayedFilters: B,
|
|
16587
16587
|
setFilters: M
|
|
16588
16588
|
} = Xr(), U = ma(), te = ha(), ce = ld(), pe = Pe(Xp), le = Pe(BE), J = os();
|
|
@@ -16644,7 +16644,7 @@ const Yp = /* @__PURE__ */ n((e) => {
|
|
|
16644
16644
|
const ae = ce.current.getRowNode(G.id), we = !zi(
|
|
16645
16645
|
G.row,
|
|
16646
16646
|
s
|
|
16647
|
-
), Re =
|
|
16647
|
+
), Re = P && we, Te = t.filter((De) => !!De).map((De, Ye) => {
|
|
16648
16648
|
const { handler: et, key: ge, ...re } = De;
|
|
16649
16649
|
return /* @__PURE__ */ f(
|
|
16650
16650
|
Js,
|
|
@@ -16665,7 +16665,7 @@ const Yp = /* @__PURE__ */ n((e) => {
|
|
|
16665
16665
|
`gaci-${Ye}`
|
|
16666
16666
|
);
|
|
16667
16667
|
});
|
|
16668
|
-
if (
|
|
16668
|
+
if (C) {
|
|
16669
16669
|
const De = /* @__PURE__ */ n(() => {
|
|
16670
16670
|
const Ye = U({
|
|
16671
16671
|
type: "edit",
|
|
@@ -16709,7 +16709,7 @@ const Yp = /* @__PURE__ */ n((e) => {
|
|
|
16709
16709
|
disabled: we
|
|
16710
16710
|
}
|
|
16711
16711
|
)
|
|
16712
|
-
] :
|
|
16712
|
+
] : P ? [
|
|
16713
16713
|
/* @__PURE__ */ f(
|
|
16714
16714
|
eu,
|
|
16715
16715
|
{
|
|
@@ -16738,7 +16738,7 @@ const Yp = /* @__PURE__ */ n((e) => {
|
|
|
16738
16738
|
}, "getActions")
|
|
16739
16739
|
}
|
|
16740
16740
|
]) : q, oe = Mt(() => j, []), Fe = k && hr($), Ee = /* @__PURE__ */ n((G) => {
|
|
16741
|
-
I || (k || !E ?
|
|
16741
|
+
I || (k || !E ? D(G) : ce.current.isRowSelected(G[0]) ? D([]) : D(G));
|
|
16742
16742
|
}, "handleSelectionChange"), ye = /* @__PURE__ */ n((G) => {
|
|
16743
16743
|
M(v(G), B);
|
|
16744
16744
|
}, "handleFilterChange"), ze = /* @__PURE__ */ n((G) => {
|
|
@@ -16786,7 +16786,7 @@ const Yp = /* @__PURE__ */ n((e) => {
|
|
|
16786
16786
|
onRowDoubleClick: ze,
|
|
16787
16787
|
initialState: z,
|
|
16788
16788
|
...S,
|
|
16789
|
-
...
|
|
16789
|
+
...N
|
|
16790
16790
|
}
|
|
16791
16791
|
) })
|
|
16792
16792
|
}
|
|
@@ -16819,12 +16819,12 @@ const Yp = /* @__PURE__ */ n((e) => {
|
|
|
16819
16819
|
g.map((b) => {
|
|
16820
16820
|
const {
|
|
16821
16821
|
field: y,
|
|
16822
|
-
headerName:
|
|
16822
|
+
headerName: P,
|
|
16823
16823
|
valueGetter: E,
|
|
16824
|
-
type:
|
|
16824
|
+
type: C = "string",
|
|
16825
16825
|
jsxMobile: S
|
|
16826
16826
|
} = b;
|
|
16827
|
-
return S ? /* @__PURE__ */ f(_e, { children: S(v, b) }) :
|
|
16827
|
+
return S ? /* @__PURE__ */ f(_e, { children: S(v, b) }) : C === "boolean" ? /* @__PURE__ */ f(_e, { children: /* @__PURE__ */ f(
|
|
16828
16828
|
_e,
|
|
16829
16829
|
{
|
|
16830
16830
|
component: "span",
|
|
@@ -16833,23 +16833,23 @@ const Yp = /* @__PURE__ */ n((e) => {
|
|
|
16833
16833
|
value: v[y]
|
|
16834
16834
|
}) ? "green" : "red"
|
|
16835
16835
|
},
|
|
16836
|
-
children:
|
|
16836
|
+
children: P
|
|
16837
16837
|
}
|
|
16838
16838
|
) }) : /* @__PURE__ */ f(_e, { children: v[y] });
|
|
16839
16839
|
}),
|
|
16840
16840
|
/* @__PURE__ */ f(_e, { children: a.filter((b) => !!b).map((b, y) => {
|
|
16841
16841
|
const {
|
|
16842
|
-
key:
|
|
16842
|
+
key: P,
|
|
16843
16843
|
handler: E,
|
|
16844
|
-
icon:
|
|
16844
|
+
icon: C = /* @__PURE__ */ f(Xo, {}),
|
|
16845
16845
|
...S
|
|
16846
16846
|
} = b;
|
|
16847
16847
|
return /* @__PURE__ */ f(
|
|
16848
16848
|
Et,
|
|
16849
16849
|
{
|
|
16850
|
-
onClick: /* @__PURE__ */ n((x) => (x.preventDefault(), typeof E == "function" ? E({ ...d, record: v },
|
|
16850
|
+
onClick: /* @__PURE__ */ n((x) => (x.preventDefault(), typeof E == "function" ? E({ ...d, record: v }, P) : !1), "onClick"),
|
|
16851
16851
|
...S,
|
|
16852
|
-
children:
|
|
16852
|
+
children: C
|
|
16853
16853
|
},
|
|
16854
16854
|
`actionbutton-${y}}`
|
|
16855
16855
|
);
|
|
@@ -16937,13 +16937,13 @@ const Yp = /* @__PURE__ */ n((e) => {
|
|
|
16937
16937
|
open: u
|
|
16938
16938
|
} = e, { dirtyFields: d, isValid: p } = Ih(), {
|
|
16939
16939
|
fichaProps: { [e.source]: h = {}, etrs: m }
|
|
16940
|
-
} = Pe(Je), g = yo(), v = Pe(Oo), { onAfterRenderAsistente: b, ...y } = h,
|
|
16940
|
+
} = Pe(Je), g = yo(), v = Pe(Oo), { onAfterRenderAsistente: b, ...y } = h, P = er({ resource: r, etrs: m, asisEtr: v });
|
|
16941
16941
|
return ct(() => {
|
|
16942
|
-
u && typeof b == "function" && b({ ...
|
|
16942
|
+
u && typeof b == "function" && b({ ...P, form: t }, a);
|
|
16943
16943
|
}, [u]), /* @__PURE__ */ H(nr, { children: [
|
|
16944
16944
|
/* @__PURE__ */ f(bn, { children: /* @__PURE__ */ f(Wu, { spacing: 4, children: ua.map(
|
|
16945
16945
|
i,
|
|
16946
|
-
(E,
|
|
16946
|
+
(E, C) => rr(E, {
|
|
16947
16947
|
resource: r,
|
|
16948
16948
|
estado: a,
|
|
16949
16949
|
defaultValue: l[E.props.source] || "",
|
|
@@ -16986,8 +16986,8 @@ const Yp = /* @__PURE__ */ n((e) => {
|
|
|
16986
16986
|
onAfterSubmitAsistente: u = no
|
|
16987
16987
|
} = e, [d, p] = ol(!1), h = tt(e), m = Vt(), g = ll(), v = $p({ apiRef: g, source: l, enviarTodo: s }), b = "N", {
|
|
16988
16988
|
estado: y,
|
|
16989
|
-
fichaProps: { etrs:
|
|
16990
|
-
} = Pe(Je), E = Pe(Oo),
|
|
16989
|
+
fichaProps: { etrs: P }
|
|
16990
|
+
} = Pe(Je), E = Pe(Oo), C = er({ etrs: P, asisEtr: E }), x = rt()("ra.action.create");
|
|
16991
16991
|
return /* @__PURE__ */ H(nr, { children: [
|
|
16992
16992
|
/* @__PURE__ */ f(
|
|
16993
16993
|
Et,
|
|
@@ -17010,12 +17010,12 @@ const Yp = /* @__PURE__ */ n((e) => {
|
|
|
17010
17010
|
resource: h,
|
|
17011
17011
|
onSubmit: /* @__PURE__ */ n(async (F, $) => {
|
|
17012
17012
|
const R = await c(
|
|
17013
|
-
|
|
17013
|
+
C,
|
|
17014
17014
|
F,
|
|
17015
17015
|
b,
|
|
17016
17016
|
y
|
|
17017
17017
|
);
|
|
17018
|
-
R !== !1 && (v(typeof R == "object" ? R : F, m), p(!1), u(
|
|
17018
|
+
R !== !1 && (v(typeof R == "object" ? R : F, m), p(!1), u(C, F, b, y));
|
|
17019
17019
|
}, "handleSubmit"),
|
|
17020
17020
|
children: /* @__PURE__ */ f(
|
|
17021
17021
|
Jp,
|
|
@@ -17048,9 +17048,9 @@ const Yp = /* @__PURE__ */ n((e) => {
|
|
|
17048
17048
|
onBeforeSubmitAsistente: u = no,
|
|
17049
17049
|
onAfterSubmitAsistente: d = no
|
|
17050
17050
|
} = e, p = rt(), [h, m] = ol(!1), g = ll(), v = Vt(), b = Lp({ apiRef: g, source: l, enviarTodo: c }), y = "M", {
|
|
17051
|
-
estado:
|
|
17051
|
+
estado: P,
|
|
17052
17052
|
fichaProps: { etrs: E }
|
|
17053
|
-
} = Pe(Je),
|
|
17053
|
+
} = Pe(Je), C = Pe(Oo), S = er({ etrs: E, asisEtr: C }), x = p("ra.action.edit");
|
|
17054
17054
|
return /* @__PURE__ */ H(nr, { children: [
|
|
17055
17055
|
/* @__PURE__ */ f(
|
|
17056
17056
|
Et,
|
|
@@ -17076,9 +17076,9 @@ const Yp = /* @__PURE__ */ n((e) => {
|
|
|
17076
17076
|
S,
|
|
17077
17077
|
F,
|
|
17078
17078
|
y,
|
|
17079
|
-
|
|
17079
|
+
P
|
|
17080
17080
|
);
|
|
17081
|
-
R !== !1 && (b(s.id, typeof R == "object" ? R : F, v), m(!1), d(S, F, y,
|
|
17081
|
+
R !== !1 && (b(s.id, typeof R == "object" ? R : F, v), m(!1), d(S, F, y, P));
|
|
17082
17082
|
}, "handleSubmit"),
|
|
17083
17083
|
children: /* @__PURE__ */ f(
|
|
17084
17084
|
Jp,
|
|
@@ -17117,8 +17117,8 @@ const Yp = /* @__PURE__ */ n((e) => {
|
|
|
17117
17117
|
/* @__PURE__ */ f(
|
|
17118
17118
|
FC,
|
|
17119
17119
|
{
|
|
17120
|
-
onClick: /* @__PURE__ */ n((
|
|
17121
|
-
d(!0),
|
|
17120
|
+
onClick: /* @__PURE__ */ n((P) => {
|
|
17121
|
+
d(!0), P.stopPropagation();
|
|
17122
17122
|
}, "onClick"),
|
|
17123
17123
|
children: /* @__PURE__ */ f(Na, {})
|
|
17124
17124
|
},
|
|
@@ -17130,11 +17130,11 @@ const Yp = /* @__PURE__ */ n((e) => {
|
|
|
17130
17130
|
isOpen: u,
|
|
17131
17131
|
title: t,
|
|
17132
17132
|
content: r,
|
|
17133
|
-
onConfirm: /* @__PURE__ */ n(async (
|
|
17133
|
+
onConfirm: /* @__PURE__ */ n(async (P) => {
|
|
17134
17134
|
await s(b, a, "B", g) !== !1 && (m(a.id, h), c(b, a, "B", g));
|
|
17135
17135
|
}, "handleSubmit"),
|
|
17136
|
-
onClose: /* @__PURE__ */ n((
|
|
17137
|
-
d(!1),
|
|
17136
|
+
onClose: /* @__PURE__ */ n((P) => {
|
|
17137
|
+
d(!1), P.stopPropagation();
|
|
17138
17138
|
}, "onClose")
|
|
17139
17139
|
}
|
|
17140
17140
|
)
|
|
@@ -17156,7 +17156,7 @@ const Yp = /* @__PURE__ */ n((e) => {
|
|
|
17156
17156
|
sxContainer: g = {},
|
|
17157
17157
|
filter: v,
|
|
17158
17158
|
...b
|
|
17159
|
-
} = e, [y,
|
|
17159
|
+
} = e, [y, P] = We([]), E = Zt(e), C = Vt(), { field: S } = rl({ defaultValue: "", ...e }), x = os(), {
|
|
17160
17160
|
isLoading: w,
|
|
17161
17161
|
fichaProps: { [m]: F }
|
|
17162
17162
|
} = Pe(Je), $ = sl((q) => {
|
|
@@ -17165,14 +17165,14 @@ const Yp = /* @__PURE__ */ n((e) => {
|
|
|
17165
17165
|
}), { hidden: R } = $ || {}, {
|
|
17166
17166
|
enviarTodo: k = !1,
|
|
17167
17167
|
disabled: L,
|
|
17168
|
-
hidden:
|
|
17168
|
+
hidden: N,
|
|
17169
17169
|
useContenido: A = xr,
|
|
17170
17170
|
onBeforeSubmitAsistente: I,
|
|
17171
17171
|
onAfterSubmitAsistente: _,
|
|
17172
|
-
allowAdd:
|
|
17172
|
+
allowAdd: D,
|
|
17173
17173
|
allowRemove: B,
|
|
17174
17174
|
slots: M
|
|
17175
|
-
} = F || {}, [U, te] = We(a), [{ field: ce, sort: pe }] = a, le = d || L, J = R !== void 0 ? R :
|
|
17175
|
+
} = F || {}, [U, te] = We(a), [{ field: ce, sort: pe }] = a, le = d || L, J = R !== void 0 ? R : N !== void 0 ? N : p, ie = D ?? s, ne = B ?? c;
|
|
17176
17176
|
let ve = { ...v };
|
|
17177
17177
|
E && t.split(",").forEach((q) => {
|
|
17178
17178
|
q && (ve[q] = [
|
|
@@ -17185,7 +17185,7 @@ const Yp = /* @__PURE__ */ n((e) => {
|
|
|
17185
17185
|
]);
|
|
17186
17186
|
}), ct(() => {
|
|
17187
17187
|
u || setTimeout(() => {
|
|
17188
|
-
|
|
17188
|
+
C.setValue(m, "");
|
|
17189
17189
|
}, 1e3);
|
|
17190
17190
|
}, [u]);
|
|
17191
17191
|
const { isFetching: se, refetch: ue } = Yu(
|
|
@@ -17199,8 +17199,8 @@ const Yp = /* @__PURE__ */ n((e) => {
|
|
|
17199
17199
|
enabled: u && !w,
|
|
17200
17200
|
onSuccess: /* @__PURE__ */ n((q) => {
|
|
17201
17201
|
setTimeout(() => {
|
|
17202
|
-
|
|
17203
|
-
}, 1e3),
|
|
17202
|
+
C.setValue(m, "");
|
|
17203
|
+
}, 1e3), P((q == null ? void 0 : q.data) || []);
|
|
17204
17204
|
}, "onSuccess")
|
|
17205
17205
|
}
|
|
17206
17206
|
), xe = A({
|
|
@@ -17349,9 +17349,9 @@ const Yp = /* @__PURE__ */ n((e) => {
|
|
|
17349
17349
|
});
|
|
17350
17350
|
const {
|
|
17351
17351
|
estado: y,
|
|
17352
|
-
isLoading:
|
|
17352
|
+
isLoading: P,
|
|
17353
17353
|
fichaProps: E = {}
|
|
17354
|
-
} = Pe(Je),
|
|
17354
|
+
} = Pe(Je), C = os(), S = er(e), { [e.source]: x = {} } = E, { useContenido: w = xr, ...F } = x, {
|
|
17355
17355
|
data: $ = [],
|
|
17356
17356
|
isFetching: R,
|
|
17357
17357
|
refetch: k
|
|
@@ -17363,7 +17363,7 @@ const Yp = /* @__PURE__ */ n((e) => {
|
|
|
17363
17363
|
filter: b
|
|
17364
17364
|
},
|
|
17365
17365
|
{ enabled: l && !u }
|
|
17366
|
-
), L = ld(),
|
|
17366
|
+
), L = ld(), N = sd({
|
|
17367
17367
|
apiRef: L,
|
|
17368
17368
|
initialState: s
|
|
17369
17369
|
});
|
|
@@ -17371,7 +17371,7 @@ const Yp = /* @__PURE__ */ n((e) => {
|
|
|
17371
17371
|
...c,
|
|
17372
17372
|
estado: y,
|
|
17373
17373
|
hidden: e.hidden,
|
|
17374
|
-
isLoading:
|
|
17374
|
+
isLoading: P,
|
|
17375
17375
|
utils: S,
|
|
17376
17376
|
...F,
|
|
17377
17377
|
refetch: k,
|
|
@@ -17385,7 +17385,7 @@ const Yp = /* @__PURE__ */ n((e) => {
|
|
|
17385
17385
|
borderRadius: 0,
|
|
17386
17386
|
marginTop: 1
|
|
17387
17387
|
},
|
|
17388
|
-
children: /* @__PURE__ */ f(Uu, { injectFirst: !0, children: /* @__PURE__ */ f(kl, { theme:
|
|
17388
|
+
children: /* @__PURE__ */ f(Uu, { injectFirst: !0, children: /* @__PURE__ */ f(kl, { theme: C, children: /* @__PURE__ */ f(
|
|
17389
17389
|
il,
|
|
17390
17390
|
{
|
|
17391
17391
|
apiRef: L,
|
|
@@ -17409,7 +17409,7 @@ const Yp = /* @__PURE__ */ n((e) => {
|
|
|
17409
17409
|
//header: <div>This is my custom Toolbar!</div>,
|
|
17410
17410
|
noRowsOverlay: Kl
|
|
17411
17411
|
},
|
|
17412
|
-
initialState:
|
|
17412
|
+
initialState: N,
|
|
17413
17413
|
...c
|
|
17414
17414
|
}
|
|
17415
17415
|
) }) })
|
|
@@ -17870,7 +17870,7 @@ const Hi = 550, HC = 80, WC = fo(nu || (nu = Ha`
|
|
|
17870
17870
|
rippleY: F,
|
|
17871
17871
|
rippleSize: $
|
|
17872
17872
|
}, p.current)]), p.current += 1, h.current = R;
|
|
17873
|
-
}, [l]),
|
|
17873
|
+
}, [l]), P = T.useCallback((S = {}, x = {}, w = () => {
|
|
17874
17874
|
}) => {
|
|
17875
17875
|
const {
|
|
17876
17876
|
pulsate: F = !1,
|
|
@@ -17889,26 +17889,26 @@ const Hi = 550, HC = 80, WC = fo(nu || (nu = Ha`
|
|
|
17889
17889
|
left: 0,
|
|
17890
17890
|
top: 0
|
|
17891
17891
|
};
|
|
17892
|
-
let
|
|
17892
|
+
let N, A, I;
|
|
17893
17893
|
if ($ || S === void 0 || S.clientX === 0 && S.clientY === 0 || !S.clientX && !S.touches)
|
|
17894
|
-
|
|
17894
|
+
N = Math.round(L.width / 2), A = Math.round(L.height / 2);
|
|
17895
17895
|
else {
|
|
17896
17896
|
const {
|
|
17897
17897
|
clientX: _,
|
|
17898
|
-
clientY:
|
|
17898
|
+
clientY: D
|
|
17899
17899
|
} = S.touches && S.touches.length > 0 ? S.touches[0] : S;
|
|
17900
|
-
|
|
17900
|
+
N = Math.round(_ - L.left), A = Math.round(D - L.top);
|
|
17901
17901
|
}
|
|
17902
17902
|
if ($)
|
|
17903
17903
|
I = Math.sqrt((2 * L.width ** 2 + L.height ** 2) / 3), I % 2 === 0 && (I += 1);
|
|
17904
17904
|
else {
|
|
17905
|
-
const _ = Math.max(Math.abs((k ? k.clientWidth : 0) -
|
|
17906
|
-
I = Math.sqrt(_ ** 2 +
|
|
17905
|
+
const _ = Math.max(Math.abs((k ? k.clientWidth : 0) - N), N) * 2 + 2, D = Math.max(Math.abs((k ? k.clientHeight : 0) - A), A) * 2 + 2;
|
|
17906
|
+
I = Math.sqrt(_ ** 2 + D ** 2);
|
|
17907
17907
|
}
|
|
17908
17908
|
S != null && S.touches ? v.current === null && (v.current = () => {
|
|
17909
17909
|
y({
|
|
17910
17910
|
pulsate: F,
|
|
17911
|
-
rippleX:
|
|
17911
|
+
rippleX: N,
|
|
17912
17912
|
rippleY: A,
|
|
17913
17913
|
rippleSize: I,
|
|
17914
17914
|
cb: w
|
|
@@ -17917,19 +17917,19 @@ const Hi = 550, HC = 80, WC = fo(nu || (nu = Ha`
|
|
|
17917
17917
|
v.current && (v.current(), v.current = null);
|
|
17918
17918
|
})) : y({
|
|
17919
17919
|
pulsate: F,
|
|
17920
|
-
rippleX:
|
|
17920
|
+
rippleX: N,
|
|
17921
17921
|
rippleY: A,
|
|
17922
17922
|
rippleSize: I,
|
|
17923
17923
|
cb: w
|
|
17924
17924
|
});
|
|
17925
17925
|
}, [i, y, g]), E = T.useCallback(() => {
|
|
17926
|
-
|
|
17926
|
+
P({}, {
|
|
17927
17927
|
pulsate: !0
|
|
17928
17928
|
});
|
|
17929
|
-
}, [
|
|
17929
|
+
}, [P]), C = T.useCallback((S, x) => {
|
|
17930
17930
|
if (g.clear(), (S == null ? void 0 : S.type) === "touchend" && v.current) {
|
|
17931
17931
|
v.current(), v.current = null, g.start(0, () => {
|
|
17932
|
-
|
|
17932
|
+
C(S, x);
|
|
17933
17933
|
});
|
|
17934
17934
|
return;
|
|
17935
17935
|
}
|
|
@@ -17937,9 +17937,9 @@ const Hi = 550, HC = 80, WC = fo(nu || (nu = Ha`
|
|
|
17937
17937
|
}, [g]);
|
|
17938
17938
|
return T.useImperativeHandle(r, () => ({
|
|
17939
17939
|
pulsate: E,
|
|
17940
|
-
start:
|
|
17941
|
-
stop:
|
|
17942
|
-
}), [E,
|
|
17940
|
+
start: P,
|
|
17941
|
+
stop: C
|
|
17942
|
+
}), [E, P, C]), /* @__PURE__ */ f(GC, O({
|
|
17943
17943
|
className: Q(Ct.root, l.root, s),
|
|
17944
17944
|
ref: b
|
|
17945
17945
|
}, c, {
|
|
@@ -18040,9 +18040,9 @@ const QC = de("MuiButtonBase", ["root", "disabled", "focusVisible"]), XC = ["act
|
|
|
18040
18040
|
onBlur: v,
|
|
18041
18041
|
onClick: b,
|
|
18042
18042
|
onContextMenu: y,
|
|
18043
|
-
onDragLeave:
|
|
18043
|
+
onDragLeave: P,
|
|
18044
18044
|
onFocus: E,
|
|
18045
|
-
onFocusVisible:
|
|
18045
|
+
onFocusVisible: C,
|
|
18046
18046
|
onKeyDown: S,
|
|
18047
18047
|
onKeyUp: x,
|
|
18048
18048
|
onMouseDown: w,
|
|
@@ -18051,11 +18051,11 @@ const QC = de("MuiButtonBase", ["root", "disabled", "focusVisible"]), XC = ["act
|
|
|
18051
18051
|
onTouchEnd: R,
|
|
18052
18052
|
onTouchMove: k,
|
|
18053
18053
|
onTouchStart: L,
|
|
18054
|
-
tabIndex:
|
|
18054
|
+
tabIndex: N = 0,
|
|
18055
18055
|
TouchRippleProps: A,
|
|
18056
18056
|
touchRippleRef: I,
|
|
18057
18057
|
type: _
|
|
18058
|
-
} = a,
|
|
18058
|
+
} = a, D = K(a, XC), B = T.useRef(null), M = T.useRef(null), U = lt(M, I), {
|
|
18059
18059
|
isFocusVisibleRef: te,
|
|
18060
18060
|
onFocus: ce,
|
|
18061
18061
|
onBlur: pe,
|
|
@@ -18078,12 +18078,12 @@ const QC = de("MuiButtonBase", ["root", "disabled", "focusVisible"]), XC = ["act
|
|
|
18078
18078
|
return Kt((dt) => (Ve && Ve(dt), !ut && M.current && M.current[re](dt), !0));
|
|
18079
18079
|
}
|
|
18080
18080
|
n(ue, "useRippleHandler");
|
|
18081
|
-
const xe = ue("start", w), X = ue("stop", y), z = ue("stop",
|
|
18081
|
+
const xe = ue("start", w), X = ue("stop", y), z = ue("stop", P), q = ue("stop", $), j = ue("stop", (re) => {
|
|
18082
18082
|
J && re.preventDefault(), F && F(re);
|
|
18083
18083
|
}), oe = ue("start", L), Fe = ue("stop", R), Ee = ue("stop", k), ye = ue("stop", (re) => {
|
|
18084
18084
|
pe(re), te.current === !1 && ie(!1), v && v(re);
|
|
18085
18085
|
}, !1), ze = Kt((re) => {
|
|
18086
|
-
B.current || (B.current = re.currentTarget), ce(re), te.current === !0 && (ie(!0),
|
|
18086
|
+
B.current || (B.current = re.currentTarget), ce(re), te.current === !0 && (ie(!0), C && C(re)), E && E(re);
|
|
18087
18087
|
}), G = /* @__PURE__ */ n(() => {
|
|
18088
18088
|
const re = B.current;
|
|
18089
18089
|
return u && u !== "button" && !(re.tagName === "A" && re.href);
|
|
@@ -18097,9 +18097,9 @@ const QC = de("MuiButtonBase", ["root", "disabled", "focusVisible"]), XC = ["act
|
|
|
18097
18097
|
})), x && x(re), b && re.target === re.currentTarget && G() && re.key === " " && !re.defaultPrevented && b(re);
|
|
18098
18098
|
});
|
|
18099
18099
|
let Te = u;
|
|
18100
|
-
Te === "button" && (
|
|
18100
|
+
Te === "button" && (D.href || D.to) && (Te = g);
|
|
18101
18101
|
const De = {};
|
|
18102
|
-
Te === "button" ? (De.type = _ === void 0 ? "button" : _, De.disabled = d) : (!
|
|
18102
|
+
Te === "button" ? (De.type = _ === void 0 ? "button" : _, De.disabled = d) : (!D.href && !D.to && (De.role = "button"), d && (De["aria-disabled"] = d));
|
|
18103
18103
|
const Ye = lt(r, le, B);
|
|
18104
18104
|
process.env.NODE_ENV !== "production" && T.useEffect(() => {
|
|
18105
18105
|
se && !M.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(`
|
|
@@ -18112,7 +18112,7 @@ const QC = de("MuiButtonBase", ["root", "disabled", "focusVisible"]), XC = ["act
|
|
|
18112
18112
|
disableRipple: p,
|
|
18113
18113
|
disableTouchRipple: h,
|
|
18114
18114
|
focusRipple: m,
|
|
18115
|
-
tabIndex:
|
|
18115
|
+
tabIndex: N,
|
|
18116
18116
|
focusVisible: J
|
|
18117
18117
|
}), ge = ZC(et);
|
|
18118
18118
|
return /* @__PURE__ */ H(JC, O({
|
|
@@ -18133,9 +18133,9 @@ const QC = de("MuiButtonBase", ["root", "disabled", "focusVisible"]), XC = ["act
|
|
|
18133
18133
|
onTouchMove: Ee,
|
|
18134
18134
|
onTouchStart: oe,
|
|
18135
18135
|
ref: Ye,
|
|
18136
|
-
tabIndex: d ? -1 :
|
|
18136
|
+
tabIndex: d ? -1 : N,
|
|
18137
18137
|
type: _
|
|
18138
|
-
}, De,
|
|
18138
|
+
}, De, D, {
|
|
18139
18139
|
children: [s, se ? (
|
|
18140
18140
|
/* TouchRipple is only needed client-side, x2 boost on the server. */
|
|
18141
18141
|
/* @__PURE__ */ f(tf, O({
|
|
@@ -18419,9 +18419,9 @@ const pr = de("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrim
|
|
|
18419
18419
|
// eslint-disable-next-line react/prop-types
|
|
18420
18420
|
selectionFollowsFocus: y,
|
|
18421
18421
|
// eslint-disable-next-line react/prop-types
|
|
18422
|
-
textColor:
|
|
18422
|
+
textColor: P = "inherit",
|
|
18423
18423
|
value: E,
|
|
18424
|
-
wrapped:
|
|
18424
|
+
wrapped: C = !1
|
|
18425
18425
|
} = a, S = K(a, tP), x = O({}, a, {
|
|
18426
18426
|
disabled: l,
|
|
18427
18427
|
disableFocusRipple: s,
|
|
@@ -18430,8 +18430,8 @@ const pr = de("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrim
|
|
|
18430
18430
|
iconPosition: d,
|
|
18431
18431
|
label: !!h,
|
|
18432
18432
|
fullWidth: c,
|
|
18433
|
-
textColor:
|
|
18434
|
-
wrapped:
|
|
18433
|
+
textColor: P,
|
|
18434
|
+
wrapped: C
|
|
18435
18435
|
}), w = rP(x), F = u && h && /* @__PURE__ */ T.isValidElement(u) ? /* @__PURE__ */ T.cloneElement(u, {
|
|
18436
18436
|
className: Q(w.iconWrapper, u.props.className)
|
|
18437
18437
|
}) : u, $ = /* @__PURE__ */ n((k) => {
|
|
@@ -18661,7 +18661,7 @@ const dP = de("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled
|
|
|
18661
18661
|
fontSize: "small"
|
|
18662
18662
|
},
|
|
18663
18663
|
ownerState: m
|
|
18664
|
-
}),
|
|
18664
|
+
}), P = jt({
|
|
18665
18665
|
elementType: b,
|
|
18666
18666
|
externalSlotProps: u.endScrollButtonIcon,
|
|
18667
18667
|
additionalProps: {
|
|
@@ -18677,7 +18677,7 @@ const dP = de("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled
|
|
|
18677
18677
|
ownerState: m,
|
|
18678
18678
|
tabIndex: null
|
|
18679
18679
|
}, p, {
|
|
18680
|
-
children: d === "left" ? /* @__PURE__ */ f(v, O({}, y)) : /* @__PURE__ */ f(b, O({},
|
|
18680
|
+
children: d === "left" ? /* @__PURE__ */ f(v, O({}, y)) : /* @__PURE__ */ f(b, O({}, P))
|
|
18681
18681
|
}));
|
|
18682
18682
|
}, "TabScrollButton"));
|
|
18683
18683
|
process.env.NODE_ENV !== "production" && (nf.propTypes = {
|
|
@@ -18901,9 +18901,9 @@ const af = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
|
|
|
18901
18901
|
indicatorColor: v = "primary",
|
|
18902
18902
|
onChange: b,
|
|
18903
18903
|
orientation: y = "horizontal",
|
|
18904
|
-
ScrollButtonComponent:
|
|
18904
|
+
ScrollButtonComponent: P = nf,
|
|
18905
18905
|
scrollButtons: E = "auto",
|
|
18906
|
-
selectionFollowsFocus:
|
|
18906
|
+
selectionFollowsFocus: C,
|
|
18907
18907
|
slots: S = {},
|
|
18908
18908
|
slotProps: x = {},
|
|
18909
18909
|
TabIndicatorProps: w = {},
|
|
@@ -18912,7 +18912,7 @@ const af = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
|
|
|
18912
18912
|
value: R,
|
|
18913
18913
|
variant: k = "standard",
|
|
18914
18914
|
visibleScrollbar: L = !1
|
|
18915
|
-
} = a,
|
|
18915
|
+
} = a, N = K(a, bP), A = k === "scrollable", I = y === "vertical", _ = I ? "scrollTop" : "scrollLeft", D = I ? "top" : "left", B = I ? "bottom" : "right", M = I ? "clientHeight" : "clientWidth", U = I ? "height" : "width", te = O({}, a, {
|
|
18916
18916
|
component: m,
|
|
18917
18917
|
allowScrollButtonsMobile: g,
|
|
18918
18918
|
indicatorColor: v,
|
|
@@ -19034,7 +19034,7 @@ const af = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
|
|
|
19034
19034
|
className: Q(ce.scrollableX, ce.hideScrollbar)
|
|
19035
19035
|
}) : null;
|
|
19036
19036
|
const me = A && (E === "auto" && (se || xe) || E === !0);
|
|
19037
|
-
return V.scrollButtonStart = me ? /* @__PURE__ */ f(
|
|
19037
|
+
return V.scrollButtonStart = me ? /* @__PURE__ */ f(P, O({
|
|
19038
19038
|
slots: {
|
|
19039
19039
|
StartScrollButtonIcon: S.StartScrollButtonIcon
|
|
19040
19040
|
},
|
|
@@ -19047,7 +19047,7 @@ const af = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
|
|
|
19047
19047
|
disabled: !se
|
|
19048
19048
|
}, F, {
|
|
19049
19049
|
className: Q(ce.scrollButtons, F.className)
|
|
19050
|
-
})) : null, V.scrollButtonEnd = me ? /* @__PURE__ */ f(
|
|
19050
|
+
})) : null, V.scrollButtonEnd = me ? /* @__PURE__ */ f(P, O({
|
|
19051
19051
|
slots: {
|
|
19052
19052
|
EndScrollButtonIcon: S.EndScrollButtonIcon
|
|
19053
19053
|
},
|
|
@@ -19067,8 +19067,8 @@ const af = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
|
|
|
19067
19067
|
tabMeta: me
|
|
19068
19068
|
} = ze();
|
|
19069
19069
|
if (!(!me || !Y)) {
|
|
19070
|
-
if (me[
|
|
19071
|
-
const Se = Y[_] + (me[
|
|
19070
|
+
if (me[D] < Y[D]) {
|
|
19071
|
+
const Se = Y[_] + (me[D] - Y[D]);
|
|
19072
19072
|
ae(Se, {
|
|
19073
19073
|
animation: V
|
|
19074
19074
|
});
|
|
@@ -19153,7 +19153,7 @@ const af = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
|
|
|
19153
19153
|
fullWidth: k === "fullWidth",
|
|
19154
19154
|
indicator: me && !J && Ve,
|
|
19155
19155
|
selected: me,
|
|
19156
|
-
selectionFollowsFocus:
|
|
19156
|
+
selectionFollowsFocus: C,
|
|
19157
19157
|
onChange: b,
|
|
19158
19158
|
textColor: $,
|
|
19159
19159
|
value: Y
|
|
@@ -19185,7 +19185,7 @@ const af = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
|
|
|
19185
19185
|
ownerState: te,
|
|
19186
19186
|
ref: r,
|
|
19187
19187
|
as: m
|
|
19188
|
-
},
|
|
19188
|
+
}, N, {
|
|
19189
19189
|
children: [ee.scrollButtonStart, ee.scrollbarSizeListener, /* @__PURE__ */ H(yP, {
|
|
19190
19190
|
className: ce.scroller,
|
|
19191
19191
|
ownerState: te,
|
|
@@ -20213,9 +20213,9 @@ const UP = /^(\d+)(th|st|nd|rd)?/i, qP = /\d+/i, GP = {
|
|
|
20213
20213
|
error: h,
|
|
20214
20214
|
label: m
|
|
20215
20215
|
} = c || {}, g = p === !0 ? cf : void 0, v = typeof h == "function" ? h : () => h, { [t]: b = {}, etrs: y } = i, {
|
|
20216
|
-
onFocus:
|
|
20216
|
+
onFocus: P,
|
|
20217
20217
|
onChange: E,
|
|
20218
|
-
onBlur:
|
|
20218
|
+
onBlur: C,
|
|
20219
20219
|
hidden: S = !1,
|
|
20220
20220
|
disabled: x = !1,
|
|
20221
20221
|
validate: w,
|
|
@@ -20225,13 +20225,13 @@ const UP = /^(\d+)(th|st|nd|rd)?/i, qP = /\d+/i, GP = {
|
|
|
20225
20225
|
onFocus: R,
|
|
20226
20226
|
onBlur: k,
|
|
20227
20227
|
onChange: L,
|
|
20228
|
-
hidden:
|
|
20228
|
+
hidden: N,
|
|
20229
20229
|
disabled: A,
|
|
20230
20230
|
useContenido: I = xr,
|
|
20231
20231
|
validate: _,
|
|
20232
|
-
required:
|
|
20232
|
+
required: D,
|
|
20233
20233
|
...B
|
|
20234
|
-
} = b, M = s ||
|
|
20234
|
+
} = b, M = s || N === void 0 ? S : N, U = s || A === void 0 ? x : A, te = s || R === void 0 ? P : R, ce = s || k === void 0 ? C : k, pe = s || L === void 0 ? E : L, le = er({ ...e, etrs: y, asisEtr: l }), J = I({
|
|
20235
20235
|
...$,
|
|
20236
20236
|
estado: r,
|
|
20237
20237
|
hidden: M,
|
|
@@ -20247,7 +20247,7 @@ const UP = /^(\d+)(th|st|nd|rd)?/i, qP = /\d+/i, GP = {
|
|
|
20247
20247
|
validate: xe,
|
|
20248
20248
|
required: X,
|
|
20249
20249
|
...z
|
|
20250
|
-
} = J, q = ve || te, j = ue || ce, oe = se || pe, Fe = p !== void 0 ? p : X !== void 0 ? X : s ||
|
|
20250
|
+
} = J, q = ve || te, j = ue || ce, oe = se || pe, Fe = p !== void 0 ? p : X !== void 0 ? X : s || D === void 0 ? F : D, Ee = Array.isArray(w) ? w : [w], ye = Array.isArray(_) ? _ : [_], ze = Array.isArray(xe) ? xe : [xe], G = [
|
|
20251
20251
|
...Ee,
|
|
20252
20252
|
...ye,
|
|
20253
20253
|
...ze,
|
|
@@ -20348,9 +20348,9 @@ const UP = /^(\d+)(th|st|nd|rd)?/i, qP = /\d+/i, GP = {
|
|
|
20348
20348
|
selectedIds: v,
|
|
20349
20349
|
onUnselectItems: b,
|
|
20350
20350
|
onToggleItem: y,
|
|
20351
|
-
isLoading:
|
|
20351
|
+
isLoading: P,
|
|
20352
20352
|
exporter: E,
|
|
20353
|
-
hideFilter:
|
|
20353
|
+
hideFilter: C,
|
|
20354
20354
|
hasCreate: S,
|
|
20355
20355
|
filterValues: x,
|
|
20356
20356
|
displayedFilters: w,
|
|
@@ -20508,8 +20508,8 @@ const UP = /^(\d+)(th|st|nd|rd)?/i, qP = /\d+/i, GP = {
|
|
|
20508
20508
|
isOpen: v = null,
|
|
20509
20509
|
open: b = null,
|
|
20510
20510
|
close: y = null,
|
|
20511
|
-
...
|
|
20512
|
-
}) =>
|
|
20511
|
+
...P
|
|
20512
|
+
}) => P, "sanitizeRestProps$2"), WE = /* @__PURE__ */ n((e) => {
|
|
20513
20513
|
const {
|
|
20514
20514
|
inline: t,
|
|
20515
20515
|
icon: r = UE,
|
|
@@ -20808,12 +20808,12 @@ const JE = {
|
|
|
20808
20808
|
timeout: b = "auto",
|
|
20809
20809
|
// eslint-disable-next-line react/prop-types
|
|
20810
20810
|
TransitionComponent: y = Bt
|
|
20811
|
-
} = t,
|
|
20811
|
+
} = t, P = K(t, ZE), E = Hr(), C = T.useRef(), S = Ir(), x = T.useRef(null), w = lt(x, l.ref, r), F = /* @__PURE__ */ n((_) => (D) => {
|
|
20812
20812
|
if (_) {
|
|
20813
20813
|
const B = x.current;
|
|
20814
|
-
|
|
20814
|
+
D === void 0 ? _(B) : _(B, D);
|
|
20815
20815
|
}
|
|
20816
|
-
}, "normalizedTransitionCallback"), $ = F(p), R = F((_,
|
|
20816
|
+
}, "normalizedTransitionCallback"), $ = F(p), R = F((_, D) => {
|
|
20817
20817
|
Dl(_);
|
|
20818
20818
|
const {
|
|
20819
20819
|
duration: B,
|
|
@@ -20827,17 +20827,17 @@ const JE = {
|
|
|
20827
20827
|
mode: "enter"
|
|
20828
20828
|
});
|
|
20829
20829
|
let te;
|
|
20830
|
-
b === "auto" ? (te = S.transitions.getAutoHeightDuration(_.clientHeight),
|
|
20830
|
+
b === "auto" ? (te = S.transitions.getAutoHeightDuration(_.clientHeight), C.current = te) : te = B, _.style.transition = [S.transitions.create("opacity", {
|
|
20831
20831
|
duration: te,
|
|
20832
20832
|
delay: M
|
|
20833
20833
|
}), S.transitions.create("transform", {
|
|
20834
20834
|
duration: xi ? te : te * 0.666,
|
|
20835
20835
|
delay: M,
|
|
20836
20836
|
easing: U
|
|
20837
|
-
})].join(","), u && u(_,
|
|
20838
|
-
}), k = F(d), L = F(g),
|
|
20837
|
+
})].join(","), u && u(_, D);
|
|
20838
|
+
}), k = F(d), L = F(g), N = F((_) => {
|
|
20839
20839
|
const {
|
|
20840
|
-
duration:
|
|
20840
|
+
duration: D,
|
|
20841
20841
|
delay: B,
|
|
20842
20842
|
easing: M
|
|
20843
20843
|
} = oo({
|
|
@@ -20848,7 +20848,7 @@ const JE = {
|
|
|
20848
20848
|
mode: "exit"
|
|
20849
20849
|
});
|
|
20850
20850
|
let U;
|
|
20851
|
-
b === "auto" ? (U = S.transitions.getAutoHeightDuration(_.clientHeight),
|
|
20851
|
+
b === "auto" ? (U = S.transitions.getAutoHeightDuration(_.clientHeight), C.current = U) : U = D, _.style.transition = [S.transitions.create("opacity", {
|
|
20852
20852
|
duration: U,
|
|
20853
20853
|
delay: B
|
|
20854
20854
|
}), S.transitions.create("transform", {
|
|
@@ -20864,22 +20864,22 @@ const JE = {
|
|
|
20864
20864
|
onEnter: R,
|
|
20865
20865
|
onEntered: k,
|
|
20866
20866
|
onEntering: $,
|
|
20867
|
-
onExit:
|
|
20867
|
+
onExit: N,
|
|
20868
20868
|
onExited: A,
|
|
20869
20869
|
onExiting: L,
|
|
20870
20870
|
addEndListener: /* @__PURE__ */ n((_) => {
|
|
20871
|
-
b === "auto" && E.start(
|
|
20871
|
+
b === "auto" && E.start(C.current || 0, _), a && a(x.current, _);
|
|
20872
20872
|
}, "handleAddEndListener"),
|
|
20873
20873
|
timeout: b === "auto" ? null : b
|
|
20874
|
-
},
|
|
20875
|
-
children: /* @__PURE__ */ n((_,
|
|
20874
|
+
}, P, {
|
|
20875
|
+
children: /* @__PURE__ */ n((_, D) => /* @__PURE__ */ T.cloneElement(l, O({
|
|
20876
20876
|
style: O({
|
|
20877
20877
|
opacity: 0,
|
|
20878
20878
|
transform: Wi(0.75),
|
|
20879
20879
|
visibility: _ === "exited" && !c ? "hidden" : void 0
|
|
20880
20880
|
}, JE[_], v, l.props.style),
|
|
20881
20881
|
ref: w
|
|
20882
|
-
},
|
|
20882
|
+
}, D)), "children")
|
|
20883
20883
|
}));
|
|
20884
20884
|
}, "Grow"));
|
|
20885
20885
|
process.env.NODE_ENV !== "production" && (Jo.propTypes = {
|
|
@@ -21227,7 +21227,7 @@ var T1 = /* @__PURE__ */ n(function(t, r) {
|
|
|
21227
21227
|
function C1(e) {
|
|
21228
21228
|
var t, r = e.state, a = e.name, i = e.options, l = r.elements.arrow, s = r.modifiersData.popperOffsets, c = Qt(r.placement), u = ds(c), d = [ft, kt].indexOf(c) >= 0, p = d ? "height" : "width";
|
|
21229
21229
|
if (!(!l || !s)) {
|
|
21230
|
-
var h = T1(i.padding, r), m = us(l), g = u === "y" ? pt : ft, v = u === "y" ? Rt : kt, b = r.rects.reference[p] + r.rects.reference[u] - s[u] - r.rects.popper[p], y = s[u] - r.rects.reference[u],
|
|
21230
|
+
var h = T1(i.padding, r), m = us(l), g = u === "y" ? pt : ft, v = u === "y" ? Rt : kt, b = r.rects.reference[p] + r.rects.reference[u] - s[u] - r.rects.popper[p], y = s[u] - r.rects.reference[u], P = On(l), E = P ? u === "y" ? P.clientHeight || 0 : P.clientWidth || 0 : 0, C = b / 2 - y / 2, S = h[g], x = E - m[p] - h[v], w = E / 2 - m[p] / 2 + C, F = _o(S, w, x), $ = u;
|
|
21231
21231
|
r.modifiersData[a] = (t = {}, t[$] = F, t.centerOffset = F - w, t);
|
|
21232
21232
|
}
|
|
21233
21233
|
}
|
|
@@ -21273,7 +21273,7 @@ function hu(e) {
|
|
|
21273
21273
|
y: b
|
|
21274
21274
|
};
|
|
21275
21275
|
g = y.x, b = y.y;
|
|
21276
|
-
var
|
|
21276
|
+
var P = s.hasOwnProperty("x"), E = s.hasOwnProperty("y"), C = ft, S = pt, x = window;
|
|
21277
21277
|
if (d) {
|
|
21278
21278
|
var w = On(r), F = "clientHeight", $ = "clientWidth";
|
|
21279
21279
|
if (w === yt(r) && (w = Sr(r), lr(w).position !== "static" && c === "absolute" && (F = "scrollHeight", $ = "scrollWidth")), w = w, i === pt || (i === ft || i === kt) && l === en) {
|
|
@@ -21285,7 +21285,7 @@ function hu(e) {
|
|
|
21285
21285
|
b -= R - a.height, b *= u ? 1 : -1;
|
|
21286
21286
|
}
|
|
21287
21287
|
if (i === ft || (i === pt || i === Rt) && l === en) {
|
|
21288
|
-
|
|
21288
|
+
C = kt;
|
|
21289
21289
|
var k = h && w === x && x.visualViewport ? x.visualViewport.width : (
|
|
21290
21290
|
// $FlowFixMe[prop-missing]
|
|
21291
21291
|
w[$]
|
|
@@ -21295,18 +21295,18 @@ function hu(e) {
|
|
|
21295
21295
|
}
|
|
21296
21296
|
var L = Object.assign({
|
|
21297
21297
|
position: c
|
|
21298
|
-
}, d && F1),
|
|
21298
|
+
}, d && F1), N = p === !0 ? w1({
|
|
21299
21299
|
x: g,
|
|
21300
21300
|
y: b
|
|
21301
21301
|
}, yt(r)) : {
|
|
21302
21302
|
x: g,
|
|
21303
21303
|
y: b
|
|
21304
21304
|
};
|
|
21305
|
-
if (g =
|
|
21305
|
+
if (g = N.x, b = N.y, u) {
|
|
21306
21306
|
var A;
|
|
21307
|
-
return Object.assign({}, L, (A = {}, A[S] = E ? "0" : "", A[
|
|
21307
|
+
return Object.assign({}, L, (A = {}, A[S] = E ? "0" : "", A[C] = P ? "0" : "", A.transform = (x.devicePixelRatio || 1) <= 1 ? "translate(" + g + "px, " + b + "px)" : "translate3d(" + g + "px, " + b + "px, 0)", A));
|
|
21308
21308
|
}
|
|
21309
|
-
return Object.assign({}, L, (t = {}, t[S] = E ? b + "px" : "", t[
|
|
21309
|
+
return Object.assign({}, L, (t = {}, t[S] = E ? b + "px" : "", t[C] = P ? g + "px" : "", t.transform = "", t));
|
|
21310
21310
|
}
|
|
21311
21311
|
n(hu, "mapToStyles");
|
|
21312
21312
|
function R1(e) {
|
|
@@ -21524,22 +21524,22 @@ function xf(e) {
|
|
|
21524
21524
|
n(xf, "computeOffsets");
|
|
21525
21525
|
function tn(e, t) {
|
|
21526
21526
|
t === void 0 && (t = {});
|
|
21527
|
-
var r = t, a = r.placement, i = a === void 0 ? e.placement : a, l = r.strategy, s = l === void 0 ? e.strategy : l, c = r.boundary, u = c === void 0 ? a1 : c, d = r.rootBoundary, p = d === void 0 ? ff : d, h = r.elementContext, m = h === void 0 ? Ro : h, g = r.altBoundary, v = g === void 0 ? !1 : g, b = r.padding, y = b === void 0 ? 0 : b,
|
|
21527
|
+
var r = t, a = r.placement, i = a === void 0 ? e.placement : a, l = r.strategy, s = l === void 0 ? e.strategy : l, c = r.boundary, u = c === void 0 ? a1 : c, d = r.rootBoundary, p = d === void 0 ? ff : d, h = r.elementContext, m = h === void 0 ? Ro : h, g = r.altBoundary, v = g === void 0 ? !1 : g, b = r.padding, y = b === void 0 ? 0 : b, P = vf(typeof y != "number" ? y : yf(y, yn)), E = m === Ro ? i1 : Ro, C = e.rects.popper, S = e.elements[v ? E : m], x = j1($r(S) ? S : S.contextElement || Sr(e.elements.popper), u, p, s), w = lo(e.elements.reference), F = xf({
|
|
21528
21528
|
reference: w,
|
|
21529
|
-
element:
|
|
21529
|
+
element: C,
|
|
21530
21530
|
strategy: "absolute",
|
|
21531
21531
|
placement: i
|
|
21532
|
-
}), $ = qi(Object.assign({},
|
|
21533
|
-
top: x.top - R.top +
|
|
21534
|
-
bottom: R.bottom - x.bottom +
|
|
21535
|
-
left: x.left - R.left +
|
|
21536
|
-
right: R.right - x.right +
|
|
21532
|
+
}), $ = qi(Object.assign({}, C, F)), R = m === Ro ? $ : w, k = {
|
|
21533
|
+
top: x.top - R.top + P.top,
|
|
21534
|
+
bottom: R.bottom - x.bottom + P.bottom,
|
|
21535
|
+
left: x.left - R.left + P.left,
|
|
21536
|
+
right: R.right - x.right + P.right
|
|
21537
21537
|
}, L = e.modifiersData.offset;
|
|
21538
21538
|
if (m === Ro && L) {
|
|
21539
|
-
var
|
|
21539
|
+
var N = L[i];
|
|
21540
21540
|
Object.keys(k).forEach(function(A) {
|
|
21541
21541
|
var I = [kt, Rt].indexOf(A) >= 0 ? 1 : -1, _ = [pt, Rt].indexOf(A) >= 0 ? "y" : "x";
|
|
21542
|
-
k[A] +=
|
|
21542
|
+
k[A] += N[_] * I;
|
|
21543
21543
|
});
|
|
21544
21544
|
}
|
|
21545
21545
|
return k;
|
|
@@ -21576,7 +21576,7 @@ n(B1, "getExpandedFallbackPlacements");
|
|
|
21576
21576
|
function z1(e) {
|
|
21577
21577
|
var t = e.state, r = e.options, a = e.name;
|
|
21578
21578
|
if (!t.modifiersData[a]._skip) {
|
|
21579
|
-
for (var i = r.mainAxis, l = i === void 0 ? !0 : i, s = r.altAxis, c = s === void 0 ? !0 : s, u = r.fallbackPlacements, d = r.padding, p = r.boundary, h = r.rootBoundary, m = r.altBoundary, g = r.flipVariations, v = g === void 0 ? !0 : g, b = r.allowedAutoPlacements, y = t.options.placement,
|
|
21579
|
+
for (var i = r.mainAxis, l = i === void 0 ? !0 : i, s = r.altAxis, c = s === void 0 ? !0 : s, u = r.fallbackPlacements, d = r.padding, p = r.boundary, h = r.rootBoundary, m = r.altBoundary, g = r.flipVariations, v = g === void 0 ? !0 : g, b = r.allowedAutoPlacements, y = t.options.placement, P = Qt(y), E = P === y, C = u || (E || !v ? [zn(y)] : B1(y)), S = [y].concat(C).reduce(function(J, ie) {
|
|
21580
21580
|
return J.concat(Qt(ie) === ss ? V1(t, {
|
|
21581
21581
|
placement: ie,
|
|
21582
21582
|
boundary: p,
|
|
@@ -21586,7 +21586,7 @@ function z1(e) {
|
|
|
21586
21586
|
allowedAutoPlacements: b
|
|
21587
21587
|
}) : ie);
|
|
21588
21588
|
}, []), x = t.rects.reference, w = t.rects.popper, F = /* @__PURE__ */ new Map(), $ = !0, R = S[0], k = 0; k < S.length; k++) {
|
|
21589
|
-
var L = S[k],
|
|
21589
|
+
var L = S[k], N = Qt(L), A = so(L) === ao, I = [pt, Rt].indexOf(N) >= 0, _ = I ? "width" : "height", D = tn(t, {
|
|
21590
21590
|
placement: L,
|
|
21591
21591
|
boundary: p,
|
|
21592
21592
|
rootBoundary: h,
|
|
@@ -21595,7 +21595,7 @@ function z1(e) {
|
|
|
21595
21595
|
}), B = I ? A ? kt : ft : A ? Rt : pt;
|
|
21596
21596
|
x[_] > w[_] && (B = zn(B));
|
|
21597
21597
|
var M = zn(B), U = [];
|
|
21598
|
-
if (l && U.push(N
|
|
21598
|
+
if (l && U.push(D[N] <= 0), c && U.push(D[B] <= 0, D[M] <= 0), U.every(function(J) {
|
|
21599
21599
|
return J;
|
|
21600
21600
|
})) {
|
|
21601
21601
|
R = L, $ = !1;
|
|
@@ -21728,7 +21728,7 @@ function Z1(e) {
|
|
|
21728
21728
|
rootBoundary: d,
|
|
21729
21729
|
padding: h,
|
|
21730
21730
|
altBoundary: p
|
|
21731
|
-
}),
|
|
21731
|
+
}), P = Qt(t.placement), E = so(t.placement), C = !E, S = ds(P), x = X1(S), w = t.modifiersData.popperOffsets, F = t.rects.reference, $ = t.rects.popper, R = typeof b == "function" ? b(Object.assign({}, t.rects, {
|
|
21732
21732
|
placement: t.placement
|
|
21733
21733
|
})) : b, k = typeof R == "number" ? {
|
|
21734
21734
|
mainAxis: R,
|
|
@@ -21736,23 +21736,23 @@ function Z1(e) {
|
|
|
21736
21736
|
} : Object.assign({
|
|
21737
21737
|
mainAxis: 0,
|
|
21738
21738
|
altAxis: 0
|
|
21739
|
-
}, R), L = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null,
|
|
21739
|
+
}, R), L = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, N = {
|
|
21740
21740
|
x: 0,
|
|
21741
21741
|
y: 0
|
|
21742
21742
|
};
|
|
21743
21743
|
if (w) {
|
|
21744
21744
|
if (l) {
|
|
21745
|
-
var A, I = S === "y" ? pt : ft, _ = S === "y" ? Rt : kt,
|
|
21745
|
+
var A, I = S === "y" ? pt : ft, _ = S === "y" ? Rt : kt, D = S === "y" ? "height" : "width", B = w[S], M = B + y[I], U = B - y[_], te = g ? -$[D] / 2 : 0, ce = E === ao ? F[D] : $[D], pe = E === ao ? -$[D] : -F[D], le = t.elements.arrow, J = g && le ? us(le) : {
|
|
21746
21746
|
width: 0,
|
|
21747
21747
|
height: 0
|
|
21748
|
-
}, ie = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : gf(), ne = ie[I], ve = ie[_], se = _o(0, F[
|
|
21749
|
-
w[S] = Fe,
|
|
21748
|
+
}, ie = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : gf(), ne = ie[I], ve = ie[_], se = _o(0, F[D], J[D]), ue = C ? F[D] / 2 - te - se - ne - k.mainAxis : ce - se - ne - k.mainAxis, xe = C ? -F[D] / 2 + te + se + ve + k.mainAxis : pe + se + ve + k.mainAxis, X = t.elements.arrow && On(t.elements.arrow), z = X ? S === "y" ? X.clientTop || 0 : X.clientLeft || 0 : 0, q = (A = L == null ? void 0 : L[S]) != null ? A : 0, j = B + ue - q - z, oe = B + xe - q, Fe = _o(g ? aa(M, j) : M, B, g ? Fr(U, oe) : U);
|
|
21749
|
+
w[S] = Fe, N[S] = Fe - B;
|
|
21750
21750
|
}
|
|
21751
21751
|
if (c) {
|
|
21752
|
-
var Ee, ye = S === "x" ? pt : ft, ze = S === "x" ? Rt : kt, G = w[x], ae = x === "y" ? "height" : "width", we = G + y[ye], Re = G - y[ze], Te = [pt, ft].indexOf(
|
|
21753
|
-
w[x] = ge,
|
|
21752
|
+
var Ee, ye = S === "x" ? pt : ft, ze = S === "x" ? Rt : kt, G = w[x], ae = x === "y" ? "height" : "width", we = G + y[ye], Re = G - y[ze], Te = [pt, ft].indexOf(P) !== -1, De = (Ee = L == null ? void 0 : L[x]) != null ? Ee : 0, Ye = Te ? we : G - F[ae] - $[ae] - De + k.altAxis, et = Te ? G + F[ae] + $[ae] - De - k.altAxis : Re, ge = g && Te ? S1(Ye, G, et) : _o(g ? Ye : we, G, g ? et : Re);
|
|
21753
|
+
w[x] = ge, N[x] = ge - G;
|
|
21754
21754
|
}
|
|
21755
|
-
t.modifiersData[a] =
|
|
21755
|
+
t.modifiersData[a] = N;
|
|
21756
21756
|
}
|
|
21757
21757
|
}
|
|
21758
21758
|
n(Z1, "preventOverflow");
|
|
@@ -21881,14 +21881,14 @@ function sF(e) {
|
|
|
21881
21881
|
styles: {}
|
|
21882
21882
|
}, h = [], m = !1, g = {
|
|
21883
21883
|
state: p,
|
|
21884
|
-
setOptions: /* @__PURE__ */ n(function(
|
|
21885
|
-
var E = typeof
|
|
21884
|
+
setOptions: /* @__PURE__ */ n(function(P) {
|
|
21885
|
+
var E = typeof P == "function" ? P(p.options) : P;
|
|
21886
21886
|
b(), p.options = Object.assign({}, l, p.options, E), p.scrollParents = {
|
|
21887
21887
|
reference: $r(c) ? jo(c) : c.contextElement ? jo(c.contextElement) : [],
|
|
21888
21888
|
popper: jo(u)
|
|
21889
21889
|
};
|
|
21890
|
-
var
|
|
21891
|
-
return p.orderedModifiers =
|
|
21890
|
+
var C = aF(lF([].concat(a, p.options.modifiers)));
|
|
21891
|
+
return p.orderedModifiers = C.filter(function(S) {
|
|
21892
21892
|
return S.enabled;
|
|
21893
21893
|
}), v(), g.update();
|
|
21894
21894
|
}, "setOptions"),
|
|
@@ -21899,11 +21899,11 @@ function sF(e) {
|
|
|
21899
21899
|
// prefer the async Popper#update method
|
|
21900
21900
|
forceUpdate: /* @__PURE__ */ n(function() {
|
|
21901
21901
|
if (!m) {
|
|
21902
|
-
var
|
|
21903
|
-
if (xu(E,
|
|
21902
|
+
var P = p.elements, E = P.reference, C = P.popper;
|
|
21903
|
+
if (xu(E, C)) {
|
|
21904
21904
|
p.rects = {
|
|
21905
|
-
reference: oF(E, On(
|
|
21906
|
-
popper: us(
|
|
21905
|
+
reference: oF(E, On(C), p.options.strategy === "fixed"),
|
|
21906
|
+
popper: us(C)
|
|
21907
21907
|
}, p.reset = !1, p.placement = p.options.placement, p.orderedModifiers.forEach(function(k) {
|
|
21908
21908
|
return p.modifiersData[k.name] = Object.assign({}, k.data);
|
|
21909
21909
|
});
|
|
@@ -21941,13 +21941,13 @@ function sF(e) {
|
|
|
21941
21941
|
});
|
|
21942
21942
|
function v() {
|
|
21943
21943
|
p.orderedModifiers.forEach(function(y) {
|
|
21944
|
-
var
|
|
21944
|
+
var P = y.name, E = y.options, C = E === void 0 ? {} : E, S = y.effect;
|
|
21945
21945
|
if (typeof S == "function") {
|
|
21946
21946
|
var x = S({
|
|
21947
21947
|
state: p,
|
|
21948
|
-
name:
|
|
21948
|
+
name: P,
|
|
21949
21949
|
instance: g,
|
|
21950
|
-
options:
|
|
21950
|
+
options: C
|
|
21951
21951
|
}), w = /* @__PURE__ */ n(function() {
|
|
21952
21952
|
}, "noopFn");
|
|
21953
21953
|
h.push(x || w);
|
|
@@ -22026,13 +22026,13 @@ const bF = /* @__PURE__ */ n((e) => {
|
|
|
22026
22026
|
TransitionProps: b
|
|
22027
22027
|
// @ts-ignore internal logic
|
|
22028
22028
|
// prevent from spreading to DOM, it can come from the parent component e.g. Select.
|
|
22029
|
-
} = t, y = K(t, pF),
|
|
22029
|
+
} = t, y = K(t, pF), P = T.useRef(null), E = Yr(P, r), C = T.useRef(null), S = Yr(C, m), x = T.useRef(S);
|
|
22030
22030
|
Qr(() => {
|
|
22031
22031
|
x.current = S;
|
|
22032
|
-
}, [S]), T.useImperativeHandle(m, () =>
|
|
22032
|
+
}, [S]), T.useImperativeHandle(m, () => C.current, []);
|
|
22033
22033
|
const w = mF(p, s), [F, $] = T.useState(w), [R, k] = T.useState(ia(i));
|
|
22034
22034
|
T.useEffect(() => {
|
|
22035
|
-
|
|
22035
|
+
C.current && C.current.forceUpdate();
|
|
22036
22036
|
}), T.useEffect(() => {
|
|
22037
22037
|
i && k(ia(i));
|
|
22038
22038
|
}, [i]), Qr(() => {
|
|
@@ -22046,7 +22046,7 @@ const bF = /* @__PURE__ */ n((e) => {
|
|
|
22046
22046
|
process.env.NODE_ENV !== "test" && M.top === 0 && M.left === 0 && M.right === 0 && M.bottom === 0 && console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
|
|
22047
22047
|
`));
|
|
22048
22048
|
}
|
|
22049
|
-
let
|
|
22049
|
+
let D = [{
|
|
22050
22050
|
name: "preventOverflow",
|
|
22051
22051
|
options: {
|
|
22052
22052
|
altBoundary: c
|
|
@@ -22066,11 +22066,11 @@ const bF = /* @__PURE__ */ n((e) => {
|
|
|
22066
22066
|
_(M);
|
|
22067
22067
|
}, "fn")
|
|
22068
22068
|
}];
|
|
22069
|
-
u != null && (
|
|
22070
|
-
const B = uF(R,
|
|
22069
|
+
u != null && (D = D.concat(u)), h && h.modifiers != null && (D = D.concat(h.modifiers));
|
|
22070
|
+
const B = uF(R, P.current, O({
|
|
22071
22071
|
placement: w
|
|
22072
22072
|
}, h, {
|
|
22073
|
-
modifiers:
|
|
22073
|
+
modifiers: D
|
|
22074
22074
|
}));
|
|
22075
22075
|
return x.current(B), () => {
|
|
22076
22076
|
B.destroy(), x.current(null);
|
|
@@ -22080,7 +22080,7 @@ const bF = /* @__PURE__ */ n((e) => {
|
|
|
22080
22080
|
placement: F
|
|
22081
22081
|
};
|
|
22082
22082
|
b !== null && (L.TransitionProps = b);
|
|
22083
|
-
const
|
|
22083
|
+
const N = bF(t), A = (a = v.root) != null ? a : "div", I = jt({
|
|
22084
22084
|
elementType: A,
|
|
22085
22085
|
externalSlotProps: g.root,
|
|
22086
22086
|
externalForwardedProps: y,
|
|
@@ -22089,7 +22089,7 @@ const bF = /* @__PURE__ */ n((e) => {
|
|
|
22089
22089
|
ref: E
|
|
22090
22090
|
},
|
|
22091
22091
|
ownerState: t,
|
|
22092
|
-
className:
|
|
22092
|
+
className: N.root
|
|
22093
22093
|
});
|
|
22094
22094
|
return /* @__PURE__ */ f(A, O({}, I, {
|
|
22095
22095
|
children: typeof l == "function" ? l(L) : l
|
|
@@ -22110,13 +22110,13 @@ const bF = /* @__PURE__ */ n((e) => {
|
|
|
22110
22110
|
style: v,
|
|
22111
22111
|
transition: b = !1,
|
|
22112
22112
|
slotProps: y = {},
|
|
22113
|
-
slots:
|
|
22114
|
-
} = t, E = K(t, fF), [
|
|
22113
|
+
slots: P = {}
|
|
22114
|
+
} = t, E = K(t, fF), [C, S] = T.useState(!0), x = /* @__PURE__ */ n(() => {
|
|
22115
22115
|
S(!1);
|
|
22116
22116
|
}, "handleEnter"), w = /* @__PURE__ */ n(() => {
|
|
22117
22117
|
S(!0);
|
|
22118
22118
|
}, "handleExited");
|
|
22119
|
-
if (!u && !p && (!b ||
|
|
22119
|
+
if (!u && !p && (!b || C))
|
|
22120
22120
|
return null;
|
|
22121
22121
|
let F;
|
|
22122
22122
|
if (l)
|
|
@@ -22125,7 +22125,7 @@ const bF = /* @__PURE__ */ n((e) => {
|
|
|
22125
22125
|
const k = ia(a);
|
|
22126
22126
|
F = k && Ua(k) ? or(k).body : or(null).body;
|
|
22127
22127
|
}
|
|
22128
|
-
const $ = !p && u && (!b ||
|
|
22128
|
+
const $ = !p && u && (!b || C) ? "none" : void 0, R = b ? {
|
|
22129
22129
|
in: p,
|
|
22130
22130
|
onEnter: x,
|
|
22131
22131
|
onExited: w
|
|
@@ -22139,12 +22139,12 @@ const bF = /* @__PURE__ */ n((e) => {
|
|
|
22139
22139
|
disablePortal: c,
|
|
22140
22140
|
modifiers: d,
|
|
22141
22141
|
ref: r,
|
|
22142
|
-
open: b ? !
|
|
22142
|
+
open: b ? !C : p,
|
|
22143
22143
|
placement: h,
|
|
22144
22144
|
popperOptions: m,
|
|
22145
22145
|
popperRef: g,
|
|
22146
22146
|
slotProps: y,
|
|
22147
|
-
slots:
|
|
22147
|
+
slots: P
|
|
22148
22148
|
}, E, {
|
|
22149
22149
|
style: O({
|
|
22150
22150
|
// Prevents scroll issue, waiting for Popper.js to add this style once initiated.
|
|
@@ -22301,11 +22301,11 @@ const yF = ["anchorEl", "component", "components", "componentsProps", "container
|
|
|
22301
22301
|
open: v,
|
|
22302
22302
|
placement: b,
|
|
22303
22303
|
popperOptions: y,
|
|
22304
|
-
popperRef:
|
|
22304
|
+
popperRef: P,
|
|
22305
22305
|
transition: E,
|
|
22306
|
-
slots:
|
|
22306
|
+
slots: C,
|
|
22307
22307
|
slotProps: S
|
|
22308
|
-
} = l, x = K(l, yF), w = (a =
|
|
22308
|
+
} = l, x = K(l, yF), w = (a = C == null ? void 0 : C.root) != null ? a : u == null ? void 0 : u.Root, F = O({
|
|
22309
22309
|
anchorEl: s,
|
|
22310
22310
|
container: p,
|
|
22311
22311
|
disablePortal: h,
|
|
@@ -22314,7 +22314,7 @@ const yF = ["anchorEl", "component", "components", "componentsProps", "container
|
|
|
22314
22314
|
open: v,
|
|
22315
22315
|
placement: b,
|
|
22316
22316
|
popperOptions: y,
|
|
22317
|
-
popperRef:
|
|
22317
|
+
popperRef: P,
|
|
22318
22318
|
transition: E
|
|
22319
22319
|
}, x);
|
|
22320
22320
|
return /* @__PURE__ */ f(OF, O({
|
|
@@ -22640,7 +22640,7 @@ function kn(e, t) {
|
|
|
22640
22640
|
}
|
|
22641
22641
|
n(kn, "composeEventHandler");
|
|
22642
22642
|
const qa = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
|
|
22643
|
-
var a, i, l, s, c, u, d, p, h, m, g, v, b, y,
|
|
22643
|
+
var a, i, l, s, c, u, d, p, h, m, g, v, b, y, P, E, C, S, x;
|
|
22644
22644
|
const w = be({
|
|
22645
22645
|
props: t,
|
|
22646
22646
|
name: "MuiTooltip"
|
|
@@ -22650,11 +22650,11 @@ const qa = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
|
|
|
22650
22650
|
components: R = {},
|
|
22651
22651
|
componentsProps: k = {},
|
|
22652
22652
|
describeChild: L = !1,
|
|
22653
|
-
disableFocusListener:
|
|
22653
|
+
disableFocusListener: N = !1,
|
|
22654
22654
|
disableHoverListener: A = !1,
|
|
22655
22655
|
disableInteractive: I = !1,
|
|
22656
22656
|
disableTouchListener: _ = !1,
|
|
22657
|
-
enterDelay:
|
|
22657
|
+
enterDelay: D = 100,
|
|
22658
22658
|
enterNextDelay: B = 0,
|
|
22659
22659
|
enterTouchDelay: M = 700,
|
|
22660
22660
|
followCursor: U = !1,
|
|
@@ -22708,7 +22708,7 @@ const qa = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
|
|
|
22708
22708
|
});
|
|
22709
22709
|
}
|
|
22710
22710
|
), Y = /* @__PURE__ */ n((Oe) => {
|
|
22711
|
-
we.current && Oe.type !== "touchstart" || (ye && ye.removeAttribute("title"), De.clear(), Ye.clear(),
|
|
22711
|
+
we.current && Oe.type !== "touchstart" || (ye && ye.removeAttribute("title"), De.clear(), Ye.clear(), D || Rn && B ? De.start(Rn ? B : D, () => {
|
|
22712
22712
|
ee(Oe);
|
|
22713
22713
|
}) : ee(Oe));
|
|
22714
22714
|
}, "handleMouseOver"), me = /* @__PURE__ */ n((Oe) => {
|
|
@@ -22769,7 +22769,7 @@ const qa = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
|
|
|
22769
22769
|
`));
|
|
22770
22770
|
}, [ye]));
|
|
22771
22771
|
const Po = {};
|
|
22772
|
-
_ || (St.onTouchStart = am, St.onTouchEnd = im), A || (St.onMouseOver = kn(Y, St.onMouseOver), St.onMouseLeave = kn(me, St.onMouseLeave), Re || (Po.onMouseOver = Y, Po.onMouseLeave = me)),
|
|
22772
|
+
_ || (St.onTouchStart = am, St.onTouchEnd = im), A || (St.onMouseOver = kn(Y, St.onMouseOver), St.onMouseLeave = kn(me, St.onMouseLeave), Re || (Po.onMouseOver = Y, Po.onMouseLeave = me)), N || (St.onFocus = kn(Ar, St.onFocus), St.onBlur = kn(It, St.onBlur), Re || (Po.onFocus = Ar, Po.onBlur = It)), process.env.NODE_ENV !== "production" && oe.props.title && console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.", `Remove this title prop \`${oe.props.title}\` or the Tooltip component.`].join(`
|
|
22773
22773
|
`));
|
|
22774
22774
|
const cm = T.useMemo(() => {
|
|
22775
22775
|
var Oe;
|
|
@@ -22794,8 +22794,8 @@ const qa = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
|
|
|
22794
22794
|
}), oi = CF(Eo), Bs = (a = (i = xe.popper) != null ? i : R.Popper) != null ? a : PF, zs = (l = (s = (c = xe.transition) != null ? c : R.Transition) != null ? s : z) != null ? l : Jo, Hs = (u = (d = xe.tooltip) != null ? d : R.Tooltip) != null ? u : EF, Ws = (p = (h = xe.arrow) != null ? h : R.Arrow) != null ? p : FF, um = Wr(Bs, O({}, se, (m = ue.popper) != null ? m : k.popper, {
|
|
22795
22795
|
className: Q(oi.popper, se == null ? void 0 : se.className, (g = (v = ue.popper) != null ? v : k.popper) == null ? void 0 : g.className)
|
|
22796
22796
|
}), Eo), dm = Wr(zs, O({}, q, (b = ue.transition) != null ? b : k.transition), Eo), pm = Wr(Hs, O({}, (y = ue.tooltip) != null ? y : k.tooltip, {
|
|
22797
|
-
className: Q(oi.tooltip, (
|
|
22798
|
-
}), Eo), fm = Wr(Ws, O({}, (
|
|
22797
|
+
className: Q(oi.tooltip, (P = (E = ue.tooltip) != null ? E : k.tooltip) == null ? void 0 : P.className)
|
|
22798
|
+
}), Eo), fm = Wr(Ws, O({}, (C = ue.arrow) != null ? C : k.arrow, {
|
|
22799
22799
|
className: Q(oi.arrow, (S = (x = ue.arrow) != null ? x : k.arrow) == null ? void 0 : S.className)
|
|
22800
22800
|
}), Eo);
|
|
22801
22801
|
return /* @__PURE__ */ H(T.Fragment, {
|
|
@@ -23355,14 +23355,14 @@ const jF = /* @__PURE__ */ n((e) => {
|
|
|
23355
23355
|
hideFilterButton: l = !1,
|
|
23356
23356
|
jsBotonGrilla: s = BF,
|
|
23357
23357
|
...c
|
|
23358
|
-
} = e, { displayedFilters: u, filterValues: d, exporter: p, showFilter: h, total: m } = Xr(), g = tt(e), { hasCreate: v } = Ku(e), b = Pe(ch) || r, y = Xr(e),
|
|
23358
|
+
} = e, { displayedFilters: u, filterValues: d, exporter: p, showFilter: h, total: m } = Xr(), g = tt(e), { hasCreate: v } = Ku(e), b = Pe(ch) || r, y = Xr(e), P = ja(e), {
|
|
23359
23359
|
props: {
|
|
23360
23360
|
hasCreate: E,
|
|
23361
|
-
hasSeleccionMultiple:
|
|
23361
|
+
hasSeleccionMultiple: C,
|
|
23362
23362
|
chkSeleccion: S,
|
|
23363
23363
|
handleSeleccionMultiple: x
|
|
23364
23364
|
}
|
|
23365
|
-
} = _a(), w = { ...
|
|
23365
|
+
} = _a(), w = { ...P, ...y };
|
|
23366
23366
|
return delete c.hasCreate, Mt(
|
|
23367
23367
|
() => /* @__PURE__ */ H(Xu, { className: t, ...uh(c), children: [
|
|
23368
23368
|
l ? null : r ? rr(r, {
|
|
@@ -23391,7 +23391,7 @@ const jF = /* @__PURE__ */ n((e) => {
|
|
|
23391
23391
|
})) : null
|
|
23392
23392
|
})
|
|
23393
23393
|
),
|
|
23394
|
-
|
|
23394
|
+
C && /* @__PURE__ */ f(
|
|
23395
23395
|
$m,
|
|
23396
23396
|
{
|
|
23397
23397
|
title: "Selección múltiple",
|
|
@@ -23415,7 +23415,7 @@ const jF = /* @__PURE__ */ n((e) => {
|
|
|
23415
23415
|
p,
|
|
23416
23416
|
v,
|
|
23417
23417
|
E,
|
|
23418
|
-
|
|
23418
|
+
C,
|
|
23419
23419
|
S,
|
|
23420
23420
|
w.data
|
|
23421
23421
|
]
|
|
@@ -23457,12 +23457,12 @@ function KF(e, t) {
|
|
|
23457
23457
|
component: b
|
|
23458
23458
|
},
|
|
23459
23459
|
internalRef: y
|
|
23460
|
-
} = v,
|
|
23460
|
+
} = v, P = K(v.props, GF), E = lt(y, g == null ? void 0 : g.ref, t.ref), C = s ? s(P) : {}, S = O({}, i, C), x = b, w = Wr(m, O({}, e === "root", !p[e] && c, P, x && {
|
|
23461
23461
|
as: x
|
|
23462
23462
|
}, {
|
|
23463
23463
|
ref: E
|
|
23464
23464
|
}), S);
|
|
23465
|
-
return Object.keys(
|
|
23465
|
+
return Object.keys(C).forEach((F) => {
|
|
23466
23466
|
delete w[F];
|
|
23467
23467
|
}), [m, w];
|
|
23468
23468
|
}
|
|
@@ -23594,11 +23594,11 @@ const vs = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
|
|
|
23594
23594
|
variant: v = "circular"
|
|
23595
23595
|
} = a, b = K(a, YF);
|
|
23596
23596
|
let y = null;
|
|
23597
|
-
const
|
|
23597
|
+
const P = ew(O({}, p, {
|
|
23598
23598
|
src: m,
|
|
23599
23599
|
srcSet: g
|
|
23600
|
-
})), E = m || g,
|
|
23601
|
-
colorDefault: !
|
|
23600
|
+
})), E = m || g, C = E && P !== "error", S = O({}, a, {
|
|
23601
|
+
colorDefault: !C,
|
|
23602
23602
|
component: c,
|
|
23603
23603
|
variant: v
|
|
23604
23604
|
}), x = QF(S), [w, F] = KF("img", {
|
|
@@ -23618,7 +23618,7 @@ const vs = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
|
|
|
23618
23618
|
},
|
|
23619
23619
|
ownerState: S
|
|
23620
23620
|
});
|
|
23621
|
-
return
|
|
23621
|
+
return C ? y = /* @__PURE__ */ f(w, O({}, F)) : l || l === 0 ? y = l : E && i ? y = i[0] : y = /* @__PURE__ */ f(JF, {
|
|
23622
23622
|
ownerState: S,
|
|
23623
23623
|
className: x.fallback
|
|
23624
23624
|
}), /* @__PURE__ */ f(XF, O({
|
|
@@ -23918,9 +23918,9 @@ const rw = ["children", "color", "component", "className", "disabled", "disableE
|
|
|
23918
23918
|
endIcon: v,
|
|
23919
23919
|
focusVisibleClassName: b,
|
|
23920
23920
|
fullWidth: y = !1,
|
|
23921
|
-
size:
|
|
23921
|
+
size: P = "medium",
|
|
23922
23922
|
startIcon: E,
|
|
23923
|
-
type:
|
|
23923
|
+
type: C,
|
|
23924
23924
|
variant: S = "text"
|
|
23925
23925
|
} = s, x = K(s, rw), w = O({}, s, {
|
|
23926
23926
|
color: u,
|
|
@@ -23929,8 +23929,8 @@ const rw = ["children", "color", "component", "className", "disabled", "disableE
|
|
|
23929
23929
|
disableElevation: m,
|
|
23930
23930
|
disableFocusRipple: g,
|
|
23931
23931
|
fullWidth: y,
|
|
23932
|
-
size:
|
|
23933
|
-
type:
|
|
23932
|
+
size: P,
|
|
23933
|
+
type: C,
|
|
23934
23934
|
variant: S
|
|
23935
23935
|
}), F = ow(w), $ = E && /* @__PURE__ */ f(aw, {
|
|
23936
23936
|
className: F.startIcon,
|
|
@@ -23949,7 +23949,7 @@ const rw = ["children", "color", "component", "className", "disabled", "disableE
|
|
|
23949
23949
|
focusRipple: !g,
|
|
23950
23950
|
focusVisibleClassName: Q(F.focusVisible, b),
|
|
23951
23951
|
ref: r,
|
|
23952
|
-
type:
|
|
23952
|
+
type: C
|
|
23953
23953
|
}, x, {
|
|
23954
23954
|
classes: F,
|
|
23955
23955
|
children: [$, c, R]
|
|
@@ -24471,50 +24471,50 @@ const Lf = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
|
|
|
24471
24471
|
go(() => {
|
|
24472
24472
|
i && g.current.focus();
|
|
24473
24473
|
}, [i]), T.useImperativeHandle(a, () => ({
|
|
24474
|
-
adjustStyleForScrollbar: /* @__PURE__ */ n((
|
|
24474
|
+
adjustStyleForScrollbar: /* @__PURE__ */ n((C, {
|
|
24475
24475
|
direction: S
|
|
24476
24476
|
}) => {
|
|
24477
24477
|
const x = !g.current.style.width;
|
|
24478
|
-
if (
|
|
24479
|
-
const w = `${yw(br(
|
|
24478
|
+
if (C.clientHeight < g.current.clientHeight && x) {
|
|
24479
|
+
const w = `${yw(br(C))}px`;
|
|
24480
24480
|
g.current.style[S === "rtl" ? "paddingLeft" : "paddingRight"] = w, g.current.style.width = `calc(100% + ${w})`;
|
|
24481
24481
|
}
|
|
24482
24482
|
return g.current;
|
|
24483
24483
|
}, "adjustStyleForScrollbar")
|
|
24484
24484
|
}), []);
|
|
24485
|
-
const b = /* @__PURE__ */ n((
|
|
24486
|
-
const S = g.current, x =
|
|
24485
|
+
const b = /* @__PURE__ */ n((C) => {
|
|
24486
|
+
const S = g.current, x = C.key, w = br(S).activeElement;
|
|
24487
24487
|
if (x === "ArrowDown")
|
|
24488
|
-
|
|
24488
|
+
C.preventDefault(), Mo(S, w, d, u, Ti);
|
|
24489
24489
|
else if (x === "ArrowUp")
|
|
24490
|
-
|
|
24490
|
+
C.preventDefault(), Mo(S, w, d, u, Tu);
|
|
24491
24491
|
else if (x === "Home")
|
|
24492
|
-
|
|
24492
|
+
C.preventDefault(), Mo(S, null, d, u, Ti);
|
|
24493
24493
|
else if (x === "End")
|
|
24494
|
-
|
|
24494
|
+
C.preventDefault(), Mo(S, null, d, u, Tu);
|
|
24495
24495
|
else if (x.length === 1) {
|
|
24496
24496
|
const F = v.current, $ = x.toLowerCase(), R = performance.now();
|
|
24497
24497
|
F.keys.length > 0 && (R - F.lastTime > 500 ? (F.keys = [], F.repeating = !0, F.previousKeyMatched = !0) : F.repeating && $ !== F.keys[0] && (F.repeating = !1)), F.lastTime = R, F.keys.push($);
|
|
24498
24498
|
const k = w && !F.repeating && $f(w, F);
|
|
24499
|
-
F.previousKeyMatched && (k || Mo(S, w, !1, u, Ti, F)) ?
|
|
24499
|
+
F.previousKeyMatched && (k || Mo(S, w, !1, u, Ti, F)) ? C.preventDefault() : F.previousKeyMatched = !1;
|
|
24500
24500
|
}
|
|
24501
|
-
p && p(
|
|
24501
|
+
p && p(C);
|
|
24502
24502
|
}, "handleKeyDown"), y = lt(g, r);
|
|
24503
|
-
let
|
|
24504
|
-
T.Children.forEach(s, (
|
|
24505
|
-
if (!/* @__PURE__ */ T.isValidElement(
|
|
24506
|
-
|
|
24503
|
+
let P = -1;
|
|
24504
|
+
T.Children.forEach(s, (C, S) => {
|
|
24505
|
+
if (!/* @__PURE__ */ T.isValidElement(C)) {
|
|
24506
|
+
P === S && (P += 1, P >= s.length && (P = -1));
|
|
24507
24507
|
return;
|
|
24508
24508
|
}
|
|
24509
|
-
process.env.NODE_ENV !== "production" && eo.isFragment(
|
|
24510
|
-
`)),
|
|
24509
|
+
process.env.NODE_ENV !== "production" && eo.isFragment(C) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
|
|
24510
|
+
`)), C.props.disabled || (h === "selectedMenu" && C.props.selected || P === -1) && (P = S), P === S && (C.props.disabled || C.props.muiSkipListHighlight || C.type.muiSkipListHighlight) && (P += 1, P >= s.length && (P = -1));
|
|
24511
24511
|
});
|
|
24512
|
-
const E = T.Children.map(s, (
|
|
24513
|
-
if (S ===
|
|
24512
|
+
const E = T.Children.map(s, (C, S) => {
|
|
24513
|
+
if (S === P) {
|
|
24514
24514
|
const x = {};
|
|
24515
|
-
return l && (x.autoFocus = !0),
|
|
24515
|
+
return l && (x.autoFocus = !0), C.props.tabIndex === void 0 && h === "selectedMenu" && (x.tabIndex = 0), /* @__PURE__ */ T.cloneElement(C, x);
|
|
24516
24516
|
}
|
|
24517
|
-
return
|
|
24517
|
+
return C;
|
|
24518
24518
|
});
|
|
24519
24519
|
return /* @__PURE__ */ f(Mf, O({
|
|
24520
24520
|
role: "menu",
|
|
@@ -24642,9 +24642,9 @@ const Pw = /* @__PURE__ */ n((e) => {
|
|
|
24642
24642
|
container: v,
|
|
24643
24643
|
elevation: b = 8,
|
|
24644
24644
|
marginThreshold: y = 16,
|
|
24645
|
-
open:
|
|
24645
|
+
open: P,
|
|
24646
24646
|
PaperProps: E = {},
|
|
24647
|
-
slots:
|
|
24647
|
+
slots: C,
|
|
24648
24648
|
slotProps: S,
|
|
24649
24649
|
transformOrigin: x = {
|
|
24650
24650
|
vertical: "top",
|
|
@@ -24656,17 +24656,17 @@ const Pw = /* @__PURE__ */ n((e) => {
|
|
|
24656
24656
|
onEntering: $
|
|
24657
24657
|
} = {},
|
|
24658
24658
|
disableScrollLock: R = !1
|
|
24659
|
-
} = s, k = K(s.TransitionProps, Sw), L = K(s, Tw),
|
|
24659
|
+
} = s, k = K(s.TransitionProps, Sw), L = K(s, Tw), N = (a = S == null ? void 0 : S.paper) != null ? a : E, A = T.useRef(), I = lt(A, N.ref), _ = O({}, s, {
|
|
24660
24660
|
anchorOrigin: d,
|
|
24661
24661
|
anchorReference: h,
|
|
24662
24662
|
elevation: b,
|
|
24663
24663
|
marginThreshold: y,
|
|
24664
|
-
externalPaperSlotProps:
|
|
24664
|
+
externalPaperSlotProps: N,
|
|
24665
24665
|
transformOrigin: x,
|
|
24666
24666
|
TransitionComponent: w,
|
|
24667
24667
|
transitionDuration: F,
|
|
24668
24668
|
TransitionProps: k
|
|
24669
|
-
}),
|
|
24669
|
+
}), D = Pw(_), B = T.useCallback(() => {
|
|
24670
24670
|
if (h === "anchorPosition")
|
|
24671
24671
|
return process.env.NODE_ENV !== "production" && (p || console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')), p;
|
|
24672
24672
|
const q = Hn(u), j = q && q.nodeType === 1 ? q : br(A.current).body, oe = j.getBoundingClientRect();
|
|
@@ -24716,7 +24716,7 @@ const Pw = /* @__PURE__ */ n((e) => {
|
|
|
24716
24716
|
left: `${Math.round(ye)}px`,
|
|
24717
24717
|
transformOrigin: Eu(oe)
|
|
24718
24718
|
};
|
|
24719
|
-
}, [u, h, B, M, y]), [te, ce] = T.useState(
|
|
24719
|
+
}, [u, h, B, M, y]), [te, ce] = T.useState(P), pe = T.useCallback(() => {
|
|
24720
24720
|
const q = A.current;
|
|
24721
24721
|
if (!q)
|
|
24722
24722
|
return;
|
|
@@ -24730,13 +24730,13 @@ const Pw = /* @__PURE__ */ n((e) => {
|
|
|
24730
24730
|
ce(!1);
|
|
24731
24731
|
}, "handleExited");
|
|
24732
24732
|
T.useEffect(() => {
|
|
24733
|
-
|
|
24734
|
-
}), T.useImperativeHandle(c, () =>
|
|
24733
|
+
P && pe();
|
|
24734
|
+
}), T.useImperativeHandle(c, () => P ? {
|
|
24735
24735
|
updatePosition: /* @__PURE__ */ n(() => {
|
|
24736
24736
|
pe();
|
|
24737
24737
|
}, "updatePosition")
|
|
24738
|
-
} : null, [
|
|
24739
|
-
if (!
|
|
24738
|
+
} : null, [P, pe]), T.useEffect(() => {
|
|
24739
|
+
if (!P)
|
|
24740
24740
|
return;
|
|
24741
24741
|
const q = dn(() => {
|
|
24742
24742
|
pe();
|
|
@@ -24744,13 +24744,13 @@ const Pw = /* @__PURE__ */ n((e) => {
|
|
|
24744
24744
|
return j.addEventListener("resize", q), () => {
|
|
24745
24745
|
q.clear(), j.removeEventListener("resize", q);
|
|
24746
24746
|
};
|
|
24747
|
-
}, [u,
|
|
24747
|
+
}, [u, P, pe]);
|
|
24748
24748
|
let ie = F;
|
|
24749
24749
|
F === "auto" && !w.muiSupportAuto && (ie = void 0);
|
|
24750
|
-
const ne = v || (u ? br(Hn(u)).body : void 0), ve = (i =
|
|
24750
|
+
const ne = v || (u ? br(Hn(u)).body : void 0), ve = (i = C == null ? void 0 : C.root) != null ? i : Ew, se = (l = C == null ? void 0 : C.paper) != null ? l : If, ue = jt({
|
|
24751
24751
|
elementType: se,
|
|
24752
|
-
externalSlotProps: O({},
|
|
24753
|
-
style: te ?
|
|
24752
|
+
externalSlotProps: O({}, N, {
|
|
24753
|
+
style: te ? N.style : O({}, N.style, {
|
|
24754
24754
|
opacity: 0
|
|
24755
24755
|
})
|
|
24756
24756
|
}),
|
|
@@ -24759,7 +24759,7 @@ const Pw = /* @__PURE__ */ n((e) => {
|
|
|
24759
24759
|
ref: I
|
|
24760
24760
|
},
|
|
24761
24761
|
ownerState: _,
|
|
24762
|
-
className: Q(
|
|
24762
|
+
className: Q(D.paper, N == null ? void 0 : N.className)
|
|
24763
24763
|
}), xe = jt({
|
|
24764
24764
|
elementType: ve,
|
|
24765
24765
|
externalSlotProps: (S == null ? void 0 : S.root) || {},
|
|
@@ -24772,10 +24772,10 @@ const Pw = /* @__PURE__ */ n((e) => {
|
|
|
24772
24772
|
}
|
|
24773
24773
|
},
|
|
24774
24774
|
container: ne,
|
|
24775
|
-
open:
|
|
24775
|
+
open: P
|
|
24776
24776
|
},
|
|
24777
24777
|
ownerState: _,
|
|
24778
|
-
className: Q(
|
|
24778
|
+
className: Q(D.root, g)
|
|
24779
24779
|
}), {
|
|
24780
24780
|
slotProps: X
|
|
24781
24781
|
} = xe, z = K(xe, Cw);
|
|
@@ -24785,7 +24785,7 @@ const Pw = /* @__PURE__ */ n((e) => {
|
|
|
24785
24785
|
}, {
|
|
24786
24786
|
children: /* @__PURE__ */ f(w, O({
|
|
24787
24787
|
appear: !0,
|
|
24788
|
-
in:
|
|
24788
|
+
in: P,
|
|
24789
24789
|
onEntering: le,
|
|
24790
24790
|
onExited: J,
|
|
24791
24791
|
timeout: ie
|
|
@@ -25035,9 +25035,9 @@ const ww = ["onEntering"], Rw = ["autoFocus", "children", "className", "disableA
|
|
|
25035
25035
|
TransitionProps: {
|
|
25036
25036
|
onEntering: y
|
|
25037
25037
|
} = {},
|
|
25038
|
-
variant:
|
|
25038
|
+
variant: P = "selectedMenu",
|
|
25039
25039
|
slots: E = {},
|
|
25040
|
-
slotProps:
|
|
25040
|
+
slotProps: C = {}
|
|
25041
25041
|
} = l, S = K(l.TransitionProps, ww), x = K(l, Rw), w = Aa(), F = O({}, l, {
|
|
25042
25042
|
autoFocus: s,
|
|
25043
25043
|
disableAutoFocusItem: d,
|
|
@@ -25046,22 +25046,22 @@ const ww = ["onEntering"], Rw = ["autoFocus", "children", "className", "disableA
|
|
|
25046
25046
|
PaperProps: g,
|
|
25047
25047
|
transitionDuration: b,
|
|
25048
25048
|
TransitionProps: S,
|
|
25049
|
-
variant:
|
|
25049
|
+
variant: P
|
|
25050
25050
|
}), $ = $w(F), R = s && !d && m, k = T.useRef(null), L = /* @__PURE__ */ n((M, U) => {
|
|
25051
25051
|
k.current && k.current.adjustStyleForScrollbar(M, {
|
|
25052
25052
|
direction: w ? "rtl" : "ltr"
|
|
25053
25053
|
}), y && y(M, U);
|
|
25054
|
-
}, "handleEntering"),
|
|
25054
|
+
}, "handleEntering"), N = /* @__PURE__ */ n((M) => {
|
|
25055
25055
|
M.key === "Tab" && (M.preventDefault(), h && h(M, "tabKeyDown"));
|
|
25056
25056
|
}, "handleListKeyDown");
|
|
25057
25057
|
let A = -1;
|
|
25058
25058
|
T.Children.map(c, (M, U) => {
|
|
25059
25059
|
/* @__PURE__ */ T.isValidElement(M) && (process.env.NODE_ENV !== "production" && eo.isFragment(M) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
|
|
25060
|
-
`)), M.props.disabled || (
|
|
25060
|
+
`)), M.props.disabled || (P === "selectedMenu" && M.props.selected || A === -1) && (A = U));
|
|
25061
25061
|
});
|
|
25062
|
-
const I = (a = E.paper) != null ? a : Iw, _ = (i =
|
|
25062
|
+
const I = (a = E.paper) != null ? a : Iw, _ = (i = C.paper) != null ? i : g, D = jt({
|
|
25063
25063
|
elementType: E.root,
|
|
25064
|
-
externalSlotProps:
|
|
25064
|
+
externalSlotProps: C.root,
|
|
25065
25065
|
ownerState: F,
|
|
25066
25066
|
className: [$.root, u]
|
|
25067
25067
|
}), B = jt({
|
|
@@ -25082,7 +25082,7 @@ const ww = ["onEntering"], Rw = ["autoFocus", "children", "className", "disableA
|
|
|
25082
25082
|
root: E.root
|
|
25083
25083
|
},
|
|
25084
25084
|
slotProps: {
|
|
25085
|
-
root:
|
|
25085
|
+
root: D,
|
|
25086
25086
|
paper: B
|
|
25087
25087
|
},
|
|
25088
25088
|
open: m,
|
|
@@ -25095,11 +25095,11 @@ const ww = ["onEntering"], Rw = ["autoFocus", "children", "className", "disableA
|
|
|
25095
25095
|
}, x, {
|
|
25096
25096
|
classes: v,
|
|
25097
25097
|
children: /* @__PURE__ */ f(Aw, O({
|
|
25098
|
-
onKeyDown:
|
|
25098
|
+
onKeyDown: N,
|
|
25099
25099
|
actions: k,
|
|
25100
25100
|
autoFocus: s && (A === -1 || d),
|
|
25101
25101
|
autoFocusItem: R,
|
|
25102
|
-
variant:
|
|
25102
|
+
variant: P
|
|
25103
25103
|
}, p, {
|
|
25104
25104
|
className: Q($.list, p.className),
|
|
25105
25105
|
children: c
|
|
@@ -25338,23 +25338,23 @@ const $o = de("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divi
|
|
|
25338
25338
|
go(() => {
|
|
25339
25339
|
i && (y.current ? y.current.focus() : process.env.NODE_ENV !== "production" && console.error("MUI: Unable to set focus to a MenuItem whose component has not been rendered."));
|
|
25340
25340
|
}, [i]);
|
|
25341
|
-
const
|
|
25341
|
+
const P = O({}, a, {
|
|
25342
25342
|
dense: b.dense,
|
|
25343
25343
|
divider: c,
|
|
25344
25344
|
disableGutters: u
|
|
25345
|
-
}), E = jw(a),
|
|
25345
|
+
}), E = jw(a), C = lt(y, r);
|
|
25346
25346
|
let S;
|
|
25347
25347
|
return a.disabled || (S = h !== void 0 ? h : -1), /* @__PURE__ */ f(la.Provider, {
|
|
25348
25348
|
value: b,
|
|
25349
25349
|
children: /* @__PURE__ */ f(Vw, O({
|
|
25350
|
-
ref:
|
|
25350
|
+
ref: C,
|
|
25351
25351
|
role: p,
|
|
25352
25352
|
tabIndex: S,
|
|
25353
25353
|
component: l,
|
|
25354
25354
|
focusVisibleClassName: Q(E.focusVisible, d),
|
|
25355
25355
|
className: Q(E.root, m)
|
|
25356
25356
|
}, g, {
|
|
25357
|
-
ownerState:
|
|
25357
|
+
ownerState: P,
|
|
25358
25358
|
classes: E
|
|
25359
25359
|
}))
|
|
25360
25360
|
});
|
|
@@ -25446,9 +25446,9 @@ const O$ = /* @__PURE__ */ n((e) => {
|
|
|
25446
25446
|
...u
|
|
25447
25447
|
} = e, [d, p] = We(!1), h = Qi(), [m, g] = We(c), v = tt(e), b = /* @__PURE__ */ n((S, x) => (g(x), p(!1), !0), "handleMenuItemClick"), y = /* @__PURE__ */ n((S) => {
|
|
25448
25448
|
S.preventDefault(), p(!0), h.current = S.currentTarget;
|
|
25449
|
-
}, "handleToggle"),
|
|
25449
|
+
}, "handleToggle"), P = /* @__PURE__ */ n((S) => {
|
|
25450
25450
|
h.current && h.current.contains(S.target) || p(!1);
|
|
25451
|
-
}, "handleClose"), E = r[m],
|
|
25451
|
+
}, "handleClose"), E = r[m], C = (E == null ? void 0 : E.icon) || a;
|
|
25452
25452
|
return /* @__PURE__ */ H(Dt, { children: [
|
|
25453
25453
|
/* @__PURE__ */ f(qa, { title: E == null ? void 0 : E.label, children: /* @__PURE__ */ H(
|
|
25454
25454
|
Nt,
|
|
@@ -25457,12 +25457,12 @@ const O$ = /* @__PURE__ */ n((e) => {
|
|
|
25457
25457
|
disabled: l,
|
|
25458
25458
|
onClick: y,
|
|
25459
25459
|
children: [
|
|
25460
|
-
|
|
25460
|
+
C,
|
|
25461
25461
|
/* @__PURE__ */ f(_h, { fontSize: "small" })
|
|
25462
25462
|
]
|
|
25463
25463
|
}
|
|
25464
25464
|
) }),
|
|
25465
|
-
/* @__PURE__ */ f(ys, { open: d, anchorEl: h.current, onClose:
|
|
25465
|
+
/* @__PURE__ */ f(ys, { open: d, anchorEl: h.current, onClose: P, children: r.map((S, x) => /* @__PURE__ */ H(
|
|
25466
25466
|
Nf,
|
|
25467
25467
|
{
|
|
25468
25468
|
disabled: S.disabled,
|
|
@@ -25538,10 +25538,10 @@ const O$ = /* @__PURE__ */ n((e) => {
|
|
|
25538
25538
|
...d
|
|
25539
25539
|
} = e, p = ba(), h = Lh(""), m = tt(e), [g, v] = We(0), {
|
|
25540
25540
|
fichaProps: { etrs: b }
|
|
25541
|
-
} = Pe(Je), y = er({ ...e, etrs: b }), { estado:
|
|
25541
|
+
} = Pe(Je), y = er({ ...e, etrs: b }), { estado: P } = Pe(Je), E = /* @__PURE__ */ n((S, x) => {
|
|
25542
25542
|
l || (v(x), u && u(
|
|
25543
25543
|
y,
|
|
25544
|
-
|
|
25544
|
+
P,
|
|
25545
25545
|
{
|
|
25546
25546
|
newTab: x,
|
|
25547
25547
|
prevTab: g,
|
|
@@ -25549,7 +25549,7 @@ const O$ = /* @__PURE__ */ n((e) => {
|
|
|
25549
25549
|
},
|
|
25550
25550
|
S
|
|
25551
25551
|
));
|
|
25552
|
-
}, "handleTabChange"),
|
|
25552
|
+
}, "handleTabChange"), C = /* @__PURE__ */ n(() => rr(
|
|
25553
25553
|
s,
|
|
25554
25554
|
{
|
|
25555
25555
|
onChange: E,
|
|
@@ -25565,7 +25565,7 @@ const O$ = /* @__PURE__ */ n((e) => {
|
|
|
25565
25565
|
className: Q("tabbed-form", r),
|
|
25566
25566
|
...Qw(d),
|
|
25567
25567
|
children: [
|
|
25568
|
-
l ? /* @__PURE__ */ f(nl, { children: /* @__PURE__ */ f(al, { path: "/*", element:
|
|
25568
|
+
l ? /* @__PURE__ */ f(nl, { children: /* @__PURE__ */ f(al, { path: "/*", element: C() }) }) : C(),
|
|
25569
25569
|
/* @__PURE__ */ f(Lm, {}),
|
|
25570
25570
|
/* @__PURE__ */ f(a, { children: ua.map(t, (S, x) => {
|
|
25571
25571
|
if (!S)
|
|
@@ -25625,8 +25625,8 @@ const Xw = /* @__PURE__ */ n(({
|
|
|
25625
25625
|
shouldUseNativeValidation: v,
|
|
25626
25626
|
validate: b,
|
|
25627
25627
|
warnWhenUnsavedChanges: y,
|
|
25628
|
-
...
|
|
25629
|
-
}) =>
|
|
25628
|
+
...P
|
|
25629
|
+
}) => P, "sanitizeRestProps"), T$ = /* @__PURE__ */ n((e) => {
|
|
25630
25630
|
const { syncWithLocation: t = !1, ...r } = e, {
|
|
25631
25631
|
initialValues: a,
|
|
25632
25632
|
fichaProps: { config: i = {} }
|
|
@@ -26030,11 +26030,11 @@ const lR = de("MuiLink", ["root", "underlineNone", "underlineHover", "underlineA
|
|
|
26030
26030
|
isFocusVisibleRef: v,
|
|
26031
26031
|
onBlur: b,
|
|
26032
26032
|
onFocus: y,
|
|
26033
|
-
ref:
|
|
26034
|
-
} = La(), [E,
|
|
26035
|
-
b(R), v.current === !1 &&
|
|
26033
|
+
ref: P
|
|
26034
|
+
} = La(), [E, C] = T.useState(!1), S = lt(r, P), x = /* @__PURE__ */ n((R) => {
|
|
26035
|
+
b(R), v.current === !1 && C(!1), c && c(R);
|
|
26036
26036
|
}, "handleBlur"), w = /* @__PURE__ */ n((R) => {
|
|
26037
|
-
y(R), v.current === !0 &&
|
|
26037
|
+
y(R), v.current === !0 && C(!0), u && u(R);
|
|
26038
26038
|
}, "handleFocus"), F = O({}, a, {
|
|
26039
26039
|
color: l,
|
|
26040
26040
|
component: s,
|
|
@@ -26240,15 +26240,15 @@ const ku = /* @__PURE__ */ n((e) => {
|
|
|
26240
26240
|
accept: d = { "*": [] },
|
|
26241
26241
|
download: p = !0,
|
|
26242
26242
|
...h
|
|
26243
|
-
} = t, m = rt(), g = Zt(e), v = da((S) => S.breakpoints.down("sm")), b = Vt(), [y,
|
|
26243
|
+
} = t, m = rt(), g = Zt(e), v = da((S) => S.breakpoints.down("sm")), b = Vt(), [y, P] = We(
|
|
26244
26244
|
g && c ? `${c}/${g[h.source]}` : void 0
|
|
26245
26245
|
);
|
|
26246
26246
|
if (!b)
|
|
26247
26247
|
return null;
|
|
26248
|
-
const E = b.getValues()[h.source],
|
|
26248
|
+
const E = b.getValues()[h.source], C = y ?? "#";
|
|
26249
26249
|
return ct(() => {
|
|
26250
|
-
u && E && (E != null && E.src ?
|
|
26251
|
-
|
|
26250
|
+
u && E && (E != null && E.src ? P(E.src) : u(E).then((S) => {
|
|
26251
|
+
P(S);
|
|
26252
26252
|
}));
|
|
26253
26253
|
}, [E]), !r && (l === "image" ? /* @__PURE__ */ H(
|
|
26254
26254
|
Gi,
|
|
@@ -26300,7 +26300,7 @@ const ku = /* @__PURE__ */ n((e) => {
|
|
|
26300
26300
|
Nt,
|
|
26301
26301
|
{
|
|
26302
26302
|
component: Ki,
|
|
26303
|
-
href:
|
|
26303
|
+
href: C,
|
|
26304
26304
|
target: "_blank",
|
|
26305
26305
|
size: "small",
|
|
26306
26306
|
title: "Ver adjunto",
|
|
@@ -26312,7 +26312,7 @@ const ku = /* @__PURE__ */ n((e) => {
|
|
|
26312
26312
|
{
|
|
26313
26313
|
sx: { ml: 1 },
|
|
26314
26314
|
component: Ki,
|
|
26315
|
-
href:
|
|
26315
|
+
href: C,
|
|
26316
26316
|
download: !0,
|
|
26317
26317
|
target: "_blank",
|
|
26318
26318
|
size: "small",
|
|
@@ -26395,14 +26395,14 @@ const ku = /* @__PURE__ */ n((e) => {
|
|
|
26395
26395
|
asistantResource: c,
|
|
26396
26396
|
perPage: u = 500,
|
|
26397
26397
|
...d
|
|
26398
|
-
} = t, { source: p, reference: h } = e, m = sl((
|
|
26399
|
-
const E =
|
|
26398
|
+
} = t, { source: p, reference: h } = e, m = sl((P) => {
|
|
26399
|
+
const E = P.reload_cb ? P.reload_cb.filter((C) => C.id === p) : [];
|
|
26400
26400
|
return E[0] ? E[0] : null;
|
|
26401
26401
|
}), g = Qi(m), v = m === null && g.current ? g.current : m;
|
|
26402
26402
|
let b, y;
|
|
26403
26403
|
if (v) {
|
|
26404
|
-
const { callback:
|
|
26405
|
-
b =
|
|
26404
|
+
const { callback: P, ...E } = v;
|
|
26405
|
+
b = P, y = E;
|
|
26406
26406
|
}
|
|
26407
26407
|
return ct(() => {
|
|
26408
26408
|
m !== null && (g.current = m, a(iT(p)));
|
|
@@ -26558,7 +26558,7 @@ const DR = /* @__PURE__ */ n((e) => /* @__PURE__ */ f(
|
|
|
26558
26558
|
contentResource: p,
|
|
26559
26559
|
translateOptions: h = {}
|
|
26560
26560
|
} = e, m = rt(), [g] = ad({ resource: p }), v = Ne(
|
|
26561
|
-
(y,
|
|
26561
|
+
(y, P) => {
|
|
26562
26562
|
y.stopPropagation(), d(y, g);
|
|
26563
26563
|
},
|
|
26564
26564
|
[g, d]
|
|
@@ -26605,31 +26605,31 @@ const DR = /* @__PURE__ */ n((e) => /* @__PURE__ */ f(
|
|
|
26605
26605
|
}, zR = /* @__PURE__ */ n((e) => !e || e != null && e.all ? "Todos" : e != null && e.none || e.seleccion.length === 0 ? "Ninguno" : `Selección (${e.seleccion.length})`, "format$1"), HR = /* @__PURE__ */ n((e) => e, "parse$1"), D$ = /* @__PURE__ */ n((e) => {
|
|
26606
26606
|
const { asistant: t, asistantResource: r, source: a, sx: i, ...l } = e, [s, c] = We(!1), {
|
|
26607
26607
|
hidden: u,
|
|
26608
|
-
propsContenido: { readOnly: d, label: p,
|
|
26609
|
-
} = ht(e),
|
|
26608
|
+
propsContenido: { readOnly: d, label: p, sx: h, onChange: m }
|
|
26609
|
+
} = ht(e), g = Vt();
|
|
26610
26610
|
ct(() => {
|
|
26611
|
-
|
|
26611
|
+
P();
|
|
26612
26612
|
}, []);
|
|
26613
|
-
const
|
|
26613
|
+
const v = Ne(() => {
|
|
26614
26614
|
c(!1);
|
|
26615
|
-
}, [c]),
|
|
26616
|
-
c(!1),
|
|
26617
|
-
seleccion:
|
|
26615
|
+
}, [c]), b = /* @__PURE__ */ n((E, C) => {
|
|
26616
|
+
c(!1), g.setValue(a, {
|
|
26617
|
+
seleccion: C,
|
|
26618
26618
|
all: !1,
|
|
26619
26619
|
none: !1
|
|
26620
|
-
}),
|
|
26621
|
-
}, "handleConfirm"),
|
|
26622
|
-
|
|
26620
|
+
}), m(E);
|
|
26621
|
+
}, "handleConfirm"), y = /* @__PURE__ */ n((E) => {
|
|
26622
|
+
g.setValue(a, {
|
|
26623
26623
|
seleccion: [],
|
|
26624
26624
|
all: !1,
|
|
26625
26625
|
none: !0
|
|
26626
|
-
}),
|
|
26627
|
-
}, "handleNinguno"),
|
|
26628
|
-
|
|
26626
|
+
}), m(E);
|
|
26627
|
+
}, "handleNinguno"), P = /* @__PURE__ */ n((E) => {
|
|
26628
|
+
g.setValue(a, {
|
|
26629
26629
|
seleccion: [],
|
|
26630
26630
|
all: !0,
|
|
26631
26631
|
none: !1
|
|
26632
|
-
}),
|
|
26632
|
+
}), m(E);
|
|
26633
26633
|
}, "handleTodos");
|
|
26634
26634
|
return u ? null : /* @__PURE__ */ H(nr, { children: [
|
|
26635
26635
|
/* @__PURE__ */ f(
|
|
@@ -26637,7 +26637,12 @@ const DR = /* @__PURE__ */ n((e) => /* @__PURE__ */ f(
|
|
|
26637
26637
|
{
|
|
26638
26638
|
display: "flex",
|
|
26639
26639
|
alignItems: "center",
|
|
26640
|
-
sx: {
|
|
26640
|
+
sx: {
|
|
26641
|
+
...h,
|
|
26642
|
+
...i,
|
|
26643
|
+
display: "inline-flex",
|
|
26644
|
+
width: { xs: "100%", md: "auto" }
|
|
26645
|
+
},
|
|
26641
26646
|
children: /* @__PURE__ */ f(
|
|
26642
26647
|
wr,
|
|
26643
26648
|
{
|
|
@@ -26654,7 +26659,7 @@ const DR = /* @__PURE__ */ n((e) => /* @__PURE__ */ f(
|
|
|
26654
26659
|
/* @__PURE__ */ f(
|
|
26655
26660
|
Nt,
|
|
26656
26661
|
{
|
|
26657
|
-
onClick:
|
|
26662
|
+
onClick: y,
|
|
26658
26663
|
disabled: d,
|
|
26659
26664
|
"aria-label": "Ninguno",
|
|
26660
26665
|
size: "small",
|
|
@@ -26665,7 +26670,7 @@ const DR = /* @__PURE__ */ n((e) => /* @__PURE__ */ f(
|
|
|
26665
26670
|
/* @__PURE__ */ f(
|
|
26666
26671
|
Nt,
|
|
26667
26672
|
{
|
|
26668
|
-
onClick:
|
|
26673
|
+
onClick: P,
|
|
26669
26674
|
disabled: d,
|
|
26670
26675
|
"aria-label": "Todos",
|
|
26671
26676
|
size: "small",
|
|
@@ -26676,7 +26681,7 @@ const DR = /* @__PURE__ */ n((e) => /* @__PURE__ */ f(
|
|
|
26676
26681
|
/* @__PURE__ */ f(
|
|
26677
26682
|
Nt,
|
|
26678
26683
|
{
|
|
26679
|
-
onClick: /* @__PURE__ */ n((
|
|
26684
|
+
onClick: /* @__PURE__ */ n((E) => c(!0), "onClick"),
|
|
26680
26685
|
disabled: d,
|
|
26681
26686
|
"aria-label": "Selección",
|
|
26682
26687
|
size: "small",
|
|
@@ -26711,8 +26716,8 @@ const DR = /* @__PURE__ */ n((e) => /* @__PURE__ */ f(
|
|
|
26711
26716
|
hasEdit: !1
|
|
26712
26717
|
}
|
|
26713
26718
|
}),
|
|
26714
|
-
onConfirm:
|
|
26715
|
-
onClose:
|
|
26719
|
+
onConfirm: b,
|
|
26720
|
+
onClose: v
|
|
26716
26721
|
}
|
|
26717
26722
|
)
|
|
26718
26723
|
] });
|
|
@@ -26894,31 +26899,31 @@ const DR = /* @__PURE__ */ n((e) => /* @__PURE__ */ f(
|
|
|
26894
26899
|
...u
|
|
26895
26900
|
} = e, [d] = ad({ resource: "form_224" }), [p, h] = We(!1), m = Vt(), { estado: g, fichaProps: v = {} } = Pe(Je), b = Pe(Oo), {
|
|
26896
26901
|
hidden: y,
|
|
26897
|
-
propsContenido: { readOnly:
|
|
26898
|
-
} = ht(e), { [l]:
|
|
26902
|
+
propsContenido: { readOnly: P, sx: E, label: C = "Funcionarios" }
|
|
26903
|
+
} = ht(e), { [l]: S = {}, etrs: x } = v, w = er({ ...e, etrs: x, asisEtr: b }), F = S.onChange === void 0 ? c : S.onChange;
|
|
26899
26904
|
ct(() => {
|
|
26900
26905
|
m.setValue(l, $u);
|
|
26901
26906
|
}, []);
|
|
26902
|
-
const
|
|
26907
|
+
const $ = Ne(() => {
|
|
26903
26908
|
h(!1);
|
|
26904
|
-
}, [h]),
|
|
26909
|
+
}, [h]), R = /* @__PURE__ */ n((N, A) => {
|
|
26905
26910
|
h(!1), m.setValue(l, {
|
|
26906
26911
|
seleccion: d,
|
|
26907
26912
|
all: !1,
|
|
26908
26913
|
none: !1
|
|
26909
|
-
}),
|
|
26910
|
-
}, "handleConfirm"),
|
|
26914
|
+
}), F && F(w, g, N);
|
|
26915
|
+
}, "handleConfirm"), k = /* @__PURE__ */ n((N) => {
|
|
26911
26916
|
m.setValue(l, {
|
|
26912
26917
|
seleccion: [],
|
|
26913
26918
|
all: !1,
|
|
26914
26919
|
none: !0
|
|
26915
|
-
}),
|
|
26916
|
-
}, "handleNinguno"),
|
|
26920
|
+
}), F && F(w, g, N);
|
|
26921
|
+
}, "handleNinguno"), L = /* @__PURE__ */ n((N) => {
|
|
26917
26922
|
m.setValue(l, {
|
|
26918
26923
|
seleccion: [],
|
|
26919
26924
|
all: !0,
|
|
26920
26925
|
none: !1
|
|
26921
|
-
}),
|
|
26926
|
+
}), F && F(w, g, N);
|
|
26922
26927
|
}, "handleTodos");
|
|
26923
26928
|
return y ? null : /* @__PURE__ */ H(nr, { children: [
|
|
26924
26929
|
/* @__PURE__ */ f(
|
|
@@ -26927,6 +26932,7 @@ const DR = /* @__PURE__ */ n((e) => /* @__PURE__ */ f(
|
|
|
26927
26932
|
display: "flex",
|
|
26928
26933
|
alignItems: "center",
|
|
26929
26934
|
sx: {
|
|
26935
|
+
...E,
|
|
26930
26936
|
...s,
|
|
26931
26937
|
display: "inline-flex",
|
|
26932
26938
|
width: { xs: "100%", md: "auto" }
|
|
@@ -26937,7 +26943,7 @@ const DR = /* @__PURE__ */ n((e) => /* @__PURE__ */ f(
|
|
|
26937
26943
|
defaultValue: $u,
|
|
26938
26944
|
...u,
|
|
26939
26945
|
source: l,
|
|
26940
|
-
label:
|
|
26946
|
+
label: C,
|
|
26941
26947
|
readOnly: !0,
|
|
26942
26948
|
parse: XR,
|
|
26943
26949
|
format: QR,
|
|
@@ -26947,8 +26953,8 @@ const DR = /* @__PURE__ */ n((e) => /* @__PURE__ */ f(
|
|
|
26947
26953
|
a && /* @__PURE__ */ f(
|
|
26948
26954
|
Nt,
|
|
26949
26955
|
{
|
|
26950
|
-
onClick:
|
|
26951
|
-
disabled:
|
|
26956
|
+
onClick: k,
|
|
26957
|
+
disabled: P,
|
|
26952
26958
|
"aria-label": "Ninguno",
|
|
26953
26959
|
size: "small",
|
|
26954
26960
|
title: "Ninguno",
|
|
@@ -26958,8 +26964,8 @@ const DR = /* @__PURE__ */ n((e) => /* @__PURE__ */ f(
|
|
|
26958
26964
|
i && /* @__PURE__ */ f(
|
|
26959
26965
|
Nt,
|
|
26960
26966
|
{
|
|
26961
|
-
onClick:
|
|
26962
|
-
disabled:
|
|
26967
|
+
onClick: L,
|
|
26968
|
+
disabled: P,
|
|
26963
26969
|
"aria-label": "Todos",
|
|
26964
26970
|
size: "small",
|
|
26965
26971
|
title: "Todos",
|
|
@@ -26969,8 +26975,8 @@ const DR = /* @__PURE__ */ n((e) => /* @__PURE__ */ f(
|
|
|
26969
26975
|
/* @__PURE__ */ f(
|
|
26970
26976
|
Nt,
|
|
26971
26977
|
{
|
|
26972
|
-
onClick: /* @__PURE__ */ n((
|
|
26973
|
-
disabled:
|
|
26978
|
+
onClick: /* @__PURE__ */ n((N) => h(!0), "onClick"),
|
|
26979
|
+
disabled: P,
|
|
26974
26980
|
"aria-label": "Selección",
|
|
26975
26981
|
size: "small",
|
|
26976
26982
|
title: "Selección",
|
|
@@ -26987,9 +26993,9 @@ const DR = /* @__PURE__ */ n((e) => /* @__PURE__ */ f(
|
|
|
26987
26993
|
YR,
|
|
26988
26994
|
{
|
|
26989
26995
|
isOpen: p,
|
|
26990
|
-
title: `Selección de ${
|
|
26991
|
-
onConfirm:
|
|
26992
|
-
onClose:
|
|
26996
|
+
title: `Selección de ${C}`,
|
|
26997
|
+
onConfirm: R,
|
|
26998
|
+
onClose: $
|
|
26993
26999
|
}
|
|
26994
27000
|
)
|
|
26995
27001
|
] });
|
|
@@ -27030,52 +27036,52 @@ const Wf = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
|
|
|
27030
27036
|
} = t, u = K(t, ZR), {
|
|
27031
27037
|
current: d
|
|
27032
27038
|
} = T.useRef(c != null), p = T.useRef(null), h = Yr(r, p), m = T.useRef(null), g = T.useRef(null), v = T.useCallback(() => {
|
|
27033
|
-
const
|
|
27034
|
-
if (
|
|
27039
|
+
const P = p.current, C = Bo(P).getComputedStyle(P);
|
|
27040
|
+
if (C.width === "0px")
|
|
27035
27041
|
return {
|
|
27036
27042
|
outerHeightStyle: 0,
|
|
27037
27043
|
overflowing: !1
|
|
27038
27044
|
};
|
|
27039
27045
|
const S = g.current;
|
|
27040
|
-
S.style.width =
|
|
27046
|
+
S.style.width = C.width, S.value = P.value || t.placeholder || "x", S.value.slice(-1) === `
|
|
27041
27047
|
` && (S.value += " ");
|
|
27042
|
-
const x =
|
|
27048
|
+
const x = C.boxSizing, w = $n(C.paddingBottom) + $n(C.paddingTop), F = $n(C.borderBottomWidth) + $n(C.borderTopWidth), $ = S.scrollHeight;
|
|
27043
27049
|
S.value = "x";
|
|
27044
27050
|
const R = S.scrollHeight;
|
|
27045
27051
|
let k = $;
|
|
27046
27052
|
l && (k = Math.max(Number(l) * R, k)), i && (k = Math.min(Number(i) * R, k)), k = Math.max(k, R);
|
|
27047
|
-
const L = k + (x === "border-box" ? w + F : 0),
|
|
27053
|
+
const L = k + (x === "border-box" ? w + F : 0), N = Math.abs(k - $) <= 1;
|
|
27048
27054
|
return {
|
|
27049
27055
|
outerHeightStyle: L,
|
|
27050
|
-
overflowing:
|
|
27056
|
+
overflowing: N
|
|
27051
27057
|
};
|
|
27052
27058
|
}, [i, l, t.placeholder]), b = T.useCallback(() => {
|
|
27053
|
-
const
|
|
27054
|
-
if (ek(
|
|
27059
|
+
const P = v();
|
|
27060
|
+
if (ek(P))
|
|
27055
27061
|
return;
|
|
27056
|
-
const E =
|
|
27057
|
-
m.current !== E && (m.current = E,
|
|
27062
|
+
const E = P.outerHeightStyle, C = p.current;
|
|
27063
|
+
m.current !== E && (m.current = E, C.style.height = `${E}px`), C.style.overflow = P.overflowing ? "hidden" : "";
|
|
27058
27064
|
}, [v]);
|
|
27059
27065
|
Qr(() => {
|
|
27060
|
-
const
|
|
27066
|
+
const P = /* @__PURE__ */ n(() => {
|
|
27061
27067
|
b();
|
|
27062
27068
|
}, "handleResize");
|
|
27063
27069
|
let E;
|
|
27064
|
-
const
|
|
27070
|
+
const C = /* @__PURE__ */ n(() => {
|
|
27065
27071
|
cancelAnimationFrame(E), E = requestAnimationFrame(() => {
|
|
27066
|
-
|
|
27072
|
+
P();
|
|
27067
27073
|
});
|
|
27068
|
-
}, "rAFHandleResize"), S = Sm(
|
|
27074
|
+
}, "rAFHandleResize"), S = Sm(P), x = p.current, w = Bo(x);
|
|
27069
27075
|
w.addEventListener("resize", S);
|
|
27070
27076
|
let F;
|
|
27071
|
-
return typeof ResizeObserver < "u" && (F = new ResizeObserver(process.env.NODE_ENV === "test" ?
|
|
27077
|
+
return typeof ResizeObserver < "u" && (F = new ResizeObserver(process.env.NODE_ENV === "test" ? C : P), F.observe(x)), () => {
|
|
27072
27078
|
S.clear(), cancelAnimationFrame(E), w.removeEventListener("resize", S), F && F.disconnect();
|
|
27073
27079
|
};
|
|
27074
27080
|
}, [v, b]), Qr(() => {
|
|
27075
27081
|
b();
|
|
27076
27082
|
});
|
|
27077
|
-
const y = /* @__PURE__ */ n((
|
|
27078
|
-
d || b(), a && a(
|
|
27083
|
+
const y = /* @__PURE__ */ n((P) => {
|
|
27084
|
+
d || b(), a && a(P);
|
|
27079
27085
|
}, "handleChange");
|
|
27080
27086
|
return /* @__PURE__ */ H(T.Fragment, {
|
|
27081
27087
|
children: [/* @__PURE__ */ f("textarea", O({
|
|
@@ -27369,9 +27375,9 @@ const uo = de("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
|
|
|
27369
27375
|
endAdornment: v,
|
|
27370
27376
|
fullWidth: b = !1,
|
|
27371
27377
|
id: y,
|
|
27372
|
-
inputComponent:
|
|
27378
|
+
inputComponent: P = "input",
|
|
27373
27379
|
inputProps: E = {},
|
|
27374
|
-
inputRef:
|
|
27380
|
+
inputRef: C,
|
|
27375
27381
|
maxRows: S,
|
|
27376
27382
|
minRows: x,
|
|
27377
27383
|
multiline: w = !1,
|
|
@@ -27380,11 +27386,11 @@ const uo = de("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
|
|
|
27380
27386
|
onChange: R,
|
|
27381
27387
|
onClick: k,
|
|
27382
27388
|
onFocus: L,
|
|
27383
|
-
onKeyDown:
|
|
27389
|
+
onKeyDown: N,
|
|
27384
27390
|
onKeyUp: A,
|
|
27385
27391
|
placeholder: I,
|
|
27386
27392
|
readOnly: _,
|
|
27387
|
-
renderSuffix:
|
|
27393
|
+
renderSuffix: D,
|
|
27388
27394
|
rows: B,
|
|
27389
27395
|
slotProps: M = {},
|
|
27390
27396
|
slots: U = {},
|
|
@@ -27396,7 +27402,7 @@ const uo = de("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
|
|
|
27396
27402
|
} = T.useRef(J != null), ne = T.useRef(), ve = T.useCallback((ge) => {
|
|
27397
27403
|
process.env.NODE_ENV !== "production" && ge && ge.nodeName !== "INPUT" && !ge.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(`
|
|
27398
27404
|
`));
|
|
27399
|
-
}, []), se = lt(ne,
|
|
27405
|
+
}, []), se = lt(ne, C, E.ref, ve), [ue, xe] = T.useState(!1), X = To();
|
|
27400
27406
|
process.env.NODE_ENV !== "production" && T.useEffect(() => {
|
|
27401
27407
|
if (X)
|
|
27402
27408
|
return X.registerEffect();
|
|
@@ -27442,7 +27448,7 @@ const uo = de("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
|
|
|
27442
27448
|
const ze = /* @__PURE__ */ n((ge) => {
|
|
27443
27449
|
ne.current && ge.currentTarget === ge.target && ne.current.focus(), k && k(ge);
|
|
27444
27450
|
}, "handleClick");
|
|
27445
|
-
let G =
|
|
27451
|
+
let G = P, ae = E;
|
|
27446
27452
|
w && G === "input" && (B ? (process.env.NODE_ENV !== "production" && (x || S) && console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."), ae = O({
|
|
27447
27453
|
type: void 0,
|
|
27448
27454
|
minRows: B,
|
|
@@ -27500,7 +27506,7 @@ const uo = de("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
|
|
|
27500
27506
|
required: z.required,
|
|
27501
27507
|
rows: B,
|
|
27502
27508
|
value: J,
|
|
27503
|
-
onKeyDown:
|
|
27509
|
+
onKeyDown: N,
|
|
27504
27510
|
onKeyUp: A,
|
|
27505
27511
|
type: ce
|
|
27506
27512
|
}, ae, !ta(et) && {
|
|
@@ -27513,7 +27519,7 @@ const uo = de("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
|
|
|
27513
27519
|
onChange: ye,
|
|
27514
27520
|
onFocus: Fe
|
|
27515
27521
|
}))
|
|
27516
|
-
}), v,
|
|
27522
|
+
}), v, D ? D(O({}, z, {
|
|
27517
27523
|
startAdornment: te
|
|
27518
27524
|
})) : null]
|
|
27519
27525
|
}))]
|
|
@@ -27855,7 +27861,7 @@ const Lo = O({}, uo, de("MuiInput", ["root", "underline", "input"])), lk = ["dis
|
|
|
27855
27861
|
slotProps: v,
|
|
27856
27862
|
slots: b = {},
|
|
27857
27863
|
type: y = "text"
|
|
27858
|
-
} = c,
|
|
27864
|
+
} = c, P = K(c, lk), E = sk(c), S = {
|
|
27859
27865
|
root: {
|
|
27860
27866
|
ownerState: {
|
|
27861
27867
|
disableUnderline: u
|
|
@@ -27873,7 +27879,7 @@ const Lo = O({}, uo, de("MuiInput", ["root", "underline", "input"])), lk = ["dis
|
|
|
27873
27879
|
multiline: g,
|
|
27874
27880
|
ref: r,
|
|
27875
27881
|
type: y
|
|
27876
|
-
},
|
|
27882
|
+
}, P, {
|
|
27877
27883
|
classes: E
|
|
27878
27884
|
}));
|
|
27879
27885
|
}, "Input"));
|
|
@@ -28243,19 +28249,19 @@ const Tr = O({}, uo, de("MuiFilledInput", ["root", "underline", "input"])), pk =
|
|
|
28243
28249
|
slotProps: g,
|
|
28244
28250
|
slots: v = {},
|
|
28245
28251
|
type: b = "text"
|
|
28246
|
-
} = c, y = K(c, pk),
|
|
28252
|
+
} = c, y = K(c, pk), P = O({}, c, {
|
|
28247
28253
|
fullWidth: p,
|
|
28248
28254
|
inputComponent: h,
|
|
28249
28255
|
multiline: m,
|
|
28250
28256
|
type: b
|
|
28251
|
-
}), E = fk(c),
|
|
28257
|
+
}), E = fk(c), C = {
|
|
28252
28258
|
root: {
|
|
28253
|
-
ownerState:
|
|
28259
|
+
ownerState: P
|
|
28254
28260
|
},
|
|
28255
28261
|
input: {
|
|
28256
|
-
ownerState:
|
|
28262
|
+
ownerState: P
|
|
28257
28263
|
}
|
|
28258
|
-
}, S = g ?? d ? st(
|
|
28264
|
+
}, S = g ?? d ? st(C, g ?? d) : C, x = (a = (i = v.root) != null ? i : u.Root) != null ? a : mk, w = (l = (s = v.input) != null ? s : u.Input) != null ? l : hk;
|
|
28259
28265
|
return /* @__PURE__ */ f(Is, O({
|
|
28260
28266
|
slots: {
|
|
28261
28267
|
root: x,
|
|
@@ -28700,16 +28706,16 @@ const fr = O({}, uo, de("MuiOutlinedInput", ["root", "notchedOutline", "input"])
|
|
|
28700
28706
|
notched: v,
|
|
28701
28707
|
slots: b = {},
|
|
28702
28708
|
type: y = "text"
|
|
28703
|
-
} = u,
|
|
28709
|
+
} = u, P = K(u, Ok), E = xk(u), C = To(), S = So({
|
|
28704
28710
|
props: u,
|
|
28705
|
-
muiFormControl:
|
|
28711
|
+
muiFormControl: C,
|
|
28706
28712
|
states: ["color", "disabled", "error", "focused", "hiddenLabel", "size", "required"]
|
|
28707
28713
|
}), x = O({}, u, {
|
|
28708
28714
|
color: S.color || "primary",
|
|
28709
28715
|
disabled: S.disabled,
|
|
28710
28716
|
error: S.error,
|
|
28711
28717
|
focused: S.focused,
|
|
28712
|
-
formControl:
|
|
28718
|
+
formControl: C,
|
|
28713
28719
|
fullWidth: p,
|
|
28714
28720
|
hiddenLabel: S.hiddenLabel,
|
|
28715
28721
|
multiline: g,
|
|
@@ -28734,7 +28740,7 @@ const fr = O({}, uo, de("MuiOutlinedInput", ["root", "notchedOutline", "input"])
|
|
|
28734
28740
|
multiline: g,
|
|
28735
28741
|
ref: r,
|
|
28736
28742
|
type: y
|
|
28737
|
-
},
|
|
28743
|
+
}, P, {
|
|
28738
28744
|
classes: O({}, E, {
|
|
28739
28745
|
notchedOutline: null
|
|
28740
28746
|
})
|
|
@@ -29297,7 +29303,7 @@ const Ak = ["children", "className", "color", "component", "disabled", "error",
|
|
|
29297
29303
|
required: v = !1,
|
|
29298
29304
|
size: b = "medium",
|
|
29299
29305
|
variant: y = "outlined"
|
|
29300
|
-
} = a,
|
|
29306
|
+
} = a, P = K(a, Ak), E = O({}, a, {
|
|
29301
29307
|
color: s,
|
|
29302
29308
|
component: c,
|
|
29303
29309
|
disabled: u,
|
|
@@ -29308,7 +29314,7 @@ const Ak = ["children", "className", "color", "component", "disabled", "error",
|
|
|
29308
29314
|
required: v,
|
|
29309
29315
|
size: b,
|
|
29310
29316
|
variant: y
|
|
29311
|
-
}),
|
|
29317
|
+
}), C = Nk(E), [S, x] = T.useState(() => {
|
|
29312
29318
|
let A = !1;
|
|
29313
29319
|
return i && T.Children.forEach(i, (I) => {
|
|
29314
29320
|
if (!Vn(I, ["Input", "Select"]))
|
|
@@ -29332,7 +29338,7 @@ const Ak = ["children", "className", "color", "component", "disabled", "error",
|
|
|
29332
29338
|
A.current = !1;
|
|
29333
29339
|
}), "registerEffect");
|
|
29334
29340
|
}
|
|
29335
|
-
const
|
|
29341
|
+
const N = T.useMemo(() => ({
|
|
29336
29342
|
adornedStart: S,
|
|
29337
29343
|
setAdornedStart: x,
|
|
29338
29344
|
color: s,
|
|
@@ -29360,13 +29366,13 @@ const Ak = ["children", "className", "color", "component", "disabled", "error",
|
|
|
29360
29366
|
variant: y
|
|
29361
29367
|
}), [S, s, u, d, w, k, h, m, L, v, b, y]);
|
|
29362
29368
|
return /* @__PURE__ */ f(Ga.Provider, {
|
|
29363
|
-
value:
|
|
29369
|
+
value: N,
|
|
29364
29370
|
children: /* @__PURE__ */ f(Dk, O({
|
|
29365
29371
|
as: c,
|
|
29366
29372
|
ownerState: E,
|
|
29367
|
-
className: Q(
|
|
29373
|
+
className: Q(C.root, l),
|
|
29368
29374
|
ref: r
|
|
29369
|
-
},
|
|
29375
|
+
}, P, {
|
|
29370
29376
|
children: i
|
|
29371
29377
|
}))
|
|
29372
29378
|
});
|
|
@@ -29894,9 +29900,9 @@ const Jk = /* @__PURE__ */ n((e) => {
|
|
|
29894
29900
|
error: v = !1,
|
|
29895
29901
|
IconComponent: b,
|
|
29896
29902
|
inputRef: y,
|
|
29897
|
-
labelId:
|
|
29903
|
+
labelId: P,
|
|
29898
29904
|
MenuProps: E = {},
|
|
29899
|
-
multiple:
|
|
29905
|
+
multiple: C,
|
|
29900
29906
|
name: S,
|
|
29901
29907
|
onBlur: x,
|
|
29902
29908
|
onChange: w,
|
|
@@ -29905,11 +29911,11 @@ const Jk = /* @__PURE__ */ n((e) => {
|
|
|
29905
29911
|
onOpen: R,
|
|
29906
29912
|
open: k,
|
|
29907
29913
|
readOnly: L,
|
|
29908
|
-
renderValue:
|
|
29914
|
+
renderValue: N,
|
|
29909
29915
|
SelectDisplayProps: A = {},
|
|
29910
29916
|
tabIndex: I,
|
|
29911
29917
|
value: _,
|
|
29912
|
-
variant:
|
|
29918
|
+
variant: D = "standard"
|
|
29913
29919
|
} = t, B = K(t, Kk), [M, U] = Zn({
|
|
29914
29920
|
controlled: _,
|
|
29915
29921
|
default: h,
|
|
@@ -29934,9 +29940,9 @@ const Jk = /* @__PURE__ */ n((e) => {
|
|
|
29934
29940
|
}, [J, c]), T.useEffect(() => {
|
|
29935
29941
|
s && le.current.focus();
|
|
29936
29942
|
}, [s]), T.useEffect(() => {
|
|
29937
|
-
if (!
|
|
29943
|
+
if (!P)
|
|
29938
29944
|
return;
|
|
29939
|
-
const ee = br(le.current).getElementById(
|
|
29945
|
+
const ee = br(le.current).getElementById(P);
|
|
29940
29946
|
if (ee) {
|
|
29941
29947
|
const V = /* @__PURE__ */ n(() => {
|
|
29942
29948
|
getSelection().isCollapsed && le.current.focus();
|
|
@@ -29945,7 +29951,7 @@ const Jk = /* @__PURE__ */ n((e) => {
|
|
|
29945
29951
|
ee.removeEventListener("click", V);
|
|
29946
29952
|
};
|
|
29947
29953
|
}
|
|
29948
|
-
}, [
|
|
29954
|
+
}, [P]);
|
|
29949
29955
|
const z = /* @__PURE__ */ n((ee, V) => {
|
|
29950
29956
|
ee ? R && R(V) : F && F(V), ne || (se(c ? null : X.clientWidth), ce(ee));
|
|
29951
29957
|
}, "update"), q = /* @__PURE__ */ n((ee) => {
|
|
@@ -29958,7 +29964,7 @@ const Jk = /* @__PURE__ */ n((e) => {
|
|
|
29958
29964
|
}, "handleChange"), Ee = /* @__PURE__ */ n((ee) => (V) => {
|
|
29959
29965
|
let Y;
|
|
29960
29966
|
if (V.currentTarget.hasAttribute("tabindex")) {
|
|
29961
|
-
if (
|
|
29967
|
+
if (C) {
|
|
29962
29968
|
Y = Array.isArray(M) ? M.slice() : [];
|
|
29963
29969
|
const me = M.indexOf(ee.props.value);
|
|
29964
29970
|
me === -1 ? Y.push(ee.props.value) : Y.splice(me, 1);
|
|
@@ -29974,7 +29980,7 @@ const Jk = /* @__PURE__ */ n((e) => {
|
|
|
29974
29980
|
}
|
|
29975
29981
|
}), w(Se, ee);
|
|
29976
29982
|
}
|
|
29977
|
-
|
|
29983
|
+
C || z(!1, V);
|
|
29978
29984
|
}
|
|
29979
29985
|
}, "handleItemClick"), ye = /* @__PURE__ */ n((ee) => {
|
|
29980
29986
|
L || [
|
|
@@ -30000,14 +30006,14 @@ const Jk = /* @__PURE__ */ n((e) => {
|
|
|
30000
30006
|
let Te = !1, De = !1;
|
|
30001
30007
|
(sa({
|
|
30002
30008
|
value: M
|
|
30003
|
-
}) || g) && (
|
|
30009
|
+
}) || g) && (N ? ae = N(M) : Te = !0);
|
|
30004
30010
|
const Ye = oe.map((ee) => {
|
|
30005
30011
|
if (!/* @__PURE__ */ T.isValidElement(ee))
|
|
30006
30012
|
return null;
|
|
30007
30013
|
process.env.NODE_ENV !== "production" && eo.isFragment(ee) && console.error(["MUI: The Select component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
|
|
30008
30014
|
`));
|
|
30009
30015
|
let V;
|
|
30010
|
-
if (
|
|
30016
|
+
if (C) {
|
|
30011
30017
|
if (!Array.isArray(M))
|
|
30012
30018
|
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: The `value` prop must be an array when using the `Select` component with `multiple`." : ar(2));
|
|
30013
30019
|
V = M.some((Y) => _u(Y, ee.props.value)), V && Te && Re.push(ee.props.children);
|
|
@@ -30028,18 +30034,18 @@ const Jk = /* @__PURE__ */ n((e) => {
|
|
|
30028
30034
|
});
|
|
30029
30035
|
});
|
|
30030
30036
|
process.env.NODE_ENV !== "production" && T.useEffect(() => {
|
|
30031
|
-
if (!De && !
|
|
30037
|
+
if (!De && !C && M !== "") {
|
|
30032
30038
|
const ee = oe.map((V) => V.props.value);
|
|
30033
30039
|
console.warn([`MUI: You have provided an out-of-range value \`${M}\` for the select ${S ? `(name="${S}") ` : ""}component.`, "Consider providing a value that matches one of the available options or ''.", `The available values are ${ee.filter((V) => V != null).map((V) => `\`${V}\``).join(", ") || '""'}.`].join(`
|
|
30034
30040
|
`));
|
|
30035
30041
|
}
|
|
30036
|
-
}, [De, oe,
|
|
30042
|
+
}, [De, oe, C, S, M]), Te && (C ? Re.length === 0 ? ae = null : ae = Re.reduce((ee, V, Y) => (ee.push(V), Y < Re.length - 1 && ee.push(", "), ee), []) : ae = we);
|
|
30037
30043
|
let et = ve;
|
|
30038
30044
|
!c && ne && J && (et = X.clientWidth);
|
|
30039
30045
|
let ge;
|
|
30040
30046
|
typeof I < "u" ? ge = I : ge = m ? null : 0;
|
|
30041
30047
|
const re = A.id || (S ? `mui-component-select-${S}` : void 0), Ve = O({}, t, {
|
|
30042
|
-
variant:
|
|
30048
|
+
variant: D,
|
|
30043
30049
|
value: M,
|
|
30044
30050
|
open: ze,
|
|
30045
30051
|
error: v
|
|
@@ -30054,7 +30060,7 @@ const Jk = /* @__PURE__ */ n((e) => {
|
|
|
30054
30060
|
"aria-expanded": ze ? "true" : "false",
|
|
30055
30061
|
"aria-haspopup": "listbox",
|
|
30056
30062
|
"aria-label": l,
|
|
30057
|
-
"aria-labelledby": [
|
|
30063
|
+
"aria-labelledby": [P, re].filter(Boolean).join(" ") || void 0,
|
|
30058
30064
|
"aria-describedby": i,
|
|
30059
30065
|
onKeyDown: ye,
|
|
30060
30066
|
onMouseDown: m || L ? null : q,
|
|
@@ -30102,9 +30108,9 @@ const Jk = /* @__PURE__ */ n((e) => {
|
|
|
30102
30108
|
}
|
|
30103
30109
|
}, E, {
|
|
30104
30110
|
MenuListProps: O({
|
|
30105
|
-
"aria-labelledby":
|
|
30111
|
+
"aria-labelledby": P,
|
|
30106
30112
|
role: "listbox",
|
|
30107
|
-
"aria-multiselectable":
|
|
30113
|
+
"aria-multiselectable": C ? "true" : void 0,
|
|
30108
30114
|
disableListWrap: !0,
|
|
30109
30115
|
id: Ht
|
|
30110
30116
|
}, E.MenuListProps),
|
|
@@ -30293,22 +30299,22 @@ const eM = un(/* @__PURE__ */ f("path", {
|
|
|
30293
30299
|
label: v,
|
|
30294
30300
|
labelId: b,
|
|
30295
30301
|
MenuProps: y,
|
|
30296
|
-
multiple:
|
|
30302
|
+
multiple: P = !1,
|
|
30297
30303
|
native: E = !1,
|
|
30298
|
-
onClose:
|
|
30304
|
+
onClose: C,
|
|
30299
30305
|
onOpen: S,
|
|
30300
30306
|
open: x,
|
|
30301
30307
|
renderValue: w,
|
|
30302
30308
|
SelectDisplayProps: F,
|
|
30303
30309
|
variant: $ = "outlined"
|
|
30304
|
-
} = a, R = K(a, tM), k = E ? em : tm, L = To(),
|
|
30310
|
+
} = a, R = K(a, tM), k = E ? em : tm, L = To(), N = So({
|
|
30305
30311
|
props: a,
|
|
30306
30312
|
muiFormControl: L,
|
|
30307
30313
|
states: ["variant", "error"]
|
|
30308
|
-
}), A =
|
|
30314
|
+
}), A = N.variant || $, I = O({}, a, {
|
|
30309
30315
|
variant: A,
|
|
30310
30316
|
classes: s
|
|
30311
|
-
}), _ = oM(I),
|
|
30317
|
+
}), _ = oM(I), D = K(_, rM), B = m || {
|
|
30312
30318
|
standard: /* @__PURE__ */ f(nM, {
|
|
30313
30319
|
ownerState: I
|
|
30314
30320
|
}),
|
|
@@ -30327,12 +30333,12 @@ const eM = un(/* @__PURE__ */ f("path", {
|
|
|
30327
30333
|
inputComponent: k,
|
|
30328
30334
|
inputProps: O({
|
|
30329
30335
|
children: l,
|
|
30330
|
-
error:
|
|
30336
|
+
error: N.error,
|
|
30331
30337
|
IconComponent: p,
|
|
30332
30338
|
variant: A,
|
|
30333
30339
|
type: void 0,
|
|
30334
30340
|
// We render a select. We can ignore the type provided by the `Input`.
|
|
30335
|
-
multiple:
|
|
30341
|
+
multiple: P
|
|
30336
30342
|
}, E ? {
|
|
30337
30343
|
id: h
|
|
30338
30344
|
} : {
|
|
@@ -30341,7 +30347,7 @@ const eM = un(/* @__PURE__ */ f("path", {
|
|
|
30341
30347
|
displayEmpty: d,
|
|
30342
30348
|
labelId: b,
|
|
30343
30349
|
MenuProps: y,
|
|
30344
|
-
onClose:
|
|
30350
|
+
onClose: C,
|
|
30345
30351
|
onOpen: S,
|
|
30346
30352
|
open: x,
|
|
30347
30353
|
renderValue: w,
|
|
@@ -30349,9 +30355,9 @@ const eM = un(/* @__PURE__ */ f("path", {
|
|
|
30349
30355
|
id: h
|
|
30350
30356
|
}, F)
|
|
30351
30357
|
}, g, {
|
|
30352
|
-
classes: g ? st(
|
|
30358
|
+
classes: g ? st(D, g.classes) : D
|
|
30353
30359
|
}, m ? m.props.inputProps : {})
|
|
30354
|
-
}, (
|
|
30360
|
+
}, (P && E || d) && A === "outlined" ? {
|
|
30355
30361
|
notched: !0
|
|
30356
30362
|
} : {}, {
|
|
30357
30363
|
ref: M,
|
|
@@ -30547,9 +30553,9 @@ const sM = ["autoComplete", "autoFocus", "children", "className", "color", "defa
|
|
|
30547
30553
|
helperText: v,
|
|
30548
30554
|
id: b,
|
|
30549
30555
|
InputLabelProps: y,
|
|
30550
|
-
inputProps:
|
|
30556
|
+
inputProps: P,
|
|
30551
30557
|
InputProps: E,
|
|
30552
|
-
inputRef:
|
|
30558
|
+
inputRef: C,
|
|
30553
30559
|
label: S,
|
|
30554
30560
|
maxRows: x,
|
|
30555
30561
|
minRows: w,
|
|
@@ -30558,11 +30564,11 @@ const sM = ["autoComplete", "autoFocus", "children", "className", "color", "defa
|
|
|
30558
30564
|
onBlur: R,
|
|
30559
30565
|
onChange: k,
|
|
30560
30566
|
onFocus: L,
|
|
30561
|
-
placeholder:
|
|
30567
|
+
placeholder: N,
|
|
30562
30568
|
required: A = !1,
|
|
30563
30569
|
rows: I,
|
|
30564
30570
|
select: _ = !1,
|
|
30565
|
-
SelectProps:
|
|
30571
|
+
SelectProps: D,
|
|
30566
30572
|
type: B,
|
|
30567
30573
|
value: M,
|
|
30568
30574
|
variant: U = "outlined"
|
|
@@ -30579,7 +30585,7 @@ const sM = ["autoComplete", "autoFocus", "children", "className", "color", "defa
|
|
|
30579
30585
|
}), pe = uM(ce);
|
|
30580
30586
|
process.env.NODE_ENV !== "production" && _ && !s && console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");
|
|
30581
30587
|
const le = {};
|
|
30582
|
-
U === "outlined" && (y && typeof y.shrink < "u" && (le.notched = y.shrink), le.label = S), _ && ((!
|
|
30588
|
+
U === "outlined" && (y && typeof y.shrink < "u" && (le.notched = y.shrink), le.label = S), _ && ((!D || !D.native) && (le.id = void 0), le["aria-describedby"] = void 0);
|
|
30583
30589
|
const J = pn(b), ie = v && J ? `${J}-helper-text` : void 0, ne = S && J ? `${J}-label` : void 0, ve = cM[U], se = /* @__PURE__ */ f(ve, O({
|
|
30584
30590
|
"aria-describedby": ie,
|
|
30585
30591
|
autoComplete: i,
|
|
@@ -30594,12 +30600,12 @@ const sM = ["autoComplete", "autoFocus", "children", "className", "color", "defa
|
|
|
30594
30600
|
type: B,
|
|
30595
30601
|
value: M,
|
|
30596
30602
|
id: J,
|
|
30597
|
-
inputRef:
|
|
30603
|
+
inputRef: C,
|
|
30598
30604
|
onBlur: R,
|
|
30599
30605
|
onChange: k,
|
|
30600
30606
|
onFocus: L,
|
|
30601
|
-
placeholder:
|
|
30602
|
-
inputProps:
|
|
30607
|
+
placeholder: N,
|
|
30608
|
+
inputProps: P
|
|
30603
30609
|
}, le, E));
|
|
30604
30610
|
return /* @__PURE__ */ H(dM, O({
|
|
30605
30611
|
className: Q(pe.root, c),
|
|
@@ -30623,7 +30629,7 @@ const sM = ["autoComplete", "autoFocus", "children", "className", "color", "defa
|
|
|
30623
30629
|
labelId: ne,
|
|
30624
30630
|
value: M,
|
|
30625
30631
|
input: se
|
|
30626
|
-
},
|
|
30632
|
+
}, D, {
|
|
30627
30633
|
children: s
|
|
30628
30634
|
})) : se, v && /* @__PURE__ */ f(Xf, O({
|
|
30629
30635
|
id: ie
|
|
@@ -30826,9 +30832,9 @@ const rm = /* @__PURE__ */ n((e) => {
|
|
|
30826
30832
|
isEqual: v,
|
|
30827
30833
|
isRequired: b,
|
|
30828
30834
|
label: y,
|
|
30829
|
-
limitChoicesToValue:
|
|
30835
|
+
limitChoicesToValue: P,
|
|
30830
30836
|
locale: E,
|
|
30831
|
-
meta:
|
|
30837
|
+
meta: C,
|
|
30832
30838
|
multiple: S,
|
|
30833
30839
|
name: x,
|
|
30834
30840
|
options: w,
|
|
@@ -30837,11 +30843,11 @@ const rm = /* @__PURE__ */ n((e) => {
|
|
|
30837
30843
|
parse: R,
|
|
30838
30844
|
record: k,
|
|
30839
30845
|
ref: L,
|
|
30840
|
-
refetch:
|
|
30846
|
+
refetch: N,
|
|
30841
30847
|
render: A,
|
|
30842
30848
|
resource: I,
|
|
30843
30849
|
setFilter: _,
|
|
30844
|
-
setPagination:
|
|
30850
|
+
setPagination: D,
|
|
30845
30851
|
setSort: B,
|
|
30846
30852
|
shouldUnregister: M,
|
|
30847
30853
|
source: U,
|
|
@@ -30872,9 +30878,9 @@ const rm = /* @__PURE__ */ n((e) => {
|
|
|
30872
30878
|
disabled: v,
|
|
30873
30879
|
readOnly: b,
|
|
30874
30880
|
sx: y,
|
|
30875
|
-
...
|
|
30881
|
+
...P
|
|
30876
30882
|
}) => {
|
|
30877
|
-
const { field: E, fieldState:
|
|
30883
|
+
const { field: E, fieldState: C, id: S, isRequired: x } = rl({
|
|
30878
30884
|
defaultValue: t,
|
|
30879
30885
|
name: i,
|
|
30880
30886
|
format: r,
|
|
@@ -30886,8 +30892,8 @@ const rm = /* @__PURE__ */ n((e) => {
|
|
|
30886
30892
|
validate: m,
|
|
30887
30893
|
disabled: v,
|
|
30888
30894
|
readOnly: b,
|
|
30889
|
-
...
|
|
30890
|
-
}), { error: w, invalid: F } =
|
|
30895
|
+
...P
|
|
30896
|
+
}), { error: w, invalid: F } = C, $ = c !== !1 || F;
|
|
30891
30897
|
return /* @__PURE__ */ f(
|
|
30892
30898
|
_s,
|
|
30893
30899
|
{
|
|
@@ -30919,7 +30925,7 @@ const rm = /* @__PURE__ */ n((e) => {
|
|
|
30919
30925
|
),
|
|
30920
30926
|
InputLabelProps: hM,
|
|
30921
30927
|
sx: { ...y, mt: 1 },
|
|
30922
|
-
...om(
|
|
30928
|
+
...om(P)
|
|
30923
30929
|
}
|
|
30924
30930
|
);
|
|
30925
30931
|
}, "DateInput"), ju = /* @__PURE__ */ n((e) => {
|
|
@@ -30945,7 +30951,7 @@ const rm = /* @__PURE__ */ n((e) => {
|
|
|
30945
30951
|
sx: b,
|
|
30946
30952
|
...y
|
|
30947
30953
|
}) => {
|
|
30948
|
-
const { field:
|
|
30954
|
+
const { field: P, fieldState: E, id: C, isRequired: S } = rl({
|
|
30949
30955
|
defaultValue: t,
|
|
30950
30956
|
format: r,
|
|
30951
30957
|
parse: p,
|
|
@@ -30961,8 +30967,8 @@ const rm = /* @__PURE__ */ n((e) => {
|
|
|
30961
30967
|
return /* @__PURE__ */ f(
|
|
30962
30968
|
_s,
|
|
30963
30969
|
{
|
|
30964
|
-
id:
|
|
30965
|
-
...
|
|
30970
|
+
id: C,
|
|
30971
|
+
...P,
|
|
30966
30972
|
className: Q("ra-input", `ra-input-${u}`, e),
|
|
30967
30973
|
type: "datetime-local",
|
|
30968
30974
|
size: "small",
|