@mx-cartographer/experiences 7.3.0 → 7.3.2

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 CHANGED
@@ -1,3 +1,13 @@
1
+ ## [7.3.2] - 12-09-2025
2
+
3
+ - **FIXED** Add invisible accessibility label/description for RecurringTransactionsMiniWidget calendar
4
+ - **FIXED** Focus mini recurring transaction list after calendar month/day filter for better accessibility
5
+ - **FIXED** Clarify alt text for institution logos in RecurrenceRow
6
+
7
+ ## [7.3.1] - 12-09-2025
8
+
9
+ - **UPDATED** `SpendingWidget` to have an export csv button on transactions list
10
+
1
11
  ## [7.3.0] - 12-09-2025
2
12
 
3
13
  - **UPDATED** - Improved `X-Charts` chunk loading for better performance.
@@ -1,7 +1,7 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
2
  import { observer as c } from "mobx-react-lite";
3
3
  import { Icon as i } from "@mxenabled/mxui";
4
- import { e as p } from "./exportTransactionsToCSV-B8qpk5MU.mjs";
4
+ import { e as p } from "./exportTransactionsToCSV-C4PkIYP6.mjs";
5
5
  import { O as m } from "./User-Bj34_i8g.mjs";
6
6
  import { R as x } from "./ResponsiveButton-DZFp78fJ.mjs";
7
7
  import { g as _, h as C, u as l } from "./hooks-Cy8JnjCg.mjs";
@@ -16,7 +16,7 @@ import { subDays as F } from "date-fns/subDays";
16
16
  import { O as n, a as G, T as w } from "./User-Bj34_i8g.mjs";
17
17
  import { T as p } from "./TransactionApi-CjBoLleL.mjs";
18
18
  import { b as W } from "./Category-CevNQ03n.mjs";
19
- import { f as z } from "./exportTransactionsToCSV-B8qpk5MU.mjs";
19
+ import { f as z } from "./exportTransactionsToCSV-C4PkIYP6.mjs";
20
20
  import { format as k } from "date-fns/format";
21
21
  import { f as g, D as O, O as $ } from "./Dialog-CWW597AF.mjs";
22
22
  import { endOfMonth as X } from "date-fns/endOfMonth";
@@ -37,7 +37,7 @@ import et from "@mui/material/Alert";
37
37
  import tt from "@mui/material/Snackbar";
38
38
  import Ce from "@mui/material/Tab";
39
39
  import nt from "@mui/material/Tabs";
40
- import { e as ot } from "../exportTransactionsToCSV-B8qpk5MU.mjs";
40
+ import { e as ot } from "../exportTransactionsToCSV-C4PkIYP6.mjs";
41
41
  import { T as De, a as at } from "../TransactionDetails-BUoNbsu-.mjs";
42
42
  import fe from "@mui/material/Card";
43
43
  import be from "@mui/material/CardContent";
@@ -18,8 +18,8 @@ import { C as Qs } from "../CurrencyInput-lSC7oPDg.mjs";
18
18
  import { L as Xs } from "../Loader-DUaFpDGv.mjs";
19
19
  import { R as Ks } from "../ResponsiveButton-DZFp78fJ.mjs";
20
20
  import { S as Zs } from "../SearchBox-B2_zLv8-.mjs";
21
- import { T as at } from "../TransactionStore-C1oyQCZK.mjs";
22
- import { S as tr } from "../TransactionStore-C1oyQCZK.mjs";
21
+ import { T as at } from "../TransactionStore-CtGTg0XS.mjs";
22
+ import { S as tr } from "../TransactionStore-CtGTg0XS.mjs";
23
23
  import { T as sr } from "../TabContentContainer-j01JYR_7.mjs";
24
24
  import { I as or } from "../IconBacking-B9oC6uL2.mjs";
25
25
  import { D as nr, F as ir, a as cr, c as dr, R as lr, S as ur } from "../RecurringTransactions-ej39mgA6.mjs";
@@ -0,0 +1,48 @@
1
+ import { fromUnixTime as d } from "date-fns/fromUnixTime";
2
+ import { c as u } from "./Category-CevNQ03n.mjs";
3
+ import { f as p, D as g } from "./Dialog-CWW597AF.mjs";
4
+ import { T as m } from "./User-Bj34_i8g.mjs";
5
+ function f(t) {
6
+ return new Set(
7
+ t.filter((n) => n.parent_guid !== void 0).map((n) => n.parent_guid)
8
+ );
9
+ }
10
+ function T(t) {
11
+ return t.reduce((n, e) => (e.parent_guid && (n[e.parent_guid] || (n[e.parent_guid] = []), n[e.parent_guid].push(e)), n), {});
12
+ }
13
+ function j(t, n) {
14
+ const e = f(n), o = T(n), r = /* @__PURE__ */ new Set(), a = [];
15
+ for (const i of t)
16
+ e.has(i.guid) ? (o[i.guid] ?? []).slice().sort((s, c) => Math.abs(c.amount) - Math.abs(s.amount)).forEach((s) => {
17
+ r.has(s.guid) || (a.push(s), r.add(s.guid));
18
+ }) : r.has(i.guid) || (a.push(i), r.add(i.guid));
19
+ return a;
20
+ }
21
+ const A = (t, n) => {
22
+ const e = _(l(t, n)), o = new Blob([e], { type: "text/csv;charset=utf-8;" }), r = document.createElement("a");
23
+ r.href = URL.createObjectURL(o), r.setAttribute("download", "transactions.csv"), document.body.appendChild(r), r.click(), document.body.removeChild(r), URL.revokeObjectURL(r.href);
24
+ }, l = (t, n) => t.map((e) => ({
25
+ Date: p(d(e.date), g.YEAR_MONTH_DAY),
26
+ Description: y(e),
27
+ "Original Description": e.feed_description,
28
+ Amount: `${e.amount}`,
29
+ Type: e.transaction_type === m.CREDIT ? "Credit" : "Debit",
30
+ "Parent Category": u[e.top_level_category_guid || ""],
31
+ Category: e.category,
32
+ Account: e.account,
33
+ Tags: C(e, n),
34
+ Memo: e.memo,
35
+ Pending: e.isPending ? "TRUE" : "FALSE"
36
+ })), h = (t) => t ? /[,"\n\r]/.test(t) ? `"${t.replace(/"/g, '""')}"` : t : "", _ = (t) => {
37
+ const n = Object.keys(t[0]).join(",").concat(`\r
38
+ `), e = t.map((o) => Object.values(o).map(h).join(",")).join(`\r
39
+ `);
40
+ return n + e;
41
+ }, y = (t) => {
42
+ let n = t.parent_guid ? "Split: " : "";
43
+ return n += t.is_hidden ? "(Excluded) " : "", n += t.description, n;
44
+ }, C = (t, n) => t.tags.map((e) => n.filter((r) => r.guid === e)[0]?.name ?? "").join(" ");
45
+ export {
46
+ A as e,
47
+ j as f
48
+ };