biblio-react 3.0.0-alpha125 → 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 +7 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -25641,19 +25641,20 @@ const Qk = /* @__PURE__ */ a((t) => {
|
|
|
25641
25641
|
), m = Sr(
|
|
25642
25642
|
() => ({
|
|
25643
25643
|
estado: p,
|
|
25644
|
-
initialValues: h,
|
|
25644
|
+
initialValues: h || {},
|
|
25645
|
+
// 🔥 Nunca undefined o null, sino, no renderiza nada
|
|
25645
25646
|
isLoading: g,
|
|
25646
25647
|
fichaProps: o
|
|
25647
25648
|
}),
|
|
25648
25649
|
[h, g, o, p]
|
|
25649
25650
|
);
|
|
25650
25651
|
return Ge(() => {
|
|
25651
|
-
r
|
|
25652
|
+
r ? g || u.getFichaConfig(d, { estado: "N" }).then((x) => {
|
|
25652
25653
|
s(x.data);
|
|
25653
|
-
}).catch(() => {
|
|
25654
|
-
s({});
|
|
25655
|
-
});
|
|
25656
|
-
}, [
|
|
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 }) });
|
|
25657
25658
|
}, "CreateChildren"), m5 = /* @__PURE__ */ a((t) => {
|
|
25658
25659
|
const {
|
|
25659
25660
|
useFormulario: e,
|