@mx-cartographer/experiences 7.0.8 → 7.0.9-alpha.mega1

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.
Files changed (35) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/{Account-BFol-JYA.mjs → Account-Bdz1k5WZ.mjs} +1 -1
  3. package/dist/{AccountDetailsContent-OzI5Hs8T.mjs → AccountDetailsContent-CEjEyv_M.mjs} +14 -14
  4. package/dist/{AccountDetailsHeader-DnEyQMpX.mjs → AccountDetailsHeader-uX5amBaR.mjs} +3 -3
  5. package/dist/{AccountFields-CeHZrIQe.mjs → AccountFields-Ckw28o6E.mjs} +2 -2
  6. package/dist/{AccountListItem-CR6I3Hl8.mjs → AccountListItem-DKwz0HGB.mjs} +2 -2
  7. package/dist/{AccountStore-Cu3GoLh-.mjs → AccountStore-DhfQsEK5.mjs} +67 -62
  8. package/dist/{Accounts-BuYXUMhP.mjs → Accounts-CAr848d0.mjs} +1 -1
  9. package/dist/{ConnectDrawer-WfKHsHSF.mjs → ConnectDrawer-yFS82Il7.mjs} +4 -4
  10. package/dist/{ConnectionsDrawer-Czp-E0-m.mjs → ConnectionsDrawer-Cl1jJGRv.mjs} +1 -1
  11. package/dist/{DebtsStore-D9holN8L.mjs → DebtsStore-Bep2cYsx.mjs} +1 -1
  12. package/dist/{GoalStore-Drf76ell.mjs → GoalStore-ChqCWX_U.mjs} +1 -1
  13. package/dist/{ManageIncome-CzTV55Bh.mjs → ManageIncome-Dk2ZDGqw.mjs} +2 -2
  14. package/dist/{NetWorthStore-BK1_NbXW.mjs → NetWorthStore-DrBL4JEO.mjs} +2 -2
  15. package/dist/{RecurringSettings-BQDQvmSY.mjs → RecurringSettings-DNJs5JIe.mjs} +2 -2
  16. package/dist/{TransactionDetails-BSfXqkpH.mjs → TransactionDetails-B6h5Qo1c.mjs} +1 -1
  17. package/dist/{WidgetContainer-BG-fdDOf.mjs → WidgetContainer-D7sX3S6R.mjs} +1 -1
  18. package/dist/accounts/index.es.js +15 -15
  19. package/dist/budgets/index.es.js +4 -4
  20. package/dist/cashflow/index.es.js +5 -5
  21. package/dist/common/index.es.js +8 -8
  22. package/dist/common/utils/User.d.ts +2 -0
  23. package/dist/dashboard/index.es.js +6 -6
  24. package/dist/debts/index.es.js +5 -5
  25. package/dist/finstrong/index.es.js +4 -4
  26. package/dist/goals/index.es.js +6 -6
  27. package/dist/help/index.es.js +1 -1
  28. package/dist/investments/index.es.js +2 -2
  29. package/dist/networth/index.es.js +4 -4
  30. package/dist/recurringtransactions/index.es.js +5 -5
  31. package/dist/settings/index.es.js +1 -1
  32. package/dist/spending/index.es.js +2 -2
  33. package/dist/transactions/index.es.js +4 -4
  34. package/dist/trends/index.es.js +2 -2
  35. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [7.0.9] - 09-19-2025
2
+
3
+ - **ADDED** - Support for excluding external accounts based on feature flag
4
+
1
5
  ## [7.0.8] - 09-18-2025
2
6
 
3
7
  - **FIXED** - Cash Flow mini widget not getting data as a standalone widget
@@ -1,4 +1,4 @@
1
- import { A as C } from "./ConnectDrawer-WfKHsHSF.mjs";
1
+ import { A as C } from "./ConnectDrawer-yFS82Il7.mjs";
2
2
  const I = [
3
3
  C.ANY,
4
4
  C.CASH,
@@ -11,18 +11,18 @@ import M from "@mui/material/Divider";
11
11
  import v from "@mui/material/ListItem";
12
12
  import N from "@mui/material/ListItemButton";
13
13
  import w from "@mui/material/ListItemText";
14
- import { u as D } from "./AccountDetailsHeader-DnEyQMpX.mjs";
14
+ import { u as D } from "./AccountDetailsHeader-uX5amBaR.mjs";
15
15
  import { c as z, u as E, e as O, f as X } from "./hooks-02T565vf.mjs";
16
- import { A as at } from "./AccountListItem-CR6I3Hl8.mjs";
17
- import { A as k } from "./WidgetContainer-BG-fdDOf.mjs";
18
- import { a as V, f as B, D as j } from "./Dialog-CWW597AF.mjs";
16
+ import { A as at } from "./AccountListItem-DKwz0HGB.mjs";
17
+ import { A as k } from "./WidgetContainer-D7sX3S6R.mjs";
18
+ import { a as V, f as B, D as K } from "./Dialog-CWW597AF.mjs";
19
19
  import { b as h } from "./Localization-2MODESHW.mjs";
20
20
  import { D as J } from "./Drawer-kEE73B87.mjs";
21
21
  import R from "@mui/material/ListItemAvatar";
22
22
  import ct from "@mui/material/Stack";
23
23
  import st from "@mui/material/styles/useTheme";
24
24
  import { Error as q, CheckCircle as it, Language as rt } from "@mxenabled/mx-icons";
25
- import { k as m, N as Q, j as Z, F as P } from "./ConnectDrawer-WfKHsHSF.mjs";
25
+ import { k as m, N as Q, h as Z, F as P } from "./ConnectDrawer-yFS82Il7.mjs";
26
26
  import { fromUnixTime as lt } from "date-fns/fromUnixTime";
27
27
  import { isToday as dt } from "date-fns/isToday";
28
28
  import { isYesterday as ut } from "date-fns/isYesterday";
@@ -38,14 +38,14 @@ import At from "@mui/material/MenuItem";
38
38
  import bt from "@mui/material/Select";
39
39
  import Tt from "@mui/material/TextField";
40
40
  import { C as St } from "./CurrencyInput-CSZjO22Z.mjs";
41
- import { a as Dt } from "./AccountFields-CeHZrIQe.mjs";
41
+ import { a as Dt } from "./AccountFields-Ckw28o6E.mjs";
42
42
  import Et from "@mui/material/Alert";
43
43
  import yt from "@mui/material/AlertTitle";
44
44
  import xt from "@mui/material/Link";
45
45
  import wt from "@mui/material/Paper";
46
46
  import { subDays as kt, startOfToday as It, endOfToday as Mt } from "date-fns";
47
- import { T as vt, a as Lt } from "./TransactionDetails-BSfXqkpH.mjs";
48
- import { T as K } from "./TabContentContainer-j01JYR_7.mjs";
47
+ import { T as vt, a as Lt } from "./TransactionDetails-B6h5Qo1c.mjs";
48
+ import { T as j } from "./TabContentContainer-j01JYR_7.mjs";
49
49
  const U = ({
50
50
  children: e,
51
51
  isLast: o = !1,
@@ -314,11 +314,11 @@ const U = ({
314
314
  };
315
315
  default: {
316
316
  const c = () => {
317
- const i = e.successfully_aggregated_at ? lt(e.successfully_aggregated_at) : void 0, u = i && B(i, j.TIME_STAMP_HOUR_MINUTE);
317
+ const i = e.successfully_aggregated_at ? lt(e.successfully_aggregated_at) : void 0, u = i && B(i, K.TIME_STAMP_HOUR_MINUTE);
318
318
  if (u)
319
319
  return dt(i) ? h(o.last_updated_at, o.today, u) : ut(i) ? h(o.last_updated_at, o.yesterday, u) : h(
320
320
  o.last_updated_at,
321
- B(i, j.MONTH_DAY_YEAR),
321
+ B(i, K.MONTH_DAY_YEAR),
322
322
  u
323
323
  );
324
324
  };
@@ -609,7 +609,7 @@ const U = ({
609
609
  }
610
610
  )
611
611
  ] });
612
- }, Bt = b(Gt), jt = () => {
612
+ }, Bt = b(Gt), Kt = () => {
613
613
  const [e, o] = _.useState(""), { onEvent: n } = O(), { selectedAccount: c } = D(), { accounts: i } = E(), { setFilter: u, sortedTransactions: l } = X(), s = _.useMemo(
614
614
  () => l.find((r) => r.guid === e),
615
615
  [e, l]
@@ -632,7 +632,7 @@ const U = ({
632
632
  }
633
633
  )
634
634
  ] });
635
- }, Kt = b(jt), Yt = () => {
635
+ }, jt = b(Kt), Yt = () => {
636
636
  const [e, o] = _.useState(0), { accounts: n } = E();
637
637
  return /* @__PURE__ */ d(g, { children: [
638
638
  /* @__PURE__ */ t(Bt, { setTabValue: o }),
@@ -665,8 +665,8 @@ const U = ({
665
665
  ]
666
666
  }
667
667
  ),
668
- /* @__PURE__ */ t(K, { index: 0, name: "transaction-details", value: e, children: /* @__PURE__ */ t(Kt, {}) }),
669
- /* @__PURE__ */ t(K, { index: 1, name: "account-details", value: e, children: /* @__PURE__ */ t(Ht, {}) })
668
+ /* @__PURE__ */ t(j, { index: 0, name: "transaction-details", value: e, children: /* @__PURE__ */ t(jt, {}) }),
669
+ /* @__PURE__ */ t(j, { index: 1, name: "account-details", value: e, children: /* @__PURE__ */ t(Ht, {}) })
670
670
  ] });
671
671
  }, He = b(Yt);
672
672
  export {
@@ -2,7 +2,7 @@ import { jsx as e, jsxs as u } from "react/jsx-runtime";
2
2
  import { observer as p } from "mobx-react-lite";
3
3
  import d from "@mui/material/Stack";
4
4
  import { H3 as w, InstitutionLogo as I, Text as m, H2 as L } from "@mxenabled/mxui";
5
- import { g as N } from "./AccountFields-CeHZrIQe.mjs";
5
+ import { g as N } from "./AccountFields-Ckw28o6E.mjs";
6
6
  import h from "react";
7
7
  import { G as v, c as S, l as y, u as _, m as E } from "./hooks-02T565vf.mjs";
8
8
  import G from "@mui/material/Card";
@@ -11,8 +11,8 @@ import P from "@mui/material/CardHeader";
11
11
  import { useTheme as M } from "@mui/material/styles";
12
12
  import { g as B, a as H, b as U } from "./SpendingData-D5vsfYKo.mjs";
13
13
  import { L as j } from "./LineChart-CYiUS-px.mjs";
14
- import { I as f, P as g, S as C } from "./Account-BFol-JYA.mjs";
15
- import { A } from "./ConnectDrawer-WfKHsHSF.mjs";
14
+ import { I as f, P as g, S as C } from "./Account-Bdz1k5WZ.mjs";
15
+ import { A } from "./ConnectDrawer-yFS82Il7.mjs";
16
16
  import { L as z } from "./Loader-Dp1P2gNw.mjs";
17
17
  import { f as Y, D as R } from "./Dialog-CWW597AF.mjs";
18
18
  import { f as $ } from "./NumberFormatting-CtWHhyBX.mjs";
@@ -1,7 +1,7 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
2
  import { Icon as p, Text as c } from "@mxenabled/mxui";
3
- import { F as m, A as b, a as v, P as h, b as F } from "./ConnectDrawer-WfKHsHSF.mjs";
4
- import { i as D, u as T, a as A, b as O, c as g } from "./Accounts-BuYXUMhP.mjs";
3
+ import { F as m, A as b, a as v, P as h, b as F } from "./ConnectDrawer-yFS82Il7.mjs";
4
+ import { i as D, u as T, a as A, b as O, c as g } from "./Accounts-CAr848d0.mjs";
5
5
  import { f as _, i as d, a as N, b as S } from "./NumberFormatting-CtWHhyBX.mjs";
6
6
  import { b as i } from "./Localization-2MODESHW.mjs";
7
7
  import { f, D as o } from "./Dialog-CWW597AF.mjs";
@@ -10,8 +10,8 @@ import C from "@mui/material/styles/useTheme";
10
10
  import { InstitutionLogo as B, Text as o } from "@mxenabled/mxui";
11
11
  import { Error as L } from "@mxenabled/mx-icons";
12
12
  import { I as A } from "./IconBacking-B9oC6uL2.mjs";
13
- import { g as j } from "./AccountFields-CeHZrIQe.mjs";
14
- import { d } from "./ConnectDrawer-WfKHsHSF.mjs";
13
+ import { g as j } from "./AccountFields-Ckw28o6E.mjs";
14
+ import { d } from "./ConnectDrawer-yFS82Il7.mjs";
15
15
  import { u as T } from "./hooks-02T565vf.mjs";
16
16
  import { f as X } from "./NumberFormatting-CtWHhyBX.mjs";
17
17
  const $ = {
@@ -1,33 +1,34 @@
1
- import { makeAutoObservable as m, runInAction as a } from "mobx";
2
- import { F as A, A as o } from "./Fetch-CkFKy79O.mjs";
3
- import { A as n, d as u, E as _, g, h as f } from "./ConnectDrawer-WfKHsHSF.mjs";
1
+ import { makeAutoObservable as _, runInAction as a } from "mobx";
2
+ import { F as g, A as i } from "./Fetch-CkFKy79O.mjs";
3
+ import { A as s, d, E as f, i as p, j as y } from "./ConnectDrawer-yFS82Il7.mjs";
4
4
  class l {
5
5
  fetchInstance;
6
6
  constructor(t, e) {
7
- this.fetchInstance = new A(t, e);
8
- }
9
- createAccount = async (t) => this.fetchInstance.post(o.ACCOUNTS, t).then((e) => e.account).catch((e) => e);
10
- deleteAccount = async (t) => this.fetchInstance.delete(`${o.ACCOUNTS}/${t}`).catch((e) => e);
11
- getAccounts = async () => this.fetchInstance.get(o.ACCOUNTS).then((t) => t.accounts).catch((t) => t);
12
- getInstitutions = async () => this.fetchInstance.get(o.INSTITUTIONS).then((t) => t).catch((t) => t);
13
- getMembers = async () => this.fetchInstance.get(o.MEMBERS).then((t) => t.members).catch((t) => t);
14
- getMonthlyAccountBalances = async (t) => this.fetchInstance.get(`${o.ACCOUNTS}/${t}/monthly_account_balances`).then((e) => e.monthly_account_balances).catch((e) => e);
15
- mergeAccounts = async (t) => this.fetchInstance.put(`${o.ACCOUNTS}/merge`, { accounts: t }).then((e) => e).catch((e) => e);
16
- refreshAllMembers = async () => this.fetchInstance.get(`${o.MEMBERS}/refresh_all`).then((t) => t).catch((t) => t);
17
- updateAccount = async (t) => this.fetchInstance.put(`${o.ACCOUNTS}/${t.guid}`, t).then((e) => e.account).catch((e) => e);
7
+ this.fetchInstance = new g(t, e);
8
+ }
9
+ createAccount = async (t) => this.fetchInstance.post(i.ACCOUNTS, t).then((e) => e.account).catch((e) => e);
10
+ deleteAccount = async (t) => this.fetchInstance.delete(`${i.ACCOUNTS}/${t}`).catch((e) => e);
11
+ getAccounts = async () => this.fetchInstance.get(i.ACCOUNTS).then((t) => t.accounts).catch((t) => t);
12
+ getInstitutions = async () => this.fetchInstance.get(i.INSTITUTIONS).then((t) => t).catch((t) => t);
13
+ getMembers = async () => this.fetchInstance.get(i.MEMBERS).then((t) => t.members).catch((t) => t);
14
+ getMonthlyAccountBalances = async (t) => this.fetchInstance.get(`${i.ACCOUNTS}/${t}/monthly_account_balances`).then((e) => e.monthly_account_balances).catch((e) => e);
15
+ mergeAccounts = async (t) => this.fetchInstance.put(`${i.ACCOUNTS}/merge`, { accounts: t }).then((e) => e).catch((e) => e);
16
+ refreshAllMembers = async () => this.fetchInstance.get(`${i.MEMBERS}/refresh_all`).then((t) => t).catch((t) => t);
17
+ updateAccount = async (t) => this.fetchInstance.put(`${i.ACCOUNTS}/${t.guid}`, t).then((e) => e.account).catch((e) => e);
18
18
  }
19
- class p {
19
+ const I = (h, t) => !!h.find((e) => e.feature_name === t)?.is_enabled;
20
+ class b {
20
21
  isLoading = !1;
21
22
  selectedAccount = {};
22
23
  selectedMember = {};
23
24
  constructor() {
24
- m(this);
25
+ _(this);
25
26
  }
26
27
  setIsLoading = (t) => this.isLoading = t;
27
28
  setSelectedAccount = (t) => this.selectedAccount = t;
28
29
  setSelectedMember = (t) => this.selectedMember = t;
29
30
  }
30
- class C {
31
+ class w {
31
32
  globalStore;
32
33
  api = new l("/", "");
33
34
  accounts = [];
@@ -35,7 +36,7 @@ class C {
35
36
  members = [];
36
37
  uiStore;
37
38
  constructor(t) {
38
- this.globalStore = t, this.uiStore = new p(), this.api = new l(t.endpoint, t.sessionToken), m(this);
39
+ this.globalStore = t, this.uiStore = new b(), this.api = new l(t.endpoint, t.sessionToken), _(this);
39
40
  }
40
41
  loadAccountData = async ({
41
42
  accounts: t,
@@ -45,36 +46,36 @@ class C {
45
46
  };
46
47
  get cashAccounts() {
47
48
  return this.accounts.filter(
48
- (t) => t.account_type === n.CASH || t.account_type === n.CHECKING || t.account_type === n.PREPAID || t.account_type === n.SAVINGS || t.account_type === n.CHECKING_LINE_OF_CREDIT
49
+ (t) => t.account_type === s.CASH || t.account_type === s.CHECKING || t.account_type === s.PREPAID || t.account_type === s.SAVINGS || t.account_type === s.CHECKING_LINE_OF_CREDIT
49
50
  );
50
51
  }
51
52
  get cashBalance() {
52
53
  return this.cashAccounts.reduce((t, e) => t + (e?.balance || 0), 0);
53
54
  }
54
55
  get checkingAccounts() {
55
- return this.accounts.filter((t) => t.account_type === n.CHECKING);
56
+ return this.accounts.filter((t) => t.account_type === s.CHECKING);
56
57
  }
57
58
  get debtAccounts() {
58
59
  return this.accounts.filter(
59
- (t) => t.account_type === n.CREDIT_CARD || t.account_type === n.LOAN || t.account_type === n.MORTGAGE || t.account_type === n.LINE_OF_CREDIT || t.account_type === n.CHECKING_LINE_OF_CREDIT
60
+ (t) => t.account_type === s.CREDIT_CARD || t.account_type === s.LOAN || t.account_type === s.MORTGAGE || t.account_type === s.LINE_OF_CREDIT || t.account_type === s.CHECKING_LINE_OF_CREDIT
60
61
  );
61
62
  }
62
63
  get finstrongAccounts() {
63
64
  const t = /* @__PURE__ */ new Set([
64
- n.CHECKING,
65
- n.SAVINGS,
66
- n.CREDIT_CARD,
67
- n.INVESTMENT
65
+ s.CHECKING,
66
+ s.SAVINGS,
67
+ s.CREDIT_CARD,
68
+ s.INVESTMENT
68
69
  ]);
69
70
  return this.accounts.filter((e) => t.has(e.account_type));
70
71
  }
71
72
  get investmentAccounts() {
72
73
  return this.accounts.filter(
73
- (t) => t.account_type === n.INVESTMENT
74
+ (t) => t.account_type === s.INVESTMENT
74
75
  );
75
76
  }
76
77
  get savingsAccounts() {
77
- return this.accounts.filter((t) => t.account_type === n.SAVINGS);
78
+ return this.accounts.filter((t) => t.account_type === s.SAVINGS);
78
79
  }
79
80
  get visibleAccounts() {
80
81
  return this.accounts.filter((t) => !t.is_hidden);
@@ -113,24 +114,28 @@ class C {
113
114
  }
114
115
  };
115
116
  augmentAccounts = (t = this.accounts) => {
116
- const e = [];
117
- return t.forEach((c) => {
118
- const s = this.members.findIndex(
119
- (r) => r.guid === c.member_guid
120
- );
121
- if (s > -1) {
122
- let r = u.Connected;
123
- const i = this.members[s];
124
- _.includes(i.connection_status) ? r = u.Error : g.includes(i.connection_status) ? r = u.Processing : f.includes(i.connection_status) && (r = u.RequiresMfa);
125
- let h = c.user_name || c.feed_name || "";
126
- c.account_number && (h = `${h} *${c.account_number}`), e.push({
127
- ...c,
128
- institutionName: h,
129
- memberName: i.name,
130
- connectionStatus: r
131
- }), this.members[s].connectionStatus = r;
132
- }
133
- }), e;
117
+ const e = [], n = this.globalStore.userStore.userFeatures, c = I(
118
+ n,
119
+ "MD_EXCLUDE_EXTERNAL_ACCOUNTS"
120
+ );
121
+ for (const r of t) {
122
+ if (c && r.member_is_managed_by_user) continue;
123
+ const o = this.members.find((m) => m.guid === r.member_guid);
124
+ if (!o) continue;
125
+ let u = d.Connected;
126
+ f.includes(o.connection_status) ? u = d.Error : p.includes(o.connection_status) ? u = d.Processing : y.includes(o.connection_status) && (u = d.RequiresMfa);
127
+ const A = [
128
+ r.user_name || r.feed_name || "",
129
+ r.account_number ? `*${r.account_number}` : ""
130
+ ].join(" ").trim();
131
+ e.push({
132
+ ...r,
133
+ connectionStatus: u,
134
+ institutionName: A,
135
+ memberName: o.name
136
+ }), o.connectionStatus = u;
137
+ }
138
+ return e;
134
139
  };
135
140
  loadAccounts = async (t) => {
136
141
  await this.loadMembers();
@@ -165,18 +170,18 @@ class C {
165
170
  };
166
171
  mergeAccounts = async (t) => {
167
172
  try {
168
- const e = await this.api.mergeAccounts(t), c = e[Object.keys(e)[0]];
173
+ const e = await this.api.mergeAccounts(t), n = e[Object.keys(e)[0]];
169
174
  a(() => {
170
- const s = this.accounts.findIndex((i) => i.guid === t[1]);
171
- this.accounts.splice(s, 1);
172
- const r = this.accounts.findIndex((i) => i.guid === t[0]);
173
- this.accounts.splice(r, 1, c);
175
+ const c = this.accounts.findIndex((o) => o.guid === t[1]);
176
+ this.accounts.splice(c, 1);
177
+ const r = this.accounts.findIndex((o) => o.guid === t[0]);
178
+ this.accounts.splice(r, 1, n);
174
179
  });
175
180
  } catch (e) {
176
181
  console.error(`Error occurred while merging accounts: ${e}`);
177
182
  }
178
183
  };
179
- sortAccounts = (t = this.accounts) => t.sort((e, c) => e.account_type > c.account_type ? 1 : e.account_type < c.account_type ? -1 : (e.name || "") > (c.name || "") ? 1 : (e.name || "") < (c.name || "") ? -1 : 0);
184
+ sortAccounts = (t = this.accounts) => t.sort((e, n) => e.account_type > n.account_type ? 1 : e.account_type < n.account_type ? -1 : (e.name || "") > (n.name || "") ? 1 : (e.name || "") < (n.name || "") ? -1 : 0);
180
185
  refreshAccounts = async () => {
181
186
  this.uiStore.setIsLoading(!0), await Promise.all([this.loadAccounts(), this.loadInstitutions()]), this.uiStore.setIsLoading(!1);
182
187
  };
@@ -190,7 +195,7 @@ class C {
190
195
  removeAccount = async (t) => {
191
196
  try {
192
197
  await this.api.deleteAccount(t), a(() => {
193
- const e = this.accounts.findIndex((c) => c.guid === t);
198
+ const e = this.accounts.findIndex((n) => n.guid === t);
194
199
  this.accounts.splice(e, 1);
195
200
  });
196
201
  } catch (e) {
@@ -201,24 +206,24 @@ class C {
201
206
  try {
202
207
  const e = await this.api.updateAccount(t);
203
208
  a(() => {
204
- const c = this.accounts.findIndex(
205
- (s) => s.guid === e.guid
209
+ const n = this.accounts.findIndex(
210
+ (c) => c.guid === e.guid
206
211
  );
207
- this.accounts.splice(c, 1, e), this.accounts = this.augmentAccounts(this.accounts);
212
+ this.accounts.splice(n, 1, e), this.accounts = this.augmentAccounts(this.accounts);
208
213
  });
209
214
  } catch (e) {
210
215
  console.error(`Error occurred while updating account: ${e}`);
211
216
  }
212
217
  };
213
218
  updateAccountFiltering = async (t, e) => {
214
- for (const c of t) {
215
- const s = this.accounts.find((r) => r.guid === c);
216
- if (s) {
217
- s.is_excluded_from_accounts = e, s.is_excluded_from_budgets = e, s.is_excluded_from_cash_flow = e, s.is_excluded_from_debts = e, s.is_excluded_from_goals = e, s.is_excluded_from_investments = e, s.is_excluded_from_net_worth = e, s.is_excluded_from_spending = e, s.is_excluded_from_transactions = e, s.is_excluded_from_trends = e;
219
+ for (const n of t) {
220
+ const c = this.accounts.find((r) => r.guid === n);
221
+ if (c) {
222
+ c.is_excluded_from_accounts = e, c.is_excluded_from_budgets = e, c.is_excluded_from_cash_flow = e, c.is_excluded_from_debts = e, c.is_excluded_from_goals = e, c.is_excluded_from_investments = e, c.is_excluded_from_net_worth = e, c.is_excluded_from_spending = e, c.is_excluded_from_transactions = e, c.is_excluded_from_trends = e;
218
223
  try {
219
- this.updateAccount(s);
224
+ this.updateAccount(c);
220
225
  } catch (r) {
221
- console.error(`Failed to update account ${c} (added):`, r);
226
+ console.error(`Failed to update account ${n} (added):`, r);
222
227
  }
223
228
  }
224
229
  }
@@ -226,5 +231,5 @@ class C {
226
231
  }
227
232
  export {
228
233
  l as A,
229
- C as a
234
+ w as a
230
235
  };
@@ -1,4 +1,4 @@
1
- import { A as _ } from "./ConnectDrawer-WfKHsHSF.mjs";
1
+ import { A as _ } from "./ConnectDrawer-yFS82Il7.mjs";
2
2
  const s = (t) => t && (t.account_type === _.CREDIT_CARD || t.account_type === _.LOAN || t.account_type === _.MORTGAGE || t.account_type === _.LINE_OF_CREDIT || t.account_type === _.CHECKING_LINE_OF_CREDIT), p = (t) => t.is_manual || !t.guid, E = (t) => t.account_type === _.LINE_OF_CREDIT || t.account_type === _.CREDIT_CARD || t.account_type === _.CHECKING_LINE_OF_CREDIT, a = (t) => t.account_type === _.SAVINGS || t.account_type === _.CHECKING || t.account_type === _.LINE_OF_CREDIT || t.account_type === _.CREDIT_CARD || t.account_type === _.LOAN || t.account_type === _.MORTGAGE, y = (t) => t.account_type === _.LOAN || t.account_type === _.MORTGAGE;
3
3
  export {
4
4
  s as a,
@@ -498,10 +498,10 @@ export {
498
498
  sE as d,
499
499
  ZE as e,
500
500
  CE as f,
501
- jE as g,
502
- LE as h,
503
- bE as i,
504
- yE as j,
501
+ bE as g,
502
+ yE as h,
503
+ jE as i,
504
+ LE as j,
505
505
  lE as k,
506
506
  iE as l,
507
507
  SE as m
@@ -3,7 +3,7 @@ import r from "react";
3
3
  import { observer as E } from "mobx-react-lite";
4
4
  import { useTheme as D } from "@mui/material/styles";
5
5
  import { ConnectionsWidget as L } from "@mxenabled/web-widget-sdk";
6
- import { C as a, c, M as i } from "./ConnectDrawer-WfKHsHSF.mjs";
6
+ import { C as a, c, M as i } from "./ConnectDrawer-yFS82Il7.mjs";
7
7
  import { c as b, d as w, u as _ } from "./hooks-02T565vf.mjs";
8
8
  import { D as x } from "./Drawer-kEE73B87.mjs";
9
9
  const I = ({
@@ -1,6 +1,6 @@
1
1
  import { makeAutoObservable as l } from "mobx";
2
2
  import { getDate as o, fromUnixTime as m, startOfMonth as _ } from "date-fns";
3
- import { A as b } from "./ConnectDrawer-WfKHsHSF.mjs";
3
+ import { A as b } from "./ConnectDrawer-yFS82Il7.mjs";
4
4
  var u = /* @__PURE__ */ ((a) => (a[a.HIGHEST_INTEREST = 1] = "HIGHEST_INTEREST", a[a.LOWEST_BALANCE = 2] = "LOWEST_BALANCE", a[a.HIGHEST_BALANCE = 3] = "HIGHEST_BALANCE", a))(u || {});
5
5
  const p = {
6
6
  unnamed_label: "Unnamed Debt"
@@ -7,7 +7,7 @@ import G from "@mui/material/CardHeader";
7
7
  import C from "@mui/material/Stack";
8
8
  import { AccountBalance as f, ChevronRight as I } from "@mxenabled/mx-icons";
9
9
  import { Text as A } from "@mxenabled/mxui";
10
- import { j as N } from "./ConnectDrawer-WfKHsHSF.mjs";
10
+ import { h as N } from "./ConnectDrawer-yFS82Il7.mjs";
11
11
  import { k as O } from "./hooks-02T565vf.mjs";
12
12
  import { makeAutoObservable as p, runInAction as i } from "mobx";
13
13
  import { F as w, A as s } from "./Fetch-CkFKy79O.mjs";
@@ -16,7 +16,7 @@ import { startOfToday as z } from "date-fns/startOfToday";
16
16
  import { endOfMonth as _e } from "date-fns/endOfMonth";
17
17
  import H from "@mui/material/Button";
18
18
  import { Delete as me, Add as ye, ReceiptLong as pe } from "@mxenabled/mx-icons";
19
- import { T as X, a as he, u as ge, S as fe, b as Ce } from "./TransactionDetails-BSfXqkpH.mjs";
19
+ import { T as X, a as he, u as ge, S as fe, b as Ce } from "./TransactionDetails-B6h5Qo1c.mjs";
20
20
  import { getDayOfYear as be } from "date-fns/getDayOfYear";
21
21
  import { setDayOfYear as Se } from "date-fns/setDayOfYear";
22
22
  import { AdapterDateFns as ve } from "@mui/x-date-pickers/AdapterDateFnsV3";
@@ -25,7 +25,7 @@ import { LocalizationProvider as we } from "@mui/x-date-pickers/LocalizationProv
25
25
  import { u as w, h as M, e as F, a as Ae, f as Z, o as De } from "./hooks-02T565vf.mjs";
26
26
  import { b as Ie, f as J } from "./NumberFormatting-CtWHhyBX.mjs";
27
27
  import { D as O } from "./Drawer-kEE73B87.mjs";
28
- import { A as R } from "./WidgetContainer-BG-fdDOf.mjs";
28
+ import { A as R } from "./WidgetContainer-D7sX3S6R.mjs";
29
29
  import { f as Ee, D as Re, a as Te } from "./Dialog-CWW597AF.mjs";
30
30
  import { formatISO as Le } from "date-fns/formatISO";
31
31
  import { fromUnixTime as Oe } from "date-fns/fromUnixTime";
@@ -3,8 +3,8 @@ import { format as A } from "date-fns/format";
3
3
  import { fromUnixTime as W } from "date-fns/fromUnixTime";
4
4
  import { startOfMonth as _ } from "date-fns/startOfMonth";
5
5
  import { subMonths as B } from "date-fns/subMonths";
6
- import { a as b } from "./Accounts-BuYXUMhP.mjs";
7
- import { e as N, a as M, f as v } from "./ConnectDrawer-WfKHsHSF.mjs";
6
+ import { a as b } from "./Accounts-CAr848d0.mjs";
7
+ import { e as N, a as M, f as v } from "./ConnectDrawer-yFS82Il7.mjs";
8
8
  const f = 13, L = (n, t) => n.filter((e) => {
9
9
  const { is_closed: r, is_deleted: s, is_hidden: a, is_manual: i } = e;
10
10
  return r || s || a ? !1 : i || !e.guid ? !0 : t.some((l) => n.some((g) => l.guid === g.member_guid));
@@ -7,10 +7,10 @@ import R from "@mui/material/Tabs";
7
7
  import l from "@mui/material/Divider";
8
8
  import T from "@mui/material/List";
9
9
  import C from "@mui/material/Stack";
10
- import { R as x, A as S, a as E, M as A } from "./ManageIncome-CzTV55Bh.mjs";
10
+ import { R as x, A as S, a as E, M as A } from "./ManageIncome-Dk2ZDGqw.mjs";
11
11
  import { u as h, h as y, e as _ } from "./hooks-02T565vf.mjs";
12
12
  import { R as v, F as N } from "./RepeatingTransaction-BW4J-jeJ.mjs";
13
- import { A as d } from "./WidgetContainer-BG-fdDOf.mjs";
13
+ import { A as d } from "./WidgetContainer-D7sX3S6R.mjs";
14
14
  const I = u(() => {
15
15
  const { recurring: r } = h(), { repeatingTransactions: s } = y(), { onEvent: o } = _(), a = (n) => {
16
16
  o(d.RECURRING_TRANSACTIONS_CLICK_EXPENSE, {
@@ -17,7 +17,7 @@ import { fromUnixTime as Y } from "date-fns/fromUnixTime";
17
17
  import { isSameDay as Ae } from "date-fns/isSameDay";
18
18
  import { h as He } from "./DateUtil-BcuH7ErC.mjs";
19
19
  import { L as Ne } from "./Loader-Dp1P2gNw.mjs";
20
- import { A as P } from "./WidgetContainer-BG-fdDOf.mjs";
20
+ import { A as P } from "./WidgetContainer-D7sX3S6R.mjs";
21
21
  import ee from "@mui/material/Paper";
22
22
  import le from "@mui/material/Button";
23
23
  import Ue from "@mui/material/FormGroup";
@@ -35,7 +35,7 @@ import Oe from "@mui/material/ToggleButtonGroup";
35
35
  import fe from "@mui/material/styles/useTheme";
36
36
  import { f as K, D as G, a as be } from "./Dialog-CWW597AF.mjs";
37
37
  import { D as we } from "./Drawer-kEE73B87.mjs";
38
- import { i as Ke, j as Ge } from "./ConnectDrawer-WfKHsHSF.mjs";
38
+ import { g as Ke, h as Ge } from "./ConnectDrawer-yFS82Il7.mjs";
39
39
  const Me = {
40
40
  ACCOUNTS_CLICK_ACCOUNT: "accounts_widget_click_account",
41
41
  ACCOUNTS_CLICK_CONNECT: "accounts_widget_click_connect_accounts",
@@ -1,4 +1,4 @@
1
- import { jsxs as n, jsx as e, Fragment as $ } from "react/jsx-runtime";
1
+ import { jsxs as n, jsx as e, Fragment as j } from "react/jsx-runtime";
2
2
  import d from "react";
3
3
  import { observer as M } from "mobx-react-lite";
4
4
  import B from "@mui/material/Box";
@@ -7,24 +7,24 @@ import E from "@mui/material/List";
7
7
  import T from "@mui/material/ListSubheader";
8
8
  import x from "@mui/system/Stack";
9
9
  import { Text as v } from "@mxenabled/mxui";
10
- import { A as G } from "../AccountDetailsContent-OzI5Hs8T.mjs";
11
- import { u as O1 } from "../AccountDetailsContent-OzI5Hs8T.mjs";
12
- import { u as K, A as z } from "../AccountDetailsHeader-DnEyQMpX.mjs";
13
- import { A as W } from "../AccountListItem-CR6I3Hl8.mjs";
10
+ import { A as G } from "../AccountDetailsContent-CEjEyv_M.mjs";
11
+ import { u as O1 } from "../AccountDetailsContent-CEjEyv_M.mjs";
12
+ import { u as K, A as z } from "../AccountDetailsHeader-uX5amBaR.mjs";
13
+ import { A as W } from "../AccountListItem-DKwz0HGB.mjs";
14
14
  import { u as g, a as y, c as O, e as N, k as P } from "../hooks-02T565vf.mjs";
15
15
  import { f as I } from "../NumberFormatting-CtWHhyBX.mjs";
16
16
  import { D as Y } from "../Drawer-kEE73B87.mjs";
17
- import { A, W as q } from "../WidgetContainer-BG-fdDOf.mjs";
18
- import { C as J } from "../ConnectionsDrawer-Czp-E0-m.mjs";
17
+ import { A, W as q } from "../WidgetContainer-D7sX3S6R.mjs";
18
+ import { C as J } from "../ConnectionsDrawer-Cl1jJGRv.mjs";
19
19
  import { u as Q } from "../useScreenSize-B6JyS_Lj.mjs";
20
20
  import { L as R } from "../Loader-Dp1P2gNw.mjs";
21
- import { j as D } from "../ConnectDrawer-WfKHsHSF.mjs";
22
- import { F as I1, M as N1 } from "../ConnectDrawer-WfKHsHSF.mjs";
21
+ import { h as D } from "../ConnectDrawer-yFS82Il7.mjs";
22
+ import { F as I1, M as N1 } from "../ConnectDrawer-yFS82Il7.mjs";
23
23
  import X from "@mui/material/ListItem";
24
24
  import { M as U } from "../MiniWidgetContainer-DqKQNubH.mjs";
25
25
  import e1 from "@mui/material/Stack";
26
- import { g as U1, a as j1 } from "../AccountFields-CeHZrIQe.mjs";
27
- import { A as G1, a as K1 } from "../AccountStore-Cu3GoLh-.mjs";
26
+ import { g as U1, a as $1 } from "../AccountFields-Ckw28o6E.mjs";
27
+ import { A as G1, a as K1 } from "../AccountStore-DhfQsEK5.mjs";
28
28
  const t1 = () => {
29
29
  const [c, L] = d.useState(""), { accounts: o } = g(), { selectedAccounts: l } = y(), { setSelectedAccount: u, setSelectedMember: r } = K(), { members: s } = O(), { onEvent: p } = N(), a = [...new Set(l.map((t) => t.account_type))], H = l.find((t) => c === t.guid), h = d.useMemo(
30
30
  () => l.filter((t) => t.is_hidden),
@@ -69,8 +69,8 @@ const t1 = () => {
69
69
  ]
70
70
  }
71
71
  ) }),
72
- children: /* @__PURE__ */ e(x, { children: i.map((f, Z, j) => {
73
- const F = Z === j.length - 1;
72
+ children: /* @__PURE__ */ e(x, { children: i.map((f, Z, $) => {
73
+ const F = Z === $.length - 1;
74
74
  return /* @__PURE__ */ n(d.Fragment, { children: [
75
75
  /* @__PURE__ */ e(
76
76
  W,
@@ -194,7 +194,7 @@ const t1 = () => {
194
194
  onBackClick: c,
195
195
  sx: L,
196
196
  title: a.title,
197
- children: V ? /* @__PURE__ */ n($, { children: [
197
+ children: V ? /* @__PURE__ */ n(j, { children: [
198
198
  /* @__PURE__ */ n(B, { sx: { px: w ? 24 : 12 }, children: [
199
199
  b.length < 1 && /* @__PURE__ */ e(v, { display: "flex", justifyContent: "center", my: 24, children: a.no_accounts }),
200
200
  /* @__PURE__ */ e(l1, {})
@@ -746,7 +746,7 @@ export {
746
746
  I1 as FieldType,
747
747
  N1 as MemberConnectionStatus,
748
748
  U1 as getAccountBalanceDetails,
749
- j1 as getAccountDetailFields,
749
+ $1 as getAccountDetailFields,
750
750
  K as useAccountUiStore,
751
751
  O1 as useGetMergeableAccounts
752
752
  };
@@ -8,14 +8,14 @@ import b from "@mui/material/Stack";
8
8
  import Q from "@mui/material/styles/useTheme";
9
9
  import { Icon as $, Text as p, CategoryIcon as H, H1 as Ge, H3 as Be } from "@mxenabled/mxui";
10
10
  import { u as Pe } from "../BudgetUtil-spowPvBM.mjs";
11
- import { C as Ne } from "../ConnectionsDrawer-Czp-E0-m.mjs";
11
+ import { C as Ne } from "../ConnectionsDrawer-Cl1jJGRv.mjs";
12
12
  import * as E from "d3";
13
13
  import je from "@mui/material/Tooltip";
14
14
  import { g as w, l as j, u as D, e as X, a as ee, p as ze, h as te, f as ne, k as Ue, c as Se } from "../hooks-02T565vf.mjs";
15
15
  import { L as P } from "../Loader-Dp1P2gNw.mjs";
16
16
  import { E as ce } from "../EmptyState-Dcb-o2tl.mjs";
17
17
  import { u as me } from "../useScreenSize-B6JyS_Lj.mjs";
18
- import { A as k, W as Fe } from "../WidgetContainer-BG-fdDOf.mjs";
18
+ import { A as k, W as Fe } from "../WidgetContainer-D7sX3S6R.mjs";
19
19
  import K from "@mui/material/List";
20
20
  import { f as T } from "../NumberFormatting-CtWHhyBX.mjs";
21
21
  import Ae from "@mui/material/Button";
@@ -37,7 +37,7 @@ import Ye from "@mui/material/Snackbar";
37
37
  import be from "@mui/material/Tab";
38
38
  import Ze from "@mui/material/Tabs";
39
39
  import { e as qe } from "../exportTransactionsToCSV-BlVifaOG.mjs";
40
- import { T as xe, a as Je } from "../TransactionDetails-BSfXqkpH.mjs";
40
+ import { T as xe, a as Je } from "../TransactionDetails-B6h5Qo1c.mjs";
41
41
  import ge from "@mui/material/Card";
42
42
  import pe from "@mui/material/CardContent";
43
43
  import { S as ue } from "../StatusBar-BK_uYHAB.mjs";
@@ -46,7 +46,7 @@ import { u as Qe, b as et } from "../CategorySelectorDrawer-Dyzb3UDU.mjs";
46
46
  import Te from "@mui/material/CardHeader";
47
47
  import { subDays as tt } from "date-fns/subDays";
48
48
  import nt from "@mui/material/IconButton";
49
- import { M as ot } from "../ManageIncome-CzTV55Bh.mjs";
49
+ import { M as ot } from "../ManageIncome-Dk2ZDGqw.mjs";
50
50
  const ye = 5, at = 100, rt = 25, st = (t) => {
51
51
  const o = (a) => {
52
52
  a.active || t.alphaTarget(0.3).restart(), a.subject.fx = a.subject.x, a.subject.fy = a.subject.y;
@@ -17,13 +17,13 @@ import { I as he } from "../CashflowStore-D9Dpuz7X.mjs";
17
17
  import { C as Wn } from "../CashflowStore-D9Dpuz7X.mjs";
18
18
  import { b as X } from "../Localization-2MODESHW.mjs";
19
19
  import { M as Qe } from "../MiniWidgetContainer-DqKQNubH.mjs";
20
- import { R as Ve } from "../RecurringSettings-BQDQvmSY.mjs";
20
+ import { R as Ve } from "../RecurringSettings-DNJs5JIe.mjs";
21
21
  import Ke from "@mui/material/Tabs";
22
22
  import Ce from "@mui/material/Tab";
23
23
  import { getUnixTime as U } from "date-fns/getUnixTime";
24
24
  import ee from "@mui/material/List";
25
25
  import te from "@mui/material/ListItem";
26
- import { A as Je } from "../AccountListItem-CR6I3Hl8.mjs";
26
+ import { A as Je } from "../AccountListItem-DKwz0HGB.mjs";
27
27
  import { f as Q, D as V } from "../Dialog-CWW597AF.mjs";
28
28
  import Ze from "@mui/material/ListSubheader";
29
29
  import { f as Z } from "../NumberFormatting-CtWHhyBX.mjs";
@@ -34,17 +34,17 @@ import { addDays as _e } from "date-fns/addDays";
34
34
  import { alpha as et, keyframes as tt } from "@mui/material/styles";
35
35
  import { DataGridPro as nt } from "@mui/x-data-grid-pro";
36
36
  import { T as we } from "../TabContentContainer-j01JYR_7.mjs";
37
- import { M as ot, S as it, i as at, d as Se, c as rt } from "../ManageIncome-CzTV55Bh.mjs";
37
+ import { M as ot, S as it, i as at, d as Se, c as rt } from "../ManageIncome-Dk2ZDGqw.mjs";
38
38
  import { D as $e } from "../Drawer-kEE73B87.mjs";
39
39
  import { formatISO as st } from "date-fns/formatISO";
40
40
  import { fromUnixTime as ye } from "date-fns/fromUnixTime";
41
41
  import { startOfMonth as ct } from "date-fns/startOfMonth";
42
42
  import { subDays as Me } from "date-fns/subDays";
43
- import { S as lt, b as dt } from "../TransactionDetails-BSfXqkpH.mjs";
43
+ import { S as lt, b as dt } from "../TransactionDetails-B6h5Qo1c.mjs";
44
44
  import { F as mt, R as Ie, e as De } from "../RepeatingTransaction-BW4J-jeJ.mjs";
45
45
  import { h as ut } from "../DateUtil-BcuH7ErC.mjs";
46
46
  import { endOfToday as ht } from "date-fns/endOfToday";
47
- import { W as ve, A as Ae } from "../WidgetContainer-BG-fdDOf.mjs";
47
+ import { W as ve, A as Ae } from "../WidgetContainer-D7sX3S6R.mjs";
48
48
  import { F as pt, A as B } from "../Fetch-CkFKy79O.mjs";
49
49
  const K = () => {
50
50
  if (!m.useContext(Ye))
@@ -12,8 +12,8 @@ import { H as rt } from "../Help-DhcC-C05.mjs";
12
12
  import { E as _s } from "../Help-DhcC-C05.mjs";
13
13
  import { M as fs } from "../MicroWidgetContainer-DmYiksbT.mjs";
14
14
  import { M as bs } from "../MiniWidgetContainer-DqKQNubH.mjs";
15
- import { A as xs, D as Cs, W as Ds } from "../WidgetContainer-BG-fdDOf.mjs";
16
- import { i as As, a as Es, e as Ts, l as Bs, A as Is, f as Ns, j as Fs, d as Ms, k as $s, E as Rs, h as Us, N as ks, g as Ls, P as Os, m as Gs, S as Hs } from "../ConnectDrawer-WfKHsHSF.mjs";
15
+ import { A as xs, D as Cs, W as Ds } from "../WidgetContainer-D7sX3S6R.mjs";
16
+ import { g as As, a as Es, e as Ts, l as Bs, A as Is, f as Ns, h as Fs, d as Ms, k as $s, E as Rs, j as Us, N as ks, i as Ls, P as Os, m as Gs, S as Hs } from "../ConnectDrawer-yFS82Il7.mjs";
17
17
  import { C as qs } from "../CurrencyInput-CSZjO22Z.mjs";
18
18
  import { L as Qs } from "../Loader-Dp1P2gNw.mjs";
19
19
  import { R as zs } from "../ResponsiveButton-DZFp78fJ.mjs";
@@ -25,8 +25,8 @@ import { I as ea } from "../IconBacking-B9oC6uL2.mjs";
25
25
  import { D as aa, F as ra, a as oa, c as na, R as ia, S as ca } from "../RepeatingTransaction-BW4J-jeJ.mjs";
26
26
  import { C as nt } from "../CashflowStore-D9Dpuz7X.mjs";
27
27
  import { I as la } from "../CashflowStore-D9Dpuz7X.mjs";
28
- import { b as it } from "../GoalStore-Drf76ell.mjs";
29
- import { C as ha, G as ga, M as pa, T as ma } from "../GoalStore-Drf76ell.mjs";
28
+ import { b as it } from "../GoalStore-ChqCWX_U.mjs";
29
+ import { C as ha, G as ga, M as pa, T as ma } from "../GoalStore-ChqCWX_U.mjs";
30
30
  import { C as ya } from "../CurrencyText-YUhH2caW.mjs";
31
31
  import { E as Sa } from "../EmptyState-Dcb-o2tl.mjs";
32
32
  import { L as wa } from "../ListItemAction-BzmbPuNp.mjs";
@@ -44,7 +44,7 @@ import { D as Ga, a as Ha, O as Pa, b as qa, f as Wa } from "../Dialog-CWW597AF.
44
44
  import { D as gt, a as pt } from "../SingleSegmentDonut-BgbLgwHi.mjs";
45
45
  import { S as Ya } from "../SingleSegmentDonut-BgbLgwHi.mjs";
46
46
  import { D as Xa } from "../Drawer-kEE73B87.mjs";
47
- import { I as ja, P as Va, S as Za } from "../Account-BFol-JYA.mjs";
47
+ import { I as ja, P as Va, S as Za } from "../Account-Bdz1k5WZ.mjs";
48
48
  import { b as E } from "../Category-CevNQ03n.mjs";
49
49
  import { C as tr, c as er, a as sr, P as ar } from "../Category-CevNQ03n.mjs";
50
50
  import { C as or, f as nr, b as ir, a as cr, g as dr, i as lr } from "../NumberFormatting-CtWHhyBX.mjs";
@@ -53,7 +53,7 @@ import { S as hr, T as gr } from "../RecurringTransactionsStore-D62XJtdL.mjs";
53
53
  import { G as mr, A as _r, B as yr, W as fr, c as Sr, k as br, g as wr, t as xr, l as Cr, x as Dr, e as vr, w as Ar, u as Er, m as Tr, a as Br, j as Ir, y as Nr, s as Fr, b as Mr, q as $r, n as Rr, z as Ur, h as kr, r as Lr, f as Or, v as Gr, o as Hr, p as Pr } from "../hooks-02T565vf.mjs";
54
54
  import { u as Wr } from "../useScreenSize-B6JyS_Lj.mjs";
55
55
  import { makeAutoObservable as m, runInAction as p, reaction as _t } from "mobx";
56
- import { a as yt } from "../AccountStore-Cu3GoLh-.mjs";
56
+ import { a as yt } from "../AccountStore-DhfQsEK5.mjs";
57
57
  import ft from "posthog-js";
58
58
  import { B as St } from "../BeatStore-By4aGoRM.mjs";
59
59
  import { endOfMonth as Z } from "date-fns/endOfMonth";
@@ -61,11 +61,11 @@ import { startOfMonth as J } from "date-fns/startOfMonth";
61
61
  import { startOfToday as L } from "date-fns/startOfToday";
62
62
  import { f as bt, a as wt, b as O } from "../BudgetUtil-spowPvBM.mjs";
63
63
  import { g as Yr, e as zr, c as Xr, d as Kr, i as jr } from "../BudgetUtil-spowPvBM.mjs";
64
- import { a as xt } from "../DebtsStore-D9holN8L.mjs";
64
+ import { a as xt } from "../DebtsStore-Bep2cYsx.mjs";
65
65
  import { a as Ct } from "../FinstrongStore-mkALvztw.mjs";
66
66
  import { A as Dt, m as vt, a as At, b as Et } from "../InvestmentUtil-jOyOgzIB.mjs";
67
67
  import { M as Tt } from "../MerchantStore-DVH-QOf0.mjs";
68
- import { N as Bt } from "../NetWorthStore-BK1_NbXW.mjs";
68
+ import { N as Bt } from "../NetWorthStore-DrBL4JEO.mjs";
69
69
  import { a as It } from "../SettingsStore-B4gi6oOw.mjs";
70
70
  import { addMonths as Nt } from "date-fns/addMonths";
71
71
  import { getMonth as T } from "date-fns/getMonth";
@@ -0,0 +1,2 @@
1
+ import { UserFeature } from '../types';
2
+ export declare const isFeatureEnabled: (userFeatures: UserFeature[], featureName: string) => boolean;
@@ -12,9 +12,9 @@ import { useMediaQuery as W } from "@mui/system";
12
12
  import I from "@mui/material/Box";
13
13
  import T from "@mui/material/Button";
14
14
  import $ from "@mui/material/IconButton";
15
- import j from "@mui/material/Tooltip";
16
- import H from "@mui/material/useMediaQuery";
17
- import { i as R, j as Q } from "../ConnectDrawer-WfKHsHSF.mjs";
15
+ import H from "@mui/material/Tooltip";
16
+ import R from "@mui/material/useMediaQuery";
17
+ import { g as j, h as Q } from "../ConnectDrawer-yFS82Il7.mjs";
18
18
  import { u as z } from "../useScreenSize-B6JyS_Lj.mjs";
19
19
  const E = f(() => {
20
20
  const e = k(), {
@@ -56,8 +56,8 @@ const E = f(() => {
56
56
  }
57
57
  ) : null;
58
58
  }), P = ({ handleConnectClick: e }) => {
59
- const { common: c } = v(), i = H("(max-width: 700px)");
60
- return /* @__PURE__ */ t(I, { my: 4, children: i ? /* @__PURE__ */ t(j, { id: "add-accounts", placement: "bottom", title: c.add_accounts, children: /* @__PURE__ */ t(
59
+ const { common: c } = v(), i = R("(max-width: 700px)");
60
+ return /* @__PURE__ */ t(I, { my: 4, children: i ? /* @__PURE__ */ t(H, { id: "add-accounts", placement: "bottom", title: c.add_accounts, children: /* @__PURE__ */ t(
61
61
  $,
62
62
  {
63
63
  "aria-controls": "add_accounts",
@@ -113,7 +113,7 @@ const E = f(() => {
113
113
  /* @__PURE__ */ a(s, { flexDirection: "row", children: [
114
114
  x.show_connections_widget_in_master && /* @__PURE__ */ t(N, { handleConnectClick: () => c(!0) }),
115
115
  /* @__PURE__ */ t(
116
- R,
116
+ j,
117
117
  {
118
118
  accounts: d,
119
119
  copy: n,
@@ -5,21 +5,21 @@ import f from "@mui/material/Stack";
5
5
  import { useTheme as j, Card as pe, Stack as _, Box as O } from "@mui/material";
6
6
  import { Text as i, H3 as we, InstitutionLogo as Ce, Icon as ee } from "@mxenabled/mxui";
7
7
  import { intervalToDuration as De, formatDuration as Se } from "date-fns";
8
- import { D as $ } from "../DebtsStore-D9holN8L.mjs";
9
- import { a as Dr } from "../DebtsStore-D9holN8L.mjs";
8
+ import { D as $ } from "../DebtsStore-Bep2cYsx.mjs";
9
+ import { a as Dr } from "../DebtsStore-Bep2cYsx.mjs";
10
10
  import { f as B, a as ve } from "../NumberFormatting-CtWHhyBX.mjs";
11
11
  import { f as K, D as U } from "../Dialog-CWW597AF.mjs";
12
12
  import { G as Te, x as q, u as C, j as z, e as M, c as Z, a as Ae } from "../hooks-02T565vf.mjs";
13
13
  import { u as X } from "../useScreenSize-B6JyS_Lj.mjs";
14
14
  import { D as te } from "../Drawer-kEE73B87.mjs";
15
15
  import { b as T } from "../Localization-2MODESHW.mjs";
16
- import { A as Ee, u as Ie } from "../AccountDetailsHeader-DnEyQMpX.mjs";
16
+ import { A as Ee, u as Ie } from "../AccountDetailsHeader-uX5amBaR.mjs";
17
17
  import Be from "@mui/material/Card";
18
18
  import Me from "@mui/material/CardContent";
19
19
  import ke from "@mui/material/CardHeader";
20
20
  import { LineChart as Pe } from "@mui/x-charts";
21
21
  import { useTheme as Ne } from "@mui/material/styles";
22
- import { A as v, W as Re } from "../WidgetContainer-BG-fdDOf.mjs";
22
+ import { A as v, W as Re } from "../WidgetContainer-D7sX3S6R.mjs";
23
23
  import ie from "@mui/material/Tab";
24
24
  import $e from "@mui/material/Tabs";
25
25
  import me from "@mui/material/List";
@@ -36,7 +36,7 @@ import { T as de } from "../TabContentContainer-j01JYR_7.mjs";
36
36
  import { DataGridPro as Ge } from "@mui/x-data-grid-pro";
37
37
  import ue from "@mui/material/Box";
38
38
  import { H as G } from "../HeaderCell-DjuifqHJ.mjs";
39
- import { f as je } from "../ConnectDrawer-WfKHsHSF.mjs";
39
+ import { f as je } from "../ConnectDrawer-yFS82Il7.mjs";
40
40
  import be from "@mui/material/Button";
41
41
  import ze from "@mui/material/IconButton";
42
42
  import Xe from "@mui/material/ListItem";
@@ -23,14 +23,14 @@ import { F as No, a as Ko } from "../FinstrongStore-mkALvztw.mjs";
23
23
  import q from "@mui/material/Button";
24
24
  import J from "@mui/material/Card";
25
25
  import { L as be } from "../LineChart-CYiUS-px.mjs";
26
- import { j as xe } from "../ConnectDrawer-WfKHsHSF.mjs";
26
+ import { h as xe } from "../ConnectDrawer-yFS82Il7.mjs";
27
27
  import Xe from "@mui/material/Accordion";
28
28
  import je from "@mui/material/AccordionDetails";
29
29
  import Ue from "@mui/material/AccordionSummary";
30
30
  import Ve from "@mui/material/CardHeader";
31
31
  import { u as Ye } from "../useDimensions-27p2evRx.mjs";
32
- import { C as qe } from "../ConnectionsDrawer-Czp-E0-m.mjs";
33
- import { R as Je } from "../RecurringSettings-BQDQvmSY.mjs";
32
+ import { C as qe } from "../ConnectionsDrawer-Cl1jJGRv.mjs";
33
+ import { R as Je } from "../RecurringSettings-DNJs5JIe.mjs";
34
34
  import Qe from "@mui/material/TextField";
35
35
  import { u as Ce } from "../useScreenSize-B6JyS_Lj.mjs";
36
36
  import { a as Ze } from "../Dialog-CWW597AF.mjs";
@@ -48,7 +48,7 @@ import ct from "@mui/lab/TimelineConnector";
48
48
  import lt from "@mui/lab/TimelineContent";
49
49
  import dt from "@mui/lab/TimelineDot";
50
50
  import pt from "@mui/lab/TimelineSeparator";
51
- import { W as mt } from "../WidgetContainer-BG-fdDOf.mjs";
51
+ import { W as mt } from "../WidgetContainer-D7sX3S6R.mjs";
52
52
  var A = /* @__PURE__ */ ((n) => (n.Connections = "connections", n.CreditScore = "credit_score", n.DateOfBirth = "date_of_birth", n.MonthlyIncome = "monthly_income", n))(A || {});
53
53
  const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor: "background.paper" }, children: /* @__PURE__ */ e(
54
54
  Be,
@@ -1,5 +1,5 @@
1
- import { T as i, M as G, C as fe, G as pe } from "../GoalStore-Drf76ell.mjs";
2
- import { a as Xn, b as $n } from "../GoalStore-Drf76ell.mjs";
1
+ import { T as i, M as G, C as fe, G as pe } from "../GoalStore-ChqCWX_U.mjs";
2
+ import { a as Xn, b as $n } from "../GoalStore-ChqCWX_U.mjs";
3
3
  import { jsxs as s, jsx as e, Fragment as Y } from "react/jsx-runtime";
4
4
  import T from "react";
5
5
  import { observer as M } from "mobx-react-lite";
@@ -37,9 +37,9 @@ import P from "@mui/material/ListItemAvatar";
37
37
  import Je from "@mui/material/Collapse";
38
38
  import Qe from "@mui/material/ListItemIcon";
39
39
  import et from "@mui/material/Checkbox";
40
- import { A as be } from "../ConnectDrawer-WfKHsHSF.mjs";
41
- import { u as tt, A as nt } from "../AccountDetailsHeader-DnEyQMpX.mjs";
42
- import { A as ot } from "../AccountDetailsContent-OzI5Hs8T.mjs";
40
+ import { A as be } from "../ConnectDrawer-yFS82Il7.mjs";
41
+ import { u as tt, A as nt } from "../AccountDetailsHeader-uX5amBaR.mjs";
42
+ import { A as ot } from "../AccountDetailsContent-CEjEyv_M.mjs";
43
43
  import Ne from "@mui/material/TextField";
44
44
  import { M as at, I as rt, O as it } from "../OriginalBalanceAction-CSu5brQE.mjs";
45
45
  import { getUnixTime as lt } from "date-fns/getUnixTime";
@@ -48,7 +48,7 @@ import { AdapterDateFns as ct } from "@mui/x-date-pickers/AdapterDateFnsV3";
48
48
  import { DatePicker as dt } from "@mui/x-date-pickers";
49
49
  import { LocalizationProvider as mt } from "@mui/x-date-pickers/LocalizationProvider";
50
50
  import { E as _t } from "../EmptyState-Dcb-o2tl.mjs";
51
- import { A as Z, W as ut } from "../WidgetContainer-BG-fdDOf.mjs";
51
+ import { A as Z, W as ut } from "../WidgetContainer-D7sX3S6R.mjs";
52
52
  import { L as ke } from "../Loader-Dp1P2gNw.mjs";
53
53
  import pt from "@mui/material/Stack/Stack";
54
54
  import ht from "@mui/material/Box";
@@ -3,7 +3,7 @@ import { observer as t } from "mobx-react-lite";
3
3
  import { H as m } from "../Help-BazrEpv7.mjs";
4
4
  import { a as s } from "../hooks-02T565vf.mjs";
5
5
  import { L as p } from "../Loader-Dp1P2gNw.mjs";
6
- import { W as a } from "../WidgetContainer-BG-fdDOf.mjs";
6
+ import { W as a } from "../WidgetContainer-D7sX3S6R.mjs";
7
7
  const x = t(({ sx: o }) => {
8
8
  const { isCopyLoaded: i, isInitialized: e } = s();
9
9
  return !i || !e ? /* @__PURE__ */ r(p, {}) : /* @__PURE__ */ r(a, { sx: { p: 16 }, children: /* @__PURE__ */ r(m, { sx: o }) });
@@ -4,7 +4,7 @@ import { observer as P } from "mobx-react-lite";
4
4
  import _ from "@mui/material/Stack";
5
5
  import Ee from "@mui/material/Tab";
6
6
  import Ge from "@mui/material/Tabs";
7
- import { C as ge } from "../ConnectionsDrawer-Czp-E0-m.mjs";
7
+ import { C as ge } from "../ConnectionsDrawer-Cl1jJGRv.mjs";
8
8
  import pe from "@mui/material/useMediaQuery";
9
9
  import Me from "@mui/material/Box";
10
10
  import Ne from "@mui/material/Collapse";
@@ -17,7 +17,7 @@ import ye from "@mui/material/ToggleButtonGroup";
17
17
  import { Text as r, H1 as fe, P as ve, InstitutionLogo as ne } from "@mxenabled/mxui";
18
18
  import Ue from "@mui/material/Button";
19
19
  import { u as E, e as be, s as H, a as Q, c as se } from "../hooks-02T565vf.mjs";
20
- import { A as z, W as je } from "../WidgetContainer-BG-fdDOf.mjs";
20
+ import { A as z, W as je } from "../WidgetContainer-D7sX3S6R.mjs";
21
21
  import { a as ze, f as oe } from "../NumberFormatting-CtWHhyBX.mjs";
22
22
  import { u as U } from "../useScreenSize-B6JyS_Lj.mjs";
23
23
  import le from "@mui/material/styles/useTheme";
@@ -19,15 +19,15 @@ import { i as ne } from "../DateUtil-BcuH7ErC.mjs";
19
19
  import { C as y } from "../CurrencyText-YUhH2caW.mjs";
20
20
  import { Button as Te, Stack as Le } from "@mui/material";
21
21
  import { format as Ne, fromUnixTime as De, differenceInMonths as Ee } from "date-fns";
22
- import { g as K } from "../NetWorthStore-BK1_NbXW.mjs";
23
- import { N as Ot } from "../NetWorthStore-BK1_NbXW.mjs";
22
+ import { g as K } from "../NetWorthStore-DrBL4JEO.mjs";
23
+ import { N as Ot } from "../NetWorthStore-DrBL4JEO.mjs";
24
24
  import { Icon as oe } from "@mxenabled/mx-icons";
25
25
  import { f as U } from "../NumberFormatting-CtWHhyBX.mjs";
26
- import { A as b, W as ke } from "../WidgetContainer-BG-fdDOf.mjs";
26
+ import { A as b, W as ke } from "../WidgetContainer-D7sX3S6R.mjs";
27
27
  import { L as O } from "../Loader-Dp1P2gNw.mjs";
28
28
  import { M as Ae } from "../MicroWidgetContainer-DmYiksbT.mjs";
29
29
  import re from "@mui/material/Box";
30
- import { C as Me } from "../ConnectionsDrawer-Czp-E0-m.mjs";
30
+ import { C as Me } from "../ConnectionsDrawer-Cl1jJGRv.mjs";
31
31
  import He from "@mui/material/Collapse";
32
32
  import V from "@mui/material/ListItemIcon";
33
33
  import ie from "@mui/material/styles/useTheme";
@@ -8,8 +8,8 @@ import { startOfToday as le } from "date-fns/startOfToday";
8
8
  import { subDays as de } from "date-fns/subDays";
9
9
  import re from "@mui/material/Skeleton";
10
10
  import c from "@mui/material/Stack";
11
- import { R as He } from "../RecurringSettings-BQDQvmSY.mjs";
12
- import { M as An } from "../RecurringSettings-BQDQvmSY.mjs";
11
+ import { R as He } from "../RecurringSettings-DNJs5JIe.mjs";
12
+ import { M as An } from "../RecurringSettings-DNJs5JIe.mjs";
13
13
  import { addMonths as ze } from "date-fns/addMonths";
14
14
  import { subMonths as Be } from "date-fns/subMonths";
15
15
  import { isBefore as Ue } from "date-fns/isBefore";
@@ -32,7 +32,7 @@ import { u as D, a as V, h as v, e as X, c as pe, f as ge, p as rt } from "../ho
32
32
  import { c as M, a as R, g as De, f as ot } from "../RepeatingTransaction-BW4J-jeJ.mjs";
33
33
  import { T as P } from "../RecurringTransactionsStore-D62XJtdL.mjs";
34
34
  import { R as Gn } from "../RecurringTransactionsStore-D62XJtdL.mjs";
35
- import { A as _, W as at } from "../WidgetContainer-BG-fdDOf.mjs";
35
+ import { A as _, W as at } from "../WidgetContainer-D7sX3S6R.mjs";
36
36
  import st from "@mui/material/Button";
37
37
  import se from "@mui/material/Divider";
38
38
  import Se from "@mui/material/List";
@@ -41,8 +41,8 @@ import ct from "@mui/material/ListSubheader";
41
41
  import lt from "@mui/material/ListItemAvatar";
42
42
  import dt from "@mui/material/ListItemButton";
43
43
  import ut from "@mui/material/ListItemText";
44
- import { b as mt } from "../ManageIncome-CzTV55Bh.mjs";
45
- import { c as On, M as kn, S as Wn } from "../ManageIncome-CzTV55Bh.mjs";
44
+ import { b as mt } from "../ManageIncome-Dk2ZDGqw.mjs";
45
+ import { c as On, M as kn, S as Wn } from "../ManageIncome-Dk2ZDGqw.mjs";
46
46
  import { f as L } from "../NumberFormatting-CtWHhyBX.mjs";
47
47
  import { D as Ae } from "../Drawer-kEE73B87.mjs";
48
48
  import { b as N } from "../Localization-2MODESHW.mjs";
@@ -42,7 +42,7 @@ import Me from "@mui/material/ListItemIcon";
42
42
  import Ne from "@mui/material/ListItemText";
43
43
  import { D as He } from "../Drawer-kEE73B87.mjs";
44
44
  import { H as Le } from "../Help-BazrEpv7.mjs";
45
- import { W as K } from "../WidgetContainer-BG-fdDOf.mjs";
45
+ import { W as K } from "../WidgetContainer-D7sX3S6R.mjs";
46
46
  const Oe = ({ availableWidth: t, handleOnLeavClick: a }) => {
47
47
  const o = ye(), { common: n, settings: r } = k(), { isDesktop: m, isMobile: l, isSmallMobile: i, isTablet: s } = L(t), { config: g } = $(), { updateUser: _ } = A(), { user: d } = De(), [u, S] = h.useState({
48
48
  first_name: d.first_name,
@@ -20,14 +20,14 @@ import { D as bt } from "../Donut-1UMNcG67.mjs";
20
20
  import { L as F } from "../Loader-Dp1P2gNw.mjs";
21
21
  import { M as St } from "../MiniWidgetContainer-DqKQNubH.mjs";
22
22
  import { startOfToday as U } from "date-fns/startOfToday";
23
- import { T as Tt, a as Mt } from "../TransactionDetails-BSfXqkpH.mjs";
23
+ import { T as Tt, a as Mt } from "../TransactionDetails-B6h5Qo1c.mjs";
24
24
  import Dt from "@mui/material/Collapse";
25
25
  import B from "@mui/material/Divider";
26
26
  import q from "@mui/material/List";
27
27
  import J from "@mui/material/ListItem";
28
28
  import xt from "@mui/material/ListItemButton";
29
29
  import { D as Q } from "../Drawer-kEE73B87.mjs";
30
- import { A as Z, W as wt } from "../WidgetContainer-BG-fdDOf.mjs";
30
+ import { A as Z, W as wt } from "../WidgetContainer-D7sX3S6R.mjs";
31
31
  const j = 5, vt = (n, l, r) => r.reduce((i, c) => {
32
32
  if (c.total > 0) {
33
33
  const a = n.find((s) => s.guid === c.category_guid);
@@ -1,6 +1,6 @@
1
1
  import { T as ha } from "../TransactionApi-DbbcjI2L.mjs";
2
- import { u as B, C as Le, D as Re, M as He, c as Be, T as Pe, a as $e } from "../TransactionDetails-BSfXqkpH.mjs";
3
- import { B as Ca, d as ya, b as ba } from "../TransactionDetails-BSfXqkpH.mjs";
2
+ import { u as B, C as Le, D as Re, M as He, c as Be, T as Pe, a as $e } from "../TransactionDetails-B6h5Qo1c.mjs";
3
+ import { B as Ca, d as ya, b as ba } from "../TransactionDetails-B6h5Qo1c.mjs";
4
4
  import { T as M } from "../Transaction-CyqrHmAA.mjs";
5
5
  import { O as Aa } from "../Transaction-CyqrHmAA.mjs";
6
6
  import { S as ee, D as Ve } from "../TransactionStore-DSyXtPek.mjs";
@@ -26,7 +26,7 @@ import { getUnixTime as tt } from "date-fns/getUnixTime";
26
26
  import { startOfMonth as at } from "date-fns/startOfMonth";
27
27
  import { startOfToday as z } from "date-fns/startOfToday";
28
28
  import nt from "@mui/material/styles/useTheme";
29
- import { j as ot } from "../ConnectDrawer-WfKHsHSF.mjs";
29
+ import { h as ot } from "../ConnectDrawer-yFS82Il7.mjs";
30
30
  import rt from "@mui/material/Divider";
31
31
  import st from "@mui/material/MenuItem";
32
32
  import it from "@mui/material/RadioGroup";
@@ -34,7 +34,7 @@ import { ExpandMore as ct } from "@mxenabled/mx-icons";
34
34
  import { C as lt } from "../CurrencyInput-CSZjO22Z.mjs";
35
35
  import { a as dt, u as ut } from "../CategorySelectorDrawer-Dyzb3UDU.mjs";
36
36
  import { b as ae } from "../Localization-2MODESHW.mjs";
37
- import { A as T, W as mt } from "../WidgetContainer-BG-fdDOf.mjs";
37
+ import { A as T, W as mt } from "../WidgetContainer-D7sX3S6R.mjs";
38
38
  import { u as _t } from "../useScreenSize-B6JyS_Lj.mjs";
39
39
  import { S as pt } from "../SearchBox-B2_zLv8-.mjs";
40
40
  import { D as ne } from "../Drawer-kEE73B87.mjs";
@@ -21,8 +21,8 @@ import { c as ve } from "../Category-CevNQ03n.mjs";
21
21
  import { b as nt } from "../Localization-2MODESHW.mjs";
22
22
  import { H as _e } from "../HeaderCell-DjuifqHJ.mjs";
23
23
  import { T as R, b as ot } from "../ViewMoreMicroCard-BZI5VMNW.mjs";
24
- import { A as _, W as Me } from "../WidgetContainer-BG-fdDOf.mjs";
25
- import { a as Ae, T as Re } from "../TransactionDetails-BSfXqkpH.mjs";
24
+ import { A as _, W as Me } from "../WidgetContainer-D7sX3S6R.mjs";
25
+ import { a as Ae, T as Re } from "../TransactionDetails-B6h5Qo1c.mjs";
26
26
  import { D as Ce } from "../Drawer-kEE73B87.mjs";
27
27
  import { L as q } from "../Loader-Dp1P2gNw.mjs";
28
28
  import { useTheme as ke } from "@mui/material/styles";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mx-cartographer/experiences",
3
- "version": "7.0.8",
3
+ "version": "7.0.9-alpha.mega1",
4
4
  "description": "Library containing experience widgets",
5
5
  "author": "MX",
6
6
  "license": "MIT",