biblio-react 3.0.0-alpha124 → 3.0.0-alpha126
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 +104 -120
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8443,7 +8443,7 @@ const $N = ["align", "className", "component", "gutterBottom", "noWrap", "paragr
|
|
|
8443
8443
|
secondary: "secondary.main",
|
|
8444
8444
|
textSecondary: "text.secondary",
|
|
8445
8445
|
error: "error.main"
|
|
8446
|
-
}, _N = /* @__PURE__ */ a((t) => DN[t] || t, "transformDeprecatedColors$1"),
|
|
8446
|
+
}, _N = /* @__PURE__ */ a((t) => DN[t] || t, "transformDeprecatedColors$1"), Rt = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
8447
8447
|
const n = Ce({
|
|
8448
8448
|
props: e,
|
|
8449
8449
|
name: "MuiTypography"
|
|
@@ -8476,7 +8476,7 @@ const $N = ["align", "className", "component", "gutterBottom", "noWrap", "paragr
|
|
|
8476
8476
|
className: re(x.root, l)
|
|
8477
8477
|
}, m));
|
|
8478
8478
|
}, "Typography"));
|
|
8479
|
-
process.env.NODE_ENV !== "production" && (
|
|
8479
|
+
process.env.NODE_ENV !== "production" && (Rt.propTypes = {
|
|
8480
8480
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
8481
8481
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
8482
8482
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -8563,7 +8563,7 @@ const VN = ["children", "className"], jN = /* @__PURE__ */ a((t) => {
|
|
|
8563
8563
|
root: ["root"]
|
|
8564
8564
|
}, BN, e);
|
|
8565
8565
|
return E({}, e, n);
|
|
8566
|
-
}, "useUtilityClasses$H"), zN = Q(
|
|
8566
|
+
}, "useUtilityClasses$H"), zN = Q(Rt, {
|
|
8567
8567
|
shouldForwardProp: /* @__PURE__ */ a((t) => Lt(t) || t === "classes", "shouldForwardProp"),
|
|
8568
8568
|
name: "MuiDialogContentText",
|
|
8569
8569
|
slot: "Root",
|
|
@@ -8615,7 +8615,7 @@ const HN = ["className", "id"], WN = /* @__PURE__ */ a((t) => {
|
|
|
8615
8615
|
return Se({
|
|
8616
8616
|
root: ["root"]
|
|
8617
8617
|
}, MN, e);
|
|
8618
|
-
}, "useUtilityClasses$G"), UN = Q(
|
|
8618
|
+
}, "useUtilityClasses$G"), UN = Q(Rt, {
|
|
8619
8619
|
name: "MuiDialogTitle",
|
|
8620
8620
|
slot: "Root",
|
|
8621
8621
|
overridesResolver: /* @__PURE__ */ a((t, e) => e.root, "overridesResolver")
|
|
@@ -9601,11 +9601,11 @@ const OD = /^(\d+)(th|st|nd|rd)?/i, SD = /\d+/i, CD = {
|
|
|
9601
9601
|
]
|
|
9602
9602
|
);
|
|
9603
9603
|
return /* @__PURE__ */ y(Gg.Provider, { value: o, children: e });
|
|
9604
|
-
}, "FichaProvider"),
|
|
9604
|
+
}, "FichaProvider"), wt = /* @__PURE__ */ a(() => ot(Gg) || {}, "useFicha"), YC = /* @__PURE__ */ a((t) => {
|
|
9605
9605
|
const e = ot(KC);
|
|
9606
9606
|
return (t == null ? void 0 : t.id) || e;
|
|
9607
9607
|
}, "useIdContext"), pr = /* @__PURE__ */ a((t) => {
|
|
9608
|
-
const { source: e } = t, { estado: r, isLoading: n, fichaProps: o = {} } =
|
|
9608
|
+
const { source: e } = t, { estado: r, isLoading: n, fichaProps: o = {} } = wt(), i = ot(ss), s = i !== void 0, l = ig((ze) => {
|
|
9609
9609
|
const bt = ze.configInputs ? ze.configInputs.filter((Ct) => Ct.id === e) : [];
|
|
9610
9610
|
return bt[0] ? bt[0] : null;
|
|
9611
9611
|
}), {
|
|
@@ -9769,10 +9769,7 @@ const OD = /^(\d+)(th|st|nd|rd)?/i, SD = /\d+/i, CD = {
|
|
|
9769
9769
|
] }) });
|
|
9770
9770
|
}, "ToolbarFicha"), pf = /* @__PURE__ */ a(() => {
|
|
9771
9771
|
}, "dontSave"), fp = /* @__PURE__ */ a((t) => {
|
|
9772
|
-
const { borrar: e = !1 } = t, r = dt(), n = ur(), o = Et(), i = Di(), {
|
|
9773
|
-
fichaProps: { onBeforeSubmitFicha: s, etrs: l },
|
|
9774
|
-
estado: u
|
|
9775
|
-
} = At(), d = O_({ ...t, etrs: l }), [p] = uS(
|
|
9772
|
+
const { borrar: e = !1 } = t, r = dt(), n = ur(), o = Et(), i = Di(), { estado: s, fichaProps: { onBeforeSubmitFicha: l, etrs: u } = {} } = wt(), d = O_({ ...t, etrs: u }), [p] = uS(
|
|
9776
9773
|
r,
|
|
9777
9774
|
{
|
|
9778
9775
|
id: n == null ? void 0 : n.id
|
|
@@ -9805,19 +9802,19 @@ const OD = /^(\d+)(th|st|nd|rd)?/i, SD = /\d+/i, CD = {
|
|
|
9805
9802
|
}
|
|
9806
9803
|
), f = Un(), { save: h } = fP(), g = Ke(
|
|
9807
9804
|
async (m) => {
|
|
9808
|
-
const b =
|
|
9805
|
+
const b = l && await l(
|
|
9809
9806
|
{
|
|
9810
9807
|
form: { getValues: /* @__PURE__ */ a(() => m, "getValues") },
|
|
9811
9808
|
submit: h,
|
|
9812
9809
|
...d
|
|
9813
9810
|
},
|
|
9814
|
-
e ? "B" :
|
|
9811
|
+
e ? "B" : s
|
|
9815
9812
|
);
|
|
9816
9813
|
return typeof b == "string" ? (f(b, { type: "error" }), pf()) : b === void 0 || b ? e ? p() : h(m) : pf();
|
|
9817
9814
|
},
|
|
9818
|
-
[
|
|
9815
|
+
[l, f, pf, h]
|
|
9819
9816
|
);
|
|
9820
|
-
return typeof
|
|
9817
|
+
return typeof l == "function" ? g : void 0;
|
|
9821
9818
|
}, "useFormSubmit");
|
|
9822
9819
|
let vh = null;
|
|
9823
9820
|
const QC = /* @__PURE__ */ a(() => {
|
|
@@ -9906,7 +9903,7 @@ const QC = /* @__PURE__ */ a(() => {
|
|
|
9906
9903
|
}) => F, "sanitizeRestProps$4"), hte = /* @__PURE__ */ a((t) => {
|
|
9907
9904
|
const { hidden: e } = pr(t);
|
|
9908
9905
|
return !e && /* @__PURE__ */ y(
|
|
9909
|
-
|
|
9906
|
+
Rt,
|
|
9910
9907
|
{
|
|
9911
9908
|
variant: "h6",
|
|
9912
9909
|
gutterBottom: !0,
|
|
@@ -10119,7 +10116,7 @@ const QC = /* @__PURE__ */ a(() => {
|
|
|
10119
10116
|
abrirVentanaSistema: h
|
|
10120
10117
|
};
|
|
10121
10118
|
}, "useUtilsGrilla"), O_ = /* @__PURE__ */ a((t) => {
|
|
10122
|
-
const e = ek(), r = tk(), n = rk(), o = nk(), i = ok(), s = ik(), l = as(), u = Un(), d = Di(), p = Qa(), f = dt(t), h = dp(), { propsContenidos: g, setPropsContenidos: m } =
|
|
10119
|
+
const e = ek(), r = tk(), n = rk(), o = nk(), i = ok(), s = ik(), l = as(), u = Un(), d = Di(), p = Qa(), f = dt(t), h = dp(), { propsContenidos: g, setPropsContenidos: m } = wt(), [b] = Jg(f), v = t.etrs || {};
|
|
10123
10120
|
return {
|
|
10124
10121
|
ajax: b,
|
|
10125
10122
|
notify: u,
|
|
@@ -10137,7 +10134,7 @@ const QC = /* @__PURE__ */ a(() => {
|
|
|
10137
10134
|
etrs: v
|
|
10138
10135
|
};
|
|
10139
10136
|
}, "useUtilsSubmit"), wn = /* @__PURE__ */ a((t) => {
|
|
10140
|
-
const e = ek(), r = tk(), n = rk(), o = nk(), i = ok(), s = ik(), l = as(), u = Un(), d = Di(), p = Qa(), f = dr(), h = dt(t), g = dp(), m = lk(), b = ZC(), { propsContenidos: v, setPropsContenidos: x } =
|
|
10137
|
+
const e = ek(), r = tk(), n = rk(), o = nk(), i = ok(), s = ik(), l = as(), u = Un(), d = Di(), p = Qa(), f = dr(), h = dt(t), g = dp(), m = lk(), b = ZC(), { propsContenidos: v, setPropsContenidos: x } = wt(), [T] = Jg(h), k = t.etrs || {}, C = t.asisEtr || {}, S = f == null ? void 0 : f.trigger;
|
|
10141
10138
|
return {
|
|
10142
10139
|
form: f,
|
|
10143
10140
|
ajax: T,
|
|
@@ -10194,7 +10191,7 @@ const QC = /* @__PURE__ */ a(() => {
|
|
|
10194
10191
|
asisEtr: C
|
|
10195
10192
|
};
|
|
10196
10193
|
}, "useUtilsFicha"), uk = /* @__PURE__ */ a((t) => {
|
|
10197
|
-
const { estado: e, isLoading: r, fichaProps: n = {} } =
|
|
10194
|
+
const { estado: e, isLoading: r, fichaProps: n = {} } = wt(), { [t.source]: o = {} } = n, { hidden: i = !1, ...s } = t, {
|
|
10198
10195
|
hidden: l,
|
|
10199
10196
|
useContenido: u = tc,
|
|
10200
10197
|
...d
|
|
@@ -10732,7 +10729,7 @@ const D_ = /* @__PURE__ */ a((t) => {
|
|
|
10732
10729
|
const l = n.current.getColumn(s), u = (l == null ? void 0 : l.headerName) ?? s, d = ((p = r.row) == null ? void 0 : p[s]) ?? "N/A";
|
|
10733
10730
|
return /* @__PURE__ */ W(a0, { item: !0, xs: 12, children: [
|
|
10734
10731
|
/* @__PURE__ */ y(
|
|
10735
|
-
|
|
10732
|
+
Rt,
|
|
10736
10733
|
{
|
|
10737
10734
|
variant: "caption",
|
|
10738
10735
|
color: "text.secondary",
|
|
@@ -10742,7 +10739,7 @@ const D_ = /* @__PURE__ */ a((t) => {
|
|
|
10742
10739
|
}
|
|
10743
10740
|
),
|
|
10744
10741
|
/* @__PURE__ */ y(
|
|
10745
|
-
|
|
10742
|
+
Rt,
|
|
10746
10743
|
{
|
|
10747
10744
|
variant: "body2",
|
|
10748
10745
|
component: "div",
|
|
@@ -13683,14 +13680,14 @@ const su = Oe("MuiListItemText", ["root", "multiline", "dense", "inset", "primar
|
|
|
13683
13680
|
secondary: !!b,
|
|
13684
13681
|
dense: g
|
|
13685
13682
|
}), x = Z2(v);
|
|
13686
|
-
return m != null && m.type !==
|
|
13683
|
+
return m != null && m.type !== Rt && !s && (m = /* @__PURE__ */ y(Rt, E({
|
|
13687
13684
|
variant: g ? "body2" : "body1",
|
|
13688
13685
|
className: x.primary,
|
|
13689
13686
|
component: d != null && d.variant ? void 0 : "span",
|
|
13690
13687
|
display: "block"
|
|
13691
13688
|
}, d, {
|
|
13692
13689
|
children: m
|
|
13693
|
-
}))), b != null && b.type !==
|
|
13690
|
+
}))), b != null && b.type !== Rt && !s && (b = /* @__PURE__ */ y(Rt, E({
|
|
13694
13691
|
variant: "body2",
|
|
13695
13692
|
className: x.secondary,
|
|
13696
13693
|
color: "text.secondary",
|
|
@@ -14824,7 +14821,7 @@ function bB(t) {
|
|
|
14824
14821
|
container: r,
|
|
14825
14822
|
onClose: /* @__PURE__ */ a(() => o(!1), "onClose"),
|
|
14826
14823
|
children: [
|
|
14827
|
-
/* @__PURE__ */ y(Rk, { children: /* @__PURE__ */ y(
|
|
14824
|
+
/* @__PURE__ */ y(Rk, { children: /* @__PURE__ */ y(Rt, { fontWeight: 500, children: "Columnas" }) }),
|
|
14828
14825
|
/* @__PURE__ */ y(Ei, { children: s.map((d) => {
|
|
14829
14826
|
const p = l[d.field] !== !1;
|
|
14830
14827
|
return /* @__PURE__ */ y(kp, { disablePadding: !0, children: /* @__PURE__ */ W(
|
|
@@ -15317,7 +15314,7 @@ function MB(t) {
|
|
|
15317
15314
|
container: r,
|
|
15318
15315
|
onClose: /* @__PURE__ */ a(() => o(!1), "onClose"),
|
|
15319
15316
|
children: [
|
|
15320
|
-
/* @__PURE__ */ y(Rk, { children: /* @__PURE__ */ y(
|
|
15317
|
+
/* @__PURE__ */ y(Rk, { children: /* @__PURE__ */ y(Rt, { fontWeight: 500, children: "Ordenar por" }) }),
|
|
15321
15318
|
/* @__PURE__ */ y(Ei, { children: u.map((f) => {
|
|
15322
15319
|
const h = l.findIndex(
|
|
15323
15320
|
(b) => b.field === f.field
|
|
@@ -15412,7 +15409,7 @@ function RB(t) {
|
|
|
15412
15409
|
children: /* @__PURE__ */ y(pR, { fontSize: "small" })
|
|
15413
15410
|
}
|
|
15414
15411
|
),
|
|
15415
|
-
/* @__PURE__ */ W(
|
|
15412
|
+
/* @__PURE__ */ W(Rt, { variant: "body2", children: [
|
|
15416
15413
|
p,
|
|
15417
15414
|
" seleccionado"
|
|
15418
15415
|
] })
|
|
@@ -22885,7 +22882,7 @@ const Zj = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
22885
22882
|
}, "getDialogForm"))() : (/* @__PURE__ */ a(() => /* @__PURE__ */ W(vn, { children: [
|
|
22886
22883
|
/* @__PURE__ */ y($k, { sx: { position: "relative" }, color: "inherit", children: /* @__PURE__ */ W(Lk, { disableGutters: !0, variant: "dense", children: [
|
|
22887
22884
|
/* @__PURE__ */ y(
|
|
22888
|
-
|
|
22885
|
+
Rt,
|
|
22889
22886
|
{
|
|
22890
22887
|
sx: { ml: 2, flex: 1 },
|
|
22891
22888
|
variant: "h6",
|
|
@@ -23194,7 +23191,7 @@ const Zj = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
23194
23191
|
fontSize: "0.75rem"
|
|
23195
23192
|
},
|
|
23196
23193
|
showInMenu: !0,
|
|
23197
|
-
onClick: /* @__PURE__ */ a((
|
|
23194
|
+
onClick: /* @__PURE__ */ a((Pt) => typeof Te == "function" ? Te(
|
|
23198
23195
|
{
|
|
23199
23196
|
...F,
|
|
23200
23197
|
record: de.row
|
|
@@ -23595,9 +23592,7 @@ const Zj = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
23595
23592
|
camposClaveFila: s,
|
|
23596
23593
|
setOpen: l,
|
|
23597
23594
|
open: u
|
|
23598
|
-
} = t, { dirtyFields: d, isValid: p } = hR(), {
|
|
23599
|
-
fichaProps: { [t.source]: f = {}, etrs: h }
|
|
23600
|
-
} = At(), g = as(), m = ot(ss), { onAfterRenderAsistente: b, ...v } = f, x = wn({ resource: r, etrs: h, asisEtr: m });
|
|
23595
|
+
} = t, { dirtyFields: d, isValid: p } = hR(), { fichaProps: { [t.source]: f = {}, etrs: h } = {} } = wt(), g = as(), m = ot(ss), { onAfterRenderAsistente: b, ...v } = f, x = wn({ resource: r, etrs: h, asisEtr: m });
|
|
23601
23596
|
return Ge(() => {
|
|
23602
23597
|
u && typeof b == "function" && b({ ...x, form: e }, n);
|
|
23603
23598
|
}, [u]), /* @__PURE__ */ W(Qr, { children: [
|
|
@@ -23645,10 +23640,7 @@ const Zj = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
23645
23640
|
onBeforeSubmitAsistente: l = $a,
|
|
23646
23641
|
onAfterSubmitAsistente: u = $a,
|
|
23647
23642
|
validateAllowAdd: d
|
|
23648
|
-
} = t, [p, f] = eg(!1), h = dt(t), g = dr(), m = _i(), b = pk({ apiRef: m, source: i, enviarTodo: s }), v = "N", {
|
|
23649
|
-
estado: x,
|
|
23650
|
-
fichaProps: { etrs: T }
|
|
23651
|
-
} = At(), k = ot(ss), C = wn({ etrs: T, asisEtr: k }), w = Et()("ra.action.create");
|
|
23643
|
+
} = t, [p, f] = eg(!1), h = dt(t), g = dr(), m = _i(), b = pk({ apiRef: m, source: i, enviarTodo: s }), v = "N", { estado: x, fichaProps: { etrs: T } = {} } = wt(), k = ot(ss), C = wn({ etrs: T, asisEtr: k }), w = Et()("ra.action.create");
|
|
23652
23644
|
return /* @__PURE__ */ W(Qr, { children: [
|
|
23653
23645
|
/* @__PURE__ */ y(
|
|
23654
23646
|
mr,
|
|
@@ -23709,10 +23701,7 @@ const Zj = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
23709
23701
|
enviarTodo: l,
|
|
23710
23702
|
onBeforeSubmitAsistente: u = $a,
|
|
23711
23703
|
onAfterSubmitAsistente: d = $a
|
|
23712
|
-
} = t, p = Et(), [f, h] = eg(!1), g = _i(), m = dr(), b = fk({ apiRef: g, source: i, enviarTodo: l }), v = "M", {
|
|
23713
|
-
estado: x,
|
|
23714
|
-
fichaProps: { etrs: T }
|
|
23715
|
-
} = At(), k = ot(ss), C = wn({ etrs: T, asisEtr: k }), S = p("ra.action.edit");
|
|
23704
|
+
} = t, p = Et(), [f, h] = eg(!1), g = _i(), m = dr(), b = fk({ apiRef: g, source: i, enviarTodo: l }), v = "M", { estado: x, fichaProps: { etrs: T } = {} } = wt(), k = ot(ss), C = wn({ etrs: T, asisEtr: k }), S = p("ra.action.edit");
|
|
23716
23705
|
return /* @__PURE__ */ W(Qr, { children: [
|
|
23717
23706
|
/* @__PURE__ */ y(
|
|
23718
23707
|
mr,
|
|
@@ -23771,10 +23760,7 @@ const Zj = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
23771
23760
|
enviarTodo: i,
|
|
23772
23761
|
onBeforeSubmitAsistente: s = $a,
|
|
23773
23762
|
onAfterSubmitAsistente: l = $a
|
|
23774
|
-
} = t, [u, d] = eg(!1), p = _i(), f = dr(), h = hk({ apiRef: p, source: o, enviarTodo: i }), {
|
|
23775
|
-
estado: g,
|
|
23776
|
-
fichaProps: { etrs: m }
|
|
23777
|
-
} = At(), b = wn({ etrs: m });
|
|
23763
|
+
} = t, [u, d] = eg(!1), p = _i(), f = dr(), h = hk({ apiRef: p, source: o, enviarTodo: i }), { estado: g, fichaProps: { etrs: m } = {} } = wt(), b = wn({ etrs: m });
|
|
23778
23764
|
return /* @__PURE__ */ W(vn, { children: [
|
|
23779
23765
|
/* @__PURE__ */ y(
|
|
23780
23766
|
bz,
|
|
@@ -23820,8 +23806,8 @@ const Zj = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
23820
23806
|
...b
|
|
23821
23807
|
} = t, [v, x] = De([]), T = ur(t), k = dr(), { field: C } = qd({ defaultValue: "", ...t }), S = fb(), {
|
|
23822
23808
|
isLoading: w,
|
|
23823
|
-
fichaProps: { [h]: M }
|
|
23824
|
-
} =
|
|
23809
|
+
fichaProps: { [h]: M } = {}
|
|
23810
|
+
} = wt(), F = ig((be) => {
|
|
23825
23811
|
const Re = be.configInputs ? be.configInputs.filter((ut) => ut.id === h) : [];
|
|
23826
23812
|
return Re[0] ? Re[0] : null;
|
|
23827
23813
|
}), {
|
|
@@ -24018,7 +24004,7 @@ const Zj = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
24018
24004
|
enableLoad: i = !0,
|
|
24019
24005
|
initialState: s,
|
|
24020
24006
|
...l
|
|
24021
|
-
} = t, { isLoading: u } =
|
|
24007
|
+
} = t, { isLoading: u } = wt(), d = ur(), [p, f] = De(r), [{ field: h, sort: g }] = r, m = Sr(
|
|
24022
24008
|
() => [...n],
|
|
24023
24009
|
[JSON.stringify(n)]
|
|
24024
24010
|
);
|
|
@@ -24033,7 +24019,7 @@ const Zj = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
24033
24019
|
}
|
|
24034
24020
|
]);
|
|
24035
24021
|
});
|
|
24036
|
-
const { estado: v, isLoading: x, fichaProps: T = {} } =
|
|
24022
|
+
const { estado: v, isLoading: x, fichaProps: T = {} } = wt(), k = fb(), C = wn(t), { [t.source]: S = {} } = T, { useContenido: w = tc, ...M } = S, {
|
|
24037
24023
|
data: F = [],
|
|
24038
24024
|
isFetching: P,
|
|
24039
24025
|
refetch: I
|
|
@@ -25008,8 +24994,8 @@ const Hk = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
25008
24994
|
if (L)
|
|
25009
24995
|
Be = "top", le && Z && (Te = le.top - Z.top + Z.scrollTop);
|
|
25010
24996
|
else if (Be = i ? "right" : "left", le && Z) {
|
|
25011
|
-
const
|
|
25012
|
-
Te = (i ? -1 : 1) * (le[Be] - Z[Be] +
|
|
24997
|
+
const Pt = i ? Z.scrollLeftNormalized + Z.clientWidth - Z.scrollWidth : Z.scrollLeft;
|
|
24998
|
+
Te = (i ? -1 : 1) * (le[Be] - Z[Be] + Pt);
|
|
25013
24999
|
}
|
|
25014
25000
|
const ft = {
|
|
25015
25001
|
[Be]: Te,
|
|
@@ -25019,8 +25005,8 @@ const Hk = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
25019
25005
|
if (isNaN(G[Be]) || isNaN(G[K]))
|
|
25020
25006
|
te(ft);
|
|
25021
25007
|
else {
|
|
25022
|
-
const
|
|
25023
|
-
(
|
|
25008
|
+
const Pt = Math.abs(G[Be] - ft[Be]), kr = Math.abs(G[K] - ft[K]);
|
|
25009
|
+
(Pt >= 1 || kr >= 1) && te(ft);
|
|
25024
25010
|
}
|
|
25025
25011
|
}), _e = /* @__PURE__ */ a((Z, {
|
|
25026
25012
|
animation: le = !0
|
|
@@ -25113,8 +25099,8 @@ const Hk = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
25113
25099
|
be.current && Ue();
|
|
25114
25100
|
});
|
|
25115
25101
|
let le;
|
|
25116
|
-
const Te = /* @__PURE__ */ a((
|
|
25117
|
-
|
|
25102
|
+
const Te = /* @__PURE__ */ a((Pt) => {
|
|
25103
|
+
Pt.forEach((kr) => {
|
|
25118
25104
|
kr.removedNodes.forEach((Gn) => {
|
|
25119
25105
|
var qr;
|
|
25120
25106
|
(qr = le) == null || qr.unobserve(Gn);
|
|
@@ -25126,13 +25112,13 @@ const Hk = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
25126
25112
|
}, "handleMutation"), Be = Jr(be.current);
|
|
25127
25113
|
Be.addEventListener("resize", Z);
|
|
25128
25114
|
let ft;
|
|
25129
|
-
return typeof ResizeObserver < "u" && (le = new ResizeObserver(Z), Array.from(Re.current.children).forEach((
|
|
25130
|
-
le.observe(
|
|
25115
|
+
return typeof ResizeObserver < "u" && (le = new ResizeObserver(Z), Array.from(Re.current.children).forEach((Pt) => {
|
|
25116
|
+
le.observe(Pt);
|
|
25131
25117
|
})), typeof MutationObserver < "u" && (ft = new MutationObserver(Te), ft.observe(Re.current, {
|
|
25132
25118
|
childList: !0
|
|
25133
25119
|
})), () => {
|
|
25134
|
-
var
|
|
25135
|
-
Z.clear(), Be.removeEventListener("resize", Z), (
|
|
25120
|
+
var Pt, kr;
|
|
25121
|
+
Z.clear(), Be.removeEventListener("resize", Z), (Pt = ft) == null || Pt.disconnect(), (kr = le) == null || kr.disconnect();
|
|
25136
25122
|
};
|
|
25137
25123
|
}, [Ue, ye]), O.useEffect(() => {
|
|
25138
25124
|
const Z = Array.from(Re.current.children), le = Z.length;
|
|
@@ -25140,9 +25126,9 @@ const Hk = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
25140
25126
|
const Te = Z[0], Be = Z[le - 1], ft = {
|
|
25141
25127
|
root: be.current,
|
|
25142
25128
|
threshold: 0.99
|
|
25143
|
-
},
|
|
25129
|
+
}, Pt = /* @__PURE__ */ a((zi) => {
|
|
25144
25130
|
oe(!zi[0].isIntersecting);
|
|
25145
|
-
}, "handleScrollButtonStart"), kr = new IntersectionObserver(
|
|
25131
|
+
}, "handleScrollButtonStart"), kr = new IntersectionObserver(Pt, ft);
|
|
25146
25132
|
kr.observe(Te);
|
|
25147
25133
|
const Gn = /* @__PURE__ */ a((zi) => {
|
|
25148
25134
|
ie(!zi[0].isIntersecting);
|
|
@@ -25190,12 +25176,12 @@ const Hk = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
25190
25176
|
const le = Re.current, Te = $r(le).activeElement;
|
|
25191
25177
|
if (Te.getAttribute("role") !== "tab")
|
|
25192
25178
|
return;
|
|
25193
|
-
let ft = v === "horizontal" ? "ArrowLeft" : "ArrowUp",
|
|
25194
|
-
switch (v === "horizontal" && i && (ft = "ArrowRight",
|
|
25179
|
+
let ft = v === "horizontal" ? "ArrowLeft" : "ArrowUp", Pt = v === "horizontal" ? "ArrowRight" : "ArrowDown";
|
|
25180
|
+
switch (v === "horizontal" && i && (ft = "ArrowRight", Pt = "ArrowLeft"), Z.key) {
|
|
25195
25181
|
case ft:
|
|
25196
25182
|
Z.preventDefault(), mc(le, Te, Lx);
|
|
25197
25183
|
break;
|
|
25198
|
-
case
|
|
25184
|
+
case Pt:
|
|
25199
25185
|
Z.preventDefault(), mc(le, Te, $x);
|
|
25200
25186
|
break;
|
|
25201
25187
|
case "Home":
|
|
@@ -25655,19 +25641,20 @@ const Qk = /* @__PURE__ */ a((t) => {
|
|
|
25655
25641
|
), m = Sr(
|
|
25656
25642
|
() => ({
|
|
25657
25643
|
estado: p,
|
|
25658
|
-
initialValues: h,
|
|
25644
|
+
initialValues: h || {},
|
|
25645
|
+
// 🔥 Nunca undefined o null, sino, no renderiza nada
|
|
25659
25646
|
isLoading: g,
|
|
25660
25647
|
fichaProps: o
|
|
25661
25648
|
}),
|
|
25662
25649
|
[h, g, o, p]
|
|
25663
25650
|
);
|
|
25664
25651
|
return Ge(() => {
|
|
25665
|
-
r
|
|
25652
|
+
r ? g || u.getFichaConfig(d, { estado: "N" }).then((x) => {
|
|
25666
25653
|
s(x.data);
|
|
25667
|
-
}).catch(() => {
|
|
25668
|
-
s({});
|
|
25669
|
-
});
|
|
25670
|
-
}, [
|
|
25654
|
+
}).catch((x) => {
|
|
25655
|
+
i === null && s({});
|
|
25656
|
+
}) : s({});
|
|
25657
|
+
}, [g, r]), r && i === null ? /* @__PURE__ */ y(cs, { loadingPrimary: "", loadingSecondary: "" }) : /* @__PURE__ */ y(Kg, { value: m, children: /* @__PURE__ */ y(Vi.Provider, { value: i, children: e }) });
|
|
25671
25658
|
}, "CreateChildren"), m5 = /* @__PURE__ */ a((t) => {
|
|
25672
25659
|
const {
|
|
25673
25660
|
useFormulario: e,
|
|
@@ -27782,12 +27769,12 @@ const wp = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
27782
27769
|
}, "handleMouseLeave"), {
|
|
27783
27770
|
isFocusVisibleRef: Be,
|
|
27784
27771
|
onBlur: ft,
|
|
27785
|
-
onFocus:
|
|
27772
|
+
onFocus: Pt,
|
|
27786
27773
|
ref: kr
|
|
27787
27774
|
} = lp(), [, Gn] = O.useState(!1), qr = /* @__PURE__ */ a((Ve) => {
|
|
27788
27775
|
ft(Ve), Be.current === !1 && (Gn(!1), Te(Ve));
|
|
27789
27776
|
}, "handleBlur"), zi = /* @__PURE__ */ a((Ve) => {
|
|
27790
|
-
Re || ut(Ve.currentTarget),
|
|
27777
|
+
Re || ut(Ve.currentTarget), Pt(Ve), Be.current === !0 && (Gn(!0), le(Ve));
|
|
27791
27778
|
}, "handleFocus"), Qv = /* @__PURE__ */ a((Ve) => {
|
|
27792
27779
|
st.current = !0;
|
|
27793
27780
|
const fr = me.props;
|
|
@@ -28287,7 +28274,7 @@ const J3 = /* @__PURE__ */ a(({
|
|
|
28287
28274
|
)
|
|
28288
28275
|
] });
|
|
28289
28276
|
}, "DisabledWrapper"), Dte = /* @__PURE__ */ a((t) => {
|
|
28290
|
-
const { children: e, ...r } = t, { initialValues: n, fichaProps: { config: o = {} } = {} } =
|
|
28277
|
+
const { children: e, ...r } = t, { initialValues: n, fichaProps: { config: o = {} } = {} } = wt(), i = fp(t);
|
|
28291
28278
|
return n ? /* @__PURE__ */ y(sk, { children: /* @__PURE__ */ y(dE, { children: /* @__PURE__ */ W(
|
|
28292
28279
|
RP,
|
|
28293
28280
|
{
|
|
@@ -30614,7 +30601,7 @@ const Vte = /* @__PURE__ */ a((t) => {
|
|
|
30614
30601
|
fontSize: "medium"
|
|
30615
30602
|
}),
|
|
30616
30603
|
/* @__PURE__ */ y(lt, { component: "span", sx: { paddingRight: "1em" } }),
|
|
30617
|
-
/* @__PURE__ */ y(
|
|
30604
|
+
/* @__PURE__ */ y(Rt, { fontSize: "small", color: "textPrimary", children: T.label })
|
|
30618
30605
|
]
|
|
30619
30606
|
},
|
|
30620
30607
|
T.label
|
|
@@ -30622,10 +30609,10 @@ const Vte = /* @__PURE__ */ a((t) => {
|
|
|
30622
30609
|
] });
|
|
30623
30610
|
}, "MenuButton"), jte = /* @__PURE__ */ a((t) => {
|
|
30624
30611
|
const { fields: e, className: r, ...n } = t, { campos: o, separador: i = "", secundario: s = [], hasSecundario: l } = e, u = ur(), d = o.map((p) => u[p] !== void 0 ? u[p] : p).join(`${i}`);
|
|
30625
|
-
return /* @__PURE__ */ W(
|
|
30612
|
+
return /* @__PURE__ */ W(Rt, { noWrap: !0, variant: "inherit", className: r, ...n, children: [
|
|
30626
30613
|
d,
|
|
30627
30614
|
l && /* @__PURE__ */ y(
|
|
30628
|
-
|
|
30615
|
+
Rt,
|
|
30629
30616
|
{
|
|
30630
30617
|
component: "span",
|
|
30631
30618
|
display: "block",
|
|
@@ -30680,10 +30667,7 @@ const Vte = /* @__PURE__ */ a((t) => {
|
|
|
30680
30667
|
toolbar: l = yH,
|
|
30681
30668
|
onChange: u,
|
|
30682
30669
|
...d
|
|
30683
|
-
} = t, p = Oo(), f = oR(""), h = dt(t), [g, m] = De(0), {
|
|
30684
|
-
estado: b,
|
|
30685
|
-
fichaProps: { etrs: v }
|
|
30686
|
-
} = useFicha(), x = wn({ ...t, etrs: v }), T = /* @__PURE__ */ a((C, S) => {
|
|
30670
|
+
} = t, p = Oo(), f = oR(""), h = dt(t), [g, m] = De(0), { estado: b, fichaProps: { etrs: v } = {} } = wt(), x = wn({ ...t, etrs: v }), T = /* @__PURE__ */ a((C, S) => {
|
|
30687
30671
|
i || (m(S), u && u(
|
|
30688
30672
|
x,
|
|
30689
30673
|
b,
|
|
@@ -30772,7 +30756,7 @@ const SH = /* @__PURE__ */ a(({
|
|
|
30772
30756
|
warnWhenUnsavedChanges: v,
|
|
30773
30757
|
...x
|
|
30774
30758
|
}) => x, "sanitizeRestProps"), Hte = /* @__PURE__ */ a((t) => {
|
|
30775
|
-
const { syncWithLocation: e = !1, children: r, ...n } = t, { initialValues: o, fichaProps: { config: i = {} } = {} } =
|
|
30759
|
+
const { syncWithLocation: e = !1, children: r, ...n } = t, { initialValues: o, fichaProps: { config: i = {} } = {} } = wt(), s = fp(t);
|
|
30776
30760
|
return o ? /* @__PURE__ */ y(sk, { children: /* @__PURE__ */ y(dE, { children: /* @__PURE__ */ W(
|
|
30777
30761
|
TE,
|
|
30778
30762
|
{
|
|
@@ -31047,7 +31031,7 @@ const FH = Oe("MuiLink", ["root", "underlineNone", "underlineHover", "underlineA
|
|
|
31047
31031
|
root: ["root", `underline${ce(o)}`, r === "button" && "button", n && "focusVisible"]
|
|
31048
31032
|
};
|
|
31049
31033
|
return Se(i, AH, e);
|
|
31050
|
-
}, "useUtilityClasses$d"), DH = Q(
|
|
31034
|
+
}, "useUtilityClasses$d"), DH = Q(Rt, {
|
|
31051
31035
|
name: "MuiLink",
|
|
31052
31036
|
slot: "Root",
|
|
31053
31037
|
overridesResolver: /* @__PURE__ */ a((t, e) => {
|
|
@@ -31482,7 +31466,7 @@ const tO = /* @__PURE__ */ a((t) => {
|
|
|
31482
31466
|
}
|
|
31483
31467
|
) });
|
|
31484
31468
|
}, "SelectInputEtriek"), qH = /* @__PURE__ */ a((t) => {
|
|
31485
|
-
const { propsContenido: e, hidden: r } = pr(t), n = Bi(), { isLoading: o } =
|
|
31469
|
+
const { propsContenido: e, hidden: r } = pr(t), n = Bi(), { isLoading: o } = wt(), {
|
|
31486
31470
|
queryOptions: i,
|
|
31487
31471
|
asistant: s,
|
|
31488
31472
|
asistantResource: l,
|
|
@@ -32711,7 +32695,7 @@ const nO = /* @__PURE__ */ a((t, e) => t.filter((r) => !e.includes(r)), "not"),
|
|
|
32711
32695
|
const {
|
|
32712
32696
|
propsContenido: { sx: e, ...r },
|
|
32713
32697
|
hidden: n
|
|
32714
|
-
} = pr(t), { isLoading: o } =
|
|
32698
|
+
} = pr(t), { isLoading: o } = wt(), i = Ni((d) => d.breakpoints.down("md")), { source: s, reference: l } = t, u = ur(t) || {};
|
|
32715
32699
|
return !n && !o ? /* @__PURE__ */ y(
|
|
32716
32700
|
QP,
|
|
32717
32701
|
{
|
|
@@ -32748,7 +32732,7 @@ const nO = /* @__PURE__ */ a((t, e) => t.filter((r) => !e.includes(r)), "not"),
|
|
|
32748
32732
|
const {
|
|
32749
32733
|
propsContenido: { sx: e, ...r },
|
|
32750
32734
|
hidden: n
|
|
32751
|
-
} = pr(t), { isLoading: o } =
|
|
32735
|
+
} = pr(t), { isLoading: o } = wt(), { source: i, reference: s } = t;
|
|
32752
32736
|
return !n && !o ? /* @__PURE__ */ y(OS, { source: i, reference: s, children: /* @__PURE__ */ y(
|
|
32753
32737
|
CS,
|
|
32754
32738
|
{
|
|
@@ -33209,7 +33193,7 @@ const D6 = /* @__PURE__ */ a((t) => /* @__PURE__ */ y(
|
|
|
33209
33193
|
sx: o,
|
|
33210
33194
|
onChange: i,
|
|
33211
33195
|
...s
|
|
33212
|
-
} = t, [l] = kS({ resource: "form_224" }), [u, d] = De(!1), p = dr(), { estado: f, fichaProps: h = {} } =
|
|
33196
|
+
} = t, [l] = kS({ resource: "form_224" }), [u, d] = De(!1), p = dr(), { estado: f, fichaProps: h = {} } = wt(), g = ot(ss), m = Li(!1), {
|
|
33213
33197
|
hidden: b,
|
|
33214
33198
|
propsContenido: { readOnly: v, sx: x, label: T = "Funcionarios" }
|
|
33215
33199
|
} = pr(t), { [n]: k = {}, etrs: C } = h, S = wn({ ...t, etrs: C, asisEtr: g }), w = k.onChange === void 0 ? i : k.onChange;
|
|
@@ -38575,7 +38559,7 @@ const fv = class fv {
|
|
|
38575
38559
|
}
|
|
38576
38560
|
};
|
|
38577
38561
|
a(fv, "Plugin");
|
|
38578
|
-
let
|
|
38562
|
+
let Mt = fv;
|
|
38579
38563
|
const Ff = /* @__PURE__ */ Object.create(null);
|
|
38580
38564
|
function dT(t) {
|
|
38581
38565
|
return t in Ff ? t + "$" + ++Ff[t] : (Ff[t] = 0, t + "$");
|
|
@@ -42622,7 +42606,7 @@ function _f(t, e, r = !0) {
|
|
|
42622
42606
|
}
|
|
42623
42607
|
a(_f, "modifiers");
|
|
42624
42608
|
function xU(t) {
|
|
42625
|
-
return new
|
|
42609
|
+
return new Mt({ props: { handleKeyDown: HT(t) } });
|
|
42626
42610
|
}
|
|
42627
42611
|
a(xU, "keymap");
|
|
42628
42612
|
function HT(t) {
|
|
@@ -43489,7 +43473,7 @@ function Sc(t) {
|
|
|
43489
43473
|
}
|
|
43490
43474
|
a(Sc, "run$1$1");
|
|
43491
43475
|
function QU(t) {
|
|
43492
|
-
const { editor: e, rules: r } = t, n = new
|
|
43476
|
+
const { editor: e, rules: r } = t, n = new Mt({
|
|
43493
43477
|
state: {
|
|
43494
43478
|
init() {
|
|
43495
43479
|
return null;
|
|
@@ -43698,7 +43682,7 @@ function n7(t) {
|
|
|
43698
43682
|
}) || !b.steps.length))
|
|
43699
43683
|
return l = typeof DragEvent < "u" ? new DragEvent("drop") : null, s = typeof ClipboardEvent < "u" ? new ClipboardEvent("paste") : null, b;
|
|
43700
43684
|
}, "processEvent");
|
|
43701
|
-
return r.map((p) => new
|
|
43685
|
+
return r.map((p) => new Mt({
|
|
43702
43686
|
// we register a global drag handler to track the current drag source element
|
|
43703
43687
|
view(f) {
|
|
43704
43688
|
const h = /* @__PURE__ */ a((g) => {
|
|
@@ -43990,7 +43974,7 @@ const i7 = Kt.create({
|
|
|
43990
43974
|
},
|
|
43991
43975
|
addProseMirrorPlugins() {
|
|
43992
43976
|
return [
|
|
43993
|
-
new
|
|
43977
|
+
new Mt({
|
|
43994
43978
|
key: new Qt("clipboardTextSerializer"),
|
|
43995
43979
|
props: {
|
|
43996
43980
|
clipboardTextSerializer: /* @__PURE__ */ a(() => {
|
|
@@ -44958,7 +44942,7 @@ const Mq = Kt.create({
|
|
|
44958
44942
|
name: "drop",
|
|
44959
44943
|
addProseMirrorPlugins() {
|
|
44960
44944
|
return [
|
|
44961
|
-
new
|
|
44945
|
+
new Mt({
|
|
44962
44946
|
key: new Qt("tiptapDrop"),
|
|
44963
44947
|
props: {
|
|
44964
44948
|
handleDrop: /* @__PURE__ */ a((t, e, r, n) => {
|
|
@@ -44977,7 +44961,7 @@ const Mq = Kt.create({
|
|
|
44977
44961
|
name: "editable",
|
|
44978
44962
|
addProseMirrorPlugins() {
|
|
44979
44963
|
return [
|
|
44980
|
-
new
|
|
44964
|
+
new Mt({
|
|
44981
44965
|
key: new Qt("editable"),
|
|
44982
44966
|
props: {
|
|
44983
44967
|
editable: /* @__PURE__ */ a(() => this.editor.options.editable, "editable")
|
|
@@ -44990,7 +44974,7 @@ const Mq = Kt.create({
|
|
|
44990
44974
|
addProseMirrorPlugins() {
|
|
44991
44975
|
const { editor: t } = this;
|
|
44992
44976
|
return [
|
|
44993
|
-
new
|
|
44977
|
+
new Mt({
|
|
44994
44978
|
key: new Qt("focusEvents"),
|
|
44995
44979
|
props: {
|
|
44996
44980
|
handleDOMEvents: {
|
|
@@ -45063,7 +45047,7 @@ const Mq = Kt.create({
|
|
|
45063
45047
|
// to a paragraph if necessary.
|
|
45064
45048
|
// This is an alternative to ProseMirror's `AllSelection`, which doesn’t work well
|
|
45065
45049
|
// with many other commands.
|
|
45066
|
-
new
|
|
45050
|
+
new Mt({
|
|
45067
45051
|
key: new Qt("clearDocument"),
|
|
45068
45052
|
appendTransaction: /* @__PURE__ */ a((t, e, r) => {
|
|
45069
45053
|
const n = t.some((b) => b.docChanged) && !e.doc.eq(r.doc), o = t.some((b) => b.getMeta("preventClearDocument"));
|
|
@@ -45089,7 +45073,7 @@ const Mq = Kt.create({
|
|
|
45089
45073
|
name: "paste",
|
|
45090
45074
|
addProseMirrorPlugins() {
|
|
45091
45075
|
return [
|
|
45092
|
-
new
|
|
45076
|
+
new Mt({
|
|
45093
45077
|
key: new Qt("tiptapPaste"),
|
|
45094
45078
|
props: {
|
|
45095
45079
|
handlePaste: /* @__PURE__ */ a((t, e, r) => {
|
|
@@ -45107,7 +45091,7 @@ const Mq = Kt.create({
|
|
|
45107
45091
|
name: "tabindex",
|
|
45108
45092
|
addProseMirrorPlugins() {
|
|
45109
45093
|
return [
|
|
45110
|
-
new
|
|
45094
|
+
new Mt({
|
|
45111
45095
|
key: new Qt("tabindex"),
|
|
45112
45096
|
props: {
|
|
45113
45097
|
attributes: /* @__PURE__ */ a(() => this.editor.isEditable ? { tabindex: "0" } : {}, "attributes")
|
|
@@ -46695,7 +46679,7 @@ function l8(t) {
|
|
|
46695
46679
|
}
|
|
46696
46680
|
a(l8, "isValidLinkStructure");
|
|
46697
46681
|
function c8(t) {
|
|
46698
|
-
return new
|
|
46682
|
+
return new Mt({
|
|
46699
46683
|
key: new Qt("autolink"),
|
|
46700
46684
|
appendTransaction: /* @__PURE__ */ a((e, r, n) => {
|
|
46701
46685
|
const o = e.some((d) => d.docChanged) && !r.doc.eq(n.doc), i = e.some((d) => d.getMeta("preventAutolink"));
|
|
@@ -46732,7 +46716,7 @@ function c8(t) {
|
|
|
46732
46716
|
}
|
|
46733
46717
|
a(c8, "autolink");
|
|
46734
46718
|
function u8(t) {
|
|
46735
|
-
return new
|
|
46719
|
+
return new Mt({
|
|
46736
46720
|
key: new Qt("handleClickLink"),
|
|
46737
46721
|
props: {
|
|
46738
46722
|
handleClick: /* @__PURE__ */ a((e, r, n) => {
|
|
@@ -46753,7 +46737,7 @@ function u8(t) {
|
|
|
46753
46737
|
}
|
|
46754
46738
|
a(u8, "clickHandler");
|
|
46755
46739
|
function d8(t) {
|
|
46756
|
-
return new
|
|
46740
|
+
return new Mt({
|
|
46757
46741
|
key: new Qt("handlePasteLink"),
|
|
46758
46742
|
props: {
|
|
46759
46743
|
handlePaste: /* @__PURE__ */ a((e, r, n) => {
|
|
@@ -47893,7 +47877,7 @@ const L8 = /^\s*>\s$/, N8 = sr.create({
|
|
|
47893
47877
|
return [
|
|
47894
47878
|
// this plugin creates a code block for pasted content from VS Code
|
|
47895
47879
|
// we can also detect the copied code language
|
|
47896
|
-
new
|
|
47880
|
+
new Mt({
|
|
47897
47881
|
key: new Qt("codeBlockVSCodeHandler"),
|
|
47898
47882
|
props: {
|
|
47899
47883
|
handlePaste: /* @__PURE__ */ a((t, e) => {
|
|
@@ -47916,7 +47900,7 @@ const L8 = /^\s*>\s$/, N8 = sr.create({
|
|
|
47916
47900
|
content: "block+"
|
|
47917
47901
|
});
|
|
47918
47902
|
function Q8(t = {}) {
|
|
47919
|
-
return new
|
|
47903
|
+
return new Mt({
|
|
47920
47904
|
view(e) {
|
|
47921
47905
|
return new Rm(e, t);
|
|
47922
47906
|
}
|
|
@@ -48152,7 +48136,7 @@ function eG(t) {
|
|
|
48152
48136
|
}
|
|
48153
48137
|
a(eG, "closedAfter");
|
|
48154
48138
|
function tG() {
|
|
48155
|
-
return new
|
|
48139
|
+
return new Mt({
|
|
48156
48140
|
props: {
|
|
48157
48141
|
decorations: iG,
|
|
48158
48142
|
createSelectionBetween(t, e, r) {
|
|
@@ -48332,36 +48316,36 @@ const aG = Kt.create({
|
|
|
48332
48316
|
}));
|
|
48333
48317
|
}
|
|
48334
48318
|
});
|
|
48335
|
-
var hd = 200,
|
|
48319
|
+
var hd = 200, At = /* @__PURE__ */ a(function() {
|
|
48336
48320
|
}, "RopeSequence");
|
|
48337
|
-
|
|
48338
|
-
return e.length ? (e =
|
|
48321
|
+
At.prototype.append = /* @__PURE__ */ a(function(e) {
|
|
48322
|
+
return e.length ? (e = At.from(e), !this.length && e || e.length < hd && this.leafAppend(e) || this.length < hd && e.leafPrepend(this) || this.appendInner(e)) : this;
|
|
48339
48323
|
}, "append");
|
|
48340
|
-
|
|
48341
|
-
return e.length ?
|
|
48324
|
+
At.prototype.prepend = /* @__PURE__ */ a(function(e) {
|
|
48325
|
+
return e.length ? At.from(e).append(this) : this;
|
|
48342
48326
|
}, "prepend");
|
|
48343
|
-
|
|
48327
|
+
At.prototype.appendInner = /* @__PURE__ */ a(function(e) {
|
|
48344
48328
|
return new cG(this, e);
|
|
48345
48329
|
}, "appendInner");
|
|
48346
|
-
|
|
48347
|
-
return e === void 0 && (e = 0), r === void 0 && (r = this.length), e >= r ?
|
|
48330
|
+
At.prototype.slice = /* @__PURE__ */ a(function(e, r) {
|
|
48331
|
+
return e === void 0 && (e = 0), r === void 0 && (r = this.length), e >= r ? At.empty : this.sliceInner(Math.max(0, e), Math.min(this.length, r));
|
|
48348
48332
|
}, "slice");
|
|
48349
|
-
|
|
48333
|
+
At.prototype.get = /* @__PURE__ */ a(function(e) {
|
|
48350
48334
|
if (!(e < 0 || e >= this.length))
|
|
48351
48335
|
return this.getInner(e);
|
|
48352
48336
|
}, "get");
|
|
48353
|
-
|
|
48337
|
+
At.prototype.forEach = /* @__PURE__ */ a(function(e, r, n) {
|
|
48354
48338
|
r === void 0 && (r = 0), n === void 0 && (n = this.length), r <= n ? this.forEachInner(e, r, n, 0) : this.forEachInvertedInner(e, r, n, 0);
|
|
48355
48339
|
}, "forEach");
|
|
48356
|
-
|
|
48340
|
+
At.prototype.map = /* @__PURE__ */ a(function(e, r, n) {
|
|
48357
48341
|
r === void 0 && (r = 0), n === void 0 && (n = this.length);
|
|
48358
48342
|
var o = [];
|
|
48359
48343
|
return this.forEach(function(i, s) {
|
|
48360
48344
|
return o.push(e(i, s));
|
|
48361
48345
|
}, r, n), o;
|
|
48362
48346
|
}, "map");
|
|
48363
|
-
|
|
48364
|
-
return e instanceof
|
|
48347
|
+
At.from = /* @__PURE__ */ a(function(e) {
|
|
48348
|
+
return e instanceof At ? e : e && e.length ? new fw(e) : At.empty;
|
|
48365
48349
|
}, "from");
|
|
48366
48350
|
var fw = /* @__PURE__ */ function(t) {
|
|
48367
48351
|
function e(n) {
|
|
@@ -48394,8 +48378,8 @@ var fw = /* @__PURE__ */ function(t) {
|
|
|
48394
48378
|
}, r.depth.get = function() {
|
|
48395
48379
|
return 0;
|
|
48396
48380
|
}, Object.defineProperties(e.prototype, r), e;
|
|
48397
|
-
}(
|
|
48398
|
-
|
|
48381
|
+
}(At);
|
|
48382
|
+
At.empty = new fw([]);
|
|
48399
48383
|
var cG = /* @__PURE__ */ function(t) {
|
|
48400
48384
|
function e(r, n) {
|
|
48401
48385
|
t.call(this), this.left = r, this.right = n, this.length = r.length + n.length, this.depth = Math.max(r.depth, n.depth) + 1;
|
|
@@ -48428,7 +48412,7 @@ var cG = /* @__PURE__ */ function(t) {
|
|
|
48428
48412
|
}, "leafPrepend"), e.prototype.appendInner = /* @__PURE__ */ a(function(n) {
|
|
48429
48413
|
return this.left.depth >= Math.max(this.right.depth, n.depth) + 1 ? new e(this.left, new e(this.right, n)) : new e(this, n);
|
|
48430
48414
|
}, "appendInner"), e;
|
|
48431
|
-
}(
|
|
48415
|
+
}(At);
|
|
48432
48416
|
const uG = 500, io = class io {
|
|
48433
48417
|
constructor(e, r) {
|
|
48434
48418
|
this.items = e, this.eventCount = r;
|
|
@@ -48538,12 +48522,12 @@ const uG = 500, io = class io {
|
|
|
48538
48522
|
(h = o.length && o[g].merge(f)) ? o[g] = h : o.push(f);
|
|
48539
48523
|
}
|
|
48540
48524
|
} else s.map && n--;
|
|
48541
|
-
}, this.items.length, 0), new io(
|
|
48525
|
+
}, this.items.length, 0), new io(At.from(o.reverse()), i);
|
|
48542
48526
|
}
|
|
48543
48527
|
};
|
|
48544
48528
|
a(io, "Branch");
|
|
48545
48529
|
let Ii = io;
|
|
48546
|
-
Ii.empty = new Ii(
|
|
48530
|
+
Ii.empty = new Ii(At.empty, 0);
|
|
48547
48531
|
function dG(t, e) {
|
|
48548
48532
|
let r;
|
|
48549
48533
|
return t.forEach((n, o) => {
|
|
@@ -48647,7 +48631,7 @@ function bG(t = {}) {
|
|
|
48647
48631
|
return t = {
|
|
48648
48632
|
depth: t.depth || 100,
|
|
48649
48633
|
newGroupDelay: t.newGroupDelay || 500
|
|
48650
|
-
}, new
|
|
48634
|
+
}, new Mt({
|
|
48651
48635
|
key: hi,
|
|
48652
48636
|
state: {
|
|
48653
48637
|
init() {
|
|
@@ -56846,7 +56830,7 @@ export {
|
|
|
56846
56830
|
dp as useAsistente,
|
|
56847
56831
|
pr as useContenidoController,
|
|
56848
56832
|
wte as useEtrActions,
|
|
56849
|
-
|
|
56833
|
+
wt as useFicha,
|
|
56850
56834
|
uk as useFieldController,
|
|
56851
56835
|
as as useFormProgress,
|
|
56852
56836
|
fp as useFormSubmit,
|