@mx-cartographer/experiences 7.2.1 → 7.2.3

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 (60) hide show
  1. package/CHANGELOG.md +11 -2
  2. package/dist/{Account-8IUM_CLv.mjs → Account-B-CuHOYf.mjs} +1 -1
  3. package/dist/{AccountDetailsContent-CuZSSAEc.mjs → AccountDetailsContent-DfzPOeMI.mjs} +8 -8
  4. package/dist/{AccountDetailsHeader-BZBsIKdF.mjs → AccountDetailsHeader-vcy67tuH.mjs} +6 -6
  5. package/dist/{AccountFields-BD_0GT68.mjs → AccountFields-cUP-9Hm6.mjs} +2 -2
  6. package/dist/{AccountListItem-CllIBCao.mjs → AccountListItem-DChcf3SN.mjs} +4 -4
  7. package/dist/{AccountStore-DeAQv-kI.mjs → AccountStore-D6KiXA1B.mjs} +2 -2
  8. package/dist/{Accounts-Bvc9TJaO.mjs → Accounts-IeEtQjzA.mjs} +1 -1
  9. package/dist/{BudgetUtil-psfk-Amb.mjs → BudgetUtil-B2ZXyw-g.mjs} +1 -1
  10. package/dist/{CategorySelectorDrawer-BmenK5bu.mjs → CategorySelectorDrawer-DUe4lH5-.mjs} +1 -1
  11. package/dist/{ConnectDrawer-CPTXh70j.mjs → ConnectDrawer-DaFRU5st.mjs} +1 -1
  12. package/dist/{ConnectionsDrawer-Dkb4vBmt.mjs → ConnectionsDrawer-DHJ7qdWL.mjs} +2 -2
  13. package/dist/{CurrencyInput-C4xNRL2W.mjs → CurrencyInput-CsCy7uaS.mjs} +1 -1
  14. package/dist/{DebtsStore-D4grpB4m.mjs → DebtsStore-z3VARSO6.mjs} +1 -1
  15. package/dist/{ExportCsvAction-CBJAfyAw.mjs → ExportCsvAction-sX8Rg4Ov.mjs} +3 -3
  16. package/dist/{GoalStore-B5MZzPLZ.mjs → GoalStore-TD0BfzWX.mjs} +2 -2
  17. package/dist/{Help-CzBAsKA2.mjs → Help-B6dIcujh.mjs} +1 -1
  18. package/dist/{LineChart-B35qvXik.mjs → LineChart-D4GI7nVh.mjs} +1 -1
  19. package/dist/{ListItemAction-DSrYDGAP.mjs → ListItemAction-DHa3KJPs.mjs} +1 -1
  20. package/dist/{ManageIncome-DUuT-yMV.mjs → ManageIncome-D3n1EWxe.mjs} +34 -34
  21. package/dist/{MicroWidgetContainer-C4QQHfD7.mjs → MicroWidgetContainer-DpeqN9n3.mjs} +1 -1
  22. package/dist/{MiniWidgetContainer-DTQdRK-3.mjs → MiniWidgetContainer-D0gfmbaF.mjs} +1 -1
  23. package/dist/{NetWorthStore-Do1Gk8Te.mjs → NetWorthStore-B_1oulrt.mjs} +2 -2
  24. package/dist/{NotificationSettings-BuShgjn6.mjs → NotificationSettings-BRm_EJZV.mjs} +3 -3
  25. package/dist/{OriginalBalanceAction-BsxcvNEF.mjs → OriginalBalanceAction-CAaVbVMO.mjs} +3 -3
  26. package/dist/{RecurringSettings-BVOt46uV.mjs → RecurringSettings-C28GrQcP.mjs} +3 -3
  27. package/dist/{TransactionDetails-_cXLXTd3.mjs → TransactionDetails-BWffqew4.mjs} +5 -5
  28. package/dist/{TransactionStore-DUVfWzsI.mjs → TransactionStore-DxPLdF3B.mjs} +2 -2
  29. package/dist/{TrendsStore-ZZ8X36lJ.mjs → TrendsStore-DCYbpXPO.mjs} +1 -1
  30. package/dist/{User-DaJAQ09j.mjs → User-BQUxBeZV.mjs} +1 -1
  31. package/dist/{WidgetContainer-DtPnPQZY.mjs → WidgetContainer-C88Ecu2W.mjs} +2 -2
  32. package/dist/accounts/index.es.js +13 -13
  33. package/dist/analytics/index.es.js +2 -2
  34. package/dist/budgets/index.es.js +10 -10
  35. package/dist/cashflow/index.es.js +440 -436
  36. package/dist/categories/index.es.js +1 -1
  37. package/dist/common/context/GlobalDataProvider.d.ts +1 -0
  38. package/dist/common/context/hooks.d.ts +3 -0
  39. package/dist/common/context/index.d.ts +1 -1
  40. package/dist/common/index.es.js +50 -49
  41. package/dist/dashboard/index.es.js +81 -79
  42. package/dist/debts/index.es.js +9 -9
  43. package/dist/{exportTransactionsToCSV-D8TTNrrE.mjs → exportTransactionsToCSV-7bVS7KXf.mjs} +1 -1
  44. package/dist/finstrong/index.es.js +6 -6
  45. package/dist/goals/index.es.js +12 -12
  46. package/dist/help/index.es.js +3 -3
  47. package/dist/hooks-D6XlXHf4.mjs +77 -0
  48. package/dist/investments/index.es.js +3 -3
  49. package/dist/merchants/index.es.js +1 -1
  50. package/dist/networth/index.es.js +7 -7
  51. package/dist/notifications/index.es.js +2 -2
  52. package/dist/recurringtransactions/index.es.js +19 -19
  53. package/dist/settings/index.es.js +6 -6
  54. package/dist/spending/index.es.js +4 -4
  55. package/dist/transactions/index.es.js +13 -13
  56. package/dist/trends/index.es.js +449 -449
  57. package/dist/{useAccountDisplayName-BXGkZN5B.mjs → useAccountDisplayName-BcRqfar8.mjs} +2 -2
  58. package/dist/{useInsightsEnabled-DSnpkUq0.mjs → useInsightsEnabled-DBpwEq10.mjs} +1 -1
  59. package/package.json +1 -1
  60. package/dist/hooks-CE2TKk4a.mjs +0 -74
@@ -0,0 +1,77 @@
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
+ };
@@ -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-Dkb4vBmt.mjs";
7
+ import { C as ge } from "../ConnectionsDrawer-DHJ7qdWL.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, s as H, b as Q, d as se } from "../hooks-CE2TKk4a.mjs";
20
- import { A as z, W as je } from "../WidgetContainer-DtPnPQZY.mjs";
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-C88Ecu2W.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-CE2TKk4a.mjs";
15
+ import { c as v, u as w, b as C } from "../hooks-D6XlXHf4.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 { p as _e, u as T, d as J, g as Q, b as P, q as ee } from "../hooks-CE2TKk4a.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";
7
7
  import { f as we, D as be } from "../Dialog-CWW597AF.mjs";
8
- import { L as We } from "../LineChart-B35qvXik.mjs";
8
+ import { L as We } from "../LineChart-D4GI7nVh.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-Do1Gk8Te.mjs";
23
- import { N as Ot } from "../NetWorthStore-Do1Gk8Te.mjs";
22
+ import { g as K } from "../NetWorthStore-B_1oulrt.mjs";
23
+ import { N as Ot } from "../NetWorthStore-B_1oulrt.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-DtPnPQZY.mjs";
26
+ import { A as b, W as ke } from "../WidgetContainer-C88Ecu2W.mjs";
27
27
  import { L as O } from "../Loader-DUaFpDGv.mjs";
28
- import { M as Ae } from "../MicroWidgetContainer-C4QQHfD7.mjs";
28
+ import { M as Ae } from "../MicroWidgetContainer-DpeqN9n3.mjs";
29
29
  import re from "@mui/material/Box";
30
- import { C as Me } from "../ConnectionsDrawer-Dkb4vBmt.mjs";
30
+ import { C as Me } from "../ConnectionsDrawer-DHJ7qdWL.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, n as N, b as S, a as z } from "../hooks-CE2TKk4a.mjs";
14
+ import { d as E, i as j, u as g, o as N, b as S, a as z } from "../hooks-D6XlXHf4.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-BuShgjn6.mjs";
20
+ import { N as H } from "../NotificationSettings-BRm_EJZV.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-BVOt46uV.mjs";
12
- import { M as En } from "../RecurringSettings-BVOt46uV.mjs";
11
+ import { R as Ee } from "../RecurringSettings-C28GrQcP.mjs";
12
+ import { M as En } from "../RecurringSettings-C28GrQcP.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";
@@ -17,8 +17,8 @@ import se from "@mui/material/Unstable_Grid2";
17
17
  import Se from "@mui/material/IconButton";
18
18
  import _e from "@mui/material/Tab";
19
19
  import je from "@mui/material/Tabs";
20
- import { Schedule as Ke, MonetizationOn as Ye, Cancel as Ge, CheckCircle as Ne, ChevronLeft as Ve, ChevronRight as Xe, CurrencyExchange as Ze } from "@mxenabled/mx-icons";
21
- import { Text as p, MerchantLogo as pe, InstitutionLogo as qe, H3 as Je, P as ce } from "@mxenabled/mxui";
20
+ import { Schedule as Ke, MonetizationOn as Ye, Cancel as Ge, CheckCircle as Ne, ChevronLeft as Ve, ChevronRight as Xe, CurrencyExchange as qe } from "@mxenabled/mx-icons";
21
+ import { Text as p, MerchantLogo as pe, InstitutionLogo as Ze, H3 as Je, P as ce } from "@mxenabled/mxui";
22
22
  import { getWeeksInMonth as we } from "date-fns/getWeeksInMonth";
23
23
  import ge from "@mui/material/styles/useTheme";
24
24
  import { AdapterDateFns as Qe } from "@mui/x-date-pickers/AdapterDateFnsV3";
@@ -27,12 +27,12 @@ import { LocalizationProvider as tt } from "@mui/x-date-pickers/LocalizationProv
27
27
  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
- import { I as Z } from "../IconBacking-B9oC6uL2.mjs";
31
- import { u as D, b as q, j as I, g as J, p as Oe, d as he, h as fe } from "../hooks-CE2TKk4a.mjs";
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";
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-DtPnPQZY.mjs";
35
+ import { A as w, W as at } from "../WidgetContainer-C88Ecu2W.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-DUuT-yMV.mjs";
45
- import { c as kn, M as Wn, S as $n } from "../ManageIncome-DUuT-yMV.mjs";
44
+ import { b as mt } from "../ManageIncome-D3n1EWxe.mjs";
45
+ import { c as kn, M as Wn, S as $n } from "../ManageIncome-D3n1EWxe.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,22 +51,22 @@ 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-DTQdRK-3.mjs";
54
+ import { M as pt } from "../MiniWidgetContainer-D0gfmbaF.mjs";
55
55
  import { u as gt } from "../useDimensions-27p2evRx.mjs";
56
- import { M as ht } from "../MicroWidgetContainer-C4QQHfD7.mjs";
56
+ import { M as ht } from "../MicroWidgetContainer-DpeqN9n3.mjs";
57
57
  const Q = {
58
58
  gridRow: 1,
59
59
  gridColumn: 1,
60
60
  zIndex: 2
61
- }, ee = (t) => t ? { margin: "0 0 -6px -4px" } : void 0, Ce = ({ isOffset: t = !1, size: n = 16 }) => /* @__PURE__ */ e(Z, { size: n, sx: { ...ee(t) }, children: /* @__PURE__ */ e(Ke, { color: "primary", filled: !0, sx: { fontSize: n, ...Q } }) }), be = ({ isOffset: t = !1, size: n = 16 }) => /* @__PURE__ */ e(Z, { size: n, sx: { ...ee(t) }, children: /* @__PURE__ */ e(
61
+ }, ee = (t) => t ? { margin: "0 0 -6px -4px" } : void 0, Ce = ({ isOffset: t = !1, size: n = 16 }) => /* @__PURE__ */ e(q, { size: n, sx: { ...ee(t) }, children: /* @__PURE__ */ e(Ke, { color: "primary", filled: !0, sx: { fontSize: n, ...Q } }) }), be = ({ isOffset: t = !1, size: n = 16 }) => /* @__PURE__ */ e(q, { size: n, sx: { ...ee(t) }, children: /* @__PURE__ */ e(
62
62
  Ye,
63
63
  {
64
64
  filled: !0,
65
65
  sx: { color: "categories.income", fontSize: n, ...Q }
66
66
  }
67
- ) }), Re = ({ isOffset: t = !1, size: n = 16 }) => /* @__PURE__ */ e(Z, { size: n, sx: { ...ee(t) }, children: /* @__PURE__ */ e(Ge, { color: "error", filled: !0, sx: { fontSize: n, ...Q } }) }), Te = ({ isOffset: t = !1, size: n = 16 }) => /* @__PURE__ */ e(Z, { size: n, sx: { ...ee(t) }, children: /* @__PURE__ */ e(Ne, { color: "success", filled: !0, sx: { fontSize: n, ...Q } }) }), ft = T(
67
+ ) }), Re = ({ isOffset: t = !1, size: n = 16 }) => /* @__PURE__ */ e(q, { size: n, sx: { ...ee(t) }, children: /* @__PURE__ */ e(Ge, { color: "error", filled: !0, sx: { fontSize: n, ...Q } }) }), Te = ({ isOffset: t = !1, size: n = 16 }) => /* @__PURE__ */ e(q, { size: n, sx: { ...ee(t) }, children: /* @__PURE__ */ e(Ne, { color: "success", filled: !0, sx: { fontSize: n, ...Q } }) }), ft = T(
68
68
  ({ day: t, outsideCurrentMonth: n, ...i }) => {
69
- const { recurring: r } = D(), { selectedAccountGuids: o } = q(), { recurrences: l, setSelectedDay: m } = I(), s = h.useMemo(
69
+ const { recurring: r } = D(), { selectedAccountGuids: o } = Z(), { recurrences: l, setSelectedDay: m } = I(), s = h.useMemo(
70
70
  () => l.filter((d) => o.includes(d.accountGuid)),
71
71
  [o, l]
72
72
  ).filter(
@@ -278,7 +278,7 @@ const Q = {
278
278
  /* @__PURE__ */ e(p, { variant: "caption", children: Ct(t, o) })
279
279
  ] }) : /* @__PURE__ */ a(X, { children: [
280
280
  t.institutionGuid && /* @__PURE__ */ e(
281
- qe,
281
+ Ze,
282
282
  {
283
283
  alt: t.institutionName,
284
284
  institutionGuid: t.institutionGuid,
@@ -559,7 +559,7 @@ const Q = {
559
559
  }
560
560
  );
561
561
  }), wn = T(({ onBackClick: t, sx: n = {} }) => {
562
- const { accounts: i } = he(), { recurring: r } = D(), { isCopyLoaded: o, isInitialized: l, selectedAccountGuids: m, setSelectedAccounts: g } = q(), { isDataLoaded: s, loadRepeatingTransactions: u, setDateRange: f } = I(), { setFilter: x } = fe(), { onEvent: C } = J(), { isMobile: y } = ye(), [d, b] = h.useState(!1);
562
+ const { accounts: i } = he(), { recurring: r } = D(), { isCopyLoaded: o, isInitialized: l, selectedAccountGuids: m, setSelectedAccounts: g } = Z(), { isDataLoaded: s, loadRepeatingTransactions: u, setDateRange: f } = I(), { setFilter: x } = fe(), { onEvent: C } = J(), { isMobile: y } = ye(), [d, b] = h.useState(!1);
563
563
  return h.useEffect(() => {
564
564
  g(i);
565
565
  }, [i]), h.useEffect(() => {
@@ -626,7 +626,7 @@ const Q = {
626
626
  ] });
627
627
  }), In = T(
628
628
  ({ onPrimaryCtaClick: t, sx: n }) => {
629
- const { accounts: i } = he(), { recurring: r } = D(), { setFilter: o } = fe(), { isDataLoaded: l, loadRepeatingTransactions: m } = I(), { isCopyLoaded: g, isInitialized: s, setSelectedAccounts: u, selectedAccountGuids: f } = q();
629
+ const { accounts: i } = he(), { recurring: r } = D(), { setFilter: o } = fe(), { isDataLoaded: l, loadRepeatingTransactions: m } = I(), { isCopyLoaded: g, isInitialized: s, setSelectedAccounts: u, selectedAccountGuids: f } = Z();
630
630
  return h.useEffect(() => {
631
631
  s && u(i);
632
632
  }, [s]), h.useEffect(() => {
@@ -719,7 +719,7 @@ const Q = {
719
719
  ] }), _t = T(() => {
720
720
  const { recurring: t } = D();
721
721
  return /* @__PURE__ */ a(c, { sx: { alignItems: "start", flexDirection: "row", gap: 12 }, children: [
722
- /* @__PURE__ */ e(Ze, { size: 32 }),
722
+ /* @__PURE__ */ e(qe, { size: 32 }),
723
723
  /* @__PURE__ */ a(c, { children: [
724
724
  /* @__PURE__ */ e(ce, { fontWeight: 600, variant: "body1", children: t.zero_state_content_header }),
725
725
  /* @__PURE__ */ e(ce, { color: "text.secondary", variant: "subtitle2", children: t.zero_state_content_description })
@@ -727,7 +727,7 @@ const Q = {
727
727
  ] });
728
728
  }), vn = T(
729
729
  ({ onCTAClick: t }) => {
730
- const [n, i] = h.useState(!1), { onEvent: r } = J(), o = ge(), { accounts: l } = he(), [m, { width: g }] = gt(), { isCopyLoaded: s, isInitialized: u, selectedAccountGuids: f, setSelectedAccounts: x } = q(), {
730
+ const [n, i] = h.useState(!1), { onEvent: r } = J(), o = ge(), { accounts: l } = he(), [m, { width: g }] = gt(), { isCopyLoaded: s, isInitialized: u, selectedAccountGuids: f, setSelectedAccounts: x } = Z(), {
731
731
  loadRepeatingTransactions: C,
732
732
  upcomingRecurrences: y,
733
733
  expenseTotal: d,
@@ -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-BuShgjn6.mjs";
20
- import { A as Yt, B as qt, I as Qt } from "../NotificationSettings-BuShgjn6.mjs";
21
- import { u as k, a as $, r as A, o as De, b as Z, m as ee } from "../hooks-CE2TKk4a.mjs";
19
+ import { V as ve, a as Ce, N as G } from "../NotificationSettings-BRm_EJZV.mjs";
20
+ import { A as Yt, B as qt, I as Qt } from "../NotificationSettings-BRm_EJZV.mjs";
21
+ import { u as k, a as $, s as A, p as De, b as Z, m as ee } from "../hooks-D6XlXHf4.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-BmenK5bu.mjs";
38
+ import { a as Ee, u as Pe } from "../CategorySelectorDrawer-DUe4lH5-.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-CzBAsKA2.mjs";
45
- import { W as K } from "../WidgetContainer-DtPnPQZY.mjs";
44
+ import { H as Le } from "../Help-B6dIcujh.mjs";
45
+ import { W as K } from "../WidgetContainer-C88Ecu2W.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,
@@ -14,20 +14,20 @@ import { Text as f, CategoryIcon as ht, CategoryIconVariants as ft } from "@mxen
14
14
  import { f as A } from "../NumberFormatting-Buh7u8Oi.mjs";
15
15
  import yt from "@mui/material/Button";
16
16
  import { useTheme as it } from "@mui/material";
17
- import { u as w, b as R, m as z, d as rt, a as st, h as Ct, g as _t } from "../hooks-CE2TKk4a.mjs";
17
+ import { u as w, b as R, m as z, d as rt, a as st, h as Ct, g as _t } from "../hooks-D6XlXHf4.mjs";
18
18
  import { u as ct } from "../useScreenSize-B6JyS_Lj.mjs";
19
19
  import { D as bt } from "../Donut-1UMNcG67.mjs";
20
20
  import { L as F } from "../Loader-DUaFpDGv.mjs";
21
- import { M as St } from "../MiniWidgetContainer-DTQdRK-3.mjs";
21
+ import { M as St } from "../MiniWidgetContainer-D0gfmbaF.mjs";
22
22
  import { startOfToday as U } from "date-fns/startOfToday";
23
- import { T as Tt, a as Mt } from "../TransactionDetails-_cXLXTd3.mjs";
23
+ import { T as Tt, a as Mt } from "../TransactionDetails-BWffqew4.mjs";
24
24
  import Dt from "@mui/material/Collapse";
25
25
  import B from "@mui/material/Divider";
26
26
  import q from "@mui/material/List";
27
27
  import J from "@mui/material/ListItem";
28
28
  import xt from "@mui/material/ListItemButton";
29
29
  import { D as Q } from "../Drawer-kEE73B87.mjs";
30
- import { A as Z, W as wt } from "../WidgetContainer-DtPnPQZY.mjs";
30
+ import { A as Z, W as wt } from "../WidgetContainer-C88Ecu2W.mjs";
31
31
  const j = 5, vt = (n, l, r) => r.reduce((i, c) => {
32
32
  if (c.total > 0) {
33
33
  const a = n.find((s) => s.guid === c.category_guid);
@@ -1,12 +1,12 @@
1
1
  import { T as Ca } from "../TransactionApi-B3Tksf7L.mjs";
2
- import { u as P, C as He, D as Be, M as Pe, c as $e, T as Ve, a as We } from "../TransactionDetails-_cXLXTd3.mjs";
3
- import { B as ba, d as Ta, b as Aa } from "../TransactionDetails-_cXLXTd3.mjs";
4
- import { T as M } from "../User-DaJAQ09j.mjs";
5
- import { O as xa } from "../User-DaJAQ09j.mjs";
6
- import { S as ee, D as Ge } from "../TransactionStore-DUVfWzsI.mjs";
7
- import { T as Ia } from "../TransactionStore-DUVfWzsI.mjs";
8
- import { e as Ue } from "../exportTransactionsToCSV-D8TTNrrE.mjs";
9
- import { E as Da } from "../ExportCsvAction-CBJAfyAw.mjs";
2
+ import { u as P, C as He, D as Be, M as Pe, c as $e, T as Ve, a as We } from "../TransactionDetails-BWffqew4.mjs";
3
+ import { B as ba, d as Ta, b as Aa } from "../TransactionDetails-BWffqew4.mjs";
4
+ import { T as M } from "../User-BQUxBeZV.mjs";
5
+ import { O as xa } from "../User-BQUxBeZV.mjs";
6
+ import { S as ee, D as Ge } from "../TransactionStore-DxPLdF3B.mjs";
7
+ import { T as Ia } from "../TransactionStore-DxPLdF3B.mjs";
8
+ import { e as Ue } from "../exportTransactionsToCSV-7bVS7KXf.mjs";
9
+ import { E as Da } from "../ExportCsvAction-sX8Rg4Ov.mjs";
10
10
  import { jsxs as _, jsx as e } from "react/jsx-runtime";
11
11
  import m from "react";
12
12
  import { observer as S } from "mobx-react-lite";
@@ -15,7 +15,7 @@ import { DataGridPro as ze } from "@mui/x-data-grid-pro";
15
15
  import A from "@mui/material/Box";
16
16
  import { useTheme as Ke } from "@mui/material/styles";
17
17
  import { Text as C, Icon as B, MerchantLogo as qe, TextField as te, P as je } from "@mxenabled/mxui";
18
- import { h as $, u as x, b as K, d as re, m as Xe, a as Ye, g as Je, o as Qe } from "../hooks-CE2TKk4a.mjs";
18
+ import { h as $, u as x, b as K, d as re, m as Xe, a as Ye, g as Je, p as Qe } from "../hooks-D6XlXHf4.mjs";
19
19
  import { fromUnixTime as Ze } from "date-fns/fromUnixTime";
20
20
  import { f as et, D as tt, a as se } from "../Dialog-CWW597AF.mjs";
21
21
  import D from "@mui/material/Stack";
@@ -26,15 +26,15 @@ import { getUnixTime as nt } from "date-fns/getUnixTime";
26
26
  import { startOfMonth as ot } from "date-fns/startOfMonth";
27
27
  import { startOfToday as z } from "date-fns/startOfToday";
28
28
  import rt from "@mui/material/styles/useTheme";
29
- import { l as st } from "../ConnectDrawer-CPTXh70j.mjs";
29
+ import { l as st } from "../ConnectDrawer-DaFRU5st.mjs";
30
30
  import it from "@mui/material/Divider";
31
31
  import ct from "@mui/material/MenuItem";
32
32
  import lt from "@mui/material/RadioGroup";
33
33
  import { ExpandMore as dt } from "@mxenabled/mx-icons";
34
- import { C as ut } from "../CurrencyInput-C4xNRL2W.mjs";
35
- import { a as mt, u as _t } from "../CategorySelectorDrawer-BmenK5bu.mjs";
34
+ import { C as ut } from "../CurrencyInput-CsCy7uaS.mjs";
35
+ import { a as mt, u as _t } from "../CategorySelectorDrawer-DUe4lH5-.mjs";
36
36
  import { b as ae } from "../Localization-2MODESHW.mjs";
37
- import { A as T, W as pt } from "../WidgetContainer-DtPnPQZY.mjs";
37
+ import { A as T, W as pt } from "../WidgetContainer-C88Ecu2W.mjs";
38
38
  import { u as gt } from "../useScreenSize-B6JyS_Lj.mjs";
39
39
  import { S as ht } from "../SearchBox-B2_zLv8-.mjs";
40
40
  import { D as ne } from "../Drawer-kEE73B87.mjs";