@mx-cartographer/experiences 7.12.16 → 7.13.0
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 +8 -0
- package/dist/{AccountDetailsHeader-DkBNsLsI.mjs → AccountDetailsHeader-D9gbTbUt.mjs} +31 -31
- package/dist/{AccountFields-DeZSQOuM.mjs → AccountFields-CxqONzjY.mjs} +7 -7
- package/dist/AccountListItem-LcJVJysf.mjs +90 -0
- package/dist/{AccountStore-Brc0MNSF.mjs → AccountStore-BNlTuxWN.mjs} +12 -6
- package/dist/Accounts-o7ohkngR.mjs +27 -0
- package/dist/{BudgetUtil--_QXyszn.mjs → BudgetUtil-CLhRnCoX.mjs} +75 -75
- package/dist/{CashflowStore-DEdQJU5i.mjs → CashflowStore-D3MKniVM.mjs} +11 -11
- package/dist/{CategorySelectorDrawer-wfUTIbLR.mjs → CategorySelectorDrawer-DYHNBd2v.mjs} +31 -31
- package/dist/{ConnectDrawer-CioFo6Wy.mjs → ConnectDrawer-C0wjwcJt.mjs} +1 -1
- package/dist/{ConnectionsDrawer-DqhSaMrJ.mjs → ConnectionsDrawer-IA7vnv1J.mjs} +1 -1
- package/dist/{Drawer-DV4NTsFg.mjs → Drawer-Bbe4AMB1.mjs} +5 -5
- package/dist/{GoalStore-0bd-Upkc.mjs → GoalStore-DB58sKTC.mjs} +8 -8
- package/dist/HeaderCell-P8w6CmfO.mjs +6 -0
- package/dist/{Help-CDu1Fvrc.mjs → Help-CpLfyvPv.mjs} +24 -24
- package/dist/{LineChart-B1qbKR8q.mjs → LineChart-DBSlRSEm.mjs} +102 -102
- package/dist/{ManageIncome-BnWWjP2g.mjs → ManageIncome-QvqN555q.mjs} +62 -62
- package/dist/{MiniWidgetContainer-Cu72GNsE.mjs → MiniWidgetContainer-xLWSV6Wz.mjs} +13 -13
- package/dist/{NetWorthStore-DP78lgZ0.mjs → NetWorthStore-BqZ44-4M.mjs} +1 -1
- package/dist/{NotificationSettings-BH2yOwTB.mjs → NotificationSettings-DU3vJh5J.mjs} +139 -139
- package/dist/{OriginalBalanceAction-BM6rT_Cn.mjs → OriginalBalanceAction-DjpvVVFz.mjs} +6 -6
- package/dist/{RecurringSettings-BmXtfHtK.mjs → RecurringSettings-DdOcok2e.mjs} +2 -2
- package/dist/{RecurringTransactions-CYNpe_RS.mjs → RecurringTransactions-BOzBqfdg.mjs} +11 -11
- package/dist/{RecurringTransactionsStore-BD-OfVZ-.mjs → RecurringTransactionsStore-CcfPS0d3.mjs} +1 -1
- package/dist/{SpendingLegend-Bq6aXMNh.mjs → SpendingLegend-CJjjTGBw.mjs} +76 -76
- package/dist/{StatusIndicator-BV3oFzxo.mjs → StatusIndicator-CIKUOoN_.mjs} +53 -53
- package/dist/{TransactionDetails-DYlTwSDt.mjs → TransactionDetails-BpcWeXNU.mjs} +350 -350
- package/dist/{WidgetContainer-B0ncgABX.mjs → WidgetContainer-D_iaToWJ.mjs} +12 -12
- package/dist/accounts/index.es.js +107 -107
- package/dist/accounts/utils/Accounts.d.ts +1 -1
- package/dist/analytics/index.es.js +18 -18
- package/dist/budgets/index.es.js +182 -182
- package/dist/cashflow/index.es.js +223 -223
- package/dist/categories/index.es.js +1 -1
- package/dist/common/index.es.js +54 -64
- package/dist/dashboard/index.es.js +9 -9
- package/dist/debts/index.es.js +469 -469
- package/dist/finstrong/index.es.js +68 -68
- package/dist/goals/index.es.js +437 -437
- package/dist/help/index.es.js +2 -2
- package/dist/insights/index.es.js +159 -159
- package/dist/investments/index.es.js +292 -292
- package/dist/merchants/index.es.js +12 -12
- package/dist/networth/index.es.js +175 -168
- package/dist/notifications/index.es.js +13 -13
- package/dist/recurringtransactions/index.es.js +69 -69
- package/dist/settings/index.es.js +187 -187
- package/dist/spending/index.es.js +58 -58
- package/dist/transactions/index.es.js +70 -70
- package/dist/trends/index.es.js +15 -15
- package/package.json +1 -1
- package/dist/AccountListItem-BIVhda6q.mjs +0 -90
- package/dist/Accounts-M-LTzStv.mjs +0 -27
- package/dist/HeaderCell-DjuifqHJ.mjs +0 -6
|
@@ -3,7 +3,7 @@ import M from "@mui/material/Box";
|
|
|
3
3
|
import _ from "@mui/material/Stack";
|
|
4
4
|
import { useTheme as z, alpha as ce } from "@mui/material/styles";
|
|
5
5
|
import { PieChart as tn } from "@mui/x-charts/PieChart";
|
|
6
|
-
import { P as D, H3 as
|
|
6
|
+
import { P as D, H3 as Y, Text as I, InstitutionLogo as pt, H2 as Fe, MerchantLogo as nn, Icon as on } from "@mxenabled/mxui";
|
|
7
7
|
import { TrendingUp as rn, ArrowRightAlt as an, TrendingDown as sn, AccountBalance as _t, ChevronRight as Z, CheckCircle as cn, Cancel as ln, CreditCard as ut, Savings as dn, ContentCopy as pn, MultilineChart as _n, Add as ht, Cardiology as un, Payments as hn, CalendarMonth as mn, ExpandMore as gn } from "@mxenabled/mx-icons";
|
|
8
8
|
import { g as yn, a as bn, r as et, b as fn, c as Ne, d as mt, C as ke, e as Me, f as xn, h as Sn, i as Cn, j as gt, k as tt, l as vn, m as nt, n as wn, o as yt, p as kn, q as bt, s as Oe, t as ft, u as Mn, v as xt, w as Dn, A as oe, x as In, P as Tn } from "../FinstrongStore-BQxXxxYD.mjs";
|
|
9
9
|
import { y as Ci, F as vi } from "../FinstrongStore-BQxXxxYD.mjs";
|
|
@@ -13,36 +13,36 @@ import { u as v, b as J, a as je, o as ee, y as L, p as An, d as Se, l as Ke, f
|
|
|
13
13
|
import { L as U } from "../Loader-D3rjKx72.mjs";
|
|
14
14
|
import h, { useState as Fn, useRef as Bn, useCallback as rt, useEffect as at } from "react";
|
|
15
15
|
import P from "@mui/material/Button";
|
|
16
|
-
import
|
|
17
|
-
import { L as
|
|
18
|
-
import { C as St } from "../ConnectionsDrawer-
|
|
19
|
-
import { C as ae } from "../ConnectDrawer-
|
|
16
|
+
import X from "@mui/material/Card";
|
|
17
|
+
import { L as Ye } from "../LineChart-DBSlRSEm.mjs";
|
|
18
|
+
import { C as St } from "../ConnectionsDrawer-IA7vnv1J.mjs";
|
|
19
|
+
import { C as ae } from "../ConnectDrawer-C0wjwcJt.mjs";
|
|
20
20
|
import le from "@mui/material/Tab";
|
|
21
|
-
import
|
|
21
|
+
import Xe from "@mui/material/Tabs";
|
|
22
22
|
import Re from "@mui/material/TextField";
|
|
23
23
|
import { u as qe } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
24
24
|
import { D as Pn } from "../Dialog-Ck34yr-d.mjs";
|
|
25
25
|
import { u as Ct } from "../useDimensions-CeDR9V8N.mjs";
|
|
26
26
|
import { E as Le } from "../EmptyState-DHAkGsjk.mjs";
|
|
27
27
|
import Wn from "@mui/material/Chip";
|
|
28
|
-
import { D as re } from "../Drawer-
|
|
28
|
+
import { D as re } from "../Drawer-Bbe4AMB1.mjs";
|
|
29
29
|
import pe from "@mui/material/Divider";
|
|
30
30
|
import be from "@mui/material/ListItem";
|
|
31
31
|
import vt from "@mui/material/ListItemAvatar";
|
|
32
32
|
import fe from "@mui/material/ListItemText";
|
|
33
33
|
import { g as wt } from "../AccountDisplayName-CO7z3v99.mjs";
|
|
34
|
-
import { g as kt } from "../AccountFields-
|
|
34
|
+
import { g as kt } from "../AccountFields-CxqONzjY.mjs";
|
|
35
35
|
import Ge from "@mui/material/List";
|
|
36
36
|
import $n from "@mui/material/ListItemButton";
|
|
37
37
|
import En from "@mui/material/ListSubheader";
|
|
38
38
|
import { f as W } from "../NumberFormatting-QCaNwbjv.mjs";
|
|
39
39
|
import { b as V } from "../Localization-CPkpIwIx.mjs";
|
|
40
|
-
import { S as it, F as Mt, e as zn, R as Dt } from "../RecurringTransactions-
|
|
40
|
+
import { S as it, F as Mt, e as zn, R as Dt } from "../RecurringTransactions-BOzBqfdg.mjs";
|
|
41
41
|
import { A as He } from "../Account-BiB1F8lL.mjs";
|
|
42
42
|
import { S as Gn } from "../StatusBar-BK_uYHAB.mjs";
|
|
43
43
|
import { h as It } from "../DateUtil-wcYTmDRD.mjs";
|
|
44
|
-
import { T as Hn, s as Nn, h as jn, S as Kn, a as Vn } from "../StatusIndicator-
|
|
45
|
-
import { f as
|
|
44
|
+
import { T as Hn, s as Nn, h as jn, S as Kn, a as Vn } from "../StatusIndicator-CIKUOoN_.mjs";
|
|
45
|
+
import { f as Yn, D as Xn } from "../DateFormats-BMpMrZpW.mjs";
|
|
46
46
|
import { T as de } from "../TabContentContainer-j01JYR_7.mjs";
|
|
47
47
|
import qn from "@mui/material/useMediaQuery";
|
|
48
48
|
import { BarPlot as Un } from "@mui/x-charts/BarChart";
|
|
@@ -51,15 +51,15 @@ import { ChartsXAxis as Zn } from "@mui/x-charts/ChartsXAxis";
|
|
|
51
51
|
import { ChartsYAxis as Jn } from "@mui/x-charts/ChartsYAxis";
|
|
52
52
|
import { startOfMonth as Tt } from "date-fns/startOfMonth";
|
|
53
53
|
import { endOfMonth as At } from "date-fns/endOfMonth";
|
|
54
|
-
import { g as eo, S as to, b as no } from "../SpendingLegend-
|
|
54
|
+
import { g as eo, S as to, b as no } from "../SpendingLegend-CJjjTGBw.mjs";
|
|
55
55
|
import { formatISO as oo } from "date-fns/formatISO";
|
|
56
56
|
import { fromUnixTime as ro } from "date-fns/fromUnixTime";
|
|
57
57
|
import { startOfToday as st } from "date-fns/startOfToday";
|
|
58
58
|
import { subDays as ao } from "date-fns/subDays";
|
|
59
|
-
import { c as io, d as ct, S as so, i as co } from "../ManageIncome-
|
|
59
|
+
import { c as io, d as ct, S as so, i as co } from "../ManageIncome-QvqN555q.mjs";
|
|
60
60
|
import { LocalizationProvider as lo, DatePicker as po, StaticDatePicker as _o } from "@mui/x-date-pickers";
|
|
61
61
|
import { AdapterDateFns as Ot } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
62
|
-
import { R as uo } from "../RecurringSettings-
|
|
62
|
+
import { R as uo } from "../RecurringSettings-DdOcok2e.mjs";
|
|
63
63
|
import { LocalizationProvider as ho } from "@mui/x-date-pickers/LocalizationProvider";
|
|
64
64
|
import { format as mo } from "date-fns/format";
|
|
65
65
|
import go from "@mui/lab/Timeline";
|
|
@@ -72,7 +72,7 @@ import vo from "@mui/material/Accordion";
|
|
|
72
72
|
import wo from "@mui/material/AccordionDetails";
|
|
73
73
|
import ko from "@mui/material/AccordionSummary";
|
|
74
74
|
import { u as Mo } from "../useWidgetLoadTimer-DgN1bTyu.mjs";
|
|
75
|
-
import { W as Do } from "../WidgetContainer-
|
|
75
|
+
import { W as Do } from "../WidgetContainer-D_iaToWJ.mjs";
|
|
76
76
|
const Io = ({
|
|
77
77
|
dialScoreData: t,
|
|
78
78
|
dataIndex: o,
|
|
@@ -259,7 +259,7 @@ const Io = ({
|
|
|
259
259
|
fontSize: q[n].healthScoreFontSize,
|
|
260
260
|
lineHeight: n !== "SM" ? "48px" : "100%"
|
|
261
261
|
},
|
|
262
|
-
variant: "
|
|
262
|
+
variant: "h1",
|
|
263
263
|
children: o
|
|
264
264
|
}
|
|
265
265
|
),
|
|
@@ -440,7 +440,7 @@ const Io = ({
|
|
|
440
440
|
}) => {
|
|
441
441
|
const [d, p] = h.useState(!1), { connect: u, finstrong: m } = v(), { config: b } = je();
|
|
442
442
|
return t && b.show_connections_widget_in_master ? /* @__PURE__ */ i(
|
|
443
|
-
|
|
443
|
+
X,
|
|
444
444
|
{
|
|
445
445
|
sx: {
|
|
446
446
|
pb: 24,
|
|
@@ -459,7 +459,7 @@ const Io = ({
|
|
|
459
459
|
},
|
|
460
460
|
children: [
|
|
461
461
|
n && /* @__PURE__ */ e(_t, { sx: { height: 20, width: 20 } }),
|
|
462
|
-
/* @__PURE__ */ e(
|
|
462
|
+
/* @__PURE__ */ e(Y, { className: "connect-more-accounts-title", sx: { ...o && { fontSize: 15 } }, children: s || m.connect_more_accounts_title })
|
|
463
463
|
]
|
|
464
464
|
}
|
|
465
465
|
),
|
|
@@ -590,10 +590,10 @@ const Ao = "https://content.moneydesktop.com/storage/MD_Assets/serenity/loading_
|
|
|
590
590
|
A = T;
|
|
591
591
|
}
|
|
592
592
|
const $ = m.some((T) => T.y !== 0);
|
|
593
|
-
return /* @__PURE__ */ e(
|
|
593
|
+
return /* @__PURE__ */ e(X, { ref: l, sx: { backgroundColor: "background.paper" }, children: $ ? /* @__PURE__ */ i(_, { gap: 8, sx: { pl: 18 }, children: [
|
|
594
594
|
/* @__PURE__ */ e(D, { sx: { pb: 8, pt: 16 }, variant: "h3", children: g }),
|
|
595
595
|
/* @__PURE__ */ e(
|
|
596
|
-
|
|
596
|
+
Ye,
|
|
597
597
|
{
|
|
598
598
|
areaColor: A,
|
|
599
599
|
axisColor: o.palette.divider,
|
|
@@ -702,7 +702,7 @@ const Ao = "https://content.moneydesktop.com/storage/MD_Assets/serenity/loading_
|
|
|
702
702
|
}, Bo = () => {
|
|
703
703
|
const { finstrong: t } = v(), { user: o } = ee(), n = gt(o.credit_score ?? null);
|
|
704
704
|
return /* @__PURE__ */ i(_, { sx: { flexDirection: "row", justifyContent: "space-between" }, children: [
|
|
705
|
-
/* @__PURE__ */ e(
|
|
705
|
+
/* @__PURE__ */ e(Y, { children: t.credit_score_keep_strong_credit_score }),
|
|
706
706
|
/* @__PURE__ */ e(Pe, { status: n })
|
|
707
707
|
] });
|
|
708
708
|
}, Po = k(Bo), Wo = ({
|
|
@@ -760,7 +760,7 @@ const Ao = "https://content.moneydesktop.com/storage/MD_Assets/serenity/loading_
|
|
|
760
760
|
pb: p ? 0 : 24
|
|
761
761
|
},
|
|
762
762
|
children: [
|
|
763
|
-
u && typeof u == "string" ? /* @__PURE__ */ e(
|
|
763
|
+
u && typeof u == "string" ? /* @__PURE__ */ e(Y, { children: u }) : u,
|
|
764
764
|
s && /* @__PURE__ */ e(D, { sx: { lineHeight: "24px" }, children: s })
|
|
765
765
|
]
|
|
766
766
|
}
|
|
@@ -976,7 +976,7 @@ const zo = ({ total: t }) => {
|
|
|
976
976
|
})
|
|
977
977
|
), p(u);
|
|
978
978
|
};
|
|
979
|
-
return /* @__PURE__ */ e(
|
|
979
|
+
return /* @__PURE__ */ e(X, { children: /* @__PURE__ */ e("form", { onSubmit: g, children: /* @__PURE__ */ i(_, { sx: { gap: 24, pb: 24, pt: 16, px: 16 }, children: [
|
|
980
980
|
/* @__PURE__ */ e(
|
|
981
981
|
Ce,
|
|
982
982
|
{
|
|
@@ -1069,7 +1069,7 @@ const zo = ({ total: t }) => {
|
|
|
1069
1069
|
[t]
|
|
1070
1070
|
);
|
|
1071
1071
|
return /* @__PURE__ */ i(_, { sx: { gap: 24 }, children: [
|
|
1072
|
-
/* @__PURE__ */ e(
|
|
1072
|
+
/* @__PURE__ */ e(X, { sx: { bgcolor: "background.paper", p: 16 }, children: /* @__PURE__ */ i(_, { sx: { gap: 16 }, children: [
|
|
1073
1073
|
/* @__PURE__ */ e(Ce, { balance: s, title: o.maintain_emergency_savings_your_savings }),
|
|
1074
1074
|
t.length ? /* @__PURE__ */ e(
|
|
1075
1075
|
Wt,
|
|
@@ -1179,7 +1179,7 @@ const zo = ({ total: t }) => {
|
|
|
1179
1179
|
value: W(o ?? 0, "0,0.00")
|
|
1180
1180
|
}
|
|
1181
1181
|
);
|
|
1182
|
-
},
|
|
1182
|
+
}, Yo = k(Vo), $e = ({
|
|
1183
1183
|
transactions: t = [],
|
|
1184
1184
|
amountColor: o = "success.main",
|
|
1185
1185
|
amountPosition: n = "center",
|
|
@@ -1291,7 +1291,7 @@ const zo = ({ total: t }) => {
|
|
|
1291
1291
|
)
|
|
1292
1292
|
] })
|
|
1293
1293
|
] });
|
|
1294
|
-
},
|
|
1294
|
+
}, Xo = () => {
|
|
1295
1295
|
const [t, o] = h.useState(!0), {
|
|
1296
1296
|
finstrong: {
|
|
1297
1297
|
key_indicators_spend: { pay_bills_on_time_drawer: n }
|
|
@@ -1300,7 +1300,7 @@ const zo = ({ total: t }) => {
|
|
|
1300
1300
|
return h.useEffect(() => {
|
|
1301
1301
|
r().finally(() => o(!1));
|
|
1302
1302
|
}, []), t ? /* @__PURE__ */ e(U, {}) : /* @__PURE__ */ e(j, { children: s.spendingFee.length === 0 ? /* @__PURE__ */ i(
|
|
1303
|
-
|
|
1303
|
+
X,
|
|
1304
1304
|
{
|
|
1305
1305
|
sx: {
|
|
1306
1306
|
backgroundColor: "background.paper",
|
|
@@ -1313,13 +1313,13 @@ const zo = ({ total: t }) => {
|
|
|
1313
1313
|
children: [
|
|
1314
1314
|
/* @__PURE__ */ e(cn, { filled: !0, size: 48, sx: { color: "success.main" } }),
|
|
1315
1315
|
/* @__PURE__ */ i(_, { sx: { alignItems: "center", gap: 4, pt: 24 }, children: [
|
|
1316
|
-
/* @__PURE__ */ e(
|
|
1316
|
+
/* @__PURE__ */ e(Y, { children: n.pay_bills_on_time_zero_fees_title }),
|
|
1317
1317
|
/* @__PURE__ */ e(D, { variant: "subtitle1", children: n.pay_bills_on_time_zero_fees_description })
|
|
1318
1318
|
] })
|
|
1319
1319
|
]
|
|
1320
1320
|
}
|
|
1321
1321
|
) : /* @__PURE__ */ i(
|
|
1322
|
-
|
|
1322
|
+
X,
|
|
1323
1323
|
{
|
|
1324
1324
|
sx: {
|
|
1325
1325
|
p: 16,
|
|
@@ -1327,13 +1327,13 @@ const zo = ({ total: t }) => {
|
|
|
1327
1327
|
backgroundColor: "background.paper"
|
|
1328
1328
|
},
|
|
1329
1329
|
children: [
|
|
1330
|
-
/* @__PURE__ */ e(
|
|
1330
|
+
/* @__PURE__ */ e(Y, { sx: { textAlign: "left", pb: 16 }, children: n.pay_bills_on_time_sticky_fee_count }),
|
|
1331
1331
|
/* @__PURE__ */ e(
|
|
1332
1332
|
$e,
|
|
1333
1333
|
{
|
|
1334
1334
|
amountColor: "text.primary",
|
|
1335
1335
|
amountPosition: "flex-start",
|
|
1336
|
-
formatDate: (a) =>
|
|
1336
|
+
formatDate: (a) => Yn(new Date(a * 1e3), Xn.MONTH_DAY),
|
|
1337
1337
|
secondaryIcon: /* @__PURE__ */ e(ln, { color: "error", filled: !0, size: 12 }),
|
|
1338
1338
|
transactions: s.spendingFee
|
|
1339
1339
|
}
|
|
@@ -1341,7 +1341,7 @@ const zo = ({ total: t }) => {
|
|
|
1341
1341
|
]
|
|
1342
1342
|
}
|
|
1343
1343
|
) });
|
|
1344
|
-
}, qo = k(
|
|
1344
|
+
}, qo = k(Xo), Uo = () => {
|
|
1345
1345
|
const { healthScore: t } = L(), { finstrong: o } = v(), { key_indicators_spend: n } = o, { pay_bills_on_time_drawer: r } = n, s = kn(t.spending_fee_transaction_count);
|
|
1346
1346
|
return /* @__PURE__ */ i(
|
|
1347
1347
|
_,
|
|
@@ -1411,9 +1411,9 @@ const zo = ({ total: t }) => {
|
|
|
1411
1411
|
}, tr = k(er), nr = () => {
|
|
1412
1412
|
const [t, o] = h.useState(0), { finstrong: n } = v();
|
|
1413
1413
|
return /* @__PURE__ */ i(j, { children: [
|
|
1414
|
-
/* @__PURE__ */ i(
|
|
1414
|
+
/* @__PURE__ */ i(X, { children: [
|
|
1415
1415
|
/* @__PURE__ */ i(
|
|
1416
|
-
|
|
1416
|
+
Xe,
|
|
1417
1417
|
{
|
|
1418
1418
|
"aria-label": n.key_indicators_save.drawer_title,
|
|
1419
1419
|
centered: !0,
|
|
@@ -1480,7 +1480,7 @@ const zo = ({ total: t }) => {
|
|
|
1480
1480
|
}
|
|
1481
1481
|
}
|
|
1482
1482
|
),
|
|
1483
|
-
/* @__PURE__ */ e(I, { variant: "
|
|
1483
|
+
/* @__PURE__ */ e(I, { variant: "caption", children: p })
|
|
1484
1484
|
]
|
|
1485
1485
|
},
|
|
1486
1486
|
p
|
|
@@ -1542,7 +1542,7 @@ const zo = ({ total: t }) => {
|
|
|
1542
1542
|
}
|
|
1543
1543
|
}
|
|
1544
1544
|
),
|
|
1545
|
-
/* @__PURE__ */ e(I, { sx: { color: "text.primary" }, variant: "
|
|
1545
|
+
/* @__PURE__ */ e(I, { sx: { color: "text.primary" }, variant: "caption", children: "30%" })
|
|
1546
1546
|
]
|
|
1547
1547
|
}
|
|
1548
1548
|
)
|
|
@@ -1558,7 +1558,7 @@ const zo = ({ total: t }) => {
|
|
|
1558
1558
|
justifyContent: "center",
|
|
1559
1559
|
marginLeft: "auto"
|
|
1560
1560
|
},
|
|
1561
|
-
children: /* @__PURE__ */ e(I, { variant: "
|
|
1561
|
+
children: /* @__PURE__ */ e(I, { variant: "body2", children: t.debt_to_income_ratio ? V(
|
|
1562
1562
|
o.key_indicators_borrow.have_manageable_debt_drawer.have_manageable_debt_sticky_description,
|
|
1563
1563
|
n
|
|
1564
1564
|
) : "-" })
|
|
@@ -1741,7 +1741,7 @@ const zo = ({ total: t }) => {
|
|
|
1741
1741
|
tickMinStep: f,
|
|
1742
1742
|
valueFormatter: (g) => g === 0 ? "$0" : W(g, "0.[0]a")
|
|
1743
1743
|
};
|
|
1744
|
-
return /* @__PURE__ */ i(
|
|
1744
|
+
return /* @__PURE__ */ i(X, { children: [
|
|
1745
1745
|
/* @__PURE__ */ i(
|
|
1746
1746
|
_,
|
|
1747
1747
|
{
|
|
@@ -1755,7 +1755,7 @@ const zo = ({ total: t }) => {
|
|
|
1755
1755
|
px: 16
|
|
1756
1756
|
},
|
|
1757
1757
|
children: [
|
|
1758
|
-
/* @__PURE__ */ e(
|
|
1758
|
+
/* @__PURE__ */ e(Y, { children: n }),
|
|
1759
1759
|
r && /* @__PURE__ */ e(
|
|
1760
1760
|
P,
|
|
1761
1761
|
{
|
|
@@ -1914,9 +1914,9 @@ const zo = ({ total: t }) => {
|
|
|
1914
1914
|
(d) => d.debt_spend !== 0 || d.income !== 0
|
|
1915
1915
|
);
|
|
1916
1916
|
return /* @__PURE__ */ i(j, { children: [
|
|
1917
|
-
/* @__PURE__ */ i(
|
|
1917
|
+
/* @__PURE__ */ i(X, { children: [
|
|
1918
1918
|
/* @__PURE__ */ i(
|
|
1919
|
-
|
|
1919
|
+
Xe,
|
|
1920
1920
|
{
|
|
1921
1921
|
"aria-label": l.key_indicators_save.drawer_title,
|
|
1922
1922
|
centered: !0,
|
|
@@ -2096,7 +2096,7 @@ const zo = ({ total: t }) => {
|
|
|
2096
2096
|
}
|
|
2097
2097
|
),
|
|
2098
2098
|
w.donutData.length > 0 ? /* @__PURE__ */ i(
|
|
2099
|
-
|
|
2099
|
+
X,
|
|
2100
2100
|
{
|
|
2101
2101
|
sx: {
|
|
2102
2102
|
px: 16,
|
|
@@ -2116,7 +2116,7 @@ const zo = ({ total: t }) => {
|
|
|
2116
2116
|
px: 16
|
|
2117
2117
|
},
|
|
2118
2118
|
children: [
|
|
2119
|
-
/* @__PURE__ */ e(
|
|
2119
|
+
/* @__PURE__ */ e(Y, { children: c.key_indicators_spend.spend_less_than_you_make_drawer.spending }),
|
|
2120
2120
|
l.appData.client_profile?.allow_spending_widget && /* @__PURE__ */ e(
|
|
2121
2121
|
P,
|
|
2122
2122
|
{
|
|
@@ -2209,7 +2209,7 @@ const zo = ({ total: t }) => {
|
|
|
2209
2209
|
maintainEmergencySavings: {
|
|
2210
2210
|
content: /* @__PURE__ */ e(No, {}),
|
|
2211
2211
|
description: r.maintain_emergency_savings_description,
|
|
2212
|
-
stickyComponent: /* @__PURE__ */ e(
|
|
2212
|
+
stickyComponent: /* @__PURE__ */ e(Yo, {}),
|
|
2213
2213
|
title: r.maintain_emergency_savings_title,
|
|
2214
2214
|
drawerType: "connectDrawer",
|
|
2215
2215
|
connectTitle: r.connect_your_accounts,
|
|
@@ -2465,7 +2465,7 @@ const zo = ({ total: t }) => {
|
|
|
2465
2465
|
const [t, o] = h.useState(0), { finstrong: n } = v();
|
|
2466
2466
|
return /* @__PURE__ */ i(j, { children: [
|
|
2467
2467
|
/* @__PURE__ */ i(
|
|
2468
|
-
|
|
2468
|
+
Xe,
|
|
2469
2469
|
{
|
|
2470
2470
|
"aria-label": "Key Indicators",
|
|
2471
2471
|
centered: !0,
|
|
@@ -2526,7 +2526,7 @@ const zo = ({ total: t }) => {
|
|
|
2526
2526
|
return n ? /* @__PURE__ */ i(_, { sx: { alignItems: "center", gap: 12, pt: 12, pb: 32 }, children: [
|
|
2527
2527
|
/* @__PURE__ */ e(_n, { size: 48 }),
|
|
2528
2528
|
/* @__PURE__ */ i(_, { sx: { alignItems: "center", gap: 4, textAlign: "center" }, children: [
|
|
2529
|
-
/* @__PURE__ */ e(
|
|
2529
|
+
/* @__PURE__ */ e(Y, { children: o.missing_data_title }),
|
|
2530
2530
|
/* @__PURE__ */ e(D, { sx: { width: { sm: 348 } }, variant: "subtitle1", children: o.missing_data_description })
|
|
2531
2531
|
] }),
|
|
2532
2532
|
/* @__PURE__ */ e(M, { children: /* @__PURE__ */ e(
|
|
@@ -2670,7 +2670,7 @@ const zo = ({ total: t }) => {
|
|
|
2670
2670
|
value: r
|
|
2671
2671
|
}) => /* @__PURE__ */ i(_, { sx: { gap: 20, p: 24 }, children: [
|
|
2672
2672
|
/* @__PURE__ */ i(_, { sx: { gap: 8 }, children: [
|
|
2673
|
-
/* @__PURE__ */ e(
|
|
2673
|
+
/* @__PURE__ */ e(Y, { children: o }),
|
|
2674
2674
|
/* @__PURE__ */ e(D, { variant: "subtitle1", children: n })
|
|
2675
2675
|
] }),
|
|
2676
2676
|
/* @__PURE__ */ e(Et, { completeCopy: t, value: r })
|
|
@@ -2815,8 +2815,8 @@ const zo = ({ total: t }) => {
|
|
|
2815
2815
|
amount: Te,
|
|
2816
2816
|
date: se,
|
|
2817
2817
|
description: Vt,
|
|
2818
|
-
feed_description:
|
|
2819
|
-
firstDay:
|
|
2818
|
+
feed_description: Yt,
|
|
2819
|
+
firstDay: Xt,
|
|
2820
2820
|
frequency: Je,
|
|
2821
2821
|
secondDay: qt,
|
|
2822
2822
|
merchant_guid: Ut,
|
|
@@ -2826,10 +2826,10 @@ const zo = ({ total: t }) => {
|
|
|
2826
2826
|
account_guid: ye,
|
|
2827
2827
|
amount: Te,
|
|
2828
2828
|
created_by: 0,
|
|
2829
|
-
description: Qt || Vt ||
|
|
2829
|
+
description: Qt || Vt || Yt,
|
|
2830
2830
|
merchant_guid: Ut,
|
|
2831
2831
|
predicted_occurs_on: oo(Jt, { representation: "date" }),
|
|
2832
|
-
recurrence_day:
|
|
2832
|
+
recurrence_day: Xt,
|
|
2833
2833
|
recurrence_type: Je,
|
|
2834
2834
|
repeating_transaction_type: Dt.Income,
|
|
2835
2835
|
second_recurrence_day: qt,
|
|
@@ -3029,7 +3029,7 @@ const zo = ({ total: t }) => {
|
|
|
3029
3029
|
/* @__PURE__ */ i(_, { sx: { bgcolor: "background.default", height: "100%" }, children: [
|
|
3030
3030
|
/* @__PURE__ */ i(_, { sx: { gap: 20, p: 24 }, children: [
|
|
3031
3031
|
/* @__PURE__ */ i(_, { sx: { gap: 8 }, children: [
|
|
3032
|
-
/* @__PURE__ */ e(
|
|
3032
|
+
/* @__PURE__ */ e(Y, { children: a.your_financial_profile }),
|
|
3033
3033
|
/* @__PURE__ */ e(D, { children: a.financial_profile_description })
|
|
3034
3034
|
] }),
|
|
3035
3035
|
/* @__PURE__ */ e(
|
|
@@ -3118,7 +3118,7 @@ const zo = ({ total: t }) => {
|
|
|
3118
3118
|
f
|
|
3119
3119
|
] });
|
|
3120
3120
|
};
|
|
3121
|
-
return /* @__PURE__ */ i(
|
|
3121
|
+
return /* @__PURE__ */ i(X, { children: [
|
|
3122
3122
|
/* @__PURE__ */ e(
|
|
3123
3123
|
M,
|
|
3124
3124
|
{
|
|
@@ -3145,11 +3145,11 @@ const zo = ({ total: t }) => {
|
|
|
3145
3145
|
justifyContent: "center",
|
|
3146
3146
|
width: 48
|
|
3147
3147
|
},
|
|
3148
|
-
children: /* @__PURE__ */ e(D, { sx: { fontWeight: 600 }, variant: "
|
|
3148
|
+
children: /* @__PURE__ */ e(D, { sx: { fontWeight: 600 }, variant: "body1", children: r > 0 ? `+${r}` : r })
|
|
3149
3149
|
}
|
|
3150
3150
|
),
|
|
3151
3151
|
/* @__PURE__ */ i(_, { sx: { gap: 2, width: "80%" }, children: [
|
|
3152
|
-
/* @__PURE__ */ e(I, { fontWeight: 600, variant: "
|
|
3152
|
+
/* @__PURE__ */ e(I, { fontWeight: 600, variant: "body1", children: w() }),
|
|
3153
3153
|
/* @__PURE__ */ i(I, { sx: { color: "text.secondary" }, variant: "subtitle2", children: [
|
|
3154
3154
|
m,
|
|
3155
3155
|
" ",
|
|
@@ -3198,7 +3198,7 @@ const zo = ({ total: t }) => {
|
|
|
3198
3198
|
}
|
|
3199
3199
|
) })
|
|
3200
3200
|
] });
|
|
3201
|
-
}, Vr = k(Kr),
|
|
3201
|
+
}, Vr = k(Kr), Yr = ({ isOpen: t, onClose: o }) => {
|
|
3202
3202
|
const n = z(), { finstrong: r } = v(), { isCopyLoaded: s, isInitialized: a } = J(), { augmentedChartData: l, healthScore: c, healthScoreChangeReports: d, peerScore: p } = L();
|
|
3203
3203
|
if (!s || !a) return /* @__PURE__ */ e(U, {});
|
|
3204
3204
|
const u = Ne(c.health_score || 0, r), m = d.slice().reverse();
|
|
@@ -3214,7 +3214,7 @@ const zo = ({ total: t }) => {
|
|
|
3214
3214
|
borderColor: "divider"
|
|
3215
3215
|
},
|
|
3216
3216
|
children: /* @__PURE__ */ e(
|
|
3217
|
-
|
|
3217
|
+
Ye,
|
|
3218
3218
|
{
|
|
3219
3219
|
axisColor: n.palette.divider,
|
|
3220
3220
|
baseline: "min",
|
|
@@ -3259,7 +3259,7 @@ const zo = ({ total: t }) => {
|
|
|
3259
3259
|
),
|
|
3260
3260
|
/* @__PURE__ */ i(_, { sx: { gap: 4 }, children: [
|
|
3261
3261
|
/* @__PURE__ */ e(D, { variant: "h3", children: u.status }),
|
|
3262
|
-
/* @__PURE__ */ e(D, { variant: "
|
|
3262
|
+
/* @__PURE__ */ e(D, { variant: "caption", children: u.description })
|
|
3263
3263
|
] })
|
|
3264
3264
|
] })
|
|
3265
3265
|
}
|
|
@@ -3267,7 +3267,7 @@ const zo = ({ total: t }) => {
|
|
|
3267
3267
|
children: /* @__PURE__ */ e(_, { sx: { gap: 16 }, children: m.map((b, w) => /* @__PURE__ */ e(Vr, { report: b }, w)) })
|
|
3268
3268
|
}
|
|
3269
3269
|
);
|
|
3270
|
-
},
|
|
3270
|
+
}, Xr = k(Yr), qr = ({ copy: t }) => {
|
|
3271
3271
|
const o = z(), n = [
|
|
3272
3272
|
o.palette.chartMono.chartMono5,
|
|
3273
3273
|
o.palette.chartMono.chartMono4,
|
|
@@ -3332,7 +3332,7 @@ const zo = ({ total: t }) => {
|
|
|
3332
3332
|
return r ? /* @__PURE__ */ e(re, { isOpen: t, onClose: o, title: n.score_rubric, children: /* @__PURE__ */ i(_, { sx: { bgcolor: "background.default", gap: 36, height: "100%", p: 24 }, children: [
|
|
3333
3333
|
/* @__PURE__ */ i(_, { sx: { gap: 20 }, children: [
|
|
3334
3334
|
/* @__PURE__ */ i(_, { sx: { gap: 8 }, children: [
|
|
3335
|
-
/* @__PURE__ */ e(
|
|
3335
|
+
/* @__PURE__ */ e(Y, { sx: { textWrap: "wrap" }, children: n.your_path_to_financial_freedom }),
|
|
3336
3336
|
/* @__PURE__ */ e(D, { variant: "subtitle1", children: n.finstrong_freedom_description })
|
|
3337
3337
|
] }),
|
|
3338
3338
|
/* @__PURE__ */ e(M, { children: /* @__PURE__ */ e(qr, { copy: n }) })
|
|
@@ -3409,9 +3409,9 @@ const zo = ({ total: t }) => {
|
|
|
3409
3409
|
] }) }) : /* @__PURE__ */ e(U, {});
|
|
3410
3410
|
}, Qr = k(Ur), Zr = k(() => {
|
|
3411
3411
|
const [t, o] = h.useState(!1), n = z(), [r, { width: s }] = Ct(), { finstrong: a } = v(), { isCopyLoaded: l, isInitialized: c } = J(), { healthScore: d, healthScoreChange: p } = L(), u = n.palette.mode === "dark", m = Ne(d?.health_score, a);
|
|
3412
|
-
return !l || !c ? /* @__PURE__ */ e(U, {}) : /* @__PURE__ */ i(
|
|
3412
|
+
return !l || !c ? /* @__PURE__ */ e(U, {}) : /* @__PURE__ */ i(X, { ref: r, sx: { p: 16, display: "flex", flexDirection: "column", gap: 8 }, children: [
|
|
3413
3413
|
/* @__PURE__ */ i(_, { direction: "row", sx: { alignItems: "center", justifyContent: "space-between" }, children: [
|
|
3414
|
-
/* @__PURE__ */ e(
|
|
3414
|
+
/* @__PURE__ */ e(Y, { children: a.financial_strength_header }),
|
|
3415
3415
|
/* @__PURE__ */ e(
|
|
3416
3416
|
P,
|
|
3417
3417
|
{
|
|
@@ -3591,14 +3591,14 @@ const zo = ({ total: t }) => {
|
|
|
3591
3591
|
}
|
|
3592
3592
|
)
|
|
3593
3593
|
] }),
|
|
3594
|
-
/* @__PURE__ */ e(_, { sx: { maxWidth: 848, width: { md: 720 } }, children: /* @__PURE__ */ i(
|
|
3594
|
+
/* @__PURE__ */ e(_, { sx: { maxWidth: 848, width: { md: 720 } }, children: /* @__PURE__ */ i(X, { sx: { height: "100%", p: 16 }, children: [
|
|
3595
3595
|
/* @__PURE__ */ i(
|
|
3596
3596
|
_,
|
|
3597
3597
|
{
|
|
3598
3598
|
direction: "row",
|
|
3599
3599
|
sx: { alignItems: "center", gap: 12, justifyContent: "space-between" },
|
|
3600
3600
|
children: [
|
|
3601
|
-
/* @__PURE__ */ e(
|
|
3601
|
+
/* @__PURE__ */ e(Y, { children: C.key_indicators }),
|
|
3602
3602
|
/* @__PURE__ */ e(
|
|
3603
3603
|
P,
|
|
3604
3604
|
{
|
|
@@ -3619,7 +3619,7 @@ const zo = ({ total: t }) => {
|
|
|
3619
3619
|
}
|
|
3620
3620
|
),
|
|
3621
3621
|
me ? /* @__PURE__ */ e(
|
|
3622
|
-
|
|
3622
|
+
Ye,
|
|
3623
3623
|
{
|
|
3624
3624
|
axisColor: F.palette.divider,
|
|
3625
3625
|
baseline: "min",
|
|
@@ -3627,13 +3627,13 @@ const zo = ({ total: t }) => {
|
|
|
3627
3627
|
curveType: "natural",
|
|
3628
3628
|
customLegendBoxSx: { borderRadius: "2px" },
|
|
3629
3629
|
customLegendSx: { left: 0 },
|
|
3630
|
-
customLegendVariant: "
|
|
3630
|
+
customLegendVariant: "caption",
|
|
3631
3631
|
datasets: [u],
|
|
3632
3632
|
height: 300,
|
|
3633
3633
|
isGraphClippingXAxis: !0,
|
|
3634
3634
|
labelBackgroundColor: F.palette.border.dark,
|
|
3635
3635
|
labelFontColor: F.palette.common.white,
|
|
3636
|
-
labelFontSize: typeof F.typography.
|
|
3636
|
+
labelFontSize: typeof F.typography.caption?.fontSize == "string" ? parseFloat(F.typography.caption.fontSize) : F.typography.caption?.fontSize,
|
|
3637
3637
|
labels: [C.key_indicators_label],
|
|
3638
3638
|
margin: { right: 12, left: -37 },
|
|
3639
3639
|
peerAverage: N,
|
|
@@ -3661,7 +3661,7 @@ const zo = ({ total: t }) => {
|
|
|
3661
3661
|
}
|
|
3662
3662
|
),
|
|
3663
3663
|
/* @__PURE__ */ e(
|
|
3664
|
-
|
|
3664
|
+
Xr,
|
|
3665
3665
|
{
|
|
3666
3666
|
isOpen: q,
|
|
3667
3667
|
onClose: () => H(!1)
|