@mx-cartographer/experiences 7.0.27-alpha.mm0 → 7.0.27-alpha.sms2

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.
Files changed (99) hide show
  1. package/CHANGELOG.md +0 -4
  2. package/dist/{Account-DJ7VG5hs.mjs → Account-BW3-oYEs.mjs} +1 -1
  3. package/dist/{AccountDetailsContent-YtqGgQmV.mjs → AccountDetailsContent-UxSEMBo_.mjs} +8 -8
  4. package/dist/{AccountDetailsHeader-DJk0hheh.mjs → AccountDetailsHeader-Eb3WvBGm.mjs} +5 -5
  5. package/dist/{AccountFields-BJfIdeay.mjs → AccountFields-CIz-r3gP.mjs} +2 -2
  6. package/dist/{AccountListItem-CkDTN1Bi.mjs → AccountListItem-B-ZjJ4Gp.mjs} +3 -3
  7. package/dist/{AccountStore-CJl0ld02.mjs → AccountStore-BaMynkQT.mjs} +26 -26
  8. package/dist/{Accounts-BYGu-bN1.mjs → Accounts-CA-nqAjT.mjs} +1 -1
  9. package/dist/{BeatApi-DhJpgCLz.mjs → BeatApi-DLu87ijw.mjs} +3 -3
  10. package/dist/{BeatStore-IBnXd4YK.mjs → BeatStore-By4aGoRM.mjs} +17 -17
  11. package/dist/{BudgetUtil-BB9gMyLW.mjs → BudgetUtil-CeSLAcsl.mjs} +1 -1
  12. package/dist/{CategorySelectorDrawer-B-W3eXHU.mjs → CategorySelectorDrawer-BJ9jlCyt.mjs} +1 -1
  13. package/dist/{CategoryStore-BCcpI3oJ.mjs → CategoryStore-BOyzQjQp.mjs} +4 -4
  14. package/dist/{ConnectDrawer-COy3Xwqv.mjs → ConnectDrawer-phFH6OHt.mjs} +1 -1
  15. package/dist/{ConnectionsDrawer-B36W8Qvy.mjs → ConnectionsDrawer-ihxkAi1P.mjs} +2 -2
  16. package/dist/{CurrencyInput-B6gF46iv.mjs → CurrencyInput-bEx2Mbd0.mjs} +1 -1
  17. package/dist/{DebtsStore-2yxA32_7.mjs → DebtsStore-VkyMADzd.mjs} +1 -1
  18. package/dist/{ExportCsvAction-C3s1m5os.mjs → ExportCsvAction-CbdFfDV5.mjs} +3 -3
  19. package/dist/{Fetch-87LIQbEA.mjs → Fetch-CkFKy79O.mjs} +10 -11
  20. package/dist/{FinstrongStore-F2c607dj.mjs → FinstrongStore-mkALvztw.mjs} +4 -4
  21. package/dist/{GoalStore-dBJBsl-g.mjs → GoalStore-eSOkI6uE.mjs} +6 -6
  22. package/dist/{Help-CWsL8d5P.mjs → Help-KAAMEubC.mjs} +1 -1
  23. package/dist/{LineChart-CBKadOFA.mjs → LineChart-BWWmmJxV.mjs} +1 -1
  24. package/dist/{ListItemAction-CpYlo5Sh.mjs → ListItemAction-DNZZ5fSa.mjs} +1 -1
  25. package/dist/{ManageIncome-CGoLh7xs.mjs → ManageIncome-DbsiKUoO.mjs} +4 -4
  26. package/dist/MerchantStore-DVH-QOf0.mjs +37 -0
  27. package/dist/{MicroWidgetContainer-DQXTwO5i.mjs → MicroWidgetContainer-Dxz8uBN9.mjs} +1 -1
  28. package/dist/{MiniWidgetContainer-BF2Qwhh-.mjs → MiniWidgetContainer-CTyjmE1h.mjs} +1 -1
  29. package/dist/{NetWorthStore-CrQtq5rq.mjs → NetWorthStore-B6xF9eGH.mjs} +2 -2
  30. package/dist/{NotificationSettings-gz1XBCBs.mjs → NotificationSettings-D5xBFiWs.mjs} +53 -53
  31. package/dist/{NotificationStore-C6PH6MKm.mjs → NotificationStore-DHtSGySy.mjs} +4 -8
  32. package/dist/{OriginalBalanceAction-C3afa-mq.mjs → OriginalBalanceAction-DepsKiJz.mjs} +3 -3
  33. package/dist/{RecurringSettings-fjYVNmPp.mjs → RecurringSettings-Dj29piAQ.mjs} +3 -3
  34. package/dist/{RecurringTransactionsStore-DeLXfuC4.mjs → RecurringTransactionsStore-D62XJtdL.mjs} +16 -20
  35. package/dist/{SettingsStore-0aHfHlOE.mjs → SettingsStore-B4gi6oOw.mjs} +29 -33
  36. package/dist/{TransactionApi-B3Tksf7L.mjs → TransactionApi-DbbcjI2L.mjs} +29 -29
  37. package/dist/{TransactionDetails--DPYM8la.mjs → TransactionDetails-C-z3HGTT.mjs} +5 -5
  38. package/dist/{TransactionStore-Cd25G0gH.mjs → TransactionStore-Cep_Eeql.mjs} +25 -29
  39. package/dist/{TrendsStore-ReCVjB8o.mjs → TrendsStore-WrHxzdbQ.mjs} +1 -1
  40. package/dist/{User-DD7Pb2ze.mjs → User-Dq9Qj764.mjs} +1 -1
  41. package/dist/{ViewMoreMicroCard-C66pzgfS.mjs → ViewMoreMicroCard-DFAY0tA8.mjs} +2 -5
  42. package/dist/{WidgetContainer-C1NlG0pd.mjs → WidgetContainer-CdBs9WOZ.mjs} +2 -2
  43. package/dist/accounts/api/AccountApi.d.ts +2 -2
  44. package/dist/accounts/index.es.js +12 -12
  45. package/dist/analytics/index.es.js +2 -2
  46. package/dist/budgets/api/BudgetsApi.d.ts +2 -2
  47. package/dist/budgets/index.es.js +10 -10
  48. package/dist/cashflow/api/CashflowApi.d.ts +2 -3
  49. package/dist/cashflow/index.es.js +10 -10
  50. package/dist/categories/index.es.js +2 -2
  51. package/dist/common/api/AnalyticsApi.d.ts +2 -2
  52. package/dist/common/api/AppDataApi.d.ts +2 -2
  53. package/dist/common/api/BeatApi.d.ts +2 -2
  54. package/dist/common/api/CategoryApi.d.ts +3 -2
  55. package/dist/common/api/GlobalCopyApi.d.ts +1 -2
  56. package/dist/common/api/LocalizedCopyApi.d.ts +1 -2
  57. package/dist/common/api/NotificationApi.d.ts +2 -2
  58. package/dist/common/api/ScheduledPaymentsApi.d.ts +2 -3
  59. package/dist/common/api/UserApi.d.ts +2 -2
  60. package/dist/common/context/GlobalDataProvider.d.ts +2 -3
  61. package/dist/common/context/hooks.d.ts +1 -4
  62. package/dist/common/context/index.d.ts +1 -1
  63. package/dist/common/index.es.js +310 -316
  64. package/dist/common/stores/GlobalStore.d.ts +2 -3
  65. package/dist/common/types/index.d.ts +0 -1
  66. package/dist/common/utils/Fetch.d.ts +1 -3
  67. package/dist/dashboard/index.es.js +2 -2
  68. package/dist/debts/index.es.js +9 -9
  69. package/dist/{exportTransactionsToCSV-Ch_T5Xhk.mjs → exportTransactionsToCSV-B5qAKd6C.mjs} +1 -1
  70. package/dist/finstrong/api/FinstrongApi.d.ts +1 -2
  71. package/dist/finstrong/index.es.js +7 -7
  72. package/dist/goals/api/GoalApi.d.ts +2 -3
  73. package/dist/goals/index.es.js +11 -11
  74. package/dist/help/api/HelpApi.d.ts +2 -2
  75. package/dist/help/index.es.js +3 -3
  76. package/dist/hooks-DkUqN6JE.mjs +71 -0
  77. package/dist/insights/index.es.js +1 -1
  78. package/dist/investments/api/HoldingApi.d.ts +2 -3
  79. package/dist/investments/index.es.js +3 -3
  80. package/dist/merchants/api/MerchantApi.d.ts +1 -2
  81. package/dist/merchants/index.es.js +2 -2
  82. package/dist/microinsights/context/InsightsMicroWidgetDataProvider.d.ts +1 -2
  83. package/dist/microinsights/context/hooks.d.ts +1 -1
  84. package/dist/microinsights/index.es.js +1 -1
  85. package/dist/networth/index.es.js +7 -7
  86. package/dist/notifications/index.es.js +5 -5
  87. package/dist/recurringtransactions/api/RepeatingTransactionsApi.d.ts +2 -2
  88. package/dist/recurringtransactions/index.es.js +10 -10
  89. package/dist/settings/api/SettingsApi.d.ts +2 -3
  90. package/dist/settings/index.es.js +8 -8
  91. package/dist/spending/index.es.js +4 -4
  92. package/dist/transactions/api/TransactionApi.d.ts +2 -3
  93. package/dist/transactions/index.es.js +14 -14
  94. package/dist/trends/index.es.js +10 -10
  95. package/dist/{useCombineEvents-BUDIR1ba.mjs → useCombineEvents-DaDBSR_1.mjs} +29 -29
  96. package/package.json +1 -1
  97. package/dist/MerchantStore-DrFvsUyy.mjs +0 -37
  98. package/dist/common/types/Handlers.d.ts +0 -2
  99. package/dist/hooks-CTieq90n.mjs +0 -74
@@ -9,21 +9,21 @@ import D from "@mui/material/Divider";
9
9
  import r from "@mui/material/Stack";
10
10
  import ae from "@mui/material/styles/useTheme";
11
11
  import { Text as h, P as k, Icon as F, InstitutionLogo as xe, H1 as le, H2 as Xe } from "@mxenabled/mxui";
12
- import { G as Ye, t as de, u as O, p as re, c as Oe, a as Y, o as me, h as q, e as Ne, f as ke } from "../hooks-CTieq90n.mjs";
12
+ import { G as Ye, t as de, u as O, p as re, c as Oe, a as Y, o as me, h as q, e as Ne, f as ke } from "../hooks-DkUqN6JE.mjs";
13
13
  import { C as L } from "../CurrencyText-YUhH2caW.mjs";
14
14
  import { u as ue } from "../useScreenSize-B6JyS_Lj.mjs";
15
15
  import { L as se } from "../Loader-DUaFpDGv.mjs";
16
16
  import { I as he } from "../CashflowStore-D9Dpuz7X.mjs";
17
17
  import { C as Wn } from "../CashflowStore-D9Dpuz7X.mjs";
18
18
  import { b as X } from "../Localization-2MODESHW.mjs";
19
- import { M as Qe } from "../MiniWidgetContainer-BF2Qwhh-.mjs";
20
- import { R as Ve } from "../RecurringSettings-fjYVNmPp.mjs";
19
+ import { M as Qe } from "../MiniWidgetContainer-CTyjmE1h.mjs";
20
+ import { R as Ve } from "../RecurringSettings-Dj29piAQ.mjs";
21
21
  import Ke from "@mui/material/Tabs";
22
22
  import Ce from "@mui/material/Tab";
23
23
  import { getUnixTime as U } from "date-fns/getUnixTime";
24
24
  import ee from "@mui/material/List";
25
25
  import te from "@mui/material/ListItem";
26
- import { A as Je } from "../AccountListItem-CkDTN1Bi.mjs";
26
+ import { A as Je } from "../AccountListItem-B-ZjJ4Gp.mjs";
27
27
  import { f as Q, D as V } from "../Dialog-CWW597AF.mjs";
28
28
  import Ze from "@mui/material/ListSubheader";
29
29
  import { f as Z } from "../NumberFormatting-CtWHhyBX.mjs";
@@ -34,18 +34,18 @@ import { addDays as _e } from "date-fns/addDays";
34
34
  import { alpha as et, keyframes as tt } from "@mui/material/styles";
35
35
  import { DataGridPro as nt } from "@mui/x-data-grid-pro";
36
36
  import { T as we } from "../TabContentContainer-j01JYR_7.mjs";
37
- import { M as ot, S as it, i as at, d as Se, c as rt } from "../ManageIncome-CGoLh7xs.mjs";
37
+ import { M as ot, S as it, i as at, d as Se, c as rt } from "../ManageIncome-DbsiKUoO.mjs";
38
38
  import { D as $e } from "../Drawer-kEE73B87.mjs";
39
39
  import { formatISO as st } from "date-fns/formatISO";
40
40
  import { fromUnixTime as ye } from "date-fns/fromUnixTime";
41
41
  import { startOfMonth as ct } from "date-fns/startOfMonth";
42
42
  import { subDays as Me } from "date-fns/subDays";
43
- import { S as lt, b as dt } from "../TransactionDetails--DPYM8la.mjs";
43
+ import { S as lt, b as dt } from "../TransactionDetails-C-z3HGTT.mjs";
44
44
  import { F as mt, R as Ie, e as De } from "../RepeatingTransaction-BW4J-jeJ.mjs";
45
45
  import { h as ut } from "../DateUtil-BcuH7ErC.mjs";
46
46
  import { endOfToday as ht } from "date-fns/endOfToday";
47
- import { W as ve, A as Ae } from "../WidgetContainer-C1NlG0pd.mjs";
48
- import { F as pt, A as B } from "../Fetch-87LIQbEA.mjs";
47
+ import { W as ve, A as Ae } from "../WidgetContainer-CdBs9WOZ.mjs";
48
+ import { F as pt, A as B } from "../Fetch-CkFKy79O.mjs";
49
49
  const K = () => {
50
50
  if (!m.useContext(Ye))
51
51
  throw new Error("useCashflowUiStore() must be used within the GlobalDataContext");
@@ -1075,8 +1075,8 @@ const _t = ({ recurrence: i }) => /* @__PURE__ */ o(P, { children: [
1075
1075
  }, Nn = T(Wt);
1076
1076
  class kn {
1077
1077
  fetchInstance;
1078
- constructor(n, t, s) {
1079
- this.fetchInstance = new pt(n, t, void 0, s);
1078
+ constructor(n, t) {
1079
+ this.fetchInstance = new pt(n, t);
1080
1080
  }
1081
1081
  addCashflowEvent = async (n) => this.fetchInstance.post(B.CASHFLOW_EVENTS, { ...n }).then((t) => t);
1082
1082
  addCashflowSequence = async (n) => this.fetchInstance.post(B.CASHFLOW_SEQUENCES, { ...n }).then((t) => t.cashflow_sequence);
@@ -1,5 +1,5 @@
1
- import { b as o, C as a, a as t, u as C } from "../CategorySelectorDrawer-B-W3eXHU.mjs";
2
- import { C as g } from "../CategoryStore-BCcpI3oJ.mjs";
1
+ import { b as o, C as a, a as t, u as C } from "../CategorySelectorDrawer-BJ9jlCyt.mjs";
2
+ import { C as g } from "../CategoryStore-BOyzQjQp.mjs";
3
3
  export {
4
4
  o as CategoryRow,
5
5
  a as CategorySelector,
@@ -1,8 +1,8 @@
1
1
  import { Fetch } from '../utils';
2
- import { AnalyticsEvent, GlobalErrorHandler } from '../types';
2
+ import { AnalyticsEvent } from '../types';
3
3
  export declare class AnalyticsApi {
4
4
  fetchInstance: Fetch;
5
- constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
5
+ constructor(endpoint: string, token: string);
6
6
  initializeAnalyticsSession: (version: string, featureName?: string) => Promise<{
7
7
  analytics_session: any;
8
8
  }>;
@@ -1,7 +1,7 @@
1
1
  import { default as Fetch } from '../utils/Fetch';
2
- import { AppData, GlobalErrorHandler } from '../types';
2
+ import { AppData } from '../types';
3
3
  export declare class AppDataApi {
4
4
  fetchInstance: Fetch;
5
- constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
5
+ constructor(endpoint: string, token: string);
6
6
  getAppData: () => Promise<AppData>;
7
7
  }
@@ -1,8 +1,8 @@
1
1
  import { default as Fetch } from '../utils/Fetch';
2
- import { Beat, GlobalErrorHandler } from '../types';
2
+ import { Beat } from '../types';
3
3
  export declare class BeatApi {
4
4
  fetchInstance: Fetch;
5
- constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
5
+ constructor(endpoint: string, token: string);
6
6
  getBeats: (pageNum?: number, perPage?: number) => Promise<any>;
7
7
  getBeatsWithAssociatedTransaction: (fromDate?: string) => Promise<any>;
8
8
  getOffers: () => Promise<any>;
@@ -1,8 +1,9 @@
1
1
  import { default as Fetch } from '../utils/Fetch';
2
- import { Account, Category, GlobalErrorHandler } from '../types';
2
+ import { Account } from '../types/Account';
3
+ import { Category } from '../types/Category';
3
4
  export declare class CategoryApi {
4
5
  fetchInstance: Fetch;
5
- constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
6
+ constructor(endpoint: string, token: string);
6
7
  addCategory: (category: Category) => Promise<any>;
7
8
  getCategories: () => Promise<any>;
8
9
  getDateRangeCategoryTotals: (startDate: number, endDate: number, accounts: Account[]) => Promise<any>;
@@ -1,7 +1,6 @@
1
1
  import { default as Fetch } from '../utils/Fetch';
2
- import { GlobalErrorHandler } from '../types';
3
2
  export declare class GlobalCopyApi {
4
3
  fetchInstance: Fetch;
5
- constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
4
+ constructor(endpoint: string, token: string);
6
5
  getGlobalCopy: (namespace: string, translationKey: string) => Promise<any>;
7
6
  }
@@ -1,8 +1,7 @@
1
1
  import { default as Fetch } from '../utils/Fetch';
2
- import { GlobalErrorHandler } from '../types';
3
2
  export declare class LocalizedCopyApi {
4
3
  fetchInstance: Fetch;
5
- constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
4
+ constructor(endpoint: string, token: string);
6
5
  getLocalizedCopy: (req: any) => Promise<any>;
7
6
  getLocalizedContent: (namespace: string) => Promise<any>;
8
7
  }
@@ -1,8 +1,8 @@
1
1
  import { default as Fetch } from '../utils/Fetch';
2
- import { Notification, GlobalErrorHandler } from '../types';
2
+ import { Notification } from '../types';
3
3
  export declare class NotificationApi {
4
4
  fetchInstance: Fetch;
5
- constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
5
+ constructor(endpoint: string, token: string);
6
6
  getNotifications: () => Promise<any>;
7
7
  updateNotification: (notification: Notification) => Promise<any>;
8
8
  markAllAsViewed: (channel?: number) => Promise<any>;
@@ -1,8 +1,7 @@
1
- import { Fetch } from '../../common';
2
- import { ScheduledPayment, GlobalErrorHandler } from '../types';
1
+ import { Fetch, ScheduledPayment } from '../index';
3
2
  export declare class ScheduledPaymentsApi {
4
3
  fetchInstance: Fetch;
5
- constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
4
+ constructor(endpoint: string, token: string);
6
5
  addScheduledPayment: (scheduledPayment: ScheduledPayment) => Promise<any>;
7
6
  getScheduledPayments: () => Promise<any>;
8
7
  updateScheduledPayment: (scheduledPayment: ScheduledPayment) => Promise<any>;
@@ -1,8 +1,8 @@
1
1
  import { default as Fetch } from '../utils/Fetch';
2
- import { GlobalErrorHandler, User, UserProfile } from '../types';
2
+ import { User, UserProfile } from '../types';
3
3
  export declare class UserApi {
4
4
  fetchInstance: Fetch;
5
- constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
5
+ constructor(endpoint: string, token: string);
6
6
  getUserFeatures: () => Promise<any>;
7
7
  updateUser: (user: User) => Promise<any>;
8
8
  updateUserProfile: (userProfile: UserProfile) => Promise<any>;
@@ -1,9 +1,8 @@
1
1
  import { default as React } from 'react';
2
- import { GlobalErrorHandler, GlobalEventHandler, GlobalStore } from '..';
2
+ import { GlobalStore } from '..';
3
3
  export interface GlobalStoreContextTypes {
4
4
  children: React.ReactNode;
5
- onError: GlobalErrorHandler;
6
- onEvent: GlobalEventHandler;
5
+ onEvent: (event: string, props?: object) => void;
7
6
  onPageView: (pageViewEvent: string) => void;
8
7
  globalStore: GlobalStore;
9
8
  }
@@ -22,11 +22,8 @@ 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
- };
28
25
  export declare const useEvent: () => {
29
- onEvent: import('..').GlobalEventHandler;
26
+ onEvent: (event: string, props?: object) => void;
30
27
  };
31
28
  export declare const usePageView: () => {
32
29
  onPageView: (pageViewEvent: string) => void;
@@ -1,3 +1,3 @@
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';
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';
2
2
  export { GlobalDataContext, GlobalDataProvider } from './GlobalDataProvider';
3
3
  export { WidgetContainerContext, WidgetContainerProvider } from './WidgetContainerProvider';