@mx-cartographer/experiences 7.1.3-alpha.mm1 → 7.1.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 (61) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/{Account-DKy2na__.mjs → Account-8IUM_CLv.mjs} +1 -1
  3. package/dist/{AccountDetailsContent-CCOCsdoL.mjs → AccountDetailsContent-CuZSSAEc.mjs} +8 -8
  4. package/dist/{AccountDetailsHeader-Ca9SPAjA.mjs → AccountDetailsHeader-BZBsIKdF.mjs} +6 -6
  5. package/dist/{AccountFields-DDAr5SEq.mjs → AccountFields-BD_0GT68.mjs} +2 -2
  6. package/dist/{AccountListItem-CMes1Q7Z.mjs → AccountListItem-CllIBCao.mjs} +4 -4
  7. package/dist/{AccountStore-DYOG9MYj.mjs → AccountStore-BL0FE1QL.mjs} +53 -45
  8. package/dist/{Accounts-BNvFndCa.mjs → Accounts-Bvc9TJaO.mjs} +1 -1
  9. package/dist/{BudgetUtil-B2ZXyw-g.mjs → BudgetUtil-psfk-Amb.mjs} +1 -1
  10. package/dist/{CategorySelectorDrawer-DUe4lH5-.mjs → CategorySelectorDrawer-BmenK5bu.mjs} +1 -1
  11. package/dist/{ConnectDrawer-CHG5Lv_B.mjs → ConnectDrawer-CPTXh70j.mjs} +8 -8
  12. package/dist/{ConnectionsDrawer-BeB6ab8V.mjs → ConnectionsDrawer-Dkb4vBmt.mjs} +2 -2
  13. package/dist/{CurrencyInput-CsCy7uaS.mjs → CurrencyInput-C4xNRL2W.mjs} +1 -1
  14. package/dist/{DebtsStore-BblTVTMD.mjs → DebtsStore-D4grpB4m.mjs} +1 -1
  15. package/dist/{ExportCsvAction-sX8Rg4Ov.mjs → ExportCsvAction-CBJAfyAw.mjs} +3 -3
  16. package/dist/{GoalStore-CSsU4LR2.mjs → GoalStore-B5MZzPLZ.mjs} +2 -2
  17. package/dist/{Help-B6dIcujh.mjs → Help-CzBAsKA2.mjs} +1 -1
  18. package/dist/{LineChart-D4GI7nVh.mjs → LineChart-B35qvXik.mjs} +1 -1
  19. package/dist/{ListItemAction-DHa3KJPs.mjs → ListItemAction-DSrYDGAP.mjs} +1 -1
  20. package/dist/{ManageIncome-DqG75uQd.mjs → ManageIncome-DUuT-yMV.mjs} +34 -34
  21. package/dist/{MicroWidgetContainer-DpeqN9n3.mjs → MicroWidgetContainer-C4QQHfD7.mjs} +1 -1
  22. package/dist/{MiniWidgetContainer-D0gfmbaF.mjs → MiniWidgetContainer-DTQdRK-3.mjs} +1 -1
  23. package/dist/{NetWorthStore-BbA7H83o.mjs → NetWorthStore-Do1Gk8Te.mjs} +2 -2
  24. package/dist/{NotificationSettings-BRm_EJZV.mjs → NotificationSettings-BuShgjn6.mjs} +3 -3
  25. package/dist/{OriginalBalanceAction-CAaVbVMO.mjs → OriginalBalanceAction-BsxcvNEF.mjs} +3 -3
  26. package/dist/{RecurringSettings-B9l_Axnd.mjs → RecurringSettings-BVOt46uV.mjs} +3 -3
  27. package/dist/{TransactionDetails-DPvvi4Iu.mjs → TransactionDetails-_cXLXTd3.mjs} +5 -5
  28. package/dist/{TransactionStore-CBrJOY0H.mjs → TransactionStore-B-Tq_YFE.mjs} +2 -2
  29. package/dist/{TrendsStore-DCYbpXPO.mjs → TrendsStore-ZZ8X36lJ.mjs} +1 -1
  30. package/dist/{User-BQUxBeZV.mjs → User-DaJAQ09j.mjs} +1 -1
  31. package/dist/{WidgetContainer-BMWagbIl.mjs → WidgetContainer-DtPnPQZY.mjs} +10 -10
  32. package/dist/accounts/index.es.js +13 -13
  33. package/dist/accounts/stores/AccountStore.d.ts +2 -0
  34. package/dist/analytics/index.es.js +2 -2
  35. package/dist/budgets/index.es.js +10 -10
  36. package/dist/cashflow/index.es.js +298 -296
  37. package/dist/categories/index.es.js +1 -1
  38. package/dist/common/context/GlobalDataProvider.d.ts +0 -1
  39. package/dist/common/context/hooks.d.ts +0 -3
  40. package/dist/common/context/index.d.ts +1 -1
  41. package/dist/common/index.es.js +49 -50
  42. package/dist/dashboard/index.es.js +77 -79
  43. package/dist/debts/index.es.js +9 -9
  44. package/dist/{exportTransactionsToCSV-7bVS7KXf.mjs → exportTransactionsToCSV-D8TTNrrE.mjs} +1 -1
  45. package/dist/finstrong/index.es.js +6 -6
  46. package/dist/goals/index.es.js +52 -52
  47. package/dist/help/index.es.js +3 -3
  48. package/dist/hooks-CE2TKk4a.mjs +74 -0
  49. package/dist/investments/index.es.js +3 -3
  50. package/dist/merchants/index.es.js +1 -1
  51. package/dist/networth/index.es.js +7 -7
  52. package/dist/notifications/index.es.js +2 -2
  53. package/dist/recurringtransactions/index.es.js +19 -19
  54. package/dist/settings/index.es.js +6 -6
  55. package/dist/spending/index.es.js +4 -4
  56. package/dist/transactions/index.es.js +13 -13
  57. package/dist/trends/index.es.js +449 -449
  58. package/dist/{useAccountDisplayName-BEorBm5u.mjs → useAccountDisplayName-BXGkZN5B.mjs} +2 -2
  59. package/dist/{useInsightsEnabled-DBpwEq10.mjs → useInsightsEnabled-DSnpkUq0.mjs} +1 -1
  60. package/package.json +1 -1
  61. package/dist/hooks-D6XlXHf4.mjs +0 -77
@@ -1,4 +1,4 @@
1
- import { b as o, C as a, a as t, u as C } from "../CategorySelectorDrawer-DUe4lH5-.mjs";
1
+ import { b as o, C as a, a as t, u as C } from "../CategorySelectorDrawer-BmenK5bu.mjs";
2
2
  import { C as g } from "../CategoryStore-BCcpI3oJ.mjs";
3
3
  export {
4
4
  o as CategoryRow,
@@ -4,7 +4,6 @@ export interface GlobalStoreContextTypes {
4
4
  children: React.ReactNode;
5
5
  onError: GlobalErrorHandler;
6
6
  onEvent: GlobalEventHandler;
7
- onLoad?: (widgetName: string) => void;
8
7
  onPageView: (pageViewEvent: string) => void;
9
8
  globalStore: GlobalStore;
10
9
  }
@@ -28,9 +28,6 @@ export declare const useError: () => {
28
28
  export declare const useEvent: () => {
29
29
  onEvent: import('..').GlobalEventHandler;
30
30
  };
31
- export declare const useLoad: () => {
32
- onLoad: ((widgetName: string) => void) | undefined;
33
- };
34
31
  export declare const usePageView: () => {
35
32
  onPageView: (pageViewEvent: string) => void;
36
33
  };
@@ -1,3 +1,3 @@
1
- export { useAccountStore, useAppConfig, useBudgetsStore, useCashflowStore, useCategoryStore, useDebtStore, useError, useEvent, useLoad, useFinstrongStore, useGlobalStore, useGlobalUiStore, useGlobalCopyStore, useGoalStore, useHelpStore, useHoldingStore, useMerchantStore, useNetWorthStore, useNotificationStore, usePageView, useRecurringTransactionsStore, useSettingsStore, useTransactionStore, useTrendsStore, useUserStore, useWidgetContainerProvider, } from './hooks';
1
+ export { useAccountStore, useAppConfig, useBudgetsStore, useCashflowStore, useCategoryStore, useDebtStore, useError, useEvent, useFinstrongStore, useGlobalStore, useGlobalUiStore, useGlobalCopyStore, useGoalStore, useHelpStore, useHoldingStore, useMerchantStore, useNetWorthStore, useNotificationStore, usePageView, useRecurringTransactionsStore, useSettingsStore, useTransactionStore, useTrendsStore, useUserStore, useWidgetContainerProvider, } from './hooks';
2
2
  export { GlobalDataContext, GlobalDataProvider } from './GlobalDataProvider';
3
3
  export { WidgetContainerContext, WidgetContainerProvider } from './WidgetContainerProvider';
@@ -6,73 +6,73 @@ import { C as et } from "../CategoryStore-BCcpI3oJ.mjs";
6
6
  import { a as ds } from "../CategoryStore-BCcpI3oJ.mjs";
7
7
  import { N as st } from "../NotificationStore-C6PH6MKm.mjs";
8
8
  import { a as us } from "../NotificationStore-C6PH6MKm.mjs";
9
- import { T as rt } from "../User-BQUxBeZV.mjs";
10
- import { C as gs, b as ps, L as ms, a as _s } from "../User-BQUxBeZV.mjs";
9
+ import { T as rt } from "../User-DaJAQ09j.mjs";
10
+ import { C as gs, b as ps, L as ms, a as _s } from "../User-DaJAQ09j.mjs";
11
11
  import { H as ot } from "../Help-DhcC-C05.mjs";
12
12
  import { E as ys } from "../Help-DhcC-C05.mjs";
13
- import { M as bs } from "../MicroWidgetContainer-DpeqN9n3.mjs";
14
- import { M as xs } from "../MiniWidgetContainer-D0gfmbaF.mjs";
15
- import { A as vs, D as Ds, W as As } from "../WidgetContainer-BMWagbIl.mjs";
16
- import { j as Ts, a as Bs, e as Is, n as Ns, A as Ms, f as ks, k as $s, d as Rs, m as Ps, E as Os, i as Us, N as Ls, h as Gs, P as Hs, o as Fs, S as Ws } from "../ConnectDrawer-CHG5Lv_B.mjs";
17
- import { C as Ys } from "../CurrencyInput-CsCy7uaS.mjs";
13
+ import { M as bs } from "../MicroWidgetContainer-C4QQHfD7.mjs";
14
+ import { M as xs } from "../MiniWidgetContainer-DTQdRK-3.mjs";
15
+ import { A as vs, D as Ds, W as As } from "../WidgetContainer-DtPnPQZY.mjs";
16
+ import { k as Ts, a as Bs, e as Is, h as Ns, A as Ms, f as ks, l as $s, d as Rs, n as Ps, E as Os, j as Us, N as Ls, i as Gs, P as Hs, o as Fs, S as Ws } from "../ConnectDrawer-CPTXh70j.mjs";
17
+ import { C as Ys } from "../CurrencyInput-C4xNRL2W.mjs";
18
18
  import { L as zs } from "../Loader-DUaFpDGv.mjs";
19
19
  import { R as js } from "../ResponsiveButton-DZFp78fJ.mjs";
20
20
  import { S as Vs } from "../SearchBox-B2_zLv8-.mjs";
21
- import { T as at } from "../TransactionStore-CBrJOY0H.mjs";
22
- import { S as Js } from "../TransactionStore-CBrJOY0H.mjs";
21
+ import { T as at } from "../TransactionStore-B-Tq_YFE.mjs";
22
+ import { S as Js } from "../TransactionStore-B-Tq_YFE.mjs";
23
23
  import { T as er } from "../TabContentContainer-j01JYR_7.mjs";
24
24
  import { I as rr } from "../IconBacking-B9oC6uL2.mjs";
25
25
  import { D as ar, F as nr, a as ir, c as cr, R as dr, S as lr } from "../RecurringTransactions-ej39mgA6.mjs";
26
26
  import { C as nt } from "../CashflowStore-D9Dpuz7X.mjs";
27
27
  import { I as hr } from "../CashflowStore-D9Dpuz7X.mjs";
28
- import { d as it } from "../GoalStore-CSsU4LR2.mjs";
29
- import { C as pr, G as mr, M as _r, T as fr } from "../GoalStore-CSsU4LR2.mjs";
28
+ import { d as it } from "../GoalStore-B5MZzPLZ.mjs";
29
+ import { C as pr, G as mr, M as _r, T as fr } from "../GoalStore-B5MZzPLZ.mjs";
30
30
  import { C as Sr } from "../CurrencyText-kyC1aseI.mjs";
31
31
  import { E as wr } from "../EmptyState-DA_lfRBv.mjs";
32
- import { L as Cr } from "../ListItemAction-DHa3KJPs.mjs";
33
- import { T as ct } from "../TrendsStore-DCYbpXPO.mjs";
34
- import { L as Dr, S as Ar } from "../TrendsStore-DCYbpXPO.mjs";
32
+ import { L as Cr } from "../ListItemAction-DSrYDGAP.mjs";
33
+ import { T as ct } from "../TrendsStore-ZZ8X36lJ.mjs";
34
+ import { L as Dr, S as Ar } from "../TrendsStore-ZZ8X36lJ.mjs";
35
35
  import { A as Tr, B as Br, I as Ir, N as Nr, T as Mr, a as kr } from "../ToggleListItem-r0Kx56wF.mjs";
36
36
  import { jsxs as y, jsx as n } from "react/jsx-runtime";
37
37
  import dt, { useRef as lt, useEffect as ut } from "react";
38
38
  import { css as x, keyframes as ht } from "@mxenabled/cssinjs";
39
39
  import { useTokens as C, Text as B } from "@mxenabled/mxui";
40
40
  import { D as Rr } from "../Donut-1UMNcG67.mjs";
41
- import { L as Or } from "../LineChart-D4GI7nVh.mjs";
41
+ import { L as Or } from "../LineChart-B35qvXik.mjs";
42
42
  import { S as Lr } from "../StatusBar-BK_uYHAB.mjs";
43
43
  import { D as Hr, a as Fr, O as Wr, b as qr, f as Yr } from "../Dialog-CWW597AF.mjs";
44
44
  import { D as gt, a as pt } from "../SingleSegmentDonut-BgbLgwHi.mjs";
45
45
  import { S as zr } from "../SingleSegmentDonut-BgbLgwHi.mjs";
46
46
  import { D as jr } from "../Drawer-kEE73B87.mjs";
47
- import { I as Vr, P as Zr, S as Jr } from "../Account-DKy2na__.mjs";
47
+ import { I as Vr, P as Zr, S as Jr } from "../Account-8IUM_CLv.mjs";
48
48
  import { b as E } from "../Category-CevNQ03n.mjs";
49
49
  import { C as eo, c as so, a as ro, P as oo } from "../Category-CevNQ03n.mjs";
50
50
  import { C as no, f as io, b as co, a as lo, g as uo, i as ho } from "../NumberFormatting-Buh7u8Oi.mjs";
51
51
  import { R as mt } from "../RecurringTransactionsStore-DrzS1LmF.mjs";
52
52
  import { S as po, T as mo } from "../RecurringTransactionsStore-DrzS1LmF.mjs";
53
- import { G as fo, C as yo, D as So, W as bo, d as wo, a as xo, i as Co, v as vo, m as Do, y as Ao, z as Eo, g as To, x as Bo, u as Io, f as No, b as Mo, l as ko, A as $o, t as Ro, n as Po, c as Oo, r as Uo, o as Lo, B as Go, j as Ho, s as Fo, h as Wo, w as qo, p as Yo, q as Qo } from "../hooks-D6XlXHf4.mjs";
54
- import { u as Xo } from "../useAccountDisplayName-BEorBm5u.mjs";
55
- import { u as Ko } from "../useInsightsEnabled-DBpwEq10.mjs";
56
- import { u as Zo } from "../useScreenSize-B6JyS_Lj.mjs";
53
+ import { G as fo, B as yo, C as So, W as bo, d as wo, a as xo, i as Co, t as vo, m as Do, x as Ao, y as Eo, g as To, w as Bo, u as Io, f as No, b as Mo, l as ko, z as $o, s as Ro, c as Po, q as Oo, n as Uo, A as Lo, j as Go, r as Ho, h as Fo, v as Wo, o as qo, p as Yo } from "../hooks-CE2TKk4a.mjs";
54
+ import { u as zo } from "../useAccountDisplayName-BXGkZN5B.mjs";
55
+ import { u as jo } from "../useInsightsEnabled-DSnpkUq0.mjs";
56
+ import { u as Vo } from "../useScreenSize-B6JyS_Lj.mjs";
57
57
  import { makeAutoObservable as f, runInAction as p, reaction as _t } from "mobx";
58
- import { a as ft } from "../AccountStore-DYOG9MYj.mjs";
58
+ import { a as ft } from "../AccountStore-BL0FE1QL.mjs";
59
59
  import yt from "posthog-js";
60
60
  import { B as St } from "../BeatStore-IBnXd4YK.mjs";
61
61
  import { endOfMonth as Z } from "date-fns/endOfMonth";
62
62
  import { startOfMonth as J } from "date-fns/startOfMonth";
63
63
  import { startOfToday as U } from "date-fns/startOfToday";
64
- import { f as bt, a as wt, b as L } from "../BudgetUtil-B2ZXyw-g.mjs";
65
- import { g as ta, e as ea, c as sa, d as ra, i as oa } from "../BudgetUtil-B2ZXyw-g.mjs";
66
- import { a as xt } from "../DebtsStore-BblTVTMD.mjs";
64
+ import { f as bt, a as wt, b as L } from "../BudgetUtil-psfk-Amb.mjs";
65
+ import { g as Jo, e as ta, c as ea, d as sa, i as ra } from "../BudgetUtil-psfk-Amb.mjs";
66
+ import { a as xt } from "../DebtsStore-D4grpB4m.mjs";
67
67
  import { a as Ct } from "../FinstrongStore-F2c607dj.mjs";
68
68
  import { A as vt, m as Dt, a as At, b as Et } from "../InvestmentUtil-jOyOgzIB.mjs";
69
69
  import { M as Tt } from "../MerchantStore-DrFvsUyy.mjs";
70
- import { N as Bt } from "../NetWorthStore-BbA7H83o.mjs";
70
+ import { N as Bt } from "../NetWorthStore-Do1Gk8Te.mjs";
71
71
  import { a as It } from "../SettingsStore-BcgS_Ohv.mjs";
72
72
  import { addMonths as Nt } from "date-fns/addMonths";
73
73
  import { getMonth as T } from "date-fns/getMonth";
74
- import { i as na } from "../DateUtil-BcuH7ErC.mjs";
75
- import { b as ca, a as da, g as la } from "../Localization-2MODESHW.mjs";
74
+ import { i as aa } from "../DateUtil-BcuH7ErC.mjs";
75
+ import { b as ia, a as ca, g as da } from "../Localization-2MODESHW.mjs";
76
76
  import { alpha as Mt, lighten as G, darken as H } from "@mui/material";
77
77
  var kt = /* @__PURE__ */ ((s) => (s[s.Unknown = 0] = "Unknown", s[s.EveryWeek = 1] = "EveryWeek", s[s.EveryOtherWeek = 2] = "EveryOtherWeek", s[s.EveryMonth = 3] = "EveryMonth", s[s.EveryOtherMonth = 4] = "EveryOtherMonth", s[s.EveryQuarter = 5] = "EveryQuarter", s[s.EveryOtherQuarter = 6] = "EveryOtherQuarter", s[s.EveryYear = 7] = "EveryYear", s))(kt || {});
78
78
  const Ye = [
@@ -1340,23 +1340,23 @@ export {
1340
1340
  So as WidgetContainerContext,
1341
1341
  bo as WidgetContainerProvider,
1342
1342
  rs as analyticsSession,
1343
- ca as buildDynamicCopy,
1344
- da as buildPluralCopy,
1343
+ ia as buildDynamicCopy,
1344
+ ca as buildPluralCopy,
1345
1345
  io as formatCurrency,
1346
1346
  Yr as formatDate,
1347
1347
  co as formatOrdinal,
1348
1348
  lo as formatPercentage,
1349
- na as fromTimestampToMonthYear,
1350
- ta as getCategory,
1351
- ea as getCategoryTotalsByParent,
1349
+ aa as fromTimestampToMonthYear,
1350
+ Jo as getCategory,
1351
+ ta as getCategoryTotalsByParent,
1352
1352
  ze as getClientTheme,
1353
1353
  uo as getCurrencyCodes,
1354
- sa as getDetailedCategory,
1355
- ra as getDetailedSubCategory,
1356
- la as getLocale,
1357
- oa as isIncome,
1354
+ ea as getDetailedCategory,
1355
+ sa as getDetailedSubCategory,
1356
+ da as getLocale,
1357
+ ra as isIncome,
1358
1358
  ho as isValidNumber,
1359
- Xo as useAccountDisplayName,
1359
+ zo as useAccountDisplayName,
1360
1360
  wo as useAccountStore,
1361
1361
  xo as useAppConfig,
1362
1362
  Co as useBudgetsStore,
@@ -1374,18 +1374,17 @@ export {
1374
1374
  ko as useGoalStore,
1375
1375
  $o as useHelpStore,
1376
1376
  Ro as useHoldingStore,
1377
- Ko as useInsightsEnabled,
1378
- Po as useLoad,
1379
- Oo as useMerchantStore,
1380
- Uo as useNetWorthStore,
1381
- Lo as useNotificationStore,
1382
- Go as usePageView,
1377
+ jo as useInsightsEnabled,
1378
+ Po as useMerchantStore,
1379
+ Oo as useNetWorthStore,
1380
+ Uo as useNotificationStore,
1381
+ Lo as usePageView,
1383
1382
  Ke as usePrevious,
1384
- Ho as useRecurringTransactionsStore,
1385
- Zo as useScreenSize,
1386
- Fo as useSettingsStore,
1387
- Wo as useTransactionStore,
1388
- qo as useTrendsStore,
1389
- Yo as useUserStore,
1390
- Qo as useWidgetContainerProvider
1383
+ Go as useRecurringTransactionsStore,
1384
+ Vo as useScreenSize,
1385
+ Ho as useSettingsStore,
1386
+ Fo as useTransactionStore,
1387
+ Wo as useTrendsStore,
1388
+ qo as useUserStore,
1389
+ Yo as useWidgetContainerProvider
1391
1390
  };
@@ -1,29 +1,29 @@
1
- import { jsx as t, jsxs as s } from "react/jsx-runtime";
1
+ import { jsx as t, jsxs as a } from "react/jsx-runtime";
2
2
  import r from "react";
3
3
  import { observer as _ } from "mobx-react-lite";
4
4
  import h from "@mui/material/Unstable_Grid2";
5
5
  import u from "@mui/material/Skeleton";
6
- import l from "@mui/material/Stack";
7
- import D from "@mui/material/styles/useTheme";
8
- import { f as A, u as v, d as C, b as M, a as k, n as B } from "../hooks-D6XlXHf4.mjs";
9
- import G from "@mui/material/Paper";
10
- import { Icon as S, H1 as F, P as W } from "@mxenabled/mxui";
11
- import { useMediaQuery as I } from "@mui/system";
12
- import T from "@mui/material/Box";
13
- import $ from "@mui/material/Button";
14
- import j from "@mui/material/IconButton";
6
+ import s from "@mui/material/Stack";
7
+ import k from "@mui/material/styles/useTheme";
8
+ import { f as A, u as v, d as C, b as M, a as B } from "../hooks-CE2TKk4a.mjs";
9
+ import D from "@mui/material/Paper";
10
+ import { Icon as S, H1 as G, P as F } from "@mxenabled/mxui";
11
+ import { useMediaQuery as W } from "@mui/system";
12
+ import I from "@mui/material/Box";
13
+ import T from "@mui/material/Button";
14
+ import $ from "@mui/material/IconButton";
15
15
  import H from "@mui/material/Tooltip";
16
16
  import R from "@mui/material/useMediaQuery";
17
- import { j as E, k as Q } from "../ConnectDrawer-CHG5Lv_B.mjs";
17
+ import { k as j, l as Q } from "../ConnectDrawer-CPTXh70j.mjs";
18
18
  import { u as z } from "../useScreenSize-B6JyS_Lj.mjs";
19
- const P = _(() => {
20
- const e = D(), {
21
- appDataStore: { banner: o, loadBanner: i, user: d }
19
+ const E = _(() => {
20
+ const e = k(), {
21
+ appDataStore: { banner: c, loadBanner: i, user: d }
22
22
  } = A();
23
23
  return r.useEffect(() => {
24
24
  i().finally();
25
- }, [d]), o?.image_url ? /* @__PURE__ */ t(
26
- l,
25
+ }, [d]), c?.image_url ? /* @__PURE__ */ t(
26
+ s,
27
27
  {
28
28
  sx: {
29
29
  alignItems: "center",
@@ -33,7 +33,7 @@ const P = _(() => {
33
33
  children: /* @__PURE__ */ t(
34
34
  "a",
35
35
  {
36
- href: o?.redirect_url,
36
+ href: c?.redirect_url,
37
37
  rel: "noreferrer",
38
38
  style: {
39
39
  width: "100%"
@@ -43,7 +43,7 @@ const P = _(() => {
43
43
  "img",
44
44
  {
45
45
  alt: "",
46
- src: o.image_url,
46
+ src: c.image_url,
47
47
  style: {
48
48
  width: "100%",
49
49
  height: "auto",
@@ -55,25 +55,25 @@ const P = _(() => {
55
55
  )
56
56
  }
57
57
  ) : null;
58
- }), N = ({ handleConnectClick: e }) => {
59
- const { common: o } = v(), i = R("(max-width: 700px)");
60
- return /* @__PURE__ */ t(T, { my: 4, children: i ? /* @__PURE__ */ t(H, { id: "add-accounts", placement: "bottom", title: o.add_accounts, children: /* @__PURE__ */ t(
61
- j,
58
+ }), P = ({ handleConnectClick: e }) => {
59
+ const { common: c } = v(), i = R("(max-width: 700px)");
60
+ return /* @__PURE__ */ t(I, { my: 4, children: i ? /* @__PURE__ */ t(H, { id: "add-accounts", placement: "bottom", title: c.add_accounts, children: /* @__PURE__ */ t(
61
+ $,
62
62
  {
63
63
  "aria-controls": "add_accounts",
64
64
  "aria-describedby": "add-accounts",
65
65
  "aria-haspopup": !0,
66
- "aria-label": o.add_accounts,
66
+ "aria-label": c.add_accounts,
67
67
  color: "primary",
68
68
  onClick: e,
69
69
  children: /* @__PURE__ */ t(S, { name: "add", size: 24 })
70
70
  }
71
71
  ) }) : /* @__PURE__ */ t(
72
- $,
72
+ T,
73
73
  {
74
74
  "aria-controls": "add_accounts",
75
75
  "aria-haspopup": !0,
76
- "aria-label": o.add_accounts,
76
+ "aria-label": c.add_accounts,
77
77
  onClick: e,
78
78
  startIcon: /* @__PURE__ */ t(S, { name: "add", size: 24 }),
79
79
  sx: {
@@ -82,44 +82,44 @@ const P = _(() => {
82
82
  minWidth: "max-content"
83
83
  },
84
84
  variant: "text",
85
- children: o.add_accounts
85
+ children: c.add_accounts
86
86
  }
87
87
  ) });
88
- }, O = _(N), U = () => {
89
- const [e, o] = r.useState(!1), i = I("(max-width:320px)"), { visibleAccounts: d } = C(), { selectedAccountGuids: g, setSelectedAccountGuids: b } = M(), { common: n, connect: x } = v(), { config: a } = k(), { isMobile: w } = z(), y = {
88
+ }, N = _(P), O = () => {
89
+ const [e, c] = r.useState(!1), i = W("(max-width:320px)"), { visibleAccounts: d } = C(), { selectedAccountGuids: g, setSelectedAccountGuids: b } = M(), { common: o, connect: l } = v(), { config: m } = B(), { isMobile: x } = z(), n = {
90
90
  accountFilterOptionsCopy: {
91
- accountTypeAccounts: n.account_filter.account_type_accounts,
92
- cancelButton: n.cancel_button,
93
- filterButton: n.filter_button,
94
- filterButtonAria: n.account_filter.filter_button_generic_aria,
95
- selectAllAccounts: n.account_filter.select_all_accounts,
96
- toggleAccountTypeAccounts: n.account_filter.toggle_account_type_accounts,
97
- unselectAllAccounts: n.account_filter.unselect_all_accounts,
98
- zeroStateButton: n.account_filter.zero_state_button,
99
- zeroStateDescription: n.account_filter.zero_state_description,
100
- zeroStateTitle: n.account_filter.zero_state_title
91
+ accountTypeAccounts: o.account_filter.account_type_accounts,
92
+ cancelButton: o.cancel_button,
93
+ filterButton: o.filter_button,
94
+ filterButtonAria: o.account_filter.filter_button_generic_aria,
95
+ selectAllAccounts: o.account_filter.select_all_accounts,
96
+ toggleAccountTypeAccounts: o.account_filter.toggle_account_type_accounts,
97
+ unselectAllAccounts: o.account_filter.unselect_all_accounts,
98
+ zeroStateButton: o.account_filter.zero_state_button,
99
+ zeroStateDescription: o.account_filter.zero_state_description,
100
+ zeroStateTitle: o.account_filter.zero_state_title
101
101
  },
102
- title: n.filter_button
103
- }, c = () => {
102
+ title: o.filter_button
103
+ }, w = () => {
104
104
  const p = (/* @__PURE__ */ new Date()).getHours();
105
- return p > 1 && p < 12 ? n.good_morning : p >= 12 && p < 18 ? n.good_afternoon : n.good_evening;
105
+ return p > 1 && p < 12 ? o.good_morning : p >= 12 && p < 18 ? o.good_afternoon : o.good_evening;
106
106
  };
107
- return /* @__PURE__ */ s(r.Fragment, { children: [
108
- /* @__PURE__ */ t(G, { sx: { gap: 12, mb: w ? 24 : 0, p: 24 }, children: /* @__PURE__ */ s(l, { alignItems: "center", flexDirection: "row", justifyContent: "space-between", children: [
109
- /* @__PURE__ */ s(l, { children: [
110
- /* @__PURE__ */ t(F, { variant: i ? "H2" : "H1", children: c() }),
111
- /* @__PURE__ */ t(W, { color: "text.secondary", children: n.heres_your_spending_overview })
107
+ return /* @__PURE__ */ a(r.Fragment, { children: [
108
+ /* @__PURE__ */ t(D, { sx: { gap: 12, mb: x ? 24 : 0, p: 24 }, children: /* @__PURE__ */ a(s, { alignItems: "center", flexDirection: "row", justifyContent: "space-between", children: [
109
+ /* @__PURE__ */ a(s, { children: [
110
+ /* @__PURE__ */ t(G, { variant: i ? "H2" : "H1", children: w() }),
111
+ /* @__PURE__ */ t(F, { color: "text.secondary", children: o.heres_your_spending_overview })
112
112
  ] }),
113
- /* @__PURE__ */ s(l, { flexDirection: "row", children: [
114
- a.show_connections_widget_in_master && /* @__PURE__ */ t(O, { handleConnectClick: () => o(!0) }),
113
+ /* @__PURE__ */ a(s, { flexDirection: "row", children: [
114
+ m.show_connections_widget_in_master && /* @__PURE__ */ t(N, { handleConnectClick: () => c(!0) }),
115
115
  /* @__PURE__ */ t(
116
- E,
116
+ j,
117
117
  {
118
118
  accounts: d,
119
- copy: y,
120
- onConnectAccountClick: a.show_connections_widget_in_master ? () => o(!0) : void 0,
121
- onFilterClick: (m) => {
122
- b(m);
119
+ copy: n,
120
+ onConnectAccountClick: m.show_connections_widget_in_master ? () => c(!0) : void 0,
121
+ onFilterClick: (y) => {
122
+ b(y);
123
123
  },
124
124
  selectedAccountGuids: g,
125
125
  showAccountNumbers: !1,
@@ -134,50 +134,48 @@ const P = _(() => {
134
134
  e && /* @__PURE__ */ t(
135
135
  Q,
136
136
  {
137
- onClose: () => o(!1),
137
+ onClose: () => c(!1),
138
138
  showConnectWidget: e,
139
- title: x.mini_title
139
+ title: l.mini_title
140
140
  }
141
141
  )
142
142
  ] });
143
- }, q = _(U);
143
+ }, U = _(O);
144
144
  var f = /* @__PURE__ */ ((e) => (e[e.Main = 0] = "Main", e[e.RightSide = 1] = "RightSide", e[e.Disabled = 2] = "Disabled", e))(f || {});
145
- const J = ({ widgets: e, isLoading: o }) => {
146
- const { isDesktop: i, isMobile: d } = z(), { copyStore: g } = A(), { setSelectedAccounts: b } = M(), { visibleAccounts: n } = C(), { onLoad: x } = B();
145
+ const q = ({ widgets: e, isLoading: c }) => {
146
+ const { isDesktop: i, isMobile: d } = z(), { copyStore: g } = A(), { setSelectedAccounts: b } = M(), { visibleAccounts: o } = C();
147
147
  r.useEffect(() => {
148
- b(n);
149
- }, [n]), r.useEffect(() => {
150
- o || x?.("Dashboard");
148
+ b(o);
151
149
  }, [o]);
152
- const a = r.useMemo(
153
- () => e.filter((c) => c.location !== f.Disabled).sort((c, m) => c.index - m.index),
150
+ const l = r.useMemo(
151
+ () => e.filter((n) => n.location !== f.Disabled).sort((n, w) => n.index - w.index),
154
152
  [e]
155
- ), w = r.useMemo(
156
- () => a.filter((c) => c.location === f.Main),
157
- [a]
158
- ), y = r.useMemo(
159
- () => a.filter((c) => c.location === f.RightSide),
160
- [a]
153
+ ), m = r.useMemo(
154
+ () => l.filter((n) => n.location === f.Main),
155
+ [l]
156
+ ), x = r.useMemo(
157
+ () => l.filter((n) => n.location === f.RightSide),
158
+ [l]
161
159
  );
162
- return /* @__PURE__ */ s(h, { container: !0, spacing: d ? 0 : 24, sx: { overflow: "scroll" }, children: [
163
- /* @__PURE__ */ t(h, { xs: 12, children: g.isInitialized && /* @__PURE__ */ t(q, {}) }),
164
- /* @__PURE__ */ s(h, { lg: 8, xs: 12, children: [
165
- /* @__PURE__ */ t(P, {}),
166
- o && /* @__PURE__ */ s(l, { direction: "column", spacing: 24, children: [
160
+ return /* @__PURE__ */ a(h, { container: !0, spacing: d ? 0 : 24, sx: { overflow: "scroll" }, children: [
161
+ /* @__PURE__ */ t(h, { xs: 12, children: g.isInitialized && /* @__PURE__ */ t(U, {}) }),
162
+ /* @__PURE__ */ a(h, { lg: 8, xs: 12, children: [
163
+ /* @__PURE__ */ t(E, {}),
164
+ c && /* @__PURE__ */ a(s, { direction: "column", spacing: 24, children: [
167
165
  /* @__PURE__ */ t(u, { height: 100, variant: "rounded", width: "100%" }),
168
166
  /* @__PURE__ */ t(u, { height: 300, variant: "rounded", width: "100%" }),
169
167
  /* @__PURE__ */ t(u, { height: 300, variant: "rounded", width: "100%" })
170
168
  ] }),
171
- !o && /* @__PURE__ */ t(l, { direction: "column", spacing: 24, children: i ? w.map((c) => /* @__PURE__ */ t(r.Fragment, { children: c.component }, c.index)) : a.map((c) => /* @__PURE__ */ t(r.Fragment, { children: c.component }, c.index)) })
169
+ !c && /* @__PURE__ */ t(s, { direction: "column", spacing: 24, children: i ? m.map((n) => /* @__PURE__ */ t(r.Fragment, { children: n.component }, n.index)) : l.map((n) => /* @__PURE__ */ t(r.Fragment, { children: n.component }, n.index)) })
172
170
  ] }),
173
- i && /* @__PURE__ */ t(h, { lg: 4, children: o ? /* @__PURE__ */ s(l, { direction: "column", spacing: 24, children: [
171
+ i && /* @__PURE__ */ t(h, { lg: 4, children: c ? /* @__PURE__ */ a(s, { direction: "column", spacing: 24, children: [
174
172
  /* @__PURE__ */ t(u, { height: 200, variant: "rounded", width: "100%" }),
175
173
  /* @__PURE__ */ t(u, { height: 100, variant: "rounded", width: "100%" }),
176
174
  /* @__PURE__ */ t(u, { height: 300, variant: "rounded", width: "100%" })
177
- ] }) : /* @__PURE__ */ t(l, { direction: "column", spacing: 24, children: y.map((c) => /* @__PURE__ */ t(r.Fragment, { children: c.component }, c.index)) }) })
175
+ ] }) : /* @__PURE__ */ t(s, { direction: "column", spacing: 24, children: x.map((n) => /* @__PURE__ */ t(r.Fragment, { children: n.component }, n.index)) }) })
178
176
  ] });
179
- }, mt = _(J);
177
+ }, dt = _(q);
180
178
  export {
181
- mt as Dashboard,
179
+ dt as Dashboard,
182
180
  f as DashboardLocation
183
181
  };
@@ -8,30 +8,30 @@ import { intervalToDuration as Te, formatDuration as Ae } from "date-fns";
8
8
  import { addMonths as le } from "date-fns/addMonths";
9
9
  import { fromUnixTime as se } from "date-fns/fromUnixTime";
10
10
  import { getUnixTime as ce } from "date-fns/getUnixTime";
11
- import { D as B, M as Ee, I as Ie } from "../DebtsStore-BblTVTMD.mjs";
12
- import { a as Fr } from "../DebtsStore-BblTVTMD.mjs";
11
+ import { D as B, M as Ee, I as Ie } from "../DebtsStore-D4grpB4m.mjs";
12
+ import { a as Fr } from "../DebtsStore-D4grpB4m.mjs";
13
13
  import { f as M, a as Be } from "../NumberFormatting-Buh7u8Oi.mjs";
14
14
  import { f as K, D as U } from "../Dialog-CWW597AF.mjs";
15
- import { G as Me, y as q, u as C, l as V, g as k, d as Z, b as Pe } from "../hooks-D6XlXHf4.mjs";
15
+ import { G as Me, x as q, u as C, l as V, g as k, d as Z, b as Pe } from "../hooks-CE2TKk4a.mjs";
16
16
  import { u as Y } from "../useScreenSize-B6JyS_Lj.mjs";
17
17
  import { D as te } from "../Drawer-kEE73B87.mjs";
18
18
  import { b as A } from "../Localization-2MODESHW.mjs";
19
- import { A as ke, u as Ne } from "../AccountDetailsHeader-Ca9SPAjA.mjs";
19
+ import { A as ke, u as Ne } from "../AccountDetailsHeader-BZBsIKdF.mjs";
20
20
  import Fe from "@mui/material/Card";
21
21
  import Re from "@mui/material/CardContent";
22
22
  import Le from "@mui/material/CardHeader";
23
23
  import { LineChart as $e } from "@mui/x-charts";
24
24
  import re from "@mui/material/Box";
25
25
  import { useTheme as He } from "@mui/material/styles";
26
- import { A as T, W as Oe } from "../WidgetContainer-BMWagbIl.mjs";
26
+ import { A as T, W as Oe } from "../WidgetContainer-DtPnPQZY.mjs";
27
27
  import de from "@mui/material/Tab";
28
28
  import We from "@mui/material/Tabs";
29
29
  import _e from "@mui/material/List";
30
30
  import j from "@mui/material/Divider";
31
- import { M as Ge, I as je, O as ze } from "../OriginalBalanceAction-CAaVbVMO.mjs";
31
+ import { M as Ge, I as je, O as ze } from "../OriginalBalanceAction-BsxcvNEF.mjs";
32
32
  import Xe from "@mui/material/TextField";
33
- import { L as J } from "../ListItemAction-DHa3KJPs.mjs";
34
- import { C as ae } from "../CurrencyInput-CsCy7uaS.mjs";
33
+ import { L as J } from "../ListItemAction-DSrYDGAP.mjs";
34
+ import { C as ae } from "../CurrencyInput-C4xNRL2W.mjs";
35
35
  import pe from "@mui/material/Alert";
36
36
  import me from "@mui/material/AlertTitle";
37
37
  import he from "@mui/material/Paper";
@@ -39,7 +39,7 @@ import { Error as Ve, CheckCircle as ye } from "@mxenabled/mx-icons";
39
39
  import { T as ue } from "../TabContentContainer-j01JYR_7.mjs";
40
40
  import { DataGridPro as Ye } from "@mui/x-data-grid-pro";
41
41
  import { H as z } from "../HeaderCell-DjuifqHJ.mjs";
42
- import { f as Ke } from "../ConnectDrawer-CHG5Lv_B.mjs";
42
+ import { f as Ke } from "../ConnectDrawer-CPTXh70j.mjs";
43
43
  import fe from "@mui/material/Button";
44
44
  import Ue from "@mui/material/IconButton";
45
45
  import qe from "@mui/material/ListItem";
@@ -1,7 +1,7 @@
1
1
  import { fromUnixTime as d } from "date-fns/fromUnixTime";
2
2
  import { c as u } from "./Category-CevNQ03n.mjs";
3
3
  import { f as p, D as m } from "./Dialog-CWW597AF.mjs";
4
- import { T as g } from "./User-BQUxBeZV.mjs";
4
+ import { T as g } from "./User-DaJAQ09j.mjs";
5
5
  function f(e) {
6
6
  return new Set(
7
7
  e.filter((n) => n.parent_guid !== void 0).map((n) => n.parent_guid)
@@ -17,20 +17,20 @@ import Ne from "@mui/material/ListItemText";
17
17
  import { b } from "../Localization-2MODESHW.mjs";
18
18
  import * as ce from "d3";
19
19
  import { observer as I } from "mobx-react-lite";
20
- import { u as S, b as z, x as $, p as Y, d as fe, i as ye, m as Ke } from "../hooks-D6XlXHf4.mjs";
20
+ import { u as S, b as z, w as $, o as Y, d as fe, i as ye, m as Ke } from "../hooks-CE2TKk4a.mjs";
21
21
  import { L as N } from "../Loader-DUaFpDGv.mjs";
22
22
  import { F as No, a as Ko } from "../FinstrongStore-F2c607dj.mjs";
23
23
  import q from "@mui/material/Button";
24
24
  import J from "@mui/material/Card";
25
- import { L as be } from "../LineChart-D4GI7nVh.mjs";
26
- import { k as xe } from "../ConnectDrawer-CHG5Lv_B.mjs";
25
+ import { L as be } from "../LineChart-B35qvXik.mjs";
26
+ import { l as xe } from "../ConnectDrawer-CPTXh70j.mjs";
27
27
  import Xe from "@mui/material/Accordion";
28
28
  import je from "@mui/material/AccordionDetails";
29
29
  import Ue from "@mui/material/AccordionSummary";
30
30
  import Ve from "@mui/material/CardHeader";
31
31
  import { u as Ye } from "../useDimensions-27p2evRx.mjs";
32
- import { C as qe } from "../ConnectionsDrawer-BeB6ab8V.mjs";
33
- import { R as Je } from "../RecurringSettings-B9l_Axnd.mjs";
32
+ import { C as qe } from "../ConnectionsDrawer-Dkb4vBmt.mjs";
33
+ import { R as Je } from "../RecurringSettings-BVOt46uV.mjs";
34
34
  import Qe from "@mui/material/TextField";
35
35
  import { u as Ce } from "../useScreenSize-B6JyS_Lj.mjs";
36
36
  import { a as Ze } from "../Dialog-CWW597AF.mjs";
@@ -48,7 +48,7 @@ import ct from "@mui/lab/TimelineConnector";
48
48
  import lt from "@mui/lab/TimelineContent";
49
49
  import dt from "@mui/lab/TimelineDot";
50
50
  import pt from "@mui/lab/TimelineSeparator";
51
- import { W as mt } from "../WidgetContainer-BMWagbIl.mjs";
51
+ import { W as mt } from "../WidgetContainer-DtPnPQZY.mjs";
52
52
  var A = /* @__PURE__ */ ((n) => (n.Connections = "connections", n.CreditScore = "credit_score", n.DateOfBirth = "date_of_birth", n.MonthlyIncome = "monthly_income", n))(A || {});
53
53
  const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor: "background.paper" }, children: /* @__PURE__ */ e(
54
54
  Be,