@mx-cartographer/experiences 6.26.9-alpha.al0 → 6.26.9

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 CHANGED
@@ -1,3 +1,7 @@
1
+ ## [6.26.9] - 09-04-2025
2
+
3
+ - **ADDED** - Financial strength card section for `Finstrong`
4
+
1
5
  ## [6.26.8] - 09-03-2025
2
6
 
3
7
  - **UPDATED** - Transaction filter to allow displaying of split transaction children
@@ -1,4 +1,4 @@
1
- import { Account, CategoryApi, Category, DetailedCategory, DetailedCategoryWithTransactions, DateRangeCategoryTotals, GlobalStore, MonthlyCategoryTotals } from '../../common';
1
+ import { Account, CategoryApi, Category, DetailedCategory, DateRangeCategoryTotals, GlobalStore, MonthlyCategoryTotals } from '../../common';
2
2
  import { UiStore } from './UiStore';
3
3
  export declare class CategoryStore {
4
4
  globalStore: GlobalStore;
@@ -12,7 +12,6 @@ export declare class CategoryStore {
12
12
  monthlyTotalsLoaded: boolean;
13
13
  constructor(globalStore: GlobalStore);
14
14
  get detailedCategories(): DetailedCategory[];
15
- get detailedCategoriesWithTransactions(): DetailedCategoryWithTransactions[];
16
15
  get incomeCategories(): DetailedCategory[];
17
16
  get spendCategories(): DetailedCategory[];
18
17
  get transferCategories(): DetailedCategory[];
@@ -1,5 +1,5 @@
1
1
  import { Theme } from '@mui/material';
2
- import { Category, DateRangeCategoryTotals, DetailedCategory, MonthlyCategoryTotals, Transaction, DetailedCategoryWithTransactions } from '../../common';
2
+ import { Category, DateRangeCategoryTotals, DetailedCategory, MonthlyCategoryTotals } from '../../common';
3
3
  /**
4
4
  * Augment categories
5
5
  * @param categories - Categories to augment
@@ -9,9 +9,3 @@ import { Category, DateRangeCategoryTotals, DetailedCategory, MonthlyCategoryTot
9
9
  export declare const augmentCategories: (categories: Category[], currentCategoryTotals: DateRangeCategoryTotals[], monthlyCategoryTotals: MonthlyCategoryTotals[]) => DetailedCategory[];
10
10
  export declare const getCategoryColor: (guid: string, theme: Theme) => string;
11
11
  export declare const getCategoryIcon: (guid: string) => string | undefined;
12
- /**
13
- * get the transactions belonging to parent categories
14
- * @param detailedCategories - detailed categories from the category store
15
- * @param transactions - sortedTransactions from the transaction store
16
- */
17
- export declare const getDetailedCategoryTransactions: (detailedCategories: DetailedCategory[], transactions: Transaction[]) => DetailedCategoryWithTransactions[];
@@ -55,9 +55,6 @@ export interface DetailedCategory extends Category {
55
55
  totalAverageAmount: number;
56
56
  totalMonthlyAmounts: MonthlyAmount[];
57
57
  }
58
- export interface DetailedCategoryWithTransactions extends DetailedCategory {
59
- transactions: Transaction[];
60
- }
61
58
  export interface CategoryListItem {
62
59
  guid: string;
63
60
  name: string;
@@ -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, CategoryListItem, CategoryTotal, DateRangeCategoryTotals, DetailedCategory, DetailedCategoryWithTransactions, 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';
@@ -6,6 +6,12 @@ export interface CreditScoreStatusCopy {
6
6
  exceptional: string;
7
7
  missing_data: string;
8
8
  }
9
+ export interface HealthScoreStatuDetailsCopy {
10
+ building: string;
11
+ stable: string;
12
+ strong: string;
13
+ vulnerable: string;
14
+ }
9
15
  interface KeyIndicatorBorrow {
10
16
  credit_score_fair_description: string;
11
17
  credit_score_good_description: string;
@@ -46,6 +52,8 @@ interface KeyIndicatorSpend {
46
52
  title: string;
47
53
  }
48
54
  export interface FinstrongCopy {
55
+ accordion_details_text: HealthScoreStatuDetailsCopy;
56
+ accordion_title_text: string;
49
57
  account: string;
50
58
  accounts: string;
51
59
  add_profile_item: string;
@@ -66,8 +74,12 @@ export interface FinstrongCopy {
66
74
  edit_credit_score: string;
67
75
  financial_profile: string;
68
76
  financial_profile_description: string;
77
+ financial_strength_header: string;
78
+ financial_strength_header_action: string;
69
79
  finstrong_freedom_description: string;
70
80
  footer_center_content_updated_just_now: string;
81
+ health_score_zero_title: string;
82
+ health_score_zero_description: string;
71
83
  how_do_we_do_this: string;
72
84
  insufficient_data: string;
73
85
  key_indicators: string;
@@ -0,0 +1,3 @@
1
+ export declare const FinancialStrengthCard: (() => import("react/jsx-runtime").JSX.Element) & {
2
+ displayName: string;
3
+ };
@@ -1,7 +1,11 @@
1
+ import { SxProps } from '@mui/material/styles';
1
2
  interface ConnectMoreAccountsCardProps {
2
3
  isDashboard?: boolean;
4
+ hasIcon?: boolean;
5
+ buttonText?: string;
3
6
  title?: string;
4
7
  description?: string;
8
+ sx?: SxProps;
5
9
  }
6
- export declare const ConnectMoreAccountsCard: ({ isDashboard, title, description, }: ConnectMoreAccountsCardProps) => import("react/jsx-runtime").JSX.Element;
10
+ export declare const ConnectMoreAccountsCard: ({ isDashboard, hasIcon, buttonText, title, description, sx, }: ConnectMoreAccountsCardProps) => import("react/jsx-runtime").JSX.Element;
7
11
  export {};
@@ -9,10 +9,10 @@ export declare class FinstrongStore {
9
9
  averageHealthScores: MonthlyHealthScore[];
10
10
  globalStore: GlobalStore;
11
11
  healthScore: HealthScore;
12
+ healthScoreChange?: number;
12
13
  healthScoreChangeReports: HealthScoreReport[];
13
14
  peerScore: number | null;
14
15
  constructor(globalStore: GlobalStore);
15
- get getHealthScore(): HealthScore;
16
16
  calculateHealthScore: () => Promise<void>;
17
17
  loadAverageHealthScores: () => Promise<void>;
18
18
  loadHealthScoreChangeReports: () => Promise<void>;
@@ -3,12 +3,14 @@ import { CreditScoreStatusCopy, FinstrongCopy } from '../../common/types/localiz
3
3
  import { Action } from '../components/ProfileList';
4
4
  export declare const radiansToDegrees: (radians: number) => number;
5
5
  export declare const calculateFinstrongScoreStatus: (healthScore: number, copy: FinstrongCopy) => {
6
+ description: string;
6
7
  max: number;
8
+ scoreContent: string;
7
9
  status: string;
8
- description: string;
9
10
  } | {
10
11
  status: string;
11
12
  description: string;
13
+ scoreContent: string;
12
14
  };
13
15
  export declare const CreditScoreLightColors: {
14
16
  POOR: string;