@mx-cartographer/experiences 6.24.19 → 6.24.20
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 +4 -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/types/Finstrong.d.ts +2 -0
- package/dist/common/types/localization/FinstrongCopy.d.ts +48 -1
- 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/stores/FinstrongStore.d.ts +2 -1
- package/dist/index.es.js +5026 -4739
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -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';
|
|
@@ -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];
|
|
@@ -1,3 +1,42 @@
|
|
|
1
|
+
interface KeyIndicatorBorrow {
|
|
2
|
+
credit_score_fair_description: string;
|
|
3
|
+
credit_score_good_description: string;
|
|
4
|
+
credit_score_missing_description: string;
|
|
5
|
+
credit_score_off_track_description: string;
|
|
6
|
+
credit_score_title: string;
|
|
7
|
+
manage_debit_fair_description: string;
|
|
8
|
+
manage_debit_good_description: string;
|
|
9
|
+
manage_debit_missing_description: string;
|
|
10
|
+
manage_debit_off_track_description: string;
|
|
11
|
+
manage_debit_title: string;
|
|
12
|
+
title: string;
|
|
13
|
+
}
|
|
14
|
+
interface KeyIndicatorSave {
|
|
15
|
+
days_of_cash_fair_description: string;
|
|
16
|
+
days_of_cash_good_description: string;
|
|
17
|
+
days_of_cash_missing_description: string;
|
|
18
|
+
days_of_cash_off_track_description: string;
|
|
19
|
+
days_of_cash_title: string;
|
|
20
|
+
emergency_savings_fair_description: string;
|
|
21
|
+
emergency_savings_good_description: string;
|
|
22
|
+
emergency_savings_missing_description: string;
|
|
23
|
+
emergency_savings_off_track_description: string;
|
|
24
|
+
emergency_savings_title: string;
|
|
25
|
+
title: string;
|
|
26
|
+
}
|
|
27
|
+
interface KeyIndicatorSpend {
|
|
28
|
+
count_card_title: string;
|
|
29
|
+
count_fair_description: string;
|
|
30
|
+
count_good_description: string;
|
|
31
|
+
count_missing_description: string;
|
|
32
|
+
count_off_track_description: string;
|
|
33
|
+
ratio_card_title: string;
|
|
34
|
+
ratio_fair_description: string;
|
|
35
|
+
ratio_good_description: string;
|
|
36
|
+
ratio_missing_description: string;
|
|
37
|
+
ratio_off_track_description: string;
|
|
38
|
+
title: string;
|
|
39
|
+
}
|
|
1
40
|
export interface FinstrongCopy {
|
|
2
41
|
building: string;
|
|
3
42
|
connect_more_accounts_button: string;
|
|
@@ -8,9 +47,16 @@ export interface FinstrongCopy {
|
|
|
8
47
|
finstrong_freedom_description: string;
|
|
9
48
|
how_do_we_do_this: string;
|
|
10
49
|
key_indicators: string;
|
|
50
|
+
key_indicators_borrow: KeyIndicatorBorrow;
|
|
51
|
+
key_indicators_fair: string;
|
|
52
|
+
key_indicators_good: string;
|
|
53
|
+
key_indicators_missing: string;
|
|
54
|
+
key_indicators_off_track: string;
|
|
55
|
+
key_indicators_save: KeyIndicatorSave;
|
|
56
|
+
key_indicators_spend: KeyIndicatorSpend;
|
|
57
|
+
score_rubric: string;
|
|
11
58
|
see_whats_possible: string;
|
|
12
59
|
see_whats_possible_description: string;
|
|
13
|
-
score_rubric: string;
|
|
14
60
|
stable: string;
|
|
15
61
|
strong: string;
|
|
16
62
|
understand_your_habits: string;
|
|
@@ -21,3 +67,4 @@ export interface FinstrongCopy {
|
|
|
21
67
|
we_ask_questions_description_2: string;
|
|
22
68
|
your_path_to_financial_freedom: string;
|
|
23
69
|
}
|
|
70
|
+
export {};
|
|
@@ -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;
|
|
@@ -4,10 +4,11 @@ export declare class FinstrongStore {
|
|
|
4
4
|
api: FinstrongApi;
|
|
5
5
|
averageHealthScores: MonthlyHealthScore[];
|
|
6
6
|
globalStore: GlobalStore;
|
|
7
|
-
healthScore: HealthScore
|
|
7
|
+
healthScore: HealthScore;
|
|
8
8
|
healthScoreChangeReports: HealthScoreReport[];
|
|
9
9
|
peerScore: number | null;
|
|
10
10
|
constructor(globalStore: GlobalStore);
|
|
11
|
+
get getHealthScore(): HealthScore;
|
|
11
12
|
calculateHealthScore: () => Promise<void>;
|
|
12
13
|
loadAverageHealthScores: () => Promise<void>;
|
|
13
14
|
loadHealthScoreChangeReports: () => Promise<void>;
|