@applica-software-guru/react-admin 1.5.275 → 1.5.277

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,19 +27219,19 @@ 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() {
27223
- const { open: e, anchorEl: t, handleClose: n, handleToggle: r } = kf(), [o, a] = Vl(), s = _m();
27224
- if (s.length === 0)
27222
+ function die(e) {
27223
+ const { open: t, anchorEl: n, handleClose: r, handleToggle: o } = kf(), [a, s] = Vl(), c = _m();
27224
+ if (c.length === 0)
27225
27225
  return null;
27226
- function c(u) {
27227
- a(u), n();
27226
+ function u(d) {
27227
+ e != null && e.onClick && e.onClick(d, r), d !== d && (s(d), r());
27228
27228
  }
27229
27229
  return /* @__PURE__ */ Q(dt, { children: [
27230
- /* @__PURE__ */ m(uie, { value: "locale", onClick: r, sx: { minWidth: "auto" }, children: /* @__PURE__ */ Q(yt, { direction: "row", spacing: 0.5, children: [
27231
- /* @__PURE__ */ m(ge, { variant: "body1", children: o.toUpperCase() }),
27232
- e ? /* @__PURE__ */ m(bk, {}) : /* @__PURE__ */ m(xk, {})
27230
+ /* @__PURE__ */ m(uie, { value: "locale", onClick: o, sx: { minWidth: "auto" }, children: /* @__PURE__ */ Q(yt, { direction: "row", spacing: 0.5, children: [
27231
+ /* @__PURE__ */ m(ge, { variant: "body1", children: a.toUpperCase() }),
27232
+ t ? /* @__PURE__ */ m(bk, {}) : /* @__PURE__ */ m(xk, {})
27233
27233
  ] }) }),
27234
- /* @__PURE__ */ m($w, { id: "menu-appbar", anchorEl: t, keepMounted: !0, open: e, onClose: n, children: s.map((u, d) => /* @__PURE__ */ m(Mm, { onClick: () => c(u.locale), children: u.name }, d)) })
27234
+ /* @__PURE__ */ m($w, { id: "menu-appbar", anchorEl: n, keepMounted: !0, open: t, onClose: r, children: c.map((d, p) => /* @__PURE__ */ m(Mm, { onClick: () => u(d.locale), children: d.name }, p)) })
27235
27235
  ] });
27236
27236
  }
27237
27237
  const fie = {
Binary file