biblio-react 3.0.0-alpha228-popup → 3.0.0-alpha229-popup
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 +489 -443
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ var NM = Object.defineProperty;
|
|
|
2
2
|
var a = (t, e) => NM(t, "name", { value: e, configurable: !0 });
|
|
3
3
|
import Ce, { jsx as v, jsxs as q, Fragment as Zn } from "react/jsx-runtime";
|
|
4
4
|
import * as C from "react";
|
|
5
|
-
import gt, { forwardRef as sc, useContext as Xe, createElement as R0, Children as Pl, isValidElement as $r, cloneElement as Sn, createContext as Pt, useState as
|
|
5
|
+
import gt, { forwardRef as sc, useContext as Xe, createElement as R0, Children as Pl, isValidElement as $r, cloneElement as Sn, createContext as Pt, useState as Ve, useMemo as It, useRef as pr, useCallback as tt, useEffect as ze, memo as ES, Fragment as ro, useImperativeHandle as AM, useDebugValue as TS, useId as IM } from "react";
|
|
6
6
|
import { unstable_ClassNameGenerator as OS, exactProp as bf, unstable_getScrollbarSize as _M, unstable_ownerDocument as eo, unstable_ownerWindow as $l, unstable_useForkRef as Ws, elementAcceptingRef as DM, unstable_useEnhancedEffect as zi, unstable_setRef as M0, HTMLElementType as kh, unstable_useEventCallback as P0, unstable_createChainedFunction as $0, chainPropTypes as LM, refType as FM, unstable_debounce as BM, usePreviousProps as jM, unstable_getNormalizedScrollLeft as zM, unstable_detectScrollType as VM, deepmerge as kS } from "@mui/utils";
|
|
7
7
|
import { MenuItem as Oi, ListItemIcon as Ns, ListItemText as As, useMediaQuery as ur, Typography as Mo, Box as Ge, useTheme as vg, Card as xg, CardContent as RS, Stack as ki, Tooltip as Hs, IconButton as Vi, createTheme as WM, ThemeProvider as HM, Chip as N0, alpha as qM, StyledEngineProvider as MS, CircularProgress as UM, DialogTitle as PS, Dialog as Cg, DialogContent as $S, Collapse as GM, List as NS, Menu as Rh, Switch as KM, DialogActions as YM, Button as A0, Paper as AS, ToggleButtonGroup as yf, ToggleButton as Jt, ListItem as JM, FormHelperText as XM } from "@mui/material";
|
|
8
8
|
import { useTranslate as Bt, useUserMenu as QM, useResourceDefinitions as ZM, AppBar as eP, UserMenu as tP, Logout as nP, required as rP, minValue as oP, TopToolbar as IS, ShowButton as iP, useNotify as _S, useDataProvider as ss, useResourceContext as dt, useListContext as Wi, useRedirect as co, useUnselectAll as sP, useStoreContext as aP, NumberField as lP, DateField as I0, TextField as yu, ReferenceField as cP, useGetResourceLabel as vf, ResourceContextProvider as Is, useRecordContext as rr, useCreatePath as uP, useResourceDefinition as Sg, BulkActionsToolbar as dP, Button as Nn, useInput as xf, useGetList as DS, Labeled as LS, useSafeSetState as wg, Confirm as ac, Form as fa, SaveButton as lc, useGetOne as FS, useCreateController as fP, CreateContextProvider as pP, useDeleteWithConfirmController as hP, Toolbar as BS, ToolbarClasses as mP, useDelete as jS, useSaveContext as gP, Loading as as, Create as bP, useListController as yP, ListContextProvider as vP, Pagination as xP, List as zS, Edit as CP, useEditContext as SP, useSidebarState as VS, Menu as wP, DashboardMenuItem as EP, MenuItemLink as WS, Layout as TP, FilterContext as OP, sanitizeListRestProps as kP, FilterButton as RP, useLogin as MP, TextInput as Nr, PasswordInput as HS, Show as PP, useShowContext as $P, useSplatPathBase as NP, getTabbedFormTabFullPath as Bc, TabbedFormTabs as qS, defaultTheme as US, FormTab as AP, BooleanField as IP, ImageInput as _P, ImageField as DP, FileInput as LP, BooleanInput as FP, ReferenceInput as GS, useChoicesContext as KS, AutocompleteInput as BP, SelectInput as jP, ReferenceArrayInput as zP, AutocompleteArrayInput as VP, SearchInput as WP, RadioButtonGroupInput as YS, useRecordSelection as JS, ListActions as HP, Datagrid as qP, ValidationError as UP, FieldTitle as XS } from "react-admin";
|
|
@@ -233,10 +233,10 @@ function m$() {
|
|
|
233
233
|
}
|
|
234
234
|
a(w, "typeOf");
|
|
235
235
|
var S = u, O = d, R = l, $ = s, N = e, _ = f, M = r, P = g, A = m, D = n, j = i, B = o, z = p, I = !1;
|
|
236
|
-
function
|
|
236
|
+
function H(F) {
|
|
237
237
|
return I || (I = !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.")), L(F) || w(F) === u;
|
|
238
238
|
}
|
|
239
|
-
a(
|
|
239
|
+
a(H, "isAsyncMode");
|
|
240
240
|
function L(F) {
|
|
241
241
|
return w(F) === d;
|
|
242
242
|
}
|
|
@@ -253,10 +253,10 @@ function m$() {
|
|
|
253
253
|
return typeof F == "object" && F !== null && F.$$typeof === e;
|
|
254
254
|
}
|
|
255
255
|
a(U, "isElement");
|
|
256
|
-
function
|
|
256
|
+
function W(F) {
|
|
257
257
|
return w(F) === f;
|
|
258
258
|
}
|
|
259
|
-
a(
|
|
259
|
+
a(W, "isForwardRef");
|
|
260
260
|
function ee(F) {
|
|
261
261
|
return w(F) === r;
|
|
262
262
|
}
|
|
@@ -284,7 +284,7 @@ function m$() {
|
|
|
284
284
|
function ne(F) {
|
|
285
285
|
return w(F) === p;
|
|
286
286
|
}
|
|
287
|
-
a(ne, "isSuspense"), rt.AsyncMode = S, rt.ConcurrentMode = O, rt.ContextConsumer = R, rt.ContextProvider = $, rt.Element = N, rt.ForwardRef = _, rt.Fragment = M, rt.Lazy = P, rt.Memo = A, rt.Portal = D, rt.Profiler = j, rt.StrictMode = B, rt.Suspense = z, rt.isAsyncMode =
|
|
287
|
+
a(ne, "isSuspense"), rt.AsyncMode = S, rt.ConcurrentMode = O, rt.ContextConsumer = R, rt.ContextProvider = $, rt.Element = N, rt.ForwardRef = _, rt.Fragment = M, rt.Lazy = P, rt.Memo = A, rt.Portal = D, rt.Profiler = j, rt.StrictMode = B, rt.Suspense = z, rt.isAsyncMode = H, rt.isConcurrentMode = L, rt.isContextConsumer = G, rt.isContextProvider = ie, rt.isElement = U, rt.isForwardRef = W, rt.isFragment = ee, rt.isLazy = Z, rt.isMemo = J, rt.isPortal = V, rt.isProfiler = re, rt.isStrictMode = X, rt.isSuspense = ne, rt.isValidElementType = E, rt.typeOf = w;
|
|
288
288
|
}()), rt;
|
|
289
289
|
}
|
|
290
290
|
a(m$, "requireReactIs_development$2");
|
|
@@ -484,17 +484,17 @@ function y$() {
|
|
|
484
484
|
return Z[J] == null ? ee ? Z[J] === null ? new b("The " + re + " `" + X + "` is marked as required " + ("in `" + V + "`, but its value is `null`.")) : new b("The " + re + " `" + X + "` is marked as required in " + ("`" + V + "`, but its value is `undefined`.")) : null : L(Z, J, V, re, X);
|
|
485
485
|
}
|
|
486
486
|
a(U, "checkType");
|
|
487
|
-
var
|
|
488
|
-
return
|
|
487
|
+
var W = U.bind(null, !1);
|
|
488
|
+
return W.isRequired = U.bind(null, !0), W;
|
|
489
489
|
}
|
|
490
490
|
a(y, "createChainableTypeChecker");
|
|
491
491
|
function x(L) {
|
|
492
|
-
function G(ie, U,
|
|
492
|
+
function G(ie, U, W, ee, Z, J) {
|
|
493
493
|
var V = ie[U], re = B(V);
|
|
494
494
|
if (re !== L) {
|
|
495
495
|
var X = z(V);
|
|
496
496
|
return new b(
|
|
497
|
-
"Invalid " + ee + " `" + Z + "` of type " + ("`" + X + "` supplied to `" +
|
|
497
|
+
"Invalid " + ee + " `" + Z + "` of type " + ("`" + X + "` supplied to `" + W + "`, expected ") + ("`" + L + "`."),
|
|
498
498
|
{ expectedType: L }
|
|
499
499
|
);
|
|
500
500
|
}
|
|
@@ -508,16 +508,16 @@ function y$() {
|
|
|
508
508
|
}
|
|
509
509
|
a(T, "createAnyTypeChecker");
|
|
510
510
|
function E(L) {
|
|
511
|
-
function G(ie, U,
|
|
511
|
+
function G(ie, U, W, ee, Z) {
|
|
512
512
|
if (typeof L != "function")
|
|
513
|
-
return new b("Property `" + Z + "` of component `" +
|
|
513
|
+
return new b("Property `" + Z + "` of component `" + W + "` has invalid PropType notation inside arrayOf.");
|
|
514
514
|
var J = ie[U];
|
|
515
515
|
if (!Array.isArray(J)) {
|
|
516
516
|
var V = B(J);
|
|
517
|
-
return new b("Invalid " + ee + " `" + Z + "` of type " + ("`" + V + "` supplied to `" +
|
|
517
|
+
return new b("Invalid " + ee + " `" + Z + "` of type " + ("`" + V + "` supplied to `" + W + "`, expected an array."));
|
|
518
518
|
}
|
|
519
519
|
for (var re = 0; re < J.length; re++) {
|
|
520
|
-
var X = L(J, re,
|
|
520
|
+
var X = L(J, re, W, ee, Z + "[" + re + "]", n);
|
|
521
521
|
if (X instanceof Error)
|
|
522
522
|
return X;
|
|
523
523
|
}
|
|
@@ -527,11 +527,11 @@ function y$() {
|
|
|
527
527
|
}
|
|
528
528
|
a(E, "createArrayOfTypeChecker");
|
|
529
529
|
function w() {
|
|
530
|
-
function L(G, ie, U,
|
|
530
|
+
function L(G, ie, U, W, ee) {
|
|
531
531
|
var Z = G[ie];
|
|
532
532
|
if (!l(Z)) {
|
|
533
533
|
var J = B(Z);
|
|
534
|
-
return new b("Invalid " +
|
|
534
|
+
return new b("Invalid " + W + " `" + ee + "` of type " + ("`" + J + "` supplied to `" + U + "`, expected a single ReactElement."));
|
|
535
535
|
}
|
|
536
536
|
return null;
|
|
537
537
|
}
|
|
@@ -539,11 +539,11 @@ function y$() {
|
|
|
539
539
|
}
|
|
540
540
|
a(w, "createElementTypeChecker");
|
|
541
541
|
function S() {
|
|
542
|
-
function L(G, ie, U,
|
|
542
|
+
function L(G, ie, U, W, ee) {
|
|
543
543
|
var Z = G[ie];
|
|
544
544
|
if (!t.isValidElementType(Z)) {
|
|
545
545
|
var J = B(Z);
|
|
546
|
-
return new b("Invalid " +
|
|
546
|
+
return new b("Invalid " + W + " `" + ee + "` of type " + ("`" + J + "` supplied to `" + U + "`, expected a single ReactElement type."));
|
|
547
547
|
}
|
|
548
548
|
return null;
|
|
549
549
|
}
|
|
@@ -551,10 +551,10 @@ function y$() {
|
|
|
551
551
|
}
|
|
552
552
|
a(S, "createElementTypeTypeChecker");
|
|
553
553
|
function O(L) {
|
|
554
|
-
function G(ie, U,
|
|
554
|
+
function G(ie, U, W, ee, Z) {
|
|
555
555
|
if (!(ie[U] instanceof L)) {
|
|
556
|
-
var J = L.name || h, V =
|
|
557
|
-
return new b("Invalid " + ee + " `" + Z + "` of type " + ("`" + V + "` supplied to `" +
|
|
556
|
+
var J = L.name || h, V = H(ie[U]);
|
|
557
|
+
return new b("Invalid " + ee + " `" + Z + "` of type " + ("`" + V + "` supplied to `" + W + "`, expected ") + ("instance of `" + J + "`."));
|
|
558
558
|
}
|
|
559
559
|
return null;
|
|
560
560
|
}
|
|
@@ -566,7 +566,7 @@ function y$() {
|
|
|
566
566
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
567
567
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
568
568
|
) : i("Invalid argument supplied to oneOf, expected an array.")), s;
|
|
569
|
-
function G(ie, U,
|
|
569
|
+
function G(ie, U, W, ee, Z) {
|
|
570
570
|
for (var J = ie[U], V = 0; V < L.length; V++)
|
|
571
571
|
if (g(J, L[V]))
|
|
572
572
|
return null;
|
|
@@ -574,21 +574,21 @@ function y$() {
|
|
|
574
574
|
var ce = z(F);
|
|
575
575
|
return ce === "symbol" ? String(F) : F;
|
|
576
576
|
}, "replacer"));
|
|
577
|
-
return new b("Invalid " + ee + " `" + Z + "` of value `" + String(J) + "` " + ("supplied to `" +
|
|
577
|
+
return new b("Invalid " + ee + " `" + Z + "` of value `" + String(J) + "` " + ("supplied to `" + W + "`, expected one of " + re + "."));
|
|
578
578
|
}
|
|
579
579
|
return a(G, "validate"), y(G);
|
|
580
580
|
}
|
|
581
581
|
a(R, "createEnumTypeChecker");
|
|
582
582
|
function $(L) {
|
|
583
|
-
function G(ie, U,
|
|
583
|
+
function G(ie, U, W, ee, Z) {
|
|
584
584
|
if (typeof L != "function")
|
|
585
|
-
return new b("Property `" + Z + "` of component `" +
|
|
585
|
+
return new b("Property `" + Z + "` of component `" + W + "` has invalid PropType notation inside objectOf.");
|
|
586
586
|
var J = ie[U], V = B(J);
|
|
587
587
|
if (V !== "object")
|
|
588
|
-
return new b("Invalid " + ee + " `" + Z + "` of type " + ("`" + V + "` supplied to `" +
|
|
588
|
+
return new b("Invalid " + ee + " `" + Z + "` of type " + ("`" + V + "` supplied to `" + W + "`, expected an object."));
|
|
589
589
|
for (var re in J)
|
|
590
590
|
if (r(J, re)) {
|
|
591
|
-
var X = L(J, re,
|
|
591
|
+
var X = L(J, re, W, ee, Z + "." + re, n);
|
|
592
592
|
if (X instanceof Error)
|
|
593
593
|
return X;
|
|
594
594
|
}
|
|
@@ -607,9 +607,9 @@ function y$() {
|
|
|
607
607
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + I(ie) + " at index " + G + "."
|
|
608
608
|
), s;
|
|
609
609
|
}
|
|
610
|
-
function U(
|
|
610
|
+
function U(W, ee, Z, J, V) {
|
|
611
611
|
for (var re = [], X = 0; X < L.length; X++) {
|
|
612
|
-
var ne = L[X], F = ne(
|
|
612
|
+
var ne = L[X], F = ne(W, ee, Z, J, V, n);
|
|
613
613
|
if (F == null)
|
|
614
614
|
return null;
|
|
615
615
|
F.data && r(F.data, "expectedType") && re.push(F.data.expectedType);
|
|
@@ -621,28 +621,28 @@ function y$() {
|
|
|
621
621
|
}
|
|
622
622
|
a(N, "createUnionTypeChecker");
|
|
623
623
|
function _() {
|
|
624
|
-
function L(G, ie, U,
|
|
625
|
-
return D(G[ie]) ? null : new b("Invalid " +
|
|
624
|
+
function L(G, ie, U, W, ee) {
|
|
625
|
+
return D(G[ie]) ? null : new b("Invalid " + W + " `" + ee + "` supplied to " + ("`" + U + "`, expected a ReactNode."));
|
|
626
626
|
}
|
|
627
627
|
return a(L, "validate"), y(L);
|
|
628
628
|
}
|
|
629
629
|
a(_, "createNodeChecker");
|
|
630
|
-
function M(L, G, ie, U,
|
|
630
|
+
function M(L, G, ie, U, W) {
|
|
631
631
|
return new b(
|
|
632
|
-
(L || "React class") + ": " + G + " type `" + ie + "." + U + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" +
|
|
632
|
+
(L || "React class") + ": " + G + " type `" + ie + "." + U + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + W + "`."
|
|
633
633
|
);
|
|
634
634
|
}
|
|
635
635
|
a(M, "invalidValidatorError");
|
|
636
636
|
function P(L) {
|
|
637
|
-
function G(ie, U,
|
|
637
|
+
function G(ie, U, W, ee, Z) {
|
|
638
638
|
var J = ie[U], V = B(J);
|
|
639
639
|
if (V !== "object")
|
|
640
|
-
return new b("Invalid " + ee + " `" + Z + "` of type `" + V + "` " + ("supplied to `" +
|
|
640
|
+
return new b("Invalid " + ee + " `" + Z + "` of type `" + V + "` " + ("supplied to `" + W + "`, expected `object`."));
|
|
641
641
|
for (var re in L) {
|
|
642
642
|
var X = L[re];
|
|
643
643
|
if (typeof X != "function")
|
|
644
|
-
return M(
|
|
645
|
-
var ne = X(J, re,
|
|
644
|
+
return M(W, ee, Z, re, z(X));
|
|
645
|
+
var ne = X(J, re, W, ee, Z + "." + re, n);
|
|
646
646
|
if (ne)
|
|
647
647
|
return ne;
|
|
648
648
|
}
|
|
@@ -652,21 +652,21 @@ function y$() {
|
|
|
652
652
|
}
|
|
653
653
|
a(P, "createShapeTypeChecker");
|
|
654
654
|
function A(L) {
|
|
655
|
-
function G(ie, U,
|
|
655
|
+
function G(ie, U, W, ee, Z) {
|
|
656
656
|
var J = ie[U], V = B(J);
|
|
657
657
|
if (V !== "object")
|
|
658
|
-
return new b("Invalid " + ee + " `" + Z + "` of type `" + V + "` " + ("supplied to `" +
|
|
658
|
+
return new b("Invalid " + ee + " `" + Z + "` of type `" + V + "` " + ("supplied to `" + W + "`, expected `object`."));
|
|
659
659
|
var re = e({}, ie[U], L);
|
|
660
660
|
for (var X in re) {
|
|
661
661
|
var ne = L[X];
|
|
662
662
|
if (r(L, X) && typeof ne != "function")
|
|
663
|
-
return M(
|
|
663
|
+
return M(W, ee, Z, X, z(ne));
|
|
664
664
|
if (!ne)
|
|
665
665
|
return new b(
|
|
666
|
-
"Invalid " + ee + " `" + Z + "` key `" + X + "` supplied to `" +
|
|
666
|
+
"Invalid " + ee + " `" + Z + "` key `" + X + "` supplied to `" + W + "`.\nBad object: " + JSON.stringify(ie[U], null, " ") + `
|
|
667
667
|
Valid keys: ` + JSON.stringify(Object.keys(L), null, " ")
|
|
668
668
|
);
|
|
669
|
-
var F = ne(J, X,
|
|
669
|
+
var F = ne(J, X, W, ee, Z + "." + X, n);
|
|
670
670
|
if (F)
|
|
671
671
|
return F;
|
|
672
672
|
}
|
|
@@ -697,8 +697,8 @@ Valid keys: ` + JSON.stringify(Object.keys(L), null, " ")
|
|
|
697
697
|
return !1;
|
|
698
698
|
} else
|
|
699
699
|
for (; !(U = ie.next()).done; ) {
|
|
700
|
-
var
|
|
701
|
-
if (
|
|
700
|
+
var W = U.value;
|
|
701
|
+
if (W && !D(W[1]))
|
|
702
702
|
return !1;
|
|
703
703
|
}
|
|
704
704
|
} else
|
|
@@ -746,10 +746,10 @@ Valid keys: ` + JSON.stringify(Object.keys(L), null, " ")
|
|
|
746
746
|
}
|
|
747
747
|
}
|
|
748
748
|
a(I, "getPostfixForTypeWarning");
|
|
749
|
-
function
|
|
749
|
+
function H(L) {
|
|
750
750
|
return !L.constructor || !L.constructor.name ? h : L.constructor.name;
|
|
751
751
|
}
|
|
752
|
-
return a(
|
|
752
|
+
return a(H, "getClassName"), m.checkPropTypes = o, m.resetWarningCache = o.resetWarningCache, m.PropTypes = m, m;
|
|
753
753
|
}, "factoryWithTypeCheckers"), $p;
|
|
754
754
|
}
|
|
755
755
|
a(y$, "requireFactoryWithTypeCheckers");
|
|
@@ -1676,10 +1676,10 @@ function J$() {
|
|
|
1676
1676
|
}
|
|
1677
1677
|
a(w, "typeOf");
|
|
1678
1678
|
var S = u, O = d, R = l, $ = s, N = e, _ = f, M = r, P = g, A = m, D = n, j = i, B = o, z = p, I = !1;
|
|
1679
|
-
function
|
|
1679
|
+
function H(F) {
|
|
1680
1680
|
return I || (I = !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.")), L(F) || w(F) === u;
|
|
1681
1681
|
}
|
|
1682
|
-
a(
|
|
1682
|
+
a(H, "isAsyncMode");
|
|
1683
1683
|
function L(F) {
|
|
1684
1684
|
return w(F) === d;
|
|
1685
1685
|
}
|
|
@@ -1696,10 +1696,10 @@ function J$() {
|
|
|
1696
1696
|
return typeof F == "object" && F !== null && F.$$typeof === e;
|
|
1697
1697
|
}
|
|
1698
1698
|
a(U, "isElement");
|
|
1699
|
-
function
|
|
1699
|
+
function W(F) {
|
|
1700
1700
|
return w(F) === f;
|
|
1701
1701
|
}
|
|
1702
|
-
a(
|
|
1702
|
+
a(W, "isForwardRef");
|
|
1703
1703
|
function ee(F) {
|
|
1704
1704
|
return w(F) === r;
|
|
1705
1705
|
}
|
|
@@ -1727,7 +1727,7 @@ function J$() {
|
|
|
1727
1727
|
function ne(F) {
|
|
1728
1728
|
return w(F) === p;
|
|
1729
1729
|
}
|
|
1730
|
-
a(ne, "isSuspense"), it.AsyncMode = S, it.ConcurrentMode = O, it.ContextConsumer = R, it.ContextProvider = $, it.Element = N, it.ForwardRef = _, it.Fragment = M, it.Lazy = P, it.Memo = A, it.Portal = D, it.Profiler = j, it.StrictMode = B, it.Suspense = z, it.isAsyncMode =
|
|
1730
|
+
a(ne, "isSuspense"), it.AsyncMode = S, it.ConcurrentMode = O, it.ContextConsumer = R, it.ContextProvider = $, it.Element = N, it.ForwardRef = _, it.Fragment = M, it.Lazy = P, it.Memo = A, it.Portal = D, it.Profiler = j, it.StrictMode = B, it.Suspense = z, it.isAsyncMode = H, it.isConcurrentMode = L, it.isContextConsumer = G, it.isContextProvider = ie, it.isElement = U, it.isForwardRef = W, it.isFragment = ee, it.isLazy = Z, it.isMemo = J, it.isPortal = V, it.isProfiler = re, it.isStrictMode = X, it.isSuspense = ne, it.isValidElementType = E, it.typeOf = w;
|
|
1731
1731
|
}()), it;
|
|
1732
1732
|
}
|
|
1733
1733
|
a(J$, "requireReactIs_development$1");
|
|
@@ -2868,13 +2868,13 @@ function U2() {
|
|
|
2868
2868
|
}
|
|
2869
2869
|
}
|
|
2870
2870
|
a(S, "typeOf");
|
|
2871
|
-
var O = s, R = i, $ = t, N = u, _ = n, M = h, P = p, A = e, D = o, j = r, B = d, z = f, I = !1,
|
|
2871
|
+
var O = s, R = i, $ = t, N = u, _ = n, M = h, P = p, A = e, D = o, j = r, B = d, z = f, I = !1, H = !1;
|
|
2872
2872
|
function L(Q) {
|
|
2873
2873
|
return I || (I = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
2874
2874
|
}
|
|
2875
2875
|
a(L, "isAsyncMode");
|
|
2876
2876
|
function G(Q) {
|
|
2877
|
-
return
|
|
2877
|
+
return H || (H = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
2878
2878
|
}
|
|
2879
2879
|
a(G, "isConcurrentMode");
|
|
2880
2880
|
function ie(Q) {
|
|
@@ -2885,10 +2885,10 @@ function U2() {
|
|
|
2885
2885
|
return S(Q) === i;
|
|
2886
2886
|
}
|
|
2887
2887
|
a(U, "isContextProvider");
|
|
2888
|
-
function
|
|
2888
|
+
function W(Q) {
|
|
2889
2889
|
return typeof Q == "object" && Q !== null && Q.$$typeof === t;
|
|
2890
2890
|
}
|
|
2891
|
-
a(
|
|
2891
|
+
a(W, "isElement");
|
|
2892
2892
|
function ee(Q) {
|
|
2893
2893
|
return S(Q) === u;
|
|
2894
2894
|
}
|
|
@@ -2924,7 +2924,7 @@ function U2() {
|
|
|
2924
2924
|
function ce(Q) {
|
|
2925
2925
|
return S(Q) === f;
|
|
2926
2926
|
}
|
|
2927
|
-
a(ce, "isSuspenseList"), at.ContextConsumer = O, at.ContextProvider = R, at.Element = $, at.ForwardRef = N, at.Fragment = _, at.Lazy = M, at.Memo = P, at.Portal = A, at.Profiler = D, at.StrictMode = j, at.Suspense = B, at.SuspenseList = z, at.isAsyncMode = L, at.isConcurrentMode = G, at.isContextConsumer = ie, at.isContextProvider = U, at.isElement =
|
|
2927
|
+
a(ce, "isSuspenseList"), at.ContextConsumer = O, at.ContextProvider = R, at.Element = $, at.ForwardRef = N, at.Fragment = _, at.Lazy = M, at.Memo = P, at.Portal = A, at.Profiler = D, at.StrictMode = j, at.Suspense = B, at.SuspenseList = z, at.isAsyncMode = L, at.isConcurrentMode = G, at.isContextConsumer = ie, at.isContextProvider = U, at.isElement = W, at.isForwardRef = ee, at.isFragment = Z, at.isLazy = J, at.isMemo = V, at.isPortal = re, at.isProfiler = X, at.isStrictMode = ne, at.isSuspense = F, at.isSuspenseList = ce, at.isValidElementType = w, at.typeOf = S;
|
|
2928
2928
|
}()), at;
|
|
2929
2929
|
}
|
|
2930
2930
|
a(U2, "requireReactIs_development");
|
|
@@ -6060,16 +6060,16 @@ function c_(t = {}) {
|
|
|
6060
6060
|
columnSpacing: B = D,
|
|
6061
6061
|
disableEqualOverflow: z,
|
|
6062
6062
|
unstable_level: I = 0
|
|
6063
|
-
} = S,
|
|
6063
|
+
} = S, H = le(S, i_);
|
|
6064
6064
|
let L = z;
|
|
6065
6065
|
I && z !== void 0 && (L = d.disableEqualOverflow);
|
|
6066
6066
|
const G = {}, ie = {}, U = {};
|
|
6067
|
-
Object.entries(
|
|
6067
|
+
Object.entries(H).forEach(([ne, F]) => {
|
|
6068
6068
|
E.breakpoints.values[ne] !== void 0 ? G[ne] = F : E.breakpoints.values[ne.replace("Offset", "")] !== void 0 ? ie[ne.replace("Offset", "")] = F : U[ne] = F;
|
|
6069
6069
|
});
|
|
6070
|
-
const
|
|
6070
|
+
const W = (p = d.columns) != null ? p : I ? void 0 : N, ee = (h = d.spacing) != null ? h : I ? void 0 : D, Z = (m = (g = d.rowSpacing) != null ? g : d.spacing) != null ? m : I ? void 0 : j, J = (b = (y = d.columnSpacing) != null ? y : d.spacing) != null ? b : I ? void 0 : B, V = k({}, S, {
|
|
6071
6071
|
level: I,
|
|
6072
|
-
columns:
|
|
6072
|
+
columns: W,
|
|
6073
6073
|
container: _,
|
|
6074
6074
|
direction: P,
|
|
6075
6075
|
wrap: A,
|
|
@@ -7836,21 +7836,21 @@ const cD = ["BackdropComponent", "BackdropProps", "classes", "className", "close
|
|
|
7836
7836
|
}), {
|
|
7837
7837
|
getRootProps: z,
|
|
7838
7838
|
getBackdropProps: I,
|
|
7839
|
-
getTransitionProps:
|
|
7839
|
+
getTransitionProps: H,
|
|
7840
7840
|
portalRef: L,
|
|
7841
7841
|
isTopModal: G,
|
|
7842
7842
|
exited: ie,
|
|
7843
7843
|
hasTransition: U
|
|
7844
7844
|
} = aD(k({}, B, {
|
|
7845
7845
|
rootRef: n
|
|
7846
|
-
})),
|
|
7846
|
+
})), W = k({}, B, {
|
|
7847
7847
|
exited: ie
|
|
7848
|
-
}), ee = uD(
|
|
7848
|
+
}), ee = uD(W), Z = {};
|
|
7849
7849
|
if (g.props.tabIndex === void 0 && (Z.tabIndex = "-1"), U) {
|
|
7850
7850
|
const {
|
|
7851
7851
|
onEnter: ce,
|
|
7852
7852
|
onExited: Q
|
|
7853
|
-
} =
|
|
7853
|
+
} = H();
|
|
7854
7854
|
Z.onEnter = ce, Z.onExited = Q;
|
|
7855
7855
|
}
|
|
7856
7856
|
const J = (r = (o = D == null ? void 0 : D.root) != null ? o : x.Root) != null ? r : dD, V = (i = (s = D == null ? void 0 : D.backdrop) != null ? s : x.Backdrop) != null ? i : f, re = (l = A == null ? void 0 : A.root) != null ? l : T.root, X = (u = A == null ? void 0 : A.backdrop) != null ? u : T.backdrop, ne = _n({
|
|
@@ -7862,8 +7862,8 @@ const cD = ["BackdropComponent", "BackdropProps", "classes", "className", "close
|
|
|
7862
7862
|
ref: n,
|
|
7863
7863
|
as: y
|
|
7864
7864
|
},
|
|
7865
|
-
ownerState:
|
|
7866
|
-
className: ae(h, re == null ? void 0 : re.className, ee == null ? void 0 : ee.root, !
|
|
7865
|
+
ownerState: W,
|
|
7866
|
+
className: ae(h, re == null ? void 0 : re.className, ee == null ? void 0 : ee.root, !W.open && W.exited && (ee == null ? void 0 : ee.hidden))
|
|
7867
7867
|
}), F = _n({
|
|
7868
7868
|
elementType: V,
|
|
7869
7869
|
externalSlotProps: X,
|
|
@@ -7874,7 +7874,7 @@ const cD = ["BackdropComponent", "BackdropProps", "classes", "className", "close
|
|
|
7874
7874
|
}, "onClick")
|
|
7875
7875
|
})), "getSlotProps"),
|
|
7876
7876
|
className: ae(X == null ? void 0 : X.className, p == null ? void 0 : p.className, ee == null ? void 0 : ee.backdrop),
|
|
7877
|
-
ownerState:
|
|
7877
|
+
ownerState: W
|
|
7878
7878
|
});
|
|
7879
7879
|
return !_ && !P && (!U || ie) ? null : /* @__PURE__ */ v(zl, {
|
|
7880
7880
|
ref: L,
|
|
@@ -9024,7 +9024,7 @@ process.env.NODE_ENV !== "production" && (Cc.propTypes = {
|
|
|
9024
9024
|
sx: c.oneOfType([c.arrayOf(c.oneOfType([c.func, c.object, c.bool])), c.func, c.object])
|
|
9025
9025
|
});
|
|
9026
9026
|
const OE = Pt(), Sc = /* @__PURE__ */ a(({ children: t }) => {
|
|
9027
|
-
const [e, n] =
|
|
9027
|
+
const [e, n] = Ve(!1), [r, o] = Ve(""), i = It(
|
|
9028
9028
|
() => ({
|
|
9029
9029
|
open: e,
|
|
9030
9030
|
mensaje: r,
|
|
@@ -9036,22 +9036,23 @@ const OE = Pt(), Sc = /* @__PURE__ */ a(({ children: t }) => {
|
|
|
9036
9036
|
[e, r, n, o]
|
|
9037
9037
|
);
|
|
9038
9038
|
return /* @__PURE__ */ v(OE.Provider, { value: i, children: t });
|
|
9039
|
-
}, "ProgressProvider"), Oa = /* @__PURE__ */ a(() => Xe(OE), "useFormProgress"), Hh = Pt(), JD = /* @__PURE__ */ a(({ children: t }) => {
|
|
9040
|
-
const
|
|
9039
|
+
}, "ProgressProvider"), Oa = /* @__PURE__ */ a(() => Xe(OE), "useFormProgress"), Hh = Pt(), JD = /* @__PURE__ */ a(({ children: t, isolate: e = !1 }) => {
|
|
9040
|
+
const n = Xe(Hh), [r, o] = Ve([]), [i, s] = Ve(null), l = r.length > 0, u = r[r.length - 1] || {}, d = It(
|
|
9041
9041
|
() => ({
|
|
9042
|
-
open:
|
|
9043
|
-
props:
|
|
9044
|
-
|
|
9045
|
-
|
|
9046
|
-
|
|
9047
|
-
|
|
9048
|
-
|
|
9042
|
+
open: l,
|
|
9043
|
+
props: u,
|
|
9044
|
+
stack: r,
|
|
9045
|
+
hostId: i,
|
|
9046
|
+
registerHost: /* @__PURE__ */ a((f) => s((p) => p === null ? f : p), "registerHost"),
|
|
9047
|
+
unregisterHost: /* @__PURE__ */ a((f) => s((p) => p === f ? null : p), "unregisterHost"),
|
|
9048
|
+
show: /* @__PURE__ */ a((f) => {
|
|
9049
|
+
o((p) => [...p, f]);
|
|
9049
9050
|
}, "show"),
|
|
9050
|
-
hide: /* @__PURE__ */ a(() =>
|
|
9051
|
+
hide: /* @__PURE__ */ a(() => o((f) => f.slice(0, -1)), "hide")
|
|
9051
9052
|
}),
|
|
9052
|
-
[
|
|
9053
|
+
[l, u, r, i]
|
|
9053
9054
|
);
|
|
9054
|
-
return e ? t : /* @__PURE__ */ v(Hh.Provider, { value:
|
|
9055
|
+
return n && !e ? t : /* @__PURE__ */ v(Hh.Provider, { value: d, children: t });
|
|
9055
9056
|
}, "AsistenteProvider"), us = /* @__PURE__ */ a(() => Xe(Hh), "useAsistente"), kE = Pt(), XD = /* @__PURE__ */ a(({
|
|
9056
9057
|
hasCreate: t,
|
|
9057
9058
|
hasSeleccionMultiple: e,
|
|
@@ -9059,11 +9060,11 @@ const OE = Pt(), Sc = /* @__PURE__ */ a(({ children: t }) => {
|
|
|
9059
9060
|
handleSeleccionMultiple: r,
|
|
9060
9061
|
children: o
|
|
9061
9062
|
}) => {
|
|
9062
|
-
const i = pr(null), [s, l] =
|
|
9063
|
+
const i = pr(null), [s, l] = Ve({
|
|
9063
9064
|
hasCreate: t,
|
|
9064
9065
|
hasSeleccionMultiple: e,
|
|
9065
9066
|
handleSeleccionMultiple: r
|
|
9066
|
-
}), [u, d] =
|
|
9067
|
+
}), [u, d] = Ve("grilla"), f = It(
|
|
9067
9068
|
() => ({
|
|
9068
9069
|
props: {
|
|
9069
9070
|
...s,
|
|
@@ -9934,7 +9935,7 @@ const w5 = /^(\d+)(th|st|nd|rd)?/i, E5 = /\d+/i, T5 = {
|
|
|
9934
9935
|
firstWeekContainsDate: 1
|
|
9935
9936
|
}
|
|
9936
9937
|
}, ME = Pt({}), Bf = Pt(void 0), jf = Pt(), hb = /* @__PURE__ */ a(({ value: t, children: e }) => {
|
|
9937
|
-
const [n, r] =
|
|
9938
|
+
const [n, r] = Ve({}), o = It(
|
|
9938
9939
|
() => ({
|
|
9939
9940
|
estado: t.estado,
|
|
9940
9941
|
initialValues: t.initialValues,
|
|
@@ -9998,11 +9999,11 @@ const w5 = /^(\d+)(th|st|nd|rd)?/i, E5 = /\d+/i, T5 = {
|
|
|
9998
9999
|
onChange: B,
|
|
9999
10000
|
hidden: z,
|
|
10000
10001
|
disabled: I,
|
|
10001
|
-
useContenido:
|
|
10002
|
+
useContenido: H = wc,
|
|
10002
10003
|
validate: L,
|
|
10003
10004
|
required: G,
|
|
10004
10005
|
...ie
|
|
10005
|
-
} = w, U = l || z === void 0 ? N : z,
|
|
10006
|
+
} = w, U = l || z === void 0 ? N : z, W = l || I === void 0 ? _ : I, ee = l || D === void 0 ? O : D, Z = l || j === void 0 ? $ : j, J = l || B === void 0 ? R : B, V = Vr(t), re = H({
|
|
10006
10007
|
...A,
|
|
10007
10008
|
estado: n,
|
|
10008
10009
|
hidden: U,
|
|
@@ -10045,7 +10046,7 @@ const w5 = /^(\d+)(th|st|nd|rd)?/i, E5 = /\d+/i, T5 = {
|
|
|
10045
10046
|
...A,
|
|
10046
10047
|
...ie,
|
|
10047
10048
|
...Pe,
|
|
10048
|
-
readOnly: g !== void 0 ? g : ne !== void 0 ? ne : h ? !0 :
|
|
10049
|
+
readOnly: g !== void 0 ? g : ne !== void 0 ? ne : h ? !0 : W,
|
|
10049
10050
|
...T ? { label: T } : { label: m || t.label },
|
|
10050
10051
|
isRequired: Fe,
|
|
10051
10052
|
...S
|
|
@@ -10308,7 +10309,7 @@ const w5 = /^(\d+)(th|st|nd|rd)?/i, E5 = /\d+/i, T5 = {
|
|
|
10308
10309
|
[]
|
|
10309
10310
|
), r];
|
|
10310
10311
|
}, "useAjax"), jE = Pt(), zE = /* @__PURE__ */ a(({ children: t }) => {
|
|
10311
|
-
const [e, n] =
|
|
10312
|
+
const [e, n] = Ve({}), r = /* @__PURE__ */ a((i, s) => {
|
|
10312
10313
|
n((l) => ({
|
|
10313
10314
|
...l,
|
|
10314
10315
|
[i]: s
|
|
@@ -10373,7 +10374,7 @@ const w5 = /^(\d+)(th|st|nd|rd)?/i, E5 = /\d+/i, T5 = {
|
|
|
10373
10374
|
};
|
|
10374
10375
|
}, "useUtilsSubmit"), Wa = /* @__PURE__ */ new Map(), Vr = /* @__PURE__ */ a((t) => {
|
|
10375
10376
|
const e = dt(t), n = (t == null ? void 0 : t.id) ?? "new", r = `${e}-${n}`, o = cn();
|
|
10376
|
-
|
|
10377
|
+
ze(() => {
|
|
10377
10378
|
const M = Wa.get(r) ?? { form: null, count: 0 };
|
|
10378
10379
|
return o && !M.form && (M.form = o), M.count += 1, Wa.set(r, M), () => {
|
|
10379
10380
|
const P = Wa.get(r);
|
|
@@ -11903,8 +11904,8 @@ a(a4, "getExpandedFallbackPlacements");
|
|
|
11903
11904
|
function l4(t) {
|
|
11904
11905
|
var e = t.state, n = t.options, r = t.name;
|
|
11905
11906
|
if (!e.modifiersData[r]._skip) {
|
|
11906
|
-
for (var o = n.mainAxis, i = o === void 0 ? !0 : o, s = n.altAxis, l = s === void 0 ? !0 : s, u = n.fallbackPlacements, d = n.padding, f = n.boundary, p = n.rootBoundary, h = n.altBoundary, m = n.flipVariations, g = m === void 0 ? !0 : m, b = n.allowedAutoPlacements, y = e.options.placement, x = Ir(y), T = x === y, E = u || (T || !g ? [Eu(y)] : a4(y)), w = [y].concat(E).reduce(function(
|
|
11907
|
-
return
|
|
11907
|
+
for (var o = n.mainAxis, i = o === void 0 ? !0 : o, s = n.altAxis, l = s === void 0 ? !0 : s, u = n.fallbackPlacements, d = n.padding, f = n.boundary, p = n.rootBoundary, h = n.altBoundary, m = n.flipVariations, g = m === void 0 ? !0 : m, b = n.allowedAutoPlacements, y = e.options.placement, x = Ir(y), T = x === y, E = u || (T || !g ? [Eu(y)] : a4(y)), w = [y].concat(E).reduce(function(W, ee) {
|
|
11908
|
+
return W.concat(Ir(ee) === Db ? s4(e, {
|
|
11908
11909
|
placement: ee,
|
|
11909
11910
|
boundary: f,
|
|
11910
11911
|
rootBoundary: p,
|
|
@@ -11921,14 +11922,14 @@ function l4(t) {
|
|
|
11921
11922
|
padding: d
|
|
11922
11923
|
}), z = D ? A ? nr : Tn : A ? tr : En;
|
|
11923
11924
|
S[j] > O[j] && (z = Eu(z));
|
|
11924
|
-
var I = Eu(z),
|
|
11925
|
-
if (i &&
|
|
11926
|
-
return
|
|
11925
|
+
var I = Eu(z), H = [];
|
|
11926
|
+
if (i && H.push(B[P] <= 0), l && H.push(B[z] <= 0, B[I] <= 0), H.every(function(W) {
|
|
11927
|
+
return W;
|
|
11927
11928
|
})) {
|
|
11928
11929
|
N = M, $ = !1;
|
|
11929
11930
|
break;
|
|
11930
11931
|
}
|
|
11931
|
-
R.set(M,
|
|
11932
|
+
R.set(M, H);
|
|
11932
11933
|
}
|
|
11933
11934
|
if ($)
|
|
11934
11935
|
for (var L = g ? 3 : 1, G = /* @__PURE__ */ a(function(ee) {
|
|
@@ -12069,10 +12070,10 @@ function y4(t) {
|
|
|
12069
12070
|
};
|
|
12070
12071
|
if (O) {
|
|
12071
12072
|
if (i) {
|
|
12072
|
-
var A, D = w === "y" ? En : Tn, j = w === "y" ? tr : nr, B = w === "y" ? "height" : "width", z = O[w], I = z + y[D],
|
|
12073
|
+
var A, D = w === "y" ? En : Tn, j = w === "y" ? tr : nr, B = w === "y" ? "height" : "width", z = O[w], I = z + y[D], H = z - y[j], L = m ? -$[B] / 2 : 0, G = T === Js ? R[B] : $[B], ie = T === Js ? -$[B] : -R[B], U = e.elements.arrow, W = m && U ? Fb(U) : {
|
|
12073
12074
|
width: 0,
|
|
12074
12075
|
height: 0
|
|
12075
|
-
}, ee = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : dT(), Z = ee[D], J = ee[j], V = ll(0, R[B],
|
|
12076
|
+
}, ee = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : dT(), Z = ee[D], J = ee[j], V = ll(0, R[B], W[B]), re = E ? R[B] / 2 - L - V - Z - _.mainAxis : G - V - Z - _.mainAxis, X = E ? -R[B] / 2 + L + V + J + _.mainAxis : ie + V + J + _.mainAxis, ne = e.elements.arrow && Tc(e.elements.arrow), F = ne ? w === "y" ? ne.clientTop || 0 : ne.clientLeft || 0 : 0, ce = (A = M == null ? void 0 : M[w]) != null ? A : 0, Q = z + re - ce - F, pe = z + X - ce, De = ll(m ? Vu(I, Q) : I, z, m ? Pi(H, pe) : H);
|
|
12076
12077
|
O[w] = De, P[w] = De - z;
|
|
12077
12078
|
}
|
|
12078
12079
|
if (l) {
|
|
@@ -13189,13 +13190,13 @@ const X4 = Me("MuiButtonBase", ["root", "disabled", "focusVisible"]), Q4 = ["act
|
|
|
13189
13190
|
TouchRippleProps: A,
|
|
13190
13191
|
touchRippleRef: D,
|
|
13191
13192
|
type: j
|
|
13192
|
-
} = r, B = le(r, Q4), z = C.useRef(null), I = C.useRef(null),
|
|
13193
|
+
} = r, B = le(r, Q4), z = C.useRef(null), I = C.useRef(null), H = Lt(I, D), {
|
|
13193
13194
|
isFocusVisibleRef: L,
|
|
13194
13195
|
onFocus: G,
|
|
13195
13196
|
onBlur: ie,
|
|
13196
13197
|
ref: U
|
|
13197
|
-
} = Lf(), [
|
|
13198
|
-
d &&
|
|
13198
|
+
} = Lf(), [W, ee] = C.useState(!1);
|
|
13199
|
+
d && W && ee(!1), C.useImperativeHandle(o, () => ({
|
|
13199
13200
|
focusVisible: /* @__PURE__ */ a(() => {
|
|
13200
13201
|
ee(!0), z.current.focus();
|
|
13201
13202
|
}, "focusVisible")
|
|
@@ -13206,14 +13207,14 @@ const X4 = Me("MuiButtonBase", ["root", "disabled", "focusVisible"]), Q4 = ["act
|
|
|
13206
13207
|
}, []);
|
|
13207
13208
|
const V = Z && !f && !d;
|
|
13208
13209
|
C.useEffect(() => {
|
|
13209
|
-
|
|
13210
|
-
}, [f, h,
|
|
13210
|
+
W && h && !f && Z && I.current.pulsate();
|
|
13211
|
+
}, [f, h, W, Z]);
|
|
13211
13212
|
function re(Ee, ht, Qt = p) {
|
|
13212
13213
|
return $n((jt) => (ht && ht(jt), !Qt && I.current && I.current[Ee](jt), !0));
|
|
13213
13214
|
}
|
|
13214
13215
|
a(re, "useRippleHandler");
|
|
13215
13216
|
const X = re("start", O), ne = re("stop", y), F = re("stop", x), ce = re("stop", $), Q = re("stop", (Ee) => {
|
|
13216
|
-
|
|
13217
|
+
W && Ee.preventDefault(), R && R(Ee);
|
|
13217
13218
|
}), pe = re("start", M), De = re("stop", N), Pe = re("stop", _), Ne = re("stop", (Ee) => {
|
|
13218
13219
|
ie(Ee), L.current === !1 && ee(!1), g && g(Ee);
|
|
13219
13220
|
}, !1), ct = $n((Ee) => {
|
|
@@ -13222,11 +13223,11 @@ const X4 = Me("MuiButtonBase", ["root", "disabled", "focusVisible"]), Q4 = ["act
|
|
|
13222
13223
|
const Ee = z.current;
|
|
13223
13224
|
return u && u !== "button" && !(Ee.tagName === "A" && Ee.href);
|
|
13224
13225
|
}, "isNonNativeButton"), Fe = C.useRef(!1), Qe = $n((Ee) => {
|
|
13225
|
-
h && !Fe.current &&
|
|
13226
|
+
h && !Fe.current && W && I.current && Ee.key === " " && (Fe.current = !0, I.current.stop(Ee, () => {
|
|
13226
13227
|
I.current.start(Ee);
|
|
13227
13228
|
})), Ee.target === Ee.currentTarget && se() && Ee.key === " " && Ee.preventDefault(), w && w(Ee), Ee.target === Ee.currentTarget && se() && Ee.key === "Enter" && !d && (Ee.preventDefault(), b && b(Ee));
|
|
13228
13229
|
}), ft = $n((Ee) => {
|
|
13229
|
-
h && Ee.key === " " && I.current &&
|
|
13230
|
+
h && Ee.key === " " && I.current && W && !Ee.defaultPrevented && (Fe.current = !1, I.current.stop(Ee, () => {
|
|
13230
13231
|
I.current.pulsate(Ee);
|
|
13231
13232
|
})), S && S(Ee), b && Ee.target === Ee.currentTarget && se() && Ee.key === " " && !Ee.defaultPrevented && b(Ee);
|
|
13232
13233
|
});
|
|
@@ -13247,7 +13248,7 @@ const X4 = Me("MuiButtonBase", ["root", "disabled", "focusVisible"]), Q4 = ["act
|
|
|
13247
13248
|
disableTouchRipple: p,
|
|
13248
13249
|
focusRipple: h,
|
|
13249
13250
|
tabIndex: P,
|
|
13250
|
-
focusVisible:
|
|
13251
|
+
focusVisible: W
|
|
13251
13252
|
}), Le = Z4(Et);
|
|
13252
13253
|
return /* @__PURE__ */ q(eB, k({
|
|
13253
13254
|
as: Ye,
|
|
@@ -13273,7 +13274,7 @@ const X4 = Me("MuiButtonBase", ["root", "disabled", "focusVisible"]), Q4 = ["act
|
|
|
13273
13274
|
children: [s, V ? (
|
|
13274
13275
|
/* TouchRipple is only needed client-side, x2 boost on the server. */
|
|
13275
13276
|
/* @__PURE__ */ v(yT, k({
|
|
13276
|
-
ref:
|
|
13277
|
+
ref: H,
|
|
13277
13278
|
center: i
|
|
13278
13279
|
}, A))
|
|
13279
13280
|
) : null]
|
|
@@ -14002,13 +14003,13 @@ const ea = Me("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
|
|
|
14002
14003
|
renderSuffix: B,
|
|
14003
14004
|
rows: z,
|
|
14004
14005
|
slotProps: I = {},
|
|
14005
|
-
slots:
|
|
14006
|
+
slots: H = {},
|
|
14006
14007
|
startAdornment: L,
|
|
14007
14008
|
type: G = "text",
|
|
14008
14009
|
value: ie
|
|
14009
|
-
} = o, U = le(o, uB),
|
|
14010
|
+
} = o, U = le(o, uB), W = T.value != null ? T.value : ie, {
|
|
14010
14011
|
current: ee
|
|
14011
|
-
} = C.useRef(
|
|
14012
|
+
} = C.useRef(W != null), Z = C.useRef(), J = C.useCallback((Le) => {
|
|
14012
14013
|
process.env.NODE_ENV !== "production" && Le && Le.nodeName !== "INPUT" && !Le.focus && console.error(["MUI: You have provided a `inputComponent` to the input component", "that does not correctly handle the `ref` prop.", "Make sure the `ref` prop is called with a HTMLInputElement."].join(`
|
|
14013
14014
|
`));
|
|
14014
14015
|
}, []), V = Lt(Z, E, T.ref, J), [re, X] = C.useState(!1), ne = ds();
|
|
@@ -14029,9 +14030,9 @@ const ea = Me("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
|
|
|
14029
14030
|
}, [ce, Q]);
|
|
14030
14031
|
Br(() => {
|
|
14031
14032
|
ee && pe({
|
|
14032
|
-
value:
|
|
14033
|
+
value: W
|
|
14033
14034
|
});
|
|
14034
|
-
}, [
|
|
14035
|
+
}, [W, pe, ee]);
|
|
14035
14036
|
const De = /* @__PURE__ */ a((Le) => {
|
|
14036
14037
|
if (F.disabled) {
|
|
14037
14038
|
Le.stopPropagation();
|
|
@@ -14088,7 +14089,7 @@ const ea = Me("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
|
|
|
14088
14089
|
size: F.size,
|
|
14089
14090
|
startAdornment: L,
|
|
14090
14091
|
type: G
|
|
14091
|
-
}), Ye = dB(ft), ut =
|
|
14092
|
+
}), Ye = dB(ft), ut = H.root || d.Root || Jf, Je = I.root || f.root || {}, Et = H.input || d.Input || Xf;
|
|
14092
14093
|
return Fe = k({}, Fe, (r = I.input) != null ? r : f.input), /* @__PURE__ */ q(C.Fragment, {
|
|
14093
14094
|
children: [!m && fB, /* @__PURE__ */ q(ut, k({}, Je, !Ys(ut) && {
|
|
14094
14095
|
ownerState: k({}, ft, Je.ownerState)
|
|
@@ -14114,7 +14115,7 @@ const ea = Me("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
|
|
|
14114
14115
|
readOnly: j,
|
|
14115
14116
|
required: F.required,
|
|
14116
14117
|
rows: z,
|
|
14117
|
-
value:
|
|
14118
|
+
value: W,
|
|
14118
14119
|
onKeyDown: P,
|
|
14119
14120
|
onKeyUp: A,
|
|
14120
14121
|
type: G
|
|
@@ -14682,8 +14683,8 @@ const yo = Me("MuiBadge", [
|
|
|
14682
14683
|
color: B = x,
|
|
14683
14684
|
overlap: z = y,
|
|
14684
14685
|
anchorOrigin: I = f,
|
|
14685
|
-
variant:
|
|
14686
|
-
} = j ? D : d, L =
|
|
14686
|
+
variant: H = $
|
|
14687
|
+
} = j ? D : d, L = H !== "dot" ? A : void 0, G = k({}, d, {
|
|
14687
14688
|
badgeContent: _,
|
|
14688
14689
|
invisible: j,
|
|
14689
14690
|
max: P,
|
|
@@ -14692,8 +14693,8 @@ const yo = Me("MuiBadge", [
|
|
|
14692
14693
|
anchorOrigin: I,
|
|
14693
14694
|
color: B,
|
|
14694
14695
|
overlap: z,
|
|
14695
|
-
variant:
|
|
14696
|
-
}), ie = CB(G), U = (r = (o = S == null ? void 0 : S.root) != null ? o : m.Root) != null ? r : SB,
|
|
14696
|
+
variant: H
|
|
14697
|
+
}), ie = CB(G), U = (r = (o = S == null ? void 0 : S.root) != null ? o : m.Root) != null ? r : SB, W = (i = (s = S == null ? void 0 : S.badge) != null ? s : m.Badge) != null ? i : wB, ee = (l = O == null ? void 0 : O.root) != null ? l : g.root, Z = (u = O == null ? void 0 : O.badge) != null ? u : g.badge, J = _n({
|
|
14697
14698
|
elementType: U,
|
|
14698
14699
|
externalSlotProps: ee,
|
|
14699
14700
|
externalForwardedProps: N,
|
|
@@ -14704,13 +14705,13 @@ const yo = Me("MuiBadge", [
|
|
|
14704
14705
|
ownerState: G,
|
|
14705
14706
|
className: ae(ee == null ? void 0 : ee.className, ie.root, p)
|
|
14706
14707
|
}), V = _n({
|
|
14707
|
-
elementType:
|
|
14708
|
+
elementType: W,
|
|
14708
14709
|
externalSlotProps: Z,
|
|
14709
14710
|
ownerState: G,
|
|
14710
14711
|
className: ae(ie.badge, Z == null ? void 0 : Z.className)
|
|
14711
14712
|
});
|
|
14712
14713
|
return /* @__PURE__ */ q(U, k({}, J, {
|
|
14713
|
-
children: [b, /* @__PURE__ */ v(
|
|
14714
|
+
children: [b, /* @__PURE__ */ v(W, k({}, V, {
|
|
14714
14715
|
children: L
|
|
14715
14716
|
}))]
|
|
14716
14717
|
}));
|
|
@@ -14897,15 +14898,15 @@ const TB = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked"
|
|
|
14897
14898
|
default: !!l,
|
|
14898
14899
|
name: "SwitchBase",
|
|
14899
14900
|
state: "checked"
|
|
14900
|
-
}), M = ds(), P = /* @__PURE__ */ a((
|
|
14901
|
-
T && T(
|
|
14902
|
-
}, "handleFocus"), A = /* @__PURE__ */ a((
|
|
14903
|
-
y && y(
|
|
14904
|
-
}, "handleBlur"), D = /* @__PURE__ */ a((
|
|
14905
|
-
if (
|
|
14901
|
+
}), M = ds(), P = /* @__PURE__ */ a((H) => {
|
|
14902
|
+
T && T(H), M && M.onFocus && M.onFocus(H);
|
|
14903
|
+
}, "handleFocus"), A = /* @__PURE__ */ a((H) => {
|
|
14904
|
+
y && y(H), M && M.onBlur && M.onBlur(H);
|
|
14905
|
+
}, "handleBlur"), D = /* @__PURE__ */ a((H) => {
|
|
14906
|
+
if (H.nativeEvent.defaultPrevented)
|
|
14906
14907
|
return;
|
|
14907
|
-
const L =
|
|
14908
|
-
_(L), x && x(
|
|
14908
|
+
const L = H.target.checked;
|
|
14909
|
+
_(L), x && x(H, L);
|
|
14909
14910
|
}, "handleInputChange");
|
|
14910
14911
|
let j = u;
|
|
14911
14912
|
M && typeof j > "u" && (j = M.disabled);
|
|
@@ -18051,7 +18052,7 @@ const W3 = {
|
|
|
18051
18052
|
const {
|
|
18052
18053
|
duration: z,
|
|
18053
18054
|
delay: I,
|
|
18054
|
-
easing:
|
|
18055
|
+
easing: H
|
|
18055
18056
|
} = Ki({
|
|
18056
18057
|
style: g,
|
|
18057
18058
|
timeout: b,
|
|
@@ -18066,7 +18067,7 @@ const W3 = {
|
|
|
18066
18067
|
}), w.transitions.create("transform", {
|
|
18067
18068
|
duration: qp ? L : L * 0.666,
|
|
18068
18069
|
delay: I,
|
|
18069
|
-
easing:
|
|
18070
|
+
easing: H
|
|
18070
18071
|
})].join(","), u && u(j, B);
|
|
18071
18072
|
}), _ = R(d), M = R(m), P = R((j) => {
|
|
18072
18073
|
const {
|
|
@@ -18080,13 +18081,13 @@ const W3 = {
|
|
|
18080
18081
|
}, {
|
|
18081
18082
|
mode: "exit"
|
|
18082
18083
|
});
|
|
18083
|
-
let
|
|
18084
|
-
b === "auto" ? (
|
|
18085
|
-
duration:
|
|
18084
|
+
let H;
|
|
18085
|
+
b === "auto" ? (H = w.transitions.getAutoHeightDuration(j.clientHeight), E.current = H) : H = B, j.style.transition = [w.transitions.create("opacity", {
|
|
18086
|
+
duration: H,
|
|
18086
18087
|
delay: z
|
|
18087
18088
|
}), w.transitions.create("transform", {
|
|
18088
|
-
duration: qp ?
|
|
18089
|
-
delay: qp ? z : z ||
|
|
18089
|
+
duration: qp ? H : H * 0.666,
|
|
18090
|
+
delay: qp ? z : z || H * 0.333,
|
|
18090
18091
|
easing: I
|
|
18091
18092
|
})].join(","), j.style.opacity = 0, j.style.transform = Xh(0.75), p && p(j);
|
|
18092
18093
|
}), A = R(h);
|
|
@@ -18301,7 +18302,7 @@ const K3 = /* @__PURE__ */ a((t) => {
|
|
|
18301
18302
|
}, [u, d.horizontal, d.vertical, f, p]), I = C.useCallback((ce) => ({
|
|
18302
18303
|
vertical: lx(ce, S.vertical),
|
|
18303
18304
|
horizontal: cx(ce, S.horizontal)
|
|
18304
|
-
}), [S.horizontal, S.vertical]),
|
|
18305
|
+
}), [S.horizontal, S.vertical]), H = C.useCallback((ce) => {
|
|
18305
18306
|
const Q = {
|
|
18306
18307
|
width: ce.offsetWidth,
|
|
18307
18308
|
height: ce.offsetHeight
|
|
@@ -18339,13 +18340,13 @@ const K3 = /* @__PURE__ */ a((t) => {
|
|
|
18339
18340
|
const ce = A.current;
|
|
18340
18341
|
if (!ce)
|
|
18341
18342
|
return;
|
|
18342
|
-
const Q =
|
|
18343
|
+
const Q = H(ce);
|
|
18343
18344
|
Q.top !== null && (ce.style.top = Q.top), Q.left !== null && (ce.style.left = Q.left), ce.style.transformOrigin = Q.transformOrigin, G(!0);
|
|
18344
|
-
}, [
|
|
18345
|
+
}, [H]);
|
|
18345
18346
|
C.useEffect(() => (N && window.addEventListener("scroll", ie), () => window.removeEventListener("scroll", ie)), [u, N, ie]);
|
|
18346
18347
|
const U = /* @__PURE__ */ a((ce, Q) => {
|
|
18347
18348
|
$ && $(ce, Q), ie();
|
|
18348
|
-
}, "handleEntering"),
|
|
18349
|
+
}, "handleEntering"), W = /* @__PURE__ */ a(() => {
|
|
18349
18350
|
G(!1);
|
|
18350
18351
|
}, "handleExited");
|
|
18351
18352
|
C.useEffect(() => {
|
|
@@ -18406,7 +18407,7 @@ const K3 = /* @__PURE__ */ a((t) => {
|
|
|
18406
18407
|
appear: !0,
|
|
18407
18408
|
in: x,
|
|
18408
18409
|
onEntering: U,
|
|
18409
|
-
onExited:
|
|
18410
|
+
onExited: W,
|
|
18410
18411
|
timeout: ee
|
|
18411
18412
|
}, _, {
|
|
18412
18413
|
children: /* @__PURE__ */ v(V, k({}, re, {
|
|
@@ -18666,17 +18667,17 @@ const X3 = ["onEntering"], Q3 = ["autoFocus", "children", "className", "disableA
|
|
|
18666
18667
|
transitionDuration: b,
|
|
18667
18668
|
TransitionProps: w,
|
|
18668
18669
|
variant: x
|
|
18669
|
-
}), $ = tj(R), N = s && !d && h, _ = C.useRef(null), M = /* @__PURE__ */ a((I,
|
|
18670
|
+
}), $ = tj(R), N = s && !d && h, _ = C.useRef(null), M = /* @__PURE__ */ a((I, H) => {
|
|
18670
18671
|
_.current && _.current.adjustStyleForScrollbar(I, {
|
|
18671
18672
|
direction: O ? "rtl" : "ltr"
|
|
18672
|
-
}), y && y(I,
|
|
18673
|
+
}), y && y(I, H);
|
|
18673
18674
|
}, "handleEntering"), P = /* @__PURE__ */ a((I) => {
|
|
18674
18675
|
I.key === "Tab" && (I.preventDefault(), p && p(I, "tabKeyDown"));
|
|
18675
18676
|
}, "handleListKeyDown");
|
|
18676
18677
|
let A = -1;
|
|
18677
|
-
C.Children.map(l, (I,
|
|
18678
|
+
C.Children.map(l, (I, H) => {
|
|
18678
18679
|
/* @__PURE__ */ C.isValidElement(I) && (process.env.NODE_ENV !== "production" && Gs.isFragment(I) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
|
|
18679
|
-
`)), I.props.disabled || (x === "selectedMenu" && I.props.selected || A === -1) && (A =
|
|
18680
|
+
`)), I.props.disabled || (x === "selectedMenu" && I.props.selected || A === -1) && (A = H));
|
|
18680
18681
|
});
|
|
18681
18682
|
const D = (r = T.paper) != null ? r : rj, j = (o = E.paper) != null ? o : m, B = _n({
|
|
18682
18683
|
elementType: T.root,
|
|
@@ -19143,7 +19144,7 @@ const gj = /* @__PURE__ */ a((t) => {
|
|
|
19143
19144
|
tabIndex: D,
|
|
19144
19145
|
value: j,
|
|
19145
19146
|
variant: B = "standard"
|
|
19146
|
-
} = e, z = le(e, dj), [I,
|
|
19147
|
+
} = e, z = le(e, dj), [I, H] = Fl({
|
|
19147
19148
|
controlled: j,
|
|
19148
19149
|
default: p,
|
|
19149
19150
|
name: "Select"
|
|
@@ -19151,11 +19152,11 @@ const gj = /* @__PURE__ */ a((t) => {
|
|
|
19151
19152
|
controlled: _,
|
|
19152
19153
|
default: f,
|
|
19153
19154
|
name: "Select"
|
|
19154
|
-
}), ie = C.useRef(null), U = C.useRef(null), [
|
|
19155
|
+
}), ie = C.useRef(null), U = C.useRef(null), [W, ee] = C.useState(null), {
|
|
19155
19156
|
current: Z
|
|
19156
19157
|
} = C.useRef(_ != null), [J, V] = C.useState(), re = Lt(n, y), X = C.useCallback((be) => {
|
|
19157
19158
|
U.current = be, be && ee(be);
|
|
19158
|
-
}, []), ne =
|
|
19159
|
+
}, []), ne = W == null ? void 0 : W.parentNode;
|
|
19159
19160
|
C.useImperativeHandle(re, () => ({
|
|
19160
19161
|
focus: /* @__PURE__ */ a(() => {
|
|
19161
19162
|
U.current.focus();
|
|
@@ -19163,8 +19164,8 @@ const gj = /* @__PURE__ */ a((t) => {
|
|
|
19163
19164
|
node: ie.current,
|
|
19164
19165
|
value: I
|
|
19165
19166
|
}), [I]), C.useEffect(() => {
|
|
19166
|
-
f && L &&
|
|
19167
|
-
}, [
|
|
19167
|
+
f && L && W && !Z && (V(l ? null : ne.clientWidth), U.current.focus());
|
|
19168
|
+
}, [W, l]), C.useEffect(() => {
|
|
19168
19169
|
s && U.current.focus();
|
|
19169
19170
|
}, [s]), C.useEffect(() => {
|
|
19170
19171
|
if (!x)
|
|
@@ -19187,7 +19188,7 @@ const gj = /* @__PURE__ */ a((t) => {
|
|
|
19187
19188
|
F(!1, be);
|
|
19188
19189
|
}, "handleClose"), pe = C.Children.toArray(u), De = /* @__PURE__ */ a((be) => {
|
|
19189
19190
|
const oe = pe.find((he) => he.props.value === be.target.value);
|
|
19190
|
-
oe !== void 0 && (
|
|
19191
|
+
oe !== void 0 && (H(oe.props.value), O && O(be, oe));
|
|
19191
19192
|
}, "handleChange"), Pe = /* @__PURE__ */ a((be) => (oe) => {
|
|
19192
19193
|
let he;
|
|
19193
19194
|
if (oe.currentTarget.hasAttribute("tabindex")) {
|
|
@@ -19197,7 +19198,7 @@ const gj = /* @__PURE__ */ a((t) => {
|
|
|
19197
19198
|
Ie === -1 ? he.push(be.props.value) : he.splice(Ie, 1);
|
|
19198
19199
|
} else
|
|
19199
19200
|
he = be.props.value;
|
|
19200
|
-
if (be.props.onClick && be.props.onClick(oe), I !== he && (
|
|
19201
|
+
if (be.props.onClick && be.props.onClick(oe), I !== he && (H(he), O)) {
|
|
19201
19202
|
const Ie = oe.nativeEvent || oe, _e = new Ie.constructor(Ie.type, Ie);
|
|
19202
19203
|
Object.defineProperty(_e, "target", {
|
|
19203
19204
|
writable: !0,
|
|
@@ -19218,7 +19219,7 @@ const gj = /* @__PURE__ */ a((t) => {
|
|
|
19218
19219
|
// https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-select-only/
|
|
19219
19220
|
"Enter"
|
|
19220
19221
|
].indexOf(be.key) !== -1 && (be.preventDefault(), F(!0, be));
|
|
19221
|
-
}, "handleKeyDown"), ct =
|
|
19222
|
+
}, "handleKeyDown"), ct = W !== null && L, se = /* @__PURE__ */ a((be) => {
|
|
19222
19223
|
!ct && S && (Object.defineProperty(be, "target", {
|
|
19223
19224
|
writable: !0,
|
|
19224
19225
|
value: {
|
|
@@ -19268,7 +19269,7 @@ const gj = /* @__PURE__ */ a((t) => {
|
|
|
19268
19269
|
}
|
|
19269
19270
|
}, [ut, pe, E, w, I]), Ye && (E ? ft.length === 0 ? Fe = null : Fe = ft.reduce((be, oe, he) => (be.push(oe), he < ft.length - 1 && be.push(", "), be), []) : Fe = Qe);
|
|
19270
19271
|
let Et = J;
|
|
19271
|
-
!l && Z &&
|
|
19272
|
+
!l && Z && W && (Et = ne.clientWidth);
|
|
19272
19273
|
let Le;
|
|
19273
19274
|
typeof D < "u" ? Le = D : Le = h ? null : 0;
|
|
19274
19275
|
const Ee = A.id || (w ? `mui-component-select-${w}` : void 0), ht = k({}, e, {
|
|
@@ -19796,7 +19797,7 @@ const Ej = ["autoComplete", "autoFocus", "children", "className", "color", "defa
|
|
|
19796
19797
|
SelectProps: B,
|
|
19797
19798
|
type: z,
|
|
19798
19799
|
value: I,
|
|
19799
|
-
variant:
|
|
19800
|
+
variant: H = "outlined"
|
|
19800
19801
|
} = r, L = le(r, Ej), G = k({}, r, {
|
|
19801
19802
|
autoFocus: i,
|
|
19802
19803
|
color: u,
|
|
@@ -19806,12 +19807,12 @@ const Ej = ["autoComplete", "autoFocus", "children", "className", "color", "defa
|
|
|
19806
19807
|
multiline: R,
|
|
19807
19808
|
required: A,
|
|
19808
19809
|
select: j,
|
|
19809
|
-
variant:
|
|
19810
|
+
variant: H
|
|
19810
19811
|
}), ie = Oj(G);
|
|
19811
19812
|
process.env.NODE_ENV !== "production" && j && !s && console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");
|
|
19812
19813
|
const U = {};
|
|
19813
|
-
|
|
19814
|
-
const
|
|
19814
|
+
H === "outlined" && (y && typeof y.shrink < "u" && (U.notched = y.shrink), U.label = w), j && ((!B || !B.native) && (U.id = void 0), U["aria-describedby"] = void 0);
|
|
19815
|
+
const W = hc(b), ee = g && W ? `${W}-helper-text` : void 0, Z = w && W ? `${W}-label` : void 0, J = Tj[H], V = /* @__PURE__ */ v(J, k({
|
|
19815
19816
|
"aria-describedby": ee,
|
|
19816
19817
|
autoComplete: o,
|
|
19817
19818
|
autoFocus: i,
|
|
@@ -19824,7 +19825,7 @@ const Ej = ["autoComplete", "autoFocus", "children", "className", "color", "defa
|
|
|
19824
19825
|
minRows: O,
|
|
19825
19826
|
type: z,
|
|
19826
19827
|
value: I,
|
|
19827
|
-
id:
|
|
19828
|
+
id: W,
|
|
19828
19829
|
inputRef: E,
|
|
19829
19830
|
onBlur: N,
|
|
19830
19831
|
onChange: _,
|
|
@@ -19840,17 +19841,17 @@ const Ej = ["autoComplete", "autoFocus", "children", "className", "color", "defa
|
|
|
19840
19841
|
ref: n,
|
|
19841
19842
|
required: A,
|
|
19842
19843
|
color: u,
|
|
19843
|
-
variant:
|
|
19844
|
+
variant: H,
|
|
19844
19845
|
ownerState: G
|
|
19845
19846
|
}, L, {
|
|
19846
19847
|
children: [w != null && w !== "" && /* @__PURE__ */ v(MT, k({
|
|
19847
|
-
htmlFor:
|
|
19848
|
+
htmlFor: W,
|
|
19848
19849
|
id: Z
|
|
19849
19850
|
}, y, {
|
|
19850
19851
|
children: w
|
|
19851
19852
|
})), j ? /* @__PURE__ */ v(Kb, k({
|
|
19852
19853
|
"aria-describedby": ee,
|
|
19853
|
-
id:
|
|
19854
|
+
id: W,
|
|
19854
19855
|
labelId: Z,
|
|
19855
19856
|
value: I,
|
|
19856
19857
|
input: V
|
|
@@ -20641,12 +20642,12 @@ const tp = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ a(function(e, n) {
|
|
|
20641
20642
|
enterDelay: B = 100,
|
|
20642
20643
|
enterNextDelay: z = 0,
|
|
20643
20644
|
enterTouchDelay: I = 700,
|
|
20644
|
-
followCursor:
|
|
20645
|
+
followCursor: H = !1,
|
|
20645
20646
|
id: L,
|
|
20646
20647
|
leaveDelay: G = 0,
|
|
20647
20648
|
leaveTouchDelay: ie = 1500,
|
|
20648
20649
|
onClose: U,
|
|
20649
|
-
onOpen:
|
|
20650
|
+
onOpen: W,
|
|
20650
20651
|
open: ee,
|
|
20651
20652
|
placement: Z = "bottom",
|
|
20652
20653
|
PopperComponent: J,
|
|
@@ -20658,7 +20659,7 @@ const tp = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ a(function(e, n) {
|
|
|
20658
20659
|
TransitionProps: ce
|
|
20659
20660
|
} = O, Q = le(O, _j), pe = /* @__PURE__ */ C.isValidElement($) ? $ : /* @__PURE__ */ v("span", {
|
|
20660
20661
|
children: $
|
|
20661
|
-
}), De = jr(), Pe = gc(), [Ne, ct] = C.useState(), [se, Fe] = C.useState(null), Qe = C.useRef(!1), ft = D ||
|
|
20662
|
+
}), De = jr(), Pe = gc(), [Ne, ct] = C.useState(), [se, Fe] = C.useState(null), Qe = C.useRef(!1), ft = D || H, Ye = Ts(), ut = Ts(), Je = Ts(), Et = Ts(), [Le, Ee] = Fl({
|
|
20662
20663
|
controlled: ee,
|
|
20663
20664
|
default: !1,
|
|
20664
20665
|
name: "Tooltip",
|
|
@@ -20679,7 +20680,7 @@ const tp = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ a(function(e, n) {
|
|
|
20679
20680
|
});
|
|
20680
20681
|
C.useEffect(() => Bn, [Bn]);
|
|
20681
20682
|
const be = /* @__PURE__ */ a((We) => {
|
|
20682
|
-
px.clear(), Yc = !0, Ee(!0),
|
|
20683
|
+
px.clear(), Yc = !0, Ee(!0), W && !ht && W(We);
|
|
20683
20684
|
}, "handleOpen"), oe = $n(
|
|
20684
20685
|
/**
|
|
20685
20686
|
* @param {React.SyntheticEvent | Event} event
|
|
@@ -20745,7 +20746,7 @@ const tp = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ a(function(e, n) {
|
|
|
20745
20746
|
className: ae(Q.className, pe.props.className),
|
|
20746
20747
|
onTouchStart: Aa,
|
|
20747
20748
|
ref: Ia
|
|
20748
|
-
},
|
|
20749
|
+
}, H ? {
|
|
20749
20750
|
onMouseMove: Pc
|
|
20750
20751
|
} : {});
|
|
20751
20752
|
process.env.NODE_ENV !== "production" && (Zt["data-mui-internal-clone-element"] = !0, C.useEffect(() => {
|
|
@@ -20786,7 +20787,7 @@ const tp = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ a(function(e, n) {
|
|
|
20786
20787
|
children: [/* @__PURE__ */ C.cloneElement(pe, Zt), /* @__PURE__ */ v($c, k({
|
|
20787
20788
|
as: J ?? Wb,
|
|
20788
20789
|
placement: Z,
|
|
20789
|
-
anchorEl:
|
|
20790
|
+
anchorEl: H ? {
|
|
20790
20791
|
getBoundingClientRect: /* @__PURE__ */ a(() => ({
|
|
20791
20792
|
top: Ya.y,
|
|
20792
20793
|
left: Ya.x,
|
|
@@ -21488,7 +21489,7 @@ const HT = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ a(function(e, n) {
|
|
|
21488
21489
|
value: N,
|
|
21489
21490
|
variant: _ = "standard",
|
|
21490
21491
|
visibleScrollbar: M = !1
|
|
21491
|
-
} = r, P = le(r, rz), A = _ === "scrollable", D = y === "vertical", j = D ? "scrollTop" : "scrollLeft", B = D ? "top" : "left", z = D ? "bottom" : "right", I = D ? "clientHeight" : "clientWidth",
|
|
21492
|
+
} = r, P = le(r, rz), A = _ === "scrollable", D = y === "vertical", j = D ? "scrollTop" : "scrollLeft", B = D ? "top" : "left", z = D ? "bottom" : "right", I = D ? "clientHeight" : "clientWidth", H = D ? "height" : "width", L = k({}, r, {
|
|
21492
21493
|
component: h,
|
|
21493
21494
|
allowScrollButtonsMobile: m,
|
|
21494
21495
|
indicatorColor: g,
|
|
@@ -21514,7 +21515,7 @@ const HT = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ a(function(e, n) {
|
|
|
21514
21515
|
ownerState: L
|
|
21515
21516
|
});
|
|
21516
21517
|
process.env.NODE_ENV !== "production" && d && A && console.error('MUI: You can not use the `centered={true}` and `variant="scrollable"` properties at the same time on a `Tabs` component.');
|
|
21517
|
-
const [
|
|
21518
|
+
const [W, ee] = C.useState(!1), [Z, J] = C.useState(gx), [V, re] = C.useState(!1), [X, ne] = C.useState(!1), [F, ce] = C.useState(!1), [Q, pe] = C.useState({
|
|
21518
21519
|
overflow: "hidden",
|
|
21519
21520
|
scrollbarWidth: 0
|
|
21520
21521
|
}), De = /* @__PURE__ */ new Map(), Pe = C.useRef(null), Ne = C.useRef(null), ct = /* @__PURE__ */ a(() => {
|
|
@@ -21564,12 +21565,12 @@ const HT = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ a(function(e, n) {
|
|
|
21564
21565
|
const yt = {
|
|
21565
21566
|
[_e]: Ie,
|
|
21566
21567
|
// May be wrong until the font is loaded.
|
|
21567
|
-
[
|
|
21568
|
+
[H]: he ? he[H] : 0
|
|
21568
21569
|
};
|
|
21569
|
-
if (isNaN(Z[_e]) || isNaN(Z[
|
|
21570
|
+
if (isNaN(Z[_e]) || isNaN(Z[H]))
|
|
21570
21571
|
J(yt);
|
|
21571
21572
|
else {
|
|
21572
|
-
const At = Math.abs(Z[_e] - yt[_e]), un = Math.abs(Z[
|
|
21573
|
+
const At = Math.abs(Z[_e] - yt[_e]), un = Math.abs(Z[H] - yt[H]);
|
|
21573
21574
|
(At >= 1 || un >= 1) && J(yt);
|
|
21574
21575
|
}
|
|
21575
21576
|
}), Fe = /* @__PURE__ */ a((oe, {
|
|
@@ -21727,7 +21728,7 @@ const HT = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ a(function(e, n) {
|
|
|
21727
21728
|
const Ie = he === N;
|
|
21728
21729
|
return Qt += 1, /* @__PURE__ */ C.cloneElement(oe, k({
|
|
21729
21730
|
fullWidth: _ === "fullWidth",
|
|
21730
|
-
indicator: Ie && !
|
|
21731
|
+
indicator: Ie && !W && ht,
|
|
21731
21732
|
selected: Ie,
|
|
21732
21733
|
selectionFollowsFocus: E,
|
|
21733
21734
|
onChange: b,
|
|
@@ -21780,7 +21781,7 @@ const HT = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ a(function(e, n) {
|
|
|
21780
21781
|
ref: Ne,
|
|
21781
21782
|
role: "tablist",
|
|
21782
21783
|
children: jt
|
|
21783
|
-
}),
|
|
21784
|
+
}), W && ht]
|
|
21784
21785
|
}), be.scrollButtonEnd]
|
|
21785
21786
|
}));
|
|
21786
21787
|
}, "Tabs"));
|
|
@@ -23274,8 +23275,8 @@ const bV = ["className"], yV = ["alignItems", "autoFocus", "button", "children",
|
|
|
23274
23275
|
divider: T,
|
|
23275
23276
|
hasSecondaryAction: D,
|
|
23276
23277
|
selected: S
|
|
23277
|
-
}), B = xV(j), z = Lt(P, n), I = R.root || f.Root || CV,
|
|
23278
|
-
className: ae(B.root,
|
|
23278
|
+
}), B = xV(j), z = Lt(P, n), I = R.root || f.Root || CV, H = O.root || p.root || {}, L = k({
|
|
23279
|
+
className: ae(B.root, H.className, u),
|
|
23279
23280
|
disabled: b
|
|
23280
23281
|
}, N);
|
|
23281
23282
|
let G = d || "li";
|
|
@@ -23287,20 +23288,20 @@ const bV = ["className"], yV = ["alignItems", "autoFocus", "button", "children",
|
|
|
23287
23288
|
ref: z,
|
|
23288
23289
|
ownerState: j
|
|
23289
23290
|
}, $, {
|
|
23290
|
-
children: [/* @__PURE__ */ v(I, k({},
|
|
23291
|
+
children: [/* @__PURE__ */ v(I, k({}, H, !Ys(I) && {
|
|
23291
23292
|
as: G,
|
|
23292
|
-
ownerState: k({}, j,
|
|
23293
|
+
ownerState: k({}, j, H.ownerState)
|
|
23293
23294
|
}, L, {
|
|
23294
23295
|
children: A
|
|
23295
23296
|
})), A.pop()]
|
|
23296
23297
|
}))
|
|
23297
23298
|
})) : /* @__PURE__ */ v(Xn.Provider, {
|
|
23298
23299
|
value: M,
|
|
23299
|
-
children: /* @__PURE__ */ q(I, k({},
|
|
23300
|
+
children: /* @__PURE__ */ q(I, k({}, H, {
|
|
23300
23301
|
as: G,
|
|
23301
23302
|
ref: z
|
|
23302
23303
|
}, !Ys(I) && {
|
|
23303
|
-
ownerState: k({}, j,
|
|
23304
|
+
ownerState: k({}, j, H.ownerState)
|
|
23304
23305
|
}, L, {
|
|
23305
23306
|
children: [A, w && /* @__PURE__ */ v(ty, {
|
|
23306
23307
|
children: w
|
|
@@ -23557,11 +23558,11 @@ const ry = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ a(function(e, n) {
|
|
|
23557
23558
|
timeout: w = i,
|
|
23558
23559
|
// eslint-disable-next-line react/prop-types
|
|
23559
23560
|
TransitionComponent: S = hr
|
|
23560
|
-
} = e, O = le(e, wV), R = C.useRef(null), $ = Lt(u.ref, R, n), N = /* @__PURE__ */ a((I) => (
|
|
23561
|
-
I && (
|
|
23562
|
-
}, "normalizedTransitionCallback"), _ = N((I,
|
|
23563
|
-
Zc(f, I, d), lb(I), m && m(I,
|
|
23564
|
-
}), M = N((I,
|
|
23561
|
+
} = e, O = le(e, wV), R = C.useRef(null), $ = Lt(u.ref, R, n), N = /* @__PURE__ */ a((I) => (H) => {
|
|
23562
|
+
I && (H === void 0 ? I(R.current) : I(R.current, H));
|
|
23563
|
+
}, "normalizedTransitionCallback"), _ = N((I, H) => {
|
|
23564
|
+
Zc(f, I, d), lb(I), m && m(I, H);
|
|
23565
|
+
}), M = N((I, H) => {
|
|
23565
23566
|
const L = Ki({
|
|
23566
23567
|
timeout: w,
|
|
23567
23568
|
style: E,
|
|
@@ -23569,16 +23570,16 @@ const ry = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ a(function(e, n) {
|
|
|
23569
23570
|
}, {
|
|
23570
23571
|
mode: "enter"
|
|
23571
23572
|
});
|
|
23572
|
-
I.style.webkitTransition = r.transitions.create("-webkit-transform", k({}, L)), I.style.transition = r.transitions.create("transform", k({}, L)), I.style.webkitTransform = "none", I.style.transform = "none", b && b(I,
|
|
23573
|
+
I.style.webkitTransition = r.transitions.create("-webkit-transform", k({}, L)), I.style.transition = r.transitions.create("transform", k({}, L)), I.style.webkitTransform = "none", I.style.transform = "none", b && b(I, H);
|
|
23573
23574
|
}), P = N(g), A = N(T), D = N((I) => {
|
|
23574
|
-
const
|
|
23575
|
+
const H = Ki({
|
|
23575
23576
|
timeout: w,
|
|
23576
23577
|
style: E,
|
|
23577
23578
|
easing: p
|
|
23578
23579
|
}, {
|
|
23579
23580
|
mode: "exit"
|
|
23580
23581
|
});
|
|
23581
|
-
I.style.webkitTransition = r.transitions.create("-webkit-transform",
|
|
23582
|
+
I.style.webkitTransition = r.transitions.create("-webkit-transform", H), I.style.transition = r.transitions.create("transform", H), Zc(f, I, d), y && y(I);
|
|
23582
23583
|
}), j = N((I) => {
|
|
23583
23584
|
I.style.webkitTransition = "", I.style.transition = "", x && x(I);
|
|
23584
23585
|
}), B = /* @__PURE__ */ a((I) => {
|
|
@@ -23591,9 +23592,9 @@ const ry = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ a(function(e, n) {
|
|
|
23591
23592
|
return;
|
|
23592
23593
|
const I = pc(() => {
|
|
23593
23594
|
R.current && Zc(f, R.current, d);
|
|
23594
|
-
}),
|
|
23595
|
-
return
|
|
23596
|
-
I.clear(),
|
|
23595
|
+
}), H = cr(R.current);
|
|
23596
|
+
return H.addEventListener("resize", I), () => {
|
|
23597
|
+
I.clear(), H.removeEventListener("resize", I);
|
|
23597
23598
|
};
|
|
23598
23599
|
}, [f, h, d]), C.useEffect(() => {
|
|
23599
23600
|
h || z();
|
|
@@ -23610,12 +23611,12 @@ const ry = /* @__PURE__ */ C.forwardRef(/* @__PURE__ */ a(function(e, n) {
|
|
|
23610
23611
|
in: h,
|
|
23611
23612
|
timeout: w
|
|
23612
23613
|
}, O, {
|
|
23613
|
-
children: /* @__PURE__ */ a((I,
|
|
23614
|
+
children: /* @__PURE__ */ a((I, H) => /* @__PURE__ */ C.cloneElement(u, k({
|
|
23614
23615
|
ref: $,
|
|
23615
23616
|
style: k({
|
|
23616
23617
|
visibility: I === "exited" && !h ? "hidden" : void 0
|
|
23617
23618
|
}, E, u.props.style)
|
|
23618
|
-
},
|
|
23619
|
+
}, H)), "children")
|
|
23619
23620
|
}));
|
|
23620
23621
|
}, "Slide"));
|
|
23621
23622
|
process.env.NODE_ENV !== "production" && (ry.propTypes = {
|
|
@@ -24147,11 +24148,11 @@ const LV = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
24147
24148
|
Br(() => {
|
|
24148
24149
|
z.current = null;
|
|
24149
24150
|
}, [x]);
|
|
24150
|
-
const I = C.useCallback((U,
|
|
24151
|
+
const I = C.useCallback((U, W = {}) => {
|
|
24151
24152
|
const {
|
|
24152
24153
|
mode: ee = null,
|
|
24153
24154
|
changeTransition: Z = !0
|
|
24154
|
-
} =
|
|
24155
|
+
} = W, J = nl(o, s), V = ["right", "bottom"].indexOf(J) !== -1 ? 1 : -1, re = li(s), X = re ? `translate(${V * U}px, 0)` : `translate(0, ${V * U}px)`, ne = D.current.style;
|
|
24155
24156
|
ne.webkitTransform = X, ne.transform = X;
|
|
24156
24157
|
let F = "";
|
|
24157
24158
|
if (ee && (F = o.transitions.create("all", Ki({
|
|
@@ -24164,7 +24165,7 @@ const LV = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
24164
24165
|
const ce = A.current.style;
|
|
24165
24166
|
ce.opacity = 1 - U / Ja(re, D.current), Z && (ce.webkitTransition = F, ce.transition = F);
|
|
24166
24167
|
}
|
|
24167
|
-
}, [s, l, f, o, S]),
|
|
24168
|
+
}, [s, l, f, o, S]), H = $n((U) => {
|
|
24168
24169
|
if (!B.current)
|
|
24169
24170
|
return;
|
|
24170
24171
|
if (Gr = null, B.current = !1, Ph.flushSync(() => {
|
|
@@ -24174,9 +24175,9 @@ const LV = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
24174
24175
|
return;
|
|
24175
24176
|
}
|
|
24176
24177
|
M.current.isSwiping = null;
|
|
24177
|
-
const
|
|
24178
|
+
const W = nl(o, s), ee = li(s);
|
|
24178
24179
|
let Z;
|
|
24179
|
-
ee ? Z = Kp(
|
|
24180
|
+
ee ? Z = Kp(W, U.changedTouches, Yn(U.currentTarget)) : Z = Yp(W, U.changedTouches, cr(U.currentTarget));
|
|
24180
24181
|
const J = ee ? M.current.startX : M.current.startY, V = Ja(ee, D.current), re = Sx(Z, J, x, V), X = re / V;
|
|
24181
24182
|
if (Math.abs(M.current.velocity) > m && (z.current = Math.abs((V - re) / M.current.velocity) * 1e3), x) {
|
|
24182
24183
|
M.current.velocity > m || X > p ? b() : I(0, {
|
|
@@ -24192,8 +24193,8 @@ const LV = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
24192
24193
|
(U || !(u && h)) && Ph.flushSync(() => {
|
|
24193
24194
|
_(!0);
|
|
24194
24195
|
});
|
|
24195
|
-
const
|
|
24196
|
-
!x && D.current && I(Ja(
|
|
24196
|
+
const W = li(s);
|
|
24197
|
+
!x && D.current && I(Ja(W, D.current) + (u ? 15 : -Gp), {
|
|
24197
24198
|
changeTransition: !1
|
|
24198
24199
|
}), M.current.velocity = 0, M.current.lastTime = null, M.current.lastTranslate = null, M.current.paperHit = !1, B.current = !0;
|
|
24199
24200
|
}
|
|
@@ -24201,7 +24202,7 @@ const LV = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
24201
24202
|
if (!D.current || !B.current || Gr !== null && Gr !== M.current)
|
|
24202
24203
|
return;
|
|
24203
24204
|
L(!0);
|
|
24204
|
-
const
|
|
24205
|
+
const W = nl(o, s), ee = li(s), Z = Kp(W, U.touches, Yn(U.currentTarget)), J = Yp(W, U.touches, cr(U.currentTarget));
|
|
24205
24206
|
if (x && D.current.contains(U.target) && Gr === null) {
|
|
24206
24207
|
const F = _V(U.target, D.current);
|
|
24207
24208
|
if (DV({
|
|
@@ -24219,7 +24220,7 @@ const LV = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
24219
24220
|
const F = Math.abs(Z - M.current.startX), ce = Math.abs(J - M.current.startY), Q = ee ? F > ce && F > eu : ce > F && ce > eu;
|
|
24220
24221
|
if (Q && U.cancelable && U.preventDefault(), Q === !0 || (ee ? ce > eu : F > eu)) {
|
|
24221
24222
|
if (M.current.isSwiping = Q, !Q) {
|
|
24222
|
-
|
|
24223
|
+
H(U);
|
|
24223
24224
|
return;
|
|
24224
24225
|
}
|
|
24225
24226
|
M.current.startX = Z, M.current.startY = J, !u && !x && (ee ? M.current.startX -= Gp : M.current.startY -= Gp);
|
|
@@ -24244,7 +24245,7 @@ const LV = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
24244
24245
|
}), ie = $n((U) => {
|
|
24245
24246
|
if (U.defaultPrevented || U.defaultMuiPrevented || x && (f || !A.current.contains(U.target)) && !D.current.contains(U.target))
|
|
24246
24247
|
return;
|
|
24247
|
-
const
|
|
24248
|
+
const W = nl(o, s), ee = li(s), Z = Kp(W, U.touches, Yn(U.currentTarget)), J = Yp(W, U.touches, cr(U.currentTarget));
|
|
24248
24249
|
if (!x) {
|
|
24249
24250
|
var V;
|
|
24250
24251
|
if (d || !(U.target === P.current || (V = D.current) != null && V.contains(U.target) && (typeof h == "function" ? h(U, P.current, D.current) : h)))
|
|
@@ -24262,13 +24263,13 @@ const LV = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
24262
24263
|
const U = Yn(D.current);
|
|
24263
24264
|
return U.addEventListener("touchstart", ie), U.addEventListener("touchmove", G, {
|
|
24264
24265
|
passive: !x
|
|
24265
|
-
}), U.addEventListener("touchend",
|
|
24266
|
+
}), U.addEventListener("touchend", H), () => {
|
|
24266
24267
|
U.removeEventListener("touchstart", ie), U.removeEventListener("touchmove", G, {
|
|
24267
24268
|
passive: !x
|
|
24268
|
-
}), U.removeEventListener("touchend",
|
|
24269
|
+
}), U.removeEventListener("touchend", H);
|
|
24269
24270
|
};
|
|
24270
24271
|
}
|
|
24271
|
-
}, [O, x, ie, G,
|
|
24272
|
+
}, [O, x, ie, G, H]), C.useEffect(() => () => {
|
|
24272
24273
|
Gr === M.current && (Gr = null);
|
|
24273
24274
|
}, []), C.useEffect(() => {
|
|
24274
24275
|
x || _(!1);
|
|
@@ -24616,8 +24617,8 @@ const HV = {
|
|
|
24616
24617
|
A400: "#ffea00",
|
|
24617
24618
|
A700: "#ffd600"
|
|
24618
24619
|
}, xO = /* @__PURE__ */ a(({ containerRef: t, ...e }) => {
|
|
24619
|
-
const [n, r] =
|
|
24620
|
-
return
|
|
24620
|
+
const [n, r] = Ve(null);
|
|
24621
|
+
return ze(() => {
|
|
24621
24622
|
t != null && t.current && r(t.current);
|
|
24622
24623
|
}, [t]), n ? a$(
|
|
24623
24624
|
/* @__PURE__ */ v(
|
|
@@ -25244,9 +25245,9 @@ const CO = Pt({ resolve: null }), Jte = /* @__PURE__ */ a(({ resolve: t, childre
|
|
|
25244
25245
|
promptChangeChartsLabel: /* @__PURE__ */ a((t, e) => `Dimensiones (${t}), Valores (${e})`, "promptChangeChartsLabel")
|
|
25245
25246
|
}, SO = QV(ZV), e6 = /* @__PURE__ */ a((t) => {
|
|
25246
25247
|
const { onRenderGrilla: e, onLoadGrilla: n, apiRef: r = {} } = t, { isLoading: o } = Wi(), i = zf(t);
|
|
25247
|
-
|
|
25248
|
+
ze(() => {
|
|
25248
25249
|
e && e({ ...i, api: r == null ? void 0 : r.current });
|
|
25249
|
-
}, []),
|
|
25250
|
+
}, []), ze(() => {
|
|
25250
25251
|
o || n && n({ ...i, api: r == null ? void 0 : r.current });
|
|
25251
25252
|
}, [o]);
|
|
25252
25253
|
}, "useInitGrilla"), t6 = /* @__PURE__ */ a((t) => {
|
|
@@ -25455,22 +25456,22 @@ const CO = Pt({ resolve: null }), Jte = /* @__PURE__ */ a(({ resolve: t, childre
|
|
|
25455
25456
|
props: {
|
|
25456
25457
|
bulkActionButtons: z = r,
|
|
25457
25458
|
hasCreate: I,
|
|
25458
|
-
hasSeleccionMultiple:
|
|
25459
|
+
hasSeleccionMultiple: H,
|
|
25459
25460
|
chkSeleccion: L,
|
|
25460
25461
|
actionsContainerRef: G,
|
|
25461
25462
|
viewMode: ie,
|
|
25462
25463
|
apiRef: U,
|
|
25463
|
-
...
|
|
25464
|
+
...W
|
|
25464
25465
|
},
|
|
25465
25466
|
setProps: ee
|
|
25466
|
-
} = ka(), Z = (R == null ? void 0 : R.unstable_listView) ?? (
|
|
25467
|
+
} = ka(), Z = (R == null ? void 0 : R.unstable_listView) ?? (W == null ? void 0 : W.unstable_listView) ?? !1, J = ie === "pivot", V = (R == null ? void 0 : R.dataSource) ?? (W == null ? void 0 : W.dataSource), re = C.useMemo(() => {
|
|
25467
25468
|
const K = {
|
|
25468
25469
|
...Tx,
|
|
25469
25470
|
...(R == null ? void 0 : R.aggregationFunctions) || {},
|
|
25470
|
-
...(
|
|
25471
|
+
...(W == null ? void 0 : W.aggregationFunctions) || {}
|
|
25471
25472
|
};
|
|
25472
25473
|
return K.count || (K.count = Tx.count), K;
|
|
25473
|
-
}, [R == null ? void 0 : R.aggregationFunctions,
|
|
25474
|
+
}, [R == null ? void 0 : R.aggregationFunctions, W == null ? void 0 : W.aggregationFunctions]), X = ss(), {
|
|
25474
25475
|
data: ne = [],
|
|
25475
25476
|
isFetching: F,
|
|
25476
25477
|
selectedIds: ce,
|
|
@@ -25503,7 +25504,7 @@ const CO = Pt({ resolve: null }), Jte = /* @__PURE__ */ a(({ resolve: t, childre
|
|
|
25503
25504
|
return Fe.current.promise;
|
|
25504
25505
|
const go = {
|
|
25505
25506
|
...(R == null ? void 0 : R.meta) || {},
|
|
25506
|
-
...(
|
|
25507
|
+
...(W == null ? void 0 : W.meta) || {},
|
|
25507
25508
|
pivot: 1,
|
|
25508
25509
|
pivotModel: JSON.stringify(me),
|
|
25509
25510
|
aggregationModel: JSON.stringify(
|
|
@@ -25532,7 +25533,7 @@ const CO = Pt({ resolve: null }), Jte = /* @__PURE__ */ a(({ resolve: t, childre
|
|
|
25532
25533
|
J,
|
|
25533
25534
|
B,
|
|
25534
25535
|
R == null ? void 0 : R.meta,
|
|
25535
|
-
|
|
25536
|
+
W == null ? void 0 : W.meta,
|
|
25536
25537
|
Pe.field,
|
|
25537
25538
|
Pe.order
|
|
25538
25539
|
]), ft = C.useCallback(
|
|
@@ -25550,7 +25551,7 @@ const CO = Pt({ resolve: null }), Jte = /* @__PURE__ */ a(({ resolve: t, childre
|
|
|
25550
25551
|
user: Le = [],
|
|
25551
25552
|
lang: Ee = []
|
|
25552
25553
|
} = Xe(fo), ht = Xe(NE), Qt = ly(), jt = (((We = (Lc = (Dc = (_c = se.current) == null ? void 0 : _c.state) == null ? void 0 : Dc.rowGrouping) == null ? void 0 : Lc.model) == null ? void 0 : We.length) ?? 0) > 0;
|
|
25553
|
-
|
|
25554
|
+
ze(() => {
|
|
25554
25555
|
var Te, $e, pt, Be, He, mt, Dt;
|
|
25555
25556
|
if (!J || !((Te = se.current) != null && Te.showSidebar) || ((Be = (pt = ($e = se.current) == null ? void 0 : $e.state) == null ? void 0 : pt.sidebar) == null ? void 0 : Be.open) && ((Dt = (mt = (He = se.current) == null ? void 0 : He.state) == null ? void 0 : mt.sidebar) == null ? void 0 : Dt.value) === "pivot")
|
|
25556
25557
|
return;
|
|
@@ -25559,9 +25560,9 @@ const CO = Pt({ resolve: null }), Jte = /* @__PURE__ */ a(({ resolve: t, childre
|
|
|
25559
25560
|
(tn = (pn = se.current) == null ? void 0 : pn.showSidebar) == null || tn.call(pn, "pivot");
|
|
25560
25561
|
});
|
|
25561
25562
|
return () => cancelAnimationFrame(me);
|
|
25562
|
-
}, [se, J]),
|
|
25563
|
+
}, [se, J]), ze(() => {
|
|
25563
25564
|
ht && (ht.current.activePanel.params.apiRef = se);
|
|
25564
|
-
}, [ht]),
|
|
25565
|
+
}, [ht]), ze(() => {
|
|
25565
25566
|
U !== se && (ee == null || ee({ apiRef: se }));
|
|
25566
25567
|
}, [ee, se, U]);
|
|
25567
25568
|
const Bn = {
|
|
@@ -25963,7 +25964,7 @@ const CO = Pt({ resolve: null }), Jte = /* @__PURE__ */ a(({ resolve: t, childre
|
|
|
25963
25964
|
}, "renderCell")
|
|
25964
25965
|
};
|
|
25965
25966
|
});
|
|
25966
|
-
}, [Zt, fs, qr]), Ep =
|
|
25967
|
+
}, [Zt, fs, qr]), Ep = H && $r(z), Zo = /* @__PURE__ */ a((K) => Array.from((K == null ? void 0 : K.ids) ?? []), "normalizeRowSelectionModel"), _a = /* @__PURE__ */ a((K) => {
|
|
25967
25968
|
if (!F) {
|
|
25968
25969
|
const me = Zo(K);
|
|
25969
25970
|
Q(me);
|
|
@@ -26205,13 +26206,13 @@ const CO = Pt({ resolve: null }), Jte = /* @__PURE__ */ a(({ resolve: t, childre
|
|
|
26205
26206
|
groupingColDef: Bn,
|
|
26206
26207
|
loading: F || D.progress.open,
|
|
26207
26208
|
hideFooterSelectedRowCount: !0,
|
|
26208
|
-
disableMultipleRowSelection: !
|
|
26209
|
+
disableMultipleRowSelection: !H && x,
|
|
26209
26210
|
checkboxSelection: L,
|
|
26210
26211
|
filterMode: "server",
|
|
26211
26212
|
onFilterModelChange: Nc,
|
|
26212
26213
|
rowSelectionModel: $c,
|
|
26213
26214
|
onRowGroupingModelChange: mo,
|
|
26214
|
-
disableRowGrouping: J ? !0 : (
|
|
26215
|
+
disableRowGrouping: J ? !0 : (W == null ? void 0 : W.disableRowGrouping) ?? (R == null ? void 0 : R.disableRowGrouping),
|
|
26215
26216
|
onRowSelectionModelChange: _a,
|
|
26216
26217
|
isRowSelectable: /* @__PURE__ */ a((K) => {
|
|
26217
26218
|
const me = K == null ? void 0 : K.id;
|
|
@@ -26225,10 +26226,10 @@ const CO = Pt({ resolve: null }), Jte = /* @__PURE__ */ a(({ resolve: t, childre
|
|
|
26225
26226
|
defaultGroupingExpansionDepth: -1,
|
|
26226
26227
|
disableColumnResize: Z ? !0 : void 0,
|
|
26227
26228
|
...R,
|
|
26228
|
-
...
|
|
26229
|
-
hideFooter: J ? !0 : (
|
|
26230
|
-
columnGroupingModel: J ? [] : (
|
|
26231
|
-
columnGroupHeaderHeight: J ? 0 : (
|
|
26229
|
+
...W,
|
|
26230
|
+
hideFooter: J ? !0 : (W == null ? void 0 : W.hideFooter) ?? (R == null ? void 0 : R.hideFooter),
|
|
26231
|
+
columnGroupingModel: J ? [] : (W == null ? void 0 : W.columnGroupingModel) ?? (R == null ? void 0 : R.columnGroupingModel),
|
|
26232
|
+
columnGroupHeaderHeight: J ? 0 : (W == null ? void 0 : W.columnGroupHeaderHeight) ?? (R == null ? void 0 : R.columnGroupHeaderHeight),
|
|
26232
26233
|
aggregationFunctions: re,
|
|
26233
26234
|
dataSource: Qe,
|
|
26234
26235
|
pivotingColDef: Ye,
|
|
@@ -26484,7 +26485,7 @@ const CO = Pt({ resolve: null }), Jte = /* @__PURE__ */ a(({ resolve: t, childre
|
|
|
26484
26485
|
setOpen: l,
|
|
26485
26486
|
open: u
|
|
26486
26487
|
} = t, { dirtyFields: d, isValid: f } = n$(), { fichaProps: { [t.source]: p = {} } = {} } = Rt(), h = Oa(), { onAfterRenderAsistente: m, ...g } = p, b = Vr({ resource: n });
|
|
26487
|
-
return
|
|
26488
|
+
return ze(() => {
|
|
26488
26489
|
u && typeof m == "function" && m({ ...b, form: e }, r);
|
|
26489
26490
|
}, [u]), /* @__PURE__ */ q(Zn, { children: [
|
|
26490
26491
|
/* @__PURE__ */ v(xc, { children: /* @__PURE__ */ v(ki, { spacing: 4, children: Pl.map(
|
|
@@ -26695,7 +26696,7 @@ const CO = Pt({ resolve: null }), Jte = /* @__PURE__ */ a(({ resolve: t, childre
|
|
|
26695
26696
|
sxContainer: m = {},
|
|
26696
26697
|
filter: g,
|
|
26697
26698
|
...b
|
|
26698
|
-
} = t, [y, x] =
|
|
26699
|
+
} = t, [y, x] = Ve([]), T = rr(t), E = cn(), { field: w } = xf({ defaultValue: "", ...t }), S = ly(), { isActive: O } = Vf(), {
|
|
26699
26700
|
isLoading: R,
|
|
26700
26701
|
fichaProps: { [h]: $ } = {},
|
|
26701
26702
|
propsContenidos: { [h]: N = {} } = {}
|
|
@@ -26717,14 +26718,14 @@ const CO = Pt({ resolve: null }), Jte = /* @__PURE__ */ a(({ resolve: t, childre
|
|
|
26717
26718
|
enviarTodo: B = !1,
|
|
26718
26719
|
disabled: z,
|
|
26719
26720
|
hidden: I,
|
|
26720
|
-
useContenido:
|
|
26721
|
+
useContenido: H = wc,
|
|
26721
26722
|
onBeforeSubmitAsistente: L,
|
|
26722
26723
|
onAfterSubmitAsistente: G,
|
|
26723
26724
|
allowAdd: ie,
|
|
26724
26725
|
allowRemove: U,
|
|
26725
|
-
slots:
|
|
26726
|
+
slots: W,
|
|
26726
26727
|
validateAllowAdd: ee
|
|
26727
|
-
} = $ || {}, [Z, J] =
|
|
26728
|
+
} = $ || {}, [Z, J] = Ve(r), [{ field: V, sort: re }] = r, X = A || d || z, ne = j !== void 0 ? j : P ? !0 : I !== void 0 ? I : f, F = ie ?? s, ce = U ?? l;
|
|
26728
26729
|
let Q = { ...g };
|
|
26729
26730
|
T && e.split(",").forEach((se) => {
|
|
26730
26731
|
se && (Q[se] = [
|
|
@@ -26735,7 +26736,7 @@ const CO = Pt({ resolve: null }), Jte = /* @__PURE__ */ a(({ resolve: t, childre
|
|
|
26735
26736
|
field: se
|
|
26736
26737
|
}
|
|
26737
26738
|
]);
|
|
26738
|
-
}),
|
|
26739
|
+
}), ze(() => {
|
|
26739
26740
|
u || setTimeout(() => {
|
|
26740
26741
|
E.setValue(h, "");
|
|
26741
26742
|
}, 1e3);
|
|
@@ -26755,7 +26756,7 @@ const CO = Pt({ resolve: null }), Jte = /* @__PURE__ */ a(({ resolve: t, childre
|
|
|
26755
26756
|
}, 1e3), x((se == null ? void 0 : se.data) || []);
|
|
26756
26757
|
}, "onSuccess")
|
|
26757
26758
|
}
|
|
26758
|
-
), Pe =
|
|
26759
|
+
), Pe = H({
|
|
26759
26760
|
...t,
|
|
26760
26761
|
refetch: De
|
|
26761
26762
|
});
|
|
@@ -26879,7 +26880,7 @@ const CO = Pt({ resolve: null }), Jte = /* @__PURE__ */ a(({ resolve: t, childre
|
|
|
26879
26880
|
filterable: !1,
|
|
26880
26881
|
disableColumnMenu: !0,
|
|
26881
26882
|
slots: {
|
|
26882
|
-
...
|
|
26883
|
+
...W,
|
|
26883
26884
|
noRowsOverlay: bb
|
|
26884
26885
|
},
|
|
26885
26886
|
...b,
|
|
@@ -26902,7 +26903,7 @@ const CO = Pt({ resolve: null }), Jte = /* @__PURE__ */ a(({ resolve: t, childre
|
|
|
26902
26903
|
enableLoad: i = !0,
|
|
26903
26904
|
initialState: s,
|
|
26904
26905
|
...l
|
|
26905
|
-
} = t, { isLoading: u } = Rt(), d = rr(), [f, p] =
|
|
26906
|
+
} = t, { isLoading: u } = Rt(), d = rr(), [f, p] = Ve(n), [{ field: h, sort: m }] = n, g = It(
|
|
26906
26907
|
() => [...r],
|
|
26907
26908
|
[JSON.stringify(r)]
|
|
26908
26909
|
);
|
|
@@ -27183,7 +27184,7 @@ NO = dy.default = (0, R6.default)(/* @__PURE__ */ (0, M6.jsx)("path", {
|
|
|
27183
27184
|
d: "M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3z"
|
|
27184
27185
|
}), "OpenInNew");
|
|
27185
27186
|
const AO = /* @__PURE__ */ a((t) => {
|
|
27186
|
-
const e = Bt(), [n, r] =
|
|
27187
|
+
const e = Bt(), [n, r] = Ve(!1), o = tt(() => {
|
|
27187
27188
|
r(!0);
|
|
27188
27189
|
}, []), i = tt(() => {
|
|
27189
27190
|
r(!1);
|
|
@@ -27377,14 +27378,14 @@ const AO = /* @__PURE__ */ a((t) => {
|
|
|
27377
27378
|
let nm = null;
|
|
27378
27379
|
const IO = /* @__PURE__ */ a(() => {
|
|
27379
27380
|
const { reset: t } = cn();
|
|
27380
|
-
return
|
|
27381
|
+
return ze(() => {
|
|
27381
27382
|
I6(() => t());
|
|
27382
27383
|
}, [t]), null;
|
|
27383
27384
|
}, "FormResetter"), I6 = /* @__PURE__ */ a((t) => {
|
|
27384
27385
|
nm = t;
|
|
27385
27386
|
}, "registerFormReset"), tne = /* @__PURE__ */ a(() => nm ? (nm(), !0) : !1, "resetForm"), nu = /* @__PURE__ */ new Set(), _6 = /* @__PURE__ */ a((t) => {
|
|
27386
27387
|
var y, x;
|
|
27387
|
-
const { children: e, enableLoad: n, queryOptions: r, fichaProps: o, mutationOptions: i } = t, [s, l] =
|
|
27388
|
+
const { children: e, enableLoad: n, queryOptions: r, fichaProps: o, mutationOptions: i } = t, [s, l] = Ve(null), u = Fr(), d = ss(), f = dt(t), p = t.estado ?? (((y = u == null ? void 0 : u.state) == null ? void 0 : y.estado) || "N"), h = t.id ?? (((x = u == null ? void 0 : u.state) == null ? void 0 : x.id) || "-1"), { data: m, isFetching: g } = v6(
|
|
27388
27389
|
f,
|
|
27389
27390
|
{
|
|
27390
27391
|
enabled: n
|
|
@@ -27401,7 +27402,7 @@ const IO = /* @__PURE__ */ a(() => {
|
|
|
27401
27402
|
}),
|
|
27402
27403
|
[m, g, o, i, p]
|
|
27403
27404
|
);
|
|
27404
|
-
return
|
|
27405
|
+
return ze(() => {
|
|
27405
27406
|
n ? g || d.getFichaConfig(f, { estado: "N" }).then((T) => {
|
|
27406
27407
|
l(T.data);
|
|
27407
27408
|
}).catch((T) => {
|
|
@@ -27430,7 +27431,7 @@ const IO = /* @__PURE__ */ a(() => {
|
|
|
27430
27431
|
}, "CreateEtriekView"), D6 = /* @__PURE__ */ a((t) => {
|
|
27431
27432
|
var d;
|
|
27432
27433
|
const e = Fr(), n = us(), r = co(), o = dt(t), i = vf(), s = pr(!1), l = ((d = e == null ? void 0 : e.state) == null ? void 0 : d._asistentePopup) === "router" && typeof (n == null ? void 0 : n.show) == "function", u = l ? `${o}:create` : null;
|
|
27433
|
-
return
|
|
27434
|
+
return ze(() => {
|
|
27434
27435
|
var g;
|
|
27435
27436
|
if (!l || s.current || (s.current = !0, u && (nu.has(u) || n != null && n.open && ((g = n == null ? void 0 : n.props) == null ? void 0 : g._popupKey) === u) || !u))
|
|
27436
27437
|
return;
|
|
@@ -27589,10 +27590,10 @@ const IO = /* @__PURE__ */ a(() => {
|
|
|
27589
27590
|
chkSeleccion: i = !1,
|
|
27590
27591
|
storeKey: s,
|
|
27591
27592
|
...l
|
|
27592
|
-
} = t, u = Xe(jf), d = n === "ventana" ? B6 : zS, { pathname: f, state: p } = Fr(), h = ss(), [m, g] =
|
|
27593
|
+
} = t, u = Xe(jf), d = n === "ventana" ? B6 : zS, { pathname: f, state: p } = Fr(), h = ss(), [m, g] = Ve(null), [b, y] = Ve(i), x = /* @__PURE__ */ a((w) => {
|
|
27593
27594
|
y(w.target.checked);
|
|
27594
27595
|
}, "handleChange");
|
|
27595
|
-
if (
|
|
27596
|
+
if (ze(() => {
|
|
27596
27597
|
h.getGrillaConfig(e, p).then((w) => {
|
|
27597
27598
|
g(w.data);
|
|
27598
27599
|
}).catch((w) => {
|
|
@@ -27676,7 +27677,7 @@ const IO = /* @__PURE__ */ a(() => {
|
|
|
27676
27677
|
return e;
|
|
27677
27678
|
}, "defaultTransform"), H6 = /* @__PURE__ */ a((t) => {
|
|
27678
27679
|
var g;
|
|
27679
|
-
const { children: e, fichaProps: n, mutationOptions: r } = t, o = SP(), [i, s] =
|
|
27680
|
+
const { children: e, fichaProps: n, mutationOptions: r } = t, o = SP(), [i, s] = Ve(null), l = Fr(), u = ss(), d = dt(t), { record: f, isFetching: p } = o, h = t.estado ?? (((g = l == null ? void 0 : l.state) == null ? void 0 : g.estado) || "M"), m = It(
|
|
27680
27681
|
() => ({
|
|
27681
27682
|
estado: h,
|
|
27682
27683
|
initialValues: f,
|
|
@@ -27686,7 +27687,7 @@ const IO = /* @__PURE__ */ a(() => {
|
|
|
27686
27687
|
}),
|
|
27687
27688
|
[f, p, r, n, h]
|
|
27688
27689
|
);
|
|
27689
|
-
return
|
|
27690
|
+
return ze(() => {
|
|
27690
27691
|
p || u.getFichaConfig(d, { estado: "M" }).then((b) => {
|
|
27691
27692
|
s(b.data);
|
|
27692
27693
|
}).catch((b) => {
|
|
@@ -27722,7 +27723,7 @@ const IO = /* @__PURE__ */ a(() => {
|
|
|
27722
27723
|
}, "EditEtriekView"), q6 = /* @__PURE__ */ a((t) => {
|
|
27723
27724
|
var m, g, b, y, x, T;
|
|
27724
27725
|
const e = Fr(), n = us(), r = co(), o = dt(t), i = vf(), s = ew(), l = pr(!1), u = ((m = e == null ? void 0 : e.state) == null ? void 0 : m._asistentePopup) === "router" && typeof (n == null ? void 0 : n.show) == "function", d = Nl(`/${o}/:id/*`, e.pathname) || Nl(`/${o}/:id`, e.pathname), f = t.id ?? (s == null ? void 0 : s.id) ?? ((g = e == null ? void 0 : e.state) == null ? void 0 : g.id) ?? ((y = (b = e == null ? void 0 : e.state) == null ? void 0 : b.record) == null ? void 0 : y.id) ?? ((x = t.record) == null ? void 0 : x.id) ?? ((T = d == null ? void 0 : d.params) == null ? void 0 : T.id), p = u && !!f, h = p ? `${o}:${f}` : null;
|
|
27725
|
-
return
|
|
27726
|
+
return ze(() => {
|
|
27726
27727
|
var R;
|
|
27727
27728
|
if (!p || l.current || (l.current = !0, h && (ru.has(h) || n != null && n.open && ((R = n == null ? void 0 : n.props) == null ? void 0 : R._popupKey) === h) || !h))
|
|
27728
27729
|
return;
|
|
@@ -27819,9 +27820,9 @@ const IO = /* @__PURE__ */ a(() => {
|
|
|
27819
27820
|
);
|
|
27820
27821
|
}), _O = /* @__PURE__ */ a((t) => {
|
|
27821
27822
|
const e = dt(t), { estado: n, isLoading: r, initialValues: o, fichaProps: i } = Rt(), s = Vr({ resource: e });
|
|
27822
|
-
if (
|
|
27823
|
+
if (ze(() => {
|
|
27823
27824
|
i.onRenderFicha && i.onRenderFicha(s, n);
|
|
27824
|
-
}, []),
|
|
27825
|
+
}, []), ze(() => {
|
|
27825
27826
|
r || i.onLoadFicha && i.onLoadFicha(s, n, o);
|
|
27826
27827
|
}, [r]), r)
|
|
27827
27828
|
return /* @__PURE__ */ v(
|
|
@@ -28050,7 +28051,7 @@ const nW = /* @__PURE__ */ a((t) => {
|
|
|
28050
28051
|
);
|
|
28051
28052
|
}) });
|
|
28052
28053
|
}, "renderMenu"), rW = /* @__PURE__ */ a(({ dense: t = !1 }) => {
|
|
28053
|
-
const e = Bt(), [n, r] =
|
|
28054
|
+
const e = Bt(), [n, r] = Ve({ mnuPrueba: !1 }), o = ur((h) => h.breakpoints.down("sm")), [i] = VS(), s = JSON.parse(localStorage.getItem("menus")), p = LO({
|
|
28054
28055
|
items: s,
|
|
28055
28056
|
handleToggle: /* @__PURE__ */ a((h) => {
|
|
28056
28057
|
r((m) => ({ ...m, [h]: !m[h] }));
|
|
@@ -28157,7 +28158,7 @@ const pW = /* @__PURE__ */ a((t) => {
|
|
|
28157
28158
|
setViewMode: z,
|
|
28158
28159
|
apiRef: I
|
|
28159
28160
|
}
|
|
28160
|
-
} = ka(), { showCreate:
|
|
28161
|
+
} = ka(), { showCreate: H } = ay({ resource: S });
|
|
28161
28162
|
AM(e, () => j.current);
|
|
28162
28163
|
const L = { ...N, ...$ }, G = /* @__PURE__ */ a((V) => {
|
|
28163
28164
|
p(V.currentTarget);
|
|
@@ -28165,7 +28166,7 @@ const pW = /* @__PURE__ */ a((t) => {
|
|
|
28165
28166
|
p(null), m(null);
|
|
28166
28167
|
}, "handleCloseMenu"), U = /* @__PURE__ */ a((V) => {
|
|
28167
28168
|
m(V);
|
|
28168
|
-
}, "handleOpenSubMenu"),
|
|
28169
|
+
}, "handleOpenSubMenu"), W = /* @__PURE__ */ a((V) => {
|
|
28169
28170
|
var re, X, ne;
|
|
28170
28171
|
(re = V == null ? void 0 : V.stopPropagation) == null || re.call(V), (ne = (X = I == null ? void 0 : I.current) == null ? void 0 : X.showSidebar) == null || ne.call(X, "pivot");
|
|
28171
28172
|
}, "handleOpenPivotPanel"), ee = /* @__PURE__ */ a((V, re, X) => {
|
|
@@ -28245,7 +28246,7 @@ const pW = /* @__PURE__ */ a((t) => {
|
|
|
28245
28246
|
index: "view-mode"
|
|
28246
28247
|
}, ...V] : V;
|
|
28247
28248
|
}, [Z, z, _, B]);
|
|
28248
|
-
return
|
|
28249
|
+
return ze(() => {
|
|
28249
28250
|
b((V) => {
|
|
28250
28251
|
const re = { ...V };
|
|
28251
28252
|
return J.forEach((X) => {
|
|
@@ -28269,13 +28270,13 @@ const pW = /* @__PURE__ */ a((t) => {
|
|
|
28269
28270
|
Nn,
|
|
28270
28271
|
{
|
|
28271
28272
|
label: "ra.action.create",
|
|
28272
|
-
onClick: /* @__PURE__ */ a(() =>
|
|
28273
|
+
onClick: /* @__PURE__ */ a(() => H(), "onClick"),
|
|
28273
28274
|
children: /* @__PURE__ */ v(wa, {})
|
|
28274
28275
|
}
|
|
28275
28276
|
),
|
|
28276
28277
|
T !== !1 && /* @__PURE__ */ v("div", { ref: j }),
|
|
28277
28278
|
u !== !1 && /* @__PURE__ */ v(pW, { resource: S }),
|
|
28278
|
-
B === "pivot" && /* @__PURE__ */ v(Vi, { onClick:
|
|
28279
|
+
B === "pivot" && /* @__PURE__ */ v(Vi, { onClick: W, children: /* @__PURE__ */ v(Vl, {}) }),
|
|
28279
28280
|
J.length > 0 && /* @__PURE__ */ v(Vi, { onClick: G, children: /* @__PURE__ */ v(l$, {}) }),
|
|
28280
28281
|
/* @__PURE__ */ v(
|
|
28281
28282
|
Rh,
|
|
@@ -28860,7 +28861,7 @@ const cne = /* @__PURE__ */ a((t) => {
|
|
|
28860
28861
|
loginBackgroundImage: e,
|
|
28861
28862
|
nameSource: n = "username",
|
|
28862
28863
|
passwordSource: r = "password"
|
|
28863
|
-
} = t, [o, i] =
|
|
28864
|
+
} = t, [o, i] = Ve(!1), s = Bt(), l = s("ra.auth.sign_in"), u = po(), d = MP(), f = Fr();
|
|
28864
28865
|
return /* @__PURE__ */ v(fa, { onSubmit: /* @__PURE__ */ a((m) => {
|
|
28865
28866
|
i(!0), d(m, f.state ? f.state.nextPathname : "/").catch(
|
|
28866
28867
|
(g) => {
|
|
@@ -28978,7 +28979,7 @@ const cne = /* @__PURE__ */ a((t) => {
|
|
|
28978
28979
|
// NUEVO (opcional): si quer�s forzar el tooltip del bot�n, aunque el seleccionado sea otro
|
|
28979
28980
|
title: i
|
|
28980
28981
|
// string
|
|
28981
|
-
} = t, [s, l] =
|
|
28982
|
+
} = t, [s, l] = Ve(!1), u = pr(), d = dt(t), { menuModel: f, leafOptions: p } = It(() => {
|
|
28982
28983
|
const w = [], S = [];
|
|
28983
28984
|
return (e || []).forEach((O) => {
|
|
28984
28985
|
Array.isArray(O == null ? void 0 : O.children) && O.children.length > 0 ? (S.push({
|
|
@@ -29006,7 +29007,7 @@ const cne = /* @__PURE__ */ a((t) => {
|
|
|
29006
29007
|
}, [e]), h = Math.max(
|
|
29007
29008
|
0,
|
|
29008
29009
|
Math.min(o, Math.max(p.length - 1, 0))
|
|
29009
|
-
), [m, g] =
|
|
29010
|
+
), [m, g] = Ve(h), b = /* @__PURE__ */ a((w) => {
|
|
29010
29011
|
w.preventDefault(), l(!0), u.current = w.currentTarget;
|
|
29011
29012
|
}, "handleToggle"), y = /* @__PURE__ */ a((w) => {
|
|
29012
29013
|
u.current && u.current.contains(w.target) || l(!1);
|
|
@@ -29110,7 +29111,7 @@ const cne = /* @__PURE__ */ a((t) => {
|
|
|
29110
29111
|
] });
|
|
29111
29112
|
}, "MultiTextField"), LW = /* @__PURE__ */ a((t) => {
|
|
29112
29113
|
var m;
|
|
29113
|
-
const { children: e, fichaProps: n } = t, r = $P(), [o, i] =
|
|
29114
|
+
const { children: e, fichaProps: n } = t, r = $P(), [o, i] = Ve(null), s = Fr(), l = ss(), u = dt(t), { record: d, isFetching: f } = r, p = ((m = s == null ? void 0 : s.state) == null ? void 0 : m.estado) || "M", h = It(
|
|
29114
29115
|
() => ({
|
|
29115
29116
|
estado: p,
|
|
29116
29117
|
initialValues: d,
|
|
@@ -29119,7 +29120,7 @@ const cne = /* @__PURE__ */ a((t) => {
|
|
|
29119
29120
|
}),
|
|
29120
29121
|
[d, f, n, p]
|
|
29121
29122
|
);
|
|
29122
|
-
return
|
|
29123
|
+
return ze(() => {
|
|
29123
29124
|
f || l.getFichaConfig(u, { estado: "M" }).then((g) => {
|
|
29124
29125
|
i(g.data);
|
|
29125
29126
|
}).catch((g) => {
|
|
@@ -29172,16 +29173,16 @@ const VW = /* @__PURE__ */ a(() => {
|
|
|
29172
29173
|
tabs: l = qW,
|
|
29173
29174
|
toolbar: u = UW,
|
|
29174
29175
|
...d
|
|
29175
|
-
} = e, f = Fr(), p = dt(e), [h, m] =
|
|
29176
|
-
s || m(
|
|
29176
|
+
} = e, f = Fr(), p = dt(e), [h, m] = Ve(0), g = NP(), b = ur((I) => I.breakpoints.down("sm")), y = ur((I) => I.breakpoints.down("md")), x = b ? 3 : y ? 5 : 7, [T, E] = Ve(0), w = /* @__PURE__ */ a((I, H) => {
|
|
29177
|
+
s || m(H), l.props.onChange && l.props.onChange(I, H);
|
|
29177
29178
|
}, "handleTabChange"), S = It(() => Pl.toArray(n), [n]), O = It(
|
|
29178
|
-
() => S.reduce((I,
|
|
29179
|
+
() => S.reduce((I, H) => Px(H) ? [
|
|
29179
29180
|
...I,
|
|
29180
|
-
{ tab:
|
|
29181
|
+
{ tab: H, tabIndex: I.length }
|
|
29181
29182
|
] : I, []),
|
|
29182
29183
|
[S]
|
|
29183
|
-
), R = It(() => s ? O.findIndex(({ tab: I, tabIndex:
|
|
29184
|
-
const L = Bc(I,
|
|
29184
|
+
), R = It(() => s ? O.findIndex(({ tab: I, tabIndex: H }) => {
|
|
29185
|
+
const L = Bc(I, H);
|
|
29185
29186
|
return Nl(`${g}/${L}`, f.pathname);
|
|
29186
29187
|
}) : O.findIndex(({ tabIndex: I }) => I === h), [f.pathname, g, s, h, O]), $ = It(() => !s || R >= 0 ? R : O.length ? 0 : -1, [R, s, O.length]), N = It(() => {
|
|
29187
29188
|
if (s) {
|
|
@@ -29190,21 +29191,21 @@ const VW = /* @__PURE__ */ a(() => {
|
|
|
29190
29191
|
}
|
|
29191
29192
|
return h;
|
|
29192
29193
|
}, [$, s, O, h]), _ = pr(R);
|
|
29193
|
-
|
|
29194
|
+
ze(() => {
|
|
29194
29195
|
if (_.current === R)
|
|
29195
29196
|
return;
|
|
29196
|
-
const I = T + x,
|
|
29197
|
-
|
|
29197
|
+
const I = T + x, H = $ < 0 ? 0 : $;
|
|
29198
|
+
H < T ? E(H) : H >= I && E(H - x + 1), _.current = R;
|
|
29198
29199
|
}, [$, x, T]);
|
|
29199
|
-
const M = It(() => (b ? O : O.slice(T, T + x)).map(({ tab:
|
|
29200
|
+
const M = It(() => (b ? O : O.slice(T, T + x)).map(({ tab: H, tabIndex: L }) => {
|
|
29200
29201
|
var ie;
|
|
29201
|
-
const G = s ? Bc(
|
|
29202
|
-
return ((ie =
|
|
29202
|
+
const G = s ? Bc(H, L) : L;
|
|
29203
|
+
return ((ie = H.props) == null ? void 0 : ie.value) === G ? H : Sn(H, { value: G });
|
|
29203
29204
|
}), [b, x, T, s, O]), P = T > 0, A = T + x < O.length, D = /* @__PURE__ */ a(() => {
|
|
29204
29205
|
E((I) => Math.max(0, I - 1));
|
|
29205
29206
|
}, "handlePrev"), j = /* @__PURE__ */ a(() => {
|
|
29206
29207
|
const I = Math.max(0, O.length - x);
|
|
29207
|
-
E((
|
|
29208
|
+
E((H) => Math.min(I, H + 1));
|
|
29208
29209
|
}, "handleNext"), B = O.length <= x ? "fullWidth" : "scrollable", z = /* @__PURE__ */ a(() => b ? Sn(
|
|
29209
29210
|
l,
|
|
29210
29211
|
{
|
|
@@ -29261,25 +29262,25 @@ const VW = /* @__PURE__ */ a(() => {
|
|
|
29261
29262
|
},
|
|
29262
29263
|
children: /* @__PURE__ */ v(o, { children: (() => {
|
|
29263
29264
|
let I = -1;
|
|
29264
|
-
return Pl.map(n, (
|
|
29265
|
+
return Pl.map(n, (H) => {
|
|
29265
29266
|
var U;
|
|
29266
|
-
if (!
|
|
29267
|
+
if (!H)
|
|
29267
29268
|
return null;
|
|
29268
|
-
if (!Px(
|
|
29269
|
-
return
|
|
29269
|
+
if (!Px(H))
|
|
29270
|
+
return H;
|
|
29270
29271
|
I += 1;
|
|
29271
29272
|
const L = Bc(
|
|
29272
|
-
|
|
29273
|
+
H,
|
|
29273
29274
|
I
|
|
29274
29275
|
), ie = !(s ? $ === I : h === I);
|
|
29275
|
-
return ie && ((U =
|
|
29276
|
+
return ie && ((U = H.props) == null ? void 0 : U.keepMounted) === !1 ? null : Sn(H, {
|
|
29276
29277
|
intent: "content",
|
|
29277
29278
|
resource: p,
|
|
29278
29279
|
hidden: ie,
|
|
29279
29280
|
value: s ? L : I,
|
|
29280
29281
|
className: [
|
|
29281
29282
|
Ou.tab,
|
|
29282
|
-
|
|
29283
|
+
H.props.className || ""
|
|
29283
29284
|
].join(" ").trim()
|
|
29284
29285
|
});
|
|
29285
29286
|
});
|
|
@@ -29642,51 +29643,32 @@ const iH = C.forwardRef(/* @__PURE__ */ a(function(e, n) {
|
|
|
29642
29643
|
return /* @__PURE__ */ v(ry, { direction: "up", ref: n, ...e });
|
|
29643
29644
|
}, "Transition2")), $x = Pt(!1), mne = /* @__PURE__ */ a((t) => {
|
|
29644
29645
|
const { isLoading: e } = t, n = dt(t), r = us(), o = Xe($x), i = pr(`asistente-host-${Math.random().toString(36).slice(2)}`), s = r == null ? void 0 : r.hostId, l = !s || s === i.current;
|
|
29645
|
-
|
|
29646
|
+
ze(() => {
|
|
29646
29647
|
if (!(!(r != null && r.registerHost) || !l))
|
|
29647
29648
|
return r.registerHost(i.current), () => {
|
|
29648
29649
|
r.unregisterHost && r.unregisterHost(i.current);
|
|
29649
29650
|
};
|
|
29650
29651
|
}, [r, l]);
|
|
29651
|
-
const {
|
|
29652
|
-
|
|
29653
|
-
|
|
29654
|
-
props: {
|
|
29655
|
-
title: f,
|
|
29656
|
-
controles: p,
|
|
29657
|
-
aceptar: h,
|
|
29658
|
-
cancelar: m = /* @__PURE__ */ a(() => d(), "cancelar"),
|
|
29659
|
-
tipo: g = "form",
|
|
29660
|
-
botonesExtra: b = [],
|
|
29661
|
-
showAceptar: y = !0,
|
|
29662
|
-
showCancelar: x = !0,
|
|
29663
|
-
formDividers: T = !0,
|
|
29664
|
-
saveAlwaysEnable: E = !1,
|
|
29665
|
-
cancelLabel: w = "ra.action.cancel",
|
|
29666
|
-
confirmLabel: S = "ra.action.confirm",
|
|
29667
|
-
hasForm: O = !1,
|
|
29668
|
-
dialogProps: R = {}
|
|
29669
|
-
}
|
|
29670
|
-
} = r, $ = /* @__PURE__ */ a(() => {
|
|
29671
|
-
const j = cn(), B = /* @__PURE__ */ a((z) => (I) => {
|
|
29672
|
-
if (typeof z != "function")
|
|
29652
|
+
const { hide: u, stack: d = [] } = r || {}, f = /* @__PURE__ */ a(({ botonesExtra: g }) => {
|
|
29653
|
+
const b = cn(), y = /* @__PURE__ */ a((x) => (T) => {
|
|
29654
|
+
if (typeof x != "function")
|
|
29673
29655
|
return;
|
|
29674
|
-
const
|
|
29675
|
-
|
|
29656
|
+
const E = b != null && b.getValues ? b.getValues() : void 0;
|
|
29657
|
+
x(E, T);
|
|
29676
29658
|
}, "getExtraClickHandler");
|
|
29677
|
-
return
|
|
29678
|
-
({ label:
|
|
29659
|
+
return (g || []).map(
|
|
29660
|
+
({ label: x = "", icon: T = /* @__PURE__ */ v(WO, {}), handler: E }, w) => /* @__PURE__ */ v(
|
|
29679
29661
|
Nn,
|
|
29680
29662
|
{
|
|
29681
|
-
label:
|
|
29663
|
+
label: x,
|
|
29682
29664
|
disabled: e,
|
|
29683
|
-
onClick:
|
|
29684
|
-
children:
|
|
29665
|
+
onClick: y(E),
|
|
29666
|
+
children: T
|
|
29685
29667
|
},
|
|
29686
|
-
`extra_${
|
|
29668
|
+
`extra_${w}`
|
|
29687
29669
|
)
|
|
29688
29670
|
);
|
|
29689
|
-
}, "BotonesExtra"),
|
|
29671
|
+
}, "BotonesExtra"), p = /* @__PURE__ */ a(({ title: g, controles: b, botonesExtra: y, cancelar: x }) => /* @__PURE__ */ q(
|
|
29690
29672
|
Ge,
|
|
29691
29673
|
{
|
|
29692
29674
|
sx: {
|
|
@@ -29703,16 +29685,16 @@ const iH = C.forwardRef(/* @__PURE__ */ a(function(e, n) {
|
|
|
29703
29685
|
sx: { ml: 2, flex: 1 },
|
|
29704
29686
|
variant: "h6",
|
|
29705
29687
|
component: "div",
|
|
29706
|
-
children:
|
|
29688
|
+
children: g
|
|
29707
29689
|
}
|
|
29708
29690
|
),
|
|
29709
|
-
/* @__PURE__ */ v(
|
|
29691
|
+
/* @__PURE__ */ v(f, { botonesExtra: y }),
|
|
29710
29692
|
/* @__PURE__ */ v(
|
|
29711
29693
|
Nn,
|
|
29712
29694
|
{
|
|
29713
29695
|
label: "ra.action.close",
|
|
29714
29696
|
disabled: e,
|
|
29715
|
-
onClick:
|
|
29697
|
+
onClick: x,
|
|
29716
29698
|
color: "inherit",
|
|
29717
29699
|
children: /* @__PURE__ */ v(jl, {})
|
|
29718
29700
|
}
|
|
@@ -29787,80 +29769,144 @@ const iH = C.forwardRef(/* @__PURE__ */ a(function(e, n) {
|
|
|
29787
29769
|
width: "100%"
|
|
29788
29770
|
}
|
|
29789
29771
|
},
|
|
29790
|
-
children:
|
|
29772
|
+
children: b
|
|
29791
29773
|
}
|
|
29792
29774
|
)
|
|
29793
29775
|
]
|
|
29794
29776
|
}
|
|
29795
|
-
), "getDialogVista"),
|
|
29796
|
-
|
|
29777
|
+
), "getDialogVista"), h = /* @__PURE__ */ a(({
|
|
29778
|
+
title: g,
|
|
29779
|
+
controles: b,
|
|
29780
|
+
aceptar: y,
|
|
29781
|
+
cancelar: x,
|
|
29782
|
+
botonesExtra: T,
|
|
29783
|
+
showCancelar: E,
|
|
29784
|
+
showAceptar: w,
|
|
29785
|
+
formDividers: S,
|
|
29786
|
+
saveAlwaysEnable: O,
|
|
29787
|
+
cancelLabel: R,
|
|
29788
|
+
confirmLabel: $,
|
|
29789
|
+
hasForm: N
|
|
29790
|
+
}) => /* @__PURE__ */ q(ro, { children: [
|
|
29791
|
+
/* @__PURE__ */ v(PS, { id: "draggable-dialog-title", children: g }),
|
|
29797
29792
|
/* @__PURE__ */ q(
|
|
29798
|
-
|
|
29793
|
+
N ? Ge : fa,
|
|
29799
29794
|
{
|
|
29800
|
-
...
|
|
29795
|
+
...N ? {} : { resource: n, onSubmit: y },
|
|
29801
29796
|
children: [
|
|
29802
|
-
/* @__PURE__ */ v($S, { dividers:
|
|
29797
|
+
/* @__PURE__ */ v($S, { dividers: S, variant: "dense", children: /* @__PURE__ */ v(ki, { spacing: 2, children: b }) }),
|
|
29803
29798
|
/* @__PURE__ */ q(YM, { children: [
|
|
29804
|
-
/* @__PURE__ */ v(
|
|
29805
|
-
|
|
29799
|
+
/* @__PURE__ */ v(f, { botonesExtra: T }),
|
|
29800
|
+
E && /* @__PURE__ */ v(
|
|
29806
29801
|
Nn,
|
|
29807
29802
|
{
|
|
29808
|
-
label:
|
|
29803
|
+
label: R,
|
|
29809
29804
|
disabled: e,
|
|
29810
|
-
onClick:
|
|
29805
|
+
onClick: x,
|
|
29811
29806
|
children: /* @__PURE__ */ v(jl, {})
|
|
29812
29807
|
}
|
|
29813
29808
|
),
|
|
29814
|
-
!
|
|
29809
|
+
!N && w && /* @__PURE__ */ v(
|
|
29815
29810
|
lc,
|
|
29816
29811
|
{
|
|
29817
|
-
label:
|
|
29812
|
+
label: $,
|
|
29818
29813
|
disabled: e,
|
|
29819
|
-
alwaysEnable:
|
|
29814
|
+
alwaysEnable: O
|
|
29820
29815
|
}
|
|
29821
29816
|
)
|
|
29822
29817
|
] })
|
|
29823
29818
|
]
|
|
29824
29819
|
}
|
|
29825
29820
|
)
|
|
29826
|
-
] }), "getDialogForm"),
|
|
29821
|
+
] }), "getDialogForm"), m = /* @__PURE__ */ a(({
|
|
29822
|
+
title: g,
|
|
29823
|
+
controles: b,
|
|
29824
|
+
aceptar: y,
|
|
29825
|
+
cancelar: x,
|
|
29826
|
+
cancelLabel: T,
|
|
29827
|
+
confirmLabel: E
|
|
29828
|
+
}) => /* @__PURE__ */ v(
|
|
29827
29829
|
ac,
|
|
29828
29830
|
{
|
|
29829
|
-
isOpen:
|
|
29830
|
-
title:
|
|
29831
|
-
content:
|
|
29832
|
-
onConfirm:
|
|
29833
|
-
onClose:
|
|
29834
|
-
cancel:
|
|
29835
|
-
confirm:
|
|
29836
|
-
}
|
|
29837
|
-
), "getConfirm")
|
|
29838
|
-
|
|
29839
|
-
|
|
29840
|
-
|
|
29841
|
-
|
|
29842
|
-
|
|
29843
|
-
|
|
29844
|
-
|
|
29845
|
-
|
|
29846
|
-
|
|
29847
|
-
|
|
29848
|
-
|
|
29849
|
-
|
|
29850
|
-
|
|
29851
|
-
|
|
29852
|
-
|
|
29853
|
-
|
|
29854
|
-
|
|
29855
|
-
|
|
29856
|
-
|
|
29857
|
-
|
|
29858
|
-
|
|
29859
|
-
...
|
|
29860
|
-
|
|
29861
|
-
|
|
29862
|
-
|
|
29863
|
-
|
|
29831
|
+
isOpen: !0,
|
|
29832
|
+
title: g || "Atención",
|
|
29833
|
+
content: b,
|
|
29834
|
+
onConfirm: y,
|
|
29835
|
+
onClose: x,
|
|
29836
|
+
cancel: T,
|
|
29837
|
+
confirm: E
|
|
29838
|
+
}
|
|
29839
|
+
), "getConfirm");
|
|
29840
|
+
return o || !l ? null : /* @__PURE__ */ v($x.Provider, { value: !0, children: d.map((g, b) => {
|
|
29841
|
+
const y = b === d.length - 1, {
|
|
29842
|
+
title: x,
|
|
29843
|
+
controles: T,
|
|
29844
|
+
aceptar: E,
|
|
29845
|
+
cancelar: w = /* @__PURE__ */ a(() => u(), "cancelar"),
|
|
29846
|
+
tipo: S = "form",
|
|
29847
|
+
botonesExtra: O = [],
|
|
29848
|
+
showAceptar: R = !0,
|
|
29849
|
+
showCancelar: $ = !0,
|
|
29850
|
+
formDividers: N = !0,
|
|
29851
|
+
saveAlwaysEnable: _ = !1,
|
|
29852
|
+
cancelLabel: M = "ra.action.cancel",
|
|
29853
|
+
confirmLabel: P = "ra.action.confirm",
|
|
29854
|
+
hasForm: A = !1,
|
|
29855
|
+
dialogProps: D = {}
|
|
29856
|
+
} = g || {}, j = (D == null ? void 0 : D.PaperProps) || {}, B = {
|
|
29857
|
+
display: "flex",
|
|
29858
|
+
flexDirection: "column",
|
|
29859
|
+
...S === "vista" ? { height: { xs: "100%", sm: "75vh" } } : {}
|
|
29860
|
+
}, z = {
|
|
29861
|
+
...j,
|
|
29862
|
+
sx: {
|
|
29863
|
+
...B,
|
|
29864
|
+
...j.sx || {}
|
|
29865
|
+
}
|
|
29866
|
+
}, I = /* @__PURE__ */ a((H, L) => {
|
|
29867
|
+
y && L !== "backdropClick" && w();
|
|
29868
|
+
}, "handleClose");
|
|
29869
|
+
return S === "confirm" ? /* @__PURE__ */ v(C.Fragment, { children: m({
|
|
29870
|
+
title: x,
|
|
29871
|
+
controles: T,
|
|
29872
|
+
aceptar: E,
|
|
29873
|
+
cancelar: w,
|
|
29874
|
+
cancelLabel: M,
|
|
29875
|
+
confirmLabel: P
|
|
29876
|
+
}) }, `asistente_${b}`) : /* @__PURE__ */ v(
|
|
29877
|
+
Cg,
|
|
29878
|
+
{
|
|
29879
|
+
open: !0,
|
|
29880
|
+
onClose: I,
|
|
29881
|
+
fullWidth: !0,
|
|
29882
|
+
fullScreen: S === "vista",
|
|
29883
|
+
maxWidth: S === "vista" ? "lg" : "sm",
|
|
29884
|
+
TransitionComponent: iH,
|
|
29885
|
+
...D,
|
|
29886
|
+
PaperProps: z,
|
|
29887
|
+
children: S === "form" ? h({
|
|
29888
|
+
title: x,
|
|
29889
|
+
controles: T,
|
|
29890
|
+
aceptar: E,
|
|
29891
|
+
cancelar: w,
|
|
29892
|
+
botonesExtra: O,
|
|
29893
|
+
showCancelar: $,
|
|
29894
|
+
showAceptar: R,
|
|
29895
|
+
formDividers: N,
|
|
29896
|
+
saveAlwaysEnable: _,
|
|
29897
|
+
cancelLabel: M,
|
|
29898
|
+
confirmLabel: P,
|
|
29899
|
+
hasForm: A
|
|
29900
|
+
}) : p({
|
|
29901
|
+
title: x,
|
|
29902
|
+
controles: T,
|
|
29903
|
+
botonesExtra: O,
|
|
29904
|
+
cancelar: w
|
|
29905
|
+
})
|
|
29906
|
+
},
|
|
29907
|
+
`asistente_${b}`
|
|
29908
|
+
);
|
|
29909
|
+
}) });
|
|
29864
29910
|
}, "Asistente"), gne = /* @__PURE__ */ a((t) => {
|
|
29865
29911
|
const {
|
|
29866
29912
|
jsBotoneraPart: e,
|
|
@@ -29869,7 +29915,7 @@ const iH = C.forwardRef(/* @__PURE__ */ a(function(e, n) {
|
|
|
29869
29915
|
incluyeAcciones: o = !1,
|
|
29870
29916
|
saveButtonProps: i,
|
|
29871
29917
|
...s
|
|
29872
|
-
} = t, [l, u] =
|
|
29918
|
+
} = t, [l, u] = Ve(!1), d = Vr(s), f = po(), { trigger: p } = cn(), { hidden: h } = VE(), m = tt(
|
|
29873
29919
|
async (g, b, y) => {
|
|
29874
29920
|
typeof e == "function" ? await p() ? (u(!0), e(d, b, y, g).finally(() => {
|
|
29875
29921
|
u(!1);
|
|
@@ -30297,8 +30343,8 @@ XO = Ey.default = (0, OH.default)(/* @__PURE__ */ (0, kH.jsx)("path", {
|
|
|
30297
30343
|
d: "M3 4V1h2v3h3v2H5v3H3V6H0V4zm3 6V7h3V4h7l1.83 2H21c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H5c-1.1 0-2-.9-2-2V10zm7 9c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5m-3.2-5c0 1.77 1.43 3.2 3.2 3.2s3.2-1.43 3.2-3.2-1.43-3.2-3.2-3.2-3.2 1.43-3.2 3.2"
|
|
30298
30344
|
}), "AddAPhoto");
|
|
30299
30345
|
const Ax = /* @__PURE__ */ a((t) => {
|
|
30300
|
-
const [e, n] =
|
|
30301
|
-
return
|
|
30346
|
+
const [e, n] = Ve(!1), [r, o] = Ve(!1), i = cn(), s = po(), l = Bt(), { field: u, sx: d } = t;
|
|
30347
|
+
return ze(() => {
|
|
30302
30348
|
e && (/* @__PURE__ */ a(async () => {
|
|
30303
30349
|
let p = null;
|
|
30304
30350
|
try {
|
|
@@ -30467,15 +30513,15 @@ const Ax = /* @__PURE__ */ a((t) => {
|
|
|
30467
30513
|
code: "file-executable-blocked",
|
|
30468
30514
|
message: "No se permiten ejecutables (solo .zip)."
|
|
30469
30515
|
} : null;
|
|
30470
|
-
}, "validatorNonImage"), b = Bt(), y = rr(t), [x, T] =
|
|
30516
|
+
}, "validatorNonImage"), b = Bt(), y = rr(t), [x, T] = Ve(() => Date.now()), E = ur((N) => N.breakpoints.down("sm")), w = cn(), [S, O] = Ve(
|
|
30471
30517
|
y && u ? im(`${u}/${y[h.source]}`, x) : void 0
|
|
30472
30518
|
);
|
|
30473
30519
|
if (!w)
|
|
30474
30520
|
return null;
|
|
30475
30521
|
const R = w.getValues()[h.source], $ = S ?? "#";
|
|
30476
|
-
return
|
|
30522
|
+
return ze(() => {
|
|
30477
30523
|
T(Date.now());
|
|
30478
|
-
}, [R]),
|
|
30524
|
+
}, [R]), ze(() => {
|
|
30479
30525
|
d && R && (R != null && R.src ? O(R.src) : d(R).then((N) => {
|
|
30480
30526
|
O(im(N, x));
|
|
30481
30527
|
}));
|
|
@@ -30600,7 +30646,7 @@ const Ax = /* @__PURE__ */ a((t) => {
|
|
|
30600
30646
|
allChoices: l,
|
|
30601
30647
|
availableChoices: u
|
|
30602
30648
|
} = KS(), d = pr(null);
|
|
30603
|
-
return
|
|
30649
|
+
return ze(() => {
|
|
30604
30650
|
s || typeof e == "function" && e(Object.values([l]));
|
|
30605
30651
|
}, [l, e, s]), /* @__PURE__ */ v($H, { title: ((f = d.current) == null ? void 0 : f.value) || "", placement: "top", arrow: !0, children: /* @__PURE__ */ v(
|
|
30606
30652
|
Ge,
|
|
@@ -30650,7 +30696,7 @@ const Ax = /* @__PURE__ */ a((t) => {
|
|
|
30650
30696
|
const { callback: T, ...E } = b;
|
|
30651
30697
|
y = T, x = E;
|
|
30652
30698
|
}
|
|
30653
|
-
return
|
|
30699
|
+
return ze(() => {
|
|
30654
30700
|
m !== null && (g.current = m, r(ZD(p)));
|
|
30655
30701
|
}, [JSON.stringify(m)]), !n && !o ? /* @__PURE__ */ q(
|
|
30656
30702
|
Ge,
|
|
@@ -31321,7 +31367,7 @@ const _x = /* @__PURE__ */ a((t, e) => t.filter((n) => !e.includes(n)), "not"),
|
|
|
31321
31367
|
}
|
|
31322
31368
|
),
|
|
31323
31369
|
/* @__PURE__ */ v(Xi, { dense: !0, component: "div", role: "list", children: B.map((z, I) => {
|
|
31324
|
-
const
|
|
31370
|
+
const H = `transfer-list-item-${z.id}-label`;
|
|
31325
31371
|
return /* @__PURE__ */ q(
|
|
31326
31372
|
Io,
|
|
31327
31373
|
{
|
|
@@ -31342,7 +31388,7 @@ const _x = /* @__PURE__ */ a((t, e) => t.filter((n) => !e.includes(n)), "not"),
|
|
|
31342
31388
|
tabIndex: -1,
|
|
31343
31389
|
disableRipple: !0,
|
|
31344
31390
|
inputProps: {
|
|
31345
|
-
"aria-labelledby":
|
|
31391
|
+
"aria-labelledby": H
|
|
31346
31392
|
},
|
|
31347
31393
|
sx: /* @__PURE__ */ a((L) => ({
|
|
31348
31394
|
color: L.palette.primary.main,
|
|
@@ -31355,7 +31401,7 @@ const _x = /* @__PURE__ */ a((t, e) => t.filter((n) => !e.includes(n)), "not"),
|
|
|
31355
31401
|
/* @__PURE__ */ v(
|
|
31356
31402
|
No,
|
|
31357
31403
|
{
|
|
31358
|
-
id:
|
|
31404
|
+
id: H,
|
|
31359
31405
|
primary: z.etiqueta || z.name || `Item ${z.id}`,
|
|
31360
31406
|
primaryTypographyProps: {
|
|
31361
31407
|
variant: "caption"
|
|
@@ -31706,7 +31752,7 @@ const c9 = /* @__PURE__ */ a((t) => /* @__PURE__ */ v(
|
|
|
31706
31752
|
all: !0,
|
|
31707
31753
|
none: !1
|
|
31708
31754
|
}, h9 = /* @__PURE__ */ a((t) => !t || t != null && t.all ? "Todos" : t != null && t.none || t.seleccion.length === 0 ? "Ninguno" : `Selección (${t.seleccion.split(",").length})`, "format$1"), m9 = /* @__PURE__ */ a((t) => t, "parse$1"), $ne = /* @__PURE__ */ a((t) => {
|
|
31709
|
-
const [e, n] =
|
|
31755
|
+
const [e, n] = Ve(!1), r = pr(!1), {
|
|
31710
31756
|
hidden: o,
|
|
31711
31757
|
propsContenido: {
|
|
31712
31758
|
readOnly: i,
|
|
@@ -31719,7 +31765,7 @@ const c9 = /* @__PURE__ */ a((t) => /* @__PURE__ */ v(
|
|
|
31719
31765
|
...h
|
|
31720
31766
|
}
|
|
31721
31767
|
} = xn(t), m = cn();
|
|
31722
|
-
|
|
31768
|
+
ze(() => {
|
|
31723
31769
|
r.current || (setTimeout(() => {
|
|
31724
31770
|
m.setValue(p, p9);
|
|
31725
31771
|
}, 0), r.current = !0);
|
|
@@ -31873,8 +31919,8 @@ const c9 = /* @__PURE__ */ a((t) => /* @__PURE__ */ v(
|
|
|
31873
31919
|
)
|
|
31874
31920
|
}
|
|
31875
31921
|
), "AsistenteList"), b9 = { fillista: "empcod=-1", mapId: ["funnro"] }, y9 = /* @__PURE__ */ a((t) => {
|
|
31876
|
-
const { filgrilla: e = {}, meta: n } = t, [r, o] =
|
|
31877
|
-
|
|
31922
|
+
const { filgrilla: e = {}, meta: n } = t, [r, o] = Ve(b9), [i, s] = Ve([]), l = ss();
|
|
31923
|
+
ze(() => {
|
|
31878
31924
|
(/* @__PURE__ */ a(async () => {
|
|
31879
31925
|
const m = await d("");
|
|
31880
31926
|
s(m);
|
|
@@ -32047,7 +32093,7 @@ const c9 = /* @__PURE__ */ a((t) => /* @__PURE__ */ v(
|
|
|
32047
32093
|
all: !0,
|
|
32048
32094
|
none: !1
|
|
32049
32095
|
}, w9 = /* @__PURE__ */ a((t) => String(t) === t ? t === "" ? "Ninguno" : "Selección (1)" : !t || t != null && t.all ? "Todos" : t != null && t.none || t.seleccion.length === 0 ? "Ninguno" : `Selección (${t.seleccion.split(",").length})`, "format"), E9 = /* @__PURE__ */ a((t) => t, "parse"), Nne = /* @__PURE__ */ a((t) => {
|
|
32050
|
-
const { source: e, onChange: n } = t, [r] = JS({ resource: "form_224" }), [o, i] =
|
|
32096
|
+
const { source: e, onChange: n } = t, [r] = JS({ resource: "form_224" }), [o, i] = Ve(!1), s = cn(), { estado: l, fichaProps: u = {} } = Rt(), d = pr(!1), {
|
|
32051
32097
|
hidden: f,
|
|
32052
32098
|
propsContenido: {
|
|
32053
32099
|
readOnly: p,
|
|
@@ -32060,7 +32106,7 @@ const c9 = /* @__PURE__ */ a((t) => /* @__PURE__ */ v(
|
|
|
32060
32106
|
...T
|
|
32061
32107
|
}
|
|
32062
32108
|
} = xn(t), { [e]: E = {} } = u, w = Vr(t), S = E.onChange === void 0 ? n : E.onChange;
|
|
32063
|
-
|
|
32109
|
+
ze(() => {
|
|
32064
32110
|
d.current || (setTimeout(() => {
|
|
32065
32111
|
s.setValue(e, S9);
|
|
32066
32112
|
}, 0), d.current = !0);
|
|
@@ -36782,8 +36828,8 @@ const rh = /* @__PURE__ */ Object.create(null), Jv = class Jv {
|
|
|
36782
36828
|
}
|
|
36783
36829
|
};
|
|
36784
36830
|
a(Jv, "Selection");
|
|
36785
|
-
let
|
|
36786
|
-
|
|
36831
|
+
let je = Jv;
|
|
36832
|
+
je.prototype.visible = !0;
|
|
36787
36833
|
const Xv = class Xv {
|
|
36788
36834
|
/**
|
|
36789
36835
|
Create a range.
|
|
@@ -36798,7 +36844,7 @@ function Yx(t) {
|
|
|
36798
36844
|
!Kx && !t.parent.inlineContent && (Kx = !0, console.warn("TextSelection endpoint not pointing into a node with inline content (" + t.parent.type.name + ")"));
|
|
36799
36845
|
}
|
|
36800
36846
|
a(Yx, "checkTextSelection");
|
|
36801
|
-
const mi = class mi extends
|
|
36847
|
+
const mi = class mi extends je {
|
|
36802
36848
|
/**
|
|
36803
36849
|
Construct a text selection between the given points.
|
|
36804
36850
|
*/
|
|
@@ -36815,7 +36861,7 @@ const mi = class mi extends ze {
|
|
|
36815
36861
|
map(e, n) {
|
|
36816
36862
|
let r = e.resolve(n.map(this.head));
|
|
36817
36863
|
if (!r.parent.inlineContent)
|
|
36818
|
-
return
|
|
36864
|
+
return je.near(r);
|
|
36819
36865
|
let o = e.resolve(n.map(this.anchor));
|
|
36820
36866
|
return new mi(o.parent.inlineContent ? o : r, r);
|
|
36821
36867
|
}
|
|
@@ -36860,18 +36906,18 @@ const mi = class mi extends ze {
|
|
|
36860
36906
|
static between(e, n, r) {
|
|
36861
36907
|
let o = e.pos - n.pos;
|
|
36862
36908
|
if ((!r || o) && (r = o >= 0 ? 1 : -1), !n.parent.inlineContent) {
|
|
36863
|
-
let i =
|
|
36909
|
+
let i = je.findFrom(n, r, !0) || je.findFrom(n, -r, !0);
|
|
36864
36910
|
if (i)
|
|
36865
36911
|
n = i.$head;
|
|
36866
36912
|
else
|
|
36867
|
-
return
|
|
36913
|
+
return je.near(n, r);
|
|
36868
36914
|
}
|
|
36869
|
-
return e.parent.inlineContent || (o == 0 ? e = n : (e = (
|
|
36915
|
+
return e.parent.inlineContent || (o == 0 ? e = n : (e = (je.findFrom(e, -r, !0) || je.findFrom(e, r, !0)).$anchor, e.pos < n.pos != o < 0 && (e = n))), new mi(e, n);
|
|
36870
36916
|
}
|
|
36871
36917
|
};
|
|
36872
36918
|
a(mi, "TextSelection");
|
|
36873
36919
|
let qe = mi;
|
|
36874
|
-
|
|
36920
|
+
je.jsonID("text", qe);
|
|
36875
36921
|
const cf = class cf {
|
|
36876
36922
|
constructor(e, n) {
|
|
36877
36923
|
this.anchor = e, this.head = n;
|
|
@@ -36885,7 +36931,7 @@ const cf = class cf {
|
|
|
36885
36931
|
};
|
|
36886
36932
|
a(cf, "TextBookmark");
|
|
36887
36933
|
let ud = cf;
|
|
36888
|
-
const gi = class gi extends
|
|
36934
|
+
const gi = class gi extends je {
|
|
36889
36935
|
/**
|
|
36890
36936
|
Create a node selection. Does not verify the validity of its
|
|
36891
36937
|
argument.
|
|
@@ -36896,7 +36942,7 @@ const gi = class gi extends ze {
|
|
|
36896
36942
|
}
|
|
36897
36943
|
map(e, n) {
|
|
36898
36944
|
let { deleted: r, pos: o } = n.mapResult(this.anchor), i = e.resolve(o);
|
|
36899
|
-
return r ?
|
|
36945
|
+
return r ? je.near(i) : new gi(i);
|
|
36900
36946
|
}
|
|
36901
36947
|
content() {
|
|
36902
36948
|
return new ge(ue.from(this.node), 0, 0);
|
|
@@ -36935,7 +36981,7 @@ const gi = class gi extends ze {
|
|
|
36935
36981
|
a(gi, "NodeSelection");
|
|
36936
36982
|
let Ae = gi;
|
|
36937
36983
|
Ae.prototype.visible = !1;
|
|
36938
|
-
|
|
36984
|
+
je.jsonID("node", Ae);
|
|
36939
36985
|
const uf = class uf {
|
|
36940
36986
|
constructor(e) {
|
|
36941
36987
|
this.anchor = e;
|
|
@@ -36946,12 +36992,12 @@ const uf = class uf {
|
|
|
36946
36992
|
}
|
|
36947
36993
|
resolve(e) {
|
|
36948
36994
|
let n = e.resolve(this.anchor), r = n.nodeAfter;
|
|
36949
|
-
return r && Ae.isSelectable(r) ? new Ae(n) :
|
|
36995
|
+
return r && Ae.isSelectable(r) ? new Ae(n) : je.near(n);
|
|
36950
36996
|
}
|
|
36951
36997
|
};
|
|
36952
36998
|
a(uf, "NodeBookmark");
|
|
36953
36999
|
let mm = uf;
|
|
36954
|
-
const $s = class $s extends
|
|
37000
|
+
const $s = class $s extends je {
|
|
36955
37001
|
/**
|
|
36956
37002
|
Create an all-selection over the given document.
|
|
36957
37003
|
*/
|
|
@@ -36961,7 +37007,7 @@ const $s = class $s extends ze {
|
|
|
36961
37007
|
replace(e, n = ge.empty) {
|
|
36962
37008
|
if (n == ge.empty) {
|
|
36963
37009
|
e.delete(0, e.doc.content.size);
|
|
36964
|
-
let r =
|
|
37010
|
+
let r = je.atStart(e.doc);
|
|
36965
37011
|
r.eq(e.selection) || e.setSelection(r);
|
|
36966
37012
|
} else
|
|
36967
37013
|
super.replace(e, n);
|
|
@@ -36987,7 +37033,7 @@ const $s = class $s extends ze {
|
|
|
36987
37033
|
};
|
|
36988
37034
|
a($s, "AllSelection");
|
|
36989
37035
|
let to = $s;
|
|
36990
|
-
|
|
37036
|
+
je.jsonID("all", to);
|
|
36991
37037
|
const f8 = {
|
|
36992
37038
|
map() {
|
|
36993
37039
|
return this;
|
|
@@ -37024,7 +37070,7 @@ function Jx(t, e, n) {
|
|
|
37024
37070
|
let i = t.mapping.maps[r], s;
|
|
37025
37071
|
i.forEach((l, u, d, f) => {
|
|
37026
37072
|
s == null && (s = f);
|
|
37027
|
-
}), t.setSelection(
|
|
37073
|
+
}), t.setSelection(je.near(t.doc.resolve(s), n));
|
|
37028
37074
|
}
|
|
37029
37075
|
a(Jx, "selectionToInsertionEnd$1");
|
|
37030
37076
|
const Xx = 1, su = 2, Qx = 4, Qv = class Qv extends cd {
|
|
@@ -37139,7 +37185,7 @@ const Xx = 1, su = 2, Qx = 4, Qv = class Qv extends cd {
|
|
|
37139
37185
|
let s = this.doc.resolve(n);
|
|
37140
37186
|
i = r == n ? s.marks() : s.marksAcross(this.doc.resolve(r));
|
|
37141
37187
|
}
|
|
37142
|
-
return this.replaceRangeWith(n, r, o.text(e, i)), this.selection.empty || this.setSelection(
|
|
37188
|
+
return this.replaceRangeWith(n, r, o.text(e, i)), this.selection.empty || this.setSelection(je.near(this.selection.$to)), this;
|
|
37143
37189
|
}
|
|
37144
37190
|
}
|
|
37145
37191
|
/**
|
|
@@ -37202,7 +37248,7 @@ const p8 = [
|
|
|
37202
37248
|
}),
|
|
37203
37249
|
new Ci("selection", {
|
|
37204
37250
|
init(t, e) {
|
|
37205
|
-
return t.selection ||
|
|
37251
|
+
return t.selection || je.atStart(e.doc);
|
|
37206
37252
|
},
|
|
37207
37253
|
apply(t) {
|
|
37208
37254
|
return t.selection;
|
|
@@ -37383,7 +37429,7 @@ const bi = class bi {
|
|
|
37383
37429
|
if (s.name == "doc")
|
|
37384
37430
|
i.doc = Ai.fromJSON(e.schema, n.doc);
|
|
37385
37431
|
else if (s.name == "selection")
|
|
37386
|
-
i.selection =
|
|
37432
|
+
i.selection = je.fromJSON(i.doc, n.selection);
|
|
37387
37433
|
else if (s.name == "storedMarks")
|
|
37388
37434
|
n.storedMarks && (i.storedMarks = n.storedMarks.map(e.schema.markFromJSON));
|
|
37389
37435
|
else {
|
|
@@ -39105,7 +39151,7 @@ function U8(t) {
|
|
|
39105
39151
|
a(U8, "anchorInRightPlace");
|
|
39106
39152
|
function km(t, e) {
|
|
39107
39153
|
let { $anchor: n, $head: r } = t.selection, o = e > 0 ? n.max(r) : n.min(r), i = o.parent.inlineContent ? o.depth ? t.doc.resolve(e > 0 ? o.after() : o.before()) : null : o;
|
|
39108
|
-
return i &&
|
|
39154
|
+
return i && je.findFrom(i, e);
|
|
39109
39155
|
}
|
|
39110
39156
|
a(km, "moveSelectionBlock");
|
|
39111
39157
|
function So(t, e) {
|
|
@@ -39305,7 +39351,7 @@ function bC(t, e, n) {
|
|
|
39305
39351
|
return So(t, s);
|
|
39306
39352
|
}
|
|
39307
39353
|
if (!o.parent.inlineContent) {
|
|
39308
|
-
let s = e < 0 ? o : i, l = r instanceof to ?
|
|
39354
|
+
let s = e < 0 ? o : i, l = r instanceof to ? je.near(s, e) : je.findFrom(s, e);
|
|
39309
39355
|
return l ? So(t, l) : !1;
|
|
39310
39356
|
}
|
|
39311
39357
|
return !1;
|
|
@@ -39788,7 +39834,7 @@ const u0 = class u0 {
|
|
|
39788
39834
|
// (hidden) cursor is doesn't change the selection, and
|
|
39789
39835
|
// thus doesn't get a reaction from ProseMirror. This
|
|
39790
39836
|
// works around that.
|
|
39791
|
-
rn && !this.view.state.selection.visible && Math.min(Math.abs(n.pos - this.view.state.selection.from), Math.abs(n.pos - this.view.state.selection.to)) <= 2) ? (Bs(this.view,
|
|
39837
|
+
rn && !this.view.state.selection.visible && Math.min(Math.abs(n.pos - this.view.state.selection.from), Math.abs(n.pos - this.view.state.selection.to)) <= 2) ? (Bs(this.view, je.near(this.view.state.doc.resolve(n.pos))), e.preventDefault()) : _o(this.view, "pointer");
|
|
39792
39838
|
}
|
|
39793
39839
|
move(e) {
|
|
39794
39840
|
this.updateAllowDefault(e), _o(this.view, "pointer"), e.buttons == 0 && this.done();
|
|
@@ -40693,7 +40739,7 @@ const p0 = class p0 {
|
|
|
40693
40739
|
}
|
|
40694
40740
|
}
|
|
40695
40741
|
let d = null;
|
|
40696
|
-
i < 0 && o && e.input.lastFocus > Date.now() - 200 && Math.max(e.input.lastTouch, e.input.lastClick.time) < Date.now() - 300 && up(r) && (d = By(e)) && d.eq(
|
|
40742
|
+
i < 0 && o && e.input.lastFocus > Date.now() - 200 && Math.max(e.input.lastTouch, e.input.lastClick.time) < Date.now() - 300 && up(r) && (d = By(e)) && d.eq(je.near(e.state.doc.resolve(0), 1)) ? (e.input.lastFocus = 0, no(e), this.currentSelection.set(r), e.scrollToSelection()) : (i > -1 || o) && (i > -1 && (e.docView.markDirty(i, s), R7(e)), this.handleDOMChange(i, s, l, u), e.docView && e.docView.dirty ? e.updateState(e.state) : this.currentSelection.eq(r) || no(e), this.currentSelection.set(r));
|
|
40697
40743
|
}
|
|
40698
40744
|
registerMutation(e, n) {
|
|
40699
40745
|
if (n.indexOf(e.target) > -1)
|
|
@@ -40847,7 +40893,7 @@ function I7(t, e, n, r, o) {
|
|
|
40847
40893
|
}
|
|
40848
40894
|
t.state.selection.from < t.state.selection.to && g.start == g.endB && t.state.selection instanceof qe && (g.start > t.state.selection.from && g.start <= t.state.selection.from + 2 && t.state.selection.from >= d.from ? g.start = t.state.selection.from : g.endA < t.state.selection.to && g.endA >= t.state.selection.to - 2 && t.state.selection.to <= d.to && (g.endB += t.state.selection.to - g.endA, g.endA = t.state.selection.to)), kn && Do <= 11 && g.endB == g.start + 1 && g.endA == g.start && g.start > d.from && d.doc.textBetween(g.start - d.from - 1, g.start - d.from + 1) == " " && (g.start--, g.endA--, g.endB--);
|
|
40849
40895
|
let b = d.doc.resolveNoCache(g.start - d.from), y = d.doc.resolveNoCache(g.endB - d.from), x = f.resolve(g.start), T = b.sameParent(y) && b.parent.inlineContent && x.end() >= g.endA, E;
|
|
40850
|
-
if ((sa && t.input.lastIOSEnter > Date.now() - 225 && (!T || o.some((N) => N.nodeName == "DIV" || N.nodeName == "P")) || !T && b.pos < d.doc.content.size && !b.sameParent(y) && (E =
|
|
40896
|
+
if ((sa && t.input.lastIOSEnter > Date.now() - 225 && (!T || o.some((N) => N.nodeName == "DIV" || N.nodeName == "P")) || !T && b.pos < d.doc.content.size && !b.sameParent(y) && (E = je.findFrom(d.doc.resolve(b.pos + 1), 1, !0)) && E.head == y.pos) && t.someProp("handleKeyDown", (N) => N(t, ci(13, "Enter")))) {
|
|
40851
40897
|
t.input.lastIOSEnter = 0;
|
|
40852
40898
|
return;
|
|
40853
40899
|
}
|
|
@@ -41521,7 +41567,7 @@ const K7 = /* @__PURE__ */ a((t, e, n) => {
|
|
|
41521
41567
|
if (l && l.slice.size < l.to - l.from) {
|
|
41522
41568
|
if (e) {
|
|
41523
41569
|
let u = t.tr.step(l);
|
|
41524
|
-
u.setSelection(la(i, "end") ?
|
|
41570
|
+
u.setSelection(la(i, "end") ? je.findFrom(u.doc.resolve(u.mapping.map(o.pos, -1)), -1) : Ae.create(u.doc, o.pos - i.nodeSize)), e(u.scrollIntoView());
|
|
41525
41571
|
}
|
|
41526
41572
|
return !0;
|
|
41527
41573
|
}
|
|
@@ -41624,7 +41670,7 @@ const Q7 = /* @__PURE__ */ a((t, e, n) => {
|
|
|
41624
41670
|
if (s && s.slice.size < s.to - s.from) {
|
|
41625
41671
|
if (e) {
|
|
41626
41672
|
let l = t.tr.step(s);
|
|
41627
|
-
l.setSelection(la(i, "start") ?
|
|
41673
|
+
l.setSelection(la(i, "start") ? je.findFrom(l.doc.resolve(l.mapping.map(o.pos)), 1) : Ae.create(l.doc, l.mapping.map(o.pos))), e(l.scrollIntoView());
|
|
41628
41674
|
}
|
|
41629
41675
|
return !0;
|
|
41630
41676
|
}
|
|
@@ -41702,7 +41748,7 @@ const oq = /* @__PURE__ */ a((t, e) => {
|
|
|
41702
41748
|
return !1;
|
|
41703
41749
|
if (e) {
|
|
41704
41750
|
let l = n.after(), u = t.tr.replaceWith(l, l, s.createAndFill());
|
|
41705
|
-
u.setSelection(
|
|
41751
|
+
u.setSelection(je.near(u.doc.resolve(l), 1)), e(u.scrollIntoView());
|
|
41706
41752
|
}
|
|
41707
41753
|
return !0;
|
|
41708
41754
|
}, "exitCode$1"), iq = /* @__PURE__ */ a((t, e) => {
|
|
@@ -41753,7 +41799,7 @@ function fR(t, e, n, r) {
|
|
|
41753
41799
|
}
|
|
41754
41800
|
return !0;
|
|
41755
41801
|
}
|
|
41756
|
-
let f = i.type.spec.isolating || r > 0 && u ? null :
|
|
41802
|
+
let f = i.type.spec.isolating || r > 0 && u ? null : je.findFrom(e, 1), p = f && f.$from.blockRange(f.$to), h = p && Ma(p);
|
|
41757
41803
|
if (h != null && h >= e.depth)
|
|
41758
41804
|
return n && n(t.tr.lift(p, h).scrollIntoView()), !0;
|
|
41759
41805
|
if (d && la(i, "start", !0) && la(o, "end")) {
|
|
@@ -42978,7 +43024,7 @@ a(Ei, "minMax");
|
|
|
42978
43024
|
function vR(t, e = null) {
|
|
42979
43025
|
if (!e)
|
|
42980
43026
|
return null;
|
|
42981
|
-
const n =
|
|
43027
|
+
const n = je.atStart(t), r = je.atEnd(t);
|
|
42982
43028
|
if (e === "start" || e === !0)
|
|
42983
43029
|
return n;
|
|
42984
43030
|
if (e === "end")
|
|
@@ -43086,7 +43132,7 @@ function Jq(t, e, n) {
|
|
|
43086
43132
|
let s = 0;
|
|
43087
43133
|
i.forEach((l, u, d, f) => {
|
|
43088
43134
|
s === 0 && (s = f);
|
|
43089
|
-
}), t.setSelection(
|
|
43135
|
+
}), t.setSelection(je.near(t.doc.resolve(s), n));
|
|
43090
43136
|
}
|
|
43091
43137
|
a(Jq, "selectionToInsertionEnd");
|
|
43092
43138
|
const Xq = /* @__PURE__ */ a((t) => !("type" in t), "isFragment"), Qq = /* @__PURE__ */ a((t, e, n) => ({ tr: r, dispatch: o, editor: i }) => {
|
|
@@ -43866,7 +43912,7 @@ const eG = an.create({
|
|
|
43866
43912
|
() => s.undoInputRule(),
|
|
43867
43913
|
// maybe convert first text block node to default node
|
|
43868
43914
|
() => s.command(({ tr: l }) => {
|
|
43869
|
-
const { selection: u, doc: d } = l, { empty: f, $anchor: p } = u, { pos: h, parent: m } = p, g = p.parent.isTextblock && h > 0 ? l.doc.resolve(h - 1) : p, b = g.parent.type.spec.isolating, y = p.pos - p.parentOffset, x = b && g.parent.childCount === 1 ? y === p.pos :
|
|
43915
|
+
const { selection: u, doc: d } = l, { empty: f, $anchor: p } = u, { pos: h, parent: m } = p, g = p.parent.isTextblock && h > 0 ? l.doc.resolve(h - 1) : p, b = g.parent.type.spec.isolating, y = p.pos - p.parentOffset, x = b && g.parent.childCount === 1 ? y === p.pos : je.atStart(d).from === h;
|
|
43870
43916
|
return !f || !m.type.isTextblock || m.textContent.length || !x || x && p.parent.type.name === "paragraph" ? !1 : s.clearNodes();
|
|
43871
43917
|
}),
|
|
43872
43918
|
() => s.deleteSelection(),
|
|
@@ -43919,7 +43965,7 @@ const eG = an.create({
|
|
|
43919
43965
|
const r = t.some((b) => b.docChanged) && !e.doc.eq(n.doc), o = t.some((b) => b.getMeta("preventClearDocument"));
|
|
43920
43966
|
if (!r || o)
|
|
43921
43967
|
return;
|
|
43922
|
-
const { empty: i, from: s, to: l } = e.selection, u =
|
|
43968
|
+
const { empty: i, from: s, to: l } = e.selection, u = je.atStart(e.doc).from, d = je.atEnd(e.doc).to;
|
|
43923
43969
|
if (i || !(s === u && l === d) || !Zy(n.doc))
|
|
43924
43970
|
return;
|
|
43925
43971
|
const h = n.tr, m = fp({
|
|
@@ -46271,8 +46317,8 @@ a(C0, "EditorStateManager");
|
|
|
46271
46317
|
let rg = C0;
|
|
46272
46318
|
function tK(t) {
|
|
46273
46319
|
var e;
|
|
46274
|
-
const [n] =
|
|
46275
|
-
return
|
|
46320
|
+
const [n] = Ve(() => new rg(t.editor)), r = eK.useSyncExternalStoreWithSelector(n.subscribe, n.getSnapshot, n.getServerSnapshot, t.selector, (e = t.equalityFn) !== null && e !== void 0 ? e : XG);
|
|
46321
|
+
return ze(() => n.watch(t.editor), [t.editor, n]), TS(r), r;
|
|
46276
46322
|
}
|
|
46277
46323
|
a(tK, "useEditorState");
|
|
46278
46324
|
const eS = process.env.NODE_ENV !== "production", og = typeof window > "u", nK = og || !!(typeof window < "u" && window.next), S0 = class S0 {
|
|
@@ -46411,8 +46457,8 @@ let ig = S0;
|
|
|
46411
46457
|
function rK(t = {}, e = []) {
|
|
46412
46458
|
const n = pr(t);
|
|
46413
46459
|
n.current = t;
|
|
46414
|
-
const [r] =
|
|
46415
|
-
return TS(o),
|
|
46460
|
+
const [r] = Ve(() => new ig(n)), o = bp.useSyncExternalStore(r.subscribe, r.getEditor, r.getServerSnapshot);
|
|
46461
|
+
return TS(o), ze(r.onRender(e)), tK({
|
|
46416
46462
|
editor: o,
|
|
46417
46463
|
selector: /* @__PURE__ */ a(({ transactionNumber: i }) => t.shouldRerenderOnTransaction === !1 ? null : t.immediatelyRender && i === 0 ? 0 : i + 1, "selector")
|
|
46418
46464
|
}), o;
|
|
@@ -46717,7 +46763,7 @@ const aK = /^\s*>\s$/, lK = Mn.create({
|
|
|
46717
46763
|
if (!i || o.parent.type !== this.type || !(o.parentOffset === o.parent.nodeSize - 2))
|
|
46718
46764
|
return !1;
|
|
46719
46765
|
const l = o.after();
|
|
46720
|
-
return l === void 0 ? !1 : r.nodeAt(l) ? t.commands.command(({ tr: d }) => (d.setSelection(
|
|
46766
|
+
return l === void 0 ? !1 : r.nodeAt(l) ? t.commands.command(({ tr: d }) => (d.setSelection(je.near(r.resolve(l))), !0)) : t.commands.exitCode();
|
|
46721
46767
|
}, "ArrowDown")
|
|
46722
46768
|
};
|
|
46723
46769
|
},
|
|
@@ -46861,7 +46907,7 @@ const EK = an.create({
|
|
|
46861
46907
|
wK(this.options)
|
|
46862
46908
|
];
|
|
46863
46909
|
}
|
|
46864
|
-
}), Er = class Er extends
|
|
46910
|
+
}), Er = class Er extends je {
|
|
46865
46911
|
/**
|
|
46866
46912
|
Create a gap cursor.
|
|
46867
46913
|
*/
|
|
@@ -46870,7 +46916,7 @@ const EK = an.create({
|
|
|
46870
46916
|
}
|
|
46871
46917
|
map(e, n) {
|
|
46872
46918
|
let r = e.resolve(n.map(this.head));
|
|
46873
|
-
return Er.valid(r) ? new Er(r) :
|
|
46919
|
+
return Er.valid(r) ? new Er(r) : je.near(r);
|
|
46874
46920
|
}
|
|
46875
46921
|
content() {
|
|
46876
46922
|
return ge.empty;
|
|
@@ -46950,7 +46996,7 @@ a(Er, "GapCursor");
|
|
|
46950
46996
|
let ln = Er;
|
|
46951
46997
|
ln.prototype.visible = !1;
|
|
46952
46998
|
ln.findFrom = ln.findGapCursorFrom;
|
|
46953
|
-
|
|
46999
|
+
je.jsonID("gapcursor", ln);
|
|
46954
47000
|
const mf = class mf {
|
|
46955
47001
|
constructor(e) {
|
|
46956
47002
|
this.pos = e;
|
|
@@ -46960,7 +47006,7 @@ const mf = class mf {
|
|
|
46960
47006
|
}
|
|
46961
47007
|
resolve(e) {
|
|
46962
47008
|
let n = e.resolve(this.pos);
|
|
46963
|
-
return ln.valid(n) ? new ln(n) :
|
|
47009
|
+
return ln.valid(n) ? new ln(n) : je.near(n);
|
|
46964
47010
|
}
|
|
46965
47011
|
};
|
|
46966
47012
|
a(mf, "GapBookmark");
|
|
@@ -48253,7 +48299,7 @@ var UR = /* @__PURE__ */ a(function(t) {
|
|
|
48253
48299
|
return t;
|
|
48254
48300
|
}, "useFormGroupContext"), VQ = /* @__PURE__ */ a(function(t) {
|
|
48255
48301
|
var e = t.inputProps, n = t.isArrayInput, r = t.fieldArrayInputControl, o = e.defaultValue, i = e.source, s = e.disabled, l = oM(i), u = UR(e), d = cn(), f = d.getValues, p = d.resetField, h = d.formState, m = d.reset, g = Au(u, l), b = Au(f(), l), y = h.dirtyFields, x = Object.keys(y).includes(l);
|
|
48256
|
-
|
|
48302
|
+
ze(function() {
|
|
48257
48303
|
if (!(o == null || b != null || // When the input is disabled, its value may always be undefined, no matter the default value.
|
|
48258
48304
|
// This prevents from trying to reset the value indefinitely.
|
|
48259
48305
|
s || // We check strictly for undefined to avoid setting default value
|
|
@@ -48494,7 +48540,7 @@ var XQ = /* @__PURE__ */ a(function(t) {
|
|
|
48494
48540
|
return t === "" ? null : t;
|
|
48495
48541
|
}, "defaultParse"), oZ = /* @__PURE__ */ a(function(t) {
|
|
48496
48542
|
var e = t.defaultValue, n = t.format, r = n === void 0 ? nZ : n, o = t.id, i = t.isRequired, s = t.name, l = t.onBlur, u = t.onChange, d = t.parse, f = d === void 0 ? rZ : d, p = t.source, h = t.validate, m = tZ(t, ["defaultValue", "format", "id", "isRequired", "name", "onBlur", "onChange", "parse", "source", "validate"]), g = oM(p), b = s || g, y = zQ(), x = jQ(), T = UR(), E = Th(f), w = IM();
|
|
48497
|
-
!b && process.env.NODE_ENV === "development" && console.warn("Input components require either a source or a name prop."),
|
|
48543
|
+
!b && process.env.NODE_ENV === "development" && console.warn("Input components require either a source or a name prop."), ze(function() {
|
|
48498
48544
|
if (!(!x || y == null))
|
|
48499
48545
|
return x.registerField(g, y), function() {
|
|
48500
48546
|
x.unregisterField(g, y);
|
|
@@ -48521,8 +48567,8 @@ var XQ = /* @__PURE__ */ a(function(t) {
|
|
|
48521
48567
|
A[D] = arguments[D];
|
|
48522
48568
|
R.onBlur(), l && l.apply(void 0, A);
|
|
48523
48569
|
}), M = Th(function() {
|
|
48524
|
-
for (var A, D, j, B, z, I = [],
|
|
48525
|
-
I[
|
|
48570
|
+
for (var A, D, j, B, z, I = [], H = 0; H < arguments.length; H++)
|
|
48571
|
+
I[H] = arguments[H];
|
|
48526
48572
|
var L = t.type === "checkbox" && ((D = (A = I[0]) === null || A === void 0 ? void 0 : A.target) === null || D === void 0 ? void 0 : D.value) === "on" ? I[0].target.checked : (z = (B = (j = I[0]) === null || j === void 0 ? void 0 : j.target) === null || B === void 0 ? void 0 : B.value) !== null && z !== void 0 ? z : I[0];
|
|
48527
48573
|
R.onChange(E ? E(L) : L), u && u.apply(void 0, I);
|
|
48528
48574
|
}), P = ui(ui({}, R), { value: r ? r(R.value) : R.value, onBlur: _, onChange: M });
|
|
@@ -49388,8 +49434,8 @@ fM = Sv.default = (0, VZ.default)(/* @__PURE__ */ (0, WZ.jsx)("path", {
|
|
|
49388
49434
|
d: "M9.4 16.6 4.8 12l4.6-4.6L8 6l-6 6 6 6zm5.2 0 4.6-4.6-4.6-4.6L16 6l6 6-6 6z"
|
|
49389
49435
|
}), "Code");
|
|
49390
49436
|
var pM = Pt(void 0), Hr = /* @__PURE__ */ a(function() {
|
|
49391
|
-
var t =
|
|
49392
|
-
return
|
|
49437
|
+
var t = Ve(!1), e = t[0], n = t[1], r = Xe(pM);
|
|
49438
|
+
return ze(function() {
|
|
49393
49439
|
var o = /* @__PURE__ */ a(function() {
|
|
49394
49440
|
n(!0);
|
|
49395
49441
|
}, "onReady");
|
|
@@ -49406,7 +49452,7 @@ var pM = Pt(void 0), Hr = /* @__PURE__ */ a(function() {
|
|
|
49406
49452
|
return t;
|
|
49407
49453
|
}, dg.apply(this, arguments);
|
|
49408
49454
|
}, HZ = /* @__PURE__ */ a(function(t) {
|
|
49409
|
-
var e = Hr(), n = sr(), r =
|
|
49455
|
+
var e = Hr(), n = sr(), r = Ve([]), o = r[0], i = r[1], s = n("ra.tiptap.bold", {
|
|
49410
49456
|
_: "Bold"
|
|
49411
49457
|
}), l = n("ra.tiptap.italic", {
|
|
49412
49458
|
_: "Italic"
|
|
@@ -49417,7 +49463,7 @@ var pM = Pt(void 0), Hr = /* @__PURE__ */ a(function() {
|
|
|
49417
49463
|
}), f = n("ra.tiptap.code", {
|
|
49418
49464
|
_: "Code"
|
|
49419
49465
|
});
|
|
49420
|
-
|
|
49466
|
+
ze(function() {
|
|
49421
49467
|
var h = /* @__PURE__ */ a(function() {
|
|
49422
49468
|
i(function() {
|
|
49423
49469
|
return vS.reduce(function(m, g) {
|
|
@@ -49509,13 +49555,13 @@ var fg = function() {
|
|
|
49509
49555
|
_: "Bulleted list"
|
|
49510
49556
|
}), o = n("ra.tiptap.list_numbered", {
|
|
49511
49557
|
_: "Numbered list"
|
|
49512
|
-
}), i =
|
|
49558
|
+
}), i = Ve(), s = i[0], l = i[1], u = /* @__PURE__ */ a(function(d, f) {
|
|
49513
49559
|
xS.forEach(function(p) {
|
|
49514
49560
|
var h = e && e.isActive(p) && f !== p, m = e && !e.isActive(p) && f === p;
|
|
49515
49561
|
(h || m) && ZZ[p](e);
|
|
49516
49562
|
});
|
|
49517
49563
|
}, "handleChange");
|
|
49518
|
-
return
|
|
49564
|
+
return ze(function() {
|
|
49519
49565
|
var d = /* @__PURE__ */ a(function() {
|
|
49520
49566
|
l(function() {
|
|
49521
49567
|
return xS.reduce(function(f, p) {
|
|
@@ -49588,8 +49634,8 @@ var pg = function() {
|
|
|
49588
49634
|
return t;
|
|
49589
49635
|
}, pg.apply(this, arguments);
|
|
49590
49636
|
}, fee = /* @__PURE__ */ a(function(t) {
|
|
49591
|
-
var e = Hr(), n = sr(), r =
|
|
49592
|
-
|
|
49637
|
+
var e = Hr(), n = sr(), r = Ve("left"), o = r[0], i = r[1], s = n("ra.tiptap.align_left", { _: "Align left" }), l = n("ra.tiptap.align_right", { _: "Align right" }), u = n("ra.tiptap.align_center", { _: "Center" }), d = n("ra.tiptap.align_justify", { _: "Justify" });
|
|
49638
|
+
ze(function() {
|
|
49593
49639
|
var p = /* @__PURE__ */ a(function() {
|
|
49594
49640
|
i(function(h) {
|
|
49595
49641
|
return pee.reduce(function(m, g) {
|
|
@@ -49650,8 +49696,8 @@ xM = Mv.default = (0, mee.default)(/* @__PURE__ */ (0, gee.jsx)("path", {
|
|
|
49650
49696
|
d: "M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M8 13h8v-2H8zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5"
|
|
49651
49697
|
}), "InsertLink");
|
|
49652
49698
|
var bee = /* @__PURE__ */ a(function() {
|
|
49653
|
-
var t = Hr(), e =
|
|
49654
|
-
return
|
|
49699
|
+
var t = Hr(), e = Ve(t ? t.state.doc.textBetween(t.state.selection.from, t.state.selection.to) : null), n = e[0], r = e[1];
|
|
49700
|
+
return ze(function() {
|
|
49655
49701
|
var o = /* @__PURE__ */ a(function() {
|
|
49656
49702
|
r(t ? t.state.doc.textBetween(t.state.selection.from, t.state.selection.to) : null);
|
|
49657
49703
|
}, "handleSelectionChange");
|
|
@@ -49698,10 +49744,10 @@ var mg = function() {
|
|
|
49698
49744
|
return t;
|
|
49699
49745
|
}, mg.apply(this, arguments);
|
|
49700
49746
|
}, See = /* @__PURE__ */ a(function(t) {
|
|
49701
|
-
var e = Hr(), n = sr(), r =
|
|
49747
|
+
var e = Hr(), n = sr(), r = Ve(!1), o = r[0], i = r[1], s = n("ra.tiptap.blockquote", {
|
|
49702
49748
|
_: "Blockquote"
|
|
49703
49749
|
});
|
|
49704
|
-
return
|
|
49750
|
+
return ze(function() {
|
|
49705
49751
|
var l = /* @__PURE__ */ a(function() {
|
|
49706
49752
|
i(e && e.isActive("blockquote"));
|
|
49707
49753
|
}, "handleUpdate");
|
|
@@ -49743,7 +49789,7 @@ var gg = function() {
|
|
|
49743
49789
|
C.createElement(SM, { fontSize: "inherit" })
|
|
49744
49790
|
);
|
|
49745
49791
|
}, "ClearButtons"), kee = /* @__PURE__ */ a(function(t) {
|
|
49746
|
-
var e, n = sr(), r = Hr(), o =
|
|
49792
|
+
var e, n = sr(), r = Hr(), o = Ve(null), i = o[0], s = o[1], l = t.size, u = Ve(gu[0]), d = u[0], f = u[1], p = /* @__PURE__ */ a(function(g, b) {
|
|
49747
49793
|
s(null);
|
|
49748
49794
|
var y = gu[b];
|
|
49749
49795
|
y.value === "paragraph" ? r.chain().focus().setParagraph().run() : y.value === "heading" && r.chain().focus().setHeading({ level: y.level }).run();
|
|
@@ -49752,7 +49798,7 @@ var gg = function() {
|
|
|
49752
49798
|
}, "handleClickListItem"), m = /* @__PURE__ */ a(function(g) {
|
|
49753
49799
|
s(null);
|
|
49754
49800
|
}, "handleClose");
|
|
49755
|
-
return
|
|
49801
|
+
return ze(function() {
|
|
49756
49802
|
var g = /* @__PURE__ */ a(function() {
|
|
49757
49803
|
f(function(b) {
|
|
49758
49804
|
return gu.reduce(function(y, x) {
|
|
@@ -50058,14 +50104,14 @@ var Bee = /* @__PURE__ */ a(function(t) {
|
|
|
50058
50104
|
}, Sr.apply(this, arguments);
|
|
50059
50105
|
}, Kee = /* @__PURE__ */ a(function(t) {
|
|
50060
50106
|
var e, n = t.className, r = t.defaultValue, o = r === void 0 ? "" : r, i = t.disabled, s = i === void 0 ? !1 : i, l = t.editorOptions, u = l === void 0 ? Yee : l, d = t.fullWidth, f = t.helperText, p = t.label, h = t.readOnly, m = h === void 0 ? !1 : h, g = t.source, b = t.sx, y = t.toolbar, x = HR(t), T = oZ(Sr(Sr({}, t), { source: g, defaultValue: o })), E = T.id, w = T.field, S = T.isRequired, O = T.fieldState, R = T.formState.isSubmitted, $ = rK(Sr(Sr({}, u), { editable: !s && !m, content: w.value, editorProps: Sr(Sr({}, u == null ? void 0 : u.editorProps), { attributes: Sr(Sr({}, (e = u == null ? void 0 : u.editorProps) === null || e === void 0 ? void 0 : e.attributes), { id: E }) }) }), [s, u, m, E]), N = O.error, _ = O.invalid, M = O.isTouched;
|
|
50061
|
-
return
|
|
50107
|
+
return ze(function() {
|
|
50062
50108
|
if ($) {
|
|
50063
50109
|
var P = $.state.selection, A = P.from, D = P.to;
|
|
50064
50110
|
$.commands.setContent(w.value, !1, {
|
|
50065
50111
|
preserveWhitespace: !0
|
|
50066
50112
|
}), $.commands.setTextSelection({ from: A, to: D });
|
|
50067
50113
|
}
|
|
50068
|
-
}, [$, w.value]),
|
|
50114
|
+
}, [$, w.value]), ze(function() {
|
|
50069
50115
|
if ($) {
|
|
50070
50116
|
var P = /* @__PURE__ */ a(function() {
|
|
50071
50117
|
if ($.isEmpty) {
|
|
@@ -50205,12 +50251,12 @@ const Ane = /* @__PURE__ */ a((t) => {
|
|
|
50205
50251
|
setPagination: B,
|
|
50206
50252
|
setSort: z,
|
|
50207
50253
|
shouldUnregister: I,
|
|
50208
|
-
source:
|
|
50254
|
+
source: H,
|
|
50209
50255
|
submitError: L,
|
|
50210
50256
|
subscription: G,
|
|
50211
50257
|
textAlign: ie,
|
|
50212
50258
|
translate: U,
|
|
50213
|
-
translateChoice:
|
|
50259
|
+
translateChoice: W,
|
|
50214
50260
|
validate: ee,
|
|
50215
50261
|
validateFields: Z,
|
|
50216
50262
|
value: J,
|
|
@@ -50425,7 +50471,7 @@ const Ane = /* @__PURE__ */ a((t) => {
|
|
|
50425
50471
|
);
|
|
50426
50472
|
}, "IntegerInput"), Ine = /* @__PURE__ */ a((t) => {
|
|
50427
50473
|
const { tipo: e, ...n } = t, { propsContenido: r, hidden: o } = xn(n), i = cn();
|
|
50428
|
-
|
|
50474
|
+
ze(() => {
|
|
50429
50475
|
r.value && i.setValue(t.source, r.value);
|
|
50430
50476
|
}, [r.value]);
|
|
50431
50477
|
const s = {
|