biblio-react 3.0.0-alpha85 → 3.0.0-alpha86
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 +26 -24
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -22667,17 +22667,19 @@ const MC = /* @__PURE__ */ a((e) => {
|
|
|
22667
22667
|
source: i,
|
|
22668
22668
|
enviarTodo: s,
|
|
22669
22669
|
onBeforeSubmitAsistente: l = fa,
|
|
22670
|
-
onAfterSubmitAsistente: u = fa
|
|
22671
|
-
|
|
22672
|
-
|
|
22673
|
-
|
|
22674
|
-
|
|
22670
|
+
onAfterSubmitAsistente: u = fa,
|
|
22671
|
+
validateAllowAdd: d
|
|
22672
|
+
} = e, [p, f] = lm(!1), h = ht(e), g = ir(), m = Ci(), b = QS({ apiRef: m, source: i, enviarTodo: s }), y = "N", {
|
|
22673
|
+
estado: O,
|
|
22674
|
+
fichaProps: { etrs: k }
|
|
22675
|
+
} = we(Ot), T = we(La), C = On({ etrs: k, asisEtr: T }), w = xt()("ra.action.create");
|
|
22675
22676
|
return /* @__PURE__ */ U(un, { children: [
|
|
22676
22677
|
/* @__PURE__ */ v(
|
|
22677
22678
|
wr,
|
|
22678
22679
|
{
|
|
22679
|
-
onClick: /* @__PURE__ */ a((
|
|
22680
|
-
|
|
22680
|
+
onClick: /* @__PURE__ */ a((F) => {
|
|
22681
|
+
const A = d ? d(C) : !0;
|
|
22682
|
+
f(A === !0 ? A : !1), F.stopPropagation();
|
|
22681
22683
|
}, "onClick"),
|
|
22682
22684
|
children: /* @__PURE__ */ v(vl, {})
|
|
22683
22685
|
}
|
|
@@ -22685,35 +22687,35 @@ const MC = /* @__PURE__ */ a((e) => {
|
|
|
22685
22687
|
/* @__PURE__ */ v(
|
|
22686
22688
|
FC,
|
|
22687
22689
|
{
|
|
22688
|
-
open:
|
|
22689
|
-
onClose: /* @__PURE__ */ a((
|
|
22690
|
-
|
|
22690
|
+
open: p,
|
|
22691
|
+
onClose: /* @__PURE__ */ a((F) => {
|
|
22692
|
+
f(!1), F.stopPropagation();
|
|
22691
22693
|
}, "onClose"),
|
|
22692
|
-
labelEstado:
|
|
22694
|
+
labelEstado: w,
|
|
22693
22695
|
label: o,
|
|
22694
|
-
resource:
|
|
22695
|
-
onSubmit: /* @__PURE__ */ a(async (
|
|
22696
|
-
const
|
|
22697
|
-
|
|
22698
|
-
|
|
22699
|
-
|
|
22700
|
-
|
|
22696
|
+
resource: h,
|
|
22697
|
+
onSubmit: /* @__PURE__ */ a(async (F, A) => {
|
|
22698
|
+
const M = await l(
|
|
22699
|
+
C,
|
|
22700
|
+
F,
|
|
22701
|
+
y,
|
|
22702
|
+
O
|
|
22701
22703
|
);
|
|
22702
|
-
|
|
22704
|
+
M !== !1 && (b(typeof M == "object" ? M : F, g), f(!1), u(C, F, y, O));
|
|
22703
22705
|
}, "handleSubmit"),
|
|
22704
22706
|
children: /* @__PURE__ */ v(
|
|
22705
22707
|
$C,
|
|
22706
22708
|
{
|
|
22707
22709
|
source: i,
|
|
22708
|
-
form:
|
|
22709
|
-
resource:
|
|
22710
|
-
estado:
|
|
22710
|
+
form: g,
|
|
22711
|
+
resource: h,
|
|
22712
|
+
estado: y,
|
|
22711
22713
|
editors: t,
|
|
22712
22714
|
recordPadre: r || {},
|
|
22713
22715
|
camposClaveFila: n,
|
|
22714
|
-
open:
|
|
22716
|
+
open: p,
|
|
22715
22717
|
setOpen: /* @__PURE__ */ a(() => {
|
|
22716
|
-
|
|
22718
|
+
f(!1);
|
|
22717
22719
|
}, "setOpen")
|
|
22718
22720
|
}
|
|
22719
22721
|
)
|