biblio-react 3.0.0-alpha302-popup → 3.0.0-alpha304-popup
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 +16 -13
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -27931,7 +27931,7 @@ function wV(t) {
|
|
|
27931
27931
|
/* @__PURE__ */ b(mV, { ...y }),
|
|
27932
27932
|
/* @__PURE__ */ b(yV, { ...y }),
|
|
27933
27933
|
a && p !== "custom" && /* @__PURE__ */ b(hd, { onClick: g, children: /* @__PURE__ */ b(vA, { fontSize: "small" }) }),
|
|
27934
|
-
u && /* @__PURE__ */ b(
|
|
27934
|
+
u !== !1 && /* @__PURE__ */ b(
|
|
27935
27935
|
jk,
|
|
27936
27936
|
{
|
|
27937
27937
|
containerRef: d,
|
|
@@ -30220,7 +30220,7 @@ const eM = /* @__PURE__ */ s((t) => {
|
|
|
30220
30220
|
loadingOverlay: _5,
|
|
30221
30221
|
noRowsOverlay: Vb,
|
|
30222
30222
|
baseIconButton: Zk,
|
|
30223
|
-
toolbar: Sr || ye ? () => /* @__PURE__ */ b(
|
|
30223
|
+
toolbar: Sr !== !1 || ye ? () => /* @__PURE__ */ b(
|
|
30224
30224
|
jk,
|
|
30225
30225
|
{
|
|
30226
30226
|
containerRef: Z,
|
|
@@ -34792,9 +34792,12 @@ const Ix = S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
34792
34792
|
incluyeAcciones: o = !1,
|
|
34793
34793
|
saveButtonProps: i,
|
|
34794
34794
|
...a
|
|
34795
|
-
} = t, [l, u] = Te(!1), d = Fr(a), p = br(), { trigger: f } = gn(), { hidden: h } = CO(), m = S.useContext(Zn) || {}, y =
|
|
34796
|
-
|
|
34797
|
-
|
|
34795
|
+
} = t, [l, u] = Te(!1), d = Fr(a), p = br(), { trigger: f } = gn(), { hidden: h } = CO(), m = S.useContext(Zn) || {}, y = S.useMemo(
|
|
34796
|
+
() => [...r || [], ...e?.buttons || []],
|
|
34797
|
+
[r, e]
|
|
34798
|
+
), g = Le(
|
|
34799
|
+
async (v, x, T) => {
|
|
34800
|
+
typeof e == "function" ? (T?.skipValidation ? !0 : await f()) ? (u(!0), e(d, x, T?.name, v).finally(
|
|
34798
34801
|
() => {
|
|
34799
34802
|
u(!1);
|
|
34800
34803
|
}
|
|
@@ -34806,19 +34809,19 @@ const Ix = S.forwardRef(/* @__PURE__ */ s(function(e, n) {
|
|
|
34806
34809
|
);
|
|
34807
34810
|
return /* @__PURE__ */ H(DT, { children: [
|
|
34808
34811
|
o ? /* @__PURE__ */ b(bc, { sx: { mr: 1 }, ...i }) : null,
|
|
34809
|
-
|
|
34810
|
-
(
|
|
34811
|
-
).map((
|
|
34812
|
+
y.filter(
|
|
34813
|
+
(v) => !h[v.name] && Fc(m, v.perbot)
|
|
34814
|
+
).map((v) => /* @__PURE__ */ b(
|
|
34812
34815
|
kn,
|
|
34813
34816
|
{
|
|
34814
|
-
label:
|
|
34817
|
+
label: v.label,
|
|
34815
34818
|
disabled: l,
|
|
34816
|
-
onClick: /* @__PURE__ */ s(async (
|
|
34817
|
-
await
|
|
34819
|
+
onClick: /* @__PURE__ */ s(async (x) => {
|
|
34820
|
+
await g(x, n, v);
|
|
34818
34821
|
}, "onClick"),
|
|
34819
|
-
children:
|
|
34822
|
+
children: v.icon
|
|
34820
34823
|
},
|
|
34821
|
-
|
|
34824
|
+
v.name
|
|
34822
34825
|
))
|
|
34823
34826
|
] });
|
|
34824
34827
|
}, "FormToolbar"), FJ = /* @__PURE__ */ s((t) => /* @__PURE__ */ b(ks, { timeout: 0, ...t }), "Loading"), h0 = HD({
|