biblio-react 3.0.0-alpha74 → 3.0.0-alpha75

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 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
- dialogProps: y = {}
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((C, S) => {
21602
- S !== "backdropClick" && i();
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
- ...y,
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: C = "",
21617
- icon: S = /* @__PURE__ */ v(jf, {}),
21618
- handler: w
21619
- }, P) => /* @__PURE__ */ v(
21620
+ label: w = "",
21621
+ icon: P = /* @__PURE__ */ v(jf, {}),
21622
+ handler: F
21623
+ }, A) => /* @__PURE__ */ v(
21620
21624
  wr,
21621
21625
  {
21622
- label: C,
21626
+ label: w,
21623
21627
  disabled: t,
21624
- onClick: w,
21625
- children: S
21628
+ onClick: F,
21629
+ children: P
21626
21630
  },
21627
- `extra_${P}`
21631
+ `extra_${A}`
21628
21632
  )
21629
21633
  ),
21630
21634
  g && /* @__PURE__ */ v(
21631
21635
  wr,
21632
21636
  {
21633
- label: "ra.action.cancel",
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: C = "",
21662
- icon: S = /* @__PURE__ */ v(jf, {}),
21663
- handler: w
21664
- }, P) => /* @__PURE__ */ v(
21666
+ label: w = "",
21667
+ icon: P = /* @__PURE__ */ v(jf, {}),
21668
+ handler: F
21669
+ }, A) => /* @__PURE__ */ v(
21665
21670
  wr,
21666
21671
  {
21667
- label: C,
21672
+ label: w,
21668
21673
  disabled: t,
21669
- onClick: w,
21670
- children: S
21674
+ onClick: F,
21675
+ children: P
21671
21676
  },
21672
- `extra_${P}`
21677
+ `extra_${A}`
21673
21678
  )
21674
21679
  ),
21675
21680
  /* @__PURE__ */ v(