@mx-cartographer/experiences 8.0.21 → 8.0.23
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 +8 -0
- package/dist/{EmbeddedCard-D0Pgpiuq.mjs → EmbeddedCard-qwIhF1VP.mjs} +54 -54
- package/dist/{ManageIncome-DfKQ48km.mjs → ManageIncome-DqqI9HB1.mjs} +2 -2
- package/dist/{RecurringSettings-CpFfjTIL.mjs → RecurringSettings-OBGLelZQ.mjs} +1 -1
- package/dist/{TransactionDetails-D57Cfnwh.mjs → TransactionDetails-I1ny1ecc.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/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 +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -6,11 +6,11 @@ import c from "@mui/material/Stack";
|
|
|
6
6
|
import { Icon as E, P as N, H3 as P, Text as f, MerchantLogo as tt, H2 as et } from "@mxenabled/mxui";
|
|
7
7
|
import { Receipt as rt, Icon as nt } from "@mxenabled/mx-icons";
|
|
8
8
|
import { L as it, O as ot, e as at } from "./exportTransactionsToCSV-DgdB3TBt.mjs";
|
|
9
|
-
import { observer as
|
|
9
|
+
import { observer as H } from "mobx-react-lite";
|
|
10
10
|
import { useVirtualizer as st } from "@tanstack/react-virtual";
|
|
11
11
|
import lt from "@mui/material/Divider";
|
|
12
12
|
import ct from "@mui/material/List";
|
|
13
|
-
import { G as dt, h as W, u as
|
|
13
|
+
import { G as dt, h as W, u as O, g as ht, b as mt } from "./hooks-BxkfR-Ff.mjs";
|
|
14
14
|
import pt from "@mui/material/ListItemAvatar";
|
|
15
15
|
import ut from "@mui/material/ListItemText";
|
|
16
16
|
import { useTheme as z } from "@mui/material/styles";
|
|
@@ -29,7 +29,7 @@ import { ChartContainer as vt, ChartsReferenceLine as j, ChartsXAxis as Tt, BarP
|
|
|
29
29
|
import { D as St } from "./Drawer-Bbe4AMB1.mjs";
|
|
30
30
|
import It from "@mui/material/Card";
|
|
31
31
|
const Lt = ({ message: t, tipAriaLabel: n, onDismiss: r, onAction: i, sx: o }) => {
|
|
32
|
-
const
|
|
32
|
+
const s = i || r, h = i ? "chevron_right" : "close";
|
|
33
33
|
return /* @__PURE__ */ a(
|
|
34
34
|
c,
|
|
35
35
|
{
|
|
@@ -51,11 +51,11 @@ const Lt = ({ message: t, tipAriaLabel: n, onDismiss: r, onAction: i, sx: o }) =
|
|
|
51
51
|
/* @__PURE__ */ e(E, { color: "info", fill: !0, name: "lightbulb", size: 24 }),
|
|
52
52
|
/* @__PURE__ */ e(N, { color: "primary.dark", fontWeight: 400, noWrap: !1, variant: "subtitle2", children: t })
|
|
53
53
|
] }),
|
|
54
|
-
|
|
54
|
+
s && /* @__PURE__ */ e(
|
|
55
55
|
Ct,
|
|
56
56
|
{
|
|
57
57
|
"aria-label": n,
|
|
58
|
-
onClick:
|
|
58
|
+
onClick: s,
|
|
59
59
|
size: "small",
|
|
60
60
|
sx: { minHeight: 0, minWidth: 0, p: 0 },
|
|
61
61
|
children: /* @__PURE__ */ e(E, { color: "primary", fill: !0, name: h, size: 20 })
|
|
@@ -70,14 +70,14 @@ const Lt = ({ message: t, tipAriaLabel: n, onDismiss: r, onAction: i, sx: o }) =
|
|
|
70
70
|
chart: r,
|
|
71
71
|
children: i,
|
|
72
72
|
data: o,
|
|
73
|
-
defaultSelectedIndex:
|
|
73
|
+
defaultSelectedIndex: s,
|
|
74
74
|
icon: h,
|
|
75
75
|
onTabChange: g,
|
|
76
76
|
tipSection: m
|
|
77
77
|
}) => {
|
|
78
78
|
const { heading: d, subHeading: u } = n, x = q(
|
|
79
|
-
() =>
|
|
80
|
-
[
|
|
79
|
+
() => s ?? (o.length ? o.length - 1 : 0),
|
|
80
|
+
[s, o.length]
|
|
81
81
|
), [y, p] = K(x), S = (v, T) => {
|
|
82
82
|
g?.(T), p(T);
|
|
83
83
|
}, I = (v) => {
|
|
@@ -131,7 +131,7 @@ function ve(t) {
|
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
const Et = ({ transaction: t, onClick: n }) => {
|
|
134
|
-
const i = z().palette.mode === "dark", { associatedBeats: o } = W(), { expandedSplits:
|
|
134
|
+
const i = z().palette.mode === "dark", { associatedBeats: o } = W(), { expandedSplits: s } = V(), { transactions: h } = O(), { showInsights: g } = V(), m = t.transaction_type === ft.CREDIT, d = _.useMemo(() => o.find((u) => u.associated_transaction_guid === t.guid), [o, t]);
|
|
135
135
|
return (
|
|
136
136
|
//TODO: implement common/components/ListItemRow.tsx
|
|
137
137
|
/* @__PURE__ */ a(
|
|
@@ -140,7 +140,7 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
140
140
|
clickEventName: ot.ON_TRANSACTION_LIST_ITEM_CLICK,
|
|
141
141
|
onClick: n ? () => n(t.guid) : void 0,
|
|
142
142
|
children: [
|
|
143
|
-
/* @__PURE__ */ e(pt, { children: t.parent_guid &&
|
|
143
|
+
/* @__PURE__ */ e(pt, { children: t.parent_guid && s.includes(t.parent_guid) ? /* @__PURE__ */ e(_.Fragment, {}) : /* @__PURE__ */ e(
|
|
144
144
|
tt,
|
|
145
145
|
{
|
|
146
146
|
categoryGuid: t.top_level_category_guid || "",
|
|
@@ -204,17 +204,17 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
204
204
|
}
|
|
205
205
|
)
|
|
206
206
|
);
|
|
207
|
-
}, Mt =
|
|
207
|
+
}, Mt = H(Et), Rt = ({
|
|
208
208
|
bgcolor: t = "background.default",
|
|
209
209
|
children: n
|
|
210
210
|
}) => /* @__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 }) => {
|
|
211
|
-
const { transactions: r } =
|
|
211
|
+
const { transactions: r } = O();
|
|
212
212
|
return /* @__PURE__ */ a(c, { alignItems: "center", gap: 12, height: "auto", mb: 24, mt: 24, children: [
|
|
213
213
|
t && /* @__PURE__ */ e(rt, { color: "action", sx: { fontSize: 32 } }),
|
|
214
214
|
/* @__PURE__ */ e(f, { bold: !0, color: "text.secondary", variant: "body2", children: r.zero_state_no_transactions }),
|
|
215
215
|
n && /* @__PURE__ */ e(f, { color: "text.secondary", variant: "caption", children: r.zero_state_there_are_no_transactions })
|
|
216
216
|
] });
|
|
217
|
-
}, zt =
|
|
217
|
+
}, zt = H(Wt), G = (t, n) => {
|
|
218
218
|
const r = R(n[t].date), i = R(n[t - 1]?.date);
|
|
219
219
|
return !Z(r, i);
|
|
220
220
|
}, Bt = (t, n) => {
|
|
@@ -237,7 +237,7 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
237
237
|
height: r = "calc(100dvh - 36px)",
|
|
238
238
|
loader: i = /* @__PURE__ */ e(Q, { label: "Loading", size: 40 }),
|
|
239
239
|
onClick: o,
|
|
240
|
-
showInsights:
|
|
240
|
+
showInsights: s = !1,
|
|
241
241
|
showLoader: h = !1,
|
|
242
242
|
showHiddenTransactions: g = !1,
|
|
243
243
|
transaction: m,
|
|
@@ -246,9 +246,9 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
246
246
|
}) => {
|
|
247
247
|
const { isLoading: x, sortedTransactions: y } = W(), p = _.useMemo(() => {
|
|
248
248
|
const b = n ? y.filter(n) : y, w = m ?? b;
|
|
249
|
-
return g ? w : w.filter((
|
|
249
|
+
return g ? w : w.filter((l) => !l.is_hidden);
|
|
250
250
|
}, [y, g, m]), { clearExpandedSplits: S, setShowInsights: I, toggleSplit: v } = V(), { onEvent: T } = ht(), M = (b) => {
|
|
251
|
-
const w = p.find((
|
|
251
|
+
const w = p.find((l) => l.guid === b);
|
|
252
252
|
if (w?.has_been_split) {
|
|
253
253
|
v(w.guid);
|
|
254
254
|
return;
|
|
@@ -263,7 +263,7 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
263
263
|
estimateSize: (b) => U + (G(b, p) ? F : 0),
|
|
264
264
|
overscan: 5
|
|
265
265
|
});
|
|
266
|
-
return _.useEffect(() => k.measure(), [p]), _.useEffect(() => I(
|
|
266
|
+
return _.useEffect(() => k.measure(), [p]), _.useEffect(() => I(s), [s]), _.useEffect(() => () => S(), []), /* @__PURE__ */ e(ct, { component: "div", role: "list", sx: { width: d }, children: /* @__PURE__ */ e(A, { height: r, overflow: "auto", ref: L, role: "presentation", width: d, children: /* @__PURE__ */ a(
|
|
267
267
|
A,
|
|
268
268
|
{
|
|
269
269
|
height: (
|
|
@@ -277,7 +277,7 @@ 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],
|
|
280
|
+
const w = p[b.index], l = G(b.index, p), C = Bt(b.index, p), D = U + (l ? F : 0);
|
|
281
281
|
return /* @__PURE__ */ a(
|
|
282
282
|
A,
|
|
283
283
|
{
|
|
@@ -290,7 +290,7 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
290
290
|
bgcolor: "background.paper"
|
|
291
291
|
},
|
|
292
292
|
children: [
|
|
293
|
-
|
|
293
|
+
l && /* @__PURE__ */ e(Rt, { bgcolor: t, children: bt(w.date) }),
|
|
294
294
|
/* @__PURE__ */ e(
|
|
295
295
|
Mt,
|
|
296
296
|
{
|
|
@@ -307,26 +307,26 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
307
307
|
]
|
|
308
308
|
}
|
|
309
309
|
) }) });
|
|
310
|
-
}, Nt =
|
|
310
|
+
}, Nt = H(Vt), Ht = (t) => {
|
|
311
311
|
const [n, r] = K({ width: 0, height: 0 });
|
|
312
312
|
return J(() => {
|
|
313
313
|
const i = () => {
|
|
314
314
|
if (t.current) {
|
|
315
|
-
const { offsetWidth: o, offsetHeight:
|
|
316
|
-
r({ width: o, height:
|
|
315
|
+
const { offsetWidth: o, offsetHeight: s } = t.current;
|
|
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
322
|
}, [t]), n;
|
|
323
|
-
},
|
|
323
|
+
}, Ot = ({
|
|
324
324
|
color: t,
|
|
325
325
|
legendStyle: n = {},
|
|
326
326
|
monthlyAmount: r,
|
|
327
327
|
monthlyAmountLabel: i,
|
|
328
328
|
trendAmount: o,
|
|
329
|
-
trendAmountLabel:
|
|
329
|
+
trendAmountLabel: s
|
|
330
330
|
}) => {
|
|
331
331
|
const h = z();
|
|
332
332
|
return /* @__PURE__ */ a(
|
|
@@ -361,7 +361,7 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
361
361
|
r
|
|
362
362
|
] })
|
|
363
363
|
] }),
|
|
364
|
-
|
|
364
|
+
s && /* @__PURE__ */ a(c, { sx: { alignItems: "center", flexDirection: "row", gap: 8 }, children: [
|
|
365
365
|
/* @__PURE__ */ e(
|
|
366
366
|
"svg",
|
|
367
367
|
{
|
|
@@ -375,7 +375,7 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
375
375
|
}
|
|
376
376
|
),
|
|
377
377
|
/* @__PURE__ */ a(f, { id: "chartLegendLabel", variant: "caption", children: [
|
|
378
|
-
|
|
378
|
+
s,
|
|
379
379
|
": ",
|
|
380
380
|
o
|
|
381
381
|
] })
|
|
@@ -393,10 +393,10 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
393
393
|
dataIndex: r,
|
|
394
394
|
removeSelectedTabColorChange: i,
|
|
395
395
|
selectedTabIndex: o,
|
|
396
|
-
style:
|
|
396
|
+
style: s,
|
|
397
397
|
...h
|
|
398
398
|
}) => {
|
|
399
|
-
const g = z(), { ariaLabel: m, formattedAmount: d } = n[r], u = o === r ? "bold" : 400, x =
|
|
399
|
+
const g = z(), { ariaLabel: m, formattedAmount: d } = n[r], u = o === r ? "bold" : 400, x = s.x ?? 0, y = s.y ?? 0, p = s.width ?? 0, S = s.height ?? 0;
|
|
400
400
|
return /* @__PURE__ */ a("g", { "aria-label": m, children: [
|
|
401
401
|
/* @__PURE__ */ e(
|
|
402
402
|
"path",
|
|
@@ -431,19 +431,19 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
431
431
|
right: 40,
|
|
432
432
|
top: 20
|
|
433
433
|
},
|
|
434
|
-
onBarClick:
|
|
434
|
+
onBarClick: s,
|
|
435
435
|
legendPosition: h = "bottom",
|
|
436
436
|
monthlyAmountLabel: g,
|
|
437
437
|
removeSelectedTabColorChange: m,
|
|
438
438
|
selectedTabIndex: d,
|
|
439
439
|
trendAmountLabel: u
|
|
440
440
|
}) => {
|
|
441
|
-
const x = _.useRef(null), { height: y, width: p } =
|
|
442
|
-
const
|
|
441
|
+
const x = _.useRef(null), { height: y, width: p } = Ht(x), S = z(), I = _.useMemo(() => {
|
|
442
|
+
const l = r.map(({ value: $ }) => $), C = Math.min(...l), D = Math.max(...l);
|
|
443
443
|
return {
|
|
444
444
|
series: [
|
|
445
445
|
{
|
|
446
|
-
data:
|
|
446
|
+
data: l,
|
|
447
447
|
type: "bar"
|
|
448
448
|
}
|
|
449
449
|
],
|
|
@@ -463,13 +463,13 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
463
463
|
]
|
|
464
464
|
};
|
|
465
465
|
}, [r]), v = _.useMemo(() => {
|
|
466
|
-
const
|
|
467
|
-
return m ? r.map(() => n) : d == null ? [...new Array(r.length - 1).fill(
|
|
466
|
+
const l = `${n}80`;
|
|
467
|
+
return m ? r.map(() => n) : d == null ? [...new Array(r.length - 1).fill(l), n] : r.map((C, D) => D === 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((
|
|
472
|
-
|
|
471
|
+
), L = r.reduce((l, C) => Math.min(l, C.value), 1 / 0) < 0, k = /* @__PURE__ */ e(
|
|
472
|
+
Ot,
|
|
473
473
|
{
|
|
474
474
|
color: n,
|
|
475
475
|
legendStyle: { pl: o.left },
|
|
@@ -478,7 +478,7 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
478
478
|
trendAmount: t?.formattedAverage,
|
|
479
479
|
trendAmountLabel: u
|
|
480
480
|
}
|
|
481
|
-
), b = g || u, w = (
|
|
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
484
|
/* @__PURE__ */ e(
|
|
@@ -543,7 +543,7 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
543
543
|
position: "bottom",
|
|
544
544
|
slots: {
|
|
545
545
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
546
|
-
axisTickLabel: ({ text:
|
|
546
|
+
axisTickLabel: ({ text: l, ownerState: C, ...D }) => {
|
|
547
547
|
const $ = r[d ?? r.length - 1]?.label;
|
|
548
548
|
return /* @__PURE__ */ e(
|
|
549
549
|
"text",
|
|
@@ -551,16 +551,16 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
551
551
|
...D,
|
|
552
552
|
style: {
|
|
553
553
|
...D.style,
|
|
554
|
-
fontWeight: !m && $ ===
|
|
554
|
+
fontWeight: !m && $ === l ? "bold" : 400
|
|
555
555
|
},
|
|
556
|
-
children:
|
|
556
|
+
children: l
|
|
557
557
|
}
|
|
558
558
|
);
|
|
559
559
|
}
|
|
560
560
|
},
|
|
561
|
-
sx: (
|
|
561
|
+
sx: (l) => ({
|
|
562
562
|
"& .MuiChartsAxis-line": {
|
|
563
|
-
stroke: L ? "none" :
|
|
563
|
+
stroke: L ? "none" : l.palette.text?.primary
|
|
564
564
|
},
|
|
565
565
|
"& .MuiChartsAxis-tickContainer:first-of-type .MuiChartsAxis-tick": {
|
|
566
566
|
display: "none"
|
|
@@ -579,8 +579,8 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
579
579
|
{
|
|
580
580
|
onItemClick: w,
|
|
581
581
|
slots: {
|
|
582
|
-
bar: (
|
|
583
|
-
const { ownerState: C, ...D } =
|
|
582
|
+
bar: (l) => {
|
|
583
|
+
const { ownerState: C, ...D } = l;
|
|
584
584
|
return /* @__PURE__ */ e(
|
|
585
585
|
Gt,
|
|
586
586
|
{
|
|
@@ -591,10 +591,10 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
591
591
|
removeSelectedTabColorChange: m,
|
|
592
592
|
selectedTabIndex: d ?? r.length - 1,
|
|
593
593
|
style: {
|
|
594
|
-
height:
|
|
595
|
-
x:
|
|
596
|
-
y:
|
|
597
|
-
width:
|
|
594
|
+
height: l.height,
|
|
595
|
+
x: l.x,
|
|
596
|
+
y: l.y,
|
|
597
|
+
width: l.width
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
600
|
);
|
|
@@ -615,7 +615,7 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
615
615
|
beat: r,
|
|
616
616
|
data: i,
|
|
617
617
|
defaultSelectedIndex: o = 0,
|
|
618
|
-
icon:
|
|
618
|
+
icon: s,
|
|
619
619
|
isOpen: h = !1,
|
|
620
620
|
onClose: g,
|
|
621
621
|
onTabChange: m,
|
|
@@ -623,7 +623,7 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
623
623
|
title: u,
|
|
624
624
|
transactionListProps: x = {}
|
|
625
625
|
}) => {
|
|
626
|
-
const { common: y, transactions: p } =
|
|
626
|
+
const { common: y, transactions: p } = O(), { isCopyLoaded: S } = mt(), { sortedTransactionsWithSplits: I, tags: v } = W();
|
|
627
627
|
return S ? /* @__PURE__ */ e(St, { ariaLabelClose: y.close_aria, isOpen: h, onClose: g, title: u, children: /* @__PURE__ */ e(
|
|
628
628
|
kt,
|
|
629
629
|
{
|
|
@@ -641,7 +641,7 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
641
641
|
) }),
|
|
642
642
|
data: i,
|
|
643
643
|
defaultSelectedIndex: o,
|
|
644
|
-
icon:
|
|
644
|
+
icon: s,
|
|
645
645
|
onTabChange: m,
|
|
646
646
|
tipSection: d,
|
|
647
647
|
children: () => /* @__PURE__ */ a(_.Fragment, { children: [
|
|
@@ -688,7 +688,7 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
688
688
|
count: r,
|
|
689
689
|
completeColor: i = "success.main",
|
|
690
690
|
icon: o,
|
|
691
|
-
label:
|
|
691
|
+
label: s,
|
|
692
692
|
leftLabel: h,
|
|
693
693
|
percentComplete: g = 0,
|
|
694
694
|
rightLabel: m,
|
|
@@ -697,7 +697,7 @@ const Et = ({ transaction: t, onClick: n }) => {
|
|
|
697
697
|
/* @__PURE__ */ a(c, { sx: { alignItems: "center", flexDirection: "row", gap: 12 }, children: [
|
|
698
698
|
/* @__PURE__ */ e(A, { children: o }),
|
|
699
699
|
/* @__PURE__ */ a(c, { children: [
|
|
700
|
-
typeof
|
|
700
|
+
typeof s == "string" ? /* @__PURE__ */ e(N, { dangerouslySetInnerHTML: { __html: s }, variant: "body2" }) : s,
|
|
701
701
|
typeof t == "string" ? /* @__PURE__ */ e(et, { children: t }) : t
|
|
702
702
|
] })
|
|
703
703
|
] }),
|
|
@@ -801,7 +801,7 @@ export {
|
|
|
801
801
|
Ie as b,
|
|
802
802
|
Te as c,
|
|
803
803
|
De as d,
|
|
804
|
-
|
|
804
|
+
Ht as e,
|
|
805
805
|
kt as f,
|
|
806
806
|
Bt as h,
|
|
807
807
|
ve as p,
|
|
@@ -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-qwIhF1VP.mjs";
|
|
21
|
+
import { T as be } from "./TransactionDetails-I1ny1ecc.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-DqqI9HB1.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-qwIhF1VP.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-qwIhF1VP.mjs";
|
|
59
|
+
import { T as s3 } from "../TransactionDetails-I1ny1ecc.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 P } 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 ve } from "../EmbeddedCard-
|
|
40
|
-
import { T as ot, c as nt } from "../TransactionDetails-
|
|
39
|
+
import { T as ve } from "../EmbeddedCard-qwIhF1VP.mjs";
|
|
40
|
+
import { T as ot, c as nt } from "../TransactionDetails-I1ny1ecc.mjs";
|
|
41
41
|
import Te from "@mui/material/Card";
|
|
42
42
|
import De from "@mui/material/CardContent";
|
|
43
43
|
import { S as Se } 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-DqqI9HB1.mjs";
|
|
50
50
|
import { u as ze } from "../useWidgetLoadTimer-DgN1bTyu.mjs";
|
|
51
51
|
import { W as lt } from "../WidgetContainer-DYKMArWw.mjs";
|
|
52
52
|
import { u as dt, g as ut, C as mt } from "../BudgetUtil-DZpOoZQa.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-OBGLelZQ.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-DqqI9HB1.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 J } 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-qwIhF1VP.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 Ne } 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-qwIhF1VP.mjs";
|
|
45
45
|
import { f as Yn, D as Xn } from "../DateFormats-BMpMrZpW.mjs";
|
|
46
46
|
import { T as pe } 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-DqqI9HB1.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-OBGLelZQ.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";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { B as Z5 } from "../BeatStore-C6CAT-ce.mjs";
|
|
2
|
-
import { e as K, p as $1, B as O1, b as e2 } from "../EmbeddedCard-
|
|
3
|
-
import { f as b5, C as S5, E as v5 } from "../EmbeddedCard-
|
|
2
|
+
import { e as K, p as $1, B as O1, b as e2 } from "../EmbeddedCard-qwIhF1VP.mjs";
|
|
3
|
+
import { f as b5, C as S5, E as v5 } from "../EmbeddedCard-qwIhF1VP.mjs";
|
|
4
4
|
import { jsx as t, jsxs as s, Fragment as N } from "react/jsx-runtime";
|
|
5
5
|
import * as e from "react";
|
|
6
6
|
import Z, { forwardRef as G, useRef as h1, useEffect as t2, useState as e1, useLayoutEffect as A1 } 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 Te } from "../RecurringSettings-
|
|
10
|
-
import { M as Yn } from "../RecurringSettings-
|
|
9
|
+
import { R as Te } from "../RecurringSettings-OBGLelZQ.mjs";
|
|
10
|
+
import { M as Yn } from "../RecurringSettings-OBGLelZQ.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 Ce, 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-DqqI9HB1.mjs";
|
|
52
|
+
import { c as qn, M as Zn, S as Xn } from "../ManageIncome-DqqI9HB1.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-qwIhF1VP.mjs";
|
|
23
|
+
import { T as xt } from "../TransactionDetails-I1ny1ecc.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 Sa } from "../TransactionApi-Ck5Ua-7F.mjs";
|
|
2
|
-
import { C as Re, D as Be, M as He, a as Pe, T as $e } from "../TransactionDetails-
|
|
3
|
-
import { B as Ia, b as va } from "../TransactionDetails-
|
|
2
|
+
import { C as Re, D as Be, M as He, a as Pe, T as $e } from "../TransactionDetails-I1ny1ecc.mjs";
|
|
3
|
+
import { B as Ia, b as va } from "../TransactionDetails-I1ny1ecc.mjs";
|
|
4
4
|
import { e as Ve } from "../exportTransactionsToCSV-DgdB3TBt.mjs";
|
|
5
5
|
import { O as Ea } from "../exportTransactionsToCSV-DgdB3TBt.mjs";
|
|
6
6
|
import { S as Z, D as We } from "../TransactionStore-BUsgGRL1.mjs";
|
|
7
7
|
import { T as ka } from "../TransactionStore-BUsgGRL1.mjs";
|
|
8
|
-
import { u as B, T as Ge } from "../EmbeddedCard-
|
|
9
|
-
import { a as Ma } from "../EmbeddedCard-
|
|
8
|
+
import { u as B, T as Ge } from "../EmbeddedCard-qwIhF1VP.mjs";
|
|
9
|
+
import { a as Ma } from "../EmbeddedCard-qwIhF1VP.mjs";
|
|
10
10
|
import { E as Ba } from "../ExportCsvAction-CHCmCCqf.mjs";
|
|
11
11
|
import { jsxs as m, jsx as e } from "react/jsx-runtime";
|
|
12
12
|
import u from "react";
|
package/dist/trends/index.es.js
CHANGED
|
@@ -35,8 +35,8 @@ import { useGridApiContext as Ut, useGridRootProps as Xt, DataGridPro as Zt } fr
|
|
|
35
35
|
import Qt 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-qwIhF1VP.mjs";
|
|
39
|
+
import { T as dt } from "../TransactionDetails-I1ny1ecc.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";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mx-cartographer/experiences",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.23",
|
|
4
4
|
"description": "Library containing experience widgets",
|
|
5
5
|
"author": "MX",
|
|
6
6
|
"license": "MIT",
|
|
@@ -209,7 +209,7 @@
|
|
|
209
209
|
"mobx": "^6.13.6",
|
|
210
210
|
"mobx-react-lite": "^4.1.0",
|
|
211
211
|
"numeral": "^2.0.6",
|
|
212
|
-
"posthog-js": "^1.
|
|
212
|
+
"posthog-js": "^1.356.1",
|
|
213
213
|
"react": "^18.3.1",
|
|
214
214
|
"react-confetti": "^6.0.1",
|
|
215
215
|
"react-dom": "^18.3.1",
|