@mx-cartographer/experiences 4.1.0-alpha.j21 → 4.1.0-alpha.j23
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 +4 -6
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -978,7 +978,7 @@ class zr {
|
|
|
978
978
|
constructor(e, n) {
|
|
979
979
|
this.fetchInstance = new FA(e, n);
|
|
980
980
|
}
|
|
981
|
-
getAppData = async () => this.fetchInstance.get(H.APP_DATA).then((e) => e
|
|
981
|
+
getAppData = async () => this.fetchInstance.get(H.APP_DATA).then((e) => e);
|
|
982
982
|
}
|
|
983
983
|
class rt {
|
|
984
984
|
fetchInstance;
|
|
@@ -3637,8 +3637,6 @@ class nl {
|
|
|
3637
3637
|
}
|
|
3638
3638
|
let rl = class {
|
|
3639
3639
|
appData = {};
|
|
3640
|
-
// bullseyeUrl: string = ''
|
|
3641
|
-
// user: User = {} as User
|
|
3642
3640
|
api = new zr("/", "");
|
|
3643
3641
|
isInitialized = !1;
|
|
3644
3642
|
constructor() {
|
|
@@ -3650,7 +3648,7 @@ let rl = class {
|
|
|
3650
3648
|
loadAppData = async () => {
|
|
3651
3649
|
try {
|
|
3652
3650
|
const e = await this.api.getAppData();
|
|
3653
|
-
|
|
3651
|
+
J(() => {
|
|
3654
3652
|
this.appData = e, this.isInitialized = !0;
|
|
3655
3653
|
});
|
|
3656
3654
|
} catch (e) {
|
|
@@ -10217,7 +10215,7 @@ class Oh {
|
|
|
10217
10215
|
try {
|
|
10218
10216
|
const r = await this.api.getAccountBanner(e, n);
|
|
10219
10217
|
J(() => {
|
|
10220
|
-
|
|
10218
|
+
this.accountBanner = r;
|
|
10221
10219
|
});
|
|
10222
10220
|
} catch (r) {
|
|
10223
10221
|
console.error(`Error occurred while loading account banner: ${r}`);
|
|
@@ -13492,7 +13490,7 @@ var Kn = /* @__PURE__ */ ((A) => (A[A.Main = 0] = "Main", A[A.RightSide = 1] = "
|
|
|
13492
13490
|
const x1 = T(() => {
|
|
13493
13491
|
const { appStore: A } = an(), { accountBanner: e, loadAccountBanner: n } = Kc();
|
|
13494
13492
|
return g.useEffect(() => {
|
|
13495
|
-
A.isInitialized &&
|
|
13493
|
+
A.isInitialized && n(A.appData?.address?.bullseye, A.appData?.user?.guid);
|
|
13496
13494
|
}, [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 } }) }) });
|
|
13497
13495
|
}), P1 = () => {
|
|
13498
13496
|
const { accounts: A } = TA(), { selectedAccountGuids: e, setSelectedAccountGuids: n } = fA(), { isMobile: r } = MA(), { common: a } = I(), i = {
|