@applica-software-guru/react-admin 1.4.187 → 1.4.188
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/hooks/useResourceTitle.d.ts +7 -1
- package/dist/hooks/useResourceTitle.d.ts.map +1 -1
- package/dist/react-admin.cjs.js +1 -1
- package/dist/react-admin.cjs.js.map +1 -1
- package/dist/react-admin.es.js +2 -2
- package/dist/react-admin.es.js.map +1 -1
- package/dist/react-admin.umd.js +1 -1
- package/dist/react-admin.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/hooks/{useResourceTitle.jsx → useResourceTitle.ts} +8 -2
package/dist/react-admin.es.js
CHANGED
|
@@ -9844,7 +9844,7 @@ function Ste(e, t) {
|
|
|
9844
9844
|
};
|
|
9845
9845
|
}, [o, t]), n;
|
|
9846
9846
|
}
|
|
9847
|
-
|
|
9847
|
+
function Eb(e) {
|
|
9848
9848
|
const t = en(), n = Mr(), r = Zn(), o = t != null && t.id ? "edit" : "create";
|
|
9849
9849
|
return Ze(() => {
|
|
9850
9850
|
if (e === !1)
|
|
@@ -9855,7 +9855,7 @@ const Eb = (e) => {
|
|
|
9855
9855
|
...t
|
|
9856
9856
|
});
|
|
9857
9857
|
}, [o, t, r, n, e]);
|
|
9858
|
-
}
|
|
9858
|
+
}
|
|
9859
9859
|
function Xr(e, t, n) {
|
|
9860
9860
|
const r = _.chain((e == null ? void 0 : e.sx) ?? {}).cloneDeepWith((s) => _.isFunction(s) ? s : void 0).value();
|
|
9861
9861
|
n != null && n.defaults ? _.defaultsDeep(r, t) : _.merge(r, t);
|