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