@mx-cartographer/experiences 6.1.0-alpha.bb1 → 6.1.0-alpha.bb3

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 (32) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/budgets/api/BudgetsApi.d.ts +0 -1
  3. package/dist/budgets/components/BubbleBudgets.d.ts +1 -0
  4. package/dist/budgets/components/BudgetsEmptyState.d.ts +7 -0
  5. package/dist/budgets/store/BudgetsStore.d.ts +4 -1
  6. package/dist/common/components/EmptyState.d.ts +6 -2
  7. package/dist/common/constants/Analytics.d.ts +1 -0
  8. package/dist/common/constants/ApiEndpoints.d.ts +1 -0
  9. package/dist/common/context/hooks.d.ts +1 -0
  10. package/dist/common/context/index.d.ts +1 -1
  11. package/dist/common/stores/GlobalStore.d.ts +2 -0
  12. package/dist/common/types/Holding.d.ts +39 -0
  13. package/dist/common/types/RepeatingTransaction.d.ts +8 -0
  14. package/dist/common/types/index.d.ts +1 -0
  15. package/dist/common/types/localization/BudgetsCopy.d.ts +13 -0
  16. package/dist/index.d.ts +1 -0
  17. package/dist/index.es.js +6997 -6079
  18. package/dist/index.es.js.map +1 -1
  19. package/dist/investments/api/HoldingApi.d.ts +6 -0
  20. package/dist/investments/stores/HoldingStore.d.ts +10 -0
  21. package/dist/recurringtransactions/RecurringTransactionsMiniWidget.d.ts +4 -0
  22. package/dist/recurringtransactions/components/ActivityList.d.ts +2 -2
  23. package/dist/recurringtransactions/components/MiniWidgetContent.d.ts +3 -0
  24. package/dist/recurringtransactions/components/RecurringStatus.d.ts +1 -1
  25. package/dist/recurringtransactions/components/RecurringTransactions.d.ts +3 -1
  26. package/dist/recurringtransactions/components/actions/FrequencyAction.d.ts +7 -0
  27. package/dist/recurringtransactions/components/actions/PaymentDateAction.d.ts +7 -0
  28. package/dist/recurringtransactions/components/activitycalendar/ActivityCalendar.d.ts +1 -2
  29. package/dist/recurringtransactions/index.d.ts +1 -0
  30. package/dist/recurringtransactions/stores/RecurringTransactionsStore.d.ts +2 -2
  31. package/dist/recurringtransactions/util/RecurringTransactions.d.ts +2 -2
  32. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,16 @@
1
+ ## [6.0.19] - 05-13-2025
2
+
3
+ - **UPDATED** - Micro Insights Carousel dot color
4
+
5
+ ## [6.0.18] - 05-12-2025
6
+
7
+ - **ADDED** - EmptyState for Budgets Component.
8
+
9
+ ## [6.0.17] - 05-12-2025
10
+
11
+ - **ADDED** - Holdings Api Integration
12
+ - **ADDED** - Holdings GlobalStore Implementation
13
+
1
14
  ## [6.0.16] - 05-09-2025
2
15
 
3
16
  - **ADDED** - Initial Investments layout
@@ -4,7 +4,6 @@ export declare class BudgetsApi {
4
4
  constructor(endpoint: string, token: string);
5
5
  addBudget: (category: Category, amount: number, parentGuid?: string | null) => Promise<any>;
6
6
  deleteBudget: (guid: string) => Promise<any>;
7
- generateBudgets: () => Promise<any>;
8
7
  getBudgets: () => Promise<any>;
9
8
  updateBudget: (budget: Budget) => Promise<any>;
10
9
  }
@@ -1,5 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  interface BubbleBudgetsProps {
3
+ createBudgetOnClick?: () => void;
3
4
  height: number;
4
5
  isDraggable?: boolean;
5
6
  shouldShowZeroState: boolean;
@@ -0,0 +1,7 @@
1
+ import { default as React } from 'react';
2
+ interface BudgetsEmptyStateProps {
3
+ onConnectAccountsClick: () => void;
4
+ createBudgetOnClick: () => void;
5
+ }
6
+ export declare const BudgetsEmptyState: React.FC<BudgetsEmptyStateProps>;
7
+ export {};
@@ -28,6 +28,9 @@ export declare class BudgetsStore {
28
28
  * Recalculate budget by using the average amount from top-level categories
29
29
  * @param categories Detailed categories
30
30
  */
31
- recalculateBudgets: (categories: DetailedCategory[]) => Promise<void>;
31
+ recalculateBudgets: (categories: DetailedCategory[]) => Promise<{
32
+ data: Budget[];
33
+ isSuccess: boolean;
34
+ }>;
32
35
  updateBudget: (budget: Budget) => Promise<void>;
33
36
  }
@@ -1,10 +1,14 @@
1
1
  import { default as React } from 'react';
2
+ import { SxProps } from '@mui/material/styles';
2
3
  interface EmptyWidgetProps {
3
- buttonText: string;
4
+ iconColor?: string;
4
5
  header: string;
5
6
  icon: string;
6
- onClick: () => void;
7
+ onClick: (buttonType: string) => void;
8
+ primaryButton: string;
9
+ secondaryButton?: string;
7
10
  subText: string;
11
+ sx?: SxProps;
8
12
  }
9
13
  export declare const EmptyState: React.FC<EmptyWidgetProps>;
10
14
  export {};
@@ -34,6 +34,7 @@ export declare const ANALYTICS_EVENTS: {
34
34
  GOALS_CLICK_ADD: string;
35
35
  GOALS_CLICK_FILTER: string;
36
36
  GOALS_VIEW: string;
37
+ INVESTMENTS: string;
37
38
  NET_WORTH_VIEW: string;
38
39
  NET_WORTH_WIDGET_CLICK_ASSETS_LIABILITIES: string;
39
40
  NET_WORTH_WIDGET_CLICK_FILTER: string;
@@ -14,6 +14,7 @@ export declare const ApiEndpoints: {
14
14
  DEVICES: string;
15
15
  EMAIL_VERIFICATIONS: string;
16
16
  GOALS: string;
17
+ HOLDINGS: string;
17
18
  INSTITUTIONS: string;
18
19
  LOCALIZED_COPY: string;
19
20
  LOCALIZED_CONTENT: string;
@@ -11,6 +11,7 @@ export declare const useGlobalUiStore: () => import('../stores/GlobalUiStore').G
11
11
  export declare const useGlobalCopyStore: () => import('..').GlobalCopy;
12
12
  export declare const useGoalStore: () => import('../..').GoalStore;
13
13
  export declare const useHelpStore: () => import('../../help/store/HelpStore').HelpStore;
14
+ export declare const useHoldingStore: () => import('../../investments/stores/HoldingStore').HoldingStore;
14
15
  export declare const useMerchantStore: () => import('../..').MerchantStore;
15
16
  export declare const useNetWorthStore: () => import('../..').NetWorthStore;
16
17
  export declare const useNotificationStore: () => import('../..').NotificationStore;
@@ -1,3 +1,3 @@
1
- export { useAccountStore, useAppConfig, useBudgetsStore, useCashflowStore, useCategoryStore, useDebtStore, useEvent, useGlobalStore, useGlobalUiStore, useGlobalCopyStore, useGoalStore, useHelpStore, useMerchantStore, useNetWorthStore, useNotificationStore, usePageView, useRecurringActivityStore, useRecurringTransactionsStore, useSettingsStore, useTransactionStore, useUserStore, useWidgetContainerProvider, } from './hooks';
1
+ export { useAccountStore, useAppConfig, useBudgetsStore, useCashflowStore, useCategoryStore, useDebtStore, useEvent, useGlobalStore, useGlobalUiStore, useGlobalCopyStore, useGoalStore, useHelpStore, useHoldingStore, useMerchantStore, useNetWorthStore, useNotificationStore, usePageView, useRecurringActivityStore, useRecurringTransactionsStore, useSettingsStore, useTransactionStore, useUserStore, useWidgetContainerProvider, } from './hooks';
2
2
  export { GlobalDataContext, GlobalDataProvider } from './GlobalDataProvider';
3
3
  export { WidgetContainerContext, WidgetContainerProvider } from './WidgetContainerProvider';
@@ -6,6 +6,7 @@ import { CategoryStore } from '../../categories';
6
6
  import { DebtsStore } from '../../debts';
7
7
  import { GoalStore } from '../../goals';
8
8
  import { HelpStore } from '../../help/store/HelpStore';
9
+ import { HoldingStore } from '../../investments/stores/HoldingStore';
9
10
  import { MerchantStore } from '../../merchants';
10
11
  import { NetWorthStore } from '../../networth';
11
12
  import { NotificationStore } from '../../notifications';
@@ -34,6 +35,7 @@ export declare class GlobalStore {
34
35
  debtsStore: DebtsStore;
35
36
  goalStore: GoalStore;
36
37
  helpStore: HelpStore;
38
+ holdingStore: HoldingStore;
37
39
  merchantStore: MerchantStore;
38
40
  netWorthStore: NetWorthStore;
39
41
  notificationStore: NotificationStore;
@@ -0,0 +1,39 @@
1
+ export interface Holding {
2
+ account_guid: string;
3
+ allocations_cash: number;
4
+ allocations_convertible: number;
5
+ allocations_foreign_bond: number;
6
+ allocations_foreign_stock: number;
7
+ allocations_other: number;
8
+ allocations_preferred: number;
9
+ allocations_unknown: number;
10
+ allocations_us_bond: number;
11
+ allocations_us_stock: number;
12
+ calculated_market_value: number | null;
13
+ cost_basis: number;
14
+ cost_basis_set_by: number;
15
+ daily_change: number;
16
+ description: string;
17
+ equity_classification: number;
18
+ fixed_income_classification: number;
19
+ guid: string;
20
+ large_core_weight: number;
21
+ large_growth_weight: number;
22
+ large_value_weight: number;
23
+ market_value: number;
24
+ metadata: number | string;
25
+ mid_core_weight: number;
26
+ mid_growth_weight: number;
27
+ mid_value_weight: number;
28
+ purchase_price: number;
29
+ small_core_weight: number;
30
+ small_growth_weight: number;
31
+ small_value_weight: number;
32
+ shares: number;
33
+ symbol: string;
34
+ unknown_weight: number;
35
+ user_guid: string;
36
+ cost_basis_updated_at: null | number;
37
+ cusip: null | number;
38
+ updated_at: number;
39
+ }
@@ -1,5 +1,6 @@
1
1
  import { Account } from './Account';
2
2
  import { Transaction, TransactionType } from './Transaction';
3
+ import { ActivityType } from './Activity';
3
4
  export declare enum RecurrenceType {
4
5
  Unknown = 0,
5
6
  EveryWeek = 1,
@@ -39,12 +40,19 @@ export interface RepeatingTransaction {
39
40
  transactions: Transaction[];
40
41
  }
41
42
  export interface Activity {
43
+ account?: Account;
44
+ activityType: ActivityType;
42
45
  amount: number;
43
46
  categoryGuid?: string;
44
47
  expectedDate: Date;
45
48
  institutionGuid?: string;
46
49
  institutionName: string;
50
+ merchantGuid: string;
51
+ name: string;
52
+ occurredOnDate?: Date;
53
+ recurrenceDay: number;
47
54
  repeatingTransaction: RepeatingTransaction;
48
55
  status: RecurrenceStatus;
56
+ type: RecurrenceType;
49
57
  transaction?: Transaction;
50
58
  }
@@ -29,5 +29,6 @@ export { TransactionStatus, TransactionType } from './Transaction';
29
29
  export type { Device, User, UserCommunicationProfile, UserFeature, UserProfile } from './User';
30
30
  export { ScreenSize } from './ScreenSize';
31
31
  export type { MiniWidgetProps, WidgetProps } from './Widgets';
32
+ export type { Holding } from './Holding';
32
33
  export { RecurrenceType, RepeatingType } from './RepeatingTransaction';
33
34
  export type { RepeatingTransaction } from './RepeatingTransaction';
@@ -1,4 +1,5 @@
1
1
  export interface BudgetsCopy {
2
+ add_budgets_button: string;
2
3
  add_description_bottom: string;
3
4
  add_description_top: string;
4
5
  add_label: string;
@@ -12,11 +13,15 @@ export interface BudgetsCopy {
12
13
  alert_budget_updated: string;
13
14
  alert_csv_downloaded: string;
14
15
  alert_recalculated_budgets: string;
16
+ autogenerate_budgets_error_header: string;
17
+ autogenerate_budgets_error_subheader: string;
18
+ autogenerate_budgets_error_primary_button: string;
15
19
  budget_categories_title: string;
16
20
  budget_remaining_left: string;
17
21
  budget_remaining_over: string;
18
22
  budgeted: string;
19
23
  budgets_title: string;
24
+ create_budgets_title: string;
20
25
  delete_description: string;
21
26
  delete_title: string;
22
27
  details_cta: string;
@@ -28,6 +33,9 @@ export interface BudgetsCopy {
28
33
  details_transaction_drawer: string;
29
34
  details_transactions_tab: string;
30
35
  edit_save_button: string;
36
+ empty_state_subheader: string;
37
+ empty_state_primary_button: string;
38
+ empty_state_secondary_button: string;
31
39
  get_started_cta: string;
32
40
  income_description: string;
33
41
  income_title: string;
@@ -45,7 +53,12 @@ export interface BudgetsCopy {
45
53
  remaining: string;
46
54
  spending_description: string;
47
55
  spending_title: string;
56
+ zero_state_budget_list_text: string;
48
57
  zero_state_description: string;
58
+ zero_state_generate_budgets_header: string;
59
+ zero_state_generate_budgets_primary_button: string;
60
+ zero_state_generate_budgets_secondary_button: string;
61
+ zero_state_generate_budgets_subheader: string;
49
62
  zero_state_title: string;
50
63
  zero_state_no_sub_budgets: string;
51
64
  zero_state_no_sub_budgets_description: string;
package/dist/index.d.ts CHANGED
@@ -13,6 +13,7 @@ export * from './microinsights';
13
13
  export * from './networth';
14
14
  export * from './notifications';
15
15
  export * from './recurringactivity';
16
+ export * from './recurringtransactions';
16
17
  export * from './spending';
17
18
  export * from './settings';
18
19
  export * from './transactions';