biblio-react 3.0.0-alpha7 → 3.0.0-alpha8
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 +107 -74
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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
|
|
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(
|
|
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(
|
|
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
|
-
|
|
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(
|
|
16797
|
-
|
|
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(
|
|
16807
|
+
) }) : /* @__PURE__ */ f(Le, { children: v[y] });
|
|
16808
16808
|
}),
|
|
16809
|
-
/* @__PURE__ */ f(
|
|
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
|
|
17525
|
-
|
|
17524
|
+
let $e = u;
|
|
17525
|
+
$e === "button" && (I.href || I.to) && ($e = b);
|
|
17526
17526
|
const rt = {};
|
|
17527
|
-
|
|
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:
|
|
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"),
|
|
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:
|
|
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: {
|
|
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],
|
|
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,
|
|
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),
|
|
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(),
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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(
|
|
24047
|
-
/* @__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(
|
|
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
|
|
24489
|
-
Fe -=
|
|
24494
|
+
const $e = Fe - y;
|
|
24495
|
+
Fe -= $e, re.vertical += $e;
|
|
24490
24496
|
} else if (y !== null && tt > Be) {
|
|
24491
|
-
const
|
|
24492
|
-
Fe -=
|
|
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
|
|
24497
|
-
fe -=
|
|
24502
|
+
const $e = fe - y;
|
|
24503
|
+
fe -= $e, re.horizontal += $e;
|
|
24498
24504
|
} else if (Re > Qe) {
|
|
24499
|
-
const
|
|
24500
|
-
fe -=
|
|
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(
|
|
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
|
-
|
|
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(
|
|
25958
|
+
content: /* @__PURE__ */ B(Le, { display: "flex", flexDirection: "column", children: [
|
|
25953
25959
|
/* @__PURE__ */ f(
|
|
25954
25960
|
fs,
|
|
25955
25961
|
{
|
|
@@ -26122,15 +26128,15 @@ const qc = /* @__PURE__ */ o((e) => {
|
|
|
26122
26128
|
}
|
|
26123
26129
|
));
|
|
26124
26130
|
}, "Camino"), rM = /* @__PURE__ */ o((e) => {
|
|
26125
|
-
const {
|
|
26126
|
-
|
|
26127
|
-
|
|
26128
|
-
} = it(e);
|
|
26129
|
-
return !n && /* @__PURE__ */ f(
|
|
26130
|
-
Om,
|
|
26131
|
+
const { propsContenido: t, hidden: r } = it(e);
|
|
26132
|
+
return !r && /* @__PURE__ */ f(
|
|
26133
|
+
Le,
|
|
26131
26134
|
{
|
|
26132
|
-
|
|
26133
|
-
|
|
26135
|
+
sx: {
|
|
26136
|
+
display: "inline-flex",
|
|
26137
|
+
"& .MuiFormGroup-root": { position: "relative" }
|
|
26138
|
+
},
|
|
26139
|
+
children: /* @__PURE__ */ f(Om, { ...t })
|
|
26134
26140
|
}
|
|
26135
26141
|
);
|
|
26136
26142
|
}, "CheckBox"), bw = hi((e, t) => /* @__PURE__ */ f(Un, { ref: t, ...e })), vw = /* @__PURE__ */ o((e) => {
|
|
@@ -26143,12 +26149,11 @@ const qc = /* @__PURE__ */ o((e) => {
|
|
|
26143
26149
|
return dt(() => {
|
|
26144
26150
|
s || typeof t == "function" && t(Object.values([c]));
|
|
26145
26151
|
}, [c, t, s]), /* @__PURE__ */ f(bw, { title: ((p = d.current) == null ? void 0 : p.value) || "", placement: "top", arrow: !0, children: /* @__PURE__ */ f(
|
|
26146
|
-
|
|
26152
|
+
Le,
|
|
26147
26153
|
{
|
|
26148
|
-
sx: n ? {
|
|
26154
|
+
sx: n ? { marginLeft: 1, ...r } : {
|
|
26149
26155
|
display: { xs: "inherit", md: "inline-flex" },
|
|
26150
26156
|
verticalAlign: "top",
|
|
26151
|
-
margin: 1,
|
|
26152
26157
|
...r
|
|
26153
26158
|
},
|
|
26154
26159
|
width: n ? {} : { xs: "100%", md: "auto" },
|
|
@@ -26156,7 +26161,7 @@ const qc = /* @__PURE__ */ o((e) => {
|
|
|
26156
26161
|
Sm,
|
|
26157
26162
|
{
|
|
26158
26163
|
size: "small",
|
|
26159
|
-
sx: n ? { width: "100% !important" } :
|
|
26164
|
+
sx: n ? { width: "100% !important" } : {},
|
|
26160
26165
|
...l,
|
|
26161
26166
|
onChange: /* @__PURE__ */ o((h) => {
|
|
26162
26167
|
var m;
|
|
@@ -26229,11 +26234,18 @@ const qc = /* @__PURE__ */ o((e) => {
|
|
|
26229
26234
|
const { title: t, source: r, src: n } = e, i = qt(e), l = `${n}/${i[r]}`;
|
|
26230
26235
|
return /* @__PURE__ */ f(Bl, { title: t, src: l });
|
|
26231
26236
|
}, "ImageField"), aM = /* @__PURE__ */ o((e) => {
|
|
26232
|
-
const {
|
|
26233
|
-
|
|
26237
|
+
const {
|
|
26238
|
+
propsContenido: { sx: t, ...r },
|
|
26239
|
+
hidden: n
|
|
26240
|
+
} = it(e), { isLoading: i } = me(Ge), { source: l, reference: s } = e;
|
|
26241
|
+
return !n && !i ? /* @__PURE__ */ f(Tm, { source: l, reference: s, children: /* @__PURE__ */ f(
|
|
26234
26242
|
Em,
|
|
26235
26243
|
{
|
|
26236
|
-
...
|
|
26244
|
+
...r,
|
|
26245
|
+
sx: {
|
|
26246
|
+
...t,
|
|
26247
|
+
"& .MuiFormControl-root": { position: "relative" }
|
|
26248
|
+
},
|
|
26237
26249
|
optionText: "etiqueta",
|
|
26238
26250
|
optionValue: e.source
|
|
26239
26251
|
}
|
|
@@ -26242,18 +26254,37 @@ const qc = /* @__PURE__ */ o((e) => {
|
|
|
26242
26254
|
const { propsContenido: t, hidden: r } = it(e);
|
|
26243
26255
|
return !r && /* @__PURE__ */ f(pu, { ...t });
|
|
26244
26256
|
}, "Password"), lM = /* @__PURE__ */ o((e) => {
|
|
26245
|
-
const {
|
|
26246
|
-
|
|
26257
|
+
const {
|
|
26258
|
+
propsContenido: { sx: t, ...r },
|
|
26259
|
+
hidden: n
|
|
26260
|
+
} = it(e), { isLoading: i } = me(Ge), { source: l, reference: s } = e;
|
|
26261
|
+
return !n && !i ? /* @__PURE__ */ f(hu, { source: l, reference: s, children: /* @__PURE__ */ f(
|
|
26247
26262
|
gu,
|
|
26248
26263
|
{
|
|
26249
|
-
...
|
|
26264
|
+
...r,
|
|
26265
|
+
sx: {
|
|
26266
|
+
...t,
|
|
26267
|
+
"& .MuiFormControl-root": { position: "relative" }
|
|
26268
|
+
},
|
|
26250
26269
|
optionText: "etiqueta",
|
|
26251
26270
|
optionValue: e.source
|
|
26252
26271
|
}
|
|
26253
26272
|
) }) : null;
|
|
26254
26273
|
}, "RadioButton"), sM = /* @__PURE__ */ o((e) => {
|
|
26255
|
-
const {
|
|
26256
|
-
|
|
26274
|
+
const {
|
|
26275
|
+
propsContenido: { sx: t, ...r },
|
|
26276
|
+
hidden: n
|
|
26277
|
+
} = it(e);
|
|
26278
|
+
return !n && /* @__PURE__ */ f(
|
|
26279
|
+
gu,
|
|
26280
|
+
{
|
|
26281
|
+
...r,
|
|
26282
|
+
sx: {
|
|
26283
|
+
...t,
|
|
26284
|
+
"& .MuiFormControl-root": { position: "relative" }
|
|
26285
|
+
}
|
|
26286
|
+
}
|
|
26287
|
+
);
|
|
26257
26288
|
}, "RadioButtonManual");
|
|
26258
26289
|
var Gl = {}, Ow = Ae;
|
|
26259
26290
|
Object.defineProperty(Gl, "__esModule", {
|
|
@@ -26392,11 +26423,11 @@ const Iw = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
|
|
|
26392
26423
|
}, "handleTodos");
|
|
26393
26424
|
return u ? null : /* @__PURE__ */ B(lr, { children: [
|
|
26394
26425
|
/* @__PURE__ */ f(
|
|
26395
|
-
|
|
26426
|
+
Le,
|
|
26396
26427
|
{
|
|
26397
26428
|
display: "flex",
|
|
26398
26429
|
alignItems: "center",
|
|
26399
|
-
sx: { ...i, display: "inline-flex"
|
|
26430
|
+
sx: { ...i, display: "inline-flex" },
|
|
26400
26431
|
children: /* @__PURE__ */ f(
|
|
26401
26432
|
Or,
|
|
26402
26433
|
{
|
|
@@ -26521,7 +26552,7 @@ const Iw = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
|
|
|
26521
26552
|
[n]
|
|
26522
26553
|
);
|
|
26523
26554
|
return /* @__PURE__ */ B(
|
|
26524
|
-
|
|
26555
|
+
Le,
|
|
26525
26556
|
{
|
|
26526
26557
|
display: "flex",
|
|
26527
26558
|
flex: 1,
|
|
@@ -26532,7 +26563,7 @@ const Iw = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
|
|
|
26532
26563
|
},
|
|
26533
26564
|
children: [
|
|
26534
26565
|
/* @__PURE__ */ f(
|
|
26535
|
-
|
|
26566
|
+
Le,
|
|
26536
26567
|
{
|
|
26537
26568
|
flex: { xs: "1 0 auto", md: "0 0 300px" },
|
|
26538
26569
|
sx: {
|
|
@@ -26554,7 +26585,7 @@ const Iw = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
|
|
|
26554
26585
|
}
|
|
26555
26586
|
),
|
|
26556
26587
|
/* @__PURE__ */ f(
|
|
26557
|
-
|
|
26588
|
+
Le,
|
|
26558
26589
|
{
|
|
26559
26590
|
flexGrow: 1,
|
|
26560
26591
|
sx: {
|
|
@@ -26673,7 +26704,7 @@ const Iw = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
|
|
|
26673
26704
|
}, "handleTodos");
|
|
26674
26705
|
return y ? null : /* @__PURE__ */ B(lr, { children: [
|
|
26675
26706
|
/* @__PURE__ */ f(
|
|
26676
|
-
|
|
26707
|
+
Le,
|
|
26677
26708
|
{
|
|
26678
26709
|
display: "flex",
|
|
26679
26710
|
alignItems: "center",
|
|
@@ -26757,16 +26788,18 @@ const Iw = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
|
|
|
26757
26788
|
};
|
|
26758
26789
|
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
26790
|
}, "TextBox"), fM = /* @__PURE__ */ o((e) => {
|
|
26760
|
-
const {
|
|
26761
|
-
|
|
26762
|
-
|
|
26791
|
+
const { label: t, sx: r } = e, {
|
|
26792
|
+
hidden: n,
|
|
26793
|
+
propsContenido: { helperText: i, sx: l }
|
|
26794
|
+
} = it(e);
|
|
26795
|
+
return n ? null : /* @__PURE__ */ B(
|
|
26796
|
+
Le,
|
|
26763
26797
|
{
|
|
26764
26798
|
sx: {
|
|
26765
|
-
...
|
|
26799
|
+
...r,
|
|
26800
|
+
...l,
|
|
26766
26801
|
display: "inline-flex",
|
|
26767
26802
|
alignItems: "flex-start",
|
|
26768
|
-
marginLeft: { md: 1 },
|
|
26769
|
-
marginBottom: -1,
|
|
26770
26803
|
width: { xs: "100%", md: "calc(24vw + 1em)" }
|
|
26771
26804
|
},
|
|
26772
26805
|
children: [
|
|
@@ -26775,18 +26808,18 @@ const Iw = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
|
|
|
26775
26808
|
{
|
|
26776
26809
|
...e,
|
|
26777
26810
|
label: "",
|
|
26778
|
-
|
|
26779
|
-
|
|
26811
|
+
sx: { flex: 1 },
|
|
26812
|
+
helperText: i
|
|
26780
26813
|
}
|
|
26781
26814
|
),
|
|
26782
26815
|
/* @__PURE__ */ f(
|
|
26783
26816
|
yw,
|
|
26784
26817
|
{
|
|
26785
26818
|
...e,
|
|
26786
|
-
|
|
26787
|
-
label: r,
|
|
26819
|
+
label: t,
|
|
26788
26820
|
isTC: !0,
|
|
26789
|
-
sx: { flex: 3 }
|
|
26821
|
+
sx: { flex: 3 },
|
|
26822
|
+
helperText: i
|
|
26790
26823
|
}
|
|
26791
26824
|
)
|
|
26792
26825
|
]
|