@applica-software-guru/react-admin 1.5.276 → 1.5.278

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.
@@ -27219,12 +27219,16 @@ const cie = ce(Wd, { shouldForwardProp: (e) => e !== "open" })(
27219
27219
  );
27220
27220
  return /* @__PURE__ */ m(lk, { ref: n, ...t, color: "secondary", sx: r });
27221
27221
  });
27222
- function die(e) {
27222
+ function die({ onClick: e = void 0 }) {
27223
27223
  const { open: t, anchorEl: n, handleClose: r, handleToggle: o } = kf(), [a, s] = Vl(), c = _m();
27224
27224
  if (c.length === 0)
27225
27225
  return null;
27226
27226
  function u(d) {
27227
- e != null && e.onClick && e.onClick(d), d !== d && (s(d), r());
27227
+ if (e) {
27228
+ e(d, r);
27229
+ return;
27230
+ }
27231
+ s(d), r();
27228
27232
  }
27229
27233
  return /* @__PURE__ */ Q(dt, { children: [
27230
27234
  /* @__PURE__ */ m(uie, { value: "locale", onClick: o, sx: { minWidth: "auto" }, children: /* @__PURE__ */ Q(yt, { direction: "row", spacing: 0.5, children: [
Binary file