@mx-cartographer/experiences 7.4.6-alpha.mm2 → 7.4.7-alpha.mega1
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.
- package/CHANGELOG.md +12 -0
- package/dist/{Account-BQE_ANvF.mjs → Account-01wOyrH1.mjs} +1 -1
- package/dist/{AccountDetailsContent-C6LkHJuy.mjs → AccountDetailsContent-COMjOzwr.mjs} +8 -8
- package/dist/{AccountDetailsHeader-CCkHHK_n.mjs → AccountDetailsHeader-Cbi5G6fJ.mjs} +4 -4
- package/dist/{AccountFields-DdOw6d6w.mjs → AccountFields-Cd_nOWmf.mjs} +2 -2
- package/dist/{AccountListItem-CZhCiU7q.mjs → AccountListItem-DxY4cCF1.mjs} +4 -4
- package/dist/{AccountStore-kxFbaz-K.mjs → AccountStore-C1zMBzHq.mjs} +2 -2
- package/dist/{Accounts-D_768tYo.mjs → Accounts-D7QljYas.mjs} +1 -1
- package/dist/{BudgetUtil-C5fTz_GJ.mjs → BudgetUtil-Df2nII9u.mjs} +1 -1
- package/dist/{CategorySelectorDrawer-l3tOyiqD.mjs → CategorySelectorDrawer-DqJK_rrL.mjs} +1 -1
- package/dist/{ConnectDrawer-g2IXvoSS.mjs → ConnectDrawer-CuUj16NH.mjs} +1 -1
- package/dist/{ConnectionsDrawer-vSEOHrUC.mjs → ConnectionsDrawer-Bz4uwdFE.mjs} +6 -6
- package/dist/{CurrencyInput-BnaVaZBU.mjs → CurrencyInput-BFKcs-_K.mjs} +6 -6
- package/dist/{DebtsStore-CFk9t-Ky.mjs → DebtsStore-Bu8rRRSL.mjs} +1 -1
- package/dist/{Donut-oaQFlbit.mjs → Donut-Dmy3JTWd.mjs} +12 -12
- package/dist/{ExportCsvAction-DSi2a4NQ.mjs → ExportCsvAction-DzTrtPzk.mjs} +3 -3
- package/dist/{GoalStore-DxFUJRd4.mjs → GoalStore-CrNhjvNc.mjs} +2 -2
- package/dist/{Help-D1I72J-F.mjs → Help-BnPXM_N2.mjs} +1 -1
- package/dist/{LineChart-B7MftxPX.mjs → LineChart-bc1D9xBE.mjs} +1 -1
- package/dist/{ListItemAction-Dob72eoG.mjs → ListItemAction-uobBrm_a.mjs} +10 -10
- package/dist/{ManageIncome-DlAUFShc.mjs → ManageIncome-A69EUO5u.mjs} +4 -4
- package/dist/{MicroWidgetContainer-4zS7jJrn.mjs → MicroWidgetContainer-DEiRnYVa.mjs} +1 -1
- package/dist/{MiniWidgetContainer-Csioy5P7.mjs → MiniWidgetContainer-CmXpTylX.mjs} +1 -1
- package/dist/{NetWorthStore-B6sG1eiD.mjs → NetWorthStore-CpL_kqvx.mjs} +2 -2
- package/dist/{NotificationSettings-ByORHzRI.mjs → NotificationSettings-CNmJWVeI.mjs} +3 -3
- package/dist/{OriginalBalanceAction-BmSYWwSx.mjs → OriginalBalanceAction-DK8_LkPz.mjs} +3 -3
- package/dist/{RecurringSettings-CZvd4Wuv.mjs → RecurringSettings-B0uObPlD.mjs} +12 -12
- package/dist/{SpendingLegend-CbNAMdPH.mjs → SpendingLegend-Bf-wbJvb.mjs} +11 -11
- package/dist/{TransactionDetails-DnLXfvDL.mjs → TransactionDetails-COH0OKNG.mjs} +5 -5
- package/dist/{TransactionStore-BOiv_pDO.mjs → TransactionStore-Dz-G8Wd0.mjs} +2 -2
- package/dist/{User-BmdvAL7I.mjs → User-wXzDI4M8.mjs} +1 -1
- package/dist/{WidgetContainer-DR_iRKNU.mjs → WidgetContainer-6dsjtOVg.mjs} +2 -2
- package/dist/accounts/index.es.js +119 -121
- package/dist/analytics/index.es.js +2 -2
- package/dist/budgets/index.es.js +10 -10
- package/dist/cashflow/index.es.js +8 -8
- package/dist/categories/index.es.js +1 -1
- package/dist/common/components/charts/index.d.ts +0 -1
- package/dist/common/hooks/index.d.ts +0 -1
- package/dist/common/index.es.js +96 -100
- package/dist/dashboard/index.es.js +88 -90
- package/dist/debts/index.es.js +9 -9
- package/dist/{exportTransactionsToCSV-DoKUltKJ.mjs → exportTransactionsToCSV-Cz2t0lmA.mjs} +1 -1
- package/dist/finstrong/index.es.js +10 -10
- package/dist/goals/index.es.js +251 -249
- package/dist/help/index.es.js +5 -5
- package/dist/{hooks-DtrRa6Lb.mjs → hooks-C41HAxM5.mjs} +10 -10
- package/dist/investments/index.es.js +4 -4
- package/dist/merchants/index.es.js +1 -1
- package/dist/networth/index.es.js +173 -173
- package/dist/notifications/index.es.js +2 -2
- package/dist/recurringtransactions/index.es.js +8 -8
- package/dist/settings/index.es.js +6 -6
- package/dist/spending/index.es.js +7 -7
- package/dist/spending/utils/SpendingData.d.ts +2 -1
- package/dist/transactions/index.es.js +13 -13
- package/dist/trends/index.es.js +171 -170
- package/dist/useAccountDisplayName-CMMlIOXF.mjs +15 -0
- package/dist/{useInsightsEnabled-v_GGt72p.mjs → useInsightsEnabled-CNjP5cfR.mjs} +1 -1
- package/package.json +1 -1
- package/dist/common/hooks/useWidgetLoadTimer.d.ts +0 -24
- package/dist/useAccountDisplayName-BUtYhbqe.mjs +0 -15
- package/dist/useWidgetLoadTimer-CY26D0n1.mjs +0 -23
|
@@ -8,22 +8,22 @@ import D from "@mui/material/Divider";
|
|
|
8
8
|
import s from "@mui/material/Stack";
|
|
9
9
|
import ce from "@mui/material/styles/useTheme";
|
|
10
10
|
import { Text as u, P as k, Icon as j, InstitutionLogo as ye, H1 as me, H2 as Ye } from "@mxenabled/mxui";
|
|
11
|
-
import { G as Qe, v as ue,
|
|
11
|
+
import { G as Qe, v as ue, u as N, q as le, d as Ne, b as Y, j as P, g as ke, p as He, h as Fe, n as Ve, a as Ke } from "../hooks-C41HAxM5.mjs";
|
|
12
12
|
import { C as O } from "../CurrencyText-Dr0EZ7bp.mjs";
|
|
13
13
|
import { u as he } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
14
14
|
import { L as te } from "../Loader-DUaFpDGv.mjs";
|
|
15
15
|
import { I as pe } from "../CashflowStore-D9Dpuz7X.mjs";
|
|
16
16
|
import { C as zn } from "../CashflowStore-D9Dpuz7X.mjs";
|
|
17
17
|
import { b as M } from "../Localization-2MODESHW.mjs";
|
|
18
|
-
import { M as Je } from "../MiniWidgetContainer-
|
|
18
|
+
import { M as Je } from "../MiniWidgetContainer-CmXpTylX.mjs";
|
|
19
19
|
import { E as Ze } from "../EmptyState-DoxNUae-.mjs";
|
|
20
|
-
import { R as et } from "../RecurringSettings-
|
|
20
|
+
import { R as et } from "../RecurringSettings-B0uObPlD.mjs";
|
|
21
21
|
import tt from "@mui/material/Tabs";
|
|
22
22
|
import Ce from "@mui/material/Tab";
|
|
23
23
|
import { getUnixTime as B } from "date-fns/getUnixTime";
|
|
24
24
|
import ee from "@mui/material/List";
|
|
25
25
|
import ne from "@mui/material/ListItem";
|
|
26
|
-
import { A as nt } from "../AccountListItem-
|
|
26
|
+
import { A as nt } from "../AccountListItem-DxY4cCF1.mjs";
|
|
27
27
|
import { f as Q, a as V } from "../Dialog-BPTr3qHE.mjs";
|
|
28
28
|
import ot from "@mui/material/ListSubheader";
|
|
29
29
|
import { f as Z } from "../NumberFormatting-DjTD0t3W.mjs";
|
|
@@ -35,17 +35,17 @@ import { alpha as at, keyframes as it } from "@mui/material/styles";
|
|
|
35
35
|
import { DataGridPro as rt } from "@mui/x-data-grid-pro";
|
|
36
36
|
import { T as Se } from "../TabContentContainer-j01JYR_7.mjs";
|
|
37
37
|
import G from "@mui/material/Button";
|
|
38
|
-
import { M as st, S as ct, i as lt, d as _e, c as dt } from "../ManageIncome-
|
|
38
|
+
import { M as st, S as ct, i as lt, d as _e, c as dt } from "../ManageIncome-A69EUO5u.mjs";
|
|
39
39
|
import { D as Ge } from "../Drawer-BEtCk82g.mjs";
|
|
40
40
|
import { formatISO as mt } from "date-fns/formatISO";
|
|
41
41
|
import { fromUnixTime as Ie } from "date-fns/fromUnixTime";
|
|
42
42
|
import { startOfMonth as ut } from "date-fns/startOfMonth";
|
|
43
43
|
import { subDays as je } from "date-fns/subDays";
|
|
44
|
-
import { S as ht, c as pt } from "../TransactionDetails-
|
|
44
|
+
import { S as ht, c as pt } from "../TransactionDetails-COH0OKNG.mjs";
|
|
45
45
|
import { F as ft, R as ve, e as De } from "../RecurringTransactions-BqijW_8S.mjs";
|
|
46
46
|
import { h as gt } from "../DateUtil-CBdcsyuk.mjs";
|
|
47
47
|
import { endOfToday as bt } from "date-fns/endOfToday";
|
|
48
|
-
import { W as Ae, A as Ee } from "../WidgetContainer-
|
|
48
|
+
import { W as Ae, A as Ee } from "../WidgetContainer-6dsjtOVg.mjs";
|
|
49
49
|
import { F as xt, A as z } from "../Fetch-DecPFeGU.mjs";
|
|
50
50
|
const K = () => {
|
|
51
51
|
if (!p.useContext(Qe))
|
|
@@ -182,7 +182,7 @@ const K = () => {
|
|
|
182
182
|
onPrimaryCtaClick: a,
|
|
183
183
|
primaryCtaLabel: i.primary_cta,
|
|
184
184
|
subTitle: c || !l ? void 0 : i.sub_title,
|
|
185
|
-
sx: t,
|
|
185
|
+
sx: { height: "100%", ...t },
|
|
186
186
|
title: i.title,
|
|
187
187
|
children: [
|
|
188
188
|
!l && /* @__PURE__ */ e(te, {}),
|
|
@@ -3,4 +3,3 @@ export { useCombineEvents, useCombinePageviews } from './useCombineEvents';
|
|
|
3
3
|
export { useInsightsEnabled } from './useInsightsEnabled';
|
|
4
4
|
export { useScreenSize } from './useScreenSize';
|
|
5
5
|
export { usePrevious } from './usePrevious';
|
|
6
|
-
export { useWidgetLoadTimer } from './useWidgetLoadTimer';
|
package/dist/common/index.es.js
CHANGED
|
@@ -6,30 +6,30 @@ import { C as et } from "../CategoryStore-U7hOZAbP.mjs";
|
|
|
6
6
|
import { a as ls } from "../CategoryStore-U7hOZAbP.mjs";
|
|
7
7
|
import { N as st } from "../NotificationStore-CDX_kqHa.mjs";
|
|
8
8
|
import { a as hs } from "../NotificationStore-CDX_kqHa.mjs";
|
|
9
|
-
import { T as rt } from "../User-
|
|
10
|
-
import { C as ps, b as ms, L as _s, a as fs } from "../User-
|
|
9
|
+
import { T as rt } from "../User-wXzDI4M8.mjs";
|
|
10
|
+
import { C as ps, b as ms, L as _s, a as fs } from "../User-wXzDI4M8.mjs";
|
|
11
11
|
import { H as ot } from "../Help-DhcC-C05.mjs";
|
|
12
12
|
import { E as Ss } from "../Help-DhcC-C05.mjs";
|
|
13
|
-
import { M as ws } from "../MicroWidgetContainer-
|
|
14
|
-
import { M as Cs } from "../MiniWidgetContainer-
|
|
15
|
-
import { A as Ds, D as As, W as Es } from "../WidgetContainer-
|
|
16
|
-
import { k as Bs, a as Is, e as Ns, h as Ms, A as $s, f as ks, l as Rs, d as Us, n as Ps, E as Os, j as Ls, N as Gs, i as Hs, P as Fs, o as Ws, S as qs } from "../ConnectDrawer-
|
|
17
|
-
import { C as Qs } from "../CurrencyInput-
|
|
13
|
+
import { M as ws } from "../MicroWidgetContainer-DEiRnYVa.mjs";
|
|
14
|
+
import { M as Cs } from "../MiniWidgetContainer-CmXpTylX.mjs";
|
|
15
|
+
import { A as Ds, D as As, W as Es } from "../WidgetContainer-6dsjtOVg.mjs";
|
|
16
|
+
import { k as Bs, a as Is, e as Ns, h as Ms, A as $s, f as ks, l as Rs, d as Us, n as Ps, E as Os, j as Ls, N as Gs, i as Hs, P as Fs, o as Ws, S as qs } from "../ConnectDrawer-CuUj16NH.mjs";
|
|
17
|
+
import { C as Qs } from "../CurrencyInput-BFKcs-_K.mjs";
|
|
18
18
|
import { L as Xs } from "../Loader-DUaFpDGv.mjs";
|
|
19
19
|
import { R as Ks } from "../ResponsiveButton-DZFp78fJ.mjs";
|
|
20
20
|
import { S as Zs } from "../SearchBox-B2_zLv8-.mjs";
|
|
21
|
-
import { T as at } from "../TransactionStore-
|
|
22
|
-
import { S as tr } from "../TransactionStore-
|
|
21
|
+
import { T as at } from "../TransactionStore-Dz-G8Wd0.mjs";
|
|
22
|
+
import { S as tr } from "../TransactionStore-Dz-G8Wd0.mjs";
|
|
23
23
|
import { T as sr } from "../TabContentContainer-j01JYR_7.mjs";
|
|
24
24
|
import { I as or } from "../IconBacking-B9oC6uL2.mjs";
|
|
25
25
|
import { D as nr, F as ir, a as cr, c as dr, R as lr, S as ur } from "../RecurringTransactions-BqijW_8S.mjs";
|
|
26
26
|
import { C as nt } from "../CashflowStore-D9Dpuz7X.mjs";
|
|
27
27
|
import { I as gr } from "../CashflowStore-D9Dpuz7X.mjs";
|
|
28
|
-
import { d as it } from "../GoalStore-
|
|
29
|
-
import { C as mr, G as _r, M as fr, T as yr } from "../GoalStore-
|
|
28
|
+
import { d as it } from "../GoalStore-CrNhjvNc.mjs";
|
|
29
|
+
import { C as mr, G as _r, M as fr, T as yr } from "../GoalStore-CrNhjvNc.mjs";
|
|
30
30
|
import { C as br } from "../CurrencyText-Dr0EZ7bp.mjs";
|
|
31
31
|
import { E as xr } from "../EmptyState-DoxNUae-.mjs";
|
|
32
|
-
import { L as vr } from "../ListItemAction-
|
|
32
|
+
import { L as vr } from "../ListItemAction-uobBrm_a.mjs";
|
|
33
33
|
import { T as ct } from "../TrendsStore-BW9FGQeE.mjs";
|
|
34
34
|
import { L as Ar } from "../TrendsStore-BW9FGQeE.mjs";
|
|
35
35
|
import { A as Tr, B as Br, I as Ir, N as Nr, T as Mr, a as $r } from "../ToggleListItem-ciFTiqRS.mjs";
|
|
@@ -37,42 +37,40 @@ 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
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import { a as Lr, D as Gr, O as Hr, b as Fr, f as Wr } from "../Dialog-BPTr3qHE.mjs";
|
|
40
|
+
import { S as Rr } from "../StatusBar-BK_uYHAB.mjs";
|
|
41
|
+
import { a as Pr, D as Or, O as Lr, b as Gr, f as Hr } from "../Dialog-BPTr3qHE.mjs";
|
|
43
42
|
import { D as gt, a as pt } from "../SingleSegmentDonut-BgbLgwHi.mjs";
|
|
44
|
-
import { S as
|
|
45
|
-
import { D as
|
|
46
|
-
import { I as
|
|
43
|
+
import { S as Wr } from "../SingleSegmentDonut-BgbLgwHi.mjs";
|
|
44
|
+
import { D as Yr } from "../Drawer-BEtCk82g.mjs";
|
|
45
|
+
import { I as zr, P as Xr, S as jr } from "../Account-01wOyrH1.mjs";
|
|
47
46
|
import { b as E } from "../Category-CevNQ03n.mjs";
|
|
48
|
-
import { C as
|
|
49
|
-
import { C as
|
|
47
|
+
import { C as Vr, c as Zr, a as Jr, P as to } from "../Category-CevNQ03n.mjs";
|
|
48
|
+
import { C as so, f as ro, b as oo, a as ao, g as no, i as io } from "../NumberFormatting-DjTD0t3W.mjs";
|
|
50
49
|
import { R as mt } from "../RecurringTransactionsStore-BhBUVm9a.mjs";
|
|
51
|
-
import { S as
|
|
52
|
-
import { G as
|
|
53
|
-
import { u as
|
|
54
|
-
import { u as
|
|
55
|
-
import { u as
|
|
56
|
-
import { u as Zo } from "../useWidgetLoadTimer-CY26D0n1.mjs";
|
|
50
|
+
import { S as lo, T as uo } from "../RecurringTransactionsStore-BhBUVm9a.mjs";
|
|
51
|
+
import { G as go, C as po, D as mo, W as _o, d as fo, a as yo, i as So, v as bo, m as wo, x as xo, y as Co, g as vo, z as Do, u as Ao, f as Eo, b as To, l as Bo, A as Io, t as No, n as Mo, c as $o, r as ko, o as Ro, B as Uo, j as Po, s as Oo, h as Lo, w as Go, p as Ho, q as Fo } from "../hooks-C41HAxM5.mjs";
|
|
52
|
+
import { u as qo } from "../useAccountDisplayName-CMMlIOXF.mjs";
|
|
53
|
+
import { u as Qo } from "../useInsightsEnabled-CNjP5cfR.mjs";
|
|
54
|
+
import { u as Xo } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
57
55
|
import { makeAutoObservable as f, runInAction as p, reaction as _t, autorun as ft } from "mobx";
|
|
58
|
-
import { a as yt } from "../AccountStore-
|
|
56
|
+
import { a as yt } from "../AccountStore-C1zMBzHq.mjs";
|
|
59
57
|
import St from "posthog-js";
|
|
60
58
|
import { B as bt } from "../BeatStore-D_NYuBSz.mjs";
|
|
61
59
|
import { endOfMonth as Z } from "date-fns/endOfMonth";
|
|
62
60
|
import { startOfMonth as J } from "date-fns/startOfMonth";
|
|
63
61
|
import { startOfToday as O } from "date-fns/startOfToday";
|
|
64
|
-
import { f as wt, a as xt, b as L } from "../BudgetUtil-
|
|
65
|
-
import { g as
|
|
66
|
-
import { a as Ct } from "../DebtsStore-
|
|
62
|
+
import { f as wt, a as xt, b as L } from "../BudgetUtil-Df2nII9u.mjs";
|
|
63
|
+
import { g as Ko, e as Vo, c as Zo, d as Jo, i as ta } from "../BudgetUtil-Df2nII9u.mjs";
|
|
64
|
+
import { a as Ct } from "../DebtsStore-Bu8rRRSL.mjs";
|
|
67
65
|
import { F as vt } from "../FinstrongStore-BIrX0Xg2.mjs";
|
|
68
66
|
import { A as Dt, m as At, a as Et, b as Tt } from "../InvestmentUtil-jOyOgzIB.mjs";
|
|
69
67
|
import { M as Bt } from "../MerchantStore-WvZ4gnQe.mjs";
|
|
70
|
-
import { N as It } from "../NetWorthStore-
|
|
68
|
+
import { N as It } from "../NetWorthStore-CpL_kqvx.mjs";
|
|
71
69
|
import { a as Nt } from "../SettingsStore-krIRNwHK.mjs";
|
|
72
70
|
import { addMonths as Mt } from "date-fns/addMonths";
|
|
73
71
|
import { getMonth as T } from "date-fns/getMonth";
|
|
74
|
-
import { i as
|
|
75
|
-
import { b as
|
|
72
|
+
import { i as sa } from "../DateUtil-CBdcsyuk.mjs";
|
|
73
|
+
import { b as oa, a as aa, g as na } from "../Localization-2MODESHW.mjs";
|
|
76
74
|
import { alpha as $t, lighten as G, darken as H } from "@mui/material";
|
|
77
75
|
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
76
|
const Qe = [
|
|
@@ -1258,25 +1256,24 @@ export {
|
|
|
1258
1256
|
ps as Calendar,
|
|
1259
1257
|
ms as CalendarSelectionTypes,
|
|
1260
1258
|
ls as CategoryApi,
|
|
1261
|
-
|
|
1262
|
-
|
|
1259
|
+
Vr as CategoryColors,
|
|
1260
|
+
Zr as CategoryGuidToName,
|
|
1263
1261
|
E as CategoryGuids,
|
|
1264
|
-
|
|
1262
|
+
Jr as CategoryIcon,
|
|
1265
1263
|
mr as ConnectCard,
|
|
1266
1264
|
Rs as ConnectDrawer,
|
|
1267
1265
|
Us as ConnectionStatus,
|
|
1268
1266
|
Ps as ConnectionStatusEnums,
|
|
1269
|
-
|
|
1267
|
+
so as CurrencyCodes,
|
|
1270
1268
|
Qs as CurrencyInput,
|
|
1271
1269
|
br as CurrencyText,
|
|
1272
|
-
|
|
1270
|
+
Pr as DATE_FORMATS_INTL,
|
|
1273
1271
|
gt as DEFAULT_DONUT_SIZE,
|
|
1274
1272
|
pt as DEFAULT_STROKE_WIDTH,
|
|
1275
1273
|
nr as DataRow,
|
|
1276
1274
|
As as DateRangeSelector,
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
zr as Drawer,
|
|
1275
|
+
Or as Dialog,
|
|
1276
|
+
Yr as Drawer,
|
|
1280
1277
|
xr as EmptyState,
|
|
1281
1278
|
Ss as ErrorBoundary,
|
|
1282
1279
|
Os as ErrorStatuses,
|
|
@@ -1285,11 +1282,11 @@ export {
|
|
|
1285
1282
|
ir as Frequency,
|
|
1286
1283
|
$ as GlobalCopyApi,
|
|
1287
1284
|
ee as GlobalCopyStore,
|
|
1288
|
-
|
|
1289
|
-
|
|
1285
|
+
go as GlobalDataContext,
|
|
1286
|
+
po as GlobalDataProvider,
|
|
1290
1287
|
ts as GlobalStore,
|
|
1291
1288
|
_r as GoalType,
|
|
1292
|
-
|
|
1289
|
+
zr as INCOME_ACCOUNT_TYPES,
|
|
1293
1290
|
or as IconBacking,
|
|
1294
1291
|
gr as InformationTooltip,
|
|
1295
1292
|
Ir as InsightNotificationTypes,
|
|
@@ -1308,10 +1305,10 @@ export {
|
|
|
1308
1305
|
Gs as NonConnectedStatuses,
|
|
1309
1306
|
hs as NotificationApi,
|
|
1310
1307
|
Nr as NotificationTypes,
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1308
|
+
Lr as ORDINAL_DATE_FORMAT,
|
|
1309
|
+
Gr as ORDINAL_MONTH_DAY_YEAR_FORMAT,
|
|
1310
|
+
Xr as PAYMENT_ACCOUNT_TYPES,
|
|
1311
|
+
to as PaymentCategories,
|
|
1315
1312
|
Rt as PlanTypes,
|
|
1316
1313
|
Hs as ProcessingStatuses,
|
|
1317
1314
|
Fs as PropertyType,
|
|
@@ -1322,18 +1319,18 @@ export {
|
|
|
1322
1319
|
kt as RecurrenceTypes,
|
|
1323
1320
|
lr as RepeatingType,
|
|
1324
1321
|
Ks as ResponsiveButton,
|
|
1325
|
-
|
|
1322
|
+
jr as SPENDING_ACCOUNT_TYPES,
|
|
1326
1323
|
Ht as ScheduledPaymentTypes,
|
|
1327
1324
|
Ke as ScheduledPaymentsApi,
|
|
1328
1325
|
Ft as ScreenSize,
|
|
1329
1326
|
Zs as SearchBox,
|
|
1330
1327
|
ur as Select,
|
|
1331
1328
|
tr as SelectionBox,
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1329
|
+
Wr as SingleSegmentDonut,
|
|
1330
|
+
lo as Sizes,
|
|
1331
|
+
Rr as StatusBar,
|
|
1335
1332
|
qs as StatusName,
|
|
1336
|
-
|
|
1333
|
+
uo as TOUCH_TARGET,
|
|
1337
1334
|
sr as TabContentContainer,
|
|
1338
1335
|
Mr as ToggleButtonListItem,
|
|
1339
1336
|
$r as ToggleListItem,
|
|
@@ -1345,56 +1342,55 @@ export {
|
|
|
1345
1342
|
Lt as UserVerification,
|
|
1346
1343
|
W as WidgetApi,
|
|
1347
1344
|
Es as WidgetContainer,
|
|
1348
|
-
|
|
1349
|
-
|
|
1345
|
+
mo as WidgetContainerContext,
|
|
1346
|
+
_o as WidgetContainerProvider,
|
|
1350
1347
|
os as analyticsSession,
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1348
|
+
oa as buildDynamicCopy,
|
|
1349
|
+
aa as buildPluralCopy,
|
|
1350
|
+
ro as formatCurrency,
|
|
1351
|
+
Hr as formatDate,
|
|
1352
|
+
oo as formatOrdinal,
|
|
1353
|
+
ao as formatPercentage,
|
|
1354
|
+
sa as fromTimestampToMonthYear,
|
|
1355
|
+
Ko as getCategory,
|
|
1356
|
+
Vo as getCategoryTotalsByParent,
|
|
1360
1357
|
Xe as getClientTheme,
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1358
|
+
no as getCurrencyCodes,
|
|
1359
|
+
Zo as getDetailedCategory,
|
|
1360
|
+
Jo as getDetailedSubCategory,
|
|
1361
|
+
na as getLocale,
|
|
1362
|
+
ta as isIncome,
|
|
1363
|
+
io as isValidNumber,
|
|
1364
|
+
qo as useAccountDisplayName,
|
|
1365
|
+
fo as useAccountStore,
|
|
1366
|
+
yo as useAppConfig,
|
|
1367
|
+
So as useBudgetsStore,
|
|
1368
|
+
bo as useCashflowStore,
|
|
1369
|
+
wo as useCategoryStore,
|
|
1373
1370
|
as as useCombineEvents,
|
|
1374
1371
|
ns as useCombinePageviews,
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1372
|
+
xo as useDebtStore,
|
|
1373
|
+
Co as useError,
|
|
1374
|
+
vo as useEvent,
|
|
1375
|
+
Do as useFinstrongStore,
|
|
1376
|
+
Ao as useGlobalCopyStore,
|
|
1377
|
+
Eo as useGlobalStore,
|
|
1378
|
+
To as useGlobalUiStore,
|
|
1379
|
+
Bo as useGoalStore,
|
|
1380
|
+
Io as useHelpStore,
|
|
1381
|
+
No as useHoldingStore,
|
|
1382
|
+
Qo as useInsightsEnabled,
|
|
1383
|
+
Mo as useLoad,
|
|
1384
|
+
$o as useMerchantStore,
|
|
1385
|
+
ko as useNetWorthStore,
|
|
1386
|
+
Ro as useNotificationStore,
|
|
1387
|
+
Uo as usePageView,
|
|
1391
1388
|
Ve as usePrevious,
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
Zo as useWidgetLoadTimer
|
|
1389
|
+
Po as useRecurringTransactionsStore,
|
|
1390
|
+
Xo as useScreenSize,
|
|
1391
|
+
Oo as useSettingsStore,
|
|
1392
|
+
Lo as useTransactionStore,
|
|
1393
|
+
Go as useTrendsStore,
|
|
1394
|
+
Ho as useUserStore,
|
|
1395
|
+
Fo as useWidgetContainerProvider
|
|
1400
1396
|
};
|
|
@@ -1,30 +1,29 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as t, jsxs as s } from "react/jsx-runtime";
|
|
2
|
+
import r from "react";
|
|
3
3
|
import { observer as _ } from "mobx-react-lite";
|
|
4
4
|
import h from "@mui/material/Unstable_Grid2";
|
|
5
|
-
import
|
|
6
|
-
import
|
|
5
|
+
import u from "@mui/material/Skeleton";
|
|
6
|
+
import l from "@mui/material/Stack";
|
|
7
7
|
import D from "@mui/material/styles/useTheme";
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
import { Icon as S, H1 as
|
|
11
|
-
import { useMediaQuery as
|
|
8
|
+
import { f as A, u as v, d as C, b as M, a as k, n as B } from "../hooks-C41HAxM5.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
12
|
import T from "@mui/material/Box";
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import { k as
|
|
13
|
+
import $ from "@mui/material/Button";
|
|
14
|
+
import H from "@mui/material/IconButton";
|
|
15
|
+
import R from "@mui/material/Tooltip";
|
|
16
|
+
import j from "@mui/material/useMediaQuery";
|
|
17
|
+
import { k as E, l as Q } from "../ConnectDrawer-CuUj16NH.mjs";
|
|
18
18
|
import { u as z } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
19
|
-
|
|
20
|
-
const N = _(() => {
|
|
19
|
+
const P = _(() => {
|
|
21
20
|
const e = D(), {
|
|
22
|
-
appDataStore: { banner:
|
|
21
|
+
appDataStore: { banner: o, loadBanner: i, user: d }
|
|
23
22
|
} = A();
|
|
24
|
-
return
|
|
23
|
+
return r.useEffect(() => {
|
|
25
24
|
i().finally();
|
|
26
|
-
}, [
|
|
27
|
-
|
|
25
|
+
}, [d]), o?.image_url ? /* @__PURE__ */ t(
|
|
26
|
+
l,
|
|
28
27
|
{
|
|
29
28
|
sx: {
|
|
30
29
|
alignItems: "center",
|
|
@@ -34,7 +33,7 @@ const N = _(() => {
|
|
|
34
33
|
children: /* @__PURE__ */ t(
|
|
35
34
|
"a",
|
|
36
35
|
{
|
|
37
|
-
href:
|
|
36
|
+
href: o?.redirect_url,
|
|
38
37
|
rel: "noreferrer",
|
|
39
38
|
style: {
|
|
40
39
|
width: "100%"
|
|
@@ -44,7 +43,7 @@ const N = _(() => {
|
|
|
44
43
|
"img",
|
|
45
44
|
{
|
|
46
45
|
alt: "",
|
|
47
|
-
src:
|
|
46
|
+
src: o.image_url,
|
|
48
47
|
style: {
|
|
49
48
|
width: "100%",
|
|
50
49
|
height: "auto",
|
|
@@ -56,25 +55,25 @@ const N = _(() => {
|
|
|
56
55
|
)
|
|
57
56
|
}
|
|
58
57
|
) : null;
|
|
59
|
-
}),
|
|
60
|
-
const { common:
|
|
61
|
-
return /* @__PURE__ */ t(T, { my: 4, children: i ? /* @__PURE__ */ t(
|
|
62
|
-
|
|
58
|
+
}), N = ({ handleConnectClick: e }) => {
|
|
59
|
+
const { common: o } = v(), i = j("(max-width: 700px)");
|
|
60
|
+
return /* @__PURE__ */ t(T, { my: 4, children: i ? /* @__PURE__ */ t(R, { id: "add-accounts", placement: "bottom", title: o.add_accounts, children: /* @__PURE__ */ t(
|
|
61
|
+
H,
|
|
63
62
|
{
|
|
64
63
|
"aria-controls": "add_accounts",
|
|
65
64
|
"aria-describedby": "add-accounts",
|
|
66
65
|
"aria-haspopup": !0,
|
|
67
|
-
"aria-label":
|
|
66
|
+
"aria-label": o.add_accounts,
|
|
68
67
|
color: "primary",
|
|
69
68
|
onClick: e,
|
|
70
69
|
children: /* @__PURE__ */ t(S, { name: "add", size: 24 })
|
|
71
70
|
}
|
|
72
71
|
) }) : /* @__PURE__ */ t(
|
|
73
|
-
|
|
72
|
+
$,
|
|
74
73
|
{
|
|
75
74
|
"aria-controls": "add_accounts",
|
|
76
75
|
"aria-haspopup": !0,
|
|
77
|
-
"aria-label":
|
|
76
|
+
"aria-label": o.add_accounts,
|
|
78
77
|
onClick: e,
|
|
79
78
|
startIcon: /* @__PURE__ */ t(S, { name: "add", size: 24 }),
|
|
80
79
|
sx: {
|
|
@@ -83,44 +82,44 @@ const N = _(() => {
|
|
|
83
82
|
minWidth: "max-content"
|
|
84
83
|
},
|
|
85
84
|
variant: "text",
|
|
86
|
-
children:
|
|
85
|
+
children: o.add_accounts
|
|
87
86
|
}
|
|
88
87
|
) });
|
|
89
|
-
}, O = _(
|
|
90
|
-
const [e,
|
|
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 = {
|
|
91
90
|
accountFilterOptionsCopy: {
|
|
92
|
-
accountTypeAccounts:
|
|
93
|
-
cancelButton:
|
|
94
|
-
filterButton:
|
|
95
|
-
filterButtonAria:
|
|
96
|
-
selectAllAccounts:
|
|
97
|
-
toggleAccountTypeAccounts:
|
|
98
|
-
unselectAllAccounts:
|
|
99
|
-
zeroStateButton:
|
|
100
|
-
zeroStateDescription:
|
|
101
|
-
zeroStateTitle:
|
|
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
|
|
102
101
|
},
|
|
103
|
-
title:
|
|
104
|
-
},
|
|
102
|
+
title: n.filter_button
|
|
103
|
+
}, c = () => {
|
|
105
104
|
const p = (/* @__PURE__ */ new Date()).getHours();
|
|
106
|
-
return p > 1 && p < 12 ?
|
|
105
|
+
return p > 1 && p < 12 ? n.good_morning : p >= 12 && p < 18 ? n.good_afternoon : n.good_evening;
|
|
107
106
|
};
|
|
108
|
-
return /* @__PURE__ */
|
|
109
|
-
/* @__PURE__ */ t(
|
|
110
|
-
/* @__PURE__ */
|
|
111
|
-
/* @__PURE__ */ t(
|
|
112
|
-
/* @__PURE__ */ t(
|
|
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 })
|
|
113
112
|
] }),
|
|
114
|
-
/* @__PURE__ */
|
|
115
|
-
|
|
113
|
+
/* @__PURE__ */ s(l, { flexDirection: "row", children: [
|
|
114
|
+
a.show_connections_widget_in_master && /* @__PURE__ */ t(O, { handleConnectClick: () => o(!0) }),
|
|
116
115
|
/* @__PURE__ */ t(
|
|
117
|
-
|
|
116
|
+
E,
|
|
118
117
|
{
|
|
119
|
-
accounts:
|
|
120
|
-
copy:
|
|
121
|
-
onConnectAccountClick:
|
|
122
|
-
onFilterClick: (
|
|
123
|
-
b(
|
|
118
|
+
accounts: d,
|
|
119
|
+
copy: y,
|
|
120
|
+
onConnectAccountClick: a.show_connections_widget_in_master ? () => o(!0) : void 0,
|
|
121
|
+
onFilterClick: (m) => {
|
|
122
|
+
b(m);
|
|
124
123
|
},
|
|
125
124
|
selectedAccountGuids: g,
|
|
126
125
|
showAccountNumbers: !1,
|
|
@@ -135,51 +134,50 @@ const N = _(() => {
|
|
|
135
134
|
e && /* @__PURE__ */ t(
|
|
136
135
|
Q,
|
|
137
136
|
{
|
|
138
|
-
onClose: () =>
|
|
137
|
+
onClose: () => o(!1),
|
|
139
138
|
showConnectWidget: e,
|
|
140
|
-
title:
|
|
139
|
+
title: x.mini_title
|
|
141
140
|
}
|
|
142
141
|
)
|
|
143
142
|
] });
|
|
144
143
|
}, q = _(U);
|
|
145
144
|
var f = /* @__PURE__ */ ((e) => (e[e.Main = 0] = "Main", e[e.RightSide = 1] = "RightSide", e[e.Disabled = 2] = "Disabled", e))(f || {});
|
|
146
|
-
const J = ({ widgets: e, isLoading:
|
|
147
|
-
const { isDesktop: i, isMobile:
|
|
148
|
-
|
|
149
|
-
b(
|
|
150
|
-
}, [
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
() => e.filter((n) => n.location !== f.Disabled).sort((n, w) => n.index - w.index),
|
|
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();
|
|
147
|
+
r.useEffect(() => {
|
|
148
|
+
b(n);
|
|
149
|
+
}, [n]), r.useEffect(() => {
|
|
150
|
+
o || x?.("Dashboard");
|
|
151
|
+
}, [o]);
|
|
152
|
+
const a = r.useMemo(
|
|
153
|
+
() => e.filter((c) => c.location !== f.Disabled).sort((c, m) => c.index - m.index),
|
|
156
154
|
[e]
|
|
157
|
-
),
|
|
158
|
-
() =>
|
|
159
|
-
[
|
|
160
|
-
),
|
|
161
|
-
() =>
|
|
162
|
-
[
|
|
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]
|
|
163
161
|
);
|
|
164
|
-
return /* @__PURE__ */
|
|
162
|
+
return /* @__PURE__ */ s(h, { container: !0, spacing: d ? 0 : 24, sx: { overflow: "scroll" }, children: [
|
|
165
163
|
/* @__PURE__ */ t(h, { xs: 12, children: g.isInitialized && /* @__PURE__ */ t(q, {}) }),
|
|
166
|
-
/* @__PURE__ */
|
|
167
|
-
/* @__PURE__ */ t(
|
|
168
|
-
|
|
169
|
-
/* @__PURE__ */ t(
|
|
170
|
-
/* @__PURE__ */ t(
|
|
171
|
-
/* @__PURE__ */ t(
|
|
164
|
+
/* @__PURE__ */ s(h, { lg: 8, xs: 12, children: [
|
|
165
|
+
/* @__PURE__ */ t(P, {}),
|
|
166
|
+
o && /* @__PURE__ */ s(l, { direction: "column", spacing: 24, children: [
|
|
167
|
+
/* @__PURE__ */ t(u, { height: 100, variant: "rounded", width: "100%" }),
|
|
168
|
+
/* @__PURE__ */ t(u, { height: 300, variant: "rounded", width: "100%" }),
|
|
169
|
+
/* @__PURE__ */ t(u, { height: 300, variant: "rounded", width: "100%" })
|
|
172
170
|
] }),
|
|
173
|
-
!
|
|
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)) })
|
|
174
172
|
] }),
|
|
175
|
-
i && /* @__PURE__ */ t(h, { lg: 4, children:
|
|
176
|
-
/* @__PURE__ */ t(
|
|
177
|
-
/* @__PURE__ */ t(
|
|
178
|
-
/* @__PURE__ */ t(
|
|
179
|
-
] }) : /* @__PURE__ */ t(
|
|
173
|
+
i && /* @__PURE__ */ t(h, { lg: 4, children: o ? /* @__PURE__ */ s(l, { direction: "column", spacing: 24, children: [
|
|
174
|
+
/* @__PURE__ */ t(u, { height: 200, variant: "rounded", width: "100%" }),
|
|
175
|
+
/* @__PURE__ */ t(u, { height: 100, variant: "rounded", width: "100%" }),
|
|
176
|
+
/* @__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)) }) })
|
|
180
178
|
] });
|
|
181
|
-
},
|
|
179
|
+
}, mt = _(J);
|
|
182
180
|
export {
|
|
183
|
-
|
|
181
|
+
mt as Dashboard,
|
|
184
182
|
f as DashboardLocation
|
|
185
183
|
};
|