@mx-cartographer/experiences 7.0.0-alpha.mega1 → 7.0.1-alpha.al0
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 +21 -0
- package/dist/{Account-DY6nxO7y.mjs → Account-BFol-JYA.mjs} +1 -1
- package/dist/{AccountDetailsContent-DvPs81kL.mjs → AccountDetailsContent-Do3z1FnQ.mjs} +8 -8
- package/dist/{AccountDetailsHeader-W2U7ZVm_.mjs → AccountDetailsHeader-DnEyQMpX.mjs} +12 -12
- package/dist/{AccountFields-DAVcbZy5.mjs → AccountFields-CeHZrIQe.mjs} +2 -2
- package/dist/{AccountListItem-DFlbdcmT.mjs → AccountListItem-C7JzYpqf.mjs} +3 -3
- package/dist/{AccountStore-CU7qV3vg.mjs → AccountStore-Cu3GoLh-.mjs} +1 -1
- package/dist/{Accounts-BLlrQA5m.mjs → Accounts-BuYXUMhP.mjs} +1 -1
- package/dist/{BudgetUtil-Ci1TN0J5.mjs → BudgetUtil-spowPvBM.mjs} +2 -2
- package/dist/{Category-5S6uwuXz.mjs → Category-CevNQ03n.mjs} +4 -4
- package/dist/{CategorySelectorDrawer-rHyHHYuh.mjs → CategorySelectorDrawer-Dyzb3UDU.mjs} +1 -1
- package/dist/{CategoryStore-B5EW6I1d.mjs → CategoryStore-BOyzQjQp.mjs} +2 -2
- package/dist/{CategoryUtil-DRyruNgi.mjs → CategoryUtil-BR3H5i6n.mjs} +1 -1
- package/dist/{ConnectDrawer-D9cR5phc.mjs → ConnectDrawer-WfKHsHSF.mjs} +1 -1
- package/dist/{ConnectionsDrawer-BzGqljSp.mjs → ConnectionsDrawer-Czp-E0-m.mjs} +2 -2
- package/dist/{CurrencyInput-D74cemI2.mjs → CurrencyInput-CSZjO22Z.mjs} +1 -1
- package/dist/{DebtsStore-S0l9kr0r.mjs → DebtsStore-D9holN8L.mjs} +1 -1
- package/dist/ExportCsvAction-dpvaZxbS.mjs +24 -0
- package/dist/{GoalStore-DioeeL-s.mjs → GoalStore-Drf76ell.mjs} +4 -4
- package/dist/{Help-DpYRO8oA.mjs → Help-DRUwVDvo.mjs} +1 -1
- package/dist/{LineChart-CcyX38kK.mjs → LineChart-CYiUS-px.mjs} +88 -85
- package/dist/{ListItemAction-BabpYivr.mjs → ListItemAction-BzmbPuNp.mjs} +1 -1
- package/dist/{ManageIncome-ndMuhJMG.mjs → ManageIncome-B6kmMN_z.mjs} +178 -186
- package/dist/{MicroWidgetContainer-CsvHLYKX.mjs → MicroWidgetContainer-DmYiksbT.mjs} +1 -1
- package/dist/{MiniWidgetContainer-BoOp-A05.mjs → MiniWidgetContainer-DqKQNubH.mjs} +1 -1
- package/dist/{NetWorthStore-PD-RUe09.mjs → NetWorthStore-BK1_NbXW.mjs} +2 -2
- package/dist/{Notification-AMGWM1Al.mjs → Notification-ByMBpJ5u.mjs} +33 -22
- package/dist/{NotificationSettings-VhHuMAFU.mjs → NotificationSettings-BznqGVQ2.mjs} +35 -34
- package/dist/{OriginalBalanceAction-D39mx6uE.mjs → OriginalBalanceAction-CSu5brQE.mjs} +3 -3
- package/dist/RecurringSettings-Be1dzkMz.mjs +57 -0
- package/dist/ResponsiveButton-DZFp78fJ.mjs +45 -0
- package/dist/{SettingsStore-CE7jDVFL.mjs → SettingsStore-B4gi6oOw.mjs} +1 -1
- package/dist/{SpendingData-BkrxzHdr.mjs → SpendingData-D5vsfYKo.mjs} +5 -5
- package/dist/{Transaction-CA0FW2Ij.mjs → Transaction-CyqrHmAA.mjs} +1 -1
- package/dist/{TransactionDetails-WBHFmbxL.mjs → TransactionDetails-D4B9DSWo.mjs} +421 -417
- package/dist/{TransactionStore-CeLdmVnC.mjs → TransactionStore-DSyXtPek.mjs} +8 -8
- package/dist/TrendsStore-DR8etTL2.mjs +547 -0
- package/dist/{ViewMoreMicroCard-CAPFNz-J.mjs → ViewMoreMicroCard-BZI5VMNW.mjs} +476 -468
- package/dist/{WidgetContainer-DWCusxYI.mjs → WidgetContainer-BG-fdDOf.mjs} +110 -104
- 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 +2 -2
- package/dist/common/components/WidgetContainer.d.ts +1 -1
- package/dist/common/components/charts/LineChart.d.ts +1 -0
- package/dist/common/components/index.d.ts +1 -0
- package/dist/common/components/listitems/ToggleButtonListItem.d.ts +2 -1
- package/dist/common/constants/Analytics.d.ts +16 -10
- package/dist/common/index.es.js +432 -469
- package/dist/dashboard/index.es.js +13 -13
- package/dist/debts/index.es.js +66 -66
- package/dist/{exportTransactionsToCSV-CmwsKl2D.mjs → exportTransactionsToCSV-BlVifaOG.mjs} +2 -2
- package/dist/finstrong/index.es.js +6 -6
- package/dist/goals/index.es.js +32 -32
- package/dist/help/index.es.js +3 -3
- package/dist/{hooks-30y_BLwc.mjs → hooks-02T565vf.mjs} +10 -10
- package/dist/investments/index.es.js +3 -3
- package/dist/merchants/index.es.js +1 -1
- package/dist/microinsights/components/carouselheader/CarouselHeader.d.ts +1 -0
- package/dist/microinsights/components/microBeatCarousel/MicroBeatCarousel.d.ts +1 -0
- package/dist/microinsights/index.es.js +1 -1
- package/dist/networth/index.es.js +7 -7
- package/dist/notifications/index.es.js +9 -9
- package/dist/recurringtransactions/index.es.js +8 -8
- package/dist/settings/index.es.js +25 -25
- package/dist/spending/index.es.js +13 -13
- package/dist/transactions/components/shared/TransactionList.d.ts +2 -0
- package/dist/transactions/components/transactionwidget/actions/ExportCsvAction.d.ts +5 -1
- package/dist/transactions/index.d.ts +1 -0
- package/dist/transactions/index.es.js +143 -141
- package/dist/trends/constants/TrendsWidget.d.ts +3 -0
- package/dist/trends/index.es.js +579 -642
- package/package.json +1 -1
- package/dist/RecurringSettings-D_HnMYZP.mjs +0 -57
- package/dist/TrendsStore-BHJUapXF.mjs +0 -487
- package/dist/index.d.ts +0 -0
- package/dist/trends/components/TransactionsList.d.ts +0 -7
package/dist/help/index.es.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
2
2
|
import { observer as t } from "mobx-react-lite";
|
3
|
-
import { H as m } from "../Help-
|
4
|
-
import { a as s } from "../hooks-
|
3
|
+
import { H as m } from "../Help-DRUwVDvo.mjs";
|
4
|
+
import { a as s } from "../hooks-02T565vf.mjs";
|
5
5
|
import { L as p } from "../Loader-Dp1P2gNw.mjs";
|
6
|
-
import { W as a } from "../WidgetContainer-
|
6
|
+
import { W as a } from "../WidgetContainer-BG-fdDOf.mjs";
|
7
7
|
const x = t(({ sx: o }) => {
|
8
8
|
const { isCopyLoaded: i, isInitialized: e } = s();
|
9
9
|
return !i || !e ? /* @__PURE__ */ r(p, {}) : /* @__PURE__ */ r(a, { sx: { p: 16 }, children: /* @__PURE__ */ r(m, { sx: o }) });
|
@@ -46,16 +46,16 @@ export {
|
|
46
46
|
T as b,
|
47
47
|
C as c,
|
48
48
|
w as d,
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
49
|
+
j as e,
|
50
|
+
B as f,
|
51
|
+
h as g,
|
52
|
+
H as h,
|
53
|
+
p as i,
|
54
|
+
P as j,
|
55
|
+
d as k,
|
56
|
+
f as l,
|
57
|
+
y as m,
|
58
|
+
U as n,
|
59
59
|
V as o,
|
60
60
|
M as p,
|
61
61
|
E as q,
|
@@ -4,7 +4,7 @@ import { observer as P } from "mobx-react-lite";
|
|
4
4
|
import _ from "@mui/material/Stack";
|
5
5
|
import Ee from "@mui/material/Tab";
|
6
6
|
import Ge from "@mui/material/Tabs";
|
7
|
-
import { C as ge } from "../ConnectionsDrawer-
|
7
|
+
import { C as ge } from "../ConnectionsDrawer-Czp-E0-m.mjs";
|
8
8
|
import pe from "@mui/material/useMediaQuery";
|
9
9
|
import Me from "@mui/material/Box";
|
10
10
|
import Ne from "@mui/material/Collapse";
|
@@ -16,8 +16,8 @@ import xe from "@mui/material/ToggleButton";
|
|
16
16
|
import ye from "@mui/material/ToggleButtonGroup";
|
17
17
|
import { Text as r, H1 as fe, P as ve, InstitutionLogo as ne } from "@mxenabled/mxui";
|
18
18
|
import Ue from "@mui/material/Button";
|
19
|
-
import { u as E,
|
20
|
-
import { A as z, W as je } from "../WidgetContainer-
|
19
|
+
import { u as E, e as be, s as H, a as Q, c as se } from "../hooks-02T565vf.mjs";
|
20
|
+
import { A as z, W as je } from "../WidgetContainer-BG-fdDOf.mjs";
|
21
21
|
import { a as ze, f as oe } from "../NumberFormatting-CtWHhyBX.mjs";
|
22
22
|
import { u as U } from "../useScreenSize-B6JyS_Lj.mjs";
|
23
23
|
import le from "@mui/material/styles/useTheme";
|
@@ -12,7 +12,7 @@ import k from "@mui/material/ListItemText";
|
|
12
12
|
import A from "@mui/material/Paper";
|
13
13
|
import d from "@mui/material/Stack";
|
14
14
|
import { MerchantLogo as V, Text as R } from "@mxenabled/mxui";
|
15
|
-
import { b as v, u as w, a as C } from "../hooks-
|
15
|
+
import { b as v, u as w, a as C } from "../hooks-02T565vf.mjs";
|
16
16
|
import { L as p } from "../Loader-Dp1P2gNw.mjs";
|
17
17
|
import { S as N } from "../SearchBox-B2_zLv8-.mjs";
|
18
18
|
import { M as ne } from "../MerchantStore-DVH-QOf0.mjs";
|
@@ -2,6 +2,7 @@ import { default as React } from 'react';
|
|
2
2
|
import { Beat } from '../../../common/types/Beat';
|
3
3
|
import { clientColorSchemeProps, TheWholeHog } from '../../interfaces';
|
4
4
|
export interface CarouselHeaderProps {
|
5
|
+
analyticsMetadata?: object;
|
5
6
|
clientColorScheme?: clientColorSchemeProps;
|
6
7
|
onCardClick: (beat?: Beat | undefined) => void;
|
7
8
|
posthog?: TheWholeHog;
|
@@ -2,6 +2,7 @@ import { default as React } from 'react';
|
|
2
2
|
import { MicroWidgetProps } from '../../';
|
3
3
|
import { Beat } from '../../../common/types/Beat';
|
4
4
|
export interface MicroBeatCarouselProps extends MicroWidgetProps {
|
5
|
+
analyticsMetadata?: object;
|
5
6
|
beats?: Beat[];
|
6
7
|
showCarouselControls?: boolean;
|
7
8
|
visibleCardsCount?: number;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { A as s, B as e, C as o, c as t, b as i, I as d, M as n, a as C, d as c, N as I, V as M, Z as g, e as h } from "../ViewMoreMicroCard-
|
1
|
+
import { A as s, B as e, C as o, c as t, b as i, I as d, M as n, a as C, d as c, N as I, V as M, Z as g, e as h } from "../ViewMoreMicroCard-BZI5VMNW.mjs";
|
2
2
|
export {
|
3
3
|
s as AppStore,
|
4
4
|
e as BeatCard,
|
@@ -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-02T565vf.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-CYiUS-px.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-BK1_NbXW.mjs";
|
23
|
+
import { N as Ot } from "../NetWorthStore-BK1_NbXW.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-BG-fdDOf.mjs";
|
27
27
|
import { L as O } from "../Loader-Dp1P2gNw.mjs";
|
28
|
-
import { M as Ae } from "../MicroWidgetContainer-
|
28
|
+
import { M as Ae } from "../MicroWidgetContainer-DmYiksbT.mjs";
|
29
29
|
import re from "@mui/material/Box";
|
30
|
-
import { C as Me } from "../ConnectionsDrawer-
|
30
|
+
import { C as Me } from "../ConnectionsDrawer-Czp-E0-m.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";
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import { A as f, B as C } from "../Notification-
|
1
|
+
import { A as f, B as C } from "../Notification-ByMBpJ5u.mjs";
|
2
2
|
import { A as _ } from "../Fetch-CkFKy79O.mjs";
|
3
|
-
import { s as
|
3
|
+
import { s as v } from "../NotificationStore-DHtSGySy.mjs";
|
4
4
|
import { N as Nt, f as St } from "../NotificationStore-DHtSGySy.mjs";
|
5
5
|
import { jsx as t, jsxs as d, Fragment as x } from "react/jsx-runtime";
|
6
|
-
import
|
6
|
+
import L, { useEffect as A } from "react";
|
7
7
|
import { observer as p } from "mobx-react-lite";
|
8
8
|
import y from "@mui/material/Box";
|
9
9
|
import D from "@mui/material/Divider";
|
@@ -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
|
14
|
+
import { c as E, g as j, u as g, n as N, a as S, k as z } from "../hooks-02T565vf.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-Dp1P2gNw.mjs";
|
19
19
|
import $ from "@mui/material/IconButton";
|
20
|
-
import { N as H } from "../NotificationSettings-
|
20
|
+
import { N as H } from "../NotificationSettings-BznqGVQ2.mjs";
|
21
21
|
import { D as b } from "../Drawer-kEE73B87.mjs";
|
22
22
|
const yt = (e) => {
|
23
23
|
switch (e) {
|
@@ -36,7 +36,7 @@ const yt = (e) => {
|
|
36
36
|
return null;
|
37
37
|
}
|
38
38
|
}, M = ({ date: e }) => /* @__PURE__ */ t(y, { sx: { display: "flex", justifyContent: "center", mt: 12, py: 8 }, children: /* @__PURE__ */ t(m, { bold: !0, variant: "Small", children: I(e) }) }), V = ({ notification: e }) => {
|
39
|
-
const { accounts: o } =
|
39
|
+
const { accounts: o } = E(), { budgets: a } = j(), { accounts: s } = g(), i = o.find((l) => l.guid === e.entity_guid), r = a.find((l) => l.guid === e.entity_guid), u = e.entity_guid.includes("GOL"), c = {
|
40
40
|
badge: {
|
41
41
|
display: "flex",
|
42
42
|
alignItems: "center",
|
@@ -119,9 +119,9 @@ const yt = (e) => {
|
|
119
119
|
(!c || a) && /* @__PURE__ */ t(w, { label: u?.loading, size: 40 }),
|
120
120
|
c && !a && i.length === 0 && /* @__PURE__ */ t(q, { onManageNotifications: o }),
|
121
121
|
/* @__PURE__ */ t(B, { sx: { p: 16 }, children: c && !a && i.slice().sort((n, h) => h.delivered_at - n.delivered_at).map((n, h) => {
|
122
|
-
const
|
122
|
+
const k = v(h, i);
|
123
123
|
return /* @__PURE__ */ d(y, { sx: { mb: 12 }, children: [
|
124
|
-
|
124
|
+
k && /* @__PURE__ */ d(y, { sx: { mb: 12 }, children: [
|
125
125
|
/* @__PURE__ */ t(M, { date: n.delivered_at }),
|
126
126
|
/* @__PURE__ */ t(D, {})
|
127
127
|
] }),
|
@@ -131,7 +131,7 @@ const yt = (e) => {
|
|
131
131
|
] });
|
132
132
|
}, K = p(J), Ct = p(
|
133
133
|
({ notificationTypes: e, isOpen: o, onClose: a, onNotificationClick: s }) => {
|
134
|
-
const { config: i } = z(), { notifications: r, settings: u } = g(), { isCopyLoaded: c } = S(), [l, n] =
|
134
|
+
const { config: i } = z(), { notifications: r, settings: u } = g(), { isCopyLoaded: c } = S(), [l, n] = L.useState(!1);
|
135
135
|
return c ? /* @__PURE__ */ d(x, { children: [
|
136
136
|
/* @__PURE__ */ d(
|
137
137
|
b,
|
@@ -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-Be1dzkMz.mjs";
|
12
|
+
import { M as An } from "../RecurringSettings-Be1dzkMz.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-02T565vf.mjs";
|
32
32
|
import { c as M, a as R, g as De, f as ot } from "../RepeatingTransaction-BPWfaB3f.mjs";
|
33
33
|
import { T as P } from "../RecurringTransactionsStore-BKLD3OWo.mjs";
|
34
34
|
import { R as Gn } from "../RecurringTransactionsStore-BKLD3OWo.mjs";
|
35
|
-
import { A as _, W as at } from "../WidgetContainer-
|
35
|
+
import { A as _, W as at } from "../WidgetContainer-BG-fdDOf.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 { a as mt } from "../ManageIncome-
|
45
|
-
import { b as On, M as kn, S as Wn } from "../ManageIncome-
|
44
|
+
import { a as mt } from "../ManageIncome-B6kmMN_z.mjs";
|
45
|
+
import { b as On, M as kn, S as Wn } from "../ManageIncome-B6kmMN_z.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-Dp1P2gNw.mjs";
|
54
|
-
import { M as pt } from "../MiniWidgetContainer-
|
54
|
+
import { M as pt } from "../MiniWidgetContainer-DqKQNubH.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-DmYiksbT.mjs";
|
57
57
|
const Z = {
|
58
58
|
gridRow: 1,
|
59
59
|
gridColumn: 1,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { S as Jt, a as Kt } from "../SettingsStore-
|
1
|
+
import { S as Jt, a as Kt } from "../SettingsStore-B4gi6oOw.mjs";
|
2
2
|
import { jsxs as c, Fragment as q, jsx as e } from "react/jsx-runtime";
|
3
3
|
import h from "react";
|
4
4
|
import { observer as D } from "mobx-react-lite";
|
@@ -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-BznqGVQ2.mjs";
|
20
|
+
import { A as Yt, B as qt, I as Qt } from "../NotificationSettings-BznqGVQ2.mjs";
|
21
|
+
import { u as k, k as $, r as A, o as De, a as Z, l as ee } from "../hooks-02T565vf.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-Dp1P2gNw.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-Dyzb3UDU.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-DRUwVDvo.mjs";
|
45
|
+
import { W as K } from "../WidgetContainer-BG-fdDOf.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
|
};
|
@@ -8,27 +8,27 @@ import C from "@mui/material/Stack";
|
|
8
8
|
import N from "@mui/material/Tab";
|
9
9
|
import at from "@mui/material/Tabs";
|
10
10
|
import mt from "@mui/material/styles/useTheme";
|
11
|
-
import { b as V } from "../CategoryUtil-
|
12
|
-
import {
|
11
|
+
import { b as V } from "../CategoryUtil-BR3H5i6n.mjs";
|
12
|
+
import { b } from "../Category-CevNQ03n.mjs";
|
13
13
|
import { Text as f, CategoryIcon as ht, CategoryIconVariants as ft } from "@mxenabled/mxui";
|
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, l as z, c as rt, k as st, f as Ct, e as _t } from "../hooks-02T565vf.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-Dp1P2gNw.mjs";
|
21
|
-
import { M as St } from "../MiniWidgetContainer-
|
21
|
+
import { M as St } from "../MiniWidgetContainer-DqKQNubH.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-D4B9DSWo.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-BG-fdDOf.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")}` })
|
@@ -1,6 +1,8 @@
|
|
1
1
|
import { default as React } from 'react';
|
2
|
+
import { Transaction } from '../../../common';
|
2
3
|
export interface TransactionListProps {
|
3
4
|
bgcolor?: string;
|
5
|
+
filter?: (t: Transaction) => boolean;
|
4
6
|
height?: number | string;
|
5
7
|
loader?: JSX.Element;
|
6
8
|
onClick?: (guid: string) => void;
|
@@ -1,4 +1,8 @@
|
|
1
|
-
|
1
|
+
import { Transaction } from '../../../../common';
|
2
|
+
interface ExportCsvActionProps {
|
3
|
+
filter?: (t: Transaction) => boolean;
|
4
|
+
}
|
5
|
+
declare const _default: (({ filter }: ExportCsvActionProps) => import("react/jsx-runtime").JSX.Element) & {
|
2
6
|
displayName: string;
|
3
7
|
};
|
4
8
|
export default _default;
|
@@ -4,6 +4,7 @@ export { ON_CLICK_EVENTS as TRANSACTION_EVENTS } from './constants/OnClickEvents
|
|
4
4
|
export { TransactionStore } from './stores/TransactionStore';
|
5
5
|
export { useTransactionsUiStore } from './context/hooks';
|
6
6
|
export { exportTransactionsToCSV } from './utils/exportTransactionsToCSV';
|
7
|
+
export { default as ExportCsvAction } from './components/transactionwidget/actions/ExportCsvAction';
|
7
8
|
export { default as TransactionRow } from './components/shared/transactionlist/TransactionRow';
|
8
9
|
export { default as TransactionList } from './components/shared/TransactionList';
|
9
10
|
export { default as TransactionTable } from './components/shared/TransactionTable';
|