@mx-cartographer/experiences 5.1.0-alpha.san2 → 5.1.2
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 +16 -0
- package/dist/common/api/AppDataApi.d.ts +1 -1
- package/dist/common/components/index.d.ts +2 -0
- package/dist/common/components/listitems/ToggleButtonListItem.d.ts +10 -0
- package/dist/common/components/listitems/ToggleListItem.d.ts +9 -0
- package/dist/common/stores/AppDataStore.d.ts +5 -2
- package/dist/common/types/Notification.d.ts +7 -18
- package/dist/common/types/index.d.ts +3 -2
- package/dist/common/types/localization/SettingsCopy.d.ts +25 -0
- package/dist/index.es.js +5224 -4869
- package/dist/index.es.js.map +1 -1
- package/dist/microinsights/components/beatCard/BeatCard.d.ts +2 -2
- package/dist/microinsights/components/carouselheader/CarouselHeader.d.ts +3 -4
- package/dist/microinsights/components/insightsmicrowidget/InsightsMicroWidget.d.ts +2 -2
- package/dist/microinsights/components/noRelevantInsightsCard/NoRelevantInsightsCard.d.ts +1 -1
- package/dist/microinsights/components/viewMoreMicroCard/ViewMoreMicroCard.d.ts +1 -1
- package/dist/microinsights/components/zeroStateCard/ZeroStateCard.d.ts +1 -1
- package/dist/microinsights/interfaces.d.ts +35 -2
- package/dist/settings/components/notifications/AccountProfileListItem.d.ts +9 -0
- package/dist/settings/components/notifications/DeliveryMethods.d.ts +3 -0
- package/dist/settings/components/notifications/NotificationProfileDetails.d.ts +9 -0
- package/dist/settings/components/notifications/NotificationSettings.d.ts +3 -0
- package/dist/settings/stores/SettingsStore.d.ts +7 -3
- package/dist/settings/util/Notifications.d.ts +2 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,24 @@
|
|
|
1
|
+
## [5.1.2] - 03-28-2025
|
|
2
|
+
|
|
3
|
+
- **UPDATED** - Posthog usage in `InsightsMicroWidget`
|
|
4
|
+
|
|
5
|
+
## [5.1.1] - 03-28-2025
|
|
6
|
+
|
|
7
|
+
- **FIXED** - Adjusted goal tile display to properly handle large dollar amounts.
|
|
8
|
+
|
|
1
9
|
## [5.1.0] - 03-27-2025
|
|
2
10
|
|
|
11
|
+
- **ADDED** - Notification settings tab in `SettingsWidget`
|
|
12
|
+
|
|
13
|
+
## [5.0.23] - 03-27-2025
|
|
14
|
+
|
|
3
15
|
- **FIXED** - Fixed a bug for Projected dates updating after saving in Goals.
|
|
4
16
|
- **FIXED** - Help Widget | Consistency fix for Mobile, NetWorth, Notifications, RecurringTransactions
|
|
5
17
|
|
|
18
|
+
## [5.0.22] - 03-27-2025
|
|
19
|
+
|
|
20
|
+
- **FIXED** - Goals | text not wrapping on mobile screen size fixed
|
|
21
|
+
|
|
6
22
|
## [5.0.21] - 03-26-2025
|
|
7
23
|
|
|
8
24
|
- **UPDATED** - Handled request support in the help content page.
|
|
@@ -22,3 +22,5 @@ export { ConnectCard } from './ConnectCard';
|
|
|
22
22
|
export { CurrencyText } from './CurrencyText';
|
|
23
23
|
export { ListItemAction } from './ListItemAction';
|
|
24
24
|
export { ListItemWrapper } from './ListItemWrapper';
|
|
25
|
+
export { ToggleButtonListItem } from './listitems/ToggleButtonListItem';
|
|
26
|
+
export { ToggleListItem } from './listitems/ToggleListItem';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
interface ToggleButtonListItemProps {
|
|
2
|
+
isChecked: boolean;
|
|
3
|
+
isDisabled?: boolean;
|
|
4
|
+
onClick: () => void;
|
|
5
|
+
onToggle: () => void;
|
|
6
|
+
primaryText: string;
|
|
7
|
+
secondaryText?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const ToggleButtonListItem: ({ isChecked, isDisabled, onClick, onToggle, primaryText, secondaryText, }: ToggleButtonListItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface ToggleListItemProps {
|
|
2
|
+
isChecked: boolean;
|
|
3
|
+
isDisabled?: boolean;
|
|
4
|
+
onToggle: () => void;
|
|
5
|
+
primaryText: string;
|
|
6
|
+
secondaryText?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const ToggleListItem: ({ isChecked, isDisabled, onToggle, primaryText, secondaryText, }: ToggleListItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
import { AppDataApi } from '../api/AppDataApi';
|
|
2
|
-
import { AppData, User, UserProfile } from '../types';
|
|
2
|
+
import { AppData, ClientCommunicationProfile, User, UserCommunicationProfile, UserProfile } from '../types';
|
|
3
3
|
export declare class AppDataStore {
|
|
4
4
|
appData: AppData;
|
|
5
5
|
api: AppDataApi;
|
|
6
6
|
constructor();
|
|
7
7
|
initialize: (endpoint: string, token: string) => Promise<void>;
|
|
8
|
+
get clientCommunicationProfile(): ClientCommunicationProfile;
|
|
8
9
|
get user(): User;
|
|
9
|
-
get userCommunicationProfile():
|
|
10
|
+
get userCommunicationProfile(): UserCommunicationProfile;
|
|
10
11
|
get userProfile(): UserProfile;
|
|
11
12
|
loadAppData: () => Promise<void>;
|
|
13
|
+
setClientCommunicationProfile: (profile: ClientCommunicationProfile) => void;
|
|
12
14
|
setUser: (user: User) => User;
|
|
15
|
+
setUserCommunicationProfile: (profile: UserCommunicationProfile) => UserCommunicationProfile;
|
|
13
16
|
setUserProfile: (userProfile: UserProfile) => UserProfile;
|
|
14
17
|
}
|
|
@@ -22,30 +22,19 @@ export type NotificationProfile = {
|
|
|
22
22
|
sms_channel: boolean;
|
|
23
23
|
threshold?: number | null;
|
|
24
24
|
};
|
|
25
|
+
export interface DetailedNotificationProfile extends NotificationProfile {
|
|
26
|
+
account?: Account;
|
|
27
|
+
children?: DetailedNotificationProfile[];
|
|
28
|
+
deliveryMethodsLabel?: string;
|
|
29
|
+
label: string;
|
|
30
|
+
}
|
|
25
31
|
export declare enum NotificationType {
|
|
26
32
|
BudgetExceeded = 1,
|
|
27
33
|
BudgetOffTarget = 2,
|
|
28
34
|
DebtPaymentReminder = 3,
|
|
29
|
-
GuideMeStepComplete = 4,//deprecated: unused
|
|
30
|
-
GuideMeOffTarget = 5,//deprecated: unused
|
|
31
35
|
AccountBalanceLow = 6,
|
|
32
36
|
AccountDepositLarge = 7,
|
|
33
37
|
TransactionExpenseLarge = 8,
|
|
34
38
|
TransactionFeeCharge = 9,
|
|
35
|
-
|
|
36
|
-
ApiNotification = 11,
|
|
37
|
-
UserSummary = 12,
|
|
38
|
-
Offer = 13,
|
|
39
|
-
PasswordResetToken = 14,
|
|
40
|
-
PasswordChanged = 15,
|
|
41
|
-
EmailVerification = 16,
|
|
42
|
-
EmailVerified = 17,
|
|
43
|
-
WelcomeNewUser = 18,
|
|
44
|
-
DeviceCreated = 19,
|
|
45
|
-
DeviceDeleted = 20,
|
|
46
|
-
SmsVerification = 21,
|
|
47
|
-
AccountNearingZero = 22,
|
|
48
|
-
InternationalTransaction = 23,
|
|
49
|
-
GoalProgress = 25,
|
|
50
|
-
DuplicatePayment = 29
|
|
39
|
+
InternationalTransaction = 23
|
|
51
40
|
}
|
|
@@ -8,6 +8,7 @@ export { UserVerification } from './Beat';
|
|
|
8
8
|
export type { Budget, BudgetColors, DetailedBudget } from './Budget';
|
|
9
9
|
export type { CashflowEvent, CashflowSequence, RepeatDay, RepeatInterval, RepeatMonth, RepeatWeekday, } from './Cashflow';
|
|
10
10
|
export type { Category, CategoryTotal, DateRangeCategoryTotals, DetailedCategory, MonthlyAmount, MonthlyCategoryTotals, } from './Category';
|
|
11
|
+
export type { Client, ClientColorScheme, ClientCommunicationProfile, ClientProfile } from './Client';
|
|
11
12
|
export type { DateType, DateRange } from './Date';
|
|
12
13
|
export type { Expense } from './Expense';
|
|
13
14
|
export { ExpenseStatus, ScheduledPaymentTypes } from './Expense';
|
|
@@ -19,12 +20,12 @@ export type { Institution } from './Institution';
|
|
|
19
20
|
export * from './localization';
|
|
20
21
|
export type { LocalizedContent } from './LocalizedContent';
|
|
21
22
|
export { NotificationType } from './Notification';
|
|
22
|
-
export type { Notification, NotificationProfile } from './Notification';
|
|
23
|
+
export type { DetailedNotificationProfile, Notification, NotificationProfile } from './Notification';
|
|
23
24
|
export type { Merchant } from './Merchant';
|
|
24
25
|
export type { ScheduledPayment } from './ScheduledPayment';
|
|
25
26
|
export type { SpendingPlan, SpendingPlanAccount, SpendingPlanIteration, IterationItem, } from './SpendingPlan';
|
|
26
27
|
export type { Tag, Tagging, Transaction, TransactionRule } from './Transaction';
|
|
27
28
|
export { TransactionStatus, TransactionType } from './Transaction';
|
|
28
|
-
export type { Device, User, UserFeature, UserProfile } from './User';
|
|
29
|
+
export type { Device, User, UserCommunicationProfile, UserFeature, UserProfile } from './User';
|
|
29
30
|
export { ScreenSize } from './ScreenSize';
|
|
30
31
|
export type { MiniWidgetProps, WidgetProps } from './Widgets';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export interface SettingsCopy {
|
|
2
|
+
accounts_title: string;
|
|
2
3
|
birthdate: string;
|
|
4
|
+
budgets_title: string;
|
|
3
5
|
category: string;
|
|
4
6
|
confirm_email: string;
|
|
5
7
|
confirm_phone: string;
|
|
@@ -10,6 +12,17 @@ export interface SettingsCopy {
|
|
|
10
12
|
delete_rule_confirm: string;
|
|
11
13
|
delete_rule_error: string;
|
|
12
14
|
delete_rule_sucess: string;
|
|
15
|
+
delivery_method_email_label: string;
|
|
16
|
+
delivery_method_email_title: string;
|
|
17
|
+
delivery_method_push_label: string;
|
|
18
|
+
delivery_method_push_title: string;
|
|
19
|
+
delivery_method_push_subtitle: string;
|
|
20
|
+
delivery_method_sms_label: string;
|
|
21
|
+
delivery_method_sms_note_1: string;
|
|
22
|
+
delivery_method_sms_note_2: string;
|
|
23
|
+
delivery_method_sms_title: string;
|
|
24
|
+
delivery_method_sms_subtitle: string;
|
|
25
|
+
delivery_method_title: string;
|
|
13
26
|
details: string;
|
|
14
27
|
edit_payee: string;
|
|
15
28
|
edit_payee_error: string;
|
|
@@ -44,6 +57,18 @@ export interface SettingsCopy {
|
|
|
44
57
|
mobile_devices_label: string;
|
|
45
58
|
mobile_devices_title: string;
|
|
46
59
|
mobile_number: string;
|
|
60
|
+
notification_budget_exceeded: string;
|
|
61
|
+
notification_budget_off_target: string;
|
|
62
|
+
notification_debt_payment_date: string;
|
|
63
|
+
notification_debt_payment_reminder: string;
|
|
64
|
+
notification_debt_payment_zero_state: string;
|
|
65
|
+
notification_duplicate_payment: string;
|
|
66
|
+
notification_large_deposit: string;
|
|
67
|
+
notification_large_expense: string;
|
|
68
|
+
notification_low_balance: string;
|
|
69
|
+
notification_threshold_label: string;
|
|
70
|
+
notification_transaction_fee: string;
|
|
71
|
+
notification_transaction_is_international: string;
|
|
47
72
|
notifications_label: string;
|
|
48
73
|
payee: string;
|
|
49
74
|
personal_details: string;
|