@mx-cartographer/experiences 7.4.5 → 7.4.6-alpha.mm0
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 +0 -4
- package/dist/{Account-01wOyrH1.mjs → Account-BQE_ANvF.mjs} +1 -1
- package/dist/{AccountDetailsContent-COMjOzwr.mjs → AccountDetailsContent-C6LkHJuy.mjs} +8 -8
- package/dist/{AccountDetailsHeader-Cbi5G6fJ.mjs → AccountDetailsHeader-CCkHHK_n.mjs} +4 -4
- package/dist/{AccountFields-Cd_nOWmf.mjs → AccountFields-DdOw6d6w.mjs} +2 -2
- package/dist/{AccountListItem-DxY4cCF1.mjs → AccountListItem-CZhCiU7q.mjs} +4 -4
- package/dist/{AccountStore-C1zMBzHq.mjs → AccountStore-kxFbaz-K.mjs} +2 -2
- package/dist/{Accounts-D7QljYas.mjs → Accounts-D_768tYo.mjs} +1 -1
- package/dist/{BudgetUtil-Df2nII9u.mjs → BudgetUtil-C5fTz_GJ.mjs} +1 -1
- package/dist/{CategorySelectorDrawer-DqJK_rrL.mjs → CategorySelectorDrawer-l3tOyiqD.mjs} +1 -1
- package/dist/{ConnectDrawer-CuUj16NH.mjs → ConnectDrawer-g2IXvoSS.mjs} +1 -1
- package/dist/{ConnectionsDrawer-Bz4uwdFE.mjs → ConnectionsDrawer-vSEOHrUC.mjs} +6 -6
- package/dist/{CurrencyInput-BFKcs-_K.mjs → CurrencyInput-BnaVaZBU.mjs} +6 -6
- package/dist/{DebtsStore-Bu8rRRSL.mjs → DebtsStore-CFk9t-Ky.mjs} +1 -1
- package/dist/{ExportCsvAction-DzTrtPzk.mjs → ExportCsvAction-DSi2a4NQ.mjs} +3 -3
- package/dist/{GoalStore-CrNhjvNc.mjs → GoalStore-DxFUJRd4.mjs} +2 -2
- package/dist/{Help-BnPXM_N2.mjs → Help-D1I72J-F.mjs} +1 -1
- package/dist/{LineChart-bc1D9xBE.mjs → LineChart-B7MftxPX.mjs} +1 -1
- package/dist/{ListItemAction-uobBrm_a.mjs → ListItemAction-Dob72eoG.mjs} +10 -10
- package/dist/{ManageIncome-A69EUO5u.mjs → ManageIncome-DlAUFShc.mjs} +4 -4
- package/dist/{MicroWidgetContainer-DEiRnYVa.mjs → MicroWidgetContainer-4zS7jJrn.mjs} +1 -1
- package/dist/{MiniWidgetContainer-CmXpTylX.mjs → MiniWidgetContainer-Csioy5P7.mjs} +1 -1
- package/dist/{NetWorthStore-CpL_kqvx.mjs → NetWorthStore-B6sG1eiD.mjs} +2 -2
- package/dist/{NotificationSettings-CNmJWVeI.mjs → NotificationSettings-ByORHzRI.mjs} +3 -3
- package/dist/{OriginalBalanceAction-DK8_LkPz.mjs → OriginalBalanceAction-BmSYWwSx.mjs} +3 -3
- package/dist/{RecurringSettings-B0uObPlD.mjs → RecurringSettings-CZvd4Wuv.mjs} +12 -12
- package/dist/{SpendingLegend-BbrZWbFX.mjs → SpendingLegend-CbNAMdPH.mjs} +2 -2
- package/dist/{TransactionDetails-COH0OKNG.mjs → TransactionDetails-DnLXfvDL.mjs} +5 -5
- package/dist/{TransactionStore-Dz-G8Wd0.mjs → TransactionStore-BOiv_pDO.mjs} +2 -2
- package/dist/{User-wXzDI4M8.mjs → User-BmdvAL7I.mjs} +1 -1
- package/dist/{WidgetContainer-6dsjtOVg.mjs → WidgetContainer-DR_iRKNU.mjs} +2 -2
- package/dist/accounts/index.es.js +121 -119
- package/dist/analytics/index.es.js +2 -2
- package/dist/budgets/index.es.js +10 -10
- package/dist/cashflow/index.es.js +7 -7
- package/dist/categories/index.es.js +1 -1
- package/dist/common/hooks/index.d.ts +1 -0
- package/dist/common/hooks/useWidgetLoadTimer.d.ts +24 -0
- package/dist/common/index.es.js +35 -33
- package/dist/dashboard/index.es.js +90 -88
- package/dist/debts/index.es.js +9 -9
- package/dist/{exportTransactionsToCSV-Cz2t0lmA.mjs → exportTransactionsToCSV-DoKUltKJ.mjs} +1 -1
- package/dist/finstrong/index.es.js +10 -10
- package/dist/goals/index.es.js +249 -251
- package/dist/help/index.es.js +5 -5
- package/dist/{hooks-C41HAxM5.mjs → hooks-DtrRa6Lb.mjs} +10 -10
- package/dist/investments/index.es.js +3 -3
- 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 +6 -6
- package/dist/transactions/index.es.js +13 -13
- package/dist/trends/index.es.js +9 -9
- package/dist/useAccountDisplayName-BUtYhbqe.mjs +15 -0
- package/dist/{useInsightsEnabled-CNjP5cfR.mjs → useInsightsEnabled-v_GGt72p.mjs} +1 -1
- package/dist/useWidgetLoadTimer-C4tYP28Y.mjs +28 -0
- package/package.json +1 -1
- package/dist/useAccountDisplayName-CMMlIOXF.mjs +0 -15
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-BmdvAL7I.mjs";
|
|
10
|
+
import { C as ps, b as ms, L as _s, a as fs } from "../User-BmdvAL7I.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-4zS7jJrn.mjs";
|
|
14
|
+
import { M as Cs } from "../MiniWidgetContainer-Csioy5P7.mjs";
|
|
15
|
+
import { A as Ds, D as As, W as Es } from "../WidgetContainer-DR_iRKNU.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-g2IXvoSS.mjs";
|
|
17
|
+
import { C as Qs } from "../CurrencyInput-BnaVaZBU.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-BOiv_pDO.mjs";
|
|
22
|
+
import { S as tr } from "../TransactionStore-BOiv_pDO.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-DxFUJRd4.mjs";
|
|
29
|
+
import { C as mr, G as _r, M as fr, T as yr } from "../GoalStore-DxFUJRd4.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-Dob72eoG.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";
|
|
@@ -43,35 +43,36 @@ import { a as Lr, D as Gr, O as Hr, b as Fr, f as Wr } from "../Dialog-BPTr3qHE.
|
|
|
43
43
|
import { D as gt, a as pt } from "../SingleSegmentDonut-BgbLgwHi.mjs";
|
|
44
44
|
import { S as Yr } from "../SingleSegmentDonut-BgbLgwHi.mjs";
|
|
45
45
|
import { D as zr } from "../Drawer-BEtCk82g.mjs";
|
|
46
|
-
import { I as jr, P as Kr, S as Vr } from "../Account-
|
|
46
|
+
import { I as jr, P as Kr, S as Vr } from "../Account-BQE_ANvF.mjs";
|
|
47
47
|
import { b as E } from "../Category-CevNQ03n.mjs";
|
|
48
48
|
import { C as Jr, c as to, a as eo, P as so } from "../Category-CevNQ03n.mjs";
|
|
49
49
|
import { C as oo, f as ao, b as no, a as io, g as co, i as lo } from "../NumberFormatting-DjTD0t3W.mjs";
|
|
50
50
|
import { R as mt } from "../RecurringTransactionsStore-BhBUVm9a.mjs";
|
|
51
51
|
import { S as ho, T as go } from "../RecurringTransactionsStore-BhBUVm9a.mjs";
|
|
52
|
-
import { G as mo, C as _o, D as fo, W as yo,
|
|
53
|
-
import { u as Qo } from "../useAccountDisplayName-
|
|
54
|
-
import { u as Xo } from "../useInsightsEnabled-
|
|
52
|
+
import { G as mo, C as _o, D as fo, W as yo, e as So, b as bo, i as wo, v as xo, m as Co, x as vo, y as Do, u as Ao, z as Eo, a as To, g as Bo, c as Io, l as No, A as Mo, t as $o, o as ko, d as Ro, r as Uo, n as Po, B as Oo, j as Lo, s as Go, h as Ho, w as Fo, p as Wo, q as qo } from "../hooks-DtrRa6Lb.mjs";
|
|
53
|
+
import { u as Qo } from "../useAccountDisplayName-BUtYhbqe.mjs";
|
|
54
|
+
import { u as Xo } from "../useInsightsEnabled-v_GGt72p.mjs";
|
|
55
55
|
import { u as Ko } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
56
|
+
import { u as Zo } from "../useWidgetLoadTimer-C4tYP28Y.mjs";
|
|
56
57
|
import { makeAutoObservable as f, runInAction as p, reaction as _t, autorun as ft } from "mobx";
|
|
57
|
-
import { a as yt } from "../AccountStore-
|
|
58
|
+
import { a as yt } from "../AccountStore-kxFbaz-K.mjs";
|
|
58
59
|
import St from "posthog-js";
|
|
59
60
|
import { B as bt } from "../BeatStore-D_NYuBSz.mjs";
|
|
60
61
|
import { endOfMonth as Z } from "date-fns/endOfMonth";
|
|
61
62
|
import { startOfMonth as J } from "date-fns/startOfMonth";
|
|
62
63
|
import { startOfToday as O } from "date-fns/startOfToday";
|
|
63
|
-
import { f as wt, a as xt, b as L } from "../BudgetUtil-
|
|
64
|
-
import { g as
|
|
65
|
-
import { a as Ct } from "../DebtsStore-
|
|
64
|
+
import { f as wt, a as xt, b as L } from "../BudgetUtil-C5fTz_GJ.mjs";
|
|
65
|
+
import { g as ta, e as ea, c as sa, d as ra, i as oa } from "../BudgetUtil-C5fTz_GJ.mjs";
|
|
66
|
+
import { a as Ct } from "../DebtsStore-CFk9t-Ky.mjs";
|
|
66
67
|
import { F as vt } from "../FinstrongStore-BIrX0Xg2.mjs";
|
|
67
68
|
import { A as Dt, m as At, a as Et, b as Tt } from "../InvestmentUtil-jOyOgzIB.mjs";
|
|
68
69
|
import { M as Bt } from "../MerchantStore-WvZ4gnQe.mjs";
|
|
69
|
-
import { N as It } from "../NetWorthStore-
|
|
70
|
+
import { N as It } from "../NetWorthStore-B6sG1eiD.mjs";
|
|
70
71
|
import { a as Nt } from "../SettingsStore-krIRNwHK.mjs";
|
|
71
72
|
import { addMonths as Mt } from "date-fns/addMonths";
|
|
72
73
|
import { getMonth as T } from "date-fns/getMonth";
|
|
73
|
-
import { i as
|
|
74
|
-
import { b as
|
|
74
|
+
import { i as na } from "../DateUtil-CBdcsyuk.mjs";
|
|
75
|
+
import { b as ca, a as da, g as la } from "../Localization-2MODESHW.mjs";
|
|
75
76
|
import { alpha as $t, lighten as G, darken as H } from "@mui/material";
|
|
76
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 || {});
|
|
77
78
|
const Qe = [
|
|
@@ -1347,21 +1348,21 @@ export {
|
|
|
1347
1348
|
fo as WidgetContainerContext,
|
|
1348
1349
|
yo as WidgetContainerProvider,
|
|
1349
1350
|
os as analyticsSession,
|
|
1350
|
-
|
|
1351
|
-
|
|
1351
|
+
ca as buildDynamicCopy,
|
|
1352
|
+
da as buildPluralCopy,
|
|
1352
1353
|
ao as formatCurrency,
|
|
1353
1354
|
Wr as formatDate,
|
|
1354
1355
|
no as formatOrdinal,
|
|
1355
1356
|
io as formatPercentage,
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1357
|
+
na as fromTimestampToMonthYear,
|
|
1358
|
+
ta as getCategory,
|
|
1359
|
+
ea as getCategoryTotalsByParent,
|
|
1359
1360
|
Xe as getClientTheme,
|
|
1360
1361
|
co as getCurrencyCodes,
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1362
|
+
sa as getDetailedCategory,
|
|
1363
|
+
ra as getDetailedSubCategory,
|
|
1364
|
+
la as getLocale,
|
|
1365
|
+
oa as isIncome,
|
|
1365
1366
|
lo as isValidNumber,
|
|
1366
1367
|
Qo as useAccountDisplayName,
|
|
1367
1368
|
So as useAccountStore,
|
|
@@ -1394,5 +1395,6 @@ export {
|
|
|
1394
1395
|
Ho as useTransactionStore,
|
|
1395
1396
|
Fo as useTrendsStore,
|
|
1396
1397
|
Wo as useUserStore,
|
|
1397
|
-
qo as useWidgetContainerProvider
|
|
1398
|
+
qo as useWidgetContainerProvider,
|
|
1399
|
+
Zo as useWidgetLoadTimer
|
|
1398
1400
|
};
|
|
@@ -1,29 +1,30 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as t, jsxs as a } from "react/jsx-runtime";
|
|
2
|
+
import c 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 d from "@mui/material/Skeleton";
|
|
6
|
+
import s 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 { g as A, a as v, e as C, c as M, b as k } from "../hooks-DtrRa6Lb.mjs";
|
|
9
|
+
import B 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
12
|
import T from "@mui/material/Box";
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import { k as
|
|
13
|
+
import I from "@mui/material/Button";
|
|
14
|
+
import $ from "@mui/material/IconButton";
|
|
15
|
+
import H from "@mui/material/Tooltip";
|
|
16
|
+
import R from "@mui/material/useMediaQuery";
|
|
17
|
+
import { k as j, l as Q } from "../ConnectDrawer-g2IXvoSS.mjs";
|
|
18
18
|
import { u as z } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
19
|
-
|
|
19
|
+
import { u as E } from "../useWidgetLoadTimer-C4tYP28Y.mjs";
|
|
20
|
+
const N = _(() => {
|
|
20
21
|
const e = D(), {
|
|
21
|
-
appDataStore: { banner:
|
|
22
|
+
appDataStore: { banner: r, loadBanner: i, user: u }
|
|
22
23
|
} = A();
|
|
23
|
-
return
|
|
24
|
+
return c.useEffect(() => {
|
|
24
25
|
i().finally();
|
|
25
|
-
}, [
|
|
26
|
-
|
|
26
|
+
}, [u]), r?.image_url ? /* @__PURE__ */ t(
|
|
27
|
+
s,
|
|
27
28
|
{
|
|
28
29
|
sx: {
|
|
29
30
|
alignItems: "center",
|
|
@@ -33,7 +34,7 @@ const P = _(() => {
|
|
|
33
34
|
children: /* @__PURE__ */ t(
|
|
34
35
|
"a",
|
|
35
36
|
{
|
|
36
|
-
href:
|
|
37
|
+
href: r?.redirect_url,
|
|
37
38
|
rel: "noreferrer",
|
|
38
39
|
style: {
|
|
39
40
|
width: "100%"
|
|
@@ -43,7 +44,7 @@ const P = _(() => {
|
|
|
43
44
|
"img",
|
|
44
45
|
{
|
|
45
46
|
alt: "",
|
|
46
|
-
src:
|
|
47
|
+
src: r.image_url,
|
|
47
48
|
style: {
|
|
48
49
|
width: "100%",
|
|
49
50
|
height: "auto",
|
|
@@ -55,25 +56,25 @@ const P = _(() => {
|
|
|
55
56
|
)
|
|
56
57
|
}
|
|
57
58
|
) : null;
|
|
58
|
-
}),
|
|
59
|
-
const { common:
|
|
60
|
-
return /* @__PURE__ */ t(T, { my: 4, children: i ? /* @__PURE__ */ t(
|
|
61
|
-
|
|
59
|
+
}), P = ({ handleConnectClick: e }) => {
|
|
60
|
+
const { common: r } = v(), i = R("(max-width: 700px)");
|
|
61
|
+
return /* @__PURE__ */ t(T, { my: 4, children: i ? /* @__PURE__ */ t(H, { id: "add-accounts", placement: "bottom", title: r.add_accounts, children: /* @__PURE__ */ t(
|
|
62
|
+
$,
|
|
62
63
|
{
|
|
63
64
|
"aria-controls": "add_accounts",
|
|
64
65
|
"aria-describedby": "add-accounts",
|
|
65
66
|
"aria-haspopup": !0,
|
|
66
|
-
"aria-label":
|
|
67
|
+
"aria-label": r.add_accounts,
|
|
67
68
|
color: "primary",
|
|
68
69
|
onClick: e,
|
|
69
70
|
children: /* @__PURE__ */ t(S, { name: "add", size: 24 })
|
|
70
71
|
}
|
|
71
72
|
) }) : /* @__PURE__ */ t(
|
|
72
|
-
|
|
73
|
+
I,
|
|
73
74
|
{
|
|
74
75
|
"aria-controls": "add_accounts",
|
|
75
76
|
"aria-haspopup": !0,
|
|
76
|
-
"aria-label":
|
|
77
|
+
"aria-label": r.add_accounts,
|
|
77
78
|
onClick: e,
|
|
78
79
|
startIcon: /* @__PURE__ */ t(S, { name: "add", size: 24 }),
|
|
79
80
|
sx: {
|
|
@@ -82,44 +83,44 @@ const P = _(() => {
|
|
|
82
83
|
minWidth: "max-content"
|
|
83
84
|
},
|
|
84
85
|
variant: "text",
|
|
85
|
-
children:
|
|
86
|
+
children: r.add_accounts
|
|
86
87
|
}
|
|
87
88
|
) });
|
|
88
|
-
}, O = _(
|
|
89
|
-
const [e,
|
|
89
|
+
}, O = _(P), U = () => {
|
|
90
|
+
const [e, r] = c.useState(!1), i = W("(max-width:320px)"), { visibleAccounts: u } = C(), { selectedAccountGuids: g, setSelectedAccountGuids: b } = M(), { common: o, connect: l } = v(), { config: m } = k(), { isMobile: x } = z(), n = {
|
|
90
91
|
accountFilterOptionsCopy: {
|
|
91
|
-
accountTypeAccounts:
|
|
92
|
-
cancelButton:
|
|
93
|
-
filterButton:
|
|
94
|
-
filterButtonAria:
|
|
95
|
-
selectAllAccounts:
|
|
96
|
-
toggleAccountTypeAccounts:
|
|
97
|
-
unselectAllAccounts:
|
|
98
|
-
zeroStateButton:
|
|
99
|
-
zeroStateDescription:
|
|
100
|
-
zeroStateTitle:
|
|
92
|
+
accountTypeAccounts: o.account_filter.account_type_accounts,
|
|
93
|
+
cancelButton: o.cancel_button,
|
|
94
|
+
filterButton: o.filter_button,
|
|
95
|
+
filterButtonAria: o.account_filter.filter_button_generic_aria,
|
|
96
|
+
selectAllAccounts: o.account_filter.select_all_accounts,
|
|
97
|
+
toggleAccountTypeAccounts: o.account_filter.toggle_account_type_accounts,
|
|
98
|
+
unselectAllAccounts: o.account_filter.unselect_all_accounts,
|
|
99
|
+
zeroStateButton: o.account_filter.zero_state_button,
|
|
100
|
+
zeroStateDescription: o.account_filter.zero_state_description,
|
|
101
|
+
zeroStateTitle: o.account_filter.zero_state_title
|
|
101
102
|
},
|
|
102
|
-
title:
|
|
103
|
-
},
|
|
103
|
+
title: o.filter_button
|
|
104
|
+
}, w = () => {
|
|
104
105
|
const p = (/* @__PURE__ */ new Date()).getHours();
|
|
105
|
-
return p > 1 && p < 12 ?
|
|
106
|
+
return p > 1 && p < 12 ? o.good_morning : p >= 12 && p < 18 ? o.good_afternoon : o.good_evening;
|
|
106
107
|
};
|
|
107
|
-
return /* @__PURE__ */
|
|
108
|
-
/* @__PURE__ */ t(
|
|
109
|
-
/* @__PURE__ */ s
|
|
110
|
-
/* @__PURE__ */ t(
|
|
111
|
-
/* @__PURE__ */ t(
|
|
108
|
+
return /* @__PURE__ */ a(c.Fragment, { children: [
|
|
109
|
+
/* @__PURE__ */ t(B, { sx: { gap: 12, mb: x ? 24 : 0, p: 24 }, children: /* @__PURE__ */ a(s, { alignItems: "center", flexDirection: "row", justifyContent: "space-between", children: [
|
|
110
|
+
/* @__PURE__ */ a(s, { children: [
|
|
111
|
+
/* @__PURE__ */ t(G, { variant: i ? "H2" : "H1", children: w() }),
|
|
112
|
+
/* @__PURE__ */ t(F, { color: "text.secondary", children: o.heres_your_spending_overview })
|
|
112
113
|
] }),
|
|
113
|
-
/* @__PURE__ */ s
|
|
114
|
-
|
|
114
|
+
/* @__PURE__ */ a(s, { flexDirection: "row", children: [
|
|
115
|
+
m.show_connections_widget_in_master && /* @__PURE__ */ t(O, { handleConnectClick: () => r(!0) }),
|
|
115
116
|
/* @__PURE__ */ t(
|
|
116
|
-
|
|
117
|
+
j,
|
|
117
118
|
{
|
|
118
|
-
accounts:
|
|
119
|
-
copy:
|
|
120
|
-
onConnectAccountClick:
|
|
121
|
-
onFilterClick: (
|
|
122
|
-
b(
|
|
119
|
+
accounts: u,
|
|
120
|
+
copy: n,
|
|
121
|
+
onConnectAccountClick: m.show_connections_widget_in_master ? () => r(!0) : void 0,
|
|
122
|
+
onFilterClick: (y) => {
|
|
123
|
+
b(y);
|
|
123
124
|
},
|
|
124
125
|
selectedAccountGuids: g,
|
|
125
126
|
showAccountNumbers: !1,
|
|
@@ -134,50 +135,51 @@ const P = _(() => {
|
|
|
134
135
|
e && /* @__PURE__ */ t(
|
|
135
136
|
Q,
|
|
136
137
|
{
|
|
137
|
-
onClose: () =>
|
|
138
|
+
onClose: () => r(!1),
|
|
138
139
|
showConnectWidget: e,
|
|
139
|
-
title:
|
|
140
|
+
title: l.mini_title
|
|
140
141
|
}
|
|
141
142
|
)
|
|
142
143
|
] });
|
|
143
144
|
}, q = _(U);
|
|
144
145
|
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:
|
|
146
|
-
const { isDesktop: i, isMobile:
|
|
147
|
-
|
|
148
|
-
b(
|
|
149
|
-
}, [
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
146
|
+
const J = ({ widgets: e, isLoading: r }) => {
|
|
147
|
+
const { isDesktop: i, isMobile: u } = z(), { copyStore: g } = A(), { setSelectedAccounts: b } = M(), { visibleAccounts: o } = C();
|
|
148
|
+
c.useEffect(() => {
|
|
149
|
+
b(o);
|
|
150
|
+
}, [o]), E({
|
|
151
|
+
widgetName: "Dashboard",
|
|
152
|
+
isLoaded: !r
|
|
153
|
+
});
|
|
154
|
+
const l = c.useMemo(
|
|
155
|
+
() => e.filter((n) => n.location !== f.Disabled).sort((n, w) => n.index - w.index),
|
|
154
156
|
[e]
|
|
155
|
-
),
|
|
156
|
-
() =>
|
|
157
|
-
[
|
|
158
|
-
),
|
|
159
|
-
() =>
|
|
160
|
-
[
|
|
157
|
+
), m = c.useMemo(
|
|
158
|
+
() => l.filter((n) => n.location === f.Main),
|
|
159
|
+
[l]
|
|
160
|
+
), x = c.useMemo(
|
|
161
|
+
() => l.filter((n) => n.location === f.RightSide),
|
|
162
|
+
[l]
|
|
161
163
|
);
|
|
162
|
-
return /* @__PURE__ */
|
|
164
|
+
return /* @__PURE__ */ a(h, { container: !0, spacing: u ? 0 : 24, sx: { overflow: "scroll" }, children: [
|
|
163
165
|
/* @__PURE__ */ t(h, { xs: 12, children: g.isInitialized && /* @__PURE__ */ t(q, {}) }),
|
|
164
|
-
/* @__PURE__ */
|
|
165
|
-
/* @__PURE__ */ t(
|
|
166
|
-
|
|
167
|
-
/* @__PURE__ */ t(
|
|
168
|
-
/* @__PURE__ */ t(
|
|
169
|
-
/* @__PURE__ */ t(
|
|
166
|
+
/* @__PURE__ */ a(h, { lg: 8, xs: 12, children: [
|
|
167
|
+
/* @__PURE__ */ t(N, {}),
|
|
168
|
+
r && /* @__PURE__ */ a(s, { direction: "column", spacing: 24, children: [
|
|
169
|
+
/* @__PURE__ */ t(d, { height: 100, variant: "rounded", width: "100%" }),
|
|
170
|
+
/* @__PURE__ */ t(d, { height: 300, variant: "rounded", width: "100%" }),
|
|
171
|
+
/* @__PURE__ */ t(d, { height: 300, variant: "rounded", width: "100%" })
|
|
170
172
|
] }),
|
|
171
|
-
!
|
|
173
|
+
!r && /* @__PURE__ */ t(s, { direction: "column", spacing: 24, children: i ? m.map((n) => /* @__PURE__ */ t(c.Fragment, { children: n.component }, n.index)) : l.map((n) => /* @__PURE__ */ t(c.Fragment, { children: n.component }, n.index)) })
|
|
172
174
|
] }),
|
|
173
|
-
i && /* @__PURE__ */ t(h, { lg: 4, children:
|
|
174
|
-
/* @__PURE__ */ t(
|
|
175
|
-
/* @__PURE__ */ t(
|
|
176
|
-
/* @__PURE__ */ t(
|
|
177
|
-
] }) : /* @__PURE__ */ t(
|
|
175
|
+
i && /* @__PURE__ */ t(h, { lg: 4, children: r ? /* @__PURE__ */ a(s, { direction: "column", spacing: 24, children: [
|
|
176
|
+
/* @__PURE__ */ t(d, { height: 200, variant: "rounded", width: "100%" }),
|
|
177
|
+
/* @__PURE__ */ t(d, { height: 100, variant: "rounded", width: "100%" }),
|
|
178
|
+
/* @__PURE__ */ t(d, { height: 300, variant: "rounded", width: "100%" })
|
|
179
|
+
] }) : /* @__PURE__ */ t(s, { direction: "column", spacing: 24, children: x.map((n) => /* @__PURE__ */ t(c.Fragment, { children: n.component }, n.index)) }) })
|
|
178
180
|
] });
|
|
179
|
-
},
|
|
181
|
+
}, pt = _(J);
|
|
180
182
|
export {
|
|
181
|
-
|
|
183
|
+
pt as Dashboard,
|
|
182
184
|
f as DashboardLocation
|
|
183
185
|
};
|
package/dist/debts/index.es.js
CHANGED
|
@@ -8,30 +8,30 @@ import { intervalToDuration as Ae, formatDuration as Ee } from "date-fns";
|
|
|
8
8
|
import { addMonths as se } from "date-fns/addMonths";
|
|
9
9
|
import { fromUnixTime as ce } from "date-fns/fromUnixTime";
|
|
10
10
|
import { getUnixTime as de } from "date-fns/getUnixTime";
|
|
11
|
-
import { D as P, M as Ie, I as Be } from "../DebtsStore-
|
|
12
|
-
import { a as Lr } from "../DebtsStore-
|
|
11
|
+
import { D as P, M as Ie, I as Be } from "../DebtsStore-CFk9t-Ky.mjs";
|
|
12
|
+
import { a as Lr } from "../DebtsStore-CFk9t-Ky.mjs";
|
|
13
13
|
import { f as k, a as Me } from "../NumberFormatting-DjTD0t3W.mjs";
|
|
14
14
|
import { f as U, a as q } from "../Dialog-BPTr3qHE.mjs";
|
|
15
|
-
import { G as Pe, x as Z,
|
|
15
|
+
import { G as Pe, x as Z, a as S, l as V, u as F, e as J, o as ke, c as Ne } from "../hooks-DtrRa6Lb.mjs";
|
|
16
16
|
import { u as Y } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
17
17
|
import { D as re } from "../Drawer-BEtCk82g.mjs";
|
|
18
18
|
import { b as I } from "../Localization-2MODESHW.mjs";
|
|
19
|
-
import { A as Fe, u as Re } from "../AccountDetailsHeader-
|
|
19
|
+
import { A as Fe, u as Re } from "../AccountDetailsHeader-CCkHHK_n.mjs";
|
|
20
20
|
import Le from "@mui/material/Card";
|
|
21
21
|
import $e from "@mui/material/CardContent";
|
|
22
22
|
import He from "@mui/material/CardHeader";
|
|
23
23
|
import { LineChart as Oe } from "@mui/x-charts";
|
|
24
24
|
import ae from "@mui/material/Box";
|
|
25
25
|
import { useTheme as We } from "@mui/material/styles";
|
|
26
|
-
import { A as T, W as Ge } from "../WidgetContainer-
|
|
26
|
+
import { A as T, W as Ge } from "../WidgetContainer-DR_iRKNU.mjs";
|
|
27
27
|
import pe from "@mui/material/Tab";
|
|
28
28
|
import je from "@mui/material/Tabs";
|
|
29
29
|
import ye from "@mui/material/List";
|
|
30
30
|
import G from "@mui/material/Divider";
|
|
31
|
-
import { M as ze, I as Xe, O as Ve } from "../OriginalBalanceAction-
|
|
31
|
+
import { M as ze, I as Xe, O as Ve } from "../OriginalBalanceAction-BmSYWwSx.mjs";
|
|
32
32
|
import Ye from "@mui/material/TextField";
|
|
33
|
-
import { L as Q } from "../ListItemAction-
|
|
34
|
-
import { C as ne } from "../CurrencyInput-
|
|
33
|
+
import { L as Q } from "../ListItemAction-Dob72eoG.mjs";
|
|
34
|
+
import { C as ne } from "../CurrencyInput-BnaVaZBU.mjs";
|
|
35
35
|
import me from "@mui/material/Alert";
|
|
36
36
|
import he from "@mui/material/AlertTitle";
|
|
37
37
|
import ue from "@mui/material/Paper";
|
|
@@ -39,7 +39,7 @@ import { Error as Ke, CheckCircle as fe } from "@mxenabled/mx-icons";
|
|
|
39
39
|
import { T as be } from "../TabContentContainer-j01JYR_7.mjs";
|
|
40
40
|
import { DataGridPro as Ue } from "@mui/x-data-grid-pro";
|
|
41
41
|
import { H as j } from "../HeaderCell-DjuifqHJ.mjs";
|
|
42
|
-
import { f as qe } from "../ConnectDrawer-
|
|
42
|
+
import { f as qe } from "../ConnectDrawer-g2IXvoSS.mjs";
|
|
43
43
|
import xe from "@mui/material/Button";
|
|
44
44
|
import Ze from "@mui/material/IconButton";
|
|
45
45
|
import Je 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, a as g } from "./Dialog-BPTr3qHE.mjs";
|
|
4
|
-
import { T as m } from "./User-
|
|
4
|
+
import { T as m } from "./User-BmdvAL7I.mjs";
|
|
5
5
|
function f(t) {
|
|
6
6
|
return new Set(
|
|
7
7
|
t.filter((n) => n.parent_guid !== void 0).map((n) => n.parent_guid)
|
|
@@ -9,14 +9,14 @@ import { g as fn, a as xn, r as et, b as Sn, c as Ne, d as mt, C as ke, e as Me,
|
|
|
9
9
|
import { y as xi, F as Si } from "../FinstrongStore-BIrX0Xg2.mjs";
|
|
10
10
|
import * as ot from "d3";
|
|
11
11
|
import { observer as v } from "mobx-react-lite";
|
|
12
|
-
import {
|
|
12
|
+
import { a as x, c as q, b as je, p as J, z as L, q as Fn, e as xe, m as Ke, g as Rn, j as Ve, h as Ln, i as Pn, o as Bn } from "../hooks-DtrRa6Lb.mjs";
|
|
13
13
|
import { L as ee } from "../Loader-DUaFpDGv.mjs";
|
|
14
14
|
import m from "react";
|
|
15
15
|
import B from "@mui/material/Button";
|
|
16
16
|
import Y from "@mui/material/Card";
|
|
17
|
-
import { L as Ye } from "../LineChart-
|
|
18
|
-
import { C as St } from "../ConnectionsDrawer-
|
|
19
|
-
import { l as re, g as Ct, A as Ge } from "../ConnectDrawer-
|
|
17
|
+
import { L as Ye } from "../LineChart-B7MftxPX.mjs";
|
|
18
|
+
import { C as St } from "../ConnectionsDrawer-vSEOHrUC.mjs";
|
|
19
|
+
import { l as re, g as Ct, A as Ge } from "../ConnectDrawer-g2IXvoSS.mjs";
|
|
20
20
|
import se from "@mui/material/Tab";
|
|
21
21
|
import Xe from "@mui/material/Tabs";
|
|
22
22
|
import Fe from "@mui/material/TextField";
|
|
@@ -29,7 +29,7 @@ import le from "@mui/material/Divider";
|
|
|
29
29
|
import ge from "@mui/material/ListItem";
|
|
30
30
|
import wt from "@mui/material/ListItemAvatar";
|
|
31
31
|
import ye from "@mui/material/ListItemText";
|
|
32
|
-
import { g as kt } from "../AccountFields-
|
|
32
|
+
import { g as kt } from "../AccountFields-DdOw6d6w.mjs";
|
|
33
33
|
import Ee from "@mui/material/List";
|
|
34
34
|
import En from "@mui/material/ListItemButton";
|
|
35
35
|
import Hn from "@mui/material/ListSubheader";
|
|
@@ -38,7 +38,7 @@ import { b as K } from "../Localization-2MODESHW.mjs";
|
|
|
38
38
|
import { S as rt, F as Mt, e as Nn, R as Dt } from "../RecurringTransactions-BqijW_8S.mjs";
|
|
39
39
|
import { S as jn } from "../StatusBar-BK_uYHAB.mjs";
|
|
40
40
|
import { h as It } from "../DateUtil-CBdcsyuk.mjs";
|
|
41
|
-
import { T as Kn, s as Vn, h as Yn, S as Xn, c as qn } from "../TransactionDetails-
|
|
41
|
+
import { T as Kn, s as Vn, h as Yn, S as Xn, c as qn } from "../TransactionDetails-DnLXfvDL.mjs";
|
|
42
42
|
import { T as ce } from "../TabContentContainer-j01JYR_7.mjs";
|
|
43
43
|
import { E as Re } from "../EmptyState-DoxNUae-.mjs";
|
|
44
44
|
import Un from "@mui/material/useMediaQuery";
|
|
@@ -48,15 +48,15 @@ import { ResponsiveChartContainer as Jn } from "@mui/x-charts/ResponsiveChartCon
|
|
|
48
48
|
import { useSpring as eo, animated as at } from "@react-spring/web";
|
|
49
49
|
import { startOfMonth as At } from "date-fns/startOfMonth";
|
|
50
50
|
import { endOfMonth as Tt } from "date-fns/endOfMonth";
|
|
51
|
-
import { g as to, S as no, b as oo } from "../SpendingLegend-
|
|
51
|
+
import { g as to, S as no, b as oo } from "../SpendingLegend-CbNAMdPH.mjs";
|
|
52
52
|
import { formatISO as ro } from "date-fns/formatISO";
|
|
53
53
|
import { fromUnixTime as ao } from "date-fns/fromUnixTime";
|
|
54
54
|
import { startOfToday as it } from "date-fns/startOfToday";
|
|
55
55
|
import { subDays as io } from "date-fns/subDays";
|
|
56
|
-
import { c as so, d as st, S as co, i as lo } from "../ManageIncome-
|
|
56
|
+
import { c as so, d as st, S as co, i as lo } from "../ManageIncome-DlAUFShc.mjs";
|
|
57
57
|
import { LocalizationProvider as po, DatePicker as _o, StaticDatePicker as ho } from "@mui/x-date-pickers";
|
|
58
58
|
import { AdapterDateFns as Ot } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
59
|
-
import { R as uo } from "../RecurringSettings-
|
|
59
|
+
import { R as uo } from "../RecurringSettings-CZvd4Wuv.mjs";
|
|
60
60
|
import { LocalizationProvider as mo } from "@mui/x-date-pickers/LocalizationProvider";
|
|
61
61
|
import { format as go } from "date-fns/format";
|
|
62
62
|
import yo from "@mui/lab/Timeline";
|
|
@@ -69,7 +69,7 @@ import wo from "@mui/material/Accordion";
|
|
|
69
69
|
import ko from "@mui/material/AccordionDetails";
|
|
70
70
|
import Mo from "@mui/material/AccordionSummary";
|
|
71
71
|
import Do from "@mui/material/CardHeader";
|
|
72
|
-
import { W as Io } from "../WidgetContainer-
|
|
72
|
+
import { W as Io } from "../WidgetContainer-DR_iRKNU.mjs";
|
|
73
73
|
const Ao = ({
|
|
74
74
|
dialScoreData: t,
|
|
75
75
|
dataIndex: o,
|