@mx-cartographer/experiences 7.2.9-alpha.san4 → 7.2.10

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 (125) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/{Account-CBQnFO6w.mjs → Account-B-CuHOYf.mjs} +1 -1
  3. package/dist/{AccountDetailsContent-CmdOOZw1.mjs → AccountDetailsContent-DfzPOeMI.mjs} +10 -10
  4. package/dist/{AccountDetailsHeader-CaIoP_2Q.mjs → AccountDetailsHeader-vcy67tuH.mjs} +8 -8
  5. package/dist/{AccountFields-CLbLAhLf.mjs → AccountFields-cUP-9Hm6.mjs} +5 -5
  6. package/dist/{AccountListItem-CPm3572e.mjs → AccountListItem-DChcf3SN.mjs} +4 -4
  7. package/dist/{AccountStore-DttEGFeu.mjs → AccountStore-D6KiXA1B.mjs} +29 -40
  8. package/dist/{Accounts-B5Yr0e_o.mjs → Accounts-IeEtQjzA.mjs} +1 -1
  9. package/dist/{BudgetUtil-wjoNuj7B.mjs → BudgetUtil-B2ZXyw-g.mjs} +1 -1
  10. package/dist/{CategorySelectorDrawer-ZO9N26Kx.mjs → CategorySelectorDrawer-DUe4lH5-.mjs} +3 -3
  11. package/dist/{CategoryStore-C1IfDPCE.mjs → CategoryStore-BCcpI3oJ.mjs} +1 -1
  12. package/dist/{CategoryUtil-DUM8NuGO.mjs → CategoryUtil-BR3H5i6n.mjs} +1 -1
  13. package/dist/{ConnectDrawer-FyY0AWYQ.mjs → ConnectDrawer-DaFRU5st.mjs} +2 -2
  14. package/dist/{ConnectionsDrawer-Cd_rztVC.mjs → ConnectionsDrawer-DHJ7qdWL.mjs} +3 -3
  15. package/dist/{CurrencyInput-CBOkNlNP.mjs → CurrencyInput-CsCy7uaS.mjs} +1 -1
  16. package/dist/{DateUtil-CBdcsyuk.mjs → DateUtil-BcuH7ErC.mjs} +3 -3
  17. package/dist/{DebtsStore-DB5U2WMC.mjs → DebtsStore-z3VARSO6.mjs} +1 -1
  18. package/dist/{Dialog-BPTr3qHE.mjs → Dialog-CWW597AF.mjs} +2 -2
  19. package/dist/Drawer-kEE73B87.mjs +113 -0
  20. package/dist/{ExportCsvAction-DlGZfm4y.mjs → ExportCsvAction-sX8Rg4Ov.mjs} +3 -3
  21. package/dist/FinstrongStore-F2c607dj.mjs +101 -0
  22. package/dist/{GoalStore-deVLYr7n.mjs → GoalStore-TD0BfzWX.mjs} +3 -3
  23. package/dist/{Help-BnPXM_N2.mjs → Help-B6dIcujh.mjs} +2 -2
  24. package/dist/{LineChart-Ct9DNmhS.mjs → LineChart-D4GI7nVh.mjs} +181 -209
  25. package/dist/{ListItemAction-uobBrm_a.mjs → ListItemAction-DHa3KJPs.mjs} +10 -10
  26. package/dist/{ManageIncome-DB_lKOIy.mjs → ManageIncome-D3n1EWxe.mjs} +61 -63
  27. package/dist/{MicroWidgetContainer-DEiRnYVa.mjs → MicroWidgetContainer-DpeqN9n3.mjs} +1 -1
  28. package/dist/{MiniWidgetContainer-CmXpTylX.mjs → MiniWidgetContainer-D0gfmbaF.mjs} +1 -1
  29. package/dist/{NetWorthStore-CUz0bwVm.mjs → NetWorthStore-B_1oulrt.mjs} +2 -2
  30. package/dist/{NotificationSettings-Bfb3T7nN.mjs → NotificationSettings-BRm_EJZV.mjs} +5 -5
  31. package/dist/{OriginalBalanceAction-BLiU-7Lf.mjs → OriginalBalanceAction-CAaVbVMO.mjs} +3 -3
  32. package/dist/{RecurringSettings-dJJxtLyU.mjs → RecurringSettings-C28GrQcP.mjs} +4 -4
  33. package/dist/{RecurringTransactions-CngsRZ3K.mjs → RecurringTransactions-ej39mgA6.mjs} +44 -45
  34. package/dist/{RecurringTransactionsStore-C4RVULF8.mjs → RecurringTransactionsStore-DrzS1LmF.mjs} +1 -1
  35. package/dist/{SpendingData-BuJ03S9d.mjs → SpendingData-D5vsfYKo.mjs} +16 -16
  36. package/dist/{TransactionDetails-CJvE4LNC.mjs → TransactionDetails-BWffqew4.mjs} +8 -11
  37. package/dist/{TransactionStore-DvOEbOzL.mjs → TransactionStore-DxPLdF3B.mjs} +3 -3
  38. package/dist/{TrendsStore-BVNxGsE4.mjs → TrendsStore-DCYbpXPO.mjs} +14 -14
  39. package/dist/{User-wXzDI4M8.mjs → User-BQUxBeZV.mjs} +2 -2
  40. package/dist/{WidgetContainer-GoNq8wwm.mjs → WidgetContainer-C88Ecu2W.mjs} +4 -4
  41. package/dist/accounts/index.es.js +14 -14
  42. package/dist/accounts/stores/AccountStore.d.ts +0 -2
  43. package/dist/analytics/index.es.js +2 -2
  44. package/dist/budgets/index.es.js +12 -12
  45. package/dist/cashflow/index.es.js +44 -44
  46. package/dist/categories/index.es.js +2 -2
  47. package/dist/common/components/Select.d.ts +2 -4
  48. package/dist/common/components/charts/LineChart.d.ts +2 -8
  49. package/dist/common/components/charts/linechart/CustomMark.d.ts +0 -4
  50. package/dist/common/components/drawer/Drawer.d.ts +0 -3
  51. package/dist/common/hooks/useAriaLive.d.ts +8 -0
  52. package/dist/common/index.es.js +33 -33
  53. package/dist/common/types/Finstrong.d.ts +0 -50
  54. package/dist/common/types/index.d.ts +1 -1
  55. package/dist/common/types/localization/FinstrongCopy.d.ts +1 -58
  56. package/dist/common/types/localization/TransactionsCopy.d.ts +1 -0
  57. package/dist/dashboard/index.es.js +2 -2
  58. package/dist/debts/index.es.js +11 -11
  59. package/dist/{exportTransactionsToCSV-hrNpJ77n.mjs → exportTransactionsToCSV-7bVS7KXf.mjs} +2 -2
  60. package/dist/finstrong/api/FinstrongApi.d.ts +0 -5
  61. package/dist/finstrong/components/ConnectMoreAccountsCard.d.ts +1 -3
  62. package/dist/finstrong/components/KeyIndicatorsBorrowTab.d.ts +2 -2
  63. package/dist/finstrong/components/KeyIndicatorsDrawer.d.ts +1 -4
  64. package/dist/finstrong/components/KeyIndicatorsSaveTab.d.ts +2 -2
  65. package/dist/finstrong/components/KeyIndicatorsSpendTab.d.ts +2 -2
  66. package/dist/finstrong/components/KeyIndicatorsTabItem.d.ts +3 -4
  67. package/dist/finstrong/components/KeyIndicatorsTabsWidget.d.ts +2 -2
  68. package/dist/finstrong/index.es.js +1055 -3130
  69. package/dist/finstrong/stores/FinstrongStore.d.ts +1 -9
  70. package/dist/finstrong/util/finstrongUtils.d.ts +1 -58
  71. package/dist/finstrong/utils/Finstrong.d.ts +6 -0
  72. package/dist/goals/index.es.js +14 -14
  73. package/dist/help/index.es.js +3 -3
  74. package/dist/{hooks-C41HAxM5.mjs → hooks-D6XlXHf4.mjs} +3 -3
  75. package/dist/investments/index.es.js +4 -4
  76. package/dist/merchants/index.es.js +1 -1
  77. package/dist/networth/index.es.js +34 -34
  78. package/dist/notifications/index.es.js +4 -4
  79. package/dist/recurringtransactions/index.es.js +13 -13
  80. package/dist/settings/index.es.js +8 -8
  81. package/dist/spending/index.es.js +373 -222
  82. package/dist/transactions/index.es.js +307 -271
  83. package/dist/trends/index.es.js +94 -94
  84. package/dist/{useAccountDisplayName-B5O6hQ1B.mjs → useAccountDisplayName-BcRqfar8.mjs} +2 -2
  85. package/dist/{useInsightsEnabled-CNjP5cfR.mjs → useInsightsEnabled-DBpwEq10.mjs} +1 -1
  86. package/package.json +1 -1
  87. package/dist/Drawer-BEtCk82g.mjs +0 -163
  88. package/dist/FinstrongStore-rVhw737g.mjs +0 -432
  89. package/dist/SpendingLegend-squvjEhu.mjs +0 -170
  90. package/dist/accounts/components/AccountsListCompact.d.ts +0 -10
  91. package/dist/common/components/drawer/Footer.d.ts +0 -17
  92. package/dist/finstrong/components/CreditScore/CreditScoreContent.d.ts +0 -4
  93. package/dist/finstrong/components/CreditScore/CreditScoreHeader.d.ts +0 -4
  94. package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent.d.ts +0 -3
  95. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.d.ts +0 -3
  96. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar.d.ts +0 -4
  97. package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent.d.ts +0 -3
  98. package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.d.ts +0 -10
  99. package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator.d.ts +0 -6
  100. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent.d.ts +0 -4
  101. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky.d.ts +0 -4
  102. package/dist/finstrong/components/ProgressBar.d.ts +0 -15
  103. package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent.d.ts +0 -3
  104. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.d.ts +0 -3
  105. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar.d.ts +0 -4
  106. package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent.d.ts +0 -3
  107. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent.d.ts +0 -3
  108. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar.d.ts +0 -4
  109. package/dist/finstrong/components/StatusChip.d.ts +0 -5
  110. package/dist/finstrong/components/onboarding/Onboarding.d.ts +0 -2
  111. package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +0 -11
  112. package/dist/finstrong/components/onboarding/OnboardingBirthday.d.ts +0 -8
  113. package/dist/finstrong/components/onboarding/OnboardingCreditScore.d.ts +0 -8
  114. package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +0 -14
  115. package/dist/finstrong/components/onboarding/OnboardingStepsHeader.d.ts +0 -8
  116. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent.d.ts +0 -4
  117. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent.d.ts +0 -4
  118. package/dist/finstrong/components/shared/Accounts.d.ts +0 -8
  119. package/dist/finstrong/components/shared/CustomDoubleBarPlot.d.ts +0 -25
  120. package/dist/finstrong/components/shared/DoubleBarChart.d.ts +0 -28
  121. package/dist/finstrong/components/shared/LineGraph.d.ts +0 -7
  122. package/dist/finstrong/components/shared/TotalCard.d.ts +0 -8
  123. package/dist/finstrong/components/shared/TransactionList.d.ts +0 -15
  124. package/dist/finstrong/components/shared/Transactions.d.ts +0 -11
  125. package/dist/finstrong/constants/index.d.ts +0 -8
package/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [7.2.10] - 11-18-2025
2
+
3
+ - **FIXED** - transactions widget to announce dynamic updates via aria live region
4
+
1
5
  ## [7.2.9] - 11-17-2025
2
6
 
3
7
  - **UPDATED** - components directory `microinsights`
@@ -1,4 +1,4 @@
1
- import { A as C } from "./ConnectDrawer-FyY0AWYQ.mjs";
1
+ import { A as C } from "./ConnectDrawer-DaFRU5st.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-CaIoP_2Q.mjs";
15
- import { d as z, u as E, g as O, h as X } from "./hooks-C41HAxM5.mjs";
16
- import { A as at } from "./AccountListItem-CPm3572e.mjs";
17
- import { A as k } from "./WidgetContainer-GoNq8wwm.mjs";
18
- import { D as V, f as B, a as K } from "./Dialog-BPTr3qHE.mjs";
14
+ import { u as D } from "./AccountDetailsHeader-vcy67tuH.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-DChcf3SN.mjs";
17
+ import { A as k } from "./WidgetContainer-C88Ecu2W.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
- import { D as J } from "./Drawer-BEtCk82g.mjs";
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 { n as m, N as Q, l as Z, F as P } from "./ConnectDrawer-FyY0AWYQ.mjs";
25
+ import { n as m, N as Q, l as Z, F as P } from "./ConnectDrawer-DaFRU5st.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-CBOkNlNP.mjs";
41
- import { b as Dt } from "./AccountFields-CLbLAhLf.mjs";
40
+ import { C as St } from "./CurrencyInput-CsCy7uaS.mjs";
41
+ import { b as Dt } from "./AccountFields-cUP-9Hm6.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-CJvE4LNC.mjs";
47
+ import { T as vt, a as Lt } from "./TransactionDetails-BWffqew4.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-CLbLAhLf.mjs";
5
+ import { g as v } from "./AccountFields-cUP-9Hm6.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-C41HAxM5.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
- import { g as H, a as U, b as j } from "./SpendingData-BuJ03S9d.mjs";
13
- import { L as z } from "./LineChart-Ct9DNmhS.mjs";
14
- import { I as f, P as g, S as C } from "./Account-CBQnFO6w.mjs";
15
- import { A } from "./ConnectDrawer-FyY0AWYQ.mjs";
12
+ import { g as H, a as U, b as j } from "./SpendingData-D5vsfYKo.mjs";
13
+ import { L as z } from "./LineChart-D4GI7nVh.mjs";
14
+ import { I as f, P as g, S as C } from "./Account-B-CuHOYf.mjs";
15
+ import { A } from "./ConnectDrawer-DaFRU5st.mjs";
16
16
  import { L as Y } from "./Loader-DUaFpDGv.mjs";
17
- import { f as R, a as $ } from "./Dialog-BPTr3qHE.mjs";
18
- import { u as k } from "./useAccountDisplayName-B5O6hQ1B.mjs";
17
+ import { f as R, D as $ } from "./Dialog-CWW597AF.mjs";
18
+ import { u as k } from "./useAccountDisplayName-BcRqfar8.mjs";
19
19
  import { f as F } from "./NumberFormatting-Buh7u8Oi.mjs";
20
20
  const b = () => {
21
21
  if (!h.useContext(E))
@@ -1,10 +1,10 @@
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-FyY0AWYQ.mjs";
4
- import { i as T, u as A, a as D, b as g, c as O } from "./Accounts-B5Yr0e_o.mjs";
3
+ import { F as m, A as d, a as v, P as h, b as F } from "./ConnectDrawer-DaFRU5st.mjs";
4
+ import { i as T, u as D, a as A, b as g, c as O } from "./Accounts-IeEtQjzA.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
- import { f as o, a as f } from "./Dialog-BPTr3qHE.mjs";
7
+ import { f as o, D as f } from "./Dialog-CWW597AF.mjs";
8
8
  const w = (l, e) => {
9
9
  const r = [
10
10
  {
@@ -54,7 +54,7 @@ const w = (l, e) => {
54
54
  valueFormatter: (t) => a.find((n) => n.value === t)?.label
55
55
  });
56
56
  }
57
- if (A(l)) {
57
+ if (D(l)) {
58
58
  let a = e.interest_rate, t = "interest_rate";
59
59
  l.is_manual || (typeof l.apr == "number" && (a = e.apr, t = "apr"), typeof l.apy == "number" && (a = e.apy, t = "apy")), r.push({
60
60
  event: "account_details_click_interest_rate",
@@ -66,7 +66,7 @@ const w = (l, e) => {
66
66
  valueFormatter: (n) => b(n) ? N(n / 100) : n
67
67
  });
68
68
  }
69
- return D(l) && (r.push({
69
+ return A(l) && (r.push({
70
70
  label: e.minimum_payment,
71
71
  name: "minimum_payment",
72
72
  placeholder: i(e.enter_value, e.minimum_payment),
@@ -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-CLbLAhLf.mjs";
14
- import { u as X } from "./useAccountDisplayName-B5O6hQ1B.mjs";
15
- import { d } from "./ConnectDrawer-FyY0AWYQ.mjs";
16
- import { u as $ } from "./hooks-C41HAxM5.mjs";
13
+ import { g as T } from "./AccountFields-cUP-9Hm6.mjs";
14
+ import { u as X } from "./useAccountDisplayName-BcRqfar8.mjs";
15
+ import { d } from "./ConnectDrawer-DaFRU5st.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,8 +1,8 @@
1
- import { makeAutoObservable as _, runInAction as a } from "mobx";
2
- import { i as f } from "./User-wXzDI4M8.mjs";
1
+ import { makeAutoObservable as A, runInAction as a } from "mobx";
2
+ import { i as f } from "./User-BQUxBeZV.mjs";
3
3
  import { F as p, A as i } from "./Fetch-87LIQbEA.mjs";
4
- import { A as c, h as d, d as h, E as y, i as I, j as b } from "./ConnectDrawer-FyY0AWYQ.mjs";
5
- class A {
4
+ import { A as c, h as d, d as h, E as y, i as I, j as b } from "./ConnectDrawer-DaFRU5st.mjs";
5
+ class _ {
6
6
  fetchInstance;
7
7
  constructor(t, e, n) {
8
8
  this.fetchInstance = new p(t, e, void 0, n);
@@ -17,26 +17,26 @@ class A {
17
17
  refreshAllMembers = async () => this.fetchInstance.get(`${i.MEMBERS}/refresh_all`).then((t) => t).catch((t) => t);
18
18
  updateAccount = async (t) => this.fetchInstance.put(`${i.ACCOUNTS}/${t.guid}`, t).then((e) => e.account).catch((e) => e);
19
19
  }
20
- class C {
20
+ class E {
21
21
  isLoading = !1;
22
22
  selectedAccount = {};
23
23
  selectedMember = {};
24
24
  constructor() {
25
- _(this);
25
+ A(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 w {
31
+ class T {
32
32
  globalStore;
33
- api = new A("/", "");
33
+ api = new _("/", "");
34
34
  accounts = [];
35
35
  institutions = [];
36
36
  members = [];
37
37
  uiStore;
38
38
  constructor(t) {
39
- this.globalStore = t, this.uiStore = new C(), this.api = new A(t.endpoint, t.sessionToken, t.onError), _(this);
39
+ this.globalStore = t, this.uiStore = new E(), this.api = new _(t.endpoint, t.sessionToken, t.onError), A(this);
40
40
  }
41
41
  loadAccountData = async ({
42
42
  accounts: t,
@@ -111,17 +111,6 @@ class w {
111
111
  get visibleSavingsAccounts() {
112
112
  return this.savingsAccounts.filter((t) => !t.is_hidden);
113
113
  }
114
- get savingsAndCheckingAccountsBalance() {
115
- return this.savingsAndCheckingAccounts.reduce(
116
- (e, n) => e + (n?.balance || 0),
117
- 0
118
- );
119
- }
120
- get savingsAndCheckingAccounts() {
121
- return this.accounts.filter(
122
- (e) => e.account_type === c.SAVINGS || e.account_type === c.CHECKING
123
- );
124
- }
125
114
  addAccount = async (t) => {
126
115
  try {
127
116
  const e = await this.api.createAccount(t);
@@ -137,22 +126,22 @@ class w {
137
126
  n,
138
127
  "MD_EXCLUDE_EXTERNAL_ACCOUNTS"
139
128
  );
140
- for (const o of t) {
141
- if (s && o.member_is_managed_by_user) continue;
142
- const r = this.members.find((m) => m.guid === o.member_guid);
143
- if (!r) continue;
129
+ 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);
132
+ if (!o) continue;
144
133
  let u = h.Connected;
145
- y.includes(r.connection_status) ? u = h.Error : I.includes(r.connection_status) ? u = h.Processing : b.includes(r.connection_status) && (u = h.RequiresMfa);
146
- const g = [
147
- o.user_name || o.feed_name || "",
148
- o.account_number ? `*${o.account_number}` : ""
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 = [
136
+ r.user_name || r.feed_name || "",
137
+ r.account_number ? `*${r.account_number}` : ""
149
138
  ].join(" ").trim();
150
139
  e.push({
151
- ...o,
140
+ ...r,
152
141
  connectionStatus: u,
153
- institutionName: g,
154
- memberName: r.name
155
- }), r.connectionStatus = u;
142
+ institutionName: m,
143
+ memberName: o.name
144
+ }), o.connectionStatus = u;
156
145
  }
157
146
  return e;
158
147
  };
@@ -191,10 +180,10 @@ class w {
191
180
  try {
192
181
  const e = await this.api.mergeAccounts(t), n = e[Object.keys(e)[0]];
193
182
  a(() => {
194
- const s = this.accounts.findIndex((r) => r.guid === t[1]);
183
+ const s = this.accounts.findIndex((o) => o.guid === t[1]);
195
184
  this.accounts.splice(s, 1);
196
- const o = this.accounts.findIndex((r) => r.guid === t[0]);
197
- this.accounts.splice(o, 1, n);
185
+ const r = this.accounts.findIndex((o) => o.guid === t[0]);
186
+ this.accounts.splice(r, 1, n);
198
187
  });
199
188
  } catch (e) {
200
189
  console.error(`Error occurred while merging accounts: ${e}`);
@@ -242,19 +231,19 @@ class w {
242
231
  };
243
232
  updateAccountFiltering = async (t, e) => {
244
233
  for (const n of t) {
245
- const s = this.accounts.find((o) => o.guid === n);
234
+ const s = this.accounts.find((r) => r.guid === n);
246
235
  if (s) {
247
236
  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;
248
237
  try {
249
238
  this.updateAccount(s);
250
- } catch (o) {
251
- console.error(`Failed to update account ${n} (added):`, o);
239
+ } catch (r) {
240
+ console.error(`Failed to update account ${n} (added):`, r);
252
241
  }
253
242
  }
254
243
  }
255
244
  };
256
245
  }
257
246
  export {
258
- A,
259
- w as a
247
+ _ as A,
248
+ T as a
260
249
  };
@@ -1,4 +1,4 @@
1
- import { A as _ } from "./ConnectDrawer-FyY0AWYQ.mjs";
1
+ import { A as _ } from "./ConnectDrawer-DaFRU5st.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-C41HAxM5.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-C41HAxM5.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";
@@ -16,13 +16,13 @@ import { Text as B, TextField as q, CategoryIcon as H } from "@mxenabled/mxui";
16
16
  import J from "@mui/material/Collapse";
17
17
  import Q from "@mui/material/DialogContent";
18
18
  import { b as S } from "./Localization-2MODESHW.mjs";
19
- import { D as Z } from "./Dialog-BPTr3qHE.mjs";
19
+ import { a as Z } from "./Dialog-CWW597AF.mjs";
20
20
  import ee from "@mui/material/Box";
21
21
  import te from "@mui/material/Chip";
22
22
  import I from "@mui/material/IconButton";
23
23
  import { S as oe } from "./SearchBox-B2_zLv8-.mjs";
24
24
  import { L as k } from "./Loader-DUaFpDGv.mjs";
25
- import { D as ae } from "./Drawer-BEtCk82g.mjs";
25
+ import { D as ae } from "./Drawer-kEE73B87.mjs";
26
26
  const h = () => {
27
27
  if (!C.useContext(K))
28
28
  throw new Error("useCategoryUiStore() must be used within the GlobalDataContext");
@@ -3,7 +3,7 @@ import { getUnixTime as r } from "date-fns/getUnixTime";
3
3
  import { subMonths as g } from "date-fns/subMonths";
4
4
  import { startOfMonth as h } from "date-fns/startOfMonth";
5
5
  import { endOfMonth as d } from "date-fns/endOfMonth";
6
- import { a as T, g as m } from "./CategoryUtil-DUM8NuGO.mjs";
6
+ import { a as T, g as m } from "./CategoryUtil-BR3H5i6n.mjs";
7
7
  import { F as p, A as i } from "./Fetch-87LIQbEA.mjs";
8
8
  import { b as f, c as w } from "./Category-CevNQ03n.mjs";
9
9
  class y {
@@ -4,7 +4,7 @@ import { startOfToday as M } from "date-fns/startOfToday";
4
4
  import { subMonths as T } from "date-fns/subMonths";
5
5
  import { CategoryIconList as C } from "@mxenabled/mxui";
6
6
  import { C as N, a as O, b } from "./Category-CevNQ03n.mjs";
7
- import { f as D, a as E } from "./Dialog-BPTr3qHE.mjs";
7
+ import { f as D, D as E } from "./Dialog-CWW597AF.mjs";
8
8
  const R = 3, d = 12, Y = (n, r, t) => n.filter((e) => !e.parent_guid).map(
9
9
  (e) => _(
10
10
  e,
@@ -14,14 +14,14 @@ 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-C41HAxM5.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";
21
21
  import iE from "@mui/material/styles/useTheme";
22
22
  import { ConnectWidget as aE } from "@mxenabled/web-widget-sdk";
23
23
  import lE from "@mui/material/CircularProgress";
24
- import { D as OE } from "./Drawer-BEtCk82g.mjs";
24
+ import { D as OE } from "./Drawer-kEE73B87.mjs";
25
25
  var T = /* @__PURE__ */ ((E) => (E[E.ANY = 0] = "ANY", E[E.CHECKING = 1] = "CHECKING", E[E.SAVINGS = 2] = "SAVINGS", E[E.LOAN = 3] = "LOAN", E[E.CREDIT_CARD = 4] = "CREDIT_CARD", E[E.INVESTMENT = 5] = "INVESTMENT", E[E.LINE_OF_CREDIT = 6] = "LINE_OF_CREDIT", E[E.MORTGAGE = 7] = "MORTGAGE", E[E.PROPERTY = 8] = "PROPERTY", E[E.CASH = 9] = "CASH", E[E.INSURANCE = 10] = "INSURANCE", E[E.PREPAID = 11] = "PREPAID", E[E.CHECKING_LINE_OF_CREDIT = 12] = "CHECKING_LINE_OF_CREDIT", E[E.DIGITAL_WALLET = 13] = "DIGITAL_WALLET", E))(T || {}), sE = /* @__PURE__ */ ((E) => (E[E.NONE = 0] = "NONE", E[E.MONEY_MARKET = 1] = "MONEY_MARKET", E[E.CERTIFICATE_OF_DEPOSIT = 2] = "CERTIFICATE_OF_DEPOSIT", E[E.AUTO = 3] = "AUTO", E[E.STUDENT = 4] = "STUDENT", E[E.SMALL_BUSINESS = 5] = "SMALL_BUSINESS", E[E.PERSONAL = 6] = "PERSONAL", E[E.PERSONAL_WITH_COLLATERAL = 7] = "PERSONAL_WITH_COLLATERAL", E[E.HOME_EQUITY = 8] = "HOME_EQUITY", E[E.PLAN_401_K = 9] = "PLAN_401_K", E[E.PLAN_403_B = 10] = "PLAN_403_B", E[E.PLAN_529 = 11] = "PLAN_529", E[E.IRA = 12] = "IRA", E[E.ROLLOVER_IRA = 13] = "ROLLOVER_IRA", E[E.ROTH_IRA = 14] = "ROTH_IRA", E[E.TAXABLE = 15] = "TAXABLE", E[E.NON_TAXABLE = 16] = "NON_TAXABLE", E[E.BROKERAGE = 17] = "BROKERAGE", E[E.TRUST = 18] = "TRUST", E[E.UNIFORM_GIFTS_TO_MINORS_ACT = 19] = "UNIFORM_GIFTS_TO_MINORS_ACT", E[E.PLAN_457 = 20] = "PLAN_457", E[E.PENSION = 21] = "PENSION", E[E.EMPLOYEE_STOCK_OWNERSHIP_PLAN = 22] = "EMPLOYEE_STOCK_OWNERSHIP_PLAN", E[E.SIMPLIFIED_EMPLOYEE_PENSION = 23] = "SIMPLIFIED_EMPLOYEE_PENSION", E[E.SIMPLE_IRA = 24] = "SIMPLE_IRA", E[E.BOAT = 25] = "BOAT", E[E.POWERSPORTS = 26] = "POWERSPORTS", E[E.RV = 27] = "RV", E[E.HELOC = 28] = "HELOC", E[E.PLAN_ROTH_401_K = 29] = "PLAN_ROTH_401_K", E[E.FIXED_ANNUITY = 30] = "FIXED_ANNUITY", E[E.VARIABLE_ANNUITY = 31] = "VARIABLE_ANNUITY", E[E.VEHICLE_INSURANCE = 32] = "VEHICLE_INSURANCE", E[E.DISABILITY = 33] = "DISABILITY", E[E.HEALTH = 34] = "HEALTH", E[E.LONG_TERM_CARE = 35] = "LONG_TERM_CARE", E[E.PROPERTY_AND_CASUALTY = 36] = "PROPERTY_AND_CASUALTY", E[E.UNIVERSAL_LIFE = 37] = "UNIVERSAL_LIFE", E[E.TERM_LIFE = 38] = "TERM_LIFE", E[E.WHOLE_LIFE = 39] = "WHOLE_LIFE", E[E.ACCIDENTAL_DEATH_AND_DISMEMBERMENT = 40] = "ACCIDENTAL_DEATH_AND_DISMEMBERMENT", E[E.VARIABLE_UNIVERSAL_LIFE = 41] = "VARIABLE_UNIVERSAL_LIFE", E[E.HSA = 42] = "HSA", E[E.TAX_FREE_SAVINGS_ACCOUNT = 43] = "TAX_FREE_SAVINGS_ACCOUNT", E[E.INDIVIDUAL = 44] = "INDIVIDUAL", E[E.REGISTERED_RETIREMENT_INCOME_FUND = 45] = "REGISTERED_RETIREMENT_INCOME_FUND", E[E.CASH_MANAGEMENT_ACCOUNT = 46] = "CASH_MANAGEMENT_ACCOUNT", E[E.EMPLOYEE_STOCK_PURCHASE_PLAN = 47] = "EMPLOYEE_STOCK_PURCHASE_PLAN", E[E.REGISTERED_EDUCATION_SAVINGS_PLAN = 48] = "REGISTERED_EDUCATION_SAVINGS_PLAN", E[E.PROFIT_SHARING_PLAN = 49] = "PROFIT_SHARING_PLAN", E[E.UNIFORM_TRANSFER_TO_MINORS_ACT = 50] = "UNIFORM_TRANSFER_TO_MINORS_ACT", E[E.PLAN_401_A = 51] = "PLAN_401_A", E[E.SARSEP_IRA = 52] = "SARSEP_IRA", E[E.FIXED_ANNUITY_TRADITIONAL_IRA = 53] = "FIXED_ANNUITY_TRADITIONAL_IRA", E[E.VARIABLE_ANNUITY_TRADITIONAL_IRA = 54] = "VARIABLE_ANNUITY_TRADITIONAL_IRA", E[E.SEPP_IRA = 55] = "SEPP_IRA", E[E.INHERITED_TRADITIONAL_IRA = 56] = "INHERITED_TRADITIONAL_IRA", E[E.FIXED_ANNUITY_ROTH_IRA = 57] = "FIXED_ANNUITY_ROTH_IRA", E[E.VARIABLE_ANNUITY_ROTH_IRA = 58] = "VARIABLE_ANNUITY_ROTH_IRA", E[E.INHERITED_ROTH_IRA = 59] = "INHERITED_ROTH_IRA", E[E.COVERDELL = 60] = "COVERDELL", E[E.ADVISORY_ACCOUNT = 61] = "ADVISORY_ACCOUNT", E[E.BROKERAGE_MARGIN = 62] = "BROKERAGE_MARGIN", E[E.CHARITABLE_GIFT_ACCOUNT = 63] = "CHARITABLE_GIFT_ACCOUNT", E[E.CHURCH_ACCOUNT = 64] = "CHURCH_ACCOUNT", E[E.CONSERVATORSHIP = 65] = "CONSERVATORSHIP", E[E.CUSTODIAL = 66] = "CUSTODIAL", E[E.DEFINED_BENEFIT_PLAN = 67] = "DEFINED_BENEFIT_PLAN", E[E.DEFINED_CONTRIBUTION_PLAN = 68] = "DEFINED_CONTRIBUTION_PLAN", E[E.EDUCATIONAL = 69] = "EDUCATIONAL", E[E.ESTATE = 70] = "ESTATE", E[E.EXECUTOR = 71] = "EXECUTOR", E[E.GROUP_RETIREMENT_SAVINGS_PLAN = 72] = "GROUP_RETIREMENT_SAVINGS_PLAN", E[E.GUARANTEED_INVESTMENT_CERTIFICATE = 73] = "GUARANTEED_INVESTMENT_CERTIFICATE", E[E.HRA = 74] = "HRA", E[E.INDEXED_ANNUITY = 75] = "INDEXED_ANNUITY", E[E.INVESTMENT_CLUB = 76] = "INVESTMENT_CLUB", E[E.IRREVOCABLE_TRUST = 77] = "IRREVOCABLE_TRUST", E[E.JOINT_TENANTS_BY_ENTIRITY = 78] = "JOINT_TENANTS_BY_ENTIRITY", E[E.JOINT_TENANTS_COMMUNITY_PROPERTY = 79] = "JOINT_TENANTS_COMMUNITY_PROPERTY", E[E.JOINT_TENANTS_IN_COMMON = 80] = "JOINT_TENANTS_IN_COMMON", E[E.JOINT_TENANTS_WITH_RIGHTS_OF_SURVIVORSHIP = 81] = "JOINT_TENANTS_WITH_RIGHTS_OF_SURVIVORSHIP", E[E.KEOUGH_PLAN = 82] = "KEOUGH_PLAN", E[E.LIFE_INCOME_FUND = 83] = "LIFE_INCOME_FUND", E[E.LIVING_TRUST = 84] = "LIVING_TRUST", E[E.LOCKED_IN_RETIREMENT_ACCOUNT = 85] = "LOCKED_IN_RETIREMENT_ACCOUNT", E[E.LOCKED_IN_RETIREMENT_INVESTMENT_FUND = 86] = "LOCKED_IN_RETIREMENT_INVESTMENT_FUND", E[E.LOCKED_IN_RETIREMENT_SAVINGS_ACCOUNT = 87] = "LOCKED_IN_RETIREMENT_SAVINGS_ACCOUNT", E[E.MONEY_PURCHASE_PLAN = 88] = "MONEY_PURCHASE_PLAN", E[E.PARTNERSHIP = 89] = "PARTNERSHIP", E[E.PLAN_409_A = 90] = "PLAN_409_A", E[E.PLAN_ROTH_403_B = 91] = "PLAN_ROTH_403_B", E[E.REGISTERED_DISABILITY_SAVINGS_PLAN = 92] = "REGISTERED_DISABILITY_SAVINGS_PLAN", E[E.REGISTERED_LOCKED_IN_SAVINGS_PLAN = 93] = "REGISTERED_LOCKED_IN_SAVINGS_PLAN", E[E.REGISTERED_PENSION_PLAN = 94] = "REGISTERED_PENSION_PLAN", E[E.REGISTERED_RETIREMENT_SAVINGS_PLAN = 95] = "REGISTERED_RETIREMENT_SAVINGS_PLAN", E[E.REVOCABLE_TRUST = 96] = "REVOCABLE_TRUST", E[E.ROTH_CONVERSION = 97] = "ROTH_CONVERSION", E[E.SOLE_PROPRIETORSHIP = 98] = "SOLE_PROPRIETORSHIP", E[E.SPOUSAL_IRA = 99] = "SPOUSAL_IRA", E[E.SPOUSAL_ROTH_IRA = 100] = "SPOUSAL_ROTH_IRA", E[E.TESTAMENTARY_TRUST = 101] = "TESTAMENTARY_TRUST", E[E.THRIFT_SAVINGS_PLAN = 102] = "THRIFT_SAVINGS_PLAN", E[E.INHERITED_ANNUITY = 103] = "INHERITED_ANNUITY", E[E.CORPORATE_ACCOUNT = 104] = "CORPORATE_ACCOUNT", E[E.LIMITED_LIABILITY_ACCOUNT = 105] = "LIMITED_LIABILITY_ACCOUNT", E[E.HSA_SAVINGS = 106] = "HSA_SAVINGS", E[E.HSA_CHECKING = 107] = "HSA_CHECKING", E))(sE || {}), LE = /* @__PURE__ */ ((E) => (E[E.REAL_ESTATE = 0] = "REAL_ESTATE", E[E.VEHICLE = 1] = "VEHICLE", E[E.ART = 2] = "ART", E[E.JEWELRY = 3] = "JEWELRY", E[E.FURNITURE = 4] = "FURNITURE", E[E.APPLIANCES = 5] = "APPLIANCES", E[E.COMPUTER = 6] = "COMPUTER", E[E.ELECTRONICS = 7] = "ELECTRONICS", E[E.SPORTS_EQUIPMENT = 8] = "SPORTS_EQUIPMENT", E[E.MISCELLANEOUS = 9] = "MISCELLANEOUS", E))(LE || {}), eE = /* @__PURE__ */ ((E) => (E[E.CREATED = 0] = "CREATED", E[E.PREVENTED = 1] = "PREVENTED", E[E.DENIED = 2] = "DENIED", E[E.CHALLENGED = 3] = "CHALLENGED", E[E.REJECTED = 4] = "REJECTED", E[E.LOCKED = 5] = "LOCKED", E[E.CONNECTED = 6] = "CONNECTED", E[E.IMPEDED = 7] = "IMPEDED", E[E.RECONNECTED = 8] = "RECONNECTED", E[E.DEGRADED = 9] = "DEGRADED", E[E.DISCONNECTED = 10] = "DISCONNECTED", E[E.DISCONTINUED = 11] = "DISCONTINUED", E[E.CLOSED = 12] = "CLOSED", E[E.DELAYED = 13] = "DELAYED", E[E.FAILED = 14] = "FAILED", E[E.UPDATED = 15] = "UPDATED", E[E.DISABLED = 16] = "DISABLED", E[E.IMPORTED = 17] = "IMPORTED", E[E.RESUMED = 18] = "RESUMED", E[E.EXPIRED = 19] = "EXPIRED", E[E.IMPAIRED = 20] = "IMPAIRED", E[E.PENDING = 21] = "PENDING", E))(eE || {});
26
26
  const bE = [
27
27
  0,
@@ -3,9 +3,9 @@ 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-FyY0AWYQ.mjs";
7
- import { d as b, e as w, u as _ } from "./hooks-C41HAxM5.mjs";
8
- import { D as x } from "./Drawer-BEtCk82g.mjs";
6
+ import { C as a, c, M as i } from "./ConnectDrawer-DaFRU5st.mjs";
7
+ import { d as b, e as w, u as _ } from "./hooks-D6XlXHf4.mjs";
8
+ import { D as x } from "./Drawer-kEE73B87.mjs";
9
9
  const I = ({
10
10
  onClose: l,
11
11
  showConnectionsWidget: o,
@@ -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-C41HAxM5.mjs";
8
+ import { u as F } from "./hooks-D6XlXHf4.mjs";
9
9
  const G = ({
10
10
  allowDecimals: o = !0,
11
11
  ariaLabel: g,
@@ -7,8 +7,8 @@ import { isBefore as n } from "date-fns/isBefore";
7
7
  import { nextDay as c } from "date-fns/nextDay";
8
8
  import { setDate as d } from "date-fns/setDate";
9
9
  import { startOfToday as o } from "date-fns/startOfToday";
10
- import { fromUnixTime as i } from "date-fns/fromUnixTime";
11
- import { f as D, a as f } from "./Dialog-BPTr3qHE.mjs";
10
+ import { fromUnixTime as D } from "date-fns/fromUnixTime";
11
+ import { f as i, D as f } from "./Dialog-CWW597AF.mjs";
12
12
  const x = (t) => {
13
13
  const e = y(t);
14
14
  let r = c(t, e);
@@ -34,7 +34,7 @@ const x = (t) => {
34
34
  }, Q = (t) => {
35
35
  const e = p(t);
36
36
  return a(e, 1);
37
- }, w = (t) => l(t, 1), F = (t) => D(i(t), f.DAY_OF_WEEK_MONTH_DAY), H = (t) => t ? D(i(t), f.MONTH_YEAR) : "";
37
+ }, w = (t) => l(t, 1), F = (t) => i(D(t), f.DAY_OF_WEEK_MONTH_DAY), H = (t) => t ? i(D(t), f.MONTH_YEAR) : "";
38
38
  export {
39
39
  Q as a,
40
40
  p as b,
@@ -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-FyY0AWYQ.mjs";
3
+ import { A as p } from "./ConnectDrawer-DaFRU5st.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 = {
@@ -115,9 +115,9 @@ const L = "do", S = "MMM do, yyyy", x = {
115
115
  ) });
116
116
  }, I = N;
117
117
  export {
118
- I as D,
118
+ x as D,
119
119
  L as O,
120
- x as a,
120
+ I as a,
121
121
  S as b,
122
122
  b as f
123
123
  };
@@ -0,0 +1,113 @@
1
+ import { jsxs as p, jsx as r } from "react/jsx-runtime";
2
+ import n from "@mui/material/Box";
3
+ import c from "@mui/material/Stack";
4
+ import { H2 as D, Drawer as S, Footer as y } from "@mxenabled/mxui";
5
+ import B from "@mui/material/IconButton";
6
+ import { ArrowBack as C } from "@mxenabled/mx-icons";
7
+ const j = ({
8
+ ariaLabelClose: o,
9
+ onClose: e,
10
+ shouldShowBorders: a,
11
+ shouldShowShadow: t,
12
+ title: i
13
+ }) => /* @__PURE__ */ p(
14
+ c,
15
+ {
16
+ "aria-level": 1,
17
+ direction: "row",
18
+ role: "heading",
19
+ sx: {
20
+ alignItems: "center",
21
+ backgroundColor: "background.paper",
22
+ ...a && {
23
+ borderBottom: 1,
24
+ borderTop: 1,
25
+ borderColor: "border.light"
26
+ },
27
+ ...t && {
28
+ boxShadow: "0px 2px 8px 0px #6A73811F"
29
+ },
30
+ padding: "8px 8px 8px 8px"
31
+ },
32
+ children: [
33
+ /* @__PURE__ */ r(B, { "aria-label": o, color: "primary", onClick: e, children: /* @__PURE__ */ r(C, { color: "primary", sx: { fontSize: 22 } }) }),
34
+ /* @__PURE__ */ r(
35
+ n,
36
+ {
37
+ sx: {
38
+ flexGrow: 1,
39
+ margin: "auto",
40
+ textAlign: "center"
41
+ },
42
+ children: /* @__PURE__ */ r(D, { bold: !0, variant: "Body", children: i })
43
+ }
44
+ ),
45
+ /* @__PURE__ */ r(n, { width: "44px" })
46
+ ]
47
+ }
48
+ ), v = ({
49
+ ariaLabelClose: o = "Close",
50
+ children: e,
51
+ hasSecondaryAction: a = !0,
52
+ id: t,
53
+ isOpen: i,
54
+ isPrimaryDisabled: h,
55
+ onClose: d,
56
+ onPrimaryAction: l,
57
+ onSecondaryAction: u,
58
+ primaryColor: s = "primary",
59
+ primaryText: x,
60
+ secondaryColor: m = "secondary",
61
+ secondaryText: b,
62
+ shouldShowHeaderBorders: w = !0,
63
+ shouldShowHeaderShadow: g = !1,
64
+ title: f,
65
+ ...k
66
+ }) => /* @__PURE__ */ r(
67
+ S,
68
+ {
69
+ id: t,
70
+ isOpen: i,
71
+ onClose: d,
72
+ sx: {
73
+ "& .MuiDrawer-paper": {
74
+ backgroundColor: "background.default",
75
+ borderRadius: 0
76
+ },
77
+ height: "100%",
78
+ "& .MuiToolbar-root": {
79
+ backgroundColor: "background.paper"
80
+ }
81
+ },
82
+ ...k,
83
+ children: /* @__PURE__ */ p(c, { height: "100%", justifyContent: "space-between", children: [
84
+ /* @__PURE__ */ r(
85
+ j,
86
+ {
87
+ ariaLabelClose: o,
88
+ onClose: d,
89
+ shouldShowBorders: w,
90
+ shouldShowShadow: g,
91
+ title: f
92
+ }
93
+ ),
94
+ /* @__PURE__ */ r(n, { height: "100%", overflow: "auto", children: e }),
95
+ l && /* @__PURE__ */ r(
96
+ y,
97
+ {
98
+ hasSecondaryAction: a,
99
+ isPrimaryDisabled: h,
100
+ onPrimaryAction: l,
101
+ onSecondaryAction: u ?? d,
102
+ primaryColor: s,
103
+ primaryText: x,
104
+ secondaryColor: m,
105
+ secondaryText: b
106
+ }
107
+ )
108
+ ] })
109
+ }
110
+ ), $ = v;
111
+ export {
112
+ $ as D
113
+ };
@@ -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-hrNpJ77n.mjs";
5
- import { O as m } from "./User-wXzDI4M8.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-C41HAxM5.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);