@mx-cartographer/experiences 7.1.3-alpha.mm1 → 7.1.4-ram1-alpha-finstrong-credit-score-graph-check
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 +13 -0
- package/dist/{Account-DKy2na__.mjs → Account-CpRTVIHg.mjs} +1 -1
- package/dist/{AccountDetailsContent-CCOCsdoL.mjs → AccountDetailsContent-6aPMU6Hp.mjs} +10 -10
- package/dist/{AccountDetailsHeader-Ca9SPAjA.mjs → AccountDetailsHeader-BkUZYoV8.mjs} +8 -8
- package/dist/{AccountFields-DDAr5SEq.mjs → AccountFields-DOLjKu5l.mjs} +5 -5
- package/dist/{AccountListItem-CMes1Q7Z.mjs → AccountListItem-CTT5m4qx.mjs} +4 -4
- package/dist/{AccountStore-DYOG9MYj.mjs → AccountStore-DTfpr3h0.mjs} +60 -41
- package/dist/{Accounts-BNvFndCa.mjs → Accounts-D0BmvNxn.mjs} +1 -1
- package/dist/{BudgetUtil-B2ZXyw-g.mjs → BudgetUtil-D2Jcp-E-.mjs} +1 -1
- package/dist/{CategorySelectorDrawer-DUe4lH5-.mjs → CategorySelectorDrawer-DomNyubP.mjs} +3 -3
- package/dist/{CategoryStore-BCcpI3oJ.mjs → CategoryStore-C1IfDPCE.mjs} +1 -1
- package/dist/{CategoryUtil-BR3H5i6n.mjs → CategoryUtil-DUM8NuGO.mjs} +1 -1
- package/dist/{ConnectDrawer-CHG5Lv_B.mjs → ConnectDrawer--gJHyp-S.mjs} +9 -9
- package/dist/{ConnectionsDrawer-BeB6ab8V.mjs → ConnectionsDrawer-DabiwV9L.mjs} +3 -3
- package/dist/{CurrencyInput-CsCy7uaS.mjs → CurrencyInput-CC5cwVit.mjs} +1 -1
- package/dist/{DateUtil-BcuH7ErC.mjs → DateUtil-CBdcsyuk.mjs} +3 -3
- package/dist/{DebtsStore-BblTVTMD.mjs → DebtsStore-9aR2sTJQ.mjs} +1 -1
- package/dist/{Dialog-CWW597AF.mjs → Dialog-BPTr3qHE.mjs} +2 -2
- package/dist/Drawer-BEtCk82g.mjs +163 -0
- package/dist/{ExportCsvAction-sX8Rg4Ov.mjs → ExportCsvAction-Um-CDa4C.mjs} +3 -3
- package/dist/FinstrongStore-CC4SrBjA.mjs +436 -0
- package/dist/{GoalStore-CSsU4LR2.mjs → GoalStore-CiBKZvTg.mjs} +3 -3
- package/dist/{Help-B6dIcujh.mjs → Help-BZ8pIkkR.mjs} +2 -2
- package/dist/LineChart-CE3oLBQ0.mjs +566 -0
- package/dist/{ListItemAction-DHa3KJPs.mjs → ListItemAction-DGaxy7oz.mjs} +10 -10
- package/dist/{ManageIncome-DqG75uQd.mjs → ManageIncome-BaNgfwr5.mjs} +63 -61
- package/dist/{MicroWidgetContainer-DpeqN9n3.mjs → MicroWidgetContainer-C3iV1FBR.mjs} +1 -1
- package/dist/{MiniWidgetContainer-D0gfmbaF.mjs → MiniWidgetContainer-LtXXgZ6H.mjs} +1 -1
- package/dist/{NetWorthStore-BbA7H83o.mjs → NetWorthStore-MnpP5KEc.mjs} +2 -2
- package/dist/{NotificationSettings-BRm_EJZV.mjs → NotificationSettings-Ckx8tgQj.mjs} +5 -5
- package/dist/{OriginalBalanceAction-CAaVbVMO.mjs → OriginalBalanceAction-CGZDUsCc.mjs} +3 -3
- package/dist/{RecurringSettings-B9l_Axnd.mjs → RecurringSettings-DE4T4yQy.mjs} +4 -4
- package/dist/{RecurringTransactions-ej39mgA6.mjs → RecurringTransactions-CngsRZ3K.mjs} +45 -44
- package/dist/{RecurringTransactionsStore-DrzS1LmF.mjs → RecurringTransactionsStore-C4RVULF8.mjs} +1 -1
- package/dist/{SpendingData-D5vsfYKo.mjs → SpendingData-BuJ03S9d.mjs} +16 -16
- package/dist/SpendingLegend-D24CEkL3.mjs +170 -0
- package/dist/{TransactionDetails-DPvvi4Iu.mjs → TransactionDetails-DRlrltGq.mjs} +11 -8
- package/dist/{TransactionStore-CBrJOY0H.mjs → TransactionStore-D8MKYDMb.mjs} +3 -3
- package/dist/{TrendsStore-DCYbpXPO.mjs → TrendsStore-DL3Vuh71.mjs} +14 -14
- package/dist/{User-BQUxBeZV.mjs → User-BthIKO4w.mjs} +2 -2
- package/dist/{WidgetContainer-BMWagbIl.mjs → WidgetContainer-DJA1bxLn.mjs} +12 -12
- package/dist/accounts/components/AccountsListCompact.d.ts +10 -0
- package/dist/accounts/index.es.js +14 -14
- package/dist/accounts/stores/AccountStore.d.ts +4 -0
- package/dist/analytics/index.es.js +2 -2
- package/dist/budgets/index.es.js +12 -12
- package/dist/cashflow/index.es.js +383 -389
- package/dist/categories/index.es.js +2 -2
- package/dist/common/components/Select.d.ts +4 -2
- package/dist/common/components/charts/LineChart.d.ts +2 -0
- package/dist/common/components/charts/linechart/CustomMark.d.ts +2 -0
- package/dist/common/components/drawer/Drawer.d.ts +3 -0
- package/dist/common/components/drawer/Footer.d.ts +17 -0
- package/dist/common/context/GlobalDataProvider.d.ts +0 -1
- package/dist/common/context/hooks.d.ts +0 -3
- package/dist/common/context/index.d.ts +1 -1
- package/dist/common/index.es.js +57 -58
- package/dist/common/types/Finstrong.d.ts +50 -0
- package/dist/common/types/index.d.ts +1 -1
- package/dist/common/types/localization/FinstrongCopy.d.ts +57 -1
- package/dist/dashboard/index.es.js +77 -79
- package/dist/debts/index.es.js +11 -11
- package/dist/{exportTransactionsToCSV-7bVS7KXf.mjs → exportTransactionsToCSV-XqdHNe2V.mjs} +2 -2
- package/dist/finstrong/api/FinstrongApi.d.ts +5 -0
- package/dist/finstrong/components/ConnectMoreAccountsCard.d.ts +2 -1
- package/dist/finstrong/components/CreditOverTimeGraph.d.ts +1 -0
- package/dist/finstrong/components/CreditScore/CreditScoreContent.d.ts +4 -0
- package/dist/finstrong/components/CreditScore/CreditScoreHeader.d.ts +4 -0
- package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent.d.ts +3 -0
- package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.d.ts +3 -0
- package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar.d.ts +4 -0
- package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent.d.ts +3 -0
- package/dist/finstrong/components/KeyIndicatorsBorrowTab.d.ts +2 -2
- package/dist/finstrong/components/KeyIndicatorsDrawer.d.ts +1 -1
- package/dist/finstrong/components/KeyIndicatorsSaveTab.d.ts +2 -2
- package/dist/finstrong/components/KeyIndicatorsSpendTab.d.ts +2 -2
- package/dist/finstrong/components/KeyIndicatorsTabItem.d.ts +4 -3
- package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.d.ts +10 -0
- package/dist/finstrong/components/KeyIndicatorsTabsWidget.d.ts +2 -2
- package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator.d.ts +6 -0
- package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent.d.ts +4 -0
- package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky.d.ts +4 -0
- package/dist/finstrong/components/ProgressBar.d.ts +15 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent.d.ts +3 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.d.ts +3 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar.d.ts +4 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent.d.ts +3 -0
- package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent.d.ts +3 -0
- package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar.d.ts +4 -0
- package/dist/finstrong/components/StatusChip.d.ts +5 -0
- package/dist/finstrong/components/onboarding/Onboarding.d.ts +2 -0
- package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +11 -0
- package/dist/finstrong/components/onboarding/OnboardingBirthday.d.ts +8 -0
- package/dist/finstrong/components/onboarding/OnboardingCreditScore.d.ts +8 -0
- package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +14 -0
- package/dist/finstrong/components/onboarding/OnboardingStepsHeader.d.ts +8 -0
- package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent.d.ts +4 -0
- package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent.d.ts +4 -0
- package/dist/finstrong/components/shared/Accounts.d.ts +8 -0
- package/dist/finstrong/components/shared/CustomDoubleBarPlot.d.ts +25 -0
- package/dist/finstrong/components/shared/DoubleBarChart.d.ts +28 -0
- package/dist/finstrong/components/shared/LineGraph.d.ts +7 -0
- package/dist/finstrong/components/shared/TotalCard.d.ts +8 -0
- package/dist/finstrong/components/shared/TransactionList.d.ts +15 -0
- package/dist/finstrong/components/shared/Transactions.d.ts +11 -0
- package/dist/finstrong/constants/index.d.ts +8 -0
- package/dist/finstrong/index.es.js +2899 -1017
- package/dist/finstrong/stores/FinstrongStore.d.ts +9 -1
- package/dist/finstrong/util/finstrongUtils.d.ts +65 -1
- package/dist/goals/index.es.js +54 -54
- package/dist/help/index.es.js +3 -3
- package/dist/hooks-CBST3rkm.mjs +74 -0
- package/dist/investments/index.es.js +4 -4
- package/dist/merchants/index.es.js +1 -1
- package/dist/networth/index.es.js +34 -34
- package/dist/notifications/index.es.js +4 -4
- package/dist/recurringtransactions/index.es.js +24 -24
- package/dist/settings/index.es.js +8 -8
- package/dist/spending/index.es.js +222 -373
- package/dist/transactions/index.es.js +15 -15
- package/dist/trends/index.es.js +451 -451
- package/dist/{useAccountDisplayName-BEorBm5u.mjs → useAccountDisplayName-DH1CuQ9R.mjs} +2 -2
- package/dist/{useInsightsEnabled-DBpwEq10.mjs → useInsightsEnabled-jdvS1ppf.mjs} +1 -1
- package/package.json +1 -1
- package/dist/Drawer-kEE73B87.mjs +0 -113
- package/dist/FinstrongStore-F2c607dj.mjs +0 -101
- package/dist/LineChart-D4GI7nVh.mjs +0 -541
- package/dist/finstrong/utils/Finstrong.d.ts +0 -6
- package/dist/hooks-D6XlXHf4.mjs +0 -77
|
@@ -3,36 +3,36 @@ 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 {
|
|
7
|
-
import { f as we,
|
|
8
|
-
import { L as We } from "../LineChart-
|
|
6
|
+
import { p as _e, u as T, d as J, g as Q, b as P, q as ee } from "../hooks-CBST3rkm.mjs";
|
|
7
|
+
import { f as we, a as be } from "../Dialog-BPTr3qHE.mjs";
|
|
8
|
+
import { L as We } from "../LineChart-CE3oLBQ0.mjs";
|
|
9
9
|
import W from "@mui/material/Divider";
|
|
10
10
|
import B from "@mui/material/List";
|
|
11
|
-
import
|
|
11
|
+
import k from "@mui/material/ListSubheader";
|
|
12
12
|
import h from "@mui/material/Stack";
|
|
13
13
|
import { Text as m, Icon as H, H1 as ve, P as Ie } from "@mxenabled/mxui";
|
|
14
14
|
import d from "react";
|
|
15
|
-
import
|
|
15
|
+
import D from "@mui/material/ListItem";
|
|
16
16
|
import te from "@mui/material/ListItemButton";
|
|
17
17
|
import _ from "@mui/material/ListItemText";
|
|
18
|
-
import { i as ne } from "../DateUtil-
|
|
18
|
+
import { i as ne } from "../DateUtil-CBdcsyuk.mjs";
|
|
19
19
|
import { C as y } from "../CurrencyText-kyC1aseI.mjs";
|
|
20
20
|
import { Button as Te, Stack as Le } from "@mui/material";
|
|
21
|
-
import { format as Ne, fromUnixTime as
|
|
22
|
-
import { g as K } from "../NetWorthStore-
|
|
23
|
-
import { N as Ot } from "../NetWorthStore-
|
|
21
|
+
import { format as Ne, fromUnixTime as Ee, differenceInMonths as ke } from "date-fns";
|
|
22
|
+
import { g as K } from "../NetWorthStore-MnpP5KEc.mjs";
|
|
23
|
+
import { N as Ot } from "../NetWorthStore-MnpP5KEc.mjs";
|
|
24
24
|
import { Icon as oe } from "@mxenabled/mx-icons";
|
|
25
25
|
import { f as U } from "../NumberFormatting-Buh7u8Oi.mjs";
|
|
26
|
-
import { A as b, W as
|
|
26
|
+
import { A as b, W as De } from "../WidgetContainer-DJA1bxLn.mjs";
|
|
27
27
|
import { L as O } from "../Loader-DUaFpDGv.mjs";
|
|
28
|
-
import { M as Ae } from "../MicroWidgetContainer-
|
|
28
|
+
import { M as Ae } from "../MicroWidgetContainer-C3iV1FBR.mjs";
|
|
29
29
|
import re from "@mui/material/Box";
|
|
30
|
-
import { C as Me } from "../ConnectionsDrawer-
|
|
30
|
+
import { C as Me } from "../ConnectionsDrawer-DabiwV9L.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";
|
|
34
34
|
import { E as Be } from "../EmptyState-DA_lfRBv.mjs";
|
|
35
|
-
import { D as Y } from "../Drawer-
|
|
35
|
+
import { D as Y } from "../Drawer-BEtCk82g.mjs";
|
|
36
36
|
const Oe = ({
|
|
37
37
|
chartData: t,
|
|
38
38
|
hoveredData: l,
|
|
@@ -53,11 +53,11 @@ const Oe = ({
|
|
|
53
53
|
We,
|
|
54
54
|
{
|
|
55
55
|
baseline: "min",
|
|
56
|
-
colors: [u.palette.success.main],
|
|
57
|
-
datasets: [x],
|
|
58
56
|
chartFor: "networthChart",
|
|
59
57
|
chartXaxisSx: { "& .MuiChartsAxis-tickLabel": { transform: "translateX(8px)" } },
|
|
60
58
|
chartYaxisSx: { "& .MuiChartsAxis-tickLabel": { transform: "translateX(-8px)" } },
|
|
59
|
+
colors: [u.palette.success.main],
|
|
60
|
+
datasets: [x],
|
|
61
61
|
height: 350,
|
|
62
62
|
labels: [],
|
|
63
63
|
margin: { right: 20, left: 100 },
|
|
@@ -85,7 +85,7 @@ const Oe = ({
|
|
|
85
85
|
u(l(t));
|
|
86
86
|
}, [i, n]), /* @__PURE__ */ r(d.Fragment, { children: [
|
|
87
87
|
/* @__PURE__ */ e(
|
|
88
|
-
|
|
88
|
+
D,
|
|
89
89
|
{
|
|
90
90
|
sx: {
|
|
91
91
|
...c,
|
|
@@ -133,7 +133,7 @@ const Oe = ({
|
|
|
133
133
|
};
|
|
134
134
|
return /* @__PURE__ */ r(h, { direction: "column", sx: { width: 320 }, children: [
|
|
135
135
|
/* @__PURE__ */ r(B, { children: [
|
|
136
|
-
/* @__PURE__ */ e(
|
|
136
|
+
/* @__PURE__ */ e(k, { sx: { backgroundColor: "transparent", mb: 8, mt: 12, px: 12 }, children: /* @__PURE__ */ e(m, { bold: !0, component: "h2", variant: "Body", children: c.monthly_totals }) }),
|
|
137
137
|
/* @__PURE__ */ e(W, {}),
|
|
138
138
|
t.map((x, g) => /* @__PURE__ */ e(
|
|
139
139
|
je,
|
|
@@ -182,7 +182,7 @@ const Oe = ({
|
|
|
182
182
|
/* @__PURE__ */ e(m, { variant: "Small", children: t })
|
|
183
183
|
] });
|
|
184
184
|
}, R = w(Xe), Fe = ({ hoveredData: t, selectedData: l }) => {
|
|
185
|
-
const { net_worth: i } = T(), n = z(), s = t || l, o = Ne(
|
|
185
|
+
const { net_worth: i } = T(), n = z(), s = t || l, o = Ne(Ee(s.x), "MMMM");
|
|
186
186
|
return /* @__PURE__ */ r(h, { alignItems: "center", direction: "column", m: 24, children: [
|
|
187
187
|
/* @__PURE__ */ e(m, { color: n.palette.secondary.main, variant: "Small", children: `${o} ${i.net_worth}` }),
|
|
188
188
|
/* @__PURE__ */ e(y, { amount: s.y, variant: "H2" }),
|
|
@@ -240,7 +240,7 @@ const Oe = ({
|
|
|
240
240
|
}), Ye = ({ accounts: t, name: l, icon: i }) => {
|
|
241
241
|
const [n, s] = d.useState(!1);
|
|
242
242
|
return /* @__PURE__ */ r(v, { children: [
|
|
243
|
-
/* @__PURE__ */ e(
|
|
243
|
+
/* @__PURE__ */ e(D, { sx: (o) => ({ backgroundColor: o.palette.background.paper }), children: /* @__PURE__ */ r(te, { onClick: () => s(!n), children: [
|
|
244
244
|
i && /* @__PURE__ */ e(V, { children: /* @__PURE__ */ e(H, { name: i, size: 24, sx: { mr: 12 } }) }),
|
|
245
245
|
/* @__PURE__ */ e(
|
|
246
246
|
_,
|
|
@@ -252,7 +252,7 @@ const Oe = ({
|
|
|
252
252
|
] }) }),
|
|
253
253
|
/* @__PURE__ */ e(W, {}),
|
|
254
254
|
/* @__PURE__ */ e(He, { in: n, timeout: "auto", unmountOnExit: !0, children: t.map((o, a) => /* @__PURE__ */ r(B, { children: [
|
|
255
|
-
/* @__PURE__ */ e(
|
|
255
|
+
/* @__PURE__ */ e(D, { sx: () => ({ py: 14 }), children: /* @__PURE__ */ e(
|
|
256
256
|
_,
|
|
257
257
|
{
|
|
258
258
|
primary: /* @__PURE__ */ r(h, { direction: "row", justifyContent: "space-between", sx: { fontWeight: 400 }, children: [
|
|
@@ -319,7 +319,7 @@ const Oe = ({
|
|
|
319
319
|
}
|
|
320
320
|
),
|
|
321
321
|
/* @__PURE__ */ r(B, { children: [
|
|
322
|
-
/* @__PURE__ */ e(
|
|
322
|
+
/* @__PURE__ */ e(k, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ e(
|
|
323
323
|
_,
|
|
324
324
|
{
|
|
325
325
|
primary: /* @__PURE__ */ r(h, { direction: "row", justifyContent: "space-between", children: [
|
|
@@ -329,7 +329,7 @@ const Oe = ({
|
|
|
329
329
|
}
|
|
330
330
|
) }),
|
|
331
331
|
/* @__PURE__ */ e(q, { groupedAccounts: K(l) }),
|
|
332
|
-
/* @__PURE__ */ e(
|
|
332
|
+
/* @__PURE__ */ e(k, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ e(
|
|
333
333
|
_,
|
|
334
334
|
{
|
|
335
335
|
primary: /* @__PURE__ */ r(h, { direction: "row", justifyContent: "space-between", children: [
|
|
@@ -356,7 +356,7 @@ const Oe = ({
|
|
|
356
356
|
t && /* @__PURE__ */ e(R, { currencyVariant: "H1", iconSize: 32, netWorth: t, theme: a })
|
|
357
357
|
] }),
|
|
358
358
|
/* @__PURE__ */ r(B, { children: [
|
|
359
|
-
/* @__PURE__ */ e(
|
|
359
|
+
/* @__PURE__ */ e(k, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ e(
|
|
360
360
|
_,
|
|
361
361
|
{
|
|
362
362
|
primary: /* @__PURE__ */ r(h, { direction: "row", justifyContent: "space-between", children: [
|
|
@@ -366,7 +366,7 @@ const Oe = ({
|
|
|
366
366
|
}
|
|
367
367
|
) }),
|
|
368
368
|
l?.map((c) => /* @__PURE__ */ r(d.Fragment, { children: [
|
|
369
|
-
/* @__PURE__ */ e(
|
|
369
|
+
/* @__PURE__ */ e(D, { sx: { backgroundColor: a.palette.background.paper, py: 14 }, children: /* @__PURE__ */ e(
|
|
370
370
|
_,
|
|
371
371
|
{
|
|
372
372
|
primary: /* @__PURE__ */ r(h, { direction: "row", justifyContent: "space-between", children: [
|
|
@@ -385,7 +385,7 @@ const Oe = ({
|
|
|
385
385
|
) }),
|
|
386
386
|
/* @__PURE__ */ e(W, {})
|
|
387
387
|
] }, c.accountName)),
|
|
388
|
-
/* @__PURE__ */ e(
|
|
388
|
+
/* @__PURE__ */ e(k, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ e(
|
|
389
389
|
_,
|
|
390
390
|
{
|
|
391
391
|
primary: /* @__PURE__ */ r(h, { direction: "row", justifyContent: "space-between", children: [
|
|
@@ -396,7 +396,7 @@ const Oe = ({
|
|
|
396
396
|
) }),
|
|
397
397
|
i?.map((c) => /* @__PURE__ */ r(v, { children: [
|
|
398
398
|
/* @__PURE__ */ e(
|
|
399
|
-
|
|
399
|
+
D,
|
|
400
400
|
{
|
|
401
401
|
sx: { backgroundColor: a.palette.background.paper, py: 14 },
|
|
402
402
|
children: /* @__PURE__ */ e(
|
|
@@ -443,17 +443,17 @@ const Oe = ({
|
|
|
443
443
|
selectedData: f,
|
|
444
444
|
setHoveredData: L,
|
|
445
445
|
setSelectedData: ae
|
|
446
|
-
} = ee(), { isMobile: N } = Z(), { onEvent:
|
|
446
|
+
} = ee(), { isMobile: N } = Z(), { onEvent: E } = Q(), [se, ce] = d.useState(!1), [A, le] = d.useState(6), [me, j] = d.useState(!1), [de, $] = d.useState(!1), [he, G] = d.useState(!1), ue = async () => {
|
|
447
447
|
await S(n), await g(A), ce(!0);
|
|
448
448
|
};
|
|
449
449
|
d.useEffect(() => {
|
|
450
|
-
|
|
450
|
+
E(b.NET_WORTH_VIEW);
|
|
451
451
|
}, []), d.useEffect(() => {
|
|
452
452
|
s(c);
|
|
453
453
|
}, [c]), d.useEffect(() => {
|
|
454
454
|
i && ue().finally();
|
|
455
455
|
}, [i, n]), d.useEffect(() => {
|
|
456
|
-
|
|
456
|
+
E(b.NET_WORTH_WIDGET_CLICK_TIMEFRAME, { time_period: A + "M" }), g(A).finally();
|
|
457
457
|
}, [A]);
|
|
458
458
|
const pe = (I, M) => {
|
|
459
459
|
ae(M), I.currentTarget instanceof HTMLDivElement && j(!0);
|
|
@@ -462,10 +462,10 @@ const Oe = ({
|
|
|
462
462
|
}, xe = () => {
|
|
463
463
|
L(null);
|
|
464
464
|
}, ge = () => {
|
|
465
|
-
|
|
465
|
+
E(b.NET_WORTH_WIDGET_CLICK_ASSETS_LIABILITIES), $(!0);
|
|
466
466
|
}, ye = async (I) => {
|
|
467
467
|
const M = I[0], F = I[1];
|
|
468
|
-
M && F && le(
|
|
468
|
+
M && F && le(ke(F, M));
|
|
469
469
|
}, X = {
|
|
470
470
|
chartData: p,
|
|
471
471
|
hoveredData: x,
|
|
@@ -475,17 +475,17 @@ const Oe = ({
|
|
|
475
475
|
onMouseLeave: xe,
|
|
476
476
|
selectedData: f
|
|
477
477
|
}, Ce = () => {
|
|
478
|
-
G(!0),
|
|
478
|
+
G(!0), E(b.ACCOUNTS_CLICK_CONNECT);
|
|
479
479
|
};
|
|
480
480
|
return l ? /* @__PURE__ */ e(
|
|
481
|
-
|
|
481
|
+
De,
|
|
482
482
|
{
|
|
483
483
|
accountOptions: c,
|
|
484
484
|
calendarActions: {
|
|
485
485
|
onRangeChanged: ye
|
|
486
486
|
},
|
|
487
487
|
dateRangeVariant: N ? "timeframetabs" : "timeframebuttons",
|
|
488
|
-
onAccountsFilterClick: () =>
|
|
488
|
+
onAccountsFilterClick: () => E(b.NET_WORTH_WIDGET_CLICK_FILTER),
|
|
489
489
|
onBackClick: t,
|
|
490
490
|
showDividerAboveDateSelector: !1,
|
|
491
491
|
sx: {
|
|
@@ -9,16 +9,16 @@ import y from "@mui/material/Box";
|
|
|
9
9
|
import D from "@mui/material/Divider";
|
|
10
10
|
import B from "@mui/material/List";
|
|
11
11
|
import { Text as m, InstitutionLogo as T, CategoryIcon as R } from "@mxenabled/mxui";
|
|
12
|
-
import { h as I } from "../DateUtil-
|
|
12
|
+
import { h as I } from "../DateUtil-CBdcsyuk.mjs";
|
|
13
13
|
import { useTheme as O, Card as G } from "@mui/material";
|
|
14
|
-
import { d as E, i as j, u as g,
|
|
14
|
+
import { d as E, i as j, u as g, n as N, b as S, a as z } from "../hooks-CBST3rkm.mjs";
|
|
15
15
|
import { Icon as U, Settings as F } from "@mxenabled/mx-icons";
|
|
16
16
|
import P from "@mui/material/Button";
|
|
17
17
|
import W from "@mui/material/Stack";
|
|
18
18
|
import { L as w } from "../Loader-DUaFpDGv.mjs";
|
|
19
19
|
import $ from "@mui/material/IconButton";
|
|
20
|
-
import { N as H } from "../NotificationSettings-
|
|
21
|
-
import { D as C } from "../Drawer-
|
|
20
|
+
import { N as H } from "../NotificationSettings-Ckx8tgQj.mjs";
|
|
21
|
+
import { D as C } from "../Drawer-BEtCk82g.mjs";
|
|
22
22
|
const yt = (e) => {
|
|
23
23
|
switch (e) {
|
|
24
24
|
case b.BudgetExceeded:
|
|
@@ -8,8 +8,8 @@ import { startOfToday as ue } from "date-fns/startOfToday";
|
|
|
8
8
|
import { subDays as me } from "date-fns/subDays";
|
|
9
9
|
import ae from "@mui/material/Skeleton";
|
|
10
10
|
import c from "@mui/material/Stack";
|
|
11
|
-
import { R as Ee } from "../RecurringSettings-
|
|
12
|
-
import { M as En } from "../RecurringSettings-
|
|
11
|
+
import { R as Ee } from "../RecurringSettings-DE4T4yQy.mjs";
|
|
12
|
+
import { M as En } from "../RecurringSettings-DE4T4yQy.mjs";
|
|
13
13
|
import { addMonths as ze } from "date-fns/addMonths";
|
|
14
14
|
import { subMonths as Fe } from "date-fns/subMonths";
|
|
15
15
|
import { isBefore as Ue } from "date-fns/isBefore";
|
|
@@ -17,8 +17,8 @@ import se from "@mui/material/Unstable_Grid2";
|
|
|
17
17
|
import Se from "@mui/material/IconButton";
|
|
18
18
|
import _e from "@mui/material/Tab";
|
|
19
19
|
import je from "@mui/material/Tabs";
|
|
20
|
-
import { Schedule as Ke, MonetizationOn as Ye, Cancel as Ge, CheckCircle as Ne, ChevronLeft as Ve, ChevronRight as Xe, CurrencyExchange as
|
|
21
|
-
import { Text as p, MerchantLogo as pe, InstitutionLogo as
|
|
20
|
+
import { Schedule as Ke, MonetizationOn as Ye, Cancel as Ge, CheckCircle as Ne, ChevronLeft as Ve, ChevronRight as Xe, CurrencyExchange as Ze } from "@mxenabled/mx-icons";
|
|
21
|
+
import { Text as p, MerchantLogo as pe, InstitutionLogo as qe, H3 as Je, P as ce } from "@mxenabled/mxui";
|
|
22
22
|
import { getWeeksInMonth as we } from "date-fns/getWeeksInMonth";
|
|
23
23
|
import ge from "@mui/material/styles/useTheme";
|
|
24
24
|
import { AdapterDateFns as Qe } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
@@ -27,12 +27,12 @@ import { LocalizationProvider as tt } from "@mui/x-date-pickers/LocalizationProv
|
|
|
27
27
|
import { isSameDay as nt } from "date-fns/isSameDay";
|
|
28
28
|
import it from "@mui/material/Badge";
|
|
29
29
|
import { PickersDay as rt } from "@mui/x-date-pickers/PickersDay";
|
|
30
|
-
import { I as
|
|
31
|
-
import { u as D, b as
|
|
32
|
-
import { c as M, a as S, g as Ie, f as ot } from "../RecurringTransactions-
|
|
33
|
-
import { T as B } from "../RecurringTransactionsStore-
|
|
34
|
-
import { R as Nn } from "../RecurringTransactionsStore-
|
|
35
|
-
import { A as w, W as at } from "../WidgetContainer-
|
|
30
|
+
import { I as Z } from "../IconBacking-B9oC6uL2.mjs";
|
|
31
|
+
import { u as D, b as q, j as I, g as J, p as Oe, d as he, h as fe } from "../hooks-CBST3rkm.mjs";
|
|
32
|
+
import { c as M, a as S, g as Ie, f as ot } from "../RecurringTransactions-CngsRZ3K.mjs";
|
|
33
|
+
import { T as B } from "../RecurringTransactionsStore-C4RVULF8.mjs";
|
|
34
|
+
import { R as Nn } from "../RecurringTransactionsStore-C4RVULF8.mjs";
|
|
35
|
+
import { A as w, W as at } from "../WidgetContainer-DJA1bxLn.mjs";
|
|
36
36
|
import st from "@mui/material/Button";
|
|
37
37
|
import le from "@mui/material/Divider";
|
|
38
38
|
import ve from "@mui/material/List";
|
|
@@ -41,32 +41,32 @@ import ct from "@mui/material/ListSubheader";
|
|
|
41
41
|
import lt from "@mui/material/ListItemAvatar";
|
|
42
42
|
import dt from "@mui/material/ListItemButton";
|
|
43
43
|
import ut from "@mui/material/ListItemText";
|
|
44
|
-
import { b as mt } from "../ManageIncome-
|
|
45
|
-
import { c as kn, M as Wn, S as $n } from "../ManageIncome-
|
|
44
|
+
import { b as mt } from "../ManageIncome-BaNgfwr5.mjs";
|
|
45
|
+
import { c as kn, M as Wn, S as $n } from "../ManageIncome-BaNgfwr5.mjs";
|
|
46
46
|
import { f as L } from "../NumberFormatting-Buh7u8Oi.mjs";
|
|
47
|
-
import { D as xe } from "../Drawer-
|
|
47
|
+
import { D as xe } from "../Drawer-BEtCk82g.mjs";
|
|
48
48
|
import { b as N } from "../Localization-2MODESHW.mjs";
|
|
49
|
-
import { f as A,
|
|
49
|
+
import { f as A, a as E } from "../Dialog-BPTr3qHE.mjs";
|
|
50
50
|
import O from "@mui/material/Box";
|
|
51
51
|
import { S as We } from "../StatusBar-BK_uYHAB.mjs";
|
|
52
52
|
import { u as ye } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
53
53
|
import { L as V } from "../Loader-DUaFpDGv.mjs";
|
|
54
|
-
import { M as pt } from "../MiniWidgetContainer-
|
|
54
|
+
import { M as pt } from "../MiniWidgetContainer-LtXXgZ6H.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-C3iV1FBR.mjs";
|
|
57
57
|
const Q = {
|
|
58
58
|
gridRow: 1,
|
|
59
59
|
gridColumn: 1,
|
|
60
60
|
zIndex: 2
|
|
61
|
-
}, ee = (t) => t ? { margin: "0 0 -6px -4px" } : void 0, Ce = ({ isOffset: t = !1, size: n = 16 }) => /* @__PURE__ */ e(
|
|
61
|
+
}, ee = (t) => t ? { margin: "0 0 -6px -4px" } : void 0, Ce = ({ isOffset: t = !1, size: n = 16 }) => /* @__PURE__ */ e(Z, { size: n, sx: { ...ee(t) }, children: /* @__PURE__ */ e(Ke, { color: "primary", filled: !0, sx: { fontSize: n, ...Q } }) }), be = ({ isOffset: t = !1, size: n = 16 }) => /* @__PURE__ */ e(Z, { size: n, sx: { ...ee(t) }, children: /* @__PURE__ */ e(
|
|
62
62
|
Ye,
|
|
63
63
|
{
|
|
64
64
|
filled: !0,
|
|
65
65
|
sx: { color: "categories.income", fontSize: n, ...Q }
|
|
66
66
|
}
|
|
67
|
-
) }), Re = ({ isOffset: t = !1, size: n = 16 }) => /* @__PURE__ */ e(
|
|
67
|
+
) }), Re = ({ isOffset: t = !1, size: n = 16 }) => /* @__PURE__ */ e(Z, { size: n, sx: { ...ee(t) }, children: /* @__PURE__ */ e(Ge, { color: "error", filled: !0, sx: { fontSize: n, ...Q } }) }), Te = ({ isOffset: t = !1, size: n = 16 }) => /* @__PURE__ */ e(Z, { size: n, sx: { ...ee(t) }, children: /* @__PURE__ */ e(Ne, { color: "success", filled: !0, sx: { fontSize: n, ...Q } }) }), ft = T(
|
|
68
68
|
({ day: t, outsideCurrentMonth: n, ...i }) => {
|
|
69
|
-
const { recurring: r } = D(), { selectedAccountGuids: o } =
|
|
69
|
+
const { recurring: r } = D(), { selectedAccountGuids: o } = q(), { recurrences: l, setSelectedDay: m } = I(), s = h.useMemo(
|
|
70
70
|
() => l.filter((d) => o.includes(d.accountGuid)),
|
|
71
71
|
[o, l]
|
|
72
72
|
).filter(
|
|
@@ -278,7 +278,7 @@ const Q = {
|
|
|
278
278
|
/* @__PURE__ */ e(p, { variant: "caption", children: Ct(t, o) })
|
|
279
279
|
] }) : /* @__PURE__ */ a(X, { children: [
|
|
280
280
|
t.institutionGuid && /* @__PURE__ */ e(
|
|
281
|
-
|
|
281
|
+
qe,
|
|
282
282
|
{
|
|
283
283
|
alt: t.institutionName,
|
|
284
284
|
institutionGuid: t.institutionGuid,
|
|
@@ -559,7 +559,7 @@ const Q = {
|
|
|
559
559
|
}
|
|
560
560
|
);
|
|
561
561
|
}), wn = T(({ onBackClick: t, sx: n = {} }) => {
|
|
562
|
-
const { accounts: i } = he(), { recurring: r } = D(), { isCopyLoaded: o, isInitialized: l, selectedAccountGuids: m, setSelectedAccounts: g } =
|
|
562
|
+
const { accounts: i } = he(), { recurring: r } = D(), { isCopyLoaded: o, isInitialized: l, selectedAccountGuids: m, setSelectedAccounts: g } = q(), { isDataLoaded: s, loadRepeatingTransactions: u, setDateRange: f } = I(), { setFilter: x } = fe(), { onEvent: C } = J(), { isMobile: y } = ye(), [d, b] = h.useState(!1);
|
|
563
563
|
return h.useEffect(() => {
|
|
564
564
|
g(i);
|
|
565
565
|
}, [i]), h.useEffect(() => {
|
|
@@ -626,7 +626,7 @@ const Q = {
|
|
|
626
626
|
] });
|
|
627
627
|
}), In = T(
|
|
628
628
|
({ onPrimaryCtaClick: t, sx: n }) => {
|
|
629
|
-
const { accounts: i } = he(), { recurring: r } = D(), { setFilter: o } = fe(), { isDataLoaded: l, loadRepeatingTransactions: m } = I(), { isCopyLoaded: g, isInitialized: s, setSelectedAccounts: u, selectedAccountGuids: f } =
|
|
629
|
+
const { accounts: i } = he(), { recurring: r } = D(), { setFilter: o } = fe(), { isDataLoaded: l, loadRepeatingTransactions: m } = I(), { isCopyLoaded: g, isInitialized: s, setSelectedAccounts: u, selectedAccountGuids: f } = q();
|
|
630
630
|
return h.useEffect(() => {
|
|
631
631
|
s && u(i);
|
|
632
632
|
}, [s]), h.useEffect(() => {
|
|
@@ -719,7 +719,7 @@ const Q = {
|
|
|
719
719
|
] }), _t = T(() => {
|
|
720
720
|
const { recurring: t } = D();
|
|
721
721
|
return /* @__PURE__ */ a(c, { sx: { alignItems: "start", flexDirection: "row", gap: 12 }, children: [
|
|
722
|
-
/* @__PURE__ */ e(
|
|
722
|
+
/* @__PURE__ */ e(Ze, { size: 32 }),
|
|
723
723
|
/* @__PURE__ */ a(c, { children: [
|
|
724
724
|
/* @__PURE__ */ e(ce, { fontWeight: 600, variant: "body1", children: t.zero_state_content_header }),
|
|
725
725
|
/* @__PURE__ */ e(ce, { color: "text.secondary", variant: "subtitle2", children: t.zero_state_content_description })
|
|
@@ -727,7 +727,7 @@ const Q = {
|
|
|
727
727
|
] });
|
|
728
728
|
}), vn = T(
|
|
729
729
|
({ onCTAClick: t }) => {
|
|
730
|
-
const [n, i] = h.useState(!1), { onEvent: r } = J(), o = ge(), { accounts: l } = he(), [m, { width: g }] = gt(), { isCopyLoaded: s, isInitialized: u, selectedAccountGuids: f, setSelectedAccounts: x } =
|
|
730
|
+
const [n, i] = h.useState(!1), { onEvent: r } = J(), o = ge(), { accounts: l } = he(), [m, { width: g }] = gt(), { isCopyLoaded: s, isInitialized: u, selectedAccountGuids: f, setSelectedAccounts: x } = q(), {
|
|
731
731
|
loadRepeatingTransactions: C,
|
|
732
732
|
upcomingRecurrences: y,
|
|
733
733
|
expenseTotal: d,
|
|
@@ -16,11 +16,11 @@ 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 G } from "../NotificationSettings-
|
|
20
|
-
import { A as Yt, B as qt, I as Qt } from "../NotificationSettings-
|
|
21
|
-
import { u as k, a as $,
|
|
19
|
+
import { V as ve, a as Ce, N as G } from "../NotificationSettings-Ckx8tgQj.mjs";
|
|
20
|
+
import { A as Yt, B as qt, I as Qt } from "../NotificationSettings-Ckx8tgQj.mjs";
|
|
21
|
+
import { u as k, a as $, r as A, o as De, b as Z, m as ee } from "../hooks-CBST3rkm.mjs";
|
|
22
22
|
import { u as L } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
23
|
-
import {
|
|
23
|
+
import { D as W } from "../Dialog-BPTr3qHE.mjs";
|
|
24
24
|
import { formatDistanceToNow as te } from "date-fns/formatDistanceToNow";
|
|
25
25
|
import { fromUnixTime as oe } from "date-fns/fromUnixTime";
|
|
26
26
|
import P from "@mui/material/styles/useTheme";
|
|
@@ -35,14 +35,14 @@ import { L as ne } from "../Loader-DUaFpDGv.mjs";
|
|
|
35
35
|
import Ie from "@mui/material/List";
|
|
36
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-DomNyubP.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
|
-
import { D as He } from "../Drawer-
|
|
44
|
-
import { H as Le } from "../Help-
|
|
45
|
-
import { W as K } from "../WidgetContainer-
|
|
43
|
+
import { D as He } from "../Drawer-BEtCk82g.mjs";
|
|
44
|
+
import { H as Le } from "../Help-BZ8pIkkR.mjs";
|
|
45
|
+
import { W as K } from "../WidgetContainer-DJA1bxLn.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,
|