@mx-cartographer/experiences 7.0.23-alpha.al1 → 7.0.23-alpha.al10
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-BW3-oYEs.mjs → Account-CVVDlNDC.mjs} +1 -1
- package/dist/{AccountDetailsContent-UxSEMBo_.mjs → AccountDetailsContent-bQKVSCZF.mjs} +8 -8
- package/dist/{AccountDetailsHeader-Eb3WvBGm.mjs → AccountDetailsHeader-BGQAu0Xm.mjs} +8 -8
- package/dist/{AccountFields-CIz-r3gP.mjs → AccountFields-CC7kzfPK.mjs} +2 -2
- package/dist/{AccountListItem-B-ZjJ4Gp.mjs → AccountListItem-wgvQjLxW.mjs} +3 -3
- package/dist/{AccountStore-BaMynkQT.mjs → AccountStore-DpglOysH.mjs} +19 -19
- package/dist/{Accounts-CA-nqAjT.mjs → Accounts-ByViymVi.mjs} +1 -1
- package/dist/{BudgetUtil-CeSLAcsl.mjs → BudgetUtil-gzgNEDE7.mjs} +1 -1
- package/dist/{CategorySelectorDrawer-BJ9jlCyt.mjs → CategorySelectorDrawer-LpZcwQPa.mjs} +4 -4
- package/dist/{ConnectDrawer-phFH6OHt.mjs → ConnectDrawer-C2minBK_.mjs} +1 -1
- package/dist/{ConnectionsDrawer-ihxkAi1P.mjs → ConnectionsDrawer-Cd4dZuWL.mjs} +2 -2
- package/dist/{CurrencyInput-bEx2Mbd0.mjs → CurrencyInput-Dz4r9Rfe.mjs} +1 -1
- package/dist/{DebtsStore-VkyMADzd.mjs → DebtsStore-B51DTXVj.mjs} +1 -1
- package/dist/{GoalStore-eSOkI6uE.mjs → GoalStore-DqQ2FMx5.mjs} +2 -2
- package/dist/{Help-KAAMEubC.mjs → Help-DVPbIxMM.mjs} +1 -1
- package/dist/{LineChart-BWWmmJxV.mjs → LineChart-DLk-bww5.mjs} +1 -1
- package/dist/{ListItemAction-DNZZ5fSa.mjs → ListItemAction-DE6S0N5o.mjs} +1 -1
- package/dist/{ManageIncome-DbsiKUoO.mjs → ManageIncome-BokhnWOn.mjs} +4 -4
- package/dist/{MicroWidgetContainer-Dxz8uBN9.mjs → MicroWidgetContainer-5YscP1xa.mjs} +1 -1
- package/dist/{MiniWidgetContainer-CTyjmE1h.mjs → MiniWidgetContainer-BlsgwNew.mjs} +1 -1
- package/dist/{NetWorthStore-B6xF9eGH.mjs → NetWorthStore-C0hQSRzt.mjs} +2 -2
- package/dist/{NotificationSettings-BJFyyZYE.mjs → NotificationSettings-CWx6H-2z.mjs} +2 -2
- package/dist/{OriginalBalanceAction-DepsKiJz.mjs → OriginalBalanceAction-BKsSQVnI.mjs} +3 -3
- package/dist/{RecurringSettings-Dj29piAQ.mjs → RecurringSettings-CICRt51C.mjs} +3 -3
- package/dist/{TransactionDetails-C-z3HGTT.mjs → TransactionDetails-BXl0m15s.mjs} +37 -37
- package/dist/{TransactionStore-0tLtBEIC.mjs → TransactionStore-BElBVYfk.mjs} +248 -209
- package/dist/TrendsStore-DRuzsVVE.mjs +505 -0
- package/dist/TrendsWidget-CRi8EO04.mjs +6 -0
- package/dist/{User-Dq9Qj764.mjs → User-DtwqVm3K.mjs} +1 -1
- package/dist/{WidgetContainer-CdBs9WOZ.mjs → WidgetContainer-DK8aZO5l.mjs} +2 -2
- package/dist/accounts/index.es.js +12 -12
- package/dist/analytics/index.es.js +8 -8
- 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/index.es.js +577 -518
- package/dist/dashboard/index.es.js +9 -9
- package/dist/debts/index.es.js +9 -9
- package/dist/{exportTransactionsToCSV-BDlt8u0n.mjs → exportTransactionsToCSV-Cf5VRYVr.mjs} +1 -1
- package/dist/finstrong/index.es.js +6 -6
- package/dist/goals/index.es.js +11 -11
- package/dist/help/index.es.js +3 -3
- package/dist/{hooks-DkUqN6JE.mjs → hooks-DUeXom8C.mjs} +13 -13
- package/dist/investments/index.es.js +3 -3
- package/dist/merchants/index.es.js +1 -1
- package/dist/microinsights/index.es.js +1969 -14
- 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 +24 -24
- package/dist/spending/index.es.js +21 -21
- package/dist/transactions/index.es.js +270 -259
- package/dist/trends/index.es.js +402 -778
- package/package.json +1 -1
- package/dist/ExportCsvAction-CbMfQ2Wa.mjs +0 -24
- package/dist/ResponsiveButton-DZFp78fJ.mjs +0 -45
- package/dist/TrendsStore-WrHxzdbQ.mjs +0 -565
- package/dist/ViewMoreMicroCard-DFAY0tA8.mjs +0 -1974
|
@@ -11,10 +11,10 @@ import M from "@mui/material/Divider";
|
|
|
11
11
|
import v from "@mui/material/ListItem";
|
|
12
12
|
import N from "@mui/material/ListItemButton";
|
|
13
13
|
import w from "@mui/material/ListItemText";
|
|
14
|
-
import { u as D } from "./AccountDetailsHeader-
|
|
15
|
-
import { c as z, u as E,
|
|
16
|
-
import { A as at } from "./AccountListItem-
|
|
17
|
-
import { A as k } from "./WidgetContainer-
|
|
14
|
+
import { u as D } from "./AccountDetailsHeader-BGQAu0Xm.mjs";
|
|
15
|
+
import { c as z, u as E, g as O, n as X } from "./hooks-DUeXom8C.mjs";
|
|
16
|
+
import { A as at } from "./AccountListItem-wgvQjLxW.mjs";
|
|
17
|
+
import { A as k } from "./WidgetContainer-DK8aZO5l.mjs";
|
|
18
18
|
import { a as V, f as B, D as j } from "./Dialog-CWW597AF.mjs";
|
|
19
19
|
import { b as h } from "./Localization-2MODESHW.mjs";
|
|
20
20
|
import { D as J } from "./Drawer-kEE73B87.mjs";
|
|
@@ -22,7 +22,7 @@ import R from "@mui/material/ListItemAvatar";
|
|
|
22
22
|
import ct from "@mui/material/Stack";
|
|
23
23
|
import st from "@mui/material/styles/useTheme";
|
|
24
24
|
import { Error as q, CheckCircle as it, Language as rt } from "@mxenabled/mx-icons";
|
|
25
|
-
import { k as m, N as Q, j as Z, F as P } from "./ConnectDrawer-
|
|
25
|
+
import { k as m, N as Q, j as Z, F as P } from "./ConnectDrawer-C2minBK_.mjs";
|
|
26
26
|
import { fromUnixTime as lt } from "date-fns/fromUnixTime";
|
|
27
27
|
import { isToday as dt } from "date-fns/isToday";
|
|
28
28
|
import { isYesterday as ut } from "date-fns/isYesterday";
|
|
@@ -37,14 +37,14 @@ import { LocalizationProvider as ft } from "@mui/x-date-pickers-pro";
|
|
|
37
37
|
import At from "@mui/material/MenuItem";
|
|
38
38
|
import bt from "@mui/material/Select";
|
|
39
39
|
import Tt from "@mui/material/TextField";
|
|
40
|
-
import { C as St } from "./CurrencyInput-
|
|
41
|
-
import { a as Dt } from "./AccountFields-
|
|
40
|
+
import { C as St } from "./CurrencyInput-Dz4r9Rfe.mjs";
|
|
41
|
+
import { a as Dt } from "./AccountFields-CC7kzfPK.mjs";
|
|
42
42
|
import Et from "@mui/material/Alert";
|
|
43
43
|
import yt from "@mui/material/AlertTitle";
|
|
44
44
|
import xt from "@mui/material/Link";
|
|
45
45
|
import wt from "@mui/material/Paper";
|
|
46
46
|
import { subDays as kt, startOfToday as It, endOfToday as Mt } from "date-fns";
|
|
47
|
-
import { T as vt, a as Lt } from "./TransactionDetails-
|
|
47
|
+
import { T as vt, a as Lt } from "./TransactionDetails-BXl0m15s.mjs";
|
|
48
48
|
import { T as K } from "./TabContentContainer-j01JYR_7.mjs";
|
|
49
49
|
const U = ({
|
|
50
50
|
children: e,
|
|
@@ -2,17 +2,17 @@ import { jsx as e, jsxs as u } from "react/jsx-runtime";
|
|
|
2
2
|
import { observer as p } from "mobx-react-lite";
|
|
3
3
|
import d from "@mui/material/Stack";
|
|
4
4
|
import { H3 as w, InstitutionLogo as I, Text as m, H2 as L } from "@mxenabled/mxui";
|
|
5
|
-
import { g as N } from "./AccountFields-
|
|
5
|
+
import { g as N } from "./AccountFields-CC7kzfPK.mjs";
|
|
6
6
|
import h from "react";
|
|
7
|
-
import { G as v, c as S,
|
|
7
|
+
import { G as v, c as S, j as y, u as _, k as E } from "./hooks-DUeXom8C.mjs";
|
|
8
8
|
import G from "@mui/material/Card";
|
|
9
9
|
import O from "@mui/material/CardContent";
|
|
10
10
|
import P from "@mui/material/CardHeader";
|
|
11
11
|
import { useTheme as M } from "@mui/material/styles";
|
|
12
|
-
import { g as B, a as H, b as
|
|
13
|
-
import { L as
|
|
14
|
-
import { I as f, P as g, S as C } from "./Account-
|
|
15
|
-
import { A } from "./ConnectDrawer-
|
|
12
|
+
import { g as B, a as H, b as j } from "./SpendingData-D5vsfYKo.mjs";
|
|
13
|
+
import { L as U } from "./LineChart-DLk-bww5.mjs";
|
|
14
|
+
import { I as f, P as g, S as C } from "./Account-CVVDlNDC.mjs";
|
|
15
|
+
import { A } from "./ConnectDrawer-C2minBK_.mjs";
|
|
16
16
|
import { L as z } from "./Loader-DUaFpDGv.mjs";
|
|
17
17
|
import { f as Y, D as k } from "./Dialog-CWW597AF.mjs";
|
|
18
18
|
import { f as R } from "./NumberFormatting-CtWHhyBX.mjs";
|
|
@@ -21,7 +21,7 @@ const b = () => {
|
|
|
21
21
|
throw new Error("useCategoryUiStore() must be used within the GlobalDataContext");
|
|
22
22
|
return S().uiStore;
|
|
23
23
|
}, $ = (o, n) => {
|
|
24
|
-
const t = f.includes(n) ? B(o) : [], a = g.includes(n) ? H(o) : [], r = C.includes(n) ?
|
|
24
|
+
const t = f.includes(n) ? B(o) : [], a = g.includes(n) ? H(o) : [], r = C.includes(n) ? j(o) : [];
|
|
25
25
|
return [t, a, r].filter((s) => s.length > 0);
|
|
26
26
|
}, F = (o, n, t) => {
|
|
27
27
|
const [a, r] = o, s = a, c = r ?? a, i = [];
|
|
@@ -40,7 +40,7 @@ const b = () => {
|
|
|
40
40
|
}, V = () => {
|
|
41
41
|
const o = M(), { selectedAccount: n } = b(), { monthlyCategoryTotals: t } = y(), { trends: a } = _(), r = [o.palette.chart?.chart1, o.palette.chart?.chart2], s = $(t, n.account_type), c = F(s, n.account_type, a), i = [A.LOAN, A.MORTGAGE].includes(n.account_type);
|
|
42
42
|
return /* @__PURE__ */ e("div", { "data-testid": "TrendsChart", children: /* @__PURE__ */ e(
|
|
43
|
-
|
|
43
|
+
U,
|
|
44
44
|
{
|
|
45
45
|
colors: r,
|
|
46
46
|
datasets: s,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import { Icon as p, Text as c } from "@mxenabled/mxui";
|
|
3
|
-
import { F as m, A as b, a as v, P as h, b as F } from "./ConnectDrawer-
|
|
4
|
-
import { i as D, u as T, a as A, b as O, c as g } from "./Accounts-
|
|
3
|
+
import { F as m, A as b, a as v, P as h, b as F } from "./ConnectDrawer-C2minBK_.mjs";
|
|
4
|
+
import { i as D, u as T, a as A, b as O, c as g } from "./Accounts-ByViymVi.mjs";
|
|
5
5
|
import { f as _, i as d, a as N, b as S } from "./NumberFormatting-CtWHhyBX.mjs";
|
|
6
6
|
import { b as i } from "./Localization-2MODESHW.mjs";
|
|
7
7
|
import { f, D as o } from "./Dialog-CWW597AF.mjs";
|
|
@@ -10,9 +10,9 @@ import C from "@mui/material/styles/useTheme";
|
|
|
10
10
|
import { InstitutionLogo as B, Text as o } from "@mxenabled/mxui";
|
|
11
11
|
import { Error as L } from "@mxenabled/mx-icons";
|
|
12
12
|
import { I as A } from "./IconBacking-B9oC6uL2.mjs";
|
|
13
|
-
import { g as j } from "./AccountFields-
|
|
14
|
-
import { d } from "./ConnectDrawer-
|
|
15
|
-
import { u as T } from "./hooks-
|
|
13
|
+
import { g as j } from "./AccountFields-CC7kzfPK.mjs";
|
|
14
|
+
import { d } from "./ConnectDrawer-C2minBK_.mjs";
|
|
15
|
+
import { u as T } from "./hooks-DUeXom8C.mjs";
|
|
16
16
|
import { f as X } from "./NumberFormatting-CtWHhyBX.mjs";
|
|
17
17
|
const $ = {
|
|
18
18
|
gridRow: 1,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { makeAutoObservable as _, runInAction as a } from "mobx";
|
|
2
|
-
import { i as g } from "./User-
|
|
2
|
+
import { i as g } from "./User-DtwqVm3K.mjs";
|
|
3
3
|
import { F as f, A as i } from "./Fetch-CkFKy79O.mjs";
|
|
4
|
-
import { A as s, d as h, E as p, g as y, h as I } from "./ConnectDrawer-
|
|
4
|
+
import { A as s, d as h, E as p, g as y, h as I } from "./ConnectDrawer-C2minBK_.mjs";
|
|
5
5
|
class l {
|
|
6
6
|
fetchInstance;
|
|
7
7
|
constructor(t, e) {
|
|
@@ -78,7 +78,7 @@ class N {
|
|
|
78
78
|
return this.accounts.filter((t) => t.account_type === s.SAVINGS);
|
|
79
79
|
}
|
|
80
80
|
get visibleAccounts() {
|
|
81
|
-
return this.accounts.filter((t) => !t.is_hidden);
|
|
81
|
+
return console.log("visible accounts get: ", this.accounts), this.accounts.filter((t) => !t.is_hidden);
|
|
82
82
|
}
|
|
83
83
|
get visibleCashAccounts() {
|
|
84
84
|
return this.cashAccounts.filter((t) => !t.is_hidden);
|
|
@@ -118,22 +118,22 @@ class N {
|
|
|
118
118
|
n,
|
|
119
119
|
"MD_EXCLUDE_EXTERNAL_ACCOUNTS"
|
|
120
120
|
);
|
|
121
|
-
for (const
|
|
122
|
-
if (c &&
|
|
123
|
-
const
|
|
124
|
-
if (!
|
|
121
|
+
for (const o of t) {
|
|
122
|
+
if (c && o.member_is_managed_by_user) continue;
|
|
123
|
+
const r = this.members.find((m) => m.guid === o.member_guid);
|
|
124
|
+
if (!r) continue;
|
|
125
125
|
let u = h.Connected;
|
|
126
|
-
p.includes(
|
|
126
|
+
p.includes(r.connection_status) ? u = h.Error : y.includes(r.connection_status) ? u = h.Processing : I.includes(r.connection_status) && (u = h.RequiresMfa);
|
|
127
127
|
const A = [
|
|
128
|
-
|
|
129
|
-
|
|
128
|
+
o.user_name || o.feed_name || "",
|
|
129
|
+
o.account_number ? `*${o.account_number}` : ""
|
|
130
130
|
].join(" ").trim();
|
|
131
131
|
e.push({
|
|
132
|
-
...
|
|
132
|
+
...o,
|
|
133
133
|
connectionStatus: u,
|
|
134
134
|
institutionName: A,
|
|
135
|
-
memberName:
|
|
136
|
-
}),
|
|
135
|
+
memberName: r.name
|
|
136
|
+
}), r.connectionStatus = u;
|
|
137
137
|
}
|
|
138
138
|
return e;
|
|
139
139
|
};
|
|
@@ -172,10 +172,10 @@ class N {
|
|
|
172
172
|
try {
|
|
173
173
|
const e = await this.api.mergeAccounts(t), n = e[Object.keys(e)[0]];
|
|
174
174
|
a(() => {
|
|
175
|
-
const c = this.accounts.findIndex((
|
|
175
|
+
const c = this.accounts.findIndex((r) => r.guid === t[1]);
|
|
176
176
|
this.accounts.splice(c, 1);
|
|
177
|
-
const
|
|
178
|
-
this.accounts.splice(
|
|
177
|
+
const o = this.accounts.findIndex((r) => r.guid === t[0]);
|
|
178
|
+
this.accounts.splice(o, 1, n);
|
|
179
179
|
});
|
|
180
180
|
} catch (e) {
|
|
181
181
|
console.error(`Error occurred while merging accounts: ${e}`);
|
|
@@ -217,13 +217,13 @@ class N {
|
|
|
217
217
|
};
|
|
218
218
|
updateAccountFiltering = async (t, e) => {
|
|
219
219
|
for (const n of t) {
|
|
220
|
-
const c = this.accounts.find((
|
|
220
|
+
const c = this.accounts.find((o) => o.guid === n);
|
|
221
221
|
if (c) {
|
|
222
222
|
c.is_excluded_from_accounts = e, c.is_excluded_from_budgets = e, c.is_excluded_from_cash_flow = e, c.is_excluded_from_debts = e, c.is_excluded_from_goals = e, c.is_excluded_from_investments = e, c.is_excluded_from_net_worth = e, c.is_excluded_from_spending = e, c.is_excluded_from_transactions = e, c.is_excluded_from_trends = e;
|
|
223
223
|
try {
|
|
224
224
|
this.updateAccount(c);
|
|
225
|
-
} catch (
|
|
226
|
-
console.error(`Failed to update account ${n} (added):`,
|
|
225
|
+
} catch (o) {
|
|
226
|
+
console.error(`Failed to update account ${n} (added):`, o);
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
229
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as _ } from "./ConnectDrawer-
|
|
1
|
+
import { A as _ } from "./ConnectDrawer-C2minBK_.mjs";
|
|
2
2
|
const s = (t) => t && (t.account_type === _.CREDIT_CARD || t.account_type === _.LOAN || t.account_type === _.MORTGAGE || t.account_type === _.LINE_OF_CREDIT || t.account_type === _.CHECKING_LINE_OF_CREDIT), p = (t) => t.is_manual || !t.guid, E = (t) => t.account_type === _.LINE_OF_CREDIT || t.account_type === _.CREDIT_CARD || t.account_type === _.CHECKING_LINE_OF_CREDIT, a = (t) => t.account_type === _.SAVINGS || t.account_type === _.CHECKING || t.account_type === _.LINE_OF_CREDIT || t.account_type === _.CREDIT_CARD || t.account_type === _.LOAN || t.account_type === _.MORTGAGE, y = (t) => t.account_type === _.LOAN || t.account_type === _.MORTGAGE;
|
|
3
3
|
export {
|
|
4
4
|
s as a,
|
|
@@ -2,7 +2,7 @@ import { jsx as t, jsxs as E } from "react/jsx-runtime";
|
|
|
2
2
|
import { observer as g } from "mobx-react-lite";
|
|
3
3
|
import C from "react";
|
|
4
4
|
import $ from "@mui/material/Stack";
|
|
5
|
-
import { G as K,
|
|
5
|
+
import { G as K, j as y, u as b, g as D, a as U } from "./hooks-DUeXom8C.mjs";
|
|
6
6
|
import Y from "@mui/material/List";
|
|
7
7
|
import V from "@mui/material/Paper";
|
|
8
8
|
import v from "@mui/material/Divider";
|
|
@@ -11,7 +11,7 @@ import W from "@mui/material/ListItemAvatar";
|
|
|
11
11
|
import N from "@mui/material/ListItemButton";
|
|
12
12
|
import F from "@mui/material/ListItemIcon";
|
|
13
13
|
import G from "@mui/material/ListItemText";
|
|
14
|
-
import { CheckCircle as
|
|
14
|
+
import { CheckCircle as j, Edit as M, Delete as X, ExpandMore as z } from "@mxenabled/mx-icons";
|
|
15
15
|
import { Text as B, TextField as q, CategoryIcon as H } from "@mxenabled/mxui";
|
|
16
16
|
import J from "@mui/material/Collapse";
|
|
17
17
|
import Q from "@mui/material/DialogContent";
|
|
@@ -194,7 +194,7 @@ const re = ({
|
|
|
194
194
|
primaryTypographyProps: { fontWeight: "normal", variant: "Body" }
|
|
195
195
|
}
|
|
196
196
|
),
|
|
197
|
-
i && A && /* @__PURE__ */ t(
|
|
197
|
+
i && A && /* @__PURE__ */ t(j, { fontSize: "small" }),
|
|
198
198
|
!w && /* @__PURE__ */ t(te, { label: l })
|
|
199
199
|
]
|
|
200
200
|
}
|
|
@@ -207,7 +207,7 @@ const re = ({
|
|
|
207
207
|
onClick: () => {
|
|
208
208
|
p(!0), a(!0), d(m.ON_SUBCATEGORY_EDIT_CLICK);
|
|
209
209
|
},
|
|
210
|
-
children: /* @__PURE__ */ t(
|
|
210
|
+
children: /* @__PURE__ */ t(M, { color: "secondary" })
|
|
211
211
|
}
|
|
212
212
|
),
|
|
213
213
|
/* @__PURE__ */ t(
|
|
@@ -14,7 +14,7 @@ import p from "@mui/material/ListItemText";
|
|
|
14
14
|
import y from "@mui/material/Popover";
|
|
15
15
|
import g from "@mui/material/Stack";
|
|
16
16
|
import v from "@mui/material/Checkbox";
|
|
17
|
-
import { u as B, c, d as u } from "./hooks-
|
|
17
|
+
import { u as B, c, d as u } from "./hooks-DUeXom8C.mjs";
|
|
18
18
|
import { b as W } from "./Localization-2MODESHW.mjs";
|
|
19
19
|
import { u as EE } from "./useScreenSize-B6JyS_Lj.mjs";
|
|
20
20
|
import { observer as z } from "mobx-react-lite";
|
|
@@ -3,8 +3,8 @@ import r from "react";
|
|
|
3
3
|
import { observer as E } from "mobx-react-lite";
|
|
4
4
|
import { useTheme as D } from "@mui/material/styles";
|
|
5
5
|
import { ConnectionsWidget as L } from "@mxenabled/web-widget-sdk";
|
|
6
|
-
import { C as a, c, M as i } from "./ConnectDrawer-
|
|
7
|
-
import { c as b, d as w, u as _ } from "./hooks-
|
|
6
|
+
import { C as a, c, M as i } from "./ConnectDrawer-C2minBK_.mjs";
|
|
7
|
+
import { c as b, d as w, u as _ } from "./hooks-DUeXom8C.mjs";
|
|
8
8
|
import { D as x } from "./Drawer-kEE73B87.mjs";
|
|
9
9
|
const I = ({
|
|
10
10
|
onClose: l,
|
|
@@ -5,7 +5,7 @@ import { v4 as B } from "uuid";
|
|
|
5
5
|
import { useTokens as O, TextField as W, P as p } from "@mxenabled/mxui";
|
|
6
6
|
import { b as _, g as d } from "./Localization-2MODESHW.mjs";
|
|
7
7
|
import { g as j, C as D, f as y, M as C } from "./NumberFormatting-CtWHhyBX.mjs";
|
|
8
|
-
import { u as F } from "./hooks-
|
|
8
|
+
import { u as F } from "./hooks-DUeXom8C.mjs";
|
|
9
9
|
const G = ({
|
|
10
10
|
allowDecimals: o = !0,
|
|
11
11
|
ariaLabel: g,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { makeAutoObservable as l } from "mobx";
|
|
2
2
|
import { getDate as r, fromUnixTime as _, startOfMonth as m } from "date-fns";
|
|
3
|
-
import { A as p } from "./ConnectDrawer-
|
|
3
|
+
import { A as p } from "./ConnectDrawer-C2minBK_.mjs";
|
|
4
4
|
const E = 12, T = 100;
|
|
5
5
|
var c = /* @__PURE__ */ ((a) => (a[a.FASTEST_PAYOFF_FIRST = 1] = "FASTEST_PAYOFF_FIRST", a[a.HIGHEST_INTEREST = 2] = "HIGHEST_INTEREST", a[a.LOWEST_BALANCE = 3] = "LOWEST_BALANCE", a[a.HIGHEST_BALANCE = 4] = "HIGHEST_BALANCE", a))(c || {});
|
|
6
6
|
const b = {
|
|
@@ -7,8 +7,8 @@ import O from "@mui/material/CardHeader";
|
|
|
7
7
|
import S from "@mui/material/Stack";
|
|
8
8
|
import { AccountBalance as w, ChevronRight as L } from "@mxenabled/mx-icons";
|
|
9
9
|
import { Text as A } from "@mxenabled/mxui";
|
|
10
|
-
import { j as b } from "./ConnectDrawer-
|
|
11
|
-
import {
|
|
10
|
+
import { j as b } from "./ConnectDrawer-C2minBK_.mjs";
|
|
11
|
+
import { l as y } from "./hooks-DUeXom8C.mjs";
|
|
12
12
|
import { makeAutoObservable as D, runInAction as c } from "mobx";
|
|
13
13
|
import { F as v, A as i } from "./Fetch-CkFKy79O.mjs";
|
|
14
14
|
import { fromUnixTime as G } from "date-fns/fromUnixTime";
|
|
@@ -13,7 +13,7 @@ import E from "@mui/material/Stack";
|
|
|
13
13
|
import { H3 as y, P as H, Icon as X, Text as T, H2 as _t, InstitutionLogo as bt } from "@mxenabled/mxui";
|
|
14
14
|
import { ExpandMore as ot, ChevronRight as wt } from "@mxenabled/mx-icons";
|
|
15
15
|
import xt from "@mui/material/Breadcrumbs";
|
|
16
|
-
import { u as V, y as tt, c as ft, o as St, a as It,
|
|
16
|
+
import { u as V, y as tt, c as ft, o as St, a as It, l as Tt } from "./hooks-DUeXom8C.mjs";
|
|
17
17
|
import { useTheme as Z } from "@mui/material/styles";
|
|
18
18
|
import { b as s } from "./Localization-2MODESHW.mjs";
|
|
19
19
|
import { E as Et, a as Ct, P as At } from "./Help-DhcC-C05.mjs";
|
|
@@ -7,7 +7,7 @@ import { f as y } from "./NumberFormatting-CtWHhyBX.mjs";
|
|
|
7
7
|
import { observer as se } from "mobx-react-lite";
|
|
8
8
|
import { Stack as x, Box as W, useTheme as ce } from "@mui/material";
|
|
9
9
|
import { Text as l } from "@mxenabled/mxui";
|
|
10
|
-
import { u as de } from "./hooks-
|
|
10
|
+
import { u as de } from "./hooks-DUeXom8C.mjs";
|
|
11
11
|
import { ChartsTooltip as he } from "@mui/x-charts/ChartsTooltip";
|
|
12
12
|
const ue = (e) => {
|
|
13
13
|
const a = N(), o = e.showLabel, s = e.style, g = Number(e.x), m = Number(e.y), u = e.handlers?.onMarkClick, f = e.handlers?.onMouseEnter, c = e.handlers?.onMouseLeave, d = le(a.breakpoints.up("sm")), n = e.valueFormatterString ? y(e.yData[e.dataIndex], e.valueFormatterString) : String(e.yData[e.dataIndex]), h = d ? a.typography.Small?.fontSize : a.typography.XSmall?.fontSize, k = h ? parseFloat(h.toString()) * 0.6 : 8, C = n.length * k + 8 + 8, M = 24, S = g - C / 2, T = m - 30;
|
|
@@ -8,7 +8,7 @@ import L from "@mui/material/Stack";
|
|
|
8
8
|
import { ChevronRight as g } from "@mxenabled/mx-icons";
|
|
9
9
|
import { Text as m } from "@mxenabled/mxui";
|
|
10
10
|
import { a as j } from "./Dialog-CWW597AF.mjs";
|
|
11
|
-
import { u as P } from "./hooks-
|
|
11
|
+
import { u as P } from "./hooks-DUeXom8C.mjs";
|
|
12
12
|
const D = v(
|
|
13
13
|
({
|
|
14
14
|
children: n,
|
|
@@ -16,23 +16,23 @@ import { startOfToday as z } from "date-fns/startOfToday";
|
|
|
16
16
|
import { endOfMonth as _e } from "date-fns/endOfMonth";
|
|
17
17
|
import H from "@mui/material/Button";
|
|
18
18
|
import { Delete as me, Add as ye, ReceiptLong as pe } from "@mxenabled/mx-icons";
|
|
19
|
-
import { T as X, a as he, u as ge, S as fe, b as Ce } from "./TransactionDetails-
|
|
19
|
+
import { T as X, a as he, u as ge, S as fe, b as Ce } from "./TransactionDetails-BXl0m15s.mjs";
|
|
20
20
|
import { getDayOfYear as be } from "date-fns/getDayOfYear";
|
|
21
21
|
import { setDayOfYear as Se } from "date-fns/setDayOfYear";
|
|
22
22
|
import { AdapterDateFns as ve } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
23
23
|
import { DatePicker as xe } from "@mui/x-date-pickers";
|
|
24
24
|
import { LocalizationProvider as we } from "@mui/x-date-pickers/LocalizationProvider";
|
|
25
|
-
import { u as w,
|
|
25
|
+
import { u as w, f as M, g as F, a as Ae, n as Z, o as De } from "./hooks-DUeXom8C.mjs";
|
|
26
26
|
import { b as Ie, f as J } from "./NumberFormatting-CtWHhyBX.mjs";
|
|
27
27
|
import { D as O } from "./Drawer-kEE73B87.mjs";
|
|
28
|
-
import { A as R } from "./WidgetContainer-
|
|
28
|
+
import { A as R } from "./WidgetContainer-DK8aZO5l.mjs";
|
|
29
29
|
import { f as Ee, D as Re, a as Te } from "./Dialog-CWW597AF.mjs";
|
|
30
30
|
import { formatISO as Le } from "date-fns/formatISO";
|
|
31
31
|
import { fromUnixTime as Oe } from "date-fns/fromUnixTime";
|
|
32
32
|
import { S as ke } from "./SearchBox-B2_zLv8-.mjs";
|
|
33
33
|
import { h as Ne } from "./DateUtil-BcuH7ErC.mjs";
|
|
34
34
|
import { b as B } from "./Category-CevNQ03n.mjs";
|
|
35
|
-
import { T as V } from "./User-
|
|
35
|
+
import { T as V } from "./User-DtwqVm3K.mjs";
|
|
36
36
|
const ee = ({
|
|
37
37
|
frequency: n,
|
|
38
38
|
firstDay: t,
|
|
@@ -6,7 +6,7 @@ import b from "@mui/material/CardHeader";
|
|
|
6
6
|
import { P as u, H3 as v } from "@mxenabled/mxui";
|
|
7
7
|
import { ChevronRight as W } from "@mxenabled/mx-icons";
|
|
8
8
|
import { u as M } from "./useDimensions-27p2evRx.mjs";
|
|
9
|
-
import { W as w } from "./hooks-
|
|
9
|
+
import { W as w } from "./hooks-DUeXom8C.mjs";
|
|
10
10
|
const H = ({
|
|
11
11
|
children: e,
|
|
12
12
|
className: o,
|
|
@@ -7,7 +7,7 @@ import b from "@mui/material/IconButton";
|
|
|
7
7
|
import { Icon as C, ChevronRight as v } from "@mxenabled/mx-icons";
|
|
8
8
|
import { Text as W, H3 as H } from "@mxenabled/mxui";
|
|
9
9
|
import { u as I } from "./useDimensions-27p2evRx.mjs";
|
|
10
|
-
import { W as M } from "./hooks-
|
|
10
|
+
import { W as M } from "./hooks-DUeXom8C.mjs";
|
|
11
11
|
const j = ({
|
|
12
12
|
className: t = "mx-cmn-mini-widget",
|
|
13
13
|
closeLabel: a,
|
|
@@ -3,8 +3,8 @@ import { format as A } from "date-fns/format";
|
|
|
3
3
|
import { fromUnixTime as W } from "date-fns/fromUnixTime";
|
|
4
4
|
import { startOfMonth as _ } from "date-fns/startOfMonth";
|
|
5
5
|
import { subMonths as B } from "date-fns/subMonths";
|
|
6
|
-
import { a as b } from "./Accounts-
|
|
7
|
-
import { e as N, a as M, f as v } from "./ConnectDrawer-
|
|
6
|
+
import { a as b } from "./Accounts-ByViymVi.mjs";
|
|
7
|
+
import { e as N, a as M, f as v } from "./ConnectDrawer-C2minBK_.mjs";
|
|
8
8
|
const f = 13, L = (n, t) => n.filter((e) => {
|
|
9
9
|
const { is_closed: r, is_deleted: s, is_hidden: a, is_manual: i } = e;
|
|
10
10
|
return r || s || a ? !1 : i || !e.guid ? !0 : t.some((l) => n.some((g) => l.guid === g.member_guid));
|
|
@@ -15,11 +15,11 @@ import { DateCalendar as te } from "@mui/x-date-pickers/DateCalendar";
|
|
|
15
15
|
import { LocalizationProvider as ne } from "@mui/x-date-pickers/LocalizationProvider";
|
|
16
16
|
import { AdapterDateFns as ie } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
17
17
|
import { A as oe, T as F, a as P, N as b } from "./Notification-ByMBpJ5u.mjs";
|
|
18
|
-
import { u as D, r as T, o as w, c as se,
|
|
18
|
+
import { u as D, r as T, o as w, c as se, g as ae, l as W, a as ce } from "./hooks-DUeXom8C.mjs";
|
|
19
19
|
import { b as le } from "./Localization-2MODESHW.mjs";
|
|
20
20
|
import { b as re, f as de } from "./NumberFormatting-CtWHhyBX.mjs";
|
|
21
21
|
import { a as M } from "./Dialog-CWW597AF.mjs";
|
|
22
|
-
import { C as me } from "./CurrencyInput-
|
|
22
|
+
import { C as me } from "./CurrencyInput-Dz4r9Rfe.mjs";
|
|
23
23
|
import { u as _e } from "./useScreenSize-B6JyS_Lj.mjs";
|
|
24
24
|
import { D as J } from "./Drawer-kEE73B87.mjs";
|
|
25
25
|
import he from "@mui/material/Collapse";
|
|
@@ -2,10 +2,10 @@ import { jsx as o } from "react/jsx-runtime";
|
|
|
2
2
|
import _ from "react";
|
|
3
3
|
import { observer as p } from "mobx-react-lite";
|
|
4
4
|
import v from "@mui/material/TextField";
|
|
5
|
-
import { L as y } from "./ListItemAction-
|
|
6
|
-
import { u as h,
|
|
5
|
+
import { L as y } from "./ListItemAction-DE6S0N5o.mjs";
|
|
6
|
+
import { u as h, i as b } from "./hooks-DUeXom8C.mjs";
|
|
7
7
|
import { a as T, f as S } from "./NumberFormatting-CtWHhyBX.mjs";
|
|
8
|
-
import { C as f } from "./CurrencyInput-
|
|
8
|
+
import { C as f } from "./CurrencyInput-Dz4r9Rfe.mjs";
|
|
9
9
|
const F = p(({ goal: e }) => {
|
|
10
10
|
const { goals: a } = h(), { setAlert: r, setSelectedGoal: l, updateGoal: m } = b(), [t, s] = _.useState(e.interest_rate ?? 0), c = !e.guid, i = t < 0, d = async () => {
|
|
11
11
|
const n = { ...e, interest_rate: t };
|
|
@@ -7,10 +7,10 @@ import R from "@mui/material/Tabs";
|
|
|
7
7
|
import l from "@mui/material/Divider";
|
|
8
8
|
import T from "@mui/material/List";
|
|
9
9
|
import C from "@mui/material/Stack";
|
|
10
|
-
import { R as x, A as S, a as E, M as A } from "./ManageIncome-
|
|
11
|
-
import { u as h,
|
|
10
|
+
import { R as x, A as S, a as E, M as A } from "./ManageIncome-BokhnWOn.mjs";
|
|
11
|
+
import { u as h, f as y, g as _ } from "./hooks-DUeXom8C.mjs";
|
|
12
12
|
import { R as v, F as N } from "./RepeatingTransaction-BW4J-jeJ.mjs";
|
|
13
|
-
import { A as d } from "./WidgetContainer-
|
|
13
|
+
import { A as d } from "./WidgetContainer-DK8aZO5l.mjs";
|
|
14
14
|
const I = u(() => {
|
|
15
15
|
const { recurring: r } = h(), { repeatingTransactions: s } = y(), { onEvent: o } = _(), a = (n) => {
|
|
16
16
|
o(d.RECURRING_TRANSACTIONS_CLICK_EXPENSE, {
|