biblio-react 3.0.13 → 3.0.15
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 +272 -264
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@ var s = (t, e) => nx(t, "name", { value: e, configurable: !0 });
|
|
|
4
4
|
var sm = (t, e, n) => gN(t, typeof e != "symbol" ? e + "" : e, n);
|
|
5
5
|
import { jsx as b, jsxs as Y, Fragment as Jn } from "react/jsx-runtime";
|
|
6
6
|
import * as S from "react";
|
|
7
|
-
import St, { forwardRef as Kc, useContext as
|
|
7
|
+
import St, { forwardRef as Kc, useContext as rt, createElement as rx, isValidElement as wr, cloneElement as Yn, Children as bc, createContext as Yt, useState as Ae, useMemo as nt, useRef as en, useCallback as Le, useEffect as Ne, Fragment as Tr, useImperativeHandle as yN, memo as YO, useDebugValue as JO, useId as bN } from "react";
|
|
8
8
|
import { MenuItem as bo, ListItemIcon as Cs, ListItemText as ws, useMediaQuery as Ir, Typography as Sa, Box as Ie, useTheme as Yc, Card as $0, CardHeader as vN, Divider as SN, CardContent as XO, Stack as Jc, IconButton as Rn, Tooltip as Gr, createTheme as xN, ThemeProvider as CN, Chip as Ty, Menu as $a, alpha as wN, StyledEngineProvider as QO, CircularProgress as ZO, DialogTitle as Ey, Dialog as Vd, DialogContent as Oy, Collapse as TN, List as ek, Switch as EN, DialogActions as ox, Button as ix, Paper as tk, Table as ON, TableHead as kN, TableRow as sx, TableCell as Wi, Skeleton as Hi, TableBody as MN, ToggleButtonGroup as Lf, ToggleButton as Cn, ListItem as IN, ListItemButton as RN, FormHelperText as PN } from "@mui/material";
|
|
9
9
|
import { useTranslate as nn, useUserMenu as AN, useResourceDefinitions as L0, AppBar as NN, UserMenu as DN, Logout as $N, required as LN, TopToolbar as nk, ShowButton as FN, useNotify as Ff, useDataProvider as qo, useResourceContext as dt, useListContext as Ii, useRedirect as Uo, useUnselectAll as _N, ResourceDefinitionContext as rk, useStoreContext as BN, NumberField as zN, DateField as ax, TextField as Dl, ReferenceField as VN, useResourceDefinition as _f, useGetResourceLabel as Bf, ResourceContextProvider as xa, BulkActionsToolbar as ok, Button as Ln, useRecordContext as Nr, useInput as Xc, useGetList as ik, Labeled as F0, Confirm as zf, Form as rl, SaveButton as Qc, useGetOne as sk, useCreateController as jN, CreateContextProvider as WN, useDeleteWithConfirmController as HN, Toolbar as ak, ToolbarClasses as qN, useDelete as lk, useSaveContext as UN, Create as GN, Loading as Hs, useListController as KN, ListContextProvider as ck, List as uk, Filter as YN, SearchInput as dk, Pagination as JN, Edit as XN, useEditContext as QN, useSidebarState as pk, Menu as ZN, DashboardMenuItem as eD, MenuItemLink as fk, Layout as tD, FilterContext as nD, FilterButton as rD, sanitizeListRestProps as oD, useLogin as iD, TextInput as Fo, PasswordInput as hk, Show as sD, useShowContext as aD, useCreatePath as lD, useSplatPathBase as cD, getTabbedFormTabFullPath as Nu, TabbedFormTabs as mk, defaultTheme as gk, FormTab as uD, BooleanField as dD, ImageInput as pD, ImageField as fD, FileInput as hD, BooleanInput as mD, ReferenceInput as yk, AutocompleteInput as bk, useChoicesContext as vk, SelectInput as gD, ReferenceArrayInput as yD, AutocompleteArrayInput as bD, RadioButtonGroupInput as Sk, useRecordSelection as xk, ListActions as vD, Datagrid as SD, SelectAllButton as xD, ValidationError as CD, FieldTitle as Ck } from "react-admin";
|
|
10
10
|
import { Link as ky, useNavigate as Vf, useLocation as cr, Routes as wk, Route as Tk, useParams as Ek, matchPath as vc } from "react-router-dom";
|
|
@@ -2942,7 +2942,7 @@ var RL = /* @__PURE__ */ s(function(e) {
|
|
|
2942
2942
|
Zk.Provider;
|
|
2943
2943
|
var X0 = /* @__PURE__ */ s(function(e) {
|
|
2944
2944
|
return /* @__PURE__ */ Kc(function(n, r) {
|
|
2945
|
-
var o =
|
|
2945
|
+
var o = rt(Zk);
|
|
2946
2946
|
return e(n, o, r);
|
|
2947
2947
|
});
|
|
2948
2948
|
}, "withEmotionCache"), ru = /* @__PURE__ */ S.createContext({}), Q0 = {}.hasOwnProperty, Dy = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", PL = /* @__PURE__ */ s(function(e, n) {
|
|
@@ -4544,10 +4544,10 @@ function NF(t) {
|
|
|
4544
4544
|
else {
|
|
4545
4545
|
const ve = te.replace("%s", de).match(/\[([^\]]+)\]/);
|
|
4546
4546
|
if (ve) {
|
|
4547
|
-
const [je,
|
|
4548
|
-
|
|
4547
|
+
const [je, Ye] = ve[1].split("=");
|
|
4548
|
+
Ye || q.forEach((Re) => {
|
|
4549
4549
|
$.removeAttribute(je.replace(de, Re));
|
|
4550
|
-
}), $.setAttribute(je,
|
|
4550
|
+
}), $.setAttribute(je, Ye ? Ye.replace(/"|'/g, "") : "");
|
|
4551
4551
|
} else
|
|
4552
4552
|
$.setAttribute(te, de);
|
|
4553
4553
|
}
|
|
@@ -4579,14 +4579,14 @@ function NF(t) {
|
|
|
4579
4579
|
},
|
|
4580
4580
|
systemMode: me
|
|
4581
4581
|
}), [q, de, oe, J, xe, be, W, me, De.colorSchemeSelector]);
|
|
4582
|
-
let
|
|
4583
|
-
(k || G.cssVariables === !1 || V && _?.cssVarPrefix === X) && (
|
|
4582
|
+
let Ke = !0;
|
|
4583
|
+
(k || G.cssVariables === !1 || V && _?.cssVarPrefix === X) && (Ke = !1);
|
|
4584
4584
|
const Ce = /* @__PURE__ */ Y(S.Fragment, {
|
|
4585
4585
|
children: [/* @__PURE__ */ b(Tc, {
|
|
4586
4586
|
themeId: F ? e : void 0,
|
|
4587
4587
|
theme: De,
|
|
4588
4588
|
children: O
|
|
4589
|
-
}),
|
|
4589
|
+
}), Ke && /* @__PURE__ */ b(ev, {
|
|
4590
4590
|
styles: De.generateStyleSheets?.() || []
|
|
4591
4591
|
})]
|
|
4592
4592
|
});
|
|
@@ -9919,7 +9919,7 @@ process.env.NODE_ENV !== "production" && (hu.propTypes = {
|
|
|
9919
9919
|
sx: c.oneOfType([c.arrayOf(c.oneOfType([c.func, c.object, c.bool])), c.func, c.object])
|
|
9920
9920
|
});
|
|
9921
9921
|
const _M = Yt(), _a = /* @__PURE__ */ s(({ children: t }) => {
|
|
9922
|
-
const [e, n] = Ae(!1), [r, o] = Ae(""), i =
|
|
9922
|
+
const [e, n] = Ae(!1), [r, o] = Ae(""), i = nt(
|
|
9923
9923
|
() => ({
|
|
9924
9924
|
open: e,
|
|
9925
9925
|
mensaje: r,
|
|
@@ -9931,7 +9931,7 @@ const _M = Yt(), _a = /* @__PURE__ */ s(({ children: t }) => {
|
|
|
9931
9931
|
[e, r, n, o]
|
|
9932
9932
|
);
|
|
9933
9933
|
return /* @__PURE__ */ b(_M.Provider, { value: i, children: t });
|
|
9934
|
-
}, "ProgressProvider"), sl = /* @__PURE__ */ s(() =>
|
|
9934
|
+
}, "ProgressProvider"), sl = /* @__PURE__ */ s(() => rt(_M), "useFormProgress"), qy = Yt(), lB = /* @__PURE__ */ s((t, e) => {
|
|
9935
9935
|
for (let n = t.length - 1; n >= 0; n -= 1)
|
|
9936
9936
|
if (e(t[n], n))
|
|
9937
9937
|
return n;
|
|
@@ -9951,7 +9951,7 @@ const _M = Yt(), _a = /* @__PURE__ */ s(({ children: t }) => {
|
|
|
9951
9951
|
}
|
|
9952
9952
|
return null;
|
|
9953
9953
|
}, "getHideMatcher"), fC = /* @__PURE__ */ s(({ children: t, isolate: e = !1 }) => {
|
|
9954
|
-
const n =
|
|
9954
|
+
const n = rt(qy), [r, o] = Ae([]), [i, a] = Ae(null), l = r.length > 0, u = r[r.length - 1] || {}, d = nt(
|
|
9955
9955
|
() => ({
|
|
9956
9956
|
open: l,
|
|
9957
9957
|
props: u,
|
|
@@ -9975,7 +9975,7 @@ const _M = Yt(), _a = /* @__PURE__ */ s(({ children: t }) => {
|
|
|
9975
9975
|
[l, u, r, i]
|
|
9976
9976
|
);
|
|
9977
9977
|
return n && !e ? t : /* @__PURE__ */ b(qy.Provider, { value: d, children: t });
|
|
9978
|
-
}, "AsistenteProvider"), Ko = /* @__PURE__ */ s(() =>
|
|
9978
|
+
}, "AsistenteProvider"), Ko = /* @__PURE__ */ s(() => rt(qy), "useAsistente"), hC = !1, mC = "mui", BM = Yt(), gC = /* @__PURE__ */ s(({
|
|
9979
9979
|
hasCreate: t,
|
|
9980
9980
|
hasSeleccionMultiple: e,
|
|
9981
9981
|
chkSeleccion: n,
|
|
@@ -9999,7 +9999,7 @@ const _M = Yt(), _a = /* @__PURE__ */ s(({ children: t }) => {
|
|
|
9999
9999
|
Ne(() => {
|
|
10000
10000
|
!g && h === "pivot" && m("grilla");
|
|
10001
10001
|
}, [g, h]);
|
|
10002
|
-
const x =
|
|
10002
|
+
const x = nt(
|
|
10003
10003
|
() => ({
|
|
10004
10004
|
props: {
|
|
10005
10005
|
...p,
|
|
@@ -10037,7 +10037,7 @@ const _M = Yt(), _a = /* @__PURE__ */ s(({ children: t }) => {
|
|
|
10037
10037
|
]
|
|
10038
10038
|
);
|
|
10039
10039
|
return /* @__PURE__ */ b(BM.Provider, { value: x, children: a });
|
|
10040
|
-
}, "GrillaEtriekProvider"), Yo = /* @__PURE__ */ s(() =>
|
|
10040
|
+
}, "GrillaEtriekProvider"), Yo = /* @__PURE__ */ s(() => rt(BM), "useGrillaEtriek"), dB = /* @__PURE__ */ s((t, e, n, r, o) => ({
|
|
10041
10041
|
type: "RELOAD_CB",
|
|
10042
10042
|
payload: {
|
|
10043
10043
|
id: t,
|
|
@@ -10904,7 +10904,7 @@ const Gy = /* @__PURE__ */ s((t = "scope") => (yC += 1, `${t}-${yC}`), "createRe
|
|
|
10904
10904
|
},
|
|
10905
10905
|
[o, l]
|
|
10906
10906
|
);
|
|
10907
|
-
const d =
|
|
10907
|
+
const d = nt(
|
|
10908
10908
|
() => ({
|
|
10909
10909
|
estado: t.estado,
|
|
10910
10910
|
initialValues: t.initialValues,
|
|
@@ -10931,22 +10931,22 @@ const Gy = /* @__PURE__ */ s((t = "scope") => (yC += 1, `${t}-${yC}`), "createRe
|
|
|
10931
10931
|
]
|
|
10932
10932
|
);
|
|
10933
10933
|
return /* @__PURE__ */ b(vv.Provider, { value: d, children: e });
|
|
10934
|
-
}, "FichaProvider"), $t = /* @__PURE__ */ s(() =>
|
|
10935
|
-
const e =
|
|
10934
|
+
}, "FichaProvider"), $t = /* @__PURE__ */ s(() => rt(vv) || {}, "useFicha"), VM = /* @__PURE__ */ s((t) => {
|
|
10935
|
+
const e = rt(Mc);
|
|
10936
10936
|
return t?.id || e;
|
|
10937
10937
|
}, "useIdContext"), Jo = /* @__PURE__ */ s(() => {
|
|
10938
|
-
const t =
|
|
10939
|
-
return
|
|
10938
|
+
const t = rt(vv) || {};
|
|
10939
|
+
return rt(mu)?.reduxScope || t?.reduxScope;
|
|
10940
10940
|
}, "useReduxScope"), jn = /* @__PURE__ */ s((t) => {
|
|
10941
10941
|
const { source: e } = t, {
|
|
10942
10942
|
estado: n,
|
|
10943
10943
|
isLoading: r,
|
|
10944
10944
|
fichaProps: o = {},
|
|
10945
10945
|
propsContenidos: i = {}
|
|
10946
|
-
} = $t(), l =
|
|
10946
|
+
} = $t(), l = rt(mu) !== void 0, u = Jo(), d = z0((Ye) => bv(Ye.configInputs, e, u)), {
|
|
10947
10947
|
conts: p = []
|
|
10948
10948
|
//user = [],
|
|
10949
|
-
} =
|
|
10949
|
+
} = rt(An) || {}, {
|
|
10950
10950
|
hidden: f,
|
|
10951
10951
|
required: h,
|
|
10952
10952
|
disabled: m,
|
|
@@ -10992,10 +10992,10 @@ const Gy = /* @__PURE__ */ s((t = "scope") => (yC += 1, `${t}-${yC}`), "createRe
|
|
|
10992
10992
|
validate: ie,
|
|
10993
10993
|
required: be,
|
|
10994
10994
|
...xe
|
|
10995
|
-
} = ee, de = me || Q, He = oe || q, De = J || H, ue = x !== void 0 ? x : be !== void 0 ? be : h ? !0 : l || G === void 0 ? N : G, Tt = v !== void 0 ? v : le !== void 0 ? le : f ? !0 : K,
|
|
10996
|
-
const
|
|
10995
|
+
} = ee, de = me || Q, He = oe || q, De = J || H, ue = x !== void 0 ? x : be !== void 0 ? be : h ? !0 : l || G === void 0 ? N : G, Tt = v !== void 0 ? v : le !== void 0 ? le : f ? !0 : K, Ke = y !== void 0 ? y : W !== void 0 ? W : m ? !0 : X, Ce = nt(() => {
|
|
10996
|
+
const Ye = Array.isArray(k) ? k : [k], Re = Array.isArray(F) ? F : [F], mt = Array.isArray(ie) ? ie : [ie];
|
|
10997
10997
|
let lt = [
|
|
10998
|
-
...
|
|
10998
|
+
...Ye,
|
|
10999
10999
|
...Re,
|
|
11000
11000
|
...mt,
|
|
11001
11001
|
w
|
|
@@ -11008,19 +11008,19 @@ const Gy = /* @__PURE__ */ s((t = "scope") => (yC += 1, `${t}-${yC}`), "createRe
|
|
|
11008
11008
|
w,
|
|
11009
11009
|
ue
|
|
11010
11010
|
]), pe = Le(
|
|
11011
|
-
(
|
|
11012
|
-
de && de(Z, n,
|
|
11011
|
+
(Ye) => {
|
|
11012
|
+
de && de(Z, n, Ye);
|
|
11013
11013
|
},
|
|
11014
11014
|
[de, Z, n]
|
|
11015
11015
|
), te = Le(
|
|
11016
|
-
(
|
|
11016
|
+
(Ye) => He && He(Z, n, Ye),
|
|
11017
11017
|
[He, Z, n]
|
|
11018
11018
|
), ve = Le(
|
|
11019
|
-
(
|
|
11019
|
+
(Ye) => De && De(Z, n, Ye),
|
|
11020
11020
|
[De, Z, n]
|
|
11021
11021
|
);
|
|
11022
11022
|
return {
|
|
11023
|
-
propsContenido:
|
|
11023
|
+
propsContenido: nt(
|
|
11024
11024
|
() => ({
|
|
11025
11025
|
sx: {
|
|
11026
11026
|
mr: { xs: 0, md: 1 },
|
|
@@ -11038,7 +11038,7 @@ const Gy = /* @__PURE__ */ s((t = "scope") => (yC += 1, `${t}-${yC}`), "createRe
|
|
|
11038
11038
|
...L,
|
|
11039
11039
|
...j,
|
|
11040
11040
|
...xe,
|
|
11041
|
-
readOnly:
|
|
11041
|
+
readOnly: Ke,
|
|
11042
11042
|
...C ? { label: C } : { label: g || t.label },
|
|
11043
11043
|
isRequired: ue,
|
|
11044
11044
|
...E
|
|
@@ -11051,7 +11051,7 @@ const Gy = /* @__PURE__ */ s((t = "scope") => (yC += 1, `${t}-${yC}`), "createRe
|
|
|
11051
11051
|
L,
|
|
11052
11052
|
j,
|
|
11053
11053
|
xe,
|
|
11054
|
-
|
|
11054
|
+
Ke,
|
|
11055
11055
|
C,
|
|
11056
11056
|
g,
|
|
11057
11057
|
t.label,
|
|
@@ -11245,7 +11245,7 @@ const Gy = /* @__PURE__ */ s((t = "scope") => (yC += 1, `${t}-${yC}`), "createRe
|
|
|
11245
11245
|
const n = t?.hiddenactions || [];
|
|
11246
11246
|
return !e || n.length === 0 ? !1 : n.some((r) => r === e);
|
|
11247
11247
|
}, "estaAccionOculta"), yi = /* @__PURE__ */ s((t, e) => HM(t, e?.perbot) && !Ic(t, e?.key), "esAccionVisible"), qM = /* @__PURE__ */ s(() => {
|
|
11248
|
-
const t =
|
|
11248
|
+
const t = rt(WM), e = Vf();
|
|
11249
11249
|
return /* @__PURE__ */ s((r, o = {}) => {
|
|
11250
11250
|
const { opcion: i, estado: a, ...l } = o, u = `form_${String(r)}`;
|
|
11251
11251
|
let d = u;
|
|
@@ -11348,7 +11348,7 @@ const Gy = /* @__PURE__ */ s((t = "scope") => (yC += 1, `${t}-${yC}`), "createRe
|
|
|
11348
11348
|
...l,
|
|
11349
11349
|
[i]: a
|
|
11350
11350
|
}));
|
|
11351
|
-
}, "setVisibilidad"), o =
|
|
11351
|
+
}, "setVisibilidad"), o = nt(
|
|
11352
11352
|
() => ({
|
|
11353
11353
|
hidden: e,
|
|
11354
11354
|
setHidden: r
|
|
@@ -11356,13 +11356,13 @@ const Gy = /* @__PURE__ */ s((t = "scope") => (yC += 1, `${t}-${yC}`), "createRe
|
|
|
11356
11356
|
[e]
|
|
11357
11357
|
);
|
|
11358
11358
|
return /* @__PURE__ */ b(QM.Provider, { value: o, children: t });
|
|
11359
|
-
}, "FormToolbarProvider"), eI = /* @__PURE__ */ s(() =>
|
|
11359
|
+
}, "FormToolbarProvider"), eI = /* @__PURE__ */ s(() => rt(QM), "useFormToolbar"), tI = /* @__PURE__ */ s((t) => {
|
|
11360
11360
|
const e = dt(t), n = V0();
|
|
11361
11361
|
return Le(() => {
|
|
11362
11362
|
n.refetchQueries({ queryKey: [e], type: "active" });
|
|
11363
11363
|
}, [n, e]);
|
|
11364
11364
|
}, "useResourceRefresh"), gu = /* @__PURE__ */ s(() => ({}), "useDefaultHook"), ch = /* @__PURE__ */ s((t) => {
|
|
11365
|
-
const e = Ii(), n = _r(), r = Uo(), o = Vf(), i = sl(), a = dt(t), l = tI(t), u = _N(a), d = Ko(), p = Yo(), f = nn(), h = qM(), [m] = xv(a), g =
|
|
11365
|
+
const e = Ii(), n = _r(), r = Uo(), o = Vf(), i = sl(), a = dt(t), l = tI(t), u = _N(a), d = Ko(), p = Yo(), f = nn(), h = qM(), [m] = xv(a), g = rt(rk), y = L0(), v = `lista_${a.split("_")[1]}`, { getItem: x } = BN(), O = x(`${v}.selectedIds`), C = x(`${v}.selectedDetails`), w = /* @__PURE__ */ s((T) => {
|
|
11366
11366
|
const E = T?.name;
|
|
11367
11367
|
!E || y?.[E] || g?.register?.(T);
|
|
11368
11368
|
}, "registerResource");
|
|
@@ -11392,7 +11392,7 @@ const Gy = /* @__PURE__ */ s((t = "scope") => (yC += 1, `${t}-${yC}`), "createRe
|
|
|
11392
11392
|
propsContenidos: m,
|
|
11393
11393
|
setPropsContenidos: g,
|
|
11394
11394
|
fichaProps: { etrs: y = {} } = {}
|
|
11395
|
-
} = $t() || {}, v =
|
|
11395
|
+
} = $t() || {}, v = rt(mu) || {}, [x] = xv(f);
|
|
11396
11396
|
return {
|
|
11397
11397
|
ajax: x,
|
|
11398
11398
|
notify: u,
|
|
@@ -11421,11 +11421,11 @@ const Gy = /* @__PURE__ */ s((t = "scope") => (yC += 1, `${t}-${yC}`), "createRe
|
|
|
11421
11421
|
}, [r, !!o]);
|
|
11422
11422
|
const a = /* @__PURE__ */ s(() => o || Cl.get(r)?.form || null, "getForm"), l = /* @__PURE__ */ s((...L) => a()?.trigger?.(...L), "trigger"), u = /* @__PURE__ */ s((L) => (R, D) => {
|
|
11423
11423
|
L(R, D), setTimeout(() => l(R), 0);
|
|
11424
|
-
}, "withRevalidate"), d = eI(), p = UM(), f = GM(), h = KM(), m = YM(), g = JM(), y = XM(), v = sl(), x = _r(), O = Uo(), C = Vf(), w = Ko(), T = qM(), E =
|
|
11424
|
+
}, "withRevalidate"), d = eI(), p = UM(), f = GM(), h = KM(), m = YM(), g = JM(), y = XM(), v = sl(), x = _r(), O = Uo(), C = Vf(), w = Ko(), T = qM(), E = rt(rk), M = L0(), {
|
|
11425
11425
|
propsContenidos: A,
|
|
11426
11426
|
setPropsContenidos: I,
|
|
11427
11427
|
fichaProps: { etrs: $ = {} } = {}
|
|
11428
|
-
} = $t() || {}, P =
|
|
11428
|
+
} = $t() || {}, P = rt(mu) || {}, [k] = xv(e);
|
|
11429
11429
|
return {
|
|
11430
11430
|
// Devuelve la instancia RHF actual
|
|
11431
11431
|
get form() {
|
|
@@ -11458,7 +11458,7 @@ const Gy = /* @__PURE__ */ s((t = "scope") => (yC += 1, `${t}-${yC}`), "createRe
|
|
|
11458
11458
|
hidden: !1,
|
|
11459
11459
|
isActive: !0,
|
|
11460
11460
|
hasBeenActive: !0
|
|
11461
|
-
}), D4 = /* @__PURE__ */ s(({ value: t, children: e }) => /* @__PURE__ */ b(nI.Provider, { value: t, children: e }), "TabVisibilityProvider"), uh = /* @__PURE__ */ s(() =>
|
|
11461
|
+
}), D4 = /* @__PURE__ */ s(({ value: t, children: e }) => /* @__PURE__ */ b(nI.Provider, { value: t, children: e }), "TabVisibilityProvider"), uh = /* @__PURE__ */ s(() => rt(nI), "useTabVisibility"), rI = /* @__PURE__ */ s((t) => {
|
|
11462
11462
|
const { estado: e, isLoading: n, fichaProps: r = {} } = $t(), { [t.source]: o = {} } = r, { hidden: i = !1, ...a } = t, {
|
|
11463
11463
|
hidden: l,
|
|
11464
11464
|
useContenido: u = gu,
|
|
@@ -13519,7 +13519,7 @@ function w3(t) {
|
|
|
13519
13519
|
E[w] = ie, k[w] = ie - _;
|
|
13520
13520
|
}
|
|
13521
13521
|
if (l) {
|
|
13522
|
-
var be, xe = w === "x" ? Xn : Qn, de = w === "x" ? Pr : Ar, He = E[T], De = T === "y" ? "height" : "width", ue = He + v[xe], Tt = He - v[de],
|
|
13522
|
+
var be, xe = w === "x" ? Xn : Qn, de = w === "x" ? Pr : Ar, He = E[T], De = T === "y" ? "height" : "width", ue = He + v[xe], Tt = He - v[de], Ke = [Xn, Qn].indexOf(x) !== -1, Ce = (be = P?.[T]) != null ? be : 0, pe = Ke ? ue : He - M[De] - A[De] - Ce + $.altAxis, te = Ke ? He + M[De] + A[De] - Ce - $.altAxis : Tt, ve = m && Ke ? Gz(pe, He, te) : Kl(m ? pe : ue, He, m ? te : Tt);
|
|
13523
13523
|
E[T] = ve, k[T] = ve - He;
|
|
13524
13524
|
}
|
|
13525
13525
|
e.modifiersData[r] = k;
|
|
@@ -15764,17 +15764,17 @@ const mh = /* @__PURE__ */ s((t, e) => {
|
|
|
15764
15764
|
const ue = /* @__PURE__ */ s((Re) => {
|
|
15765
15765
|
Z.current && Re.currentTarget === Re.target && Z.current.focus(), k && k(Re);
|
|
15766
15766
|
}, "handleClick");
|
|
15767
|
-
let Tt = O,
|
|
15768
|
-
A && Tt === "input" && (V ? (process.env.NODE_ENV !== "production" && (M || E) && console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."),
|
|
15767
|
+
let Tt = O, Ke = C;
|
|
15768
|
+
A && Tt === "input" && (V ? (process.env.NODE_ENV !== "production" && (M || E) && console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."), Ke = {
|
|
15769
15769
|
type: void 0,
|
|
15770
15770
|
minRows: V,
|
|
15771
15771
|
maxRows: V,
|
|
15772
|
-
...
|
|
15773
|
-
}) :
|
|
15772
|
+
...Ke
|
|
15773
|
+
}) : Ke = {
|
|
15774
15774
|
type: void 0,
|
|
15775
15775
|
maxRows: E,
|
|
15776
15776
|
minRows: M,
|
|
15777
|
-
...
|
|
15777
|
+
...Ke
|
|
15778
15778
|
}, Tt = PI);
|
|
15779
15779
|
const Ce = /* @__PURE__ */ s((Re) => {
|
|
15780
15780
|
xe(Re.animationName === "mui-auto-fill-cancel" ? Z.current : {
|
|
@@ -15798,9 +15798,9 @@ const mh = /* @__PURE__ */ s((t, e) => {
|
|
|
15798
15798
|
size: oe.size,
|
|
15799
15799
|
startAdornment: j,
|
|
15800
15800
|
type: K
|
|
15801
|
-
}, te = fV(pe), ve = G.root || d.Root || yh, je = F.root || p.root || {},
|
|
15802
|
-
return
|
|
15803
|
-
...
|
|
15801
|
+
}, te = fV(pe), ve = G.root || d.Root || yh, je = F.root || p.root || {}, Ye = G.input || d.Input || bh;
|
|
15802
|
+
return Ke = {
|
|
15803
|
+
...Ke,
|
|
15804
15804
|
...F.input ?? p.input
|
|
15805
15805
|
}, /* @__PURE__ */ Y(S.Fragment, {
|
|
15806
15806
|
children: [!m && typeof NC == "function" && // For Emotion/Styled-components, InputGlobalStyles will be a function
|
|
@@ -15819,7 +15819,7 @@ const mh = /* @__PURE__ */ s((t, e) => {
|
|
|
15819
15819
|
className: ae(te.root, je.className, l, _ && "MuiInputBase-readOnly"),
|
|
15820
15820
|
children: [j, /* @__PURE__ */ b(hh.Provider, {
|
|
15821
15821
|
value: null,
|
|
15822
|
-
children: /* @__PURE__ */ b(
|
|
15822
|
+
children: /* @__PURE__ */ b(Ye, {
|
|
15823
15823
|
"aria-invalid": oe.error,
|
|
15824
15824
|
"aria-describedby": o,
|
|
15825
15825
|
autoComplete: i,
|
|
@@ -15837,16 +15837,16 @@ const mh = /* @__PURE__ */ s((t, e) => {
|
|
|
15837
15837
|
onKeyDown: L,
|
|
15838
15838
|
onKeyUp: R,
|
|
15839
15839
|
type: K,
|
|
15840
|
-
...
|
|
15841
|
-
...!Fa(
|
|
15840
|
+
...Ke,
|
|
15841
|
+
...!Fa(Ye) && {
|
|
15842
15842
|
as: Tt,
|
|
15843
15843
|
ownerState: {
|
|
15844
15844
|
...pe,
|
|
15845
|
-
...
|
|
15845
|
+
...Ke.ownerState
|
|
15846
15846
|
}
|
|
15847
15847
|
},
|
|
15848
15848
|
ref: le,
|
|
15849
|
-
className: ae(te.input,
|
|
15849
|
+
className: ae(te.input, Ke.className, _ && "MuiInputBase-readOnly"),
|
|
15850
15850
|
onBlur: He,
|
|
15851
15851
|
onChange: De,
|
|
15852
15852
|
onFocus: de
|
|
@@ -21806,12 +21806,12 @@ const Gj = /* @__PURE__ */ s((t) => {
|
|
|
21806
21806
|
}), w(Ee));
|
|
21807
21807
|
}, "handleBlur");
|
|
21808
21808
|
delete B["aria-invalid"];
|
|
21809
|
-
let
|
|
21809
|
+
let Ke, Ce;
|
|
21810
21810
|
const pe = [];
|
|
21811
21811
|
let te = !1, ve = !1;
|
|
21812
21812
|
(sp({
|
|
21813
21813
|
value: F
|
|
21814
|
-
}) || h) && (N ?
|
|
21814
|
+
}) || h) && (N ? Ke = N(F) : te = !0);
|
|
21815
21815
|
const je = de.map((Ee) => {
|
|
21816
21816
|
if (!/* @__PURE__ */ S.isValidElement(Ee))
|
|
21817
21817
|
return null;
|
|
@@ -21844,9 +21844,9 @@ const Gj = /* @__PURE__ */ s((t) => {
|
|
|
21844
21844
|
console.warn([`MUI: You have provided an out-of-range value \`${F}\` for the select ${C ? `(name="${C}") ` : ""}component.`, "Consider providing a value that matches one of the available options or ''.", `The available values are ${Ee.filter((qe) => qe != null).map((qe) => `\`${qe}\``).join(", ") || '""'}.`].join(`
|
|
21845
21845
|
`));
|
|
21846
21846
|
}
|
|
21847
|
-
}, [ve, de, O, C, F]), te && (O ? pe.length === 0 ?
|
|
21848
|
-
let
|
|
21849
|
-
!a && Z && q && (
|
|
21847
|
+
}, [ve, de, O, C, F]), te && (O ? pe.length === 0 ? Ke = null : Ke = pe.reduce((Ee, qe, st) => (Ee.push(qe), st < pe.length - 1 && Ee.push(", "), Ee), []) : Ke = Ce);
|
|
21848
|
+
let Ye = ee;
|
|
21849
|
+
!a && Z && q && (Ye = J.clientWidth);
|
|
21850
21850
|
let Re;
|
|
21851
21851
|
typeof D < "u" ? Re = D : Re = f ? null : 0;
|
|
21852
21852
|
const mt = R.id || (C ? `mui-component-select-${C}` : void 0), lt = {
|
|
@@ -21885,14 +21885,14 @@ const Gj = /* @__PURE__ */ s((t) => {
|
|
|
21885
21885
|
ownerState: lt,
|
|
21886
21886
|
className: ae(R.className, Nt.select, u),
|
|
21887
21887
|
id: mt,
|
|
21888
|
-
children: Uj(
|
|
21888
|
+
children: Uj(Ke) ? (
|
|
21889
21889
|
// notranslate needed while Google Translate will not fix zero-width space issue
|
|
21890
21890
|
GC || (GC = /* @__PURE__ */ b("span", {
|
|
21891
21891
|
className: "notranslate",
|
|
21892
21892
|
"aria-hidden": !0,
|
|
21893
21893
|
children: ""
|
|
21894
21894
|
}))
|
|
21895
|
-
) :
|
|
21895
|
+
) : Ke
|
|
21896
21896
|
}), /* @__PURE__ */ b(qj, {
|
|
21897
21897
|
"aria-invalid": m,
|
|
21898
21898
|
value: Array.isArray(F) ? F.join(",") : F,
|
|
@@ -21938,7 +21938,7 @@ const Gj = /* @__PURE__ */ s((t) => {
|
|
|
21938
21938
|
paper: {
|
|
21939
21939
|
...Wn,
|
|
21940
21940
|
style: {
|
|
21941
|
-
minWidth:
|
|
21941
|
+
minWidth: Ye,
|
|
21942
21942
|
...Wn != null ? Wn.style : null
|
|
21943
21943
|
}
|
|
21944
21944
|
}
|
|
@@ -22477,7 +22477,7 @@ const Zj = {
|
|
|
22477
22477
|
elementType: Lv,
|
|
22478
22478
|
externalForwardedProps: Z,
|
|
22479
22479
|
ownerState: j
|
|
22480
|
-
}),
|
|
22480
|
+
}), Ke = /* @__PURE__ */ b(J, {
|
|
22481
22481
|
"aria-describedby": Q,
|
|
22482
22482
|
autoComplete: o,
|
|
22483
22483
|
autoFocus: i,
|
|
@@ -22514,10 +22514,10 @@ const Zj = {
|
|
|
22514
22514
|
id: X,
|
|
22515
22515
|
labelId: q,
|
|
22516
22516
|
value: B,
|
|
22517
|
-
input:
|
|
22517
|
+
input: Ke,
|
|
22518
22518
|
...Tt,
|
|
22519
22519
|
children: a
|
|
22520
|
-
}) :
|
|
22520
|
+
}) : Ke, g && /* @__PURE__ */ b(He, {
|
|
22521
22521
|
id: Q,
|
|
22522
22522
|
...De,
|
|
22523
22523
|
children: g
|
|
@@ -23749,7 +23749,7 @@ const vu = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
23749
23749
|
K.current = !0;
|
|
23750
23750
|
const Lt = _.props;
|
|
23751
23751
|
Lt.onTouchStart && Lt.onTouchStart(ze);
|
|
23752
|
-
}, "detectTouchStart"),
|
|
23752
|
+
}, "detectTouchStart"), Ke = /* @__PURE__ */ s((ze) => {
|
|
23753
23753
|
Tt(ze), H.clear(), Q.clear(), oe(), J.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", Z.start(v, () => {
|
|
23754
23754
|
document.body.style.WebkitUserSelect = J.current, xe(ze);
|
|
23755
23755
|
});
|
|
@@ -23776,8 +23776,8 @@ const vu = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
23776
23776
|
x: ze.clientX,
|
|
23777
23777
|
y: ze.clientY
|
|
23778
23778
|
}, te.current && te.current.update();
|
|
23779
|
-
}, "handleMouseMove"), je = {},
|
|
23780
|
-
d ? (je.title = !W &&
|
|
23779
|
+
}, "handleMouseMove"), je = {}, Ye = typeof N == "string";
|
|
23780
|
+
d ? (je.title = !W && Ye && !f ? N : null, je["aria-describedby"] = W ? me : null) : (je["aria-label"] = Ye ? N : null, je["aria-labelledby"] = W && !Ye ? me : null);
|
|
23781
23781
|
const Re = {
|
|
23782
23782
|
...je,
|
|
23783
23783
|
...D,
|
|
@@ -23794,7 +23794,7 @@ const vu = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
23794
23794
|
`));
|
|
23795
23795
|
}, [B]));
|
|
23796
23796
|
const mt = {};
|
|
23797
|
-
m || (Re.onTouchStart =
|
|
23797
|
+
m || (Re.onTouchStart = Ke, Re.onTouchEnd = Ce), f || (Re.onMouseOver = Ku(xe, Re.onMouseOver), Re.onMouseLeave = Ku(de, Re.onMouseLeave), X || (mt.onMouseOver = xe, mt.onMouseLeave = de)), p || (Re.onFocus = Ku(ue, Re.onFocus), Re.onBlur = Ku(De, Re.onBlur), X || (mt.onFocus = ue, mt.onBlur = De)), process.env.NODE_ENV !== "production" && _.props.title && console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.", `Remove this title prop \`${_.props.title}\` or the Tooltip component.`].join(`
|
|
23798
23798
|
`));
|
|
23799
23799
|
const lt = {
|
|
23800
23800
|
...r,
|
|
@@ -24698,49 +24698,49 @@ const ZI = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
24698
24698
|
const Se = be.current;
|
|
24699
24699
|
let ce;
|
|
24700
24700
|
if (Se) {
|
|
24701
|
-
const
|
|
24701
|
+
const Ze = Se.getBoundingClientRect();
|
|
24702
24702
|
ce = {
|
|
24703
24703
|
clientWidth: Se.clientWidth,
|
|
24704
24704
|
scrollLeft: Se.scrollLeft,
|
|
24705
24705
|
scrollTop: Se.scrollTop,
|
|
24706
24706
|
scrollWidth: Se.scrollWidth,
|
|
24707
|
-
top:
|
|
24708
|
-
bottom:
|
|
24709
|
-
left:
|
|
24710
|
-
right:
|
|
24707
|
+
top: Ze.top,
|
|
24708
|
+
bottom: Ze.bottom,
|
|
24709
|
+
left: Ze.left,
|
|
24710
|
+
right: Ze.right
|
|
24711
24711
|
};
|
|
24712
24712
|
}
|
|
24713
|
-
let
|
|
24713
|
+
let Ge;
|
|
24714
24714
|
if (Se && I !== !1) {
|
|
24715
|
-
const
|
|
24716
|
-
if (
|
|
24717
|
-
const Ft =
|
|
24715
|
+
const Ze = xe.current.children;
|
|
24716
|
+
if (Ze.length > 0) {
|
|
24717
|
+
const Ft = Ze[ie.get(I)];
|
|
24718
24718
|
process.env.NODE_ENV !== "production" && (Ft || console.error(["MUI: The `value` provided to the Tabs component is invalid.", `None of the Tabs' children match with "${I}".`, ie.keys ? `You can provide one of the following values: ${Array.from(ie.keys()).join(", ")}.` : null].join(`
|
|
24719
|
-
`))),
|
|
24719
|
+
`))), Ge = Ft ? Ft.getBoundingClientRect() : null, process.env.NODE_ENV !== "production" && ll() && !ew && Ge && Ge.width === 0 && Ge.height === 0 && // if the whole Tabs component is hidden, don't warn
|
|
24720
24720
|
ce.clientWidth !== 0 && (ce = null, console.error(["MUI: The `value` provided to the Tabs component is invalid.", `The Tab with this \`value\` ("${I}") is not part of the document layout.`, "Make sure the tab item is present in the document or that it's not `display: none`."].join(`
|
|
24721
24721
|
`)), ew = !0);
|
|
24722
24722
|
}
|
|
24723
24723
|
}
|
|
24724
24724
|
return {
|
|
24725
24725
|
tabsMeta: ce,
|
|
24726
|
-
tabMeta:
|
|
24726
|
+
tabMeta: Ge
|
|
24727
24727
|
};
|
|
24728
24728
|
}, "getTabsMeta"), De = Fn(() => {
|
|
24729
24729
|
const {
|
|
24730
24730
|
tabsMeta: Se,
|
|
24731
24731
|
tabMeta: ce
|
|
24732
24732
|
} = He();
|
|
24733
|
-
let
|
|
24734
|
-
L ? (
|
|
24733
|
+
let Ge = 0, Ze;
|
|
24734
|
+
L ? (Ze = "top", ce && Se && (Ge = ce.top - Se.top + Se.scrollTop)) : (Ze = i ? "right" : "left", ce && Se && (Ge = (i ? -1 : 1) * (ce[Ze] - Se[Ze] + Se.scrollLeft)));
|
|
24735
24735
|
const Ft = {
|
|
24736
|
-
[
|
|
24736
|
+
[Ze]: Ge,
|
|
24737
24737
|
// May be wrong until the font is loaded.
|
|
24738
24738
|
[V]: ce ? ce[V] : 0
|
|
24739
24739
|
};
|
|
24740
|
-
if (typeof Q[
|
|
24740
|
+
if (typeof Q[Ze] != "number" || typeof Q[V] != "number")
|
|
24741
24741
|
q(Ft);
|
|
24742
24742
|
else {
|
|
24743
|
-
const qn = Math.abs(Q[
|
|
24743
|
+
const qn = Math.abs(Q[Ze] - Ft[Ze]), eo = Math.abs(Q[V] - Ft[V]);
|
|
24744
24744
|
(qn >= 1 || eo >= 1) && q(Ft);
|
|
24745
24745
|
}
|
|
24746
24746
|
}), ue = /* @__PURE__ */ s((Se, {
|
|
@@ -24752,23 +24752,23 @@ const ZI = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
24752
24752
|
}, "scroll"), Tt = /* @__PURE__ */ s((Se) => {
|
|
24753
24753
|
let ce = be.current[R];
|
|
24754
24754
|
L ? ce += Se : ce += Se * (i ? -1 : 1), ue(ce);
|
|
24755
|
-
}, "moveTabsScroll"),
|
|
24755
|
+
}, "moveTabsScroll"), Ke = /* @__PURE__ */ s(() => {
|
|
24756
24756
|
const Se = be.current[z];
|
|
24757
24757
|
let ce = 0;
|
|
24758
|
-
const
|
|
24759
|
-
for (let
|
|
24760
|
-
const Ft =
|
|
24758
|
+
const Ge = Array.from(xe.current.children);
|
|
24759
|
+
for (let Ze = 0; Ze < Ge.length; Ze += 1) {
|
|
24760
|
+
const Ft = Ge[Ze];
|
|
24761
24761
|
if (ce + Ft[z] > Se) {
|
|
24762
|
-
|
|
24762
|
+
Ze === 0 && (ce = Se);
|
|
24763
24763
|
break;
|
|
24764
24764
|
}
|
|
24765
24765
|
ce += Ft[z];
|
|
24766
24766
|
}
|
|
24767
24767
|
return ce;
|
|
24768
24768
|
}, "getScrollSize"), Ce = /* @__PURE__ */ s(() => {
|
|
24769
|
-
Tt(-1 *
|
|
24769
|
+
Tt(-1 * Ke());
|
|
24770
24770
|
}, "handleStartScrollClick"), pe = /* @__PURE__ */ s(() => {
|
|
24771
|
-
Tt(
|
|
24771
|
+
Tt(Ke());
|
|
24772
24772
|
}, "handleEndScrollClick"), [te, {
|
|
24773
24773
|
onChange: ve,
|
|
24774
24774
|
...je
|
|
@@ -24778,7 +24778,7 @@ const ZI = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
24778
24778
|
shouldForwardComponentProp: !0,
|
|
24779
24779
|
externalForwardedProps: de,
|
|
24780
24780
|
ownerState: B
|
|
24781
|
-
}),
|
|
24781
|
+
}), Ye = S.useCallback((Se) => {
|
|
24782
24782
|
ve?.(Se), oe({
|
|
24783
24783
|
overflow: null,
|
|
24784
24784
|
scrollbarWidth: Se
|
|
@@ -24803,15 +24803,15 @@ const ZI = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
24803
24803
|
const Se = {};
|
|
24804
24804
|
Se.scrollbarSizeListener = N ? /* @__PURE__ */ b(te, {
|
|
24805
24805
|
...je,
|
|
24806
|
-
onChange:
|
|
24806
|
+
onChange: Ye
|
|
24807
24807
|
}) : null;
|
|
24808
|
-
const
|
|
24809
|
-
return Se.scrollButtonStart =
|
|
24808
|
+
const Ge = N && (O === "auto" && (H || ee) || O === !0);
|
|
24809
|
+
return Se.scrollButtonStart = Ge ? /* @__PURE__ */ b(Re, {
|
|
24810
24810
|
direction: i ? "right" : "left",
|
|
24811
24811
|
onClick: Ce,
|
|
24812
24812
|
disabled: !H,
|
|
24813
24813
|
...mt
|
|
24814
|
-
}) : null, Se.scrollButtonEnd =
|
|
24814
|
+
}) : null, Se.scrollButtonEnd = Ge ? /* @__PURE__ */ b(Re, {
|
|
24815
24815
|
direction: i ? "left" : "right",
|
|
24816
24816
|
onClick: pe,
|
|
24817
24817
|
disabled: !ee,
|
|
@@ -24820,17 +24820,17 @@ const ZI = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
24820
24820
|
}, "getConditionalElements"), Nt = Fn((Se) => {
|
|
24821
24821
|
const {
|
|
24822
24822
|
tabsMeta: ce,
|
|
24823
|
-
tabMeta:
|
|
24823
|
+
tabMeta: Ge
|
|
24824
24824
|
} = He();
|
|
24825
|
-
if (!(!
|
|
24826
|
-
if (
|
|
24827
|
-
const
|
|
24828
|
-
ue(
|
|
24825
|
+
if (!(!Ge || !ce)) {
|
|
24826
|
+
if (Ge[D] < ce[D]) {
|
|
24827
|
+
const Ze = ce[R] + (Ge[D] - ce[D]);
|
|
24828
|
+
ue(Ze, {
|
|
24829
24829
|
animation: Se
|
|
24830
24830
|
});
|
|
24831
|
-
} else if (
|
|
24832
|
-
const
|
|
24833
|
-
ue(
|
|
24831
|
+
} else if (Ge[_] > ce[_]) {
|
|
24832
|
+
const Ze = ce[R] + (Ge[_] - ce[_]);
|
|
24833
|
+
ue(Ze, {
|
|
24834
24834
|
animation: Se
|
|
24835
24835
|
});
|
|
24836
24836
|
}
|
|
@@ -24843,7 +24843,7 @@ const ZI = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
24843
24843
|
be.current && De();
|
|
24844
24844
|
});
|
|
24845
24845
|
let ce;
|
|
24846
|
-
const
|
|
24846
|
+
const Ge = /* @__PURE__ */ s((qn) => {
|
|
24847
24847
|
qn.forEach((eo) => {
|
|
24848
24848
|
eo.removedNodes.forEach((Qo) => {
|
|
24849
24849
|
ce?.unobserve(Qo);
|
|
@@ -24851,30 +24851,30 @@ const ZI = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
24851
24851
|
ce?.observe(Qo);
|
|
24852
24852
|
});
|
|
24853
24853
|
}), Se(), Wn();
|
|
24854
|
-
}, "handleMutation"),
|
|
24855
|
-
|
|
24854
|
+
}, "handleMutation"), Ze = Tn(be.current);
|
|
24855
|
+
Ze.addEventListener("resize", Se);
|
|
24856
24856
|
let Ft;
|
|
24857
24857
|
return typeof ResizeObserver < "u" && (ce = new ResizeObserver(Se), Array.from(xe.current.children).forEach((qn) => {
|
|
24858
24858
|
ce.observe(qn);
|
|
24859
|
-
})), typeof MutationObserver < "u" && (Ft = new MutationObserver(
|
|
24859
|
+
})), typeof MutationObserver < "u" && (Ft = new MutationObserver(Ge), Ft.observe(xe.current, {
|
|
24860
24860
|
childList: !0
|
|
24861
24861
|
})), () => {
|
|
24862
|
-
Se.clear(),
|
|
24862
|
+
Se.clear(), Ze.removeEventListener("resize", Se), Ft?.disconnect(), ce?.disconnect();
|
|
24863
24863
|
};
|
|
24864
24864
|
}, [De, Wn]), S.useEffect(() => {
|
|
24865
24865
|
const Se = Array.from(xe.current.children), ce = Se.length;
|
|
24866
24866
|
if (typeof IntersectionObserver < "u" && ce > 0 && N && O !== !1) {
|
|
24867
|
-
const
|
|
24867
|
+
const Ge = Se[0], Ze = Se[ce - 1], Ft = {
|
|
24868
24868
|
root: be.current,
|
|
24869
24869
|
threshold: 0.99
|
|
24870
24870
|
}, qn = /* @__PURE__ */ s((zi) => {
|
|
24871
24871
|
Z(!zi[0].isIntersecting);
|
|
24872
24872
|
}, "handleScrollButtonStart"), eo = new IntersectionObserver(qn, Ft);
|
|
24873
|
-
eo.observe(
|
|
24873
|
+
eo.observe(Ge);
|
|
24874
24874
|
const Qo = /* @__PURE__ */ s((zi) => {
|
|
24875
24875
|
le(!zi[0].isIntersecting);
|
|
24876
24876
|
}, "handleScrollButtonEnd"), fl = new IntersectionObserver(Qo, Ft);
|
|
24877
|
-
return fl.observe(
|
|
24877
|
+
return fl.observe(Ze), () => {
|
|
24878
24878
|
eo.disconnect(), fl.disconnect();
|
|
24879
24879
|
};
|
|
24880
24880
|
}
|
|
@@ -24907,11 +24907,11 @@ const ZI = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
24907
24907
|
`));
|
|
24908
24908
|
const ce = Se.props.value === void 0 ? qe : Se.props.value;
|
|
24909
24909
|
ie.set(ce, qe);
|
|
24910
|
-
const
|
|
24910
|
+
const Ge = ce === I;
|
|
24911
24911
|
return qe += 1, /* @__PURE__ */ S.cloneElement(Se, {
|
|
24912
24912
|
fullWidth: $ === "fullWidth",
|
|
24913
|
-
indicator:
|
|
24914
|
-
selected:
|
|
24913
|
+
indicator: Ge && !K && Ee,
|
|
24914
|
+
selected: Ge,
|
|
24915
24915
|
selectionFollowsFocus: C,
|
|
24916
24916
|
onChange: y,
|
|
24917
24917
|
textColor: A,
|
|
@@ -24923,16 +24923,16 @@ const ZI = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
24923
24923
|
}), mn = /* @__PURE__ */ s((Se) => {
|
|
24924
24924
|
if (Se.altKey || Se.shiftKey || Se.ctrlKey || Se.metaKey)
|
|
24925
24925
|
return;
|
|
24926
|
-
const ce = xe.current,
|
|
24927
|
-
if (
|
|
24926
|
+
const ce = xe.current, Ge = pa(an(ce));
|
|
24927
|
+
if (Ge?.getAttribute("role") !== "tab")
|
|
24928
24928
|
return;
|
|
24929
24929
|
let Ft = v === "horizontal" ? "ArrowLeft" : "ArrowUp", qn = v === "horizontal" ? "ArrowRight" : "ArrowDown";
|
|
24930
24930
|
switch (v === "horizontal" && i && (Ft = "ArrowRight", qn = "ArrowLeft"), Se.key) {
|
|
24931
24931
|
case Ft:
|
|
24932
|
-
Se.preventDefault(), Yu(ce,
|
|
24932
|
+
Se.preventDefault(), Yu(ce, Ge, QC);
|
|
24933
24933
|
break;
|
|
24934
24934
|
case qn:
|
|
24935
|
-
Se.preventDefault(), Yu(ce,
|
|
24935
|
+
Se.preventDefault(), Yu(ce, Ge, XC);
|
|
24936
24936
|
break;
|
|
24937
24937
|
case "Home":
|
|
24938
24938
|
Se.preventDefault(), Yu(ce, null, XC);
|
|
@@ -25920,7 +25920,7 @@ const oW = nR({
|
|
|
25920
25920
|
maxSize: 1,
|
|
25921
25921
|
equalityCheck: Object.is
|
|
25922
25922
|
}
|
|
25923
|
-
}),
|
|
25923
|
+
}), tt = /* @__PURE__ */ s((t, e, n, r, o, i, a, l, ...u) => {
|
|
25924
25924
|
if (u.length > 0)
|
|
25925
25925
|
throw new Error("Unsupported number of selectors");
|
|
25926
25926
|
let d;
|
|
@@ -26197,7 +26197,7 @@ const Tf = class Tf {
|
|
|
26197
26197
|
s(Tf, "Store");
|
|
26198
26198
|
let sb = Tf;
|
|
26199
26199
|
const xt = /* @__PURE__ */ s((...t) => {
|
|
26200
|
-
const e =
|
|
26200
|
+
const e = tt(...t);
|
|
26201
26201
|
return /* @__PURE__ */ s((r, o, i, a) => e(_v(r), o, i, a), "selector");
|
|
26202
26202
|
}, "createSelector"), Pt = /* @__PURE__ */ s((...t) => {
|
|
26203
26203
|
const e = ul(...t);
|
|
@@ -28870,9 +28870,9 @@ function yH(t) {
|
|
|
28870
28870
|
}
|
|
28871
28871
|
s(yH, "Toolbar");
|
|
28872
28872
|
const IR = Yt({ resolve: null }), Wte = /* @__PURE__ */ s(({ resolve: t, children: e }) => {
|
|
28873
|
-
const n =
|
|
28873
|
+
const n = nt(() => ({ resolve: t }), [t]);
|
|
28874
28874
|
return /* @__PURE__ */ b(IR.Provider, { value: n, children: e });
|
|
28875
|
-
}, "FormResolverProvider"), bH = /* @__PURE__ */ s(() =>
|
|
28875
|
+
}, "FormResolverProvider"), bH = /* @__PURE__ */ s(() => rt(IR), "useFormResolver"), Rl = {
|
|
28876
28876
|
maxWidth: "md",
|
|
28877
28877
|
fullWidth: !0,
|
|
28878
28878
|
scroll: "paper",
|
|
@@ -30248,11 +30248,11 @@ const i9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
30248
30248
|
}
|
|
30249
30249
|
},
|
|
30250
30250
|
[me]
|
|
30251
|
-
),
|
|
30251
|
+
), Ke = D?.unstable_listView ?? de?.unstable_listView ?? !1, Ce = De && J === "pivot", pe = _0(), [te, ve] = S.useState(
|
|
30252
30252
|
Tw
|
|
30253
30253
|
), je = S.useCallback(() => {
|
|
30254
30254
|
ve(Tw());
|
|
30255
|
-
}, []),
|
|
30255
|
+
}, []), Ye = D?.dataSource ?? de?.dataSource, Re = S.useMemo(() => {
|
|
30256
30256
|
const U = { ...D };
|
|
30257
30257
|
return delete U.dataSource, delete U.pivotingColDef, U;
|
|
30258
30258
|
}, [D]), mt = S.useMemo(() => {
|
|
@@ -30289,7 +30289,7 @@ const i9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
30289
30289
|
st(se), X?.(se);
|
|
30290
30290
|
},
|
|
30291
30291
|
[Ee, st, X]
|
|
30292
|
-
), ce =
|
|
30292
|
+
), ce = Ke || !oe || ze !== !1 || Ce, Ge = S.useCallback(async () => typeof ko != "function" ? Hn : ko(), [Hn, ko]), Ze = Ce ? void 0 : Ge, Ft = S.useMemo(() => {
|
|
30293
30293
|
const U = {
|
|
30294
30294
|
loadingOverlay: G4,
|
|
30295
30295
|
noRowsOverlay: Cv,
|
|
@@ -30304,7 +30304,7 @@ const i9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
30304
30304
|
values: []
|
|
30305
30305
|
}), [, fl] = S.useState({}), zi = $ && Ce, Eu = S.useMemo(() => {
|
|
30306
30306
|
if (!Ce)
|
|
30307
|
-
return
|
|
30307
|
+
return Ye;
|
|
30308
30308
|
const U = /* @__PURE__ */ s((se) => {
|
|
30309
30309
|
if (!se)
|
|
30310
30310
|
return se;
|
|
@@ -30353,7 +30353,7 @@ const i9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
30353
30353
|
}, "getAggregatedValue")
|
|
30354
30354
|
};
|
|
30355
30355
|
}, "ensureDataSourceGrouping");
|
|
30356
|
-
return U(
|
|
30356
|
+
return U(Ye || {
|
|
30357
30357
|
getRows: /* @__PURE__ */ s(async (se) => {
|
|
30358
30358
|
const Oe = se.pivotModel || {};
|
|
30359
30359
|
eo.current = Oe;
|
|
@@ -30459,7 +30459,7 @@ const i9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
30459
30459
|
pe,
|
|
30460
30460
|
x,
|
|
30461
30461
|
hn,
|
|
30462
|
-
|
|
30462
|
+
Ye,
|
|
30463
30463
|
Ce,
|
|
30464
30464
|
Q,
|
|
30465
30465
|
D?.meta,
|
|
@@ -30475,10 +30475,10 @@ const i9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
30475
30475
|
};
|
|
30476
30476
|
},
|
|
30477
30477
|
[]
|
|
30478
|
-
), W2 = P ?? (Eu ? j2 : void 0), { showCreate: FS, showEdit: Jh, showShow: H2 } = qv({ resource: Q }), hl =
|
|
30478
|
+
), W2 = P ?? (Eu ? j2 : void 0), { showCreate: FS, showEdit: Jh, showShow: H2 } = qv({ resource: Q }), hl = rt(An) || {}, {
|
|
30479
30479
|
user: Ou = [],
|
|
30480
30480
|
lang: _S = []
|
|
30481
|
-
} = hl, q2 = Ic(hl, "borrar") || Ic(hl, "delete"), ku = E && !q2, Xh =
|
|
30481
|
+
} = hl, q2 = Ic(hl, "borrar") || Ic(hl, "delete"), ku = E && !q2, Xh = rt(WM), Zo = Uv(), Mu = (pe.current?.state?.rowGrouping?.model?.length ?? 0) > 0, BS = Mu && !Ce ? `${B.h + 4}px` : 0;
|
|
30482
30482
|
Ne(() => {
|
|
30483
30483
|
if (!Ce || ue === "custom" || !pe.current?.showSidebar || pe.current?.state?.sidebar?.open && pe.current?.state?.sidebar?.value === "pivot")
|
|
30484
30484
|
return;
|
|
@@ -30589,16 +30589,16 @@ const i9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
30589
30589
|
[ml, Ce]
|
|
30590
30590
|
);
|
|
30591
30591
|
S.useEffect(() => {
|
|
30592
|
-
if (!(!pe.current || Ce))
|
|
30592
|
+
if (!(!pe.current || Ce || G))
|
|
30593
30593
|
try {
|
|
30594
30594
|
const U = pe.current.state?.rowGrouping?.model ?? [];
|
|
30595
30595
|
Js.length && JSON.stringify(U) !== JSON.stringify(Js) && pe.current.setRowGroupingModel(Js);
|
|
30596
30596
|
} catch {
|
|
30597
30597
|
}
|
|
30598
|
-
}, [Ce]), S.useEffect(() => {
|
|
30598
|
+
}, [Ce, G]), S.useEffect(() => {
|
|
30599
30599
|
!pe.current || !Ce || pe.current.setRowGroupingModel([]);
|
|
30600
30600
|
}, [pe, Ce]);
|
|
30601
|
-
const qS = Ce ? [] : Js.length ? Js : Iu?.rowGrouping?.model ?? [], US = S.useMemo(
|
|
30601
|
+
const qS = Ce || G ? [] : Js.length ? Js : Iu?.rowGrouping?.model ?? [], US = S.useMemo(
|
|
30602
30602
|
() => ({
|
|
30603
30603
|
...ei,
|
|
30604
30604
|
...Qh ? { sorting: Qh } : {},
|
|
@@ -31333,7 +31333,7 @@ const i9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
31333
31333
|
...R?.toolbar,
|
|
31334
31334
|
actionsContainerRef: le,
|
|
31335
31335
|
exporter: ze,
|
|
31336
|
-
fetchRowsForExport:
|
|
31336
|
+
fetchRowsForExport: Ze,
|
|
31337
31337
|
filterActionsContainerRef: W
|
|
31338
31338
|
},
|
|
31339
31339
|
row: {
|
|
@@ -31357,7 +31357,7 @@ const i9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
31357
31357
|
onFilterModelChange: rN,
|
|
31358
31358
|
rowSelectionModel: nN,
|
|
31359
31359
|
onRowGroupingModelChange: G2,
|
|
31360
|
-
disableRowGrouping: de?.disableRowGrouping
|
|
31360
|
+
disableRowGrouping: G || de?.disableRowGrouping || D?.disableRowGrouping,
|
|
31361
31361
|
onRowSelectionModelChange: tN,
|
|
31362
31362
|
isRowSelectable: /* @__PURE__ */ s((U) => {
|
|
31363
31363
|
const se = U?.id;
|
|
@@ -31375,7 +31375,7 @@ const i9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
31375
31375
|
pageSizeOptions: UH,
|
|
31376
31376
|
isCellEditable: cN,
|
|
31377
31377
|
defaultGroupingExpansionDepth: Ce ? 0 : -1,
|
|
31378
|
-
disableColumnResize:
|
|
31378
|
+
disableColumnResize: Ke ? !0 : void 0,
|
|
31379
31379
|
...Re,
|
|
31380
31380
|
...mt,
|
|
31381
31381
|
onColumnWidthChange: J2,
|
|
@@ -31485,7 +31485,7 @@ const i9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
31485
31485
|
pivotActive: y = !1,
|
|
31486
31486
|
forceListView: v,
|
|
31487
31487
|
...x
|
|
31488
|
-
} = t, O = S.useRef(null), C =
|
|
31488
|
+
} = t, O = S.useRef(null), C = rt(An) || {}, w = Ic(C, "borrar") || Ic(C, "delete"), T = m && !w, E = y ? [] : (i || []).filter(
|
|
31489
31489
|
(K) => yi(C, K)
|
|
31490
31490
|
), M = !!(!y && (l || p || g || T || E.length)), { sort: A } = Ii(), I = /* @__PURE__ */ s(() => O.current, "container"), $ = Ir((K) => K.breakpoints.down("md")), P = v ?? $, k = v && !$, N = _0(), {
|
|
31491
31491
|
props: { gridContainerRef: L, chkSeleccion: R }
|
|
@@ -32000,7 +32000,7 @@ const i9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
32000
32000
|
} = $t(), D = Jo(), _ = z0((ce) => bv(ce.configInputs, m, D)), {
|
|
32001
32001
|
conts: z = []
|
|
32002
32002
|
//user = [],
|
|
32003
|
-
} =
|
|
32003
|
+
} = rt(An), {
|
|
32004
32004
|
hidden: V,
|
|
32005
32005
|
disabled: B,
|
|
32006
32006
|
label: F
|
|
@@ -32024,7 +32024,7 @@ const i9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
32024
32024
|
slotProps: oe,
|
|
32025
32025
|
initialState: ie,
|
|
32026
32026
|
validateAllowAdd: be
|
|
32027
|
-
} = L || {}, xe = `${m}_enviartodo`, [de, He] = S.useState(r), [{ field: De, sort: ue }] = r, Tt = B || p || K,
|
|
32027
|
+
} = L || {}, xe = `${m}_enviartodo`, [de, He] = S.useState(r), [{ field: De, sort: ue }] = r, Tt = B || p || K, Ke = G !== void 0 ? G : V ? !0 : X !== void 0 ? X : f, Ce = R.enableLoad ?? Q ?? d, pe = ee ?? a, te = le ?? l, ve = W ?? u;
|
|
32028
32028
|
let je = { ...y };
|
|
32029
32029
|
E && e.split(",").forEach((ce) => {
|
|
32030
32030
|
ce && (je[ce] = [
|
|
@@ -32040,8 +32040,8 @@ const i9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
32040
32040
|
}, [M]), Ne(() => {
|
|
32041
32041
|
if (!Ce) {
|
|
32042
32042
|
const ce = setTimeout(() => {
|
|
32043
|
-
const
|
|
32044
|
-
!
|
|
32043
|
+
const Ge = Nw(h).length > 0, Ze = A.current.getValues(m);
|
|
32044
|
+
!Ge && Ze !== "" && Ze !== void 0 && A.current.setValue(m, "");
|
|
32045
32045
|
}, 1e3);
|
|
32046
32046
|
return () => clearTimeout(ce);
|
|
32047
32047
|
}
|
|
@@ -32054,7 +32054,7 @@ const i9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
32054
32054
|
h.__setEtrRows === T && delete h.__setEtrRows;
|
|
32055
32055
|
};
|
|
32056
32056
|
}, [h]);
|
|
32057
|
-
const { data:
|
|
32057
|
+
const { data: Ye, isFetching: Re, refetch: mt } = ik(
|
|
32058
32058
|
i,
|
|
32059
32059
|
{
|
|
32060
32060
|
pagination: { page: 1, perPage: 200 },
|
|
@@ -32064,18 +32064,26 @@ const i9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
32064
32064
|
{
|
|
32065
32065
|
enabled: Ce && !N && k,
|
|
32066
32066
|
onSuccess: /* @__PURE__ */ s((ce) => {
|
|
32067
|
-
|
|
32067
|
+
const Ge = ce?.data || [];
|
|
32068
|
+
j ? A.current.setValue(
|
|
32069
|
+
m,
|
|
32070
|
+
Ge.map((Ze) => ({
|
|
32071
|
+
...Ze,
|
|
32072
|
+
claveFila: "",
|
|
32073
|
+
estado: "N"
|
|
32074
|
+
}))
|
|
32075
|
+
) : setTimeout(() => {
|
|
32068
32076
|
A.current.setValue(m, "");
|
|
32069
|
-
}, 1e3), T(
|
|
32077
|
+
}, 1e3), T(Ge);
|
|
32070
32078
|
}, "onSuccess")
|
|
32071
32079
|
}
|
|
32072
32080
|
);
|
|
32073
32081
|
Ne(() => {
|
|
32074
|
-
if (!(Array.isArray(w) && w.length > 0) && Array.isArray(
|
|
32075
|
-
T(
|
|
32082
|
+
if (!(Array.isArray(w) && w.length > 0) && Array.isArray(Ye) && Ye.length > 0) {
|
|
32083
|
+
T(Ye);
|
|
32076
32084
|
return;
|
|
32077
32085
|
}
|
|
32078
|
-
}, [
|
|
32086
|
+
}, [Ye, w]);
|
|
32079
32087
|
const lt = q({
|
|
32080
32088
|
...t,
|
|
32081
32089
|
refetch: mt
|
|
@@ -32173,7 +32181,7 @@ const i9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
32173
32181
|
);
|
|
32174
32182
|
}, "renderCell")
|
|
32175
32183
|
}));
|
|
32176
|
-
const Xt =
|
|
32184
|
+
const Xt = nt(() => zr, [JSON.stringify(zr)]), Vr = nt(
|
|
32177
32185
|
() => ({
|
|
32178
32186
|
...C.initialState?.columns?.columnVisibilityModel || {},
|
|
32179
32187
|
...ie?.columns?.columnVisibilityModel || {},
|
|
@@ -32192,7 +32200,7 @@ const i9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
32192
32200
|
st.initialState?.columns?.columnVisibilityModel
|
|
32193
32201
|
)
|
|
32194
32202
|
]
|
|
32195
|
-
), ko =
|
|
32203
|
+
), ko = nt(
|
|
32196
32204
|
() => ({
|
|
32197
32205
|
...C.initialState || {},
|
|
32198
32206
|
...ie || {},
|
|
@@ -32213,13 +32221,13 @@ const i9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
32213
32221
|
JSON.stringify(st.initialState),
|
|
32214
32222
|
JSON.stringify(Vr)
|
|
32215
32223
|
]
|
|
32216
|
-
), ze =
|
|
32224
|
+
), ze = nt(
|
|
32217
32225
|
() => Xt.filter(
|
|
32218
32226
|
(ce) => Vr[ce?.field] !== !1
|
|
32219
32227
|
),
|
|
32220
32228
|
[Xt, Vr]
|
|
32221
|
-
), Lt =
|
|
32222
|
-
() => ze.reduce((ce,
|
|
32229
|
+
), Lt = nt(
|
|
32230
|
+
() => ze.reduce((ce, Ge) => Aw(Ge?.width) ? ce + Ge.width : Aw(Ge?.minWidth) ? ce + Ge.minWidth : ce + 140, 0),
|
|
32223
32231
|
[ze]
|
|
32224
32232
|
), Se = !0;
|
|
32225
32233
|
return Ne(() => {
|
|
@@ -32227,11 +32235,11 @@ const i9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
32227
32235
|
return;
|
|
32228
32236
|
const ce = /* @__PURE__ */ s(() => {
|
|
32229
32237
|
h?.current?.resize?.(), typeof window < "u" && window.dispatchEvent(new Event("resize"));
|
|
32230
|
-
}, "syncGridLayout"),
|
|
32238
|
+
}, "syncGridLayout"), Ge = requestAnimationFrame(ce), Ze = setTimeout(ce, 120);
|
|
32231
32239
|
return () => {
|
|
32232
|
-
cancelAnimationFrame(
|
|
32240
|
+
cancelAnimationFrame(Ge), clearTimeout(Ze);
|
|
32233
32241
|
};
|
|
32234
|
-
}, [h, Lt, P, w.length, Se]),
|
|
32242
|
+
}, [h, Lt, P, w.length, Se]), Ke ? null : /* @__PURE__ */ b(
|
|
32235
32243
|
Ie,
|
|
32236
32244
|
{
|
|
32237
32245
|
sx: {
|
|
@@ -32400,7 +32408,7 @@ const i9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
32400
32408
|
enableLoad: i = !0,
|
|
32401
32409
|
initialState: a,
|
|
32402
32410
|
...l
|
|
32403
|
-
} = t, { isLoading: u } = $t(), d = Nr(t), [p, f] = Ae(n), [{ field: h, sort: m }] = n, g =
|
|
32411
|
+
} = t, { isLoading: u } = $t(), d = Nr(t), [p, f] = Ae(n), [{ field: h, sort: m }] = n, g = nt(
|
|
32404
32412
|
() => [...r],
|
|
32405
32413
|
[JSON.stringify(r)]
|
|
32406
32414
|
);
|
|
@@ -32557,7 +32565,7 @@ const i9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
32557
32565
|
color: t.palette.grey[500]
|
|
32558
32566
|
}
|
|
32559
32567
|
})), UR = Yt(null), GR = /* @__PURE__ */ s((t) => {
|
|
32560
|
-
const e =
|
|
32568
|
+
const e = rt(UR), n = {
|
|
32561
32569
|
isOpen: t?.isOpen ?? e?.isOpen,
|
|
32562
32570
|
open: t?.open ?? e?.open,
|
|
32563
32571
|
close: t?.close ?? e?.close
|
|
@@ -32682,7 +32690,7 @@ const i9 = S.memo(/* @__PURE__ */ s(function({
|
|
|
32682
32690
|
r(!0);
|
|
32683
32691
|
}, []), i = Le(() => {
|
|
32684
32692
|
r(!1);
|
|
32685
|
-
}, []), a =
|
|
32693
|
+
}, []), a = nt(
|
|
32686
32694
|
() => ({
|
|
32687
32695
|
isOpen: n,
|
|
32688
32696
|
open: o,
|
|
@@ -32926,7 +32934,7 @@ const JR = /* @__PURE__ */ s(() => {
|
|
|
32926
32934
|
enabled: n && !f
|
|
32927
32935
|
},
|
|
32928
32936
|
C
|
|
32929
|
-
), E = f?.record || f?.initialValues || w, M = f ? !1 : T, A = g && typeof g == "object" && !Array.isArray(g) ? { ...g, ...E || {} } : E, I =
|
|
32937
|
+
), E = f?.record || f?.initialValues || w, M = f ? !1 : T, A = g && typeof g == "object" && !Array.isArray(g) ? { ...g, ...E || {} } : E, I = nt(
|
|
32930
32938
|
() => ({
|
|
32931
32939
|
estado: h,
|
|
32932
32940
|
initialValues: A || {},
|
|
@@ -32973,7 +32981,7 @@ const JR = /* @__PURE__ */ s(() => {
|
|
|
32973
32981
|
id: p,
|
|
32974
32982
|
record: f,
|
|
32975
32983
|
...h
|
|
32976
|
-
} = t, m = d ?? (e?.state?.estado || "N"), { fichaProps: g } = Gv({ ...t, estado: m }), y = o === "ventana" ? T9 : GN, v =
|
|
32984
|
+
} = t, m = d ?? (e?.state?.estado || "N"), { fichaProps: g } = Gv({ ...t, estado: m }), y = o === "ventana" ? T9 : GN, v = nt(
|
|
32977
32985
|
() => XR(a, l),
|
|
32978
32986
|
[a, l]
|
|
32979
32987
|
), x = /* @__PURE__ */ b(
|
|
@@ -33172,7 +33180,7 @@ const JR = /* @__PURE__ */ s(() => {
|
|
|
33172
33180
|
onSelectionChange: u,
|
|
33173
33181
|
storeKey: d,
|
|
33174
33182
|
...p
|
|
33175
|
-
} = t, f =
|
|
33183
|
+
} = t, f = rt(Mc), h = n === "ventana" ? L9 : uk, m = Ph(e), { pathname: g, state: y } = cr(), v = qo(), [x, O] = Ae(null), [C, w] = Ae(i), [T, E] = Ae([]), [M, A] = Ae({}), [I, $] = Ae(
|
|
33176
33184
|
p.sort || { field: "id", order: "ASC" }
|
|
33177
33185
|
), [P, k] = Ae(
|
|
33178
33186
|
Lw
|
|
@@ -33436,7 +33444,7 @@ const JR = /* @__PURE__ */ s(() => {
|
|
|
33436
33444
|
typeof t[n] == "string" && t[n].trim().length === 0 || (t[n] == null && (t[n] = ""), e[n] = t[n]);
|
|
33437
33445
|
return e;
|
|
33438
33446
|
}, "defaultTransform"), H9 = /* @__PURE__ */ s((t) => {
|
|
33439
|
-
const { children: e, fichaProps: n, mutationOptions: r } = t, o = QN(), [i, a] = Ae(null), l = cr(), u = qo(), d = dt(t), p = Ph(d), { record: f, isFetching: h } = o, m = p?.record || p?.initialValues || f, g = p ? !1 : h, y = t.estado ?? (l?.state?.estado || "M"), v = f?.id ?? l?.state?.id ?? "edit", x = `${d}:${y}:${v}`, O =
|
|
33447
|
+
const { children: e, fichaProps: n, mutationOptions: r } = t, o = QN(), [i, a] = Ae(null), l = cr(), u = qo(), d = dt(t), p = Ph(d), { record: f, isFetching: h } = o, m = p?.record || p?.initialValues || f, g = p ? !1 : h, y = t.estado ?? (l?.state?.estado || "M"), v = f?.id ?? l?.state?.id ?? "edit", x = `${d}:${y}:${v}`, O = nt(
|
|
33440
33448
|
() => ({
|
|
33441
33449
|
estado: y,
|
|
33442
33450
|
initialValues: m,
|
|
@@ -33476,7 +33484,7 @@ const JR = /* @__PURE__ */ s(() => {
|
|
|
33476
33484
|
popupMutationOptions: i,
|
|
33477
33485
|
children: a,
|
|
33478
33486
|
...l
|
|
33479
|
-
} = t, u = Ek(), d = VM(t) ?? u?.id, p = t.estado ?? (e?.state?.estado || "M"), { fichaProps: f } = Gv({ ...t, estado: p }), h =
|
|
33487
|
+
} = t, u = Ek(), d = VM(t) ?? u?.id, p = t.estado ?? (e?.state?.estado || "M"), { fichaProps: f } = Gv({ ...t, estado: p }), h = nt(
|
|
33480
33488
|
() => XR(o, i),
|
|
33481
33489
|
[o, i]
|
|
33482
33490
|
), m = /* @__PURE__ */ b(
|
|
@@ -33997,7 +34005,7 @@ const JR = /* @__PURE__ */ s(() => {
|
|
|
33997
34005
|
jsBotonGrilla: u = c8,
|
|
33998
34006
|
refresh: d = !0,
|
|
33999
34007
|
...p
|
|
34000
|
-
} = t, [f, h] = S.useState(null), [m, g] = S.useState(null), [y, v] = S.useState({}), x = Ii(), { displayedFilters: O, filterValues: C, exporter: w, showFilter: T } = x, E = dt(t), { hasCreate: M } = _f(t), A =
|
|
34008
|
+
} = t, [f, h] = S.useState(null), [m, g] = S.useState(null), [y, v] = S.useState({}), x = Ii(), { displayedFilters: O, filterValues: C, exporter: w, showFilter: T } = x, E = dt(t), { hasCreate: M } = _f(t), A = rt(nD) || r, I = ch(t), $ = rt(An) || {}, {
|
|
34001
34009
|
props: {
|
|
34002
34010
|
hasCreate: P,
|
|
34003
34011
|
hasSeleccionMultiple: k,
|
|
@@ -34144,7 +34152,7 @@ const JR = /* @__PURE__ */ s(() => {
|
|
|
34144
34152
|
}
|
|
34145
34153
|
}), oe;
|
|
34146
34154
|
});
|
|
34147
|
-
}, [me]),
|
|
34155
|
+
}, [me]), nt(
|
|
34148
34156
|
() => /* @__PURE__ */ Y(nk, { className: n, ...oD(p), children: [
|
|
34149
34157
|
/* @__PURE__ */ b(
|
|
34150
34158
|
"div",
|
|
@@ -34279,13 +34287,13 @@ const JR = /* @__PURE__ */ s(() => {
|
|
|
34279
34287
|
bo,
|
|
34280
34288
|
{
|
|
34281
34289
|
selected: Tt,
|
|
34282
|
-
onClick: /* @__PURE__ */ s((
|
|
34290
|
+
onClick: /* @__PURE__ */ s((Ke) => {
|
|
34283
34291
|
le(
|
|
34284
34292
|
ue,
|
|
34285
34293
|
J.index,
|
|
34286
34294
|
J
|
|
34287
34295
|
), ue.onClick ? ue.onClick(
|
|
34288
|
-
|
|
34296
|
+
Ke,
|
|
34289
34297
|
Q
|
|
34290
34298
|
) : u(
|
|
34291
34299
|
Q,
|
|
@@ -34920,7 +34928,7 @@ const rne = /* @__PURE__ */ s((t) => {
|
|
|
34920
34928
|
// NUEVO (opcional): si querés forzar el tooltip del botón, aunque el seleccionado sea otro
|
|
34921
34929
|
title: i
|
|
34922
34930
|
// string
|
|
34923
|
-
} = t, [a, l] = Ae(!1), u = en(), d = dt(t), p =
|
|
34931
|
+
} = t, [a, l] = Ae(!1), u = en(), d = dt(t), p = rt(An) || {}, { menuModel: f, leafOptions: h, menuVisible: m } = nt(() => {
|
|
34924
34932
|
const E = [], M = [], A = e?.[o];
|
|
34925
34933
|
return yi(p, A) ? ((e || []).forEach((I) => {
|
|
34926
34934
|
if (!yi(p, I))
|
|
@@ -35097,7 +35105,7 @@ const rne = /* @__PURE__ */ s((t) => {
|
|
|
35097
35105
|
)
|
|
35098
35106
|
] });
|
|
35099
35107
|
}, "MultiTextField"), T8 = /* @__PURE__ */ s((t) => {
|
|
35100
|
-
const { children: e, fichaProps: n } = t, r = aD(), [o, i] = Ae(null), a = cr(), l = qo(), u = dt(t), { record: d, isFetching: p } = r, f = t.estado ?? (a?.state?.estado || "M"), h = d?.id ?? a?.state?.id ?? "show", m = `${u}:${f}:${h}`, g =
|
|
35108
|
+
const { children: e, fichaProps: n } = t, r = aD(), [o, i] = Ae(null), a = cr(), l = qo(), u = dt(t), { record: d, isFetching: p } = r, f = t.estado ?? (a?.state?.estado || "M"), h = d?.id ?? a?.state?.id ?? "show", m = `${u}:${f}:${h}`, g = nt(
|
|
35101
35109
|
() => ({
|
|
35102
35110
|
estado: f,
|
|
35103
35111
|
initialValues: d,
|
|
@@ -35248,10 +35256,10 @@ const rne = /* @__PURE__ */ s((t) => {
|
|
|
35248
35256
|
},
|
|
35249
35257
|
F
|
|
35250
35258
|
)), l.props.onChange && l.props.onChange(F, G);
|
|
35251
|
-
}, "handleTabChange"), A =
|
|
35259
|
+
}, "handleTabChange"), A = nt(() => bc.toArray(n), [n]), I = nt(
|
|
35252
35260
|
() => A.reduce((F, G) => Hw(G) ? [...F, { tab: G, tabIndex: F.length }] : F, []),
|
|
35253
35261
|
[A]
|
|
35254
|
-
), $ =
|
|
35262
|
+
), $ = nt(() => a ? I.findIndex(({ tab: F, tabIndex: G }) => {
|
|
35255
35263
|
const j = Nu(F, G);
|
|
35256
35264
|
return vc(
|
|
35257
35265
|
`${y}/${j}`,
|
|
@@ -35263,7 +35271,7 @@ const rne = /* @__PURE__ */ s((t) => {
|
|
|
35263
35271
|
a,
|
|
35264
35272
|
m,
|
|
35265
35273
|
I
|
|
35266
|
-
]), P =
|
|
35274
|
+
]), P = nt(() => !a || $ >= 0 ? $ : I.length ? 0 : -1, [$, a, I.length]), k = nt(() => {
|
|
35267
35275
|
if (a) {
|
|
35268
35276
|
const F = I[P];
|
|
35269
35277
|
return F ? Nu(
|
|
@@ -35279,7 +35287,7 @@ const rne = /* @__PURE__ */ s((t) => {
|
|
|
35279
35287
|
const F = T + w, G = P < 0 ? 0 : P;
|
|
35280
35288
|
G < T ? E(G) : G >= F && E(G - w + 1), N.current = $;
|
|
35281
35289
|
}, [P, w, T]);
|
|
35282
|
-
const L =
|
|
35290
|
+
const L = nt(() => I.map(({ tab: F, tabIndex: G }) => {
|
|
35283
35291
|
const j = a ? Nu(F, G) : G, K = O || G >= T && G < T + w, X = F.props?.style ?? {}, Q = K ? X : {
|
|
35284
35292
|
...X,
|
|
35285
35293
|
minWidth: 0,
|
|
@@ -35906,7 +35914,7 @@ const Gw = S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
35906
35914
|
disableAutoFocus: !0,
|
|
35907
35915
|
disableRestoreFocus: !0
|
|
35908
35916
|
}, une = /* @__PURE__ */ s((t) => {
|
|
35909
|
-
const { isLoading: e } = t, n = dt(t), r = Ko(), o =
|
|
35917
|
+
const { isLoading: e } = t, n = dt(t), r = Ko(), o = rt(Kw), i = en(
|
|
35910
35918
|
`asistente-host-${Math.random().toString(36).slice(2)}`
|
|
35911
35919
|
), a = r?.hostId, l = !a || a === i.current;
|
|
35912
35920
|
Ne(() => {
|
|
@@ -36519,7 +36527,7 @@ const fne = /* @__PURE__ */ s(({ title: t, children: e, sx: n, source: r, ...o }
|
|
|
36519
36527
|
Ne(() => {
|
|
36520
36528
|
l || d(!0);
|
|
36521
36529
|
}, [l]);
|
|
36522
|
-
const p = u || !l, f =
|
|
36530
|
+
const p = u || !l, f = nt(
|
|
36523
36531
|
() => ({
|
|
36524
36532
|
hidden: l,
|
|
36525
36533
|
isActive: !l,
|
|
@@ -37273,7 +37281,7 @@ const n7 = ye([/* @__PURE__ */ b("circle", {
|
|
|
37273
37281
|
isFetching: p,
|
|
37274
37282
|
allChoices: f,
|
|
37275
37283
|
availableChoices: h
|
|
37276
|
-
} = vk(), m = en(null), g = en(null), y =
|
|
37284
|
+
} = vk(), m = en(null), g = en(null), y = nt(() => {
|
|
37277
37285
|
const C = Array.isArray(h) ? h : [];
|
|
37278
37286
|
if (!Array.isArray(l) || l.length === 0)
|
|
37279
37287
|
return C;
|
|
@@ -37281,7 +37289,7 @@ const n7 = ye([/* @__PURE__ */ b("circle", {
|
|
|
37281
37289
|
return C.forEach((T) => {
|
|
37282
37290
|
w.some((E) => Ga(E?.id, T?.id)) || w.push(T);
|
|
37283
37291
|
}), w;
|
|
37284
|
-
}, [h, l]), v =
|
|
37292
|
+
}, [h, l]), v = nt(() => d?.isRequired || p || !Array.isArray(y) ? !1 : !y.some((C) => Ga(C?.id, "0")), [p, y, d?.isRequired]), x = Le(
|
|
37285
37293
|
(C, w) => {
|
|
37286
37294
|
typeof i == "function" && i({
|
|
37287
37295
|
target: {
|
|
@@ -37476,7 +37484,7 @@ const n7 = ye([/* @__PURE__ */ b("circle", {
|
|
|
37476
37484
|
}
|
|
37477
37485
|
) : null;
|
|
37478
37486
|
}, "ComboBox"), Sne = /* @__PURE__ */ s((t) => {
|
|
37479
|
-
const { propsContenido: e, hidden: n } = jn(t), { conts: r = {} } =
|
|
37487
|
+
const { propsContenido: e, hidden: n } = jn(t), { conts: r = {} } = rt(An) || {}, o = r?.[t.source]?.options, i = S.useMemo(() => {
|
|
37480
37488
|
if (!(typeof o != "string" || o.trim() === ""))
|
|
37481
37489
|
try {
|
|
37482
37490
|
const d = JSON.parse(o);
|
|
@@ -38066,7 +38074,7 @@ const n7 = ye([/* @__PURE__ */ b("circle", {
|
|
|
38066
38074
|
const {
|
|
38067
38075
|
propsContenido: { sx: e, ...n },
|
|
38068
38076
|
hidden: r
|
|
38069
|
-
} = jn(t), { conts: o = {} } =
|
|
38077
|
+
} = jn(t), { conts: o = {} } = rt(An) || {}, i = o?.[t.source]?.options, a = S.useMemo(() => {
|
|
38070
38078
|
if (!(typeof i != "string" || i.trim() === ""))
|
|
38071
38079
|
try {
|
|
38072
38080
|
const d = JSON.parse(i);
|
|
@@ -38774,7 +38782,7 @@ function W7(t) {
|
|
|
38774
38782
|
};
|
|
38775
38783
|
}
|
|
38776
38784
|
s(W7, "useExtractSimpleTreeViewParameters");
|
|
38777
|
-
const oT =
|
|
38785
|
+
const oT = tt((t) => t.providedTreeId ?? t.treeId), Cu = {
|
|
38778
38786
|
/**
|
|
38779
38787
|
* Get the id attribute of the tree view.
|
|
38780
38788
|
*/
|
|
@@ -38784,7 +38792,7 @@ const oT = et((t) => t.providedTreeId ?? t.treeId), Cu = {
|
|
|
38784
38792
|
* If the user explicitly defined an id attribute, it will be returned.
|
|
38785
38793
|
* Otherwise, the method creates a unique id for the item based on the Tree View id attribute and the item `itemId`
|
|
38786
38794
|
*/
|
|
38787
|
-
treeItemIdAttribute:
|
|
38795
|
+
treeItemIdAttribute: tt(oT, (t, e, n) => n ?? `${t ?? ""}-${e}`)
|
|
38788
38796
|
}, Ur = "__TREE_VIEW_ROOT_PARENT_ID__", bP = /* @__PURE__ */ s((t) => {
|
|
38789
38797
|
const e = {};
|
|
38790
38798
|
return t.forEach((n, r) => {
|
|
@@ -38873,58 +38881,58 @@ const q7 = [], ke = {
|
|
|
38873
38881
|
/**
|
|
38874
38882
|
* Gets the DOM structure of the Tree View.
|
|
38875
38883
|
*/
|
|
38876
|
-
domStructure:
|
|
38884
|
+
domStructure: tt((t) => t.domStructure),
|
|
38877
38885
|
/**
|
|
38878
38886
|
* Checks whether the disabled items are focusable.
|
|
38879
38887
|
*/
|
|
38880
|
-
disabledItemFocusable:
|
|
38888
|
+
disabledItemFocusable: tt((t) => t.disabledItemsFocusable),
|
|
38881
38889
|
/**
|
|
38882
38890
|
* Gets the meta-information of all items.
|
|
38883
38891
|
*/
|
|
38884
|
-
itemMetaLookup:
|
|
38892
|
+
itemMetaLookup: tt((t) => t.itemMetaLookup),
|
|
38885
38893
|
/**
|
|
38886
38894
|
* Gets the ordered children ids of all items.
|
|
38887
38895
|
*/
|
|
38888
|
-
itemOrderedChildrenIdsLookup:
|
|
38896
|
+
itemOrderedChildrenIdsLookup: tt((t) => t.itemOrderedChildrenIdsLookup),
|
|
38889
38897
|
/**
|
|
38890
38898
|
* Gets the meta-information of an item.
|
|
38891
38899
|
*/
|
|
38892
|
-
itemMeta:
|
|
38900
|
+
itemMeta: tt((t, e) => t.itemMetaLookup[e ?? Ur] ?? null),
|
|
38893
38901
|
/**
|
|
38894
38902
|
* Gets the ordered children ids of an item.
|
|
38895
38903
|
*/
|
|
38896
|
-
itemOrderedChildrenIds:
|
|
38904
|
+
itemOrderedChildrenIds: tt((t, e) => t.itemOrderedChildrenIdsLookup[e ?? Ur] ?? q7),
|
|
38897
38905
|
/**
|
|
38898
38906
|
* Gets the model of an item.
|
|
38899
38907
|
*/
|
|
38900
|
-
itemModel:
|
|
38908
|
+
itemModel: tt((t, e) => t.itemModelLookup[e]),
|
|
38901
38909
|
/**
|
|
38902
38910
|
* Checks whether an item is disabled.
|
|
38903
38911
|
*/
|
|
38904
|
-
isItemDisabled:
|
|
38912
|
+
isItemDisabled: tt((t, e) => fp(t.itemMetaLookup, e)),
|
|
38905
38913
|
/**
|
|
38906
38914
|
* Gets the index of an item in its parent's children.
|
|
38907
38915
|
*/
|
|
38908
|
-
itemIndex:
|
|
38916
|
+
itemIndex: tt((t, e) => {
|
|
38909
38917
|
const n = t.itemMetaLookup[e];
|
|
38910
38918
|
return n == null ? -1 : t.itemChildrenIndexesLookup[n.parentId ?? Ur][n.id];
|
|
38911
38919
|
}),
|
|
38912
38920
|
/**
|
|
38913
38921
|
* Gets the id of an item's parent.
|
|
38914
38922
|
*/
|
|
38915
|
-
itemParentId:
|
|
38923
|
+
itemParentId: tt((t, e) => t.itemMetaLookup[e]?.parentId ?? null),
|
|
38916
38924
|
/**
|
|
38917
38925
|
* Gets the depth of an item (items at the root level have a depth of 0).
|
|
38918
38926
|
*/
|
|
38919
|
-
itemDepth:
|
|
38927
|
+
itemDepth: tt((t, e) => t.itemMetaLookup[e]?.depth ?? 0),
|
|
38920
38928
|
/**
|
|
38921
38929
|
* Checks whether an item can be focused.
|
|
38922
38930
|
*/
|
|
38923
|
-
canItemBeFocused:
|
|
38931
|
+
canItemBeFocused: tt((t, e) => t.disabledItemsFocusable || !fp(t.itemMetaLookup, e)),
|
|
38924
38932
|
/**
|
|
38925
38933
|
* Gets the identation between an item and its children.
|
|
38926
38934
|
*/
|
|
38927
|
-
itemChildrenIndentation:
|
|
38935
|
+
itemChildrenIndentation: tt((t) => t.itemChildrenIndentation)
|
|
38928
38936
|
}, ac = class ac {
|
|
38929
38937
|
// We can't type `store`, otherwise we get the following TS error:
|
|
38930
38938
|
// 'items' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer.
|
|
@@ -39101,11 +39109,11 @@ const vP = ul((t) => t.selectedItems, (t) => Array.isArray(t) ? t : t != null ?
|
|
|
39101
39109
|
return t.forEach((n) => {
|
|
39102
39110
|
e.set(n, !0);
|
|
39103
39111
|
}), e;
|
|
39104
|
-
}), Um =
|
|
39112
|
+
}), Um = tt((t, e) => t.itemMetaLookup[e]?.selectable ?? !0), ut = {
|
|
39105
39113
|
/**
|
|
39106
39114
|
* Gets the selected items as provided to the component.
|
|
39107
39115
|
*/
|
|
39108
|
-
selectedItemsRaw:
|
|
39116
|
+
selectedItemsRaw: tt((t) => t.selectedItems),
|
|
39109
39117
|
/**
|
|
39110
39118
|
* Gets the selected items as an array.
|
|
39111
39119
|
*/
|
|
@@ -39117,37 +39125,37 @@ const vP = ul((t) => t.selectedItems, (t) => Array.isArray(t) ? t : t != null ?
|
|
|
39117
39125
|
/**
|
|
39118
39126
|
* Checks whether selection is enabled.
|
|
39119
39127
|
*/
|
|
39120
|
-
enabled:
|
|
39128
|
+
enabled: tt((t) => !t.disableSelection),
|
|
39121
39129
|
/**
|
|
39122
39130
|
* Checks whether multi selection is enabled.
|
|
39123
39131
|
*/
|
|
39124
|
-
isMultiSelectEnabled:
|
|
39132
|
+
isMultiSelectEnabled: tt((t) => t.multiSelect),
|
|
39125
39133
|
/**
|
|
39126
39134
|
* Checks whether checkbox selection is enabled.
|
|
39127
39135
|
*/
|
|
39128
|
-
isCheckboxSelectionEnabled:
|
|
39136
|
+
isCheckboxSelectionEnabled: tt((t) => t.checkboxSelection),
|
|
39129
39137
|
/**
|
|
39130
39138
|
* Gets the selection propagation rules.
|
|
39131
39139
|
*/
|
|
39132
|
-
propagationRules:
|
|
39140
|
+
propagationRules: tt((t) => t.selectionPropagation),
|
|
39133
39141
|
/**
|
|
39134
39142
|
* Checks whether an item is selected.
|
|
39135
39143
|
*/
|
|
39136
|
-
isItemSelected:
|
|
39144
|
+
isItemSelected: tt(sT, (t, e) => t.has(e)),
|
|
39137
39145
|
/**
|
|
39138
39146
|
* Checks whether the selection feature is enabled for an item.
|
|
39139
39147
|
* Returns `true` when selection is enabled on the Tree View and the item is selectable (even if the item is disabled).
|
|
39140
39148
|
*/
|
|
39141
|
-
isFeatureEnabledForItem:
|
|
39149
|
+
isFeatureEnabledForItem: tt(Um, (t) => !t.disableSelection, (t, e, n) => e && t),
|
|
39142
39150
|
/**
|
|
39143
39151
|
* Checks whether an item can be selected (if selection is enabled, if the item is not disabled, and if the item is selectable).
|
|
39144
39152
|
*/
|
|
39145
|
-
canItemBeSelected:
|
|
39153
|
+
canItemBeSelected: tt(ke.isItemDisabled, Um, (t) => !t.disableSelection, (t, e, n, r) => n && !t && e),
|
|
39146
39154
|
/**
|
|
39147
39155
|
* Checks whether an item is selectable based on the `isItemSelectionDisabled` prop.
|
|
39148
39156
|
*/
|
|
39149
39157
|
isItemSelectable: Um
|
|
39150
|
-
}, U7 =
|
|
39158
|
+
}, U7 = tt((t, e) => {
|
|
39151
39159
|
if (ut.isItemSelected(t, e))
|
|
39152
39160
|
return "checked";
|
|
39153
39161
|
let n = !1, r = !1;
|
|
@@ -39195,7 +39203,7 @@ const vP = ul((t) => t.selectedItems, (t) => Array.isArray(t) ? t : t != null ?
|
|
|
39195
39203
|
/**
|
|
39196
39204
|
* Gets the expanded items as provided to the component.
|
|
39197
39205
|
*/
|
|
39198
|
-
expandedItemsRaw:
|
|
39206
|
+
expandedItemsRaw: tt((t) => t.expandedItems),
|
|
39199
39207
|
/**
|
|
39200
39208
|
* Gets the expanded items as a Map.
|
|
39201
39209
|
*/
|
|
@@ -39217,15 +39225,15 @@ const vP = ul((t) => t.selectedItems, (t) => Array.isArray(t) ? t : t != null ?
|
|
|
39217
39225
|
/**
|
|
39218
39226
|
* Gets the slot that triggers the item's expansion when clicked.
|
|
39219
39227
|
*/
|
|
39220
|
-
triggerSlot:
|
|
39228
|
+
triggerSlot: tt((t) => t.expansionTrigger),
|
|
39221
39229
|
/**
|
|
39222
39230
|
* Checks whether an item is expanded.
|
|
39223
39231
|
*/
|
|
39224
|
-
isItemExpanded:
|
|
39232
|
+
isItemExpanded: tt(Gm, (t, e) => t.has(e)),
|
|
39225
39233
|
/**
|
|
39226
39234
|
* Checks whether an item is expandable.
|
|
39227
39235
|
*/
|
|
39228
|
-
isItemExpandable:
|
|
39236
|
+
isItemExpandable: tt(ke.itemMeta, (t, e) => t?.expandable ?? !1)
|
|
39229
39237
|
}, Cb = /* @__PURE__ */ s((t, e) => {
|
|
39230
39238
|
let n = e.length - 1;
|
|
39231
39239
|
for (; n >= 0 && !ke.canItemBeFocused(t, e[n]); )
|
|
@@ -39758,15 +39766,15 @@ const ha = {
|
|
|
39758
39766
|
/**
|
|
39759
39767
|
* Checks whether an item is editable.
|
|
39760
39768
|
*/
|
|
39761
|
-
isItemEditable:
|
|
39769
|
+
isItemEditable: tt((t) => t.isItemEditable, ke.itemModel, (t, e, n) => !e || t == null ? !1 : typeof t == "boolean" ? t : t(e)),
|
|
39762
39770
|
/**
|
|
39763
39771
|
* Checks whether an item is being edited.
|
|
39764
39772
|
*/
|
|
39765
|
-
isItemBeingEdited:
|
|
39773
|
+
isItemBeingEdited: tt((t, e) => e == null ? !1 : t.editedItemId === e),
|
|
39766
39774
|
/**
|
|
39767
39775
|
* Checks whether any item is being edited.
|
|
39768
39776
|
*/
|
|
39769
|
-
isAnyItemBeingEdited:
|
|
39777
|
+
isAnyItemBeingEdited: tt((t) => !!t.editedItemId)
|
|
39770
39778
|
}, sq = 500, H1 = class H1 {
|
|
39771
39779
|
typeaheadQuery = "";
|
|
39772
39780
|
// We can't type `store`, otherwise we get the following TS error:
|
|
@@ -39951,15 +39959,15 @@ const uT = ul(ut.selectedItems, Ut.expandedItemsMap, ke.itemMetaLookup, ke.disab
|
|
|
39951
39959
|
/**
|
|
39952
39960
|
* Checks whether an item is the default focusable item.
|
|
39953
39961
|
*/
|
|
39954
|
-
isItemTheDefaultFocusableItem:
|
|
39962
|
+
isItemTheDefaultFocusableItem: tt(uT, (t, e) => t === e),
|
|
39955
39963
|
/**
|
|
39956
39964
|
* Gets the id of the item that is currently focused.
|
|
39957
39965
|
*/
|
|
39958
|
-
focusedItemId:
|
|
39966
|
+
focusedItemId: tt((t) => t.focusedItemId),
|
|
39959
39967
|
/**
|
|
39960
39968
|
* Checks whether an item is focused.
|
|
39961
39969
|
*/
|
|
39962
|
-
isItemFocused:
|
|
39970
|
+
isItemFocused: tt((t, e) => t.focusedItemId === e)
|
|
39963
39971
|
}, q1 = class q1 {
|
|
39964
39972
|
// We can't type `store`, otherwise we get the following TS error:
|
|
39965
39973
|
// 'focus' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer.
|
|
@@ -40112,19 +40120,19 @@ const dT = {
|
|
|
40112
40120
|
/**
|
|
40113
40121
|
* Checks if the lazy loaded state is empty.
|
|
40114
40122
|
*/
|
|
40115
|
-
isEmpty:
|
|
40123
|
+
isEmpty: tt((t) => t.lazyLoadedItems == null ? !0 : Object.keys(t.lazyLoadedItems.loading).length === 0 && Object.keys(t.lazyLoadedItems.errors).length === 0),
|
|
40116
40124
|
/**
|
|
40117
40125
|
* Checks whether an item is loading.
|
|
40118
40126
|
*/
|
|
40119
|
-
isItemLoading:
|
|
40127
|
+
isItemLoading: tt((t, e) => t.lazyLoadedItems?.loading[e ?? Ur] ?? !1),
|
|
40120
40128
|
/**
|
|
40121
40129
|
* Checks whether an item has errors.
|
|
40122
40130
|
*/
|
|
40123
|
-
itemHasError:
|
|
40131
|
+
itemHasError: tt((t, e) => !!t.lazyLoadedItems?.errors[e ?? Ur]),
|
|
40124
40132
|
/**
|
|
40125
40133
|
* Get an item error.
|
|
40126
40134
|
*/
|
|
40127
|
-
itemError:
|
|
40135
|
+
itemError: tt((t, e) => t.lazyLoadedItems?.errors[e ?? Ur])
|
|
40128
40136
|
}, r1 = /* @__PURE__ */ s((t) => Array.isArray(t) ? t.length > 0 && t.some(r1) : !!t, "itemHasChildren"), cq = /* @__PURE__ */ s(({
|
|
40129
40137
|
itemId: t,
|
|
40130
40138
|
children: e
|
|
@@ -41653,10 +41661,10 @@ const es = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
|
|
|
41653
41661
|
return e;
|
|
41654
41662
|
}
|
|
41655
41663
|
}, "getFuncionarioTooltipLine"), Hq = /* @__PURE__ */ s((t) => t ? typeof t == "string" ? t.trim() : typeof t == "object" && !Array.isArray(t) ? String(t.fillista || t.filgrilla || "").trim() : "" : "", "normalizeFilgrilla"), fT = /* @__PURE__ */ s((t, e) => e ? !t || t === "null" ? e : `(${t}) AND (${e})` : t, "combineFillista"), qq = /* @__PURE__ */ s(({ onRecordsLoaded: t }) => {
|
|
41656
|
-
const { data: e = [], isPending: n, isLoading: r, isFetching: o } = Ii(), i =
|
|
41664
|
+
const { data: e = [], isPending: n, isLoading: r, isFetching: o } = Ii(), i = nt(
|
|
41657
41665
|
() => Array.isArray(e) ? e : Object.values(e),
|
|
41658
41666
|
[e]
|
|
41659
|
-
), a =
|
|
41667
|
+
), a = nt(
|
|
41660
41668
|
() => i.map((u) => String(u.id)).join("|"),
|
|
41661
41669
|
[i]
|
|
41662
41670
|
), l = S.useRef(i);
|
|
@@ -41859,20 +41867,20 @@ const es = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
|
|
|
41859
41867
|
onStatusFilterChange: a,
|
|
41860
41868
|
initialFilterKey: l = Al[0].key,
|
|
41861
41869
|
filterOptionKeys: u
|
|
41862
|
-
} = t, d =
|
|
41870
|
+
} = t, d = nt(() => !Array.isArray(u) || u.length === 0 ? Al : Al.filter(
|
|
41863
41871
|
(j) => u.includes(j.key)
|
|
41864
41872
|
), [u]), [p, f] = Ae(Jq), [h, m] = Ae([]), [g, y] = Ae(null), [v, x] = Ae(!0), [O, C] = Ae(!1), [w, T] = Ae(
|
|
41865
41873
|
d.find((j) => j.key === l) || d[0] || Al[0]
|
|
41866
|
-
), E = qo(), M = ur(), A = !!g, I =
|
|
41874
|
+
), E = qo(), M = ur(), A = !!g, I = nt(
|
|
41867
41875
|
() => Hq(e),
|
|
41868
41876
|
[e]
|
|
41869
|
-
), $ =
|
|
41877
|
+
), $ = nt(
|
|
41870
41878
|
() => ({
|
|
41871
41879
|
...n || {},
|
|
41872
41880
|
...w.getMeta()
|
|
41873
41881
|
}),
|
|
41874
41882
|
[n, w]
|
|
41875
|
-
), P =
|
|
41883
|
+
), P = nt(
|
|
41876
41884
|
() => [
|
|
41877
41885
|
w.key,
|
|
41878
41886
|
JSON.stringify(p),
|
|
@@ -42368,9 +42376,9 @@ const es = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
|
|
|
42368
42376
|
for (const je of ve) {
|
|
42369
42377
|
if (typeof je != "function")
|
|
42370
42378
|
continue;
|
|
42371
|
-
const
|
|
42372
|
-
if (
|
|
42373
|
-
return
|
|
42379
|
+
const Ye = je(te, m.getValues(), t);
|
|
42380
|
+
if (Ye)
|
|
42381
|
+
return Ye;
|
|
42374
42382
|
}
|
|
42375
42383
|
return !0;
|
|
42376
42384
|
}, "validate")
|
|
@@ -42380,7 +42388,7 @@ const es = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
|
|
|
42380
42388
|
rules: _
|
|
42381
42389
|
}), { [e]: B = {} } = y, F = Qr(t), G = B.onChange === void 0 ? n : B.onChange, j = M !== !1 && P !== !1, [K, X] = Ae(
|
|
42382
42390
|
es(P)
|
|
42383
|
-
), Q =
|
|
42391
|
+
), Q = nt(
|
|
42384
42392
|
() => Jm.find((te) => te.value === K) || Jm[0],
|
|
42385
42393
|
[K]
|
|
42386
42394
|
);
|
|
@@ -42410,10 +42418,10 @@ const es = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
|
|
|
42410
42418
|
return String(te) === te ? te === "" ? "Ninguno" : "Selección (1)" : !te || ve.all ? E === !1 ? "Ninguno" : ve.soloActivos === "A" ? "Activos" : ve.soloActivos === "E" ? "Egresados" : "Todos" : ve.none || dd(ve.seleccion).length === 0 ? "Ninguno" : `Selección (${dd(ve.seleccion).length})`;
|
|
42411
42419
|
},
|
|
42412
42420
|
[K, Q.label, E, j]
|
|
42413
|
-
), H = z.value, Z =
|
|
42421
|
+
), H = z.value, Z = nt(
|
|
42414
42422
|
() => q(H),
|
|
42415
42423
|
[H, q]
|
|
42416
|
-
), ee =
|
|
42424
|
+
), ee = nt(() => {
|
|
42417
42425
|
const te = pd(H, {
|
|
42418
42426
|
soloActivos: K
|
|
42419
42427
|
});
|
|
@@ -42537,31 +42545,31 @@ const es = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
|
|
|
42537
42545
|
);
|
|
42538
42546
|
},
|
|
42539
42547
|
[K, J, m, e]
|
|
42540
|
-
),
|
|
42548
|
+
), Ke = Le(
|
|
42541
42549
|
async (te) => {
|
|
42542
42550
|
const ve = String(u || "").trim();
|
|
42543
42551
|
if (!A || ve === "")
|
|
42544
42552
|
return;
|
|
42545
42553
|
let je = !1;
|
|
42546
42554
|
I && (I(F, g, te), je = !0);
|
|
42547
|
-
let
|
|
42555
|
+
let Ye = null;
|
|
42548
42556
|
try {
|
|
42549
|
-
|
|
42557
|
+
Ye = await jq(
|
|
42550
42558
|
f,
|
|
42551
42559
|
ve,
|
|
42552
42560
|
K
|
|
42553
42561
|
);
|
|
42554
42562
|
} catch {
|
|
42555
|
-
|
|
42563
|
+
Ye = null;
|
|
42556
42564
|
}
|
|
42557
|
-
if (!
|
|
42565
|
+
if (!Ye) {
|
|
42558
42566
|
d(""), h(`El funcionario '${ve}' no existe`, {
|
|
42559
42567
|
type: "error"
|
|
42560
42568
|
}), je && $?.(F, g, te);
|
|
42561
42569
|
return;
|
|
42562
42570
|
}
|
|
42563
42571
|
je && ($?.(F, g, te), je = !1), ie(te, {
|
|
42564
|
-
seleccion: String(
|
|
42572
|
+
seleccion: String(Ye.funcod || "").trim(),
|
|
42565
42573
|
all: !1,
|
|
42566
42574
|
none: !1
|
|
42567
42575
|
}), d("");
|
|
@@ -42610,10 +42618,10 @@ const es = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
|
|
|
42610
42618
|
d(ve);
|
|
42611
42619
|
}, "onChange"),
|
|
42612
42620
|
onBlur: /* @__PURE__ */ s((te) => {
|
|
42613
|
-
z.onBlur(),
|
|
42621
|
+
z.onBlur(), Ke(te);
|
|
42614
42622
|
}, "onBlur"),
|
|
42615
42623
|
onKeyDown: /* @__PURE__ */ s((te) => {
|
|
42616
|
-
te.key === "Enter" && (te.preventDefault(),
|
|
42624
|
+
te.key === "Enter" && (te.preventDefault(), Ke(te));
|
|
42617
42625
|
}, "onKeyDown"),
|
|
42618
42626
|
error: !!V.error,
|
|
42619
42627
|
helperText: V.error?.message || "",
|
|
@@ -55688,7 +55696,7 @@ Kn.prototype = {
|
|
|
55688
55696
|
return o.j[t] = a, a;
|
|
55689
55697
|
}
|
|
55690
55698
|
};
|
|
55691
|
-
const
|
|
55699
|
+
const et = /* @__PURE__ */ s((t, e, n, r, o) => t.ta(e, n, r, o), "ta"), hr = /* @__PURE__ */ s((t, e, n, r, o) => t.tr(e, n, r, o), "tr"), xE = /* @__PURE__ */ s((t, e, n, r, o) => t.ts(e, n, r, o), "ts"), ge = /* @__PURE__ */ s((t, e, n, r, o) => t.tt(e, n, r, o), "tt"), Ao = "WORD", T0 = "UWORD", Uc = "LOCALHOST", E0 = "TLD", O0 = "UTLD", Bd = "SCHEME", da = "SLASH_SCHEME", O1 = "NUM", p2 = "WS", k1 = "NL", rc = "OPENBRACE", oc = "CLOSEBRACE", Wp = "OPENBRACKET", Hp = "CLOSEBRACKET", qp = "OPENPAREN", Up = "CLOSEPAREN", Gp = "OPENANGLEBRACKET", Kp = "CLOSEANGLEBRACKET", Yp = "FULLWIDTHLEFTPAREN", Jp = "FULLWIDTHRIGHTPAREN", Xp = "LEFTCORNERBRACKET", Qp = "RIGHTCORNERBRACKET", Zp = "LEFTWHITECORNERBRACKET", ef = "RIGHTWHITECORNERBRACKET", tf = "FULLWIDTHLESSTHAN", nf = "FULLWIDTHGREATERTHAN", rf = "AMPERSAND", of = "APOSTROPHE", sf = "ASTERISK", ai = "AT", af = "BACKSLASH", lf = "BACKTICK", cf = "CARET", fi = "COLON", M1 = "COMMA", uf = "DOLLAR", ro = "DOT", df = "EQUALS", I1 = "EXCLAMATION", oo = "HYPHEN", pf = "PERCENT", ff = "PIPE", hf = "PLUS", mf = "POUND", gf = "QUERY", R1 = "QUOTE", P1 = "SEMI", io = "SLASH", ic = "TILDE", yf = "UNDERSCORE", f2 = "EMOJI", bf = "SYM";
|
|
55692
55700
|
var h2 = /* @__PURE__ */ Object.freeze({
|
|
55693
55701
|
__proto__: null,
|
|
55694
55702
|
WORD: Ao,
|
|
@@ -56116,33 +56124,33 @@ function eX(t) {
|
|
|
56116
56124
|
groups: e
|
|
56117
56125
|
} = t;
|
|
56118
56126
|
const n = e.domain.concat([rf, sf, ai, af, lf, cf, uf, df, oo, O1, pf, ff, hf, mf, io, bf, ic, yf]), r = [of, fi, M1, ro, I1, gf, R1, P1, Gp, Kp, rc, oc, Hp, Wp, qp, Up, Yp, Jp, Xp, Qp, Zp, ef, tf, nf], o = [rf, of, sf, af, lf, cf, uf, df, oo, rc, oc, pf, ff, hf, mf, gf, io, bf, ic, yf], i = mr(), a = ge(i, ic);
|
|
56119
|
-
|
|
56127
|
+
et(a, o, a), et(a, e.domain, a);
|
|
56120
56128
|
const l = mr(), u = mr(), d = mr();
|
|
56121
|
-
|
|
56129
|
+
et(i, e.domain, l), et(i, e.scheme, u), et(i, e.slashscheme, d), et(l, o, a), et(l, e.domain, l);
|
|
56122
56130
|
const p = ge(l, ai);
|
|
56123
56131
|
ge(a, ai, p), ge(u, ai, p), ge(d, ai, p);
|
|
56124
56132
|
const f = ge(a, ro);
|
|
56125
|
-
|
|
56133
|
+
et(f, o, a), et(f, e.domain, a);
|
|
56126
56134
|
const h = mr();
|
|
56127
|
-
|
|
56135
|
+
et(p, e.domain, h), et(h, e.domain, h);
|
|
56128
56136
|
const m = ge(h, ro);
|
|
56129
|
-
|
|
56137
|
+
et(m, e.domain, h);
|
|
56130
56138
|
const g = mr(OE);
|
|
56131
|
-
|
|
56139
|
+
et(m, e.tld, g), et(m, e.utld, g), ge(p, Uc, g);
|
|
56132
56140
|
const y = ge(h, oo);
|
|
56133
|
-
|
|
56141
|
+
et(y, e.domain, h), et(g, e.domain, h), ge(g, ro, m), ge(g, oo, y);
|
|
56134
56142
|
const v = ge(g, fi);
|
|
56135
|
-
|
|
56143
|
+
et(v, e.numeric, OE);
|
|
56136
56144
|
const x = ge(l, oo), O = ge(l, ro);
|
|
56137
|
-
|
|
56145
|
+
et(x, e.domain, l), et(O, o, a), et(O, e.domain, l);
|
|
56138
56146
|
const C = mr(xd);
|
|
56139
|
-
|
|
56147
|
+
et(O, e.tld, C), et(O, e.utld, C), et(C, e.domain, l), et(C, o, a), ge(C, ro, O), ge(C, oo, x), ge(C, ai, p);
|
|
56140
56148
|
const w = ge(C, fi), T = mr(xd);
|
|
56141
|
-
|
|
56149
|
+
et(w, e.numeric, T);
|
|
56142
56150
|
const E = mr(xd), M = mr();
|
|
56143
|
-
|
|
56151
|
+
et(E, n, E), et(E, r, M), et(M, n, E), et(M, r, M), ge(C, io, E), ge(T, io, E);
|
|
56144
56152
|
const A = ge(u, fi), I = ge(d, fi), $ = ge(I, io), P = ge($, io);
|
|
56145
|
-
|
|
56153
|
+
et(u, e.domain, l), ge(u, ro, O), ge(u, oo, x), et(d, e.domain, l), ge(d, ro, O), ge(d, oo, x), et(A, e.domain, E), ge(A, io, E), et(P, e.domain, E), et(P, n, E), ge(P, io, E);
|
|
56146
56154
|
const k = [
|
|
56147
56155
|
[rc, oc],
|
|
56148
56156
|
// {}
|
|
@@ -56165,9 +56173,9 @@ function eX(t) {
|
|
|
56165
56173
|
const [L, R] = k[N], D = ge(E, L);
|
|
56166
56174
|
ge(M, L, D), ge(D, R, E);
|
|
56167
56175
|
const _ = mr(xd);
|
|
56168
|
-
|
|
56176
|
+
et(D, n, _);
|
|
56169
56177
|
const z = mr();
|
|
56170
|
-
|
|
56178
|
+
et(D, r), et(_, n, _), et(_, r, z), et(z, n, _), et(z, r, z), ge(_, R, E), ge(z, R, E);
|
|
56171
56179
|
}
|
|
56172
56180
|
return ge(i, Uc, C), ge(i, k1, ZJ), {
|
|
56173
56181
|
start: i,
|
|
@@ -57102,7 +57110,7 @@ const RX = Yt({
|
|
|
57102
57110
|
RX.Consumer;
|
|
57103
57111
|
const PX = Yt({
|
|
57104
57112
|
onDragStart: void 0
|
|
57105
|
-
}), AX = /* @__PURE__ */ s(() =>
|
|
57113
|
+
}), AX = /* @__PURE__ */ s(() => rt(PX), "useReactNodeView");
|
|
57106
57114
|
St.forwardRef((t, e) => {
|
|
57107
57115
|
const { onDragStart: n } = AX(), r = t.as || "div";
|
|
57108
57116
|
return (
|
|
@@ -59196,7 +59204,7 @@ const Hl = /* @__PURE__ */ W0(SZ), xZ = {
|
|
|
59196
59204
|
getLocale: /* @__PURE__ */ s(() => "en", "getLocale")
|
|
59197
59205
|
}, O2 = Yt(xZ);
|
|
59198
59206
|
O2.displayName = "I18nContext";
|
|
59199
|
-
const CZ = /* @__PURE__ */ s(() =>
|
|
59207
|
+
const CZ = /* @__PURE__ */ s(() => rt(O2), "useI18nProvider"), Br = /* @__PURE__ */ s(() => {
|
|
59200
59208
|
const t = CZ(), e = Le(
|
|
59201
59209
|
(n, r) => t.translate(n, r),
|
|
59202
59210
|
// update the hook each time the locale changes
|
|
@@ -59204,12 +59212,12 @@ const CZ = /* @__PURE__ */ s(() => nt(O2), "useI18nProvider"), Br = /* @__PURE__
|
|
|
59204
59212
|
);
|
|
59205
59213
|
return t ? e : wZ;
|
|
59206
59214
|
}, "useTranslate"), wZ = /* @__PURE__ */ s((t) => t, "identity"), TZ = Yt(void 0), k2 = /* @__PURE__ */ s((t) => {
|
|
59207
|
-
const e =
|
|
59215
|
+
const e = rt(TZ);
|
|
59208
59216
|
return t && t.resource || e;
|
|
59209
59217
|
}, "useResourceContext"), M2 = Yt(void 0);
|
|
59210
59218
|
M2.displayName = "RecordContext";
|
|
59211
59219
|
const I2 = /* @__PURE__ */ s((t) => {
|
|
59212
|
-
const e =
|
|
59220
|
+
const e = rt(M2);
|
|
59213
59221
|
return t && t.record || e;
|
|
59214
59222
|
}, "useRecordContext");
|
|
59215
59223
|
var EZ = E2();
|
|
@@ -59271,9 +59279,9 @@ const NZ = /* @__PURE__ */ s((t) => t && t.isRequired ? !0 : Array.isArray(t) ?
|
|
|
59271
59279
|
}
|
|
59272
59280
|
d(a, { defaultValue: r });
|
|
59273
59281
|
});
|
|
59274
|
-
}, "useApplyInputDefaultValues"), $Z = /^\d+$/, LZ = Yt(null), FZ = /* @__PURE__ */ s(() =>
|
|
59282
|
+
}, "useApplyInputDefaultValues"), $Z = /^\d+$/, LZ = Yt(null), FZ = /* @__PURE__ */ s(() => rt(LZ), "useFormGroupContext"), P2 = Yt(void 0);
|
|
59275
59283
|
P2.displayName = "FormGroupsContext";
|
|
59276
|
-
const _Z = /* @__PURE__ */ s(() =>
|
|
59284
|
+
const _Z = /* @__PURE__ */ s(() => rt(P2), "useFormGroups"), Yh = Yt(void 0);
|
|
59277
59285
|
Yh.displayName = "SourceContext";
|
|
59278
59286
|
const BZ = {
|
|
59279
59287
|
getSource: /* @__PURE__ */ s((t) => t, "getSource"),
|
|
@@ -59281,9 +59289,9 @@ const BZ = {
|
|
|
59281
59289
|
};
|
|
59282
59290
|
Yh.Provider;
|
|
59283
59291
|
const zZ = /* @__PURE__ */ s(() => {
|
|
59284
|
-
const t =
|
|
59292
|
+
const t = rt(Yh);
|
|
59285
59293
|
return t || BZ;
|
|
59286
|
-
}, "useSourceContext"), VZ = /* @__PURE__ */ s(() =>
|
|
59294
|
+
}, "useSourceContext"), VZ = /* @__PURE__ */ s(() => rt(Yh), "useOptionalSourceContext"), A2 = /* @__PURE__ */ s((t) => zZ().getSource(t), "useWrappedSource");
|
|
59287
59295
|
var ct = {}, zO;
|
|
59288
59296
|
function jZ() {
|
|
59289
59297
|
if (zO) return ct;
|
|
@@ -60102,7 +60110,7 @@ const Sf = "RaLabeled", xf = {
|
|
|
60102
60110
|
}), "FormatStrikethrough"), aee = ye(/* @__PURE__ */ b("path", {
|
|
60103
60111
|
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"
|
|
60104
60112
|
}), "Code"), $2 = Yt(void 0), Oo = /* @__PURE__ */ s(() => {
|
|
60105
|
-
const [t, e] = Ae(!1), n =
|
|
60113
|
+
const [t, e] = Ae(!1), n = rt($2);
|
|
60106
60114
|
return Ne(() => {
|
|
60107
60115
|
const r = /* @__PURE__ */ s(() => {
|
|
60108
60116
|
e(!0);
|