@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.
Files changed (35) hide show
  1. package/CHANGELOG.md +2 -4
  2. package/dist/accounts/ConnectMiniWidget.d.ts +2 -2
  3. package/dist/accounts/components/ConnectStatus.d.ts +1 -2
  4. package/dist/accounts/components/ConnectionsDrawer.d.ts +2 -2
  5. package/dist/accounts/components/detailsdrawer/Accounts/AccountConnection.d.ts +2 -4
  6. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsContent.d.ts +2 -4
  7. package/dist/accounts/stores/AccountStore.d.ts +1 -7
  8. package/dist/accounts/utils/AccountFields.d.ts +3 -3
  9. package/dist/{accounts → common}/components/ConnectDrawer.d.ts +1 -0
  10. package/dist/common/constants/Analytics.d.ts +1 -0
  11. package/dist/common/context/hooks.d.ts +1 -0
  12. package/dist/common/stores/ConnectStore.d.ts +13 -0
  13. package/dist/common/stores/GlobalStore.d.ts +2 -0
  14. package/dist/common/types/GlobalCopy.d.ts +1 -6
  15. package/dist/common/types/localization/AccountFilterCopy.d.ts +0 -4
  16. package/dist/common/types/localization/CashflowCopy.d.ts +1 -5
  17. package/dist/common/types/localization/CommonCopy.d.ts +1 -7
  18. package/dist/common/types/localization/DateRangePickerCopy.d.ts +0 -5
  19. package/dist/common/types/localization/TransactionsCopy.d.ts +3 -2
  20. package/dist/common/types/localization/index.d.ts +0 -6
  21. package/dist/index.es.js +5600 -5324
  22. package/dist/index.es.js.map +1 -1
  23. package/dist/transactions/api/TransactionApi.d.ts +1 -1
  24. package/dist/transactions/components/transactionwidget/AddAccountModal.d.ts +5 -0
  25. package/dist/transactions/index.d.ts +1 -0
  26. package/package.json +4 -4
  27. package/dist/common/types/localization/AccountTypeCopy.d.ts +0 -16
  28. package/dist/common/types/localization/AccountsCopy.d.ts +0 -112
  29. package/dist/common/types/localization/ConnectCopy.d.ts +0 -74
  30. package/dist/common/types/localization/RecurringCopy.d.ts +0 -76
  31. package/dist/common/types/localization/SpendingCopy.d.ts +0 -16
  32. package/dist/common/types/localization/TrendsCopy.d.ts +0 -9
  33. package/dist/recurringactivity/util/getRecurrence.d.ts +0 -9
  34. package/dist/recurringactivity/util/getStatus.d.ts +0 -3
  35. /package/dist/{accounts → common}/constants/Connect.d.ts +0 -0
package/CHANGELOG.md CHANGED
@@ -1,10 +1,8 @@
1
1
  ## [3.5.0] - 09-30-2024
2
2
 
3
- - **CHANGED** - Pull Dashboard copy from GlobalCopyStore
4
- - **CHANGED** - Pull Spending copy from GlobalCopyStore
5
- - **CHANGED** - Pull Recurring Activity copy from GlobalCopyStore
3
+ - **ADDED** - Add manual account modal and add account drawer in transactions widget. When a user attempts to add a manual transaction and does not have any manual accounts, they will be prompted to create a manual account before they can create the manual transaction.
6
4
 
7
- ## [3.4.5] - 09-23-2024
5
+ ## [3.4.5] - 09-27-2024
8
6
 
9
7
  - **UPDATED** - SetUpDirectDeposit beat body to have a comfetti background when it is complete.
10
8
 
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
2
  import { MiniWidgetProps } from '../common';
3
3
 
4
- declare const _default: React.FunctionComponent<MiniWidgetProps>;
5
- export default _default;
4
+ declare const ConnectMiniWidget: React.FC<MiniWidgetProps>;
5
+ export default ConnectMiniWidget;
@@ -4,5 +4,4 @@ interface ConnectStatus {
4
4
  status?: MemberConnectionStatus;
5
5
  }
6
6
  declare const ConnectStatus: React.FC<ConnectStatus>;
7
- declare const _default: import('react').FunctionComponent<ConnectStatus>;
8
- export default _default;
7
+ export default ConnectStatus;
@@ -5,5 +5,5 @@ interface ConnectionsDrawerProps {
5
5
  showConnectionsWidget: boolean;
6
6
  title: string;
7
7
  }
8
- declare const _default: React.FunctionComponent<ConnectionsDrawerProps>;
9
- export default _default;
8
+ declare const ConnectionsDrawer: React.FC<ConnectionsDrawerProps>;
9
+ export default ConnectionsDrawer;
@@ -1,4 +1,2 @@
1
- declare const _default: (() => import("react/jsx-runtime").JSX.Element) & {
2
- displayName: string;
3
- };
4
- export default _default;
1
+ declare const AccountConnection: () => import("react/jsx-runtime").JSX.Element;
2
+ export default AccountConnection;
@@ -1,4 +1,2 @@
1
- declare const _default: (() => import("react/jsx-runtime").JSX.Element) & {
2
- displayName: string;
3
- };
4
- export default _default;
1
+ declare const AccountDetailsContent: () => import("react/jsx-runtime").JSX.Element;
2
+ export default AccountDetailsContent;
@@ -1,10 +1,9 @@
1
- import { WidgetApi, Account, GlobalStore, Institution, Member } from '../../common';
1
+ import { Account, GlobalStore, Institution, Member } from '../../common';
2
2
  import { AccountApi } from '../api/AccountApi';
3
3
  import { UiStore } from './UiStore';
4
4
 
5
5
  export declare class AccountStore {
6
6
  api: AccountApi;
7
- widgetApi: WidgetApi;
8
7
  globalStore: GlobalStore;
9
8
  accounts: Account[];
10
9
  institutions: Institution[];
@@ -19,11 +18,6 @@ export declare class AccountStore {
19
18
  loadAccounts: () => Promise<void>;
20
19
  loadInstitutions: () => Promise<void>;
21
20
  loadMembers: () => Promise<void>;
22
- loadWidget: ({ widget, mode, ...rest }: {
23
- [x: string]: any;
24
- widget?: string | undefined;
25
- mode?: string | undefined;
26
- }) => Promise<any>;
27
21
  mergeAccounts: (accountGuids: string[]) => Promise<void>;
28
22
  sortAccounts: (accounts?: Account[]) => Account[];
29
23
  refreshAccounts: () => Promise<void>;
@@ -1,4 +1,4 @@
1
- import { Account, AccountsCopy } from '../../common';
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, copy: AccountsCopy) => AccountField[];
20
- export declare const getAccountBalanceDetails: (account: Account, copy: AccountsCopy) => {
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,6 +1,7 @@
1
1
  import { default as React } from 'react';
2
2
 
3
3
  interface ConnectDrawerProps {
4
+ loadWidgetProps?: object;
4
5
  onClose: () => void;
5
6
  showConnectWidget: boolean;
6
7
  title: string;
@@ -23,6 +23,7 @@ export declare const ANALYTICS_EVENTS: {
23
23
  SPENDING_VIEW: string;
24
24
  SPENDING_CLICK_FILTER: string;
25
25
  TRANSACTIONS_VIEW: string;
26
+ TRANSACTIONS_ADD_MANUAL_ACCOUNT_MODAL: string;
26
27
  TRANSACTIONS_CLICK_SEARCH: string;
27
28
  TRANSACTIONS_CLICK_FILTER: string;
28
29
  TRANSACTIONS_CLICK_EXPORT: string;
@@ -3,6 +3,7 @@ export declare const useAccountStore: () => import('../..').AccountStore;
3
3
  export declare const useBudgetsStore: () => import('../../budgets/store/BudgetsStore').BudgetsStore;
4
4
  export declare const useCashflowStore: () => import('../..').CashflowStore;
5
5
  export declare const useCategoryStore: () => import('../..').CategoryStore;
6
+ export declare const useConnectStore: () => import('../stores/ConnectStore').ConnectStore;
6
7
  export declare const useGlobalStore: () => import('..').GlobalStore;
7
8
  export declare const useGlobalUiStore: () => import('../stores/GlobalUiStore').GlobalUiStore;
8
9
  export declare const useGlobalCopyStore: () => import('..').GlobalCopy;
@@ -0,0 +1,13 @@
1
+ import { WidgetApi, GlobalStore } from '../../common';
2
+
3
+ export declare class ConnectStore {
4
+ widgetApi: WidgetApi;
5
+ globalStore: GlobalStore;
6
+ constructor(globalStore: GlobalStore);
7
+ initialize: (endpoint: string, token: string) => Promise<void>;
8
+ loadWidget: ({ widget, mode, ...rest }: {
9
+ [x: string]: any;
10
+ widget?: string | undefined;
11
+ mode?: string | undefined;
12
+ }) => Promise<any>;
13
+ }
@@ -3,6 +3,7 @@ import { BeatStore } from '../../insights/store/BeatStore';
3
3
  import { BudgetsStore } from '../../budgets/store/BudgetsStore';
4
4
  import { CashflowStore } from '../../cashflow';
5
5
  import { CategoryStore } from '../../categories';
6
+ import { ConnectStore } from './ConnectStore';
6
7
  import { GlobalUiStore } from './GlobalUiStore';
7
8
  import { MerchantStore } from '../../merchants';
8
9
  import { NotificationStore } from '../../notifications';
@@ -17,6 +18,7 @@ export declare class GlobalStore {
17
18
  budgetsStore: BudgetsStore;
18
19
  cashflowStore: CashflowStore;
19
20
  categoryStore: CategoryStore;
21
+ connectStore: ConnectStore;
20
22
  copyStore: GlobalCopyStore;
21
23
  merchantStore: MerchantStore;
22
24
  notificationStore: NotificationStore;
@@ -1,16 +1,11 @@
1
- import { AccountsCopy, CashflowCopy, CategoryCopy, CommonCopy, ConnectCopy, InsightsFeedCopy, MicroInsightsCopy, RecurringCopy, SpendingCopy, TrendsCopy, TransactionsCopy } from './localization';
1
+ import { CashflowCopy, CategoryCopy, CommonCopy, InsightsFeedCopy, MicroInsightsCopy, TransactionsCopy } from './localization';
2
2
 
3
3
  export interface GlobalCopy {
4
- accounts: AccountsCopy;
5
4
  cashflow: CashflowCopy;
6
5
  categories: CategoryCopy;
7
6
  common: CommonCopy;
8
- connect: ConnectCopy;
9
7
  insights_feed: InsightsFeedCopy;
10
8
  micro_insights: MicroInsightsCopy;
11
- recurring: RecurringCopy;
12
- spending: SpendingCopy;
13
- trends: TrendsCopy;
14
9
  transactions: TransactionsCopy;
15
10
  }
16
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
- close_manage_income_aria: string;
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,8 +50,6 @@ 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;
@@ -1,9 +1,7 @@
1
- import { AccountFilterCopy, AccountTypeCopy, CurrencyInputCopy, DateRangePickerCopy } from './';
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
5
  cancel_button: string;
8
6
  cancel_search_aria: string;
9
7
  close_aria: string;
@@ -12,10 +10,6 @@ export interface CommonCopy {
12
10
  date_range_picker: DateRangePickerCopy;
13
11
  delete_button: string;
14
12
  filter_button: string;
15
- good_afternoon: string;
16
- good_evening: string;
17
- good_morning: string;
18
- heres_your_spending_overview: string;
19
13
  hide_button: string;
20
14
  save_button: string;
21
15
  search: string;
@@ -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;
@@ -6,6 +6,9 @@ export interface TransactionsCopy {
6
6
  actions_apply_to_all_transaction_types: string;
7
7
  actions_select_a_category: string;
8
8
  actions_this_time_only: string;
9
+ add_account_modal_cta: string;
10
+ add_account_modal_message: string;
11
+ add_manual_account: string;
9
12
  add_transaction_btn: string;
10
13
  add_transaction_title: string;
11
14
  amount_title: string;
@@ -26,8 +29,6 @@ export interface TransactionsCopy {
26
29
  hide_trnx_desc_unhiding: string;
27
30
  hide_trnx_subtitle_hide_trnx: string;
28
31
  hide_trnx_subtitle_unhide_trnx: string;
29
- is_hidden: string;
30
- is_flagged: string;
31
32
  manual_transaction_credit_button_label: string;
32
33
  manual_transaction_credit_button_tooltip: string;
33
34
  manual_transaction_debit_button_label: string;
@@ -1,15 +1,9 @@
1
1
  export type { AccountFilterCopy } from './AccountFilterCopy';
2
- export type { AccountsCopy } from './AccountsCopy';
3
- export type { AccountTypeCopy } from './AccountTypeCopy';
4
2
  export type { CashflowCopy } from './CashflowCopy';
5
3
  export type { CategoryCopy } from './CategoryCopy';
6
4
  export type { CommonCopy } from './CommonCopy';
7
- export type { ConnectCopy } from './ConnectCopy';
8
5
  export type { CurrencyInputCopy } from './CurrencyInputCopy';
9
6
  export type { DateRangePickerCopy } from './DateRangePickerCopy';
10
7
  export type { InsightsFeedCopy } from './InsightsFeedCopy';
11
8
  export type { MicroInsightsCopy } from './MicroInsightsCopy';
12
- export type { RecurringCopy } from './RecurringCopy';
13
- export type { SpendingCopy } from './SpendingCopy';
14
- export type { TrendsCopy } from './TrendsCopy';
15
9
  export type { TransactionsCopy } from './TransactionsCopy';