@mx-cartographer/experiences 7.2.15-alpha.sms27 → 7.2.15-alpha.sms28

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 (59) hide show
  1. package/dist/{Account-vp_TAbGt.mjs → Account-D8_xcOve.mjs} +1 -1
  2. package/dist/{AccountDetailsContent-CoXcIoZf.mjs → AccountDetailsContent-BWNwFDe8.mjs} +8 -8
  3. package/dist/{AccountDetailsHeader-Df1JkzYi.mjs → AccountDetailsHeader-LjielyTa.mjs} +6 -6
  4. package/dist/{AccountFields-DUToRRqW.mjs → AccountFields-DtW_bYuN.mjs} +2 -2
  5. package/dist/{AccountListItem-CeY_WIpj.mjs → AccountListItem-BK0K0YlB.mjs} +4 -4
  6. package/dist/{AccountStore-BkoLK9Tq.mjs → AccountStore-BZ1CezOa.mjs} +2 -2
  7. package/dist/{Accounts-C1QxUB-e.mjs → Accounts-Bk0adkZI.mjs} +1 -1
  8. package/dist/{BudgetUtil-B2ZXyw-g.mjs → BudgetUtil-DsFw1yw9.mjs} +1 -1
  9. package/dist/{CategorySelectorDrawer-DUe4lH5-.mjs → CategorySelectorDrawer-onIHfBx0.mjs} +1 -1
  10. package/dist/{ConnectDrawer-Bw5s6Dw1.mjs → ConnectDrawer-BMCNkK6D.mjs} +1 -1
  11. package/dist/{ConnectionsDrawer-BDvVuJQf.mjs → ConnectionsDrawer-BnVPJoTH.mjs} +2 -2
  12. package/dist/{CurrencyInput-DUsQbkXb.mjs → CurrencyInput-eEYKPrQ6.mjs} +1 -1
  13. package/dist/{DebtsStore-BD_XwsI7.mjs → DebtsStore-CIDWqL0A.mjs} +1 -1
  14. package/dist/{ExportCsvAction-sX8Rg4Ov.mjs → ExportCsvAction-C4RpczZk.mjs} +3 -3
  15. package/dist/{GoalStore-DZ_Jvsa_.mjs → GoalStore-CR2aOvb_.mjs} +2 -2
  16. package/dist/{Help-B6dIcujh.mjs → Help-Jwr6bbkP.mjs} +1 -1
  17. package/dist/{LineChart-D4GI7nVh.mjs → LineChart-CTpS4Y61.mjs} +1 -1
  18. package/dist/{ListItemAction-DHa3KJPs.mjs → ListItemAction-DTiJk1t_.mjs} +1 -1
  19. package/dist/{ManageIncome-uIZwg1-O.mjs → ManageIncome-AIbTCb_I.mjs} +4 -4
  20. package/dist/{MicroWidgetContainer-DpeqN9n3.mjs → MicroWidgetContainer-DNgaK0ak.mjs} +1 -1
  21. package/dist/{MiniWidgetContainer-D0gfmbaF.mjs → MiniWidgetContainer-BdOme5JY.mjs} +1 -1
  22. package/dist/{NetWorthStore-D1NiDUcc.mjs → NetWorthStore-BLyvqhEl.mjs} +2 -2
  23. package/dist/{NotificationSettings-DqrkNMod.mjs → NotificationSettings-CYBJk9rF.mjs} +3 -3
  24. package/dist/{OriginalBalanceAction-CWuVvRq9.mjs → OriginalBalanceAction-C8aFD-xo.mjs} +3 -3
  25. package/dist/{RecurringSettings-6qo4-whb.mjs → RecurringSettings-BHrCHHHz.mjs} +3 -3
  26. package/dist/{TransactionDetails-dRfjqJ3s.mjs → TransactionDetails-8AR47aM0.mjs} +5 -5
  27. package/dist/{TransactionStore-CdycC8sN.mjs → TransactionStore-BwlO9c_x.mjs} +159 -175
  28. package/dist/{TrendsStore-DCYbpXPO.mjs → TrendsStore-CZ4g_NRT.mjs} +1 -1
  29. package/dist/{User-BQUxBeZV.mjs → User-DZI8rVQ6.mjs} +1 -1
  30. package/dist/{WidgetContainer-EbrN1oIo.mjs → WidgetContainer-u6xa7Lhc.mjs} +2 -2
  31. package/dist/accounts/index.es.js +13 -13
  32. package/dist/analytics/index.es.js +2 -2
  33. package/dist/budgets/index.es.js +10 -10
  34. package/dist/cashflow/index.es.js +7 -7
  35. package/dist/categories/index.es.js +1 -1
  36. package/dist/common/context/GlobalDataProvider.d.ts +1 -0
  37. package/dist/common/index.es.js +46 -47
  38. package/dist/common/stores/GlobalStore.d.ts +6 -3
  39. package/dist/dashboard/index.es.js +2 -2
  40. package/dist/debts/index.es.js +9 -9
  41. package/dist/{exportTransactionsToCSV-7bVS7KXf.mjs → exportTransactionsToCSV-BJCTuJjJ.mjs} +1 -1
  42. package/dist/finstrong/index.es.js +6 -6
  43. package/dist/goals/index.es.js +12 -12
  44. package/dist/help/index.es.js +3 -3
  45. package/dist/hooks-Ws5qcl3x.mjs +79 -0
  46. package/dist/investments/index.es.js +3 -3
  47. package/dist/merchants/index.es.js +1 -1
  48. package/dist/networth/index.es.js +7 -7
  49. package/dist/notifications/index.es.js +2 -2
  50. package/dist/recurringtransactions/index.es.js +8 -8
  51. package/dist/settings/index.es.js +6 -6
  52. package/dist/spending/index.es.js +4 -4
  53. package/dist/transactions/index.es.js +13 -13
  54. package/dist/transactions/stores/TransactionStore.d.ts +0 -3
  55. package/dist/trends/index.es.js +11 -11
  56. package/dist/{useAccountDisplayName-jS05A6-6.mjs → useAccountDisplayName-COInIZyb.mjs} +2 -2
  57. package/dist/{useInsightsEnabled-DBpwEq10.mjs → useInsightsEnabled-DRKd0OV2.mjs} +1 -1
  58. package/package.json +1 -1
  59. package/dist/hooks-D6XlXHf4.mjs +0 -77
@@ -1,5 +1,5 @@
1
- import { g as ue, T as d, G as me, a as We, M as J, C as ye, b as Pe } from "../GoalStore-DZ_Jvsa_.mjs";
2
- import { c as Yn, d as Zn } from "../GoalStore-DZ_Jvsa_.mjs";
1
+ import { g as ue, T as d, G as me, a as We, M as J, C as ye, b as Pe } from "../GoalStore-CR2aOvb_.mjs";
2
+ import { c as Yn, d as Zn } from "../GoalStore-CR2aOvb_.mjs";
3
3
  import { jsxs as r, jsx as e, Fragment as U } from "react/jsx-runtime";
4
4
  import y from "react";
5
5
  import { observer as D } from "mobx-react-lite";
@@ -17,14 +17,14 @@ import ge from "@mui/material/Unstable_Grid2";
17
17
  import oe from "@mui/material/Avatar";
18
18
  import $e from "@mui/material/CardHeader";
19
19
  import { Payments as Se, NoteStack as Re, Person as Ee, ChevronRight as M, DragHandle as Xe, CheckCircle as Ue, Icon as be, ExpandLess as Ye, ExpandMore as Ze, AddBox as xe, Trophy as qe } from "@mxenabled/mx-icons";
20
- import { u as C, l as I, a as ve, d as V, p as Ie, g as Ge, b as Ne } from "../hooks-D6XlXHf4.mjs";
20
+ import { u as C, l as I, a as ve, d as V, p as Ie, g as Ge, b as Ne } from "../hooks-Ws5qcl3x.mjs";
21
21
  import { u as he } from "../useScreenSize-B6JyS_Lj.mjs";
22
22
  import { f as x } from "../NumberFormatting-Buh7u8Oi.mjs";
23
23
  import { S as Je } from "../StatusBar-BK_uYHAB.mjs";
24
24
  import E from "@mui/material/Divider";
25
25
  import L from "@mui/material/List";
26
- import { L as ee } from "../ListItemAction-DHa3KJPs.mjs";
27
- import { C as ke } from "../CurrencyInput-DUsQbkXb.mjs";
26
+ import { L as ee } from "../ListItemAction-DTiJk1t_.mjs";
27
+ import { C as ke } from "../CurrencyInput-eEYKPrQ6.mjs";
28
28
  import { fromUnixTime as Q } from "date-fns/fromUnixTime";
29
29
  import N from "@mui/material/ListItem";
30
30
  import k from "@mui/material/ListItemButton";
@@ -34,28 +34,28 @@ import { D as j } from "../Drawer-kEE73B87.mjs";
34
34
  import { b as B } from "../Localization-2MODESHW.mjs";
35
35
  import { f as ae, D as re, a as et } from "../Dialog-CWW597AF.mjs";
36
36
  import P from "@mui/material/ListItemAvatar";
37
- import { g as we, A as fe } from "../ConnectDrawer-Bw5s6Dw1.mjs";
37
+ import { g as we, A as fe } from "../ConnectDrawer-BMCNkK6D.mjs";
38
38
  import tt from "@mui/material/Collapse";
39
39
  import nt from "@mui/material/ListItemIcon";
40
40
  import ot from "@mui/material/Checkbox";
41
- import { u as at, A as rt } from "../AccountDetailsHeader-Df1JkzYi.mjs";
42
- import { A as it } from "../AccountDetailsContent-CoXcIoZf.mjs";
43
- import { u as st } from "../useAccountDisplayName-jS05A6-6.mjs";
41
+ import { u as at, A as rt } from "../AccountDetailsHeader-LjielyTa.mjs";
42
+ import { A as it } from "../AccountDetailsContent-BWNwFDe8.mjs";
43
+ import { u as st } from "../useAccountDisplayName-COInIZyb.mjs";
44
44
  import De from "@mui/material/TextField";
45
- import { M as lt, I as ct, O as dt } from "../OriginalBalanceAction-CWuVvRq9.mjs";
45
+ import { M as lt, I as ct, O as dt } from "../OriginalBalanceAction-C8aFD-xo.mjs";
46
46
  import { getUnixTime as mt } from "date-fns/getUnixTime";
47
47
  import { isValid as ut } from "date-fns/isValid";
48
48
  import { AdapterDateFns as _t } from "@mui/x-date-pickers/AdapterDateFnsV3";
49
49
  import { DatePicker as pt } from "@mui/x-date-pickers";
50
50
  import { LocalizationProvider as ht } from "@mui/x-date-pickers/LocalizationProvider";
51
- import { A as Y, W as gt } from "../WidgetContainer-EbrN1oIo.mjs";
51
+ import { A as Y, W as gt } from "../WidgetContainer-u6xa7Lhc.mjs";
52
52
  import { L as Ke } from "../Loader-DUaFpDGv.mjs";
53
53
  import { E as bt } from "../EmptyState-DA_lfRBv.mjs";
54
54
  import ft from "@mui/material/Stack/Stack";
55
55
  import yt from "@mui/material/Box";
56
56
  import At from "@mui/material/styles/useTheme";
57
57
  import { S as Tt } from "../SingleSegmentDonut-BgbLgwHi.mjs";
58
- import { M as Ct } from "../MicroWidgetContainer-DpeqN9n3.mjs";
58
+ import { M as Ct } from "../MicroWidgetContainer-DNgaK0ak.mjs";
59
59
  function ce({ title: t, subtitle: n }) {
60
60
  return /* @__PURE__ */ r(f, { children: [
61
61
  /* @__PURE__ */ e(A, { bold: !0, variant: "Body", children: t }),
@@ -1,9 +1,9 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
2
  import { observer as m } from "mobx-react-lite";
3
- import { H as s } from "../Help-B6dIcujh.mjs";
4
- import { b as p } from "../hooks-D6XlXHf4.mjs";
3
+ import { H as s } from "../Help-Jwr6bbkP.mjs";
4
+ import { b as p } from "../hooks-Ws5qcl3x.mjs";
5
5
  import { L as a } from "../Loader-DUaFpDGv.mjs";
6
- import { W as n } from "../WidgetContainer-EbrN1oIo.mjs";
6
+ import { W as n } from "../WidgetContainer-u6xa7Lhc.mjs";
7
7
  const x = m(({ onBackClick: o, sx: i }) => {
8
8
  const { isCopyLoaded: e, isInitialized: t } = p();
9
9
  return !e || !t ? /* @__PURE__ */ r(a, {}) : /* @__PURE__ */ r(n, { onBackClick: o, sx: { p: 16 }, children: /* @__PURE__ */ r(s, { sx: i }) });
@@ -0,0 +1,79 @@
1
+ import r from "react";
2
+ import { jsx as n } from "react/jsx-runtime";
3
+ const a = r.createContext(null), d = ({
4
+ children: t,
5
+ globalStore: e,
6
+ onError: s,
7
+ onEvent: l,
8
+ onLoad: u,
9
+ onPageView: c,
10
+ onStoreUpdate: i
11
+ }) => /* @__PURE__ */ n(
12
+ a.Provider,
13
+ {
14
+ value: {
15
+ globalStore: e,
16
+ onError: s,
17
+ onEvent: l,
18
+ onLoad: u,
19
+ onPageView: c,
20
+ children: t,
21
+ onStoreUpdate: i
22
+ },
23
+ children: t
24
+ }
25
+ ), S = r.createContext(null), p = ({ children: t, availableHeight: e, availableWidth: s }) => /* @__PURE__ */ n(
26
+ S.Provider,
27
+ {
28
+ value: {
29
+ availableHeight: e,
30
+ availableWidth: s,
31
+ children: t
32
+ },
33
+ children: t
34
+ }
35
+ ), o = (t = "useGlobalStore") => {
36
+ const e = r.useContext(a);
37
+ if (!e)
38
+ throw new Error(`${t}() must be used within the GlobalDataContext`);
39
+ return e;
40
+ }, h = () => o("useAccountStore").globalStore.accountStore, x = () => o("useAppConfig").globalStore.appDataStore.appConfig, f = () => o("useAnalyticsStore").globalStore.analyticsStore, w = () => o("useBudgetsStore").globalStore.budgetsStore, G = () => o("useCashflowStore").globalStore.cashflowStore, v = () => o("useCategoryStore").globalStore.categoryStore, y = () => o("useConnectStore").globalStore.connectStore, W = () => o("useDebtsStore").globalStore.debtsStore, m = () => o("useFinstrongStore").globalStore.finstrongStore, D = () => o("useGlobalStore").globalStore, E = () => o("useGlobalUiStore").globalStore.globalUiStore, P = () => o("globalCopyStore").globalStore.copyStore.copy, A = () => o("useGoalStore").globalStore.goalStore, T = () => o("useHelpStore").globalStore.helpStore, U = () => o("useHoldingStore").globalStore.holdingStore, H = () => o("useMerchantStore").globalStore.merchantStore, N = () => o("useNetWorthStore").globalStore.netWorthStore, B = () => o("useNotificationStore").globalStore.notificationStore, L = () => o("useRecurringTransactionsStore").globalStore.recurringTransactionsStore, R = () => o("useSettingsStore").globalStore.settingsStore, V = () => o("useTransactionStore").globalStore.transactionStore, j = () => o("useTrendsStore").globalStore.trendsStore, F = () => o("useUserStore").globalStore.userStore, M = () => ({ onError: o().onError }), $ = () => ({ onEvent: o().onEvent }), k = () => ({ onLoad: o().onLoad }), q = () => ({ onPageView: o().onPageView }), g = (t = "useWidgetContainerContext") => {
41
+ const e = r.useContext(S);
42
+ if (!e)
43
+ throw new Error(`${t}() must be used within the WidgetContainerContext`);
44
+ return e;
45
+ }, z = () => g();
46
+ export {
47
+ T as A,
48
+ q as B,
49
+ d as C,
50
+ S as D,
51
+ a as G,
52
+ p as W,
53
+ x as a,
54
+ E as b,
55
+ H as c,
56
+ h as d,
57
+ y as e,
58
+ D as f,
59
+ $ as g,
60
+ V as h,
61
+ w as i,
62
+ L as j,
63
+ f as k,
64
+ A as l,
65
+ v as m,
66
+ k as n,
67
+ B as o,
68
+ F as p,
69
+ z as q,
70
+ N as r,
71
+ R as s,
72
+ U as t,
73
+ P as u,
74
+ G as v,
75
+ j as w,
76
+ m as x,
77
+ W as y,
78
+ M as z
79
+ };
@@ -4,7 +4,7 @@ import { observer as P } from "mobx-react-lite";
4
4
  import _ from "@mui/material/Stack";
5
5
  import Ee from "@mui/material/Tab";
6
6
  import Ge from "@mui/material/Tabs";
7
- import { C as ge } from "../ConnectionsDrawer-BDvVuJQf.mjs";
7
+ import { C as ge } from "../ConnectionsDrawer-BnVPJoTH.mjs";
8
8
  import pe from "@mui/material/useMediaQuery";
9
9
  import Me from "@mui/material/Box";
10
10
  import Ne from "@mui/material/Collapse";
@@ -16,8 +16,8 @@ import xe from "@mui/material/ToggleButton";
16
16
  import ye from "@mui/material/ToggleButtonGroup";
17
17
  import { Text as r, H1 as fe, P as ve, InstitutionLogo as ne } from "@mxenabled/mxui";
18
18
  import Ue from "@mui/material/Button";
19
- import { u as E, g as be, t as H, b as Q, d as se } from "../hooks-D6XlXHf4.mjs";
20
- import { A as z, W as je } from "../WidgetContainer-EbrN1oIo.mjs";
19
+ import { u as E, g as be, t as H, b as Q, d as se } from "../hooks-Ws5qcl3x.mjs";
20
+ import { A as z, W as je } from "../WidgetContainer-u6xa7Lhc.mjs";
21
21
  import { a as ze, f as oe } from "../NumberFormatting-Buh7u8Oi.mjs";
22
22
  import { u as U } from "../useScreenSize-B6JyS_Lj.mjs";
23
23
  import le from "@mui/material/styles/useTheme";
@@ -12,7 +12,7 @@ import k from "@mui/material/ListItemText";
12
12
  import A from "@mui/material/Paper";
13
13
  import d from "@mui/material/Stack";
14
14
  import { MerchantLogo as V, Text as R } from "@mxenabled/mxui";
15
- import { c as v, u as w, b as C } from "../hooks-D6XlXHf4.mjs";
15
+ import { c as v, u as w, b as C } from "../hooks-Ws5qcl3x.mjs";
16
16
  import { L as p } from "../Loader-DUaFpDGv.mjs";
17
17
  import { S as N } from "../SearchBox-B2_zLv8-.mjs";
18
18
  import { M as ne } from "../MerchantStore-DrFvsUyy.mjs";
@@ -3,9 +3,9 @@ import { fromUnixTime as Se } from "date-fns/fromUnixTime";
3
3
  import { observer as w } from "mobx-react-lite";
4
4
  import { useTheme as z } from "@mui/material/styles";
5
5
  import { u as Z } from "../useScreenSize-B6JyS_Lj.mjs";
6
- import { q as _e, u as T, d as J, g as Q, b as P, r as ee } from "../hooks-D6XlXHf4.mjs";
6
+ import { q as _e, u as T, d as J, g as Q, b as P, r as ee } from "../hooks-Ws5qcl3x.mjs";
7
7
  import { f as we, D as be } from "../Dialog-CWW597AF.mjs";
8
- import { L as We } from "../LineChart-D4GI7nVh.mjs";
8
+ import { L as We } from "../LineChart-CTpS4Y61.mjs";
9
9
  import W from "@mui/material/Divider";
10
10
  import B from "@mui/material/List";
11
11
  import E from "@mui/material/ListSubheader";
@@ -19,15 +19,15 @@ import { i as ne } from "../DateUtil-BcuH7ErC.mjs";
19
19
  import { C as y } from "../CurrencyText-kyC1aseI.mjs";
20
20
  import { Button as Te, Stack as Le } from "@mui/material";
21
21
  import { format as Ne, fromUnixTime as De, differenceInMonths as Ee } from "date-fns";
22
- import { g as K } from "../NetWorthStore-D1NiDUcc.mjs";
23
- import { N as Ot } from "../NetWorthStore-D1NiDUcc.mjs";
22
+ import { g as K } from "../NetWorthStore-BLyvqhEl.mjs";
23
+ import { N as Ot } from "../NetWorthStore-BLyvqhEl.mjs";
24
24
  import { Icon as oe } from "@mxenabled/mx-icons";
25
25
  import { f as U } from "../NumberFormatting-Buh7u8Oi.mjs";
26
- import { A as b, W as ke } from "../WidgetContainer-EbrN1oIo.mjs";
26
+ import { A as b, W as ke } from "../WidgetContainer-u6xa7Lhc.mjs";
27
27
  import { L as O } from "../Loader-DUaFpDGv.mjs";
28
- import { M as Ae } from "../MicroWidgetContainer-DpeqN9n3.mjs";
28
+ import { M as Ae } from "../MicroWidgetContainer-DNgaK0ak.mjs";
29
29
  import re from "@mui/material/Box";
30
- import { C as Me } from "../ConnectionsDrawer-BDvVuJQf.mjs";
30
+ import { C as Me } from "../ConnectionsDrawer-BnVPJoTH.mjs";
31
31
  import He from "@mui/material/Collapse";
32
32
  import V from "@mui/material/ListItemIcon";
33
33
  import ie from "@mui/material/styles/useTheme";
@@ -11,13 +11,13 @@ import B from "@mui/material/List";
11
11
  import { Text as m, InstitutionLogo as T, CategoryIcon as R } from "@mxenabled/mxui";
12
12
  import { h as I } from "../DateUtil-BcuH7ErC.mjs";
13
13
  import { useTheme as O, Card as G } from "@mui/material";
14
- import { d as E, i as j, u as g, o as N, b as S, a as z } from "../hooks-D6XlXHf4.mjs";
14
+ import { d as E, i as j, u as g, o as N, b as S, a as z } from "../hooks-Ws5qcl3x.mjs";
15
15
  import { Icon as U, Settings as F } from "@mxenabled/mx-icons";
16
16
  import P from "@mui/material/Button";
17
17
  import W from "@mui/material/Stack";
18
18
  import { L as w } from "../Loader-DUaFpDGv.mjs";
19
19
  import $ from "@mui/material/IconButton";
20
- import { N as H } from "../NotificationSettings-DqrkNMod.mjs";
20
+ import { N as H } from "../NotificationSettings-CYBJk9rF.mjs";
21
21
  import { D as C } from "../Drawer-kEE73B87.mjs";
22
22
  const yt = (e) => {
23
23
  switch (e) {
@@ -8,8 +8,8 @@ import { startOfToday as ue } from "date-fns/startOfToday";
8
8
  import { subDays as me } from "date-fns/subDays";
9
9
  import ae from "@mui/material/Skeleton";
10
10
  import c from "@mui/material/Stack";
11
- import { R as Ee } from "../RecurringSettings-6qo4-whb.mjs";
12
- import { M as En } from "../RecurringSettings-6qo4-whb.mjs";
11
+ import { R as Ee } from "../RecurringSettings-BHrCHHHz.mjs";
12
+ import { M as En } from "../RecurringSettings-BHrCHHHz.mjs";
13
13
  import { addMonths as ze } from "date-fns/addMonths";
14
14
  import { subMonths as Fe } from "date-fns/subMonths";
15
15
  import { isBefore as Ue } from "date-fns/isBefore";
@@ -28,11 +28,11 @@ import { isSameDay as nt } from "date-fns/isSameDay";
28
28
  import it from "@mui/material/Badge";
29
29
  import { PickersDay as rt } from "@mui/x-date-pickers/PickersDay";
30
30
  import { I as q } from "../IconBacking-B9oC6uL2.mjs";
31
- import { u as D, b as Z, j as I, g as J, q as Oe, d as he, h as fe } from "../hooks-D6XlXHf4.mjs";
31
+ import { u as D, b as Z, j as I, g as J, q as Oe, d as he, h as fe } from "../hooks-Ws5qcl3x.mjs";
32
32
  import { c as M, a as S, g as Ie, f as ot } from "../RecurringTransactions-ej39mgA6.mjs";
33
33
  import { T as B } from "../RecurringTransactionsStore-DrzS1LmF.mjs";
34
34
  import { R as Nn } from "../RecurringTransactionsStore-DrzS1LmF.mjs";
35
- import { A as w, W as at } from "../WidgetContainer-EbrN1oIo.mjs";
35
+ import { A as w, W as at } from "../WidgetContainer-u6xa7Lhc.mjs";
36
36
  import st from "@mui/material/Button";
37
37
  import le from "@mui/material/Divider";
38
38
  import ve from "@mui/material/List";
@@ -41,8 +41,8 @@ import ct from "@mui/material/ListSubheader";
41
41
  import lt from "@mui/material/ListItemAvatar";
42
42
  import dt from "@mui/material/ListItemButton";
43
43
  import ut from "@mui/material/ListItemText";
44
- import { b as mt } from "../ManageIncome-uIZwg1-O.mjs";
45
- import { c as kn, M as Wn, S as $n } from "../ManageIncome-uIZwg1-O.mjs";
44
+ import { b as mt } from "../ManageIncome-AIbTCb_I.mjs";
45
+ import { c as kn, M as Wn, S as $n } from "../ManageIncome-AIbTCb_I.mjs";
46
46
  import { f as L } from "../NumberFormatting-Buh7u8Oi.mjs";
47
47
  import { D as xe } from "../Drawer-kEE73B87.mjs";
48
48
  import { b as N } from "../Localization-2MODESHW.mjs";
@@ -51,9 +51,9 @@ import O from "@mui/material/Box";
51
51
  import { S as We } from "../StatusBar-BK_uYHAB.mjs";
52
52
  import { u as ye } from "../useScreenSize-B6JyS_Lj.mjs";
53
53
  import { L as V } from "../Loader-DUaFpDGv.mjs";
54
- import { M as pt } from "../MiniWidgetContainer-D0gfmbaF.mjs";
54
+ import { M as pt } from "../MiniWidgetContainer-BdOme5JY.mjs";
55
55
  import { u as gt } from "../useDimensions-27p2evRx.mjs";
56
- import { M as ht } from "../MicroWidgetContainer-DpeqN9n3.mjs";
56
+ import { M as ht } from "../MicroWidgetContainer-DNgaK0ak.mjs";
57
57
  const Q = {
58
58
  gridRow: 1,
59
59
  gridColumn: 1,
@@ -16,9 +16,9 @@ import F from "@mui/material/Box";
16
16
  import Q from "@mui/material/Button";
17
17
  import I from "@mui/material/TextField";
18
18
  import { H3 as J, P as H, Text as x, Icon as M, ChevronRightIcon as xe } from "@mxenabled/mxui";
19
- import { V as ve, a as Ce, N as G } from "../NotificationSettings-DqrkNMod.mjs";
20
- import { A as Yt, B as qt, I as Qt } from "../NotificationSettings-DqrkNMod.mjs";
21
- import { u as k, a as $, s as A, p as De, b as Z, m as ee } from "../hooks-D6XlXHf4.mjs";
19
+ import { V as ve, a as Ce, N as G } from "../NotificationSettings-CYBJk9rF.mjs";
20
+ import { A as Yt, B as qt, I as Qt } from "../NotificationSettings-CYBJk9rF.mjs";
21
+ import { u as k, a as $, s as A, p as De, b as Z, m as ee } from "../hooks-Ws5qcl3x.mjs";
22
22
  import { u as L } from "../useScreenSize-B6JyS_Lj.mjs";
23
23
  import { a as W } from "../Dialog-CWW597AF.mjs";
24
24
  import { formatDistanceToNow as te } from "date-fns/formatDistanceToNow";
@@ -35,14 +35,14 @@ import { L as ne } from "../Loader-DUaFpDGv.mjs";
35
35
  import Ie from "@mui/material/List";
36
36
  import j from "@mui/material/Divider";
37
37
  import Ae from "@mui/material/ListSubheader";
38
- import { a as Ee, u as Pe } from "../CategorySelectorDrawer-DUe4lH5-.mjs";
38
+ import { a as Ee, u as Pe } from "../CategorySelectorDrawer-onIHfBx0.mjs";
39
39
  import Re from "@mui/material/ListItem";
40
40
  import Be from "@mui/material/ListItemButton";
41
41
  import Me from "@mui/material/ListItemIcon";
42
42
  import Ne from "@mui/material/ListItemText";
43
43
  import { D as He } from "../Drawer-kEE73B87.mjs";
44
- import { H as Le } from "../Help-B6dIcujh.mjs";
45
- import { W as K } from "../WidgetContainer-EbrN1oIo.mjs";
44
+ import { H as Le } from "../Help-Jwr6bbkP.mjs";
45
+ import { W as K } from "../WidgetContainer-u6xa7Lhc.mjs";
46
46
  const Oe = ({ availableWidth: t, handleOnLeavClick: a }) => {
47
47
  const o = ye(), { common: n, settings: r } = k(), { isDesktop: m, isMobile: l, isSmallMobile: i, isTablet: s } = L(t), { config: g } = $(), { updateUser: _ } = A(), { user: d } = De(), [u, S] = h.useState({
48
48
  first_name: d.first_name,
@@ -15,20 +15,20 @@ import { f as w } from "../NumberFormatting-Buh7u8Oi.mjs";
15
15
  import { u as bt } from "../useAriaLive-B3_pRUio.mjs";
16
16
  import Ct from "@mui/material/Button";
17
17
  import { useTheme as it } from "@mui/material";
18
- import { u as I, b as R, m as z, d as rt, a as st, h as _t, g as St } from "../hooks-D6XlXHf4.mjs";
18
+ import { u as I, b as R, m as z, d as rt, a as st, h as _t, g as St } from "../hooks-Ws5qcl3x.mjs";
19
19
  import { u as lt } from "../useScreenSize-B6JyS_Lj.mjs";
20
20
  import { D as Tt } from "../Donut-oaQFlbit.mjs";
21
21
  import { L as F } from "../Loader-DUaFpDGv.mjs";
22
- import { M as Mt } from "../MiniWidgetContainer-D0gfmbaF.mjs";
22
+ import { M as Mt } from "../MiniWidgetContainer-BdOme5JY.mjs";
23
23
  import { startOfToday as U } from "date-fns/startOfToday";
24
- import { T as Dt, a as xt } from "../TransactionDetails-dRfjqJ3s.mjs";
24
+ import { T as Dt, a as xt } from "../TransactionDetails-8AR47aM0.mjs";
25
25
  import wt from "@mui/material/Collapse";
26
26
  import B from "@mui/material/Divider";
27
27
  import q from "@mui/material/List";
28
28
  import J from "@mui/material/ListItem";
29
29
  import vt from "@mui/material/ListItemButton";
30
30
  import { D as Q } from "../Drawer-kEE73B87.mjs";
31
- import { A as Z, W as It } from "../WidgetContainer-EbrN1oIo.mjs";
31
+ import { A as Z, W as It } from "../WidgetContainer-u6xa7Lhc.mjs";
32
32
  const j = 5, Et = (n, c, r) => r.reduce((l, a) => {
33
33
  if (a.total > 0) {
34
34
  const i = n.find((s) => s.guid === a.category_guid);
@@ -1,12 +1,12 @@
1
1
  import { T as Aa } from "../TransactionApi-B3Tksf7L.mjs";
2
- import { u as P, C as Pe, D as $e, M as Ve, c as We, T as Ge, a as Ue } from "../TransactionDetails-dRfjqJ3s.mjs";
3
- import { B as xa, d as wa, b as Ia } from "../TransactionDetails-dRfjqJ3s.mjs";
4
- import { T as M } from "../User-BQUxBeZV.mjs";
5
- import { O as Da } from "../User-BQUxBeZV.mjs";
6
- import { S as ae, D as Fe } from "../TransactionStore-CdycC8sN.mjs";
7
- import { T as Ea } from "../TransactionStore-CdycC8sN.mjs";
8
- import { e as ze } from "../exportTransactionsToCSV-7bVS7KXf.mjs";
9
- import { E as Ma } from "../ExportCsvAction-sX8Rg4Ov.mjs";
2
+ import { u as P, C as Pe, D as $e, M as Ve, c as We, T as Ge, a as Ue } from "../TransactionDetails-8AR47aM0.mjs";
3
+ import { B as xa, d as wa, b as Ia } from "../TransactionDetails-8AR47aM0.mjs";
4
+ import { T as M } from "../User-DZI8rVQ6.mjs";
5
+ import { O as Da } from "../User-DZI8rVQ6.mjs";
6
+ import { S as ae, D as Fe } from "../TransactionStore-BwlO9c_x.mjs";
7
+ import { T as Ea } from "../TransactionStore-BwlO9c_x.mjs";
8
+ import { e as ze } from "../exportTransactionsToCSV-BJCTuJjJ.mjs";
9
+ import { E as Ma } from "../ExportCsvAction-C4RpczZk.mjs";
10
10
  import { jsxs as _, jsx as e } from "react/jsx-runtime";
11
11
  import u from "react";
12
12
  import { observer as x } from "mobx-react-lite";
@@ -15,7 +15,7 @@ import { DataGridPro as qe } from "@mui/x-data-grid-pro";
15
15
  import S from "@mui/material/Box";
16
16
  import { useTheme as je } from "@mui/material/styles";
17
17
  import { Text as C, Icon as B, MerchantLogo as Xe, TextField as ne, P as Ye } from "@mxenabled/mxui";
18
- import { h as $, u as w, b as j, d as se, m as Je, a as Qe, g as Ze, p as et } from "../hooks-D6XlXHf4.mjs";
18
+ import { h as $, u as w, b as j, d as se, m as Je, a as Qe, g as Ze, p as et } from "../hooks-Ws5qcl3x.mjs";
19
19
  import { fromUnixTime as tt } from "date-fns/fromUnixTime";
20
20
  import { f as at, D as nt, a as ie } from "../Dialog-CWW597AF.mjs";
21
21
  import N from "@mui/material/Stack";
@@ -26,16 +26,16 @@ import { getUnixTime as rt } from "date-fns/getUnixTime";
26
26
  import { startOfMonth as st } from "date-fns/startOfMonth";
27
27
  import { startOfToday as K } from "date-fns/startOfToday";
28
28
  import it from "@mui/material/styles/useTheme";
29
- import { l as ct } from "../ConnectDrawer-Bw5s6Dw1.mjs";
29
+ import { l as ct } from "../ConnectDrawer-BMCNkK6D.mjs";
30
30
  import lt from "@mui/material/Divider";
31
31
  import dt from "@mui/material/MenuItem";
32
32
  import ut from "@mui/material/RadioGroup";
33
33
  import { ExpandMore as mt } from "@mxenabled/mx-icons";
34
- import { C as _t } from "../CurrencyInput-DUsQbkXb.mjs";
35
- import { a as pt, u as gt } from "../CategorySelectorDrawer-DUe4lH5-.mjs";
34
+ import { C as _t } from "../CurrencyInput-eEYKPrQ6.mjs";
35
+ import { a as pt, u as gt } from "../CategorySelectorDrawer-onIHfBx0.mjs";
36
36
  import { b as q } from "../Localization-2MODESHW.mjs";
37
37
  import { u as ht } from "../useAriaLive-B3_pRUio.mjs";
38
- import { A, W as ft } from "../WidgetContainer-EbrN1oIo.mjs";
38
+ import { A, W as ft } from "../WidgetContainer-u6xa7Lhc.mjs";
39
39
  import { u as Ct } from "../useScreenSize-B6JyS_Lj.mjs";
40
40
  import { S as yt } from "../SearchBox-B2_zLv8-.mjs";
41
41
  import { D as oe } from "../Drawer-kEE73B87.mjs";
@@ -36,9 +36,6 @@ export declare class TransactionStore {
36
36
  transactionRules?: TransactionRule[];
37
37
  transactions?: Transaction[];
38
38
  }) => Promise<void>;
39
- subscribe: (listener: any) => () => void;
40
- getTransactionsSnapshot: () => Transaction[];
41
- emitChange: () => void;
42
39
  get sortedTransactions(): Transaction[];
43
40
  get sortedTransactionsWithSplits(): Transaction[];
44
41
  get transactions(): Transaction[];
@@ -7,12 +7,12 @@ import b from "@mui/material/Stack";
7
7
  import me from "@mui/material/Button";
8
8
  import { addSeconds as ve } from "date-fns/addSeconds";
9
9
  import { differenceInCalendarMonths as pe } from "date-fns/differenceInCalendarMonths";
10
- import { a as et, g as tt, S as nt, L as Me } from "../TrendsStore-DCYbpXPO.mjs";
11
- import { T as Co } from "../TrendsStore-DCYbpXPO.mjs";
10
+ import { a as et, g as tt, S as nt, L as Me } from "../TrendsStore-CZ4g_NRT.mjs";
11
+ import { T as Co } from "../TrendsStore-CZ4g_NRT.mjs";
12
12
  import { i as ot, c as st, d as rt, e as at, f as it, h as ct, b as Ae, g as Re, j as De } from "../SpendingData-D5vsfYKo.mjs";
13
13
  import lt from "@mui/material/ToggleButton";
14
14
  import dt from "@mui/material/ToggleButtonGroup";
15
- import { u as A, m as P, g as H, b as J, h as ie, d as ce, w as ee, f as Te, q as ht, n as ut, a as gt } from "../hooks-D6XlXHf4.mjs";
15
+ import { u as A, m as P, g as H, b as J, h as ie, d as ce, w as ee, f as Te, q as ht, n as ut, a as gt } from "../hooks-Ws5qcl3x.mjs";
16
16
  import { u as $ } from "../useScreenSize-B6JyS_Lj.mjs";
17
17
  import { f as q, D as z } from "../Dialog-CWW597AF.mjs";
18
18
  import { DataGridPro as mt } from "@mui/x-data-grid-pro";
@@ -20,18 +20,18 @@ import { C as pt } from "../CurrencyText-kyC1aseI.mjs";
20
20
  import { b as Ct } from "../Localization-2MODESHW.mjs";
21
21
  import { H as Ie } from "../HeaderCell-DjuifqHJ.mjs";
22
22
  import { T as M, b as ft } from "../ViewMoreMicroCard-SCn2wt4i.mjs";
23
- import { A as _, W as ke } from "../WidgetContainer-EbrN1oIo.mjs";
23
+ import { A as _, W as ke } from "../WidgetContainer-u6xa7Lhc.mjs";
24
24
  import { c as Tt } from "../Category-CevNQ03n.mjs";
25
- import { a as Ne, T as He } from "../TransactionDetails-dRfjqJ3s.mjs";
25
+ import { a as Ne, T as He } from "../TransactionDetails-8AR47aM0.mjs";
26
26
  import { D as Ce } from "../Drawer-kEE73B87.mjs";
27
27
  import { L as Q } from "../Loader-DUaFpDGv.mjs";
28
28
  import { useTheme as We } from "@mui/material/styles";
29
- import { L as ye } from "../LineChart-D4GI7nVh.mjs";
30
- import { M as yt } from "../MiniWidgetContainer-D0gfmbaF.mjs";
29
+ import { L as ye } from "../LineChart-CTpS4Y61.mjs";
30
+ import { M as yt } from "../MiniWidgetContainer-BdOme5JY.mjs";
31
31
  import { subMonths as _t } from "date-fns";
32
32
  import { TrendingUp as bt, TrendingDown as St, MultilineChart as wt, ExpandLess as Dt, ExpandMore as It } from "@mxenabled/mx-icons";
33
33
  import { a as Et, f as X } from "../NumberFormatting-Buh7u8Oi.mjs";
34
- import { M as Lt } from "../MicroWidgetContainer-DpeqN9n3.mjs";
34
+ import { M as Lt } from "../MicroWidgetContainer-DNgaK0ak.mjs";
35
35
  import xt from "@mui/material/Collapse";
36
36
  import vt from "@mui/material/List";
37
37
  import Mt from "@mui/material/ListItem";
@@ -43,10 +43,10 @@ import Nt from "@mui/material/Divider";
43
43
  import { useTheme as Ht, Stack as Wt } from "@mui/material";
44
44
  import Ot from "@mui/material/Paper";
45
45
  import { b as Vt } from "../CategoryUtil-BR3H5i6n.mjs";
46
- import { E as Gt } from "../ExportCsvAction-sX8Rg4Ov.mjs";
47
- import { u as Bt } from "../useInsightsEnabled-DBpwEq10.mjs";
46
+ import { E as Gt } from "../ExportCsvAction-C4RpczZk.mjs";
47
+ import { u as Bt } from "../useInsightsEnabled-DRKd0OV2.mjs";
48
48
  import { E as zt } from "../EmptyState-DA_lfRBv.mjs";
49
- import { l as Pt } from "../ConnectDrawer-Bw5s6Dw1.mjs";
49
+ import { l as Pt } from "../ConnectDrawer-BMCNkK6D.mjs";
50
50
  const Ve = ({ selectedTab: t, onTabChange: o }) => /* @__PURE__ */ e(
51
51
  dt,
52
52
  {
@@ -1,6 +1,6 @@
1
1
  import s from "react";
2
- import { g as e } from "./ConnectDrawer-Bw5s6Dw1.mjs";
3
- import { a as n } from "./hooks-D6XlXHf4.mjs";
2
+ import { g as e } from "./ConnectDrawer-BMCNkK6D.mjs";
3
+ import { a as n } from "./hooks-Ws5qcl3x.mjs";
4
4
  const i = (o) => {
5
5
  const { config: a } = n();
6
6
  return s.useMemo(
@@ -1,5 +1,5 @@
1
1
  import { useState as n, useEffect as a } from "react";
2
- import { f as o } from "./hooks-D6XlXHf4.mjs";
2
+ import { f as o } from "./hooks-Ws5qcl3x.mjs";
3
3
  const f = () => {
4
4
  const { isInitialized: e, appDataStore: t } = o(), [s, i] = n(!1);
5
5
  return a(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mx-cartographer/experiences",
3
- "version": "7.2.15-alpha.sms27",
3
+ "version": "7.2.15-alpha.sms28",
4
4
  "description": "Library containing experience widgets",
5
5
  "author": "MX",
6
6
  "license": "MIT",
@@ -1,77 +0,0 @@
1
- import r from "react";
2
- import { jsx as n } from "react/jsx-runtime";
3
- const a = r.createContext(null), C = ({
4
- children: t,
5
- globalStore: e,
6
- onError: s,
7
- onEvent: l,
8
- onLoad: u,
9
- onPageView: c
10
- }) => /* @__PURE__ */ n(
11
- a.Provider,
12
- {
13
- value: {
14
- globalStore: e,
15
- onError: s,
16
- onEvent: l,
17
- onLoad: u,
18
- onPageView: c,
19
- children: t
20
- },
21
- children: t
22
- }
23
- ), S = r.createContext(null), d = ({ children: t, availableHeight: e, availableWidth: s }) => /* @__PURE__ */ n(
24
- S.Provider,
25
- {
26
- value: {
27
- availableHeight: e,
28
- availableWidth: s,
29
- children: t
30
- },
31
- children: t
32
- }
33
- ), o = (t = "useGlobalStore") => {
34
- const e = r.useContext(a);
35
- if (!e)
36
- throw new Error(`${t}() must be used within the GlobalDataContext`);
37
- return e;
38
- }, p = () => o("useAccountStore").globalStore.accountStore, h = () => o("useAppConfig").globalStore.appDataStore.appConfig, x = () => o("useAnalyticsStore").globalStore.analyticsStore, f = () => o("useBudgetsStore").globalStore.budgetsStore, w = () => o("useCashflowStore").globalStore.cashflowStore, G = () => o("useCategoryStore").globalStore.categoryStore, v = () => o("useConnectStore").globalStore.connectStore, y = () => o("useDebtsStore").globalStore.debtsStore, W = () => o("useFinstrongStore").globalStore.finstrongStore, m = () => o("useGlobalStore").globalStore, D = () => o("useGlobalUiStore").globalStore.globalUiStore, E = () => o("globalCopyStore").globalStore.copyStore.copy, P = () => o("useGoalStore").globalStore.goalStore, A = () => o("useHelpStore").globalStore.helpStore, T = () => o("useHoldingStore").globalStore.holdingStore, U = () => o("useMerchantStore").globalStore.merchantStore, H = () => o("useNetWorthStore").globalStore.netWorthStore, N = () => o("useNotificationStore").globalStore.notificationStore, B = () => o("useRecurringTransactionsStore").globalStore.recurringTransactionsStore, L = () => o("useSettingsStore").globalStore.settingsStore, R = () => o("useTransactionStore").globalStore.transactionStore, V = () => o("useTrendsStore").globalStore.trendsStore, j = () => o("useUserStore").globalStore.userStore, F = () => ({ onError: o().onError }), M = () => ({ onEvent: o().onEvent }), $ = () => ({ onLoad: o().onLoad }), k = () => ({ onPageView: o().onPageView }), i = (t = "useWidgetContainerContext") => {
39
- const e = r.useContext(S);
40
- if (!e)
41
- throw new Error(`${t}() must be used within the WidgetContainerContext`);
42
- return e;
43
- }, q = () => i();
44
- export {
45
- A,
46
- k as B,
47
- C,
48
- S as D,
49
- a as G,
50
- d as W,
51
- h as a,
52
- D as b,
53
- U as c,
54
- p as d,
55
- v as e,
56
- m as f,
57
- M as g,
58
- R as h,
59
- f as i,
60
- B as j,
61
- x as k,
62
- P as l,
63
- G as m,
64
- $ as n,
65
- N as o,
66
- j as p,
67
- q,
68
- H as r,
69
- L as s,
70
- T as t,
71
- E as u,
72
- w as v,
73
- V as w,
74
- W as x,
75
- y,
76
- F as z
77
- };