@mx-cartographer/experiences 7.0.9 → 7.0.11-alpha.al0
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 +4 -0
- package/dist/{Account-BW3-oYEs.mjs → Account-D_kRKI6x.mjs} +1 -1
- package/dist/{AccountDetailsContent-Dkpo7pw6.mjs → AccountDetailsContent-Dfja2v8K.mjs} +19 -19
- package/dist/{AccountDetailsHeader-2HU_fMWZ.mjs → AccountDetailsHeader-nc5mqlHm.mjs} +5 -5
- package/dist/{AccountFields-CIz-r3gP.mjs → AccountFields-DeebSePp.mjs} +2 -2
- package/dist/{AccountListItem-B-ZjJ4Gp.mjs → AccountListItem-dh03tivj.mjs} +3 -3
- package/dist/{AccountStore-BQKxAYSg.mjs → AccountStore-Cp7xWX8n.mjs} +68 -63
- package/dist/{Accounts-CA-nqAjT.mjs → Accounts-DppzmFak.mjs} +1 -1
- package/dist/{BeatApi-DLu87ijw.mjs → BeatApi-D0WcLW3O.mjs} +3 -3
- package/dist/{BeatStore-By4aGoRM.mjs → BeatStore-y6WVs07e.mjs} +17 -17
- package/dist/{BudgetUtil-CeSLAcsl.mjs → BudgetUtil-DmWvHV7C.mjs} +1 -1
- package/dist/{CategorySelectorDrawer-BPvjZ-Xo.mjs → CategorySelectorDrawer-uTU7Nwn2.mjs} +1 -1
- package/dist/{CategoryStore-BOyzQjQp.mjs → CategoryStore-BfYppD3g.mjs} +4 -4
- package/dist/{ConnectDrawer-phFH6OHt.mjs → ConnectDrawer-BfYwIgKa.mjs} +5 -5
- package/dist/{ConnectionsDrawer-ihxkAi1P.mjs → ConnectionsDrawer-BKG07Loi.mjs} +2 -2
- package/dist/{CurrencyInput-bEx2Mbd0.mjs → CurrencyInput-BtrNBP3z.mjs} +1 -1
- package/dist/{DebtsStore-Dp-CraCD.mjs → DebtsStore-BR1o55kk.mjs} +1 -1
- package/dist/{ExportCsvAction-CvyiKLTh.mjs → ExportCsvAction-BH369hls.mjs} +3 -3
- package/dist/{Fetch-CkFKy79O.mjs → Fetch-CJ9cgjgV.mjs} +9 -8
- package/dist/{FinstrongStore-mkALvztw.mjs → FinstrongStore-rC2F4Tq3.mjs} +4 -4
- package/dist/{GoalStore-BWHkOQ8o.mjs → GoalStore-rZKi2YjE.mjs} +21 -21
- package/dist/{Help-B3oENhkG.mjs → Help-t24Ldz-O.mjs} +1 -1
- package/dist/{LineChart-jpdaQX7x.mjs → LineChart-CfEEnHUy.mjs} +1 -1
- package/dist/{ListItemAction-DNZZ5fSa.mjs → ListItemAction-Cwadpg85.mjs} +1 -1
- package/dist/{ManageIncome-Bd14SWPF.mjs → ManageIncome-xksS_sWM.mjs} +4 -4
- package/dist/MerchantStore-h96aTml7.mjs +37 -0
- package/dist/{MicroWidgetContainer-Dxz8uBN9.mjs → MicroWidgetContainer-DwTAjSdX.mjs} +1 -1
- package/dist/{MiniWidgetContainer-CTyjmE1h.mjs → MiniWidgetContainer-CxggrnHk.mjs} +1 -1
- package/dist/{NetWorthStore-B6xF9eGH.mjs → NetWorthStore-5qSDIglU.mjs} +2 -2
- package/dist/{NotificationSettings-uXVwpIa1.mjs → NotificationSettings-Cny7J1hO.mjs} +2 -2
- package/dist/{NotificationStore-DHtSGySy.mjs → NotificationStore-DpV9hXSE.mjs} +8 -4
- package/dist/{OriginalBalanceAction-DepsKiJz.mjs → OriginalBalanceAction-DDMRgIBU.mjs} +3 -3
- package/dist/{RecurringSettings-4Y2RJy_M.mjs → RecurringSettings-DXQ64A8U.mjs} +3 -3
- package/dist/{RecurringTransactionsStore-D62XJtdL.mjs → RecurringTransactionsStore-CXhnipfd.mjs} +20 -16
- package/dist/{SettingsStore-B4gi6oOw.mjs → SettingsStore-CLLqNa_S.mjs} +33 -29
- package/dist/{Transaction-Dns0Kuuy.mjs → Transaction-CXMMfhz-.mjs} +1 -1
- package/dist/{TransactionApi-DbbcjI2L.mjs → TransactionApi-C0HMGDBV.mjs} +29 -29
- package/dist/{TransactionDetails-BSl6CpL8.mjs → TransactionDetails-v77agHHP.mjs} +5 -5
- package/dist/{TransactionStore-BVKUoEHj.mjs → TransactionStore-Cu_KM_J9.mjs} +29 -25
- package/dist/{TrendsStore-D6Un6Y4A.mjs → TrendsStore-B4Q-iLX0.mjs} +1 -1
- package/dist/{ViewMoreMicroCard-BZI5VMNW.mjs → ViewMoreMicroCard-DJoNOqkD.mjs} +5 -2
- package/dist/{WidgetContainer-C2NBfpDg.mjs → WidgetContainer-QcfqagZD.mjs} +2 -2
- package/dist/accounts/api/AccountApi.d.ts +2 -2
- package/dist/accounts/index.es.js +17 -17
- package/dist/analytics/index.es.js +2 -2
- package/dist/budgets/api/BudgetsApi.d.ts +2 -2
- package/dist/budgets/index.es.js +10 -10
- package/dist/cashflow/api/CashflowApi.d.ts +3 -2
- package/dist/cashflow/index.es.js +10 -10
- package/dist/categories/index.es.js +2 -2
- package/dist/common/api/AnalyticsApi.d.ts +2 -2
- package/dist/common/api/AppDataApi.d.ts +2 -2
- package/dist/common/api/BeatApi.d.ts +2 -2
- package/dist/common/api/CategoryApi.d.ts +2 -3
- package/dist/common/api/GlobalCopyApi.d.ts +2 -1
- package/dist/common/api/LocalizedCopyApi.d.ts +2 -1
- package/dist/common/api/NotificationApi.d.ts +2 -2
- package/dist/common/api/ScheduledPaymentsApi.d.ts +3 -2
- package/dist/common/api/UserApi.d.ts +2 -2
- package/dist/common/context/GlobalDataProvider.d.ts +3 -2
- package/dist/common/context/hooks.d.ts +4 -1
- package/dist/common/context/index.d.ts +1 -1
- package/dist/common/index.es.js +321 -315
- package/dist/common/stores/GlobalStore.d.ts +2 -1
- package/dist/common/types/Handlers.d.ts +2 -0
- package/dist/common/types/index.d.ts +1 -0
- package/dist/common/utils/Fetch.d.ts +3 -1
- package/dist/common/utils/User.d.ts +2 -0
- package/dist/dashboard/index.es.js +7 -7
- package/dist/debts/index.es.js +11 -11
- package/dist/{exportTransactionsToCSV-B4JW8rfR.mjs → exportTransactionsToCSV-DpP_a1g8.mjs} +1 -1
- package/dist/finstrong/api/FinstrongApi.d.ts +2 -1
- package/dist/finstrong/index.es.js +7 -7
- package/dist/goals/api/GoalApi.d.ts +3 -2
- package/dist/goals/index.es.js +11 -11
- package/dist/help/api/HelpApi.d.ts +2 -2
- package/dist/help/index.es.js +3 -3
- package/dist/hooks-DcS6DyRl.mjs +74 -0
- package/dist/insights/index.es.js +1 -1
- package/dist/investments/api/HoldingApi.d.ts +3 -2
- package/dist/investments/index.es.js +3 -3
- package/dist/merchants/api/MerchantApi.d.ts +2 -1
- package/dist/merchants/index.es.js +2 -2
- package/dist/microinsights/context/InsightsMicroWidgetDataProvider.d.ts +2 -1
- package/dist/microinsights/context/hooks.d.ts +1 -1
- package/dist/microinsights/index.es.js +1 -1
- package/dist/networth/index.es.js +7 -7
- package/dist/notifications/index.es.js +5 -5
- package/dist/recurringtransactions/api/RepeatingTransactionsApi.d.ts +2 -2
- package/dist/recurringtransactions/index.es.js +10 -10
- package/dist/settings/api/SettingsApi.d.ts +3 -2
- package/dist/settings/index.es.js +7 -7
- package/dist/spending/index.es.js +4 -4
- package/dist/transactions/api/TransactionApi.d.ts +3 -2
- package/dist/transactions/index.es.js +14 -14
- package/dist/trends/index.es.js +10 -10
- package/dist/{useCombineEvents-DaDBSR_1.mjs → useCombineEvents-Dbjzfwvo.mjs} +29 -29
- package/package.json +1 -1
- package/dist/MerchantStore-DVH-QOf0.mjs +0 -37
- package/dist/hooks-DkUqN6JE.mjs +0 -71
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { default as Fetch } from '../utils/Fetch';
|
|
2
|
+
import { GlobalErrorHandler } from '../types';
|
|
2
3
|
export declare class GlobalCopyApi {
|
|
3
4
|
fetchInstance: Fetch;
|
|
4
|
-
constructor(endpoint: string, token: string);
|
|
5
|
+
constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
|
|
5
6
|
getGlobalCopy: (namespace: string, translationKey: string) => Promise<any>;
|
|
6
7
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { default as Fetch } from '../utils/Fetch';
|
|
2
|
+
import { GlobalErrorHandler } from '../types';
|
|
2
3
|
export declare class LocalizedCopyApi {
|
|
3
4
|
fetchInstance: Fetch;
|
|
4
|
-
constructor(endpoint: string, token: string);
|
|
5
|
+
constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
|
|
5
6
|
getLocalizedCopy: (req: any) => Promise<any>;
|
|
6
7
|
getLocalizedContent: (namespace: string) => Promise<any>;
|
|
7
8
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { default as Fetch } from '../utils/Fetch';
|
|
2
|
-
import { Notification } from '../types';
|
|
2
|
+
import { Notification, GlobalErrorHandler } from '../types';
|
|
3
3
|
export declare class NotificationApi {
|
|
4
4
|
fetchInstance: Fetch;
|
|
5
|
-
constructor(endpoint: string, token: string);
|
|
5
|
+
constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
|
|
6
6
|
getNotifications: () => Promise<any>;
|
|
7
7
|
updateNotification: (notification: Notification) => Promise<any>;
|
|
8
8
|
markAllAsViewed: (channel?: number) => Promise<any>;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { Fetch
|
|
1
|
+
import { Fetch } from '../../common';
|
|
2
|
+
import { ScheduledPayment, GlobalErrorHandler } from '../types';
|
|
2
3
|
export declare class ScheduledPaymentsApi {
|
|
3
4
|
fetchInstance: Fetch;
|
|
4
|
-
constructor(endpoint: string, token: string);
|
|
5
|
+
constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
|
|
5
6
|
addScheduledPayment: (scheduledPayment: ScheduledPayment) => Promise<any>;
|
|
6
7
|
getScheduledPayments: () => Promise<any>;
|
|
7
8
|
updateScheduledPayment: (scheduledPayment: ScheduledPayment) => Promise<any>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { default as Fetch } from '../utils/Fetch';
|
|
2
|
-
import { User, UserProfile } from '../types';
|
|
2
|
+
import { GlobalErrorHandler, User, UserProfile } from '../types';
|
|
3
3
|
export declare class UserApi {
|
|
4
4
|
fetchInstance: Fetch;
|
|
5
|
-
constructor(endpoint: string, token: string);
|
|
5
|
+
constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
|
|
6
6
|
getUserFeatures: () => Promise<any>;
|
|
7
7
|
updateUser: (user: User) => Promise<any>;
|
|
8
8
|
updateUserProfile: (userProfile: UserProfile) => Promise<any>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { GlobalStore } from '..';
|
|
2
|
+
import { GlobalErrorHandler, GlobalEventHandler, GlobalStore } from '..';
|
|
3
3
|
export interface GlobalStoreContextTypes {
|
|
4
4
|
children: React.ReactNode;
|
|
5
|
-
|
|
5
|
+
onError: GlobalErrorHandler;
|
|
6
|
+
onEvent: GlobalEventHandler;
|
|
6
7
|
onPageView: (pageViewEvent: string) => void;
|
|
7
8
|
globalStore: GlobalStore;
|
|
8
9
|
}
|
|
@@ -22,8 +22,11 @@ export declare const useSettingsStore: () => import('../../settings').SettingsSt
|
|
|
22
22
|
export declare const useTransactionStore: () => import('../../transactions').TransactionStore;
|
|
23
23
|
export declare const useTrendsStore: () => import('../../trends').TrendsStore;
|
|
24
24
|
export declare const useUserStore: () => import('..').UserStore;
|
|
25
|
+
export declare const useError: () => {
|
|
26
|
+
onError: import('..').GlobalErrorHandler;
|
|
27
|
+
};
|
|
25
28
|
export declare const useEvent: () => {
|
|
26
|
-
onEvent: (
|
|
29
|
+
onEvent: import('..').GlobalEventHandler;
|
|
27
30
|
};
|
|
28
31
|
export declare const usePageView: () => {
|
|
29
32
|
onPageView: (pageViewEvent: string) => void;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { useAccountStore, useAppConfig, useBudgetsStore, useCashflowStore, useCategoryStore, useDebtStore, useEvent, useFinstrongStore, useGlobalStore, useGlobalUiStore, useGlobalCopyStore, useGoalStore, useHelpStore, useHoldingStore, useMerchantStore, useNetWorthStore, useNotificationStore, usePageView, useRecurringTransactionsStore, useSettingsStore, useTransactionStore, useTrendsStore, useUserStore, useWidgetContainerProvider, } from './hooks';
|
|
1
|
+
export { useAccountStore, useAppConfig, useBudgetsStore, useCashflowStore, useCategoryStore, useDebtStore, useError, useEvent, useFinstrongStore, useGlobalStore, useGlobalUiStore, useGlobalCopyStore, useGoalStore, useHelpStore, useHoldingStore, useMerchantStore, useNetWorthStore, useNotificationStore, usePageView, useRecurringTransactionsStore, useSettingsStore, useTransactionStore, useTrendsStore, useUserStore, useWidgetContainerProvider, } from './hooks';
|
|
2
2
|
export { GlobalDataContext, GlobalDataProvider } from './GlobalDataProvider';
|
|
3
3
|
export { WidgetContainerContext, WidgetContainerProvider } from './WidgetContainerProvider';
|