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

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 (60) hide show
  1. package/dist/{Account-8IUM_CLv.mjs → Account-poVfvAtj.mjs} +1 -1
  2. package/dist/{AccountDetailsContent-CuZSSAEc.mjs → AccountDetailsContent-BCMssB6a.mjs} +8 -8
  3. package/dist/{AccountDetailsHeader-BZBsIKdF.mjs → AccountDetailsHeader-aR7xZ2nH.mjs} +6 -6
  4. package/dist/{AccountFields-BD_0GT68.mjs → AccountFields-_0YMlOBp.mjs} +2 -2
  5. package/dist/{AccountListItem-CllIBCao.mjs → AccountListItem-CnCbtSqL.mjs} +4 -4
  6. package/dist/{AccountStore-BL0FE1QL.mjs → AccountStore-B6dq8GCk.mjs} +45 -53
  7. package/dist/{Accounts-Bvc9TJaO.mjs → Accounts-SjMpWUke.mjs} +1 -1
  8. package/dist/{BudgetUtil-psfk-Amb.mjs → BudgetUtil-7AJdmjKN.mjs} +1 -1
  9. package/dist/{CategorySelectorDrawer-BmenK5bu.mjs → CategorySelectorDrawer-DIy14j9q.mjs} +1 -1
  10. package/dist/{ConnectDrawer-CPTXh70j.mjs → ConnectDrawer-BuGKZGC6.mjs} +8 -8
  11. package/dist/{ConnectionsDrawer-Dkb4vBmt.mjs → ConnectionsDrawer-BUFTeUlm.mjs} +2 -2
  12. package/dist/{CurrencyInput-C4xNRL2W.mjs → CurrencyInput-DXMb7tAQ.mjs} +1 -1
  13. package/dist/{DebtsStore-D4grpB4m.mjs → DebtsStore-DwQfw1Tf.mjs} +1 -1
  14. package/dist/{ExportCsvAction-CBJAfyAw.mjs → ExportCsvAction-CaYiIpM7.mjs} +3 -3
  15. package/dist/{GoalStore-B5MZzPLZ.mjs → GoalStore-B11YqsSR.mjs} +2 -2
  16. package/dist/{Help-CzBAsKA2.mjs → Help-BeXRlMej.mjs} +1 -1
  17. package/dist/{LineChart-B35qvXik.mjs → LineChart-DoM2GvjT.mjs} +1 -1
  18. package/dist/{ListItemAction-DSrYDGAP.mjs → ListItemAction-BUj2koIg.mjs} +1 -1
  19. package/dist/{ManageIncome-DUuT-yMV.mjs → ManageIncome-Dn-1RlJI.mjs} +4 -4
  20. package/dist/{MicroWidgetContainer-C4QQHfD7.mjs → MicroWidgetContainer-BfjjvWDu.mjs} +1 -1
  21. package/dist/{MiniWidgetContainer-DTQdRK-3.mjs → MiniWidgetContainer-C98Eg9vO.mjs} +1 -1
  22. package/dist/{NetWorthStore-Do1Gk8Te.mjs → NetWorthStore-DqBVr9B4.mjs} +2 -2
  23. package/dist/{NotificationSettings-BuShgjn6.mjs → NotificationSettings-BpG12HXV.mjs} +3 -3
  24. package/dist/{OriginalBalanceAction-BsxcvNEF.mjs → OriginalBalanceAction-CG_yDuWi.mjs} +3 -3
  25. package/dist/{RecurringSettings-BVOt46uV.mjs → RecurringSettings-BtsTGf0P.mjs} +3 -3
  26. package/dist/{TransactionDetails-_cXLXTd3.mjs → TransactionDetails-CBpH1fsq.mjs} +5 -5
  27. package/dist/{TransactionStore-B-Tq_YFE.mjs → TransactionStore-Cq_j5fna.mjs} +2 -2
  28. package/dist/{TrendsStore-ZZ8X36lJ.mjs → TrendsStore-2geZbzUX.mjs} +1 -1
  29. package/dist/{User-DaJAQ09j.mjs → User-CgKOp9Zi.mjs} +1 -1
  30. package/dist/{WidgetContainer-DtPnPQZY.mjs → WidgetContainer-CjvCN6aj.mjs} +10 -10
  31. package/dist/accounts/index.es.js +13 -13
  32. package/dist/accounts/stores/AccountStore.d.ts +0 -2
  33. package/dist/analytics/index.es.js +2 -2
  34. package/dist/budgets/index.es.js +10 -10
  35. package/dist/cashflow/index.es.js +7 -7
  36. package/dist/categories/index.es.js +1 -1
  37. package/dist/common/context/GlobalDataProvider.d.ts +1 -0
  38. package/dist/common/context/hooks.d.ts +3 -0
  39. package/dist/common/context/index.d.ts +1 -1
  40. package/dist/common/index.es.js +50 -49
  41. package/dist/dashboard/index.es.js +7 -7
  42. package/dist/debts/index.es.js +9 -9
  43. package/dist/{exportTransactionsToCSV-D8TTNrrE.mjs → exportTransactionsToCSV-BUuXqDYK.mjs} +1 -1
  44. package/dist/finstrong/index.es.js +6 -6
  45. package/dist/goals/index.es.js +52 -52
  46. package/dist/help/index.es.js +3 -3
  47. package/dist/hooks-B3k6Se4_.mjs +77 -0
  48. package/dist/investments/index.es.js +3 -3
  49. package/dist/merchants/index.es.js +1 -1
  50. package/dist/networth/index.es.js +7 -7
  51. package/dist/notifications/index.es.js +2 -2
  52. package/dist/recurringtransactions/index.es.js +8 -8
  53. package/dist/settings/index.es.js +6 -6
  54. package/dist/spending/index.es.js +4 -4
  55. package/dist/transactions/index.es.js +13 -13
  56. package/dist/trends/index.es.js +453 -453
  57. package/dist/{useAccountDisplayName-BXGkZN5B.mjs → useAccountDisplayName-CZjVfLSX.mjs} +2 -2
  58. package/dist/{useInsightsEnabled-DSnpkUq0.mjs → useInsightsEnabled-DesBHW5l.mjs} +1 -1
  59. package/package.json +1 -1
  60. package/dist/hooks-CE2TKk4a.mjs +0 -74
@@ -1,4 +1,4 @@
1
- import { A as C } from "./ConnectDrawer-CPTXh70j.mjs";
1
+ import { A as C } from "./ConnectDrawer-BuGKZGC6.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-aR7xZ2nH.mjs";
15
+ import { d as z, u as E, g as O, h as X } from "./hooks-B3k6Se4_.mjs";
16
+ import { A as at } from "./AccountListItem-CnCbtSqL.mjs";
17
+ import { A as k } from "./WidgetContainer-CjvCN6aj.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-BuGKZGC6.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-DXMb7tAQ.mjs";
41
+ import { b as Dt } from "./AccountFields-_0YMlOBp.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-CBpH1fsq.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-_0YMlOBp.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-B3k6Se4_.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-DoM2GvjT.mjs";
14
+ import { I as f, P as g, S as C } from "./Account-poVfvAtj.mjs";
15
+ import { A } from "./ConnectDrawer-BuGKZGC6.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-CZjVfLSX.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-BuGKZGC6.mjs";
4
+ import { i as T, u as D, a as A, b as g, c as O } from "./Accounts-SjMpWUke.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-_0YMlOBp.mjs";
14
+ import { u as X } from "./useAccountDisplayName-CZjVfLSX.mjs";
15
+ import { d } from "./ConnectDrawer-BuGKZGC6.mjs";
16
+ import { u as $ } from "./hooks-B3k6Se4_.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-CgKOp9Zi.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-BuGKZGC6.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-BuGKZGC6.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-B3k6Se4_.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-B3k6Se4_.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-B3k6Se4_.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-BuGKZGC6.mjs";
7
+ import { d as b, e as w, u as _ } from "./hooks-B3k6Se4_.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-B3k6Se4_.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-BuGKZGC6.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-BUuXqDYK.mjs";
5
+ import { O as m } from "./User-CgKOp9Zi.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-B3k6Se4_.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-BuGKZGC6.mjs";
11
+ import { a as y } from "./hooks-B3k6Se4_.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, o as St, b as It, a as Tt } from "./hooks-B3k6Se4_.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-B3k6Se4_.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-B3k6Se4_.mjs";
12
12
  const D = v(
13
13
  ({
14
14
  children: n,
@@ -16,23 +16,23 @@ import { startOfToday as z } from "date-fns/startOfToday";
16
16
  import { endOfMonth as _e } from "date-fns/endOfMonth";
17
17
  import $ from "@mui/material/Button";
18
18
  import { Delete as me, Add as he, ReceiptLong as pe } from "@mxenabled/mx-icons";
19
- import { T as X, a as ye, u as ge, S as fe, b as Ce } from "./TransactionDetails-_cXLXTd3.mjs";
19
+ import { T as X, a as ye, u as ge, S as fe, b as Ce } from "./TransactionDetails-CBpH1fsq.mjs";
20
20
  import { getDayOfYear as be } from "date-fns/getDayOfYear";
21
21
  import { setDayOfYear as xe } from "date-fns/setDayOfYear";
22
22
  import { AdapterDateFns as Se } from "@mui/x-date-pickers/AdapterDateFnsV3";
23
23
  import { DatePicker as ve } from "@mui/x-date-pickers";
24
24
  import { LocalizationProvider as we } from "@mui/x-date-pickers/LocalizationProvider";
25
- import { u as w, j as M, g as F, b as Ae, h as Z, o as De } from "./hooks-CE2TKk4a.mjs";
25
+ import { u as w, j as M, g as F, b as Ae, h as Z, o as De } from "./hooks-B3k6Se4_.mjs";
26
26
  import { b as Ie, f as J } from "./NumberFormatting-Buh7u8Oi.mjs";
27
27
  import { D as O } from "./Drawer-kEE73B87.mjs";
28
- import { A as R } from "./WidgetContainer-DtPnPQZY.mjs";
28
+ import { A as R } from "./WidgetContainer-CjvCN6aj.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";
32
32
  import { S as ke } from "./SearchBox-B2_zLv8-.mjs";
33
33
  import { h as Ne } from "./DateUtil-BcuH7ErC.mjs";
34
34
  import { b as B } from "./Category-CevNQ03n.mjs";
35
- import { T as V } from "./User-DaJAQ09j.mjs";
35
+ import { T as V } from "./User-CgKOp9Zi.mjs";
36
36
  const ee = ({
37
37
  frequency: n,
38
38
  firstDay: t,
@@ -6,7 +6,7 @@ import b from "@mui/material/CardHeader";
6
6
  import { P as u, H3 as v } from "@mxenabled/mxui";
7
7
  import { ChevronRight as W } from "@mxenabled/mx-icons";
8
8
  import { u as M } from "./useDimensions-27p2evRx.mjs";
9
- import { W as w } from "./hooks-CE2TKk4a.mjs";
9
+ import { W as w } from "./hooks-B3k6Se4_.mjs";
10
10
  const H = ({
11
11
  children: e,
12
12
  className: o,
@@ -8,7 +8,7 @@ import W from "@mui/material/IconButton";
8
8
  import { Icon as z, ChevronRight as H } from "@mxenabled/mx-icons";
9
9
  import { H3 as I, Text as B, P as M } from "@mxenabled/mxui";
10
10
  import { u as S } from "./useDimensions-27p2evRx.mjs";
11
- import { W as j } from "./hooks-CE2TKk4a.mjs";
11
+ import { W as j } from "./hooks-B3k6Se4_.mjs";
12
12
  const w = ({
13
13
  children: a,
14
14
  className: m = "mx-cmn-mini-widget",
@@ -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-Bvc9TJaO.mjs";
7
- import { e as N, a as M, f as v } from "./ConnectDrawer-CPTXh70j.mjs";
6
+ import { a as b } from "./Accounts-SjMpWUke.mjs";
7
+ import { e as N, a as M, f as v } from "./ConnectDrawer-BuGKZGC6.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));
@@ -15,11 +15,11 @@ import { DateCalendar as te } from "@mui/x-date-pickers/DateCalendar";
15
15
  import { LocalizationProvider as ne } from "@mui/x-date-pickers/LocalizationProvider";
16
16
  import { AdapterDateFns as ie } from "@mui/x-date-pickers/AdapterDateFnsV3";
17
17
  import { A as oe, T as F, a as P, N as y } from "./ToggleListItem-r0Kx56wF.mjs";
18
- import { u as D, r as T, o as A, d as se, g as ae, a as W, b as le } from "./hooks-CE2TKk4a.mjs";
18
+ import { u as D, r as T, o as A, d as se, g as ae, a as W, b as le } from "./hooks-B3k6Se4_.mjs";
19
19
  import { b as ce } from "./Localization-2MODESHW.mjs";
20
20
  import { b as re, f as de } from "./NumberFormatting-Buh7u8Oi.mjs";
21
21
  import { a as M } from "./Dialog-CWW597AF.mjs";
22
- import { C as me } from "./CurrencyInput-C4xNRL2W.mjs";
22
+ import { C as me } from "./CurrencyInput-DXMb7tAQ.mjs";
23
23
  import { u as he } from "./useScreenSize-B6JyS_Lj.mjs";
24
24
  import { D as J } from "./Drawer-kEE73B87.mjs";
25
25
  import _e from "@mui/material/Collapse";
@@ -30,7 +30,7 @@ import R from "@mui/material/Button";
30
30
  import L from "@mui/material/TextField";
31
31
  import { u as fe } from "./useDimensions-27p2evRx.mjs";
32
32
  import X from "@mui/material/styles/useTheme";
33
- import { u as ge } from "./useInsightsEnabled-DSnpkUq0.mjs";
33
+ import { u as ge } from "./useInsightsEnabled-DesBHW5l.mjs";
34
34
  import { L as ye } from "./Loader-DUaFpDGv.mjs";
35
35
  const be = C(() => {
36
36
  const { common: n, settings: t } = D(), { sendEmailVerification: s } = T(), { user: c } = A(), i = X(), [d, a] = f.useState(!1), o = () => {
@@ -2,10 +2,10 @@ import { jsx as o } from "react/jsx-runtime";
2
2
  import _ from "react";
3
3
  import { observer as p } from "mobx-react-lite";
4
4
  import v from "@mui/material/TextField";
5
- import { L as y } from "./ListItemAction-DSrYDGAP.mjs";
6
- import { u as h, l as b } from "./hooks-CE2TKk4a.mjs";
5
+ import { L as y } from "./ListItemAction-BUj2koIg.mjs";
6
+ import { u as h, l as b } from "./hooks-B3k6Se4_.mjs";
7
7
  import { a as T, f as S } from "./NumberFormatting-Buh7u8Oi.mjs";
8
- import { C as f } from "./CurrencyInput-C4xNRL2W.mjs";
8
+ import { C as f } from "./CurrencyInput-DXMb7tAQ.mjs";
9
9
  const F = p(({ goal: e }) => {
10
10
  const { goals: a } = h(), { setAlert: r, setSelectedGoal: l, updateGoal: m } = b(), [t, s] = _.useState(e.interest_rate ?? 0), c = !e.guid, i = t < 0, d = async () => {
11
11
  const n = { ...e, interest_rate: t };
@@ -7,10 +7,10 @@ import b from "@mui/material/Tabs";
7
7
  import d from "@mui/material/Divider";
8
8
  import R from "@mui/material/List";
9
9
  import T from "@mui/material/Stack";
10
- import { R as C, A as S, a as E, M as v } from "./ManageIncome-DUuT-yMV.mjs";
11
- import { u as _, j as A, g as f } from "./hooks-CE2TKk4a.mjs";
10
+ import { R as C, A as S, a as E, M as v } from "./ManageIncome-Dn-1RlJI.mjs";
11
+ import { u as _, j as A, g as f } from "./hooks-B3k6Se4_.mjs";
12
12
  import { R as y, F as N } from "./RecurringTransactions-ej39mgA6.mjs";
13
- import { A as m } from "./WidgetContainer-DtPnPQZY.mjs";
13
+ import { A as m } from "./WidgetContainer-CjvCN6aj.mjs";
14
14
  const I = h(() => {
15
15
  const { recurring: g } = _(), { repeatingTransactions: n } = A(), { onEvent: o } = f(), l = (r) => {
16
16
  o(m.RECURRING_TRANSACTIONS_CLICK_EXPENSE, {
@@ -9,15 +9,15 @@ import { MerchantLogo as pe, Icon as S, Text as T, useTokens as ee, CategoryIcon
9
9
  import B from "@mui/material/ListItemAvatar";
10
10
  import M from "@mui/material/ListItemText";
11
11
  import f from "@mui/material/Stack";
12
- import { T as Pe, L as Ge, O as h, C as Me, b as Ke, i as $e } from "./User-DaJAQ09j.mjs";
13
- import { G as Be, h as v, u as A, g as L, m as xe, b as Fe, o as He } from "./hooks-CE2TKk4a.mjs";
12
+ import { T as Pe, L as Ge, O as h, C as Me, b as Ke, i as $e } from "./User-CgKOp9Zi.mjs";
13
+ import { G as Be, h as v, u as A, g as L, m as xe, b as Fe, o as He } from "./hooks-B3k6Se4_.mjs";
14
14
  import { f as te } from "./NumberFormatting-Buh7u8Oi.mjs";
15
15
  import { Receipt as ze, Delete as oe, ChevronRight as Ue, Cancel as ie, Search as Xe, Edit as Ve, Flag as We } from "@mxenabled/mx-icons";
16
16
  import { fromUnixTime as W } from "date-fns/fromUnixTime";
17
17
  import { isSameDay as Ne } from "date-fns/isSameDay";
18
18
  import { h as Ye } from "./DateUtil-BcuH7ErC.mjs";
19
19
  import { L as Ie } from "./Loader-DUaFpDGv.mjs";
20
- import { A as P } from "./WidgetContainer-DtPnPQZY.mjs";
20
+ import { A as P } from "./WidgetContainer-CjvCN6aj.mjs";
21
21
  import ne from "@mui/material/Paper";
22
22
  import ce from "@mui/material/Button";
23
23
  import je from "@mui/material/FormGroup";
@@ -30,14 +30,14 @@ import F from "@mui/material/ListItem";
30
30
  import { a as V, f as Ee, D as Oe } from "./Dialog-CWW597AF.mjs";
31
31
  import U from "@mui/material/ListItemButton";
32
32
  import X from "@mui/material/ListItemIcon";
33
- import { a as we } from "./CategorySelectorDrawer-BmenK5bu.mjs";
33
+ import { a as we } from "./CategorySelectorDrawer-DIy14j9q.mjs";
34
34
  import { b as se } from "./Localization-2MODESHW.mjs";
35
35
  import { getUnixTime as Ze } from "date-fns/getUnixTime";
36
36
  import { D as de } from "./Drawer-kEE73B87.mjs";
37
37
  import ye from "@mui/material/InputAdornment";
38
38
  import Je from "@mui/material/Checkbox";
39
39
  import ge from "@mui/material/Grid";
40
- import { C as Qe } from "./CurrencyInput-C4xNRL2W.mjs";
40
+ import { C as Qe } from "./CurrencyInput-DXMb7tAQ.mjs";
41
41
  import et from "@mui/material/Switch";
42
42
  var q = /* @__PURE__ */ ((t) => (t[t.Category = 0] = "Category", t[t.Date = 1] = "Date", t[t.Memo = 2] = "Memo", t[t.Tags = 3] = "Tags", t))(q || {}), re = /* @__PURE__ */ ((t) => (t[t.SplitTransaction = 0] = "SplitTransaction", t[t.HideTransaction = 1] = "HideTransaction", t[t.MerchantLogo = 2] = "MerchantLogo", t))(re || {});
43
43
  const tt = [