@mx-cartographer/experiences 6.25.1-alpha.mega1 → 6.26.0-alpha.sms1

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,7 +1,3 @@
1
- ## [6.25.1] - 08-21-2025
2
-
3
- - **ADDED** - `Profile` drawer with API
4
-
5
1
  ## [6.25.00] - 08-20-2025
6
2
 
7
3
  - **ADDED** - (new) TrendsWidget, TrendsStore, TrendsChartTotals, TrendsInsights
@@ -9,12 +9,14 @@ export declare class AccountStore {
9
9
  members: Member[];
10
10
  uiStore: UiStore;
11
11
  constructor(globalStore: GlobalStore);
12
- loadAccountData: () => Promise<void>;
12
+ loadAccountData: ({ accounts, institutions, }: {
13
+ accounts?: Account[];
14
+ institutions?: Institution[];
15
+ }) => Promise<void>;
13
16
  get cashAccounts(): Account[];
14
17
  get cashBalance(): number;
15
18
  get checkingAccounts(): Account[];
16
19
  get debtAccounts(): Account[];
17
- get finstrongAccounts(): Account[];
18
20
  get investmentAccounts(): Account[];
19
21
  get savingsAccounts(): Account[];
20
22
  get visibleAccounts(): Account[];
@@ -22,13 +24,12 @@ export declare class AccountStore {
22
24
  get visibleCashBalance(): number;
23
25
  get visibleCheckingAccounts(): Account[];
24
26
  get visibleDebtAccounts(): Account[];
25
- get visibleFinstrongAccounts(): Account[];
26
27
  get visibleInvestmentAccounts(): Account[];
27
28
  get visibleSavingsAccounts(): Account[];
28
29
  addAccount: (account: Account) => Promise<void>;
29
30
  augmentAccounts: (accounts?: Account[]) => Account[];
30
- loadAccounts: () => Promise<void>;
31
- loadInstitutions: () => Promise<void>;
31
+ loadAccounts: (accountsOverride?: Account[]) => Promise<void>;
32
+ loadInstitutions: (institutionsOverride?: Institution[]) => Promise<void>;
32
33
  loadMembers: () => Promise<void>;
33
34
  mergeAccounts: (accountGuids: string[]) => Promise<void>;
34
35
  sortAccounts: (accounts?: Account[]) => Account[];
@@ -14,7 +14,6 @@ export declare class BudgetsStore {
14
14
  constructor(globalStore: GlobalStore);
15
15
  loadBudgetData: () => Promise<void>;
16
16
  get detailedBudgets(): DetailedBudget[];
17
- get incomeBudget(): number | undefined;
18
17
  get unbudgetedCategories(): DetailedCategory[];
19
18
  get totalBudgeted(): number;
20
19
  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: () => Promise<void>;
19
+ loadCategories: (categoriesOverride?: Category[]) => 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>;
@@ -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: () => Promise<void>;
18
+ loadAppData: (appDataOverrides?: AppData) => Promise<void>;
19
19
  loadBanner: () => Promise<void>;
20
20
  setUser: (user: User) => User;
21
21
  setUserCommunicationProfile: (profile: UserCommunicationProfile) => UserCommunicationProfile;
@@ -21,7 +21,21 @@ import { ConnectStore } from './ConnectStore';
21
21
  import { GlobalCopyStore } from './GlobalCopyStore';
22
22
  import { GlobalUiStore } from './GlobalUiStore';
23
23
  import { UserStore } from './UserStore';
24
- import { AppConfig } from '../types';
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
+ }
25
39
  export declare class GlobalStore {
26
40
  appConfig: AppConfig;
27
41
  endpoint: string;
@@ -51,5 +65,6 @@ export declare class GlobalStore {
51
65
  globalUiStore: GlobalUiStore;
52
66
  constructor(appConfig?: AppConfig, endpoint?: string);
53
67
  get isInitialized(): boolean;
54
- loadData: () => Promise<void>;
68
+ loadData: ({ accounts, appData, associatedBeats, categories, institutions, transactionRules, transactions, userFeatures, }: LoadDataProps) => Promise<void>;
55
69
  }
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: () => Promise<void>;
12
+ loadUserFeatures: (featuresOverrides?: UserFeature[]) => Promise<void>;
13
13
  updateUser: (user: User) => Promise<void>;
14
14
  updateUserProfile: (userProfile: UserProfile) => Promise<void>;
15
15
  }
@@ -2,7 +2,5 @@ interface ManageDOBProps {
2
2
  isOpen: boolean;
3
3
  onClose: () => void;
4
4
  }
5
- declare const _default: (({ isOpen, onClose }: ManageDOBProps) => import("react/jsx-runtime").JSX.Element) & {
6
- displayName: string;
7
- };
8
- export default _default;
5
+ declare const ManageDOB: ({ isOpen, onClose }: ManageDOBProps) => import("react/jsx-runtime").JSX.Element;
6
+ export default ManageDOB;
@@ -1,6 +1,5 @@
1
1
  import { PieValueType } from '@mui/x-charts';
2
2
  import { CreditScoreStatusCopy, FinstrongCopy } from '../../common/types/localization/FinstrongCopy';
3
- import { Action } from '../components/ProfileList';
4
3
  export declare const radiansToDegrees: (radians: number) => number;
5
4
  export declare const calculateFinstrongScoreStatus: (healthScore: number, copy: FinstrongCopy) => string;
6
5
  export declare const CreditScoreLightColors: {
@@ -27,17 +26,3 @@ export declare const getCreditScoreDetails: (healthScore: number, isDarkMode: bo
27
26
  export declare const getOutterArcStartEndAngle: (healthScoreData: PieValueType[], totalAngularSpan: number, arcStartAngle: number, dataIndex: number) => number[];
28
27
  export declare const getFilledArcStartEndAngle: (outterArcStartAngle: number, outterArcEndAngle: number, dataIndex: number, unitsPerSegment: number, progressEndAngle: number) => number[];
29
28
  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
- };