@mx-cartographer/experiences 7.4.6-alpha.mm2 → 7.4.7-alpha.mega1
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 +12 -0
- package/dist/{Account-BQE_ANvF.mjs → Account-01wOyrH1.mjs} +1 -1
- package/dist/{AccountDetailsContent-C6LkHJuy.mjs → AccountDetailsContent-COMjOzwr.mjs} +8 -8
- package/dist/{AccountDetailsHeader-CCkHHK_n.mjs → AccountDetailsHeader-Cbi5G6fJ.mjs} +4 -4
- package/dist/{AccountFields-DdOw6d6w.mjs → AccountFields-Cd_nOWmf.mjs} +2 -2
- package/dist/{AccountListItem-CZhCiU7q.mjs → AccountListItem-DxY4cCF1.mjs} +4 -4
- package/dist/{AccountStore-kxFbaz-K.mjs → AccountStore-C1zMBzHq.mjs} +2 -2
- package/dist/{Accounts-D_768tYo.mjs → Accounts-D7QljYas.mjs} +1 -1
- package/dist/{BudgetUtil-C5fTz_GJ.mjs → BudgetUtil-Df2nII9u.mjs} +1 -1
- package/dist/{CategorySelectorDrawer-l3tOyiqD.mjs → CategorySelectorDrawer-DqJK_rrL.mjs} +1 -1
- package/dist/{ConnectDrawer-g2IXvoSS.mjs → ConnectDrawer-CuUj16NH.mjs} +1 -1
- package/dist/{ConnectionsDrawer-vSEOHrUC.mjs → ConnectionsDrawer-Bz4uwdFE.mjs} +6 -6
- package/dist/{CurrencyInput-BnaVaZBU.mjs → CurrencyInput-BFKcs-_K.mjs} +6 -6
- package/dist/{DebtsStore-CFk9t-Ky.mjs → DebtsStore-Bu8rRRSL.mjs} +1 -1
- package/dist/{Donut-oaQFlbit.mjs → Donut-Dmy3JTWd.mjs} +12 -12
- package/dist/{ExportCsvAction-DSi2a4NQ.mjs → ExportCsvAction-DzTrtPzk.mjs} +3 -3
- package/dist/{GoalStore-DxFUJRd4.mjs → GoalStore-CrNhjvNc.mjs} +2 -2
- package/dist/{Help-D1I72J-F.mjs → Help-BnPXM_N2.mjs} +1 -1
- package/dist/{LineChart-B7MftxPX.mjs → LineChart-bc1D9xBE.mjs} +1 -1
- package/dist/{ListItemAction-Dob72eoG.mjs → ListItemAction-uobBrm_a.mjs} +10 -10
- package/dist/{ManageIncome-DlAUFShc.mjs → ManageIncome-A69EUO5u.mjs} +4 -4
- package/dist/{MicroWidgetContainer-4zS7jJrn.mjs → MicroWidgetContainer-DEiRnYVa.mjs} +1 -1
- package/dist/{MiniWidgetContainer-Csioy5P7.mjs → MiniWidgetContainer-CmXpTylX.mjs} +1 -1
- package/dist/{NetWorthStore-B6sG1eiD.mjs → NetWorthStore-CpL_kqvx.mjs} +2 -2
- package/dist/{NotificationSettings-ByORHzRI.mjs → NotificationSettings-CNmJWVeI.mjs} +3 -3
- package/dist/{OriginalBalanceAction-BmSYWwSx.mjs → OriginalBalanceAction-DK8_LkPz.mjs} +3 -3
- package/dist/{RecurringSettings-CZvd4Wuv.mjs → RecurringSettings-B0uObPlD.mjs} +12 -12
- package/dist/{SpendingLegend-CbNAMdPH.mjs → SpendingLegend-Bf-wbJvb.mjs} +11 -11
- package/dist/{TransactionDetails-DnLXfvDL.mjs → TransactionDetails-COH0OKNG.mjs} +5 -5
- package/dist/{TransactionStore-BOiv_pDO.mjs → TransactionStore-Dz-G8Wd0.mjs} +2 -2
- package/dist/{User-BmdvAL7I.mjs → User-wXzDI4M8.mjs} +1 -1
- package/dist/{WidgetContainer-DR_iRKNU.mjs → WidgetContainer-6dsjtOVg.mjs} +2 -2
- package/dist/accounts/index.es.js +119 -121
- package/dist/analytics/index.es.js +2 -2
- package/dist/budgets/index.es.js +10 -10
- package/dist/cashflow/index.es.js +8 -8
- package/dist/categories/index.es.js +1 -1
- package/dist/common/components/charts/index.d.ts +0 -1
- package/dist/common/hooks/index.d.ts +0 -1
- package/dist/common/index.es.js +96 -100
- package/dist/dashboard/index.es.js +88 -90
- package/dist/debts/index.es.js +9 -9
- package/dist/{exportTransactionsToCSV-DoKUltKJ.mjs → exportTransactionsToCSV-Cz2t0lmA.mjs} +1 -1
- package/dist/finstrong/index.es.js +10 -10
- package/dist/goals/index.es.js +251 -249
- package/dist/help/index.es.js +5 -5
- package/dist/{hooks-DtrRa6Lb.mjs → hooks-C41HAxM5.mjs} +10 -10
- package/dist/investments/index.es.js +4 -4
- package/dist/merchants/index.es.js +1 -1
- package/dist/networth/index.es.js +173 -173
- package/dist/notifications/index.es.js +2 -2
- package/dist/recurringtransactions/index.es.js +8 -8
- package/dist/settings/index.es.js +6 -6
- package/dist/spending/index.es.js +7 -7
- package/dist/spending/utils/SpendingData.d.ts +2 -1
- package/dist/transactions/index.es.js +13 -13
- package/dist/trends/index.es.js +171 -170
- package/dist/useAccountDisplayName-CMMlIOXF.mjs +15 -0
- package/dist/{useInsightsEnabled-v_GGt72p.mjs → useInsightsEnabled-CNjP5cfR.mjs} +1 -1
- package/package.json +1 -1
- package/dist/common/hooks/useWidgetLoadTimer.d.ts +0 -24
- package/dist/useAccountDisplayName-BUtYhbqe.mjs +0 -15
- package/dist/useWidgetLoadTimer-CY26D0n1.mjs +0 -23
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## [7.4.7] - 12-12-2025
|
|
2
|
+
|
|
3
|
+
- **UPDATED** - Improved `D3` chunk loading for better performance.
|
|
4
|
+
|
|
5
|
+
## [7.4.6] - 12-12-2025
|
|
6
|
+
|
|
7
|
+
- **FIXED** - Mobile issues on Financial Wellness Card
|
|
8
|
+
|
|
9
|
+
## [7.4.5] - 12-12-2025
|
|
10
|
+
|
|
11
|
+
- **FIXED** - `Goals Widget` - Accounts Filter is fixed in Goals widget
|
|
12
|
+
|
|
1
13
|
## [7.4.4] - 12-11-2025
|
|
2
14
|
|
|
3
15
|
- **FIXED** - `FinStrong` - Missing data issue and loading issue fix
|
|
@@ -11,10 +11,10 @@ import M from "@mui/material/Divider";
|
|
|
11
11
|
import v from "@mui/material/ListItem";
|
|
12
12
|
import N from "@mui/material/ListItemButton";
|
|
13
13
|
import w from "@mui/material/ListItemText";
|
|
14
|
-
import { u as D } from "./AccountDetailsHeader-
|
|
15
|
-
import {
|
|
16
|
-
import { A as at } from "./AccountListItem-
|
|
17
|
-
import { A as k } from "./WidgetContainer-
|
|
14
|
+
import { u as D } from "./AccountDetailsHeader-Cbi5G6fJ.mjs";
|
|
15
|
+
import { d as z, u as E, g as O, h as X } from "./hooks-C41HAxM5.mjs";
|
|
16
|
+
import { A as at } from "./AccountListItem-DxY4cCF1.mjs";
|
|
17
|
+
import { A as k } from "./WidgetContainer-6dsjtOVg.mjs";
|
|
18
18
|
import { D as V, f as B, a as K } from "./Dialog-BPTr3qHE.mjs";
|
|
19
19
|
import { b as h } from "./Localization-2MODESHW.mjs";
|
|
20
20
|
import { D as J } from "./Drawer-BEtCk82g.mjs";
|
|
@@ -22,7 +22,7 @@ import P from "@mui/material/ListItemAvatar";
|
|
|
22
22
|
import ct from "@mui/material/Stack";
|
|
23
23
|
import st from "@mui/material/styles/useTheme";
|
|
24
24
|
import { Error as q, CheckCircle as it, Language as rt } from "@mxenabled/mx-icons";
|
|
25
|
-
import { n as m, N as Q, l as Z, F as R } from "./ConnectDrawer-
|
|
25
|
+
import { n as m, N as Q, l as Z, F as R } from "./ConnectDrawer-CuUj16NH.mjs";
|
|
26
26
|
import { fromUnixTime as lt } from "date-fns/fromUnixTime";
|
|
27
27
|
import { isToday as dt } from "date-fns/isToday";
|
|
28
28
|
import { isYesterday as ut } from "date-fns/isYesterday";
|
|
@@ -37,14 +37,14 @@ import { LocalizationProvider as ft } from "@mui/x-date-pickers-pro";
|
|
|
37
37
|
import bt from "@mui/material/MenuItem";
|
|
38
38
|
import At from "@mui/material/Select";
|
|
39
39
|
import Tt from "@mui/material/TextField";
|
|
40
|
-
import { C as St } from "./CurrencyInput-
|
|
41
|
-
import { b as Dt } from "./AccountFields-
|
|
40
|
+
import { C as St } from "./CurrencyInput-BFKcs-_K.mjs";
|
|
41
|
+
import { b as Dt } from "./AccountFields-Cd_nOWmf.mjs";
|
|
42
42
|
import Et from "@mui/material/Alert";
|
|
43
43
|
import yt from "@mui/material/AlertTitle";
|
|
44
44
|
import xt from "@mui/material/Link";
|
|
45
45
|
import wt from "@mui/material/Paper";
|
|
46
46
|
import { subDays as kt, startOfToday as It, endOfToday as Mt } from "date-fns";
|
|
47
|
-
import { T as vt, a as Lt } from "./TransactionDetails-
|
|
47
|
+
import { T as vt, a as Lt } from "./TransactionDetails-COH0OKNG.mjs";
|
|
48
48
|
import { T as j } from "./TabContentContainer-j01JYR_7.mjs";
|
|
49
49
|
const U = ({
|
|
50
50
|
children: e,
|
|
@@ -3,15 +3,15 @@ import { observer as m } from "mobx-react-lite";
|
|
|
3
3
|
import e from "@mui/material/Stack";
|
|
4
4
|
import { H3 as _, InstitutionLogo as x, Text as a, H2 as T } from "@mxenabled/mxui";
|
|
5
5
|
import d from "react";
|
|
6
|
-
import { G as N,
|
|
7
|
-
import { g as I } from "./AccountFields-
|
|
6
|
+
import { G as N, d as f, m as D, f as w, u as E } from "./hooks-C41HAxM5.mjs";
|
|
7
|
+
import { g as I } from "./AccountFields-Cd_nOWmf.mjs";
|
|
8
8
|
import G from "@mui/material/Card";
|
|
9
9
|
import v from "@mui/material/CardContent";
|
|
10
10
|
import O from "@mui/material/CardHeader";
|
|
11
11
|
import { L as H } from "./Loader-DUaFpDGv.mjs";
|
|
12
12
|
import { f as M, a as P } from "./Dialog-BPTr3qHE.mjs";
|
|
13
|
-
import { I as L, P as U, S as j } from "./Account-
|
|
14
|
-
import { u as z } from "./useAccountDisplayName-
|
|
13
|
+
import { I as L, P as U, S as j } from "./Account-01wOyrH1.mjs";
|
|
14
|
+
import { u as z } from "./useAccountDisplayName-CMMlIOXF.mjs";
|
|
15
15
|
import { f as B } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
16
16
|
const p = () => {
|
|
17
17
|
if (!d.useContext(N))
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as u } from "react/jsx-runtime";
|
|
2
2
|
import { Icon as p, Text as y } from "@mxenabled/mxui";
|
|
3
|
-
import { F as m, A as d, a as v, P as h, b as F } from "./ConnectDrawer-
|
|
4
|
-
import { i as T, u as A, a as D, b as g, c as O } from "./Accounts-
|
|
3
|
+
import { F as m, A as d, a as v, P as h, b as F } from "./ConnectDrawer-CuUj16NH.mjs";
|
|
4
|
+
import { i as T, u as A, a as D, b as g, c as O } from "./Accounts-D7QljYas.mjs";
|
|
5
5
|
import { f as _, i as b, a as N, b as S } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
6
6
|
import { b as i } from "./Localization-2MODESHW.mjs";
|
|
7
7
|
import { f as o, a as f } from "./Dialog-BPTr3qHE.mjs";
|
|
@@ -10,10 +10,10 @@ import B from "@mui/material/styles/useTheme";
|
|
|
10
10
|
import { InstitutionLogo as L, Text as o } from "@mxenabled/mxui";
|
|
11
11
|
import { Error as A } from "@mxenabled/mx-icons";
|
|
12
12
|
import { I as j } from "./IconBacking-B9oC6uL2.mjs";
|
|
13
|
-
import { g as T } from "./AccountFields-
|
|
14
|
-
import { u as X } from "./useAccountDisplayName-
|
|
15
|
-
import { d } from "./ConnectDrawer-
|
|
16
|
-
import {
|
|
13
|
+
import { g as T } from "./AccountFields-Cd_nOWmf.mjs";
|
|
14
|
+
import { u as X } from "./useAccountDisplayName-CMMlIOXF.mjs";
|
|
15
|
+
import { d } from "./ConnectDrawer-CuUj16NH.mjs";
|
|
16
|
+
import { u as $ } from "./hooks-C41HAxM5.mjs";
|
|
17
17
|
import { f as k } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
18
18
|
const w = {
|
|
19
19
|
gridRow: 1,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { makeAutoObservable as _, runInAction as a } from "mobx";
|
|
2
|
-
import { i as f } from "./User-
|
|
2
|
+
import { i as f } from "./User-wXzDI4M8.mjs";
|
|
3
3
|
import { F as p, A as i } from "./Fetch-DecPFeGU.mjs";
|
|
4
|
-
import { A as c, h as d, d as h, E as y, i as I, j as b } from "./ConnectDrawer-
|
|
4
|
+
import { A as c, h as d, d as h, E as y, i as I, j as b } from "./ConnectDrawer-CuUj16NH.mjs";
|
|
5
5
|
class A {
|
|
6
6
|
fetchInstance;
|
|
7
7
|
constructor(t, e, n) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as _ } from "./ConnectDrawer-
|
|
1
|
+
import { A as _ } from "./ConnectDrawer-CuUj16NH.mjs";
|
|
2
2
|
const s = (t) => t && (t.account_type === _.CREDIT_CARD || t.account_type === _.LOAN || t.account_type === _.MORTGAGE || t.account_type === _.LINE_OF_CREDIT || t.account_type === _.CHECKING_LINE_OF_CREDIT), p = (t) => t.is_manual || !t.guid, E = (t) => t.account_type === _.LINE_OF_CREDIT || t.account_type === _.CREDIT_CARD || t.account_type === _.CHECKING_LINE_OF_CREDIT, a = (t) => t.account_type === _.SAVINGS || t.account_type === _.CHECKING || t.account_type === _.LINE_OF_CREDIT || t.account_type === _.CREDIT_CARD || t.account_type === _.LOAN || t.account_type === _.MORTGAGE, y = (t) => t.account_type === _.LOAN || t.account_type === _.MORTGAGE;
|
|
3
3
|
export {
|
|
4
4
|
s as a,
|
|
@@ -2,7 +2,7 @@ import { jsx as t, jsxs as E } from "react/jsx-runtime";
|
|
|
2
2
|
import { observer as g } from "mobx-react-lite";
|
|
3
3
|
import C from "react";
|
|
4
4
|
import $ from "@mui/material/Stack";
|
|
5
|
-
import { G as K, m as y,
|
|
5
|
+
import { G as K, m as y, u as b, g as D, b as U } from "./hooks-C41HAxM5.mjs";
|
|
6
6
|
import Y from "@mui/material/List";
|
|
7
7
|
import V from "@mui/material/Paper";
|
|
8
8
|
import v from "@mui/material/Divider";
|
|
@@ -14,7 +14,7 @@ import EE from "@mui/material/ListItemText";
|
|
|
14
14
|
import IE from "@mui/material/Popover";
|
|
15
15
|
import F from "@mui/material/Stack";
|
|
16
16
|
import w from "@mui/material/Checkbox";
|
|
17
|
-
import {
|
|
17
|
+
import { u as o, f as _E, d as NE, e as rE } from "./hooks-C41HAxM5.mjs";
|
|
18
18
|
import { b as W } from "./Localization-2MODESHW.mjs";
|
|
19
19
|
import { u as RE } from "./useScreenSize-B6JyS_Lj.mjs";
|
|
20
20
|
import { observer as Q } from "mobx-react-lite";
|
|
@@ -3,16 +3,16 @@ import s from "react";
|
|
|
3
3
|
import { observer as E } from "mobx-react-lite";
|
|
4
4
|
import { useTheme as b } from "@mui/material/styles";
|
|
5
5
|
import { ConnectionsWidget as D } from "@mxenabled/web-widget-sdk";
|
|
6
|
-
import { C as a, c, M as i } from "./ConnectDrawer-
|
|
7
|
-
import {
|
|
6
|
+
import { C as a, c, M as i } from "./ConnectDrawer-CuUj16NH.mjs";
|
|
7
|
+
import { d as L, e as w, u as _ } from "./hooks-C41HAxM5.mjs";
|
|
8
8
|
import { D as x } from "./Drawer-BEtCk82g.mjs";
|
|
9
9
|
const I = ({
|
|
10
10
|
onClose: l,
|
|
11
11
|
showConnectionsWidget: o,
|
|
12
|
-
title:
|
|
12
|
+
title: u
|
|
13
13
|
}) => {
|
|
14
14
|
let n;
|
|
15
|
-
const { refreshAccounts:
|
|
15
|
+
const { refreshAccounts: m } = L(), { loadWidget: f } = w(), { connect: d } = _(), p = b(), [C, e] = s.useState(!1), [S, t] = s.useState(!1);
|
|
16
16
|
return s.useEffect(() => (o ? (e(!0), f({ widget: "connections_widget", mode: p.palette.mode }).then((h) => {
|
|
17
17
|
n = new D({
|
|
18
18
|
container: `#${a}`,
|
|
@@ -38,9 +38,9 @@ const I = ({
|
|
|
38
38
|
ariaLabelClose: d.close_connections_aria,
|
|
39
39
|
isOpen: o,
|
|
40
40
|
onClose: () => {
|
|
41
|
-
l(),
|
|
41
|
+
l(), m();
|
|
42
42
|
},
|
|
43
|
-
title:
|
|
43
|
+
title: u,
|
|
44
44
|
children: /* @__PURE__ */ g("div", { id: a, children: [
|
|
45
45
|
S && /* @__PURE__ */ r(c, { status: i.Error }),
|
|
46
46
|
C && /* @__PURE__ */ r(c, { status: i.Loading })
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import m from "react";
|
|
3
3
|
import { css as q } from "@mxenabled/cssinjs";
|
|
4
4
|
import { v4 as B } from "uuid";
|
|
5
5
|
import { useTokens as L, TextField as O, P as _ } from "@mxenabled/mxui";
|
|
6
6
|
import { b as y, g as C } from "./Localization-2MODESHW.mjs";
|
|
7
7
|
import { g as W, C as j, f as g, M as b } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
8
|
-
import {
|
|
8
|
+
import { u as D } from "./hooks-C41HAxM5.mjs";
|
|
9
9
|
const F = ({
|
|
10
10
|
allowDecimals: o = !0,
|
|
11
11
|
ariaLabel: h,
|
|
12
12
|
amount: c,
|
|
13
13
|
amountIsRequired: $ = !0,
|
|
14
|
-
copy:
|
|
14
|
+
copy: a,
|
|
15
15
|
customValidate: M = () => !0,
|
|
16
16
|
errorText: S = "",
|
|
17
17
|
label: u,
|
|
@@ -20,9 +20,9 @@ const F = ({
|
|
|
20
20
|
setHasValidInput: r,
|
|
21
21
|
...N
|
|
22
22
|
}) => {
|
|
23
|
-
const [l, t] =
|
|
23
|
+
const [l, t] = m.useState(""), { common: T } = D(), n = a || T.currency_input, k = L(), P = G(k), R = /^[0-9]*$/, A = /^(\d)*(\,)?([0-9]{1,2})?$/, E = /^(\d)*(\.)?([0-9]{1,2})?$/;
|
|
24
24
|
let s;
|
|
25
|
-
const p =
|
|
25
|
+
const p = m.useRef(B());
|
|
26
26
|
if (o)
|
|
27
27
|
switch (W()) {
|
|
28
28
|
case j.CAD:
|
|
@@ -34,7 +34,7 @@ const F = ({
|
|
|
34
34
|
}
|
|
35
35
|
else
|
|
36
36
|
s = R;
|
|
37
|
-
|
|
37
|
+
m.useEffect(() => {
|
|
38
38
|
d(c);
|
|
39
39
|
}, [c]);
|
|
40
40
|
const d = (e) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { makeAutoObservable as l } from "mobx";
|
|
2
2
|
import { getDate as r, fromUnixTime as _, startOfMonth as m } from "date-fns";
|
|
3
|
-
import { A as p } from "./ConnectDrawer-
|
|
3
|
+
import { A as p } from "./ConnectDrawer-CuUj16NH.mjs";
|
|
4
4
|
const E = 12, T = 100;
|
|
5
5
|
var c = /* @__PURE__ */ ((a) => (a[a.FASTEST_PAYOFF_FIRST = 1] = "FASTEST_PAYOFF_FIRST", a[a.HIGHEST_INTEREST = 2] = "HIGHEST_INTEREST", a[a.LOWEST_BALANCE = 3] = "LOWEST_BALANCE", a[a.HIGHEST_BALANCE = 4] = "HIGHEST_BALANCE", a))(c || {});
|
|
6
6
|
const b = {
|
|
@@ -3,11 +3,11 @@ import b from "react";
|
|
|
3
3
|
import { selectAll as m, interpolateString as x, arc as I } from "d3";
|
|
4
4
|
import d from "@mui/material/Box";
|
|
5
5
|
import { useTheme as S } from "@mui/material/styles";
|
|
6
|
-
const k = 100, E = 140, v = 10,
|
|
6
|
+
const k = 100, E = 140, v = 10, j = ({
|
|
7
7
|
data: u,
|
|
8
8
|
hoveredId: h,
|
|
9
|
-
onClick:
|
|
10
|
-
onMouseEnter:
|
|
9
|
+
onClick: a,
|
|
10
|
+
onMouseEnter: s,
|
|
11
11
|
onMouseLeave: l,
|
|
12
12
|
selectedId: i,
|
|
13
13
|
size: t = 300,
|
|
@@ -16,10 +16,10 @@ const k = 100, E = 140, v = 10, B = ({
|
|
|
16
16
|
const f = S();
|
|
17
17
|
let r = 0;
|
|
18
18
|
const g = (o, n) => {
|
|
19
|
-
(o.key === "Enter" || o.key === " ") && (o.preventDefault(),
|
|
19
|
+
(o.key === "Enter" || o.key === " ") && (o.preventDefault(), a?.(n));
|
|
20
20
|
}, y = (o) => {
|
|
21
|
-
|
|
22
|
-
},
|
|
21
|
+
s?.(o);
|
|
22
|
+
}, w = (o) => {
|
|
23
23
|
l?.(o);
|
|
24
24
|
};
|
|
25
25
|
return b.useEffect(() => {
|
|
@@ -45,11 +45,11 @@ const k = 100, E = 140, v = 10, B = ({
|
|
|
45
45
|
/* @__PURE__ */ e("g", { children: u.map((o) => {
|
|
46
46
|
const n = r;
|
|
47
47
|
r = r + 2 * Math.PI * (o.value / 100);
|
|
48
|
-
const
|
|
48
|
+
const D = r, R = I().cornerRadius(4)({
|
|
49
49
|
innerRadius: k,
|
|
50
50
|
outerRadius: E + (o.id === i || o.id === h ? v : 0),
|
|
51
51
|
startAngle: n,
|
|
52
|
-
endAngle:
|
|
52
|
+
endAngle: D,
|
|
53
53
|
padAngle: 0.025
|
|
54
54
|
});
|
|
55
55
|
return /* @__PURE__ */ e(
|
|
@@ -60,11 +60,11 @@ const k = 100, E = 140, v = 10, B = ({
|
|
|
60
60
|
className: "arc-outer",
|
|
61
61
|
d: R,
|
|
62
62
|
fill: o.color,
|
|
63
|
-
onBlur: () =>
|
|
64
|
-
onClick: () =>
|
|
63
|
+
onBlur: () => w(o.id),
|
|
64
|
+
onClick: () => a?.(o.id),
|
|
65
65
|
onFocus: () => y(o.id),
|
|
66
66
|
onKeyDown: (A) => g(A, o.id),
|
|
67
|
-
onMouseEnter: () =>
|
|
67
|
+
onMouseEnter: () => s?.(o.id),
|
|
68
68
|
onMouseLeave: () => l?.(o.id),
|
|
69
69
|
role: "button",
|
|
70
70
|
style: {
|
|
@@ -80,7 +80,7 @@ const k = 100, E = 140, v = 10, B = ({
|
|
|
80
80
|
}
|
|
81
81
|
)
|
|
82
82
|
] });
|
|
83
|
-
}
|
|
83
|
+
};
|
|
84
84
|
export {
|
|
85
85
|
j as D
|
|
86
86
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { observer as c } from "mobx-react-lite";
|
|
3
3
|
import { Icon as i } from "@mxenabled/mxui";
|
|
4
|
-
import { e as p } from "./exportTransactionsToCSV-
|
|
5
|
-
import { O as m } from "./User-
|
|
4
|
+
import { e as p } from "./exportTransactionsToCSV-Cz2t0lmA.mjs";
|
|
5
|
+
import { O as m } from "./User-wXzDI4M8.mjs";
|
|
6
6
|
import { R as x } from "./ResponsiveButton-DZFp78fJ.mjs";
|
|
7
|
-
import {
|
|
7
|
+
import { g as _, h as C, u as l } from "./hooks-C41HAxM5.mjs";
|
|
8
8
|
const v = ({ filter: t }) => {
|
|
9
9
|
const { onEvent: r } = _(), { tags: e, sortedTransactions: s } = C(), { transactions: n } = l(), a = () => {
|
|
10
10
|
r(m.ON_TRANSACTION_EXPORT_CSV_CLICK), p(t ? s.filter(t) : s, e);
|
|
@@ -7,8 +7,8 @@ import O from "@mui/material/CardHeader";
|
|
|
7
7
|
import S from "@mui/material/Stack";
|
|
8
8
|
import { AccountBalance as w, ChevronRight as L } from "@mxenabled/mx-icons";
|
|
9
9
|
import { Text as A } from "@mxenabled/mxui";
|
|
10
|
-
import { l as b } from "./ConnectDrawer-
|
|
11
|
-
import {
|
|
10
|
+
import { l as b } from "./ConnectDrawer-CuUj16NH.mjs";
|
|
11
|
+
import { a as y } from "./hooks-C41HAxM5.mjs";
|
|
12
12
|
import { makeAutoObservable as D, runInAction as c } from "mobx";
|
|
13
13
|
import { F as v, A as i } from "./Fetch-DecPFeGU.mjs";
|
|
14
14
|
import { fromUnixTime as G } from "date-fns/fromUnixTime";
|
|
@@ -13,7 +13,7 @@ import E from "@mui/material/Stack";
|
|
|
13
13
|
import { H3 as y, P as H, Icon as X, Text as T, H2 as _t, InstitutionLogo as bt } from "@mxenabled/mxui";
|
|
14
14
|
import { ExpandMore as ot, ChevronRight as wt } from "@mxenabled/mx-icons";
|
|
15
15
|
import xt from "@mui/material/Breadcrumbs";
|
|
16
|
-
import {
|
|
16
|
+
import { u as V, A as tt, d as ft, p as St, b as It, a as Tt } from "./hooks-C41HAxM5.mjs";
|
|
17
17
|
import { useTheme as Z } from "@mui/material/styles";
|
|
18
18
|
import { b as s } from "./Localization-2MODESHW.mjs";
|
|
19
19
|
import { E as Et, a as Ct, P as At } from "./Help-DhcC-C05.mjs";
|
|
@@ -7,7 +7,7 @@ import we from "@mui/material/useMediaQuery";
|
|
|
7
7
|
import { observer as Le } from "mobx-react-lite";
|
|
8
8
|
import P from "@mui/material/Stack";
|
|
9
9
|
import { Text as l } from "@mxenabled/mxui";
|
|
10
|
-
import {
|
|
10
|
+
import { u as Se } from "./hooks-C41HAxM5.mjs";
|
|
11
11
|
import { useTheme as ve, Stack as M, Box as X } from "@mui/material";
|
|
12
12
|
import { ChartsTooltip as Te } from "@mui/x-charts/ChartsTooltip";
|
|
13
13
|
const De = (e) => {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsxs as e, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import b from "react";
|
|
3
3
|
import { observer as v } from "mobx-react-lite";
|
|
4
4
|
import x from "@mui/material/ListItem";
|
|
5
5
|
import C from "@mui/material/ListItemButton";
|
|
6
6
|
import I from "@mui/material/ListItemText";
|
|
7
7
|
import L from "@mui/material/Stack";
|
|
8
8
|
import { ChevronRight as g } from "@mxenabled/mx-icons";
|
|
9
|
-
import { Text as
|
|
9
|
+
import { Text as a } from "@mxenabled/mxui";
|
|
10
10
|
import { D as j } from "./Dialog-BPTr3qHE.mjs";
|
|
11
|
-
import {
|
|
11
|
+
import { u as P } from "./hooks-C41HAxM5.mjs";
|
|
12
12
|
const q = v(
|
|
13
13
|
({
|
|
14
14
|
children: n,
|
|
@@ -21,9 +21,9 @@ const q = v(
|
|
|
21
21
|
secondaryText: y,
|
|
22
22
|
zeroStateText: o
|
|
23
23
|
}) => {
|
|
24
|
-
const { common:
|
|
24
|
+
const { common: m } = P(), [d, t] = b.useState(!1), h = () => {
|
|
25
25
|
t(!1), c?.();
|
|
26
|
-
},
|
|
26
|
+
}, u = () => {
|
|
27
27
|
t(!1), l();
|
|
28
28
|
};
|
|
29
29
|
return /* @__PURE__ */ e(x, { children: [
|
|
@@ -32,9 +32,9 @@ const q = v(
|
|
|
32
32
|
I,
|
|
33
33
|
{
|
|
34
34
|
primary: /* @__PURE__ */ e(L, { alignItems: "center", direction: "row", justifyContent: "space-between", children: [
|
|
35
|
-
/* @__PURE__ */ r(
|
|
35
|
+
/* @__PURE__ */ r(a, { variant: "body1", children: f }),
|
|
36
36
|
/* @__PURE__ */ r(
|
|
37
|
-
|
|
37
|
+
a,
|
|
38
38
|
{
|
|
39
39
|
bold: !0,
|
|
40
40
|
color: o ? "primary.main" : "text.primary",
|
|
@@ -52,12 +52,12 @@ const q = v(
|
|
|
52
52
|
/* @__PURE__ */ r(
|
|
53
53
|
j,
|
|
54
54
|
{
|
|
55
|
-
copy: { title: p, close_aria:
|
|
55
|
+
copy: { title: p, close_aria: m.close_aria },
|
|
56
56
|
disablePrimaryButton: s,
|
|
57
57
|
isOpen: d,
|
|
58
58
|
onClose: h,
|
|
59
|
-
onPrimaryAction:
|
|
60
|
-
primaryText:
|
|
59
|
+
onPrimaryAction: u,
|
|
60
|
+
primaryText: m.save_button,
|
|
61
61
|
children: n
|
|
62
62
|
}
|
|
63
63
|
)
|
|
@@ -17,23 +17,23 @@ import { endOfMonth as _e } from "date-fns/endOfMonth";
|
|
|
17
17
|
import { parseISO as me } from "date-fns/parseISO";
|
|
18
18
|
import $ from "@mui/material/Button";
|
|
19
19
|
import { Delete as pe, Add as he, ReceiptLong as ye } from "@mxenabled/mx-icons";
|
|
20
|
-
import { T as X, a as ge, b as fe, S as Ce, c as be } from "./TransactionDetails-
|
|
20
|
+
import { T as X, a as ge, b as fe, S as Ce, c as be } from "./TransactionDetails-COH0OKNG.mjs";
|
|
21
21
|
import { getDayOfYear as xe } from "date-fns/getDayOfYear";
|
|
22
22
|
import { setDayOfYear as Se } from "date-fns/setDayOfYear";
|
|
23
23
|
import { AdapterDateFns as ve } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
24
24
|
import { DatePicker as we } from "@mui/x-date-pickers";
|
|
25
25
|
import { LocalizationProvider as Ae } from "@mui/x-date-pickers/LocalizationProvider";
|
|
26
|
-
import {
|
|
26
|
+
import { u as w, j as F, g as G, b as Ie, h as Z, p as De } from "./hooks-C41HAxM5.mjs";
|
|
27
27
|
import { b as Ee, f as J } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
28
28
|
import { D as O } from "./Drawer-BEtCk82g.mjs";
|
|
29
|
-
import { A as R } from "./WidgetContainer-
|
|
29
|
+
import { A as R } from "./WidgetContainer-6dsjtOVg.mjs";
|
|
30
30
|
import { f as Re, a as Te, D as Le } from "./Dialog-BPTr3qHE.mjs";
|
|
31
31
|
import { formatISO as Oe } from "date-fns/formatISO";
|
|
32
32
|
import { fromUnixTime as ke } from "date-fns/fromUnixTime";
|
|
33
33
|
import { S as Ne } from "./SearchBox-B2_zLv8-.mjs";
|
|
34
34
|
import { h as Me } from "./DateUtil-CBdcsyuk.mjs";
|
|
35
35
|
import { b as B } from "./Category-CevNQ03n.mjs";
|
|
36
|
-
import { T as V } from "./User-
|
|
36
|
+
import { T as V } from "./User-wXzDI4M8.mjs";
|
|
37
37
|
const ee = ({
|
|
38
38
|
frequency: n,
|
|
39
39
|
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-C41HAxM5.mjs";
|
|
10
10
|
const H = ({
|
|
11
11
|
children: e,
|
|
12
12
|
className: o,
|
|
@@ -8,7 +8,7 @@ import W from "@mui/material/IconButton";
|
|
|
8
8
|
import { Icon as z, ChevronRight as H } from "@mxenabled/mx-icons";
|
|
9
9
|
import { H3 as I, Text as B, P as M } from "@mxenabled/mxui";
|
|
10
10
|
import { u as S } from "./useDimensions-27p2evRx.mjs";
|
|
11
|
-
import { W as j } from "./hooks-
|
|
11
|
+
import { W as j } from "./hooks-C41HAxM5.mjs";
|
|
12
12
|
const w = ({
|
|
13
13
|
children: a,
|
|
14
14
|
className: m = "mx-cmn-mini-widget",
|
|
@@ -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-D7QljYas.mjs";
|
|
7
|
+
import { e as N, a as M, f as v } from "./ConnectDrawer-CuUj16NH.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));
|
|
@@ -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 R, a as P, N as y } from "./ToggleListItem-ciFTiqRS.mjs";
|
|
18
|
-
import {
|
|
18
|
+
import { u as D, s as T, p as I, d as se, g as ae, a as W, n as ce, b as le } from "./hooks-C41HAxM5.mjs";
|
|
19
19
|
import { b as re } from "./Localization-2MODESHW.mjs";
|
|
20
20
|
import { b as de, f as me } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
21
21
|
import { D as N } from "./Dialog-BPTr3qHE.mjs";
|
|
22
|
-
import { C as he } from "./CurrencyInput-
|
|
22
|
+
import { C as he } from "./CurrencyInput-BFKcs-_K.mjs";
|
|
23
23
|
import { u as _e } from "./useScreenSize-B6JyS_Lj.mjs";
|
|
24
24
|
import { D as J } from "./Drawer-BEtCk82g.mjs";
|
|
25
25
|
import ue from "@mui/material/Collapse";
|
|
@@ -30,7 +30,7 @@ import j from "@mui/material/Button";
|
|
|
30
30
|
import U from "@mui/material/TextField";
|
|
31
31
|
import { u as ge } from "./useDimensions-27p2evRx.mjs";
|
|
32
32
|
import X from "@mui/material/styles/useTheme";
|
|
33
|
-
import { u as ye } from "./useInsightsEnabled-
|
|
33
|
+
import { u as ye } from "./useInsightsEnabled-CNjP5cfR.mjs";
|
|
34
34
|
import { L as be } from "./Loader-DUaFpDGv.mjs";
|
|
35
35
|
const xe = C(() => {
|
|
36
36
|
const { common: n, settings: t } = D(), { sendEmailVerification: o } = T(), { user: r } = I(), s = X(), [c, a] = g.useState(!1), i = () => {
|
|
@@ -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 {
|
|
5
|
+
import { L as y } from "./ListItemAction-uobBrm_a.mjs";
|
|
6
|
+
import { u as h, l as b } from "./hooks-C41HAxM5.mjs";
|
|
7
7
|
import { a as T, f as S } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
8
|
-
import { C as f } from "./CurrencyInput-
|
|
8
|
+
import { C as f } from "./CurrencyInput-BFKcs-_K.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,17 +7,17 @@ import b from "@mui/material/Tabs";
|
|
|
7
7
|
import d from "@mui/material/Divider";
|
|
8
8
|
import R from "@mui/material/List";
|
|
9
9
|
import T from "@mui/material/Stack";
|
|
10
|
-
import { R as C, A as S, a as E, M as v } from "./ManageIncome-
|
|
11
|
-
import {
|
|
10
|
+
import { R as C, A as S, a as E, M as v } from "./ManageIncome-A69EUO5u.mjs";
|
|
11
|
+
import { u as _, j as A, g as f } from "./hooks-C41HAxM5.mjs";
|
|
12
12
|
import { R as y, F as N } from "./RecurringTransactions-BqijW_8S.mjs";
|
|
13
|
-
import { A as m } from "./WidgetContainer-
|
|
13
|
+
import { A as m } from "./WidgetContainer-6dsjtOVg.mjs";
|
|
14
14
|
const I = h(() => {
|
|
15
|
-
const { recurring: g } = _(), { repeatingTransactions: n } = A(), { onEvent:
|
|
16
|
-
|
|
15
|
+
const { recurring: g } = _(), { repeatingTransactions: n } = A(), { onEvent: o } = f(), l = (r) => {
|
|
16
|
+
o(m.RECURRING_TRANSACTIONS_CLICK_EXPENSE, {
|
|
17
17
|
repeating_transaction_guid: r.guid
|
|
18
18
|
});
|
|
19
|
-
},
|
|
20
|
-
|
|
19
|
+
}, a = () => {
|
|
20
|
+
o(m.RECURRING_TRANSACTIONS_CLICK_ADD_EXPENSE);
|
|
21
21
|
}, i = n.filter(
|
|
22
22
|
(r) => r.repeating_transaction_type !== y.Income && (r.transactions.length > 0 || r.recurrence_type === N.EveryYear)
|
|
23
23
|
);
|
|
@@ -51,7 +51,7 @@ const I = h(() => {
|
|
|
51
51
|
py: 12,
|
|
52
52
|
textAlign: "right"
|
|
53
53
|
},
|
|
54
|
-
children: /* @__PURE__ */ e(S, { label: g.add_expense, onAddRecurringTransaction:
|
|
54
|
+
children: /* @__PURE__ */ e(S, { label: g.add_expense, onAddRecurringTransaction: a })
|
|
55
55
|
}
|
|
56
56
|
)
|
|
57
57
|
] })
|
|
@@ -59,13 +59,13 @@ const I = h(() => {
|
|
|
59
59
|
}
|
|
60
60
|
) : /* @__PURE__ */ e(E, { zeroStateFor: "expenses" }) });
|
|
61
61
|
}), X = h(({ defaultSelectedTab: g = 0 }) => {
|
|
62
|
-
const [n,
|
|
62
|
+
const [n, o] = u.useState(g), { onEvent: l } = f(), { recurring: a } = _();
|
|
63
63
|
return /* @__PURE__ */ t(c, { bgcolor: "background.default", height: "100%", children: [
|
|
64
64
|
/* @__PURE__ */ t(
|
|
65
65
|
b,
|
|
66
66
|
{
|
|
67
67
|
onChange: (r, s) => {
|
|
68
|
-
|
|
68
|
+
o(s), l(
|
|
69
69
|
s === 0 ? "recurring_transactions_widget_manage_expenses" : "recurring_transactions_widget_edit_income"
|
|
70
70
|
);
|
|
71
71
|
},
|
|
@@ -73,8 +73,8 @@ const I = h(() => {
|
|
|
73
73
|
value: n,
|
|
74
74
|
variant: "fullWidth",
|
|
75
75
|
children: [
|
|
76
|
-
/* @__PURE__ */ e(p, { label:
|
|
77
|
-
/* @__PURE__ */ e(p, { label:
|
|
76
|
+
/* @__PURE__ */ e(p, { label: a.expenses }),
|
|
77
|
+
/* @__PURE__ */ e(p, { label: a.income })
|
|
78
78
|
]
|
|
79
79
|
}
|
|
80
80
|
),
|