@mx-cartographer/experiences 7.3.0-alpha.sms1 → 7.3.1
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 +75 -0
- package/dist/{Account-Bxw0_4FU.mjs → Account-YwUMFz93.mjs} +1 -1
- package/dist/{AccountDetailsContent-CAM9y39M.mjs → AccountDetailsContent-BgCST7mK.mjs} +8 -8
- package/dist/AccountDetailsHeader-jAFWoHj7.mjs +87 -0
- package/dist/{AccountFields-C9FlatNb.mjs → AccountFields-DPxMPBF0.mjs} +2 -2
- package/dist/{AccountListItem-JFMZROh7.mjs → AccountListItem-D6rWAreC.mjs} +8 -8
- package/dist/{AccountStore-BgNOyMdp.mjs → AccountStore-B5E98oM1.mjs} +100 -74
- package/dist/Accounts-UIlYCmHb.mjs +9 -0
- package/dist/{BeatApi-DhJpgCLz.mjs → BeatApi-De2IaqH2.mjs} +1 -1
- package/dist/{BeatStore-IBnXd4YK.mjs → BeatStore-D_NYuBSz.mjs} +1 -1
- package/dist/{BudgetUtil-B2ZXyw-g.mjs → BudgetUtil-CXvenbdN.mjs} +1 -1
- package/dist/{CategorySelectorDrawer-DUe4lH5-.mjs → CategorySelectorDrawer-Buy70Y3V.mjs} +21 -19
- package/dist/CategoryStore-BEdFs69_.mjs +183 -0
- package/dist/CategoryUtil-BR3H5i6n.mjs +78 -0
- package/dist/{ConnectDrawer-BQNs-hjk.mjs → ConnectDrawer-CbxHKlRv.mjs} +10 -10
- package/dist/{ConnectionsDrawer-ByGQE7D5.mjs → ConnectionsDrawer-C6kanU7I.mjs} +4 -4
- package/dist/{CurrencyInput-DUsQbkXb.mjs → CurrencyInput-lSC7oPDg.mjs} +1 -1
- package/dist/{DebtsStore-C9bblOgW.mjs → DebtsStore-DgIcphe_.mjs} +1 -1
- package/dist/{ExportCsvAction-sX8Rg4Ov.mjs → ExportCsvAction-DNSgmdyv.mjs} +3 -3
- package/dist/{Fetch-87LIQbEA.mjs → Fetch-DecPFeGU.mjs} +24 -22
- package/dist/{FinstrongStore-F2c607dj.mjs → FinstrongStore-CL7t5lBL.mjs} +1 -1
- package/dist/{GoalStore-D-aB35SY.mjs → GoalStore-CAlmSu4U.mjs} +112 -152
- package/dist/{Help-B6dIcujh.mjs → Help-hi9I9EYP.mjs} +1 -1
- package/dist/{LineChart-D4GI7nVh.mjs → LineChart-eK4IQImU.mjs} +2 -2
- package/dist/{ListItemAction-DHa3KJPs.mjs → ListItemAction-BmL5buOf.mjs} +1 -1
- package/dist/{ManageIncome-1s_q5W4X.mjs → ManageIncome-Cypo9qY4.mjs} +66 -65
- package/dist/{MerchantStore-DrFvsUyy.mjs → MerchantStore-WvZ4gnQe.mjs} +1 -1
- package/dist/{MicroWidgetContainer-DpeqN9n3.mjs → MicroWidgetContainer-CFdMGJKg.mjs} +1 -1
- package/dist/{MiniWidgetContainer-D0gfmbaF.mjs → MiniWidgetContainer-BdgBvpga.mjs} +1 -1
- package/dist/{NetWorthStore-DCsTZpuS.mjs → NetWorthStore-CxqIxAgN.mjs} +2 -2
- package/dist/{NotificationSettings-DqrkNMod.mjs → NotificationSettings-DxytNHlN.mjs} +240 -237
- package/dist/{NotificationStore-BxP_P2dA.mjs → NotificationStore-CDX_kqHa.mjs} +7 -15
- package/dist/{OriginalBalanceAction-CWuVvRq9.mjs → OriginalBalanceAction-V6FEoIDe.mjs} +3 -3
- package/dist/{RecurringSettings-A_rAGCTP.mjs → RecurringSettings-iIupYxJW.mjs} +4 -4
- package/dist/{RecurringTransactions-DK8dWldr.mjs → RecurringTransactions-ej39mgA6.mjs} +3 -3
- package/dist/{RecurringTransactionsStore-C4YOD7_D.mjs → RecurringTransactionsStore-BiwCzScZ.mjs} +26 -29
- package/dist/{SettingsStore-BcgS_Ohv.mjs → SettingsStore-krIRNwHK.mjs} +3 -3
- package/dist/{ToggleListItem-r0Kx56wF.mjs → ToggleListItem-ciFTiqRS.mjs} +19 -14
- package/dist/TransactionApi-CjBoLleL.mjs +86 -0
- package/dist/{TransactionDetails-oP1eSuiS.mjs → TransactionDetails-BUoNbsu-.mjs} +402 -367
- package/dist/TransactionStore-CtGTg0XS.mjs +677 -0
- package/dist/TrendsStore-5PvDT_o6.mjs +182 -0
- package/dist/{User-BQUxBeZV.mjs → User-Bj34_i8g.mjs} +1 -1
- package/dist/{ViewMoreMicroCard-SCn2wt4i.mjs → ViewMoreMicroCard-lihSDk2J.mjs} +517 -493
- package/dist/{WidgetContainer-BHWANqT4.mjs → WidgetContainer-BnTgAfQn.mjs} +2 -2
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart.d.ts +4 -1
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsHeader.d.ts +2 -1
- package/dist/accounts/index.es.js +241 -203
- package/dist/accounts/stores/AccountStore.d.ts +22 -25
- package/dist/accounts/utils/Accounts.d.ts +1 -2
- package/dist/analytics/index.es.js +2 -2
- package/dist/budgets/index.es.js +500 -507
- package/dist/budgets/store/BudgetsStore.d.ts +0 -1
- package/dist/cashflow/index.es.js +384 -382
- package/dist/categories/index.es.js +2 -2
- package/dist/categories/stores/CategoryStore.d.ts +1 -5
- package/dist/categories/util/CategoryUtil.d.ts +2 -3
- package/dist/common/components/charts/index.d.ts +0 -2
- package/dist/common/index.es.js +391 -376
- package/dist/common/stores/AppDataStore.d.ts +1 -3
- package/dist/common/stores/GlobalCopyStore.d.ts +1 -0
- package/dist/common/stores/GlobalStore.d.ts +10 -4
- package/dist/common/stores/UserStore.d.ts +2 -3
- package/dist/common/types/Account.d.ts +6 -9
- package/dist/common/types/Global.d.ts +1 -0
- package/dist/dashboard/index.es.js +2 -2
- package/dist/debts/index.es.js +506 -498
- package/dist/exportTransactionsToCSV-C4PkIYP6.mjs +48 -0
- package/dist/finstrong/index.es.js +417 -415
- package/dist/goals/index.es.js +559 -557
- package/dist/goals/stores/GoalStore.d.ts +4 -17
- package/dist/help/index.es.js +3 -3
- package/dist/{hooks-D6XlXHf4.mjs → hooks-Cy8JnjCg.mjs} +2 -2
- package/dist/insights/index.es.js +1 -1
- package/dist/investments/index.es.js +437 -435
- package/dist/investments/stores/HoldingStore.d.ts +0 -1
- package/dist/merchants/index.es.js +2 -2
- package/dist/microinsights/carousel/BeatList.d.ts +10 -0
- package/dist/microinsights/carousel/CarouselControls.d.ts +1 -1
- package/dist/microinsights/index.es.js +1 -1
- package/dist/microinsights/interfaces.d.ts +0 -1
- package/dist/networth/index.es.js +176 -174
- package/dist/notifications/index.es.js +23 -23
- package/dist/notifications/stores/NotificationStore.d.ts +1 -3
- package/dist/recurringtransactions/index.es.js +175 -173
- package/dist/recurringtransactions/stores/RecurringTransactionsStore.d.ts +2 -3
- package/dist/settings/index.es.js +285 -279
- package/dist/spending/index.es.js +328 -304
- package/dist/transactions/components/shared/TransactionDetails.d.ts +1 -0
- package/dist/transactions/index.es.js +63 -64
- package/dist/transactions/stores/TransactionStore.d.ts +77 -21
- package/dist/trends/index.es.js +948 -583
- package/dist/{useAccountDisplayName-BUAApBIb.mjs → useAccountDisplayName-D6sQsNNQ.mjs} +2 -2
- package/dist/{useCombineEvents-BUDIR1ba.mjs → useCombineEvents-CRwX-qWE.mjs} +1 -1
- package/dist/{useInsightsEnabled-DBpwEq10.mjs → useInsightsEnabled-BxytCjq5.mjs} +1 -1
- package/package.json +3 -3
- package/dist/AccountDetailsHeader-JtSX6Uf9.mjs +0 -120
- package/dist/Accounts-BRf_YeTf.mjs +0 -27
- package/dist/CategoryStore-yHI0hWmK.mjs +0 -174
- package/dist/CategoryUtil-pZRIYOgN.mjs +0 -80
- package/dist/TransactionApi-B3Tksf7L.mjs +0 -86
- package/dist/TransactionStore-ai3uII_r.mjs +0 -690
- package/dist/TrendsStore-DCYbpXPO.mjs +0 -559
- package/dist/exportTransactionsToCSV-7bVS7KXf.mjs +0 -47
- package/dist/useAriaLive-B3_pRUio.mjs +0 -35
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { fromUnixTime 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
3
|
import { observer as w } from "mobx-react-lite";
|
|
4
4
|
import { useTheme as z } from "@mui/material/styles";
|
|
5
|
+
import { L as wt } from "../LineChart-eK4IQImU.mjs";
|
|
5
6
|
import { u as Z } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
6
|
-
import { q as
|
|
7
|
-
import { f as
|
|
8
|
-
import { L as We } from "../LineChart-D4GI7nVh.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-Cy8JnjCg.mjs";
|
|
8
|
+
import { f as vt, D as It } from "../Dialog-CWW597AF.mjs";
|
|
9
9
|
import W from "@mui/material/Divider";
|
|
10
10
|
import B from "@mui/material/List";
|
|
11
11
|
import E 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 k from "@mui/material/ListItem";
|
|
16
|
-
import
|
|
16
|
+
import et from "@mui/material/ListItemButton";
|
|
17
17
|
import _ from "@mui/material/ListItemText";
|
|
18
|
-
import { i as
|
|
18
|
+
import { i as nt } from "../DateUtil-BcuH7ErC.mjs";
|
|
19
19
|
import { C as y } from "../CurrencyText-kyC1aseI.mjs";
|
|
20
|
-
import { Button as
|
|
21
|
-
import { format as
|
|
22
|
-
import { g as K } from "../NetWorthStore-
|
|
23
|
-
import { N as
|
|
24
|
-
import { Icon as
|
|
20
|
+
import { Button as Nt, Stack as Dt } from "@mui/material";
|
|
21
|
+
import { format as Et, fromUnixTime as kt, differenceInMonths as At } from "date-fns";
|
|
22
|
+
import { g as K } from "../NetWorthStore-CxqIxAgN.mjs";
|
|
23
|
+
import { N as Re } from "../NetWorthStore-CxqIxAgN.mjs";
|
|
24
|
+
import { Icon as ot } from "@mxenabled/mx-icons";
|
|
25
25
|
import { f as U } from "../NumberFormatting-Buh7u8Oi.mjs";
|
|
26
|
-
import { A as b, W as
|
|
26
|
+
import { A as b, W as Mt } from "../WidgetContainer-BnTgAfQn.mjs";
|
|
27
27
|
import { L as O } from "../Loader-DUaFpDGv.mjs";
|
|
28
|
-
import { M as
|
|
29
|
-
import
|
|
30
|
-
import { C as
|
|
31
|
-
import
|
|
28
|
+
import { M as Ht } from "../MicroWidgetContainer-CFdMGJKg.mjs";
|
|
29
|
+
import rt from "@mui/material/Box";
|
|
30
|
+
import { C as Bt } from "../ConnectionsDrawer-C6kanU7I.mjs";
|
|
31
|
+
import Ot from "@mui/material/Collapse";
|
|
32
32
|
import V from "@mui/material/ListItemIcon";
|
|
33
|
-
import
|
|
34
|
-
import { E as
|
|
33
|
+
import it from "@mui/material/styles/useTheme";
|
|
34
|
+
import { E as zt } from "../EmptyState-DA_lfRBv.mjs";
|
|
35
35
|
import { D as Y } from "../Drawer-kEE73B87.mjs";
|
|
36
|
-
const
|
|
37
|
-
chartData:
|
|
36
|
+
const Rt = ({
|
|
37
|
+
chartData: e,
|
|
38
38
|
hoveredData: l,
|
|
39
39
|
onDataClick: i,
|
|
40
40
|
onMouseEnter: n,
|
|
41
41
|
onMouseLeave: s,
|
|
42
42
|
selectedData: o
|
|
43
43
|
}) => {
|
|
44
|
-
const { isMobile: a } = Z(), { availableWidth: c } =
|
|
45
|
-
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),
|
|
46
46
|
y: f.y
|
|
47
|
-
})), 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) => ({
|
|
48
48
|
fill: f === g?.index ? u.palette.success.main : "",
|
|
49
49
|
filter: f === S?.index ? `drop-shadow(0px 0px 10px ${u.palette.success.main})` : "none",
|
|
50
50
|
stroke: u.palette.success.main
|
|
51
51
|
});
|
|
52
|
-
return /* @__PURE__ */
|
|
53
|
-
|
|
52
|
+
return /* @__PURE__ */ t(
|
|
53
|
+
wt,
|
|
54
54
|
{
|
|
55
55
|
baseline: "min",
|
|
56
|
-
colors: [u.palette.success.main],
|
|
57
|
-
datasets: [x],
|
|
58
56
|
chartFor: "networthChart",
|
|
59
57
|
chartXaxisSx: { "& .MuiChartsAxis-tickLabel": { transform: "translateX(8px)" } },
|
|
60
58
|
chartYaxisSx: { "& .MuiChartsAxis-tickLabel": { transform: "translateX(-8px)" } },
|
|
59
|
+
colors: [u.palette.success.main],
|
|
60
|
+
datasets: [x],
|
|
61
61
|
height: 350,
|
|
62
62
|
labels: [],
|
|
63
63
|
margin: { right: 20, left: 100 },
|
|
@@ -69,8 +69,8 @@ const Oe = ({
|
|
|
69
69
|
width: a ? 320 : C
|
|
70
70
|
}
|
|
71
71
|
);
|
|
72
|
-
},
|
|
73
|
-
item:
|
|
72
|
+
}, jt = w(Rt), $t = ({
|
|
73
|
+
item: e,
|
|
74
74
|
getStyles: l,
|
|
75
75
|
isHovered: i = !1,
|
|
76
76
|
isSelected: n = !1,
|
|
@@ -82,9 +82,9 @@ const Oe = ({
|
|
|
82
82
|
color: ""
|
|
83
83
|
});
|
|
84
84
|
return d.useEffect(() => {
|
|
85
|
-
u(l(
|
|
85
|
+
u(l(e));
|
|
86
86
|
}, [i, n]), /* @__PURE__ */ r(d.Fragment, { children: [
|
|
87
|
-
/* @__PURE__ */
|
|
87
|
+
/* @__PURE__ */ t(
|
|
88
88
|
k,
|
|
89
89
|
{
|
|
90
90
|
sx: {
|
|
@@ -92,19 +92,19 @@ const Oe = ({
|
|
|
92
92
|
minHeight: 44,
|
|
93
93
|
"&:hover": { color: n ? "inherit" : c.color }
|
|
94
94
|
},
|
|
95
|
-
children: /* @__PURE__ */
|
|
96
|
-
|
|
95
|
+
children: /* @__PURE__ */ t(
|
|
96
|
+
et,
|
|
97
97
|
{
|
|
98
|
-
onClick: (C) => s?.(C,
|
|
99
|
-
onMouseEnter: () => o(
|
|
98
|
+
onClick: (C) => s?.(C, e.x),
|
|
99
|
+
onMouseEnter: () => o(e.x),
|
|
100
100
|
onMouseLeave: () => a(),
|
|
101
101
|
sx: { minHeight: 20, padding: 12 },
|
|
102
|
-
children: /* @__PURE__ */
|
|
102
|
+
children: /* @__PURE__ */ t(
|
|
103
103
|
_,
|
|
104
104
|
{
|
|
105
105
|
primary: /* @__PURE__ */ r(h, { direction: "row", justifyContent: "space-between", sx: { fontWeight: 400 }, children: [
|
|
106
|
-
/* @__PURE__ */
|
|
107
|
-
/* @__PURE__ */
|
|
106
|
+
/* @__PURE__ */ t(m, { variant: "Body", children: nt(e.x) }),
|
|
107
|
+
/* @__PURE__ */ t(y, { amount: e.y, sx: { color: "inherit" }, variant: "Body" })
|
|
108
108
|
] })
|
|
109
109
|
}
|
|
110
110
|
)
|
|
@@ -112,10 +112,10 @@ const Oe = ({
|
|
|
112
112
|
)
|
|
113
113
|
}
|
|
114
114
|
),
|
|
115
|
-
/* @__PURE__ */
|
|
116
|
-
] },
|
|
117
|
-
},
|
|
118
|
-
chartData:
|
|
115
|
+
/* @__PURE__ */ t(W, {})
|
|
116
|
+
] }, e.x);
|
|
117
|
+
}, Gt = w($t), Xt = ({
|
|
118
|
+
chartData: e,
|
|
119
119
|
hoveredData: l,
|
|
120
120
|
onDataClick: i,
|
|
121
121
|
onButtonClick: n,
|
|
@@ -133,10 +133,10 @@ const Oe = ({
|
|
|
133
133
|
};
|
|
134
134
|
return /* @__PURE__ */ r(h, { direction: "column", sx: { width: 320 }, children: [
|
|
135
135
|
/* @__PURE__ */ r(B, { children: [
|
|
136
|
-
/* @__PURE__ */
|
|
137
|
-
/* @__PURE__ */
|
|
138
|
-
|
|
139
|
-
|
|
136
|
+
/* @__PURE__ */ t(E, { 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,
|
|
140
140
|
{
|
|
141
141
|
getStyles: C,
|
|
142
142
|
isHovered: x.x === l?.x,
|
|
@@ -149,8 +149,8 @@ const Oe = ({
|
|
|
149
149
|
x.x
|
|
150
150
|
))
|
|
151
151
|
] }),
|
|
152
|
-
/* @__PURE__ */
|
|
153
|
-
|
|
152
|
+
/* @__PURE__ */ t(
|
|
153
|
+
Nt,
|
|
154
154
|
{
|
|
155
155
|
onClick: () => n(),
|
|
156
156
|
sx: { alignSelf: "center", marginTop: 16, width: "fit-content" },
|
|
@@ -159,16 +159,16 @@ const Oe = ({
|
|
|
159
159
|
}
|
|
160
160
|
)
|
|
161
161
|
] });
|
|
162
|
-
},
|
|
163
|
-
currencyLabel:
|
|
162
|
+
}, Ft = w(Xt), Kt = ({
|
|
163
|
+
currencyLabel: e,
|
|
164
164
|
currencyVariant: l = "Small",
|
|
165
165
|
iconSize: i,
|
|
166
166
|
netWorth: n,
|
|
167
167
|
theme: s
|
|
168
168
|
}) => {
|
|
169
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(
|
|
171
|
-
/* @__PURE__ */
|
|
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(Dt, { alignItems: "center", direction: "row", spacing: 4, children: [
|
|
171
|
+
/* @__PURE__ */ t(
|
|
172
172
|
H,
|
|
173
173
|
{
|
|
174
174
|
name: c,
|
|
@@ -178,85 +178,85 @@ const Oe = ({
|
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
180
|
),
|
|
181
|
-
/* @__PURE__ */
|
|
182
|
-
/* @__PURE__ */
|
|
181
|
+
/* @__PURE__ */ t(y, { amount: n.change, color: a, variant: l }),
|
|
182
|
+
/* @__PURE__ */ t(m, { variant: "Small", children: e })
|
|
183
183
|
] });
|
|
184
|
-
}, R = w(
|
|
185
|
-
const { net_worth: i } = T(), n = z(), s =
|
|
184
|
+
}, R = w(Kt), Ut = ({ hoveredData: e, selectedData: l }) => {
|
|
185
|
+
const { net_worth: i } = T(), n = z(), s = e || l, o = Et(kt(s.x), "MMMM");
|
|
186
186
|
return /* @__PURE__ */ r(h, { alignItems: "center", direction: "column", m: 24, children: [
|
|
187
|
-
/* @__PURE__ */
|
|
188
|
-
/* @__PURE__ */
|
|
189
|
-
/* @__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 })
|
|
190
190
|
] });
|
|
191
|
-
},
|
|
191
|
+
}, Vt = w(Ut), Yt = ({ amount: e, copy: l, trendValue: i }) => {
|
|
192
192
|
const n = i > 0, o = i === 0 ? "trending_flat" : n ? "trending_up" : "trending_down";
|
|
193
193
|
return /* @__PURE__ */ r(h, { sx: { flexDirection: "row", justifyContent: "space-between" }, children: [
|
|
194
|
-
/* @__PURE__ */
|
|
195
|
-
|
|
194
|
+
/* @__PURE__ */ t(Tt, { children: U(e, "0,0") }),
|
|
195
|
+
e !== 0 && /* @__PURE__ */ r(h, { sx: { color: n ? "success.main" : "text.secondary" }, children: [
|
|
196
196
|
/* @__PURE__ */ r(h, { sx: { flexDirection: "row", gap: 8 }, children: [
|
|
197
|
-
/* @__PURE__ */
|
|
198
|
-
/* @__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") })
|
|
199
199
|
] }),
|
|
200
|
-
/* @__PURE__ */
|
|
200
|
+
/* @__PURE__ */ t(m, { sx: { display: "block", textAlign: "right" }, variant: "caption", children: l.this_month })
|
|
201
201
|
] })
|
|
202
202
|
] });
|
|
203
|
-
},
|
|
204
|
-
/* @__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" } }),
|
|
205
205
|
/* @__PURE__ */ r(h, { children: [
|
|
206
|
-
/* @__PURE__ */
|
|
207
|
-
/* @__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 })
|
|
208
208
|
] })
|
|
209
|
-
] }),
|
|
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 } =
|
|
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 () => {
|
|
211
211
|
await g(u), await x(1), i(!0);
|
|
212
212
|
};
|
|
213
213
|
if (d.useEffect(() => C(n), [n]), d.useEffect(() => {
|
|
214
214
|
c && f().finally(), s(b.NET_WORTH_LOAD_WIDGET, {
|
|
215
215
|
state: n?.length ? "default" : "zeroState"
|
|
216
216
|
});
|
|
217
|
-
}, [c]), !l) return /* @__PURE__ */
|
|
217
|
+
}, [c]), !l) return /* @__PURE__ */ t(O, { height: 100 });
|
|
218
218
|
const L = () => {
|
|
219
219
|
s(
|
|
220
220
|
n.length ? b.NET_WORTH_CLICK_VIEW_DETAILS : b.NET_WORTH_CLICK_GET_STARTED
|
|
221
|
-
),
|
|
221
|
+
), e();
|
|
222
222
|
};
|
|
223
|
-
return /* @__PURE__ */
|
|
224
|
-
|
|
223
|
+
return /* @__PURE__ */ t(
|
|
224
|
+
Ht,
|
|
225
225
|
{
|
|
226
226
|
className: "mx-networth-microwidget",
|
|
227
227
|
ctaLabel: a.see_details,
|
|
228
228
|
onCTAClick: L,
|
|
229
229
|
title: o.net_worth,
|
|
230
|
-
children: S.accounts.length ? /* @__PURE__ */
|
|
231
|
-
|
|
230
|
+
children: S.accounts.length ? /* @__PURE__ */ t(
|
|
231
|
+
Yt,
|
|
232
232
|
{
|
|
233
233
|
amount: p?.y,
|
|
234
234
|
copy: o,
|
|
235
235
|
trendValue: p?.change
|
|
236
236
|
}
|
|
237
|
-
) : /* @__PURE__ */
|
|
237
|
+
) : /* @__PURE__ */ t(qt, { copy: o })
|
|
238
238
|
}
|
|
239
239
|
);
|
|
240
|
-
}),
|
|
240
|
+
}), Zt = ({ accounts: e, name: l, icon: i }) => {
|
|
241
241
|
const [n, s] = d.useState(!1);
|
|
242
242
|
return /* @__PURE__ */ r(v, { children: [
|
|
243
|
-
/* @__PURE__ */
|
|
244
|
-
i && /* @__PURE__ */
|
|
245
|
-
/* @__PURE__ */
|
|
243
|
+
/* @__PURE__ */ t(k, { 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
246
|
_,
|
|
247
247
|
{
|
|
248
|
-
primary: /* @__PURE__ */
|
|
248
|
+
primary: /* @__PURE__ */ t(m, { sx: { fontWeight: 700 }, variant: "Body", children: l })
|
|
249
249
|
}
|
|
250
250
|
),
|
|
251
|
-
/* @__PURE__ */
|
|
251
|
+
/* @__PURE__ */ t(V, { children: n ? /* @__PURE__ */ t(H, { name: "expand_less", size: 24 }) : /* @__PURE__ */ t(H, { name: "expand_more", size: 24 }) })
|
|
252
252
|
] }) }),
|
|
253
|
-
/* @__PURE__ */
|
|
254
|
-
/* @__PURE__ */
|
|
255
|
-
/* @__PURE__ */
|
|
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(k, { sx: () => ({ py: 14 }), children: /* @__PURE__ */ t(
|
|
256
256
|
_,
|
|
257
257
|
{
|
|
258
258
|
primary: /* @__PURE__ */ r(h, { direction: "row", justifyContent: "space-between", sx: { fontWeight: 400 }, children: [
|
|
259
|
-
/* @__PURE__ */
|
|
259
|
+
/* @__PURE__ */ t(
|
|
260
260
|
m,
|
|
261
261
|
{
|
|
262
262
|
sx: {
|
|
@@ -266,7 +266,7 @@ const Oe = ({
|
|
|
266
266
|
children: o.accountName
|
|
267
267
|
}
|
|
268
268
|
),
|
|
269
|
-
/* @__PURE__ */
|
|
269
|
+
/* @__PURE__ */ t(
|
|
270
270
|
y,
|
|
271
271
|
{
|
|
272
272
|
amount: o.balance,
|
|
@@ -280,20 +280,20 @@ const Oe = ({
|
|
|
280
280
|
sx: { pl: 72, pr: 16 }
|
|
281
281
|
}
|
|
282
282
|
) }),
|
|
283
|
-
a <
|
|
283
|
+
a < e.length - 1 ? /* @__PURE__ */ t(W, { variant: "inset" }) : /* @__PURE__ */ t(W, {})
|
|
284
284
|
] }, o.accountName)) })
|
|
285
285
|
] });
|
|
286
|
-
}, q = ({ groupedAccounts:
|
|
287
|
-
netWorth:
|
|
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
288
|
assets: l,
|
|
289
289
|
liabilities: i,
|
|
290
290
|
totalAssets: n,
|
|
291
291
|
totalLiabilities: s
|
|
292
292
|
}) => {
|
|
293
|
-
const { net_worth: o } = T(), a =
|
|
293
|
+
const { net_worth: o } = T(), a = it();
|
|
294
294
|
return /* @__PURE__ */ r(v, { children: [
|
|
295
295
|
/* @__PURE__ */ r(
|
|
296
|
-
|
|
296
|
+
rt,
|
|
297
297
|
{
|
|
298
298
|
sx: {
|
|
299
299
|
alignItems: "center",
|
|
@@ -304,14 +304,14 @@ const Oe = ({
|
|
|
304
304
|
marginBottom: 8
|
|
305
305
|
},
|
|
306
306
|
children: [
|
|
307
|
-
/* @__PURE__ */
|
|
308
|
-
/* @__PURE__ */
|
|
309
|
-
|
|
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(
|
|
310
310
|
R,
|
|
311
311
|
{
|
|
312
312
|
currencyLabel: o.this_month,
|
|
313
313
|
iconSize: 20,
|
|
314
|
-
netWorth:
|
|
314
|
+
netWorth: e,
|
|
315
315
|
theme: a
|
|
316
316
|
}
|
|
317
317
|
)
|
|
@@ -319,59 +319,59 @@ const Oe = ({
|
|
|
319
319
|
}
|
|
320
320
|
),
|
|
321
321
|
/* @__PURE__ */ r(B, { children: [
|
|
322
|
-
/* @__PURE__ */
|
|
322
|
+
/* @__PURE__ */ t(E, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ t(
|
|
323
323
|
_,
|
|
324
324
|
{
|
|
325
325
|
primary: /* @__PURE__ */ r(h, { direction: "row", justifyContent: "space-between", children: [
|
|
326
|
-
/* @__PURE__ */
|
|
327
|
-
/* @__PURE__ */
|
|
326
|
+
/* @__PURE__ */ t(m, { sx: { fontWeight: 700 }, variant: "XSmall", children: o.assets }),
|
|
327
|
+
/* @__PURE__ */ t(y, { amount: n, sx: { fontWeight: 400 }, variant: "XSmall" })
|
|
328
328
|
] })
|
|
329
329
|
}
|
|
330
330
|
) }),
|
|
331
|
-
/* @__PURE__ */
|
|
332
|
-
/* @__PURE__ */
|
|
331
|
+
/* @__PURE__ */ t(q, { groupedAccounts: K(l) }),
|
|
332
|
+
/* @__PURE__ */ t(E, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ t(
|
|
333
333
|
_,
|
|
334
334
|
{
|
|
335
335
|
primary: /* @__PURE__ */ r(h, { direction: "row", justifyContent: "space-between", children: [
|
|
336
|
-
/* @__PURE__ */
|
|
337
|
-
/* @__PURE__ */
|
|
336
|
+
/* @__PURE__ */ t(m, { sx: { fontWeight: 700 }, variant: "XSmall", children: o.liabilities }),
|
|
337
|
+
/* @__PURE__ */ t(y, { amount: s, sx: { fontWeight: 400 }, variant: "XSmall" })
|
|
338
338
|
] })
|
|
339
339
|
}
|
|
340
340
|
) }),
|
|
341
|
-
/* @__PURE__ */
|
|
341
|
+
/* @__PURE__ */ t(q, { groupedAccounts: K(i) })
|
|
342
342
|
] })
|
|
343
343
|
] });
|
|
344
|
-
},
|
|
345
|
-
netWorth:
|
|
344
|
+
}, Qt = w(Jt), Pt = ({
|
|
345
|
+
netWorth: e,
|
|
346
346
|
gains: l,
|
|
347
347
|
losses: i,
|
|
348
348
|
totalGains: n,
|
|
349
349
|
totalLosses: s
|
|
350
350
|
}) => {
|
|
351
|
-
const { net_worth: o } = T(), a =
|
|
351
|
+
const { net_worth: o } = T(), a = it();
|
|
352
352
|
return /* @__PURE__ */ r(v, { children: [
|
|
353
353
|
/* @__PURE__ */ r(h, { alignItems: "center", justifyContent: "space-between", mb: 8, pt: 24, children: [
|
|
354
|
-
/* @__PURE__ */
|
|
355
|
-
/* @__PURE__ */
|
|
356
|
-
|
|
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 })
|
|
357
357
|
] }),
|
|
358
358
|
/* @__PURE__ */ r(B, { children: [
|
|
359
|
-
/* @__PURE__ */
|
|
359
|
+
/* @__PURE__ */ t(E, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ t(
|
|
360
360
|
_,
|
|
361
361
|
{
|
|
362
362
|
primary: /* @__PURE__ */ r(h, { direction: "row", justifyContent: "space-between", children: [
|
|
363
|
-
/* @__PURE__ */
|
|
364
|
-
/* @__PURE__ */
|
|
363
|
+
/* @__PURE__ */ t(m, { sx: { fontWeight: 700 }, variant: "XSmall", children: o.gains }),
|
|
364
|
+
/* @__PURE__ */ t(y, { amount: n, sx: { fontWeight: 400 }, variant: "XSmall" })
|
|
365
365
|
] })
|
|
366
366
|
}
|
|
367
367
|
) }),
|
|
368
368
|
l?.map((c) => /* @__PURE__ */ r(d.Fragment, { children: [
|
|
369
|
-
/* @__PURE__ */
|
|
369
|
+
/* @__PURE__ */ t(k, { sx: { backgroundColor: a.palette.background.paper, py: 14 }, children: /* @__PURE__ */ t(
|
|
370
370
|
_,
|
|
371
371
|
{
|
|
372
372
|
primary: /* @__PURE__ */ r(h, { direction: "row", justifyContent: "space-between", children: [
|
|
373
|
-
/* @__PURE__ */
|
|
374
|
-
/* @__PURE__ */
|
|
373
|
+
/* @__PURE__ */ t(m, { sx: { mr: 10 }, variant: "Body", children: c.accountName }),
|
|
374
|
+
/* @__PURE__ */ t(
|
|
375
375
|
y,
|
|
376
376
|
{
|
|
377
377
|
amount: c.gain,
|
|
@@ -383,27 +383,27 @@ const Oe = ({
|
|
|
383
383
|
sx: { px: 16 }
|
|
384
384
|
}
|
|
385
385
|
) }),
|
|
386
|
-
/* @__PURE__ */
|
|
386
|
+
/* @__PURE__ */ t(W, {})
|
|
387
387
|
] }, c.accountName)),
|
|
388
|
-
/* @__PURE__ */
|
|
388
|
+
/* @__PURE__ */ t(E, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ t(
|
|
389
389
|
_,
|
|
390
390
|
{
|
|
391
391
|
primary: /* @__PURE__ */ r(h, { direction: "row", justifyContent: "space-between", children: [
|
|
392
|
-
/* @__PURE__ */
|
|
393
|
-
/* @__PURE__ */
|
|
392
|
+
/* @__PURE__ */ t(m, { sx: { fontWeight: 700 }, variant: "XSmall", children: o.losses }),
|
|
393
|
+
/* @__PURE__ */ t(y, { amount: s, sx: { fontWeight: 400 }, variant: "XSmall" })
|
|
394
394
|
] })
|
|
395
395
|
}
|
|
396
396
|
) }),
|
|
397
397
|
i?.map((c) => /* @__PURE__ */ r(v, { children: [
|
|
398
|
-
/* @__PURE__ */
|
|
398
|
+
/* @__PURE__ */ t(
|
|
399
399
|
k,
|
|
400
400
|
{
|
|
401
401
|
sx: { backgroundColor: a.palette.background.paper, py: 14 },
|
|
402
|
-
children: /* @__PURE__ */
|
|
402
|
+
children: /* @__PURE__ */ t(
|
|
403
403
|
_,
|
|
404
404
|
{
|
|
405
405
|
primary: /* @__PURE__ */ r(h, { direction: "row", justifyContent: "space-between", children: [
|
|
406
|
-
/* @__PURE__ */
|
|
406
|
+
/* @__PURE__ */ t(
|
|
407
407
|
m,
|
|
408
408
|
{
|
|
409
409
|
sx: {
|
|
@@ -413,7 +413,7 @@ const Oe = ({
|
|
|
413
413
|
children: c.accountName
|
|
414
414
|
}
|
|
415
415
|
),
|
|
416
|
-
/* @__PURE__ */
|
|
416
|
+
/* @__PURE__ */ t(
|
|
417
417
|
y,
|
|
418
418
|
{
|
|
419
419
|
amount: c.loss,
|
|
@@ -428,11 +428,11 @@ const Oe = ({
|
|
|
428
428
|
},
|
|
429
429
|
c.accountName
|
|
430
430
|
),
|
|
431
|
-
/* @__PURE__ */
|
|
431
|
+
/* @__PURE__ */ t(W, {})
|
|
432
432
|
] }))
|
|
433
433
|
] })
|
|
434
434
|
] });
|
|
435
|
-
},
|
|
435
|
+
}, te = w(Pt), Be = w(({ onBackClick: e }) => {
|
|
436
436
|
const { isCopyLoaded: l, isInitialized: i, selectedAccounts: n, setSelectedAccounts: s } = P(), { accounts: o, net_worth: a } = T(), { visibleAccounts: c } = J(), {
|
|
437
437
|
assetsLiabilities: u,
|
|
438
438
|
gainsLosses: C,
|
|
@@ -442,51 +442,53 @@ const Oe = ({
|
|
|
442
442
|
netWorthChartData: p,
|
|
443
443
|
selectedData: f,
|
|
444
444
|
setHoveredData: L,
|
|
445
|
-
setSelectedData:
|
|
446
|
-
} =
|
|
447
|
-
await S(n), await g(A),
|
|
445
|
+
setSelectedData: at
|
|
446
|
+
} = tt(), { isMobile: N } = Z(), { onEvent: D } = 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);
|
|
448
448
|
};
|
|
449
449
|
d.useEffect(() => {
|
|
450
450
|
D(b.NET_WORTH_VIEW);
|
|
451
451
|
}, []), d.useEffect(() => {
|
|
452
452
|
s(c);
|
|
453
453
|
}, [c]), d.useEffect(() => {
|
|
454
|
-
i &&
|
|
454
|
+
i && pt().finally(() => {
|
|
455
|
+
st?.("NetWorthWidget");
|
|
456
|
+
});
|
|
455
457
|
}, [i, n]), d.useEffect(() => {
|
|
456
458
|
D(b.NET_WORTH_WIDGET_CLICK_TIMEFRAME, { time_period: A + "M" }), g(A).finally();
|
|
457
459
|
}, [A]);
|
|
458
|
-
const
|
|
459
|
-
|
|
460
|
-
},
|
|
460
|
+
const ft = (I, M) => {
|
|
461
|
+
at(M), I.currentTarget instanceof HTMLDivElement && j(!0);
|
|
462
|
+
}, xt = (I) => {
|
|
461
463
|
L(I);
|
|
462
|
-
},
|
|
464
|
+
}, gt = () => {
|
|
463
465
|
L(null);
|
|
464
|
-
},
|
|
466
|
+
}, yt = () => {
|
|
465
467
|
D(b.NET_WORTH_WIDGET_CLICK_ASSETS_LIABILITIES), $(!0);
|
|
466
|
-
},
|
|
468
|
+
}, Ct = async (I) => {
|
|
467
469
|
const M = I[0], F = I[1];
|
|
468
|
-
M && F &&
|
|
470
|
+
M && F && mt(At(F, M));
|
|
469
471
|
}, X = {
|
|
470
472
|
chartData: p,
|
|
471
473
|
hoveredData: x,
|
|
472
|
-
onButtonClick:
|
|
473
|
-
onDataClick:
|
|
474
|
-
onMouseEnter:
|
|
475
|
-
onMouseLeave:
|
|
474
|
+
onButtonClick: yt,
|
|
475
|
+
onDataClick: ft,
|
|
476
|
+
onMouseEnter: xt,
|
|
477
|
+
onMouseLeave: gt,
|
|
476
478
|
selectedData: f
|
|
477
|
-
},
|
|
479
|
+
}, St = () => {
|
|
478
480
|
G(!0), D(b.ACCOUNTS_CLICK_CONNECT);
|
|
479
481
|
};
|
|
480
|
-
return l ? /* @__PURE__ */
|
|
481
|
-
|
|
482
|
+
return l ? /* @__PURE__ */ t(
|
|
483
|
+
Mt,
|
|
482
484
|
{
|
|
483
485
|
accountOptions: c,
|
|
484
486
|
calendarActions: {
|
|
485
|
-
onRangeChanged:
|
|
487
|
+
onRangeChanged: Ct
|
|
486
488
|
},
|
|
487
489
|
dateRangeVariant: N ? "timeframetabs" : "timeframebuttons",
|
|
488
490
|
onAccountsFilterClick: () => D(b.NET_WORTH_WIDGET_CLICK_FILTER),
|
|
489
|
-
onBackClick:
|
|
491
|
+
onBackClick: e,
|
|
490
492
|
showDividerAboveDateSelector: !1,
|
|
491
493
|
sx: {
|
|
492
494
|
p: N ? 0 : 48,
|
|
@@ -502,9 +504,9 @@ const Oe = ({
|
|
|
502
504
|
}
|
|
503
505
|
},
|
|
504
506
|
title: a.net_worth,
|
|
505
|
-
children:
|
|
507
|
+
children: ct ? /* @__PURE__ */ r(v, { children: [
|
|
506
508
|
p.length ? /* @__PURE__ */ r(v, { children: [
|
|
507
|
-
f && /* @__PURE__ */
|
|
509
|
+
f && /* @__PURE__ */ t(Vt, { hoveredData: x, selectedData: f }),
|
|
508
510
|
/* @__PURE__ */ r(
|
|
509
511
|
h,
|
|
510
512
|
{
|
|
@@ -512,17 +514,17 @@ const Oe = ({
|
|
|
512
514
|
direction: N ? "column" : "row",
|
|
513
515
|
spacing: N ? 0 : 48,
|
|
514
516
|
children: [
|
|
515
|
-
/* @__PURE__ */
|
|
516
|
-
/* @__PURE__ */
|
|
517
|
+
/* @__PURE__ */ t(jt, { ...X }),
|
|
518
|
+
/* @__PURE__ */ t(Ft, { ...X })
|
|
517
519
|
]
|
|
518
520
|
}
|
|
519
521
|
)
|
|
520
|
-
] }) : /* @__PURE__ */
|
|
521
|
-
|
|
522
|
+
] }) : /* @__PURE__ */ t(rt, { sx: { justifyItems: "center" }, children: /* @__PURE__ */ t(
|
|
523
|
+
zt,
|
|
522
524
|
{
|
|
523
525
|
header: a.empty_widget_header,
|
|
524
526
|
icon: "elevation",
|
|
525
|
-
onClick:
|
|
527
|
+
onClick: St,
|
|
526
528
|
primaryButton: a.empty_widget_button,
|
|
527
529
|
subText: a.empty_widget_description,
|
|
528
530
|
sx: {
|
|
@@ -533,47 +535,47 @@ const Oe = ({
|
|
|
533
535
|
}
|
|
534
536
|
}
|
|
535
537
|
) }),
|
|
536
|
-
/* @__PURE__ */
|
|
537
|
-
|
|
538
|
+
/* @__PURE__ */ t(
|
|
539
|
+
Bt,
|
|
538
540
|
{
|
|
539
541
|
onClose: () => G(!1),
|
|
540
|
-
showConnectionsWidget:
|
|
542
|
+
showConnectionsWidget: ut,
|
|
541
543
|
title: o.manage_connections
|
|
542
544
|
}
|
|
543
545
|
),
|
|
544
|
-
/* @__PURE__ */
|
|
546
|
+
/* @__PURE__ */ t(
|
|
545
547
|
Y,
|
|
546
548
|
{
|
|
547
549
|
ariaLabelClose: "Close",
|
|
548
|
-
isOpen:
|
|
550
|
+
isOpen: dt,
|
|
549
551
|
onClose: () => j(!1),
|
|
550
552
|
shouldShowHeaderBorders: !1,
|
|
551
553
|
shouldShowHeaderShadow: !0,
|
|
552
554
|
title: a.gains_and_losses,
|
|
553
|
-
children: C && /* @__PURE__ */
|
|
555
|
+
children: C && /* @__PURE__ */ t(te, { ...C })
|
|
554
556
|
}
|
|
555
557
|
),
|
|
556
|
-
/* @__PURE__ */
|
|
558
|
+
/* @__PURE__ */ t(
|
|
557
559
|
Y,
|
|
558
560
|
{
|
|
559
561
|
ariaLabelClose: "Close",
|
|
560
|
-
isOpen:
|
|
562
|
+
isOpen: ht,
|
|
561
563
|
onClose: () => $(!1),
|
|
562
564
|
shouldShowHeaderBorders: !1,
|
|
563
565
|
shouldShowHeaderShadow: !0,
|
|
564
566
|
title: a.assets_and_liabilities,
|
|
565
|
-
children: u && /* @__PURE__ */
|
|
567
|
+
children: u && /* @__PURE__ */ t(Qt, { ...u })
|
|
566
568
|
}
|
|
567
569
|
)
|
|
568
|
-
] }) : /* @__PURE__ */
|
|
570
|
+
] }) : /* @__PURE__ */ t(O, {})
|
|
569
571
|
}
|
|
570
|
-
) : /* @__PURE__ */
|
|
572
|
+
) : /* @__PURE__ */ t(O, {});
|
|
571
573
|
});
|
|
572
574
|
export {
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
575
|
+
jt as NetWorthChart,
|
|
576
|
+
Ft as NetWorthList,
|
|
577
|
+
He as NetWorthMicroWidget,
|
|
578
|
+
Re as NetWorthStore,
|
|
579
|
+
Vt as NetWorthSummary,
|
|
580
|
+
Be as NetWorthWidget
|
|
579
581
|
};
|