@mx-cartographer/experiences 7.2.12-alpha.san1 → 7.2.13-alpha.mm0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. package/dist/{Account-CBQnFO6w.mjs → Account-B-CuHOYf.mjs} +1 -1
  2. package/dist/{AccountDetailsContent-BkurfGCr.mjs → AccountDetailsContent-bqByD9ea.mjs} +10 -10
  3. package/dist/{AccountDetailsHeader-CaIoP_2Q.mjs → AccountDetailsHeader-vcy67tuH.mjs} +8 -8
  4. package/dist/{AccountFields-CLbLAhLf.mjs → AccountFields-cUP-9Hm6.mjs} +5 -5
  5. package/dist/{AccountListItem-CPm3572e.mjs → AccountListItem-DChcf3SN.mjs} +4 -4
  6. package/dist/{AccountStore-DttEGFeu.mjs → AccountStore-D6KiXA1B.mjs} +29 -40
  7. package/dist/{Accounts-B5Yr0e_o.mjs → Accounts-IeEtQjzA.mjs} +1 -1
  8. package/dist/{BudgetUtil-wjoNuj7B.mjs → BudgetUtil-B2ZXyw-g.mjs} +1 -1
  9. package/dist/{CategorySelectorDrawer-ZO9N26Kx.mjs → CategorySelectorDrawer-DUe4lH5-.mjs} +3 -3
  10. package/dist/{CategoryStore-C1IfDPCE.mjs → CategoryStore-BCcpI3oJ.mjs} +1 -1
  11. package/dist/{CategoryUtil-DUM8NuGO.mjs → CategoryUtil-BR3H5i6n.mjs} +1 -1
  12. package/dist/{ConnectDrawer-FyY0AWYQ.mjs → ConnectDrawer-DaFRU5st.mjs} +2 -2
  13. package/dist/{ConnectionsDrawer-Cd_rztVC.mjs → ConnectionsDrawer-DHJ7qdWL.mjs} +3 -3
  14. package/dist/{CurrencyInput-xH-hqry9.mjs → CurrencyInput-DUsQbkXb.mjs} +1 -1
  15. package/dist/{DateUtil-CBdcsyuk.mjs → DateUtil-BcuH7ErC.mjs} +3 -3
  16. package/dist/{DebtsStore-DB5U2WMC.mjs → DebtsStore-z3VARSO6.mjs} +1 -1
  17. package/dist/{Dialog-BPTr3qHE.mjs → Dialog-CWW597AF.mjs} +2 -2
  18. package/dist/Drawer-kEE73B87.mjs +113 -0
  19. package/dist/{ExportCsvAction-DlGZfm4y.mjs → ExportCsvAction-sX8Rg4Ov.mjs} +3 -3
  20. package/dist/FinstrongStore-F2c607dj.mjs +101 -0
  21. package/dist/{GoalStore-deVLYr7n.mjs → GoalStore-TD0BfzWX.mjs} +3 -3
  22. package/dist/{Help-BnPXM_N2.mjs → Help-B6dIcujh.mjs} +2 -2
  23. package/dist/{LineChart-Ct9DNmhS.mjs → LineChart-D4GI7nVh.mjs} +181 -209
  24. package/dist/{ListItemAction-uobBrm_a.mjs → ListItemAction-DHa3KJPs.mjs} +10 -10
  25. package/dist/{ManageIncome-CqNstpx_.mjs → ManageIncome-CMN_8uep.mjs} +78 -80
  26. package/dist/{MicroWidgetContainer-DEiRnYVa.mjs → MicroWidgetContainer-DpeqN9n3.mjs} +1 -1
  27. package/dist/{MiniWidgetContainer-CmXpTylX.mjs → MiniWidgetContainer-D0gfmbaF.mjs} +1 -1
  28. package/dist/{NetWorthStore-CUz0bwVm.mjs → NetWorthStore-B_1oulrt.mjs} +2 -2
  29. package/dist/{NotificationSettings-BKKuULAd.mjs → NotificationSettings-DqrkNMod.mjs} +5 -5
  30. package/dist/{OriginalBalanceAction-CCmnsd7y.mjs → OriginalBalanceAction-CWuVvRq9.mjs} +3 -3
  31. package/dist/{RecurringSettings-DfAMEAuh.mjs → RecurringSettings-BsP-YKPS.mjs} +4 -4
  32. package/dist/{RecurringTransactions-CngsRZ3K.mjs → RecurringTransactions-ej39mgA6.mjs} +44 -45
  33. package/dist/{RecurringTransactionsStore-C4RVULF8.mjs → RecurringTransactionsStore-DrzS1LmF.mjs} +1 -1
  34. package/dist/{SpendingData-BuJ03S9d.mjs → SpendingData-D5vsfYKo.mjs} +16 -16
  35. package/dist/{TransactionDetails-CabNHK_I.mjs → TransactionDetails-DW7T0W0z.mjs} +8 -11
  36. package/dist/{TransactionStore-DvOEbOzL.mjs → TransactionStore-DxPLdF3B.mjs} +3 -3
  37. package/dist/{TrendsStore-BVNxGsE4.mjs → TrendsStore-DCYbpXPO.mjs} +14 -14
  38. package/dist/{User-wXzDI4M8.mjs → User-BQUxBeZV.mjs} +2 -2
  39. package/dist/{WidgetContainer-GoNq8wwm.mjs → WidgetContainer-C88Ecu2W.mjs} +4 -4
  40. package/dist/accounts/index.es.js +14 -14
  41. package/dist/accounts/stores/AccountStore.d.ts +0 -2
  42. package/dist/analytics/index.es.js +2 -2
  43. package/dist/budgets/index.es.js +12 -12
  44. package/dist/cashflow/index.es.js +131 -130
  45. package/dist/categories/index.es.js +2 -2
  46. package/dist/common/components/Select.d.ts +2 -4
  47. package/dist/common/components/charts/LineChart.d.ts +2 -8
  48. package/dist/common/components/charts/linechart/CustomMark.d.ts +0 -4
  49. package/dist/common/components/drawer/Drawer.d.ts +0 -3
  50. package/dist/common/index.es.js +33 -33
  51. package/dist/common/types/Finstrong.d.ts +0 -50
  52. package/dist/common/types/index.d.ts +1 -1
  53. package/dist/common/types/localization/FinstrongCopy.d.ts +1 -58
  54. package/dist/dashboard/index.es.js +2 -2
  55. package/dist/debts/index.es.js +11 -11
  56. package/dist/{exportTransactionsToCSV-hrNpJ77n.mjs → exportTransactionsToCSV-7bVS7KXf.mjs} +2 -2
  57. package/dist/finstrong/api/FinstrongApi.d.ts +0 -5
  58. package/dist/finstrong/components/ConnectMoreAccountsCard.d.ts +1 -3
  59. package/dist/finstrong/components/KeyIndicatorsBorrowTab.d.ts +2 -2
  60. package/dist/finstrong/components/KeyIndicatorsDrawer.d.ts +1 -4
  61. package/dist/finstrong/components/KeyIndicatorsSaveTab.d.ts +2 -2
  62. package/dist/finstrong/components/KeyIndicatorsSpendTab.d.ts +2 -2
  63. package/dist/finstrong/components/KeyIndicatorsTabItem.d.ts +3 -4
  64. package/dist/finstrong/components/KeyIndicatorsTabsWidget.d.ts +2 -2
  65. package/dist/finstrong/index.es.js +1055 -3130
  66. package/dist/finstrong/stores/FinstrongStore.d.ts +1 -9
  67. package/dist/finstrong/util/finstrongUtils.d.ts +1 -58
  68. package/dist/finstrong/utils/Finstrong.d.ts +6 -0
  69. package/dist/goals/index.es.js +14 -14
  70. package/dist/help/index.es.js +3 -3
  71. package/dist/{hooks-C41HAxM5.mjs → hooks-D6XlXHf4.mjs} +3 -3
  72. package/dist/investments/index.es.js +4 -4
  73. package/dist/merchants/index.es.js +1 -1
  74. package/dist/networth/index.es.js +34 -34
  75. package/dist/notifications/index.es.js +4 -4
  76. package/dist/recurringtransactions/index.es.js +13 -13
  77. package/dist/settings/index.es.js +8 -8
  78. package/dist/spending/index.es.js +373 -222
  79. package/dist/transactions/index.es.js +15 -15
  80. package/dist/trends/index.es.js +94 -94
  81. package/dist/{useAccountDisplayName-B5O6hQ1B.mjs → useAccountDisplayName-BcRqfar8.mjs} +2 -2
  82. package/dist/{useInsightsEnabled-CNjP5cfR.mjs → useInsightsEnabled-DBpwEq10.mjs} +1 -1
  83. package/package.json +1 -1
  84. package/dist/Drawer-BEtCk82g.mjs +0 -163
  85. package/dist/FinstrongStore-CJBV4K5Y.mjs +0 -432
  86. package/dist/SpendingLegend-squvjEhu.mjs +0 -170
  87. package/dist/accounts/components/AccountsListCompact.d.ts +0 -10
  88. package/dist/common/components/drawer/Footer.d.ts +0 -17
  89. package/dist/finstrong/components/CreditScore/CreditScoreContent.d.ts +0 -4
  90. package/dist/finstrong/components/CreditScore/CreditScoreHeader.d.ts +0 -4
  91. package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent.d.ts +0 -3
  92. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.d.ts +0 -3
  93. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar.d.ts +0 -4
  94. package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent.d.ts +0 -3
  95. package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.d.ts +0 -10
  96. package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator.d.ts +0 -6
  97. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent.d.ts +0 -4
  98. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky.d.ts +0 -4
  99. package/dist/finstrong/components/ProgressBar.d.ts +0 -15
  100. package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent.d.ts +0 -3
  101. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.d.ts +0 -3
  102. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar.d.ts +0 -4
  103. package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent.d.ts +0 -3
  104. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent.d.ts +0 -3
  105. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar.d.ts +0 -4
  106. package/dist/finstrong/components/StatusChip.d.ts +0 -5
  107. package/dist/finstrong/components/onboarding/Onboarding.d.ts +0 -2
  108. package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +0 -11
  109. package/dist/finstrong/components/onboarding/OnboardingBirthday.d.ts +0 -8
  110. package/dist/finstrong/components/onboarding/OnboardingCreditScore.d.ts +0 -8
  111. package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +0 -14
  112. package/dist/finstrong/components/onboarding/OnboardingStepsHeader.d.ts +0 -8
  113. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent.d.ts +0 -4
  114. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent.d.ts +0 -4
  115. package/dist/finstrong/components/shared/Accounts.d.ts +0 -8
  116. package/dist/finstrong/components/shared/CustomDoubleBarPlot.d.ts +0 -25
  117. package/dist/finstrong/components/shared/DoubleBarChart.d.ts +0 -28
  118. package/dist/finstrong/components/shared/LineGraph.d.ts +0 -7
  119. package/dist/finstrong/components/shared/TotalCard.d.ts +0 -8
  120. package/dist/finstrong/components/shared/TransactionList.d.ts +0 -15
  121. package/dist/finstrong/components/shared/Transactions.d.ts +0 -11
  122. package/dist/finstrong/constants/index.d.ts +0 -8
@@ -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 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(
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(
13
13
  ({
14
14
  children: n,
15
15
  isDisabled: i = !1,
@@ -21,7 +21,7 @@ const q = v(
21
21
  secondaryText: y,
22
22
  zeroStateText: o
23
23
  }) => {
24
- const { common: m } = P(), [d, t] = b.useState(!1), h = () => {
24
+ const { common: a } = 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 q = v(
32
32
  I,
33
33
  {
34
34
  primary: /* @__PURE__ */ e(L, { alignItems: "center", direction: "row", justifyContent: "space-between", children: [
35
- /* @__PURE__ */ r(a, { variant: "body1", children: f }),
35
+ /* @__PURE__ */ r(m, { variant: "body1", children: f }),
36
36
  /* @__PURE__ */ r(
37
- a,
37
+ m,
38
38
  {
39
39
  bold: !0,
40
40
  color: o ? "primary.main" : "text.primary",
@@ -52,12 +52,12 @@ const q = v(
52
52
  /* @__PURE__ */ r(
53
53
  j,
54
54
  {
55
- copy: { title: p, close_aria: m.close_aria },
55
+ copy: { title: p, close_aria: a.close_aria },
56
56
  disablePrimaryButton: s,
57
57
  isOpen: d,
58
58
  onClose: h,
59
59
  onPrimaryAction: u,
60
- primaryText: m.save_button,
60
+ primaryText: a.save_button,
61
61
  children: n
62
62
  }
63
63
  )
@@ -65,5 +65,5 @@ const q = v(
65
65
  }
66
66
  );
67
67
  export {
68
- q as L
68
+ D 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 M from "@mui/material/Box";
4
+ import P from "@mui/material/Box";
5
5
  import T from "@mui/material/Divider";
6
6
  import K from "@mui/material/List";
7
- import p from "@mui/material/Stack";
7
+ import h 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-CngsRZ3K.mjs";
13
+ import { F as d, S as N, D as Y, g as Q, R as I, e as de } from "./RecurringTransactions-ej39mgA6.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 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";
18
+ import { Delete as me, Add as ye, ReceiptLong as he } from "@mxenabled/mx-icons";
19
+ import { T as X, a as pe, u as ge, S as fe, b as Ce } from "./TransactionDetails-DW7T0W0z.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 F, g as G, b as Ae, h as Z, p as De } from "./hooks-C41HAxM5.mjs";
26
- import { b as Ie, f as J } from "./NumberFormatting-Buh7u8Oi.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
- import { formatISO as Le } from "date-fns/formatISO";
25
+ import { u as w, j as M, g as F, b as Ae, h as Z, p as De } from "./hooks-D6XlXHf4.mjs";
26
+ import { b as Ee, 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 Ie, D as Re, a as Te } from "./Dialog-CWW597AF.mjs";
30
+ import { format as Le } from "date-fns/format";
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-CBdcsyuk.mjs";
33
+ import { h as Ne } from "./DateUtil-BcuH7ErC.mjs";
34
34
  import { b as B } from "./Category-CevNQ03n.mjs";
35
- import { T as V } from "./User-wXzDI4M8.mjs";
35
+ import { T as V } from "./User-BQUxBeZV.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((h) => ({
65
- id: h + 1,
66
- label: Ie(h + 1)
64
+ ], p = [...Array(31).keys()].map((y) => ({
65
+ id: y + 1,
66
+ label: Ee(y + 1)
67
67
  }));
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 = (h) => {
70
- h && s(be(h));
68
+ p[30].label += ` (${o.last_day_of_month})`;
69
+ const C = p.slice(0, 15), v = p.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 = (y) => {
70
+ y && s(be(y));
71
71
  };
72
- return /* @__PURE__ */ c(p, { gap: 24, sx: { m: 24 }, children: [
72
+ return /* @__PURE__ */ c(h, { gap: 24, sx: { m: 24 }, children: [
73
73
  /* @__PURE__ */ e(
74
74
  N,
75
75
  {
@@ -93,7 +93,7 @@ const ee = ({
93
93
  {
94
94
  label: n === d.TwiceAMonth ? o.first_day_of_the_month : o.day_of_the_month,
95
95
  onChange: s,
96
- options: n === d.TwiceAMonth ? C : y,
96
+ options: n === d.TwiceAMonth ? C : p,
97
97
  value: t
98
98
  }
99
99
  ),
@@ -117,7 +117,7 @@ const ee = ({
117
117
  ) })
118
118
  ] });
119
119
  }, Me = A(({ repeatingTransaction: n }) => {
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 () => {
120
+ const { recurring: t } = w(), { updateRepeatingTransaction: r } = M(), { onEvent: i } = F(), [s, l] = u.useState(!1), [o, a] = u.useState(n.recurrence_type), [m, p] = 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,
@@ -150,7 +150,7 @@ const ee = ({
150
150
  {
151
151
  firstDay: m,
152
152
  frequency: o,
153
- onFirstDayChange: y,
153
+ onFirstDayChange: p,
154
154
  onFrequencyChange: a,
155
155
  onSecondDayChange: v,
156
156
  secondDay: C
@@ -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 } = 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("");
164
+ const { recurring: r } = w(), { selectedAccountGuids: i } = Ae(), { onEvent: s } = F(), { deleteRepeatingTransaction: l } = M(), { setFilter: o, transactions: a } = Z(), { amount: m, description: p, 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
- ), h = t.repeating_transaction_type === E.Income, k = async () => {
175
+ ), y = t.repeating_transaction_type === I.Income, k = async () => {
176
176
  await l(t.guid), n();
177
- }, P = () => {
177
+ }, G = () => {
178
178
  b(!0), s(R.RECURRING_TRANSACTIONS_DETAILS_CLICK_DELETE);
179
179
  };
180
- return /* @__PURE__ */ c(p, { bgcolor: "background.default", direction: "column", height: "100%", children: [
181
- /* @__PURE__ */ c(p, { direction: "column", m: 24, children: [
180
+ return /* @__PURE__ */ c(h, { bgcolor: "background.default", direction: "column", height: "100%", children: [
181
+ /* @__PURE__ */ c(h, { direction: "column", m: 24, children: [
182
182
  /* @__PURE__ */ e(
183
183
  H,
184
184
  {
@@ -188,12 +188,12 @@ const ee = ({
188
188
  sx: { mb: 12 }
189
189
  }
190
190
  ),
191
- /* @__PURE__ */ e(S, { bold: !0, variant: "body1", children: y }),
192
- /* @__PURE__ */ c(re, { color: h ? "success.main" : "text.primary", sx: { my: 4 }, children: [
193
- h ? "+" : "",
191
+ /* @__PURE__ */ e(S, { bold: !0, variant: "body1", children: p }),
192
+ /* @__PURE__ */ c(re, { color: y ? "success.main" : "text.primary", sx: { my: 4 }, children: [
193
+ y ? "+" : "",
194
194
  J(m, "0,0.00")
195
195
  ] }),
196
- /* @__PURE__ */ e(S, { color: "text.secondary", variant: "body2", children: `${r.next_payment_date}: ${Ee(
196
+ /* @__PURE__ */ e(S, { color: "text.secondary", variant: "body2", children: `${r.next_payment_date}: ${Ie(
197
197
  t.predicted_occurs_on,
198
198
  Re.MONTH_DAY_YEAR
199
199
  )}` })
@@ -228,11 +228,11 @@ const ee = ({
228
228
  $,
229
229
  {
230
230
  color: "error",
231
- onClick: P,
231
+ onClick: G,
232
232
  startIcon: /* @__PURE__ */ e(me, {}),
233
233
  sx: { mx: 24, my: 16 },
234
234
  variant: "text",
235
- children: h ? r.delete_income_title : r.delete_expense_title
235
+ children: y ? 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 }),
@@ -244,20 +244,20 @@ const ee = ({
244
244
  isOpen: !!g && !!f,
245
245
  onClose: () => D(""),
246
246
  title: r.transaction_details_drawer_title,
247
- children: f && /* @__PURE__ */ e(ye, { transaction: f })
247
+ children: f && /* @__PURE__ */ e(pe, { transaction: f })
248
248
  }
249
249
  ),
250
250
  /* @__PURE__ */ e(
251
251
  Te,
252
252
  {
253
253
  copy: {
254
- title: h ? r.delete_income_title : r.delete_expense_title,
254
+ title: y ? 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: h ? r.delete_income_description : r.delete_expense_description })
260
+ children: /* @__PURE__ */ e(S, { children: y ? r.delete_income_description : r.delete_expense_description })
261
261
  }
262
262
  )
263
263
  ] });
@@ -268,7 +268,7 @@ const ee = ({
268
268
  const { recurring: r } = w(), [i, s] = u.useState(!1), l = u.useMemo(
269
269
  () => t.transactions.length === 0 ? "" : t.transactions[0].category_guid || "",
270
270
  [t]
271
- ), o = t.account?.institutionName || "", a = t.repeating_transaction_type === E.Income, m = Q(r, t, !0);
271
+ ), o = t.account?.institutionName || "", a = t.repeating_transaction_type === I.Income, m = Q(r, t, !0);
272
272
  return /* @__PURE__ */ c(ie, { disableGutters: !0, disablePadding: !0, children: [
273
273
  /* @__PURE__ */ c(ce, { onClick: () => {
274
274
  n(t), s(!0);
@@ -280,10 +280,10 @@ const ee = ({
280
280
  merchantGuid: t.merchant_guid
281
281
  }
282
282
  ) }),
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: [
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: [
285
285
  /* @__PURE__ */ e(S, { bold: !0, variant: "body1", children: t.description }),
286
- /* @__PURE__ */ c(p, { alignItems: "center", direction: "row", gap: 6, children: [
286
+ /* @__PURE__ */ c(h, { 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(p, { alignItems: "flex-end", sx: { width: "50%" }, children: [
298
+ /* @__PURE__ */ c(h, { 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
- p,
312
+ h,
313
313
  {
314
314
  direction: "row",
315
315
  sx: {
@@ -331,7 +331,7 @@ const ee = ({
331
331
  ariaLabelClose: r.close_drawer_aria,
332
332
  isOpen: i,
333
333
  onClose: () => s(!1),
334
- title: t.repeating_transaction_type === E.Income ? r.income_details : r.expense_details,
334
+ title: t.repeating_transaction_type === I.Income ? r.income_details : r.expense_details,
335
335
  children: /* @__PURE__ */ e(
336
336
  Fe,
337
337
  {
@@ -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(p, { sx: { bgcolor: n, gap: 16, pt: 8 }, children: [
354
+ return /* @__PURE__ */ c(h, { 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,25 +389,23 @@ const ee = ({
389
389
  transaction: a
390
390
  }) => {
391
391
  const { recurring: m } = w();
392
- return /* @__PURE__ */ c(p, { bgcolor: n, gap: 24, height: "100%", children: [
393
- /* @__PURE__ */ c(p, { children: [
392
+ return /* @__PURE__ */ c(h, { bgcolor: n, gap: 24, height: "100%", children: [
393
+ /* @__PURE__ */ c(h, { children: [
394
394
  /* @__PURE__ */ e(fe, { bgcolor: n, children: Ne(a.date) }),
395
395
  /* @__PURE__ */ e(Ce, { transaction: a })
396
396
  ] }),
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
- ] })
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
+ )
411
409
  ] });
412
410
  }
413
411
  ), 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(
@@ -416,7 +414,7 @@ const ee = ({
416
414
  label: t,
417
415
  onAddRecurringTransaction: r = () => null
418
416
  }) => {
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(
417
+ const { recurring: i } = w(), { filter: s, setFilter: l, transactions: o } = Z(), { addRepeatingTransaction: a } = M(), { user: m } = De(), [p, C] = u.useState(!1), [v, b] = u.useState(""), [g, D] = u.useState(d.EveryMonth), [f, y] = u.useState(1), [k, G] = u.useState(15), _ = u.useMemo(
420
418
  () => o.find((x) => x.guid === v),
421
419
  [v, o]
422
420
  ), ne = () => {
@@ -427,32 +425,32 @@ const ee = ({
427
425
  return;
428
426
  }
429
427
  r();
430
- const x = de(g, Oe(_.date)), I = {
428
+ const x = de(g, Oe(_.date)), E = {
431
429
  account_guid: _.account_guid,
432
430
  amount: _.amount,
433
431
  created_by: 0,
434
432
  // User
435
433
  merchant_guid: _.merchant_guid,
436
434
  description: _.payee || _.description || _.feed_description,
437
- predicted_occurs_on: Le(x, { representation: "date" }),
435
+ predicted_occurs_on: Le(x, "yyyy-MM-dd"),
438
436
  recurrence_day: f,
439
437
  recurrence_type: g,
440
- repeating_transaction_type: n ? E.Income : E.Bill,
438
+ repeating_transaction_type: n ? I.Income : I.Bill,
441
439
  second_recurrence_day: k,
442
440
  transaction_type: _.transaction_type,
443
441
  user_guid: m.guid
444
442
  };
445
- await a(I, _), j();
443
+ await a(E, _), j();
446
444
  }, j = () => {
447
445
  b(""), C(!1);
448
446
  };
449
447
  return /* @__PURE__ */ c(L, { children: [
450
- /* @__PURE__ */ e($, { onClick: ne, startIcon: /* @__PURE__ */ e(he, { size: 24 }), variant: "contained", children: t }),
448
+ /* @__PURE__ */ e($, { onClick: ne, startIcon: /* @__PURE__ */ e(ye, { size: 24 }), variant: "contained", children: t }),
451
449
  /* @__PURE__ */ e(
452
450
  O,
453
451
  {
454
452
  ariaLabelClose: i.close_drawer_aria,
455
- isOpen: y,
453
+ isOpen: p,
456
454
  onClose: () => C(!1),
457
455
  title: t,
458
456
  children: /* @__PURE__ */ e(
@@ -462,7 +460,7 @@ const ee = ({
462
460
  onSearch: (x) => {
463
461
  l({
464
462
  ...s,
465
- custom: (I) => n ? x ? ze(I, x) : W(I) : x ? Ye(I, x) : q(I)
463
+ custom: (E) => n ? x ? ze(E, x) : W(E) : x ? Ye(E, x) : q(E)
466
464
  });
467
465
  },
468
466
  onSelected: (x) => b(x)
@@ -483,9 +481,9 @@ const ee = ({
483
481
  {
484
482
  firstDay: f,
485
483
  frequency: g,
486
- onFirstDayChange: h,
484
+ onFirstDayChange: y,
487
485
  onFrequencyChange: D,
488
- onSecondDayChange: P,
486
+ onSecondDayChange: G,
489
487
  secondDay: k,
490
488
  transaction: _
491
489
  }
@@ -496,9 +494,9 @@ const ee = ({
496
494
  }
497
495
  ), Be = A(
498
496
  ({ zeroStateFor: n }) => {
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 }),
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 }),
502
500
  /* @__PURE__ */ e(U, { sx: { my: 8, fontWeight: 600 }, variant: "body1", children: s }),
503
501
  /* @__PURE__ */ e(U, { color: "text.secondary", sx: { mb: 32 }, variant: "subtitle2", children: l }),
504
502
  /* @__PURE__ */ e(
@@ -516,17 +514,17 @@ const ee = ({
516
514
  ] });
517
515
  }
518
516
  ), wt = A(({ forOverview: n = !1 }) => {
519
- const { recurring: t } = w(), { repeatingTransactions: r } = F(), { onEvent: i } = G(), s = (a) => {
517
+ const { recurring: t } = w(), { repeatingTransactions: r } = M(), { onEvent: i } = F(), s = (a) => {
520
518
  i(R.RECURRING_TRANSACTIONS_CLICK_INCOME, {
521
519
  repeating_transaction_guid: a.guid
522
520
  });
523
521
  }, l = () => {
524
522
  i(R.RECURRING_TRANSACTIONS_CLICK_ADD_INCOME);
525
523
  }, o = r.filter(
526
- (a) => a.repeating_transaction_type === E.Income && (a.transactions.length > 0 || a.recurrence_type === d.EveryYear)
524
+ (a) => a.repeating_transaction_type === I.Income && (a.transactions.length > 0 || a.recurrence_type === d.EveryYear)
527
525
  );
528
526
  return /* @__PURE__ */ e(L, { children: o.length !== 0 ? /* @__PURE__ */ c(
529
- p,
527
+ h,
530
528
  {
531
529
  sx: {
532
530
  height: n ? "calc(100vh - 62px)" : "calc(100vh - 109px)",
@@ -534,7 +532,7 @@ const ee = ({
534
532
  },
535
533
  children: [
536
534
  n && /* @__PURE__ */ e(S, { bold: !0, sx: { mb: 4, mt: 12, mx: 24 }, variant: "Small", children: t.income }),
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: [
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: [
538
536
  /* @__PURE__ */ e(Ge, { onClick: s, repeatingTransaction: a }),
539
537
  /* @__PURE__ */ e(
540
538
  T,
@@ -543,10 +541,10 @@ const ee = ({
543
541
  }
544
542
  )
545
543
  ] }, a.guid)) }) }),
546
- /* @__PURE__ */ c(M, { children: [
544
+ /* @__PURE__ */ c(P, { children: [
547
545
  /* @__PURE__ */ e(T, {}),
548
546
  /* @__PURE__ */ e(
549
- M,
547
+ P,
550
548
  {
551
549
  sx: {
552
550
  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-C41HAxM5.mjs";
9
+ import { W as w } from "./hooks-D6XlXHf4.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-C41HAxM5.mjs";
11
+ import { W as j } from "./hooks-D6XlXHf4.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-B5Yr0e_o.mjs";
7
- import { e as N, a as M, f as v } from "./ConnectDrawer-FyY0AWYQ.mjs";
6
+ import { a as b } from "./Accounts-IeEtQjzA.mjs";
7
+ import { e as N, a as M, f as v } from "./ConnectDrawer-DaFRU5st.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-C41HAxM5.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";
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 { D as M } from "./Dialog-BPTr3qHE.mjs";
22
- import { C as me } from "./CurrencyInput-xH-hqry9.mjs";
21
+ import { a as M } from "./Dialog-CWW597AF.mjs";
22
+ import { C as me } from "./CurrencyInput-DUsQbkXb.mjs";
23
23
  import { u as he } from "./useScreenSize-B6JyS_Lj.mjs";
24
- import { D as J } from "./Drawer-BEtCk82g.mjs";
24
+ import { D as J } from "./Drawer-kEE73B87.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-CNjP5cfR.mjs";
33
+ import { u as ge } from "./useInsightsEnabled-DBpwEq10.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-uobBrm_a.mjs";
6
- import { u as h, l as b } from "./hooks-C41HAxM5.mjs";
5
+ import { L as y } from "./ListItemAction-DHa3KJPs.mjs";
6
+ import { u as h, l as b } from "./hooks-D6XlXHf4.mjs";
7
7
  import { a as T, f as S } from "./NumberFormatting-Buh7u8Oi.mjs";
8
- import { C as f } from "./CurrencyInput-xH-hqry9.mjs";
8
+ import { C as f } from "./CurrencyInput-DUsQbkXb.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-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";
10
+ import { R as C, A as S, a as E, M as v } from "./ManageIncome-CMN_8uep.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";
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, {