@mx-cartographer/experiences 7.3.3-alpha.mega1 → 7.4.0

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-YwUMFz93.mjs → Account-01wOyrH1.mjs} +1 -1
  3. package/dist/{AccountDetailsContent-BgCST7mK.mjs → AccountDetailsContent-gke-5zMF.mjs} +10 -10
  4. package/dist/{AccountDetailsHeader-jAFWoHj7.mjs → AccountDetailsHeader-CRzfuFA2.mjs} +7 -7
  5. package/dist/{AccountFields-DPxMPBF0.mjs → AccountFields-CPkGZ3SD.mjs} +5 -5
  6. package/dist/{AccountListItem-D6rWAreC.mjs → AccountListItem-D4uG9yC-.mjs} +4 -4
  7. package/dist/{AccountStore-B5E98oM1.mjs → AccountStore-C1zMBzHq.mjs} +40 -29
  8. package/dist/{Accounts-UIlYCmHb.mjs → Accounts-D7QljYas.mjs} +1 -1
  9. package/dist/{BudgetUtil-CXvenbdN.mjs → BudgetUtil-wjoNuj7B.mjs} +1 -1
  10. package/dist/{CategorySelectorDrawer-Buy70Y3V.mjs → CategorySelectorDrawer-DqJK_rrL.mjs} +3 -3
  11. package/dist/{CategoryStore-BEdFs69_.mjs → CategoryStore-U7hOZAbP.mjs} +1 -1
  12. package/dist/{CategoryUtil-BR3H5i6n.mjs → CategoryUtil-DUM8NuGO.mjs} +1 -1
  13. package/dist/{ConnectDrawer-CbxHKlRv.mjs → ConnectDrawer-CuUj16NH.mjs} +2 -2
  14. package/dist/{ConnectionsDrawer-C6kanU7I.mjs → ConnectionsDrawer-Bz4uwdFE.mjs} +3 -3
  15. package/dist/{CurrencyInput-lSC7oPDg.mjs → CurrencyInput-xH-hqry9.mjs} +1 -1
  16. package/dist/{DateUtil-BcuH7ErC.mjs → DateUtil-CBdcsyuk.mjs} +3 -3
  17. package/dist/{DebtsStore-DgIcphe_.mjs → DebtsStore-Bu8rRRSL.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/{EmptyState-DA_lfRBv.mjs → EmptyState-DoxNUae-.mjs} +24 -22
  21. package/dist/{ExportCsvAction-DNSgmdyv.mjs → ExportCsvAction-DzTrtPzk.mjs} +3 -3
  22. package/dist/FinstrongStore-CfD6bbJk.mjs +441 -0
  23. package/dist/{GoalStore-CAlmSu4U.mjs → GoalStore-j6QYHgEa.mjs} +3 -3
  24. package/dist/{Help-hi9I9EYP.mjs → Help-BnPXM_N2.mjs} +2 -2
  25. package/dist/LineChart-DttMO7uS.mjs +581 -0
  26. package/dist/{ListItemAction-BmL5buOf.mjs → ListItemAction-uobBrm_a.mjs} +10 -10
  27. package/dist/{ManageIncome-Cypo9qY4.mjs → ManageIncome-CU5C0AeO.mjs} +97 -95
  28. package/dist/{MicroWidgetContainer-CFdMGJKg.mjs → MicroWidgetContainer-DEiRnYVa.mjs} +1 -1
  29. package/dist/{MiniWidgetContainer-BdgBvpga.mjs → MiniWidgetContainer-CmXpTylX.mjs} +1 -1
  30. package/dist/{NetWorthStore-CxqIxAgN.mjs → NetWorthStore-CpL_kqvx.mjs} +2 -2
  31. package/dist/{NotificationSettings-DxytNHlN.mjs → NotificationSettings-DI5B1spM.mjs} +5 -5
  32. package/dist/{OriginalBalanceAction-V6FEoIDe.mjs → OriginalBalanceAction-CCmnsd7y.mjs} +3 -3
  33. package/dist/{RecurringSettings-iIupYxJW.mjs → RecurringSettings-Cm5Bqcai.mjs} +4 -4
  34. package/dist/{RecurringTransactions-ej39mgA6.mjs → RecurringTransactions-CngsRZ3K.mjs} +45 -44
  35. package/dist/{RecurringTransactionsStore-BiwCzScZ.mjs → RecurringTransactionsStore-Bc1wCiNB.mjs} +1 -1
  36. package/dist/{SpendingData-D5vsfYKo.mjs → SpendingData-BuJ03S9d.mjs} +16 -16
  37. package/dist/SpendingLegend-B2BYr8B4.mjs +193 -0
  38. package/dist/{TransactionDetails-BUoNbsu-.mjs → TransactionDetails-CtbBBSoU.mjs} +396 -386
  39. package/dist/{TransactionStore-CtGTg0XS.mjs → TransactionStore-Dz-G8Wd0.mjs} +3 -3
  40. package/dist/{TrendsStore-5PvDT_o6.mjs → TrendsStore-BW9FGQeE.mjs} +1 -1
  41. package/dist/{User-Bj34_i8g.mjs → User-wXzDI4M8.mjs} +2 -2
  42. package/dist/{WidgetContainer-BnTgAfQn.mjs → WidgetContainer-6dsjtOVg.mjs} +4 -4
  43. package/dist/accounts/components/AccountsListCompact.d.ts +10 -0
  44. package/dist/accounts/index.es.js +17 -17
  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 +13 -13
  48. package/dist/cashflow/index.es.js +49 -49
  49. package/dist/categories/index.es.js +2 -2
  50. package/dist/common/components/Select.d.ts +4 -2
  51. package/dist/common/components/charts/LineChart.d.ts +12 -2
  52. package/dist/common/components/charts/linechart/CustomLegend.d.ts +3 -1
  53. package/dist/common/components/charts/linechart/CustomMark.d.ts +4 -0
  54. package/dist/common/components/drawer/Drawer.d.ts +3 -0
  55. package/dist/common/components/drawer/Footer.d.ts +17 -0
  56. package/dist/common/index.es.js +33 -33
  57. package/dist/common/types/Finstrong.d.ts +54 -0
  58. package/dist/common/types/Widgets.d.ts +1 -0
  59. package/dist/common/types/index.d.ts +1 -1
  60. package/dist/common/types/localization/FinstrongCopy.d.ts +105 -2
  61. package/dist/common/types/localization/GoalsCopy.d.ts +1 -0
  62. package/dist/dashboard/index.es.js +2 -2
  63. package/dist/debts/index.es.js +11 -11
  64. package/dist/{exportTransactionsToCSV-C4PkIYP6.mjs → exportTransactionsToCSV-Cz2t0lmA.mjs} +2 -2
  65. package/dist/finstrong/FinstrongWidget.d.ts +1 -1
  66. package/dist/finstrong/api/FinstrongApi.d.ts +5 -0
  67. package/dist/finstrong/components/ConnectMoreAccountsCard.d.ts +3 -1
  68. package/dist/finstrong/components/CreditScore/CreditScoreContent.d.ts +4 -0
  69. package/dist/finstrong/components/CreditScore/CreditScoreHeader.d.ts +4 -0
  70. package/dist/finstrong/components/FinancialStrengthGraph.d.ts +7 -1
  71. package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent.d.ts +3 -0
  72. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.d.ts +3 -0
  73. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar.d.ts +4 -0
  74. package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent.d.ts +3 -0
  75. package/dist/finstrong/components/KeyIndicatorsBorrowTab.d.ts +2 -2
  76. package/dist/finstrong/components/KeyIndicatorsDrawer.d.ts +4 -1
  77. package/dist/finstrong/components/KeyIndicatorsSaveTab.d.ts +2 -2
  78. package/dist/finstrong/components/KeyIndicatorsSpendTab.d.ts +2 -2
  79. package/dist/finstrong/components/KeyIndicatorsTabItem.d.ts +4 -3
  80. package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.d.ts +10 -0
  81. package/dist/finstrong/components/KeyIndicatorsTabsWidget.d.ts +2 -2
  82. package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator.d.ts +6 -0
  83. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent.d.ts +4 -0
  84. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky.d.ts +4 -0
  85. package/dist/finstrong/components/ProgressBar.d.ts +15 -0
  86. package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent.d.ts +3 -0
  87. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.d.ts +3 -0
  88. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar.d.ts +4 -0
  89. package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent.d.ts +3 -0
  90. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent.d.ts +3 -0
  91. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar.d.ts +4 -0
  92. package/dist/finstrong/components/StatusChip.d.ts +5 -0
  93. package/dist/finstrong/components/onboarding/Onboarding.d.ts +2 -0
  94. package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +17 -0
  95. package/dist/finstrong/components/onboarding/OnboardingBirthday.d.ts +8 -0
  96. package/dist/finstrong/components/onboarding/OnboardingCreditScore.d.ts +8 -0
  97. package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +14 -0
  98. package/dist/finstrong/components/onboarding/OnboardingStepsHeader.d.ts +8 -0
  99. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent.d.ts +4 -0
  100. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent.d.ts +4 -0
  101. package/dist/finstrong/components/shared/Accounts.d.ts +8 -0
  102. package/dist/finstrong/components/shared/CustomDoubleBarPlot.d.ts +25 -0
  103. package/dist/finstrong/components/shared/DialScoreCard.d.ts +7 -1
  104. package/dist/finstrong/components/shared/DoubleBarChart.d.ts +28 -0
  105. package/dist/finstrong/components/shared/LineGraph.d.ts +7 -0
  106. package/dist/finstrong/components/shared/TotalCard.d.ts +8 -0
  107. package/dist/finstrong/components/shared/Transactions.d.ts +11 -0
  108. package/dist/finstrong/constants/index.d.ts +20 -0
  109. package/dist/finstrong/index.es.js +3174 -1069
  110. package/dist/finstrong/stores/FinstrongStore.d.ts +21 -2
  111. package/dist/finstrong/util/finstrongUtils.d.ts +58 -1
  112. package/dist/goals/index.es.js +15 -15
  113. package/dist/help/index.es.js +3 -3
  114. package/dist/{hooks-Cy8JnjCg.mjs → hooks-C41HAxM5.mjs} +4 -4
  115. package/dist/investments/index.es.js +5 -5
  116. package/dist/merchants/index.es.js +1 -1
  117. package/dist/networth/index.es.js +33 -33
  118. package/dist/notifications/index.es.js +4 -4
  119. package/dist/recurringtransactions/index.es.js +43 -43
  120. package/dist/settings/index.es.js +8 -8
  121. package/dist/spending/index.es.js +261 -436
  122. package/dist/transactions/components/shared/TransactionList.d.ts +1 -0
  123. package/dist/transactions/index.es.js +15 -15
  124. package/dist/trends/index.es.js +16 -16
  125. package/dist/{useAccountDisplayName-D6sQsNNQ.mjs → useAccountDisplayName-CMMlIOXF.mjs} +2 -2
  126. package/dist/{useInsightsEnabled-BxytCjq5.mjs → useInsightsEnabled-CNjP5cfR.mjs} +1 -1
  127. package/package.json +1 -1
  128. package/dist/Drawer-kEE73B87.mjs +0 -113
  129. package/dist/FinstrongStore-CL7t5lBL.mjs +0 -101
  130. package/dist/LineChart-eK4IQImU.mjs +0 -541
  131. package/dist/finstrong/utils/Finstrong.d.ts +0 -6
@@ -1,3 +1,3 @@
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
+ export default _default;
@@ -1,10 +1,11 @@
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;
8
9
  }
9
10
  declare const KeyIndicatorsTabsItem: React.FC<KeyIndicatorsTabsItemProps>;
10
11
  export default KeyIndicatorsTabsItem;
@@ -0,0 +1,10 @@
1
+ import { KeyIndicatorsTabItemType } from '../constants';
2
+ interface KeyIndicatorsTabItemDrawerProps {
3
+ drawerFor: KeyIndicatorsTabItemType;
4
+ isOpen: boolean;
5
+ onClose: () => void;
6
+ }
7
+ declare const _default: (({ drawerFor, isOpen, onClose, }: KeyIndicatorsTabItemDrawerProps) => import("react/jsx-runtime").JSX.Element) & {
8
+ displayName: string;
9
+ };
10
+ export default _default;
@@ -1,3 +1,3 @@
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
+ 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,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,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,17 @@
1
+ import { Frequency, Transaction } from '../../../common';
2
+ import { StepState } from './OnboardingStepsDrawer';
3
+ interface OnboardingAddMonthlyIncomeProps {
4
+ firstDay: number;
5
+ frequency: Frequency;
6
+ secondDay: number;
7
+ incomeTransactions: Transaction[];
8
+ setCurrentStep: (step: StepState) => void;
9
+ setFirstDay: (day: number) => void;
10
+ setFrequency: (frequency: Frequency) => void;
11
+ setSecondDay: (day: number) => void;
12
+ transaction: Transaction;
13
+ }
14
+ declare const _default: (({ firstDay, frequency, secondDay, incomeTransactions, setCurrentStep, setFirstDay, setFrequency, setSecondDay, transaction, }: OnboardingAddMonthlyIncomeProps) => import("react/jsx-runtime").JSX.Element) & {
15
+ displayName: string;
16
+ };
17
+ 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 {};
@@ -6,6 +6,12 @@ export interface DialScoreCardProps {
6
6
  dialScoreData: PieValueType[];
7
7
  minValue?: number;
8
8
  maxValue?: number;
9
+ margin?: {
10
+ top?: number;
11
+ right?: number;
12
+ left?: number;
13
+ bottom?: number;
14
+ };
9
15
  markerColor?: string;
10
16
  healthScoreStatus: string;
11
17
  footerCenterContent?: string | number;
@@ -13,4 +19,4 @@ export interface DialScoreCardProps {
13
19
  footerRightContent?: number;
14
20
  isFinacialStrengthGraph?: boolean;
15
21
  }
16
- export declare const DialScoreCard: ({ arcRadius, healthScore, size, dialScoreData, minValue, maxValue, markerColor, healthScoreStatus, footerCenterContent, footerLeftContent, footerRightContent, isFinacialStrengthGraph, }: DialScoreCardProps) => import("react/jsx-runtime").JSX.Element;
22
+ export declare const DialScoreCard: ({ arcRadius, healthScore, size, dialScoreData, minValue, maxValue, margin, markerColor, healthScoreStatus, footerCenterContent, footerLeftContent, footerRightContent, isFinacialStrengthGraph, }: DialScoreCardProps) => import("react/jsx-runtime").JSX.Element;
@@ -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' | 'creditOverTime';
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,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,20 @@
1
+ export declare enum KeyIndicatorsTabItemType {
2
+ SpendLessThanYouMake = "spendLessThanYouMake",
3
+ PayBillsOnTime = "payBillsOnTime",
4
+ SaveEnoughToLiveOn = "saveEnoughToLiveOn",
5
+ MaintainEmergencySavings = "maintainEmergencySavings",
6
+ HaveManageableDebt = "haveManageableDebt",
7
+ HaveAGoodCreditScore = "haveAGoodCreditScore"
8
+ }
9
+ export declare const CALCULATING_ANIMATION_URL = "https://content.moneydesktop.com/storage/MD_Assets/serenity/loading_animation_final.gif";
10
+ export declare const DEBT_THRESHOLD: {
11
+ Good: number;
12
+ FairMin: number;
13
+ FairMax: number;
14
+ OffTrack: number;
15
+ };
16
+ export declare const SPEND_THRESHOLD: {
17
+ Good: number;
18
+ Fair: number;
19
+ OffTrack: number;
20
+ };