@mx-cartographer/experiences 7.2.9 → 11.6.4-alpha.san2

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 (148) hide show
  1. package/CHANGELOG.md +2 -35
  2. package/dist/{Account-B-CuHOYf.mjs → Account-CpRTVIHg.mjs} +1 -1
  3. package/dist/{AccountDetailsContent-DfzPOeMI.mjs → AccountDetailsContent-JfTu_amk.mjs} +10 -10
  4. package/dist/{AccountDetailsHeader-vcy67tuH.mjs → AccountDetailsHeader-D5XdFMtT.mjs} +8 -8
  5. package/dist/{AccountFields-cUP-9Hm6.mjs → AccountFields-DOLjKu5l.mjs} +5 -5
  6. package/dist/{AccountListItem-DChcf3SN.mjs → AccountListItem-CTT5m4qx.mjs} +4 -4
  7. package/dist/{AccountStore-D6KiXA1B.mjs → AccountStore-CKHyaGMR.mjs} +40 -29
  8. package/dist/{Accounts-IeEtQjzA.mjs → Accounts-D0BmvNxn.mjs} +1 -1
  9. package/dist/{BudgetUtil-B2ZXyw-g.mjs → BudgetUtil-D2Jcp-E-.mjs} +1 -1
  10. package/dist/{CategorySelectorDrawer-DUe4lH5-.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-DaFRU5st.mjs → ConnectDrawer--gJHyp-S.mjs} +2 -2
  14. package/dist/{ConnectionsDrawer-DHJ7qdWL.mjs → ConnectionsDrawer-DabiwV9L.mjs} +3 -3
  15. package/dist/{CurrencyInput-CsCy7uaS.mjs → CurrencyInput-CC5cwVit.mjs} +1 -1
  16. package/dist/{DateUtil-BcuH7ErC.mjs → DateUtil-CBdcsyuk.mjs} +3 -3
  17. package/dist/{DebtsStore-z3VARSO6.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-sX8Rg4Ov.mjs → ExportCsvAction-Um-CDa4C.mjs} +3 -3
  21. package/dist/FinstrongStore-CjErZ73K.mjs +432 -0
  22. package/dist/{GoalStore-TD0BfzWX.mjs → GoalStore-CiBKZvTg.mjs} +3 -3
  23. package/dist/{Help-B6dIcujh.mjs → Help-BZ8pIkkR.mjs} +2 -2
  24. package/dist/{LineChart-D4GI7nVh.mjs → LineChart-ClUGPuYX.mjs} +3 -3
  25. package/dist/{ListItemAction-DHa3KJPs.mjs → ListItemAction-DGaxy7oz.mjs} +10 -10
  26. package/dist/{ManageIncome-D3n1EWxe.mjs → ManageIncome-BaNgfwr5.mjs} +63 -61
  27. package/dist/{MicroWidgetContainer-DpeqN9n3.mjs → MicroWidgetContainer-C3iV1FBR.mjs} +1 -1
  28. package/dist/{MiniWidgetContainer-D0gfmbaF.mjs → MiniWidgetContainer-LtXXgZ6H.mjs} +1 -1
  29. package/dist/{NetWorthStore-B_1oulrt.mjs → NetWorthStore-MnpP5KEc.mjs} +2 -2
  30. package/dist/{NotificationSettings-BRm_EJZV.mjs → NotificationSettings-Ckx8tgQj.mjs} +5 -5
  31. package/dist/{OriginalBalanceAction-CAaVbVMO.mjs → OriginalBalanceAction-CGZDUsCc.mjs} +3 -3
  32. package/dist/{RecurringSettings-C28GrQcP.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-BWffqew4.mjs → TransactionDetails-DRlrltGq.mjs} +11 -8
  38. package/dist/{TransactionStore-DxPLdF3B.mjs → TransactionStore-BHTdiLRW.mjs} +3 -3
  39. package/dist/{TrendsStore-DCYbpXPO.mjs → TrendsStore-DL3Vuh71.mjs} +14 -14
  40. package/dist/{User-BQUxBeZV.mjs → User-BthIKO4w.mjs} +2 -2
  41. package/dist/{ViewMoreMicroCard-SCn2wt4i.mjs → ViewMoreMicroCard-C5yQiaed.mjs} +40 -41
  42. package/dist/{WidgetContainer-C88Ecu2W.mjs → WidgetContainer-DJA1bxLn.mjs} +4 -4
  43. package/dist/accounts/components/AccountsListCompact.d.ts +10 -0
  44. package/dist/accounts/index.es.js +14 -14
  45. package/dist/accounts/stores/AccountStore.d.ts +2 -0
  46. package/dist/analytics/index.es.js +2 -2
  47. package/dist/budgets/index.es.js +12 -12
  48. package/dist/cashflow/index.es.js +436 -440
  49. package/dist/categories/index.es.js +2 -2
  50. package/dist/common/components/Select.d.ts +4 -2
  51. package/dist/common/components/drawer/Drawer.d.ts +3 -0
  52. package/dist/common/components/drawer/Footer.d.ts +17 -0
  53. package/dist/common/context/GlobalDataProvider.d.ts +0 -1
  54. package/dist/common/context/hooks.d.ts +0 -3
  55. package/dist/common/context/index.d.ts +1 -1
  56. package/dist/common/index.es.js +57 -58
  57. package/dist/common/types/Finstrong.d.ts +50 -0
  58. package/dist/common/types/Widgets.d.ts +2 -0
  59. package/dist/common/types/index.d.ts +1 -1
  60. package/dist/common/types/localization/FinstrongCopy.d.ts +58 -1
  61. package/dist/dashboard/index.es.js +79 -81
  62. package/dist/debts/index.es.js +11 -11
  63. package/dist/{exportTransactionsToCSV-7bVS7KXf.mjs → exportTransactionsToCSV-XqdHNe2V.mjs} +2 -2
  64. package/dist/finstrong/FinstrongWidget.d.ts +1 -1
  65. package/dist/finstrong/api/FinstrongApi.d.ts +5 -0
  66. package/dist/finstrong/components/ConnectMoreAccountsCard.d.ts +3 -1
  67. package/dist/finstrong/components/CreditScore/CreditScoreContent.d.ts +4 -0
  68. package/dist/finstrong/components/CreditScore/CreditScoreHeader.d.ts +4 -0
  69. package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent.d.ts +3 -0
  70. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.d.ts +3 -0
  71. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar.d.ts +4 -0
  72. package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent.d.ts +3 -0
  73. package/dist/finstrong/components/KeyIndicatorsBorrowTab.d.ts +2 -2
  74. package/dist/finstrong/components/KeyIndicatorsDrawer.d.ts +4 -1
  75. package/dist/finstrong/components/KeyIndicatorsSaveTab.d.ts +2 -2
  76. package/dist/finstrong/components/KeyIndicatorsSpendTab.d.ts +5 -2
  77. package/dist/finstrong/components/KeyIndicatorsTabItem.d.ts +6 -3
  78. package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.d.ts +12 -0
  79. package/dist/finstrong/components/KeyIndicatorsTabsWidget.d.ts +5 -2
  80. package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator.d.ts +6 -0
  81. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent.d.ts +4 -0
  82. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky.d.ts +4 -0
  83. package/dist/finstrong/components/ProgressBar.d.ts +15 -0
  84. package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent.d.ts +3 -0
  85. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.d.ts +3 -0
  86. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar.d.ts +4 -0
  87. package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent.d.ts +3 -0
  88. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent.d.ts +6 -0
  89. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar.d.ts +4 -0
  90. package/dist/finstrong/components/StatusChip.d.ts +5 -0
  91. package/dist/finstrong/components/onboarding/Onboarding.d.ts +2 -0
  92. package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +11 -0
  93. package/dist/finstrong/components/onboarding/OnboardingBirthday.d.ts +8 -0
  94. package/dist/finstrong/components/onboarding/OnboardingCreditScore.d.ts +8 -0
  95. package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +14 -0
  96. package/dist/finstrong/components/onboarding/OnboardingStepsHeader.d.ts +8 -0
  97. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent.d.ts +4 -0
  98. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent.d.ts +4 -0
  99. package/dist/finstrong/components/shared/Accounts.d.ts +8 -0
  100. package/dist/finstrong/components/shared/CustomDoubleBarPlot.d.ts +25 -0
  101. package/dist/finstrong/components/shared/DoubleBarChart.d.ts +28 -0
  102. package/dist/finstrong/components/shared/LineGraph.d.ts +7 -0
  103. package/dist/finstrong/components/shared/TotalCard.d.ts +8 -0
  104. package/dist/finstrong/components/shared/TransactionList.d.ts +15 -0
  105. package/dist/finstrong/components/shared/Transactions.d.ts +11 -0
  106. package/dist/finstrong/constants/index.d.ts +8 -0
  107. package/dist/finstrong/index.es.js +2914 -1004
  108. package/dist/finstrong/stores/FinstrongStore.d.ts +9 -1
  109. package/dist/finstrong/util/finstrongUtils.d.ts +60 -1
  110. package/dist/goals/index.es.js +14 -14
  111. package/dist/help/index.es.js +3 -3
  112. package/dist/hooks-CBST3rkm.mjs +74 -0
  113. package/dist/investments/index.es.js +4 -4
  114. package/dist/merchants/index.es.js +1 -1
  115. package/dist/microinsights/{cards → components/beatCard}/BeatCard.d.ts +2 -2
  116. package/dist/microinsights/{beaticons → components/beaticons}/BeatCategoryIcon.d.ts +1 -1
  117. package/dist/microinsights/{beaticons → components/beaticons}/BeatIcon.d.ts +2 -2
  118. package/dist/microinsights/{beaticons → components/beaticons}/BeatMerchantLogo.d.ts +1 -1
  119. package/dist/microinsights/{beaticons → components/beaticons}/MonthlySpendComparisonIcon.d.ts +2 -2
  120. package/dist/microinsights/{carousel → components/carouselheader}/CarouselHeader.d.ts +2 -2
  121. package/dist/microinsights/{InsightsMicroWidget.d.ts → components/insightsmicrowidget/InsightsMicroWidget.d.ts} +2 -2
  122. package/dist/microinsights/{carousel → components/microBeatCarousel}/CarouselControls.d.ts +1 -1
  123. package/dist/microinsights/{carousel → components/microBeatCarousel}/MicroBeatCarousel.d.ts +2 -2
  124. package/dist/microinsights/{cards → components/microInsightCard}/MicroInsightCard.d.ts +1 -1
  125. package/dist/microinsights/{cards → components/noRelevantInsightsCard}/NoRelevantInsightsCard.d.ts +1 -1
  126. package/dist/microinsights/{cards → components/viewMoreMicroCard}/ViewMoreMicroCard.d.ts +1 -1
  127. package/dist/microinsights/{cards → components/zeroStateCard}/ZeroStateCard.d.ts +1 -1
  128. package/dist/microinsights/index.d.ts +9 -9
  129. package/dist/microinsights/index.es.js +1 -1
  130. package/dist/networth/index.es.js +34 -34
  131. package/dist/notifications/index.es.js +4 -4
  132. package/dist/recurringtransactions/index.es.js +24 -24
  133. package/dist/settings/index.es.js +8 -8
  134. package/dist/spending/index.es.js +222 -373
  135. package/dist/transactions/index.es.js +15 -15
  136. package/dist/trends/index.es.js +451 -451
  137. package/dist/{useAccountDisplayName-BcRqfar8.mjs → useAccountDisplayName-DH1CuQ9R.mjs} +2 -2
  138. package/dist/{useInsightsEnabled-DBpwEq10.mjs → useInsightsEnabled-jdvS1ppf.mjs} +1 -1
  139. package/package.json +1 -1
  140. package/dist/Drawer-kEE73B87.mjs +0 -113
  141. package/dist/FinstrongStore-F2c607dj.mjs +0 -101
  142. package/dist/finstrong/utils/Finstrong.d.ts +0 -6
  143. package/dist/hooks-D6XlXHf4.mjs +0 -77
  144. /package/dist/microinsights/{MicroWidgetContainer.d.ts → components/MicroWidgetContainer.d.ts} +0 -0
  145. /package/dist/microinsights/{beaticons → components/beaticons}/ChartFilledIcon.d.ts +0 -0
  146. /package/dist/microinsights/{beaticons → components/beaticons}/ZeroStateIcon.d.ts +0 -0
  147. /package/dist/microinsights/{beaticons → components/beaticons}/index.d.ts +0 -0
  148. /package/dist/microinsights/{Spinner.d.ts → components/spinner/Spinner.d.ts} +0 -0
@@ -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-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;
@@ -4,7 +4,6 @@ export interface GlobalStoreContextTypes {
4
4
  children: React.ReactNode;
5
5
  onError: GlobalErrorHandler;
6
6
  onEvent: GlobalEventHandler;
7
- onLoad?: (widgetName: string) => void;
8
7
  onPageView: (pageViewEvent: string) => void;
9
8
  globalStore: GlobalStore;
10
9
  }
@@ -28,9 +28,6 @@ export declare const useError: () => {
28
28
  export declare const useEvent: () => {
29
29
  onEvent: import('..').GlobalEventHandler;
30
30
  };
31
- export declare const useLoad: () => {
32
- onLoad: ((widgetName: string) => void) | undefined;
33
- };
34
31
  export declare const usePageView: () => {
35
32
  onPageView: (pageViewEvent: string) => void;
36
33
  };
@@ -1,3 +1,3 @@
1
- export { useAccountStore, useAppConfig, useBudgetsStore, useCashflowStore, useCategoryStore, useDebtStore, useError, useEvent, useLoad, useFinstrongStore, useGlobalStore, useGlobalUiStore, useGlobalCopyStore, useGoalStore, useHelpStore, useHoldingStore, useMerchantStore, useNetWorthStore, useNotificationStore, usePageView, useRecurringTransactionsStore, useSettingsStore, useTransactionStore, useTrendsStore, useUserStore, useWidgetContainerProvider, } from './hooks';
1
+ export { useAccountStore, useAppConfig, useBudgetsStore, useCashflowStore, useCategoryStore, useDebtStore, useError, useEvent, useFinstrongStore, useGlobalStore, useGlobalUiStore, useGlobalCopyStore, useGoalStore, useHelpStore, useHoldingStore, useMerchantStore, useNetWorthStore, useNotificationStore, usePageView, useRecurringTransactionsStore, useSettingsStore, useTransactionStore, useTrendsStore, useUserStore, useWidgetContainerProvider, } from './hooks';
2
2
  export { GlobalDataContext, GlobalDataProvider } from './GlobalDataProvider';
3
3
  export { WidgetContainerContext, WidgetContainerProvider } from './WidgetContainerProvider';
@@ -2,77 +2,77 @@ 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-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-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-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-DxPLdF3B.mjs";
22
- import { S as Js } from "../TransactionStore-DxPLdF3B.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-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-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-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-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-D4GI7nVh.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-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-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, 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";
56
- import { u as Zo } from "../useScreenSize-B6JyS_Lj.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
+ 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-D6KiXA1B.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-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-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-B_1oulrt.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 na } from "../DateUtil-BcuH7ErC.mjs";
75
- import { b as ca, a as da, g as la } from "../Localization-2MODESHW.mjs";
74
+ import { i as aa } from "../DateUtil-CBdcsyuk.mjs";
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 || {});
78
78
  const Ye = [
@@ -1340,23 +1340,23 @@ export {
1340
1340
  So as WidgetContainerContext,
1341
1341
  bo as WidgetContainerProvider,
1342
1342
  rs as analyticsSession,
1343
- ca as buildDynamicCopy,
1344
- da as buildPluralCopy,
1343
+ ia as buildDynamicCopy,
1344
+ ca as buildPluralCopy,
1345
1345
  io as formatCurrency,
1346
1346
  Yr as formatDate,
1347
1347
  co as formatOrdinal,
1348
1348
  lo as formatPercentage,
1349
- na as fromTimestampToMonthYear,
1350
- ta as getCategory,
1351
- ea as getCategoryTotalsByParent,
1349
+ aa as fromTimestampToMonthYear,
1350
+ Jo as getCategory,
1351
+ ta as getCategoryTotalsByParent,
1352
1352
  ze as getClientTheme,
1353
1353
  uo as getCurrencyCodes,
1354
- sa as getDetailedCategory,
1355
- ra as getDetailedSubCategory,
1356
- la as getLocale,
1357
- oa as isIncome,
1354
+ ea as getDetailedCategory,
1355
+ sa as getDetailedSubCategory,
1356
+ da as getLocale,
1357
+ ra as isIncome,
1358
1358
  ho as isValidNumber,
1359
- Xo as useAccountDisplayName,
1359
+ zo as useAccountDisplayName,
1360
1360
  wo as useAccountStore,
1361
1361
  xo as useAppConfig,
1362
1362
  Co as useBudgetsStore,
@@ -1374,18 +1374,17 @@ export {
1374
1374
  ko as useGoalStore,
1375
1375
  $o as useHelpStore,
1376
1376
  Ro as useHoldingStore,
1377
- Ko as useInsightsEnabled,
1378
- Po as useLoad,
1379
- Oo as useMerchantStore,
1380
- Uo as useNetWorthStore,
1381
- Lo as useNotificationStore,
1382
- Go as usePageView,
1377
+ jo as useInsightsEnabled,
1378
+ Po as useMerchantStore,
1379
+ Oo as useNetWorthStore,
1380
+ Uo as useNotificationStore,
1381
+ Lo as usePageView,
1383
1382
  Ke as usePrevious,
1384
- Ho as useRecurringTransactionsStore,
1385
- Zo as useScreenSize,
1386
- Fo as useSettingsStore,
1387
- Wo as useTransactionStore,
1388
- qo as useTrendsStore,
1389
- Yo as useUserStore,
1390
- Qo as useWidgetContainerProvider
1383
+ Go as useRecurringTransactionsStore,
1384
+ Vo as useScreenSize,
1385
+ Ho as useSettingsStore,
1386
+ Fo as useTransactionStore,
1387
+ Wo as useTrendsStore,
1388
+ qo as useUserStore,
1389
+ Yo as useWidgetContainerProvider
1391
1390
  };
@@ -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';
@@ -6,6 +6,23 @@ export interface CreditScoreStatusCopy {
6
6
  exceptional: string;
7
7
  missing_data: string;
8
8
  }
9
+ interface HaveManageableDebtDrawer {
10
+ debt_payment: string;
11
+ debt_over_time: string;
12
+ have_manageable_debt_description: string;
13
+ have_manageable_debt_double_bar_chart_empty_state_description: string;
14
+ have_manageable_debt_double_bar_chart_empty_state_header: string;
15
+ have_manageable_debt_more_transactions: string;
16
+ have_manageable_debt_income: string;
17
+ have_manageable_debt_line_chart_empty_state_description: string;
18
+ have_manageable_debt_line_chart_empty_state_header: string;
19
+ have_manageable_debt_payments: string;
20
+ have_manageable_debt_sticky_description: string;
21
+ have_manageable_debt_sticky_title: string;
22
+ have_manageable_debt_title: string;
23
+ have_manageable_debt_transactions: string;
24
+ income: string;
25
+ }
9
26
  export interface HealthScoreStatuDetailsCopy {
10
27
  building: string;
11
28
  stable: string;
@@ -18,6 +35,7 @@ interface KeyIndicatorBorrow {
18
35
  credit_score_missing_description: string;
19
36
  credit_score_off_track_description: string;
20
37
  credit_score_title: string;
38
+ have_manageable_debt_drawer: HaveManageableDebtDrawer;
21
39
  manage_debit_fair_description: string;
22
40
  manage_debit_good_description: string;
23
41
  manage_debit_missing_description: string;
@@ -31,24 +49,60 @@ interface KeyIndicatorSave {
31
49
  days_of_cash_missing_description: string;
32
50
  days_of_cash_off_track_description: string;
33
51
  days_of_cash_title: string;
52
+ drawer_available: string;
53
+ drawer_available_balance: string;
54
+ drawer_daily_spend: string;
55
+ drawer_description: string;
56
+ drawer_progress_bar_label: string;
57
+ drawer_progress_bar_value: string;
58
+ drawer_spending: string;
59
+ drawer_title: string;
34
60
  emergency_savings_fair_description: string;
35
61
  emergency_savings_good_description: string;
36
62
  emergency_savings_missing_description: string;
37
63
  emergency_savings_off_track_description: string;
38
64
  emergency_savings_title: string;
65
+ savings_over_time: string;
39
66
  title: string;
67
+ zero_state_title: string;
68
+ zero_state_description: string;
69
+ }
70
+ interface PayBillsOnTimeDrawer {
71
+ pay_bills_on_time_description: string;
72
+ pay_bills_on_time_sticky_description: string;
73
+ pay_bills_on_time_sticky_fee_count: string;
74
+ pay_bills_on_time_sticky_state: string;
75
+ pay_bills_on_time_title: string;
76
+ pay_bills_on_time_zero_fees_title: string;
77
+ pay_bills_on_time_zero_fees_description: string;
78
+ }
79
+ interface SpendLessThanYouMakeDrawer {
80
+ income: string;
81
+ spend_less_than_you_make_description: string;
82
+ spend_less_than_you_make_title: string;
83
+ spend_less_than_you_make_sticky_description: string;
84
+ spending: string;
85
+ spending_zero_state_title: string;
86
+ spending_zero_state_description: string;
87
+ spent: string;
88
+ trends: string;
89
+ trends_zero_state_title: string;
90
+ trends_zero_state_description: string;
91
+ view_more: string;
40
92
  }
41
- interface KeyIndicatorSpend {
93
+ export interface KeyIndicatorSpend {
42
94
  count_card_title: string;
43
95
  count_fair_description: string;
44
96
  count_good_description: string;
45
97
  count_missing_description: string;
46
98
  count_off_track_description: string;
99
+ pay_bills_on_time_drawer: PayBillsOnTimeDrawer;
47
100
  ratio_card_title: string;
48
101
  ratio_fair_description: string;
49
102
  ratio_good_description: string;
50
103
  ratio_missing_description: string;
51
104
  ratio_off_track_description: string;
105
+ spend_less_than_you_make_drawer: SpendLessThanYouMakeDrawer;
52
106
  title: string;
53
107
  }
54
108
  interface ScoreHistoryDrawerTimeline {
@@ -72,6 +126,7 @@ export interface FinstrongCopy {
72
126
  connect_more_accounts_button: string;
73
127
  connect_more_accounts_description: string;
74
128
  connect_more_accounts_title: string;
129
+ connect_more_accounts_to_unlock_a_fuller_understanding_of_your_finances: string;
75
130
  connect_more_accounts_to_view_more_accurate_financial_picture: string;
76
131
  connect_your_accounts: string;
77
132
  connected_account: string;
@@ -90,6 +145,7 @@ export interface FinstrongCopy {
90
145
  health_score_zero_title: string;
91
146
  health_score_zero_description: string;
92
147
  how_do_we_do_this: string;
148
+ in_the_last_90_days_you_spent: string;
93
149
  insufficient_data: string;
94
150
  key_indicators: string;
95
151
  key_indicators_borrow: KeyIndicatorBorrow;
@@ -102,6 +158,7 @@ export interface FinstrongCopy {
102
158
  key_indicators_spend: KeyIndicatorSpend;
103
159
  missing_data_description: string;
104
160
  missing_data_title: string;
161
+ more_accounts: string;
105
162
  monthly_income: string;
106
163
  profile: string;
107
164
  score_history: string;