@mx-cartographer/experiences 7.0.23-alpha.al10 → 7.0.23-alpha.al11
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-CVVDlNDC.mjs → Account-BW3-oYEs.mjs} +1 -1
- package/dist/{AccountDetailsContent-bQKVSCZF.mjs → AccountDetailsContent-UxSEMBo_.mjs} +8 -8
- package/dist/{AccountDetailsHeader-BGQAu0Xm.mjs → AccountDetailsHeader-Eb3WvBGm.mjs} +8 -8
- package/dist/{AccountFields-CC7kzfPK.mjs → AccountFields-CIz-r3gP.mjs} +2 -2
- package/dist/{AccountListItem-wgvQjLxW.mjs → AccountListItem-B-ZjJ4Gp.mjs} +3 -3
- package/dist/{AccountStore-DpglOysH.mjs → AccountStore-DCDmxODy.mjs} +5 -5
- package/dist/{Accounts-ByViymVi.mjs → Accounts-CA-nqAjT.mjs} +1 -1
- package/dist/{BudgetUtil-gzgNEDE7.mjs → BudgetUtil-CeSLAcsl.mjs} +1 -1
- package/dist/{CategorySelectorDrawer-LpZcwQPa.mjs → CategorySelectorDrawer-BJ9jlCyt.mjs} +4 -4
- package/dist/{ConnectDrawer-C2minBK_.mjs → ConnectDrawer-phFH6OHt.mjs} +1 -1
- package/dist/{ConnectionsDrawer-Cd4dZuWL.mjs → ConnectionsDrawer-ihxkAi1P.mjs} +2 -2
- package/dist/{CurrencyInput-Dz4r9Rfe.mjs → CurrencyInput-bEx2Mbd0.mjs} +1 -1
- package/dist/{DebtsStore-B51DTXVj.mjs → DebtsStore-VkyMADzd.mjs} +1 -1
- package/dist/ExportCsvAction-CbMfQ2Wa.mjs +24 -0
- package/dist/{GoalStore-DqQ2FMx5.mjs → GoalStore-eSOkI6uE.mjs} +2 -2
- package/dist/{Help-DVPbIxMM.mjs → Help-KAAMEubC.mjs} +1 -1
- package/dist/{LineChart-DLk-bww5.mjs → LineChart-BWWmmJxV.mjs} +1 -1
- package/dist/{ListItemAction-DE6S0N5o.mjs → ListItemAction-DNZZ5fSa.mjs} +1 -1
- package/dist/{ManageIncome-BokhnWOn.mjs → ManageIncome-DbsiKUoO.mjs} +4 -4
- package/dist/{MicroWidgetContainer-5YscP1xa.mjs → MicroWidgetContainer-Dxz8uBN9.mjs} +1 -1
- package/dist/{MiniWidgetContainer-BlsgwNew.mjs → MiniWidgetContainer-CTyjmE1h.mjs} +1 -1
- package/dist/{NetWorthStore-C0hQSRzt.mjs → NetWorthStore-B6xF9eGH.mjs} +2 -2
- package/dist/{NotificationSettings-CWx6H-2z.mjs → NotificationSettings-BJFyyZYE.mjs} +2 -2
- package/dist/{OriginalBalanceAction-BKsSQVnI.mjs → OriginalBalanceAction-DepsKiJz.mjs} +3 -3
- package/dist/{RecurringSettings-CICRt51C.mjs → RecurringSettings-Dj29piAQ.mjs} +3 -3
- package/dist/ResponsiveButton-DZFp78fJ.mjs +45 -0
- package/dist/{TransactionDetails-BXl0m15s.mjs → TransactionDetails-C-z3HGTT.mjs} +37 -37
- package/dist/{TransactionStore-BElBVYfk.mjs → TransactionStore-0tLtBEIC.mjs} +209 -248
- package/dist/TrendsStore-WrHxzdbQ.mjs +565 -0
- package/dist/{User-DtwqVm3K.mjs → User-Dq9Qj764.mjs} +1 -1
- package/dist/ViewMoreMicroCard-DFAY0tA8.mjs +1974 -0
- package/dist/{WidgetContainer-DK8aZO5l.mjs → WidgetContainer-CdBs9WOZ.mjs} +2 -2
- package/dist/accounts/index.es.js +12 -12
- package/dist/analytics/index.es.js +8 -8
- package/dist/budgets/index.es.js +10 -10
- package/dist/cashflow/index.es.js +7 -7
- package/dist/categories/index.es.js +1 -1
- package/dist/common/index.es.js +518 -577
- package/dist/dashboard/index.es.js +9 -9
- package/dist/debts/index.es.js +9 -9
- package/dist/{exportTransactionsToCSV-Cf5VRYVr.mjs → exportTransactionsToCSV-BDlt8u0n.mjs} +1 -1
- package/dist/finstrong/index.es.js +6 -6
- package/dist/goals/index.es.js +11 -11
- package/dist/help/index.es.js +3 -3
- package/dist/{hooks-DUeXom8C.mjs → hooks-DkUqN6JE.mjs} +13 -13
- package/dist/investments/index.es.js +3 -3
- package/dist/merchants/index.es.js +1 -1
- package/dist/microinsights/index.es.js +14 -1969
- package/dist/networth/index.es.js +7 -7
- package/dist/notifications/index.es.js +2 -2
- package/dist/recurringtransactions/index.es.js +8 -8
- package/dist/settings/index.es.js +24 -24
- package/dist/spending/index.es.js +21 -21
- package/dist/transactions/index.es.js +259 -270
- package/dist/trends/index.es.js +789 -413
- package/package.json +1 -1
- package/dist/TrendsStore-DRuzsVVE.mjs +0 -505
- package/dist/TrendsWidget-CRi8EO04.mjs +0 -6
|
@@ -3,9 +3,9 @@ import { fromUnixTime as Se } from "date-fns/fromUnixTime";
|
|
|
3
3
|
import { observer as w } from "mobx-react-lite";
|
|
4
4
|
import { useTheme as z } from "@mui/material/styles";
|
|
5
5
|
import { u as Z } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
6
|
-
import { p as _e, u as T, c as J,
|
|
6
|
+
import { p as _e, u as T, c as J, e as Q, a as P, q as ee } from "../hooks-DkUqN6JE.mjs";
|
|
7
7
|
import { f as we, D as be } from "../Dialog-CWW597AF.mjs";
|
|
8
|
-
import { L as We } from "../LineChart-
|
|
8
|
+
import { L as We } from "../LineChart-BWWmmJxV.mjs";
|
|
9
9
|
import W from "@mui/material/Divider";
|
|
10
10
|
import B from "@mui/material/List";
|
|
11
11
|
import E from "@mui/material/ListSubheader";
|
|
@@ -19,15 +19,15 @@ import { i as ne } from "../DateUtil-BcuH7ErC.mjs";
|
|
|
19
19
|
import { C as y } from "../CurrencyText-YUhH2caW.mjs";
|
|
20
20
|
import { Button as Te, Stack as Le } from "@mui/material";
|
|
21
21
|
import { format as Ne, fromUnixTime as De, differenceInMonths as Ee } from "date-fns";
|
|
22
|
-
import { g as K } from "../NetWorthStore-
|
|
23
|
-
import { N as Ot } from "../NetWorthStore-
|
|
22
|
+
import { g as K } from "../NetWorthStore-B6xF9eGH.mjs";
|
|
23
|
+
import { N as Ot } from "../NetWorthStore-B6xF9eGH.mjs";
|
|
24
24
|
import { Icon as oe } from "@mxenabled/mx-icons";
|
|
25
25
|
import { f as U } from "../NumberFormatting-CtWHhyBX.mjs";
|
|
26
|
-
import { A as b, W as ke } from "../WidgetContainer-
|
|
26
|
+
import { A as b, W as ke } from "../WidgetContainer-CdBs9WOZ.mjs";
|
|
27
27
|
import { L as O } from "../Loader-DUaFpDGv.mjs";
|
|
28
|
-
import { M as Ae } from "../MicroWidgetContainer-
|
|
28
|
+
import { M as Ae } from "../MicroWidgetContainer-Dxz8uBN9.mjs";
|
|
29
29
|
import re from "@mui/material/Box";
|
|
30
|
-
import { C as Me } from "../ConnectionsDrawer-
|
|
30
|
+
import { C as Me } from "../ConnectionsDrawer-ihxkAi1P.mjs";
|
|
31
31
|
import He from "@mui/material/Collapse";
|
|
32
32
|
import V from "@mui/material/ListItemIcon";
|
|
33
33
|
import ie from "@mui/material/styles/useTheme";
|
|
@@ -11,13 +11,13 @@ import B from "@mui/material/List";
|
|
|
11
11
|
import { Text as m, InstitutionLogo as T, CategoryIcon as R } from "@mxenabled/mxui";
|
|
12
12
|
import { h as I } from "../DateUtil-BcuH7ErC.mjs";
|
|
13
13
|
import { useTheme as O, Card as G } from "@mui/material";
|
|
14
|
-
import { c as E,
|
|
14
|
+
import { c as E, g as j, u as g, n as N, a as S, m as z } from "../hooks-DkUqN6JE.mjs";
|
|
15
15
|
import { Icon as U, Settings as F } from "@mxenabled/mx-icons";
|
|
16
16
|
import P from "@mui/material/Button";
|
|
17
17
|
import W from "@mui/material/Stack";
|
|
18
18
|
import { L as w } from "../Loader-DUaFpDGv.mjs";
|
|
19
19
|
import $ from "@mui/material/IconButton";
|
|
20
|
-
import { N as H } from "../NotificationSettings-
|
|
20
|
+
import { N as H } from "../NotificationSettings-BJFyyZYE.mjs";
|
|
21
21
|
import { D as b } from "../Drawer-kEE73B87.mjs";
|
|
22
22
|
const yt = (e) => {
|
|
23
23
|
switch (e) {
|
|
@@ -8,8 +8,8 @@ import { startOfToday as le } from "date-fns/startOfToday";
|
|
|
8
8
|
import { subDays as de } from "date-fns/subDays";
|
|
9
9
|
import re from "@mui/material/Skeleton";
|
|
10
10
|
import c from "@mui/material/Stack";
|
|
11
|
-
import { R as He } from "../RecurringSettings-
|
|
12
|
-
import { M as An } from "../RecurringSettings-
|
|
11
|
+
import { R as He } from "../RecurringSettings-Dj29piAQ.mjs";
|
|
12
|
+
import { M as An } from "../RecurringSettings-Dj29piAQ.mjs";
|
|
13
13
|
import { addMonths as ze } from "date-fns/addMonths";
|
|
14
14
|
import { subMonths as Be } from "date-fns/subMonths";
|
|
15
15
|
import { isBefore as Ue } from "date-fns/isBefore";
|
|
@@ -28,11 +28,11 @@ import { isSameDay as tt } from "date-fns/isSameDay";
|
|
|
28
28
|
import nt from "@mui/material/Badge";
|
|
29
29
|
import { PickersDay as it } from "@mui/x-date-pickers/PickersDay";
|
|
30
30
|
import { I as Y } from "../IconBacking-B9oC6uL2.mjs";
|
|
31
|
-
import { u as D, a as V,
|
|
31
|
+
import { u as D, a as V, h as v, e as X, c as pe, f as ge, p as rt } from "../hooks-DkUqN6JE.mjs";
|
|
32
32
|
import { c as M, a as R, g as De, f as ot } from "../RepeatingTransaction-BW4J-jeJ.mjs";
|
|
33
33
|
import { T as P } from "../RecurringTransactionsStore-D62XJtdL.mjs";
|
|
34
34
|
import { R as Gn } from "../RecurringTransactionsStore-D62XJtdL.mjs";
|
|
35
|
-
import { A as _, W as at } from "../WidgetContainer-
|
|
35
|
+
import { A as _, W as at } from "../WidgetContainer-CdBs9WOZ.mjs";
|
|
36
36
|
import st from "@mui/material/Button";
|
|
37
37
|
import se from "@mui/material/Divider";
|
|
38
38
|
import Se from "@mui/material/List";
|
|
@@ -41,8 +41,8 @@ import ct from "@mui/material/ListSubheader";
|
|
|
41
41
|
import lt from "@mui/material/ListItemAvatar";
|
|
42
42
|
import dt from "@mui/material/ListItemButton";
|
|
43
43
|
import ut from "@mui/material/ListItemText";
|
|
44
|
-
import { b as mt } from "../ManageIncome-
|
|
45
|
-
import { c as On, M as kn, S as Wn } from "../ManageIncome-
|
|
44
|
+
import { b as mt } from "../ManageIncome-DbsiKUoO.mjs";
|
|
45
|
+
import { c as On, M as kn, S as Wn } from "../ManageIncome-DbsiKUoO.mjs";
|
|
46
46
|
import { f as L } from "../NumberFormatting-CtWHhyBX.mjs";
|
|
47
47
|
import { D as Ae } from "../Drawer-kEE73B87.mjs";
|
|
48
48
|
import { b as N } from "../Localization-2MODESHW.mjs";
|
|
@@ -51,9 +51,9 @@ import O from "@mui/material/Box";
|
|
|
51
51
|
import { S as Ee } from "../StatusBar-BK_uYHAB.mjs";
|
|
52
52
|
import { u as Ge } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
53
53
|
import { L as j } from "../Loader-DUaFpDGv.mjs";
|
|
54
|
-
import { M as pt } from "../MiniWidgetContainer-
|
|
54
|
+
import { M as pt } from "../MiniWidgetContainer-CTyjmE1h.mjs";
|
|
55
55
|
import { u as gt } from "../useDimensions-27p2evRx.mjs";
|
|
56
|
-
import { M as ht } from "../MicroWidgetContainer-
|
|
56
|
+
import { M as ht } from "../MicroWidgetContainer-Dxz8uBN9.mjs";
|
|
57
57
|
const Z = {
|
|
58
58
|
gridRow: 1,
|
|
59
59
|
gridColumn: 1,
|
|
@@ -16,9 +16,9 @@ import F from "@mui/material/Box";
|
|
|
16
16
|
import Q from "@mui/material/Button";
|
|
17
17
|
import I from "@mui/material/TextField";
|
|
18
18
|
import { H3 as J, P as H, Text as x, Icon as M, ChevronRightIcon as xe } from "@mxenabled/mxui";
|
|
19
|
-
import { V as ve, a as Ce, N as
|
|
20
|
-
import { A as Yt, B as qt, I as Qt } from "../NotificationSettings-
|
|
21
|
-
import { u as k,
|
|
19
|
+
import { V as ve, a as Ce, N as G } from "../NotificationSettings-BJFyyZYE.mjs";
|
|
20
|
+
import { A as Yt, B as qt, I as Qt } from "../NotificationSettings-BJFyyZYE.mjs";
|
|
21
|
+
import { u as k, m as $, r as A, o as De, a as Z, k as ee } from "../hooks-DkUqN6JE.mjs";
|
|
22
22
|
import { u as L } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
23
23
|
import { a as W } from "../Dialog-CWW597AF.mjs";
|
|
24
24
|
import { formatDistanceToNow as te } from "date-fns/formatDistanceToNow";
|
|
@@ -33,16 +33,16 @@ import we from "@mui/material/AccordionDetails";
|
|
|
33
33
|
import Te from "@mui/material/AccordionSummary";
|
|
34
34
|
import { L as ne } from "../Loader-DUaFpDGv.mjs";
|
|
35
35
|
import Ie from "@mui/material/List";
|
|
36
|
-
import
|
|
36
|
+
import j from "@mui/material/Divider";
|
|
37
37
|
import Ae from "@mui/material/ListSubheader";
|
|
38
|
-
import { a as Ee, u as Pe } from "../CategorySelectorDrawer-
|
|
38
|
+
import { a as Ee, u as Pe } from "../CategorySelectorDrawer-BJ9jlCyt.mjs";
|
|
39
39
|
import Re from "@mui/material/ListItem";
|
|
40
40
|
import Be from "@mui/material/ListItemButton";
|
|
41
41
|
import Me from "@mui/material/ListItemIcon";
|
|
42
42
|
import Ne from "@mui/material/ListItemText";
|
|
43
43
|
import { D as He } from "../Drawer-kEE73B87.mjs";
|
|
44
|
-
import { H as Le } from "../Help-
|
|
45
|
-
import { W as K } from "../WidgetContainer-
|
|
44
|
+
import { H as Le } from "../Help-KAAMEubC.mjs";
|
|
45
|
+
import { W as K } from "../WidgetContainer-CdBs9WOZ.mjs";
|
|
46
46
|
const Oe = ({ availableWidth: t, handleOnLeavClick: a }) => {
|
|
47
47
|
const o = ye(), { common: n, settings: r } = k(), { isDesktop: m, isMobile: l, isSmallMobile: i, isTablet: s } = L(t), { config: g } = $(), { updateUser: _ } = A(), { user: d } = De(), [u, S] = h.useState({
|
|
48
48
|
first_name: d.first_name,
|
|
@@ -52,7 +52,7 @@ const Oe = ({ availableWidth: t, handleOnLeavClick: a }) => {
|
|
|
52
52
|
birthday: d.birthday,
|
|
53
53
|
postal_code: d.postal_code,
|
|
54
54
|
credit_score: d.credit_score
|
|
55
|
-
}), [v, w] = h.useState(!1), [C, T] = h.useState(!1), y = h.useRef(null),
|
|
55
|
+
}), [v, w] = h.useState(!1), [C, T] = h.useState(!1), y = h.useRef(null), z = u.email && !d.email_is_verified && !v, Y = u.phone && !d.phone_is_verified && !v;
|
|
56
56
|
h.useEffect(() => {
|
|
57
57
|
if (a) {
|
|
58
58
|
const f = (R) => {
|
|
@@ -125,7 +125,7 @@ const Oe = ({ availableWidth: t, handleOnLeavClick: a }) => {
|
|
|
125
125
|
}
|
|
126
126
|
),
|
|
127
127
|
/* @__PURE__ */ c(p, { direction: l ? "column" : "row", children: [
|
|
128
|
-
g.display_email_edit_field_in_settings && /* @__PURE__ */ c(p, { sx: { mb:
|
|
128
|
+
g.display_email_edit_field_in_settings && /* @__PURE__ */ c(p, { sx: { mb: z ? 20 : 44, mr: l ? 0 : 24 }, children: [
|
|
129
129
|
/* @__PURE__ */ e(
|
|
130
130
|
I,
|
|
131
131
|
{
|
|
@@ -134,7 +134,7 @@ const Oe = ({ availableWidth: t, handleOnLeavClick: a }) => {
|
|
|
134
134
|
onChange: (f) => E({ email: f.target.value })
|
|
135
135
|
}
|
|
136
136
|
),
|
|
137
|
-
|
|
137
|
+
z && /* @__PURE__ */ e(ve, {})
|
|
138
138
|
] }),
|
|
139
139
|
g.display_sms_edit_field_in_settings && /* @__PURE__ */ c(p, { sx: { mb: Y ? 20 : 44 }, children: [
|
|
140
140
|
/* @__PURE__ */ e(
|
|
@@ -555,7 +555,7 @@ const Fe = ({
|
|
|
555
555
|
]
|
|
556
556
|
}
|
|
557
557
|
);
|
|
558
|
-
}, We = D($e),
|
|
558
|
+
}, We = D($e), ze = D(() => {
|
|
559
559
|
const { isMobile: t } = L(), { settings: a } = k(), { isCopyLoaded: o, isInitialized: n } = Z(), { setAlert: r, devices: m, loadDevices: l, generateDeviceToken: i } = A(), [s, g] = h.useState({ open: !1, type: "" }), [_, d] = h.useState(), [u, S] = h.useState("");
|
|
560
560
|
h.useEffect(() => {
|
|
561
561
|
n && l();
|
|
@@ -616,7 +616,7 @@ const Fe = ({
|
|
|
616
616
|
]
|
|
617
617
|
}
|
|
618
618
|
);
|
|
619
|
-
}),
|
|
619
|
+
}), Ge = ze, X = D(
|
|
620
620
|
({ onClick: t, primaryText: a, secondaryText: o, sx: n }) => {
|
|
621
621
|
const r = P();
|
|
622
622
|
return /* @__PURE__ */ e(Re, { sx: { bgcolor: r.palette.background.paper }, children: /* @__PURE__ */ c(Be, { alignItems: "flex-start", onClick: t, sx: n, children: [
|
|
@@ -624,7 +624,7 @@ const Fe = ({
|
|
|
624
624
|
/* @__PURE__ */ e(Me, { children: /* @__PURE__ */ e(xe, {}) })
|
|
625
625
|
] }) });
|
|
626
626
|
}
|
|
627
|
-
),
|
|
627
|
+
), je = D(() => {
|
|
628
628
|
const { settings: t } = k(), { categories: a } = ee(), { selectedRule: o, updateRuleCategory: n } = A(), [r, m] = h.useState(!1), l = () => {
|
|
629
629
|
m(!1);
|
|
630
630
|
}, i = () => {
|
|
@@ -737,9 +737,9 @@ const Fe = ({
|
|
|
737
737
|
children: [
|
|
738
738
|
/* @__PURE__ */ e(Ae, { children: /* @__PURE__ */ e(x, { bold: !0, variant: "XSmall", children: r.details }) }),
|
|
739
739
|
/* @__PURE__ */ e(Je, {}),
|
|
740
|
-
/* @__PURE__ */ e(
|
|
741
|
-
/* @__PURE__ */ e(
|
|
742
|
-
/* @__PURE__ */ e(
|
|
740
|
+
/* @__PURE__ */ e(j, { sx: { ml: 24 } }),
|
|
741
|
+
/* @__PURE__ */ e(je, {}),
|
|
742
|
+
/* @__PURE__ */ e(j, { sx: { ml: 24 } }),
|
|
743
743
|
/* @__PURE__ */ e(
|
|
744
744
|
Ke,
|
|
745
745
|
{
|
|
@@ -769,7 +769,7 @@ const Fe = ({
|
|
|
769
769
|
secondaryText: t.category_guid ? u(t.category_guid) : ""
|
|
770
770
|
}
|
|
771
771
|
),
|
|
772
|
-
/* @__PURE__ */ e(
|
|
772
|
+
/* @__PURE__ */ e(j, { sx: { ml: l || m ? 0 : 24 } }),
|
|
773
773
|
/* @__PURE__ */ e(Xe, { isOpen: i, onClose: g, onDelete: _ })
|
|
774
774
|
] });
|
|
775
775
|
}), qe = D(() => {
|
|
@@ -789,8 +789,8 @@ const Fe = ({
|
|
|
789
789
|
} = $();
|
|
790
790
|
return /* @__PURE__ */ c(q, { children: [
|
|
791
791
|
t === B.Profile && /* @__PURE__ */ e(Ue, {}),
|
|
792
|
-
t === B.Devices && /* @__PURE__ */ e(
|
|
793
|
-
t === B.Notifications && /* @__PURE__ */ e(
|
|
792
|
+
t === B.Devices && /* @__PURE__ */ e(Ge, {}),
|
|
793
|
+
t === B.Notifications && /* @__PURE__ */ e(G, { showPersonalDetails: !n }),
|
|
794
794
|
t === B.TransactionRules && /* @__PURE__ */ e(re, {}),
|
|
795
795
|
t === B.Help && /* @__PURE__ */ e(p, { sx: { px: 24 }, children: /* @__PURE__ */ e(Le, {}) }),
|
|
796
796
|
/* @__PURE__ */ e(
|
|
@@ -856,17 +856,17 @@ const $t = D(({ onBackClick: t, sx: a }) => {
|
|
|
856
856
|
);
|
|
857
857
|
}), Wt = D((t) => {
|
|
858
858
|
const { clientConfig: a } = $(), o = a?.master?.deep_link_params?.view;
|
|
859
|
-
return o ? /* @__PURE__ */ e(
|
|
860
|
-
}),
|
|
859
|
+
return o ? /* @__PURE__ */ e(G, { view: o }) : /* @__PURE__ */ e(K, { ...t, children: /* @__PURE__ */ e(p, { my: 24, children: /* @__PURE__ */ e(G, {}) }) });
|
|
860
|
+
}), zt = (t) => {
|
|
861
861
|
const { isMobile: a } = L();
|
|
862
862
|
return /* @__PURE__ */ e(K, { ...t, children: /* @__PURE__ */ e(p, { sx: { mx: a ? 0 : 48, my: 24 }, children: /* @__PURE__ */ e(re, {}) }) });
|
|
863
863
|
};
|
|
864
864
|
export {
|
|
865
865
|
Yt as AccountNotificationProfiles,
|
|
866
866
|
qt as BudgetNotificationProfiles,
|
|
867
|
-
|
|
867
|
+
Ge as DeviceTab,
|
|
868
868
|
Qt as InsightsNotificationProfiles,
|
|
869
|
-
|
|
869
|
+
G as NotificationSettings,
|
|
870
870
|
Wt as NotificationSettingsWidget,
|
|
871
871
|
Ue as ProfileTab,
|
|
872
872
|
Jt as SettingsApi,
|
|
@@ -875,5 +875,5 @@ export {
|
|
|
875
875
|
$t as SettingsWidget,
|
|
876
876
|
Qe as SettingsWidgetContents,
|
|
877
877
|
re as TransactionRulesTab,
|
|
878
|
-
|
|
878
|
+
zt as TransactionRulesWidget
|
|
879
879
|
};
|
|
@@ -14,21 +14,21 @@ import { Text as f, CategoryIcon as ht, CategoryIconVariants as ft } from "@mxen
|
|
|
14
14
|
import { f as A } from "../NumberFormatting-CtWHhyBX.mjs";
|
|
15
15
|
import yt from "@mui/material/Button";
|
|
16
16
|
import { useTheme as it } from "@mui/material";
|
|
17
|
-
import { u as w, a as R,
|
|
17
|
+
import { u as w, a as R, k as z, c as rt, m as st, f as Ct, e as _t } from "../hooks-DkUqN6JE.mjs";
|
|
18
18
|
import { u as ct } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
19
19
|
import { D as bt } from "../Donut-1UMNcG67.mjs";
|
|
20
20
|
import { L as F } from "../Loader-DUaFpDGv.mjs";
|
|
21
|
-
import { M as St } from "../MiniWidgetContainer-
|
|
21
|
+
import { M as St } from "../MiniWidgetContainer-CTyjmE1h.mjs";
|
|
22
22
|
import { startOfToday as U } from "date-fns/startOfToday";
|
|
23
|
-
import { T as Tt, a as Mt } from "../TransactionDetails-
|
|
23
|
+
import { T as Tt, a as Mt } from "../TransactionDetails-C-z3HGTT.mjs";
|
|
24
24
|
import Dt from "@mui/material/Collapse";
|
|
25
|
-
import
|
|
25
|
+
import B from "@mui/material/Divider";
|
|
26
26
|
import q from "@mui/material/List";
|
|
27
27
|
import J from "@mui/material/ListItem";
|
|
28
28
|
import xt from "@mui/material/ListItemButton";
|
|
29
29
|
import { D as Q } from "../Drawer-kEE73B87.mjs";
|
|
30
|
-
import { A as Z, W as wt } from "../WidgetContainer-
|
|
31
|
-
const
|
|
30
|
+
import { A as Z, W as wt } from "../WidgetContainer-CdBs9WOZ.mjs";
|
|
31
|
+
const j = 5, vt = (n, l, r) => r.reduce((i, c) => {
|
|
32
32
|
if (c.total > 0) {
|
|
33
33
|
const a = n.find((s) => s.guid === c.category_guid);
|
|
34
34
|
if (!a) return i;
|
|
@@ -55,14 +55,14 @@ const B = 5, vt = (n, l, r) => r.reduce((i, c) => {
|
|
|
55
55
|
).sort((s, g) => g.amount - s.amount), o = a.reduce(
|
|
56
56
|
(s, g) => s + g.amount,
|
|
57
57
|
0
|
|
58
|
-
), e = a.length >
|
|
58
|
+
), e = a.length > j ? j : a.length, d = a.slice(0, e), u = d.map((s) => ({
|
|
59
59
|
id: s.guid,
|
|
60
60
|
color: V(s.guid, r),
|
|
61
61
|
label: s.name,
|
|
62
62
|
value: s.amount / o * 100
|
|
63
63
|
}));
|
|
64
64
|
if (a.length > 5) {
|
|
65
|
-
const s = a.slice(
|
|
65
|
+
const s = a.slice(j, c.length), g = s.reduce(
|
|
66
66
|
(S, _) => S + _.amount,
|
|
67
67
|
0
|
|
68
68
|
);
|
|
@@ -299,7 +299,7 @@ const B = 5, vt = (n, l, r) => r.reduce((i, c) => {
|
|
|
299
299
|
const { spending: c } = w(), a = n.categoryData.find((o) => o.guid === r);
|
|
300
300
|
return /* @__PURE__ */ m(C, { direction: "column", justifyContent: "center", maxWidth: 400, minWidth: 275, width: "100%", children: [
|
|
301
301
|
/* @__PURE__ */ t(f, { bold: !0, sx: { py: 12 }, children: `${i} ${c.by_category}` }),
|
|
302
|
-
/* @__PURE__ */ t(
|
|
302
|
+
/* @__PURE__ */ t(B, { "aria-hidden": "true" }),
|
|
303
303
|
/* @__PURE__ */ t(q, { children: n.categoryData.map((o) => /* @__PURE__ */ m(p.Fragment, { children: [
|
|
304
304
|
/* @__PURE__ */ t(
|
|
305
305
|
J,
|
|
@@ -344,7 +344,7 @@ const B = 5, vt = (n, l, r) => r.reduce((i, c) => {
|
|
|
344
344
|
)
|
|
345
345
|
}
|
|
346
346
|
),
|
|
347
|
-
/* @__PURE__ */ t(
|
|
347
|
+
/* @__PURE__ */ t(B, {}),
|
|
348
348
|
o.categoryTotals && o.categoryTotals.length > 0 && /* @__PURE__ */ t(Dt, { in: a?.guid === o.guid, unmountOnExit: !0, children: /* @__PURE__ */ m(q, { children: [
|
|
349
349
|
a?.categoryTotals?.map((e) => /* @__PURE__ */ t(
|
|
350
350
|
J,
|
|
@@ -364,7 +364,7 @@ const B = 5, vt = (n, l, r) => r.reduce((i, c) => {
|
|
|
364
364
|
},
|
|
365
365
|
e.guid
|
|
366
366
|
)),
|
|
367
|
-
/* @__PURE__ */ t(
|
|
367
|
+
/* @__PURE__ */ t(B, {})
|
|
368
368
|
] }) })
|
|
369
369
|
] }, o.guid)) }),
|
|
370
370
|
/* @__PURE__ */ t(f, { bold: !0, sx: { mt: 12, pr: 8, textAlign: "right" }, children: `${c.total}: ${A(n.totalAmount, "0,0")}` })
|
|
@@ -426,7 +426,7 @@ const B = 5, vt = (n, l, r) => r.reduce((i, c) => {
|
|
|
426
426
|
n.palette.chartMono.chartMono2,
|
|
427
427
|
n.palette.chartMono.chartMono1,
|
|
428
428
|
n.palette.chartMono.chartMono6
|
|
429
|
-
],
|
|
429
|
+
], kt = () => {
|
|
430
430
|
const n = it(), { clientConfig: l } = st(), { categories: r, dateRangeCategoryTotals: i, loadDateRangeCategoryTotals: c } = z(), { goals: a, spending: o } = w(), { displayedDateRange: e, selectedAccounts: d, selectedAccountGuids: u } = R(), { setFilter: s, sortedTransactions: g } = Ct(), S = l?.master?.deep_link_params?.account_guids, _ = l?.master?.deep_link_params?.view, [y, v] = p.useState(""), [M, E] = p.useState(_ === "income" ? 1 : 0), [L, H] = p.useState(""), [gt, P] = p.useState(!1);
|
|
431
431
|
p.useEffect(() => {
|
|
432
432
|
c(
|
|
@@ -435,13 +435,13 @@ const B = 5, vt = (n, l, r) => r.reduce((i, c) => {
|
|
|
435
435
|
e.end
|
|
436
436
|
).finally();
|
|
437
437
|
}, [d, e]);
|
|
438
|
-
const
|
|
438
|
+
const k = p.useMemo(
|
|
439
439
|
() => lt(r, a, n, i),
|
|
440
440
|
[r, i]
|
|
441
441
|
), X = p.useMemo(
|
|
442
442
|
() => dt(r, i, Rt(n)),
|
|
443
443
|
[r, i]
|
|
444
|
-
),
|
|
444
|
+
), G = p.useMemo(
|
|
445
445
|
() => g.find((h) => h.guid === L),
|
|
446
446
|
[L, g]
|
|
447
447
|
), ut = (h, I) => {
|
|
@@ -455,7 +455,7 @@ const B = 5, vt = (n, l, r) => r.reduce((i, c) => {
|
|
|
455
455
|
};
|
|
456
456
|
if (M === 0)
|
|
457
457
|
if (h === "other") {
|
|
458
|
-
const T =
|
|
458
|
+
const T = k.categoryData.find(($) => $.guid === "other");
|
|
459
459
|
s({
|
|
460
460
|
...I,
|
|
461
461
|
custom: ($) => !!T?.categoryTotals?.find((pt) => pt.guid === $.top_level_category_guid)
|
|
@@ -481,7 +481,7 @@ const B = 5, vt = (n, l, r) => r.reduce((i, c) => {
|
|
|
481
481
|
label: /* @__PURE__ */ t(
|
|
482
482
|
W,
|
|
483
483
|
{
|
|
484
|
-
amount:
|
|
484
|
+
amount: k.totalAmount,
|
|
485
485
|
label: o.spend_tab_title
|
|
486
486
|
}
|
|
487
487
|
)
|
|
@@ -503,7 +503,7 @@ const B = 5, vt = (n, l, r) => r.reduce((i, c) => {
|
|
|
503
503
|
M === 0 && /* @__PURE__ */ t(
|
|
504
504
|
et,
|
|
505
505
|
{
|
|
506
|
-
data:
|
|
506
|
+
data: k,
|
|
507
507
|
onSelected: Y,
|
|
508
508
|
onViewTransactions: K,
|
|
509
509
|
selectedId: y,
|
|
@@ -534,14 +534,14 @@ const B = 5, vt = (n, l, r) => r.reduce((i, c) => {
|
|
|
534
534
|
Q,
|
|
535
535
|
{
|
|
536
536
|
ariaLabelClose: o.close_drawer_aria,
|
|
537
|
-
isOpen: !!
|
|
537
|
+
isOpen: !!G,
|
|
538
538
|
onClose: () => H(""),
|
|
539
539
|
title: o.transaction_details_drawer_title,
|
|
540
|
-
children:
|
|
540
|
+
children: G && /* @__PURE__ */ t(Mt, { transaction: G })
|
|
541
541
|
}
|
|
542
542
|
)
|
|
543
543
|
] });
|
|
544
|
-
},
|
|
544
|
+
}, Gt = x(kt), $t = ({ onBackClick: n, sx: l = {} }) => {
|
|
545
545
|
const { visibleAccounts: r } = rt(), { spending: i } = w(), { isCopyLoaded: c, isInitialized: a, setDisplayedDate: o, setSelectedAccounts: e } = R(), { onEvent: d } = _t(), { clientConfig: u } = st(), s = u?.master?.deep_link_params?.date_range, [g, S] = p.useState(!1);
|
|
546
546
|
p.useEffect(() => {
|
|
547
547
|
e(r);
|
|
@@ -560,7 +560,7 @@ const B = 5, vt = (n, l, r) => r.reduce((i, c) => {
|
|
|
560
560
|
onBackClick: n,
|
|
561
561
|
sx: l,
|
|
562
562
|
title: i.title,
|
|
563
|
-
children: /* @__PURE__ */ t(D, { height: "calc(100dvh - 150px)", overflow: "scroll", width: "100%", children: /* @__PURE__ */ t(
|
|
563
|
+
children: /* @__PURE__ */ t(D, { height: "calc(100dvh - 150px)", overflow: "scroll", width: "100%", children: /* @__PURE__ */ t(Gt, {}) })
|
|
564
564
|
}
|
|
565
565
|
);
|
|
566
566
|
}, fe = x($t);
|