@mx-cartographer/experiences 7.12.14 → 7.12.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 +8 -0
- package/dist/{ManageIncome-DXblr7KM.mjs → ManageIncome-BnWWjP2g.mjs} +1 -1
- package/dist/{RecurringSettings-edyZvKs4.mjs → RecurringSettings-BmXtfHtK.mjs} +1 -1
- package/dist/{TransactionDetails-hy1TTw8R.mjs → TransactionDetails-DYlTwSDt.mjs} +96 -117
- package/dist/accounts/index.es.js +1 -1
- package/dist/budgets/index.es.js +2 -2
- package/dist/cashflow/index.es.js +2 -2
- package/dist/finstrong/index.es.js +2 -2
- package/dist/recurringtransactions/index.es.js +4 -4
- package/dist/spending/index.es.js +1 -1
- package/dist/transactions/index.es.js +2 -2
- package/dist/trends/index.es.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## [7.12.16] - 03-24-2026
|
|
2
|
+
|
|
3
|
+
- **UPDATED** - MXUI -> 1.5.14 | button text error color when hovered/pressed
|
|
4
|
+
|
|
5
|
+
## [7.12.15] - 03-24-2026
|
|
6
|
+
|
|
7
|
+
- **UPDATED** - Updated the mxui version to 1.5.13 | `Toast` | CSS Customization handling responsiveness
|
|
8
|
+
|
|
1
9
|
## [7.12.14] - 03-24-2026
|
|
2
10
|
|
|
3
11
|
- **UPDATED** - Budget widget | text error color when hovered/pressed
|
|
@@ -18,7 +18,7 @@ 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
20
|
import { T as V, u as fe, S as ge, a as Ce } from "./StatusIndicator-BV3oFzxo.mjs";
|
|
21
|
-
import { T as be } from "./TransactionDetails-
|
|
21
|
+
import { T as be } from "./TransactionDetails-DYlTwSDt.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-BnWWjP2g.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 "./RecurringTransactions-CYNpe_RS.mjs";
|
|
13
13
|
import { A as m } from "./Analytics-BYItVAe-.mjs";
|
|
@@ -7,26 +7,26 @@ import ue from "@mui/material/List";
|
|
|
7
7
|
import le from "@mui/material/Paper";
|
|
8
8
|
import v from "@mui/material/Stack";
|
|
9
9
|
import { useTheme as U, alpha as be } from "@mui/material/styles";
|
|
10
|
-
import { P as X, Text as
|
|
10
|
+
import { P as X, Text as S, H2 as Be, MerchantLogo as Ne, Toast as $e, CategoryIcon as Ie, CategoryIconVariants as Oe, TextField as ve, Icon as ce, IconWeight as Se } from "@mxenabled/mxui";
|
|
11
11
|
import { g as Ke, C as Fe, a as He, b as Ue, i as Ve } from "./BudgetUtil--_QXyszn.mjs";
|
|
12
12
|
import oe from "@mui/material/Button";
|
|
13
|
-
import
|
|
13
|
+
import We from "@mui/material/FormGroup";
|
|
14
14
|
import ne from "@mui/material/IconButton";
|
|
15
15
|
import Le from "@mui/material/TextField";
|
|
16
16
|
import { u as pe } from "./useAriaLive-MkYebyUR.mjs";
|
|
17
17
|
import { O as y } from "./Transaction-CqjlF6SO.mjs";
|
|
18
|
-
import { u as I, h as O, m as
|
|
18
|
+
import { u as I, h as O, m as Ye, d as ze, l as we, g as w, b as Xe, o as je } from "./hooks-BxkfR-Ff.mjs";
|
|
19
19
|
import { A as H } from "./Analytics-BYItVAe-.mjs";
|
|
20
20
|
import qe from "@mui/material/ToggleButton";
|
|
21
21
|
import { ChevronRight as Re, Icon as D, Delete as me, Cancel as _e, Search as Je, Edit as Qe, Flag as Ze } from "@mxenabled/mx-icons";
|
|
22
22
|
import { fromUnixTime as fe } from "date-fns/fromUnixTime";
|
|
23
23
|
import V from "@mui/material/Avatar";
|
|
24
24
|
import B from "@mui/material/ListItem";
|
|
25
|
-
import
|
|
25
|
+
import W from "@mui/material/ListItemAvatar";
|
|
26
26
|
import $ from "@mui/material/ListItemText";
|
|
27
27
|
import { f as Me, D as ke } from "./DateFormats-BMpMrZpW.mjs";
|
|
28
|
-
import
|
|
29
|
-
import
|
|
28
|
+
import Y from "@mui/material/ListItemButton";
|
|
29
|
+
import z from "@mui/material/ListItemIcon";
|
|
30
30
|
import { a as Pe } from "./CategorySelectorDrawer-wfUTIbLR.mjs";
|
|
31
31
|
import { b as et, T as tt, u as J } from "./StatusIndicator-BV3oFzxo.mjs";
|
|
32
32
|
import { D as q } from "./Dialog-Ck34yr-d.mjs";
|
|
@@ -40,7 +40,7 @@ import nt from "@mui/material/Checkbox";
|
|
|
40
40
|
import { startOfMonth as ot } from "date-fns/startOfMonth";
|
|
41
41
|
import { endOfMonth as it } from "date-fns/endOfMonth";
|
|
42
42
|
import { i as st } from "./DateUtil-wcYTmDRD.mjs";
|
|
43
|
-
import
|
|
43
|
+
import xe from "@mui/material/Grid";
|
|
44
44
|
import { C as lt } from "./CurrencyInput-DuMktPu3.mjs";
|
|
45
45
|
import ct from "@mui/material/Switch";
|
|
46
46
|
import { L as dt } from "./Loader-D3rjKx72.mjs";
|
|
@@ -90,7 +90,7 @@ const ut = [
|
|
|
90
90
|
},
|
|
91
91
|
children: [
|
|
92
92
|
/* @__PURE__ */ e(X, { bold: !0, variant: "subtitle1", children: st(t) }),
|
|
93
|
-
n && /* @__PURE__ */ e(oe, { endIcon: /* @__PURE__ */ e(Re, {}), onClick: n, sx: { height: 28 }, children: /* @__PURE__ */ e(
|
|
93
|
+
n && /* @__PURE__ */ e(oe, { endIcon: /* @__PURE__ */ e(Re, {}), onClick: n, sx: { height: 28 }, children: /* @__PURE__ */ e(S, { bold: !0, variant: "body2", children: _.spending_history }) })
|
|
94
94
|
]
|
|
95
95
|
}
|
|
96
96
|
),
|
|
@@ -190,7 +190,7 @@ const ht = E(({ transaction: t }) => {
|
|
|
190
190
|
getMerchantBudgetByMerchantGuid: f,
|
|
191
191
|
alert: L,
|
|
192
192
|
setAlert: k
|
|
193
|
-
} =
|
|
193
|
+
} = Ye(), { setFilter: x } = O(), { accounts: T } = ze(), R = p.palette.mode === "dark" ? "grey.800" : "grey.100", { budgets: C, common: Q } = I(), { announce: ge, ariaLive: he } = pe(), [Z, ee] = d.useState(!1), K = t?.merchant_guid ? f(t.merchant_guid) : void 0, te = () => {
|
|
194
194
|
u(n), i(null), o("");
|
|
195
195
|
}, ye = () => {
|
|
196
196
|
K ? ee(!0) : i(
|
|
@@ -276,7 +276,7 @@ const ht = E(({ transaction: t }) => {
|
|
|
276
276
|
start: ot(new Date(t.date * 1e3)),
|
|
277
277
|
end: it(new Date(t.date * 1e3))
|
|
278
278
|
};
|
|
279
|
-
|
|
279
|
+
x({
|
|
280
280
|
accounts: T.map((G) => G.guid),
|
|
281
281
|
custom: Z ? (G) => G.merchant_guid === t.merchant_guid : (G) => G.guid === t.guid,
|
|
282
282
|
dateRange: M
|
|
@@ -287,50 +287,29 @@ const ht = E(({ transaction: t }) => {
|
|
|
287
287
|
{
|
|
288
288
|
actionText: C.autogenerate_budgets_error_primary_button,
|
|
289
289
|
autoHideDuration: 3500,
|
|
290
|
+
closeAriaLabel: Q.close_aria,
|
|
290
291
|
handleClose: () => k(""),
|
|
291
292
|
message: L,
|
|
292
|
-
multiLine: !0,
|
|
293
293
|
onActionClick: b[_]?.errorRetryAction,
|
|
294
294
|
open: !!L,
|
|
295
295
|
severity: a ? "error" : "success",
|
|
296
296
|
showAction: a,
|
|
297
|
-
showClose: !0
|
|
298
|
-
snackbarSx: {
|
|
299
|
-
//TODO - remove the customization and update the Toast component in MXUI in the upcoming ticket (WEC-1162) to handle multi-line messages and long action text
|
|
300
|
-
"& .MuiAlert-root": {
|
|
301
|
-
alignItems: "self-start",
|
|
302
|
-
minHeight: 0,
|
|
303
|
-
"& .MuiAlert-message": {
|
|
304
|
-
pt: 8
|
|
305
|
-
}
|
|
306
|
-
},
|
|
307
|
-
"&.MuiSnackbar-root": {
|
|
308
|
-
width: "fit-content",
|
|
309
|
-
zIndex: 9999
|
|
310
|
-
// Higher than Drawer's default 1200
|
|
311
|
-
},
|
|
312
|
-
"& .MuiAlert-action .MuiStack-root": {
|
|
313
|
-
flexDirection: "row",
|
|
314
|
-
display: "flex",
|
|
315
|
-
alignItems: "center",
|
|
316
|
-
width: "max-content"
|
|
317
|
-
}
|
|
318
|
-
}
|
|
297
|
+
showClose: !0
|
|
319
298
|
}
|
|
320
299
|
);
|
|
321
300
|
return /* @__PURE__ */ l(d.Fragment, { children: [
|
|
322
301
|
he,
|
|
323
|
-
/* @__PURE__ */ e(B, { disableGutters: !0, disablePadding: !0, children: /* @__PURE__ */ l(
|
|
324
|
-
/* @__PURE__ */ e(
|
|
302
|
+
/* @__PURE__ */ e(B, { disableGutters: !0, disablePadding: !0, children: /* @__PURE__ */ l(Y, { onClick: ye, children: [
|
|
303
|
+
/* @__PURE__ */ e(W, { children: /* @__PURE__ */ e(V, { sx: { bgcolor: R }, variant: "rounded", children: /* @__PURE__ */ e(D, { name: "bubble_chart", sx: { color: "text.primary" } }) }) }),
|
|
325
304
|
/* @__PURE__ */ e(
|
|
326
305
|
$,
|
|
327
306
|
{
|
|
328
307
|
primary: C.add_merchant_budget_primary_text,
|
|
329
308
|
primaryTypographyProps: { variant: "caption" },
|
|
330
|
-
secondary: /* @__PURE__ */ e(
|
|
309
|
+
secondary: /* @__PURE__ */ e(S, { bold: !0, sx: { color: "text.primary" }, variant: "body1", children: K ? `${j(K.amount, "0,0.00")} / ${Q.month_text}` : C.add_merchant_budget_secondary_text })
|
|
331
310
|
}
|
|
332
311
|
),
|
|
333
|
-
/* @__PURE__ */ e(
|
|
312
|
+
/* @__PURE__ */ e(z, { children: /* @__PURE__ */ e(D, { name: "chevron_right", sx: { color: "text.primary" } }) })
|
|
334
313
|
] }) }),
|
|
335
314
|
!!K && /* @__PURE__ */ e(
|
|
336
315
|
gt,
|
|
@@ -386,16 +365,16 @@ const ht = E(({ transaction: t }) => {
|
|
|
386
365
|
}, k = d.useMemo(
|
|
387
366
|
() => r.find((T) => T.guid === m),
|
|
388
367
|
[m]
|
|
389
|
-
),
|
|
368
|
+
), x = _.palette.mode === "dark" ? "grey.800" : "grey.100";
|
|
390
369
|
return /* @__PURE__ */ l(B, { disableGutters: !0, disablePadding: !0, children: [
|
|
391
370
|
/* @__PURE__ */ l(
|
|
392
|
-
|
|
371
|
+
Y,
|
|
393
372
|
{
|
|
394
373
|
onClick: () => {
|
|
395
374
|
o(y.ON_TRANSACTION_CATEGORY_CLICK), p(!0);
|
|
396
375
|
},
|
|
397
376
|
children: [
|
|
398
|
-
/* @__PURE__ */ e(
|
|
377
|
+
/* @__PURE__ */ e(W, { children: /* @__PURE__ */ e(V, { sx: { bgcolor: x }, variant: "rounded", children: /* @__PURE__ */ e(
|
|
399
378
|
Ie,
|
|
400
379
|
{
|
|
401
380
|
categoryGuid: t.top_level_category_guid,
|
|
@@ -409,10 +388,10 @@ const ht = E(({ transaction: t }) => {
|
|
|
409
388
|
{
|
|
410
389
|
primary: c.category_title,
|
|
411
390
|
primaryTypographyProps: { variant: "XSmall" },
|
|
412
|
-
secondary: /* @__PURE__ */ e(
|
|
391
|
+
secondary: /* @__PURE__ */ e(S, { bold: !0, sx: { color: "text.primary" }, variant: "Body", children: t.category ?? c.actions_select_a_category })
|
|
413
392
|
}
|
|
414
393
|
),
|
|
415
|
-
/* @__PURE__ */ e(
|
|
394
|
+
/* @__PURE__ */ e(z, { children: /* @__PURE__ */ e(D, { name: "chevron_right", sx: { color: "text.primary" } }) })
|
|
416
395
|
]
|
|
417
396
|
}
|
|
418
397
|
),
|
|
@@ -461,22 +440,22 @@ const ht = E(({ transaction: t }) => {
|
|
|
461
440
|
}, h = s.palette.mode === "dark" ? "grey.800" : "grey.100";
|
|
462
441
|
return /* @__PURE__ */ l(B, { className: "mx-txn-date-action", disableGutters: !0, disablePadding: !0, children: [
|
|
463
442
|
/* @__PURE__ */ l(
|
|
464
|
-
|
|
443
|
+
Y,
|
|
465
444
|
{
|
|
466
445
|
onClick: () => {
|
|
467
446
|
n(y.ON_TRANSACTION_DATE_CLICK), _(!0);
|
|
468
447
|
},
|
|
469
448
|
children: [
|
|
470
|
-
/* @__PURE__ */ e(
|
|
449
|
+
/* @__PURE__ */ e(W, { children: /* @__PURE__ */ e(V, { sx: { bgcolor: h }, variant: "rounded", children: /* @__PURE__ */ e(D, { name: "calendar_month", sx: { color: "text.primary" } }) }) }),
|
|
471
450
|
/* @__PURE__ */ e(
|
|
472
451
|
$,
|
|
473
452
|
{
|
|
474
453
|
primary: a.date_title,
|
|
475
454
|
primaryTypographyProps: { variant: "XSmall" },
|
|
476
|
-
secondary: /* @__PURE__ */ e(
|
|
455
|
+
secondary: /* @__PURE__ */ e(S, { bold: !0, sx: { color: "text.primary" }, variant: "Body", children: Me(fe(t.date), ke.YEAR_MONTH_DAY) })
|
|
477
456
|
}
|
|
478
457
|
),
|
|
479
|
-
/* @__PURE__ */ e(
|
|
458
|
+
/* @__PURE__ */ e(z, { children: /* @__PURE__ */ e(D, { name: "chevron_right", sx: { color: "text.primary" } }) })
|
|
480
459
|
]
|
|
481
460
|
}
|
|
482
461
|
),
|
|
@@ -512,13 +491,13 @@ const ht = E(({ transaction: t }) => {
|
|
|
512
491
|
};
|
|
513
492
|
return /* @__PURE__ */ l(F, { className: "mx-txn-delete", children: [
|
|
514
493
|
t && /* @__PURE__ */ e(B, { disableGutters: !0, disablePadding: !0, children: /* @__PURE__ */ l(
|
|
515
|
-
|
|
494
|
+
Y,
|
|
516
495
|
{
|
|
517
496
|
onClick: () => {
|
|
518
497
|
n(y.ON_TRANSACTION_DELETE_CLICK), r(!0), c(!0);
|
|
519
498
|
},
|
|
520
499
|
children: [
|
|
521
|
-
/* @__PURE__ */ e(
|
|
500
|
+
/* @__PURE__ */ e(W, { children: /* @__PURE__ */ e(V, { variant: "rounded", children: /* @__PURE__ */ e(me, { color: "secondary", fontSize: "small" }) }) }),
|
|
522
501
|
/* @__PURE__ */ e(
|
|
523
502
|
$,
|
|
524
503
|
{
|
|
@@ -526,7 +505,7 @@ const ht = E(({ transaction: t }) => {
|
|
|
526
505
|
secondary: a.manual_transaction_delete_subtitle
|
|
527
506
|
}
|
|
528
507
|
),
|
|
529
|
-
/* @__PURE__ */ e(
|
|
508
|
+
/* @__PURE__ */ e(z, { children: /* @__PURE__ */ e(me, {}) })
|
|
530
509
|
]
|
|
531
510
|
}
|
|
532
511
|
) }),
|
|
@@ -542,11 +521,11 @@ const ht = E(({ transaction: t }) => {
|
|
|
542
521
|
onSecondaryAction: () => n(y.ON_TRANSACTION_DELETE_CANCEL),
|
|
543
522
|
primaryText: o.delete_button,
|
|
544
523
|
secondaryText: o.cancel_button,
|
|
545
|
-
children: /* @__PURE__ */ e(
|
|
524
|
+
children: /* @__PURE__ */ e(S, { sx: { whiteSpace: "normal" }, variant: "Paragraph", children: a.manual_transaction_delete_description })
|
|
546
525
|
}
|
|
547
526
|
)
|
|
548
527
|
] });
|
|
549
|
-
}, bt = E(Ct),
|
|
528
|
+
}, bt = E(Ct), St = ({ transaction: t }) => {
|
|
550
529
|
const { onEvent: n } = w(), { updateTransaction: i } = O(), { setShouldDisableDrawerScroll: r } = J(), { common: o, transactions: a } = I(), s = U(), [c, _] = d.useState(!1), u = async () => {
|
|
551
530
|
await i({ ...t, merchant_guid: "" }), n(H.TRANSACTION_DETAILS_CLICK_DELETE_LOGO, {
|
|
552
531
|
transaction_guid: t.guid
|
|
@@ -554,15 +533,15 @@ const ht = E(({ transaction: t }) => {
|
|
|
554
533
|
}, p = s.palette.mode === "dark" ? "grey.800" : "grey.100";
|
|
555
534
|
return /* @__PURE__ */ e(d.Fragment, { children: t && /* @__PURE__ */ l(B, { className: "mx-txn-delete-logo", disableGutters: !0, disablePadding: !0, children: [
|
|
556
535
|
/* @__PURE__ */ l(
|
|
557
|
-
|
|
536
|
+
Y,
|
|
558
537
|
{
|
|
559
538
|
onClick: () => {
|
|
560
539
|
n(y.ON_TRANSACTION_DELETE_LOGO_CLICK), _(!0);
|
|
561
540
|
},
|
|
562
541
|
children: [
|
|
563
|
-
/* @__PURE__ */ e(
|
|
542
|
+
/* @__PURE__ */ e(W, { children: /* @__PURE__ */ e(V, { sx: { bgcolor: p }, variant: "rounded", children: /* @__PURE__ */ e(D, { name: "delete", sx: { color: "text.primary" } }) }) }),
|
|
564
543
|
/* @__PURE__ */ e($, { primary: a.merchant_logo_title, secondary: a.merchant_logo_desc }),
|
|
565
|
-
/* @__PURE__ */ e(
|
|
544
|
+
/* @__PURE__ */ e(z, { children: /* @__PURE__ */ e(D, { name: "chevron_right", sx: { color: "text.primary" } }) })
|
|
566
545
|
]
|
|
567
546
|
}
|
|
568
547
|
),
|
|
@@ -580,13 +559,13 @@ const ht = E(({ transaction: t }) => {
|
|
|
580
559
|
secondaryText: o.cancel_button,
|
|
581
560
|
title: a.merchant_logo_modal_title,
|
|
582
561
|
children: [
|
|
583
|
-
/* @__PURE__ */ e(
|
|
584
|
-
/* @__PURE__ */ e(
|
|
562
|
+
/* @__PURE__ */ e(S, { sx: { whiteSpace: "normal" }, variant: "Paragraph", children: a.merchant_logo_modal_desc }),
|
|
563
|
+
/* @__PURE__ */ e(S, { bold: !0, sx: { whiteSpace: "normal" }, variant: "Paragraph", children: ` ${a.merchant_logo_modal_desc_bold}` })
|
|
585
564
|
]
|
|
586
565
|
}
|
|
587
566
|
)
|
|
588
567
|
] }) });
|
|
589
|
-
},
|
|
568
|
+
}, xt = E(St), ft = ({ transaction: t }) => {
|
|
590
569
|
const { onEvent: n } = w(), { updateTransaction: i } = O(), { setShouldDisableDrawerScroll: r } = J(), { common: o, transactions: a } = I(), s = U(), [c, _] = d.useState(!1), u = t.is_hidden, p = async () => {
|
|
591
570
|
await i({ ...t, is_hidden: !t.is_hidden }), n(
|
|
592
571
|
u ? y.ON_TRANSACTION_UNHIDDEN : y.ON_TRANSACTION_HIDDEN
|
|
@@ -594,7 +573,7 @@ const ht = E(({ transaction: t }) => {
|
|
|
594
573
|
}, m = s.palette.mode === "dark" ? "grey.800" : "grey.100";
|
|
595
574
|
return /* @__PURE__ */ e(d.Fragment, { children: t && /* @__PURE__ */ l(B, { className: "mx-txn-hide-transaction", disableGutters: !0, disablePadding: !0, children: [
|
|
596
575
|
/* @__PURE__ */ l(
|
|
597
|
-
|
|
576
|
+
Y,
|
|
598
577
|
{
|
|
599
578
|
"aria-checked": u,
|
|
600
579
|
"aria-labelledby": "hide-transaction-text",
|
|
@@ -610,7 +589,7 @@ const ht = E(({ transaction: t }) => {
|
|
|
610
589
|
},
|
|
611
590
|
role: "switch",
|
|
612
591
|
children: [
|
|
613
|
-
/* @__PURE__ */ e(
|
|
592
|
+
/* @__PURE__ */ e(W, { children: /* @__PURE__ */ e(V, { sx: { bgcolor: m }, variant: "rounded", children: u ? /* @__PURE__ */ e(D, { name: "visibility_off", sx: { color: "text.primary" } }) : /* @__PURE__ */ e(D, { name: "visibility", sx: { color: "text.primary" } }) }) }),
|
|
614
593
|
/* @__PURE__ */ e(
|
|
615
594
|
$,
|
|
616
595
|
{
|
|
@@ -619,7 +598,7 @@ const ht = E(({ transaction: t }) => {
|
|
|
619
598
|
secondary: u ? a.hide_trnx_desc_unhiding : a.hide_trnx_desc_hiding
|
|
620
599
|
}
|
|
621
600
|
),
|
|
622
|
-
/* @__PURE__ */ e(
|
|
601
|
+
/* @__PURE__ */ e(z, { "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
623
602
|
ct,
|
|
624
603
|
{
|
|
625
604
|
checked: u,
|
|
@@ -647,7 +626,7 @@ const ht = E(({ transaction: t }) => {
|
|
|
647
626
|
),
|
|
648
627
|
primaryText: u ? o.unhide_button : o.hide_button,
|
|
649
628
|
secondaryText: o.cancel_button,
|
|
650
|
-
children: /* @__PURE__ */ e(
|
|
629
|
+
children: /* @__PURE__ */ e(S, { truncate: !1, variant: "Paragraph", children: u ? a.hide_trnx_desc_unhiding : a.hide_trnx_desc_hiding })
|
|
651
630
|
}
|
|
652
631
|
)
|
|
653
632
|
] }) });
|
|
@@ -663,7 +642,7 @@ const ht = E(({ transaction: t }) => {
|
|
|
663
642
|
}
|
|
664
643
|
),
|
|
665
644
|
/* @__PURE__ */ l(v, { overflow: "hidden'", children: [
|
|
666
|
-
/* @__PURE__ */ e(
|
|
645
|
+
/* @__PURE__ */ e(S, { bold: !0, mb: 4, truncate: !0, variant: "Body", children: i || a }),
|
|
667
646
|
/* @__PURE__ */ l(X, { color: r ? "success.main" : "text.primary", truncate: !0, variant: "H1", children: [
|
|
668
647
|
r ? "+" : "",
|
|
669
648
|
j(n, "0,0.00")
|
|
@@ -684,20 +663,20 @@ const ht = E(({ transaction: t }) => {
|
|
|
684
663
|
}, g = s.palette.mode === "dark" ? "grey.800" : "grey.100";
|
|
685
664
|
return /* @__PURE__ */ l(B, { className: "mx-txn-memo-action", disableGutters: !0, disablePadding: !0, children: [
|
|
686
665
|
/* @__PURE__ */ l(
|
|
687
|
-
|
|
666
|
+
Y,
|
|
688
667
|
{
|
|
689
668
|
onClick: () => {
|
|
690
669
|
n(y.ON_TRANSACTION_MEMO_CLICK), _(!0);
|
|
691
670
|
},
|
|
692
671
|
children: [
|
|
693
|
-
/* @__PURE__ */ e(
|
|
672
|
+
/* @__PURE__ */ e(W, { children: /* @__PURE__ */ e(V, { sx: { bgcolor: g }, variant: "rounded", children: /* @__PURE__ */ e(D, { name: "article", sx: { color: "text.primary" } }) }) }),
|
|
694
673
|
/* @__PURE__ */ e(
|
|
695
674
|
$,
|
|
696
675
|
{
|
|
697
676
|
primary: a.memo_title,
|
|
698
677
|
primaryTypographyProps: { variant: "XSmall" },
|
|
699
678
|
secondary: /* @__PURE__ */ e(
|
|
700
|
-
|
|
679
|
+
S,
|
|
701
680
|
{
|
|
702
681
|
bold: !0,
|
|
703
682
|
sx: { overflowWrap: "break-word", whiteSpace: "wrap", color: "text.primary" },
|
|
@@ -707,7 +686,7 @@ const ht = E(({ transaction: t }) => {
|
|
|
707
686
|
)
|
|
708
687
|
}
|
|
709
688
|
),
|
|
710
|
-
/* @__PURE__ */ e(
|
|
689
|
+
/* @__PURE__ */ e(z, { children: /* @__PURE__ */ e(D, { name: "chevron_right", sx: { color: "text.primary" } }) })
|
|
711
690
|
]
|
|
712
691
|
}
|
|
713
692
|
),
|
|
@@ -750,8 +729,8 @@ const ht = E(({ transaction: t }) => {
|
|
|
750
729
|
isNaN(Number(h)) || (_(h), r(t, Number(h)));
|
|
751
730
|
};
|
|
752
731
|
return /* @__PURE__ */ l(F, { bgcolor: "background.paper", className: "mx-txn-split-manager-row", pb: 4, px: 8, children: [
|
|
753
|
-
/* @__PURE__ */ l(
|
|
754
|
-
/* @__PURE__ */ e(
|
|
732
|
+
/* @__PURE__ */ l(xe, { alignItems: m ? "center" : "start", container: !0, children: [
|
|
733
|
+
/* @__PURE__ */ e(xe, { item: !0, xs: 7, children: /* @__PURE__ */ l(v, { alignItems: "start", children: [
|
|
755
734
|
/* @__PURE__ */ e(
|
|
756
735
|
oe,
|
|
757
736
|
{
|
|
@@ -764,10 +743,10 @@ const ht = E(({ transaction: t }) => {
|
|
|
764
743
|
),
|
|
765
744
|
/* @__PURE__ */ e(F, { children: !o.category_guid && /* @__PURE__ */ l(v, { color: "error.main", direction: "row", gap: 8, p: 12, children: [
|
|
766
745
|
/* @__PURE__ */ e("span", { "aria-label": "error", role: "img", children: /* @__PURE__ */ e(_e, { sx: { fontSize: 15 } }) }),
|
|
767
|
-
/* @__PURE__ */ e(
|
|
746
|
+
/* @__PURE__ */ e(S, { variant: "Small", children: s.split_transaction_errors_select_category })
|
|
768
747
|
] }) })
|
|
769
748
|
] }) }),
|
|
770
|
-
/* @__PURE__ */ e(
|
|
749
|
+
/* @__PURE__ */ e(xe, { item: !0, xs: 5, children: m ? /* @__PURE__ */ e("div", { className: "mx-txn-split-manager-row-top-container", children: /* @__PURE__ */ e(S, { children: j(o.amount, "0,0.00") }) }) : /* @__PURE__ */ l(v, { alignItems: "start", children: [
|
|
771
750
|
/* @__PURE__ */ l(v, { alignItems: "start", direction: "row", gap: 8, children: [
|
|
772
751
|
/* @__PURE__ */ e(
|
|
773
752
|
lt,
|
|
@@ -799,7 +778,7 @@ const ht = E(({ transaction: t }) => {
|
|
|
799
778
|
] }),
|
|
800
779
|
!c && /* @__PURE__ */ l(v, { color: "error.main", direction: "row", gap: 8, py: 12, children: [
|
|
801
780
|
/* @__PURE__ */ e("span", { "aria-label": "error", role: "img", children: /* @__PURE__ */ e(_e, { sx: { fontSize: 15 } }) }),
|
|
802
|
-
/* @__PURE__ */ e(
|
|
781
|
+
/* @__PURE__ */ e(S, { variant: "Small", children: s.split_transaction_errors_enter_an_amount })
|
|
803
782
|
] })
|
|
804
783
|
] }) })
|
|
805
784
|
] }),
|
|
@@ -851,7 +830,7 @@ const ht = E(({ transaction: t }) => {
|
|
|
851
830
|
)),
|
|
852
831
|
_ && /* @__PURE__ */ l(v, { bgcolor: "background.paper", color: "error.main", direction: "row", gap: 8, p: 16, children: [
|
|
853
832
|
/* @__PURE__ */ e("span", { "aria-label": "error", role: "img", children: /* @__PURE__ */ e(_e, { sx: { fontSize: 15 } }) }),
|
|
854
|
-
/* @__PURE__ */ e(
|
|
833
|
+
/* @__PURE__ */ e(S, { variant: "Small", children: _ })
|
|
855
834
|
] }),
|
|
856
835
|
/* @__PURE__ */ e(F, { p: 16, children: /* @__PURE__ */ e(
|
|
857
836
|
oe,
|
|
@@ -880,8 +859,8 @@ const ht = E(({ transaction: t }) => {
|
|
|
880
859
|
has_been_split: !1,
|
|
881
860
|
parent_guid: t.guid,
|
|
882
861
|
top_level_category_guid: void 0
|
|
883
|
-
}, [h, f] = d.useState(!1), [L, k] = d.useState(!1), [
|
|
884
|
-
const b = [...
|
|
862
|
+
}, [h, f] = d.useState(!1), [L, k] = d.useState(!1), [x, T] = d.useState([]), R = () => {
|
|
863
|
+
const b = [...x];
|
|
885
864
|
b.push({ ...g }), b[0].amount -= 1, T(b), i(
|
|
886
865
|
N(
|
|
887
866
|
c.split_transaction_add_split_announcement,
|
|
@@ -890,19 +869,19 @@ const ht = E(({ transaction: t }) => {
|
|
|
890
869
|
);
|
|
891
870
|
}, C = (b) => {
|
|
892
871
|
if (b > 0) {
|
|
893
|
-
const P =
|
|
872
|
+
const P = x[b], A = [...x];
|
|
894
873
|
A.splice(b, 1), A[0].amount += P.amount, T(A), i(
|
|
895
874
|
N(c.split_transaction_delete_split_announcement, b + 1)
|
|
896
875
|
);
|
|
897
876
|
}
|
|
898
877
|
}, Q = (b, P) => {
|
|
899
|
-
const A = [...
|
|
878
|
+
const A = [...x];
|
|
900
879
|
A[b].amount = P, A[0].amount = t.amount - A.reduce(
|
|
901
880
|
(M, G, Te) => M + (Te !== 0 ? G.amount : 0),
|
|
902
881
|
0
|
|
903
882
|
), T(A);
|
|
904
883
|
}, ge = (b, P) => {
|
|
905
|
-
const A = [...
|
|
884
|
+
const A = [...x], M = u.find((G) => G.guid === P);
|
|
906
885
|
M && (A[b] = {
|
|
907
886
|
...A[b],
|
|
908
887
|
category_guid: P,
|
|
@@ -924,7 +903,7 @@ const ht = E(({ transaction: t }) => {
|
|
|
924
903
|
transaction_guid: t.guid
|
|
925
904
|
}), f(!0);
|
|
926
905
|
}, Z = async () => {
|
|
927
|
-
n(y.ON_TRANSACTION_SPLIT_SAVE_CLICK), await o({ ...t, has_been_split: !0 },
|
|
906
|
+
n(y.ON_TRANSACTION_SPLIT_SAVE_CLICK), await o({ ...t, has_been_split: !0 }, x), f(!1);
|
|
928
907
|
}, ee = async () => {
|
|
929
908
|
n(y.ON_TRANSACTION_SPLIT_CANCEL_CLICK), T([{ ...m }, { ...g }]), f(!1);
|
|
930
909
|
}, K = async () => {
|
|
@@ -934,12 +913,12 @@ const ht = E(({ transaction: t }) => {
|
|
|
934
913
|
const b = t.parent_guid ?? t.guid;
|
|
935
914
|
await a(b);
|
|
936
915
|
}, te = d.useMemo(() => {
|
|
937
|
-
const b =
|
|
916
|
+
const b = x.some((A) => !A.category_guid), P = x.some((A) => A.amount <= 0);
|
|
938
917
|
return b || P;
|
|
939
|
-
}, [
|
|
918
|
+
}, [x]), ye = p.palette.mode === "dark" ? "grey.800" : "grey.100";
|
|
940
919
|
return /* @__PURE__ */ e(d.Fragment, { children: t && /* @__PURE__ */ l(B, { disableGutters: !0, disablePadding: !0, children: [
|
|
941
|
-
/* @__PURE__ */ l(
|
|
942
|
-
/* @__PURE__ */ e(
|
|
920
|
+
/* @__PURE__ */ l(Y, { onClick: he, children: [
|
|
921
|
+
/* @__PURE__ */ e(W, { children: /* @__PURE__ */ e(V, { sx: { bgcolor: ye }, variant: "rounded", children: /* @__PURE__ */ e(D, { name: "call_split", sx: { color: "text.primary" } }) }) }),
|
|
943
922
|
/* @__PURE__ */ e(
|
|
944
923
|
$,
|
|
945
924
|
{
|
|
@@ -947,7 +926,7 @@ const ht = E(({ transaction: t }) => {
|
|
|
947
926
|
secondary: t.has_been_split || t.parent_guid ? c.split_transaction_unsplit_subtitle : c.split_transaction_desc
|
|
948
927
|
}
|
|
949
928
|
),
|
|
950
|
-
/* @__PURE__ */ e(
|
|
929
|
+
/* @__PURE__ */ e(z, { children: t.has_been_split || t.parent_guid ? /* @__PURE__ */ e(D, { name: "delete" }) : /* @__PURE__ */ e(D, { name: "chevron_right", sx: { color: "text.primary" } }) })
|
|
951
930
|
] }),
|
|
952
931
|
/* @__PURE__ */ l(
|
|
953
932
|
ie,
|
|
@@ -970,7 +949,7 @@ const ht = E(({ transaction: t }) => {
|
|
|
970
949
|
onCategoryChanged: ge,
|
|
971
950
|
onDeleteSplit: C,
|
|
972
951
|
onUpdateAmount: Q,
|
|
973
|
-
splits:
|
|
952
|
+
splits: x,
|
|
974
953
|
transaction: t
|
|
975
954
|
}
|
|
976
955
|
)
|
|
@@ -1023,7 +1002,7 @@ const ht = E(({ transaction: t }) => {
|
|
|
1023
1002
|
px: 24,
|
|
1024
1003
|
py: 16,
|
|
1025
1004
|
children: [
|
|
1026
|
-
/* @__PURE__ */ e(
|
|
1005
|
+
/* @__PURE__ */ e(S, { bold: !0, children: r.tags_your_tags }),
|
|
1027
1006
|
/* @__PURE__ */ e(
|
|
1028
1007
|
oe,
|
|
1029
1008
|
{
|
|
@@ -1088,7 +1067,7 @@ const ht = E(({ transaction: t }) => {
|
|
|
1088
1067
|
}, Pt = E(kt), Gt = ({ onTagChecked: t, selectedTags: n, tag: i }) => {
|
|
1089
1068
|
const { onEvent: r } = w(), { removeTag: o, updateTag: a } = O(), { common: s, transactions: c } = I(), [_, u] = d.useState(!1), [p, m] = d.useState(!1), [g, h] = d.useState(""), [f, L] = d.useState(""), k = async () => {
|
|
1090
1069
|
r(y.ON_TRANSACTION_TAGS_TAG_EDIT_SAVED), i && await a({ ...i, name: g }), u(!1);
|
|
1091
|
-
},
|
|
1070
|
+
}, x = async () => {
|
|
1092
1071
|
r(y.ON_TRANSACTION_TAGS_TAG_DELETED), await o(i.guid), m(!1);
|
|
1093
1072
|
};
|
|
1094
1073
|
d.useEffect(() => {
|
|
@@ -1127,13 +1106,13 @@ const ht = E(({ transaction: t }) => {
|
|
|
1127
1106
|
] }),
|
|
1128
1107
|
children: [
|
|
1129
1108
|
/* @__PURE__ */ l(
|
|
1130
|
-
|
|
1109
|
+
Y,
|
|
1131
1110
|
{
|
|
1132
1111
|
"aria-checked": n.includes(i.guid),
|
|
1133
1112
|
onClick: () => t(i.guid),
|
|
1134
1113
|
role: "checkbox",
|
|
1135
1114
|
children: [
|
|
1136
|
-
/* @__PURE__ */ e(
|
|
1115
|
+
/* @__PURE__ */ e(z, { sx: { ml: 0 }, children: /* @__PURE__ */ e(
|
|
1137
1116
|
nt,
|
|
1138
1117
|
{
|
|
1139
1118
|
"aria-hidden": !0,
|
|
@@ -1177,11 +1156,11 @@ const ht = E(({ transaction: t }) => {
|
|
|
1177
1156
|
copy: { title: c.tags_delete_title },
|
|
1178
1157
|
isOpen: p,
|
|
1179
1158
|
onClose: () => m(!1),
|
|
1180
|
-
onPrimaryAction:
|
|
1159
|
+
onPrimaryAction: x,
|
|
1181
1160
|
onSecondaryAction: () => r(y.ON_TRANSACTION_TAGS_TAG_DELETE_CANCEL_CLICK),
|
|
1182
1161
|
primaryText: s.delete_button,
|
|
1183
1162
|
secondaryText: s.cancel_button,
|
|
1184
|
-
children: /* @__PURE__ */ e(
|
|
1163
|
+
children: /* @__PURE__ */ e(S, { truncate: !1, children: c.tags_deleting_this_tag_will_remove_it })
|
|
1185
1164
|
}
|
|
1186
1165
|
)
|
|
1187
1166
|
]
|
|
@@ -1210,9 +1189,9 @@ const ht = E(({ transaction: t }) => {
|
|
|
1210
1189
|
d.useEffect(() => {
|
|
1211
1190
|
g(t.tags);
|
|
1212
1191
|
}, [u, t]);
|
|
1213
|
-
const h = (
|
|
1214
|
-
const T = [...m], R = m.indexOf(
|
|
1215
|
-
R >= 0 ? T.splice(R, 1) : T.push(
|
|
1192
|
+
const h = (x) => {
|
|
1193
|
+
const T = [...m], R = m.indexOf(x);
|
|
1194
|
+
R >= 0 ? T.splice(R, 1) : T.push(x), g(T);
|
|
1216
1195
|
}, f = async () => {
|
|
1217
1196
|
if (t.is_manual && !t.guid) {
|
|
1218
1197
|
c({ ...t, tags: m }), p(!1);
|
|
@@ -1221,28 +1200,28 @@ const ht = E(({ transaction: t }) => {
|
|
|
1221
1200
|
await r(m, t.guid), await o({ ...t, tags: m }), n(H.TRANSACTION_DETAILS_CLICK_TAGS, { transaction_guid: t.guid }), p(!1);
|
|
1222
1201
|
}, L = d.useMemo(
|
|
1223
1202
|
() => t.tags.map(
|
|
1224
|
-
(
|
|
1203
|
+
(x, T, R) => `${i.find((C) => C.guid === x)?.name}${T < R.length - 1 ? " / " : ""}`
|
|
1225
1204
|
),
|
|
1226
1205
|
[i, t]
|
|
1227
1206
|
), k = _.palette.mode === "dark" ? "grey.800" : "grey.100";
|
|
1228
1207
|
return /* @__PURE__ */ l(B, { disableGutters: !0, disablePadding: !0, children: [
|
|
1229
1208
|
/* @__PURE__ */ l(
|
|
1230
|
-
|
|
1209
|
+
Y,
|
|
1231
1210
|
{
|
|
1232
1211
|
onClick: () => {
|
|
1233
1212
|
n(y.ON_TRANSACTION_TAGS_CLICK), p(!0);
|
|
1234
1213
|
},
|
|
1235
1214
|
children: [
|
|
1236
|
-
/* @__PURE__ */ e(
|
|
1215
|
+
/* @__PURE__ */ e(W, { children: /* @__PURE__ */ e(V, { sx: { bgcolor: k }, variant: "rounded", children: /* @__PURE__ */ e(D, { name: "local_offer", sx: { color: "text.primary" } }) }) }),
|
|
1237
1216
|
/* @__PURE__ */ e(
|
|
1238
1217
|
$,
|
|
1239
1218
|
{
|
|
1240
1219
|
primary: s.tags_title,
|
|
1241
1220
|
primaryTypographyProps: { variant: "XSmall" },
|
|
1242
|
-
secondary: /* @__PURE__ */ e(
|
|
1221
|
+
secondary: /* @__PURE__ */ e(S, { bold: !0, sx: { color: "text.primary" }, variant: "Body", children: t.tags?.length > 0 ? L : s.tags_desc })
|
|
1243
1222
|
}
|
|
1244
1223
|
),
|
|
1245
|
-
/* @__PURE__ */ e(
|
|
1224
|
+
/* @__PURE__ */ e(z, { children: /* @__PURE__ */ e(D, { name: "chevron_right", sx: { color: "text.primary" } }) })
|
|
1246
1225
|
]
|
|
1247
1226
|
}
|
|
1248
1227
|
),
|
|
@@ -1274,7 +1253,7 @@ const ht = E(({ transaction: t }) => {
|
|
|
1274
1253
|
};
|
|
1275
1254
|
return /* @__PURE__ */ l(F, { className: "mx-txn-transaction-description", children: [
|
|
1276
1255
|
c,
|
|
1277
|
-
_ ? /* @__PURE__ */ l(
|
|
1256
|
+
_ ? /* @__PURE__ */ l(We, { row: !0, children: [
|
|
1278
1257
|
/* @__PURE__ */ e(
|
|
1279
1258
|
Le,
|
|
1280
1259
|
{
|
|
@@ -1308,7 +1287,7 @@ const ht = E(({ transaction: t }) => {
|
|
|
1308
1287
|
}
|
|
1309
1288
|
)
|
|
1310
1289
|
] }) : /* @__PURE__ */ l(v, { alignItems: "center", direction: "row", gap: 4, sx: { minHeight: 44 }, children: [
|
|
1311
|
-
/* @__PURE__ */ e(
|
|
1290
|
+
/* @__PURE__ */ e(S, { bold: !0, children: t.description }),
|
|
1312
1291
|
!n && /* @__PURE__ */ e(
|
|
1313
1292
|
ne,
|
|
1314
1293
|
{
|
|
@@ -1321,7 +1300,7 @@ const ht = E(({ transaction: t }) => {
|
|
|
1321
1300
|
)
|
|
1322
1301
|
] })
|
|
1323
1302
|
] });
|
|
1324
|
-
}, Vt = E(Ut),
|
|
1303
|
+
}, Vt = E(Ut), Wt = ({ transaction: t }) => {
|
|
1325
1304
|
const { updateTransaction: n } = O(), { transactions: i } = I(), { onEvent: r } = w(), o = U(), a = o.palette.mode === "dark", s = async () => {
|
|
1326
1305
|
r(H.TRANSACTION_DETAILS_CLICK_FLAG, { transaction_guid: t.guid }), await n({ ...t, is_flagged: !t.is_flagged });
|
|
1327
1306
|
};
|
|
@@ -1353,9 +1332,9 @@ const ht = E(({ transaction: t }) => {
|
|
|
1353
1332
|
children: /* @__PURE__ */ e(Ze, { color: "inherit" })
|
|
1354
1333
|
}
|
|
1355
1334
|
) });
|
|
1356
|
-
},
|
|
1335
|
+
}, Yt = E(Wt), se = (t, n, i, r = !0, o = "inset") => r ? /* @__PURE__ */ l(d.Fragment, { children: [
|
|
1357
1336
|
/* @__PURE__ */ l(B, { disableGutters: !0, disablePadding: !0, children: [
|
|
1358
|
-
/* @__PURE__ */ e(
|
|
1337
|
+
/* @__PURE__ */ e(W, { children: /* @__PURE__ */ e(V, { sx: { bgcolor: "border.light" }, variant: "rounded", children: t }) }),
|
|
1359
1338
|
/* @__PURE__ */ e(
|
|
1360
1339
|
$,
|
|
1361
1340
|
{
|
|
@@ -1366,7 +1345,7 @@ const ht = E(({ transaction: t }) => {
|
|
|
1366
1345
|
)
|
|
1367
1346
|
] }),
|
|
1368
1347
|
/* @__PURE__ */ e(de, { variant: o })
|
|
1369
|
-
] }) : null,
|
|
1348
|
+
] }) : null, zt = ({ transaction: t }) => {
|
|
1370
1349
|
const { transactions: n } = I(), { tags: i } = O(), r = d.useMemo(() => {
|
|
1371
1350
|
const o = new Map(i.map((a) => [a.guid, a.name]));
|
|
1372
1351
|
return t.tags.map((a) => o.get(a)).filter(Boolean).join(" / ");
|
|
@@ -1383,29 +1362,29 @@ const ht = E(({ transaction: t }) => {
|
|
|
1383
1362
|
}
|
|
1384
1363
|
),
|
|
1385
1364
|
n.category_title,
|
|
1386
|
-
/* @__PURE__ */ e(
|
|
1365
|
+
/* @__PURE__ */ e(S, { bold: !0, variant: "Body", children: t.category ?? n.actions_select_a_category })
|
|
1387
1366
|
),
|
|
1388
1367
|
se(
|
|
1389
|
-
/* @__PURE__ */ e(ce, { name: "calendar_month", sx: { color: "text.primary" }, weight:
|
|
1368
|
+
/* @__PURE__ */ e(ce, { name: "calendar_month", sx: { color: "text.primary" }, weight: Se.Dark }),
|
|
1390
1369
|
n.date_title,
|
|
1391
|
-
/* @__PURE__ */ e(
|
|
1370
|
+
/* @__PURE__ */ e(S, { bold: !0, variant: "Body", children: Me(fe(t.date), ke.YEAR_MONTH_DAY) })
|
|
1392
1371
|
),
|
|
1393
1372
|
se(
|
|
1394
|
-
/* @__PURE__ */ e(ce, { name: "article", sx: { color: "text.primary" }, weight:
|
|
1373
|
+
/* @__PURE__ */ e(ce, { name: "article", sx: { color: "text.primary" }, weight: Se.Dark }),
|
|
1395
1374
|
n.memo_title,
|
|
1396
|
-
/* @__PURE__ */ e(
|
|
1375
|
+
/* @__PURE__ */ e(S, { bold: !0, sx: { overflowWrap: "break-word", whiteSpace: "wrap" }, variant: "Body", children: t.memo ?? n.memo_desc }),
|
|
1397
1376
|
!!t.memo,
|
|
1398
1377
|
t.tags?.length > 0 ? "inset" : "fullWidth"
|
|
1399
1378
|
),
|
|
1400
1379
|
se(
|
|
1401
|
-
/* @__PURE__ */ e(ce, { name: "local_offer", sx: { color: "text.primary" }, weight:
|
|
1380
|
+
/* @__PURE__ */ e(ce, { name: "local_offer", sx: { color: "text.primary" }, weight: Se.Dark }),
|
|
1402
1381
|
n.tags_title,
|
|
1403
|
-
/* @__PURE__ */ e(
|
|
1382
|
+
/* @__PURE__ */ e(S, { bold: !0, variant: "Body", children: t.tags?.length ? r : n.tags_desc }),
|
|
1404
1383
|
!!t.tags?.length,
|
|
1405
1384
|
"fullWidth"
|
|
1406
1385
|
)
|
|
1407
1386
|
] });
|
|
1408
|
-
}, Xt = E(
|
|
1387
|
+
}, Xt = E(zt), jt = ({
|
|
1409
1388
|
bottomActions: t = mt,
|
|
1410
1389
|
canFlagTransaction: n = !0,
|
|
1411
1390
|
topActions: i = ut,
|
|
@@ -1434,12 +1413,12 @@ const ht = E(({ transaction: t }) => {
|
|
|
1434
1413
|
r.isIncome ? "+" : "",
|
|
1435
1414
|
j(r.amount, "0,0.00")
|
|
1436
1415
|
] }),
|
|
1437
|
-
!u && n && /* @__PURE__ */ e(
|
|
1416
|
+
!u && n && /* @__PURE__ */ e(Yt, { transaction: r })
|
|
1438
1417
|
] }),
|
|
1439
1418
|
/* @__PURE__ */ l(v, { sx: { bgcolor: p, borderRadius: "4px", gap: 4, p: 8 }, children: [
|
|
1440
|
-
/* @__PURE__ */ e(
|
|
1419
|
+
/* @__PURE__ */ e(S, { bold: !0, children: `${r.account}
|
|
1441
1420
|
${_ ? r.number : "•".repeat(4).concat(r.number ?? "")}` }),
|
|
1442
|
-
/* @__PURE__ */ e(
|
|
1421
|
+
/* @__PURE__ */ e(S, { bold: !0, variant: "Tiny", children: r.feed_description })
|
|
1443
1422
|
] })
|
|
1444
1423
|
] }),
|
|
1445
1424
|
/* @__PURE__ */ e(le, { square: !0, sx: { boxShadow: "none" }, children: u ? /* @__PURE__ */ e(Xt, { transaction: r }) : /* @__PURE__ */ e(ue, { children: i.map((m, g) => /* @__PURE__ */ l(d.Fragment, { children: [
|
|
@@ -1450,13 +1429,13 @@ const ht = E(({ transaction: t }) => {
|
|
|
1450
1429
|
/* @__PURE__ */ e(de, { variant: g < i.length - 1 ? "inset" : "fullWidth" })
|
|
1451
1430
|
] }, m)) }) }),
|
|
1452
1431
|
!u && t.length > 0 && /* @__PURE__ */ l(d.Fragment, { children: [
|
|
1453
|
-
/* @__PURE__ */ e(
|
|
1432
|
+
/* @__PURE__ */ e(S, { bold: !0, mb: 8, ml: 26, mt: 16, variant: "Body", children: "Actions" }),
|
|
1454
1433
|
/* @__PURE__ */ e(le, { square: !0, sx: { boxShadow: "none" }, children: /* @__PURE__ */ l(ue, { children: [
|
|
1455
1434
|
t.map((m, g) => /* @__PURE__ */ l(d.Fragment, { children: [
|
|
1456
1435
|
m === ae.MerchantBudget && /* @__PURE__ */ e(ht, { transaction: r }),
|
|
1457
1436
|
m === ae.SplitTransaction && /* @__PURE__ */ e(wt, { transaction: r }),
|
|
1458
1437
|
m === ae.HideTransaction && /* @__PURE__ */ e(At, { transaction: r }),
|
|
1459
|
-
m === ae.MerchantLogo && /* @__PURE__ */ e(
|
|
1438
|
+
m === ae.MerchantLogo && /* @__PURE__ */ e(xt, { transaction: r }),
|
|
1460
1439
|
/* @__PURE__ */ e(de, { variant: g < t.length - 1 ? "inset" : "fullWidth" })
|
|
1461
1440
|
] }, m)),
|
|
1462
1441
|
r.is_manual && !r.parent_guid && !r.has_been_split && /* @__PURE__ */ e(bt, { transaction: r })
|
|
@@ -56,7 +56,7 @@ 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
58
|
import { T as a3 } from "../StatusIndicator-BV3oFzxo.mjs";
|
|
59
|
-
import { T as s3 } from "../TransactionDetails-
|
|
59
|
+
import { T as s3 } from "../TransactionDetails-DYlTwSDt.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-DqhSaMrJ.mjs";
|
package/dist/budgets/index.es.js
CHANGED
|
@@ -37,7 +37,7 @@ import De from "@mui/material/Tab";
|
|
|
37
37
|
import Qe from "@mui/material/Tabs";
|
|
38
38
|
import { e as et } from "../exportTransactionsToCSV-CdTF_RqL.mjs";
|
|
39
39
|
import { T as Ae } from "../StatusIndicator-BV3oFzxo.mjs";
|
|
40
|
-
import { T as tt, c as ot } from "../TransactionDetails-
|
|
40
|
+
import { T as tt, c as ot } from "../TransactionDetails-DYlTwSDt.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 nt, b as at } from "../CategorySelectorDrawer-wfUTIbLR.mjs";
|
|
|
46
46
|
import Ge from "@mui/material/CardHeader";
|
|
47
47
|
import { subDays as rt } from "date-fns/subDays";
|
|
48
48
|
import st from "@mui/material/IconButton";
|
|
49
|
-
import { M as it } from "../ManageIncome-
|
|
49
|
+
import { M as it } from "../ManageIncome-BnWWjP2g.mjs";
|
|
50
50
|
import { u as je } from "../useWidgetLoadTimer-DgN1bTyu.mjs";
|
|
51
51
|
import { W as ct } from "../WidgetContainer-B0ncgABX.mjs";
|
|
52
52
|
import { u as lt, g as dt, C as ut } from "../BudgetUtil--_QXyszn.mjs";
|
|
@@ -18,7 +18,7 @@ import { b as $ } from "../Localization-CPkpIwIx.mjs";
|
|
|
18
18
|
import { M as Je } from "../MiniWidgetContainer-Cu72GNsE.mjs";
|
|
19
19
|
import { E as Ze } from "../EmptyState-DHAkGsjk.mjs";
|
|
20
20
|
import { u as Oe } from "../useWidgetLoadTimer-DgN1bTyu.mjs";
|
|
21
|
-
import { R as et } from "../RecurringSettings-
|
|
21
|
+
import { R as et } from "../RecurringSettings-BmXtfHtK.mjs";
|
|
22
22
|
import tt from "@mui/material/Tabs";
|
|
23
23
|
import ye from "@mui/material/Tab";
|
|
24
24
|
import { getUnixTime as z } from "date-fns/getUnixTime";
|
|
@@ -36,7 +36,7 @@ import { alpha as at, keyframes as it } 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 _e, c as dt } from "../ManageIncome-
|
|
39
|
+
import { M as st, S as ct, i as lt, d as _e, c as dt } from "../ManageIncome-BnWWjP2g.mjs";
|
|
40
40
|
import { D as Ge } from "../Drawer-DV4NTsFg.mjs";
|
|
41
41
|
import { subDays as Me } from "date-fns/subDays";
|
|
42
42
|
import { endOfToday as mt } from "date-fns/endOfToday";
|
|
@@ -56,10 +56,10 @@ 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-BnWWjP2g.mjs";
|
|
60
60
|
import { LocalizationProvider as lo, DatePicker as po, StaticDatePicker as _o } from "@mui/x-date-pickers";
|
|
61
61
|
import { AdapterDateFns as Ot } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
62
|
-
import { R as uo } from "../RecurringSettings-
|
|
62
|
+
import { R as uo } from "../RecurringSettings-BmXtfHtK.mjs";
|
|
63
63
|
import { LocalizationProvider as ho } from "@mui/x-date-pickers/LocalizationProvider";
|
|
64
64
|
import { format as mo } from "date-fns/format";
|
|
65
65
|
import go from "@mui/lab/Timeline";
|
|
@@ -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 Un } from "../RecurringSettings-
|
|
9
|
+
import { R as _e } from "../RecurringSettings-BmXtfHtK.mjs";
|
|
10
|
+
import { M as Un } from "../RecurringSettings-BmXtfHtK.mjs";
|
|
11
11
|
import { addMonths as Be } from "date-fns/addMonths";
|
|
12
12
|
import { subMonths as Pe } from "date-fns/subMonths";
|
|
13
13
|
import { isBefore as $e } from "date-fns/isBefore";
|
|
@@ -47,8 +47,8 @@ import dt from "@mui/material/ListSubheader";
|
|
|
47
47
|
import ut from "@mui/material/ListItemAvatar";
|
|
48
48
|
import mt from "@mui/material/ListItemButton";
|
|
49
49
|
import pt from "@mui/material/ListItemText";
|
|
50
|
-
import { b as gt } from "../ManageIncome-
|
|
51
|
-
import { c as Vn, M as Xn, S as qn } from "../ManageIncome-
|
|
50
|
+
import { b as gt } from "../ManageIncome-BnWWjP2g.mjs";
|
|
51
|
+
import { c as Vn, M as Xn, S as qn } from "../ManageIncome-BnWWjP2g.mjs";
|
|
52
52
|
import { f as E } from "../NumberFormatting-QCaNwbjv.mjs";
|
|
53
53
|
import { D as ie } from "../Drawer-DV4NTsFg.mjs";
|
|
54
54
|
import O from "@mui/material/Box";
|
|
@@ -20,7 +20,7 @@ import St from "@mui/material/Button";
|
|
|
20
20
|
import { useTheme as Tt } from "@mui/material";
|
|
21
21
|
import { e as Mt } from "../exportTransactionsToCSV-CdTF_RqL.mjs";
|
|
22
22
|
import { T as Dt } from "../StatusIndicator-BV3oFzxo.mjs";
|
|
23
|
-
import { T as xt } from "../TransactionDetails-
|
|
23
|
+
import { T as xt } from "../TransactionDetails-DYlTwSDt.mjs";
|
|
24
24
|
import vt from "@mui/material/Collapse";
|
|
25
25
|
import wt from "@mui/material/Divider";
|
|
26
26
|
import q from "@mui/material/List";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { T as Sa } from "../TransactionApi-Ck5Ua-7F.mjs";
|
|
2
|
-
import { C as Me, D as Le, M as Re, 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 Le, M as Re, a as He, T as Pe } from "../TransactionDetails-DYlTwSDt.mjs";
|
|
3
|
+
import { B as Da, b as Ia } from "../TransactionDetails-DYlTwSDt.mjs";
|
|
4
4
|
import { T as E } from "../Transaction-CqjlF6SO.mjs";
|
|
5
5
|
import { O as Na } from "../Transaction-CqjlF6SO.mjs";
|
|
6
6
|
import { S as Z, D as Be } from "../TransactionStore-DP5vipL2.mjs";
|
package/dist/trends/index.es.js
CHANGED
|
@@ -36,7 +36,7 @@ import Xt from "@mui/material/Badge";
|
|
|
36
36
|
import Zt from "@mui/material/IconButton";
|
|
37
37
|
import { A as v } from "../Analytics-BYItVAe-.mjs";
|
|
38
38
|
import { T as ct } from "../StatusIndicator-BV3oFzxo.mjs";
|
|
39
|
-
import { T as dt } from "../TransactionDetails-
|
|
39
|
+
import { T as dt } from "../TransactionDetails-DYlTwSDt.mjs";
|
|
40
40
|
import { D as We } from "../Drawer-DV4NTsFg.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": "7.12.
|
|
3
|
+
"version": "7.12.16",
|
|
4
4
|
"description": "Library containing experience widgets",
|
|
5
5
|
"author": "MX",
|
|
6
6
|
"license": "MIT",
|
|
@@ -193,7 +193,7 @@
|
|
|
193
193
|
"@mui/x-date-pickers-pro": "^7.29.4",
|
|
194
194
|
"@mxenabled/cssinjs": "^0.6.0",
|
|
195
195
|
"@mxenabled/mx-icons": "^1.5.1",
|
|
196
|
-
"@mxenabled/mxui": "1.5.
|
|
196
|
+
"@mxenabled/mxui": "^1.5.14",
|
|
197
197
|
"@mxenabled/web-widget-sdk": "^0.0.13",
|
|
198
198
|
"@tanstack/react-virtual": "^3.13.2",
|
|
199
199
|
"bowser": "^2.11.0",
|