@applica-software-guru/react-admin 1.3.173 → 1.3.174
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/react-admin.cjs.js +1 -1
- package/dist/react-admin.cjs.js.map +1 -1
- package/dist/react-admin.es.js +10 -10
- 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/components/ra-lists/BulkFloatingActionsToolbar.tsx +2 -2
package/dist/react-admin.es.js
CHANGED
|
@@ -29413,10 +29413,10 @@ const ef = {
|
|
|
29413
29413
|
r(I.currentTarget);
|
|
29414
29414
|
}, a = () => {
|
|
29415
29415
|
r(null);
|
|
29416
|
-
}, s = Ys((I) => I.breakpoints.down("md")),
|
|
29417
|
-
|
|
29418
|
-
}, [
|
|
29419
|
-
return /* @__PURE__ */ C(Mv, { in:
|
|
29416
|
+
}, s = Ys((I) => I.breakpoints.down("md")), { filterValues: c, resource: A, selectedIds: d = [], onUnselectItems: f } = Ep(e), p = !!n && d !== void 0 && d.length > 0, h = p ? "simple-popover" : void 0, m = D.useCallback(() => {
|
|
29417
|
+
f(), r(null);
|
|
29418
|
+
}, [f, r]);
|
|
29419
|
+
return /* @__PURE__ */ C(Mv, { in: d !== void 0 && d.length > 0, children: /* @__PURE__ */ ee(
|
|
29420
29420
|
Le,
|
|
29421
29421
|
{
|
|
29422
29422
|
sx: {
|
|
@@ -29425,12 +29425,12 @@ const ef = {
|
|
|
29425
29425
|
right: "16px"
|
|
29426
29426
|
},
|
|
29427
29427
|
children: [
|
|
29428
|
-
/* @__PURE__ */ C(Hv, { color: "primary", "aria-label": "manage", onClick: o, children:
|
|
29428
|
+
/* @__PURE__ */ C(Hv, { color: "primary", "aria-label": "manage", onClick: o, children: d == null ? void 0 : d.length }),
|
|
29429
29429
|
/* @__PURE__ */ C(
|
|
29430
29430
|
Ip,
|
|
29431
29431
|
{
|
|
29432
|
-
id:
|
|
29433
|
-
open:
|
|
29432
|
+
id: h,
|
|
29433
|
+
open: p,
|
|
29434
29434
|
anchorEl: n,
|
|
29435
29435
|
onClose: a,
|
|
29436
29436
|
anchorOrigin: {
|
|
@@ -29448,9 +29448,9 @@ const ef = {
|
|
|
29448
29448
|
D.Children.map(t, (I) => {
|
|
29449
29449
|
var B;
|
|
29450
29450
|
return /* @__PURE__ */ C(mu, { sx: ef, children: D.isValidElement(I) ? D.cloneElement(I, {
|
|
29451
|
-
filterValues:
|
|
29452
|
-
resource:
|
|
29453
|
-
selectedIds:
|
|
29451
|
+
filterValues: c,
|
|
29452
|
+
resource: A,
|
|
29453
|
+
selectedIds: d,
|
|
29454
29454
|
sx: rv,
|
|
29455
29455
|
...(B = I.props) != null && B.popover ? { closePopover: a } : {}
|
|
29456
29456
|
}) : null });
|