@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.
@@ -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, startIcon: n = /* @__PURE__ */ h(Gy, {}), ...r } = e, o = ye(
28743
- (a) => {
28744
- var s;
28745
- a.preventDefault(), a.stopPropagation(), (s = e == null ? void 0 : e.onClick) == null || s.call(e);
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, { ...r, onClick: o, children: n }) : /* @__PURE__ */ h(UZ, { ...e, onClick: o, children: n });
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(