@mx-cartographer/experiences 7.2.11 → 7.2.12-alpha-ram1-finstrong-testing

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 (124) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/{Account-B-CuHOYf.mjs → Account-CBQnFO6w.mjs} +1 -1
  3. package/dist/{AccountDetailsContent-DfzPOeMI.mjs → AccountDetailsContent-BkurfGCr.mjs} +48 -44
  4. package/dist/{AccountDetailsHeader-vcy67tuH.mjs → AccountDetailsHeader-CaIoP_2Q.mjs} +8 -8
  5. package/dist/{AccountFields-cUP-9Hm6.mjs → AccountFields-CLbLAhLf.mjs} +5 -5
  6. package/dist/{AccountListItem-DChcf3SN.mjs → AccountListItem-CPm3572e.mjs} +4 -4
  7. package/dist/{AccountStore-D6KiXA1B.mjs → AccountStore-DttEGFeu.mjs} +40 -29
  8. package/dist/{Accounts-IeEtQjzA.mjs → Accounts-B5Yr0e_o.mjs} +1 -1
  9. package/dist/{BudgetUtil-B2ZXyw-g.mjs → BudgetUtil-wjoNuj7B.mjs} +1 -1
  10. package/dist/{CategorySelectorDrawer-DUe4lH5-.mjs → CategorySelectorDrawer-ZO9N26Kx.mjs} +3 -3
  11. package/dist/{CategoryStore-BCcpI3oJ.mjs → CategoryStore-C1IfDPCE.mjs} +1 -1
  12. package/dist/{CategoryUtil-BR3H5i6n.mjs → CategoryUtil-DUM8NuGO.mjs} +1 -1
  13. package/dist/{ConnectDrawer-DaFRU5st.mjs → ConnectDrawer-FyY0AWYQ.mjs} +2 -2
  14. package/dist/{ConnectionsDrawer-DHJ7qdWL.mjs → ConnectionsDrawer-Cd_rztVC.mjs} +3 -3
  15. package/dist/CurrencyInput-xH-hqry9.mjs +85 -0
  16. package/dist/{DateUtil-BcuH7ErC.mjs → DateUtil-CBdcsyuk.mjs} +3 -3
  17. package/dist/{DebtsStore-z3VARSO6.mjs → DebtsStore-DB5U2WMC.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/{ExportCsvAction-sX8Rg4Ov.mjs → ExportCsvAction-DlGZfm4y.mjs} +3 -3
  21. package/dist/FinstrongStore-CJBV4K5Y.mjs +432 -0
  22. package/dist/{GoalStore-TD0BfzWX.mjs → GoalStore-deVLYr7n.mjs} +3 -3
  23. package/dist/{Help-B6dIcujh.mjs → Help-BnPXM_N2.mjs} +2 -2
  24. package/dist/{LineChart-D4GI7nVh.mjs → LineChart-Ct9DNmhS.mjs} +209 -181
  25. package/dist/{ListItemAction-DHa3KJPs.mjs → ListItemAction-uobBrm_a.mjs} +10 -10
  26. package/dist/{ManageIncome-D3n1EWxe.mjs → ManageIncome-CqNstpx_.mjs} +63 -61
  27. package/dist/{MicroWidgetContainer-DpeqN9n3.mjs → MicroWidgetContainer-DEiRnYVa.mjs} +1 -1
  28. package/dist/{MiniWidgetContainer-D0gfmbaF.mjs → MiniWidgetContainer-CmXpTylX.mjs} +1 -1
  29. package/dist/{NetWorthStore-B_1oulrt.mjs → NetWorthStore-CUz0bwVm.mjs} +2 -2
  30. package/dist/{NotificationSettings-BRm_EJZV.mjs → NotificationSettings-BKKuULAd.mjs} +5 -5
  31. package/dist/{OriginalBalanceAction-CAaVbVMO.mjs → OriginalBalanceAction-CCmnsd7y.mjs} +3 -3
  32. package/dist/{RecurringSettings-C28GrQcP.mjs → RecurringSettings-DfAMEAuh.mjs} +4 -4
  33. package/dist/{RecurringTransactions-ej39mgA6.mjs → RecurringTransactions-CngsRZ3K.mjs} +45 -44
  34. package/dist/{RecurringTransactionsStore-DrzS1LmF.mjs → RecurringTransactionsStore-C4RVULF8.mjs} +1 -1
  35. package/dist/{SpendingData-D5vsfYKo.mjs → SpendingData-BuJ03S9d.mjs} +16 -16
  36. package/dist/SpendingLegend-squvjEhu.mjs +170 -0
  37. package/dist/{TransactionDetails-BWffqew4.mjs → TransactionDetails-CabNHK_I.mjs} +12 -12
  38. package/dist/{TransactionStore-DxPLdF3B.mjs → TransactionStore-DvOEbOzL.mjs} +3 -3
  39. package/dist/{TrendsStore-DCYbpXPO.mjs → TrendsStore-BVNxGsE4.mjs} +14 -14
  40. package/dist/{User-BQUxBeZV.mjs → User-wXzDI4M8.mjs} +2 -2
  41. package/dist/{WidgetContainer-C88Ecu2W.mjs → WidgetContainer-GoNq8wwm.mjs} +4 -4
  42. package/dist/accounts/components/AccountsListCompact.d.ts +10 -0
  43. package/dist/accounts/index.es.js +14 -14
  44. package/dist/accounts/stores/AccountStore.d.ts +2 -0
  45. package/dist/analytics/index.es.js +2 -2
  46. package/dist/budgets/index.es.js +12 -12
  47. package/dist/cashflow/index.es.js +44 -44
  48. package/dist/categories/index.es.js +2 -2
  49. package/dist/common/components/Select.d.ts +4 -2
  50. package/dist/common/components/charts/LineChart.d.ts +8 -2
  51. package/dist/common/components/charts/linechart/CustomMark.d.ts +4 -0
  52. package/dist/common/components/drawer/Drawer.d.ts +3 -0
  53. package/dist/common/components/drawer/Footer.d.ts +17 -0
  54. package/dist/common/index.es.js +33 -33
  55. package/dist/common/types/Finstrong.d.ts +50 -0
  56. package/dist/common/types/index.d.ts +1 -1
  57. package/dist/common/types/localization/FinstrongCopy.d.ts +58 -1
  58. package/dist/dashboard/index.es.js +2 -2
  59. package/dist/debts/index.es.js +11 -11
  60. package/dist/{exportTransactionsToCSV-7bVS7KXf.mjs → exportTransactionsToCSV-hrNpJ77n.mjs} +2 -2
  61. package/dist/finstrong/api/FinstrongApi.d.ts +5 -0
  62. package/dist/finstrong/components/ConnectMoreAccountsCard.d.ts +3 -1
  63. package/dist/finstrong/components/CreditScore/CreditScoreContent.d.ts +4 -0
  64. package/dist/finstrong/components/CreditScore/CreditScoreHeader.d.ts +4 -0
  65. package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent.d.ts +3 -0
  66. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.d.ts +3 -0
  67. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar.d.ts +4 -0
  68. package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent.d.ts +3 -0
  69. package/dist/finstrong/components/KeyIndicatorsBorrowTab.d.ts +2 -2
  70. package/dist/finstrong/components/KeyIndicatorsDrawer.d.ts +4 -1
  71. package/dist/finstrong/components/KeyIndicatorsSaveTab.d.ts +2 -2
  72. package/dist/finstrong/components/KeyIndicatorsSpendTab.d.ts +2 -2
  73. package/dist/finstrong/components/KeyIndicatorsTabItem.d.ts +4 -3
  74. package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.d.ts +10 -0
  75. package/dist/finstrong/components/KeyIndicatorsTabsWidget.d.ts +2 -2
  76. package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator.d.ts +6 -0
  77. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent.d.ts +4 -0
  78. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky.d.ts +4 -0
  79. package/dist/finstrong/components/ProgressBar.d.ts +15 -0
  80. package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent.d.ts +3 -0
  81. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.d.ts +3 -0
  82. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar.d.ts +4 -0
  83. package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent.d.ts +3 -0
  84. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent.d.ts +3 -0
  85. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar.d.ts +4 -0
  86. package/dist/finstrong/components/StatusChip.d.ts +5 -0
  87. package/dist/finstrong/components/onboarding/Onboarding.d.ts +2 -0
  88. package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +11 -0
  89. package/dist/finstrong/components/onboarding/OnboardingBirthday.d.ts +8 -0
  90. package/dist/finstrong/components/onboarding/OnboardingCreditScore.d.ts +8 -0
  91. package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +14 -0
  92. package/dist/finstrong/components/onboarding/OnboardingStepsHeader.d.ts +8 -0
  93. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent.d.ts +4 -0
  94. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent.d.ts +4 -0
  95. package/dist/finstrong/components/shared/Accounts.d.ts +8 -0
  96. package/dist/finstrong/components/shared/CustomDoubleBarPlot.d.ts +25 -0
  97. package/dist/finstrong/components/shared/DoubleBarChart.d.ts +28 -0
  98. package/dist/finstrong/components/shared/LineGraph.d.ts +7 -0
  99. package/dist/finstrong/components/shared/TotalCard.d.ts +8 -0
  100. package/dist/finstrong/components/shared/TransactionList.d.ts +15 -0
  101. package/dist/finstrong/components/shared/Transactions.d.ts +11 -0
  102. package/dist/finstrong/constants/index.d.ts +8 -0
  103. package/dist/finstrong/index.es.js +3119 -1044
  104. package/dist/finstrong/stores/FinstrongStore.d.ts +9 -1
  105. package/dist/finstrong/util/finstrongUtils.d.ts +58 -1
  106. package/dist/goals/index.es.js +14 -14
  107. package/dist/help/index.es.js +3 -3
  108. package/dist/{hooks-D6XlXHf4.mjs → hooks-C41HAxM5.mjs} +3 -3
  109. package/dist/investments/index.es.js +4 -4
  110. package/dist/merchants/index.es.js +1 -1
  111. package/dist/networth/index.es.js +34 -34
  112. package/dist/notifications/index.es.js +4 -4
  113. package/dist/recurringtransactions/index.es.js +13 -13
  114. package/dist/settings/index.es.js +8 -8
  115. package/dist/spending/index.es.js +222 -373
  116. package/dist/transactions/index.es.js +15 -15
  117. package/dist/trends/index.es.js +94 -94
  118. package/dist/{useAccountDisplayName-BcRqfar8.mjs → useAccountDisplayName-B5O6hQ1B.mjs} +2 -2
  119. package/dist/{useInsightsEnabled-DBpwEq10.mjs → useInsightsEnabled-CNjP5cfR.mjs} +1 -1
  120. package/package.json +1 -1
  121. package/dist/CurrencyInput-CsCy7uaS.mjs +0 -83
  122. package/dist/Drawer-kEE73B87.mjs +0 -113
  123. package/dist/FinstrongStore-F2c607dj.mjs +0 -101
  124. package/dist/finstrong/utils/Finstrong.d.ts +0 -6
@@ -6,10 +6,10 @@ import C from "@mui/material/ListItemButton";
6
6
  import I from "@mui/material/ListItemText";
7
7
  import L from "@mui/material/Stack";
8
8
  import { ChevronRight as g } from "@mxenabled/mx-icons";
9
- import { Text as m } from "@mxenabled/mxui";
10
- import { a as j } from "./Dialog-CWW597AF.mjs";
11
- import { u as P } from "./hooks-D6XlXHf4.mjs";
12
- const D = v(
9
+ import { Text as a } from "@mxenabled/mxui";
10
+ import { D as j } from "./Dialog-BPTr3qHE.mjs";
11
+ import { u as P } from "./hooks-C41HAxM5.mjs";
12
+ const q = v(
13
13
  ({
14
14
  children: n,
15
15
  isDisabled: i = !1,
@@ -21,7 +21,7 @@ const D = v(
21
21
  secondaryText: y,
22
22
  zeroStateText: o
23
23
  }) => {
24
- const { common: a } = P(), [d, t] = b.useState(!1), h = () => {
24
+ const { common: m } = P(), [d, t] = b.useState(!1), h = () => {
25
25
  t(!1), c?.();
26
26
  }, u = () => {
27
27
  t(!1), l();
@@ -32,9 +32,9 @@ const D = v(
32
32
  I,
33
33
  {
34
34
  primary: /* @__PURE__ */ e(L, { alignItems: "center", direction: "row", justifyContent: "space-between", children: [
35
- /* @__PURE__ */ r(m, { variant: "body1", children: f }),
35
+ /* @__PURE__ */ r(a, { variant: "body1", children: f }),
36
36
  /* @__PURE__ */ r(
37
- m,
37
+ a,
38
38
  {
39
39
  bold: !0,
40
40
  color: o ? "primary.main" : "text.primary",
@@ -52,12 +52,12 @@ const D = v(
52
52
  /* @__PURE__ */ r(
53
53
  j,
54
54
  {
55
- copy: { title: p, close_aria: a.close_aria },
55
+ copy: { title: p, close_aria: m.close_aria },
56
56
  disablePrimaryButton: s,
57
57
  isOpen: d,
58
58
  onClose: h,
59
59
  onPrimaryAction: u,
60
- primaryText: a.save_button,
60
+ primaryText: m.save_button,
61
61
  children: n
62
62
  }
63
63
  )
@@ -65,5 +65,5 @@ const D = v(
65
65
  }
66
66
  );
67
67
  export {
68
- D as L
68
+ q as L
69
69
  };
@@ -1,38 +1,38 @@
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
- import h from "@mui/material/Stack";
7
+ import p from "@mui/material/Stack";
8
8
  import { MerchantLogo as H, Text as S, H1 as re, 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 $ from "@mui/material/Button";
18
- import { Delete as me, Add as pe, ReceiptLong as he } from "@mxenabled/mx-icons";
19
- import { T as X, a as ye, u as ge, S as fe, b as Ce } from "./TransactionDetails-BWffqew4.mjs";
18
+ import { Delete as me, Add as he, ReceiptLong as pe } from "@mxenabled/mx-icons";
19
+ import { T as X, a as ye, u as ge, S as fe, b as Ce } from "./TransactionDetails-CabNHK_I.mjs";
20
20
  import { getDayOfYear as be } from "date-fns/getDayOfYear";
21
21
  import { setDayOfYear as xe } from "date-fns/setDayOfYear";
22
22
  import { AdapterDateFns as Se } from "@mui/x-date-pickers/AdapterDateFnsV3";
23
23
  import { DatePicker as ve } from "@mui/x-date-pickers";
24
24
  import { LocalizationProvider as we } from "@mui/x-date-pickers/LocalizationProvider";
25
- import { u as w, j as M, g as F, b as Ae, h as Z, p as De } from "./hooks-D6XlXHf4.mjs";
25
+ import { u as w, j as F, g as G, b as Ae, h as Z, p as De } from "./hooks-C41HAxM5.mjs";
26
26
  import { b as Ie, f as J } from "./NumberFormatting-Buh7u8Oi.mjs";
27
- import { D as O } from "./Drawer-kEE73B87.mjs";
28
- import { A as R } from "./WidgetContainer-C88Ecu2W.mjs";
29
- import { f as Ee, D as Re, a as Te } from "./Dialog-CWW597AF.mjs";
27
+ import { D as O } from "./Drawer-BEtCk82g.mjs";
28
+ import { A as R } from "./WidgetContainer-GoNq8wwm.mjs";
29
+ import { f as Ee, a as Re, D as Te } from "./Dialog-BPTr3qHE.mjs";
30
30
  import { formatISO as Le } from "date-fns/formatISO";
31
31
  import { fromUnixTime as Oe } from "date-fns/fromUnixTime";
32
32
  import { S as ke } from "./SearchBox-B2_zLv8-.mjs";
33
- import { h as Ne } from "./DateUtil-BcuH7ErC.mjs";
33
+ import { h as Ne } from "./DateUtil-CBdcsyuk.mjs";
34
34
  import { b as B } from "./Category-CevNQ03n.mjs";
35
- import { T as V } from "./User-BQUxBeZV.mjs";
35
+ import { T as V } from "./User-wXzDI4M8.mjs";
36
36
  const ee = ({
37
37
  frequency: n,
38
38
  firstDay: t,
@@ -61,15 +61,15 @@ const ee = ({
61
61
  { id: 4, label: o.weekday_thursday },
62
62
  { id: 5, label: o.weekday_friday },
63
63
  { id: 6, label: o.weekday_saturday }
64
- ], y = [...Array(31).keys()].map((p) => ({
65
- id: p + 1,
66
- label: Ie(p + 1)
64
+ ], y = [...Array(31).keys()].map((h) => ({
65
+ id: h + 1,
66
+ label: Ie(h + 1)
67
67
  }));
68
68
  y[30].label += ` (${o.last_day_of_month})`;
69
- 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, D = xe(z(), t), f = (p) => {
70
- p && s(be(p));
69
+ 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, D = xe(z(), t), f = (h) => {
70
+ h && s(be(h));
71
71
  };
72
- return /* @__PURE__ */ c(h, { gap: 24, sx: { m: 24 }, children: [
72
+ return /* @__PURE__ */ c(p, { gap: 24, sx: { m: 24 }, children: [
73
73
  /* @__PURE__ */ e(
74
74
  N,
75
75
  {
@@ -117,7 +117,7 @@ const ee = ({
117
117
  ) })
118
118
  ] });
119
119
  }, Me = A(({ repeatingTransaction: n }) => {
120
- 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 () => {
120
+ const { recurring: t } = w(), { updateRepeatingTransaction: r } = F(), { onEvent: i } = G(), [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 () => {
121
121
  await r({
122
122
  ...n,
123
123
  recurrence_type: o,
@@ -161,7 +161,7 @@ const ee = ({
161
161
  ] });
162
162
  }), Fe = A(
163
163
  ({ onDeleted: n, recurringTransaction: t }) => {
164
- const { recurring: r } = w(), { selectedAccountGuids: i } = Ae(), { 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, D] = u.useState("");
164
+ const { recurring: r } = w(), { selectedAccountGuids: i } = Ae(), { onEvent: s } = G(), { deleteRepeatingTransaction: l } = F(), { setFilter: o, transactions: a } = Z(), { amount: m, description: y, merchant_guid: C } = t, [v, b] = u.useState(!1), [g, D] = u.useState("");
165
165
  u.useEffect(() => {
166
166
  o({
167
167
  accounts: i,
@@ -172,13 +172,13 @@ const ee = ({
172
172
  const f = u.useMemo(
173
173
  () => a.find((_) => _.guid === g),
174
174
  [g, a]
175
- ), p = t.repeating_transaction_type === E.Income, k = async () => {
175
+ ), h = t.repeating_transaction_type === E.Income, k = async () => {
176
176
  await l(t.guid), n();
177
- }, G = () => {
177
+ }, P = () => {
178
178
  b(!0), s(R.RECURRING_TRANSACTIONS_DETAILS_CLICK_DELETE);
179
179
  };
180
- return /* @__PURE__ */ c(h, { bgcolor: "background.default", direction: "column", height: "100%", children: [
181
- /* @__PURE__ */ c(h, { direction: "column", m: 24, children: [
180
+ return /* @__PURE__ */ c(p, { bgcolor: "background.default", direction: "column", height: "100%", children: [
181
+ /* @__PURE__ */ c(p, { direction: "column", m: 24, children: [
182
182
  /* @__PURE__ */ e(
183
183
  H,
184
184
  {
@@ -189,8 +189,8 @@ const ee = ({
189
189
  }
190
190
  ),
191
191
  /* @__PURE__ */ e(S, { bold: !0, variant: "body1", children: y }),
192
- /* @__PURE__ */ c(re, { color: p ? "success.main" : "text.primary", sx: { my: 4 }, children: [
193
- p ? "+" : "",
192
+ /* @__PURE__ */ c(re, { color: h ? "success.main" : "text.primary", sx: { my: 4 }, children: [
193
+ h ? "+" : "",
194
194
  J(m, "0,0.00")
195
195
  ] }),
196
196
  /* @__PURE__ */ e(S, { color: "text.secondary", variant: "body2", children: `${r.next_payment_date}: ${Ee(
@@ -228,11 +228,11 @@ const ee = ({
228
228
  $,
229
229
  {
230
230
  color: "error",
231
- onClick: G,
231
+ onClick: P,
232
232
  startIcon: /* @__PURE__ */ e(me, {}),
233
233
  sx: { mx: 24, my: 16 },
234
234
  variant: "text",
235
- children: p ? r.delete_income_title : r.delete_expense_title
235
+ children: h ? r.delete_income_title : r.delete_expense_title
236
236
  }
237
237
  ),
238
238
  /* @__PURE__ */ e(S, { bold: !0, sx: { ml: 24, mt: 16 }, variant: "Body", children: r.paid_transactions }),
@@ -251,13 +251,13 @@ const ee = ({
251
251
  Te,
252
252
  {
253
253
  copy: {
254
- title: p ? r.delete_income_title : r.delete_expense_title,
254
+ title: h ? r.delete_income_title : r.delete_expense_title,
255
255
  close_aria: r.close_drawer_aria
256
256
  },
257
257
  isOpen: v,
258
258
  onClose: () => b(!1),
259
259
  onPrimaryAction: k,
260
- children: /* @__PURE__ */ e(S, { children: p ? r.delete_income_description : r.delete_expense_description })
260
+ children: /* @__PURE__ */ e(S, { children: h ? r.delete_income_description : r.delete_expense_description })
261
261
  }
262
262
  )
263
263
  ] });
@@ -280,10 +280,10 @@ const ee = ({
280
280
  merchantGuid: t.merchant_guid
281
281
  }
282
282
  ) }),
283
- /* @__PURE__ */ e(le, { children: /* @__PURE__ */ c(h, { direction: "row", gap: 4, sx: { justifyContent: "space-between" }, children: [
284
- /* @__PURE__ */ c(h, { direction: "column", sx: { width: "50%" }, children: [
283
+ /* @__PURE__ */ e(le, { children: /* @__PURE__ */ c(p, { direction: "row", gap: 4, sx: { justifyContent: "space-between" }, children: [
284
+ /* @__PURE__ */ c(p, { direction: "column", sx: { width: "50%" }, children: [
285
285
  /* @__PURE__ */ e(S, { bold: !0, variant: "body1", children: t.description }),
286
- /* @__PURE__ */ c(h, { alignItems: "center", direction: "row", gap: 6, children: [
286
+ /* @__PURE__ */ c(p, { alignItems: "center", direction: "row", gap: 6, children: [
287
287
  t.account?.institution_guid && /* @__PURE__ */ e(
288
288
  ae,
289
289
  {
@@ -295,7 +295,7 @@ const ee = ({
295
295
  /* @__PURE__ */ e(S, { variant: "caption", children: o })
296
296
  ] })
297
297
  ] }),
298
- /* @__PURE__ */ c(h, { alignItems: "flex-end", sx: { width: "50%" }, children: [
298
+ /* @__PURE__ */ c(p, { alignItems: "flex-end", sx: { width: "50%" }, children: [
299
299
  /* @__PURE__ */ c(
300
300
  S,
301
301
  {
@@ -309,7 +309,7 @@ const ee = ({
309
309
  }
310
310
  ),
311
311
  /* @__PURE__ */ e(
312
- h,
312
+ p,
313
313
  {
314
314
  direction: "row",
315
315
  sx: {
@@ -351,7 +351,7 @@ const ee = ({
351
351
  onSelected: i
352
352
  }) => {
353
353
  const { recurring: s } = w(), { searchValue: l, setSearchValue: o } = ge();
354
- return /* @__PURE__ */ c(h, { sx: { bgcolor: n, gap: 16, pt: 8 }, children: [
354
+ return /* @__PURE__ */ c(p, { sx: { bgcolor: n, gap: 16, pt: 8 }, children: [
355
355
  t && /* @__PURE__ */ e(U, { sx: { mx: 24 }, children: t }),
356
356
  /* @__PURE__ */ e(
357
357
  ke,
@@ -389,23 +389,25 @@ const ee = ({
389
389
  transaction: a
390
390
  }) => {
391
391
  const { recurring: m } = w();
392
- return /* @__PURE__ */ c(h, { bgcolor: n, gap: 24, height: "100%", children: [
393
- /* @__PURE__ */ c(h, { children: [
392
+ return /* @__PURE__ */ c(p, { bgcolor: n, gap: 24, height: "100%", children: [
393
+ /* @__PURE__ */ c(p, { children: [
394
394
  /* @__PURE__ */ e(fe, { bgcolor: n, children: Ne(a.date) }),
395
395
  /* @__PURE__ */ e(Ce, { transaction: a })
396
396
  ] }),
397
- /* @__PURE__ */ e(S, { bold: !0, sx: { mx: 24 }, variant: "Body", children: m.payment_schedule }),
398
- /* @__PURE__ */ e(
399
- ee,
400
- {
401
- firstDay: t,
402
- frequency: i,
403
- onFirstDayChange: l,
404
- onFrequencyChange: s,
405
- onSecondDayChange: o,
406
- secondDay: r
407
- }
408
- )
397
+ /* @__PURE__ */ c(M, { children: [
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
+ )
410
+ ] })
409
411
  ] });
410
412
  }
411
413
  ), q = (n) => n.top_level_category_guid !== B.INCOME && n.transaction_type === V.DEBIT, Ye = (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, ze = (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(
@@ -414,7 +416,7 @@ const ee = ({
414
416
  label: t,
415
417
  onAddRecurringTransaction: r = () => null
416
418
  }) => {
417
- 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, D] = u.useState(d.EveryMonth), [f, p] = u.useState(1), [k, G] = u.useState(15), _ = u.useMemo(
419
+ const { recurring: i } = w(), { filter: s, setFilter: l, transactions: o } = Z(), { addRepeatingTransaction: a } = F(), { user: m } = De(), [y, C] = u.useState(!1), [v, b] = u.useState(""), [g, D] = u.useState(d.EveryMonth), [f, h] = u.useState(1), [k, P] = u.useState(15), _ = u.useMemo(
418
420
  () => o.find((x) => x.guid === v),
419
421
  [v, o]
420
422
  ), ne = () => {
@@ -445,7 +447,7 @@ const ee = ({
445
447
  b(""), C(!1);
446
448
  };
447
449
  return /* @__PURE__ */ c(L, { children: [
448
- /* @__PURE__ */ e($, { onClick: ne, startIcon: /* @__PURE__ */ e(pe, { size: 24 }), variant: "contained", children: t }),
450
+ /* @__PURE__ */ e($, { onClick: ne, startIcon: /* @__PURE__ */ e(he, { size: 24 }), variant: "contained", children: t }),
449
451
  /* @__PURE__ */ e(
450
452
  O,
451
453
  {
@@ -481,9 +483,9 @@ const ee = ({
481
483
  {
482
484
  firstDay: f,
483
485
  frequency: g,
484
- onFirstDayChange: p,
486
+ onFirstDayChange: h,
485
487
  onFrequencyChange: D,
486
- onSecondDayChange: G,
488
+ onSecondDayChange: P,
487
489
  secondDay: k,
488
490
  transaction: _
489
491
  }
@@ -494,9 +496,9 @@ const ee = ({
494
496
  }
495
497
  ), Be = A(
496
498
  ({ zeroStateFor: n }) => {
497
- 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;
498
- return /* @__PURE__ */ c(h, { sx: { alignItems: "center", p: 24, pt: 48 }, children: [
499
- /* @__PURE__ */ e(he, { size: 48 }),
499
+ const { recurring: t } = w(), { onEvent: r } = 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, o = i ? t.add_income : t.add_expense;
500
+ return /* @__PURE__ */ c(p, { sx: { alignItems: "center", p: 24, pt: 48 }, children: [
501
+ /* @__PURE__ */ e(pe, { size: 48 }),
500
502
  /* @__PURE__ */ e(U, { sx: { my: 8, fontWeight: 600 }, variant: "body1", children: s }),
501
503
  /* @__PURE__ */ e(U, { color: "text.secondary", sx: { mb: 32 }, variant: "subtitle2", children: l }),
502
504
  /* @__PURE__ */ e(
@@ -514,7 +516,7 @@ const ee = ({
514
516
  ] });
515
517
  }
516
518
  ), wt = A(({ forOverview: n = !1 }) => {
517
- const { recurring: t } = w(), { repeatingTransactions: r } = M(), { onEvent: i } = F(), s = (a) => {
519
+ const { recurring: t } = w(), { repeatingTransactions: r } = F(), { onEvent: i } = G(), s = (a) => {
518
520
  i(R.RECURRING_TRANSACTIONS_CLICK_INCOME, {
519
521
  repeating_transaction_guid: a.guid
520
522
  });
@@ -524,7 +526,7 @@ const ee = ({
524
526
  (a) => a.repeating_transaction_type === E.Income && (a.transactions.length > 0 || a.recurrence_type === d.EveryYear)
525
527
  );
526
528
  return /* @__PURE__ */ e(L, { children: o.length !== 0 ? /* @__PURE__ */ c(
527
- h,
529
+ p,
528
530
  {
529
531
  sx: {
530
532
  height: n ? "calc(100vh - 62px)" : "calc(100vh - 109px)",
@@ -532,7 +534,7 @@ const ee = ({
532
534
  },
533
535
  children: [
534
536
  n && /* @__PURE__ */ e(S, { bold: !0, sx: { mb: 4, mt: 12, mx: 24 }, variant: "Small", children: t.income }),
535
- /* @__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: [
537
+ /* @__PURE__ */ e(M, { sx: { flex: 1, overflow: "auto" }, children: /* @__PURE__ */ e(K, { sx: { bgcolor: "background.paper" }, children: o.map((a, m) => /* @__PURE__ */ c(u.Fragment, { children: [
536
538
  /* @__PURE__ */ e(Ge, { onClick: s, repeatingTransaction: a }),
537
539
  /* @__PURE__ */ e(
538
540
  T,
@@ -541,10 +543,10 @@ const ee = ({
541
543
  }
542
544
  )
543
545
  ] }, a.guid)) }) }),
544
- /* @__PURE__ */ c(P, { children: [
546
+ /* @__PURE__ */ c(M, { children: [
545
547
  /* @__PURE__ */ e(T, {}),
546
548
  /* @__PURE__ */ e(
547
- P,
549
+ M,
548
550
  {
549
551
  sx: {
550
552
  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-D6XlXHf4.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-D6XlXHf4.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-IeEtQjzA.mjs";
7
- import { e as N, a as M, f as v } from "./ConnectDrawer-DaFRU5st.mjs";
6
+ import { a as b } from "./Accounts-B5Yr0e_o.mjs";
7
+ import { e as N, a as M, f as v } from "./ConnectDrawer-FyY0AWYQ.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 F, a as P, N as y } from "./ToggleListItem-r0Kx56wF.mjs";
18
- import { u as D, s as T, p as A, d as se, g as ae, a as W, b as le } from "./hooks-D6XlXHf4.mjs";
18
+ import { u as D, s as T, p as A, d as se, g as ae, a as W, b as le } from "./hooks-C41HAxM5.mjs";
19
19
  import { b as ce } from "./Localization-2MODESHW.mjs";
20
20
  import { b as re, f as de } from "./NumberFormatting-Buh7u8Oi.mjs";
21
- import { a as M } from "./Dialog-CWW597AF.mjs";
22
- import { C as me } from "./CurrencyInput-CsCy7uaS.mjs";
21
+ import { D as M } from "./Dialog-BPTr3qHE.mjs";
22
+ import { C as me } from "./CurrencyInput-xH-hqry9.mjs";
23
23
  import { u as he } 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 _e from "@mui/material/Collapse";
26
26
  import ue from "@mui/material/Card";
27
27
  import pe from "@mui/material/CardContent";
@@ -30,7 +30,7 @@ import R from "@mui/material/Button";
30
30
  import L from "@mui/material/TextField";
31
31
  import { u as fe } from "./useDimensions-27p2evRx.mjs";
32
32
  import X from "@mui/material/styles/useTheme";
33
- import { u as ge } from "./useInsightsEnabled-DBpwEq10.mjs";
33
+ import { u as ge } from "./useInsightsEnabled-CNjP5cfR.mjs";
34
34
  import { L as ye } from "./Loader-DUaFpDGv.mjs";
35
35
  const be = C(() => {
36
36
  const { common: n, settings: t } = D(), { sendEmailVerification: s } = T(), { user: c } = A(), i = X(), [d, a] = f.useState(!1), o = () => {
@@ -2,10 +2,10 @@ import { jsx as o } from "react/jsx-runtime";
2
2
  import _ from "react";
3
3
  import { observer as p } from "mobx-react-lite";
4
4
  import v from "@mui/material/TextField";
5
- import { L as y } from "./ListItemAction-DHa3KJPs.mjs";
6
- import { u as h, l as b } from "./hooks-D6XlXHf4.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-CsCy7uaS.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-D3n1EWxe.mjs";
11
- import { u as _, j as A, g as f } from "./hooks-D6XlXHf4.mjs";
12
- import { R as y, F as N } from "./RecurringTransactions-ej39mgA6.mjs";
13
- import { A as m } from "./WidgetContainer-C88Ecu2W.mjs";
10
+ import { R as C, A as S, a as E, M as v } from "./ManageIncome-CqNstpx_.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-GoNq8wwm.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, {