@mx-cartographer/experiences 8.1.0 → 8.1.2
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 +9 -0
- package/dist/{Account-DuOz1a27.mjs → Account-BIKn4XEZ.mjs} +1 -1
- package/dist/{Account-BiB1F8lL.mjs → Account-CMjOp7S2.mjs} +2 -2
- package/dist/{AccountDetailsHeader-IPRH6Wja.mjs → AccountDetailsHeader-D_a0XUkL.mjs} +6 -6
- package/dist/{AccountFields-BbPSfzru.mjs → AccountFields-nrrEXd46.mjs} +30 -29
- package/dist/{AccountListItem-qpACFl6i.mjs → AccountListItem-D80egD01.mjs} +5 -5
- package/dist/{AccountStore-BeEiLNhW.mjs → AccountStore-B3S_p5Qa.mjs} +3 -3
- package/dist/{Accounts-o7ohkngR.mjs → Accounts-DX3xJE97.mjs} +1 -1
- package/dist/{Analytics-CjZ0emfs.mjs → Analytics-CxK7O19c.mjs} +2 -2
- package/dist/{BudgetUtil-CLh4xtj4.mjs → BudgetUtil-DalEN9--.mjs} +47 -47
- package/dist/{CashflowStore-CeAzChyD.mjs → CashflowStore-BEi92kJg.mjs} +10 -10
- package/dist/{Category-CevNQ03n.mjs → Category-Ccoew_sA.mjs} +2 -2
- package/dist/{CategorySelectorDrawer-BG04ByUx.mjs → CategorySelectorDrawer-DjeHNx71.mjs} +7 -7
- package/dist/{CategoryStore-Bp1kO9Z-.mjs → CategoryStore-CA4NTaKH.mjs} +2 -2
- package/dist/{CategoryUtil-DKRCegQv.mjs → CategoryUtil-BJOHgYKS.mjs} +3 -3
- package/dist/{Connect-eYIWqCEr.mjs → Connect-BRLh-69J.mjs} +1 -1
- package/dist/{ConnectDrawer-C0wjwcJt.mjs → ConnectDrawer-5BpU4IQU.mjs} +3 -3
- package/dist/{ConnectionsDrawer-IA7vnv1J.mjs → ConnectionsDrawer-DxpSlJN7.mjs} +3 -3
- package/dist/{CurrencyInput-BkNVHxSV.mjs → CurrencyInput-CSJ3zMgE.mjs} +18 -18
- package/dist/DateUtil-D0TO0DaZ.mjs +58 -0
- package/dist/{DebtsStore-BZqNLaqd.mjs → DebtsStore-BJlC2-yO.mjs} +1 -1
- package/dist/{Dialog-Ck34yr-d.mjs → Dialog-iLlBR8TG.mjs} +6 -6
- package/dist/{Donut-CpxJlVvJ.mjs → Donut-D7ekbgf5.mjs} +12 -12
- package/dist/{Drawer-Bbe4AMB1.mjs → Drawer-XPaLYjiO.mjs} +11 -11
- package/dist/{EmbeddedCard-j7IGx3s1.mjs → EmbeddedCard-BCcn_fK2.mjs} +193 -193
- package/dist/{ExportCsvAction-7sjz7AXQ.mjs → ExportCsvAction-BPjdEUXx.mjs} +5 -5
- package/dist/{FinstrongStore-DgyDJTEP.mjs → FinstrongStore-DYawCv1d.mjs} +54 -54
- package/dist/{GlobalAccountFilter-CmnaZDS6.mjs → GlobalAccountFilter-CZbiDwBH.mjs} +1 -1
- package/dist/{GoalStore-DcaT4fM6.mjs → GoalStore-DmqM1ZfW.mjs} +1 -1
- package/dist/{Help-B8mD4aLJ.mjs → Help-CgpJK03Q.mjs} +6 -6
- package/dist/{Help-cTsMzSQh.mjs → Help-DuhUdMTZ.mjs} +95 -98
- package/dist/{IconBacking-B9oC6uL2.mjs → IconBacking-DgT8DCeh.mjs} +11 -11
- package/dist/{LineChart-DkD_s9NN.mjs → LineChart-jJVBE8V8.mjs} +1 -1
- package/dist/{ListItemAction-4KB7P75M.mjs → ListItemAction-Buv7tPLp.mjs} +4 -4
- package/dist/{Loader-D3rjKx72.mjs → Loader-CxeBwuPG.mjs} +5 -5
- package/dist/{ManageIncome-DwSE_a8L.mjs → ManageIncome-CrHDAku7.mjs} +8 -8
- package/dist/MicroWidgetContainer-CEcwdfti.mjs +45 -0
- package/dist/MiniWidgetContainer-CmTGSUL5.mjs +66 -0
- package/dist/{NetWorthStore-Ba3q3VcH.mjs → NetWorthStore-BY-B_hxy.mjs} +4 -4
- package/dist/{NotificationSettings-DB-eNgSv.mjs → NotificationSettings-DOgnTxzv.mjs} +9 -9
- package/dist/{OriginalBalanceAction-AB1TGb5P.mjs → OriginalBalanceAction-C8VJZUat.mjs} +9 -9
- package/dist/{RecurringSettings-CZKeZC4m.mjs → RecurringSettings-CIpZL4CX.mjs} +2 -2
- package/dist/{RecurringTransactions-kzlU8OFY.mjs → RecurringTransactions-DCt94TN4.mjs} +47 -47
- package/dist/{RecurringTransactionsStore-D62Dt2BF.mjs → RecurringTransactionsStore-CFJYC7lI.mjs} +1 -1
- package/dist/{ResponsiveButton-DZFp78fJ.mjs → ResponsiveButton-BNsV08Ud.mjs} +12 -12
- package/dist/{SettingsStore-Dsz1mvd3.mjs → SettingsStore-BcbuKfFO.mjs} +1 -1
- package/dist/{SingleSegmentDonut-BgbLgwHi.mjs → SingleSegmentDonut-PsRQPkmV.mjs} +5 -5
- package/dist/{SpendingData-CoZOmlZD.mjs → SpendingData-Dj85XEUp.mjs} +3 -3
- package/dist/{SpendingLegend-DljKEG69.mjs → SpendingLegend-DIWHSsKw.mjs} +5 -5
- package/dist/{StatusBar-BK_uYHAB.mjs → StatusBar-CPfSXe80.mjs} +6 -6
- package/dist/{TabContentContainer-j01JYR_7.mjs → TabContentContainer-CnMXkVqr.mjs} +8 -8
- package/dist/{TransactionDetails-CN-yZkin.mjs → TransactionDetails-Db8dwHoM.mjs} +21 -21
- package/dist/{TransactionStore-6ovFO8P1.mjs → TransactionStore-BUsP-unK.mjs} +40 -57
- package/dist/{TrendsStore-DZa6cyQC.mjs → TrendsStore-bYjIGqyR.mjs} +1 -1
- package/dist/{ViewMoreMicroCard-BsEitNRJ.mjs → ViewMoreMicroCard-C7dC9lDT.mjs} +93 -94
- package/dist/WidgetContainer-CCR7I0gu.mjs +470 -0
- package/dist/accounts/index.es.js +29 -29
- package/dist/analytics/index.es.js +10 -10
- package/dist/budgets/index.es.js +19 -19
- package/dist/cashflow/index.es.js +110 -110
- package/dist/categories/index.es.js +2 -2
- package/dist/common/hooks/useWidgetHeaderStyles.d.ts +1 -0
- package/dist/common/index.es.js +250 -250
- package/dist/core/index.es.js +64 -64
- package/dist/dashboard/index.es.js +22 -22
- package/dist/debts/index.es.js +22 -22
- package/dist/{exportTransactionsToCSV-Dnd5lVq7.mjs → exportTransactionsToCSV-B2Lp7AMl.mjs} +7 -7
- package/dist/finstrong/index.es.js +22 -22
- package/dist/goals/index.es.js +17 -17
- package/dist/help/index.es.js +5 -5
- package/dist/{hooks-BxkfR-Ff.mjs → hooks-HwStH7q_.mjs} +9 -9
- package/dist/insights/index.es.js +328 -328
- package/dist/investments/index.es.js +10 -10
- package/dist/merchants/index.es.js +9 -9
- package/dist/microinsights/index.es.js +1 -1
- package/dist/networth/index.es.js +25 -25
- package/dist/notifications/index.es.js +5 -5
- package/dist/recurringtransactions/index.es.js +23 -23
- package/dist/settings/index.es.js +96 -96
- package/dist/spending/index.es.js +65 -65
- package/dist/transactions/index.es.js +74 -74
- package/dist/trends/index.es.js +55 -55
- package/dist/{useAccountDisplayName-DKwT1mWv.mjs → useAccountDisplayName-SrQA7K_6.mjs} +1 -1
- package/dist/{useInsightsEnabled-DL_oNyI0.mjs → useInsightsEnabled-DzvRm5Bo.mjs} +1 -1
- package/dist/{useScreenSize-CUcpY7aJ.mjs → useScreenSize-CeFhWTt_.mjs} +1 -1
- package/dist/{useWidgetLoadTimer-DgN1bTyu.mjs → useWidgetLoadTimer-wkBTL5xx.mjs} +1 -1
- package/package.json +20 -20
- package/dist/DateUtil-C57sqxn4.mjs +0 -54
- package/dist/MicroWidgetContainer-B_EnfvCq.mjs +0 -45
- package/dist/MiniWidgetContainer-Bhkv-hpz.mjs +0 -66
- package/dist/WidgetContainer-Bc75FqK7.mjs +0 -468
|
@@ -4,7 +4,7 @@ import { observer as $ } from "mobx-react-lite";
|
|
|
4
4
|
import _ from "@mui/material/Stack";
|
|
5
5
|
import Fe from "@mui/material/Tab";
|
|
6
6
|
import Ee from "@mui/material/Tabs";
|
|
7
|
-
import { C as pe } from "../ConnectionsDrawer-
|
|
7
|
+
import { C as pe } from "../ConnectionsDrawer-DxpSlJN7.mjs";
|
|
8
8
|
import xe from "@mui/material/useMediaQuery";
|
|
9
9
|
import Ne from "@mui/material/Box";
|
|
10
10
|
import Me from "@mui/material/Collapse";
|
|
@@ -16,13 +16,13 @@ import ye from "@mui/material/ToggleButton";
|
|
|
16
16
|
import fe from "@mui/material/ToggleButtonGroup";
|
|
17
17
|
import { Text as i, P as X, InstitutionLogo as oe } from "@mxenabled/mxui";
|
|
18
18
|
import Ue from "@mui/material/Button";
|
|
19
|
-
import { u as N, g as ve, s as U, b as J, d as le } from "../hooks-
|
|
19
|
+
import { u as N, g as ve, s as U, b as J, d as le } from "../hooks-HwStH7q_.mjs";
|
|
20
20
|
import { A as z } from "../Analytics-0Xm_BjHU.mjs";
|
|
21
|
-
import {
|
|
22
|
-
import { u as j } from "../useScreenSize-
|
|
21
|
+
import { f as ie, a as je } from "../NumberFormatting-CyrvFgfd.mjs";
|
|
22
|
+
import { u as j } from "../useScreenSize-CeFhWTt_.mjs";
|
|
23
23
|
import ce from "@mui/material/styles/useTheme";
|
|
24
24
|
import { Icon as B } from "@mxenabled/mx-icons";
|
|
25
|
-
import { D as He } from "../Donut-
|
|
25
|
+
import { D as He } from "../Donut-D7ekbgf5.mjs";
|
|
26
26
|
import { useTheme as ze } from "@mui/material/styles";
|
|
27
27
|
import { f as Oe, A as V } from "../InvestmentUtil-BItV7uEs.mjs";
|
|
28
28
|
import Ve from "@mui/material/ListItemText";
|
|
@@ -34,13 +34,13 @@ import we from "@mui/material/AccordionSummary";
|
|
|
34
34
|
import re from "@mui/material/Paper";
|
|
35
35
|
import p from "@mui/system/Stack";
|
|
36
36
|
import Ce from "@mui/material/TextField";
|
|
37
|
-
import { D as $e } from "../Drawer-
|
|
37
|
+
import { D as $e } from "../Drawer-XPaLYjiO.mjs";
|
|
38
38
|
import { DataGridPro as Pe } from "@mui/x-data-grid-pro";
|
|
39
39
|
import { Stack as qe } from "@mui/material";
|
|
40
|
-
import { L as De } from "../Loader-
|
|
41
|
-
import { u as Ke } from "../useWidgetLoadTimer-
|
|
42
|
-
import { W as Ye } from "../WidgetContainer-
|
|
43
|
-
import { A as Qe } from "../Account-
|
|
40
|
+
import { L as De } from "../Loader-CxeBwuPG.mjs";
|
|
41
|
+
import { u as Ke } from "../useWidgetLoadTimer-wkBTL5xx.mjs";
|
|
42
|
+
import { W as Ye } from "../WidgetContainer-CCR7I0gu.mjs";
|
|
43
|
+
import { A as Qe } from "../Account-CMjOp7S2.mjs";
|
|
44
44
|
import { E as Je } from "../EmptyState-DHAkGsjk.mjs";
|
|
45
45
|
const me = ({ sx: t = {} }) => {
|
|
46
46
|
const { investments: u } = N(), { onEvent: c } = ve(), { setShowConnectionsWidget: m } = U();
|
|
@@ -2,7 +2,7 @@ import { jsx as e, jsxs as r } from "react/jsx-runtime";
|
|
|
2
2
|
import s from "react";
|
|
3
3
|
import { observer as y } from "mobx-react-lite";
|
|
4
4
|
import { useVirtualizer as M } from "@tanstack/react-virtual";
|
|
5
|
-
import
|
|
5
|
+
import l from "@mui/material/Box";
|
|
6
6
|
import I from "@mui/material/Divider";
|
|
7
7
|
import z from "@mui/material/List";
|
|
8
8
|
import E from "@mui/material/ListItem";
|
|
@@ -12,15 +12,15 @@ 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 { c as v, u as w, b as C } from "../hooks-
|
|
16
|
-
import { L as p } from "../Loader-
|
|
15
|
+
import { c as v, u as w, b as C } from "../hooks-HwStH7q_.mjs";
|
|
16
|
+
import { L as p } from "../Loader-CxeBwuPG.mjs";
|
|
17
17
|
import { S as N } from "../SearchBox-CwDgvWVJ.mjs";
|
|
18
18
|
import { M as ne } from "../MerchantStore-CyZTv-BM.mjs";
|
|
19
19
|
const B = /^[ a-zA-ZÀ-ÿ0-9]+$/, H = 50, u = 65, P = ({
|
|
20
20
|
height: f = "calc(100dvh - 120px)",
|
|
21
21
|
onSelect: g
|
|
22
22
|
}) => {
|
|
23
|
-
const { isLoading:
|
|
23
|
+
const { isLoading: m, merchants: o, loadMerchants: c } = v(), { common: a } = w(), { isCopyLoaded: L } = C(), [x, S] = s.useState("");
|
|
24
24
|
s.useEffect(() => {
|
|
25
25
|
c().finally();
|
|
26
26
|
}, [c]);
|
|
@@ -45,13 +45,13 @@ const B = /^[ a-zA-ZÀ-ÿ0-9]+$/, H = 50, u = 65, P = ({
|
|
|
45
45
|
searchValue: x
|
|
46
46
|
}
|
|
47
47
|
),
|
|
48
|
-
/* @__PURE__ */ e(A, { sx: { boxShadow: "none" }, children: /* @__PURE__ */ e(z, { children: /* @__PURE__ */ r(
|
|
49
|
-
/* @__PURE__ */ r(
|
|
50
|
-
|
|
51
|
-
!
|
|
48
|
+
/* @__PURE__ */ e(A, { sx: { boxShadow: "none" }, children: /* @__PURE__ */ e(z, { children: /* @__PURE__ */ r(l, { height: f, overflow: "auto", ref: h, children: [
|
|
49
|
+
/* @__PURE__ */ r(l, { height: i.getTotalSize(), position: "relative", children: [
|
|
50
|
+
m && /* @__PURE__ */ e(p, { label: "Loading...", size: 32 }),
|
|
51
|
+
!m && i.getVirtualItems().length > 0 && i.getVirtualItems().map((t) => {
|
|
52
52
|
const n = o[t.index];
|
|
53
53
|
return /* @__PURE__ */ r(
|
|
54
|
-
|
|
54
|
+
l,
|
|
55
55
|
{
|
|
56
56
|
height: u,
|
|
57
57
|
position: "absolute",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as u, B as s, C as c,
|
|
1
|
+
import { A as u, B as s, C as c, I as v, a as C, b as R, M as H, c as M, d as F, N as V, V as k, Z as x } from "../ViewMoreMicroCard-C7dC9lDT.mjs";
|
|
2
2
|
import { jsx as e, jsxs as l } from "react/jsx-runtime";
|
|
3
3
|
const a = ({
|
|
4
4
|
color: i = "currentColor",
|
|
@@ -3,42 +3,42 @@ import { fromUnixTime as rt } from "date-fns/fromUnixTime";
|
|
|
3
3
|
import { observer as _ } from "mobx-react-lite";
|
|
4
4
|
import it from "@mui/material/Stack/Stack";
|
|
5
5
|
import { useTheme as z } from "@mui/material/styles";
|
|
6
|
-
import { L as at } from "../LineChart-
|
|
7
|
-
import {
|
|
8
|
-
import { u as q } from "../
|
|
6
|
+
import { L as at } from "../LineChart-jJVBE8V8.mjs";
|
|
7
|
+
import { u as Y } from "../useScreenSize-CeFhWTt_.mjs";
|
|
8
|
+
import { p as st, q as R, u as E, g as G, d as ct, b as q } from "../hooks-HwStH7q_.mjs";
|
|
9
9
|
import { f as lt, D as mt } from "../DateFormats-CaOj_4eI.mjs";
|
|
10
10
|
import u from "react";
|
|
11
11
|
import dt from "@mui/material/Button";
|
|
12
12
|
import L from "@mui/material/Divider";
|
|
13
|
-
import
|
|
13
|
+
import j from "@mui/material/List";
|
|
14
14
|
import A from "@mui/material/ListSubheader";
|
|
15
15
|
import d from "@mui/material/Stack";
|
|
16
16
|
import { Text as m, Icon as H, P as Z } from "@mxenabled/mxui";
|
|
17
17
|
import O from "@mui/material/ListItem";
|
|
18
18
|
import J from "@mui/material/ListItemButton";
|
|
19
19
|
import b from "@mui/material/ListItemText";
|
|
20
|
-
import {
|
|
20
|
+
import { j as Q } from "../DateUtil-D0TO0DaZ.mjs";
|
|
21
21
|
import { C as x } from "../CurrencyText-oqd6cX3M.mjs";
|
|
22
22
|
import P from "@mui/material/styles/useTheme";
|
|
23
23
|
import { Stack as ht } from "@mui/material";
|
|
24
24
|
import tt from "@mui/material/Box";
|
|
25
25
|
import pt from "@mui/material/Collapse";
|
|
26
26
|
import F from "@mui/material/ListItemIcon";
|
|
27
|
-
import { g as K } from "../NetWorthStore-
|
|
28
|
-
import { N as Se } from "../NetWorthStore-
|
|
29
|
-
import { D as U } from "../Drawer-
|
|
27
|
+
import { g as K } from "../NetWorthStore-BY-B_hxy.mjs";
|
|
28
|
+
import { N as Se } from "../NetWorthStore-BY-B_hxy.mjs";
|
|
29
|
+
import { D as U } from "../Drawer-XPaLYjiO.mjs";
|
|
30
30
|
import { A as v } from "../Analytics-0Xm_BjHU.mjs";
|
|
31
31
|
import { format as ut, fromUnixTime as ft, differenceInMonths as xt } from "date-fns";
|
|
32
32
|
import { Icon as et } from "@mxenabled/mx-icons";
|
|
33
33
|
import { f as V } from "../NumberFormatting-CyrvFgfd.mjs";
|
|
34
|
-
import { u as nt } from "../useWidgetLoadTimer-
|
|
35
|
-
import { L as ot } from "../Loader-
|
|
36
|
-
import { M as gt } from "../MicroWidgetContainer-
|
|
37
|
-
import { C as yt } from "../ConnectionsDrawer-
|
|
38
|
-
import { W as Ct } from "../WidgetContainer-
|
|
34
|
+
import { u as nt } from "../useWidgetLoadTimer-wkBTL5xx.mjs";
|
|
35
|
+
import { L as ot } from "../Loader-CxeBwuPG.mjs";
|
|
36
|
+
import { M as gt } from "../MicroWidgetContainer-CEcwdfti.mjs";
|
|
37
|
+
import { C as yt } from "../ConnectionsDrawer-DxpSlJN7.mjs";
|
|
38
|
+
import { W as Ct } from "../WidgetContainer-CCR7I0gu.mjs";
|
|
39
39
|
import { E as bt } from "../EmptyState-DHAkGsjk.mjs";
|
|
40
40
|
const _t = () => {
|
|
41
|
-
const { isMobile: e } =
|
|
41
|
+
const { isMobile: e } = Y(), { availableWidth: s } = st(), i = z(), {
|
|
42
42
|
hoveredData: n,
|
|
43
43
|
netWorthChartData: a,
|
|
44
44
|
selectedData: o,
|
|
@@ -159,7 +159,7 @@ const _t = () => {
|
|
|
159
159
|
/* @__PURE__ */ t(m, { variant: "body1", children: o.total_change }),
|
|
160
160
|
e && /* @__PURE__ */ t(B, { currencyVariant: "h1", iconSize: 32, netWorth: e, theme: c })
|
|
161
161
|
] }),
|
|
162
|
-
/* @__PURE__ */ r(
|
|
162
|
+
/* @__PURE__ */ r(j, { children: [
|
|
163
163
|
/* @__PURE__ */ t(A, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ t(
|
|
164
164
|
b,
|
|
165
165
|
{
|
|
@@ -250,7 +250,7 @@ const _t = () => {
|
|
|
250
250
|
/* @__PURE__ */ t(F, { children: n ? /* @__PURE__ */ t(H, { name: "expand_less", size: 24 }) : /* @__PURE__ */ t(H, { name: "expand_more", size: 24 }) })
|
|
251
251
|
] }) }),
|
|
252
252
|
/* @__PURE__ */ t(L, {}),
|
|
253
|
-
/* @__PURE__ */ t(pt, { in: n, timeout: "auto", unmountOnExit: !0, children: e.map((o, c) => /* @__PURE__ */ r(
|
|
253
|
+
/* @__PURE__ */ t(pt, { in: n, timeout: "auto", unmountOnExit: !0, children: e.map((o, c) => /* @__PURE__ */ r(j, { children: [
|
|
254
254
|
/* @__PURE__ */ t(O, { sx: () => ({ py: 14 }), children: /* @__PURE__ */ t(
|
|
255
255
|
b,
|
|
256
256
|
{
|
|
@@ -317,7 +317,7 @@ const _t = () => {
|
|
|
317
317
|
]
|
|
318
318
|
}
|
|
319
319
|
),
|
|
320
|
-
/* @__PURE__ */ r(
|
|
320
|
+
/* @__PURE__ */ r(j, { children: [
|
|
321
321
|
/* @__PURE__ */ t(A, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ t(
|
|
322
322
|
b,
|
|
323
323
|
{
|
|
@@ -369,11 +369,11 @@ const _t = () => {
|
|
|
369
369
|
y(!0), i(v.NET_WORTH_WIDGET_CLICK_ASSETS_LIABILITIES);
|
|
370
370
|
}, M = (p) => {
|
|
371
371
|
g(p);
|
|
372
|
-
},
|
|
372
|
+
}, $ = () => {
|
|
373
373
|
g(-1);
|
|
374
374
|
};
|
|
375
375
|
return /* @__PURE__ */ r(d, { direction: "column", sx: { width: 320 }, children: [
|
|
376
|
-
/* @__PURE__ */ r(
|
|
376
|
+
/* @__PURE__ */ r(j, { children: [
|
|
377
377
|
/* @__PURE__ */ t(A, { sx: { backgroundColor: "transparent", mb: 8, mt: 12, px: 12 }, children: /* @__PURE__ */ t(m, { bold: !0, component: "h2", variant: "body1", children: e.monthly_totals }) }),
|
|
378
378
|
/* @__PURE__ */ t(L, {}),
|
|
379
379
|
c.map((p, C) => /* @__PURE__ */ t(
|
|
@@ -385,7 +385,7 @@ const _t = () => {
|
|
|
385
385
|
item: p,
|
|
386
386
|
onItemClick: (T) => N(T, C),
|
|
387
387
|
onMouseEnter: () => M(C),
|
|
388
|
-
onMouseLeave: () =>
|
|
388
|
+
onMouseLeave: () => $()
|
|
389
389
|
},
|
|
390
390
|
p.x
|
|
391
391
|
))
|
|
@@ -450,7 +450,7 @@ const _t = () => {
|
|
|
450
450
|
/* @__PURE__ */ t(Z, { sx: { color: "text.secondary" }, variant: "body2", children: e.zero_state_description })
|
|
451
451
|
] })
|
|
452
452
|
] }), _e = _(({ onCTAClick: e }) => {
|
|
453
|
-
const { visibleAccounts: s } = ct(), { onEvent: i } = G(), { net_worth: n, common: a } = E(), { isInitialized: o } =
|
|
453
|
+
const { visibleAccounts: s } = ct(), { onEvent: i } = G(), { net_worth: n, common: a } = E(), { isInitialized: o } = q(), { isNetWorthDataLoaded: c, loadNetWorthData: l, netWorthData: g, selectedData: f } = R();
|
|
454
454
|
if (u.useEffect(() => {
|
|
455
455
|
c || l().finally();
|
|
456
456
|
}, []), nt({
|
|
@@ -484,7 +484,7 @@ const _t = () => {
|
|
|
484
484
|
}
|
|
485
485
|
);
|
|
486
486
|
}), we = _(({ onBackClick: e, onMenuClick: s }) => {
|
|
487
|
-
const { isInitialized: i } =
|
|
487
|
+
const { isInitialized: i } = q(), { accounts: n, net_worth: a } = E(), {
|
|
488
488
|
hoveredData: o,
|
|
489
489
|
isNetWorthDataLoaded: c,
|
|
490
490
|
loadNetWorthData: l,
|
|
@@ -492,7 +492,7 @@ const _t = () => {
|
|
|
492
492
|
selectedData: f,
|
|
493
493
|
setTimeframe: W,
|
|
494
494
|
timeframe: S
|
|
495
|
-
} = R(), { isMobile: w } =
|
|
495
|
+
} = R(), { isMobile: w } = Y(), { onEvent: y } = G(), [k, N] = u.useState(!1);
|
|
496
496
|
nt({
|
|
497
497
|
widgetName: "NetWorthWidget",
|
|
498
498
|
isLoaded: c
|
|
@@ -508,7 +508,7 @@ const _t = () => {
|
|
|
508
508
|
N(!0), y(v.ACCOUNTS_CLICK_CONNECT);
|
|
509
509
|
};
|
|
510
510
|
if (!i || !c) return /* @__PURE__ */ t(ot, {});
|
|
511
|
-
const
|
|
511
|
+
const $ = g.length === 0;
|
|
512
512
|
return /* @__PURE__ */ r(
|
|
513
513
|
Ct,
|
|
514
514
|
{
|
|
@@ -519,7 +519,7 @@ const _t = () => {
|
|
|
519
519
|
onMenuClick: s,
|
|
520
520
|
title: a.net_worth,
|
|
521
521
|
children: [
|
|
522
|
-
|
|
522
|
+
$ ? /* @__PURE__ */ t(tt, { sx: { justifyItems: "center" }, children: /* @__PURE__ */ t(
|
|
523
523
|
bt,
|
|
524
524
|
{
|
|
525
525
|
header: a.empty_widget_header,
|
|
@@ -9,16 +9,16 @@ import b from "@mui/material/Box";
|
|
|
9
9
|
import R from "@mui/material/Divider";
|
|
10
10
|
import O from "@mui/material/List";
|
|
11
11
|
import { Text as g, InstitutionLogo as G, CategoryIcon as E } from "@mxenabled/mxui";
|
|
12
|
-
import {
|
|
12
|
+
import { i as j } from "../DateUtil-D0TO0DaZ.mjs";
|
|
13
13
|
import { useTheme as z, Card as U } from "@mui/material";
|
|
14
|
-
import { d as F, m as P, u as C, n as w, b as v, a as V } from "../hooks-
|
|
14
|
+
import { d as F, m as P, u as C, n as w, b as v, a as V } from "../hooks-HwStH7q_.mjs";
|
|
15
15
|
import { Icon as W, Settings as $ } from "@mxenabled/mx-icons";
|
|
16
16
|
import M from "@mui/material/Button";
|
|
17
17
|
import X from "@mui/material/Stack";
|
|
18
|
-
import { L as k } from "../Loader-
|
|
18
|
+
import { L as k } from "../Loader-CxeBwuPG.mjs";
|
|
19
19
|
import Y from "@mui/material/IconButton";
|
|
20
|
-
import { N as q } from "../NotificationSettings-
|
|
21
|
-
import { D as x } from "../Drawer-
|
|
20
|
+
import { N as q } from "../NotificationSettings-DOgnTxzv.mjs";
|
|
21
|
+
import { D as x } from "../Drawer-XPaLYjiO.mjs";
|
|
22
22
|
const xt = (i) => {
|
|
23
23
|
switch (i) {
|
|
24
24
|
case N.BudgetExceeded:
|
|
@@ -6,8 +6,8 @@ import { endOfToday as J } from "date-fns/endOfToday";
|
|
|
6
6
|
import { startOfMonth as k } from "date-fns/startOfMonth";
|
|
7
7
|
import { startOfToday as Q } from "date-fns/startOfToday";
|
|
8
8
|
import { subDays as ee } from "date-fns/subDays";
|
|
9
|
-
import { R as Te } from "../RecurringSettings-
|
|
10
|
-
import { M as jn } from "../RecurringSettings-
|
|
9
|
+
import { R as Te } from "../RecurringSettings-CIpZL4CX.mjs";
|
|
10
|
+
import { M as jn } from "../RecurringSettings-CIpZL4CX.mjs";
|
|
11
11
|
import { addMonths as He } from "date-fns/addMonths";
|
|
12
12
|
import { subMonths as $e } from "date-fns/subMonths";
|
|
13
13
|
import { isBefore as Be } from "date-fns/isBefore";
|
|
@@ -16,7 +16,7 @@ import ge from "@mui/material/IconButton";
|
|
|
16
16
|
import l from "@mui/material/Stack";
|
|
17
17
|
import he from "@mui/material/Tab";
|
|
18
18
|
import Fe from "@mui/material/Tabs";
|
|
19
|
-
import {
|
|
19
|
+
import { Cancel as _e, CheckCircle as Se, Schedule as ze, MonetizationOn as Ue, ChevronLeft as Ye, ChevronRight as je, CurrencyExchange as Ke } from "@mxenabled/mx-icons";
|
|
20
20
|
import { Text as h, MerchantLogo as te, InstitutionLogo as Ve, H3 as qe, H2 as Ze, P as Z } from "@mxenabled/mxui";
|
|
21
21
|
import { getWeeksInMonth as fe } from "date-fns/getWeeksInMonth";
|
|
22
22
|
import { enCA as Xe } from "date-fns/locale/en-CA";
|
|
@@ -31,38 +31,38 @@ import { LocalizationProvider as rt } from "@mui/x-date-pickers/LocalizationProv
|
|
|
31
31
|
import { isSameDay as it } from "date-fns/isSameDay";
|
|
32
32
|
import ot from "@mui/material/Badge";
|
|
33
33
|
import { PickersDay as at } from "@mui/x-date-pickers/PickersDay";
|
|
34
|
-
import { I as F } from "../IconBacking-
|
|
35
|
-
import { u as y, b as z, i as I, g as U, p as we, h as re } from "../hooks-
|
|
34
|
+
import { I as F } from "../IconBacking-DgT8DCeh.mjs";
|
|
35
|
+
import { u as y, b as z, i as I, g as U, p as we, h as re } from "../hooks-HwStH7q_.mjs";
|
|
36
36
|
import { a as A, R as D } from "../RepeatingTransaction-D2gmBTd0.mjs";
|
|
37
37
|
import { f as S, D as w } from "../DateFormats-CaOj_4eI.mjs";
|
|
38
|
-
import { T as G } from "../RecurringTransactionsStore-
|
|
39
|
-
import { R as Vn } from "../RecurringTransactionsStore-
|
|
40
|
-
import { g as st, L as W } from "../Localization-C_HZg9tJ.mjs";
|
|
38
|
+
import { T as G } from "../RecurringTransactionsStore-CFJYC7lI.mjs";
|
|
39
|
+
import { R as Vn } from "../RecurringTransactionsStore-CFJYC7lI.mjs";
|
|
41
40
|
import { A as L } from "../Analytics-0Xm_BjHU.mjs";
|
|
41
|
+
import { g as st, L as W } from "../Localization-C_HZg9tJ.mjs";
|
|
42
42
|
import ct from "@mui/material/Button";
|
|
43
43
|
import X from "@mui/material/Divider";
|
|
44
44
|
import be from "@mui/material/List";
|
|
45
45
|
import Ie from "@mui/material/ListItem";
|
|
46
46
|
import lt from "@mui/material/ListSubheader";
|
|
47
|
-
import { g as Ce, d as dt } from "../RecurringTransactions-
|
|
47
|
+
import { g as Ce, d as dt } from "../RecurringTransactions-DCt94TN4.mjs";
|
|
48
48
|
import ut from "@mui/material/ListItemAvatar";
|
|
49
49
|
import mt from "@mui/material/ListItemButton";
|
|
50
50
|
import pt from "@mui/material/ListItemText";
|
|
51
|
-
import { d as gt } from "../ManageIncome-
|
|
52
|
-
import { c as Zn, M as Xn, S as Jn } from "../ManageIncome-
|
|
51
|
+
import { d as gt } from "../ManageIncome-CrHDAku7.mjs";
|
|
52
|
+
import { c as Zn, M as Xn, S as Jn } from "../ManageIncome-CrHDAku7.mjs";
|
|
53
53
|
import { f as E } from "../NumberFormatting-CyrvFgfd.mjs";
|
|
54
|
-
import { D as ie } from "../Drawer-
|
|
54
|
+
import { D as ie } from "../Drawer-XPaLYjiO.mjs";
|
|
55
55
|
import { b as N } from "../Localization-CkQ49EKr.mjs";
|
|
56
56
|
import O from "@mui/material/Box";
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
57
|
+
import { u as Me } from "../useScreenSize-CeFhWTt_.mjs";
|
|
58
|
+
import { S as Le } from "../StatusBar-CPfSXe80.mjs";
|
|
59
59
|
import { S as ve } from "../SkeletonLoader-BaNboJjD.mjs";
|
|
60
|
-
import { u as oe } from "../useWidgetLoadTimer-
|
|
61
|
-
import { L as ae } from "../Loader-
|
|
62
|
-
import { W as ht } from "../WidgetContainer-
|
|
63
|
-
import { M as ft } from "../MiniWidgetContainer-
|
|
60
|
+
import { u as oe } from "../useWidgetLoadTimer-wkBTL5xx.mjs";
|
|
61
|
+
import { L as ae } from "../Loader-CxeBwuPG.mjs";
|
|
62
|
+
import { W as ht } from "../WidgetContainer-CCR7I0gu.mjs";
|
|
63
|
+
import { M as ft } from "../MiniWidgetContainer-CmTGSUL5.mjs";
|
|
64
64
|
import { u as xt } from "../useDimensions-CeDR9V8N.mjs";
|
|
65
|
-
import { M as bt } from "../MicroWidgetContainer-
|
|
65
|
+
import { M as bt } from "../MicroWidgetContainer-CEcwdfti.mjs";
|
|
66
66
|
const Y = {
|
|
67
67
|
gridRow: 1,
|
|
68
68
|
gridColumn: 1,
|
|
@@ -453,7 +453,7 @@ const Y = {
|
|
|
453
453
|
}
|
|
454
454
|
), De = R(
|
|
455
455
|
({ expected: t, isExpense: n = !0, missed: r, paid: i, title: o, total: c, upcoming: u }) => {
|
|
456
|
-
const p = ne(), { isSmallMobile: a } =
|
|
456
|
+
const p = ne(), { isSmallMobile: a } = Me(), { recurring: d } = y(), m = x.useMemo(() => {
|
|
457
457
|
const g = [{ color: p.palette.success.main, percentage: `${i / t}` }];
|
|
458
458
|
return r && g.push({ color: p.palette.error.main, percentage: `${r / t}` }), g;
|
|
459
459
|
}, [i, t, r]);
|
|
@@ -462,7 +462,7 @@ const Y = {
|
|
|
462
462
|
/* @__PURE__ */ e(h, { bold: !0, variant: "body1", children: `${o} (${c})` }),
|
|
463
463
|
/* @__PURE__ */ e(h, { bold: !0, color: n ? "text.primary" : "success.main", variant: "body1", children: `${n ? "-" : "+"}${E(t, "0,0.00")}` })
|
|
464
464
|
] }),
|
|
465
|
-
/* @__PURE__ */ e(
|
|
465
|
+
/* @__PURE__ */ e(Le, { data: m, height: 12 }),
|
|
466
466
|
/* @__PURE__ */ s(l, { sx: { alignItems: "center", flexDirection: "row", gap: 2, my: 8 }, children: [
|
|
467
467
|
/* @__PURE__ */ e(O, { sx: { bgcolor: "success.main", height: 8, mr: 8, width: 8 } }),
|
|
468
468
|
!a && /* @__PURE__ */ e(h, { bold: !0, variant: "body2", children: E(i, "0,0.00") }),
|
|
@@ -479,7 +479,7 @@ const Y = {
|
|
|
479
479
|
] });
|
|
480
480
|
}
|
|
481
481
|
), _t = R(() => {
|
|
482
|
-
const { recurring: t } = y(), { availableWidth: n } = we(), { isDesktop: r, isSmallMobile: i, isMobile: o } =
|
|
482
|
+
const { recurring: t } = y(), { availableWidth: n } = we(), { isDesktop: r, isSmallMobile: i, isMobile: o } = Me(n), { onEvent: c } = U(), {
|
|
483
483
|
currentMonthExpenses: u,
|
|
484
484
|
currentMonthIncome: p,
|
|
485
485
|
dateRange: a,
|
|
@@ -872,7 +872,7 @@ const Y = {
|
|
|
872
872
|
M()
|
|
873
873
|
] }),
|
|
874
874
|
/* @__PURE__ */ s(l, { sx: { pt: 12 }, children: [
|
|
875
|
-
/* @__PURE__ */ e(
|
|
875
|
+
/* @__PURE__ */ e(Le, { data: v }),
|
|
876
876
|
/* @__PURE__ */ e(
|
|
877
877
|
l,
|
|
878
878
|
{
|