@mx-cartographer/experiences 7.1.3-alpha.mm0 → 7.1.3-alpha.mm1
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-poVfvAtj.mjs → Account-DKy2na__.mjs} +1 -1
- package/dist/{AccountDetailsContent-BCMssB6a.mjs → AccountDetailsContent-CCOCsdoL.mjs} +8 -8
- package/dist/{AccountDetailsHeader-aR7xZ2nH.mjs → AccountDetailsHeader-Ca9SPAjA.mjs} +6 -6
- package/dist/{AccountFields-_0YMlOBp.mjs → AccountFields-DDAr5SEq.mjs} +2 -2
- package/dist/{AccountListItem-CnCbtSqL.mjs → AccountListItem-CMes1Q7Z.mjs} +4 -4
- package/dist/{AccountStore-B6dq8GCk.mjs → AccountStore-DYOG9MYj.mjs} +2 -2
- package/dist/{Accounts-SjMpWUke.mjs → Accounts-BNvFndCa.mjs} +1 -1
- package/dist/{BudgetUtil-7AJdmjKN.mjs → BudgetUtil-B2ZXyw-g.mjs} +1 -1
- package/dist/{CategorySelectorDrawer-DIy14j9q.mjs → CategorySelectorDrawer-DUe4lH5-.mjs} +1 -1
- package/dist/{ConnectDrawer-BuGKZGC6.mjs → ConnectDrawer-CHG5Lv_B.mjs} +1 -1
- package/dist/{ConnectionsDrawer-BUFTeUlm.mjs → ConnectionsDrawer-BeB6ab8V.mjs} +2 -2
- package/dist/{CurrencyInput-DXMb7tAQ.mjs → CurrencyInput-CsCy7uaS.mjs} +1 -1
- package/dist/{DebtsStore-DwQfw1Tf.mjs → DebtsStore-BblTVTMD.mjs} +1 -1
- package/dist/{ExportCsvAction-CaYiIpM7.mjs → ExportCsvAction-sX8Rg4Ov.mjs} +3 -3
- package/dist/{GoalStore-B11YqsSR.mjs → GoalStore-CSsU4LR2.mjs} +2 -2
- package/dist/{Help-BeXRlMej.mjs → Help-B6dIcujh.mjs} +1 -1
- package/dist/{LineChart-DoM2GvjT.mjs → LineChart-D4GI7nVh.mjs} +1 -1
- package/dist/{ListItemAction-BUj2koIg.mjs → ListItemAction-DHa3KJPs.mjs} +1 -1
- package/dist/{ManageIncome-Dn-1RlJI.mjs → ManageIncome-DqG75uQd.mjs} +34 -34
- package/dist/{MicroWidgetContainer-BfjjvWDu.mjs → MicroWidgetContainer-DpeqN9n3.mjs} +1 -1
- package/dist/{MiniWidgetContainer-C98Eg9vO.mjs → MiniWidgetContainer-D0gfmbaF.mjs} +1 -1
- package/dist/{NetWorthStore-DqBVr9B4.mjs → NetWorthStore-BbA7H83o.mjs} +2 -2
- package/dist/{NotificationSettings-BpG12HXV.mjs → NotificationSettings-BRm_EJZV.mjs} +3 -3
- package/dist/{OriginalBalanceAction-CG_yDuWi.mjs → OriginalBalanceAction-CAaVbVMO.mjs} +3 -3
- package/dist/{RecurringSettings-BtsTGf0P.mjs → RecurringSettings-B9l_Axnd.mjs} +3 -3
- package/dist/{TransactionDetails-CBpH1fsq.mjs → TransactionDetails-DPvvi4Iu.mjs} +5 -5
- package/dist/{TransactionStore-Cq_j5fna.mjs → TransactionStore-CBrJOY0H.mjs} +2 -2
- package/dist/{TrendsStore-2geZbzUX.mjs → TrendsStore-DCYbpXPO.mjs} +1 -1
- package/dist/{User-CgKOp9Zi.mjs → User-BQUxBeZV.mjs} +1 -1
- package/dist/{WidgetContainer-CjvCN6aj.mjs → WidgetContainer-BMWagbIl.mjs} +2 -2
- package/dist/accounts/index.es.js +13 -13
- package/dist/analytics/index.es.js +2 -2
- package/dist/budgets/index.es.js +10 -10
- package/dist/cashflow/index.es.js +35 -35
- package/dist/categories/index.es.js +1 -1
- package/dist/common/index.es.js +24 -24
- package/dist/dashboard/index.es.js +81 -79
- package/dist/debts/index.es.js +9 -9
- package/dist/{exportTransactionsToCSV-BUuXqDYK.mjs → exportTransactionsToCSV-7bVS7KXf.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-B3k6Se4_.mjs → hooks-D6XlXHf4.mjs} +9 -9
- 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 +19 -19
- 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 +29 -29
- package/dist/{useAccountDisplayName-CZjVfLSX.mjs → useAccountDisplayName-BEorBm5u.mjs} +2 -2
- package/dist/{useInsightsEnabled-DesBHW5l.mjs → useInsightsEnabled-DBpwEq10.mjs} +1 -1
- package/package.json +1 -1
|
@@ -13,7 +13,7 @@ import { ChevronLeft as le } from "@mxenabled/mx-icons";
|
|
|
13
13
|
import { Icon as T, Text as j, DateRangePicker as J, H1 as Ce, H3 as de } from "@mxenabled/mxui";
|
|
14
14
|
import { u as Te } from "./useDimensions-27p2evRx.mjs";
|
|
15
15
|
import { L as Ie } from "./Loader-DUaFpDGv.mjs";
|
|
16
|
-
import { g as Ee, b as Re, u as ge, a as Ae, W as Se } from "./hooks-
|
|
16
|
+
import { g as Ee, b as Re, u as ge, a as Ae, W as Se } from "./hooks-D6XlXHf4.mjs";
|
|
17
17
|
import { u as ie } from "./useScreenSize-B6JyS_Lj.mjs";
|
|
18
18
|
import { addMonths as Q } from "date-fns/addMonths";
|
|
19
19
|
import { addDays as ue } from "date-fns/addDays";
|
|
@@ -37,7 +37,7 @@ import Ke from "@mui/material/ToggleButtonGroup";
|
|
|
37
37
|
import Ge from "@mui/material/styles/useTheme";
|
|
38
38
|
import { f as K, D as G, a as Me } from "./Dialog-CWW597AF.mjs";
|
|
39
39
|
import { D as We } from "./Drawer-kEE73B87.mjs";
|
|
40
|
-
import { j as ye, k as xe } from "./ConnectDrawer-
|
|
40
|
+
import { j as ye, k as xe } from "./ConnectDrawer-CHG5Lv_B.mjs";
|
|
41
41
|
const ve = {
|
|
42
42
|
ACCOUNTS_CLICK_ACCOUNT: "accounts_widget_click_account",
|
|
43
43
|
ACCOUNTS_CLICK_CONNECT: "accounts_widget_click_connect_accounts",
|
|
@@ -7,25 +7,25 @@ import E from "@mui/material/List";
|
|
|
7
7
|
import O from "@mui/material/ListSubheader";
|
|
8
8
|
import _ from "@mui/system/Stack";
|
|
9
9
|
import { Text as v } from "@mxenabled/mxui";
|
|
10
|
-
import { A as K } from "../AccountDetailsContent-
|
|
11
|
-
import { u as D1 } from "../AccountDetailsContent-
|
|
12
|
-
import { u as z, A as P } from "../AccountDetailsHeader-
|
|
13
|
-
import { A as W } from "../AccountListItem-
|
|
14
|
-
import { a as Y } from "../AccountFields-
|
|
15
|
-
import { g as U1, b as $1 } from "../AccountFields-
|
|
16
|
-
import { u as w, b as S, d as T, g as D, a as q } from "../hooks-
|
|
10
|
+
import { A as K } from "../AccountDetailsContent-CCOCsdoL.mjs";
|
|
11
|
+
import { u as D1 } from "../AccountDetailsContent-CCOCsdoL.mjs";
|
|
12
|
+
import { u as z, A as P } from "../AccountDetailsHeader-Ca9SPAjA.mjs";
|
|
13
|
+
import { A as W } from "../AccountListItem-CMes1Q7Z.mjs";
|
|
14
|
+
import { a as Y } from "../AccountFields-DDAr5SEq.mjs";
|
|
15
|
+
import { g as U1, b as $1 } from "../AccountFields-DDAr5SEq.mjs";
|
|
16
|
+
import { u as w, b as S, d as T, g as D, a as q } from "../hooks-D6XlXHf4.mjs";
|
|
17
17
|
import { f as I } from "../NumberFormatting-Buh7u8Oi.mjs";
|
|
18
18
|
import { D as J } from "../Drawer-kEE73B87.mjs";
|
|
19
|
-
import { A as y, W as Q } from "../WidgetContainer-
|
|
20
|
-
import { C as X } from "../ConnectionsDrawer-
|
|
19
|
+
import { A as y, W as Q } from "../WidgetContainer-BMWagbIl.mjs";
|
|
20
|
+
import { C as X } from "../ConnectionsDrawer-BeB6ab8V.mjs";
|
|
21
21
|
import { u as N } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
22
22
|
import { L as R } from "../Loader-DUaFpDGv.mjs";
|
|
23
|
-
import { k as U, l as e1 } from "../ConnectDrawer-
|
|
24
|
-
import { F as G1, M as K1 } from "../ConnectDrawer-
|
|
23
|
+
import { k as U, l as e1 } from "../ConnectDrawer-CHG5Lv_B.mjs";
|
|
24
|
+
import { F as G1, M as K1 } from "../ConnectDrawer-CHG5Lv_B.mjs";
|
|
25
25
|
import t1 from "@mui/material/ListItem";
|
|
26
|
-
import { M as $ } from "../MiniWidgetContainer-
|
|
26
|
+
import { M as $ } from "../MiniWidgetContainer-D0gfmbaF.mjs";
|
|
27
27
|
import l1 from "@mui/material/Stack";
|
|
28
|
-
import { A as P1, a as Y1 } from "../AccountStore-
|
|
28
|
+
import { A as P1, a as Y1 } from "../AccountStore-DYOG9MYj.mjs";
|
|
29
29
|
const i1 = () => {
|
|
30
30
|
const [c, H] = d.useState(""), { accounts: C } = w(), { selectedAccounts: l } = S(), { setSelectedAccount: h, setSelectedMember: r } = z(), { members: L } = T(), { onEvent: f } = D(), s = [...new Set(l.map((t) => t.account_type))], a = l.find((t) => c === t.guid), u = d.useMemo(
|
|
31
31
|
() => l.filter((t) => t.is_hidden),
|
|
@@ -8,8 +8,8 @@ import a from "@mui/material/Stack";
|
|
|
8
8
|
import _ from "@mui/material/styles/useTheme";
|
|
9
9
|
import { Text as u, TextField as L } from "@mxenabled/mxui";
|
|
10
10
|
import { L as W } from "../Loader-DUaFpDGv.mjs";
|
|
11
|
-
import { M as j } from "../MiniWidgetContainer-
|
|
12
|
-
import { k as f, u as b, g as q, b as E } from "../hooks-
|
|
11
|
+
import { M as j } from "../MiniWidgetContainer-D0gfmbaF.mjs";
|
|
12
|
+
import { k as f, u as b, g as q, b as E } from "../hooks-D6XlXHf4.mjs";
|
|
13
13
|
import Q from "@mui/material/ToggleButton";
|
|
14
14
|
import G from "@mui/material/ToggleButtonGroup";
|
|
15
15
|
const O = () => {
|
package/dist/budgets/index.es.js
CHANGED
|
@@ -8,7 +8,7 @@ import S from "@mui/material/Stack";
|
|
|
8
8
|
import Q from "@mui/material/styles/useTheme";
|
|
9
9
|
import { Text as y, CategoryIcon as H, Icon as N, H1 as ze, H3 as xe } from "@mxenabled/mxui";
|
|
10
10
|
import W from "@mui/material/List";
|
|
11
|
-
import { u as w, i as D, j as ee, m as j,
|
|
11
|
+
import { u as w, i as D, j as ee, m as j, q as te, g as X, b as ne, h as oe, a as Ue, d as ve } from "../hooks-D6XlXHf4.mjs";
|
|
12
12
|
import { f as T } from "../NumberFormatting-Buh7u8Oi.mjs";
|
|
13
13
|
import Ae from "@mui/material/Button";
|
|
14
14
|
import ae from "@mui/material/Divider";
|
|
@@ -19,34 +19,34 @@ import Y from "@mui/material/ListItemText";
|
|
|
19
19
|
import { b as M } from "../Localization-2MODESHW.mjs";
|
|
20
20
|
import { D as k } from "../Drawer-kEE73B87.mjs";
|
|
21
21
|
import Fe from "@mui/material/ListItemSecondaryAction";
|
|
22
|
-
import { C as He } from "../CurrencyInput-
|
|
22
|
+
import { C as He } from "../CurrencyInput-CsCy7uaS.mjs";
|
|
23
23
|
import { a as $ } from "../Dialog-CWW597AF.mjs";
|
|
24
|
-
import { C as We } from "../ConnectionsDrawer-
|
|
24
|
+
import { C as We } from "../ConnectionsDrawer-BeB6ab8V.mjs";
|
|
25
25
|
import * as O from "d3";
|
|
26
26
|
import Xe from "@mui/material/Tooltip";
|
|
27
27
|
import { u as se } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
28
28
|
import { L as G } from "../Loader-DUaFpDGv.mjs";
|
|
29
29
|
import { E as de } from "../EmptyState-DA_lfRBv.mjs";
|
|
30
|
-
import { A as L, W as Ke } from "../WidgetContainer-
|
|
31
|
-
import { u as Ve } from "../BudgetUtil-
|
|
32
|
-
import { M as Ye } from "../MiniWidgetContainer-
|
|
30
|
+
import { A as L, W as Ke } from "../WidgetContainer-BMWagbIl.mjs";
|
|
31
|
+
import { u as Ve } from "../BudgetUtil-B2ZXyw-g.mjs";
|
|
32
|
+
import { M as Ye } from "../MiniWidgetContainer-D0gfmbaF.mjs";
|
|
33
33
|
import { isAfter as Ze } from "date-fns/isAfter";
|
|
34
34
|
import { startOfToday as Z } from "date-fns/startOfToday";
|
|
35
35
|
import qe from "@mui/material/Alert";
|
|
36
36
|
import Je from "@mui/material/Snackbar";
|
|
37
37
|
import ye from "@mui/material/Tab";
|
|
38
38
|
import Qe from "@mui/material/Tabs";
|
|
39
|
-
import { e as et } from "../exportTransactionsToCSV-
|
|
40
|
-
import { T as Te, a as tt } from "../TransactionDetails-
|
|
39
|
+
import { e as et } from "../exportTransactionsToCSV-7bVS7KXf.mjs";
|
|
40
|
+
import { T as Te, a as tt } from "../TransactionDetails-DPvvi4Iu.mjs";
|
|
41
41
|
import pe from "@mui/material/Card";
|
|
42
42
|
import he from "@mui/material/CardContent";
|
|
43
43
|
import { S as ge } from "../StatusBar-BK_uYHAB.mjs";
|
|
44
44
|
import { S as we } from "../SingleSegmentDonut-BgbLgwHi.mjs";
|
|
45
|
-
import { u as nt, b as ot } from "../CategorySelectorDrawer-
|
|
45
|
+
import { u as nt, b as ot } from "../CategorySelectorDrawer-DUe4lH5-.mjs";
|
|
46
46
|
import De from "@mui/material/CardHeader";
|
|
47
47
|
import { subDays as at } from "date-fns/subDays";
|
|
48
48
|
import rt from "@mui/material/IconButton";
|
|
49
|
-
import { M as st } from "../ManageIncome-
|
|
49
|
+
import { M as st } from "../ManageIncome-DqG75uQd.mjs";
|
|
50
50
|
const it = I(() => {
|
|
51
51
|
const { budgets: t } = w(), { totalBudgeted: o } = D(), { incomeTotal: i } = ee(), s = i - o;
|
|
52
52
|
return /* @__PURE__ */ m(S, { direction: "row", justifyContent: "center", my: 16, spacing: 20, children: [
|
|
@@ -8,22 +8,22 @@ import I from "@mui/material/Divider";
|
|
|
8
8
|
import s from "@mui/material/Stack";
|
|
9
9
|
import se from "@mui/material/styles/useTheme";
|
|
10
10
|
import { Text as h, P as O, Icon as M, InstitutionLogo as xe, H1 as de, H2 as Xe } from "@mxenabled/mxui";
|
|
11
|
-
import { G as Ye,
|
|
11
|
+
import { G as Ye, v as me, u as L, q as ce, d as Ne, b as Y, j as q, g as Oe, p as ke, h as He, a as Qe } from "../hooks-D6XlXHf4.mjs";
|
|
12
12
|
import { C as R } from "../CurrencyText-kyC1aseI.mjs";
|
|
13
13
|
import { u as ue } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
14
14
|
import { L as te } from "../Loader-DUaFpDGv.mjs";
|
|
15
15
|
import { I as he } from "../CashflowStore-D9Dpuz7X.mjs";
|
|
16
16
|
import { C as Gn } from "../CashflowStore-D9Dpuz7X.mjs";
|
|
17
17
|
import { b as j } from "../Localization-2MODESHW.mjs";
|
|
18
|
-
import { M as Ve } from "../MiniWidgetContainer-
|
|
18
|
+
import { M as Ve } from "../MiniWidgetContainer-D0gfmbaF.mjs";
|
|
19
19
|
import { E as Ke } from "../EmptyState-DA_lfRBv.mjs";
|
|
20
|
-
import { R as Je } from "../RecurringSettings-
|
|
20
|
+
import { R as Je } from "../RecurringSettings-B9l_Axnd.mjs";
|
|
21
21
|
import Ze from "@mui/material/Tabs";
|
|
22
22
|
import ye from "@mui/material/Tab";
|
|
23
23
|
import { getUnixTime as U } from "date-fns/getUnixTime";
|
|
24
24
|
import ee from "@mui/material/List";
|
|
25
25
|
import ne from "@mui/material/ListItem";
|
|
26
|
-
import { A as et } from "../AccountListItem-
|
|
26
|
+
import { A as et } from "../AccountListItem-CMes1Q7Z.mjs";
|
|
27
27
|
import { f as Q, D as V } from "../Dialog-CWW597AF.mjs";
|
|
28
28
|
import tt from "@mui/material/ListSubheader";
|
|
29
29
|
import { f as Z } from "../NumberFormatting-Buh7u8Oi.mjs";
|
|
@@ -35,17 +35,17 @@ import { alpha as nt, keyframes as ot } from "@mui/material/styles";
|
|
|
35
35
|
import { DataGridPro as at } from "@mui/x-data-grid-pro";
|
|
36
36
|
import { T as Se } from "../TabContentContainer-j01JYR_7.mjs";
|
|
37
37
|
import W from "@mui/material/Button";
|
|
38
|
-
import { M as it, S as rt, i as st, d as we, c as ct } from "../ManageIncome-
|
|
38
|
+
import { M as it, S as rt, i as st, d as we, c as ct } from "../ManageIncome-DqG75uQd.mjs";
|
|
39
39
|
import { D as Me } from "../Drawer-kEE73B87.mjs";
|
|
40
40
|
import { formatISO as lt } from "date-fns/formatISO";
|
|
41
41
|
import { fromUnixTime as _e } from "date-fns/fromUnixTime";
|
|
42
42
|
import { startOfMonth as dt } from "date-fns/startOfMonth";
|
|
43
43
|
import { subDays as Ge } from "date-fns/subDays";
|
|
44
|
-
import { S as mt, b as ut } from "../TransactionDetails-
|
|
45
|
-
import { F as ht, R as Ie, e as
|
|
44
|
+
import { S as mt, b as ut } from "../TransactionDetails-DPvvi4Iu.mjs";
|
|
45
|
+
import { F as ht, R as Ie, e as ve } from "../RecurringTransactions-ej39mgA6.mjs";
|
|
46
46
|
import { h as pt } from "../DateUtil-BcuH7ErC.mjs";
|
|
47
47
|
import { endOfToday as ft } from "date-fns/endOfToday";
|
|
48
|
-
import { W as
|
|
48
|
+
import { W as De, A as Ae } from "../WidgetContainer-BMWagbIl.mjs";
|
|
49
49
|
import { F as gt, A as B } from "../Fetch-87LIQbEA.mjs";
|
|
50
50
|
const K = () => {
|
|
51
51
|
if (!p.useContext(Ye))
|
|
@@ -332,7 +332,7 @@ const wt = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
|
|
|
332
332
|
);
|
|
333
333
|
}) })
|
|
334
334
|
] });
|
|
335
|
-
},
|
|
335
|
+
}, vt = A(It), Dt = () => {
|
|
336
336
|
const { availableWidth: a } = ce(), n = se(), { cashflow: t } = L(), { upcomingExpenses: i, upcomingIncome: f } = q(), { dateRange: y, selectedCashAccounts: c } = K(), b = [
|
|
337
337
|
{
|
|
338
338
|
field: "account",
|
|
@@ -568,7 +568,7 @@ const wt = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
|
|
|
568
568
|
]
|
|
569
569
|
}
|
|
570
570
|
);
|
|
571
|
-
}, At = A(
|
|
571
|
+
}, At = A(Dt), Et = () => {
|
|
572
572
|
const { cashflow: a } = L(), { isDesktop: n } = ue(), { onEvent: t } = Oe(), [i, f] = p.useState(0), y = (c, b) => {
|
|
573
573
|
f(b);
|
|
574
574
|
};
|
|
@@ -612,7 +612,7 @@ const wt = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
|
|
|
612
612
|
),
|
|
613
613
|
/* @__PURE__ */ e(_, { sx: { mb: 32 } }),
|
|
614
614
|
/* @__PURE__ */ e(Se, { index: 0, name: "cashflow", value: i, children: /* @__PURE__ */ e(_, { sx: { m: n ? 48 : 16 }, children: /* @__PURE__ */ e(At, {}) }) }),
|
|
615
|
-
/* @__PURE__ */ e(Se, { index: 1, name: "cashflow", value: i, children: /* @__PURE__ */ e(_, { sx: { m: n ? 48 : 16 }, children: /* @__PURE__ */ e(
|
|
615
|
+
/* @__PURE__ */ e(Se, { index: 1, name: "cashflow", value: i, children: /* @__PURE__ */ e(_, { sx: { m: n ? 48 : 16 }, children: /* @__PURE__ */ e(vt, {}) }) })
|
|
616
616
|
] });
|
|
617
617
|
}, Tt = A(Et), ie = ({
|
|
618
618
|
amount: a,
|
|
@@ -827,7 +827,7 @@ const wt = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
|
|
|
827
827
|
transform: rotate(360deg);
|
|
828
828
|
}
|
|
829
829
|
`, Wt = () => {
|
|
830
|
-
const { addRepeatingTransaction: a, repeatingTransactions: n } = q(), { cashflow: t, common: i } = L(), { completeOnboarding: f } = me(), { isDirty: y } = K(), { isMobile: c } = ue(), { isCopyLoaded: b, setDisplayedDate: l } = Y(), { filter: r, setFilter: m, transactions: d } = He(), g = se(), [S, w] = J(!0), [E, T] = p.useState(ht.EveryMonth), [k, H] = p.useState(1), [u, N] = p.useState(15), [x, z] = J(!1), [X, ae] = J(1), [
|
|
830
|
+
const { addRepeatingTransaction: a, repeatingTransactions: n } = q(), { cashflow: t, common: i } = L(), { completeOnboarding: f } = me(), { isDirty: y } = K(), { isMobile: c } = ue(), { isCopyLoaded: b, setDisplayedDate: l } = Y(), { filter: r, setFilter: m, transactions: d } = He(), g = se(), [S, w] = J(!0), [E, T] = p.useState(ht.EveryMonth), [k, H] = p.useState(1), [u, N] = p.useState(15), [x, z] = J(!1), [X, ae] = J(1), [v, G] = J([]), [fe, le] = J(""), F = p.useMemo(
|
|
831
831
|
() => d.find((C) => C.guid === fe),
|
|
832
832
|
[fe, d]
|
|
833
833
|
), ze = !!n.filter(
|
|
@@ -839,25 +839,25 @@ const wt = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
|
|
|
839
839
|
$()
|
|
840
840
|
), m({ ...r, custom: we }), ae(3);
|
|
841
841
|
}, Be = async () => {
|
|
842
|
-
if (!(
|
|
842
|
+
if (!(v.length < 1)) {
|
|
843
843
|
z(!0);
|
|
844
|
-
for (let C = 0; C <
|
|
845
|
-
const
|
|
846
|
-
account_guid:
|
|
847
|
-
amount:
|
|
848
|
-
merchant_guid:
|
|
849
|
-
description:
|
|
844
|
+
for (let C = 0; C < v.length; C++) {
|
|
845
|
+
const D = v[C], be = ve(E, _e(D.date)), Pe = {
|
|
846
|
+
account_guid: D.account_guid,
|
|
847
|
+
amount: D.amount,
|
|
848
|
+
merchant_guid: D.merchant_guid,
|
|
849
|
+
description: D.feed_description || D.description,
|
|
850
850
|
predicted_occurs_on: lt(be, { representation: "date" }),
|
|
851
851
|
recurrence_day: be.getDay(),
|
|
852
852
|
recurrence_type: E,
|
|
853
853
|
repeating_transaction_type: Ie.Income,
|
|
854
|
-
transaction_type:
|
|
854
|
+
transaction_type: D.transaction_type
|
|
855
855
|
};
|
|
856
|
-
await a(Pe,
|
|
856
|
+
await a(Pe, D);
|
|
857
857
|
}
|
|
858
858
|
await f();
|
|
859
859
|
}
|
|
860
|
-
}, Ue = !F && S || !F &&
|
|
860
|
+
}, Ue = !F && S || !F && v.length < 1;
|
|
861
861
|
return b ? /* @__PURE__ */ o(
|
|
862
862
|
_,
|
|
863
863
|
{
|
|
@@ -899,13 +899,13 @@ const wt = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
|
|
|
899
899
|
children: [
|
|
900
900
|
/* @__PURE__ */ e(de, { pb: 12, children: t.add_income_title }),
|
|
901
901
|
/* @__PURE__ */ e(O, { mb: 24, children: t.add_income_description }),
|
|
902
|
-
|
|
903
|
-
/* @__PURE__ */ e(ee, { children:
|
|
902
|
+
v.length > 0 && !F && /* @__PURE__ */ o(P, { children: [
|
|
903
|
+
/* @__PURE__ */ e(ee, { children: v.map((C, D) => /* @__PURE__ */ o(p.Fragment, { children: [
|
|
904
904
|
/* @__PURE__ */ e(mt, { bgcolor: "background.paper", children: pt(
|
|
905
905
|
U(C.nextDate || C.date)
|
|
906
906
|
) }),
|
|
907
907
|
/* @__PURE__ */ e(ut, { transaction: C }),
|
|
908
|
-
|
|
908
|
+
D !== v.length - 1 && /* @__PURE__ */ e(I, {})
|
|
909
909
|
] }, C.guid)) }),
|
|
910
910
|
/* @__PURE__ */ o(s, { alignItems: "center", direction: "row", children: [
|
|
911
911
|
/* @__PURE__ */ e(I, { sx: { flexGrow: 1 } }),
|
|
@@ -925,7 +925,7 @@ const wt = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
|
|
|
925
925
|
bgcolor: "background.paper",
|
|
926
926
|
onSearch: (C) => m({
|
|
927
927
|
...r,
|
|
928
|
-
custom: (
|
|
928
|
+
custom: (D) => C ? st(D, C) : we(D)
|
|
929
929
|
}),
|
|
930
930
|
onSelected: (C) => {
|
|
931
931
|
le(C), w(!1);
|
|
@@ -953,10 +953,10 @@ const wt = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
|
|
|
953
953
|
{
|
|
954
954
|
"aria-disabled": !F,
|
|
955
955
|
onClick: () => {
|
|
956
|
-
const C = [...
|
|
956
|
+
const C = [...v];
|
|
957
957
|
C.push({
|
|
958
958
|
...F,
|
|
959
|
-
nextDate:
|
|
959
|
+
nextDate: ve(E, _e(F.date)),
|
|
960
960
|
frequency: E
|
|
961
961
|
}), G(C), le("");
|
|
962
962
|
},
|
|
@@ -976,11 +976,11 @@ const wt = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
|
|
|
976
976
|
)
|
|
977
977
|
] })
|
|
978
978
|
] }),
|
|
979
|
-
|
|
979
|
+
v.length > 0 && !F && /* @__PURE__ */ o(s, { direction: "row", gap: 16, ml: 24, mt: 32, children: [
|
|
980
980
|
/* @__PURE__ */ e(
|
|
981
981
|
W,
|
|
982
982
|
{
|
|
983
|
-
"aria-disabled":
|
|
983
|
+
"aria-disabled": v.length < 1 || x,
|
|
984
984
|
onClick: Be,
|
|
985
985
|
startIcon: x ? /* @__PURE__ */ e(
|
|
986
986
|
M,
|
|
@@ -1016,15 +1016,15 @@ const wt = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
|
|
|
1016
1016
|
}, [u]), p.useEffect(() => {
|
|
1017
1017
|
f(r);
|
|
1018
1018
|
}, [r]), p.useEffect(() => {
|
|
1019
|
-
const ae = r.map((G) => G.guid),
|
|
1019
|
+
const ae = r.map((G) => G.guid), v = t.filter(
|
|
1020
1020
|
(G) => i.includes(G.guid) && ae.includes(G.guid)
|
|
1021
1021
|
);
|
|
1022
|
-
S(
|
|
1022
|
+
S(v), m({
|
|
1023
1023
|
dateRange: { start: Ge($(), 90), end: ft() },
|
|
1024
|
-
accounts:
|
|
1024
|
+
accounts: v.map((G) => G.guid)
|
|
1025
1025
|
});
|
|
1026
1026
|
}, [r, t]), !H || !u ? /* @__PURE__ */ e(te, {}) : d?.has_completed_cash_flow_onboarding ? /* @__PURE__ */ o(
|
|
1027
|
-
|
|
1027
|
+
De,
|
|
1028
1028
|
{
|
|
1029
1029
|
accountOptions: r,
|
|
1030
1030
|
actions: [
|
|
@@ -1066,7 +1066,7 @@ const wt = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
|
|
|
1066
1066
|
]
|
|
1067
1067
|
}
|
|
1068
1068
|
) : /* @__PURE__ */ e(
|
|
1069
|
-
|
|
1069
|
+
De,
|
|
1070
1070
|
{
|
|
1071
1071
|
onBackClick: a,
|
|
1072
1072
|
sx: { height: "100%", overflow: "auto" },
|
package/dist/common/index.es.js
CHANGED
|
@@ -6,68 +6,68 @@ import { C as et } from "../CategoryStore-BCcpI3oJ.mjs";
|
|
|
6
6
|
import { a as ds } from "../CategoryStore-BCcpI3oJ.mjs";
|
|
7
7
|
import { N as st } from "../NotificationStore-C6PH6MKm.mjs";
|
|
8
8
|
import { a as us } from "../NotificationStore-C6PH6MKm.mjs";
|
|
9
|
-
import { T as rt } from "../User-
|
|
10
|
-
import { C as gs, b as ps, L as ms, a as _s } from "../User-
|
|
9
|
+
import { T as rt } from "../User-BQUxBeZV.mjs";
|
|
10
|
+
import { C as gs, b as ps, L as ms, a as _s } from "../User-BQUxBeZV.mjs";
|
|
11
11
|
import { H as ot } from "../Help-DhcC-C05.mjs";
|
|
12
12
|
import { E as ys } from "../Help-DhcC-C05.mjs";
|
|
13
|
-
import { M as bs } from "../MicroWidgetContainer-
|
|
14
|
-
import { M as xs } from "../MiniWidgetContainer-
|
|
15
|
-
import { A as vs, D as Ds, W as As } from "../WidgetContainer-
|
|
16
|
-
import { j as Ts, a as Bs, e as Is, n as Ns, A as Ms, f as ks, k as $s, d as Rs, m as Ps, E as Os, i as Us, N as Ls, h as Gs, P as Hs, o as Fs, S as Ws } from "../ConnectDrawer-
|
|
17
|
-
import { C as Ys } from "../CurrencyInput-
|
|
13
|
+
import { M as bs } from "../MicroWidgetContainer-DpeqN9n3.mjs";
|
|
14
|
+
import { M as xs } from "../MiniWidgetContainer-D0gfmbaF.mjs";
|
|
15
|
+
import { A as vs, D as Ds, W as As } from "../WidgetContainer-BMWagbIl.mjs";
|
|
16
|
+
import { j as Ts, a as Bs, e as Is, n as Ns, A as Ms, f as ks, k as $s, d as Rs, m as Ps, E as Os, i as Us, N as Ls, h as Gs, P as Hs, o as Fs, S as Ws } from "../ConnectDrawer-CHG5Lv_B.mjs";
|
|
17
|
+
import { C as Ys } from "../CurrencyInput-CsCy7uaS.mjs";
|
|
18
18
|
import { L as zs } from "../Loader-DUaFpDGv.mjs";
|
|
19
19
|
import { R as js } from "../ResponsiveButton-DZFp78fJ.mjs";
|
|
20
20
|
import { S as Vs } from "../SearchBox-B2_zLv8-.mjs";
|
|
21
|
-
import { T as at } from "../TransactionStore-
|
|
22
|
-
import { S as Js } from "../TransactionStore-
|
|
21
|
+
import { T as at } from "../TransactionStore-CBrJOY0H.mjs";
|
|
22
|
+
import { S as Js } from "../TransactionStore-CBrJOY0H.mjs";
|
|
23
23
|
import { T as er } from "../TabContentContainer-j01JYR_7.mjs";
|
|
24
24
|
import { I as rr } from "../IconBacking-B9oC6uL2.mjs";
|
|
25
25
|
import { D as ar, F as nr, a as ir, c as cr, R as dr, S as lr } from "../RecurringTransactions-ej39mgA6.mjs";
|
|
26
26
|
import { C as nt } from "../CashflowStore-D9Dpuz7X.mjs";
|
|
27
27
|
import { I as hr } from "../CashflowStore-D9Dpuz7X.mjs";
|
|
28
|
-
import { d as it } from "../GoalStore-
|
|
29
|
-
import { C as pr, G as mr, M as _r, T as fr } from "../GoalStore-
|
|
28
|
+
import { d as it } from "../GoalStore-CSsU4LR2.mjs";
|
|
29
|
+
import { C as pr, G as mr, M as _r, T as fr } from "../GoalStore-CSsU4LR2.mjs";
|
|
30
30
|
import { C as Sr } from "../CurrencyText-kyC1aseI.mjs";
|
|
31
31
|
import { E as wr } from "../EmptyState-DA_lfRBv.mjs";
|
|
32
|
-
import { L as Cr } from "../ListItemAction-
|
|
33
|
-
import { T as ct } from "../TrendsStore-
|
|
34
|
-
import { L as Dr, S as Ar } from "../TrendsStore-
|
|
32
|
+
import { L as Cr } from "../ListItemAction-DHa3KJPs.mjs";
|
|
33
|
+
import { T as ct } from "../TrendsStore-DCYbpXPO.mjs";
|
|
34
|
+
import { L as Dr, S as Ar } from "../TrendsStore-DCYbpXPO.mjs";
|
|
35
35
|
import { A as Tr, B as Br, I as Ir, N as Nr, T as Mr, a as kr } from "../ToggleListItem-r0Kx56wF.mjs";
|
|
36
36
|
import { jsxs as y, jsx as n } from "react/jsx-runtime";
|
|
37
37
|
import dt, { useRef as lt, useEffect as ut } from "react";
|
|
38
38
|
import { css as x, keyframes as ht } from "@mxenabled/cssinjs";
|
|
39
39
|
import { useTokens as C, Text as B } from "@mxenabled/mxui";
|
|
40
40
|
import { D as Rr } from "../Donut-1UMNcG67.mjs";
|
|
41
|
-
import { L as Or } from "../LineChart-
|
|
41
|
+
import { L as Or } from "../LineChart-D4GI7nVh.mjs";
|
|
42
42
|
import { S as Lr } from "../StatusBar-BK_uYHAB.mjs";
|
|
43
43
|
import { D as Hr, a as Fr, O as Wr, b as qr, f as Yr } from "../Dialog-CWW597AF.mjs";
|
|
44
44
|
import { D as gt, a as pt } from "../SingleSegmentDonut-BgbLgwHi.mjs";
|
|
45
45
|
import { S as zr } from "../SingleSegmentDonut-BgbLgwHi.mjs";
|
|
46
46
|
import { D as jr } from "../Drawer-kEE73B87.mjs";
|
|
47
|
-
import { I as Vr, P as Zr, S as Jr } from "../Account-
|
|
47
|
+
import { I as Vr, P as Zr, S as Jr } from "../Account-DKy2na__.mjs";
|
|
48
48
|
import { b as E } from "../Category-CevNQ03n.mjs";
|
|
49
49
|
import { C as eo, c as so, a as ro, P as oo } from "../Category-CevNQ03n.mjs";
|
|
50
50
|
import { C as no, f as io, b as co, a as lo, g as uo, i as ho } from "../NumberFormatting-Buh7u8Oi.mjs";
|
|
51
51
|
import { R as mt } from "../RecurringTransactionsStore-DrzS1LmF.mjs";
|
|
52
52
|
import { S as po, T as mo } from "../RecurringTransactionsStore-DrzS1LmF.mjs";
|
|
53
|
-
import { G as fo, C as yo, D as So, W as bo, d as wo, a as xo, i as Co,
|
|
54
|
-
import { u as Xo } from "../useAccountDisplayName-
|
|
55
|
-
import { u as Ko } from "../useInsightsEnabled-
|
|
53
|
+
import { G as fo, C as yo, D as So, W as bo, d as wo, a as xo, i as Co, v as vo, m as Do, y as Ao, z as Eo, g as To, x as Bo, u as Io, f as No, b as Mo, l as ko, A as $o, t as Ro, n as Po, c as Oo, r as Uo, o as Lo, B as Go, j as Ho, s as Fo, h as Wo, w as qo, p as Yo, q as Qo } from "../hooks-D6XlXHf4.mjs";
|
|
54
|
+
import { u as Xo } from "../useAccountDisplayName-BEorBm5u.mjs";
|
|
55
|
+
import { u as Ko } from "../useInsightsEnabled-DBpwEq10.mjs";
|
|
56
56
|
import { u as Zo } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
57
57
|
import { makeAutoObservable as f, runInAction as p, reaction as _t } from "mobx";
|
|
58
|
-
import { a as ft } from "../AccountStore-
|
|
58
|
+
import { a as ft } from "../AccountStore-DYOG9MYj.mjs";
|
|
59
59
|
import yt from "posthog-js";
|
|
60
60
|
import { B as St } from "../BeatStore-IBnXd4YK.mjs";
|
|
61
61
|
import { endOfMonth as Z } from "date-fns/endOfMonth";
|
|
62
62
|
import { startOfMonth as J } from "date-fns/startOfMonth";
|
|
63
63
|
import { startOfToday as U } from "date-fns/startOfToday";
|
|
64
|
-
import { f as bt, a as wt, b as L } from "../BudgetUtil-
|
|
65
|
-
import { g as ta, e as ea, c as sa, d as ra, i as oa } from "../BudgetUtil-
|
|
66
|
-
import { a as xt } from "../DebtsStore-
|
|
64
|
+
import { f as bt, a as wt, b as L } from "../BudgetUtil-B2ZXyw-g.mjs";
|
|
65
|
+
import { g as ta, e as ea, c as sa, d as ra, i as oa } from "../BudgetUtil-B2ZXyw-g.mjs";
|
|
66
|
+
import { a as xt } from "../DebtsStore-BblTVTMD.mjs";
|
|
67
67
|
import { a as Ct } from "../FinstrongStore-F2c607dj.mjs";
|
|
68
68
|
import { A as vt, m as Dt, a as At, b as Et } from "../InvestmentUtil-jOyOgzIB.mjs";
|
|
69
69
|
import { M as Tt } from "../MerchantStore-DrFvsUyy.mjs";
|
|
70
|
-
import { N as Bt } from "../NetWorthStore-
|
|
70
|
+
import { N as Bt } from "../NetWorthStore-BbA7H83o.mjs";
|
|
71
71
|
import { a as It } from "../SettingsStore-BcgS_Ohv.mjs";
|
|
72
72
|
import { addMonths as Nt } from "date-fns/addMonths";
|
|
73
73
|
import { getMonth as T } from "date-fns/getMonth";
|