@mx-cartographer/experiences 7.3.0-alpha.sms1 → 7.3.1
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 +75 -0
- package/dist/{Account-Bxw0_4FU.mjs → Account-YwUMFz93.mjs} +1 -1
- package/dist/{AccountDetailsContent-CAM9y39M.mjs → AccountDetailsContent-BgCST7mK.mjs} +8 -8
- package/dist/AccountDetailsHeader-jAFWoHj7.mjs +87 -0
- package/dist/{AccountFields-C9FlatNb.mjs → AccountFields-DPxMPBF0.mjs} +2 -2
- package/dist/{AccountListItem-JFMZROh7.mjs → AccountListItem-D6rWAreC.mjs} +8 -8
- package/dist/{AccountStore-BgNOyMdp.mjs → AccountStore-B5E98oM1.mjs} +100 -74
- package/dist/Accounts-UIlYCmHb.mjs +9 -0
- package/dist/{BeatApi-DhJpgCLz.mjs → BeatApi-De2IaqH2.mjs} +1 -1
- package/dist/{BeatStore-IBnXd4YK.mjs → BeatStore-D_NYuBSz.mjs} +1 -1
- package/dist/{BudgetUtil-B2ZXyw-g.mjs → BudgetUtil-CXvenbdN.mjs} +1 -1
- package/dist/{CategorySelectorDrawer-DUe4lH5-.mjs → CategorySelectorDrawer-Buy70Y3V.mjs} +21 -19
- package/dist/CategoryStore-BEdFs69_.mjs +183 -0
- package/dist/CategoryUtil-BR3H5i6n.mjs +78 -0
- package/dist/{ConnectDrawer-BQNs-hjk.mjs → ConnectDrawer-CbxHKlRv.mjs} +10 -10
- package/dist/{ConnectionsDrawer-ByGQE7D5.mjs → ConnectionsDrawer-C6kanU7I.mjs} +4 -4
- package/dist/{CurrencyInput-DUsQbkXb.mjs → CurrencyInput-lSC7oPDg.mjs} +1 -1
- package/dist/{DebtsStore-C9bblOgW.mjs → DebtsStore-DgIcphe_.mjs} +1 -1
- package/dist/{ExportCsvAction-sX8Rg4Ov.mjs → ExportCsvAction-DNSgmdyv.mjs} +3 -3
- package/dist/{Fetch-87LIQbEA.mjs → Fetch-DecPFeGU.mjs} +24 -22
- package/dist/{FinstrongStore-F2c607dj.mjs → FinstrongStore-CL7t5lBL.mjs} +1 -1
- package/dist/{GoalStore-D-aB35SY.mjs → GoalStore-CAlmSu4U.mjs} +112 -152
- package/dist/{Help-B6dIcujh.mjs → Help-hi9I9EYP.mjs} +1 -1
- package/dist/{LineChart-D4GI7nVh.mjs → LineChart-eK4IQImU.mjs} +2 -2
- package/dist/{ListItemAction-DHa3KJPs.mjs → ListItemAction-BmL5buOf.mjs} +1 -1
- package/dist/{ManageIncome-1s_q5W4X.mjs → ManageIncome-Cypo9qY4.mjs} +66 -65
- package/dist/{MerchantStore-DrFvsUyy.mjs → MerchantStore-WvZ4gnQe.mjs} +1 -1
- package/dist/{MicroWidgetContainer-DpeqN9n3.mjs → MicroWidgetContainer-CFdMGJKg.mjs} +1 -1
- package/dist/{MiniWidgetContainer-D0gfmbaF.mjs → MiniWidgetContainer-BdgBvpga.mjs} +1 -1
- package/dist/{NetWorthStore-DCsTZpuS.mjs → NetWorthStore-CxqIxAgN.mjs} +2 -2
- package/dist/{NotificationSettings-DqrkNMod.mjs → NotificationSettings-DxytNHlN.mjs} +240 -237
- package/dist/{NotificationStore-BxP_P2dA.mjs → NotificationStore-CDX_kqHa.mjs} +7 -15
- package/dist/{OriginalBalanceAction-CWuVvRq9.mjs → OriginalBalanceAction-V6FEoIDe.mjs} +3 -3
- package/dist/{RecurringSettings-A_rAGCTP.mjs → RecurringSettings-iIupYxJW.mjs} +4 -4
- package/dist/{RecurringTransactions-DK8dWldr.mjs → RecurringTransactions-ej39mgA6.mjs} +3 -3
- package/dist/{RecurringTransactionsStore-C4YOD7_D.mjs → RecurringTransactionsStore-BiwCzScZ.mjs} +26 -29
- package/dist/{SettingsStore-BcgS_Ohv.mjs → SettingsStore-krIRNwHK.mjs} +3 -3
- package/dist/{ToggleListItem-r0Kx56wF.mjs → ToggleListItem-ciFTiqRS.mjs} +19 -14
- package/dist/TransactionApi-CjBoLleL.mjs +86 -0
- package/dist/{TransactionDetails-oP1eSuiS.mjs → TransactionDetails-BUoNbsu-.mjs} +402 -367
- package/dist/TransactionStore-CtGTg0XS.mjs +677 -0
- package/dist/TrendsStore-5PvDT_o6.mjs +182 -0
- package/dist/{User-BQUxBeZV.mjs → User-Bj34_i8g.mjs} +1 -1
- package/dist/{ViewMoreMicroCard-SCn2wt4i.mjs → ViewMoreMicroCard-lihSDk2J.mjs} +517 -493
- package/dist/{WidgetContainer-BHWANqT4.mjs → WidgetContainer-BnTgAfQn.mjs} +2 -2
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart.d.ts +4 -1
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsHeader.d.ts +2 -1
- package/dist/accounts/index.es.js +241 -203
- package/dist/accounts/stores/AccountStore.d.ts +22 -25
- package/dist/accounts/utils/Accounts.d.ts +1 -2
- package/dist/analytics/index.es.js +2 -2
- package/dist/budgets/index.es.js +500 -507
- package/dist/budgets/store/BudgetsStore.d.ts +0 -1
- package/dist/cashflow/index.es.js +384 -382
- package/dist/categories/index.es.js +2 -2
- package/dist/categories/stores/CategoryStore.d.ts +1 -5
- package/dist/categories/util/CategoryUtil.d.ts +2 -3
- package/dist/common/components/charts/index.d.ts +0 -2
- package/dist/common/index.es.js +391 -376
- package/dist/common/stores/AppDataStore.d.ts +1 -3
- package/dist/common/stores/GlobalCopyStore.d.ts +1 -0
- package/dist/common/stores/GlobalStore.d.ts +10 -4
- package/dist/common/stores/UserStore.d.ts +2 -3
- package/dist/common/types/Account.d.ts +6 -9
- package/dist/common/types/Global.d.ts +1 -0
- package/dist/dashboard/index.es.js +2 -2
- package/dist/debts/index.es.js +506 -498
- package/dist/exportTransactionsToCSV-C4PkIYP6.mjs +48 -0
- package/dist/finstrong/index.es.js +417 -415
- package/dist/goals/index.es.js +559 -557
- package/dist/goals/stores/GoalStore.d.ts +4 -17
- package/dist/help/index.es.js +3 -3
- package/dist/{hooks-D6XlXHf4.mjs → hooks-Cy8JnjCg.mjs} +2 -2
- package/dist/insights/index.es.js +1 -1
- package/dist/investments/index.es.js +437 -435
- package/dist/investments/stores/HoldingStore.d.ts +0 -1
- package/dist/merchants/index.es.js +2 -2
- package/dist/microinsights/carousel/BeatList.d.ts +10 -0
- package/dist/microinsights/carousel/CarouselControls.d.ts +1 -1
- package/dist/microinsights/index.es.js +1 -1
- package/dist/microinsights/interfaces.d.ts +0 -1
- package/dist/networth/index.es.js +176 -174
- package/dist/notifications/index.es.js +23 -23
- package/dist/notifications/stores/NotificationStore.d.ts +1 -3
- package/dist/recurringtransactions/index.es.js +175 -173
- package/dist/recurringtransactions/stores/RecurringTransactionsStore.d.ts +2 -3
- package/dist/settings/index.es.js +285 -279
- package/dist/spending/index.es.js +328 -304
- package/dist/transactions/components/shared/TransactionDetails.d.ts +1 -0
- package/dist/transactions/index.es.js +63 -64
- package/dist/transactions/stores/TransactionStore.d.ts +77 -21
- package/dist/trends/index.es.js +948 -583
- package/dist/{useAccountDisplayName-BUAApBIb.mjs → useAccountDisplayName-D6sQsNNQ.mjs} +2 -2
- package/dist/{useCombineEvents-BUDIR1ba.mjs → useCombineEvents-CRwX-qWE.mjs} +1 -1
- package/dist/{useInsightsEnabled-DBpwEq10.mjs → useInsightsEnabled-BxytCjq5.mjs} +1 -1
- package/package.json +3 -3
- package/dist/AccountDetailsHeader-JtSX6Uf9.mjs +0 -120
- package/dist/Accounts-BRf_YeTf.mjs +0 -27
- package/dist/CategoryStore-yHI0hWmK.mjs +0 -174
- package/dist/CategoryUtil-pZRIYOgN.mjs +0 -80
- package/dist/TransactionApi-B3Tksf7L.mjs +0 -86
- package/dist/TransactionStore-ai3uII_r.mjs +0 -690
- package/dist/TrendsStore-DCYbpXPO.mjs +0 -559
- package/dist/exportTransactionsToCSV-7bVS7KXf.mjs +0 -47
- package/dist/useAriaLive-B3_pRUio.mjs +0 -35
|
@@ -7,7 +7,6 @@ export declare class AppDataStore {
|
|
|
7
7
|
api: AppDataApi;
|
|
8
8
|
bannerApi: BannerApi;
|
|
9
9
|
appData: AppData;
|
|
10
|
-
isAppDataLoaded: boolean;
|
|
11
10
|
banner: Banner;
|
|
12
11
|
constructor(globalStore: GlobalStore);
|
|
13
12
|
get appConfig(): AppConfig;
|
|
@@ -16,8 +15,7 @@ export declare class AppDataStore {
|
|
|
16
15
|
get user(): User;
|
|
17
16
|
get userCommunicationProfile(): UserCommunicationProfile;
|
|
18
17
|
get userProfile(): UserProfile;
|
|
19
|
-
|
|
20
|
-
loadAppData: () => Promise<void>;
|
|
18
|
+
loadAppData: (appDataOverrides?: AppData) => Promise<void>;
|
|
21
19
|
loadBanner: () => Promise<void>;
|
|
22
20
|
setUser: (user: User) => User;
|
|
23
21
|
setUserCommunicationProfile: (profile: UserCommunicationProfile) => UserCommunicationProfile;
|
|
@@ -8,6 +8,7 @@ export declare class GlobalCopyStore {
|
|
|
8
8
|
featureNamespace: string;
|
|
9
9
|
isInitialized: boolean;
|
|
10
10
|
constructor(globalStore: GlobalStore);
|
|
11
|
+
initialize: (endpoint: string, token: string) => Promise<void>;
|
|
11
12
|
loadCopy: () => Promise<void>;
|
|
12
13
|
getCopy: (namespace: string, translationKey?: string) => Promise<void>;
|
|
13
14
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AccountStore } from '../../accounts';
|
|
2
2
|
import { AnalyticsStore } from '../../analytics/stores/AnalyticsStore';
|
|
3
|
-
import { BeatStore } from '../../insights';
|
|
3
|
+
import { BeatStore } from '../../insights/store/BeatStore';
|
|
4
4
|
import { BudgetsStore } from '../../budgets/store/BudgetsStore';
|
|
5
5
|
import { CashflowStore } from '../../cashflow';
|
|
6
6
|
import { CategoryStore } from '../../categories';
|
|
@@ -21,7 +21,8 @@ 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
|
|
24
|
+
import { Account, Category, Institution, Member } from '../../common';
|
|
25
|
+
import { AppConfig, AppData, Beat, GlobalErrorHandler, Tag, Tagging, Transaction, TransactionRule, UserFeature } from '../types';
|
|
25
26
|
interface LoadDataProps {
|
|
26
27
|
accounts?: Account[];
|
|
27
28
|
appData?: AppData;
|
|
@@ -35,11 +36,16 @@ interface LoadDataProps {
|
|
|
35
36
|
transactions?: Transaction[];
|
|
36
37
|
userFeatures?: UserFeature[];
|
|
37
38
|
}
|
|
39
|
+
type OnStoreUpdate = (update: ObservedUpdate) => void;
|
|
40
|
+
type ObservedUpdate = {
|
|
41
|
+
transactions: Transaction[];
|
|
42
|
+
};
|
|
38
43
|
export declare class GlobalStore {
|
|
39
44
|
appConfig: AppConfig;
|
|
40
45
|
endpoint: string;
|
|
41
46
|
sessionToken: string;
|
|
42
47
|
onError?: GlobalErrorHandler;
|
|
48
|
+
onStoreUpdate?: OnStoreUpdate;
|
|
43
49
|
accountStore: AccountStore;
|
|
44
50
|
appDataStore: AppDataStore;
|
|
45
51
|
analyticsStore: AnalyticsStore;
|
|
@@ -63,9 +69,9 @@ export declare class GlobalStore {
|
|
|
63
69
|
trendsStore: TrendsStore;
|
|
64
70
|
userStore: UserStore;
|
|
65
71
|
globalUiStore: GlobalUiStore;
|
|
66
|
-
constructor(appConfig?: AppConfig, endpoint?: string, onError?: GlobalErrorHandler);
|
|
72
|
+
constructor(appConfig?: AppConfig, endpoint?: string, onError?: GlobalErrorHandler, onStoreUpdate?: OnStoreUpdate);
|
|
67
73
|
get isInitialized(): boolean;
|
|
68
|
-
|
|
74
|
+
emitUpdate: (change: ObservedUpdate) => void;
|
|
69
75
|
loadData: ({ accounts, appData, associatedBeats, categories, institutions, transactionRules, transactions, userFeatures, }?: LoadDataProps) => Promise<void>;
|
|
70
76
|
}
|
|
71
77
|
export {};
|
|
@@ -5,12 +5,11 @@ export declare class UserStore {
|
|
|
5
5
|
globalStore: GlobalStore;
|
|
6
6
|
api: UserApi;
|
|
7
7
|
userFeatures: UserFeature[];
|
|
8
|
-
userFeaturesLoaded: boolean;
|
|
9
8
|
constructor(globalStore: GlobalStore);
|
|
9
|
+
initialize: (endpoint: string, token: string) => Promise<void>;
|
|
10
10
|
get userProfile(): UserProfile;
|
|
11
11
|
get user(): User;
|
|
12
|
-
|
|
13
|
-
loadUserFeatures: () => Promise<void>;
|
|
12
|
+
loadUserFeatures: (featuresOverrides?: UserFeature[]) => Promise<void>;
|
|
14
13
|
updateUser: (user: User) => Promise<void>;
|
|
15
14
|
updateUserProfile: (userProfile: UserProfile) => Promise<void>;
|
|
16
15
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Institution } from './Institution';
|
|
2
1
|
export interface Account {
|
|
3
2
|
account_number?: string;
|
|
4
3
|
account_subtype?: AccountSubType;
|
|
@@ -65,20 +64,17 @@ export interface Account {
|
|
|
65
64
|
memberName?: string;
|
|
66
65
|
connectionStatus?: ConnectionStatus;
|
|
67
66
|
displayName?: string;
|
|
68
|
-
|
|
67
|
+
truncatedDisplayName?: string;
|
|
69
68
|
institutionName?: string;
|
|
70
69
|
}
|
|
71
70
|
export interface DetailedAccount extends Account {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
member?: Member;
|
|
76
|
-
monthlyBalances?: MonthlyAccountBalance[];
|
|
77
|
-
institution?: Institution;
|
|
71
|
+
institution_name: string;
|
|
72
|
+
isEnabled: boolean;
|
|
73
|
+
name: string;
|
|
78
74
|
}
|
|
79
75
|
export interface Member {
|
|
80
76
|
aggregation_status: number;
|
|
81
|
-
connection_status:
|
|
77
|
+
connection_status: number;
|
|
82
78
|
guid: string;
|
|
83
79
|
institution_guid: string;
|
|
84
80
|
institution_name?: string;
|
|
@@ -102,6 +98,7 @@ export interface Member {
|
|
|
102
98
|
verification_is_enabled: boolean;
|
|
103
99
|
tax_statement_is_enabled: boolean;
|
|
104
100
|
successfully_aggregated_at?: number;
|
|
101
|
+
connectionStatus?: ConnectionStatus;
|
|
105
102
|
}
|
|
106
103
|
export interface MonthlyAccountBalance {
|
|
107
104
|
account_guid: string;
|
|
@@ -5,7 +5,7 @@ import h from "@mui/material/Unstable_Grid2";
|
|
|
5
5
|
import u from "@mui/material/Skeleton";
|
|
6
6
|
import l from "@mui/material/Stack";
|
|
7
7
|
import D from "@mui/material/styles/useTheme";
|
|
8
|
-
import { f as A, u as v, d as C, b as M, a as k, n as B } from "../hooks-
|
|
8
|
+
import { f as A, u as v, d as C, b as M, a as k, n as B } from "../hooks-Cy8JnjCg.mjs";
|
|
9
9
|
import G from "@mui/material/Paper";
|
|
10
10
|
import { Icon as S, H1 as F, P as W } from "@mxenabled/mxui";
|
|
11
11
|
import { useMediaQuery as I } from "@mui/system";
|
|
@@ -14,7 +14,7 @@ import $ from "@mui/material/Button";
|
|
|
14
14
|
import H from "@mui/material/IconButton";
|
|
15
15
|
import R from "@mui/material/Tooltip";
|
|
16
16
|
import j from "@mui/material/useMediaQuery";
|
|
17
|
-
import { k as E, l as Q } from "../ConnectDrawer-
|
|
17
|
+
import { k as E, l as Q } from "../ConnectDrawer-CbxHKlRv.mjs";
|
|
18
18
|
import { u as z } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
19
19
|
const P = _(() => {
|
|
20
20
|
const e = D(), {
|