@mx-cartographer/experiences 7.0.8 → 7.0.9
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-BFol-JYA.mjs → Account-BW3-oYEs.mjs} +1 -1
- package/dist/{AccountDetailsContent-OzI5Hs8T.mjs → AccountDetailsContent-Dkpo7pw6.mjs} +8 -8
- package/dist/{AccountDetailsHeader-DnEyQMpX.mjs → AccountDetailsHeader-2HU_fMWZ.mjs} +11 -11
- package/dist/{AccountFields-CeHZrIQe.mjs → AccountFields-CIz-r3gP.mjs} +2 -2
- package/dist/{AccountListItem-CR6I3Hl8.mjs → AccountListItem-B-ZjJ4Gp.mjs} +3 -3
- package/dist/{AccountStore-Cu3GoLh-.mjs → AccountStore-BQKxAYSg.mjs} +1 -1
- package/dist/{Accounts-BuYXUMhP.mjs → Accounts-CA-nqAjT.mjs} +1 -1
- package/dist/{BudgetUtil-spowPvBM.mjs → BudgetUtil-CeSLAcsl.mjs} +1 -1
- package/dist/{CategorySelectorDrawer-Dyzb3UDU.mjs → CategorySelectorDrawer-BPvjZ-Xo.mjs} +1 -1
- package/dist/{ConnectDrawer-WfKHsHSF.mjs → ConnectDrawer-phFH6OHt.mjs} +1 -1
- package/dist/{ConnectionsDrawer-Czp-E0-m.mjs → ConnectionsDrawer-ihxkAi1P.mjs} +2 -2
- package/dist/{CurrencyInput-CSZjO22Z.mjs → CurrencyInput-bEx2Mbd0.mjs} +1 -1
- package/dist/{DebtsStore-D9holN8L.mjs → DebtsStore-Dp-CraCD.mjs} +1 -1
- package/dist/{ExportCsvAction-dpvaZxbS.mjs → ExportCsvAction-CvyiKLTh.mjs} +3 -3
- package/dist/GoalStore-BWHkOQ8o.mjs +364 -0
- package/dist/{Help-BazrEpv7.mjs → Help-B3oENhkG.mjs} +1 -1
- package/dist/{LineChart-CYiUS-px.mjs → LineChart-jpdaQX7x.mjs} +1 -1
- package/dist/{ListItemAction-BzmbPuNp.mjs → ListItemAction-DNZZ5fSa.mjs} +1 -1
- package/dist/{ManageIncome-CzTV55Bh.mjs → ManageIncome-Bd14SWPF.mjs} +4 -4
- package/dist/{MicroWidgetContainer-DmYiksbT.mjs → MicroWidgetContainer-Dxz8uBN9.mjs} +1 -1
- package/dist/{MiniWidgetContainer-DqKQNubH.mjs → MiniWidgetContainer-CTyjmE1h.mjs} +1 -1
- package/dist/{NetWorthStore-BK1_NbXW.mjs → NetWorthStore-B6xF9eGH.mjs} +2 -2
- package/dist/{NotificationSettings-BznqGVQ2.mjs → NotificationSettings-uXVwpIa1.mjs} +17 -17
- package/dist/{OriginalBalanceAction-CSu5brQE.mjs → OriginalBalanceAction-DepsKiJz.mjs} +3 -3
- package/dist/{RecurringSettings-BQDQvmSY.mjs → RecurringSettings-4Y2RJy_M.mjs} +3 -3
- package/dist/{Transaction-CyqrHmAA.mjs → Transaction-Dns0Kuuy.mjs} +1 -1
- package/dist/{TransactionDetails-BSfXqkpH.mjs → TransactionDetails-BSl6CpL8.mjs} +5 -5
- package/dist/{TransactionStore-DSyXtPek.mjs → TransactionStore-BVKUoEHj.mjs} +2 -2
- package/dist/{TrendsStore-DR8etTL2.mjs → TrendsStore-D6Un6Y4A.mjs} +1 -1
- package/dist/{WidgetContainer-BG-fdDOf.mjs → WidgetContainer-C2NBfpDg.mjs} +2 -2
- package/dist/accounts/index.es.js +12 -12
- 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/index.es.js +22 -22
- package/dist/dashboard/index.es.js +9 -9
- package/dist/debts/index.es.js +9 -9
- package/dist/{exportTransactionsToCSV-BlVifaOG.mjs → exportTransactionsToCSV-B4JW8rfR.mjs} +1 -1
- package/dist/finstrong/index.es.js +6 -6
- package/dist/goals/index.es.js +560 -647
- package/dist/goals/util/GoalsUtil.d.ts +1 -0
- package/dist/help/index.es.js +3 -3
- package/dist/{hooks-02T565vf.mjs → hooks-DkUqN6JE.mjs} +3 -3
- 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 +7 -7
- 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 +9 -9
- package/package.json +1 -1
- package/dist/GoalStore-Drf76ell.mjs +0 -263
|
@@ -16,23 +16,23 @@ import { startOfToday as z } from "date-fns/startOfToday";
|
|
|
16
16
|
import { endOfMonth as _e } from "date-fns/endOfMonth";
|
|
17
17
|
import H from "@mui/material/Button";
|
|
18
18
|
import { Delete as me, Add as ye, ReceiptLong as pe } from "@mxenabled/mx-icons";
|
|
19
|
-
import { T as X, a as he, u as ge, S as fe, b as Ce } from "./TransactionDetails-
|
|
19
|
+
import { T as X, a as he, u as ge, S as fe, b as Ce } from "./TransactionDetails-BSl6CpL8.mjs";
|
|
20
20
|
import { getDayOfYear as be } from "date-fns/getDayOfYear";
|
|
21
21
|
import { setDayOfYear as Se } from "date-fns/setDayOfYear";
|
|
22
22
|
import { AdapterDateFns as ve } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
23
23
|
import { DatePicker as xe } from "@mui/x-date-pickers";
|
|
24
24
|
import { LocalizationProvider as we } from "@mui/x-date-pickers/LocalizationProvider";
|
|
25
|
-
import { u as w, h as M, e as F, a as Ae, f as Z, o as De } from "./hooks-
|
|
25
|
+
import { u as w, h as M, e as F, a as Ae, f as Z, o as De } from "./hooks-DkUqN6JE.mjs";
|
|
26
26
|
import { b as Ie, f as J } from "./NumberFormatting-CtWHhyBX.mjs";
|
|
27
27
|
import { D as O } from "./Drawer-kEE73B87.mjs";
|
|
28
|
-
import { A as R } from "./WidgetContainer-
|
|
28
|
+
import { A as R } from "./WidgetContainer-C2NBfpDg.mjs";
|
|
29
29
|
import { f as Ee, D as Re, a as Te } from "./Dialog-CWW597AF.mjs";
|
|
30
30
|
import { formatISO as Le } from "date-fns/formatISO";
|
|
31
31
|
import { fromUnixTime as Oe } from "date-fns/fromUnixTime";
|
|
32
32
|
import { S as ke } from "./SearchBox-B2_zLv8-.mjs";
|
|
33
33
|
import { h as Ne } from "./DateUtil-BcuH7ErC.mjs";
|
|
34
34
|
import { b as B } from "./Category-CevNQ03n.mjs";
|
|
35
|
-
import { T as V } from "./Transaction-
|
|
35
|
+
import { T as V } from "./Transaction-Dns0Kuuy.mjs";
|
|
36
36
|
const ee = ({
|
|
37
37
|
frequency: n,
|
|
38
38
|
firstDay: t,
|
|
@@ -6,7 +6,7 @@ import b from "@mui/material/CardHeader";
|
|
|
6
6
|
import { P as u, H3 as v } from "@mxenabled/mxui";
|
|
7
7
|
import { ChevronRight as W } from "@mxenabled/mx-icons";
|
|
8
8
|
import { u as M } from "./useDimensions-27p2evRx.mjs";
|
|
9
|
-
import { W as w } from "./hooks-
|
|
9
|
+
import { W as w } from "./hooks-DkUqN6JE.mjs";
|
|
10
10
|
const H = ({
|
|
11
11
|
children: e,
|
|
12
12
|
className: o,
|
|
@@ -7,7 +7,7 @@ import b from "@mui/material/IconButton";
|
|
|
7
7
|
import { Icon as C, ChevronRight as v } from "@mxenabled/mx-icons";
|
|
8
8
|
import { Text as W, H3 as H } from "@mxenabled/mxui";
|
|
9
9
|
import { u as I } from "./useDimensions-27p2evRx.mjs";
|
|
10
|
-
import { W as M } from "./hooks-
|
|
10
|
+
import { W as M } from "./hooks-DkUqN6JE.mjs";
|
|
11
11
|
const j = ({
|
|
12
12
|
className: t = "mx-cmn-mini-widget",
|
|
13
13
|
closeLabel: a,
|
|
@@ -3,8 +3,8 @@ import { format as A } from "date-fns/format";
|
|
|
3
3
|
import { fromUnixTime as W } from "date-fns/fromUnixTime";
|
|
4
4
|
import { startOfMonth as _ } from "date-fns/startOfMonth";
|
|
5
5
|
import { subMonths as B } from "date-fns/subMonths";
|
|
6
|
-
import { a as b } from "./Accounts-
|
|
7
|
-
import { e as N, a as M, f as v } from "./ConnectDrawer-
|
|
6
|
+
import { a as b } from "./Accounts-CA-nqAjT.mjs";
|
|
7
|
+
import { e as N, a as M, f as v } from "./ConnectDrawer-phFH6OHt.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));
|
|
@@ -7,7 +7,7 @@ import O from "@mui/material/ListItem";
|
|
|
7
7
|
import N from "@mui/material/ListItemText";
|
|
8
8
|
import V from "@mui/material/ListItemButton";
|
|
9
9
|
import _ from "@mui/material/Stack";
|
|
10
|
-
import { ChevronRight as
|
|
10
|
+
import { ChevronRight as k, ExpandMore as K, Star as Q } from "@mxenabled/mx-icons";
|
|
11
11
|
import { Text as x, InstitutionLogo as Y, H3 as U } from "@mxenabled/mxui";
|
|
12
12
|
import { endOfMonth as Z } from "date-fns/endOfMonth";
|
|
13
13
|
import { startOfMonth as ee } from "date-fns/startOfMonth";
|
|
@@ -15,11 +15,11 @@ import { DateCalendar as te } from "@mui/x-date-pickers/DateCalendar";
|
|
|
15
15
|
import { LocalizationProvider as ne } from "@mui/x-date-pickers/LocalizationProvider";
|
|
16
16
|
import { AdapterDateFns as ie } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
17
17
|
import { A as oe, T as F, a as P, N as b } from "./Notification-ByMBpJ5u.mjs";
|
|
18
|
-
import { u as D, r as T, o as w, c as se, e as ae,
|
|
18
|
+
import { u as D, r as T, o as w, c as se, e as ae, m as W, a as ce } from "./hooks-DkUqN6JE.mjs";
|
|
19
19
|
import { b as le } from "./Localization-2MODESHW.mjs";
|
|
20
20
|
import { b as re, f as de } from "./NumberFormatting-CtWHhyBX.mjs";
|
|
21
21
|
import { a as M } from "./Dialog-CWW597AF.mjs";
|
|
22
|
-
import { C as me } from "./CurrencyInput-
|
|
22
|
+
import { C as me } from "./CurrencyInput-bEx2Mbd0.mjs";
|
|
23
23
|
import { u as _e } from "./useScreenSize-B6JyS_Lj.mjs";
|
|
24
24
|
import { D as J } from "./Drawer-kEE73B87.mjs";
|
|
25
25
|
import he from "@mui/material/Collapse";
|
|
@@ -40,7 +40,7 @@ const ye = C(() => {
|
|
|
40
40
|
return /* @__PURE__ */ c(f.Fragment, { children: [
|
|
41
41
|
/* @__PURE__ */ c(R, { onClick: m, sx: { height: "auto", p: 4, width: "fit-content" }, children: [
|
|
42
42
|
/* @__PURE__ */ e(x, { variant: "Small", children: t.verify_email }),
|
|
43
|
-
/* @__PURE__ */ e(
|
|
43
|
+
/* @__PURE__ */ e(k, {})
|
|
44
44
|
] }),
|
|
45
45
|
/* @__PURE__ */ e(
|
|
46
46
|
M,
|
|
@@ -122,7 +122,7 @@ const ye = C(() => {
|
|
|
122
122
|
return /* @__PURE__ */ c(f.Fragment, { children: [
|
|
123
123
|
/* @__PURE__ */ c(R, { onClick: u, sx: { height: "auto", p: 4, width: "fit-content" }, children: [
|
|
124
124
|
/* @__PURE__ */ e(x, { variant: "Small", children: t.verify_phone }),
|
|
125
|
-
/* @__PURE__ */ e(
|
|
125
|
+
/* @__PURE__ */ e(k, {})
|
|
126
126
|
] }),
|
|
127
127
|
/* @__PURE__ */ e(
|
|
128
128
|
M,
|
|
@@ -177,7 +177,7 @@ const ye = C(() => {
|
|
|
177
177
|
), p = t.account?.name || t.account?.feed_name || "", y = t.account?.day_payment_is_due ? le(
|
|
178
178
|
i.notification_debt_payment_date,
|
|
179
179
|
re(t.account?.day_payment_is_due)
|
|
180
|
-
) : i.notification_debt_payment_zero_state,
|
|
180
|
+
) : i.notification_debt_payment_zero_state, S = a ? y : de(t.threshold ?? 0, "0,0"), A = async () => {
|
|
181
181
|
a && t.account ? await r({ ...t.account, day_payment_is_due: u }) : n({ ...t, threshold: d });
|
|
182
182
|
};
|
|
183
183
|
return /* @__PURE__ */ c(_, { children: [
|
|
@@ -191,7 +191,7 @@ const ye = C(() => {
|
|
|
191
191
|
institutionGuid: t.account?.institution_guid
|
|
192
192
|
}
|
|
193
193
|
) : void 0,
|
|
194
|
-
endIcon: /* @__PURE__ */ e(
|
|
194
|
+
endIcon: /* @__PURE__ */ e(k, {}),
|
|
195
195
|
isChecked: t.is_enabled,
|
|
196
196
|
isPrimaryTextBold: !0,
|
|
197
197
|
onClick: () => m(!0),
|
|
@@ -200,7 +200,7 @@ const ye = C(() => {
|
|
|
200
200
|
is_enabled: !t.is_enabled
|
|
201
201
|
}),
|
|
202
202
|
primaryText: p,
|
|
203
|
-
secondaryText:
|
|
203
|
+
secondaryText: S
|
|
204
204
|
}
|
|
205
205
|
),
|
|
206
206
|
/* @__PURE__ */ e(
|
|
@@ -333,7 +333,7 @@ const ye = C(() => {
|
|
|
333
333
|
n.filter((o) => o.children && o.children.length > 0).map((o) => /* @__PURE__ */ e(
|
|
334
334
|
F,
|
|
335
335
|
{
|
|
336
|
-
endIcon: /* @__PURE__ */ e(
|
|
336
|
+
endIcon: /* @__PURE__ */ e(k, {}),
|
|
337
337
|
isChecked: o.is_enabled,
|
|
338
338
|
isDisabled: !o.is_enabled,
|
|
339
339
|
onClick: () => l(o.guid),
|
|
@@ -374,8 +374,8 @@ const ye = C(() => {
|
|
|
374
374
|
}
|
|
375
375
|
} = T(), { user: d } = w(), [h, u] = f.useState(!1), g = async () => {
|
|
376
376
|
await p({ ...n, is_enabled: !n.is_enabled }), n.is_enabled && u(!1);
|
|
377
|
-
}, p = async (
|
|
378
|
-
await r(
|
|
377
|
+
}, p = async (S) => {
|
|
378
|
+
await r(S);
|
|
379
379
|
}, y = s || i || l;
|
|
380
380
|
return /* @__PURE__ */ c(B, { sx: { bgcolor: "background.paper" }, children: [
|
|
381
381
|
/* @__PURE__ */ e(
|
|
@@ -514,8 +514,8 @@ const ye = C(() => {
|
|
|
514
514
|
const { config: n } = W(), [t, { width: s }] = fe(), { common: l, settings: i } = D(), { updateUser: r } = T(), { user: a } = w(), [o, m] = f.useState(!1), [d, h] = f.useState({
|
|
515
515
|
email: a.email,
|
|
516
516
|
phone: a.phone
|
|
517
|
-
}), u = d.email && !a.email_is_verified && !o, g = d.phone && !a.phone_is_verified && !o, p = (
|
|
518
|
-
const { name: A, value: I } =
|
|
517
|
+
}), u = d.email && !a.email_is_verified && !o, g = d.phone && !a.phone_is_verified && !o, p = (S) => {
|
|
518
|
+
const { name: A, value: I } = S.target, j = { ...d, [A]: I };
|
|
519
519
|
h(j), m(JSON.stringify({ ...a, ...j }) !== JSON.stringify(a));
|
|
520
520
|
}, y = async () => {
|
|
521
521
|
await r({ ...a, ...d }), m(!1);
|
|
@@ -618,7 +618,7 @@ const ye = C(() => {
|
|
|
618
618
|
return /* @__PURE__ */ e(z, {});
|
|
619
619
|
if (s === "insights")
|
|
620
620
|
return /* @__PURE__ */ e($, {});
|
|
621
|
-
const
|
|
621
|
+
const S = l.display_email_edit_field_in_settings || l.display_sms_edit_field_in_settings, A = t && a.can_edit_contact_info && S;
|
|
622
622
|
return /* @__PURE__ */ c(_, { sx: { pt: y ? 0 : 24 }, children: [
|
|
623
623
|
/* @__PURE__ */ c(_, { sx: { px: 24 }, children: [
|
|
624
624
|
y && /* @__PURE__ */ c(E, { children: [
|
|
@@ -630,15 +630,15 @@ const ye = C(() => {
|
|
|
630
630
|
/* @__PURE__ */ c(B, { children: [
|
|
631
631
|
n.includes(b.Accounts) && /* @__PURE__ */ e(O, { children: /* @__PURE__ */ c(V, { onClick: () => d(b.Accounts), children: [
|
|
632
632
|
/* @__PURE__ */ e(N, { primary: i.accounts_title, secondary: i.accounts_subtitle }),
|
|
633
|
-
/* @__PURE__ */ e(
|
|
633
|
+
/* @__PURE__ */ e(k, {})
|
|
634
634
|
] }) }),
|
|
635
635
|
n.includes(b.Budgets) && /* @__PURE__ */ e(O, { children: /* @__PURE__ */ c(V, { onClick: () => d(b.Budgets), children: [
|
|
636
636
|
/* @__PURE__ */ e(N, { primary: i.budgets_title, secondary: i.budgets_subtitle }),
|
|
637
|
-
/* @__PURE__ */ e(
|
|
637
|
+
/* @__PURE__ */ e(k, {})
|
|
638
638
|
] }) }),
|
|
639
639
|
n.includes(b.Insights) && /* @__PURE__ */ e(O, { children: /* @__PURE__ */ c(V, { onClick: () => d(b.Insights), children: [
|
|
640
640
|
/* @__PURE__ */ e(N, { primary: i.insights_title, secondary: i.insights_subtitle }),
|
|
641
|
-
/* @__PURE__ */ e(
|
|
641
|
+
/* @__PURE__ */ e(k, {})
|
|
642
642
|
] }) })
|
|
643
643
|
] }),
|
|
644
644
|
A && /* @__PURE__ */ e(_, { sx: { px: 24 }, children: /* @__PURE__ */ e(De, {}) }),
|
|
@@ -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, j as b } from "./hooks-
|
|
5
|
+
import { L as y } from "./ListItemAction-DNZZ5fSa.mjs";
|
|
6
|
+
import { u as h, j as b } from "./hooks-DkUqN6JE.mjs";
|
|
7
7
|
import { a as T, f as S } from "./NumberFormatting-CtWHhyBX.mjs";
|
|
8
|
-
import { C as f } from "./CurrencyInput-
|
|
8
|
+
import { C as f } from "./CurrencyInput-bEx2Mbd0.mjs";
|
|
9
9
|
const F = p(({ goal: e }) => {
|
|
10
10
|
const { goals: a } = h(), { setAlert: r, setSelectedGoal: l, updateGoal: m } = b(), [t, s] = _.useState(e.interest_rate ?? 0), c = !e.guid, i = t < 0, d = async () => {
|
|
11
11
|
const n = { ...e, interest_rate: t };
|
|
@@ -7,10 +7,10 @@ import R from "@mui/material/Tabs";
|
|
|
7
7
|
import l from "@mui/material/Divider";
|
|
8
8
|
import T from "@mui/material/List";
|
|
9
9
|
import C from "@mui/material/Stack";
|
|
10
|
-
import { R as x, A as S, a as E, M as A } from "./ManageIncome-
|
|
11
|
-
import { u as h, h as y, e as _ } from "./hooks-
|
|
10
|
+
import { R as x, A as S, a as E, M as A } from "./ManageIncome-Bd14SWPF.mjs";
|
|
11
|
+
import { u as h, h as y, e as _ } from "./hooks-DkUqN6JE.mjs";
|
|
12
12
|
import { R as v, F as N } from "./RepeatingTransaction-BW4J-jeJ.mjs";
|
|
13
|
-
import { A as d } from "./WidgetContainer-
|
|
13
|
+
import { A as d } from "./WidgetContainer-C2NBfpDg.mjs";
|
|
14
14
|
const I = u(() => {
|
|
15
15
|
const { recurring: r } = h(), { repeatingTransactions: s } = y(), { onEvent: o } = _(), a = (n) => {
|
|
16
16
|
o(d.RECURRING_TRANSACTIONS_CLICK_EXPENSE, {
|
|
@@ -22,7 +22,7 @@ import { isWithinInterval as Q } from "date-fns/isWithinInterval";
|
|
|
22
22
|
import nn from "@mui/material/styles/useTheme";
|
|
23
23
|
import k from "@mui/material/ListItem";
|
|
24
24
|
import an from "@mui/material/ListItemButton";
|
|
25
|
-
import { e as tn } from "./hooks-
|
|
25
|
+
import { e as tn } from "./hooks-DkUqN6JE.mjs";
|
|
26
26
|
const on = ({ copy: n, date: t, onNextClick: e, onPreviousClick: r }) => {
|
|
27
27
|
const c = v(), l = en(c);
|
|
28
28
|
return /* @__PURE__ */ h("div", { className: `mx-cmn-calendar-header ${l}`, children: [
|
|
@@ -9,15 +9,15 @@ import { MerchantLogo as pe, Icon as f, Text as S, useTokens as J, CategoryIcon
|
|
|
9
9
|
import z from "@mui/material/ListItemAvatar";
|
|
10
10
|
import $ from "@mui/material/ListItemText";
|
|
11
11
|
import C from "@mui/material/Stack";
|
|
12
|
-
import { T as Le, L as Re, O as g, C as ke, b as Pe } from "./Transaction-
|
|
13
|
-
import { G as Ge, f as v, u as I, e as w,
|
|
12
|
+
import { T as Le, L as Re, O as g, C as ke, b as Pe } from "./Transaction-Dns0Kuuy.mjs";
|
|
13
|
+
import { G as Ge, f as v, u as I, e as w, k as be, a as Me } from "./hooks-DkUqN6JE.mjs";
|
|
14
14
|
import { f as Q } from "./NumberFormatting-CtWHhyBX.mjs";
|
|
15
15
|
import { Receipt as Ke, Delete as re, ChevronRight as $e, Cancel as oe, Search as Fe, Edit as ze, Flag as Be } from "@mxenabled/mx-icons";
|
|
16
16
|
import { fromUnixTime as Y } from "date-fns/fromUnixTime";
|
|
17
17
|
import { isSameDay as Ae } from "date-fns/isSameDay";
|
|
18
18
|
import { h as He } from "./DateUtil-BcuH7ErC.mjs";
|
|
19
19
|
import { L as Ne } from "./Loader-Dp1P2gNw.mjs";
|
|
20
|
-
import { A as P } from "./WidgetContainer-
|
|
20
|
+
import { A as P } from "./WidgetContainer-C2NBfpDg.mjs";
|
|
21
21
|
import ee from "@mui/material/Paper";
|
|
22
22
|
import le from "@mui/material/Button";
|
|
23
23
|
import Ue from "@mui/material/FormGroup";
|
|
@@ -29,7 +29,7 @@ import V from "@mui/material/Avatar";
|
|
|
29
29
|
import B from "@mui/material/ListItem";
|
|
30
30
|
import H from "@mui/material/ListItemButton";
|
|
31
31
|
import U from "@mui/material/ListItemIcon";
|
|
32
|
-
import { a as De } from "./CategorySelectorDrawer-
|
|
32
|
+
import { a as De } from "./CategorySelectorDrawer-BPvjZ-Xo.mjs";
|
|
33
33
|
import { a as X, f as Ve, D as We } from "./Dialog-CWW597AF.mjs";
|
|
34
34
|
import { b as ie } from "./Localization-2MODESHW.mjs";
|
|
35
35
|
import { getUnixTime as Ye } from "date-fns/getUnixTime";
|
|
@@ -37,7 +37,7 @@ import { D as ce } from "./Drawer-kEE73B87.mjs";
|
|
|
37
37
|
import he from "@mui/material/InputAdornment";
|
|
38
38
|
import je from "@mui/material/Checkbox";
|
|
39
39
|
import me from "@mui/material/Grid";
|
|
40
|
-
import { C as qe } from "./CurrencyInput-
|
|
40
|
+
import { C as qe } from "./CurrencyInput-bEx2Mbd0.mjs";
|
|
41
41
|
import Ze 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 || {}), te = /* @__PURE__ */ ((t) => (t[t.SplitTransaction = 0] = "SplitTransaction", t[t.HideTransaction = 1] = "HideTransaction", t[t.MerchantLogo = 2] = "MerchantLogo", t))(te || {});
|
|
43
43
|
const Je = [
|
|
@@ -13,10 +13,10 @@ import { isBefore as B } 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 Y } from "date-fns/subDays";
|
|
16
|
-
import { O as n, a as G, T as F } from "./Transaction-
|
|
16
|
+
import { O as n, a as G, T as F } from "./Transaction-Dns0Kuuy.mjs";
|
|
17
17
|
import { T as p } from "./TransactionApi-DbbcjI2L.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-B4JW8rfR.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";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import M, { useState as J, useEffect as K, useRef as ve } from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { l as Se, u as _e, k as Q } from "./hooks-DkUqN6JE.mjs";
|
|
3
3
|
import { jsxs as f, jsx as s } from "react/jsx-runtime";
|
|
4
4
|
import A from "@mui/material/Box";
|
|
5
5
|
import T from "@mui/material/Stack";
|
|
@@ -12,7 +12,7 @@ import Y from "@mui/material/Stack";
|
|
|
12
12
|
import { Icon as s, Text as z, DateRangePicker as q, H1 as se, H3 as le } from "@mxenabled/mxui";
|
|
13
13
|
import { u as Ce } from "./useDimensions-27p2evRx.mjs";
|
|
14
14
|
import { L as de } from "./Loader-Dp1P2gNw.mjs";
|
|
15
|
-
import { e as Te, a as Ie, u as Ee, W as Re } from "./hooks-
|
|
15
|
+
import { e as Te, a as Ie, u as Ee, W as Re } from "./hooks-DkUqN6JE.mjs";
|
|
16
16
|
import { u as ae } from "./useScreenSize-B6JyS_Lj.mjs";
|
|
17
17
|
import { addMonths as J } from "date-fns/addMonths";
|
|
18
18
|
import { addDays as ge } from "date-fns/addDays";
|
|
@@ -35,7 +35,7 @@ import Oe from "@mui/material/ToggleButtonGroup";
|
|
|
35
35
|
import fe from "@mui/material/styles/useTheme";
|
|
36
36
|
import { f as K, D as G, a as be } from "./Dialog-CWW597AF.mjs";
|
|
37
37
|
import { D as we } from "./Drawer-kEE73B87.mjs";
|
|
38
|
-
import { i as Ke, j as Ge } from "./ConnectDrawer-
|
|
38
|
+
import { i as Ke, j as Ge } from "./ConnectDrawer-phFH6OHt.mjs";
|
|
39
39
|
const Me = {
|
|
40
40
|
ACCOUNTS_CLICK_ACCOUNT: "accounts_widget_click_account",
|
|
41
41
|
ACCOUNTS_CLICK_CONNECT: "accounts_widget_click_connect_accounts",
|
|
@@ -7,24 +7,24 @@ import E from "@mui/material/List";
|
|
|
7
7
|
import T from "@mui/material/ListSubheader";
|
|
8
8
|
import x from "@mui/system/Stack";
|
|
9
9
|
import { Text as v } from "@mxenabled/mxui";
|
|
10
|
-
import { A as G } from "../AccountDetailsContent-
|
|
11
|
-
import { u as O1 } from "../AccountDetailsContent-
|
|
12
|
-
import { u as K, A as z } from "../AccountDetailsHeader-
|
|
13
|
-
import { A as W } from "../AccountListItem-
|
|
14
|
-
import { u as g, a as y, c as O, e as N,
|
|
10
|
+
import { A as G } from "../AccountDetailsContent-Dkpo7pw6.mjs";
|
|
11
|
+
import { u as O1 } from "../AccountDetailsContent-Dkpo7pw6.mjs";
|
|
12
|
+
import { u as K, A as z } from "../AccountDetailsHeader-2HU_fMWZ.mjs";
|
|
13
|
+
import { A as W } from "../AccountListItem-B-ZjJ4Gp.mjs";
|
|
14
|
+
import { u as g, a as y, c as O, e as N, m as P } from "../hooks-DkUqN6JE.mjs";
|
|
15
15
|
import { f as I } from "../NumberFormatting-CtWHhyBX.mjs";
|
|
16
16
|
import { D as Y } from "../Drawer-kEE73B87.mjs";
|
|
17
|
-
import { A, W as q } from "../WidgetContainer-
|
|
18
|
-
import { C as J } from "../ConnectionsDrawer-
|
|
17
|
+
import { A, W as q } from "../WidgetContainer-C2NBfpDg.mjs";
|
|
18
|
+
import { C as J } from "../ConnectionsDrawer-ihxkAi1P.mjs";
|
|
19
19
|
import { u as Q } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
20
20
|
import { L as R } from "../Loader-Dp1P2gNw.mjs";
|
|
21
|
-
import { j as D } from "../ConnectDrawer-
|
|
22
|
-
import { F as I1, M as N1 } from "../ConnectDrawer-
|
|
21
|
+
import { j as D } from "../ConnectDrawer-phFH6OHt.mjs";
|
|
22
|
+
import { F as I1, M as N1 } from "../ConnectDrawer-phFH6OHt.mjs";
|
|
23
23
|
import X from "@mui/material/ListItem";
|
|
24
|
-
import { M as U } from "../MiniWidgetContainer-
|
|
24
|
+
import { M as U } from "../MiniWidgetContainer-CTyjmE1h.mjs";
|
|
25
25
|
import e1 from "@mui/material/Stack";
|
|
26
|
-
import { g as U1, a as j1 } from "../AccountFields-
|
|
27
|
-
import { A as G1, a as K1 } from "../AccountStore-
|
|
26
|
+
import { g as U1, a as j1 } from "../AccountFields-CIz-r3gP.mjs";
|
|
27
|
+
import { A as G1, a as K1 } from "../AccountStore-BQKxAYSg.mjs";
|
|
28
28
|
const t1 = () => {
|
|
29
29
|
const [c, L] = d.useState(""), { accounts: o } = g(), { selectedAccounts: l } = y(), { setSelectedAccount: u, setSelectedMember: r } = K(), { members: s } = O(), { onEvent: p } = N(), a = [...new Set(l.map((t) => t.account_type))], H = l.find((t) => c === t.guid), h = d.useMemo(
|
|
30
30
|
() => 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-Dp1P2gNw.mjs";
|
|
11
|
-
import { M as j } from "../MiniWidgetContainer-
|
|
12
|
-
import { i as f, u as b, e as q, a as E } from "../hooks-
|
|
11
|
+
import { M as j } from "../MiniWidgetContainer-CTyjmE1h.mjs";
|
|
12
|
+
import { i as f, u as b, e as q, a as E } from "../hooks-DkUqN6JE.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
|
@@ -7,15 +7,15 @@ import W from "@mui/material/Box";
|
|
|
7
7
|
import b from "@mui/material/Stack";
|
|
8
8
|
import Q from "@mui/material/styles/useTheme";
|
|
9
9
|
import { Icon as $, Text as p, CategoryIcon as H, H1 as Ge, H3 as Be } from "@mxenabled/mxui";
|
|
10
|
-
import { u as Pe } from "../BudgetUtil-
|
|
11
|
-
import { C as Ne } from "../ConnectionsDrawer-
|
|
10
|
+
import { u as Pe } from "../BudgetUtil-CeSLAcsl.mjs";
|
|
11
|
+
import { C as Ne } from "../ConnectionsDrawer-ihxkAi1P.mjs";
|
|
12
12
|
import * as E from "d3";
|
|
13
13
|
import je from "@mui/material/Tooltip";
|
|
14
|
-
import { g as w,
|
|
14
|
+
import { g as w, k as j, u as D, e as X, a as ee, p as ze, h as te, f as ne, m as Ue, c as Se } from "../hooks-DkUqN6JE.mjs";
|
|
15
15
|
import { L as P } from "../Loader-Dp1P2gNw.mjs";
|
|
16
16
|
import { E as ce } from "../EmptyState-Dcb-o2tl.mjs";
|
|
17
17
|
import { u as me } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
18
|
-
import { A as k, W as Fe } from "../WidgetContainer-
|
|
18
|
+
import { A as k, W as Fe } from "../WidgetContainer-C2NBfpDg.mjs";
|
|
19
19
|
import K from "@mui/material/List";
|
|
20
20
|
import { f as T } from "../NumberFormatting-CtWHhyBX.mjs";
|
|
21
21
|
import Ae from "@mui/material/Button";
|
|
@@ -27,26 +27,26 @@ import Z from "@mui/material/ListItemText";
|
|
|
27
27
|
import { b as L } from "../Localization-2MODESHW.mjs";
|
|
28
28
|
import { D as M } from "../Drawer-kEE73B87.mjs";
|
|
29
29
|
import We from "@mui/material/ListItemSecondaryAction";
|
|
30
|
-
import { C as He } from "../CurrencyInput-
|
|
30
|
+
import { C as He } from "../CurrencyInput-bEx2Mbd0.mjs";
|
|
31
31
|
import { a as N } from "../Dialog-CWW597AF.mjs";
|
|
32
|
-
import { M as Xe } from "../MiniWidgetContainer-
|
|
32
|
+
import { M as Xe } from "../MiniWidgetContainer-CTyjmE1h.mjs";
|
|
33
33
|
import { isAfter as Ke } from "date-fns/isAfter";
|
|
34
34
|
import { startOfToday as q } from "date-fns/startOfToday";
|
|
35
35
|
import Ve from "@mui/material/Alert";
|
|
36
36
|
import Ye from "@mui/material/Snackbar";
|
|
37
37
|
import be from "@mui/material/Tab";
|
|
38
38
|
import Ze from "@mui/material/Tabs";
|
|
39
|
-
import { e as qe } from "../exportTransactionsToCSV-
|
|
40
|
-
import { T as xe, a as Je } from "../TransactionDetails-
|
|
39
|
+
import { e as qe } from "../exportTransactionsToCSV-B4JW8rfR.mjs";
|
|
40
|
+
import { T as xe, a as Je } from "../TransactionDetails-BSl6CpL8.mjs";
|
|
41
41
|
import ge from "@mui/material/Card";
|
|
42
42
|
import pe from "@mui/material/CardContent";
|
|
43
43
|
import { S as ue } from "../StatusBar-BK_uYHAB.mjs";
|
|
44
44
|
import { S as ve } from "../SingleSegmentDonut-BgbLgwHi.mjs";
|
|
45
|
-
import { u as Qe, b as et } from "../CategorySelectorDrawer-
|
|
45
|
+
import { u as Qe, b as et } from "../CategorySelectorDrawer-BPvjZ-Xo.mjs";
|
|
46
46
|
import Te from "@mui/material/CardHeader";
|
|
47
47
|
import { subDays as tt } from "date-fns/subDays";
|
|
48
48
|
import nt from "@mui/material/IconButton";
|
|
49
|
-
import { M as ot } from "../ManageIncome-
|
|
49
|
+
import { M as ot } from "../ManageIncome-Bd14SWPF.mjs";
|
|
50
50
|
const ye = 5, at = 100, rt = 25, st = (t) => {
|
|
51
51
|
const o = (a) => {
|
|
52
52
|
a.active || t.alphaTarget(0.3).restart(), a.subject.fx = a.subject.x, a.subject.fy = a.subject.y;
|
|
@@ -9,21 +9,21 @@ import D from "@mui/material/Divider";
|
|
|
9
9
|
import r from "@mui/material/Stack";
|
|
10
10
|
import ae from "@mui/material/styles/useTheme";
|
|
11
11
|
import { Text as h, P as k, Icon as F, InstitutionLogo as xe, H1 as le, H2 as Xe } from "@mxenabled/mxui";
|
|
12
|
-
import { G as Ye, t as de, u as O, p as re, c as Oe, a as Y, o as me, h as q, e as Ne, f as ke } from "../hooks-
|
|
12
|
+
import { G as Ye, t as de, u as O, p as re, c as Oe, a as Y, o as me, h as q, e as Ne, f as ke } from "../hooks-DkUqN6JE.mjs";
|
|
13
13
|
import { C as L } from "../CurrencyText-YUhH2caW.mjs";
|
|
14
14
|
import { u as ue } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
15
15
|
import { L as se } from "../Loader-Dp1P2gNw.mjs";
|
|
16
16
|
import { I as he } from "../CashflowStore-D9Dpuz7X.mjs";
|
|
17
17
|
import { C as Wn } from "../CashflowStore-D9Dpuz7X.mjs";
|
|
18
18
|
import { b as X } from "../Localization-2MODESHW.mjs";
|
|
19
|
-
import { M as Qe } from "../MiniWidgetContainer-
|
|
20
|
-
import { R as Ve } from "../RecurringSettings-
|
|
19
|
+
import { M as Qe } from "../MiniWidgetContainer-CTyjmE1h.mjs";
|
|
20
|
+
import { R as Ve } from "../RecurringSettings-4Y2RJy_M.mjs";
|
|
21
21
|
import Ke from "@mui/material/Tabs";
|
|
22
22
|
import Ce 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 te from "@mui/material/ListItem";
|
|
26
|
-
import { A as Je } from "../AccountListItem-
|
|
26
|
+
import { A as Je } from "../AccountListItem-B-ZjJ4Gp.mjs";
|
|
27
27
|
import { f as Q, D as V } from "../Dialog-CWW597AF.mjs";
|
|
28
28
|
import Ze from "@mui/material/ListSubheader";
|
|
29
29
|
import { f as Z } from "../NumberFormatting-CtWHhyBX.mjs";
|
|
@@ -34,17 +34,17 @@ import { addDays as _e } from "date-fns/addDays";
|
|
|
34
34
|
import { alpha as et, keyframes as tt } from "@mui/material/styles";
|
|
35
35
|
import { DataGridPro as nt } from "@mui/x-data-grid-pro";
|
|
36
36
|
import { T as we } from "../TabContentContainer-j01JYR_7.mjs";
|
|
37
|
-
import { M as ot, S as it, i as at, d as Se, c as rt } from "../ManageIncome-
|
|
37
|
+
import { M as ot, S as it, i as at, d as Se, c as rt } from "../ManageIncome-Bd14SWPF.mjs";
|
|
38
38
|
import { D as $e } from "../Drawer-kEE73B87.mjs";
|
|
39
39
|
import { formatISO as st } from "date-fns/formatISO";
|
|
40
40
|
import { fromUnixTime as ye } from "date-fns/fromUnixTime";
|
|
41
41
|
import { startOfMonth as ct } from "date-fns/startOfMonth";
|
|
42
42
|
import { subDays as Me } from "date-fns/subDays";
|
|
43
|
-
import { S as lt, b as dt } from "../TransactionDetails-
|
|
43
|
+
import { S as lt, b as dt } from "../TransactionDetails-BSl6CpL8.mjs";
|
|
44
44
|
import { F as mt, R as Ie, e as De } from "../RepeatingTransaction-BW4J-jeJ.mjs";
|
|
45
45
|
import { h as ut } from "../DateUtil-BcuH7ErC.mjs";
|
|
46
46
|
import { endOfToday as ht } from "date-fns/endOfToday";
|
|
47
|
-
import { W as ve, A as Ae } from "../WidgetContainer-
|
|
47
|
+
import { W as ve, A as Ae } from "../WidgetContainer-C2NBfpDg.mjs";
|
|
48
48
|
import { F as pt, A as B } from "../Fetch-CkFKy79O.mjs";
|
|
49
49
|
const K = () => {
|
|
50
50
|
if (!m.useContext(Ye))
|
package/dist/common/index.es.js
CHANGED
|
@@ -6,66 +6,66 @@ import { C as et } from "../CategoryStore-BOyzQjQp.mjs";
|
|
|
6
6
|
import { a as is } from "../CategoryStore-BOyzQjQp.mjs";
|
|
7
7
|
import { N as st } from "../NotificationStore-DHtSGySy.mjs";
|
|
8
8
|
import { a as ds } from "../NotificationStore-DHtSGySy.mjs";
|
|
9
|
-
import { T as at } from "../Transaction-
|
|
10
|
-
import { C as us, b as hs, L as gs, a as ps } from "../Transaction-
|
|
9
|
+
import { T as at } from "../Transaction-Dns0Kuuy.mjs";
|
|
10
|
+
import { C as us, b as hs, L as gs, a as ps } from "../Transaction-Dns0Kuuy.mjs";
|
|
11
11
|
import { H as rt } from "../Help-DhcC-C05.mjs";
|
|
12
12
|
import { E as _s } from "../Help-DhcC-C05.mjs";
|
|
13
|
-
import { M as fs } from "../MicroWidgetContainer-
|
|
14
|
-
import { M as bs } from "../MiniWidgetContainer-
|
|
15
|
-
import { A as xs, D as Cs, W as Ds } from "../WidgetContainer-
|
|
16
|
-
import { i as As, a as Es, e as Ts, l as Bs, A as Is, f as Ns, j as Fs, d as Ms, k as $s, E as Rs, h as Us, N as ks, g as Ls, P as Os, m as Gs, S as Hs } from "../ConnectDrawer-
|
|
17
|
-
import { C as qs } from "../CurrencyInput-
|
|
13
|
+
import { M as fs } from "../MicroWidgetContainer-Dxz8uBN9.mjs";
|
|
14
|
+
import { M as bs } from "../MiniWidgetContainer-CTyjmE1h.mjs";
|
|
15
|
+
import { A as xs, D as Cs, W as Ds } from "../WidgetContainer-C2NBfpDg.mjs";
|
|
16
|
+
import { i as As, a as Es, e as Ts, l as Bs, A as Is, f as Ns, j as Fs, d as Ms, k as $s, E as Rs, h as Us, N as ks, g as Ls, P as Os, m as Gs, S as Hs } from "../ConnectDrawer-phFH6OHt.mjs";
|
|
17
|
+
import { C as qs } from "../CurrencyInput-bEx2Mbd0.mjs";
|
|
18
18
|
import { L as Qs } from "../Loader-Dp1P2gNw.mjs";
|
|
19
19
|
import { R as zs } from "../ResponsiveButton-DZFp78fJ.mjs";
|
|
20
20
|
import { S as Ks } from "../SearchBox-B2_zLv8-.mjs";
|
|
21
|
-
import { T as ot } from "../TransactionStore-
|
|
22
|
-
import { S as Vs } from "../TransactionStore-
|
|
21
|
+
import { T as ot } from "../TransactionStore-BVKUoEHj.mjs";
|
|
22
|
+
import { S as Vs } from "../TransactionStore-BVKUoEHj.mjs";
|
|
23
23
|
import { T as Js } from "../TabContentContainer-j01JYR_7.mjs";
|
|
24
24
|
import { I as ea } from "../IconBacking-B9oC6uL2.mjs";
|
|
25
25
|
import { D as aa, F as ra, a as oa, c as na, R as ia, S as ca } from "../RepeatingTransaction-BW4J-jeJ.mjs";
|
|
26
26
|
import { C as nt } from "../CashflowStore-D9Dpuz7X.mjs";
|
|
27
27
|
import { I as la } from "../CashflowStore-D9Dpuz7X.mjs";
|
|
28
|
-
import {
|
|
29
|
-
import { C as ha, G as ga, M as pa, T as ma } from "../GoalStore-
|
|
28
|
+
import { d as it } from "../GoalStore-BWHkOQ8o.mjs";
|
|
29
|
+
import { C as ha, G as ga, M as pa, T as ma } from "../GoalStore-BWHkOQ8o.mjs";
|
|
30
30
|
import { C as ya } from "../CurrencyText-YUhH2caW.mjs";
|
|
31
31
|
import { E as Sa } from "../EmptyState-Dcb-o2tl.mjs";
|
|
32
|
-
import { L as wa } from "../ListItemAction-
|
|
33
|
-
import { T as ct } from "../TrendsStore-
|
|
34
|
-
import { L as Ca, S as Da, u as va } from "../TrendsStore-
|
|
32
|
+
import { L as wa } from "../ListItemAction-DNZZ5fSa.mjs";
|
|
33
|
+
import { T as ct } from "../TrendsStore-D6Un6Y4A.mjs";
|
|
34
|
+
import { L as Ca, S as Da, u as va } from "../TrendsStore-D6Un6Y4A.mjs";
|
|
35
35
|
import { A as Ea, B as Ta, I as Ba, N as Ia, T as Na, a as Fa } from "../Notification-ByMBpJ5u.mjs";
|
|
36
36
|
import { jsxs as _, jsx as c } from "react/jsx-runtime";
|
|
37
37
|
import dt, { useRef as lt, useEffect as ut } from "react";
|
|
38
38
|
import { css as w, keyframes as ht } from "@mxenabled/cssinjs";
|
|
39
39
|
import { useTokens as x, Text as B } from "@mxenabled/mxui";
|
|
40
40
|
import { D as $a } from "../Donut-1UMNcG67.mjs";
|
|
41
|
-
import { L as Ua } from "../LineChart-
|
|
41
|
+
import { L as Ua } from "../LineChart-jpdaQX7x.mjs";
|
|
42
42
|
import { S as La } from "../StatusBar-BK_uYHAB.mjs";
|
|
43
43
|
import { D as Ga, a as Ha, O as Pa, b as qa, f as Wa } from "../Dialog-CWW597AF.mjs";
|
|
44
44
|
import { D as gt, a as pt } from "../SingleSegmentDonut-BgbLgwHi.mjs";
|
|
45
45
|
import { S as Ya } from "../SingleSegmentDonut-BgbLgwHi.mjs";
|
|
46
46
|
import { D as Xa } from "../Drawer-kEE73B87.mjs";
|
|
47
|
-
import { I as ja, P as Va, S as Za } from "../Account-
|
|
47
|
+
import { I as ja, P as Va, S as Za } from "../Account-BW3-oYEs.mjs";
|
|
48
48
|
import { b as E } from "../Category-CevNQ03n.mjs";
|
|
49
49
|
import { C as tr, c as er, a as sr, P as ar } from "../Category-CevNQ03n.mjs";
|
|
50
50
|
import { C as or, f as nr, b as ir, a as cr, g as dr, i as lr } from "../NumberFormatting-CtWHhyBX.mjs";
|
|
51
51
|
import { R as mt } from "../RecurringTransactionsStore-D62XJtdL.mjs";
|
|
52
52
|
import { S as hr, T as gr } from "../RecurringTransactionsStore-D62XJtdL.mjs";
|
|
53
|
-
import { G as mr, A as _r, B as yr, W as fr, c as Sr,
|
|
53
|
+
import { G as mr, A as _r, B as yr, W as fr, c as Sr, m as br, g as wr, t as xr, k as Cr, x as Dr, e as vr, w as Ar, u as Er, l as Tr, a as Br, j as Ir, y as Nr, s as Fr, b as Mr, q as $r, n as Rr, z as Ur, h as kr, r as Lr, f as Or, v as Gr, o as Hr, p as Pr } from "../hooks-DkUqN6JE.mjs";
|
|
54
54
|
import { u as Wr } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
55
55
|
import { makeAutoObservable as m, runInAction as p, reaction as _t } from "mobx";
|
|
56
|
-
import { a as yt } from "../AccountStore-
|
|
56
|
+
import { a as yt } from "../AccountStore-BQKxAYSg.mjs";
|
|
57
57
|
import ft from "posthog-js";
|
|
58
58
|
import { B as St } from "../BeatStore-By4aGoRM.mjs";
|
|
59
59
|
import { endOfMonth as Z } from "date-fns/endOfMonth";
|
|
60
60
|
import { startOfMonth as J } from "date-fns/startOfMonth";
|
|
61
61
|
import { startOfToday as L } from "date-fns/startOfToday";
|
|
62
|
-
import { f as bt, a as wt, b as O } from "../BudgetUtil-
|
|
63
|
-
import { g as Yr, e as zr, c as Xr, d as Kr, i as jr } from "../BudgetUtil-
|
|
64
|
-
import { a as xt } from "../DebtsStore-
|
|
62
|
+
import { f as bt, a as wt, b as O } from "../BudgetUtil-CeSLAcsl.mjs";
|
|
63
|
+
import { g as Yr, e as zr, c as Xr, d as Kr, i as jr } from "../BudgetUtil-CeSLAcsl.mjs";
|
|
64
|
+
import { a as xt } from "../DebtsStore-Dp-CraCD.mjs";
|
|
65
65
|
import { a as Ct } from "../FinstrongStore-mkALvztw.mjs";
|
|
66
66
|
import { A as Dt, m as vt, a as At, b as Et } from "../InvestmentUtil-jOyOgzIB.mjs";
|
|
67
67
|
import { M as Tt } from "../MerchantStore-DVH-QOf0.mjs";
|
|
68
|
-
import { N as Bt } from "../NetWorthStore-
|
|
68
|
+
import { N as Bt } from "../NetWorthStore-B6xF9eGH.mjs";
|
|
69
69
|
import { a as It } from "../SettingsStore-B4gi6oOw.mjs";
|
|
70
70
|
import { addMonths as Nt } from "date-fns/addMonths";
|
|
71
71
|
import { getMonth as T } from "date-fns/getMonth";
|
|
@@ -4,20 +4,20 @@ import { observer as f } from "mobx-react-lite";
|
|
|
4
4
|
import p from "@mui/material/Unstable_Grid2";
|
|
5
5
|
import u from "@mui/material/Skeleton";
|
|
6
6
|
import s from "@mui/material/Stack";
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
import { Icon as S, H1 as
|
|
7
|
+
import B from "@mui/material/styles/useTheme";
|
|
8
|
+
import { l as A, u as v, c as C, a as M, m as D } from "../hooks-DkUqN6JE.mjs";
|
|
9
|
+
import G from "@mui/material/Paper";
|
|
10
|
+
import { Icon as S, H1 as k, P as F } from "@mxenabled/mxui";
|
|
11
11
|
import { useMediaQuery as W } from "@mui/system";
|
|
12
12
|
import I from "@mui/material/Box";
|
|
13
13
|
import T from "@mui/material/Button";
|
|
14
14
|
import $ from "@mui/material/IconButton";
|
|
15
15
|
import j from "@mui/material/Tooltip";
|
|
16
16
|
import H from "@mui/material/useMediaQuery";
|
|
17
|
-
import { i as R, j as Q } from "../ConnectDrawer-
|
|
17
|
+
import { i as R, j as Q } from "../ConnectDrawer-phFH6OHt.mjs";
|
|
18
18
|
import { u as z } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
19
19
|
const E = f(() => {
|
|
20
|
-
const e =
|
|
20
|
+
const e = B(), {
|
|
21
21
|
appDataStore: { banner: c, loadBanner: i, user: d }
|
|
22
22
|
} = A();
|
|
23
23
|
return r.useEffect(() => {
|
|
@@ -86,7 +86,7 @@ const E = f(() => {
|
|
|
86
86
|
}
|
|
87
87
|
) });
|
|
88
88
|
}, N = f(P), O = () => {
|
|
89
|
-
const [e, c] = r.useState(!1), i = W("(max-width:320px)"), { visibleAccounts: d } = C(), { selectedAccountGuids: _, setSelectedAccountGuids: g } = M(), { common: o, connect: l } = v(), { config: x } =
|
|
89
|
+
const [e, c] = r.useState(!1), i = W("(max-width:320px)"), { visibleAccounts: d } = C(), { selectedAccountGuids: _, setSelectedAccountGuids: g } = M(), { common: o, connect: l } = v(), { config: x } = D(), { isMobile: b } = z(), n = {
|
|
90
90
|
accountFilterOptionsCopy: {
|
|
91
91
|
accountTypeAccounts: o.account_filter.account_type_accounts,
|
|
92
92
|
cancelButton: o.cancel_button,
|
|
@@ -105,9 +105,9 @@ const E = f(() => {
|
|
|
105
105
|
return m > 1 && m < 12 ? o.good_morning : m >= 12 && m < 18 ? o.good_afternoon : o.good_evening;
|
|
106
106
|
};
|
|
107
107
|
return /* @__PURE__ */ a(r.Fragment, { children: [
|
|
108
|
-
/* @__PURE__ */ t(
|
|
108
|
+
/* @__PURE__ */ t(G, { sx: { gap: 12, mb: b ? 24 : 0, p: 24 }, children: /* @__PURE__ */ a(s, { alignItems: "center", flexDirection: "row", justifyContent: "space-between", children: [
|
|
109
109
|
/* @__PURE__ */ a(s, { children: [
|
|
110
|
-
/* @__PURE__ */ t(
|
|
110
|
+
/* @__PURE__ */ t(k, { variant: i ? "H2" : "H1", children: y() }),
|
|
111
111
|
/* @__PURE__ */ t(F, { color: "text.secondary", children: o.heres_your_spending_overview })
|
|
112
112
|
] }),
|
|
113
113
|
/* @__PURE__ */ a(s, { flexDirection: "row", children: [
|