biblio-react 3.0.0-alpha7 → 3.0.0-alpha9

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
@@ -5,7 +5,7 @@ import * as S from "react";
5
5
  import Vt, { forwardRef as hi, useContext as me, createElement as ss, Children as Hn, isValidElement as vr, cloneElement as Zt, createContext as Fr, useState as Ue, useMemo as Rt, useCallback as ke, useEffect as dt, Fragment as Ut, memo as ff, useRef as gi } from "react";
6
6
  import { unstable_ClassNameGenerator as Qc, exactProp as bi, unstable_getScrollbarSize as mf, unstable_ownerDocument as Jt, unstable_ownerWindow as yi, unstable_useForkRef as Eo, elementAcceptingRef as hf, unstable_useEnhancedEffect as Fn, unstable_setRef as cs, HTMLElementType as Ua, unstable_useEventCallback as us, unstable_createChainedFunction as ds, unstable_getNormalizedScrollLeft as gf, unstable_detectScrollType as bf, chainPropTypes as vf, refType as yf, deepmerge as Xc } from "@mui/utils";
7
7
  import a from "prop-types";
8
- import { MenuItem as Ga, ListItemIcon as qa, ListItemText as ps, useMediaQuery as Wn, Typography as Zc, Box as $e, alpha as Of, createTheme as Oi, StyledEngineProvider as Jc, Stack as eu, Card as xf, CircularProgress as tu, Dialog as xi, DialogTitle as ru, DialogContent as Sf, DialogActions as Pf, Tooltip as Un, IconButton as wn, ThemeProvider as Tf, Paper as Si, CardContent as ou, Collapse as Ef, List as Cf, Divider as Ff, Button as fs } from "@mui/material";
8
+ import { MenuItem as Ga, ListItemIcon as qa, ListItemText as ps, useMediaQuery as Wn, Typography as Zc, Box as Le, alpha as Of, createTheme as Oi, StyledEngineProvider as Jc, Stack as eu, Card as xf, CircularProgress as tu, Dialog as xi, DialogTitle as ru, DialogContent as Sf, DialogActions as Pf, Tooltip as Un, IconButton as wn, ThemeProvider as Tf, Paper as Si, CardContent as ou, Collapse as Ef, List as Cf, Divider as Ff, Button as fs } from "@mui/material";
9
9
  import { useTranslate as Je, useUserMenu as wf, useResourceDefinitions as kf, AppBar as Mf, UserMenu as Rf, Logout as Lf, useDataProvider as nu, useListContext as Ur, useNotify as tr, useRedirect as zo, useRefresh as $f, useResourceContext as qe, useUnselectAll as Af, NumberField as If, DateField as ms, TextField as vn, ReferenceField as Df, Button as ct, useRecordContext as qt, useInput as Nf, useGetList as au, useSafeSetState as Pi, Confirm as Ti, Form as Ho, SaveButton as Gn, useCreatePath as qn, useResourceDefinition as iu, DatagridRoot as _f, DatagridClasses as hs, BulkActionsToolbar as jf, SimpleList as Vf, useGetOne as lu, required as Bf, minValue as zf, TopToolbar as su, ListButton as Hf, ShowButton as Wf, useCreateController as Uf, CreateContextProvider as Gf, useSaveContext as qf, Create as Kf, useListController as Yf, ListContextProvider as Qf, List as cu, useDelete as Xf, useEditController as Zf, Edit as Jf, SimpleForm as em, useSidebarState as uu, Menu as tm, DashboardMenuItem as rm, MenuItemLink as du, Layout as om, FilterContext as nm, sanitizeListRestProps as am, FilterButton as im, CreateButton as lm, ExportButton as sm, useLogin as cm, TextInput as Or, PasswordInput as pu, FieldTitle as um, useShowController as dm, Show as pm, FormTab as fm, getTabbedFormTabFullPath as mm, TabbedFormTabs as hm, Toolbar as fu, defaultTheme as mu, BooleanField as gm, ImageInput as bm, ImageField as vm, FileInput as ym, BooleanInput as Om, ReferenceInput as hu, useChoicesContext as xm, AutocompleteInput as Sm, SelectInput as Pm, ReferenceArrayInput as Tm, SelectArrayInput as Em, RadioButtonGroupInput as gu, useRecordSelection as bu, Datagrid as Cm, NumberInput as Fm, DateInput as wm, DateTimeInput as km } from "react-admin";
10
10
  import { Link as Co, useNavigate as Mm, Routes as Ei, Route as Ci, useLocation as Kn, matchPath as Ka, useResolvedPath as Rm } from "react-router-dom";
11
11
  import { DataGridPremium as Fi, useGridApiContext as wi, useGridApiRef as vu, useKeepGroupedColumnsHidden as yu, GridActionsCellItem as gs } from "@mui/x-data-grid-premium";
@@ -4597,7 +4597,7 @@ const Bv = hi((e, t) => {
4597
4597
  id: "react-admin-title"
4598
4598
  }
4599
4599
  ),
4600
- t && /* @__PURE__ */ f($e, { component: "span", sx: { flex: 1 } })
4600
+ t && /* @__PURE__ */ f(Le, { component: "span", sx: { flex: 1 } })
4601
4601
  ] });
4602
4602
  }, "CustomAppBar");
4603
4603
  function Wv(e) {
@@ -15237,7 +15237,7 @@ const $d = Fr(), ga = /* @__PURE__ */ o(({ children: e }) => {
15237
15237
  ] })
15238
15238
  }
15239
15239
  ),
15240
- /* @__PURE__ */ f($e, { sx: { mt: 1 }, children: "No hay registros" })
15240
+ /* @__PURE__ */ f(Le, { sx: { mt: 1 }, children: "No hay registros" })
15241
15241
  ] }), "CustomNoRowsOverlay"), h0 = q(ct, {
15242
15242
  name: "EtrDeleteButton",
15243
15243
  overridesResolver: /* @__PURE__ */ o((e, t) => t.root, "overridesResolver")
@@ -16725,7 +16725,7 @@ const oP = /* @__PURE__ */ o((e) => {
16725
16725
  /* @__PURE__ */ B(_f, { sx: i, className: hs.root, children: [
16726
16726
  le ? /* @__PURE__ */ f(jf, { selectedIds: N, children: n }) : null,
16727
16727
  /* @__PURE__ */ f(
16728
- $e,
16728
+ Le,
16729
16729
  {
16730
16730
  sx: { height: "78vh", width: "100%" },
16731
16731
  className: hs.tableWrapper,
@@ -16793,8 +16793,8 @@ const oP = /* @__PURE__ */ o((e) => {
16793
16793
  type: x = "string",
16794
16794
  jsxMobile: P
16795
16795
  } = g;
16796
- return P ? /* @__PURE__ */ f($e, { children: P(v, g) }) : x === "boolean" ? /* @__PURE__ */ f($e, { children: /* @__PURE__ */ f(
16797
- $e,
16796
+ return P ? /* @__PURE__ */ f(Le, { children: P(v, g) }) : x === "boolean" ? /* @__PURE__ */ f(Le, { children: /* @__PURE__ */ f(
16797
+ Le,
16798
16798
  {
16799
16799
  component: "span",
16800
16800
  sx: {
@@ -16804,9 +16804,9 @@ const oP = /* @__PURE__ */ o((e) => {
16804
16804
  },
16805
16805
  children: E
16806
16806
  }
16807
- ) }) : /* @__PURE__ */ f($e, { children: v[y] });
16807
+ ) }) : /* @__PURE__ */ f(Le, { children: v[y] });
16808
16808
  }),
16809
- /* @__PURE__ */ f($e, { children: n.filter((g) => !!g).map((g, y) => {
16809
+ /* @__PURE__ */ f(Le, { children: n.filter((g) => !!g).map((g, y) => {
16810
16810
  const {
16811
16811
  key: E,
16812
16812
  handler: C,
@@ -17521,10 +17521,10 @@ const wP = pe("MuiButtonBase", ["root", "disabled", "focusVisible"]), kP = ["act
17521
17521
  M.current.pulsate(Z);
17522
17522
  })), O && O(Z), g && Z.target === Z.currentTarget && Re() && Z.key === " " && !Z.defaultPrevented && g(Z);
17523
17523
  });
17524
- let Le = u;
17525
- Le === "button" && (I.href || I.to) && (Le = b);
17524
+ let $e = u;
17525
+ $e === "button" && (I.href || I.to) && ($e = b);
17526
17526
  const rt = {};
17527
- Le === "button" ? (rt.type = j === void 0 ? "button" : j, rt.disabled = d) : (!I.href && !I.to && (rt.role = "button"), d && (rt["aria-disabled"] = d));
17527
+ $e === "button" ? (rt.type = j === void 0 ? "button" : j, rt.disabled = d) : (!I.href && !I.to && (rt.role = "button"), d && (rt["aria-disabled"] = d));
17528
17528
  const Ct = pt(r, Ce, V);
17529
17529
  process.env.NODE_ENV !== "production" && S.useEffect(() => {
17530
17530
  ne && !M.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(`
@@ -17541,7 +17541,7 @@ const wP = pe("MuiButtonBase", ["root", "disabled", "focusVisible"]), kP = ["act
17541
17541
  focusVisible: ie
17542
17542
  }), Qt = MP(At);
17543
17543
  return /* @__PURE__ */ B(RP, T({
17544
- as: Le,
17544
+ as: $e,
17545
17545
  className: K(Qt.root, c),
17546
17546
  ownerState: At,
17547
17547
  onBlur: fe,
@@ -18443,7 +18443,7 @@ const sp = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
18443
18443
  Y += De[M];
18444
18444
  }
18445
18445
  return Y;
18446
- }, "getScrollSize"), Le = /* @__PURE__ */ o(() => {
18446
+ }, "getScrollSize"), $e = /* @__PURE__ */ o(() => {
18447
18447
  Be(-1 * Qe());
18448
18448
  }, "handleStartScrollClick"), rt = /* @__PURE__ */ o(() => {
18449
18449
  Be(Qe());
@@ -18468,7 +18468,7 @@ const sp = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
18468
18468
  },
18469
18469
  orientation: y,
18470
18470
  direction: l ? "right" : "left",
18471
- onClick: Le,
18471
+ onClick: $e,
18472
18472
  disabled: !ne
18473
18473
  }, F, {
18474
18474
  className: K(ge.scrollButtons, F.className)
@@ -19681,7 +19681,13 @@ const PT = /^(\d+)(th|st|nd|rd)?/i, TT = /\d+/i, ET = {
19681
19681
  ].filter((we) => we !== void 0);
19682
19682
  return {
19683
19683
  propsContenido: {
19684
- sx: { mt: 1, mb: 1, ml: { xs: 0, md: 1 }, mr: { xs: 0, md: 1 } },
19684
+ sx: {
19685
+ mr: { xs: 0, md: 1 },
19686
+ "& .MuiFormHelperText-root": {
19687
+ position: "absolute",
19688
+ bottom: "-1.8em"
19689
+ }
19690
+ },
19685
19691
  onFocus: /* @__PURE__ */ o((we) => {
19686
19692
  X && ee(Ce, r, we);
19687
19693
  }, "onFocus"),
@@ -21356,7 +21362,7 @@ function BC(e) {
21356
21362
  w[P] = Me, N[P] = Me - V;
21357
21363
  }
21358
21364
  if (c) {
21359
- var Fe, fe = P === "x" ? ot : nt, tt = P === "x" ? St : Pt, Re = w[O], we = O === "y" ? "height" : "width", Be = Re + y[fe], Qe = Re - y[tt], Le = [ot, nt].indexOf(E) !== -1, rt = (Fe = L == null ? void 0 : L[O]) != null ? Fe : 0, Ct = Le ? Be : Re - F[we] - $[we] - rt + R.altAxis, At = Le ? Re + F[we] + $[we] - rt - R.altAxis : Qe, Qt = b && Le ? dC(Ct, Re, At) : Po(b ? Ct : Be, Re, b ? At : Qe);
21365
+ var Fe, fe = P === "x" ? ot : nt, tt = P === "x" ? St : Pt, Re = w[O], we = O === "y" ? "height" : "width", Be = Re + y[fe], Qe = Re - y[tt], $e = [ot, nt].indexOf(E) !== -1, rt = (Fe = L == null ? void 0 : L[O]) != null ? Fe : 0, Ct = $e ? Be : Re - F[we] - $[we] - rt + R.altAxis, At = $e ? Re + F[we] + $[we] - rt - R.altAxis : Qe, Qt = b && $e ? dC(Ct, Re, At) : Po(b ? Ct : Be, Re, b ? At : Qe);
21360
21366
  w[O] = Qt, N[O] = Qt - Re;
21361
21367
  }
21362
21368
  t.modifiersData[n] = N;
@@ -22281,7 +22287,7 @@ const _l = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
22281
22287
  TransitionProps: X
22282
22288
  } = w, D = G(w, d1), re = /* @__PURE__ */ S.isValidElement($) ? $ : /* @__PURE__ */ f("span", {
22283
22289
  children: $
22284
- }), Me = kr(), Fe = fa(), [fe, tt] = S.useState(), [Re, we] = S.useState(null), Be = S.useRef(!1), Qe = _ || H, Le = jr(), rt = jr(), Ct = jr(), At = jr(), [Qt, Z] = gd({
22290
+ }), Me = kr(), Fe = fa(), [fe, tt] = S.useState(), [Re, we] = S.useState(null), Be = S.useRef(!1), Qe = _ || H, $e = jr(), rt = jr(), Ct = jr(), At = jr(), [Qt, Z] = gd({
22285
22291
  controlled: U,
22286
22292
  default: !1,
22287
22293
  name: "Tooltip",
@@ -22310,7 +22316,7 @@ const _l = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
22310
22316
  (ae) => {
22311
22317
  Ic.start(800 + ge, () => {
22312
22318
  hn = !1;
22313
- }), Z(!1), Ce && et && Ce(ae), Le.start(Me.transitions.duration.shortest, () => {
22319
+ }), Z(!1), Ce && et && Ce(ae), $e.start(Me.transitions.duration.shortest, () => {
22314
22320
  Be.current = !1;
22315
22321
  });
22316
22322
  }
@@ -22336,7 +22342,7 @@ const _l = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
22336
22342
  const lt = re.props;
22337
22343
  lt.onTouchStart && lt.onTouchStart(ae);
22338
22344
  }, "detectTouchStart"), rf = /* @__PURE__ */ o((ae) => {
22339
- os(ae), Ct.clear(), Le.clear(), mr(), Dt.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", At.start(M, () => {
22345
+ os(ae), Ct.clear(), $e.clear(), mr(), Dt.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", At.start(M, () => {
22340
22346
  document.body.style.WebkitUserSelect = Dt.current, Y(ae);
22341
22347
  });
22342
22348
  }, "handleTouchStart"), of = /* @__PURE__ */ o((ae) => {
@@ -22914,7 +22920,7 @@ const w1 = /* @__PURE__ */ o((e) => {
22914
22920
  translate: t
22915
22921
  });
22916
22922
  return /* @__PURE__ */ f(
22917
- $e,
22923
+ Le,
22918
22924
  {
22919
22925
  sx: {
22920
22926
  width: l ? 230 : 50,
@@ -23998,7 +24004,7 @@ const Uk = /* @__PURE__ */ o((e) => {
23998
24004
  const v = {};
23999
24005
  return b[r] || (v[r] = s("ra.validation.required")), b[n] || (v[n] = s("ra.validation.required")), v;
24000
24006
  }, "validate"), children: /* @__PURE__ */ f(
24001
- $e,
24007
+ Le,
24002
24008
  {
24003
24009
  sx: {
24004
24010
  display: "flex",
@@ -24012,7 +24018,7 @@ const Uk = /* @__PURE__ */ o((e) => {
24012
24018
  },
24013
24019
  children: /* @__PURE__ */ B(jp, { sx: { minWidth: 300, marginTop: "6em" }, children: [
24014
24020
  /* @__PURE__ */ f(
24015
- $e,
24021
+ Le,
24016
24022
  {
24017
24023
  sx: {
24018
24024
  margin: "1em",
@@ -24031,7 +24037,7 @@ const Uk = /* @__PURE__ */ o((e) => {
24031
24037
  }
24032
24038
  ),
24033
24039
  /* @__PURE__ */ f(
24034
- $e,
24040
+ Le,
24035
24041
  {
24036
24042
  sx: {
24037
24043
  marginTop: "1em",
@@ -24043,8 +24049,8 @@ const Uk = /* @__PURE__ */ o((e) => {
24043
24049
  children: "Inicio de Sesión"
24044
24050
  }
24045
24051
  ),
24046
- /* @__PURE__ */ B($e, { sx: { padding: "0 1em 1em 1em" }, children: [
24047
- /* @__PURE__ */ f($e, { sx: { marginTop: 0 }, children: /* @__PURE__ */ f(
24052
+ /* @__PURE__ */ B(Le, { sx: { padding: "0 1em 1em 1em" }, children: [
24053
+ /* @__PURE__ */ f(Le, { sx: { marginTop: 0 }, children: /* @__PURE__ */ f(
24048
24054
  Or,
24049
24055
  {
24050
24056
  autoFocus: !0,
@@ -24054,7 +24060,7 @@ const Uk = /* @__PURE__ */ o((e) => {
24054
24060
  disabled: i
24055
24061
  }
24056
24062
  ) }),
24057
- /* @__PURE__ */ f($e, { sx: { marginTop: 0 }, children: /* @__PURE__ */ f(
24063
+ /* @__PURE__ */ f(Le, { sx: { marginTop: 0 }, children: /* @__PURE__ */ f(
24058
24064
  pu,
24059
24065
  {
24060
24066
  name: n,
@@ -24485,19 +24491,19 @@ const SF = /* @__PURE__ */ o((e) => {
24485
24491
  let Fe = Me.top - re.vertical, fe = Me.left - re.horizontal;
24486
24492
  const tt = Fe + D.height, Re = fe + D.width, we = Tr(Cn(u)), Be = we.innerHeight - y, Qe = we.innerWidth - y;
24487
24493
  if (y !== null && Fe < y) {
24488
- const Le = Fe - y;
24489
- Fe -= Le, re.vertical += Le;
24494
+ const $e = Fe - y;
24495
+ Fe -= $e, re.vertical += $e;
24490
24496
  } else if (y !== null && tt > Be) {
24491
- const Le = tt - Be;
24492
- Fe -= Le, re.vertical += Le;
24497
+ const $e = tt - Be;
24498
+ Fe -= $e, re.vertical += $e;
24493
24499
  }
24494
24500
  if (process.env.NODE_ENV !== "production" && D.height > Be && D.height && Be && console.error(["MUI: The popover component is too tall.", `Some part of it can not be seen on the screen (${D.height - Be}px).`, "Please consider adding a `max-height` to improve the user-experience."].join(`
24495
24501
  `)), y !== null && fe < y) {
24496
- const Le = fe - y;
24497
- fe -= Le, re.horizontal += Le;
24502
+ const $e = fe - y;
24503
+ fe -= $e, re.horizontal += $e;
24498
24504
  } else if (Re > Qe) {
24499
- const Le = Re - Qe;
24500
- fe -= Le, re.horizontal += Le;
24505
+ const $e = Re - Qe;
24506
+ fe -= $e, re.horizontal += $e;
24501
24507
  }
24502
24508
  return {
24503
24509
  top: `${Math.round(Fe)}px`,
@@ -25242,7 +25248,7 @@ const _F = /* @__PURE__ */ o(({
25242
25248
  }, "handleToggle"), E = /* @__PURE__ */ o((x) => {
25243
25249
  h.current && h.current.contains(x.target) || p(!1);
25244
25250
  }, "handleClose"), C = r[m];
25245
- return /* @__PURE__ */ B($e, { sx: { display: "inline-block" }, ..._F(u), children: [
25251
+ return /* @__PURE__ */ B(Le, { sx: { display: "inline-block" }, ..._F(u), children: [
25246
25252
  /* @__PURE__ */ f(
25247
25253
  ct,
25248
25254
  {
@@ -25268,7 +25274,7 @@ const _F = /* @__PURE__ */ o(({
25268
25274
  children: [
25269
25275
  x.icon,
25270
25276
  /* @__PURE__ */ f(
25271
- $e,
25277
+ Le,
25272
25278
  {
25273
25279
  component: "span",
25274
25280
  sx: { paddingRight: "4px" }
@@ -25949,7 +25955,7 @@ const qc = /* @__PURE__ */ o((e) => {
25949
25955
  loading: !t,
25950
25956
  maxWidth: "sm",
25951
25957
  title: "",
25952
- content: /* @__PURE__ */ B($e, { display: "flex", flexDirection: "column", children: [
25958
+ content: /* @__PURE__ */ B(Le, { display: "flex", flexDirection: "column", children: [
25953
25959
  /* @__PURE__ */ f(
25954
25960
  fs,
25955
25961
  {
@@ -26052,6 +26058,7 @@ const qc = /* @__PURE__ */ o((e) => {
26052
26058
  direction: "row",
26053
26059
  alignItems: "flex-start",
26054
26060
  justifyContent: "flex-start",
26061
+ sx: { "& .MuiStack-root": { position: "relative" } },
26055
26062
  divider: /* @__PURE__ */ f(_o, { orientation: "vertical", variant: "middle", flexItem: !0 }),
26056
26063
  children: [
26057
26064
  /* @__PURE__ */ f(
@@ -26078,6 +26085,7 @@ const qc = /* @__PURE__ */ o((e) => {
26078
26085
  direction: "row",
26079
26086
  alignItems: "flex-start",
26080
26087
  justifyContent: "flex-start",
26088
+ sx: { "& .MuiStack-root": { position: "relative" } },
26081
26089
  divider: /* @__PURE__ */ f(_o, { orientation: "vertical", variant: "middle", flexItem: !0 }),
26082
26090
  children: [
26083
26091
  /* @__PURE__ */ f(
@@ -26122,15 +26130,15 @@ const qc = /* @__PURE__ */ o((e) => {
26122
26130
  }
26123
26131
  ));
26124
26132
  }, "Camino"), rM = /* @__PURE__ */ o((e) => {
26125
- const {
26126
- propsContenido: { sx: t, ...r },
26127
- hidden: n
26128
- } = it(e);
26129
- return !n && /* @__PURE__ */ f(
26130
- Om,
26133
+ const { propsContenido: t, hidden: r } = it(e);
26134
+ return !r && /* @__PURE__ */ f(
26135
+ Le,
26131
26136
  {
26132
- ...r,
26133
- sx: { ...t, display: "inline-flex", margin: 1 }
26137
+ sx: {
26138
+ display: "inline-flex",
26139
+ "& .MuiFormGroup-root": { position: "relative" }
26140
+ },
26141
+ children: /* @__PURE__ */ f(Om, { ...t })
26134
26142
  }
26135
26143
  );
26136
26144
  }, "CheckBox"), bw = hi((e, t) => /* @__PURE__ */ f(Un, { ref: t, ...e })), vw = /* @__PURE__ */ o((e) => {
@@ -26143,12 +26151,11 @@ const qc = /* @__PURE__ */ o((e) => {
26143
26151
  return dt(() => {
26144
26152
  s || typeof t == "function" && t(Object.values([c]));
26145
26153
  }, [c, t, s]), /* @__PURE__ */ f(bw, { title: ((p = d.current) == null ? void 0 : p.value) || "", placement: "top", arrow: !0, children: /* @__PURE__ */ f(
26146
- $e,
26154
+ Le,
26147
26155
  {
26148
- sx: n ? { margin: 1, ...r } : {
26156
+ sx: n ? { marginLeft: 1, ...r } : {
26149
26157
  display: { xs: "inherit", md: "inline-flex" },
26150
26158
  verticalAlign: "top",
26151
- margin: 1,
26152
26159
  ...r
26153
26160
  },
26154
26161
  width: n ? {} : { xs: "100%", md: "auto" },
@@ -26156,7 +26163,7 @@ const qc = /* @__PURE__ */ o((e) => {
26156
26163
  Sm,
26157
26164
  {
26158
26165
  size: "small",
26159
- sx: n ? { width: "100% !important" } : r,
26166
+ sx: n ? { width: "100% !important" } : {},
26160
26167
  ...l,
26161
26168
  onChange: /* @__PURE__ */ o((h) => {
26162
26169
  var m;
@@ -26229,11 +26236,18 @@ const qc = /* @__PURE__ */ o((e) => {
26229
26236
  const { title: t, source: r, src: n } = e, i = qt(e), l = `${n}/${i[r]}`;
26230
26237
  return /* @__PURE__ */ f(Bl, { title: t, src: l });
26231
26238
  }, "ImageField"), aM = /* @__PURE__ */ o((e) => {
26232
- const { propsContenido: t, hidden: r } = it(e), { isLoading: n } = me(Ge), { source: i, reference: l } = e;
26233
- return !r && !n ? /* @__PURE__ */ f(Tm, { source: i, reference: l, children: /* @__PURE__ */ f(
26239
+ const {
26240
+ propsContenido: { sx: t, ...r },
26241
+ hidden: n
26242
+ } = it(e), { isLoading: i } = me(Ge), { source: l, reference: s } = e;
26243
+ return !n && !i ? /* @__PURE__ */ f(Tm, { source: l, reference: s, children: /* @__PURE__ */ f(
26234
26244
  Em,
26235
26245
  {
26236
- ...t,
26246
+ ...r,
26247
+ sx: {
26248
+ ...t,
26249
+ "& .MuiFormControl-root": { position: "relative" }
26250
+ },
26237
26251
  optionText: "etiqueta",
26238
26252
  optionValue: e.source
26239
26253
  }
@@ -26242,18 +26256,37 @@ const qc = /* @__PURE__ */ o((e) => {
26242
26256
  const { propsContenido: t, hidden: r } = it(e);
26243
26257
  return !r && /* @__PURE__ */ f(pu, { ...t });
26244
26258
  }, "Password"), lM = /* @__PURE__ */ o((e) => {
26245
- const { propsContenido: t, hidden: r } = it(e), { isLoading: n } = me(Ge), { source: i, reference: l } = e;
26246
- return !r && !n ? /* @__PURE__ */ f(hu, { source: i, reference: l, children: /* @__PURE__ */ f(
26259
+ const {
26260
+ propsContenido: { sx: t, ...r },
26261
+ hidden: n
26262
+ } = it(e), { isLoading: i } = me(Ge), { source: l, reference: s } = e;
26263
+ return !n && !i ? /* @__PURE__ */ f(hu, { source: l, reference: s, children: /* @__PURE__ */ f(
26247
26264
  gu,
26248
26265
  {
26249
- ...t,
26266
+ ...r,
26267
+ sx: {
26268
+ ...t,
26269
+ "& .MuiFormControl-root": { position: "relative" }
26270
+ },
26250
26271
  optionText: "etiqueta",
26251
26272
  optionValue: e.source
26252
26273
  }
26253
26274
  ) }) : null;
26254
26275
  }, "RadioButton"), sM = /* @__PURE__ */ o((e) => {
26255
- const { propsContenido: t, hidden: r } = it(e);
26256
- return !r && /* @__PURE__ */ f(gu, { ...t });
26276
+ const {
26277
+ propsContenido: { sx: t, ...r },
26278
+ hidden: n
26279
+ } = it(e);
26280
+ return !n && /* @__PURE__ */ f(
26281
+ gu,
26282
+ {
26283
+ ...r,
26284
+ sx: {
26285
+ ...t,
26286
+ "& .MuiFormControl-root": { position: "relative" }
26287
+ }
26288
+ }
26289
+ );
26257
26290
  }, "RadioButtonManual");
26258
26291
  var Gl = {}, Ow = Ae;
26259
26292
  Object.defineProperty(Gl, "__esModule", {
@@ -26392,11 +26425,11 @@ const Iw = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
26392
26425
  }, "handleTodos");
26393
26426
  return u ? null : /* @__PURE__ */ B(lr, { children: [
26394
26427
  /* @__PURE__ */ f(
26395
- $e,
26428
+ Le,
26396
26429
  {
26397
26430
  display: "flex",
26398
26431
  alignItems: "center",
26399
- sx: { ...i, display: "inline-flex", margin: 1 },
26432
+ sx: { ...i, display: "inline-flex" },
26400
26433
  children: /* @__PURE__ */ f(
26401
26434
  Or,
26402
26435
  {
@@ -26521,7 +26554,7 @@ const Iw = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
26521
26554
  [n]
26522
26555
  );
26523
26556
  return /* @__PURE__ */ B(
26524
- $e,
26557
+ Le,
26525
26558
  {
26526
26559
  display: "flex",
26527
26560
  flex: 1,
@@ -26532,7 +26565,7 @@ const Iw = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
26532
26565
  },
26533
26566
  children: [
26534
26567
  /* @__PURE__ */ f(
26535
- $e,
26568
+ Le,
26536
26569
  {
26537
26570
  flex: { xs: "1 0 auto", md: "0 0 300px" },
26538
26571
  sx: {
@@ -26554,7 +26587,7 @@ const Iw = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
26554
26587
  }
26555
26588
  ),
26556
26589
  /* @__PURE__ */ f(
26557
- $e,
26590
+ Le,
26558
26591
  {
26559
26592
  flexGrow: 1,
26560
26593
  sx: {
@@ -26673,7 +26706,7 @@ const Iw = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
26673
26706
  }, "handleTodos");
26674
26707
  return y ? null : /* @__PURE__ */ B(lr, { children: [
26675
26708
  /* @__PURE__ */ f(
26676
- $e,
26709
+ Le,
26677
26710
  {
26678
26711
  display: "flex",
26679
26712
  alignItems: "center",
@@ -26757,16 +26790,18 @@ const Iw = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
26757
26790
  };
26758
26791
  return i ? null : t === "N" || t === "D" ? /* @__PURE__ */ f(Fm, { ...s }) : t === "F" ? /* @__PURE__ */ f(wm, { ...s }) : t === "Z" ? /* @__PURE__ */ f(km, { ...s }) : t === "H" ? /* @__PURE__ */ f(Or, { ...s, type: "time" }) : /* @__PURE__ */ f(Or, { ...s });
26759
26792
  }, "TextBox"), fM = /* @__PURE__ */ o((e) => {
26760
- const { source: t, label: r, sx: n } = e, { hidden: i } = it(e);
26761
- return i ? null : /* @__PURE__ */ B(
26762
- $e,
26793
+ const { label: t, sx: r } = e, {
26794
+ hidden: n,
26795
+ propsContenido: { helperText: i, sx: l }
26796
+ } = it(e);
26797
+ return n ? null : /* @__PURE__ */ B(
26798
+ Le,
26763
26799
  {
26764
26800
  sx: {
26765
- ...n,
26801
+ ...r,
26802
+ ...l,
26766
26803
  display: "inline-flex",
26767
26804
  alignItems: "flex-start",
26768
- marginLeft: { md: 1 },
26769
- marginBottom: -1,
26770
26805
  width: { xs: "100%", md: "calc(24vw + 1em)" }
26771
26806
  },
26772
26807
  children: [
@@ -26775,18 +26810,18 @@ const Iw = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
26775
26810
  {
26776
26811
  ...e,
26777
26812
  label: "",
26778
- source: t,
26779
- sx: { flex: 1, marginTop: 1 }
26813
+ sx: { flex: 1 },
26814
+ helperText: i
26780
26815
  }
26781
26816
  ),
26782
26817
  /* @__PURE__ */ f(
26783
26818
  yw,
26784
26819
  {
26785
26820
  ...e,
26786
- source: t,
26787
- label: r,
26821
+ label: t,
26788
26822
  isTC: !0,
26789
- sx: { flex: 3 }
26823
+ sx: { flex: 3 },
26824
+ helperText: i
26790
26825
  }
26791
26826
  )
26792
26827
  ]