@mx-cartographer/experiences 4.3.0-alpha.bb5 → 4.3.0-alpha.mega2
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 +20 -0
- package/dist/common/api/UserApi.d.ts +0 -12
- package/dist/common/components/daterangeselector/DateRangeSelector.d.ts +1 -1
- package/dist/common/stores/UserStore.d.ts +0 -6
- package/dist/common/types/Global.d.ts +1 -0
- package/dist/common/types/Help.d.ts +2 -0
- package/dist/common/types/localization/HelpCopy.d.ts +235 -4
- package/dist/goals/util/GoalsUtil.d.ts +3 -2
- package/dist/help/components/content/Header.d.ts +2 -0
- package/dist/help/components/content/section/Notifications.d.ts +4 -0
- package/dist/help/components/content/section/RecurringTransactions.d.ts +4 -0
- package/dist/help/components/content/section/index.d.ts +2 -0
- package/dist/help/constants/index.d.ts +8 -1
- package/dist/help/images/notifications/index.d.ts +3 -0
- package/dist/help/images/recurringTransactions/index.d.ts +4 -0
- package/dist/help/utils/index.d.ts +2 -1
- package/dist/index.es.js +7966 -7910
- package/dist/index.es.js.map +1 -1
- package/dist/settings/api/SettingsApi.d.ts +6 -0
- package/dist/settings/components/profile/VerificationModal.d.ts +5 -4
- package/dist/settings/constants/SettingsConstants.d.ts +2 -0
- package/dist/settings/stores/SettingsStore.d.ts +17 -0
- package/package.json +20 -20
|
@@ -7,6 +7,12 @@ export declare class SettingsApi {
|
|
|
7
7
|
generateDeviceToken: () => Promise<any>;
|
|
8
8
|
getDevices: () => Promise<any>;
|
|
9
9
|
getNotificationProfiles: () => Promise<any>;
|
|
10
|
+
sendEmailVerification: () => Promise<{
|
|
11
|
+
success: boolean;
|
|
12
|
+
}>;
|
|
13
|
+
sendPhoneVerification: () => Promise<{
|
|
14
|
+
success: boolean;
|
|
15
|
+
}>;
|
|
10
16
|
updateDevice: (device: Device) => Promise<any>;
|
|
11
17
|
updateNotificationProfile: (notificationProfile: NotificationProfile) => Promise<any>;
|
|
12
18
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
interface VerificationModalProps {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
modal: {
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
isFor: string;
|
|
5
|
+
};
|
|
5
6
|
onClose: () => void;
|
|
6
|
-
|
|
7
|
+
onPrimaryAction: () => void;
|
|
7
8
|
}
|
|
8
9
|
export declare const VerificationModal: React.FC<VerificationModalProps>;
|
|
9
10
|
export default VerificationModal;
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import { Device, NotificationProfile } from '../../common';
|
|
2
2
|
import { SettingsApi } from '../api/SettingsApi';
|
|
3
|
+
import { AlertProps } from '@mui/material';
|
|
4
|
+
interface SettingsAlertProps {
|
|
5
|
+
message: string;
|
|
6
|
+
severity: AlertProps['severity'];
|
|
7
|
+
}
|
|
3
8
|
export declare class SettingsStore {
|
|
4
9
|
api: SettingsApi;
|
|
10
|
+
alert: SettingsAlertProps;
|
|
5
11
|
devices: Device[];
|
|
6
12
|
notificationProfiles: NotificationProfile[];
|
|
7
13
|
constructor();
|
|
@@ -12,6 +18,17 @@ export declare class SettingsStore {
|
|
|
12
18
|
loadNotificationProfiles: () => Promise<void>;
|
|
13
19
|
deleteDevice: (guid: string) => Promise<void>;
|
|
14
20
|
generateDeviceToken: () => Promise<any>;
|
|
21
|
+
sendEmailVerification: () => Promise<{
|
|
22
|
+
success: boolean;
|
|
23
|
+
}>;
|
|
24
|
+
sendPhoneVerification: () => Promise<{
|
|
25
|
+
success: boolean;
|
|
26
|
+
}>;
|
|
27
|
+
setAlert: (message: string, severity?: SettingsAlertProps["severity"]) => {
|
|
28
|
+
message: string;
|
|
29
|
+
severity: import('@mui/types').OverridableStringUnion<import('@mui/material').AlertColor, import('@mui/material').AlertPropsColorOverrides> | undefined;
|
|
30
|
+
};
|
|
15
31
|
updateDevice: (device: Device) => Promise<void>;
|
|
16
32
|
updateNotificationProfile: (profile: NotificationProfile) => Promise<void>;
|
|
17
33
|
}
|
|
34
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mx-cartographer/experiences",
|
|
3
|
-
"version": "4.3.0-alpha.
|
|
3
|
+
"version": "4.3.0-alpha.mega2",
|
|
4
4
|
"description": "Library containing experience widgets",
|
|
5
5
|
"main": "dist/index.es.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -23,28 +23,28 @@
|
|
|
23
23
|
"citest": "vitest run --coverage"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@emotion/react": "^11.
|
|
27
|
-
"@emotion/styled": "^11.
|
|
26
|
+
"@emotion/react": "^11.11.4",
|
|
27
|
+
"@emotion/styled": "^11.11.0",
|
|
28
28
|
"@honeybadger-io/js": "^6.8.3",
|
|
29
29
|
"@honeybadger-io/react": "^6.1.19",
|
|
30
|
-
"@mui
|
|
31
|
-
"@mui/
|
|
32
|
-
"@mui/
|
|
33
|
-
"@mui/
|
|
34
|
-
"@mui/
|
|
35
|
-
"@mui/x-
|
|
36
|
-
"@mui/x-
|
|
37
|
-
"@mui/x-date-pickers
|
|
30
|
+
"@kyper/mui": "^4.4.3",
|
|
31
|
+
"@mui/icons-material": "^5.16.0",
|
|
32
|
+
"@mui/lab": "^5.0.0-alpha.172",
|
|
33
|
+
"@mui/material": "^5.16.0",
|
|
34
|
+
"@mui/system": "^5.16.0",
|
|
35
|
+
"@mui/x-charts": "^7.9.0",
|
|
36
|
+
"@mui/x-data-grid-pro": "^7.9.0",
|
|
37
|
+
"@mui/x-date-pickers": "^7.9.0",
|
|
38
|
+
"@mui/x-date-pickers-pro": "^7.9.0",
|
|
38
39
|
"@mxenabled/cssinjs": "^0.6.0",
|
|
39
|
-
"@mxenabled/mx-icons": "^1.
|
|
40
|
-
"@mxenabled/mxui": "1.0.0-alpha.v6",
|
|
40
|
+
"@mxenabled/mx-icons": "^1.2.0",
|
|
41
41
|
"@mxenabled/web-widget-sdk": "^0.0.13",
|
|
42
|
-
"@tanstack/react-virtual": "^3.
|
|
42
|
+
"@tanstack/react-virtual": "^3.8.2",
|
|
43
43
|
"bowser": "^2.11.0",
|
|
44
44
|
"d3": "^7.9.0",
|
|
45
|
-
"date-fns": "^
|
|
46
|
-
"mobx": "^6.13.
|
|
47
|
-
"mobx-react-lite": "^4.
|
|
45
|
+
"date-fns": "^3.6.0",
|
|
46
|
+
"mobx": "^6.13.0",
|
|
47
|
+
"mobx-react-lite": "^4.0.7",
|
|
48
48
|
"numeral": "^2.0.6",
|
|
49
49
|
"posthog-js": "^1.104.3",
|
|
50
50
|
"react": "^18.3.1",
|
|
@@ -108,9 +108,9 @@
|
|
|
108
108
|
"vitest": "^2.1.9"
|
|
109
109
|
},
|
|
110
110
|
"peerDependencies": {
|
|
111
|
-
"@
|
|
111
|
+
"@kyper/mui": "^4",
|
|
112
112
|
"d3": "^7",
|
|
113
|
-
"date-fns": "^
|
|
113
|
+
"date-fns": "^3",
|
|
114
114
|
"react": "^18",
|
|
115
115
|
"react-dom": "^18"
|
|
116
116
|
},
|
|
@@ -119,5 +119,5 @@
|
|
|
119
119
|
"CHANGELOG.md",
|
|
120
120
|
"README.md"
|
|
121
121
|
],
|
|
122
|
-
"packageManager": "yarn@4.
|
|
122
|
+
"packageManager": "yarn@4.6.0"
|
|
123
123
|
}
|