@mx-cartographer/experiences 7.2.0 → 7.2.1-alpha.san1

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-8IUM_CLv.mjs → Account-CpRTVIHg.mjs} +1 -1
  3. package/dist/{AccountDetailsContent-CuZSSAEc.mjs → AccountDetailsContent-JfTu_amk.mjs} +10 -10
  4. package/dist/{AccountDetailsHeader-BZBsIKdF.mjs → AccountDetailsHeader-D5XdFMtT.mjs} +8 -8
  5. package/dist/{AccountFields-BD_0GT68.mjs → AccountFields-DOLjKu5l.mjs} +5 -5
  6. package/dist/{AccountListItem-CllIBCao.mjs → AccountListItem-CTT5m4qx.mjs} +4 -4
  7. package/dist/{AccountStore-BL0FE1QL.mjs → AccountStore-CKHyaGMR.mjs} +46 -29
  8. package/dist/{Accounts-Bvc9TJaO.mjs → Accounts-D0BmvNxn.mjs} +1 -1
  9. package/dist/{BudgetUtil-psfk-Amb.mjs → BudgetUtil-D2Jcp-E-.mjs} +1 -1
  10. package/dist/{CategorySelectorDrawer-BmenK5bu.mjs → CategorySelectorDrawer-DomNyubP.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-CPTXh70j.mjs → ConnectDrawer--gJHyp-S.mjs} +2 -2
  14. package/dist/{ConnectionsDrawer-Dkb4vBmt.mjs → ConnectionsDrawer-DabiwV9L.mjs} +3 -3
  15. package/dist/{CurrencyInput-C4xNRL2W.mjs → CurrencyInput-CC5cwVit.mjs} +1 -1
  16. package/dist/{DateUtil-BcuH7ErC.mjs → DateUtil-CBdcsyuk.mjs} +3 -3
  17. package/dist/{DebtsStore-D4grpB4m.mjs → DebtsStore-9aR2sTJQ.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-CBJAfyAw.mjs → ExportCsvAction-Um-CDa4C.mjs} +3 -3
  21. package/dist/FinstrongStore-CjErZ73K.mjs +432 -0
  22. package/dist/{GoalStore-B5MZzPLZ.mjs → GoalStore-CiBKZvTg.mjs} +3 -3
  23. package/dist/{Help-CzBAsKA2.mjs → Help-BZ8pIkkR.mjs} +2 -2
  24. package/dist/{LineChart-B35qvXik.mjs → LineChart-ClUGPuYX.mjs} +3 -3
  25. package/dist/{ListItemAction-DSrYDGAP.mjs → ListItemAction-DGaxy7oz.mjs} +10 -10
  26. package/dist/{ManageIncome-DUuT-yMV.mjs → ManageIncome-BaNgfwr5.mjs} +34 -32
  27. package/dist/{MicroWidgetContainer-C4QQHfD7.mjs → MicroWidgetContainer-C3iV1FBR.mjs} +1 -1
  28. package/dist/{MiniWidgetContainer-DTQdRK-3.mjs → MiniWidgetContainer-LtXXgZ6H.mjs} +1 -1
  29. package/dist/{NetWorthStore-Do1Gk8Te.mjs → NetWorthStore-MnpP5KEc.mjs} +2 -2
  30. package/dist/{NotificationSettings-BuShgjn6.mjs → NotificationSettings-Ckx8tgQj.mjs} +5 -5
  31. package/dist/{OriginalBalanceAction-BsxcvNEF.mjs → OriginalBalanceAction-CGZDUsCc.mjs} +3 -3
  32. package/dist/{RecurringSettings-BVOt46uV.mjs → RecurringSettings-DE4T4yQy.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-D24CEkL3.mjs +170 -0
  37. package/dist/{TransactionDetails-_cXLXTd3.mjs → TransactionDetails-DRlrltGq.mjs} +11 -8
  38. package/dist/{TransactionStore-B-Tq_YFE.mjs → TransactionStore-BHTdiLRW.mjs} +90 -86
  39. package/dist/{TrendsStore-ZZ8X36lJ.mjs → TrendsStore-DL3Vuh71.mjs} +14 -14
  40. package/dist/{User-DaJAQ09j.mjs → User-BthIKO4w.mjs} +2 -2
  41. package/dist/{WidgetContainer-DtPnPQZY.mjs → WidgetContainer-DJA1bxLn.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 +3 -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 +11 -11
  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/Widgets.d.ts +2 -0
  55. package/dist/common/types/index.d.ts +1 -1
  56. package/dist/common/types/localization/FinstrongCopy.d.ts +58 -1
  57. package/dist/dashboard/index.es.js +2 -2
  58. package/dist/debts/index.es.js +11 -11
  59. package/dist/{exportTransactionsToCSV-D8TTNrrE.mjs → exportTransactionsToCSV-XqdHNe2V.mjs} +2 -2
  60. package/dist/finstrong/FinstrongWidget.d.ts +1 -1
  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 +5 -2
  73. package/dist/finstrong/components/KeyIndicatorsTabItem.d.ts +6 -3
  74. package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.d.ts +12 -0
  75. package/dist/finstrong/components/KeyIndicatorsTabsWidget.d.ts +5 -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 +6 -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 +2903 -1005
  104. package/dist/finstrong/stores/FinstrongStore.d.ts +9 -1
  105. package/dist/finstrong/util/finstrongUtils.d.ts +60 -1
  106. package/dist/goals/index.es.js +14 -14
  107. package/dist/help/index.es.js +3 -3
  108. package/dist/{hooks-CE2TKk4a.mjs → hooks-CBST3rkm.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/transactions/stores/TransactionStore.d.ts +2 -2
  118. package/dist/trends/index.es.js +15 -15
  119. package/dist/{useAccountDisplayName-BXGkZN5B.mjs → useAccountDisplayName-DH1CuQ9R.mjs} +2 -2
  120. package/dist/{useInsightsEnabled-DSnpkUq0.mjs → useInsightsEnabled-jdvS1ppf.mjs} +1 -1
  121. package/package.json +1 -1
  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
@@ -8,17 +8,17 @@ import { u as K } from "./useScreenSize-B6JyS_Lj.mjs";
8
8
  import { u as _t } from "./useDimensions-27p2evRx.mjs";
9
9
  import { observer as Mt } from "mobx-react-lite";
10
10
  import Tt from "@mui/material/Card";
11
- import Dt from "@mui/material/CardContent";
11
+ import At from "@mui/material/CardContent";
12
12
  import P from "@mui/material/Divider";
13
13
  import X from "@mui/material/Grid";
14
- import { CategoryIcon as At, Text as S } from "@mxenabled/mxui";
15
- import { u as Lt, m as Q } from "./hooks-CE2TKk4a.mjs";
14
+ import { CategoryIcon as Dt, Text as S } from "@mxenabled/mxui";
15
+ import { u as Lt, m as Q } from "./hooks-CBST3rkm.mjs";
16
16
  import { b as Rt } from "./Localization-2MODESHW.mjs";
17
17
  import { C as O } from "./CurrencyText-kyC1aseI.mjs";
18
18
  import { useTheme as wt, Card as Ht, CardContent as It, Box as kt } from "@mui/material";
19
- import { f as R, D as w } from "./Dialog-CWW597AF.mjs";
19
+ import { f as R, a as w } from "./Dialog-BPTr3qHE.mjs";
20
20
  import Et from "@mui/material/Button";
21
- import { C as A, b as Gt, c as Nt } from "./Category-CevNQ03n.mjs";
21
+ import { C as D, b as Gt, c as Nt } from "./Category-CevNQ03n.mjs";
22
22
  import { f as V } from "./NumberFormatting-Buh7u8Oi.mjs";
23
23
  import Bt from "@mui/material/ListItem";
24
24
  import Ot from "@mui/material/ListItemButton";
@@ -38,7 +38,7 @@ const U = ({ categoryGuid: r, topLevelCategoryGuid: e }) => {
38
38
  "aria-label": Rt(o.category_icon_label_aria, n),
39
39
  mb: 4,
40
40
  role: "img",
41
- children: /* @__PURE__ */ s(At, { categoryGuid: e })
41
+ children: /* @__PURE__ */ s(Dt, { categoryGuid: e })
42
42
  }
43
43
  ),
44
44
  /* @__PURE__ */ s(S, { variant: "Body", children: n })
@@ -71,7 +71,7 @@ const U = ({ categoryGuid: r, topLevelCategoryGuid: e }) => {
71
71
  width: 250,
72
72
  pointerEvents: "none"
73
73
  },
74
- children: /* @__PURE__ */ f(Dt, { children: [
74
+ children: /* @__PURE__ */ f(At, { children: [
75
75
  /* @__PURE__ */ f(L, { alignItems: "center", display: "flex", flexDirection: "column", children: [
76
76
  /* @__PURE__ */ s(U, { categoryGuid: r, topLevelCategoryGuid: e }),
77
77
  /* @__PURE__ */ s(S, { variant: "Small", children: `${o.length}-month total` }),
@@ -127,7 +127,7 @@ const U = ({ categoryGuid: r, topLevelCategoryGuid: e }) => {
127
127
  ref: a,
128
128
  sx: r,
129
129
  children: e.map(({ guid: g, top_level_guid: C }) => {
130
- const d = o === g, u = A[g], x = A[C], y = u ?? x ?? A.default, b = y + "33";
130
+ const d = o === g, u = D[g], x = D[C], y = u ?? x ?? D.default, b = y + "33";
131
131
  return /* @__PURE__ */ f(
132
132
  Et,
133
133
  {
@@ -186,7 +186,7 @@ const U = ({ categoryGuid: r, topLevelCategoryGuid: e }) => {
186
186
  hoveredAreaData: null,
187
187
  isAreaHovered: !1,
188
188
  cursorPos: { x: 0, y: 0 }
189
- }), { hoveredSeriesId: D, hoveredAreaData: $, isAreaHovered: tt, cursorPos: I } = Z, W = tt && D && $, j = !W, G = [...n, ...i], et = G[0]?.dataset.length ?? 0, N = G.flatMap((t) => t.dataset.map((c) => c.x)), ot = G.flatMap((t) => t.dataset.map((c) => c.y)), rt = n[0]?.dataset?.map(
189
+ }), { hoveredSeriesId: A, hoveredAreaData: $, isAreaHovered: tt, cursorPos: I } = Z, W = tt && A && $, j = !W, G = [...n, ...i], et = G[0]?.dataset.length ?? 0, N = G.flatMap((t) => t.dataset.map((c) => c.x)), ot = G.flatMap((t) => t.dataset.map((c) => c.y)), rt = n[0]?.dataset?.map(
190
190
  (t, c) => n.reduce((m, _) => m + _.dataset[c]?.y || 0, 0)
191
191
  ) ?? [0], at = Math.max(...rt), nt = Math.max(
192
192
  ...i.flatMap((t) => t.dataset.map((c) => c.y))
@@ -232,7 +232,7 @@ const U = ({ categoryGuid: r, topLevelCategoryGuid: e }) => {
232
232
  }, dt = (t) => {
233
233
  a?.(t ?? "");
234
234
  }, ut = () => {
235
- const t = E(String(D)).guid;
235
+ const t = E(String(A)).guid;
236
236
  t && a?.(t);
237
237
  }, mt = (t) => {
238
238
  const c = String(t?.seriesId), m = E(c).guid, _ = Y.find((B) => B.id === c), pt = _ && t?.dataIndex !== void 0, yt = _ && t?.dataIndex === void 0;
@@ -331,10 +331,10 @@ const U = ({ categoryGuid: r, topLevelCategoryGuid: e }) => {
331
331
  }
332
332
  },
333
333
  slots: {
334
- itemContent: (t) => j && D ? /* @__PURE__ */ s(
334
+ itemContent: (t) => j && A ? /* @__PURE__ */ s(
335
335
  Vt,
336
336
  {
337
- categoryGuids: E(D),
337
+ categoryGuids: E(A),
338
338
  xData: N,
339
339
  ...t
340
340
  }
@@ -375,7 +375,7 @@ const U = ({ categoryGuid: r, topLevelCategoryGuid: e }) => {
375
375
  W && /* @__PURE__ */ s(
376
376
  Xt,
377
377
  {
378
- categoryGuids: E(D),
378
+ categoryGuids: E(A),
379
379
  chartContainerRef: x,
380
380
  cursorPosition: I,
381
381
  hoveredAreaData: $.map((t) => ({
@@ -444,7 +444,7 @@ const U = ({ categoryGuid: r, topLevelCategoryGuid: e }) => {
444
444
  children: g
445
445
  }
446
446
  ) });
447
- }, qt = (r) => A[r] ?? A.default, Jt = (r) => Nt[r];
447
+ }, qt = (r) => D[r] ?? D.default, Jt = (r) => Nt[r];
448
448
  function Kt(r, e) {
449
449
  const o = [], a = new Date(r);
450
450
  for (; a <= e; ) {
@@ -16,13 +16,13 @@ import E from "@mui/material/Button";
16
16
  import Y from "@mui/material/Paper";
17
17
  import { useTokens as v, H2 as z, Text as G } from "@mxenabled/mxui";
18
18
  import { ChevronLeft as X, ChevronRight as Z } from "@mxenabled/mx-icons";
19
- import { f as q, D as J } from "./Dialog-CWW597AF.mjs";
19
+ import { f as q, a as J } from "./Dialog-BPTr3qHE.mjs";
20
20
  import { isSameDay as T } from "date-fns/isSameDay";
21
21
  import { isWithinInterval as Q } from "date-fns/isWithinInterval";
22
22
  import nn from "@mui/material/styles/useTheme";
23
23
  import k from "@mui/material/ListItem";
24
24
  import an from "@mui/material/ListItemButton";
25
- import { g as tn } from "./hooks-CE2TKk4a.mjs";
25
+ import { g as tn } from "./hooks-CBST3rkm.mjs";
26
26
  var on = /* @__PURE__ */ ((n) => (n[n.CREDIT = 1] = "CREDIT", n[n.DEBIT = 2] = "DEBIT", n))(on || {}), en = /* @__PURE__ */ ((n) => (n[n.POSTED = 1] = "POSTED", n[n.PENDING = 2] = "PENDING", n))(en || {});
27
27
  const rn = ({ copy: n, date: a, onNextClick: o, onPreviousClick: r }) => {
28
28
  const c = v(), l = cn(c);
@@ -13,7 +13,7 @@ import { ChevronLeft as le } from "@mxenabled/mx-icons";
13
13
  import { Icon as T, Text as X, DateRangePicker as J, H1 as Ce, H3 as de } from "@mxenabled/mxui";
14
14
  import { u as Te } from "./useDimensions-27p2evRx.mjs";
15
15
  import { L as Ie } from "./Loader-DUaFpDGv.mjs";
16
- import { g as Ee, b as Re, u as ge, a as Ae, W as Se } from "./hooks-CE2TKk4a.mjs";
16
+ import { g as Ee, b as Re, u as ge, a as Ae, W as Se } from "./hooks-CBST3rkm.mjs";
17
17
  import { u as ie } from "./useScreenSize-B6JyS_Lj.mjs";
18
18
  import { addMonths as Q } from "date-fns/addMonths";
19
19
  import { addDays as ue } from "date-fns/addDays";
@@ -35,9 +35,9 @@ import be from "@mui/material/Tabs";
35
35
  import we from "@mui/material/ToggleButton";
36
36
  import Ke from "@mui/material/ToggleButtonGroup";
37
37
  import Ge from "@mui/material/styles/useTheme";
38
- import { f as K, D as G, a as Me } from "./Dialog-CWW597AF.mjs";
39
- import { D as We } from "./Drawer-kEE73B87.mjs";
40
- import { k as ye, l as xe } from "./ConnectDrawer-CPTXh70j.mjs";
38
+ import { f as K, a as G, D as Me } from "./Dialog-BPTr3qHE.mjs";
39
+ import { D as We } from "./Drawer-BEtCk82g.mjs";
40
+ import { k as ye, l as xe } from "./ConnectDrawer--gJHyp-S.mjs";
41
41
  const ve = {
42
42
  ACCOUNTS_CLICK_ACCOUNT: "accounts_widget_click_account",
43
43
  ACCOUNTS_CLICK_CONNECT: "accounts_widget_click_connect_accounts",
@@ -0,0 +1,10 @@
1
+ import { Account, AccountType } from '../../common';
2
+ interface AccountsListCompactProps {
3
+ onClick?: (account: Account) => void;
4
+ shouldShowBalance?: boolean;
5
+ loadAccounts?: AccountType[];
6
+ }
7
+ declare const _default: (({ onClick, shouldShowBalance, loadAccounts, }: AccountsListCompactProps) => import("react/jsx-runtime").JSX.Element | null) & {
8
+ displayName: string;
9
+ };
10
+ export default _default;
@@ -7,25 +7,25 @@ import E from "@mui/material/List";
7
7
  import O from "@mui/material/ListSubheader";
8
8
  import _ from "@mui/system/Stack";
9
9
  import { Text as v } from "@mxenabled/mxui";
10
- import { A as K } from "../AccountDetailsContent-CuZSSAEc.mjs";
11
- import { u as D1 } from "../AccountDetailsContent-CuZSSAEc.mjs";
12
- import { u as z, A as P } from "../AccountDetailsHeader-BZBsIKdF.mjs";
13
- import { A as W } from "../AccountListItem-CllIBCao.mjs";
14
- import { a as Y } from "../AccountFields-BD_0GT68.mjs";
15
- import { g as U1, b as $1 } from "../AccountFields-BD_0GT68.mjs";
16
- import { u as w, b as S, d as T, g as D, a as q } from "../hooks-CE2TKk4a.mjs";
10
+ import { A as K } from "../AccountDetailsContent-JfTu_amk.mjs";
11
+ import { u as D1 } from "../AccountDetailsContent-JfTu_amk.mjs";
12
+ import { u as z, A as P } from "../AccountDetailsHeader-D5XdFMtT.mjs";
13
+ import { A as W } from "../AccountListItem-CTT5m4qx.mjs";
14
+ import { a as Y } from "../AccountFields-DOLjKu5l.mjs";
15
+ import { g as U1, b as $1 } from "../AccountFields-DOLjKu5l.mjs";
16
+ import { u as w, b as S, d as T, g as D, a as q } from "../hooks-CBST3rkm.mjs";
17
17
  import { f as I } from "../NumberFormatting-Buh7u8Oi.mjs";
18
- import { D as J } from "../Drawer-kEE73B87.mjs";
19
- import { A as y, W as Q } from "../WidgetContainer-DtPnPQZY.mjs";
20
- import { C as X } from "../ConnectionsDrawer-Dkb4vBmt.mjs";
18
+ import { D as J } from "../Drawer-BEtCk82g.mjs";
19
+ import { A as y, W as Q } from "../WidgetContainer-DJA1bxLn.mjs";
20
+ import { C as X } from "../ConnectionsDrawer-DabiwV9L.mjs";
21
21
  import { u as N } from "../useScreenSize-B6JyS_Lj.mjs";
22
22
  import { L as R } from "../Loader-DUaFpDGv.mjs";
23
- import { l as U, m as e1 } from "../ConnectDrawer-CPTXh70j.mjs";
24
- import { F as G1, M as K1 } from "../ConnectDrawer-CPTXh70j.mjs";
23
+ import { l as U, m as e1 } from "../ConnectDrawer--gJHyp-S.mjs";
24
+ import { F as G1, M as K1 } from "../ConnectDrawer--gJHyp-S.mjs";
25
25
  import t1 from "@mui/material/ListItem";
26
- import { M as $ } from "../MiniWidgetContainer-DTQdRK-3.mjs";
26
+ import { M as $ } from "../MiniWidgetContainer-LtXXgZ6H.mjs";
27
27
  import l1 from "@mui/material/Stack";
28
- import { A as P1, a as Y1 } from "../AccountStore-BL0FE1QL.mjs";
28
+ import { A as P1, a as Y1 } from "../AccountStore-CKHyaGMR.mjs";
29
29
  const i1 = () => {
30
30
  const [c, H] = d.useState(""), { accounts: C } = w(), { selectedAccounts: l } = S(), { setSelectedAccount: h, setSelectedMember: r } = z(), { members: L } = T(), { onEvent: f } = D(), s = [...new Set(l.map((t) => t.account_type))], a = l.find((t) => c === t.guid), u = d.useMemo(
31
31
  () => l.filter((t) => t.is_hidden),
@@ -30,6 +30,8 @@ export declare class AccountStore {
30
30
  get visibleRetirementAccounts(): Account[];
31
31
  get visibleInvestmentAccounts(): Account[];
32
32
  get visibleSavingsAccounts(): Account[];
33
+ get savingsAndCheckingAccountsBalance(): number;
34
+ get savingsAndCheckingAccounts(): Account[];
33
35
  addAccount: (account: Account) => Promise<void>;
34
36
  augmentAccounts: (accounts?: Account[]) => Account[];
35
37
  loadAccounts: (accountsOverride?: Account[]) => Promise<void>;
@@ -41,5 +43,6 @@ export declare class AccountStore {
41
43
  refreshMembers: () => Promise<void>;
42
44
  removeAccount: (accountGuid: string) => Promise<void>;
43
45
  updateAccount: (account: Account) => Promise<void>;
46
+ updateAccountBalance: (accountGuid: string, balanceChange: number) => void;
44
47
  updateAccountFiltering: (guids: string[], isExcluded: boolean) => Promise<void>;
45
48
  }
@@ -8,8 +8,8 @@ import a from "@mui/material/Stack";
8
8
  import _ from "@mui/material/styles/useTheme";
9
9
  import { Text as u, TextField as L } from "@mxenabled/mxui";
10
10
  import { L as W } from "../Loader-DUaFpDGv.mjs";
11
- import { M as j } from "../MiniWidgetContainer-DTQdRK-3.mjs";
12
- import { k as f, u as b, g as q, b as E } from "../hooks-CE2TKk4a.mjs";
11
+ import { M as j } from "../MiniWidgetContainer-LtXXgZ6H.mjs";
12
+ import { k as f, u as b, g as q, b as E } from "../hooks-CBST3rkm.mjs";
13
13
  import Q from "@mui/material/ToggleButton";
14
14
  import G from "@mui/material/ToggleButtonGroup";
15
15
  const O = () => {
@@ -8,7 +8,7 @@ import S from "@mui/material/Stack";
8
8
  import Q from "@mui/material/styles/useTheme";
9
9
  import { Text as y, CategoryIcon as H, Icon as N, H1 as ze, H3 as xe } from "@mxenabled/mxui";
10
10
  import W from "@mui/material/List";
11
- import { u as w, i as D, j as ee, m as j, p as te, g as X, b as ne, h as oe, a as Ue, d as ve } from "../hooks-CE2TKk4a.mjs";
11
+ import { u as w, i as D, j as ee, m as j, p as te, g as X, b as ne, h as oe, a as Ue, d as ve } from "../hooks-CBST3rkm.mjs";
12
12
  import { f as T } from "../NumberFormatting-Buh7u8Oi.mjs";
13
13
  import Ae from "@mui/material/Button";
14
14
  import ae from "@mui/material/Divider";
@@ -17,36 +17,36 @@ import re from "@mui/material/ListItemAvatar";
17
17
  import V from "@mui/material/ListItemButton";
18
18
  import Y from "@mui/material/ListItemText";
19
19
  import { b as M } from "../Localization-2MODESHW.mjs";
20
- import { D as k } from "../Drawer-kEE73B87.mjs";
20
+ import { D as k } from "../Drawer-BEtCk82g.mjs";
21
21
  import Fe from "@mui/material/ListItemSecondaryAction";
22
- import { C as He } from "../CurrencyInput-C4xNRL2W.mjs";
23
- import { a as $ } from "../Dialog-CWW597AF.mjs";
24
- import { C as We } from "../ConnectionsDrawer-Dkb4vBmt.mjs";
22
+ import { C as He } from "../CurrencyInput-CC5cwVit.mjs";
23
+ import { D as $ } from "../Dialog-BPTr3qHE.mjs";
24
+ import { C as We } from "../ConnectionsDrawer-DabiwV9L.mjs";
25
25
  import * as O from "d3";
26
26
  import Xe from "@mui/material/Tooltip";
27
27
  import { u as se } from "../useScreenSize-B6JyS_Lj.mjs";
28
28
  import { L as G } from "../Loader-DUaFpDGv.mjs";
29
29
  import { E as de } from "../EmptyState-DA_lfRBv.mjs";
30
- import { A as L, W as Ke } from "../WidgetContainer-DtPnPQZY.mjs";
31
- import { u as Ve } from "../BudgetUtil-psfk-Amb.mjs";
32
- import { M as Ye } from "../MiniWidgetContainer-DTQdRK-3.mjs";
30
+ import { A as L, W as Ke } from "../WidgetContainer-DJA1bxLn.mjs";
31
+ import { u as Ve } from "../BudgetUtil-D2Jcp-E-.mjs";
32
+ import { M as Ye } from "../MiniWidgetContainer-LtXXgZ6H.mjs";
33
33
  import { isAfter as Ze } from "date-fns/isAfter";
34
34
  import { startOfToday as Z } from "date-fns/startOfToday";
35
35
  import qe from "@mui/material/Alert";
36
36
  import Je from "@mui/material/Snackbar";
37
37
  import ye from "@mui/material/Tab";
38
38
  import Qe from "@mui/material/Tabs";
39
- import { e as et } from "../exportTransactionsToCSV-D8TTNrrE.mjs";
40
- import { T as Te, a as tt } from "../TransactionDetails-_cXLXTd3.mjs";
39
+ import { e as et } from "../exportTransactionsToCSV-XqdHNe2V.mjs";
40
+ import { T as Te, a as tt } from "../TransactionDetails-DRlrltGq.mjs";
41
41
  import pe from "@mui/material/Card";
42
42
  import he from "@mui/material/CardContent";
43
43
  import { S as ge } from "../StatusBar-BK_uYHAB.mjs";
44
44
  import { S as we } from "../SingleSegmentDonut-BgbLgwHi.mjs";
45
- import { u as nt, b as ot } from "../CategorySelectorDrawer-BmenK5bu.mjs";
45
+ import { u as nt, b as ot } from "../CategorySelectorDrawer-DomNyubP.mjs";
46
46
  import De from "@mui/material/CardHeader";
47
47
  import { subDays as at } from "date-fns/subDays";
48
48
  import rt from "@mui/material/IconButton";
49
- import { M as st } from "../ManageIncome-DUuT-yMV.mjs";
49
+ import { M as st } from "../ManageIncome-BaNgfwr5.mjs";
50
50
  const it = I(() => {
51
51
  const { budgets: t } = w(), { totalBudgeted: o } = D(), { incomeTotal: i } = ee(), s = i - o;
52
52
  return /* @__PURE__ */ m(S, { direction: "row", justifyContent: "center", my: 16, spacing: 20, children: [
@@ -8,23 +8,23 @@ import v from "@mui/material/Divider";
8
8
  import s from "@mui/material/Stack";
9
9
  import ce from "@mui/material/styles/useTheme";
10
10
  import { Text as u, P as k, Icon as G, InstitutionLogo as xe, H1 as me, H2 as qe } from "@mxenabled/mxui";
11
- import { G as Xe, t as ue, u as N, p as le, d as Oe, b as Y, j as U, g as Ne, h as ke, a as Ye, o as Qe } from "../hooks-CE2TKk4a.mjs";
11
+ import { G as Xe, t as ue, u as N, p as le, d as Oe, b as Y, j as U, g as Ne, h as ke, a as Ye, o as Qe } from "../hooks-CBST3rkm.mjs";
12
12
  import { C as O } from "../CurrencyText-kyC1aseI.mjs";
13
13
  import { u as he } from "../useScreenSize-B6JyS_Lj.mjs";
14
14
  import { L as te } from "../Loader-DUaFpDGv.mjs";
15
15
  import { I as pe } from "../CashflowStore-D9Dpuz7X.mjs";
16
16
  import { C as Gn } from "../CashflowStore-D9Dpuz7X.mjs";
17
17
  import { b as $ } from "../Localization-2MODESHW.mjs";
18
- import { M as Ve } from "../MiniWidgetContainer-DTQdRK-3.mjs";
18
+ import { M as Ve } from "../MiniWidgetContainer-LtXXgZ6H.mjs";
19
19
  import { E as Ke } from "../EmptyState-DA_lfRBv.mjs";
20
- import { R as Je } from "../RecurringSettings-BVOt46uV.mjs";
20
+ import { R as Je } from "../RecurringSettings-DE4T4yQy.mjs";
21
21
  import Ze from "@mui/material/Tabs";
22
22
  import ye from "@mui/material/Tab";
23
23
  import { getUnixTime as z } from "date-fns/getUnixTime";
24
24
  import ee from "@mui/material/List";
25
25
  import ne from "@mui/material/ListItem";
26
- import { A as et } from "../AccountListItem-CllIBCao.mjs";
27
- import { f as Q, D as V } from "../Dialog-CWW597AF.mjs";
26
+ import { A as et } from "../AccountListItem-CTT5m4qx.mjs";
27
+ import { f as Q, a as V } from "../Dialog-BPTr3qHE.mjs";
28
28
  import tt from "@mui/material/ListSubheader";
29
29
  import { f as Z } from "../NumberFormatting-Buh7u8Oi.mjs";
30
30
  import { isAfter as He } from "date-fns/isAfter";
@@ -35,17 +35,17 @@ import { alpha as nt, keyframes as ot } from "@mui/material/styles";
35
35
  import { DataGridPro as at } from "@mui/x-data-grid-pro";
36
36
  import { T as Se } from "../TabContentContainer-j01JYR_7.mjs";
37
37
  import M from "@mui/material/Button";
38
- import { M as it, S as rt, i as st, d as we, c as ct } from "../ManageIncome-DUuT-yMV.mjs";
39
- import { D as $e } from "../Drawer-kEE73B87.mjs";
38
+ import { M as it, S as rt, i as st, d as we, c as ct } from "../ManageIncome-BaNgfwr5.mjs";
39
+ import { D as $e } from "../Drawer-BEtCk82g.mjs";
40
40
  import { formatISO as lt } from "date-fns/formatISO";
41
41
  import { fromUnixTime as _e } from "date-fns/fromUnixTime";
42
42
  import { startOfMonth as dt } from "date-fns/startOfMonth";
43
43
  import { subDays as Me } from "date-fns/subDays";
44
- import { S as mt, b as ut } from "../TransactionDetails-_cXLXTd3.mjs";
45
- import { F as ht, R as Ie, e as De } from "../RecurringTransactions-ej39mgA6.mjs";
46
- import { h as pt } from "../DateUtil-BcuH7ErC.mjs";
44
+ import { S as mt, b as ut } from "../TransactionDetails-DRlrltGq.mjs";
45
+ import { F as ht, R as Ie, e as De } from "../RecurringTransactions-CngsRZ3K.mjs";
46
+ import { h as pt } from "../DateUtil-CBdcsyuk.mjs";
47
47
  import { endOfToday as ft } from "date-fns/endOfToday";
48
- import { W as ve, A as Ae } from "../WidgetContainer-DtPnPQZY.mjs";
48
+ import { W as ve, A as Ae } from "../WidgetContainer-DJA1bxLn.mjs";
49
49
  import { F as gt, A as j } from "../Fetch-87LIQbEA.mjs";
50
50
  const K = () => {
51
51
  if (!p.useContext(Xe))
@@ -1,5 +1,5 @@
1
- import { b as o, C as a, a as t, u as C } from "../CategorySelectorDrawer-BmenK5bu.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-DomNyubP.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-DaJAQ09j.mjs";
10
- import { C as gs, b as ps, L as ms, a as _s } from "../User-DaJAQ09j.mjs";
9
+ import { T as rt } from "../User-BthIKO4w.mjs";
10
+ import { C as gs, b as ps, L as ms, a as _s } from "../User-BthIKO4w.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-C4QQHfD7.mjs";
14
- import { M as xs } from "../MiniWidgetContainer-DTQdRK-3.mjs";
15
- import { A as vs, D as Ds, W as As } from "../WidgetContainer-DtPnPQZY.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-CPTXh70j.mjs";
17
- import { C as Ys } from "../CurrencyInput-C4xNRL2W.mjs";
13
+ import { M as bs } from "../MicroWidgetContainer-C3iV1FBR.mjs";
14
+ import { M as xs } from "../MiniWidgetContainer-LtXXgZ6H.mjs";
15
+ import { A as vs, D as Ds, W as As } from "../WidgetContainer-DJA1bxLn.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--gJHyp-S.mjs";
17
+ import { C as Ys } from "../CurrencyInput-CC5cwVit.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-B-Tq_YFE.mjs";
22
- import { S as Js } from "../TransactionStore-B-Tq_YFE.mjs";
21
+ import { T as at } from "../TransactionStore-BHTdiLRW.mjs";
22
+ import { S as Js } from "../TransactionStore-BHTdiLRW.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-B5MZzPLZ.mjs";
29
- import { C as pr, G as mr, M as _r, T as fr } from "../GoalStore-B5MZzPLZ.mjs";
28
+ import { d as it } from "../GoalStore-CiBKZvTg.mjs";
29
+ import { C as pr, G as mr, M as _r, T as fr } from "../GoalStore-CiBKZvTg.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-DSrYDGAP.mjs";
33
- import { T as ct } from "../TrendsStore-ZZ8X36lJ.mjs";
34
- import { L as Dr, S as Ar } from "../TrendsStore-ZZ8X36lJ.mjs";
32
+ import { L as Cr } from "../ListItemAction-DGaxy7oz.mjs";
33
+ import { T as ct } from "../TrendsStore-DL3Vuh71.mjs";
34
+ import { L as Dr, S as Ar } from "../TrendsStore-DL3Vuh71.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-B35qvXik.mjs";
41
+ import { L as Or } from "../LineChart-ClUGPuYX.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-8IUM_CLv.mjs";
46
+ import { D as jr } from "../Drawer-BEtCk82g.mjs";
47
+ import { I as Vr, P as Zr, S as Jr } from "../Account-CpRTVIHg.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, B as yo, C as So, W as bo, d as wo, a as xo, i as Co, t as vo, m as Do, x as Ao, y as Eo, g as To, w as Bo, u as Io, f as No, b as Mo, l as ko, z as $o, s as Ro, c as Po, q as Oo, n as Uo, A as Lo, j as Go, r as Ho, h as Fo, v as Wo, o as qo, p as Yo } from "../hooks-CE2TKk4a.mjs";
54
- import { u as zo } from "../useAccountDisplayName-BXGkZN5B.mjs";
55
- import { u as jo } from "../useInsightsEnabled-DSnpkUq0.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, B as yo, C as So, W as bo, d as wo, a as xo, i as Co, t as vo, m as Do, w as Ao, x as Eo, g as To, y as Bo, u as Io, f as No, b as Mo, l as ko, z as $o, s as Ro, c as Po, q as Oo, n as Uo, A as Lo, j as Go, r as Ho, h as Fo, v as Wo, o as qo, p as Yo } from "../hooks-CBST3rkm.mjs";
54
+ import { u as zo } from "../useAccountDisplayName-DH1CuQ9R.mjs";
55
+ import { u as jo } from "../useInsightsEnabled-jdvS1ppf.mjs";
56
56
  import { u as Vo } 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-BL0FE1QL.mjs";
58
+ import { a as ft } from "../AccountStore-CKHyaGMR.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-psfk-Amb.mjs";
65
- import { g as Jo, e as ta, c as ea, d as sa, i as ra } from "../BudgetUtil-psfk-Amb.mjs";
66
- import { a as xt } from "../DebtsStore-D4grpB4m.mjs";
67
- import { a as Ct } from "../FinstrongStore-F2c607dj.mjs";
64
+ import { f as bt, a as wt, b as L } from "../BudgetUtil-D2Jcp-E-.mjs";
65
+ import { g as Jo, e as ta, c as ea, d as sa, i as ra } from "../BudgetUtil-D2Jcp-E-.mjs";
66
+ import { a as xt } from "../DebtsStore-9aR2sTJQ.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-Do1Gk8Te.mjs";
70
+ import { N as Bt } from "../NetWorthStore-MnpP5KEc.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 aa } from "../DateUtil-BcuH7ErC.mjs";
74
+ import { i as aa } from "../DateUtil-CBdcsyuk.mjs";
75
75
  import { b as ia, a as ca, g as da } 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
+ }
@@ -8,4 +8,6 @@ export interface WidgetProps {
8
8
  onBackClick?: () => void;
9
9
  sx?: SxProps;
10
10
  title?: string;
11
+ onTrendsClick?: () => void;
12
+ onSpendingClick?: () => void;
11
13
  }
@@ -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';