biblio-react 3.0.0-alpha58 → 3.0.0-alpha59

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
@@ -2,7 +2,7 @@ var rw = Object.defineProperty;
2
2
  var a = (e, t) => rw(e, "name", { value: t, configurable: !0 });
3
3
  import we, { jsx as v, jsxs as Y, Fragment as Pn } from "react/jsx-runtime";
4
4
  import * as x from "react";
5
- import nt, { forwardRef as Ku, useContext as ke, createElement as zy, Children as Yu, isValidElement as Cn, cloneElement as Tn, createContext as Rt, useState as De, useMemo as fr, useCallback as He, useEffect as Ze, Fragment as an, memo as Ix, useRef as Ju, useDebugValue as Lx, useId as nw } from "react";
5
+ import nt, { forwardRef as Ku, useContext as ke, createElement as zy, Children as Yu, isValidElement as Cn, cloneElement as Tn, createContext as Rt, useState as De, useMemo as fr, useCallback as He, useEffect as et, Fragment as an, memo as Ix, useRef as Ju, useDebugValue as Lx, useId as nw } from "react";
6
6
  import { unstable_ClassNameGenerator as Nx, exactProp as Qu, unstable_getScrollbarSize as ow, unstable_ownerDocument as En, unstable_ownerWindow as Ss, unstable_useForkRef as Ui, elementAcceptingRef as iw, unstable_useEnhancedEffect as Jo, unstable_setRef as By, HTMLElementType as lf, unstable_useEventCallback as Vy, unstable_createChainedFunction as Hy, unstable_debounce as aw, usePreviousProps as sw, unstable_getNormalizedScrollLeft as lw, unstable_detectScrollType as cw, chainPropTypes as uw, refType as dw, deepmerge as Dx } from "@mui/utils";
7
7
  import { MenuItem as cc, ListItemIcon as cf, ListItemText as uf, useMediaQuery as va, Typography as Cs, Box as at, Grid as Wy, Dialog as Gh, DialogTitle as _x, DialogContent as pw, Stack as Kh, DialogActions as fw, Tooltip as Xu, IconButton as uc, createTheme as hw, ThemeProvider as mw, alpha as gw, StyledEngineProvider as jx, Card as zx, CircularProgress as bw, CardContent as Bx, Collapse as yw, List as Vx, Switch as vw, Divider as Ow, Button as Uy, Paper as Hx, ToggleButtonGroup as Zu, ToggleButton as Dt, ListItem as xw, Menu as Sw, useTheme as Cw, FormHelperText as Tw } from "@mui/material";
8
8
  import { useTranslate as Tt, useUserMenu as Ew, useResourceDefinitions as kw, AppBar as ww, UserMenu as Pw, Logout as Mw, useDataProvider as Yh, useResourceContext as gt, useListContext as qi, useNotify as $n, useRedirect as Ys, useUnselectAll as Rw, NumberField as Aw, DateField as qy, TextField as Gl, ReferenceField as Fw, useCreatePath as Js, Button as Tr, Form as Qs, SaveButton as ed, Confirm as Jh, useRecordContext as un, useListController as $w, ListContextProvider as Iw, LoadingClasses as dc, List as Wx, useResourceDefinition as Ux, BulkActionsToolbar as Lw, useInput as Qh, useGetList as qx, useSafeSetState as Xh, useGetOne as Gx, required as Nw, minValue as Dw, TopToolbar as Kx, ListButton as _w, ShowButton as jw, useCreateController as zw, CreateContextProvider as Bw, useSaveContext as Vw, Create as Hw, useDelete as Ww, useEditController as Uw, Edit as qw, SimpleForm as Gw, useSidebarState as Yx, Menu as Kw, DashboardMenuItem as Yw, MenuItemLink as Jx, Layout as Jw, FilterContext as Qw, sanitizeListRestProps as Xw, FilterButton as Zw, CreateButton as eP, ExportButton as tP, useLogin as rP, TextInput as Qo, PasswordInput as Qx, useShowController as nP, Show as oP, FormTab as iP, getTabbedFormTabFullPath as aP, TabbedFormTabs as sP, Toolbar as Xx, defaultTheme as Zx, BooleanField as lP, ImageInput as cP, ImageField as uP, FileInput as dP, BooleanInput as pP, ReferenceInput as e1, useChoicesContext as fP, AutocompleteInput as hP, SelectInput as mP, ReferenceArrayInput as gP, SelectArrayInput as bP, RadioButtonGroupInput as t1, useRecordSelection as r1, ListActions as yP, Datagrid as vP, ValidationError as OP, FieldTitle as n1, NumberInput as xP } from "react-admin";
@@ -104,7 +104,7 @@ function ne(e, t) {
104
104
  return r;
105
105
  }
106
106
  a(ne, "_objectWithoutPropertiesLoose");
107
- var ff = { exports: {} }, xl = { exports: {} }, Ge = {};
107
+ var ff = { exports: {} }, xl = { exports: {} }, Ke = {};
108
108
  /** @license React v16.13.1
109
109
  * react-is.production.min.js
110
110
  *
@@ -115,7 +115,7 @@ var ff = { exports: {} }, xl = { exports: {} }, Ge = {};
115
115
  */
116
116
  var Jy;
117
117
  function zP() {
118
- if (Jy) return Ge;
118
+ if (Jy) return Ke;
119
119
  Jy = 1;
120
120
  var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, O = e ? Symbol.for("react.responder") : 60118, k = e ? Symbol.for("react.scope") : 60119;
121
121
  function T(S) {
@@ -152,36 +152,36 @@ function zP() {
152
152
  function C(S) {
153
153
  return T(S) === d;
154
154
  }
155
- return a(C, "A"), Ge.AsyncMode = u, Ge.ConcurrentMode = d, Ge.ContextConsumer = l, Ge.ContextProvider = s, Ge.Element = t, Ge.ForwardRef = p, Ge.Fragment = n, Ge.Lazy = m, Ge.Memo = g, Ge.Portal = r, Ge.Profiler = i, Ge.StrictMode = o, Ge.Suspense = f, Ge.isAsyncMode = function(S) {
155
+ return a(C, "A"), Ke.AsyncMode = u, Ke.ConcurrentMode = d, Ke.ContextConsumer = l, Ke.ContextProvider = s, Ke.Element = t, Ke.ForwardRef = p, Ke.Fragment = n, Ke.Lazy = m, Ke.Memo = g, Ke.Portal = r, Ke.Profiler = i, Ke.StrictMode = o, Ke.Suspense = f, Ke.isAsyncMode = function(S) {
156
156
  return C(S) || T(S) === u;
157
- }, Ge.isConcurrentMode = C, Ge.isContextConsumer = function(S) {
157
+ }, Ke.isConcurrentMode = C, Ke.isContextConsumer = function(S) {
158
158
  return T(S) === l;
159
- }, Ge.isContextProvider = function(S) {
159
+ }, Ke.isContextProvider = function(S) {
160
160
  return T(S) === s;
161
- }, Ge.isElement = function(S) {
161
+ }, Ke.isElement = function(S) {
162
162
  return typeof S == "object" && S !== null && S.$$typeof === t;
163
- }, Ge.isForwardRef = function(S) {
163
+ }, Ke.isForwardRef = function(S) {
164
164
  return T(S) === p;
165
- }, Ge.isFragment = function(S) {
165
+ }, Ke.isFragment = function(S) {
166
166
  return T(S) === n;
167
- }, Ge.isLazy = function(S) {
167
+ }, Ke.isLazy = function(S) {
168
168
  return T(S) === m;
169
- }, Ge.isMemo = function(S) {
169
+ }, Ke.isMemo = function(S) {
170
170
  return T(S) === g;
171
- }, Ge.isPortal = function(S) {
171
+ }, Ke.isPortal = function(S) {
172
172
  return T(S) === r;
173
- }, Ge.isProfiler = function(S) {
173
+ }, Ke.isProfiler = function(S) {
174
174
  return T(S) === i;
175
- }, Ge.isStrictMode = function(S) {
175
+ }, Ke.isStrictMode = function(S) {
176
176
  return T(S) === o;
177
- }, Ge.isSuspense = function(S) {
177
+ }, Ke.isSuspense = function(S) {
178
178
  return T(S) === f;
179
- }, Ge.isValidElementType = function(S) {
179
+ }, Ke.isValidElementType = function(S) {
180
180
  return typeof S == "string" || typeof S == "function" || S === n || S === d || S === i || S === o || S === f || S === h || typeof S == "object" && S !== null && (S.$$typeof === m || S.$$typeof === g || S.$$typeof === s || S.$$typeof === l || S.$$typeof === p || S.$$typeof === y || S.$$typeof === O || S.$$typeof === k || S.$$typeof === b);
181
- }, Ge.typeOf = T, Ge;
181
+ }, Ke.typeOf = T, Ke;
182
182
  }
183
183
  a(zP, "requireReactIs_production_min$2");
184
- var Ke = {};
184
+ var Ye = {};
185
185
  /** @license React v16.13.1
186
186
  * react-is.development.js
187
187
  *
@@ -284,8 +284,8 @@ function BP() {
284
284
  function ae($) {
285
285
  return C($) === f;
286
286
  }
287
- a(ae, "isSuspense"), Ke.AsyncMode = S, Ke.ConcurrentMode = w, Ke.ContextConsumer = P, Ke.ContextProvider = R, Ke.Element = M, Ke.ForwardRef = F, Ke.Fragment = A, Ke.Lazy = j, Ke.Memo = N, Ke.Portal = L, Ke.Profiler = z, Ke.StrictMode = _, Ke.Suspense = V, Ke.isAsyncMode = Q, Ke.isConcurrentMode = D, Ke.isContextConsumer = H, Ke.isContextProvider = oe, Ke.isElement = B, Ke.isForwardRef = U, Ke.isFragment = K, Ke.isLazy = q, Ke.isMemo = te, Ke.isPortal = Z, Ke.isProfiler = ie, Ke.isStrictMode = se, Ke.isSuspense = ae, Ke.isValidElementType = T, Ke.typeOf = C;
288
- }()), Ke;
287
+ a(ae, "isSuspense"), Ye.AsyncMode = S, Ye.ConcurrentMode = w, Ye.ContextConsumer = P, Ye.ContextProvider = R, Ye.Element = M, Ye.ForwardRef = F, Ye.Fragment = A, Ye.Lazy = j, Ye.Memo = N, Ye.Portal = L, Ye.Profiler = z, Ye.StrictMode = _, Ye.Suspense = V, Ye.isAsyncMode = Q, Ye.isConcurrentMode = D, Ye.isContextConsumer = H, Ye.isContextProvider = oe, Ye.isElement = B, Ye.isForwardRef = U, Ye.isFragment = K, Ye.isLazy = q, Ye.isMemo = te, Ye.isPortal = Z, Ye.isProfiler = ie, Ye.isStrictMode = se, Ye.isSuspense = ae, Ye.isValidElementType = T, Ye.typeOf = C;
288
+ }()), Ye;
289
289
  }
290
290
  a(BP, "requireReactIs_development$2");
291
291
  var Xy;
@@ -1611,7 +1611,7 @@ If multiple caches share the same key they might "fight" for each other's style
1611
1611
  insert: u
1612
1612
  };
1613
1613
  return m.sheet.hydrate(l), m;
1614
- }, "createCache"), gf = { exports: {} }, Ye = {};
1614
+ }, "createCache"), gf = { exports: {} }, Je = {};
1615
1615
  /** @license React v16.13.1
1616
1616
  * react-is.production.min.js
1617
1617
  *
@@ -1622,7 +1622,7 @@ If multiple caches share the same key they might "fight" for each other's style
1622
1622
  */
1623
1623
  var dv;
1624
1624
  function $M() {
1625
- if (dv) return Ye;
1625
+ if (dv) return Je;
1626
1626
  dv = 1;
1627
1627
  var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, O = e ? Symbol.for("react.responder") : 60118, k = e ? Symbol.for("react.scope") : 60119;
1628
1628
  function T(S) {
@@ -1659,36 +1659,36 @@ function $M() {
1659
1659
  function C(S) {
1660
1660
  return T(S) === d;
1661
1661
  }
1662
- return a(C, "A"), Ye.AsyncMode = u, Ye.ConcurrentMode = d, Ye.ContextConsumer = l, Ye.ContextProvider = s, Ye.Element = t, Ye.ForwardRef = p, Ye.Fragment = n, Ye.Lazy = m, Ye.Memo = g, Ye.Portal = r, Ye.Profiler = i, Ye.StrictMode = o, Ye.Suspense = f, Ye.isAsyncMode = function(S) {
1662
+ return a(C, "A"), Je.AsyncMode = u, Je.ConcurrentMode = d, Je.ContextConsumer = l, Je.ContextProvider = s, Je.Element = t, Je.ForwardRef = p, Je.Fragment = n, Je.Lazy = m, Je.Memo = g, Je.Portal = r, Je.Profiler = i, Je.StrictMode = o, Je.Suspense = f, Je.isAsyncMode = function(S) {
1663
1663
  return C(S) || T(S) === u;
1664
- }, Ye.isConcurrentMode = C, Ye.isContextConsumer = function(S) {
1664
+ }, Je.isConcurrentMode = C, Je.isContextConsumer = function(S) {
1665
1665
  return T(S) === l;
1666
- }, Ye.isContextProvider = function(S) {
1666
+ }, Je.isContextProvider = function(S) {
1667
1667
  return T(S) === s;
1668
- }, Ye.isElement = function(S) {
1668
+ }, Je.isElement = function(S) {
1669
1669
  return typeof S == "object" && S !== null && S.$$typeof === t;
1670
- }, Ye.isForwardRef = function(S) {
1670
+ }, Je.isForwardRef = function(S) {
1671
1671
  return T(S) === p;
1672
- }, Ye.isFragment = function(S) {
1672
+ }, Je.isFragment = function(S) {
1673
1673
  return T(S) === n;
1674
- }, Ye.isLazy = function(S) {
1674
+ }, Je.isLazy = function(S) {
1675
1675
  return T(S) === m;
1676
- }, Ye.isMemo = function(S) {
1676
+ }, Je.isMemo = function(S) {
1677
1677
  return T(S) === g;
1678
- }, Ye.isPortal = function(S) {
1678
+ }, Je.isPortal = function(S) {
1679
1679
  return T(S) === r;
1680
- }, Ye.isProfiler = function(S) {
1680
+ }, Je.isProfiler = function(S) {
1681
1681
  return T(S) === i;
1682
- }, Ye.isStrictMode = function(S) {
1682
+ }, Je.isStrictMode = function(S) {
1683
1683
  return T(S) === o;
1684
- }, Ye.isSuspense = function(S) {
1684
+ }, Je.isSuspense = function(S) {
1685
1685
  return T(S) === f;
1686
- }, Ye.isValidElementType = function(S) {
1686
+ }, Je.isValidElementType = function(S) {
1687
1687
  return typeof S == "string" || typeof S == "function" || S === n || S === d || S === i || S === o || S === f || S === h || typeof S == "object" && S !== null && (S.$$typeof === m || S.$$typeof === g || S.$$typeof === s || S.$$typeof === l || S.$$typeof === p || S.$$typeof === y || S.$$typeof === O || S.$$typeof === k || S.$$typeof === b);
1688
- }, Ye.typeOf = T, Ye;
1688
+ }, Je.typeOf = T, Je;
1689
1689
  }
1690
1690
  a($M, "requireReactIs_production_min$1");
1691
- var Je = {};
1691
+ var Qe = {};
1692
1692
  /** @license React v16.13.1
1693
1693
  * react-is.development.js
1694
1694
  *
@@ -1791,8 +1791,8 @@ function IM() {
1791
1791
  function ae($) {
1792
1792
  return C($) === f;
1793
1793
  }
1794
- a(ae, "isSuspense"), Je.AsyncMode = S, Je.ConcurrentMode = w, Je.ContextConsumer = P, Je.ContextProvider = R, Je.Element = M, Je.ForwardRef = F, Je.Fragment = A, Je.Lazy = j, Je.Memo = N, Je.Portal = L, Je.Profiler = z, Je.StrictMode = _, Je.Suspense = V, Je.isAsyncMode = Q, Je.isConcurrentMode = D, Je.isContextConsumer = H, Je.isContextProvider = oe, Je.isElement = B, Je.isForwardRef = U, Je.isFragment = K, Je.isLazy = q, Je.isMemo = te, Je.isPortal = Z, Je.isProfiler = ie, Je.isStrictMode = se, Je.isSuspense = ae, Je.isValidElementType = T, Je.typeOf = C;
1795
- }()), Je;
1794
+ a(ae, "isSuspense"), Qe.AsyncMode = S, Qe.ConcurrentMode = w, Qe.ContextConsumer = P, Qe.ContextProvider = R, Qe.Element = M, Qe.ForwardRef = F, Qe.Fragment = A, Qe.Lazy = j, Qe.Memo = N, Qe.Portal = L, Qe.Profiler = z, Qe.StrictMode = _, Qe.Suspense = V, Qe.isAsyncMode = Q, Qe.isConcurrentMode = D, Qe.isContextConsumer = H, Qe.isContextProvider = oe, Qe.isElement = B, Qe.isForwardRef = U, Qe.isFragment = K, Qe.isLazy = q, Qe.isMemo = te, Qe.isPortal = Z, Qe.isProfiler = ie, Qe.isStrictMode = se, Qe.isSuspense = ae, Qe.isValidElementType = T, Qe.typeOf = C;
1795
+ }()), Qe;
1796
1796
  }
1797
1797
  a(IM, "requireReactIs_development$1");
1798
1798
  process.env.NODE_ENV === "production" ? gf.exports = $M() : gf.exports = IM();
@@ -2684,7 +2684,7 @@ const fR = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2684
2684
  default: qt,
2685
2685
  isPlainObject: Sn
2686
2686
  }, Symbol.toStringTag, { value: "Module" })), hR = /* @__PURE__ */ dn(fR), mR = /* @__PURE__ */ dn(_P);
2687
- var vf = { exports: {} }, Qe = {};
2687
+ var vf = { exports: {} }, Xe = {};
2688
2688
  /**
2689
2689
  * @license React
2690
2690
  * react-is.production.min.js
@@ -2696,7 +2696,7 @@ var vf = { exports: {} }, Qe = {};
2696
2696
  */
2697
2697
  var wv;
2698
2698
  function gR() {
2699
- if (wv) return Qe;
2699
+ if (wv) return Xe;
2700
2700
  wv = 1;
2701
2701
  var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), s = Symbol.for("react.context"), l = Symbol.for("react.server_context"), u = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), m;
2702
2702
  m = Symbol.for("react.module.reference");
@@ -2730,40 +2730,40 @@ function gR() {
2730
2730
  }
2731
2731
  }
2732
2732
  }
2733
- return a(b, "v"), Qe.ContextConsumer = s, Qe.ContextProvider = i, Qe.Element = e, Qe.ForwardRef = u, Qe.Fragment = r, Qe.Lazy = h, Qe.Memo = f, Qe.Portal = t, Qe.Profiler = o, Qe.StrictMode = n, Qe.Suspense = d, Qe.SuspenseList = p, Qe.isAsyncMode = function() {
2733
+ return a(b, "v"), Xe.ContextConsumer = s, Xe.ContextProvider = i, Xe.Element = e, Xe.ForwardRef = u, Xe.Fragment = r, Xe.Lazy = h, Xe.Memo = f, Xe.Portal = t, Xe.Profiler = o, Xe.StrictMode = n, Xe.Suspense = d, Xe.SuspenseList = p, Xe.isAsyncMode = function() {
2734
2734
  return !1;
2735
- }, Qe.isConcurrentMode = function() {
2735
+ }, Xe.isConcurrentMode = function() {
2736
2736
  return !1;
2737
- }, Qe.isContextConsumer = function(y) {
2737
+ }, Xe.isContextConsumer = function(y) {
2738
2738
  return b(y) === s;
2739
- }, Qe.isContextProvider = function(y) {
2739
+ }, Xe.isContextProvider = function(y) {
2740
2740
  return b(y) === i;
2741
- }, Qe.isElement = function(y) {
2741
+ }, Xe.isElement = function(y) {
2742
2742
  return typeof y == "object" && y !== null && y.$$typeof === e;
2743
- }, Qe.isForwardRef = function(y) {
2743
+ }, Xe.isForwardRef = function(y) {
2744
2744
  return b(y) === u;
2745
- }, Qe.isFragment = function(y) {
2745
+ }, Xe.isFragment = function(y) {
2746
2746
  return b(y) === r;
2747
- }, Qe.isLazy = function(y) {
2747
+ }, Xe.isLazy = function(y) {
2748
2748
  return b(y) === h;
2749
- }, Qe.isMemo = function(y) {
2749
+ }, Xe.isMemo = function(y) {
2750
2750
  return b(y) === f;
2751
- }, Qe.isPortal = function(y) {
2751
+ }, Xe.isPortal = function(y) {
2752
2752
  return b(y) === t;
2753
- }, Qe.isProfiler = function(y) {
2753
+ }, Xe.isProfiler = function(y) {
2754
2754
  return b(y) === o;
2755
- }, Qe.isStrictMode = function(y) {
2755
+ }, Xe.isStrictMode = function(y) {
2756
2756
  return b(y) === n;
2757
- }, Qe.isSuspense = function(y) {
2757
+ }, Xe.isSuspense = function(y) {
2758
2758
  return b(y) === d;
2759
- }, Qe.isSuspenseList = function(y) {
2759
+ }, Xe.isSuspenseList = function(y) {
2760
2760
  return b(y) === p;
2761
- }, Qe.isValidElementType = function(y) {
2761
+ }, Xe.isValidElementType = function(y) {
2762
2762
  return typeof y == "string" || typeof y == "function" || y === r || y === o || y === n || y === d || y === p || y === g || typeof y == "object" && y !== null && (y.$$typeof === h || y.$$typeof === f || y.$$typeof === i || y.$$typeof === s || y.$$typeof === u || y.$$typeof === m || y.getModuleId !== void 0);
2763
- }, Qe.typeOf = b, Qe;
2763
+ }, Xe.typeOf = b, Xe;
2764
2764
  }
2765
2765
  a(gR, "requireReactIs_production_min");
2766
- var Xe = {};
2766
+ var Ze = {};
2767
2767
  /**
2768
2768
  * @license React
2769
2769
  * react-is.development.js
@@ -2875,8 +2875,8 @@ function bR() {
2875
2875
  function ee(G) {
2876
2876
  return S(G) === p;
2877
2877
  }
2878
- a(ee, "isSuspenseList"), Xe.ContextConsumer = w, Xe.ContextProvider = P, Xe.Element = R, Xe.ForwardRef = M, Xe.Fragment = F, Xe.Lazy = A, Xe.Memo = j, Xe.Portal = N, Xe.Profiler = L, Xe.StrictMode = z, Xe.Suspense = _, Xe.SuspenseList = V, Xe.isAsyncMode = D, Xe.isConcurrentMode = H, Xe.isContextConsumer = oe, Xe.isContextProvider = B, Xe.isElement = U, Xe.isForwardRef = K, Xe.isFragment = q, Xe.isLazy = te, Xe.isMemo = Z, Xe.isPortal = ie, Xe.isProfiler = se, Xe.isStrictMode = ae, Xe.isSuspense = $, Xe.isSuspenseList = ee, Xe.isValidElementType = C, Xe.typeOf = S;
2879
- }()), Xe;
2878
+ a(ee, "isSuspenseList"), Ze.ContextConsumer = w, Ze.ContextProvider = P, Ze.Element = R, Ze.ForwardRef = M, Ze.Fragment = F, Ze.Lazy = A, Ze.Memo = j, Ze.Portal = N, Ze.Profiler = L, Ze.StrictMode = z, Ze.Suspense = _, Ze.SuspenseList = V, Ze.isAsyncMode = D, Ze.isConcurrentMode = H, Ze.isContextConsumer = oe, Ze.isContextProvider = B, Ze.isElement = U, Ze.isForwardRef = K, Ze.isFragment = q, Ze.isLazy = te, Ze.isMemo = Z, Ze.isPortal = ie, Ze.isProfiler = se, Ze.isStrictMode = ae, Ze.isSuspense = $, Ze.isSuspenseList = ee, Ze.isValidElementType = C, Ze.typeOf = S;
2879
+ }()), Ze;
2880
2880
  }
2881
2881
  a(bR, "requireReactIs_development");
2882
2882
  process.env.NODE_ENV === "production" ? vf.exports = gR() : vf.exports = bR();
@@ -10130,7 +10130,7 @@ const ra = Oe("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
10130
10130
  maxRows: C,
10131
10131
  minRows: S
10132
10132
  }, Te), Be = jS);
10133
- const et = /* @__PURE__ */ a((Ce) => {
10133
+ const tt = /* @__PURE__ */ a((Ce) => {
10134
10134
  be(Ce.animationName === "mui-auto-fill-cancel" ? q.current : {
10135
10135
  value: "x"
10136
10136
  });
@@ -10138,7 +10138,7 @@ const ra = Oe("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
10138
10138
  x.useEffect(() => {
10139
10139
  ae && ae.setAdornedStart(!!D);
10140
10140
  }, [ae, D]);
10141
- const tt = E({}, o, {
10141
+ const rt = E({}, o, {
10142
10142
  color: $.color || "primary",
10143
10143
  disabled: $.disabled,
10144
10144
  endAdornment: m,
@@ -10151,10 +10151,10 @@ const ra = Oe("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
10151
10151
  size: $.size,
10152
10152
  startAdornment: D,
10153
10153
  type: H
10154
- }), ze = UL(tt), ut = Q.root || d.Root || Pd, pe = I.root || p.root || {}, rt = Q.input || d.Input || Md;
10154
+ }), ze = UL(rt), ut = Q.root || d.Root || Pd, pe = I.root || p.root || {}, Ge = Q.input || d.Input || Md;
10155
10155
  return Te = E({}, Te, (n = I.input) != null ? n : p.input), /* @__PURE__ */ Y(x.Fragment, {
10156
10156
  children: [!g && qL, /* @__PURE__ */ Y(ut, E({}, pe, !Zi(ut) && {
10157
- ownerState: E({}, tt, pe.ownerState)
10157
+ ownerState: E({}, rt, pe.ownerState)
10158
10158
  }, {
10159
10159
  ref: r,
10160
10160
  onClick: ct
@@ -10162,8 +10162,8 @@ const ra = Oe("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
10162
10162
  className: re(ze.root, pe.className, u, z && "MuiInputBase-readOnly"),
10163
10163
  children: [D, /* @__PURE__ */ v(Ed.Provider, {
10164
10164
  value: null,
10165
- children: /* @__PURE__ */ v(rt, E({
10166
- ownerState: tt,
10165
+ children: /* @__PURE__ */ v(Ge, E({
10166
+ ownerState: rt,
10167
10167
  "aria-invalid": $.error,
10168
10168
  "aria-describedby": i,
10169
10169
  autoComplete: s,
@@ -10171,7 +10171,7 @@ const ra = Oe("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
10171
10171
  defaultValue: f,
10172
10172
  disabled: $.disabled,
10173
10173
  id: y,
10174
- onAnimationStart: et,
10174
+ onAnimationStart: tt,
10175
10175
  name: P,
10176
10176
  placeholder: L,
10177
10177
  readOnly: z,
@@ -10181,9 +10181,9 @@ const ra = Oe("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
10181
10181
  onKeyDown: j,
10182
10182
  onKeyUp: N,
10183
10183
  type: H
10184
- }, Te, !Zi(rt) && {
10184
+ }, Te, !Zi(Ge) && {
10185
10185
  as: Be,
10186
- ownerState: E({}, tt, Te.ownerState)
10186
+ ownerState: E({}, rt, Te.ownerState)
10187
10187
  }, {
10188
10188
  ref: Z,
10189
10189
  className: re(ze.input, Te.className, z && "MuiInputBase-readOnly"),
@@ -11168,11 +11168,11 @@ const sN = Oe("MuiButtonBase", ["root", "disabled", "focusVisible"]), lN = ["act
11168
11168
  }), Be = /* @__PURE__ */ a(() => {
11169
11169
  const ge = V.current;
11170
11170
  return u && u !== "button" && !(ge.tagName === "A" && ge.href);
11171
- }, "isNonNativeButton"), Te = x.useRef(!1), et = sr((ge) => {
11171
+ }, "isNonNativeButton"), Te = x.useRef(!1), tt = sr((ge) => {
11172
11172
  h && !Te.current && U && I.current && ge.key === " " && (Te.current = !0, I.current.stop(ge, () => {
11173
11173
  I.current.start(ge);
11174
11174
  })), ge.target === ge.currentTarget && Be() && ge.key === " " && ge.preventDefault(), C && C(ge), ge.target === ge.currentTarget && Be() && ge.key === "Enter" && !d && (ge.preventDefault(), b && b(ge));
11175
- }), tt = sr((ge) => {
11175
+ }), rt = sr((ge) => {
11176
11176
  h && ge.key === " " && I.current && U && !ge.defaultPrevented && (Te.current = !1, I.current.stop(ge, () => {
11177
11177
  I.current.pulsate(ge);
11178
11178
  })), S && S(ge), b && ge.target === ge.currentTarget && Be() && ge.key === " " && !ge.defaultPrevented && b(ge);
@@ -11186,7 +11186,7 @@ const sN = Oe("MuiButtonBase", ["root", "disabled", "focusVisible"]), lN = ["act
11186
11186
  Z && !I.current && console.error(["MUI: The `component` prop provided to ButtonBase is invalid.", "Please make sure the children prop is rendered in this custom component."].join(`
11187
11187
  `));
11188
11188
  }, [Z]);
11189
- const rt = E({}, n, {
11189
+ const Ge = E({}, n, {
11190
11190
  centerRipple: i,
11191
11191
  component: u,
11192
11192
  disabled: d,
@@ -11195,17 +11195,17 @@ const sN = Oe("MuiButtonBase", ["root", "disabled", "focusVisible"]), lN = ["act
11195
11195
  focusRipple: h,
11196
11196
  tabIndex: j,
11197
11197
  focusVisible: U
11198
- }), Ce = cN(rt);
11198
+ }), Ce = cN(Ge);
11199
11199
  return /* @__PURE__ */ Y(uN, E({
11200
11200
  as: ze,
11201
11201
  className: re(Ce.root, l),
11202
- ownerState: rt,
11202
+ ownerState: Ge,
11203
11203
  onBlur: $e,
11204
11204
  onClick: b,
11205
11205
  onContextMenu: ae,
11206
11206
  onFocus: ct,
11207
- onKeyDown: et,
11208
- onKeyUp: tt,
11207
+ onKeyDown: tt,
11208
+ onKeyUp: rt,
11209
11209
  onMouseDown: se,
11210
11210
  onMouseLeave: G,
11211
11211
  onMouseUp: ee,
@@ -21221,9 +21221,9 @@ const m_ = {
21221
21221
  })(tC);
21222
21222
  const L_ = /* @__PURE__ */ a((e) => {
21223
21223
  const { onRenderGrilla: t, onLoadGrilla: r, apiRef: n = {} } = e, { isLoading: o } = qi(), i = Sd(e);
21224
- Ze(() => {
21224
+ et(() => {
21225
21225
  t && t({ ...i, api: n == null ? void 0 : n.current });
21226
- }, []), Ze(() => {
21226
+ }, []), et(() => {
21227
21227
  o || r && r({ ...i, api: n == null ? void 0 : n.current });
21228
21228
  }, [o]);
21229
21229
  }, "useInitGrilla");
@@ -21963,7 +21963,7 @@ const pC = /* @__PURE__ */ a((e) => {
21963
21963
  } = e, u = ke(qm), d = r === "ventana" ? bj : Wx, p = Yh(), [f, h] = De(null), [g, m] = De(i), b = /* @__PURE__ */ a((y) => {
21964
21964
  m(y.target.checked);
21965
21965
  }, "handleChange");
21966
- return Ze(() => {
21966
+ return et(() => {
21967
21967
  p.getGrillaConfig(t).then((y) => {
21968
21968
  h(y.data);
21969
21969
  }).catch((y) => {
@@ -22062,16 +22062,16 @@ const pC = /* @__PURE__ */ a((e) => {
22062
22062
  sort: H,
22063
22063
  setSort: oe
22064
22064
  } = qi(), B = Js(), U = Xs(), K = tm(), q = ke(hC), te = ke(EB), Z = dg();
22065
- Ze(() => {
22065
+ et(() => {
22066
22066
  te && (te.current.activePanel.params.apiRef = K);
22067
22067
  }, [te]);
22068
22068
  const ie = {}, se = [], ae = [], $ = i.map((pe) => {
22069
- const rt = q[pe.field.replace("_lis", "")];
22070
- return rt ? { ...pe, ...rt } : pe;
22069
+ const Ge = q[pe.field.replace("_lis", "")];
22070
+ return Ge ? { ...pe, ...Ge } : pe;
22071
22071
  }).sort(
22072
- (pe, rt) => {
22072
+ (pe, Ge) => {
22073
22073
  var Ce, ge;
22074
- return parseInt((Ce = q[pe.field.replace("_lis", "")]) == null ? void 0 : Ce.orden) - parseInt((ge = q[rt.field.replace("_lis", "")]) == null ? void 0 : ge.orden);
22074
+ return parseInt((Ce = q[pe.field.replace("_lis", "")]) == null ? void 0 : Ce.orden) - parseInt((ge = q[Ge.field.replace("_lis", "")]) == null ? void 0 : ge.orden);
22075
22075
  }
22076
22076
  ), {
22077
22077
  columns: { columnVisibilityModel: ee = {} },
@@ -22117,7 +22117,7 @@ const pC = /* @__PURE__ */ a((e) => {
22117
22117
  hideable: !1,
22118
22118
  renderHeader: /* @__PURE__ */ a(() => /* @__PURE__ */ v(Pn, { children: r }), "renderHeader"),
22119
22119
  getActions: /* @__PURE__ */ a((pe) => {
22120
- const rt = K.current.getRowNode(pe.id), Ce = !Rf(
22120
+ const Ge = K.current.getRowNode(pe.id), Ce = !Rf(
22121
22121
  pe.row,
22122
22122
  s
22123
22123
  ), ge = y && Ce, it = t.filter((vt) => !!vt).map((vt, Et) => {
@@ -22195,12 +22195,12 @@ const pC = /* @__PURE__ */ a((e) => {
22195
22195
  )
22196
22196
  ] : [],
22197
22197
  ...it
22198
- ] : rt.children[0].indexOf(`${b}=`) !== -1 ? [
22198
+ ] : Ge.children[0].indexOf(`${b}=`) !== -1 ? [
22199
22199
  /* @__PURE__ */ v(
22200
22200
  X_,
22201
22201
  {
22202
22202
  record: b ? {
22203
- [b]: rt.children[0].split(
22203
+ [b]: Ge.children[0].split(
22204
22204
  `${b}=`
22205
22205
  )[1].replaceAll(
22206
22206
  "[",
@@ -22215,17 +22215,18 @@ const pC = /* @__PURE__ */ a((e) => {
22215
22215
  }
22216
22216
  ]) : je, ct = fr(() => $e, []), Be = j && Cn(F), Te = /* @__PURE__ */ a((pe) => {
22217
22217
  _ || (j || !O ? I(pe) : K.current.isRowSelected(pe[0]) ? I([]) : I(pe));
22218
- }, "handleSelectionChange"), et = /* @__PURE__ */ a((pe) => {
22218
+ }, "handleSelectionChange"), tt = /* @__PURE__ */ a((pe) => {
22219
22219
  D(m(pe), Q);
22220
- }, "handleFilterChange"), tt = /* @__PURE__ */ a((pe) => {
22220
+ }, "handleFilterChange"), rt = /* @__PURE__ */ a((pe) => {
22221
22221
  if (pe.length > 0) {
22222
- const { field: rt } = pe[0];
22222
+ const { field: Ge } = pe[0];
22223
22223
  let Ce;
22224
- H.field === rt ? Ce = H.order === "ASC" ? "DESC" : H.order === "DESC" ? "" : "ASC" : Ce = "ASC", oe({ field: rt, order: Ce });
22224
+ H.field === Ge ? Ce = H.order === "ASC" ? "DESC" : H.order === "DESC" ? "" : "ASC" : Ce = "ASC", oe({ field: Ge, order: Ce });
22225
22225
  } else
22226
22226
  oe({ field: "", order: "" });
22227
22227
  }, "handleSortModelChange"), ze = /* @__PURE__ */ a((pe) => {
22228
- h && Rf(pe.row, s) && U(`/${M}/${pe.id}`);
22228
+ var Ge;
22229
+ !((Ge = pe == null ? void 0 : pe.id) != null && Ge.startsWith("auto-generated-row")) && h && Rf(pe.row, s) && U(`/${M}/${pe.id}`);
22229
22230
  }, "handleRowDoubleClick"), ut = !e.unstable_listView && !N ? H.field ? {
22230
22231
  sortModel: [
22231
22232
  {
@@ -22266,14 +22267,14 @@ const pC = /* @__PURE__ */ a((e) => {
22266
22267
  disableMultipleRowSelection: !j && O,
22267
22268
  checkboxSelection: N,
22268
22269
  filterMode: "server",
22269
- onFilterModelChange: et,
22270
+ onFilterModelChange: tt,
22270
22271
  rowSelectionModel: V,
22271
22272
  onRowSelectionModelChange: Te,
22272
22273
  isRowSelectable: /* @__PURE__ */ a((pe) => pe.row.id, "isRowSelectable"),
22273
22274
  onRowDoubleClick: ze,
22274
22275
  initialState: Ve,
22275
22276
  ...ut,
22276
- onSortModelChange: tt,
22277
+ onSortModelChange: rt,
22277
22278
  sortingMode: "server",
22278
22279
  ...S,
22279
22280
  ...L
@@ -22457,7 +22458,7 @@ const pC = /* @__PURE__ */ a((e) => {
22457
22458
  } = e, { dirtyFields: d, isValid: p } = AP(), {
22458
22459
  fichaProps: { [e.source]: f = {}, etrs: h }
22459
22460
  } = ke(xt), g = ka(), m = ke(wa), { onAfterRenderAsistente: b, ...y } = f, O = mn({ resource: r, etrs: h, asisEtr: m });
22460
- return Ze(() => {
22461
+ return et(() => {
22461
22462
  u && typeof b == "function" && b({ ...O, form: t }, n);
22462
22463
  }, [u]), /* @__PURE__ */ Y(Pn, { children: [
22463
22464
  /* @__PURE__ */ v(pl, { children: /* @__PURE__ */ v(Kh, { spacing: 4, children: Yu.map(
@@ -22702,7 +22703,7 @@ const pC = /* @__PURE__ */ a((e) => {
22702
22703
  field: ee
22703
22704
  }
22704
22705
  ]);
22705
- }), Ze(() => {
22706
+ }), et(() => {
22706
22707
  u || setTimeout(() => {
22707
22708
  T.setValue(h, "");
22708
22709
  }, 1e3);
@@ -23865,10 +23866,10 @@ const xC = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
23865
23866
  de ? Hj(z, je.current, X, {
23866
23867
  duration: o.transitions.duration.standard
23867
23868
  }) : je.current[z] = X;
23868
- }, "scroll"), et = /* @__PURE__ */ a((X) => {
23869
+ }, "scroll"), tt = /* @__PURE__ */ a((X) => {
23869
23870
  let de = je.current[z];
23870
23871
  L ? de += X : (de += X * (i ? -1 : 1), de *= i && cw() === "reverse" ? -1 : 1), Te(de);
23871
- }, "moveTabsScroll"), tt = /* @__PURE__ */ a(() => {
23872
+ }, "moveTabsScroll"), rt = /* @__PURE__ */ a(() => {
23872
23873
  const X = je.current[I];
23873
23874
  let de = 0;
23874
23875
  const Me = Array.from($e.current.children);
@@ -23882,15 +23883,15 @@ const xC = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
23882
23883
  }
23883
23884
  return de;
23884
23885
  }, "getScrollSize"), ze = /* @__PURE__ */ a(() => {
23885
- et(-1 * tt());
23886
+ tt(-1 * rt());
23886
23887
  }, "handleStartScrollClick"), ut = /* @__PURE__ */ a(() => {
23887
- et(tt());
23888
+ tt(rt());
23888
23889
  }, "handleEndScrollClick"), pe = x.useCallback((X) => {
23889
23890
  be({
23890
23891
  overflow: null,
23891
23892
  scrollbarWidth: X
23892
23893
  });
23893
- }, []), rt = /* @__PURE__ */ a(() => {
23894
+ }, []), Ge = /* @__PURE__ */ a(() => {
23894
23895
  const X = {};
23895
23896
  X.scrollbarSizeListener = N ? /* @__PURE__ */ v(az, {
23896
23897
  onChange: pe,
@@ -24042,7 +24043,7 @@ const xC = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
24042
24043
  X.preventDefault(), Ml(de, null, O0);
24043
24044
  break;
24044
24045
  }
24045
- }, "handleKeyDown"), me = rt();
24046
+ }, "handleKeyDown"), me = Ge();
24046
24047
  return /* @__PURE__ */ Y(rz, E({
24047
24048
  className: re(H.root, f),
24048
24049
  ownerState: D,
@@ -25067,8 +25068,8 @@ const Mz = /^(\d+)(th|st|nd|rd)?/i, Rz = /\d+/i, Az = {
25067
25068
  }
25068
25069
  }, nr = /* @__PURE__ */ a((e) => {
25069
25070
  const { source: t } = e, { estado: r, isLoading: n, fichaProps: o = {} } = ke(xt), i = ke(wa), s = i !== void 0, l = nm((Te) => {
25070
- const et = Te.configInputs ? Te.configInputs.filter((tt) => tt.id === t) : [];
25071
- return et[0] ? et[0] : null;
25071
+ const tt = Te.configInputs ? Te.configInputs.filter((rt) => rt.id === t) : [];
25072
+ return tt[0] ? tt[0] : null;
25072
25073
  }), {
25073
25074
  disabled: u,
25074
25075
  hidden: d,
@@ -26440,7 +26441,7 @@ function AV(e) {
26440
26441
  w[C] = Ve, j[C] = Ve - V;
26441
26442
  }
26442
26443
  if (l) {
26443
- var je, $e = C === "x" ? Xt : Zt, ct = C === "x" ? Ar : Fr, Be = w[S], Te = S === "y" ? "height" : "width", et = Be + y[$e], tt = Be - y[ct], ze = [Xt, Zt].indexOf(O) !== -1, ut = (je = A == null ? void 0 : A[S]) != null ? je : 0, pe = ze ? et : Be - P[Te] - R[Te] - ut + F.altAxis, rt = ze ? Be + P[Te] + R[Te] - ut - F.altAxis : tt, Ce = g && ze ? tV(pe, Be, rt) : es(g ? pe : et, Be, g ? rt : tt);
26444
+ var je, $e = C === "x" ? Xt : Zt, ct = C === "x" ? Ar : Fr, Be = w[S], Te = S === "y" ? "height" : "width", tt = Be + y[$e], rt = Be - y[ct], ze = [Xt, Zt].indexOf(O) !== -1, ut = (je = A == null ? void 0 : A[S]) != null ? je : 0, pe = ze ? tt : Be - P[Te] - R[Te] - ut + F.altAxis, Ge = ze ? Be + P[Te] + R[Te] - ut - F.altAxis : rt, Ce = g && ze ? tV(pe, Be, Ge) : es(g ? pe : tt, Be, g ? Ge : rt);
26444
26445
  w[S] = Ce, j[S] = Ce - Be;
26445
26446
  }
26446
26447
  t.modifiersData[n] = j;
@@ -27365,7 +27366,7 @@ const Ld = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
27365
27366
  TransitionProps: ee
27366
27367
  } = w, G = ne(w, t5), be = /* @__PURE__ */ x.isValidElement(R) ? R : /* @__PURE__ */ v("span", {
27367
27368
  children: R
27368
- }), Ve = In(), je = sl(), [$e, ct] = x.useState(), [Be, Te] = x.useState(null), et = x.useRef(!1), tt = L || Q, ze = ki(), ut = ki(), pe = ki(), rt = ki(), [Ce, ge] = bc({
27369
+ }), Ve = In(), je = sl(), [$e, ct] = x.useState(), [Be, Te] = x.useState(null), tt = x.useRef(!1), rt = L || Q, ze = ki(), ut = ki(), pe = ki(), Ge = ki(), [Ce, ge] = bc({
27369
27370
  controlled: K,
27370
27371
  default: !1,
27371
27372
  name: "Tooltip",
@@ -27382,7 +27383,7 @@ const Ld = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
27382
27383
  }, [ae, $e, Ie]);
27383
27384
  }
27384
27385
  const vt = al(D), Et = x.useRef(), or = sr(() => {
27385
- Et.current !== void 0 && (document.body.style.WebkitUserSelect = Et.current, Et.current = void 0), rt.clear();
27386
+ Et.current !== void 0 && (document.body.style.WebkitUserSelect = Et.current, Et.current = void 0), Ge.clear();
27386
27387
  });
27387
27388
  x.useEffect(() => or, [or]);
27388
27389
  const me = /* @__PURE__ */ a((Ie) => {
@@ -27395,11 +27396,11 @@ const Ld = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
27395
27396
  $0.start(800 + H, () => {
27396
27397
  Al = !1;
27397
27398
  }), ge(!1), B && it && B(Ie), ze.start(Ve.transitions.duration.shortest, () => {
27398
- et.current = !1;
27399
+ tt.current = !1;
27399
27400
  });
27400
27401
  }
27401
27402
  ), de = /* @__PURE__ */ a((Ie) => {
27402
- et.current && Ie.type !== "touchstart" || ($e && $e.removeAttribute("title"), ut.clear(), pe.clear(), _ || Al && V ? ut.start(Al ? V : _, () => {
27403
+ tt.current && Ie.type !== "touchstart" || ($e && $e.removeAttribute("title"), ut.clear(), pe.clear(), _ || Al && V ? ut.start(Al ? V : _, () => {
27403
27404
  me(Ie);
27404
27405
  }) : me(Ie));
27405
27406
  }, "handleMouseOver"), Me = /* @__PURE__ */ a((Ie) => {
@@ -27416,11 +27417,11 @@ const Ld = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
27416
27417
  }, "handleBlur"), pi = /* @__PURE__ */ a((Ie) => {
27417
27418
  $e || ct(Ie.currentTarget), At(Ie), Ne.current === !0 && (Ln(!0), de(Ie));
27418
27419
  }, "handleFocus"), Ly = /* @__PURE__ */ a((Ie) => {
27419
- et.current = !0;
27420
+ tt.current = !0;
27420
27421
  const ir = be.props;
27421
27422
  ir.onTouchStart && ir.onTouchStart(Ie);
27422
27423
  }, "detectTouchStart"), Gk = /* @__PURE__ */ a((Ie) => {
27423
- Ly(Ie), pe.clear(), ze.clear(), or(), Et.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", rt.start(I, () => {
27424
+ Ly(Ie), pe.clear(), ze.clear(), or(), Et.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", Ge.start(I, () => {
27424
27425
  document.body.style.WebkitUserSelect = Et.current, de(Ie);
27425
27426
  });
27426
27427
  }, "handleTouchStart"), Kk = /* @__PURE__ */ a((Ie) => {
@@ -27460,7 +27461,7 @@ const Ld = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
27460
27461
  `));
27461
27462
  }, [$e]));
27462
27463
  const La = {};
27463
- z || (mr.onTouchStart = Gk, mr.onTouchEnd = Kk), N || (mr.onMouseOver = Fl(de, mr.onMouseOver), mr.onMouseLeave = Fl(Me, mr.onMouseLeave), tt || (La.onMouseOver = de, La.onMouseLeave = Me)), j || (mr.onFocus = Fl(pi, mr.onFocus), mr.onBlur = Fl(Dr, mr.onBlur), tt || (La.onFocus = pi, La.onBlur = Dr)), process.env.NODE_ENV !== "production" && be.props.title && console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.", `Remove this title prop \`${be.props.title}\` or the Tooltip component.`].join(`
27464
+ z || (mr.onTouchStart = Gk, mr.onTouchEnd = Kk), N || (mr.onMouseOver = Fl(de, mr.onMouseOver), mr.onMouseLeave = Fl(Me, mr.onMouseLeave), rt || (La.onMouseOver = de, La.onMouseLeave = Me)), j || (mr.onFocus = Fl(pi, mr.onFocus), mr.onBlur = Fl(Dr, mr.onBlur), rt || (La.onFocus = pi, La.onBlur = Dr)), process.env.NODE_ENV !== "production" && be.props.title && console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.", `Remove this title prop \`${be.props.title}\` or the Tooltip component.`].join(`
27464
27465
  `));
27465
27466
  const Qk = x.useMemo(() => {
27466
27467
  var Ie;
@@ -27478,10 +27479,10 @@ const Ld = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ a(function(t, r) {
27478
27479
  }, [Be, Z]), Na = E({}, w, {
27479
27480
  isRtl: je,
27480
27481
  arrow: P,
27481
- disableInteractive: tt,
27482
+ disableInteractive: rt,
27482
27483
  placement: q,
27483
27484
  PopperComponentProp: te,
27484
- touch: et.current
27485
+ touch: tt.current
27485
27486
  }), tp = n5(Na), Ny = (n = (o = se.popper) != null ? o : M.Popper) != null ? n : o5, Dy = (i = (s = (l = se.transition) != null ? l : M.Transition) != null ? s : $) != null ? i : Is, _y = (u = (d = se.tooltip) != null ? d : M.Tooltip) != null ? u : i5, jy = (p = (f = se.arrow) != null ? f : M.Arrow) != null ? p : a5, Xk = wi(Ny, E({}, Z, (h = ie.popper) != null ? h : F.popper, {
27486
27487
  className: re(tp.popper, Z == null ? void 0 : Z.className, (g = (m = ie.popper) != null ? m : F.popper) == null ? void 0 : g.className)
27487
27488
  }), Na), Zk = wi(Dy, E({}, ee, (b = ie.transition) != null ? b : F.transition), Na), ew = wi(_y, E({}, (y = ie.tooltip) != null ? y : F.tooltip, {
@@ -27833,9 +27834,9 @@ const s5 = /* @__PURE__ */ a(({
27833
27834
  );
27834
27835
  }), _C = /* @__PURE__ */ a((e) => {
27835
27836
  const t = gt(e), { estado: r, isLoading: n, initialValues: o, fichaProps: i } = ke(xt), s = mn({ resource: t, etrs: i.etrs });
27836
- return Ze(() => {
27837
+ return et(() => {
27837
27838
  i.onRenderFicha && i.onRenderFicha(s, r);
27838
- }, []), Ze(() => {
27839
+ }, []), et(() => {
27839
27840
  n || i.onLoadFicha && i.onLoadFicha(s, r, o);
27840
27841
  }, [n]), /* @__PURE__ */ Y(Bx, { className: e.className, sx: e.sx, children: [
27841
27842
  /* @__PURE__ */ v(oC, { isLoading: n }),
@@ -29275,20 +29276,20 @@ const i3 = /* @__PURE__ */ a((e) => {
29275
29276
  };
29276
29277
  const Ve = V();
29277
29278
  let je = Ve.top - be.vertical, $e = Ve.left - be.horizontal;
29278
- const ct = je + G.height, Be = $e + G.width, Te = zr(tc(u)), et = Te.innerHeight - y, tt = Te.innerWidth - y;
29279
+ const ct = je + G.height, Be = $e + G.width, Te = zr(tc(u)), tt = Te.innerHeight - y, rt = Te.innerWidth - y;
29279
29280
  if (y !== null && je < y) {
29280
29281
  const ze = je - y;
29281
29282
  je -= ze, be.vertical += ze;
29282
- } else if (y !== null && ct > et) {
29283
- const ze = ct - et;
29283
+ } else if (y !== null && ct > tt) {
29284
+ const ze = ct - tt;
29284
29285
  je -= ze, be.vertical += ze;
29285
29286
  }
29286
- if (process.env.NODE_ENV !== "production" && G.height > et && G.height && et && console.error(["MUI: The popover component is too tall.", `Some part of it can not be seen on the screen (${G.height - et}px).`, "Please consider adding a `max-height` to improve the user-experience."].join(`
29287
+ if (process.env.NODE_ENV !== "production" && G.height > tt && G.height && tt && console.error(["MUI: The popover component is too tall.", `Some part of it can not be seen on the screen (${G.height - tt}px).`, "Please consider adding a `max-height` to improve the user-experience."].join(`
29287
29288
  `)), y !== null && $e < y) {
29288
29289
  const ze = $e - y;
29289
29290
  $e -= ze, be.horizontal += ze;
29290
- } else if (Be > tt) {
29291
- const ze = Be - tt;
29291
+ } else if (Be > rt) {
29292
+ const ze = Be - rt;
29292
29293
  $e -= ze, be.horizontal += ze;
29293
29294
  }
29294
29295
  return {
@@ -30656,7 +30657,7 @@ iT = Fg.default = (0, J3.default)(/* @__PURE__ */ (0, Q3.jsx)("path", {
30656
30657
  }), "AddAPhoto");
30657
30658
  const j0 = /* @__PURE__ */ a((e) => {
30658
30659
  const [t, r] = De(!1), [n, o] = De(!1), i = $n(), s = Tt(), { field: l, sx: u } = e;
30659
- return Ze(() => {
30660
+ return et(() => {
30660
30661
  t && (/* @__PURE__ */ a(async () => {
30661
30662
  let p = null;
30662
30663
  try {
@@ -30769,7 +30770,7 @@ const j0 = /* @__PURE__ */ a((e) => {
30769
30770
  if (!b)
30770
30771
  return null;
30771
30772
  const k = b.getValues()[f.source], T = y ?? "#";
30772
- return Ze(() => {
30773
+ return et(() => {
30773
30774
  u && k && (k != null && k.src ? O(k.src) : u(k).then((C) => {
30774
30775
  O(C);
30775
30776
  }));
@@ -30878,7 +30879,7 @@ const j0 = /* @__PURE__ */ a((e) => {
30878
30879
  allChoices: l,
30879
30880
  availableChoices: u
30880
30881
  } = fP(), d = Ju(null);
30881
- return Ze(() => {
30882
+ return et(() => {
30882
30883
  s || typeof t == "function" && t(Object.values([l]));
30883
30884
  }, [l, t, s]), /* @__PURE__ */ v(Z3, { title: ((p = d.current) == null ? void 0 : p.value) || "", placement: "top", arrow: !0, children: /* @__PURE__ */ v(
30884
30885
  at,
@@ -30927,7 +30928,7 @@ const j0 = /* @__PURE__ */ a((e) => {
30927
30928
  const { callback: O, ...k } = m;
30928
30929
  b = O, y = k;
30929
30930
  }
30930
- return Ze(() => {
30931
+ return et(() => {
30931
30932
  h !== null && (g.current = h, n(uL(p)));
30932
30933
  }, [JSON.stringify(h)]), !r && !o ? /* @__PURE__ */ Y(an, { children: [
30933
30934
  /* @__PURE__ */ v(
@@ -31130,7 +31131,7 @@ const b4 = /* @__PURE__ */ a((e) => /* @__PURE__ */ v(
31130
31131
  hidden: u,
31131
31132
  propsContenido: { readOnly: d, label: p, sx: f, onChange: h }
31132
31133
  } = nr(e), g = $r();
31133
- Ze(() => {
31134
+ et(() => {
31134
31135
  O();
31135
31136
  }, []);
31136
31137
  const m = He(() => {
@@ -31285,7 +31286,7 @@ const b4 = /* @__PURE__ */ a((e) => /* @__PURE__ */ v(
31285
31286
  }
31286
31287
  ), "AsistenteList"), E4 = { fillista: "empcod=-1" }, k4 = /* @__PURE__ */ a((e) => {
31287
31288
  const [t, r] = De(E4), [n, o] = De([]), i = Yh();
31288
- Ze(() => {
31289
+ et(() => {
31289
31290
  (/* @__PURE__ */ a(async () => {
31290
31291
  const f = await l("");
31291
31292
  o(f);
@@ -31456,7 +31457,7 @@ const b4 = /* @__PURE__ */ a((e) => /* @__PURE__ */ v(
31456
31457
  hidden: m,
31457
31458
  propsContenido: { readOnly: b, sx: y, label: O = "Funcionarios" }
31458
31459
  } = nr(e), { [n]: k = {}, etrs: T } = h, C = mn({ ...e, etrs: T, asisEtr: g }), S = k.onChange === void 0 ? i : k.onChange;
31459
- Ze(() => {
31460
+ et(() => {
31460
31461
  p.setValue(n, B0);
31461
31462
  }, []);
31462
31463
  const w = He(() => {
@@ -45666,7 +45667,7 @@ let Ah = Ay;
45666
45667
  function l9(e) {
45667
45668
  var t;
45668
45669
  const [r] = De(() => new Ah(e.editor)), n = s9.useSyncExternalStoreWithSelector(r.subscribe, r.getSnapshot, r.getServerSnapshot, e.selector, (t = e.equalityFn) !== null && t !== void 0 ? t : o9);
45669
- return Ze(() => r.watch(e.editor), [e.editor, r]), Lx(n), n;
45670
+ return et(() => r.watch(e.editor), [e.editor, r]), Lx(n), n;
45670
45671
  }
45671
45672
  a(l9, "useEditorState");
45672
45673
  const ax = process.env.NODE_ENV !== "production", Fh = typeof window > "u", c9 = Fh || !!(typeof window < "u" && window.next), Fy = class Fy {
@@ -45806,7 +45807,7 @@ function u9(e = {}, t = []) {
45806
45807
  const r = Ju(e);
45807
45808
  r.current = e;
45808
45809
  const [n] = De(() => new $h(r)), o = Ud.useSyncExternalStore(n.subscribe, n.getEditor, n.getServerSnapshot);
45809
- return Lx(o), Ze(n.onRender(t)), l9({
45810
+ return Lx(o), et(n.onRender(t)), l9({
45810
45811
  editor: o,
45811
45812
  selector: /* @__PURE__ */ a(({ transactionNumber: i }) => e.shouldRerenderOnTransaction === !1 ? null : e.immediatelyRender && i === 0 ? 0 : i + 1, "selector")
45812
45813
  }), o;
@@ -47748,7 +47749,7 @@ var ZK = Rt(null), eY = /* @__PURE__ */ a(function() {
47748
47749
  return e;
47749
47750
  }, "useFormGroups"), tY = /* @__PURE__ */ a(function(e) {
47750
47751
  var t = e.inputProps, r = e.isArrayInput, n = e.fieldArrayInputControl, o = t.defaultValue, i = t.source, s = dk(i), l = XE(t), u = $r(), d = u.getValues, p = u.resetField, f = u.formState, h = u.reset, g = lc(l, s), m = lc(d(), s), b = f.dirtyFields, y = Object.keys(b).includes(s);
47751
- Ze(function() {
47752
+ et(function() {
47752
47753
  if (!(o == null || m != null || g != null || y)) {
47753
47754
  var O = s.split(".").some(function(C) {
47754
47755
  return rY.test(C);
@@ -47882,7 +47883,7 @@ var ZK = Rt(null), eY = /* @__PURE__ */ a(function() {
47882
47883
  return e === "" ? null : e;
47883
47884
  }, "defaultParse"), uY = /* @__PURE__ */ a(function(e) {
47884
47885
  var t = e.defaultValue, r = e.format, n = r === void 0 ? lY : r, o = e.id, i = e.isRequired, s = e.name, l = e.onBlur, u = e.onChange, d = e.parse, p = d === void 0 ? cY : d, f = e.source, h = e.validate, g = sY(e, ["defaultValue", "format", "id", "isRequired", "name", "onBlur", "onChange", "parse", "source", "validate"]), m = dk(f), b = s || m, y = nY(), O = eY(), k = XE(), T = af(p), C = nw();
47885
- !b && process.env.NODE_ENV === "development" && console.warn("Input components require either a source or a name prop."), Ze(function() {
47886
+ !b && process.env.NODE_ENV === "development" && console.warn("Input components require either a source or a name prop."), et(function() {
47886
47887
  if (!(!O || y == null))
47887
47888
  return O.registerField(m, y), function() {
47888
47889
  O.unregisterField(m, y);
@@ -50542,8 +50543,8 @@ const OJ = /* @__PURE__ */ a((e) => {
50542
50543
  }), S(me));
50543
50544
  }, "handleBlur");
50544
50545
  delete V["aria-invalid"];
50545
- let Te, et;
50546
- const tt = [];
50546
+ let Te, tt;
50547
+ const rt = [];
50547
50548
  let ze = !1, ut = !1;
50548
50549
  (Sc({
50549
50550
  value: I
@@ -50557,9 +50558,9 @@ const OJ = /* @__PURE__ */ a((e) => {
50557
50558
  if (T) {
50558
50559
  if (!Array.isArray(I))
50559
50560
  throw new Error(process.env.NODE_ENV !== "production" ? "MUI: The `value` prop must be an array when using the `Select` component with `multiple`." : Mn(2));
50560
- X = I.some((de) => Px(de, me.props.value)), X && ze && tt.push(me.props.children);
50561
+ X = I.some((de) => Px(de, me.props.value)), X && ze && rt.push(me.props.children);
50561
50562
  } else
50562
- X = Px(I, me.props.value), X && ze && (et = me.props.children);
50563
+ X = Px(I, me.props.value), X && ze && (tt = me.props.children);
50563
50564
  return X && (ut = !0), /* @__PURE__ */ x.cloneElement(me, {
50564
50565
  "aria-selected": X ? "true" : "false",
50565
50566
  onClick: je(me),
@@ -50580,9 +50581,9 @@ const OJ = /* @__PURE__ */ a((e) => {
50580
50581
  console.warn([`MUI: You have provided an out-of-range value \`${I}\` for the select ${C ? `(name="${C}") ` : ""}component.`, "Consider providing a value that matches one of the available options or ''.", `The available values are ${me.filter((X) => X != null).map((X) => `\`${X}\``).join(", ") || '""'}.`].join(`
50581
50582
  `));
50582
50583
  }
50583
- }, [ut, be, T, C, I]), ze && (T ? tt.length === 0 ? Te = null : Te = tt.reduce((me, X, de) => (me.push(X), de < tt.length - 1 && me.push(", "), me), []) : Te = et);
50584
- let rt = te;
50585
- !l && q && U && (rt = ae.clientWidth);
50584
+ }, [ut, be, T, C, I]), ze && (T ? rt.length === 0 ? Te = null : Te = rt.reduce((me, X, de) => (me.push(X), de < rt.length - 1 && me.push(", "), me), []) : Te = tt);
50585
+ let Ge = te;
50586
+ !l && q && U && (Ge = ae.clientWidth);
50586
50587
  let Ce;
50587
50588
  typeof L < "u" ? Ce = L : Ce = h ? null : 0;
50588
50589
  const ge = N.id || (C ? `mui-component-select-${C}` : void 0), it = E({}, t, {
@@ -50658,7 +50659,7 @@ const OJ = /* @__PURE__ */ a((e) => {
50658
50659
  slotProps: E({}, k.slotProps, {
50659
50660
  paper: E({}, Et, {
50660
50661
  style: E({
50661
- minWidth: rt
50662
+ minWidth: Ge
50662
50663
  }, Et != null ? Et.style : null)
50663
50664
  })
50664
50665
  }),
@@ -51394,7 +51395,7 @@ wk = Ib.default = (0, qJ.default)(/* @__PURE__ */ (0, GJ.jsx)("path", {
51394
51395
  }), "Code");
51395
51396
  var Pk = Rt(void 0), gn = /* @__PURE__ */ a(function() {
51396
51397
  var e = De(!1), t = e[0], r = e[1], n = ke(Pk);
51397
- return Ze(function() {
51398
+ return et(function() {
51398
51399
  var o = /* @__PURE__ */ a(function() {
51399
51400
  r(!0);
51400
51401
  }, "onReady");
@@ -51422,7 +51423,7 @@ var Pk = Rt(void 0), gn = /* @__PURE__ */ a(function() {
51422
51423
  }), p = r("ra.tiptap.code", {
51423
51424
  _: "Code"
51424
51425
  });
51425
- Ze(function() {
51426
+ et(function() {
51426
51427
  var h = /* @__PURE__ */ a(function() {
51427
51428
  i(function() {
51428
51429
  return Mx.reduce(function(g, m) {
@@ -51520,7 +51521,7 @@ var zh = function() {
51520
51521
  (h || g) && nQ[f](t);
51521
51522
  });
51522
51523
  }, "handleChange");
51523
- return Ze(function() {
51524
+ return et(function() {
51524
51525
  var d = /* @__PURE__ */ a(function() {
51525
51526
  l(function() {
51526
51527
  return Rx.reduce(function(p, f) {
@@ -51594,7 +51595,7 @@ var Bh = function() {
51594
51595
  }, Bh.apply(this, arguments);
51595
51596
  }, gQ = /* @__PURE__ */ a(function(e) {
51596
51597
  var t = gn(), r = Nr(), n = De("left"), o = n[0], i = n[1], s = r("ra.tiptap.align_left", { _: "Align left" }), l = r("ra.tiptap.align_right", { _: "Align right" }), u = r("ra.tiptap.align_center", { _: "Center" }), d = r("ra.tiptap.align_justify", { _: "Justify" });
51597
- Ze(function() {
51598
+ et(function() {
51598
51599
  var f = /* @__PURE__ */ a(function() {
51599
51600
  i(function(h) {
51600
51601
  return bQ.reduce(function(g, m) {
@@ -51656,7 +51657,7 @@ Lk = Bb.default = (0, vQ.default)(/* @__PURE__ */ (0, OQ.jsx)("path", {
51656
51657
  }), "InsertLink");
51657
51658
  var xQ = /* @__PURE__ */ a(function() {
51658
51659
  var e = gn(), t = De(e ? e.state.doc.textBetween(e.state.selection.from, e.state.selection.to) : null), r = t[0], n = t[1];
51659
- return Ze(function() {
51660
+ return et(function() {
51660
51661
  var o = /* @__PURE__ */ a(function() {
51661
51662
  n(e ? e.state.doc.textBetween(e.state.selection.from, e.state.selection.to) : null);
51662
51663
  }, "handleSelectionChange");
@@ -51706,7 +51707,7 @@ var Hh = function() {
51706
51707
  var t = gn(), r = Nr(), n = De(!1), o = n[0], i = n[1], s = r("ra.tiptap.blockquote", {
51707
51708
  _: "Blockquote"
51708
51709
  });
51709
- return Ze(function() {
51710
+ return et(function() {
51710
51711
  var l = /* @__PURE__ */ a(function() {
51711
51712
  i(t && t.isActive("blockquote"));
51712
51713
  }, "handleUpdate");
@@ -51757,7 +51758,7 @@ var Wh = function() {
51757
51758
  }, "handleClickListItem"), g = /* @__PURE__ */ a(function(m) {
51758
51759
  s(null);
51759
51760
  }, "handleClose");
51760
- return Ze(function() {
51761
+ return et(function() {
51761
51762
  var m = /* @__PURE__ */ a(function() {
51762
51763
  p(function(b) {
51763
51764
  return Ul.reduce(function(y, O) {
@@ -52063,14 +52064,14 @@ var HQ = /* @__PURE__ */ a(function(e) {
52063
52064
  }, Jr.apply(this, arguments);
52064
52065
  }, XQ = /* @__PURE__ */ a(function(e) {
52065
52066
  var t, r = e.className, n = e.defaultValue, o = n === void 0 ? "" : n, i = e.disabled, s = i === void 0 ? !1 : i, l = e.editorOptions, u = l === void 0 ? ZQ : l, d = e.fullWidth, p = e.helperText, f = e.label, h = e.readOnly, g = h === void 0 ? !1 : h, m = e.source, b = e.sx, y = e.toolbar, O = uk(e), k = uY(Jr(Jr({}, e), { source: m, defaultValue: o })), T = k.id, C = k.field, S = k.isRequired, w = k.fieldState, P = k.formState.isSubmitted, R = u9(Jr(Jr({}, u), { editable: !s && !g, content: C.value, editorProps: Jr(Jr({}, u == null ? void 0 : u.editorProps), { attributes: Jr(Jr({}, (t = u == null ? void 0 : u.editorProps) === null || t === void 0 ? void 0 : t.attributes), { id: T }) }) }), [s, u, g, T]), M = w.error, F = w.invalid, A = w.isTouched;
52066
- return Ze(function() {
52067
+ return et(function() {
52067
52068
  if (R) {
52068
52069
  var j = R.state.selection, N = j.from, L = j.to;
52069
52070
  R.commands.setContent(C.value, !1, {
52070
52071
  preserveWhitespace: !0
52071
52072
  }), R.commands.setTextSelection({ from: N, to: L });
52072
52073
  }
52073
- }, [R, C.value]), Ze(function() {
52074
+ }, [R, C.value]), et(function() {
52074
52075
  if (R) {
52075
52076
  var j = /* @__PURE__ */ a(function() {
52076
52077
  if (R.isEmpty) {
@@ -52364,7 +52365,7 @@ const PZ = /* @__PURE__ */ a((e) => {
52364
52365
  return `${t}-${r}-${n}T${o}:${i}`;
52365
52366
  }, "convertDateToString"), uX = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/, dX = { shrink: !0 }, pX = /* @__PURE__ */ a((e) => e == null || e === "" ? "" : e instanceof Date ? $x(e) : uX.test(e) ? e : $x(new Date(e)), "formatDateTime"), MZ = /* @__PURE__ */ a((e) => {
52366
52367
  const { tipo: t, ...r } = e, { propsContenido: n, hidden: o } = nr(r), i = $r();
52367
- Ze(() => {
52368
+ et(() => {
52368
52369
  n.value && i.setValue(e.source, n.value);
52369
52370
  }, [n.value]);
52370
52371
  const s = {