@applica-software-guru/react-admin 1.5.244 → 1.5.248
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/bitbucket-pipelines.yml +1 -1
- package/dist/components/Layout/MenuProvider.d.ts.map +1 -1
- package/dist/components/ra-buttons/CreateInDialogButton.d.ts.map +1 -1
- package/dist/components/ra-forms/LongForm/Tab.d.ts.map +1 -1
- package/dist/react-admin.cjs.js +2 -2
- package/dist/react-admin.cjs.js.map +1 -1
- package/dist/react-admin.es.js +6 -6
- 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/Layout/MenuProvider.tsx +3 -2
- package/src/components/ra-buttons/CreateInDialogButton.tsx +4 -3
- package/src/components/ra-forms/LongForm/Tab.tsx +1 -0
package/dist/react-admin.es.js
CHANGED
|
@@ -21195,7 +21195,7 @@ function Cte() {
|
|
|
21195
21195
|
var p;
|
|
21196
21196
|
const a = o.split("/").filter((C) => C), s = _.cloneDeep(n);
|
|
21197
21197
|
let c = o, u = r(s, o);
|
|
21198
|
-
if (u || (u = r(s, a[a.length - 1]), c = u ? u.id : c), !u)
|
|
21198
|
+
if ((!u || u.type === "collapse" || u.type === "group") && (u = r(s, a[a.length - 1]), c = u ? u.id : c), !u || u.type === "collapse" || u.type === "group")
|
|
21199
21199
|
for (let C = a.length; C >= 0; C--) {
|
|
21200
21200
|
const E = a.slice(0, C).join("/");
|
|
21201
21201
|
if (u = r(s, E), u) {
|
|
@@ -28739,14 +28739,14 @@ function Xae(e, t) {
|
|
|
28739
28739
|
return e && e.data ? { ...e, data: vm(e.data, t), total: e.total + 1 } : e;
|
|
28740
28740
|
}
|
|
28741
28741
|
function Zae(e) {
|
|
28742
|
-
const { disableFloatingButton: t,
|
|
28743
|
-
(
|
|
28744
|
-
var
|
|
28745
|
-
|
|
28742
|
+
const { disableFloatingButton: t, label: n = "ra.action.create", startIcon: r = /* @__PURE__ */ h(Gy, {}), ...o } = e, a = ye(
|
|
28743
|
+
(s) => {
|
|
28744
|
+
var c;
|
|
28745
|
+
s.preventDefault(), s.stopPropagation(), (c = e == null ? void 0 : e.onClick) == null || c.call(e);
|
|
28746
28746
|
},
|
|
28747
28747
|
[e]
|
|
28748
28748
|
);
|
|
28749
|
-
return t ? /* @__PURE__ */ h(Im, { ...
|
|
28749
|
+
return t ? /* @__PURE__ */ h(Im, { ...o, onClick: a, label: n, children: r }) : /* @__PURE__ */ h(UZ, { ...e, onClick: a, label: n, children: r });
|
|
28750
28750
|
}
|
|
28751
28751
|
function _ae(e) {
|
|
28752
28752
|
const { onSubmit: t, closeDialog: n } = e, { handleSubmit: r } = Jl(), o = vt(), a = ye(
|