@mx-cartographer/experiences 6.24.21 → 6.24.23
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 +8 -0
- package/dist/common/constants/Analytics.d.ts +12 -0
- package/dist/common/types/localization/FinstrongCopy.d.ts +11 -0
- package/dist/finstrong/components/CreditScoreGraph.d.ts +11 -0
- package/dist/finstrong/components/FinancialStrengthGraph.d.ts +9 -0
- package/dist/finstrong/components/shared/CustomPieArc.d.ts +18 -0
- package/dist/finstrong/components/shared/DialScoreCard.d.ts +16 -0
- package/dist/finstrong/index.d.ts +3 -0
- package/dist/finstrong/util/finstrongUtils.d.ts +28 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +5133 -4740
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## [6.24.23] - 08-20-2025
|
|
2
|
+
|
|
3
|
+
- **ADDED** - Finstrong Financial Strength Graph and Credit Score Graph component | Dial Score Card Component
|
|
4
|
+
|
|
5
|
+
## [6.24.22] - 08-20-2025
|
|
6
|
+
|
|
7
|
+
- **ADDED** - Analytic events for micro widgets
|
|
8
|
+
|
|
1
9
|
## [6.24.21] - 08-20-2025
|
|
2
10
|
|
|
3
11
|
- **ADDED** - Api for Augumented Chart Data
|
|
@@ -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
|
};
|
|
@@ -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;
|
|
@@ -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
|
+
};
|
|
@@ -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';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { PieValueType } from '@mui/x-charts';
|
|
2
|
+
import { CreditScoreStatusCopy, FinstrongCopy } from '../../common/types/localization/FinstrongCopy';
|
|
3
|
+
export declare const radiansToDegrees: (radians: number) => number;
|
|
4
|
+
export declare const calculateFinstrongScoreStatus: (healthScore: number, copy: FinstrongCopy) => string;
|
|
5
|
+
export declare const CreditScoreLightColors: {
|
|
6
|
+
POOR: string;
|
|
7
|
+
FAIR: string;
|
|
8
|
+
GOOD: string;
|
|
9
|
+
VERY_GOOD: string;
|
|
10
|
+
EXCEPTIONAL: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const CreditScoreDarkColors: {
|
|
13
|
+
POOR: string;
|
|
14
|
+
FAIR: string;
|
|
15
|
+
GOOD: string;
|
|
16
|
+
VERY_GOOD: string;
|
|
17
|
+
EXCEPTIONAL: string;
|
|
18
|
+
};
|
|
19
|
+
export declare const getCreditScoreDetails: (healthScore: number, isDarkMode: boolean, copy: CreditScoreStatusCopy) => {
|
|
20
|
+
status: string;
|
|
21
|
+
color: string;
|
|
22
|
+
} | {
|
|
23
|
+
status: string;
|
|
24
|
+
color?: undefined;
|
|
25
|
+
};
|
|
26
|
+
export declare const getOutterArcStartEndAngle: (healthScoreData: PieValueType[], totalAngularSpan: number, arcStartAngle: number, dataIndex: number) => number[];
|
|
27
|
+
export declare const getFilledArcStartEndAngle: (outterArcStartAngle: number, outterArcEndAngle: number, dataIndex: number, unitsPerSegment: number, progressEndAngle: number) => number[];
|
|
28
|
+
export declare const getMarkerXYCoordinates: (markerRadius: number, progressEndAngle: number, angleOffset?: number) => number[];
|
package/dist/index.d.ts
CHANGED