@mx-cartographer/experiences 7.1.3-alpha.mm0 → 7.1.3-alpha.mm1

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 (55) hide show
  1. package/dist/{Account-poVfvAtj.mjs → Account-DKy2na__.mjs} +1 -1
  2. package/dist/{AccountDetailsContent-BCMssB6a.mjs → AccountDetailsContent-CCOCsdoL.mjs} +8 -8
  3. package/dist/{AccountDetailsHeader-aR7xZ2nH.mjs → AccountDetailsHeader-Ca9SPAjA.mjs} +6 -6
  4. package/dist/{AccountFields-_0YMlOBp.mjs → AccountFields-DDAr5SEq.mjs} +2 -2
  5. package/dist/{AccountListItem-CnCbtSqL.mjs → AccountListItem-CMes1Q7Z.mjs} +4 -4
  6. package/dist/{AccountStore-B6dq8GCk.mjs → AccountStore-DYOG9MYj.mjs} +2 -2
  7. package/dist/{Accounts-SjMpWUke.mjs → Accounts-BNvFndCa.mjs} +1 -1
  8. package/dist/{BudgetUtil-7AJdmjKN.mjs → BudgetUtil-B2ZXyw-g.mjs} +1 -1
  9. package/dist/{CategorySelectorDrawer-DIy14j9q.mjs → CategorySelectorDrawer-DUe4lH5-.mjs} +1 -1
  10. package/dist/{ConnectDrawer-BuGKZGC6.mjs → ConnectDrawer-CHG5Lv_B.mjs} +1 -1
  11. package/dist/{ConnectionsDrawer-BUFTeUlm.mjs → ConnectionsDrawer-BeB6ab8V.mjs} +2 -2
  12. package/dist/{CurrencyInput-DXMb7tAQ.mjs → CurrencyInput-CsCy7uaS.mjs} +1 -1
  13. package/dist/{DebtsStore-DwQfw1Tf.mjs → DebtsStore-BblTVTMD.mjs} +1 -1
  14. package/dist/{ExportCsvAction-CaYiIpM7.mjs → ExportCsvAction-sX8Rg4Ov.mjs} +3 -3
  15. package/dist/{GoalStore-B11YqsSR.mjs → GoalStore-CSsU4LR2.mjs} +2 -2
  16. package/dist/{Help-BeXRlMej.mjs → Help-B6dIcujh.mjs} +1 -1
  17. package/dist/{LineChart-DoM2GvjT.mjs → LineChart-D4GI7nVh.mjs} +1 -1
  18. package/dist/{ListItemAction-BUj2koIg.mjs → ListItemAction-DHa3KJPs.mjs} +1 -1
  19. package/dist/{ManageIncome-Dn-1RlJI.mjs → ManageIncome-DqG75uQd.mjs} +34 -34
  20. package/dist/{MicroWidgetContainer-BfjjvWDu.mjs → MicroWidgetContainer-DpeqN9n3.mjs} +1 -1
  21. package/dist/{MiniWidgetContainer-C98Eg9vO.mjs → MiniWidgetContainer-D0gfmbaF.mjs} +1 -1
  22. package/dist/{NetWorthStore-DqBVr9B4.mjs → NetWorthStore-BbA7H83o.mjs} +2 -2
  23. package/dist/{NotificationSettings-BpG12HXV.mjs → NotificationSettings-BRm_EJZV.mjs} +3 -3
  24. package/dist/{OriginalBalanceAction-CG_yDuWi.mjs → OriginalBalanceAction-CAaVbVMO.mjs} +3 -3
  25. package/dist/{RecurringSettings-BtsTGf0P.mjs → RecurringSettings-B9l_Axnd.mjs} +3 -3
  26. package/dist/{TransactionDetails-CBpH1fsq.mjs → TransactionDetails-DPvvi4Iu.mjs} +5 -5
  27. package/dist/{TransactionStore-Cq_j5fna.mjs → TransactionStore-CBrJOY0H.mjs} +2 -2
  28. package/dist/{TrendsStore-2geZbzUX.mjs → TrendsStore-DCYbpXPO.mjs} +1 -1
  29. package/dist/{User-CgKOp9Zi.mjs → User-BQUxBeZV.mjs} +1 -1
  30. package/dist/{WidgetContainer-CjvCN6aj.mjs → WidgetContainer-BMWagbIl.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 +35 -35
  35. package/dist/categories/index.es.js +1 -1
  36. package/dist/common/index.es.js +24 -24
  37. package/dist/dashboard/index.es.js +81 -79
  38. package/dist/debts/index.es.js +9 -9
  39. package/dist/{exportTransactionsToCSV-BUuXqDYK.mjs → exportTransactionsToCSV-7bVS7KXf.mjs} +1 -1
  40. package/dist/finstrong/index.es.js +6 -6
  41. package/dist/goals/index.es.js +12 -12
  42. package/dist/help/index.es.js +3 -3
  43. package/dist/{hooks-B3k6Se4_.mjs → hooks-D6XlXHf4.mjs} +9 -9
  44. package/dist/investments/index.es.js +3 -3
  45. package/dist/merchants/index.es.js +1 -1
  46. package/dist/networth/index.es.js +7 -7
  47. package/dist/notifications/index.es.js +2 -2
  48. package/dist/recurringtransactions/index.es.js +19 -19
  49. package/dist/settings/index.es.js +6 -6
  50. package/dist/spending/index.es.js +4 -4
  51. package/dist/transactions/index.es.js +13 -13
  52. package/dist/trends/index.es.js +29 -29
  53. package/dist/{useAccountDisplayName-CZjVfLSX.mjs → useAccountDisplayName-BEorBm5u.mjs} +2 -2
  54. package/dist/{useInsightsEnabled-DesBHW5l.mjs → useInsightsEnabled-DBpwEq10.mjs} +1 -1
  55. package/package.json +1 -1
@@ -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-BtsTGf0P.mjs";
12
- import { M as En } from "../RecurringSettings-BtsTGf0P.mjs";
11
+ import { R as Ee } from "../RecurringSettings-B9l_Axnd.mjs";
12
+ import { M as En } from "../RecurringSettings-B9l_Axnd.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-B3k6Se4_.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-CjvCN6aj.mjs";
35
+ import { A as w, W as at } from "../WidgetContainer-BMWagbIl.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-Dn-1RlJI.mjs";
45
- import { c as kn, M as Wn, S as $n } from "../ManageIncome-Dn-1RlJI.mjs";
44
+ import { b as mt } from "../ManageIncome-DqG75uQd.mjs";
45
+ import { c as kn, M as Wn, S as $n } from "../ManageIncome-DqG75uQd.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-C98Eg9vO.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-BfjjvWDu.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-BpG12HXV.mjs";
20
- import { A as Yt, B as qt, I as Qt } from "../NotificationSettings-BpG12HXV.mjs";
21
- import { u as k, a as $, r as A, o as De, b as Z, m as ee } from "../hooks-B3k6Se4_.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-DIy14j9q.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-BeXRlMej.mjs";
45
- import { W as K } from "../WidgetContainer-CjvCN6aj.mjs";
44
+ import { H as Le } from "../Help-B6dIcujh.mjs";
45
+ import { W as K } from "../WidgetContainer-BMWagbIl.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-B3k6Se4_.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-C98Eg9vO.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-CBpH1fsq.mjs";
23
+ import { T as Tt, a as Mt } from "../TransactionDetails-DPvvi4Iu.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-CjvCN6aj.mjs";
30
+ import { A as Z, W as wt } from "../WidgetContainer-BMWagbIl.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-CBpH1fsq.mjs";
3
- import { B as ba, d as Ta, b as Aa } from "../TransactionDetails-CBpH1fsq.mjs";
4
- import { T as M } from "../User-CgKOp9Zi.mjs";
5
- import { O as xa } from "../User-CgKOp9Zi.mjs";
6
- import { S as ee, D as Ge } from "../TransactionStore-Cq_j5fna.mjs";
7
- import { T as Ia } from "../TransactionStore-Cq_j5fna.mjs";
8
- import { e as Ue } from "../exportTransactionsToCSV-BUuXqDYK.mjs";
9
- import { E as Da } from "../ExportCsvAction-CaYiIpM7.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-DPvvi4Iu.mjs";
3
+ import { B as ba, d as Ta, b as Aa } from "../TransactionDetails-DPvvi4Iu.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-CBrJOY0H.mjs";
7
+ import { T as Ia } from "../TransactionStore-CBrJOY0H.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-B3k6Se4_.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 { k as st } from "../ConnectDrawer-BuGKZGC6.mjs";
29
+ import { k as st } from "../ConnectDrawer-CHG5Lv_B.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-DXMb7tAQ.mjs";
35
- import { a as mt, u as _t } from "../CategorySelectorDrawer-DIy14j9q.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-CjvCN6aj.mjs";
37
+ import { A as T, W as pt } from "../WidgetContainer-BMWagbIl.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";
@@ -1,4 +1,4 @@
1
- import { jsx as e, jsxs as C, Fragment as qe } from "react/jsx-runtime";
1
+ import { jsx as e, jsxs as C, Fragment as Qe } from "react/jsx-runtime";
2
2
  import i from "react";
3
3
  import { observer as x } from "mobx-react-lite";
4
4
  import { Icon as ae, Text as Z, CategoryIcon as fe, P as U, H3 as xe, ChevronRightIcon as Je } from "@mxenabled/mxui";
@@ -7,31 +7,31 @@ 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-2geZbzUX.mjs";
11
- import { T as Co } from "../TrendsStore-2geZbzUX.mjs";
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";
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, v as ee, f as Te, p as ht, w as ut, a as gt } from "../hooks-B3k6Se4_.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-D6XlXHf4.mjs";
16
16
  import { u as $ } from "../useScreenSize-B6JyS_Lj.mjs";
17
- import { f as Q, D as z } from "../Dialog-CWW597AF.mjs";
17
+ import { f as q, D as z } from "../Dialog-CWW597AF.mjs";
18
18
  import { DataGridPro as mt } from "@mui/x-data-grid-pro";
19
19
  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-DTtQNV3D.mjs";
23
- import { A as _, W as ke } from "../WidgetContainer-CjvCN6aj.mjs";
23
+ import { A as _, W as ke } from "../WidgetContainer-BMWagbIl.mjs";
24
24
  import { c as Tt } from "../Category-CevNQ03n.mjs";
25
- import { a as Ne, T as He } from "../TransactionDetails-CBpH1fsq.mjs";
25
+ import { a as Ne, T as He } from "../TransactionDetails-DPvvi4Iu.mjs";
26
26
  import { D as Ce } from "../Drawer-kEE73B87.mjs";
27
- import { L as q } from "../Loader-DUaFpDGv.mjs";
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-DoM2GvjT.mjs";
30
- import { M as yt } from "../MiniWidgetContainer-C98Eg9vO.mjs";
29
+ import { L as ye } from "../LineChart-D4GI7nVh.mjs";
30
+ import { M as yt } from "../MiniWidgetContainer-D0gfmbaF.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-BfjjvWDu.mjs";
34
+ import { M as Lt } from "../MicroWidgetContainer-DpeqN9n3.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-CaYiIpM7.mjs";
47
- import { u as Bt } from "../useInsightsEnabled-DesBHW5l.mjs";
46
+ import { E as Gt } from "../ExportCsvAction-sX8Rg4Ov.mjs";
47
+ import { u as Bt } from "../useInsightsEnabled-DBpwEq10.mjs";
48
48
  import { E as zt } from "../EmptyState-DA_lfRBv.mjs";
49
- import { k as Pt } from "../ConnectDrawer-BuGKZGC6.mjs";
49
+ import { k as Pt } from "../ConnectDrawer-CHG5Lv_B.mjs";
50
50
  const Ve = ({ selectedTab: t, onTabChange: o }) => /* @__PURE__ */ e(
51
51
  dt,
52
52
  {
@@ -58,10 +58,10 @@ const Ve = ({ selectedTab: t, onTabChange: o }) => /* @__PURE__ */ e(
58
58
  }
59
59
  ), Ge = ({ selectedDateRange: t, selectedCategoryGuid: o }) => {
60
60
  const { trends: n } = A(), { isMobile: s, isDesktop: r } = $(), { getCategoryName: l } = P(), d = i.useMemo(() => {
61
- const h = Q(
61
+ const h = q(
62
62
  t.start,
63
63
  s ? z.MONTH_SHORT_YEAR : z.MONTH_YEAR
64
- ), c = Q(
64
+ ), c = q(
65
65
  t.end,
66
66
  s ? z.MONTH_SHORT_YEAR : z.MONTH_YEAR
67
67
  );
@@ -109,7 +109,7 @@ const Ve = ({ selectedTab: t, onTabChange: o }) => /* @__PURE__ */ e(
109
109
  ) }), jt = (t, o) => {
110
110
  const n = [], s = new Date(t);
111
111
  for (; s <= o; ) {
112
- const r = Q(s, z.MONTH);
112
+ const r = q(s, z.MONTH);
113
113
  n.push(r), s.setMonth(s.getMonth() + 1);
114
114
  }
115
115
  return n;
@@ -121,7 +121,7 @@ const Ve = ({ selectedTab: t, onTabChange: o }) => /* @__PURE__ */ e(
121
121
  height: r = "100dvh",
122
122
  sx: l = {}
123
123
  }) => {
124
- const { onEvent: d } = H(), h = Q(/* @__PURE__ */ new Date(), z.MONTH_SHORT), [c, u] = i.useState([
124
+ const { onEvent: d } = H(), h = q(/* @__PURE__ */ new Date(), z.MONTH_SHORT), [c, u] = i.useState([
125
125
  { field: h, sort: "desc" }
126
126
  ]), f = i.useMemo(() => jt(o.start, o.end), [o]), g = [
127
127
  {
@@ -164,7 +164,7 @@ const Ve = ({ selectedTab: t, onTabChange: o }) => /* @__PURE__ */ e(
164
164
  category_guid: w,
165
165
  top_level_category_guid: D
166
166
  });
167
- const I = Q(new Date(k, R - 1), z.MONTH_SHORT);
167
+ const I = q(new Date(k, R - 1), z.MONTH_SHORT);
168
168
  return p[N][I] || (p[N][I] = 0), p[N][I] = p[N][I] + Math.abs(v), p;
169
169
  },
170
170
  {}
@@ -279,7 +279,7 @@ const Ve = ({ selectedTab: t, onTabChange: o }) => /* @__PURE__ */ e(
279
279
  }, re = (S) => {
280
280
  n(_.TRENDS_HOVER_POINT, { category: S });
281
281
  };
282
- return !m || !a || !w ? /* @__PURE__ */ e(q, {}) : /* @__PURE__ */ C(
282
+ return !m || !a || !w ? /* @__PURE__ */ e(Q, {}) : /* @__PURE__ */ C(
283
283
  ke,
284
284
  {
285
285
  accountOptions: d,
@@ -362,7 +362,7 @@ const Ve = ({ selectedTab: t, onTabChange: o }) => /* @__PURE__ */ e(
362
362
  ]
363
363
  }
364
364
  );
365
- }, lo = x(Zt), Qt = () => {
365
+ }, lo = x(Zt), qt = () => {
366
366
  const t = We(), { monthlyCategoryTotals: o } = P(), { trends: n } = A(), s = ct(o);
367
367
  return /* @__PURE__ */ e(
368
368
  ye,
@@ -380,13 +380,13 @@ const Ve = ({ selectedTab: t, onTabChange: o }) => /* @__PURE__ */ e(
380
380
  valueFormatterString: "0,0"
381
381
  }
382
382
  );
383
- }, qt = x(Qt), Jt = ({ onPrimaryCtaClick: t, sx: o }) => {
383
+ }, Qt = x(qt), Jt = ({ onPrimaryCtaClick: t, sx: o }) => {
384
384
  const { visibleAccounts: n } = ce(), { loadMonthlyCategoryTotals: s, monthlyTotalsLoaded: r } = P(), { isInitialized: l } = Te(), { trends: d } = A(), { isCopyLoaded: h, selectedAccounts: c, setSelectedAccounts: u } = J();
385
385
  return i.useEffect(() => {
386
386
  u(n);
387
387
  }, [n]), i.useEffect(() => {
388
388
  l && s(c).finally();
389
- }, [l, c]), !h || !l ? /* @__PURE__ */ e(q, {}) : /* @__PURE__ */ e(
389
+ }, [l, c]), !h || !l ? /* @__PURE__ */ e(Q, {}) : /* @__PURE__ */ e(
390
390
  yt,
391
391
  {
392
392
  onPrimaryCtaClick: t,
@@ -394,7 +394,7 @@ const Ve = ({ selectedTab: t, onTabChange: o }) => /* @__PURE__ */ e(
394
394
  subTitle: d.sub_title,
395
395
  sx: o,
396
396
  title: d.mini_title,
397
- children: r ? /* @__PURE__ */ e(qt, {}) : /* @__PURE__ */ e(q, {})
397
+ children: r ? /* @__PURE__ */ e(Qt, {}) : /* @__PURE__ */ e(Q, {})
398
398
  }
399
399
  );
400
400
  }, ho = x(Jt), en = 70, Ee = ({
@@ -515,7 +515,7 @@ const Ve = ({ selectedTab: t, onTabChange: o }) => /* @__PURE__ */ e(
515
515
  D ? _.TRENDS_CLICK_GET_STARTED : _.TRENDS_CLICK_VIEW_MORE
516
516
  ), t();
517
517
  };
518
- return !l || !f ? /* @__PURE__ */ e(q, {}) : /* @__PURE__ */ e(
518
+ return !l || !f ? /* @__PURE__ */ e(Q, {}) : /* @__PURE__ */ e(
519
519
  Lt,
520
520
  {
521
521
  className: "mx-trends-microwidget",
@@ -917,10 +917,10 @@ const Ve = ({ selectedTab: t, onTabChange: o }) => /* @__PURE__ */ e(
917
917
  toggleView: G
918
918
  });
919
919
  }, Ye = (L) => {
920
- const G = ve(L?.[0], 1), Y = L?.[1], Qe = pe(Y, G);
920
+ const G = ve(L?.[0], 1), Y = L?.[1], qe = pe(Y, G);
921
921
  p({ start: G, end: Y }), s(_.TRENDS_CLICK_TIME_WINDOW, {
922
922
  ...M,
923
- time_period: Qe + "M"
923
+ time_period: qe + "M"
924
924
  });
925
925
  }, Ue = (L) => {
926
926
  s(_.TRENDS_CLICK_FILTER, {
@@ -932,7 +932,7 @@ const Ve = ({ selectedTab: t, onTabChange: o }) => /* @__PURE__ */ e(
932
932
  }, Ze = () => {
933
933
  oe(""), s(_.TRENDS_CLICK_ALL_CATEGORIES, M);
934
934
  };
935
- return !E || !_e ? /* @__PURE__ */ e(q, {}) : /* @__PURE__ */ C(
935
+ return !E || !_e ? /* @__PURE__ */ e(Q, {}) : /* @__PURE__ */ C(
936
936
  ke,
937
937
  {
938
938
  accountOptions: u,
@@ -986,7 +986,7 @@ const Ve = ({ selectedTab: t, onTabChange: o }) => /* @__PURE__ */ e(
986
986
  k.all_categories
987
987
  ] }) }) }),
988
988
  /* @__PURE__ */ C(b, { flexDirection: B ? "row" : "column", gap: B ? 48 : 16, children: [
989
- K === "Chart" && /* @__PURE__ */ C(qe, { children: [
989
+ K === "Chart" && /* @__PURE__ */ C(Qe, { children: [
990
990
  /* @__PURE__ */ e(O, { sx: { width: B ? "68%" : "100%" }, children: /* @__PURE__ */ e(
991
991
  un,
992
992
  {
@@ -1,6 +1,6 @@
1
1
  import s from "react";
2
- import { g as e } from "./ConnectDrawer-BuGKZGC6.mjs";
3
- import { a as n } from "./hooks-B3k6Se4_.mjs";
2
+ import { g as e } from "./ConnectDrawer-CHG5Lv_B.mjs";
3
+ import { a as n } from "./hooks-D6XlXHf4.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-B3k6Se4_.mjs";
2
+ import { f as o } from "./hooks-D6XlXHf4.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.1.3-alpha.mm0",
3
+ "version": "7.1.3-alpha.mm1",
4
4
  "description": "Library containing experience widgets",
5
5
  "author": "MX",
6
6
  "license": "MIT",