biblio-react 3.0.0-alpha126 → 3.0.0-alpha127
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 +24 -19
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9756,14 +9756,14 @@ const OD = /^(\d+)(th|st|nd|rd)?/i, SD = /\d+/i, CD = {
|
|
|
9756
9756
|
}
|
|
9757
9757
|
}
|
|
9758
9758
|
}), "getClassesForm"), JC = /* @__PURE__ */ a((t) => {
|
|
9759
|
-
const e = fp({ borrar: !0, ...t });
|
|
9759
|
+
const { deleteButton: e = !0 } = t, r = fp({ borrar: !0, ...t });
|
|
9760
9760
|
return /* @__PURE__ */ y(Zm, { ...t, children: /* @__PURE__ */ W("div", { className: pP.defaultToolbar, children: [
|
|
9761
9761
|
/* @__PURE__ */ y(Dl, {}),
|
|
9762
|
-
/* @__PURE__ */ y(
|
|
9762
|
+
e && /* @__PURE__ */ y(
|
|
9763
9763
|
p_,
|
|
9764
9764
|
{
|
|
9765
9765
|
resource: t.resource,
|
|
9766
|
-
validateDelete:
|
|
9766
|
+
validateDelete: r
|
|
9767
9767
|
}
|
|
9768
9768
|
)
|
|
9769
9769
|
] }) });
|
|
@@ -28274,17 +28274,17 @@ const J3 = /* @__PURE__ */ a(({
|
|
|
28274
28274
|
)
|
|
28275
28275
|
] });
|
|
28276
28276
|
}, "DisabledWrapper"), Dte = /* @__PURE__ */ a((t) => {
|
|
28277
|
-
const { children: e,
|
|
28278
|
-
return
|
|
28277
|
+
const { children: e, deleteButton: r = !0, ...n } = t, { initialValues: o, fichaProps: { config: i = {} } = {} } = wt(), s = fp(t);
|
|
28278
|
+
return o ? /* @__PURE__ */ y(sk, { children: /* @__PURE__ */ y(dE, { children: /* @__PURE__ */ W(
|
|
28279
28279
|
RP,
|
|
28280
28280
|
{
|
|
28281
28281
|
mode: "onBlur",
|
|
28282
|
-
onSubmit:
|
|
28283
|
-
defaultValues:
|
|
28282
|
+
onSubmit: s,
|
|
28283
|
+
defaultValues: o,
|
|
28284
28284
|
component: uE,
|
|
28285
|
-
toolbar: /* @__PURE__ */ y(JC, {}),
|
|
28286
|
-
...
|
|
28287
|
-
...
|
|
28285
|
+
toolbar: /* @__PURE__ */ y(JC, { deleteButton: r }),
|
|
28286
|
+
...n,
|
|
28287
|
+
...i,
|
|
28288
28288
|
children: [
|
|
28289
28289
|
e,
|
|
28290
28290
|
/* @__PURE__ */ y(QC, {})
|
|
@@ -30756,20 +30756,25 @@ const SH = /* @__PURE__ */ a(({
|
|
|
30756
30756
|
warnWhenUnsavedChanges: v,
|
|
30757
30757
|
...x
|
|
30758
30758
|
}) => x, "sanitizeRestProps"), Hte = /* @__PURE__ */ a((t) => {
|
|
30759
|
-
const {
|
|
30760
|
-
|
|
30759
|
+
const {
|
|
30760
|
+
children: e,
|
|
30761
|
+
syncWithLocation: r = !1,
|
|
30762
|
+
deleteButton: n = !0,
|
|
30763
|
+
...o
|
|
30764
|
+
} = t, { initialValues: i, fichaProps: { config: s = {} } = {} } = wt(), l = fp(t);
|
|
30765
|
+
return i ? /* @__PURE__ */ y(sk, { children: /* @__PURE__ */ y(dE, { children: /* @__PURE__ */ W(
|
|
30761
30766
|
TE,
|
|
30762
30767
|
{
|
|
30763
30768
|
mode: "onBlur",
|
|
30764
|
-
syncWithLocation:
|
|
30765
|
-
onSubmit:
|
|
30766
|
-
defaultValues:
|
|
30769
|
+
syncWithLocation: r,
|
|
30770
|
+
onSubmit: l,
|
|
30771
|
+
defaultValues: i,
|
|
30767
30772
|
component: uE,
|
|
30768
|
-
toolbar: /* @__PURE__ */ y(JC, {}),
|
|
30769
|
-
...
|
|
30770
|
-
...
|
|
30773
|
+
toolbar: /* @__PURE__ */ y(JC, { deleteButton: n }),
|
|
30774
|
+
...o,
|
|
30775
|
+
...s,
|
|
30771
30776
|
children: [
|
|
30772
|
-
|
|
30777
|
+
e,
|
|
30773
30778
|
/* @__PURE__ */ y(QC, {})
|
|
30774
30779
|
]
|
|
30775
30780
|
}
|