biblio-react 3.0.25 → 3.0.27
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 +318 -318
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -169,11 +169,11 @@ function GD() {
|
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
171
|
s(w, "typeOf");
|
|
172
|
-
var T = u, O = d, M = l, A = a, R = e, D = p, P = r, k = y, N = h, $ = n, L = i, I = o, _ = f,
|
|
173
|
-
function
|
|
174
|
-
return
|
|
172
|
+
var T = u, O = d, M = l, A = a, R = e, D = p, P = r, k = y, N = h, $ = n, L = i, I = o, _ = f, V = !1;
|
|
173
|
+
function z(q) {
|
|
174
|
+
return V || (V = !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.")), B(q) || w(q) === u;
|
|
175
175
|
}
|
|
176
|
-
s(
|
|
176
|
+
s(z, "isAsyncMode");
|
|
177
177
|
function B(q) {
|
|
178
178
|
return w(q) === d;
|
|
179
179
|
}
|
|
@@ -221,7 +221,7 @@ function GD() {
|
|
|
221
221
|
function ae(q) {
|
|
222
222
|
return w(q) === f;
|
|
223
223
|
}
|
|
224
|
-
s(ae, "isSuspense"), yt.AsyncMode = T, yt.ConcurrentMode = O, yt.ContextConsumer = M, yt.ContextProvider = A, yt.Element = R, yt.ForwardRef = D, yt.Fragment = P, yt.Lazy = k, yt.Memo = N, yt.Portal = $, yt.Profiler = L, yt.StrictMode = I, yt.Suspense = _, yt.isAsyncMode =
|
|
224
|
+
s(ae, "isSuspense"), yt.AsyncMode = T, yt.ConcurrentMode = O, yt.ContextConsumer = M, yt.ContextProvider = A, yt.Element = R, yt.ForwardRef = D, yt.Fragment = P, yt.Lazy = k, yt.Memo = N, yt.Portal = $, yt.Profiler = L, yt.StrictMode = I, yt.Suspense = _, yt.isAsyncMode = z, yt.isConcurrentMode = B, yt.isContextConsumer = F, yt.isContextProvider = H, yt.isElement = Q, yt.isForwardRef = U, yt.isFragment = K, yt.isLazy = ee, yt.isMemo = j, yt.isPortal = W, yt.isProfiler = Z, yt.isStrictMode = te, yt.isSuspense = ae, yt.isValidElementType = C, yt.typeOf = w;
|
|
225
225
|
})()), yt;
|
|
226
226
|
}
|
|
227
227
|
s(GD, "requireReactIs_development$3");
|
|
@@ -485,7 +485,7 @@ function JD() {
|
|
|
485
485
|
function O(B) {
|
|
486
486
|
function F(H, Q, U, K, ee) {
|
|
487
487
|
if (!(H[Q] instanceof B)) {
|
|
488
|
-
var j = B.name || m, W =
|
|
488
|
+
var j = B.name || m, W = z(H[Q]);
|
|
489
489
|
return new g("Invalid " + K + " `" + ee + "` of type " + ("`" + W + "` supplied to `" + U + "`, expected ") + ("instance of `" + j + "`."));
|
|
490
490
|
}
|
|
491
491
|
return null;
|
|
@@ -536,7 +536,7 @@ function JD() {
|
|
|
536
536
|
var H = B[F];
|
|
537
537
|
if (typeof H != "function")
|
|
538
538
|
return i(
|
|
539
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " +
|
|
539
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + V(H) + " at index " + F + "."
|
|
540
540
|
), a;
|
|
541
541
|
}
|
|
542
542
|
function Q(U, K, ee, j, W) {
|
|
@@ -663,7 +663,7 @@ Valid keys: ` + JSON.stringify(Object.keys(B), null, " ")
|
|
|
663
663
|
return F;
|
|
664
664
|
}
|
|
665
665
|
s(_, "getPreciseType");
|
|
666
|
-
function
|
|
666
|
+
function V(B) {
|
|
667
667
|
var F = _(B);
|
|
668
668
|
switch (F) {
|
|
669
669
|
case "array":
|
|
@@ -677,11 +677,11 @@ Valid keys: ` + JSON.stringify(Object.keys(B), null, " ")
|
|
|
677
677
|
return F;
|
|
678
678
|
}
|
|
679
679
|
}
|
|
680
|
-
s(
|
|
681
|
-
function
|
|
680
|
+
s(V, "getPostfixForTypeWarning");
|
|
681
|
+
function z(B) {
|
|
682
682
|
return !B.constructor || !B.constructor.name ? m : B.constructor.name;
|
|
683
683
|
}
|
|
684
|
-
return s(
|
|
684
|
+
return s(z, "getClassName"), h.checkPropTypes = o, h.resetWarningCache = o.resetWarningCache, h.PropTypes = h, h;
|
|
685
685
|
}, "factoryWithTypeCheckers"), hm;
|
|
686
686
|
}
|
|
687
687
|
s(JD, "requireFactoryWithTypeCheckers");
|
|
@@ -2570,11 +2570,11 @@ function OL() {
|
|
|
2570
2570
|
}
|
|
2571
2571
|
}
|
|
2572
2572
|
s(w, "typeOf");
|
|
2573
|
-
var T = u, O = d, M = l, A = a, R = e, D = p, P = r, k = y, N = h, $ = n, L = i, I = o, _ = f,
|
|
2574
|
-
function
|
|
2575
|
-
return
|
|
2573
|
+
var T = u, O = d, M = l, A = a, R = e, D = p, P = r, k = y, N = h, $ = n, L = i, I = o, _ = f, V = !1;
|
|
2574
|
+
function z(q) {
|
|
2575
|
+
return V || (V = !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.")), B(q) || w(q) === u;
|
|
2576
2576
|
}
|
|
2577
|
-
s(
|
|
2577
|
+
s(z, "isAsyncMode");
|
|
2578
2578
|
function B(q) {
|
|
2579
2579
|
return w(q) === d;
|
|
2580
2580
|
}
|
|
@@ -2622,7 +2622,7 @@ function OL() {
|
|
|
2622
2622
|
function ae(q) {
|
|
2623
2623
|
return w(q) === f;
|
|
2624
2624
|
}
|
|
2625
|
-
s(ae, "isSuspense"), vt.AsyncMode = T, vt.ConcurrentMode = O, vt.ContextConsumer = M, vt.ContextProvider = A, vt.Element = R, vt.ForwardRef = D, vt.Fragment = P, vt.Lazy = k, vt.Memo = N, vt.Portal = $, vt.Profiler = L, vt.StrictMode = I, vt.Suspense = _, vt.isAsyncMode =
|
|
2625
|
+
s(ae, "isSuspense"), vt.AsyncMode = T, vt.ConcurrentMode = O, vt.ContextConsumer = M, vt.ContextProvider = A, vt.Element = R, vt.ForwardRef = D, vt.Fragment = P, vt.Lazy = k, vt.Memo = N, vt.Portal = $, vt.Profiler = L, vt.StrictMode = I, vt.Suspense = _, vt.isAsyncMode = z, vt.isConcurrentMode = B, vt.isContextConsumer = F, vt.isContextProvider = H, vt.isElement = Q, vt.isForwardRef = U, vt.isFragment = K, vt.isLazy = ee, vt.isMemo = j, vt.isPortal = W, vt.isProfiler = Z, vt.isStrictMode = te, vt.isSuspense = ae, vt.isValidElementType = C, vt.typeOf = w;
|
|
2626
2626
|
})()), vt;
|
|
2627
2627
|
}
|
|
2628
2628
|
s(OL, "requireReactIs_development$1");
|
|
@@ -4488,7 +4488,7 @@ function _F(t) {
|
|
|
4488
4488
|
defaultMode: N = "system",
|
|
4489
4489
|
forceThemeRerender: $ = !1,
|
|
4490
4490
|
noSsr: L
|
|
4491
|
-
} = x, I = S.useRef(!1), _ = l0(),
|
|
4491
|
+
} = x, I = S.useRef(!1), _ = l0(), V = S.useContext(d), z = !!V && !P, B = S.useMemo(() => C || (typeof n == "function" ? n() : n), [C]), F = B[e], H = F || B, {
|
|
4492
4492
|
colorSchemes: Q = f,
|
|
4493
4493
|
components: U = m,
|
|
4494
4494
|
cssVarPrefix: K
|
|
@@ -4512,7 +4512,7 @@ function _F(t) {
|
|
|
4512
4512
|
noSsr: L
|
|
4513
4513
|
});
|
|
4514
4514
|
let ge = ae, Ie = de;
|
|
4515
|
-
|
|
4515
|
+
z && (ge = V.mode, Ie = V.colorScheme), process.env.NODE_ENV !== "production" && $ && !H.vars && console.warn(["MUI: The `forceThemeRerender` prop should only be used with CSS theme variables.", "Note that it will slow down the app when changing between modes, so only do this when you cannot find a better solution."].join(`
|
|
4516
4516
|
`));
|
|
4517
4517
|
let De = Ie || H.defaultColorScheme;
|
|
4518
4518
|
H.vars && !$ && (De = H.defaultColorScheme);
|
|
@@ -4580,7 +4580,7 @@ function _F(t) {
|
|
|
4580
4580
|
systemMode: ve
|
|
4581
4581
|
}), [j, Ie, X, le, ge, ie, q, ve, Te.colorSchemeSelector]);
|
|
4582
4582
|
let Ge = !0;
|
|
4583
|
-
(k || H.cssVariables === !1 ||
|
|
4583
|
+
(k || H.cssVariables === !1 || z && _?.cssVarPrefix === K) && (Ge = !1);
|
|
4584
4584
|
const Tt = /* @__PURE__ */ Y(S.Fragment, {
|
|
4585
4585
|
children: [/* @__PURE__ */ b(Tc, {
|
|
4586
4586
|
themeId: F ? e : void 0,
|
|
@@ -4590,7 +4590,7 @@ function _F(t) {
|
|
|
4590
4590
|
styles: Te.generateStyleSheets?.() || []
|
|
4591
4591
|
})]
|
|
4592
4592
|
});
|
|
4593
|
-
return
|
|
4593
|
+
return z ? Tt : /* @__PURE__ */ b(d.Provider, {
|
|
4594
4594
|
value: rt,
|
|
4595
4595
|
children: Tt
|
|
4596
4596
|
});
|
|
@@ -5081,7 +5081,7 @@ function s_(t = {}) {
|
|
|
5081
5081
|
columnSpacing: D = A,
|
|
5082
5082
|
unstable_level: P = 0,
|
|
5083
5083
|
...k
|
|
5084
|
-
} = y, N = a(O, m.breakpoints, (F) => F !== !1), $ = a(M, m.breakpoints), L = p.columns ?? (P ? void 0 : x), I = p.spacing ?? (P ? void 0 : A), _ = p.rowSpacing ?? p.spacing ?? (P ? void 0 : R),
|
|
5084
|
+
} = y, N = a(O, m.breakpoints, (F) => F !== !1), $ = a(M, m.breakpoints), L = p.columns ?? (P ? void 0 : x), I = p.spacing ?? (P ? void 0 : A), _ = p.rowSpacing ?? p.spacing ?? (P ? void 0 : R), V = p.columnSpacing ?? p.spacing ?? (P ? void 0 : D), z = {
|
|
5085
5085
|
...y,
|
|
5086
5086
|
level: P,
|
|
5087
5087
|
columns: L,
|
|
@@ -5090,14 +5090,14 @@ function s_(t = {}) {
|
|
|
5090
5090
|
wrap: T,
|
|
5091
5091
|
spacing: I,
|
|
5092
5092
|
rowSpacing: _,
|
|
5093
|
-
columnSpacing:
|
|
5093
|
+
columnSpacing: V,
|
|
5094
5094
|
size: N,
|
|
5095
5095
|
offset: $
|
|
5096
|
-
}, B = i(
|
|
5096
|
+
}, B = i(z, m);
|
|
5097
5097
|
return /* @__PURE__ */ b(l, {
|
|
5098
5098
|
ref: f,
|
|
5099
5099
|
as: C,
|
|
5100
|
-
ownerState:
|
|
5100
|
+
ownerState: z,
|
|
5101
5101
|
className: se(B.root, g),
|
|
5102
5102
|
...k,
|
|
5103
5103
|
children: S.Children.map(v, (F) => /* @__PURE__ */ S.isValidElement(F) && Ea(F, ["Grid"]) && E && F.props.container ? /* @__PURE__ */ S.cloneElement(F, {
|
|
@@ -6110,14 +6110,14 @@ function W_(t = {}, ...e) {
|
|
|
6110
6110
|
};
|
|
6111
6111
|
Object.keys(O.colorSchemes).forEach((P) => {
|
|
6112
6112
|
const k = O.colorSchemes[P].palette, N = /* @__PURE__ */ s((L) => {
|
|
6113
|
-
const I = L.split("-"), _ = I[1],
|
|
6114
|
-
return h(L, k[_][
|
|
6113
|
+
const I = L.split("-"), _ = I[1], V = I[2];
|
|
6114
|
+
return h(L, k[_][V]);
|
|
6115
6115
|
}, "setCssVarColor");
|
|
6116
6116
|
k.mode === "light" && (re(k.common, "background", "#fff"), re(k.common, "onBackground", "#000")), k.mode === "dark" && (re(k.common, "background", "#000"), re(k.common, "onBackground", "#fff"));
|
|
6117
6117
|
function $(L, I, _) {
|
|
6118
6118
|
if (w) {
|
|
6119
|
-
let
|
|
6120
|
-
return L === Hi && (
|
|
6119
|
+
let V;
|
|
6120
|
+
return L === Hi && (V = `transparent ${((1 - _) * 100).toFixed(0)}%`), L === Ct && (V = `#000 ${(_ * 100).toFixed(0)}%`), L === wt && (V = `#fff ${(_ * 100).toFixed(0)}%`), `color-mix(in ${w}, ${I}, ${V})`;
|
|
6121
6121
|
}
|
|
6122
6122
|
return L(I, _);
|
|
6123
6123
|
}
|
|
@@ -8477,8 +8477,8 @@ const DB = /* @__PURE__ */ s((t) => {
|
|
|
8477
8477
|
getRootProps: L,
|
|
8478
8478
|
getBackdropProps: I,
|
|
8479
8479
|
getTransitionProps: _,
|
|
8480
|
-
portalRef:
|
|
8481
|
-
isTopModal:
|
|
8480
|
+
portalRef: V,
|
|
8481
|
+
isTopModal: z,
|
|
8482
8482
|
exited: B,
|
|
8483
8483
|
hasTransition: F
|
|
8484
8484
|
} = AB({
|
|
@@ -8532,7 +8532,7 @@ const DB = /* @__PURE__ */ s((t) => {
|
|
|
8532
8532
|
ownerState: H
|
|
8533
8533
|
});
|
|
8534
8534
|
return !T && !R && (!F || B) ? null : /* @__PURE__ */ b(kc, {
|
|
8535
|
-
ref:
|
|
8535
|
+
ref: V,
|
|
8536
8536
|
container: p,
|
|
8537
8537
|
disablePortal: x,
|
|
8538
8538
|
children: /* @__PURE__ */ Y(ee, {
|
|
@@ -8543,7 +8543,7 @@ const DB = /* @__PURE__ */ s((t) => {
|
|
|
8543
8543
|
disableEnforceFocus: g,
|
|
8544
8544
|
disableAutoFocus: y,
|
|
8545
8545
|
disableRestoreFocus: E,
|
|
8546
|
-
isEnabled:
|
|
8546
|
+
isEnabled: z,
|
|
8547
8547
|
open: R,
|
|
8548
8548
|
children: /* @__PURE__ */ S.cloneElement(d, U)
|
|
8549
8549
|
})]
|
|
@@ -9108,9 +9108,9 @@ const jB = ne(b0, {
|
|
|
9108
9108
|
L.current = ve.target === ve.currentTarget;
|
|
9109
9109
|
}, "handleMouseDown"), _ = /* @__PURE__ */ s((ve) => {
|
|
9110
9110
|
x && x(ve), L.current && (L.current = null, E && E(ve, "backdropClick"));
|
|
9111
|
-
}, "handleBackdropClick"),
|
|
9112
|
-
titleId:
|
|
9113
|
-
}), [
|
|
9111
|
+
}, "handleBackdropClick"), V = qs(l), z = S.useMemo(() => ({
|
|
9112
|
+
titleId: V
|
|
9113
|
+
}), [V]), B = {
|
|
9114
9114
|
transition: R,
|
|
9115
9115
|
...M
|
|
9116
9116
|
}, F = {
|
|
@@ -9184,11 +9184,11 @@ const jB = ne(b0, {
|
|
|
9184
9184
|
elevation: 24,
|
|
9185
9185
|
role: "dialog",
|
|
9186
9186
|
"aria-describedby": a,
|
|
9187
|
-
"aria-labelledby":
|
|
9187
|
+
"aria-labelledby": V,
|
|
9188
9188
|
"aria-modal": u,
|
|
9189
9189
|
...W,
|
|
9190
9190
|
children: /* @__PURE__ */ b(S0.Provider, {
|
|
9191
|
-
value:
|
|
9191
|
+
value: z,
|
|
9192
9192
|
children: f
|
|
9193
9193
|
})
|
|
9194
9194
|
})
|
|
@@ -10970,13 +10970,13 @@ const Jy = /* @__PURE__ */ s((t = "scope") => (TC += 1, `${t}-${TC}`), "createRe
|
|
|
10970
10970
|
onFocus: L,
|
|
10971
10971
|
onBlur: I,
|
|
10972
10972
|
onChange: _,
|
|
10973
|
-
hidden:
|
|
10974
|
-
disabled:
|
|
10973
|
+
hidden: V,
|
|
10974
|
+
disabled: z,
|
|
10975
10975
|
useContenido: B = yu,
|
|
10976
10976
|
validate: F,
|
|
10977
10977
|
required: H,
|
|
10978
10978
|
...Q
|
|
10979
|
-
} = T, U = l ||
|
|
10979
|
+
} = T, U = l || V === void 0 ? D : V, K = l || z === void 0 ? P : z, ee = l || L === void 0 ? M : L, j = l || I === void 0 ? R : I, W = l || _ === void 0 ? A : _, Z = Xr(t), te = B({
|
|
10980
10980
|
...$,
|
|
10981
10981
|
estado: n,
|
|
10982
10982
|
hidden: U,
|
|
@@ -12590,7 +12590,7 @@ const J4 = ne("div")(({ theme: t }) => ({
|
|
|
12590
12590
|
api: e.current,
|
|
12591
12591
|
// v7 usa "api"
|
|
12592
12592
|
colDef: C,
|
|
12593
|
-
getValue: /* @__PURE__ */ s((
|
|
12593
|
+
getValue: /* @__PURE__ */ s((V) => O?.[V], "getValue"),
|
|
12594
12594
|
// props opcionales comunes:
|
|
12595
12595
|
hasFocus: !1,
|
|
12596
12596
|
tabIndex: -1
|
|
@@ -13368,14 +13368,14 @@ function b3(t) {
|
|
|
13368
13368
|
padding: d
|
|
13369
13369
|
}), _ = $ ? N ? Ar : Xn : N ? Pr : Jn;
|
|
13370
13370
|
T[L] > O[L] && (_ = Pd(_));
|
|
13371
|
-
var
|
|
13372
|
-
if (i &&
|
|
13371
|
+
var V = Pd(_), z = [];
|
|
13372
|
+
if (i && z.push(I[k] <= 0), l && z.push(I[_] <= 0, I[V] <= 0), z.every(function(U) {
|
|
13373
13373
|
return U;
|
|
13374
13374
|
})) {
|
|
13375
13375
|
R = P, A = !1;
|
|
13376
13376
|
break;
|
|
13377
13377
|
}
|
|
13378
|
-
M.set(P,
|
|
13378
|
+
M.set(P, z);
|
|
13379
13379
|
}
|
|
13380
13380
|
if (A)
|
|
13381
13381
|
for (var B = y ? 3 : 1, F = /* @__PURE__ */ s(function(K) {
|
|
@@ -13515,10 +13515,10 @@ function M3(t) {
|
|
|
13515
13515
|
};
|
|
13516
13516
|
if (O) {
|
|
13517
13517
|
if (i) {
|
|
13518
|
-
var N, $ = w === "y" ? Jn : Xn, L = w === "y" ? Pr : Ar, I = w === "y" ? "height" : "width", _ = O[w],
|
|
13518
|
+
var N, $ = w === "y" ? Jn : Xn, L = w === "y" ? Pr : Ar, I = w === "y" ? "height" : "width", _ = O[w], V = _ + v[$], z = _ - v[L], B = h ? -A[I] / 2 : 0, F = E === Ba ? M[I] : A[I], H = E === Ba ? -A[I] : -M[I], Q = e.elements.arrow, U = h && Q ? P0(Q) : {
|
|
13519
13519
|
width: 0,
|
|
13520
13520
|
height: 0
|
|
13521
|
-
}, K = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : MI(), ee = K[$], j = K[L], W = Kl(0, M[I], U[I]), Z = C ? M[I] / 2 - B - W - ee - D.mainAxis : F - W - ee - D.mainAxis, te = C ? -M[I] / 2 + B + W + j + D.mainAxis : H + W + j + D.mainAxis, ae = e.elements.arrow && vu(e.elements.arrow), q = ae ? w === "y" ? ae.clientTop || 0 : ae.clientLeft || 0 : 0, ve = (N = P?.[w]) != null ? N : 0, le = _ + Z - ve - q, X = _ + te - ve, de = Kl(h ? ip(
|
|
13521
|
+
}, K = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : MI(), ee = K[$], j = K[L], W = Kl(0, M[I], U[I]), Z = C ? M[I] / 2 - B - W - ee - D.mainAxis : F - W - ee - D.mainAxis, te = C ? -M[I] / 2 + B + W + j + D.mainAxis : H + W + j + D.mainAxis, ae = e.elements.arrow && vu(e.elements.arrow), q = ae ? w === "y" ? ae.clientTop || 0 : ae.clientLeft || 0 : 0, ve = (N = P?.[w]) != null ? N : 0, le = _ + Z - ve - q, X = _ + te - ve, de = Kl(h ? ip(V, le) : V, _, h ? ws(z, X) : z);
|
|
13522
13522
|
O[w] = de, k[w] = de - _;
|
|
13523
13523
|
}
|
|
13524
13524
|
if (l) {
|
|
@@ -13837,12 +13837,12 @@ const H3 = /* @__PURE__ */ s((t) => {
|
|
|
13837
13837
|
}, [r]), On(() => {
|
|
13838
13838
|
if (!R || !u)
|
|
13839
13839
|
return;
|
|
13840
|
-
const L = /* @__PURE__ */ s((
|
|
13841
|
-
A(
|
|
13840
|
+
const L = /* @__PURE__ */ s((V) => {
|
|
13841
|
+
A(V.placement);
|
|
13842
13842
|
}, "handlePopperUpdate");
|
|
13843
13843
|
if (process.env.NODE_ENV !== "production" && R && mh(R) && R.nodeType === 1) {
|
|
13844
|
-
const
|
|
13845
|
-
ll() &&
|
|
13844
|
+
const V = R.getBoundingClientRect();
|
|
13845
|
+
ll() && V.top === 0 && V.left === 0 && V.right === 0 && V.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(`
|
|
13846
13846
|
`));
|
|
13847
13847
|
}
|
|
13848
13848
|
let I = [{
|
|
@@ -13860,9 +13860,9 @@ const H3 = /* @__PURE__ */ s((t) => {
|
|
|
13860
13860
|
enabled: !0,
|
|
13861
13861
|
phase: "afterWrite",
|
|
13862
13862
|
fn: /* @__PURE__ */ s(({
|
|
13863
|
-
state:
|
|
13863
|
+
state: V
|
|
13864
13864
|
}) => {
|
|
13865
|
-
L(
|
|
13865
|
+
L(V);
|
|
13866
13866
|
}, "fn")
|
|
13867
13867
|
}];
|
|
13868
13868
|
l != null && (I = I.concat(l)), p && p.modifiers != null && (I = I.concat(p.modifiers));
|
|
@@ -14763,32 +14763,32 @@ const aV = _e("MuiButtonBase", ["root", "disabled", "focusVisible"]), lV = /* @_
|
|
|
14763
14763
|
touchRippleRef: L,
|
|
14764
14764
|
type: I,
|
|
14765
14765
|
..._
|
|
14766
|
-
} = r,
|
|
14766
|
+
} = r, V = S.useRef(null), z = J3(), B = jt(z.ref, L), [F, H] = S.useState(!1);
|
|
14767
14767
|
d && F && H(!1), S.useImperativeHandle(o, () => ({
|
|
14768
14768
|
focusVisible: /* @__PURE__ */ s(() => {
|
|
14769
|
-
H(!0),
|
|
14769
|
+
H(!0), V.current.focus();
|
|
14770
14770
|
}, "focusVisible")
|
|
14771
14771
|
}), []);
|
|
14772
|
-
const Q =
|
|
14772
|
+
const Q = z.shouldMount && !p && !d;
|
|
14773
14773
|
S.useEffect(() => {
|
|
14774
|
-
F && m && !p &&
|
|
14775
|
-
}, [p, m, F,
|
|
14776
|
-
const U = Po(
|
|
14774
|
+
F && m && !p && z.pulsate();
|
|
14775
|
+
}, [p, m, F, z]);
|
|
14776
|
+
const U = Po(z, "start", M, f), K = Po(z, "stop", x, f), ee = Po(z, "stop", E, f), j = Po(z, "stop", R, f), W = Po(z, "stop", (ye) => {
|
|
14777
14777
|
F && ye.preventDefault(), A && A(ye);
|
|
14778
|
-
}, f), Z = Po(
|
|
14778
|
+
}, f), Z = Po(z, "start", k, f), te = Po(z, "stop", D, f), ae = Po(z, "stop", P, f), q = Po(z, "stop", (ye) => {
|
|
14779
14779
|
Ha(ye.target) || H(!1), g && g(ye);
|
|
14780
14780
|
}, !1), ve = _n((ye) => {
|
|
14781
|
-
|
|
14781
|
+
V.current || (V.current = ye.currentTarget), Ha(ye.target) && (H(!0), w && w(ye)), C && C(ye);
|
|
14782
14782
|
}), le = /* @__PURE__ */ s(() => {
|
|
14783
|
-
const ye =
|
|
14783
|
+
const ye = V.current;
|
|
14784
14784
|
return u && u !== "button" && !(ye.tagName === "A" && ye.href);
|
|
14785
14785
|
}, "isNonNativeButton"), X = _n((ye) => {
|
|
14786
|
-
m && !ye.repeat && F && ye.key === " " &&
|
|
14787
|
-
|
|
14786
|
+
m && !ye.repeat && F && ye.key === " " && z.stop(ye, () => {
|
|
14787
|
+
z.start(ye);
|
|
14788
14788
|
}), ye.target === ye.currentTarget && le() && ye.key === " " && ye.preventDefault(), T && T(ye), ye.target === ye.currentTarget && le() && ye.key === "Enter" && !d && (ye.preventDefault(), v && v(ye));
|
|
14789
14789
|
}), de = _n((ye) => {
|
|
14790
|
-
m && ye.key === " " && F && !ye.defaultPrevented &&
|
|
14791
|
-
|
|
14790
|
+
m && ye.key === " " && F && !ye.defaultPrevented && z.stop(ye, () => {
|
|
14791
|
+
z.pulsate(ye);
|
|
14792
14792
|
}), O && O(ye), v && ye.target === ye.currentTarget && le() && ye.key === " " && !ye.defaultPrevented && v(ye);
|
|
14793
14793
|
});
|
|
14794
14794
|
let ie = u;
|
|
@@ -14799,7 +14799,7 @@ const aV = _e("MuiButtonBase", ["root", "disabled", "focusVisible"]), lV = /* @_
|
|
|
14799
14799
|
ge.type = I === void 0 && !ye ? "button" : I, ge.disabled = d;
|
|
14800
14800
|
} else
|
|
14801
14801
|
!_.href && !_.to && (ge.role = "button"), d && (ge["aria-disabled"] = d);
|
|
14802
|
-
const Ie = jt(n,
|
|
14802
|
+
const Ie = jt(n, V), De = {
|
|
14803
14803
|
...r,
|
|
14804
14804
|
centerRipple: i,
|
|
14805
14805
|
component: u,
|
|
@@ -15711,8 +15711,8 @@ const yh = /* @__PURE__ */ s((t, e) => {
|
|
|
15711
15711
|
onKeyUp: L,
|
|
15712
15712
|
placeholder: I,
|
|
15713
15713
|
readOnly: _,
|
|
15714
|
-
renderSuffix:
|
|
15715
|
-
rows:
|
|
15714
|
+
renderSuffix: V,
|
|
15715
|
+
rows: z,
|
|
15716
15716
|
size: B,
|
|
15717
15717
|
slotProps: F = {},
|
|
15718
15718
|
slots: H = {},
|
|
@@ -15768,10 +15768,10 @@ const yh = /* @__PURE__ */ s((t, e) => {
|
|
|
15768
15768
|
Z.current && Ne.currentTarget === Ne.target && Z.current.focus(), k && k(Ne);
|
|
15769
15769
|
}, "handleClick");
|
|
15770
15770
|
let rt = E, Ge = C;
|
|
15771
|
-
A && rt === "input" && (
|
|
15771
|
+
A && rt === "input" && (z ? (process.env.NODE_ENV !== "production" && (M || O) && console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."), Ge = {
|
|
15772
15772
|
type: void 0,
|
|
15773
|
-
minRows:
|
|
15774
|
-
maxRows:
|
|
15773
|
+
minRows: z,
|
|
15774
|
+
maxRows: z,
|
|
15775
15775
|
...Ge
|
|
15776
15776
|
}) : Ge = {
|
|
15777
15777
|
type: void 0,
|
|
@@ -15835,7 +15835,7 @@ const yh = /* @__PURE__ */ s((t, e) => {
|
|
|
15835
15835
|
placeholder: I,
|
|
15836
15836
|
readOnly: _,
|
|
15837
15837
|
required: X.required,
|
|
15838
|
-
rows:
|
|
15838
|
+
rows: z,
|
|
15839
15839
|
value: j,
|
|
15840
15840
|
onKeyDown: $,
|
|
15841
15841
|
onKeyUp: L,
|
|
@@ -15854,7 +15854,7 @@ const yh = /* @__PURE__ */ s((t, e) => {
|
|
|
15854
15854
|
onChange: Te,
|
|
15855
15855
|
onFocus: Ie
|
|
15856
15856
|
})
|
|
15857
|
-
}), y,
|
|
15857
|
+
}), y, V ? V({
|
|
15858
15858
|
...X,
|
|
15859
15859
|
startAdornment: Q
|
|
15860
15860
|
}) : null]
|
|
@@ -16339,7 +16339,7 @@ const ib = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
16339
16339
|
color: P,
|
|
16340
16340
|
overlap: k,
|
|
16341
16341
|
variant: $
|
|
16342
|
-
},
|
|
16342
|
+
}, V = OV(_), z = {
|
|
16343
16343
|
slots: {
|
|
16344
16344
|
root: v?.root ?? u.Root,
|
|
16345
16345
|
badge: v?.badge ?? u.Badge
|
|
@@ -16351,20 +16351,20 @@ const ib = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
16351
16351
|
}, [B, F] = je("root", {
|
|
16352
16352
|
elementType: kV,
|
|
16353
16353
|
externalForwardedProps: {
|
|
16354
|
-
...
|
|
16354
|
+
...z,
|
|
16355
16355
|
...w
|
|
16356
16356
|
},
|
|
16357
16357
|
ownerState: _,
|
|
16358
|
-
className: se(
|
|
16358
|
+
className: se(V.root, i),
|
|
16359
16359
|
ref: n,
|
|
16360
16360
|
additionalProps: {
|
|
16361
16361
|
as: l
|
|
16362
16362
|
}
|
|
16363
16363
|
}), [H, Q] = je("badge", {
|
|
16364
16364
|
elementType: MV,
|
|
16365
|
-
externalForwardedProps:
|
|
16365
|
+
externalForwardedProps: z,
|
|
16366
16366
|
ownerState: _,
|
|
16367
|
-
className:
|
|
16367
|
+
className: V.badge
|
|
16368
16368
|
});
|
|
16369
16369
|
return /* @__PURE__ */ Y(B, {
|
|
16370
16370
|
...F,
|
|
@@ -16597,13 +16597,13 @@ const RV = /* @__PURE__ */ s((t) => {
|
|
|
16597
16597
|
}, "handleInputChange");
|
|
16598
16598
|
let I = l;
|
|
16599
16599
|
k && typeof I > "u" && (I = k.disabled);
|
|
16600
|
-
const _ = T === "checkbox" || T === "radio",
|
|
16600
|
+
const _ = T === "checkbox" || T === "radio", V = {
|
|
16601
16601
|
...e,
|
|
16602
16602
|
checked: D,
|
|
16603
16603
|
disabled: I,
|
|
16604
16604
|
disableFocusRipple: u,
|
|
16605
16605
|
edge: d
|
|
16606
|
-
},
|
|
16606
|
+
}, z = RV(V), B = {
|
|
16607
16607
|
slots: M,
|
|
16608
16608
|
slotProps: {
|
|
16609
16609
|
input: m,
|
|
@@ -16612,7 +16612,7 @@ const RV = /* @__PURE__ */ s((t) => {
|
|
|
16612
16612
|
}, [F, H] = je("root", {
|
|
16613
16613
|
ref: n,
|
|
16614
16614
|
elementType: PV,
|
|
16615
|
-
className:
|
|
16615
|
+
className: z.root,
|
|
16616
16616
|
shouldForwardComponentProp: !0,
|
|
16617
16617
|
externalForwardedProps: {
|
|
16618
16618
|
...B,
|
|
@@ -16628,7 +16628,7 @@ const RV = /* @__PURE__ */ s((t) => {
|
|
|
16628
16628
|
K.onBlur?.(ee), $(ee);
|
|
16629
16629
|
}, "onBlur")
|
|
16630
16630
|
}), "getSlotProps"),
|
|
16631
|
-
ownerState:
|
|
16631
|
+
ownerState: V,
|
|
16632
16632
|
additionalProps: {
|
|
16633
16633
|
centerRipple: !0,
|
|
16634
16634
|
focusRipple: !u,
|
|
@@ -16638,7 +16638,7 @@ const RV = /* @__PURE__ */ s((t) => {
|
|
|
16638
16638
|
}), [Q, U] = je("input", {
|
|
16639
16639
|
ref: h,
|
|
16640
16640
|
elementType: AV,
|
|
16641
|
-
className:
|
|
16641
|
+
className: z.input,
|
|
16642
16642
|
externalForwardedProps: B,
|
|
16643
16643
|
getSlotProps: /* @__PURE__ */ s((K) => ({
|
|
16644
16644
|
...K,
|
|
@@ -16646,7 +16646,7 @@ const RV = /* @__PURE__ */ s((t) => {
|
|
|
16646
16646
|
K.onChange?.(ee), L(ee);
|
|
16647
16647
|
}, "onChange")
|
|
16648
16648
|
}), "getSlotProps"),
|
|
16649
|
-
ownerState:
|
|
16649
|
+
ownerState: V,
|
|
16650
16650
|
additionalProps: {
|
|
16651
16651
|
autoFocus: r,
|
|
16652
16652
|
checked: o,
|
|
@@ -20144,8 +20144,8 @@ const Mj = /* @__PURE__ */ s((t) => {
|
|
|
20144
20144
|
return o && S.Children.forEach(o, (_) => {
|
|
20145
20145
|
if (!Ea(_, ["Input", "Select"]))
|
|
20146
20146
|
return;
|
|
20147
|
-
const
|
|
20148
|
-
|
|
20147
|
+
const V = Ea(_, ["Select"]) ? _.props.input : _;
|
|
20148
|
+
V && gV(V.props) && (I = !0);
|
|
20149
20149
|
}), I;
|
|
20150
20150
|
}), [O, M] = S.useState(() => {
|
|
20151
20151
|
let I = !1;
|
|
@@ -20489,8 +20489,8 @@ const Nj = {
|
|
|
20489
20489
|
y0(L);
|
|
20490
20490
|
const {
|
|
20491
20491
|
duration: _,
|
|
20492
|
-
delay:
|
|
20493
|
-
easing:
|
|
20492
|
+
delay: V,
|
|
20493
|
+
easing: z
|
|
20494
20494
|
} = Wo({
|
|
20495
20495
|
style: y,
|
|
20496
20496
|
timeout: g,
|
|
@@ -20501,17 +20501,17 @@ const Nj = {
|
|
|
20501
20501
|
let B;
|
|
20502
20502
|
g === "auto" ? (B = w.transitions.getAutoHeightDuration(L.clientHeight), C.current = B) : B = _, L.style.transition = [w.transitions.create("opacity", {
|
|
20503
20503
|
duration: B,
|
|
20504
|
-
delay:
|
|
20504
|
+
delay: V
|
|
20505
20505
|
}), w.transitions.create("transform", {
|
|
20506
20506
|
duration: Rm ? B : B * 0.666,
|
|
20507
|
-
delay:
|
|
20508
|
-
easing:
|
|
20507
|
+
delay: V,
|
|
20508
|
+
easing: z
|
|
20509
20509
|
})].join(","), u && u(L, I);
|
|
20510
20510
|
}), D = M(d), P = M(h), k = M((L) => {
|
|
20511
20511
|
const {
|
|
20512
20512
|
duration: I,
|
|
20513
20513
|
delay: _,
|
|
20514
|
-
easing:
|
|
20514
|
+
easing: V
|
|
20515
20515
|
} = Wo({
|
|
20516
20516
|
style: y,
|
|
20517
20517
|
timeout: g,
|
|
@@ -20519,14 +20519,14 @@ const Nj = {
|
|
|
20519
20519
|
}, {
|
|
20520
20520
|
mode: "exit"
|
|
20521
20521
|
});
|
|
20522
|
-
let
|
|
20523
|
-
g === "auto" ? (
|
|
20524
|
-
duration:
|
|
20522
|
+
let z;
|
|
20523
|
+
g === "auto" ? (z = w.transitions.getAutoHeightDuration(L.clientHeight), C.current = z) : z = I, L.style.transition = [w.transitions.create("opacity", {
|
|
20524
|
+
duration: z,
|
|
20525
20525
|
delay: _
|
|
20526
20526
|
}), w.transitions.create("transform", {
|
|
20527
|
-
duration: Rm ?
|
|
20528
|
-
delay: Rm ? _ : _ ||
|
|
20529
|
-
easing:
|
|
20527
|
+
duration: Rm ? z : z * 0.666,
|
|
20528
|
+
delay: Rm ? _ : _ || z * 0.333,
|
|
20529
|
+
easing: V
|
|
20530
20530
|
})].join(","), L.style.opacity = 0, L.style.transform = ab(0.75), f && f(L);
|
|
20531
20531
|
}), N = M(m);
|
|
20532
20532
|
return /* @__PURE__ */ b(v, {
|
|
@@ -20789,7 +20789,7 @@ const $j = /* @__PURE__ */ s((t) => {
|
|
|
20789
20789
|
S.useEffect(() => (O && window.addEventListener("scroll", I), () => window.removeEventListener("scroll", I)), [i, O, I]);
|
|
20790
20790
|
const _ = /* @__PURE__ */ s(() => {
|
|
20791
20791
|
I();
|
|
20792
|
-
}, "handleEntering"),
|
|
20792
|
+
}, "handleEntering"), V = /* @__PURE__ */ s(() => {
|
|
20793
20793
|
L(!1);
|
|
20794
20794
|
}, "handleExited");
|
|
20795
20795
|
S.useEffect(() => {
|
|
@@ -20808,7 +20808,7 @@ const $j = /* @__PURE__ */ s((t) => {
|
|
|
20808
20808
|
te.clear(), ae.removeEventListener("resize", te);
|
|
20809
20809
|
};
|
|
20810
20810
|
}, [i, y, I]);
|
|
20811
|
-
let
|
|
20811
|
+
let z = w;
|
|
20812
20812
|
const B = {
|
|
20813
20813
|
slots: {
|
|
20814
20814
|
transition: C,
|
|
@@ -20829,7 +20829,7 @@ const $j = /* @__PURE__ */ s((t) => {
|
|
|
20829
20829
|
te.onEntering?.(ae, q), _();
|
|
20830
20830
|
}, "onEntering"),
|
|
20831
20831
|
onExited: /* @__PURE__ */ s((ae) => {
|
|
20832
|
-
te.onExited?.(ae),
|
|
20832
|
+
te.onExited?.(ae), V();
|
|
20833
20833
|
}, "onExited")
|
|
20834
20834
|
}), "getSlotProps"),
|
|
20835
20835
|
additionalProps: {
|
|
@@ -20837,7 +20837,7 @@ const $j = /* @__PURE__ */ s((t) => {
|
|
|
20837
20837
|
in: y
|
|
20838
20838
|
}
|
|
20839
20839
|
});
|
|
20840
|
-
w === "auto" && !F.muiSupportAuto && (
|
|
20840
|
+
w === "auto" && !F.muiSupportAuto && (z = void 0);
|
|
20841
20841
|
const Q = f || (i ? un(Bl(i)).body : void 0), [U, {
|
|
20842
20842
|
slots: K,
|
|
20843
20843
|
slotProps: ee,
|
|
@@ -20887,7 +20887,7 @@ const $j = /* @__PURE__ */ s((t) => {
|
|
|
20887
20887
|
},
|
|
20888
20888
|
children: /* @__PURE__ */ b(F, {
|
|
20889
20889
|
...H,
|
|
20890
|
-
timeout:
|
|
20890
|
+
timeout: z,
|
|
20891
20891
|
children: /* @__PURE__ */ b(W, {
|
|
20892
20892
|
...Z,
|
|
20893
20893
|
children: d
|
|
@@ -21167,17 +21167,17 @@ const _j = {
|
|
|
21167
21167
|
transitionDuration: h,
|
|
21168
21168
|
TransitionProps: g,
|
|
21169
21169
|
variant: v
|
|
21170
|
-
}, O = zj(T), M = o && !l && p, A = S.useRef(null), R = /* @__PURE__ */ s((
|
|
21171
|
-
A.current && A.current.adjustStyleForScrollbar(
|
|
21170
|
+
}, O = zj(T), M = o && !l && p, A = S.useRef(null), R = /* @__PURE__ */ s((z, B) => {
|
|
21171
|
+
A.current && A.current.adjustStyleForScrollbar(z, {
|
|
21172
21172
|
direction: w ? "rtl" : "ltr"
|
|
21173
|
-
}), y && y(
|
|
21174
|
-
}, "handleEntering"), D = /* @__PURE__ */ s((
|
|
21175
|
-
|
|
21173
|
+
}), y && y(z, B);
|
|
21174
|
+
}, "handleEntering"), D = /* @__PURE__ */ s((z) => {
|
|
21175
|
+
z.key === "Tab" && (z.preventDefault(), d && d(z, "tabKeyDown"));
|
|
21176
21176
|
}, "handleListKeyDown");
|
|
21177
21177
|
let P = -1;
|
|
21178
|
-
S.Children.map(i, (
|
|
21179
|
-
/* @__PURE__ */ S.isValidElement(
|
|
21180
|
-
`)),
|
|
21178
|
+
S.Children.map(i, (z, B) => {
|
|
21179
|
+
/* @__PURE__ */ S.isValidElement(z) && (process.env.NODE_ENV !== "production" && wh.isFragment(z) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
|
|
21180
|
+
`)), z.props.disabled || (v === "selectedMenu" && z.props.selected || P === -1) && (P = B));
|
|
21181
21181
|
});
|
|
21182
21182
|
const k = {
|
|
21183
21183
|
slots: x,
|
|
@@ -21203,14 +21203,14 @@ const _j = {
|
|
|
21203
21203
|
elementType: Wj,
|
|
21204
21204
|
shouldForwardComponentProp: !0,
|
|
21205
21205
|
externalForwardedProps: k,
|
|
21206
|
-
getSlotProps: /* @__PURE__ */ s((
|
|
21207
|
-
...
|
|
21206
|
+
getSlotProps: /* @__PURE__ */ s((z) => ({
|
|
21207
|
+
...z,
|
|
21208
21208
|
onKeyDown: /* @__PURE__ */ s((B) => {
|
|
21209
|
-
D(B),
|
|
21209
|
+
D(B), z.onKeyDown?.(B);
|
|
21210
21210
|
}, "onKeyDown")
|
|
21211
21211
|
}), "getSlotProps"),
|
|
21212
21212
|
ownerState: T
|
|
21213
|
-
}),
|
|
21213
|
+
}), V = typeof k.slotProps.transition == "function" ? k.slotProps.transition(T) : k.slotProps.transition;
|
|
21214
21214
|
return /* @__PURE__ */ b(Vj, {
|
|
21215
21215
|
onClose: d,
|
|
21216
21216
|
anchorOrigin: {
|
|
@@ -21232,9 +21232,9 @@ const _j = {
|
|
|
21232
21232
|
paper: L,
|
|
21233
21233
|
backdrop: typeof E.backdrop == "function" ? E.backdrop(T) : E.backdrop,
|
|
21234
21234
|
transition: {
|
|
21235
|
-
...
|
|
21236
|
-
onEntering: /* @__PURE__ */ s((...
|
|
21237
|
-
R(...
|
|
21235
|
+
...V,
|
|
21236
|
+
onEntering: /* @__PURE__ */ s((...z) => {
|
|
21237
|
+
R(...z), V?.onEntering?.(...z);
|
|
21238
21238
|
}, "onEntering")
|
|
21239
21239
|
}
|
|
21240
21240
|
},
|
|
@@ -21710,11 +21710,11 @@ const Qj = /* @__PURE__ */ s((t) => {
|
|
|
21710
21710
|
tabIndex: I,
|
|
21711
21711
|
// catching `type` from Input which makes no sense for SelectInput
|
|
21712
21712
|
type: _,
|
|
21713
|
-
value:
|
|
21714
|
-
variant:
|
|
21713
|
+
value: V,
|
|
21714
|
+
variant: z = "standard",
|
|
21715
21715
|
...B
|
|
21716
21716
|
} = e, [F, H] = Jd({
|
|
21717
|
-
controlled:
|
|
21717
|
+
controlled: V,
|
|
21718
21718
|
default: p,
|
|
21719
21719
|
name: "Select"
|
|
21720
21720
|
}), [Q, U] = Jd({
|
|
@@ -21854,7 +21854,7 @@ const Qj = /* @__PURE__ */ s((t) => {
|
|
|
21854
21854
|
typeof I < "u" ? Ne = I : Ne = f ? null : 0;
|
|
21855
21855
|
const At = L.id || (C ? `mui-component-select-${C}` : void 0), ot = {
|
|
21856
21856
|
...e,
|
|
21857
|
-
variant:
|
|
21857
|
+
variant: z,
|
|
21858
21858
|
value: F,
|
|
21859
21859
|
open: X,
|
|
21860
21860
|
error: h
|
|
@@ -22150,7 +22150,7 @@ const Zj = /* @__PURE__ */ s((t) => {
|
|
|
22150
22150
|
}, L = Zj($), {
|
|
22151
22151
|
root: I,
|
|
22152
22152
|
..._
|
|
22153
|
-
} = L,
|
|
22153
|
+
} = L, V = m || {
|
|
22154
22154
|
standard: /* @__PURE__ */ b(e6, {
|
|
22155
22155
|
ownerState: $
|
|
22156
22156
|
}),
|
|
@@ -22161,9 +22161,9 @@ const Zj = /* @__PURE__ */ s((t) => {
|
|
|
22161
22161
|
filled: /* @__PURE__ */ b(n6, {
|
|
22162
22162
|
ownerState: $
|
|
22163
22163
|
})
|
|
22164
|
-
}[N],
|
|
22164
|
+
}[N], z = jt(n, Gs(V));
|
|
22165
22165
|
return /* @__PURE__ */ b(S.Fragment, {
|
|
22166
|
-
children: /* @__PURE__ */ S.cloneElement(
|
|
22166
|
+
children: /* @__PURE__ */ S.cloneElement(V, {
|
|
22167
22167
|
// Most of the logic is implemented in `SelectInput`.
|
|
22168
22168
|
// The `Select` component is a simple API wrapper to expose something better to play with.
|
|
22169
22169
|
inputComponent: D,
|
|
@@ -22199,8 +22199,8 @@ const Zj = /* @__PURE__ */ s((t) => {
|
|
|
22199
22199
|
...(x && E || d) && N === "outlined" ? {
|
|
22200
22200
|
notched: !0
|
|
22201
22201
|
} : {},
|
|
22202
|
-
ref:
|
|
22203
|
-
className: se(
|
|
22202
|
+
ref: z,
|
|
22203
|
+
className: se(V.props.className, l, L.root),
|
|
22204
22204
|
// If a custom input is provided via 'input' prop, do not allow 'variant' to be propagated to it's root element. See https://github.com/mui/material-ui/issues/33894.
|
|
22205
22205
|
...!m && {
|
|
22206
22206
|
variant: N
|
|
@@ -22411,8 +22411,8 @@ const o6 = {
|
|
|
22411
22411
|
select: L = !1,
|
|
22412
22412
|
SelectProps: I,
|
|
22413
22413
|
slots: _ = {},
|
|
22414
|
-
slotProps:
|
|
22415
|
-
type:
|
|
22414
|
+
slotProps: V = {},
|
|
22415
|
+
type: z,
|
|
22416
22416
|
value: B,
|
|
22417
22417
|
variant: F = "outlined",
|
|
22418
22418
|
...H
|
|
@@ -22437,7 +22437,7 @@ const o6 = {
|
|
|
22437
22437
|
htmlInput: x,
|
|
22438
22438
|
formHelperText: m,
|
|
22439
22439
|
select: I,
|
|
22440
|
-
...
|
|
22440
|
+
...V
|
|
22441
22441
|
}
|
|
22442
22442
|
}, te = {}, ae = Z.slotProps.inputLabel;
|
|
22443
22443
|
F === "outlined" && (ae && typeof ae.shrink < "u" && (te.notched = ae.shrink), te.label = w), L && ((!I || !I.native) && (te.id = void 0), te["aria-describedby"] = void 0);
|
|
@@ -22491,7 +22491,7 @@ const o6 = {
|
|
|
22491
22491
|
rows: $,
|
|
22492
22492
|
maxRows: T,
|
|
22493
22493
|
minRows: O,
|
|
22494
|
-
type:
|
|
22494
|
+
type: z,
|
|
22495
22495
|
value: B,
|
|
22496
22496
|
id: K,
|
|
22497
22497
|
inputRef: C,
|
|
@@ -23694,7 +23694,7 @@ const Su = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
23694
23694
|
...I
|
|
23695
23695
|
} = r, _ = /* @__PURE__ */ S.isValidElement(i) ? i : /* @__PURE__ */ b("span", {
|
|
23696
23696
|
children: i
|
|
23697
|
-
}),
|
|
23697
|
+
}), V = cr(), z = Hs(), [B, F] = S.useState(), [H, Q] = S.useState(null), U = S.useRef(!1), K = m || x, ee = ms(), j = ms(), W = ms(), Z = ms(), [te, ae] = Jd({
|
|
23698
23698
|
controlled: M,
|
|
23699
23699
|
default: !1,
|
|
23700
23700
|
name: "Tooltip",
|
|
@@ -23723,7 +23723,7 @@ const Su = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
23723
23723
|
(Ve) => {
|
|
23724
23724
|
rw.start(800 + C, () => {
|
|
23725
23725
|
Ku = !1;
|
|
23726
|
-
}), ae(!1), T && q && T(Ve), ee.start(
|
|
23726
|
+
}), ae(!1), T && q && T(Ve), ee.start(V.transitions.duration.shortest, () => {
|
|
23727
23727
|
U.current = !1;
|
|
23728
23728
|
});
|
|
23729
23729
|
}
|
|
@@ -23801,7 +23801,7 @@ const Su = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
23801
23801
|
`));
|
|
23802
23802
|
const ot = {
|
|
23803
23803
|
...r,
|
|
23804
|
-
isRtl:
|
|
23804
|
+
isRtl: z,
|
|
23805
23805
|
arrow: o,
|
|
23806
23806
|
disableInteractive: K,
|
|
23807
23807
|
placement: A,
|
|
@@ -23887,7 +23887,7 @@ const Su = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
23887
23887
|
children: /* @__PURE__ */ s(({
|
|
23888
23888
|
TransitionProps: Ve
|
|
23889
23889
|
}) => /* @__PURE__ */ b(_t, {
|
|
23890
|
-
timeout:
|
|
23890
|
+
timeout: V.transitions.duration.shorter,
|
|
23891
23891
|
...Ve,
|
|
23892
23892
|
...yn,
|
|
23893
23893
|
children: /* @__PURE__ */ Y(zr, {
|
|
@@ -24660,7 +24660,7 @@ const iR = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
24660
24660
|
variant: D = "standard",
|
|
24661
24661
|
visibleScrollbar: P = !1,
|
|
24662
24662
|
...k
|
|
24663
|
-
} = r, N = D === "scrollable", $ = v === "vertical", L = $ ? "scrollTop" : "scrollLeft", I = $ ? "top" : "left", _ = $ ? "bottom" : "right",
|
|
24663
|
+
} = r, N = D === "scrollable", $ = v === "vertical", L = $ ? "scrollTop" : "scrollLeft", I = $ ? "top" : "left", _ = $ ? "bottom" : "right", V = $ ? "clientHeight" : "clientWidth", z = $ ? "height" : "width", B = {
|
|
24664
24664
|
...r,
|
|
24665
24665
|
component: m,
|
|
24666
24666
|
allowScrollButtonsMobile: h,
|
|
@@ -24738,12 +24738,12 @@ const iR = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
24738
24738
|
const Bt = {
|
|
24739
24739
|
[Qe]: qe,
|
|
24740
24740
|
// May be wrong until the font is loaded.
|
|
24741
|
-
[
|
|
24741
|
+
[z]: ue ? ue[z] : 0
|
|
24742
24742
|
};
|
|
24743
|
-
if (typeof ee[Qe] != "number" || typeof ee[
|
|
24743
|
+
if (typeof ee[Qe] != "number" || typeof ee[z] != "number")
|
|
24744
24744
|
j(Bt);
|
|
24745
24745
|
else {
|
|
24746
|
-
const dr = Math.abs(ee[Qe] - Bt[Qe]), ko = Math.abs(ee[
|
|
24746
|
+
const dr = Math.abs(ee[Qe] - Bt[Qe]), ko = Math.abs(ee[z] - Bt[z]);
|
|
24747
24747
|
(dr >= 1 || ko >= 1) && j(Bt);
|
|
24748
24748
|
}
|
|
24749
24749
|
}), ye = /* @__PURE__ */ s((Se, {
|
|
@@ -24756,16 +24756,16 @@ const iR = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
24756
24756
|
let ue = ie.current[L];
|
|
24757
24757
|
$ ? ue += Se : ue += Se * (i ? -1 : 1), ye(ue);
|
|
24758
24758
|
}, "moveTabsScroll"), Ge = /* @__PURE__ */ s(() => {
|
|
24759
|
-
const Se = ie.current[
|
|
24759
|
+
const Se = ie.current[V];
|
|
24760
24760
|
let ue = 0;
|
|
24761
24761
|
const qe = Array.from(ge.current.children);
|
|
24762
24762
|
for (let Qe = 0; Qe < qe.length; Qe += 1) {
|
|
24763
24763
|
const Bt = qe[Qe];
|
|
24764
|
-
if (ue + Bt[
|
|
24764
|
+
if (ue + Bt[V] > Se) {
|
|
24765
24765
|
Qe === 0 && (ue = Se);
|
|
24766
24766
|
break;
|
|
24767
24767
|
}
|
|
24768
|
-
ue += Bt[
|
|
24768
|
+
ue += Bt[V];
|
|
24769
24769
|
}
|
|
24770
24770
|
return ue;
|
|
24771
24771
|
}, "getScrollSize"), Tt = /* @__PURE__ */ s(() => {
|
|
@@ -27209,12 +27209,12 @@ const JW = /* @__PURE__ */ s((t, e) => {
|
|
|
27209
27209
|
externalForwardedProps: N,
|
|
27210
27210
|
ownerState: D,
|
|
27211
27211
|
className: P.secondaryAction
|
|
27212
|
-
}), I = C.root || u.Root || QW, _ = E.root || d.root || {},
|
|
27212
|
+
}), I = C.root || u.Root || QW, _ = E.root || d.root || {}, V = {
|
|
27213
27213
|
className: se(P.root, _.className, a),
|
|
27214
27214
|
...w
|
|
27215
27215
|
};
|
|
27216
|
-
let
|
|
27217
|
-
return R ? (
|
|
27216
|
+
let z = l || "li";
|
|
27217
|
+
return R ? (z = !V.component && !l ? "div" : z, p === "li" && (z === "li" ? z = "div" : V.component === "li" && (V.component = "div")), /* @__PURE__ */ b(kr.Provider, {
|
|
27218
27218
|
value: O,
|
|
27219
27219
|
children: /* @__PURE__ */ Y(ZW, {
|
|
27220
27220
|
as: p,
|
|
@@ -27225,13 +27225,13 @@ const JW = /* @__PURE__ */ s((t, e) => {
|
|
|
27225
27225
|
children: [/* @__PURE__ */ b(I, {
|
|
27226
27226
|
..._,
|
|
27227
27227
|
...!Fa(I) && {
|
|
27228
|
-
as:
|
|
27228
|
+
as: z,
|
|
27229
27229
|
ownerState: {
|
|
27230
27230
|
...D,
|
|
27231
27231
|
..._.ownerState
|
|
27232
27232
|
}
|
|
27233
27233
|
},
|
|
27234
|
-
...
|
|
27234
|
+
...V,
|
|
27235
27235
|
children: A
|
|
27236
27236
|
}), A.pop()]
|
|
27237
27237
|
})
|
|
@@ -27239,7 +27239,7 @@ const JW = /* @__PURE__ */ s((t, e) => {
|
|
|
27239
27239
|
value: O,
|
|
27240
27240
|
children: /* @__PURE__ */ Y(I, {
|
|
27241
27241
|
..._,
|
|
27242
|
-
as:
|
|
27242
|
+
as: z,
|
|
27243
27243
|
ref: k,
|
|
27244
27244
|
...!Fa(I) && {
|
|
27245
27245
|
ownerState: {
|
|
@@ -27247,7 +27247,7 @@ const JW = /* @__PURE__ */ s((t, e) => {
|
|
|
27247
27247
|
..._.ownerState
|
|
27248
27248
|
}
|
|
27249
27249
|
},
|
|
27250
|
-
...
|
|
27250
|
+
...V,
|
|
27251
27251
|
children: [A, x && /* @__PURE__ */ b($, {
|
|
27252
27252
|
...L,
|
|
27253
27253
|
children: x
|
|
@@ -27466,11 +27466,11 @@ const U0 = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
27466
27466
|
// eslint-disable-next-line react/prop-types
|
|
27467
27467
|
TransitionComponent: T = Lr,
|
|
27468
27468
|
...O
|
|
27469
|
-
} = e, M = S.useRef(null), A = jt(Gs(u), M, n), R = /* @__PURE__ */ s((
|
|
27470
|
-
|
|
27471
|
-
}, "normalizedTransitionCallback"), D = R((
|
|
27472
|
-
ed(p,
|
|
27473
|
-
}), P = R((
|
|
27469
|
+
} = e, M = S.useRef(null), A = jt(Gs(u), M, n), R = /* @__PURE__ */ s((V) => (z) => {
|
|
27470
|
+
V && (z === void 0 ? V(M.current) : V(M.current, z));
|
|
27471
|
+
}, "normalizedTransitionCallback"), D = R((V, z) => {
|
|
27472
|
+
ed(p, V, d), y0(V), h && h(V, z);
|
|
27473
|
+
}), P = R((V, z) => {
|
|
27474
27474
|
const B = Wo({
|
|
27475
27475
|
timeout: w,
|
|
27476
27476
|
style: C,
|
|
@@ -27478,35 +27478,35 @@ const U0 = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
27478
27478
|
}, {
|
|
27479
27479
|
mode: "enter"
|
|
27480
27480
|
});
|
|
27481
|
-
|
|
27481
|
+
V.style.webkitTransition = r.transitions.create("-webkit-transform", {
|
|
27482
27482
|
...B
|
|
27483
|
-
}),
|
|
27483
|
+
}), V.style.transition = r.transitions.create("transform", {
|
|
27484
27484
|
...B
|
|
27485
|
-
}),
|
|
27486
|
-
}), k = R(y), N = R(E), $ = R((
|
|
27487
|
-
const
|
|
27485
|
+
}), V.style.webkitTransform = "none", V.style.transform = "none", g && g(V, z);
|
|
27486
|
+
}), k = R(y), N = R(E), $ = R((V) => {
|
|
27487
|
+
const z = Wo({
|
|
27488
27488
|
timeout: w,
|
|
27489
27489
|
style: C,
|
|
27490
27490
|
easing: f
|
|
27491
27491
|
}, {
|
|
27492
27492
|
mode: "exit"
|
|
27493
27493
|
});
|
|
27494
|
-
|
|
27495
|
-
}), L = R((
|
|
27496
|
-
|
|
27497
|
-
}), I = /* @__PURE__ */ s((
|
|
27498
|
-
a && a(M.current,
|
|
27494
|
+
V.style.webkitTransition = r.transitions.create("-webkit-transform", z), V.style.transition = r.transitions.create("transform", z), ed(p, V, d), v && v(V);
|
|
27495
|
+
}), L = R((V) => {
|
|
27496
|
+
V.style.webkitTransition = "", V.style.transition = "", x && x(V);
|
|
27497
|
+
}), I = /* @__PURE__ */ s((V) => {
|
|
27498
|
+
a && a(M.current, V);
|
|
27499
27499
|
}, "handleAddEndListener"), _ = S.useCallback(() => {
|
|
27500
27500
|
M.current && ed(p, M.current, d);
|
|
27501
27501
|
}, [p, d]);
|
|
27502
27502
|
return S.useEffect(() => {
|
|
27503
27503
|
if (m || p === "down" || p === "right")
|
|
27504
27504
|
return;
|
|
27505
|
-
const
|
|
27505
|
+
const V = cu(() => {
|
|
27506
27506
|
M.current && ed(p, M.current, d);
|
|
27507
|
-
}),
|
|
27508
|
-
return
|
|
27509
|
-
|
|
27507
|
+
}), z = En(M.current);
|
|
27508
|
+
return z.addEventListener("resize", V), () => {
|
|
27509
|
+
V.clear(), z.removeEventListener("resize", V);
|
|
27510
27510
|
};
|
|
27511
27511
|
}, [p, m, d]), S.useEffect(() => {
|
|
27512
27512
|
m || _();
|
|
@@ -27523,13 +27523,13 @@ const U0 = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
27523
27523
|
in: m,
|
|
27524
27524
|
timeout: w,
|
|
27525
27525
|
...O,
|
|
27526
|
-
children: /* @__PURE__ */ s((
|
|
27527
|
-
ownerState:
|
|
27526
|
+
children: /* @__PURE__ */ s((V, {
|
|
27527
|
+
ownerState: z,
|
|
27528
27528
|
...B
|
|
27529
27529
|
}) => /* @__PURE__ */ S.cloneElement(u, {
|
|
27530
27530
|
ref: A,
|
|
27531
27531
|
style: {
|
|
27532
|
-
visibility:
|
|
27532
|
+
visibility: V === "exited" && !m ? "hidden" : void 0,
|
|
27533
27533
|
...C,
|
|
27534
27534
|
...u.props.style
|
|
27535
27535
|
},
|
|
@@ -27866,7 +27866,7 @@ const kR = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
27866
27866
|
backdrop: $.slotProps.backdrop
|
|
27867
27867
|
}
|
|
27868
27868
|
}
|
|
27869
|
-
}), [_,
|
|
27869
|
+
}), [_, V] = je("paper", {
|
|
27870
27870
|
elementType: iH,
|
|
27871
27871
|
shouldForwardComponentProp: !0,
|
|
27872
27872
|
className: se(N.paper, x.className),
|
|
@@ -27880,7 +27880,7 @@ const kR = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
27880
27880
|
"aria-modal": "true"
|
|
27881
27881
|
}
|
|
27882
27882
|
}
|
|
27883
|
-
}), [
|
|
27883
|
+
}), [z, B] = je("docked", {
|
|
27884
27884
|
elementType: oH,
|
|
27885
27885
|
ref: n,
|
|
27886
27886
|
className: se(N.root, N.docked, p),
|
|
@@ -27899,11 +27899,11 @@ const kR = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
27899
27899
|
appear: R.current
|
|
27900
27900
|
}
|
|
27901
27901
|
}), Q = /* @__PURE__ */ b(_, {
|
|
27902
|
-
...
|
|
27902
|
+
...V,
|
|
27903
27903
|
children: d
|
|
27904
27904
|
});
|
|
27905
27905
|
if (T === "permanent")
|
|
27906
|
-
return /* @__PURE__ */ b(
|
|
27906
|
+
return /* @__PURE__ */ b(z, {
|
|
27907
27907
|
...B,
|
|
27908
27908
|
children: Q
|
|
27909
27909
|
});
|
|
@@ -27911,7 +27911,7 @@ const kR = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
27911
27911
|
...H,
|
|
27912
27912
|
children: Q
|
|
27913
27913
|
});
|
|
27914
|
-
return T === "persistent" ? /* @__PURE__ */ b(
|
|
27914
|
+
return T === "persistent" ? /* @__PURE__ */ b(z, {
|
|
27915
27915
|
...B,
|
|
27916
27916
|
children: U
|
|
27917
27917
|
}) : /* @__PURE__ */ b(L, {
|
|
@@ -28207,9 +28207,9 @@ const cH = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
28207
28207
|
...D
|
|
28208
28208
|
} = r, [P, k] = S.useState(!1), N = S.useRef({
|
|
28209
28209
|
isSwiping: null
|
|
28210
|
-
}), $ = S.useRef(), L = S.useRef(), I = S.useRef(), _ = jt(C.ref, I),
|
|
28210
|
+
}), $ = S.useRef(), L = S.useRef(), I = S.useRef(), _ = jt(C.ref, I), V = S.useRef(!1), z = S.useRef();
|
|
28211
28211
|
On(() => {
|
|
28212
|
-
|
|
28212
|
+
z.current = null;
|
|
28213
28213
|
}, [E]);
|
|
28214
28214
|
const B = S.useCallback((j, W = {}) => {
|
|
28215
28215
|
const {
|
|
@@ -28229,9 +28229,9 @@ const cH = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
28229
28229
|
ie.opacity = 1 - j / Il(ve, I.current), te && (ie.webkitTransition = de, ie.transition = de);
|
|
28230
28230
|
}
|
|
28231
28231
|
}, [a, l, p, o, O]), F = _n((j) => {
|
|
28232
|
-
if (!
|
|
28232
|
+
if (!V.current)
|
|
28233
28233
|
return;
|
|
28234
|
-
if (Ao = null,
|
|
28234
|
+
if (Ao = null, V.current = !1, Ay.flushSync(() => {
|
|
28235
28235
|
k(!1);
|
|
28236
28236
|
}), !N.current.isSwiping) {
|
|
28237
28237
|
N.current.isSwiping = null;
|
|
@@ -28242,7 +28242,7 @@ const cH = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
28242
28242
|
let te;
|
|
28243
28243
|
Z ? te = Fm(W, j.changedTouches, un(j.currentTarget)) : te = _m(W, j.changedTouches, En(j.currentTarget));
|
|
28244
28244
|
const ae = Z ? N.current.startX : N.current.startY, q = Il(Z, I.current), ve = bw(te, ae, E, q), le = ve / q;
|
|
28245
|
-
if (Math.abs(N.current.velocity) > h && (
|
|
28245
|
+
if (Math.abs(N.current.velocity) > h && (z.current = Math.abs((q - ve) / N.current.velocity) * 1e3), E) {
|
|
28246
28246
|
N.current.velocity > h || le > f ? v() : B(0, {
|
|
28247
28247
|
mode: "exit"
|
|
28248
28248
|
});
|
|
@@ -28259,10 +28259,10 @@ const cH = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
28259
28259
|
const W = es(a);
|
|
28260
28260
|
!E && I.current && B(Il(W, I.current) + (u ? 15 : -Lm), {
|
|
28261
28261
|
changeTransition: !1
|
|
28262
|
-
}), N.current.velocity = 0, N.current.lastTime = null, N.current.lastTranslate = null, N.current.paperHit = !1,
|
|
28262
|
+
}), N.current.velocity = 0, N.current.lastTime = null, N.current.lastTranslate = null, N.current.paperHit = !1, V.current = !0;
|
|
28263
28263
|
}
|
|
28264
28264
|
}, "startMaybeSwiping"), Q = _n((j) => {
|
|
28265
|
-
if (!I.current || !
|
|
28265
|
+
if (!I.current || !V.current || Ao !== null && Ao !== N.current)
|
|
28266
28266
|
return;
|
|
28267
28267
|
H(!0);
|
|
28268
28268
|
const W = zl(o, a), Z = es(a), te = Fm(W, j.touches, un(j.currentTarget)), ae = _m(W, j.touches, En(j.currentTarget));
|
|
@@ -28370,7 +28370,7 @@ const cH = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
28370
28370
|
},
|
|
28371
28371
|
hideBackdrop: p,
|
|
28372
28372
|
anchor: a,
|
|
28373
|
-
transitionDuration:
|
|
28373
|
+
transitionDuration: z.current || O,
|
|
28374
28374
|
onClose: v,
|
|
28375
28375
|
ref: n,
|
|
28376
28376
|
slots: A,
|
|
@@ -28931,12 +28931,12 @@ const hH = {
|
|
|
28931
28931
|
let I = null, _ = !1;
|
|
28932
28932
|
try {
|
|
28933
28933
|
if (a(!0), typeof e == "function" && typeof l.current?.setRows == "function") {
|
|
28934
|
-
const
|
|
28935
|
-
I = gH(l), _ = !0, l.current.setRows(Array.isArray(
|
|
28934
|
+
const V = await e();
|
|
28935
|
+
I = gH(l), _ = !0, l.current.setRows(Array.isArray(V) ? V : []), await mH();
|
|
28936
28936
|
}
|
|
28937
28937
|
$ === "csv" ? l.current?.exportDataAsCsv?.(L) : $ === "excel" ? await l.current?.exportDataAsExcel?.(L) : $ === "print" && xH(l, L);
|
|
28938
|
-
} catch (
|
|
28939
|
-
console.error("metiri-grid-export-failed",
|
|
28938
|
+
} catch (V) {
|
|
28939
|
+
console.error("metiri-grid-export-failed", V), u(d("pos.export_failed"), { type: "error" });
|
|
28940
28940
|
} finally {
|
|
28941
28941
|
_ && I && l.current?.setRows?.(I), a(!1);
|
|
28942
28942
|
}
|
|
@@ -30502,7 +30502,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
30502
30502
|
slots: $,
|
|
30503
30503
|
slotProps: L,
|
|
30504
30504
|
...I
|
|
30505
|
-
} = t, [_,
|
|
30505
|
+
} = t, [_, V] = S.useState(0), z = S.useRef(null), [B, F] = S.useState({ top: 2, left: 8, h: 28 }), H = Ir((G) => G.breakpoints.down("md")), Q = dh(t), U = lt(), [K] = zv(), ee = (K === "en" ? J0 : X0).components.MuiDataGrid.defaultProps.localeText, j = GH(), W = pt(t), {
|
|
30506
30506
|
props: {
|
|
30507
30507
|
bulkActionButtons: Z = r,
|
|
30508
30508
|
hasCreate: te,
|
|
@@ -30521,7 +30521,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
30521
30521
|
setProps: ye
|
|
30522
30522
|
} = Xo(), rt = A ?? ge, Ge = R ?? Ie, Tt = S.useCallback(
|
|
30523
30523
|
(G) => {
|
|
30524
|
-
if (
|
|
30524
|
+
if (z.current = G, !!X) {
|
|
30525
30525
|
if (typeof X == "function") {
|
|
30526
30526
|
X(G);
|
|
30527
30527
|
return;
|
|
@@ -30865,7 +30865,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
30865
30865
|
localStorage.setItem(ml, JSON.stringify(G));
|
|
30866
30866
|
} catch {
|
|
30867
30867
|
}
|
|
30868
|
-
|
|
30868
|
+
V((oe) => oe + 1);
|
|
30869
30869
|
}
|
|
30870
30870
|
},
|
|
30871
30871
|
[ml, ce]
|
|
@@ -31168,9 +31168,9 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
31168
31168
|
}
|
|
31169
31169
|
}
|
|
31170
31170
|
}, []), S.useEffect(() => {
|
|
31171
|
-
if (!
|
|
31171
|
+
if (!z.current || !Iu || ce)
|
|
31172
31172
|
return;
|
|
31173
|
-
const Ye = 8 + (
|
|
31173
|
+
const Ye = 8 + (z.current.querySelector(
|
|
31174
31174
|
".MuiDataGrid-pinnedColumnHeaders--left"
|
|
31175
31175
|
)?.getBoundingClientRect()?.width ?? 0);
|
|
31176
31176
|
F((at) => at.top === 2 && at.left === Ye && at.h === 28 ? at : {
|
|
@@ -31766,8 +31766,8 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
31766
31766
|
} = t, E = S.useRef(null), C = nt(Nn) || {}, { lang: w = [] } = C, T = Ic(C, "borrar") || Ic(C, "delete"), O = h && !T, M = g ? [] : (i || []).filter(
|
|
31767
31767
|
(W) => yi(C, W)
|
|
31768
31768
|
), A = !!(!g && (l || p || y || O || M.length)), { sort: R } = Ii(), D = /* @__PURE__ */ s(() => E.current, "container"), P = Ir((W) => W.breakpoints.down("md")), k = v ?? P, N = v && !P, [$] = zv(), L = ($ === "en" ? J0 : X0).components.MuiDataGrid.defaultProps.localeText, I = jv(), {
|
|
31769
|
-
props: { gridContainerRef: _, chkSeleccion:
|
|
31770
|
-
} = Xo(), [
|
|
31769
|
+
props: { gridContainerRef: _, chkSeleccion: V }
|
|
31770
|
+
} = Xo(), [z, B] = S.useState({
|
|
31771
31771
|
overlay: null,
|
|
31772
31772
|
params: null
|
|
31773
31773
|
}), F = a ? a.split(",").map((W) => W.trim()).filter(Boolean) : [], Q = (F.length ? F.map(
|
|
@@ -31923,7 +31923,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
31923
31923
|
disableVirtualization: N,
|
|
31924
31924
|
onRowClick: void 0,
|
|
31925
31925
|
onCellClick: /* @__PURE__ */ s((W, Z) => {
|
|
31926
|
-
g || !A || Z?.defaultMuiPrevented ||
|
|
31926
|
+
g || !A || Z?.defaultMuiPrevented || V || Nd.has(W?.field) || B({ overlay: "actions", params: W });
|
|
31927
31927
|
}, "onCellClick"),
|
|
31928
31928
|
hideFooterSelectedRowCount: !0,
|
|
31929
31929
|
...x
|
|
@@ -31932,10 +31932,10 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
31932
31932
|
/* @__PURE__ */ b(
|
|
31933
31933
|
BH,
|
|
31934
31934
|
{
|
|
31935
|
-
open:
|
|
31935
|
+
open: z.overlay === "actions",
|
|
31936
31936
|
container: D,
|
|
31937
31937
|
onClose: U,
|
|
31938
|
-
params:
|
|
31938
|
+
params: z.params,
|
|
31939
31939
|
actions: M,
|
|
31940
31940
|
hasEdit: g ? !1 : l,
|
|
31941
31941
|
hasVerFicha: g ? !1 : p,
|
|
@@ -32279,13 +32279,13 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
32279
32279
|
fichaProps: { [h]: $ } = {},
|
|
32280
32280
|
propsContenidos: { [h]: L = {} } = {}
|
|
32281
32281
|
} = Ft(), I = Qo(), _ = Hv((ue) => C0(ue.configInputs, h, I)), {
|
|
32282
|
-
conts:
|
|
32282
|
+
conts: V = []
|
|
32283
32283
|
//user = [],
|
|
32284
32284
|
} = nt(Nn), {
|
|
32285
|
-
hidden:
|
|
32285
|
+
hidden: z,
|
|
32286
32286
|
disabled: B,
|
|
32287
32287
|
label: F
|
|
32288
|
-
} =
|
|
32288
|
+
} = V[h] || {
|
|
32289
32289
|
hidden: 0,
|
|
32290
32290
|
disabled: 0,
|
|
32291
32291
|
label: void 0
|
|
@@ -32305,7 +32305,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
32305
32305
|
slotProps: X,
|
|
32306
32306
|
initialState: de,
|
|
32307
32307
|
validateAllowAdd: ie
|
|
32308
|
-
} = $ || {}, ge = `${h}_enviartodo`, [Ie, De] = S.useState(r), [{ field: Te, sort: ye }] = r, rt = B || p || U, Ge = H !== void 0 ? H :
|
|
32308
|
+
} = $ || {}, ge = `${h}_enviartodo`, [Ie, De] = S.useState(r), [{ field: Te, sort: ye }] = r, rt = B || p || U, Ge = H !== void 0 ? H : z ? !0 : K !== void 0 ? K : f, Tt = L.enableLoad ?? ee ?? d, Xe = te ?? a, ce = ae ?? l, J = q ?? u;
|
|
32309
32309
|
let be = { ...g };
|
|
32310
32310
|
O && e.split(",").forEach((ue) => {
|
|
32311
32311
|
ue && (be[ue] = [
|
|
@@ -33559,9 +33559,9 @@ const nP = /* @__PURE__ */ s(() => {
|
|
|
33559
33559
|
};
|
|
33560
33560
|
}, []), x === null)
|
|
33561
33561
|
return /* @__PURE__ */ b(Ws, { loadingPrimary: "", loadingSecondary: "", timeout: 0 });
|
|
33562
|
-
let
|
|
33562
|
+
let V = p.filter, z = p.queryOptions;
|
|
33563
33563
|
const B = p.filters === void 0 ? /* @__PURE__ */ b(q9, {}) : p.filters;
|
|
33564
|
-
return g && y.substring(1) === e && (
|
|
33564
|
+
return g && y.substring(1) === e && (V = g.filter ?? p.filter, z = g?.meta ? { meta: { ...g.meta } } : p.queryOptions), h ? /* @__PURE__ */ b(
|
|
33565
33565
|
wC,
|
|
33566
33566
|
{
|
|
33567
33567
|
hasCreate: r,
|
|
@@ -33614,8 +33614,8 @@ const nP = /* @__PURE__ */ s(() => {
|
|
|
33614
33614
|
...p,
|
|
33615
33615
|
perPage: p.perPage ?? qw,
|
|
33616
33616
|
filters: B,
|
|
33617
|
-
filter:
|
|
33618
|
-
queryOptions:
|
|
33617
|
+
filter: V,
|
|
33618
|
+
queryOptions: z,
|
|
33619
33619
|
pagination: /* @__PURE__ */ b(
|
|
33620
33620
|
U9,
|
|
33621
33621
|
{
|
|
@@ -34316,14 +34316,14 @@ const nP = /* @__PURE__ */ s(() => {
|
|
|
34316
34316
|
handleSeleccionMultiple: L,
|
|
34317
34317
|
actionsContainerRef: I,
|
|
34318
34318
|
filterActionsContainerRef: _,
|
|
34319
|
-
viewMode:
|
|
34320
|
-
setViewMode:
|
|
34319
|
+
viewMode: V = "grilla",
|
|
34320
|
+
setViewMode: z,
|
|
34321
34321
|
hideViewModeMenu: B = !1,
|
|
34322
34322
|
pivotEnabled: F = !1,
|
|
34323
34323
|
pivotUi: H = "mui",
|
|
34324
34324
|
apiRef: Q
|
|
34325
34325
|
}
|
|
34326
|
-
} = Xo(), U = !F &&
|
|
34326
|
+
} = Xo(), U = !F && V === "pivot" ? "grilla" : V, { showCreate: K } = Y0({ resource: M }), ee = Ir((X) => X.breakpoints.down("md"));
|
|
34327
34327
|
CN(e, () => I.current);
|
|
34328
34328
|
const j = { ...D, ...E }, W = /* @__PURE__ */ s((X) => {
|
|
34329
34329
|
m(X.currentTarget);
|
|
@@ -34401,26 +34401,26 @@ const nP = /* @__PURE__ */ s(() => {
|
|
|
34401
34401
|
}
|
|
34402
34402
|
return de;
|
|
34403
34403
|
}).filter(Boolean);
|
|
34404
|
-
if (
|
|
34404
|
+
if (z && !B && !ee) {
|
|
34405
34405
|
const de = [
|
|
34406
34406
|
{
|
|
34407
34407
|
key: "grilla",
|
|
34408
34408
|
label: x("pos.view_grid"),
|
|
34409
34409
|
icon: /* @__PURE__ */ b(Gw, {}),
|
|
34410
|
-
onClick: /* @__PURE__ */ s(() =>
|
|
34410
|
+
onClick: /* @__PURE__ */ s(() => z("grilla"), "onClick")
|
|
34411
34411
|
},
|
|
34412
34412
|
{
|
|
34413
34413
|
key: "ficha",
|
|
34414
34414
|
label: x("pos.view_card"),
|
|
34415
34415
|
icon: /* @__PURE__ */ b(u8, {}),
|
|
34416
|
-
onClick: /* @__PURE__ */ s(() =>
|
|
34416
|
+
onClick: /* @__PURE__ */ s(() => z("ficha"), "onClick")
|
|
34417
34417
|
}
|
|
34418
34418
|
];
|
|
34419
34419
|
return F && de.push({
|
|
34420
34420
|
key: "pivot",
|
|
34421
34421
|
label: "Pivot",
|
|
34422
34422
|
icon: /* @__PURE__ */ b(np, {}),
|
|
34423
|
-
onClick: /* @__PURE__ */ s(() =>
|
|
34423
|
+
onClick: /* @__PURE__ */ s(() => z("pivot"), "onClick")
|
|
34424
34424
|
}), [{
|
|
34425
34425
|
type: "MenuButton",
|
|
34426
34426
|
label: U === "pivot" ? "Pivot" : x(U === "grilla" ? "pos.view_grid" : "pos.view_card"),
|
|
@@ -34439,7 +34439,7 @@ const nP = /* @__PURE__ */ s(() => {
|
|
|
34439
34439
|
ee,
|
|
34440
34440
|
F,
|
|
34441
34441
|
ve,
|
|
34442
|
-
|
|
34442
|
+
z,
|
|
34443
34443
|
x
|
|
34444
34444
|
]);
|
|
34445
34445
|
return Ae(() => {
|
|
@@ -35606,10 +35606,10 @@ const lne = /* @__PURE__ */ s((t) => {
|
|
|
35606
35606
|
return F.props?.value === Q && F.props?.style === ee ? F : Kn(F, { value: Q, style: ee });
|
|
35607
35607
|
}), [E, w, T, a, R]), L = T > 0, I = T + w < R.length, _ = /* @__PURE__ */ s(() => {
|
|
35608
35608
|
O((F) => Math.max(0, F - 1));
|
|
35609
|
-
}, "handlePrev"),
|
|
35609
|
+
}, "handlePrev"), V = /* @__PURE__ */ s(() => {
|
|
35610
35610
|
const F = Math.max(0, R.length - w);
|
|
35611
35611
|
O((H) => Math.min(F, H + 1));
|
|
35612
|
-
}, "handleNext"),
|
|
35612
|
+
}, "handleNext"), z = "fullWidth", B = /* @__PURE__ */ s(() => E ? Kn(
|
|
35613
35613
|
l,
|
|
35614
35614
|
{
|
|
35615
35615
|
className: [
|
|
@@ -35645,14 +35645,14 @@ const lne = /* @__PURE__ */ s((t) => {
|
|
|
35645
35645
|
syncWithLocation: a,
|
|
35646
35646
|
url: i,
|
|
35647
35647
|
value: k,
|
|
35648
|
-
variant:
|
|
35648
|
+
variant: z
|
|
35649
35649
|
},
|
|
35650
35650
|
$
|
|
35651
35651
|
),
|
|
35652
35652
|
/* @__PURE__ */ b(
|
|
35653
35653
|
Hr,
|
|
35654
35654
|
{
|
|
35655
|
-
onClick:
|
|
35655
|
+
onClick: V,
|
|
35656
35656
|
disabled: !I,
|
|
35657
35657
|
size: "small",
|
|
35658
35658
|
children: /* @__PURE__ */ b(gI, {})
|
|
@@ -36502,8 +36502,8 @@ const eT = S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
36502
36502
|
dialogProps: I = {}
|
|
36503
36503
|
} = g || {}, {
|
|
36504
36504
|
popupControls: _ = {},
|
|
36505
|
-
contentScroll:
|
|
36506
|
-
PaperProps:
|
|
36505
|
+
contentScroll: V = "dialog",
|
|
36506
|
+
PaperProps: z = {},
|
|
36507
36507
|
...B
|
|
36508
36508
|
} = I || {}, F = E ? {
|
|
36509
36509
|
...X8,
|
|
@@ -36511,13 +36511,13 @@ const eT = S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
36511
36511
|
} : B, H = {
|
|
36512
36512
|
display: "flex",
|
|
36513
36513
|
flexDirection: "column",
|
|
36514
|
-
...M === "form" &&
|
|
36514
|
+
...M === "form" && V === "contained" ? { overflow: "hidden" } : {},
|
|
36515
36515
|
...M === "vista" ? { height: { xs: "100%", sm: "75vh" } } : {}
|
|
36516
36516
|
}, Q = {
|
|
36517
|
-
...
|
|
36517
|
+
...z,
|
|
36518
36518
|
sx: {
|
|
36519
36519
|
...H,
|
|
36520
|
-
...
|
|
36520
|
+
...z.sx || {}
|
|
36521
36521
|
}
|
|
36522
36522
|
}, U = /* @__PURE__ */ s((K, ee) => {
|
|
36523
36523
|
x && ee !== "backdropClick" && O();
|
|
@@ -36569,7 +36569,7 @@ const eT = S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
36569
36569
|
cancelLabel: N,
|
|
36570
36570
|
confirmLabel: $,
|
|
36571
36571
|
hasForm: L,
|
|
36572
|
-
contentScroll:
|
|
36572
|
+
contentScroll: V
|
|
36573
36573
|
}) : m({
|
|
36574
36574
|
title: C,
|
|
36575
36575
|
controles: w,
|
|
@@ -37739,32 +37739,32 @@ const a7 = me([/* @__PURE__ */ b("circle", {
|
|
|
37739
37739
|
asistantResource: f,
|
|
37740
37740
|
perPage: m = 500,
|
|
37741
37741
|
...h
|
|
37742
|
-
} = e, { source: y, reference: g, fullWidth: v = !1 } = t, x = pt(t), E = Nh(x), [C, w] = Pe([]), T = typeof h.optionText == "string" ? h.optionText : "etiqueta", O = Qo(), M = Hv((
|
|
37743
|
-
let
|
|
37742
|
+
} = e, { source: y, reference: g, fullWidth: v = !1 } = t, x = pt(t), E = Nh(x), [C, w] = Pe([]), T = typeof h.optionText == "string" ? h.optionText : "etiqueta", O = Qo(), M = Hv((L) => C0(L.reload_cb, y, O)), A = rn(M), R = M === null && A.current ? A.current : M, D = u || R !== null;
|
|
37743
|
+
let P, k;
|
|
37744
37744
|
if (R) {
|
|
37745
|
-
const { callback:
|
|
37746
|
-
|
|
37747
|
-
}
|
|
37748
|
-
const
|
|
37749
|
-
(
|
|
37750
|
-
const
|
|
37751
|
-
...
|
|
37752
|
-
|
|
37753
|
-
},
|
|
37754
|
-
z && z.id !== void 0 && z.id !== null && z.id !== "" && (w((
|
|
37755
|
-
(
|
|
37756
|
-
) ?
|
|
37745
|
+
const { callback: L, ...I } = R;
|
|
37746
|
+
P = L, k = I;
|
|
37747
|
+
}
|
|
37748
|
+
const N = Le(
|
|
37749
|
+
(L, I) => {
|
|
37750
|
+
const _ = {
|
|
37751
|
+
...I?.data && typeof I.data == "object" ? I.data : {},
|
|
37752
|
+
...L && typeof L == "object" ? L : {}
|
|
37753
|
+
}, V = L?.id ?? L?.[y] ?? _?.id ?? _?.[y] ?? I?.id ?? I?.data?.id ?? I?.data?.[y], z = m7(_, V, y);
|
|
37754
|
+
z && z.id !== void 0 && z.id !== null && z.id !== "" && (w((B) => B.some(
|
|
37755
|
+
(H) => Ga(H?.id, z.id)
|
|
37756
|
+
) ? B : [z, ...B].slice(0, 10)), o.setQueriesData(
|
|
37757
37757
|
{ queryKey: [g, "getList"] },
|
|
37758
|
-
(
|
|
37758
|
+
(B) => dd(B, z)
|
|
37759
37759
|
), o.setQueriesData(
|
|
37760
37760
|
{ queryKey: [g, "getManyReference"] },
|
|
37761
|
-
(
|
|
37761
|
+
(B) => dd(B, z)
|
|
37762
37762
|
), o.setQueriesData(
|
|
37763
37763
|
{ queryKey: [g, "getMany"] },
|
|
37764
|
-
(
|
|
37764
|
+
(B) => dd(B, z)
|
|
37765
37765
|
), o.setQueriesData(
|
|
37766
37766
|
{ queryKey: [g, "getOne"] },
|
|
37767
|
-
(
|
|
37767
|
+
(B) => dd(B, z)
|
|
37768
37768
|
)), o.invalidateQueries({
|
|
37769
37769
|
queryKey: [g, "getList"]
|
|
37770
37770
|
}), o.invalidateQueries({
|
|
@@ -37773,22 +37773,22 @@ const a7 = me([/* @__PURE__ */ b("circle", {
|
|
|
37773
37773
|
queryKey: [g, "getManyReference"]
|
|
37774
37774
|
}), o.invalidateQueries({
|
|
37775
37775
|
queryKey: [g, "getOne"]
|
|
37776
|
-
}), typeof i?.setValue == "function" &&
|
|
37776
|
+
}), typeof i?.setValue == "function" && V !== void 0 && V !== null && V !== "" && i.setValue(y, V, {
|
|
37777
37777
|
shouldDirty: !0,
|
|
37778
37778
|
shouldTouch: !0,
|
|
37779
37779
|
shouldValidate: !0
|
|
37780
37780
|
});
|
|
37781
37781
|
},
|
|
37782
37782
|
[i, o, g, y]
|
|
37783
|
-
),
|
|
37784
|
-
(
|
|
37785
|
-
|
|
37783
|
+
), $ = Le(
|
|
37784
|
+
(L, I, _) => {
|
|
37785
|
+
_ === "input" && Array.isArray(C) && C.length > 0 && I !== void 0 && w([]);
|
|
37786
37786
|
},
|
|
37787
37787
|
[C]
|
|
37788
37788
|
);
|
|
37789
37789
|
return Ae(() => {
|
|
37790
37790
|
M !== null && (A.current = M, r(y5(y, void 0, O)));
|
|
37791
|
-
}, [r, M, O, y]), E && !n && !a &&
|
|
37791
|
+
}, [r, M, O, y]), E && !n && !a && D ? /* @__PURE__ */ b(
|
|
37792
37792
|
h7,
|
|
37793
37793
|
{
|
|
37794
37794
|
choices: f7(e.choices),
|
|
@@ -37798,7 +37798,7 @@ const a7 = me([/* @__PURE__ */ b("circle", {
|
|
|
37798
37798
|
restProps: h,
|
|
37799
37799
|
sx: t.sx
|
|
37800
37800
|
}
|
|
37801
|
-
) : !n && !a &&
|
|
37801
|
+
) : !n && !a && D ? /* @__PURE__ */ Y(
|
|
37802
37802
|
Me,
|
|
37803
37803
|
{
|
|
37804
37804
|
sx: {
|
|
@@ -37820,20 +37820,20 @@ const a7 = me([/* @__PURE__ */ b("circle", {
|
|
|
37820
37820
|
reference: g,
|
|
37821
37821
|
source: y,
|
|
37822
37822
|
perPage: m,
|
|
37823
|
-
filter:
|
|
37823
|
+
filter: k,
|
|
37824
37824
|
queryOptions: {
|
|
37825
37825
|
...d || {},
|
|
37826
|
-
enabled: (d?.enabled ?? !0) &&
|
|
37826
|
+
enabled: (d?.enabled ?? !0) && D
|
|
37827
37827
|
},
|
|
37828
37828
|
children: /* @__PURE__ */ b(
|
|
37829
37829
|
g7,
|
|
37830
37830
|
{
|
|
37831
37831
|
...h,
|
|
37832
|
-
callback:
|
|
37832
|
+
callback: P,
|
|
37833
37833
|
callbackKey: R,
|
|
37834
37834
|
fullWidth: v,
|
|
37835
37835
|
injectedChoices: C,
|
|
37836
|
-
onInputChange:
|
|
37836
|
+
onInputChange: $,
|
|
37837
37837
|
optionText: T,
|
|
37838
37838
|
sx: {
|
|
37839
37839
|
width: "100%",
|
|
@@ -37851,7 +37851,7 @@ const a7 = me([/* @__PURE__ */ b("circle", {
|
|
|
37851
37851
|
tipo: "ventana",
|
|
37852
37852
|
inline: !0,
|
|
37853
37853
|
mutationOptions: {
|
|
37854
|
-
onSuccess:
|
|
37854
|
+
onSuccess: N
|
|
37855
37855
|
},
|
|
37856
37856
|
ButtonProps: {
|
|
37857
37857
|
size: "small",
|
|
@@ -37859,7 +37859,7 @@ const a7 = me([/* @__PURE__ */ b("circle", {
|
|
|
37859
37859
|
}
|
|
37860
37860
|
},
|
|
37861
37861
|
mutationOptions: {
|
|
37862
|
-
onSuccess:
|
|
37862
|
+
onSuccess: N
|
|
37863
37863
|
}
|
|
37864
37864
|
}
|
|
37865
37865
|
) : null
|
|
@@ -38032,34 +38032,34 @@ const a7 = me([/* @__PURE__ */ b("circle", {
|
|
|
38032
38032
|
), O = S.useMemo(
|
|
38033
38033
|
() => new Set(Array.isArray(h) ? h : []),
|
|
38034
38034
|
[h]
|
|
38035
|
-
), M = S.useMemo(() => ((Array.isArray(E) && E.length ? E : (C || []).filter((_) => !O.has(_.id))) || []).filter((_) => _ && !O.has(_.id)), [E, C, O]), A = /* @__PURE__ */ s((I, _,
|
|
38036
|
-
const
|
|
38037
|
-
if (
|
|
38035
|
+
), M = S.useMemo(() => ((Array.isArray(E) && E.length ? E : (C || []).filter((_) => !O.has(_.id))) || []).filter((_) => _ && !O.has(_.id)), [E, C, O]), A = /* @__PURE__ */ s((I, _, V) => () => {
|
|
38036
|
+
const z = l.indexOf(I), B = [...l];
|
|
38037
|
+
if (V.shiftKey && d !== null) {
|
|
38038
38038
|
const F = Math.min(d, _), H = Math.max(d, _);
|
|
38039
38039
|
M.slice(F, H + 1).map((U) => U.id).forEach((U) => {
|
|
38040
38040
|
B.includes(U) || B.push(U);
|
|
38041
38041
|
});
|
|
38042
38042
|
} else
|
|
38043
|
-
|
|
38043
|
+
z === -1 ? B.push(I) : B.splice(z, 1);
|
|
38044
38044
|
u(B), p(_);
|
|
38045
38045
|
}, "handleToggle"), R = /* @__PURE__ */ s((I, _) => {
|
|
38046
|
-
const
|
|
38047
|
-
if (
|
|
38046
|
+
const V = I?.id;
|
|
38047
|
+
if (V != null) {
|
|
38048
38048
|
if (_) {
|
|
38049
|
-
if (O.has(
|
|
38049
|
+
if (O.has(V))
|
|
38050
38050
|
return;
|
|
38051
|
-
const
|
|
38051
|
+
const z = [
|
|
38052
38052
|
...Array.isArray(h) ? h : [],
|
|
38053
|
-
|
|
38053
|
+
V
|
|
38054
38054
|
];
|
|
38055
|
-
f.setValue(n,
|
|
38055
|
+
f.setValue(n, z, { shouldDirty: !0 });
|
|
38056
38056
|
} else {
|
|
38057
|
-
const
|
|
38058
|
-
(B) => B !==
|
|
38057
|
+
const z = (Array.isArray(h) ? h : []).filter(
|
|
38058
|
+
(B) => B !== V
|
|
38059
38059
|
);
|
|
38060
|
-
f.setValue(n,
|
|
38060
|
+
f.setValue(n, z, { shouldDirty: !0 });
|
|
38061
38061
|
}
|
|
38062
|
-
u((
|
|
38062
|
+
u((z) => z.filter((B) => B !== V));
|
|
38063
38063
|
}
|
|
38064
38064
|
}, "handleDoubleClick"), D = /* @__PURE__ */ s(() => {
|
|
38065
38065
|
const I = (Array.isArray(C) ? C : []).map((_) => _.id).filter((_) => _ != null);
|
|
@@ -38069,30 +38069,30 @@ const a7 = me([/* @__PURE__ */ b("circle", {
|
|
|
38069
38069
|
}, "handleAllLeft"), k = /* @__PURE__ */ s(() => {
|
|
38070
38070
|
const I = no(
|
|
38071
38071
|
l,
|
|
38072
|
-
M.map((
|
|
38072
|
+
M.map((V) => V.id)
|
|
38073
38073
|
);
|
|
38074
38074
|
if (!I.length)
|
|
38075
38075
|
return;
|
|
38076
38076
|
const _ = [
|
|
38077
38077
|
...Array.isArray(h) ? h : [],
|
|
38078
|
-
...I.filter((
|
|
38078
|
+
...I.filter((V) => !O.has(V))
|
|
38079
38079
|
];
|
|
38080
38080
|
f.setValue(n, _, { shouldDirty: !0 }), u(aT(l, I));
|
|
38081
38081
|
}, "handleCheckedRight"), N = /* @__PURE__ */ s(() => {
|
|
38082
38082
|
const I = no(
|
|
38083
38083
|
l,
|
|
38084
|
-
T.map((
|
|
38084
|
+
T.map((z) => z.id)
|
|
38085
38085
|
);
|
|
38086
38086
|
if (!I.length)
|
|
38087
38087
|
return;
|
|
38088
|
-
const _ = new Set(I),
|
|
38089
|
-
(
|
|
38088
|
+
const _ = new Set(I), V = (Array.isArray(h) ? h : []).filter(
|
|
38089
|
+
(z) => !_.has(z)
|
|
38090
38090
|
);
|
|
38091
|
-
f.setValue(n,
|
|
38091
|
+
f.setValue(n, V, { shouldDirty: !0 }), u(aT(l, I));
|
|
38092
38092
|
}, "handleCheckedLeft"), $ = /* @__PURE__ */ s(() => {
|
|
38093
38093
|
typeof f.resetField == "function" ? f.resetField(n, { defaultValue: y }) : f.setValue(n, y, { shouldDirty: !1 }), u([]), p(null);
|
|
38094
|
-
}, "handleResetChanges"), L = /* @__PURE__ */ s((I, _,
|
|
38095
|
-
const
|
|
38094
|
+
}, "handleResetChanges"), L = /* @__PURE__ */ s((I, _, V = {}) => {
|
|
38095
|
+
const z = _ ? "Disponibles..." : "Seleccionados...", B = /* @__PURE__ */ s((H) => {
|
|
38096
38096
|
v(H === "" ? H : H.target.value);
|
|
38097
38097
|
}, "handleSearchChange"), F = I.filter(
|
|
38098
38098
|
(H) => H.etiqueta.toLowerCase().includes(g.toLowerCase())
|
|
@@ -38101,7 +38101,7 @@ const a7 = me([/* @__PURE__ */ b("circle", {
|
|
|
38101
38101
|
Fr,
|
|
38102
38102
|
{
|
|
38103
38103
|
sx: /* @__PURE__ */ s((H) => {
|
|
38104
|
-
const Q = typeof
|
|
38104
|
+
const Q = typeof V == "function" ? V(H) : V;
|
|
38105
38105
|
return {
|
|
38106
38106
|
width: "100%",
|
|
38107
38107
|
minWidth: 0,
|
|
@@ -38133,8 +38133,8 @@ const a7 = me([/* @__PURE__ */ b("circle", {
|
|
|
38133
38133
|
resettable: !0,
|
|
38134
38134
|
value: g,
|
|
38135
38135
|
onChange: B,
|
|
38136
|
-
placeholder:
|
|
38137
|
-
inputProps: { "aria-label":
|
|
38136
|
+
placeholder: z,
|
|
38137
|
+
inputProps: { "aria-label": z },
|
|
38138
38138
|
helperText: !1
|
|
38139
38139
|
}
|
|
38140
38140
|
)
|
|
@@ -41077,14 +41077,14 @@ const Cq = /* @__PURE__ */ s((t) => {
|
|
|
41077
41077
|
...r,
|
|
41078
41078
|
orientation: x,
|
|
41079
41079
|
collapsedSize: l
|
|
41080
|
-
}, R = Cq(A), D = cr(), P = ms(), k = S.useRef(null), N = S.useRef(), $ = typeof l == "number" ? `${l}px` : l, L = x === "horizontal", I = L ? "width" : "height", _ = S.useRef(null),
|
|
41080
|
+
}, R = Cq(A), D = cr(), P = ms(), k = S.useRef(null), N = S.useRef(), $ = typeof l == "number" ? `${l}px` : l, L = x === "horizontal", I = L ? "width" : "height", _ = S.useRef(null), V = jt(n, _), z = /* @__PURE__ */ s((X) => (de) => {
|
|
41081
41081
|
if (X) {
|
|
41082
41082
|
const ie = _.current;
|
|
41083
41083
|
de === void 0 ? X(ie) : X(ie, de);
|
|
41084
41084
|
}
|
|
41085
|
-
}, "normalizedTransitionCallback"), B = /* @__PURE__ */ s(() => k.current ? k.current[L ? "clientWidth" : "clientHeight"] : 0, "getWrapperSize"), F =
|
|
41085
|
+
}, "normalizedTransitionCallback"), B = /* @__PURE__ */ s(() => k.current ? k.current[L ? "clientWidth" : "clientHeight"] : 0, "getWrapperSize"), F = z((X, de) => {
|
|
41086
41086
|
k.current && L && (k.current.style.position = "absolute"), X.style[I] = $, f && f(X, de);
|
|
41087
|
-
}), H =
|
|
41087
|
+
}), H = z((X, de) => {
|
|
41088
41088
|
const ie = B();
|
|
41089
41089
|
k.current && L && (k.current.style.position = "");
|
|
41090
41090
|
const {
|
|
@@ -41103,11 +41103,11 @@ const Cq = /* @__PURE__ */ s((t) => {
|
|
|
41103
41103
|
} else
|
|
41104
41104
|
X.style.transitionDuration = typeof ge == "string" ? ge : `${ge}ms`;
|
|
41105
41105
|
X.style[I] = `${ie}px`, X.style.transitionTimingFunction = Ie, h && h(X, de);
|
|
41106
|
-
}), Q =
|
|
41106
|
+
}), Q = z((X, de) => {
|
|
41107
41107
|
X.style[I] = "auto", m && m(X, de);
|
|
41108
|
-
}), U =
|
|
41108
|
+
}), U = z((X) => {
|
|
41109
41109
|
X.style[I] = `${B()}px`, y && y(X);
|
|
41110
|
-
}), K =
|
|
41110
|
+
}), K = z(g), ee = z((X) => {
|
|
41111
41111
|
const de = B(), {
|
|
41112
41112
|
duration: ie,
|
|
41113
41113
|
easing: ge
|
|
@@ -41131,7 +41131,7 @@ const Cq = /* @__PURE__ */ s((t) => {
|
|
|
41131
41131
|
slotProps: C,
|
|
41132
41132
|
component: u
|
|
41133
41133
|
}, [Z, te] = je("root", {
|
|
41134
|
-
ref:
|
|
41134
|
+
ref: V,
|
|
41135
41135
|
className: se(R.root, a),
|
|
41136
41136
|
elementType: wq,
|
|
41137
41137
|
externalForwardedProps: W,
|
|
@@ -41861,14 +41861,14 @@ const Hq = /* @__PURE__ */ s((t) => {
|
|
|
41861
41861
|
externalSlotProps: f.iconContainer,
|
|
41862
41862
|
ownerState: {},
|
|
41863
41863
|
className: D.iconContainer
|
|
41864
|
-
}), _ = p.label ?? Bq,
|
|
41864
|
+
}), _ = p.label ?? Bq, V = yr({
|
|
41865
41865
|
elementType: _,
|
|
41866
41866
|
getSlotProps: C,
|
|
41867
41867
|
externalSlotProps: f.label,
|
|
41868
41868
|
ownerState: {},
|
|
41869
41869
|
className: D.label
|
|
41870
|
-
}),
|
|
41871
|
-
elementType:
|
|
41870
|
+
}), z = p.checkbox ?? DP, B = yr({
|
|
41871
|
+
elementType: z,
|
|
41872
41872
|
getSlotProps: E,
|
|
41873
41873
|
externalSlotProps: f.checkbox,
|
|
41874
41874
|
ownerState: {},
|
|
@@ -41913,7 +41913,7 @@ const Hq = /* @__PURE__ */ s((t) => {
|
|
|
41913
41913
|
slots: p,
|
|
41914
41914
|
slotProps: f
|
|
41915
41915
|
})]
|
|
41916
|
-
})), /* @__PURE__ */ b(
|
|
41916
|
+
})), /* @__PURE__ */ b(z, Ce({}, B)), R.editing ? /* @__PURE__ */ b(Q, Ce({}, U)) : /* @__PURE__ */ b(_, Ce({}, V)), /* @__PURE__ */ b(K, Ce({}, ee))]
|
|
41917
41917
|
})), d && /* @__PURE__ */ b(Vq, Ce({
|
|
41918
41918
|
as: F
|
|
41919
41919
|
}, H))]
|
|
@@ -42360,12 +42360,12 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
|
|
|
42360
42360
|
]
|
|
42361
42361
|
}
|
|
42362
42362
|
) : U.id === hd.id ? e(U.text) : U.text;
|
|
42363
|
-
}, "renderNodeLabel"),
|
|
42363
|
+
}, "renderNodeLabel"), V = /* @__PURE__ */ s((U) => U.map((K) => /* @__PURE__ */ b(
|
|
42364
42364
|
bp,
|
|
42365
42365
|
{
|
|
42366
42366
|
itemId: K.id,
|
|
42367
42367
|
label: _(K),
|
|
42368
|
-
children: K.children.length > 0 ?
|
|
42368
|
+
children: K.children.length > 0 ? V(K.children) : K.hasItems ? /* @__PURE__ */ b(
|
|
42369
42369
|
bp,
|
|
42370
42370
|
{
|
|
42371
42371
|
itemId: `${K.id}-placeholder`,
|
|
@@ -42388,7 +42388,7 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
|
|
|
42388
42388
|
) : null
|
|
42389
42389
|
},
|
|
42390
42390
|
K.id
|
|
42391
|
-
)), "renderTreeItems"),
|
|
42391
|
+
)), "renderTreeItems"), z = /* @__PURE__ */ s((U) => {
|
|
42392
42392
|
v(U.currentTarget);
|
|
42393
42393
|
}, "handleMenuOpen"), B = /* @__PURE__ */ s(() => {
|
|
42394
42394
|
v(null);
|
|
@@ -42468,7 +42468,7 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
|
|
|
42468
42468
|
xr,
|
|
42469
42469
|
{
|
|
42470
42470
|
size: "small",
|
|
42471
|
-
onClick:
|
|
42471
|
+
onClick: z,
|
|
42472
42472
|
startIcon: /* @__PURE__ */ b(Q, {}),
|
|
42473
42473
|
endIcon: /* @__PURE__ */ b(Lh, {}),
|
|
42474
42474
|
children: T.label
|
|
@@ -42521,7 +42521,7 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
|
|
|
42521
42521
|
fontSize: 18
|
|
42522
42522
|
}
|
|
42523
42523
|
},
|
|
42524
|
-
children:
|
|
42524
|
+
children: V(h)
|
|
42525
42525
|
}
|
|
42526
42526
|
)
|
|
42527
42527
|
]
|
|
@@ -42618,7 +42618,7 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
|
|
|
42618
42618
|
try {
|
|
42619
42619
|
let L = { ...w };
|
|
42620
42620
|
const I = C.filter(
|
|
42621
|
-
(
|
|
42621
|
+
(z) => !L[String(z)]
|
|
42622
42622
|
);
|
|
42623
42623
|
if (I.length > 0 && O)
|
|
42624
42624
|
try {
|
|
@@ -42641,18 +42641,18 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
|
|
|
42641
42641
|
});
|
|
42642
42642
|
} catch {
|
|
42643
42643
|
}
|
|
42644
|
-
const _ = C.map((
|
|
42644
|
+
const _ = C.map((z) => L[String(z)]).filter(Boolean), V = {
|
|
42645
42645
|
button: $,
|
|
42646
42646
|
selectedIds: C,
|
|
42647
42647
|
selectedRecords: _,
|
|
42648
42648
|
selectedFuncods: _.map(
|
|
42649
|
-
(
|
|
42649
|
+
(z) => z.funcod
|
|
42650
42650
|
),
|
|
42651
42651
|
selectedFunnros: _.map(
|
|
42652
|
-
(
|
|
42652
|
+
(z) => z.funnro
|
|
42653
42653
|
)
|
|
42654
42654
|
};
|
|
42655
|
-
u(N,
|
|
42655
|
+
u(N, V.selectedIds, V);
|
|
42656
42656
|
} finally {
|
|
42657
42657
|
R(!1);
|
|
42658
42658
|
}
|
|
@@ -42755,7 +42755,7 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
|
|
|
42755
42755
|
isRequired: I,
|
|
42756
42756
|
..._
|
|
42757
42757
|
}
|
|
42758
|
-
} = Wn(t),
|
|
42758
|
+
} = Wn(t), V = L ? {
|
|
42759
42759
|
validate: /* @__PURE__ */ s((J) => {
|
|
42760
42760
|
const be = Array.isArray(L) ? L : [L];
|
|
42761
42761
|
for (const ze of be) {
|
|
@@ -42767,10 +42767,10 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
|
|
|
42767
42767
|
}
|
|
42768
42768
|
return !0;
|
|
42769
42769
|
}, "validate")
|
|
42770
|
-
} : void 0, { field:
|
|
42770
|
+
} : void 0, { field: z, fieldState: B } = Lk({
|
|
42771
42771
|
name: e,
|
|
42772
42772
|
control: y.control,
|
|
42773
|
-
rules:
|
|
42773
|
+
rules: V
|
|
42774
42774
|
}), { [e]: F = {} } = v, H = Xr(t), Q = F.onChange === void 0 ? n : F.onChange, U = A !== !1 && k !== !1, [K, ee] = Pe(
|
|
42775
42775
|
Zi(k)
|
|
42776
42776
|
), j = tt(
|
|
@@ -42811,7 +42811,7 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
|
|
|
42811
42811
|
h,
|
|
42812
42812
|
U
|
|
42813
42813
|
]
|
|
42814
|
-
), Z =
|
|
42814
|
+
), Z = z.value, te = tt(
|
|
42815
42815
|
() => W(Z),
|
|
42816
42816
|
[Z, W]
|
|
42817
42817
|
), ae = tt(() => {
|
|
@@ -42997,8 +42997,8 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
|
|
|
42997
42997
|
{
|
|
42998
42998
|
..._,
|
|
42999
42999
|
className: `ra-input ra-input-${e}`,
|
|
43000
|
-
name:
|
|
43001
|
-
inputRef:
|
|
43000
|
+
name: z.name,
|
|
43001
|
+
inputRef: z.ref,
|
|
43002
43002
|
label: T,
|
|
43003
43003
|
placeholder: "Nro.",
|
|
43004
43004
|
required: I,
|
|
@@ -43011,7 +43011,7 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
|
|
|
43011
43011
|
d(be);
|
|
43012
43012
|
}, "onChange"),
|
|
43013
43013
|
onBlur: /* @__PURE__ */ s((J) => {
|
|
43014
|
-
|
|
43014
|
+
z.onBlur(), Tt(J);
|
|
43015
43015
|
}, "onBlur"),
|
|
43016
43016
|
onKeyDown: /* @__PURE__ */ s((J) => {
|
|
43017
43017
|
J.key === "Enter" && (J.preventDefault(), Tt(J));
|
|
@@ -56577,8 +56577,8 @@ function iX(t) {
|
|
|
56577
56577
|
he(M, $, I), he(I, L, O);
|
|
56578
56578
|
const _ = mr(wd);
|
|
56579
56579
|
Ze(I, n, _);
|
|
56580
|
-
const
|
|
56581
|
-
Ze(I, r), Ze(_, n, _), Ze(_, r,
|
|
56580
|
+
const V = mr();
|
|
56581
|
+
Ze(I, r), Ze(_, n, _), Ze(_, r, V), Ze(V, n, _), Ze(V, r, V), he(_, L, O), he(V, L, O);
|
|
56582
56582
|
}
|
|
56583
56583
|
return he(i, Gc, C), he(i, N1, oX), {
|
|
56584
56584
|
start: i,
|
|
@@ -60240,11 +60240,11 @@ function GZ() {
|
|
|
60240
60240
|
s(h, "inflect"), ut.inflect = h;
|
|
60241
60241
|
function y(P, k) {
|
|
60242
60242
|
const N = P.split("/"), $ = N.length;
|
|
60243
|
-
let L, I, _,
|
|
60244
|
-
for (let
|
|
60245
|
-
for (L = N[
|
|
60246
|
-
I !== 0 && (L[I] = L[I].toLowerCase()),
|
|
60247
|
-
N[
|
|
60243
|
+
let L, I, _, V;
|
|
60244
|
+
for (let z = 0; z < $; z++) {
|
|
60245
|
+
for (L = N[z].split("_"), I = 0, _ = L.length; I < _; I++)
|
|
60246
|
+
I !== 0 && (L[I] = L[I].toLowerCase()), V = L[I].charAt(0), V = k && z === 0 && I === 0 ? V.toLowerCase() : V.toUpperCase(), L[I] = V + L[I].substring(1);
|
|
60247
|
+
N[z] = L.join("");
|
|
60248
60248
|
}
|
|
60249
60249
|
return N.join("::");
|
|
60250
60250
|
}
|
|
@@ -60306,8 +60306,8 @@ function GZ() {
|
|
|
60306
60306
|
const L = parseInt(k[$], 10);
|
|
60307
60307
|
if (!isNaN(L)) {
|
|
60308
60308
|
const I = k[$].substring(k[$].length - 2), _ = k[$].substring(k[$].length - 1);
|
|
60309
|
-
let
|
|
60310
|
-
I != "11" && I != "12" && I != "13" && (_ === "1" ?
|
|
60309
|
+
let V = "th";
|
|
60310
|
+
I != "11" && I != "12" && I != "13" && (_ === "1" ? V = "st" : _ === "2" ? V = "nd" : _ === "3" && (V = "rd")), k[$] += V;
|
|
60311
60311
|
}
|
|
60312
60312
|
}
|
|
60313
60313
|
return k.join(" ");
|
|
@@ -61123,8 +61123,8 @@ const Cf = "RaLabeled", wf = {
|
|
|
61123
61123
|
setFilter: L,
|
|
61124
61124
|
setPagination: I,
|
|
61125
61125
|
setSort: _,
|
|
61126
|
-
shouldUnregister:
|
|
61127
|
-
source:
|
|
61126
|
+
shouldUnregister: V,
|
|
61127
|
+
source: z,
|
|
61128
61128
|
submitError: B,
|
|
61129
61129
|
subscription: F,
|
|
61130
61130
|
textAlign: H,
|