@mx-cartographer/experiences 7.2.8 → 7.2.9-alpha-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 (125) 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-BcX5y6ja.mjs} +10 -10
  4. package/dist/{AccountDetailsHeader-vcy67tuH.mjs → AccountDetailsHeader-Cj5DDzkQ.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-CsCy7uaS.mjs → CurrencyInput-CBOkNlNP.mjs} +1 -1
  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-CjErZ73K.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-CDnYtQKZ.mjs} +3 -3
  25. package/dist/{ListItemAction-DHa3KJPs.mjs → ListItemAction-uobBrm_a.mjs} +10 -10
  26. package/dist/{ManageIncome-D3n1EWxe.mjs → ManageIncome-DB_lKOIy.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-Bfb3T7nN.mjs} +5 -5
  31. package/dist/{OriginalBalanceAction-CAaVbVMO.mjs → OriginalBalanceAction-BLiU-7Lf.mjs} +3 -3
  32. package/dist/{RecurringSettings-C28GrQcP.mjs → RecurringSettings-dJJxtLyU.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-CJvE4LNC.mjs} +11 -8
  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/drawer/Drawer.d.ts +3 -0
  51. package/dist/common/components/drawer/Footer.d.ts +17 -0
  52. package/dist/common/index.es.js +33 -33
  53. package/dist/common/types/Finstrong.d.ts +50 -0
  54. package/dist/common/types/index.d.ts +1 -1
  55. package/dist/common/types/localization/FinstrongCopy.d.ts +58 -1
  56. package/dist/dashboard/index.es.js +2 -2
  57. package/dist/debts/index.es.js +11 -11
  58. package/dist/{exportTransactionsToCSV-7bVS7KXf.mjs → exportTransactionsToCSV-hrNpJ77n.mjs} +2 -2
  59. package/dist/finstrong/api/FinstrongApi.d.ts +5 -0
  60. package/dist/finstrong/components/ConnectMoreAccountsCard.d.ts +3 -1
  61. package/dist/finstrong/components/CreditScore/CreditScoreContent.d.ts +4 -0
  62. package/dist/finstrong/components/CreditScore/CreditScoreHeader.d.ts +4 -0
  63. package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent.d.ts +3 -0
  64. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.d.ts +3 -0
  65. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar.d.ts +4 -0
  66. package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent.d.ts +3 -0
  67. package/dist/finstrong/components/KeyIndicatorsBorrowTab.d.ts +2 -2
  68. package/dist/finstrong/components/KeyIndicatorsDrawer.d.ts +4 -1
  69. package/dist/finstrong/components/KeyIndicatorsSaveTab.d.ts +2 -2
  70. package/dist/finstrong/components/KeyIndicatorsSpendTab.d.ts +2 -2
  71. package/dist/finstrong/components/KeyIndicatorsTabItem.d.ts +4 -3
  72. package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.d.ts +10 -0
  73. package/dist/finstrong/components/KeyIndicatorsTabsWidget.d.ts +2 -2
  74. package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator.d.ts +6 -0
  75. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent.d.ts +4 -0
  76. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky.d.ts +4 -0
  77. package/dist/finstrong/components/ProgressBar.d.ts +15 -0
  78. package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent.d.ts +3 -0
  79. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.d.ts +3 -0
  80. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar.d.ts +4 -0
  81. package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent.d.ts +3 -0
  82. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent.d.ts +3 -0
  83. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar.d.ts +4 -0
  84. package/dist/finstrong/components/StatusChip.d.ts +5 -0
  85. package/dist/finstrong/components/onboarding/Onboarding.d.ts +2 -0
  86. package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +11 -0
  87. package/dist/finstrong/components/onboarding/OnboardingBirthday.d.ts +8 -0
  88. package/dist/finstrong/components/onboarding/OnboardingCreditScore.d.ts +8 -0
  89. package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +14 -0
  90. package/dist/finstrong/components/onboarding/OnboardingStepsHeader.d.ts +8 -0
  91. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent.d.ts +4 -0
  92. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent.d.ts +4 -0
  93. package/dist/finstrong/components/shared/Accounts.d.ts +8 -0
  94. package/dist/finstrong/components/shared/CustomDoubleBarPlot.d.ts +25 -0
  95. package/dist/finstrong/components/shared/DoubleBarChart.d.ts +28 -0
  96. package/dist/finstrong/components/shared/LineGraph.d.ts +7 -0
  97. package/dist/finstrong/components/shared/TotalCard.d.ts +8 -0
  98. package/dist/finstrong/components/shared/TransactionList.d.ts +15 -0
  99. package/dist/finstrong/components/shared/Transactions.d.ts +11 -0
  100. package/dist/finstrong/constants/index.d.ts +8 -0
  101. package/dist/finstrong/index.es.js +2893 -1005
  102. package/dist/finstrong/stores/FinstrongStore.d.ts +9 -1
  103. package/dist/finstrong/util/finstrongUtils.d.ts +60 -1
  104. package/dist/goals/index.es.js +14 -14
  105. package/dist/help/index.es.js +3 -3
  106. package/dist/{hooks-D6XlXHf4.mjs → hooks-C41HAxM5.mjs} +3 -3
  107. package/dist/investments/index.es.js +4 -4
  108. package/dist/merchants/index.es.js +1 -1
  109. package/dist/microinsights/{components/insightsmicrowidget/InsightsMicroWidget.d.ts → InsightsMicroWidget.d.ts} +2 -2
  110. package/dist/microinsights/index.d.ts +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/Drawer-kEE73B87.mjs +0 -113
  122. package/dist/FinstrongStore-F2c607dj.mjs +0 -101
  123. package/dist/finstrong/utils/Finstrong.d.ts +0 -6
  124. /package/dist/microinsights/{components/MicroWidgetContainer.d.ts → MicroWidgetContainer.d.ts} +0 -0
  125. /package/dist/microinsights/{components/spinner/Spinner.d.ts → Spinner.d.ts} +0 -0
@@ -4,27 +4,27 @@ import { observer as T } from "mobx-react-lite";
4
4
  import { addMonths as Xe } from "date-fns/addMonths";
5
5
  import { startOfToday as $ } from "date-fns/startOfToday";
6
6
  import I from "@mui/material/Box";
7
- import D from "@mui/material/Divider";
7
+ import v from "@mui/material/Divider";
8
8
  import s from "@mui/material/Stack";
9
9
  import le from "@mui/material/styles/useTheme";
10
10
  import { Text as u, P as N, Icon as j, InstitutionLogo as ye, H1 as ue, H2 as Ye } from "@mxenabled/mxui";
11
- import { G as Qe, v as he, u as O, q as de, d as Ne, b as X, j as q, g as ke, p as He, h as Fe, a as Ve } from "../hooks-D6XlXHf4.mjs";
11
+ import { G as Qe, v as he, u as O, q as de, d as Ne, b as X, j as q, g as ke, p as He, h as Fe, a as Ve } from "../hooks-C41HAxM5.mjs";
12
12
  import { C as L } from "../CurrencyText-kyC1aseI.mjs";
13
13
  import { u as pe } from "../useScreenSize-B6JyS_Lj.mjs";
14
14
  import { L as oe } from "../Loader-DUaFpDGv.mjs";
15
15
  import { I as fe } from "../CashflowStore-D9Dpuz7X.mjs";
16
16
  import { C as jn } from "../CashflowStore-D9Dpuz7X.mjs";
17
17
  import { b as M } from "../Localization-2MODESHW.mjs";
18
- import { M as Ke } from "../MiniWidgetContainer-D0gfmbaF.mjs";
18
+ import { M as Ke } from "../MiniWidgetContainer-CmXpTylX.mjs";
19
19
  import { E as Je } from "../EmptyState-DA_lfRBv.mjs";
20
- import { R as Ze } from "../RecurringSettings-C28GrQcP.mjs";
20
+ import { R as Ze } from "../RecurringSettings-dJJxtLyU.mjs";
21
21
  import et from "@mui/material/Tabs";
22
22
  import Ce from "@mui/material/Tab";
23
23
  import { getUnixTime as U } from "date-fns/getUnixTime";
24
24
  import ne from "@mui/material/List";
25
25
  import ae from "@mui/material/ListItem";
26
- import { A as tt } from "../AccountListItem-DChcf3SN.mjs";
27
- import { f as Y, D as Q } from "../Dialog-CWW597AF.mjs";
26
+ import { A as tt } from "../AccountListItem-CPm3572e.mjs";
27
+ import { f as Y, a as Q } from "../Dialog-BPTr3qHE.mjs";
28
28
  import nt from "@mui/material/ListSubheader";
29
29
  import { f as te } from "../NumberFormatting-Buh7u8Oi.mjs";
30
30
  import { isAfter as We } from "date-fns/isAfter";
@@ -35,17 +35,17 @@ import { alpha as ot, keyframes as at } from "@mui/material/styles";
35
35
  import { DataGridPro as it } from "@mui/x-data-grid-pro";
36
36
  import { T as we } from "../TabContentContainer-j01JYR_7.mjs";
37
37
  import G from "@mui/material/Button";
38
- import { M as rt, S as st, i as ct, d as _e, c as lt } from "../ManageIncome-D3n1EWxe.mjs";
39
- import { D as Ge } from "../Drawer-kEE73B87.mjs";
38
+ import { M as rt, S as st, i as ct, d as _e, c as lt } from "../ManageIncome-DB_lKOIy.mjs";
39
+ import { D as Ge } from "../Drawer-BEtCk82g.mjs";
40
40
  import { formatISO as dt } from "date-fns/formatISO";
41
41
  import { fromUnixTime as Ie } from "date-fns/fromUnixTime";
42
42
  import { startOfMonth as mt } from "date-fns/startOfMonth";
43
43
  import { subDays as je } from "date-fns/subDays";
44
- import { S as ut, b as ht } from "../TransactionDetails-BWffqew4.mjs";
45
- import { F as pt, R as De, e as ve } from "../RecurringTransactions-ej39mgA6.mjs";
46
- import { h as ft } from "../DateUtil-BcuH7ErC.mjs";
44
+ import { S as ut, b as ht } from "../TransactionDetails-CJvE4LNC.mjs";
45
+ import { F as pt, R as ve, e as De } from "../RecurringTransactions-CngsRZ3K.mjs";
46
+ import { h as ft } from "../DateUtil-CBdcsyuk.mjs";
47
47
  import { endOfToday as gt } from "date-fns/endOfToday";
48
- import { W as Ae, A as Ee } from "../WidgetContainer-C88Ecu2W.mjs";
48
+ import { W as Ae, A as Ee } from "../WidgetContainer-GoNq8wwm.mjs";
49
49
  import { F as bt, A as B } from "../Fetch-87LIQbEA.mjs";
50
50
  const V = () => {
51
51
  if (!f.useContext(Qe))
@@ -76,7 +76,7 @@ const V = () => {
76
76
  setNextIncome: b,
77
77
  setSelectedCashAccounts: C,
78
78
  setUpcomingExpenses: _
79
- } = V(), { isDataLoaded: k, nextIncomeRecurrence: v, upcomingExpenses: F } = q();
79
+ } = V(), { isDataLoaded: k, nextIncomeRecurrence: D, upcomingExpenses: F } = q();
80
80
  f.useEffect(() => {
81
81
  p(i);
82
82
  }, [i]), f.useEffect(() => {
@@ -84,8 +84,8 @@ const V = () => {
84
84
  i.filter((w) => m.includes(w.guid))
85
85
  );
86
86
  }, [i, x]), f.useEffect(() => {
87
- v && b(v), _(F);
88
- }, [v, F]);
87
+ D && b(D), _(F);
88
+ }, [D, F]);
89
89
  const h = f.useMemo(
90
90
  () => i.filter((w) => m.includes(w.guid)).reduce((w, z) => w + (z?.balance || 0), 0),
91
91
  [m, F]
@@ -139,12 +139,12 @@ const V = () => {
139
139
  ) }),
140
140
  /* @__PURE__ */ e(L, { amount: g, bold: !0, variant: "XSmall" })
141
141
  ] }),
142
- /* @__PURE__ */ e(D, {}),
142
+ /* @__PURE__ */ e(v, {}),
143
143
  /* @__PURE__ */ o(s, { direction: "row", justifyContent: "space-between", p: 16, children: [
144
144
  /* @__PURE__ */ e(u, { variant: "Small", children: M(c.expenses_due, d.length) }),
145
145
  /* @__PURE__ */ e(L, { amount: S, bold: !0, symbol: "-", variant: "XSmall" })
146
146
  ] }),
147
- /* @__PURE__ */ e(D, {}),
147
+ /* @__PURE__ */ e(v, {}),
148
148
  /* @__PURE__ */ e(
149
149
  s,
150
150
  {
@@ -159,7 +159,7 @@ const V = () => {
159
159
  children: /* @__PURE__ */ e(ge, { remaining: A })
160
160
  }
161
161
  ),
162
- /* @__PURE__ */ e(D, {}),
162
+ /* @__PURE__ */ e(v, {}),
163
163
  /* @__PURE__ */ o(s, { direction: "row", justifyContent: "space-between", p: 16, children: [
164
164
  /* @__PURE__ */ e(u, { variant: "Small", children: c.next_paycheck }),
165
165
  /* @__PURE__ */ e(u, { bold: !0, variant: "XSmall", children: M(c.days, r) })
@@ -233,7 +233,7 @@ const _t = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
233
233
  }
234
234
  )
235
235
  ] }),
236
- /* @__PURE__ */ e(D, {})
236
+ /* @__PURE__ */ e(v, {})
237
237
  ] }), Te = T(_t), It = ({ total: a, type: n }) => {
238
238
  const { cashflow: t } = O();
239
239
  return /* @__PURE__ */ o(P, { children: [
@@ -258,9 +258,9 @@ const _t = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
258
258
  ]
259
259
  }
260
260
  ),
261
- /* @__PURE__ */ e(D, {})
261
+ /* @__PURE__ */ e(v, {})
262
262
  ] });
263
- }, Re = T(It), ce = (a, n) => (t) => t.accountGuid === a.guid && (Me(t.expectedDate) || We(t.expectedDate, n.start)) && $e(t.expectedDate, n.end), Dt = () => {
263
+ }, Re = T(It), ce = (a, n) => (t) => t.accountGuid === a.guid && (Me(t.expectedDate) || We(t.expectedDate, n.start)) && $e(t.expectedDate, n.end), vt = () => {
264
264
  const { availableWidth: a } = de(), { cashflow: n } = O(), { upcomingExpenses: t, upcomingIncome: i } = q(), { dateRange: g, selectedCashAccounts: x } = V();
265
265
  return /* @__PURE__ */ o(s, { children: [
266
266
  /* @__PURE__ */ o(s, { direction: a < 400 ? "column" : "row", justifyContent: "space-between", children: [
@@ -303,7 +303,7 @@ const _t = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
303
303
  }
304
304
  }
305
305
  ),
306
- /* @__PURE__ */ e(D, {}),
306
+ /* @__PURE__ */ e(v, {}),
307
307
  p.length > 0 && /* @__PURE__ */ e(ae, { children: /* @__PURE__ */ e(
308
308
  ne,
309
309
  {
@@ -332,7 +332,7 @@ const _t = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
332
332
  );
333
333
  }) })
334
334
  ] });
335
- }, vt = T(Dt), At = () => {
335
+ }, Dt = T(vt), At = () => {
336
336
  const { availableWidth: a } = de(), n = le(), { cashflow: t } = O(), { upcomingExpenses: i, upcomingIncome: g } = q(), { dateRange: x, selectedCashAccounts: m } = V(), p = [
337
337
  {
338
338
  field: "account",
@@ -515,7 +515,7 @@ const _t = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
515
515
  ]
516
516
  }
517
517
  ),
518
- /* @__PURE__ */ e(D, { sx: { width: "100%" } }),
518
+ /* @__PURE__ */ e(v, { sx: { width: "100%" } }),
519
519
  /* @__PURE__ */ o(
520
520
  s,
521
521
  {
@@ -530,7 +530,7 @@ const _t = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
530
530
  ]
531
531
  }
532
532
  ),
533
- /* @__PURE__ */ e(D, { sx: { width: "100%" } }),
533
+ /* @__PURE__ */ e(v, { sx: { width: "100%" } }),
534
534
  /* @__PURE__ */ o(
535
535
  s,
536
536
  {
@@ -545,7 +545,7 @@ const _t = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
545
545
  ]
546
546
  }
547
547
  ),
548
- /* @__PURE__ */ e(D, { sx: { width: "100%" } }),
548
+ /* @__PURE__ */ e(v, { sx: { width: "100%" } }),
549
549
  /* @__PURE__ */ e(
550
550
  s,
551
551
  {
@@ -612,7 +612,7 @@ const _t = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
612
612
  ),
613
613
  /* @__PURE__ */ e(I, { sx: { mb: 32 } }),
614
614
  /* @__PURE__ */ e(we, { index: 0, name: "cashflow", value: i, children: /* @__PURE__ */ e(I, { sx: { m: n ? 48 : 16 }, children: /* @__PURE__ */ e(Et, {}) }) }),
615
- /* @__PURE__ */ e(we, { index: 1, name: "cashflow", value: i, children: /* @__PURE__ */ e(I, { sx: { m: n ? 48 : 16 }, children: /* @__PURE__ */ e(vt, {}) }) })
615
+ /* @__PURE__ */ e(we, { index: 1, name: "cashflow", value: i, children: /* @__PURE__ */ e(I, { sx: { m: n ? 48 : 16 }, children: /* @__PURE__ */ e(Dt, {}) }) })
616
616
  ] });
617
617
  }, Rt = T(Tt), se = ({
618
618
  amount: a,
@@ -648,7 +648,7 @@ const _t = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
648
648
  ), C = f.useMemo(
649
649
  () => c.reduce((S, A) => S + (A?.balance || 0), 0),
650
650
  [c]
651
- ), _ = l.reduce((S, A) => S + A.amount, 0), k = b.reduce((S, A) => S + A.amount, 0), v = C - _ + k, F = i && t.length > 0, h = a < 725;
651
+ ), _ = l.reduce((S, A) => S + A.amount, 0), k = b.reduce((S, A) => S + A.amount, 0), D = C - _ + k, F = i && t.length > 0, h = a < 725;
652
652
  return /* @__PURE__ */ o(s, { sx: { mx: h ? 16 : 0, my: h ? 24 : 42 }, children: [
653
653
  /* @__PURE__ */ o(
654
654
  s,
@@ -668,7 +668,7 @@ const _t = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
668
668
  label: M(n.cash_and_bank, c.length)
669
669
  }
670
670
  ),
671
- h && /* @__PURE__ */ e(D, {}),
671
+ h && /* @__PURE__ */ e(v, {}),
672
672
  F ? /* @__PURE__ */ o(P, { children: [
673
673
  !h && /* @__PURE__ */ e(u, { sx: { fontSize: 25, lineHeight: 1 }, children: "+" }),
674
674
  /* @__PURE__ */ e(
@@ -689,7 +689,7 @@ const _t = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
689
689
  children: n.add_income
690
690
  }
691
691
  ),
692
- h ? /* @__PURE__ */ e(D, {}) : /* @__PURE__ */ e(u, { sx: { fontSize: 25, lineHeight: 1 }, children: "-" }),
692
+ h ? /* @__PURE__ */ e(v, {}) : /* @__PURE__ */ e(u, { sx: { fontSize: 25, lineHeight: 1 }, children: "-" }),
693
693
  /* @__PURE__ */ e(
694
694
  se,
695
695
  {
@@ -699,11 +699,11 @@ const _t = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
699
699
  symbol: h ? "-" : void 0
700
700
  }
701
701
  ),
702
- h ? /* @__PURE__ */ e(D, {}) : /* @__PURE__ */ e(u, { sx: { fontSize: 25, lineHeight: 1 }, children: "=" }),
702
+ h ? /* @__PURE__ */ e(v, {}) : /* @__PURE__ */ e(u, { sx: { fontSize: 25, lineHeight: 1 }, children: "=" }),
703
703
  /* @__PURE__ */ e(
704
704
  se,
705
705
  {
706
- amount: v,
706
+ amount: D,
707
707
  isMobile: h,
708
708
  isTotal: h,
709
709
  label: n.remaining_cash,
@@ -819,11 +819,11 @@ const _t = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
819
819
  transform: rotate(360deg);
820
820
  }
821
821
  `, $t = () => {
822
- const { addRepeatingTransaction: a, repeatingTransactions: n } = q(), { cashflow: t, common: i } = O(), { user: g } = He(), { completeOnboarding: x } = he(), { isDirty: m } = V(), { isMobile: p } = pe(), { isCopyLoaded: c, setDisplayedDate: r } = X(), { filter: d, setFilter: l, transactions: b } = Fe(), C = le(), [_, k] = ee(!0), [v, F] = f.useState(pt.EveryMonth), [h, S] = f.useState(1), [A, w] = f.useState(15), [z, re] = ee(!1), [K, J] = ee(1), [R, me] = ee([]), [Z, H] = ee(""), W = f.useMemo(
822
+ const { addRepeatingTransaction: a, repeatingTransactions: n } = q(), { cashflow: t, common: i } = O(), { user: g } = He(), { completeOnboarding: x } = he(), { isDirty: m } = V(), { isMobile: p } = pe(), { isCopyLoaded: c, setDisplayedDate: r } = X(), { filter: d, setFilter: l, transactions: b } = Fe(), C = le(), [_, k] = ee(!0), [D, F] = f.useState(pt.EveryMonth), [h, S] = f.useState(1), [A, w] = f.useState(15), [z, re] = ee(!1), [K, J] = ee(1), [R, me] = ee([]), [Z, H] = ee(""), W = f.useMemo(
823
823
  () => b.find((y) => y.guid === Z),
824
824
  [Z, b]
825
825
  ), Be = !!n.filter(
826
- (y) => y.repeating_transaction_type === De.Income
826
+ (y) => y.repeating_transaction_type === ve.Income
827
827
  ).length, be = async () => {
828
828
  J(2), r(
829
829
  // Beginning of the month, 90 days before today
@@ -834,7 +834,7 @@ const _t = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
834
834
  if (!(R.length < 1)) {
835
835
  re(!0);
836
836
  for (let y = 0; y < R.length; y++) {
837
- const E = R[y], xe = ve(v, Ie(E.date)), qe = {
837
+ const E = R[y], xe = De(D, Ie(E.date)), qe = {
838
838
  account_guid: E.account_guid,
839
839
  amount: E.amount,
840
840
  created_by: 0,
@@ -843,8 +843,8 @@ const _t = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
843
843
  description: E.feed_description || E.description,
844
844
  predicted_occurs_on: dt(xe, { representation: "date" }),
845
845
  recurrence_day: xe.getDay(),
846
- recurrence_type: v,
847
- repeating_transaction_type: De.Income,
846
+ recurrence_type: D,
847
+ repeating_transaction_type: ve.Income,
848
848
  second_recurrence_day: A,
849
849
  transaction_type: E.transaction_type,
850
850
  user_guid: g.guid
@@ -901,10 +901,10 @@ const _t = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
901
901
  U(y.nextDate || y.date)
902
902
  ) }),
903
903
  /* @__PURE__ */ e(ht, { transaction: y }),
904
- E !== R.length - 1 && /* @__PURE__ */ e(D, {})
904
+ E !== R.length - 1 && /* @__PURE__ */ e(v, {})
905
905
  ] }, y.guid)) }),
906
906
  /* @__PURE__ */ o(s, { alignItems: "center", direction: "row", children: [
907
- /* @__PURE__ */ e(D, { sx: { flexGrow: 1 } }),
907
+ /* @__PURE__ */ e(v, { sx: { flexGrow: 1 } }),
908
908
  /* @__PURE__ */ e(
909
909
  G,
910
910
  {
@@ -935,7 +935,7 @@ const _t = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
935
935
  {
936
936
  bgcolor: "background.paper",
937
937
  firstDay: h,
938
- frequency: v,
938
+ frequency: D,
939
939
  onFirstDayChange: S,
940
940
  onFrequencyChange: F,
941
941
  onSecondDayChange: w,
@@ -952,8 +952,8 @@ const _t = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
952
952
  const y = [...R];
953
953
  y.push({
954
954
  ...W,
955
- nextDate: ve(v, Ie(W.date)),
956
- frequency: v
955
+ nextDate: De(D, Ie(W.date)),
956
+ frequency: D
957
957
  }), me(y), H("");
958
958
  },
959
959
  variant: "contained",
@@ -1006,7 +1006,7 @@ const _t = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
1006
1006
  setSelectedAccounts: g,
1007
1007
  shouldDisableNextDate: x,
1008
1008
  shouldDisablePrevDate: m
1009
- } = X(), { onEvent: p } = ke(), { clientConfig: c } = Ve(), { visibleCashAccounts: r } = Ne(), { setFilter: d } = Fe(), { userProfile: l } = He(), { dateRange: b, setSelectedCashAccounts: C } = V(), { loadRepeatingTransactions: _, income: k, isDataLoaded: v, setDateRange: F } = q(), { cashflow: h, recurring: S } = O(), { isCopyLoaded: A, isInitialized: w } = X(), re = c?.master?.deep_link_params?.view === "manage_income", [K, J] = f.useState(re);
1009
+ } = X(), { onEvent: p } = ke(), { clientConfig: c } = Ve(), { visibleCashAccounts: r } = Ne(), { setFilter: d } = Fe(), { userProfile: l } = He(), { dateRange: b, setSelectedCashAccounts: C } = V(), { loadRepeatingTransactions: _, income: k, isDataLoaded: D, setDateRange: F } = q(), { cashflow: h, recurring: S } = O(), { isCopyLoaded: A, isInitialized: w } = X(), re = c?.master?.deep_link_params?.view === "manage_income", [K, J] = f.useState(re);
1010
1010
  f.useEffect(() => {
1011
1011
  w && (F(b), _().finally());
1012
1012
  }, [w]), f.useEffect(() => {
@@ -1020,7 +1020,7 @@ const _t = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
1020
1020
  accounts: Z.map((H) => H.guid)
1021
1021
  });
1022
1022
  }, [r, t]);
1023
- const R = v && !l?.has_completed_cash_flow_onboarding && !k.length;
1023
+ const R = D && !l?.has_completed_cash_flow_onboarding && !k.length;
1024
1024
  return !A || !w ? /* @__PURE__ */ e(oe, {}) : R ? /* @__PURE__ */ e(
1025
1025
  Ae,
1026
1026
  {
@@ -1,5 +1,5 @@
1
- import { b as o, C as a, a as t, u as C } from "../CategorySelectorDrawer-DUe4lH5-.mjs";
2
- import { C as g } from "../CategoryStore-BCcpI3oJ.mjs";
1
+ import { b as o, C as a, a as t, u as C } from "../CategorySelectorDrawer-ZO9N26Kx.mjs";
2
+ import { C as g } from "../CategoryStore-C1IfDPCE.mjs";
3
3
  export {
4
4
  o as CategoryRow,
5
5
  a as CategorySelector,
@@ -1,12 +1,14 @@
1
+ import { default as React } from 'react';
2
+ import { default as TextField } from '@mui/material/TextField';
1
3
  export type SelectOption = {
2
4
  id: number;
3
5
  label: string;
4
6
  };
5
- interface SelectProps {
7
+ interface SelectProps extends Omit<React.ComponentProps<typeof TextField>, 'onChange'> {
6
8
  label: string;
7
9
  onChange: (value: number) => void;
8
10
  options: SelectOption[];
9
11
  value: number;
10
12
  }
11
- export declare const Select: ({ label, onChange, options, value }: SelectProps) => import("react/jsx-runtime").JSX.Element;
13
+ export declare const Select: ({ label, onChange, options, value, ...props }: SelectProps) => import("react/jsx-runtime").JSX.Element;
12
14
  export {};
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
+ import { default as Button } from '@mui/material/Button';
2
3
  import { SxProps } from '@mui/material/styles';
3
4
  export type CopyObject = {
4
5
  close_drawer_aria: string;
@@ -6,6 +7,7 @@ export type CopyObject = {
6
7
  interface DrawerProps {
7
8
  ariaLabelClose?: string;
8
9
  className?: string;
10
+ footerStyles?: SxProps;
9
11
  hasSecondaryAction?: boolean;
10
12
  id?: string;
11
13
  isOpen: boolean;
@@ -13,6 +15,7 @@ interface DrawerProps {
13
15
  onClose: () => void;
14
16
  onPrimaryAction?: () => void;
15
17
  onSecondaryAction?: () => void;
18
+ primaryButtonProps?: React.ComponentProps<typeof Button>;
16
19
  primaryColor?: 'primary' | 'inherit' | 'secondary' | 'success' | 'error' | 'info' | 'warning';
17
20
  primaryText?: string;
18
21
  secondaryColor?: 'primary' | 'inherit' | 'secondary' | 'success' | 'error' | 'info' | 'warning';
@@ -0,0 +1,17 @@
1
+ import { default as Button } from '@mui/material/Button';
2
+ import { SxProps } from '@mui/material/styles';
3
+ type Color = 'primary' | 'inherit' | 'secondary' | 'success' | 'error' | 'info' | 'warning';
4
+ type FooterProps = {
5
+ footerStyles?: SxProps;
6
+ hasSecondaryAction?: boolean;
7
+ isPrimaryDisabled?: boolean;
8
+ onPrimaryAction?: () => void;
9
+ onSecondaryAction?: () => void;
10
+ primaryButtonProps?: React.ComponentProps<typeof Button>;
11
+ primaryColor?: Color;
12
+ primaryText?: string;
13
+ secondaryColor?: Color;
14
+ secondaryText?: string;
15
+ };
16
+ declare const Footer: ({ footerStyles, hasSecondaryAction, isPrimaryDisabled, onPrimaryAction, onSecondaryAction, primaryButtonProps, primaryColor, primaryText, secondaryColor, secondaryText, }: FooterProps) => import("react/jsx-runtime").JSX.Element;
17
+ export default Footer;
@@ -2,76 +2,76 @@ import { G as k } from "../useCombineEvents-BUDIR1ba.mjs";
2
2
  import { A as ss, a as rs, u as os, b as as } from "../useCombineEvents-BUDIR1ba.mjs";
3
3
  import { F as S, A as h } from "../Fetch-87LIQbEA.mjs";
4
4
  import { B as is } from "../BeatApi-DhJpgCLz.mjs";
5
- import { C as et } from "../CategoryStore-BCcpI3oJ.mjs";
6
- import { a as ds } from "../CategoryStore-BCcpI3oJ.mjs";
5
+ import { C as et } from "../CategoryStore-C1IfDPCE.mjs";
6
+ import { a as ds } from "../CategoryStore-C1IfDPCE.mjs";
7
7
  import { N as st } from "../NotificationStore-C6PH6MKm.mjs";
8
8
  import { a as us } from "../NotificationStore-C6PH6MKm.mjs";
9
- import { T as rt } from "../User-BQUxBeZV.mjs";
10
- import { C as gs, b as ps, L as ms, a as _s } from "../User-BQUxBeZV.mjs";
9
+ import { T as rt } from "../User-wXzDI4M8.mjs";
10
+ import { C as gs, b as ps, L as ms, a as _s } from "../User-wXzDI4M8.mjs";
11
11
  import { H as ot } from "../Help-DhcC-C05.mjs";
12
12
  import { E as ys } from "../Help-DhcC-C05.mjs";
13
- import { M as bs } from "../MicroWidgetContainer-DpeqN9n3.mjs";
14
- import { M as xs } from "../MiniWidgetContainer-D0gfmbaF.mjs";
15
- import { A as vs, D as Ds, W as As } from "../WidgetContainer-C88Ecu2W.mjs";
16
- import { k as Ts, a as Bs, e as Is, h as Ns, A as Ms, f as ks, l as $s, d as Rs, n as Ps, E as Os, j as Us, N as Ls, i as Gs, P as Hs, o as Fs, S as Ws } from "../ConnectDrawer-DaFRU5st.mjs";
17
- import { C as Ys } from "../CurrencyInput-CsCy7uaS.mjs";
13
+ import { M as bs } from "../MicroWidgetContainer-DEiRnYVa.mjs";
14
+ import { M as xs } from "../MiniWidgetContainer-CmXpTylX.mjs";
15
+ import { A as vs, D as Ds, W as As } from "../WidgetContainer-GoNq8wwm.mjs";
16
+ import { k as Ts, a as Bs, e as Is, h as Ns, A as Ms, f as ks, l as $s, d as Rs, n as Ps, E as Os, j as Us, N as Ls, i as Gs, P as Hs, o as Fs, S as Ws } from "../ConnectDrawer-FyY0AWYQ.mjs";
17
+ import { C as Ys } from "../CurrencyInput-CBOkNlNP.mjs";
18
18
  import { L as zs } from "../Loader-DUaFpDGv.mjs";
19
19
  import { R as js } from "../ResponsiveButton-DZFp78fJ.mjs";
20
20
  import { S as Vs } from "../SearchBox-B2_zLv8-.mjs";
21
- import { T as at } from "../TransactionStore-DxPLdF3B.mjs";
22
- import { S as Js } from "../TransactionStore-DxPLdF3B.mjs";
21
+ import { T as at } from "../TransactionStore-DvOEbOzL.mjs";
22
+ import { S as Js } from "../TransactionStore-DvOEbOzL.mjs";
23
23
  import { T as er } from "../TabContentContainer-j01JYR_7.mjs";
24
24
  import { I as rr } from "../IconBacking-B9oC6uL2.mjs";
25
- import { D as ar, F as nr, a as ir, c as cr, R as dr, S as lr } from "../RecurringTransactions-ej39mgA6.mjs";
25
+ import { D as ar, F as nr, a as ir, c as cr, R as dr, S as lr } from "../RecurringTransactions-CngsRZ3K.mjs";
26
26
  import { C as nt } from "../CashflowStore-D9Dpuz7X.mjs";
27
27
  import { I as hr } from "../CashflowStore-D9Dpuz7X.mjs";
28
- import { d as it } from "../GoalStore-TD0BfzWX.mjs";
29
- import { C as pr, G as mr, M as _r, T as fr } from "../GoalStore-TD0BfzWX.mjs";
28
+ import { d as it } from "../GoalStore-deVLYr7n.mjs";
29
+ import { C as pr, G as mr, M as _r, T as fr } from "../GoalStore-deVLYr7n.mjs";
30
30
  import { C as Sr } from "../CurrencyText-kyC1aseI.mjs";
31
31
  import { E as wr } from "../EmptyState-DA_lfRBv.mjs";
32
- import { L as Cr } from "../ListItemAction-DHa3KJPs.mjs";
33
- import { T as ct } from "../TrendsStore-DCYbpXPO.mjs";
34
- import { L as Dr, S as Ar } from "../TrendsStore-DCYbpXPO.mjs";
32
+ import { L as Cr } from "../ListItemAction-uobBrm_a.mjs";
33
+ import { T as ct } from "../TrendsStore-BVNxGsE4.mjs";
34
+ import { L as Dr, S as Ar } from "../TrendsStore-BVNxGsE4.mjs";
35
35
  import { A as Tr, B as Br, I as Ir, N as Nr, T as Mr, a as kr } from "../ToggleListItem-r0Kx56wF.mjs";
36
36
  import { jsxs as y, jsx as n } from "react/jsx-runtime";
37
37
  import dt, { useRef as lt, useEffect as ut } from "react";
38
38
  import { css as x, keyframes as ht } from "@mxenabled/cssinjs";
39
39
  import { useTokens as C, Text as B } from "@mxenabled/mxui";
40
40
  import { D as Rr } from "../Donut-1UMNcG67.mjs";
41
- import { L as Or } from "../LineChart-D4GI7nVh.mjs";
41
+ import { L as Or } from "../LineChart-CDnYtQKZ.mjs";
42
42
  import { S as Lr } from "../StatusBar-BK_uYHAB.mjs";
43
- import { D as Hr, a as Fr, O as Wr, b as qr, f as Yr } from "../Dialog-CWW597AF.mjs";
43
+ import { a as Hr, D as Fr, O as Wr, b as qr, f as Yr } from "../Dialog-BPTr3qHE.mjs";
44
44
  import { D as gt, a as pt } from "../SingleSegmentDonut-BgbLgwHi.mjs";
45
45
  import { S as zr } from "../SingleSegmentDonut-BgbLgwHi.mjs";
46
- import { D as jr } from "../Drawer-kEE73B87.mjs";
47
- import { I as Vr, P as Zr, S as Jr } from "../Account-B-CuHOYf.mjs";
46
+ import { D as jr } from "../Drawer-BEtCk82g.mjs";
47
+ import { I as Vr, P as Zr, S as Jr } from "../Account-CBQnFO6w.mjs";
48
48
  import { b as E } from "../Category-CevNQ03n.mjs";
49
49
  import { C as eo, c as so, a as ro, P as oo } from "../Category-CevNQ03n.mjs";
50
50
  import { C as no, f as io, b as co, a as lo, g as uo, i as ho } from "../NumberFormatting-Buh7u8Oi.mjs";
51
- import { R as mt } from "../RecurringTransactionsStore-DrzS1LmF.mjs";
52
- import { S as po, T as mo } from "../RecurringTransactionsStore-DrzS1LmF.mjs";
53
- import { G as fo, C as yo, D as So, W as bo, d as wo, a as xo, i as Co, v as vo, m as Do, y as Ao, z as Eo, g as To, x as Bo, u as Io, f as No, b as Mo, l as ko, A as $o, t as Ro, n as Po, c as Oo, r as Uo, o as Lo, B as Go, j as Ho, s as Fo, h as Wo, w as qo, p as Yo, q as Qo } from "../hooks-D6XlXHf4.mjs";
54
- import { u as Xo } from "../useAccountDisplayName-BcRqfar8.mjs";
55
- import { u as Ko } from "../useInsightsEnabled-DBpwEq10.mjs";
51
+ import { R as mt } from "../RecurringTransactionsStore-C4RVULF8.mjs";
52
+ import { S as po, T as mo } from "../RecurringTransactionsStore-C4RVULF8.mjs";
53
+ import { G as fo, C as yo, D as So, W as bo, d as wo, a as xo, i as Co, v as vo, m as Do, x as Ao, y as Eo, g as To, z as Bo, u as Io, f as No, b as Mo, l as ko, A as $o, t as Ro, n as Po, c as Oo, r as Uo, o as Lo, B as Go, j as Ho, s as Fo, h as Wo, w as qo, p as Yo, q as Qo } from "../hooks-C41HAxM5.mjs";
54
+ import { u as Xo } from "../useAccountDisplayName-B5O6hQ1B.mjs";
55
+ import { u as Ko } from "../useInsightsEnabled-CNjP5cfR.mjs";
56
56
  import { u as Zo } from "../useScreenSize-B6JyS_Lj.mjs";
57
57
  import { makeAutoObservable as f, runInAction as p, reaction as _t } from "mobx";
58
- import { a as ft } from "../AccountStore-D6KiXA1B.mjs";
58
+ import { a as ft } from "../AccountStore-DttEGFeu.mjs";
59
59
  import yt from "posthog-js";
60
60
  import { B as St } from "../BeatStore-IBnXd4YK.mjs";
61
61
  import { endOfMonth as Z } from "date-fns/endOfMonth";
62
62
  import { startOfMonth as J } from "date-fns/startOfMonth";
63
63
  import { startOfToday as U } from "date-fns/startOfToday";
64
- import { f as bt, a as wt, b as L } from "../BudgetUtil-B2ZXyw-g.mjs";
65
- import { g as ta, e as ea, c as sa, d as ra, i as oa } from "../BudgetUtil-B2ZXyw-g.mjs";
66
- import { a as xt } from "../DebtsStore-z3VARSO6.mjs";
67
- import { a as Ct } from "../FinstrongStore-F2c607dj.mjs";
64
+ import { f as bt, a as wt, b as L } from "../BudgetUtil-wjoNuj7B.mjs";
65
+ import { g as ta, e as ea, c as sa, d as ra, i as oa } from "../BudgetUtil-wjoNuj7B.mjs";
66
+ import { a as xt } from "../DebtsStore-DB5U2WMC.mjs";
67
+ import { F as Ct } from "../FinstrongStore-CjErZ73K.mjs";
68
68
  import { A as vt, m as Dt, a as At, b as Et } from "../InvestmentUtil-jOyOgzIB.mjs";
69
69
  import { M as Tt } from "../MerchantStore-DrFvsUyy.mjs";
70
- import { N as Bt } from "../NetWorthStore-B_1oulrt.mjs";
70
+ import { N as Bt } from "../NetWorthStore-CUz0bwVm.mjs";
71
71
  import { a as It } from "../SettingsStore-BcgS_Ohv.mjs";
72
72
  import { addMonths as Nt } from "date-fns/addMonths";
73
73
  import { getMonth as T } from "date-fns/getMonth";
74
- import { i as na } from "../DateUtil-BcuH7ErC.mjs";
74
+ import { i as na } from "../DateUtil-CBdcsyuk.mjs";
75
75
  import { b as ca, a as da, g as la } from "../Localization-2MODESHW.mjs";
76
76
  import { alpha as Mt, lighten as G, darken as H } from "@mui/material";
77
77
  var kt = /* @__PURE__ */ ((s) => (s[s.Unknown = 0] = "Unknown", s[s.EveryWeek = 1] = "EveryWeek", s[s.EveryOtherWeek = 2] = "EveryOtherWeek", s[s.EveryMonth = 3] = "EveryMonth", s[s.EveryOtherMonth = 4] = "EveryOtherMonth", s[s.EveryQuarter = 5] = "EveryQuarter", s[s.EveryOtherQuarter = 6] = "EveryOtherQuarter", s[s.EveryYear = 7] = "EveryYear", s))(kt || {});
@@ -1,4 +1,8 @@
1
1
  import { CardStatus } from '../constants/FinStrong';
2
+ import { Transaction } from './Transaction';
3
+ export interface SpendingFeeTransaction {
4
+ transaction: Transaction;
5
+ }
2
6
  export interface HealthScore {
3
7
  created_at: string;
4
8
  debt_score: number;
@@ -31,6 +35,26 @@ export interface MonthlyHealthScoreAverage {
31
35
  export interface MonthlyHealthScore {
32
36
  monthly_health_score_average: MonthlyHealthScoreAverage[];
33
37
  }
38
+ export interface MonthlyHealthScoreItem {
39
+ monthly_health_score_average: MonthlyHealthScoreAverage;
40
+ }
41
+ export interface MonthlySummaries {
42
+ user_guid: string;
43
+ year: number;
44
+ month: number;
45
+ standard_spend: number;
46
+ debt_spend: number;
47
+ income: number;
48
+ available_cash: number;
49
+ debt_balance: number;
50
+ credit_score: number;
51
+ }
52
+ export interface DebtSpend {
53
+ transaction: Transaction;
54
+ }
55
+ export interface Income {
56
+ transaction: Transaction;
57
+ }
34
58
  export interface HealthScoreReport {
35
59
  credit_score_change_effect: number;
36
60
  debt_score_point_difference: number | null;
@@ -69,3 +93,29 @@ export interface HealthScoreReport {
69
93
  user_guid: string;
70
94
  }
71
95
  export type KeyIndicatorsCardState = (typeof CardStatus)[keyof typeof CardStatus];
96
+ export declare enum OnboardingSteps {
97
+ ConnectAccounts = 1,
98
+ MonthlyIncome = 2,
99
+ Birthday = 3,
100
+ CreditScore = 4
101
+ }
102
+ export declare enum DurationUnit {
103
+ Months = 1,
104
+ Years = 2,
105
+ Days = 3
106
+ }
107
+ export declare enum ContributeFrequency {
108
+ Monthly = 1,
109
+ BiWeekly = 2,
110
+ Weekly = 3,
111
+ Daily = 4
112
+ }
113
+ export interface SpendTransactions {
114
+ transaction: Transaction;
115
+ }
116
+ export interface AllTransactions {
117
+ income: Income[];
118
+ debtSpend: DebtSpend[];
119
+ spendingFee: Transaction[];
120
+ spend: SpendTransactions[];
121
+ }
@@ -16,7 +16,7 @@ export { GoalType, MetaType, TrackType } from './Goal';
16
16
  export type { Goal, MonthlyCashFlowProfile, RetirementGoalAccount } from './Goal';
17
17
  export type { Debt } from './Debt';
18
18
  export type { GlobalErrorHandler, GlobalEventHandler } from './Handlers';
19
- export type { HealthScore, HealthScoreReport, MonthlyHealthScore } from './Finstrong';
19
+ export type { DebtSpend, HealthScore, HealthScoreReport, Income, MonthlyHealthScore, MonthlySummaries, SpendTransactions, SpendingFeeTransaction, AllTransactions, } from './Finstrong';
20
20
  export type { HelpAlertProps, HelpCategory, HelpContentProps, HelpTopic, HelpType, ImageContentProps, InstitutionData, NoImageContentProps, SectionProps, SelectedTopic, Ticket, } from './Help';
21
21
  export type { Institution } from './Institution';
22
22
  export * from './localization';