@mx-cartographer/experiences 8.1.0 → 8.1.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 +4 -0
- package/dist/{Account-DuOz1a27.mjs → Account-BIKn4XEZ.mjs} +1 -1
- package/dist/{Account-BiB1F8lL.mjs → Account-CMjOp7S2.mjs} +2 -2
- package/dist/{AccountDetailsHeader-IPRH6Wja.mjs → AccountDetailsHeader-D_a0XUkL.mjs} +6 -6
- package/dist/{AccountFields-BbPSfzru.mjs → AccountFields-nrrEXd46.mjs} +30 -29
- package/dist/{AccountListItem-qpACFl6i.mjs → AccountListItem-D80egD01.mjs} +5 -5
- package/dist/{AccountStore-BeEiLNhW.mjs → AccountStore-nxHZqg1Z.mjs} +3 -3
- package/dist/{Accounts-o7ohkngR.mjs → Accounts-DX3xJE97.mjs} +1 -1
- package/dist/{Analytics-CjZ0emfs.mjs → Analytics-CxK7O19c.mjs} +2 -2
- package/dist/{BudgetUtil-CLh4xtj4.mjs → BudgetUtil-Cwvpb7xl.mjs} +46 -46
- package/dist/{CashflowStore-CeAzChyD.mjs → CashflowStore-BEi92kJg.mjs} +10 -10
- package/dist/{Category-CevNQ03n.mjs → Category-Ccoew_sA.mjs} +2 -2
- package/dist/{CategorySelectorDrawer-BG04ByUx.mjs → CategorySelectorDrawer-DjeHNx71.mjs} +7 -7
- package/dist/{CategoryStore-Bp1kO9Z-.mjs → CategoryStore-CA4NTaKH.mjs} +2 -2
- package/dist/{CategoryUtil-DKRCegQv.mjs → CategoryUtil-BJOHgYKS.mjs} +3 -3
- package/dist/{Connect-eYIWqCEr.mjs → Connect-BRLh-69J.mjs} +1 -1
- package/dist/{ConnectDrawer-C0wjwcJt.mjs → ConnectDrawer-5BpU4IQU.mjs} +3 -3
- package/dist/{ConnectionsDrawer-IA7vnv1J.mjs → ConnectionsDrawer-DxpSlJN7.mjs} +3 -3
- package/dist/{CurrencyInput-BkNVHxSV.mjs → CurrencyInput-CSJ3zMgE.mjs} +18 -18
- package/dist/DateUtil-D0TO0DaZ.mjs +58 -0
- package/dist/{DebtsStore-BZqNLaqd.mjs → DebtsStore-BJlC2-yO.mjs} +1 -1
- package/dist/{Dialog-Ck34yr-d.mjs → Dialog-iLlBR8TG.mjs} +6 -6
- package/dist/{Donut-CpxJlVvJ.mjs → Donut-D7ekbgf5.mjs} +12 -12
- package/dist/{Drawer-Bbe4AMB1.mjs → Drawer-XPaLYjiO.mjs} +11 -11
- package/dist/{EmbeddedCard-j7IGx3s1.mjs → EmbeddedCard-BCcn_fK2.mjs} +193 -193
- package/dist/{ExportCsvAction-7sjz7AXQ.mjs → ExportCsvAction-BPjdEUXx.mjs} +5 -5
- package/dist/{FinstrongStore-DgyDJTEP.mjs → FinstrongStore-DYawCv1d.mjs} +54 -54
- package/dist/{GlobalAccountFilter-CmnaZDS6.mjs → GlobalAccountFilter-CZbiDwBH.mjs} +1 -1
- package/dist/{GoalStore-DcaT4fM6.mjs → GoalStore-DmqM1ZfW.mjs} +1 -1
- package/dist/{Help-B8mD4aLJ.mjs → Help-CgpJK03Q.mjs} +6 -6
- package/dist/{Help-cTsMzSQh.mjs → Help-Dfw_GHKi.mjs} +95 -98
- package/dist/{IconBacking-B9oC6uL2.mjs → IconBacking-DgT8DCeh.mjs} +11 -11
- package/dist/{LineChart-DkD_s9NN.mjs → LineChart-jJVBE8V8.mjs} +1 -1
- package/dist/{ListItemAction-4KB7P75M.mjs → ListItemAction-Buv7tPLp.mjs} +4 -4
- package/dist/{Loader-D3rjKx72.mjs → Loader-CxeBwuPG.mjs} +5 -5
- package/dist/{ManageIncome-DwSE_a8L.mjs → ManageIncome-wgo-qbdP.mjs} +8 -8
- package/dist/MicroWidgetContainer-CEcwdfti.mjs +45 -0
- package/dist/MiniWidgetContainer-CmTGSUL5.mjs +66 -0
- package/dist/{NetWorthStore-Ba3q3VcH.mjs → NetWorthStore-BY-B_hxy.mjs} +4 -4
- package/dist/{NotificationSettings-DB-eNgSv.mjs → NotificationSettings-BFFIl-wS.mjs} +8 -8
- package/dist/{OriginalBalanceAction-AB1TGb5P.mjs → OriginalBalanceAction-C8VJZUat.mjs} +9 -9
- package/dist/{RecurringSettings-CZKeZC4m.mjs → RecurringSettings-Dn5pPRVS.mjs} +2 -2
- package/dist/{RecurringTransactions-kzlU8OFY.mjs → RecurringTransactions-DCt94TN4.mjs} +47 -47
- package/dist/{RecurringTransactionsStore-D62Dt2BF.mjs → RecurringTransactionsStore-CFJYC7lI.mjs} +1 -1
- package/dist/{ResponsiveButton-DZFp78fJ.mjs → ResponsiveButton-BNsV08Ud.mjs} +12 -12
- package/dist/{SettingsStore-Dsz1mvd3.mjs → SettingsStore-BcbuKfFO.mjs} +1 -1
- package/dist/{SingleSegmentDonut-BgbLgwHi.mjs → SingleSegmentDonut-PsRQPkmV.mjs} +5 -5
- package/dist/{SpendingData-CoZOmlZD.mjs → SpendingData-Dj85XEUp.mjs} +3 -3
- package/dist/{SpendingLegend-DljKEG69.mjs → SpendingLegend-RtFvutJ0.mjs} +4 -4
- package/dist/{StatusBar-BK_uYHAB.mjs → StatusBar-CPfSXe80.mjs} +6 -6
- package/dist/{TabContentContainer-j01JYR_7.mjs → TabContentContainer-CnMXkVqr.mjs} +8 -8
- package/dist/{TransactionDetails-CN-yZkin.mjs → TransactionDetails-Cb6vauzy.mjs} +21 -21
- package/dist/{TransactionStore-6ovFO8P1.mjs → TransactionStore-BUsP-unK.mjs} +40 -57
- package/dist/{TrendsStore-DZa6cyQC.mjs → TrendsStore-bYjIGqyR.mjs} +1 -1
- package/dist/{ViewMoreMicroCard-BsEitNRJ.mjs → ViewMoreMicroCard-C7dC9lDT.mjs} +93 -94
- package/dist/{WidgetContainer-Bc75FqK7.mjs → WidgetContainer-MhgZzIaI.mjs} +19 -19
- package/dist/accounts/index.es.js +28 -28
- package/dist/analytics/index.es.js +10 -10
- package/dist/budgets/index.es.js +18 -18
- package/dist/cashflow/index.es.js +109 -109
- package/dist/categories/index.es.js +2 -2
- package/dist/common/index.es.js +250 -250
- package/dist/core/index.es.js +64 -64
- package/dist/dashboard/index.es.js +21 -21
- package/dist/debts/index.es.js +21 -21
- package/dist/{exportTransactionsToCSV-Dnd5lVq7.mjs → exportTransactionsToCSV-B2Lp7AMl.mjs} +7 -7
- package/dist/finstrong/index.es.js +21 -21
- package/dist/goals/index.es.js +16 -16
- package/dist/help/index.es.js +5 -5
- package/dist/{hooks-BxkfR-Ff.mjs → hooks-HwStH7q_.mjs} +9 -9
- package/dist/insights/index.es.js +328 -328
- package/dist/investments/index.es.js +9 -9
- package/dist/merchants/index.es.js +9 -9
- package/dist/microinsights/index.es.js +1 -1
- package/dist/networth/index.es.js +25 -25
- package/dist/notifications/index.es.js +5 -5
- package/dist/recurringtransactions/index.es.js +23 -23
- package/dist/settings/index.es.js +95 -95
- package/dist/spending/index.es.js +64 -64
- package/dist/transactions/index.es.js +73 -73
- package/dist/trends/index.es.js +54 -54
- package/dist/{useAccountDisplayName-DKwT1mWv.mjs → useAccountDisplayName-SrQA7K_6.mjs} +1 -1
- package/dist/{useInsightsEnabled-DL_oNyI0.mjs → useInsightsEnabled-DzvRm5Bo.mjs} +1 -1
- package/dist/{useWidgetLoadTimer-DgN1bTyu.mjs → useWidgetLoadTimer-wkBTL5xx.mjs} +1 -1
- package/package.json +20 -20
- package/dist/DateUtil-C57sqxn4.mjs +0 -54
- package/dist/MicroWidgetContainer-B_EnfvCq.mjs +0 -45
- package/dist/MiniWidgetContainer-Bhkv-hpz.mjs +0 -66
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { jsxs as a, jsx as
|
|
1
|
+
import { jsxs as a, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import _, { useMemo as q, useState as K, useEffect as J } from "react";
|
|
3
3
|
import A from "@mui/material/Box";
|
|
4
4
|
import Y from "@mui/material/Button";
|
|
5
5
|
import c from "@mui/material/Stack";
|
|
6
|
-
import { Icon as
|
|
7
|
-
import { Receipt as
|
|
8
|
-
import { L as
|
|
6
|
+
import { Icon as $, P as N, H3 as P, Text as f, MerchantLogo as ee, H2 as te } from "@mxenabled/mxui";
|
|
7
|
+
import { Receipt as re, Icon as ne } from "@mxenabled/mx-icons";
|
|
8
|
+
import { L as ie, O as oe, e as ae } from "./exportTransactionsToCSV-B2Lp7AMl.mjs";
|
|
9
9
|
import { observer as H } from "mobx-react-lite";
|
|
10
|
-
import { useVirtualizer as
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import { G as
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import { useTheme as
|
|
17
|
-
import { T as
|
|
10
|
+
import { useVirtualizer as se } from "@tanstack/react-virtual";
|
|
11
|
+
import le from "@mui/material/Divider";
|
|
12
|
+
import ce from "@mui/material/List";
|
|
13
|
+
import { G as de, h as z, u as O, g as he, b as me } from "./hooks-HwStH7q_.mjs";
|
|
14
|
+
import pe from "@mui/material/ListItemAvatar";
|
|
15
|
+
import ue from "@mui/material/ListItemText";
|
|
16
|
+
import { useTheme as W } from "@mui/material/styles";
|
|
17
|
+
import { T as fe } from "./Transaction-Cn5_iFm0.mjs";
|
|
18
18
|
import { f as B } from "./NumberFormatting-CyrvFgfd.mjs";
|
|
19
19
|
import { fromUnixTime as R } from "date-fns/fromUnixTime";
|
|
20
20
|
import { isSameDay as Z } from "date-fns/isSameDay";
|
|
21
|
-
import { f as
|
|
22
|
-
import {
|
|
23
|
-
import { L as Q } from "./Loader-
|
|
24
|
-
import { A as
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import
|
|
31
|
-
const
|
|
21
|
+
import { f as ge, D as xe } from "./DateFormats-CaOj_4eI.mjs";
|
|
22
|
+
import { i as be } from "./DateUtil-D0TO0DaZ.mjs";
|
|
23
|
+
import { L as Q } from "./Loader-CxeBwuPG.mjs";
|
|
24
|
+
import { A as ye } from "./Analytics-0Xm_BjHU.mjs";
|
|
25
|
+
import _e from "@mui/material/Tab";
|
|
26
|
+
import we from "@mui/material/Tabs";
|
|
27
|
+
import Ce from "@mui/material/IconButton";
|
|
28
|
+
import { D as ve } from "./Drawer-XPaLYjiO.mjs";
|
|
29
|
+
import { ChartContainer as Te, ChartsReferenceLine as j, ChartsXAxis as Se, BarPlot as De } from "@mui/x-charts";
|
|
30
|
+
import Ie from "@mui/material/Card";
|
|
31
|
+
const Le = ({ message: e, tipAriaLabel: n, onDismiss: r, onAction: i, sx: o }) => {
|
|
32
32
|
const s = i || r, h = i ? "chevron_right" : "close";
|
|
33
33
|
return /* @__PURE__ */ a(
|
|
34
34
|
c,
|
|
@@ -48,24 +48,24 @@ const Lt = ({ message: t, tipAriaLabel: n, onDismiss: r, onAction: i, sx: o }) =
|
|
|
48
48
|
},
|
|
49
49
|
children: [
|
|
50
50
|
/* @__PURE__ */ a(c, { sx: { flexDirection: "row", gap: 4 }, children: [
|
|
51
|
-
/* @__PURE__ */
|
|
52
|
-
/* @__PURE__ */
|
|
51
|
+
/* @__PURE__ */ t($, { color: "info", fill: !0, name: "lightbulb", size: 24 }),
|
|
52
|
+
/* @__PURE__ */ t(N, { color: "primary.dark", fontWeight: 400, noWrap: !1, variant: "subtitle2", children: e })
|
|
53
53
|
] }),
|
|
54
|
-
s && /* @__PURE__ */
|
|
55
|
-
|
|
54
|
+
s && /* @__PURE__ */ t(
|
|
55
|
+
Ce,
|
|
56
56
|
{
|
|
57
57
|
"aria-label": n,
|
|
58
58
|
onClick: s,
|
|
59
59
|
size: "small",
|
|
60
60
|
sx: { minHeight: 0, minWidth: 0, p: 0 },
|
|
61
|
-
children: /* @__PURE__ */
|
|
61
|
+
children: /* @__PURE__ */ t($, { color: "primary", fill: !0, name: h, size: 20 })
|
|
62
62
|
}
|
|
63
63
|
)
|
|
64
64
|
]
|
|
65
65
|
}
|
|
66
66
|
);
|
|
67
|
-
},
|
|
68
|
-
ariaLabel:
|
|
67
|
+
}, ke = ({
|
|
68
|
+
ariaLabel: e,
|
|
69
69
|
beat: n,
|
|
70
70
|
chart: r,
|
|
71
71
|
children: i,
|
|
@@ -78,14 +78,14 @@ const Lt = ({ message: t, tipAriaLabel: n, onDismiss: r, onAction: i, sx: o }) =
|
|
|
78
78
|
const { heading: d, subHeading: u } = n, x = q(
|
|
79
79
|
() => s ?? (o.length ? o.length - 1 : 0),
|
|
80
80
|
[s, o.length]
|
|
81
|
-
), [y, p] = K(x),
|
|
81
|
+
), [y, p] = K(x), D = (v, T) => {
|
|
82
82
|
g?.(T), p(T);
|
|
83
83
|
}, I = (v) => {
|
|
84
84
|
p(v);
|
|
85
85
|
};
|
|
86
86
|
return /* @__PURE__ */ a(A, { sx: { bgcolor: "background.paper", width: "100%" }, children: [
|
|
87
|
-
/* @__PURE__ */
|
|
88
|
-
|
|
87
|
+
/* @__PURE__ */ t(we, { "aria-label": e, onChange: D, value: y, variant: "fullWidth", children: o.map((v, T) => /* @__PURE__ */ t(
|
|
88
|
+
_e,
|
|
89
89
|
{
|
|
90
90
|
id: `transaction-details-tab-${T}`,
|
|
91
91
|
label: v.label,
|
|
@@ -93,68 +93,68 @@ const Lt = ({ message: t, tipAriaLabel: n, onDismiss: r, onAction: i, sx: o }) =
|
|
|
93
93
|
},
|
|
94
94
|
`${v.label}-${T}`
|
|
95
95
|
)) }),
|
|
96
|
-
/* @__PURE__ */
|
|
97
|
-
d && /* @__PURE__ */
|
|
96
|
+
/* @__PURE__ */ t(c, { sx: { pt: 16, px: 24 }, children: (d || u) && /* @__PURE__ */ a(c, { sx: { gap: 4 }, children: [
|
|
97
|
+
d && /* @__PURE__ */ t(P, { children: d }),
|
|
98
98
|
u && /* @__PURE__ */ a(c, { sx: { alignItems: "center", flexDirection: "row", gap: 8 }, children: [
|
|
99
99
|
h,
|
|
100
|
-
/* @__PURE__ */
|
|
100
|
+
/* @__PURE__ */ t(f, { textTransform: "uppercase", variant: "body2", children: u.description })
|
|
101
101
|
] })
|
|
102
102
|
] }) }),
|
|
103
103
|
r?.(y, I),
|
|
104
|
-
m && /* @__PURE__ */
|
|
104
|
+
m && /* @__PURE__ */ t(Le, { ...m }),
|
|
105
105
|
i?.(y)
|
|
106
106
|
] });
|
|
107
107
|
}, V = () => {
|
|
108
|
-
if (!_.useContext(
|
|
108
|
+
if (!_.useContext(de))
|
|
109
109
|
throw new Error("useTransactionsUiStore() must be used within the GlobalDataContext");
|
|
110
|
-
return
|
|
110
|
+
return z().uiStore;
|
|
111
111
|
};
|
|
112
|
-
function
|
|
112
|
+
function Ae() {
|
|
113
113
|
return window.opener && window.opener.location ? window.opener.location.toString() : document.referrer;
|
|
114
114
|
}
|
|
115
|
-
function X(
|
|
116
|
-
const n =
|
|
117
|
-
return r && r.postMessage && n ? (r.postMessage(
|
|
115
|
+
function X(e) {
|
|
116
|
+
const n = Ae().replace(/([^:]+:\/\/[^\/]+).*/, "$1"), r = window.parent || window.opener || !1;
|
|
117
|
+
return r && r.postMessage && n ? (r.postMessage(e, n), !0) : !1;
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function Ee(e) {
|
|
120
120
|
return X({
|
|
121
|
-
metadata: { beat_guid:
|
|
121
|
+
metadata: { beat_guid: e },
|
|
122
122
|
mx: !0,
|
|
123
123
|
type: "mx/moneyDashboard/insightOnTransaction"
|
|
124
124
|
});
|
|
125
125
|
}
|
|
126
|
-
function
|
|
126
|
+
function wt(e) {
|
|
127
127
|
return X({
|
|
128
|
-
metadata: { template:
|
|
128
|
+
metadata: { template: e },
|
|
129
129
|
mx: !0,
|
|
130
130
|
type: "mx/pulse/client_configured_cta"
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
|
-
const
|
|
134
|
-
const i =
|
|
133
|
+
const $e = ({ transaction: e, onClick: n }) => {
|
|
134
|
+
const i = W().palette.mode === "dark", { associatedBeats: o } = z(), { expandedSplits: s } = V(), { transactions: h } = O(), { showInsights: g } = V(), m = e.transaction_type === fe.CREDIT, d = _.useMemo(() => o.find((u) => u.associated_transaction_guid === e.guid), [o, e]);
|
|
135
135
|
return (
|
|
136
136
|
//TODO: implement common/components/ListItemRow.tsx
|
|
137
137
|
/* @__PURE__ */ a(
|
|
138
|
-
|
|
138
|
+
ie,
|
|
139
139
|
{
|
|
140
|
-
clickEventName:
|
|
141
|
-
onClick: n ? () => n(
|
|
140
|
+
clickEventName: oe.ON_TRANSACTION_LIST_ITEM_CLICK,
|
|
141
|
+
onClick: n ? () => n(e.guid) : void 0,
|
|
142
142
|
children: [
|
|
143
|
-
/* @__PURE__ */
|
|
144
|
-
|
|
143
|
+
/* @__PURE__ */ t(pe, { children: e.parent_guid && s.includes(e.parent_guid) ? /* @__PURE__ */ t(_.Fragment, {}) : /* @__PURE__ */ t(
|
|
144
|
+
ee,
|
|
145
145
|
{
|
|
146
|
-
categoryGuid:
|
|
147
|
-
merchantGuid:
|
|
146
|
+
categoryGuid: e.top_level_category_guid || "",
|
|
147
|
+
merchantGuid: e.merchant_guid || ""
|
|
148
148
|
}
|
|
149
149
|
) }),
|
|
150
|
-
/* @__PURE__ */
|
|
151
|
-
|
|
150
|
+
/* @__PURE__ */ t(
|
|
151
|
+
ue,
|
|
152
152
|
{
|
|
153
153
|
disableTypography: !0,
|
|
154
154
|
secondary: /* @__PURE__ */ a(c, { direction: "row", justifyContent: "space-between", children: [
|
|
155
155
|
/* @__PURE__ */ a(c, { alignItems: "center", direction: "row", gap: 4, children: [
|
|
156
|
-
|
|
157
|
-
|
|
156
|
+
e.is_flagged && /* @__PURE__ */ t(
|
|
157
|
+
$,
|
|
158
158
|
{
|
|
159
159
|
fill: !0,
|
|
160
160
|
name: "flag",
|
|
@@ -162,17 +162,17 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
162
162
|
sx: { color: i ? "primary.main" : "warning.dark" }
|
|
163
163
|
}
|
|
164
164
|
),
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
/* @__PURE__ */
|
|
165
|
+
e.is_hidden && /* @__PURE__ */ t($, { name: "visibility_off", size: 16 }),
|
|
166
|
+
e.has_been_split && /* @__PURE__ */ t($, { name: "call_split", size: 16 }),
|
|
167
|
+
/* @__PURE__ */ t(f, { variant: "caption", children: e.has_been_split ? h.split_transaction_category_label : e.category })
|
|
168
168
|
] }),
|
|
169
|
-
d && g && /* @__PURE__ */
|
|
169
|
+
d && g && /* @__PURE__ */ t(
|
|
170
170
|
f,
|
|
171
171
|
{
|
|
172
172
|
bold: !0,
|
|
173
173
|
color: "action.active",
|
|
174
174
|
onClick: (u) => {
|
|
175
|
-
u.stopPropagation(), u.preventDefault(),
|
|
175
|
+
u.stopPropagation(), u.preventDefault(), Ee(d.guid);
|
|
176
176
|
},
|
|
177
177
|
variant: "caption",
|
|
178
178
|
children: d.short_title
|
|
@@ -181,8 +181,8 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
181
181
|
] }),
|
|
182
182
|
children: /* @__PURE__ */ a(c, { direction: "row", justifyContent: "space-between", sx: { gap: 8 }, children: [
|
|
183
183
|
/* @__PURE__ */ a(f, { bold: !0, variant: "body1", children: [
|
|
184
|
-
|
|
185
|
-
|
|
184
|
+
e.is_hidden && h.hide_trnx_cancel_hidden_note,
|
|
185
|
+
e.payee || e.description || e.feed_description
|
|
186
186
|
] }),
|
|
187
187
|
/* @__PURE__ */ a(
|
|
188
188
|
f,
|
|
@@ -193,7 +193,7 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
193
193
|
variant: "body1",
|
|
194
194
|
children: [
|
|
195
195
|
m ? "+" : "",
|
|
196
|
-
B(
|
|
196
|
+
B(e.amount, "0,0.00")
|
|
197
197
|
]
|
|
198
198
|
}
|
|
199
199
|
)
|
|
@@ -204,24 +204,24 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
204
204
|
}
|
|
205
205
|
)
|
|
206
206
|
);
|
|
207
|
-
},
|
|
208
|
-
bgcolor:
|
|
207
|
+
}, Me = H($e), Re = ({
|
|
208
|
+
bgcolor: e = "background.default",
|
|
209
209
|
children: n
|
|
210
|
-
}) => /* @__PURE__ */
|
|
210
|
+
}) => /* @__PURE__ */ t(A, { display: "inline-block", sx: { bgcolor: e, py: 6, width: "100%" }, children: /* @__PURE__ */ t(f, { bold: !0, sx: { pl: 24 }, variant: "caption", children: n }) }), ze = ({ showIcon: e = !0, showSubtitle: n = !0 }) => {
|
|
211
211
|
const { transactions: r } = O();
|
|
212
212
|
return /* @__PURE__ */ a(c, { alignItems: "center", gap: 12, height: "auto", mb: 24, mt: 24, children: [
|
|
213
|
-
|
|
214
|
-
/* @__PURE__ */
|
|
215
|
-
n && /* @__PURE__ */
|
|
213
|
+
e && /* @__PURE__ */ t(re, { color: "action", sx: { fontSize: 32 } }),
|
|
214
|
+
/* @__PURE__ */ t(f, { bold: !0, color: "text.secondary", variant: "body2", children: r.zero_state_no_transactions }),
|
|
215
|
+
n && /* @__PURE__ */ t(f, { color: "text.secondary", variant: "caption", children: r.zero_state_there_are_no_transactions })
|
|
216
216
|
] });
|
|
217
|
-
},
|
|
218
|
-
const r = R(n[
|
|
217
|
+
}, We = H(ze), G = (e, n) => {
|
|
218
|
+
const r = R(n[e].date), i = R(n[e - 1]?.date);
|
|
219
219
|
return !Z(r, i);
|
|
220
|
-
},
|
|
221
|
-
const r = R(n[
|
|
220
|
+
}, Be = (e, n) => {
|
|
221
|
+
const r = R(n[e].date), i = R(n[e + 1]?.date);
|
|
222
222
|
return Z(r, i);
|
|
223
|
-
},
|
|
224
|
-
const o =
|
|
223
|
+
}, Ct = (e) => e?.data ? e.data.map((n) => Object.fromEntries((e.names || []).map((r, i) => [r, n[i]]))) : [], vt = (e, n = "") => e.map((i) => {
|
|
224
|
+
const o = ge(i.date, xe.MONTH_SHORT);
|
|
225
225
|
return {
|
|
226
226
|
ariaLabel: `
|
|
227
227
|
${o},
|
|
@@ -231,39 +231,39 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
231
231
|
value: i.amount,
|
|
232
232
|
formattedAmount: B(i.amount, "0,0")
|
|
233
233
|
};
|
|
234
|
-
}), U = 65, F = 32,
|
|
235
|
-
bgcolor:
|
|
234
|
+
}), U = 65, F = 32, Ve = ({
|
|
235
|
+
bgcolor: e,
|
|
236
236
|
filter: n,
|
|
237
237
|
height: r = "calc(100dvh - 36px)",
|
|
238
|
-
loader: i = /* @__PURE__ */
|
|
238
|
+
loader: i = /* @__PURE__ */ t(Q, { label: "Loading", size: 40 }),
|
|
239
239
|
onClick: o,
|
|
240
240
|
showInsights: s = !1,
|
|
241
241
|
showLoader: h = !1,
|
|
242
242
|
showHiddenTransactions: g = !1,
|
|
243
243
|
transaction: m,
|
|
244
244
|
width: d = "100%",
|
|
245
|
-
zeroState: u = /* @__PURE__ */
|
|
245
|
+
zeroState: u = /* @__PURE__ */ t(We, {})
|
|
246
246
|
}) => {
|
|
247
|
-
const { isLoading: x, sortedTransactions: y } =
|
|
247
|
+
const { isLoading: x, sortedTransactions: y } = z(), p = _.useMemo(() => {
|
|
248
248
|
const b = n ? y.filter(n) : y, w = m ?? b;
|
|
249
249
|
return g ? w : w.filter((l) => !l.is_hidden);
|
|
250
|
-
}, [y, g, m]), { clearExpandedSplits:
|
|
250
|
+
}, [y, g, m]), { clearExpandedSplits: D, setShowInsights: I, toggleSplit: v } = V(), { onEvent: T } = he(), M = (b) => {
|
|
251
251
|
const w = p.find((l) => l.guid === b);
|
|
252
252
|
if (w?.has_been_split) {
|
|
253
253
|
v(w.guid);
|
|
254
254
|
return;
|
|
255
255
|
}
|
|
256
|
-
T(
|
|
256
|
+
T(ye.ACCOUNT_DETAILS_CLICK_TRANSACTION, {
|
|
257
257
|
account_guid: w?.account_guid,
|
|
258
258
|
transaction_guid: b
|
|
259
259
|
}), o?.(b);
|
|
260
|
-
}, L = _.useRef(null), k =
|
|
260
|
+
}, L = _.useRef(null), k = se({
|
|
261
261
|
count: p.length,
|
|
262
262
|
getScrollElement: () => L.current,
|
|
263
263
|
estimateSize: (b) => U + (G(b, p) ? F : 0),
|
|
264
264
|
overscan: 5
|
|
265
265
|
});
|
|
266
|
-
return _.useEffect(() => k.measure(), [p]), _.useEffect(() => I(s), [s]), _.useEffect(() => () =>
|
|
266
|
+
return _.useEffect(() => k.measure(), [p]), _.useEffect(() => I(s), [s]), _.useEffect(() => () => D(), []), /* @__PURE__ */ t(ce, { component: "div", role: "list", sx: { width: d }, children: /* @__PURE__ */ t(A, { height: r, overflow: "auto", ref: L, role: "presentation", width: d, children: /* @__PURE__ */ a(
|
|
267
267
|
A,
|
|
268
268
|
{
|
|
269
269
|
height: (
|
|
@@ -277,28 +277,28 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
277
277
|
(x || h) && i,
|
|
278
278
|
!x && !h && k.getVirtualItems().length === 0 && u,
|
|
279
279
|
!x && !h && k.getVirtualItems().length > 0 && k.getVirtualItems().map((b) => {
|
|
280
|
-
const w = p[b.index], l = G(b.index, p), C =
|
|
280
|
+
const w = p[b.index], l = G(b.index, p), C = Be(b.index, p), S = U + (l ? F : 0);
|
|
281
281
|
return /* @__PURE__ */ a(
|
|
282
282
|
A,
|
|
283
283
|
{
|
|
284
284
|
role: "listitem",
|
|
285
285
|
sx: {
|
|
286
|
-
height:
|
|
286
|
+
height: S,
|
|
287
287
|
position: "absolute",
|
|
288
288
|
transform: `translateY(${b.start}px)`,
|
|
289
289
|
width: "100%",
|
|
290
290
|
bgcolor: "background.paper"
|
|
291
291
|
},
|
|
292
292
|
children: [
|
|
293
|
-
l && /* @__PURE__ */
|
|
294
|
-
/* @__PURE__ */
|
|
295
|
-
|
|
293
|
+
l && /* @__PURE__ */ t(Re, { bgcolor: e, children: be(w.date) }),
|
|
294
|
+
/* @__PURE__ */ t(
|
|
295
|
+
Me,
|
|
296
296
|
{
|
|
297
297
|
...o && { onClick: M },
|
|
298
298
|
transaction: w
|
|
299
299
|
}
|
|
300
300
|
),
|
|
301
|
-
/* @__PURE__ */
|
|
301
|
+
/* @__PURE__ */ t(le, { sx: { ml: C ? 68 : 0 } })
|
|
302
302
|
]
|
|
303
303
|
},
|
|
304
304
|
w.guid
|
|
@@ -307,28 +307,28 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
307
307
|
]
|
|
308
308
|
}
|
|
309
309
|
) }) });
|
|
310
|
-
},
|
|
310
|
+
}, Ne = H(Ve), He = (e) => {
|
|
311
311
|
const [n, r] = K({ width: 0, height: 0 });
|
|
312
312
|
return J(() => {
|
|
313
313
|
const i = () => {
|
|
314
|
-
if (
|
|
315
|
-
const { offsetWidth: o, offsetHeight: s } =
|
|
314
|
+
if (e.current) {
|
|
315
|
+
const { offsetWidth: o, offsetHeight: s } = e.current;
|
|
316
316
|
r({ width: o, height: s });
|
|
317
317
|
}
|
|
318
318
|
};
|
|
319
319
|
return i(), window.addEventListener("resize", i), () => {
|
|
320
320
|
window.removeEventListener("resize", i);
|
|
321
321
|
};
|
|
322
|
-
}, [
|
|
323
|
-
},
|
|
324
|
-
color:
|
|
322
|
+
}, [e]), n;
|
|
323
|
+
}, Oe = ({
|
|
324
|
+
color: e,
|
|
325
325
|
legendStyle: n = {},
|
|
326
326
|
monthlyAmount: r,
|
|
327
327
|
monthlyAmountLabel: i,
|
|
328
328
|
trendAmount: o,
|
|
329
329
|
trendAmountLabel: s
|
|
330
330
|
}) => {
|
|
331
|
-
const h =
|
|
331
|
+
const h = W();
|
|
332
332
|
return /* @__PURE__ */ a(
|
|
333
333
|
c,
|
|
334
334
|
{
|
|
@@ -343,7 +343,7 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
343
343
|
},
|
|
344
344
|
children: [
|
|
345
345
|
i && /* @__PURE__ */ a(c, { sx: { alignItems: "center", flexDirection: "row", gap: 8 }, children: [
|
|
346
|
-
/* @__PURE__ */
|
|
346
|
+
/* @__PURE__ */ t(
|
|
347
347
|
"svg",
|
|
348
348
|
{
|
|
349
349
|
"aria-hidden": "true",
|
|
@@ -352,7 +352,7 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
352
352
|
height: "12",
|
|
353
353
|
role: "figure",
|
|
354
354
|
width: "12",
|
|
355
|
-
children: /* @__PURE__ */
|
|
355
|
+
children: /* @__PURE__ */ t("rect", { fill: e, height: "12", rx: "2", width: "12" })
|
|
356
356
|
}
|
|
357
357
|
),
|
|
358
358
|
/* @__PURE__ */ a(f, { id: "chartLegendLabel", variant: "caption", children: [
|
|
@@ -362,7 +362,7 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
362
362
|
] })
|
|
363
363
|
] }),
|
|
364
364
|
s && /* @__PURE__ */ a(c, { sx: { alignItems: "center", flexDirection: "row", gap: 8 }, children: [
|
|
365
|
-
/* @__PURE__ */
|
|
365
|
+
/* @__PURE__ */ t(
|
|
366
366
|
"svg",
|
|
367
367
|
{
|
|
368
368
|
"aria-hidden": "true",
|
|
@@ -371,7 +371,7 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
371
371
|
height: "12",
|
|
372
372
|
role: "figure",
|
|
373
373
|
width: "12",
|
|
374
|
-
children: /* @__PURE__ */
|
|
374
|
+
children: /* @__PURE__ */ t("rect", { fill: h.palette.chart.chart7, height: "12", rx: "2", width: "12" })
|
|
375
375
|
}
|
|
376
376
|
),
|
|
377
377
|
/* @__PURE__ */ a(f, { id: "chartLegendLabel", variant: "caption", children: [
|
|
@@ -383,12 +383,12 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
383
383
|
]
|
|
384
384
|
}
|
|
385
385
|
);
|
|
386
|
-
},
|
|
387
|
-
if (
|
|
388
|
-
const r = Math.min(4,
|
|
389
|
-
return `M${r},0 L${
|
|
390
|
-
},
|
|
391
|
-
colorRange:
|
|
386
|
+
}, je = (e, n) => {
|
|
387
|
+
if (e <= 0 || n <= 0) return "";
|
|
388
|
+
const r = Math.min(4, e / 2, n / 2);
|
|
389
|
+
return `M${r},0 L${e - r},0 Q${e},0 ${e},${r} L${e},${n} L0,${n} L0,${r} Q0,0 ${r},0 Z`;
|
|
390
|
+
}, Ge = ({
|
|
391
|
+
colorRange: e,
|
|
392
392
|
data: n,
|
|
393
393
|
dataIndex: r,
|
|
394
394
|
removeSelectedTabColorChange: i,
|
|
@@ -396,18 +396,18 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
396
396
|
style: s,
|
|
397
397
|
...h
|
|
398
398
|
}) => {
|
|
399
|
-
const g =
|
|
399
|
+
const g = W(), { ariaLabel: m, formattedAmount: d } = n[r], u = o === r ? "bold" : 400, x = s.x ?? 0, y = s.y ?? 0, p = s.width ?? 0, D = s.height ?? 0;
|
|
400
400
|
return /* @__PURE__ */ a("g", { "aria-label": m, children: [
|
|
401
|
-
/* @__PURE__ */
|
|
401
|
+
/* @__PURE__ */ t(
|
|
402
402
|
"path",
|
|
403
403
|
{
|
|
404
404
|
...h,
|
|
405
|
-
d:
|
|
406
|
-
fill:
|
|
405
|
+
d: je(p, D),
|
|
406
|
+
fill: e[r],
|
|
407
407
|
transform: `translate(${x}, ${y})`
|
|
408
408
|
}
|
|
409
409
|
),
|
|
410
|
-
/* @__PURE__ */
|
|
410
|
+
/* @__PURE__ */ t(
|
|
411
411
|
"text",
|
|
412
412
|
{
|
|
413
413
|
fill: g.palette.text.primary,
|
|
@@ -420,8 +420,8 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
420
420
|
}
|
|
421
421
|
)
|
|
422
422
|
] });
|
|
423
|
-
},
|
|
424
|
-
amounts:
|
|
423
|
+
}, Ue = ({
|
|
424
|
+
amounts: e,
|
|
425
425
|
color: n,
|
|
426
426
|
data: r,
|
|
427
427
|
heightOverride: i,
|
|
@@ -438,8 +438,8 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
438
438
|
selectedTabIndex: d,
|
|
439
439
|
trendAmountLabel: u
|
|
440
440
|
}) => {
|
|
441
|
-
const x = _.useRef(null), { height: y, width: p } =
|
|
442
|
-
const l = r.map(({ value:
|
|
441
|
+
const x = _.useRef(null), { height: y, width: p } = He(x), D = W(), I = _.useMemo(() => {
|
|
442
|
+
const l = r.map(({ value: E }) => E), C = Math.min(...l), S = Math.max(...l);
|
|
443
443
|
return {
|
|
444
444
|
series: [
|
|
445
445
|
{
|
|
@@ -449,7 +449,7 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
449
449
|
],
|
|
450
450
|
xAxis: [
|
|
451
451
|
{
|
|
452
|
-
data: r.map(({ label:
|
|
452
|
+
data: r.map(({ label: E }) => E),
|
|
453
453
|
scaleType: "band",
|
|
454
454
|
categoryGapRatio: 0.45
|
|
455
455
|
}
|
|
@@ -458,30 +458,30 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
458
458
|
{
|
|
459
459
|
scaleType: "linear",
|
|
460
460
|
min: C < 0 ? C * 1.2 : 0,
|
|
461
|
-
max:
|
|
461
|
+
max: S > 0 ? S : 0
|
|
462
462
|
}
|
|
463
463
|
]
|
|
464
464
|
};
|
|
465
465
|
}, [r]), v = _.useMemo(() => {
|
|
466
466
|
const l = `${n}80`;
|
|
467
|
-
return m ? r.map(() => n) : d == null ? [...new Array(r.length - 1).fill(l), n] : r.map((C,
|
|
467
|
+
return m ? r.map(() => n) : d == null ? [...new Array(r.length - 1).fill(l), n] : r.map((C, S) => S === d ? n : l);
|
|
468
468
|
}, [n, r, d]), T = _.useMemo(
|
|
469
469
|
() => r[d ?? r.length - 1],
|
|
470
470
|
[r, d]
|
|
471
|
-
), L = r.reduce((l, C) => Math.min(l, C.value), 1 / 0) < 0, k = /* @__PURE__ */
|
|
472
|
-
|
|
471
|
+
), L = r.reduce((l, C) => Math.min(l, C.value), 1 / 0) < 0, k = /* @__PURE__ */ t(
|
|
472
|
+
Oe,
|
|
473
473
|
{
|
|
474
474
|
color: n,
|
|
475
475
|
legendStyle: { pl: o.left },
|
|
476
476
|
monthlyAmount: T.formattedAmount,
|
|
477
477
|
monthlyAmountLabel: g,
|
|
478
|
-
trendAmount:
|
|
478
|
+
trendAmount: e?.formattedAverage,
|
|
479
479
|
trendAmountLabel: u
|
|
480
480
|
}
|
|
481
481
|
), b = g || u, w = (l, { dataIndex: C }) => s?.(C);
|
|
482
482
|
return /* @__PURE__ */ a(c, { sx: { alignItems: "center", width: "100%" }, children: [
|
|
483
483
|
b && h === "top" && k,
|
|
484
|
-
/* @__PURE__ */
|
|
484
|
+
/* @__PURE__ */ t(
|
|
485
485
|
A,
|
|
486
486
|
{
|
|
487
487
|
ref: x,
|
|
@@ -500,7 +500,7 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
500
500
|
}
|
|
501
501
|
},
|
|
502
502
|
children: /* @__PURE__ */ a(
|
|
503
|
-
|
|
503
|
+
Te,
|
|
504
504
|
{
|
|
505
505
|
height: y,
|
|
506
506
|
margin: {
|
|
@@ -514,44 +514,44 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
514
514
|
xAxis: I.xAxis,
|
|
515
515
|
yAxis: [{ width: 0 }],
|
|
516
516
|
children: [
|
|
517
|
-
|
|
517
|
+
e?.average && /* @__PURE__ */ t(
|
|
518
518
|
j,
|
|
519
519
|
{
|
|
520
520
|
labelAlign: "middle",
|
|
521
521
|
lineStyle: {
|
|
522
|
-
stroke:
|
|
522
|
+
stroke: D.palette.chart.chart7,
|
|
523
523
|
strokeDasharray: "4",
|
|
524
524
|
strokeLinecap: "round",
|
|
525
525
|
strokeWidth: 1
|
|
526
526
|
},
|
|
527
|
-
y:
|
|
527
|
+
y: e?.average
|
|
528
528
|
}
|
|
529
529
|
),
|
|
530
|
-
L && /* @__PURE__ */
|
|
530
|
+
L && /* @__PURE__ */ t(
|
|
531
531
|
j,
|
|
532
532
|
{
|
|
533
533
|
labelAlign: "middle",
|
|
534
534
|
lineStyle: {
|
|
535
|
-
stroke:
|
|
535
|
+
stroke: D.palette.chart.chart7
|
|
536
536
|
},
|
|
537
537
|
y: 0
|
|
538
538
|
}
|
|
539
539
|
),
|
|
540
|
-
/* @__PURE__ */
|
|
541
|
-
|
|
540
|
+
/* @__PURE__ */ t(
|
|
541
|
+
Se,
|
|
542
542
|
{
|
|
543
543
|
position: "bottom",
|
|
544
544
|
slots: {
|
|
545
545
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
546
|
-
axisTickLabel: ({ text: l, ownerState: C, ...
|
|
547
|
-
const
|
|
548
|
-
return /* @__PURE__ */
|
|
546
|
+
axisTickLabel: ({ text: l, ownerState: C, ...S }) => {
|
|
547
|
+
const E = r[d ?? r.length - 1]?.label;
|
|
548
|
+
return /* @__PURE__ */ t(
|
|
549
549
|
"text",
|
|
550
550
|
{
|
|
551
|
-
...
|
|
551
|
+
...S,
|
|
552
552
|
style: {
|
|
553
|
-
...
|
|
554
|
-
fontWeight: !m &&
|
|
553
|
+
...S.style,
|
|
554
|
+
fontWeight: !m && E === l ? "bold" : 400
|
|
555
555
|
},
|
|
556
556
|
children: l
|
|
557
557
|
}
|
|
@@ -574,17 +574,17 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
576
|
),
|
|
577
|
-
/* @__PURE__ */
|
|
578
|
-
|
|
577
|
+
/* @__PURE__ */ t(
|
|
578
|
+
De,
|
|
579
579
|
{
|
|
580
580
|
onItemClick: w,
|
|
581
581
|
slots: {
|
|
582
582
|
bar: (l) => {
|
|
583
|
-
const { ownerState: C, ...
|
|
584
|
-
return /* @__PURE__ */
|
|
585
|
-
|
|
583
|
+
const { ownerState: C, ...S } = l;
|
|
584
|
+
return /* @__PURE__ */ t(
|
|
585
|
+
Ge,
|
|
586
586
|
{
|
|
587
|
-
...
|
|
587
|
+
...S,
|
|
588
588
|
colorRange: v,
|
|
589
589
|
data: r,
|
|
590
590
|
dataIndex: C.dataIndex,
|
|
@@ -609,8 +609,8 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
609
609
|
),
|
|
610
610
|
b && h === "bottom" && k
|
|
611
611
|
] });
|
|
612
|
-
},
|
|
613
|
-
ariaLabel:
|
|
612
|
+
}, Tt = ({
|
|
613
|
+
ariaLabel: e,
|
|
614
614
|
barChartProps: n,
|
|
615
615
|
beat: r,
|
|
616
616
|
data: i,
|
|
@@ -623,14 +623,14 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
623
623
|
title: u,
|
|
624
624
|
transactionListProps: x = {}
|
|
625
625
|
}) => {
|
|
626
|
-
const { common: y, transactions: p } = O(), { isCopyLoaded:
|
|
627
|
-
return
|
|
628
|
-
|
|
626
|
+
const { common: y, transactions: p } = O(), { isCopyLoaded: D } = me(), { sortedTransactionsWithSplits: I, tags: v } = z();
|
|
627
|
+
return D ? /* @__PURE__ */ t(ve, { ariaLabelClose: y.close_aria, isOpen: h, onClose: g, title: u, children: /* @__PURE__ */ t(
|
|
628
|
+
ke,
|
|
629
629
|
{
|
|
630
|
-
ariaLabel:
|
|
630
|
+
ariaLabel: e,
|
|
631
631
|
beat: r,
|
|
632
|
-
chart: (T, M) => /* @__PURE__ */
|
|
633
|
-
|
|
632
|
+
chart: (T, M) => /* @__PURE__ */ t(A, { sx: { pt: 16 }, children: /* @__PURE__ */ t(
|
|
633
|
+
Ue,
|
|
634
634
|
{
|
|
635
635
|
...n,
|
|
636
636
|
onBarClick: (L) => {
|
|
@@ -660,30 +660,30 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
660
660
|
px: 24
|
|
661
661
|
},
|
|
662
662
|
children: [
|
|
663
|
-
/* @__PURE__ */
|
|
664
|
-
(x?.transaction || I.length > 0) && /* @__PURE__ */
|
|
663
|
+
/* @__PURE__ */ t(f, { bold: !0, variant: "body1", children: p.transactions_title }),
|
|
664
|
+
(x?.transaction || I.length > 0) && /* @__PURE__ */ t(
|
|
665
665
|
Y,
|
|
666
666
|
{
|
|
667
667
|
onClick: () => {
|
|
668
|
-
|
|
668
|
+
ae(
|
|
669
669
|
x?.transaction || I,
|
|
670
670
|
v
|
|
671
671
|
);
|
|
672
672
|
},
|
|
673
|
-
startIcon: /* @__PURE__ */
|
|
673
|
+
startIcon: /* @__PURE__ */ t(ne, { name: "ios_share" }),
|
|
674
674
|
sx: { height: 28 },
|
|
675
|
-
children: /* @__PURE__ */
|
|
675
|
+
children: /* @__PURE__ */ t(f, { bold: !0, variant: "body2", children: p.export_csv_btn })
|
|
676
676
|
}
|
|
677
677
|
)
|
|
678
678
|
]
|
|
679
679
|
}
|
|
680
680
|
),
|
|
681
|
-
/* @__PURE__ */
|
|
681
|
+
/* @__PURE__ */ t(Ne, { ...x })
|
|
682
682
|
] })
|
|
683
683
|
}
|
|
684
|
-
) }) : /* @__PURE__ */
|
|
685
|
-
},
|
|
686
|
-
amount:
|
|
684
|
+
) }) : /* @__PURE__ */ t(Q, {});
|
|
685
|
+
}, St = ({
|
|
686
|
+
amount: e,
|
|
687
687
|
borderRadius: n = "2px",
|
|
688
688
|
count: r,
|
|
689
689
|
completeColor: i = "success.main",
|
|
@@ -695,14 +695,14 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
695
695
|
sx: d
|
|
696
696
|
}) => /* @__PURE__ */ a(c, { className: "details-container", sx: { p: 24, width: "100%", gap: 16, ...d }, children: [
|
|
697
697
|
/* @__PURE__ */ a(c, { sx: { alignItems: "center", flexDirection: "row", gap: 12 }, children: [
|
|
698
|
-
/* @__PURE__ */
|
|
698
|
+
/* @__PURE__ */ t(A, { children: o }),
|
|
699
699
|
/* @__PURE__ */ a(c, { children: [
|
|
700
|
-
typeof s == "string" ? /* @__PURE__ */
|
|
701
|
-
typeof
|
|
700
|
+
typeof s == "string" ? /* @__PURE__ */ t(N, { dangerouslySetInnerHTML: { __html: s }, variant: "body2" }) : s,
|
|
701
|
+
typeof e == "string" ? /* @__PURE__ */ t(te, { children: e }) : e
|
|
702
702
|
] })
|
|
703
703
|
] }),
|
|
704
704
|
/* @__PURE__ */ a(c, { sx: { gap: 4 }, children: [
|
|
705
|
-
/* @__PURE__ */
|
|
705
|
+
/* @__PURE__ */ t(
|
|
706
706
|
c,
|
|
707
707
|
{
|
|
708
708
|
sx: {
|
|
@@ -712,7 +712,7 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
712
712
|
height: r ? 20 : 16,
|
|
713
713
|
width: "100%"
|
|
714
714
|
},
|
|
715
|
-
children: /* @__PURE__ */
|
|
715
|
+
children: /* @__PURE__ */ t(
|
|
716
716
|
A,
|
|
717
717
|
{
|
|
718
718
|
sx: {
|
|
@@ -725,25 +725,25 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
725
725
|
height: r ? 20 : 16,
|
|
726
726
|
width: `${g}%`
|
|
727
727
|
},
|
|
728
|
-
children: /* @__PURE__ */
|
|
728
|
+
children: /* @__PURE__ */ t(f, { sx: { color: "primary.dark" }, variant: "caption", children: r })
|
|
729
729
|
}
|
|
730
730
|
)
|
|
731
731
|
}
|
|
732
732
|
),
|
|
733
733
|
!r && /* @__PURE__ */ a(c, { sx: { flexDirection: "row", justifyContent: "space-between" }, children: [
|
|
734
|
-
/* @__PURE__ */
|
|
735
|
-
/* @__PURE__ */
|
|
734
|
+
/* @__PURE__ */ t(f, { variant: "body2", children: h }),
|
|
735
|
+
/* @__PURE__ */ t(f, { variant: "body2", children: m })
|
|
736
736
|
] })
|
|
737
737
|
] })
|
|
738
|
-
] }),
|
|
739
|
-
title:
|
|
738
|
+
] }), Dt = ({
|
|
739
|
+
title: e,
|
|
740
740
|
description: n,
|
|
741
741
|
callToAction: r,
|
|
742
742
|
instanceSlot: i = void 0,
|
|
743
743
|
onCtaClick: o = () => {
|
|
744
744
|
}
|
|
745
|
-
}) => /* @__PURE__ */ a(
|
|
746
|
-
/* @__PURE__ */
|
|
745
|
+
}) => /* @__PURE__ */ a(Ie, { sx: { pt: 8, pr: 16, pb: 12, pl: 8, borderRadius: "8px" }, children: [
|
|
746
|
+
/* @__PURE__ */ t(
|
|
747
747
|
c,
|
|
748
748
|
{
|
|
749
749
|
sx: {
|
|
@@ -753,7 +753,7 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
753
753
|
pt: 4,
|
|
754
754
|
pl: 8
|
|
755
755
|
},
|
|
756
|
-
children: /* @__PURE__ */
|
|
756
|
+
children: /* @__PURE__ */ t(f, { bold: !0, variant: "body1", children: e })
|
|
757
757
|
}
|
|
758
758
|
),
|
|
759
759
|
/* @__PURE__ */ a(
|
|
@@ -767,8 +767,8 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
767
767
|
},
|
|
768
768
|
children: [
|
|
769
769
|
/* @__PURE__ */ a(c, { children: [
|
|
770
|
-
/* @__PURE__ */
|
|
771
|
-
/* @__PURE__ */
|
|
770
|
+
/* @__PURE__ */ t(c, { sx: { pt: 2, pl: 8, pb: 8 }, children: /* @__PURE__ */ t(N, { sx: { fontWeight: 400 }, variant: "subtitle2", children: n }) }),
|
|
771
|
+
/* @__PURE__ */ t(c, { sx: { alignItems: "flex-start" }, children: /* @__PURE__ */ t(
|
|
772
772
|
Y,
|
|
773
773
|
{
|
|
774
774
|
onClick: o,
|
|
@@ -792,19 +792,19 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
792
792
|
)
|
|
793
793
|
] });
|
|
794
794
|
export {
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
795
|
+
Ue as B,
|
|
796
|
+
Tt as C,
|
|
797
|
+
Dt as E,
|
|
798
|
+
Re as S,
|
|
799
|
+
Ne as T,
|
|
800
|
+
Me as a,
|
|
801
|
+
St as b,
|
|
802
|
+
Ct as c,
|
|
803
|
+
vt as d,
|
|
804
|
+
He as e,
|
|
805
|
+
ke as f,
|
|
806
|
+
Be as h,
|
|
807
|
+
wt as p,
|
|
808
808
|
G as s,
|
|
809
809
|
V as u
|
|
810
810
|
};
|