@mx-cartographer/experiences 8.0.0-alpha.bb4 → 8.0.0-alpha.sms2
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/dist/{Account-B4CDD-zq.mjs → Account-Cp30A3ad.mjs} +1 -1
- package/dist/AccountDetailsContent-C1HumFnW.mjs +683 -0
- package/dist/{AccountDetailsHeader-DRjFuyJT.mjs → AccountDetailsHeader-NMx79DGs.mjs} +17 -17
- package/dist/{AccountFields-Cl4KHoSj.mjs → AccountFields-CW6cIthP.mjs} +8 -8
- package/dist/AccountListItem-DxmAs98Z.mjs +90 -0
- package/dist/{AccountStore-HbVblv86.mjs → AccountStore-hIs-yA6W.mjs} +3 -3
- package/dist/{Accounts-CRUehOiy.mjs → Accounts-DUHkUyK4.mjs} +1 -1
- package/dist/{BudgetUtil-Jv8h9H9l.mjs → BudgetUtil-CIDAPPPT.mjs} +30 -30
- package/dist/{CashflowStore-CA190BPF.mjs → CashflowStore-naOtJcwo.mjs} +22 -15
- package/dist/{CategorySelectorDrawer-Dl006GKy.mjs → CategorySelectorDrawer-DqDAA_5I.mjs} +26 -26
- package/dist/{ConnectDrawer-DVp54lUH.mjs → ConnectDrawer-Dn1MlqLz.mjs} +60 -61
- package/dist/{ConnectionsDrawer-Dsc04-4Z.mjs → ConnectionsDrawer-CSo6AFkG.mjs} +2 -2
- package/dist/CurrencyInput-BrGvhgVK.mjs +85 -0
- package/dist/{DebtsStore-pL63fmdT.mjs → DebtsStore-hi1cqrRk.mjs} +3 -3
- package/dist/{Drawer-BF40nbsH.mjs → Drawer-Dqe5EqvA.mjs} +6 -6
- package/dist/{ExportCsvAction-QhQK4_FU.mjs → ExportCsvAction-CQ1grpwo.mjs} +3 -3
- package/dist/{FinstrongStore-BGf36b0z.mjs → FinstrongStore-dKZOZ2hM.mjs} +3 -3
- package/dist/{GoalStore-C1-w3Y1E.mjs → GoalStore-CFeAJloA.mjs} +3 -3
- package/dist/HeaderCell-DjuifqHJ.mjs +6 -0
- package/dist/{Help-DBfsTkAi.mjs → Help-i4OasOO-.mjs} +176 -158
- package/dist/{LineChart-C1PxNf7P.mjs → LineChart-bc1D9xBE.mjs} +78 -78
- package/dist/Loader-BSWSYqvn.mjs +24 -0
- package/dist/{ManageIncome-8EsStyIQ.mjs → ManageIncome-D_qVX5dN.mjs} +44 -44
- package/dist/{MiniWidgetContainer-CKzf_Ira.mjs → MiniWidgetContainer-D7MkHG15.mjs} +12 -12
- package/dist/{NetWorthStore-Bti6u-d9.mjs → NetWorthStore-8FFC1Bs0.mjs} +2 -2
- package/dist/{NotificationSettings-B74rQVYC.mjs → NotificationSettings-BsWiYD94.mjs} +67 -67
- package/dist/{OriginalBalanceAction-2Y_3U_mg.mjs → OriginalBalanceAction-62e0mU_3.mjs} +7 -7
- package/dist/{RecurringSettings-DAncu--R.mjs → RecurringSettings-RfZ8Wuhh.mjs} +3 -3
- package/dist/{RecurringTransactions-CxcSL1dY.mjs → RecurringTransactions-Bhx56aA3.mjs} +76 -76
- package/dist/{RecurringTransactionsStore-CNFxyGB6.mjs → RecurringTransactionsStore-D3EOKZ2B.mjs} +1 -1
- package/dist/{ResponsiveButton-Cn6-R7ue.mjs → ResponsiveButton-C6KH8JH4.mjs} +1 -1
- package/dist/SearchBox-B2_zLv8-.mjs +42 -0
- package/dist/{SingleSegmentDonut-7Uy6VEld.mjs → SingleSegmentDonut-PsRQPkmV.mjs} +1 -1
- package/dist/{SpendingLegend-6FqtMcBV.mjs → SpendingLegend-CZzDb-7d.mjs} +10 -10
- package/dist/TransactionDetails-Duv1X9ec.mjs +1379 -0
- package/dist/{TransactionStore-DbwAutwC.mjs → TransactionStore-DgLrYW4C.mjs} +3 -3
- package/dist/{User-BklmOUSd.mjs → User-DqNX2GAK.mjs} +107 -107
- package/dist/{ViewMoreMicroCard-DAkyNRlD.mjs → ViewMoreMicroCard-CH9E-jOx.mjs} +178 -177
- package/dist/{WidgetContainer-CDh9fjpR.mjs → WidgetContainer-B1Jzb4XA.mjs} +6 -6
- package/dist/accounts/index.es.js +45 -45
- package/dist/analytics/index.es.js +22 -22
- package/dist/budgets/index.es.js +266 -265
- package/dist/cashflow/index.es.js +155 -154
- package/dist/categories/index.es.js +1 -1
- package/dist/common/components/Loader.d.ts +2 -1
- package/dist/common/components/accountfilter/AccountFilterOptions.d.ts +1 -1
- package/dist/common/components/barchart/Bar.d.ts +25 -0
- package/dist/common/components/barchart/BarChart.d.ts +34 -0
- package/dist/common/components/barchart/BarColumn.d.ts +37 -0
- package/dist/common/components/barchart/Legend.d.ts +8 -0
- package/dist/common/components/barchart/Util.d.ts +42 -0
- package/dist/common/components/barchart/index.d.ts +1 -0
- package/dist/common/components/charts/linechart/CustomMark.d.ts +1 -1
- package/dist/common/components/index.d.ts +1 -0
- package/dist/common/index.es.js +659 -394
- package/dist/common/utils/Theme.d.ts +3 -1
- package/dist/dashboard/index.es.js +21 -21
- package/dist/debts/components/DebtsChart.d.ts +2 -1
- package/dist/debts/index.es.js +438 -438
- package/dist/{exportTransactionsToCSV-BgV_wTLT.mjs → exportTransactionsToCSV-BFpuIAXW.mjs} +1 -1
- package/dist/finstrong/index.es.js +113 -113
- package/dist/goals/index.es.js +379 -385
- package/dist/help/components/content/BottomImageContent.d.ts +1 -1
- package/dist/help/components/content/LeftImageContent.d.ts +1 -1
- package/dist/help/components/content/RightImageContent.d.ts +1 -1
- package/dist/help/components/content/TopImageContent.d.ts +1 -1
- package/dist/help/index.es.js +3 -3
- package/dist/investments/index.es.js +279 -278
- package/dist/merchants/index.es.js +16 -16
- package/dist/microinsights/index.es.js +1 -1
- package/dist/networth/components/NetWorthChange.d.ts +1 -3
- package/dist/networth/index.es.js +185 -191
- package/dist/notifications/index.es.js +29 -29
- package/dist/recurringtransactions/index.es.js +82 -82
- package/dist/settings/index.es.js +254 -254
- package/dist/spending/index.es.js +43 -43
- package/dist/transactions/components/shared/transactionlist/DateRow.d.ts +7 -0
- package/dist/transactions/index.es.js +150 -149
- package/dist/trends/index.es.js +297 -296
- package/dist/{useAccountDisplayName-CcIp09Xc.mjs → useAccountDisplayName-usSZCQ7I.mjs} +1 -1
- package/dist/{useCombineEvents-kNzLTWCp.mjs → useCombineEvents-CRwX-qWE.mjs} +2 -2
- package/dist/{useScreenSize-B5afALev.mjs → useScreenSize-B6JyS_Lj.mjs} +1 -1
- package/package.json +30 -30
- package/dist/AccountDetailsContent-adZTkM52.mjs +0 -683
- package/dist/AccountListItem-wgmlex-_.mjs +0 -90
- package/dist/CurrencyInput-D1cjbdCI.mjs +0 -85
- package/dist/HeaderCell-P8w6CmfO.mjs +0 -6
- package/dist/Loader-Ckqi9Rx6.mjs +0 -21
- package/dist/SearchBox-B7km148n.mjs +0 -39
- package/dist/TransactionDetails-Bn0qY5Hw.mjs +0 -1336
|
@@ -1,55 +1,56 @@
|
|
|
1
1
|
import { jsx as t, jsxs as r, Fragment as v } from "react/jsx-runtime";
|
|
2
|
-
import { fromUnixTime as
|
|
2
|
+
import { fromUnixTime as _t } from "date-fns/fromUnixTime";
|
|
3
3
|
import { observer as w } from "mobx-react-lite";
|
|
4
|
-
import { useTheme as
|
|
5
|
-
import { L as
|
|
6
|
-
import { u as Z } from "../useScreenSize-
|
|
7
|
-
import { q as
|
|
8
|
-
import { f as
|
|
4
|
+
import { useTheme as z } from "@mui/material/styles";
|
|
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-CDV0kKxj.mjs";
|
|
9
9
|
import W from "@mui/material/Divider";
|
|
10
|
-
import
|
|
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
|
|
14
|
-
import
|
|
13
|
+
import { Text as m, Icon as H, H1 as Tt, P as Lt } from "@mxenabled/mxui";
|
|
14
|
+
import d from "react";
|
|
15
15
|
import D from "@mui/material/ListItem";
|
|
16
16
|
import et from "@mui/material/ListItemButton";
|
|
17
17
|
import _ from "@mui/material/ListItemText";
|
|
18
18
|
import { i as nt } from "../DateUtil-CDPZw_-m.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
|
|
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-8FFC1Bs0.mjs";
|
|
23
|
+
import { N as Re } from "../NetWorthStore-8FFC1Bs0.mjs";
|
|
24
24
|
import { Icon as ot } from "@mxenabled/mx-icons";
|
|
25
|
-
import { f as
|
|
26
|
-
import { L as
|
|
27
|
-
import { M as
|
|
28
|
-
import { A as
|
|
25
|
+
import { f as U } from "../NumberFormatting-DjTD0t3W.mjs";
|
|
26
|
+
import { L as O } from "../Loader-BSWSYqvn.mjs";
|
|
27
|
+
import { M as Mt } from "../MicroWidgetContainer-BGpNl5ZS.mjs";
|
|
28
|
+
import { A as b, W as Ht } from "../WidgetContainer-B1Jzb4XA.mjs";
|
|
29
29
|
import rt from "@mui/material/Box";
|
|
30
|
-
import { C as
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
-
import
|
|
30
|
+
import { C as Bt } from "../ConnectionsDrawer-CSo6AFkG.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 { D as Y } from "../Drawer-Dqe5EqvA.mjs";
|
|
34
35
|
import { E as zt } from "../EmptyState-DoxNUae-.mjs";
|
|
35
36
|
const Rt = ({
|
|
36
37
|
chartData: e,
|
|
37
38
|
hoveredData: l,
|
|
38
39
|
onDataClick: i,
|
|
39
40
|
onMouseEnter: n,
|
|
40
|
-
onMouseLeave:
|
|
41
|
+
onMouseLeave: s,
|
|
41
42
|
selectedData: o
|
|
42
43
|
}) => {
|
|
43
|
-
const { isMobile:
|
|
44
|
-
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),
|
|
45
46
|
y: f.y
|
|
46
|
-
})), g = o ? { index: e.findIndex((f) => f.x === o.x) } : void 0,
|
|
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) => ({
|
|
47
48
|
fill: f === g?.index ? u.palette.success.main : "",
|
|
48
|
-
filter: f ===
|
|
49
|
+
filter: f === S?.index ? `drop-shadow(0px 0px 10px ${u.palette.success.main})` : "none",
|
|
49
50
|
stroke: u.palette.success.main
|
|
50
51
|
});
|
|
51
52
|
return /* @__PURE__ */ t(
|
|
52
|
-
|
|
53
|
+
wt,
|
|
53
54
|
{
|
|
54
55
|
baseline: "min",
|
|
55
56
|
chartFor: "networthChart",
|
|
@@ -60,29 +61,29 @@ const Rt = ({
|
|
|
60
61
|
height: 350,
|
|
61
62
|
labels: [],
|
|
62
63
|
margin: { right: 20, left: 100 },
|
|
63
|
-
markHandlers: { onMarkClick: i, onMouseEnter: n, onMouseLeave:
|
|
64
|
+
markHandlers: { onMarkClick: i, onMouseEnter: n, onMouseLeave: s },
|
|
64
65
|
markStyles: p,
|
|
65
66
|
showArea: !0,
|
|
66
67
|
useCustomMark: !0,
|
|
67
68
|
valueFormatterString: "0.0[0]a",
|
|
68
|
-
width:
|
|
69
|
+
width: a ? 320 : C
|
|
69
70
|
}
|
|
70
71
|
);
|
|
71
|
-
}, jt = w(Rt),
|
|
72
|
+
}, jt = w(Rt), $t = ({
|
|
72
73
|
item: e,
|
|
73
74
|
getStyles: l,
|
|
74
75
|
isHovered: i = !1,
|
|
75
76
|
isSelected: n = !1,
|
|
76
|
-
onItemClick:
|
|
77
|
+
onItemClick: s,
|
|
77
78
|
onMouseEnter: o,
|
|
78
|
-
onMouseLeave:
|
|
79
|
+
onMouseLeave: a
|
|
79
80
|
}) => {
|
|
80
|
-
const [c, u] =
|
|
81
|
+
const [c, u] = d.useState({
|
|
81
82
|
color: ""
|
|
82
83
|
});
|
|
83
|
-
return
|
|
84
|
+
return d.useEffect(() => {
|
|
84
85
|
u(l(e));
|
|
85
|
-
}, [i, n]), /* @__PURE__ */ r(
|
|
86
|
+
}, [i, n]), /* @__PURE__ */ r(d.Fragment, { children: [
|
|
86
87
|
/* @__PURE__ */ t(
|
|
87
88
|
D,
|
|
88
89
|
{
|
|
@@ -94,16 +95,16 @@ const Rt = ({
|
|
|
94
95
|
children: /* @__PURE__ */ t(
|
|
95
96
|
et,
|
|
96
97
|
{
|
|
97
|
-
onClick: (C) =>
|
|
98
|
+
onClick: (C) => s?.(C, e.x),
|
|
98
99
|
onMouseEnter: () => o(e.x),
|
|
99
|
-
onMouseLeave: () =>
|
|
100
|
+
onMouseLeave: () => a(),
|
|
100
101
|
sx: { minHeight: 20, padding: 12 },
|
|
101
102
|
children: /* @__PURE__ */ t(
|
|
102
103
|
_,
|
|
103
104
|
{
|
|
104
105
|
primary: /* @__PURE__ */ r(h, { direction: "row", justifyContent: "space-between", sx: { fontWeight: 400 }, children: [
|
|
105
|
-
/* @__PURE__ */ t(
|
|
106
|
-
/* @__PURE__ */ t(y, { amount: e.y, sx: { color: "inherit" }, variant: "
|
|
106
|
+
/* @__PURE__ */ t(m, { variant: "Body", children: nt(e.x) }),
|
|
107
|
+
/* @__PURE__ */ t(y, { amount: e.y, sx: { color: "inherit" }, variant: "Body" })
|
|
107
108
|
] })
|
|
108
109
|
}
|
|
109
110
|
)
|
|
@@ -113,43 +114,43 @@ const Rt = ({
|
|
|
113
114
|
),
|
|
114
115
|
/* @__PURE__ */ t(W, {})
|
|
115
116
|
] }, e.x);
|
|
116
|
-
},
|
|
117
|
+
}, Gt = w($t), Xt = ({
|
|
117
118
|
chartData: e,
|
|
118
119
|
hoveredData: l,
|
|
119
120
|
onDataClick: i,
|
|
120
121
|
onButtonClick: n,
|
|
121
|
-
onMouseEnter:
|
|
122
|
+
onMouseEnter: s,
|
|
122
123
|
onMouseLeave: o,
|
|
123
|
-
selectedData:
|
|
124
|
+
selectedData: a
|
|
124
125
|
}) => {
|
|
125
|
-
const { net_worth: c } = T(), u =
|
|
126
|
-
const g = x.x === l?.x,
|
|
126
|
+
const { net_worth: c } = T(), u = z(), C = (x) => {
|
|
127
|
+
const g = x.x === l?.x, S = x.x === a?.x, p = {
|
|
127
128
|
backgroundColor: "inherit",
|
|
128
129
|
borderBottom: "inherit",
|
|
129
130
|
color: "inherit"
|
|
130
131
|
};
|
|
131
|
-
return g && (p.color =
|
|
132
|
+
return g && (p.color = S ? "inherit" : p.color, p.backgroundColor = u.palette.action.hover), S && (p.backgroundColor = u.palette.primary.main, p.borderBottom = u.palette.border.light, p.color = u.palette.common.white), p;
|
|
132
133
|
};
|
|
133
134
|
return /* @__PURE__ */ r(h, { direction: "column", sx: { width: 320 }, children: [
|
|
134
|
-
/* @__PURE__ */ r(
|
|
135
|
-
/* @__PURE__ */ t(k, { sx: { backgroundColor: "transparent", mb: 8, mt: 12, px: 12 }, children: /* @__PURE__ */ t(
|
|
135
|
+
/* @__PURE__ */ r(B, { children: [
|
|
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 }) }),
|
|
136
137
|
/* @__PURE__ */ t(W, {}),
|
|
137
138
|
e.map((x, g) => /* @__PURE__ */ t(
|
|
138
|
-
|
|
139
|
+
Gt,
|
|
139
140
|
{
|
|
140
141
|
getStyles: C,
|
|
141
142
|
isHovered: x.x === l?.x,
|
|
142
|
-
isSelected: x.x ===
|
|
143
|
+
isSelected: x.x === a?.x,
|
|
143
144
|
item: x,
|
|
144
|
-
onItemClick: (
|
|
145
|
-
onMouseEnter: () =>
|
|
145
|
+
onItemClick: (S) => i(S, g),
|
|
146
|
+
onMouseEnter: () => s(g),
|
|
146
147
|
onMouseLeave: () => o()
|
|
147
148
|
},
|
|
148
149
|
x.x
|
|
149
150
|
))
|
|
150
151
|
] }),
|
|
151
152
|
/* @__PURE__ */ t(
|
|
152
|
-
|
|
153
|
+
Nt,
|
|
153
154
|
{
|
|
154
155
|
onClick: () => n(),
|
|
155
156
|
sx: { alignSelf: "center", marginTop: 16, width: "fit-content" },
|
|
@@ -158,15 +159,15 @@ const Rt = ({
|
|
|
158
159
|
}
|
|
159
160
|
)
|
|
160
161
|
] });
|
|
161
|
-
}, Ft = w(
|
|
162
|
+
}, Ft = w(Xt), Kt = ({
|
|
162
163
|
currencyLabel: e,
|
|
163
|
-
currencyVariant: l = "
|
|
164
|
+
currencyVariant: l = "Small",
|
|
164
165
|
iconSize: i,
|
|
165
166
|
netWorth: n,
|
|
166
|
-
theme:
|
|
167
|
+
theme: s
|
|
167
168
|
}) => {
|
|
168
|
-
let o =
|
|
169
|
-
return n.change < 0 ? c = "trending_down" : n.change > 0 && (o =
|
|
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: [
|
|
170
171
|
/* @__PURE__ */ t(
|
|
171
172
|
H,
|
|
172
173
|
{
|
|
@@ -177,91 +178,91 @@ const Rt = ({
|
|
|
177
178
|
}
|
|
178
179
|
}
|
|
179
180
|
),
|
|
180
|
-
/* @__PURE__ */ t(y, { amount: n.change, color:
|
|
181
|
-
/* @__PURE__ */ t(
|
|
181
|
+
/* @__PURE__ */ t(y, { amount: n.change, color: a, variant: l }),
|
|
182
|
+
/* @__PURE__ */ t(m, { variant: "Small", children: e })
|
|
182
183
|
] });
|
|
183
|
-
},
|
|
184
|
-
const { net_worth: i } = T(), n =
|
|
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");
|
|
185
186
|
return /* @__PURE__ */ r(h, { alignItems: "center", direction: "column", m: 24, children: [
|
|
186
|
-
/* @__PURE__ */ t(
|
|
187
|
-
/* @__PURE__ */ t(y, { amount:
|
|
188
|
-
/* @__PURE__ */ t(
|
|
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 })
|
|
189
190
|
] });
|
|
190
|
-
}, Vt = w(Ut),
|
|
191
|
+
}, Vt = w(Ut), Yt = ({ amount: e, copy: l, trendValue: i }) => {
|
|
191
192
|
const n = i > 0, o = i === 0 ? "trending_flat" : n ? "trending_up" : "trending_down";
|
|
192
193
|
return /* @__PURE__ */ r(h, { sx: { flexDirection: "row", justifyContent: "space-between" }, children: [
|
|
193
|
-
/* @__PURE__ */ t(
|
|
194
|
+
/* @__PURE__ */ t(Tt, { children: U(e, "0,0") }),
|
|
194
195
|
e !== 0 && /* @__PURE__ */ r(h, { sx: { color: n ? "success.main" : "text.secondary" }, children: [
|
|
195
196
|
/* @__PURE__ */ r(h, { sx: { flexDirection: "row", gap: 8 }, children: [
|
|
196
197
|
/* @__PURE__ */ t(ot, { name: o, size: 20 }),
|
|
197
|
-
/* @__PURE__ */ t(
|
|
198
|
+
/* @__PURE__ */ t(m, { sx: { fontWeight: 600, textAlign: "right" }, variant: "body1", children: U(i, "0,0.00") })
|
|
198
199
|
] }),
|
|
199
|
-
/* @__PURE__ */ t(
|
|
200
|
+
/* @__PURE__ */ t(m, { sx: { display: "block", textAlign: "right" }, variant: "caption", children: l.this_month })
|
|
200
201
|
] })
|
|
201
202
|
] });
|
|
202
|
-
},
|
|
203
|
+
}, qt = ({ copy: e }) => /* @__PURE__ */ r(h, { sx: { flexDirection: "row", gap: 12 }, children: [
|
|
203
204
|
/* @__PURE__ */ t(ot, { name: "elevation", size: 32, sx: { color: "text.primary" } }),
|
|
204
205
|
/* @__PURE__ */ r(h, { children: [
|
|
205
|
-
/* @__PURE__ */ t(
|
|
206
|
-
/* @__PURE__ */ t(
|
|
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 })
|
|
207
208
|
] })
|
|
208
|
-
] }),
|
|
209
|
-
const [l, i] =
|
|
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 () => {
|
|
210
211
|
await g(u), await x(1), i(!0);
|
|
211
212
|
};
|
|
212
|
-
if (
|
|
213
|
-
c && f().finally(),
|
|
213
|
+
if (d.useEffect(() => C(n), [n]), d.useEffect(() => {
|
|
214
|
+
c && f().finally(), s(b.NET_WORTH_LOAD_WIDGET, {
|
|
214
215
|
state: n?.length ? "default" : "zeroState"
|
|
215
216
|
});
|
|
216
|
-
}, [c]), !l) return /* @__PURE__ */ t(
|
|
217
|
+
}, [c]), !l) return /* @__PURE__ */ t(O, { height: 100 });
|
|
217
218
|
const L = () => {
|
|
218
|
-
|
|
219
|
-
n.length ?
|
|
219
|
+
s(
|
|
220
|
+
n.length ? b.NET_WORTH_CLICK_VIEW_DETAILS : b.NET_WORTH_CLICK_GET_STARTED
|
|
220
221
|
), e();
|
|
221
222
|
};
|
|
222
223
|
return /* @__PURE__ */ t(
|
|
223
|
-
|
|
224
|
+
Mt,
|
|
224
225
|
{
|
|
225
226
|
className: "mx-networth-microwidget",
|
|
226
|
-
ctaLabel:
|
|
227
|
+
ctaLabel: a.see_details,
|
|
227
228
|
onCTAClick: L,
|
|
228
229
|
title: o.net_worth,
|
|
229
|
-
children:
|
|
230
|
-
|
|
230
|
+
children: S.accounts.length ? /* @__PURE__ */ t(
|
|
231
|
+
Yt,
|
|
231
232
|
{
|
|
232
233
|
amount: p?.y,
|
|
233
234
|
copy: o,
|
|
234
235
|
trendValue: p?.change
|
|
235
236
|
}
|
|
236
|
-
) : /* @__PURE__ */ t(
|
|
237
|
+
) : /* @__PURE__ */ t(qt, { copy: o })
|
|
237
238
|
}
|
|
238
239
|
);
|
|
239
|
-
}),
|
|
240
|
-
const [n,
|
|
240
|
+
}), Zt = ({ accounts: e, name: l, icon: i }) => {
|
|
241
|
+
const [n, s] = d.useState(!1);
|
|
241
242
|
return /* @__PURE__ */ r(v, { children: [
|
|
242
|
-
/* @__PURE__ */ t(D, { sx: (o) => ({ backgroundColor: o.palette.background.paper }), children: /* @__PURE__ */ r(et, { onClick: () =>
|
|
243
|
-
i && /* @__PURE__ */ t(
|
|
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 } }) }),
|
|
244
245
|
/* @__PURE__ */ t(
|
|
245
246
|
_,
|
|
246
247
|
{
|
|
247
|
-
primary: /* @__PURE__ */ t(
|
|
248
|
+
primary: /* @__PURE__ */ t(m, { sx: { fontWeight: 700 }, variant: "Body", children: l })
|
|
248
249
|
}
|
|
249
250
|
),
|
|
250
|
-
/* @__PURE__ */ t(
|
|
251
|
+
/* @__PURE__ */ t(V, { children: n ? /* @__PURE__ */ t(H, { name: "expand_less", size: 24 }) : /* @__PURE__ */ t(H, { name: "expand_more", size: 24 }) })
|
|
251
252
|
] }) }),
|
|
252
253
|
/* @__PURE__ */ t(W, {}),
|
|
253
|
-
/* @__PURE__ */ t(
|
|
254
|
+
/* @__PURE__ */ t(Ot, { in: n, timeout: "auto", unmountOnExit: !0, children: e.map((o, a) => /* @__PURE__ */ r(B, { children: [
|
|
254
255
|
/* @__PURE__ */ t(D, { sx: () => ({ py: 14 }), children: /* @__PURE__ */ t(
|
|
255
256
|
_,
|
|
256
257
|
{
|
|
257
258
|
primary: /* @__PURE__ */ r(h, { direction: "row", justifyContent: "space-between", sx: { fontWeight: 400 }, children: [
|
|
258
259
|
/* @__PURE__ */ t(
|
|
259
|
-
|
|
260
|
+
m,
|
|
260
261
|
{
|
|
261
262
|
sx: {
|
|
262
263
|
marginRight: 10
|
|
263
264
|
},
|
|
264
|
-
variant: "
|
|
265
|
+
variant: "Body",
|
|
265
266
|
children: o.accountName
|
|
266
267
|
}
|
|
267
268
|
),
|
|
@@ -272,24 +273,24 @@ const Rt = ({
|
|
|
272
273
|
sx: {
|
|
273
274
|
flexShrink: 0
|
|
274
275
|
},
|
|
275
|
-
variant: "
|
|
276
|
+
variant: "Small"
|
|
276
277
|
}
|
|
277
278
|
)
|
|
278
279
|
] }),
|
|
279
280
|
sx: { pl: 72, pr: 16 }
|
|
280
281
|
}
|
|
281
282
|
) }),
|
|
282
|
-
|
|
283
|
+
a < e.length - 1 ? /* @__PURE__ */ t(W, { variant: "inset" }) : /* @__PURE__ */ t(W, {})
|
|
283
284
|
] }, o.accountName)) })
|
|
284
285
|
] });
|
|
285
|
-
}, q = ({ groupedAccounts: e }) => /* @__PURE__ */ t(v, { children: e.map(({ accounts: l, icon: i, name: n }) => /* @__PURE__ */ t(
|
|
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 = ({
|
|
286
287
|
netWorth: e,
|
|
287
288
|
assets: l,
|
|
288
289
|
liabilities: i,
|
|
289
290
|
totalAssets: n,
|
|
290
|
-
totalLiabilities:
|
|
291
|
+
totalLiabilities: s
|
|
291
292
|
}) => {
|
|
292
|
-
const { net_worth: o } = T(),
|
|
293
|
+
const { net_worth: o } = T(), a = it();
|
|
293
294
|
return /* @__PURE__ */ r(v, { children: [
|
|
294
295
|
/* @__PURE__ */ r(
|
|
295
296
|
rt,
|
|
@@ -303,86 +304,79 @@ const Rt = ({
|
|
|
303
304
|
marginBottom: 8
|
|
304
305
|
},
|
|
305
306
|
children: [
|
|
306
|
-
/* @__PURE__ */ t(
|
|
307
|
-
/* @__PURE__ */ t(y, { amount: e?.y ?? 0, variant: "
|
|
307
|
+
/* @__PURE__ */ t(m, { variant: "Body", children: o.current_net_worth }),
|
|
308
|
+
/* @__PURE__ */ t(y, { amount: e?.y ?? 0, variant: "H1" }),
|
|
308
309
|
e && /* @__PURE__ */ t(
|
|
309
|
-
|
|
310
|
+
R,
|
|
310
311
|
{
|
|
311
312
|
currencyLabel: o.this_month,
|
|
312
313
|
iconSize: 20,
|
|
313
314
|
netWorth: e,
|
|
314
|
-
theme:
|
|
315
|
+
theme: a
|
|
315
316
|
}
|
|
316
317
|
)
|
|
317
318
|
]
|
|
318
319
|
}
|
|
319
320
|
),
|
|
320
|
-
/* @__PURE__ */ r(
|
|
321
|
+
/* @__PURE__ */ r(B, { children: [
|
|
321
322
|
/* @__PURE__ */ t(k, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ t(
|
|
322
323
|
_,
|
|
323
324
|
{
|
|
324
325
|
primary: /* @__PURE__ */ r(h, { direction: "row", justifyContent: "space-between", children: [
|
|
325
|
-
/* @__PURE__ */ t(
|
|
326
|
-
/* @__PURE__ */ t(y, { amount: n, sx: { fontWeight: 400 }, variant: "
|
|
326
|
+
/* @__PURE__ */ t(m, { sx: { fontWeight: 700 }, variant: "XSmall", children: o.assets }),
|
|
327
|
+
/* @__PURE__ */ t(y, { amount: n, sx: { fontWeight: 400 }, variant: "XSmall" })
|
|
327
328
|
] })
|
|
328
329
|
}
|
|
329
330
|
) }),
|
|
330
|
-
/* @__PURE__ */ t(q, { groupedAccounts:
|
|
331
|
+
/* @__PURE__ */ t(q, { groupedAccounts: K(l) }),
|
|
331
332
|
/* @__PURE__ */ t(k, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ t(
|
|
332
333
|
_,
|
|
333
334
|
{
|
|
334
335
|
primary: /* @__PURE__ */ r(h, { direction: "row", justifyContent: "space-between", children: [
|
|
335
|
-
/* @__PURE__ */ t(
|
|
336
|
-
/* @__PURE__ */ t(
|
|
337
|
-
y,
|
|
338
|
-
{
|
|
339
|
-
amount: a,
|
|
340
|
-
sx: { fontWeight: 400 },
|
|
341
|
-
variant: "caption"
|
|
342
|
-
}
|
|
343
|
-
)
|
|
336
|
+
/* @__PURE__ */ t(m, { sx: { fontWeight: 700 }, variant: "XSmall", children: o.liabilities }),
|
|
337
|
+
/* @__PURE__ */ t(y, { amount: s, sx: { fontWeight: 400 }, variant: "XSmall" })
|
|
344
338
|
] })
|
|
345
339
|
}
|
|
346
340
|
) }),
|
|
347
|
-
/* @__PURE__ */ t(q, { groupedAccounts:
|
|
341
|
+
/* @__PURE__ */ t(q, { groupedAccounts: K(i) })
|
|
348
342
|
] })
|
|
349
343
|
] });
|
|
350
|
-
},
|
|
344
|
+
}, Qt = w(Jt), Pt = ({
|
|
351
345
|
netWorth: e,
|
|
352
346
|
gains: l,
|
|
353
347
|
losses: i,
|
|
354
348
|
totalGains: n,
|
|
355
|
-
totalLosses:
|
|
349
|
+
totalLosses: s
|
|
356
350
|
}) => {
|
|
357
|
-
const { net_worth: o } = T(),
|
|
351
|
+
const { net_worth: o } = T(), a = it();
|
|
358
352
|
return /* @__PURE__ */ r(v, { children: [
|
|
359
353
|
/* @__PURE__ */ r(h, { alignItems: "center", justifyContent: "space-between", mb: 8, pt: 24, children: [
|
|
360
|
-
/* @__PURE__ */ t(
|
|
361
|
-
/* @__PURE__ */ t(
|
|
362
|
-
e && /* @__PURE__ */ t(
|
|
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 })
|
|
363
357
|
] }),
|
|
364
|
-
/* @__PURE__ */ r(
|
|
358
|
+
/* @__PURE__ */ r(B, { children: [
|
|
365
359
|
/* @__PURE__ */ t(k, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ t(
|
|
366
360
|
_,
|
|
367
361
|
{
|
|
368
362
|
primary: /* @__PURE__ */ r(h, { direction: "row", justifyContent: "space-between", children: [
|
|
369
|
-
/* @__PURE__ */ t(
|
|
370
|
-
/* @__PURE__ */ t(y, { amount: n, sx: { fontWeight: 400 }, variant: "
|
|
363
|
+
/* @__PURE__ */ t(m, { sx: { fontWeight: 700 }, variant: "XSmall", children: o.gains }),
|
|
364
|
+
/* @__PURE__ */ t(y, { amount: n, sx: { fontWeight: 400 }, variant: "XSmall" })
|
|
371
365
|
] })
|
|
372
366
|
}
|
|
373
367
|
) }),
|
|
374
|
-
l?.map((c) => /* @__PURE__ */ r(
|
|
375
|
-
/* @__PURE__ */ t(D, { sx: { backgroundColor:
|
|
368
|
+
l?.map((c) => /* @__PURE__ */ r(d.Fragment, { children: [
|
|
369
|
+
/* @__PURE__ */ t(D, { sx: { backgroundColor: a.palette.background.paper, py: 14 }, children: /* @__PURE__ */ t(
|
|
376
370
|
_,
|
|
377
371
|
{
|
|
378
372
|
primary: /* @__PURE__ */ r(h, { direction: "row", justifyContent: "space-between", children: [
|
|
379
|
-
/* @__PURE__ */ t(
|
|
373
|
+
/* @__PURE__ */ t(m, { sx: { mr: 10 }, variant: "Body", children: c.accountName }),
|
|
380
374
|
/* @__PURE__ */ t(
|
|
381
375
|
y,
|
|
382
376
|
{
|
|
383
377
|
amount: c.gain,
|
|
384
|
-
sx: { color:
|
|
385
|
-
variant: "
|
|
378
|
+
sx: { color: a.palette.success.main, flexShrink: 0, fontWeight: 700 },
|
|
379
|
+
variant: "Body"
|
|
386
380
|
}
|
|
387
381
|
)
|
|
388
382
|
] }),
|
|
@@ -395,8 +389,8 @@ const Rt = ({
|
|
|
395
389
|
_,
|
|
396
390
|
{
|
|
397
391
|
primary: /* @__PURE__ */ r(h, { direction: "row", justifyContent: "space-between", children: [
|
|
398
|
-
/* @__PURE__ */ t(
|
|
399
|
-
/* @__PURE__ */ t(y, { amount:
|
|
392
|
+
/* @__PURE__ */ t(m, { sx: { fontWeight: 700 }, variant: "XSmall", children: o.losses }),
|
|
393
|
+
/* @__PURE__ */ t(y, { amount: s, sx: { fontWeight: 400 }, variant: "XSmall" })
|
|
400
394
|
] })
|
|
401
395
|
}
|
|
402
396
|
) }),
|
|
@@ -404,18 +398,18 @@ const Rt = ({
|
|
|
404
398
|
/* @__PURE__ */ t(
|
|
405
399
|
D,
|
|
406
400
|
{
|
|
407
|
-
sx: { backgroundColor:
|
|
401
|
+
sx: { backgroundColor: a.palette.background.paper, py: 14 },
|
|
408
402
|
children: /* @__PURE__ */ t(
|
|
409
403
|
_,
|
|
410
404
|
{
|
|
411
405
|
primary: /* @__PURE__ */ r(h, { direction: "row", justifyContent: "space-between", children: [
|
|
412
406
|
/* @__PURE__ */ t(
|
|
413
|
-
|
|
407
|
+
m,
|
|
414
408
|
{
|
|
415
409
|
sx: {
|
|
416
410
|
mr: 10
|
|
417
411
|
},
|
|
418
|
-
variant: "
|
|
412
|
+
variant: "Body",
|
|
419
413
|
children: c.accountName
|
|
420
414
|
}
|
|
421
415
|
),
|
|
@@ -424,7 +418,7 @@ const Rt = ({
|
|
|
424
418
|
{
|
|
425
419
|
amount: c.loss,
|
|
426
420
|
sx: { flexShrink: 0, fontWeight: 700 },
|
|
427
|
-
variant: "
|
|
421
|
+
variant: "Body"
|
|
428
422
|
}
|
|
429
423
|
)
|
|
430
424
|
] }),
|
|
@@ -438,62 +432,62 @@ const Rt = ({
|
|
|
438
432
|
] }))
|
|
439
433
|
] })
|
|
440
434
|
] });
|
|
441
|
-
},
|
|
442
|
-
const { isCopyLoaded: l, isInitialized: i, selectedAccounts: n, setSelectedAccounts:
|
|
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(), {
|
|
443
437
|
assetsLiabilities: u,
|
|
444
438
|
gainsLosses: C,
|
|
445
439
|
hoveredData: x,
|
|
446
440
|
loadChartData: g,
|
|
447
|
-
loadNetWorthData:
|
|
441
|
+
loadNetWorthData: S,
|
|
448
442
|
netWorthChartData: p,
|
|
449
443
|
selectedData: f,
|
|
450
444
|
setHoveredData: L,
|
|
451
|
-
setSelectedData:
|
|
452
|
-
} = tt(), { isMobile: N } = Z(), { onEvent: E } = Q(), { onLoad: st } =
|
|
453
|
-
await
|
|
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);
|
|
454
448
|
};
|
|
455
|
-
|
|
456
|
-
E(
|
|
457
|
-
}, []),
|
|
458
|
-
|
|
459
|
-
}, [c]),
|
|
460
|
-
i &&
|
|
449
|
+
d.useEffect(() => {
|
|
450
|
+
E(b.NET_WORTH_VIEW);
|
|
451
|
+
}, []), d.useEffect(() => {
|
|
452
|
+
s(c);
|
|
453
|
+
}, [c]), d.useEffect(() => {
|
|
454
|
+
i && pt().finally(() => {
|
|
461
455
|
st?.("NetWorthWidget");
|
|
462
456
|
});
|
|
463
|
-
}, [i, n]),
|
|
464
|
-
E(
|
|
465
|
-
}, [
|
|
466
|
-
const
|
|
467
|
-
|
|
468
|
-
},
|
|
457
|
+
}, [i, n]), d.useEffect(() => {
|
|
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) => {
|
|
469
463
|
L(I);
|
|
470
|
-
}, xt = () => {
|
|
471
|
-
L(null);
|
|
472
464
|
}, gt = () => {
|
|
473
|
-
|
|
474
|
-
}, yt =
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
465
|
+
L(null);
|
|
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 = {
|
|
478
472
|
chartData: p,
|
|
479
473
|
hoveredData: x,
|
|
480
|
-
onButtonClick:
|
|
481
|
-
onDataClick:
|
|
482
|
-
onMouseEnter:
|
|
483
|
-
onMouseLeave:
|
|
474
|
+
onButtonClick: yt,
|
|
475
|
+
onDataClick: ft,
|
|
476
|
+
onMouseEnter: xt,
|
|
477
|
+
onMouseLeave: gt,
|
|
484
478
|
selectedData: f
|
|
485
|
-
},
|
|
486
|
-
|
|
479
|
+
}, St = () => {
|
|
480
|
+
G(!0), E(b.ACCOUNTS_CLICK_CONNECT);
|
|
487
481
|
};
|
|
488
482
|
return l ? /* @__PURE__ */ t(
|
|
489
|
-
|
|
483
|
+
Ht,
|
|
490
484
|
{
|
|
491
485
|
accountOptions: c,
|
|
492
486
|
calendarActions: {
|
|
493
|
-
onRangeChanged:
|
|
487
|
+
onRangeChanged: Ct
|
|
494
488
|
},
|
|
495
489
|
dateRangeVariant: N ? "timeframetabs" : "timeframebuttons",
|
|
496
|
-
onAccountsFilterClick: () => E(
|
|
490
|
+
onAccountsFilterClick: () => E(b.NET_WORTH_WIDGET_CLICK_FILTER),
|
|
497
491
|
onBackClick: e,
|
|
498
492
|
showDividerAboveDateSelector: !1,
|
|
499
493
|
sx: {
|
|
@@ -509,8 +503,8 @@ const Rt = ({
|
|
|
509
503
|
width: "100%"
|
|
510
504
|
}
|
|
511
505
|
},
|
|
512
|
-
title:
|
|
513
|
-
children:
|
|
506
|
+
title: a.net_worth,
|
|
507
|
+
children: ct ? /* @__PURE__ */ r(v, { children: [
|
|
514
508
|
p.length ? /* @__PURE__ */ r(v, { children: [
|
|
515
509
|
f && /* @__PURE__ */ t(Vt, { hoveredData: x, selectedData: f }),
|
|
516
510
|
/* @__PURE__ */ r(
|
|
@@ -520,19 +514,19 @@ const Rt = ({
|
|
|
520
514
|
direction: N ? "column" : "row",
|
|
521
515
|
spacing: N ? 0 : 48,
|
|
522
516
|
children: [
|
|
523
|
-
/* @__PURE__ */ t(jt, { ...
|
|
524
|
-
/* @__PURE__ */ t(Ft, { ...
|
|
517
|
+
/* @__PURE__ */ t(jt, { ...X }),
|
|
518
|
+
/* @__PURE__ */ t(Ft, { ...X })
|
|
525
519
|
]
|
|
526
520
|
}
|
|
527
521
|
)
|
|
528
522
|
] }) : /* @__PURE__ */ t(rt, { sx: { justifyItems: "center" }, children: /* @__PURE__ */ t(
|
|
529
523
|
zt,
|
|
530
524
|
{
|
|
531
|
-
header:
|
|
525
|
+
header: a.empty_widget_header,
|
|
532
526
|
icon: "elevation",
|
|
533
|
-
onClick:
|
|
534
|
-
primaryButton:
|
|
535
|
-
subText:
|
|
527
|
+
onClick: St,
|
|
528
|
+
primaryButton: a.empty_widget_button,
|
|
529
|
+
subText: a.empty_widget_description,
|
|
536
530
|
sx: {
|
|
537
531
|
width: { sm: 432 },
|
|
538
532
|
".buttons-footer": {
|
|
@@ -542,10 +536,10 @@ const Rt = ({
|
|
|
542
536
|
}
|
|
543
537
|
) }),
|
|
544
538
|
/* @__PURE__ */ t(
|
|
545
|
-
|
|
539
|
+
Bt,
|
|
546
540
|
{
|
|
547
|
-
onClose: () =>
|
|
548
|
-
showConnectionsWidget:
|
|
541
|
+
onClose: () => G(!1),
|
|
542
|
+
showConnectionsWidget: ut,
|
|
549
543
|
title: o.manage_connections
|
|
550
544
|
}
|
|
551
545
|
),
|
|
@@ -554,34 +548,34 @@ const Rt = ({
|
|
|
554
548
|
{
|
|
555
549
|
ariaLabelClose: "Close",
|
|
556
550
|
isOpen: dt,
|
|
557
|
-
onClose: () =>
|
|
551
|
+
onClose: () => j(!1),
|
|
558
552
|
shouldShowHeaderBorders: !1,
|
|
559
553
|
shouldShowHeaderShadow: !0,
|
|
560
|
-
title:
|
|
561
|
-
children: C && /* @__PURE__ */ t(
|
|
554
|
+
title: a.gains_and_losses,
|
|
555
|
+
children: C && /* @__PURE__ */ t(te, { ...C })
|
|
562
556
|
}
|
|
563
557
|
),
|
|
564
558
|
/* @__PURE__ */ t(
|
|
565
559
|
Y,
|
|
566
560
|
{
|
|
567
561
|
ariaLabelClose: "Close",
|
|
568
|
-
isOpen:
|
|
562
|
+
isOpen: ht,
|
|
569
563
|
onClose: () => $(!1),
|
|
570
564
|
shouldShowHeaderBorders: !1,
|
|
571
565
|
shouldShowHeaderShadow: !0,
|
|
572
|
-
title:
|
|
573
|
-
children: u && /* @__PURE__ */ t(
|
|
566
|
+
title: a.assets_and_liabilities,
|
|
567
|
+
children: u && /* @__PURE__ */ t(Qt, { ...u })
|
|
574
568
|
}
|
|
575
569
|
)
|
|
576
|
-
] }) : /* @__PURE__ */ t(
|
|
570
|
+
] }) : /* @__PURE__ */ t(O, {})
|
|
577
571
|
}
|
|
578
|
-
) : /* @__PURE__ */ t(
|
|
572
|
+
) : /* @__PURE__ */ t(O, {});
|
|
579
573
|
});
|
|
580
574
|
export {
|
|
581
575
|
jt as NetWorthChart,
|
|
582
576
|
Ft as NetWorthList,
|
|
583
|
-
|
|
584
|
-
|
|
577
|
+
He as NetWorthMicroWidget,
|
|
578
|
+
Re as NetWorthStore,
|
|
585
579
|
Vt as NetWorthSummary,
|
|
586
|
-
|
|
580
|
+
Be as NetWorthWidget
|
|
587
581
|
};
|