@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.
Files changed (100) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/{Account-BW3-oYEs.mjs → Account-D_kRKI6x.mjs} +1 -1
  3. package/dist/{AccountDetailsContent-Dkpo7pw6.mjs → AccountDetailsContent-Dfja2v8K.mjs} +19 -19
  4. package/dist/{AccountDetailsHeader-2HU_fMWZ.mjs → AccountDetailsHeader-nc5mqlHm.mjs} +5 -5
  5. package/dist/{AccountFields-CIz-r3gP.mjs → AccountFields-DeebSePp.mjs} +2 -2
  6. package/dist/{AccountListItem-B-ZjJ4Gp.mjs → AccountListItem-dh03tivj.mjs} +3 -3
  7. package/dist/{AccountStore-BQKxAYSg.mjs → AccountStore-Cp7xWX8n.mjs} +68 -63
  8. package/dist/{Accounts-CA-nqAjT.mjs → Accounts-DppzmFak.mjs} +1 -1
  9. package/dist/{BeatApi-DLu87ijw.mjs → BeatApi-D0WcLW3O.mjs} +3 -3
  10. package/dist/{BeatStore-By4aGoRM.mjs → BeatStore-y6WVs07e.mjs} +17 -17
  11. package/dist/{BudgetUtil-CeSLAcsl.mjs → BudgetUtil-DmWvHV7C.mjs} +1 -1
  12. package/dist/{CategorySelectorDrawer-BPvjZ-Xo.mjs → CategorySelectorDrawer-uTU7Nwn2.mjs} +1 -1
  13. package/dist/{CategoryStore-BOyzQjQp.mjs → CategoryStore-BfYppD3g.mjs} +4 -4
  14. package/dist/{ConnectDrawer-phFH6OHt.mjs → ConnectDrawer-BfYwIgKa.mjs} +5 -5
  15. package/dist/{ConnectionsDrawer-ihxkAi1P.mjs → ConnectionsDrawer-BKG07Loi.mjs} +2 -2
  16. package/dist/{CurrencyInput-bEx2Mbd0.mjs → CurrencyInput-BtrNBP3z.mjs} +1 -1
  17. package/dist/{DebtsStore-Dp-CraCD.mjs → DebtsStore-BR1o55kk.mjs} +1 -1
  18. package/dist/{ExportCsvAction-CvyiKLTh.mjs → ExportCsvAction-BH369hls.mjs} +3 -3
  19. package/dist/{Fetch-CkFKy79O.mjs → Fetch-CJ9cgjgV.mjs} +9 -8
  20. package/dist/{FinstrongStore-mkALvztw.mjs → FinstrongStore-rC2F4Tq3.mjs} +4 -4
  21. package/dist/{GoalStore-BWHkOQ8o.mjs → GoalStore-rZKi2YjE.mjs} +21 -21
  22. package/dist/{Help-B3oENhkG.mjs → Help-t24Ldz-O.mjs} +1 -1
  23. package/dist/{LineChart-jpdaQX7x.mjs → LineChart-CfEEnHUy.mjs} +1 -1
  24. package/dist/{ListItemAction-DNZZ5fSa.mjs → ListItemAction-Cwadpg85.mjs} +1 -1
  25. package/dist/{ManageIncome-Bd14SWPF.mjs → ManageIncome-xksS_sWM.mjs} +4 -4
  26. package/dist/MerchantStore-h96aTml7.mjs +37 -0
  27. package/dist/{MicroWidgetContainer-Dxz8uBN9.mjs → MicroWidgetContainer-DwTAjSdX.mjs} +1 -1
  28. package/dist/{MiniWidgetContainer-CTyjmE1h.mjs → MiniWidgetContainer-CxggrnHk.mjs} +1 -1
  29. package/dist/{NetWorthStore-B6xF9eGH.mjs → NetWorthStore-5qSDIglU.mjs} +2 -2
  30. package/dist/{NotificationSettings-uXVwpIa1.mjs → NotificationSettings-Cny7J1hO.mjs} +2 -2
  31. package/dist/{NotificationStore-DHtSGySy.mjs → NotificationStore-DpV9hXSE.mjs} +8 -4
  32. package/dist/{OriginalBalanceAction-DepsKiJz.mjs → OriginalBalanceAction-DDMRgIBU.mjs} +3 -3
  33. package/dist/{RecurringSettings-4Y2RJy_M.mjs → RecurringSettings-DXQ64A8U.mjs} +3 -3
  34. package/dist/{RecurringTransactionsStore-D62XJtdL.mjs → RecurringTransactionsStore-CXhnipfd.mjs} +20 -16
  35. package/dist/{SettingsStore-B4gi6oOw.mjs → SettingsStore-CLLqNa_S.mjs} +33 -29
  36. package/dist/{Transaction-Dns0Kuuy.mjs → Transaction-CXMMfhz-.mjs} +1 -1
  37. package/dist/{TransactionApi-DbbcjI2L.mjs → TransactionApi-C0HMGDBV.mjs} +29 -29
  38. package/dist/{TransactionDetails-BSl6CpL8.mjs → TransactionDetails-v77agHHP.mjs} +5 -5
  39. package/dist/{TransactionStore-BVKUoEHj.mjs → TransactionStore-Cu_KM_J9.mjs} +29 -25
  40. package/dist/{TrendsStore-D6Un6Y4A.mjs → TrendsStore-B4Q-iLX0.mjs} +1 -1
  41. package/dist/{ViewMoreMicroCard-BZI5VMNW.mjs → ViewMoreMicroCard-DJoNOqkD.mjs} +5 -2
  42. package/dist/{WidgetContainer-C2NBfpDg.mjs → WidgetContainer-QcfqagZD.mjs} +2 -2
  43. package/dist/accounts/api/AccountApi.d.ts +2 -2
  44. package/dist/accounts/index.es.js +17 -17
  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 +3 -2
  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 +2 -3
  55. package/dist/common/api/GlobalCopyApi.d.ts +2 -1
  56. package/dist/common/api/LocalizedCopyApi.d.ts +2 -1
  57. package/dist/common/api/NotificationApi.d.ts +2 -2
  58. package/dist/common/api/ScheduledPaymentsApi.d.ts +3 -2
  59. package/dist/common/api/UserApi.d.ts +2 -2
  60. package/dist/common/context/GlobalDataProvider.d.ts +3 -2
  61. package/dist/common/context/hooks.d.ts +4 -1
  62. package/dist/common/context/index.d.ts +1 -1
  63. package/dist/common/index.es.js +321 -315
  64. package/dist/common/stores/GlobalStore.d.ts +2 -1
  65. package/dist/common/types/Handlers.d.ts +2 -0
  66. package/dist/common/types/index.d.ts +1 -0
  67. package/dist/common/utils/Fetch.d.ts +3 -1
  68. package/dist/common/utils/User.d.ts +2 -0
  69. package/dist/dashboard/index.es.js +7 -7
  70. package/dist/debts/index.es.js +11 -11
  71. package/dist/{exportTransactionsToCSV-B4JW8rfR.mjs → exportTransactionsToCSV-DpP_a1g8.mjs} +1 -1
  72. package/dist/finstrong/api/FinstrongApi.d.ts +2 -1
  73. package/dist/finstrong/index.es.js +7 -7
  74. package/dist/goals/api/GoalApi.d.ts +3 -2
  75. package/dist/goals/index.es.js +11 -11
  76. package/dist/help/api/HelpApi.d.ts +2 -2
  77. package/dist/help/index.es.js +3 -3
  78. package/dist/hooks-DcS6DyRl.mjs +74 -0
  79. package/dist/insights/index.es.js +1 -1
  80. package/dist/investments/api/HoldingApi.d.ts +3 -2
  81. package/dist/investments/index.es.js +3 -3
  82. package/dist/merchants/api/MerchantApi.d.ts +2 -1
  83. package/dist/merchants/index.es.js +2 -2
  84. package/dist/microinsights/context/InsightsMicroWidgetDataProvider.d.ts +2 -1
  85. package/dist/microinsights/context/hooks.d.ts +1 -1
  86. package/dist/microinsights/index.es.js +1 -1
  87. package/dist/networth/index.es.js +7 -7
  88. package/dist/notifications/index.es.js +5 -5
  89. package/dist/recurringtransactions/api/RepeatingTransactionsApi.d.ts +2 -2
  90. package/dist/recurringtransactions/index.es.js +10 -10
  91. package/dist/settings/api/SettingsApi.d.ts +3 -2
  92. package/dist/settings/index.es.js +7 -7
  93. package/dist/spending/index.es.js +4 -4
  94. package/dist/transactions/api/TransactionApi.d.ts +3 -2
  95. package/dist/transactions/index.es.js +14 -14
  96. package/dist/trends/index.es.js +10 -10
  97. package/dist/{useCombineEvents-DaDBSR_1.mjs → useCombineEvents-Dbjzfwvo.mjs} +29 -29
  98. package/package.json +1 -1
  99. package/dist/MerchantStore-DVH-QOf0.mjs +0 -37
  100. 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, ScheduledPayment } from '../index';
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
- onEvent: (event: string, props?: object) => void;
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: (event: string, props?: object) => void;
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';