@mx-cartographer/experiences 7.1.1 → 7.1.2
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 +5 -0
- package/dist/{Account-DoxALziV.mjs → Account-8IUM_CLv.mjs} +1 -1
- package/dist/{AccountDetailsContent-BpY7i5Vt.mjs → AccountDetailsContent-CuZSSAEc.mjs} +6 -6
- package/dist/{AccountDetailsHeader-D0FKqNmV.mjs → AccountDetailsHeader-BZBsIKdF.mjs} +4 -4
- package/dist/{AccountFields-CgkCSvJV.mjs → AccountFields-BD_0GT68.mjs} +2 -2
- package/dist/{AccountListItem-DbpLvx5I.mjs → AccountListItem-CllIBCao.mjs} +3 -3
- package/dist/{AccountStore-DWiQAs6V.mjs → AccountStore-BL0FE1QL.mjs} +53 -45
- package/dist/{Accounts-CNnOAmr2.mjs → Accounts-Bvc9TJaO.mjs} +1 -1
- package/dist/{ConnectDrawer-DJA_S-rX.mjs → ConnectDrawer-CPTXh70j.mjs} +7 -7
- package/dist/{ConnectionsDrawer-CU3E2RLw.mjs → ConnectionsDrawer-Dkb4vBmt.mjs} +1 -1
- package/dist/{DebtsStore-CoZ30R-_.mjs → DebtsStore-D4grpB4m.mjs} +1 -1
- package/dist/{GoalStore-BgiYFwWB.mjs → GoalStore-B5MZzPLZ.mjs} +1 -1
- package/dist/{ManageIncome-BXlzeXk6.mjs → ManageIncome-DUuT-yMV.mjs} +2 -2
- package/dist/{NetWorthStore-f6RQno5Z.mjs → NetWorthStore-Do1Gk8Te.mjs} +2 -2
- package/dist/{RecurringSettings-1t4mROQZ.mjs → RecurringSettings-BVOt46uV.mjs} +2 -2
- package/dist/{TransactionDetails-B2Z5S7FM.mjs → TransactionDetails-_cXLXTd3.mjs} +1 -1
- package/dist/{WidgetContainer-B8MRJ5Y1.mjs → WidgetContainer-DtPnPQZY.mjs} +9 -9
- package/dist/accounts/index.es.js +11 -11
- package/dist/accounts/stores/AccountStore.d.ts +2 -0
- package/dist/budgets/index.es.js +4 -4
- package/dist/cashflow/index.es.js +5 -5
- package/dist/common/index.es.js +9 -9
- package/dist/dashboard/index.es.js +6 -6
- package/dist/debts/index.es.js +5 -5
- package/dist/finstrong/index.es.js +4 -4
- package/dist/goals/index.es.js +48 -48
- package/dist/help/index.es.js +1 -1
- package/dist/investments/index.es.js +2 -2
- package/dist/networth/index.es.js +4 -4
- package/dist/recurringtransactions/index.es.js +5 -5
- package/dist/settings/index.es.js +1 -1
- package/dist/spending/index.es.js +2 -2
- package/dist/transactions/index.es.js +4 -4
- package/dist/trends/index.es.js +3 -3
- package/dist/{useAccountDisplayName-CyPD_TFR.mjs → useAccountDisplayName-BXGkZN5B.mjs} +1 -1
- package/package.json +1 -1
package/dist/common/index.es.js
CHANGED
|
@@ -12,8 +12,8 @@ import { H as ot } from "../Help-DhcC-C05.mjs";
|
|
|
12
12
|
import { E as ys } from "../Help-DhcC-C05.mjs";
|
|
13
13
|
import { M as bs } from "../MicroWidgetContainer-C4QQHfD7.mjs";
|
|
14
14
|
import { M as xs } from "../MiniWidgetContainer-DTQdRK-3.mjs";
|
|
15
|
-
import { A as vs, D as Ds, W as As } from "../WidgetContainer-
|
|
16
|
-
import {
|
|
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
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";
|
|
@@ -25,8 +25,8 @@ 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-
|
|
29
|
-
import { C as pr, G as mr, M as _r, T as fr } from "../GoalStore-
|
|
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
32
|
import { L as Cr } from "../ListItemAction-DSrYDGAP.mjs";
|
|
@@ -44,18 +44,18 @@ import { D as Hr, a as Fr, O as Wr, b as qr, f as Yr } from "../Dialog-CWW597AF.
|
|
|
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-
|
|
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
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-
|
|
54
|
+
import { u as zo } from "../useAccountDisplayName-BXGkZN5B.mjs";
|
|
55
55
|
import { u as jo } from "../useInsightsEnabled-DSnpkUq0.mjs";
|
|
56
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-
|
|
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";
|
|
@@ -63,11 +63,11 @@ import { startOfMonth as J } from "date-fns/startOfMonth";
|
|
|
63
63
|
import { startOfToday as U } from "date-fns/startOfToday";
|
|
64
64
|
import { f as bt, a as wt, b as L } from "../BudgetUtil-psfk-Amb.mjs";
|
|
65
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-
|
|
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-
|
|
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";
|
|
@@ -12,9 +12,9 @@ import { useMediaQuery as W } from "@mui/system";
|
|
|
12
12
|
import I from "@mui/material/Box";
|
|
13
13
|
import T from "@mui/material/Button";
|
|
14
14
|
import $ from "@mui/material/IconButton";
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import {
|
|
15
|
+
import H from "@mui/material/Tooltip";
|
|
16
|
+
import R from "@mui/material/useMediaQuery";
|
|
17
|
+
import { k as j, l as Q } from "../ConnectDrawer-CPTXh70j.mjs";
|
|
18
18
|
import { u as z } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
19
19
|
const E = _(() => {
|
|
20
20
|
const e = k(), {
|
|
@@ -56,8 +56,8 @@ const E = _(() => {
|
|
|
56
56
|
}
|
|
57
57
|
) : null;
|
|
58
58
|
}), P = ({ handleConnectClick: e }) => {
|
|
59
|
-
const { common: c } = v(), i =
|
|
60
|
-
return /* @__PURE__ */ t(I, { my: 4, children: i ? /* @__PURE__ */ t(
|
|
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
61
|
$,
|
|
62
62
|
{
|
|
63
63
|
"aria-controls": "add_accounts",
|
|
@@ -113,7 +113,7 @@ const E = _(() => {
|
|
|
113
113
|
/* @__PURE__ */ a(s, { flexDirection: "row", children: [
|
|
114
114
|
m.show_connections_widget_in_master && /* @__PURE__ */ t(N, { handleConnectClick: () => c(!0) }),
|
|
115
115
|
/* @__PURE__ */ t(
|
|
116
|
-
|
|
116
|
+
j,
|
|
117
117
|
{
|
|
118
118
|
accounts: d,
|
|
119
119
|
copy: n,
|
package/dist/debts/index.es.js
CHANGED
|
@@ -8,22 +8,22 @@ 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-
|
|
12
|
-
import { a as Fr } from "../DebtsStore-
|
|
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
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-
|
|
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-
|
|
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";
|
|
@@ -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-
|
|
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";
|
|
@@ -23,14 +23,14 @@ 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
25
|
import { L as be } from "../LineChart-B35qvXik.mjs";
|
|
26
|
-
import {
|
|
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-
|
|
33
|
-
import { R as Je } from "../RecurringSettings-
|
|
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-
|
|
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,
|
package/dist/goals/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as ue, T as d, G as me, a as We, M as J, C as ye, b as Pe } from "../GoalStore-
|
|
2
|
-
import { c as Yn, d as Zn } from "../GoalStore-
|
|
1
|
+
import { g as ue, T as d, G as me, a as We, M as J, C as ye, b as Pe } from "../GoalStore-B5MZzPLZ.mjs";
|
|
2
|
+
import { c as Yn, d as Zn } from "../GoalStore-B5MZzPLZ.mjs";
|
|
3
3
|
import { jsxs as r, jsx as e, Fragment as U } from "react/jsx-runtime";
|
|
4
4
|
import y from "react";
|
|
5
5
|
import { observer as D } from "mobx-react-lite";
|
|
@@ -16,10 +16,10 @@ import Ce from "@mui/material/CardContent";
|
|
|
16
16
|
import ge from "@mui/material/Unstable_Grid2";
|
|
17
17
|
import oe from "@mui/material/Avatar";
|
|
18
18
|
import $e from "@mui/material/CardHeader";
|
|
19
|
-
import { Payments as Se, NoteStack as Re, Person as Ee, ChevronRight as M, DragHandle as Xe, CheckCircle as Ue, Icon as be, ExpandLess as Ye, ExpandMore as Ze, AddBox as
|
|
20
|
-
import { u as C, l as I, a as
|
|
19
|
+
import { Payments as Se, NoteStack as Re, Person as Ee, ChevronRight as M, DragHandle as Xe, CheckCircle as Ue, Icon as be, ExpandLess as Ye, ExpandMore as Ze, AddBox as xe, Trophy as qe } from "@mxenabled/mx-icons";
|
|
20
|
+
import { u as C, l as I, a as ve, d as V, o as Ie, g as Ge, b as Ne } from "../hooks-CE2TKk4a.mjs";
|
|
21
21
|
import { u as he } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
22
|
-
import { f as
|
|
22
|
+
import { f as x } from "../NumberFormatting-Buh7u8Oi.mjs";
|
|
23
23
|
import { S as Je } from "../StatusBar-BK_uYHAB.mjs";
|
|
24
24
|
import E from "@mui/material/Divider";
|
|
25
25
|
import L from "@mui/material/List";
|
|
@@ -34,13 +34,13 @@ import { D as j } from "../Drawer-kEE73B87.mjs";
|
|
|
34
34
|
import { b as B } from "../Localization-2MODESHW.mjs";
|
|
35
35
|
import { f as ae, D as re, a as et } from "../Dialog-CWW597AF.mjs";
|
|
36
36
|
import P from "@mui/material/ListItemAvatar";
|
|
37
|
-
import { g as we, A as fe } from "../ConnectDrawer-
|
|
37
|
+
import { g as we, A as fe } from "../ConnectDrawer-CPTXh70j.mjs";
|
|
38
38
|
import tt from "@mui/material/Collapse";
|
|
39
39
|
import nt from "@mui/material/ListItemIcon";
|
|
40
40
|
import ot from "@mui/material/Checkbox";
|
|
41
|
-
import { u as at, A as rt } from "../AccountDetailsHeader-
|
|
42
|
-
import { A as it } from "../AccountDetailsContent-
|
|
43
|
-
import { u as st } from "../useAccountDisplayName-
|
|
41
|
+
import { u as at, A as rt } from "../AccountDetailsHeader-BZBsIKdF.mjs";
|
|
42
|
+
import { A as it } from "../AccountDetailsContent-CuZSSAEc.mjs";
|
|
43
|
+
import { u as st } from "../useAccountDisplayName-BXGkZN5B.mjs";
|
|
44
44
|
import De from "@mui/material/TextField";
|
|
45
45
|
import { M as lt, I as ct, O as dt } from "../OriginalBalanceAction-BsxcvNEF.mjs";
|
|
46
46
|
import { getUnixTime as mt } from "date-fns/getUnixTime";
|
|
@@ -48,7 +48,7 @@ import { isValid as ut } from "date-fns/isValid";
|
|
|
48
48
|
import { AdapterDateFns as _t } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
49
49
|
import { DatePicker as pt } from "@mui/x-date-pickers";
|
|
50
50
|
import { LocalizationProvider as ht } from "@mui/x-date-pickers/LocalizationProvider";
|
|
51
|
-
import { A as Y, W as gt } from "../WidgetContainer-
|
|
51
|
+
import { A as Y, W as gt } from "../WidgetContainer-DtPnPQZY.mjs";
|
|
52
52
|
import { L as Ke } from "../Loader-DUaFpDGv.mjs";
|
|
53
53
|
import { E as bt } from "../EmptyState-DA_lfRBv.mjs";
|
|
54
54
|
import ft from "@mui/material/Stack/Stack";
|
|
@@ -62,10 +62,10 @@ function ce({ title: t, subtitle: n }) {
|
|
|
62
62
|
/* @__PURE__ */ e(A, { sx: { fontWeight: 400 }, variant: "Body", children: n })
|
|
63
63
|
] });
|
|
64
64
|
}
|
|
65
|
-
const St = (t, n) => n ?
|
|
65
|
+
const St = (t, n) => n ? x(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
66
66
|
/(\d+)(?:\.0+|(\.\d*?[1-9])0*)([a-zA-Z]* ?\$?)/g,
|
|
67
67
|
"$1$2$3"
|
|
68
|
-
) :
|
|
68
|
+
) : x(t, "0,0.00"), Me = D(
|
|
69
69
|
({ goal: t, isInDrawer: n = !1, onClick: i }) => {
|
|
70
70
|
const { goals: s } = C(), { isMobile: p, isTablet: a } = he(), _ = p || a, {
|
|
71
71
|
backgroundColor: g,
|
|
@@ -85,7 +85,7 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
85
85
|
$e,
|
|
86
86
|
{
|
|
87
87
|
avatar: /* @__PURE__ */ e(oe, { sx: { bgcolor: g, color: l, height: 48, width: 48 }, variant: "rounded", children: b }),
|
|
88
|
-
subheader: /* @__PURE__ */ e(A, { variant: n || _ ? "H3" : "H2", children: `${
|
|
88
|
+
subheader: /* @__PURE__ */ e(A, { variant: n || _ ? "H3" : "H2", children: `${x(t.current_amount, _ ? "0,0" : "0,0.00")} / ${St(
|
|
89
89
|
c,
|
|
90
90
|
_
|
|
91
91
|
)}` }),
|
|
@@ -119,7 +119,7 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
119
119
|
onCancel: () => g(a),
|
|
120
120
|
onSave: l,
|
|
121
121
|
primaryText: n.contribution_label,
|
|
122
|
-
secondaryText:
|
|
122
|
+
secondaryText: x(a, "0,0.00"),
|
|
123
123
|
children: /* @__PURE__ */ e(
|
|
124
124
|
ke,
|
|
125
125
|
{
|
|
@@ -164,7 +164,7 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
164
164
|
minWidth: 140,
|
|
165
165
|
renderCell: (u) => {
|
|
166
166
|
const b = u.row;
|
|
167
|
-
return /* @__PURE__ */ e(A, { bold: !0, sx: { mr: 12 }, variant: "Body", children:
|
|
167
|
+
return /* @__PURE__ */ e(A, { bold: !0, sx: { mr: 12 }, variant: "Body", children: x(b.amount, "0,0.00") });
|
|
168
168
|
},
|
|
169
169
|
sortable: !1
|
|
170
170
|
}
|
|
@@ -232,7 +232,7 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
232
232
|
}
|
|
233
233
|
)
|
|
234
234
|
] });
|
|
235
|
-
},
|
|
235
|
+
}, xt = ({ goal: t, index: n }) => {
|
|
236
236
|
const { goals: i } = C(), { percentage: s } = ue(i, t), p = t.goal_type === me.KEEP_BALANCE_BELOW || t.has_been_spent ? i.goal_completed : B(i.goal_percentage_reached, `${s * 100}`);
|
|
237
237
|
return /* @__PURE__ */ e(N, { children: /* @__PURE__ */ r(k, { children: [
|
|
238
238
|
t.track_type !== d.RETIREMENT_TRACK && /* @__PURE__ */ e(
|
|
@@ -258,10 +258,10 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
258
258
|
)
|
|
259
259
|
) })
|
|
260
260
|
] }),
|
|
261
|
-
/* @__PURE__ */ e(A, { bold: !0, variant: "Body", children:
|
|
261
|
+
/* @__PURE__ */ e(A, { bold: !0, variant: "Body", children: x(t.amount, "0,0.00") })
|
|
262
262
|
] }) })
|
|
263
263
|
] }) });
|
|
264
|
-
},
|
|
264
|
+
}, vt = ({ goal: t }) => {
|
|
265
265
|
const { goals: n } = C();
|
|
266
266
|
return /* @__PURE__ */ e(N, { children: /* @__PURE__ */ r(k, { children: [
|
|
267
267
|
/* @__PURE__ */ e(P, { sx: { alignItems: "center", display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ e(Ue, { color: "success", filled: !0, size: 20 }) }),
|
|
@@ -276,7 +276,7 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
276
276
|
)
|
|
277
277
|
) })
|
|
278
278
|
] }),
|
|
279
|
-
/* @__PURE__ */ e(A, { bold: !0, variant: "Body", children:
|
|
279
|
+
/* @__PURE__ */ e(A, { bold: !0, variant: "Body", children: x(t.amount, "0,0.00") })
|
|
280
280
|
] }) })
|
|
281
281
|
] }) }, t.guid);
|
|
282
282
|
}, It = ({ trackType: t }) => {
|
|
@@ -306,7 +306,7 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
306
306
|
a.map((u, b) => {
|
|
307
307
|
const T = b >= a.length - 1;
|
|
308
308
|
return /* @__PURE__ */ r(f, { children: [
|
|
309
|
-
/* @__PURE__ */ e(
|
|
309
|
+
/* @__PURE__ */ e(xt, { goal: u, index: b }),
|
|
310
310
|
/* @__PURE__ */ e(
|
|
311
311
|
E,
|
|
312
312
|
{
|
|
@@ -325,7 +325,7 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
325
325
|
/* @__PURE__ */ e(L, { sx: { bgcolor: "background.paper" }, children: _.map((u, b) => {
|
|
326
326
|
const T = b > a.length - 1;
|
|
327
327
|
return /* @__PURE__ */ r(f, { children: [
|
|
328
|
-
/* @__PURE__ */ e(
|
|
328
|
+
/* @__PURE__ */ e(vt, { goal: u }),
|
|
329
329
|
/* @__PURE__ */ e(E, { variant: T ? "fullWidth" : "inset" })
|
|
330
330
|
] }, `complete-${u.guid}`);
|
|
331
331
|
}) })
|
|
@@ -397,7 +397,7 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
397
397
|
/* @__PURE__ */ e(He, { color: "success", fill: !0, name: "check_circle", size: 20 }),
|
|
398
398
|
/* @__PURE__ */ e(A, { color: "text.secondary", variant: "Body", children: o.name })
|
|
399
399
|
] }),
|
|
400
|
-
/* @__PURE__ */ e(A, { bold: !0, variant: "Body", children:
|
|
400
|
+
/* @__PURE__ */ e(A, { bold: !0, variant: "Body", children: x(o.amount, "0,0.00") })
|
|
401
401
|
] }) }) }) }, o.guid))
|
|
402
402
|
] })
|
|
403
403
|
] });
|
|
@@ -440,7 +440,7 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
440
440
|
onSave: s,
|
|
441
441
|
title: p
|
|
442
442
|
}) => {
|
|
443
|
-
const { goals: a, common: _ } = C(), { config: g } =
|
|
443
|
+
const { goals: a, common: _ } = C(), { config: g } = ve(), [l, h] = y.useState([]), o = (m) => {
|
|
444
444
|
const c = l.findIndex((b) => b.guid === m.guid), u = [...l];
|
|
445
445
|
c >= 0 ? u.splice(c, 1) : u.push(m), h(u);
|
|
446
446
|
};
|
|
@@ -471,7 +471,7 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
471
471
|
primary: we(m, {
|
|
472
472
|
allowNickname: g?.show_account_nicknames_in_master
|
|
473
473
|
}),
|
|
474
|
-
secondary:
|
|
474
|
+
secondary: x(m.balance || 0, "0,0.00")
|
|
475
475
|
}
|
|
476
476
|
),
|
|
477
477
|
/* @__PURE__ */ e(ot, { checked: l.some((u) => u.guid === m.guid) })
|
|
@@ -491,7 +491,7 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
491
491
|
}
|
|
492
492
|
);
|
|
493
493
|
}, Nt = ({ onClose: t }) => {
|
|
494
|
-
const { goals: n } = C(), { addGoal: i, debtGoals: s, setAlert: p, setSelectedGoal: a } = I(), { config: _ } =
|
|
494
|
+
const { goals: n } = C(), { addGoal: i, debtGoals: s, setAlert: p, setSelectedGoal: a } = I(), { config: _ } = ve(), { visibleDebtAccounts: g } = V(), [l, h] = y.useState(!1), o = Pe(n), m = (u, b, T) => {
|
|
495
495
|
T === d.DEBT_TRACK ? h(!0) : a({
|
|
496
496
|
amount: 0,
|
|
497
497
|
current_amount: 0,
|
|
@@ -551,7 +551,7 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
551
551
|
w,
|
|
552
552
|
{
|
|
553
553
|
primary: i,
|
|
554
|
-
secondary:
|
|
554
|
+
secondary: x(t.balance || 0, "0,0.00")
|
|
555
555
|
}
|
|
556
556
|
),
|
|
557
557
|
/* @__PURE__ */ e(M, {})
|
|
@@ -579,7 +579,7 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
579
579
|
onCancel: m,
|
|
580
580
|
onSave: o,
|
|
581
581
|
primaryText: n.details_amount_to_save,
|
|
582
|
-
secondaryText:
|
|
582
|
+
secondaryText: x(t.amount, "0,0"),
|
|
583
583
|
zeroStateText: g && t.amount === 0 ? n.add_amount : void 0,
|
|
584
584
|
children: /* @__PURE__ */ e(
|
|
585
585
|
ke,
|
|
@@ -603,7 +603,7 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
603
603
|
return /* @__PURE__ */ r(f, { children: [
|
|
604
604
|
l && !t.account_guid ? /* @__PURE__ */ e(N, { disableGutters: !0, disablePadding: !0, sx: { bgcolor: "background.paper" }, children: /* @__PURE__ */ r(k, { onClick: () => o(!0), children: [
|
|
605
605
|
/* @__PURE__ */ e(w, { children: /* @__PURE__ */ r(f, { alignItems: "center", color: "primary.main", direction: "row", gap: 8, children: [
|
|
606
|
-
/* @__PURE__ */ e(
|
|
606
|
+
/* @__PURE__ */ e(xe, { filled: !0 }),
|
|
607
607
|
p.details_add_account
|
|
608
608
|
] }) }),
|
|
609
609
|
/* @__PURE__ */ e(M, { color: "primary" })
|
|
@@ -633,7 +633,7 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
633
633
|
w,
|
|
634
634
|
{
|
|
635
635
|
primary: c?.name || c?.feed_name,
|
|
636
|
-
secondary:
|
|
636
|
+
secondary: x(c?.balance || 0, "0,0.00")
|
|
637
637
|
}
|
|
638
638
|
),
|
|
639
639
|
/* @__PURE__ */ e(M, {})
|
|
@@ -651,7 +651,7 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
651
651
|
w,
|
|
652
652
|
{
|
|
653
653
|
primary: c?.name || c?.feed_name,
|
|
654
|
-
secondary:
|
|
654
|
+
secondary: x(c?.balance || 0, "0,0.00")
|
|
655
655
|
}
|
|
656
656
|
),
|
|
657
657
|
/* @__PURE__ */ e(M, {})
|
|
@@ -758,7 +758,7 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
758
758
|
}
|
|
759
759
|
);
|
|
760
760
|
}), Bt = ({ goal: t }) => {
|
|
761
|
-
const { goals: n } = C(), {
|
|
761
|
+
const { goals: n } = C(), { visibleRetirementAccounts: i } = V(), {
|
|
762
762
|
addRetirementGoalAccount: s,
|
|
763
763
|
newRetirementGoalAccounts: p,
|
|
764
764
|
retirementGoalAccounts: a,
|
|
@@ -771,18 +771,18 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
771
771
|
), b = i.filter(
|
|
772
772
|
(S) => !a.find((R) => R.account_guid === S.guid)
|
|
773
773
|
), T = async (S) => {
|
|
774
|
-
const R = S.map((
|
|
775
|
-
account_guid:
|
|
774
|
+
const R = S.map((v) => ({
|
|
775
|
+
account_guid: v.guid,
|
|
776
776
|
retirement_goal_guid: t.guid
|
|
777
777
|
}));
|
|
778
778
|
if (c)
|
|
779
779
|
l(R);
|
|
780
780
|
else
|
|
781
|
-
for (const
|
|
782
|
-
await s(
|
|
781
|
+
for (const v of R)
|
|
782
|
+
await s(v), g(n.alert_account_added);
|
|
783
783
|
h({
|
|
784
784
|
..._,
|
|
785
|
-
current_amount: S.reduce((
|
|
785
|
+
current_amount: S.reduce((v, F) => v + (F.balance || 0), 0)
|
|
786
786
|
}), m(!1);
|
|
787
787
|
};
|
|
788
788
|
return /* @__PURE__ */ r(f, { children: [
|
|
@@ -792,7 +792,7 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
792
792
|
] }, S.guid)),
|
|
793
793
|
/* @__PURE__ */ e(N, { disableGutters: !0, disablePadding: !0, sx: { bgcolor: "background.paper" }, children: /* @__PURE__ */ r(k, { onClick: () => m(!0), children: [
|
|
794
794
|
/* @__PURE__ */ e(w, { children: /* @__PURE__ */ r(f, { alignItems: "center", color: "primary.main", direction: "row", gap: 8, children: [
|
|
795
|
-
/* @__PURE__ */ e(
|
|
795
|
+
/* @__PURE__ */ e(xe, { filled: !0 }),
|
|
796
796
|
n.details_add_account
|
|
797
797
|
] }) }),
|
|
798
798
|
/* @__PURE__ */ e(M, { color: "primary" })
|
|
@@ -854,7 +854,7 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
854
854
|
t.track_type === d.SAVINGS_TRACK && !t.is_complete && /* @__PURE__ */ e(wt, { goal: t })
|
|
855
855
|
] });
|
|
856
856
|
}), Ot = D(({ onClose: t }) => {
|
|
857
|
-
const {
|
|
857
|
+
const { visibleRetirementAccounts: n } = V(), { goals: i, common: s } = C(), {
|
|
858
858
|
addGoal: p,
|
|
859
859
|
addRetirementGoal: a,
|
|
860
860
|
deleteGoal: _,
|
|
@@ -865,17 +865,17 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
865
865
|
setAlert: m,
|
|
866
866
|
setSelectedGoal: c,
|
|
867
867
|
updateGoal: u
|
|
868
|
-
} = I(), { user: b } = Ie(), [T, S] = y.useState(!1), R = !o?.guid,
|
|
868
|
+
} = I(), { user: b } = Ie(), [T, S] = y.useState(!1), R = !o?.guid, v = o?.track_type === d.SAVINGS_TRACK && o.is_complete && !o.has_been_spent, F = y.useMemo(() => {
|
|
869
869
|
const G = R ? l : h;
|
|
870
870
|
return n.filter(($) => G.some((K) => K.account_guid === $.guid));
|
|
871
871
|
}, [R, n, l, h]), Z = y.useMemo(() => {
|
|
872
872
|
if (!o) return !1;
|
|
873
|
-
if (!R && !
|
|
873
|
+
if (!R && !v) return !0;
|
|
874
874
|
const { account_guid: G, track_type: $, name: K, amount: q, retirement_age: O } = o;
|
|
875
875
|
return $ === d.SAVINGS_TRACK ? G ? !!K && !!q : !1 : $ === d.RETIREMENT_TRACK ? F.length ? !!K && !!q && !!O && !!b.birthday : !1 : !0;
|
|
876
876
|
}, [o, F, b.birthday]);
|
|
877
877
|
let z = s.delete_button, H = () => S(!0);
|
|
878
|
-
R ? (H = () => te(), z = s.save_button) :
|
|
878
|
+
R ? (H = () => te(), z = s.save_button) : v && (H = () => se(), z = i.mark_as_complete_button);
|
|
879
879
|
const te = async () => {
|
|
880
880
|
if (o) {
|
|
881
881
|
const G = o.track_type;
|
|
@@ -900,7 +900,7 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
900
900
|
isPrimaryDisabled: !Z,
|
|
901
901
|
onClose: () => c(void 0),
|
|
902
902
|
onPrimaryAction: H,
|
|
903
|
-
primaryColor: R ||
|
|
903
|
+
primaryColor: R || v ? "primary" : "error",
|
|
904
904
|
primaryText: z,
|
|
905
905
|
secondaryColor: "primary",
|
|
906
906
|
title: i.goal_details,
|
|
@@ -922,15 +922,15 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
922
922
|
)
|
|
923
923
|
] });
|
|
924
924
|
}), Hn = D(({ onBackClick: t, sx: n }) => {
|
|
925
|
-
const { onEvent: i } = Ge(), { isMobile: s } = he(), { visibleAccounts: p } = V(), { isCopyLoaded: a, isInitialized: _, setSelectedAccounts: g } = Ne(), { goals: l, common: h } = C(), { alert: o, goals: m, goalsLoaded: c, loadGoals: u, monthlyCashFlowProfile: b, setAlert: T, retirmentGoals: S } = I(), [R,
|
|
925
|
+
const { onEvent: i } = Ge(), { isMobile: s } = he(), { visibleAccounts: p } = V(), { isCopyLoaded: a, isInitialized: _, setSelectedAccounts: g } = Ne(), { goals: l, common: h } = C(), { alert: o, goals: m, goalsLoaded: c, loadGoals: u, monthlyCashFlowProfile: b, setAlert: T, retirmentGoals: S } = I(), [R, v] = y.useState(0), [F, Z] = y.useState(!1), z = b?.amount_allocated_for_savings_goals || 0, H = b?.amount_allocated_for_debt_goals || 0, te = b?.amount_allocated_for_retirement_goals || 0, ie = a ? B(
|
|
926
926
|
s ? l.tab_subtitle_mobile : l.tab_subtitle,
|
|
927
|
-
|
|
927
|
+
x(z, "0,0")
|
|
928
928
|
) : "", se = a ? B(
|
|
929
929
|
s ? l.tab_subtitle_mobile : l.tab_subtitle,
|
|
930
|
-
|
|
930
|
+
x(H, "0,0")
|
|
931
931
|
) : "", G = a ? B(
|
|
932
932
|
s ? l.tab_subtitle_mobile : l.tab_subtitle,
|
|
933
|
-
|
|
933
|
+
x(te, "0,0")
|
|
934
934
|
) : "";
|
|
935
935
|
y.useEffect(() => {
|
|
936
936
|
g(p), i(Y.GOALS_VIEW);
|
|
@@ -942,7 +942,7 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
942
942
|
}, K = () => {
|
|
943
943
|
Z(!0), i(Y.GOALS_CLICK_ADD);
|
|
944
944
|
}, q = (X) => {
|
|
945
|
-
Z(!1), X === d.SAVINGS_TRACK ?
|
|
945
|
+
Z(!1), X === d.SAVINGS_TRACK ? v(0) : X === d.DEBT_TRACK ? v(1) : X === d.RETIREMENT_TRACK && v(2);
|
|
946
946
|
}, O = y.useMemo(
|
|
947
947
|
() => c && (m.length === 0 || m.every(({ track_type: X }) => !X) && S.length === 0),
|
|
948
948
|
[m, c, S]
|
|
@@ -967,7 +967,7 @@ const St = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
967
967
|
/* @__PURE__ */ r(
|
|
968
968
|
Fe,
|
|
969
969
|
{
|
|
970
|
-
onChange: (X, Oe) =>
|
|
970
|
+
onChange: (X, Oe) => v(Oe),
|
|
971
971
|
sx: { bgcolor: "background.paper" },
|
|
972
972
|
textColor: "primary",
|
|
973
973
|
value: O ? !1 : R,
|
package/dist/help/index.es.js
CHANGED
|
@@ -3,7 +3,7 @@ import { observer as m } from "mobx-react-lite";
|
|
|
3
3
|
import { H as s } from "../Help-CzBAsKA2.mjs";
|
|
4
4
|
import { b as p } from "../hooks-CE2TKk4a.mjs";
|
|
5
5
|
import { L as a } from "../Loader-DUaFpDGv.mjs";
|
|
6
|
-
import { W as n } from "../WidgetContainer-
|
|
6
|
+
import { W as n } from "../WidgetContainer-DtPnPQZY.mjs";
|
|
7
7
|
const x = m(({ onBackClick: o, sx: i }) => {
|
|
8
8
|
const { isCopyLoaded: e, isInitialized: t } = p();
|
|
9
9
|
return !e || !t ? /* @__PURE__ */ r(a, {}) : /* @__PURE__ */ r(n, { onBackClick: o, sx: { p: 16 }, children: /* @__PURE__ */ r(s, { sx: i }) });
|
|
@@ -4,7 +4,7 @@ import { observer as P } from "mobx-react-lite";
|
|
|
4
4
|
import _ from "@mui/material/Stack";
|
|
5
5
|
import Ee from "@mui/material/Tab";
|
|
6
6
|
import Ge from "@mui/material/Tabs";
|
|
7
|
-
import { C as ge } from "../ConnectionsDrawer-
|
|
7
|
+
import { C as ge } from "../ConnectionsDrawer-Dkb4vBmt.mjs";
|
|
8
8
|
import pe from "@mui/material/useMediaQuery";
|
|
9
9
|
import Me from "@mui/material/Box";
|
|
10
10
|
import Ne from "@mui/material/Collapse";
|
|
@@ -17,7 +17,7 @@ import ye from "@mui/material/ToggleButtonGroup";
|
|
|
17
17
|
import { Text as r, H1 as fe, P as ve, InstitutionLogo as ne } from "@mxenabled/mxui";
|
|
18
18
|
import Ue from "@mui/material/Button";
|
|
19
19
|
import { u as E, g as be, s as H, b as Q, d as se } from "../hooks-CE2TKk4a.mjs";
|
|
20
|
-
import { A as z, W as je } from "../WidgetContainer-
|
|
20
|
+
import { A as z, W as je } from "../WidgetContainer-DtPnPQZY.mjs";
|
|
21
21
|
import { a as ze, f as oe } from "../NumberFormatting-Buh7u8Oi.mjs";
|
|
22
22
|
import { u as U } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
23
23
|
import le from "@mui/material/styles/useTheme";
|
|
@@ -19,15 +19,15 @@ import { i as ne } from "../DateUtil-BcuH7ErC.mjs";
|
|
|
19
19
|
import { C as y } from "../CurrencyText-kyC1aseI.mjs";
|
|
20
20
|
import { Button as Te, Stack as Le } from "@mui/material";
|
|
21
21
|
import { format as Ne, fromUnixTime as De, differenceInMonths as Ee } from "date-fns";
|
|
22
|
-
import { g as K } from "../NetWorthStore-
|
|
23
|
-
import { N as Ot } from "../NetWorthStore-
|
|
22
|
+
import { g as K } from "../NetWorthStore-Do1Gk8Te.mjs";
|
|
23
|
+
import { N as Ot } from "../NetWorthStore-Do1Gk8Te.mjs";
|
|
24
24
|
import { Icon as oe } from "@mxenabled/mx-icons";
|
|
25
25
|
import { f as U } from "../NumberFormatting-Buh7u8Oi.mjs";
|
|
26
|
-
import { A as b, W as ke } from "../WidgetContainer-
|
|
26
|
+
import { A as b, W as ke } from "../WidgetContainer-DtPnPQZY.mjs";
|
|
27
27
|
import { L as O } from "../Loader-DUaFpDGv.mjs";
|
|
28
28
|
import { M as Ae } from "../MicroWidgetContainer-C4QQHfD7.mjs";
|
|
29
29
|
import re from "@mui/material/Box";
|
|
30
|
-
import { C as Me } from "../ConnectionsDrawer-
|
|
30
|
+
import { C as Me } from "../ConnectionsDrawer-Dkb4vBmt.mjs";
|
|
31
31
|
import He from "@mui/material/Collapse";
|
|
32
32
|
import V from "@mui/material/ListItemIcon";
|
|
33
33
|
import ie from "@mui/material/styles/useTheme";
|
|
@@ -8,8 +8,8 @@ import { startOfToday as ue } from "date-fns/startOfToday";
|
|
|
8
8
|
import { subDays as me } from "date-fns/subDays";
|
|
9
9
|
import ae from "@mui/material/Skeleton";
|
|
10
10
|
import c from "@mui/material/Stack";
|
|
11
|
-
import { R as Ee } from "../RecurringSettings-
|
|
12
|
-
import { M as En } from "../RecurringSettings-
|
|
11
|
+
import { R as Ee } from "../RecurringSettings-BVOt46uV.mjs";
|
|
12
|
+
import { M as En } from "../RecurringSettings-BVOt46uV.mjs";
|
|
13
13
|
import { addMonths as ze } from "date-fns/addMonths";
|
|
14
14
|
import { subMonths as Fe } from "date-fns/subMonths";
|
|
15
15
|
import { isBefore as Ue } from "date-fns/isBefore";
|
|
@@ -32,7 +32,7 @@ import { u as D, b as q, j as I, g as J, p as Oe, d as he, h as fe } from "../ho
|
|
|
32
32
|
import { c as M, a as S, g as Ie, f as ot } from "../RecurringTransactions-ej39mgA6.mjs";
|
|
33
33
|
import { T as B } from "../RecurringTransactionsStore-DrzS1LmF.mjs";
|
|
34
34
|
import { R as Nn } from "../RecurringTransactionsStore-DrzS1LmF.mjs";
|
|
35
|
-
import { A as w, W as at } from "../WidgetContainer-
|
|
35
|
+
import { A as w, W as at } from "../WidgetContainer-DtPnPQZY.mjs";
|
|
36
36
|
import st from "@mui/material/Button";
|
|
37
37
|
import le from "@mui/material/Divider";
|
|
38
38
|
import ve from "@mui/material/List";
|
|
@@ -41,8 +41,8 @@ import ct from "@mui/material/ListSubheader";
|
|
|
41
41
|
import lt from "@mui/material/ListItemAvatar";
|
|
42
42
|
import dt from "@mui/material/ListItemButton";
|
|
43
43
|
import ut from "@mui/material/ListItemText";
|
|
44
|
-
import { b as mt } from "../ManageIncome-
|
|
45
|
-
import { c as kn, M as Wn, S as $n } from "../ManageIncome-
|
|
44
|
+
import { b as mt } from "../ManageIncome-DUuT-yMV.mjs";
|
|
45
|
+
import { c as kn, M as Wn, S as $n } from "../ManageIncome-DUuT-yMV.mjs";
|
|
46
46
|
import { f as L } from "../NumberFormatting-Buh7u8Oi.mjs";
|
|
47
47
|
import { D as xe } from "../Drawer-kEE73B87.mjs";
|
|
48
48
|
import { b as N } from "../Localization-2MODESHW.mjs";
|
|
@@ -42,7 +42,7 @@ import Me from "@mui/material/ListItemIcon";
|
|
|
42
42
|
import Ne from "@mui/material/ListItemText";
|
|
43
43
|
import { D as He } from "../Drawer-kEE73B87.mjs";
|
|
44
44
|
import { H as Le } from "../Help-CzBAsKA2.mjs";
|
|
45
|
-
import { W as K } from "../WidgetContainer-
|
|
45
|
+
import { W as K } from "../WidgetContainer-DtPnPQZY.mjs";
|
|
46
46
|
const Oe = ({ availableWidth: t, handleOnLeavClick: a }) => {
|
|
47
47
|
const o = ye(), { common: n, settings: r } = k(), { isDesktop: m, isMobile: l, isSmallMobile: i, isTablet: s } = L(t), { config: g } = $(), { updateUser: _ } = A(), { user: d } = De(), [u, S] = h.useState({
|
|
48
48
|
first_name: d.first_name,
|
|
@@ -20,14 +20,14 @@ import { D as bt } from "../Donut-1UMNcG67.mjs";
|
|
|
20
20
|
import { L as F } from "../Loader-DUaFpDGv.mjs";
|
|
21
21
|
import { M as St } from "../MiniWidgetContainer-DTQdRK-3.mjs";
|
|
22
22
|
import { startOfToday as U } from "date-fns/startOfToday";
|
|
23
|
-
import { T as Tt, a as Mt } from "../TransactionDetails-
|
|
23
|
+
import { T as Tt, a as Mt } from "../TransactionDetails-_cXLXTd3.mjs";
|
|
24
24
|
import Dt from "@mui/material/Collapse";
|
|
25
25
|
import B from "@mui/material/Divider";
|
|
26
26
|
import q from "@mui/material/List";
|
|
27
27
|
import J from "@mui/material/ListItem";
|
|
28
28
|
import xt from "@mui/material/ListItemButton";
|
|
29
29
|
import { D as Q } from "../Drawer-kEE73B87.mjs";
|
|
30
|
-
import { A as Z, W as wt } from "../WidgetContainer-
|
|
30
|
+
import { A as Z, W as wt } from "../WidgetContainer-DtPnPQZY.mjs";
|
|
31
31
|
const j = 5, vt = (n, l, r) => r.reduce((i, c) => {
|
|
32
32
|
if (c.total > 0) {
|
|
33
33
|
const a = n.find((s) => s.guid === c.category_guid);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { T as Ca } from "../TransactionApi-B3Tksf7L.mjs";
|
|
2
|
-
import { u as P, C as He, D as Be, M as Pe, c as $e, T as Ve, a as We } from "../TransactionDetails-
|
|
3
|
-
import { B as ba, d as Ta, b as Aa } from "../TransactionDetails-
|
|
2
|
+
import { u as P, C as He, D as Be, M as Pe, c as $e, T as Ve, a as We } from "../TransactionDetails-_cXLXTd3.mjs";
|
|
3
|
+
import { B as ba, d as Ta, b as Aa } from "../TransactionDetails-_cXLXTd3.mjs";
|
|
4
4
|
import { T as M } from "../User-DaJAQ09j.mjs";
|
|
5
5
|
import { O as xa } from "../User-DaJAQ09j.mjs";
|
|
6
6
|
import { S as ee, D as Ge } from "../TransactionStore-B-Tq_YFE.mjs";
|
|
@@ -26,7 +26,7 @@ import { getUnixTime as nt } from "date-fns/getUnixTime";
|
|
|
26
26
|
import { startOfMonth as ot } from "date-fns/startOfMonth";
|
|
27
27
|
import { startOfToday as z } from "date-fns/startOfToday";
|
|
28
28
|
import rt from "@mui/material/styles/useTheme";
|
|
29
|
-
import {
|
|
29
|
+
import { l as st } from "../ConnectDrawer-CPTXh70j.mjs";
|
|
30
30
|
import it from "@mui/material/Divider";
|
|
31
31
|
import ct from "@mui/material/MenuItem";
|
|
32
32
|
import lt from "@mui/material/RadioGroup";
|
|
@@ -34,7 +34,7 @@ import { ExpandMore as dt } from "@mxenabled/mx-icons";
|
|
|
34
34
|
import { C as ut } from "../CurrencyInput-C4xNRL2W.mjs";
|
|
35
35
|
import { a as mt, u as _t } from "../CategorySelectorDrawer-BmenK5bu.mjs";
|
|
36
36
|
import { b as ae } from "../Localization-2MODESHW.mjs";
|
|
37
|
-
import { A as T, W as pt } from "../WidgetContainer-
|
|
37
|
+
import { A as T, W as pt } from "../WidgetContainer-DtPnPQZY.mjs";
|
|
38
38
|
import { u as gt } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
39
39
|
import { S as ht } from "../SearchBox-B2_zLv8-.mjs";
|
|
40
40
|
import { D as ne } from "../Drawer-kEE73B87.mjs";
|