@mx-cartographer/experiences 7.4.8-alpha.mm0 → 7.4.8
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 +4 -0
- package/dist/{Account-BrOTlmeK.mjs → Account-01wOyrH1.mjs} +1 -1
- package/dist/{AccountDetailsContent-B7FqH05C.mjs → AccountDetailsContent-COMjOzwr.mjs} +8 -8
- package/dist/{AccountDetailsHeader-C8MxsxhN.mjs → AccountDetailsHeader-Cbi5G6fJ.mjs} +4 -4
- package/dist/{AccountFields-BQZ-o6Kj.mjs → AccountFields-Cd_nOWmf.mjs} +2 -2
- package/dist/{AccountListItem-aIE9WWTO.mjs → AccountListItem-DxY4cCF1.mjs} +4 -4
- package/dist/{AccountStore-DqO84Aer.mjs → AccountStore-C1zMBzHq.mjs} +2 -2
- package/dist/{Accounts-DC_A4UCa.mjs → Accounts-D7QljYas.mjs} +1 -1
- package/dist/{BudgetUtil-BmZXkL0C.mjs → BudgetUtil-Df2nII9u.mjs} +1 -1
- package/dist/{CategorySelectorDrawer-SUgfE5GN.mjs → CategorySelectorDrawer-DqJK_rrL.mjs} +1 -1
- package/dist/{ConnectDrawer-KL8t1qSC.mjs → ConnectDrawer-CuUj16NH.mjs} +1 -1
- package/dist/{ConnectionsDrawer-DaK5uIL5.mjs → ConnectionsDrawer-Bz4uwdFE.mjs} +2 -2
- package/dist/{CurrencyInput-itK0R3wV.mjs → CurrencyInput-BFKcs-_K.mjs} +1 -1
- package/dist/{DebtsStore-DVPZbv2C.mjs → DebtsStore-Bu8rRRSL.mjs} +1 -1
- package/dist/{ExportCsvAction-Cglo8Mca.mjs → ExportCsvAction-DzTrtPzk.mjs} +3 -3
- package/dist/{GoalStore-o4rrjGSJ.mjs → GoalStore-CrNhjvNc.mjs} +2 -2
- package/dist/{Help-BjLMsuMS.mjs → Help-BnPXM_N2.mjs} +1 -1
- package/dist/{LineChart-BQRxZF3p.mjs → LineChart-bc1D9xBE.mjs} +1 -1
- package/dist/{ListItemAction-BxTkF6Tz.mjs → ListItemAction-uobBrm_a.mjs} +1 -1
- package/dist/{ManageIncome-rcnDYsBJ.mjs → ManageIncome-A69EUO5u.mjs} +75 -75
- package/dist/{MicroWidgetContainer-B2hO9rOG.mjs → MicroWidgetContainer-DEiRnYVa.mjs} +1 -1
- package/dist/{MiniWidgetContainer-98-hKFqm.mjs → MiniWidgetContainer-CmXpTylX.mjs} +1 -1
- package/dist/{NetWorthStore-DG2X69jG.mjs → NetWorthStore-CpL_kqvx.mjs} +2 -2
- package/dist/{NotificationSettings-C7FYNM7I.mjs → NotificationSettings-CNmJWVeI.mjs} +248 -250
- package/dist/{OriginalBalanceAction-C6jdS4ws.mjs → OriginalBalanceAction-DK8_LkPz.mjs} +3 -3
- package/dist/{RecurringSettings-C81H1l38.mjs → RecurringSettings-B0uObPlD.mjs} +3 -3
- package/dist/{SpendingLegend-DqZxN_BZ.mjs → SpendingLegend-Bf-wbJvb.mjs} +2 -2
- package/dist/{TransactionDetails-BA_E5nQ-.mjs → TransactionDetails-COH0OKNG.mjs} +5 -5
- package/dist/{TransactionStore-PRlwE-TF.mjs → TransactionStore-Dz-G8Wd0.mjs} +2 -2
- package/dist/{User-Cnlegl1N.mjs → User-wXzDI4M8.mjs} +1 -1
- package/dist/{ViewMoreMicroCard-DfPXJzbv.mjs → ViewMoreMicroCard-C0832BMe.mjs} +101 -105
- package/dist/{WidgetContainer-CaPjoWeE.mjs → WidgetContainer-6dsjtOVg.mjs} +2 -2
- package/dist/accounts/index.es.js +140 -148
- package/dist/analytics/index.es.js +2 -2
- package/dist/budgets/index.es.js +478 -483
- package/dist/cashflow/index.es.js +362 -367
- package/dist/categories/index.es.js +1 -1
- package/dist/common/hooks/index.d.ts +0 -1
- package/dist/common/index.es.js +33 -35
- package/dist/dashboard/index.es.js +88 -90
- package/dist/debts/index.es.js +342 -346
- package/dist/{exportTransactionsToCSV-DuAaI5XA.mjs → exportTransactionsToCSV-Cz2t0lmA.mjs} +1 -1
- package/dist/finstrong/index.es.js +350 -352
- package/dist/goals/index.es.js +511 -518
- package/dist/help/index.es.js +9 -13
- package/dist/{hooks-ZMp65DFz.mjs → hooks-C41HAxM5.mjs} +11 -11
- package/dist/investments/index.es.js +393 -395
- package/dist/merchants/index.es.js +1 -1
- package/dist/microinsights/index.es.js +1 -1
- package/dist/networth/index.es.js +240 -245
- package/dist/notifications/index.es.js +2 -2
- package/dist/recurringtransactions/index.es.js +285 -293
- package/dist/settings/index.es.js +249 -252
- package/dist/spending/index.es.js +126 -138
- package/dist/transactions/index.es.js +73 -77
- package/dist/trends/index.es.js +588 -601
- package/dist/{useAccountDisplayName-Cjx8YmKK.mjs → useAccountDisplayName-CMMlIOXF.mjs} +2 -2
- package/dist/{useInsightsEnabled-B7dxpDrX.mjs → useInsightsEnabled-CNjP5cfR.mjs} +1 -1
- package/package.json +1 -1
- package/dist/common/hooks/useWidgetLoadTimer.d.ts +0 -6
- package/dist/useWidgetLoadTimer-C1NBkyLd.mjs +0 -23
|
@@ -1,57 +1,56 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { fromUnixTime as
|
|
3
|
-
import { observer as
|
|
1
|
+
import { jsx as t, jsxs as r, Fragment as v } from "react/jsx-runtime";
|
|
2
|
+
import { fromUnixTime as _t } from "date-fns/fromUnixTime";
|
|
3
|
+
import { observer as w } from "mobx-react-lite";
|
|
4
4
|
import { useTheme as z } from "@mui/material/styles";
|
|
5
|
-
import { L as
|
|
6
|
-
import { u as
|
|
7
|
-
import {
|
|
8
|
-
import { f as
|
|
5
|
+
import { L as wt } from "../LineChart-bc1D9xBE.mjs";
|
|
6
|
+
import { u as Z } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
7
|
+
import { q as bt, u as T, d as J, g as Q, b as P, r as tt, n as Wt } from "../hooks-C41HAxM5.mjs";
|
|
8
|
+
import { f as vt, a as It } from "../Dialog-BPTr3qHE.mjs";
|
|
9
9
|
import W from "@mui/material/Divider";
|
|
10
10
|
import B from "@mui/material/List";
|
|
11
11
|
import k from "@mui/material/ListSubheader";
|
|
12
12
|
import h from "@mui/material/Stack";
|
|
13
|
-
import { Text as m, Icon as H, H1 as
|
|
13
|
+
import { Text as m, Icon as H, H1 as Tt, P as Lt } from "@mxenabled/mxui";
|
|
14
14
|
import d from "react";
|
|
15
15
|
import D from "@mui/material/ListItem";
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import { i as
|
|
16
|
+
import et from "@mui/material/ListItemButton";
|
|
17
|
+
import _ from "@mui/material/ListItemText";
|
|
18
|
+
import { i as nt } from "../DateUtil-CBdcsyuk.mjs";
|
|
19
19
|
import { C as y } from "../CurrencyText-Dr0EZ7bp.mjs";
|
|
20
|
-
import { Button as
|
|
21
|
-
import { format as
|
|
22
|
-
import { g as
|
|
23
|
-
import { N as
|
|
24
|
-
import { Icon as
|
|
25
|
-
import { f as
|
|
26
|
-
import {
|
|
27
|
-
import { A as b, W as Me } from "../WidgetContainer-CaPjoWeE.mjs";
|
|
20
|
+
import { Button as Nt, Stack as Et } from "@mui/material";
|
|
21
|
+
import { format as kt, fromUnixTime as Dt, differenceInMonths as At } from "date-fns";
|
|
22
|
+
import { g as K } from "../NetWorthStore-CpL_kqvx.mjs";
|
|
23
|
+
import { N as Re } from "../NetWorthStore-CpL_kqvx.mjs";
|
|
24
|
+
import { Icon as ot } from "@mxenabled/mx-icons";
|
|
25
|
+
import { f as U } from "../NumberFormatting-DjTD0t3W.mjs";
|
|
26
|
+
import { A as b, W as Mt } from "../WidgetContainer-6dsjtOVg.mjs";
|
|
28
27
|
import { L as O } from "../Loader-DUaFpDGv.mjs";
|
|
29
|
-
import { M as
|
|
30
|
-
import
|
|
31
|
-
import { C as
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import
|
|
35
|
-
import { E as
|
|
36
|
-
import { D as
|
|
37
|
-
const
|
|
38
|
-
chartData:
|
|
39
|
-
hoveredData:
|
|
28
|
+
import { M as Ht } from "../MicroWidgetContainer-DEiRnYVa.mjs";
|
|
29
|
+
import rt from "@mui/material/Box";
|
|
30
|
+
import { C as Bt } from "../ConnectionsDrawer-Bz4uwdFE.mjs";
|
|
31
|
+
import Ot from "@mui/material/Collapse";
|
|
32
|
+
import V from "@mui/material/ListItemIcon";
|
|
33
|
+
import it from "@mui/material/styles/useTheme";
|
|
34
|
+
import { E as zt } from "../EmptyState-DoxNUae-.mjs";
|
|
35
|
+
import { D as Y } from "../Drawer-BEtCk82g.mjs";
|
|
36
|
+
const Rt = ({
|
|
37
|
+
chartData: e,
|
|
38
|
+
hoveredData: l,
|
|
40
39
|
onDataClick: i,
|
|
41
40
|
onMouseEnter: n,
|
|
42
|
-
onMouseLeave:
|
|
41
|
+
onMouseLeave: s,
|
|
43
42
|
selectedData: o
|
|
44
43
|
}) => {
|
|
45
|
-
const { isMobile: a } =
|
|
46
|
-
x:
|
|
44
|
+
const { isMobile: a } = Z(), { availableWidth: c } = bt(), u = z(), C = c - 320, x = e.map((f) => ({
|
|
45
|
+
x: vt(_t(f.x), It.MONTH_SHORT),
|
|
47
46
|
y: f.y
|
|
48
|
-
})), g = o ? { index:
|
|
47
|
+
})), g = o ? { index: e.findIndex((f) => f.x === o.x) } : void 0, S = l ? { index: e.findIndex((f) => f.x === l.x) } : void 0, p = (f) => ({
|
|
49
48
|
fill: f === g?.index ? u.palette.success.main : "",
|
|
50
49
|
filter: f === S?.index ? `drop-shadow(0px 0px 10px ${u.palette.success.main})` : "none",
|
|
51
50
|
stroke: u.palette.success.main
|
|
52
51
|
});
|
|
53
|
-
return /* @__PURE__ */
|
|
54
|
-
|
|
52
|
+
return /* @__PURE__ */ t(
|
|
53
|
+
wt,
|
|
55
54
|
{
|
|
56
55
|
baseline: "min",
|
|
57
56
|
chartFor: "networthChart",
|
|
@@ -62,7 +61,7 @@ const ze = ({
|
|
|
62
61
|
height: 350,
|
|
63
62
|
labels: [],
|
|
64
63
|
margin: { right: 20, left: 100 },
|
|
65
|
-
markHandlers: { onMarkClick: i, onMouseEnter: n, onMouseLeave:
|
|
64
|
+
markHandlers: { onMarkClick: i, onMouseEnter: n, onMouseLeave: s },
|
|
66
65
|
markStyles: p,
|
|
67
66
|
showArea: !0,
|
|
68
67
|
useCustomMark: !0,
|
|
@@ -70,42 +69,42 @@ const ze = ({
|
|
|
70
69
|
width: a ? 320 : C
|
|
71
70
|
}
|
|
72
71
|
);
|
|
73
|
-
},
|
|
74
|
-
item:
|
|
75
|
-
getStyles:
|
|
72
|
+
}, jt = w(Rt), $t = ({
|
|
73
|
+
item: e,
|
|
74
|
+
getStyles: l,
|
|
76
75
|
isHovered: i = !1,
|
|
77
76
|
isSelected: n = !1,
|
|
78
|
-
onItemClick:
|
|
77
|
+
onItemClick: s,
|
|
79
78
|
onMouseEnter: o,
|
|
80
79
|
onMouseLeave: a
|
|
81
80
|
}) => {
|
|
82
|
-
const [
|
|
81
|
+
const [c, u] = d.useState({
|
|
83
82
|
color: ""
|
|
84
83
|
});
|
|
85
84
|
return d.useEffect(() => {
|
|
86
|
-
u(
|
|
85
|
+
u(l(e));
|
|
87
86
|
}, [i, n]), /* @__PURE__ */ r(d.Fragment, { children: [
|
|
88
|
-
/* @__PURE__ */
|
|
87
|
+
/* @__PURE__ */ t(
|
|
89
88
|
D,
|
|
90
89
|
{
|
|
91
90
|
sx: {
|
|
92
|
-
...
|
|
91
|
+
...c,
|
|
93
92
|
minHeight: 44,
|
|
94
|
-
"&:hover": { color: n ? "inherit" :
|
|
93
|
+
"&:hover": { color: n ? "inherit" : c.color }
|
|
95
94
|
},
|
|
96
|
-
children: /* @__PURE__ */
|
|
97
|
-
|
|
95
|
+
children: /* @__PURE__ */ t(
|
|
96
|
+
et,
|
|
98
97
|
{
|
|
99
|
-
onClick: (C) =>
|
|
100
|
-
onMouseEnter: () => o(
|
|
98
|
+
onClick: (C) => s?.(C, e.x),
|
|
99
|
+
onMouseEnter: () => o(e.x),
|
|
101
100
|
onMouseLeave: () => a(),
|
|
102
101
|
sx: { minHeight: 20, padding: 12 },
|
|
103
|
-
children: /* @__PURE__ */
|
|
104
|
-
|
|
102
|
+
children: /* @__PURE__ */ t(
|
|
103
|
+
_,
|
|
105
104
|
{
|
|
106
105
|
primary: /* @__PURE__ */ r(h, { direction: "row", justifyContent: "space-between", sx: { fontWeight: 400 }, children: [
|
|
107
|
-
/* @__PURE__ */
|
|
108
|
-
/* @__PURE__ */
|
|
106
|
+
/* @__PURE__ */ t(m, { variant: "Body", children: nt(e.x) }),
|
|
107
|
+
/* @__PURE__ */ t(y, { amount: e.y, sx: { color: "inherit" }, variant: "Body" })
|
|
109
108
|
] })
|
|
110
109
|
}
|
|
111
110
|
)
|
|
@@ -113,19 +112,19 @@ const ze = ({
|
|
|
113
112
|
)
|
|
114
113
|
}
|
|
115
114
|
),
|
|
116
|
-
/* @__PURE__ */
|
|
117
|
-
] },
|
|
118
|
-
},
|
|
119
|
-
chartData:
|
|
120
|
-
hoveredData:
|
|
115
|
+
/* @__PURE__ */ t(W, {})
|
|
116
|
+
] }, e.x);
|
|
117
|
+
}, Gt = w($t), Xt = ({
|
|
118
|
+
chartData: e,
|
|
119
|
+
hoveredData: l,
|
|
121
120
|
onDataClick: i,
|
|
122
121
|
onButtonClick: n,
|
|
123
|
-
onMouseEnter:
|
|
122
|
+
onMouseEnter: s,
|
|
124
123
|
onMouseLeave: o,
|
|
125
124
|
selectedData: a
|
|
126
125
|
}) => {
|
|
127
|
-
const { net_worth:
|
|
128
|
-
const g = x.x ===
|
|
126
|
+
const { net_worth: c } = T(), u = z(), C = (x) => {
|
|
127
|
+
const g = x.x === l?.x, S = x.x === a?.x, p = {
|
|
129
128
|
backgroundColor: "inherit",
|
|
130
129
|
borderBottom: "inherit",
|
|
131
130
|
color: "inherit"
|
|
@@ -134,133 +133,130 @@ const ze = ({
|
|
|
134
133
|
};
|
|
135
134
|
return /* @__PURE__ */ r(h, { direction: "column", sx: { width: 320 }, children: [
|
|
136
135
|
/* @__PURE__ */ r(B, { children: [
|
|
137
|
-
/* @__PURE__ */
|
|
138
|
-
/* @__PURE__ */
|
|
139
|
-
|
|
140
|
-
|
|
136
|
+
/* @__PURE__ */ t(k, { sx: { backgroundColor: "transparent", mb: 8, mt: 12, px: 12 }, children: /* @__PURE__ */ t(m, { bold: !0, component: "h2", variant: "Body", children: c.monthly_totals }) }),
|
|
137
|
+
/* @__PURE__ */ t(W, {}),
|
|
138
|
+
e.map((x, g) => /* @__PURE__ */ t(
|
|
139
|
+
Gt,
|
|
141
140
|
{
|
|
142
141
|
getStyles: C,
|
|
143
|
-
isHovered: x.x ===
|
|
142
|
+
isHovered: x.x === l?.x,
|
|
144
143
|
isSelected: x.x === a?.x,
|
|
145
144
|
item: x,
|
|
146
145
|
onItemClick: (S) => i(S, g),
|
|
147
|
-
onMouseEnter: () =>
|
|
146
|
+
onMouseEnter: () => s(g),
|
|
148
147
|
onMouseLeave: () => o()
|
|
149
148
|
},
|
|
150
149
|
x.x
|
|
151
150
|
))
|
|
152
151
|
] }),
|
|
153
|
-
/* @__PURE__ */
|
|
154
|
-
|
|
152
|
+
/* @__PURE__ */ t(
|
|
153
|
+
Nt,
|
|
155
154
|
{
|
|
156
155
|
onClick: () => n(),
|
|
157
156
|
sx: { alignSelf: "center", marginTop: 16, width: "fit-content" },
|
|
158
157
|
variant: "outlined",
|
|
159
|
-
children:
|
|
158
|
+
children: c.view_assets_and_liabilities
|
|
160
159
|
}
|
|
161
160
|
)
|
|
162
161
|
] });
|
|
163
|
-
},
|
|
164
|
-
currencyLabel:
|
|
165
|
-
currencyVariant:
|
|
162
|
+
}, Ft = w(Xt), Kt = ({
|
|
163
|
+
currencyLabel: e,
|
|
164
|
+
currencyVariant: l = "Small",
|
|
166
165
|
iconSize: i,
|
|
167
166
|
netWorth: n,
|
|
168
|
-
theme:
|
|
167
|
+
theme: s
|
|
169
168
|
}) => {
|
|
170
|
-
let o =
|
|
171
|
-
return n.change < 0 ?
|
|
172
|
-
/* @__PURE__ */
|
|
169
|
+
let o = s.palette.secondary.main, a = s.palette.secondary.main, c = "trending_flat";
|
|
170
|
+
return n.change < 0 ? c = "trending_down" : n.change > 0 && (o = s.palette.success.main, a = s.palette.success.main, c = "trending_up"), /* @__PURE__ */ r(Et, { alignItems: "center", direction: "row", spacing: 4, children: [
|
|
171
|
+
/* @__PURE__ */ t(
|
|
173
172
|
H,
|
|
174
173
|
{
|
|
175
|
-
name:
|
|
174
|
+
name: c,
|
|
176
175
|
size: i,
|
|
177
176
|
sx: {
|
|
178
177
|
color: o
|
|
179
178
|
}
|
|
180
179
|
}
|
|
181
180
|
),
|
|
182
|
-
/* @__PURE__ */
|
|
183
|
-
/* @__PURE__ */
|
|
181
|
+
/* @__PURE__ */ t(y, { amount: n.change, color: a, variant: l }),
|
|
182
|
+
/* @__PURE__ */ t(m, { variant: "Small", children: e })
|
|
184
183
|
] });
|
|
185
|
-
}, R =
|
|
186
|
-
const { net_worth: i } =
|
|
184
|
+
}, R = w(Kt), Ut = ({ hoveredData: e, selectedData: l }) => {
|
|
185
|
+
const { net_worth: i } = T(), n = z(), s = e || l, o = kt(Dt(s.x), "MMMM");
|
|
187
186
|
return /* @__PURE__ */ r(h, { alignItems: "center", direction: "column", m: 24, children: [
|
|
188
|
-
/* @__PURE__ */
|
|
189
|
-
/* @__PURE__ */
|
|
190
|
-
/* @__PURE__ */
|
|
187
|
+
/* @__PURE__ */ t(m, { color: n.palette.secondary.main, variant: "Small", children: `${o} ${i.net_worth}` }),
|
|
188
|
+
/* @__PURE__ */ t(y, { amount: s.y, variant: "H2" }),
|
|
189
|
+
/* @__PURE__ */ t(R, { currencyLabel: i.this_month, netWorth: s, theme: n })
|
|
191
190
|
] });
|
|
192
|
-
},
|
|
191
|
+
}, Vt = w(Ut), Yt = ({ amount: e, copy: l, trendValue: i }) => {
|
|
193
192
|
const n = i > 0, o = i === 0 ? "trending_flat" : n ? "trending_up" : "trending_down";
|
|
194
193
|
return /* @__PURE__ */ r(h, { sx: { flexDirection: "row", justifyContent: "space-between" }, children: [
|
|
195
|
-
/* @__PURE__ */
|
|
196
|
-
|
|
194
|
+
/* @__PURE__ */ t(Tt, { children: U(e, "0,0") }),
|
|
195
|
+
e !== 0 && /* @__PURE__ */ r(h, { sx: { color: n ? "success.main" : "text.secondary" }, children: [
|
|
197
196
|
/* @__PURE__ */ r(h, { sx: { flexDirection: "row", gap: 8 }, children: [
|
|
198
|
-
/* @__PURE__ */
|
|
199
|
-
/* @__PURE__ */
|
|
197
|
+
/* @__PURE__ */ t(ot, { name: o, size: 20 }),
|
|
198
|
+
/* @__PURE__ */ t(m, { sx: { fontWeight: 600, textAlign: "right" }, variant: "body1", children: U(i, "0,0.00") })
|
|
200
199
|
] }),
|
|
201
|
-
/* @__PURE__ */
|
|
200
|
+
/* @__PURE__ */ t(m, { sx: { display: "block", textAlign: "right" }, variant: "caption", children: l.this_month })
|
|
202
201
|
] })
|
|
203
202
|
] });
|
|
204
|
-
},
|
|
205
|
-
/* @__PURE__ */
|
|
203
|
+
}, qt = ({ copy: e }) => /* @__PURE__ */ r(h, { sx: { flexDirection: "row", gap: 12 }, children: [
|
|
204
|
+
/* @__PURE__ */ t(ot, { name: "elevation", size: 32, sx: { color: "text.primary" } }),
|
|
206
205
|
/* @__PURE__ */ r(h, { children: [
|
|
207
|
-
/* @__PURE__ */
|
|
208
|
-
/* @__PURE__ */
|
|
206
|
+
/* @__PURE__ */ t(m, { sx: { display: "block", fontWeight: 600 }, variant: "body1", children: e.empty_widget_header }),
|
|
207
|
+
/* @__PURE__ */ t(Lt, { sx: { color: "text.secondary" }, variant: "body2", children: e.zero_state_description })
|
|
209
208
|
] })
|
|
210
|
-
] }),
|
|
211
|
-
const [
|
|
209
|
+
] }), He = w(({ onCTAClick: e }) => {
|
|
210
|
+
const [l, i] = d.useState(!1), { visibleAccounts: n } = J(), { onEvent: s } = Q(), { net_worth: o, common: a } = T(), { isInitialized: c, selectedAccounts: u, setSelectedAccounts: C } = P(), { loadChartData: x, loadNetWorthData: g, netWorthData: S, selectedData: p } = tt(), f = async () => {
|
|
212
211
|
await g(u), await x(1), i(!0);
|
|
213
212
|
};
|
|
214
|
-
if (
|
|
215
|
-
|
|
216
|
-
isLoaded: s
|
|
217
|
-
}), d.useEffect(() => C(n), [n]), d.useEffect(() => {
|
|
218
|
-
l && f().finally(), c(b.NET_WORTH_LOAD_WIDGET, {
|
|
213
|
+
if (d.useEffect(() => C(n), [n]), d.useEffect(() => {
|
|
214
|
+
c && f().finally(), s(b.NET_WORTH_LOAD_WIDGET, {
|
|
219
215
|
state: n?.length ? "default" : "zeroState"
|
|
220
216
|
});
|
|
221
|
-
}, [
|
|
217
|
+
}, [c]), !l) return /* @__PURE__ */ t(O, { height: 100 });
|
|
222
218
|
const L = () => {
|
|
223
|
-
|
|
219
|
+
s(
|
|
224
220
|
n.length ? b.NET_WORTH_CLICK_VIEW_DETAILS : b.NET_WORTH_CLICK_GET_STARTED
|
|
225
|
-
),
|
|
221
|
+
), e();
|
|
226
222
|
};
|
|
227
|
-
return /* @__PURE__ */
|
|
228
|
-
|
|
223
|
+
return /* @__PURE__ */ t(
|
|
224
|
+
Ht,
|
|
229
225
|
{
|
|
230
226
|
className: "mx-networth-microwidget",
|
|
231
227
|
ctaLabel: a.see_details,
|
|
232
228
|
onCTAClick: L,
|
|
233
229
|
title: o.net_worth,
|
|
234
|
-
children: S.accounts.length ? /* @__PURE__ */
|
|
235
|
-
|
|
230
|
+
children: S.accounts.length ? /* @__PURE__ */ t(
|
|
231
|
+
Yt,
|
|
236
232
|
{
|
|
237
233
|
amount: p?.y,
|
|
238
234
|
copy: o,
|
|
239
235
|
trendValue: p?.change
|
|
240
236
|
}
|
|
241
|
-
) : /* @__PURE__ */
|
|
237
|
+
) : /* @__PURE__ */ t(qt, { copy: o })
|
|
242
238
|
}
|
|
243
239
|
);
|
|
244
|
-
}),
|
|
245
|
-
const [n,
|
|
240
|
+
}), Zt = ({ accounts: e, name: l, icon: i }) => {
|
|
241
|
+
const [n, s] = d.useState(!1);
|
|
246
242
|
return /* @__PURE__ */ r(v, { children: [
|
|
247
|
-
/* @__PURE__ */
|
|
248
|
-
i && /* @__PURE__ */
|
|
249
|
-
/* @__PURE__ */
|
|
250
|
-
|
|
243
|
+
/* @__PURE__ */ t(D, { sx: (o) => ({ backgroundColor: o.palette.background.paper }), children: /* @__PURE__ */ r(et, { onClick: () => s(!n), children: [
|
|
244
|
+
i && /* @__PURE__ */ t(V, { children: /* @__PURE__ */ t(H, { name: i, size: 24, sx: { mr: 12 } }) }),
|
|
245
|
+
/* @__PURE__ */ t(
|
|
246
|
+
_,
|
|
251
247
|
{
|
|
252
|
-
primary: /* @__PURE__ */
|
|
248
|
+
primary: /* @__PURE__ */ t(m, { sx: { fontWeight: 700 }, variant: "Body", children: l })
|
|
253
249
|
}
|
|
254
250
|
),
|
|
255
|
-
/* @__PURE__ */
|
|
251
|
+
/* @__PURE__ */ t(V, { children: n ? /* @__PURE__ */ t(H, { name: "expand_less", size: 24 }) : /* @__PURE__ */ t(H, { name: "expand_more", size: 24 }) })
|
|
256
252
|
] }) }),
|
|
257
|
-
/* @__PURE__ */
|
|
258
|
-
/* @__PURE__ */
|
|
259
|
-
/* @__PURE__ */
|
|
260
|
-
|
|
253
|
+
/* @__PURE__ */ t(W, {}),
|
|
254
|
+
/* @__PURE__ */ t(Ot, { in: n, timeout: "auto", unmountOnExit: !0, children: e.map((o, a) => /* @__PURE__ */ r(B, { children: [
|
|
255
|
+
/* @__PURE__ */ t(D, { sx: () => ({ py: 14 }), children: /* @__PURE__ */ t(
|
|
256
|
+
_,
|
|
261
257
|
{
|
|
262
258
|
primary: /* @__PURE__ */ r(h, { direction: "row", justifyContent: "space-between", sx: { fontWeight: 400 }, children: [
|
|
263
|
-
/* @__PURE__ */
|
|
259
|
+
/* @__PURE__ */ t(
|
|
264
260
|
m,
|
|
265
261
|
{
|
|
266
262
|
sx: {
|
|
@@ -270,7 +266,7 @@ const ze = ({
|
|
|
270
266
|
children: o.accountName
|
|
271
267
|
}
|
|
272
268
|
),
|
|
273
|
-
/* @__PURE__ */
|
|
269
|
+
/* @__PURE__ */ t(
|
|
274
270
|
y,
|
|
275
271
|
{
|
|
276
272
|
amount: o.balance,
|
|
@@ -284,20 +280,20 @@ const ze = ({
|
|
|
284
280
|
sx: { pl: 72, pr: 16 }
|
|
285
281
|
}
|
|
286
282
|
) }),
|
|
287
|
-
a <
|
|
283
|
+
a < e.length - 1 ? /* @__PURE__ */ t(W, { variant: "inset" }) : /* @__PURE__ */ t(W, {})
|
|
288
284
|
] }, o.accountName)) })
|
|
289
285
|
] });
|
|
290
|
-
},
|
|
291
|
-
netWorth:
|
|
292
|
-
assets:
|
|
286
|
+
}, q = ({ groupedAccounts: e }) => /* @__PURE__ */ t(v, { children: e.map(({ accounts: l, icon: i, name: n }) => /* @__PURE__ */ t(Zt, { accounts: l, icon: i, name: n }, n)) }), Jt = ({
|
|
287
|
+
netWorth: e,
|
|
288
|
+
assets: l,
|
|
293
289
|
liabilities: i,
|
|
294
290
|
totalAssets: n,
|
|
295
|
-
totalLiabilities:
|
|
291
|
+
totalLiabilities: s
|
|
296
292
|
}) => {
|
|
297
|
-
const { net_worth: o } =
|
|
293
|
+
const { net_worth: o } = T(), a = it();
|
|
298
294
|
return /* @__PURE__ */ r(v, { children: [
|
|
299
295
|
/* @__PURE__ */ r(
|
|
300
|
-
|
|
296
|
+
rt,
|
|
301
297
|
{
|
|
302
298
|
sx: {
|
|
303
299
|
alignItems: "center",
|
|
@@ -308,14 +304,14 @@ const ze = ({
|
|
|
308
304
|
marginBottom: 8
|
|
309
305
|
},
|
|
310
306
|
children: [
|
|
311
|
-
/* @__PURE__ */
|
|
312
|
-
/* @__PURE__ */
|
|
313
|
-
|
|
307
|
+
/* @__PURE__ */ t(m, { variant: "Body", children: o.current_net_worth }),
|
|
308
|
+
/* @__PURE__ */ t(y, { amount: e?.y ?? 0, variant: "H1" }),
|
|
309
|
+
e && /* @__PURE__ */ t(
|
|
314
310
|
R,
|
|
315
311
|
{
|
|
316
312
|
currencyLabel: o.this_month,
|
|
317
313
|
iconSize: 20,
|
|
318
|
-
netWorth:
|
|
314
|
+
netWorth: e,
|
|
319
315
|
theme: a
|
|
320
316
|
}
|
|
321
317
|
)
|
|
@@ -323,62 +319,62 @@ const ze = ({
|
|
|
323
319
|
}
|
|
324
320
|
),
|
|
325
321
|
/* @__PURE__ */ r(B, { children: [
|
|
326
|
-
/* @__PURE__ */
|
|
327
|
-
|
|
322
|
+
/* @__PURE__ */ t(k, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ t(
|
|
323
|
+
_,
|
|
328
324
|
{
|
|
329
325
|
primary: /* @__PURE__ */ r(h, { direction: "row", justifyContent: "space-between", children: [
|
|
330
|
-
/* @__PURE__ */
|
|
331
|
-
/* @__PURE__ */
|
|
326
|
+
/* @__PURE__ */ t(m, { sx: { fontWeight: 700 }, variant: "XSmall", children: o.assets }),
|
|
327
|
+
/* @__PURE__ */ t(y, { amount: n, sx: { fontWeight: 400 }, variant: "XSmall" })
|
|
332
328
|
] })
|
|
333
329
|
}
|
|
334
330
|
) }),
|
|
335
|
-
/* @__PURE__ */
|
|
336
|
-
/* @__PURE__ */
|
|
337
|
-
|
|
331
|
+
/* @__PURE__ */ t(q, { groupedAccounts: K(l) }),
|
|
332
|
+
/* @__PURE__ */ t(k, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ t(
|
|
333
|
+
_,
|
|
338
334
|
{
|
|
339
335
|
primary: /* @__PURE__ */ r(h, { direction: "row", justifyContent: "space-between", children: [
|
|
340
|
-
/* @__PURE__ */
|
|
341
|
-
/* @__PURE__ */
|
|
336
|
+
/* @__PURE__ */ t(m, { sx: { fontWeight: 700 }, variant: "XSmall", children: o.liabilities }),
|
|
337
|
+
/* @__PURE__ */ t(y, { amount: s, sx: { fontWeight: 400 }, variant: "XSmall" })
|
|
342
338
|
] })
|
|
343
339
|
}
|
|
344
340
|
) }),
|
|
345
|
-
/* @__PURE__ */
|
|
341
|
+
/* @__PURE__ */ t(q, { groupedAccounts: K(i) })
|
|
346
342
|
] })
|
|
347
343
|
] });
|
|
348
|
-
},
|
|
349
|
-
netWorth:
|
|
350
|
-
gains:
|
|
344
|
+
}, Qt = w(Jt), Pt = ({
|
|
345
|
+
netWorth: e,
|
|
346
|
+
gains: l,
|
|
351
347
|
losses: i,
|
|
352
348
|
totalGains: n,
|
|
353
|
-
totalLosses:
|
|
349
|
+
totalLosses: s
|
|
354
350
|
}) => {
|
|
355
|
-
const { net_worth: o } =
|
|
351
|
+
const { net_worth: o } = T(), a = it();
|
|
356
352
|
return /* @__PURE__ */ r(v, { children: [
|
|
357
353
|
/* @__PURE__ */ r(h, { alignItems: "center", justifyContent: "space-between", mb: 8, pt: 24, children: [
|
|
358
|
-
/* @__PURE__ */
|
|
359
|
-
/* @__PURE__ */
|
|
360
|
-
|
|
354
|
+
/* @__PURE__ */ t(m, { variant: "Small", children: nt(e?.x) }),
|
|
355
|
+
/* @__PURE__ */ t(m, { variant: "Body", children: o.total_change }),
|
|
356
|
+
e && /* @__PURE__ */ t(R, { currencyVariant: "H1", iconSize: 32, netWorth: e, theme: a })
|
|
361
357
|
] }),
|
|
362
358
|
/* @__PURE__ */ r(B, { children: [
|
|
363
|
-
/* @__PURE__ */
|
|
364
|
-
|
|
359
|
+
/* @__PURE__ */ t(k, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ t(
|
|
360
|
+
_,
|
|
365
361
|
{
|
|
366
362
|
primary: /* @__PURE__ */ r(h, { direction: "row", justifyContent: "space-between", children: [
|
|
367
|
-
/* @__PURE__ */
|
|
368
|
-
/* @__PURE__ */
|
|
363
|
+
/* @__PURE__ */ t(m, { sx: { fontWeight: 700 }, variant: "XSmall", children: o.gains }),
|
|
364
|
+
/* @__PURE__ */ t(y, { amount: n, sx: { fontWeight: 400 }, variant: "XSmall" })
|
|
369
365
|
] })
|
|
370
366
|
}
|
|
371
367
|
) }),
|
|
372
|
-
|
|
373
|
-
/* @__PURE__ */
|
|
374
|
-
|
|
368
|
+
l?.map((c) => /* @__PURE__ */ r(d.Fragment, { children: [
|
|
369
|
+
/* @__PURE__ */ t(D, { sx: { backgroundColor: a.palette.background.paper, py: 14 }, children: /* @__PURE__ */ t(
|
|
370
|
+
_,
|
|
375
371
|
{
|
|
376
372
|
primary: /* @__PURE__ */ r(h, { direction: "row", justifyContent: "space-between", children: [
|
|
377
|
-
/* @__PURE__ */
|
|
378
|
-
/* @__PURE__ */
|
|
373
|
+
/* @__PURE__ */ t(m, { sx: { mr: 10 }, variant: "Body", children: c.accountName }),
|
|
374
|
+
/* @__PURE__ */ t(
|
|
379
375
|
y,
|
|
380
376
|
{
|
|
381
|
-
amount:
|
|
377
|
+
amount: c.gain,
|
|
382
378
|
sx: { color: a.palette.success.main, flexShrink: 0, fontWeight: 700 },
|
|
383
379
|
variant: "Body"
|
|
384
380
|
}
|
|
@@ -387,40 +383,40 @@ const ze = ({
|
|
|
387
383
|
sx: { px: 16 }
|
|
388
384
|
}
|
|
389
385
|
) }),
|
|
390
|
-
/* @__PURE__ */
|
|
391
|
-
] },
|
|
392
|
-
/* @__PURE__ */
|
|
393
|
-
|
|
386
|
+
/* @__PURE__ */ t(W, {})
|
|
387
|
+
] }, c.accountName)),
|
|
388
|
+
/* @__PURE__ */ t(k, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ t(
|
|
389
|
+
_,
|
|
394
390
|
{
|
|
395
391
|
primary: /* @__PURE__ */ r(h, { direction: "row", justifyContent: "space-between", children: [
|
|
396
|
-
/* @__PURE__ */
|
|
397
|
-
/* @__PURE__ */
|
|
392
|
+
/* @__PURE__ */ t(m, { sx: { fontWeight: 700 }, variant: "XSmall", children: o.losses }),
|
|
393
|
+
/* @__PURE__ */ t(y, { amount: s, sx: { fontWeight: 400 }, variant: "XSmall" })
|
|
398
394
|
] })
|
|
399
395
|
}
|
|
400
396
|
) }),
|
|
401
|
-
i?.map((
|
|
402
|
-
/* @__PURE__ */
|
|
397
|
+
i?.map((c) => /* @__PURE__ */ r(v, { children: [
|
|
398
|
+
/* @__PURE__ */ t(
|
|
403
399
|
D,
|
|
404
400
|
{
|
|
405
401
|
sx: { backgroundColor: a.palette.background.paper, py: 14 },
|
|
406
|
-
children: /* @__PURE__ */
|
|
407
|
-
|
|
402
|
+
children: /* @__PURE__ */ t(
|
|
403
|
+
_,
|
|
408
404
|
{
|
|
409
405
|
primary: /* @__PURE__ */ r(h, { direction: "row", justifyContent: "space-between", children: [
|
|
410
|
-
/* @__PURE__ */
|
|
406
|
+
/* @__PURE__ */ t(
|
|
411
407
|
m,
|
|
412
408
|
{
|
|
413
409
|
sx: {
|
|
414
410
|
mr: 10
|
|
415
411
|
},
|
|
416
412
|
variant: "Body",
|
|
417
|
-
children:
|
|
413
|
+
children: c.accountName
|
|
418
414
|
}
|
|
419
415
|
),
|
|
420
|
-
/* @__PURE__ */
|
|
416
|
+
/* @__PURE__ */ t(
|
|
421
417
|
y,
|
|
422
418
|
{
|
|
423
|
-
amount:
|
|
419
|
+
amount: c.loss,
|
|
424
420
|
sx: { flexShrink: 0, fontWeight: 700 },
|
|
425
421
|
variant: "Body"
|
|
426
422
|
}
|
|
@@ -430,14 +426,14 @@ const ze = ({
|
|
|
430
426
|
}
|
|
431
427
|
)
|
|
432
428
|
},
|
|
433
|
-
|
|
429
|
+
c.accountName
|
|
434
430
|
),
|
|
435
|
-
/* @__PURE__ */
|
|
431
|
+
/* @__PURE__ */ t(W, {})
|
|
436
432
|
] }))
|
|
437
433
|
] })
|
|
438
434
|
] });
|
|
439
|
-
},
|
|
440
|
-
const { isCopyLoaded:
|
|
435
|
+
}, te = w(Pt), Be = w(({ onBackClick: e }) => {
|
|
436
|
+
const { isCopyLoaded: l, isInitialized: i, selectedAccounts: n, setSelectedAccounts: s } = P(), { accounts: o, net_worth: a } = T(), { visibleAccounts: c } = J(), {
|
|
441
437
|
assetsLiabilities: u,
|
|
442
438
|
gainsLosses: C,
|
|
443
439
|
hoveredData: x,
|
|
@@ -446,54 +442,53 @@ const ze = ({
|
|
|
446
442
|
netWorthChartData: p,
|
|
447
443
|
selectedData: f,
|
|
448
444
|
setHoveredData: L,
|
|
449
|
-
setSelectedData:
|
|
450
|
-
} =
|
|
451
|
-
await S(n), await g(
|
|
445
|
+
setSelectedData: at
|
|
446
|
+
} = tt(), { isMobile: N } = Z(), { onEvent: E } = Q(), { onLoad: st } = Wt(), [ct, lt] = d.useState(!1), [A, mt] = d.useState(6), [dt, j] = d.useState(!1), [ht, $] = d.useState(!1), [ut, G] = d.useState(!1), pt = async () => {
|
|
447
|
+
await S(n), await g(A), lt(!0);
|
|
452
448
|
};
|
|
453
|
-
|
|
454
|
-
widgetName: "NetWorthWidget",
|
|
455
|
-
isLoaded: j
|
|
456
|
-
}), d.useEffect(() => {
|
|
449
|
+
d.useEffect(() => {
|
|
457
450
|
E(b.NET_WORTH_VIEW);
|
|
458
451
|
}, []), d.useEffect(() => {
|
|
459
|
-
c
|
|
460
|
-
}, [
|
|
461
|
-
i &&
|
|
452
|
+
s(c);
|
|
453
|
+
}, [c]), d.useEffect(() => {
|
|
454
|
+
i && pt().finally(() => {
|
|
455
|
+
st?.("NetWorthWidget");
|
|
456
|
+
});
|
|
462
457
|
}, [i, n]), d.useEffect(() => {
|
|
463
|
-
E(b.NET_WORTH_WIDGET_CLICK_TIMEFRAME, { time_period:
|
|
464
|
-
}, [
|
|
465
|
-
const
|
|
466
|
-
|
|
467
|
-
},
|
|
468
|
-
L(
|
|
469
|
-
},
|
|
458
|
+
E(b.NET_WORTH_WIDGET_CLICK_TIMEFRAME, { time_period: A + "M" }), g(A).finally();
|
|
459
|
+
}, [A]);
|
|
460
|
+
const ft = (I, M) => {
|
|
461
|
+
at(M), I.currentTarget instanceof HTMLDivElement && j(!0);
|
|
462
|
+
}, xt = (I) => {
|
|
463
|
+
L(I);
|
|
464
|
+
}, gt = () => {
|
|
470
465
|
L(null);
|
|
471
|
-
},
|
|
472
|
-
E(b.NET_WORTH_WIDGET_CLICK_ASSETS_LIABILITIES),
|
|
473
|
-
},
|
|
474
|
-
const
|
|
475
|
-
|
|
476
|
-
},
|
|
466
|
+
}, yt = () => {
|
|
467
|
+
E(b.NET_WORTH_WIDGET_CLICK_ASSETS_LIABILITIES), $(!0);
|
|
468
|
+
}, Ct = async (I) => {
|
|
469
|
+
const M = I[0], F = I[1];
|
|
470
|
+
M && F && mt(At(F, M));
|
|
471
|
+
}, X = {
|
|
477
472
|
chartData: p,
|
|
478
473
|
hoveredData: x,
|
|
479
|
-
onButtonClick:
|
|
480
|
-
onDataClick:
|
|
481
|
-
onMouseEnter:
|
|
482
|
-
onMouseLeave:
|
|
474
|
+
onButtonClick: yt,
|
|
475
|
+
onDataClick: ft,
|
|
476
|
+
onMouseEnter: xt,
|
|
477
|
+
onMouseLeave: gt,
|
|
483
478
|
selectedData: f
|
|
484
|
-
},
|
|
485
|
-
|
|
479
|
+
}, St = () => {
|
|
480
|
+
G(!0), E(b.ACCOUNTS_CLICK_CONNECT);
|
|
486
481
|
};
|
|
487
|
-
return
|
|
488
|
-
|
|
482
|
+
return l ? /* @__PURE__ */ t(
|
|
483
|
+
Mt,
|
|
489
484
|
{
|
|
490
|
-
accountOptions:
|
|
485
|
+
accountOptions: c,
|
|
491
486
|
calendarActions: {
|
|
492
|
-
onRangeChanged:
|
|
487
|
+
onRangeChanged: Ct
|
|
493
488
|
},
|
|
494
489
|
dateRangeVariant: N ? "timeframetabs" : "timeframebuttons",
|
|
495
490
|
onAccountsFilterClick: () => E(b.NET_WORTH_WIDGET_CLICK_FILTER),
|
|
496
|
-
onBackClick:
|
|
491
|
+
onBackClick: e,
|
|
497
492
|
showDividerAboveDateSelector: !1,
|
|
498
493
|
sx: {
|
|
499
494
|
p: N ? 0 : 48,
|
|
@@ -509,9 +504,9 @@ const ze = ({
|
|
|
509
504
|
}
|
|
510
505
|
},
|
|
511
506
|
title: a.net_worth,
|
|
512
|
-
children:
|
|
507
|
+
children: ct ? /* @__PURE__ */ r(v, { children: [
|
|
513
508
|
p.length ? /* @__PURE__ */ r(v, { children: [
|
|
514
|
-
f && /* @__PURE__ */
|
|
509
|
+
f && /* @__PURE__ */ t(Vt, { hoveredData: x, selectedData: f }),
|
|
515
510
|
/* @__PURE__ */ r(
|
|
516
511
|
h,
|
|
517
512
|
{
|
|
@@ -519,17 +514,17 @@ const ze = ({
|
|
|
519
514
|
direction: N ? "column" : "row",
|
|
520
515
|
spacing: N ? 0 : 48,
|
|
521
516
|
children: [
|
|
522
|
-
/* @__PURE__ */
|
|
523
|
-
/* @__PURE__ */
|
|
517
|
+
/* @__PURE__ */ t(jt, { ...X }),
|
|
518
|
+
/* @__PURE__ */ t(Ft, { ...X })
|
|
524
519
|
]
|
|
525
520
|
}
|
|
526
521
|
)
|
|
527
|
-
] }) : /* @__PURE__ */
|
|
528
|
-
|
|
522
|
+
] }) : /* @__PURE__ */ t(rt, { sx: { justifyItems: "center" }, children: /* @__PURE__ */ t(
|
|
523
|
+
zt,
|
|
529
524
|
{
|
|
530
525
|
header: a.empty_widget_header,
|
|
531
526
|
icon: "elevation",
|
|
532
|
-
onClick:
|
|
527
|
+
onClick: St,
|
|
533
528
|
primaryButton: a.empty_widget_button,
|
|
534
529
|
subText: a.empty_widget_description,
|
|
535
530
|
sx: {
|
|
@@ -540,47 +535,47 @@ const ze = ({
|
|
|
540
535
|
}
|
|
541
536
|
}
|
|
542
537
|
) }),
|
|
543
|
-
/* @__PURE__ */
|
|
544
|
-
|
|
538
|
+
/* @__PURE__ */ t(
|
|
539
|
+
Bt,
|
|
545
540
|
{
|
|
546
|
-
onClose: () =>
|
|
547
|
-
showConnectionsWidget:
|
|
541
|
+
onClose: () => G(!1),
|
|
542
|
+
showConnectionsWidget: ut,
|
|
548
543
|
title: o.manage_connections
|
|
549
544
|
}
|
|
550
545
|
),
|
|
551
|
-
/* @__PURE__ */
|
|
552
|
-
|
|
546
|
+
/* @__PURE__ */ t(
|
|
547
|
+
Y,
|
|
553
548
|
{
|
|
554
549
|
ariaLabelClose: "Close",
|
|
555
|
-
isOpen:
|
|
556
|
-
onClose: () =>
|
|
550
|
+
isOpen: dt,
|
|
551
|
+
onClose: () => j(!1),
|
|
557
552
|
shouldShowHeaderBorders: !1,
|
|
558
553
|
shouldShowHeaderShadow: !0,
|
|
559
554
|
title: a.gains_and_losses,
|
|
560
|
-
children: C && /* @__PURE__ */
|
|
555
|
+
children: C && /* @__PURE__ */ t(te, { ...C })
|
|
561
556
|
}
|
|
562
557
|
),
|
|
563
|
-
/* @__PURE__ */
|
|
564
|
-
|
|
558
|
+
/* @__PURE__ */ t(
|
|
559
|
+
Y,
|
|
565
560
|
{
|
|
566
561
|
ariaLabelClose: "Close",
|
|
567
|
-
isOpen:
|
|
568
|
-
onClose: () =>
|
|
562
|
+
isOpen: ht,
|
|
563
|
+
onClose: () => $(!1),
|
|
569
564
|
shouldShowHeaderBorders: !1,
|
|
570
565
|
shouldShowHeaderShadow: !0,
|
|
571
566
|
title: a.assets_and_liabilities,
|
|
572
|
-
children: u && /* @__PURE__ */
|
|
567
|
+
children: u && /* @__PURE__ */ t(Qt, { ...u })
|
|
573
568
|
}
|
|
574
569
|
)
|
|
575
|
-
] }) : /* @__PURE__ */
|
|
570
|
+
] }) : /* @__PURE__ */ t(O, {})
|
|
576
571
|
}
|
|
577
|
-
) : /* @__PURE__ */
|
|
572
|
+
) : /* @__PURE__ */ t(O, {});
|
|
578
573
|
});
|
|
579
574
|
export {
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
575
|
+
jt as NetWorthChart,
|
|
576
|
+
Ft as NetWorthList,
|
|
577
|
+
He as NetWorthMicroWidget,
|
|
578
|
+
Re as NetWorthStore,
|
|
579
|
+
Vt as NetWorthSummary,
|
|
580
|
+
Be as NetWorthWidget
|
|
586
581
|
};
|