@mx-cartographer/experiences 6.2.9-alpha.al0 → 6.2.9-alpha.al2

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/index.es.js CHANGED
@@ -20543,6 +20543,10 @@ const Xa = ({
20543
20543
  ) : /* @__PURE__ */ t(ue, {});
20544
20544
  }, a4 = A(hf), gf = ({ onPrimaryCtaClick: e, sx: n }) => {
20545
20545
  const { visibleAccounts: i } = Re(), { accounts: a } = I(), { isCopyLoaded: r, isInitialized: o, selectedAccounts: s, setSelectedAccounts: c } = ce();
20546
+ window.addEventListener("message", d, !1);
20547
+ function d(_) {
20548
+ console.log(`event ${_.data}`);
20549
+ }
20546
20550
  return g.useEffect(() => {
20547
20551
  c(i);
20548
20552
  }, [i]), r ? /* @__PURE__ */ t(
@@ -20555,19 +20559,19 @@ const Xa = ({
20555
20559
  title: a.mini_title,
20556
20560
  children: o ? /* @__PURE__ */ l(ie, { children: [
20557
20561
  s.length === 0 && /* @__PURE__ */ t(X, { sx: { justifyContent: "center" }, children: a.no_accounts }),
20558
- s.map((d, _) => {
20559
- const u = s.indexOf(d) === s.length - 1;
20562
+ s.map((_, u) => {
20563
+ const h = s.indexOf(_) === s.length - 1;
20560
20564
  return /* @__PURE__ */ l(g.Fragment, { children: [
20561
20565
  /* @__PURE__ */ t(
20562
20566
  vi,
20563
20567
  {
20564
- account: d,
20568
+ account: _,
20565
20569
  listItemProps: { sx: { px: 24 } },
20566
20570
  shouldShowConnectionStatus: !0
20567
20571
  }
20568
20572
  ),
20569
- !u && /* @__PURE__ */ t(G, { "aria-hidden": "true", variant: "inset" })
20570
- ] }, `account-item${_}`);
20573
+ !h && /* @__PURE__ */ t(G, { "aria-hidden": "true", variant: "inset" })
20574
+ ] }, `account-item${u}`);
20571
20575
  })
20572
20576
  ] }) : /* @__PURE__ */ t(ue, {})
20573
20577
  }