@mx-cartographer/experiences 6.2.9-alpha.al2 → 6.2.9-alpha.al3
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 +5 -9
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
@@ -20543,10 +20543,6 @@ 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
|
-
}
|
20550
20546
|
return g.useEffect(() => {
|
20551
20547
|
c(i);
|
20552
20548
|
}, [i]), r ? /* @__PURE__ */ t(
|
@@ -20559,19 +20555,19 @@ const Xa = ({
|
|
20559
20555
|
title: a.mini_title,
|
20560
20556
|
children: o ? /* @__PURE__ */ l(ie, { children: [
|
20561
20557
|
s.length === 0 && /* @__PURE__ */ t(X, { sx: { justifyContent: "center" }, children: a.no_accounts }),
|
20562
|
-
s.map((
|
20563
|
-
const
|
20558
|
+
s.map((d, _) => {
|
20559
|
+
const u = s.indexOf(d) === s.length - 1;
|
20564
20560
|
return /* @__PURE__ */ l(g.Fragment, { children: [
|
20565
20561
|
/* @__PURE__ */ t(
|
20566
20562
|
vi,
|
20567
20563
|
{
|
20568
|
-
account:
|
20564
|
+
account: d,
|
20569
20565
|
listItemProps: { sx: { px: 24 } },
|
20570
20566
|
shouldShowConnectionStatus: !0
|
20571
20567
|
}
|
20572
20568
|
),
|
20573
|
-
!
|
20574
|
-
] }, `account-item${
|
20569
|
+
!u && /* @__PURE__ */ t(G, { "aria-hidden": "true", variant: "inset" })
|
20570
|
+
] }, `account-item${_}`);
|
20575
20571
|
})
|
20576
20572
|
] }) : /* @__PURE__ */ t(ue, {})
|
20577
20573
|
}
|