biblio-react 3.0.21 → 3.0.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -6,11 +6,11 @@ import { jsx as b, jsxs as Y, Fragment as Yn } from "react/jsx-runtime";
6
6
  import * as S from "react";
7
7
  import St, { forwardRef as Kc, useContext as nt, createElement as cx, isValidElement as wr, cloneElement as Kn, Children as bc, createContext as Xt, useState as Pe, useMemo as tt, useRef as rn, useCallback as Le, useEffect as Ae, Fragment as Tr, useImperativeHandle as CN, memo as ek, useDebugValue as tk, useId as wN } from "react";
8
8
  import { MenuItem as bo, ListItemIcon as xs, ListItemText as Cs, useMediaQuery as Ir, Typography as Sa, Box as Me, useTheme as Yc, Card as Fv, CardHeader as TN, Divider as EN, CardContent as nk, Stack as Jc, IconButton as Pn, Tooltip as Ur, createTheme as ON, ThemeProvider as kN, Chip as Oy, Menu as $a, alpha as MN, StyledEngineProvider as rk, CircularProgress as ok, DialogTitle as ky, Dialog as jd, DialogContent as My, Collapse as IN, List as ik, Switch as RN, DialogActions as ux, Button as dx, Paper as sk, Table as PN, TableHead as AN, TableRow as px, TableCell as ji, Skeleton as Wi, TableBody as NN, ToggleButtonGroup as Ff, ToggleButton as wn, ListItem as DN, ListItemButton as $N, FormHelperText as LN } from "@mui/material";
9
- import { useTranslate as lt, useUserMenu as FN, useResourceDefinitions as _v, AppBar as _N, UserMenu as BN, Logout as zN, required as VN, TopToolbar as ak, ShowButton as jN, useNotify as _f, useDataProvider as Uo, useResourceContext as pt, useListContext as Ii, useRedirect as Go, useUnselectAll as WN, ResourceDefinitionContext as lk, useStoreContext as HN, NumberField as qN, DateField as fx, TextField as Dl, ReferenceField as UN, useResourceDefinition as Bf, useGetResourceLabel as zf, ResourceContextProvider as xa, useLocaleState as Bv, BulkActionsToolbar as ck, Button as Fn, useRecordContext as Nr, useInput as Xc, useGetList as uk, Labeled as zv, Confirm as Vf, Form as rl, SaveButton as Qc, useGetOne as dk, useCreateController as GN, CreateContextProvider as KN, useDeleteWithConfirmController as YN, Toolbar as pk, ToolbarClasses as JN, useDelete as fk, useSaveContext as XN, Create as QN, Loading as Ws, useListController as ZN, ListContextProvider as hk, List as mk, Filter as eD, SearchInput as gk, Pagination as tD, Edit as nD, useEditContext as rD, useSidebarState as yk, Menu as oD, DashboardMenuItem as iD, MenuItemLink as bk, Layout as sD, FilterContext as aD, FilterButton as lD, sanitizeListRestProps as cD, useLogin as uD, TextInput as _o, PasswordInput as vk, Show as dD, useShowContext as pD, useCreatePath as fD, useSplatPathBase as hD, getTabbedFormTabFullPath as Nu, TabbedFormTabs as Sk, defaultTheme as xk, FormTab as mD, BooleanField as gD, ImageInput as yD, ImageField as bD, FileInput as vD, BooleanInput as SD, ReferenceInput as Ck, AutocompleteInput as wk, useChoicesContext as Tk, SelectInput as xD, ReferenceArrayInput as CD, AutocompleteArrayInput as wD, RadioButtonGroupInput as Ek, useRecordSelection as Ok, ListActions as TD, Datagrid as ED, SelectAllButton as OD, ValidationError as kD, FieldTitle as kk } from "react-admin";
9
+ import { useTranslate as lt, useUserMenu as FN, useResourceDefinitions as _v, AppBar as _N, UserMenu as BN, Logout as zN, required as VN, TopToolbar as ak, ShowButton as jN, useNotify as _f, useDataProvider as Go, useResourceContext as pt, useListContext as Ii, useRedirect as Ko, useUnselectAll as WN, ResourceDefinitionContext as lk, useStoreContext as HN, NumberField as qN, DateField as fx, TextField as Dl, ReferenceField as UN, useResourceDefinition as Bf, useGetResourceLabel as zf, ResourceContextProvider as xa, useLocaleState as Bv, BulkActionsToolbar as ck, Button as Fn, useRecordContext as Nr, useInput as Xc, useGetList as uk, Labeled as zv, Confirm as Vf, Form as rl, SaveButton as Qc, useGetOne as dk, useCreateController as GN, CreateContextProvider as KN, useDeleteWithConfirmController as YN, Toolbar as pk, ToolbarClasses as JN, useDelete as fk, useSaveContext as XN, Create as QN, Loading as Ws, useListController as ZN, ListContextProvider as hk, List as mk, Filter as eD, SearchInput as gk, Pagination as tD, Edit as nD, useEditContext as rD, useSidebarState as yk, Menu as oD, DashboardMenuItem as iD, MenuItemLink as bk, Layout as sD, FilterContext as aD, FilterButton as lD, sanitizeListRestProps as cD, useLogin as uD, TextInput as Bo, PasswordInput as vk, Show as dD, useShowContext as pD, useCreatePath as fD, useSplatPathBase as hD, getTabbedFormTabFullPath as Nu, TabbedFormTabs as Sk, defaultTheme as xk, FormTab as mD, BooleanField as gD, ImageInput as yD, ImageField as bD, FileInput as vD, BooleanInput as SD, ReferenceInput as Ck, AutocompleteInput as wk, useChoicesContext as Tk, SelectInput as xD, ReferenceArrayInput as CD, AutocompleteArrayInput as wD, RadioButtonGroupInput as Ek, useRecordSelection as Ok, ListActions as TD, Datagrid as ED, SelectAllButton as OD, ValidationError as kD, FieldTitle as kk } from "react-admin";
10
10
  import { Link as Iy, useNavigate as jf, useLocation as lr, Routes as Mk, Route as Ik, useParams as Rk, matchPath as vc } from "react-router-dom";
11
11
  import { useGridApiContext as Ri, useGridSelector as Ns, gridColumnVisibilityModelSelector as Pk, gridRowSelectionIdsSelector as MD, gridColumnDefinitionsSelector as Ak, GridColumnIcon as ID, gridSortModelSelector as RD, GridArrowUpwardIcon as PD, GridArrowDownwardIcon as AD, GridToolbarFilterButton as ND, GridToolbarExportContainer as DD, useGridRootProps as Nk, GridToolbarContainer as $D, GridClearIcon as LD, GridToolbarQuickFilter as FD, GridPivotIcon as _D, getGridDateOperators as BD, useGridApiRef as Vv, gridClasses as Ry, useKeepGroupedColumnsHidden as Dk, GridActionsCellItem as Zs, isAutogeneratedRow as Du, DataGridPremium as jv } from "@mui/x-data-grid-premium";
12
12
  import { useFormContext as kn, useFormState as zD, useWatch as VD, useController as $k } from "react-hook-form";
13
- import { useDispatch as Ko, useSelector as Wv } from "react-redux";
13
+ import { useDispatch as Yo, useSelector as Wv } from "react-redux";
14
14
  import { isAfter as jD } from "date-fns";
15
15
  import { useMutation as WD, useQueryClient as Hv } from "@tanstack/react-query";
16
16
  import * as Py from "react-dom";
@@ -34,14 +34,14 @@ const hx = /* @__PURE__ */ s((t) => t, "defaultGenerator$1"), qD = /* @__PURE__
34
34
  }
35
35
  };
36
36
  }, "createClassNameGenerator$1"), Bk = qD();
37
- function Vo(t, ...e) {
37
+ function jo(t, ...e) {
38
38
  const n = new URL(`https://mui.com/production-error/?code=${t}`);
39
39
  return e.forEach((r) => n.searchParams.append("args[]", r)), `Minified MUI error #${t}; visit ${n} for the full message.`;
40
40
  }
41
- s(Vo, "formatMuiErrorMessage");
41
+ s(jo, "formatMuiErrorMessage");
42
42
  function pe(t) {
43
43
  if (typeof t != "string")
44
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : Vo(7));
44
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : jo(7));
45
45
  return t.charAt(0).toUpperCase() + t.slice(1);
46
46
  }
47
47
  s(pe, "capitalize");
@@ -3854,12 +3854,12 @@ function wi(t) {
3854
3854
  const e = t.indexOf("("), n = t.substring(0, e);
3855
3855
  if (!["rgb", "rgba", "hsl", "hsla", "color"].includes(n))
3856
3856
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${t}\` color.
3857
- The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : Vo(9, t));
3857
+ The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : jo(9, t));
3858
3858
  let r = t.substring(e + 1, t.length - 1), o;
3859
3859
  if (n === "color") {
3860
3860
  if (r = r.split(" "), o = r.shift(), r.length === 4 && r[3].charAt(0) === "/" && (r[3] = r[3].slice(1)), !["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].includes(o))
3861
3861
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${o}\` color space.
3862
- The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : Vo(10, o));
3862
+ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : jo(10, o));
3863
3863
  } else
3864
3864
  r = r.split(",");
3865
3865
  return r = r.map((i) => parseFloat(i)), {
@@ -5523,7 +5523,7 @@ function d0(t) {
5523
5523
  ...v
5524
5524
  }, !v.main && v[E] && (v.main = v[E]), !v.hasOwnProperty("main"))
5525
5525
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${x ? ` (${x})` : ""} provided to augmentColor(color) is invalid.
5526
- The color object needs to have a \`main\` property or a \`${E}\` property.` : Vo(11, x ? ` (${x})` : "", E));
5526
+ The color object needs to have a \`main\` property or a \`${E}\` property.` : jo(11, x ? ` (${x})` : "", E));
5527
5527
  if (typeof v.main != "string")
5528
5528
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${x ? ` (${x})` : ""} provided to augmentColor(color) is invalid.
5529
5529
  \`color.main\` should be a string, but \`${JSON.stringify(v.main)}\` was provided instead.
@@ -5538,7 +5538,7 @@ const theme1 = createTheme({ palette: {
5538
5538
 
5539
5539
  const theme2 = createTheme({ palette: {
5540
5540
  primary: { main: green[500] },
5541
- } });` : Vo(12, x ? ` (${x})` : "", JSON.stringify(v.main)));
5541
+ } });` : jo(12, x ? ` (${x})` : "", JSON.stringify(v.main)));
5542
5542
  return o ? (iC(o, v, "light", C, r), iC(o, v, "dark", w, r)) : (oC(v, "light", C, r), oC(v, "dark", w, r)), v.contrastText || (v.contrastText = m(v.main)), v;
5543
5543
  }, "augmentColor");
5544
5544
  let y;
@@ -5857,7 +5857,7 @@ function zy(t = {}, ...e) {
5857
5857
  if (t.vars && // The error should throw only for the root theme creation because user is not allowed to use a custom node `vars`.
5858
5858
  // `generateThemeVars` is the closest identifier for checking that the `options` is a result of `createTheme` with CSS variables so that user can create new theme for nested ThemeProvider.
5859
5859
  t.generateThemeVars === void 0)
5860
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature." : Vo(20));
5860
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature." : jo(20));
5861
5861
  const f = d0({
5862
5862
  ...i,
5863
5863
  colorSpace: d
@@ -6013,11 +6013,11 @@ function Fl(t) {
6013
6013
  return typeof t != "string" || !t.startsWith("hsl") ? t : mM(t);
6014
6014
  }
6015
6015
  s(Fl, "toRgb");
6016
- function Io(t, e) {
6016
+ function Ro(t, e) {
6017
6017
  `${e}Channel` in t || (t[`${e}Channel`] = Ll(Fl(t[e]), `MUI: Can't create \`palette.${e}Channel\` because \`palette.${e}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
6018
6018
  To suppress this warning, you need to explicitly provide the \`palette.${e}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`));
6019
6019
  }
6020
- s(Io, "setColorChannel");
6020
+ s(Ro, "setColorChannel");
6021
6021
  function V_(t) {
6022
6022
  return typeof t == "number" ? `${t}px` : typeof t == "string" || typeof t == "function" || Array.isArray(t) ? t : "8px";
6023
6023
  }
@@ -6089,7 +6089,7 @@ function W_(t = {}, ...e) {
6089
6089
  };
6090
6090
  let C = y;
6091
6091
  if ((m === "dark" && !("dark" in n) || m === "light" && !("light" in n)) && (C = !0), !C)
6092
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${m}\` option is either missing or invalid.` : Vo(21, m));
6092
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${m}\` option is either missing or invalid.` : jo(21, m));
6093
6093
  let w;
6094
6094
  a && (w = "oklch");
6095
6095
  const T = xm(w, E, C, p, m);
@@ -6131,9 +6131,9 @@ function W_(t = {}, ...e) {
6131
6131
  const L = w ? $(wt, a ? h("palette-background-default") : k.background.default, 0.985) : Vu(k.background.default, 0.98);
6132
6132
  re(k.SnackbarContent, "bg", L), re(k.SnackbarContent, "color", to(() => w ? CM.text.primary : k.getContrastText(L))), re(k.SpeedDialAction, "fabHoverBg", Vu(k.background.paper, 0.15)), re(k.StepConnector, "border", N("palette-grey-600")), re(k.StepContent, "border", N("palette-grey-600")), re(k.Switch, "defaultColor", N("palette-grey-300")), re(k.Switch, "defaultDisabledColor", N("palette-grey-600")), re(k.Switch, "primaryDisabledColor", $(Ct, a ? h("palette-primary-main") : k.primary.main, 0.55)), re(k.Switch, "secondaryDisabledColor", $(Ct, a ? h("palette-secondary-main") : k.secondary.main, 0.55)), re(k.Switch, "errorDisabledColor", $(Ct, a ? h("palette-error-main") : k.error.main, 0.55)), re(k.Switch, "infoDisabledColor", $(Ct, a ? h("palette-info-main") : k.info.main, 0.55)), re(k.Switch, "successDisabledColor", $(Ct, a ? h("palette-success-main") : k.success.main, 0.55)), re(k.Switch, "warningDisabledColor", $(Ct, a ? h("palette-warning-light") : k.warning.main, 0.55)), re(k.TableCell, "border", $(Ct, Hi(a ? h("palette-divider") : k.divider, 1), 0.68)), re(k.Tooltip, "bg", $(Hi, a ? h("palette-grey-700") : k.grey[700], 0.92));
6133
6133
  }
6134
- Io(k.background, "default"), Io(k.background, "paper"), Io(k.common, "background"), Io(k.common, "onBackground"), Io(k, "divider"), Object.keys(k).forEach((L) => {
6134
+ Ro(k.background, "default"), Ro(k.background, "paper"), Ro(k.common, "background"), Ro(k.common, "onBackground"), Ro(k, "divider"), Object.keys(k).forEach((L) => {
6135
6135
  const I = k[L];
6136
- L !== "tonalOffset" && I && typeof I == "object" && (I.main && re(k[L], "mainChannel", Ll(Fl(I.main))), I.light && re(k[L], "lightChannel", Ll(Fl(I.light))), I.dark && re(k[L], "darkChannel", Ll(Fl(I.dark))), I.contrastText && re(k[L], "contrastTextChannel", Ll(Fl(I.contrastText))), L === "text" && (Io(k[L], "primary"), Io(k[L], "secondary")), L === "action" && (I.active && Io(k[L], "active"), I.selected && Io(k[L], "selected")));
6136
+ L !== "tonalOffset" && I && typeof I == "object" && (I.main && re(k[L], "mainChannel", Ll(Fl(I.main))), I.light && re(k[L], "lightChannel", Ll(Fl(I.light))), I.dark && re(k[L], "darkChannel", Ll(Fl(I.dark))), I.contrastText && re(k[L], "contrastTextChannel", Ll(Fl(I.contrastText))), L === "text" && (Ro(k[L], "primary"), Ro(k[L], "secondary")), L === "action" && (I.active && Ro(k[L], "active"), I.selected && Ro(k[L], "selected")));
6137
6137
  });
6138
6138
  }), O = e.reduce((P, k) => pn(P, k), O);
6139
6139
  const M = {
@@ -7929,7 +7929,7 @@ m0.propTypes = process.env.NODE_ENV !== "production" ? {
7929
7929
  } : {};
7930
7930
  m0.defaultProps = EB;
7931
7931
  const g0 = /* @__PURE__ */ s((t) => t.scrollTop, "reflow");
7932
- function jo(t, e) {
7932
+ function Wo(t, e) {
7933
7933
  const {
7934
7934
  timeout: n,
7935
7935
  easing: r,
@@ -7941,7 +7941,7 @@ function jo(t, e) {
7941
7941
  delay: o.transitionDelay
7942
7942
  };
7943
7943
  }
7944
- s(jo, "getTransitionProps");
7944
+ s(Wo, "getTransitionProps");
7945
7945
  const OB = {
7946
7946
  entering: {
7947
7947
  opacity: 1
@@ -7977,7 +7977,7 @@ const OB = {
7977
7977
  }
7978
7978
  }, "normalizedTransitionCallback"), M = O(m), A = O(($, L) => {
7979
7979
  g0($);
7980
- const I = jo({
7980
+ const I = Wo({
7981
7981
  style: v,
7982
7982
  timeout: x,
7983
7983
  easing: u
@@ -7986,7 +7986,7 @@ const OB = {
7986
7986
  });
7987
7987
  $.style.webkitTransition = r.transitions.create("opacity", I), $.style.transition = r.transitions.create("opacity", I), p && p($, L);
7988
7988
  }), R = O(f), D = O(g), P = O(($) => {
7989
- const L = jo({
7989
+ const L = Wo({
7990
7990
  style: v,
7991
7991
  timeout: x,
7992
7992
  easing: u
@@ -9975,7 +9975,7 @@ const WM = Xt(), _a = /* @__PURE__ */ s(({ children: t }) => {
9975
9975
  [l, u, r, i]
9976
9976
  );
9977
9977
  return n && !e ? t : /* @__PURE__ */ b(Gy.Provider, { value: d, children: t });
9978
- }, "AsistenteProvider"), Yo = /* @__PURE__ */ s(() => nt(Gy), "useAsistente"), SC = !1, xC = "mui", HM = Xt(), CC = /* @__PURE__ */ s(({
9978
+ }, "AsistenteProvider"), Jo = /* @__PURE__ */ s(() => nt(Gy), "useAsistente"), SC = !1, xC = "mui", HM = Xt(), CC = /* @__PURE__ */ s(({
9979
9979
  hasCreate: t,
9980
9980
  hasSeleccionMultiple: e,
9981
9981
  chkSeleccion: n,
@@ -10037,7 +10037,7 @@ const WM = Xt(), _a = /* @__PURE__ */ s(({ children: t }) => {
10037
10037
  ]
10038
10038
  );
10039
10039
  return /* @__PURE__ */ b(HM.Provider, { value: x, children: a });
10040
- }, "GrillaEtriekProvider"), Jo = /* @__PURE__ */ s(() => nt(HM), "useGrillaEtriek"), g5 = /* @__PURE__ */ s((t, e, n, r, o) => ({
10040
+ }, "GrillaEtriekProvider"), Xo = /* @__PURE__ */ s(() => nt(HM), "useGrillaEtriek"), g5 = /* @__PURE__ */ s((t, e, n, r, o) => ({
10041
10041
  type: "RELOAD_CB",
10042
10042
  payload: {
10043
10043
  id: t,
@@ -10893,7 +10893,7 @@ const V5 = /^(\d+)(th|st|nd|rd)?/i, j5 = /\d+/i, W5 = {
10893
10893
  };
10894
10894
  let wC = 0;
10895
10895
  const Yy = /* @__PURE__ */ s((t = "scope") => (wC += 1, `${t}-${wC}`), "createReduxScope"), x0 = /* @__PURE__ */ s((t, e, n) => Array.isArray(t) && t.find((r) => r?.id === e && r?.scope === n) || null, "findReduxScopedItem"), C0 = Xt({}), mu = Xt(void 0), Mc = Xt(), w0 = /* @__PURE__ */ s(({ value: t, children: e }) => {
10896
- const [n, r] = Pe({}), o = Ko(), i = t.scopeIdentity ?? t.estado ?? "ficha", a = rn(i), [l, u] = Pe(
10896
+ const [n, r] = Pe({}), o = Yo(), i = t.scopeIdentity ?? t.estado ?? "ficha", a = rn(i), [l, u] = Pe(
10897
10897
  () => Yy("ficha")
10898
10898
  );
10899
10899
  Ae(() => {
@@ -10934,7 +10934,7 @@ const Yy = /* @__PURE__ */ s((t = "scope") => (wC += 1, `${t}-${wC}`), "createRe
10934
10934
  }, "FichaProvider"), Ft = /* @__PURE__ */ s(() => nt(C0) || {}, "useFicha"), UM = /* @__PURE__ */ s((t) => {
10935
10935
  const e = nt(Mc);
10936
10936
  return t?.id || e;
10937
- }, "useIdContext"), Xo = /* @__PURE__ */ s(() => {
10937
+ }, "useIdContext"), Qo = /* @__PURE__ */ s(() => {
10938
10938
  const t = nt(C0) || {};
10939
10939
  return nt(mu)?.reduxScope || t?.reduxScope;
10940
10940
  }, "useReduxScope"), Wn = /* @__PURE__ */ s((t) => {
@@ -10943,7 +10943,7 @@ const Yy = /* @__PURE__ */ s((t = "scope") => (wC += 1, `${t}-${wC}`), "createRe
10943
10943
  isLoading: r,
10944
10944
  fichaProps: o = {},
10945
10945
  propsContenidos: i = {}
10946
- } = Ft(), l = nt(mu) !== void 0, u = Xo(), d = Wv((ze) => x0(ze.configInputs, e, u)), {
10946
+ } = Ft(), l = nt(mu) !== void 0, u = Qo(), d = Wv((ze) => x0(ze.configInputs, e, u)), {
10947
10947
  conts: p = []
10948
10948
  //user = [],
10949
10949
  } = nt(Nn) || {}, {
@@ -11263,7 +11263,7 @@ const Yy = /* @__PURE__ */ s((t = "scope") => (wC += 1, `${t}-${wC}`), "createRe
11263
11263
  });
11264
11264
  }, "abrirVentanaSistema");
11265
11265
  }, "useAbrirVentanaSistema"), XM = /* @__PURE__ */ s(() => {
11266
- const t = Ko(), e = Xo();
11266
+ const t = Yo(), e = Qo();
11267
11267
  return Le(
11268
11268
  (n, r, o, i) => {
11269
11269
  t(g5(n, r, o, i, e));
@@ -11271,7 +11271,7 @@ const Yy = /* @__PURE__ */ s((t = "scope") => (wC += 1, `${t}-${wC}`), "createRe
11271
11271
  [t, e]
11272
11272
  );
11273
11273
  }, "useRecargarComboBox"), QM = /* @__PURE__ */ s(() => {
11274
- const t = Ko(), e = Xo();
11274
+ const t = Yo(), e = Qo();
11275
11275
  return Le(
11276
11276
  (n, r) => {
11277
11277
  t(b5(n, r, e));
@@ -11279,7 +11279,7 @@ const Yy = /* @__PURE__ */ s((t = "scope") => (wC += 1, `${t}-${wC}`), "createRe
11279
11279
  [t, e]
11280
11280
  );
11281
11281
  }, "useSetHidden"), ZM = /* @__PURE__ */ s(() => {
11282
- const t = Ko(), e = Xo();
11282
+ const t = Yo(), e = Qo();
11283
11283
  return Le(
11284
11284
  (n, r) => {
11285
11285
  t(v5(n, r, e));
@@ -11287,7 +11287,7 @@ const Yy = /* @__PURE__ */ s((t = "scope") => (wC += 1, `${t}-${wC}`), "createRe
11287
11287
  [t, e]
11288
11288
  );
11289
11289
  }, "useSetDisable"), eI = /* @__PURE__ */ s(() => {
11290
- const t = Ko(), e = Xo();
11290
+ const t = Yo(), e = Qo();
11291
11291
  return Le(
11292
11292
  (n, r) => {
11293
11293
  t(S5(n, r, e));
@@ -11295,7 +11295,7 @@ const Yy = /* @__PURE__ */ s((t = "scope") => (wC += 1, `${t}-${wC}`), "createRe
11295
11295
  [t, e]
11296
11296
  );
11297
11297
  }, "useSetRequire"), tI = /* @__PURE__ */ s(() => {
11298
- const t = Ko(), e = Xo();
11298
+ const t = Yo(), e = Qo();
11299
11299
  return Le(
11300
11300
  (n, r) => {
11301
11301
  t(x5(n, r, e));
@@ -11303,7 +11303,7 @@ const Yy = /* @__PURE__ */ s((t = "scope") => (wC += 1, `${t}-${wC}`), "createRe
11303
11303
  [t, e]
11304
11304
  );
11305
11305
  }, "useSetError"), nI = /* @__PURE__ */ s(() => {
11306
- const t = Ko(), e = Xo();
11306
+ const t = Yo(), e = Qo();
11307
11307
  return Le(
11308
11308
  (n, r) => {
11309
11309
  t(C5(n, r, e));
@@ -11321,7 +11321,7 @@ const Yy = /* @__PURE__ */ s((t = "scope") => (wC += 1, `${t}-${wC}`), "createRe
11321
11321
  );
11322
11322
  };
11323
11323
  }, "useNotifyEtriek"), _4 = /* @__PURE__ */ s((t, e, n = !1) => {
11324
- const r = Uo(), { mutateAsync: o, isFetching: i } = WD({
11324
+ const r = Go(), { mutateAsync: o, isFetching: i } = WD({
11325
11325
  mutationFn: /* @__PURE__ */ s((a) => {
11326
11326
  const { method: l, params: u } = a;
11327
11327
  return r.getJson(t, {
@@ -11362,7 +11362,7 @@ const Yy = /* @__PURE__ */ s((t = "scope") => (wC += 1, `${t}-${wC}`), "createRe
11362
11362
  n.refetchQueries({ queryKey: [e], type: "active" });
11363
11363
  }, [n, e]);
11364
11364
  }, "useResourceRefresh"), gu = /* @__PURE__ */ s(() => ({}), "useDefaultHook"), uh = /* @__PURE__ */ s((t) => {
11365
- const e = Ii(), n = _r(), r = Go(), o = jf(), i = sl(), a = pt(t), l = sI(t), u = WN(a), d = Yo(), p = Jo(), f = lt(), m = JM(), [h] = T0(a), y = nt(lk), g = _v(), v = `lista_${a.split("_")[1]}`, { getItem: x } = HN(), E = x(`${v}.selectedIds`), C = x(`${v}.selectedDetails`), w = /* @__PURE__ */ s((T) => {
11365
+ const e = Ii(), n = _r(), r = Ko(), o = jf(), i = sl(), a = pt(t), l = sI(t), u = WN(a), d = Jo(), p = Xo(), f = lt(), m = JM(), [h] = T0(a), y = nt(lk), g = _v(), v = `lista_${a.split("_")[1]}`, { getItem: x } = HN(), E = x(`${v}.selectedIds`), C = x(`${v}.selectedDetails`), w = /* @__PURE__ */ s((T) => {
11366
11366
  const O = T?.name;
11367
11367
  !O || g?.[O] || y?.register?.(T);
11368
11368
  }, "registerResource");
@@ -11388,7 +11388,7 @@ const Yy = /* @__PURE__ */ s((t = "scope") => (wC += 1, `${t}-${wC}`), "createRe
11388
11388
  registerResource: w
11389
11389
  };
11390
11390
  }, "useUtilsGrilla"), qte = /* @__PURE__ */ s((t) => {
11391
- const e = XM(), n = QM(), r = ZM(), o = eI(), i = tI(), a = nI(), l = sl(), u = _r(), d = Go(), p = jf(), f = pt(t), m = Yo(), {
11391
+ const e = XM(), n = QM(), r = ZM(), o = eI(), i = tI(), a = nI(), l = sl(), u = _r(), d = Ko(), p = jf(), f = pt(t), m = Jo(), {
11392
11392
  propsContenidos: h,
11393
11393
  setPropsContenidos: y,
11394
11394
  fichaProps: { etrs: g = {} } = {}
@@ -11421,7 +11421,7 @@ const Yy = /* @__PURE__ */ s((t = "scope") => (wC += 1, `${t}-${wC}`), "createRe
11421
11421
  }, [r, !!o]);
11422
11422
  const a = /* @__PURE__ */ s(() => o || Cl.get(r)?.form || null, "getForm"), l = /* @__PURE__ */ s((...$) => a()?.trigger?.(...$), "trigger"), u = /* @__PURE__ */ s(($) => (L, I) => {
11423
11423
  $(L, I), setTimeout(() => l(L), 0);
11424
- }, "withRevalidate"), d = iI(), p = XM(), f = QM(), m = ZM(), h = eI(), y = tI(), g = nI(), v = sl(), x = _r(), E = Go(), C = jf(), w = Yo(), T = JM(), O = nt(lk), M = _v(), {
11424
+ }, "withRevalidate"), d = iI(), p = XM(), f = QM(), m = ZM(), h = eI(), y = tI(), g = nI(), v = sl(), x = _r(), E = Ko(), C = jf(), w = Jo(), T = JM(), O = nt(lk), M = _v(), {
11425
11425
  propsContenidos: A,
11426
11426
  setPropsContenidos: R,
11427
11427
  fichaProps: { etrs: D = {} } = {}
@@ -12906,10 +12906,10 @@ function OI(t, e) {
12906
12906
  return !1;
12907
12907
  }
12908
12908
  s(OI, "contains");
12909
- function Wo(t) {
12909
+ function Ho(t) {
12910
12910
  return sr(t).getComputedStyle(t);
12911
12911
  }
12912
- s(Wo, "getComputedStyle$1");
12912
+ s(Ho, "getComputedStyle$1");
12913
12913
  function Jz(t) {
12914
12914
  return ["table", "td", "th"].indexOf(wo(t)) >= 0;
12915
12915
  }
@@ -12936,19 +12936,19 @@ function fh(t) {
12936
12936
  s(fh, "getParentNode");
12937
12937
  function kC(t) {
12938
12938
  return !Or(t) || // https://github.com/popperjs/popper-core/issues/837
12939
- Wo(t).position === "fixed" ? null : t.offsetParent;
12939
+ Ho(t).position === "fixed" ? null : t.offsetParent;
12940
12940
  }
12941
12941
  s(kC, "getTrueOffsetParent");
12942
12942
  function Xz(t) {
12943
12943
  var e = /firefox/i.test(Zy()), n = /Trident/i.test(Zy());
12944
12944
  if (n && Or(t)) {
12945
- var r = Wo(t);
12945
+ var r = Ho(t);
12946
12946
  if (r.position === "fixed")
12947
12947
  return null;
12948
12948
  }
12949
12949
  var o = fh(t);
12950
12950
  for (I0(o) && (o = o.host); Or(o) && ["html", "body"].indexOf(wo(o)) < 0; ) {
12951
- var i = Wo(o);
12951
+ var i = Ho(o);
12952
12952
  if (i.transform !== "none" || i.perspective !== "none" || i.contain === "paint" || ["transform", "perspective"].indexOf(i.willChange) !== -1 || e && i.willChange === "filter" || e && i.filter && i.filter !== "none")
12953
12953
  return o;
12954
12954
  o = o.parentNode;
@@ -12957,9 +12957,9 @@ function Xz(t) {
12957
12957
  }
12958
12958
  s(Xz, "getContainingBlock");
12959
12959
  function bu(t) {
12960
- for (var e = sr(t), n = kC(t); n && Jz(n) && Wo(n).position === "static"; )
12960
+ for (var e = sr(t), n = kC(t); n && Jz(n) && Ho(n).position === "static"; )
12961
12961
  n = kC(n);
12962
- return n && (wo(n) === "html" || wo(n) === "body" && Wo(n).position === "static") ? e : n || Xz(t) || e;
12962
+ return n && (wo(n) === "html" || wo(n) === "body" && Ho(n).position === "static") ? e : n || Xz(t) || e;
12963
12963
  }
12964
12964
  s(bu, "getOffsetParent");
12965
12965
  function P0(t) {
@@ -13051,7 +13051,7 @@ function MC(t) {
13051
13051
  var x = a.hasOwnProperty("x"), E = a.hasOwnProperty("y"), C = Xn, w = Jn, T = window;
13052
13052
  if (d) {
13053
13053
  var O = bu(n), M = "clientHeight", A = "clientWidth";
13054
- if (O === sr(n) && (O = Ai(n), Wo(O).position !== "static" && l === "absolute" && (M = "scrollHeight", A = "scrollWidth")), O = O, o === Jn || (o === Xn || o === Ar) && i === Rc) {
13054
+ if (O === sr(n) && (O = Ai(n), Ho(O).position !== "static" && l === "absolute" && (M = "scrollHeight", A = "scrollWidth")), O = O, o === Jn || (o === Xn || o === Ar) && i === Rc) {
13055
13055
  w = Pr;
13056
13056
  var R = f && O === T && T.visualViewport ? T.visualViewport.height : (
13057
13057
  // $FlowFixMe[prop-missing]
@@ -13189,7 +13189,7 @@ function d3(t, e) {
13189
13189
  s(d3, "getViewportRect");
13190
13190
  function p3(t) {
13191
13191
  var e, n = Ai(t), r = A0(t), o = (e = t.ownerDocument) == null ? void 0 : e.body, i = ws(n.scrollWidth, n.clientWidth, o ? o.scrollWidth : 0, o ? o.clientWidth : 0), a = ws(n.scrollHeight, n.clientHeight, o ? o.scrollHeight : 0, o ? o.clientHeight : 0), l = -r.scrollLeft + N0(t), u = -r.scrollTop;
13192
- return Wo(o || n).direction === "rtl" && (l += ws(n.clientWidth, o ? o.clientWidth : 0) - i), {
13192
+ return Ho(o || n).direction === "rtl" && (l += ws(n.clientWidth, o ? o.clientWidth : 0) - i), {
13193
13193
  width: i,
13194
13194
  height: a,
13195
13195
  x: l,
@@ -13198,7 +13198,7 @@ function p3(t) {
13198
13198
  }
13199
13199
  s(p3, "getDocumentRect");
13200
13200
  function D0(t) {
13201
- var e = Wo(t), n = e.overflow, r = e.overflowX, o = e.overflowY;
13201
+ var e = Ho(t), n = e.overflow, r = e.overflowX, o = e.overflowY;
13202
13202
  return /auto|scroll|overlay|hidden/.test(n + o + r);
13203
13203
  }
13204
13204
  s(D0, "isScrollParent");
@@ -13235,7 +13235,7 @@ function RC(t, e, n) {
13235
13235
  }
13236
13236
  s(RC, "getClientRectFromMixedType");
13237
13237
  function h3(t) {
13238
- var e = Yl(fh(t)), n = ["absolute", "fixed"].indexOf(Wo(t).position) >= 0, r = n && Or(t) ? bu(t) : t;
13238
+ var e = Yl(fh(t)), n = ["absolute", "fixed"].indexOf(Ho(t).position) >= 0, r = n && Or(t) ? bu(t) : t;
13239
13239
  return $s(r) ? e.filter(function(o) {
13240
13240
  return $s(o) && OI(o, r) && wo(o) !== "body";
13241
13241
  }) : [];
@@ -14773,9 +14773,9 @@ const aV = _e("MuiButtonBase", ["root", "disabled", "focusVisible"]), lV = /* @_
14773
14773
  S.useEffect(() => {
14774
14774
  F && m && !p && V.pulsate();
14775
14775
  }, [p, m, F, V]);
14776
- const q = Ro(V, "start", M, f), K = Ro(V, "stop", x, f), ee = Ro(V, "stop", E, f), j = Ro(V, "stop", R, f), G = Ro(V, "stop", (ye) => {
14776
+ const q = Po(V, "start", M, f), K = Po(V, "stop", x, f), ee = Po(V, "stop", E, f), j = Po(V, "stop", R, f), G = Po(V, "stop", (ye) => {
14777
14777
  F && ye.preventDefault(), A && A(ye);
14778
- }, f), Z = Ro(V, "start", k, f), te = Ro(V, "stop", D, f), ae = Ro(V, "stop", P, f), H = Ro(V, "stop", (ye) => {
14778
+ }, f), Z = Po(V, "start", k, f), te = Po(V, "stop", D, f), ae = Po(V, "stop", P, f), H = Po(V, "stop", (ye) => {
14779
14779
  Ha(ye.target) || W(!1), g && g(ye);
14780
14780
  }, !1), ve = _n((ye) => {
14781
14781
  z.current || (z.current = ye.currentTarget), Ha(ye.target) && (W(!0), w && w(ye)), C && C(ye);
@@ -14839,10 +14839,10 @@ const aV = _e("MuiButtonBase", ["root", "disabled", "focusVisible"]), lV = /* @_
14839
14839
  }) : null]
14840
14840
  });
14841
14841
  }, "ButtonBase"));
14842
- function Ro(t, e, n, r = !1) {
14842
+ function Po(t, e, n, r = !1) {
14843
14843
  return _n((o) => (n && n(o), r || t[e](o), !0));
14844
14844
  }
14845
- s(Ro, "useRippleHandler");
14845
+ s(Po, "useRippleHandler");
14846
14846
  process.env.NODE_ENV !== "production" && (Ni.propTypes = {
14847
14847
  // ┌────────────────────────────── Warning ──────────────────────────────┐
14848
14848
  // │ These PropTypes are generated from the TypeScript type definitions. │
@@ -15754,7 +15754,7 @@ const gh = /* @__PURE__ */ s((t, e) => {
15754
15754
  if (!G) {
15755
15755
  const ot = Ne.target || Z.current;
15756
15756
  if (ot == null)
15757
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info." : Vo(1));
15757
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info." : jo(1));
15758
15758
  ge({
15759
15759
  value: ot.value
15760
15760
  });
@@ -17373,7 +17373,7 @@ const GV = /* @__PURE__ */ s((t) => {
17373
17373
  marginTop: 8
17374
17374
  }
17375
17375
  }]
17376
- }))), Lo = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
17376
+ }))), Fo = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
17377
17377
  const r = Be({
17378
17378
  props: e,
17379
17379
  name: "MuiListItemIcon"
@@ -17391,7 +17391,7 @@ const GV = /* @__PURE__ */ s((t) => {
17391
17391
  ...i
17392
17392
  });
17393
17393
  }, "ListItemIcon"));
17394
- process.env.NODE_ENV !== "production" && (Lo.propTypes = {
17394
+ process.env.NODE_ENV !== "production" && (Fo.propTypes = {
17395
17395
  // ┌────────────────────────────── Warning ──────────────────────────────┐
17396
17396
  // │ These PropTypes are generated from the TypeScript type definitions. │
17397
17397
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -20491,7 +20491,7 @@ const Nj = {
20491
20491
  duration: _,
20492
20492
  delay: z,
20493
20493
  easing: V
20494
- } = jo({
20494
+ } = Wo({
20495
20495
  style: y,
20496
20496
  timeout: g,
20497
20497
  easing: a
@@ -20512,7 +20512,7 @@ const Nj = {
20512
20512
  duration: I,
20513
20513
  delay: _,
20514
20514
  easing: z
20515
- } = jo({
20515
+ } = Wo({
20516
20516
  style: y,
20517
20517
  timeout: g,
20518
20518
  easing: a
@@ -21823,7 +21823,7 @@ const Qj = /* @__PURE__ */ s((t) => {
21823
21823
  let He;
21824
21824
  if (E) {
21825
21825
  if (!Array.isArray(F))
21826
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: The `value` prop must be an array when using the `Select` component with `multiple`." : Vo(2));
21826
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: The `value` prop must be an array when using the `Select` component with `multiple`." : jo(2));
21827
21827
  He = F.some((ct) => ew(ct, we.props.value)), He && ce && Xe.push(we.props.children);
21828
21828
  } else
21829
21829
  He = ew(F, we.props.value), He && ce && (Tt = we.props.children);
@@ -26205,12 +26205,12 @@ const xt = /* @__PURE__ */ s((...t) => {
26205
26205
  }, "createSelector"), Nt = /* @__PURE__ */ s((...t) => {
26206
26206
  const e = ul(...t);
26207
26207
  return /* @__PURE__ */ s((r, o, i, a) => e(V0(r), o, i, a), "selector");
26208
- }, "createSelectorMemoized"), Qo = /* @__PURE__ */ s((t) => (e, n) => t(V0(e), n), "createRootSelector");
26208
+ }, "createSelectorMemoized"), Zo = /* @__PURE__ */ s((t) => (e, n) => t(V0(e), n), "createRootSelector");
26209
26209
  function V0(t) {
26210
26210
  return "current" in t ? t.current.state : t;
26211
26211
  }
26212
26212
  s(V0, "unwrapIfNeeded");
26213
- const Qr = Qo((t) => t.rows);
26213
+ const Qr = Zo((t) => t.rows);
26214
26214
  xt(Qr, (t) => t.totalRowCount);
26215
26215
  xt(Qr, (t) => t.loading);
26216
26216
  xt(Qr, (t) => t.totalTopLevelRowCount);
@@ -26546,9 +26546,9 @@ let ub = H1;
26546
26546
  const EW = /* @__PURE__ */ s((t) => t.type === "include" ? new cb(t) : new ub(t), "createRowSelectionManager"), db = {
26547
26547
  left: [],
26548
26548
  right: []
26549
- }, cR = Qo((t) => t.props.listView ?? !1), OW = Qo((t) => t.listViewColumn), Su = Qo((t) => t.columns), uR = xt(Su, (t) => t.orderedFields), dR = xt(Su, (t) => t.lookup), Ih = Nt(uR, dR, (t, e) => t.map((n) => e[n])), kW = xt(Su, (t) => t.columnVisibilityModel);
26549
+ }, cR = Zo((t) => t.props.listView ?? !1), OW = Zo((t) => t.listViewColumn), Su = Zo((t) => t.columns), uR = xt(Su, (t) => t.orderedFields), dR = xt(Su, (t) => t.lookup), Ih = Nt(uR, dR, (t, e) => t.map((n) => e[n])), kW = xt(Su, (t) => t.columnVisibilityModel);
26550
26550
  xt(Su, (t) => t.initialColumnVisibilityModel);
26551
- const pR = Nt(Ih, kW, cR, OW, (t, e, n, r) => n && r ? [r] : t.filter((o) => e[o.field] !== !1)), MW = Nt(pR, (t) => t.map((e) => e.field)), fR = Qo((t) => t.pinnedColumns);
26551
+ const pR = Nt(Ih, kW, cR, OW, (t, e, n, r) => n && r ? [r] : t.filter((o) => e[o.field] !== !1)), MW = Nt(pR, (t) => t.map((e) => e.field)), fR = Zo((t) => t.pinnedColumns);
26552
26552
  Nt(fR, uR, (t, e) => hR(t, e));
26553
26553
  Nt(Su, fR, MW, cR, (t, e, n, r) => {
26554
26554
  if (r)
@@ -26585,7 +26585,7 @@ function mR(t) {
26585
26585
  return !0;
26586
26586
  }
26587
26587
  s(mR, "isObjectEmpty");
26588
- const gR = Qo((t) => t.sorting), yR = xt(gR, (t) => t.sortedRows), bR = Nt(yR, kh, Mh, (t, e, n) => t.reduce((r, o) => {
26588
+ const gR = Zo((t) => t.sorting), yR = xt(gR, (t) => t.sortedRows), bR = Nt(yR, kh, Mh, (t, e, n) => t.reduce((r, o) => {
26589
26589
  const i = e[o];
26590
26590
  if (i)
26591
26591
  r.push({
@@ -26608,9 +26608,9 @@ Nt(IW, (t) => t.reduce((n, r, o) => (n[r.field] = {
26608
26608
  sortIndex: t.length > 1 ? o + 1 : void 0
26609
26609
  }, n), {}));
26610
26610
  Nt(yR, (t) => t.reduce((e, n, r) => (e[n] = r, e), /* @__PURE__ */ Object.create(null)));
26611
- const Rh = Qo((t) => t.filter), vR = xt(Rh, (t) => t.filterModel);
26611
+ const Rh = Zo((t) => t.filter), vR = xt(Rh, (t) => t.filterModel);
26612
26612
  xt(vR, (t) => t.quickFilterValues);
26613
- const RW = Qo((t) => t.visibleRowsLookup), PW = xt(Rh, (t) => t.filteredRowsLookup);
26613
+ const RW = Zo((t) => t.visibleRowsLookup), PW = xt(Rh, (t) => t.filteredRowsLookup);
26614
26614
  xt(Rh, (t) => t.filteredChildrenCountLookup);
26615
26615
  xt(Rh, (t) => t.filteredDescendantCountLookup);
26616
26616
  const SR = Nt(RW, bR, (t, e) => mR(t) ? e : e.filter((n) => t[n.id] !== !1)), xR = Nt(SR, (t) => t.map((e) => e.id)), j0 = Nt(PW, bR, (t, e) => mR(t) ? e : e.filter((n) => t[n.id] !== !1)), AW = Nt(j0, (t) => t.map((e) => e.id));
@@ -26640,7 +26640,7 @@ const LW = Nt(vR, dR, (t, e) => t.items?.filter((n) => {
26640
26640
  }));
26641
26641
  Nt(LW, (t) => t.reduce((n, r) => (n[r.field] ? n[r.field].push(r) : n[r.field] = [r], n), {}));
26642
26642
  Nt(xR, (t) => t.reduce((e, n, r) => (e[n] = r, e), /* @__PURE__ */ Object.create(null)));
26643
- const W0 = Qo((t) => t.rowSelection);
26643
+ const W0 = Zo((t) => t.rowSelection);
26644
26644
  Nt(W0, EW);
26645
26645
  const FW = xt(W0, CR, (t, e) => t.type === "include" ? t.ids.size : e - t.ids.size);
26646
26646
  Nt(W0, kh, lR, (t, e, n) => {
@@ -26840,7 +26840,7 @@ const la = _e("MuiListItemButton", ["root", "focusVisible", "dense", "alignItems
26840
26840
  paddingBottom: 4
26841
26841
  }
26842
26842
  }]
26843
- }))), Fo = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
26843
+ }))), _o = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
26844
26844
  const r = Be({
26845
26845
  props: e,
26846
26846
  name: "MuiListItemButton"
@@ -26887,7 +26887,7 @@ const la = _e("MuiListItemButton", ["root", "focusVisible", "dense", "alignItems
26887
26887
  })
26888
26888
  });
26889
26889
  }, "ListItemButton"));
26890
- process.env.NODE_ENV !== "production" && (Fo.propTypes = {
26890
+ process.env.NODE_ENV !== "production" && (_o.propTypes = {
26891
26891
  // ┌────────────────────────────── Warning ──────────────────────────────┐
26892
26892
  // │ These PropTypes are generated from the TypeScript type definitions. │
26893
26893
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -27471,7 +27471,7 @@ const q0 = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
27471
27471
  }, "normalizedTransitionCallback"), D = R((z, V) => {
27472
27472
  Zu(p, z, d), g0(z), h && h(z, V);
27473
27473
  }), P = R((z, V) => {
27474
- const B = jo({
27474
+ const B = Wo({
27475
27475
  timeout: w,
27476
27476
  style: C,
27477
27477
  easing: f
@@ -27484,7 +27484,7 @@ const q0 = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ s(function(e, n) {
27484
27484
  ...B
27485
27485
  }), z.style.webkitTransform = "none", z.style.transform = "none", g && g(z, V);
27486
27486
  }), k = R(y), N = R(E), $ = R((z) => {
27487
- const V = jo({
27487
+ const V = Wo({
27488
27488
  timeout: w,
27489
27489
  style: C,
27490
27490
  easing: f
@@ -28117,7 +28117,7 @@ process.env.NODE_ENV !== "production" && (kR.propTypes = {
28117
28117
  width: c.number.isRequired
28118
28118
  });
28119
28119
  const ed = 3, $m = 20;
28120
- let Po = null;
28120
+ let Ao = null;
28121
28121
  function Lm(t, e, n) {
28122
28122
  return t === "right" ? n.body.offsetWidth - e[0].pageX : e[0].pageX;
28123
28123
  }
@@ -28218,7 +28218,7 @@ const cH = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
28218
28218
  } = G, ae = zl(o, a), H = ["right", "bottom"].includes(ae) ? 1 : -1, ve = es(a), le = ve ? `translate(${H * j}px, 0)` : `translate(0, ${H * j}px)`, X = I.current.style;
28219
28219
  X.webkitTransform = le, X.transform = le;
28220
28220
  let de = "";
28221
- if (Z && (de = o.transitions.create("all", jo({
28221
+ if (Z && (de = o.transitions.create("all", Wo({
28222
28222
  easing: void 0,
28223
28223
  style: void 0,
28224
28224
  timeout: O
@@ -28231,7 +28231,7 @@ const cH = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
28231
28231
  }, [a, l, p, o, O]), F = _n((j) => {
28232
28232
  if (!z.current)
28233
28233
  return;
28234
- if (Po = null, z.current = !1, Py.flushSync(() => {
28234
+ if (Ao = null, z.current = !1, Py.flushSync(() => {
28235
28235
  k(!1);
28236
28236
  }), !N.current.isSwiping) {
28237
28237
  N.current.isSwiping = null;
@@ -28262,11 +28262,11 @@ const cH = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
28262
28262
  }), N.current.velocity = 0, N.current.lastTime = null, N.current.lastTranslate = null, N.current.paperHit = !1, z.current = !0;
28263
28263
  }
28264
28264
  }, "startMaybeSwiping"), Q = _n((j) => {
28265
- if (!I.current || !z.current || Po !== null && Po !== N.current)
28265
+ if (!I.current || !z.current || Ao !== null && Ao !== N.current)
28266
28266
  return;
28267
28267
  W(!0);
28268
28268
  const G = zl(o, a), Z = es(a), te = Lm(G, j.touches, un(j.currentTarget)), ae = Fm(G, j.touches, En(j.currentTarget));
28269
- if (E && I.current.contains(j.target) && Po === null) {
28269
+ if (E && I.current.contains(j.target) && Ao === null) {
28270
28270
  const de = aH(j.target, I.current);
28271
28271
  if (lH({
28272
28272
  domTreeShapes: de,
@@ -28274,10 +28274,10 @@ const cH = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
28274
28274
  current: Z ? te : ae,
28275
28275
  anchor: a
28276
28276
  })) {
28277
- Po = !0;
28277
+ Ao = !0;
28278
28278
  return;
28279
28279
  }
28280
- Po = N.current;
28280
+ Ao = N.current;
28281
28281
  }
28282
28282
  if (N.current.isSwiping == null) {
28283
28283
  const de = Math.abs(te - N.current.startX), ie = Math.abs(ae - N.current.startY), ge = Z ? de > ie && de > ed : ie > de && ie > ed;
@@ -28318,7 +28318,7 @@ const cH = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
28318
28318
  } else if (ae > T)
28319
28319
  return;
28320
28320
  }
28321
- j.defaultMuiPrevented = !0, Po = null, N.current.startX = te, N.current.startY = ae, W();
28321
+ j.defaultMuiPrevented = !0, Ao = null, N.current.startX = te, N.current.startY = ae, W();
28322
28322
  });
28323
28323
  S.useEffect(() => {
28324
28324
  if (M === "temporary") {
@@ -28332,7 +28332,7 @@ const cH = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
28332
28332
  };
28333
28333
  }
28334
28334
  }, [M, E, q, Q, F]), S.useEffect(() => () => {
28335
- Po === N.current && (Po = null);
28335
+ Ao === N.current && (Ao = null);
28336
28336
  }, []), S.useEffect(() => {
28337
28337
  E || k(!1);
28338
28338
  }, [E]);
@@ -28702,12 +28702,12 @@ function dH(t) {
28702
28702
  /* @__PURE__ */ b(Oi, { children: l.map((p) => {
28703
28703
  const f = u[p.field] !== !1;
28704
28704
  return /* @__PURE__ */ b(Ph, { disablePadding: !0, children: /* @__PURE__ */ Y(
28705
- Fo,
28705
+ _o,
28706
28706
  {
28707
28707
  onClick: /* @__PURE__ */ s(() => d(p.field), "onClick"),
28708
28708
  disabled: p.hideable === !1,
28709
28709
  children: [
28710
- /* @__PURE__ */ b(Lo, { children: f ? /* @__PURE__ */ b(zW, { color: "primary" }) : /* @__PURE__ */ b(VW, {}) }),
28710
+ /* @__PURE__ */ b(Fo, { children: f ? /* @__PURE__ */ b(zW, { color: "primary" }) : /* @__PURE__ */ b(VW, {}) }),
28711
28711
  /* @__PURE__ */ b(yo, { children: p.headerName || p.field })
28712
28712
  ]
28713
28713
  }
@@ -28753,11 +28753,11 @@ function fH(t) {
28753
28753
  ), E = f[x];
28754
28754
  let C = "asc";
28755
28755
  return E && (C = E.sort === "asc" ? "desc" : null), /* @__PURE__ */ b(Ph, { disablePadding: !0, children: /* @__PURE__ */ Y(
28756
- Fo,
28756
+ _o,
28757
28757
  {
28758
28758
  onClick: /* @__PURE__ */ s(() => y(v.field, C), "onClick"),
28759
28759
  children: [
28760
- /* @__PURE__ */ b(Lo, { children: E && /* @__PURE__ */ b(
28760
+ /* @__PURE__ */ b(Fo, { children: E && /* @__PURE__ */ b(
28761
28761
  ob,
28762
28762
  {
28763
28763
  badgeContent: h > 1 ? x + 1 : null,
@@ -29033,7 +29033,7 @@ function wH(t) {
29033
29033
  hideGridToolbarActions: f = !0,
29034
29034
  pivotUi: m = "mui"
29035
29035
  }
29036
- } = Jo(), h = Ns(
29036
+ } = Xo(), h = Ns(
29037
29037
  l,
29038
29038
  FW
29039
29039
  ), y = i && h > 0, g = e && f && !a && !y, v = /* @__PURE__ */ s(() => {
@@ -29300,7 +29300,7 @@ const DR = Xt({ resolve: null }), Kte = /* @__PURE__ */ s(({ resolve: t, childre
29300
29300
  }, "removeStoredSize"), DH = /* @__PURE__ */ s((t, e) => {
29301
29301
  !t || !e || (t.style.width = `${Math.round(e.width)}px`, t.style.height = `${Math.round(e.height)}px`, t.style.maxWidth = `${Math.round(e.maxWidth)}px`, t.style.maxHeight = `${Math.round(e.maxHeight)}px`, t.style.minWidth = `${Math.round(e.minWidth)}px`, t.style.minHeight = `${Math.round(e.minHeight)}px`);
29302
29302
  }, "applyPopupSizeStyles"), pp = /* @__PURE__ */ s((t) => {
29303
- const e = lt(), n = pt(), r = t?.resource ?? n ?? "default", i = Jo()?.props, a = t?.dockviewTabParent === !0, l = S.useContext(Nn) || {}, u = l?.popup ?? l?.popupSize ?? null, d = S.useMemo(
29303
+ const e = lt(), n = pt(), r = t?.resource ?? n ?? "default", i = Xo()?.props, a = t?.dockviewTabParent === !0, l = S.useContext(Nn) || {}, u = l?.popup ?? l?.popupSize ?? null, d = S.useMemo(
29304
29304
  () => IH(u, t?.popupRatio),
29305
29305
  [u, t?.popupRatio]
29306
29306
  ), p = Ir((P) => P.breakpoints.down("sm")), [f, m] = S.useState(null), h = S.useMemo(
@@ -29500,7 +29500,7 @@ const DR = Xt({ resolve: null }), Kte = /* @__PURE__ */ s(({ resolve: t, childre
29500
29500
  const i = $H(e, o);
29501
29501
  return o?.container === void 0 && delete i.container, i;
29502
29502
  }, "resolvePopupDialogProps"), K0 = /* @__PURE__ */ s((t) => {
29503
- const e = pt(), n = t?.resource ?? e, r = zf(), o = lt(), i = _r(), a = Yo(), l = TH(), d = Jo()?.props, p = l?.resolve ? l.resolve(n) : null, f = pp({
29503
+ const e = pt(), n = t?.resource ?? e, r = zf(), o = lt(), i = _r(), a = Jo(), l = TH(), d = Xo()?.props, p = l?.resolve ? l.resolve(n) : null, f = pp({
29504
29504
  resource: n,
29505
29505
  popupRatio: t?.popupRatio
29506
29506
  }), m = pp({
@@ -29687,14 +29687,14 @@ const DR = Xt({ resolve: null }), Kte = /* @__PURE__ */ s(({ resolve: t, childre
29687
29687
  },
29688
29688
  children: /* @__PURE__ */ Y(Oi, { sx: { p: 2 }, children: [
29689
29689
  /* @__PURE__ */ Y(
29690
- Fo,
29690
+ _o,
29691
29691
  {
29692
29692
  disabled: C,
29693
29693
  onClick: /* @__PURE__ */ s(() => {
29694
29694
  f && f(), T || !r && a ? E({ id: O, record: e.row }) : r && x({ id: O, record: e.row });
29695
29695
  }, "onClick"),
29696
29696
  children: [
29697
- /* @__PURE__ */ b(Lo, { children: r ? T ? /* @__PURE__ */ b(np, { color: "inherit" }) : FH(
29697
+ /* @__PURE__ */ b(Fo, { children: r ? T ? /* @__PURE__ */ b(np, { color: "inherit" }) : FH(
29698
29698
  o,
29699
29699
  /* @__PURE__ */ b(
29700
29700
  gI,
@@ -29715,7 +29715,7 @@ const DR = Xt({ resolve: null }), Kte = /* @__PURE__ */ s(({ resolve: t, childre
29715
29715
  "editar_list"
29716
29716
  ),
29717
29717
  p && /* @__PURE__ */ Y(
29718
- Fo,
29718
+ _o,
29719
29719
  {
29720
29720
  onClick: /* @__PURE__ */ s(() => {
29721
29721
  f && f(), v({
@@ -29725,7 +29725,7 @@ const DR = Xt({ resolve: null }), Kte = /* @__PURE__ */ s(({ resolve: t, childre
29725
29725
  });
29726
29726
  }, "onClick"),
29727
29727
  children: [
29728
- /* @__PURE__ */ b(Lo, { children: /* @__PURE__ */ b(tp, {}) }),
29728
+ /* @__PURE__ */ b(Fo, { children: /* @__PURE__ */ b(tp, {}) }),
29729
29729
  /* @__PURE__ */ b(
29730
29730
  yo,
29731
29731
  {
@@ -29737,7 +29737,7 @@ const DR = Xt({ resolve: null }), Kte = /* @__PURE__ */ s(({ resolve: t, childre
29737
29737
  "nd_list"
29738
29738
  ),
29739
29739
  d && !w && /* @__PURE__ */ Y(
29740
- Fo,
29740
+ _o,
29741
29741
  {
29742
29742
  onClick: /* @__PURE__ */ s(() => {
29743
29743
  f && f(), x({
@@ -29747,7 +29747,7 @@ const DR = Xt({ resolve: null }), Kte = /* @__PURE__ */ s(({ resolve: t, childre
29747
29747
  });
29748
29748
  }, "onClick"),
29749
29749
  children: [
29750
- /* @__PURE__ */ b(Lo, { children: $R(
29750
+ /* @__PURE__ */ b(Fo, { children: $R(
29751
29751
  i,
29752
29752
  /* @__PURE__ */ b(uu, {})
29753
29753
  ) }),
@@ -29765,7 +29765,7 @@ const DR = Xt({ resolve: null }), Kte = /* @__PURE__ */ s(({ resolve: t, childre
29765
29765
  }
29766
29766
  ),
29767
29767
  /* @__PURE__ */ b(Me, { sx: { width: "100%" }, children: /* @__PURE__ */ b(Oi, { sx: { p: 2 }, children: n.map((M) => /* @__PURE__ */ Y(
29768
- Fo,
29768
+ _o,
29769
29769
  {
29770
29770
  onClick: /* @__PURE__ */ s(() => typeof M.handler == "function" ? (f && f(), M.handler(
29771
29771
  {
@@ -29775,7 +29775,7 @@ const DR = Xt({ resolve: null }), Kte = /* @__PURE__ */ s(({ resolve: t, childre
29775
29775
  M.key
29776
29776
  )) : !1, "onClick"),
29777
29777
  children: [
29778
- /* @__PURE__ */ b(Lo, { children: M.icon }),
29778
+ /* @__PURE__ */ b(Fo, { children: M.icon }),
29779
29779
  /* @__PURE__ */ b(yo, { children: M.label })
29780
29780
  ]
29781
29781
  },
@@ -30519,7 +30519,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
30519
30519
  ...Te
30520
30520
  },
30521
30521
  setProps: ye
30522
- } = Jo(), rt = A ?? ge, Ge = R ?? Ie, Tt = S.useCallback(
30522
+ } = Xo(), rt = A ?? ge, Ge = R ?? Ie, Tt = S.useCallback(
30523
30523
  (U) => {
30524
30524
  if (V.current = U, !!X) {
30525
30525
  if (typeof X == "function") {
@@ -30547,7 +30547,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
30547
30547
  ...Te?.aggregationFunctions || {}
30548
30548
  };
30549
30549
  return U.count || (U.count = Pw.count), U;
30550
- }, [I?.aggregationFunctions, Te?.aggregationFunctions]), we = Uo(), {
30550
+ }, [I?.aggregationFunctions, Te?.aggregationFunctions]), we = Go(), {
30551
30551
  data: He = [],
30552
30552
  isFetching: ct,
30553
30553
  selectedIds: _t,
@@ -30639,7 +30639,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
30639
30639
  getRows: /* @__PURE__ */ s(async (oe) => {
30640
30640
  const Ee = oe.pivotModel || {};
30641
30641
  fl.current = Ee;
30642
- const Ye = oe.start ?? 0, at = oe.end ?? Ye + 50, Gt = Math.max(1, at - Ye), ft = Math.floor(Ye / Gt) + 1, an = oe.sortModel ?? [], ti = an[0]?.field ?? sn.field ?? "id", xe = (an[0]?.sort ?? sn.order ?? "ASC").toUpperCase(), Ot = J.current?.state?.rowGrouping?.model?.[0], ln = x({
30642
+ const Ye = oe.start ?? 0, at = oe.end ?? Ye + 50, Gt = Math.max(1, at - Ye), ft = Math.floor(Ye / Gt) + 1, an = oe.sortModel ?? [], Io = an[0]?.field ?? sn.field ?? "id", xe = (an[0]?.sort ?? sn.order ?? "ASC").toUpperCase(), Ot = J.current?.state?.rowGrouping?.model?.[0], ln = x({
30643
30643
  groupingField: Ot,
30644
30644
  ...oe.filterModel || {}
30645
30645
  }), st = {
@@ -30669,7 +30669,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
30669
30669
  groupKeys: JSON.stringify(oe.groupKeys ?? [])
30670
30670
  }, nr = we.getList(G, {
30671
30671
  pagination: { page: ft, perPage: Gt },
30672
- sort: { field: ti, order: xe },
30672
+ sort: { field: Io, order: xe },
30673
30673
  filter: st,
30674
30674
  meta: Kt
30675
30675
  }).then((pr) => {
@@ -30760,7 +30760,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
30760
30760
  ), K2 = P ?? (Eu ? G2 : void 0), { showCreate: WS, showEdit: Qh, showShow: Y2 } = K0({ resource: G }), hl = nt(Nn) || {}, {
30761
30761
  user: Ou = [],
30762
30762
  lang: HS = []
30763
- } = hl, J2 = Ic(hl, "borrar") || Ic(hl, "delete"), ku = O && !J2, Zh = nt(KM), Zo = X0(), Mu = (J.current?.state?.rowGrouping?.model?.length ?? 0) > 0, qS = Mu && !ce ? `${B.h + 4}px` : 0;
30763
+ } = hl, J2 = Ic(hl, "borrar") || Ic(hl, "delete"), ku = O && !J2, Zh = nt(KM), ei = X0(), Mu = (J.current?.state?.rowGrouping?.model?.length ?? 0) > 0, qS = Mu && !ce ? `${B.h + 4}px` : 0;
30764
30764
  Ae(() => {
30765
30765
  if (!ce || Ge === "custom" || !J.current?.showSidebar || J.current?.state?.sidebar?.open && J.current?.state?.sidebar?.value === "pivot")
30766
30766
  return;
@@ -30842,7 +30842,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
30842
30842
  columnOrder: oe,
30843
30843
  columnasConfiguradas: Ee
30844
30844
  };
30845
- }, [US, GS]), ei = S.useMemo(
30845
+ }, [US, GS]), ti = S.useMemo(
30846
30846
  () => ({
30847
30847
  columns: {
30848
30848
  columnVisibilityModel: KS,
@@ -30852,13 +30852,13 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
30852
30852
  }),
30853
30853
  [KS, YS, Iu]
30854
30854
  ), em = S.useMemo(() => {
30855
- if (ei?.sorting?.sortModel?.length)
30856
- return ei.sorting;
30855
+ if (ti?.sorting?.sortModel?.length)
30856
+ return ti.sorting;
30857
30857
  if (sn.field) {
30858
30858
  const U = sn.order?.toLowerCase?.();
30859
30859
  return { sortModel: [{ field: sn.field, sort: U }] };
30860
30860
  }
30861
- }, [ei?.sorting, sn.field, sn.order]), Q2 = S.useCallback(
30861
+ }, [ti?.sorting, sn.field, sn.order]), Q2 = S.useCallback(
30862
30862
  (U = []) => {
30863
30863
  if (!ce) {
30864
30864
  try {
@@ -30882,7 +30882,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
30882
30882
  }, [J, ce]);
30883
30883
  const XS = ce || W ? [] : Js.length ? Js : Iu?.rowGrouping?.model ?? [], QS = S.useMemo(
30884
30884
  () => ({
30885
- ...ei,
30885
+ ...ti,
30886
30886
  ...em ? { sorting: em } : {},
30887
30887
  pinnedColumns: !W && !ce ? { right: ["actions"] } : {},
30888
30888
  rowGrouping: { model: XS }
@@ -30893,7 +30893,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
30893
30893
  // },
30894
30894
  //},
30895
30895
  }),
30896
- [XS, em, W, ei]
30896
+ [XS, em, W, ti]
30897
30897
  ), Z2 = Dk({
30898
30898
  apiRef: J,
30899
30899
  initialState: QS
@@ -30917,10 +30917,10 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
30917
30917
  hideable: !1,
30918
30918
  renderHeader: /* @__PURE__ */ s(() => /* @__PURE__ */ b(Yn, { children: n }), "renderHeader"),
30919
30919
  getActions: /* @__PURE__ */ s((U) => {
30920
- const Ee = J.current.getRowNode(U.id)?.children?.[0], Ye = !!C && typeof Ee == "string" && Ee.indexOf(`${C}=`) !== -1, at = !hb(U.row, a), Gt = !_R(
30920
+ const oe = J.current.getRowNode(U.id), Ee = oe?.children?.[0], Ye = !!C && typeof Ee == "string" && Ee.indexOf(`${C}=`) !== -1, at = !hb(U.row, a), Gt = !_R(
30921
30921
  U.row,
30922
30922
  l
30923
- ), ft = w && at, an = ZS.current, xe = (U.row?.id == null || U.row?.id === "") && Ye ? void 0 : U.row?.id ?? U.id, Ot = xe ? /* @__PURE__ */ b(
30923
+ ), ft = w && at, an = ZS.current, Io = (U.row?.id == null || U.row?.id === "") && Ye, xe = oe?.type === "group" || Io ? void 0 : U.row?.id ?? U.id, Ot = xe ? /* @__PURE__ */ b(
30924
30924
  Zs,
30925
30925
  {
30926
30926
  label: q("ra.action.show"),
@@ -31015,7 +31015,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
31015
31015
  color: at ? "inherit" : "primary"
31016
31016
  }
31017
31017
  ),
31018
- at ? void 0 : Zo.palette.primary.main
31018
+ at ? void 0 : ei.palette.primary.main
31019
31019
  ),
31020
31020
  disabled: at,
31021
31021
  onClick: /* @__PURE__ */ s((st) => {
@@ -31152,12 +31152,12 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
31152
31152
  qe
31153
31153
  ]
31154
31154
  ), rx = be.mouseX !== null && be.mouseY !== null, ox = S.useCallback(
31155
- (U) => (ei?.columns?.columnVisibilityModel || {})[U] !== !1,
31156
- [ei]
31155
+ (U) => (ti?.columns?.columnVisibilityModel || {})[U] !== !1,
31156
+ [ti]
31157
31157
  );
31158
31158
  S.useEffect(() => {
31159
31159
  if (!Js.length) {
31160
- const U = Iu?.rowGrouping?.model ?? ei?.rowGrouping?.model ?? [];
31160
+ const U = Iu?.rowGrouping?.model ?? ti?.rowGrouping?.model ?? [];
31161
31161
  if (Array.isArray(U) && U.length)
31162
31162
  try {
31163
31163
  localStorage.setItem(
@@ -31215,7 +31215,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
31215
31215
  primaryField: U,
31216
31216
  children: Ot
31217
31217
  }
31218
- ), "renderTypedCell"), an = Ee.renderCell, ti = k0(Ee, {
31218
+ ), "renderTypedCell"), an = Ee.renderCell, Io = k0(Ee, {
31219
31219
  columns: gl,
31220
31220
  primaryField: U
31221
31221
  });
@@ -31226,7 +31226,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
31226
31226
  align: "left",
31227
31227
  headerAlign: "left",
31228
31228
  colSpan: /* @__PURE__ */ s((xe, Ot) => Du(Ot) ? 0 : void 0, "colSpan"),
31229
- renderCell: /* @__PURE__ */ s((xe) => an ? ti ? ft(xe, an(xe)) : an(xe) : ft(
31229
+ renderCell: /* @__PURE__ */ s((xe) => an ? Io ? ft(xe, an(xe)) : an(xe) : ft(
31230
31230
  xe,
31231
31231
  xe?.formattedValue ?? xe?.value
31232
31232
  ), "renderCell")
@@ -31264,7 +31264,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
31264
31264
  }
31265
31265
  );
31266
31266
  }
31267
- return an ? ti ? ft(xe, an(xe)) : an(xe) : ft(xe, xe?.formattedValue ?? xe?.value);
31267
+ return an ? Io ? ft(xe, an(xe)) : an(xe) : ft(xe, xe?.formattedValue ?? xe?.value);
31268
31268
  }, "renderCell")
31269
31269
  };
31270
31270
  });
@@ -31387,17 +31387,17 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
31387
31387
  ...ce && {
31388
31388
  "& .MuiDataGrid-columnSeparator": {
31389
31389
  opacity: 1,
31390
- color: Zo.palette.text.disabled
31390
+ color: ei.palette.text.disabled
31391
31391
  },
31392
31392
  "& .MuiDataGrid-columnSeparator svg": {
31393
- color: Zo.palette.text.disabled,
31393
+ color: ei.palette.text.disabled,
31394
31394
  fontSize: 18
31395
31395
  },
31396
31396
  "& .MuiDataGrid-columnSeparator--sideRight": {
31397
31397
  right: -3
31398
31398
  },
31399
31399
  "& .MuiDataGrid-withBorderColor": {
31400
- borderColor: Zo.palette.divider
31400
+ borderColor: ei.palette.divider
31401
31401
  }
31402
31402
  },
31403
31403
  "& .metiri-group-row .MuiDataGrid-cell": /* @__PURE__ */ s((U) => ({
@@ -31492,7 +31492,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
31492
31492
  children: Z
31493
31493
  }
31494
31494
  ) : null,
31495
- /* @__PURE__ */ b(kN, { theme: Zo, children: /* @__PURE__ */ Y(
31495
+ /* @__PURE__ */ b(kN, { theme: ei, children: /* @__PURE__ */ Y(
31496
31496
  Me,
31497
31497
  {
31498
31498
  ref: Tt,
@@ -31691,11 +31691,11 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
31691
31691
  },
31692
31692
  paper: {
31693
31693
  sx: {
31694
- backgroundColor: Zo.palette.background.paper,
31694
+ backgroundColor: ei.palette.background.paper,
31695
31695
  backgroundImage: "none",
31696
31696
  border: 0,
31697
- boxShadow: Zo.shadows[8],
31698
- p: Zo.spacing(0.5)
31697
+ boxShadow: ei.shadows[8],
31698
+ p: ei.spacing(0.5)
31699
31699
  }
31700
31700
  }
31701
31701
  },
@@ -31716,7 +31716,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
31716
31716
  disabled: Gt,
31717
31717
  className: ft,
31718
31718
  sx: an,
31719
- closeMenuOnClick: ti,
31719
+ closeMenuOnClick: Io,
31720
31720
  inert: xe,
31721
31721
  onClick: Ot
31722
31722
  } = U || {};
@@ -31728,7 +31728,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
31728
31728
  sx: Fw(an),
31729
31729
  disableRipple: !!xe,
31730
31730
  onClick: /* @__PURE__ */ s((ln) => {
31731
- typeof Ot == "function" && Ot(ln), ti && Ne();
31731
+ typeof Ot == "function" && Ot(ln), Io && Ne();
31732
31732
  }, "onClick"),
31733
31733
  children: [
31734
31734
  at ? /* @__PURE__ */ b(xs, { children: at }) : null,
@@ -31767,7 +31767,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
31767
31767
  (ee) => yi(C, ee)
31768
31768
  ), M = !!(!g && (l || p || y || T || O.length)), { sort: A } = Ii(), R = /* @__PURE__ */ s(() => E.current, "container"), D = Ir((ee) => ee.breakpoints.down("md")), P = v ?? D, k = v && !D, [N] = Bv(), $ = (N === "en" ? Y0 : J0).components.MuiDataGrid.defaultProps.localeText, L = Vv(), {
31769
31769
  props: { gridContainerRef: I, chkSeleccion: _ }
31770
- } = Jo(), [z, V] = S.useState({
31770
+ } = Xo(), [z, V] = S.useState({
31771
31771
  overlay: null,
31772
31772
  params: null
31773
31773
  }), B = a ? a.split(",").map((ee) => ee.trim()).filter(Boolean) : [], F = B.length ? B.map(
@@ -31957,7 +31957,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
31957
31957
  ...d
31958
31958
  } = t, p = o === !1 ? o : r?.borra, f = i, m = a, {
31959
31959
  props: { viewMode: h = "grilla" }
31960
- } = Jo(), y = l && h === "pivot";
31960
+ } = Xo(), y = l && h === "pivot";
31961
31961
  return /* @__PURE__ */ b(Me, { sx: { display: "flex", flexDirection: "column", gap: 1 }, children: !y && (e ? !0 : h === "ficha") ? /* @__PURE__ */ b(
31962
31962
  d9,
31963
31963
  {
@@ -32001,7 +32001,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
32001
32001
  opacity: 0.6,
32002
32002
  position: "relative"
32003
32003
  }, y9 = /* @__PURE__ */ s((t) => {
32004
- const e = kn(), n = sl(), r = rn(Yy("etr")).current, o = Ko(), i = n.open ? g9 : m9;
32004
+ const e = kn(), n = sl(), r = rn(Yy("etr")).current, o = Yo(), i = n.open ? g9 : m9;
32005
32005
  return Ae(
32006
32006
  () => () => {
32007
32007
  o(Ky(r));
@@ -32275,7 +32275,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
32275
32275
  isLoading: N,
32276
32276
  fichaProps: { [h]: $ } = {},
32277
32277
  propsContenidos: { [h]: L = {} } = {}
32278
- } = Ft(), I = Xo(), _ = Wv((ue) => x0(ue.configInputs, h, I)), {
32278
+ } = Ft(), I = Qo(), _ = Wv((ue) => x0(ue.configInputs, h, I)), {
32279
32279
  conts: z = []
32280
32280
  //user = [],
32281
32281
  } = nt(Nn), {
@@ -32899,7 +32899,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
32899
32899
  PaperProps: u,
32900
32900
  mutationOptions: d,
32901
32901
  ...p
32902
- } = t, f = pt(t), m = r ?? f, h = zf(), y = lt(), g = Go(), v = S.useCallback(() => {
32902
+ } = t, f = pt(t), m = r ?? f, h = zf(), y = lt(), g = Ko(), v = S.useCallback(() => {
32903
32903
  if (i)
32904
32904
  return i();
32905
32905
  g("list", m, void 0, void 0, {
@@ -33114,7 +33114,7 @@ const u9 = S.memo(/* @__PURE__ */ s(function({
33114
33114
  ] }) });
33115
33115
  }, "ToolbarFicha"), sd = /* @__PURE__ */ s(() => {
33116
33116
  }, "dontSave"), D9 = /* @__PURE__ */ s(() => typeof document > "u" ? !1 : !!document.activeElement?.closest?.(N9), "isDialogInteraction$1"), $9 = /* @__PURE__ */ s((t, e) => typeof t?.hide != "function" || !t?.open ? !1 : e ? !0 : D9() ? !!(t?.props?._popupKey || t?.props?.tipo === "vista") : !1, "canHideAsistentePopup$1"), Dh = /* @__PURE__ */ s((t) => {
33117
- const { borrar: e = !1 } = t, n = pt(), r = Nr(), o = lt(), i = Go(), a = _r(), l = Yo(), {
33117
+ const { borrar: e = !1 } = t, n = pt(), r = Nr(), o = lt(), i = Ko(), a = _r(), l = Jo(), {
33118
33118
  estado: u,
33119
33119
  mutationOptions: d = {},
33120
33120
  fichaProps: { onBeforeSubmitFicha: p } = {}
@@ -33197,7 +33197,7 @@ const tP = /* @__PURE__ */ s(() => {
33197
33197
  const n = t || {}, r = e || {}, o = { ...r, ...n };
33198
33198
  return o.onSuccess = jm(n.onSuccess, r.onSuccess), o.onError = jm(n.onError, r.onError), o.onSettled = jm(n.onSettled, r.onSettled), o;
33199
33199
  }, "mergeMutationOptions"), ld = /* @__PURE__ */ new Set(), F9 = /* @__PURE__ */ s((t) => {
33200
- const { children: e, enableLoad: n, queryOptions: r, fichaProps: o, mutationOptions: i } = t, [a, l] = Pe(null), u = lr(), d = Uo(), p = pt(t), f = Ah(p), m = t.estado ?? (u?.state?.estado || "N"), h = u?.state?.record, y = t.record ?? h, g = t.id ?? u?.state?.id ?? y?.id ?? "-1", v = `${p}:${m}:${g}`, E = g === "-1" && y && typeof y == "object" && !Array.isArray(y) ? Object.fromEntries(
33200
+ const { children: e, enableLoad: n, queryOptions: r, fichaProps: o, mutationOptions: i } = t, [a, l] = Pe(null), u = lr(), d = Go(), p = pt(t), f = Ah(p), m = t.estado ?? (u?.state?.estado || "N"), h = u?.state?.record, y = t.record ?? h, g = t.id ?? u?.state?.id ?? y?.id ?? "-1", v = `${p}:${m}:${g}`, E = g === "-1" && y && typeof y == "object" && !Array.isArray(y) ? Object.fromEntries(
33201
33201
  Object.entries(y).filter(
33202
33202
  ([, D]) => D != null && (typeof D == "string" || typeof D == "number" || typeof D == "boolean")
33203
33203
  )
@@ -33286,7 +33286,7 @@ const tP = /* @__PURE__ */ s(() => {
33286
33286
  );
33287
33287
  return /* @__PURE__ */ b(_a, { children: x });
33288
33288
  }, "CreateEtriekView"), _9 = /* @__PURE__ */ s((t) => {
33289
- const e = lr(), n = Yo(), r = Go(), o = _r(), i = pt(t), a = pp({
33289
+ const e = lr(), n = Jo(), r = Ko(), o = _r(), i = pt(t), a = pp({
33290
33290
  resource: i,
33291
33291
  dockviewTabParent: !0
33292
33292
  }), l = zf(), u = lt(), d = rn(!1), p = e?.state?._asistentePopup === "router" && typeof n?.show == "function", f = p ? `${i}:create` : null;
@@ -33355,7 +33355,7 @@ const tP = /* @__PURE__ */ s(() => {
33355
33355
  redirect: r = "list",
33356
33356
  ...o
33357
33357
  }) => {
33358
- const i = Go(), a = _r(), l = Hv(), u = {
33358
+ const i = Ko(), a = _r(), l = Hv(), u = {
33359
33359
  onSuccess: /* @__PURE__ */ s((C) => {
33360
33360
  a("ra.notification.created", {
33361
33361
  type: "info",
@@ -33445,7 +33445,7 @@ const tP = /* @__PURE__ */ s(() => {
33445
33445
  }
33446
33446
  );
33447
33447
  }, "ListInDialogButton"), j9 = /* @__PURE__ */ b(cu, {}), jw = 52, W9 = 16, Ww = ".RaList-main > .MuiTablePagination-root", Hw = 100, H9 = [25, 50, 100, 200], q9 = /* @__PURE__ */ s((t) => /* @__PURE__ */ b(eD, { ...t, children: /* @__PURE__ */ b(gk, { source: "q", resettable: !0, alwaysOn: !0 }) }), "DefaultListFilter"), U9 = /* @__PURE__ */ s(({ pagination: t }) => {
33448
- const { props: e } = Jo();
33448
+ const { props: e } = Xo();
33449
33449
  return e?.viewMode === "pivot" || t === !1 ? null : wr(t) ? t : /* @__PURE__ */ b(tD, { rowsPerPageOptions: H9 });
33450
33450
  }, "PivotAwarePagination"), Pl = /* @__PURE__ */ s(() => {
33451
33451
  }, "noop$2"), nne = /* @__PURE__ */ s((t) => {
@@ -33459,7 +33459,7 @@ const tP = /* @__PURE__ */ s(() => {
33459
33459
  onSelectionChange: u,
33460
33460
  storeKey: d,
33461
33461
  ...p
33462
- } = t, f = nt(Mc), m = n === "ventana" ? V9 : mk, h = Ah(e), { pathname: y, state: g } = lr(), v = Uo(), [x, E] = Pe(null), [C, w] = Pe(i), [T, O] = Pe([]), [M, A] = Pe({}), [R, D] = Pe(
33462
+ } = t, f = nt(Mc), m = n === "ventana" ? V9 : mk, h = Ah(e), { pathname: y, state: g } = lr(), v = Go(), [x, E] = Pe(null), [C, w] = Pe(i), [T, O] = Pe([]), [M, A] = Pe({}), [R, D] = Pe(
33463
33463
  p.sort || { field: "id", order: "ASC" }
33464
33464
  ), [P, k] = Pe(
33465
33465
  jw
@@ -33723,7 +33723,7 @@ const tP = /* @__PURE__ */ s(() => {
33723
33723
  typeof t[n] == "string" && t[n].trim().length === 0 || (t[n] == null && (t[n] = ""), e[n] = t[n]);
33724
33724
  return e;
33725
33725
  }, "defaultTransform"), Y9 = /* @__PURE__ */ s((t) => {
33726
- const { children: e, fichaProps: n, mutationOptions: r } = t, o = rD(), [i, a] = Pe(null), l = lr(), u = Uo(), d = pt(t), p = Ah(d), { record: f, isFetching: m } = o, h = p?.record || p?.initialValues || f, y = p ? !1 : m, g = t.estado ?? (l?.state?.estado || "M"), v = f?.id ?? l?.state?.id ?? "edit", x = `${d}:${g}:${v}`, E = tt(
33726
+ const { children: e, fichaProps: n, mutationOptions: r } = t, o = rD(), [i, a] = Pe(null), l = lr(), u = Go(), d = pt(t), p = Ah(d), { record: f, isFetching: m } = o, h = p?.record || p?.initialValues || f, y = p ? !1 : m, g = t.estado ?? (l?.state?.estado || "M"), v = f?.id ?? l?.state?.id ?? "edit", x = `${d}:${g}:${v}`, E = tt(
33727
33727
  () => ({
33728
33728
  estado: g,
33729
33729
  initialValues: h,
@@ -33789,7 +33789,7 @@ const tP = /* @__PURE__ */ s(() => {
33789
33789
  );
33790
33790
  return /* @__PURE__ */ b(_a, { children: h });
33791
33791
  }, "EditEtriekView"), J9 = /* @__PURE__ */ s((t) => {
33792
- const e = lr(), n = Yo(), r = Go(), o = _r(), i = pt(t), a = pp({
33792
+ const e = lr(), n = Jo(), r = Ko(), o = _r(), i = pt(t), a = pp({
33793
33793
  resource: i,
33794
33794
  dockviewTabParent: !0
33795
33795
  }), l = zf(), u = lt(), d = Rk(), p = rn(!1), f = e?.state?._asistentePopup === "router" && typeof n?.show == "function", m = vc(`/${i}/:id/*`, e.pathname) || vc(`/${i}/:id`, e.pathname), h = t.id ?? d?.id ?? e?.state?.id ?? e?.state?.record?.id ?? t.record?.id ?? m?.params?.id, y = f && !!h, g = y ? `${i}:${h}` : null;
@@ -33930,7 +33930,7 @@ const tP = /* @__PURE__ */ s(() => {
33930
33930
  }, Z9 = ".MuiDialog-paper", Wm = /* @__PURE__ */ s((t) => {
33931
33931
  t.preventDefault();
33932
33932
  }, "disableKeyboardEvents"), e8 = /* @__PURE__ */ s(() => typeof document > "u" ? !1 : !!document.activeElement?.closest?.(Z9), "isDialogInteraction"), t8 = /* @__PURE__ */ s((t, e) => typeof t?.hide != "function" || !t?.open ? !1 : e ? !0 : e8() ? !!(t?.props?._popupKey || t?.props?.tipo === "vista") : !1, "canHideAsistentePopup"), oP = /* @__PURE__ */ s((t) => {
33933
- const e = sl(), n = lr(), r = pt(), o = Go(), i = Nr(), a = Yo(), { estado: l, mutationOptions: u = {} } = Ft(), d = u?._popupKey, p = l === "B" || n.state?.estado === "B", f = Dh({ borrar: p, ...t }), m = e.open || p, h = e.open ? Q9 : X9;
33933
+ const e = sl(), n = lr(), r = pt(), o = Ko(), i = Nr(), a = Jo(), { estado: l, mutationOptions: u = {} } = Ft(), d = u?._popupKey, p = l === "B" || n.state?.estado === "B", f = Dh({ borrar: p, ...t }), m = e.open || p, h = e.open ? Q9 : X9;
33934
33934
  return /* @__PURE__ */ Y(Yn, { children: [
33935
33935
  e.open && /* @__PURE__ */ b(
33936
33936
  Ws,
@@ -34300,7 +34300,7 @@ const tP = /* @__PURE__ */ s(() => {
34300
34300
  pivotUi: W = "mui",
34301
34301
  apiRef: Q
34302
34302
  }
34303
- } = Jo(), q = !F && z === "pivot" ? "grilla" : z, { showCreate: K } = K0({ resource: M }), ee = Ir((X) => X.breakpoints.down("md"));
34303
+ } = Xo(), q = !F && z === "pivot" ? "grilla" : z, { showCreate: K } = K0({ resource: M }), ee = Ir((X) => X.breakpoints.down("md"));
34304
34304
  CN(e, () => I.current);
34305
34305
  const j = { ...D, ...E }, G = /* @__PURE__ */ s((X) => {
34306
34306
  m(X.currentTarget);
@@ -35139,7 +35139,7 @@ const lne = /* @__PURE__ */ s((t) => {
35139
35139
  ),
35140
35140
  /* @__PURE__ */ Y(Me, { sx: { padding: "0 1em 1em 1em" }, children: [
35141
35141
  /* @__PURE__ */ b(Me, { sx: { marginTop: 0 }, children: /* @__PURE__ */ b(
35142
- _o,
35142
+ Bo,
35143
35143
  {
35144
35144
  autoFocus: !0,
35145
35145
  fullWidth: !0,
@@ -35386,7 +35386,7 @@ const lne = /* @__PURE__ */ s((t) => {
35386
35386
  )
35387
35387
  ] });
35388
35388
  }, "MultiTextField"), I8 = /* @__PURE__ */ s((t) => {
35389
- const { children: e, fichaProps: n } = t, r = pD(), [o, i] = Pe(null), a = lr(), l = Uo(), u = pt(t), { record: d, isFetching: p } = r, f = t.estado ?? (a?.state?.estado || "M"), m = d?.id ?? a?.state?.id ?? "show", h = `${u}:${f}:${m}`, y = tt(
35389
+ const { children: e, fichaProps: n } = t, r = pD(), [o, i] = Pe(null), a = lr(), l = Go(), u = pt(t), { record: d, isFetching: p } = r, f = t.estado ?? (a?.state?.estado || "M"), m = d?.id ?? a?.state?.id ?? "show", h = `${u}:${f}:${m}`, y = tt(
35390
35390
  () => ({
35391
35391
  estado: f,
35392
35392
  initialValues: d,
@@ -36195,7 +36195,7 @@ const Zw = S.forwardRef(/* @__PURE__ */ s(function(e, n) {
36195
36195
  disableAutoFocus: !0,
36196
36196
  disableRestoreFocus: !0
36197
36197
  }, mne = /* @__PURE__ */ s((t) => {
36198
- const { isLoading: e } = t, n = lt(), r = pt(t), o = Yo(), i = nt(eT), a = rn(
36198
+ const { isLoading: e } = t, n = lt(), r = pt(t), o = Jo(), i = nt(eT), a = rn(
36199
36199
  `asistente-host-${Math.random().toString(36).slice(2)}`
36200
36200
  ), l = o?.hostId, u = !l || l === a.current;
36201
36201
  Ae(() => {
@@ -37707,7 +37707,7 @@ const a7 = me([/* @__PURE__ */ b("circle", {
37707
37707
  }
37708
37708
  ) });
37709
37709
  }, "SelectInputEtriek"), y7 = /* @__PURE__ */ s((t) => {
37710
- const { propsContenido: e, hidden: n } = Wn(t), r = Ko(), o = Hv(), i = kn(), { isLoading: a } = Ft(), {
37710
+ const { propsContenido: e, hidden: n } = Wn(t), r = Yo(), o = Hv(), i = kn(), { isLoading: a } = Ft(), {
37711
37711
  isActive: l,
37712
37712
  hasBeenActive: u = l
37713
37713
  } = dh(), {
@@ -37716,7 +37716,7 @@ const a7 = me([/* @__PURE__ */ b("circle", {
37716
37716
  asistantResource: f,
37717
37717
  perPage: m = 500,
37718
37718
  ...h
37719
- } = e, { source: y, reference: g, fullWidth: v = !1 } = t, x = pt(t), E = Ah(x), [C, w] = Pe([]), T = typeof h.optionText == "string" ? h.optionText : "etiqueta", O = Xo(), M = Wv(($) => x0($.reload_cb, y, O)), A = rn(M), R = M === null && A.current ? A.current : M;
37719
+ } = e, { source: y, reference: g, fullWidth: v = !1 } = t, x = pt(t), E = Ah(x), [C, w] = Pe([]), T = typeof h.optionText == "string" ? h.optionText : "etiqueta", O = Qo(), M = Wv(($) => x0($.reload_cb, y, O)), A = rn(M), R = M === null && A.current ? A.current : M;
37720
37720
  let D, P;
37721
37721
  if (R) {
37722
37722
  const { callback: $, ...L } = R;
@@ -37889,12 +37889,12 @@ const a7 = me([/* @__PURE__ */ b("circle", {
37889
37889
  bgcolor: t ? i.palette.action.disabledBackground : "background.paper"
37890
37890
  }), "sx"),
37891
37891
  children: /* @__PURE__ */ b(Oi, { dense: !0, disablePadding: !0, children: n.length ? n.map((i) => /* @__PURE__ */ Y(
37892
- Fo,
37892
+ _o,
37893
37893
  {
37894
37894
  disabled: t,
37895
37895
  onDoubleClick: /* @__PURE__ */ s(() => r(i.id), "onDoubleClick"),
37896
37896
  children: [
37897
- /* @__PURE__ */ b(Lo, { sx: { minWidth: 36 }, children: /* @__PURE__ */ b(
37897
+ /* @__PURE__ */ b(Fo, { sx: { minWidth: 36 }, children: /* @__PURE__ */ b(
37898
37898
  xh,
37899
37899
  {
37900
37900
  edge: "start",
@@ -38131,7 +38131,7 @@ const a7 = me([/* @__PURE__ */ b("circle", {
38131
38131
  children: F.map((W, Q) => {
38132
38132
  const q = `transfer-list-item-${W.id}-label`;
38133
38133
  return /* @__PURE__ */ Y(
38134
- Fo,
38134
+ _o,
38135
38135
  {
38136
38136
  role: "listitem",
38137
38137
  onClick: /* @__PURE__ */ s((K) => A(W.id, Q, K)(), "onClick"),
@@ -38143,7 +38143,7 @@ const a7 = me([/* @__PURE__ */ b("circle", {
38143
38143
  }
38144
38144
  }), "sx"),
38145
38145
  children: [
38146
- /* @__PURE__ */ b(Lo, { children: /* @__PURE__ */ b(
38146
+ /* @__PURE__ */ b(Fo, { children: /* @__PURE__ */ b(
38147
38147
  xh,
38148
38148
  {
38149
38149
  checked: l.includes(W.id),
@@ -38599,7 +38599,7 @@ const a7 = me([/* @__PURE__ */ b("circle", {
38599
38599
  width: { xs: "100%", md: "auto" }
38600
38600
  },
38601
38601
  children: /* @__PURE__ */ b(
38602
- _o,
38602
+ Bo,
38603
38603
  {
38604
38604
  ...v,
38605
38605
  source: g,
@@ -41067,7 +41067,7 @@ const Cq = /* @__PURE__ */ s((t) => {
41067
41067
  const {
41068
41068
  duration: ge,
41069
41069
  easing: Ie
41070
- } = jo({
41070
+ } = Wo({
41071
41071
  style: w,
41072
41072
  timeout: T,
41073
41073
  easing: d
@@ -41088,7 +41088,7 @@ const Cq = /* @__PURE__ */ s((t) => {
41088
41088
  const de = B(), {
41089
41089
  duration: ie,
41090
41090
  easing: ge
41091
- } = jo({
41091
+ } = Wo({
41092
41092
  style: w,
41093
41093
  timeout: T,
41094
41094
  easing: d
@@ -42233,7 +42233,7 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
42233
42233
  (q) => d.includes(q.key)
42234
42234
  ), [d]), [f, m] = Pe(tU), [h, y] = Pe([]), [g, v] = Pe(null), [x, E] = Pe(!0), [C, w] = Pe(!1), [T, O] = Pe(
42235
42235
  p.find((q) => q.key === u) || p[0] || Al[0]
42236
- ), M = Uo(), A = cr(), R = !!g, D = tt(
42236
+ ), M = Go(), A = cr(), R = !!g, D = tt(
42237
42237
  () => Yq(n),
42238
42238
  [n]
42239
42239
  ), P = tt(
@@ -42582,7 +42582,7 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
42582
42582
  initialFilterKey: y,
42583
42583
  filterOptionKeys: g,
42584
42584
  dialogProps: v
42585
- } = t, x = Uo(), E = lt(), [C] = Ok({ resource: "form_224" }), [w, T] = Pe({}), [O, M] = Pe(null), [A, R] = Pe(!1), D = Le((N) => {
42585
+ } = t, x = Go(), E = lt(), [C] = Ok({ resource: "form_224" }), [w, T] = Pe({}), [O, M] = Pe(null), [A, R] = Pe(!1), D = Le((N) => {
42586
42586
  T(($) => {
42587
42587
  const L = { ...$ };
42588
42588
  return N.forEach((I) => {
@@ -42713,7 +42713,7 @@ const Zi = /* @__PURE__ */ s((t) => t === "E" ? "E" : t === "T" ? "T" : "A", "no
42713
42713
  egresadosdosmeses: "E",
42714
42714
  todos: "T"
42715
42715
  }, Ane = /* @__PURE__ */ s((t) => {
42716
- const { source: e, onChange: n, fullWidth: r = !1 } = t, [o, i] = Pe(!1), [a, l] = Pe(null), [u, d] = Pe(""), p = xu(), f = Uo(), m = _f(), h = lt(), y = kn(), { estado: g, fichaProps: v = {} } = Ft(), x = rn(!1), {
42716
+ const { source: e, onChange: n, fullWidth: r = !1 } = t, [o, i] = Pe(!1), [a, l] = Pe(null), [u, d] = Pe(""), p = xu(), f = Go(), m = _f(), h = lt(), y = kn(), { estado: g, fichaProps: v = {} } = Ft(), x = rn(!1), {
42717
42717
  hidden: E,
42718
42718
  propsContenido: {
42719
42719
  readOnly: C,
@@ -46265,8 +46265,8 @@ const ci = class ci {
46265
46265
  }
46266
46266
  };
46267
46267
  s(ci, "StepMap");
46268
- let Ho = ci;
46269
- Ho.empty = new Ho([]);
46268
+ let qo = ci;
46269
+ qo.empty = new qo([]);
46270
46270
  const ga = class ga {
46271
46271
  /**
46272
46272
  Create a new mapping with the given position maps.
@@ -46383,7 +46383,7 @@ const tg = /* @__PURE__ */ Object.create(null), uS = class uS {
46383
46383
  and the new document.
46384
46384
  */
46385
46385
  getMap() {
46386
- return Ho.empty;
46386
+ return qo.empty;
46387
46387
  }
46388
46388
  /**
46389
46389
  Try to merge this step with another one, to be applied directly
@@ -46629,7 +46629,7 @@ const dc = class dc extends hn {
46629
46629
  s(dc, "RemoveNodeMarkStep");
46630
46630
  let Bc = dc;
46631
46631
  hn.jsonID("removeNodeMark", Bc);
46632
- const $o = class $o extends hn {
46632
+ const Lo = class Lo extends hn {
46633
46633
  /**
46634
46634
  The given `slice` should fit the 'gap' between `from` and
46635
46635
  `to`—the depths must line up, and the surrounding nodes must be
@@ -46646,24 +46646,24 @@ const $o = class $o extends hn {
46646
46646
  return this.structure && Vb(e, this.from, this.to) ? Tn.fail("Structure replace would overwrite content") : Tn.fromReplace(e, this.from, this.to, this.slice);
46647
46647
  }
46648
46648
  getMap() {
46649
- return new Ho([this.from, this.to - this.from, this.slice.size]);
46649
+ return new qo([this.from, this.to - this.from, this.slice.size]);
46650
46650
  }
46651
46651
  invert(e) {
46652
- return new $o(this.from, this.from + this.slice.size, e.slice(this.from, this.to));
46652
+ return new Lo(this.from, this.from + this.slice.size, e.slice(this.from, this.to));
46653
46653
  }
46654
46654
  map(e) {
46655
46655
  let n = e.mapResult(this.from, 1), r = e.mapResult(this.to, -1);
46656
- return n.deletedAcross && r.deletedAcross ? null : new $o(n.pos, Math.max(n.pos, r.pos), this.slice);
46656
+ return n.deletedAcross && r.deletedAcross ? null : new Lo(n.pos, Math.max(n.pos, r.pos), this.slice);
46657
46657
  }
46658
46658
  merge(e) {
46659
- if (!(e instanceof $o) || e.structure || this.structure)
46659
+ if (!(e instanceof Lo) || e.structure || this.structure)
46660
46660
  return null;
46661
46661
  if (this.from + this.slice.size == e.from && !this.slice.openEnd && !e.slice.openStart) {
46662
46662
  let n = this.slice.size + e.slice.size == 0 ? ke.empty : new ke(this.slice.content.append(e.slice.content), this.slice.openStart, e.slice.openEnd);
46663
- return new $o(this.from, this.to + (e.to - e.from), n, this.structure);
46663
+ return new Lo(this.from, this.to + (e.to - e.from), n, this.structure);
46664
46664
  } else if (e.to == this.from && !this.slice.openStart && !e.slice.openEnd) {
46665
46665
  let n = this.slice.size + e.slice.size == 0 ? ke.empty : new ke(e.slice.content.append(this.slice.content), e.slice.openStart, this.slice.openEnd);
46666
- return new $o(e.from, this.to, n, this.structure);
46666
+ return new Lo(e.from, this.to, n, this.structure);
46667
46667
  } else
46668
46668
  return null;
46669
46669
  }
@@ -46677,11 +46677,11 @@ const $o = class $o extends hn {
46677
46677
  static fromJSON(e, n) {
46678
46678
  if (typeof n.from != "number" || typeof n.to != "number")
46679
46679
  throw new RangeError("Invalid input for ReplaceStep.fromJSON");
46680
- return new $o(n.from, n.to, ke.fromJSON(e, n.slice), !!n.structure);
46680
+ return new Lo(n.from, n.to, ke.fromJSON(e, n.slice), !!n.structure);
46681
46681
  }
46682
46682
  };
46683
- s($o, "ReplaceStep");
46684
- let ar = $o;
46683
+ s(Lo, "ReplaceStep");
46684
+ let ar = Lo;
46685
46685
  hn.jsonID("replace", ar);
46686
46686
  const ya = class ya extends hn {
46687
46687
  /**
@@ -46703,7 +46703,7 @@ const ya = class ya extends hn {
46703
46703
  return r ? Tn.fromReplace(e, this.from, this.to, r) : Tn.fail("Content does not fit in gap");
46704
46704
  }
46705
46705
  getMap() {
46706
- return new Ho([
46706
+ return new qo([
46707
46707
  this.from,
46708
46708
  this.gapFrom - this.from,
46709
46709
  this.insert,
@@ -46951,7 +46951,7 @@ function BU(t, e, n, r, o) {
46951
46951
  t.step(new Dn(e, e + i.nodeSize, e + 1, e + i.nodeSize - 1, new ke(fe.from(a), 0, 0), 1, !0));
46952
46952
  }
46953
46953
  s(BU, "setNodeMarkup");
46954
- function Bo(t, e, n = 1, r) {
46954
+ function zo(t, e, n = 1, r) {
46955
46955
  let o = t.resolve(e), i = o.depth - n, a = r && r[r.length - 1] || o.parent;
46956
46956
  if (i < 0 || o.parent.type.spec.isolating || !o.parent.canReplace(o.index(), o.parent.childCount) || !a.type.validContent(o.parent.content.cutByIndex(o.index(), o.parent.childCount)))
46957
46957
  return !1;
@@ -46968,7 +46968,7 @@ function Bo(t, e, n = 1, r) {
46968
46968
  let l = o.indexAfter(i), u = r && r[0];
46969
46969
  return o.node(i).canReplaceWith(l, l, u ? u.type : o.node(i + 1).type);
46970
46970
  }
46971
- s(Bo, "canSplit");
46971
+ s(zo, "canSplit");
46972
46972
  function zU(t, e, n = 1, r) {
46973
46973
  let o = t.doc.resolve(e), i = fe.empty, a = fe.empty;
46974
46974
  for (let l = o.depth, u = o.depth - n, d = n - 1; l > u; l--, d--) {
@@ -47389,7 +47389,7 @@ const ba = class ba extends hn {
47389
47389
  return Tn.fromReplace(e, this.pos, this.pos + 1, new ke(fe.from(o), 0, n.isLeaf ? 0 : 1));
47390
47390
  }
47391
47391
  getMap() {
47392
- return Ho.empty;
47392
+ return qo.empty;
47393
47393
  }
47394
47394
  invert(e) {
47395
47395
  return new ba(this.pos, this.attr, e.nodeAt(this.pos).attrs[this.attr]);
@@ -47426,7 +47426,7 @@ const pc = class pc extends hn {
47426
47426
  return Tn.ok(r);
47427
47427
  }
47428
47428
  getMap() {
47429
- return Ho.empty;
47429
+ return qo.empty;
47430
47430
  }
47431
47431
  invert(e) {
47432
47432
  return new pc(this.attr, e.attrs[this.attr]);
@@ -48524,7 +48524,7 @@ const xn = /* @__PURE__ */ s(function(t) {
48524
48524
  return e && e.nodeType == 11 ? e.host : e;
48525
48525
  }, "parentNode");
48526
48526
  let Gb = null;
48527
- const Do = /* @__PURE__ */ s(function(t, e, n) {
48527
+ const $o = /* @__PURE__ */ s(function(t, e, n) {
48528
48528
  let r = Gb || (Gb = document.createRange());
48529
48529
  return r.setEnd(t, n ?? t.nodeValue.length), r.setStart(t, e || 0), r;
48530
48530
  }, "textRange"), XU = /* @__PURE__ */ s(function() {
@@ -48650,10 +48650,10 @@ function sG(t) {
48650
48650
  };
48651
48651
  }
48652
48652
  s(sG, "windowRect");
48653
- function Ao(t, e) {
48653
+ function No(t, e) {
48654
48654
  return typeof t == "number" ? t : t[e];
48655
48655
  }
48656
- s(Ao, "getSide");
48656
+ s(No, "getSide");
48657
48657
  function aG(t) {
48658
48658
  let e = t.getBoundingClientRect(), n = e.width / t.offsetWidth || 1, r = e.height / t.offsetHeight || 1;
48659
48659
  return {
@@ -48670,7 +48670,7 @@ function VT(t, e, n) {
48670
48670
  if (a.nodeType != 1)
48671
48671
  continue;
48672
48672
  let l = a, u = l == i.body, d = u ? sG(i) : aG(l), p = 0, f = 0;
48673
- if (e.top < d.top + Ao(r, "top") ? f = -(d.top - e.top + Ao(o, "top")) : e.bottom > d.bottom - Ao(r, "bottom") && (f = e.bottom - e.top > d.bottom - d.top ? e.top + Ao(o, "top") - d.top : e.bottom - d.bottom + Ao(o, "bottom")), e.left < d.left + Ao(r, "left") ? p = -(d.left - e.left + Ao(o, "left")) : e.right > d.right - Ao(r, "right") && (p = e.right - d.right + Ao(o, "right")), p || f)
48673
+ if (e.top < d.top + No(r, "top") ? f = -(d.top - e.top + No(o, "top")) : e.bottom > d.bottom - No(r, "bottom") && (f = e.bottom - e.top > d.bottom - d.top ? e.top + No(o, "top") - d.top : e.bottom - d.bottom + No(o, "bottom")), e.left < d.left + No(r, "left") ? p = -(d.left - e.left + No(o, "left")) : e.right > d.right - No(r, "right") && (p = e.right - d.right + No(o, "right")), p || f)
48674
48674
  if (u)
48675
48675
  i.defaultView.scrollBy(p, f);
48676
48676
  else {
@@ -48739,7 +48739,7 @@ function SA(t, e) {
48739
48739
  if (p.nodeType == 1)
48740
48740
  m = p.getClientRects();
48741
48741
  else if (p.nodeType == 3)
48742
- m = Do(p).getClientRects();
48742
+ m = $o(p).getClientRects();
48743
48743
  else
48744
48744
  continue;
48745
48745
  for (let h = 0; h < m.length; h++) {
@@ -48869,11 +48869,11 @@ function CA(t, e, n) {
48869
48869
  let { node: r, offset: o, atom: i } = t.docView.domFromPos(e, n < 0 ? -1 : 1), a = Tu || Kr;
48870
48870
  if (r.nodeType == 3)
48871
48871
  if (a && (gG.test(r.nodeValue) || (n < 0 ? !o : o == r.nodeValue.length))) {
48872
- let u = ii(Do(r, o, o), n);
48872
+ let u = ii($o(r, o, o), n);
48873
48873
  if (Kr && o && /\s/.test(r.nodeValue[o - 1]) && o < r.nodeValue.length) {
48874
- let d = ii(Do(r, o - 1, o - 1), -1);
48874
+ let d = ii($o(r, o - 1, o - 1), -1);
48875
48875
  if (d.top == u.top) {
48876
- let p = ii(Do(r, o, o + 1), -1);
48876
+ let p = ii($o(r, o, o + 1), -1);
48877
48877
  if (p.top != u.top)
48878
48878
  return Nl(p, p.left < d.left);
48879
48879
  }
@@ -48881,7 +48881,7 @@ function CA(t, e, n) {
48881
48881
  return u;
48882
48882
  } else {
48883
48883
  let u = o, d = o, p = n < 0 ? 1 : -1;
48884
- return n < 0 && !o ? (d++, p = -1) : n >= 0 && o == r.nodeValue.length ? (u--, p = 1) : n < 0 ? u-- : d++, Nl(ii(Do(r, u, d), p), p < 0);
48884
+ return n < 0 && !o ? (d++, p = -1) : n >= 0 && o == r.nodeValue.length ? (u--, p = 1) : n < 0 ? u-- : d++, Nl(ii($o(r, u, d), p), p < 0);
48885
48885
  }
48886
48886
  if (!t.state.doc.resolve(e - (i || 0)).parent.inlineContent) {
48887
48887
  if (i == null && o && (n < 0 || o == Cr(r))) {
@@ -48897,7 +48897,7 @@ function CA(t, e, n) {
48897
48897
  return sg(r.getBoundingClientRect(), n >= 0);
48898
48898
  }
48899
48899
  if (i == null && o && (n < 0 || o == Cr(r))) {
48900
- let u = r.childNodes[o - 1], d = u.nodeType == 3 ? Do(u, Cr(u) - (a ? 0 : 1)) : u.nodeType == 1 && (u.nodeName != "BR" || !u.nextSibling) ? u : null;
48900
+ let u = r.childNodes[o - 1], d = u.nodeType == 3 ? $o(u, Cr(u) - (a ? 0 : 1)) : u.nodeType == 1 && (u.nodeName != "BR" || !u.nextSibling) ? u : null;
48901
48901
  if (d)
48902
48902
  return Nl(ii(d, 1), !1);
48903
48903
  }
@@ -48905,11 +48905,11 @@ function CA(t, e, n) {
48905
48905
  let u = r.childNodes[o];
48906
48906
  for (; u.pmViewDesc && u.pmViewDesc.ignoreForCoords; )
48907
48907
  u = u.nextSibling;
48908
- let d = u ? u.nodeType == 3 ? Do(u, 0, a ? 0 : 1) : u.nodeType == 1 ? u : null : null;
48908
+ let d = u ? u.nodeType == 3 ? $o(u, 0, a ? 0 : 1) : u.nodeType == 1 ? u : null : null;
48909
48909
  if (d)
48910
48910
  return Nl(ii(d, -1), !0);
48911
48911
  }
48912
- return Nl(ii(r.nodeType == 3 ? Do(r) : r, -n), n >= 0);
48912
+ return Nl(ii(r.nodeType == 3 ? $o(r) : r, -n), n >= 0);
48913
48913
  }
48914
48914
  s(CA, "coordsAtPos");
48915
48915
  function Nl(t, e) {
@@ -48956,7 +48956,7 @@ function yG(t, e, n) {
48956
48956
  if (l.nodeType == 1)
48957
48957
  u = l.getClientRects();
48958
48958
  else if (l.nodeType == 3)
48959
- u = Do(l, 0, l.nodeValue.length).getClientRects();
48959
+ u = $o(l, 0, l.nodeValue.length).getClientRects();
48960
48960
  else
48961
48961
  continue;
48962
48962
  for (let d = 0; d < u.length; d++) {
@@ -50068,7 +50068,7 @@ function kA(t) {
50068
50068
  return t.editable ? t.hasFocus() : IA(t) && document.activeElement && document.activeElement.contains(t.dom);
50069
50069
  }
50070
50070
  s(kA, "editorOwnsSelection");
50071
- function zo(t, e = !1) {
50071
+ function Vo(t, e = !1) {
50072
50072
  let n = t.state.selection;
50073
50073
  if (MA(t, n), !!kA(t)) {
50074
50074
  if (!e && t.input.mouseDown && t.input.mouseDown.allowDefault && An) {
@@ -50087,7 +50087,7 @@ function zo(t, e = !1) {
50087
50087
  t.domObserver.setCurSelection(), t.domObserver.connectSelection();
50088
50088
  }
50089
50089
  }
50090
- s(zo, "selectionToDOM");
50090
+ s(Vo, "selectionToDOM");
50091
50091
  const YT = zn || An && yA < 63;
50092
50092
  function JT(t, e) {
50093
50093
  let { node: n, offset: r } = t.docView.domFromPos(e, 0), o = r < n.childNodes.length ? n.childNodes[r] : null, i = r ? n.childNodes[r - 1] : null;
@@ -50333,7 +50333,7 @@ function rv(t, e, n) {
50333
50333
  t.domObserver.setCurSelection();
50334
50334
  let { state: o } = t;
50335
50335
  setTimeout(() => {
50336
- t.state == o && zo(t);
50336
+ t.state == o && Vo(t);
50337
50337
  }, 50);
50338
50338
  }
50339
50339
  s(rv, "setSelFocus");
@@ -50835,7 +50835,7 @@ const kS = class kS {
50835
50835
  }, 20), this.view.domObserver.start()), e.root.addEventListener("mouseup", this.up = this.up.bind(this)), e.root.addEventListener("mousemove", this.move = this.move.bind(this)), mi(e, "pointer");
50836
50836
  }
50837
50837
  done() {
50838
- this.view.root.removeEventListener("mouseup", this.up), this.view.root.removeEventListener("mousemove", this.move), this.mightDrag && this.target && (this.view.domObserver.stop(), this.mightDrag.addAttr && this.target.removeAttribute("draggable"), this.mightDrag.setUneditable && this.target.removeAttribute("contentEditable"), this.view.domObserver.start()), this.delayedSelectionSync && setTimeout(() => zo(this.view)), this.view.input.mouseDown = null;
50838
+ this.view.root.removeEventListener("mouseup", this.up), this.view.root.removeEventListener("mousemove", this.move), this.mightDrag && this.target && (this.view.domObserver.stop(), this.mightDrag.addAttr && this.target.removeAttribute("draggable"), this.mightDrag.setUneditable && this.target.removeAttribute("contentEditable"), this.view.domObserver.start()), this.delayedSelectionSync && setTimeout(() => Vo(this.view)), this.view.input.mouseDown = null;
50839
50839
  }
50840
50840
  up(e) {
50841
50841
  if (this.done(), !this.view.dom.contains(e.target))
@@ -51073,7 +51073,7 @@ jn.drop = (t, e) => {
51073
51073
  };
51074
51074
  Vn.focus = (t) => {
51075
51075
  t.input.lastFocus = Date.now(), t.focused || (t.domObserver.stop(), t.dom.classList.add("ProseMirror-focused"), t.domObserver.start(), t.focused = !0, setTimeout(() => {
51076
- t.docView && t.hasFocus() && !t.domObserver.currentSelection.eq(t.domSelectionRange()) && zo(t);
51076
+ t.docView && t.hasFocus() && !t.domObserver.currentSelection.eq(t.domSelectionRange()) && Vo(t);
51077
51077
  }, 20));
51078
51078
  };
51079
51079
  Vn.blur = (t, e) => {
@@ -51112,7 +51112,7 @@ const Nf = class Nf {
51112
51112
  }
51113
51113
  map(e, n, r, o) {
51114
51114
  let { pos: i, deleted: a } = e.mapResult(n.from + o, this.side < 0 ? -1 : 1);
51115
- return a ? null : new qo(i - r, i - r, this);
51115
+ return a ? null : new Uo(i - r, i - r, this);
51116
51116
  }
51117
51117
  valid() {
51118
51118
  return !0;
@@ -51132,7 +51132,7 @@ const hc = class hc {
51132
51132
  }
51133
51133
  map(e, n, r, o) {
51134
51134
  let i = e.map(n.from + o, this.spec.inclusiveStart ? -1 : 1) - r, a = e.map(n.to + o, this.spec.inclusiveEnd ? 1 : -1) - r;
51135
- return i >= a ? null : new qo(i, a, this);
51135
+ return i >= a ? null : new Uo(i, a, this);
51136
51136
  }
51137
51137
  valid(e, n) {
51138
51138
  return n.from < n.to;
@@ -51157,7 +51157,7 @@ const Df = class Df {
51157
51157
  if (i.deleted)
51158
51158
  return null;
51159
51159
  let a = e.mapResult(n.to + o, -1);
51160
- return a.deleted || a.pos <= i.pos ? null : new qo(i.pos - r, a.pos - r, this);
51160
+ return a.deleted || a.pos <= i.pos ? null : new Uo(i.pos - r, a.pos - r, this);
51161
51161
  }
51162
51162
  valid(e, n) {
51163
51163
  let { index: r, offset: o } = e.content.findIndex(n.from), i;
@@ -51243,7 +51243,7 @@ const ds = class ds {
51243
51243
  }
51244
51244
  };
51245
51245
  s(ds, "Decoration");
51246
- let qo = ds;
51246
+ let Uo = ds;
51247
51247
  const ua = [], Is = {}, ao = class ao {
51248
51248
  /**
51249
51249
  @internal
@@ -51535,7 +51535,7 @@ function HA(t, e) {
51535
51535
  let n = [];
51536
51536
  for (let r = 0; r < t.length; r++) {
51537
51537
  let o = t[r];
51538
- n.push(new qo(o.from + e, o.to + e, o.type));
51538
+ n.push(new Uo(o.from + e, o.to + e, o.type));
51539
51539
  }
51540
51540
  return n;
51541
51541
  }
@@ -51692,7 +51692,7 @@ const RS = class RS {
51692
51692
  onSelectionChange() {
51693
51693
  if (ZT(this.view)) {
51694
51694
  if (this.suppressingSelectionUpdates)
51695
- return zo(this.view);
51695
+ return Vo(this.view);
51696
51696
  if (Qn && bi <= 11 && !this.view.state.selection.empty) {
51697
51697
  let e = this.view.domSelectionRange();
51698
51698
  if (e.focusNode && Bs(e.focusNode, e.focusOffset, e.anchorNode, e.anchorOffset))
@@ -51754,7 +51754,7 @@ const RS = class RS {
51754
51754
  }
51755
51755
  }
51756
51756
  let d = null;
51757
- i < 0 && o && e.input.lastFocus > Date.now() - 200 && Math.max(e.input.lastTouch, e.input.lastClick.time) < Date.now() - 300 && _h(r) && (d = h1(e)) && d.eq(Ke.near(e.state.doc.resolve(0), 1)) ? (e.input.lastFocus = 0, zo(e), this.currentSelection.set(r), e.scrollToSelection()) : (i > -1 || o) && (i > -1 && (e.docView.markDirty(i, a), dK(e)), this.handleDOMChange(i, a, l, u), e.docView && e.docView.dirty ? e.updateState(e.state) : this.currentSelection.eq(r) || zo(e), this.currentSelection.set(r));
51757
+ i < 0 && o && e.input.lastFocus > Date.now() - 200 && Math.max(e.input.lastTouch, e.input.lastClick.time) < Date.now() - 300 && _h(r) && (d = h1(e)) && d.eq(Ke.near(e.state.doc.resolve(0), 1)) ? (e.input.lastFocus = 0, Vo(e), this.currentSelection.set(r), e.scrollToSelection()) : (i > -1 || o) && (i > -1 && (e.docView.markDirty(i, a), dK(e)), this.handleDOMChange(i, a, l, u), e.docView && e.docView.dirty ? e.updateState(e.state) : this.currentSelection.eq(r) || Vo(e), this.currentSelection.set(r));
51758
51758
  }
51759
51759
  registerMutation(e, n) {
51760
51760
  if (n.indexOf(e.target) > -1)
@@ -51924,7 +51924,7 @@ function yK(t, e, n, r, o) {
51924
51924
  let w = y.start, T = y.endA, O, M, A;
51925
51925
  if (E) {
51926
51926
  if (g.pos == v.pos)
51927
- Qn && bi <= 11 && g.parentOffset == 0 && (t.domObserver.suppressSelectionUpdates(), setTimeout(() => zo(t), 20)), O = t.state.tr.delete(w, T), M = p.resolve(y.start).marksAcross(p.resolve(y.endA));
51927
+ Qn && bi <= 11 && g.parentOffset == 0 && (t.domObserver.suppressSelectionUpdates(), setTimeout(() => Vo(t), 20)), O = t.state.tr.delete(w, T), M = p.resolve(y.start).marksAcross(p.resolve(y.endA));
51928
51928
  else if (
51929
51929
  // Adding or removing a mark
51930
51930
  y.endA == y.endB && (A = bK(g.parent.content.cut(g.parentOffset, v.parentOffset), x.parent.content.cut(x.parentOffset, y.endA - x.start())))
@@ -52105,7 +52105,7 @@ const PS = class PS {
52105
52105
  let y = An ? this.trackWrites = this.domSelectionRange().focusNode : null;
52106
52106
  this.composing && (this.input.compositionNode = nK(this)), (i || !this.docView.update(e.doc, d, u, this)) && (this.docView.updateOuterDeco(d), this.docView.destroy(), this.docView = GT(e.doc, d, u, this.dom, this)), y && !this.trackWrites && (h = !0);
52107
52107
  }
52108
- h || !(this.input.mouseDown && this.domObserver.currentSelection.eq(this.domSelectionRange()) && IG(this)) ? zo(this, h) : (MA(this, e.selection), this.domObserver.setCurSelection()), this.domObserver.start();
52108
+ h || !(this.input.mouseDown && this.domObserver.currentSelection.eq(this.domSelectionRange()) && IG(this)) ? Vo(this, h) : (MA(this, e.selection), this.domObserver.setCurSelection()), this.domObserver.start();
52109
52109
  }
52110
52110
  this.updatePluginViews(o), !((r = this.dragging) === null || r === void 0) && r.node && !o.doc.eq(e.doc) && this.updateDraggedNode(this.dragging, o), p == "reset" ? this.dom.scrollTop = 0 : p == "to selection" ? this.scrollToSelection() : m && cG(m);
52111
52111
  }
@@ -52192,7 +52192,7 @@ const PS = class PS {
52192
52192
  Focus the editor.
52193
52193
  */
52194
52194
  focus() {
52195
- this.domObserver.stop(), this.editable && uG(this.dom), zo(this), this.domObserver.start();
52195
+ this.domObserver.stop(), this.editable && uG(this.dom), Vo(this), this.domObserver.start();
52196
52196
  }
52197
52197
  /**
52198
52198
  Get the document root in which the editor exists. This will
@@ -52363,13 +52363,13 @@ function fE(t) {
52363
52363
  if (typeof n == "function" && (n = n(t.state)), n)
52364
52364
  for (let r in n)
52365
52365
  r == "class" ? e.class += " " + n[r] : r == "style" ? e.style = (e.style ? e.style + ";" : "") + n[r] : !e[r] && r != "contenteditable" && r != "nodeName" && (e[r] = String(n[r]));
52366
- }), e.translate || (e.translate = "no"), [qo.node(0, t.state.doc.content.size, e)];
52366
+ }), e.translate || (e.translate = "no"), [Uo.node(0, t.state.doc.content.size, e)];
52367
52367
  }
52368
52368
  s(fE, "computeDocDeco");
52369
52369
  function hE(t) {
52370
52370
  if (t.markCursor) {
52371
52371
  let e = document.createElement("img");
52372
- e.className = "ProseMirror-separator", e.setAttribute("mark-placeholder", "true"), e.setAttribute("alt", ""), t.cursorWrapper = { dom: e, deco: qo.widget(t.state.selection.from, e, { raw: !0, marks: t.markCursor }) };
52372
+ e.className = "ProseMirror-separator", e.setAttribute("mark-placeholder", "true"), e.setAttribute("alt", ""), t.cursorWrapper = { dom: e, deco: Uo.widget(t.state.selection.from, e, { raw: !0, marks: t.markCursor }) };
52373
52373
  } else
52374
52374
  t.cursorWrapper = null;
52375
52375
  }
@@ -52784,7 +52784,7 @@ const $K = /* @__PURE__ */ s((t, e) => {
52784
52784
  return !1;
52785
52785
  if (n.depth > 1 && n.after() != n.end(-1)) {
52786
52786
  let i = n.before();
52787
- if (Bo(t.doc, i))
52787
+ if (zo(t.doc, i))
52788
52788
  return e && e(t.tr.split(i).scrollIntoView()), !0;
52789
52789
  }
52790
52790
  let r = n.blockRange(), o = r && pl(r);
@@ -52794,7 +52794,7 @@ function LK(t) {
52794
52794
  return (e, n) => {
52795
52795
  let { $from: r, $to: o } = e.selection;
52796
52796
  if (e.selection instanceof We && e.selection.node.isBlock)
52797
- return !r.parentOffset || !Bo(e.doc, r.pos) ? !1 : (n && n(e.tr.split(r.pos).scrollIntoView()), !0);
52797
+ return !r.parentOffset || !zo(e.doc, r.pos) ? !1 : (n && n(e.tr.split(r.pos).scrollIntoView()), !0);
52798
52798
  if (!r.depth)
52799
52799
  return !1;
52800
52800
  let i = [], a, l, u = !1, d = !1;
@@ -52809,8 +52809,8 @@ function LK(t) {
52809
52809
  }
52810
52810
  let p = e.tr;
52811
52811
  (e.selection instanceof Je || e.selection instanceof xo) && p.deleteSelection();
52812
- let f = p.mapping.map(r.pos), m = Bo(p.doc, f, i.length, i);
52813
- if (m || (i[0] = l ? { type: l } : null, m = Bo(p.doc, f, i.length, i)), p.split(f, i.length, i), !u && d && r.node(a).type != l) {
52812
+ let f = p.mapping.map(r.pos), m = zo(p.doc, f, i.length, i);
52813
+ if (m || (i[0] = l ? { type: l } : null, m = zo(p.doc, f, i.length, i)), p.split(f, i.length, i), !u && d && r.node(a).type != l) {
52814
52814
  let h = p.mapping.map(r.before(a)), y = p.doc.resolve(h);
52815
52815
  l && r.node(a - 1).canReplaceWith(y.index(), y.index() + 1, l) && p.setNodeMarkup(p.mapping.map(r.before(a)), l);
52816
52816
  }
@@ -52957,7 +52957,7 @@ function HK(t, e, n, r, o) {
52957
52957
  n[p].type == o && (a = p + 1);
52958
52958
  let l = n.length - a, u = e.start + n.length - (r ? 2 : 0), d = e.parent;
52959
52959
  for (let p = e.startIndex, f = e.endIndex, m = !0; p < f; p++, m = !1)
52960
- !m && Bo(t.doc, u, l) && (t.split(u, l), u += 2 * l), u += d.child(p).nodeSize;
52960
+ !m && zo(t.doc, u, l) && (t.split(u, l), u += 2 * l), u += d.child(p).nodeSize;
52961
52961
  return t;
52962
52962
  }
52963
52963
  s(HK, "doWrapInList");
@@ -54651,7 +54651,7 @@ s(TE, "ensureMarks");
54651
54651
  const bJ = /* @__PURE__ */ s(({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, editor: o }) => {
54652
54652
  const { selection: i, doc: a } = e, { $from: l, $to: u } = i, d = o.extensionManager.attributes, p = _d(d, l.node().type.name, l.node().attrs);
54653
54653
  if (i instanceof We && i.node.isBlock)
54654
- return !l.parentOffset || !Bo(a, l.pos) ? !1 : (r && (t && TE(n, o.extensionManager.splittableMarks), e.split(l.pos).scrollIntoView()), !0);
54654
+ return !l.parentOffset || !zo(a, l.pos) ? !1 : (r && (t && TE(n, o.extensionManager.splittableMarks), e.split(l.pos).scrollIntoView()), !0);
54655
54655
  if (!l.parent.isBlock)
54656
54656
  return !1;
54657
54657
  const f = u.parentOffset === u.parent.content.size, m = l.depth === 0 ? void 0 : eJ(l.node(-1).contentMatchAt(l.indexAfter(-1)));
@@ -54660,8 +54660,8 @@ const bJ = /* @__PURE__ */ s(({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n,
54660
54660
  type: m,
54661
54661
  attrs: p
54662
54662
  }
54663
- ] : void 0, y = Bo(e.doc, e.mapping.map(l.pos), 1, h);
54664
- if (!h && !y && Bo(e.doc, e.mapping.map(l.pos), 1, m ? [{ type: m }] : void 0) && (y = !0, h = m ? [
54663
+ ] : void 0, y = zo(e.doc, e.mapping.map(l.pos), 1, h);
54664
+ if (!h && !y && zo(e.doc, e.mapping.map(l.pos), 1, m ? [{ type: m }] : void 0) && (y = !0, h = m ? [
54665
54665
  {
54666
54666
  type: m,
54667
54667
  attrs: p
@@ -54719,7 +54719,7 @@ const bJ = /* @__PURE__ */ s(({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n,
54719
54719
  { type: l, attrs: y },
54720
54720
  { type: h, attrs: g }
54721
54721
  ] : [{ type: l, attrs: y }];
54722
- if (!Bo(n.doc, u.pos, 2))
54722
+ if (!zo(n.doc, u.pos, 2))
54723
54723
  return !1;
54724
54724
  if (o) {
54725
54725
  const { selection: x, storedMarks: E } = r, { splittableMarks: C } = i.extensionManager, w = E || x.$to.parentOffset && x.$from.marks();
@@ -56076,10 +56076,10 @@ Gn.prototype = {
56076
56076
  return o.j[t] = a, a;
56077
56077
  }
56078
56078
  };
56079
- const Ze = /* @__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"), OE = /* @__PURE__ */ s((t, e, n, r, o) => t.ts(e, n, r, o), "ts"), he = /* @__PURE__ */ s((t, e, n, r, o) => t.tt(e, n, r, o), "tt"), No = "WORD", Ov = "UWORD", Uc = "LOCALHOST", kv = "TLD", Mv = "UTLD", zd = "SCHEME", da = "SLASH_SCHEME", P1 = "NUM", y2 = "WS", A1 = "NL", rc = "OPENBRACE", oc = "CLOSEBRACE", Hp = "OPENBRACKET", qp = "CLOSEBRACKET", Up = "OPENPAREN", Gp = "CLOSEPAREN", Kp = "OPENANGLEBRACKET", Yp = "CLOSEANGLEBRACKET", Jp = "FULLWIDTHLEFTPAREN", Xp = "FULLWIDTHRIGHTPAREN", Qp = "LEFTCORNERBRACKET", Zp = "RIGHTCORNERBRACKET", ef = "LEFTWHITECORNERBRACKET", tf = "RIGHTWHITECORNERBRACKET", nf = "FULLWIDTHLESSTHAN", rf = "FULLWIDTHGREATERTHAN", of = "AMPERSAND", sf = "APOSTROPHE", af = "ASTERISK", ai = "AT", lf = "BACKSLASH", cf = "BACKTICK", uf = "CARET", fi = "COLON", N1 = "COMMA", df = "DOLLAR", ro = "DOT", pf = "EQUALS", D1 = "EXCLAMATION", oo = "HYPHEN", ff = "PERCENT", hf = "PIPE", mf = "PLUS", gf = "POUND", yf = "QUERY", $1 = "QUOTE", L1 = "SEMI", io = "SLASH", ic = "TILDE", bf = "UNDERSCORE", b2 = "EMOJI", vf = "SYM";
56079
+ const Ze = /* @__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"), OE = /* @__PURE__ */ s((t, e, n, r, o) => t.ts(e, n, r, o), "ts"), he = /* @__PURE__ */ s((t, e, n, r, o) => t.tt(e, n, r, o), "tt"), Do = "WORD", Ov = "UWORD", Uc = "LOCALHOST", kv = "TLD", Mv = "UTLD", zd = "SCHEME", da = "SLASH_SCHEME", P1 = "NUM", y2 = "WS", A1 = "NL", rc = "OPENBRACE", oc = "CLOSEBRACE", Hp = "OPENBRACKET", qp = "CLOSEBRACKET", Up = "OPENPAREN", Gp = "CLOSEPAREN", Kp = "OPENANGLEBRACKET", Yp = "CLOSEANGLEBRACKET", Jp = "FULLWIDTHLEFTPAREN", Xp = "FULLWIDTHRIGHTPAREN", Qp = "LEFTCORNERBRACKET", Zp = "RIGHTCORNERBRACKET", ef = "LEFTWHITECORNERBRACKET", tf = "RIGHTWHITECORNERBRACKET", nf = "FULLWIDTHLESSTHAN", rf = "FULLWIDTHGREATERTHAN", of = "AMPERSAND", sf = "APOSTROPHE", af = "ASTERISK", ai = "AT", lf = "BACKSLASH", cf = "BACKTICK", uf = "CARET", fi = "COLON", N1 = "COMMA", df = "DOLLAR", ro = "DOT", pf = "EQUALS", D1 = "EXCLAMATION", oo = "HYPHEN", ff = "PERCENT", hf = "PIPE", mf = "PLUS", gf = "POUND", yf = "QUERY", $1 = "QUOTE", L1 = "SEMI", io = "SLASH", ic = "TILDE", bf = "UNDERSCORE", b2 = "EMOJI", vf = "SYM";
56080
56080
  var v2 = /* @__PURE__ */ Object.freeze({
56081
56081
  __proto__: null,
56082
- WORD: No,
56082
+ WORD: Do,
56083
56083
  UWORD: Ov,
56084
56084
  LOCALHOST: Uc,
56085
56085
  TLD: kv,
@@ -56145,7 +56145,7 @@ function tX(t) {
56145
56145
  [Cv]: !0
56146
56146
  });
56147
56147
  hr(r, yg, r);
56148
- const o = hr(n, ia, No, {
56148
+ const o = hr(n, ia, Do, {
56149
56149
  [wv]: !0
56150
56150
  });
56151
56151
  hr(o, ia, o);
@@ -56167,7 +56167,7 @@ function tX(t) {
56167
56167
  hr(u, gg, l);
56168
56168
  const d = [[ia, o]], p = [[ia, null], [mg, i]];
56169
56169
  for (let f = 0; f < Sd.length; f++)
56170
- oi(n, Sd[f], kv, No, d);
56170
+ oi(n, Sd[f], kv, Do, d);
56171
56171
  for (let f = 0; f < xd.length; f++)
56172
56172
  oi(n, xd[f], Mv, Ov, p);
56173
56173
  Ss(kv, {
@@ -56176,7 +56176,7 @@ function tX(t) {
56176
56176
  }, e), Ss(Mv, {
56177
56177
  utld: !0,
56178
56178
  alpha: !0
56179
- }, e), oi(n, "file", zd, No, d), oi(n, "mailto", zd, No, d), oi(n, "http", da, No, d), oi(n, "https", da, No, d), oi(n, "ftp", da, No, d), oi(n, "ftps", da, No, d), Ss(zd, {
56179
+ }, e), oi(n, "file", zd, Do, d), oi(n, "mailto", zd, Do, d), oi(n, "http", da, Do, d), oi(n, "https", da, Do, d), oi(n, "ftp", da, Do, d), oi(n, "ftps", da, Do, d), Ss(zd, {
56180
56180
  scheme: !0,
56181
56181
  ascii: !0
56182
56182
  }, e), Ss(da, {
@@ -58128,7 +58128,7 @@ function lQ(t) {
58128
58128
  if (!(t.selection instanceof Ln))
58129
58129
  return null;
58130
58130
  let e = document.createElement("div");
58131
- return e.className = "ProseMirror-gapcursor", ir.create(t.doc, [qo.widget(t.selection.head, e, { key: "gapcursor" })]);
58131
+ return e.className = "ProseMirror-gapcursor", ir.create(t.doc, [Uo.widget(t.selection.head, e, { key: "gapcursor" })]);
58132
58132
  }
58133
58133
  s(lQ, "drawGapCursor");
58134
58134
  const cQ = $n.create({
@@ -61061,7 +61061,7 @@ const xf = "RaLabeled", Cf = {
61061
61061
  propsContenido: { html: e = !1, ...n },
61062
61062
  hidden: r
61063
61063
  } = Wn(t);
61064
- return r ? null : e ? /* @__PURE__ */ b(Gee, { ...n, className: "" }) : /* @__PURE__ */ b(_o, { multiline: !0, ...n });
61064
+ return r ? null : e ? /* @__PURE__ */ b(Gee, { ...n, className: "" }) : /* @__PURE__ */ b(Bo, { multiline: !0, ...n });
61065
61065
  }, "TextArea"), H2 = /* @__PURE__ */ s((t) => {
61066
61066
  const { helperText: e, error: n } = t, r = lt();
61067
61067
  return n ? /* @__PURE__ */ b(kD, { error: n }) : e === !1 ? null : wr(e) ? e : typeof e == "string" ? /* @__PURE__ */ b(Yn, { children: r(e, { _: e }) }) : /* @__PURE__ */ b("span", { dangerouslySetInnerHTML: Xee });
@@ -61282,7 +61282,7 @@ const xf = "RaLabeled", Cf = {
61282
61282
  [i]
61283
61283
  ), l = /* @__PURE__ */ s((d) => d === "" ? "" : i(d), "parse"), u = /* @__PURE__ */ s((d) => d == null || d === "" ? "" : String(d).replace(".", n ? "," : "."), "format");
61284
61284
  return /* @__PURE__ */ b(
61285
- _o,
61285
+ Bo,
61286
61286
  {
61287
61287
  ...o,
61288
61288
  inputProps: {
@@ -61306,7 +61306,7 @@ const xf = "RaLabeled", Cf = {
61306
61306
  [t, e]
61307
61307
  );
61308
61308
  return /* @__PURE__ */ b(
61309
- _o,
61309
+ Bo,
61310
61310
  {
61311
61311
  ...n,
61312
61312
  type: "text",
@@ -61323,14 +61323,14 @@ const xf = "RaLabeled", Cf = {
61323
61323
  const { tipo: e, ...n } = t, { propsContenido: r, hidden: o } = Wn(n), i = {
61324
61324
  ...r
61325
61325
  };
61326
- return o ? null : e === "N" ? /* @__PURE__ */ b(cte, { ...i }) : e === "D" ? /* @__PURE__ */ b(lte, { ...i, totalDigits: i.maxLength }) : e === "F" ? /* @__PURE__ */ b(Qee, { ...i }) : e === "Z" ? /* @__PURE__ */ b(rte, { ...i }) : e === "H" ? /* @__PURE__ */ b(_o, { ...i, type: "time" }) : e === "TF" ? /* @__PURE__ */ b(
61327
- _o,
61326
+ return o ? null : e === "N" ? /* @__PURE__ */ b(cte, { ...i }) : e === "D" ? /* @__PURE__ */ b(lte, { ...i, totalDigits: i.maxLength }) : e === "F" ? /* @__PURE__ */ b(Qee, { ...i }) : e === "Z" ? /* @__PURE__ */ b(rte, { ...i }) : e === "H" ? /* @__PURE__ */ b(Bo, { ...i, type: "time" }) : e === "TF" ? /* @__PURE__ */ b(
61327
+ Bo,
61328
61328
  {
61329
61329
  ...i,
61330
61330
  inputProps: { maxLength: i.maxLength || 10 }
61331
61331
  }
61332
61332
  ) : /* @__PURE__ */ b(
61333
- _o,
61333
+ Bo,
61334
61334
  {
61335
61335
  ...i,
61336
61336
  inputProps: { maxLength: i.maxLength }
@@ -61362,7 +61362,7 @@ const xf = "RaLabeled", Cf = {
61362
61362
  },
61363
61363
  children: [
61364
61364
  /* @__PURE__ */ b(
61365
- _o,
61365
+ Bo,
61366
61366
  {
61367
61367
  ...t,
61368
61368
  disabled: !1,
@@ -61494,7 +61494,7 @@ export {
61494
61494
  Pte as timeFormat,
61495
61495
  Ate as timeParser,
61496
61496
  T0 as useAjax,
61497
- Yo as useAsistente,
61497
+ Jo as useAsistente,
61498
61498
  Wn as useContenidoController,
61499
61499
  Gte as useEtrActions,
61500
61500
  Ft as useFicha,
@@ -61503,7 +61503,7 @@ export {
61503
61503
  Dh as useFormSubmit,
61504
61504
  iI as useFormToolbar,
61505
61505
  _4 as useGetJson,
61506
- Jo as useGrillaEtriek,
61506
+ Xo as useGrillaEtriek,
61507
61507
  UM as useIdContext,
61508
61508
  Q0 as useInitFicha,
61509
61509
  _r as useNotifyEtriek,