@mx-cartographer/experiences 3.5.0-alpha.j3 → 3.5.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 +2 -4
- 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/stores/AccountStore.d.ts +1 -7
- package/dist/accounts/utils/AccountFields.d.ts +3 -3
- package/dist/{accounts → common}/components/ConnectDrawer.d.ts +1 -0
- package/dist/common/constants/Analytics.d.ts +1 -0
- package/dist/common/context/hooks.d.ts +1 -0
- package/dist/common/stores/ConnectStore.d.ts +13 -0
- package/dist/common/stores/GlobalStore.d.ts +2 -0
- package/dist/common/types/GlobalCopy.d.ts +1 -6
- package/dist/common/types/localization/AccountFilterCopy.d.ts +0 -4
- package/dist/common/types/localization/CashflowCopy.d.ts +1 -5
- package/dist/common/types/localization/CommonCopy.d.ts +1 -7
- package/dist/common/types/localization/DateRangePickerCopy.d.ts +0 -5
- package/dist/common/types/localization/TransactionsCopy.d.ts +3 -2
- package/dist/common/types/localization/index.d.ts +0 -6
- package/dist/index.es.js +5600 -5324
- package/dist/index.es.js.map +1 -1
- package/dist/transactions/api/TransactionApi.d.ts +1 -1
- package/dist/transactions/components/transactionwidget/AddAccountModal.d.ts +5 -0
- package/dist/transactions/index.d.ts +1 -0
- package/package.json +4 -4
- package/dist/common/types/localization/AccountTypeCopy.d.ts +0 -16
- package/dist/common/types/localization/AccountsCopy.d.ts +0 -112
- package/dist/common/types/localization/ConnectCopy.d.ts +0 -74
- 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/dist/{accounts → common}/constants/Connect.d.ts +0 -0
|
@@ -2,7 +2,7 @@ import { Fetch, Tag, Tagging, Transaction, TransactionRule } from '../../common'
|
|
|
2
2
|
|
|
3
3
|
export declare class TransactionApi {
|
|
4
4
|
fetchInstance: Fetch;
|
|
5
|
-
constructor(endpoint
|
|
5
|
+
constructor(endpoint: string, token: string);
|
|
6
6
|
addTag: (tag: Tag) => Promise<any>;
|
|
7
7
|
addTagging: (tagging: Tagging) => Promise<any>;
|
|
8
8
|
addTransaction: (transaction: Transaction) => Promise<any>;
|
|
@@ -7,4 +7,5 @@ export { default as TransactionRow } from './components/shared/transactionlist/T
|
|
|
7
7
|
export { default as TransactionList } from './components/shared/TransactionList';
|
|
8
8
|
export { default as TransactionTable } from './components/shared/TransactionTable';
|
|
9
9
|
export { default as TransactionDetails } from './components/shared/TransactionDetails';
|
|
10
|
+
export { default as AddAccountModal } from './components/transactionwidget/AddAccountModal';
|
|
10
11
|
export { default as TransactionWidget } from './TransactionWidget';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mx-cartographer/experiences",
|
|
3
|
-
"version": "3.5.0
|
|
3
|
+
"version": "3.5.0",
|
|
4
4
|
"description": "Library containing experience widgets",
|
|
5
5
|
"main": "dist/index.es.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"publishConfig": {
|
|
10
10
|
"access": "public"
|
|
11
11
|
},
|
|
12
|
-
"scripts": {
|
|
12
|
+
"scripts": {
|
|
13
13
|
"build": "tsc && vite build",
|
|
14
14
|
"build-storybook": "storybook build -o compiled_docs",
|
|
15
15
|
"dev": "storybook dev -p 8106",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@emotion/styled": "^11.11.0",
|
|
28
28
|
"@honeybadger-io/js": "^6.8.3",
|
|
29
29
|
"@honeybadger-io/react": "^6.1.19",
|
|
30
|
-
"@kyper/mui": "4.0.
|
|
30
|
+
"@kyper/mui": "^4.0.0",
|
|
31
31
|
"@mui/icons-material": "^5.16.0",
|
|
32
32
|
"@mui/lab": "^5.0.0-alpha.172",
|
|
33
33
|
"@mui/material": "^5.16.0",
|
|
@@ -122,4 +122,4 @@
|
|
|
122
122
|
"README.md"
|
|
123
123
|
],
|
|
124
124
|
"packageManager": "yarn@4.4.1"
|
|
125
|
-
}
|
|
125
|
+
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export interface AccountTypeCopy {
|
|
2
|
-
any: string;
|
|
3
|
-
cash: string;
|
|
4
|
-
checking: string;
|
|
5
|
-
checking_line_of_credit: string;
|
|
6
|
-
credit_card: string;
|
|
7
|
-
digital_wallet: string;
|
|
8
|
-
insurance: string;
|
|
9
|
-
investment: string;
|
|
10
|
-
line_of_credit: string;
|
|
11
|
-
loan: string;
|
|
12
|
-
mortgage: string;
|
|
13
|
-
prepaid: string;
|
|
14
|
-
property: string;
|
|
15
|
-
savings: string;
|
|
16
|
-
}
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
export interface AccountsCopy {
|
|
2
|
-
account_balance: string;
|
|
3
|
-
account_details: string;
|
|
4
|
-
account_name: string;
|
|
5
|
-
account_type: string;
|
|
6
|
-
account_type_accounts: {
|
|
7
|
-
[key: string | number]: string;
|
|
8
|
-
0: string;
|
|
9
|
-
1: string;
|
|
10
|
-
2: string;
|
|
11
|
-
3: string;
|
|
12
|
-
4: string;
|
|
13
|
-
5: string;
|
|
14
|
-
6: string;
|
|
15
|
-
7: string;
|
|
16
|
-
8: string;
|
|
17
|
-
9: string;
|
|
18
|
-
10: string;
|
|
19
|
-
11: string;
|
|
20
|
-
12: string;
|
|
21
|
-
13: string;
|
|
22
|
-
};
|
|
23
|
-
account_types: {
|
|
24
|
-
[key: string | number]: string;
|
|
25
|
-
0: string;
|
|
26
|
-
1: string;
|
|
27
|
-
2: string;
|
|
28
|
-
3: string;
|
|
29
|
-
4: string;
|
|
30
|
-
5: string;
|
|
31
|
-
6: string;
|
|
32
|
-
7: string;
|
|
33
|
-
8: string;
|
|
34
|
-
9: string;
|
|
35
|
-
10: string;
|
|
36
|
-
11: string;
|
|
37
|
-
12: string;
|
|
38
|
-
13: string;
|
|
39
|
-
};
|
|
40
|
-
actions: string;
|
|
41
|
-
apr: string;
|
|
42
|
-
apy: string;
|
|
43
|
-
available_balance: string;
|
|
44
|
-
available_credit: string;
|
|
45
|
-
close_aria: string;
|
|
46
|
-
close_account_details_aria: string;
|
|
47
|
-
close_drawer: string;
|
|
48
|
-
close_modal: string;
|
|
49
|
-
confirm_mark_as_open: string;
|
|
50
|
-
confirm_mark_closed: string;
|
|
51
|
-
confirm_merge: string;
|
|
52
|
-
connection_status: string;
|
|
53
|
-
credit_limit: string;
|
|
54
|
-
current_balance: string;
|
|
55
|
-
day_of_every_month: string;
|
|
56
|
-
day_payment_due: string;
|
|
57
|
-
edit_field: string;
|
|
58
|
-
eligible_accounts: string;
|
|
59
|
-
enter_amount: string;
|
|
60
|
-
enter_value: string;
|
|
61
|
-
error_amount_is_invalid: string;
|
|
62
|
-
error_amount_must_be_equal_to: string;
|
|
63
|
-
error_amount_must_be_less_than_or_equal_to: string;
|
|
64
|
-
exclude_this_account: string;
|
|
65
|
-
field_is_required: string;
|
|
66
|
-
hide_Account: string;
|
|
67
|
-
if_a_connected_account_is_showing_up_twice: string;
|
|
68
|
-
include_this_account: string;
|
|
69
|
-
institution_logo_alt: string;
|
|
70
|
-
interest_rate: string;
|
|
71
|
-
is_closed: string;
|
|
72
|
-
is_hidden: string;
|
|
73
|
-
manage_connection: string;
|
|
74
|
-
manage_connections: string;
|
|
75
|
-
mark_as_closed: string;
|
|
76
|
-
mark_as_duplicate: string;
|
|
77
|
-
mark_as_open: string;
|
|
78
|
-
minimum_payment: string;
|
|
79
|
-
mini_title: string;
|
|
80
|
-
next_payment: string;
|
|
81
|
-
no_accounts: string;
|
|
82
|
-
original_balance: string;
|
|
83
|
-
personal: string;
|
|
84
|
-
primary_cta: string;
|
|
85
|
-
property_type: string;
|
|
86
|
-
property_types: {
|
|
87
|
-
[key: string | number]: string;
|
|
88
|
-
0: string;
|
|
89
|
-
1: string;
|
|
90
|
-
2: string;
|
|
91
|
-
3: string;
|
|
92
|
-
4: string;
|
|
93
|
-
5: string;
|
|
94
|
-
6: string;
|
|
95
|
-
7: string;
|
|
96
|
-
8: string;
|
|
97
|
-
9: string;
|
|
98
|
-
};
|
|
99
|
-
save: string;
|
|
100
|
-
select_value: string;
|
|
101
|
-
sync_accounts: string;
|
|
102
|
-
this_action_cannot_be_undone: string;
|
|
103
|
-
this_means_accounts_will_be_merged: string;
|
|
104
|
-
this_will_resume_updating_the_balance: string;
|
|
105
|
-
this_will_set_the_account_balance_to_0: string;
|
|
106
|
-
this_will_set_the_balance_of_your_account: string;
|
|
107
|
-
title: string;
|
|
108
|
-
transaction_drawer_title: string;
|
|
109
|
-
transactions: string;
|
|
110
|
-
transactions_and_details_aria: string;
|
|
111
|
-
unhide_account: string;
|
|
112
|
-
}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
export interface ConnectCopy {
|
|
2
|
-
close_connections_aria: string;
|
|
3
|
-
close_manage_connection_aria: string;
|
|
4
|
-
connection_messages: {
|
|
5
|
-
challenged_connection_description: string;
|
|
6
|
-
challenged_connection_title: string;
|
|
7
|
-
challenged_cta: string;
|
|
8
|
-
closed_connection_description: string;
|
|
9
|
-
closed_connection_title: string;
|
|
10
|
-
degraded_connection_description: string;
|
|
11
|
-
degraded_connection_title: string;
|
|
12
|
-
delayed_connection_description: string;
|
|
13
|
-
delayed_connection_title: string;
|
|
14
|
-
denied_connection_description: string;
|
|
15
|
-
denied_connection_title: string;
|
|
16
|
-
denied_cta: string;
|
|
17
|
-
disabled_connection_description: string;
|
|
18
|
-
disabled_connection_title: string;
|
|
19
|
-
disconnected_connection_description: string;
|
|
20
|
-
disconnected_connection_title: string;
|
|
21
|
-
discontinued_connection_description: string;
|
|
22
|
-
discontinued_connection_title: string;
|
|
23
|
-
expired_connection_description: string;
|
|
24
|
-
expired_connection_title: string;
|
|
25
|
-
expired_cta: string;
|
|
26
|
-
failed_connection_description: string;
|
|
27
|
-
failed_connection_title: string;
|
|
28
|
-
impaired_connection_description: string;
|
|
29
|
-
impaired_connection_title: string;
|
|
30
|
-
impaired_cta: string;
|
|
31
|
-
impeded_connection_description: string;
|
|
32
|
-
impeded_connection_title: string;
|
|
33
|
-
imported_connection_description: string;
|
|
34
|
-
imported_connection_title: string;
|
|
35
|
-
imported_cta: string;
|
|
36
|
-
locked_connection_description: string;
|
|
37
|
-
locked_connection_title: string;
|
|
38
|
-
locked_cta: string;
|
|
39
|
-
prevented_connection_description: string;
|
|
40
|
-
prevented_connection_title: string;
|
|
41
|
-
prevented_cta: string;
|
|
42
|
-
rejected_connection_description: string;
|
|
43
|
-
rejected_connection_title: string;
|
|
44
|
-
rejected_cta: string;
|
|
45
|
-
};
|
|
46
|
-
connection_statuses: {
|
|
47
|
-
[key: string | number]: string;
|
|
48
|
-
1: string;
|
|
49
|
-
2: string;
|
|
50
|
-
3: string;
|
|
51
|
-
4: string;
|
|
52
|
-
5: string;
|
|
53
|
-
6: string;
|
|
54
|
-
7: string;
|
|
55
|
-
9: string;
|
|
56
|
-
10: string;
|
|
57
|
-
11: string;
|
|
58
|
-
12: string;
|
|
59
|
-
13: string;
|
|
60
|
-
14: string;
|
|
61
|
-
16: string;
|
|
62
|
-
17: string;
|
|
63
|
-
19: string;
|
|
64
|
-
20: string;
|
|
65
|
-
};
|
|
66
|
-
last_updated_at: string;
|
|
67
|
-
loading: string;
|
|
68
|
-
mini_title: string;
|
|
69
|
-
mini_widget_content: string;
|
|
70
|
-
oops: string;
|
|
71
|
-
primary_cta: string;
|
|
72
|
-
today: string;
|
|
73
|
-
yesterday: string;
|
|
74
|
-
}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
export interface RecurringCopy {
|
|
2
|
-
account: string;
|
|
3
|
-
activity_payment_date: string;
|
|
4
|
-
activity_schedule: string;
|
|
5
|
-
add_expense: string;
|
|
6
|
-
add_expense_description: string;
|
|
7
|
-
add_income: string;
|
|
8
|
-
add_income_description: string;
|
|
9
|
-
add_new: string;
|
|
10
|
-
anually: string;
|
|
11
|
-
anually_ordinal: string;
|
|
12
|
-
category: string;
|
|
13
|
-
close_drawer_aria: string;
|
|
14
|
-
day_transactions: string;
|
|
15
|
-
delete_expense_title: string;
|
|
16
|
-
delete_expense_description: string;
|
|
17
|
-
delete_income_title: string;
|
|
18
|
-
delete_income_description: string;
|
|
19
|
-
deposits: string;
|
|
20
|
-
every_other_month: string;
|
|
21
|
-
every_other_month_ordinal: string;
|
|
22
|
-
every_other_quarter: string;
|
|
23
|
-
every_other_quarter_ordinal: string;
|
|
24
|
-
every_other_week: string;
|
|
25
|
-
every_other_week_ordinal: string;
|
|
26
|
-
expected: string;
|
|
27
|
-
expense_date_label: string;
|
|
28
|
-
expense_schedule: string;
|
|
29
|
-
expense_details: string;
|
|
30
|
-
expense: string;
|
|
31
|
-
expenses: string;
|
|
32
|
-
frequency: string;
|
|
33
|
-
frequency_every_week: string;
|
|
34
|
-
frequency_every_other_week: string;
|
|
35
|
-
frequency_every_month: string;
|
|
36
|
-
frequency_every_other_month: string;
|
|
37
|
-
frequency_every_quarter: string;
|
|
38
|
-
frequency_every_other_quarter: string;
|
|
39
|
-
frequency_every_year: string;
|
|
40
|
-
frequency_title: string;
|
|
41
|
-
income: string;
|
|
42
|
-
income_date_label: string;
|
|
43
|
-
income_details: string;
|
|
44
|
-
income_schedule: string;
|
|
45
|
-
manage_expenses: string;
|
|
46
|
-
manage_income: string;
|
|
47
|
-
mini_title: string;
|
|
48
|
-
missed: string;
|
|
49
|
-
missed_on: string;
|
|
50
|
-
monthly: string;
|
|
51
|
-
monthly_ordinal: string;
|
|
52
|
-
next_expense_date: string;
|
|
53
|
-
next_payment_date: string;
|
|
54
|
-
no_activities: string;
|
|
55
|
-
paid: string;
|
|
56
|
-
paid_activity: string;
|
|
57
|
-
paid_on: string;
|
|
58
|
-
paid_transactions: string;
|
|
59
|
-
primary_cta: string;
|
|
60
|
-
quarterly: string;
|
|
61
|
-
quarterly_ordinal: string;
|
|
62
|
-
reset: string;
|
|
63
|
-
select_transaction_search_aria: string;
|
|
64
|
-
select_transaction_search_cancel_aria: string;
|
|
65
|
-
select_transaction_search_placeholder: string;
|
|
66
|
-
settings: string;
|
|
67
|
-
sub_title: string;
|
|
68
|
-
title: string;
|
|
69
|
-
transaction_details_drawer_title: string;
|
|
70
|
-
upcoming: string;
|
|
71
|
-
upcoming_activity: string;
|
|
72
|
-
upcoming_on: string;
|
|
73
|
-
unknown: string;
|
|
74
|
-
weekly: string;
|
|
75
|
-
weekly_ordinal: string;
|
|
76
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export interface SpendingCopy {
|
|
2
|
-
by_category: string;
|
|
3
|
-
close_drawer_aria: string;
|
|
4
|
-
income_tab_title: string;
|
|
5
|
-
mini_title: string;
|
|
6
|
-
primary_cta: string;
|
|
7
|
-
spend_tab_title: string;
|
|
8
|
-
transactions_drawer_title: string;
|
|
9
|
-
transaction_details_drawer_title: string;
|
|
10
|
-
title: string;
|
|
11
|
-
total: string;
|
|
12
|
-
total_amount: string;
|
|
13
|
-
total_income: string;
|
|
14
|
-
total_spending: string;
|
|
15
|
-
view_transactions: string;
|
|
16
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { RecurrenceTypes, RecurringCopy } from '../../common';
|
|
2
|
-
|
|
3
|
-
interface GetRecurrenceArgs {
|
|
4
|
-
copy: RecurringCopy;
|
|
5
|
-
date: Date | null;
|
|
6
|
-
type: RecurrenceTypes;
|
|
7
|
-
}
|
|
8
|
-
export declare const getRecurrence: ({ copy, date, type }: GetRecurrenceArgs) => string;
|
|
9
|
-
export {};
|
|
File without changes
|