@applica-software-guru/react-admin 1.5.350 → 1.5.352
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-inputs/ImageAttachmentInput.d.ts.map +1 -1
- package/dist/components/ra-inputs/ReferenceLookupInput/ReferenceLookupInput.d.ts.map +1 -1
- package/dist/components/ra-inputs/ReferenceLookupInput/ReferenceManyLookupInput.d.ts.map +1 -1
- package/dist/react-admin.cjs.js +10 -10
- package/dist/react-admin.cjs.js.gz +0 -0
- package/dist/react-admin.cjs.js.map +1 -1
- package/dist/react-admin.es.js +4 -4
- package/dist/react-admin.es.js.gz +0 -0
- package/dist/react-admin.es.js.map +1 -1
- package/dist/react-admin.umd.js +17 -17
- package/dist/react-admin.umd.js.gz +0 -0
- package/dist/react-admin.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ra-inputs/ImageAttachmentInput.tsx +3 -1
- package/src/components/ra-inputs/ReferenceLookupInput/ReferenceLookupInput.tsx +6 -4
- package/src/components/ra-inputs/ReferenceLookupInput/ReferenceManyLookupInput.tsx +6 -4
- package/src/playground/App.jsx +4 -5
- package/src/playground/components/ra-forms/index.jsx +0 -1
- package/src/playground/components/ra-lists/index.jsx +0 -1
- package/src/playground/entities/index.jsx +0 -1
- package/src/playground/entities/user.jsx +2 -2
- package/src/playground/menu.jsx +0 -7
- package/src/playground/components/ra-forms/TempForm.jsx +0 -26
- package/src/playground/components/ra-lists/TempList.jsx +0 -13
- package/src/playground/entities/temp.jsx +0 -25
package/dist/react-admin.es.js
CHANGED
|
@@ -31745,8 +31745,8 @@ function h6e({ children: e = /* @__PURE__ */ g(Nle, { source: "", title: "" }),
|
|
|
31745
31745
|
);
|
|
31746
31746
|
}
|
|
31747
31747
|
function g6e(e) {
|
|
31748
|
-
const { source: t } = e, { id:
|
|
31749
|
-
return /* @__PURE__ */ g(Xle, { ...e, children: /* @__PURE__ */ g(i1e, { entityId: String(
|
|
31748
|
+
const { source: t } = e, n = oo(e), { id: r } = n ?? {};
|
|
31749
|
+
return /* @__PURE__ */ g(Xle, { ...e, children: /* @__PURE__ */ g(i1e, { entityId: String(r), source: t }) });
|
|
31750
31750
|
}
|
|
31751
31751
|
function i1e(e) {
|
|
31752
31752
|
const t = oo();
|
|
@@ -34635,7 +34635,7 @@ function O6e(e) {
|
|
|
34635
34635
|
reference: a,
|
|
34636
34636
|
source: l
|
|
34637
34637
|
} = e, { field: d } = R2({ source: l }), { value: u, onChange: f } = d ?? {}, h = !Q.isEmpty(u), { open: p, handleOpen: m, handleClose: v } = iw(!1), b = _e(
|
|
34638
|
-
() => Q.chain(n ?? {}).clone().extend({ id__ne: u }).value(),
|
|
34638
|
+
() => Q.isEmpty(u) ? n : Q.chain(n ?? {}).clone().extend({ id__ne: u }).value(),
|
|
34639
34639
|
[n, u]
|
|
34640
34640
|
), x = _e(
|
|
34641
34641
|
() => o ?? [/* @__PURE__ */ g(Nw, { source: "keyword", alwaysOn: !0 }, "keyword")],
|
|
@@ -34691,7 +34691,7 @@ function P6e(e) {
|
|
|
34691
34691
|
reference: a,
|
|
34692
34692
|
source: l
|
|
34693
34693
|
} = e, { field: d } = R2({ source: l }), { value: u, onChange: f } = d ?? {}, h = !Q.isEmpty(u), { open: p, handleOpen: m, handleClose: v } = iw(!1), b = _e(
|
|
34694
|
-
() => Q.chain(n ?? {}).clone().extend({ id__nin: u }).value(),
|
|
34694
|
+
() => Q.isEmpty(u) ? n : Q.chain(n ?? {}).clone().extend({ id__nin: u }).value(),
|
|
34695
34695
|
[n, u]
|
|
34696
34696
|
), x = _e(
|
|
34697
34697
|
() => o ?? [/* @__PURE__ */ g(Nw, { source: "keyword", alwaysOn: !0 }, "keyword")],
|
|
Binary file
|