@mx-cartographer/experiences 7.0.42 → 7.0.43-alpha.san1
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/{AccountDetailsContent-B5HMpGeJ.mjs → AccountDetailsContent-4orrKezm.mjs} +38 -38
- package/dist/{AccountDetailsHeader-Bt8O2raZ.mjs → AccountDetailsHeader-B3DiwvB7.mjs} +1 -1
- package/dist/{LineChart-CbOmpTDP.mjs → LineChart-CHTf3RcN.mjs} +137 -130
- package/dist/{ManageIncome-4_bSdxXr.mjs → ManageIncome-CyDeCYp4.mjs} +2 -2
- package/dist/{RecurringSettings-RduF8gt3.mjs → RecurringSettings-1W3L2Ejz.mjs} +2 -2
- package/dist/{TransactionDetails-C-2UEbmQ.mjs → TransactionDetails-cJi4Vtpl.mjs} +1 -1
- package/dist/{WidgetContainer-ztkGgdIH.mjs → WidgetContainer-Beedl3IT.mjs} +83 -82
- package/dist/accounts/index.es.js +4 -4
- package/dist/budgets/index.es.js +3 -3
- package/dist/cashflow/index.es.js +220 -216
- package/dist/common/index.es.js +2 -2
- package/dist/debts/index.es.js +244 -241
- package/dist/finstrong/index.es.js +3 -3
- package/dist/goals/index.es.js +3 -3
- package/dist/help/index.es.js +1 -1
- package/dist/investments/index.es.js +1 -1
- package/dist/networth/index.es.js +2 -2
- package/dist/recurringtransactions/index.es.js +44 -43
- package/dist/settings/index.es.js +1 -1
- package/dist/spending/index.es.js +2 -2
- package/dist/transactions/index.es.js +3 -3
- package/dist/trends/index.es.js +3 -3
- package/package.json +1 -1
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { jsxs as i, Fragment as D, jsx as
|
|
1
|
+
import { jsxs as i, Fragment as D, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import K from "@mui/material/Box";
|
|
3
|
-
import { useTheme as
|
|
4
|
-
import { ResponsiveChartContainer as Z, ChartsReferenceLine as _, AreaPlot as
|
|
5
|
-
import
|
|
6
|
-
import { f as
|
|
7
|
-
import { observer as
|
|
8
|
-
import { Stack as x, Box as W, useTheme as
|
|
3
|
+
import { useTheme as P } from "@mui/material/styles";
|
|
4
|
+
import { ResponsiveChartContainer as Z, ChartsReferenceLine as _, AreaPlot as tt, LinePlot as et, MarkPlot as nt, BarPlot as rt, ChartsXAxis as at, ChartsYAxis as it, ChartsAxisHighlight as ot } from "@mui/x-charts";
|
|
5
|
+
import lt from "@mui/material/useMediaQuery";
|
|
6
|
+
import { f as p } from "./NumberFormatting-CtWHhyBX.mjs";
|
|
7
|
+
import { observer as st } from "mobx-react-lite";
|
|
8
|
+
import { Stack as x, Box as W, useTheme as ct } from "@mui/material";
|
|
9
9
|
import { Text as l } from "@mxenabled/mxui";
|
|
10
|
-
import { u as
|
|
11
|
-
import { ChartsTooltip as
|
|
12
|
-
const
|
|
13
|
-
const a =
|
|
10
|
+
import { u as dt } from "./hooks-BAAimqdq.mjs";
|
|
11
|
+
import { ChartsTooltip as ht } from "@mui/x-charts/ChartsTooltip";
|
|
12
|
+
const mt = (t) => {
|
|
13
|
+
const a = P(), o = t.showLabel, s = t.style, y = Number(t.x), u = Number(t.y), m = t.handlers?.onMarkClick, f = t.handlers?.onMouseEnter, c = t.handlers?.onMouseLeave, d = lt(a.breakpoints.up("sm")), n = t.valueFormatterString ? p(t.yData[t.dataIndex], t.valueFormatterString) : String(t.yData[t.dataIndex]), h = d ? a.typography.Small?.fontSize : a.typography.XSmall?.fontSize, k = h ? parseFloat(h.toString()) * 0.6 : 8, C = n.length * k + 8 + 8, M = 24, S = y - C / 2, T = u - 30;
|
|
14
14
|
return /* @__PURE__ */ i(D, { children: [
|
|
15
15
|
o && /* @__PURE__ */ i(D, { children: [
|
|
16
|
-
|
|
16
|
+
t.labelBackgroundColor && /* @__PURE__ */ e(
|
|
17
17
|
"rect",
|
|
18
18
|
{
|
|
19
|
-
fill:
|
|
19
|
+
fill: t.labelBackgroundColor,
|
|
20
20
|
height: M,
|
|
21
21
|
rx: "3",
|
|
22
22
|
width: C,
|
|
@@ -24,32 +24,33 @@ const ue = (e) => {
|
|
|
24
24
|
y: T
|
|
25
25
|
}
|
|
26
26
|
),
|
|
27
|
-
/* @__PURE__ */
|
|
27
|
+
/* @__PURE__ */ e(
|
|
28
28
|
"text",
|
|
29
29
|
{
|
|
30
|
+
className: "MuiLineChart-markLabel",
|
|
30
31
|
dominantBaseline: "middle",
|
|
31
|
-
fill:
|
|
32
|
+
fill: t.labelFontColor ? t.labelFontColor : a.palette.text.primary,
|
|
32
33
|
style: {
|
|
33
|
-
fontSize:
|
|
34
|
+
fontSize: t.labelFontSize ? t.labelFontSize : h
|
|
34
35
|
},
|
|
35
36
|
textAnchor: "middle",
|
|
36
|
-
x:
|
|
37
|
-
y:
|
|
37
|
+
x: y,
|
|
38
|
+
y: u - 28 + M / 2,
|
|
38
39
|
children: n
|
|
39
40
|
}
|
|
40
41
|
)
|
|
41
42
|
] }),
|
|
42
|
-
/* @__PURE__ */
|
|
43
|
+
/* @__PURE__ */ e(
|
|
43
44
|
"path",
|
|
44
45
|
{
|
|
45
|
-
cursor:
|
|
46
|
+
cursor: m ? "pointer" : "unset",
|
|
46
47
|
d: "M4.514,0A4.514,4.514,0,1,1,-4.514,0A4.514,4.514,0,1,1,4.514,0",
|
|
47
48
|
height: "20px",
|
|
48
|
-
onClick: (
|
|
49
|
-
|
|
49
|
+
onClick: (L) => {
|
|
50
|
+
m?.(L, t.dataIndex);
|
|
50
51
|
},
|
|
51
52
|
onMouseEnter: () => {
|
|
52
|
-
f?.(
|
|
53
|
+
f?.(t.dataIndex);
|
|
53
54
|
},
|
|
54
55
|
onMouseLeave: () => {
|
|
55
56
|
c?.();
|
|
@@ -58,51 +59,51 @@ const ue = (e) => {
|
|
|
58
59
|
fill: s?.fill ? s.fill : a.palette.background.paper,
|
|
59
60
|
stroke: s?.stroke ? s.stroke : a.palette.primary.main,
|
|
60
61
|
strokeWidth: 2,
|
|
61
|
-
transform: `translate(${
|
|
62
|
-
transformOrigin: `${
|
|
62
|
+
transform: `translate(${t.x}px, ${t.y}px)`,
|
|
63
|
+
transformOrigin: `${t.x}px, ${t.y}px`,
|
|
63
64
|
filter: s?.filter ? s.filter : "none"
|
|
64
65
|
},
|
|
65
66
|
width: "20px"
|
|
66
67
|
}
|
|
67
68
|
)
|
|
68
69
|
] });
|
|
69
|
-
},
|
|
70
|
-
/* @__PURE__ */
|
|
71
|
-
/* @__PURE__ */
|
|
70
|
+
}, ut = (t) => /* @__PURE__ */ i(D, { children: [
|
|
71
|
+
/* @__PURE__ */ e("clipPath", { id: t.id, children: /* @__PURE__ */ e("rect", { height: t.height, width: t.width, x: "0", y: "0" }) }),
|
|
72
|
+
/* @__PURE__ */ e("g", { children: /* @__PURE__ */ e(
|
|
72
73
|
"path",
|
|
73
74
|
{
|
|
74
75
|
cursor: "unset",
|
|
75
|
-
d:
|
|
76
|
+
d: t.d,
|
|
76
77
|
style: {
|
|
77
78
|
strokeWidth: 2,
|
|
78
79
|
strokeLinejoin: "round",
|
|
79
80
|
fill: "none",
|
|
80
|
-
stroke:
|
|
81
|
+
stroke: t.lineColor ? t.lineColor : t.stroke,
|
|
81
82
|
transition: "opacity 0.2s ease-in, stroke 0.2s ease-in",
|
|
82
83
|
opacity: 1
|
|
83
84
|
}
|
|
84
85
|
}
|
|
85
86
|
) })
|
|
86
|
-
] }),
|
|
87
|
-
label:
|
|
87
|
+
] }), xt = ({
|
|
88
|
+
label: t,
|
|
88
89
|
customLegendVariant: a
|
|
89
90
|
}) => {
|
|
90
91
|
const o = a || "Small";
|
|
91
|
-
return typeof
|
|
92
|
-
/* @__PURE__ */
|
|
93
|
-
/* @__PURE__ */
|
|
92
|
+
return typeof t == "string" ? /* @__PURE__ */ e(l, { variant: o, children: t }) : typeof t == "object" && t.amount && t.label ? /* @__PURE__ */ i(D, { children: [
|
|
93
|
+
/* @__PURE__ */ e(l, { variant: o, children: t.label }),
|
|
94
|
+
/* @__PURE__ */ e(l, { bold: !0, sx: { marginLeft: 8 }, variant: o, children: p(t.amount, "0,0") })
|
|
94
95
|
] }) : null;
|
|
95
|
-
},
|
|
96
|
-
average:
|
|
96
|
+
}, ft = ({
|
|
97
|
+
average: t,
|
|
97
98
|
customLegendVariant: a,
|
|
98
99
|
labels: o = [],
|
|
99
100
|
series: s,
|
|
100
|
-
style:
|
|
101
|
-
title:
|
|
102
|
-
valueFormatterString:
|
|
101
|
+
style: y,
|
|
102
|
+
title: u,
|
|
103
|
+
valueFormatterString: m
|
|
103
104
|
}) => {
|
|
104
|
-
const { common: f } =
|
|
105
|
-
return /* @__PURE__ */ i(x, { style: { flexDirection: "row", gap: 24, ...
|
|
105
|
+
const { common: f } = dt(), c = a || "Small";
|
|
106
|
+
return /* @__PURE__ */ i(x, { style: { flexDirection: "row", gap: 24, ...y }, children: [
|
|
106
107
|
s.map((d, n) => {
|
|
107
108
|
const h = o[n];
|
|
108
109
|
return h ? /* @__PURE__ */ i(
|
|
@@ -110,7 +111,7 @@ const ue = (e) => {
|
|
|
110
111
|
{
|
|
111
112
|
style: { alignItems: "center", flexDirection: "row", flexWrap: "wrap" },
|
|
112
113
|
children: [
|
|
113
|
-
/* @__PURE__ */
|
|
114
|
+
/* @__PURE__ */ e(
|
|
114
115
|
W,
|
|
115
116
|
{
|
|
116
117
|
sx: {
|
|
@@ -121,37 +122,37 @@ const ue = (e) => {
|
|
|
121
122
|
}
|
|
122
123
|
}
|
|
123
124
|
),
|
|
124
|
-
/* @__PURE__ */
|
|
125
|
+
/* @__PURE__ */ e(xt, { customLegendVariant: a, label: h })
|
|
125
126
|
]
|
|
126
127
|
},
|
|
127
128
|
n
|
|
128
129
|
) : null;
|
|
129
130
|
}),
|
|
130
|
-
|
|
131
|
-
/* @__PURE__ */
|
|
131
|
+
t && /* @__PURE__ */ i(x, { sx: { alignItems: "center", flexDirection: "row" }, children: [
|
|
132
|
+
/* @__PURE__ */ e(l, { bold: !0, sx: { marginRight: 8 }, variant: c, children: "– –" }),
|
|
132
133
|
/* @__PURE__ */ i(l, { variant: c, children: [
|
|
133
|
-
|
|
134
|
+
u || f.average,
|
|
134
135
|
" "
|
|
135
136
|
] }),
|
|
136
|
-
/* @__PURE__ */
|
|
137
|
+
/* @__PURE__ */ e(l, { bold: !0, variant: c, children: m ? p(t, m) : t })
|
|
137
138
|
] })
|
|
138
139
|
] });
|
|
139
|
-
},
|
|
140
|
-
function
|
|
141
|
-
customLabels:
|
|
140
|
+
}, gt = st(ft);
|
|
141
|
+
function yt({
|
|
142
|
+
customLabels: t,
|
|
142
143
|
labels: a = [],
|
|
143
144
|
valueFormatterString: o = "0,0"
|
|
144
145
|
}) {
|
|
145
|
-
const s =
|
|
146
|
-
return /* @__PURE__ */
|
|
147
|
-
|
|
146
|
+
const s = ct();
|
|
147
|
+
return /* @__PURE__ */ e(
|
|
148
|
+
ht,
|
|
148
149
|
{
|
|
149
150
|
showCrosshair: !0,
|
|
150
151
|
slots: {
|
|
151
|
-
axisContent: (
|
|
152
|
-
const { axisValue:
|
|
153
|
-
if (
|
|
154
|
-
const d =
|
|
152
|
+
axisContent: (y) => {
|
|
153
|
+
const { axisValue: u, dataIndex: m, series: f } = y, c = m ?? 0;
|
|
154
|
+
if (t) {
|
|
155
|
+
const d = t[c]?.[0]?.header || String(u);
|
|
155
156
|
return /* @__PURE__ */ i(
|
|
156
157
|
x,
|
|
157
158
|
{
|
|
@@ -179,12 +180,12 @@ function ye({
|
|
|
179
180
|
marginTop: 4
|
|
180
181
|
},
|
|
181
182
|
children: [
|
|
182
|
-
/* @__PURE__ */
|
|
183
|
-
/* @__PURE__ */
|
|
183
|
+
/* @__PURE__ */ e(l, { variant: "H3", children: d }),
|
|
184
|
+
/* @__PURE__ */ e(l, { bold: !0, variant: "H3", children: p(f[0]?.data[c], o) })
|
|
184
185
|
]
|
|
185
186
|
}
|
|
186
187
|
),
|
|
187
|
-
|
|
188
|
+
t[c]?.some((n) => (typeof n == "string" ? 0 : n.amount) !== 0) ? t[c]?.map((n) => {
|
|
188
189
|
const h = typeof n == "string" ? n : n.label, k = typeof n == "string" ? 0 : n.amount;
|
|
189
190
|
return k === 0 ? null : /* @__PURE__ */ i(
|
|
190
191
|
x,
|
|
@@ -209,7 +210,7 @@ function ye({
|
|
|
209
210
|
minWidth: 0
|
|
210
211
|
},
|
|
211
212
|
children: [
|
|
212
|
-
/* @__PURE__ */
|
|
213
|
+
/* @__PURE__ */ e(
|
|
213
214
|
W,
|
|
214
215
|
{
|
|
215
216
|
sx: {
|
|
@@ -220,16 +221,16 @@ function ye({
|
|
|
220
221
|
}
|
|
221
222
|
}
|
|
222
223
|
),
|
|
223
|
-
/* @__PURE__ */
|
|
224
|
+
/* @__PURE__ */ e(l, { variant: "Body", children: h })
|
|
224
225
|
]
|
|
225
226
|
}
|
|
226
227
|
),
|
|
227
|
-
/* @__PURE__ */
|
|
228
|
+
/* @__PURE__ */ e(l, { bold: !0, variant: "Body", children: p(Math.abs(k), o) })
|
|
228
229
|
]
|
|
229
230
|
},
|
|
230
231
|
h
|
|
231
232
|
);
|
|
232
|
-
}) : /* @__PURE__ */
|
|
233
|
+
}) : /* @__PURE__ */ e(l, { variant: "Body", children: "No data" })
|
|
233
234
|
]
|
|
234
235
|
}
|
|
235
236
|
);
|
|
@@ -249,7 +250,7 @@ function ye({
|
|
|
249
250
|
py: 12
|
|
250
251
|
},
|
|
251
252
|
children: [
|
|
252
|
-
/* @__PURE__ */
|
|
253
|
+
/* @__PURE__ */ e(l, { variant: "H3", children: String(u) }),
|
|
253
254
|
f.map((d, n) => /* @__PURE__ */ i(
|
|
254
255
|
x,
|
|
255
256
|
{
|
|
@@ -263,7 +264,7 @@ function ye({
|
|
|
263
264
|
},
|
|
264
265
|
children: [
|
|
265
266
|
/* @__PURE__ */ i(x, { sx: { flexDirection: "row", alignItems: "center", gap: 8 }, children: [
|
|
266
|
-
/* @__PURE__ */
|
|
267
|
+
/* @__PURE__ */ e(
|
|
267
268
|
W,
|
|
268
269
|
{
|
|
269
270
|
sx: {
|
|
@@ -274,9 +275,9 @@ function ye({
|
|
|
274
275
|
}
|
|
275
276
|
}
|
|
276
277
|
),
|
|
277
|
-
/* @__PURE__ */
|
|
278
|
+
/* @__PURE__ */ e(l, { variant: "Body", children: typeof a[n] == "string" ? a[n] : a[n]?.label })
|
|
278
279
|
] }),
|
|
279
|
-
/* @__PURE__ */
|
|
280
|
+
/* @__PURE__ */ e(l, { bold: !0, variant: "Body", children: p(d.data[c], o) })
|
|
280
281
|
]
|
|
281
282
|
},
|
|
282
283
|
d.id
|
|
@@ -290,14 +291,14 @@ function ye({
|
|
|
290
291
|
}
|
|
291
292
|
);
|
|
292
293
|
}
|
|
293
|
-
const
|
|
294
|
-
axisColor:
|
|
294
|
+
const Rt = ({
|
|
295
|
+
axisColor: t,
|
|
295
296
|
baseline: a = "max",
|
|
296
297
|
colors: o,
|
|
297
298
|
curveType: s = "linear",
|
|
298
|
-
customLegendVariant:
|
|
299
|
-
customTooltipLabels:
|
|
300
|
-
datasets:
|
|
299
|
+
customLegendVariant: y,
|
|
300
|
+
customTooltipLabels: u,
|
|
301
|
+
datasets: m,
|
|
301
302
|
height: f,
|
|
302
303
|
isGraphClippingXAxis: c = !1,
|
|
303
304
|
labels: d,
|
|
@@ -311,28 +312,28 @@ const Re = ({
|
|
|
311
312
|
showArea: M = !1,
|
|
312
313
|
showAverage: S = !1,
|
|
313
314
|
showAxisHighlight: T = !1,
|
|
314
|
-
showBars:
|
|
315
|
-
showLegend:
|
|
316
|
-
showMarkLabel:
|
|
317
|
-
showTooltip:
|
|
318
|
-
showXAxis:
|
|
319
|
-
showXAxisTicks:
|
|
315
|
+
showBars: L = !1,
|
|
316
|
+
showLegend: F = !1,
|
|
317
|
+
showMarkLabel: H = !1,
|
|
318
|
+
showTooltip: E = !1,
|
|
319
|
+
showXAxis: X = !1,
|
|
320
|
+
showXAxisTicks: Y = !1,
|
|
320
321
|
showYAxis: G = !1,
|
|
321
322
|
showYAxisTicks: O = !1,
|
|
322
323
|
title: Q,
|
|
323
324
|
useCustomMark: U = !1,
|
|
324
|
-
valueFormatterString:
|
|
325
|
+
valueFormatterString: b,
|
|
325
326
|
width: V
|
|
326
327
|
}) => {
|
|
327
|
-
const
|
|
328
|
-
type:
|
|
328
|
+
const g = P(), q = m.flat().map((r) => r.x), w = m.flat().map((r) => r.y), z = Math.round(w.reduce((r, R) => R + r, 0) / w.length), I = Math.floor(Math.min(...w) / 100) * 100, N = Math.ceil(Math.max(...w) / 100) * 100, A = m.map((r, R) => ({
|
|
329
|
+
type: L ? "bar" : "line",
|
|
329
330
|
curve: s,
|
|
330
|
-
color:
|
|
331
|
+
color: L ? g.palette.chart?.chart6 : o[R] ?? g.palette.primary.main,
|
|
331
332
|
data: r.map((v) => v.y),
|
|
332
333
|
area: M,
|
|
333
334
|
baseline: a,
|
|
334
335
|
showMark: !0,
|
|
335
|
-
valueFormatter: (v) =>
|
|
336
|
+
valueFormatter: (v) => b ? p(v || 0, b) : String(v)
|
|
336
337
|
})), J = {
|
|
337
338
|
...{
|
|
338
339
|
top: 60,
|
|
@@ -375,143 +376,149 @@ const Re = ({
|
|
|
375
376
|
},
|
|
376
377
|
"& .MuiAreaElement-root": {
|
|
377
378
|
opacity: 0.15
|
|
379
|
+
},
|
|
380
|
+
"& .MuiChartsAxis-tickLabel > tspan": {
|
|
381
|
+
fontFamily: g.typography.Small.fontFamily
|
|
382
|
+
},
|
|
383
|
+
"& .MuiLineChart-markLabel": {
|
|
384
|
+
fontFamily: g.typography.Small.fontFamily
|
|
378
385
|
}
|
|
379
386
|
},
|
|
380
387
|
width: V,
|
|
381
|
-
xAxis: [{ data: q, scaleType:
|
|
388
|
+
xAxis: [{ data: q, scaleType: L ? "band" : "point" }],
|
|
382
389
|
yAxis: [
|
|
383
390
|
{
|
|
384
391
|
min: c ? -22 : I,
|
|
385
|
-
max:
|
|
392
|
+
max: N || 100,
|
|
386
393
|
colorMap: M && A.length < 2 ? {
|
|
387
394
|
type: "continuous",
|
|
388
395
|
min: I,
|
|
389
|
-
max:
|
|
396
|
+
max: N,
|
|
390
397
|
color: [
|
|
391
|
-
|
|
392
|
-
o[0] ??
|
|
398
|
+
g.palette.background.paper,
|
|
399
|
+
o[0] ?? g.palette.primary.main
|
|
393
400
|
]
|
|
394
401
|
} : void 0,
|
|
395
|
-
valueFormatter: (r) =>
|
|
402
|
+
valueFormatter: (r) => b ? p(r, b) : String(r)
|
|
396
403
|
}
|
|
397
404
|
],
|
|
398
405
|
children: [
|
|
399
|
-
S && /* @__PURE__ */
|
|
406
|
+
S && /* @__PURE__ */ e(
|
|
400
407
|
_,
|
|
401
408
|
{
|
|
402
409
|
lineStyle: {
|
|
403
|
-
stroke: n ?
|
|
410
|
+
stroke: n ? g.palette.neutral.main : g.palette.neutral.dark,
|
|
404
411
|
strokeDasharray: "10, 8",
|
|
405
412
|
strokeWidth: 2
|
|
406
413
|
},
|
|
407
414
|
y: z
|
|
408
415
|
}
|
|
409
416
|
),
|
|
410
|
-
/* @__PURE__ */
|
|
411
|
-
/* @__PURE__ */
|
|
412
|
-
|
|
417
|
+
/* @__PURE__ */ e(tt, { onItemClick: C }),
|
|
418
|
+
/* @__PURE__ */ e(
|
|
419
|
+
et,
|
|
413
420
|
{
|
|
414
421
|
onItemClick: C,
|
|
415
422
|
slots: {
|
|
416
|
-
line: (r) => /* @__PURE__ */
|
|
417
|
-
|
|
423
|
+
line: (r) => /* @__PURE__ */ e(
|
|
424
|
+
ut,
|
|
418
425
|
{
|
|
419
426
|
...r,
|
|
420
|
-
lineColor: r.ownerState.color ??
|
|
427
|
+
lineColor: r.ownerState.color ?? g.palette.primary.main
|
|
421
428
|
}
|
|
422
429
|
)
|
|
423
430
|
}
|
|
424
431
|
}
|
|
425
432
|
),
|
|
426
|
-
/* @__PURE__ */
|
|
427
|
-
|
|
433
|
+
/* @__PURE__ */ e(
|
|
434
|
+
nt,
|
|
428
435
|
{
|
|
429
436
|
onItemClick: C,
|
|
430
437
|
slots: U ? {
|
|
431
|
-
mark: (r) => /* @__PURE__ */
|
|
432
|
-
|
|
438
|
+
mark: (r) => /* @__PURE__ */ e(
|
|
439
|
+
mt,
|
|
433
440
|
{
|
|
434
441
|
handlers: $,
|
|
435
442
|
labelBackgroundColor: n,
|
|
436
443
|
labelFontColor: h,
|
|
437
444
|
labelFontSize: k,
|
|
438
|
-
showLabel:
|
|
445
|
+
showLabel: H,
|
|
439
446
|
style: j?.(r.dataIndex) ?? {},
|
|
440
|
-
valueFormatterString:
|
|
441
|
-
yData:
|
|
447
|
+
valueFormatterString: b,
|
|
448
|
+
yData: w,
|
|
442
449
|
...r
|
|
443
450
|
}
|
|
444
451
|
)
|
|
445
452
|
} : void 0
|
|
446
453
|
}
|
|
447
454
|
),
|
|
448
|
-
/* @__PURE__ */
|
|
449
|
-
|
|
455
|
+
/* @__PURE__ */ e(
|
|
456
|
+
rt,
|
|
450
457
|
{
|
|
451
458
|
barLabel: (r) => Number(r.value) > 0 ? `$${r.value}` : null,
|
|
452
459
|
borderRadius: 10
|
|
453
460
|
}
|
|
454
461
|
),
|
|
455
|
-
/* @__PURE__ */
|
|
456
|
-
|
|
462
|
+
/* @__PURE__ */ e(
|
|
463
|
+
at,
|
|
457
464
|
{
|
|
458
|
-
disableLine: !
|
|
459
|
-
disableTicks: !
|
|
460
|
-
slotProps:
|
|
465
|
+
disableLine: !X,
|
|
466
|
+
disableTicks: !Y,
|
|
467
|
+
slotProps: t ? {
|
|
461
468
|
axisLine: {
|
|
462
469
|
style: {
|
|
463
|
-
stroke:
|
|
470
|
+
stroke: t
|
|
464
471
|
}
|
|
465
472
|
},
|
|
466
473
|
axisTick: {
|
|
467
474
|
style: {
|
|
468
|
-
stroke:
|
|
475
|
+
stroke: t
|
|
469
476
|
}
|
|
470
477
|
}
|
|
471
478
|
} : {}
|
|
472
479
|
}
|
|
473
480
|
),
|
|
474
|
-
/* @__PURE__ */
|
|
475
|
-
|
|
481
|
+
/* @__PURE__ */ e(
|
|
482
|
+
it,
|
|
476
483
|
{
|
|
477
484
|
disableLine: !G,
|
|
478
485
|
disableTicks: !O,
|
|
479
|
-
slotProps:
|
|
486
|
+
slotProps: t ? {
|
|
480
487
|
axisLine: {
|
|
481
488
|
style: {
|
|
482
|
-
stroke:
|
|
489
|
+
stroke: t
|
|
483
490
|
}
|
|
484
491
|
},
|
|
485
492
|
axisTick: {
|
|
486
493
|
style: {
|
|
487
|
-
stroke:
|
|
494
|
+
stroke: t
|
|
488
495
|
}
|
|
489
496
|
}
|
|
490
497
|
} : {}
|
|
491
498
|
}
|
|
492
499
|
),
|
|
493
|
-
T && /* @__PURE__ */
|
|
494
|
-
|
|
495
|
-
|
|
500
|
+
T && /* @__PURE__ */ e(ot, { x: "line" }),
|
|
501
|
+
E && /* @__PURE__ */ e(
|
|
502
|
+
yt,
|
|
496
503
|
{
|
|
497
|
-
customLabels:
|
|
504
|
+
customLabels: u,
|
|
498
505
|
labels: d,
|
|
499
|
-
valueFormatterString:
|
|
506
|
+
valueFormatterString: b
|
|
500
507
|
}
|
|
501
508
|
)
|
|
502
509
|
]
|
|
503
510
|
}
|
|
504
511
|
),
|
|
505
|
-
|
|
506
|
-
|
|
512
|
+
F && /* @__PURE__ */ e(
|
|
513
|
+
gt,
|
|
507
514
|
{
|
|
508
515
|
average: S ? z : void 0,
|
|
509
|
-
customLegendVariant:
|
|
516
|
+
customLegendVariant: y,
|
|
510
517
|
labels: d,
|
|
511
518
|
series: A,
|
|
512
519
|
style: { position: "absolute", top: 16, left: 16 },
|
|
513
520
|
title: Q,
|
|
514
|
-
valueFormatterString:
|
|
521
|
+
valueFormatterString: b
|
|
515
522
|
}
|
|
516
523
|
)
|
|
517
524
|
]
|
|
@@ -519,5 +526,5 @@ const Re = ({
|
|
|
519
526
|
);
|
|
520
527
|
};
|
|
521
528
|
export {
|
|
522
|
-
|
|
529
|
+
Rt as L
|
|
523
530
|
};
|
|
@@ -16,7 +16,7 @@ import { startOfToday as z } from "date-fns/startOfToday";
|
|
|
16
16
|
import { endOfMonth as _e } from "date-fns/endOfMonth";
|
|
17
17
|
import $ from "@mui/material/Button";
|
|
18
18
|
import { Delete as me, Add as pe, ReceiptLong as ye } from "@mxenabled/mx-icons";
|
|
19
|
-
import { T as X, a as he, u as ge, S as fe, b as Ce } from "./TransactionDetails-
|
|
19
|
+
import { T as X, a as he, u as ge, S as fe, b as Ce } from "./TransactionDetails-cJi4Vtpl.mjs";
|
|
20
20
|
import { getDayOfYear as be } from "date-fns/getDayOfYear";
|
|
21
21
|
import { setDayOfYear as xe } from "date-fns/setDayOfYear";
|
|
22
22
|
import { AdapterDateFns as Se } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
@@ -25,7 +25,7 @@ import { LocalizationProvider as we } from "@mui/x-date-pickers/LocalizationProv
|
|
|
25
25
|
import { u as w, i as M, f as F, a as Ae, g as Z, o as De } from "./hooks-BAAimqdq.mjs";
|
|
26
26
|
import { b as Ie, f as J } from "./NumberFormatting-CtWHhyBX.mjs";
|
|
27
27
|
import { D as O } from "./Drawer-kEE73B87.mjs";
|
|
28
|
-
import { A as R } from "./WidgetContainer-
|
|
28
|
+
import { A as R } from "./WidgetContainer-Beedl3IT.mjs";
|
|
29
29
|
import { f as Ee, D as Re, a as Te } from "./Dialog-CWW597AF.mjs";
|
|
30
30
|
import { formatISO as Le } from "date-fns/formatISO";
|
|
31
31
|
import { fromUnixTime as Oe } from "date-fns/fromUnixTime";
|
|
@@ -7,10 +7,10 @@ import b from "@mui/material/Tabs";
|
|
|
7
7
|
import p from "@mui/material/Divider";
|
|
8
8
|
import R from "@mui/material/List";
|
|
9
9
|
import T from "@mui/material/Stack";
|
|
10
|
-
import { R as C, A as S, a as E, M as v } from "./ManageIncome-
|
|
10
|
+
import { R as C, A as S, a as E, M as v } from "./ManageIncome-CyDeCYp4.mjs";
|
|
11
11
|
import { u as h, i as A, f } from "./hooks-BAAimqdq.mjs";
|
|
12
12
|
import { R as y, F as N } from "./RepeatingTransaction-BW4J-jeJ.mjs";
|
|
13
|
-
import { A as d } from "./WidgetContainer-
|
|
13
|
+
import { A as d } from "./WidgetContainer-Beedl3IT.mjs";
|
|
14
14
|
const I = u(() => {
|
|
15
15
|
const { recurring: n } = h(), { repeatingTransactions: c } = A(), { onEvent: o } = f(), a = (r) => {
|
|
16
16
|
o(d.RECURRING_TRANSACTIONS_CLICK_EXPENSE, {
|
|
@@ -17,7 +17,7 @@ import { fromUnixTime as W } from "date-fns/fromUnixTime";
|
|
|
17
17
|
import { isSameDay as Ne } from "date-fns/isSameDay";
|
|
18
18
|
import { h as Ye } from "./DateUtil-BcuH7ErC.mjs";
|
|
19
19
|
import { L as Ie } from "./Loader-DUaFpDGv.mjs";
|
|
20
|
-
import { A as P } from "./WidgetContainer-
|
|
20
|
+
import { A as P } from "./WidgetContainer-Beedl3IT.mjs";
|
|
21
21
|
import ne from "@mui/material/Paper";
|
|
22
22
|
import ce from "@mui/material/Button";
|
|
23
23
|
import je from "@mui/material/FormGroup";
|