@mx-cartographer/experiences 5.3.3 → 6.0.0-alpha.bb2
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/dist/accounts/components/ConnectMiniWidgetCard.d.ts +3 -3
- package/dist/accounts/stores/AccountStore.d.ts +2 -2
- package/dist/budgets/components/ZeroState.d.ts +4 -2
- package/dist/budgets/store/BudgetsStore.d.ts +3 -3
- package/dist/categories/stores/CategoryStore.d.ts +1 -2
- package/dist/common/api/BannerApi.d.ts +1 -1
- package/dist/common/stores/AppDataStore.d.ts +8 -7
- package/dist/common/stores/ConnectStore.d.ts +3 -3
- package/dist/common/stores/GlobalCopyStore.d.ts +6 -3
- package/dist/common/stores/GlobalStore.d.ts +17 -7
- package/dist/common/stores/GlobalUiStore.d.ts +1 -0
- package/dist/common/stores/UserStore.d.ts +1 -1
- package/dist/goals/stores/GoalStore.d.ts +2 -2
- package/dist/index.es.js +6465 -6425
- package/dist/index.es.js.map +1 -1
- package/dist/insights/store/BeatStore.d.ts +4 -3
- package/dist/merchants/stores/MerchantStore.d.ts +3 -3
- package/dist/notifications/stores/NotificationStore.d.ts +3 -2
- package/dist/transactions/stores/TransactionStore.d.ts +4 -3
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
declare const _default: (() => import("react/jsx-runtime").JSX.Element) & {
|
|
2
|
+
displayName: string;
|
|
3
|
+
};
|
|
4
4
|
export default _default;
|
|
@@ -2,14 +2,14 @@ import { Account, GlobalStore, Institution, Member } from '../../common';
|
|
|
2
2
|
import { AccountApi } from '../api/AccountApi';
|
|
3
3
|
import { UiStore } from './UiStore';
|
|
4
4
|
export declare class AccountStore {
|
|
5
|
-
api: AccountApi;
|
|
6
5
|
globalStore: GlobalStore;
|
|
6
|
+
api: AccountApi;
|
|
7
7
|
accounts: Account[];
|
|
8
8
|
institutions: Institution[];
|
|
9
9
|
members: Member[];
|
|
10
10
|
uiStore: UiStore;
|
|
11
11
|
constructor(globalStore: GlobalStore);
|
|
12
|
-
|
|
12
|
+
loadAccountData: () => Promise<void>;
|
|
13
13
|
get cashAccounts(): Account[];
|
|
14
14
|
get checkingAccounts(): Account[];
|
|
15
15
|
get debtAccounts(): Account[];
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { Theme } from '@mui/system';
|
|
2
|
-
import { Budget, Category, DateRange, DetailedBudget, DetailedCategory,
|
|
2
|
+
import { Budget, Category, DateRange, DetailedBudget, DetailedCategory, GlobalStore } from '../../common';
|
|
3
3
|
import { BudgetsApi } from '../api/BudgetsApi';
|
|
4
4
|
export declare class BudgetsStore {
|
|
5
5
|
api: BudgetsApi;
|
|
6
|
-
categoryApi: CategoryApi;
|
|
7
6
|
globalStore: GlobalStore;
|
|
8
7
|
alert: string;
|
|
9
8
|
dateRange: DateRange;
|
|
10
9
|
budgets: Budget[];
|
|
11
10
|
selectedBudget: DetailedBudget | undefined;
|
|
12
11
|
selectedSubBudget: DetailedBudget | undefined;
|
|
12
|
+
isDataLoaded: boolean;
|
|
13
13
|
theme: Theme;
|
|
14
14
|
constructor(globalStore: GlobalStore);
|
|
15
|
-
|
|
15
|
+
loadBudgetData: () => Promise<void>;
|
|
16
16
|
get detailedBudgets(): DetailedBudget[];
|
|
17
17
|
get unbudgetedCategories(): DetailedCategory[];
|
|
18
18
|
get totalBudgeted(): number;
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { Account, CategoryApi, Category, DetailedCategory, DateRangeCategoryTotals, GlobalStore, MonthlyCategoryTotals } from '../../common';
|
|
2
2
|
import { UiStore } from './UiStore';
|
|
3
3
|
export declare class CategoryStore {
|
|
4
|
-
api: CategoryApi;
|
|
5
4
|
globalStore: GlobalStore;
|
|
6
5
|
uiStore: UiStore;
|
|
6
|
+
api: CategoryApi;
|
|
7
7
|
categories: Category[];
|
|
8
8
|
dateRangeCategoryTotals: DateRangeCategoryTotals[];
|
|
9
9
|
monthlyCategoryTotals: MonthlyCategoryTotals[];
|
|
10
10
|
isLoadingCategoryTotals: boolean;
|
|
11
11
|
constructor(globalStore: GlobalStore);
|
|
12
|
-
initialize: (endpoint: string, token: string) => Promise<void>;
|
|
13
12
|
get detailedCategories(): DetailedCategory[];
|
|
14
13
|
get incomeCategories(): DetailedCategory[];
|
|
15
14
|
get spendCategories(): DetailedCategory[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as Fetch } from '../utils/Fetch';
|
|
2
2
|
export declare class BannerApi {
|
|
3
3
|
fetchInstance: Fetch | null;
|
|
4
|
-
constructor(bullseyeEndpoint: string
|
|
4
|
+
constructor(bullseyeEndpoint: string);
|
|
5
5
|
getBanner: (userGuid: string) => Promise<any>;
|
|
6
6
|
}
|
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
import { AppDataApi } from '../api/AppDataApi';
|
|
2
|
-
import { AppConfig, AppData, Banner,
|
|
2
|
+
import { AppConfig, AppData, Banner, User, UserCommunicationProfile, UserProfile } from '../types';
|
|
3
3
|
import { BannerApi } from '../api';
|
|
4
|
+
import { GlobalStore } from './GlobalStore';
|
|
4
5
|
export declare class AppDataStore {
|
|
5
|
-
|
|
6
|
-
appData: AppData;
|
|
6
|
+
globalStore: GlobalStore;
|
|
7
7
|
api: AppDataApi;
|
|
8
|
-
banner: Banner;
|
|
9
8
|
bannerApi: BannerApi;
|
|
10
|
-
|
|
9
|
+
appData: AppData;
|
|
10
|
+
banner: Banner;
|
|
11
|
+
constructor(globalStore: GlobalStore);
|
|
11
12
|
initialize: (endpoint: string, token: string) => Promise<void>;
|
|
12
|
-
get
|
|
13
|
+
get appConfig(): AppConfig;
|
|
14
|
+
get clientCommunicationProfile(): import('../types').ClientCommunicationProfile;
|
|
13
15
|
get user(): User;
|
|
14
16
|
get userCommunicationProfile(): UserCommunicationProfile;
|
|
15
17
|
get userProfile(): UserProfile;
|
|
16
18
|
loadAppData: () => Promise<void>;
|
|
17
19
|
loadBanner: () => Promise<void>;
|
|
18
|
-
setClientCommunicationProfile: (profile: ClientCommunicationProfile) => void;
|
|
19
20
|
setUser: (user: User) => User;
|
|
20
21
|
setUserCommunicationProfile: (profile: UserCommunicationProfile) => UserCommunicationProfile;
|
|
21
22
|
setUserProfile: (userProfile: UserProfile) => UserProfile;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { WidgetApi
|
|
1
|
+
import { WidgetApi } from '../api';
|
|
2
|
+
import { GlobalStore } from '../../common';
|
|
2
3
|
export declare class ConnectStore {
|
|
3
|
-
widgetApi: WidgetApi;
|
|
4
4
|
globalStore: GlobalStore;
|
|
5
|
+
widgetApi: WidgetApi;
|
|
5
6
|
constructor(globalStore: GlobalStore);
|
|
6
|
-
initialize: (endpoint: string, token: string) => Promise<void>;
|
|
7
7
|
loadWidget: ({ widget, mode, ...rest }: {
|
|
8
8
|
[x: string]: any;
|
|
9
9
|
widget?: string | undefined;
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
import { GlobalCopyApi } from '../api
|
|
1
|
+
import { GlobalCopyApi } from '../api';
|
|
2
2
|
import { GlobalCopy } from '../types';
|
|
3
|
+
import { GlobalStore } from './GlobalStore';
|
|
3
4
|
export declare class GlobalCopyStore {
|
|
5
|
+
globalStore: GlobalStore;
|
|
6
|
+
api: GlobalCopyApi;
|
|
4
7
|
copy: GlobalCopy;
|
|
5
8
|
featureNamespace: string;
|
|
6
|
-
api: GlobalCopyApi;
|
|
7
9
|
isInitialized: boolean;
|
|
8
|
-
constructor();
|
|
10
|
+
constructor(globalStore: GlobalStore);
|
|
9
11
|
initialize: (endpoint: string, token: string) => Promise<void>;
|
|
12
|
+
loadCopy: () => Promise<void>;
|
|
10
13
|
getCopy: (namespace: string, translationKey?: string) => Promise<void>;
|
|
11
14
|
}
|
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
import { AccountStore } from '../../accounts';
|
|
2
|
-
import { AppDataStore } from './AppDataStore';
|
|
3
2
|
import { BeatStore } from '../../insights/store/BeatStore';
|
|
4
3
|
import { BudgetsStore } from '../../budgets/store/BudgetsStore';
|
|
5
4
|
import { CashflowStore } from '../../cashflow';
|
|
6
5
|
import { CategoryStore } from '../../categories';
|
|
7
|
-
import { ConnectStore } from './ConnectStore';
|
|
8
6
|
import { DebtsStore } from '../../debts';
|
|
9
|
-
import { GlobalCopyStore } from './GlobalCopyStore';
|
|
10
|
-
import { GlobalUiStore } from './GlobalUiStore';
|
|
11
7
|
import { GoalStore } from '../../goals';
|
|
12
8
|
import { HelpStore } from '../../help/store/HelpStore';
|
|
13
9
|
import { MerchantStore } from '../../merchants';
|
|
@@ -16,9 +12,16 @@ import { NotificationStore } from '../../notifications';
|
|
|
16
12
|
import { RecurringActivityStore } from '../../recurringactivity';
|
|
17
13
|
import { SettingsStore } from '../../settings';
|
|
18
14
|
import { TransactionStore } from '../../transactions';
|
|
15
|
+
import { AppDataStore } from './AppDataStore';
|
|
16
|
+
import { ConnectStore } from './ConnectStore';
|
|
17
|
+
import { GlobalCopyStore } from './GlobalCopyStore';
|
|
18
|
+
import { GlobalUiStore } from './GlobalUiStore';
|
|
19
19
|
import { UserStore } from './UserStore';
|
|
20
|
-
import { AppConfig } from '../types
|
|
20
|
+
import { AppConfig } from '../types';
|
|
21
21
|
export declare class GlobalStore {
|
|
22
|
+
appConfig: AppConfig;
|
|
23
|
+
endpoint: string;
|
|
24
|
+
sessionToken: string;
|
|
22
25
|
accountStore: AccountStore;
|
|
23
26
|
appDataStore: AppDataStore;
|
|
24
27
|
beatStore: BeatStore;
|
|
@@ -38,7 +41,14 @@ export declare class GlobalStore {
|
|
|
38
41
|
transactionStore: TransactionStore;
|
|
39
42
|
userStore: UserStore;
|
|
40
43
|
globalUiStore: GlobalUiStore;
|
|
41
|
-
|
|
42
|
-
|
|
44
|
+
constructor(appConfig?: AppConfig, endpoint?: string);
|
|
45
|
+
get isInitialized(): boolean;
|
|
46
|
+
loadData: () => Promise<void>;
|
|
47
|
+
/**
|
|
48
|
+
* DEPRECATED: Use loadData instead
|
|
49
|
+
* TODO: Remove once all use of this function is removed
|
|
50
|
+
* @param endpoint
|
|
51
|
+
* @param token
|
|
52
|
+
*/
|
|
43
53
|
initialize: (endpoint: string, token: string) => Promise<void>;
|
|
44
54
|
}
|
|
@@ -11,6 +11,7 @@ export declare class GlobalUiStore {
|
|
|
11
11
|
end: Date;
|
|
12
12
|
};
|
|
13
13
|
constructor(globalStore: GlobalStore);
|
|
14
|
+
get isCopyLoaded(): boolean;
|
|
14
15
|
setInitialized: (isInitialized: boolean) => void;
|
|
15
16
|
setSelectedAccounts: (accounts: Account[]) => void;
|
|
16
17
|
setSelectedAccountGuids: (guids: string[]) => Promise<void>;
|
|
@@ -3,8 +3,8 @@ import { GlobalStore } from './GlobalStore';
|
|
|
3
3
|
import { User, UserFeature, UserProfile } from '../types';
|
|
4
4
|
export declare class UserStore {
|
|
5
5
|
globalStore: GlobalStore;
|
|
6
|
-
userFeatures: UserFeature[];
|
|
7
6
|
api: UserApi;
|
|
7
|
+
userFeatures: UserFeature[];
|
|
8
8
|
constructor(globalStore: GlobalStore);
|
|
9
9
|
initialize: (endpoint: string, token: string) => Promise<void>;
|
|
10
10
|
get userProfile(): UserProfile;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { GoalApi } from '../api/GoalApi';
|
|
2
2
|
import { Goal, MonthlyCashFlowProfile, RetirementGoalAccount, GlobalStore } from '../../common';
|
|
3
3
|
export declare class GoalStore {
|
|
4
|
-
api: GoalApi;
|
|
5
4
|
globalStore: GlobalStore;
|
|
5
|
+
api: GoalApi;
|
|
6
6
|
alert: string;
|
|
7
7
|
goals: Goal[];
|
|
8
8
|
retirementGoalAccounts: RetirementGoalAccount[];
|
|
9
9
|
newRetirementGoalAccounts: RetirementGoalAccount[];
|
|
10
10
|
selectedGoal: Goal | undefined;
|
|
11
11
|
monthlyCashFlowProfile: MonthlyCashFlowProfile | undefined;
|
|
12
|
+
goalsLoaded: boolean;
|
|
12
13
|
constructor(globalStore: GlobalStore);
|
|
13
|
-
initialize: (endpoint: string, token: string) => Promise<void>;
|
|
14
14
|
get orderedGoals(): Goal[];
|
|
15
15
|
get debtGoals(): Goal[];
|
|
16
16
|
get retirmentGoals(): Goal[];
|