@mx-cartographer/experiences 7.7.0-alpha.bb9 → 7.7.0-alpha.test2

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 (66) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/dist/{Account-Cp4uT2pE.mjs → Account-BiB1F8lL.mjs} +3 -3
  3. package/dist/{Account-B6i0x4zD.mjs → Account-DuOz1a27.mjs} +1 -1
  4. package/dist/{AccountDetailsHeader-rT8KbT1M.mjs → AccountDetailsHeader-Cf2TUJnM.mjs} +3 -3
  5. package/dist/{AccountFields-B7s_bbQT.mjs → AccountFields-UdOvbQ5H.mjs} +2 -2
  6. package/dist/{AccountListItem-B_plAb79.mjs → AccountListItem-BPVxmNT_.mjs} +2 -2
  7. package/dist/{AccountStore-DY5HniWw.mjs → AccountStore-BbPWe2C9.mjs} +47 -85
  8. package/dist/{Accounts-DBJHvSZk.mjs → Accounts-M-LTzStv.mjs} +1 -1
  9. package/dist/CategorySelectorDrawer-cQKX5dZb.mjs +418 -0
  10. package/dist/{DebtsStore-BX6npZOf.mjs → DebtsStore-By_tiNpl.mjs} +1 -1
  11. package/dist/{ExportCsvAction-HK5CeZWR.mjs → ExportCsvAction-CDuzTva1.mjs} +2 -2
  12. package/dist/{LineChart-BoML7cMy.mjs → LineChart-BF4QA-Lx.mjs} +14 -15
  13. package/dist/{ManageIncome-DAfRhEXW.mjs → ManageIncome-BmzXSGvZ.mjs} +4 -4
  14. package/dist/{NetWorthStore-BEV3JD7w.mjs → NetWorthStore-xMX8Q30L.mjs} +9 -9
  15. package/dist/{NotificationSettings-D4Vh3z8I.mjs → NotificationSettings-SCsdfdve.mjs} +161 -161
  16. package/dist/{RecurringSettings-C-_usEQP.mjs → RecurringSettings-BYqta-is.mjs} +3 -3
  17. package/dist/{RecurringTransactionsStore-BXxP_Aiy.mjs → RecurringTransactionsStore-BQBEJOPP.mjs} +1 -1
  18. package/dist/{SettingsStore-krIRNwHK.mjs → SettingsStore-BHpuyujx.mjs} +1 -1
  19. package/dist/SpendingLegend-BSHRsmqN.mjs +193 -0
  20. package/dist/{TransactionDetails-D1TZl3jS.mjs → TransactionDetails-DuaMqu3g.mjs} +152 -149
  21. package/dist/{TransactionStore-BJMWfvHs.mjs → TransactionStore-BSp5bOKg.mjs} +2 -2
  22. package/dist/{User-LJpEwPtn.mjs → User-B0LnmiKO.mjs} +21 -20
  23. package/dist/{ViewMoreMicroCard-DwR0v_ll.mjs → ViewMoreMicroCard-rY-kN9MP.mjs} +178 -144
  24. package/dist/{WidgetContainer-Dd99GYSN.mjs → WidgetContainer-Bj3HyCfV.mjs} +201 -229
  25. package/dist/accounts/index.es.js +367 -344
  26. package/dist/budgets/index.es.js +5 -5
  27. package/dist/cashflow/index.es.js +7 -7
  28. package/dist/categories/components/CustomCategories/AddSubcategory.d.ts +1 -0
  29. package/dist/categories/components/CustomCategories/DeleteSubcategory.d.ts +1 -0
  30. package/dist/categories/components/CustomCategories/RenameSubcategory.d.ts +1 -0
  31. package/dist/categories/components/SubcategoryRow.d.ts +1 -0
  32. package/dist/categories/index.es.js +1 -1
  33. package/dist/common/components/index.d.ts +1 -1
  34. package/dist/common/index.es.js +586 -877
  35. package/dist/common/stores/GlobalUiStore.d.ts +1 -0
  36. package/dist/common/types/localization/CategoryCopy.d.ts +3 -0
  37. package/dist/common/types/localization/MicroInsightsCopy.d.ts +1 -0
  38. package/dist/debts/index.es.js +5 -5
  39. package/dist/{exportTransactionsToCSV-BrTYdSgJ.mjs → exportTransactionsToCSV-DtQ7ovAR.mjs} +1 -1
  40. package/dist/finstrong/index.es.js +1269 -1239
  41. package/dist/goals/index.es.js +33 -32
  42. package/dist/help/index.es.js +1 -1
  43. package/dist/investments/index.es.js +2 -2
  44. package/dist/microinsights/beaticons/BeatMaterialIcon.d.ts +6 -0
  45. package/dist/microinsights/beaticons/index.d.ts +1 -0
  46. package/dist/microinsights/index.es.js +1 -1
  47. package/dist/networth/index.es.js +178 -177
  48. package/dist/notifications/index.es.js +2 -2
  49. package/dist/recurringtransactions/index.es.js +9 -9
  50. package/dist/settings/index.es.js +88 -86
  51. package/dist/spending/components/SpendingChart.d.ts +1 -1
  52. package/dist/spending/components/SpendingList.d.ts +1 -1
  53. package/dist/spending/components/SpendingTabLabel.d.ts +1 -0
  54. package/dist/spending/index.es.js +236 -218
  55. package/dist/transactions/index.es.js +85 -83
  56. package/dist/trends/index.es.js +37 -40
  57. package/dist/useAriaLive-B3_pRUio.mjs +35 -0
  58. package/package.json +1 -1
  59. package/dist/CategorySelectorDrawer-DywvMfPe.mjs +0 -399
  60. package/dist/SpendingLegend-BFX7hUBn.mjs +0 -193
  61. package/dist/common/components/accountfilter/AccountFilter.d.ts +0 -20
  62. package/dist/common/components/accountfilter/AccountFilterOptions.d.ts +0 -31
  63. package/dist/common/components/accountfilter/index.d.ts +0 -1
  64. package/dist/{GoalStore-DtqS4bfg.mjs → GoalStore-Ik1iC00o.mjs} +1 -1
  65. package/dist/{ToggleListItem-ciFTiqRS.mjs → Notification-Bs1fdbzI.mjs} +1 -1
  66. package/dist/{RecurringTransactions-YQcbogIO.mjs → RepeatingTransaction-miZVnk_A.mjs} +1 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,53 @@
1
+ ## [7.7.0] - 01-21-2026
2
+
3
+ - **ADDED** - New Global Account Filter component
4
+ - **UPDATED** - Loading pattern to be consistent across all widgets
5
+ - **UPDATED** - All widgets to use new Global Account Filter component
6
+ - **UPDATED** - `isInitialized` in `GlobalStore` to be set after all copy & config are loaded
7
+ - **UPDATED** - Storybook `preview.tsx` to wrap all stories in `GlobalDataProvider` and load config data
8
+ - **UPDATED** - All stories to use new loading patterns
9
+ - **UPDATED** - Unit test to use new loading patterns
10
+
11
+ ## [7.6.22] - 01-22-2026
12
+
13
+ - **UPDATED** - Transactions details and list actions a11y imrovements
14
+
15
+ ## [7.6.21] - 01-22-2026
16
+
17
+ - **FIXED** - Spending widget subcategories to use parent category when in 'Other'
18
+
19
+ ## [7.6.20] - 01-21-2026
20
+
21
+ - **UPDATED** - Spending widget to not round amounts
22
+
23
+ ## [7.6.19] - 01-21-2026
24
+
25
+ - **UPDATED** - Spending widget subcategories to open transactions list
26
+
27
+ ## [7.6.18] - 01-21-2026
28
+
29
+ - **FIXED** - Pay Bills On Time Drawer Loading Issue - Fees Transactions List | Bug Fixed
30
+
31
+ ## [7.6.17] - 01-21-2026
32
+
33
+ - **FIXED** - Line Graph | Curve Type Bug Fixed
34
+
35
+ ## [7.6.16] - 01-19-2026
36
+
37
+ - **UPDATED** - `MicroInsights` BeatIcons Updated
38
+
39
+ ## [7.6.15] - 01-19-2026
40
+
41
+ - **FIXED** - `Finstrong` KeyIndicators Zero State Style
42
+
43
+ ## [7.6.14] - 01-19-2026
44
+
45
+ - **FIXED** - Finstrong Header Dimensions | Finstrong Score Card Styling | Issues Fixed
46
+
47
+ ## [7.6.13] - 01-19-2026
48
+
49
+ - **UPDATED** - Fixes for `Finstrong` onboarding and sticky footer
50
+
1
51
  ## [7.6.12] - 01-16-2026
2
52
 
3
53
  - **UPDATED** - Focus style for goal status cards
@@ -110,9 +110,9 @@ export {
110
110
  M as a,
111
111
  G as b,
112
112
  C as c,
113
- H as d,
114
- A as e,
115
- N as f,
113
+ N as d,
114
+ H as e,
115
+ A as f,
116
116
  R as g,
117
117
  T as h
118
118
  };
@@ -1,4 +1,4 @@
1
- import { A as C } from "./Account-Cp4uT2pE.mjs";
1
+ import { A as C } from "./Account-BiB1F8lL.mjs";
2
2
  const I = [
3
3
  C.ANY,
4
4
  C.CASH,
@@ -4,13 +4,13 @@ import s from "@mui/material/Stack";
4
4
  import { H3 as T, InstitutionLogo as x, Text as l, H2 as D } from "@mxenabled/mxui";
5
5
  import p from "react";
6
6
  import { G as N, d as C, m as P, f as G, u as O } from "./hooks-ZMp65DFz.mjs";
7
- import { g as R } from "./AccountFields-B7s_bbQT.mjs";
8
- import { A as r } from "./Account-Cp4uT2pE.mjs";
7
+ import { g as R } from "./AccountFields-UdOvbQ5H.mjs";
8
+ import { A as r } from "./Account-BiB1F8lL.mjs";
9
9
  import w from "@mui/material/Card";
10
10
  import v from "@mui/material/CardContent";
11
11
  import L from "@mui/material/CardHeader";
12
12
  import { L as H } from "./Loader-DUaFpDGv.mjs";
13
- import { I as M, P as U, S as Y } from "./Account-B6i0x4zD.mjs";
13
+ import { I as M, P as U, S as Y } from "./Account-DuOz1a27.mjs";
14
14
  import { u as j } from "./useAccountDisplayName-Bot2tb4n.mjs";
15
15
  import { f as z } from "./NumberFormatting-DjTD0t3W.mjs";
16
16
  const _ = () => {
@@ -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 { A as d, a as v, P as h, b as F } from "./Account-Cp4uT2pE.mjs";
4
- import { i as T, u as D, a as A, b as g, c as O } from "./Accounts-DBJHvSZk.mjs";
3
+ import { A as d, a as v, P as h, b as F } from "./Account-BiB1F8lL.mjs";
4
+ import { i as T, u as D, a as A, b as g, c as O } from "./Accounts-M-LTzStv.mjs";
5
5
  import { F as m } from "./GlobalAccountFilter-DQCPNc95.mjs";
6
6
  import { f as _, i as b, a as N, b as S } from "./NumberFormatting-DjTD0t3W.mjs";
7
7
  import { b as i } from "./Localization-2MODESHW.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-B7s_bbQT.mjs";
13
+ import { g as T } from "./AccountFields-UdOvbQ5H.mjs";
14
14
  import { u as X } from "./useAccountDisplayName-Bot2tb4n.mjs";
15
15
  import { u as $ } from "./hooks-ZMp65DFz.mjs";
16
- import { C as d } from "./Account-Cp4uT2pE.mjs";
16
+ import { C as d } from "./Account-BiB1F8lL.mjs";
17
17
  import { f as k } from "./NumberFormatting-DjTD0t3W.mjs";
18
18
  const w = {
19
19
  gridRow: 1,
@@ -1,57 +1,22 @@
1
- import { g as m } from "./AccountDisplayName-CO7z3v99.mjs";
2
- import { A as c, e as _, f as u } from "./Account-Cp4uT2pE.mjs";
3
- import { makeAutoObservable as g, runInAction as d } from "mobx";
4
- import { i as f } from "./User-LJpEwPtn.mjs";
5
- import { A as l } from "./AccountApi-DgZ8ILj1.mjs";
6
- import { d as y } from "./Accounts-DBJHvSZk.mjs";
7
- const T = (i, t) => i.reduce((e, s) => (e[s.guid] = t?.includes(s.guid), e), {}), M = (i, t, e) => i.reduce((s, n) => {
8
- const o = _[n.account_type], r = m(n, {
9
- allowNickname: e?.appConfig.config?.show_account_nicknames_in_master
10
- }), a = {
11
- accountNumber: n.account_number,
12
- name: `${r} ${n.is_closed ? `(${t})` : ""}`,
13
- guid: n.guid
14
- };
15
- return Object.prototype.hasOwnProperty.call(s, o) ? s[o] = s[o].concat(a) : s[o] = [a], s;
16
- }, {});
17
- function b(i) {
18
- const { heldAccounts: t, externalAccounts: e } = i.reduce(
19
- (s, n) => (n.member_is_managed_by_user ? s.externalAccounts.push(n) : s.heldAccounts.push(n), s),
20
- { heldAccounts: [], externalAccounts: [] }
21
- );
22
- return {
23
- heldAccounts: A(t),
24
- externalAccounts: A(e)
25
- };
26
- }
27
- function R(i, t) {
28
- const { heldAccounts: e, externalAccounts: s } = b(i), n = e.slice(0, t);
29
- return n.length < t && n.push(...s.slice(0, t - n.length)), n;
30
- }
31
- const I = {
32
- [c.CHECKING]: 1,
33
- [c.SAVINGS]: 2,
34
- [c.CREDIT_CARD]: 3
35
- }, h = (i) => I[i] ?? i + 100, A = (i) => i.sort((t, e) => {
36
- const s = h(t.account_type), n = h(e.account_type), o = s - n;
37
- if (o !== 0) return o;
38
- const r = t.name ?? t.feed_name ?? "", a = e.name ?? e.feed_name ?? "";
39
- return r.localeCompare(a);
40
- });
41
- class E {
1
+ import { makeAutoObservable as h, runInAction as a } from "mobx";
2
+ import { i as g } from "./User-B0LnmiKO.mjs";
3
+ import { A as d } from "./AccountApi-DgZ8ILj1.mjs";
4
+ import { d as m } from "./Accounts-M-LTzStv.mjs";
5
+ import { A as s, d as u } from "./Account-BiB1F8lL.mjs";
6
+ class p {
42
7
  isLoading = !1;
43
8
  selectedAccount = {};
44
9
  selectedMember = {};
45
10
  constructor() {
46
- g(this);
11
+ h(this);
47
12
  }
48
13
  setIsLoading = (t) => this.isLoading = t;
49
14
  setSelectedAccount = (t) => this.selectedAccount = t;
50
15
  setSelectedMember = (t) => this.selectedMember = t;
51
16
  }
52
- class x {
17
+ class E {
53
18
  globalStore;
54
- api = new l("/", "");
19
+ api = new d("/", "");
55
20
  accounts = [];
56
21
  accountsLoaded = !1;
57
22
  accountsLoading = !1;
@@ -63,7 +28,7 @@ class x {
63
28
  membersLoading = !1;
64
29
  uiStore;
65
30
  constructor(t) {
66
- this.globalStore = t, this.uiStore = new E(), this.api = new l(t.endpoint, t.sessionToken, t.onError), g(this);
31
+ this.globalStore = t, this.uiStore = new p(), this.api = new d(t.endpoint, t.sessionToken, t.onError), h(this);
67
32
  }
68
33
  loadAccountData = async () => {
69
34
  await Promise.all([this.loadAccounts(), this.loadMembers(), this.loadInstitutions()]);
@@ -72,52 +37,52 @@ class x {
72
37
  return this.accountsLoaded && this.membersLoaded && this.institutionsLoaded;
73
38
  }
74
39
  get detailedAccounts() {
75
- const t = this.globalStore.userStore.userFeatures, e = f(t, "MD_EXCLUDE_EXTERNAL_ACCOUNTS");
76
- return y(this.accounts, this.institutions, this.members, e);
40
+ const t = this.globalStore.userStore.userFeatures, e = g(t, "MD_EXCLUDE_EXTERNAL_ACCOUNTS");
41
+ return m(this.accounts, this.institutions, this.members, e);
77
42
  }
78
43
  get accountsByTypeMap() {
79
44
  return this.detailedAccounts.reduce((t, e) => {
80
- const s = e.account_type;
81
- let n = t.get(s);
82
- return n || (n = []), n.push(e), t.set(s, n), t;
45
+ const c = e.account_type;
46
+ let n = t.get(c);
47
+ return n || (n = []), n.push(e), t.set(c, n), t;
83
48
  }, /* @__PURE__ */ new Map());
84
49
  }
85
50
  get cashAccounts() {
86
51
  return this.detailedAccounts.filter(
87
- (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
52
+ (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
88
53
  );
89
54
  }
90
55
  get cashBalance() {
91
56
  return this.cashAccounts.reduce((t, e) => t + (e?.balance || 0), 0);
92
57
  }
93
58
  get checkingAccounts() {
94
- return this.detailedAccounts.filter((t) => t.account_type === c.CHECKING);
59
+ return this.detailedAccounts.filter((t) => t.account_type === s.CHECKING);
95
60
  }
96
61
  get debtAccounts() {
97
62
  return this.detailedAccounts.filter(
98
- (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
63
+ (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
99
64
  );
100
65
  }
101
66
  get finstrongAccounts() {
102
67
  const t = /* @__PURE__ */ new Set([
103
- c.CHECKING,
104
- c.SAVINGS,
105
- c.CREDIT_CARD,
106
- c.INVESTMENT
68
+ s.CHECKING,
69
+ s.SAVINGS,
70
+ s.CREDIT_CARD,
71
+ s.INVESTMENT
107
72
  ]);
108
73
  return this.detailedAccounts.filter((e) => t.has(e.account_type));
109
74
  }
110
75
  get investmentAccounts() {
111
76
  return this.detailedAccounts.filter(
112
- (t) => t.account_type === c.INVESTMENT
77
+ (t) => t.account_type === s.INVESTMENT
113
78
  );
114
79
  }
115
80
  get savingsAccounts() {
116
- return this.detailedAccounts.filter((t) => t.account_type === c.SAVINGS);
81
+ return this.detailedAccounts.filter((t) => t.account_type === s.SAVINGS);
117
82
  }
118
83
  get retirementAccounts() {
119
84
  return this.detailedAccounts.filter(
120
- (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 === u.WHOLE_LIFE || t.account_subtype === u.UNIVERSAL_LIFE || t.account_subtype === u.VARIABLE_UNIVERSAL_LIFE)
85
+ (t) => t.account_type === s.INVESTMENT || t.account_type === s.SAVINGS || t.account_type === s.CHECKING || t.account_type === s.CASH || t.account_type === s.PROPERTY || t.account_type === s.INSURANCE && (t.account_subtype === u.WHOLE_LIFE || t.account_subtype === u.UNIVERSAL_LIFE || t.account_subtype === u.VARIABLE_UNIVERSAL_LIFE)
121
86
  );
122
87
  }
123
88
  get visibleAccounts() {
@@ -151,13 +116,13 @@ class x {
151
116
  }
152
117
  get savingsAndCheckingAccountsBalance() {
153
118
  return this.savingsAndCheckingAccounts.reduce(
154
- (e, s) => e + (s?.balance || 0),
119
+ (e, c) => e + (c?.balance || 0),
155
120
  0
156
121
  );
157
122
  }
158
123
  get savingsAndCheckingAccounts() {
159
124
  return this.accounts.filter(
160
- (e) => e.account_type === c.SAVINGS || e.account_type === c.CHECKING
125
+ (e) => e.account_type === s.SAVINGS || e.account_type === s.CHECKING
161
126
  );
162
127
  }
163
128
  setAccounts = (t) => {
@@ -172,7 +137,7 @@ class x {
172
137
  addAccount = async (t) => {
173
138
  try {
174
139
  const e = await this.api.createAccount(t);
175
- d(() => {
140
+ a(() => {
176
141
  this.accounts = [...this.accounts, e];
177
142
  });
178
143
  } catch (e) {
@@ -214,12 +179,12 @@ class x {
214
179
  };
215
180
  mergeAccounts = async (t) => {
216
181
  try {
217
- const e = await this.api.mergeAccounts(t), s = e[Object.keys(e)[0]];
218
- d(() => {
219
- const n = this.accounts.findIndex((r) => r.guid === t[1]);
182
+ const e = await this.api.mergeAccounts(t), c = e[Object.keys(e)[0]];
183
+ a(() => {
184
+ const n = this.accounts.findIndex((i) => i.guid === t[1]);
220
185
  this.accounts.splice(n, 1);
221
- const o = this.accounts.findIndex((r) => r.guid === t[0]);
222
- this.accounts.splice(o, 1, s);
186
+ const o = this.accounts.findIndex((i) => i.guid === t[0]);
187
+ this.accounts.splice(o, 1, c);
223
188
  });
224
189
  } catch (e) {
225
190
  console.error(`Error occurred while merging accounts: ${e}`);
@@ -238,7 +203,7 @@ class x {
238
203
  removeAccount = async (t) => {
239
204
  try {
240
205
  await this.api.deleteAccount(t);
241
- const e = this.accounts.findIndex((s) => s.guid === t);
206
+ const e = this.accounts.findIndex((c) => c.guid === t);
242
207
  this.accounts.splice(e, 1);
243
208
  } catch (e) {
244
209
  console.error(`Error occurred while removing an account: ${e}`);
@@ -246,37 +211,34 @@ class x {
246
211
  };
247
212
  updateAccount = async (t) => {
248
213
  try {
249
- const e = await this.api.updateAccount(t), s = this.accounts.findIndex(
214
+ const e = await this.api.updateAccount(t), c = this.accounts.findIndex(
250
215
  (n) => n.guid === e.guid
251
216
  );
252
- this.accounts.splice(s, 1, e);
217
+ this.accounts.splice(c, 1, e);
253
218
  } catch (e) {
254
219
  console.error(`Error occurred while updating account: ${e}`);
255
220
  }
256
221
  };
257
222
  updateAccountBalance = (t, e) => {
258
- const s = this.accounts.find((n) => n.guid === t);
259
- s && d(() => {
260
- s.balance = (s.balance || 0) + e;
223
+ const c = this.accounts.find((n) => n.guid === t);
224
+ c && a(() => {
225
+ c.balance = (c.balance || 0) + e;
261
226
  });
262
227
  };
263
228
  updateAccountFilter = async (t) => {
264
229
  const e = [];
265
- for (const [o, r] of t.entries()) {
266
- const a = this.accounts.find((p) => p.guid === o);
267
- a && a.is_excluded_from_accounts === r && (a.is_excluded_from_accounts = !r, e.push(this.api.updateAccount(a)));
230
+ for (const [o, i] of t.entries()) {
231
+ const r = this.accounts.find((A) => A.guid === o);
232
+ r && r.is_excluded_from_accounts === i && (r.is_excluded_from_accounts = !i, e.push(this.api.updateAccount(r)));
268
233
  }
269
- const s = await Promise.all(e), n = [...this.accounts];
270
- for (const o of s) {
271
- const r = n.findIndex((a) => a.guid === o.guid);
272
- r !== -1 && n.splice(r, 1, o);
234
+ const c = await Promise.all(e), n = [...this.accounts];
235
+ for (const o of c) {
236
+ const i = n.findIndex((r) => r.guid === o.guid);
237
+ i !== -1 && n.splice(i, 1, o);
273
238
  }
274
239
  this.setAccounts(n);
275
240
  };
276
241
  }
277
242
  export {
278
- x as A,
279
- T as a,
280
- R as g,
281
- M as s
243
+ E as A
282
244
  };
@@ -1,4 +1,4 @@
1
- import { A as e, C as u, E as r, c as p, M as y } from "./Account-Cp4uT2pE.mjs";
1
+ import { A as e, C as u, E as r, c as p, M as y } from "./Account-BiB1F8lL.mjs";
2
2
  const l = (t) => t && (t.account_type === e.CREDIT_CARD || t.account_type === e.LOAN || t.account_type === e.MORTGAGE || t.account_type === e.LINE_OF_CREDIT || t.account_type === e.CHECKING_LINE_OF_CREDIT), I = (t) => t.is_manual || !t.guid, R = (t) => t.account_type === e.LINE_OF_CREDIT || t.account_type === e.CREDIT_CARD || t.account_type === e.CHECKING_LINE_OF_CREDIT, f = (t) => t.account_type === e.SAVINGS || t.account_type === e.CHECKING || t.account_type === e.LINE_OF_CREDIT || t.account_type === e.CREDIT_CARD || t.account_type === e.LOAN || t.account_type === e.MORTGAGE, m = (t) => t.account_type === e.LOAN || t.account_type === e.MORTGAGE, A = (t, n, s, _) => t.filter((i) => !(i.member_is_managed_by_user && _)).sort(d).map((i) => {
3
3
  const c = n.find((a) => a.guid === i.institution_guid), o = s.find((a) => a.guid === i.member_guid);
4
4
  return E(i, c, o);