@mx-cartographer/experiences 4.1.0-alpha.j19 → 4.1.0-alpha.j20
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
|
@@ -3645,15 +3645,13 @@ let rl = class {
|
|
|
3645
3645
|
SA(this);
|
|
3646
3646
|
}
|
|
3647
3647
|
initialize = async (e, n) => {
|
|
3648
|
-
this.api = new zr(e, n), await this.loadAppData()
|
|
3649
|
-
this.isInitialized = !0;
|
|
3650
|
-
});
|
|
3648
|
+
this.api = new zr(e, n), await this.loadAppData();
|
|
3651
3649
|
};
|
|
3652
3650
|
loadAppData = async () => {
|
|
3653
3651
|
try {
|
|
3654
3652
|
const e = await this.api.getAppData();
|
|
3655
3653
|
J(() => {
|
|
3656
|
-
this.appData = e;
|
|
3654
|
+
this.appData = e, this.isInitialized = !0;
|
|
3657
3655
|
});
|
|
3658
3656
|
} catch (e) {
|
|
3659
3657
|
console.error(`Error occurred while loading app data: ${e}`);
|
|
@@ -10211,7 +10209,6 @@ class Dh {
|
|
|
10211
10209
|
class Oh {
|
|
10212
10210
|
accountBanner = { image_url: "", redirect_url: "" };
|
|
10213
10211
|
api = new Dh("/", "");
|
|
10214
|
-
isInitialized = !1;
|
|
10215
10212
|
constructor() {
|
|
10216
10213
|
SA(this);
|
|
10217
10214
|
}
|
|
@@ -13495,7 +13492,7 @@ var Kn = /* @__PURE__ */ ((A) => (A[A.Main = 0] = "Main", A[A.RightSide = 1] = "
|
|
|
13495
13492
|
const x1 = T(() => {
|
|
13496
13493
|
const { appStore: A } = an(), { accountBanner: e, loadAccountBanner: n } = Kc();
|
|
13497
13494
|
return g.useEffect(() => {
|
|
13498
|
-
A.isInitialized && (console.log("appStore", A
|
|
13495
|
+
A.isInitialized && (console.log("appStore", A), n(A.appData?.address?.bullseye, A.appData?.user?.guid));
|
|
13499
13496
|
}, [A.isInitialized]), e?.image_url && e?.redirect_url && /* @__PURE__ */ t(he, { elevation: 0, sx: { mt: 16, ml: "auto", mr: "auto", width: 615 }, children: /* @__PURE__ */ t(Ps, { href: e?.redirect_url, sx: { margin: "0 auto" }, children: /* @__PURE__ */ t(Ns, { alt: "marketing image", component: "img", image: e?.image_url, sx: { height: 110, width: 615 } }) }) });
|
|
13500
13497
|
}), P1 = () => {
|
|
13501
13498
|
const { accounts: A } = TA(), { selectedAccountGuids: e, setSelectedAccountGuids: n } = fA(), { isMobile: r } = MA(), { common: a } = I(), i = {
|