@mx-cartographer/experiences 7.1.5 → 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 (131) 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/{ViewMoreMicroCard-664i7l19.mjs → ViewMoreMicroCard-C5yQiaed.mjs} +507 -480
  42. package/dist/{WidgetContainer-DtPnPQZY.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 +3 -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 +11 -11
  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/index.es.js +33 -33
  54. package/dist/common/types/Finstrong.d.ts +50 -0
  55. package/dist/common/types/Widgets.d.ts +2 -0
  56. package/dist/common/types/index.d.ts +1 -1
  57. package/dist/common/types/localization/FinstrongCopy.d.ts +58 -1
  58. package/dist/dashboard/index.es.js +2 -2
  59. package/dist/debts/index.es.js +11 -11
  60. package/dist/{exportTransactionsToCSV-D8TTNrrE.mjs → exportTransactionsToCSV-XqdHNe2V.mjs} +2 -2
  61. package/dist/finstrong/FinstrongWidget.d.ts +1 -1
  62. package/dist/finstrong/api/FinstrongApi.d.ts +5 -0
  63. package/dist/finstrong/components/ConnectMoreAccountsCard.d.ts +3 -1
  64. package/dist/finstrong/components/CreditScore/CreditScoreContent.d.ts +4 -0
  65. package/dist/finstrong/components/CreditScore/CreditScoreHeader.d.ts +4 -0
  66. package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent.d.ts +3 -0
  67. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.d.ts +3 -0
  68. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar.d.ts +4 -0
  69. package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent.d.ts +3 -0
  70. package/dist/finstrong/components/KeyIndicatorsBorrowTab.d.ts +2 -2
  71. package/dist/finstrong/components/KeyIndicatorsDrawer.d.ts +4 -1
  72. package/dist/finstrong/components/KeyIndicatorsSaveTab.d.ts +2 -2
  73. package/dist/finstrong/components/KeyIndicatorsSpendTab.d.ts +5 -2
  74. package/dist/finstrong/components/KeyIndicatorsTabItem.d.ts +6 -3
  75. package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.d.ts +12 -0
  76. package/dist/finstrong/components/KeyIndicatorsTabsWidget.d.ts +5 -2
  77. package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator.d.ts +6 -0
  78. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent.d.ts +4 -0
  79. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky.d.ts +4 -0
  80. package/dist/finstrong/components/ProgressBar.d.ts +15 -0
  81. package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent.d.ts +3 -0
  82. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.d.ts +3 -0
  83. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar.d.ts +4 -0
  84. package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent.d.ts +3 -0
  85. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent.d.ts +6 -0
  86. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar.d.ts +4 -0
  87. package/dist/finstrong/components/StatusChip.d.ts +5 -0
  88. package/dist/finstrong/components/onboarding/Onboarding.d.ts +2 -0
  89. package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +11 -0
  90. package/dist/finstrong/components/onboarding/OnboardingBirthday.d.ts +8 -0
  91. package/dist/finstrong/components/onboarding/OnboardingCreditScore.d.ts +8 -0
  92. package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +14 -0
  93. package/dist/finstrong/components/onboarding/OnboardingStepsHeader.d.ts +8 -0
  94. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent.d.ts +4 -0
  95. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent.d.ts +4 -0
  96. package/dist/finstrong/components/shared/Accounts.d.ts +8 -0
  97. package/dist/finstrong/components/shared/CustomDoubleBarPlot.d.ts +25 -0
  98. package/dist/finstrong/components/shared/DoubleBarChart.d.ts +28 -0
  99. package/dist/finstrong/components/shared/LineGraph.d.ts +7 -0
  100. package/dist/finstrong/components/shared/TotalCard.d.ts +8 -0
  101. package/dist/finstrong/components/shared/TransactionList.d.ts +15 -0
  102. package/dist/finstrong/components/shared/Transactions.d.ts +11 -0
  103. package/dist/finstrong/constants/index.d.ts +8 -0
  104. package/dist/finstrong/index.es.js +2903 -1005
  105. package/dist/finstrong/stores/FinstrongStore.d.ts +9 -1
  106. package/dist/finstrong/util/finstrongUtils.d.ts +60 -1
  107. package/dist/goals/index.es.js +14 -14
  108. package/dist/help/index.es.js +3 -3
  109. package/dist/{hooks-CE2TKk4a.mjs → hooks-CBST3rkm.mjs} +3 -3
  110. package/dist/investments/index.es.js +4 -4
  111. package/dist/merchants/index.es.js +1 -1
  112. package/dist/microinsights/components/beaticons/BeatIcon.d.ts +2 -0
  113. package/dist/microinsights/components/carouselheader/CarouselHeader.d.ts +2 -1
  114. package/dist/microinsights/components/microBeatCarousel/CarouselControls.d.ts +2 -0
  115. package/dist/microinsights/index.d.ts +1 -1
  116. package/dist/microinsights/index.es.js +1 -1
  117. package/dist/microinsights/interfaces.d.ts +4 -0
  118. package/dist/networth/index.es.js +34 -34
  119. package/dist/notifications/index.es.js +4 -4
  120. package/dist/recurringtransactions/index.es.js +13 -13
  121. package/dist/settings/index.es.js +8 -8
  122. package/dist/spending/index.es.js +222 -373
  123. package/dist/transactions/index.es.js +15 -15
  124. package/dist/transactions/stores/TransactionStore.d.ts +2 -2
  125. package/dist/trends/index.es.js +16 -16
  126. package/dist/{useAccountDisplayName-BXGkZN5B.mjs → useAccountDisplayName-DH1CuQ9R.mjs} +2 -2
  127. package/dist/{useInsightsEnabled-DSnpkUq0.mjs → useInsightsEnabled-jdvS1ppf.mjs} +1 -1
  128. package/package.json +1 -1
  129. package/dist/Drawer-kEE73B87.mjs +0 -113
  130. package/dist/FinstrongStore-F2c607dj.mjs +0 -101
  131. package/dist/finstrong/utils/Finstrong.d.ts +0 -6
@@ -8,30 +8,30 @@ import { intervalToDuration as Te, formatDuration as Ae } from "date-fns";
8
8
  import { addMonths as le } from "date-fns/addMonths";
9
9
  import { fromUnixTime as se } from "date-fns/fromUnixTime";
10
10
  import { getUnixTime as ce } from "date-fns/getUnixTime";
11
- import { D as B, M as Ee, I as Ie } from "../DebtsStore-D4grpB4m.mjs";
12
- import { a as Fr } from "../DebtsStore-D4grpB4m.mjs";
11
+ import { D as B, M as Ee, I as Ie } from "../DebtsStore-9aR2sTJQ.mjs";
12
+ import { a as Fr } from "../DebtsStore-9aR2sTJQ.mjs";
13
13
  import { f as M, a as Be } from "../NumberFormatting-Buh7u8Oi.mjs";
14
- import { f as K, D as U } from "../Dialog-CWW597AF.mjs";
15
- import { G as Me, x as q, u as C, l as V, g as k, d as Z, b as Pe } from "../hooks-CE2TKk4a.mjs";
14
+ import { f as K, a as U } from "../Dialog-BPTr3qHE.mjs";
15
+ import { G as Me, w as q, u as C, l as V, g as k, d as Z, b as Pe } from "../hooks-CBST3rkm.mjs";
16
16
  import { u as Y } from "../useScreenSize-B6JyS_Lj.mjs";
17
- import { D as te } from "../Drawer-kEE73B87.mjs";
17
+ import { D as te } from "../Drawer-BEtCk82g.mjs";
18
18
  import { b as A } from "../Localization-2MODESHW.mjs";
19
- import { A as ke, u as Ne } from "../AccountDetailsHeader-BZBsIKdF.mjs";
19
+ import { A as ke, u as Ne } from "../AccountDetailsHeader-D5XdFMtT.mjs";
20
20
  import Fe from "@mui/material/Card";
21
21
  import Re from "@mui/material/CardContent";
22
22
  import Le from "@mui/material/CardHeader";
23
23
  import { LineChart as $e } from "@mui/x-charts";
24
24
  import re from "@mui/material/Box";
25
25
  import { useTheme as He } from "@mui/material/styles";
26
- import { A as T, W as Oe } from "../WidgetContainer-DtPnPQZY.mjs";
26
+ import { A as T, W as Oe } from "../WidgetContainer-DJA1bxLn.mjs";
27
27
  import de from "@mui/material/Tab";
28
28
  import We from "@mui/material/Tabs";
29
29
  import _e from "@mui/material/List";
30
30
  import j from "@mui/material/Divider";
31
- import { M as Ge, I as je, O as ze } from "../OriginalBalanceAction-BsxcvNEF.mjs";
31
+ import { M as Ge, I as je, O as ze } from "../OriginalBalanceAction-CGZDUsCc.mjs";
32
32
  import Xe from "@mui/material/TextField";
33
- import { L as J } from "../ListItemAction-DSrYDGAP.mjs";
34
- import { C as ae } from "../CurrencyInput-C4xNRL2W.mjs";
33
+ import { L as J } from "../ListItemAction-DGaxy7oz.mjs";
34
+ import { C as ae } from "../CurrencyInput-CC5cwVit.mjs";
35
35
  import pe from "@mui/material/Alert";
36
36
  import me from "@mui/material/AlertTitle";
37
37
  import he from "@mui/material/Paper";
@@ -39,7 +39,7 @@ import { Error as Ve, CheckCircle as ye } from "@mxenabled/mx-icons";
39
39
  import { T as ue } from "../TabContentContainer-j01JYR_7.mjs";
40
40
  import { DataGridPro as Ye } from "@mui/x-data-grid-pro";
41
41
  import { H as z } from "../HeaderCell-DjuifqHJ.mjs";
42
- import { f as Ke } from "../ConnectDrawer-CPTXh70j.mjs";
42
+ import { f as Ke } from "../ConnectDrawer--gJHyp-S.mjs";
43
43
  import fe from "@mui/material/Button";
44
44
  import Ue from "@mui/material/IconButton";
45
45
  import qe from "@mui/material/ListItem";
@@ -1,7 +1,7 @@
1
1
  import { fromUnixTime as d } from "date-fns/fromUnixTime";
2
2
  import { c as u } from "./Category-CevNQ03n.mjs";
3
- import { f as p, D as m } from "./Dialog-CWW597AF.mjs";
4
- import { T as g } from "./User-DaJAQ09j.mjs";
3
+ import { f as p, a as m } from "./Dialog-BPTr3qHE.mjs";
4
+ import { T as g } from "./User-BthIKO4w.mjs";
5
5
  function f(e) {
6
6
  return new Set(
7
7
  e.filter((n) => n.parent_guid !== void 0).map((n) => n.parent_guid)
@@ -1,5 +1,5 @@
1
1
  import { WidgetProps } from '../common';
2
- declare const _default: (({ onBackClick, sx }: WidgetProps) => import("react/jsx-runtime").JSX.Element) & {
2
+ declare const _default: (({ onBackClick, sx, onTrendsClick, onSpendingClick }: WidgetProps) => import("react/jsx-runtime").JSX.Element) & {
3
3
  displayName: string;
4
4
  };
5
5
  export default _default;
@@ -5,6 +5,11 @@ export declare class FinstrongApi {
5
5
  constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
6
6
  calculateHealthScore: () => Promise<any>;
7
7
  getAverageHealthScores: () => Promise<any>;
8
+ getDebtSpend: () => Promise<any>;
9
+ getIncome: () => Promise<any>;
10
+ getMonthlySummaries: () => Promise<any>;
8
11
  getHealthScoreChangeReports: (startDate: number, endDate: number) => Promise<any>;
9
12
  getPeerScore: (birthYear: string) => Promise<any>;
13
+ getSpendingFeeTransactions: () => Promise<any>;
14
+ getStandardSpend: () => Promise<any>;
10
15
  }
@@ -1,11 +1,13 @@
1
1
  import { SxProps } from '@mui/material/styles';
2
2
  interface ConnectMoreAccountsCardProps {
3
+ drawerType?: 'connectDrawer' | 'connectionsDrawer';
3
4
  isDashboard?: boolean;
4
5
  hasIcon?: boolean;
5
6
  buttonText?: string;
6
7
  title?: string;
8
+ titleDrawer?: string;
7
9
  description?: string;
8
10
  sx?: SxProps;
9
11
  }
10
- export declare const ConnectMoreAccountsCard: ({ isDashboard, hasIcon, buttonText, title, description, sx, }: ConnectMoreAccountsCardProps) => import("react/jsx-runtime").JSX.Element;
12
+ export declare const ConnectMoreAccountsCard: ({ drawerType, isDashboard, hasIcon, buttonText, title, titleDrawer, description, sx, }: ConnectMoreAccountsCardProps) => import("react/jsx-runtime").JSX.Element | null;
11
13
  export {};
@@ -0,0 +1,4 @@
1
+ declare const _default: (() => import("react/jsx-runtime").JSX.Element) & {
2
+ displayName: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,4 @@
1
+ declare const _default: (() => import("react/jsx-runtime").JSX.Element) & {
2
+ displayName: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ declare const _default: React.FunctionComponent<{}>;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ declare const _default: React.FunctionComponent<{}>;
3
+ export default _default;
@@ -0,0 +1,4 @@
1
+ declare const _default: (() => import("react/jsx-runtime").JSX.Element) & {
2
+ displayName: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ declare const _default: React.FunctionComponent<{}>;
3
+ export default _default;
@@ -1,3 +1,3 @@
1
1
  import { default as React } from 'react';
2
- declare const KeyIndicatorsBorrowTab: React.FC;
3
- export default KeyIndicatorsBorrowTab;
2
+ declare const _default: React.FunctionComponent<{}>;
3
+ export default _default;
@@ -1,6 +1,8 @@
1
1
  import { default as React } from 'react';
2
2
  interface KeyIndicatorsDrawerProps {
3
3
  additionalContent?: React.ReactNode;
4
+ connectTitle?: string;
5
+ connectDescription?: string;
4
6
  children?: React.ReactNode;
5
7
  description?: string;
6
8
  drawerTitle?: string;
@@ -8,7 +10,8 @@ interface KeyIndicatorsDrawerProps {
8
10
  loadConnectAccountsCard?: boolean;
9
11
  onClose: () => void;
10
12
  stickyComponent?: React.ReactNode;
11
- title?: string;
13
+ title?: string | React.ReactNode;
14
+ drawerType?: 'connectDrawer' | 'connectionsDrawer';
12
15
  }
13
16
  declare const _default: React.FunctionComponent<React.PropsWithChildren<KeyIndicatorsDrawerProps>>;
14
17
  export default _default;
@@ -1,3 +1,3 @@
1
1
  import { default as React } from 'react';
2
- declare const KeyIndicatorsSaveTab: React.FC;
3
- export default KeyIndicatorsSaveTab;
2
+ declare const _default: React.FunctionComponent<{}>;
3
+ export default _default;
@@ -1,3 +1,6 @@
1
1
  import { default as React } from 'react';
2
- declare const KeyIndicatorsSpendTab: React.FC;
3
- export default KeyIndicatorsSpendTab;
2
+ declare const _default: React.FunctionComponent<{
3
+ onTrendsClick?: () => void;
4
+ onSpendingClick?: () => void;
5
+ }>;
6
+ export default _default;
@@ -1,10 +1,13 @@
1
1
  import { default as React } from 'react';
2
- import { KeyIndicatorsCardState } from '../../common/types/Finstrong';
2
+ import { CardStatus } from '../../common/constants/FinStrong';
3
+ import { KeyIndicatorsTabItemType } from '../constants';
3
4
  interface KeyIndicatorsTabsItemProps {
5
+ drawerFor: KeyIndicatorsTabItemType;
4
6
  title: string;
5
7
  description: string;
6
- cardState: KeyIndicatorsCardState;
7
- stateTitle: string;
8
+ cardState: keyof typeof CardStatus;
9
+ onTrendClick?: () => void;
10
+ onSpendingClick?: () => void;
8
11
  }
9
12
  declare const KeyIndicatorsTabsItem: React.FC<KeyIndicatorsTabsItemProps>;
10
13
  export default KeyIndicatorsTabsItem;
@@ -0,0 +1,12 @@
1
+ import { KeyIndicatorsTabItemType } from '../constants';
2
+ interface KeyIndicatorsTabItemDrawerProps {
3
+ drawerFor: KeyIndicatorsTabItemType;
4
+ isOpen: boolean;
5
+ onClose: () => void;
6
+ onTrendClick?: () => void;
7
+ onSpendingClick?: () => void;
8
+ }
9
+ declare const _default: (({ drawerFor, isOpen, onClose, onTrendClick, onSpendingClick, }: KeyIndicatorsTabItemDrawerProps) => import("react/jsx-runtime").JSX.Element) & {
10
+ displayName: string;
11
+ };
12
+ export default _default;
@@ -1,3 +1,6 @@
1
1
  import { default as React } from 'react';
2
- declare const KeyIndicatorsTabsWidget: React.FC;
3
- export default KeyIndicatorsTabsWidget;
2
+ declare const _default: React.FunctionComponent<{
3
+ onTrendsClick?: () => void;
4
+ onSpendingClick?: () => void;
5
+ }>;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ declare const _default: (({ total }: {
2
+ total: number;
3
+ }) => import("react/jsx-runtime").JSX.Element) & {
4
+ displayName: string;
5
+ };
6
+ export default _default;
@@ -0,0 +1,4 @@
1
+ declare const _default: (() => import("react/jsx-runtime").JSX.Element) & {
2
+ displayName: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,4 @@
1
+ declare const _default: (() => import("react/jsx-runtime").JSX.Element) & {
2
+ displayName: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,15 @@
1
+ import { default as React } from 'react';
2
+ export type ProgressBarStatus = 'GOOD' | 'FAIR' | 'OFF_TRACK' | 'MISSING';
3
+ interface StatusBarDataItem {
4
+ percentage: string;
5
+ color?: string;
6
+ }
7
+ export interface ProgressBarProps {
8
+ label: string;
9
+ value: string;
10
+ status: ProgressBarStatus;
11
+ bottomComponent: React.ReactNode;
12
+ statusBarData: StatusBarDataItem[];
13
+ }
14
+ declare const ProgressBar: React.FC<ProgressBarProps>;
15
+ export default ProgressBar;
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ declare const _default: React.FunctionComponent<{}>;
3
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ declare const _default: React.FunctionComponent<{}>;
3
+ export default _default;
@@ -0,0 +1,4 @@
1
+ declare const _default: (() => import("react/jsx-runtime").JSX.Element) & {
2
+ displayName: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ declare const _default: React.FunctionComponent<{}>;
3
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+ declare const _default: React.FunctionComponent<{
3
+ onTrendClick?: () => void;
4
+ onSpendingClick?: () => void;
5
+ }>;
6
+ export default _default;
@@ -0,0 +1,4 @@
1
+ declare const _default: (() => import("react/jsx-runtime").JSX.Element) & {
2
+ displayName: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,5 @@
1
+ import { CardStatus } from '../../common/constants/FinStrong';
2
+ declare const StatusChip: ({ status }: {
3
+ status: keyof typeof CardStatus;
4
+ }) => import("react/jsx-runtime").JSX.Element;
5
+ export default StatusChip;
@@ -0,0 +1,2 @@
1
+ declare const Onboarding: () => import("react/jsx-runtime").JSX.Element;
2
+ export default Onboarding;
@@ -0,0 +1,11 @@
1
+ import { Transaction } from '../../../common';
2
+ import { StepState } from './OnboardingStepsDrawer';
3
+ interface OnboardingAddMonthlyIncomeProps {
4
+ incomeTransactions: Transaction[];
5
+ setCurrentStep: (step: StepState) => void;
6
+ transaction: Transaction;
7
+ }
8
+ declare const _default: (({ incomeTransactions, setCurrentStep, transaction, }: OnboardingAddMonthlyIncomeProps) => import("react/jsx-runtime").JSX.Element) & {
9
+ displayName: string;
10
+ };
11
+ export default _default;
@@ -0,0 +1,8 @@
1
+ interface OnboardingBirthdayProps {
2
+ selectedDate: number | null | undefined;
3
+ setSelectedDate: (value: number | null | undefined) => void;
4
+ }
5
+ declare const _default: (({ selectedDate, setSelectedDate }: OnboardingBirthdayProps) => import("react/jsx-runtime").JSX.Element) & {
6
+ displayName: string;
7
+ };
8
+ export default _default;
@@ -0,0 +1,8 @@
1
+ interface OnboardingCreditScoreProps {
2
+ creditScore: number;
3
+ setCreditScore: (value: number) => void;
4
+ }
5
+ declare const _default: (({ creditScore, setCreditScore }: OnboardingCreditScoreProps) => import("react/jsx-runtime").JSX.Element) & {
6
+ displayName: string;
7
+ };
8
+ export default _default;
@@ -0,0 +1,14 @@
1
+ import { OnboardingSteps } from '../../../common/types/Finstrong';
2
+ interface OnboardingStepsDrawerProps {
3
+ isOpen: boolean;
4
+ onClose: () => void;
5
+ }
6
+ type StepType = 'main' | 'detail';
7
+ export interface StepState {
8
+ step: OnboardingSteps;
9
+ type: StepType;
10
+ }
11
+ declare const _default: (({ isOpen, onClose }: OnboardingStepsDrawerProps) => import("react/jsx-runtime").JSX.Element) & {
12
+ displayName: string;
13
+ };
14
+ export default _default;
@@ -0,0 +1,8 @@
1
+ interface OnboardingStepsHeaderProps {
2
+ completeCopy: string;
3
+ primaryText: string;
4
+ secondaryText: string;
5
+ value: number;
6
+ }
7
+ declare const OnboardingStepsHeader: ({ completeCopy, primaryText, secondaryText, value, }: OnboardingStepsHeaderProps) => import("react/jsx-runtime").JSX.Element;
8
+ export default OnboardingStepsHeader;
@@ -0,0 +1,4 @@
1
+ declare const _default: (() => import("react/jsx-runtime").JSX.Element) & {
2
+ displayName: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,4 @@
1
+ declare const _default: (() => import("react/jsx-runtime").JSX.Element) & {
2
+ displayName: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ import { AccountType } from '../../../common';
3
+ interface AccountsProps {
4
+ loadAccounts: AccountType[];
5
+ loadMoreLabel: string;
6
+ }
7
+ declare const _default: React.FunctionComponent<AccountsProps>;
8
+ export default _default;
@@ -0,0 +1,25 @@
1
+ import { default as React } from 'react';
2
+ import { SpringValue } from '@react-spring/web';
3
+ interface BarStyleProps extends React.CSSProperties {
4
+ x?: SpringValue<number>;
5
+ y?: SpringValue<number>;
6
+ }
7
+ interface CustomDoubleBarPlotProps {
8
+ color: string;
9
+ data: DataSet[];
10
+ series: Series;
11
+ style: BarStyleProps;
12
+ }
13
+ interface Series {
14
+ index: number;
15
+ type: number;
16
+ }
17
+ export interface DataSet {
18
+ comparison: number;
19
+ formattedComparison: string;
20
+ formattedMain: string;
21
+ label: string;
22
+ main: number;
23
+ }
24
+ export declare const CustomDoubleBarPlot: ({ color, data, series, style, ...restProps }: CustomDoubleBarPlotProps) => import("react/jsx-runtime").JSX.Element;
25
+ export {};
@@ -0,0 +1,28 @@
1
+ import { default as React } from 'react';
2
+ export interface FinancialData {
3
+ month: number;
4
+ standard_spend: number;
5
+ income: number;
6
+ debt_spend: number;
7
+ }
8
+ export interface ChartDataPoint {
9
+ label: string;
10
+ main: number;
11
+ comparison: number;
12
+ formattedMain: string;
13
+ formattedComparison: string;
14
+ [key: string]: string | number;
15
+ }
16
+ export interface DoubleBarChartProps {
17
+ chartFor: 'spending_vs_income' | 'debt_payment_vs_income';
18
+ data: FinancialData[];
19
+ title: string;
20
+ buttonLabel?: string;
21
+ legendLabelMain: string;
22
+ legendLabelComparison: string;
23
+ onClick?: () => void;
24
+ totalMain?: string;
25
+ totalComparison?: string;
26
+ }
27
+ declare const DoubleBarChart: React.FC<DoubleBarChartProps>;
28
+ export default DoubleBarChart;
@@ -0,0 +1,7 @@
1
+ import { default as React } from 'react';
2
+ export type ChartType = 'savingsOverTime' | 'debtOverTime';
3
+ interface LineGraphProps {
4
+ chartFor: ChartType;
5
+ }
6
+ declare const _default: React.FunctionComponent<LineGraphProps>;
7
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ interface TotalCardProps {
3
+ balance: number | React.ReactNode;
4
+ title: string;
5
+ sx?: object;
6
+ }
7
+ declare const TotalCard: React.FC<TotalCardProps>;
8
+ export default TotalCard;
@@ -0,0 +1,15 @@
1
+ import { default as React } from 'react';
2
+ import { Transaction } from '../../../common';
3
+ export interface TransactionListProps {
4
+ transactions: Transaction[];
5
+ bgcolor?: string;
6
+ height?: number | string;
7
+ loader?: JSX.Element;
8
+ onClick?: (guid: string) => void;
9
+ showInsights?: boolean;
10
+ showLoader?: boolean;
11
+ width?: number | string;
12
+ zeroState?: JSX.Element;
13
+ }
14
+ declare const _default: React.FunctionComponent<TransactionListProps>;
15
+ export default _default;
@@ -0,0 +1,11 @@
1
+ import { default as React } from 'react';
2
+ import { Transaction } from '../../../common';
3
+ interface TransactionsProps {
4
+ transactions: Transaction[];
5
+ amountColor?: string;
6
+ amountPosition?: 'flex-start' | 'center' | 'flex-end';
7
+ formatDate?: (date: number) => string;
8
+ secondaryIcon?: React.ReactNode;
9
+ }
10
+ declare const Transactions: React.FC<TransactionsProps>;
11
+ export default Transactions;
@@ -0,0 +1,8 @@
1
+ export declare enum KeyIndicatorsTabItemType {
2
+ SpendLessThanYouMake = "spendLessThanYouMake",
3
+ PayBillsOnTime = "payBillsOnTime",
4
+ SaveEnoughToLiveOn = "saveEnoughToLiveOn",
5
+ MaintainEmergencySavings = "maintainEmergencySavings",
6
+ HaveManageableDebt = "haveManageableDebt",
7
+ HaveAGoodCreditScore = "haveAGoodCreditScore"
8
+ }