@mx-cartographer/experiences 7.2.30 → 7.3.0
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 +4 -0
- package/dist/{Account-vp_TAbGt.mjs → Account-YwUMFz93.mjs} +1 -1
- package/dist/{AccountDetailsContent-B6ZFRZ8l.mjs → AccountDetailsContent-BgCST7mK.mjs} +8 -8
- package/dist/AccountDetailsHeader-jAFWoHj7.mjs +87 -0
- package/dist/{AccountFields-DUToRRqW.mjs → AccountFields-DPxMPBF0.mjs} +2 -2
- package/dist/{AccountListItem-CeY_WIpj.mjs → AccountListItem-D6rWAreC.mjs} +4 -4
- package/dist/{AccountStore-BzqNrhw4.mjs → AccountStore-B5E98oM1.mjs} +2 -2
- package/dist/{Accounts-C1QxUB-e.mjs → Accounts-UIlYCmHb.mjs} +1 -1
- package/dist/{BudgetUtil-B2ZXyw-g.mjs → BudgetUtil-CXvenbdN.mjs} +1 -1
- package/dist/{CategorySelectorDrawer-BXnLseqP.mjs → CategorySelectorDrawer-Buy70Y3V.mjs} +1 -1
- package/dist/{ConnectDrawer-Bw5s6Dw1.mjs → ConnectDrawer-CbxHKlRv.mjs} +1 -1
- package/dist/{ConnectionsDrawer-BDvVuJQf.mjs → ConnectionsDrawer-C6kanU7I.mjs} +2 -2
- package/dist/{CurrencyInput-DUsQbkXb.mjs → CurrencyInput-lSC7oPDg.mjs} +1 -1
- package/dist/{DebtsStore-BD_XwsI7.mjs → DebtsStore-DgIcphe_.mjs} +1 -1
- package/dist/{ExportCsvAction-DTO_UotC.mjs → ExportCsvAction-DZ10CbWd.mjs} +3 -3
- package/dist/{GoalStore-BgFV554B.mjs → GoalStore-CAlmSu4U.mjs} +2 -2
- package/dist/{Help-B6dIcujh.mjs → Help-hi9I9EYP.mjs} +1 -1
- package/dist/{LineChart-4Zi8Z8PR.mjs → LineChart-eK4IQImU.mjs} +1 -1
- package/dist/{ListItemAction-DHa3KJPs.mjs → ListItemAction-BmL5buOf.mjs} +1 -1
- package/dist/{ManageIncome-CXeJPfjE.mjs → ManageIncome-Cypo9qY4.mjs} +4 -4
- package/dist/{MicroWidgetContainer-DpeqN9n3.mjs → MicroWidgetContainer-CFdMGJKg.mjs} +1 -1
- package/dist/{MiniWidgetContainer-D0gfmbaF.mjs → MiniWidgetContainer-BdgBvpga.mjs} +1 -1
- package/dist/{NetWorthStore-D1NiDUcc.mjs → NetWorthStore-CxqIxAgN.mjs} +2 -2
- package/dist/{NotificationSettings-CLAV8YEa.mjs → NotificationSettings-DxytNHlN.mjs} +3 -3
- package/dist/{OriginalBalanceAction-CWuVvRq9.mjs → OriginalBalanceAction-V6FEoIDe.mjs} +3 -3
- package/dist/{RecurringSettings-D7476j-N.mjs → RecurringSettings-iIupYxJW.mjs} +3 -3
- package/dist/{TransactionDetails-Cscyr17P.mjs → TransactionDetails-BUoNbsu-.mjs} +5 -5
- package/dist/{TransactionStore-DCH-rl8p.mjs → TransactionStore-C1oyQCZK.mjs} +2 -2
- package/dist/TrendsStore-5PvDT_o6.mjs +182 -0
- package/dist/{User-BQUxBeZV.mjs → User-Bj34_i8g.mjs} +1 -1
- package/dist/{WidgetContainer-EbrN1oIo.mjs → WidgetContainer-BnTgAfQn.mjs} +2 -2
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart.d.ts +4 -1
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsHeader.d.ts +2 -1
- package/dist/accounts/index.es.js +241 -205
- 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/components/charts/index.d.ts +0 -2
- package/dist/common/index.es.js +122 -125
- package/dist/dashboard/index.es.js +2 -2
- package/dist/debts/index.es.js +9 -9
- package/dist/{exportTransactionsToCSV-BwwmL4pM.mjs → exportTransactionsToCSV-B8qpk5MU.mjs} +1 -1
- package/dist/finstrong/index.es.js +6 -6
- package/dist/goals/index.es.js +12 -12
- package/dist/help/index.es.js +3 -3
- package/dist/{hooks-D6XlXHf4.mjs → hooks-Cy8JnjCg.mjs} +2 -2
- package/dist/investments/index.es.js +3 -3
- package/dist/merchants/index.es.js +1 -1
- package/dist/networth/index.es.js +14 -14
- 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 +948 -583
- package/dist/{useAccountDisplayName-jS05A6-6.mjs → useAccountDisplayName-D6sQsNNQ.mjs} +2 -2
- package/dist/{useInsightsEnabled-DBpwEq10.mjs → useInsightsEnabled-BxytCjq5.mjs} +1 -1
- package/package.json +1 -1
- package/dist/AccountDetailsHeader-vPzGb1RZ.mjs +0 -120
- package/dist/TrendsStore-DCYbpXPO.mjs +0 -559
package/CHANGELOG.md
CHANGED
|
@@ -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 { d as z, u as E, g as O, h as X } from "./hooks-
|
|
16
|
-
import { A as at } from "./AccountListItem-
|
|
17
|
-
import { A as k } from "./WidgetContainer-
|
|
14
|
+
import { u as D } from "./AccountDetailsHeader-jAFWoHj7.mjs";
|
|
15
|
+
import { d as z, u as E, g as O, h as X } from "./hooks-Cy8JnjCg.mjs";
|
|
16
|
+
import { A as at } from "./AccountListItem-D6rWAreC.mjs";
|
|
17
|
+
import { A as k } from "./WidgetContainer-BnTgAfQn.mjs";
|
|
18
18
|
import { a as V, f as B, D as K } 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 P 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 { n as m, N as Q, l as Z, F as R } from "./ConnectDrawer-
|
|
25
|
+
import { n as m, N as Q, l as Z, F as R } from "./ConnectDrawer-CbxHKlRv.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 bt from "@mui/material/MenuItem";
|
|
38
38
|
import At from "@mui/material/Select";
|
|
39
39
|
import Tt from "@mui/material/TextField";
|
|
40
|
-
import { C as St } from "./CurrencyInput-
|
|
41
|
-
import { b as Dt } from "./AccountFields-
|
|
40
|
+
import { C as St } from "./CurrencyInput-lSC7oPDg.mjs";
|
|
41
|
+
import { b as Dt } from "./AccountFields-DPxMPBF0.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-BUoNbsu-.mjs";
|
|
48
48
|
import { T as j } from "./TabContentContainer-j01JYR_7.mjs";
|
|
49
49
|
const U = ({
|
|
50
50
|
children: e,
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { jsx as t, jsxs as i } from "react/jsx-runtime";
|
|
2
|
+
import { observer as m } from "mobx-react-lite";
|
|
3
|
+
import e from "@mui/material/Stack";
|
|
4
|
+
import { H3 as _, InstitutionLogo as x, Text as a, H2 as T } from "@mxenabled/mxui";
|
|
5
|
+
import d from "react";
|
|
6
|
+
import { G as D, d as f, m as N, f as w, u as E } from "./hooks-Cy8JnjCg.mjs";
|
|
7
|
+
import { g as I } from "./AccountFields-DPxMPBF0.mjs";
|
|
8
|
+
import G from "@mui/material/Card";
|
|
9
|
+
import v from "@mui/material/CardContent";
|
|
10
|
+
import O from "@mui/material/CardHeader";
|
|
11
|
+
import { L as H } from "./Loader-DUaFpDGv.mjs";
|
|
12
|
+
import { f as M, D as P } from "./Dialog-CWW597AF.mjs";
|
|
13
|
+
import { I as L, P as U, S as j } from "./Account-YwUMFz93.mjs";
|
|
14
|
+
import { u as z } from "./useAccountDisplayName-D6sQsNNQ.mjs";
|
|
15
|
+
import { f as B } from "./NumberFormatting-Buh7u8Oi.mjs";
|
|
16
|
+
const p = () => {
|
|
17
|
+
if (!d.useContext(D))
|
|
18
|
+
throw new Error("useCategoryUiStore() must be used within the GlobalDataContext");
|
|
19
|
+
return f().uiStore;
|
|
20
|
+
}, Y = ({ sx: n, ChartComponent: s }) => {
|
|
21
|
+
const { loadMonthlyCategoryTotals: c } = N(), { isInitialized: o } = w(), { selectedAccount: r } = p(), [l, u] = d.useState(!1);
|
|
22
|
+
return d.useEffect(() => {
|
|
23
|
+
o && c([r]).finally(() => {
|
|
24
|
+
u(!0);
|
|
25
|
+
});
|
|
26
|
+
}, [o, r]), !o || !l ? /* @__PURE__ */ t(H, {}) : /* @__PURE__ */ i(
|
|
27
|
+
G,
|
|
28
|
+
{
|
|
29
|
+
sx: {
|
|
30
|
+
"& .MuiCardContent-root:last-child": {
|
|
31
|
+
pb: 0
|
|
32
|
+
},
|
|
33
|
+
...n
|
|
34
|
+
},
|
|
35
|
+
children: [
|
|
36
|
+
/* @__PURE__ */ t(
|
|
37
|
+
O,
|
|
38
|
+
{
|
|
39
|
+
sx: { pb: 0 },
|
|
40
|
+
title: /* @__PURE__ */ t(_, { sx: { pb: 4 }, children: M(/* @__PURE__ */ new Date(), P.MONTH_LONG) })
|
|
41
|
+
}
|
|
42
|
+
),
|
|
43
|
+
/* @__PURE__ */ t(v, { sx: { p: 0 }, children: s ? /* @__PURE__ */ t(s, {}) : null })
|
|
44
|
+
]
|
|
45
|
+
}
|
|
46
|
+
);
|
|
47
|
+
}, k = m(Y), R = ({
|
|
48
|
+
customDetailsChart: n,
|
|
49
|
+
ChartComponent: s
|
|
50
|
+
}) => {
|
|
51
|
+
const { institutions: c } = f(), { selectedAccount: o } = p(), { accounts: r } = E(), { firstSubtitle: l, firstValue: u, hasAvailableBalance: C, secondSubtitle: h, secondValue: S } = I(o, r), b = c.find(
|
|
52
|
+
(y) => y.guid === o?.institution_guid
|
|
53
|
+
), A = [
|
|
54
|
+
...L,
|
|
55
|
+
...U,
|
|
56
|
+
...j
|
|
57
|
+
].includes(o.account_type), g = z(o);
|
|
58
|
+
return /* @__PURE__ */ i(e, { bgcolor: "background.default", p: 24, children: [
|
|
59
|
+
/* @__PURE__ */ i(e, { gap: 12, children: [
|
|
60
|
+
/* @__PURE__ */ t(
|
|
61
|
+
x,
|
|
62
|
+
{
|
|
63
|
+
alt: r.institution_logo_alt,
|
|
64
|
+
institutionGuid: o.institution_guid || "",
|
|
65
|
+
size: 64
|
|
66
|
+
}
|
|
67
|
+
),
|
|
68
|
+
/* @__PURE__ */ t(a, { variant: "Small", children: b?.name })
|
|
69
|
+
] }),
|
|
70
|
+
/* @__PURE__ */ i(e, { gap: 8, mb: 24, mt: 4, children: [
|
|
71
|
+
/* @__PURE__ */ t(T, { children: g }),
|
|
72
|
+
/* @__PURE__ */ i(e, { direction: "row", justifyContent: "space-between", children: [
|
|
73
|
+
/* @__PURE__ */ t(a, { bold: C, variant: "Body", children: l }),
|
|
74
|
+
/* @__PURE__ */ t(a, { bold: !0, variant: "Body", children: B(u, "0,0.00") })
|
|
75
|
+
] }),
|
|
76
|
+
/* @__PURE__ */ i(e, { direction: "row", justifyContent: "space-between", children: [
|
|
77
|
+
/* @__PURE__ */ t(a, { variant: "Small", children: h }),
|
|
78
|
+
/* @__PURE__ */ t(a, { variant: "Small", children: S })
|
|
79
|
+
] })
|
|
80
|
+
] }),
|
|
81
|
+
A && /* @__PURE__ */ t(e, { children: n || /* @__PURE__ */ t(k, { ChartComponent: s }) })
|
|
82
|
+
] });
|
|
83
|
+
}, rt = m(R);
|
|
84
|
+
export {
|
|
85
|
+
rt as A,
|
|
86
|
+
p as u
|
|
87
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as u } from "react/jsx-runtime";
|
|
2
2
|
import { Icon as p, Text as y } from "@mxenabled/mxui";
|
|
3
|
-
import { F as m, A as d, a as v, P as h, b as F } from "./ConnectDrawer-
|
|
4
|
-
import { i as T, u as D, a as A, b as g, c as O } from "./Accounts-
|
|
3
|
+
import { F as m, A as d, a as v, P as h, b as F } from "./ConnectDrawer-CbxHKlRv.mjs";
|
|
4
|
+
import { i as T, u as D, a as A, b as g, c as O } from "./Accounts-UIlYCmHb.mjs";
|
|
5
5
|
import { f as _, i as b, a as N, b as S } from "./NumberFormatting-Buh7u8Oi.mjs";
|
|
6
6
|
import { b as i } from "./Localization-2MODESHW.mjs";
|
|
7
7
|
import { f as o, D as f } from "./Dialog-CWW597AF.mjs";
|
|
@@ -10,10 +10,10 @@ import B from "@mui/material/styles/useTheme";
|
|
|
10
10
|
import { InstitutionLogo as L, Text as o } from "@mxenabled/mxui";
|
|
11
11
|
import { Error as A } from "@mxenabled/mx-icons";
|
|
12
12
|
import { I as j } from "./IconBacking-B9oC6uL2.mjs";
|
|
13
|
-
import { g as T } from "./AccountFields-
|
|
14
|
-
import { u as X } from "./useAccountDisplayName-
|
|
15
|
-
import { d } from "./ConnectDrawer-
|
|
16
|
-
import { u as $ } from "./hooks-
|
|
13
|
+
import { g as T } from "./AccountFields-DPxMPBF0.mjs";
|
|
14
|
+
import { u as X } from "./useAccountDisplayName-D6sQsNNQ.mjs";
|
|
15
|
+
import { d } from "./ConnectDrawer-CbxHKlRv.mjs";
|
|
16
|
+
import { u as $ } from "./hooks-Cy8JnjCg.mjs";
|
|
17
17
|
import { f as k } from "./NumberFormatting-Buh7u8Oi.mjs";
|
|
18
18
|
const w = {
|
|
19
19
|
gridRow: 1,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { makeAutoObservable as A, runInAction as a } from "mobx";
|
|
2
|
-
import { i as f } from "./User-
|
|
2
|
+
import { i as f } from "./User-Bj34_i8g.mjs";
|
|
3
3
|
import { F as p, A as i } from "./Fetch-DecPFeGU.mjs";
|
|
4
|
-
import { A as c, h as d, d as h, E as y, i as I, j as b } from "./ConnectDrawer-
|
|
4
|
+
import { A as c, h as d, d as h, E as y, i as I, j as b } from "./ConnectDrawer-CbxHKlRv.mjs";
|
|
5
5
|
class _ {
|
|
6
6
|
fetchInstance;
|
|
7
7
|
constructor(t, e, n) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as _ } from "./ConnectDrawer-
|
|
1
|
+
import { A as _ } from "./ConnectDrawer-CbxHKlRv.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, m as y, u as b, g as D, b as U } from "./hooks-
|
|
5
|
+
import { G as K, m as y, u as b, g as D, b as U } from "./hooks-Cy8JnjCg.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";
|
|
@@ -14,7 +14,7 @@ import EE from "@mui/material/ListItemText";
|
|
|
14
14
|
import IE from "@mui/material/Popover";
|
|
15
15
|
import F from "@mui/material/Stack";
|
|
16
16
|
import w from "@mui/material/Checkbox";
|
|
17
|
-
import { u as o, f as _E, d as NE, e as rE } from "./hooks-
|
|
17
|
+
import { u as o, f as _E, d as NE, e as rE } from "./hooks-Cy8JnjCg.mjs";
|
|
18
18
|
import { b as W } from "./Localization-2MODESHW.mjs";
|
|
19
19
|
import { u as RE } from "./useScreenSize-B6JyS_Lj.mjs";
|
|
20
20
|
import { observer as Q } from "mobx-react-lite";
|
|
@@ -3,8 +3,8 @@ import s from "react";
|
|
|
3
3
|
import { observer as E } from "mobx-react-lite";
|
|
4
4
|
import { useTheme as b } from "@mui/material/styles";
|
|
5
5
|
import { ConnectionsWidget as D } from "@mxenabled/web-widget-sdk";
|
|
6
|
-
import { C as a, c, M as i } from "./ConnectDrawer-
|
|
7
|
-
import { d as L, e as w, u as _ } from "./hooks-
|
|
6
|
+
import { C as a, c, M as i } from "./ConnectDrawer-CbxHKlRv.mjs";
|
|
7
|
+
import { d as L, e as w, u as _ } from "./hooks-Cy8JnjCg.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 L, TextField as O, P as _ } from "@mxenabled/mxui";
|
|
6
6
|
import { b as y, g as C } from "./Localization-2MODESHW.mjs";
|
|
7
7
|
import { g as W, C as j, f as g, M as b } from "./NumberFormatting-Buh7u8Oi.mjs";
|
|
8
|
-
import { u as D } from "./hooks-
|
|
8
|
+
import { u as D } from "./hooks-Cy8JnjCg.mjs";
|
|
9
9
|
const F = ({
|
|
10
10
|
allowDecimals: o = !0,
|
|
11
11
|
ariaLabel: h,
|
|
@@ -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-CbxHKlRv.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 = {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { observer as c } from "mobx-react-lite";
|
|
3
3
|
import { Icon as i } from "@mxenabled/mxui";
|
|
4
|
-
import { e as p } from "./exportTransactionsToCSV-
|
|
5
|
-
import { O as m } from "./User-
|
|
4
|
+
import { e as p } from "./exportTransactionsToCSV-B8qpk5MU.mjs";
|
|
5
|
+
import { O as m } from "./User-Bj34_i8g.mjs";
|
|
6
6
|
import { R as x } from "./ResponsiveButton-DZFp78fJ.mjs";
|
|
7
|
-
import { g as _, h as C, u as l } from "./hooks-
|
|
7
|
+
import { g as _, h as C, u as l } from "./hooks-Cy8JnjCg.mjs";
|
|
8
8
|
const v = ({ filter: t }) => {
|
|
9
9
|
const { onEvent: r } = _(), { tags: e, sortedTransactions: s } = C(), { transactions: n } = l(), a = () => {
|
|
10
10
|
r(m.ON_TRANSACTION_EXPORT_CSV_CLICK), p(t ? s.filter(t) : s, e);
|
|
@@ -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 { l as b } from "./ConnectDrawer-
|
|
11
|
-
import { a as y } from "./hooks-
|
|
10
|
+
import { l as b } from "./ConnectDrawer-CbxHKlRv.mjs";
|
|
11
|
+
import { a as y } from "./hooks-Cy8JnjCg.mjs";
|
|
12
12
|
import { makeAutoObservable as D, runInAction as c } from "mobx";
|
|
13
13
|
import { F as v, A as i } from "./Fetch-DecPFeGU.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, A as tt, d as ft, p as St, b as It, a as Tt } from "./hooks-
|
|
16
|
+
import { u as V, A as tt, d as ft, p as St, b as It, a as Tt } from "./hooks-Cy8JnjCg.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 ut from "@mui/material/useMediaQuery";
|
|
|
7
7
|
import { observer as xt } from "mobx-react-lite";
|
|
8
8
|
import { Stack as u, Box as N, useTheme as ft } from "@mui/material";
|
|
9
9
|
import { Text as l } from "@mxenabled/mxui";
|
|
10
|
-
import { u as gt } from "./hooks-
|
|
10
|
+
import { u as gt } from "./hooks-Cy8JnjCg.mjs";
|
|
11
11
|
import { ChartsTooltip as yt } from "@mui/x-charts/ChartsTooltip";
|
|
12
12
|
const pt = (t) => {
|
|
13
13
|
const r = X(), o = t.showLabel, s = t.style, y = Number(t.x), m = Number(t.y), x = t.handlers?.onMarkClick, f = t.handlers?.onMouseEnter, c = t.handlers?.onMouseLeave, d = ut(r.breakpoints.up("sm")), a = t.valueFormatterString ? b(t.yData[t.dataIndex], t.valueFormatterString) : String(t.yData[t.dataIndex]), h = d ? r.typography.Small?.fontSize : r.typography.XSmall?.fontSize, k = h ? parseFloat(h.toString()) * 0.6 : 8, D = a.length * k + 8 + 8, T = 24, $ = y - D / 2, M = 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-Cy8JnjCg.mjs";
|
|
12
12
|
const D = v(
|
|
13
13
|
({
|
|
14
14
|
children: n,
|
|
@@ -17,23 +17,23 @@ import { endOfMonth as _e } from "date-fns/endOfMonth";
|
|
|
17
17
|
import { parseISO as me } from "date-fns/parseISO";
|
|
18
18
|
import $ from "@mui/material/Button";
|
|
19
19
|
import { Delete as pe, Add as he, ReceiptLong as ye } from "@mxenabled/mx-icons";
|
|
20
|
-
import { T as X, a as ge, u as fe, S as Ce, b as be } from "./TransactionDetails-
|
|
20
|
+
import { T as X, a as ge, u as fe, S as Ce, b as be } from "./TransactionDetails-BUoNbsu-.mjs";
|
|
21
21
|
import { getDayOfYear as xe } from "date-fns/getDayOfYear";
|
|
22
22
|
import { setDayOfYear as Se } from "date-fns/setDayOfYear";
|
|
23
23
|
import { AdapterDateFns as ve } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
24
24
|
import { DatePicker as we } from "@mui/x-date-pickers";
|
|
25
25
|
import { LocalizationProvider as Ae } from "@mui/x-date-pickers/LocalizationProvider";
|
|
26
|
-
import { u as w, j as M, g as F, b as Ie, h as Z, p as De } from "./hooks-
|
|
26
|
+
import { u as w, j as M, g as F, b as Ie, h as Z, p as De } from "./hooks-Cy8JnjCg.mjs";
|
|
27
27
|
import { b as Ee, f as J } from "./NumberFormatting-Buh7u8Oi.mjs";
|
|
28
28
|
import { D as O } from "./Drawer-kEE73B87.mjs";
|
|
29
|
-
import { A as R } from "./WidgetContainer-
|
|
29
|
+
import { A as R } from "./WidgetContainer-BnTgAfQn.mjs";
|
|
30
30
|
import { f as Re, D as Te, a as Le } from "./Dialog-CWW597AF.mjs";
|
|
31
31
|
import { formatISO as Oe } from "date-fns/formatISO";
|
|
32
32
|
import { fromUnixTime as ke } from "date-fns/fromUnixTime";
|
|
33
33
|
import { S as Ne } from "./SearchBox-B2_zLv8-.mjs";
|
|
34
34
|
import { h as Me } from "./DateUtil-BcuH7ErC.mjs";
|
|
35
35
|
import { b as B } from "./Category-CevNQ03n.mjs";
|
|
36
|
-
import { T as V } from "./User-
|
|
36
|
+
import { T as V } from "./User-Bj34_i8g.mjs";
|
|
37
37
|
const ee = ({
|
|
38
38
|
frequency: n,
|
|
39
39
|
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-Cy8JnjCg.mjs";
|
|
10
10
|
const H = ({
|
|
11
11
|
children: e,
|
|
12
12
|
className: o,
|
|
@@ -8,7 +8,7 @@ import W from "@mui/material/IconButton";
|
|
|
8
8
|
import { Icon as z, ChevronRight as H } from "@mxenabled/mx-icons";
|
|
9
9
|
import { H3 as I, Text as B, P as M } from "@mxenabled/mxui";
|
|
10
10
|
import { u as S } from "./useDimensions-27p2evRx.mjs";
|
|
11
|
-
import { W as j } from "./hooks-
|
|
11
|
+
import { W as j } from "./hooks-Cy8JnjCg.mjs";
|
|
12
12
|
const w = ({
|
|
13
13
|
children: a,
|
|
14
14
|
className: m = "mx-cmn-mini-widget",
|
|
@@ -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-UIlYCmHb.mjs";
|
|
7
|
+
import { e as N, a as M, f as v } from "./ConnectDrawer-CbxHKlRv.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 R, a as P, N as y } from "./ToggleListItem-ciFTiqRS.mjs";
|
|
18
|
-
import { u as D, s as T, p as I, d as se, g as ae, a as W, n as ce, b as le } from "./hooks-
|
|
18
|
+
import { u as D, s as T, p as I, d as se, g as ae, a as W, n as ce, b as le } from "./hooks-Cy8JnjCg.mjs";
|
|
19
19
|
import { b as re } from "./Localization-2MODESHW.mjs";
|
|
20
20
|
import { b as de, f as me } from "./NumberFormatting-Buh7u8Oi.mjs";
|
|
21
21
|
import { a as N } from "./Dialog-CWW597AF.mjs";
|
|
22
|
-
import { C as he } from "./CurrencyInput-
|
|
22
|
+
import { C as he } from "./CurrencyInput-lSC7oPDg.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 ue from "@mui/material/Collapse";
|
|
@@ -30,7 +30,7 @@ import j from "@mui/material/Button";
|
|
|
30
30
|
import U from "@mui/material/TextField";
|
|
31
31
|
import { u as ge } from "./useDimensions-27p2evRx.mjs";
|
|
32
32
|
import X from "@mui/material/styles/useTheme";
|
|
33
|
-
import { u as ye } from "./useInsightsEnabled-
|
|
33
|
+
import { u as ye } from "./useInsightsEnabled-BxytCjq5.mjs";
|
|
34
34
|
import { L as be } from "./Loader-DUaFpDGv.mjs";
|
|
35
35
|
const xe = C(() => {
|
|
36
36
|
const { common: n, settings: t } = D(), { sendEmailVerification: o } = T(), { user: r } = I(), s = X(), [c, a] = g.useState(!1), i = () => {
|
|
@@ -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, l as b } from "./hooks-
|
|
5
|
+
import { L as y } from "./ListItemAction-BmL5buOf.mjs";
|
|
6
|
+
import { u as h, l as b } from "./hooks-Cy8JnjCg.mjs";
|
|
7
7
|
import { a as T, f as S } from "./NumberFormatting-Buh7u8Oi.mjs";
|
|
8
|
-
import { C as f } from "./CurrencyInput-
|
|
8
|
+
import { C as f } from "./CurrencyInput-lSC7oPDg.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 b from "@mui/material/Tabs";
|
|
|
7
7
|
import d from "@mui/material/Divider";
|
|
8
8
|
import R from "@mui/material/List";
|
|
9
9
|
import T from "@mui/material/Stack";
|
|
10
|
-
import { R as C, A as S, a as E, M as v } from "./ManageIncome-
|
|
11
|
-
import { u as _, j as A, g as f } from "./hooks-
|
|
10
|
+
import { R as C, A as S, a as E, M as v } from "./ManageIncome-Cypo9qY4.mjs";
|
|
11
|
+
import { u as _, j as A, g as f } from "./hooks-Cy8JnjCg.mjs";
|
|
12
12
|
import { R as y, F as N } from "./RecurringTransactions-ej39mgA6.mjs";
|
|
13
|
-
import { A as m } from "./WidgetContainer-
|
|
13
|
+
import { A as m } from "./WidgetContainer-BnTgAfQn.mjs";
|
|
14
14
|
const I = h(() => {
|
|
15
15
|
const { recurring: g } = _(), { repeatingTransactions: n } = A(), { onEvent: o } = f(), l = (r) => {
|
|
16
16
|
o(m.RECURRING_TRANSACTIONS_CLICK_EXPENSE, {
|
|
@@ -9,15 +9,15 @@ import { MerchantLogo as ge, Icon as C, Text as T, useTokens as ee, CategoryIcon
|
|
|
9
9
|
import B from "@mui/material/ListItemAvatar";
|
|
10
10
|
import M from "@mui/material/ListItemText";
|
|
11
11
|
import b from "@mui/material/Stack";
|
|
12
|
-
import { T as Pe, L as Ge, O as h, C as Me, b as Ke, i as $e } from "./User-
|
|
13
|
-
import { G as Be, h as w, u as x, g as L, m as xe, b as Fe, p as He } from "./hooks-
|
|
12
|
+
import { T as Pe, L as Ge, O as h, C as Me, b as Ke, i as $e } from "./User-Bj34_i8g.mjs";
|
|
13
|
+
import { G as Be, h as w, u as x, g as L, m as xe, b as Fe, p as He } from "./hooks-Cy8JnjCg.mjs";
|
|
14
14
|
import { f as te } from "./NumberFormatting-Buh7u8Oi.mjs";
|
|
15
15
|
import { Receipt as ze, Delete as oe, ChevronRight as Ue, Cancel as ie, Search as Xe, Edit as Ve, Flag as We } from "@mxenabled/mx-icons";
|
|
16
16
|
import { fromUnixTime as W } from "date-fns/fromUnixTime";
|
|
17
17
|
import { isSameDay as Ne } from "date-fns/isSameDay";
|
|
18
18
|
import { h as Ye } from "./DateUtil-BcuH7ErC.mjs";
|
|
19
19
|
import { L as Ie } from "./Loader-DUaFpDGv.mjs";
|
|
20
|
-
import { A as P } from "./WidgetContainer-
|
|
20
|
+
import { A as P } from "./WidgetContainer-BnTgAfQn.mjs";
|
|
21
21
|
import ne from "@mui/material/Paper";
|
|
22
22
|
import ce from "@mui/material/Button";
|
|
23
23
|
import je from "@mui/material/FormGroup";
|
|
@@ -30,14 +30,14 @@ import F from "@mui/material/ListItem";
|
|
|
30
30
|
import { a as V, f as we, D as Ee } from "./Dialog-CWW597AF.mjs";
|
|
31
31
|
import U from "@mui/material/ListItemButton";
|
|
32
32
|
import X from "@mui/material/ListItemIcon";
|
|
33
|
-
import { a as Oe } from "./CategorySelectorDrawer-
|
|
33
|
+
import { a as Oe } from "./CategorySelectorDrawer-Buy70Y3V.mjs";
|
|
34
34
|
import { b as se } from "./Localization-2MODESHW.mjs";
|
|
35
35
|
import { getUnixTime as Ze } from "date-fns/getUnixTime";
|
|
36
36
|
import { D as de } from "./Drawer-kEE73B87.mjs";
|
|
37
37
|
import ye from "@mui/material/InputAdornment";
|
|
38
38
|
import Je from "@mui/material/Checkbox";
|
|
39
39
|
import pe from "@mui/material/Grid";
|
|
40
|
-
import { C as Qe } from "./CurrencyInput-
|
|
40
|
+
import { C as Qe } from "./CurrencyInput-lSC7oPDg.mjs";
|
|
41
41
|
import et from "@mui/material/Switch";
|
|
42
42
|
var q = /* @__PURE__ */ ((t) => (t[t.Category = 0] = "Category", t[t.Date = 1] = "Date", t[t.Memo = 2] = "Memo", t[t.Tags = 3] = "Tags", t))(q || {}), re = /* @__PURE__ */ ((t) => (t[t.SplitTransaction = 0] = "SplitTransaction", t[t.HideTransaction = 1] = "HideTransaction", t[t.MerchantLogo = 2] = "MerchantLogo", t))(re || {});
|
|
43
43
|
const tt = [
|
|
@@ -13,10 +13,10 @@ import { isBefore as Y } from "date-fns/isBefore";
|
|
|
13
13
|
import { startOfMonth as R } from "date-fns/startOfMonth";
|
|
14
14
|
import { startOfToday as b } from "date-fns/startOfToday";
|
|
15
15
|
import { subDays as F } from "date-fns/subDays";
|
|
16
|
-
import { O as n, a as G, T as w } from "./User-
|
|
16
|
+
import { O as n, a as G, T as w } from "./User-Bj34_i8g.mjs";
|
|
17
17
|
import { T as p } from "./TransactionApi-CjBoLleL.mjs";
|
|
18
18
|
import { b as W } from "./Category-CevNQ03n.mjs";
|
|
19
|
-
import { f as z } from "./exportTransactionsToCSV-
|
|
19
|
+
import { f as z } from "./exportTransactionsToCSV-B8qpk5MU.mjs";
|
|
20
20
|
import { format as k } from "date-fns/format";
|
|
21
21
|
import { f as g, D as O, O as $ } from "./Dialog-CWW597AF.mjs";
|
|
22
22
|
import { endOfMonth as X } from "date-fns/endOfMonth";
|