@mx-cartographer/experiences 6.13.0 → 6.13.1-alpha.mega1
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 +12 -0
- package/dist/common/components/listitems/ToggleButtonListItem.d.ts +4 -1
- package/dist/common/components/listitems/ToggleListItem.d.ts +2 -1
- package/dist/common/types/Notification.d.ts +13 -24
- package/dist/common/types/index.d.ts +2 -2
- package/dist/common/types/localization/SettingsCopy.d.ts +8 -0
- package/dist/index.es.js +5838 -5901
- package/dist/index.es.js.map +1 -1
- package/dist/notifications/components/NotificationDrawer.d.ts +2 -3
- package/dist/notifications/constants/NotificationConstants.d.ts +1 -2
- package/dist/settings/components/notifications/AccountNotificationProfile.d.ts +9 -0
- package/dist/settings/components/notifications/AccountNotificationProfiles.d.ts +3 -0
- package/dist/settings/components/notifications/BudgetNotificationProfiles.d.ts +1 -0
- package/dist/settings/components/notifications/InsightsNotificationProfiles.d.ts +1 -0
- package/dist/settings/components/notifications/NotificationProfile.d.ts +8 -0
- package/dist/settings/components/notifications/NotificationSettings.d.ts +2 -7
- package/dist/settings/constants/Settings.d.ts +0 -2
- package/dist/settings/index.d.ts +4 -1
- package/dist/settings/stores/SettingsStore.d.ts +2 -6
- package/dist/settings/util/Notifications.d.ts +1 -2
- package/package.json +2 -2
- package/dist/settings/components/notifications/InsightsNotificationTypes.d.ts +0 -2
- package/dist/settings/components/notifications/NotificationProfileDetails.d.ts +0 -9
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { Notification } from '../../common';
|
|
2
|
-
import { Types } from '../../settings/components/notifications/NotificationSettings';
|
|
1
|
+
import { Notification, NotificationTypes } from '../../common';
|
|
3
2
|
interface NotificationDrawerProps {
|
|
4
|
-
notificationTypes?:
|
|
3
|
+
notificationTypes?: NotificationTypes[];
|
|
5
4
|
isOpen: boolean;
|
|
6
5
|
onClose: () => void;
|
|
7
6
|
onNotificationClick?: (notification: Notification) => void;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const getNotificationDetailRoute: (notificationType: NotificationType) => string | null;
|
|
1
|
+
export declare const getNotificationDetailRoute: (notificationType: number) => string | null;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DetailedNotificationProfile } from '../../../common';
|
|
2
|
+
interface AccountNotificationProfileProps {
|
|
3
|
+
onUpdateProfile: (profile: DetailedNotificationProfile) => void;
|
|
4
|
+
profile: DetailedNotificationProfile;
|
|
5
|
+
}
|
|
6
|
+
export declare const AccountNotificationProfile: (({ onUpdateProfile, profile }: AccountNotificationProfileProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
7
|
+
displayName: string;
|
|
8
|
+
};
|
|
9
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BudgetNotificationProfiles: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const InsightsNotificationProfiles: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DetailedNotificationProfile } from '../../../common';
|
|
2
|
+
interface BudgetNotificationProfileProps {
|
|
3
|
+
profile: DetailedNotificationProfile;
|
|
4
|
+
}
|
|
5
|
+
export declare const NotificationProfile: (({ profile }: BudgetNotificationProfileProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
6
|
+
displayName: string;
|
|
7
|
+
};
|
|
8
|
+
export {};
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
|
|
3
|
-
Accounts = "accounts",
|
|
4
|
-
Budgets = "budgets",
|
|
5
|
-
Delivery = "delivery",
|
|
6
|
-
Insights = "insights"
|
|
7
|
-
}
|
|
2
|
+
import { NotificationTypes } from '../../../common';
|
|
8
3
|
export interface NotificationSettingsProps {
|
|
9
|
-
notificationTypes?:
|
|
4
|
+
notificationTypes?: NotificationTypes[];
|
|
10
5
|
}
|
|
11
6
|
export declare const NotificationSettings: React.FC<NotificationSettingsProps>;
|
package/dist/settings/index.d.ts
CHANGED
|
@@ -5,6 +5,9 @@ export { SettingsWidgetContents } from './components/SettingsWidgetContents';
|
|
|
5
5
|
export { default as ProfileTab } from './components/profile/ProfileTab';
|
|
6
6
|
export { default as DeviceTab } from './components/devices/DeviceTab';
|
|
7
7
|
export { NotificationSettingsWidget } from './NotificationSettingsWidget';
|
|
8
|
-
export { NotificationSettings
|
|
8
|
+
export { NotificationSettings } from './components/notifications/NotificationSettings';
|
|
9
|
+
export { AccountNotificationProfiles } from './components/notifications/AccountNotificationProfiles';
|
|
10
|
+
export { BudgetNotificationProfiles } from './components/notifications/BudgetNotificationProfiles';
|
|
11
|
+
export { InsightsNotificationProfiles } from './components/notifications/InsightsNotificationProfiles';
|
|
9
12
|
export { default as TransactionRulesTab } from './components/transactionrules/TransactionRulesTab';
|
|
10
13
|
export { TransactionRulesWidget } from './TransactionRulesWidget';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AlertProps } from '@mui/material';
|
|
2
|
-
import { GlobalStore, SettingsCopy, TransactionRule, DetailedNotificationProfile,
|
|
2
|
+
import { GlobalStore, SettingsCopy, TransactionRule, DetailedNotificationProfile, Device, NotificationProfile, User, UserCommunicationProfile } from '../../common';
|
|
3
3
|
import { SettingsApi } from '../api/SettingsApi';
|
|
4
4
|
import { TransactionApi } from '../../transactions';
|
|
5
5
|
interface SettingsAlertProps {
|
|
@@ -13,17 +13,15 @@ export declare class SettingsStore {
|
|
|
13
13
|
alert: SettingsAlertProps;
|
|
14
14
|
devices: Device[];
|
|
15
15
|
notificationProfiles: NotificationProfile[];
|
|
16
|
-
insightsNotificationProfiles: InsightsNotificationProfile[];
|
|
17
16
|
selectedRule: TransactionRule | undefined;
|
|
18
17
|
transactionRules: TransactionRule[];
|
|
19
18
|
constructor(globalStore: GlobalStore);
|
|
20
19
|
get accountProfiles(): DetailedNotificationProfile[];
|
|
21
20
|
get budgetProfiles(): DetailedNotificationProfile[];
|
|
22
|
-
get
|
|
21
|
+
get insightsProfiles(): DetailedNotificationProfile[];
|
|
23
22
|
get clientCommunicationProfile(): import('../../common').ClientCommunicationProfile;
|
|
24
23
|
get copy(): SettingsCopy;
|
|
25
24
|
get detailedNotificationProfiles(): DetailedNotificationProfile[];
|
|
26
|
-
get detailedInsightsNotificationProfiles(): DetailedInsightsNotificationProfile[];
|
|
27
25
|
get userCommunicationsProfile(): UserCommunicationProfile;
|
|
28
26
|
deleteDevice: (guid: string) => Promise<{
|
|
29
27
|
success: boolean;
|
|
@@ -32,7 +30,6 @@ export declare class SettingsStore {
|
|
|
32
30
|
generateDeviceToken: () => Promise<any>;
|
|
33
31
|
loadDevices: () => Promise<void>;
|
|
34
32
|
loadNotificationProfiles: () => Promise<void>;
|
|
35
|
-
loadInsightsNotificationProfiles: () => Promise<void>;
|
|
36
33
|
loadTransactionRules: () => Promise<void>;
|
|
37
34
|
sendEmailVerification: () => Promise<void>;
|
|
38
35
|
sendPhoneVerification: () => Promise<void>;
|
|
@@ -45,7 +42,6 @@ export declare class SettingsStore {
|
|
|
45
42
|
success: boolean;
|
|
46
43
|
}>;
|
|
47
44
|
updateNotificationProfile: (profile: NotificationProfile) => Promise<void>;
|
|
48
|
-
updateInsightsNotificationProfile: (profile: InsightsNotificationProfile) => Promise<void>;
|
|
49
45
|
updateRuleCategory: (rule: TransactionRule) => Promise<void>;
|
|
50
46
|
updateRulePayee: (rule: TransactionRule) => Promise<void>;
|
|
51
47
|
updateUser: (user: User) => Promise<void>;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import { Account, ClientCommunicationProfile, DetailedNotificationProfile, NotificationProfile, SettingsCopy, UserCommunicationProfile } from '../../common';
|
|
2
|
-
|
|
3
|
-
export declare const augmentNotificationProfiles: (accounts: Account[], clientCommunicationsProfile: ClientCommunicationProfile, copy: SettingsCopy, profiles: NotificationProfile[] | InsightsNotificationProfile[], userCommunicationsProfile: UserCommunicationProfile, isForInsightsNotifications?: boolean) => DetailedNotificationProfile[];
|
|
2
|
+
export declare const augmentNotificationProfiles: (accounts: Account[], clientCommunicationsProfile: ClientCommunicationProfile, copy: SettingsCopy, profiles: NotificationProfile[], userCommunicationsProfile: UserCommunicationProfile) => DetailedNotificationProfile[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mx-cartographer/experiences",
|
|
3
|
-
"version": "6.13.
|
|
3
|
+
"version": "6.13.1-alpha.mega1",
|
|
4
4
|
"description": "Library containing experience widgets",
|
|
5
5
|
"main": "dist/index.es.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -124,5 +124,5 @@
|
|
|
124
124
|
"CHANGELOG.md",
|
|
125
125
|
"README.md"
|
|
126
126
|
],
|
|
127
|
-
"packageManager": "yarn@4.9.
|
|
127
|
+
"packageManager": "yarn@4.9.2"
|
|
128
128
|
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { DetailedNotificationProfile, NotificationProfile } from '../../../common';
|
|
2
|
-
interface NotificationProfileDetailsProps {
|
|
3
|
-
onUpdateProfile: (profile: NotificationProfile) => void;
|
|
4
|
-
profile: DetailedNotificationProfile;
|
|
5
|
-
}
|
|
6
|
-
export declare const NotificationProfileDetails: (({ onUpdateProfile, profile }: NotificationProfileDetailsProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
7
|
-
displayName: string;
|
|
8
|
-
};
|
|
9
|
-
export {};
|