biblio-react 3.0.0-alpha155 → 3.0.0-alpha157
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 +45 -45
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9613,7 +9613,7 @@ const CD = /^(\d+)(th|st|nd|rd)?/i, kD = /\d+/i, ED = {
|
|
|
9613
9613
|
]
|
|
9614
9614
|
);
|
|
9615
9615
|
return /* @__PURE__ */ y(YC.Provider, { value: o, children: e });
|
|
9616
|
-
}, "FichaProvider"),
|
|
9616
|
+
}, "FichaProvider"), xt = /* @__PURE__ */ a(() => nt(YC) || {}, "useFicha"), QC = /* @__PURE__ */ a((t) => {
|
|
9617
9617
|
const e = nt(JC);
|
|
9618
9618
|
return (t == null ? void 0 : t.id) || e;
|
|
9619
9619
|
}, "useIdContext"), pr = /* @__PURE__ */ a((t) => {
|
|
@@ -9622,9 +9622,9 @@ const CD = /^(\d+)(th|st|nd|rd)?/i, kD = /\d+/i, ED = {
|
|
|
9622
9622
|
isLoading: n,
|
|
9623
9623
|
fichaProps: o = {},
|
|
9624
9624
|
propsContenidos: i = {}
|
|
9625
|
-
} =
|
|
9626
|
-
const
|
|
9627
|
-
return
|
|
9625
|
+
} = xt(), s = nt(ji), l = s !== void 0, u = ag((Ge) => {
|
|
9626
|
+
const Ot = Ge.configInputs ? Ge.configInputs.filter((Ae) => Ae.id === e) : [];
|
|
9627
|
+
return Ot[0] ? Ot[0] : null;
|
|
9628
9628
|
}), {
|
|
9629
9629
|
conts: d = []
|
|
9630
9630
|
//user = [],
|
|
@@ -9773,20 +9773,20 @@ const CD = /^(\d+)(th|st|nd|rd)?/i, kD = /\d+/i, ED = {
|
|
|
9773
9773
|
}
|
|
9774
9774
|
}
|
|
9775
9775
|
}), "getClassesForm"), XC = /* @__PURE__ */ a((t) => {
|
|
9776
|
-
const { deleteButton: e = !0, ...r } = t, n = hp({ borrar: !0, ...r });
|
|
9776
|
+
const { deleteButton: e = !0, ...r } = t, { estado: n } = xt(), o = hp({ borrar: !0, ...r });
|
|
9777
9777
|
return /* @__PURE__ */ y(eg, { ...r, children: /* @__PURE__ */ W("div", { className: hP.defaultToolbar, children: [
|
|
9778
9778
|
/* @__PURE__ */ y(Dl, {}),
|
|
9779
|
-
e && /* @__PURE__ */ y(
|
|
9779
|
+
n === "M" && e && /* @__PURE__ */ y(
|
|
9780
9780
|
h_,
|
|
9781
9781
|
{
|
|
9782
9782
|
resource: r.resource,
|
|
9783
|
-
validateDelete:
|
|
9783
|
+
validateDelete: o
|
|
9784
9784
|
}
|
|
9785
9785
|
)
|
|
9786
9786
|
] }) });
|
|
9787
9787
|
}, "ToolbarFicha"), pf = /* @__PURE__ */ a(() => {
|
|
9788
9788
|
}, "dontSave"), hp = /* @__PURE__ */ a((t) => {
|
|
9789
|
-
const { borrar: e = !1 } = t, r = pt(), n = ur(), o = Tt(), i = _i(), { estado: s, fichaProps: { onBeforeSubmitFicha: l, etrs: u } = {} } =
|
|
9789
|
+
const { borrar: e = !1 } = t, r = pt(), n = ur(), o = Tt(), i = _i(), { estado: s, fichaProps: { onBeforeSubmitFicha: l, etrs: u } = {} } = xt(), d = C_({ ...t, etrs: u }), [p] = uS(
|
|
9790
9790
|
r,
|
|
9791
9791
|
{
|
|
9792
9792
|
id: n == null ? void 0 : n.id
|
|
@@ -10120,7 +10120,7 @@ const ZC = /* @__PURE__ */ a(() => {
|
|
|
10120
10120
|
abrirVentanaSistema: h
|
|
10121
10121
|
};
|
|
10122
10122
|
}, "useUtilsGrilla"), C_ = /* @__PURE__ */ a((t) => {
|
|
10123
|
-
const e = nk(), r = ok(), n = ik(), o = ak(), i = sk(), s = lk(), l = ss(), u = Un(), d = _i(), p = Xa(), f = pt(t), h = pp(), { propsContenidos: m, setPropsContenidos: g } =
|
|
10123
|
+
const e = nk(), r = ok(), n = ik(), o = ak(), i = sk(), s = lk(), l = ss(), u = Un(), d = _i(), p = Xa(), f = pt(t), h = pp(), { propsContenidos: m, setPropsContenidos: g } = xt(), [b] = Yg(f), v = (t == null ? void 0 : t.etrs) || {};
|
|
10124
10124
|
return {
|
|
10125
10125
|
ajax: b,
|
|
10126
10126
|
notify: u,
|
|
@@ -10145,7 +10145,7 @@ const ZC = /* @__PURE__ */ a(() => {
|
|
|
10145
10145
|
return (P = (R = i()) == null ? void 0 : R.trigger) == null ? void 0 : P.call(R, ...M);
|
|
10146
10146
|
}, "trigger"), l = /* @__PURE__ */ a((M) => (R, P) => {
|
|
10147
10147
|
M(R, P), setTimeout(() => s(R), 0);
|
|
10148
|
-
}, "withRevalidate"), u = nk(), d = ok(), p = ik(), f = ak(), h = sk(), m = lk(), g = ss(), b = Un(), v = _i(), x = Xa(), T = pp(), k = rk(), { propsContenidos: C, setPropsContenidos: S } =
|
|
10148
|
+
}, "withRevalidate"), u = nk(), d = ok(), p = ik(), f = ak(), h = sk(), m = lk(), g = ss(), b = Un(), v = _i(), x = Xa(), T = pp(), k = rk(), { propsContenidos: C, setPropsContenidos: S } = xt(), [w] = Yg(e);
|
|
10149
10149
|
return Ue(() => () => {
|
|
10150
10150
|
ff.delete(n);
|
|
10151
10151
|
}, []), {
|
|
@@ -10169,7 +10169,7 @@ const ZC = /* @__PURE__ */ a(() => {
|
|
|
10169
10169
|
setLabel: l(m)
|
|
10170
10170
|
};
|
|
10171
10171
|
}, "useUtilsFicha"), uk = /* @__PURE__ */ a((t) => {
|
|
10172
|
-
const { estado: e, isLoading: r, fichaProps: n = {} } =
|
|
10172
|
+
const { estado: e, isLoading: r, fichaProps: n = {} } = xt(), { [t.source]: o = {} } = n, { hidden: i = !1, ...s } = t, {
|
|
10173
10173
|
hidden: l,
|
|
10174
10174
|
useContenido: u = tc,
|
|
10175
10175
|
...d
|
|
@@ -11372,7 +11372,7 @@ const $a = Oe("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
|
|
|
11372
11372
|
size: _.size,
|
|
11373
11373
|
startAdornment: D,
|
|
11374
11374
|
type: H
|
|
11375
|
-
}), ze = Z_(it), at = K.root || d.Root || Op, Ge = N.root || p.root || {},
|
|
11375
|
+
}), ze = Z_(it), at = K.root || d.Root || Op, Ge = N.root || p.root || {}, Ot = K.input || d.Input || Sp;
|
|
11376
11376
|
return $e = E({}, $e, (n = N.input) != null ? n : p.input), /* @__PURE__ */ W(O.Fragment, {
|
|
11377
11377
|
children: [!m && e2, /* @__PURE__ */ W(at, E({}, Ge, !Aa(at) && {
|
|
11378
11378
|
ownerState: E({}, it, Ge.ownerState)
|
|
@@ -11383,7 +11383,7 @@ const $a = Oe("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
|
|
|
11383
11383
|
className: re(ze.root, Ge.className, u, j && "MuiInputBase-readOnly"),
|
|
11384
11384
|
children: [D, /* @__PURE__ */ y(yp.Provider, {
|
|
11385
11385
|
value: null,
|
|
11386
|
-
children: /* @__PURE__ */ y(
|
|
11386
|
+
children: /* @__PURE__ */ y(Ot, E({
|
|
11387
11387
|
ownerState: it,
|
|
11388
11388
|
"aria-invalid": _.error,
|
|
11389
11389
|
"aria-describedby": i,
|
|
@@ -11402,7 +11402,7 @@ const $a = Oe("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
|
|
|
11402
11402
|
onKeyDown: F,
|
|
11403
11403
|
onKeyUp: $,
|
|
11404
11404
|
type: H
|
|
11405
|
-
}, $e, !Aa(
|
|
11405
|
+
}, $e, !Aa(Ot) && {
|
|
11406
11406
|
as: je,
|
|
11407
11407
|
ownerState: E({}, it, $e.ownerState)
|
|
11408
11408
|
}, {
|
|
@@ -12407,7 +12407,7 @@ const m2 = Oe("MuiButtonBase", ["root", "disabled", "focusVisible"]), g2 = ["act
|
|
|
12407
12407
|
Q && !N.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(`
|
|
12408
12408
|
`));
|
|
12409
12409
|
}, [Q]);
|
|
12410
|
-
const
|
|
12410
|
+
const Ot = E({}, n, {
|
|
12411
12411
|
centerRipple: i,
|
|
12412
12412
|
component: u,
|
|
12413
12413
|
disabled: d,
|
|
@@ -12416,11 +12416,11 @@ const m2 = Oe("MuiButtonBase", ["root", "disabled", "focusVisible"]), g2 = ["act
|
|
|
12416
12416
|
focusRipple: h,
|
|
12417
12417
|
tabIndex: F,
|
|
12418
12418
|
focusVisible: U
|
|
12419
|
-
}), Ae = b2(
|
|
12419
|
+
}), Ae = b2(Ot);
|
|
12420
12420
|
return /* @__PURE__ */ W(y2, E({
|
|
12421
12421
|
as: ze,
|
|
12422
12422
|
className: re(Ae.root, l),
|
|
12423
|
-
ownerState:
|
|
12423
|
+
ownerState: Ot,
|
|
12424
12424
|
onBlur: me,
|
|
12425
12425
|
onClick: b,
|
|
12426
12426
|
onContextMenu: ie,
|
|
@@ -23296,7 +23296,7 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
23296
23296
|
g({ groupingField: Nt, ...de }),
|
|
23297
23297
|
H
|
|
23298
23298
|
);
|
|
23299
|
-
}, "handleFilterChange"),
|
|
23299
|
+
}, "handleFilterChange"), Ot = /* @__PURE__ */ a((de) => {
|
|
23300
23300
|
if (de.length > 0) {
|
|
23301
23301
|
const { field: ot } = de[0];
|
|
23302
23302
|
let ft;
|
|
@@ -23381,7 +23381,7 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
23381
23381
|
onRowDoubleClick: Ae,
|
|
23382
23382
|
initialState: je,
|
|
23383
23383
|
...ye,
|
|
23384
|
-
onSortModelChange:
|
|
23384
|
+
onSortModelChange: Ot,
|
|
23385
23385
|
sortingMode: "server",
|
|
23386
23386
|
rowHeight: 45,
|
|
23387
23387
|
...w,
|
|
@@ -23574,7 +23574,7 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
23574
23574
|
camposClaveFila: s,
|
|
23575
23575
|
setOpen: l,
|
|
23576
23576
|
open: u
|
|
23577
|
-
} = t, { dirtyFields: d, isValid: p } = gR(), { fichaProps: { [t.source]: f = {}, etrs: h } = {} } =
|
|
23577
|
+
} = t, { dirtyFields: d, isValid: p } = gR(), { fichaProps: { [t.source]: f = {}, etrs: h } = {} } = xt(), m = ss(), g = nt(ji), { onAfterRenderAsistente: b, ...v } = f, x = wn({ resource: r, etrs: h, asisEtr: g });
|
|
23578
23578
|
return Ue(() => {
|
|
23579
23579
|
u && typeof b == "function" && b({ ...x, form: e }, n);
|
|
23580
23580
|
}, [u]), /* @__PURE__ */ W(Qr, { children: [
|
|
@@ -23622,7 +23622,7 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
23622
23622
|
onBeforeSubmitAsistente: l = La,
|
|
23623
23623
|
onAfterSubmitAsistente: u = La,
|
|
23624
23624
|
validateAllowAdd: d
|
|
23625
|
-
} = t, [p, f] = tg(!1), h = pt(t), m = dr(), g = Bi(), b = pk({ apiRef: g, source: i, enviarTodo: s }), v = "N", { estado: x, fichaProps: { etrs: T } = {} } =
|
|
23625
|
+
} = t, [p, f] = tg(!1), h = pt(t), m = dr(), g = Bi(), b = pk({ apiRef: g, source: i, enviarTodo: s }), v = "N", { estado: x, fichaProps: { etrs: T } = {} } = xt(), k = nt(ji), C = wn({ etrs: T, asisEtr: k }), w = Tt()("ra.action.create");
|
|
23626
23626
|
return /* @__PURE__ */ W(Qr, { children: [
|
|
23627
23627
|
/* @__PURE__ */ y(
|
|
23628
23628
|
mr,
|
|
@@ -23683,7 +23683,7 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
23683
23683
|
enviarTodo: l,
|
|
23684
23684
|
onBeforeSubmitAsistente: u = La,
|
|
23685
23685
|
onAfterSubmitAsistente: d = La
|
|
23686
|
-
} = t, p = Tt(), [f, h] = tg(!1), m = Bi(), g = dr(), b = fk({ apiRef: m, source: i, enviarTodo: l }), v = "M", { estado: x, fichaProps: { etrs: T } = {} } =
|
|
23686
|
+
} = t, p = Tt(), [f, h] = tg(!1), m = Bi(), g = dr(), b = fk({ apiRef: m, source: i, enviarTodo: l }), v = "M", { estado: x, fichaProps: { etrs: T } = {} } = xt(), k = nt(ji), C = wn({ etrs: T, asisEtr: k }), S = p("ra.action.edit");
|
|
23687
23687
|
return /* @__PURE__ */ W(Qr, { children: [
|
|
23688
23688
|
/* @__PURE__ */ y(
|
|
23689
23689
|
mr,
|
|
@@ -23742,7 +23742,7 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
23742
23742
|
enviarTodo: i,
|
|
23743
23743
|
onBeforeSubmitAsistente: s = La,
|
|
23744
23744
|
onAfterSubmitAsistente: l = La
|
|
23745
|
-
} = t, [u, d] = tg(!1), p = Bi(), f = dr(), h = hk({ apiRef: p, source: o, enviarTodo: i }), { estado: m, fichaProps: { etrs: g } = {} } =
|
|
23745
|
+
} = t, [u, d] = tg(!1), p = Bi(), f = dr(), h = hk({ apiRef: p, source: o, enviarTodo: i }), { estado: m, fichaProps: { etrs: g } = {} } = xt(), b = wn({ etrs: g });
|
|
23746
23746
|
return /* @__PURE__ */ W(vn, { children: [
|
|
23747
23747
|
/* @__PURE__ */ y(
|
|
23748
23748
|
vz,
|
|
@@ -23790,7 +23790,7 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
23790
23790
|
isLoading: w,
|
|
23791
23791
|
fichaProps: { [h]: M } = {},
|
|
23792
23792
|
propsContenidos: { [h]: R = {} } = {}
|
|
23793
|
-
} =
|
|
23793
|
+
} = xt(), P = ag((me) => {
|
|
23794
23794
|
const ct = me.configInputs ? me.configInputs.filter((je) => je.id === h) : [];
|
|
23795
23795
|
return ct[0] ? ct[0] : null;
|
|
23796
23796
|
}), {
|
|
@@ -23988,7 +23988,7 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
23988
23988
|
enableLoad: i = !0,
|
|
23989
23989
|
initialState: s,
|
|
23990
23990
|
...l
|
|
23991
|
-
} = t, { isLoading: u } =
|
|
23991
|
+
} = t, { isLoading: u } = xt(), d = ur(), [p, f] = De(r), [{ field: h, sort: m }] = r, g = Sr(
|
|
23992
23992
|
() => [...n],
|
|
23993
23993
|
[JSON.stringify(n)]
|
|
23994
23994
|
);
|
|
@@ -24003,7 +24003,7 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
24003
24003
|
}
|
|
24004
24004
|
]);
|
|
24005
24005
|
});
|
|
24006
|
-
const { estado: v, isLoading: x, fichaProps: T = {} } =
|
|
24006
|
+
const { estado: v, isLoading: x, fichaProps: T = {} } = xt(), k = fb(), C = wn(t), { [t.source]: S = {} } = T, { useContenido: w = tc, ...M } = S, {
|
|
24007
24007
|
data: R = [],
|
|
24008
24008
|
isFetching: P,
|
|
24009
24009
|
refetch: I
|
|
@@ -25023,7 +25023,7 @@ const Hk = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
25023
25023
|
overflow: null,
|
|
25024
25024
|
scrollbarWidth: Z
|
|
25025
25025
|
});
|
|
25026
|
-
}, []),
|
|
25026
|
+
}, []), Ot = /* @__PURE__ */ a(() => {
|
|
25027
25027
|
const Z = {};
|
|
25028
25028
|
Z.scrollbarSizeListener = $ ? /* @__PURE__ */ y(e5, {
|
|
25029
25029
|
onChange: Ge,
|
|
@@ -25175,7 +25175,7 @@ const Hk = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
25175
25175
|
Z.preventDefault(), mc(le, null, Lx);
|
|
25176
25176
|
break;
|
|
25177
25177
|
}
|
|
25178
|
-
}, "handleKeyDown"), he =
|
|
25178
|
+
}, "handleKeyDown"), he = Ot();
|
|
25179
25179
|
return /* @__PURE__ */ W(Jz, E({
|
|
25180
25180
|
className: re(H.root, f),
|
|
25181
25181
|
ownerState: D,
|
|
@@ -26787,7 +26787,7 @@ function O3(t) {
|
|
|
26787
26787
|
w[C] = Ie, F[C] = Ie - V;
|
|
26788
26788
|
}
|
|
26789
26789
|
if (l) {
|
|
26790
|
-
var He, me = C === "x" ? rr : nr, ct = C === "x" ? jr : zr, je = w[S], $e = S === "y" ? "height" : "width", ut = je + v[me], it = je - v[ct], ze = [rr, nr].indexOf(x) !== -1, at = (He = A == null ? void 0 : A[S]) != null ? He : 0, Ge = ze ? ut : je - M[$e] - R[$e] - at + I.altAxis,
|
|
26790
|
+
var He, me = C === "x" ? rr : nr, ct = C === "x" ? jr : zr, je = w[S], $e = S === "y" ? "height" : "width", ut = je + v[me], it = je - v[ct], ze = [rr, nr].indexOf(x) !== -1, at = (He = A == null ? void 0 : A[S]) != null ? He : 0, Ge = ze ? ut : je - M[$e] - R[$e] - at + I.altAxis, Ot = ze ? je + M[$e] + R[$e] - at - I.altAxis : it, Ae = m && ze ? U5(Ge, je, Ot) : Ls(m ? Ge : ut, je, m ? Ot : it);
|
|
26791
26791
|
w[S] = Ae, F[S] = Ae - je;
|
|
26792
26792
|
}
|
|
26793
26793
|
e.modifiersData[n] = F;
|
|
@@ -27712,7 +27712,7 @@ const wp = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
27712
27712
|
TransitionProps: pe
|
|
27713
27713
|
} = w, Y = ne(w, U3), be = /* @__PURE__ */ O.isValidElement(R) ? R : /* @__PURE__ */ y("span", {
|
|
27714
27714
|
children: R
|
|
27715
|
-
}), Ie = En(), He = Kl(), [me, ct] = O.useState(), [je, $e] = O.useState(null), ut = O.useRef(!1), it = L || K, ze = na(), at = na(), Ge = na(),
|
|
27715
|
+
}), Ie = En(), He = Kl(), [me, ct] = O.useState(), [je, $e] = O.useState(null), ut = O.useRef(!1), it = L || K, ze = na(), at = na(), Ge = na(), Ot = na(), [Ae, ye] = dl({
|
|
27716
27716
|
controlled: J,
|
|
27717
27717
|
default: !1,
|
|
27718
27718
|
name: "Tooltip",
|
|
@@ -27729,7 +27729,7 @@ const wp = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
27729
27729
|
}, [ie, me, Be]);
|
|
27730
27730
|
}
|
|
27731
27731
|
const ot = Gl(D), ft = O.useRef(), Nt = gr(() => {
|
|
27732
|
-
ft.current !== void 0 && (document.body.style.WebkitUserSelect = ft.current, ft.current = void 0),
|
|
27732
|
+
ft.current !== void 0 && (document.body.style.WebkitUserSelect = ft.current, ft.current = void 0), Ot.clear();
|
|
27733
27733
|
});
|
|
27734
27734
|
O.useEffect(() => Nt, [Nt]);
|
|
27735
27735
|
const he = /* @__PURE__ */ a((Be) => {
|
|
@@ -27767,7 +27767,7 @@ const wp = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
27767
27767
|
const fr = be.props;
|
|
27768
27768
|
fr.onTouchStart && fr.onTouchStart(Be);
|
|
27769
27769
|
}, "detectTouchStart"), AM = /* @__PURE__ */ a((Be) => {
|
|
27770
|
-
Qv(Be), Ge.clear(), ze.clear(), Nt(), ft.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none",
|
|
27770
|
+
Qv(Be), Ge.clear(), ze.clear(), Nt(), ft.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", Ot.start(N, () => {
|
|
27771
27771
|
document.body.style.WebkitUserSelect = ft.current, le(Be);
|
|
27772
27772
|
});
|
|
27773
27773
|
}, "handleTouchStart"), FM = /* @__PURE__ */ a((Be) => {
|
|
@@ -28196,7 +28196,7 @@ const Q3 = /* @__PURE__ */ a(({
|
|
|
28196
28196
|
}
|
|
28197
28197
|
);
|
|
28198
28198
|
}), dE = /* @__PURE__ */ a((t) => {
|
|
28199
|
-
const e = pt(t), { estado: r, isLoading: n, initialValues: o, fichaProps: i } =
|
|
28199
|
+
const e = pt(t), { estado: r, isLoading: n, initialValues: o, fichaProps: i } = xt(), s = wn({ resource: e, etrs: i.etrs });
|
|
28200
28200
|
return Ue(() => {
|
|
28201
28201
|
i.onRenderFicha && i.onRenderFicha(s, r);
|
|
28202
28202
|
}, []), Ue(() => {
|
|
@@ -28275,7 +28275,7 @@ const Q3 = /* @__PURE__ */ a(({
|
|
|
28275
28275
|
)
|
|
28276
28276
|
] });
|
|
28277
28277
|
}, "DisabledWrapper"), Bte = /* @__PURE__ */ a((t) => {
|
|
28278
|
-
const { children: e, deleteButton: r = !0, ...n } = t, { initialValues: o, fichaProps: { config: i = {} } = {} } =
|
|
28278
|
+
const { children: e, deleteButton: r = !0, ...n } = t, { initialValues: o, fichaProps: { config: i = {} } = {} } = xt(), s = hp(t);
|
|
28279
28279
|
return o ? /* @__PURE__ */ y(fE, { children: /* @__PURE__ */ y(hE, { children: /* @__PURE__ */ W(
|
|
28280
28280
|
FP,
|
|
28281
28281
|
{
|
|
@@ -30671,7 +30671,7 @@ const zte = /* @__PURE__ */ a((t) => {
|
|
|
30671
30671
|
toolbar: l = xH,
|
|
30672
30672
|
onChange: u,
|
|
30673
30673
|
...d
|
|
30674
|
-
} = t, p = So(), f = aR(""), h = pt(t), [m, g] = De(0), { estado: b, fichaProps: { etrs: v } = {} } =
|
|
30674
|
+
} = t, p = So(), f = aR(""), h = pt(t), [m, g] = De(0), { estado: b, fichaProps: { etrs: v } = {} } = xt(), x = wn({ ...t, etrs: v }), T = /* @__PURE__ */ a((C, S) => {
|
|
30675
30675
|
i || (g(S), u && u(
|
|
30676
30676
|
x,
|
|
30677
30677
|
b,
|
|
@@ -30765,7 +30765,7 @@ const kH = /* @__PURE__ */ a(({
|
|
|
30765
30765
|
syncWithLocation: r = !1,
|
|
30766
30766
|
deleteButton: n = !0,
|
|
30767
30767
|
...o
|
|
30768
|
-
} = t, { initialValues: i, fichaProps: { config: s = {} } = {} } =
|
|
30768
|
+
} = t, { initialValues: i, fichaProps: { config: s = {} } = {} } = xt(), l = hp(t);
|
|
30769
30769
|
return i ? /* @__PURE__ */ y(fE, { children: /* @__PURE__ */ y(hE, { children: /* @__PURE__ */ W(
|
|
30770
30770
|
PE,
|
|
30771
30771
|
{
|
|
@@ -30881,7 +30881,7 @@ const kH = /* @__PURE__ */ a(({
|
|
|
30881
30881
|
...s
|
|
30882
30882
|
} = t, [l, u] = De(!1), {
|
|
30883
30883
|
fichaProps: { etrs: d }
|
|
30884
|
-
} =
|
|
30884
|
+
} = xt(), p = nt(ji), f = wn({ ...s, etrs: d, asisEtr: p }), h = Un(), { trigger: m } = dr(), { hidden: g } = t4(), b = lt(
|
|
30885
30885
|
async (v, x, T) => {
|
|
30886
30886
|
typeof e == "function" ? await m() ? (u(!0), e(f, x, T, v).finally(() => {
|
|
30887
30887
|
u(!1);
|
|
@@ -31477,7 +31477,7 @@ const tO = /* @__PURE__ */ a((t) => {
|
|
|
31477
31477
|
}
|
|
31478
31478
|
) });
|
|
31479
31479
|
}, "SelectInputEtriek"), KH = /* @__PURE__ */ a((t) => {
|
|
31480
|
-
const { propsContenido: e, hidden: r } = pr(t), n = Vi(), { isLoading: o } =
|
|
31480
|
+
const { propsContenido: e, hidden: r } = pr(t), n = Vi(), { isLoading: o } = xt(), {
|
|
31481
31481
|
queryOptions: i,
|
|
31482
31482
|
asistant: s,
|
|
31483
31483
|
asistantResource: l,
|
|
@@ -32706,7 +32706,7 @@ const nO = /* @__PURE__ */ a((t, e) => t.filter((r) => !e.includes(r)), "not"),
|
|
|
32706
32706
|
const {
|
|
32707
32707
|
propsContenido: { sx: e, ...r },
|
|
32708
32708
|
hidden: n
|
|
32709
|
-
} = pr(t), { isLoading: o } =
|
|
32709
|
+
} = pr(t), { isLoading: o } = xt(), i = Di((d) => d.breakpoints.down("md")), { source: s, reference: l } = t, u = ur(t) || {};
|
|
32710
32710
|
return !n && !o ? /* @__PURE__ */ y(
|
|
32711
32711
|
ZP,
|
|
32712
32712
|
{
|
|
@@ -32743,7 +32743,7 @@ const nO = /* @__PURE__ */ a((t, e) => t.filter((r) => !e.includes(r)), "not"),
|
|
|
32743
32743
|
const {
|
|
32744
32744
|
propsContenido: { sx: e, ...r },
|
|
32745
32745
|
hidden: n
|
|
32746
|
-
} = pr(t), { isLoading: o } =
|
|
32746
|
+
} = pr(t), { isLoading: o } = xt(), { source: i, reference: s } = t;
|
|
32747
32747
|
return !n && !o ? /* @__PURE__ */ y(OS, { source: i, reference: s, children: /* @__PURE__ */ y(
|
|
32748
32748
|
CS,
|
|
32749
32749
|
{
|
|
@@ -33207,7 +33207,7 @@ const B6 = /* @__PURE__ */ a((t) => /* @__PURE__ */ y(
|
|
|
33207
33207
|
all: !0,
|
|
33208
33208
|
none: !1
|
|
33209
33209
|
}, Z6 = /* @__PURE__ */ a((t) => String(t) === t ? t === "" ? "Ninguno" : "Selección (1)" : !t || t != null && t.all ? "Todos" : t != null && t.none || t.seleccion.length === 0 ? "Ninguno" : `Selección (${t.seleccion.split(",").length})`, "format"), eW = /* @__PURE__ */ a((t) => t, "parse"), are = /* @__PURE__ */ a((t) => {
|
|
33210
|
-
const { source: e, onChange: r } = t, [n] = kS({ resource: "form_224" }), [o, i] = De(!1), s = dr(), { estado: l, fichaProps: u = {} } =
|
|
33210
|
+
const { source: e, onChange: r } = t, [n] = kS({ resource: "form_224" }), [o, i] = De(!1), s = dr(), { estado: l, fichaProps: u = {} } = xt(), d = nt(ji), p = Ni(!1), {
|
|
33211
33211
|
hidden: f,
|
|
33212
33212
|
propsContenido: {
|
|
33213
33213
|
readOnly: h,
|
|
@@ -52343,8 +52343,8 @@ const HX = /* @__PURE__ */ a((t) => {
|
|
|
52343
52343
|
`));
|
|
52344
52344
|
}
|
|
52345
52345
|
}, [at, be, k, C, N]), ze && (k ? it.length === 0 ? $e = null : $e = it.reduce((he, Z, le) => (he.push(Z), le < it.length - 1 && he.push(", "), he), []) : $e = ut);
|
|
52346
|
-
let
|
|
52347
|
-
!l && G && U && (
|
|
52346
|
+
let Ot = te;
|
|
52347
|
+
!l && G && U && (Ot = ie.clientWidth);
|
|
52348
52348
|
let Ae;
|
|
52349
52349
|
typeof L < "u" ? Ae = L : Ae = h ? null : 0;
|
|
52350
52350
|
const ye = $.id || (C ? `mui-component-select-${C}` : void 0), de = E({}, e, {
|
|
@@ -52420,7 +52420,7 @@ const HX = /* @__PURE__ */ a((t) => {
|
|
|
52420
52420
|
slotProps: E({}, T.slotProps, {
|
|
52421
52421
|
paper: E({}, ft, {
|
|
52422
52422
|
style: E({
|
|
52423
|
-
minWidth:
|
|
52423
|
+
minWidth: Ot
|
|
52424
52424
|
}, ft != null ? ft.style : null)
|
|
52425
52425
|
})
|
|
52426
52426
|
}),
|
|
@@ -56865,7 +56865,7 @@ export {
|
|
|
56865
56865
|
pp as useAsistente,
|
|
56866
56866
|
pr as useContenidoController,
|
|
56867
56867
|
Pte as useEtrActions,
|
|
56868
|
-
|
|
56868
|
+
xt as useFicha,
|
|
56869
56869
|
uk as useFieldController,
|
|
56870
56870
|
hp as useFormSubmit,
|
|
56871
56871
|
t4 as useFormToolbar,
|