@mx-cartographer/experiences 6.25.0-alpha.sms3 → 6.25.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.
- package/CHANGELOG.md +70 -0
- package/dist/accounts/stores/AccountStore.d.ts +4 -12
- package/dist/categories/stores/CategoryStore.d.ts +1 -4
- package/dist/common/components/ListItemRow.d.ts +13 -0
- package/dist/common/components/charts/LineChart.d.ts +24 -5
- package/dist/common/components/charts/linechart/CustomLegend.d.ts +9 -2
- package/dist/common/components/charts/linechart/CustomMark.d.ts +3 -0
- package/dist/common/components/charts/linechart/CustomTooltip.d.ts +7 -0
- package/dist/common/components/listitems/CollapseExpandListItem.d.ts +7 -0
- package/dist/common/constants/Analytics.d.ts +12 -0
- package/dist/common/constants/FinStrong.d.ts +28 -0
- package/dist/common/context/hooks.d.ts +1 -0
- package/dist/common/context/index.d.ts +1 -1
- package/dist/common/stores/AppDataStore.d.ts +1 -1
- package/dist/common/stores/GlobalStore.d.ts +2 -17
- package/dist/common/stores/UserStore.d.ts +1 -1
- package/dist/common/types/Category.d.ts +9 -0
- package/dist/common/types/Client.d.ts +1 -1
- package/dist/common/types/Finstrong.d.ts +2 -0
- package/dist/common/types/index.d.ts +1 -1
- package/dist/common/types/localization/FinstrongCopy.d.ts +61 -1
- package/dist/common/types/localization/TrendsCopy.d.ts +12 -0
- package/dist/finstrong/components/CreditScoreGraph.d.ts +11 -0
- package/dist/finstrong/components/FinancialStrengthGraph.d.ts +9 -0
- package/dist/finstrong/components/KeyIndicatorsBorrowTab.d.ts +3 -0
- package/dist/finstrong/components/KeyIndicatorsSaveTab.d.ts +3 -0
- package/dist/finstrong/components/KeyIndicatorsSpendTab.d.ts +3 -0
- package/dist/finstrong/components/KeyIndicatorsTabItem.d.ts +10 -0
- package/dist/finstrong/components/KeyIndicatorsTabsWidget.d.ts +3 -0
- package/dist/finstrong/components/ManageCreditScore.d.ts +8 -0
- package/dist/finstrong/components/ManageDOB.d.ts +6 -0
- package/dist/finstrong/components/MissingData.d.ts +7 -0
- package/dist/finstrong/components/ProfileDrawer.d.ts +8 -0
- package/dist/finstrong/components/ProfileList.d.ts +20 -0
- package/dist/finstrong/components/ProfileProgressBar.d.ts +6 -0
- package/dist/finstrong/components/shared/CustomPieArc.d.ts +18 -0
- package/dist/finstrong/components/shared/DialScoreCard.d.ts +16 -0
- package/dist/finstrong/index.d.ts +3 -0
- package/dist/finstrong/stores/FinstrongStore.d.ts +7 -1
- package/dist/finstrong/util/finstrongUtils.d.ts +28 -0
- package/dist/finstrong/utils/Finstrong.d.ts +6 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +7733 -6423
- package/dist/index.es.js.map +1 -1
- package/dist/transactions/stores/TransactionStore.d.ts +6 -13
- package/dist/trends/TrendsWidget.d.ts +5 -2
- package/dist/trends/components/CategoriesList.d.ts +7 -3
- package/dist/trends/components/CategoriesListItem.d.ts +3 -6
- package/dist/trends/components/CategoryDetailChart.d.ts +4 -0
- package/dist/trends/components/CategoryDetailDrawer.d.ts +7 -0
- package/dist/trends/components/DateRangeText.d.ts +9 -0
- package/dist/trends/components/TransactionsList.d.ts +7 -0
- package/dist/trends/components/TrendsChartTotals.d.ts +8 -0
- package/dist/trends/components/TrendsInsights.d.ts +5 -1
- package/dist/trends/components/TrendsViewToggle.d.ts +7 -0
- package/dist/trends/stores/TrendsStore.d.ts +15 -8
- package/package.json +1 -4
- package/dist/trends/mocks.d.ts +0 -80
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,73 @@
|
|
|
1
|
+
## [6.25.00] - 08-20-2025
|
|
2
|
+
|
|
3
|
+
- **ADDED** - (new) TrendsWidget, TrendsStore, TrendsChartTotals, TrendsInsights
|
|
4
|
+
- **ADDED** - CategoryList, CategoryDetailDrawer, CategoryDetailChart
|
|
5
|
+
- **UPDATED** - Refactor (old) TrendsFullWidget to share common logic/components with TrendsWidget
|
|
6
|
+
- **UPDATED** - LineChart with axisColor, showAxisHighlight, showLegend, showTooltip, showXAxis, showYAxis, showXAxisTicks, showYAxisTicks props
|
|
7
|
+
- **UPDATED** - LineChart valueFormatterString prop to be explicit with no default to allow unformatted values/labels
|
|
8
|
+
- **UPDATED** - CustomLegend to allow optional custom amount+label props
|
|
9
|
+
- **ADDED** - CustomTooltip for LineChart hover cards
|
|
10
|
+
|
|
11
|
+
## [6.24.25] - 08-20-2025
|
|
12
|
+
|
|
13
|
+
- **ADDED** - Missing Data component for `Finstrong` widget
|
|
14
|
+
|
|
15
|
+
## [6.24.24] - 08-20-2025
|
|
16
|
+
|
|
17
|
+
- **ADDED** - `FinStrong` | key indicators tab section Unit testcases added
|
|
18
|
+
|
|
19
|
+
## [6.24.23] - 08-20-2025
|
|
20
|
+
|
|
21
|
+
- **ADDED** - Finstrong Financial Strength Graph and Credit Score Graph component | Dial Score Card Component
|
|
22
|
+
|
|
23
|
+
## [6.24.22] - 08-20-2025
|
|
24
|
+
|
|
25
|
+
- **ADDED** - Analytic events for micro widgets
|
|
26
|
+
|
|
27
|
+
## [6.24.21] - 08-20-2025
|
|
28
|
+
|
|
29
|
+
- **ADDED** - Api for Augumented Chart Data
|
|
30
|
+
|
|
31
|
+
## [6.24.20] - 08-19-2025
|
|
32
|
+
|
|
33
|
+
- **ADDED** - `FinStrong` | key indicators tab section added
|
|
34
|
+
|
|
35
|
+
## [6.24.19] - 08-19-2025
|
|
36
|
+
|
|
37
|
+
- **ADDED** - `Profile` drawer skeleton with key actions for `Finstrong`
|
|
38
|
+
|
|
39
|
+
## [6.24.18] - 08-19-2025
|
|
40
|
+
|
|
41
|
+
- **UPDATED** - Modified existing LineChart component to support Finstrong requirements.
|
|
42
|
+
|
|
43
|
+
## [6.24.17] - 08-18-2025
|
|
44
|
+
|
|
45
|
+
- **FIXED** - Mini Goals track type null check fix
|
|
46
|
+
|
|
47
|
+
## [6.24.16] - 08-15-2025
|
|
48
|
+
|
|
49
|
+
- **REMOVED** - Manually throwing honey badgers; they should be handled by the app consuming experiences
|
|
50
|
+
|
|
51
|
+
## [6.24.15] - 08-15-2025
|
|
52
|
+
|
|
53
|
+
- **UPDATED** - Remove "" from clientStyleProfile mode type
|
|
54
|
+
|
|
55
|
+
## [6.24.14] - 08-14-2025
|
|
56
|
+
|
|
57
|
+
- **ADDED** - Additional copy for new trends widget
|
|
58
|
+
|
|
59
|
+
## [6.24.13] - 08-14-2025
|
|
60
|
+
|
|
61
|
+
- **UPDATED** - Add 'browser' to clientStyleProfile mode type
|
|
62
|
+
|
|
63
|
+
## [6.24.12] - 08-13-2025
|
|
64
|
+
|
|
65
|
+
- **FIXED** - App bar settings overflow on compact devices
|
|
66
|
+
|
|
67
|
+
## [6.24.11] - 08-12-2025
|
|
68
|
+
|
|
69
|
+
- **FIXED** - Unwanted white space issue in the Budgets widget by updating usage of `detailedBudgets` for consistent filtering
|
|
70
|
+
|
|
1
71
|
## [6.24.10] - 08-11-2025
|
|
2
72
|
|
|
3
73
|
- **ADDED** - Score Rubric Drawer component displaying detailed financial strength scoring information
|
|
@@ -9,15 +9,7 @@ export declare class AccountStore {
|
|
|
9
9
|
members: Member[];
|
|
10
10
|
uiStore: UiStore;
|
|
11
11
|
constructor(globalStore: GlobalStore);
|
|
12
|
-
|
|
13
|
-
accounts: Account[];
|
|
14
|
-
institutions: Institution[];
|
|
15
|
-
};
|
|
16
|
-
loadAccountData: ({ accounts, institutions, members }: {
|
|
17
|
-
accounts?: Account[];
|
|
18
|
-
institutions?: Institution[];
|
|
19
|
-
members?: Member[];
|
|
20
|
-
}) => Promise<void>;
|
|
12
|
+
loadAccountData: () => Promise<void>;
|
|
21
13
|
get cashAccounts(): Account[];
|
|
22
14
|
get cashBalance(): number;
|
|
23
15
|
get checkingAccounts(): Account[];
|
|
@@ -33,9 +25,9 @@ export declare class AccountStore {
|
|
|
33
25
|
get visibleSavingsAccounts(): Account[];
|
|
34
26
|
addAccount: (account: Account) => Promise<void>;
|
|
35
27
|
augmentAccounts: (accounts?: Account[]) => Account[];
|
|
36
|
-
loadAccounts: (
|
|
37
|
-
loadInstitutions: (
|
|
38
|
-
loadMembers: (
|
|
28
|
+
loadAccounts: () => Promise<void>;
|
|
29
|
+
loadInstitutions: () => Promise<void>;
|
|
30
|
+
loadMembers: () => Promise<void>;
|
|
39
31
|
mergeAccounts: (accountGuids: string[]) => Promise<void>;
|
|
40
32
|
sortAccounts: (accounts?: Account[]) => Account[];
|
|
41
33
|
refreshAccounts: () => Promise<void>;
|
|
@@ -16,10 +16,7 @@ export declare class CategoryStore {
|
|
|
16
16
|
get spendCategories(): DetailedCategory[];
|
|
17
17
|
get transferCategories(): DetailedCategory[];
|
|
18
18
|
addCategory: (name: string, parentGuid: string) => Promise<void>;
|
|
19
|
-
|
|
20
|
-
categories: Category[];
|
|
21
|
-
};
|
|
22
|
-
loadCategories: (categoriesOverride?: Category[]) => Promise<void>;
|
|
19
|
+
loadCategories: () => Promise<void>;
|
|
23
20
|
loadDateRangeCategoryTotals: (accounts: Account[], startDate: Date, endDate: Date) => Promise<void>;
|
|
24
21
|
loadMonthlyCategoryTotals: (accounts?: Account[], startDate?: Date, endDate?: Date) => Promise<void>;
|
|
25
22
|
reloadCategoryTotals: (accounts: Account[], startDate: Date, endDate: Date) => Promise<void>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface ListItemRowProps {
|
|
3
|
+
onClick?: () => void;
|
|
4
|
+
leftIcon?: React.ReactNode;
|
|
5
|
+
rightIcon?: React.ReactNode;
|
|
6
|
+
title?: string;
|
|
7
|
+
subtitle?: string;
|
|
8
|
+
rightContent?: React.ReactNode;
|
|
9
|
+
titleBold?: boolean;
|
|
10
|
+
rightContentBold?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare const ListItemRow: React.FC<ListItemRowProps>;
|
|
13
|
+
export {};
|
|
@@ -1,14 +1,25 @@
|
|
|
1
1
|
import { default as React, CSSProperties } from 'react';
|
|
2
2
|
import { MarkHandlers } from './linechart/CustomMark';
|
|
3
|
+
export type LineChartDataset = {
|
|
4
|
+
x: string;
|
|
5
|
+
y: number;
|
|
6
|
+
}[];
|
|
7
|
+
export type LineChartLabel = string | {
|
|
8
|
+
label: string;
|
|
9
|
+
amount: number;
|
|
10
|
+
};
|
|
11
|
+
type LineChartCurve = 'catmullRom' | 'linear' | 'monotoneX' | 'monotoneY' | 'natural' | 'step' | 'stepBefore' | 'stepAfter' | 'bump' | 'bumpX' | 'bumpY';
|
|
3
12
|
interface LineChartProps {
|
|
13
|
+
axisColor?: string;
|
|
4
14
|
baseline?: string;
|
|
5
15
|
colors: (string | undefined)[];
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
y: number;
|
|
9
|
-
}[][];
|
|
16
|
+
curveType?: LineChartCurve;
|
|
17
|
+
datasets: LineChartDataset[];
|
|
10
18
|
height?: number;
|
|
11
|
-
|
|
19
|
+
isGraphClippingXAxis?: boolean;
|
|
20
|
+
labels: LineChartLabel[];
|
|
21
|
+
labelBackgroundColor?: string;
|
|
22
|
+
labelFontColor?: string;
|
|
12
23
|
margin?: {
|
|
13
24
|
top?: number;
|
|
14
25
|
right?: number;
|
|
@@ -19,8 +30,16 @@ interface LineChartProps {
|
|
|
19
30
|
markStyles?: (markIndex: number) => CSSProperties;
|
|
20
31
|
showArea?: boolean;
|
|
21
32
|
showAverage?: boolean;
|
|
33
|
+
showAxisHighlight?: boolean;
|
|
22
34
|
showBars?: boolean;
|
|
35
|
+
showLegend?: boolean;
|
|
23
36
|
showMarkLabel?: boolean;
|
|
37
|
+
showTooltip?: boolean;
|
|
38
|
+
showXAxis?: boolean;
|
|
39
|
+
showXAxisTicks?: boolean;
|
|
40
|
+
showYAxis?: boolean;
|
|
41
|
+
showYAxisTicks?: boolean;
|
|
42
|
+
title?: string;
|
|
24
43
|
useCustomMark?: boolean;
|
|
25
44
|
valueFormatterString?: string;
|
|
26
45
|
width?: number;
|
|
@@ -1,7 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { LineChartLabel } from '../LineChart';
|
|
2
|
+
export declare const CustomLegendLabel: ({ label }: {
|
|
3
|
+
label: LineChartLabel;
|
|
4
|
+
}) => import("react/jsx-runtime").JSX.Element | null;
|
|
5
|
+
declare const _default: (({ average, labels, series, style, title, valueFormatterString, }: {
|
|
6
|
+
average?: number;
|
|
7
|
+
labels?: LineChartLabel[];
|
|
3
8
|
series: any[];
|
|
9
|
+
title?: string;
|
|
4
10
|
style: any;
|
|
11
|
+
valueFormatterString?: string;
|
|
5
12
|
}) => import("react/jsx-runtime").JSX.Element) & {
|
|
6
13
|
displayName: string;
|
|
7
14
|
};
|
|
@@ -9,6 +9,9 @@ interface CustomMarkProps extends MarkElementProps {
|
|
|
9
9
|
handlers?: MarkHandlers;
|
|
10
10
|
showLabel: boolean;
|
|
11
11
|
yData: number[];
|
|
12
|
+
labelBackgroundColor?: string;
|
|
13
|
+
labelFontColor?: string;
|
|
14
|
+
valueFormatterString?: string;
|
|
12
15
|
}
|
|
13
16
|
export declare const CustomMark: React.FC<CustomMarkProps>;
|
|
14
17
|
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { LineChartLabel } from '../LineChart';
|
|
2
|
+
interface CustomTooltipProps {
|
|
3
|
+
labels?: LineChartLabel[];
|
|
4
|
+
valueFormatterString?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare function CustomTooltip({ labels, valueFormatterString }: CustomTooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -97,4 +97,16 @@ export declare const ANALYTICS_EVENTS: {
|
|
|
97
97
|
TRENDS_HOVER_POINT: string;
|
|
98
98
|
TRENDS_VIEW_TRANSACTIONS: string;
|
|
99
99
|
WIDGET_BACK_CLICK: string;
|
|
100
|
+
GOALS_CLICK_GET_STARTED: string;
|
|
101
|
+
GOALS_CLICK_VIEW_DETAILS: string;
|
|
102
|
+
GOALS_LOAD_WIDGET: string;
|
|
103
|
+
NET_WORTH_CLICK_GET_STARTED: string;
|
|
104
|
+
NET_WORTH_CLICK_VIEW_DETAILS: string;
|
|
105
|
+
NET_WORTH_LOAD_WIDGET: string;
|
|
106
|
+
RECURRING_TRANSACTIONS_CLICK_GET_STARTED: string;
|
|
107
|
+
RECURRING_TRANSACTIONS_CLICK_VIEW_ALL: string;
|
|
108
|
+
RECURRING_TRANSACTIONS_LOAD_WIDGET: string;
|
|
109
|
+
TRENDS_CLICK_GET_STARTED: string;
|
|
110
|
+
TRENDS_CLICK_VIEW_MORE: string;
|
|
111
|
+
TRENDS_LOAD_WIDGET: string;
|
|
100
112
|
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export declare const FinstrongThresholds: {
|
|
2
|
+
creditScore: {
|
|
3
|
+
poor: number;
|
|
4
|
+
good: number;
|
|
5
|
+
};
|
|
6
|
+
daysOfCashOnHand: {
|
|
7
|
+
poor: number;
|
|
8
|
+
good: number;
|
|
9
|
+
};
|
|
10
|
+
debtToIncomeRatio: {
|
|
11
|
+
poor: number;
|
|
12
|
+
good: number;
|
|
13
|
+
};
|
|
14
|
+
emergencySavings: {
|
|
15
|
+
poor: number;
|
|
16
|
+
good: number;
|
|
17
|
+
};
|
|
18
|
+
spendToIncomeRatio: {
|
|
19
|
+
poor: number;
|
|
20
|
+
good: number;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export declare const CardStatus: {
|
|
24
|
+
GOOD: string;
|
|
25
|
+
FAIR: string;
|
|
26
|
+
OFF_TRACK: string;
|
|
27
|
+
MISSING: string;
|
|
28
|
+
};
|
|
@@ -7,6 +7,7 @@ export declare const useCashflowStore: () => import('../..').CashflowStore;
|
|
|
7
7
|
export declare const useCategoryStore: () => import('../..').CategoryStore;
|
|
8
8
|
export declare const useConnectStore: () => import('../stores/ConnectStore').ConnectStore;
|
|
9
9
|
export declare const useDebtStore: () => import('../..').DebtsStore;
|
|
10
|
+
export declare const useFinstrongStore: () => import('../..').FinstrongStore;
|
|
10
11
|
export declare const useGlobalStore: () => import('..').GlobalStore;
|
|
11
12
|
export declare const useGlobalUiStore: () => import('../stores/GlobalUiStore').GlobalUiStore;
|
|
12
13
|
export declare const useGlobalCopyStore: () => import('..').GlobalCopy;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { useAccountStore, useAppConfig, useBudgetsStore, useCashflowStore, useCategoryStore, useDebtStore, useEvent, 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, 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';
|
|
@@ -15,7 +15,7 @@ export declare class AppDataStore {
|
|
|
15
15
|
get user(): User;
|
|
16
16
|
get userCommunicationProfile(): UserCommunicationProfile;
|
|
17
17
|
get userProfile(): UserProfile;
|
|
18
|
-
loadAppData: (
|
|
18
|
+
loadAppData: () => Promise<void>;
|
|
19
19
|
loadBanner: () => Promise<void>;
|
|
20
20
|
setUser: (user: User) => User;
|
|
21
21
|
setUserCommunicationProfile: (profile: UserCommunicationProfile) => UserCommunicationProfile;
|
|
@@ -21,21 +21,7 @@ import { ConnectStore } from './ConnectStore';
|
|
|
21
21
|
import { GlobalCopyStore } from './GlobalCopyStore';
|
|
22
22
|
import { GlobalUiStore } from './GlobalUiStore';
|
|
23
23
|
import { UserStore } from './UserStore';
|
|
24
|
-
import {
|
|
25
|
-
import { AppConfig, AppData, Beat, Tag, Tagging, Transaction, TransactionRule, UserFeature } from '../types';
|
|
26
|
-
interface LoadDataProps {
|
|
27
|
-
accounts?: Account[];
|
|
28
|
-
appData?: AppData;
|
|
29
|
-
associatedBeats?: Beat[];
|
|
30
|
-
categories?: Category[];
|
|
31
|
-
institutions?: Institution[];
|
|
32
|
-
members?: Member[];
|
|
33
|
-
taggings?: Tagging[];
|
|
34
|
-
tags?: Tag[];
|
|
35
|
-
transactionRules?: TransactionRule[];
|
|
36
|
-
transactions?: Transaction[];
|
|
37
|
-
userFeatures?: UserFeature[];
|
|
38
|
-
}
|
|
24
|
+
import { AppConfig } from '../types';
|
|
39
25
|
export declare class GlobalStore {
|
|
40
26
|
appConfig: AppConfig;
|
|
41
27
|
endpoint: string;
|
|
@@ -65,6 +51,5 @@ export declare class GlobalStore {
|
|
|
65
51
|
globalUiStore: GlobalUiStore;
|
|
66
52
|
constructor(appConfig?: AppConfig, endpoint?: string);
|
|
67
53
|
get isInitialized(): boolean;
|
|
68
|
-
loadData: (
|
|
54
|
+
loadData: () => Promise<void>;
|
|
69
55
|
}
|
|
70
|
-
export {};
|
|
@@ -9,7 +9,7 @@ export declare class UserStore {
|
|
|
9
9
|
initialize: (endpoint: string, token: string) => Promise<void>;
|
|
10
10
|
get userProfile(): UserProfile;
|
|
11
11
|
get user(): User;
|
|
12
|
-
loadUserFeatures: (
|
|
12
|
+
loadUserFeatures: () => Promise<void>;
|
|
13
13
|
updateUser: (user: User) => Promise<void>;
|
|
14
14
|
updateUserProfile: (userProfile: UserProfile) => Promise<void>;
|
|
15
15
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Transaction } from './Transaction';
|
|
1
2
|
export interface Category {
|
|
2
3
|
guid: string;
|
|
3
4
|
income: boolean;
|
|
@@ -54,6 +55,14 @@ export interface DetailedCategory extends Category {
|
|
|
54
55
|
totalAverageAmount: number;
|
|
55
56
|
totalMonthlyAmounts: MonthlyAmount[];
|
|
56
57
|
}
|
|
58
|
+
export interface CategoryListItem {
|
|
59
|
+
guid: string;
|
|
60
|
+
name: string;
|
|
61
|
+
amount: number;
|
|
62
|
+
transactions?: Transaction[];
|
|
63
|
+
color?: string;
|
|
64
|
+
chartLabel?: string;
|
|
65
|
+
}
|
|
57
66
|
export interface CategoryTotal {
|
|
58
67
|
amount: number;
|
|
59
68
|
category: Category;
|
|
@@ -110,7 +110,7 @@ export interface ClientStyleProfile {
|
|
|
110
110
|
error_color_dark?: string;
|
|
111
111
|
warning_color_dark?: string;
|
|
112
112
|
info_color_dark?: string;
|
|
113
|
-
mode?: 'dark' | 'light' | '';
|
|
113
|
+
mode?: 'dark' | 'light' | 'browser';
|
|
114
114
|
system_font?: string;
|
|
115
115
|
card_corner_radius?: number;
|
|
116
116
|
button_corner_radius?: number;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CardStatus } from '../constants/FinStrong';
|
|
1
2
|
export interface HealthScore {
|
|
2
3
|
created_at: string;
|
|
3
4
|
debt_score: number;
|
|
@@ -67,3 +68,4 @@ export interface HealthScoreReport {
|
|
|
67
68
|
spending_score_point_difference: number | null;
|
|
68
69
|
user_guid: string;
|
|
69
70
|
}
|
|
71
|
+
export type KeyIndicatorsCardState = (typeof CardStatus)[keyof typeof CardStatus];
|
|
@@ -6,7 +6,7 @@ export type { Beat, DataSeries } from './Beat';
|
|
|
6
6
|
export { UserVerification } from './Beat';
|
|
7
7
|
export type { Budget, BudgetColors, DetailedBudget } from './Budget';
|
|
8
8
|
export type { CashflowEvent, CashflowSequence, RepeatDay, RepeatInterval, RepeatMonth, RepeatWeekday, } from './Cashflow';
|
|
9
|
-
export type { Category, CategoryTotal, DateRangeCategoryTotals, DetailedCategory, MonthlyAmount, MonthlyCategoryTotals, } from './Category';
|
|
9
|
+
export type { Category, CategoryListItem, CategoryTotal, DateRangeCategoryTotals, DetailedCategory, MonthlyAmount, MonthlyCategoryTotals, } from './Category';
|
|
10
10
|
export type { Client, ClientColorScheme, ClientCommunicationProfile, ClientInsightProfile, ClientProfile, ClientStyleProfile, } from './Client';
|
|
11
11
|
export type { DateType, DateRange } from './Date';
|
|
12
12
|
export type { Expense } from './Expense';
|
|
@@ -1,16 +1,75 @@
|
|
|
1
|
+
export interface CreditScoreStatusCopy {
|
|
2
|
+
poor: string;
|
|
3
|
+
fair: string;
|
|
4
|
+
good: string;
|
|
5
|
+
very_good: string;
|
|
6
|
+
exceptional: string;
|
|
7
|
+
missing_data: string;
|
|
8
|
+
}
|
|
9
|
+
interface KeyIndicatorBorrow {
|
|
10
|
+
credit_score_fair_description: string;
|
|
11
|
+
credit_score_good_description: string;
|
|
12
|
+
credit_score_missing_description: string;
|
|
13
|
+
credit_score_off_track_description: string;
|
|
14
|
+
credit_score_title: string;
|
|
15
|
+
manage_debit_fair_description: string;
|
|
16
|
+
manage_debit_good_description: string;
|
|
17
|
+
manage_debit_missing_description: string;
|
|
18
|
+
manage_debit_off_track_description: string;
|
|
19
|
+
manage_debit_title: string;
|
|
20
|
+
title: string;
|
|
21
|
+
}
|
|
22
|
+
interface KeyIndicatorSave {
|
|
23
|
+
days_of_cash_fair_description: string;
|
|
24
|
+
days_of_cash_good_description: string;
|
|
25
|
+
days_of_cash_missing_description: string;
|
|
26
|
+
days_of_cash_off_track_description: string;
|
|
27
|
+
days_of_cash_title: string;
|
|
28
|
+
emergency_savings_fair_description: string;
|
|
29
|
+
emergency_savings_good_description: string;
|
|
30
|
+
emergency_savings_missing_description: string;
|
|
31
|
+
emergency_savings_off_track_description: string;
|
|
32
|
+
emergency_savings_title: string;
|
|
33
|
+
title: string;
|
|
34
|
+
}
|
|
35
|
+
interface KeyIndicatorSpend {
|
|
36
|
+
count_card_title: string;
|
|
37
|
+
count_fair_description: string;
|
|
38
|
+
count_good_description: string;
|
|
39
|
+
count_missing_description: string;
|
|
40
|
+
count_off_track_description: string;
|
|
41
|
+
ratio_card_title: string;
|
|
42
|
+
ratio_fair_description: string;
|
|
43
|
+
ratio_good_description: string;
|
|
44
|
+
ratio_missing_description: string;
|
|
45
|
+
ratio_off_track_description: string;
|
|
46
|
+
title: string;
|
|
47
|
+
}
|
|
1
48
|
export interface FinstrongCopy {
|
|
2
49
|
building: string;
|
|
3
50
|
connect_more_accounts_button: string;
|
|
4
51
|
connect_more_accounts_description: string;
|
|
5
52
|
connect_more_accounts_title: string;
|
|
6
53
|
connect_more_accounts_to_view_more_accurate_financial_picture: string;
|
|
54
|
+
credit_score_status: CreditScoreStatusCopy;
|
|
7
55
|
dont_see_all_your_accounts: string;
|
|
56
|
+
footer_center_content_updated_just_now: string;
|
|
8
57
|
finstrong_freedom_description: string;
|
|
9
58
|
how_do_we_do_this: string;
|
|
59
|
+
insufficient_data: string;
|
|
10
60
|
key_indicators: string;
|
|
61
|
+
key_indicators_borrow: KeyIndicatorBorrow;
|
|
62
|
+
key_indicators_fair: string;
|
|
63
|
+
key_indicators_good: string;
|
|
64
|
+
key_indicators_missing: string;
|
|
65
|
+
key_indicators_off_track: string;
|
|
66
|
+
key_indicators_save: KeyIndicatorSave;
|
|
67
|
+
key_indicators_spend: KeyIndicatorSpend;
|
|
68
|
+
missing_data_description: string;
|
|
69
|
+
missing_data_title: string;
|
|
70
|
+
score_rubric: string;
|
|
11
71
|
see_whats_possible: string;
|
|
12
72
|
see_whats_possible_description: string;
|
|
13
|
-
score_rubric: string;
|
|
14
73
|
stable: string;
|
|
15
74
|
strong: string;
|
|
16
75
|
understand_your_habits: string;
|
|
@@ -21,3 +80,4 @@ export interface FinstrongCopy {
|
|
|
21
80
|
we_ask_questions_description_2: string;
|
|
22
81
|
your_path_to_financial_freedom: string;
|
|
23
82
|
}
|
|
83
|
+
export {};
|
|
@@ -1,15 +1,27 @@
|
|
|
1
1
|
export interface TrendsCopy {
|
|
2
2
|
all_categories: string;
|
|
3
|
+
categories: string;
|
|
4
|
+
category_income: string;
|
|
5
|
+
category_spending: string;
|
|
6
|
+
close_category_details: string;
|
|
7
|
+
empty_state_primary: string;
|
|
8
|
+
empty_state_sub_text: string;
|
|
3
9
|
income_label: string;
|
|
4
10
|
micro_primary_cta_label: string;
|
|
5
11
|
micro_subheader: string;
|
|
6
12
|
micro_secondary_label: string;
|
|
7
13
|
mini_title: string;
|
|
14
|
+
monthly_income: string;
|
|
15
|
+
monthly_spending: string;
|
|
8
16
|
payments_label: string;
|
|
9
17
|
primary_cta: string;
|
|
10
18
|
spending_label: string;
|
|
11
19
|
sub_title: string;
|
|
12
20
|
title: string;
|
|
21
|
+
transaction: string;
|
|
22
|
+
transactions: string;
|
|
23
|
+
view_more: string;
|
|
24
|
+
view_transactions: string;
|
|
13
25
|
zero_state_content_description: string;
|
|
14
26
|
zero_state_content_header: string;
|
|
15
27
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface CreditScoreGraphProps {
|
|
2
|
+
arcRadius: number;
|
|
3
|
+
size?: 'L' | 'M' | 'SM';
|
|
4
|
+
healthScore: number;
|
|
5
|
+
maxValue?: number;
|
|
6
|
+
minValue?: number;
|
|
7
|
+
footerCenterContent?: string | number;
|
|
8
|
+
}
|
|
9
|
+
export declare const CreditScoreGraph: (({ arcRadius, size, healthScore, maxValue, minValue, footerCenterContent, }: CreditScoreGraphProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
10
|
+
displayName: string;
|
|
11
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface FinacialStrengthGraphProps {
|
|
2
|
+
arcRadius: number;
|
|
3
|
+
size?: 'L' | 'M' | 'SM';
|
|
4
|
+
healthScore: number;
|
|
5
|
+
footerCenterContent?: string | number;
|
|
6
|
+
}
|
|
7
|
+
export declare const FinancialStrengthGraph: (({ arcRadius, size, healthScore, footerCenterContent }: FinacialStrengthGraphProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
8
|
+
displayName: string;
|
|
9
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { KeyIndicatorsCardState } from '../../common/types/Finstrong';
|
|
3
|
+
interface KeyIndicatorsTabsItemProps {
|
|
4
|
+
title: string;
|
|
5
|
+
description: string;
|
|
6
|
+
cardState: KeyIndicatorsCardState;
|
|
7
|
+
stateTitle: string;
|
|
8
|
+
}
|
|
9
|
+
declare const KeyIndicatorsTabsItem: React.FC<KeyIndicatorsTabsItemProps>;
|
|
10
|
+
export default KeyIndicatorsTabsItem;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export declare enum Action {
|
|
3
|
+
Connections = "connections",
|
|
4
|
+
CreditScore = "credit_score",
|
|
5
|
+
DateOfBirth = "date_of_birth",
|
|
6
|
+
MonthlyIncome = "monthly_income"
|
|
7
|
+
}
|
|
8
|
+
interface ProfileListItem {
|
|
9
|
+
icon: React.ReactNode;
|
|
10
|
+
isComplete: boolean;
|
|
11
|
+
key: Action;
|
|
12
|
+
primaryText: string;
|
|
13
|
+
secondaryText: string;
|
|
14
|
+
}
|
|
15
|
+
interface ProfileListProps {
|
|
16
|
+
list: ProfileListItem[];
|
|
17
|
+
onClickItem: (action: Action) => void;
|
|
18
|
+
}
|
|
19
|
+
declare const ProfileList: ({ list, onClickItem }: ProfileListProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export default ProfileList;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { PieValueType } from '@mui/x-charts';
|
|
2
|
+
interface CustomPieArcProps {
|
|
3
|
+
dialScoreData: PieValueType[];
|
|
4
|
+
dataIndex: number;
|
|
5
|
+
arcStartAngle: number;
|
|
6
|
+
totalAngularSpan: number;
|
|
7
|
+
centerX: number;
|
|
8
|
+
centerY: number;
|
|
9
|
+
arcRadius: number;
|
|
10
|
+
arcColor?: string;
|
|
11
|
+
innerArcRadius: number;
|
|
12
|
+
outterArcRadius: number;
|
|
13
|
+
unitsPerSegment: number;
|
|
14
|
+
progressEndAngle: number;
|
|
15
|
+
isFinacialStrengthGraph?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export declare const CustomPieArc: ({ dialScoreData, dataIndex, arcColor, arcStartAngle, totalAngularSpan, centerX, centerY, arcRadius, innerArcRadius, outterArcRadius, progressEndAngle, unitsPerSegment, isFinacialStrengthGraph, }: CustomPieArcProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export {};
|