@mx-cartographer/experiences 4.1.2-alpha.sms-1 → 4.1.3

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 (60) hide show
  1. package/CHANGELOG.md +9 -1
  2. package/dist/common/api/UserApi.d.ts +1 -0
  3. package/dist/common/components/WidgetContainer.d.ts +1 -1
  4. package/dist/common/constants/ApiEndpoints.d.ts +1 -0
  5. package/dist/common/context/hooks.d.ts +1 -0
  6. package/dist/common/context/index.d.ts +1 -1
  7. package/dist/common/stores/GlobalStore.d.ts +4 -2
  8. package/dist/common/stores/UserStore.d.ts +3 -1
  9. package/dist/common/types/Debt.d.ts +2 -1
  10. package/dist/common/types/Global.d.ts +12 -0
  11. package/dist/common/types/GlobalCopy.d.ts +3 -1
  12. package/dist/common/types/Help.d.ts +63 -0
  13. package/dist/common/types/User.d.ts +10 -0
  14. package/dist/common/types/index.d.ts +1 -1
  15. package/dist/common/types/localization/CommonCopy.d.ts +1 -0
  16. package/dist/common/types/localization/DebtsCopy.d.ts +11 -0
  17. package/dist/common/types/localization/SettingsCopy.d.ts +20 -0
  18. package/dist/common/types/localization/index.d.ts +2 -0
  19. package/dist/debts/components/actions/DebtsPriorityAction.d.ts +3 -0
  20. package/dist/debts/components/actions/InterestRateAction.d.ts +8 -0
  21. package/dist/debts/components/actions/MonthlyPaymentAction.d.ts +8 -0
  22. package/dist/debts/components/actions/OriginalBalanceAction.d.ts +8 -0
  23. package/dist/debts/components/debtspriority/DebtsPriorityButton.d.ts +8 -0
  24. package/dist/debts/components/debtspriority/DebtsPrioriyPopover.d.ts +8 -0
  25. package/dist/debts/constants/index.d.ts +5 -0
  26. package/dist/debts/store/DebtsUiStore.d.ts +3 -0
  27. package/dist/debts/utils/DebtsWidget.d.ts +2 -1
  28. package/dist/debts/utils/SnowballCard.d.ts +2 -1
  29. package/dist/debts/utils/shared.d.ts +3 -0
  30. package/dist/goals/components/actions/AmountToSaveAction.d.ts +3 -1
  31. package/dist/goals/components/actions/InterestRateAction.d.ts +3 -1
  32. package/dist/goals/components/actions/MonthlyPaymentAction.d.ts +3 -1
  33. package/dist/goals/components/actions/OriginalBalanceAction.d.ts +3 -1
  34. package/dist/goals/stores/GoalStore.d.ts +2 -0
  35. package/dist/help/HelpContent.d.ts +2 -0
  36. package/dist/help/HelpList.d.ts +3 -0
  37. package/dist/help/HelpWidget.d.ts +7 -0
  38. package/dist/help/components/content/Header.d.ts +8 -0
  39. package/dist/help/components/content/Section.d.ts +2 -0
  40. package/dist/help/constants/index.d.ts +53 -0
  41. package/dist/help/index.d.ts +3 -0
  42. package/dist/help/store/HelpStore.d.ts +9 -0
  43. package/dist/help/utils/index.d.ts +2 -0
  44. package/dist/index.d.ts +1 -0
  45. package/dist/index.es.js +6297 -5423
  46. package/dist/index.es.js.map +1 -1
  47. package/dist/requestsupport/ContactSupport.d.ts +6 -0
  48. package/dist/requestsupport/HelpByCategoryList.d.ts +16 -0
  49. package/dist/requestsupport/PopularTopicsList.d.ts +4 -0
  50. package/dist/requestsupport/PopularTopicsRow.d.ts +5 -0
  51. package/dist/requestsupport/RequestSupport.d.ts +6 -0
  52. package/dist/requestsupport/RequestSupportFooter.d.ts +6 -0
  53. package/dist/requestsupport/RequestSupportHeader.d.ts +7 -0
  54. package/dist/requestsupport/constants/index.d.ts +22 -0
  55. package/dist/requestsupport/index.d.ts +1 -0
  56. package/dist/settings/components/profile/ProfileDetails.d.ts +4 -0
  57. package/dist/settings/components/profile/VerificationModal.d.ts +6 -0
  58. package/dist/settings/components/profile/constants.d.ts +13 -0
  59. package/dist/settings/utils/Profile.d.ts +8 -0
  60. package/package.json +8 -8
package/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## [4.1.3] - 02-17-2025
2
+
3
+ - **FIXED** - `Wintrust` Amount truncate Bug
4
+
5
+ ## [4.1.2] - 02-13-2025
6
+
7
+ - **UPDATED** - `WidgetContainer` to optionally accept components in `actions` prop
8
+
1
9
  ## [4.1.1] - 02-04-2025
2
10
 
3
11
  - **FIXED** - Issue with adding goals
@@ -6,7 +14,7 @@
6
14
 
7
15
  - **ADDED** - `GoalsWidget`
8
16
 
9
- ## [4.0.12] - 02-03-2025
17
+ ## [4.0.14] - 02-03-2025
10
18
 
11
19
  - **FIXED** - Projected income in budget widget
12
20
 
@@ -3,6 +3,7 @@ import { User, UserProfile } from '../types';
3
3
  export declare class UserApi {
4
4
  fetchInstance: Fetch;
5
5
  constructor(endpoint: string, token: string);
6
+ getUserFeatures: () => Promise<any>;
6
7
  updateUser: (user: User) => Promise<any>;
7
8
  updateUserProfile: (userProfile: UserProfile) => Promise<any>;
8
9
  }
@@ -9,7 +9,7 @@ type Action = {
9
9
  };
10
10
  interface WidgetContainerProps {
11
11
  accountOptions?: Account[];
12
- actions?: Action[];
12
+ actions?: (Action | JSX.Element)[];
13
13
  calendarActions?: CalendarActions;
14
14
  className?: string;
15
15
  dateRange?: {
@@ -29,6 +29,7 @@ export declare const ApiEndpoints: {
29
29
  TRANSACTION_RULES: string;
30
30
  TRANSACTIONS: string;
31
31
  USER: string;
32
+ USER_FEATURES: string;
32
33
  USER_PROFILES: string;
33
34
  WIDGET_URLS: string;
34
35
  };
@@ -9,6 +9,7 @@ export declare const useGlobalStore: () => import('..').GlobalStore;
9
9
  export declare const useGlobalUiStore: () => import('../stores/GlobalUiStore').GlobalUiStore;
10
10
  export declare const useGlobalCopyStore: () => import('..').GlobalCopy;
11
11
  export declare const useGoalStore: () => import('../..').GoalStore;
12
+ export declare const useHelpStore: () => import('../../help/store/HelpStore').HelpStore;
12
13
  export declare const useMerchantStore: () => import('../..').MerchantStore;
13
14
  export declare const useNetWorthStore: () => import('../..').NetWorthStore;
14
15
  export declare const useNotificationStore: () => import('../..').NotificationStore;
@@ -1,3 +1,3 @@
1
- export { useAccountStore, useBudgetsStore, useCashflowStore, useCategoryStore, useDebtStore, useEvent, useGlobalStore, useGlobalUiStore, useGlobalCopyStore, useGoalStore, useMerchantStore, useNetWorthStore, useNotificationStore, usePageView, useRecurringActivityStore, useTransactionStore, useUserStore, useWidgetContainerProvider, } from './hooks';
1
+ export { useAccountStore, useBudgetsStore, useCashflowStore, useCategoryStore, useDebtStore, useEvent, useGlobalStore, useGlobalUiStore, useGlobalCopyStore, useGoalStore, useHelpStore, useMerchantStore, useNetWorthStore, useNotificationStore, usePageView, useRecurringActivityStore, useTransactionStore, useUserStore, useWidgetContainerProvider, } from './hooks';
2
2
  export { GlobalDataContext, GlobalDataProvider } from './GlobalDataProvider';
3
3
  export { WidgetContainerContext, WidgetContainerProvider } from './WidgetContainerProvider';
@@ -6,15 +6,16 @@ import { CashflowStore } from '../../cashflow';
6
6
  import { CategoryStore } from '../../categories';
7
7
  import { ConnectStore } from './ConnectStore';
8
8
  import { DebtsStore } from '../../debts';
9
+ import { GlobalCopyStore } from './GlobalCopyStore';
9
10
  import { GlobalUiStore } from './GlobalUiStore';
10
11
  import { GoalStore } from '../../goals';
12
+ import { HelpStore } from '../../help/store/HelpStore';
11
13
  import { MerchantStore } from '../../merchants';
12
14
  import { NetWorthStore } from '../../networth';
13
15
  import { NotificationStore } from '../../notifications';
14
16
  import { RecurringActivityStore } from '../../recurringactivity';
15
17
  import { TransactionStore } from '../../transactions';
16
18
  import { UserStore } from './UserStore';
17
- import { GlobalCopyStore } from './GlobalCopyStore';
18
19
  export declare class GlobalStore {
19
20
  accountStore: AccountStore;
20
21
  appDataStore: AppDataStore;
@@ -24,8 +25,9 @@ export declare class GlobalStore {
24
25
  categoryStore: CategoryStore;
25
26
  connectStore: ConnectStore;
26
27
  copyStore: GlobalCopyStore;
27
- goalStore: GoalStore;
28
28
  debtsStore: DebtsStore;
29
+ goalStore: GoalStore;
30
+ helpStore: HelpStore;
29
31
  merchantStore: MerchantStore;
30
32
  netWorthStore: NetWorthStore;
31
33
  notificationStore: NotificationStore;
@@ -1,13 +1,15 @@
1
1
  import { UserApi } from '../api';
2
- import { User, UserProfile } from '../types';
3
2
  import { GlobalStore } from './GlobalStore';
3
+ import { User, UserFeature, UserProfile } from '../types';
4
4
  export declare class UserStore {
5
5
  globalStore: GlobalStore;
6
+ userFeatures: UserFeature[];
6
7
  api: UserApi;
7
8
  constructor(globalStore: GlobalStore);
8
9
  initialize: (endpoint: string, token: string) => Promise<void>;
9
10
  get userProfile(): UserProfile;
10
11
  get user(): User;
12
+ loadUserFeatures: () => Promise<void>;
11
13
  updateUser: (user: User) => Promise<void>;
12
14
  updateUserProfile: (userProfile: UserProfile) => Promise<void>;
13
15
  }
@@ -4,12 +4,13 @@ export type Debt = {
4
4
  account: Account;
5
5
  balance: number;
6
6
  goal?: Goal;
7
- guid?: string;
7
+ guid: string;
8
8
  interest_rate?: number;
9
9
  is_paid_off: boolean;
10
10
  is_impossible: boolean;
11
11
  monthly_payment?: number;
12
12
  name: string;
13
+ original_balance?: number;
13
14
  payment_due_date: number;
14
15
  priority?: number | string;
15
16
  projected_payoff_date?: Date;
@@ -1,5 +1,17 @@
1
1
  export type Config = {
2
2
  enable_renaming_home_accounts: boolean;
3
+ enable_support_requests: boolean;
4
+ show_accounts_widget_in_master: boolean;
5
+ show_budgets_widget_in_master: boolean;
6
+ show_cash_flow_widget_in_master: boolean;
7
+ show_debts_widget_in_master: boolean;
8
+ show_goals_widget_in_master: boolean;
9
+ show_investments_widget_in_master: boolean;
10
+ show_net_worth_widget_in_master: boolean;
11
+ show_notifications_widget_in_master: boolean;
12
+ show_spending_widget_in_master: boolean;
13
+ show_transactions_widget_in_master: boolean;
14
+ show_trends_widget_in_master: boolean;
3
15
  };
4
16
  export type App = {
5
17
  config: Config;
@@ -1,4 +1,4 @@
1
- import { AccountsCopy, BudgetsCopy, CashflowCopy, CategoryCopy, CommonCopy, ConnectCopy, GoalsCopy, InsightsFeedCopy, MicroInsightsCopy, NetWorthCopy, NotificationsCopy, RecurringCopy, SpendingCopy, TransactionsCopy, TrendsCopy } from './localization';
1
+ import { AccountsCopy, BudgetsCopy, CashflowCopy, CategoryCopy, CommonCopy, ConnectCopy, DebtsCopy, GoalsCopy, InsightsFeedCopy, MicroInsightsCopy, NetWorthCopy, NotificationsCopy, RecurringCopy, SettingsCopy, SpendingCopy, TransactionsCopy, TrendsCopy } from './localization';
2
2
  export interface GlobalCopy {
3
3
  accounts: AccountsCopy;
4
4
  budgets: BudgetsCopy;
@@ -6,12 +6,14 @@ export interface GlobalCopy {
6
6
  categories: CategoryCopy;
7
7
  common: CommonCopy;
8
8
  connect: ConnectCopy;
9
+ debts: DebtsCopy;
9
10
  goals: GoalsCopy;
10
11
  insights_feed: InsightsFeedCopy;
11
12
  micro_insights: MicroInsightsCopy;
12
13
  net_worth: NetWorthCopy;
13
14
  notifications: NotificationsCopy;
14
15
  recurring: RecurringCopy;
16
+ settings: SettingsCopy;
15
17
  spending: SpendingCopy;
16
18
  transactions: TransactionsCopy;
17
19
  trends: TrendsCopy;
@@ -0,0 +1,63 @@
1
+ import { default as React } from 'react';
2
+ import { ClientCommunicationProfile, ClientProfile } from './Client';
3
+ interface BreakPoints {
4
+ lg?: number;
5
+ md?: number;
6
+ sm?: number;
7
+ xl?: number;
8
+ xs?: number;
9
+ }
10
+ interface CommonSectionProps {
11
+ description: string;
12
+ image?: string;
13
+ listItems?: string[];
14
+ listTitle?: string;
15
+ subDescription?: string;
16
+ subTitle?: string;
17
+ title: string;
18
+ }
19
+ interface ContentProps {
20
+ section1: CommonSectionProps;
21
+ section2: CommonSectionProps;
22
+ section3: CommonSectionProps;
23
+ section4: CommonSectionProps;
24
+ }
25
+ export interface ContentSectionProps {
26
+ breakPoints: BreakPoints;
27
+ section: CommonSectionProps;
28
+ ListStyle?: React.ElementType;
29
+ }
30
+ export interface HelpCategory {
31
+ flags?: string[];
32
+ guid: string;
33
+ icon: string;
34
+ title: string;
35
+ topics: HelpTopic[];
36
+ }
37
+ export interface HelpContentProps {
38
+ hasRequestButton?: boolean;
39
+ onNavigateToList: () => void;
40
+ topicContent: TopicContentProps;
41
+ }
42
+ export interface HelpListProps {
43
+ buttonText: string;
44
+ hasRequestButton?: boolean;
45
+ helpCategories: HelpCategory[];
46
+ helpContent: string;
47
+ helpTitle: string;
48
+ onRequestHelp: () => void;
49
+ onTopicSelect: (topicKey: string) => void;
50
+ }
51
+ export interface HelpTopic {
52
+ label: string;
53
+ topicKey: string;
54
+ }
55
+ export interface Profile extends ClientCommunicationProfile, ClientProfile {
56
+ }
57
+ interface TopicContentProps {
58
+ guid: string;
59
+ content: ContentProps;
60
+ title: string;
61
+ topicTitle: string;
62
+ }
63
+ export {};
@@ -30,3 +30,13 @@ export interface UserProfile {
30
30
  uses_detailed_notifications: boolean;
31
31
  user_guid: string;
32
32
  }
33
+ export interface UserFeature {
34
+ feature_guid: string;
35
+ feature_name: string;
36
+ guid: string;
37
+ is_enabled: boolean;
38
+ should_notify_user: boolean;
39
+ user_guid: string;
40
+ created_at: string;
41
+ updated_at: string;
42
+ }
@@ -24,6 +24,6 @@ export type { ScheduledPayment } from './ScheduledPayment';
24
24
  export type { SpendingPlan, SpendingPlanAccount, SpendingPlanIteration, IterationItem, } from './SpendingPlan';
25
25
  export type { Tag, Tagging, Transaction, TransactionRule } from './Transaction';
26
26
  export { TransactionStatus, TransactionType } from './Transaction';
27
- export type { User, UserProfile } from './User';
27
+ export type { User, UserFeature, UserProfile } from './User';
28
28
  export { ScreenSize } from './ScreenSize';
29
29
  export type { MiniWidgetProps, WidgetProps } from './Widgets';
@@ -3,6 +3,7 @@ export interface CommonCopy {
3
3
  account_filter: AccountFilterCopy;
4
4
  account_type: AccountTypeCopy;
5
5
  average: string;
6
+ back: string;
6
7
  back_to_dashboard: string;
7
8
  cancel_button: string;
8
9
  cancel_search_aria: string;
@@ -0,0 +1,11 @@
1
+ export interface DebtsCopy {
2
+ add_interest_rate: string;
3
+ add_monthly_payment: string;
4
+ add_original_balance: string;
5
+ details_interest_rate: string;
6
+ details_monthly_payment: string;
7
+ details_original_balance: string;
8
+ priority_sort_highest_balance: string;
9
+ priority_sort_highest_interest: string;
10
+ priority_sort_lowest_balance: string;
11
+ }
@@ -0,0 +1,20 @@
1
+ export interface SettingsCopy {
2
+ birthdate: string;
3
+ credit_score: string;
4
+ email_address: string;
5
+ first_name: string;
6
+ last_name: string;
7
+ mobile_number: string;
8
+ profile_details: string;
9
+ profile_updated_error_alert: string;
10
+ profile_updated_success_alert: string;
11
+ send_verification: string;
12
+ update_profile_details: string;
13
+ verification_code_error_alert: string;
14
+ verification_code_success_alert: string;
15
+ verification_notice: string;
16
+ verify_contact: string;
17
+ verify_contact_detail: string;
18
+ verify_contact_button: string;
19
+ zip_code: string;
20
+ }
@@ -8,12 +8,14 @@ export type { CommonCopy } from './CommonCopy';
8
8
  export type { ConnectCopy } from './ConnectCopy';
9
9
  export type { CurrencyInputCopy } from './CurrencyInputCopy';
10
10
  export type { DateRangePickerCopy } from './DateRangePickerCopy';
11
+ export type { DebtsCopy } from './DebtsCopy';
11
12
  export type { GoalsCopy } from './GoalsCopy';
12
13
  export type { InsightsFeedCopy } from './InsightsFeedCopy';
13
14
  export type { MicroInsightsCopy } from './MicroInsightsCopy';
14
15
  export type { NetWorthCopy } from './NetWorthCopy';
15
16
  export type { NotificationsCopy } from './NotificationsCopy';
16
17
  export type { RecurringCopy } from './RecurringCopy';
18
+ export type { SettingsCopy } from './SettingsCopy';
17
19
  export type { SpendingCopy } from './SpendingCopy';
18
20
  export type { TransactionsCopy } from './TransactionsCopy';
19
21
  export type { TrendsCopy } from './TrendsCopy';
@@ -0,0 +1,3 @@
1
+ export declare const DebtsPriorityAction: (() => import("react/jsx-runtime").JSX.Element) & {
2
+ displayName: string;
3
+ };
@@ -0,0 +1,8 @@
1
+ import { DebtChartData } from '../../utils/DebtsWidget';
2
+ interface InterestRateActionProps {
3
+ debt: DebtChartData;
4
+ }
5
+ export declare const InterestRateAction: (({ debt }: InterestRateActionProps) => import("react/jsx-runtime").JSX.Element) & {
6
+ displayName: string;
7
+ };
8
+ export {};
@@ -0,0 +1,8 @@
1
+ import { DebtChartData } from '../../utils/DebtsWidget';
2
+ interface MonthlyPaymentActionProps {
3
+ debt: DebtChartData;
4
+ }
5
+ export declare const MonthlyPaymentAction: (({ debt }: MonthlyPaymentActionProps) => import("react/jsx-runtime").JSX.Element) & {
6
+ displayName: string;
7
+ };
8
+ export {};
@@ -0,0 +1,8 @@
1
+ import { DebtChartData } from '../../utils/DebtsWidget';
2
+ interface OriginalBalanceActionProps {
3
+ debt: DebtChartData;
4
+ }
5
+ export declare const OriginalBalanceAction: (({ debt }: OriginalBalanceActionProps) => import("react/jsx-runtime").JSX.Element) & {
6
+ displayName: string;
7
+ };
8
+ export {};
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ interface DebtsPrioriyButtonProps {
3
+ buttonText: string;
4
+ isOpen: boolean;
5
+ onClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
6
+ }
7
+ export declare const DebtsPriorityButton: ({ buttonText, isOpen, onClick }: DebtsPrioriyButtonProps) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ interface DebtsPriorityPopoverProps {
2
+ buttonEl: HTMLButtonElement | null;
3
+ onClose: () => void;
4
+ }
5
+ export declare const DebtsPriorityPopover: (({ buttonEl, onClose }: DebtsPriorityPopoverProps) => import("react/jsx-runtime").JSX.Element) & {
6
+ displayName: string;
7
+ };
8
+ export {};
@@ -0,0 +1,5 @@
1
+ export declare enum DebtPrioriy {
2
+ HIGHEST_INTEREST = 1,
3
+ LOWEST_BALANCE = 2,
4
+ HIGHEST_BALANCE = 3
5
+ }
@@ -1,10 +1,13 @@
1
+ import { DebtPrioriy } from '../constants';
1
2
  import { DebtChartData } from '../utils/DebtsWidget';
2
3
  export declare class DebtsUiStore {
3
4
  isLoading: boolean;
4
5
  selectedDebtChartData: DebtChartData;
6
+ selectedDebtPriority: DebtPrioriy;
5
7
  constructor();
6
8
  get showError(): boolean;
7
9
  get showCompleted(): boolean;
8
10
  setIsLoading: (isLoading: boolean) => boolean;
9
11
  setSelectedDebtChartData: (data: DebtChartData) => DebtChartData;
12
+ setSelectedDebtPriority: (priority: DebtPrioriy) => DebtPrioriy;
10
13
  }
@@ -1,4 +1,5 @@
1
1
  import { Debt } from '../../common';
2
+ import { DebtPrioriy } from '../constants';
2
3
  type DataPoint = {
3
4
  x: Date;
4
5
  y: number;
@@ -9,5 +10,5 @@ type Dataset = DataPoint[];
9
10
  export interface DebtChartData extends Debt {
10
11
  dataset: Dataset;
11
12
  }
12
- export declare const transformDebtsChartData: (debts: Debt[], initialExtraPayment?: number) => DebtChartData[];
13
+ export declare const transformDebtsChartData: (debts: Debt[], debtPriority: DebtPrioriy, initialExtraPayment?: number) => DebtChartData[];
13
14
  export {};
@@ -1,8 +1,9 @@
1
+ import { DebtPrioriy } from '../constants';
1
2
  import { DebtChartData } from './DebtsWidget';
2
3
  type PayoffProjection = {
3
4
  payoffSavings: string;
4
5
  payoffDate: string;
5
6
  payoffDuration: string;
6
7
  };
7
- export declare function getPayoffProjection(debts: DebtChartData[], extraPayment?: number): PayoffProjection;
8
+ export declare function getPayoffProjection(debts: DebtChartData[], debtPriority: DebtPrioriy, extraPayment?: number): PayoffProjection;
8
9
  export {};
@@ -0,0 +1,3 @@
1
+ import { Debt } from '../../common';
2
+ import { DebtPrioriy } from '../constants';
3
+ export declare const sortDebtsByPrioriy: (debts: Debt[], debtPriority: DebtPrioriy) => void;
@@ -2,5 +2,7 @@ import { Goal } from '../../../common';
2
2
  interface AmountToSaveActionProps {
3
3
  goal: Goal;
4
4
  }
5
- export declare const AmountToSaveAction: ({ goal }: AmountToSaveActionProps) => import("react/jsx-runtime").JSX.Element;
5
+ export declare const AmountToSaveAction: (({ goal }: AmountToSaveActionProps) => import("react/jsx-runtime").JSX.Element) & {
6
+ displayName: string;
7
+ };
6
8
  export {};
@@ -2,5 +2,7 @@ import { Goal } from '../../../common';
2
2
  interface InterestRateActionProps {
3
3
  goal: Goal;
4
4
  }
5
- export declare const InterestRateAction: ({ goal }: InterestRateActionProps) => import("react/jsx-runtime").JSX.Element;
5
+ export declare const InterestRateAction: (({ goal }: InterestRateActionProps) => import("react/jsx-runtime").JSX.Element) & {
6
+ displayName: string;
7
+ };
6
8
  export {};
@@ -2,5 +2,7 @@ import { Goal } from '../../../common';
2
2
  interface MonthlyPaymentActionProps {
3
3
  goal: Goal;
4
4
  }
5
- export declare const MonthlyPaymentAction: ({ goal }: MonthlyPaymentActionProps) => import("react/jsx-runtime").JSX.Element;
5
+ export declare const MonthlyPaymentAction: (({ goal }: MonthlyPaymentActionProps) => import("react/jsx-runtime").JSX.Element) & {
6
+ displayName: string;
7
+ };
6
8
  export {};
@@ -2,5 +2,7 @@ import { Goal } from '../../../common';
2
2
  interface OriginalBalanceActionProps {
3
3
  goal: Goal;
4
4
  }
5
- export declare const OriginalBalanceAction: ({ goal }: OriginalBalanceActionProps) => import("react/jsx-runtime").JSX.Element;
5
+ export declare const OriginalBalanceAction: (({ goal }: OriginalBalanceActionProps) => import("react/jsx-runtime").JSX.Element) & {
6
+ displayName: string;
7
+ };
6
8
  export {};
@@ -13,6 +13,8 @@ export declare class GoalStore {
13
13
  initialize: (endpoint: string, token: string) => Promise<void>;
14
14
  get orderedGoals(): Goal[];
15
15
  get debtGoals(): Goal[];
16
+ get retirmentGoals(): Goal[];
17
+ get savingGoals(): Goal[];
16
18
  addGoal: (goal: Goal) => Promise<void>;
17
19
  addRetirementGoal: (goal: Goal) => Promise<void>;
18
20
  addRetirementGoalAccount: (account: RetirementGoalAccount) => Promise<void>;
@@ -0,0 +1,2 @@
1
+ import { HelpContentProps } from '../common/types/Help';
2
+ export declare const HelpContent: React.FC<HelpContentProps>;
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ import { HelpListProps } from '../common/types/Help';
3
+ export declare const HelpList: React.FC<HelpListProps>;
@@ -0,0 +1,7 @@
1
+ import { default as React } from 'react';
2
+ import { SxProps } from '@mui/material/styles';
3
+ interface HelpProps {
4
+ sx: SxProps;
5
+ }
6
+ declare const _default: React.FunctionComponent<HelpProps>;
7
+ export default _default;
@@ -0,0 +1,8 @@
1
+ interface HeaderProps {
2
+ hasRequestButton?: boolean;
3
+ onNavigateToList: () => void;
4
+ title: string;
5
+ topicTitle: string;
6
+ }
7
+ export declare const Header: ({ hasRequestButton, onNavigateToList, title, topicTitle }: HeaderProps) => import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,2 @@
1
+ import { ContentSectionProps } from '../../../common/types/Help';
2
+ export declare const Section: React.FC<ContentSectionProps>;
@@ -0,0 +1,53 @@
1
+ export declare const HELP_CATEGORIES: ({
2
+ flags: string[];
3
+ guid: string;
4
+ icon: string;
5
+ title: string;
6
+ topics: {
7
+ label: string;
8
+ topicKey: string;
9
+ }[];
10
+ } | {
11
+ guid: string;
12
+ icon: string;
13
+ title: string;
14
+ topics: {
15
+ label: string;
16
+ topicKey: string;
17
+ }[];
18
+ flags?: undefined;
19
+ })[];
20
+ export declare const HELP_CONTENT: {
21
+ accounts: {
22
+ guid: string;
23
+ title: string;
24
+ topicTitle: string;
25
+ content: {
26
+ section1: {
27
+ description: string;
28
+ image: string;
29
+ title: string;
30
+ };
31
+ section2: {
32
+ description: string;
33
+ image: string;
34
+ listItems: string[];
35
+ listTitle: string;
36
+ subDescription: string;
37
+ subTitle: string;
38
+ title: string;
39
+ };
40
+ section3: {
41
+ description: string;
42
+ image: string;
43
+ listItems: string[];
44
+ listTitle: string;
45
+ title: string;
46
+ };
47
+ section4: {
48
+ description: string;
49
+ title: string;
50
+ };
51
+ };
52
+ };
53
+ };
@@ -0,0 +1,3 @@
1
+ export { HelpContent } from './HelpContent';
2
+ export { HelpList } from './HelpList';
3
+ export { default as HelpWidget } from './HelpWidget';
@@ -0,0 +1,9 @@
1
+ import { GlobalStore } from '../../common';
2
+ import { Config } from '../../common/types/Global';
3
+ export declare class HelpStore {
4
+ appConfig: Config | undefined;
5
+ globalStore: GlobalStore;
6
+ constructor(globalStore: GlobalStore);
7
+ loadAppConfig: (config: Config) => Config;
8
+ get helpCategories(): import('../../common/types/Help').HelpCategory[];
9
+ }
@@ -0,0 +1,2 @@
1
+ import { HelpCategory, Profile } from '../../common/types/Help';
2
+ export declare const getAccessibleHelpCategories: (profile: Profile) => HelpCategory[];
package/dist/index.d.ts CHANGED
@@ -6,6 +6,7 @@ export * from './common';
6
6
  export * from './dashboard';
7
7
  export * from './debts';
8
8
  export * from './goals';
9
+ export * from './help';
9
10
  export * from './insights';
10
11
  export * from './merchants';
11
12
  export * from './microinsights';