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