biblio-react 3.0.0-alpha205 → 3.0.0-alpha207
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 +56 -53
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -22941,7 +22941,8 @@ const sj = O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
22941
22941
|
saveAlwaysEnable: b = !1,
|
|
22942
22942
|
cancelLabel: y = "ra.action.cancel",
|
|
22943
22943
|
confirmLabel: x = "ra.action.confirm",
|
|
22944
|
-
|
|
22944
|
+
hasForm: k = !1,
|
|
22945
|
+
dialogProps: T = {}
|
|
22945
22946
|
}
|
|
22946
22947
|
} = n;
|
|
22947
22948
|
return p === "confirm" ? (/* @__PURE__ */ a(() => /* @__PURE__ */ v(
|
|
@@ -22959,59 +22960,61 @@ const sj = O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
22959
22960
|
Em,
|
|
22960
22961
|
{
|
|
22961
22962
|
open: o,
|
|
22962
|
-
onClose: /* @__PURE__ */ a((
|
|
22963
|
-
|
|
22963
|
+
onClose: /* @__PURE__ */ a((P, A) => {
|
|
22964
|
+
A !== "backdropClick" && i();
|
|
22964
22965
|
}, "onClose"),
|
|
22965
22966
|
fullWidth: !0,
|
|
22966
22967
|
fullScreen: p === "vista",
|
|
22967
22968
|
maxWidth: p === "vista" ? "lg" : "sm",
|
|
22968
22969
|
TransitionComponent: sj,
|
|
22969
|
-
...
|
|
22970
|
-
children: p === "form" ? (/* @__PURE__ */ a(() => {
|
|
22971
|
-
|
|
22972
|
-
|
|
22973
|
-
|
|
22974
|
-
|
|
22975
|
-
|
|
22976
|
-
|
|
22977
|
-
|
|
22978
|
-
|
|
22979
|
-
(
|
|
22980
|
-
|
|
22981
|
-
|
|
22982
|
-
|
|
22983
|
-
|
|
22970
|
+
...T,
|
|
22971
|
+
children: p === "form" ? (/* @__PURE__ */ a(() => /* @__PURE__ */ W(Kn, { children: [
|
|
22972
|
+
/* @__PURE__ */ v(d1, { id: "draggable-dialog-title", children: s }),
|
|
22973
|
+
/* @__PURE__ */ W(
|
|
22974
|
+
k ? Ze : Al,
|
|
22975
|
+
{
|
|
22976
|
+
...k ? {} : { resource: r, onSubmit: u },
|
|
22977
|
+
children: [
|
|
22978
|
+
/* @__PURE__ */ v(p1, { dividers: m, variant: "dense", children: /* @__PURE__ */ v(Rd, { spacing: 2, children: l }) }),
|
|
22979
|
+
/* @__PURE__ */ W(Qw, { children: [
|
|
22980
|
+
f.map(
|
|
22981
|
+
({
|
|
22982
|
+
label: A = "",
|
|
22983
|
+
icon: $ = /* @__PURE__ */ v(oh, {}),
|
|
22984
|
+
handler: F
|
|
22985
|
+
}, M) => /* @__PURE__ */ v(
|
|
22986
|
+
Cr,
|
|
22987
|
+
{
|
|
22988
|
+
label: A,
|
|
22989
|
+
disabled: t,
|
|
22990
|
+
onClick: F,
|
|
22991
|
+
children: $
|
|
22992
|
+
},
|
|
22993
|
+
`extra_${M}`
|
|
22994
|
+
)
|
|
22995
|
+
),
|
|
22996
|
+
g && /* @__PURE__ */ v(
|
|
22984
22997
|
Cr,
|
|
22985
22998
|
{
|
|
22986
|
-
label:
|
|
22999
|
+
label: y,
|
|
22987
23000
|
disabled: t,
|
|
22988
|
-
onClick:
|
|
22989
|
-
children:
|
|
22990
|
-
}
|
|
22991
|
-
|
|
23001
|
+
onClick: d,
|
|
23002
|
+
children: /* @__PURE__ */ v(cl, {})
|
|
23003
|
+
}
|
|
23004
|
+
),
|
|
23005
|
+
!k && h && /* @__PURE__ */ v(
|
|
23006
|
+
Rl,
|
|
23007
|
+
{
|
|
23008
|
+
label: x,
|
|
23009
|
+
disabled: t,
|
|
23010
|
+
alwaysEnable: b
|
|
23011
|
+
}
|
|
22992
23012
|
)
|
|
22993
|
-
)
|
|
22994
|
-
|
|
22995
|
-
|
|
22996
|
-
|
|
22997
|
-
|
|
22998
|
-
disabled: t,
|
|
22999
|
-
onClick: d,
|
|
23000
|
-
children: /* @__PURE__ */ v(cl, {})
|
|
23001
|
-
}
|
|
23002
|
-
),
|
|
23003
|
-
!w && h && /* @__PURE__ */ v(
|
|
23004
|
-
Rl,
|
|
23005
|
-
{
|
|
23006
|
-
label: x,
|
|
23007
|
-
disabled: t,
|
|
23008
|
-
alwaysEnable: b
|
|
23009
|
-
}
|
|
23010
|
-
)
|
|
23011
|
-
] })
|
|
23012
|
-
] })
|
|
23013
|
-
] });
|
|
23014
|
-
}, "getDialogForm"))() : (/* @__PURE__ */ a(() => /* @__PURE__ */ W(Kn, { children: [
|
|
23013
|
+
] })
|
|
23014
|
+
]
|
|
23015
|
+
}
|
|
23016
|
+
)
|
|
23017
|
+
] }), "getDialogForm"))() : (/* @__PURE__ */ a(() => /* @__PURE__ */ W(Kn, { children: [
|
|
23015
23018
|
/* @__PURE__ */ v(eT, { sx: { position: "relative" }, color: "inherit", children: /* @__PURE__ */ W(tT, { disableGutters: !0, variant: "dense", children: [
|
|
23016
23019
|
/* @__PURE__ */ v(
|
|
23017
23020
|
Nt,
|
|
@@ -23024,18 +23027,18 @@ const sj = O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
23024
23027
|
),
|
|
23025
23028
|
f.map(
|
|
23026
23029
|
({
|
|
23027
|
-
label:
|
|
23028
|
-
icon:
|
|
23029
|
-
handler:
|
|
23030
|
-
},
|
|
23030
|
+
label: P = "",
|
|
23031
|
+
icon: A = /* @__PURE__ */ v(oh, {}),
|
|
23032
|
+
handler: $
|
|
23033
|
+
}, F) => /* @__PURE__ */ v(
|
|
23031
23034
|
Cr,
|
|
23032
23035
|
{
|
|
23033
|
-
label:
|
|
23036
|
+
label: P,
|
|
23034
23037
|
disabled: t,
|
|
23035
|
-
onClick:
|
|
23036
|
-
children:
|
|
23038
|
+
onClick: $,
|
|
23039
|
+
children: A
|
|
23037
23040
|
},
|
|
23038
|
-
`extra_${
|
|
23041
|
+
`extra_${F}`
|
|
23039
23042
|
)
|
|
23040
23043
|
),
|
|
23041
23044
|
/* @__PURE__ */ v(
|