@mx-cartographer/experiences 6.25.0-alpha.sms4 → 6.25.1-alpha.mega1

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 (44) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/dist/accounts/stores/AccountStore.d.ts +5 -6
  3. package/dist/budgets/store/BudgetsStore.d.ts +1 -0
  4. package/dist/categories/stores/CategoryStore.d.ts +1 -1
  5. package/dist/common/components/ListItemRow.d.ts +13 -0
  6. package/dist/common/components/charts/LineChart.d.ts +20 -8
  7. package/dist/common/components/charts/linechart/CustomLegend.d.ts +8 -3
  8. package/dist/common/components/charts/linechart/CustomMark.d.ts +1 -1
  9. package/dist/common/components/charts/linechart/CustomTooltip.d.ts +7 -0
  10. package/dist/common/components/listitems/CollapseExpandListItem.d.ts +7 -0
  11. package/dist/common/constants/Analytics.d.ts +12 -0
  12. package/dist/common/stores/AppDataStore.d.ts +1 -1
  13. package/dist/common/stores/GlobalStore.d.ts +2 -17
  14. package/dist/common/stores/UserStore.d.ts +1 -1
  15. package/dist/common/types/Category.d.ts +9 -0
  16. package/dist/common/types/index.d.ts +1 -1
  17. package/dist/common/types/localization/FinstrongCopy.d.ts +13 -0
  18. package/dist/finstrong/components/CreditScoreGraph.d.ts +11 -0
  19. package/dist/finstrong/components/FinancialStrengthGraph.d.ts +9 -0
  20. package/dist/finstrong/components/ManageDOB.d.ts +4 -2
  21. package/dist/finstrong/components/MissingData.d.ts +7 -0
  22. package/dist/finstrong/components/shared/CustomPieArc.d.ts +18 -0
  23. package/dist/finstrong/components/shared/DialScoreCard.d.ts +16 -0
  24. package/dist/finstrong/index.d.ts +3 -0
  25. package/dist/finstrong/stores/FinstrongStore.d.ts +5 -0
  26. package/dist/finstrong/util/finstrongUtils.d.ts +43 -0
  27. package/dist/finstrong/utils/Finstrong.d.ts +6 -0
  28. package/dist/index.d.ts +1 -0
  29. package/dist/index.es.js +7740 -6922
  30. package/dist/index.es.js.map +1 -1
  31. package/dist/transactions/stores/TransactionStore.d.ts +4 -11
  32. package/dist/trends/TrendsWidget.d.ts +5 -2
  33. package/dist/trends/components/CategoriesList.d.ts +7 -3
  34. package/dist/trends/components/CategoriesListItem.d.ts +3 -6
  35. package/dist/trends/components/CategoryDetailChart.d.ts +4 -0
  36. package/dist/trends/components/CategoryDetailDrawer.d.ts +7 -0
  37. package/dist/trends/components/DateRangeText.d.ts +9 -0
  38. package/dist/trends/components/TransactionsList.d.ts +7 -0
  39. package/dist/trends/components/TrendsChartTotals.d.ts +8 -0
  40. package/dist/trends/components/TrendsInsights.d.ts +5 -1
  41. package/dist/trends/components/TrendsViewToggle.d.ts +7 -0
  42. package/dist/trends/stores/TrendsStore.d.ts +15 -8
  43. package/package.json +1 -1
  44. package/dist/trends/mocks.d.ts +0 -80
package/CHANGELOG.md CHANGED
@@ -1,3 +1,37 @@
1
+ ## [6.25.1] - 08-21-2025
2
+
3
+ - **ADDED** - `Profile` drawer with API
4
+
5
+ ## [6.25.00] - 08-20-2025
6
+
7
+ - **ADDED** - (new) TrendsWidget, TrendsStore, TrendsChartTotals, TrendsInsights
8
+ - **ADDED** - CategoryList, CategoryDetailDrawer, CategoryDetailChart
9
+ - **UPDATED** - Refactor (old) TrendsFullWidget to share common logic/components with TrendsWidget
10
+ - **UPDATED** - LineChart with axisColor, showAxisHighlight, showLegend, showTooltip, showXAxis, showYAxis, showXAxisTicks, showYAxisTicks props
11
+ - **UPDATED** - LineChart valueFormatterString prop to be explicit with no default to allow unformatted values/labels
12
+ - **UPDATED** - CustomLegend to allow optional custom amount+label props
13
+ - **ADDED** - CustomTooltip for LineChart hover cards
14
+
15
+ ## [6.24.25] - 08-20-2025
16
+
17
+ - **ADDED** - Missing Data component for `Finstrong` widget
18
+
19
+ ## [6.24.24] - 08-20-2025
20
+
21
+ - **ADDED** - `FinStrong` | key indicators tab section Unit testcases added
22
+
23
+ ## [6.24.23] - 08-20-2025
24
+
25
+ - **ADDED** - Finstrong Financial Strength Graph and Credit Score Graph component | Dial Score Card Component
26
+
27
+ ## [6.24.22] - 08-20-2025
28
+
29
+ - **ADDED** - Analytic events for micro widgets
30
+
31
+ ## [6.24.21] - 08-20-2025
32
+
33
+ - **ADDED** - Api for Augumented Chart Data
34
+
1
35
  ## [6.24.20] - 08-19-2025
2
36
 
3
37
  - **ADDED** - `FinStrong` | key indicators tab section added
@@ -9,14 +9,12 @@ export declare class AccountStore {
9
9
  members: Member[];
10
10
  uiStore: UiStore;
11
11
  constructor(globalStore: GlobalStore);
12
- loadAccountData: ({ accounts, institutions, }: {
13
- accounts?: Account[];
14
- institutions?: Institution[];
15
- }) => Promise<void>;
12
+ loadAccountData: () => Promise<void>;
16
13
  get cashAccounts(): Account[];
17
14
  get cashBalance(): number;
18
15
  get checkingAccounts(): Account[];
19
16
  get debtAccounts(): Account[];
17
+ get finstrongAccounts(): Account[];
20
18
  get investmentAccounts(): Account[];
21
19
  get savingsAccounts(): Account[];
22
20
  get visibleAccounts(): Account[];
@@ -24,12 +22,13 @@ export declare class AccountStore {
24
22
  get visibleCashBalance(): number;
25
23
  get visibleCheckingAccounts(): Account[];
26
24
  get visibleDebtAccounts(): Account[];
25
+ get visibleFinstrongAccounts(): Account[];
27
26
  get visibleInvestmentAccounts(): Account[];
28
27
  get visibleSavingsAccounts(): Account[];
29
28
  addAccount: (account: Account) => Promise<void>;
30
29
  augmentAccounts: (accounts?: Account[]) => Account[];
31
- loadAccounts: (accountsOverride?: Account[]) => Promise<void>;
32
- loadInstitutions: (institutionsOverride?: Institution[]) => Promise<void>;
30
+ loadAccounts: () => Promise<void>;
31
+ loadInstitutions: () => Promise<void>;
33
32
  loadMembers: () => Promise<void>;
34
33
  mergeAccounts: (accountGuids: string[]) => Promise<void>;
35
34
  sortAccounts: (accounts?: Account[]) => Account[];
@@ -14,6 +14,7 @@ export declare class BudgetsStore {
14
14
  constructor(globalStore: GlobalStore);
15
15
  loadBudgetData: () => Promise<void>;
16
16
  get detailedBudgets(): DetailedBudget[];
17
+ get incomeBudget(): number | undefined;
17
18
  get unbudgetedCategories(): DetailedCategory[];
18
19
  get totalBudgeted(): number;
19
20
  addBudget: (category: Category, amount: number, parentGuid?: string | null) => Promise<void>;
@@ -16,7 +16,7 @@ export declare class CategoryStore {
16
16
  get spendCategories(): DetailedCategory[];
17
17
  get transferCategories(): DetailedCategory[];
18
18
  addCategory: (name: string, parentGuid: string) => Promise<void>;
19
- loadCategories: (categoriesOverride?: Category[]) => Promise<void>;
19
+ loadCategories: () => Promise<void>;
20
20
  loadDateRangeCategoryTotals: (accounts: Account[], startDate: Date, endDate: Date) => Promise<void>;
21
21
  loadMonthlyCategoryTotals: (accounts?: Account[], startDate?: Date, endDate?: Date) => Promise<void>;
22
22
  reloadCategoryTotals: (accounts: Account[], startDate: Date, endDate: Date) => Promise<void>;
@@ -0,0 +1,13 @@
1
+ import { default as React } from 'react';
2
+ interface ListItemRowProps {
3
+ onClick?: () => void;
4
+ leftIcon?: React.ReactNode;
5
+ rightIcon?: React.ReactNode;
6
+ title?: string;
7
+ subtitle?: string;
8
+ rightContent?: React.ReactNode;
9
+ titleBold?: boolean;
10
+ rightContentBold?: boolean;
11
+ }
12
+ export declare const ListItemRow: React.FC<ListItemRowProps>;
13
+ export {};
@@ -1,18 +1,23 @@
1
1
  import { default as React, CSSProperties } from 'react';
2
2
  import { MarkHandlers } from './linechart/CustomMark';
3
+ export type LineChartDataset = {
4
+ x: string;
5
+ y: number;
6
+ }[];
7
+ export type LineChartLabel = string | {
8
+ label: string;
9
+ amount: number;
10
+ };
11
+ type LineChartCurve = 'catmullRom' | 'linear' | 'monotoneX' | 'monotoneY' | 'natural' | 'step' | 'stepBefore' | 'stepAfter' | 'bump' | 'bumpX' | 'bumpY';
3
12
  interface LineChartProps {
13
+ axisColor?: string;
4
14
  baseline?: string;
5
15
  colors: (string | undefined)[];
6
- curveType?: string;
7
- datasets: {
8
- x: string;
9
- y: number;
10
- }[][];
11
- disableXAxis?: boolean;
16
+ curveType?: LineChartCurve;
17
+ datasets: LineChartDataset[];
12
18
  height?: number;
13
- isValuesFormatted?: boolean;
14
19
  isGraphClippingXAxis?: boolean;
15
- labels: string[];
20
+ labels: LineChartLabel[];
16
21
  labelBackgroundColor?: string;
17
22
  labelFontColor?: string;
18
23
  margin?: {
@@ -25,8 +30,15 @@ interface LineChartProps {
25
30
  markStyles?: (markIndex: number) => CSSProperties;
26
31
  showArea?: boolean;
27
32
  showAverage?: boolean;
33
+ showAxisHighlight?: boolean;
28
34
  showBars?: boolean;
35
+ showLegend?: boolean;
29
36
  showMarkLabel?: boolean;
37
+ showTooltip?: boolean;
38
+ showXAxis?: boolean;
39
+ showXAxisTicks?: boolean;
40
+ showYAxis?: boolean;
41
+ showYAxisTicks?: boolean;
30
42
  title?: string;
31
43
  useCustomMark?: boolean;
32
44
  valueFormatterString?: string;
@@ -1,9 +1,14 @@
1
- declare const _default: (({ average, isValuesFormatted, series, style, title, }: {
2
- average: number;
3
- isValuesFormatted: boolean;
1
+ import { LineChartLabel } from '../LineChart';
2
+ export declare const CustomLegendLabel: ({ label }: {
3
+ label: LineChartLabel;
4
+ }) => import("react/jsx-runtime").JSX.Element | null;
5
+ declare const _default: (({ average, labels, series, style, title, valueFormatterString, }: {
6
+ average?: number;
7
+ labels?: LineChartLabel[];
4
8
  series: any[];
5
9
  title?: string;
6
10
  style: any;
11
+ valueFormatterString?: string;
7
12
  }) => import("react/jsx-runtime").JSX.Element) & {
8
13
  displayName: string;
9
14
  };
@@ -9,9 +9,9 @@ interface CustomMarkProps extends MarkElementProps {
9
9
  handlers?: MarkHandlers;
10
10
  showLabel: boolean;
11
11
  yData: number[];
12
- isValuesFormatted?: boolean;
13
12
  labelBackgroundColor?: string;
14
13
  labelFontColor?: string;
14
+ valueFormatterString?: string;
15
15
  }
16
16
  export declare const CustomMark: React.FC<CustomMarkProps>;
17
17
  export {};
@@ -0,0 +1,7 @@
1
+ import { LineChartLabel } from '../LineChart';
2
+ interface CustomTooltipProps {
3
+ labels?: LineChartLabel[];
4
+ valueFormatterString?: string;
5
+ }
6
+ export declare function CustomTooltip({ labels, valueFormatterString }: CustomTooltipProps): import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1,7 @@
1
+ import { default as React } from 'react';
2
+ interface CollapseExpandListItemProps {
3
+ isExpanded: boolean;
4
+ onClick: () => void;
5
+ }
6
+ export declare const CollapseExpandListItem: React.FC<CollapseExpandListItemProps>;
7
+ export {};
@@ -97,4 +97,16 @@ export declare const ANALYTICS_EVENTS: {
97
97
  TRENDS_HOVER_POINT: string;
98
98
  TRENDS_VIEW_TRANSACTIONS: string;
99
99
  WIDGET_BACK_CLICK: string;
100
+ GOALS_CLICK_GET_STARTED: string;
101
+ GOALS_CLICK_VIEW_DETAILS: string;
102
+ GOALS_LOAD_WIDGET: string;
103
+ NET_WORTH_CLICK_GET_STARTED: string;
104
+ NET_WORTH_CLICK_VIEW_DETAILS: string;
105
+ NET_WORTH_LOAD_WIDGET: string;
106
+ RECURRING_TRANSACTIONS_CLICK_GET_STARTED: string;
107
+ RECURRING_TRANSACTIONS_CLICK_VIEW_ALL: string;
108
+ RECURRING_TRANSACTIONS_LOAD_WIDGET: string;
109
+ TRENDS_CLICK_GET_STARTED: string;
110
+ TRENDS_CLICK_VIEW_MORE: string;
111
+ TRENDS_LOAD_WIDGET: string;
100
112
  };
@@ -15,7 +15,7 @@ export declare class AppDataStore {
15
15
  get user(): User;
16
16
  get userCommunicationProfile(): UserCommunicationProfile;
17
17
  get userProfile(): UserProfile;
18
- loadAppData: (appDataOverrides?: AppData) => Promise<void>;
18
+ loadAppData: () => Promise<void>;
19
19
  loadBanner: () => Promise<void>;
20
20
  setUser: (user: User) => User;
21
21
  setUserCommunicationProfile: (profile: UserCommunicationProfile) => UserCommunicationProfile;
@@ -21,21 +21,7 @@ import { ConnectStore } from './ConnectStore';
21
21
  import { GlobalCopyStore } from './GlobalCopyStore';
22
22
  import { GlobalUiStore } from './GlobalUiStore';
23
23
  import { UserStore } from './UserStore';
24
- import { Account, Category, Institution, Member } from '../../common';
25
- import { AppConfig, AppData, Beat, Tag, Tagging, Transaction, TransactionRule, UserFeature } from '../types';
26
- interface LoadDataProps {
27
- accounts?: Account[];
28
- appData?: AppData;
29
- associatedBeats?: Beat[];
30
- categories?: Category[];
31
- institutions?: Institution[];
32
- members?: Member[];
33
- taggings?: Tagging[];
34
- tags?: Tag[];
35
- transactionRules?: TransactionRule[];
36
- transactions?: Transaction[];
37
- userFeatures?: UserFeature[];
38
- }
24
+ import { AppConfig } from '../types';
39
25
  export declare class GlobalStore {
40
26
  appConfig: AppConfig;
41
27
  endpoint: string;
@@ -65,6 +51,5 @@ export declare class GlobalStore {
65
51
  globalUiStore: GlobalUiStore;
66
52
  constructor(appConfig?: AppConfig, endpoint?: string);
67
53
  get isInitialized(): boolean;
68
- loadData: ({ accounts, appData, associatedBeats, categories, institutions, transactionRules, transactions, userFeatures, }: LoadDataProps) => Promise<void>;
54
+ loadData: () => Promise<void>;
69
55
  }
70
- export {};
@@ -9,7 +9,7 @@ export declare class UserStore {
9
9
  initialize: (endpoint: string, token: string) => Promise<void>;
10
10
  get userProfile(): UserProfile;
11
11
  get user(): User;
12
- loadUserFeatures: (featuresOverrides?: UserFeature[]) => Promise<void>;
12
+ loadUserFeatures: () => Promise<void>;
13
13
  updateUser: (user: User) => Promise<void>;
14
14
  updateUserProfile: (userProfile: UserProfile) => Promise<void>;
15
15
  }
@@ -1,3 +1,4 @@
1
+ import { Transaction } from './Transaction';
1
2
  export interface Category {
2
3
  guid: string;
3
4
  income: boolean;
@@ -54,6 +55,14 @@ export interface DetailedCategory extends Category {
54
55
  totalAverageAmount: number;
55
56
  totalMonthlyAmounts: MonthlyAmount[];
56
57
  }
58
+ export interface CategoryListItem {
59
+ guid: string;
60
+ name: string;
61
+ amount: number;
62
+ transactions?: Transaction[];
63
+ color?: string;
64
+ chartLabel?: string;
65
+ }
57
66
  export interface CategoryTotal {
58
67
  amount: number;
59
68
  category: Category;
@@ -6,7 +6,7 @@ export type { Beat, DataSeries } from './Beat';
6
6
  export { UserVerification } from './Beat';
7
7
  export type { Budget, BudgetColors, DetailedBudget } from './Budget';
8
8
  export type { CashflowEvent, CashflowSequence, RepeatDay, RepeatInterval, RepeatMonth, RepeatWeekday, } from './Cashflow';
9
- export type { Category, CategoryTotal, DateRangeCategoryTotals, DetailedCategory, MonthlyAmount, MonthlyCategoryTotals, } from './Category';
9
+ export type { Category, CategoryListItem, CategoryTotal, DateRangeCategoryTotals, DetailedCategory, MonthlyAmount, MonthlyCategoryTotals, } from './Category';
10
10
  export type { Client, ClientColorScheme, ClientCommunicationProfile, ClientInsightProfile, ClientProfile, ClientStyleProfile, } from './Client';
11
11
  export type { DateType, DateRange } from './Date';
12
12
  export type { Expense } from './Expense';
@@ -1,3 +1,11 @@
1
+ export interface CreditScoreStatusCopy {
2
+ poor: string;
3
+ fair: string;
4
+ good: string;
5
+ very_good: string;
6
+ exceptional: string;
7
+ missing_data: string;
8
+ }
1
9
  interface KeyIndicatorBorrow {
2
10
  credit_score_fair_description: string;
3
11
  credit_score_good_description: string;
@@ -43,9 +51,12 @@ export interface FinstrongCopy {
43
51
  connect_more_accounts_description: string;
44
52
  connect_more_accounts_title: string;
45
53
  connect_more_accounts_to_view_more_accurate_financial_picture: string;
54
+ credit_score_status: CreditScoreStatusCopy;
46
55
  dont_see_all_your_accounts: string;
56
+ footer_center_content_updated_just_now: string;
47
57
  finstrong_freedom_description: string;
48
58
  how_do_we_do_this: string;
59
+ insufficient_data: string;
49
60
  key_indicators: string;
50
61
  key_indicators_borrow: KeyIndicatorBorrow;
51
62
  key_indicators_fair: string;
@@ -54,6 +65,8 @@ export interface FinstrongCopy {
54
65
  key_indicators_off_track: string;
55
66
  key_indicators_save: KeyIndicatorSave;
56
67
  key_indicators_spend: KeyIndicatorSpend;
68
+ missing_data_description: string;
69
+ missing_data_title: string;
57
70
  score_rubric: string;
58
71
  see_whats_possible: string;
59
72
  see_whats_possible_description: string;
@@ -0,0 +1,11 @@
1
+ export interface CreditScoreGraphProps {
2
+ arcRadius: number;
3
+ size?: 'L' | 'M' | 'SM';
4
+ healthScore: number;
5
+ maxValue?: number;
6
+ minValue?: number;
7
+ footerCenterContent?: string | number;
8
+ }
9
+ export declare const CreditScoreGraph: (({ arcRadius, size, healthScore, maxValue, minValue, footerCenterContent, }: CreditScoreGraphProps) => import("react/jsx-runtime").JSX.Element) & {
10
+ displayName: string;
11
+ };
@@ -0,0 +1,9 @@
1
+ export interface FinacialStrengthGraphProps {
2
+ arcRadius: number;
3
+ size?: 'L' | 'M' | 'SM';
4
+ healthScore: number;
5
+ footerCenterContent?: string | number;
6
+ }
7
+ export declare const FinancialStrengthGraph: (({ arcRadius, size, healthScore, footerCenterContent }: FinacialStrengthGraphProps) => import("react/jsx-runtime").JSX.Element) & {
8
+ displayName: string;
9
+ };
@@ -2,5 +2,7 @@ interface ManageDOBProps {
2
2
  isOpen: boolean;
3
3
  onClose: () => void;
4
4
  }
5
- declare const ManageDOB: ({ isOpen, onClose }: ManageDOBProps) => import("react/jsx-runtime").JSX.Element;
6
- export default ManageDOB;
5
+ declare const _default: (({ isOpen, onClose }: ManageDOBProps) => import("react/jsx-runtime").JSX.Element) & {
6
+ displayName: string;
7
+ };
8
+ export default _default;
@@ -0,0 +1,7 @@
1
+ interface MissingDataProps {
2
+ onClick: () => void;
3
+ }
4
+ declare const _default: (({ onClick }: MissingDataProps) => import("react/jsx-runtime").JSX.Element) & {
5
+ displayName: string;
6
+ };
7
+ export default _default;
@@ -0,0 +1,18 @@
1
+ import { PieValueType } from '@mui/x-charts';
2
+ interface CustomPieArcProps {
3
+ dialScoreData: PieValueType[];
4
+ dataIndex: number;
5
+ arcStartAngle: number;
6
+ totalAngularSpan: number;
7
+ centerX: number;
8
+ centerY: number;
9
+ arcRadius: number;
10
+ arcColor?: string;
11
+ innerArcRadius: number;
12
+ outterArcRadius: number;
13
+ unitsPerSegment: number;
14
+ progressEndAngle: number;
15
+ isFinacialStrengthGraph?: boolean;
16
+ }
17
+ export declare const CustomPieArc: ({ dialScoreData, dataIndex, arcColor, arcStartAngle, totalAngularSpan, centerX, centerY, arcRadius, innerArcRadius, outterArcRadius, progressEndAngle, unitsPerSegment, isFinacialStrengthGraph, }: CustomPieArcProps) => import("react/jsx-runtime").JSX.Element;
18
+ export {};
@@ -0,0 +1,16 @@
1
+ import { PieValueType } from '@mui/x-charts';
2
+ export interface DialScoreCardProps {
3
+ arcRadius: number;
4
+ healthScore: number;
5
+ size: 'L' | 'M' | 'SM';
6
+ dialScoreData: PieValueType[];
7
+ minValue?: number;
8
+ maxValue?: number;
9
+ markerColor?: string;
10
+ healthScoreStatus: string;
11
+ footerCenterContent?: string | number;
12
+ footerLeftContent?: number;
13
+ footerRightContent?: number;
14
+ isFinacialStrengthGraph?: boolean;
15
+ }
16
+ export declare const DialScoreCard: ({ arcRadius, healthScore, size, dialScoreData, minValue, maxValue, markerColor, healthScoreStatus, footerCenterContent, footerLeftContent, footerRightContent, isFinacialStrengthGraph, }: DialScoreCardProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,6 @@
1
+ export { DialScoreCard } from './components/shared/DialScoreCard';
2
+ export { FinancialStrengthGraph } from './components/FinancialStrengthGraph';
3
+ export { CreditScoreGraph } from './components/CreditScoreGraph';
1
4
  export { FinstrongApi } from './api/FinstrongApi';
2
5
  export { FinstrongStore } from './stores/FinstrongStore';
3
6
  export { default as FinstrongWidget } from './FinstrongWidget';
@@ -2,6 +2,10 @@ import { GlobalStore, HealthScore, HealthScoreReport, MonthlyHealthScore } from
2
2
  import { FinstrongApi } from '../api/FinstrongApi';
3
3
  export declare class FinstrongStore {
4
4
  api: FinstrongApi;
5
+ augmentedChartData: {
6
+ x: string;
7
+ y: number;
8
+ }[];
5
9
  averageHealthScores: MonthlyHealthScore[];
6
10
  globalStore: GlobalStore;
7
11
  healthScore: HealthScore;
@@ -13,4 +17,5 @@ export declare class FinstrongStore {
13
17
  loadAverageHealthScores: () => Promise<void>;
14
18
  loadHealthScoreChangeReports: () => Promise<void>;
15
19
  loadPeerScore: () => Promise<void>;
20
+ loadAugmentedChartData: () => Promise<void>;
16
21
  }
@@ -0,0 +1,43 @@
1
+ import { PieValueType } from '@mui/x-charts';
2
+ import { CreditScoreStatusCopy, FinstrongCopy } from '../../common/types/localization/FinstrongCopy';
3
+ import { Action } from '../components/ProfileList';
4
+ export declare const radiansToDegrees: (radians: number) => number;
5
+ export declare const calculateFinstrongScoreStatus: (healthScore: number, copy: FinstrongCopy) => string;
6
+ export declare const CreditScoreLightColors: {
7
+ POOR: string;
8
+ FAIR: string;
9
+ GOOD: string;
10
+ VERY_GOOD: string;
11
+ EXCEPTIONAL: string;
12
+ };
13
+ export declare const CreditScoreDarkColors: {
14
+ POOR: string;
15
+ FAIR: string;
16
+ GOOD: string;
17
+ VERY_GOOD: string;
18
+ EXCEPTIONAL: string;
19
+ };
20
+ export declare const getCreditScoreDetails: (healthScore: number, isDarkMode: boolean, copy: CreditScoreStatusCopy) => {
21
+ status: string;
22
+ color: string;
23
+ } | {
24
+ status: string;
25
+ color?: undefined;
26
+ };
27
+ export declare const getOutterArcStartEndAngle: (healthScoreData: PieValueType[], totalAngularSpan: number, arcStartAngle: number, dataIndex: number) => number[];
28
+ export declare const getFilledArcStartEndAngle: (outterArcStartAngle: number, outterArcEndAngle: number, dataIndex: number, unitsPerSegment: number, progressEndAngle: number) => number[];
29
+ export declare const getMarkerXYCoordinates: (markerRadius: number, progressEndAngle: number, angleOffset?: number) => number[];
30
+ export declare const buildProfileItem: ({ dynamicCopy, fallbackLabel, icon, key, label, value, }: {
31
+ dynamicCopy?: string;
32
+ fallbackLabel: string;
33
+ icon: JSX.Element;
34
+ key: Action;
35
+ label: string;
36
+ value: string | number | undefined | null;
37
+ }) => {
38
+ icon: import("react/jsx-runtime").JSX.Element;
39
+ isComplete: boolean;
40
+ key: Action;
41
+ primaryText: string;
42
+ secondaryText: string;
43
+ };
@@ -0,0 +1,6 @@
1
+ export declare const augmentChartData: (averageHealthScores: {
2
+ health_scores: any[];
3
+ }) => {
4
+ x: string;
5
+ y: any;
6
+ }[];
package/dist/index.d.ts CHANGED
@@ -19,3 +19,4 @@ export * from './spending';
19
19
  export * from './settings';
20
20
  export * from './transactions';
21
21
  export * from './trends';
22
+ export * from './finstrong';