@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.
@@ -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")), c = !!n, A = c ? "simple-popover" : void 0, { filterValues: d, resource: f, selectedIds: p = [], onUnselectItems: h } = Ep(e), m = D.useCallback(() => {
29417
- h(), r(null);
29418
- }, [h, r]);
29419
- return /* @__PURE__ */ C(Mv, { in: p !== void 0 && p.length > 0, children: /* @__PURE__ */ ee(
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: p == null ? void 0 : p.length }),
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: A,
29433
- open: c,
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: d,
29452
- resource: f,
29453
- selectedIds: p,
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 });