biblio-react 3.0.20 → 3.0.21
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 +569 -566
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -169,7 +169,7 @@ function GD() {
|
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
171
|
s(w, "typeOf");
|
|
172
|
-
var T = u, O = d, M = l, A = a, R = e,
|
|
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, z = !1;
|
|
173
173
|
function V(H) {
|
|
174
174
|
return z || (z = !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(H) || w(H) === u;
|
|
175
175
|
}
|
|
@@ -221,7 +221,7 @@ function GD() {
|
|
|
221
221
|
function ae(H) {
|
|
222
222
|
return w(H) === f;
|
|
223
223
|
}
|
|
224
|
-
s(ae, "isSuspense"), yt.AsyncMode = T, yt.ConcurrentMode = O, yt.ContextConsumer = M, yt.ContextProvider = A, yt.Element = R, yt.ForwardRef =
|
|
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 = V, yt.isConcurrentMode = B, yt.isContextConsumer = F, yt.isContextProvider = W, yt.isElement = Q, yt.isForwardRef = q, yt.isFragment = K, yt.isLazy = ee, yt.isMemo = j, yt.isPortal = G, 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");
|
|
@@ -380,7 +380,7 @@ function JD() {
|
|
|
380
380
|
element: w(),
|
|
381
381
|
elementType: T(),
|
|
382
382
|
instanceOf: O,
|
|
383
|
-
node:
|
|
383
|
+
node: D(),
|
|
384
384
|
objectOf: A,
|
|
385
385
|
oneOf: M,
|
|
386
386
|
oneOfType: R,
|
|
@@ -552,13 +552,13 @@ function JD() {
|
|
|
552
552
|
return s(Q, "validate"), v(Q);
|
|
553
553
|
}
|
|
554
554
|
s(R, "createUnionTypeChecker");
|
|
555
|
-
function
|
|
555
|
+
function D() {
|
|
556
556
|
function B(F, W, Q, q, K) {
|
|
557
|
-
return
|
|
557
|
+
return $(F[W]) ? null : new g("Invalid " + q + " `" + K + "` supplied to " + ("`" + Q + "`, expected a ReactNode."));
|
|
558
558
|
}
|
|
559
559
|
return s(B, "validate"), v(B);
|
|
560
560
|
}
|
|
561
|
-
s(
|
|
561
|
+
s(D, "createNodeChecker");
|
|
562
562
|
function P(B, F, W, Q, q) {
|
|
563
563
|
return new g(
|
|
564
564
|
(B || "React class") + ": " + F + " type `" + W + "." + Q + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + q + "`."
|
|
@@ -607,7 +607,7 @@ Valid keys: ` + JSON.stringify(Object.keys(B), null, " ")
|
|
|
607
607
|
return s(F, "validate"), v(F);
|
|
608
608
|
}
|
|
609
609
|
s(N, "createStrictShapeTypeChecker");
|
|
610
|
-
function
|
|
610
|
+
function $(B) {
|
|
611
611
|
switch (typeof B) {
|
|
612
612
|
case "number":
|
|
613
613
|
case "string":
|
|
@@ -617,7 +617,7 @@ Valid keys: ` + JSON.stringify(Object.keys(B), null, " ")
|
|
|
617
617
|
return !B;
|
|
618
618
|
case "object":
|
|
619
619
|
if (Array.isArray(B))
|
|
620
|
-
return B.every(
|
|
620
|
+
return B.every($);
|
|
621
621
|
if (B === null || l(B))
|
|
622
622
|
return !0;
|
|
623
623
|
var F = f(B);
|
|
@@ -625,12 +625,12 @@ Valid keys: ` + JSON.stringify(Object.keys(B), null, " ")
|
|
|
625
625
|
var W = F.call(B), Q;
|
|
626
626
|
if (F !== B.entries) {
|
|
627
627
|
for (; !(Q = W.next()).done; )
|
|
628
|
-
if (
|
|
628
|
+
if (!$(Q.value))
|
|
629
629
|
return !1;
|
|
630
630
|
} else
|
|
631
631
|
for (; !(Q = W.next()).done; ) {
|
|
632
632
|
var q = Q.value;
|
|
633
|
-
if (q &&
|
|
633
|
+
if (q && !$(q[1]))
|
|
634
634
|
return !1;
|
|
635
635
|
}
|
|
636
636
|
} else
|
|
@@ -640,7 +640,7 @@ Valid keys: ` + JSON.stringify(Object.keys(B), null, " ")
|
|
|
640
640
|
return !1;
|
|
641
641
|
}
|
|
642
642
|
}
|
|
643
|
-
s(
|
|
643
|
+
s($, "isNode");
|
|
644
644
|
function L(B, F) {
|
|
645
645
|
return B === "symbol" ? !0 : F ? F["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && F instanceof Symbol : !1;
|
|
646
646
|
}
|
|
@@ -2570,7 +2570,7 @@ function OL() {
|
|
|
2570
2570
|
}
|
|
2571
2571
|
}
|
|
2572
2572
|
s(w, "typeOf");
|
|
2573
|
-
var T = u, O = d, M = l, A = a, R = e,
|
|
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, z = !1;
|
|
2574
2574
|
function V(H) {
|
|
2575
2575
|
return z || (z = !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(H) || w(H) === u;
|
|
2576
2576
|
}
|
|
@@ -2622,7 +2622,7 @@ function OL() {
|
|
|
2622
2622
|
function ae(H) {
|
|
2623
2623
|
return w(H) === f;
|
|
2624
2624
|
}
|
|
2625
|
-
s(ae, "isSuspense"), vt.AsyncMode = T, vt.ConcurrentMode = O, vt.ContextConsumer = M, vt.ContextProvider = A, vt.Element = R, vt.ForwardRef =
|
|
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 = V, vt.isConcurrentMode = B, vt.isContextConsumer = F, vt.isContextProvider = W, vt.isElement = Q, vt.isForwardRef = q, vt.isFragment = K, vt.isLazy = ee, vt.isMemo = j, vt.isPortal = G, 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");
|
|
@@ -3078,14 +3078,14 @@ var VL = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def
|
|
|
3078
3078
|
typeof v.className == "string" ? w = eM(x.registered, T, v.className) : v.className != null && (w = v.className + " ");
|
|
3079
3079
|
var A = nu(f.concat(T), x.registered, O);
|
|
3080
3080
|
w += x.key + "-" + A.name, a !== void 0 && (w += " " + a);
|
|
3081
|
-
var R = d && l === void 0 ? Hx(C) : u,
|
|
3081
|
+
var R = d && l === void 0 ? Hx(C) : u, D = {};
|
|
3082
3082
|
for (var P in v)
|
|
3083
|
-
d && P === "as" || R(P) && (
|
|
3084
|
-
return
|
|
3083
|
+
d && P === "as" || R(P) && (D[P] = v[P]);
|
|
3084
|
+
return D.className = w, E && (D.ref = E), /* @__PURE__ */ S.createElement(S.Fragment, null, /* @__PURE__ */ S.createElement(qL, {
|
|
3085
3085
|
cache: x,
|
|
3086
3086
|
serialized: A,
|
|
3087
3087
|
isStringTag: typeof C == "string"
|
|
3088
|
-
}), /* @__PURE__ */ S.createElement(C,
|
|
3088
|
+
}), /* @__PURE__ */ S.createElement(C, D));
|
|
3089
3089
|
});
|
|
3090
3090
|
return g.displayName = i !== void 0 ? i : "Styled(" + (typeof o == "string" ? o : o.displayName || o.name || "Component") + ")", g.defaultProps = e.defaultProps, g.__emotion_real = g, g.__emotion_base = o, g.__emotion_styles = f, g.__emotion_forwardProp = l, Object.defineProperty(g, "toString", {
|
|
3091
3091
|
value: /* @__PURE__ */ s(function() {
|
|
@@ -3662,11 +3662,11 @@ function uM(t = {}) {
|
|
|
3662
3662
|
const L = N.theme?.components?.[d]?.variants;
|
|
3663
3663
|
return L ? cM(N, L, [], N.theme.modularCssLayers ? "theme" : void 0) : null;
|
|
3664
3664
|
}, "styleThemeVariants")), x || R.push(Ci), Array.isArray(A[0])) {
|
|
3665
|
-
const k = A.shift(), N = new Array(M.length).fill(""),
|
|
3665
|
+
const k = A.shift(), N = new Array(M.length).fill(""), $ = new Array(R.length).fill("");
|
|
3666
3666
|
let L;
|
|
3667
|
-
L = [...N, ...k,
|
|
3667
|
+
L = [...N, ...k, ...$], L.raw = [...N, ...k.raw, ...$], M.unshift(L);
|
|
3668
3668
|
}
|
|
3669
|
-
const
|
|
3669
|
+
const D = [...M, ...A, ...R], P = C(...D);
|
|
3670
3670
|
return l.muiName && (P.muiName = l.muiName), process.env.NODE_ENV !== "production" && (P.displayName = lF(d, p, l)), P;
|
|
3671
3671
|
}, "muiStyledResolver");
|
|
3672
3672
|
return C.withConfig && (T.withConfig = C.withConfig), T;
|
|
@@ -4359,12 +4359,12 @@ function LF(t) {
|
|
|
4359
4359
|
key: `${a}-dark`,
|
|
4360
4360
|
storageWindow: l
|
|
4361
4361
|
}), [u, a, l]), [g, v] = S.useState(() => {
|
|
4362
|
-
const A = m?.get(e) || e, R = h?.get(n) || n,
|
|
4362
|
+
const A = m?.get(e) || e, R = h?.get(n) || n, D = y?.get(r) || r;
|
|
4363
4363
|
return {
|
|
4364
4364
|
mode: A,
|
|
4365
4365
|
systemMode: eC(A),
|
|
4366
4366
|
lightColorScheme: R,
|
|
4367
|
-
darkColorScheme:
|
|
4367
|
+
darkColorScheme: D
|
|
4368
4368
|
};
|
|
4369
4369
|
}), [x, E] = S.useState(d || !f);
|
|
4370
4370
|
S.useEffect(() => {
|
|
@@ -4374,26 +4374,26 @@ function LF(t) {
|
|
|
4374
4374
|
v((R) => {
|
|
4375
4375
|
if (A === R.mode)
|
|
4376
4376
|
return R;
|
|
4377
|
-
const
|
|
4378
|
-
return m?.set(
|
|
4377
|
+
const D = A ?? e;
|
|
4378
|
+
return m?.set(D), {
|
|
4379
4379
|
...R,
|
|
4380
|
-
mode:
|
|
4381
|
-
systemMode: eC(
|
|
4380
|
+
mode: D,
|
|
4381
|
+
systemMode: eC(D)
|
|
4382
4382
|
};
|
|
4383
4383
|
});
|
|
4384
4384
|
}, [m, e]), T = S.useCallback((A) => {
|
|
4385
4385
|
A ? typeof A == "string" ? A && !p.includes(A) ? console.error(`\`${A}\` does not exist in \`theme.colorSchemes\`.`) : v((R) => {
|
|
4386
|
-
const
|
|
4386
|
+
const D = {
|
|
4387
4387
|
...R
|
|
4388
4388
|
};
|
|
4389
4389
|
return SM(R, (P) => {
|
|
4390
|
-
P === "light" && (h?.set(A),
|
|
4391
|
-
}),
|
|
4390
|
+
P === "light" && (h?.set(A), D.lightColorScheme = A), P === "dark" && (y?.set(A), D.darkColorScheme = A);
|
|
4391
|
+
}), D;
|
|
4392
4392
|
}) : v((R) => {
|
|
4393
|
-
const
|
|
4393
|
+
const D = {
|
|
4394
4394
|
...R
|
|
4395
4395
|
}, P = A.light === null ? n : A.light, k = A.dark === null ? r : A.dark;
|
|
4396
|
-
return P && (p.includes(P) ? (
|
|
4396
|
+
return P && (p.includes(P) ? (D.lightColorScheme = P, h?.set(P)) : console.error(`\`${P}\` does not exist in \`theme.colorSchemes\`.`)), k && (p.includes(k) ? (D.darkColorScheme = k, y?.set(k)) : console.error(`\`${k}\` does not exist in \`theme.colorSchemes\`.`)), D;
|
|
4397
4397
|
}) : v((R) => (h?.set(n), y?.set(r), {
|
|
4398
4398
|
...R,
|
|
4399
4399
|
lightColorScheme: n,
|
|
@@ -4401,17 +4401,17 @@ function LF(t) {
|
|
|
4401
4401
|
}));
|
|
4402
4402
|
}, [p, h, y, n, r]), O = S.useCallback((A) => {
|
|
4403
4403
|
g.mode === "system" && v((R) => {
|
|
4404
|
-
const
|
|
4405
|
-
return R.systemMode ===
|
|
4404
|
+
const D = A?.matches ? "dark" : "light";
|
|
4405
|
+
return R.systemMode === D ? R : {
|
|
4406
4406
|
...R,
|
|
4407
|
-
systemMode:
|
|
4407
|
+
systemMode: D
|
|
4408
4408
|
};
|
|
4409
4409
|
});
|
|
4410
4410
|
}, [g.mode]), M = S.useRef(O);
|
|
4411
4411
|
return M.current = O, S.useEffect(() => {
|
|
4412
4412
|
if (typeof window.matchMedia != "function" || !f)
|
|
4413
4413
|
return;
|
|
4414
|
-
const A = /* @__PURE__ */ s((
|
|
4414
|
+
const A = /* @__PURE__ */ s((...D) => M.current(...D), "handler"), R = window.matchMedia("(prefers-color-scheme: dark)");
|
|
4415
4415
|
return R.addListener(A), A(R), () => {
|
|
4416
4416
|
R.removeListener(A);
|
|
4417
4417
|
};
|
|
@@ -4423,13 +4423,13 @@ function LF(t) {
|
|
|
4423
4423
|
(!P || p.match(P)) && T({
|
|
4424
4424
|
light: P
|
|
4425
4425
|
});
|
|
4426
|
-
}) || vm,
|
|
4426
|
+
}) || vm, D = y?.subscribe((P) => {
|
|
4427
4427
|
(!P || p.match(P)) && T({
|
|
4428
4428
|
dark: P
|
|
4429
4429
|
});
|
|
4430
4430
|
}) || vm;
|
|
4431
4431
|
return () => {
|
|
4432
|
-
A(), R(),
|
|
4432
|
+
A(), R(), D();
|
|
4433
4433
|
};
|
|
4434
4434
|
}
|
|
4435
4435
|
}, [T, w, p, e, l, f, m, h, y]), {
|
|
@@ -4482,11 +4482,11 @@ function _F(t) {
|
|
|
4482
4482
|
storageManager: M,
|
|
4483
4483
|
storageWindow: A = typeof window > "u" ? void 0 : window,
|
|
4484
4484
|
documentNode: R = typeof document > "u" ? void 0 : document,
|
|
4485
|
-
colorSchemeNode:
|
|
4485
|
+
colorSchemeNode: D = typeof document > "u" ? void 0 : document.documentElement,
|
|
4486
4486
|
disableNestedContext: P = !1,
|
|
4487
4487
|
disableStyleSheetGeneration: k = !1,
|
|
4488
4488
|
defaultMode: N = "system",
|
|
4489
|
-
forceThemeRerender:
|
|
4489
|
+
forceThemeRerender: $ = !1,
|
|
4490
4490
|
noSsr: L
|
|
4491
4491
|
} = x, I = S.useRef(!1), _ = a0(), z = S.useContext(d), V = !!z && !P, B = S.useMemo(() => C || (typeof n == "function" ? n() : n), [C]), F = B[e], W = F || B, {
|
|
4492
4492
|
colorSchemes: Q = f,
|
|
@@ -4512,10 +4512,10 @@ function _F(t) {
|
|
|
4512
4512
|
noSsr: L
|
|
4513
4513
|
});
|
|
4514
4514
|
let ge = ae, Ie = de;
|
|
4515
|
-
V && (ge = z.mode, Ie = z.colorScheme), process.env.NODE_ENV !== "production" &&
|
|
4515
|
+
V && (ge = z.mode, Ie = z.colorScheme), process.env.NODE_ENV !== "production" && $ && !W.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 || W.defaultColorScheme;
|
|
4518
|
-
W.vars &&
|
|
4518
|
+
W.vars && !$ && (De = W.defaultColorScheme);
|
|
4519
4519
|
const Te = S.useMemo(() => {
|
|
4520
4520
|
const Xe = W.generateThemeVars?.() || W.vars, ce = {
|
|
4521
4521
|
...W,
|
|
@@ -4536,23 +4536,23 @@ function _F(t) {
|
|
|
4536
4536
|
return l ? l(ce) : ce;
|
|
4537
4537
|
}, [W, De, q, Q, K]), ye = W.colorSchemeSelector;
|
|
4538
4538
|
On(() => {
|
|
4539
|
-
if (Ie &&
|
|
4539
|
+
if (Ie && D && ye && ye !== "media") {
|
|
4540
4540
|
const Xe = ye;
|
|
4541
4541
|
let ce = ye;
|
|
4542
4542
|
if (Xe === "class" && (ce = ".%s"), Xe === "data" && (ce = "[data-%s]"), Xe?.startsWith("data-") && !Xe.includes("%s") && (ce = `[${Xe}="%s"]`), ce.startsWith("."))
|
|
4543
|
-
|
|
4543
|
+
D.classList.remove(...j.map((J) => ce.substring(1).replace("%s", J))), D.classList.add(ce.substring(1).replace("%s", Ie));
|
|
4544
4544
|
else {
|
|
4545
4545
|
const J = ce.replace("%s", Ie).match(/\[([^\]]+)\]/);
|
|
4546
4546
|
if (J) {
|
|
4547
4547
|
const [be, ze] = J[1].split("=");
|
|
4548
4548
|
ze || j.forEach((Ne) => {
|
|
4549
|
-
|
|
4550
|
-
}),
|
|
4549
|
+
D.removeAttribute(be.replace(Ie, Ne));
|
|
4550
|
+
}), D.setAttribute(be, ze ? ze.replace(/"|'/g, "") : "");
|
|
4551
4551
|
} else
|
|
4552
|
-
|
|
4552
|
+
D.setAttribute(ce, Ie);
|
|
4553
4553
|
}
|
|
4554
4554
|
}
|
|
4555
|
-
}, [Ie, ye,
|
|
4555
|
+
}, [Ie, ye, D, j]), S.useEffect(() => {
|
|
4556
4556
|
let Xe;
|
|
4557
4557
|
if (O && I.current && R) {
|
|
4558
4558
|
const ce = R.createElement("style");
|
|
@@ -4790,10 +4790,10 @@ function jF(t, e = {}) {
|
|
|
4790
4790
|
}, "generateThemeVars"),
|
|
4791
4791
|
generateStyleSheets: /* @__PURE__ */ s(() => {
|
|
4792
4792
|
const w = [], T = t.defaultColorScheme || "light";
|
|
4793
|
-
function O(R,
|
|
4794
|
-
Object.keys(
|
|
4793
|
+
function O(R, D) {
|
|
4794
|
+
Object.keys(D).length && w.push(typeof R == "string" ? {
|
|
4795
4795
|
[R]: {
|
|
4796
|
-
|
|
4796
|
+
...D
|
|
4797
4797
|
}
|
|
4798
4798
|
} : R);
|
|
4799
4799
|
}
|
|
@@ -4807,8 +4807,8 @@ function jF(t, e = {}) {
|
|
|
4807
4807
|
if (M) {
|
|
4808
4808
|
const {
|
|
4809
4809
|
css: R
|
|
4810
|
-
} = M,
|
|
4811
|
-
colorScheme:
|
|
4810
|
+
} = M, D = a[T]?.palette?.mode, P = !r && D ? {
|
|
4811
|
+
colorScheme: D,
|
|
4812
4812
|
...R
|
|
4813
4813
|
} : {
|
|
4814
4814
|
...R
|
|
@@ -4818,13 +4818,13 @@ function jF(t, e = {}) {
|
|
|
4818
4818
|
}), P);
|
|
4819
4819
|
}
|
|
4820
4820
|
return Object.entries(A).forEach(([R, {
|
|
4821
|
-
css:
|
|
4821
|
+
css: D
|
|
4822
4822
|
}]) => {
|
|
4823
4823
|
const P = a[R]?.palette?.mode, k = !r && P ? {
|
|
4824
4824
|
colorScheme: P,
|
|
4825
|
-
|
|
4825
|
+
...D
|
|
4826
4826
|
} : {
|
|
4827
|
-
|
|
4827
|
+
...D
|
|
4828
4828
|
};
|
|
4829
4829
|
O(n(R, {
|
|
4830
4830
|
...k
|
|
@@ -5078,10 +5078,10 @@ function s_(t = {}) {
|
|
|
5078
5078
|
offset: M = {},
|
|
5079
5079
|
spacing: A = 0,
|
|
5080
5080
|
rowSpacing: R = A,
|
|
5081
|
-
columnSpacing:
|
|
5081
|
+
columnSpacing: D = A,
|
|
5082
5082
|
unstable_level: P = 0,
|
|
5083
5083
|
...k
|
|
5084
|
-
} = y, N = a(O, m.breakpoints, (F) => F !== !1),
|
|
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), z = p.columnSpacing ?? p.spacing ?? (P ? void 0 : D), V = {
|
|
5085
5085
|
...y,
|
|
5086
5086
|
level: P,
|
|
5087
5087
|
columns: L,
|
|
@@ -5092,7 +5092,7 @@ function s_(t = {}) {
|
|
|
5092
5092
|
rowSpacing: _,
|
|
5093
5093
|
columnSpacing: z,
|
|
5094
5094
|
size: N,
|
|
5095
|
-
offset:
|
|
5095
|
+
offset: $
|
|
5096
5096
|
}, B = i(V, m);
|
|
5097
5097
|
return /* @__PURE__ */ b(l, {
|
|
5098
5098
|
ref: f,
|
|
@@ -6114,22 +6114,22 @@ function W_(t = {}, ...e) {
|
|
|
6114
6114
|
return h(L, k[_][z]);
|
|
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
|
-
function
|
|
6117
|
+
function $(L, I, _) {
|
|
6118
6118
|
if (w) {
|
|
6119
6119
|
let z;
|
|
6120
6120
|
return L === Hi && (z = `transparent ${((1 - _) * 100).toFixed(0)}%`), L === Ct && (z = `#000 ${(_ * 100).toFixed(0)}%`), L === wt && (z = `#fff ${(_ * 100).toFixed(0)}%`), `color-mix(in ${w}, ${I}, ${z})`;
|
|
6121
6121
|
}
|
|
6122
6122
|
return L(I, _);
|
|
6123
6123
|
}
|
|
6124
|
-
if (s(
|
|
6125
|
-
re(k.Alert, "errorColor",
|
|
6126
|
-
const L = w ?
|
|
6127
|
-
re(k.SnackbarContent, "bg", L), re(k.SnackbarContent, "color", to(() => w ? By.text.primary : k.getContrastText(L))), re(k.SpeedDialAction, "fabHoverBg", Vu(k.background.paper, 0.15)), re(k.StepConnector, "border", N("palette-grey-400")), re(k.StepContent, "border", N("palette-grey-400")), re(k.Switch, "defaultColor", N("palette-common-white")), re(k.Switch, "defaultDisabledColor", N("palette-grey-100")), re(k.Switch, "primaryDisabledColor",
|
|
6124
|
+
if (s($, "colorMix"), z_(k, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), k.mode === "light") {
|
|
6125
|
+
re(k.Alert, "errorColor", $(Ct, a ? h("palette-error-light") : k.error.light, 0.6)), re(k.Alert, "infoColor", $(Ct, a ? h("palette-info-light") : k.info.light, 0.6)), re(k.Alert, "successColor", $(Ct, a ? h("palette-success-light") : k.success.light, 0.6)), re(k.Alert, "warningColor", $(Ct, a ? h("palette-warning-light") : k.warning.light, 0.6)), re(k.Alert, "errorFilledBg", N("palette-error-main")), re(k.Alert, "infoFilledBg", N("palette-info-main")), re(k.Alert, "successFilledBg", N("palette-success-main")), re(k.Alert, "warningFilledBg", N("palette-warning-main")), re(k.Alert, "errorFilledColor", to(() => k.getContrastText(k.error.main))), re(k.Alert, "infoFilledColor", to(() => k.getContrastText(k.info.main))), re(k.Alert, "successFilledColor", to(() => k.getContrastText(k.success.main))), re(k.Alert, "warningFilledColor", to(() => k.getContrastText(k.warning.main))), re(k.Alert, "errorStandardBg", $(wt, a ? h("palette-error-light") : k.error.light, 0.9)), re(k.Alert, "infoStandardBg", $(wt, a ? h("palette-info-light") : k.info.light, 0.9)), re(k.Alert, "successStandardBg", $(wt, a ? h("palette-success-light") : k.success.light, 0.9)), re(k.Alert, "warningStandardBg", $(wt, a ? h("palette-warning-light") : k.warning.light, 0.9)), re(k.Alert, "errorIconColor", N("palette-error-main")), re(k.Alert, "infoIconColor", N("palette-info-main")), re(k.Alert, "successIconColor", N("palette-success-main")), re(k.Alert, "warningIconColor", N("palette-warning-main")), re(k.AppBar, "defaultBg", N("palette-grey-100")), re(k.Avatar, "defaultBg", N("palette-grey-400")), re(k.Button, "inheritContainedBg", N("palette-grey-300")), re(k.Button, "inheritContainedHoverBg", N("palette-grey-A100")), re(k.Chip, "defaultBorder", N("palette-grey-400")), re(k.Chip, "defaultAvatarColor", N("palette-grey-700")), re(k.Chip, "defaultIconColor", N("palette-grey-700")), re(k.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), re(k.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), re(k.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), re(k.LinearProgress, "primaryBg", $(wt, a ? h("palette-primary-main") : k.primary.main, 0.62)), re(k.LinearProgress, "secondaryBg", $(wt, a ? h("palette-secondary-main") : k.secondary.main, 0.62)), re(k.LinearProgress, "errorBg", $(wt, a ? h("palette-error-main") : k.error.main, 0.62)), re(k.LinearProgress, "infoBg", $(wt, a ? h("palette-info-main") : k.info.main, 0.62)), re(k.LinearProgress, "successBg", $(wt, a ? h("palette-success-main") : k.success.main, 0.62)), re(k.LinearProgress, "warningBg", $(wt, a ? h("palette-warning-light") : k.warning.main, 0.62)), re(k.Skeleton, "bg", w ? $(Hi, a ? h("palette-text-primary") : k.text.primary, 0.11) : `rgba(${N("palette-text-primaryChannel")} / 0.11)`), re(k.Slider, "primaryTrack", $(wt, a ? h("palette-primary-main") : k.primary.main, 0.62)), re(k.Slider, "secondaryTrack", $(wt, a ? h("palette-secondary-main") : k.secondary.main, 0.62)), re(k.Slider, "errorTrack", $(wt, a ? h("palette-error-main") : k.error.main, 0.62)), re(k.Slider, "infoTrack", $(wt, a ? h("palette-info-main") : k.info.main, 0.62)), re(k.Slider, "successTrack", $(wt, a ? h("palette-success-main") : k.success.main, 0.62)), re(k.Slider, "warningTrack", $(wt, a ? h("palette-warning-main") : k.warning.main, 0.62));
|
|
6126
|
+
const L = w ? $(Ct, a ? h("palette-background-default") : k.background.default, 0.6825) : Vu(k.background.default, 0.8);
|
|
6127
|
+
re(k.SnackbarContent, "bg", L), re(k.SnackbarContent, "color", to(() => w ? By.text.primary : k.getContrastText(L))), re(k.SpeedDialAction, "fabHoverBg", Vu(k.background.paper, 0.15)), re(k.StepConnector, "border", N("palette-grey-400")), re(k.StepContent, "border", N("palette-grey-400")), re(k.Switch, "defaultColor", N("palette-common-white")), re(k.Switch, "defaultDisabledColor", N("palette-grey-100")), re(k.Switch, "primaryDisabledColor", $(wt, a ? h("palette-primary-main") : k.primary.main, 0.62)), re(k.Switch, "secondaryDisabledColor", $(wt, a ? h("palette-secondary-main") : k.secondary.main, 0.62)), re(k.Switch, "errorDisabledColor", $(wt, a ? h("palette-error-main") : k.error.main, 0.62)), re(k.Switch, "infoDisabledColor", $(wt, a ? h("palette-info-main") : k.info.main, 0.62)), re(k.Switch, "successDisabledColor", $(wt, a ? h("palette-success-main") : k.success.main, 0.62)), re(k.Switch, "warningDisabledColor", $(wt, a ? h("palette-warning-main") : k.warning.main, 0.62)), re(k.TableCell, "border", $(wt, Hi(a ? h("palette-divider") : k.divider, 1), 0.88)), re(k.Tooltip, "bg", $(Hi, a ? h("palette-grey-700") : k.grey[700], 0.92));
|
|
6128
6128
|
}
|
|
6129
6129
|
if (k.mode === "dark") {
|
|
6130
|
-
re(k.Alert, "errorColor",
|
|
6131
|
-
const L = w ?
|
|
6132
|
-
re(k.SnackbarContent, "bg", L), re(k.SnackbarContent, "color", to(() => w ? CM.text.primary : k.getContrastText(L))), re(k.SpeedDialAction, "fabHoverBg", Vu(k.background.paper, 0.15)), re(k.StepConnector, "border", N("palette-grey-600")), re(k.StepContent, "border", N("palette-grey-600")), re(k.Switch, "defaultColor", N("palette-grey-300")), re(k.Switch, "defaultDisabledColor", N("palette-grey-600")), re(k.Switch, "primaryDisabledColor",
|
|
6130
|
+
re(k.Alert, "errorColor", $(wt, a ? h("palette-error-light") : k.error.light, 0.6)), re(k.Alert, "infoColor", $(wt, a ? h("palette-info-light") : k.info.light, 0.6)), re(k.Alert, "successColor", $(wt, a ? h("palette-success-light") : k.success.light, 0.6)), re(k.Alert, "warningColor", $(wt, a ? h("palette-warning-light") : k.warning.light, 0.6)), re(k.Alert, "errorFilledBg", N("palette-error-dark")), re(k.Alert, "infoFilledBg", N("palette-info-dark")), re(k.Alert, "successFilledBg", N("palette-success-dark")), re(k.Alert, "warningFilledBg", N("palette-warning-dark")), re(k.Alert, "errorFilledColor", to(() => k.getContrastText(k.error.dark))), re(k.Alert, "infoFilledColor", to(() => k.getContrastText(k.info.dark))), re(k.Alert, "successFilledColor", to(() => k.getContrastText(k.success.dark))), re(k.Alert, "warningFilledColor", to(() => k.getContrastText(k.warning.dark))), re(k.Alert, "errorStandardBg", $(Ct, a ? h("palette-error-light") : k.error.light, 0.9)), re(k.Alert, "infoStandardBg", $(Ct, a ? h("palette-info-light") : k.info.light, 0.9)), re(k.Alert, "successStandardBg", $(Ct, a ? h("palette-success-light") : k.success.light, 0.9)), re(k.Alert, "warningStandardBg", $(Ct, a ? h("palette-warning-light") : k.warning.light, 0.9)), re(k.Alert, "errorIconColor", N("palette-error-main")), re(k.Alert, "infoIconColor", N("palette-info-main")), re(k.Alert, "successIconColor", N("palette-success-main")), re(k.Alert, "warningIconColor", N("palette-warning-main")), re(k.AppBar, "defaultBg", N("palette-grey-900")), re(k.AppBar, "darkBg", N("palette-background-paper")), re(k.AppBar, "darkColor", N("palette-text-primary")), re(k.Avatar, "defaultBg", N("palette-grey-600")), re(k.Button, "inheritContainedBg", N("palette-grey-800")), re(k.Button, "inheritContainedHoverBg", N("palette-grey-700")), re(k.Chip, "defaultBorder", N("palette-grey-700")), re(k.Chip, "defaultAvatarColor", N("palette-grey-300")), re(k.Chip, "defaultIconColor", N("palette-grey-300")), re(k.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), re(k.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), re(k.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), re(k.LinearProgress, "primaryBg", $(Ct, a ? h("palette-primary-main") : k.primary.main, 0.5)), re(k.LinearProgress, "secondaryBg", $(Ct, a ? h("palette-secondary-main") : k.secondary.main, 0.5)), re(k.LinearProgress, "errorBg", $(Ct, a ? h("palette-error-main") : k.error.main, 0.5)), re(k.LinearProgress, "infoBg", $(Ct, a ? h("palette-info-main") : k.info.main, 0.5)), re(k.LinearProgress, "successBg", $(Ct, a ? h("palette-success-main") : k.success.main, 0.5)), re(k.LinearProgress, "warningBg", $(Ct, a ? h("palette-warning-main") : k.warning.main, 0.5)), re(k.Skeleton, "bg", w ? $(Hi, a ? h("palette-text-primary") : k.text.primary, 0.13) : `rgba(${N("palette-text-primaryChannel")} / 0.13)`), re(k.Slider, "primaryTrack", $(Ct, a ? h("palette-primary-main") : k.primary.main, 0.5)), re(k.Slider, "secondaryTrack", $(Ct, a ? h("palette-secondary-main") : k.secondary.main, 0.5)), re(k.Slider, "errorTrack", $(Ct, a ? h("palette-error-main") : k.error.main, 0.5)), re(k.Slider, "infoTrack", $(Ct, a ? h("palette-info-main") : k.info.main, 0.5)), re(k.Slider, "successTrack", $(Ct, a ? h("palette-success-main") : k.success.main, 0.5)), re(k.Slider, "warningTrack", $(Ct, a ? h("palette-warning-light") : k.warning.main, 0.5));
|
|
6131
|
+
const L = w ? $(wt, a ? h("palette-background-default") : k.background.default, 0.985) : Vu(k.background.default, 0.98);
|
|
6132
|
+
re(k.SnackbarContent, "bg", L), re(k.SnackbarContent, "color", to(() => w ? CM.text.primary : k.getContrastText(L))), re(k.SpeedDialAction, "fabHoverBg", Vu(k.background.paper, 0.15)), re(k.StepConnector, "border", N("palette-grey-600")), re(k.StepContent, "border", N("palette-grey-600")), re(k.Switch, "defaultColor", N("palette-grey-300")), re(k.Switch, "defaultDisabledColor", N("palette-grey-600")), re(k.Switch, "primaryDisabledColor", $(Ct, a ? h("palette-primary-main") : k.primary.main, 0.55)), re(k.Switch, "secondaryDisabledColor", $(Ct, a ? h("palette-secondary-main") : k.secondary.main, 0.55)), re(k.Switch, "errorDisabledColor", $(Ct, a ? h("palette-error-main") : k.error.main, 0.55)), re(k.Switch, "infoDisabledColor", $(Ct, a ? h("palette-info-main") : k.info.main, 0.55)), re(k.Switch, "successDisabledColor", $(Ct, a ? h("palette-success-main") : k.success.main, 0.55)), re(k.Switch, "warningDisabledColor", $(Ct, a ? h("palette-warning-light") : k.warning.main, 0.55)), re(k.TableCell, "border", $(Ct, Hi(a ? h("palette-divider") : k.divider, 1), 0.68)), re(k.Tooltip, "bg", $(Hi, a ? h("palette-grey-700") : k.grey[700], 0.92));
|
|
6133
6133
|
}
|
|
6134
6134
|
Io(k.background, "default"), Io(k.background, "paper"), Io(k.common, "background"), Io(k.common, "onBackground"), Io(k, "divider"), Object.keys(k).forEach((L) => {
|
|
6135
6135
|
const I = k[L];
|
|
@@ -6145,11 +6145,11 @@ function W_(t = {}, ...e) {
|
|
|
6145
6145
|
}, {
|
|
6146
6146
|
vars: A,
|
|
6147
6147
|
generateThemeVars: R,
|
|
6148
|
-
generateStyleSheets:
|
|
6148
|
+
generateStyleSheets: D
|
|
6149
6149
|
} = jF(O, M);
|
|
6150
6150
|
return O.vars = A, Object.entries(O.colorSchemes[O.defaultColorScheme]).forEach(([P, k]) => {
|
|
6151
6151
|
O[P] = k;
|
|
6152
|
-
}), O.generateThemeVars = R, O.generateStyleSheets =
|
|
6152
|
+
}), O.generateThemeVars = R, O.generateStyleSheets = D, O.generateSpacing = /* @__PURE__ */ s(function() {
|
|
6153
6153
|
return sM(p.spacing, Uf(this));
|
|
6154
6154
|
}, "generateSpacing"), O.getColorSchemeSelector = WF(u), O.spacing = O.generateSpacing(), O.shouldSkipGeneratingVar = l, O.unstable_sxConfig = {
|
|
6155
6155
|
...eu,
|
|
@@ -7092,8 +7092,8 @@ function Jd(t) {
|
|
|
7092
7092
|
return;
|
|
7093
7093
|
let R = [];
|
|
7094
7094
|
if ((A === d.current || A === p.current) && (R = i(y.current)), R.length > 0) {
|
|
7095
|
-
const
|
|
7096
|
-
typeof P != "string" && typeof k != "string" && (
|
|
7095
|
+
const D = !!(v.current?.shiftKey && v.current?.key === "Tab"), P = R[0], k = R[R.length - 1];
|
|
7096
|
+
typeof P != "string" && typeof k != "string" && (D ? k.focus() : P.focus());
|
|
7097
7097
|
} else
|
|
7098
7098
|
M.focus();
|
|
7099
7099
|
}, "contain");
|
|
@@ -7970,13 +7970,13 @@ const OB = {
|
|
|
7970
7970
|
// eslint-disable-next-line react/prop-types
|
|
7971
7971
|
TransitionComponent: E = Lr,
|
|
7972
7972
|
...C
|
|
7973
|
-
} = e, w = S.useRef(null), T = jt(w, Gs(l), n), O = /* @__PURE__ */ s((
|
|
7974
|
-
if (
|
|
7973
|
+
} = e, w = S.useRef(null), T = jt(w, Gs(l), n), O = /* @__PURE__ */ s(($) => (L) => {
|
|
7974
|
+
if ($) {
|
|
7975
7975
|
const I = w.current;
|
|
7976
|
-
L === void 0 ?
|
|
7976
|
+
L === void 0 ? $(I) : $(I, L);
|
|
7977
7977
|
}
|
|
7978
|
-
}, "normalizedTransitionCallback"), M = O(m), A = O((
|
|
7979
|
-
g0(
|
|
7978
|
+
}, "normalizedTransitionCallback"), M = O(m), A = O(($, L) => {
|
|
7979
|
+
g0($);
|
|
7980
7980
|
const I = jo({
|
|
7981
7981
|
style: v,
|
|
7982
7982
|
timeout: x,
|
|
@@ -7984,8 +7984,8 @@ const OB = {
|
|
|
7984
7984
|
}, {
|
|
7985
7985
|
mode: "enter"
|
|
7986
7986
|
});
|
|
7987
|
-
|
|
7988
|
-
}), R = O(f),
|
|
7987
|
+
$.style.webkitTransition = r.transitions.create("opacity", I), $.style.transition = r.transitions.create("opacity", I), p && p($, L);
|
|
7988
|
+
}), R = O(f), D = O(g), P = O(($) => {
|
|
7989
7989
|
const L = jo({
|
|
7990
7990
|
style: v,
|
|
7991
7991
|
timeout: x,
|
|
@@ -7993,7 +7993,7 @@ const OB = {
|
|
|
7993
7993
|
}, {
|
|
7994
7994
|
mode: "exit"
|
|
7995
7995
|
});
|
|
7996
|
-
|
|
7996
|
+
$.style.webkitTransition = r.transitions.create("opacity", L), $.style.transition = r.transitions.create("opacity", L), h && h($);
|
|
7997
7997
|
}), k = O(y);
|
|
7998
7998
|
return /* @__PURE__ */ b(E, {
|
|
7999
7999
|
appear: a,
|
|
@@ -8004,20 +8004,20 @@ const OB = {
|
|
|
8004
8004
|
onEntering: M,
|
|
8005
8005
|
onExit: P,
|
|
8006
8006
|
onExited: k,
|
|
8007
|
-
onExiting:
|
|
8008
|
-
addEndListener: /* @__PURE__ */ s((
|
|
8009
|
-
i && i(w.current,
|
|
8007
|
+
onExiting: D,
|
|
8008
|
+
addEndListener: /* @__PURE__ */ s(($) => {
|
|
8009
|
+
i && i(w.current, $);
|
|
8010
8010
|
}, "handleAddEndListener"),
|
|
8011
8011
|
timeout: x,
|
|
8012
8012
|
...C,
|
|
8013
|
-
children: /* @__PURE__ */ s((
|
|
8013
|
+
children: /* @__PURE__ */ s(($, {
|
|
8014
8014
|
ownerState: L,
|
|
8015
8015
|
...I
|
|
8016
8016
|
}) => /* @__PURE__ */ S.cloneElement(l, {
|
|
8017
8017
|
style: {
|
|
8018
8018
|
opacity: 0,
|
|
8019
|
-
visibility:
|
|
8020
|
-
...OB[
|
|
8019
|
+
visibility: $ === "exited" && !d ? "hidden" : void 0,
|
|
8020
|
+
...OB[$],
|
|
8021
8021
|
...v,
|
|
8022
8022
|
...l.props.style
|
|
8023
8023
|
},
|
|
@@ -8329,7 +8329,7 @@ function AB(t) {
|
|
|
8329
8329
|
}, [R]), S.useEffect(() => {
|
|
8330
8330
|
d ? O() : (!x || !o) && R();
|
|
8331
8331
|
}, [d, R, x, o, O]);
|
|
8332
|
-
const
|
|
8332
|
+
const D = /* @__PURE__ */ s((L) => (I) => {
|
|
8333
8333
|
L.onKeyDown?.(I), !(I.key !== "Escape" || I.which === 229 || // Wait until IME is settled.
|
|
8334
8334
|
!M()) && (n || (I.stopPropagation(), u && u(I, "escapeKeyDown")));
|
|
8335
8335
|
}, "createHandleKeyDown"), P = /* @__PURE__ */ s((L) => (I) => {
|
|
@@ -8352,7 +8352,7 @@ function AB(t) {
|
|
|
8352
8352
|
*/
|
|
8353
8353
|
role: "presentation",
|
|
8354
8354
|
..._,
|
|
8355
|
-
onKeyDown:
|
|
8355
|
+
onKeyDown: D(_),
|
|
8356
8356
|
ref: y
|
|
8357
8357
|
};
|
|
8358
8358
|
}, "getRootProps"),
|
|
@@ -8457,12 +8457,12 @@ const DB = /* @__PURE__ */ s((t) => {
|
|
|
8457
8457
|
onTransitionEnter: M,
|
|
8458
8458
|
onTransitionExited: A,
|
|
8459
8459
|
open: R,
|
|
8460
|
-
slotProps:
|
|
8460
|
+
slotProps: D = {},
|
|
8461
8461
|
slots: P = {},
|
|
8462
8462
|
// eslint-disable-next-line react/prop-types
|
|
8463
8463
|
theme: k,
|
|
8464
8464
|
...N
|
|
8465
|
-
} = r,
|
|
8465
|
+
} = r, $ = {
|
|
8466
8466
|
...r,
|
|
8467
8467
|
closeAfterTransition: u,
|
|
8468
8468
|
disableAutoFocus: y,
|
|
@@ -8482,10 +8482,10 @@ const DB = /* @__PURE__ */ s((t) => {
|
|
|
8482
8482
|
exited: B,
|
|
8483
8483
|
hasTransition: F
|
|
8484
8484
|
} = AB({
|
|
8485
|
-
|
|
8485
|
+
...$,
|
|
8486
8486
|
rootRef: n
|
|
8487
8487
|
}), W = {
|
|
8488
|
-
|
|
8488
|
+
...$,
|
|
8489
8489
|
exited: B
|
|
8490
8490
|
}, Q = DB(W), q = {};
|
|
8491
8491
|
if (d.props.tabIndex === void 0 && (q.tabIndex = "-1"), F) {
|
|
@@ -8503,7 +8503,7 @@ const DB = /* @__PURE__ */ s((t) => {
|
|
|
8503
8503
|
},
|
|
8504
8504
|
slotProps: {
|
|
8505
8505
|
...h,
|
|
8506
|
-
|
|
8506
|
+
...D
|
|
8507
8507
|
}
|
|
8508
8508
|
}, [ee, j] = je("root", {
|
|
8509
8509
|
ref: n,
|
|
@@ -9094,7 +9094,7 @@ const jB = ne(y0, {
|
|
|
9094
9094
|
slots: M = {},
|
|
9095
9095
|
slotProps: A = {},
|
|
9096
9096
|
TransitionComponent: R = Qd,
|
|
9097
|
-
transitionDuration:
|
|
9097
|
+
transitionDuration: D = i,
|
|
9098
9098
|
TransitionProps: P,
|
|
9099
9099
|
...k
|
|
9100
9100
|
} = r, N = {
|
|
@@ -9104,7 +9104,7 @@ const jB = ne(y0, {
|
|
|
9104
9104
|
fullWidth: g,
|
|
9105
9105
|
maxWidth: v,
|
|
9106
9106
|
scroll: O
|
|
9107
|
-
},
|
|
9107
|
+
}, $ = WB(N), L = S.useRef(), I = /* @__PURE__ */ s((ve) => {
|
|
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"));
|
|
@@ -9126,25 +9126,25 @@ const jB = ne(y0, {
|
|
|
9126
9126
|
shouldForwardComponentProp: !0,
|
|
9127
9127
|
externalForwardedProps: W,
|
|
9128
9128
|
ownerState: N,
|
|
9129
|
-
className: se(
|
|
9129
|
+
className: se($.root, m),
|
|
9130
9130
|
ref: n
|
|
9131
9131
|
}), [K, ee] = je("backdrop", {
|
|
9132
9132
|
elementType: jB,
|
|
9133
9133
|
shouldForwardComponentProp: !0,
|
|
9134
9134
|
externalForwardedProps: W,
|
|
9135
9135
|
ownerState: N,
|
|
9136
|
-
className:
|
|
9136
|
+
className: $.backdrop
|
|
9137
9137
|
}), [j, G] = je("paper", {
|
|
9138
9138
|
elementType: UB,
|
|
9139
9139
|
shouldForwardComponentProp: !0,
|
|
9140
9140
|
externalForwardedProps: W,
|
|
9141
9141
|
ownerState: N,
|
|
9142
|
-
className: se(
|
|
9142
|
+
className: se($.paper, T.className)
|
|
9143
9143
|
}), [Z, te] = je("container", {
|
|
9144
9144
|
elementType: qB,
|
|
9145
9145
|
externalForwardedProps: W,
|
|
9146
9146
|
ownerState: N,
|
|
9147
|
-
className:
|
|
9147
|
+
className: $.container
|
|
9148
9148
|
}), [ae, H] = je("transition", {
|
|
9149
9149
|
elementType: Qd,
|
|
9150
9150
|
externalForwardedProps: W,
|
|
@@ -9152,7 +9152,7 @@ const jB = ne(y0, {
|
|
|
9152
9152
|
additionalProps: {
|
|
9153
9153
|
appear: !0,
|
|
9154
9154
|
in: C,
|
|
9155
|
-
timeout:
|
|
9155
|
+
timeout: D,
|
|
9156
9156
|
role: "presentation"
|
|
9157
9157
|
}
|
|
9158
9158
|
});
|
|
@@ -9163,7 +9163,7 @@ const jB = ne(y0, {
|
|
|
9163
9163
|
},
|
|
9164
9164
|
slotProps: {
|
|
9165
9165
|
backdrop: {
|
|
9166
|
-
transitionDuration:
|
|
9166
|
+
transitionDuration: D,
|
|
9167
9167
|
as: d,
|
|
9168
9168
|
...ee
|
|
9169
9169
|
}
|
|
@@ -10961,11 +10961,11 @@ const Yy = /* @__PURE__ */ s((t = "scope") => (wC += 1, `${t}-${wC}`), "createRe
|
|
|
10961
10961
|
onFocus: M,
|
|
10962
10962
|
onChange: A,
|
|
10963
10963
|
onBlur: R,
|
|
10964
|
-
hidden:
|
|
10964
|
+
hidden: D = !1,
|
|
10965
10965
|
disabled: P = !1,
|
|
10966
10966
|
validate: k,
|
|
10967
10967
|
required: N,
|
|
10968
|
-
|
|
10968
|
+
...$
|
|
10969
10969
|
} = t, {
|
|
10970
10970
|
onFocus: L,
|
|
10971
10971
|
onBlur: I,
|
|
@@ -10976,8 +10976,8 @@ const Yy = /* @__PURE__ */ s((t = "scope") => (wC += 1, `${t}-${wC}`), "createRe
|
|
|
10976
10976
|
validate: F,
|
|
10977
10977
|
required: W,
|
|
10978
10978
|
...Q
|
|
10979
|
-
} = T, q = l || z === void 0 ?
|
|
10980
|
-
|
|
10979
|
+
} = T, q = l || z === void 0 ? D : z, K = l || V === void 0 ? P : V, ee = l || L === void 0 ? M : L, j = l || I === void 0 ? R : I, G = l || _ === void 0 ? A : _, Z = Xr(t), te = B({
|
|
10980
|
+
...$,
|
|
10981
10981
|
estado: n,
|
|
10982
10982
|
hidden: q,
|
|
10983
10983
|
isLoading: r,
|
|
@@ -11035,7 +11035,7 @@ const Yy = /* @__PURE__ */ s((t = "scope") => (wC += 1, `${t}-${wC}`), "createRe
|
|
|
11035
11035
|
onChange: J,
|
|
11036
11036
|
helperText: !1,
|
|
11037
11037
|
validate: Tt,
|
|
11038
|
-
|
|
11038
|
+
...$,
|
|
11039
11039
|
...Q,
|
|
11040
11040
|
...ge,
|
|
11041
11041
|
readOnly: Ge,
|
|
@@ -11048,7 +11048,7 @@ const Yy = /* @__PURE__ */ s((t = "scope") => (wC += 1, `${t}-${wC}`), "createRe
|
|
|
11048
11048
|
ce,
|
|
11049
11049
|
J,
|
|
11050
11050
|
Tt,
|
|
11051
|
-
|
|
11051
|
+
$,
|
|
11052
11052
|
Q,
|
|
11053
11053
|
ge,
|
|
11054
11054
|
Ge,
|
|
@@ -11413,18 +11413,18 @@ const Yy = /* @__PURE__ */ s((t = "scope") => (wC += 1, `${t}-${wC}`), "createRe
|
|
|
11413
11413
|
}, "useUtilsSubmit"), Cl = /* @__PURE__ */ new Map(), Xr = /* @__PURE__ */ s((t) => {
|
|
11414
11414
|
const e = pt(t), n = t?.id ?? "new", r = `${e}-${n}`, o = kn();
|
|
11415
11415
|
Ae(() => {
|
|
11416
|
-
const
|
|
11417
|
-
return o &&
|
|
11416
|
+
const $ = Cl.get(r) ?? { form: null, count: 0 };
|
|
11417
|
+
return o && !$.form && ($.form = o), $.count += 1, Cl.set(r, $), () => {
|
|
11418
11418
|
const L = Cl.get(r);
|
|
11419
11419
|
L.count--, L.count === 0 && Cl.delete(r);
|
|
11420
11420
|
};
|
|
11421
11421
|
}, [r, !!o]);
|
|
11422
|
-
const a = /* @__PURE__ */ s(() => o || Cl.get(r)?.form || null, "getForm"), l = /* @__PURE__ */ s((
|
|
11423
|
-
|
|
11422
|
+
const a = /* @__PURE__ */ s(() => o || Cl.get(r)?.form || null, "getForm"), l = /* @__PURE__ */ s((...$) => a()?.trigger?.(...$), "trigger"), u = /* @__PURE__ */ s(($) => (L, I) => {
|
|
11423
|
+
$(L, I), setTimeout(() => l(L), 0);
|
|
11424
11424
|
}, "withRevalidate"), d = iI(), p = XM(), f = QM(), m = ZM(), h = eI(), y = tI(), g = nI(), v = sl(), x = _r(), E = Go(), C = jf(), w = Yo(), T = JM(), O = nt(lk), M = _v(), {
|
|
11425
11425
|
propsContenidos: A,
|
|
11426
11426
|
setPropsContenidos: R,
|
|
11427
|
-
fichaProps: { etrs:
|
|
11427
|
+
fichaProps: { etrs: D = {} } = {}
|
|
11428
11428
|
} = Ft() || {}, P = nt(mu) || {}, [k] = T0(e);
|
|
11429
11429
|
return {
|
|
11430
11430
|
// Devuelve la instancia RHF actual
|
|
@@ -11440,9 +11440,9 @@ const Yy = /* @__PURE__ */ s((t = "scope") => (wC += 1, `${t}-${wC}`), "createRe
|
|
|
11440
11440
|
progress: v,
|
|
11441
11441
|
asistente: w,
|
|
11442
11442
|
abrirVentanaSistema: T,
|
|
11443
|
-
registerResource: /* @__PURE__ */ s((
|
|
11444
|
-
const L =
|
|
11445
|
-
!L || M?.[L] || O?.register?.(
|
|
11443
|
+
registerResource: /* @__PURE__ */ s(($) => {
|
|
11444
|
+
const L = $?.name;
|
|
11445
|
+
!L || M?.[L] || O?.register?.($);
|
|
11446
11446
|
}, "registerResource"),
|
|
11447
11447
|
ficha: { propsContenidos: A, setPropsContenidos: R },
|
|
11448
11448
|
setHiddenButton: d?.setHidden,
|
|
@@ -11451,7 +11451,7 @@ const Yy = /* @__PURE__ */ s((t = "scope") => (wC += 1, `${t}-${wC}`), "createRe
|
|
|
11451
11451
|
setRequire: u(h),
|
|
11452
11452
|
setError: u(y),
|
|
11453
11453
|
setLabel: u(g),
|
|
11454
|
-
etrs:
|
|
11454
|
+
etrs: D,
|
|
11455
11455
|
asisEtr: P
|
|
11456
11456
|
};
|
|
11457
11457
|
}, "useUtilsFicha"), aI = Xt({
|
|
@@ -12376,12 +12376,12 @@ const J4 = ne("div")(({ theme: t }) => ({
|
|
|
12376
12376
|
const R = (A.field?.toLowerCase?.() ?? "").replace(
|
|
12377
12377
|
/_lis$/,
|
|
12378
12378
|
""
|
|
12379
|
-
),
|
|
12379
|
+
), D = (A.headerName ?? "").toString().toLowerCase(), P = C?.[A.field], k = [
|
|
12380
12380
|
"nombrecompleto",
|
|
12381
12381
|
"nombrecompletodos",
|
|
12382
12382
|
"funcnom",
|
|
12383
12383
|
"funnom"
|
|
12384
|
-
].includes(R) ||
|
|
12384
|
+
].includes(R) || D.includes("nombre completo") || D === "funcionario", N = A.type === "number" || A.type === "numeric" || u(P);
|
|
12385
12385
|
return k && !N && P != null && P !== "";
|
|
12386
12386
|
});
|
|
12387
12387
|
if (w?.field)
|
|
@@ -12394,8 +12394,8 @@ const J4 = ne("div")(({ theme: t }) => ({
|
|
|
12394
12394
|
"titulo",
|
|
12395
12395
|
"title"
|
|
12396
12396
|
], O = l.find((A) => {
|
|
12397
|
-
const R = A.field?.toLowerCase?.() ?? "",
|
|
12398
|
-
return
|
|
12397
|
+
const R = A.field?.toLowerCase?.() ?? "", D = T.some((N) => R.includes(N)), P = C?.[A.field], k = A.type === "number" || A.type === "numeric" || u(P);
|
|
12398
|
+
return D && !k && P != null && P !== "";
|
|
12399
12399
|
});
|
|
12400
12400
|
return O?.field ? O : l.find((A) => {
|
|
12401
12401
|
const R = C?.[A.field];
|
|
@@ -12406,7 +12406,7 @@ const J4 = ne("div")(({ theme: t }) => ({
|
|
|
12406
12406
|
return f ? C?.[f] : void 0;
|
|
12407
12407
|
}, [t.row, f]), y = typeof t.primaryText == "function" ? t.primaryText(t.row) : t.primaryText, g = typeof t.secondaryText == "function" ? t.secondaryText(t.row) : t.secondaryText, v = S.useCallback(
|
|
12408
12408
|
(C, w) => {
|
|
12409
|
-
const T = C?.field?.toLowerCase() ?? "", O = C?.type, M = O === "date" || O === "dateTime" || T.includes("fecha") || w instanceof Date, A = O === "time" || T.includes("hora") || T.includes("time") || (C?.headerName || "").toString().toLowerCase().includes("hora"), R = O === "number" || O === "numeric" || typeof w == "number",
|
|
12409
|
+
const T = C?.field?.toLowerCase() ?? "", O = C?.type, M = O === "date" || O === "dateTime" || T.includes("fecha") || w instanceof Date, A = O === "time" || T.includes("hora") || T.includes("time") || (C?.headerName || "").toString().toLowerCase().includes("hora"), R = O === "number" || O === "numeric" || typeof w == "number", D = O === "boolean";
|
|
12410
12410
|
return T.endsWith("_lis") || (!C?.align || T.endsWith("nom")) && !O ? {
|
|
12411
12411
|
icon: oz,
|
|
12412
12412
|
color: n.palette.secondary.main
|
|
@@ -12416,7 +12416,7 @@ const J4 = ne("div")(({ theme: t }) => ({
|
|
|
12416
12416
|
} : R ? {
|
|
12417
12417
|
icon: ez,
|
|
12418
12418
|
color: n.palette.success.dark
|
|
12419
|
-
} :
|
|
12419
|
+
} : D ? {
|
|
12420
12420
|
icon: iz,
|
|
12421
12421
|
color: n.palette.warning.main
|
|
12422
12422
|
} : {
|
|
@@ -12572,8 +12572,8 @@ const J4 = ne("div")(({ theme: t }) => ({
|
|
|
12572
12572
|
},
|
|
12573
12573
|
children: x.map((C) => {
|
|
12574
12574
|
const w = C.field, T = C?.headerName ?? w, O = t.row ?? {}, M = O?.[w], A = v(C, M), R = A.icon === TC || A.icon === nz;
|
|
12575
|
-
let
|
|
12576
|
-
const
|
|
12575
|
+
let D, P = !1, k = null;
|
|
12576
|
+
const $ = k0(
|
|
12577
12577
|
C,
|
|
12578
12578
|
{
|
|
12579
12579
|
row: O,
|
|
@@ -12595,7 +12595,7 @@ const J4 = ne("div")(({ theme: t }) => ({
|
|
|
12595
12595
|
hasFocus: !1,
|
|
12596
12596
|
tabIndex: -1
|
|
12597
12597
|
}, _ = C.renderCell(I);
|
|
12598
|
-
|
|
12598
|
+
D = $ ? /* @__PURE__ */ b(
|
|
12599
12599
|
Ma,
|
|
12600
12600
|
{
|
|
12601
12601
|
colDef: C,
|
|
@@ -12612,7 +12612,7 @@ const J4 = ne("div")(({ theme: t }) => ({
|
|
|
12612
12612
|
}
|
|
12613
12613
|
) : _;
|
|
12614
12614
|
} else
|
|
12615
|
-
|
|
12615
|
+
D = E(C, M, O), C?.type === "boolean" && !R ? (k = d(M), P = !0, D = /* @__PURE__ */ Y(
|
|
12616
12616
|
Jc,
|
|
12617
12617
|
{
|
|
12618
12618
|
direction: "row",
|
|
@@ -12652,18 +12652,18 @@ const J4 = ne("div")(({ theme: t }) => ({
|
|
|
12652
12652
|
)
|
|
12653
12653
|
]
|
|
12654
12654
|
}
|
|
12655
|
-
)) :
|
|
12655
|
+
)) : D = /* @__PURE__ */ b(
|
|
12656
12656
|
Ma,
|
|
12657
12657
|
{
|
|
12658
12658
|
colDef: C,
|
|
12659
12659
|
value: M,
|
|
12660
|
-
formattedValue:
|
|
12660
|
+
formattedValue: D,
|
|
12661
12661
|
row: O,
|
|
12662
12662
|
columns: l,
|
|
12663
12663
|
primaryField: f
|
|
12664
12664
|
}
|
|
12665
12665
|
);
|
|
12666
|
-
const L = P || S.isValidElement(
|
|
12666
|
+
const L = P || S.isValidElement(D);
|
|
12667
12667
|
return /* @__PURE__ */ Y(
|
|
12668
12668
|
Me,
|
|
12669
12669
|
{
|
|
@@ -12710,7 +12710,7 @@ const J4 = ne("div")(({ theme: t }) => ({
|
|
|
12710
12710
|
lineHeight: 1.4,
|
|
12711
12711
|
"& > *": { maxWidth: "100%" }
|
|
12712
12712
|
},
|
|
12713
|
-
children: L ?
|
|
12713
|
+
children: L ? D : /* @__PURE__ */ b(
|
|
12714
12714
|
Sa,
|
|
12715
12715
|
{
|
|
12716
12716
|
component: "span",
|
|
@@ -12721,7 +12721,7 @@ const J4 = ne("div")(({ theme: t }) => ({
|
|
|
12721
12721
|
fontWeight: "inherit",
|
|
12722
12722
|
lineHeight: "inherit"
|
|
12723
12723
|
},
|
|
12724
|
-
children:
|
|
12724
|
+
children: D
|
|
12725
12725
|
}
|
|
12726
12726
|
)
|
|
12727
12727
|
}
|
|
@@ -13061,11 +13061,11 @@ function MC(t) {
|
|
|
13061
13061
|
}
|
|
13062
13062
|
if (o === Xn || (o === Jn || o === Pr) && i === Rc) {
|
|
13063
13063
|
C = Ar;
|
|
13064
|
-
var
|
|
13064
|
+
var D = f && O === T && T.visualViewport ? T.visualViewport.width : (
|
|
13065
13065
|
// $FlowFixMe[prop-missing]
|
|
13066
13066
|
O[A]
|
|
13067
13067
|
);
|
|
13068
|
-
h -=
|
|
13068
|
+
h -= D - r.width, h *= u ? 1 : -1;
|
|
13069
13069
|
}
|
|
13070
13070
|
}
|
|
13071
13071
|
var P = Object.assign({
|
|
@@ -13303,7 +13303,7 @@ function Pc(t, e) {
|
|
|
13303
13303
|
reference: O,
|
|
13304
13304
|
element: C,
|
|
13305
13305
|
placement: o
|
|
13306
|
-
}), A = eb(Object.assign({}, C, M)), R = m === wl ? A : O,
|
|
13306
|
+
}), A = eb(Object.assign({}, C, M)), R = m === wl ? A : O, D = {
|
|
13307
13307
|
top: T.top - R.top + x.top,
|
|
13308
13308
|
bottom: R.bottom - T.bottom + x.bottom,
|
|
13309
13309
|
left: T.left - R.left + x.left,
|
|
@@ -13311,12 +13311,12 @@ function Pc(t, e) {
|
|
|
13311
13311
|
}, P = t.modifiersData.offset;
|
|
13312
13312
|
if (m === wl && P) {
|
|
13313
13313
|
var k = P[o];
|
|
13314
|
-
Object.keys(
|
|
13315
|
-
var
|
|
13316
|
-
|
|
13314
|
+
Object.keys(D).forEach(function(N) {
|
|
13315
|
+
var $ = [Ar, Pr].indexOf(N) >= 0 ? 1 : -1, L = [Jn, Pr].indexOf(N) >= 0 ? "y" : "x";
|
|
13316
|
+
D[N] += k[L] * $;
|
|
13317
13317
|
});
|
|
13318
13318
|
}
|
|
13319
|
-
return
|
|
13319
|
+
return D;
|
|
13320
13320
|
}
|
|
13321
13321
|
s(Pc, "detectOverflow");
|
|
13322
13322
|
function g3(t, e) {
|
|
@@ -13359,14 +13359,14 @@ function b3(t) {
|
|
|
13359
13359
|
flipVariations: y,
|
|
13360
13360
|
allowedAutoPlacements: g
|
|
13361
13361
|
}) : K);
|
|
13362
|
-
}, []), T = e.rects.reference, O = e.rects.popper, M = /* @__PURE__ */ new Map(), A = !0, R = w[0],
|
|
13363
|
-
var P = w[
|
|
13362
|
+
}, []), T = e.rects.reference, O = e.rects.popper, M = /* @__PURE__ */ new Map(), A = !0, R = w[0], D = 0; D < w.length; D++) {
|
|
13363
|
+
var P = w[D], k = So(P), N = ja(P) === Ba, $ = [Jn, Pr].indexOf(k) >= 0, L = $ ? "width" : "height", I = Pc(e, {
|
|
13364
13364
|
placement: P,
|
|
13365
13365
|
boundary: p,
|
|
13366
13366
|
rootBoundary: f,
|
|
13367
13367
|
altBoundary: m,
|
|
13368
13368
|
padding: d
|
|
13369
|
-
}), _ =
|
|
13369
|
+
}), _ = $ ? N ? Ar : Xn : N ? Pr : Jn;
|
|
13370
13370
|
T[L] > O[L] && (_ = Rd(_));
|
|
13371
13371
|
var z = Rd(_), V = [];
|
|
13372
13372
|
if (i && V.push(I[k] <= 0), l && V.push(I[_] <= 0, I[z] <= 0), V.every(function(q) {
|
|
@@ -13503,7 +13503,7 @@ function M3(t) {
|
|
|
13503
13503
|
altBoundary: p
|
|
13504
13504
|
}), x = So(e.placement), E = ja(e.placement), C = !E, w = P0(x), T = k3(w), O = e.modifiersData.popperOffsets, M = e.rects.reference, A = e.rects.popper, R = typeof g == "function" ? g(Object.assign({}, e.rects, {
|
|
13505
13505
|
placement: e.placement
|
|
13506
|
-
})) : g,
|
|
13506
|
+
})) : g, D = typeof R == "number" ? {
|
|
13507
13507
|
mainAxis: R,
|
|
13508
13508
|
altAxis: R
|
|
13509
13509
|
} : Object.assign({
|
|
@@ -13515,14 +13515,14 @@ function M3(t) {
|
|
|
13515
13515
|
};
|
|
13516
13516
|
if (O) {
|
|
13517
13517
|
if (i) {
|
|
13518
|
-
var N,
|
|
13518
|
+
var N, $ = w === "y" ? Jn : Xn, L = w === "y" ? Pr : Ar, I = w === "y" ? "height" : "width", _ = O[w], z = _ + v[$], V = _ - v[L], B = h ? -A[I] / 2 : 0, F = E === Ba ? M[I] : A[I], W = E === Ba ? -A[I] : -M[I], Q = e.elements.arrow, q = h && Q ? R0(Q) : {
|
|
13519
13519
|
width: 0,
|
|
13520
13520
|
height: 0
|
|
13521
|
-
}, K = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : kI(), ee = K[
|
|
13521
|
+
}, K = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : kI(), ee = K[$], j = K[L], G = Kl(0, M[I], q[I]), Z = C ? M[I] / 2 - B - G - ee - D.mainAxis : F - G - ee - D.mainAxis, te = C ? -M[I] / 2 + B + G + j + D.mainAxis : W + G + j + D.mainAxis, ae = e.elements.arrow && bu(e.elements.arrow), H = ae ? w === "y" ? ae.clientTop || 0 : ae.clientLeft || 0 : 0, ve = (N = P?.[w]) != null ? N : 0, le = _ + Z - ve - H, X = _ + te - ve, de = Kl(h ? op(z, le) : z, _, h ? ws(V, X) : V);
|
|
13522
13522
|
O[w] = de, k[w] = de - _;
|
|
13523
13523
|
}
|
|
13524
13524
|
if (l) {
|
|
13525
|
-
var ie, ge = w === "x" ? Jn : Xn, Ie = w === "x" ? Pr : Ar, De = O[T], Te = T === "y" ? "height" : "width", ye = De + v[ge], rt = De - v[Ie], Ge = [Jn, Xn].indexOf(x) !== -1, Tt = (ie = P?.[T]) != null ? ie : 0, Xe = Ge ? ye : De - M[Te] - A[Te] - Tt +
|
|
13525
|
+
var ie, ge = w === "x" ? Jn : Xn, Ie = w === "x" ? Pr : Ar, De = O[T], Te = T === "y" ? "height" : "width", ye = De + v[ge], rt = De - v[Ie], Ge = [Jn, Xn].indexOf(x) !== -1, Tt = (ie = P?.[T]) != null ? ie : 0, Xe = Ge ? ye : De - M[Te] - A[Te] - Tt + D.altAxis, ce = Ge ? De + M[Te] + A[Te] - Tt - D.altAxis : rt, J = h && Ge ? Qz(Xe, De, ce) : Kl(h ? Xe : ye, De, h ? ce : rt);
|
|
13526
13526
|
O[T] = J, k[T] = J - De;
|
|
13527
13527
|
}
|
|
13528
13528
|
e.modifiersData[r] = k;
|
|
@@ -13677,8 +13677,8 @@ function _3(t) {
|
|
|
13677
13677
|
p.rects = {
|
|
13678
13678
|
reference: N3(E, bu(C), p.options.strategy === "fixed"),
|
|
13679
13679
|
popper: R0(C)
|
|
13680
|
-
}, p.reset = !1, p.placement = p.options.placement, p.orderedModifiers.forEach(function(
|
|
13681
|
-
return p.modifiersData[
|
|
13680
|
+
}, p.reset = !1, p.placement = p.options.placement, p.orderedModifiers.forEach(function(D) {
|
|
13681
|
+
return p.modifiersData[D.name] = Object.assign({}, D.data);
|
|
13682
13682
|
});
|
|
13683
13683
|
for (var w = 0; w < p.orderedModifiers.length; w++) {
|
|
13684
13684
|
if (p.reset === !0) {
|
|
@@ -13829,11 +13829,11 @@ const H3 = /* @__PURE__ */ s((t) => {
|
|
|
13829
13829
|
On(() => {
|
|
13830
13830
|
T.current = w;
|
|
13831
13831
|
}, [w]), S.useImperativeHandle(f, () => C.current, []);
|
|
13832
|
-
const O = j3(d, i), [M, A] = S.useState(O), [R,
|
|
13832
|
+
const O = j3(d, i), [M, A] = S.useState(O), [R, D] = S.useState(ip(r));
|
|
13833
13833
|
S.useEffect(() => {
|
|
13834
13834
|
C.current && C.current.forceUpdate();
|
|
13835
13835
|
}), S.useEffect(() => {
|
|
13836
|
-
r &&
|
|
13836
|
+
r && D(ip(r));
|
|
13837
13837
|
}, [r]), On(() => {
|
|
13838
13838
|
if (!R || !u)
|
|
13839
13839
|
return;
|
|
@@ -13879,7 +13879,7 @@ const H3 = /* @__PURE__ */ s((t) => {
|
|
|
13879
13879
|
placement: M
|
|
13880
13880
|
};
|
|
13881
13881
|
y !== null && (P.TransitionProps = y);
|
|
13882
|
-
const k = H3(e), N = h.root ?? "div",
|
|
13882
|
+
const k = H3(e), N = h.root ?? "div", $ = Wa({
|
|
13883
13883
|
elementType: N,
|
|
13884
13884
|
externalSlotProps: m.root,
|
|
13885
13885
|
externalForwardedProps: v,
|
|
@@ -13891,7 +13891,7 @@ const H3 = /* @__PURE__ */ s((t) => {
|
|
|
13891
13891
|
className: k.root
|
|
13892
13892
|
});
|
|
13893
13893
|
return /* @__PURE__ */ b(N, {
|
|
13894
|
-
|
|
13894
|
+
...$,
|
|
13895
13895
|
children: typeof o == "function" ? o(P) : o
|
|
13896
13896
|
});
|
|
13897
13897
|
}, "PopperTooltip")), AI = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
@@ -13923,8 +13923,8 @@ const H3 = /* @__PURE__ */ s((t) => {
|
|
|
13923
13923
|
if (i)
|
|
13924
13924
|
M = i;
|
|
13925
13925
|
else if (r) {
|
|
13926
|
-
const
|
|
13927
|
-
M =
|
|
13926
|
+
const D = ip(r);
|
|
13927
|
+
M = D && hh(D) ? un(D).body : un(null).body;
|
|
13928
13928
|
}
|
|
13929
13929
|
const A = !p && u && (!g || C) ? "none" : void 0, R = g ? {
|
|
13930
13930
|
in: p,
|
|
@@ -14562,7 +14562,7 @@ const br = _e("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa
|
|
|
14562
14562
|
rippleSize: A,
|
|
14563
14563
|
cb: R
|
|
14564
14564
|
} = w;
|
|
14565
|
-
d((
|
|
14565
|
+
d((D) => [...D, /* @__PURE__ */ b(iV, {
|
|
14566
14566
|
classes: {
|
|
14567
14567
|
ripple: se(i.ripple, br.ripple),
|
|
14568
14568
|
rippleVisible: se(i.rippleVisible, br.rippleVisible),
|
|
@@ -14590,13 +14590,13 @@ const br = _e("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa
|
|
|
14590
14590
|
return;
|
|
14591
14591
|
}
|
|
14592
14592
|
w?.type === "touchstart" && (m.current = !0);
|
|
14593
|
-
const
|
|
14593
|
+
const D = R ? null : g.current, P = D ? D.getBoundingClientRect() : {
|
|
14594
14594
|
width: 0,
|
|
14595
14595
|
height: 0,
|
|
14596
14596
|
left: 0,
|
|
14597
14597
|
top: 0
|
|
14598
14598
|
};
|
|
14599
|
-
let k, N,
|
|
14599
|
+
let k, N, $;
|
|
14600
14600
|
if (A || w === void 0 || w.clientX === 0 && w.clientY === 0 || !w.clientX && !w.touches)
|
|
14601
14601
|
k = Math.round(P.width / 2), N = Math.round(P.height / 2);
|
|
14602
14602
|
else {
|
|
@@ -14607,17 +14607,17 @@ const br = _e("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa
|
|
|
14607
14607
|
k = Math.round(L - P.left), N = Math.round(I - P.top);
|
|
14608
14608
|
}
|
|
14609
14609
|
if (A)
|
|
14610
|
-
|
|
14610
|
+
$ = Math.sqrt((2 * P.width ** 2 + P.height ** 2) / 3), $ % 2 === 0 && ($ += 1);
|
|
14611
14611
|
else {
|
|
14612
|
-
const L = Math.max(Math.abs((
|
|
14613
|
-
|
|
14612
|
+
const L = Math.max(Math.abs((D ? D.clientWidth : 0) - k), k) * 2 + 2, I = Math.max(Math.abs((D ? D.clientHeight : 0) - N), N) * 2 + 2;
|
|
14613
|
+
$ = Math.sqrt(L ** 2 + I ** 2);
|
|
14614
14614
|
}
|
|
14615
14615
|
w?.touches ? y.current === null && (y.current = () => {
|
|
14616
14616
|
v({
|
|
14617
14617
|
pulsate: M,
|
|
14618
14618
|
rippleX: k,
|
|
14619
14619
|
rippleY: N,
|
|
14620
|
-
rippleSize:
|
|
14620
|
+
rippleSize: $,
|
|
14621
14621
|
cb: O
|
|
14622
14622
|
});
|
|
14623
14623
|
}, h.start(eV, () => {
|
|
@@ -14626,7 +14626,7 @@ const br = _e("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsa
|
|
|
14626
14626
|
pulsate: M,
|
|
14627
14627
|
rippleX: k,
|
|
14628
14628
|
rippleY: N,
|
|
14629
|
-
rippleSize:
|
|
14629
|
+
rippleSize: $,
|
|
14630
14630
|
cb: O
|
|
14631
14631
|
});
|
|
14632
14632
|
}, [o, v, h]), E = S.useCallback(() => {
|
|
@@ -14755,11 +14755,11 @@ const aV = _e("MuiButtonBase", ["root", "disabled", "focusVisible"]), lV = /* @_
|
|
|
14755
14755
|
onMouseDown: M,
|
|
14756
14756
|
onMouseLeave: A,
|
|
14757
14757
|
onMouseUp: R,
|
|
14758
|
-
onTouchEnd:
|
|
14758
|
+
onTouchEnd: D,
|
|
14759
14759
|
onTouchMove: P,
|
|
14760
14760
|
onTouchStart: k,
|
|
14761
14761
|
tabIndex: N = 0,
|
|
14762
|
-
TouchRippleProps:
|
|
14762
|
+
TouchRippleProps: $,
|
|
14763
14763
|
touchRippleRef: L,
|
|
14764
14764
|
type: I,
|
|
14765
14765
|
..._
|
|
@@ -14775,7 +14775,7 @@ const aV = _e("MuiButtonBase", ["root", "disabled", "focusVisible"]), lV = /* @_
|
|
|
14775
14775
|
}, [p, m, F, V]);
|
|
14776
14776
|
const q = Ro(V, "start", M, f), K = Ro(V, "stop", x, f), ee = Ro(V, "stop", E, f), j = Ro(V, "stop", R, f), G = Ro(V, "stop", (ye) => {
|
|
14777
14777
|
F && ye.preventDefault(), A && A(ye);
|
|
14778
|
-
}, f), Z = Ro(V, "start", k, f), te = Ro(V, "stop",
|
|
14778
|
+
}, f), Z = Ro(V, "start", k, f), te = Ro(V, "stop", D, f), ae = Ro(V, "stop", P, f), H = Ro(V, "stop", (ye) => {
|
|
14779
14779
|
Ha(ye.target) || W(!1), g && g(ye);
|
|
14780
14780
|
}, !1), ve = _n((ye) => {
|
|
14781
14781
|
z.current || (z.current = ye.currentTarget), Ha(ye.target) && (W(!0), w && w(ye)), C && C(ye);
|
|
@@ -14835,7 +14835,7 @@ const aV = _e("MuiButtonBase", ["root", "disabled", "focusVisible"]), lV = /* @_
|
|
|
14835
14835
|
children: [a, Q ? /* @__PURE__ */ b($I, {
|
|
14836
14836
|
ref: B,
|
|
14837
14837
|
center: i,
|
|
14838
|
-
|
|
14838
|
+
...$
|
|
14839
14839
|
}) : null]
|
|
14840
14840
|
});
|
|
14841
14841
|
}, "ButtonBase"));
|
|
@@ -15339,15 +15339,15 @@ const LI = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
15339
15339
|
};
|
|
15340
15340
|
w.style.width = O.width, w.value = C.value || e.placeholder || "x", w.value.slice(-1) === `
|
|
15341
15341
|
` && (w.value += " ");
|
|
15342
|
-
const M = O.boxSizing, A = qu(O.paddingBottom) + qu(O.paddingTop), R = qu(O.borderBottomWidth) + qu(O.borderTopWidth),
|
|
15342
|
+
const M = O.boxSizing, A = qu(O.paddingBottom) + qu(O.paddingTop), R = qu(O.borderBottomWidth) + qu(O.borderTopWidth), D = w.scrollHeight;
|
|
15343
15343
|
w.value = "x";
|
|
15344
15344
|
const P = w.scrollHeight;
|
|
15345
|
-
let k =
|
|
15345
|
+
let k = D;
|
|
15346
15346
|
i && (k = Math.max(Number(i) * P, k)), o && (k = Math.min(Number(o) * P, k)), k = Math.max(k, P);
|
|
15347
|
-
const N = k + (M === "border-box" ? A + R : 0),
|
|
15347
|
+
const N = k + (M === "border-box" ? A + R : 0), $ = Math.abs(k - D) <= 1;
|
|
15348
15348
|
return {
|
|
15349
15349
|
outerHeightStyle: N,
|
|
15350
|
-
overflowing:
|
|
15350
|
+
overflowing: $
|
|
15351
15351
|
};
|
|
15352
15352
|
}, [o, i, e.placeholder]), g = _n(() => {
|
|
15353
15353
|
const C = p.current, w = y();
|
|
@@ -15703,11 +15703,11 @@ const gh = /* @__PURE__ */ s((t, e) => {
|
|
|
15703
15703
|
minRows: M,
|
|
15704
15704
|
multiline: A = !1,
|
|
15705
15705
|
name: R,
|
|
15706
|
-
onBlur:
|
|
15706
|
+
onBlur: D,
|
|
15707
15707
|
onChange: P,
|
|
15708
15708
|
onClick: k,
|
|
15709
15709
|
onFocus: N,
|
|
15710
|
-
onKeyDown:
|
|
15710
|
+
onKeyDown: $,
|
|
15711
15711
|
onKeyUp: L,
|
|
15712
15712
|
placeholder: I,
|
|
15713
15713
|
readOnly: _,
|
|
@@ -15736,8 +15736,8 @@ const gh = /* @__PURE__ */ s((t, e) => {
|
|
|
15736
15736
|
states: ["color", "disabled", "error", "hiddenLabel", "size", "required", "filled"]
|
|
15737
15737
|
});
|
|
15738
15738
|
X.focused = le ? le.focused : H, S.useEffect(() => {
|
|
15739
|
-
!le && m && H && (ve(!1),
|
|
15740
|
-
}, [le, m, H,
|
|
15739
|
+
!le && m && H && (ve(!1), D && D());
|
|
15740
|
+
}, [le, m, H, D]);
|
|
15741
15741
|
const de = le && le.onFilled, ie = le && le.onEmpty, ge = S.useCallback((Ne) => {
|
|
15742
15742
|
ap(Ne) ? de && de() : ie && ie();
|
|
15743
15743
|
}, [de, ie]);
|
|
@@ -15749,7 +15749,7 @@ const gh = /* @__PURE__ */ s((t, e) => {
|
|
|
15749
15749
|
const Ie = /* @__PURE__ */ s((Ne) => {
|
|
15750
15750
|
N && N(Ne), C.onFocus && C.onFocus(Ne), le && le.onFocus ? le.onFocus(Ne) : ve(!0);
|
|
15751
15751
|
}, "handleFocus"), De = /* @__PURE__ */ s((Ne) => {
|
|
15752
|
-
|
|
15752
|
+
D && D(Ne), C.onBlur && C.onBlur(Ne), le && le.onBlur ? le.onBlur(Ne) : ve(!1);
|
|
15753
15753
|
}, "handleBlur"), Te = /* @__PURE__ */ s((Ne, ...At) => {
|
|
15754
15754
|
if (!G) {
|
|
15755
15755
|
const ot = Ne.target || Z.current;
|
|
@@ -15837,7 +15837,7 @@ const gh = /* @__PURE__ */ s((t, e) => {
|
|
|
15837
15837
|
required: X.required,
|
|
15838
15838
|
rows: V,
|
|
15839
15839
|
value: j,
|
|
15840
|
-
onKeyDown:
|
|
15840
|
+
onKeyDown: $,
|
|
15841
15841
|
onKeyUp: L,
|
|
15842
15842
|
type: q,
|
|
15843
15843
|
...Ge,
|
|
@@ -16323,22 +16323,22 @@ const ob = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
16323
16323
|
overlap: f,
|
|
16324
16324
|
variant: C,
|
|
16325
16325
|
badgeContent: g
|
|
16326
|
-
}),
|
|
16326
|
+
}), D = O || T == null && C !== "dot", {
|
|
16327
16327
|
color: P = m,
|
|
16328
16328
|
overlap: k = f,
|
|
16329
16329
|
anchorOrigin: N,
|
|
16330
|
-
variant:
|
|
16331
|
-
} =
|
|
16330
|
+
variant: $ = C
|
|
16331
|
+
} = D ? R : r, L = zC(N), I = $ !== "dot" ? A : void 0, _ = {
|
|
16332
16332
|
...r,
|
|
16333
16333
|
badgeContent: T,
|
|
16334
|
-
invisible:
|
|
16334
|
+
invisible: D,
|
|
16335
16335
|
max: M,
|
|
16336
16336
|
displayValue: I,
|
|
16337
16337
|
showZero: E,
|
|
16338
16338
|
anchorOrigin: L,
|
|
16339
16339
|
color: P,
|
|
16340
16340
|
overlap: k,
|
|
16341
|
-
variant:
|
|
16341
|
+
variant: $
|
|
16342
16342
|
}, z = OV(_), V = {
|
|
16343
16343
|
slots: {
|
|
16344
16344
|
root: v?.root ?? u.Root,
|
|
@@ -16580,14 +16580,14 @@ const RV = /* @__PURE__ */ s((t) => {
|
|
|
16580
16580
|
slots: M = {},
|
|
16581
16581
|
slotProps: A = {},
|
|
16582
16582
|
...R
|
|
16583
|
-
} = e, [
|
|
16583
|
+
} = e, [D, P] = Yd({
|
|
16584
16584
|
controlled: o,
|
|
16585
16585
|
default: !!a,
|
|
16586
16586
|
name: "SwitchBase",
|
|
16587
16587
|
state: "checked"
|
|
16588
16588
|
}), k = Ks(), N = /* @__PURE__ */ s((K) => {
|
|
16589
16589
|
x && x(K), k && k.onFocus && k.onFocus(K);
|
|
16590
|
-
}, "handleFocus"),
|
|
16590
|
+
}, "handleFocus"), $ = /* @__PURE__ */ s((K) => {
|
|
16591
16591
|
g && g(K), k && k.onBlur && k.onBlur(K);
|
|
16592
16592
|
}, "handleBlur"), L = /* @__PURE__ */ s((K) => {
|
|
16593
16593
|
if (K.nativeEvent.defaultPrevented || E)
|
|
@@ -16599,7 +16599,7 @@ const RV = /* @__PURE__ */ s((t) => {
|
|
|
16599
16599
|
k && typeof I > "u" && (I = k.disabled);
|
|
16600
16600
|
const _ = T === "checkbox" || T === "radio", z = {
|
|
16601
16601
|
...e,
|
|
16602
|
-
checked:
|
|
16602
|
+
checked: D,
|
|
16603
16603
|
disabled: I,
|
|
16604
16604
|
disableFocusRipple: u,
|
|
16605
16605
|
edge: d
|
|
@@ -16625,7 +16625,7 @@ const RV = /* @__PURE__ */ s((t) => {
|
|
|
16625
16625
|
K.onFocus?.(ee), N(ee);
|
|
16626
16626
|
}, "onFocus"),
|
|
16627
16627
|
onBlur: /* @__PURE__ */ s((ee) => {
|
|
16628
|
-
K.onBlur?.(ee),
|
|
16628
|
+
K.onBlur?.(ee), $(ee);
|
|
16629
16629
|
}, "onBlur")
|
|
16630
16630
|
}), "getSlotProps"),
|
|
16631
16631
|
ownerState: z,
|
|
@@ -16667,7 +16667,7 @@ const RV = /* @__PURE__ */ s((t) => {
|
|
|
16667
16667
|
...W,
|
|
16668
16668
|
children: [/* @__PURE__ */ b(Q, {
|
|
16669
16669
|
...q
|
|
16670
|
-
}),
|
|
16670
|
+
}), D ? i : p]
|
|
16671
16671
|
});
|
|
16672
16672
|
}, "SwitchBase"));
|
|
16673
16673
|
process.env.NODE_ENV !== "production" && (FI.propTypes = {
|
|
@@ -17516,7 +17516,7 @@ const fa = _e("MuiListItemText", ["root", "multiline", "dense", "inset", "primar
|
|
|
17516
17516
|
elementType: dn,
|
|
17517
17517
|
externalForwardedProps: w,
|
|
17518
17518
|
ownerState: E
|
|
17519
|
-
}), [R,
|
|
17519
|
+
}), [R, D] = je("secondary", {
|
|
17520
17520
|
className: C.secondary,
|
|
17521
17521
|
elementType: dn,
|
|
17522
17522
|
externalForwardedProps: w,
|
|
@@ -17530,7 +17530,7 @@ const fa = _e("MuiListItemText", ["root", "multiline", "dense", "inset", "primar
|
|
|
17530
17530
|
})), x != null && x.type !== dn && !a && (x = /* @__PURE__ */ b(R, {
|
|
17531
17531
|
variant: "body2",
|
|
17532
17532
|
color: "textSecondary",
|
|
17533
|
-
|
|
17533
|
+
...D,
|
|
17534
17534
|
children: x
|
|
17535
17535
|
})), /* @__PURE__ */ Y(T, {
|
|
17536
17536
|
...O,
|
|
@@ -17952,8 +17952,8 @@ const BI = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
17952
17952
|
else if (T === "End")
|
|
17953
17953
|
C.preventDefault(), El(w, null, d, u, UC);
|
|
17954
17954
|
else if (T.length === 1) {
|
|
17955
|
-
const A = y.current, R = T.toLowerCase(),
|
|
17956
|
-
A.keys.length > 0 && (
|
|
17955
|
+
const A = y.current, R = T.toLowerCase(), D = performance.now();
|
|
17956
|
+
A.keys.length > 0 && (D - A.lastTime > 500 ? (A.keys = [], A.repeating = !0, A.previousKeyMatched = !0) : A.repeating && R !== A.keys[0] && (A.repeating = !1)), A.lastTime = D, A.keys.push(R);
|
|
17957
17957
|
const P = M && !A.repeating && _I(M, A);
|
|
17958
17958
|
A.previousKeyMatched && (P || El(w, M, !1, u, Mm, A)) ? C.preventDefault() : A.previousKeyMatched = !1;
|
|
17959
17959
|
}
|
|
@@ -20154,7 +20154,7 @@ const Mj = /* @__PURE__ */ s((t) => {
|
|
|
20154
20154
|
}), I;
|
|
20155
20155
|
}), [A, R] = S.useState(!1);
|
|
20156
20156
|
u && A && R(!1);
|
|
20157
|
-
const
|
|
20157
|
+
const D = p !== void 0 && !u ? p : A;
|
|
20158
20158
|
let P;
|
|
20159
20159
|
const k = S.useRef(!1);
|
|
20160
20160
|
process.env.NODE_ENV !== "production" && (P = /* @__PURE__ */ s(() => (k.current && console.error(["MUI: There are multiple `InputBase` components inside a FormControl.", "This creates visual inconsistencies, only use one `InputBase`."].join(`
|
|
@@ -20163,7 +20163,7 @@ const Mj = /* @__PURE__ */ s((t) => {
|
|
|
20163
20163
|
}), "registerEffect"));
|
|
20164
20164
|
const N = S.useCallback(() => {
|
|
20165
20165
|
M(!0);
|
|
20166
|
-
}, []),
|
|
20166
|
+
}, []), $ = S.useCallback(() => {
|
|
20167
20167
|
M(!1);
|
|
20168
20168
|
}, []), L = S.useMemo(() => ({
|
|
20169
20169
|
adornedStart: w,
|
|
@@ -20172,7 +20172,7 @@ const Mj = /* @__PURE__ */ s((t) => {
|
|
|
20172
20172
|
disabled: u,
|
|
20173
20173
|
error: d,
|
|
20174
20174
|
filled: O,
|
|
20175
|
-
focused:
|
|
20175
|
+
focused: D,
|
|
20176
20176
|
fullWidth: f,
|
|
20177
20177
|
hiddenLabel: m,
|
|
20178
20178
|
size: g,
|
|
@@ -20182,12 +20182,12 @@ const Mj = /* @__PURE__ */ s((t) => {
|
|
|
20182
20182
|
onFocus: /* @__PURE__ */ s(() => {
|
|
20183
20183
|
R(!0);
|
|
20184
20184
|
}, "onFocus"),
|
|
20185
|
-
onEmpty:
|
|
20185
|
+
onEmpty: $,
|
|
20186
20186
|
onFilled: N,
|
|
20187
20187
|
registerEffect: P,
|
|
20188
20188
|
required: y,
|
|
20189
20189
|
variant: v
|
|
20190
|
-
}), [w, a, u, d, O,
|
|
20190
|
+
}), [w, a, u, d, O, D, f, m, P, $, N, y, g, v]);
|
|
20191
20191
|
return /* @__PURE__ */ b(mh.Provider, {
|
|
20192
20192
|
value: L,
|
|
20193
20193
|
children: /* @__PURE__ */ b(Ij, {
|
|
@@ -20507,7 +20507,7 @@ const Nj = {
|
|
|
20507
20507
|
delay: z,
|
|
20508
20508
|
easing: V
|
|
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: _,
|
|
@@ -20534,7 +20534,7 @@ const Nj = {
|
|
|
20534
20534
|
in: l,
|
|
20535
20535
|
nodeRef: T,
|
|
20536
20536
|
onEnter: R,
|
|
20537
|
-
onEntered:
|
|
20537
|
+
onEntered: D,
|
|
20538
20538
|
onEntering: A,
|
|
20539
20539
|
onExit: k,
|
|
20540
20540
|
onExited: N,
|
|
@@ -20729,7 +20729,7 @@ const $j = /* @__PURE__ */ s((t) => {
|
|
|
20729
20729
|
TransitionComponent: C,
|
|
20730
20730
|
transitionDuration: w,
|
|
20731
20731
|
TransitionProps: T
|
|
20732
|
-
},
|
|
20732
|
+
}, D = $j(R), P = S.useCallback(() => {
|
|
20733
20733
|
if (u === "anchorPosition")
|
|
20734
20734
|
return process.env.NODE_ENV !== "production" && (l || console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')), l;
|
|
20735
20735
|
const te = Bl(i), ae = te && te.nodeType === 1 ? te : un(A.current).body, H = ae.getBoundingClientRect();
|
|
@@ -20779,7 +20779,7 @@ const $j = /* @__PURE__ */ s((t) => {
|
|
|
20779
20779
|
left: `${Math.round(X)}px`,
|
|
20780
20780
|
transformOrigin: QC(H)
|
|
20781
20781
|
};
|
|
20782
|
-
}, [i, u, P, k, h]), [
|
|
20782
|
+
}, [i, u, P, k, h]), [$, L] = S.useState(y), I = S.useCallback(() => {
|
|
20783
20783
|
const te = A.current;
|
|
20784
20784
|
if (!te)
|
|
20785
20785
|
return;
|
|
@@ -20863,16 +20863,16 @@ const $j = /* @__PURE__ */ s((t) => {
|
|
|
20863
20863
|
open: y
|
|
20864
20864
|
},
|
|
20865
20865
|
ownerState: R,
|
|
20866
|
-
className: se(
|
|
20866
|
+
className: se(D.root, p)
|
|
20867
20867
|
}), [G, Z] = je("paper", {
|
|
20868
20868
|
ref: A,
|
|
20869
|
-
className:
|
|
20869
|
+
className: D.paper,
|
|
20870
20870
|
elementType: qI,
|
|
20871
20871
|
externalForwardedProps: B,
|
|
20872
20872
|
shouldForwardComponentProp: !0,
|
|
20873
20873
|
additionalProps: {
|
|
20874
20874
|
elevation: m,
|
|
20875
|
-
style:
|
|
20875
|
+
style: $ ? void 0 : {
|
|
20876
20876
|
opacity: 0
|
|
20877
20877
|
}
|
|
20878
20878
|
},
|
|
@@ -21171,7 +21171,7 @@ const _j = {
|
|
|
21171
21171
|
A.current && A.current.adjustStyleForScrollbar(V, {
|
|
21172
21172
|
direction: w ? "rtl" : "ltr"
|
|
21173
21173
|
}), y && y(V, B);
|
|
21174
|
-
}, "handleEntering"),
|
|
21174
|
+
}, "handleEntering"), D = /* @__PURE__ */ s((V) => {
|
|
21175
21175
|
V.key === "Tab" && (V.preventDefault(), d && d(V, "tabKeyDown"));
|
|
21176
21176
|
}, "handleListKeyDown");
|
|
21177
21177
|
let P = -1;
|
|
@@ -21192,7 +21192,7 @@ const _j = {
|
|
|
21192
21192
|
externalSlotProps: E.root,
|
|
21193
21193
|
ownerState: T,
|
|
21194
21194
|
className: [O.root, a]
|
|
21195
|
-
}), [
|
|
21195
|
+
}), [$, L] = je("paper", {
|
|
21196
21196
|
className: O.paper,
|
|
21197
21197
|
elementType: jj,
|
|
21198
21198
|
externalForwardedProps: k,
|
|
@@ -21206,7 +21206,7 @@ const _j = {
|
|
|
21206
21206
|
getSlotProps: /* @__PURE__ */ s((V) => ({
|
|
21207
21207
|
...V,
|
|
21208
21208
|
onKeyDown: /* @__PURE__ */ s((B) => {
|
|
21209
|
-
|
|
21209
|
+
D(B), V.onKeyDown?.(B);
|
|
21210
21210
|
}, "onKeyDown")
|
|
21211
21211
|
}), "getSlotProps"),
|
|
21212
21212
|
ownerState: T
|
|
@@ -21220,7 +21220,7 @@ const _j = {
|
|
|
21220
21220
|
transformOrigin: w ? _j : Bj,
|
|
21221
21221
|
slots: {
|
|
21222
21222
|
root: x.root,
|
|
21223
|
-
paper:
|
|
21223
|
+
paper: $,
|
|
21224
21224
|
backdrop: x.backdrop,
|
|
21225
21225
|
...x.transition && {
|
|
21226
21226
|
// TODO: pass `slots.transition` directly once `TransitionComponent` is removed from Popover
|
|
@@ -21701,11 +21701,11 @@ const Qj = /* @__PURE__ */ s((t) => {
|
|
|
21701
21701
|
onKeyDown: A,
|
|
21702
21702
|
// eslint-disable-next-line react/prop-types
|
|
21703
21703
|
onMouseDown: R,
|
|
21704
|
-
onOpen:
|
|
21704
|
+
onOpen: D,
|
|
21705
21705
|
open: P,
|
|
21706
21706
|
readOnly: k,
|
|
21707
21707
|
renderValue: N,
|
|
21708
|
-
required:
|
|
21708
|
+
required: $,
|
|
21709
21709
|
SelectDisplayProps: L = {},
|
|
21710
21710
|
tabIndex: I,
|
|
21711
21711
|
// catching `type` from Input which makes no sense for SelectInput
|
|
@@ -21761,7 +21761,7 @@ const Qj = /* @__PURE__ */ s((t) => {
|
|
|
21761
21761
|
}
|
|
21762
21762
|
}, [v]);
|
|
21763
21763
|
const de = /* @__PURE__ */ s((we, He) => {
|
|
21764
|
-
we ?
|
|
21764
|
+
we ? D && D(He) : O && O(He), Z || (ae(a ? null : le.clientWidth), q(we));
|
|
21765
21765
|
}, "update"), ie = /* @__PURE__ */ s((we) => {
|
|
21766
21766
|
R?.(we), we.button === 0 && (we.preventDefault(), ee.current.focus(), de(!0, we));
|
|
21767
21767
|
}, "handleMouseDown"), ge = /* @__PURE__ */ s((we) => {
|
|
@@ -21878,7 +21878,7 @@ const Qj = /* @__PURE__ */ s((t) => {
|
|
|
21878
21878
|
"aria-label": o,
|
|
21879
21879
|
"aria-labelledby": [v, At].filter(Boolean).join(" ") || void 0,
|
|
21880
21880
|
"aria-describedby": r,
|
|
21881
|
-
"aria-required":
|
|
21881
|
+
"aria-required": $ ? "true" : void 0,
|
|
21882
21882
|
"aria-invalid": h ? "true" : void 0,
|
|
21883
21883
|
onKeyDown: ye,
|
|
21884
21884
|
onMouseDown: f || k ? null : ie,
|
|
@@ -21907,7 +21907,7 @@ const Qj = /* @__PURE__ */ s((t) => {
|
|
|
21907
21907
|
disabled: f,
|
|
21908
21908
|
className: Et.nativeInput,
|
|
21909
21909
|
autoFocus: i,
|
|
21910
|
-
required:
|
|
21910
|
+
required: $,
|
|
21911
21911
|
...B,
|
|
21912
21912
|
ownerState: ot
|
|
21913
21913
|
}), /* @__PURE__ */ b(Yj, {
|
|
@@ -22139,34 +22139,34 @@ const Zj = /* @__PURE__ */ s((t) => {
|
|
|
22139
22139
|
SelectDisplayProps: M,
|
|
22140
22140
|
variant: A = "outlined",
|
|
22141
22141
|
...R
|
|
22142
|
-
} = r,
|
|
22142
|
+
} = r, D = E ? YI : XI, P = Ks(), k = cl({
|
|
22143
22143
|
props: r,
|
|
22144
22144
|
muiFormControl: P,
|
|
22145
22145
|
states: ["variant", "error"]
|
|
22146
|
-
}), N = k.variant || A,
|
|
22146
|
+
}), N = k.variant || A, $ = {
|
|
22147
22147
|
...r,
|
|
22148
22148
|
variant: N,
|
|
22149
22149
|
classes: a
|
|
22150
|
-
}, L = Zj(
|
|
22150
|
+
}, L = Zj($), {
|
|
22151
22151
|
root: I,
|
|
22152
22152
|
..._
|
|
22153
22153
|
} = L, z = m || {
|
|
22154
22154
|
standard: /* @__PURE__ */ b(e6, {
|
|
22155
|
-
ownerState:
|
|
22155
|
+
ownerState: $
|
|
22156
22156
|
}),
|
|
22157
22157
|
outlined: /* @__PURE__ */ b(t6, {
|
|
22158
22158
|
label: y,
|
|
22159
|
-
ownerState:
|
|
22159
|
+
ownerState: $
|
|
22160
22160
|
}),
|
|
22161
22161
|
filled: /* @__PURE__ */ b(n6, {
|
|
22162
|
-
ownerState:
|
|
22162
|
+
ownerState: $
|
|
22163
22163
|
})
|
|
22164
22164
|
}[N], V = jt(n, Gs(z));
|
|
22165
22165
|
return /* @__PURE__ */ b(S.Fragment, {
|
|
22166
22166
|
children: /* @__PURE__ */ S.cloneElement(z, {
|
|
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
|
-
inputComponent:
|
|
22169
|
+
inputComponent: D,
|
|
22170
22170
|
inputProps: {
|
|
22171
22171
|
children: i,
|
|
22172
22172
|
error: k.error,
|
|
@@ -22403,11 +22403,11 @@ const o6 = {
|
|
|
22403
22403
|
multiline: M = !1,
|
|
22404
22404
|
name: A,
|
|
22405
22405
|
onBlur: R,
|
|
22406
|
-
onChange:
|
|
22406
|
+
onChange: D,
|
|
22407
22407
|
onFocus: P,
|
|
22408
22408
|
placeholder: k,
|
|
22409
22409
|
required: N = !1,
|
|
22410
|
-
rows:
|
|
22410
|
+
rows: $,
|
|
22411
22411
|
select: L = !1,
|
|
22412
22412
|
SelectProps: I,
|
|
22413
22413
|
slots: _ = {},
|
|
@@ -22488,7 +22488,7 @@ const o6 = {
|
|
|
22488
22488
|
fullWidth: h,
|
|
22489
22489
|
multiline: M,
|
|
22490
22490
|
name: A,
|
|
22491
|
-
rows:
|
|
22491
|
+
rows: $,
|
|
22492
22492
|
maxRows: T,
|
|
22493
22493
|
minRows: O,
|
|
22494
22494
|
type: V,
|
|
@@ -22496,7 +22496,7 @@ const o6 = {
|
|
|
22496
22496
|
id: K,
|
|
22497
22497
|
inputRef: C,
|
|
22498
22498
|
onBlur: R,
|
|
22499
|
-
onChange:
|
|
22499
|
+
onChange: D,
|
|
22500
22500
|
onFocus: P,
|
|
22501
22501
|
placeholder: k,
|
|
22502
22502
|
inputProps: Ie,
|
|
@@ -23201,8 +23201,8 @@ const l6 = /* @__PURE__ */ s((t) => {
|
|
|
23201
23201
|
type: M,
|
|
23202
23202
|
variant: A = "text",
|
|
23203
23203
|
...R
|
|
23204
|
-
} = a,
|
|
23205
|
-
"aria-labelledby":
|
|
23204
|
+
} = a, D = qs(x), P = C ?? /* @__PURE__ */ b(al, {
|
|
23205
|
+
"aria-labelledby": D,
|
|
23206
23206
|
color: "inherit",
|
|
23207
23207
|
size: 16
|
|
23208
23208
|
}), k = {
|
|
@@ -23219,7 +23219,7 @@ const l6 = /* @__PURE__ */ s((t) => {
|
|
|
23219
23219
|
size: T,
|
|
23220
23220
|
type: M,
|
|
23221
23221
|
variant: A
|
|
23222
|
-
}, N = l6(k),
|
|
23222
|
+
}, N = l6(k), $ = (O || E && w === "start") && /* @__PURE__ */ b(u6, {
|
|
23223
23223
|
className: N.startIcon,
|
|
23224
23224
|
ownerState: k,
|
|
23225
23225
|
children: O || /* @__PURE__ */ b(tw, {
|
|
@@ -23256,10 +23256,10 @@ const l6 = /* @__PURE__ */ s((t) => {
|
|
|
23256
23256
|
focusVisibleClassName: se(N.focusVisible, g),
|
|
23257
23257
|
ref: n,
|
|
23258
23258
|
type: M,
|
|
23259
|
-
id: E ?
|
|
23259
|
+
id: E ? D : x,
|
|
23260
23260
|
...R,
|
|
23261
23261
|
classes: N,
|
|
23262
|
-
children: [
|
|
23262
|
+
children: [$, w !== "end" && _, l, w === "end" && _, L]
|
|
23263
23263
|
});
|
|
23264
23264
|
}, "Button"));
|
|
23265
23265
|
process.env.NODE_ENV !== "production" && (xr.propTypes = {
|
|
@@ -23685,11 +23685,11 @@ const vu = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
23685
23685
|
open: M,
|
|
23686
23686
|
placement: A = "bottom",
|
|
23687
23687
|
PopperComponent: R,
|
|
23688
|
-
PopperProps:
|
|
23688
|
+
PopperProps: D = {},
|
|
23689
23689
|
slotProps: P = {},
|
|
23690
23690
|
slots: k = {},
|
|
23691
23691
|
title: N,
|
|
23692
|
-
TransitionComponent:
|
|
23692
|
+
TransitionComponent: $,
|
|
23693
23693
|
TransitionProps: L,
|
|
23694
23694
|
...I
|
|
23695
23695
|
} = r, _ = /* @__PURE__ */ S.isValidElement(i) ? i : /* @__PURE__ */ b("span", {
|
|
@@ -23816,15 +23816,15 @@ const vu = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
23816
23816
|
padding: 4
|
|
23817
23817
|
}
|
|
23818
23818
|
}];
|
|
23819
|
-
return
|
|
23820
|
-
|
|
23819
|
+
return D.popperOptions?.modifiers && (Ve = Ve.concat(D.popperOptions.modifiers)), Et?.popperOptions?.modifiers && (Ve = Ve.concat(Et.popperOptions.modifiers)), {
|
|
23820
|
+
...D.popperOptions,
|
|
23821
23821
|
...Et?.popperOptions,
|
|
23822
23822
|
modifiers: Ve
|
|
23823
23823
|
};
|
|
23824
|
-
}, [W,
|
|
23824
|
+
}, [W, D.popperOptions, Et?.popperOptions]), Zt = m6(ot), Zr = typeof P.transition == "function" ? P.transition(ot) : P.transition, we = {
|
|
23825
23825
|
slots: {
|
|
23826
23826
|
popper: l.Popper,
|
|
23827
|
-
transition: l.Transition ??
|
|
23827
|
+
transition: l.Transition ?? $,
|
|
23828
23828
|
tooltip: l.Tooltip,
|
|
23829
23829
|
arrow: l.Arrow,
|
|
23830
23830
|
...k
|
|
@@ -23832,7 +23832,7 @@ const vu = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
23832
23832
|
slotProps: {
|
|
23833
23833
|
arrow: P.arrow ?? u.arrow,
|
|
23834
23834
|
popper: {
|
|
23835
|
-
|
|
23835
|
+
...D,
|
|
23836
23836
|
...Et ?? u.popper
|
|
23837
23837
|
},
|
|
23838
23838
|
// resolvedPopperProps can be spread because it's already an object
|
|
@@ -23846,7 +23846,7 @@ const vu = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
23846
23846
|
elementType: g6,
|
|
23847
23847
|
externalForwardedProps: we,
|
|
23848
23848
|
ownerState: ot,
|
|
23849
|
-
className: se(Zt.popper,
|
|
23849
|
+
className: se(Zt.popper, D?.className)
|
|
23850
23850
|
}), [_t, yn] = je("transition", {
|
|
23851
23851
|
elementType: Ac,
|
|
23852
23852
|
externalForwardedProps: we,
|
|
@@ -24657,24 +24657,24 @@ const oR = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
24657
24657
|
// TODO: remove in v7 (deprecated in v6)
|
|
24658
24658
|
textColor: A = "primary",
|
|
24659
24659
|
value: R,
|
|
24660
|
-
variant:
|
|
24660
|
+
variant: D = "standard",
|
|
24661
24661
|
visibleScrollbar: P = !1,
|
|
24662
24662
|
...k
|
|
24663
|
-
} = r, N =
|
|
24663
|
+
} = r, N = D === "scrollable", $ = v === "vertical", L = $ ? "scrollTop" : "scrollLeft", I = $ ? "top" : "left", _ = $ ? "bottom" : "right", z = $ ? "clientHeight" : "clientWidth", V = $ ? "height" : "width", B = {
|
|
24664
24664
|
...r,
|
|
24665
24665
|
component: m,
|
|
24666
24666
|
allowScrollButtonsMobile: h,
|
|
24667
24667
|
indicatorColor: y,
|
|
24668
24668
|
orientation: v,
|
|
24669
|
-
vertical:
|
|
24669
|
+
vertical: $,
|
|
24670
24670
|
scrollButtons: E,
|
|
24671
24671
|
textColor: A,
|
|
24672
|
-
variant:
|
|
24672
|
+
variant: D,
|
|
24673
24673
|
visibleScrollbar: P,
|
|
24674
24674
|
fixed: !N,
|
|
24675
24675
|
hideScrollbar: N && !P,
|
|
24676
|
-
scrollableX: N &&
|
|
24677
|
-
scrollableY: N &&
|
|
24676
|
+
scrollableX: N && !$,
|
|
24677
|
+
scrollableY: N && $,
|
|
24678
24678
|
centered: d && !N,
|
|
24679
24679
|
scrollButtonsHideMobile: !h
|
|
24680
24680
|
}, F = A6(B), W = Wa({
|
|
@@ -24734,7 +24734,7 @@ const oR = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
24734
24734
|
tabMeta: ue
|
|
24735
24735
|
} = De();
|
|
24736
24736
|
let qe = 0, Qe;
|
|
24737
|
-
|
|
24737
|
+
$ ? (Qe = "top", ue && Se && (qe = ue.top - Se.top + Se.scrollTop)) : (Qe = i ? "right" : "left", ue && Se && (qe = (i ? -1 : 1) * (ue[Qe] - Se[Qe] + Se.scrollLeft)));
|
|
24738
24738
|
const Bt = {
|
|
24739
24739
|
[Qe]: qe,
|
|
24740
24740
|
// May be wrong until the font is loaded.
|
|
@@ -24754,7 +24754,7 @@ const oR = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
24754
24754
|
}) : ie.current[L] = Se;
|
|
24755
24755
|
}, "scroll"), rt = /* @__PURE__ */ s((Se) => {
|
|
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
24759
|
const Se = ie.current[z];
|
|
24760
24760
|
let ue = 0;
|
|
@@ -24912,7 +24912,7 @@ const oR = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
24912
24912
|
de.set(ue, He);
|
|
24913
24913
|
const qe = ue === R;
|
|
24914
24914
|
return He += 1, /* @__PURE__ */ S.cloneElement(Se, {
|
|
24915
|
-
fullWidth:
|
|
24915
|
+
fullWidth: D === "fullWidth",
|
|
24916
24916
|
indicator: qe && !q && we,
|
|
24917
24917
|
selected: qe,
|
|
24918
24918
|
selectionFollowsFocus: C,
|
|
@@ -24963,7 +24963,7 @@ const oR = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
24963
24963
|
additionalProps: {
|
|
24964
24964
|
style: {
|
|
24965
24965
|
overflow: le.overflow,
|
|
24966
|
-
[
|
|
24966
|
+
[$ ? `margin${i ? "Left" : "Right"}` : "marginBottom"]: P ? void 0 : -le.scrollbarWidth
|
|
24967
24967
|
}
|
|
24968
24968
|
}
|
|
24969
24969
|
}), [Ve, $t] = je("list", {
|
|
@@ -25367,10 +25367,10 @@ const fr = _e("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrim
|
|
|
25367
25367
|
wrapped: C
|
|
25368
25368
|
}, O = B6(T), M = u && f && /* @__PURE__ */ S.isValidElement(u) ? /* @__PURE__ */ S.cloneElement(u, {
|
|
25369
25369
|
className: se(O.icon, u.props.className)
|
|
25370
|
-
}) : u, A = /* @__PURE__ */ s((
|
|
25371
|
-
!g && m && m(
|
|
25372
|
-
}, "handleClick"), R = /* @__PURE__ */ s((
|
|
25373
|
-
v && !g && m && m(
|
|
25370
|
+
}) : u, A = /* @__PURE__ */ s((D) => {
|
|
25371
|
+
!g && m && m(D, E), h && h(D);
|
|
25372
|
+
}, "handleClick"), R = /* @__PURE__ */ s((D) => {
|
|
25373
|
+
v && !g && m && m(D, E), y && y(D);
|
|
25374
25374
|
}, "handleFocus");
|
|
25375
25375
|
return /* @__PURE__ */ Y(z6, {
|
|
25376
25376
|
focusRipple: !a,
|
|
@@ -25865,12 +25865,12 @@ function aR(t, ...e) {
|
|
|
25865
25865
|
M,
|
|
25866
25866
|
l
|
|
25867
25867
|
), R.shouldRun) {
|
|
25868
|
-
const
|
|
25868
|
+
const D = pw(
|
|
25869
25869
|
E,
|
|
25870
25870
|
arguments
|
|
25871
25871
|
);
|
|
25872
25872
|
R.run(
|
|
25873
|
-
{ inputSelectorResults: M, inputSelectorResultsCopy:
|
|
25873
|
+
{ inputSelectorResults: M, inputSelectorResultsCopy: D },
|
|
25874
25874
|
{ memoize: f, memoizeOptions: v },
|
|
25875
25875
|
arguments
|
|
25876
25876
|
);
|
|
@@ -26699,13 +26699,13 @@ const q1 = class q1 {
|
|
|
26699
26699
|
};
|
|
26700
26700
|
s(q1, "EventManager");
|
|
26701
26701
|
let pb = q1;
|
|
26702
|
-
const _W = _e("MuiBox", ["root"]), BW = p0(),
|
|
26702
|
+
const _W = _e("MuiBox", ["root"]), BW = p0(), Ut = nF({
|
|
26703
26703
|
themeId: Wr,
|
|
26704
26704
|
defaultTheme: BW,
|
|
26705
26705
|
defaultClassName: _W.root,
|
|
26706
26706
|
generateClassName: Bk.generate
|
|
26707
26707
|
});
|
|
26708
|
-
process.env.NODE_ENV !== "production" && (
|
|
26708
|
+
process.env.NODE_ENV !== "production" && (Ut.propTypes = {
|
|
26709
26709
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
26710
26710
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
26711
26711
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -27193,7 +27193,7 @@ const JW = /* @__PURE__ */ s((t, e) => {
|
|
|
27193
27193
|
dense: h || T.dense || !1,
|
|
27194
27194
|
alignItems: o,
|
|
27195
27195
|
disableGutters: y
|
|
27196
|
-
}), [o, T.dense, h, y]), M = S.useRef(null), A = S.Children.toArray(i), R = A.length && Ea(A[A.length - 1], ["ListItemSecondaryAction"]),
|
|
27196
|
+
}), [o, T.dense, h, y]), M = S.useRef(null), A = S.Children.toArray(i), R = A.length && Ea(A[A.length - 1], ["ListItemSecondaryAction"]), D = {
|
|
27197
27197
|
...r,
|
|
27198
27198
|
alignItems: o,
|
|
27199
27199
|
dense: O.dense,
|
|
@@ -27201,13 +27201,13 @@ const JW = /* @__PURE__ */ s((t, e) => {
|
|
|
27201
27201
|
disablePadding: g,
|
|
27202
27202
|
divider: v,
|
|
27203
27203
|
hasSecondaryAction: R
|
|
27204
|
-
}, P = XW(
|
|
27204
|
+
}, P = XW(D), k = jt(M, n), N = {
|
|
27205
27205
|
slots: C,
|
|
27206
27206
|
slotProps: E
|
|
27207
|
-
}, [
|
|
27207
|
+
}, [$, L] = je("secondaryAction", {
|
|
27208
27208
|
elementType: H0,
|
|
27209
27209
|
externalForwardedProps: N,
|
|
27210
|
-
ownerState:
|
|
27210
|
+
ownerState: D,
|
|
27211
27211
|
className: P.secondaryAction
|
|
27212
27212
|
}), I = C.root || u.Root || QW, _ = E.root || d.root || {}, z = {
|
|
27213
27213
|
className: se(P.root, _.className, a),
|
|
@@ -27220,14 +27220,14 @@ const JW = /* @__PURE__ */ s((t, e) => {
|
|
|
27220
27220
|
as: p,
|
|
27221
27221
|
className: se(P.container, f),
|
|
27222
27222
|
ref: k,
|
|
27223
|
-
ownerState:
|
|
27223
|
+
ownerState: D,
|
|
27224
27224
|
...m,
|
|
27225
27225
|
children: [/* @__PURE__ */ b(I, {
|
|
27226
27226
|
..._,
|
|
27227
27227
|
...!Fa(I) && {
|
|
27228
27228
|
as: V,
|
|
27229
27229
|
ownerState: {
|
|
27230
|
-
|
|
27230
|
+
...D,
|
|
27231
27231
|
..._.ownerState
|
|
27232
27232
|
}
|
|
27233
27233
|
},
|
|
@@ -27243,12 +27243,12 @@ const JW = /* @__PURE__ */ s((t, e) => {
|
|
|
27243
27243
|
ref: k,
|
|
27244
27244
|
...!Fa(I) && {
|
|
27245
27245
|
ownerState: {
|
|
27246
|
-
|
|
27246
|
+
...D,
|
|
27247
27247
|
..._.ownerState
|
|
27248
27248
|
}
|
|
27249
27249
|
},
|
|
27250
27250
|
...z,
|
|
27251
|
-
children: [A, x && /* @__PURE__ */ b(
|
|
27251
|
+
children: [A, x && /* @__PURE__ */ b($, {
|
|
27252
27252
|
...L,
|
|
27253
27253
|
children: x
|
|
27254
27254
|
})]
|
|
@@ -27468,7 +27468,7 @@ const q0 = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
27468
27468
|
...O
|
|
27469
27469
|
} = e, M = S.useRef(null), A = jt(Gs(u), M, n), R = /* @__PURE__ */ s((z) => (V) => {
|
|
27470
27470
|
z && (V === void 0 ? z(M.current) : z(M.current, V));
|
|
27471
|
-
}, "normalizedTransitionCallback"),
|
|
27471
|
+
}, "normalizedTransitionCallback"), D = R((z, V) => {
|
|
27472
27472
|
Zu(p, z, d), g0(z), h && h(z, V);
|
|
27473
27473
|
}), P = R((z, V) => {
|
|
27474
27474
|
const B = jo({
|
|
@@ -27483,7 +27483,7 @@ const q0 = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
27483
27483
|
}), z.style.transition = r.transitions.create("transform", {
|
|
27484
27484
|
...B
|
|
27485
27485
|
}), z.style.webkitTransform = "none", z.style.transform = "none", g && g(z, V);
|
|
27486
|
-
}), k = R(y), N = R(E),
|
|
27486
|
+
}), k = R(y), N = R(E), $ = R((z) => {
|
|
27487
27487
|
const V = jo({
|
|
27488
27488
|
timeout: w,
|
|
27489
27489
|
style: C,
|
|
@@ -27512,10 +27512,10 @@ const q0 = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
27512
27512
|
m || _();
|
|
27513
27513
|
}, [m, _]), /* @__PURE__ */ b(T, {
|
|
27514
27514
|
nodeRef: M,
|
|
27515
|
-
onEnter:
|
|
27515
|
+
onEnter: D,
|
|
27516
27516
|
onEntered: k,
|
|
27517
27517
|
onEntering: P,
|
|
27518
|
-
onExit:
|
|
27518
|
+
onExit: $,
|
|
27519
27519
|
onExited: L,
|
|
27520
27520
|
onExiting: N,
|
|
27521
27521
|
addEndListener: I,
|
|
@@ -27819,7 +27819,7 @@ const OR = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
27819
27819
|
S.useEffect(() => {
|
|
27820
27820
|
R.current = !0;
|
|
27821
27821
|
}, []);
|
|
27822
|
-
const
|
|
27822
|
+
const D = zl({
|
|
27823
27823
|
direction: i ? "rtl" : "ltr"
|
|
27824
27824
|
}, l), k = {
|
|
27825
27825
|
...r,
|
|
@@ -27828,7 +27828,7 @@ const OR = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
27828
27828
|
open: v,
|
|
27829
27829
|
variant: T,
|
|
27830
27830
|
...A
|
|
27831
|
-
}, N = nH(k),
|
|
27831
|
+
}, N = nH(k), $ = {
|
|
27832
27832
|
slots: {
|
|
27833
27833
|
transition: C,
|
|
27834
27834
|
...O
|
|
@@ -27851,7 +27851,7 @@ const OR = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
27851
27851
|
shouldForwardComponentProp: !0,
|
|
27852
27852
|
ownerState: k,
|
|
27853
27853
|
externalForwardedProps: {
|
|
27854
|
-
|
|
27854
|
+
...$,
|
|
27855
27855
|
...A,
|
|
27856
27856
|
...y
|
|
27857
27857
|
},
|
|
@@ -27860,10 +27860,10 @@ const OR = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
27860
27860
|
onClose: g,
|
|
27861
27861
|
hideBackdrop: m,
|
|
27862
27862
|
slots: {
|
|
27863
|
-
backdrop:
|
|
27863
|
+
backdrop: $.slots.backdrop
|
|
27864
27864
|
},
|
|
27865
27865
|
slotProps: {
|
|
27866
|
-
backdrop:
|
|
27866
|
+
backdrop: $.slotProps.backdrop
|
|
27867
27867
|
}
|
|
27868
27868
|
}
|
|
27869
27869
|
}), [_, z] = je("paper", {
|
|
@@ -27871,7 +27871,7 @@ const OR = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
27871
27871
|
shouldForwardComponentProp: !0,
|
|
27872
27872
|
className: se(N.paper, x.className),
|
|
27873
27873
|
ownerState: k,
|
|
27874
|
-
externalForwardedProps:
|
|
27874
|
+
externalForwardedProps: $,
|
|
27875
27875
|
additionalProps: {
|
|
27876
27876
|
elevation: T === "temporary" ? f : 0,
|
|
27877
27877
|
square: !0,
|
|
@@ -27885,16 +27885,16 @@ const OR = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
27885
27885
|
ref: n,
|
|
27886
27886
|
className: se(N.root, N.docked, p),
|
|
27887
27887
|
ownerState: k,
|
|
27888
|
-
externalForwardedProps:
|
|
27888
|
+
externalForwardedProps: $,
|
|
27889
27889
|
additionalProps: A
|
|
27890
27890
|
// pass `other` here because `DockedSlot` is also a root slot for some variants
|
|
27891
27891
|
}), [F, W] = je("transition", {
|
|
27892
27892
|
elementType: q0,
|
|
27893
27893
|
ownerState: k,
|
|
27894
|
-
externalForwardedProps:
|
|
27894
|
+
externalForwardedProps: $,
|
|
27895
27895
|
additionalProps: {
|
|
27896
27896
|
in: v,
|
|
27897
|
-
direction: ER[
|
|
27897
|
+
direction: ER[D],
|
|
27898
27898
|
timeout: w,
|
|
27899
27899
|
appear: R.current
|
|
27900
27900
|
}
|
|
@@ -28204,10 +28204,10 @@ const cH = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
28204
28204
|
// Mobile first.
|
|
28205
28205
|
slots: A = {},
|
|
28206
28206
|
slotProps: R = {},
|
|
28207
|
-
|
|
28207
|
+
...D
|
|
28208
28208
|
} = r, [P, k] = S.useState(!1), N = S.useRef({
|
|
28209
28209
|
isSwiping: null
|
|
28210
|
-
}),
|
|
28210
|
+
}), $ = S.useRef(), L = S.useRef(), I = S.useRef(), _ = jt(C.ref, I), z = S.useRef(!1), V = S.useRef();
|
|
28211
28211
|
On(() => {
|
|
28212
28212
|
V.current = null;
|
|
28213
28213
|
}, [E]);
|
|
@@ -28310,7 +28310,7 @@ const cH = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
28310
28310
|
return;
|
|
28311
28311
|
const G = zl(o, a), Z = es(a), te = Lm(G, j.touches, un(j.currentTarget)), ae = Fm(G, j.touches, En(j.currentTarget));
|
|
28312
28312
|
if (!E) {
|
|
28313
|
-
if (d || !(j.target ===
|
|
28313
|
+
if (d || !(j.target === $.current || I.current?.contains(j.target) && (typeof m == "function" ? m(j, $.current, I.current) : m)))
|
|
28314
28314
|
return;
|
|
28315
28315
|
if (Z) {
|
|
28316
28316
|
if (te > T)
|
|
@@ -28337,7 +28337,7 @@ const cH = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
28337
28337
|
E || k(!1);
|
|
28338
28338
|
}, [E]);
|
|
28339
28339
|
const [K, ee] = je("swipeArea", {
|
|
28340
|
-
ref:
|
|
28340
|
+
ref: $,
|
|
28341
28341
|
elementType: kR,
|
|
28342
28342
|
ownerState: r,
|
|
28343
28343
|
externalForwardedProps: {
|
|
@@ -28386,7 +28386,7 @@ const cH = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
28386
28386
|
ref: _
|
|
28387
28387
|
})
|
|
28388
28388
|
},
|
|
28389
|
-
|
|
28389
|
+
...D
|
|
28390
28390
|
}), !d && M === "temporary" && /* @__PURE__ */ b(up, {
|
|
28391
28391
|
children: /* @__PURE__ */ b(K, {
|
|
28392
28392
|
...ee
|
|
@@ -28596,7 +28596,7 @@ process.env.NODE_ENV !== "production" && (dp.propTypes = {
|
|
|
28596
28596
|
});
|
|
28597
28597
|
function uH() {
|
|
28598
28598
|
return /* @__PURE__ */ b(
|
|
28599
|
-
|
|
28599
|
+
Ut,
|
|
28600
28600
|
{
|
|
28601
28601
|
sx: {
|
|
28602
28602
|
display: "flex",
|
|
@@ -28606,7 +28606,7 @@ function uH() {
|
|
|
28606
28606
|
pt: 2
|
|
28607
28607
|
},
|
|
28608
28608
|
children: /* @__PURE__ */ b(
|
|
28609
|
-
|
|
28609
|
+
Ut,
|
|
28610
28610
|
{
|
|
28611
28611
|
sx: {
|
|
28612
28612
|
width: 32,
|
|
@@ -28897,17 +28897,17 @@ const hH = {
|
|
|
28897
28897
|
t?.current && o(t.current);
|
|
28898
28898
|
}, [t]);
|
|
28899
28899
|
const C = S.useCallback(
|
|
28900
|
-
(
|
|
28900
|
+
($, L) => l.current?.getLocaleText?.($) ?? L,
|
|
28901
28901
|
[l]
|
|
28902
28902
|
), w = S.useCallback(
|
|
28903
|
-
(
|
|
28904
|
-
|
|
28903
|
+
($) => ({
|
|
28904
|
+
...$,
|
|
28905
28905
|
getRowsToExport: RR
|
|
28906
28906
|
}),
|
|
28907
28907
|
[]
|
|
28908
28908
|
), T = S.useCallback(
|
|
28909
|
-
(
|
|
28910
|
-
const L = w(
|
|
28909
|
+
($) => {
|
|
28910
|
+
const L = w($);
|
|
28911
28911
|
if (L.fileName)
|
|
28912
28912
|
return L;
|
|
28913
28913
|
const I = yH(
|
|
@@ -28925,7 +28925,7 @@ const hH = {
|
|
|
28925
28925
|
w
|
|
28926
28926
|
]
|
|
28927
28927
|
), O = S.useCallback(
|
|
28928
|
-
async (
|
|
28928
|
+
async ($, L) => {
|
|
28929
28929
|
if (i)
|
|
28930
28930
|
return;
|
|
28931
28931
|
let I = null, _ = !1;
|
|
@@ -28934,7 +28934,7 @@ const hH = {
|
|
|
28934
28934
|
const z = await e();
|
|
28935
28935
|
I = gH(l), _ = !0, l.current.setRows(Array.isArray(z) ? z : []), await mH();
|
|
28936
28936
|
}
|
|
28937
|
-
|
|
28937
|
+
$ === "csv" ? l.current?.exportDataAsCsv?.(L) : $ === "excel" ? await l.current?.exportDataAsExcel?.(L) : $ === "print" && xH(l, L);
|
|
28938
28938
|
} catch (z) {
|
|
28939
28939
|
console.error("metiri-grid-export-failed", z), u(d("pos.export_failed"), { type: "error" });
|
|
28940
28940
|
} finally {
|
|
@@ -28948,8 +28948,8 @@ const hH = {
|
|
|
28948
28948
|
hideFooter: !0,
|
|
28949
28949
|
hideToolbar: !0,
|
|
28950
28950
|
...m
|
|
28951
|
-
}),
|
|
28952
|
-
return
|
|
28951
|
+
}), D = p.disableToolbarButton !== !0 && typeof l.current?.exportDataAsCsv == "function", P = f.disableToolbarButton !== !0 && typeof l.current?.exportDataAsExcel == "function", k = m.disableToolbarButton !== !0, N = !!i || !!y?.button?.disabled;
|
|
28952
|
+
return !D && !P && !k ? null : qv(
|
|
28953
28953
|
/* @__PURE__ */ Y(
|
|
28954
28954
|
DD,
|
|
28955
28955
|
{
|
|
@@ -28963,12 +28963,12 @@ const hH = {
|
|
|
28963
28963
|
},
|
|
28964
28964
|
...g,
|
|
28965
28965
|
children: [
|
|
28966
|
-
|
|
28966
|
+
D && /* @__PURE__ */ b(
|
|
28967
28967
|
_m,
|
|
28968
28968
|
{
|
|
28969
28969
|
disabled: N,
|
|
28970
28970
|
label: C("toolbarExportCSV", "CSV"),
|
|
28971
|
-
onExport: /* @__PURE__ */ s((
|
|
28971
|
+
onExport: /* @__PURE__ */ s(($) => O("csv", $), "onExport"),
|
|
28972
28972
|
options: M
|
|
28973
28973
|
}
|
|
28974
28974
|
),
|
|
@@ -28977,7 +28977,7 @@ const hH = {
|
|
|
28977
28977
|
{
|
|
28978
28978
|
disabled: N,
|
|
28979
28979
|
label: C("toolbarExportExcel", "Excel"),
|
|
28980
|
-
onExport: /* @__PURE__ */ s((
|
|
28980
|
+
onExport: /* @__PURE__ */ s(($) => O("excel", $), "onExport"),
|
|
28981
28981
|
options: A
|
|
28982
28982
|
}
|
|
28983
28983
|
),
|
|
@@ -28986,7 +28986,7 @@ const hH = {
|
|
|
28986
28986
|
{
|
|
28987
28987
|
disabled: N,
|
|
28988
28988
|
label: C("toolbarExportPrint", "PDF"),
|
|
28989
|
-
onExport: /* @__PURE__ */ s((
|
|
28989
|
+
onExport: /* @__PURE__ */ s(($) => O("print", $), "onExport"),
|
|
28990
28990
|
options: R
|
|
28991
28991
|
}
|
|
28992
28992
|
)
|
|
@@ -29072,7 +29072,7 @@ function wH(t) {
|
|
|
29072
29072
|
] })
|
|
29073
29073
|
] }) : /* @__PURE__ */ Y(S.Fragment, { children: [
|
|
29074
29074
|
!f && o && /* @__PURE__ */ b(
|
|
29075
|
-
|
|
29075
|
+
Ut,
|
|
29076
29076
|
{
|
|
29077
29077
|
sx: {
|
|
29078
29078
|
ml: 0.5,
|
|
@@ -29327,12 +29327,12 @@ const DR = Xt({ resolve: null }), Kte = /* @__PURE__ */ s(({ resolve: t, childre
|
|
|
29327
29327
|
const N = k?.[0];
|
|
29328
29328
|
if (!N?.contentRect)
|
|
29329
29329
|
return;
|
|
29330
|
-
const
|
|
29330
|
+
const $ = {
|
|
29331
29331
|
width: Math.round(N.contentRect.width),
|
|
29332
29332
|
height: Math.round(N.contentRect.height)
|
|
29333
29333
|
};
|
|
29334
|
-
v((L) => L?.width ===
|
|
29335
|
-
Ew(y,
|
|
29334
|
+
v((L) => L?.width === $.width && L?.height === $.height ? L : $), x.current && clearTimeout(x.current), x.current = setTimeout(() => {
|
|
29335
|
+
Ew(y, $);
|
|
29336
29336
|
}, 200);
|
|
29337
29337
|
});
|
|
29338
29338
|
return P.observe(f), () => {
|
|
@@ -29341,11 +29341,11 @@ const DR = Xt({ resolve: null }), Kte = /* @__PURE__ */ s(({ resolve: t, childre
|
|
|
29341
29341
|
}, [f, y, p]);
|
|
29342
29342
|
const C = S.useCallback(
|
|
29343
29343
|
(P) => {
|
|
29344
|
-
const k = h?.getBoundingClientRect?.() ?? ww(i), N = Tw({ rect: k, ratio: d }),
|
|
29344
|
+
const k = h?.getBoundingClientRect?.() ?? ww(i), N = Tw({ rect: k, ratio: d }), $ = {
|
|
29345
29345
|
width: N.width,
|
|
29346
29346
|
height: N.height
|
|
29347
29347
|
};
|
|
29348
|
-
if (NH(y), Ew(y,
|
|
29348
|
+
if (NH(y), Ew(y, $), v($), p)
|
|
29349
29349
|
return;
|
|
29350
29350
|
const L = f ?? P?.currentTarget?.closest?.(".MuiDialog-paper") ?? null;
|
|
29351
29351
|
DH(L, N);
|
|
@@ -29354,7 +29354,7 @@ const DR = Xt({ resolve: null }), Kte = /* @__PURE__ */ s(({ resolve: t, childre
|
|
|
29354
29354
|
), w = g || {
|
|
29355
29355
|
width: E.width,
|
|
29356
29356
|
height: E.height
|
|
29357
|
-
}, T = E.maxWidth, O = E.maxHeight, M = E.minWidth, A = E.minHeight, R = h ? "100%" : "100vw",
|
|
29357
|
+
}, T = E.maxWidth, O = E.maxHeight, M = E.minWidth, A = E.minHeight, R = h ? "100%" : "100vw", D = h ? "100%" : "100dvh";
|
|
29358
29358
|
return S.useMemo(
|
|
29359
29359
|
() => ({
|
|
29360
29360
|
...Rl,
|
|
@@ -29392,9 +29392,9 @@ const DR = Xt({ resolve: null }), Kte = /* @__PURE__ */ s(({ resolve: t, childre
|
|
|
29392
29392
|
xs: R,
|
|
29393
29393
|
sm: `${T}px`
|
|
29394
29394
|
},
|
|
29395
|
-
height: { xs:
|
|
29395
|
+
height: { xs: D, sm: `${w.height}px` },
|
|
29396
29396
|
maxHeight: {
|
|
29397
|
-
xs:
|
|
29397
|
+
xs: D,
|
|
29398
29398
|
sm: `${O}px`
|
|
29399
29399
|
},
|
|
29400
29400
|
minWidth: {
|
|
@@ -29402,7 +29402,7 @@ const DR = Xt({ resolve: null }), Kte = /* @__PURE__ */ s(({ resolve: t, childre
|
|
|
29402
29402
|
sm: `${M}px`
|
|
29403
29403
|
},
|
|
29404
29404
|
minHeight: {
|
|
29405
|
-
xs:
|
|
29405
|
+
xs: D,
|
|
29406
29406
|
sm: `${A}px`
|
|
29407
29407
|
},
|
|
29408
29408
|
resize: { xs: "none", sm: "both" },
|
|
@@ -29444,7 +29444,7 @@ const DR = Xt({ resolve: null }), Kte = /* @__PURE__ */ s(({ resolve: t, childre
|
|
|
29444
29444
|
w.height,
|
|
29445
29445
|
w.width,
|
|
29446
29446
|
e,
|
|
29447
|
-
|
|
29447
|
+
D,
|
|
29448
29448
|
R
|
|
29449
29449
|
]
|
|
29450
29450
|
);
|
|
@@ -30495,11 +30495,11 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
30495
30495
|
nuevoDesde: M = !1,
|
|
30496
30496
|
pivotEnabled: A,
|
|
30497
30497
|
pivotUi: R = "mui",
|
|
30498
|
-
pivotServerSide:
|
|
30498
|
+
pivotServerSide: D = !0,
|
|
30499
30499
|
pivotingColDef: P,
|
|
30500
30500
|
onPivotModelChange: k,
|
|
30501
30501
|
onAggregationModelChange: N,
|
|
30502
|
-
slots:
|
|
30502
|
+
slots: $,
|
|
30503
30503
|
slotProps: L,
|
|
30504
30504
|
...I
|
|
30505
30505
|
} = t, [_, z] = S.useState(0), V = S.useRef(null), [B, F] = S.useState({ top: 2, left: 8, h: 28 }), W = Ir((U) => U.breakpoints.down("md")), Q = uh(t), q = lt(), [K] = Bv(), ee = (K === "en" ? Y0 : J0).components.MuiDataGrid.defaultProps.localeText, j = GH(), G = pt(t), {
|
|
@@ -30577,14 +30577,14 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
30577
30577
|
noRowsOverlay: E0,
|
|
30578
30578
|
baseIconButton: HR,
|
|
30579
30579
|
toolbar: u9,
|
|
30580
|
-
|
|
30580
|
+
...$
|
|
30581
30581
|
};
|
|
30582
30582
|
return typeof U.toolbar == "boolean" && (U.toolbar = void 0), U;
|
|
30583
|
-
}, [
|
|
30583
|
+
}, [$]), Mo = S.useRef({ key: null, promise: null }), fl = S.useRef({ rows: [] }), [, Ys] = S.useState({
|
|
30584
30584
|
rows: [],
|
|
30585
30585
|
columns: [],
|
|
30586
30586
|
values: []
|
|
30587
|
-
}), [, jS] = S.useState({}), Xh =
|
|
30587
|
+
}), [, jS] = S.useState({}), Xh = D && ce, Eu = S.useMemo(() => {
|
|
30588
30588
|
if (!ce)
|
|
30589
30589
|
return At;
|
|
30590
30590
|
const U = /* @__PURE__ */ s((oe) => {
|
|
@@ -30598,7 +30598,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
30598
30598
|
return "";
|
|
30599
30599
|
const ln = (fl.current?.rows ?? []).map(id).filter(Boolean);
|
|
30600
30600
|
for (let Dt = 0; Dt < ln.length; Dt += 1) {
|
|
30601
|
-
const
|
|
30601
|
+
const Kt = ln[Dt], nr = xe[Kt];
|
|
30602
30602
|
if (nr != null && nr !== "")
|
|
30603
30603
|
return String(nr);
|
|
30604
30604
|
}
|
|
@@ -30606,8 +30606,8 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
30606
30606
|
(Dt) => Dt !== "id" && Dt !== "__childrenCount" && Dt !== "childrenCount" && xe[Dt] != null && xe[Dt] !== ""
|
|
30607
30607
|
);
|
|
30608
30608
|
return st ? String(xe[st]) : xe.id != null ? String(xe.id) : "";
|
|
30609
|
-
}, "getGroupKey"),
|
|
30610
|
-
const Ot =
|
|
30609
|
+
}, "getGroupKey"), Gt = typeof oe.getChildrenCount == "function" ? (...xe) => oe.getChildrenCount(...xe) : null, ft = /* @__PURE__ */ s((xe) => {
|
|
30610
|
+
const Ot = Gt?.(xe);
|
|
30611
30611
|
return Number.isFinite(Ot) ? Ot : xe?.childrenCount ?? xe?.__childrenCount ?? 0;
|
|
30612
30612
|
}, "getChildrenCount"), an = typeof oe.getAggregatedValue == "function" ? (...xe) => oe.getAggregatedValue(...xe) : null;
|
|
30613
30613
|
return {
|
|
@@ -30623,14 +30623,14 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
30623
30623
|
return;
|
|
30624
30624
|
const cn = s9(Ot);
|
|
30625
30625
|
for (let st = 0; st < cn.length; st += 1) {
|
|
30626
|
-
const Dt = cn[st],
|
|
30627
|
-
if (
|
|
30628
|
-
return
|
|
30626
|
+
const Dt = cn[st], Kt = xe[Dt];
|
|
30627
|
+
if (Kt != null)
|
|
30628
|
+
return Kt;
|
|
30629
30629
|
}
|
|
30630
30630
|
for (let st = 0; st < cn.length; st += 1) {
|
|
30631
|
-
const Dt = cn[st],
|
|
30632
|
-
if (
|
|
30633
|
-
return
|
|
30631
|
+
const Dt = cn[st], Kt = xe[`${Dt}Aggregate`];
|
|
30632
|
+
if (Kt !== void 0)
|
|
30633
|
+
return Kt;
|
|
30634
30634
|
}
|
|
30635
30635
|
}, "getAggregatedValue")
|
|
30636
30636
|
};
|
|
@@ -30639,7 +30639,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
30639
30639
|
getRows: /* @__PURE__ */ s(async (oe) => {
|
|
30640
30640
|
const Ee = oe.pivotModel || {};
|
|
30641
30641
|
fl.current = Ee;
|
|
30642
|
-
const Ye = oe.start ?? 0, at = oe.end ?? Ye + 50,
|
|
30642
|
+
const Ye = oe.start ?? 0, at = oe.end ?? Ye + 50, Gt = Math.max(1, at - Ye), ft = Math.floor(Ye / Gt) + 1, an = oe.sortModel ?? [], ti = an[0]?.field ?? sn.field ?? "id", xe = (an[0]?.sort ?? sn.order ?? "ASC").toUpperCase(), Ot = J.current?.state?.rowGrouping?.model?.[0], ln = x({
|
|
30643
30643
|
groupingField: Ot,
|
|
30644
30644
|
...oe.filterModel || {}
|
|
30645
30645
|
}), st = {
|
|
@@ -30657,7 +30657,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
30657
30657
|
});
|
|
30658
30658
|
if (Mo.current.key === Dt)
|
|
30659
30659
|
return Mo.current.promise;
|
|
30660
|
-
const
|
|
30660
|
+
const Kt = {
|
|
30661
30661
|
...I?.meta || {},
|
|
30662
30662
|
...Te?.meta || {},
|
|
30663
30663
|
pivot: 1,
|
|
@@ -30668,10 +30668,10 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
30668
30668
|
groupFields: JSON.stringify(oe.groupFields ?? []),
|
|
30669
30669
|
groupKeys: JSON.stringify(oe.groupKeys ?? [])
|
|
30670
30670
|
}, nr = we.getList(G, {
|
|
30671
|
-
pagination: { page: ft, perPage:
|
|
30671
|
+
pagination: { page: ft, perPage: Gt },
|
|
30672
30672
|
sort: { field: ti, order: xe },
|
|
30673
30673
|
filter: st,
|
|
30674
|
-
meta:
|
|
30674
|
+
meta: Kt
|
|
30675
30675
|
}).then((pr) => {
|
|
30676
30676
|
const yl = pr.data || [], om = Array.isArray(
|
|
30677
30677
|
pr.pivotColumns
|
|
@@ -30917,7 +30917,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
30917
30917
|
hideable: !1,
|
|
30918
30918
|
renderHeader: /* @__PURE__ */ s(() => /* @__PURE__ */ b(Yn, { children: n }), "renderHeader"),
|
|
30919
30919
|
getActions: /* @__PURE__ */ s((U) => {
|
|
30920
|
-
const Ee = J.current.getRowNode(U.id)?.children?.[0], Ye = !!C && typeof Ee == "string" && Ee.indexOf(`${C}=`) !== -1, at = !hb(U.row, a),
|
|
30920
|
+
const Ee = J.current.getRowNode(U.id)?.children?.[0], Ye = !!C && typeof Ee == "string" && Ee.indexOf(`${C}=`) !== -1, at = !hb(U.row, a), Gt = !_R(
|
|
30921
30921
|
U.row,
|
|
30922
30922
|
l
|
|
30923
30923
|
), ft = w && at, an = ZS.current, xe = (U.row?.id == null || U.row?.id === "") && Ye ? void 0 : U.row?.id ?? U.id, Ot = xe ? /* @__PURE__ */ b(
|
|
@@ -30930,8 +30930,8 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
30930
30930
|
}, "onClick")
|
|
30931
30931
|
},
|
|
30932
30932
|
`show-${xe}`
|
|
30933
|
-
) : null, ln = M || ku && !
|
|
30934
|
-
const { handler:
|
|
30933
|
+
) : null, ln = M || ku && !Gt, cn = (e || []).filter((st) => yi(hl, st)).map((st, Dt) => {
|
|
30934
|
+
const { handler: Kt, key: nr, sx: pr, ...yl } = st;
|
|
30935
30935
|
return /* @__PURE__ */ b(
|
|
30936
30936
|
Zs,
|
|
30937
30937
|
{
|
|
@@ -30942,7 +30942,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
30942
30942
|
)
|
|
30943
30943
|
),
|
|
30944
30944
|
showInMenu: !0,
|
|
30945
|
-
onClick: /* @__PURE__ */ s((om) => typeof
|
|
30945
|
+
onClick: /* @__PURE__ */ s((om) => typeof Kt == "function" ? Kt(
|
|
30946
30946
|
{
|
|
30947
30947
|
...an,
|
|
30948
30948
|
record: U.row
|
|
@@ -30954,7 +30954,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
30954
30954
|
`gaci-${Dt}`
|
|
30955
30955
|
);
|
|
30956
30956
|
});
|
|
30957
|
-
if (ku && !
|
|
30957
|
+
if (ku && !Gt) {
|
|
30958
30958
|
const st = /* @__PURE__ */ s(() => {
|
|
30959
30959
|
Qh({
|
|
30960
30960
|
id: xe,
|
|
@@ -31039,10 +31039,10 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
31039
31039
|
st && (st.defaultMuiPrevented = !0, st.stopPropagation());
|
|
31040
31040
|
const Dt = C ? Ee?.split(
|
|
31041
31041
|
`${C}=`
|
|
31042
|
-
)?.[1] : "",
|
|
31042
|
+
)?.[1] : "", Kt = String(
|
|
31043
31043
|
Dt ?? ""
|
|
31044
31044
|
).replaceAll("'", "").replaceAll("[", "").replaceAll("]", "").trim().split("AND")[0].trim(), nr = C ? {
|
|
31045
|
-
[C]:
|
|
31045
|
+
[C]: Kt
|
|
31046
31046
|
} : void 0;
|
|
31047
31047
|
WS({ record: nr });
|
|
31048
31048
|
}, "onClick")
|
|
@@ -31099,7 +31099,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
31099
31099
|
), tx = S.useCallback((U) => {
|
|
31100
31100
|
const Ee = (U.currentTarget instanceof HTMLDivElement ? U.currentTarget : null)?.getAttribute("data-id");
|
|
31101
31101
|
return Ee || (typeof document > "u" ? null : document.elementsFromPoint(U.clientX, U.clientY).find(
|
|
31102
|
-
(
|
|
31102
|
+
(Gt) => Gt instanceof Element && Gt.matches(QH)
|
|
31103
31103
|
)?.getAttribute("data-id") ?? null);
|
|
31104
31104
|
}, []), nx = S.useCallback(
|
|
31105
31105
|
(U) => {
|
|
@@ -31124,7 +31124,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
31124
31124
|
}
|
|
31125
31125
|
if (!at)
|
|
31126
31126
|
return;
|
|
31127
|
-
const
|
|
31127
|
+
const Gt = (tm.getActions(at) || []).filter(
|
|
31128
31128
|
(ft) => wr(ft) && ft.props?.showInMenu
|
|
31129
31129
|
).map((ft, an) => ({
|
|
31130
31130
|
key: ft.key ?? `ctx-row-action-${an}`,
|
|
@@ -31137,10 +31137,10 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
31137
31137
|
inert: ft.props?.inert,
|
|
31138
31138
|
onClick: ft.props?.onClick
|
|
31139
31139
|
}));
|
|
31140
|
-
|
|
31140
|
+
Gt.length !== 0 && (U.preventDefault(), U.stopPropagation(), qe(Ye), ze({
|
|
31141
31141
|
mouseX: U.clientX,
|
|
31142
31142
|
mouseY: U.clientY,
|
|
31143
|
-
actions:
|
|
31143
|
+
actions: Gt
|
|
31144
31144
|
}));
|
|
31145
31145
|
},
|
|
31146
31146
|
[
|
|
@@ -31197,12 +31197,12 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
31197
31197
|
const Ee = oe.type === "boolean" ? {
|
|
31198
31198
|
...oe,
|
|
31199
31199
|
valueGetter: t9
|
|
31200
|
-
} : oe, Ye = Ee.type === "date" && Ee.filterOperators === void 0 ? n9 : Ee.filterOperators, at = Ee.valueFormatter,
|
|
31200
|
+
} : oe, Ye = Ee.type === "date" && Ee.filterOperators === void 0 ? n9 : Ee.filterOperators, at = Ee.valueFormatter, Gt = /* @__PURE__ */ s((xe, Ot, ln, cn) => Du(Ot) ? xe ?? "" : at ? at(xe, Ot, ln, cn) : xe, "safeVF");
|
|
31201
31201
|
if (Ee.type === "actions" || Ad.has(Ee.field))
|
|
31202
31202
|
return {
|
|
31203
31203
|
...Ee,
|
|
31204
31204
|
filterOperators: Ye,
|
|
31205
|
-
valueFormatter:
|
|
31205
|
+
valueFormatter: Gt
|
|
31206
31206
|
};
|
|
31207
31207
|
const ft = /* @__PURE__ */ s((xe, Ot) => /* @__PURE__ */ b(
|
|
31208
31208
|
Ma,
|
|
@@ -31222,7 +31222,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
31222
31222
|
return Ee.field !== U ? {
|
|
31223
31223
|
...Ee,
|
|
31224
31224
|
filterOperators: Ye,
|
|
31225
|
-
valueFormatter:
|
|
31225
|
+
valueFormatter: Gt,
|
|
31226
31226
|
align: "left",
|
|
31227
31227
|
headerAlign: "left",
|
|
31228
31228
|
colSpan: /* @__PURE__ */ s((xe, Ot) => Du(Ot) ? 0 : void 0, "colSpan"),
|
|
@@ -31233,7 +31233,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
31233
31233
|
} : {
|
|
31234
31234
|
...Ee,
|
|
31235
31235
|
filterOperators: Ye,
|
|
31236
|
-
valueFormatter:
|
|
31236
|
+
valueFormatter: Gt,
|
|
31237
31237
|
align: "left",
|
|
31238
31238
|
headerAlign: "left",
|
|
31239
31239
|
cellClassName: /* @__PURE__ */ s((xe) => xe?.rowNode?.type === "group" ? "metiri-group-label" : void 0, "cellClassName"),
|
|
@@ -31243,14 +31243,14 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
31243
31243
|
const ln = J.current?.getVisibleColumns?.() ?? [], cn = J.current?.state?.pinnedColumns ?? J.current?.state?.columns?.pinnedColumns ?? {
|
|
31244
31244
|
left: [],
|
|
31245
31245
|
right: []
|
|
31246
|
-
}, st = new Set(cn.left || []), Dt = new Set(cn.right || []),
|
|
31246
|
+
}, st = new Set(cn.left || []), Dt = new Set(cn.right || []), Kt = ln.filter(
|
|
31247
31247
|
(pr) => !st.has(pr.field) && !Dt.has(pr.field)
|
|
31248
|
-
), nr =
|
|
31249
|
-
return nr === -1 ?
|
|
31248
|
+
), nr = Kt.findIndex((pr) => pr.field === U);
|
|
31249
|
+
return nr === -1 ? Kt.length : Kt.length - nr;
|
|
31250
31250
|
}, "colSpan"),
|
|
31251
31251
|
renderCell: /* @__PURE__ */ s((xe) => {
|
|
31252
31252
|
if (xe?.rowNode?.type === "group") {
|
|
31253
|
-
const ln = 10 + Math.max(0, xe.rowNode.depth ?? 0) * 14, cn = xe.rowNode.groupingField ?? "", st = gl.find((
|
|
31253
|
+
const ln = 10 + Math.max(0, xe.rowNode.depth ?? 0) * 14, cn = xe.rowNode.groupingField ?? "", st = gl.find((Kt) => Kt.field === cn)?.headerName ?? cn, Dt = String(xe.rowNode.groupingKey ?? "");
|
|
31254
31254
|
return /* @__PURE__ */ Y(
|
|
31255
31255
|
"span",
|
|
31256
31256
|
{
|
|
@@ -31553,7 +31553,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
31553
31553
|
onDelete: /* @__PURE__ */ s((Ee) => {
|
|
31554
31554
|
Ee.stopPropagation();
|
|
31555
31555
|
const at = (J.current?.state?.rowGrouping?.model || []).filter(
|
|
31556
|
-
(
|
|
31556
|
+
(Gt) => Gt !== U
|
|
31557
31557
|
);
|
|
31558
31558
|
J.current?.setRowGroupingModel(
|
|
31559
31559
|
at
|
|
@@ -31713,7 +31713,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
31713
31713
|
key: Ee,
|
|
31714
31714
|
label: Ye,
|
|
31715
31715
|
icon: at,
|
|
31716
|
-
disabled:
|
|
31716
|
+
disabled: Gt,
|
|
31717
31717
|
className: ft,
|
|
31718
31718
|
sx: an,
|
|
31719
31719
|
closeMenuOnClick: ti,
|
|
@@ -31723,7 +31723,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
31723
31723
|
return /* @__PURE__ */ Y(
|
|
31724
31724
|
bo,
|
|
31725
31725
|
{
|
|
31726
|
-
disabled:
|
|
31726
|
+
disabled: Gt,
|
|
31727
31727
|
className: ft,
|
|
31728
31728
|
sx: Fw(an),
|
|
31729
31729
|
disableRipple: !!xe,
|
|
@@ -31765,7 +31765,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
31765
31765
|
...x
|
|
31766
31766
|
} = t, E = S.useRef(null), C = nt(Nn) || {}, w = Ic(C, "borrar") || Ic(C, "delete"), T = h && !w, O = g ? [] : (i || []).filter(
|
|
31767
31767
|
(ee) => yi(C, ee)
|
|
31768
|
-
), M = !!(!g && (l || p || y || T || O.length)), { sort: A } = Ii(), R = /* @__PURE__ */ s(() => E.current, "container"),
|
|
31768
|
+
), M = !!(!g && (l || p || y || T || O.length)), { sort: A } = Ii(), R = /* @__PURE__ */ s(() => E.current, "container"), D = Ir((ee) => ee.breakpoints.down("md")), P = v ?? D, k = v && !D, [N] = Bv(), $ = (N === "en" ? Y0 : J0).components.MuiDataGrid.defaultProps.localeText, L = Vv(), {
|
|
31769
31769
|
props: { gridContainerRef: I, chkSeleccion: _ }
|
|
31770
31770
|
} = Jo(), [z, V] = S.useState({
|
|
31771
31771
|
overlay: null,
|
|
@@ -31824,9 +31824,9 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
31824
31824
|
editIcon: u,
|
|
31825
31825
|
deleteIcon: d,
|
|
31826
31826
|
localeText: {
|
|
31827
|
-
|
|
31828
|
-
toolbarFilters: k ?
|
|
31829
|
-
toolbarExport: k ?
|
|
31827
|
+
...$,
|
|
31828
|
+
toolbarFilters: k ? $.toolbarFilters : "",
|
|
31829
|
+
toolbarExport: k ? $.toolbarExport : "",
|
|
31830
31830
|
toolbarExportCSV: "CSV",
|
|
31831
31831
|
toolbarExportExcel: "Excel",
|
|
31832
31832
|
toolbarExportPrint: "PDF"
|
|
@@ -32268,12 +32268,12 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
32268
32268
|
slotProps: x,
|
|
32269
32269
|
showToolbar: E,
|
|
32270
32270
|
...C
|
|
32271
|
-
} = t, [w, T] = S.useState([]), O = Nr(t), M = kn(), A = rn(M), { field: R } = Xc({ defaultValue: "", ...t }),
|
|
32271
|
+
} = t, [w, T] = S.useState([]), O = Nr(t), M = kn(), A = rn(M), { field: R } = Xc({ defaultValue: "", ...t }), D = X0(), {
|
|
32272
32272
|
isActive: P,
|
|
32273
32273
|
hasBeenActive: k = P
|
|
32274
32274
|
} = dh(), {
|
|
32275
32275
|
isLoading: N,
|
|
32276
|
-
fichaProps: { [h]:
|
|
32276
|
+
fichaProps: { [h]: $ } = {},
|
|
32277
32277
|
propsContenidos: { [h]: L = {} } = {}
|
|
32278
32278
|
} = Ft(), I = Xo(), _ = Wv((ue) => x0(ue.configInputs, h, I)), {
|
|
32279
32279
|
conts: z = []
|
|
@@ -32302,7 +32302,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
32302
32302
|
slotProps: X,
|
|
32303
32303
|
initialState: de,
|
|
32304
32304
|
validateAllowAdd: ie
|
|
32305
|
-
} =
|
|
32305
|
+
} = $ || {}, ge = `${h}_enviartodo`, [Ie, De] = S.useState(r), [{ field: Te, sort: ye }] = r, rt = B || p || q, Ge = W !== void 0 ? W : V ? !0 : K !== void 0 ? K : f, Tt = L.enableLoad ?? ee ?? d, Xe = te ?? a, ce = ae ?? l, J = H ?? u;
|
|
32306
32306
|
let be = { ...g };
|
|
32307
32307
|
O && e.split(",").forEach((ue) => {
|
|
32308
32308
|
ue && (be[ue] = [
|
|
@@ -32549,7 +32549,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
32549
32549
|
overflow: "hidden",
|
|
32550
32550
|
...y
|
|
32551
32551
|
},
|
|
32552
|
-
children: /* @__PURE__ */ b(rk, { injectFirst: !0, children: /* @__PURE__ */ b(AM, { theme:
|
|
32552
|
+
children: /* @__PURE__ */ b(rk, { injectFirst: !0, children: /* @__PURE__ */ b(AM, { theme: D, children: /* @__PURE__ */ Y(Tr, { children: [
|
|
32553
32553
|
/* @__PURE__ */ b(
|
|
32554
32554
|
zv,
|
|
32555
32555
|
{
|
|
@@ -32705,7 +32705,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
32705
32705
|
isActive: T = !0,
|
|
32706
32706
|
hasBeenActive: O = T
|
|
32707
32707
|
} = dh() || {}, { [t.source]: M = {} } = E, { useContenido: A = gu, ...R } = M, {
|
|
32708
|
-
data:
|
|
32708
|
+
data: D = [],
|
|
32709
32709
|
isFetching: P,
|
|
32710
32710
|
refetch: k
|
|
32711
32711
|
} = uk(
|
|
@@ -32718,7 +32718,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
32718
32718
|
{
|
|
32719
32719
|
enabled: i && !u && O
|
|
32720
32720
|
}
|
|
32721
|
-
), N = Vv(),
|
|
32721
|
+
), N = Vv(), $ = Dk({
|
|
32722
32722
|
apiRef: N,
|
|
32723
32723
|
initialState: a
|
|
32724
32724
|
});
|
|
@@ -32732,7 +32732,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
32732
32732
|
refetch: k,
|
|
32733
32733
|
apiRef: N
|
|
32734
32734
|
});
|
|
32735
|
-
const L =
|
|
32735
|
+
const L = D;
|
|
32736
32736
|
return O ? /* @__PURE__ */ b(
|
|
32737
32737
|
Fr,
|
|
32738
32738
|
{
|
|
@@ -32766,7 +32766,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
32766
32766
|
//header: <div>This is my custom Toolbar!</div>,
|
|
32767
32767
|
noRowsOverlay: E0
|
|
32768
32768
|
},
|
|
32769
|
-
initialState:
|
|
32769
|
+
initialState: $,
|
|
32770
32770
|
...l
|
|
32771
32771
|
}
|
|
32772
32772
|
) }) })
|
|
@@ -33199,7 +33199,7 @@ const tP = /* @__PURE__ */ s(() => {
|
|
|
33199
33199
|
}, "mergeMutationOptions"), ld = /* @__PURE__ */ new Set(), F9 = /* @__PURE__ */ s((t) => {
|
|
33200
33200
|
const { children: e, enableLoad: n, queryOptions: r, fichaProps: o, mutationOptions: i } = t, [a, l] = Pe(null), u = lr(), d = Uo(), p = pt(t), f = Ah(p), m = t.estado ?? (u?.state?.estado || "N"), h = u?.state?.record, y = t.record ?? h, g = t.id ?? u?.state?.id ?? y?.id ?? "-1", v = `${p}:${m}:${g}`, E = g === "-1" && y && typeof y == "object" && !Array.isArray(y) ? Object.fromEntries(
|
|
33201
33201
|
Object.entries(y).filter(
|
|
33202
|
-
([,
|
|
33202
|
+
([, D]) => D != null && (typeof D == "string" || typeof D == "number" || typeof D == "boolean")
|
|
33203
33203
|
)
|
|
33204
33204
|
) : {}, C = {
|
|
33205
33205
|
estado: m,
|
|
@@ -33231,19 +33231,19 @@ const tP = /* @__PURE__ */ s(() => {
|
|
|
33231
33231
|
]
|
|
33232
33232
|
);
|
|
33233
33233
|
return Ae(() => {
|
|
33234
|
-
let
|
|
33234
|
+
let D = !0;
|
|
33235
33235
|
return f ? (l(f.formConfig || {}), () => {
|
|
33236
|
-
|
|
33236
|
+
D = !1;
|
|
33237
33237
|
}) : n ? (l(null), M ? () => {
|
|
33238
|
-
|
|
33238
|
+
D = !1;
|
|
33239
33239
|
} : (d.getFichaConfig(p, { estado: m }).then((P) => {
|
|
33240
|
-
|
|
33240
|
+
D && l(P.data);
|
|
33241
33241
|
}).catch(() => {
|
|
33242
|
-
|
|
33242
|
+
D && l({});
|
|
33243
33243
|
}), () => {
|
|
33244
|
-
|
|
33244
|
+
D = !1;
|
|
33245
33245
|
})) : (l({}), () => {
|
|
33246
|
-
|
|
33246
|
+
D = !1;
|
|
33247
33247
|
});
|
|
33248
33248
|
}, [d, n, m, M, p, f]), n && a === null ? /* @__PURE__ */ b(Ws, { loadingPrimary: "", loadingSecondary: "", timeout: 0 }) : /* @__PURE__ */ b(w0, { value: R, children: /* @__PURE__ */ b(Nn.Provider, { value: a, children: e }) });
|
|
33249
33249
|
}, "CreateChildren"), zw = /* @__PURE__ */ s((t) => {
|
|
@@ -33459,11 +33459,11 @@ const tP = /* @__PURE__ */ s(() => {
|
|
|
33459
33459
|
onSelectionChange: u,
|
|
33460
33460
|
storeKey: d,
|
|
33461
33461
|
...p
|
|
33462
|
-
} = t, f = nt(Mc), m = n === "ventana" ? V9 : mk, h = Ah(e), { pathname: y, state: g } = lr(), v = Uo(), [x, E] = Pe(null), [C, w] = Pe(i), [T, O] = Pe([]), [M, A] = Pe({}), [R,
|
|
33462
|
+
} = t, f = nt(Mc), m = n === "ventana" ? V9 : mk, h = Ah(e), { pathname: y, state: g } = lr(), v = Uo(), [x, E] = Pe(null), [C, w] = Pe(i), [T, O] = Pe([]), [M, A] = Pe({}), [R, D] = Pe(
|
|
33463
33463
|
p.sort || { field: "id", order: "ASC" }
|
|
33464
33464
|
), [P, k] = Pe(
|
|
33465
33465
|
jw
|
|
33466
|
-
), N = rn(null),
|
|
33466
|
+
), N = rn(null), $ = /* @__PURE__ */ s((F) => {
|
|
33467
33467
|
w(F.target.checked);
|
|
33468
33468
|
}, "handleChange"), L = Le((F) => {
|
|
33469
33469
|
O(
|
|
@@ -33491,7 +33491,7 @@ const tP = /* @__PURE__ */ s(() => {
|
|
|
33491
33491
|
showFilter: Pl,
|
|
33492
33492
|
hideFilter: Pl,
|
|
33493
33493
|
sort: R,
|
|
33494
|
-
setSort:
|
|
33494
|
+
setSort: D,
|
|
33495
33495
|
defaultTitle: "",
|
|
33496
33496
|
exporter: !1,
|
|
33497
33497
|
resource: e,
|
|
@@ -33554,7 +33554,7 @@ const tP = /* @__PURE__ */ s(() => {
|
|
|
33554
33554
|
hasCreate: r,
|
|
33555
33555
|
hasSeleccionMultiple: o,
|
|
33556
33556
|
chkSeleccion: C,
|
|
33557
|
-
handleSeleccionMultiple:
|
|
33557
|
+
handleSeleccionMultiple: $,
|
|
33558
33558
|
hideViewModeMenu: a,
|
|
33559
33559
|
hideGridToolbarActions: l,
|
|
33560
33560
|
children: /* @__PURE__ */ b(_a, { children: /* @__PURE__ */ b(Nn.Provider, { value: x, children: /* @__PURE__ */ b(vC, { children: /* @__PURE__ */ b(
|
|
@@ -33563,7 +33563,7 @@ const tP = /* @__PURE__ */ s(() => {
|
|
|
33563
33563
|
value: u ?? (() => {
|
|
33564
33564
|
}),
|
|
33565
33565
|
children: /* @__PURE__ */ b(hk, { value: _, children: /* @__PURE__ */ Y(
|
|
33566
|
-
|
|
33566
|
+
Ut,
|
|
33567
33567
|
{
|
|
33568
33568
|
sx: {
|
|
33569
33569
|
display: "flex",
|
|
@@ -33573,7 +33573,7 @@ const tP = /* @__PURE__ */ s(() => {
|
|
|
33573
33573
|
height: "100%"
|
|
33574
33574
|
},
|
|
33575
33575
|
children: [
|
|
33576
|
-
p.actions !== !1 && p.actions ? /* @__PURE__ */ b(
|
|
33576
|
+
p.actions !== !1 && p.actions ? /* @__PURE__ */ b(Ut, { children: p.actions }) : null,
|
|
33577
33577
|
t.children
|
|
33578
33578
|
]
|
|
33579
33579
|
}
|
|
@@ -33587,7 +33587,7 @@ const tP = /* @__PURE__ */ s(() => {
|
|
|
33587
33587
|
hasCreate: r,
|
|
33588
33588
|
hasSeleccionMultiple: o,
|
|
33589
33589
|
chkSeleccion: C,
|
|
33590
|
-
handleSeleccionMultiple:
|
|
33590
|
+
handleSeleccionMultiple: $,
|
|
33591
33591
|
hideViewModeMenu: a,
|
|
33592
33592
|
hideGridToolbarActions: l,
|
|
33593
33593
|
children: /* @__PURE__ */ b(_a, { children: /* @__PURE__ */ b(Nn.Provider, { value: x, children: /* @__PURE__ */ b(vC, { children: /* @__PURE__ */ b(
|
|
@@ -33869,7 +33869,7 @@ const tP = /* @__PURE__ */ s(() => {
|
|
|
33869
33869
|
/* @__PURE__ */ Y(rl, { resource: f, onSubmit: r, children: [
|
|
33870
33870
|
/* @__PURE__ */ Y(fu, { dividers: !0, children: [
|
|
33871
33871
|
/* @__PURE__ */ b(S0, { children: a }),
|
|
33872
|
-
/* @__PURE__ */ b(
|
|
33872
|
+
/* @__PURE__ */ b(Ut, { sx: { mt: 2 }, children: l })
|
|
33873
33873
|
] }),
|
|
33874
33874
|
(u || d) && /* @__PURE__ */ Y(pu, { children: [
|
|
33875
33875
|
d && /* @__PURE__ */ b(
|
|
@@ -34002,7 +34002,7 @@ const tP = /* @__PURE__ */ s(() => {
|
|
|
34002
34002
|
...l
|
|
34003
34003
|
} = e;
|
|
34004
34004
|
return /* @__PURE__ */ Y(
|
|
34005
|
-
|
|
34005
|
+
Ut,
|
|
34006
34006
|
{
|
|
34007
34007
|
className: r ? `simple-form ${r}` : "simple-form",
|
|
34008
34008
|
sx: {
|
|
@@ -34017,7 +34017,7 @@ const tP = /* @__PURE__ */ s(() => {
|
|
|
34017
34017
|
...s8(l),
|
|
34018
34018
|
children: [
|
|
34019
34019
|
/* @__PURE__ */ b(
|
|
34020
|
-
|
|
34020
|
+
Ut,
|
|
34021
34021
|
{
|
|
34022
34022
|
sx: {
|
|
34023
34023
|
flex: 1,
|
|
@@ -34033,7 +34033,7 @@ const tP = /* @__PURE__ */ s(() => {
|
|
|
34033
34033
|
}
|
|
34034
34034
|
),
|
|
34035
34035
|
a !== !1 ? /* @__PURE__ */ b(
|
|
34036
|
-
|
|
34036
|
+
Ut,
|
|
34037
34037
|
{
|
|
34038
34038
|
sx: /* @__PURE__ */ s((u) => ({
|
|
34039
34039
|
flexShrink: 0,
|
|
@@ -34285,11 +34285,11 @@ const tP = /* @__PURE__ */ s(() => {
|
|
|
34285
34285
|
jsBotonGrilla: u = h8,
|
|
34286
34286
|
refresh: d = !0,
|
|
34287
34287
|
...p
|
|
34288
|
-
} = t, [f, m] = S.useState(null), [h, y] = S.useState(null), [g, v] = S.useState({}), x = lt(), E = Ii(), { displayedFilters: C, filterValues: w, exporter: T, showFilter: O } = E, M = pt(t), { hasCreate: A } = Bf(t), R = nt(aD) || r,
|
|
34288
|
+
} = t, [f, m] = S.useState(null), [h, y] = S.useState(null), [g, v] = S.useState({}), x = lt(), E = Ii(), { displayedFilters: C, filterValues: w, exporter: T, showFilter: O } = E, M = pt(t), { hasCreate: A } = Bf(t), R = nt(aD) || r, D = uh(t), P = nt(Nn) || {}, {
|
|
34289
34289
|
props: {
|
|
34290
34290
|
hasCreate: k,
|
|
34291
34291
|
hasSeleccionMultiple: N,
|
|
34292
|
-
chkSeleccion:
|
|
34292
|
+
chkSeleccion: $,
|
|
34293
34293
|
handleSeleccionMultiple: L,
|
|
34294
34294
|
actionsContainerRef: I,
|
|
34295
34295
|
filterActionsContainerRef: _,
|
|
@@ -34302,7 +34302,7 @@ const tP = /* @__PURE__ */ s(() => {
|
|
|
34302
34302
|
}
|
|
34303
34303
|
} = Jo(), q = !F && z === "pivot" ? "grilla" : z, { showCreate: K } = K0({ resource: M }), ee = Ir((X) => X.breakpoints.down("md"));
|
|
34304
34304
|
CN(e, () => I.current);
|
|
34305
|
-
const j = {
|
|
34305
|
+
const j = { ...D, ...E }, G = /* @__PURE__ */ s((X) => {
|
|
34306
34306
|
m(X.currentTarget);
|
|
34307
34307
|
}, "handleOpenMenu"), Z = /* @__PURE__ */ s(() => {
|
|
34308
34308
|
m(null), y(null);
|
|
@@ -34621,7 +34621,7 @@ const tP = /* @__PURE__ */ s(() => {
|
|
|
34621
34621
|
{
|
|
34622
34622
|
title: x("pos.multiple_selection"),
|
|
34623
34623
|
size: "medium",
|
|
34624
|
-
checked:
|
|
34624
|
+
checked: $,
|
|
34625
34625
|
onChange: L
|
|
34626
34626
|
},
|
|
34627
34627
|
"multiple"
|
|
@@ -34641,7 +34641,7 @@ const tP = /* @__PURE__ */ s(() => {
|
|
|
34641
34641
|
A,
|
|
34642
34642
|
k,
|
|
34643
34643
|
N,
|
|
34644
|
-
|
|
34644
|
+
$,
|
|
34645
34645
|
ee,
|
|
34646
34646
|
E.selectedIds,
|
|
34647
34647
|
j.data,
|
|
@@ -34828,7 +34828,7 @@ const e1 = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
34828
34828
|
sizes: f
|
|
34829
34829
|
},
|
|
34830
34830
|
ownerState: x
|
|
34831
|
-
}), [
|
|
34831
|
+
}), [D, P] = je("fallback", {
|
|
34832
34832
|
className: T.fallback,
|
|
34833
34833
|
elementType: x8,
|
|
34834
34834
|
externalForwardedProps: {
|
|
@@ -34840,7 +34840,7 @@ const e1 = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
34840
34840
|
});
|
|
34841
34841
|
return w ? v = /* @__PURE__ */ b(A, {
|
|
34842
34842
|
...R
|
|
34843
|
-
}) : i || i === 0 ? v = i : C && o ? v = o[0] : v = /* @__PURE__ */ b(
|
|
34843
|
+
}) : i || i === 0 ? v = i : C && o ? v = o[0] : v = /* @__PURE__ */ b(D, {
|
|
34844
34844
|
...P
|
|
34845
34845
|
}), /* @__PURE__ */ b(O, {
|
|
34846
34846
|
...M,
|
|
@@ -35540,7 +35540,7 @@ const lne = /* @__PURE__ */ s((t) => {
|
|
|
35540
35540
|
}, "handleTabChange"), A = tt(() => bc.toArray(n), [n]), R = tt(
|
|
35541
35541
|
() => A.reduce((F, W) => Jw(W) ? [...F, { tab: W, tabIndex: F.length }] : F, []),
|
|
35542
35542
|
[A]
|
|
35543
|
-
),
|
|
35543
|
+
), D = tt(() => a ? R.findIndex(({ tab: F, tabIndex: W }) => {
|
|
35544
35544
|
const Q = Nu(F, W);
|
|
35545
35545
|
return vc(
|
|
35546
35546
|
`${g}/${Q}`,
|
|
@@ -35552,7 +35552,7 @@ const lne = /* @__PURE__ */ s((t) => {
|
|
|
35552
35552
|
a,
|
|
35553
35553
|
h,
|
|
35554
35554
|
R
|
|
35555
|
-
]), P = tt(() => !a ||
|
|
35555
|
+
]), P = tt(() => !a || D >= 0 ? D : R.length ? 0 : -1, [D, a, R.length]), k = tt(() => {
|
|
35556
35556
|
if (a) {
|
|
35557
35557
|
const F = R[P];
|
|
35558
35558
|
return F ? Nu(
|
|
@@ -35561,14 +35561,14 @@ const lne = /* @__PURE__ */ s((t) => {
|
|
|
35561
35561
|
) : !1;
|
|
35562
35562
|
}
|
|
35563
35563
|
return h;
|
|
35564
|
-
}, [P, a, R, h]), N = rn(
|
|
35564
|
+
}, [P, a, R, h]), N = rn(D);
|
|
35565
35565
|
Ae(() => {
|
|
35566
|
-
if (N.current ===
|
|
35566
|
+
if (N.current === D)
|
|
35567
35567
|
return;
|
|
35568
35568
|
const F = T + w, W = P < 0 ? 0 : P;
|
|
35569
|
-
W < T ? O(W) : W >= F && O(W - w + 1), N.current =
|
|
35569
|
+
W < T ? O(W) : W >= F && O(W - w + 1), N.current = D;
|
|
35570
35570
|
}, [P, w, T]);
|
|
35571
|
-
const
|
|
35571
|
+
const $ = tt(() => R.map(({ tab: F, tabIndex: W }) => {
|
|
35572
35572
|
const Q = a ? Nu(F, W) : W, q = E || W >= T && W < T + w, K = F.props?.style ?? {}, ee = q ? K : {
|
|
35573
35573
|
...K,
|
|
35574
35574
|
minWidth: 0,
|
|
@@ -35600,7 +35600,7 @@ const lne = /* @__PURE__ */ s((t) => {
|
|
|
35600
35600
|
variant: "scrollable",
|
|
35601
35601
|
scrollButtons: !1
|
|
35602
35602
|
},
|
|
35603
|
-
|
|
35603
|
+
$
|
|
35604
35604
|
) : /* @__PURE__ */ Y(H8, { className: In.navigation, children: [
|
|
35605
35605
|
/* @__PURE__ */ b(
|
|
35606
35606
|
Hr,
|
|
@@ -35624,7 +35624,7 @@ const lne = /* @__PURE__ */ s((t) => {
|
|
|
35624
35624
|
value: k,
|
|
35625
35625
|
variant: V
|
|
35626
35626
|
},
|
|
35627
|
-
|
|
35627
|
+
$
|
|
35628
35628
|
),
|
|
35629
35629
|
/* @__PURE__ */ b(
|
|
35630
35630
|
Hr,
|
|
@@ -35637,7 +35637,7 @@ const lne = /* @__PURE__ */ s((t) => {
|
|
|
35637
35637
|
)
|
|
35638
35638
|
] }), "renderTabHeaders");
|
|
35639
35639
|
return /* @__PURE__ */ Y(
|
|
35640
|
-
|
|
35640
|
+
Ut,
|
|
35641
35641
|
{
|
|
35642
35642
|
className: r ? `tabbed-form ${r}` : "tabbed-form",
|
|
35643
35643
|
sx: /* @__PURE__ */ s((F) => ({
|
|
@@ -35690,7 +35690,7 @@ const lne = /* @__PURE__ */ s((t) => {
|
|
|
35690
35690
|
...W8(p),
|
|
35691
35691
|
children: [
|
|
35692
35692
|
/* @__PURE__ */ Y(
|
|
35693
|
-
|
|
35693
|
+
Ut,
|
|
35694
35694
|
{
|
|
35695
35695
|
className: In.header,
|
|
35696
35696
|
sx: { flexShrink: 0 },
|
|
@@ -35701,7 +35701,7 @@ const lne = /* @__PURE__ */ s((t) => {
|
|
|
35701
35701
|
}
|
|
35702
35702
|
),
|
|
35703
35703
|
/* @__PURE__ */ b(
|
|
35704
|
-
|
|
35704
|
+
Ut,
|
|
35705
35705
|
{
|
|
35706
35706
|
sx: {
|
|
35707
35707
|
flex: 1,
|
|
@@ -35743,7 +35743,7 @@ const lne = /* @__PURE__ */ s((t) => {
|
|
|
35743
35743
|
}
|
|
35744
35744
|
),
|
|
35745
35745
|
u !== !1 ? /* @__PURE__ */ b(
|
|
35746
|
-
|
|
35746
|
+
Ut,
|
|
35747
35747
|
{
|
|
35748
35748
|
sx: /* @__PURE__ */ s((F) => ({
|
|
35749
35749
|
flexShrink: 0,
|
|
@@ -36364,7 +36364,7 @@ const Zw = S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
36364
36364
|
saveAlwaysEnable: M,
|
|
36365
36365
|
cancelLabel: A,
|
|
36366
36366
|
confirmLabel: R,
|
|
36367
|
-
hasForm:
|
|
36367
|
+
hasForm: D,
|
|
36368
36368
|
contentScroll: P = "dialog"
|
|
36369
36369
|
}) => {
|
|
36370
36370
|
const k = /* @__PURE__ */ Y(Tr, { children: [
|
|
@@ -36395,7 +36395,7 @@ const Zw = S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
36395
36395
|
children: /* @__PURE__ */ b(Ul, {})
|
|
36396
36396
|
}
|
|
36397
36397
|
),
|
|
36398
|
-
|
|
36398
|
+
!D && T && /* @__PURE__ */ b(
|
|
36399
36399
|
Qc,
|
|
36400
36400
|
{
|
|
36401
36401
|
label: R,
|
|
@@ -36422,7 +36422,7 @@ const Zw = S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
36422
36422
|
minHeight: 0
|
|
36423
36423
|
}
|
|
36424
36424
|
},
|
|
36425
|
-
children:
|
|
36425
|
+
children: D ? k : /* @__PURE__ */ b(rl, { resource: r, onSubmit: x, children: k })
|
|
36426
36426
|
}
|
|
36427
36427
|
)
|
|
36428
36428
|
] });
|
|
@@ -36470,11 +36470,11 @@ const Zw = S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
36470
36470
|
tipo: M = "form",
|
|
36471
36471
|
botonesExtra: A = [],
|
|
36472
36472
|
showAceptar: R = !0,
|
|
36473
|
-
showCancelar:
|
|
36473
|
+
showCancelar: D = !0,
|
|
36474
36474
|
formDividers: P = !0,
|
|
36475
36475
|
saveAlwaysEnable: k = !1,
|
|
36476
36476
|
cancelLabel: N = "ra.action.cancel",
|
|
36477
|
-
confirmLabel:
|
|
36477
|
+
confirmLabel: $ = "ra.action.confirm",
|
|
36478
36478
|
hasForm: L = !1,
|
|
36479
36479
|
dialogProps: I = {}
|
|
36480
36480
|
} = g || {}, {
|
|
@@ -36515,10 +36515,10 @@ const Zw = S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
36515
36515
|
aceptar: T,
|
|
36516
36516
|
cancelar: O,
|
|
36517
36517
|
cancelLabel: N,
|
|
36518
|
-
confirmLabel:
|
|
36518
|
+
confirmLabel: $,
|
|
36519
36519
|
botonesExtra: A,
|
|
36520
36520
|
showAceptar: R,
|
|
36521
|
-
showCancelar:
|
|
36521
|
+
showCancelar: D
|
|
36522
36522
|
})
|
|
36523
36523
|
},
|
|
36524
36524
|
`asistente_${v}`
|
|
@@ -36539,12 +36539,12 @@ const Zw = S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
36539
36539
|
aceptar: T,
|
|
36540
36540
|
cancelar: O,
|
|
36541
36541
|
botonesExtra: A,
|
|
36542
|
-
showCancelar:
|
|
36542
|
+
showCancelar: D,
|
|
36543
36543
|
showAceptar: R,
|
|
36544
36544
|
formDividers: P,
|
|
36545
36545
|
saveAlwaysEnable: k,
|
|
36546
36546
|
cancelLabel: N,
|
|
36547
|
-
confirmLabel:
|
|
36547
|
+
confirmLabel: $,
|
|
36548
36548
|
hasForm: L,
|
|
36549
36549
|
contentScroll: z
|
|
36550
36550
|
}) : m({
|
|
@@ -36724,7 +36724,7 @@ const bne = /* @__PURE__ */ s(({ title: t, children: e, sx: n, source: r, ...o }
|
|
|
36724
36724
|
...o
|
|
36725
36725
|
}), l = a.title ?? a.label ?? t;
|
|
36726
36726
|
return i ? null : /* @__PURE__ */ Y(
|
|
36727
|
-
|
|
36727
|
+
Ut,
|
|
36728
36728
|
{
|
|
36729
36729
|
sx: {
|
|
36730
36730
|
width: "auto",
|
|
@@ -37425,26 +37425,51 @@ const a7 = me([/* @__PURE__ */ b("circle", {
|
|
|
37425
37425
|
accept: p,
|
|
37426
37426
|
download: f = !0,
|
|
37427
37427
|
...m
|
|
37428
|
-
} = n, h = a === "image" ? c7 : typeof p == "string" || p && typeof p == "object" ? p : void 0, y = /* @__PURE__ */ s((
|
|
37429
|
-
const
|
|
37430
|
-
return
|
|
37428
|
+
} = n, h = a === "image" ? c7 : typeof p == "string" || p && typeof p == "object" ? p : void 0, y = /* @__PURE__ */ s((D) => {
|
|
37429
|
+
const P = (D.name || "").toLowerCase(), k = (D.type || "").toLowerCase();
|
|
37430
|
+
return P.endsWith(".zip") || k === "application/zip" || k === "application/x-zip-compressed" ? null : u7.some((N) => P.endsWith(N)) ? {
|
|
37431
37431
|
code: "file-executable-blocked",
|
|
37432
37432
|
message: g("pos.executables_not_allowed")
|
|
37433
|
-
} : d7.some((
|
|
37433
|
+
} : d7.some((N) => k.startsWith(N)) ? {
|
|
37434
37434
|
code: "file-executable-blocked",
|
|
37435
37435
|
message: g("pos.executables_zip_only")
|
|
37436
37436
|
} : null;
|
|
37437
|
-
}, "validatorNonImage"), g = lt(), v = Nr(t), [x, E] = Pe(() => Date.now()), C = Ir((
|
|
37437
|
+
}, "validatorNonImage"), g = lt(), v = Nr(t), [x, E] = Pe(() => Date.now()), C = Ir((D) => D.breakpoints.down("sm")), w = kn(), [T, O] = Pe(
|
|
37438
37438
|
v && u ? Sb(`${u}/${v[m.source]}`, x) : void 0
|
|
37439
37439
|
);
|
|
37440
37440
|
if (!w)
|
|
37441
37441
|
return null;
|
|
37442
|
-
const M = w.getValues()[m.source], A = T ?? "#"
|
|
37442
|
+
const M = w.getValues()[m.source], A = T ?? "#", R = /* @__PURE__ */ Y(Ut, { sx: { display: "inline-block", ml: 1 }, children: [
|
|
37443
|
+
/* @__PURE__ */ b(
|
|
37444
|
+
Hr,
|
|
37445
|
+
{
|
|
37446
|
+
component: vb,
|
|
37447
|
+
href: A,
|
|
37448
|
+
target: "_blank",
|
|
37449
|
+
size: "small",
|
|
37450
|
+
title: g("pos.view_attachment"),
|
|
37451
|
+
children: /* @__PURE__ */ b(e7, { color: "primary" })
|
|
37452
|
+
}
|
|
37453
|
+
),
|
|
37454
|
+
/* @__PURE__ */ b(
|
|
37455
|
+
Hr,
|
|
37456
|
+
{
|
|
37457
|
+
sx: { ml: 1 },
|
|
37458
|
+
component: vb,
|
|
37459
|
+
href: A,
|
|
37460
|
+
download: f,
|
|
37461
|
+
target: "_blank",
|
|
37462
|
+
size: "small",
|
|
37463
|
+
title: g("pos.download_attachment"),
|
|
37464
|
+
children: /* @__PURE__ */ b(t7, { color: "success" })
|
|
37465
|
+
}
|
|
37466
|
+
)
|
|
37467
|
+
] });
|
|
37443
37468
|
return Ae(() => {
|
|
37444
37469
|
E(Date.now());
|
|
37445
37470
|
}, [M]), Ae(() => {
|
|
37446
|
-
d && M && (M?.src ? O(M.src) : d(M).then((
|
|
37447
|
-
O(Sb(
|
|
37471
|
+
d && M && (M?.src ? O(M.src) : d(M).then((D) => {
|
|
37472
|
+
O(Sb(D, x));
|
|
37448
37473
|
}));
|
|
37449
37474
|
}, [M, x, d]), !r && (a === "image" ? /* @__PURE__ */ Y(
|
|
37450
37475
|
dp,
|
|
@@ -37462,14 +37487,17 @@ const a7 = me([/* @__PURE__ */ b("circle", {
|
|
|
37462
37487
|
maxSize: 5e6,
|
|
37463
37488
|
...m,
|
|
37464
37489
|
options: { readOnly: i, ...o },
|
|
37465
|
-
format: /* @__PURE__ */ s((
|
|
37490
|
+
format: /* @__PURE__ */ s((D) => rT(D, u, T, x), "format"),
|
|
37466
37491
|
placeholder: g("ra.input.image.upload_single"),
|
|
37467
37492
|
accept: h,
|
|
37468
37493
|
multiple: !1,
|
|
37469
37494
|
inputProps: {
|
|
37470
37495
|
capture: "user"
|
|
37471
37496
|
},
|
|
37472
|
-
children: /* @__PURE__ */
|
|
37497
|
+
children: /* @__PURE__ */ Y(Ut, { children: [
|
|
37498
|
+
/* @__PURE__ */ b(bD, { source: "src", title: "" }, T ?? x),
|
|
37499
|
+
R
|
|
37500
|
+
] })
|
|
37473
37501
|
}
|
|
37474
37502
|
),
|
|
37475
37503
|
!C && /* @__PURE__ */ b(nT, { sx: { mt: 3 }, field: m.source })
|
|
@@ -37493,43 +37521,18 @@ const a7 = me([/* @__PURE__ */ b("circle", {
|
|
|
37493
37521
|
options: {
|
|
37494
37522
|
readOnly: i,
|
|
37495
37523
|
...a !== "image" ? { validator: y } : {},
|
|
37496
|
-
onDropRejected: /* @__PURE__ */ s((
|
|
37524
|
+
onDropRejected: /* @__PURE__ */ s((D) => {
|
|
37497
37525
|
e(
|
|
37498
|
-
|
|
37526
|
+
D?.[0]?.errors?.[0]?.message ?? g("pos.file_not_allowed"),
|
|
37499
37527
|
{ type: "error" }
|
|
37500
37528
|
);
|
|
37501
37529
|
}, "onDropRejected"),
|
|
37502
37530
|
...o
|
|
37503
37531
|
},
|
|
37504
|
-
format: /* @__PURE__ */ s((
|
|
37532
|
+
format: /* @__PURE__ */ s((D) => rT(D, u, T, x), "format"),
|
|
37505
37533
|
placeholder: g("ra.input.file.upload_single"),
|
|
37506
37534
|
...h ? { accept: h } : {},
|
|
37507
|
-
children:
|
|
37508
|
-
/* @__PURE__ */ b(
|
|
37509
|
-
Hr,
|
|
37510
|
-
{
|
|
37511
|
-
component: vb,
|
|
37512
|
-
href: A,
|
|
37513
|
-
target: "_blank",
|
|
37514
|
-
size: "small",
|
|
37515
|
-
title: g("pos.view_attachment"),
|
|
37516
|
-
children: /* @__PURE__ */ b(e7, { color: "primary" })
|
|
37517
|
-
}
|
|
37518
|
-
),
|
|
37519
|
-
/* @__PURE__ */ b(
|
|
37520
|
-
Hr,
|
|
37521
|
-
{
|
|
37522
|
-
sx: { ml: 1 },
|
|
37523
|
-
component: vb,
|
|
37524
|
-
href: A,
|
|
37525
|
-
download: f,
|
|
37526
|
-
target: "_blank",
|
|
37527
|
-
size: "small",
|
|
37528
|
-
title: g("pos.download_attachment"),
|
|
37529
|
-
children: /* @__PURE__ */ b(t7, { color: "success" })
|
|
37530
|
-
}
|
|
37531
|
-
)
|
|
37532
|
-
] })
|
|
37535
|
+
children: R
|
|
37533
37536
|
}
|
|
37534
37537
|
),
|
|
37535
37538
|
l && /* @__PURE__ */ b(nT, { sx: { mt: 3 }, field: m.source })
|
|
@@ -37713,18 +37716,18 @@ const a7 = me([/* @__PURE__ */ b("circle", {
|
|
|
37713
37716
|
asistantResource: f,
|
|
37714
37717
|
perPage: m = 500,
|
|
37715
37718
|
...h
|
|
37716
|
-
} = e, { source: y, reference: g, fullWidth: v = !1 } = t, x = pt(t), E = Ah(x), [C, w] = Pe([]), T = typeof h.optionText == "string" ? h.optionText : "etiqueta", O = Xo(), M = Wv((
|
|
37717
|
-
let
|
|
37719
|
+
} = e, { source: y, reference: g, fullWidth: v = !1 } = t, x = pt(t), E = Ah(x), [C, w] = Pe([]), T = typeof h.optionText == "string" ? h.optionText : "etiqueta", O = Xo(), M = Wv(($) => x0($.reload_cb, y, O)), A = rn(M), R = M === null && A.current ? A.current : M;
|
|
37720
|
+
let D, P;
|
|
37718
37721
|
if (R) {
|
|
37719
|
-
const { callback:
|
|
37720
|
-
|
|
37722
|
+
const { callback: $, ...L } = R;
|
|
37723
|
+
D = $, P = L;
|
|
37721
37724
|
}
|
|
37722
37725
|
const k = Le(
|
|
37723
|
-
(
|
|
37726
|
+
($, L) => {
|
|
37724
37727
|
const I = {
|
|
37725
37728
|
...L?.data && typeof L.data == "object" ? L.data : {},
|
|
37726
|
-
|
|
37727
|
-
}, _ =
|
|
37729
|
+
...$ && typeof $ == "object" ? $ : {}
|
|
37730
|
+
}, _ = $?.id ?? $?.[y] ?? I?.id ?? I?.[y] ?? L?.id ?? L?.data?.id ?? L?.data?.[y], z = m7(I, _, y);
|
|
37728
37731
|
z && z.id !== void 0 && z.id !== null && z.id !== "" && (w((V) => V.some(
|
|
37729
37732
|
(F) => Ga(F?.id, z.id)
|
|
37730
37733
|
) ? V : [z, ...V].slice(0, 10)), o.setQueriesData(
|
|
@@ -37755,7 +37758,7 @@ const a7 = me([/* @__PURE__ */ b("circle", {
|
|
|
37755
37758
|
},
|
|
37756
37759
|
[i, o, g, y]
|
|
37757
37760
|
), N = Le(
|
|
37758
|
-
(
|
|
37761
|
+
($, L, I) => {
|
|
37759
37762
|
I === "input" && Array.isArray(C) && C.length > 0 && L !== void 0 && w([]);
|
|
37760
37763
|
},
|
|
37761
37764
|
[C]
|
|
@@ -37803,7 +37806,7 @@ const a7 = me([/* @__PURE__ */ b("circle", {
|
|
|
37803
37806
|
g7,
|
|
37804
37807
|
{
|
|
37805
37808
|
...h,
|
|
37806
|
-
callback:
|
|
37809
|
+
callback: D,
|
|
37807
37810
|
callbackKey: R,
|
|
37808
37811
|
fullWidth: v,
|
|
37809
37812
|
injectedChoices: C,
|
|
@@ -37931,7 +37934,7 @@ const a7 = me([/* @__PURE__ */ b("circle", {
|
|
|
37931
37934
|
e || i.onChange(a.filter((y) => y !== h));
|
|
37932
37935
|
}, "moveLeft");
|
|
37933
37936
|
return /* @__PURE__ */ b(
|
|
37934
|
-
|
|
37937
|
+
Ut,
|
|
37935
37938
|
{
|
|
37936
37939
|
sx: {
|
|
37937
37940
|
...o,
|
|
@@ -37941,7 +37944,7 @@ const a7 = me([/* @__PURE__ */ b("circle", {
|
|
|
37941
37944
|
verticalAlign: "top"
|
|
37942
37945
|
},
|
|
37943
37946
|
children: /* @__PURE__ */ b(zv, { label: n, fullWidth: !0, children: /* @__PURE__ */ Y(
|
|
37944
|
-
|
|
37947
|
+
Ut,
|
|
37945
37948
|
{
|
|
37946
37949
|
sx: {
|
|
37947
37950
|
display: "grid",
|
|
@@ -38035,7 +38038,7 @@ const a7 = me([/* @__PURE__ */ b("circle", {
|
|
|
38035
38038
|
}
|
|
38036
38039
|
u((V) => V.filter((B) => B !== z));
|
|
38037
38040
|
}
|
|
38038
|
-
}, "handleDoubleClick"),
|
|
38041
|
+
}, "handleDoubleClick"), D = /* @__PURE__ */ s(() => {
|
|
38039
38042
|
const I = (Array.isArray(C) ? C : []).map((_) => _.id).filter((_) => _ != null);
|
|
38040
38043
|
f.setValue(n, I, { shouldDirty: !0 }), u([]);
|
|
38041
38044
|
}, "handleAllRight"), P = /* @__PURE__ */ s(() => {
|
|
@@ -38063,7 +38066,7 @@ const a7 = me([/* @__PURE__ */ b("circle", {
|
|
|
38063
38066
|
(V) => !_.has(V)
|
|
38064
38067
|
);
|
|
38065
38068
|
f.setValue(n, z, { shouldDirty: !0 }), u(sT(l, I));
|
|
38066
|
-
}, "handleCheckedLeft"),
|
|
38069
|
+
}, "handleCheckedLeft"), $ = /* @__PURE__ */ s(() => {
|
|
38067
38070
|
typeof f.resetField == "function" ? f.resetField(n, { defaultValue: y }) : f.setValue(n, y, { shouldDirty: !1 }), u([]), p(null);
|
|
38068
38071
|
}, "handleResetChanges"), L = /* @__PURE__ */ s((I, _, z = {}) => {
|
|
38069
38072
|
const V = _ ? "Disponibles..." : "Seleccionados...", B = /* @__PURE__ */ s((W) => {
|
|
@@ -38181,7 +38184,7 @@ const a7 = me([/* @__PURE__ */ b("circle", {
|
|
|
38181
38184
|
);
|
|
38182
38185
|
}, "customList");
|
|
38183
38186
|
return /* @__PURE__ */ Y(
|
|
38184
|
-
|
|
38187
|
+
Ut,
|
|
38185
38188
|
{
|
|
38186
38189
|
sx: /* @__PURE__ */ s((I) => ({
|
|
38187
38190
|
display: "grid",
|
|
@@ -38218,7 +38221,7 @@ const a7 = me([/* @__PURE__ */ b("circle", {
|
|
|
38218
38221
|
}
|
|
38219
38222
|
),
|
|
38220
38223
|
/* @__PURE__ */ Y(
|
|
38221
|
-
|
|
38224
|
+
Ut,
|
|
38222
38225
|
{
|
|
38223
38226
|
sx: /* @__PURE__ */ s((I) => ({
|
|
38224
38227
|
display: "flex",
|
|
@@ -38234,7 +38237,7 @@ const a7 = me([/* @__PURE__ */ b("circle", {
|
|
|
38234
38237
|
{
|
|
38235
38238
|
variant: "contained",
|
|
38236
38239
|
size: "small",
|
|
38237
|
-
onClick:
|
|
38240
|
+
onClick: D,
|
|
38238
38241
|
disabled: M.length === 0,
|
|
38239
38242
|
sx: /* @__PURE__ */ s((I) => ({
|
|
38240
38243
|
backgroundColor: M.length === 0 ? I.palette.grey[300] : I.palette.primary.main,
|
|
@@ -38285,7 +38288,7 @@ const a7 = me([/* @__PURE__ */ b("circle", {
|
|
|
38285
38288
|
{
|
|
38286
38289
|
variant: "contained",
|
|
38287
38290
|
size: "small",
|
|
38288
|
-
onClick:
|
|
38291
|
+
onClick: $,
|
|
38289
38292
|
sx: /* @__PURE__ */ s((I) => ({
|
|
38290
38293
|
backgroundColor: I.palette.grey[100],
|
|
38291
38294
|
color: I.palette.text.secondary,
|
|
@@ -38351,7 +38354,7 @@ const a7 = me([/* @__PURE__ */ b("circle", {
|
|
|
38351
38354
|
]
|
|
38352
38355
|
}
|
|
38353
38356
|
),
|
|
38354
|
-
/* @__PURE__ */ b(
|
|
38357
|
+
/* @__PURE__ */ b(Ut, { sx: /* @__PURE__ */ s((I) => ({ minWidth: 0, pt: I.spacing(2) }), "sx"), children: L(
|
|
38355
38358
|
T,
|
|
38356
38359
|
!1,
|
|
38357
38360
|
(I) => ({
|
|
@@ -39558,7 +39561,7 @@ const TP = ul((t) => t.selectedItems, (t) => Array.isArray(t) ? t : t != null ?
|
|
|
39558
39561
|
return t.forEach((n) => {
|
|
39559
39562
|
e.set(n, !0);
|
|
39560
39563
|
}), e;
|
|
39561
|
-
}),
|
|
39564
|
+
}), Yt = {
|
|
39562
39565
|
/**
|
|
39563
39566
|
* Gets the expanded items as provided to the component.
|
|
39564
39567
|
*/
|
|
@@ -39612,11 +39615,11 @@ const TP = ul((t) => t.selectedItems, (t) => Array.isArray(t) ? t : t != null ?
|
|
|
39612
39615
|
if (i === -1)
|
|
39613
39616
|
return n.parentId == null ? null : EP(t, n.parentId);
|
|
39614
39617
|
let a = r[i], l = Tb(t, Oe.itemOrderedChildrenIds(t, a));
|
|
39615
|
-
for (;
|
|
39618
|
+
for (; Yt.isItemExpanded(t, a) && l != null; )
|
|
39616
39619
|
a = l, l = Tb(t, Oe.itemOrderedChildrenIds(t, a));
|
|
39617
39620
|
return a;
|
|
39618
39621
|
}, "getPreviousNavigableItem"), Dd = /* @__PURE__ */ s((t, e) => {
|
|
39619
|
-
if (
|
|
39622
|
+
if (Yt.isItemExpanded(t, e)) {
|
|
39620
39623
|
const r = Oe.itemOrderedChildrenIds(t, e).find((o) => Oe.canItemBeFocused(t, o));
|
|
39621
39624
|
if (r != null)
|
|
39622
39625
|
return r;
|
|
@@ -39636,7 +39639,7 @@ const TP = ul((t) => t.selectedItems, (t) => Array.isArray(t) ? t : t != null ?
|
|
|
39636
39639
|
return null;
|
|
39637
39640
|
}, "getNextNavigableItem"), OP = /* @__PURE__ */ s((t) => {
|
|
39638
39641
|
let e = null;
|
|
39639
|
-
for (; e == null ||
|
|
39642
|
+
for (; e == null || Yt.isItemExpanded(t, e); ) {
|
|
39640
39643
|
const n = Oe.itemOrderedChildrenIds(t, e), r = Tb(t, n);
|
|
39641
39644
|
if (r == null)
|
|
39642
39645
|
return e;
|
|
@@ -39659,7 +39662,7 @@ const TP = ul((t) => t.selectedItems, (t) => Array.isArray(t) ? t : t != null ?
|
|
|
39659
39662
|
return y.indexOf(g) < y.indexOf(v) ? [e, n] : [n, e];
|
|
39660
39663
|
}, "findOrderInTremauxTree"), Z7 = /* @__PURE__ */ s((t, e, n) => {
|
|
39661
39664
|
const r = /* @__PURE__ */ s((u) => {
|
|
39662
|
-
if (
|
|
39665
|
+
if (Yt.isItemExpandable(t, u) && Yt.isItemExpanded(t, u))
|
|
39663
39666
|
return Oe.itemOrderedChildrenIds(t, u)[0];
|
|
39664
39667
|
let d = Oe.itemMeta(t, u);
|
|
39665
39668
|
for (; d != null; ) {
|
|
@@ -40043,7 +40046,7 @@ const K1 = class K1 {
|
|
|
40043
40046
|
* @param {TreeViewItemId} itemId The id of the item to check.
|
|
40044
40047
|
* @returns {boolean} `true` if the item is expanded, `false` otherwise.
|
|
40045
40048
|
*/
|
|
40046
|
-
isItemExpanded = /* @__PURE__ */ s((e) =>
|
|
40049
|
+
isItemExpanded = /* @__PURE__ */ s((e) => Yt.isItemExpanded(this.store.state, e), "isItemExpanded");
|
|
40047
40050
|
buildPublicAPI = /* @__PURE__ */ s(() => ({
|
|
40048
40051
|
isItemExpanded: this.isItemExpanded,
|
|
40049
40052
|
setItemExpansion: this.setItemExpansion
|
|
@@ -40060,7 +40063,7 @@ const K1 = class K1 {
|
|
|
40060
40063
|
event: n = null,
|
|
40061
40064
|
shouldBeExpanded: r
|
|
40062
40065
|
}) => {
|
|
40063
|
-
const o =
|
|
40066
|
+
const o = Yt.isItemExpanded(this.store.state, e), i = r ?? !o;
|
|
40064
40067
|
if (o === i)
|
|
40065
40068
|
return;
|
|
40066
40069
|
const a = {
|
|
@@ -40088,7 +40091,7 @@ const K1 = class K1 {
|
|
|
40088
40091
|
event: n,
|
|
40089
40092
|
shouldBeExpanded: r
|
|
40090
40093
|
}) => {
|
|
40091
|
-
const o =
|
|
40094
|
+
const o = Yt.expandedItemsRaw(this.store.state);
|
|
40092
40095
|
let i;
|
|
40093
40096
|
r ? i = [e].concat(o) : i = o.filter((a) => a !== e), this.store.parameters.onItemExpansionToggle?.(n, e, r), this.setExpandedItems(n, i);
|
|
40094
40097
|
}, "applyItemExpansion");
|
|
@@ -40101,7 +40104,7 @@ const K1 = class K1 {
|
|
|
40101
40104
|
const r = Oe.itemMeta(this.store.state, n);
|
|
40102
40105
|
if (r == null)
|
|
40103
40106
|
return;
|
|
40104
|
-
const i = Oe.itemOrderedChildrenIds(this.store.state, r.parentId).filter((l) =>
|
|
40107
|
+
const i = Oe.itemOrderedChildrenIds(this.store.state, r.parentId).filter((l) => Yt.isItemExpandable(this.store.state, l) && !Yt.isItemExpanded(this.store.state, l)), a = Yt.expandedItemsRaw(this.store.state).concat(i);
|
|
40105
40108
|
i.length > 0 && (this.store.parameters.onItemExpansionToggle && i.forEach((l) => {
|
|
40106
40109
|
this.store.parameters.onItemExpansionToggle(e, l, !0);
|
|
40107
40110
|
}), this.setExpandedItems(e, a));
|
|
@@ -40144,7 +40147,7 @@ const ha = {
|
|
|
40144
40147
|
});
|
|
40145
40148
|
}
|
|
40146
40149
|
canToggleItemSelection = /* @__PURE__ */ s((e) => dt.canItemBeSelected(this.store.state, e), "canToggleItemSelection");
|
|
40147
|
-
canToggleItemExpansion = /* @__PURE__ */ s((e) => !Oe.isItemDisabled(this.store.state, e) &&
|
|
40150
|
+
canToggleItemExpansion = /* @__PURE__ */ s((e) => !Oe.isItemDisabled(this.store.state, e) && Yt.isItemExpandable(this.store.state, e), "canToggleItemExpansion");
|
|
40148
40151
|
getFirstItemMatchingTypeaheadQuery = /* @__PURE__ */ s((e, n) => {
|
|
40149
40152
|
const r = /* @__PURE__ */ s((d) => {
|
|
40150
40153
|
const p = Dd(this.store.state, d);
|
|
@@ -40226,7 +40229,7 @@ const ha = {
|
|
|
40226
40229
|
case (o === "ArrowRight" && !this.store.parameters.isRtl || o === "ArrowLeft" && this.store.parameters.isRtl): {
|
|
40227
40230
|
if (r)
|
|
40228
40231
|
return;
|
|
40229
|
-
if (
|
|
40232
|
+
if (Yt.isItemExpanded(this.store.state, n)) {
|
|
40230
40233
|
const a = Dd(this.store.state, n);
|
|
40231
40234
|
a && (this.store.focus.focusItem(e, a), e.preventDefault());
|
|
40232
40235
|
} else this.canToggleItemExpansion(n) && (this.store.expansion.setItemExpansion({
|
|
@@ -40240,7 +40243,7 @@ const ha = {
|
|
|
40240
40243
|
case (o === "ArrowLeft" && !this.store.parameters.isRtl || o === "ArrowRight" && this.store.parameters.isRtl): {
|
|
40241
40244
|
if (r)
|
|
40242
40245
|
return;
|
|
40243
|
-
if (this.canToggleItemExpansion(n) &&
|
|
40246
|
+
if (this.canToggleItemExpansion(n) && Yt.isItemExpanded(this.store.state, n))
|
|
40244
40247
|
this.store.expansion.setItemExpansion({
|
|
40245
40248
|
event: e,
|
|
40246
40249
|
itemId: n
|
|
@@ -40297,7 +40300,7 @@ function mT(t) {
|
|
|
40297
40300
|
return Object.values(t).forEach(n), e;
|
|
40298
40301
|
}
|
|
40299
40302
|
s(mT, "createLabelMapFromItemMetaLookup");
|
|
40300
|
-
const gT = ul(dt.selectedItems,
|
|
40303
|
+
const gT = ul(dt.selectedItems, Yt.expandedItemsMap, Oe.itemMetaLookup, Oe.disabledItemFocusable, (t) => Oe.itemOrderedChildrenIds(t, null), (t, e, n, r, o) => {
|
|
40301
40304
|
const i = t.find((l) => {
|
|
40302
40305
|
if (!r && hp(n, l))
|
|
40303
40306
|
return !1;
|
|
@@ -40362,7 +40365,7 @@ const gT = ul(dt.selectedItems, Kt.expandedItemsMap, Oe.itemMetaLookup, Oe.disab
|
|
|
40362
40365
|
*/
|
|
40363
40366
|
focusItem = /* @__PURE__ */ s((e, n) => {
|
|
40364
40367
|
const r = Oe.itemMeta(this.store.state, n);
|
|
40365
|
-
r && (r.parentId == null ||
|
|
40368
|
+
r && (r.parentId == null || Yt.isItemExpanded(this.store.state, r.parentId)) && this.applyItemFocus(e, n);
|
|
40366
40369
|
}, "focusItem");
|
|
40367
40370
|
/**
|
|
40368
40371
|
* Remove the focus from the currently focused item (both from the internal state and the DOM).
|
|
@@ -40499,7 +40502,7 @@ const yT = {
|
|
|
40499
40502
|
const {
|
|
40500
40503
|
store: n,
|
|
40501
40504
|
publicAPI: r
|
|
40502
|
-
} = dl(), o = Vt(n,
|
|
40505
|
+
} = dl(), o = Vt(n, Yt.isItemExpandable, t), i = Vt(n, yT.isItemLoading, t), a = Vt(n, yT.itemHasError, t), l = l1(e) || o, u = Vt(n, Yt.isItemExpanded, t), d = Vt(n, ts.isItemFocused, t), p = Vt(n, dt.isItemSelected, t), f = Vt(n, Oe.isItemDisabled, t), m = Vt(n, ha.isItemBeingEdited, t), h = Vt(n, ha.isItemEditable, t), y = {
|
|
40503
40506
|
expandable: l,
|
|
40504
40507
|
expanded: u,
|
|
40505
40508
|
focused: d,
|
|
@@ -40514,7 +40517,7 @@ const yT = {
|
|
|
40514
40517
|
return;
|
|
40515
40518
|
y.focused || n.focus.focusItem(O, t);
|
|
40516
40519
|
const M = dt.isMultiSelectEnabled(n.state) && (O.shiftKey || O.ctrlKey || O.metaKey);
|
|
40517
|
-
y.expandable && !(M &&
|
|
40520
|
+
y.expandable && !(M && Yt.isItemExpanded(n.state, t)) && n.expansion.setItemExpansion({
|
|
40518
40521
|
event: O,
|
|
40519
40522
|
itemId: t
|
|
40520
40523
|
});
|
|
@@ -41051,13 +41054,13 @@ const Cq = /* @__PURE__ */ s((t) => {
|
|
|
41051
41054
|
...r,
|
|
41052
41055
|
orientation: x,
|
|
41053
41056
|
collapsedSize: l
|
|
41054
|
-
}, R = Cq(A),
|
|
41057
|
+
}, 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), z = jt(n, _), V = /* @__PURE__ */ s((X) => (de) => {
|
|
41055
41058
|
if (X) {
|
|
41056
41059
|
const ie = _.current;
|
|
41057
41060
|
de === void 0 ? X(ie) : X(ie, de);
|
|
41058
41061
|
}
|
|
41059
41062
|
}, "normalizedTransitionCallback"), B = /* @__PURE__ */ s(() => k.current ? k.current[L ? "clientWidth" : "clientHeight"] : 0, "getWrapperSize"), F = V((X, de) => {
|
|
41060
|
-
k.current && L && (k.current.style.position = "absolute"), X.style[I] =
|
|
41063
|
+
k.current && L && (k.current.style.position = "absolute"), X.style[I] = $, f && f(X, de);
|
|
41061
41064
|
}), W = V((X, de) => {
|
|
41062
41065
|
const ie = B();
|
|
41063
41066
|
k.current && L && (k.current.style.position = "");
|
|
@@ -41072,7 +41075,7 @@ const Cq = /* @__PURE__ */ s((t) => {
|
|
|
41072
41075
|
mode: "enter"
|
|
41073
41076
|
});
|
|
41074
41077
|
if (T === "auto") {
|
|
41075
|
-
const De =
|
|
41078
|
+
const De = D.transitions.getAutoHeightDuration(ie);
|
|
41076
41079
|
X.style.transitionDuration = `${De}ms`, N.current = De;
|
|
41077
41080
|
} else
|
|
41078
41081
|
X.style.transitionDuration = typeof ge == "string" ? ge : `${ge}ms`;
|
|
@@ -41093,11 +41096,11 @@ const Cq = /* @__PURE__ */ s((t) => {
|
|
|
41093
41096
|
mode: "exit"
|
|
41094
41097
|
});
|
|
41095
41098
|
if (T === "auto") {
|
|
41096
|
-
const Ie =
|
|
41099
|
+
const Ie = D.transitions.getAutoHeightDuration(de);
|
|
41097
41100
|
X.style.transitionDuration = `${Ie}ms`, N.current = Ie;
|
|
41098
41101
|
} else
|
|
41099
41102
|
X.style.transitionDuration = typeof ie == "string" ? ie : `${ie}ms`;
|
|
41100
|
-
X.style[I] =
|
|
41103
|
+
X.style[I] = $, X.style.transitionTimingFunction = ge, v && v(X);
|
|
41101
41104
|
}), j = /* @__PURE__ */ s((X) => {
|
|
41102
41105
|
T === "auto" && P.start(N.current || 0, X), o && o(_.current, X);
|
|
41103
41106
|
}, "handleAddEndListener"), G = {
|
|
@@ -41112,7 +41115,7 @@ const Cq = /* @__PURE__ */ s((t) => {
|
|
|
41112
41115
|
ownerState: A,
|
|
41113
41116
|
additionalProps: {
|
|
41114
41117
|
style: {
|
|
41115
|
-
[L ? "minWidth" : "minHeight"]:
|
|
41118
|
+
[L ? "minWidth" : "minHeight"]: $,
|
|
41116
41119
|
...w
|
|
41117
41120
|
}
|
|
41118
41121
|
}
|
|
@@ -41152,7 +41155,7 @@ const Cq = /* @__PURE__ */ s((t) => {
|
|
|
41152
41155
|
...te,
|
|
41153
41156
|
className: se(te.className, {
|
|
41154
41157
|
entered: R.entered,
|
|
41155
|
-
exited: !p &&
|
|
41158
|
+
exited: !p && $ === "0px" && R.hidden
|
|
41156
41159
|
}[X]),
|
|
41157
41160
|
ownerState: ge,
|
|
41158
41161
|
...ie,
|
|
@@ -41310,7 +41313,7 @@ const Oq = /* @__PURE__ */ s((t, e, n) => typeof n == "function" ? n(t, e) : n,
|
|
|
41310
41313
|
interactions: y
|
|
41311
41314
|
}, R = /* @__PURE__ */ s((j) => (G) => {
|
|
41312
41315
|
j.onFocus?.(G), !G.defaultMuiPrevented && !g.focused && Oe.canItemBeFocused(r.state, l) && G.currentTarget === G.target && r.focus.focusItem(G, l);
|
|
41313
|
-
}, "createRootHandleFocus"),
|
|
41316
|
+
}, "createRootHandleFocus"), D = /* @__PURE__ */ s((j) => (G) => {
|
|
41314
41317
|
if (j.onBlur?.(G), G.defaultMuiPrevented)
|
|
41315
41318
|
return;
|
|
41316
41319
|
const Z = r.items.getItemDOMElement(l);
|
|
@@ -41322,11 +41325,11 @@ const Oq = /* @__PURE__ */ s((t, e, n) => typeof n == "function" ? n(t, e) : n,
|
|
|
41322
41325
|
}, "createRootHandleKeyDown"), k = /* @__PURE__ */ s((j) => (G) => {
|
|
41323
41326
|
j.onDoubleClick?.(G), !G.defaultMuiPrevented && y.toggleItemEditing();
|
|
41324
41327
|
}, "createLabelHandleDoubleClick"), N = /* @__PURE__ */ s((j) => (G) => {
|
|
41325
|
-
j.onClick?.(G), r.items.handleItemClick(G, l), !(G.defaultMuiPrevented || w.current?.contains(G.target)) && (
|
|
41326
|
-
}, "createContentHandleClick"),
|
|
41328
|
+
j.onClick?.(G), r.items.handleItemClick(G, l), !(G.defaultMuiPrevented || w.current?.contains(G.target)) && (Yt.triggerSlot(r.state) === "content" && y.handleExpansion(G), T || y.handleSelection(G));
|
|
41329
|
+
}, "createContentHandleClick"), $ = /* @__PURE__ */ s((j) => (G) => {
|
|
41327
41330
|
j.onMouseDown?.(G), !G.defaultMuiPrevented && (G.shiftKey || G.ctrlKey || G.metaKey || g.disabled) && G.preventDefault();
|
|
41328
41331
|
}, "createContentHandleMouseDown"), L = /* @__PURE__ */ s((j) => (G) => {
|
|
41329
|
-
j.onClick?.(G), !G.defaultMuiPrevented &&
|
|
41332
|
+
j.onClick?.(G), !G.defaultMuiPrevented && Yt.triggerSlot(r.state) === "iconContainer" && y.handleExpansion(G);
|
|
41330
41333
|
}, "createIconContainerHandleClick");
|
|
41331
41334
|
return {
|
|
41332
41335
|
getContextProviderProps: /* @__PURE__ */ s(() => ({
|
|
@@ -41346,7 +41349,7 @@ const Oq = /* @__PURE__ */ s((t, e, n) => typeof n == "function" ? n(t, e) : n,
|
|
|
41346
41349
|
"--TreeView-itemDepth": i
|
|
41347
41350
|
}),
|
|
41348
41351
|
onFocus: R(G),
|
|
41349
|
-
onBlur:
|
|
41352
|
+
onBlur: D(G),
|
|
41350
41353
|
onKeyDown: P(G)
|
|
41351
41354
|
}), te = h.root?.(Ce({}, A, {
|
|
41352
41355
|
externalEventHandlers: G
|
|
@@ -41357,7 +41360,7 @@ const Oq = /* @__PURE__ */ s((t, e, n) => typeof n == "function" ? n(t, e) : n,
|
|
|
41357
41360
|
const G = gr(j), Z = Ce({}, G, j, {
|
|
41358
41361
|
ref: C,
|
|
41359
41362
|
onClick: N(G),
|
|
41360
|
-
onMouseDown:
|
|
41363
|
+
onMouseDown: $(G),
|
|
41361
41364
|
status: g
|
|
41362
41365
|
});
|
|
41363
41366
|
["expanded", "selected", "focused", "disabled", "editing", "editable"].forEach((ae) => {
|
|
@@ -41813,7 +41816,7 @@ const Hq = /* @__PURE__ */ s((t) => {
|
|
|
41813
41816
|
label: a,
|
|
41814
41817
|
disabled: l,
|
|
41815
41818
|
disableSelection: u
|
|
41816
|
-
}),
|
|
41819
|
+
}), D = Hq(m), P = p.root ?? Fq, k = yr({
|
|
41817
41820
|
elementType: P,
|
|
41818
41821
|
getSlotProps: g,
|
|
41819
41822
|
externalForwardedProps: h,
|
|
@@ -41822,65 +41825,65 @@ const Hq = /* @__PURE__ */ s((t) => {
|
|
|
41822
41825
|
ref: n
|
|
41823
41826
|
},
|
|
41824
41827
|
ownerState: {},
|
|
41825
|
-
className:
|
|
41826
|
-
}), N = p.content ?? _q,
|
|
41828
|
+
className: D.root
|
|
41829
|
+
}), N = p.content ?? _q, $ = yr({
|
|
41827
41830
|
elementType: N,
|
|
41828
41831
|
getSlotProps: v,
|
|
41829
41832
|
externalSlotProps: f.content,
|
|
41830
41833
|
ownerState: {},
|
|
41831
|
-
className: se(
|
|
41834
|
+
className: se(D.content, R.expanded && D.expanded, R.selected && D.selected, R.focused && D.focused, R.disabled && D.disabled, R.editing && D.editing, R.editable && D.editable)
|
|
41832
41835
|
}), L = p.iconContainer ?? zq, I = yr({
|
|
41833
41836
|
elementType: L,
|
|
41834
41837
|
getSlotProps: x,
|
|
41835
41838
|
externalSlotProps: f.iconContainer,
|
|
41836
41839
|
ownerState: {},
|
|
41837
|
-
className:
|
|
41840
|
+
className: D.iconContainer
|
|
41838
41841
|
}), _ = p.label ?? Bq, z = yr({
|
|
41839
41842
|
elementType: _,
|
|
41840
41843
|
getSlotProps: C,
|
|
41841
41844
|
externalSlotProps: f.label,
|
|
41842
41845
|
ownerState: {},
|
|
41843
|
-
className:
|
|
41846
|
+
className: D.label
|
|
41844
41847
|
}), V = p.checkbox ?? DP, B = yr({
|
|
41845
41848
|
elementType: V,
|
|
41846
41849
|
getSlotProps: E,
|
|
41847
41850
|
externalSlotProps: f.checkbox,
|
|
41848
41851
|
ownerState: {},
|
|
41849
|
-
className:
|
|
41852
|
+
className: D.checkbox
|
|
41850
41853
|
}), F = p.groupTransition ?? void 0, W = yr({
|
|
41851
41854
|
elementType: F,
|
|
41852
41855
|
getSlotProps: w,
|
|
41853
41856
|
externalSlotProps: f.groupTransition,
|
|
41854
41857
|
ownerState: {},
|
|
41855
|
-
className:
|
|
41858
|
+
className: D.groupTransition
|
|
41856
41859
|
}), Q = p.labelInput ?? Nq, q = yr({
|
|
41857
41860
|
elementType: Q,
|
|
41858
41861
|
getSlotProps: T,
|
|
41859
41862
|
externalSlotProps: f.labelInput,
|
|
41860
41863
|
ownerState: {},
|
|
41861
|
-
className:
|
|
41864
|
+
className: D.labelInput
|
|
41862
41865
|
}), K = p.dragAndDropOverlay ?? AP, ee = yr({
|
|
41863
41866
|
elementType: K,
|
|
41864
41867
|
getSlotProps: O,
|
|
41865
41868
|
externalSlotProps: f.dragAndDropOverlay,
|
|
41866
41869
|
ownerState: {},
|
|
41867
|
-
className:
|
|
41870
|
+
className: D.dragAndDropOverlay
|
|
41868
41871
|
}), j = p.errorIcon ?? jq, G = yr({
|
|
41869
41872
|
elementType: j,
|
|
41870
41873
|
getSlotProps: M,
|
|
41871
41874
|
externalSlotProps: f.errorIcon,
|
|
41872
41875
|
ownerState: {},
|
|
41873
|
-
className:
|
|
41876
|
+
className: D.errorIcon
|
|
41874
41877
|
}), Z = p.loadingIcon ?? Wq, te = yr({
|
|
41875
41878
|
elementType: Z,
|
|
41876
41879
|
getSlotProps: A,
|
|
41877
41880
|
externalSlotProps: f.loadingIcon,
|
|
41878
41881
|
ownerState: {},
|
|
41879
|
-
className:
|
|
41882
|
+
className: D.loadingIcon
|
|
41880
41883
|
});
|
|
41881
41884
|
return /* @__PURE__ */ b(NP, Ce({}, y(), {
|
|
41882
41885
|
children: /* @__PURE__ */ Y(P, Ce({}, k, {
|
|
41883
|
-
children: [/* @__PURE__ */ Y(N, Ce({},
|
|
41886
|
+
children: [/* @__PURE__ */ Y(N, Ce({}, $, {
|
|
41884
41887
|
children: [/* @__PURE__ */ Y(L, Ce({}, I, {
|
|
41885
41888
|
children: [R.error && /* @__PURE__ */ b(j, Ce({}, G)), R.loading ? /* @__PURE__ */ b(Z, Ce({}, te)) : /* @__PURE__ */ b(PP, {
|
|
41886
41889
|
status: R,
|
|
@@ -42230,7 +42233,7 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
|
|
|
42230
42233
|
(q) => d.includes(q.key)
|
|
42231
42234
|
), [d]), [f, m] = Pe(tU), [h, y] = Pe([]), [g, v] = Pe(null), [x, E] = Pe(!0), [C, w] = Pe(!1), [T, O] = Pe(
|
|
42232
42235
|
p.find((q) => q.key === u) || p[0] || Al[0]
|
|
42233
|
-
), M = Uo(), A = cr(), R = !!g,
|
|
42236
|
+
), M = Uo(), A = cr(), R = !!g, D = tt(
|
|
42234
42237
|
() => Yq(n),
|
|
42235
42238
|
[n]
|
|
42236
42239
|
), P = tt(
|
|
@@ -42268,12 +42271,12 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
|
|
|
42268
42271
|
if (String(K).endsWith("-placeholder"))
|
|
42269
42272
|
return;
|
|
42270
42273
|
const ee = _P(h, K), j = K === fd.id ? {
|
|
42271
|
-
fillista: vT("null",
|
|
42274
|
+
fillista: vT("null", D),
|
|
42272
42275
|
mapId: ["funcod"]
|
|
42273
42276
|
} : {
|
|
42274
42277
|
fillista: vT(
|
|
42275
42278
|
ee?.accion || K,
|
|
42276
|
-
|
|
42279
|
+
D
|
|
42277
42280
|
),
|
|
42278
42281
|
mapId: ["funcod"]
|
|
42279
42282
|
};
|
|
@@ -42283,8 +42286,8 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
|
|
|
42283
42286
|
selectedNode: ee
|
|
42284
42287
|
});
|
|
42285
42288
|
},
|
|
42286
|
-
[
|
|
42287
|
-
),
|
|
42289
|
+
[D, P, a, h]
|
|
42290
|
+
), $ = Le(
|
|
42288
42291
|
(q) => {
|
|
42289
42292
|
E(!1), o && o(q);
|
|
42290
42293
|
},
|
|
@@ -42522,7 +42525,7 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
|
|
|
42522
42525
|
resource: "form_224",
|
|
42523
42526
|
filter: f,
|
|
42524
42527
|
queryOptions: { meta: P },
|
|
42525
|
-
onRecordsLoaded:
|
|
42528
|
+
onRecordsLoaded: $
|
|
42526
42529
|
},
|
|
42527
42530
|
k
|
|
42528
42531
|
),
|
|
@@ -42579,15 +42582,15 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
|
|
|
42579
42582
|
initialFilterKey: y,
|
|
42580
42583
|
filterOptionKeys: g,
|
|
42581
42584
|
dialogProps: v
|
|
42582
|
-
} = t, x = Uo(), E = lt(), [C] = Ok({ resource: "form_224" }), [w, T] = Pe({}), [O, M] = Pe(null), [A, R] = Pe(!1),
|
|
42583
|
-
T((
|
|
42584
|
-
const L = {
|
|
42585
|
+
} = t, x = Uo(), E = lt(), [C] = Ok({ resource: "form_224" }), [w, T] = Pe({}), [O, M] = Pe(null), [A, R] = Pe(!1), D = Le((N) => {
|
|
42586
|
+
T(($) => {
|
|
42587
|
+
const L = { ...$ };
|
|
42585
42588
|
return N.forEach((I) => {
|
|
42586
42589
|
L[String(I.id)] = I;
|
|
42587
42590
|
}), L;
|
|
42588
42591
|
});
|
|
42589
42592
|
}, []), P = Le(
|
|
42590
|
-
async (N,
|
|
42593
|
+
async (N, $) => {
|
|
42591
42594
|
N.stopPropagation(), R(!0);
|
|
42592
42595
|
try {
|
|
42593
42596
|
let L = { ...w };
|
|
@@ -42616,7 +42619,7 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
|
|
|
42616
42619
|
} catch {
|
|
42617
42620
|
}
|
|
42618
42621
|
const _ = C.map((V) => L[String(V)]).filter(Boolean), z = {
|
|
42619
|
-
button:
|
|
42622
|
+
button: $,
|
|
42620
42623
|
selectedIds: C,
|
|
42621
42624
|
selectedRecords: _,
|
|
42622
42625
|
selectedFuncods: _.map(
|
|
@@ -42653,7 +42656,7 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
|
|
|
42653
42656
|
{
|
|
42654
42657
|
filgrilla: p,
|
|
42655
42658
|
meta: f,
|
|
42656
|
-
onRecordsLoaded:
|
|
42659
|
+
onRecordsLoaded: D,
|
|
42657
42660
|
onListParamsChange: M,
|
|
42658
42661
|
onStructureFilterChange: m,
|
|
42659
42662
|
onStatusFilterChange: h,
|
|
@@ -42720,11 +42723,11 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
|
|
|
42720
42723
|
allowAll: M = !0,
|
|
42721
42724
|
allowStatus: A = !0,
|
|
42722
42725
|
allowManual: R = !0,
|
|
42723
|
-
onManualSearchStart:
|
|
42726
|
+
onManualSearchStart: D,
|
|
42724
42727
|
onManualSearchEnd: P,
|
|
42725
42728
|
soloActivos: k = "A",
|
|
42726
42729
|
filgrilla: N,
|
|
42727
|
-
meta:
|
|
42730
|
+
meta: $,
|
|
42728
42731
|
validate: L,
|
|
42729
42732
|
isRequired: I,
|
|
42730
42733
|
..._
|
|
@@ -42918,7 +42921,7 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
|
|
|
42918
42921
|
if (!R || be === "")
|
|
42919
42922
|
return;
|
|
42920
42923
|
let ze = !1;
|
|
42921
|
-
|
|
42924
|
+
D && (D(W, g, J), ze = !0);
|
|
42922
42925
|
let Ne = null;
|
|
42923
42926
|
try {
|
|
42924
42927
|
Ne = await Gq(
|
|
@@ -42949,7 +42952,7 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
|
|
|
42949
42952
|
u,
|
|
42950
42953
|
m,
|
|
42951
42954
|
P,
|
|
42952
|
-
|
|
42955
|
+
D,
|
|
42953
42956
|
ie,
|
|
42954
42957
|
W
|
|
42955
42958
|
]
|
|
@@ -43212,7 +43215,7 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
|
|
|
43212
43215
|
onConfirm: ge,
|
|
43213
43216
|
onClose: de,
|
|
43214
43217
|
filgrilla: N,
|
|
43215
|
-
meta:
|
|
43218
|
+
meta: $,
|
|
43216
43219
|
initialFilterKey: j.popupFilterKey,
|
|
43217
43220
|
onStatusFilterChange: Ge
|
|
43218
43221
|
}
|
|
@@ -51872,11 +51875,11 @@ const gK = /^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|df
|
|
|
51872
51875
|
function yK(t, e, n, r, o) {
|
|
51873
51876
|
let i = t.input.compositionPendingChanges || (t.composing ? t.input.compositionID : 0);
|
|
51874
51877
|
if (t.input.compositionPendingChanges = 0, e < 0) {
|
|
51875
|
-
let R = t.input.lastSelectionTime > Date.now() - 50 ? t.input.lastSelectionOrigin : null,
|
|
51876
|
-
if (
|
|
51878
|
+
let R = t.input.lastSelectionTime > Date.now() - 50 ? t.input.lastSelectionOrigin : null, D = h1(t, R);
|
|
51879
|
+
if (D && !t.state.selection.eq(D)) {
|
|
51877
51880
|
if (An && jr && t.input.lastKeyCode === 13 && Date.now() - 100 < t.input.lastKeyCodeTime && t.someProp("handleKeyDown", (k) => k(t, ns(13, "Enter"))))
|
|
51878
51881
|
return;
|
|
51879
|
-
let P = t.state.tr.setSelection(
|
|
51882
|
+
let P = t.state.tr.setSelection(D);
|
|
51880
51883
|
R == "pointer" ? P.setMeta("pointer", !0) : R == "key" && P.scrollIntoView(), i && P.setMeta("composition", i), t.dispatch(P);
|
|
51881
51884
|
}
|
|
51882
51885
|
return;
|
|
@@ -51897,8 +51900,8 @@ function yK(t, e, n, r, o) {
|
|
|
51897
51900
|
if (d.sel) {
|
|
51898
51901
|
let R = dE(t, t.state.doc, d.sel);
|
|
51899
51902
|
if (R && !R.eq(t.state.selection)) {
|
|
51900
|
-
let
|
|
51901
|
-
i &&
|
|
51903
|
+
let D = t.state.tr.setSelection(R);
|
|
51904
|
+
i && D.setMeta("composition", i), t.dispatch(D);
|
|
51902
51905
|
}
|
|
51903
51906
|
}
|
|
51904
51907
|
return;
|
|
@@ -51929,7 +51932,7 @@ function yK(t, e, n, r, o) {
|
|
|
51929
51932
|
O = t.state.tr, A.type == "add" ? O.addMark(w, T, A.mark) : O.removeMark(w, T, A.mark);
|
|
51930
51933
|
else if (g.parent.child(g.index()).isText && g.index() == v.index() - (v.textOffset ? 0 : 1)) {
|
|
51931
51934
|
let R = g.parent.textBetween(g.parentOffset, v.parentOffset);
|
|
51932
|
-
if (t.someProp("handleTextInput", (
|
|
51935
|
+
if (t.someProp("handleTextInput", (D) => D(t, w, T, R)))
|
|
51933
51936
|
return;
|
|
51934
51937
|
O = t.state.tr.insertText(R, w, T);
|
|
51935
51938
|
}
|
|
@@ -56526,7 +56529,7 @@ function iX(t) {
|
|
|
56526
56529
|
Ze(w, e.numeric, T);
|
|
56527
56530
|
const O = mr(Cd), M = mr();
|
|
56528
56531
|
Ze(O, n, O), Ze(O, r, M), Ze(M, n, O), Ze(M, r, M), he(C, io, O), he(T, io, O);
|
|
56529
|
-
const A = he(u, fi), R = he(d, fi),
|
|
56532
|
+
const A = he(u, fi), R = he(d, fi), D = he(R, io), P = he(D, io);
|
|
56530
56533
|
Ze(u, e.domain, l), he(u, ro, E), he(u, oo, x), Ze(d, e.domain, l), he(d, ro, E), he(d, oo, x), Ze(A, e.domain, O), he(A, io, O), Ze(P, e.domain, O), Ze(P, n, O), he(P, io, O);
|
|
56531
56534
|
const k = [
|
|
56532
56535
|
[rc, oc],
|
|
@@ -56547,8 +56550,8 @@ function iX(t) {
|
|
|
56547
56550
|
// <>
|
|
56548
56551
|
];
|
|
56549
56552
|
for (let N = 0; N < k.length; N++) {
|
|
56550
|
-
const [
|
|
56551
|
-
he(M,
|
|
56553
|
+
const [$, L] = k[N], I = he(O, $);
|
|
56554
|
+
he(M, $, I), he(I, L, O);
|
|
56552
56555
|
const _ = mr(Cd);
|
|
56553
56556
|
Ze(I, n, _);
|
|
56554
56557
|
const z = mr();
|
|
@@ -57008,17 +57011,17 @@ function xX() {
|
|
|
57008
57011
|
value: O,
|
|
57009
57012
|
getSnapshot: w
|
|
57010
57013
|
}
|
|
57011
|
-
}), R = A[0].inst,
|
|
57014
|
+
}), R = A[0].inst, D = A[1];
|
|
57012
57015
|
return u(function() {
|
|
57013
|
-
R.value = O, R.getSnapshot = w, h(R) &&
|
|
57016
|
+
R.value = O, R.getSnapshot = w, h(R) && D({
|
|
57014
57017
|
inst: R
|
|
57015
57018
|
});
|
|
57016
57019
|
}, [C, O, w]), l(function() {
|
|
57017
|
-
h(R) &&
|
|
57020
|
+
h(R) && D({
|
|
57018
57021
|
inst: R
|
|
57019
57022
|
});
|
|
57020
57023
|
var P = /* @__PURE__ */ s(function() {
|
|
57021
|
-
h(R) &&
|
|
57024
|
+
h(R) && D({
|
|
57022
57025
|
inst: R
|
|
57023
57026
|
});
|
|
57024
57027
|
}, "handleStoreChange");
|
|
@@ -57264,9 +57267,9 @@ function RX() {
|
|
|
57264
57267
|
T = !0, O = k;
|
|
57265
57268
|
var N = h(k);
|
|
57266
57269
|
if (y !== void 0 && v.hasValue) {
|
|
57267
|
-
var
|
|
57268
|
-
if (y(
|
|
57269
|
-
return M =
|
|
57270
|
+
var $ = v.value;
|
|
57271
|
+
if (y($, N))
|
|
57272
|
+
return M = $, $;
|
|
57270
57273
|
}
|
|
57271
57274
|
return M = N, N;
|
|
57272
57275
|
}
|
|
@@ -57275,12 +57278,12 @@ function RX() {
|
|
|
57275
57278
|
return I;
|
|
57276
57279
|
var _ = h(k);
|
|
57277
57280
|
return y !== void 0 && y(I, _) ? I : (O = k, M = _, _);
|
|
57278
|
-
}, "memoizedSelector"), R = m === void 0 ? null : m,
|
|
57281
|
+
}, "memoizedSelector"), R = m === void 0 ? null : m, D = /* @__PURE__ */ s(function() {
|
|
57279
57282
|
return A(f());
|
|
57280
57283
|
}, "getSnapshotWithSelector"), P = R === null ? void 0 : function() {
|
|
57281
57284
|
return A(R());
|
|
57282
57285
|
};
|
|
57283
|
-
return [
|
|
57286
|
+
return [D, P];
|
|
57284
57287
|
}, [f, m, h, y]), E = x[0], C = x[1], w = o(p, E, C);
|
|
57285
57288
|
return a(function() {
|
|
57286
57289
|
v.hasValue = !0, v.value = w;
|
|
@@ -60189,9 +60192,9 @@ function GZ() {
|
|
|
60189
60192
|
"with",
|
|
60190
60193
|
"for"
|
|
60191
60194
|
], i = new RegExp("(_ids|_id)$", "g"), a = new RegExp("_", "g"), l = new RegExp("[ _]", "g"), u = new RegExp("([A-Z])", "g"), d = new RegExp("^_");
|
|
60192
|
-
function p(P, k, N,
|
|
60193
|
-
if (
|
|
60194
|
-
return
|
|
60195
|
+
function p(P, k, N, $) {
|
|
60196
|
+
if ($)
|
|
60197
|
+
return $;
|
|
60195
60198
|
if (N.includes(P.toLocaleLowerCase()))
|
|
60196
60199
|
return P;
|
|
60197
60200
|
for (const L of k)
|
|
@@ -60208,14 +60211,14 @@ function GZ() {
|
|
|
60208
60211
|
return p(P, r, t, k);
|
|
60209
60212
|
}
|
|
60210
60213
|
s(m, "singularize"), ut.singularize = m;
|
|
60211
|
-
function h(P, k, N,
|
|
60212
|
-
return isNaN(k) ? P : k === 1 ? p(P, r, t, N) : p(P, n, t,
|
|
60214
|
+
function h(P, k, N, $) {
|
|
60215
|
+
return isNaN(k) ? P : k === 1 ? p(P, r, t, N) : p(P, n, t, $);
|
|
60213
60216
|
}
|
|
60214
60217
|
s(h, "inflect"), ut.inflect = h;
|
|
60215
60218
|
function y(P, k) {
|
|
60216
|
-
const N = P.split("/"),
|
|
60219
|
+
const N = P.split("/"), $ = N.length;
|
|
60217
60220
|
let L, I, _, z;
|
|
60218
|
-
for (let V = 0; V <
|
|
60221
|
+
for (let V = 0; V < $; V++) {
|
|
60219
60222
|
for (L = N[V].split("_"), I = 0, _ = L.length; I < _; I++)
|
|
60220
60223
|
I !== 0 && (L[I] = L[I].toLowerCase()), z = L[I].charAt(0), z = k && V === 0 && I === 0 ? z.toLowerCase() : z.toUpperCase(), L[I] = z + L[I].substring(1);
|
|
60221
60224
|
N[V] = L.join("");
|
|
@@ -60226,8 +60229,8 @@ function GZ() {
|
|
|
60226
60229
|
function g(P, k) {
|
|
60227
60230
|
if (k && P === P.toUpperCase())
|
|
60228
60231
|
return P;
|
|
60229
|
-
const N = P.split("::"),
|
|
60230
|
-
for (let L = 0; L <
|
|
60232
|
+
const N = P.split("::"), $ = N.length;
|
|
60233
|
+
for (let L = 0; L < $; L++)
|
|
60231
60234
|
N[L] = N[L].replace(u, "_$1"), N[L] = N[L].replace(d, "");
|
|
60232
60235
|
return N.join("/").toLowerCase();
|
|
60233
60236
|
}
|
|
@@ -60247,12 +60250,12 @@ function GZ() {
|
|
|
60247
60250
|
function C(P) {
|
|
60248
60251
|
P = P.toLowerCase().replace(a, " ");
|
|
60249
60252
|
const k = P.split(" "), N = k.length;
|
|
60250
|
-
let
|
|
60253
|
+
let $, L;
|
|
60251
60254
|
for (let I = 0; I < N; I++) {
|
|
60252
|
-
|
|
60255
|
+
$ = k[I].split("-"), L = $.length;
|
|
60253
60256
|
for (let _ = 0; _ < L; _++)
|
|
60254
|
-
o.indexOf(
|
|
60255
|
-
k[I] =
|
|
60257
|
+
o.indexOf($[_].toLowerCase()) < 0 && ($[_] = x($[_]));
|
|
60258
|
+
k[I] = $.join("-");
|
|
60256
60259
|
}
|
|
60257
60260
|
return P = k.join(" "), P = P.substring(0, 1).toUpperCase() + P.substring(1), P;
|
|
60258
60261
|
}
|
|
@@ -60276,12 +60279,12 @@ function GZ() {
|
|
|
60276
60279
|
s(M, "foreignKey"), ut.foreignKey = M;
|
|
60277
60280
|
function A(P) {
|
|
60278
60281
|
const k = P.split(" "), N = k.length;
|
|
60279
|
-
for (let
|
|
60280
|
-
const L = parseInt(k[
|
|
60282
|
+
for (let $ = 0; $ < N; $++) {
|
|
60283
|
+
const L = parseInt(k[$], 10);
|
|
60281
60284
|
if (!isNaN(L)) {
|
|
60282
|
-
const I = k[
|
|
60285
|
+
const I = k[$].substring(k[$].length - 2), _ = k[$].substring(k[$].length - 1);
|
|
60283
60286
|
let z = "th";
|
|
60284
|
-
I != "11" && I != "12" && I != "13" && (_ === "1" ? z = "st" : _ === "2" ? z = "nd" : _ === "3" && (z = "rd")), k[
|
|
60287
|
+
I != "11" && I != "12" && I != "13" && (_ === "1" ? z = "st" : _ === "2" ? z = "nd" : _ === "3" && (z = "rd")), k[$] += z;
|
|
60285
60288
|
}
|
|
60286
60289
|
}
|
|
60287
60290
|
return k.join(" ");
|
|
@@ -60302,15 +60305,15 @@ function GZ() {
|
|
|
60302
60305
|
foreignKey: M,
|
|
60303
60306
|
ordinalize: A
|
|
60304
60307
|
};
|
|
60305
|
-
function
|
|
60308
|
+
function D(P, k) {
|
|
60306
60309
|
const N = k.length;
|
|
60307
|
-
for (let
|
|
60308
|
-
const L = k[
|
|
60310
|
+
for (let $ = 0; $ < N; $++) {
|
|
60311
|
+
const L = k[$], I = R[L];
|
|
60309
60312
|
I && (P = I(P));
|
|
60310
60313
|
}
|
|
60311
60314
|
return P;
|
|
60312
60315
|
}
|
|
60313
|
-
return s(
|
|
60316
|
+
return s(D, "transform"), ut.transform = D, ut;
|
|
60314
60317
|
}
|
|
60315
60318
|
s(GZ, "requireInflection");
|
|
60316
60319
|
var KZ = GZ();
|
|
@@ -60398,10 +60401,10 @@ const JZ = ek(_2), XZ = /* @__PURE__ */ s((t) => {
|
|
|
60398
60401
|
name: h,
|
|
60399
60402
|
defaultValue: Hl(v, m, e),
|
|
60400
60403
|
rules: {
|
|
60401
|
-
validate: /* @__PURE__ */ s(async (
|
|
60404
|
+
validate: /* @__PURE__ */ s(async (D, P) => {
|
|
60402
60405
|
if (!C)
|
|
60403
60406
|
return !0;
|
|
60404
|
-
const k = await C(
|
|
60407
|
+
const k = await C(D, P, {
|
|
60405
60408
|
...t,
|
|
60406
60409
|
finalSource: m
|
|
60407
60410
|
});
|
|
@@ -60411,11 +60414,11 @@ const JZ = ek(_2), XZ = /* @__PURE__ */ s((t) => {
|
|
|
60411
60414
|
...f
|
|
60412
60415
|
});
|
|
60413
60416
|
BZ({ inputProps: t });
|
|
60414
|
-
const M = wy((
|
|
60415
|
-
w.onBlur(), a && a(
|
|
60416
|
-
}), A = wy((
|
|
60417
|
-
const P = t.type === "checkbox" &&
|
|
60418
|
-
w.onChange(x ? x(P) : P), l && l(
|
|
60417
|
+
const M = wy((...D) => {
|
|
60418
|
+
w.onBlur(), a && a(...D);
|
|
60419
|
+
}), A = wy((...D) => {
|
|
60420
|
+
const P = t.type === "checkbox" && D[0]?.target?.value === "on" ? D[0].target.checked : D[0]?.target?.value ?? D[0];
|
|
60421
|
+
w.onChange(x ? x(P) : P), l && l(...D);
|
|
60419
60422
|
}), R = {
|
|
60420
60423
|
...w,
|
|
60421
60424
|
value: n ? n(w.value) : w.value,
|
|
@@ -61089,11 +61092,11 @@ const xf = "RaLabeled", Cf = {
|
|
|
61089
61092
|
optionText: M,
|
|
61090
61093
|
optionValue: A,
|
|
61091
61094
|
parse: R,
|
|
61092
|
-
record:
|
|
61095
|
+
record: D,
|
|
61093
61096
|
ref: P,
|
|
61094
61097
|
refetch: k,
|
|
61095
61098
|
render: N,
|
|
61096
|
-
resource:
|
|
61099
|
+
resource: $,
|
|
61097
61100
|
setFilter: L,
|
|
61098
61101
|
setPagination: I,
|
|
61099
61102
|
setSort: _,
|