@mx-cartographer/experiences 7.1.2 → 7.1.3-alpha.mm1

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 (61) hide show
  1. package/CHANGELOG.md +0 -5
  2. package/dist/{Account-8IUM_CLv.mjs → Account-DKy2na__.mjs} +1 -1
  3. package/dist/{AccountDetailsContent-CuZSSAEc.mjs → AccountDetailsContent-CCOCsdoL.mjs} +8 -8
  4. package/dist/{AccountDetailsHeader-BZBsIKdF.mjs → AccountDetailsHeader-Ca9SPAjA.mjs} +6 -6
  5. package/dist/{AccountFields-BD_0GT68.mjs → AccountFields-DDAr5SEq.mjs} +2 -2
  6. package/dist/{AccountListItem-CllIBCao.mjs → AccountListItem-CMes1Q7Z.mjs} +4 -4
  7. package/dist/{AccountStore-BL0FE1QL.mjs → AccountStore-DYOG9MYj.mjs} +45 -53
  8. package/dist/{Accounts-Bvc9TJaO.mjs → Accounts-BNvFndCa.mjs} +1 -1
  9. package/dist/{BudgetUtil-psfk-Amb.mjs → BudgetUtil-B2ZXyw-g.mjs} +1 -1
  10. package/dist/{CategorySelectorDrawer-BmenK5bu.mjs → CategorySelectorDrawer-DUe4lH5-.mjs} +1 -1
  11. package/dist/{ConnectDrawer-CPTXh70j.mjs → ConnectDrawer-CHG5Lv_B.mjs} +8 -8
  12. package/dist/{ConnectionsDrawer-Dkb4vBmt.mjs → ConnectionsDrawer-BeB6ab8V.mjs} +2 -2
  13. package/dist/{CurrencyInput-C4xNRL2W.mjs → CurrencyInput-CsCy7uaS.mjs} +1 -1
  14. package/dist/{DebtsStore-D4grpB4m.mjs → DebtsStore-BblTVTMD.mjs} +1 -1
  15. package/dist/{ExportCsvAction-CBJAfyAw.mjs → ExportCsvAction-sX8Rg4Ov.mjs} +3 -3
  16. package/dist/{GoalStore-B5MZzPLZ.mjs → GoalStore-CSsU4LR2.mjs} +2 -2
  17. package/dist/{Help-CzBAsKA2.mjs → Help-B6dIcujh.mjs} +1 -1
  18. package/dist/{LineChart-B35qvXik.mjs → LineChart-D4GI7nVh.mjs} +1 -1
  19. package/dist/{ListItemAction-DSrYDGAP.mjs → ListItemAction-DHa3KJPs.mjs} +1 -1
  20. package/dist/{ManageIncome-DUuT-yMV.mjs → ManageIncome-DqG75uQd.mjs} +34 -34
  21. package/dist/{MicroWidgetContainer-C4QQHfD7.mjs → MicroWidgetContainer-DpeqN9n3.mjs} +1 -1
  22. package/dist/{MiniWidgetContainer-DTQdRK-3.mjs → MiniWidgetContainer-D0gfmbaF.mjs} +1 -1
  23. package/dist/{NetWorthStore-Do1Gk8Te.mjs → NetWorthStore-BbA7H83o.mjs} +2 -2
  24. package/dist/{NotificationSettings-BuShgjn6.mjs → NotificationSettings-BRm_EJZV.mjs} +3 -3
  25. package/dist/{OriginalBalanceAction-BsxcvNEF.mjs → OriginalBalanceAction-CAaVbVMO.mjs} +3 -3
  26. package/dist/{RecurringSettings-BVOt46uV.mjs → RecurringSettings-B9l_Axnd.mjs} +3 -3
  27. package/dist/{TransactionDetails-_cXLXTd3.mjs → TransactionDetails-DPvvi4Iu.mjs} +5 -5
  28. package/dist/{TransactionStore-B-Tq_YFE.mjs → TransactionStore-CBrJOY0H.mjs} +2 -2
  29. package/dist/{TrendsStore-ZZ8X36lJ.mjs → TrendsStore-DCYbpXPO.mjs} +1 -1
  30. package/dist/{User-DaJAQ09j.mjs → User-BQUxBeZV.mjs} +1 -1
  31. package/dist/{WidgetContainer-DtPnPQZY.mjs → WidgetContainer-BMWagbIl.mjs} +10 -10
  32. package/dist/accounts/index.es.js +13 -13
  33. package/dist/accounts/stores/AccountStore.d.ts +0 -2
  34. package/dist/analytics/index.es.js +2 -2
  35. package/dist/budgets/index.es.js +10 -10
  36. package/dist/cashflow/index.es.js +35 -35
  37. package/dist/categories/index.es.js +1 -1
  38. package/dist/common/context/GlobalDataProvider.d.ts +1 -0
  39. package/dist/common/context/hooks.d.ts +3 -0
  40. package/dist/common/context/index.d.ts +1 -1
  41. package/dist/common/index.es.js +50 -49
  42. package/dist/dashboard/index.es.js +79 -77
  43. package/dist/debts/index.es.js +9 -9
  44. package/dist/{exportTransactionsToCSV-D8TTNrrE.mjs → exportTransactionsToCSV-7bVS7KXf.mjs} +1 -1
  45. package/dist/finstrong/index.es.js +6 -6
  46. package/dist/goals/index.es.js +52 -52
  47. package/dist/help/index.es.js +3 -3
  48. package/dist/hooks-D6XlXHf4.mjs +77 -0
  49. package/dist/investments/index.es.js +3 -3
  50. package/dist/merchants/index.es.js +1 -1
  51. package/dist/networth/index.es.js +7 -7
  52. package/dist/notifications/index.es.js +2 -2
  53. package/dist/recurringtransactions/index.es.js +19 -19
  54. package/dist/settings/index.es.js +6 -6
  55. package/dist/spending/index.es.js +4 -4
  56. package/dist/transactions/index.es.js +13 -13
  57. package/dist/trends/index.es.js +449 -449
  58. package/dist/{useAccountDisplayName-BXGkZN5B.mjs → useAccountDisplayName-BEorBm5u.mjs} +2 -2
  59. package/dist/{useInsightsEnabled-DSnpkUq0.mjs → useInsightsEnabled-DBpwEq10.mjs} +1 -1
  60. package/package.json +1 -1
  61. package/dist/hooks-CE2TKk4a.mjs +0 -74
package/CHANGELOG.md CHANGED
@@ -1,8 +1,3 @@
1
- ## [7.1.2] - 11-07-2025
2
-
3
- - **ADDED** - `visibleRetirementAccounts` and `retirementAccounts` getters to `AccountStore`
4
- - **UPDATED** - `AddRetirementAccountAction` and `GoalDetailsDrawer` to retirement accounts instead of only investment accounts
5
-
6
1
  ## [7.1.1] - 11-06-2025
7
2
 
8
3
  - **UPDATED** - Cash Flow widget to show add income button when no recurring income transactions
@@ -1,4 +1,4 @@
1
- import { A as C } from "./ConnectDrawer-CPTXh70j.mjs";
1
+ import { A as C } from "./ConnectDrawer-CHG5Lv_B.mjs";
2
2
  const I = [
3
3
  C.ANY,
4
4
  C.CASH,
@@ -11,10 +11,10 @@ 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-BZBsIKdF.mjs";
15
- import { d as z, u as E, g as O, h as X } from "./hooks-CE2TKk4a.mjs";
16
- import { A as at } from "./AccountListItem-CllIBCao.mjs";
17
- import { A as k } from "./WidgetContainer-DtPnPQZY.mjs";
14
+ import { u as D } from "./AccountDetailsHeader-Ca9SPAjA.mjs";
15
+ import { d as z, u as E, g as O, h as X } from "./hooks-D6XlXHf4.mjs";
16
+ import { A as at } from "./AccountListItem-CMes1Q7Z.mjs";
17
+ import { A as k } from "./WidgetContainer-BMWagbIl.mjs";
18
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";
@@ -22,7 +22,7 @@ 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 { n as m, N as Q, l as Z, F as P } from "./ConnectDrawer-CPTXh70j.mjs";
25
+ import { m, N as Q, k as Z, F as P } from "./ConnectDrawer-CHG5Lv_B.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";
@@ -37,14 +37,14 @@ import { LocalizationProvider as ft } from "@mui/x-date-pickers-pro";
37
37
  import At from "@mui/material/MenuItem";
38
38
  import bt from "@mui/material/Select";
39
39
  import Tt from "@mui/material/TextField";
40
- import { C as St } from "./CurrencyInput-C4xNRL2W.mjs";
41
- import { b as Dt } from "./AccountFields-BD_0GT68.mjs";
40
+ import { C as St } from "./CurrencyInput-CsCy7uaS.mjs";
41
+ import { b as Dt } from "./AccountFields-DDAr5SEq.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-_cXLXTd3.mjs";
47
+ import { T as vt, a as Lt } from "./TransactionDetails-DPvvi4Iu.mjs";
48
48
  import { T as j } from "./TabContentContainer-j01JYR_7.mjs";
49
49
  const U = ({
50
50
  children: e,
@@ -2,20 +2,20 @@ 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 v } from "./AccountFields-BD_0GT68.mjs";
5
+ import { g as v } from "./AccountFields-DDAr5SEq.mjs";
6
6
  import h from "react";
7
- import { G as E, d as y, m as S, u as _, f as G } from "./hooks-CE2TKk4a.mjs";
7
+ import { G as E, d as y, m as S, u as _, f as G } from "./hooks-D6XlXHf4.mjs";
8
8
  import O from "@mui/material/Card";
9
9
  import P from "@mui/material/CardContent";
10
10
  import M from "@mui/material/CardHeader";
11
11
  import { useTheme as B } from "@mui/material/styles";
12
12
  import { g as H, a as U, b as j } from "./SpendingData-D5vsfYKo.mjs";
13
- import { L as z } from "./LineChart-B35qvXik.mjs";
14
- import { I as f, P as g, S as C } from "./Account-8IUM_CLv.mjs";
15
- import { A } from "./ConnectDrawer-CPTXh70j.mjs";
13
+ import { L as z } from "./LineChart-D4GI7nVh.mjs";
14
+ import { I as f, P as g, S as C } from "./Account-DKy2na__.mjs";
15
+ import { A } from "./ConnectDrawer-CHG5Lv_B.mjs";
16
16
  import { L as Y } from "./Loader-DUaFpDGv.mjs";
17
17
  import { f as R, D as $ } from "./Dialog-CWW597AF.mjs";
18
- import { u as k } from "./useAccountDisplayName-BXGkZN5B.mjs";
18
+ import { u as k } from "./useAccountDisplayName-BEorBm5u.mjs";
19
19
  import { f as F } from "./NumberFormatting-Buh7u8Oi.mjs";
20
20
  const b = () => {
21
21
  if (!h.useContext(E))
@@ -1,7 +1,7 @@
1
1
  import { jsx as u } from "react/jsx-runtime";
2
2
  import { Icon as p, Text as y } from "@mxenabled/mxui";
3
- import { F as m, A as d, a as v, P as h, b as F } from "./ConnectDrawer-CPTXh70j.mjs";
4
- import { i as T, u as D, a as A, b as g, c as O } from "./Accounts-Bvc9TJaO.mjs";
3
+ import { F as m, A as d, a as v, P as h, b as F } from "./ConnectDrawer-CHG5Lv_B.mjs";
4
+ import { i as T, u as D, a as A, b as g, c as O } from "./Accounts-BNvFndCa.mjs";
5
5
  import { f as _, i as b, a as N, b as S } from "./NumberFormatting-Buh7u8Oi.mjs";
6
6
  import { b as i } from "./Localization-2MODESHW.mjs";
7
7
  import { f as o, D as f } from "./Dialog-CWW597AF.mjs";
@@ -10,10 +10,10 @@ import B from "@mui/material/styles/useTheme";
10
10
  import { InstitutionLogo as L, Text as o } from "@mxenabled/mxui";
11
11
  import { Error as A } from "@mxenabled/mx-icons";
12
12
  import { I as j } from "./IconBacking-B9oC6uL2.mjs";
13
- import { g as T } from "./AccountFields-BD_0GT68.mjs";
14
- import { u as X } from "./useAccountDisplayName-BXGkZN5B.mjs";
15
- import { d } from "./ConnectDrawer-CPTXh70j.mjs";
16
- import { u as $ } from "./hooks-CE2TKk4a.mjs";
13
+ import { g as T } from "./AccountFields-DDAr5SEq.mjs";
14
+ import { u as X } from "./useAccountDisplayName-BEorBm5u.mjs";
15
+ import { d } from "./ConnectDrawer-CHG5Lv_B.mjs";
16
+ import { u as $ } from "./hooks-D6XlXHf4.mjs";
17
17
  import { f as k } from "./NumberFormatting-Buh7u8Oi.mjs";
18
18
  const w = {
19
19
  gridRow: 1,
@@ -1,11 +1,11 @@
1
- import { makeAutoObservable as A, runInAction as a } from "mobx";
2
- import { i as f } from "./User-DaJAQ09j.mjs";
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 b } from "./ConnectDrawer-CPTXh70j.mjs";
5
- class _ {
1
+ import { makeAutoObservable as _, runInAction as a } from "mobx";
2
+ import { i as g } from "./User-BQUxBeZV.mjs";
3
+ import { F as f, A as i } from "./Fetch-87LIQbEA.mjs";
4
+ import { A as n, d as h, E as p, h as y, i as I } from "./ConnectDrawer-CHG5Lv_B.mjs";
5
+ class l {
6
6
  fetchInstance;
7
- constructor(t, e, n) {
8
- this.fetchInstance = new p(t, e, void 0, n);
7
+ constructor(t, e, s) {
8
+ this.fetchInstance = new f(t, e, void 0, s);
9
9
  }
10
10
  createAccount = async (t) => this.fetchInstance.post(i.ACCOUNTS, t).then((e) => e.account).catch((e) => e);
11
11
  deleteAccount = async (t) => this.fetchInstance.delete(`${i.ACCOUNTS}/${t}`).catch((e) => e);
@@ -17,26 +17,26 @@ class _ {
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 E {
20
+ class b {
21
21
  isLoading = !1;
22
22
  selectedAccount = {};
23
23
  selectedMember = {};
24
24
  constructor() {
25
- A(this);
25
+ _(this);
26
26
  }
27
27
  setIsLoading = (t) => this.isLoading = t;
28
28
  setSelectedAccount = (t) => this.selectedAccount = t;
29
29
  setSelectedMember = (t) => this.selectedMember = t;
30
30
  }
31
- class T {
31
+ class N {
32
32
  globalStore;
33
- api = new _("/", "");
33
+ api = new l("/", "");
34
34
  accounts = [];
35
35
  institutions = [];
36
36
  members = [];
37
37
  uiStore;
38
38
  constructor(t) {
39
- this.globalStore = t, this.uiStore = new E(), this.api = new _(t.endpoint, t.sessionToken, t.onError), A(this);
39
+ this.globalStore = t, this.uiStore = new b(), this.api = new l(t.endpoint, t.sessionToken, t.onError), _(this);
40
40
  }
41
41
  loadAccountData = async ({
42
42
  accounts: t,
@@ -46,41 +46,36 @@ class T {
46
46
  };
47
47
  get cashAccounts() {
48
48
  return this.accounts.filter(
49
- (t) => t.account_type === c.CASH || t.account_type === c.CHECKING || t.account_type === c.PREPAID || t.account_type === c.SAVINGS || t.account_type === c.CHECKING_LINE_OF_CREDIT
49
+ (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
50
50
  );
51
51
  }
52
52
  get cashBalance() {
53
53
  return this.cashAccounts.reduce((t, e) => t + (e?.balance || 0), 0);
54
54
  }
55
55
  get checkingAccounts() {
56
- return this.accounts.filter((t) => t.account_type === c.CHECKING);
56
+ return this.accounts.filter((t) => t.account_type === n.CHECKING);
57
57
  }
58
58
  get debtAccounts() {
59
59
  return this.accounts.filter(
60
- (t) => t.account_type === c.CREDIT_CARD || t.account_type === c.LOAN || t.account_type === c.MORTGAGE || t.account_type === c.LINE_OF_CREDIT || t.account_type === c.CHECKING_LINE_OF_CREDIT
60
+ (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
61
61
  );
62
62
  }
63
63
  get finstrongAccounts() {
64
64
  const t = /* @__PURE__ */ new Set([
65
- c.CHECKING,
66
- c.SAVINGS,
67
- c.CREDIT_CARD,
68
- c.INVESTMENT
65
+ n.CHECKING,
66
+ n.SAVINGS,
67
+ n.CREDIT_CARD,
68
+ n.INVESTMENT
69
69
  ]);
70
70
  return this.accounts.filter((e) => t.has(e.account_type));
71
71
  }
72
72
  get investmentAccounts() {
73
73
  return this.accounts.filter(
74
- (t) => t.account_type === c.INVESTMENT
74
+ (t) => t.account_type === n.INVESTMENT
75
75
  );
76
76
  }
77
77
  get savingsAccounts() {
78
- return this.accounts.filter((t) => t.account_type === c.SAVINGS);
79
- }
80
- get retirementAccounts() {
81
- return this.accounts.filter(
82
- (t) => t.account_type === c.INVESTMENT || t.account_type === c.SAVINGS || t.account_type === c.CHECKING || t.account_type === c.CASH || t.account_type === c.PROPERTY || t.account_type === c.INSURANCE && (t.account_subtype === d.WHOLE_LIFE || t.account_subtype === d.UNIVERSAL_LIFE || t.account_subtype === d.VARIABLE_UNIVERSAL_LIFE)
83
- );
78
+ return this.accounts.filter((t) => t.account_type === n.SAVINGS);
84
79
  }
85
80
  get visibleAccounts() {
86
81
  return this.accounts.filter((t) => !t.is_hidden);
@@ -102,9 +97,6 @@ class T {
102
97
  (t) => !(t.is_closed || t.is_deleted || t.is_hidden)
103
98
  );
104
99
  }
105
- get visibleRetirementAccounts() {
106
- return this.retirementAccounts.filter((t) => !t.is_hidden);
107
- }
108
100
  get visibleInvestmentAccounts() {
109
101
  return this.investmentAccounts.filter((t) => !t.is_hidden);
110
102
  }
@@ -122,24 +114,24 @@ class T {
122
114
  }
123
115
  };
124
116
  augmentAccounts = (t = this.accounts) => {
125
- const e = [], n = this.globalStore.userStore.userFeatures, s = f(
126
- n,
117
+ const e = [], s = this.globalStore.userStore.userFeatures, c = g(
118
+ s,
127
119
  "MD_EXCLUDE_EXTERNAL_ACCOUNTS"
128
120
  );
129
121
  for (const r of t) {
130
- if (s && r.member_is_managed_by_user) continue;
131
- const o = this.members.find((g) => g.guid === r.member_guid);
122
+ if (c && r.member_is_managed_by_user) continue;
123
+ const o = this.members.find((m) => m.guid === r.member_guid);
132
124
  if (!o) continue;
133
125
  let u = h.Connected;
134
- y.includes(o.connection_status) ? u = h.Error : I.includes(o.connection_status) ? u = h.Processing : b.includes(o.connection_status) && (u = h.RequiresMfa);
135
- const m = [
126
+ p.includes(o.connection_status) ? u = h.Error : y.includes(o.connection_status) ? u = h.Processing : I.includes(o.connection_status) && (u = h.RequiresMfa);
127
+ const A = [
136
128
  r.user_name || r.feed_name || "",
137
129
  r.account_number ? `*${r.account_number}` : ""
138
130
  ].join(" ").trim();
139
131
  e.push({
140
132
  ...r,
141
133
  connectionStatus: u,
142
- institutionName: m,
134
+ institutionName: A,
143
135
  memberName: o.name
144
136
  }), o.connectionStatus = u;
145
137
  }
@@ -178,18 +170,18 @@ class T {
178
170
  };
179
171
  mergeAccounts = async (t) => {
180
172
  try {
181
- const e = await this.api.mergeAccounts(t), n = e[Object.keys(e)[0]];
173
+ const e = await this.api.mergeAccounts(t), s = e[Object.keys(e)[0]];
182
174
  a(() => {
183
- const s = this.accounts.findIndex((o) => o.guid === t[1]);
184
- this.accounts.splice(s, 1);
175
+ const c = this.accounts.findIndex((o) => o.guid === t[1]);
176
+ this.accounts.splice(c, 1);
185
177
  const r = this.accounts.findIndex((o) => o.guid === t[0]);
186
- this.accounts.splice(r, 1, n);
178
+ this.accounts.splice(r, 1, s);
187
179
  });
188
180
  } catch (e) {
189
181
  console.error(`Error occurred while merging accounts: ${e}`);
190
182
  }
191
183
  };
192
- 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);
184
+ sortAccounts = (t = this.accounts) => t.sort((e, s) => e.account_type > s.account_type ? 1 : e.account_type < s.account_type ? -1 : (e.name || "") > (s.name || "") ? 1 : (e.name || "") < (s.name || "") ? -1 : 0);
193
185
  refreshAccounts = async () => {
194
186
  this.uiStore.setIsLoading(!0), await Promise.all([this.loadAccounts(), this.loadInstitutions()]), this.uiStore.setIsLoading(!1);
195
187
  };
@@ -203,7 +195,7 @@ class T {
203
195
  removeAccount = async (t) => {
204
196
  try {
205
197
  await this.api.deleteAccount(t), a(() => {
206
- const e = this.accounts.findIndex((n) => n.guid === t);
198
+ const e = this.accounts.findIndex((s) => s.guid === t);
207
199
  this.accounts.splice(e, 1);
208
200
  });
209
201
  } catch (e) {
@@ -214,30 +206,30 @@ class T {
214
206
  try {
215
207
  const e = await this.api.updateAccount(t);
216
208
  a(() => {
217
- const n = this.accounts.findIndex(
218
- (s) => s.guid === e.guid
209
+ const s = this.accounts.findIndex(
210
+ (c) => c.guid === e.guid
219
211
  );
220
- this.accounts.splice(n, 1, e), this.accounts = this.augmentAccounts(this.accounts);
212
+ this.accounts.splice(s, 1, e), this.accounts = this.augmentAccounts(this.accounts);
221
213
  });
222
214
  } catch (e) {
223
215
  console.error(`Error occurred while updating account: ${e}`);
224
216
  }
225
217
  };
226
218
  updateAccountFiltering = async (t, e) => {
227
- for (const n of t) {
228
- const s = this.accounts.find((r) => r.guid === n);
229
- if (s) {
230
- 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 s of t) {
220
+ const c = this.accounts.find((r) => r.guid === s);
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;
231
223
  try {
232
- this.updateAccount(s);
224
+ this.updateAccount(c);
233
225
  } catch (r) {
234
- console.error(`Failed to update account ${n} (added):`, r);
226
+ console.error(`Failed to update account ${s} (added):`, r);
235
227
  }
236
228
  }
237
229
  }
238
230
  };
239
231
  }
240
232
  export {
241
- _ as A,
242
- T as a
233
+ l as A,
234
+ N as a
243
235
  };
@@ -1,4 +1,4 @@
1
- import { A as _ } from "./ConnectDrawer-CPTXh70j.mjs";
1
+ import { A as _ } from "./ConnectDrawer-CHG5Lv_B.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,
@@ -1,4 +1,4 @@
1
- import { i as _ } from "./hooks-CE2TKk4a.mjs";
1
+ import { i as _ } from "./hooks-D6XlXHf4.mjs";
2
2
  import { b as d } from "./Category-CevNQ03n.mjs";
3
3
  import { b as f } from "./Localization-2MODESHW.mjs";
4
4
  import { f as l } from "./NumberFormatting-Buh7u8Oi.mjs";
@@ -2,7 +2,7 @@ import { jsx as t, jsxs as E } from "react/jsx-runtime";
2
2
  import { observer as g } from "mobx-react-lite";
3
3
  import C from "react";
4
4
  import $ from "@mui/material/Stack";
5
- import { G as K, m as y, u as b, g as D, b as U } from "./hooks-CE2TKk4a.mjs";
5
+ import { G as K, m as y, u as b, g as D, b as U } from "./hooks-D6XlXHf4.mjs";
6
6
  import Y from "@mui/material/List";
7
7
  import V from "@mui/material/Paper";
8
8
  import v from "@mui/material/Divider";
@@ -14,7 +14,7 @@ import EE from "@mui/material/ListItemText";
14
14
  import IE from "@mui/material/Popover";
15
15
  import F from "@mui/material/Stack";
16
16
  import w from "@mui/material/Checkbox";
17
- import { u as o, f as _E, d as NE, e as rE } from "./hooks-CE2TKk4a.mjs";
17
+ import { u as o, f as _E, d as NE, e as rE } from "./hooks-D6XlXHf4.mjs";
18
18
  import { b as W } from "./Localization-2MODESHW.mjs";
19
19
  import { u as RE } from "./useScreenSize-B6JyS_Lj.mjs";
20
20
  import { observer as Q } from "mobx-react-lite";
@@ -533,12 +533,12 @@ export {
533
533
  uE as e,
534
534
  PE as f,
535
535
  AE as g,
536
- sE as h,
537
- bE as i,
538
- DE as j,
539
- NI as k,
540
- RI as l,
541
- _I as m,
542
- eE as n,
536
+ bE as h,
537
+ DE as i,
538
+ NI as j,
539
+ RI as k,
540
+ _I as l,
541
+ eE as m,
542
+ sE as n,
543
543
  EI as o
544
544
  };
@@ -3,8 +3,8 @@ 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-CPTXh70j.mjs";
7
- import { d as b, e as w, u as _ } from "./hooks-CE2TKk4a.mjs";
6
+ import { C as a, c, M as i } from "./ConnectDrawer-CHG5Lv_B.mjs";
7
+ import { d as b, e as w, u as _ } from "./hooks-D6XlXHf4.mjs";
8
8
  import { D as x } from "./Drawer-kEE73B87.mjs";
9
9
  const I = ({
10
10
  onClose: l,
@@ -5,7 +5,7 @@ import { v4 as B } from "uuid";
5
5
  import { useTokens as O, TextField as W, P as p } from "@mxenabled/mxui";
6
6
  import { b as _, g as d } from "./Localization-2MODESHW.mjs";
7
7
  import { g as j, C as D, f as y, M as C } from "./NumberFormatting-Buh7u8Oi.mjs";
8
- import { u as F } from "./hooks-CE2TKk4a.mjs";
8
+ import { u as F } from "./hooks-D6XlXHf4.mjs";
9
9
  const G = ({
10
10
  allowDecimals: o = !0,
11
11
  ariaLabel: g,
@@ -1,6 +1,6 @@
1
1
  import { makeAutoObservable as l } from "mobx";
2
2
  import { getDate as r, fromUnixTime as _, startOfMonth as m } from "date-fns";
3
- import { A as p } from "./ConnectDrawer-CPTXh70j.mjs";
3
+ import { A as p } from "./ConnectDrawer-CHG5Lv_B.mjs";
4
4
  const E = 12, T = 100;
5
5
  var c = /* @__PURE__ */ ((a) => (a[a.FASTEST_PAYOFF_FIRST = 1] = "FASTEST_PAYOFF_FIRST", a[a.HIGHEST_INTEREST = 2] = "HIGHEST_INTEREST", a[a.LOWEST_BALANCE = 3] = "LOWEST_BALANCE", a[a.HIGHEST_BALANCE = 4] = "HIGHEST_BALANCE", a))(c || {});
6
6
  const b = {
@@ -1,10 +1,10 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
2
  import { observer as c } from "mobx-react-lite";
3
3
  import { Icon as i } from "@mxenabled/mxui";
4
- import { e as p } from "./exportTransactionsToCSV-D8TTNrrE.mjs";
5
- import { O as m } from "./User-DaJAQ09j.mjs";
4
+ import { e as p } from "./exportTransactionsToCSV-7bVS7KXf.mjs";
5
+ import { O as m } from "./User-BQUxBeZV.mjs";
6
6
  import { R as x } from "./ResponsiveButton-DZFp78fJ.mjs";
7
- import { g as _, h as C, u as l } from "./hooks-CE2TKk4a.mjs";
7
+ import { g as _, h as C, u as l } from "./hooks-D6XlXHf4.mjs";
8
8
  const v = ({ filter: t }) => {
9
9
  const { onEvent: r } = _(), { tags: e, sortedTransactions: s } = C(), { transactions: n } = l(), a = () => {
10
10
  r(m.ON_TRANSACTION_EXPORT_CSV_CLICK), p(t ? s.filter(t) : s, e);
@@ -7,8 +7,8 @@ import O from "@mui/material/CardHeader";
7
7
  import S from "@mui/material/Stack";
8
8
  import { AccountBalance as w, ChevronRight as L } from "@mxenabled/mx-icons";
9
9
  import { Text as A } from "@mxenabled/mxui";
10
- import { l as b } from "./ConnectDrawer-CPTXh70j.mjs";
11
- import { a as y } from "./hooks-CE2TKk4a.mjs";
10
+ import { k as b } from "./ConnectDrawer-CHG5Lv_B.mjs";
11
+ import { a as y } from "./hooks-D6XlXHf4.mjs";
12
12
  import { makeAutoObservable as D, runInAction as c } from "mobx";
13
13
  import { F as v, A as i } from "./Fetch-87LIQbEA.mjs";
14
14
  import { fromUnixTime as G } from "date-fns/fromUnixTime";
@@ -13,7 +13,7 @@ import E from "@mui/material/Stack";
13
13
  import { H3 as y, P as H, Icon as X, Text as T, H2 as _t, InstitutionLogo as bt } from "@mxenabled/mxui";
14
14
  import { ExpandMore as ot, ChevronRight as wt } from "@mxenabled/mx-icons";
15
15
  import xt from "@mui/material/Breadcrumbs";
16
- import { u as V, z as tt, d as ft, o as St, b as It, a as Tt } from "./hooks-CE2TKk4a.mjs";
16
+ import { u as V, A as tt, d as ft, p as St, b as It, a as Tt } from "./hooks-D6XlXHf4.mjs";
17
17
  import { useTheme as Z } from "@mui/material/styles";
18
18
  import { b as s } from "./Localization-2MODESHW.mjs";
19
19
  import { E as Et, a as Ct, P as At } from "./Help-DhcC-C05.mjs";
@@ -7,7 +7,7 @@ import ut from "@mui/material/useMediaQuery";
7
7
  import { observer as xt } from "mobx-react-lite";
8
8
  import { Stack as u, Box as N, useTheme as ft } from "@mui/material";
9
9
  import { Text as l } from "@mxenabled/mxui";
10
- import { u as gt } from "./hooks-CE2TKk4a.mjs";
10
+ import { u as gt } from "./hooks-D6XlXHf4.mjs";
11
11
  import { ChartsTooltip as yt } from "@mui/x-charts/ChartsTooltip";
12
12
  const pt = (t) => {
13
13
  const r = X(), o = t.showLabel, s = t.style, y = Number(t.x), m = Number(t.y), x = t.handlers?.onMarkClick, f = t.handlers?.onMouseEnter, c = t.handlers?.onMouseLeave, d = ut(r.breakpoints.up("sm")), a = t.valueFormatterString ? b(t.yData[t.dataIndex], t.valueFormatterString) : String(t.yData[t.dataIndex]), h = d ? r.typography.Small?.fontSize : r.typography.XSmall?.fontSize, k = h ? parseFloat(h.toString()) * 0.6 : 8, D = a.length * k + 8 + 8, T = 24, $ = y - D / 2, M = m - 30;
@@ -8,7 +8,7 @@ import L from "@mui/material/Stack";
8
8
  import { ChevronRight as g } from "@mxenabled/mx-icons";
9
9
  import { Text as m } from "@mxenabled/mxui";
10
10
  import { a as j } from "./Dialog-CWW597AF.mjs";
11
- import { u as P } from "./hooks-CE2TKk4a.mjs";
11
+ import { u as P } from "./hooks-D6XlXHf4.mjs";
12
12
  const D = v(
13
13
  ({
14
14
  children: n,