@mx-cartographer/experiences 7.3.3-alpha.mega1 → 7.4.0

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 (131) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/{Account-YwUMFz93.mjs → Account-01wOyrH1.mjs} +1 -1
  3. package/dist/{AccountDetailsContent-BgCST7mK.mjs → AccountDetailsContent-gke-5zMF.mjs} +10 -10
  4. package/dist/{AccountDetailsHeader-jAFWoHj7.mjs → AccountDetailsHeader-CRzfuFA2.mjs} +7 -7
  5. package/dist/{AccountFields-DPxMPBF0.mjs → AccountFields-CPkGZ3SD.mjs} +5 -5
  6. package/dist/{AccountListItem-D6rWAreC.mjs → AccountListItem-D4uG9yC-.mjs} +4 -4
  7. package/dist/{AccountStore-B5E98oM1.mjs → AccountStore-C1zMBzHq.mjs} +40 -29
  8. package/dist/{Accounts-UIlYCmHb.mjs → Accounts-D7QljYas.mjs} +1 -1
  9. package/dist/{BudgetUtil-CXvenbdN.mjs → BudgetUtil-wjoNuj7B.mjs} +1 -1
  10. package/dist/{CategorySelectorDrawer-Buy70Y3V.mjs → CategorySelectorDrawer-DqJK_rrL.mjs} +3 -3
  11. package/dist/{CategoryStore-BEdFs69_.mjs → CategoryStore-U7hOZAbP.mjs} +1 -1
  12. package/dist/{CategoryUtil-BR3H5i6n.mjs → CategoryUtil-DUM8NuGO.mjs} +1 -1
  13. package/dist/{ConnectDrawer-CbxHKlRv.mjs → ConnectDrawer-CuUj16NH.mjs} +2 -2
  14. package/dist/{ConnectionsDrawer-C6kanU7I.mjs → ConnectionsDrawer-Bz4uwdFE.mjs} +3 -3
  15. package/dist/{CurrencyInput-lSC7oPDg.mjs → CurrencyInput-xH-hqry9.mjs} +1 -1
  16. package/dist/{DateUtil-BcuH7ErC.mjs → DateUtil-CBdcsyuk.mjs} +3 -3
  17. package/dist/{DebtsStore-DgIcphe_.mjs → DebtsStore-Bu8rRRSL.mjs} +1 -1
  18. package/dist/{Dialog-CWW597AF.mjs → Dialog-BPTr3qHE.mjs} +2 -2
  19. package/dist/Drawer-BEtCk82g.mjs +163 -0
  20. package/dist/{EmptyState-DA_lfRBv.mjs → EmptyState-DoxNUae-.mjs} +24 -22
  21. package/dist/{ExportCsvAction-DNSgmdyv.mjs → ExportCsvAction-DzTrtPzk.mjs} +3 -3
  22. package/dist/FinstrongStore-CfD6bbJk.mjs +441 -0
  23. package/dist/{GoalStore-CAlmSu4U.mjs → GoalStore-j6QYHgEa.mjs} +3 -3
  24. package/dist/{Help-hi9I9EYP.mjs → Help-BnPXM_N2.mjs} +2 -2
  25. package/dist/LineChart-DttMO7uS.mjs +581 -0
  26. package/dist/{ListItemAction-BmL5buOf.mjs → ListItemAction-uobBrm_a.mjs} +10 -10
  27. package/dist/{ManageIncome-Cypo9qY4.mjs → ManageIncome-CU5C0AeO.mjs} +97 -95
  28. package/dist/{MicroWidgetContainer-CFdMGJKg.mjs → MicroWidgetContainer-DEiRnYVa.mjs} +1 -1
  29. package/dist/{MiniWidgetContainer-BdgBvpga.mjs → MiniWidgetContainer-CmXpTylX.mjs} +1 -1
  30. package/dist/{NetWorthStore-CxqIxAgN.mjs → NetWorthStore-CpL_kqvx.mjs} +2 -2
  31. package/dist/{NotificationSettings-DxytNHlN.mjs → NotificationSettings-DI5B1spM.mjs} +5 -5
  32. package/dist/{OriginalBalanceAction-V6FEoIDe.mjs → OriginalBalanceAction-CCmnsd7y.mjs} +3 -3
  33. package/dist/{RecurringSettings-iIupYxJW.mjs → RecurringSettings-Cm5Bqcai.mjs} +4 -4
  34. package/dist/{RecurringTransactions-ej39mgA6.mjs → RecurringTransactions-CngsRZ3K.mjs} +45 -44
  35. package/dist/{RecurringTransactionsStore-BiwCzScZ.mjs → RecurringTransactionsStore-Bc1wCiNB.mjs} +1 -1
  36. package/dist/{SpendingData-D5vsfYKo.mjs → SpendingData-BuJ03S9d.mjs} +16 -16
  37. package/dist/SpendingLegend-B2BYr8B4.mjs +193 -0
  38. package/dist/{TransactionDetails-BUoNbsu-.mjs → TransactionDetails-CtbBBSoU.mjs} +396 -386
  39. package/dist/{TransactionStore-CtGTg0XS.mjs → TransactionStore-Dz-G8Wd0.mjs} +3 -3
  40. package/dist/{TrendsStore-5PvDT_o6.mjs → TrendsStore-BW9FGQeE.mjs} +1 -1
  41. package/dist/{User-Bj34_i8g.mjs → User-wXzDI4M8.mjs} +2 -2
  42. package/dist/{WidgetContainer-BnTgAfQn.mjs → WidgetContainer-6dsjtOVg.mjs} +4 -4
  43. package/dist/accounts/components/AccountsListCompact.d.ts +10 -0
  44. package/dist/accounts/index.es.js +17 -17
  45. package/dist/accounts/stores/AccountStore.d.ts +2 -0
  46. package/dist/analytics/index.es.js +2 -2
  47. package/dist/budgets/index.es.js +13 -13
  48. package/dist/cashflow/index.es.js +49 -49
  49. package/dist/categories/index.es.js +2 -2
  50. package/dist/common/components/Select.d.ts +4 -2
  51. package/dist/common/components/charts/LineChart.d.ts +12 -2
  52. package/dist/common/components/charts/linechart/CustomLegend.d.ts +3 -1
  53. package/dist/common/components/charts/linechart/CustomMark.d.ts +4 -0
  54. package/dist/common/components/drawer/Drawer.d.ts +3 -0
  55. package/dist/common/components/drawer/Footer.d.ts +17 -0
  56. package/dist/common/index.es.js +33 -33
  57. package/dist/common/types/Finstrong.d.ts +54 -0
  58. package/dist/common/types/Widgets.d.ts +1 -0
  59. package/dist/common/types/index.d.ts +1 -1
  60. package/dist/common/types/localization/FinstrongCopy.d.ts +105 -2
  61. package/dist/common/types/localization/GoalsCopy.d.ts +1 -0
  62. package/dist/dashboard/index.es.js +2 -2
  63. package/dist/debts/index.es.js +11 -11
  64. package/dist/{exportTransactionsToCSV-C4PkIYP6.mjs → exportTransactionsToCSV-Cz2t0lmA.mjs} +2 -2
  65. package/dist/finstrong/FinstrongWidget.d.ts +1 -1
  66. package/dist/finstrong/api/FinstrongApi.d.ts +5 -0
  67. package/dist/finstrong/components/ConnectMoreAccountsCard.d.ts +3 -1
  68. package/dist/finstrong/components/CreditScore/CreditScoreContent.d.ts +4 -0
  69. package/dist/finstrong/components/CreditScore/CreditScoreHeader.d.ts +4 -0
  70. package/dist/finstrong/components/FinancialStrengthGraph.d.ts +7 -1
  71. package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent.d.ts +3 -0
  72. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.d.ts +3 -0
  73. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar.d.ts +4 -0
  74. package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent.d.ts +3 -0
  75. package/dist/finstrong/components/KeyIndicatorsBorrowTab.d.ts +2 -2
  76. package/dist/finstrong/components/KeyIndicatorsDrawer.d.ts +4 -1
  77. package/dist/finstrong/components/KeyIndicatorsSaveTab.d.ts +2 -2
  78. package/dist/finstrong/components/KeyIndicatorsSpendTab.d.ts +2 -2
  79. package/dist/finstrong/components/KeyIndicatorsTabItem.d.ts +4 -3
  80. package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.d.ts +10 -0
  81. package/dist/finstrong/components/KeyIndicatorsTabsWidget.d.ts +2 -2
  82. package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator.d.ts +6 -0
  83. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent.d.ts +4 -0
  84. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky.d.ts +4 -0
  85. package/dist/finstrong/components/ProgressBar.d.ts +15 -0
  86. package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent.d.ts +3 -0
  87. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.d.ts +3 -0
  88. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar.d.ts +4 -0
  89. package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent.d.ts +3 -0
  90. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent.d.ts +3 -0
  91. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar.d.ts +4 -0
  92. package/dist/finstrong/components/StatusChip.d.ts +5 -0
  93. package/dist/finstrong/components/onboarding/Onboarding.d.ts +2 -0
  94. package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +17 -0
  95. package/dist/finstrong/components/onboarding/OnboardingBirthday.d.ts +8 -0
  96. package/dist/finstrong/components/onboarding/OnboardingCreditScore.d.ts +8 -0
  97. package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +14 -0
  98. package/dist/finstrong/components/onboarding/OnboardingStepsHeader.d.ts +8 -0
  99. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent.d.ts +4 -0
  100. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent.d.ts +4 -0
  101. package/dist/finstrong/components/shared/Accounts.d.ts +8 -0
  102. package/dist/finstrong/components/shared/CustomDoubleBarPlot.d.ts +25 -0
  103. package/dist/finstrong/components/shared/DialScoreCard.d.ts +7 -1
  104. package/dist/finstrong/components/shared/DoubleBarChart.d.ts +28 -0
  105. package/dist/finstrong/components/shared/LineGraph.d.ts +7 -0
  106. package/dist/finstrong/components/shared/TotalCard.d.ts +8 -0
  107. package/dist/finstrong/components/shared/Transactions.d.ts +11 -0
  108. package/dist/finstrong/constants/index.d.ts +20 -0
  109. package/dist/finstrong/index.es.js +3174 -1069
  110. package/dist/finstrong/stores/FinstrongStore.d.ts +21 -2
  111. package/dist/finstrong/util/finstrongUtils.d.ts +58 -1
  112. package/dist/goals/index.es.js +15 -15
  113. package/dist/help/index.es.js +3 -3
  114. package/dist/{hooks-Cy8JnjCg.mjs → hooks-C41HAxM5.mjs} +4 -4
  115. package/dist/investments/index.es.js +5 -5
  116. package/dist/merchants/index.es.js +1 -1
  117. package/dist/networth/index.es.js +33 -33
  118. package/dist/notifications/index.es.js +4 -4
  119. package/dist/recurringtransactions/index.es.js +43 -43
  120. package/dist/settings/index.es.js +8 -8
  121. package/dist/spending/index.es.js +261 -436
  122. package/dist/transactions/components/shared/TransactionList.d.ts +1 -0
  123. package/dist/transactions/index.es.js +15 -15
  124. package/dist/trends/index.es.js +16 -16
  125. package/dist/{useAccountDisplayName-D6sQsNNQ.mjs → useAccountDisplayName-CMMlIOXF.mjs} +2 -2
  126. package/dist/{useInsightsEnabled-BxytCjq5.mjs → useInsightsEnabled-CNjP5cfR.mjs} +1 -1
  127. package/package.json +1 -1
  128. package/dist/Drawer-kEE73B87.mjs +0 -113
  129. package/dist/FinstrongStore-CL7t5lBL.mjs +0 -101
  130. package/dist/LineChart-eK4IQImU.mjs +0 -541
  131. package/dist/finstrong/utils/Finstrong.d.ts +0 -6
@@ -1,72 +1,72 @@
1
1
  import { jsxs as c, jsx as e, Fragment as L } from "react/jsx-runtime";
2
2
  import u from "react";
3
3
  import { observer as A } from "mobx-react-lite";
4
- import P from "@mui/material/Box";
4
+ import M from "@mui/material/Box";
5
5
  import T from "@mui/material/Divider";
6
6
  import K from "@mui/material/List";
7
7
  import h from "@mui/material/Stack";
8
- import { MerchantLogo as H, Text as S, H1 as re, InstitutionLogo as ae, P as U } from "@mxenabled/mxui";
8
+ import { MerchantLogo as H, Text as S, H1 as oe, InstitutionLogo as ae, P as U } from "@mxenabled/mxui";
9
9
  import ie from "@mui/material/ListItem";
10
10
  import se from "@mui/material/ListItemAvatar";
11
11
  import ce from "@mui/material/ListItemButton";
12
12
  import le from "@mui/material/ListItemText";
13
- import { F as d, S as N, D as Y, g as Q, R as E, e as de } from "./RecurringTransactions-ej39mgA6.mjs";
13
+ import { F as d, S as N, D as Y, g as Q, R as E, e as de } from "./RecurringTransactions-CngsRZ3K.mjs";
14
14
  import { subDays as ue } from "date-fns/subDays";
15
15
  import { startOfToday as z } from "date-fns/startOfToday";
16
16
  import { endOfMonth as _e } from "date-fns/endOfMonth";
17
17
  import { parseISO as me } from "date-fns/parseISO";
18
18
  import $ from "@mui/material/Button";
19
19
  import { Delete as pe, Add as he, ReceiptLong as ye } from "@mxenabled/mx-icons";
20
- import { T as X, a as ge, u as fe, S as Ce, b as be } from "./TransactionDetails-BUoNbsu-.mjs";
20
+ import { T as X, a as ge, b as fe, S as Ce, c as be } from "./TransactionDetails-CtbBBSoU.mjs";
21
21
  import { getDayOfYear as xe } from "date-fns/getDayOfYear";
22
22
  import { setDayOfYear as Se } from "date-fns/setDayOfYear";
23
23
  import { AdapterDateFns as ve } from "@mui/x-date-pickers/AdapterDateFnsV3";
24
24
  import { DatePicker as we } from "@mui/x-date-pickers";
25
25
  import { LocalizationProvider as Ae } from "@mui/x-date-pickers/LocalizationProvider";
26
- import { u as w, j as M, g as F, b as Ie, h as Z, p as De } from "./hooks-Cy8JnjCg.mjs";
26
+ import { u as w, j as F, g as G, b as Ie, h as Z, p as De } from "./hooks-C41HAxM5.mjs";
27
27
  import { b as Ee, f as J } from "./NumberFormatting-Buh7u8Oi.mjs";
28
- import { D as O } from "./Drawer-kEE73B87.mjs";
29
- import { A as R } from "./WidgetContainer-BnTgAfQn.mjs";
30
- import { f as Re, D as Te, a as Le } from "./Dialog-CWW597AF.mjs";
28
+ import { D as O } from "./Drawer-BEtCk82g.mjs";
29
+ import { A as R } from "./WidgetContainer-6dsjtOVg.mjs";
30
+ import { f as Re, a as Te, D as Le } from "./Dialog-BPTr3qHE.mjs";
31
31
  import { formatISO as Oe } from "date-fns/formatISO";
32
32
  import { fromUnixTime as ke } from "date-fns/fromUnixTime";
33
33
  import { S as Ne } from "./SearchBox-B2_zLv8-.mjs";
34
- import { h as Me } from "./DateUtil-BcuH7ErC.mjs";
34
+ import { h as Me } from "./DateUtil-CBdcsyuk.mjs";
35
35
  import { b as B } from "./Category-CevNQ03n.mjs";
36
- import { T as V } from "./User-Bj34_i8g.mjs";
36
+ import { T as V } from "./User-wXzDI4M8.mjs";
37
37
  const ee = ({
38
38
  frequency: n,
39
39
  firstDay: t,
40
- secondDay: r,
40
+ secondDay: o,
41
41
  onFrequencyChange: i,
42
42
  onFirstDayChange: s,
43
43
  onSecondDayChange: l
44
44
  }) => {
45
- const { recurring: o } = w(), a = u.useMemo(
45
+ const { recurring: r } = w(), a = u.useMemo(
46
46
  () => [
47
- { id: d.EveryWeek, label: o.frequency_every_week },
48
- { id: d.EveryOtherWeek, label: o.frequency_every_other_week },
49
- { id: d.TwiceAMonth, label: o.frequency_twice_a_month },
50
- { id: d.EveryMonth, label: o.frequency_every_month },
51
- { id: d.EveryOtherMonth, label: o.frequency_every_other_month },
52
- { id: d.EveryQuarter, label: o.frequency_every_quarter },
53
- { id: d.EveryOtherQuarter, label: o.frequency_every_other_quarter },
54
- { id: d.EveryYear, label: o.frequency_every_year }
47
+ { id: d.EveryWeek, label: r.frequency_every_week },
48
+ { id: d.EveryOtherWeek, label: r.frequency_every_other_week },
49
+ { id: d.TwiceAMonth, label: r.frequency_twice_a_month },
50
+ { id: d.EveryMonth, label: r.frequency_every_month },
51
+ { id: d.EveryOtherMonth, label: r.frequency_every_other_month },
52
+ { id: d.EveryQuarter, label: r.frequency_every_quarter },
53
+ { id: d.EveryOtherQuarter, label: r.frequency_every_other_quarter },
54
+ { id: d.EveryYear, label: r.frequency_every_year }
55
55
  ],
56
- [o]
56
+ [r]
57
57
  ), m = [
58
- { id: 0, label: o.weekday_sunday },
59
- { id: 1, label: o.weekday_monday },
60
- { id: 2, label: o.weekday_tuesday },
61
- { id: 3, label: o.weekday_wednesday },
62
- { id: 4, label: o.weekday_thursday },
63
- { id: 5, label: o.weekday_friday },
64
- { id: 6, label: o.weekday_saturday }
58
+ { id: 0, label: r.weekday_sunday },
59
+ { id: 1, label: r.weekday_monday },
60
+ { id: 2, label: r.weekday_tuesday },
61
+ { id: 3, label: r.weekday_wednesday },
62
+ { id: 4, label: r.weekday_thursday },
63
+ { id: 5, label: r.weekday_friday },
64
+ { id: 6, label: r.weekday_saturday }
65
65
  ], y = [...Array(31).keys()].map((p) => ({
66
66
  id: p + 1,
67
67
  label: Ee(p + 1)
68
68
  }));
69
- y[30].label += ` (${o.last_day_of_month})`;
69
+ y[30].label += ` (${r.last_day_of_month})`;
70
70
  const C = y.slice(0, 15), v = y.slice(14), b = n === d.EveryWeek || n === d.EveryOtherWeek, g = n === d.TwiceAMonth || n === d.EveryMonth || n === d.EveryOtherMonth || n === d.EveryQuarter || n === d.EveryOtherQuarter, I = Se(z(), t), f = (p) => {
71
71
  p && s(xe(p));
72
72
  };
@@ -74,7 +74,7 @@ const ee = ({
74
74
  /* @__PURE__ */ e(
75
75
  N,
76
76
  {
77
- label: o.frequency,
77
+ label: r.frequency,
78
78
  onChange: i,
79
79
  options: a,
80
80
  value: n
@@ -83,7 +83,7 @@ const ee = ({
83
83
  b && /* @__PURE__ */ e(
84
84
  N,
85
85
  {
86
- label: o.day_of_the_week,
86
+ label: r.day_of_the_week,
87
87
  onChange: s,
88
88
  options: m,
89
89
  value: t
@@ -92,7 +92,7 @@ const ee = ({
92
92
  g && /* @__PURE__ */ e(
93
93
  N,
94
94
  {
95
- label: n === d.TwiceAMonth ? o.first_day_of_the_month : o.day_of_the_month,
95
+ label: n === d.TwiceAMonth ? r.first_day_of_the_month : r.day_of_the_month,
96
96
  onChange: s,
97
97
  options: n === d.TwiceAMonth ? C : y,
98
98
  value: t
@@ -101,27 +101,27 @@ const ee = ({
101
101
  n === d.TwiceAMonth && /* @__PURE__ */ e(
102
102
  N,
103
103
  {
104
- label: o.second_day_of_the_month,
104
+ label: r.second_day_of_the_month,
105
105
  onChange: l,
106
106
  options: v,
107
- value: r || 0
107
+ value: o || 0
108
108
  }
109
109
  ),
110
110
  n === d.EveryYear && /* @__PURE__ */ e(Ae, { dateAdapter: ve, children: /* @__PURE__ */ e(
111
111
  we,
112
112
  {
113
113
  disablePast: !0,
114
- label: o.next_payment_date,
114
+ label: r.next_payment_date,
115
115
  onChange: f,
116
116
  value: I
117
117
  }
118
118
  ) })
119
119
  ] });
120
120
  }, Fe = A(({ repeatingTransaction: n }) => {
121
- const { recurring: t } = w(), { updateRepeatingTransaction: r } = M(), { onEvent: i } = F(), [s, l] = u.useState(!1), [o, a] = u.useState(n.recurrence_type), [m, y] = u.useState(n.recurrence_day), [C, v] = u.useState(n.second_recurrence_day), b = async () => {
122
- await r({
121
+ const { recurring: t } = w(), { updateRepeatingTransaction: o } = F(), { onEvent: i } = G(), [s, l] = u.useState(!1), [r, a] = u.useState(n.recurrence_type), [m, y] = u.useState(n.recurrence_day), [C, v] = u.useState(n.second_recurrence_day), b = async () => {
122
+ await o({
123
123
  ...n,
124
- recurrence_type: o,
124
+ recurrence_type: r,
125
125
  recurrence_day: m,
126
126
  second_recurrence_day: C
127
127
  }), l(!1);
@@ -150,7 +150,7 @@ const ee = ({
150
150
  ee,
151
151
  {
152
152
  firstDay: m,
153
- frequency: o,
153
+ frequency: r,
154
154
  onFirstDayChange: y,
155
155
  onFrequencyChange: a,
156
156
  onSecondDayChange: v,
@@ -162,9 +162,9 @@ const ee = ({
162
162
  ] });
163
163
  }), Ge = A(
164
164
  ({ onDeleted: n, recurringTransaction: t }) => {
165
- const { recurring: r } = w(), { selectedAccountGuids: i } = Ie(), { onEvent: s } = F(), { deleteRepeatingTransaction: l } = M(), { setFilter: o, transactions: a } = Z(), { amount: m, description: y, merchant_guid: C } = t, [v, b] = u.useState(!1), [g, I] = u.useState("");
165
+ const { recurring: o } = w(), { selectedAccountGuids: i } = Ie(), { onEvent: s } = G(), { deleteRepeatingTransaction: l } = F(), { setFilter: r, transactions: a } = Z(), { amount: m, description: y, merchant_guid: C } = t, [v, b] = u.useState(!1), [g, I] = u.useState("");
166
166
  u.useEffect(() => {
167
- o({
167
+ r({
168
168
  accounts: i,
169
169
  dateRange: { start: ue(z(), 90), end: _e(z()) },
170
170
  custom: (_) => _.repeating_transaction_guid === t.guid
@@ -175,7 +175,7 @@ const ee = ({
175
175
  [g, a]
176
176
  ), p = t.repeating_transaction_type === E.Income, k = async () => {
177
177
  await l(t.guid), n();
178
- }, G = () => {
178
+ }, P = () => {
179
179
  b(!0), s(R.RECURRING_TRANSACTIONS_DETAILS_CLICK_DELETE);
180
180
  };
181
181
  return /* @__PURE__ */ c(h, { bgcolor: "background.default", direction: "column", height: "100%", children: [
@@ -190,11 +190,11 @@ const ee = ({
190
190
  }
191
191
  ),
192
192
  /* @__PURE__ */ e(S, { bold: !0, variant: "body1", children: y }),
193
- /* @__PURE__ */ c(re, { color: p ? "success.main" : "text.primary", sx: { my: 4 }, children: [
193
+ /* @__PURE__ */ c(oe, { color: p ? "success.main" : "text.primary", sx: { my: 4 }, children: [
194
194
  p ? "+" : "",
195
195
  J(m, "0,0.00")
196
196
  ] }),
197
- /* @__PURE__ */ e(S, { color: "text.secondary", variant: "body2", children: `${r.next_payment_date}: ${Re(
197
+ /* @__PURE__ */ e(S, { color: "text.secondary", variant: "body2", children: `${o.next_payment_date}: ${Re(
198
198
  me(t.predicted_occurs_on),
199
199
  Te.MONTH_DAY_YEAR
200
200
  )}` })
@@ -205,7 +205,7 @@ const ee = ({
205
205
  Y,
206
206
  {
207
207
  iconName: "checkbook",
208
- label: r.account,
208
+ label: o.account,
209
209
  value: t.account.institutionName || ""
210
210
  }
211
211
  ),
@@ -216,7 +216,7 @@ const ee = ({
216
216
  Y,
217
217
  {
218
218
  iconName: "monetization_on",
219
- label: r.category,
219
+ label: o.category,
220
220
  value: f.category
221
221
  }
222
222
  ),
@@ -229,22 +229,22 @@ const ee = ({
229
229
  $,
230
230
  {
231
231
  color: "error",
232
- onClick: G,
232
+ onClick: P,
233
233
  startIcon: /* @__PURE__ */ e(pe, {}),
234
234
  sx: { mx: 24, my: 16 },
235
235
  variant: "text",
236
- children: p ? r.delete_income_title : r.delete_expense_title
236
+ children: p ? o.delete_income_title : o.delete_expense_title
237
237
  }
238
238
  ),
239
- /* @__PURE__ */ e(S, { bold: !0, sx: { ml: 24, mt: 16 }, variant: "Body", children: r.paid_transactions }),
239
+ /* @__PURE__ */ e(S, { bold: !0, sx: { ml: 24, mt: 16 }, variant: "Body", children: o.paid_transactions }),
240
240
  /* @__PURE__ */ e(X, { height: "30dvh", onClick: I }),
241
241
  /* @__PURE__ */ e(
242
242
  O,
243
243
  {
244
- ariaLabelClose: r.close_drawer_aria,
244
+ ariaLabelClose: o.close_drawer_aria,
245
245
  isOpen: !!g && !!f,
246
246
  onClose: () => I(""),
247
- title: r.transaction_details_drawer_title,
247
+ title: o.transaction_details_drawer_title,
248
248
  children: f && /* @__PURE__ */ e(ge, { transaction: f })
249
249
  }
250
250
  ),
@@ -252,13 +252,13 @@ const ee = ({
252
252
  Le,
253
253
  {
254
254
  copy: {
255
- title: p ? r.delete_income_title : r.delete_expense_title,
256
- close_aria: r.close_drawer_aria
255
+ title: p ? o.delete_income_title : o.delete_expense_title,
256
+ close_aria: o.close_drawer_aria
257
257
  },
258
258
  isOpen: v,
259
259
  onClose: () => b(!1),
260
260
  onPrimaryAction: k,
261
- children: /* @__PURE__ */ e(S, { children: p ? r.delete_income_description : r.delete_expense_description })
261
+ children: /* @__PURE__ */ e(S, { children: p ? o.delete_income_description : o.delete_expense_description })
262
262
  }
263
263
  )
264
264
  ] });
@@ -266,10 +266,10 @@ const ee = ({
266
266
  ), Pe = A(
267
267
  ({ onClick: n = () => {
268
268
  }, repeatingTransaction: t }) => {
269
- const { recurring: r } = w(), [i, s] = u.useState(!1), l = u.useMemo(
269
+ const { recurring: o } = w(), [i, s] = u.useState(!1), l = u.useMemo(
270
270
  () => t.transactions.length === 0 ? "" : t.transactions[0].category_guid || "",
271
271
  [t]
272
- ), o = t.account?.institutionName || "", a = t.repeating_transaction_type === E.Income, m = Q(r, t, !0);
272
+ ), r = t.account?.institutionName || "", a = t.repeating_transaction_type === E.Income, m = Q(o, t, !0);
273
273
  return /* @__PURE__ */ c(ie, { disableGutters: !0, disablePadding: !0, children: [
274
274
  /* @__PURE__ */ c(ce, { onClick: () => {
275
275
  n(t), s(!0);
@@ -288,12 +288,12 @@ const ee = ({
288
288
  t.account?.institution_guid && /* @__PURE__ */ e(
289
289
  ae,
290
290
  {
291
- alt: o,
291
+ alt: r,
292
292
  institutionGuid: t.account?.institution_guid,
293
293
  size: 12
294
294
  }
295
295
  ),
296
- /* @__PURE__ */ e(S, { variant: "caption", children: o })
296
+ /* @__PURE__ */ e(S, { variant: "caption", children: r })
297
297
  ] })
298
298
  ] }),
299
299
  /* @__PURE__ */ c(h, { alignItems: "flex-end", sx: { width: "50%" }, children: [
@@ -329,10 +329,10 @@ const ee = ({
329
329
  /* @__PURE__ */ e(
330
330
  O,
331
331
  {
332
- ariaLabelClose: r.close_drawer_aria,
332
+ ariaLabelClose: o.close_drawer_aria,
333
333
  isOpen: i,
334
334
  onClose: () => s(!1),
335
- title: t.repeating_transaction_type === E.Income ? r.income_details : r.expense_details,
335
+ title: t.repeating_transaction_type === E.Income ? o.income_details : o.expense_details,
336
336
  children: /* @__PURE__ */ e(
337
337
  Ge,
338
338
  {
@@ -348,10 +348,10 @@ const ee = ({
348
348
  ({
349
349
  bgcolor: n = "background.default",
350
350
  description: t,
351
- onSearch: r,
351
+ onSearch: o,
352
352
  onSelected: i
353
353
  }) => {
354
- const { recurring: s } = w(), { searchValue: l, setSearchValue: o } = fe();
354
+ const { recurring: s } = w(), { searchValue: l, setSearchValue: r } = fe();
355
355
  return /* @__PURE__ */ c(h, { sx: { bgcolor: n, gap: 16, pt: 8 }, children: [
356
356
  t && /* @__PURE__ */ e(U, { sx: { mx: 24 }, children: t }),
357
357
  /* @__PURE__ */ e(
@@ -360,7 +360,7 @@ const ee = ({
360
360
  ariaLabel: s.select_transaction_search_aria,
361
361
  cancelAriaLabel: s.select_transaction_search_cancel_aria,
362
362
  onChange: (a) => {
363
- o(a), r(a);
363
+ r(a), o(a);
364
364
  },
365
365
  placeholder: s.select_transaction_search_placeholder,
366
366
  searchValue: l
@@ -382,11 +382,11 @@ const ee = ({
382
382
  ({
383
383
  bgcolor: n = "background.default",
384
384
  firstDay: t,
385
- secondDay: r,
385
+ secondDay: o,
386
386
  frequency: i,
387
387
  onFrequencyChange: s,
388
388
  onFirstDayChange: l,
389
- onSecondDayChange: o,
389
+ onSecondDayChange: r,
390
390
  transaction: a
391
391
  }) => {
392
392
  const { recurring: m } = w();
@@ -395,37 +395,39 @@ const ee = ({
395
395
  /* @__PURE__ */ e(Ce, { bgcolor: n, children: Me(a.date) }),
396
396
  /* @__PURE__ */ e(be, { transaction: a })
397
397
  ] }),
398
- /* @__PURE__ */ e(S, { bold: !0, sx: { mx: 24 }, variant: "Body", children: m.payment_schedule }),
399
- /* @__PURE__ */ e(
400
- ee,
401
- {
402
- firstDay: t,
403
- frequency: i,
404
- onFirstDayChange: l,
405
- onFrequencyChange: s,
406
- onSecondDayChange: o,
407
- secondDay: r
408
- }
409
- )
398
+ /* @__PURE__ */ c(M, { children: [
399
+ /* @__PURE__ */ e(S, { bold: !0, sx: { mx: 24 }, variant: "Body", children: m.payment_schedule }),
400
+ /* @__PURE__ */ e(
401
+ ee,
402
+ {
403
+ firstDay: t,
404
+ frequency: i,
405
+ onFirstDayChange: l,
406
+ onFrequencyChange: s,
407
+ onSecondDayChange: r,
408
+ secondDay: o
409
+ }
410
+ )
411
+ ] })
410
412
  ] });
411
413
  }
412
414
  ), q = (n) => n.top_level_category_guid !== B.INCOME && n.transaction_type === V.DEBIT, ze = (n, t) => q(n) ? n.payee?.toLowerCase().includes(t.toLowerCase()) || n.description.toLowerCase().includes(t.toLowerCase()) || n.feed_description.toLowerCase().includes(t.toLowerCase()) : !1, W = (n) => n.top_level_category_guid === B.INCOME || n.top_level_category_guid === B.TRANSFER && n.transaction_type === V.CREDIT, Be = (n, t) => W(n) ? n.payee?.toLowerCase().includes(t.toLowerCase()) || n.description?.toLowerCase().includes(t.toLowerCase()) || n.feed_description?.toLowerCase().includes(t.toLowerCase()) : !1, te = A(
413
415
  ({
414
416
  isIncome: n = !1,
415
417
  label: t,
416
- onAddRecurringTransaction: r = () => null
418
+ onAddRecurringTransaction: o = () => null
417
419
  }) => {
418
- const { recurring: i } = w(), { filter: s, setFilter: l, transactions: o } = Z(), { addRepeatingTransaction: a } = M(), { user: m } = De(), [y, C] = u.useState(!1), [v, b] = u.useState(""), [g, I] = u.useState(d.EveryMonth), [f, p] = u.useState(1), [k, G] = u.useState(15), _ = u.useMemo(
419
- () => o.find((x) => x.guid === v),
420
- [v, o]
420
+ const { recurring: i } = w(), { filter: s, setFilter: l, transactions: r } = Z(), { addRepeatingTransaction: a } = F(), { user: m } = De(), [y, C] = u.useState(!1), [v, b] = u.useState(""), [g, I] = u.useState(d.EveryMonth), [f, p] = u.useState(1), [k, P] = u.useState(15), _ = u.useMemo(
421
+ () => r.find((x) => x.guid === v),
422
+ [v, r]
421
423
  ), ne = () => {
422
424
  C(!0), l(n ? { ...s, custom: W } : { ...s, custom: q });
423
- }, oe = async () => {
425
+ }, re = async () => {
424
426
  if (!_) {
425
427
  j();
426
428
  return;
427
429
  }
428
- r();
430
+ o();
429
431
  const x = de(g, ke(_.date)), D = {
430
432
  account_guid: _.account_guid,
431
433
  amount: _.amount,
@@ -475,7 +477,7 @@ const ee = ({
475
477
  ariaLabelClose: i.close_drawer_aria,
476
478
  isOpen: !!v,
477
479
  onClose: () => b(""),
478
- onPrimaryAction: oe,
480
+ onPrimaryAction: re,
479
481
  title: n ? i.income_details : i.expense_details,
480
482
  children: _ && /* @__PURE__ */ e(
481
483
  Ye,
@@ -484,7 +486,7 @@ const ee = ({
484
486
  frequency: g,
485
487
  onFirstDayChange: p,
486
488
  onFrequencyChange: I,
487
- onSecondDayChange: G,
489
+ onSecondDayChange: P,
488
490
  secondDay: k,
489
491
  transaction: _
490
492
  }
@@ -495,7 +497,7 @@ const ee = ({
495
497
  }
496
498
  ), qe = A(
497
499
  ({ zeroStateFor: n }) => {
498
- const { recurring: t } = w(), { onEvent: r } = F(), i = n === "income", s = i ? t.recurring_setting_zero_state_income_title : t.recurring_setting_zero_state_expenses_title, l = i ? t.recurring_setting_zero_state_income_description : t.recurring_setting_zero_state_expenses_description, o = i ? t.add_income : t.add_expense;
500
+ const { recurring: t } = w(), { onEvent: o } = G(), i = n === "income", s = i ? t.recurring_setting_zero_state_income_title : t.recurring_setting_zero_state_expenses_title, l = i ? t.recurring_setting_zero_state_income_description : t.recurring_setting_zero_state_expenses_description, r = i ? t.add_income : t.add_expense;
499
501
  return /* @__PURE__ */ c(h, { sx: { alignItems: "center", p: 24, pt: 48 }, children: [
500
502
  /* @__PURE__ */ e(ye, { size: 48 }),
501
503
  /* @__PURE__ */ e(U, { sx: { my: 8, fontWeight: 600 }, variant: "body1", children: s }),
@@ -504,9 +506,9 @@ const ee = ({
504
506
  te,
505
507
  {
506
508
  isIncome: i,
507
- label: o,
509
+ label: r,
508
510
  onAddRecurringTransaction: () => {
509
- r(
511
+ o(
510
512
  i ? R.RECURRING_TRANSACTIONS_CLICK_ADD_INCOME : R.RECURRING_ACTIVITY_CLICK_ADD_EXPENSE
511
513
  );
512
514
  }
@@ -515,16 +517,16 @@ const ee = ({
515
517
  ] });
516
518
  }
517
519
  ), It = A(({ forOverview: n = !1 }) => {
518
- const { recurring: t } = w(), { repeatingTransactions: r } = M(), { onEvent: i } = F(), s = (a) => {
520
+ const { recurring: t } = w(), { repeatingTransactions: o } = F(), { onEvent: i } = G(), s = (a) => {
519
521
  i(R.RECURRING_TRANSACTIONS_CLICK_INCOME, {
520
522
  repeating_transaction_guid: a.guid
521
523
  });
522
524
  }, l = () => {
523
525
  i(R.RECURRING_TRANSACTIONS_CLICK_ADD_INCOME);
524
- }, o = r.filter(
526
+ }, r = o.filter(
525
527
  (a) => a.repeating_transaction_type === E.Income && (a.transactions.length > 0 || a.recurrence_type === d.EveryYear)
526
528
  );
527
- return /* @__PURE__ */ e(L, { children: o.length !== 0 ? /* @__PURE__ */ c(
529
+ return /* @__PURE__ */ e(L, { children: r.length !== 0 ? /* @__PURE__ */ c(
528
530
  h,
529
531
  {
530
532
  sx: {
@@ -533,19 +535,19 @@ const ee = ({
533
535
  },
534
536
  children: [
535
537
  n && /* @__PURE__ */ e(S, { bold: !0, sx: { mb: 4, mt: 12, mx: 24 }, variant: "Small", children: t.income }),
536
- /* @__PURE__ */ e(P, { sx: { flex: 1, overflow: "auto" }, children: /* @__PURE__ */ e(K, { sx: { bgcolor: "background.paper" }, children: o.map((a, m) => /* @__PURE__ */ c(u.Fragment, { children: [
538
+ /* @__PURE__ */ e(M, { sx: { flex: 1, overflow: "auto" }, children: /* @__PURE__ */ e(K, { sx: { bgcolor: "background.paper" }, children: r.map((a, m) => /* @__PURE__ */ c(u.Fragment, { children: [
537
539
  /* @__PURE__ */ e(Pe, { onClick: s, repeatingTransaction: a }),
538
540
  /* @__PURE__ */ e(
539
541
  T,
540
542
  {
541
- variant: m < o.length - 1 ? "inset" : "fullWidth"
543
+ variant: m < r.length - 1 ? "inset" : "fullWidth"
542
544
  }
543
545
  )
544
546
  ] }, a.guid)) }) }),
545
- /* @__PURE__ */ c(P, { children: [
547
+ /* @__PURE__ */ c(M, { children: [
546
548
  /* @__PURE__ */ e(T, {}),
547
549
  /* @__PURE__ */ e(
548
- P,
550
+ M,
549
551
  {
550
552
  sx: {
551
553
  alignContent: "center",
@@ -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-Cy8JnjCg.mjs";
9
+ import { W as w } from "./hooks-C41HAxM5.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-Cy8JnjCg.mjs";
11
+ import { W as j } from "./hooks-C41HAxM5.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-UIlYCmHb.mjs";
7
- import { e as N, a as M, f as v } from "./ConnectDrawer-CbxHKlRv.mjs";
6
+ import { a as b } from "./Accounts-D7QljYas.mjs";
7
+ import { e as N, a as M, f as v } from "./ConnectDrawer-CuUj16NH.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,13 +15,13 @@ 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 R, a as P, N as y } from "./ToggleListItem-ciFTiqRS.mjs";
18
- import { u as D, s as T, p as I, d as se, g as ae, a as W, n as ce, b as le } from "./hooks-Cy8JnjCg.mjs";
18
+ import { u as D, s as T, p as I, d as se, g as ae, a as W, n as ce, b as le } from "./hooks-C41HAxM5.mjs";
19
19
  import { b as re } from "./Localization-2MODESHW.mjs";
20
20
  import { b as de, f as me } from "./NumberFormatting-Buh7u8Oi.mjs";
21
- import { a as N } from "./Dialog-CWW597AF.mjs";
22
- import { C as he } from "./CurrencyInput-lSC7oPDg.mjs";
21
+ import { D as N } from "./Dialog-BPTr3qHE.mjs";
22
+ import { C as he } from "./CurrencyInput-xH-hqry9.mjs";
23
23
  import { u as _e } from "./useScreenSize-B6JyS_Lj.mjs";
24
- import { D as J } from "./Drawer-kEE73B87.mjs";
24
+ import { D as J } from "./Drawer-BEtCk82g.mjs";
25
25
  import ue from "@mui/material/Collapse";
26
26
  import pe from "@mui/material/Card";
27
27
  import fe from "@mui/material/CardContent";
@@ -30,7 +30,7 @@ import j from "@mui/material/Button";
30
30
  import U from "@mui/material/TextField";
31
31
  import { u as ge } from "./useDimensions-27p2evRx.mjs";
32
32
  import X from "@mui/material/styles/useTheme";
33
- import { u as ye } from "./useInsightsEnabled-BxytCjq5.mjs";
33
+ import { u as ye } from "./useInsightsEnabled-CNjP5cfR.mjs";
34
34
  import { L as be } from "./Loader-DUaFpDGv.mjs";
35
35
  const xe = C(() => {
36
36
  const { common: n, settings: t } = D(), { sendEmailVerification: o } = T(), { user: r } = I(), s = X(), [c, a] = g.useState(!1), i = () => {
@@ -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-BmL5buOf.mjs";
6
- import { u as h, l as b } from "./hooks-Cy8JnjCg.mjs";
5
+ import { L as y } from "./ListItemAction-uobBrm_a.mjs";
6
+ import { u as h, l as b } from "./hooks-C41HAxM5.mjs";
7
7
  import { a as T, f as S } from "./NumberFormatting-Buh7u8Oi.mjs";
8
- import { C as f } from "./CurrencyInput-lSC7oPDg.mjs";
8
+ import { C as f } from "./CurrencyInput-xH-hqry9.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-Cypo9qY4.mjs";
11
- import { u as _, j as A, g as f } from "./hooks-Cy8JnjCg.mjs";
12
- import { R as y, F as N } from "./RecurringTransactions-ej39mgA6.mjs";
13
- import { A as m } from "./WidgetContainer-BnTgAfQn.mjs";
10
+ import { R as C, A as S, a as E, M as v } from "./ManageIncome-CU5C0AeO.mjs";
11
+ import { u as _, j as A, g as f } from "./hooks-C41HAxM5.mjs";
12
+ import { R as y, F as N } from "./RecurringTransactions-CngsRZ3K.mjs";
13
+ import { A as m } from "./WidgetContainer-6dsjtOVg.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, {