@mx-cartographer/experiences 3.1.1 → 3.1.2-alpha.bb1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.es.js +8 -8
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
@@ -10671,7 +10671,7 @@ class t1 {
|
|
10671
10671
|
};
|
10672
10672
|
augmentAccounts = (e = this.accounts) => {
|
10673
10673
|
const n = [];
|
10674
|
-
e.forEach((a) => {
|
10674
|
+
console.log("Store | members", [...this.members]), e.forEach((a) => {
|
10675
10675
|
const r = this.members.findIndex(
|
10676
10676
|
(i) => i.guid === a.member_guid
|
10677
10677
|
);
|
@@ -10684,12 +10684,12 @@ class t1 {
|
|
10684
10684
|
connectionStatus: i
|
10685
10685
|
}), this.members[r].connectionStatus = i;
|
10686
10686
|
}
|
10687
|
-
}), this.sortAccounts(n);
|
10687
|
+
}), this.sortAccounts(n), console.log("Store | augmentedAccounts: ", n);
|
10688
10688
|
};
|
10689
10689
|
loadAccounts = async () => {
|
10690
10690
|
this.loadMembers();
|
10691
10691
|
const e = await this.api.getAccounts();
|
10692
|
-
V(() => {
|
10692
|
+
console.log("Store | accounts: ", [...e]), V(() => {
|
10693
10693
|
this.augmentAccounts(e);
|
10694
10694
|
});
|
10695
10695
|
};
|
@@ -11005,13 +11005,13 @@ const bt = {
|
|
11005
11005
|
zeroStateTitle: o.account_filter.zero_state_title
|
11006
11006
|
},
|
11007
11007
|
title: o.account_filter.title
|
11008
|
+
}, c = () => {
|
11009
|
+
const d = (/* @__PURE__ */ new Date()).getHours();
|
11010
|
+
return d > 1 && d < 12 ? bt.good_morning : d >= 12 && d < 18 ? bt.good_afternoon : bt.good_evening;
|
11008
11011
|
};
|
11009
|
-
return /* @__PURE__ */ t(ie, { sx: { mb: i ? 24 : 0, p: 24 }, children: /* @__PURE__ */ u(w, { alignItems: "center", flexDirection: "row", justifyContent: "space-between", children: [
|
11012
|
+
return console.log("Greeting | accounts: ", [...A]), /* @__PURE__ */ t(ie, { sx: { mb: i ? 24 : 0, p: 24 }, children: /* @__PURE__ */ u(w, { alignItems: "center", flexDirection: "row", justifyContent: "space-between", children: [
|
11010
11013
|
/* @__PURE__ */ u(w, { children: [
|
11011
|
-
/* @__PURE__ */ t(ge, { children: (
|
11012
|
-
const d = (/* @__PURE__ */ new Date()).getHours();
|
11013
|
-
return d > 1 && d < 12 ? bt.good_morning : d >= 12 && d < 18 ? bt.good_afternoon : bt.good_evening;
|
11014
|
-
})() }),
|
11014
|
+
/* @__PURE__ */ t(ge, { children: c() }),
|
11015
11015
|
/* @__PURE__ */ t(E, { color: "text.secondary", sx: { fontSize: 15 }, children: bt.heres_your_spending_overview })
|
11016
11016
|
] }),
|
11017
11017
|
/* @__PURE__ */ t(
|