@mx-cartographer/experiences 4.2.0-alpha.sms5 → 4.2.0-alpha.sms50
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 +24 -0
- package/dist/accounts/stores/AccountStore.d.ts +1 -17
- package/dist/common/api/UserApi.d.ts +1 -0
- package/dist/common/components/WidgetContainer.d.ts +1 -1
- package/dist/common/components/dialog/Dialog.d.ts +1 -0
- package/dist/common/constants/Analytics.d.ts +38 -29
- package/dist/common/constants/ApiEndpoints.d.ts +1 -0
- package/dist/common/stores/GlobalStore.d.ts +2 -5
- package/dist/common/stores/UserStore.d.ts +3 -1
- package/dist/common/types/Global.d.ts +12 -0
- package/dist/common/types/Help.d.ts +58 -1
- package/dist/common/types/User.d.ts +10 -0
- package/dist/common/types/index.d.ts +1 -1
- package/dist/common/types/localization/CommonCopy.d.ts +1 -0
- package/dist/common/types/localization/DebtsCopy.d.ts +50 -0
- package/dist/debts/components/actions/DebtsPriorityAction.d.ts +3 -0
- package/dist/debts/components/{debtsdrawer/actions → actions}/InterestRateAction.d.ts +1 -1
- package/dist/debts/components/{debtsdrawer/actions → actions}/MonthlyPaymentAction.d.ts +1 -1
- package/dist/debts/components/{debtsdrawer/actions → actions}/OriginalBalanceAction.d.ts +1 -1
- package/dist/debts/components/debtspriority/DebtsPriorityButton.d.ts +8 -0
- package/dist/debts/components/debtspriority/DebtsPrioriyPopover.d.ts +8 -0
- package/dist/debts/constants/index.d.ts +5 -0
- package/dist/debts/store/DebtsUiStore.d.ts +3 -0
- package/dist/debts/utils/DebtsWidget.d.ts +2 -1
- package/dist/debts/utils/SnowballCard.d.ts +2 -1
- package/dist/debts/utils/shared.d.ts +3 -0
- package/dist/goals/stores/GoalStore.d.ts +1 -1
- package/dist/goals/util/GoalsUtil.d.ts +1 -1
- package/dist/help/HelpContent.d.ts +2 -0
- package/dist/help/components/content/BottomImageContent.d.ts +2 -0
- package/dist/help/components/content/Header.d.ts +8 -0
- package/dist/help/components/content/LeftImageContent.d.ts +2 -0
- package/dist/help/components/content/NoImageContent.d.ts +2 -0
- package/dist/help/components/content/RightImageContent.d.ts +2 -0
- package/dist/help/components/content/Section.d.ts +2 -0
- package/dist/help/constants/index.d.ts +34 -0
- package/dist/help/index.d.ts +2 -1
- package/dist/index.es.js +5885 -5550
- package/dist/index.es.js.map +1 -1
- package/dist/microinsights/components/MicroWidgetContainer.d.ts +7 -0
- package/dist/requestsupport/ContactSupport.d.ts +6 -0
- package/dist/requestsupport/HelpByCategoryList.d.ts +16 -0
- package/dist/requestsupport/PopularTopicsDrawer.d.ts +8 -0
- package/dist/requestsupport/PopularTopicsList.d.ts +13 -0
- package/dist/requestsupport/PopularTopicsRow.d.ts +10 -0
- package/dist/requestsupport/RequestSupport.d.ts +6 -0
- package/dist/requestsupport/RequestSupportFooter.d.ts +6 -0
- package/dist/requestsupport/RequestSupportHeader.d.ts +10 -0
- package/dist/requestsupport/constants/index.d.ts +28 -0
- package/dist/requestsupport/index.d.ts +1 -0
- package/dist/requestsupport/util/index.d.ts +21 -0
- package/dist/settings/components/profile/VerificationModal.d.ts +6 -0
- package/dist/settings/components/profile/constants.d.ts +13 -0
- package/dist/settings/utils/Profile.d.ts +8 -0
- package/dist/transactions/stores/TransactionStore.d.ts +1 -20
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
## [4.1.6] - 02-20-2025
|
|
2
|
+
|
|
3
|
+
- **ADDED** - Added Request Support Drawer in Help Component - On Clicking the Request Support Button
|
|
4
|
+
|
|
5
|
+
## [4.1.5] - 02-19-2025
|
|
6
|
+
|
|
7
|
+
- **FIXED** - WCAG for micro carousel
|
|
8
|
+
|
|
9
|
+
## [4.1.4] - 02-18-2025
|
|
10
|
+
|
|
11
|
+
- **FIXED** - Issues with completed Goals not working correctly
|
|
12
|
+
- **FIXED** - Issues with Debt goals showing the incorrect amounts and status bar
|
|
13
|
+
- **FIXED** - Issues with Add/Deleting Retirement goals
|
|
14
|
+
- **FIXED** - Issues with reordering Save and Debt goals
|
|
15
|
+
|
|
16
|
+
## [4.1.3] - 02-17-2025
|
|
17
|
+
|
|
18
|
+
- **FIXED** - Transaction list amount truncate fix
|
|
19
|
+
- **ADDED** - Help Component
|
|
20
|
+
|
|
21
|
+
## [4.1.2] - 02-13-2025
|
|
22
|
+
|
|
23
|
+
- **UPDATED** - `WidgetContainer` to optionally accept components in `actions` prop
|
|
24
|
+
|
|
1
25
|
## [4.1.1] - 02-04-2025
|
|
2
26
|
|
|
3
27
|
- **FIXED** - Issue with adding goals
|
|
@@ -1,29 +1,14 @@
|
|
|
1
1
|
import { Account, GlobalStore, Institution, Member } from '../../common';
|
|
2
2
|
import { AccountApi } from '../api/AccountApi';
|
|
3
3
|
import { UiStore } from './UiStore';
|
|
4
|
-
interface OptionalProps {
|
|
5
|
-
accounts?: Account[] | [];
|
|
6
|
-
institutions?: Institution[] | [];
|
|
7
|
-
members?: Member[] | [];
|
|
8
|
-
updateExternallyManagedAccounts?: (accounts: Account[]) => void;
|
|
9
|
-
}
|
|
10
4
|
export declare class AccountStore {
|
|
11
5
|
api: AccountApi;
|
|
12
6
|
globalStore: GlobalStore;
|
|
13
|
-
/**
|
|
14
|
-
* Required props if data is externally managed
|
|
15
|
-
* @property {Array} accounts array of accounts
|
|
16
|
-
* @property {Array} institutions array of institutions
|
|
17
|
-
* @property {Array} members array of members
|
|
18
|
-
* @property {function} updateExternallyManagedAccounts Updater function for external data manager
|
|
19
|
-
*/
|
|
20
7
|
accounts: Account[];
|
|
21
8
|
institutions: Institution[];
|
|
22
9
|
members: Member[];
|
|
23
|
-
updateExternallyManagedAccounts: ((accounts: Account[]) => void) | undefined;
|
|
24
|
-
shouldManageDataExternally: boolean;
|
|
25
10
|
uiStore: UiStore;
|
|
26
|
-
constructor(globalStore: GlobalStore
|
|
11
|
+
constructor(globalStore: GlobalStore);
|
|
27
12
|
initialize: (endpoint: string, token: string) => Promise<void>;
|
|
28
13
|
get cashAccounts(): Account[];
|
|
29
14
|
get checkingAccounts(): Account[];
|
|
@@ -43,4 +28,3 @@ export declare class AccountStore {
|
|
|
43
28
|
removeAccount: (accountGuid: string) => Promise<void>;
|
|
44
29
|
updateAccount: (account: Account) => Promise<void>;
|
|
45
30
|
}
|
|
46
|
-
export {};
|
|
@@ -3,6 +3,7 @@ import { User, UserProfile } from '../types';
|
|
|
3
3
|
export declare class UserApi {
|
|
4
4
|
fetchInstance: Fetch;
|
|
5
5
|
constructor(endpoint: string, token: string);
|
|
6
|
+
getUserFeatures: () => Promise<any>;
|
|
6
7
|
updateUser: (user: User) => Promise<any>;
|
|
7
8
|
updateUserProfile: (userProfile: UserProfile) => Promise<any>;
|
|
8
9
|
}
|
|
@@ -1,69 +1,78 @@
|
|
|
1
1
|
export declare const ANALYTICS_EVENTS: {
|
|
2
|
-
|
|
2
|
+
ACCOUNTS_CLICK_ACCOUNT: string;
|
|
3
3
|
ACCOUNTS_CLICK_CONNECT: string;
|
|
4
4
|
ACCOUNTS_CLICK_FILTER: string;
|
|
5
|
-
|
|
5
|
+
ACCOUNTS_CLICK_SYNC: string;
|
|
6
6
|
ACCOUNT_DETAILS_CLICK_HIDE: string;
|
|
7
7
|
ACCOUNT_DETAILS_CLICK_MARK_CLOSED: string;
|
|
8
8
|
ACCOUNT_DETAILS_CLICK_MARK_DUPLICATE: string;
|
|
9
9
|
ACCOUNT_DETAILS_CLICK_TRANSACTION: string;
|
|
10
10
|
ACCOUNT_DETAILS_VIEW: string;
|
|
11
11
|
ACCOUNT_DETAILS_VIEW_TRANSACTIONS: string;
|
|
12
|
-
BUDGETS_CLICK_FILTER: string;
|
|
13
12
|
BUDGETS_CLICK_ADD: string;
|
|
14
|
-
BUDGETS_CLICK_EDIT_INCOME: string;
|
|
15
13
|
BUDGETS_CLICK_BUDGET_CATEGORY: string;
|
|
14
|
+
BUDGETS_CLICK_EDIT_INCOME: string;
|
|
15
|
+
BUDGETS_CLICK_FILTER: string;
|
|
16
16
|
BUDGETS_VIEW: string;
|
|
17
|
-
CASH_FLOW_CLICK_SETTINGS: string;
|
|
18
17
|
CASH_FLOW_CLICK_FILTER: string;
|
|
19
|
-
|
|
18
|
+
CASH_FLOW_CLICK_SETTINGS: string;
|
|
19
|
+
DEBTS_CLICK_CHART_AREA: string;
|
|
20
|
+
DEBTS_CLICK_FILTER: string;
|
|
21
|
+
DEBTS_CLICK_PRIORITY: string;
|
|
22
|
+
DEBTS_CLICK_PRIORITIZE: string;
|
|
23
|
+
DEBTS_CLICK_SNOWBALL_CTA: string;
|
|
20
24
|
DEBTS_CLICK_TABLE_ROW: string;
|
|
25
|
+
DEBTS_CLICK_TABLE_SORT: string;
|
|
26
|
+
DEBTS_SAVE_BALANCE_ACTION: string;
|
|
27
|
+
DEBTS_SAVE_PAYMENT_ACTION: string;
|
|
28
|
+
DEBTS_SAVE_RATE_ACTION: string;
|
|
29
|
+
DEBTS_VIEW: string;
|
|
21
30
|
DEBT_DETAILS_VIEW: string;
|
|
22
31
|
DEBT_SCHEDULE_VIEW: string;
|
|
23
|
-
GOALS_VIEW: string;
|
|
24
|
-
GOALS_CLICK_FILTER: string;
|
|
25
32
|
GOALS_CLICK_ADD: string;
|
|
33
|
+
GOALS_CLICK_FILTER: string;
|
|
34
|
+
GOALS_VIEW: string;
|
|
26
35
|
NET_WORTH_VIEW: string;
|
|
27
36
|
NET_WORTH_WIDGET_CLICK_ASSETS_LIABILITIES: string;
|
|
28
37
|
NET_WORTH_WIDGET_CLICK_FILTER: string;
|
|
29
38
|
NET_WORTH_WIDGET_CLICK_TIMEFRAME: string;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
RECURRING_ACTIVITY_CLICK_UPCOMING: string;
|
|
33
|
-
RECURRING_ACTIVITY_CLICK_PAID: string;
|
|
39
|
+
RECURRING_ACTIVITY_CLICK_ADD_EXPENSE: string;
|
|
40
|
+
RECURRING_ACTIVITY_CLICK_ADD_INCOME: string;
|
|
34
41
|
RECURRING_ACTIVITY_CLICK_CALENDAR_RIGHT: string;
|
|
35
42
|
RECURRING_ACTIVITY_CLICK_EXPENSE: string;
|
|
36
|
-
|
|
43
|
+
RECURRING_ACTIVITY_CLICK_FILTER: string;
|
|
37
44
|
RECURRING_ACTIVITY_CLICK_INCOME: string;
|
|
38
|
-
|
|
39
|
-
|
|
45
|
+
RECURRING_ACTIVITY_CLICK_PAID: string;
|
|
46
|
+
RECURRING_ACTIVITY_CLICK_SETTINGS: string;
|
|
47
|
+
RECURRING_ACTIVITY_CLICK_UPCOMING: string;
|
|
40
48
|
SPENDING_CLICK_FILTER: string;
|
|
41
|
-
|
|
49
|
+
SPENDING_VIEW: string;
|
|
42
50
|
TRANSACTIONS_ADD_MANUAL_ACCOUNT_MODAL: string;
|
|
43
|
-
TRANSACTIONS_CLICK_SEARCH: string;
|
|
44
|
-
TRANSACTIONS_CLICK_FILTER: string;
|
|
45
|
-
TRANSACTIONS_CLICK_EXPORT: string;
|
|
46
51
|
TRANSACTIONS_CLICK_ADD: string;
|
|
47
52
|
TRANSACTIONS_CLICK_DETAILS: string;
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
53
|
+
TRANSACTIONS_CLICK_EXPORT: string;
|
|
54
|
+
TRANSACTIONS_CLICK_FILTER: string;
|
|
55
|
+
TRANSACTIONS_CLICK_SEARCH: string;
|
|
56
|
+
TRANSACTIONS_VIEW: string;
|
|
57
|
+
TRANSACTION_DETAILS_CLICK_AMOUNT: string;
|
|
51
58
|
TRANSACTION_DETAILS_CLICK_CATEGORY: string;
|
|
52
59
|
TRANSACTION_DETAILS_CLICK_DATE: string;
|
|
53
60
|
TRANSACTION_DETAILS_CLICK_DELETE_LOGO: string;
|
|
61
|
+
TRANSACTION_DETAILS_CLICK_DESCRIPTION: string;
|
|
62
|
+
TRANSACTION_DETAILS_CLICK_FLAG: string;
|
|
54
63
|
TRANSACTION_DETAILS_CLICK_MEMO: string;
|
|
55
64
|
TRANSACTION_DETAILS_CLICK_SPLIT: string;
|
|
56
|
-
TRANSACTION_DETAILS_CLICK_UNSPLIT: string;
|
|
57
65
|
TRANSACTION_DETAILS_CLICK_TAGS: string;
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
TRENDS_CLICK_TOGGLE: string;
|
|
66
|
+
TRANSACTION_DETAILS_CLICK_UNSPLIT: string;
|
|
67
|
+
TRANSACTION_DETAILS_VIEW: string;
|
|
61
68
|
TRENDS_CLICK_DATE: string;
|
|
62
|
-
|
|
63
|
-
TRENDS_CLICK_TABLE_ROW: string;
|
|
69
|
+
TRENDS_CLICK_FILTER: string;
|
|
64
70
|
TRENDS_CLICK_LEGEND: string;
|
|
65
|
-
|
|
71
|
+
TRENDS_CLICK_TABLE_ROW: string;
|
|
72
|
+
TRENDS_CLICK_TABLE_SORT: string;
|
|
73
|
+
TRENDS_CLICK_TOGGLE: string;
|
|
66
74
|
TRENDS_HOVER_AREA: string;
|
|
75
|
+
TRENDS_HOVER_LEGEND: string;
|
|
67
76
|
TRENDS_HOVER_POINT: string;
|
|
68
77
|
TRENDS_VIEW_TRANSACTIONS: string;
|
|
69
78
|
WIDGET_BACK_CLICK: string;
|
|
@@ -36,9 +36,6 @@ export declare class GlobalStore {
|
|
|
36
36
|
userStore: UserStore;
|
|
37
37
|
globalUiStore: GlobalUiStore;
|
|
38
38
|
isInitialized: boolean;
|
|
39
|
-
constructor(
|
|
40
|
-
|
|
41
|
-
transactionStoreProps?: any;
|
|
42
|
-
});
|
|
43
|
-
initialize: (endpoint: string, token: string, storesToInitialize?: string[]) => Promise<void>;
|
|
39
|
+
constructor();
|
|
40
|
+
initialize: (endpoint: string, token: string) => Promise<void>;
|
|
44
41
|
}
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { UserApi } from '../api';
|
|
2
|
-
import { User, UserProfile } from '../types';
|
|
3
2
|
import { GlobalStore } from './GlobalStore';
|
|
3
|
+
import { User, UserFeature, UserProfile } from '../types';
|
|
4
4
|
export declare class UserStore {
|
|
5
5
|
globalStore: GlobalStore;
|
|
6
|
+
userFeatures: UserFeature[];
|
|
6
7
|
api: UserApi;
|
|
7
8
|
constructor(globalStore: GlobalStore);
|
|
8
9
|
initialize: (endpoint: string, token: string) => Promise<void>;
|
|
9
10
|
get userProfile(): UserProfile;
|
|
10
11
|
get user(): User;
|
|
12
|
+
loadUserFeatures: () => Promise<void>;
|
|
11
13
|
updateUser: (user: User) => Promise<void>;
|
|
12
14
|
updateUserProfile: (userProfile: UserProfile) => Promise<void>;
|
|
13
15
|
}
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
export type Config = {
|
|
2
2
|
enable_renaming_home_accounts: boolean;
|
|
3
|
+
enable_support_requests: boolean;
|
|
4
|
+
show_accounts_widget_in_master: boolean;
|
|
5
|
+
show_budgets_widget_in_master: boolean;
|
|
6
|
+
show_cash_flow_widget_in_master: boolean;
|
|
7
|
+
show_debts_widget_in_master: boolean;
|
|
8
|
+
show_goals_widget_in_master: boolean;
|
|
9
|
+
show_investments_widget_in_master: boolean;
|
|
10
|
+
show_net_worth_widget_in_master: boolean;
|
|
11
|
+
show_notifications_widget_in_master: boolean;
|
|
12
|
+
show_spending_widget_in_master: boolean;
|
|
13
|
+
show_transactions_widget_in_master: boolean;
|
|
14
|
+
show_trends_widget_in_master: boolean;
|
|
3
15
|
};
|
|
4
16
|
export type App = {
|
|
5
17
|
config: Config;
|
|
@@ -1,4 +1,33 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { SxProps } from '@mui/material/styles';
|
|
1
3
|
import { ClientCommunicationProfile, ClientProfile } from './Client';
|
|
4
|
+
interface BreakPoints {
|
|
5
|
+
lg?: number;
|
|
6
|
+
md?: number;
|
|
7
|
+
sm?: number;
|
|
8
|
+
xl?: number;
|
|
9
|
+
xs?: number;
|
|
10
|
+
}
|
|
11
|
+
interface CommonSectionProps {
|
|
12
|
+
description: string;
|
|
13
|
+
image?: string;
|
|
14
|
+
listItems?: string[];
|
|
15
|
+
listTitle?: string;
|
|
16
|
+
subDescription?: string;
|
|
17
|
+
subTitle?: string;
|
|
18
|
+
title: string;
|
|
19
|
+
}
|
|
20
|
+
interface ContentProps {
|
|
21
|
+
section1: CommonSectionProps;
|
|
22
|
+
section2: CommonSectionProps;
|
|
23
|
+
section3: CommonSectionProps;
|
|
24
|
+
section4: CommonSectionProps;
|
|
25
|
+
}
|
|
26
|
+
export interface ContentSectionProps {
|
|
27
|
+
breakPoints: BreakPoints;
|
|
28
|
+
section: CommonSectionProps;
|
|
29
|
+
ListStyle?: React.ElementType;
|
|
30
|
+
}
|
|
2
31
|
export interface HelpCategory {
|
|
3
32
|
flags?: string[];
|
|
4
33
|
guid: string;
|
|
@@ -6,11 +35,17 @@ export interface HelpCategory {
|
|
|
6
35
|
title: string;
|
|
7
36
|
topics: HelpTopic[];
|
|
8
37
|
}
|
|
38
|
+
export interface HelpContentProps {
|
|
39
|
+
hasRequestButton?: boolean;
|
|
40
|
+
onNavigateToList: () => void;
|
|
41
|
+
topicContent: TopicContentProps;
|
|
42
|
+
}
|
|
9
43
|
export interface HelpListProps {
|
|
44
|
+
buttonText: string;
|
|
45
|
+
hasRequestButton?: boolean;
|
|
10
46
|
helpCategories: HelpCategory[];
|
|
11
47
|
helpContent: string;
|
|
12
48
|
helpTitle: string;
|
|
13
|
-
buttonText: string;
|
|
14
49
|
onRequestHelp: () => void;
|
|
15
50
|
onTopicSelect: (topicKey: string) => void;
|
|
16
51
|
}
|
|
@@ -18,5 +53,27 @@ export interface HelpTopic {
|
|
|
18
53
|
label: string;
|
|
19
54
|
topicKey: string;
|
|
20
55
|
}
|
|
56
|
+
export interface ImageContentProps {
|
|
57
|
+
altImage: string;
|
|
58
|
+
content: React.ReactNode;
|
|
59
|
+
hasDivider?: boolean;
|
|
60
|
+
image: string;
|
|
61
|
+
sx?: SxProps;
|
|
62
|
+
}
|
|
63
|
+
export interface NoImageContentProps {
|
|
64
|
+
content: React.ReactNode;
|
|
65
|
+
hasDivider?: boolean;
|
|
66
|
+
sx?: SxProps;
|
|
67
|
+
}
|
|
21
68
|
export interface Profile extends ClientCommunicationProfile, ClientProfile {
|
|
22
69
|
}
|
|
70
|
+
export interface Styles {
|
|
71
|
+
[key: string]: SxProps;
|
|
72
|
+
}
|
|
73
|
+
interface TopicContentProps {
|
|
74
|
+
guid: string;
|
|
75
|
+
content: ContentProps;
|
|
76
|
+
title: string;
|
|
77
|
+
topicTitle: string;
|
|
78
|
+
}
|
|
79
|
+
export {};
|
|
@@ -30,3 +30,13 @@ export interface UserProfile {
|
|
|
30
30
|
uses_detailed_notifications: boolean;
|
|
31
31
|
user_guid: string;
|
|
32
32
|
}
|
|
33
|
+
export interface UserFeature {
|
|
34
|
+
feature_guid: string;
|
|
35
|
+
feature_name: string;
|
|
36
|
+
guid: string;
|
|
37
|
+
is_enabled: boolean;
|
|
38
|
+
should_notify_user: boolean;
|
|
39
|
+
user_guid: string;
|
|
40
|
+
created_at: string;
|
|
41
|
+
updated_at: string;
|
|
42
|
+
}
|
|
@@ -24,6 +24,6 @@ export type { ScheduledPayment } from './ScheduledPayment';
|
|
|
24
24
|
export type { SpendingPlan, SpendingPlanAccount, SpendingPlanIteration, IterationItem, } from './SpendingPlan';
|
|
25
25
|
export type { Tag, Tagging, Transaction, TransactionRule } from './Transaction';
|
|
26
26
|
export { TransactionStatus, TransactionType } from './Transaction';
|
|
27
|
-
export type { User, UserProfile } from './User';
|
|
27
|
+
export type { User, UserFeature, UserProfile } from './User';
|
|
28
28
|
export { ScreenSize } from './ScreenSize';
|
|
29
29
|
export type { MiniWidgetProps, WidgetProps } from './Widgets';
|
|
@@ -2,7 +2,57 @@ export interface DebtsCopy {
|
|
|
2
2
|
add_interest_rate: string;
|
|
3
3
|
add_monthly_payment: string;
|
|
4
4
|
add_original_balance: string;
|
|
5
|
+
details_chart_description: string;
|
|
6
|
+
details_chart_title: string;
|
|
7
|
+
details_close_aria: string;
|
|
5
8
|
details_interest_rate: string;
|
|
6
9
|
details_monthly_payment: string;
|
|
7
10
|
details_original_balance: string;
|
|
11
|
+
details_tabs_aria_label: string;
|
|
12
|
+
details_tab_label: string;
|
|
13
|
+
details_title: string;
|
|
14
|
+
priority_sort_highest_balance: string;
|
|
15
|
+
priority_sort_highest_interest: string;
|
|
16
|
+
priority_sort_lowest_balance: string;
|
|
17
|
+
schedule_amount_heading: string;
|
|
18
|
+
schedule_complete_message: string;
|
|
19
|
+
schedule_error_message: string;
|
|
20
|
+
schedule_month_heading: string;
|
|
21
|
+
schedule_month_label: string;
|
|
22
|
+
schedule_payoff_label: string;
|
|
23
|
+
schedule_tab_label: string;
|
|
24
|
+
snowball_card_amount_description: string;
|
|
25
|
+
snowball_card_cta: string;
|
|
26
|
+
snowball_card_date_description: string;
|
|
27
|
+
snowball_card_duration_description: string;
|
|
28
|
+
snowball_drawer_amount_description: string;
|
|
29
|
+
snowball_drawer_answer: string;
|
|
30
|
+
snowball_drawer_debt_label: string;
|
|
31
|
+
snowball_drawer_disclaimer: string;
|
|
32
|
+
snowball_drawer_duration_description: string;
|
|
33
|
+
snowball_drawer_less: string;
|
|
34
|
+
snowball_drawer_month_header: string;
|
|
35
|
+
snowball_drawer_more: string;
|
|
36
|
+
snowball_drawer_paid_label: string;
|
|
37
|
+
snowball_drawer_payment_header: string;
|
|
38
|
+
snowball_drawer_question: string;
|
|
39
|
+
snowball_drawer_rollover_explainer_pt1: string;
|
|
40
|
+
snowball_drawer_rollover_explainer_pt2: string;
|
|
41
|
+
snowball_drawer_savings: string;
|
|
42
|
+
snowball_drawer_subtitle: string;
|
|
43
|
+
snowball_drawer_title: string;
|
|
44
|
+
snowball_drawer_total_label: string;
|
|
45
|
+
status_complete_description: string;
|
|
46
|
+
status_complete_title: string;
|
|
47
|
+
status_error_description: string;
|
|
48
|
+
status_error_title: string;
|
|
49
|
+
status_info_description: string;
|
|
50
|
+
status_info_title: string;
|
|
51
|
+
table_column_account: string;
|
|
52
|
+
table_column_amount_due: string;
|
|
53
|
+
table_column_balance: string;
|
|
54
|
+
table_column_interest_rate: string;
|
|
55
|
+
table_column_payoff_date: string;
|
|
56
|
+
table_column_priority: string;
|
|
57
|
+
title: string;
|
|
8
58
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface DebtsPrioriyButtonProps {
|
|
3
|
+
buttonText: string;
|
|
4
|
+
isOpen: boolean;
|
|
5
|
+
onClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const DebtsPriorityButton: ({ buttonText, isOpen, onClick }: DebtsPrioriyButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
interface DebtsPriorityPopoverProps {
|
|
2
|
+
buttonEl: HTMLButtonElement | null;
|
|
3
|
+
onClose: () => void;
|
|
4
|
+
}
|
|
5
|
+
export declare const DebtsPriorityPopover: (({ buttonEl, onClose }: DebtsPriorityPopoverProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
6
|
+
displayName: string;
|
|
7
|
+
};
|
|
8
|
+
export {};
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
+
import { DebtPrioriy } from '../constants';
|
|
1
2
|
import { DebtChartData } from '../utils/DebtsWidget';
|
|
2
3
|
export declare class DebtsUiStore {
|
|
3
4
|
isLoading: boolean;
|
|
4
5
|
selectedDebtChartData: DebtChartData;
|
|
6
|
+
selectedDebtPriority: DebtPrioriy;
|
|
5
7
|
constructor();
|
|
6
8
|
get showError(): boolean;
|
|
7
9
|
get showCompleted(): boolean;
|
|
8
10
|
setIsLoading: (isLoading: boolean) => boolean;
|
|
9
11
|
setSelectedDebtChartData: (data: DebtChartData) => DebtChartData;
|
|
12
|
+
setSelectedDebtPriority: (priority: DebtPrioriy) => DebtPrioriy;
|
|
10
13
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Debt } from '../../common';
|
|
2
|
+
import { DebtPrioriy } from '../constants';
|
|
2
3
|
type DataPoint = {
|
|
3
4
|
x: Date;
|
|
4
5
|
y: number;
|
|
@@ -9,5 +10,5 @@ type Dataset = DataPoint[];
|
|
|
9
10
|
export interface DebtChartData extends Debt {
|
|
10
11
|
dataset: Dataset;
|
|
11
12
|
}
|
|
12
|
-
export declare const transformDebtsChartData: (debts: Debt[], initialExtraPayment?: number) => DebtChartData[];
|
|
13
|
+
export declare const transformDebtsChartData: (debts: Debt[], debtPriority: DebtPrioriy, initialExtraPayment?: number) => DebtChartData[];
|
|
13
14
|
export {};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { DebtPrioriy } from '../constants';
|
|
1
2
|
import { DebtChartData } from './DebtsWidget';
|
|
2
3
|
type PayoffProjection = {
|
|
3
4
|
payoffSavings: string;
|
|
4
5
|
payoffDate: string;
|
|
5
6
|
payoffDuration: string;
|
|
6
7
|
};
|
|
7
|
-
export declare function getPayoffProjection(debts: DebtChartData[], extraPayment?: number): PayoffProjection;
|
|
8
|
+
export declare function getPayoffProjection(debts: DebtChartData[], debtPriority: DebtPrioriy, extraPayment?: number): PayoffProjection;
|
|
8
9
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GoalApi } from '../api/GoalApi';
|
|
2
|
-
import { Goal,
|
|
2
|
+
import { Goal, MonthlyCashFlowProfile, RetirementGoalAccount, GlobalStore } from '../../common';
|
|
3
3
|
export declare class GoalStore {
|
|
4
4
|
api: GoalApi;
|
|
5
5
|
globalStore: GlobalStore;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
interface HeaderProps {
|
|
2
|
+
hasRequestButton?: boolean;
|
|
3
|
+
onNavigateToList: () => void;
|
|
4
|
+
title: string;
|
|
5
|
+
topicTitle: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const Header: ({ hasRequestButton, onNavigateToList, title, topicTitle }: HeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -17,3 +17,37 @@ export declare const HELP_CATEGORIES: ({
|
|
|
17
17
|
}[];
|
|
18
18
|
flags?: undefined;
|
|
19
19
|
})[];
|
|
20
|
+
export declare const HELP_CONTENT: {
|
|
21
|
+
accounts: {
|
|
22
|
+
guid: string;
|
|
23
|
+
title: string;
|
|
24
|
+
topicTitle: string;
|
|
25
|
+
content: {
|
|
26
|
+
section1: {
|
|
27
|
+
description: string;
|
|
28
|
+
image: string;
|
|
29
|
+
title: string;
|
|
30
|
+
};
|
|
31
|
+
section2: {
|
|
32
|
+
description: string;
|
|
33
|
+
image: string;
|
|
34
|
+
listItems: string[];
|
|
35
|
+
listTitle: string;
|
|
36
|
+
subDescription: string;
|
|
37
|
+
subTitle: string;
|
|
38
|
+
title: string;
|
|
39
|
+
};
|
|
40
|
+
section3: {
|
|
41
|
+
description: string;
|
|
42
|
+
image: string;
|
|
43
|
+
listItems: string[];
|
|
44
|
+
listTitle: string;
|
|
45
|
+
title: string;
|
|
46
|
+
};
|
|
47
|
+
section4: {
|
|
48
|
+
description: string;
|
|
49
|
+
title: string;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
};
|
package/dist/help/index.d.ts
CHANGED