@mx-cartographer/experiences 7.1.2-alpha.mm0 → 7.1.3-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/dist/{Account-8IUM_CLv.mjs → Account-poVfvAtj.mjs} +1 -1
- package/dist/{AccountDetailsContent-CuZSSAEc.mjs → AccountDetailsContent-BCMssB6a.mjs} +8 -8
- package/dist/{AccountDetailsHeader-BZBsIKdF.mjs → AccountDetailsHeader-aR7xZ2nH.mjs} +6 -6
- package/dist/{AccountFields-BD_0GT68.mjs → AccountFields-_0YMlOBp.mjs} +2 -2
- package/dist/{AccountListItem-CllIBCao.mjs → AccountListItem-CnCbtSqL.mjs} +4 -4
- package/dist/{AccountStore-BL0FE1QL.mjs → AccountStore-B6dq8GCk.mjs} +45 -53
- package/dist/{Accounts-Bvc9TJaO.mjs → Accounts-SjMpWUke.mjs} +1 -1
- package/dist/{BudgetUtil-psfk-Amb.mjs → BudgetUtil-7AJdmjKN.mjs} +1 -1
- package/dist/{CategorySelectorDrawer-BmenK5bu.mjs → CategorySelectorDrawer-DIy14j9q.mjs} +1 -1
- package/dist/{ConnectDrawer-CPTXh70j.mjs → ConnectDrawer-BuGKZGC6.mjs} +8 -8
- package/dist/{ConnectionsDrawer-Dkb4vBmt.mjs → ConnectionsDrawer-BUFTeUlm.mjs} +2 -2
- package/dist/{CurrencyInput-C4xNRL2W.mjs → CurrencyInput-DXMb7tAQ.mjs} +1 -1
- package/dist/{DebtsStore-D4grpB4m.mjs → DebtsStore-DwQfw1Tf.mjs} +1 -1
- package/dist/{ExportCsvAction-CBJAfyAw.mjs → ExportCsvAction-CaYiIpM7.mjs} +3 -3
- package/dist/{GoalStore-B5MZzPLZ.mjs → GoalStore-B11YqsSR.mjs} +2 -2
- package/dist/{Help-CzBAsKA2.mjs → Help-BeXRlMej.mjs} +1 -1
- package/dist/{LineChart-B35qvXik.mjs → LineChart-DoM2GvjT.mjs} +1 -1
- package/dist/{ListItemAction-DSrYDGAP.mjs → ListItemAction-BUj2koIg.mjs} +1 -1
- package/dist/{ManageIncome-DUuT-yMV.mjs → ManageIncome-Dn-1RlJI.mjs} +4 -4
- package/dist/{MicroWidgetContainer-C4QQHfD7.mjs → MicroWidgetContainer-BfjjvWDu.mjs} +1 -1
- package/dist/{MiniWidgetContainer-DTQdRK-3.mjs → MiniWidgetContainer-C98Eg9vO.mjs} +1 -1
- package/dist/{NetWorthStore-Do1Gk8Te.mjs → NetWorthStore-DqBVr9B4.mjs} +2 -2
- package/dist/{NotificationSettings-BuShgjn6.mjs → NotificationSettings-BpG12HXV.mjs} +3 -3
- package/dist/{OriginalBalanceAction-BsxcvNEF.mjs → OriginalBalanceAction-CG_yDuWi.mjs} +3 -3
- package/dist/{RecurringSettings-BVOt46uV.mjs → RecurringSettings-BtsTGf0P.mjs} +3 -3
- package/dist/{TransactionDetails-_cXLXTd3.mjs → TransactionDetails-CBpH1fsq.mjs} +5 -5
- package/dist/{TransactionStore-B-Tq_YFE.mjs → TransactionStore-Cq_j5fna.mjs} +2 -2
- package/dist/{TrendsStore-ZZ8X36lJ.mjs → TrendsStore-2geZbzUX.mjs} +1 -1
- package/dist/{User-DaJAQ09j.mjs → User-CgKOp9Zi.mjs} +1 -1
- package/dist/{WidgetContainer-DtPnPQZY.mjs → WidgetContainer-CjvCN6aj.mjs} +10 -10
- package/dist/accounts/index.es.js +13 -13
- package/dist/accounts/stores/AccountStore.d.ts +0 -2
- 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/context/GlobalDataProvider.d.ts +1 -0
- package/dist/common/context/hooks.d.ts +3 -0
- package/dist/common/context/index.d.ts +1 -1
- package/dist/common/index.es.js +50 -49
- package/dist/dashboard/index.es.js +7 -7
- package/dist/debts/index.es.js +9 -9
- package/dist/{exportTransactionsToCSV-D8TTNrrE.mjs → exportTransactionsToCSV-BUuXqDYK.mjs} +1 -1
- package/dist/finstrong/index.es.js +6 -6
- package/dist/goals/index.es.js +52 -52
- package/dist/help/index.es.js +3 -3
- package/dist/hooks-B3k6Se4_.mjs +77 -0
- package/dist/investments/index.es.js +3 -3
- package/dist/merchants/index.es.js +1 -1
- package/dist/networth/index.es.js +7 -7
- 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 +4 -4
- package/dist/transactions/index.es.js +13 -13
- package/dist/trends/index.es.js +453 -453
- package/dist/{useAccountDisplayName-BXGkZN5B.mjs → useAccountDisplayName-CZjVfLSX.mjs} +2 -2
- package/dist/{useInsightsEnabled-DSnpkUq0.mjs → useInsightsEnabled-DesBHW5l.mjs} +1 -1
- package/package.json +1 -1
- package/dist/hooks-CE2TKk4a.mjs +0 -74
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-B11YqsSR.mjs";
|
|
2
|
+
import { c as Yn, d as Zn } from "../GoalStore-B11YqsSR.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,15 +16,15 @@ 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 ve, Trophy as qe } from "@mxenabled/mx-icons";
|
|
20
|
+
import { u as C, l as I, a as xe, d as V, o as Ie, g as Ge, b as Ne } from "../hooks-B3k6Se4_.mjs";
|
|
21
21
|
import { u as he } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
22
|
-
import { f as
|
|
22
|
+
import { f as v } 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";
|
|
26
|
-
import { L as ee } from "../ListItemAction-
|
|
27
|
-
import { C as ke } from "../CurrencyInput-
|
|
26
|
+
import { L as ee } from "../ListItemAction-BUj2koIg.mjs";
|
|
27
|
+
import { C as ke } from "../CurrencyInput-DXMb7tAQ.mjs";
|
|
28
28
|
import { fromUnixTime as Q } from "date-fns/fromUnixTime";
|
|
29
29
|
import N from "@mui/material/ListItem";
|
|
30
30
|
import k from "@mui/material/ListItemButton";
|
|
@@ -34,38 +34,38 @@ 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-BuGKZGC6.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-aR7xZ2nH.mjs";
|
|
42
|
+
import { A as it } from "../AccountDetailsContent-BCMssB6a.mjs";
|
|
43
|
+
import { u as st } from "../useAccountDisplayName-CZjVfLSX.mjs";
|
|
44
44
|
import De from "@mui/material/TextField";
|
|
45
|
-
import { M as lt, I as ct, O as dt } from "../OriginalBalanceAction-
|
|
45
|
+
import { M as lt, I as ct, O as dt } from "../OriginalBalanceAction-CG_yDuWi.mjs";
|
|
46
46
|
import { getUnixTime as mt } from "date-fns/getUnixTime";
|
|
47
47
|
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-CjvCN6aj.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";
|
|
55
55
|
import yt from "@mui/material/Box";
|
|
56
56
|
import At from "@mui/material/styles/useTheme";
|
|
57
57
|
import { S as Tt } from "../SingleSegmentDonut-BgbLgwHi.mjs";
|
|
58
|
-
import { M as Ct } from "../MicroWidgetContainer-
|
|
58
|
+
import { M as Ct } from "../MicroWidgetContainer-BfjjvWDu.mjs";
|
|
59
59
|
function ce({ title: t, subtitle: n }) {
|
|
60
60
|
return /* @__PURE__ */ r(f, { children: [
|
|
61
61
|
/* @__PURE__ */ e(A, { bold: !0, variant: "Body", children: t }),
|
|
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 ? v(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
|
+
) : v(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 ? x(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: `${v(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 ? x(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: v(a, "0,0.00"),
|
|
123
123
|
children: /* @__PURE__ */ e(
|
|
124
124
|
ke,
|
|
125
125
|
{
|
|
@@ -164,7 +164,7 @@ const St = (t, n) => n ? x(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: v(b.amount, "0,0.00") });
|
|
168
168
|
},
|
|
169
169
|
sortable: !1
|
|
170
170
|
}
|
|
@@ -232,7 +232,7 @@ const St = (t, n) => n ? x(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
232
232
|
}
|
|
233
233
|
)
|
|
234
234
|
] });
|
|
235
|
-
},
|
|
235
|
+
}, vt = ({ 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 ? x(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: v(t.amount, "0,0.00") })
|
|
262
262
|
] }) })
|
|
263
263
|
] }) });
|
|
264
|
-
},
|
|
264
|
+
}, xt = ({ 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 ? x(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: v(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 ? x(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(vt, { goal: u, index: b }),
|
|
310
310
|
/* @__PURE__ */ e(
|
|
311
311
|
E,
|
|
312
312
|
{
|
|
@@ -325,7 +325,7 @@ const St = (t, n) => n ? x(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(xt, { 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 ? x(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: v(o.amount, "0,0.00") })
|
|
401
401
|
] }) }) }) }, o.guid))
|
|
402
402
|
] })
|
|
403
403
|
] });
|
|
@@ -440,7 +440,7 @@ const St = (t, n) => n ? x(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 } = xe(), [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 ? x(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: v(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 ? x(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: _ } = xe(), { 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 ? x(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
551
551
|
w,
|
|
552
552
|
{
|
|
553
553
|
primary: i,
|
|
554
|
-
secondary:
|
|
554
|
+
secondary: v(t.balance || 0, "0,0.00")
|
|
555
555
|
}
|
|
556
556
|
),
|
|
557
557
|
/* @__PURE__ */ e(M, {})
|
|
@@ -579,7 +579,7 @@ const St = (t, n) => n ? x(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: v(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 ? x(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(ve, { 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 ? x(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
633
633
|
w,
|
|
634
634
|
{
|
|
635
635
|
primary: c?.name || c?.feed_name,
|
|
636
|
-
secondary:
|
|
636
|
+
secondary: v(c?.balance || 0, "0,0.00")
|
|
637
637
|
}
|
|
638
638
|
),
|
|
639
639
|
/* @__PURE__ */ e(M, {})
|
|
@@ -651,7 +651,7 @@ const St = (t, n) => n ? x(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
651
651
|
w,
|
|
652
652
|
{
|
|
653
653
|
primary: c?.name || c?.feed_name,
|
|
654
|
-
secondary:
|
|
654
|
+
secondary: v(c?.balance || 0, "0,0.00")
|
|
655
655
|
}
|
|
656
656
|
),
|
|
657
657
|
/* @__PURE__ */ e(M, {})
|
|
@@ -758,7 +758,7 @@ const St = (t, n) => n ? x(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(), { visibleInvestmentAccounts: i } = V(), {
|
|
762
762
|
addRetirementGoalAccount: s,
|
|
763
763
|
newRetirementGoalAccounts: p,
|
|
764
764
|
retirementGoalAccounts: a,
|
|
@@ -771,18 +771,18 @@ const St = (t, n) => n ? x(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((x) => ({
|
|
775
|
+
account_guid: x.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 x of R)
|
|
782
|
+
await s(x), g(n.alert_account_added);
|
|
783
783
|
h({
|
|
784
784
|
..._,
|
|
785
|
-
current_amount: S.reduce((
|
|
785
|
+
current_amount: S.reduce((x, F) => x + (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 ? x(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(ve, { 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 ? x(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 { visibleInvestmentAccounts: 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 ? x(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, x = 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 && !x) 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) : x && (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 ? x(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 || x ? "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 ? x(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, x] = 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
|
+
v(z, "0,0")
|
|
928
928
|
) : "", se = a ? B(
|
|
929
929
|
s ? l.tab_subtitle_mobile : l.tab_subtitle,
|
|
930
|
-
|
|
930
|
+
v(H, "0,0")
|
|
931
931
|
) : "", G = a ? B(
|
|
932
932
|
s ? l.tab_subtitle_mobile : l.tab_subtitle,
|
|
933
|
-
|
|
933
|
+
v(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 ? x(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 ? x(0) : X === d.DEBT_TRACK ? x(1) : X === d.RETIREMENT_TRACK && x(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 ? x(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
967
967
|
/* @__PURE__ */ r(
|
|
968
968
|
Fe,
|
|
969
969
|
{
|
|
970
|
-
onChange: (X, Oe) =>
|
|
970
|
+
onChange: (X, Oe) => x(Oe),
|
|
971
971
|
sx: { bgcolor: "background.paper" },
|
|
972
972
|
textColor: "primary",
|
|
973
973
|
value: O ? !1 : R,
|
package/dist/help/index.es.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { observer as m } from "mobx-react-lite";
|
|
3
|
-
import { H as s } from "../Help-
|
|
4
|
-
import { b as p } from "../hooks-
|
|
3
|
+
import { H as s } from "../Help-BeXRlMej.mjs";
|
|
4
|
+
import { b as p } from "../hooks-B3k6Se4_.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-CjvCN6aj.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 }) });
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import r from "react";
|
|
2
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
3
|
+
const a = r.createContext(null), C = ({
|
|
4
|
+
children: t,
|
|
5
|
+
globalStore: e,
|
|
6
|
+
onError: s,
|
|
7
|
+
onEvent: l,
|
|
8
|
+
onLoad: u,
|
|
9
|
+
onPageView: c
|
|
10
|
+
}) => /* @__PURE__ */ n(
|
|
11
|
+
a.Provider,
|
|
12
|
+
{
|
|
13
|
+
value: {
|
|
14
|
+
globalStore: e,
|
|
15
|
+
onError: s,
|
|
16
|
+
onEvent: l,
|
|
17
|
+
onLoad: u,
|
|
18
|
+
onPageView: c,
|
|
19
|
+
children: t
|
|
20
|
+
},
|
|
21
|
+
children: t
|
|
22
|
+
}
|
|
23
|
+
), S = r.createContext(null), d = ({ children: t, availableHeight: e, availableWidth: s }) => /* @__PURE__ */ n(
|
|
24
|
+
S.Provider,
|
|
25
|
+
{
|
|
26
|
+
value: {
|
|
27
|
+
availableHeight: e,
|
|
28
|
+
availableWidth: s,
|
|
29
|
+
children: t
|
|
30
|
+
},
|
|
31
|
+
children: t
|
|
32
|
+
}
|
|
33
|
+
), o = (t = "useGlobalStore") => {
|
|
34
|
+
const e = r.useContext(a);
|
|
35
|
+
if (!e)
|
|
36
|
+
throw new Error(`${t}() must be used within the GlobalDataContext`);
|
|
37
|
+
return e;
|
|
38
|
+
}, p = () => o("useAccountStore").globalStore.accountStore, h = () => o("useAppConfig").globalStore.appDataStore.appConfig, x = () => o("useAnalyticsStore").globalStore.analyticsStore, f = () => o("useBudgetsStore").globalStore.budgetsStore, w = () => o("useCashflowStore").globalStore.cashflowStore, G = () => o("useCategoryStore").globalStore.categoryStore, v = () => o("useConnectStore").globalStore.connectStore, y = () => o("useDebtsStore").globalStore.debtsStore, W = () => o("useFinstrongStore").globalStore.finstrongStore, m = () => o("useGlobalStore").globalStore, D = () => o("useGlobalUiStore").globalStore.globalUiStore, E = () => o("globalCopyStore").globalStore.copyStore.copy, P = () => o("useGoalStore").globalStore.goalStore, A = () => o("useHelpStore").globalStore.helpStore, T = () => o("useHoldingStore").globalStore.holdingStore, U = () => o("useMerchantStore").globalStore.merchantStore, H = () => o("useNetWorthStore").globalStore.netWorthStore, N = () => o("useNotificationStore").globalStore.notificationStore, B = () => o("useRecurringTransactionsStore").globalStore.recurringTransactionsStore, L = () => o("useSettingsStore").globalStore.settingsStore, R = () => o("useTransactionStore").globalStore.transactionStore, V = () => o("useTrendsStore").globalStore.trendsStore, j = () => o("useUserStore").globalStore.userStore, F = () => ({ onError: o().onError }), M = () => ({ onEvent: o().onEvent }), $ = () => ({ onLoad: o().onLoad }), k = () => ({ onPageView: o().onPageView }), i = (t = "useWidgetContainerContext") => {
|
|
39
|
+
const e = r.useContext(S);
|
|
40
|
+
if (!e)
|
|
41
|
+
throw new Error(`${t}() must be used within the WidgetContainerContext`);
|
|
42
|
+
return e;
|
|
43
|
+
}, q = () => i();
|
|
44
|
+
export {
|
|
45
|
+
A,
|
|
46
|
+
k as B,
|
|
47
|
+
C,
|
|
48
|
+
S as D,
|
|
49
|
+
a as G,
|
|
50
|
+
d as W,
|
|
51
|
+
h as a,
|
|
52
|
+
D as b,
|
|
53
|
+
U as c,
|
|
54
|
+
p as d,
|
|
55
|
+
v as e,
|
|
56
|
+
m as f,
|
|
57
|
+
M as g,
|
|
58
|
+
R as h,
|
|
59
|
+
f as i,
|
|
60
|
+
B as j,
|
|
61
|
+
x as k,
|
|
62
|
+
P as l,
|
|
63
|
+
G as m,
|
|
64
|
+
N as n,
|
|
65
|
+
j as o,
|
|
66
|
+
q as p,
|
|
67
|
+
H as q,
|
|
68
|
+
L as r,
|
|
69
|
+
T as s,
|
|
70
|
+
w as t,
|
|
71
|
+
E as u,
|
|
72
|
+
V as v,
|
|
73
|
+
$ as w,
|
|
74
|
+
W as x,
|
|
75
|
+
y,
|
|
76
|
+
F as z
|
|
77
|
+
};
|
|
@@ -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-BUFTeUlm.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";
|
|
@@ -16,8 +16,8 @@ import xe from "@mui/material/ToggleButton";
|
|
|
16
16
|
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
|
-
import { u as E, g as be, s as H, b as Q, d as se } from "../hooks-
|
|
20
|
-
import { A as z, W as je } from "../WidgetContainer-
|
|
19
|
+
import { u as E, g as be, s as H, b as Q, d as se } from "../hooks-B3k6Se4_.mjs";
|
|
20
|
+
import { A as z, W as je } from "../WidgetContainer-CjvCN6aj.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";
|
|
@@ -12,7 +12,7 @@ import k from "@mui/material/ListItemText";
|
|
|
12
12
|
import A from "@mui/material/Paper";
|
|
13
13
|
import d from "@mui/material/Stack";
|
|
14
14
|
import { MerchantLogo as V, Text as R } from "@mxenabled/mxui";
|
|
15
|
-
import { c as v, u as w, b as C } from "../hooks-
|
|
15
|
+
import { c as v, u as w, b as C } from "../hooks-B3k6Se4_.mjs";
|
|
16
16
|
import { L as p } from "../Loader-DUaFpDGv.mjs";
|
|
17
17
|
import { S as N } from "../SearchBox-B2_zLv8-.mjs";
|
|
18
18
|
import { M as ne } from "../MerchantStore-DrFvsUyy.mjs";
|
|
@@ -3,9 +3,9 @@ import { fromUnixTime as Se } from "date-fns/fromUnixTime";
|
|
|
3
3
|
import { observer as w } from "mobx-react-lite";
|
|
4
4
|
import { useTheme as z } from "@mui/material/styles";
|
|
5
5
|
import { u as Z } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
6
|
-
import { p as _e, u as T, d as J, g as Q, b as P, q as ee } from "../hooks-
|
|
6
|
+
import { p as _e, u as T, d as J, g as Q, b as P, q as ee } from "../hooks-B3k6Se4_.mjs";
|
|
7
7
|
import { f as we, D as be } from "../Dialog-CWW597AF.mjs";
|
|
8
|
-
import { L as We } from "../LineChart-
|
|
8
|
+
import { L as We } from "../LineChart-DoM2GvjT.mjs";
|
|
9
9
|
import W from "@mui/material/Divider";
|
|
10
10
|
import B from "@mui/material/List";
|
|
11
11
|
import E from "@mui/material/ListSubheader";
|
|
@@ -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-DqBVr9B4.mjs";
|
|
23
|
+
import { N as Ot } from "../NetWorthStore-DqBVr9B4.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-CjvCN6aj.mjs";
|
|
27
27
|
import { L as O } from "../Loader-DUaFpDGv.mjs";
|
|
28
|
-
import { M as Ae } from "../MicroWidgetContainer-
|
|
28
|
+
import { M as Ae } from "../MicroWidgetContainer-BfjjvWDu.mjs";
|
|
29
29
|
import re from "@mui/material/Box";
|
|
30
|
-
import { C as Me } from "../ConnectionsDrawer-
|
|
30
|
+
import { C as Me } from "../ConnectionsDrawer-BUFTeUlm.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";
|
|
@@ -11,13 +11,13 @@ import B from "@mui/material/List";
|
|
|
11
11
|
import { Text as m, InstitutionLogo as T, CategoryIcon as R } from "@mxenabled/mxui";
|
|
12
12
|
import { h as I } from "../DateUtil-BcuH7ErC.mjs";
|
|
13
13
|
import { useTheme as O, Card as G } from "@mui/material";
|
|
14
|
-
import { d as E, i as j, u as g, n as N, b as S, a as z } from "../hooks-
|
|
14
|
+
import { d as E, i as j, u as g, n as N, b as S, a as z } from "../hooks-B3k6Se4_.mjs";
|
|
15
15
|
import { Icon as U, Settings as F } from "@mxenabled/mx-icons";
|
|
16
16
|
import P from "@mui/material/Button";
|
|
17
17
|
import W from "@mui/material/Stack";
|
|
18
18
|
import { L as w } from "../Loader-DUaFpDGv.mjs";
|
|
19
19
|
import $ from "@mui/material/IconButton";
|
|
20
|
-
import { N as H } from "../NotificationSettings-
|
|
20
|
+
import { N as H } from "../NotificationSettings-BpG12HXV.mjs";
|
|
21
21
|
import { D as C } from "../Drawer-kEE73B87.mjs";
|
|
22
22
|
const yt = (e) => {
|
|
23
23
|
switch (e) {
|
|
@@ -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-BtsTGf0P.mjs";
|
|
12
|
+
import { M as En } from "../RecurringSettings-BtsTGf0P.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";
|
|
@@ -28,11 +28,11 @@ import { isSameDay as nt } from "date-fns/isSameDay";
|
|
|
28
28
|
import it from "@mui/material/Badge";
|
|
29
29
|
import { PickersDay as rt } from "@mui/x-date-pickers/PickersDay";
|
|
30
30
|
import { I as Z } from "../IconBacking-B9oC6uL2.mjs";
|
|
31
|
-
import { u as D, b as q, j as I, g as J, p as Oe, d as he, h as fe } from "../hooks-
|
|
31
|
+
import { u as D, b as q, j as I, g as J, p as Oe, d as he, h as fe } from "../hooks-B3k6Se4_.mjs";
|
|
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-CjvCN6aj.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-Dn-1RlJI.mjs";
|
|
45
|
+
import { c as kn, M as Wn, S as $n } from "../ManageIncome-Dn-1RlJI.mjs";
|
|
46
46
|
import { f as L } from "../NumberFormatting-Buh7u8Oi.mjs";
|
|
47
47
|
import { D as xe } from "../Drawer-kEE73B87.mjs";
|
|
48
48
|
import { b as N } from "../Localization-2MODESHW.mjs";
|
|
@@ -51,9 +51,9 @@ import O from "@mui/material/Box";
|
|
|
51
51
|
import { S as We } from "../StatusBar-BK_uYHAB.mjs";
|
|
52
52
|
import { u as ye } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
53
53
|
import { L as V } from "../Loader-DUaFpDGv.mjs";
|
|
54
|
-
import { M as pt } from "../MiniWidgetContainer-
|
|
54
|
+
import { M as pt } from "../MiniWidgetContainer-C98Eg9vO.mjs";
|
|
55
55
|
import { u as gt } from "../useDimensions-27p2evRx.mjs";
|
|
56
|
-
import { M as ht } from "../MicroWidgetContainer-
|
|
56
|
+
import { M as ht } from "../MicroWidgetContainer-BfjjvWDu.mjs";
|
|
57
57
|
const Q = {
|
|
58
58
|
gridRow: 1,
|
|
59
59
|
gridColumn: 1,
|
|
@@ -16,9 +16,9 @@ import F from "@mui/material/Box";
|
|
|
16
16
|
import Q from "@mui/material/Button";
|
|
17
17
|
import I from "@mui/material/TextField";
|
|
18
18
|
import { H3 as J, P as H, Text as x, Icon as M, ChevronRightIcon as xe } from "@mxenabled/mxui";
|
|
19
|
-
import { V as ve, a as Ce, N as G } from "../NotificationSettings-
|
|
20
|
-
import { A as Yt, B as qt, I as Qt } from "../NotificationSettings-
|
|
21
|
-
import { u as k, a as $, r as A, o as De, b as Z, m as ee } from "../hooks-
|
|
19
|
+
import { V as ve, a as Ce, N as G } from "../NotificationSettings-BpG12HXV.mjs";
|
|
20
|
+
import { A as Yt, B as qt, I as Qt } from "../NotificationSettings-BpG12HXV.mjs";
|
|
21
|
+
import { u as k, a as $, r as A, o as De, b as Z, m as ee } from "../hooks-B3k6Se4_.mjs";
|
|
22
22
|
import { u as L } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
23
23
|
import { a as W } from "../Dialog-CWW597AF.mjs";
|
|
24
24
|
import { formatDistanceToNow as te } from "date-fns/formatDistanceToNow";
|
|
@@ -35,14 +35,14 @@ import { L as ne } from "../Loader-DUaFpDGv.mjs";
|
|
|
35
35
|
import Ie from "@mui/material/List";
|
|
36
36
|
import j from "@mui/material/Divider";
|
|
37
37
|
import Ae from "@mui/material/ListSubheader";
|
|
38
|
-
import { a as Ee, u as Pe } from "../CategorySelectorDrawer-
|
|
38
|
+
import { a as Ee, u as Pe } from "../CategorySelectorDrawer-DIy14j9q.mjs";
|
|
39
39
|
import Re from "@mui/material/ListItem";
|
|
40
40
|
import Be from "@mui/material/ListItemButton";
|
|
41
41
|
import Me from "@mui/material/ListItemIcon";
|
|
42
42
|
import Ne from "@mui/material/ListItemText";
|
|
43
43
|
import { D as He } from "../Drawer-kEE73B87.mjs";
|
|
44
|
-
import { H as Le } from "../Help-
|
|
45
|
-
import { W as K } from "../WidgetContainer-
|
|
44
|
+
import { H as Le } from "../Help-BeXRlMej.mjs";
|
|
45
|
+
import { W as K } from "../WidgetContainer-CjvCN6aj.mjs";
|
|
46
46
|
const Oe = ({ availableWidth: t, handleOnLeavClick: a }) => {
|
|
47
47
|
const o = ye(), { common: n, settings: r } = k(), { isDesktop: m, isMobile: l, isSmallMobile: i, isTablet: s } = L(t), { config: g } = $(), { updateUser: _ } = A(), { user: d } = De(), [u, S] = h.useState({
|
|
48
48
|
first_name: d.first_name,
|
|
@@ -14,20 +14,20 @@ import { Text as f, CategoryIcon as ht, CategoryIconVariants as ft } from "@mxen
|
|
|
14
14
|
import { f as A } from "../NumberFormatting-Buh7u8Oi.mjs";
|
|
15
15
|
import yt from "@mui/material/Button";
|
|
16
16
|
import { useTheme as it } from "@mui/material";
|
|
17
|
-
import { u as w, b as R, m as z, d as rt, a as st, h as Ct, g as _t } from "../hooks-
|
|
17
|
+
import { u as w, b as R, m as z, d as rt, a as st, h as Ct, g as _t } from "../hooks-B3k6Se4_.mjs";
|
|
18
18
|
import { u as ct } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
19
19
|
import { D as bt } from "../Donut-1UMNcG67.mjs";
|
|
20
20
|
import { L as F } from "../Loader-DUaFpDGv.mjs";
|
|
21
|
-
import { M as St } from "../MiniWidgetContainer-
|
|
21
|
+
import { M as St } from "../MiniWidgetContainer-C98Eg9vO.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-CBpH1fsq.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-CjvCN6aj.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);
|