@applica-software-guru/react-admin 1.2.119 → 1.2.120
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/components/ra-buttons/CreateInDialogButton.d.ts.map +1 -1
- package/dist/components/ra-buttons/EditInDialogButton.d.ts.map +1 -1
- package/dist/components/ra-forms/LongForm/Provider.d.ts.map +1 -1
- package/dist/components/ra-forms/SimpleForm.d.ts.map +1 -1
- package/dist/react-admin.cjs.js +24 -24
- package/dist/react-admin.cjs.js.map +1 -1
- package/dist/react-admin.es.js +46 -13
- package/dist/react-admin.es.js.map +1 -1
- package/dist/react-admin.umd.js +2 -2
- package/dist/react-admin.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ra-buttons/CreateInDialogButton.tsx +12 -1
- package/src/components/ra-buttons/EditInDialogButton.jsx +12 -1
- package/src/components/ra-forms/LongForm/Provider.tsx +5 -4
- package/src/components/ra-forms/SimpleForm.tsx +5 -2
package/dist/react-admin.es.js
CHANGED
|
@@ -16000,7 +16000,10 @@ const tL = js(rI, {
|
|
|
16000
16000
|
slot: "Root"
|
|
16001
16001
|
})(({ theme: e, modal: t }) => ({
|
|
16002
16002
|
"& .MuiGrid-root.MuiGrid-container": {
|
|
16003
|
-
paddingBottom: e.spacing(t ?
|
|
16003
|
+
paddingBottom: e.spacing(t ? 0 : 1)
|
|
16004
|
+
},
|
|
16005
|
+
[e.breakpoints.down("sm")]: {
|
|
16006
|
+
paddingBottom: 0
|
|
16004
16007
|
}
|
|
16005
16008
|
})), Zg = ({ title: e, modal: t, content: n, subheader: r, secondary: i, sx: a, ...l }) => {
|
|
16006
16009
|
const u = UM(e), A = Zt();
|
|
@@ -17579,8 +17582,8 @@ function Gy(e) {
|
|
|
17579
17582
|
const f = [
|
|
17580
17583
|
"entities/:resource/create/*",
|
|
17581
17584
|
":resource/create/*",
|
|
17582
|
-
"entities/:resource/:id/show",
|
|
17583
|
-
":resource/:id/show",
|
|
17585
|
+
"entities/:resource/:id/show/*",
|
|
17586
|
+
":resource/:id/show/*",
|
|
17584
17587
|
"entities/:resource/:id/*",
|
|
17585
17588
|
":resource/:id/*"
|
|
17586
17589
|
];
|
|
@@ -25661,18 +25664,33 @@ const iG = {
|
|
|
25661
25664
|
children: /* @__PURE__ */ h(aE, {})
|
|
25662
25665
|
}
|
|
25663
25666
|
) : /* @__PURE__ */ h(So, { ...C, sx: u, label: n, onClick: S, children: /* @__PURE__ */ h(aE, {}) }),
|
|
25664
|
-
/* @__PURE__ */ h(
|
|
25665
|
-
|
|
25667
|
+
/* @__PURE__ */ h(
|
|
25668
|
+
lu,
|
|
25666
25669
|
{
|
|
25667
|
-
|
|
25668
|
-
|
|
25669
|
-
|
|
25670
|
+
open: p,
|
|
25671
|
+
scroll: "body",
|
|
25672
|
+
sx: {
|
|
25673
|
+
"& .MuiToolbar-root": {
|
|
25674
|
+
position: "initial"
|
|
25675
|
+
}
|
|
25676
|
+
},
|
|
25670
25677
|
onClose: b,
|
|
25671
|
-
|
|
25672
|
-
|
|
25673
|
-
|
|
25678
|
+
fullWidth: e,
|
|
25679
|
+
maxWidth: t,
|
|
25680
|
+
children: /* @__PURE__ */ h(
|
|
25681
|
+
Op,
|
|
25682
|
+
{
|
|
25683
|
+
...C,
|
|
25684
|
+
redirect: i,
|
|
25685
|
+
record: r,
|
|
25686
|
+
onClose: b,
|
|
25687
|
+
onSubmit: A,
|
|
25688
|
+
onSuccess: f,
|
|
25689
|
+
onError: g
|
|
25690
|
+
}
|
|
25691
|
+
)
|
|
25674
25692
|
}
|
|
25675
|
-
)
|
|
25693
|
+
)
|
|
25676
25694
|
] });
|
|
25677
25695
|
};
|
|
25678
25696
|
f1.defaultProps = {
|
|
@@ -25738,7 +25756,22 @@ const p1 = ({ fullWidth: e, maxWidth: t, label: n, ...r }) => {
|
|
|
25738
25756
|
const [i, a] = tt(!1), { openDialog: l, closeDialog: u } = ma(), A = zn(), f = je(() => l(A, () => a(!0)), [l, A]), g = je(() => u(A, () => a(!1)), [u, A]);
|
|
25739
25757
|
return /* @__PURE__ */ Z(Nn, { children: [
|
|
25740
25758
|
/* @__PURE__ */ h(So, { label: n, onClick: f, children: /* @__PURE__ */ h(WS, {}) }),
|
|
25741
|
-
/* @__PURE__ */ h(
|
|
25759
|
+
/* @__PURE__ */ h(
|
|
25760
|
+
lu,
|
|
25761
|
+
{
|
|
25762
|
+
open: i,
|
|
25763
|
+
scroll: "body",
|
|
25764
|
+
sx: {
|
|
25765
|
+
"& .MuiToolbar-root": {
|
|
25766
|
+
position: "initial"
|
|
25767
|
+
}
|
|
25768
|
+
},
|
|
25769
|
+
onClose: g,
|
|
25770
|
+
fullWidth: e,
|
|
25771
|
+
maxWidth: t,
|
|
25772
|
+
children: /* @__PURE__ */ h(g1, { ...r, onClose: g })
|
|
25773
|
+
}
|
|
25774
|
+
)
|
|
25742
25775
|
] });
|
|
25743
25776
|
};
|
|
25744
25777
|
p1.defaultProps = {
|