@mx-cartographer/experiences 7.2.15-alpha-ram10-finstrong-testing → 7.2.15-alpha-ram12-finstrong-testing
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { makeAutoObservable as _, runInAction as a } from "mobx";
|
|
2
2
|
import { i as f } from "./User-wXzDI4M8.mjs";
|
|
3
3
|
import { F as p, A as i } from "./Fetch-87LIQbEA.mjs";
|
|
4
|
-
import { A as c, h as d, d as h, E as y, i as I, j as
|
|
4
|
+
import { A as c, h as d, d as h, E as y, i as I, j as C } from "./ConnectDrawer-CuUj16NH.mjs";
|
|
5
5
|
class A {
|
|
6
6
|
fetchInstance;
|
|
7
7
|
constructor(t, e, n) {
|
|
@@ -17,7 +17,7 @@ class A {
|
|
|
17
17
|
refreshAllMembers = async () => this.fetchInstance.get(`${i.MEMBERS}/refresh_all`).then((t) => t).catch((t) => t);
|
|
18
18
|
updateAccount = async (t) => this.fetchInstance.put(`${i.ACCOUNTS}/${t.guid}`, t).then((e) => e.account).catch((e) => e);
|
|
19
19
|
}
|
|
20
|
-
class
|
|
20
|
+
class b {
|
|
21
21
|
isLoading = !1;
|
|
22
22
|
selectedAccount = {};
|
|
23
23
|
selectedMember = {};
|
|
@@ -36,7 +36,7 @@ class w {
|
|
|
36
36
|
members = [];
|
|
37
37
|
uiStore;
|
|
38
38
|
constructor(t) {
|
|
39
|
-
this.globalStore = t, this.uiStore = new
|
|
39
|
+
this.globalStore = t, this.uiStore = new b(), this.api = new A(t.endpoint, t.sessionToken, t.onError), _(this);
|
|
40
40
|
}
|
|
41
41
|
loadAccountData = async ({
|
|
42
42
|
accounts: t,
|
|
@@ -139,11 +139,10 @@ class w {
|
|
|
139
139
|
);
|
|
140
140
|
console.log(s, "shouldExcludeExternalAccounts");
|
|
141
141
|
for (const o of t) {
|
|
142
|
-
if (s && o.member_is_managed_by_user) continue;
|
|
143
142
|
const r = this.members.find((m) => m.guid === o.member_guid);
|
|
144
143
|
if (!r) continue;
|
|
145
144
|
let u = h.Connected;
|
|
146
|
-
y.includes(r.connection_status) ? u = h.Error : I.includes(r.connection_status) ? u = h.Processing :
|
|
145
|
+
y.includes(r.connection_status) ? u = h.Error : I.includes(r.connection_status) ? u = h.Processing : C.includes(r.connection_status) && (u = h.RequiresMfa);
|
|
147
146
|
const g = [
|
|
148
147
|
o.user_name || o.feed_name || "",
|
|
149
148
|
o.account_number ? `*${o.account_number}` : ""
|
|
@@ -25,7 +25,7 @@ import { F as G1, M as K1 } from "../ConnectDrawer-CuUj16NH.mjs";
|
|
|
25
25
|
import t1 from "@mui/material/ListItem";
|
|
26
26
|
import { M as $ } from "../MiniWidgetContainer-CmXpTylX.mjs";
|
|
27
27
|
import l1 from "@mui/material/Stack";
|
|
28
|
-
import { A as P1, a as Y1 } from "../AccountStore-
|
|
28
|
+
import { A as P1, a as Y1 } from "../AccountStore-Dh6xUXTr.mjs";
|
|
29
29
|
const i1 = () => {
|
|
30
30
|
const [c, H] = d.useState(""), { accounts: C } = w(), { selectedAccounts: l } = S(), { setSelectedAccount: h, setSelectedMember: r } = z(), { members: L } = T(), { onEvent: f } = D(), s = [...new Set(l.map((t) => t.account_type))], a = l.find((t) => c === t.guid), u = d.useMemo(
|
|
31
31
|
() => l.filter((t) => t.is_hidden),
|
package/dist/common/index.es.js
CHANGED
|
@@ -55,7 +55,7 @@ import { u as Xo } from "../useAccountDisplayName-CMMlIOXF.mjs";
|
|
|
55
55
|
import { u as Ko } from "../useInsightsEnabled-CNjP5cfR.mjs";
|
|
56
56
|
import { u as Zo } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
57
57
|
import { makeAutoObservable as f, runInAction as p, reaction as _t } from "mobx";
|
|
58
|
-
import { a as ft } from "../AccountStore-
|
|
58
|
+
import { a as ft } from "../AccountStore-Dh6xUXTr.mjs";
|
|
59
59
|
import yt from "posthog-js";
|
|
60
60
|
import { B as St } from "../BeatStore-IBnXd4YK.mjs";
|
|
61
61
|
import { endOfMonth as Z } from "date-fns/endOfMonth";
|
package/package.json
CHANGED