@mx-cartographer/experiences 6.25.0-alpha.sms2 → 6.25.0-alpha.sms4
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 +40 -0
- package/dist/accounts/stores/AccountStore.d.ts +3 -8
- package/dist/categories/stores/CategoryStore.d.ts +0 -3
- package/dist/common/components/charts/LineChart.d.ts +7 -0
- package/dist/common/components/charts/linechart/CustomLegend.d.ts +3 -1
- package/dist/common/components/charts/linechart/CustomMark.d.ts +3 -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/GlobalStore.d.ts +1 -1
- package/dist/common/types/Client.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/common/types/localization/TrendsCopy.d.ts +12 -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/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/stores/FinstrongStore.d.ts +2 -1
- package/dist/index.es.js +6479 -5925
- package/dist/index.es.js.map +1 -1
- package/dist/transactions/stores/TransactionStore.d.ts +3 -3
- package/package.json +1 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,43 @@
|
|
|
1
|
+
## [6.24.20] - 08-19-2025
|
|
2
|
+
|
|
3
|
+
- **ADDED** - `FinStrong` | key indicators tab section added
|
|
4
|
+
|
|
5
|
+
## [6.24.19] - 08-19-2025
|
|
6
|
+
|
|
7
|
+
- **ADDED** - `Profile` drawer skeleton with key actions for `Finstrong`
|
|
8
|
+
|
|
9
|
+
## [6.24.18] - 08-19-2025
|
|
10
|
+
|
|
11
|
+
- **UPDATED** - Modified existing LineChart component to support Finstrong requirements.
|
|
12
|
+
|
|
13
|
+
## [6.24.17] - 08-18-2025
|
|
14
|
+
|
|
15
|
+
- **FIXED** - Mini Goals track type null check fix
|
|
16
|
+
|
|
17
|
+
## [6.24.16] - 08-15-2025
|
|
18
|
+
|
|
19
|
+
- **REMOVED** - Manually throwing honey badgers; they should be handled by the app consuming experiences
|
|
20
|
+
|
|
21
|
+
## [6.24.15] - 08-15-2025
|
|
22
|
+
|
|
23
|
+
- **UPDATED** - Remove "" from clientStyleProfile mode type
|
|
24
|
+
|
|
25
|
+
## [6.24.14] - 08-14-2025
|
|
26
|
+
|
|
27
|
+
- **ADDED** - Additional copy for new trends widget
|
|
28
|
+
|
|
29
|
+
## [6.24.13] - 08-14-2025
|
|
30
|
+
|
|
31
|
+
- **UPDATED** - Add 'browser' to clientStyleProfile mode type
|
|
32
|
+
|
|
33
|
+
## [6.24.12] - 08-13-2025
|
|
34
|
+
|
|
35
|
+
- **FIXED** - App bar settings overflow on compact devices
|
|
36
|
+
|
|
37
|
+
## [6.24.11] - 08-12-2025
|
|
38
|
+
|
|
39
|
+
- **FIXED** - Unwanted white space issue in the Budgets widget by updating usage of `detailedBudgets` for consistent filtering
|
|
40
|
+
|
|
1
41
|
## [6.24.10] - 08-11-2025
|
|
2
42
|
|
|
3
43
|
- **ADDED** - Score Rubric Drawer component displaying detailed financial strength scoring information
|
|
@@ -9,14 +9,9 @@ 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 }: {
|
|
12
|
+
loadAccountData: ({ accounts, institutions, }: {
|
|
17
13
|
accounts?: Account[];
|
|
18
14
|
institutions?: Institution[];
|
|
19
|
-
members?: Member[];
|
|
20
15
|
}) => Promise<void>;
|
|
21
16
|
get cashAccounts(): Account[];
|
|
22
17
|
get cashBalance(): number;
|
|
@@ -33,9 +28,9 @@ export declare class AccountStore {
|
|
|
33
28
|
get visibleSavingsAccounts(): Account[];
|
|
34
29
|
addAccount: (account: Account) => Promise<void>;
|
|
35
30
|
augmentAccounts: (accounts?: Account[]) => Account[];
|
|
36
|
-
loadAccounts: (accountsOverride?: Account[]
|
|
31
|
+
loadAccounts: (accountsOverride?: Account[]) => Promise<void>;
|
|
37
32
|
loadInstitutions: (institutionsOverride?: Institution[]) => Promise<void>;
|
|
38
|
-
loadMembers: (
|
|
33
|
+
loadMembers: () => Promise<void>;
|
|
39
34
|
mergeAccounts: (accountGuids: string[]) => Promise<void>;
|
|
40
35
|
sortAccounts: (accounts?: Account[]) => Account[];
|
|
41
36
|
refreshAccounts: () => Promise<void>;
|
|
@@ -16,9 +16,6 @@ export declare class CategoryStore {
|
|
|
16
16
|
get spendCategories(): DetailedCategory[];
|
|
17
17
|
get transferCategories(): DetailedCategory[];
|
|
18
18
|
addCategory: (name: string, parentGuid: string) => Promise<void>;
|
|
19
|
-
getCategoryData: () => {
|
|
20
|
-
categories: Category[];
|
|
21
|
-
};
|
|
22
19
|
loadCategories: (categoriesOverride?: Category[]) => Promise<void>;
|
|
23
20
|
loadDateRangeCategoryTotals: (accounts: Account[], startDate: Date, endDate: Date) => Promise<void>;
|
|
24
21
|
loadMonthlyCategoryTotals: (accounts?: Account[], startDate?: Date, endDate?: Date) => Promise<void>;
|
|
@@ -3,12 +3,18 @@ import { MarkHandlers } from './linechart/CustomMark';
|
|
|
3
3
|
interface LineChartProps {
|
|
4
4
|
baseline?: string;
|
|
5
5
|
colors: (string | undefined)[];
|
|
6
|
+
curveType?: string;
|
|
6
7
|
datasets: {
|
|
7
8
|
x: string;
|
|
8
9
|
y: number;
|
|
9
10
|
}[][];
|
|
11
|
+
disableXAxis?: boolean;
|
|
10
12
|
height?: number;
|
|
13
|
+
isValuesFormatted?: boolean;
|
|
14
|
+
isGraphClippingXAxis?: boolean;
|
|
11
15
|
labels: string[];
|
|
16
|
+
labelBackgroundColor?: string;
|
|
17
|
+
labelFontColor?: string;
|
|
12
18
|
margin?: {
|
|
13
19
|
top?: number;
|
|
14
20
|
right?: number;
|
|
@@ -21,6 +27,7 @@ interface LineChartProps {
|
|
|
21
27
|
showAverage?: boolean;
|
|
22
28
|
showBars?: boolean;
|
|
23
29
|
showMarkLabel?: boolean;
|
|
30
|
+
title?: string;
|
|
24
31
|
useCustomMark?: boolean;
|
|
25
32
|
valueFormatterString?: string;
|
|
26
33
|
width?: number;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
declare const _default: (({
|
|
1
|
+
declare const _default: (({ average, isValuesFormatted, series, style, title, }: {
|
|
2
2
|
average: number;
|
|
3
|
+
isValuesFormatted: boolean;
|
|
3
4
|
series: any[];
|
|
5
|
+
title?: string;
|
|
4
6
|
style: any;
|
|
5
7
|
}) => import("react/jsx-runtime").JSX.Element) & {
|
|
6
8
|
displayName: string;
|
|
@@ -9,6 +9,9 @@ interface CustomMarkProps extends MarkElementProps {
|
|
|
9
9
|
handlers?: MarkHandlers;
|
|
10
10
|
showLabel: boolean;
|
|
11
11
|
yData: number[];
|
|
12
|
+
isValuesFormatted?: boolean;
|
|
13
|
+
labelBackgroundColor?: string;
|
|
14
|
+
labelFontColor?: string;
|
|
12
15
|
}
|
|
13
16
|
export declare const CustomMark: React.FC<CustomMarkProps>;
|
|
14
17
|
export {};
|
|
@@ -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';
|
|
@@ -65,6 +65,6 @@ export declare class GlobalStore {
|
|
|
65
65
|
globalUiStore: GlobalUiStore;
|
|
66
66
|
constructor(appConfig?: AppConfig, endpoint?: string);
|
|
67
67
|
get isInitialized(): boolean;
|
|
68
|
-
loadData: ({ accounts, appData, associatedBeats, categories, institutions,
|
|
68
|
+
loadData: ({ accounts, appData, associatedBeats, categories, institutions, transactionRules, transactions, userFeatures, }: LoadDataProps) => Promise<void>;
|
|
69
69
|
}
|
|
70
70
|
export {};
|
|
@@ -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];
|
|
@@ -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 {};
|
|
@@ -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,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;
|
|
@@ -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>;
|