@mx-cartographer/experiences 4.1.5 → 4.1.6
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 +5 -0
- package/dist/common/constants/Analytics.d.ts +38 -29
- package/dist/common/types/localization/DebtsCopy.d.ts +1 -0
- package/dist/index.es.js +2936 -2922
- package/dist/index.es.js.map +1 -1
- package/dist/requestsupport/PopularTopicsDrawer.d.ts +8 -0
- package/dist/requestsupport/PopularTopicsList.d.ts +9 -0
- package/dist/requestsupport/PopularTopicsRow.d.ts +6 -1
- package/dist/requestsupport/RequestSupportHeader.d.ts +3 -0
- package/dist/requestsupport/constants/index.d.ts +7 -1
- package/dist/requestsupport/util/index.d.ts +21 -0
- package/package.json +1 -1
|
@@ -1,4 +1,13 @@
|
|
|
1
|
+
import { default as React, CSSProperties } from 'react';
|
|
2
|
+
interface ListItem {
|
|
3
|
+
guid?: string;
|
|
4
|
+
name: string;
|
|
5
|
+
subtitle?: string;
|
|
6
|
+
}
|
|
1
7
|
interface PopularTopicsListProps {
|
|
8
|
+
sx?: CSSProperties;
|
|
9
|
+
list: ListItem[];
|
|
10
|
+
onClick?: (title: string) => void;
|
|
2
11
|
}
|
|
3
12
|
export declare const PopularTopicsList: React.FC<PopularTopicsListProps>;
|
|
4
13
|
export {};
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
1
2
|
interface PopularTopicsRowProps {
|
|
2
|
-
|
|
3
|
+
name: string;
|
|
4
|
+
guid?: string;
|
|
5
|
+
subtitle?: string;
|
|
6
|
+
onClick: () => void;
|
|
7
|
+
sx?: CSSProperties;
|
|
3
8
|
}
|
|
4
9
|
export declare const PopularTopicsRow: React.FC<PopularTopicsRowProps>;
|
|
5
10
|
export {};
|
|
@@ -2,6 +2,9 @@ import { default as React } from 'react';
|
|
|
2
2
|
interface RequestSupportHeaderProps {
|
|
3
3
|
title: string;
|
|
4
4
|
subtitle: string;
|
|
5
|
+
reverse?: boolean;
|
|
6
|
+
hasIcon?: boolean;
|
|
7
|
+
institution?: string;
|
|
5
8
|
}
|
|
6
9
|
export declare const RequestSupportHeader: React.FC<RequestSupportHeaderProps>;
|
|
7
10
|
export {};
|
|
@@ -10,7 +10,13 @@ export declare const CONTACT_SUPPORT_TITLE = "Contact Support";
|
|
|
10
10
|
export declare const CONTACT_SUPPORT_SUBTITLE = "Let us know your questions or concerns, and we'll guide you to the right answer.";
|
|
11
11
|
export declare const CONTACT_SUPPORT_LABEL = "Tell us your questions or concerns.";
|
|
12
12
|
export declare const CONTACT_SUPPORT_WARNING = "*Do not include any private or financial information, such as account numbers or passwords. If you have questions about your account, including transactions, bill payments, transfers, loans and so on, please contact your financial institution\u2019s customer service department.";
|
|
13
|
-
export declare const
|
|
13
|
+
export declare const ACCOUNT = "Account";
|
|
14
|
+
export declare const ACCOUNTS = "Accounts";
|
|
15
|
+
export declare const POPULAR_TOPICS_LIST: {
|
|
16
|
+
name: string;
|
|
17
|
+
}[];
|
|
18
|
+
export declare const POPULAR_TOPICS_HEADER_TITLE = "Questions or concerns around...";
|
|
19
|
+
export declare const INSTITUTION_TOPIC = "Which institution does your situation apply to?";
|
|
14
20
|
export declare const HELP_BY_CATEGORY_LIST: {
|
|
15
21
|
icon: string;
|
|
16
22
|
title: string;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
interface InstitutionType {
|
|
2
|
+
name: string;
|
|
3
|
+
guid: string;
|
|
4
|
+
subtitle?: string;
|
|
5
|
+
}
|
|
6
|
+
interface AccountType {
|
|
7
|
+
institution_guid?: string;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* This function is to filter and map the institutions array by adding the number of associated accounts
|
|
11
|
+
* based on the `guid` from the accounts array.
|
|
12
|
+
* @param institutions - The list of institutions.
|
|
13
|
+
* @param accounts - The list of accounts linked to institutions.
|
|
14
|
+
* @returns - The updated institutions array with account count.
|
|
15
|
+
*/
|
|
16
|
+
export declare const getInstitutionsBasedOnGuid: (institutions: InstitutionType[], accounts: AccountType[]) => {
|
|
17
|
+
guid: string;
|
|
18
|
+
subtitle: string;
|
|
19
|
+
name: string;
|
|
20
|
+
}[];
|
|
21
|
+
export {};
|