@mx-cartographer/experiences 7.13.5 → 7.13.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/dist/{CategorySelectorDrawer-DljLDG8i.mjs → CategorySelectorDrawer-gc41lfFZ.mjs} +2 -2
- package/dist/{ManageIncome-DlV2oFD3.mjs → ManageIncome-CYQVQmjx.mjs} +2 -2
- package/dist/{RecurringSettings-CaESa69-.mjs → RecurringSettings-BoMIzZGw.mjs} +1 -1
- package/dist/SearchBox-CwDgvWVJ.mjs +48 -0
- package/dist/{TransactionDetails-BmVM5f4V.mjs → TransactionDetails-C9DVd4nm.mjs} +1 -1
- package/dist/accounts/index.es.js +1 -1
- package/dist/budgets/index.es.js +3 -3
- package/dist/cashflow/index.es.js +2 -2
- package/dist/categories/index.es.js +1 -1
- package/dist/common/index.es.js +1 -1
- package/dist/finstrong/index.es.js +2 -2
- package/dist/merchants/index.es.js +1 -1
- package/dist/recurringtransactions/index.es.js +4 -4
- package/dist/settings/index.es.js +1 -1
- package/dist/spending/index.es.js +1 -1
- package/dist/transactions/index.es.js +52 -52
- package/dist/trends/index.es.js +1 -1
- package/package.json +1 -1
- package/dist/SearchBox-B7km148n.mjs +0 -39
package/CHANGELOG.md
CHANGED
|
@@ -21,7 +21,7 @@ import te from "@mui/material/Box";
|
|
|
21
21
|
import oe from "@mui/material/Chip";
|
|
22
22
|
import B from "@mui/material/IconButton";
|
|
23
23
|
import { u as ae } from "./useAriaLive-MkYebyUR.mjs";
|
|
24
|
-
import { S as re } from "./SearchBox-
|
|
24
|
+
import { S as re } from "./SearchBox-CwDgvWVJ.mjs";
|
|
25
25
|
import { L as P } from "./Loader-D3rjKx72.mjs";
|
|
26
26
|
import { D as ne } from "./Drawer-Bbe4AMB1.mjs";
|
|
27
27
|
const b = () => {
|
|
@@ -328,7 +328,7 @@ const se = ({
|
|
|
328
328
|
e.guid
|
|
329
329
|
) }),
|
|
330
330
|
/* @__PURE__ */ t(k, { "aria-hidden": "true", component: "li", sx: { ml: 58 } }),
|
|
331
|
-
/* @__PURE__ */ t("li", {
|
|
331
|
+
/* @__PURE__ */ t("li", { style: { listStyle: "none" }, children: /* @__PURE__ */ t(pe, { categories: s, parentCategory: e }) })
|
|
332
332
|
] });
|
|
333
333
|
}, he = E(Ee), Se = () => {
|
|
334
334
|
const { categories: e } = f(), { searchValue: s } = b(), { categories: o } = S(), i = ((a, c = "") => a.reduce((r, n) => {
|
|
@@ -18,7 +18,7 @@ import { parseISO as me } from "date-fns/parseISO";
|
|
|
18
18
|
import J from "@mui/material/Button";
|
|
19
19
|
import { Delete as pe, Add as ye, ReceiptLong as he } from "@mxenabled/mx-icons";
|
|
20
20
|
import { T as V, u as fe, S as ge, a as Ce } from "./StatusIndicator-CIKUOoN_.mjs";
|
|
21
|
-
import { T as be } from "./TransactionDetails-
|
|
21
|
+
import { T as be } from "./TransactionDetails-C9DVd4nm.mjs";
|
|
22
22
|
import { addYears as j } from "date-fns/addYears";
|
|
23
23
|
import { getDayOfYear as xe } from "date-fns/getDayOfYear";
|
|
24
24
|
import { setDayOfYear as Se } from "date-fns/setDayOfYear";
|
|
@@ -33,7 +33,7 @@ import { f as Ee, D as Le } from "./DateFormats-BMpMrZpW.mjs";
|
|
|
33
33
|
import { D as Oe } from "./Dialog-Ck34yr-d.mjs";
|
|
34
34
|
import { formatISO as Te } from "date-fns/formatISO";
|
|
35
35
|
import { fromUnixTime as ke } from "date-fns/fromUnixTime";
|
|
36
|
-
import { S as Ne } from "./SearchBox-
|
|
36
|
+
import { S as Ne } from "./SearchBox-CwDgvWVJ.mjs";
|
|
37
37
|
import { h as Me } from "./DateUtil-wcYTmDRD.mjs";
|
|
38
38
|
import { b as q } from "./Category-CevNQ03n.mjs";
|
|
39
39
|
import { T as ne } from "./Transaction-CqjlF6SO.mjs";
|
|
@@ -7,7 +7,7 @@ import R from "@mui/material/Tabs";
|
|
|
7
7
|
import d from "@mui/material/Divider";
|
|
8
8
|
import b 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-
|
|
10
|
+
import { R as C, A as S, a as E, M as v } from "./ManageIncome-CYQVQmjx.mjs";
|
|
11
11
|
import { u as _, i as A, g as f } from "./hooks-BxkfR-Ff.mjs";
|
|
12
12
|
import { R as y, F as N } from "./RecurringTransactions-BOzBqfdg.mjs";
|
|
13
13
|
import { A as m } from "./Analytics-BYItVAe-.mjs";
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { observer as s } from "mobx-react-lite";
|
|
3
|
+
import m from "@mui/material/Box";
|
|
4
|
+
import p from "@mui/material/IconButton";
|
|
5
|
+
import t from "@mui/material/InputAdornment";
|
|
6
|
+
import { TextField as d, Icon as n } from "@mxenabled/mxui";
|
|
7
|
+
const x = ({
|
|
8
|
+
ariaLabel: c = "Search",
|
|
9
|
+
cancelAriaLabel: a = "Cancel Search",
|
|
10
|
+
onChange: e,
|
|
11
|
+
placeholder: i = "Search",
|
|
12
|
+
searchValue: r
|
|
13
|
+
}) => /* @__PURE__ */ o(m, { className: "mx-cmn-search-box", px: 24, py: 16, children: /* @__PURE__ */ o(
|
|
14
|
+
d,
|
|
15
|
+
{
|
|
16
|
+
InputProps: {
|
|
17
|
+
startAdornment: /* @__PURE__ */ o(t, { position: "start", children: /* @__PURE__ */ o(n, { name: "search", size: 26, sx: { color: "action.active" } }) }),
|
|
18
|
+
endAdornment: /* @__PURE__ */ o(t, { position: "end", sx: { p: 0 }, children: r ? /* @__PURE__ */ o(
|
|
19
|
+
p,
|
|
20
|
+
{
|
|
21
|
+
"aria-label": a,
|
|
22
|
+
className: "mx-cat-cancel-search-button",
|
|
23
|
+
color: "primary",
|
|
24
|
+
onClick: () => e(""),
|
|
25
|
+
children: /* @__PURE__ */ o(n, { name: "cancel", size: 24 })
|
|
26
|
+
}
|
|
27
|
+
) : null }),
|
|
28
|
+
sx: {
|
|
29
|
+
"& .MuiOutlinedInput-notchedOutline": {
|
|
30
|
+
borderColor: "text.secondary",
|
|
31
|
+
opacity: 0.5
|
|
32
|
+
},
|
|
33
|
+
"& input::placeholder": { color: "text.secondary", opacity: 1 }
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"aria-label": c,
|
|
37
|
+
name: "search",
|
|
38
|
+
onChange: (l) => e(l.target.value),
|
|
39
|
+
placeholder: i,
|
|
40
|
+
sx: {
|
|
41
|
+
width: "100%"
|
|
42
|
+
},
|
|
43
|
+
value: r
|
|
44
|
+
}
|
|
45
|
+
) }), I = s(x);
|
|
46
|
+
export {
|
|
47
|
+
I as S
|
|
48
|
+
};
|
|
@@ -27,7 +27,7 @@ import $ from "@mui/material/ListItemText";
|
|
|
27
27
|
import { f as Me, D as ke } from "./DateFormats-BMpMrZpW.mjs";
|
|
28
28
|
import Y from "@mui/material/ListItemButton";
|
|
29
29
|
import z from "@mui/material/ListItemIcon";
|
|
30
|
-
import { a as Pe } from "./CategorySelectorDrawer-
|
|
30
|
+
import { a as Pe } from "./CategorySelectorDrawer-gc41lfFZ.mjs";
|
|
31
31
|
import { b as et, T as tt, u as J } from "./StatusIndicator-CIKUOoN_.mjs";
|
|
32
32
|
import { D as X } from "./Dialog-Ck34yr-d.mjs";
|
|
33
33
|
import { b as I } from "./Localization-CPkpIwIx.mjs";
|
|
@@ -56,7 +56,7 @@ import t3 from "@mui/material/Link";
|
|
|
56
56
|
import n3 from "@mui/material/Paper";
|
|
57
57
|
import { subDays as o3, startOfToday as i3, endOfToday as c3 } from "date-fns";
|
|
58
58
|
import { T as a3 } from "../StatusIndicator-CIKUOoN_.mjs";
|
|
59
|
-
import { T as s3 } from "../TransactionDetails-
|
|
59
|
+
import { T as s3 } from "../TransactionDetails-C9DVd4nm.mjs";
|
|
60
60
|
import { T as r1 } from "../TabContentContainer-j01JYR_7.mjs";
|
|
61
61
|
import { f as d1 } from "../NumberFormatting-QCaNwbjv.mjs";
|
|
62
62
|
import { C as l3 } from "../ConnectionsDrawer-IA7vnv1J.mjs";
|
package/dist/budgets/index.es.js
CHANGED
|
@@ -37,16 +37,16 @@ import De from "@mui/material/Tab";
|
|
|
37
37
|
import Qe from "@mui/material/Tabs";
|
|
38
38
|
import { e as et } from "../exportTransactionsToCSV-CdTF_RqL.mjs";
|
|
39
39
|
import { T as Ae } from "../StatusIndicator-CIKUOoN_.mjs";
|
|
40
|
-
import { T as tt, c as ot } from "../TransactionDetails-
|
|
40
|
+
import { T as tt, c as ot } from "../TransactionDetails-C9DVd4nm.mjs";
|
|
41
41
|
import ve from "@mui/material/Card";
|
|
42
42
|
import Te from "@mui/material/CardContent";
|
|
43
43
|
import { S as Be } from "../StatusBar-BK_uYHAB.mjs";
|
|
44
44
|
import { S as Ge } from "../SingleSegmentDonut-BgbLgwHi.mjs";
|
|
45
|
-
import { u as nt, b as at } from "../CategorySelectorDrawer-
|
|
45
|
+
import { u as nt, b as at } from "../CategorySelectorDrawer-gc41lfFZ.mjs";
|
|
46
46
|
import Pe from "@mui/material/CardHeader";
|
|
47
47
|
import { subDays as rt } from "date-fns/subDays";
|
|
48
48
|
import st from "@mui/material/IconButton";
|
|
49
|
-
import { M as it } from "../ManageIncome-
|
|
49
|
+
import { M as it } from "../ManageIncome-CYQVQmjx.mjs";
|
|
50
50
|
import { u as je } from "../useWidgetLoadTimer-DgN1bTyu.mjs";
|
|
51
51
|
import { W as ct } from "../WidgetContainer-D_iaToWJ.mjs";
|
|
52
52
|
import { u as lt, g as dt, C as ut } from "../BudgetUtil-CLhRnCoX.mjs";
|
|
@@ -18,7 +18,7 @@ import { b as $ } from "../Localization-CPkpIwIx.mjs";
|
|
|
18
18
|
import { M as Je } from "../MiniWidgetContainer-xLWSV6Wz.mjs";
|
|
19
19
|
import { E as Ze } from "../EmptyState-DHAkGsjk.mjs";
|
|
20
20
|
import { u as Fe } from "../useWidgetLoadTimer-DgN1bTyu.mjs";
|
|
21
|
-
import { R as et } from "../RecurringSettings-
|
|
21
|
+
import { R as et } from "../RecurringSettings-BoMIzZGw.mjs";
|
|
22
22
|
import tt from "@mui/material/Tabs";
|
|
23
23
|
import Ce from "@mui/material/Tab";
|
|
24
24
|
import { getUnixTime as z } from "date-fns/getUnixTime";
|
|
@@ -36,7 +36,7 @@ import { alpha as it, keyframes as at } from "@mui/material/styles";
|
|
|
36
36
|
import { DataGridPro as rt } from "@mui/x-data-grid-pro";
|
|
37
37
|
import { T as _e } from "../TabContentContainer-j01JYR_7.mjs";
|
|
38
38
|
import G from "@mui/material/Button";
|
|
39
|
-
import { M as st, S as ct, i as lt, d as Se, c as dt } from "../ManageIncome-
|
|
39
|
+
import { M as st, S as ct, i as lt, d as Se, c as dt } from "../ManageIncome-CYQVQmjx.mjs";
|
|
40
40
|
import { D as Ge } from "../Drawer-Bbe4AMB1.mjs";
|
|
41
41
|
import { subDays as Me } from "date-fns/subDays";
|
|
42
42
|
import { endOfToday as mt } from "date-fns/endOfToday";
|
package/dist/common/index.es.js
CHANGED
|
@@ -19,7 +19,7 @@ import { a as Xe, b as Je, C as ts, e as es, k as ss, h as rs, j as os, l as as
|
|
|
19
19
|
import { C as is } from "../CurrencyInput-DuMktPu3.mjs";
|
|
20
20
|
import { L as us } from "../Loader-D3rjKx72.mjs";
|
|
21
21
|
import { R as hs } from "../ResponsiveButton-DZFp78fJ.mjs";
|
|
22
|
-
import { S as gs } from "../SearchBox-
|
|
22
|
+
import { S as gs } from "../SearchBox-CwDgvWVJ.mjs";
|
|
23
23
|
import { T as Y } from "../TransactionStore-DP5vipL2.mjs";
|
|
24
24
|
import { S as _s } from "../TransactionStore-DP5vipL2.mjs";
|
|
25
25
|
import { T as ms } from "../TabContentContainer-j01JYR_7.mjs";
|
|
@@ -56,10 +56,10 @@ import { formatISO as oo } from "date-fns/formatISO";
|
|
|
56
56
|
import { fromUnixTime as ro } from "date-fns/fromUnixTime";
|
|
57
57
|
import { startOfToday as st } from "date-fns/startOfToday";
|
|
58
58
|
import { subDays as ao } from "date-fns/subDays";
|
|
59
|
-
import { c as io, d as ct, S as so, i as co } from "../ManageIncome-
|
|
59
|
+
import { c as io, d as ct, S as so, i as co } from "../ManageIncome-CYQVQmjx.mjs";
|
|
60
60
|
import { LocalizationProvider as lo, DatePicker as po, StaticDatePicker as _o } from "@mui/x-date-pickers";
|
|
61
61
|
import { AdapterDateFns as Ot } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
62
|
-
import { R as uo } from "../RecurringSettings-
|
|
62
|
+
import { R as uo } from "../RecurringSettings-BoMIzZGw.mjs";
|
|
63
63
|
import { LocalizationProvider as ho } from "@mui/x-date-pickers/LocalizationProvider";
|
|
64
64
|
import { format as mo } from "date-fns/format";
|
|
65
65
|
import go from "@mui/lab/Timeline";
|
|
@@ -14,7 +14,7 @@ import d from "@mui/material/Stack";
|
|
|
14
14
|
import { MerchantLogo as V, Text as R } from "@mxenabled/mxui";
|
|
15
15
|
import { c as v, u as w, b as C } from "../hooks-BxkfR-Ff.mjs";
|
|
16
16
|
import { L as p } from "../Loader-D3rjKx72.mjs";
|
|
17
|
-
import { S as N } from "../SearchBox-
|
|
17
|
+
import { S as N } from "../SearchBox-CwDgvWVJ.mjs";
|
|
18
18
|
import { M as ne } from "../MerchantStore-BzGi4JAZ.mjs";
|
|
19
19
|
const B = /^[ a-zA-ZÀ-ÿ0-9]+$/, H = 50, u = 65, P = ({
|
|
20
20
|
height: f = "calc(100dvh - 120px)",
|
|
@@ -6,8 +6,8 @@ import { endOfToday as J } from "date-fns/endOfToday";
|
|
|
6
6
|
import { startOfMonth as k } from "date-fns/startOfMonth";
|
|
7
7
|
import { startOfToday as Q } from "date-fns/startOfToday";
|
|
8
8
|
import { subDays as ee } from "date-fns/subDays";
|
|
9
|
-
import { R as _e } from "../RecurringSettings-
|
|
10
|
-
import { M as Un } from "../RecurringSettings-
|
|
9
|
+
import { R as _e } from "../RecurringSettings-BoMIzZGw.mjs";
|
|
10
|
+
import { M as Un } from "../RecurringSettings-BoMIzZGw.mjs";
|
|
11
11
|
import { addMonths as He } from "date-fns/addMonths";
|
|
12
12
|
import { subMonths as $e } from "date-fns/subMonths";
|
|
13
13
|
import { isBefore as Be } from "date-fns/isBefore";
|
|
@@ -47,8 +47,8 @@ import dt from "@mui/material/ListSubheader";
|
|
|
47
47
|
import ut from "@mui/material/ListItemAvatar";
|
|
48
48
|
import mt from "@mui/material/ListItemButton";
|
|
49
49
|
import pt from "@mui/material/ListItemText";
|
|
50
|
-
import { b as gt } from "../ManageIncome-
|
|
51
|
-
import { c as Vn, M as qn, S as Zn } from "../ManageIncome-
|
|
50
|
+
import { b as gt } from "../ManageIncome-CYQVQmjx.mjs";
|
|
51
|
+
import { c as Vn, M as qn, S as Zn } from "../ManageIncome-CYQVQmjx.mjs";
|
|
52
52
|
import { f as E } from "../NumberFormatting-QCaNwbjv.mjs";
|
|
53
53
|
import { D as ie } from "../Drawer-Bbe4AMB1.mjs";
|
|
54
54
|
import O from "@mui/material/Box";
|
|
@@ -35,7 +35,7 @@ import { L as ie } from "../Loader-D3rjKx72.mjs";
|
|
|
35
35
|
import Ae from "@mui/material/List";
|
|
36
36
|
import J from "@mui/material/Divider";
|
|
37
37
|
import Ee from "@mui/material/ListSubheader";
|
|
38
|
-
import { a as Re, u as Pe } from "../CategorySelectorDrawer-
|
|
38
|
+
import { a as Re, u as Pe } from "../CategorySelectorDrawer-gc41lfFZ.mjs";
|
|
39
39
|
import Ne from "@mui/material/ListItem";
|
|
40
40
|
import Me from "@mui/material/ListItemButton";
|
|
41
41
|
import Le from "@mui/material/ListItemIcon";
|
|
@@ -20,7 +20,7 @@ import St from "@mui/material/Button";
|
|
|
20
20
|
import { useTheme as Tt } from "@mui/material";
|
|
21
21
|
import { e as Mt } from "../exportTransactionsToCSV-CdTF_RqL.mjs";
|
|
22
22
|
import { T as Dt } from "../StatusIndicator-CIKUOoN_.mjs";
|
|
23
|
-
import { T as xt } from "../TransactionDetails-
|
|
23
|
+
import { T as xt } from "../TransactionDetails-C9DVd4nm.mjs";
|
|
24
24
|
import vt from "@mui/material/Collapse";
|
|
25
25
|
import wt from "@mui/material/Divider";
|
|
26
26
|
import J from "@mui/material/List";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { T as wa } from "../TransactionApi-Ck5Ua-7F.mjs";
|
|
2
|
-
import { C as Me, D as Le, M as Re, a as He, T as Be } from "../TransactionDetails-
|
|
3
|
-
import { B as Da, b as Ia } from "../TransactionDetails-
|
|
2
|
+
import { C as Me, D as Le, M as Re, a as He, T as Be } from "../TransactionDetails-C9DVd4nm.mjs";
|
|
3
|
+
import { B as Da, b as Ia } from "../TransactionDetails-C9DVd4nm.mjs";
|
|
4
4
|
import { T as E } from "../Transaction-CqjlF6SO.mjs";
|
|
5
5
|
import { O as Na } from "../Transaction-CqjlF6SO.mjs";
|
|
6
6
|
import { S as Z, D as Pe } from "../TransactionStore-DP5vipL2.mjs";
|
|
@@ -14,14 +14,14 @@ import m from "react";
|
|
|
14
14
|
import { observer as S } from "mobx-react-lite";
|
|
15
15
|
import We from "@mui/material/Paper";
|
|
16
16
|
import { DataGridPro as Ge } from "@mui/x-data-grid-pro";
|
|
17
|
-
import { h as H, u as D, b as K, d as
|
|
17
|
+
import { h as H, u as D, b as K, d as oe, l as Fe, a as Ue, g as Ke, o as ze } from "../hooks-BxkfR-Ff.mjs";
|
|
18
18
|
import x from "@mui/material/Box";
|
|
19
19
|
import { useTheme as qe } from "@mui/material/styles";
|
|
20
20
|
import { Text as C, Icon as L, MerchantLogo as je, TextField as ee, P as Ye } from "@mxenabled/mxui";
|
|
21
21
|
import { fromUnixTime as Xe } from "date-fns/fromUnixTime";
|
|
22
22
|
import { f as Je, D as Qe } from "../DateFormats-BMpMrZpW.mjs";
|
|
23
23
|
import w from "@mui/material/Stack";
|
|
24
|
-
import { f as
|
|
24
|
+
import { f as ne } from "../NumberFormatting-QCaNwbjv.mjs";
|
|
25
25
|
import { L as z } from "../Loader-D3rjKx72.mjs";
|
|
26
26
|
import { D as re } from "../Dialog-Ck34yr-d.mjs";
|
|
27
27
|
import { endOfMonth as Ze } from "date-fns/endOfMonth";
|
|
@@ -29,13 +29,13 @@ import { getUnixTime as et } from "date-fns/getUnixTime";
|
|
|
29
29
|
import { startOfMonth as tt } from "date-fns/startOfMonth";
|
|
30
30
|
import { startOfToday as F } from "date-fns/startOfToday";
|
|
31
31
|
import at from "@mui/material/styles/useTheme";
|
|
32
|
-
import { C as
|
|
33
|
-
import
|
|
32
|
+
import { C as ot } from "../ConnectDrawer-C0wjwcJt.mjs";
|
|
33
|
+
import nt from "@mui/material/Divider";
|
|
34
34
|
import rt from "@mui/material/MenuItem";
|
|
35
35
|
import it from "@mui/material/RadioGroup";
|
|
36
36
|
import { ExpandMore as st } from "@mxenabled/mx-icons";
|
|
37
37
|
import { C as ct } from "../CurrencyInput-DuMktPu3.mjs";
|
|
38
|
-
import { a as lt, u as dt } from "../CategorySelectorDrawer-
|
|
38
|
+
import { a as lt, u as dt } from "../CategorySelectorDrawer-gc41lfFZ.mjs";
|
|
39
39
|
import { b as U } from "../Localization-CPkpIwIx.mjs";
|
|
40
40
|
import { u as ut } from "../useAriaLive-MkYebyUR.mjs";
|
|
41
41
|
import { S as mt } from "../SkeletonLoader-BaNboJjD.mjs";
|
|
@@ -43,22 +43,22 @@ import { u as _t } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
|
43
43
|
import { u as pt } from "../useWidgetLoadTimer-DgN1bTyu.mjs";
|
|
44
44
|
import { W as gt } from "../WidgetContainer-D_iaToWJ.mjs";
|
|
45
45
|
import { A } from "../Analytics-BYItVAe-.mjs";
|
|
46
|
-
import { S as ht } from "../SearchBox-
|
|
46
|
+
import { S as ht } from "../SearchBox-CwDgvWVJ.mjs";
|
|
47
47
|
import { D as te } from "../Drawer-Bbe4AMB1.mjs";
|
|
48
48
|
const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2", children: [
|
|
49
49
|
`${t.row.account}`,
|
|
50
50
|
t.row.number && ` | ${t.row.number}`
|
|
51
51
|
] }), Ct = (t) => {
|
|
52
|
-
const { associatedBeats:
|
|
52
|
+
const { associatedBeats: n } = H(), { showInsights: r } = R(), { amount: a, transaction_type: l } = t.row, s = n.find((h) => h.associated_transaction_guid === t.row.guid), c = l === E.CREDIT;
|
|
53
53
|
return /* @__PURE__ */ _(w, { alignItems: "flex-end", tabIndex: t.tabIndex, children: [
|
|
54
|
-
/* @__PURE__ */ _(C, { color: c ? "success.main" : "text.primary", variant: "body2", children: [
|
|
54
|
+
/* @__PURE__ */ _(C, { bold: c, color: c ? "success.main" : "text.primary", variant: "body2", children: [
|
|
55
55
|
c ? "+" : "",
|
|
56
|
-
|
|
56
|
+
ne(a, "0,0.00")
|
|
57
57
|
] }),
|
|
58
58
|
s && r && /* @__PURE__ */ e(C, { bold: !0, color: "primary.light", variant: "caption", children: s.short_title })
|
|
59
59
|
] });
|
|
60
60
|
}, yt = (t) => {
|
|
61
|
-
const { transactions:
|
|
61
|
+
const { transactions: n } = D(), [r, a] = m.useState(!1);
|
|
62
62
|
return /* @__PURE__ */ _(
|
|
63
63
|
w,
|
|
64
64
|
{
|
|
@@ -71,13 +71,13 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
71
71
|
width: "100%",
|
|
72
72
|
children: [
|
|
73
73
|
t.row.has_been_split && /* @__PURE__ */ e(L, { name: "call_split", size: 16 }),
|
|
74
|
-
/* @__PURE__ */ e(C, { tabIndex: t.tabIndex, variant: "body2", children: t.row.has_been_split ?
|
|
74
|
+
/* @__PURE__ */ e(C, { tabIndex: t.tabIndex, variant: "body2", children: t.row.has_been_split ? n.split_transaction_category_label : t.row.category }),
|
|
75
75
|
!t.row.has_been_split && r && /* @__PURE__ */ e(L, { name: "edit", sx: { color: "action.active" } })
|
|
76
76
|
]
|
|
77
77
|
}
|
|
78
78
|
);
|
|
79
79
|
}, bt = S(yt), Tt = (t) => /* @__PURE__ */ e(C, { tabIndex: t.tabIndex, variant: "body2", children: Je(Xe(t.row.date), Qe.MONTH_DAY) }), At = (t) => {
|
|
80
|
-
const
|
|
80
|
+
const n = qe(), r = n.palette.mode === "dark", { transactions: a } = D(), { is_flagged: l, is_hidden: s, has_been_viewed: c, parent_guid: h } = t.row, f = !c && !!!h;
|
|
81
81
|
return /* @__PURE__ */ _(
|
|
82
82
|
x,
|
|
83
83
|
{
|
|
@@ -101,7 +101,7 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
101
101
|
style: {
|
|
102
102
|
display: "inline-block",
|
|
103
103
|
height: 16,
|
|
104
|
-
fill:
|
|
104
|
+
fill: n.palette.primary.light,
|
|
105
105
|
verticalAlign: "middle",
|
|
106
106
|
width: 16
|
|
107
107
|
},
|
|
@@ -123,7 +123,7 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
123
123
|
/* @__PURE__ */ e(C, { tabIndex: t.tabIndex, variant: "body2", children: t.row.payee })
|
|
124
124
|
] }), St = ({
|
|
125
125
|
height: t = "100dvh",
|
|
126
|
-
onCategoryClick:
|
|
126
|
+
onCategoryClick: n,
|
|
127
127
|
onRowClick: r
|
|
128
128
|
}) => {
|
|
129
129
|
const { transactions: a } = D(), { isCopyLoaded: l } = K(), { isLoading: s, sortedTransactions: c } = H(), { clearExpandedSplits: h, toggleSplit: y } = R();
|
|
@@ -135,7 +135,7 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
135
135
|
...i
|
|
136
136
|
})),
|
|
137
137
|
[c]
|
|
138
|
-
), d = ({ row: { id: i, guid: g, has_been_split: v }, field:
|
|
138
|
+
), d = ({ row: { id: i, guid: g, has_been_split: v }, field: o }) => v ? y(i) : o === "category" ? n?.(g) : r?.(g), I = (i, g) => {
|
|
139
139
|
g.key !== "Enter" && g.key !== " " || d(i);
|
|
140
140
|
};
|
|
141
141
|
if (!l)
|
|
@@ -215,7 +215,7 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
215
215
|
}
|
|
216
216
|
}
|
|
217
217
|
) });
|
|
218
|
-
}, Dt = S(St), It = ({ copy: t, isOpen:
|
|
218
|
+
}, Dt = S(St), It = ({ copy: t, isOpen: n, onClose: r, onPrimaryAction: a }) => {
|
|
219
219
|
const { common: l, transactions: s } = D(), { isCopyLoaded: c } = K();
|
|
220
220
|
return c ? /* @__PURE__ */ _(
|
|
221
221
|
re,
|
|
@@ -223,7 +223,7 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
223
223
|
copy: {
|
|
224
224
|
title: t.title
|
|
225
225
|
},
|
|
226
|
-
isOpen:
|
|
226
|
+
isOpen: n,
|
|
227
227
|
onClose: r,
|
|
228
228
|
onPrimaryAction: a,
|
|
229
229
|
primaryText: s.add_manual_account,
|
|
@@ -235,25 +235,25 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
235
235
|
}
|
|
236
236
|
) : /* @__PURE__ */ e(z, {});
|
|
237
237
|
}, vt = S(It), Nt = () => {
|
|
238
|
-
const { visibleAccounts: t } =
|
|
239
|
-
() => t.filter((
|
|
238
|
+
const { visibleAccounts: t } = oe(), { common: n, transactions: r } = D(), { manualTransaction: a, setIsAmountValid: l, updateManualTransaction: s } = R(), [c, h] = m.useState(""), [y, f] = m.useState(""), d = m.useMemo(
|
|
239
|
+
() => t.filter((o) => o.is_manual),
|
|
240
240
|
[t]
|
|
241
|
-
).map((
|
|
242
|
-
label: `${
|
|
243
|
-
value:
|
|
241
|
+
).map((o) => ({
|
|
242
|
+
label: `${o.name} | ${ne(o.balance, "0,0.00")}`,
|
|
243
|
+
value: o.guid
|
|
244
244
|
})), I = {
|
|
245
|
-
error_amount_is_invalid:
|
|
246
|
-
error_amount_must_be_equal_to:
|
|
247
|
-
error_amount_must_be_less_than_or_equal_to:
|
|
248
|
-
enter_amount:
|
|
249
|
-
}, p = (
|
|
250
|
-
h(
|
|
251
|
-
}, i = (
|
|
245
|
+
error_amount_is_invalid: n.currency_input.error_amount_is_invalid,
|
|
246
|
+
error_amount_must_be_equal_to: n.currency_input.error_amount_must_be_equal_to,
|
|
247
|
+
error_amount_must_be_less_than_or_equal_to: n.currency_input.error_amount_must_be_less_than_or_equal_to,
|
|
248
|
+
enter_amount: n.currency_input.enter_amount
|
|
249
|
+
}, p = (o) => {
|
|
250
|
+
h(o), s({ ...a, amount: Number(o) });
|
|
251
|
+
}, i = (o, B) => {
|
|
252
252
|
s({ ...a, transaction_type: Number(B) });
|
|
253
|
-
}, g = (
|
|
254
|
-
f(
|
|
255
|
-
}, v = (
|
|
256
|
-
s({ ...a, account_guid:
|
|
253
|
+
}, g = (o) => {
|
|
254
|
+
f(o), s({ ...a, payee: o, description: o });
|
|
255
|
+
}, v = (o) => {
|
|
256
|
+
s({ ...a, account_guid: o });
|
|
257
257
|
};
|
|
258
258
|
return /* @__PURE__ */ _(x, { className: "mx-txn-manual-transaction-details", children: [
|
|
259
259
|
/* @__PURE__ */ _(w, { gap: 40, mx: 24, my: 32, children: [
|
|
@@ -309,7 +309,7 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
309
309
|
{
|
|
310
310
|
label: r.payee_title,
|
|
311
311
|
name: "payee",
|
|
312
|
-
onChange: (
|
|
312
|
+
onChange: (o) => g(o.target.value),
|
|
313
313
|
sx: { bgcolor: "background.paper" },
|
|
314
314
|
value: y
|
|
315
315
|
}
|
|
@@ -320,15 +320,15 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
320
320
|
InputLabelProps: { shrink: !0 },
|
|
321
321
|
SelectProps: { defaultValue: -1, IconComponent: st },
|
|
322
322
|
label: r.manual_transaction_select_an_account,
|
|
323
|
-
onChange: (
|
|
323
|
+
onChange: (o) => v(o.target.value),
|
|
324
324
|
placeholder: r.manual_transaction_select,
|
|
325
325
|
select: !0,
|
|
326
326
|
sx: { bgcolor: "background.paper" },
|
|
327
|
-
children: d.map((
|
|
327
|
+
children: d.map((o) => /* @__PURE__ */ e(rt, { value: o.value, children: o.label }, o.value))
|
|
328
328
|
}
|
|
329
329
|
)
|
|
330
330
|
] }),
|
|
331
|
-
/* @__PURE__ */ e(
|
|
331
|
+
/* @__PURE__ */ e(nt, { light: !0 }),
|
|
332
332
|
/* @__PURE__ */ _(x, { bgcolor: "background.paper", children: [
|
|
333
333
|
/* @__PURE__ */ e(Me, { transaction: a }),
|
|
334
334
|
/* @__PURE__ */ e(Le, { transaction: a }),
|
|
@@ -336,21 +336,21 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
336
336
|
/* @__PURE__ */ e(He, { transaction: a })
|
|
337
337
|
] })
|
|
338
338
|
] });
|
|
339
|
-
}, Et = S(Nt), kt = ({ onClose: t, transaction:
|
|
339
|
+
}, Et = S(Nt), kt = ({ onClose: t, transaction: n }) => {
|
|
340
340
|
const { addOrUpdateTransactionRule: r, updateTransaction: a } = H(), { transactions: l } = D(), { categories: s } = Fe(), [c, h] = m.useState(""), y = m.useMemo(
|
|
341
341
|
() => s.find((d) => d.guid === c),
|
|
342
342
|
[c]
|
|
343
343
|
), f = async (d) => {
|
|
344
|
-
await a({ ...
|
|
344
|
+
await a({ ...n, category_guid: c }), d && await r(c, n), h(""), t();
|
|
345
345
|
};
|
|
346
346
|
return /* @__PURE__ */ _(x, { className: "mx-txn-edit-category-action", children: [
|
|
347
347
|
/* @__PURE__ */ e(
|
|
348
348
|
lt,
|
|
349
349
|
{
|
|
350
|
-
initialSelected:
|
|
350
|
+
initialSelected: n.category_guid,
|
|
351
351
|
onClose: t,
|
|
352
352
|
onSelect: (d) => h(d),
|
|
353
|
-
showDrawer: !!
|
|
353
|
+
showDrawer: !!n,
|
|
354
354
|
title: l.actions_select_a_category
|
|
355
355
|
}
|
|
356
356
|
),
|
|
@@ -360,7 +360,7 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
360
360
|
copy: {
|
|
361
361
|
title: U(
|
|
362
362
|
l.actions_apply_to_all_transaction_types,
|
|
363
|
-
|
|
363
|
+
n.description
|
|
364
364
|
)
|
|
365
365
|
},
|
|
366
366
|
isOpen: !!c,
|
|
@@ -371,7 +371,7 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
371
371
|
secondaryText: l.actions_this_time_only,
|
|
372
372
|
children: /* @__PURE__ */ e(Ye, { variant: "subtitle1", children: U(
|
|
373
373
|
l.actions_all_past_and_future,
|
|
374
|
-
|
|
374
|
+
n.description,
|
|
375
375
|
y?.name
|
|
376
376
|
) })
|
|
377
377
|
}
|
|
@@ -379,11 +379,11 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
379
379
|
] });
|
|
380
380
|
}, Ot = S(kt), ae = 120, Mt = ({
|
|
381
381
|
onBackClick: t,
|
|
382
|
-
height:
|
|
382
|
+
height: n = "100dvh",
|
|
383
383
|
showInsights: r = !1,
|
|
384
384
|
sx: a = {}
|
|
385
385
|
}) => {
|
|
386
|
-
const { manualAccounts: l, refreshAccounts: s } =
|
|
386
|
+
const { manualAccounts: l, refreshAccounts: s } = oe(), { is_mobile_webview: c, clientConfig: h, config: y } = Ue(), { setSearchValue: f } = dt(), { onEvent: d } = Ke(), { common: I, transactions: p } = D(), { displayedDateRange: i, isInitialized: g, selectedAccountGuids: v, setDisplayedDate: o } = K(), { isDesktop: B, isTablet: ie } = _t(), k = at(), {
|
|
387
387
|
addTransaction: se,
|
|
388
388
|
filter: ce,
|
|
389
389
|
isTransactionDataLoaded: P,
|
|
@@ -409,7 +409,7 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
409
409
|
}), m.useEffect(() => {
|
|
410
410
|
P || le().finally();
|
|
411
411
|
const u = tt(F()), Oe = Ze(F());
|
|
412
|
-
|
|
412
|
+
o(u, Oe), d(A.TRANSACTIONS_VIEW);
|
|
413
413
|
}, []), m.useEffect(() => {
|
|
414
414
|
g && q({
|
|
415
415
|
accounts: W ? [W] : v,
|
|
@@ -424,7 +424,7 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
424
424
|
);
|
|
425
425
|
}, [g, j]);
|
|
426
426
|
const T = X ? me.find((u) => u.guid === X) : void 0, Q = ge && !!O.payee && !!O.account_guid && !!O.category_guid, we = (u) => {
|
|
427
|
-
pe(),
|
|
427
|
+
pe(), o(u[0], u[1]);
|
|
428
428
|
}, Se = (u) => {
|
|
429
429
|
he(u), q({
|
|
430
430
|
...ce,
|
|
@@ -494,7 +494,7 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
494
494
|
children: /* @__PURE__ */ e(
|
|
495
495
|
Dt,
|
|
496
496
|
{
|
|
497
|
-
height: `calc(${
|
|
497
|
+
height: `calc(${n} - ${ae}px)`,
|
|
498
498
|
onCategoryClick: (u) => {
|
|
499
499
|
M(u), b(
|
|
500
500
|
"category"
|
|
@@ -521,7 +521,7 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
521
521
|
children: /* @__PURE__ */ e(
|
|
522
522
|
$e,
|
|
523
523
|
{
|
|
524
|
-
height: `calc(${
|
|
524
|
+
height: `calc(${n} - ${ae}px)`,
|
|
525
525
|
onClick: (u) => {
|
|
526
526
|
M(u), b(
|
|
527
527
|
"transaction"
|
|
@@ -578,7 +578,7 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
578
578
|
}
|
|
579
579
|
),
|
|
580
580
|
/* @__PURE__ */ e(
|
|
581
|
-
|
|
581
|
+
ot,
|
|
582
582
|
{
|
|
583
583
|
onClose: Ee,
|
|
584
584
|
showConnectWidget: Te,
|
package/dist/trends/index.es.js
CHANGED
|
@@ -36,7 +36,7 @@ import Qt from "@mui/material/Badge";
|
|
|
36
36
|
import qt from "@mui/material/IconButton";
|
|
37
37
|
import { A as v } from "../Analytics-BYItVAe-.mjs";
|
|
38
38
|
import { T as ct } from "../StatusIndicator-CIKUOoN_.mjs";
|
|
39
|
-
import { T as dt } from "../TransactionDetails-
|
|
39
|
+
import { T as dt } from "../TransactionDetails-C9DVd4nm.mjs";
|
|
40
40
|
import { D as Pe } from "../Drawer-Bbe4AMB1.mjs";
|
|
41
41
|
import { u as Ie } from "../useWidgetLoadTimer-DgN1bTyu.mjs";
|
|
42
42
|
import { L as Le } from "../Loader-D3rjKx72.mjs";
|
package/package.json
CHANGED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { observer as i } from "mobx-react-lite";
|
|
3
|
-
import s from "@mui/material/Box";
|
|
4
|
-
import p from "@mui/material/IconButton";
|
|
5
|
-
import n from "@mui/material/InputAdornment";
|
|
6
|
-
import { TextField as d, Icon as a } from "@mxenabled/mxui";
|
|
7
|
-
const h = ({
|
|
8
|
-
ariaLabel: c = "Search",
|
|
9
|
-
cancelAriaLabel: t = "Cancel Search",
|
|
10
|
-
onChange: o,
|
|
11
|
-
placeholder: l = "Search",
|
|
12
|
-
searchValue: e
|
|
13
|
-
}) => /* @__PURE__ */ r(s, { className: "mx-cmn-search-box", px: 24, py: 16, children: /* @__PURE__ */ r(
|
|
14
|
-
d,
|
|
15
|
-
{
|
|
16
|
-
InputProps: {
|
|
17
|
-
startAdornment: /* @__PURE__ */ r(n, { position: "start", children: /* @__PURE__ */ r(a, { color: "disabled", name: "search", size: 26 }) }),
|
|
18
|
-
endAdornment: /* @__PURE__ */ r(n, { position: "end", sx: { p: 0 }, children: e ? /* @__PURE__ */ r(
|
|
19
|
-
p,
|
|
20
|
-
{
|
|
21
|
-
"aria-label": t,
|
|
22
|
-
className: "mx-cat-cancel-search-button",
|
|
23
|
-
color: "primary",
|
|
24
|
-
onClick: () => o(""),
|
|
25
|
-
children: /* @__PURE__ */ r(a, { name: "cancel", size: 24 })
|
|
26
|
-
}
|
|
27
|
-
) : null })
|
|
28
|
-
},
|
|
29
|
-
"aria-label": c,
|
|
30
|
-
name: "search",
|
|
31
|
-
onChange: (m) => o(m.target.value),
|
|
32
|
-
placeholder: l,
|
|
33
|
-
sx: { bgcolor: "background.paper", width: "100%" },
|
|
34
|
-
value: e
|
|
35
|
-
}
|
|
36
|
-
) }), g = i(h);
|
|
37
|
-
export {
|
|
38
|
-
g as S
|
|
39
|
-
};
|