@mx-cartographer/experiences 7.0.17-alpha.mm.0 → 7.0.17

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 +4 -0
  2. package/dist/{Account-DY2axAET.mjs → Account-BW3-oYEs.mjs} +1 -1
  3. package/dist/{AccountDetailsContent-Jsg4ZDC1.mjs → AccountDetailsContent-BzD6CDIm.mjs} +8 -8
  4. package/dist/{AccountDetailsHeader-EU_2u2Iq.mjs → AccountDetailsHeader-Eb3WvBGm.mjs} +5 -5
  5. package/dist/{AccountFields-CSUS7pGn.mjs → AccountFields-CIz-r3gP.mjs} +2 -2
  6. package/dist/{AccountListItem-CMYZQg8M.mjs → AccountListItem-B-ZjJ4Gp.mjs} +3 -3
  7. package/dist/{AccountStore-CIX2RAmG.mjs → AccountStore-BaMynkQT.mjs} +26 -26
  8. package/dist/{Accounts-xi9RGRIU.mjs → Accounts-CA-nqAjT.mjs} +1 -1
  9. package/dist/{BeatApi-D0WcLW3O.mjs → BeatApi-DLu87ijw.mjs} +3 -3
  10. package/dist/{BeatStore-y6WVs07e.mjs → BeatStore-By4aGoRM.mjs} +17 -17
  11. package/dist/{BudgetUtil-DmWvHV7C.mjs → BudgetUtil-CeSLAcsl.mjs} +1 -1
  12. package/dist/{CategorySelectorDrawer-BHqOpBNr.mjs → CategorySelectorDrawer-BJ9jlCyt.mjs} +1 -1
  13. package/dist/{CategoryStore-BfYppD3g.mjs → CategoryStore-BOyzQjQp.mjs} +4 -4
  14. package/dist/{ConnectDrawer-CU5dEdrU.mjs → ConnectDrawer-phFH6OHt.mjs} +1 -1
  15. package/dist/{ConnectionsDrawer-BUJuQrgF.mjs → ConnectionsDrawer-ihxkAi1P.mjs} +2 -2
  16. package/dist/{CurrencyInput-BtrNBP3z.mjs → CurrencyInput-bEx2Mbd0.mjs} +1 -1
  17. package/dist/{DebtsStore-BL_0pQEd.mjs → DebtsStore-Dp-CraCD.mjs} +1 -1
  18. package/dist/{ExportCsvAction-CUGnEaHw.mjs → ExportCsvAction-CbMfQ2Wa.mjs} +3 -3
  19. package/dist/{Fetch-CJ9cgjgV.mjs → Fetch-CkFKy79O.mjs} +8 -9
  20. package/dist/{FinstrongStore-rC2F4Tq3.mjs → FinstrongStore-mkALvztw.mjs} +4 -4
  21. package/dist/{GoalStore-CFx47exL.mjs → GoalStore-eSOkI6uE.mjs} +6 -6
  22. package/dist/{Help-CCuoAZT3.mjs → Help-KAAMEubC.mjs} +1 -1
  23. package/dist/{LineChart-D5uLCys4.mjs → LineChart-BWWmmJxV.mjs} +1 -1
  24. package/dist/{ListItemAction-Cwadpg85.mjs → ListItemAction-DNZZ5fSa.mjs} +1 -1
  25. package/dist/{ManageIncome-B91zIeYo.mjs → ManageIncome-DcKHpJ9V.mjs} +4 -4
  26. package/dist/MerchantStore-DVH-QOf0.mjs +37 -0
  27. package/dist/{MicroWidgetContainer-DwTAjSdX.mjs → MicroWidgetContainer-Dxz8uBN9.mjs} +1 -1
  28. package/dist/{MiniWidgetContainer-CxggrnHk.mjs → MiniWidgetContainer-CTyjmE1h.mjs} +1 -1
  29. package/dist/{NetWorthStore-CYYTpP9O.mjs → NetWorthStore-B6xF9eGH.mjs} +2 -2
  30. package/dist/{NotificationSettings-BEFyqBTj.mjs → NotificationSettings-aZFVTc8B.mjs} +2 -2
  31. package/dist/{NotificationStore-DpV9hXSE.mjs → NotificationStore-DHtSGySy.mjs} +4 -8
  32. package/dist/{OriginalBalanceAction-DDMRgIBU.mjs → OriginalBalanceAction-DepsKiJz.mjs} +3 -3
  33. package/dist/{RecurringSettings-CGGFhlhh.mjs → RecurringSettings-C9r4s1Cz.mjs} +3 -3
  34. package/dist/{RecurringTransactionsStore-CXhnipfd.mjs → RecurringTransactionsStore-D62XJtdL.mjs} +16 -20
  35. package/dist/{SettingsStore-CLLqNa_S.mjs → SettingsStore-B4gi6oOw.mjs} +29 -33
  36. package/dist/{TransactionApi-C0HMGDBV.mjs → TransactionApi-DbbcjI2L.mjs} +29 -29
  37. package/dist/{TransactionDetails-Bc0iW26I.mjs → TransactionDetails-bja6hKJk.mjs} +5 -5
  38. package/dist/{TransactionStore-Va_jug-g.mjs → TransactionStore-0tLtBEIC.mjs} +25 -29
  39. package/dist/{TrendsStore-DmuQennN.mjs → TrendsStore-WrHxzdbQ.mjs} +1 -1
  40. package/dist/{User-B9T_314z.mjs → User-Dq9Qj764.mjs} +1 -1
  41. package/dist/{ViewMoreMicroCard-61VqFx4x.mjs → ViewMoreMicroCard-BPEzFZRG.mjs} +2 -5
  42. package/dist/{WidgetContainer-CTrp2veH.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 +209 -209
  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 +315 -321
  64. package/dist/common/stores/GlobalStore.d.ts +1 -2
  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-ct1RkLbj.mjs → exportTransactionsToCSV-BDlt8u0n.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 +7 -7
  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-Dbjzfwvo.mjs → useCombineEvents-DaDBSR_1.mjs} +29 -29
  96. package/package.json +1 -1
  97. package/dist/MerchantStore-h96aTml7.mjs +0 -37
  98. package/dist/common/types/Handlers.d.ts +0 -2
  99. package/dist/hooks-DcS6DyRl.mjs +0 -74
@@ -1,5 +1,5 @@
1
1
  import M, { useState as J, useEffect as K, useRef as vt } from "react";
2
- import { l as St, u as _t, k as Q } from "./hooks-DcS6DyRl.mjs";
2
+ import { l as St, u as _t, k as Q } from "./hooks-DkUqN6JE.mjs";
3
3
  import { jsxs as f, jsx as s } from "react/jsx-runtime";
4
4
  import L from "@mui/material/Box";
5
5
  import T from "@mui/material/Stack";
@@ -22,7 +22,7 @@ import { isWithinInterval as Q } from "date-fns/isWithinInterval";
22
22
  import nn from "@mui/material/styles/useTheme";
23
23
  import k from "@mui/material/ListItem";
24
24
  import an from "@mui/material/ListItemButton";
25
- import { e as tn } from "./hooks-DcS6DyRl.mjs";
25
+ import { e as tn } from "./hooks-DkUqN6JE.mjs";
26
26
  const on = ({ copy: n, date: a, onNextClick: o, onPreviousClick: r }) => {
27
27
  const c = v(), l = en(c);
28
28
  return /* @__PURE__ */ h("div", { className: `mx-cmn-calendar-header ${l}`, children: [
@@ -18,8 +18,8 @@ import { css as qe } from "@mxenabled/cssinjs";
18
18
  import { b as Je } from "./Localization-2MODESHW.mjs";
19
19
  import et from "@mui/material/CircularProgress";
20
20
  import { makeAutoObservable as ce, runInAction as Te } from "mobx";
21
- import { G as pe, a as tt, u as it, b as ot } from "./useCombineEvents-Dbjzfwvo.mjs";
22
- import { B as _e } from "./BeatApi-D0WcLW3O.mjs";
21
+ import { G as pe, a as tt, u as it, b as ot } from "./useCombineEvents-DaDBSR_1.mjs";
22
+ import { B as _e } from "./BeatApi-DLu87ijw.mjs";
23
23
  import rt from "@mui/material/Card";
24
24
  import lt from "@mui/material/CardActions";
25
25
  import nt from "@mui/material/CardContent";
@@ -35,9 +35,6 @@ class ct {
35
35
  constructor() {
36
36
  ce(this);
37
37
  }
38
- // NOTE: Not sure if this is special case, but other stores have this deprecation todo
39
- // DEPRECATED: Initialize api in constructor and use loadCopy instead
40
- // TODO: Remove this function
41
38
  initialize = async (o, t) => {
42
39
  this.copyApi = new pe(o, t), await this.loadCopy();
43
40
  };
@@ -12,7 +12,7 @@ import Y from "@mui/material/Stack";
12
12
  import { Icon as s, Text as z, DateRangePicker as q, H1 as se, H3 as le } from "@mxenabled/mxui";
13
13
  import { u as Ce } from "./useDimensions-27p2evRx.mjs";
14
14
  import { L as de } from "./Loader-DUaFpDGv.mjs";
15
- import { e as Te, a as Ie, u as Ee, W as Re } from "./hooks-DcS6DyRl.mjs";
15
+ import { e as Te, a as Ie, u as Ee, W as Re } from "./hooks-DkUqN6JE.mjs";
16
16
  import { u as ae } from "./useScreenSize-B6JyS_Lj.mjs";
17
17
  import { addMonths as J } from "date-fns/addMonths";
18
18
  import { addDays as ge } from "date-fns/addDays";
@@ -35,7 +35,7 @@ import Oe from "@mui/material/ToggleButtonGroup";
35
35
  import fe from "@mui/material/styles/useTheme";
36
36
  import { f as K, D as G, a as be } from "./Dialog-CWW597AF.mjs";
37
37
  import { D as we } from "./Drawer-kEE73B87.mjs";
38
- import { i as Ke, j as Ge } from "./ConnectDrawer-CU5dEdrU.mjs";
38
+ import { i as Ke, j as Ge } from "./ConnectDrawer-phFH6OHt.mjs";
39
39
  const Me = {
40
40
  ACCOUNTS_CLICK_ACCOUNT: "accounts_widget_click_account",
41
41
  ACCOUNTS_CLICK_CONNECT: "accounts_widget_click_connect_accounts",
@@ -1,8 +1,8 @@
1
1
  import { default as Fetch } from '../../common/utils/Fetch';
2
- import { Account, GlobalErrorHandler } from '../../common';
2
+ import { Account } from '../../common';
3
3
  export declare class AccountApi {
4
4
  fetchInstance: Fetch;
5
- constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
5
+ constructor(endpoint: string, token: string);
6
6
  createAccount: (account: Account) => Promise<any>;
7
7
  deleteAccount: (accountGuid: string) => Promise<any>;
8
8
  getAccounts: () => Promise<any>;
@@ -7,24 +7,24 @@ import E from "@mui/material/List";
7
7
  import T from "@mui/material/ListSubheader";
8
8
  import x from "@mui/system/Stack";
9
9
  import { Text as v } from "@mxenabled/mxui";
10
- import { A as G } from "../AccountDetailsContent-Jsg4ZDC1.mjs";
11
- import { u as O1 } from "../AccountDetailsContent-Jsg4ZDC1.mjs";
12
- import { u as K, A as z } from "../AccountDetailsHeader-EU_2u2Iq.mjs";
13
- import { A as W } from "../AccountListItem-CMYZQg8M.mjs";
14
- import { u as g, a as y, c as O, e as N, m as P } from "../hooks-DcS6DyRl.mjs";
10
+ import { A as G } from "../AccountDetailsContent-BzD6CDIm.mjs";
11
+ import { u as O1 } from "../AccountDetailsContent-BzD6CDIm.mjs";
12
+ import { u as K, A as z } from "../AccountDetailsHeader-Eb3WvBGm.mjs";
13
+ import { A as W } from "../AccountListItem-B-ZjJ4Gp.mjs";
14
+ import { u as g, a as y, c as O, e as N, m as P } from "../hooks-DkUqN6JE.mjs";
15
15
  import { f as I } from "../NumberFormatting-CtWHhyBX.mjs";
16
16
  import { D as Y } from "../Drawer-kEE73B87.mjs";
17
- import { A, W as q } from "../WidgetContainer-CTrp2veH.mjs";
18
- import { C as J } from "../ConnectionsDrawer-BUJuQrgF.mjs";
17
+ import { A, W as q } from "../WidgetContainer-CdBs9WOZ.mjs";
18
+ import { C as J } from "../ConnectionsDrawer-ihxkAi1P.mjs";
19
19
  import { u as Q } from "../useScreenSize-B6JyS_Lj.mjs";
20
20
  import { L as R } from "../Loader-DUaFpDGv.mjs";
21
- import { j as D } from "../ConnectDrawer-CU5dEdrU.mjs";
22
- import { F as I1, M as N1 } from "../ConnectDrawer-CU5dEdrU.mjs";
21
+ import { j as D } from "../ConnectDrawer-phFH6OHt.mjs";
22
+ import { F as I1, M as N1 } from "../ConnectDrawer-phFH6OHt.mjs";
23
23
  import X from "@mui/material/ListItem";
24
- import { M as U } from "../MiniWidgetContainer-CxggrnHk.mjs";
24
+ import { M as U } from "../MiniWidgetContainer-CTyjmE1h.mjs";
25
25
  import e1 from "@mui/material/Stack";
26
- import { g as U1, a as j1 } from "../AccountFields-CSUS7pGn.mjs";
27
- import { A as G1, a as K1 } from "../AccountStore-CIX2RAmG.mjs";
26
+ import { g as U1, a as j1 } from "../AccountFields-CIz-r3gP.mjs";
27
+ import { A as G1, a as K1 } from "../AccountStore-BaMynkQT.mjs";
28
28
  const t1 = () => {
29
29
  const [c, L] = d.useState(""), { accounts: o } = g(), { selectedAccounts: l } = y(), { setSelectedAccount: u, setSelectedMember: r } = K(), { members: s } = O(), { onEvent: p } = N(), a = [...new Set(l.map((t) => t.account_type))], H = l.find((t) => c === t.guid), h = d.useMemo(
30
30
  () => l.filter((t) => t.is_hidden),
@@ -8,8 +8,8 @@ import a from "@mui/material/Stack";
8
8
  import _ from "@mui/material/styles/useTheme";
9
9
  import { Text as u, TextField as L } from "@mxenabled/mxui";
10
10
  import { L as W } from "../Loader-DUaFpDGv.mjs";
11
- import { M as j } from "../MiniWidgetContainer-CxggrnHk.mjs";
12
- import { i as f, u as b, e as q, a as E } from "../hooks-DcS6DyRl.mjs";
11
+ import { M as j } from "../MiniWidgetContainer-CTyjmE1h.mjs";
12
+ import { i as f, u as b, e as q, a as E } from "../hooks-DkUqN6JE.mjs";
13
13
  import Q from "@mui/material/ToggleButton";
14
14
  import G from "@mui/material/ToggleButtonGroup";
15
15
  const O = () => {
@@ -1,7 +1,7 @@
1
- import { Fetch, GlobalErrorHandler, Budget, Category } from '../../common';
1
+ import { Budget, Category, Fetch } from '../../common';
2
2
  export declare class BudgetsApi {
3
3
  fetchInstance: Fetch;
4
- constructor(endpoint: string, token: string, onError?: GlobalErrorHandler);
4
+ constructor(endpoint: string, token: string);
5
5
  addBudget: (category: Category, amount: number, parentGuid?: string | null) => Promise<any>;
6
6
  deleteBudget: (guid: string) => Promise<any>;
7
7
  getBudgets: () => Promise<any>;