@mx-cartographer/experiences 8.0.15-alpha-view-history-testing → 8.0.16
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 +5 -1
- package/dist/{EmbeddedCard-yQXb1_JB.mjs → EmbeddedCard-xngm4vLT.mjs} +142 -134
- package/dist/{ManageIncome-soXohjI4.mjs → ManageIncome-CvfRTf-j.mjs} +2 -2
- package/dist/{RecurringSettings-rn4NvTVz.mjs → RecurringSettings-DJIUgK5A.mjs} +1 -1
- package/dist/{TransactionDetails-UyBJ8fVg.mjs → TransactionDetails-KklNHa-s.mjs} +1 -1
- package/dist/accounts/index.es.js +2 -2
- package/dist/budgets/index.es.js +3 -3
- package/dist/cashflow/index.es.js +3 -3
- package/dist/finstrong/index.es.js +3 -3
- package/dist/insights/components/shared/StatusIndicator.d.ts +3 -2
- package/dist/insights/index.es.js +2 -2
- package/dist/recurringtransactions/index.es.js +4 -4
- package/dist/spending/index.es.js +2 -2
- package/dist/transactions/index.es.js +4 -4
- package/dist/trends/index.es.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
## [8.0.
|
|
1
|
+
## [8.0.16] - 04-13-2026
|
|
2
|
+
|
|
3
|
+
- **ADDED** - Replenish Savings | DrillDown card
|
|
4
|
+
|
|
5
|
+
## [8.0.15] - 04-13-2026
|
|
2
6
|
|
|
3
7
|
- **UPDATED** - Added `Embedded Card in Transaction Details` and the View History functionality | Transaction History Drilldown drawer
|
|
4
8
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as a, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import w, { useMemo as X, useState as K, useEffect as q } 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 E, P as N, H3 as J, Text as
|
|
6
|
+
import { Icon as E, P as N, H3 as J, Text as f, MerchantLogo as P, H2 as tt } from "@mxenabled/mxui";
|
|
7
7
|
import { Receipt as et, Icon as rt } from "@mxenabled/mx-icons";
|
|
8
8
|
import { L as nt, O as it, e as ot } from "./exportTransactionsToCSV-DgdB3TBt.mjs";
|
|
9
9
|
import { observer as O } from "mobx-react-lite";
|
|
@@ -12,9 +12,9 @@ import st from "@mui/material/Divider";
|
|
|
12
12
|
import lt from "@mui/material/List";
|
|
13
13
|
import { G as ct, h as W, u as H, g as dt, b as ht } from "./hooks-BxkfR-Ff.mjs";
|
|
14
14
|
import mt from "@mui/material/ListItemAvatar";
|
|
15
|
-
import
|
|
15
|
+
import pt from "@mui/material/ListItemText";
|
|
16
16
|
import { useTheme as z } from "@mui/material/styles";
|
|
17
|
-
import { a as
|
|
17
|
+
import { a as ut } from "./Transaction-C3Pg9TKf.mjs";
|
|
18
18
|
import { f as B } from "./NumberFormatting-QCaNwbjv.mjs";
|
|
19
19
|
import { fromUnixTime as R } from "date-fns/fromUnixTime";
|
|
20
20
|
import { isSameDay as Z } from "date-fns/isSameDay";
|
|
@@ -23,13 +23,13 @@ import { h as xt } from "./DateUtil-wcYTmDRD.mjs";
|
|
|
23
23
|
import { L as Q } from "./Loader-D3rjKx72.mjs";
|
|
24
24
|
import { A as bt } from "./Analytics-0Xm_BjHU.mjs";
|
|
25
25
|
import yt from "@mui/material/Tab";
|
|
26
|
-
import
|
|
27
|
-
import
|
|
26
|
+
import wt from "@mui/material/Tabs";
|
|
27
|
+
import _t from "@mui/material/IconButton";
|
|
28
28
|
import { ChartContainer as Ct, ChartsReferenceLine as j, ChartsXAxis as vt, BarPlot as Tt } from "@mui/x-charts";
|
|
29
29
|
import { D as Dt } from "./Drawer-Bbe4AMB1.mjs";
|
|
30
30
|
import St from "@mui/material/Card";
|
|
31
31
|
const It = ({ message: t, tipAriaLabel: n, onDismiss: r, onAction: i, sx: o }) => {
|
|
32
|
-
const l = i || r,
|
|
32
|
+
const l = i || r, h = i ? "chevron_right" : "close";
|
|
33
33
|
return /* @__PURE__ */ a(
|
|
34
34
|
c,
|
|
35
35
|
{
|
|
@@ -47,16 +47,18 @@ const It = ({ message: t, tipAriaLabel: n, onDismiss: r, onAction: i, sx: o }) =
|
|
|
47
47
|
...o
|
|
48
48
|
},
|
|
49
49
|
children: [
|
|
50
|
-
/* @__PURE__ */
|
|
51
|
-
|
|
50
|
+
/* @__PURE__ */ a(c, { sx: { flexDirection: "row", gap: 4 }, children: [
|
|
51
|
+
/* @__PURE__ */ e(E, { color: "info", fill: !0, name: "lightbulb", size: 24 }),
|
|
52
|
+
/* @__PURE__ */ e(N, { color: "primary.dark", fontWeight: 400, noWrap: !1, variant: "subtitle2", children: t })
|
|
53
|
+
] }),
|
|
52
54
|
l && /* @__PURE__ */ e(
|
|
53
|
-
|
|
55
|
+
_t,
|
|
54
56
|
{
|
|
55
57
|
"aria-label": n,
|
|
56
58
|
onClick: l,
|
|
57
59
|
size: "small",
|
|
58
60
|
sx: { minHeight: 0, minWidth: 0, p: 0 },
|
|
59
|
-
children: /* @__PURE__ */ e(E, { color: "primary", fill: !0, name:
|
|
61
|
+
children: /* @__PURE__ */ e(E, { color: "primary", fill: !0, name: h, size: 20 })
|
|
60
62
|
}
|
|
61
63
|
)
|
|
62
64
|
]
|
|
@@ -69,20 +71,20 @@ const It = ({ message: t, tipAriaLabel: n, onDismiss: r, onAction: i, sx: o }) =
|
|
|
69
71
|
children: i,
|
|
70
72
|
data: o,
|
|
71
73
|
defaultSelectedIndex: l,
|
|
72
|
-
icon:
|
|
73
|
-
onTabChange:
|
|
74
|
+
icon: h,
|
|
75
|
+
onTabChange: g,
|
|
74
76
|
tipSection: m
|
|
75
77
|
}) => {
|
|
76
|
-
const { heading:
|
|
78
|
+
const { heading: d, subHeading: u } = n, x = X(
|
|
77
79
|
() => l ?? (o.length ? o.length - 1 : 0),
|
|
78
80
|
[l, o.length]
|
|
79
|
-
), [y,
|
|
80
|
-
|
|
81
|
+
), [y, p] = K(x), S = (v, T) => {
|
|
82
|
+
g?.(T), p(T);
|
|
81
83
|
}, I = (v) => {
|
|
82
|
-
|
|
84
|
+
p(v);
|
|
83
85
|
};
|
|
84
86
|
return /* @__PURE__ */ a(A, { sx: { bgcolor: "background.paper", width: "100%" }, children: [
|
|
85
|
-
/* @__PURE__ */ e(
|
|
87
|
+
/* @__PURE__ */ e(wt, { "aria-label": t, onChange: S, value: y, variant: "fullWidth", children: o.map((v, T) => /* @__PURE__ */ e(
|
|
86
88
|
yt,
|
|
87
89
|
{
|
|
88
90
|
id: `transaction-details-tab-${T}`,
|
|
@@ -91,11 +93,11 @@ const It = ({ message: t, tipAriaLabel: n, onDismiss: r, onAction: i, sx: o }) =
|
|
|
91
93
|
},
|
|
92
94
|
`${v.label}-${T}`
|
|
93
95
|
)) }),
|
|
94
|
-
/* @__PURE__ */ e(c, { sx: { pt: 16, px: 24 }, children: (
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
/* @__PURE__ */ e(
|
|
96
|
+
/* @__PURE__ */ e(c, { sx: { pt: 16, px: 24 }, children: (d || u) && /* @__PURE__ */ a(c, { sx: { gap: 4 }, children: [
|
|
97
|
+
d && /* @__PURE__ */ e(J, { children: d }),
|
|
98
|
+
u && /* @__PURE__ */ a(c, { sx: { alignItems: "center", flexDirection: "row", gap: 8 }, children: [
|
|
99
|
+
h,
|
|
100
|
+
/* @__PURE__ */ e(f, { textTransform: "uppercase", variant: "body2", children: u.description })
|
|
99
101
|
] })
|
|
100
102
|
] }) }),
|
|
101
103
|
r?.(y, I),
|
|
@@ -103,7 +105,7 @@ const It = ({ message: t, tipAriaLabel: n, onDismiss: r, onAction: i, sx: o }) =
|
|
|
103
105
|
i?.(y)
|
|
104
106
|
] });
|
|
105
107
|
}, V = () => {
|
|
106
|
-
if (!
|
|
108
|
+
if (!w.useContext(ct))
|
|
107
109
|
throw new Error("useTransactionsUiStore() must be used within the GlobalDataContext");
|
|
108
110
|
return W().uiStore;
|
|
109
111
|
};
|
|
@@ -122,7 +124,7 @@ function $t(t) {
|
|
|
122
124
|
});
|
|
123
125
|
}
|
|
124
126
|
const Et = ({ transaction: t, onClick: n }) => {
|
|
125
|
-
const i = z().palette.mode === "dark", { associatedBeats: o } = W(), { expandedSplits: l } = V(), { transactions:
|
|
127
|
+
const i = z().palette.mode === "dark", { associatedBeats: o } = W(), { expandedSplits: l } = V(), { transactions: h } = H(), { showInsights: g } = V(), m = t.transaction_type === ut.CREDIT, d = w.useMemo(() => o.find((u) => u.associated_transaction_guid === t.guid), [o, t]);
|
|
126
128
|
return (
|
|
127
129
|
//TODO: implement common/components/ListItemRow.tsx
|
|
128
130
|
/* @__PURE__ */ a(
|
|
@@ -131,7 +133,7 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
131
133
|
clickEventName: it.ON_TRANSACTION_LIST_ITEM_CLICK,
|
|
132
134
|
onClick: n ? () => n(t.guid) : void 0,
|
|
133
135
|
children: [
|
|
134
|
-
/* @__PURE__ */ e(mt, { children: t.parent_guid && l.includes(t.parent_guid) ? /* @__PURE__ */ e(
|
|
136
|
+
/* @__PURE__ */ e(mt, { children: t.parent_guid && l.includes(t.parent_guid) ? /* @__PURE__ */ e(w.Fragment, {}) : /* @__PURE__ */ e(
|
|
135
137
|
P,
|
|
136
138
|
{
|
|
137
139
|
categoryGuid: t.top_level_category_guid || "",
|
|
@@ -139,7 +141,7 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
139
141
|
}
|
|
140
142
|
) }),
|
|
141
143
|
/* @__PURE__ */ e(
|
|
142
|
-
|
|
144
|
+
pt,
|
|
143
145
|
{
|
|
144
146
|
disableTypography: !0,
|
|
145
147
|
secondary: /* @__PURE__ */ a(c, { direction: "row", justifyContent: "space-between", children: [
|
|
@@ -155,28 +157,28 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
155
157
|
),
|
|
156
158
|
t.is_hidden && /* @__PURE__ */ e(E, { name: "visibility_off", size: 16 }),
|
|
157
159
|
t.has_been_split && /* @__PURE__ */ e(E, { name: "call_split", size: 16 }),
|
|
158
|
-
/* @__PURE__ */ e(
|
|
160
|
+
/* @__PURE__ */ e(f, { variant: "caption", children: t.has_been_split ? h.split_transaction_category_label : t.category })
|
|
159
161
|
] }),
|
|
160
|
-
|
|
161
|
-
|
|
162
|
+
d && g && /* @__PURE__ */ e(
|
|
163
|
+
f,
|
|
162
164
|
{
|
|
163
165
|
bold: !0,
|
|
164
166
|
color: "action.active",
|
|
165
|
-
onClick: (
|
|
166
|
-
|
|
167
|
+
onClick: (u) => {
|
|
168
|
+
u.stopPropagation(), u.preventDefault(), $t(d.guid);
|
|
167
169
|
},
|
|
168
170
|
variant: "caption",
|
|
169
|
-
children:
|
|
171
|
+
children: d.short_title
|
|
170
172
|
}
|
|
171
173
|
)
|
|
172
174
|
] }),
|
|
173
175
|
children: /* @__PURE__ */ a(c, { direction: "row", justifyContent: "space-between", sx: { gap: 8 }, children: [
|
|
174
|
-
/* @__PURE__ */ a(
|
|
175
|
-
t.is_hidden &&
|
|
176
|
+
/* @__PURE__ */ a(f, { bold: !0, variant: "body1", children: [
|
|
177
|
+
t.is_hidden && h.hide_trnx_cancel_hidden_note,
|
|
176
178
|
t.payee || t.description || t.feed_description
|
|
177
179
|
] }),
|
|
178
180
|
/* @__PURE__ */ a(
|
|
179
|
-
|
|
181
|
+
f,
|
|
180
182
|
{
|
|
181
183
|
bold: !0,
|
|
182
184
|
color: m ? "success.main" : "text.primary",
|
|
@@ -198,12 +200,12 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
198
200
|
}, Mt = O(Et), Rt = ({
|
|
199
201
|
bgcolor: t = "background.default",
|
|
200
202
|
children: n
|
|
201
|
-
}) => /* @__PURE__ */ e(A, { display: "inline-block", sx: { bgcolor: t, py: 6, width: "100%" }, children: /* @__PURE__ */ e(
|
|
203
|
+
}) => /* @__PURE__ */ e(A, { display: "inline-block", sx: { bgcolor: t, py: 6, width: "100%" }, children: /* @__PURE__ */ e(f, { bold: !0, sx: { pl: 24 }, variant: "caption", children: n }) }), Wt = ({ showIcon: t = !0, showSubtitle: n = !0 }) => {
|
|
202
204
|
const { transactions: r } = H();
|
|
203
205
|
return /* @__PURE__ */ a(c, { alignItems: "center", gap: 12, height: "auto", mb: 24, mt: 24, children: [
|
|
204
206
|
t && /* @__PURE__ */ e(et, { color: "action", sx: { fontSize: 32 } }),
|
|
205
|
-
/* @__PURE__ */ e(
|
|
206
|
-
n && /* @__PURE__ */ e(
|
|
207
|
+
/* @__PURE__ */ e(f, { bold: !0, color: "text.secondary", variant: "body2", children: r.zero_state_no_transactions }),
|
|
208
|
+
n && /* @__PURE__ */ e(f, { color: "text.secondary", variant: "caption", children: r.zero_state_there_are_no_transactions })
|
|
207
209
|
] });
|
|
208
210
|
}, zt = O(Wt), G = (t, n) => {
|
|
209
211
|
const r = R(n[t].date), i = R(n[t - 1]?.date);
|
|
@@ -229,32 +231,32 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
229
231
|
loader: i = /* @__PURE__ */ e(Q, { label: "Loading", size: 40 }),
|
|
230
232
|
onClick: o,
|
|
231
233
|
showInsights: l = !1,
|
|
232
|
-
showLoader:
|
|
233
|
-
showHiddenTransactions:
|
|
234
|
+
showLoader: h = !1,
|
|
235
|
+
showHiddenTransactions: g = !1,
|
|
234
236
|
transaction: m,
|
|
235
|
-
width:
|
|
236
|
-
zeroState:
|
|
237
|
+
width: d = "100%",
|
|
238
|
+
zeroState: u = /* @__PURE__ */ e(zt, {})
|
|
237
239
|
}) => {
|
|
238
|
-
const { isLoading:
|
|
239
|
-
const
|
|
240
|
-
return
|
|
241
|
-
}, [y,
|
|
242
|
-
const
|
|
243
|
-
if (
|
|
244
|
-
v(
|
|
240
|
+
const { isLoading: x, sortedTransactions: y } = W(), p = w.useMemo(() => {
|
|
241
|
+
const b = n ? y.filter(n) : y, _ = m ?? b;
|
|
242
|
+
return g ? _ : _.filter((s) => !s.is_hidden);
|
|
243
|
+
}, [y, g, m]), { clearExpandedSplits: S, setShowInsights: I, toggleSplit: v } = V(), { onEvent: T } = dt(), M = (b) => {
|
|
244
|
+
const _ = p.find((s) => s.guid === b);
|
|
245
|
+
if (_?.has_been_split) {
|
|
246
|
+
v(_.guid);
|
|
245
247
|
return;
|
|
246
248
|
}
|
|
247
249
|
T(bt.ACCOUNT_DETAILS_CLICK_TRANSACTION, {
|
|
248
|
-
account_guid:
|
|
249
|
-
transaction_guid:
|
|
250
|
-
}), o?.(
|
|
251
|
-
}, L =
|
|
252
|
-
count:
|
|
250
|
+
account_guid: _?.account_guid,
|
|
251
|
+
transaction_guid: b
|
|
252
|
+
}), o?.(b);
|
|
253
|
+
}, L = w.useRef(null), k = at({
|
|
254
|
+
count: p.length,
|
|
253
255
|
getScrollElement: () => L.current,
|
|
254
|
-
estimateSize: (
|
|
256
|
+
estimateSize: (b) => U + (G(b, p) ? F : 0),
|
|
255
257
|
overscan: 5
|
|
256
258
|
});
|
|
257
|
-
return
|
|
259
|
+
return w.useEffect(() => k.measure(), [p]), w.useEffect(() => I(l), [l]), w.useEffect(() => () => S(), []), /* @__PURE__ */ e(lt, { component: "div", role: "list", sx: { width: d }, children: /* @__PURE__ */ e(A, { height: r, overflow: "auto", ref: L, role: "presentation", width: d, children: /* @__PURE__ */ a(
|
|
258
260
|
A,
|
|
259
261
|
{
|
|
260
262
|
height: (
|
|
@@ -265,10 +267,10 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
265
267
|
role: "presentation",
|
|
266
268
|
width: "100%",
|
|
267
269
|
children: [
|
|
268
|
-
(
|
|
269
|
-
!
|
|
270
|
-
!
|
|
271
|
-
const
|
|
270
|
+
(x || h) && i,
|
|
271
|
+
!x && !h && k.getVirtualItems().length === 0 && u,
|
|
272
|
+
!x && !h && k.getVirtualItems().length > 0 && k.getVirtualItems().map((b) => {
|
|
273
|
+
const _ = p[b.index], s = G(b.index, p), C = Bt(b.index, p), D = U + (s ? F : 0);
|
|
272
274
|
return /* @__PURE__ */ a(
|
|
273
275
|
A,
|
|
274
276
|
{
|
|
@@ -276,23 +278,23 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
276
278
|
sx: {
|
|
277
279
|
height: D,
|
|
278
280
|
position: "absolute",
|
|
279
|
-
transform: `translateY(${
|
|
281
|
+
transform: `translateY(${b.start}px)`,
|
|
280
282
|
width: "100%",
|
|
281
283
|
bgcolor: "background.paper"
|
|
282
284
|
},
|
|
283
285
|
children: [
|
|
284
|
-
s && /* @__PURE__ */ e(Rt, { bgcolor: t, children: xt(
|
|
286
|
+
s && /* @__PURE__ */ e(Rt, { bgcolor: t, children: xt(_.date) }),
|
|
285
287
|
/* @__PURE__ */ e(
|
|
286
288
|
Mt,
|
|
287
289
|
{
|
|
288
290
|
...o && { onClick: M },
|
|
289
|
-
transaction:
|
|
291
|
+
transaction: _
|
|
290
292
|
}
|
|
291
293
|
),
|
|
292
294
|
/* @__PURE__ */ e(st, { sx: { ml: C ? 68 : 0 } })
|
|
293
295
|
]
|
|
294
296
|
},
|
|
295
|
-
|
|
297
|
+
_.guid
|
|
296
298
|
);
|
|
297
299
|
})
|
|
298
300
|
]
|
|
@@ -319,7 +321,7 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
319
321
|
trendAmount: o,
|
|
320
322
|
trendAmountLabel: l
|
|
321
323
|
}) => {
|
|
322
|
-
const
|
|
324
|
+
const h = z();
|
|
323
325
|
return /* @__PURE__ */ a(
|
|
324
326
|
c,
|
|
325
327
|
{
|
|
@@ -346,7 +348,7 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
346
348
|
children: /* @__PURE__ */ e("rect", { fill: t, height: "12", rx: "2", width: "12" })
|
|
347
349
|
}
|
|
348
350
|
),
|
|
349
|
-
/* @__PURE__ */ a(
|
|
351
|
+
/* @__PURE__ */ a(f, { id: "chartLegendLabel", variant: "caption", children: [
|
|
350
352
|
i,
|
|
351
353
|
": ",
|
|
352
354
|
r
|
|
@@ -362,10 +364,10 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
362
364
|
height: "12",
|
|
363
365
|
role: "figure",
|
|
364
366
|
width: "12",
|
|
365
|
-
children: /* @__PURE__ */ e("rect", { fill:
|
|
367
|
+
children: /* @__PURE__ */ e("rect", { fill: h.palette.chart.chart7, height: "12", rx: "2", width: "12" })
|
|
366
368
|
}
|
|
367
369
|
),
|
|
368
|
-
/* @__PURE__ */ a(
|
|
370
|
+
/* @__PURE__ */ a(f, { id: "chartLegendLabel", variant: "caption", children: [
|
|
369
371
|
l,
|
|
370
372
|
": ",
|
|
371
373
|
o
|
|
@@ -385,29 +387,29 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
385
387
|
removeSelectedTabColorChange: i,
|
|
386
388
|
selectedTabIndex: o,
|
|
387
389
|
style: l,
|
|
388
|
-
...
|
|
390
|
+
...h
|
|
389
391
|
}) => {
|
|
390
|
-
const
|
|
392
|
+
const g = z(), { ariaLabel: m, formattedAmount: d } = n[r], u = o === r ? "bold" : 400, x = l.x ?? 0, y = l.y ?? 0, p = l.width ?? 0, S = l.height ?? 0;
|
|
391
393
|
return /* @__PURE__ */ a("g", { "aria-label": m, children: [
|
|
392
394
|
/* @__PURE__ */ e(
|
|
393
395
|
"path",
|
|
394
396
|
{
|
|
395
|
-
...
|
|
396
|
-
d: jt(
|
|
397
|
+
...h,
|
|
398
|
+
d: jt(p, S),
|
|
397
399
|
fill: t[r],
|
|
398
|
-
transform: `translate(${
|
|
400
|
+
transform: `translate(${x}, ${y})`
|
|
399
401
|
}
|
|
400
402
|
),
|
|
401
403
|
/* @__PURE__ */ e(
|
|
402
404
|
"text",
|
|
403
405
|
{
|
|
404
|
-
fill:
|
|
406
|
+
fill: g.palette.text.primary,
|
|
405
407
|
fontSize: 11,
|
|
406
|
-
fontWeight: i ? "bold" :
|
|
408
|
+
fontWeight: i ? "bold" : u,
|
|
407
409
|
textAnchor: "middle",
|
|
408
|
-
x:
|
|
410
|
+
x: x + p / 2,
|
|
409
411
|
y: y - 8,
|
|
410
|
-
children:
|
|
412
|
+
children: d
|
|
411
413
|
}
|
|
412
414
|
)
|
|
413
415
|
] });
|
|
@@ -423,13 +425,13 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
423
425
|
top: 20
|
|
424
426
|
},
|
|
425
427
|
onBarClick: l,
|
|
426
|
-
legendPosition:
|
|
427
|
-
monthlyAmountLabel:
|
|
428
|
+
legendPosition: h = "bottom",
|
|
429
|
+
monthlyAmountLabel: g,
|
|
428
430
|
removeSelectedTabColorChange: m,
|
|
429
|
-
selectedTabIndex:
|
|
430
|
-
trendAmountLabel:
|
|
431
|
+
selectedTabIndex: d,
|
|
432
|
+
trendAmountLabel: u
|
|
431
433
|
}) => {
|
|
432
|
-
const
|
|
434
|
+
const x = w.useRef(null), { height: y, width: p } = Ot(x), S = z(), I = w.useMemo(() => {
|
|
433
435
|
const s = r.map(({ value: $ }) => $), C = Math.min(...s), D = Math.max(...s);
|
|
434
436
|
return {
|
|
435
437
|
series: [
|
|
@@ -453,33 +455,33 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
453
455
|
}
|
|
454
456
|
]
|
|
455
457
|
};
|
|
456
|
-
}, [r]), v =
|
|
458
|
+
}, [r]), v = w.useMemo(() => {
|
|
457
459
|
const s = `${n}80`;
|
|
458
|
-
return m ? r.map(() => n) :
|
|
459
|
-
}, [n, r,
|
|
460
|
-
() => r[
|
|
461
|
-
[r,
|
|
460
|
+
return m ? r.map(() => n) : d == null ? [...new Array(r.length - 1).fill(s), n] : r.map((C, D) => D === d ? n : s);
|
|
461
|
+
}, [n, r, d]), T = w.useMemo(
|
|
462
|
+
() => r[d ?? r.length - 1],
|
|
463
|
+
[r, d]
|
|
462
464
|
), L = r.reduce((s, C) => Math.min(s, C.value), 1 / 0) < 0, k = /* @__PURE__ */ e(
|
|
463
465
|
Ht,
|
|
464
466
|
{
|
|
465
467
|
color: n,
|
|
466
468
|
legendStyle: { pl: o.left },
|
|
467
469
|
monthlyAmount: T.formattedAmount,
|
|
468
|
-
monthlyAmountLabel:
|
|
470
|
+
monthlyAmountLabel: g,
|
|
469
471
|
trendAmount: t?.formattedAverage,
|
|
470
|
-
trendAmountLabel:
|
|
472
|
+
trendAmountLabel: u
|
|
471
473
|
}
|
|
472
|
-
),
|
|
474
|
+
), b = g || u, _ = (s, { dataIndex: C }) => l?.(C);
|
|
473
475
|
return /* @__PURE__ */ a(c, { sx: { alignItems: "center", width: "100%" }, children: [
|
|
474
|
-
|
|
476
|
+
b && h === "top" && k,
|
|
475
477
|
/* @__PURE__ */ e(
|
|
476
478
|
A,
|
|
477
479
|
{
|
|
478
|
-
ref:
|
|
480
|
+
ref: x,
|
|
479
481
|
sx: {
|
|
480
482
|
height: i || 122,
|
|
481
|
-
mb:
|
|
482
|
-
mt:
|
|
483
|
+
mb: h === "top" ? 0 : 4,
|
|
484
|
+
mt: h === "top" ? 4 : 0,
|
|
483
485
|
touchAction: "pan-y",
|
|
484
486
|
width: "100%",
|
|
485
487
|
"& svg": {
|
|
@@ -501,7 +503,7 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
501
503
|
top: o.top || 45
|
|
502
504
|
},
|
|
503
505
|
series: I.series,
|
|
504
|
-
width:
|
|
506
|
+
width: p,
|
|
505
507
|
xAxis: I.xAxis,
|
|
506
508
|
yAxis: [{ width: 0 }],
|
|
507
509
|
children: [
|
|
@@ -535,7 +537,7 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
535
537
|
slots: {
|
|
536
538
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
537
539
|
axisTickLabel: ({ text: s, ownerState: C, ...D }) => {
|
|
538
|
-
const $ = r[
|
|
540
|
+
const $ = r[d ?? r.length - 1]?.label;
|
|
539
541
|
return /* @__PURE__ */ e(
|
|
540
542
|
"text",
|
|
541
543
|
{
|
|
@@ -568,7 +570,7 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
568
570
|
/* @__PURE__ */ e(
|
|
569
571
|
Tt,
|
|
570
572
|
{
|
|
571
|
-
onItemClick:
|
|
573
|
+
onItemClick: _,
|
|
572
574
|
slots: {
|
|
573
575
|
bar: (s) => {
|
|
574
576
|
const { ownerState: C, ...D } = s;
|
|
@@ -580,7 +582,7 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
580
582
|
data: r,
|
|
581
583
|
dataIndex: C.dataIndex,
|
|
582
584
|
removeSelectedTabColorChange: m,
|
|
583
|
-
selectedTabIndex:
|
|
585
|
+
selectedTabIndex: d ?? r.length - 1,
|
|
584
586
|
style: {
|
|
585
587
|
height: s.height,
|
|
586
588
|
x: s.x,
|
|
@@ -598,7 +600,7 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
598
600
|
)
|
|
599
601
|
}
|
|
600
602
|
),
|
|
601
|
-
|
|
603
|
+
b && h === "bottom" && k
|
|
602
604
|
] });
|
|
603
605
|
}, Ft = ({
|
|
604
606
|
ariaLabel: t,
|
|
@@ -607,15 +609,15 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
607
609
|
data: i,
|
|
608
610
|
defaultSelectedIndex: o = 0,
|
|
609
611
|
icon: l,
|
|
610
|
-
isOpen:
|
|
611
|
-
onClose:
|
|
612
|
+
isOpen: h = !1,
|
|
613
|
+
onClose: g,
|
|
612
614
|
onTabChange: m,
|
|
613
|
-
tipSection:
|
|
614
|
-
title:
|
|
615
|
-
transactionListProps:
|
|
615
|
+
tipSection: d,
|
|
616
|
+
title: u,
|
|
617
|
+
transactionListProps: x = {}
|
|
616
618
|
}) => {
|
|
617
|
-
const { common: y, transactions:
|
|
618
|
-
return S ? /* @__PURE__ */ e(Dt, { ariaLabelClose: y.close_aria, isOpen:
|
|
619
|
+
const { common: y, transactions: p } = H(), { isCopyLoaded: S } = ht(), { sortedTransactionsWithSplits: I, tags: v } = W();
|
|
620
|
+
return S ? /* @__PURE__ */ e(Dt, { ariaLabelClose: y.close_aria, isOpen: h, onClose: g, title: u, children: /* @__PURE__ */ e(
|
|
619
621
|
Lt,
|
|
620
622
|
{
|
|
621
623
|
ariaLabel: t,
|
|
@@ -634,8 +636,8 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
634
636
|
defaultSelectedIndex: o,
|
|
635
637
|
icon: l,
|
|
636
638
|
onTabChange: m,
|
|
637
|
-
tipSection:
|
|
638
|
-
children: () => /* @__PURE__ */ a(
|
|
639
|
+
tipSection: d,
|
|
640
|
+
children: () => /* @__PURE__ */ a(w.Fragment, { children: [
|
|
639
641
|
/* @__PURE__ */ a(
|
|
640
642
|
c,
|
|
641
643
|
{
|
|
@@ -651,43 +653,44 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
651
653
|
px: 24
|
|
652
654
|
},
|
|
653
655
|
children: [
|
|
654
|
-
/* @__PURE__ */ e(
|
|
655
|
-
(
|
|
656
|
+
/* @__PURE__ */ e(f, { bold: !0, variant: "body1", children: p.transactions_title }),
|
|
657
|
+
(x?.transaction || I.length > 0) && /* @__PURE__ */ e(
|
|
656
658
|
Y,
|
|
657
659
|
{
|
|
658
660
|
onClick: () => {
|
|
659
661
|
ot(
|
|
660
|
-
|
|
662
|
+
x?.transaction || I,
|
|
661
663
|
v
|
|
662
664
|
);
|
|
663
665
|
},
|
|
664
666
|
startIcon: /* @__PURE__ */ e(rt, { name: "ios_share" }),
|
|
665
667
|
sx: { height: 28 },
|
|
666
|
-
children: /* @__PURE__ */ e(
|
|
668
|
+
children: /* @__PURE__ */ e(f, { bold: !0, variant: "body2", children: p.export_csv_btn })
|
|
667
669
|
}
|
|
668
670
|
)
|
|
669
671
|
]
|
|
670
672
|
}
|
|
671
673
|
),
|
|
672
|
-
/* @__PURE__ */ e(Nt, { ...
|
|
674
|
+
/* @__PURE__ */ e(Nt, { ...x })
|
|
673
675
|
] })
|
|
674
676
|
}
|
|
675
677
|
) }) : /* @__PURE__ */ e(Q, {});
|
|
676
678
|
}, De = Ft, Kt = ({
|
|
677
679
|
amount: t,
|
|
678
680
|
borderRadius: n = "2px",
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
681
|
+
count: r,
|
|
682
|
+
completeColor: i = "success.main",
|
|
683
|
+
icon: o,
|
|
684
|
+
label: l,
|
|
685
|
+
leftLabel: h,
|
|
686
|
+
percentComplete: g = 0,
|
|
687
|
+
rightLabel: m,
|
|
688
|
+
sx: d
|
|
689
|
+
}) => /* @__PURE__ */ a(c, { className: "details-container", sx: { p: 24, width: "100%", gap: 16, ...d }, children: [
|
|
687
690
|
/* @__PURE__ */ a(c, { sx: { alignItems: "center", flexDirection: "row", gap: 12 }, children: [
|
|
688
|
-
/* @__PURE__ */ e(A, { children:
|
|
691
|
+
/* @__PURE__ */ e(A, { children: o }),
|
|
689
692
|
/* @__PURE__ */ a(c, { children: [
|
|
690
|
-
/* @__PURE__ */ e(N, { variant: "body2", children:
|
|
693
|
+
typeof r == "string" ? /* @__PURE__ */ e(N, { variant: "body2", children: l }) : r,
|
|
691
694
|
typeof t == "string" ? /* @__PURE__ */ e(tt, { children: t }) : t
|
|
692
695
|
] })
|
|
693
696
|
] }),
|
|
@@ -699,28 +702,33 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
699
702
|
bgcolor: "divider",
|
|
700
703
|
borderRadius: n,
|
|
701
704
|
flexDirection: "row",
|
|
702
|
-
height: 16,
|
|
705
|
+
height: r ? 20 : 16,
|
|
703
706
|
width: "100%"
|
|
704
707
|
},
|
|
705
708
|
children: /* @__PURE__ */ e(
|
|
706
709
|
A,
|
|
707
710
|
{
|
|
708
711
|
sx: {
|
|
709
|
-
|
|
712
|
+
alignItems: "center",
|
|
713
|
+
display: "flex",
|
|
714
|
+
py: 2,
|
|
715
|
+
px: 12,
|
|
716
|
+
bgcolor: i,
|
|
710
717
|
borderRadius: n,
|
|
711
|
-
height: 16,
|
|
712
|
-
width: `${
|
|
713
|
-
}
|
|
718
|
+
height: r ? 20 : 16,
|
|
719
|
+
width: `${g}%`
|
|
720
|
+
},
|
|
721
|
+
children: /* @__PURE__ */ e(f, { sx: { color: "primary.dark" }, variant: "caption", children: r })
|
|
714
722
|
}
|
|
715
723
|
)
|
|
716
724
|
}
|
|
717
725
|
),
|
|
718
|
-
/* @__PURE__ */ a(c, { sx: { flexDirection: "row", justifyContent: "space-between" }, children: [
|
|
719
|
-
/* @__PURE__ */ e(
|
|
720
|
-
/* @__PURE__ */ e(
|
|
726
|
+
!r && /* @__PURE__ */ a(c, { sx: { flexDirection: "row", justifyContent: "space-between" }, children: [
|
|
727
|
+
/* @__PURE__ */ e(f, { variant: "body2", children: h }),
|
|
728
|
+
/* @__PURE__ */ e(f, { variant: "body2", children: m })
|
|
721
729
|
] })
|
|
722
730
|
] })
|
|
723
|
-
] })
|
|
731
|
+
] }), Se = Kt, Ie = ({
|
|
724
732
|
title: t,
|
|
725
733
|
description: n,
|
|
726
734
|
callToAction: r,
|
|
@@ -738,7 +746,7 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
738
746
|
pt: 4,
|
|
739
747
|
pl: 8
|
|
740
748
|
},
|
|
741
|
-
children: /* @__PURE__ */ e(
|
|
749
|
+
children: /* @__PURE__ */ e(f, { bold: !0, variant: "body1", children: t })
|
|
742
750
|
}
|
|
743
751
|
),
|
|
744
752
|
/* @__PURE__ */ a(
|
|
@@ -17,8 +17,8 @@ import { endOfMonth as ue } from "date-fns/endOfMonth";
|
|
|
17
17
|
import { parseISO as me } from "date-fns/parseISO";
|
|
18
18
|
import J from "@mui/material/Button";
|
|
19
19
|
import { Delete as pe, Add as ye, ReceiptLong as he } from "@mxenabled/mx-icons";
|
|
20
|
-
import { T as V, u as fe, S as ge, a as Ce } from "./EmbeddedCard-
|
|
21
|
-
import { T as be } from "./TransactionDetails-
|
|
20
|
+
import { T as V, u as fe, S as ge, a as Ce } from "./EmbeddedCard-xngm4vLT.mjs";
|
|
21
|
+
import { T as be } from "./TransactionDetails-KklNHa-s.mjs";
|
|
22
22
|
import { addYears as j } from "date-fns/addYears";
|
|
23
23
|
import { getDayOfYear as xe } from "date-fns/getDayOfYear";
|
|
24
24
|
import { setDayOfYear as Se } from "date-fns/setDayOfYear";
|
|
@@ -7,7 +7,7 @@ import R from "@mui/material/Tabs";
|
|
|
7
7
|
import d from "@mui/material/Divider";
|
|
8
8
|
import b 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-CvfRTf-j.mjs";
|
|
11
11
|
import { u as _, i as A, g as f } from "./hooks-BxkfR-Ff.mjs";
|
|
12
12
|
import { R as y, F as N } from "./RepeatingTransaction-DF4vJn_v.mjs";
|
|
13
13
|
import { A as m } from "./Analytics-0Xm_BjHU.mjs";
|
|
@@ -30,7 +30,7 @@ import Q from "@mui/material/ListItemAvatar";
|
|
|
30
30
|
import z from "@mui/material/ListItemText";
|
|
31
31
|
import { f as Le, D as we } from "./DateFormats-BMpMrZpW.mjs";
|
|
32
32
|
import { BarChart as ot } from "@mui/x-charts";
|
|
33
|
-
import { b as it, T as st, u as oe, c as lt, d as ct, E as dt, C as ut } from "./EmbeddedCard-
|
|
33
|
+
import { b as it, T as st, u as oe, c as lt, d as ct, E as dt, C as ut } from "./EmbeddedCard-xngm4vLT.mjs";
|
|
34
34
|
import X from "@mui/material/ListItemButton";
|
|
35
35
|
import Z from "@mui/material/ListItemIcon";
|
|
36
36
|
import { a as $e } from "./CategorySelectorDrawer-Dc9Widy9.mjs";
|
|
@@ -55,8 +55,8 @@ import e3 from "@mui/material/AlertTitle";
|
|
|
55
55
|
import t3 from "@mui/material/Link";
|
|
56
56
|
import n3 from "@mui/material/Paper";
|
|
57
57
|
import { subDays as o3, startOfToday as i3, endOfToday as c3 } from "date-fns";
|
|
58
|
-
import { T as a3 } from "../EmbeddedCard-
|
|
59
|
-
import { T as s3 } from "../TransactionDetails-
|
|
58
|
+
import { T as a3 } from "../EmbeddedCard-xngm4vLT.mjs";
|
|
59
|
+
import { T as s3 } from "../TransactionDetails-KklNHa-s.mjs";
|
|
60
60
|
import { T as r1 } from "../TabContentContainer-j01JYR_7.mjs";
|
|
61
61
|
import { f as d1 } from "../NumberFormatting-QCaNwbjv.mjs";
|
|
62
62
|
import { C as l3 } from "../ConnectionsDrawer-IA7vnv1J.mjs";
|
package/dist/budgets/index.es.js
CHANGED
|
@@ -36,8 +36,8 @@ import { A as G } from "../Analytics-0Xm_BjHU.mjs";
|
|
|
36
36
|
import Ee from "@mui/material/Tab";
|
|
37
37
|
import et from "@mui/material/Tabs";
|
|
38
38
|
import { e as tt } from "../exportTransactionsToCSV-DgdB3TBt.mjs";
|
|
39
|
-
import { T as Ae } from "../EmbeddedCard-
|
|
40
|
-
import { T as ot, c as nt } from "../TransactionDetails-
|
|
39
|
+
import { T as Ae } from "../EmbeddedCard-xngm4vLT.mjs";
|
|
40
|
+
import { T as ot, c as nt } from "../TransactionDetails-KklNHa-s.mjs";
|
|
41
41
|
import ve from "@mui/material/Card";
|
|
42
42
|
import Te from "@mui/material/CardContent";
|
|
43
43
|
import { S as Be } from "../StatusBar-BK_uYHAB.mjs";
|
|
@@ -46,7 +46,7 @@ import { u as at, b as rt } from "../CategorySelectorDrawer-Dc9Widy9.mjs";
|
|
|
46
46
|
import je from "@mui/material/CardHeader";
|
|
47
47
|
import { subDays as st } from "date-fns/subDays";
|
|
48
48
|
import it from "@mui/material/IconButton";
|
|
49
|
-
import { M as ct } from "../ManageIncome-
|
|
49
|
+
import { M as ct } from "../ManageIncome-CvfRTf-j.mjs";
|
|
50
50
|
import { u as ze } from "../useWidgetLoadTimer-DgN1bTyu.mjs";
|
|
51
51
|
import { W as lt } from "../WidgetContainer-D-pbSa7L.mjs";
|
|
52
52
|
import { u as dt, g as ut, C as mt } from "../BudgetUtil-CLhRnCoX.mjs";
|
|
@@ -18,7 +18,7 @@ import { b as $ } from "../Localization-CPkpIwIx.mjs";
|
|
|
18
18
|
import { M as Je } from "../MiniWidgetContainer-Bhkv-hpz.mjs";
|
|
19
19
|
import { E as Ze } from "../EmptyState-DHAkGsjk.mjs";
|
|
20
20
|
import { u as Fe } from "../useWidgetLoadTimer-DgN1bTyu.mjs";
|
|
21
|
-
import { R as et } from "../RecurringSettings-
|
|
21
|
+
import { R as et } from "../RecurringSettings-DJIUgK5A.mjs";
|
|
22
22
|
import tt from "@mui/material/Tabs";
|
|
23
23
|
import Ce from "@mui/material/Tab";
|
|
24
24
|
import { getUnixTime as z } from "date-fns/getUnixTime";
|
|
@@ -36,7 +36,7 @@ import { alpha as it, keyframes as at } from "@mui/material/styles";
|
|
|
36
36
|
import { DataGridPro as rt } from "@mui/x-data-grid-pro";
|
|
37
37
|
import { T as we } from "../TabContentContainer-j01JYR_7.mjs";
|
|
38
38
|
import G from "@mui/material/Button";
|
|
39
|
-
import { M as st, S as ct, i as lt, d as Se, c as dt } from "../ManageIncome-
|
|
39
|
+
import { M as st, S as ct, i as lt, d as Se, c as dt } from "../ManageIncome-CvfRTf-j.mjs";
|
|
40
40
|
import { D as Ge } from "../Drawer-Bbe4AMB1.mjs";
|
|
41
41
|
import { subDays as Me } from "date-fns/subDays";
|
|
42
42
|
import { endOfToday as mt } from "date-fns/endOfToday";
|
|
@@ -46,7 +46,7 @@ import { A as K } from "../Account-BiB1F8lL.mjs";
|
|
|
46
46
|
import { formatISO as pt } from "date-fns/formatISO";
|
|
47
47
|
import { fromUnixTime as De } from "date-fns/fromUnixTime";
|
|
48
48
|
import { startOfMonth as ht } from "date-fns/startOfMonth";
|
|
49
|
-
import { S as ft, a as gt } from "../EmbeddedCard-
|
|
49
|
+
import { S as ft, a as gt } from "../EmbeddedCard-xngm4vLT.mjs";
|
|
50
50
|
import { c as ve } from "../RecurringTransactions-BbZ6MQsX.mjs";
|
|
51
51
|
import { h as bt } from "../DateUtil-wcYTmDRD.mjs";
|
|
52
52
|
import { F as xt, R as Ae } from "../RepeatingTransaction-DF4vJn_v.mjs";
|
|
@@ -41,7 +41,7 @@ import { S as it, c as zn } from "../RecurringTransactions-BbZ6MQsX.mjs";
|
|
|
41
41
|
import { A as He } from "../Account-BiB1F8lL.mjs";
|
|
42
42
|
import { S as Gn } from "../StatusBar-BK_uYHAB.mjs";
|
|
43
43
|
import { h as Mt } from "../DateUtil-wcYTmDRD.mjs";
|
|
44
|
-
import { T as Hn, s as Nn, h as jn, S as Kn, a as Vn } from "../EmbeddedCard-
|
|
44
|
+
import { T as Hn, s as Nn, h as jn, S as Kn, a as Vn } from "../EmbeddedCard-xngm4vLT.mjs";
|
|
45
45
|
import { f as Yn, D as Xn } from "../DateFormats-BMpMrZpW.mjs";
|
|
46
46
|
import { T as de } from "../TabContentContainer-j01JYR_7.mjs";
|
|
47
47
|
import qn from "@mui/material/useMediaQuery";
|
|
@@ -56,11 +56,11 @@ import { formatISO as oo } from "date-fns/formatISO";
|
|
|
56
56
|
import { fromUnixTime as ro } from "date-fns/fromUnixTime";
|
|
57
57
|
import { startOfToday as st } from "date-fns/startOfToday";
|
|
58
58
|
import { subDays as ao } from "date-fns/subDays";
|
|
59
|
-
import { c as io, d as ct, S as so, i as co } from "../ManageIncome-
|
|
59
|
+
import { c as io, d as ct, S as so, i as co } from "../ManageIncome-CvfRTf-j.mjs";
|
|
60
60
|
import { LocalizationProvider as lo, DatePicker as po, StaticDatePicker as _o } from "@mui/x-date-pickers";
|
|
61
61
|
import { AdapterDateFns as Tt } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
62
62
|
import { F as At, R as Ot } from "../RepeatingTransaction-DF4vJn_v.mjs";
|
|
63
|
-
import { R as uo } from "../RecurringSettings-
|
|
63
|
+
import { R as uo } from "../RecurringSettings-DJIUgK5A.mjs";
|
|
64
64
|
import { LocalizationProvider as ho } from "@mui/x-date-pickers/LocalizationProvider";
|
|
65
65
|
import { format as mo } from "date-fns/format";
|
|
66
66
|
import go from "@mui/lab/Timeline";
|
|
@@ -3,12 +3,13 @@ interface StatusIndicatorProps {
|
|
|
3
3
|
amount: string | React.ReactNode;
|
|
4
4
|
borderRadius?: string;
|
|
5
5
|
completeColor?: string;
|
|
6
|
+
count?: string;
|
|
6
7
|
icon: React.ReactNode;
|
|
7
|
-
label: string;
|
|
8
|
+
label: string | React.ReactNode;
|
|
8
9
|
leftLabel?: string;
|
|
9
10
|
percentComplete?: number;
|
|
10
11
|
rightLabel?: string;
|
|
11
12
|
sx?: SxProps;
|
|
12
13
|
}
|
|
13
|
-
declare const StatusIndicator: ({ amount, borderRadius, completeColor, icon, label, leftLabel, percentComplete, rightLabel, sx, }: StatusIndicatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
declare const StatusIndicator: ({ amount, borderRadius, count, completeColor, icon, label, leftLabel, percentComplete, rightLabel, sx, }: StatusIndicatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
15
|
export default StatusIndicator;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { B as $6 } from "../BeatStore-C6CAT-ce.mjs";
|
|
2
|
-
import { e as T, B as Y1, b as Q1 } from "../EmbeddedCard-
|
|
3
|
-
import { f as t5, C as r5, E as i5 } from "../EmbeddedCard-
|
|
2
|
+
import { e as T, B as Y1, b as Q1 } from "../EmbeddedCard-xngm4vLT.mjs";
|
|
3
|
+
import { f as t5, C as r5, E as i5 } from "../EmbeddedCard-xngm4vLT.mjs";
|
|
4
4
|
import { jsx as t, jsxs as s, Fragment as O } from "react/jsx-runtime";
|
|
5
5
|
import * as e from "react";
|
|
6
6
|
import Z, { forwardRef as H, useRef as c1, useEffect as X1, useState as _, useLayoutEffect as D1 } from "react";
|
|
@@ -6,8 +6,8 @@ import { endOfToday as J } from "date-fns/endOfToday";
|
|
|
6
6
|
import { startOfMonth as k } from "date-fns/startOfMonth";
|
|
7
7
|
import { startOfToday as Q } from "date-fns/startOfToday";
|
|
8
8
|
import { subDays as ee } from "date-fns/subDays";
|
|
9
|
-
import { R as _e } from "../RecurringSettings-
|
|
10
|
-
import { M as Yn } from "../RecurringSettings-
|
|
9
|
+
import { R as _e } from "../RecurringSettings-DJIUgK5A.mjs";
|
|
10
|
+
import { M as Yn } from "../RecurringSettings-DJIUgK5A.mjs";
|
|
11
11
|
import { addMonths as He } from "date-fns/addMonths";
|
|
12
12
|
import { subMonths as $e } from "date-fns/subMonths";
|
|
13
13
|
import { isBefore as Be } from "date-fns/isBefore";
|
|
@@ -48,8 +48,8 @@ import { g as ye, d as dt } from "../RecurringTransactions-BbZ6MQsX.mjs";
|
|
|
48
48
|
import ut from "@mui/material/ListItemAvatar";
|
|
49
49
|
import mt from "@mui/material/ListItemButton";
|
|
50
50
|
import pt from "@mui/material/ListItemText";
|
|
51
|
-
import { b as gt } from "../ManageIncome-
|
|
52
|
-
import { c as qn, M as Zn, S as Xn } from "../ManageIncome-
|
|
51
|
+
import { b as gt } from "../ManageIncome-CvfRTf-j.mjs";
|
|
52
|
+
import { c as qn, M as Zn, S as Xn } from "../ManageIncome-CvfRTf-j.mjs";
|
|
53
53
|
import { f as E } from "../NumberFormatting-QCaNwbjv.mjs";
|
|
54
54
|
import { D as ie } from "../Drawer-Bbe4AMB1.mjs";
|
|
55
55
|
import O from "@mui/material/Box";
|
|
@@ -19,8 +19,8 @@ import { startOfToday as q } from "date-fns/startOfToday";
|
|
|
19
19
|
import St from "@mui/material/Button";
|
|
20
20
|
import { useTheme as Tt } from "@mui/material";
|
|
21
21
|
import { e as Mt } from "../exportTransactionsToCSV-DgdB3TBt.mjs";
|
|
22
|
-
import { T as Dt } from "../EmbeddedCard-
|
|
23
|
-
import { T as xt } from "../TransactionDetails-
|
|
22
|
+
import { T as Dt } from "../EmbeddedCard-xngm4vLT.mjs";
|
|
23
|
+
import { T as xt } from "../TransactionDetails-KklNHa-s.mjs";
|
|
24
24
|
import vt from "@mui/material/Collapse";
|
|
25
25
|
import wt from "@mui/material/Divider";
|
|
26
26
|
import J from "@mui/material/List";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { T as wa } from "../TransactionApi-Ck5Ua-7F.mjs";
|
|
2
|
-
import { C as Me, D as Re, M as Be, a as He, T as Pe } from "../TransactionDetails-
|
|
3
|
-
import { B as Da, b as Ia } from "../TransactionDetails-
|
|
2
|
+
import { C as Me, D as Re, M as Be, a as He, T as Pe } from "../TransactionDetails-KklNHa-s.mjs";
|
|
3
|
+
import { B as Da, b as Ia } from "../TransactionDetails-KklNHa-s.mjs";
|
|
4
4
|
import { e as $e } from "../exportTransactionsToCSV-DgdB3TBt.mjs";
|
|
5
5
|
import { O as Na } from "../exportTransactionsToCSV-DgdB3TBt.mjs";
|
|
6
6
|
import { S as Z, D as Ve } from "../TransactionStore-BUsgGRL1.mjs";
|
|
7
7
|
import { T as Oa } from "../TransactionStore-BUsgGRL1.mjs";
|
|
8
|
-
import { u as B, T as We } from "../EmbeddedCard-
|
|
9
|
-
import { a as La } from "../EmbeddedCard-
|
|
8
|
+
import { u as B, T as We } from "../EmbeddedCard-xngm4vLT.mjs";
|
|
9
|
+
import { a as La } from "../EmbeddedCard-xngm4vLT.mjs";
|
|
10
10
|
import { E as Ra } from "../ExportCsvAction-CHCmCCqf.mjs";
|
|
11
11
|
import { jsxs as _, jsx as e } from "react/jsx-runtime";
|
|
12
12
|
import m from "react";
|
package/dist/trends/index.es.js
CHANGED
|
@@ -35,8 +35,8 @@ import { useGridApiContext as jt, useGridRootProps as Ut, DataGridPro as Xt } fr
|
|
|
35
35
|
import Zt from "@mui/material/Badge";
|
|
36
36
|
import Qt from "@mui/material/IconButton";
|
|
37
37
|
import { A as v } from "../Analytics-0Xm_BjHU.mjs";
|
|
38
|
-
import { T as ct } from "../EmbeddedCard-
|
|
39
|
-
import { T as dt } from "../TransactionDetails-
|
|
38
|
+
import { T as ct } from "../EmbeddedCard-xngm4vLT.mjs";
|
|
39
|
+
import { T as dt } from "../TransactionDetails-KklNHa-s.mjs";
|
|
40
40
|
import { D as Pe } from "../Drawer-Bbe4AMB1.mjs";
|
|
41
41
|
import { u as Ie } from "../useWidgetLoadTimer-DgN1bTyu.mjs";
|
|
42
42
|
import { L as Le } from "../Loader-D3rjKx72.mjs";
|