@mx-cartographer/experiences 3.7.0-alpha.j1 → 3.7.0-alpha.sms1
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 -22
- package/dist/accounts/ConnectMiniWidget.d.ts +2 -2
- package/dist/accounts/components/ConnectStatus.d.ts +1 -2
- package/dist/accounts/components/ConnectionsDrawer.d.ts +2 -2
- package/dist/accounts/components/detailsdrawer/Accounts/AccountConnection.d.ts +2 -4
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsContent.d.ts +2 -4
- package/dist/accounts/utils/AccountFields.d.ts +3 -3
- package/dist/budgets/utils/Budget.d.ts +2 -2
- package/dist/cashflow/components/RemainingCash.d.ts +2 -2
- package/dist/common/components/CurrencyInput.d.ts +7 -2
- package/dist/common/components/CurrencyText.d.ts +0 -1
- package/dist/common/components/charts/StackedLineChart.d.ts +0 -3
- package/dist/common/components/charts/linechart/CustomLegend.d.ts +2 -5
- package/dist/common/components/charts/stackedlinechart/CustomAreaTooltip.d.ts +2 -2
- package/dist/common/constants/Analytics.d.ts +0 -9
- package/dist/common/types/GlobalCopy.d.ts +1 -8
- package/dist/common/types/localization/AccountFilterCopy.d.ts +0 -4
- package/dist/common/types/localization/CashflowCopy.d.ts +1 -7
- package/dist/common/types/localization/CategoryCopy.d.ts +0 -1
- package/dist/common/types/localization/CommonCopy.d.ts +1 -9
- package/dist/common/types/localization/DateRangePickerCopy.d.ts +0 -5
- package/dist/common/types/localization/TransactionsCopy.d.ts +0 -3
- package/dist/common/types/localization/index.d.ts +0 -8
- package/dist/index.es.js +5723 -5563
- package/dist/index.es.js.map +1 -1
- package/dist/microinsights/components/insightsmicrowidget/InsightsMicroWidget.d.ts +1 -0
- package/dist/microinsights/stores/AppStore.d.ts +1 -1
- package/dist/microinsights/stores/InsightsMicroWidgetStore.d.ts +9 -3
- package/dist/notifications/components/NotificationBadge.d.ts +2 -2
- package/dist/notifications/components/NotificationList.d.ts +2 -2
- package/dist/recurringactivity/components/ActivityList.d.ts +2 -2
- package/dist/recurringactivity/components/ActivityRow.d.ts +2 -2
- package/dist/recurringactivity/components/ActivityStatus.d.ts +2 -2
- package/dist/recurringactivity/components/activitycalendar/Legend.d.ts +2 -4
- package/dist/recurringactivity/components/shared/ActivitySettings.d.ts +2 -4
- package/dist/recurringactivity/components/shared/activitysettings/AddActivityDetails.d.ts +2 -2
- package/dist/spending/components/SpendingDonut.d.ts +2 -2
- package/dist/spending/components/SpendingList.d.ts +2 -2
- package/dist/transactions/components/shared/transactiondetails/Description.d.ts +2 -2
- package/dist/transactions/components/shared/transactiondetails/FlagTransaction.d.ts +2 -2
- package/dist/transactions/components/shared/transactiondetails/actions/DeleteAction.d.ts +2 -2
- package/dist/transactions/components/shared/transactiondetails/actions/DeleteLogoAction.d.ts +2 -2
- package/dist/transactions/components/shared/transactiondetails/actions/HideAction.d.ts +2 -2
- package/dist/transactions/components/shared/transactiondetails/actions/MemoAction.d.ts +2 -2
- package/dist/transactions/components/shared/transactiondetails/actions/SplitAction.d.ts +2 -2
- package/dist/transactions/components/shared/transactiontable/cells/CategoryCell.d.ts +3 -5
- package/dist/transactions/components/shared/transactiontable/cells/FlagCell.d.ts +3 -5
- package/dist/transactions/components/splitmanager/SplitManager.d.ts +2 -2
- package/dist/transactions/components/splitmanager/SplitRow.d.ts +2 -2
- package/dist/transactions/components/tagmanager/Header.d.ts +2 -4
- package/dist/transactions/components/tagmanager/SearchBox.d.ts +2 -2
- package/dist/transactions/components/tagmanager/TagRow.d.ts +2 -2
- package/dist/transactions/components/transactionwidget/actions/EditCategoryAction.d.ts +2 -2
- package/package.json +3 -3
- package/dist/common/types/localization/AccountTypeCopy.d.ts +0 -16
- package/dist/common/types/localization/AccountsCopy.d.ts +0 -113
- package/dist/common/types/localization/BudgetsCopy.d.ts +0 -11
- package/dist/common/types/localization/ConnectCopy.d.ts +0 -74
- package/dist/common/types/localization/NotificationsCopy.d.ts +0 -7
- package/dist/common/types/localization/RecurringCopy.d.ts +0 -76
- package/dist/common/types/localization/SpendingCopy.d.ts +0 -16
- package/dist/common/types/localization/TrendsCopy.d.ts +0 -9
- package/dist/recurringactivity/util/getRecurrence.d.ts +0 -9
- package/dist/recurringactivity/util/getStatus.d.ts +0 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,25 +1,3 @@
|
|
|
1
|
-
## [3.7.0] - 10-15-2024
|
|
2
|
-
|
|
3
|
-
- **CHANGED** - Pull Accounts copy from GlobalCopyStore
|
|
4
|
-
- **CHANGED** - Pull Budgets copy from GlobalCopyStore
|
|
5
|
-
- **CHANGED** - Pull Connect related copy from GlobalCopyStore
|
|
6
|
-
- **CHANGED** - Pull Dashboard copy from GlobalCopyStore
|
|
7
|
-
- **CHANGED** - Pull Notifications copy from GlobalCopyStore
|
|
8
|
-
- **CHANGED** - Pull Spending copy from GlobalCopyStore
|
|
9
|
-
- **CHANGED** - Pull Recurring Activity copy from GlobalCopyStore
|
|
10
|
-
|
|
11
|
-
## [3.6.3] - 10-08-2024
|
|
12
|
-
|
|
13
|
-
- **UPDATED** - Handle localization for `TrendsFullWidget` components
|
|
14
|
-
|
|
15
|
-
## [3.6.2] - 10-08-2024
|
|
16
|
-
|
|
17
|
-
- **UPDATED** - Add Posthog events to `TrendsFullWidget` components
|
|
18
|
-
|
|
19
|
-
## [3.6.1] - 10-03-2024
|
|
20
|
-
|
|
21
|
-
- **UPDATED** - `SetUpDirectDepositBeatBody` component style
|
|
22
|
-
|
|
23
1
|
## [3.6.0] - 10-03-2024
|
|
24
2
|
|
|
25
3
|
- **ADDED** - `TrendsTable` and `TrendsFullWidget` components
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { MiniWidgetProps } from '../common';
|
|
3
3
|
|
|
4
|
-
declare const
|
|
5
|
-
export default
|
|
4
|
+
declare const ConnectMiniWidget: React.FC<MiniWidgetProps>;
|
|
5
|
+
export default ConnectMiniWidget;
|
|
@@ -5,5 +5,5 @@ interface ConnectionsDrawerProps {
|
|
|
5
5
|
showConnectionsWidget: boolean;
|
|
6
6
|
title: string;
|
|
7
7
|
}
|
|
8
|
-
declare const
|
|
9
|
-
export default
|
|
8
|
+
declare const ConnectionsDrawer: React.FC<ConnectionsDrawerProps>;
|
|
9
|
+
export default ConnectionsDrawer;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Account
|
|
1
|
+
import { Account } from '../../common';
|
|
2
2
|
|
|
3
3
|
type SelectOption = {
|
|
4
4
|
label: string;
|
|
@@ -16,8 +16,8 @@ export type AccountField = {
|
|
|
16
16
|
validation?: (val: any) => string;
|
|
17
17
|
valueFormatter: (val: any) => any;
|
|
18
18
|
};
|
|
19
|
-
export declare const getAccountDetailFields: (account: Account
|
|
20
|
-
export declare const getAccountBalanceDetails: (account: Account
|
|
19
|
+
export declare const getAccountDetailFields: (account: Account) => AccountField[];
|
|
20
|
+
export declare const getAccountBalanceDetails: (account: Account) => {
|
|
21
21
|
firstSubtitle: string;
|
|
22
22
|
firstValue: number | undefined;
|
|
23
23
|
secondSubtitle: string | import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Theme } from '@mui/system';
|
|
2
|
-
import { Budget,
|
|
2
|
+
import { Budget, Category } from '../../common';
|
|
3
3
|
import { BubbleData } from '../components/BubbleChart';
|
|
4
4
|
|
|
5
5
|
export declare const getBudgetPercentage: (budgetAmount: number, budgetSpent: number) => number;
|
|
@@ -10,5 +10,5 @@ interface BubbleColors {
|
|
|
10
10
|
}
|
|
11
11
|
export declare const getBubbleColors: (budgetAmount: number, budgetSpent: number, theme: Theme) => BubbleColors;
|
|
12
12
|
export declare const useGetBudgetDifference: () => number;
|
|
13
|
-
export declare const buildBubbleData: (budgets: Budget[], categories: Category[], theme: Theme
|
|
13
|
+
export declare const buildBubbleData: (budgets: Budget[], categories: Category[], theme: Theme) => BubbleData[];
|
|
14
14
|
export {};
|
|
@@ -1,13 +1,18 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { TextFieldProps as MuiTextFieldProps } from '@mui/material/TextField';
|
|
3
|
-
import { CurrencyInputCopy } from '../types';
|
|
4
3
|
|
|
4
|
+
type CopyObject = {
|
|
5
|
+
error_amount_is_invalid: string;
|
|
6
|
+
error_amount_must_be_equal_to: string;
|
|
7
|
+
error_amount_must_be_less_than_or_equal_to: string;
|
|
8
|
+
enter_amount: string;
|
|
9
|
+
};
|
|
5
10
|
type CurrencyInputProps = {
|
|
6
11
|
allowDecimals?: boolean;
|
|
7
12
|
amountIsRequired?: boolean;
|
|
8
13
|
ariaLabel?: string;
|
|
9
14
|
amount: string | number;
|
|
10
|
-
copy?:
|
|
15
|
+
copy?: CopyObject;
|
|
11
16
|
customValidate?: () => boolean;
|
|
12
17
|
errorText?: string;
|
|
13
18
|
label?: string;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
|
|
3
3
|
interface StackedLineChartProps {
|
|
4
|
-
onHoverArea?: (category: string) => void;
|
|
5
|
-
onHoverPoint?: (category: string) => void;
|
|
6
|
-
onHoverLegend?: (category: string) => void;
|
|
7
4
|
stackedColors: (string | undefined)[];
|
|
8
5
|
stackedDatasets: {
|
|
9
6
|
x: string;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
export declare const CustomLegend: ({ series, average, style, }: {
|
|
2
2
|
average: number;
|
|
3
3
|
series: any[];
|
|
4
4
|
style: any;
|
|
5
|
-
}) => import("react/jsx-runtime").JSX.Element
|
|
6
|
-
displayName: string;
|
|
7
|
-
};
|
|
8
|
-
export default _default;
|
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -4,7 +4,7 @@ type DataPoint = {
|
|
|
4
4
|
x: string | number;
|
|
5
5
|
y: number;
|
|
6
6
|
};
|
|
7
|
-
declare const
|
|
7
|
+
export declare const CustomAreaTooltip: React.FC<{
|
|
8
8
|
categoryGuid: string;
|
|
9
9
|
hoveredAreaData: DataPoint[];
|
|
10
10
|
cursorPosition: {
|
|
@@ -13,4 +13,4 @@ declare const _default: React.FunctionComponent<{
|
|
|
13
13
|
};
|
|
14
14
|
chartContainerRef: React.RefObject<HTMLDivElement>;
|
|
15
15
|
}>;
|
|
16
|
-
export
|
|
16
|
+
export {};
|
|
@@ -39,14 +39,5 @@ export declare const ANALYTICS_EVENTS: {
|
|
|
39
39
|
TRANSACTION_DETAILS_CLICK_SPLIT: string;
|
|
40
40
|
TRANSACTION_DETAILS_CLICK_UNSPLIT: string;
|
|
41
41
|
TRANSACTION_DETAILS_CLICK_TAGS: string;
|
|
42
|
-
TRANSACTION_DETAILS_CLICK_AMOUNT: string;
|
|
43
|
-
TRENDS_CLICK_FILTER: string;
|
|
44
|
-
TRENDS_CLICK_TOGGLE: string;
|
|
45
|
-
TRENDS_CLICK_DATE: string;
|
|
46
|
-
TRENDS_CLICK_TABLE_SORT: string;
|
|
47
|
-
TRENDS_CLICK_TABLE_ROW: string;
|
|
48
|
-
TRENDS_HOVER_LEGEND: string;
|
|
49
|
-
TRENDS_HOVER_AREA: string;
|
|
50
|
-
TRENDS_HOVER_POINT: string;
|
|
51
42
|
WIDGET_BACK_CLICK: string;
|
|
52
43
|
};
|
|
@@ -1,18 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CashflowCopy, CategoryCopy, CommonCopy, InsightsFeedCopy, MicroInsightsCopy, TransactionsCopy } from './localization';
|
|
2
2
|
|
|
3
3
|
export interface GlobalCopy {
|
|
4
|
-
accounts: AccountsCopy;
|
|
5
|
-
budgets: BudgetsCopy;
|
|
6
4
|
cashflow: CashflowCopy;
|
|
7
5
|
categories: CategoryCopy;
|
|
8
6
|
common: CommonCopy;
|
|
9
|
-
connect: ConnectCopy;
|
|
10
7
|
insights_feed: InsightsFeedCopy;
|
|
11
8
|
micro_insights: MicroInsightsCopy;
|
|
12
|
-
notifications: NotificationsCopy;
|
|
13
|
-
recurring: RecurringCopy;
|
|
14
|
-
spending: SpendingCopy;
|
|
15
9
|
transactions: TransactionsCopy;
|
|
16
|
-
trends: TrendsCopy;
|
|
17
10
|
}
|
|
18
11
|
export type DynamicCopyElement = HTMLElement | React.ReactNode;
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
export interface AccountFilterCopy {
|
|
2
|
-
account_type_accounts: string;
|
|
3
2
|
filter_button_aria: string;
|
|
4
3
|
filter_button_generic_aria: string;
|
|
5
|
-
select_all_accounts: string;
|
|
6
4
|
title: string;
|
|
7
|
-
toggle_account_type_accounts: string;
|
|
8
|
-
unselect_all_accounts: string;
|
|
9
5
|
zero_state_button: string;
|
|
10
6
|
zero_state_description: string;
|
|
11
7
|
zero_state_title: string;
|
|
@@ -22,8 +22,7 @@ export interface CashflowCopy extends AccountFilterCopy {
|
|
|
22
22
|
cashflow_settings: string;
|
|
23
23
|
cashflow_summary_and_details: string;
|
|
24
24
|
cashflow_title: string;
|
|
25
|
-
|
|
26
|
-
close_settings_aria: string;
|
|
25
|
+
close_drawer_aria: string;
|
|
27
26
|
confirm_error: string;
|
|
28
27
|
confirm_income_button: string;
|
|
29
28
|
current_balance: string;
|
|
@@ -39,7 +38,6 @@ export interface CashflowCopy extends AccountFilterCopy {
|
|
|
39
38
|
institution_logo: string;
|
|
40
39
|
loading_description: string;
|
|
41
40
|
loading_title: string;
|
|
42
|
-
manage_income: string;
|
|
43
41
|
monthly: string;
|
|
44
42
|
next_month_aria: string;
|
|
45
43
|
next_pay_date_label: string;
|
|
@@ -52,16 +50,12 @@ export interface CashflowCopy extends AccountFilterCopy {
|
|
|
52
50
|
projected_monthly_income: string;
|
|
53
51
|
recent_pay_date_label: string;
|
|
54
52
|
remaining: string;
|
|
55
|
-
remaining_income_tooltip_title: string;
|
|
56
|
-
remaining_income_tooltip_body: string;
|
|
57
53
|
remaining_cash: string;
|
|
58
54
|
second_pay_date_label: string;
|
|
59
55
|
semi_monthly: string;
|
|
60
56
|
skip_button: string;
|
|
61
57
|
sub_title: string;
|
|
62
58
|
summary: string;
|
|
63
|
-
table_tooltip_title: string;
|
|
64
|
-
table_tooltip_body: string;
|
|
65
59
|
title: string;
|
|
66
60
|
to_be_paid_out: string;
|
|
67
61
|
to_be_received: string;
|
|
@@ -7,7 +7,6 @@ export interface CategoryCopy {
|
|
|
7
7
|
add_subcategory_title: string;
|
|
8
8
|
all_parent_category: string;
|
|
9
9
|
all_transactions_in_this_subcategory: string;
|
|
10
|
-
category_icon_label_aria: string;
|
|
11
10
|
default_categories: LocalizedCategory;
|
|
12
11
|
delete_subcategory_aria: string;
|
|
13
12
|
delete_subcategory_heading: string;
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import { AccountFilterCopy,
|
|
1
|
+
import { AccountFilterCopy, CurrencyInputCopy, DateRangePickerCopy } from './';
|
|
2
2
|
|
|
3
3
|
export interface CommonCopy {
|
|
4
4
|
account_filter: AccountFilterCopy;
|
|
5
|
-
account_type: AccountTypeCopy;
|
|
6
|
-
average: string;
|
|
7
|
-
back_to_dashboard: string;
|
|
8
5
|
cancel_button: string;
|
|
9
6
|
cancel_search_aria: string;
|
|
10
7
|
close_aria: string;
|
|
@@ -13,10 +10,6 @@ export interface CommonCopy {
|
|
|
13
10
|
date_range_picker: DateRangePickerCopy;
|
|
14
11
|
delete_button: string;
|
|
15
12
|
filter_button: string;
|
|
16
|
-
good_afternoon: string;
|
|
17
|
-
good_evening: string;
|
|
18
|
-
good_morning: string;
|
|
19
|
-
heres_your_spending_overview: string;
|
|
20
13
|
hide_button: string;
|
|
21
14
|
save_button: string;
|
|
22
15
|
search: string;
|
|
@@ -25,6 +18,5 @@ export interface CommonCopy {
|
|
|
25
18
|
search_placeholder: string;
|
|
26
19
|
search_zero_state: string;
|
|
27
20
|
settings: string;
|
|
28
|
-
six_month_total: string;
|
|
29
21
|
unhide_button: string;
|
|
30
22
|
}
|
|
@@ -9,12 +9,7 @@ export interface DateRangePickerCopy {
|
|
|
9
9
|
last_year: string;
|
|
10
10
|
next_aria: string;
|
|
11
11
|
previous_aria: string;
|
|
12
|
-
range_3_months: string;
|
|
13
|
-
range_6_months: string;
|
|
14
|
-
range_9_months: string;
|
|
15
|
-
range_12_months: string;
|
|
16
12
|
select: string;
|
|
17
|
-
select_a_date: string;
|
|
18
13
|
select_range: string;
|
|
19
14
|
this_month: string;
|
|
20
15
|
to: string;
|
|
@@ -29,8 +29,6 @@ export interface TransactionsCopy {
|
|
|
29
29
|
hide_trnx_desc_unhiding: string;
|
|
30
30
|
hide_trnx_subtitle_hide_trnx: string;
|
|
31
31
|
hide_trnx_subtitle_unhide_trnx: string;
|
|
32
|
-
is_hidden: string;
|
|
33
|
-
is_flagged: string;
|
|
34
32
|
manual_transaction_credit_button_label: string;
|
|
35
33
|
manual_transaction_credit_button_tooltip: string;
|
|
36
34
|
manual_transaction_debit_button_label: string;
|
|
@@ -74,7 +72,6 @@ export interface TransactionsCopy {
|
|
|
74
72
|
tags_title: string;
|
|
75
73
|
tags_update_the_tag_name: string;
|
|
76
74
|
tags_your_tags: string;
|
|
77
|
-
transaction_status: string;
|
|
78
75
|
transactions_title: string;
|
|
79
76
|
zero_state_no_transactions: string;
|
|
80
77
|
zero_state_there_are_no_transactions: string;
|
|
@@ -1,17 +1,9 @@
|
|
|
1
1
|
export type { AccountFilterCopy } from './AccountFilterCopy';
|
|
2
|
-
export type { AccountsCopy } from './AccountsCopy';
|
|
3
|
-
export type { AccountTypeCopy } from './AccountTypeCopy';
|
|
4
|
-
export type { BudgetsCopy } from './BudgetsCopy';
|
|
5
2
|
export type { CashflowCopy } from './CashflowCopy';
|
|
6
3
|
export type { CategoryCopy } from './CategoryCopy';
|
|
7
4
|
export type { CommonCopy } from './CommonCopy';
|
|
8
|
-
export type { ConnectCopy } from './ConnectCopy';
|
|
9
5
|
export type { CurrencyInputCopy } from './CurrencyInputCopy';
|
|
10
6
|
export type { DateRangePickerCopy } from './DateRangePickerCopy';
|
|
11
7
|
export type { InsightsFeedCopy } from './InsightsFeedCopy';
|
|
12
8
|
export type { MicroInsightsCopy } from './MicroInsightsCopy';
|
|
13
|
-
export type { NotificationsCopy } from './NotificationsCopy';
|
|
14
|
-
export type { RecurringCopy } from './RecurringCopy';
|
|
15
|
-
export type { SpendingCopy } from './SpendingCopy';
|
|
16
9
|
export type { TransactionsCopy } from './TransactionsCopy';
|
|
17
|
-
export type { TrendsCopy } from './TrendsCopy';
|