biblio-react 2.0.20 → 2.0.22
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 +335 -328
- package/dist/index.js.map +1 -1
- package/package.json +9 -9
package/dist/index.js
CHANGED
|
@@ -180,14 +180,14 @@ var Oe = {};
|
|
|
180
180
|
var us;
|
|
181
181
|
function Mm() {
|
|
182
182
|
return us || (us = 1, process.env.NODE_ENV !== "production" && function() {
|
|
183
|
-
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), l = Symbol.for("react.context"), s = Symbol.for("react.server_context"), c = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), v = !1, g = !1, b = !1, O = !1, C = !1,
|
|
184
|
-
|
|
185
|
-
function
|
|
183
|
+
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), l = Symbol.for("react.context"), s = Symbol.for("react.server_context"), c = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), v = !1, g = !1, b = !1, O = !1, C = !1, T;
|
|
184
|
+
T = Symbol.for("react.module.reference");
|
|
185
|
+
function E(I) {
|
|
186
186
|
return !!(typeof I == "string" || typeof I == "function" || I === r || I === a || C || I === o || I === u || I === d || O || I === h || v || g || b || typeof I == "object" && I !== null && (I.$$typeof === f || I.$$typeof === m || I.$$typeof === i || I.$$typeof === l || I.$$typeof === c || // This needs to include all possible module reference object
|
|
187
187
|
// types supported by any Flight configuration anywhere since
|
|
188
188
|
// we don't know which Flight build this will end up being used
|
|
189
189
|
// with.
|
|
190
|
-
I.$$typeof ===
|
|
190
|
+
I.$$typeof === T || I.getModuleId !== void 0));
|
|
191
191
|
}
|
|
192
192
|
function y(I) {
|
|
193
193
|
if (typeof I == "object" && I !== null) {
|
|
@@ -264,7 +264,7 @@ function Mm() {
|
|
|
264
264
|
function Z(I) {
|
|
265
265
|
return y(I) === d;
|
|
266
266
|
}
|
|
267
|
-
Oe.ContextConsumer = F, Oe.ContextProvider = P, Oe.Element = $, Oe.ForwardRef = w, Oe.Fragment = R, Oe.Lazy = k, Oe.Memo = D, Oe.Portal = L, Oe.Profiler = N, Oe.StrictMode = _, Oe.Suspense = A, Oe.SuspenseList = j, Oe.isAsyncMode = J, Oe.isConcurrentMode = Y, Oe.isContextConsumer = re, Oe.isContextProvider = Te, Oe.isElement = oe, Oe.isForwardRef = ee, Oe.isFragment = ne, Oe.isLazy = ce, Oe.isMemo = ie, Oe.isPortal = U, Oe.isProfiler = ve, Oe.isStrictMode = Pe, Oe.isSuspense = B, Oe.isSuspenseList = Z, Oe.isValidElementType =
|
|
267
|
+
Oe.ContextConsumer = F, Oe.ContextProvider = P, Oe.Element = $, Oe.ForwardRef = w, Oe.Fragment = R, Oe.Lazy = k, Oe.Memo = D, Oe.Portal = L, Oe.Profiler = N, Oe.StrictMode = _, Oe.Suspense = A, Oe.SuspenseList = j, Oe.isAsyncMode = J, Oe.isConcurrentMode = Y, Oe.isContextConsumer = re, Oe.isContextProvider = Te, Oe.isElement = oe, Oe.isForwardRef = ee, Oe.isFragment = ne, Oe.isLazy = ce, Oe.isMemo = ie, Oe.isPortal = U, Oe.isProfiler = ve, Oe.isStrictMode = Pe, Oe.isSuspense = B, Oe.isSuspenseList = Z, Oe.isValidElementType = E, Oe.typeOf = y;
|
|
268
268
|
}()), Oe;
|
|
269
269
|
}
|
|
270
270
|
process.env.NODE_ENV === "production" ? Wa.exports = Rm() : Wa.exports = Mm();
|
|
@@ -1475,7 +1475,7 @@ function Xh(e) {
|
|
|
1475
1475
|
return ku(Sn("", null, null, null, [""], e = Mu(e), 0, [0], e));
|
|
1476
1476
|
}
|
|
1477
1477
|
function Sn(e, t, r, o, a, i, l, s, c) {
|
|
1478
|
-
for (var u = 0, d = 0, m = l, f = 0, h = 0, v = 0, g = 1, b = 1, O = 1, C = 0,
|
|
1478
|
+
for (var u = 0, d = 0, m = l, f = 0, h = 0, v = 0, g = 1, b = 1, O = 1, C = 0, T = "", E = a, y = i, F = o, P = T; b; )
|
|
1479
1479
|
switch (v = C, C = ct()) {
|
|
1480
1480
|
case 40:
|
|
1481
1481
|
if (v != 108 && Ke(P, m - 1) == 58) {
|
|
@@ -1521,22 +1521,22 @@ function Sn(e, t, r, o, a, i, l, s, c) {
|
|
|
1521
1521
|
case 59:
|
|
1522
1522
|
P += ";";
|
|
1523
1523
|
default:
|
|
1524
|
-
if (cn(F = hs(P, t, r, u, d, a, s,
|
|
1524
|
+
if (cn(F = hs(P, t, r, u, d, a, s, T, E = [], y = [], m), i), C === 123)
|
|
1525
1525
|
if (d === 0)
|
|
1526
|
-
Sn(P, t, F, F,
|
|
1526
|
+
Sn(P, t, F, F, E, i, m, s, y);
|
|
1527
1527
|
else
|
|
1528
1528
|
switch (f === 99 && Ke(P, 3) === 110 ? 100 : f) {
|
|
1529
1529
|
case 100:
|
|
1530
1530
|
case 108:
|
|
1531
1531
|
case 109:
|
|
1532
1532
|
case 115:
|
|
1533
|
-
Sn(e, F, F, o && cn(hs(e, F, F, 0, 0, a, s,
|
|
1533
|
+
Sn(e, F, F, o && cn(hs(e, F, F, 0, 0, a, s, T, a, E = [], m), y), a, y, m, s, o ? E : y);
|
|
1534
1534
|
break;
|
|
1535
1535
|
default:
|
|
1536
1536
|
Sn(P, F, F, F, [""], y, 0, s, y);
|
|
1537
1537
|
}
|
|
1538
1538
|
}
|
|
1539
|
-
u = d = h = 0, g = O = 1,
|
|
1539
|
+
u = d = h = 0, g = O = 1, T = P = "", m = l;
|
|
1540
1540
|
break;
|
|
1541
1541
|
case 58:
|
|
1542
1542
|
m = 1 + It(P), h = v;
|
|
@@ -1555,7 +1555,7 @@ function Sn(e, t, r, o, a, i, l, s, c) {
|
|
|
1555
1555
|
s[u++] = (It(P) - 1) * O, O = 1;
|
|
1556
1556
|
break;
|
|
1557
1557
|
case 64:
|
|
1558
|
-
Bt() === 45 && (P += xn(ct())), f = Bt(), d = m = It(
|
|
1558
|
+
Bt() === 45 && (P += xn(ct())), f = Bt(), d = m = It(T = P += Qh(On())), C++;
|
|
1559
1559
|
break;
|
|
1560
1560
|
case 45:
|
|
1561
1561
|
v === 45 && It(P) == 2 && (g = 0);
|
|
@@ -1565,8 +1565,8 @@ function Sn(e, t, r, o, a, i, l, s, c) {
|
|
|
1565
1565
|
}
|
|
1566
1566
|
function hs(e, t, r, o, a, i, l, s, c, u, d) {
|
|
1567
1567
|
for (var m = a - 1, f = a === 0 ? i : [""], h = Ii(f), v = 0, g = 0, b = 0; v < o; ++v)
|
|
1568
|
-
for (var O = 0, C = ko(e, m + 1, m = Vh(g = l[v])),
|
|
1569
|
-
(
|
|
1568
|
+
for (var O = 0, C = ko(e, m + 1, m = Vh(g = l[v])), T = e; O < h; ++O)
|
|
1569
|
+
(T = wu(g > 0 ? f[O] + " " + C : be(C, /&\f/g, f[O]))) && (c[b++] = T);
|
|
1570
1570
|
return ra(e, t, r, a === 0 ? Li : s, c, u, d);
|
|
1571
1571
|
}
|
|
1572
1572
|
function Zh(e, t, r) {
|
|
@@ -1873,12 +1873,12 @@ If multiple caches share the same key they might "fight" for each other's style
|
|
|
1873
1873
|
})], f = eg(u.concat(a, m)), h = function(b) {
|
|
1874
1874
|
return zr(Xh(b), f);
|
|
1875
1875
|
};
|
|
1876
|
-
c = function(b, O, C,
|
|
1876
|
+
c = function(b, O, C, T) {
|
|
1877
1877
|
d = C, process.env.NODE_ENV !== "production" && O.map !== void 0 && (d = {
|
|
1878
1878
|
insert: function(y) {
|
|
1879
1879
|
C.insert(y + O.map);
|
|
1880
1880
|
}
|
|
1881
|
-
}), h(b ? b + "{" + O.styles + "}" : O.styles),
|
|
1881
|
+
}), h(b ? b + "{" + O.styles + "}" : O.styles), T && (v.inserted[O.name] = !0);
|
|
1882
1882
|
};
|
|
1883
1883
|
}
|
|
1884
1884
|
var v = {
|
|
@@ -1911,7 +1911,7 @@ function mg() {
|
|
|
1911
1911
|
if (ys) return xe;
|
|
1912
1912
|
ys = 1;
|
|
1913
1913
|
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, f = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, O = e ? Symbol.for("react.responder") : 60118, C = e ? Symbol.for("react.scope") : 60119;
|
|
1914
|
-
function
|
|
1914
|
+
function T(y) {
|
|
1915
1915
|
if (typeof y == "object" && y !== null) {
|
|
1916
1916
|
var F = y.$$typeof;
|
|
1917
1917
|
switch (F) {
|
|
@@ -1941,36 +1941,36 @@ function mg() {
|
|
|
1941
1941
|
}
|
|
1942
1942
|
}
|
|
1943
1943
|
}
|
|
1944
|
-
function
|
|
1945
|
-
return
|
|
1944
|
+
function E(y) {
|
|
1945
|
+
return T(y) === u;
|
|
1946
1946
|
}
|
|
1947
1947
|
return xe.AsyncMode = c, xe.ConcurrentMode = u, xe.ContextConsumer = s, xe.ContextProvider = l, xe.Element = t, xe.ForwardRef = d, xe.Fragment = o, xe.Lazy = v, xe.Memo = h, xe.Portal = r, xe.Profiler = i, xe.StrictMode = a, xe.Suspense = m, xe.isAsyncMode = function(y) {
|
|
1948
|
-
return
|
|
1949
|
-
}, xe.isConcurrentMode =
|
|
1950
|
-
return
|
|
1948
|
+
return E(y) || T(y) === c;
|
|
1949
|
+
}, xe.isConcurrentMode = E, xe.isContextConsumer = function(y) {
|
|
1950
|
+
return T(y) === s;
|
|
1951
1951
|
}, xe.isContextProvider = function(y) {
|
|
1952
|
-
return
|
|
1952
|
+
return T(y) === l;
|
|
1953
1953
|
}, xe.isElement = function(y) {
|
|
1954
1954
|
return typeof y == "object" && y !== null && y.$$typeof === t;
|
|
1955
1955
|
}, xe.isForwardRef = function(y) {
|
|
1956
|
-
return
|
|
1956
|
+
return T(y) === d;
|
|
1957
1957
|
}, xe.isFragment = function(y) {
|
|
1958
|
-
return
|
|
1958
|
+
return T(y) === o;
|
|
1959
1959
|
}, xe.isLazy = function(y) {
|
|
1960
|
-
return
|
|
1960
|
+
return T(y) === v;
|
|
1961
1961
|
}, xe.isMemo = function(y) {
|
|
1962
|
-
return
|
|
1962
|
+
return T(y) === h;
|
|
1963
1963
|
}, xe.isPortal = function(y) {
|
|
1964
|
-
return
|
|
1964
|
+
return T(y) === r;
|
|
1965
1965
|
}, xe.isProfiler = function(y) {
|
|
1966
|
-
return
|
|
1966
|
+
return T(y) === i;
|
|
1967
1967
|
}, xe.isStrictMode = function(y) {
|
|
1968
|
-
return
|
|
1968
|
+
return T(y) === a;
|
|
1969
1969
|
}, xe.isSuspense = function(y) {
|
|
1970
|
-
return
|
|
1970
|
+
return T(y) === m;
|
|
1971
1971
|
}, xe.isValidElementType = function(y) {
|
|
1972
1972
|
return typeof y == "string" || typeof y == "function" || y === o || y === u || y === i || y === a || y === m || y === f || typeof y == "object" && y !== null && (y.$$typeof === v || y.$$typeof === h || y.$$typeof === l || y.$$typeof === s || y.$$typeof === d || y.$$typeof === b || y.$$typeof === O || y.$$typeof === C || y.$$typeof === g);
|
|
1973
|
-
}, xe.typeOf =
|
|
1973
|
+
}, xe.typeOf = T, xe;
|
|
1974
1974
|
}
|
|
1975
1975
|
var Se = {};
|
|
1976
1976
|
/** @license React v16.13.1
|
|
@@ -1985,11 +1985,11 @@ var Os;
|
|
|
1985
1985
|
function hg() {
|
|
1986
1986
|
return Os || (Os = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1987
1987
|
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, f = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, v = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, O = e ? Symbol.for("react.responder") : 60118, C = e ? Symbol.for("react.scope") : 60119;
|
|
1988
|
-
function
|
|
1988
|
+
function T(B) {
|
|
1989
1989
|
return typeof B == "string" || typeof B == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1990
1990
|
B === o || B === u || B === i || B === a || B === m || B === f || typeof B == "object" && B !== null && (B.$$typeof === v || B.$$typeof === h || B.$$typeof === l || B.$$typeof === s || B.$$typeof === d || B.$$typeof === b || B.$$typeof === O || B.$$typeof === C || B.$$typeof === g);
|
|
1991
1991
|
}
|
|
1992
|
-
function
|
|
1992
|
+
function E(B) {
|
|
1993
1993
|
if (typeof B == "object" && B !== null) {
|
|
1994
1994
|
var Z = B.$$typeof;
|
|
1995
1995
|
switch (Z) {
|
|
@@ -2023,45 +2023,45 @@ function hg() {
|
|
|
2023
2023
|
}
|
|
2024
2024
|
var y = c, F = u, P = s, $ = l, w = t, R = d, k = o, D = v, L = h, N = r, _ = i, A = a, j = m, M = !1;
|
|
2025
2025
|
function z(B) {
|
|
2026
|
-
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.")), J(B) ||
|
|
2026
|
+
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.")), J(B) || E(B) === c;
|
|
2027
2027
|
}
|
|
2028
2028
|
function J(B) {
|
|
2029
|
-
return
|
|
2029
|
+
return E(B) === u;
|
|
2030
2030
|
}
|
|
2031
2031
|
function Y(B) {
|
|
2032
|
-
return
|
|
2032
|
+
return E(B) === s;
|
|
2033
2033
|
}
|
|
2034
2034
|
function re(B) {
|
|
2035
|
-
return
|
|
2035
|
+
return E(B) === l;
|
|
2036
2036
|
}
|
|
2037
2037
|
function Te(B) {
|
|
2038
2038
|
return typeof B == "object" && B !== null && B.$$typeof === t;
|
|
2039
2039
|
}
|
|
2040
2040
|
function oe(B) {
|
|
2041
|
-
return
|
|
2041
|
+
return E(B) === d;
|
|
2042
2042
|
}
|
|
2043
2043
|
function ee(B) {
|
|
2044
|
-
return
|
|
2044
|
+
return E(B) === o;
|
|
2045
2045
|
}
|
|
2046
2046
|
function ne(B) {
|
|
2047
|
-
return
|
|
2047
|
+
return E(B) === v;
|
|
2048
2048
|
}
|
|
2049
2049
|
function ce(B) {
|
|
2050
|
-
return
|
|
2050
|
+
return E(B) === h;
|
|
2051
2051
|
}
|
|
2052
2052
|
function ie(B) {
|
|
2053
|
-
return
|
|
2053
|
+
return E(B) === r;
|
|
2054
2054
|
}
|
|
2055
2055
|
function U(B) {
|
|
2056
|
-
return
|
|
2056
|
+
return E(B) === i;
|
|
2057
2057
|
}
|
|
2058
2058
|
function ve(B) {
|
|
2059
|
-
return
|
|
2059
|
+
return E(B) === a;
|
|
2060
2060
|
}
|
|
2061
2061
|
function Pe(B) {
|
|
2062
|
-
return
|
|
2062
|
+
return E(B) === m;
|
|
2063
2063
|
}
|
|
2064
|
-
Se.AsyncMode = y, Se.ConcurrentMode = F, Se.ContextConsumer = P, Se.ContextProvider = $, Se.Element = w, Se.ForwardRef = R, Se.Fragment = k, Se.Lazy = D, Se.Memo = L, Se.Portal = N, Se.Profiler = _, Se.StrictMode = A, Se.Suspense = j, Se.isAsyncMode = z, Se.isConcurrentMode = J, Se.isContextConsumer = Y, Se.isContextProvider = re, Se.isElement = Te, Se.isForwardRef = oe, Se.isFragment = ee, Se.isLazy = ne, Se.isMemo = ce, Se.isPortal = ie, Se.isProfiler = U, Se.isStrictMode = ve, Se.isSuspense = Pe, Se.isValidElementType =
|
|
2064
|
+
Se.AsyncMode = y, Se.ConcurrentMode = F, Se.ContextConsumer = P, Se.ContextProvider = $, Se.Element = w, Se.ForwardRef = R, Se.Fragment = k, Se.Lazy = D, Se.Memo = L, Se.Portal = N, Se.Profiler = _, Se.StrictMode = A, Se.Suspense = j, Se.isAsyncMode = z, Se.isConcurrentMode = J, Se.isContextConsumer = Y, Se.isContextProvider = re, Se.isElement = Te, Se.isForwardRef = oe, Se.isFragment = ee, Se.isLazy = ne, Se.isMemo = ce, Se.isPortal = ie, Se.isProfiler = U, Se.isStrictMode = ve, Se.isSuspense = Pe, Se.isValidElementType = T, Se.typeOf = E;
|
|
2065
2065
|
}()), Se;
|
|
2066
2066
|
}
|
|
2067
2067
|
process.env.NODE_ENV === "production" ? Ya.exports = mg() : Ya.exports = hg();
|
|
@@ -2688,21 +2688,21 @@ You may have forgotten to import it.`);
|
|
|
2688
2688
|
process.env.NODE_ENV !== "production" && d[0][h] === void 0 && console.error(Is), m.push(d[h], d[0][h]);
|
|
2689
2689
|
}
|
|
2690
2690
|
var v = aa(function(g, b, O) {
|
|
2691
|
-
var C = u && g.as || a,
|
|
2691
|
+
var C = u && g.as || a, T = "", E = [], y = g;
|
|
2692
2692
|
if (g.theme == null) {
|
|
2693
2693
|
y = {};
|
|
2694
2694
|
for (var F in g)
|
|
2695
2695
|
y[F] = g[F];
|
|
2696
2696
|
y.theme = x.useContext(sr);
|
|
2697
2697
|
}
|
|
2698
|
-
typeof g.className == "string" ?
|
|
2699
|
-
var P = Yr(m.concat(
|
|
2700
|
-
|
|
2698
|
+
typeof g.className == "string" ? T = Di(b.registered, E, g.className) : g.className != null && (T = g.className + " ");
|
|
2699
|
+
var P = Yr(m.concat(E), b.registered, y);
|
|
2700
|
+
T += b.key + "-" + P.name, l !== void 0 && (T += " " + l);
|
|
2701
2701
|
var $ = u && s === void 0 ? Ls(C) : c, w = {};
|
|
2702
2702
|
for (var R in g)
|
|
2703
2703
|
u && R === "as" || // $FlowFixMe
|
|
2704
2704
|
$(R) && (w[R] = g[R]);
|
|
2705
|
-
return w.className =
|
|
2705
|
+
return w.className = T, w.ref = O, /* @__PURE__ */ x.createElement(x.Fragment, null, /* @__PURE__ */ x.createElement(Hg, {
|
|
2706
2706
|
cache: b,
|
|
2707
2707
|
serialized: P,
|
|
2708
2708
|
isStringTag: typeof C == "string"
|
|
@@ -3470,7 +3470,7 @@ function Pb(e) {
|
|
|
3470
3470
|
name: b,
|
|
3471
3471
|
mainShade: O = 500,
|
|
3472
3472
|
lightShade: C = 300,
|
|
3473
|
-
darkShade:
|
|
3473
|
+
darkShade: T = 700
|
|
3474
3474
|
}) => {
|
|
3475
3475
|
if (g = S({}, g), !g.main && g[O] && (g.main = g[O]), !g.hasOwnProperty("main"))
|
|
3476
3476
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${b ? ` (${b})` : ""} provided to augmentColor(color) is invalid.
|
|
@@ -3490,7 +3490,7 @@ const theme1 = createTheme({ palette: {
|
|
|
3490
3490
|
const theme2 = createTheme({ palette: {
|
|
3491
3491
|
primary: { main: green[500] },
|
|
3492
3492
|
} });` : Or(12, b ? ` (${b})` : "", JSON.stringify(g.main)));
|
|
3493
|
-
return Vs(g, "light", C, o), Vs(g, "dark",
|
|
3493
|
+
return Vs(g, "light", C, o), Vs(g, "dark", T, o), g.contrastText || (g.contrastText = m(g.main)), g;
|
|
3494
3494
|
}, h = {
|
|
3495
3495
|
dark: wa,
|
|
3496
3496
|
light: js
|
|
@@ -3574,14 +3574,14 @@ function wb(e, t) {
|
|
|
3574
3574
|
pxToRem: m
|
|
3575
3575
|
} = r, f = W(r, Cb);
|
|
3576
3576
|
process.env.NODE_ENV !== "production" && (typeof a != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof u != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
|
|
3577
|
-
const h = a / 14, v = m || ((O) => `${O / u * h}rem`), g = (O, C,
|
|
3577
|
+
const h = a / 14, v = m || ((O) => `${O / u * h}rem`), g = (O, C, T, E, y) => S({
|
|
3578
3578
|
fontFamily: o,
|
|
3579
3579
|
fontWeight: O,
|
|
3580
3580
|
fontSize: v(C),
|
|
3581
3581
|
// Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
|
|
3582
|
-
lineHeight:
|
|
3582
|
+
lineHeight: T
|
|
3583
3583
|
}, o === zs ? {
|
|
3584
|
-
letterSpacing: `${Fb(
|
|
3584
|
+
letterSpacing: `${Fb(E / C)}em`
|
|
3585
3585
|
} : {}, y, d), b = {
|
|
3586
3586
|
h1: g(i, 96, 1.167, -1.5),
|
|
3587
3587
|
h2: g(i, 60, 1.2, -0.5),
|
|
@@ -3913,15 +3913,15 @@ function sv(e = {}) {
|
|
|
3913
3913
|
const C = (0, Gs.default)(l, (0, mt.default)({
|
|
3914
3914
|
shouldForwardProp: O,
|
|
3915
3915
|
label: b
|
|
3916
|
-
}, h)),
|
|
3916
|
+
}, h)), T = (y) => typeof y == "function" && y.__emotion_real !== y || (0, Yb.isPlainObject)(y) ? (F) => Tn(y, (0, mt.default)({}, F, {
|
|
3917
3917
|
theme: un({
|
|
3918
3918
|
theme: F.theme,
|
|
3919
3919
|
defaultTheme: r,
|
|
3920
3920
|
themeId: t
|
|
3921
3921
|
})
|
|
3922
|
-
})) : y,
|
|
3923
|
-
let P =
|
|
3924
|
-
const $ = F ? F.map(
|
|
3922
|
+
})) : y, E = (y, ...F) => {
|
|
3923
|
+
let P = T(y);
|
|
3924
|
+
const $ = F ? F.map(T) : [];
|
|
3925
3925
|
c && f && $.push((k) => {
|
|
3926
3926
|
const D = un((0, mt.default)({}, k, {
|
|
3927
3927
|
defaultTheme: r,
|
|
@@ -3959,7 +3959,7 @@ function sv(e = {}) {
|
|
|
3959
3959
|
}
|
|
3960
3960
|
return l.muiName && (R.muiName = l.muiName), R;
|
|
3961
3961
|
};
|
|
3962
|
-
return C.withConfig && (
|
|
3962
|
+
return C.withConfig && (E.withConfig = C.withConfig), E;
|
|
3963
3963
|
};
|
|
3964
3964
|
}
|
|
3965
3965
|
function cv(e) {
|
|
@@ -4581,15 +4581,15 @@ function Yv(e = {}) {
|
|
|
4581
4581
|
const C = Vi(l, S({
|
|
4582
4582
|
shouldForwardProp: O,
|
|
4583
4583
|
label: b
|
|
4584
|
-
}, h)),
|
|
4584
|
+
}, h)), T = (y) => typeof y == "function" && y.__emotion_real !== y || Xt(y) ? (F) => Pn(y, S({}, F, {
|
|
4585
4585
|
theme: dn({
|
|
4586
4586
|
theme: F.theme,
|
|
4587
4587
|
defaultTheme: r,
|
|
4588
4588
|
themeId: t
|
|
4589
4589
|
})
|
|
4590
|
-
})) : y,
|
|
4591
|
-
let P =
|
|
4592
|
-
const $ = F ? F.map(
|
|
4590
|
+
})) : y, E = (y, ...F) => {
|
|
4591
|
+
let P = T(y);
|
|
4592
|
+
const $ = F ? F.map(T) : [];
|
|
4593
4593
|
c && f && $.push((k) => {
|
|
4594
4594
|
const D = dn(S({}, k, {
|
|
4595
4595
|
defaultTheme: r,
|
|
@@ -4627,7 +4627,7 @@ function Yv(e = {}) {
|
|
|
4627
4627
|
}
|
|
4628
4628
|
return l.muiName && (R.muiName = l.muiName), R;
|
|
4629
4629
|
};
|
|
4630
|
-
return C.withConfig && (
|
|
4630
|
+
return C.withConfig && (E.withConfig = C.withConfig), E;
|
|
4631
4631
|
};
|
|
4632
4632
|
}
|
|
4633
4633
|
const Qv = Yv();
|
|
@@ -4890,17 +4890,17 @@ function gy(e = {}) {
|
|
|
4890
4890
|
children: b,
|
|
4891
4891
|
className: O,
|
|
4892
4892
|
useFlexGap: C = !1
|
|
4893
|
-
} = m,
|
|
4893
|
+
} = m, T = W(m, cy), E = {
|
|
4894
4894
|
direction: h,
|
|
4895
4895
|
spacing: v,
|
|
4896
4896
|
useFlexGap: C
|
|
4897
4897
|
}, y = a();
|
|
4898
4898
|
return /* @__PURE__ */ p(i, S({
|
|
4899
4899
|
as: f,
|
|
4900
|
-
ownerState:
|
|
4900
|
+
ownerState: E,
|
|
4901
4901
|
ref: u,
|
|
4902
4902
|
className: q(y.root, O)
|
|
4903
|
-
},
|
|
4903
|
+
}, T, {
|
|
4904
4904
|
children: g ? fy(b, g) : b
|
|
4905
4905
|
}));
|
|
4906
4906
|
});
|
|
@@ -5192,20 +5192,20 @@ function By(e) {
|
|
|
5192
5192
|
open: d,
|
|
5193
5193
|
rootRef: m
|
|
5194
5194
|
} = e, f = x.useRef({}), h = x.useRef(null), v = x.useRef(null), g = Gr(v, m), [b, O] = x.useState(!d), C = jy(c);
|
|
5195
|
-
let
|
|
5196
|
-
(e["aria-hidden"] === "false" || e["aria-hidden"] === !1) && (
|
|
5197
|
-
const
|
|
5195
|
+
let T = !0;
|
|
5196
|
+
(e["aria-hidden"] === "false" || e["aria-hidden"] === !1) && (T = !1);
|
|
5197
|
+
const E = () => Vt(h.current), y = () => (f.current.modalRef = v.current, f.current.mount = h.current, f.current), F = () => {
|
|
5198
5198
|
a.mount(y(), {
|
|
5199
5199
|
disableScrollLock: o
|
|
5200
5200
|
}), v.current && (v.current.scrollTop = 0);
|
|
5201
5201
|
}, P = ps(() => {
|
|
5202
|
-
const A = _y(t) ||
|
|
5202
|
+
const A = _y(t) || E().body;
|
|
5203
5203
|
a.add(y(), A), v.current && F();
|
|
5204
5204
|
}), $ = x.useCallback(() => a.isTopModal(y()), [a]), w = ps((A) => {
|
|
5205
|
-
h.current = A, A && (d && $() ? F() : v.current && Po(v.current,
|
|
5205
|
+
h.current = A, A && (d && $() ? F() : v.current && Po(v.current, T));
|
|
5206
5206
|
}), R = x.useCallback(() => {
|
|
5207
|
-
a.remove(y(),
|
|
5208
|
-
}, [
|
|
5207
|
+
a.remove(y(), T);
|
|
5208
|
+
}, [T, a]);
|
|
5209
5209
|
x.useEffect(() => () => {
|
|
5210
5210
|
R();
|
|
5211
5211
|
}, [R]), x.useEffect(() => {
|
|
@@ -5333,54 +5333,54 @@ function Dn(e) {
|
|
|
5333
5333
|
}, [r, s]), x.useEffect(() => {
|
|
5334
5334
|
if (!s || !v.current)
|
|
5335
5335
|
return;
|
|
5336
|
-
const
|
|
5337
|
-
return v.current.contains(
|
|
5336
|
+
const T = Vt(v.current);
|
|
5337
|
+
return v.current.contains(T.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(`
|
|
5338
5338
|
`)), v.current.setAttribute("tabIndex", "-1")), h.current && v.current.focus()), () => {
|
|
5339
5339
|
a || (m.current && m.current.focus && (c.current = !0, m.current.focus()), m.current = null);
|
|
5340
5340
|
};
|
|
5341
5341
|
}, [s]), x.useEffect(() => {
|
|
5342
5342
|
if (!s || !v.current)
|
|
5343
5343
|
return;
|
|
5344
|
-
const
|
|
5345
|
-
b.current = P, !(o || !l() || P.key !== "Tab") &&
|
|
5344
|
+
const T = Vt(v.current), E = (P) => {
|
|
5345
|
+
b.current = P, !(o || !l() || P.key !== "Tab") && T.activeElement === v.current && P.shiftKey && (c.current = !0, d.current && d.current.focus());
|
|
5346
5346
|
}, y = () => {
|
|
5347
5347
|
const P = v.current;
|
|
5348
5348
|
if (P === null)
|
|
5349
5349
|
return;
|
|
5350
|
-
if (!
|
|
5350
|
+
if (!T.hasFocus() || !l() || c.current) {
|
|
5351
5351
|
c.current = !1;
|
|
5352
5352
|
return;
|
|
5353
5353
|
}
|
|
5354
|
-
if (P.contains(
|
|
5354
|
+
if (P.contains(T.activeElement) || o && T.activeElement !== u.current && T.activeElement !== d.current)
|
|
5355
5355
|
return;
|
|
5356
|
-
if (
|
|
5356
|
+
if (T.activeElement !== f.current)
|
|
5357
5357
|
f.current = null;
|
|
5358
5358
|
else if (f.current !== null)
|
|
5359
5359
|
return;
|
|
5360
5360
|
if (!h.current)
|
|
5361
5361
|
return;
|
|
5362
5362
|
let $ = [];
|
|
5363
|
-
if ((
|
|
5363
|
+
if ((T.activeElement === u.current || T.activeElement === d.current) && ($ = i(v.current)), $.length > 0) {
|
|
5364
5364
|
var w, R;
|
|
5365
5365
|
const k = !!((w = b.current) != null && w.shiftKey && ((R = b.current) == null ? void 0 : R.key) === "Tab"), D = $[0], L = $[$.length - 1];
|
|
5366
5366
|
typeof D != "string" && typeof L != "string" && (k ? L.focus() : D.focus());
|
|
5367
5367
|
} else
|
|
5368
5368
|
P.focus();
|
|
5369
5369
|
};
|
|
5370
|
-
|
|
5370
|
+
T.addEventListener("focusin", y), T.addEventListener("keydown", E, !0);
|
|
5371
5371
|
const F = setInterval(() => {
|
|
5372
|
-
|
|
5372
|
+
T.activeElement && T.activeElement.tagName === "BODY" && y();
|
|
5373
5373
|
}, 50);
|
|
5374
5374
|
return () => {
|
|
5375
|
-
clearInterval(F),
|
|
5375
|
+
clearInterval(F), T.removeEventListener("focusin", y), T.removeEventListener("keydown", E, !0);
|
|
5376
5376
|
};
|
|
5377
5377
|
}, [r, o, a, l, s, i]);
|
|
5378
|
-
const O = (
|
|
5379
|
-
m.current === null && (m.current =
|
|
5380
|
-
const
|
|
5381
|
-
|
|
5382
|
-
}, C = (
|
|
5383
|
-
m.current === null && (m.current =
|
|
5378
|
+
const O = (T) => {
|
|
5379
|
+
m.current === null && (m.current = T.relatedTarget), h.current = !0, f.current = T.target;
|
|
5380
|
+
const E = t.props.onFocus;
|
|
5381
|
+
E && E(T);
|
|
5382
|
+
}, C = (T) => {
|
|
5383
|
+
m.current === null && (m.current = T.relatedTarget), h.current = !0;
|
|
5384
5384
|
};
|
|
5385
5385
|
return /* @__PURE__ */ V(x.Fragment, {
|
|
5386
5386
|
children: [/* @__PURE__ */ p("div", {
|
|
@@ -6084,9 +6084,9 @@ const nO = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "
|
|
|
6084
6084
|
timeout: O = a,
|
|
6085
6085
|
// eslint-disable-next-line react/prop-types
|
|
6086
6086
|
TransitionComponent: C = kt
|
|
6087
|
-
} = t,
|
|
6087
|
+
} = t, T = W(t, nO), E = x.useRef(null), y = Ot(E, s.ref, r), F = (N) => (_) => {
|
|
6088
6088
|
if (N) {
|
|
6089
|
-
const A =
|
|
6089
|
+
const A = E.current;
|
|
6090
6090
|
_ === void 0 ? N(A) : N(A, _);
|
|
6091
6091
|
}
|
|
6092
6092
|
}, P = F(f), $ = F((N, _) => {
|
|
@@ -6112,7 +6112,7 @@ const nO = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "
|
|
|
6112
6112
|
return /* @__PURE__ */ p(C, S({
|
|
6113
6113
|
appear: l,
|
|
6114
6114
|
in: u,
|
|
6115
|
-
nodeRef:
|
|
6115
|
+
nodeRef: E,
|
|
6116
6116
|
onEnter: $,
|
|
6117
6117
|
onEntered: w,
|
|
6118
6118
|
onEntering: P,
|
|
@@ -6120,10 +6120,10 @@ const nO = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "
|
|
|
6120
6120
|
onExited: D,
|
|
6121
6121
|
onExiting: R,
|
|
6122
6122
|
addEndListener: (N) => {
|
|
6123
|
-
i && i(
|
|
6123
|
+
i && i(E.current, N);
|
|
6124
6124
|
},
|
|
6125
6125
|
timeout: O
|
|
6126
|
-
},
|
|
6126
|
+
}, T, {
|
|
6127
6127
|
children: (N, _) => /* @__PURE__ */ x.cloneElement(s, S({
|
|
6128
6128
|
style: S({
|
|
6129
6129
|
opacity: 0,
|
|
@@ -6261,10 +6261,10 @@ const lO = ["children", "className", "component", "components", "componentsProps
|
|
|
6261
6261
|
slots: g = {},
|
|
6262
6262
|
TransitionComponent: b = al,
|
|
6263
6263
|
transitionDuration: O
|
|
6264
|
-
} = l, C = W(l, lO),
|
|
6264
|
+
} = l, C = W(l, lO), T = S({}, l, {
|
|
6265
6265
|
component: u,
|
|
6266
6266
|
invisible: f
|
|
6267
|
-
}),
|
|
6267
|
+
}), E = sO(T), y = (o = v.root) != null ? o : m.root;
|
|
6268
6268
|
return /* @__PURE__ */ p(b, S({
|
|
6269
6269
|
in: h,
|
|
6270
6270
|
timeout: O
|
|
@@ -6273,9 +6273,9 @@ const lO = ["children", "className", "component", "components", "componentsProps
|
|
|
6273
6273
|
"aria-hidden": !0
|
|
6274
6274
|
}, y, {
|
|
6275
6275
|
as: (a = (i = g.root) != null ? i : d.Root) != null ? a : u,
|
|
6276
|
-
className: q(
|
|
6277
|
-
ownerState: S({},
|
|
6278
|
-
classes:
|
|
6276
|
+
className: q(E.root, c, y == null ? void 0 : y.className),
|
|
6277
|
+
ownerState: S({}, T, y == null ? void 0 : y.ownerState),
|
|
6278
|
+
classes: E,
|
|
6279
6279
|
ref: r,
|
|
6280
6280
|
children: s
|
|
6281
6281
|
}))
|
|
@@ -6433,8 +6433,8 @@ const dO = ["BackdropComponent", "BackdropProps", "classes", "className", "close
|
|
|
6433
6433
|
component: b,
|
|
6434
6434
|
components: O = {},
|
|
6435
6435
|
componentsProps: C = {},
|
|
6436
|
-
disableAutoFocus:
|
|
6437
|
-
disableEnforceFocus:
|
|
6436
|
+
disableAutoFocus: T = !1,
|
|
6437
|
+
disableEnforceFocus: E = !1,
|
|
6438
6438
|
disableEscapeKeyDown: y = !1,
|
|
6439
6439
|
disablePortal: F = !1,
|
|
6440
6440
|
disableRestoreFocus: P = !1,
|
|
@@ -6448,8 +6448,8 @@ const dO = ["BackdropComponent", "BackdropProps", "classes", "className", "close
|
|
|
6448
6448
|
// eslint-disable-next-line react/prop-types
|
|
6449
6449
|
} = u, _ = W(u, dO), A = S({}, u, {
|
|
6450
6450
|
closeAfterTransition: h,
|
|
6451
|
-
disableAutoFocus:
|
|
6452
|
-
disableEnforceFocus:
|
|
6451
|
+
disableAutoFocus: T,
|
|
6452
|
+
disableEnforceFocus: E,
|
|
6453
6453
|
disableEscapeKeyDown: y,
|
|
6454
6454
|
disablePortal: F,
|
|
6455
6455
|
disableRestoreFocus: P,
|
|
@@ -6505,8 +6505,8 @@ const dO = ["BackdropComponent", "BackdropProps", "classes", "className", "close
|
|
|
6505
6505
|
disablePortal: F,
|
|
6506
6506
|
children: /* @__PURE__ */ V(ce, S({}, Pe, {
|
|
6507
6507
|
children: [!w && d ? /* @__PURE__ */ p(ie, S({}, B)) : null, /* @__PURE__ */ p(Dn, {
|
|
6508
|
-
disableEnforceFocus:
|
|
6509
|
-
disableAutoFocus:
|
|
6508
|
+
disableEnforceFocus: E,
|
|
6509
|
+
disableAutoFocus: T,
|
|
6510
6510
|
disableRestoreFocus: P,
|
|
6511
6511
|
isEnabled: Y,
|
|
6512
6512
|
open: D,
|
|
@@ -6991,8 +6991,8 @@ const EO = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
|
|
|
6991
6991
|
onBackdropClick: b,
|
|
6992
6992
|
onClick: O,
|
|
6993
6993
|
onClose: C,
|
|
6994
|
-
open:
|
|
6995
|
-
PaperComponent:
|
|
6994
|
+
open: T,
|
|
6995
|
+
PaperComponent: E = cr,
|
|
6996
6996
|
PaperProps: y = {},
|
|
6997
6997
|
scroll: F = "paper",
|
|
6998
6998
|
TransitionComponent: P = al,
|
|
@@ -7025,14 +7025,14 @@ const EO = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
|
|
|
7025
7025
|
},
|
|
7026
7026
|
disableEscapeKeyDown: f,
|
|
7027
7027
|
onClose: C,
|
|
7028
|
-
open:
|
|
7028
|
+
open: T,
|
|
7029
7029
|
ref: r,
|
|
7030
7030
|
onClick: _,
|
|
7031
7031
|
ownerState: k
|
|
7032
7032
|
}, R, {
|
|
7033
7033
|
children: /* @__PURE__ */ p(P, S({
|
|
7034
7034
|
appear: !0,
|
|
7035
|
-
in:
|
|
7035
|
+
in: T,
|
|
7036
7036
|
timeout: $,
|
|
7037
7037
|
role: "presentation"
|
|
7038
7038
|
}, w, {
|
|
@@ -7041,7 +7041,7 @@ const EO = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
|
|
|
7041
7041
|
onMouseDown: N,
|
|
7042
7042
|
ownerState: k,
|
|
7043
7043
|
children: /* @__PURE__ */ p(wO, S({
|
|
7044
|
-
as:
|
|
7044
|
+
as: E,
|
|
7045
7045
|
elevation: 24,
|
|
7046
7046
|
role: "dialog",
|
|
7047
7047
|
"aria-describedby": l,
|
|
@@ -14478,7 +14478,7 @@ const Fd = no(), fa = ({ children: e }) => {
|
|
|
14478
14478
|
c.splice(u, 1);
|
|
14479
14479
|
} else {
|
|
14480
14480
|
let u = c.findIndex(
|
|
14481
|
-
(m) => m.claveFila === i
|
|
14481
|
+
(m) => (m == null ? void 0 : m.claveFila) === i
|
|
14482
14482
|
);
|
|
14483
14483
|
const d = t.current.getRowIndexRelativeToVisibleRows(i);
|
|
14484
14484
|
u = u !== -1 ? u : d !== void 0 ? d : c.length, c[u] = { ...s, estado: a, claveFila: i };
|
|
@@ -14657,7 +14657,7 @@ const Fd = no(), fa = ({ children: e }) => {
|
|
|
14657
14657
|
}, [c]), /* @__PURE__ */ V(vr, { children: [
|
|
14658
14658
|
/* @__PURE__ */ p(rn, { children: /* @__PURE__ */ p(Uc, { spacing: 4, children: zn.map(
|
|
14659
14659
|
a,
|
|
14660
|
-
(C,
|
|
14660
|
+
(C, T) => Zt(C, {
|
|
14661
14661
|
resource: r,
|
|
14662
14662
|
estado: o,
|
|
14663
14663
|
defaultValue: i[C.props.source] || "",
|
|
@@ -14701,7 +14701,7 @@ const Fd = no(), fa = ({ children: e }) => {
|
|
|
14701
14701
|
} = e, [u, d] = hi(!1), m = Ge(e), f = Mt(), h = Ei(), v = _d({ apiRef: h, source: i, enviarTodo: l }), g = "N", {
|
|
14702
14702
|
estado: b,
|
|
14703
14703
|
fichaProps: { etrs: O }
|
|
14704
|
-
} = we(We), C = we(po),
|
|
14704
|
+
} = we(We), C = we(po), T = Yt({ etrs: O, asisEtr: C }), y = Xe()("ra.action.create");
|
|
14705
14705
|
return /* @__PURE__ */ V(vr, { children: [
|
|
14706
14706
|
/* @__PURE__ */ p(
|
|
14707
14707
|
st,
|
|
@@ -14724,12 +14724,12 @@ const Fd = no(), fa = ({ children: e }) => {
|
|
|
14724
14724
|
resource: m,
|
|
14725
14725
|
onSubmit: async (P, $) => {
|
|
14726
14726
|
const w = await s(
|
|
14727
|
-
|
|
14727
|
+
T,
|
|
14728
14728
|
P,
|
|
14729
14729
|
g,
|
|
14730
14730
|
b
|
|
14731
14731
|
);
|
|
14732
|
-
w !== !1 && (v(typeof w == "object" ? w : P, f), d(!1), c(
|
|
14732
|
+
w !== !1 && (v(typeof w == "object" ? w : P, f), d(!1), c(T, P, g, b));
|
|
14733
14733
|
},
|
|
14734
14734
|
children: /* @__PURE__ */ p(
|
|
14735
14735
|
zd,
|
|
@@ -14764,7 +14764,7 @@ const Fd = no(), fa = ({ children: e }) => {
|
|
|
14764
14764
|
} = e, d = Xe(), [m, f] = hi(!1), h = Ei(), v = Mt(), g = jd({ apiRef: h, source: i, enviarTodo: s }), b = "M", {
|
|
14765
14765
|
estado: O,
|
|
14766
14766
|
fichaProps: { etrs: C }
|
|
14767
|
-
} = we(We),
|
|
14767
|
+
} = we(We), T = we(po), E = Yt({ etrs: C, asisEtr: T }), y = d("ra.action.edit");
|
|
14768
14768
|
return /* @__PURE__ */ V(vr, { children: [
|
|
14769
14769
|
/* @__PURE__ */ p(
|
|
14770
14770
|
st,
|
|
@@ -14787,12 +14787,12 @@ const Fd = no(), fa = ({ children: e }) => {
|
|
|
14787
14787
|
resource: o,
|
|
14788
14788
|
onSubmit: async (P, $) => {
|
|
14789
14789
|
const w = await c(
|
|
14790
|
-
|
|
14790
|
+
E,
|
|
14791
14791
|
P,
|
|
14792
14792
|
b,
|
|
14793
14793
|
O
|
|
14794
14794
|
);
|
|
14795
|
-
w !== !1 && (g(l.id, typeof w == "object" ? w : P, v), f(!1), u(
|
|
14795
|
+
w !== !1 && (g(l.id, typeof w == "object" ? w : P, v), f(!1), u(E, P, b, O));
|
|
14796
14796
|
},
|
|
14797
14797
|
children: /* @__PURE__ */ p(
|
|
14798
14798
|
zd,
|
|
@@ -14869,8 +14869,8 @@ const Fd = no(), fa = ({ children: e }) => {
|
|
|
14869
14869
|
source: f,
|
|
14870
14870
|
...h
|
|
14871
14871
|
} = e, [v, g] = Ue([]), b = qt(e), O = Mt(), { field: C } = Qc({ defaultValue: "", ...e }), {
|
|
14872
|
-
isLoading:
|
|
14873
|
-
fichaProps: { [f]:
|
|
14872
|
+
isLoading: T,
|
|
14873
|
+
fichaProps: { [f]: E }
|
|
14874
14874
|
} = we(We), y = Ti((U) => {
|
|
14875
14875
|
const ve = U.configInputs ? U.configInputs.filter((Pe) => Pe.id === f) : [];
|
|
14876
14876
|
return ve[0] ? ve[0] : null;
|
|
@@ -14883,7 +14883,7 @@ const Fd = no(), fa = ({ children: e }) => {
|
|
|
14883
14883
|
onAfterSubmitAsistente: D,
|
|
14884
14884
|
allowAdd: L,
|
|
14885
14885
|
allowRemove: N
|
|
14886
|
-
} =
|
|
14886
|
+
} = E || {}, [_, A] = Ue(o), [{ field: j, sort: M }] = o, z = u || $, J = F !== void 0 ? F : w !== void 0 ? w : d, Y = L ?? l, re = N ?? s;
|
|
14887
14887
|
let Te = {};
|
|
14888
14888
|
b && t.split(",").forEach((U) => {
|
|
14889
14889
|
U && (Te[U] = [
|
|
@@ -14907,7 +14907,7 @@ const Fd = no(), fa = ({ children: e }) => {
|
|
|
14907
14907
|
filter: Te
|
|
14908
14908
|
},
|
|
14909
14909
|
{
|
|
14910
|
-
enabled: c && !
|
|
14910
|
+
enabled: c && !T,
|
|
14911
14911
|
onSuccess: (U) => {
|
|
14912
14912
|
setTimeout(() => {
|
|
14913
14913
|
O.setValue(f, "");
|
|
@@ -14999,7 +14999,7 @@ const Fd = no(), fa = ({ children: e }) => {
|
|
|
14999
14999
|
Si,
|
|
15000
15000
|
{
|
|
15001
15001
|
apiRef: m,
|
|
15002
|
-
loading: oe ||
|
|
15002
|
+
loading: oe || T,
|
|
15003
15003
|
sx: {
|
|
15004
15004
|
"& .MuiDataGrid-columnsContainer": {
|
|
15005
15005
|
backgroundColor: (U) => U.palette.mode === "light" ? "#fafafa" : "#1d1d1d"
|
|
@@ -15061,7 +15061,7 @@ const Fd = no(), fa = ({ children: e }) => {
|
|
|
15061
15061
|
estado: b,
|
|
15062
15062
|
isLoading: O,
|
|
15063
15063
|
fichaProps: C = {}
|
|
15064
|
-
} = we(We),
|
|
15064
|
+
} = we(We), T = Yt(e), { [e.source]: E = {} } = C, { useContenido: y = ur, ...F } = E, {
|
|
15065
15065
|
data: P = [],
|
|
15066
15066
|
isLoading: $,
|
|
15067
15067
|
refetch: w
|
|
@@ -15082,7 +15082,7 @@ const Fd = no(), fa = ({ children: e }) => {
|
|
|
15082
15082
|
estado: b,
|
|
15083
15083
|
hidden: e.hidden,
|
|
15084
15084
|
isLoading: O,
|
|
15085
|
-
utils:
|
|
15085
|
+
utils: T,
|
|
15086
15086
|
...F,
|
|
15087
15087
|
refetch: w,
|
|
15088
15088
|
apiRef: R
|
|
@@ -15350,8 +15350,8 @@ const Gd = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
15350
15350
|
onExit: b,
|
|
15351
15351
|
onExited: O,
|
|
15352
15352
|
onExiting: C,
|
|
15353
|
-
style:
|
|
15354
|
-
timeout:
|
|
15353
|
+
style: T,
|
|
15354
|
+
timeout: E = i,
|
|
15355
15355
|
// eslint-disable-next-line react/prop-types
|
|
15356
15356
|
TransitionComponent: y = kt
|
|
15357
15357
|
} = t, F = W(t, C0), P = x.useRef(null), $ = Ot(c.ref, P, r), w = (M) => (z) => {
|
|
@@ -15360,8 +15360,8 @@ const Gd = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
15360
15360
|
fn(d, M, u), nl(M), h && h(M, z);
|
|
15361
15361
|
}), k = w((M, z) => {
|
|
15362
15362
|
const J = Xr({
|
|
15363
|
-
timeout:
|
|
15364
|
-
style:
|
|
15363
|
+
timeout: E,
|
|
15364
|
+
style: T,
|
|
15365
15365
|
easing: m
|
|
15366
15366
|
}, {
|
|
15367
15367
|
mode: "enter"
|
|
@@ -15369,8 +15369,8 @@ const Gd = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
15369
15369
|
M.style.webkitTransition = o.transitions.create("-webkit-transform", S({}, J)), M.style.transition = o.transitions.create("transform", S({}, J)), M.style.webkitTransform = "none", M.style.transform = "none", g && g(M, z);
|
|
15370
15370
|
}), D = w(v), L = w(C), N = w((M) => {
|
|
15371
15371
|
const z = Xr({
|
|
15372
|
-
timeout:
|
|
15373
|
-
style:
|
|
15372
|
+
timeout: E,
|
|
15373
|
+
style: T,
|
|
15374
15374
|
easing: m
|
|
15375
15375
|
}, {
|
|
15376
15376
|
mode: "exit"
|
|
@@ -15405,13 +15405,13 @@ const Gd = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
15405
15405
|
addEndListener: A,
|
|
15406
15406
|
appear: s,
|
|
15407
15407
|
in: f,
|
|
15408
|
-
timeout:
|
|
15408
|
+
timeout: E
|
|
15409
15409
|
}, F, {
|
|
15410
15410
|
children: (M, z) => /* @__PURE__ */ x.cloneElement(c, S({
|
|
15411
15411
|
ref: $,
|
|
15412
15412
|
style: S({
|
|
15413
15413
|
visibility: M === "exited" && !f ? "hidden" : void 0
|
|
15414
|
-
},
|
|
15414
|
+
}, T, c.props.style)
|
|
15415
15415
|
}, z))
|
|
15416
15416
|
}));
|
|
15417
15417
|
});
|
|
@@ -15633,7 +15633,8 @@ const $0 = x.forwardRef(function(t, r) {
|
|
|
15633
15633
|
showAceptar: f = !0,
|
|
15634
15634
|
showCancelar: h = !0,
|
|
15635
15635
|
formDividers: v = !0,
|
|
15636
|
-
|
|
15636
|
+
saveAlwaysEnable: g = !1,
|
|
15637
|
+
dialogProps: b = {}
|
|
15637
15638
|
}
|
|
15638
15639
|
} = o;
|
|
15639
15640
|
return d === "confirm" ? /* @__PURE__ */ p(
|
|
@@ -15654,7 +15655,7 @@ const $0 = x.forwardRef(function(t, r) {
|
|
|
15654
15655
|
fullScreen: d === "vista",
|
|
15655
15656
|
maxWidth: d === "vista" ? "lg" : "sm",
|
|
15656
15657
|
TransitionComponent: $0,
|
|
15657
|
-
...
|
|
15658
|
+
...b,
|
|
15658
15659
|
children: d === "form" ? /* @__PURE__ */ V(Wt, { children: [
|
|
15659
15660
|
/* @__PURE__ */ p(qc, { id: "draggable-dialog-title", children: l }),
|
|
15660
15661
|
/* @__PURE__ */ V(Ho, { resource: r, onSubmit: c, children: [
|
|
@@ -15663,17 +15664,17 @@ const $0 = x.forwardRef(function(t, r) {
|
|
|
15663
15664
|
m.map(
|
|
15664
15665
|
({
|
|
15665
15666
|
label: E = "",
|
|
15666
|
-
icon:
|
|
15667
|
-
handler:
|
|
15668
|
-
},
|
|
15667
|
+
icon: y = /* @__PURE__ */ p(ni, {}),
|
|
15668
|
+
handler: F
|
|
15669
|
+
}, P) => /* @__PURE__ */ p(
|
|
15669
15670
|
st,
|
|
15670
15671
|
{
|
|
15671
15672
|
label: E,
|
|
15672
15673
|
disabled: t,
|
|
15673
|
-
onClick:
|
|
15674
|
-
children:
|
|
15674
|
+
onClick: F,
|
|
15675
|
+
children: y
|
|
15675
15676
|
},
|
|
15676
|
-
`extra_${
|
|
15677
|
+
`extra_${P}`
|
|
15677
15678
|
)
|
|
15678
15679
|
),
|
|
15679
15680
|
h && /* @__PURE__ */ p(
|
|
@@ -15685,7 +15686,13 @@ const $0 = x.forwardRef(function(t, r) {
|
|
|
15685
15686
|
children: /* @__PURE__ */ p(Io, {})
|
|
15686
15687
|
}
|
|
15687
15688
|
),
|
|
15688
|
-
f && /* @__PURE__ */ p(
|
|
15689
|
+
f && /* @__PURE__ */ p(
|
|
15690
|
+
Gn,
|
|
15691
|
+
{
|
|
15692
|
+
disabled: t,
|
|
15693
|
+
alwaysEnable: g
|
|
15694
|
+
}
|
|
15695
|
+
)
|
|
15689
15696
|
] })
|
|
15690
15697
|
] })
|
|
15691
15698
|
] }) : /* @__PURE__ */ V(Wt, { children: [
|
|
@@ -15702,17 +15709,17 @@ const $0 = x.forwardRef(function(t, r) {
|
|
|
15702
15709
|
m.map(
|
|
15703
15710
|
({
|
|
15704
15711
|
label: E = "",
|
|
15705
|
-
icon:
|
|
15706
|
-
handler:
|
|
15707
|
-
},
|
|
15712
|
+
icon: y = /* @__PURE__ */ p(ni, {}),
|
|
15713
|
+
handler: F
|
|
15714
|
+
}, P) => /* @__PURE__ */ p(
|
|
15708
15715
|
st,
|
|
15709
15716
|
{
|
|
15710
15717
|
label: E,
|
|
15711
15718
|
disabled: t,
|
|
15712
|
-
onClick:
|
|
15713
|
-
children:
|
|
15719
|
+
onClick: F,
|
|
15720
|
+
children: y
|
|
15714
15721
|
},
|
|
15715
|
-
`extra_${
|
|
15722
|
+
`extra_${P}`
|
|
15716
15723
|
)
|
|
15717
15724
|
),
|
|
15718
15725
|
/* @__PURE__ */ p(
|
|
@@ -15916,7 +15923,7 @@ const K0 = (e) => {
|
|
|
15916
15923
|
hasVerFicha: b = !1,
|
|
15917
15924
|
disableMultipleRowSelection: O = !0,
|
|
15918
15925
|
...C
|
|
15919
|
-
} = e,
|
|
15926
|
+
} = e, T = ha(e), E = Xe(), y = Ge(e), {
|
|
15920
15927
|
props: { hasBulkActionButtons: F = !0, ...P }
|
|
15921
15928
|
} = dl(), {
|
|
15922
15929
|
data: $ = [],
|
|
@@ -15941,7 +15948,7 @@ const K0 = (e) => {
|
|
|
15941
15948
|
Hd({ apiRef: N, ...e });
|
|
15942
15949
|
const A = a.map((Y, re) => ({
|
|
15943
15950
|
...Y,
|
|
15944
|
-
headerName: Y.headerName !== "" ?
|
|
15951
|
+
headerName: Y.headerName !== "" ? E(`resources.${y}.fields.${Y.field}`, {
|
|
15945
15952
|
_: Y.headerName
|
|
15946
15953
|
}) : Y.headerName
|
|
15947
15954
|
})), j = t.length > 0 || m ? A.concat([
|
|
@@ -15986,7 +15993,7 @@ const K0 = (e) => {
|
|
|
15986
15993
|
showInMenu: !0,
|
|
15987
15994
|
onClick: (ve) => typeof ce == "function" ? ce(
|
|
15988
15995
|
{
|
|
15989
|
-
...
|
|
15996
|
+
...T,
|
|
15990
15997
|
record: Y.row
|
|
15991
15998
|
},
|
|
15992
15999
|
ie
|
|
@@ -16089,10 +16096,10 @@ const K0 = (e) => {
|
|
|
16089
16096
|
field: b,
|
|
16090
16097
|
headerName: O,
|
|
16091
16098
|
valueGetter: C,
|
|
16092
|
-
type:
|
|
16093
|
-
jsxMobile:
|
|
16099
|
+
type: T = "string",
|
|
16100
|
+
jsxMobile: E
|
|
16094
16101
|
} = g;
|
|
16095
|
-
return
|
|
16102
|
+
return E ? /* @__PURE__ */ p(ke, { children: E(v, g) }) : T === "boolean" ? /* @__PURE__ */ p(ke, { children: /* @__PURE__ */ p(
|
|
16096
16103
|
ke,
|
|
16097
16104
|
{
|
|
16098
16105
|
component: "span",
|
|
@@ -16109,15 +16116,15 @@ const K0 = (e) => {
|
|
|
16109
16116
|
const {
|
|
16110
16117
|
key: O,
|
|
16111
16118
|
handler: C,
|
|
16112
|
-
icon:
|
|
16113
|
-
...
|
|
16119
|
+
icon: T = /* @__PURE__ */ p(No, {}),
|
|
16120
|
+
...E
|
|
16114
16121
|
} = g;
|
|
16115
16122
|
return /* @__PURE__ */ p(
|
|
16116
16123
|
st,
|
|
16117
16124
|
{
|
|
16118
16125
|
onClick: (y) => (y.preventDefault(), typeof C == "function" ? C({ ...u, record: v }, O) : !1),
|
|
16119
|
-
...
|
|
16120
|
-
children:
|
|
16126
|
+
...E,
|
|
16127
|
+
children: T
|
|
16121
16128
|
},
|
|
16122
16129
|
`actionbutton-${b}}`
|
|
16123
16130
|
);
|
|
@@ -16563,14 +16570,14 @@ const ai = 550, pE = 80, fE = lo(uc || (uc = ba`
|
|
|
16563
16570
|
x.useEffect(() => {
|
|
16564
16571
|
m.current && (m.current(), m.current = null);
|
|
16565
16572
|
}, [c]);
|
|
16566
|
-
const f = x.useRef(!1), h = _r(), v = x.useRef(null), g = x.useRef(null), b = x.useCallback((
|
|
16573
|
+
const f = x.useRef(!1), h = _r(), v = x.useRef(null), g = x.useRef(null), b = x.useCallback((E) => {
|
|
16567
16574
|
const {
|
|
16568
16575
|
pulsate: y,
|
|
16569
16576
|
rippleX: F,
|
|
16570
16577
|
rippleY: P,
|
|
16571
16578
|
rippleSize: $,
|
|
16572
16579
|
cb: w
|
|
16573
|
-
} =
|
|
16580
|
+
} = E;
|
|
16574
16581
|
u((R) => [...R, /* @__PURE__ */ p(bE, {
|
|
16575
16582
|
classes: {
|
|
16576
16583
|
ripple: q(i.ripple, ht.ripple),
|
|
@@ -16586,7 +16593,7 @@ const ai = 550, pE = 80, fE = lo(uc || (uc = ba`
|
|
|
16586
16593
|
rippleY: P,
|
|
16587
16594
|
rippleSize: $
|
|
16588
16595
|
}, d.current)]), d.current += 1, m.current = w;
|
|
16589
|
-
}, [i]), O = x.useCallback((
|
|
16596
|
+
}, [i]), O = x.useCallback((E = {}, y = {}, F = () => {
|
|
16590
16597
|
}) => {
|
|
16591
16598
|
const {
|
|
16592
16599
|
pulsate: P = !1,
|
|
@@ -16594,11 +16601,11 @@ const ai = 550, pE = 80, fE = lo(uc || (uc = ba`
|
|
|
16594
16601
|
fakeElement: w = !1
|
|
16595
16602
|
// For test purposes
|
|
16596
16603
|
} = y;
|
|
16597
|
-
if ((
|
|
16604
|
+
if ((E == null ? void 0 : E.type) === "mousedown" && f.current) {
|
|
16598
16605
|
f.current = !1;
|
|
16599
16606
|
return;
|
|
16600
16607
|
}
|
|
16601
|
-
(
|
|
16608
|
+
(E == null ? void 0 : E.type) === "touchstart" && (f.current = !0);
|
|
16602
16609
|
const R = w ? null : g.current, k = R ? R.getBoundingClientRect() : {
|
|
16603
16610
|
width: 0,
|
|
16604
16611
|
height: 0,
|
|
@@ -16606,13 +16613,13 @@ const ai = 550, pE = 80, fE = lo(uc || (uc = ba`
|
|
|
16606
16613
|
top: 0
|
|
16607
16614
|
};
|
|
16608
16615
|
let D, L, N;
|
|
16609
|
-
if ($ ||
|
|
16616
|
+
if ($ || E === void 0 || E.clientX === 0 && E.clientY === 0 || !E.clientX && !E.touches)
|
|
16610
16617
|
D = Math.round(k.width / 2), L = Math.round(k.height / 2);
|
|
16611
16618
|
else {
|
|
16612
16619
|
const {
|
|
16613
16620
|
clientX: _,
|
|
16614
16621
|
clientY: A
|
|
16615
|
-
} =
|
|
16622
|
+
} = E.touches && E.touches.length > 0 ? E.touches[0] : E;
|
|
16616
16623
|
D = Math.round(_ - k.left), L = Math.round(A - k.top);
|
|
16617
16624
|
}
|
|
16618
16625
|
if ($)
|
|
@@ -16621,7 +16628,7 @@ const ai = 550, pE = 80, fE = lo(uc || (uc = ba`
|
|
|
16621
16628
|
const _ = Math.max(Math.abs((R ? R.clientWidth : 0) - D), D) * 2 + 2, A = Math.max(Math.abs((R ? R.clientHeight : 0) - L), L) * 2 + 2;
|
|
16622
16629
|
N = Math.sqrt(_ ** 2 + A ** 2);
|
|
16623
16630
|
}
|
|
16624
|
-
|
|
16631
|
+
E != null && E.touches ? v.current === null && (v.current = () => {
|
|
16625
16632
|
b({
|
|
16626
16633
|
pulsate: P,
|
|
16627
16634
|
rippleX: D,
|
|
@@ -16642,10 +16649,10 @@ const ai = 550, pE = 80, fE = lo(uc || (uc = ba`
|
|
|
16642
16649
|
O({}, {
|
|
16643
16650
|
pulsate: !0
|
|
16644
16651
|
});
|
|
16645
|
-
}, [O]),
|
|
16646
|
-
if (h.clear(), (
|
|
16652
|
+
}, [O]), T = x.useCallback((E, y) => {
|
|
16653
|
+
if (h.clear(), (E == null ? void 0 : E.type) === "touchend" && v.current) {
|
|
16647
16654
|
v.current(), v.current = null, h.start(0, () => {
|
|
16648
|
-
E
|
|
16655
|
+
T(E, y);
|
|
16649
16656
|
});
|
|
16650
16657
|
return;
|
|
16651
16658
|
}
|
|
@@ -16654,8 +16661,8 @@ const ai = 550, pE = 80, fE = lo(uc || (uc = ba`
|
|
|
16654
16661
|
return x.useImperativeHandle(r, () => ({
|
|
16655
16662
|
pulsate: C,
|
|
16656
16663
|
start: O,
|
|
16657
|
-
stop:
|
|
16658
|
-
}), [C, O,
|
|
16664
|
+
stop: T
|
|
16665
|
+
}), [C, O, T]), /* @__PURE__ */ p(gE, S({
|
|
16659
16666
|
className: q(ht.root, i.root, l),
|
|
16660
16667
|
ref: g
|
|
16661
16668
|
}, s, {
|
|
@@ -16757,8 +16764,8 @@ const yE = fe("MuiButtonBase", ["root", "disabled", "focusVisible"]), OE = ["act
|
|
|
16757
16764
|
onContextMenu: b,
|
|
16758
16765
|
onDragLeave: O,
|
|
16759
16766
|
onFocus: C,
|
|
16760
|
-
onFocusVisible:
|
|
16761
|
-
onKeyDown:
|
|
16767
|
+
onFocusVisible: T,
|
|
16768
|
+
onKeyDown: E,
|
|
16762
16769
|
onKeyUp: y,
|
|
16763
16770
|
onMouseDown: F,
|
|
16764
16771
|
onMouseLeave: P,
|
|
@@ -16797,14 +16804,14 @@ const yE = fe("MuiButtonBase", ["root", "disabled", "focusVisible"]), OE = ["act
|
|
|
16797
16804
|
}), te = U("start", k), Re = U("stop", w), Ce = U("stop", R), pe = U("stop", (Q) => {
|
|
16798
16805
|
re(Q), J.current === !1 && ee(!1), v && v(Q);
|
|
16799
16806
|
}, !1), Je = jt((Q) => {
|
|
16800
|
-
j.current || (j.current = Q.currentTarget), Y(Q), J.current === !0 && (ee(!0),
|
|
16807
|
+
j.current || (j.current = Q.currentTarget), Y(Q), J.current === !0 && (ee(!0), T && T(Q)), C && C(Q);
|
|
16801
16808
|
}), le = () => {
|
|
16802
16809
|
const Q = j.current;
|
|
16803
16810
|
return c && c !== "button" && !(Q.tagName === "A" && Q.href);
|
|
16804
16811
|
}, Be = x.useRef(!1), ze = jt((Q) => {
|
|
16805
16812
|
f && !Be.current && oe && M.current && Q.key === " " && (Be.current = !0, M.current.stop(Q, () => {
|
|
16806
16813
|
M.current.start(Q);
|
|
16807
|
-
})), Q.target === Q.currentTarget && le() && Q.key === " " && Q.preventDefault(),
|
|
16814
|
+
})), Q.target === Q.currentTarget && le() && Q.key === " " && Q.preventDefault(), E && E(Q), Q.target === Q.currentTarget && le() && Q.key === "Enter" && !u && (Q.preventDefault(), g && g(Q));
|
|
16808
16815
|
}), et = jt((Q) => {
|
|
16809
16816
|
f && Q.key === " " && M.current && oe && !Q.defaultPrevented && (Be.current = !1, M.current.stop(Q, () => {
|
|
16810
16817
|
M.current.pulsate(Q);
|
|
@@ -17134,8 +17141,8 @@ const or = fe("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrim
|
|
|
17134
17141
|
// eslint-disable-next-line react/prop-types
|
|
17135
17142
|
textColor: O = "inherit",
|
|
17136
17143
|
value: C,
|
|
17137
|
-
wrapped:
|
|
17138
|
-
} = o,
|
|
17144
|
+
wrapped: T = !1
|
|
17145
|
+
} = o, E = W(o, TE), y = S({}, o, {
|
|
17139
17146
|
disabled: i,
|
|
17140
17147
|
disableFocusRipple: l,
|
|
17141
17148
|
selected: g,
|
|
@@ -17144,7 +17151,7 @@ const or = fe("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrim
|
|
|
17144
17151
|
label: !!m,
|
|
17145
17152
|
fullWidth: s,
|
|
17146
17153
|
textColor: O,
|
|
17147
|
-
wrapped:
|
|
17154
|
+
wrapped: T
|
|
17148
17155
|
}), F = PE(y), P = c && m && /* @__PURE__ */ x.isValidElement(c) ? /* @__PURE__ */ x.cloneElement(c, {
|
|
17149
17156
|
className: q(F.iconWrapper, c.props.className)
|
|
17150
17157
|
}) : c, $ = (R) => {
|
|
@@ -17163,7 +17170,7 @@ const or = fe("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrim
|
|
|
17163
17170
|
onFocus: w,
|
|
17164
17171
|
ownerState: y,
|
|
17165
17172
|
tabIndex: g ? 0 : -1
|
|
17166
|
-
},
|
|
17173
|
+
}, E, {
|
|
17167
17174
|
children: [u === "top" || u === "start" ? /* @__PURE__ */ V(x.Fragment, {
|
|
17168
17175
|
children: [P, m]
|
|
17169
17176
|
}) : /* @__PURE__ */ V(x.Fragment, {
|
|
@@ -17635,8 +17642,8 @@ const op = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
17635
17642
|
orientation: b = "horizontal",
|
|
17636
17643
|
ScrollButtonComponent: O = rp,
|
|
17637
17644
|
scrollButtons: C = "auto",
|
|
17638
|
-
selectionFollowsFocus:
|
|
17639
|
-
slots:
|
|
17645
|
+
selectionFollowsFocus: T,
|
|
17646
|
+
slots: E = {},
|
|
17640
17647
|
slotProps: y = {},
|
|
17641
17648
|
TabIndicatorProps: F = {},
|
|
17642
17649
|
TabScrollButtonProps: P = {},
|
|
@@ -17661,11 +17668,11 @@ const op = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
17661
17668
|
centered: u && !L,
|
|
17662
17669
|
scrollButtonsHideMobile: !h
|
|
17663
17670
|
}), Y = zE(J), re = Rt({
|
|
17664
|
-
elementType:
|
|
17671
|
+
elementType: E.StartScrollButtonIcon,
|
|
17665
17672
|
externalSlotProps: y.startScrollButtonIcon,
|
|
17666
17673
|
ownerState: J
|
|
17667
17674
|
}), Te = Rt({
|
|
17668
|
-
elementType:
|
|
17675
|
+
elementType: E.EndScrollButtonIcon,
|
|
17669
17676
|
externalSlotProps: y.endScrollButtonIcon,
|
|
17670
17677
|
ownerState: J
|
|
17671
17678
|
});
|
|
@@ -17768,7 +17775,7 @@ const op = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
17768
17775
|
const se = L && (C === "auto" && (ie || ve) || C === !0);
|
|
17769
17776
|
return H.scrollButtonStart = se ? /* @__PURE__ */ p(O, S({
|
|
17770
17777
|
slots: {
|
|
17771
|
-
StartScrollButtonIcon:
|
|
17778
|
+
StartScrollButtonIcon: E.StartScrollButtonIcon
|
|
17772
17779
|
},
|
|
17773
17780
|
slotProps: {
|
|
17774
17781
|
startScrollButtonIcon: re
|
|
@@ -17781,7 +17788,7 @@ const op = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
17781
17788
|
className: q(Y.scrollButtons, P.className)
|
|
17782
17789
|
})) : null, H.scrollButtonEnd = se ? /* @__PURE__ */ p(O, S({
|
|
17783
17790
|
slots: {
|
|
17784
|
-
EndScrollButtonIcon:
|
|
17791
|
+
EndScrollButtonIcon: E.EndScrollButtonIcon
|
|
17785
17792
|
},
|
|
17786
17793
|
slotProps: {
|
|
17787
17794
|
endScrollButtonIcon: Te
|
|
@@ -17885,7 +17892,7 @@ const op = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
17885
17892
|
fullWidth: R === "fullWidth",
|
|
17886
17893
|
indicator: se && !oe && Ze,
|
|
17887
17894
|
selected: se,
|
|
17888
|
-
selectionFollowsFocus:
|
|
17895
|
+
selectionFollowsFocus: T,
|
|
17889
17896
|
onChange: g,
|
|
17890
17897
|
textColor: $,
|
|
17891
17898
|
value: K
|
|
@@ -18836,8 +18843,8 @@ const at = (e) => {
|
|
|
18836
18843
|
} = s || {}, h = d === !0 ? ip : void 0, v = typeof m == "function" ? m : () => m, { [t]: g = {}, etrs: b } = a, {
|
|
18837
18844
|
onFocus: O,
|
|
18838
18845
|
onChange: C,
|
|
18839
|
-
onBlur:
|
|
18840
|
-
hidden:
|
|
18846
|
+
onBlur: T,
|
|
18847
|
+
hidden: E = !1,
|
|
18841
18848
|
disabled: y = !1,
|
|
18842
18849
|
validate: F,
|
|
18843
18850
|
...P
|
|
@@ -18850,7 +18857,7 @@ const at = (e) => {
|
|
|
18850
18857
|
useContenido: N = ur,
|
|
18851
18858
|
validate: _,
|
|
18852
18859
|
...A
|
|
18853
|
-
} = g, j = l || D === void 0 ?
|
|
18860
|
+
} = g, j = l || D === void 0 ? E : D, M = l || L === void 0 ? y : L, z = l || w === void 0 ? O : w, J = l || R === void 0 ? T : R, Y = l || k === void 0 ? C : k, re = Yt({ ...e, etrs: b, asisEtr: i }), Te = N({
|
|
18854
18861
|
...P,
|
|
18855
18862
|
estado: r,
|
|
18856
18863
|
hidden: j,
|
|
@@ -18968,8 +18975,8 @@ const at = (e) => {
|
|
|
18968
18975
|
onToggleItem: b,
|
|
18969
18976
|
isLoading: O,
|
|
18970
18977
|
exporter: C,
|
|
18971
|
-
hideFilter:
|
|
18972
|
-
hasCreate:
|
|
18978
|
+
hideFilter: T,
|
|
18979
|
+
hasCreate: E,
|
|
18973
18980
|
filterValues: y,
|
|
18974
18981
|
displayedFilters: F,
|
|
18975
18982
|
sort: P,
|
|
@@ -19588,7 +19595,7 @@ const AP = {
|
|
|
19588
19595
|
timeout: g = "auto",
|
|
19589
19596
|
// eslint-disable-next-line react/prop-types
|
|
19590
19597
|
TransitionComponent: b = kt
|
|
19591
|
-
} = t, O = W(t, LP), C = _r(),
|
|
19598
|
+
} = t, O = W(t, LP), C = _r(), T = x.useRef(), E = Fr(), y = x.useRef(null), F = Ot(y, i.ref, r), P = (_) => (A) => {
|
|
19592
19599
|
if (_) {
|
|
19593
19600
|
const j = y.current;
|
|
19594
19601
|
A === void 0 ? _(j) : _(j, A);
|
|
@@ -19607,10 +19614,10 @@ const AP = {
|
|
|
19607
19614
|
mode: "enter"
|
|
19608
19615
|
});
|
|
19609
19616
|
let J;
|
|
19610
|
-
g === "auto" ? (J =
|
|
19617
|
+
g === "auto" ? (J = E.transitions.getAutoHeightDuration(_.clientHeight), T.current = J) : J = j, _.style.transition = [E.transitions.create("opacity", {
|
|
19611
19618
|
duration: J,
|
|
19612
19619
|
delay: M
|
|
19613
|
-
}),
|
|
19620
|
+
}), E.transitions.create("transform", {
|
|
19614
19621
|
duration: ja ? J : J * 0.666,
|
|
19615
19622
|
delay: M,
|
|
19616
19623
|
easing: z
|
|
@@ -19628,10 +19635,10 @@ const AP = {
|
|
|
19628
19635
|
mode: "exit"
|
|
19629
19636
|
});
|
|
19630
19637
|
let z;
|
|
19631
|
-
g === "auto" ? (z =
|
|
19638
|
+
g === "auto" ? (z = E.transitions.getAutoHeightDuration(_.clientHeight), T.current = z) : z = A, _.style.transition = [E.transitions.create("opacity", {
|
|
19632
19639
|
duration: z,
|
|
19633
19640
|
delay: j
|
|
19634
|
-
}),
|
|
19641
|
+
}), E.transitions.create("transform", {
|
|
19635
19642
|
duration: ja ? z : z * 0.666,
|
|
19636
19643
|
delay: ja ? j : j || z * 0.333,
|
|
19637
19644
|
easing: M
|
|
@@ -19648,7 +19655,7 @@ const AP = {
|
|
|
19648
19655
|
onExited: L,
|
|
19649
19656
|
onExiting: k,
|
|
19650
19657
|
addEndListener: (_) => {
|
|
19651
|
-
g === "auto" && C.start(
|
|
19658
|
+
g === "auto" && C.start(T.current || 0, _), o && o(y.current, _);
|
|
19652
19659
|
},
|
|
19653
19660
|
timeout: g === "auto" ? null : g
|
|
19654
19661
|
}, O, {
|
|
@@ -19945,7 +19952,7 @@ var JP = function(t, r) {
|
|
|
19945
19952
|
function eC(e) {
|
|
19946
19953
|
var t, r = e.state, o = e.name, a = e.options, i = r.elements.arrow, l = r.modifiersData.popperOffsets, s = Ht(r.placement), c = Rl(s), u = [ot, St].indexOf(s) >= 0, d = u ? "height" : "width";
|
|
19947
19954
|
if (!(!i || !l)) {
|
|
19948
|
-
var m = JP(a.padding, r), f = wl(i), h = c === "y" ? rt : ot, v = c === "y" ? xt : St, g = r.rects.reference[d] + r.rects.reference[c] - l[c] - r.rects.popper[d], b = l[c] - r.rects.reference[c], O = ln(i), C = O ? c === "y" ? O.clientHeight || 0 : O.clientWidth || 0 : 0,
|
|
19955
|
+
var m = JP(a.padding, r), f = wl(i), h = c === "y" ? rt : ot, v = c === "y" ? xt : St, g = r.rects.reference[d] + r.rects.reference[c] - l[c] - r.rects.popper[d], b = l[c] - r.rects.reference[c], O = ln(i), C = O ? c === "y" ? O.clientHeight || 0 : O.clientWidth || 0 : 0, T = g / 2 - b / 2, E = m[h], y = C - f[d] - m[v], F = C / 2 - f[d] / 2 + T, P = Co(E, F, y), $ = c;
|
|
19949
19956
|
r.modifiersData[o] = (t = {}, t[$] = P, t.centerOffset = P - F, t);
|
|
19950
19957
|
}
|
|
19951
19958
|
}
|
|
@@ -19987,11 +19994,11 @@ function Sc(e) {
|
|
|
19987
19994
|
y: g
|
|
19988
19995
|
};
|
|
19989
19996
|
h = b.x, g = b.y;
|
|
19990
|
-
var O = l.hasOwnProperty("x"), C = l.hasOwnProperty("y"),
|
|
19997
|
+
var O = l.hasOwnProperty("x"), C = l.hasOwnProperty("y"), T = ot, E = rt, y = window;
|
|
19991
19998
|
if (u) {
|
|
19992
19999
|
var F = ln(r), P = "clientHeight", $ = "clientWidth";
|
|
19993
20000
|
if (F === dt(r) && (F = dr(r), Jt(F).position !== "static" && s === "absolute" && (P = "scrollHeight", $ = "scrollWidth")), F = F, a === rt || (a === ot || a === St) && i === Vo) {
|
|
19994
|
-
|
|
20001
|
+
E = xt;
|
|
19995
20002
|
var w = m && F === y && y.visualViewport ? y.visualViewport.height : (
|
|
19996
20003
|
// $FlowFixMe[prop-missing]
|
|
19997
20004
|
F[P]
|
|
@@ -19999,7 +20006,7 @@ function Sc(e) {
|
|
|
19999
20006
|
g -= w - o.height, g *= c ? 1 : -1;
|
|
20000
20007
|
}
|
|
20001
20008
|
if (a === ot || (a === rt || a === xt) && i === Vo) {
|
|
20002
|
-
|
|
20009
|
+
T = St;
|
|
20003
20010
|
var R = m && F === y && y.visualViewport ? y.visualViewport.width : (
|
|
20004
20011
|
// $FlowFixMe[prop-missing]
|
|
20005
20012
|
F[$]
|
|
@@ -20018,9 +20025,9 @@ function Sc(e) {
|
|
|
20018
20025
|
};
|
|
20019
20026
|
if (h = D.x, g = D.y, c) {
|
|
20020
20027
|
var L;
|
|
20021
|
-
return Object.assign({}, k, (L = {}, L[
|
|
20028
|
+
return Object.assign({}, k, (L = {}, L[E] = C ? "0" : "", L[T] = O ? "0" : "", L.transform = (y.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + g + "px)" : "translate3d(" + h + "px, " + g + "px, 0)", L));
|
|
20022
20029
|
}
|
|
20023
|
-
return Object.assign({}, k, (t = {}, t[
|
|
20030
|
+
return Object.assign({}, k, (t = {}, t[E] = C ? g + "px" : "", t[T] = O ? h + "px" : "", t.transform = "", t));
|
|
20024
20031
|
}
|
|
20025
20032
|
function aC(e) {
|
|
20026
20033
|
var t = e.state, r = e.options, o = r.gpuAcceleration, a = o === void 0 ? !0 : o, i = r.adaptive, l = i === void 0 ? !0 : i, s = r.roundOffsets, c = s === void 0 ? !0 : s, u = {
|
|
@@ -20220,12 +20227,12 @@ function Tp(e) {
|
|
|
20220
20227
|
}
|
|
20221
20228
|
function Bo(e, t) {
|
|
20222
20229
|
t === void 0 && (t = {});
|
|
20223
|
-
var r = t, o = r.placement, a = o === void 0 ? e.placement : o, i = r.strategy, l = i === void 0 ? e.strategy : i, s = r.boundary, c = s === void 0 ? IP : s, u = r.rootBoundary, d = u === void 0 ? gp : u, m = r.elementContext, f = m === void 0 ? yo : m, h = r.altBoundary, v = h === void 0 ? !1 : h, g = r.padding, b = g === void 0 ? 0 : g, O = xp(typeof b != "number" ? b : Sp(b, an)), C = f === yo ? DP : yo,
|
|
20230
|
+
var r = t, o = r.placement, a = o === void 0 ? e.placement : o, i = r.strategy, l = i === void 0 ? e.strategy : i, s = r.boundary, c = s === void 0 ? IP : s, u = r.rootBoundary, d = u === void 0 ? gp : u, m = r.elementContext, f = m === void 0 ? yo : m, h = r.altBoundary, v = h === void 0 ? !1 : h, g = r.padding, b = g === void 0 ? 0 : g, O = xp(typeof b != "number" ? b : Sp(b, an)), C = f === yo ? DP : yo, T = e.rects.popper, E = e.elements[v ? C : f], y = hC(Pr(E) ? E : E.contextElement || dr(e.elements.popper), c, d, l), F = to(e.elements.reference), P = Tp({
|
|
20224
20231
|
reference: F,
|
|
20225
|
-
element:
|
|
20232
|
+
element: T,
|
|
20226
20233
|
strategy: "absolute",
|
|
20227
20234
|
placement: a
|
|
20228
|
-
}), $ = si(Object.assign({},
|
|
20235
|
+
}), $ = si(Object.assign({}, T, P)), w = f === yo ? $ : F, R = {
|
|
20229
20236
|
top: y.top - w.top + O.top,
|
|
20230
20237
|
bottom: w.bottom - y.bottom + O.bottom,
|
|
20231
20238
|
left: y.left - w.left + O.left,
|
|
@@ -20269,7 +20276,7 @@ function bC(e) {
|
|
|
20269
20276
|
function vC(e) {
|
|
20270
20277
|
var t = e.state, r = e.options, o = e.name;
|
|
20271
20278
|
if (!t.modifiersData[o]._skip) {
|
|
20272
|
-
for (var a = r.mainAxis, i = a === void 0 ? !0 : a, l = r.altAxis, s = l === void 0 ? !0 : l, c = r.fallbackPlacements, u = r.padding, d = r.boundary, m = r.rootBoundary, f = r.altBoundary, h = r.flipVariations, v = h === void 0 ? !0 : h, g = r.allowedAutoPlacements, b = t.options.placement, O = Ht(b), C = O === b,
|
|
20279
|
+
for (var a = r.mainAxis, i = a === void 0 ? !0 : a, l = r.altAxis, s = l === void 0 ? !0 : l, c = r.fallbackPlacements, u = r.padding, d = r.boundary, m = r.rootBoundary, f = r.altBoundary, h = r.flipVariations, v = h === void 0 ? !0 : h, g = r.allowedAutoPlacements, b = t.options.placement, O = Ht(b), C = O === b, T = c || (C || !v ? [Cn(b)] : bC(b)), E = [b].concat(T).reduce(function(oe, ee) {
|
|
20273
20280
|
return oe.concat(Ht(ee) === Cl ? gC(t, {
|
|
20274
20281
|
placement: ee,
|
|
20275
20282
|
boundary: d,
|
|
@@ -20278,8 +20285,8 @@ function vC(e) {
|
|
|
20278
20285
|
flipVariations: v,
|
|
20279
20286
|
allowedAutoPlacements: g
|
|
20280
20287
|
}) : ee);
|
|
20281
|
-
}, []), y = t.rects.reference, F = t.rects.popper, P = /* @__PURE__ */ new Map(), $ = !0, w =
|
|
20282
|
-
var k =
|
|
20288
|
+
}, []), y = t.rects.reference, F = t.rects.popper, P = /* @__PURE__ */ new Map(), $ = !0, w = E[0], R = 0; R < E.length; R++) {
|
|
20289
|
+
var k = E[R], D = Ht(k), L = ro(k) === Jr, N = [rt, xt].indexOf(D) >= 0, _ = N ? "width" : "height", A = Bo(t, {
|
|
20283
20290
|
placement: k,
|
|
20284
20291
|
boundary: d,
|
|
20285
20292
|
rootBoundary: m,
|
|
@@ -20298,7 +20305,7 @@ function vC(e) {
|
|
|
20298
20305
|
}
|
|
20299
20306
|
if ($)
|
|
20300
20307
|
for (var J = v ? 3 : 1, Y = function(ee) {
|
|
20301
|
-
var ne =
|
|
20308
|
+
var ne = E.find(function(ce) {
|
|
20302
20309
|
var ie = P.get(ce);
|
|
20303
20310
|
if (ie)
|
|
20304
20311
|
return ie.slice(0, ee).every(function(U) {
|
|
@@ -20413,7 +20420,7 @@ function wC(e) {
|
|
|
20413
20420
|
rootBoundary: u,
|
|
20414
20421
|
padding: m,
|
|
20415
20422
|
altBoundary: d
|
|
20416
|
-
}), O = Ht(t.placement), C = ro(t.placement),
|
|
20423
|
+
}), O = Ht(t.placement), C = ro(t.placement), T = !C, E = Rl(O), y = FC(E), F = t.modifiersData.popperOffsets, P = t.rects.reference, $ = t.rects.popper, w = typeof g == "function" ? g(Object.assign({}, t.rects, {
|
|
20417
20424
|
placement: t.placement
|
|
20418
20425
|
})) : g, R = typeof w == "number" ? {
|
|
20419
20426
|
mainAxis: w,
|
|
@@ -20427,14 +20434,14 @@ function wC(e) {
|
|
|
20427
20434
|
};
|
|
20428
20435
|
if (F) {
|
|
20429
20436
|
if (i) {
|
|
20430
|
-
var L, N =
|
|
20437
|
+
var L, N = E === "y" ? rt : ot, _ = E === "y" ? xt : St, A = E === "y" ? "height" : "width", j = F[E], M = j + b[N], z = j - b[_], J = h ? -$[A] / 2 : 0, Y = C === Jr ? P[A] : $[A], re = C === Jr ? -$[A] : -P[A], Te = t.elements.arrow, oe = h && Te ? wl(Te) : {
|
|
20431
20438
|
width: 0,
|
|
20432
20439
|
height: 0
|
|
20433
|
-
}, ee = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Op(), ne = ee[N], ce = ee[_], ie = Co(0, P[A], oe[A]), U =
|
|
20434
|
-
F[
|
|
20440
|
+
}, ee = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Op(), ne = ee[N], ce = ee[_], ie = Co(0, P[A], oe[A]), U = T ? P[A] / 2 - J - ie - ne - R.mainAxis : Y - ie - ne - R.mainAxis, ve = T ? -P[A] / 2 + J + ie + ce + R.mainAxis : re + ie + ce + R.mainAxis, Pe = t.elements.arrow && ln(t.elements.arrow), B = Pe ? E === "y" ? Pe.clientTop || 0 : Pe.clientLeft || 0 : 0, Z = (L = k == null ? void 0 : k[E]) != null ? L : 0, I = j + U - Z - B, te = j + ve - Z, Re = Co(h ? jn(M, I) : M, j, h ? br(z, te) : z);
|
|
20441
|
+
F[E] = Re, D[E] = Re - j;
|
|
20435
20442
|
}
|
|
20436
20443
|
if (s) {
|
|
20437
|
-
var Ce, pe =
|
|
20444
|
+
var Ce, pe = E === "x" ? rt : ot, Je = E === "x" ? xt : St, le = F[y], Be = y === "y" ? "height" : "width", ze = le + b[pe], et = le - b[Je], Me = [rt, ot].indexOf(O) !== -1, tt = (Ce = k == null ? void 0 : k[y]) != null ? Ce : 0, Pt = Me ? ze : le - P[Be] - $[Be] - tt + R.altAxis, $t = Me ? le + P[Be] + $[Be] - tt - R.altAxis : et, Qt = h && Me ? ZP(Pt, le, $t) : Co(h ? Pt : ze, le, h ? $t : et);
|
|
20438
20445
|
F[y] = Qt, D[y] = Qt - le;
|
|
20439
20446
|
}
|
|
20440
20447
|
t.modifiersData[o] = D;
|
|
@@ -20562,9 +20569,9 @@ function _C(e) {
|
|
|
20562
20569
|
reference: Pr(s) ? Fo(s) : s.contextElement ? Fo(s.contextElement) : [],
|
|
20563
20570
|
popper: Fo(c)
|
|
20564
20571
|
};
|
|
20565
|
-
var
|
|
20566
|
-
return d.orderedModifiers =
|
|
20567
|
-
return
|
|
20572
|
+
var T = IC(NC([].concat(o, d.options.modifiers)));
|
|
20573
|
+
return d.orderedModifiers = T.filter(function(E) {
|
|
20574
|
+
return E.enabled;
|
|
20568
20575
|
}), v(), h.update();
|
|
20569
20576
|
},
|
|
20570
20577
|
// Sync update – it will always be executed, even if not necessary. This
|
|
@@ -20574,20 +20581,20 @@ function _C(e) {
|
|
|
20574
20581
|
// prefer the async Popper#update method
|
|
20575
20582
|
forceUpdate: function() {
|
|
20576
20583
|
if (!f) {
|
|
20577
|
-
var O = d.elements, C = O.reference,
|
|
20578
|
-
if (wc(C,
|
|
20584
|
+
var O = d.elements, C = O.reference, T = O.popper;
|
|
20585
|
+
if (wc(C, T)) {
|
|
20579
20586
|
d.rects = {
|
|
20580
|
-
reference: LC(C, ln(
|
|
20581
|
-
popper: wl(
|
|
20587
|
+
reference: LC(C, ln(T), d.options.strategy === "fixed"),
|
|
20588
|
+
popper: wl(T)
|
|
20582
20589
|
}, d.reset = !1, d.placement = d.options.placement, d.orderedModifiers.forEach(function(R) {
|
|
20583
20590
|
return d.modifiersData[R.name] = Object.assign({}, R.data);
|
|
20584
20591
|
});
|
|
20585
|
-
for (var
|
|
20592
|
+
for (var E = 0; E < d.orderedModifiers.length; E++) {
|
|
20586
20593
|
if (d.reset === !0) {
|
|
20587
|
-
d.reset = !1,
|
|
20594
|
+
d.reset = !1, E = -1;
|
|
20588
20595
|
continue;
|
|
20589
20596
|
}
|
|
20590
|
-
var y = d.orderedModifiers[
|
|
20597
|
+
var y = d.orderedModifiers[E], F = y.fn, P = y.options, $ = P === void 0 ? {} : P, w = y.name;
|
|
20591
20598
|
typeof F == "function" && (d = F({
|
|
20592
20599
|
state: d,
|
|
20593
20600
|
options: $,
|
|
@@ -20616,13 +20623,13 @@ function _C(e) {
|
|
|
20616
20623
|
});
|
|
20617
20624
|
function v() {
|
|
20618
20625
|
d.orderedModifiers.forEach(function(b) {
|
|
20619
|
-
var O = b.name, C = b.options,
|
|
20620
|
-
if (typeof
|
|
20621
|
-
var y =
|
|
20626
|
+
var O = b.name, C = b.options, T = C === void 0 ? {} : C, E = b.effect;
|
|
20627
|
+
if (typeof E == "function") {
|
|
20628
|
+
var y = E({
|
|
20622
20629
|
state: d,
|
|
20623
20630
|
name: O,
|
|
20624
20631
|
instance: h,
|
|
20625
|
-
options:
|
|
20632
|
+
options: T
|
|
20626
20633
|
}), F = function() {
|
|
20627
20634
|
};
|
|
20628
20635
|
m.push(y || F);
|
|
@@ -20707,13 +20714,13 @@ const YC = () => Lm({
|
|
|
20707
20714
|
TransitionProps: g
|
|
20708
20715
|
// @ts-ignore internal logic
|
|
20709
20716
|
// prevent from spreading to DOM, it can come from the parent component e.g. Select.
|
|
20710
|
-
} = t, b = W(t, UC), O = x.useRef(null), C = Gr(O, r),
|
|
20717
|
+
} = t, b = W(t, UC), O = x.useRef(null), C = Gr(O, r), T = x.useRef(null), E = Gr(T, f), y = x.useRef(E);
|
|
20711
20718
|
Mo(() => {
|
|
20712
|
-
y.current =
|
|
20713
|
-
}, [
|
|
20719
|
+
y.current = E;
|
|
20720
|
+
}, [E]), x.useImperativeHandle(f, () => T.current, []);
|
|
20714
20721
|
const F = qC(d, l), [P, $] = x.useState(F), [w, R] = x.useState(Vn(a));
|
|
20715
20722
|
x.useEffect(() => {
|
|
20716
|
-
|
|
20723
|
+
T.current && T.current.forceUpdate();
|
|
20717
20724
|
}), x.useEffect(() => {
|
|
20718
20725
|
a && R(Vn(a));
|
|
20719
20726
|
}, [a]), Mo(() => {
|
|
@@ -20792,12 +20799,12 @@ const YC = () => Lm({
|
|
|
20792
20799
|
transition: g = !1,
|
|
20793
20800
|
slotProps: b = {},
|
|
20794
20801
|
slots: O = {}
|
|
20795
|
-
} = t, C = W(t, GC), [
|
|
20796
|
-
|
|
20802
|
+
} = t, C = W(t, GC), [T, E] = x.useState(!0), y = () => {
|
|
20803
|
+
E(!1);
|
|
20797
20804
|
}, F = () => {
|
|
20798
|
-
|
|
20805
|
+
E(!0);
|
|
20799
20806
|
};
|
|
20800
|
-
if (!c && !d && (!g ||
|
|
20807
|
+
if (!c && !d && (!g || T))
|
|
20801
20808
|
return null;
|
|
20802
20809
|
let P;
|
|
20803
20810
|
if (i)
|
|
@@ -20806,7 +20813,7 @@ const YC = () => Lm({
|
|
|
20806
20813
|
const R = Vn(o);
|
|
20807
20814
|
P = R && ya(R) ? Vt(R).body : Vt(null).body;
|
|
20808
20815
|
}
|
|
20809
|
-
const $ = !d && c && (!g ||
|
|
20816
|
+
const $ = !d && c && (!g || T) ? "none" : void 0, w = g ? {
|
|
20810
20817
|
in: d,
|
|
20811
20818
|
onEnter: y,
|
|
20812
20819
|
onExited: F
|
|
@@ -20820,7 +20827,7 @@ const YC = () => Lm({
|
|
|
20820
20827
|
disablePortal: s,
|
|
20821
20828
|
modifiers: u,
|
|
20822
20829
|
ref: r,
|
|
20823
|
-
open: g ? !
|
|
20830
|
+
open: g ? !T : d,
|
|
20824
20831
|
placement: m,
|
|
20825
20832
|
popperOptions: f,
|
|
20826
20833
|
popperRef: h,
|
|
@@ -21016,9 +21023,9 @@ const o1 = ["anchorEl", "component", "components", "componentsProps", "container
|
|
|
21016
21023
|
popperOptions: b,
|
|
21017
21024
|
popperRef: O,
|
|
21018
21025
|
transition: C,
|
|
21019
|
-
slots:
|
|
21020
|
-
slotProps:
|
|
21021
|
-
} = i, y = W(i, o1), F = (o =
|
|
21026
|
+
slots: T,
|
|
21027
|
+
slotProps: E
|
|
21028
|
+
} = i, y = W(i, o1), F = (o = T == null ? void 0 : T.root) != null ? o : c == null ? void 0 : c.Root, P = S({
|
|
21022
21029
|
anchorEl: l,
|
|
21023
21030
|
container: d,
|
|
21024
21031
|
disablePortal: m,
|
|
@@ -21036,7 +21043,7 @@ const o1 = ["anchorEl", "component", "components", "componentsProps", "container
|
|
|
21036
21043
|
slots: {
|
|
21037
21044
|
root: F
|
|
21038
21045
|
},
|
|
21039
|
-
slotProps:
|
|
21046
|
+
slotProps: E ?? u
|
|
21040
21047
|
}, P, {
|
|
21041
21048
|
ref: r
|
|
21042
21049
|
}));
|
|
@@ -21350,7 +21357,7 @@ function bn(e, t) {
|
|
|
21350
21357
|
};
|
|
21351
21358
|
}
|
|
21352
21359
|
const Il = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
21353
|
-
var o, a, i, l, s, c, u, d, m, f, h, v, g, b, O, C,
|
|
21360
|
+
var o, a, i, l, s, c, u, d, m, f, h, v, g, b, O, C, T, E, y;
|
|
21354
21361
|
const F = he({
|
|
21355
21362
|
props: t,
|
|
21356
21363
|
name: "MuiTooltip"
|
|
@@ -21505,8 +21512,8 @@ const Il = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
21505
21512
|
className: q(Ea.popper, ie == null ? void 0 : ie.className, (h = (v = U.popper) != null ? v : R.popper) == null ? void 0 : h.className)
|
|
21506
21513
|
}), go), lf = jr(ts, S({}, Z, (g = U.transition) != null ? g : R.transition), go), sf = jr(rs, S({}, (b = U.tooltip) != null ? b : R.tooltip, {
|
|
21507
21514
|
className: q(Ea.tooltip, (O = (C = U.tooltip) != null ? C : R.tooltip) == null ? void 0 : O.className)
|
|
21508
|
-
}), go), cf = jr(os, S({}, (
|
|
21509
|
-
className: q(Ea.arrow, (
|
|
21515
|
+
}), go), cf = jr(os, S({}, (T = U.arrow) != null ? T : R.arrow, {
|
|
21516
|
+
className: q(Ea.arrow, (E = (y = U.arrow) != null ? y : R.arrow) == null ? void 0 : E.className)
|
|
21510
21517
|
}), go);
|
|
21511
21518
|
return /* @__PURE__ */ V(x.Fragment, {
|
|
21512
21519
|
children: [/* @__PURE__ */ x.cloneElement(te, ft), /* @__PURE__ */ p(es, S({
|
|
@@ -22054,7 +22061,7 @@ const S1 = (e) => {
|
|
|
22054
22061
|
exporter: m,
|
|
22055
22062
|
showFilter: f,
|
|
22056
22063
|
total: h
|
|
22057
|
-
} = Ur(e), v = Ge(e), { hasCreate: g } = Zc(e), b = we(Kf) || r, O = Ur(e),
|
|
22064
|
+
} = Ur(e), v = Ge(e), { hasCreate: g } = Zc(e), b = we(Kf) || r, O = Ur(e), T = { ...ha(e), ...O };
|
|
22058
22065
|
return delete s.hasCreate, Gt(
|
|
22059
22066
|
() => /* @__PURE__ */ V(eu, { className: t, ...Yf(s), children: [
|
|
22060
22067
|
i ? null : r ? Zt(r, {
|
|
@@ -22076,14 +22083,14 @@ const S1 = (e) => {
|
|
|
22076
22083
|
),
|
|
22077
22084
|
zn.map(
|
|
22078
22085
|
a,
|
|
22079
|
-
(
|
|
22080
|
-
onClick:
|
|
22081
|
-
|
|
22086
|
+
(E, y) => Zt(E, {
|
|
22087
|
+
onClick: E.props.options ? null : (F) => {
|
|
22088
|
+
E.props.onClick && E.props.onClick(F), l(T, E.key);
|
|
22082
22089
|
},
|
|
22083
|
-
options:
|
|
22090
|
+
options: E.props.options ? E.props.options.map((F) => ({
|
|
22084
22091
|
...F,
|
|
22085
22092
|
onClick: (P) => {
|
|
22086
|
-
|
|
22093
|
+
E.props.onClick && E.props.onClick(P), l(T, F.key);
|
|
22087
22094
|
}
|
|
22088
22095
|
})) : null
|
|
22089
22096
|
})
|
|
@@ -22102,7 +22109,7 @@ const S1 = (e) => {
|
|
|
22102
22109
|
i,
|
|
22103
22110
|
m,
|
|
22104
22111
|
g,
|
|
22105
|
-
|
|
22112
|
+
T.data
|
|
22106
22113
|
]
|
|
22107
22114
|
);
|
|
22108
22115
|
};
|
|
@@ -22145,12 +22152,12 @@ function $1(e, t) {
|
|
|
22145
22152
|
component: g
|
|
22146
22153
|
},
|
|
22147
22154
|
internalRef: b
|
|
22148
|
-
} = v, O = W(v.props, k1), C = Ot(b, h == null ? void 0 : h.ref, t.ref),
|
|
22155
|
+
} = v, O = W(v.props, k1), C = Ot(b, h == null ? void 0 : h.ref, t.ref), T = l ? l(O) : {}, E = S({}, a, T), y = g, F = jr(f, S({}, e === "root", !d[e] && s, O, y && {
|
|
22149
22156
|
as: y
|
|
22150
22157
|
}, {
|
|
22151
22158
|
ref: C
|
|
22152
|
-
}),
|
|
22153
|
-
return Object.keys(
|
|
22159
|
+
}), E);
|
|
22160
|
+
return Object.keys(T).forEach((P) => {
|
|
22154
22161
|
delete F[P];
|
|
22155
22162
|
}), [f, F];
|
|
22156
22163
|
}
|
|
@@ -22283,11 +22290,11 @@ const _l = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
22283
22290
|
const O = j1(S({}, d, {
|
|
22284
22291
|
src: f,
|
|
22285
22292
|
srcSet: h
|
|
22286
|
-
})), C = f || h,
|
|
22287
|
-
colorDefault: !
|
|
22293
|
+
})), C = f || h, T = C && O !== "error", E = S({}, o, {
|
|
22294
|
+
colorDefault: !T,
|
|
22288
22295
|
component: s,
|
|
22289
22296
|
variant: v
|
|
22290
|
-
}), y = I1(
|
|
22297
|
+
}), y = I1(E), [F, P] = $1("img", {
|
|
22291
22298
|
className: y.img,
|
|
22292
22299
|
elementType: N1,
|
|
22293
22300
|
externalForwardedProps: {
|
|
@@ -22302,14 +22309,14 @@ const _l = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
22302
22309
|
srcSet: h,
|
|
22303
22310
|
sizes: m
|
|
22304
22311
|
},
|
|
22305
|
-
ownerState:
|
|
22312
|
+
ownerState: E
|
|
22306
22313
|
});
|
|
22307
|
-
return
|
|
22308
|
-
ownerState:
|
|
22314
|
+
return T ? b = /* @__PURE__ */ p(F, S({}, P)) : i || i === 0 ? b = i : C && a ? b = a[0] : b = /* @__PURE__ */ p(_1, {
|
|
22315
|
+
ownerState: E,
|
|
22309
22316
|
className: y.fallback
|
|
22310
22317
|
}), /* @__PURE__ */ p(D1, S({
|
|
22311
22318
|
as: s,
|
|
22312
|
-
ownerState:
|
|
22319
|
+
ownerState: E,
|
|
22313
22320
|
className: q(y.root, l),
|
|
22314
22321
|
ref: r
|
|
22315
22322
|
}, g, {
|
|
@@ -22605,8 +22612,8 @@ const B1 = ["children", "color", "component", "className", "disabled", "disableE
|
|
|
22605
22612
|
fullWidth: b = !1,
|
|
22606
22613
|
size: O = "medium",
|
|
22607
22614
|
startIcon: C,
|
|
22608
|
-
type:
|
|
22609
|
-
variant:
|
|
22615
|
+
type: T,
|
|
22616
|
+
variant: E = "text"
|
|
22610
22617
|
} = l, y = W(l, B1), F = S({}, l, {
|
|
22611
22618
|
color: c,
|
|
22612
22619
|
component: u,
|
|
@@ -22615,8 +22622,8 @@ const B1 = ["children", "color", "component", "className", "disabled", "disableE
|
|
|
22615
22622
|
disableFocusRipple: h,
|
|
22616
22623
|
fullWidth: b,
|
|
22617
22624
|
size: O,
|
|
22618
|
-
type:
|
|
22619
|
-
variant:
|
|
22625
|
+
type: T,
|
|
22626
|
+
variant: E
|
|
22620
22627
|
}), P = z1(F), $ = C && /* @__PURE__ */ p(W1, {
|
|
22621
22628
|
className: P.startIcon,
|
|
22622
22629
|
ownerState: F,
|
|
@@ -22634,7 +22641,7 @@ const B1 = ["children", "color", "component", "className", "disabled", "disableE
|
|
|
22634
22641
|
focusRipple: !h,
|
|
22635
22642
|
focusVisibleClassName: q(P.focusVisible, g),
|
|
22636
22643
|
ref: r,
|
|
22637
|
-
type:
|
|
22644
|
+
type: T
|
|
22638
22645
|
}, y, {
|
|
22639
22646
|
classes: P,
|
|
22640
22647
|
children: [$, s, w]
|
|
@@ -23350,50 +23357,50 @@ const zp = /* @__PURE__ */ x.forwardRef(function(t, r) {
|
|
|
23350
23357
|
Xo(() => {
|
|
23351
23358
|
a && h.current.focus();
|
|
23352
23359
|
}, [a]), x.useImperativeHandle(o, () => ({
|
|
23353
|
-
adjustStyleForScrollbar: (
|
|
23354
|
-
direction:
|
|
23360
|
+
adjustStyleForScrollbar: (T, {
|
|
23361
|
+
direction: E
|
|
23355
23362
|
}) => {
|
|
23356
23363
|
const y = !h.current.style.width;
|
|
23357
|
-
if (
|
|
23358
|
-
const F = `${FE(Sr(
|
|
23359
|
-
h.current.style[
|
|
23364
|
+
if (T.clientHeight < h.current.clientHeight && y) {
|
|
23365
|
+
const F = `${FE(Sr(T))}px`;
|
|
23366
|
+
h.current.style[E === "rtl" ? "paddingLeft" : "paddingRight"] = F, h.current.style.width = `calc(100% + ${F})`;
|
|
23360
23367
|
}
|
|
23361
23368
|
return h.current;
|
|
23362
23369
|
}
|
|
23363
23370
|
}), []);
|
|
23364
|
-
const g = (
|
|
23365
|
-
const
|
|
23371
|
+
const g = (T) => {
|
|
23372
|
+
const E = h.current, y = T.key, F = Sr(E).activeElement;
|
|
23366
23373
|
if (y === "ArrowDown")
|
|
23367
|
-
|
|
23374
|
+
T.preventDefault(), xo(E, F, u, c, Va);
|
|
23368
23375
|
else if (y === "ArrowUp")
|
|
23369
|
-
|
|
23376
|
+
T.preventDefault(), xo(E, F, u, c, Ac);
|
|
23370
23377
|
else if (y === "Home")
|
|
23371
|
-
|
|
23378
|
+
T.preventDefault(), xo(E, null, u, c, Va);
|
|
23372
23379
|
else if (y === "End")
|
|
23373
|
-
|
|
23380
|
+
T.preventDefault(), xo(E, null, u, c, Ac);
|
|
23374
23381
|
else if (y.length === 1) {
|
|
23375
23382
|
const P = v.current, $ = y.toLowerCase(), w = performance.now();
|
|
23376
23383
|
P.keys.length > 0 && (w - P.lastTime > 500 ? (P.keys = [], P.repeating = !0, P.previousKeyMatched = !0) : P.repeating && $ !== P.keys[0] && (P.repeating = !1)), P.lastTime = w, P.keys.push($);
|
|
23377
23384
|
const R = F && !P.repeating && Bp(F, P);
|
|
23378
|
-
P.previousKeyMatched && (R || xo(
|
|
23385
|
+
P.previousKeyMatched && (R || xo(E, F, !1, c, Va, P)) ? T.preventDefault() : P.previousKeyMatched = !1;
|
|
23379
23386
|
}
|
|
23380
|
-
d && d(
|
|
23387
|
+
d && d(T);
|
|
23381
23388
|
}, b = Ot(h, r);
|
|
23382
23389
|
let O = -1;
|
|
23383
|
-
x.Children.forEach(l, (
|
|
23384
|
-
if (!/* @__PURE__ */ x.isValidElement(
|
|
23385
|
-
O ===
|
|
23390
|
+
x.Children.forEach(l, (T, E) => {
|
|
23391
|
+
if (!/* @__PURE__ */ x.isValidElement(T)) {
|
|
23392
|
+
O === E && (O += 1, O >= l.length && (O = -1));
|
|
23386
23393
|
return;
|
|
23387
23394
|
}
|
|
23388
|
-
process.env.NODE_ENV !== "production" && Ro.isFragment(
|
|
23389
|
-
`)),
|
|
23395
|
+
process.env.NODE_ENV !== "production" && Ro.isFragment(T) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
|
|
23396
|
+
`)), T.props.disabled || (m === "selectedMenu" && T.props.selected || O === -1) && (O = E), O === E && (T.props.disabled || T.props.muiSkipListHighlight || T.type.muiSkipListHighlight) && (O += 1, O >= l.length && (O = -1));
|
|
23390
23397
|
});
|
|
23391
|
-
const C = x.Children.map(l, (
|
|
23392
|
-
if (
|
|
23398
|
+
const C = x.Children.map(l, (T, E) => {
|
|
23399
|
+
if (E === O) {
|
|
23393
23400
|
const y = {};
|
|
23394
|
-
return i && (y.autoFocus = !0),
|
|
23401
|
+
return i && (y.autoFocus = !0), T.props.tabIndex === void 0 && m === "selectedMenu" && (y.tabIndex = 0), /* @__PURE__ */ x.cloneElement(T, y);
|
|
23395
23402
|
}
|
|
23396
|
-
return
|
|
23403
|
+
return T;
|
|
23397
23404
|
});
|
|
23398
23405
|
return /* @__PURE__ */ p(Vp, S({
|
|
23399
23406
|
role: "menu",
|
|
@@ -23518,8 +23525,8 @@ const bF = (e) => {
|
|
|
23518
23525
|
marginThreshold: b = 16,
|
|
23519
23526
|
open: O,
|
|
23520
23527
|
PaperProps: C = {},
|
|
23521
|
-
slots:
|
|
23522
|
-
slotProps:
|
|
23528
|
+
slots: T,
|
|
23529
|
+
slotProps: E,
|
|
23523
23530
|
transformOrigin: y = {
|
|
23524
23531
|
vertical: "top",
|
|
23525
23532
|
horizontal: "left"
|
|
@@ -23530,7 +23537,7 @@ const bF = (e) => {
|
|
|
23530
23537
|
onEntering: $
|
|
23531
23538
|
} = {},
|
|
23532
23539
|
disableScrollLock: w = !1
|
|
23533
|
-
} = l, R = W(l.TransitionProps, mF), k = W(l, hF), D = (o =
|
|
23540
|
+
} = l, R = W(l.TransitionProps, mF), k = W(l, hF), D = (o = E == null ? void 0 : E.paper) != null ? o : C, L = x.useRef(), N = Ot(L, D.ref), _ = S({}, l, {
|
|
23534
23541
|
anchorOrigin: u,
|
|
23535
23542
|
anchorReference: m,
|
|
23536
23543
|
elevation: g,
|
|
@@ -23621,7 +23628,7 @@ const bF = (e) => {
|
|
|
23621
23628
|
}, [c, O, re]);
|
|
23622
23629
|
let ee = P;
|
|
23623
23630
|
P === "auto" && !F.muiSupportAuto && (ee = void 0);
|
|
23624
|
-
const ne = v || (c ? Sr(Fn(c)).body : void 0), ce = (a =
|
|
23631
|
+
const ne = v || (c ? Sr(Fn(c)).body : void 0), ce = (a = T == null ? void 0 : T.root) != null ? a : vF, ie = (i = T == null ? void 0 : T.paper) != null ? i : Hp, U = Rt({
|
|
23625
23632
|
elementType: ie,
|
|
23626
23633
|
externalSlotProps: S({}, D, {
|
|
23627
23634
|
style: J ? D.style : S({}, D.style, {
|
|
@@ -23636,7 +23643,7 @@ const bF = (e) => {
|
|
|
23636
23643
|
className: q(A.paper, D == null ? void 0 : D.className)
|
|
23637
23644
|
}), ve = Rt({
|
|
23638
23645
|
elementType: ce,
|
|
23639
|
-
externalSlotProps: (
|
|
23646
|
+
externalSlotProps: (E == null ? void 0 : E.root) || {},
|
|
23640
23647
|
externalForwardedProps: k,
|
|
23641
23648
|
additionalProps: {
|
|
23642
23649
|
ref: r,
|
|
@@ -23910,15 +23917,15 @@ const OF = ["onEntering"], xF = ["autoFocus", "children", "className", "disableA
|
|
|
23910
23917
|
} = {},
|
|
23911
23918
|
variant: O = "selectedMenu",
|
|
23912
23919
|
slots: C = {},
|
|
23913
|
-
slotProps:
|
|
23914
|
-
} = i,
|
|
23920
|
+
slotProps: T = {}
|
|
23921
|
+
} = i, E = W(i.TransitionProps, OF), y = W(i, xF), F = da(), P = S({}, i, {
|
|
23915
23922
|
autoFocus: l,
|
|
23916
23923
|
disableAutoFocusItem: u,
|
|
23917
23924
|
MenuListProps: d,
|
|
23918
23925
|
onEntering: b,
|
|
23919
23926
|
PaperProps: h,
|
|
23920
23927
|
transitionDuration: g,
|
|
23921
|
-
TransitionProps:
|
|
23928
|
+
TransitionProps: E,
|
|
23922
23929
|
variant: O
|
|
23923
23930
|
}), $ = TF(P), w = l && !u && f, R = x.useRef(null), k = (M, z) => {
|
|
23924
23931
|
R.current && R.current.adjustStyleForScrollbar(M, {
|
|
@@ -23932,9 +23939,9 @@ const OF = ["onEntering"], xF = ["autoFocus", "children", "className", "disableA
|
|
|
23932
23939
|
/* @__PURE__ */ x.isValidElement(M) && (process.env.NODE_ENV !== "production" && Ro.isFragment(M) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
|
|
23933
23940
|
`)), M.props.disabled || (O === "selectedMenu" && M.props.selected || L === -1) && (L = z));
|
|
23934
23941
|
});
|
|
23935
|
-
const N = (o = C.paper) != null ? o : CF, _ = (a =
|
|
23942
|
+
const N = (o = C.paper) != null ? o : CF, _ = (a = T.paper) != null ? a : h, A = Rt({
|
|
23936
23943
|
elementType: C.root,
|
|
23937
|
-
externalSlotProps:
|
|
23944
|
+
externalSlotProps: T.root,
|
|
23938
23945
|
ownerState: P,
|
|
23939
23946
|
className: [$.root, c]
|
|
23940
23947
|
}), j = Rt({
|
|
@@ -23963,7 +23970,7 @@ const OF = ["onEntering"], xF = ["autoFocus", "children", "className", "disableA
|
|
|
23963
23970
|
transitionDuration: g,
|
|
23964
23971
|
TransitionProps: S({
|
|
23965
23972
|
onEntering: k
|
|
23966
|
-
},
|
|
23973
|
+
}, E),
|
|
23967
23974
|
ownerState: P
|
|
23968
23975
|
}, y, {
|
|
23969
23976
|
classes: v,
|
|
@@ -24214,14 +24221,14 @@ const So = fe("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divi
|
|
|
24214
24221
|
dense: g.dense,
|
|
24215
24222
|
divider: s,
|
|
24216
24223
|
disableGutters: c
|
|
24217
|
-
}), C = kF(o),
|
|
24218
|
-
let
|
|
24219
|
-
return o.disabled || (
|
|
24224
|
+
}), C = kF(o), T = Ot(b, r);
|
|
24225
|
+
let E;
|
|
24226
|
+
return o.disabled || (E = m !== void 0 ? m : -1), /* @__PURE__ */ p(Bn.Provider, {
|
|
24220
24227
|
value: g,
|
|
24221
24228
|
children: /* @__PURE__ */ p($F, S({
|
|
24222
|
-
ref:
|
|
24229
|
+
ref: T,
|
|
24223
24230
|
role: d,
|
|
24224
|
-
tabIndex:
|
|
24231
|
+
tabIndex: E,
|
|
24225
24232
|
component: i,
|
|
24226
24233
|
focusVisibleClassName: q(C.focusVisible, u),
|
|
24227
24234
|
className: q(C.root, f)
|
|
@@ -24343,8 +24350,8 @@ const LF = ({
|
|
|
24343
24350
|
{
|
|
24344
24351
|
disabled: O.disabled,
|
|
24345
24352
|
selected: C === d,
|
|
24346
|
-
onClick: (
|
|
24347
|
-
h(
|
|
24353
|
+
onClick: (T) => {
|
|
24354
|
+
h(T, C), O.onClick && O.onClick(T, C);
|
|
24348
24355
|
},
|
|
24349
24356
|
resource: f,
|
|
24350
24357
|
title: O.label,
|
|
@@ -24405,7 +24412,7 @@ const LF = ({
|
|
|
24405
24412
|
...u
|
|
24406
24413
|
} = e, d = xi(), m = Om(""), f = Ge(e), [h, v] = Ue(0), {
|
|
24407
24414
|
fichaProps: { etrs: g }
|
|
24408
|
-
} = we(We), b = Yt({ ...e, etrs: g }), { estado: O } = we(We), C = (
|
|
24415
|
+
} = we(We), b = Yt({ ...e, etrs: g }), { estado: O } = we(We), C = (E, y) => {
|
|
24409
24416
|
i || (v(y), c && c(
|
|
24410
24417
|
b,
|
|
24411
24418
|
O,
|
|
@@ -24414,9 +24421,9 @@ const LF = ({
|
|
|
24414
24421
|
prevTab: h,
|
|
24415
24422
|
setTab: v
|
|
24416
24423
|
},
|
|
24417
|
-
|
|
24424
|
+
E
|
|
24418
24425
|
));
|
|
24419
|
-
},
|
|
24426
|
+
}, T = () => Zt(
|
|
24420
24427
|
l,
|
|
24421
24428
|
{
|
|
24422
24429
|
onChange: C,
|
|
@@ -24432,16 +24439,16 @@ const LF = ({
|
|
|
24432
24439
|
className: q("tabbed-form", r),
|
|
24433
24440
|
...zF(u),
|
|
24434
24441
|
children: [
|
|
24435
|
-
i ? /* @__PURE__ */ p(yi, { children: /* @__PURE__ */ p(Oi, { path: "/*", element:
|
|
24442
|
+
i ? /* @__PURE__ */ p(yi, { children: /* @__PURE__ */ p(Oi, { path: "/*", element: T() }) }) : T(),
|
|
24436
24443
|
/* @__PURE__ */ p(vf, {}),
|
|
24437
|
-
/* @__PURE__ */ p(o, { children: zn.map(t, (
|
|
24438
|
-
if (!
|
|
24444
|
+
/* @__PURE__ */ p(o, { children: zn.map(t, (E, y) => {
|
|
24445
|
+
if (!E)
|
|
24439
24446
|
return null;
|
|
24440
|
-
const F = nm(
|
|
24447
|
+
const F = nm(E, y), P = i ? !Ha(
|
|
24441
24448
|
`${m.pathname}/${F}`,
|
|
24442
24449
|
d.pathname
|
|
24443
24450
|
) : h !== y;
|
|
24444
|
-
return gr(
|
|
24451
|
+
return gr(E) ? x.cloneElement(E, {
|
|
24445
24452
|
intent: "content",
|
|
24446
24453
|
resource: f,
|
|
24447
24454
|
hidden: P,
|
|
@@ -24898,10 +24905,10 @@ const JF = fe("MuiLink", ["root", "underlineNone", "underlineHover", "underlineA
|
|
|
24898
24905
|
onBlur: g,
|
|
24899
24906
|
onFocus: b,
|
|
24900
24907
|
ref: O
|
|
24901
|
-
} = ua(), [C,
|
|
24902
|
-
g(w), v.current === !1 &&
|
|
24908
|
+
} = ua(), [C, T] = x.useState(!1), E = Ot(r, O), y = (w) => {
|
|
24909
|
+
g(w), v.current === !1 && T(!1), s && s(w);
|
|
24903
24910
|
}, F = (w) => {
|
|
24904
|
-
b(w), v.current === !0 &&
|
|
24911
|
+
b(w), v.current === !0 && T(!0), c && c(w);
|
|
24905
24912
|
}, P = S({}, o, {
|
|
24906
24913
|
color: i,
|
|
24907
24914
|
component: l,
|
|
@@ -24916,7 +24923,7 @@ const JF = fe("MuiLink", ["root", "underlineNone", "underlineHover", "underlineA
|
|
|
24916
24923
|
component: l,
|
|
24917
24924
|
onBlur: y,
|
|
24918
24925
|
onFocus: F,
|
|
24919
|
-
ref:
|
|
24926
|
+
ref: E,
|
|
24920
24927
|
ownerState: P,
|
|
24921
24928
|
variant: m,
|
|
24922
24929
|
sx: [...Object.keys(Xp).includes(i) ? [] : [{
|
|
@@ -25097,7 +25104,7 @@ const Bc = (e) => {
|
|
|
25097
25104
|
return typeof e == "string" ? { src: `${t}/${e}` } : e instanceof Array ? e.map((r) => ({ src: `${t}/${r}` })) : e;
|
|
25098
25105
|
}, qR = (e) => {
|
|
25099
25106
|
var C;
|
|
25100
|
-
const { propsContenido: t, hidden: r } = at(e), o = Xe(), a = qt(e), i = Wn((
|
|
25107
|
+
const { propsContenido: t, hidden: r } = at(e), o = Xe(), a = qt(e), i = Wn((T) => T.breakpoints.down("sm")), l = Mt();
|
|
25101
25108
|
if (!l)
|
|
25102
25109
|
return null;
|
|
25103
25110
|
const {
|
|
@@ -25124,7 +25131,7 @@ const Bc = (e) => {
|
|
|
25124
25131
|
maxSize: 5e6,
|
|
25125
25132
|
...v,
|
|
25126
25133
|
options: { disabled: c, ...s },
|
|
25127
|
-
format: (
|
|
25134
|
+
format: (T) => zc(T, m),
|
|
25128
25135
|
placeholder: o("ra.input.image.upload_single"),
|
|
25129
25136
|
accept: "image/*",
|
|
25130
25137
|
inputProps: {
|
|
@@ -25150,7 +25157,7 @@ const Bc = (e) => {
|
|
|
25150
25157
|
maxSize: 5e6,
|
|
25151
25158
|
...v,
|
|
25152
25159
|
options: { disabled: c, ...s },
|
|
25153
|
-
format: (
|
|
25160
|
+
format: (T) => zc(T, m),
|
|
25154
25161
|
placeholder: o("ra.input.file.upload_single"),
|
|
25155
25162
|
accept: f,
|
|
25156
25163
|
children: /* @__PURE__ */ V(Dl, { sx: { display: "inline-block", ml: 1 }, children: [
|
|
@@ -25653,7 +25660,7 @@ const ww = (e) => /* @__PURE__ */ p(
|
|
|
25653
25660
|
} = e, [u] = su("form_224"), [d, m] = Ue(!1), f = Mt(), { estado: h, fichaProps: v = {} } = we(We), g = we(po), {
|
|
25654
25661
|
hidden: b,
|
|
25655
25662
|
propsContenido: { disabled: O, label: C = "Funcionarios" }
|
|
25656
|
-
} = at(e), { [i]:
|
|
25663
|
+
} = at(e), { [i]: T = {}, etrs: E } = v, y = Yt({ ...e, etrs: E, asisEtr: g }), F = T.onChange === void 0 ? s : T.onChange;
|
|
25657
25664
|
ut(() => {
|
|
25658
25665
|
f.setValue(i, {
|
|
25659
25666
|
seleccion: [],
|