biblio-react 3.0.0-alpha74 → 3.0.0-alpha76
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 +34 -23
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -21582,7 +21582,9 @@ const pj = x.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
21582
21582
|
showCancelar: g = !0,
|
|
21583
21583
|
formDividers: m = !0,
|
|
21584
21584
|
saveAlwaysEnable: b = !1,
|
|
21585
|
-
|
|
21585
|
+
cancelLabel: y = "ra.action.cancel",
|
|
21586
|
+
confirmLabel: O = "ra.action.confirm",
|
|
21587
|
+
dialogProps: k = {}
|
|
21586
21588
|
}
|
|
21587
21589
|
} = n;
|
|
21588
21590
|
return p === "confirm" ? (/* @__PURE__ */ a(() => /* @__PURE__ */ v(
|
|
@@ -21592,20 +21594,22 @@ const pj = x.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
21592
21594
|
title: s || "Atención",
|
|
21593
21595
|
content: l,
|
|
21594
21596
|
onConfirm: u,
|
|
21595
|
-
onClose: d
|
|
21597
|
+
onClose: d,
|
|
21598
|
+
cancel: y,
|
|
21599
|
+
confirm: O
|
|
21596
21600
|
}
|
|
21597
21601
|
), "getConfirm"))() : /* @__PURE__ */ v(
|
|
21598
21602
|
om,
|
|
21599
21603
|
{
|
|
21600
21604
|
open: o,
|
|
21601
|
-
onClose: /* @__PURE__ */ a((
|
|
21602
|
-
|
|
21605
|
+
onClose: /* @__PURE__ */ a((w, P) => {
|
|
21606
|
+
P !== "backdropClick" && i();
|
|
21603
21607
|
}, "onClose"),
|
|
21604
21608
|
fullWidth: !0,
|
|
21605
21609
|
fullScreen: p === "vista",
|
|
21606
21610
|
maxWidth: p === "vista" ? "lg" : "sm",
|
|
21607
21611
|
TransitionComponent: pj,
|
|
21608
|
-
...
|
|
21612
|
+
...k,
|
|
21609
21613
|
children: p === "form" ? (/* @__PURE__ */ a(() => /* @__PURE__ */ U(dn, { children: [
|
|
21610
21614
|
/* @__PURE__ */ v(Yx, { id: "draggable-dialog-title", children: s }),
|
|
21611
21615
|
/* @__PURE__ */ U(ll, { resource: r, onSubmit: u, children: [
|
|
@@ -21613,24 +21617,24 @@ const pj = x.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
21613
21617
|
/* @__PURE__ */ U(Fw, { children: [
|
|
21614
21618
|
f.map(
|
|
21615
21619
|
({
|
|
21616
|
-
label:
|
|
21617
|
-
icon:
|
|
21618
|
-
handler:
|
|
21619
|
-
},
|
|
21620
|
+
label: w = "",
|
|
21621
|
+
icon: P = /* @__PURE__ */ v(jf, {}),
|
|
21622
|
+
handler: F
|
|
21623
|
+
}, A) => /* @__PURE__ */ v(
|
|
21620
21624
|
wr,
|
|
21621
21625
|
{
|
|
21622
|
-
label:
|
|
21626
|
+
label: w,
|
|
21623
21627
|
disabled: t,
|
|
21624
|
-
onClick:
|
|
21625
|
-
children:
|
|
21628
|
+
onClick: F,
|
|
21629
|
+
children: P
|
|
21626
21630
|
},
|
|
21627
|
-
`extra_${
|
|
21631
|
+
`extra_${A}`
|
|
21628
21632
|
)
|
|
21629
21633
|
),
|
|
21630
21634
|
g && /* @__PURE__ */ v(
|
|
21631
21635
|
wr,
|
|
21632
21636
|
{
|
|
21633
|
-
label:
|
|
21637
|
+
label: y,
|
|
21634
21638
|
disabled: t,
|
|
21635
21639
|
onClick: d,
|
|
21636
21640
|
children: /* @__PURE__ */ v(zs, {})
|
|
@@ -21639,6 +21643,7 @@ const pj = x.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
21639
21643
|
h && /* @__PURE__ */ v(
|
|
21640
21644
|
ld,
|
|
21641
21645
|
{
|
|
21646
|
+
label: O,
|
|
21642
21647
|
disabled: t,
|
|
21643
21648
|
alwaysEnable: b
|
|
21644
21649
|
}
|
|
@@ -21658,18 +21663,18 @@ const pj = x.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
21658
21663
|
),
|
|
21659
21664
|
f.map(
|
|
21660
21665
|
({
|
|
21661
|
-
label:
|
|
21662
|
-
icon:
|
|
21663
|
-
handler:
|
|
21664
|
-
},
|
|
21666
|
+
label: w = "",
|
|
21667
|
+
icon: P = /* @__PURE__ */ v(jf, {}),
|
|
21668
|
+
handler: F
|
|
21669
|
+
}, A) => /* @__PURE__ */ v(
|
|
21665
21670
|
wr,
|
|
21666
21671
|
{
|
|
21667
|
-
label:
|
|
21672
|
+
label: w,
|
|
21668
21673
|
disabled: t,
|
|
21669
|
-
onClick:
|
|
21670
|
-
children:
|
|
21674
|
+
onClick: F,
|
|
21675
|
+
children: P
|
|
21671
21676
|
},
|
|
21672
|
-
`extra_${
|
|
21677
|
+
`extra_${A}`
|
|
21673
21678
|
)
|
|
21674
21679
|
),
|
|
21675
21680
|
/* @__PURE__ */ v(
|
|
@@ -22366,7 +22371,13 @@ const wC = /* @__PURE__ */ a((e) => {
|
|
|
22366
22371
|
// 🔥 Evito que el último registro se oculte
|
|
22367
22372
|
} : {
|
|
22368
22373
|
display: "grid",
|
|
22369
|
-
gridTemplateRows: "76vh 1fr auto"
|
|
22374
|
+
gridTemplateRows: "76vh 1fr auto",
|
|
22375
|
+
"& .MuiDataGrid-cell": {
|
|
22376
|
+
fontSize: "0.75rem"
|
|
22377
|
+
},
|
|
22378
|
+
"& .MuiDataGrid-columnHeader": {
|
|
22379
|
+
fontSize: "0.75rem"
|
|
22380
|
+
}
|
|
22370
22381
|
},
|
|
22371
22382
|
children: /* @__PURE__ */ v(
|
|
22372
22383
|
dm,
|