@mx-cartographer/experiences 7.2.22-alpha.sms2 → 7.2.22
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 +2 -3
- package/dist/{AccountDetailsContent-C-TlAp1T.mjs → AccountDetailsContent-DIGzsjAD.mjs} +1 -1
- package/dist/{CategorySelectorDrawer-DUe4lH5-.mjs → CategorySelectorDrawer-BXnLseqP.mjs} +20 -18
- package/dist/{ManageIncome-CGYYCOFR.mjs → ManageIncome-B7RqkNz5.mjs} +1 -1
- package/dist/{RecurringSettings-BMcgNklx.mjs → RecurringSettings-CaQJvUPQ.mjs} +1 -1
- package/dist/{TransactionDetails-D9ycDgYU.mjs → TransactionDetails-gdzlKeDG.mjs} +515 -482
- 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/categories/index.es.js +1 -1
- package/dist/common/index.es.js +250 -260
- package/dist/common/stores/GlobalStore.d.ts +1 -4
- package/dist/finstrong/index.es.js +1 -1
- package/dist/goals/index.es.js +1 -1
- package/dist/recurringtransactions/index.es.js +4 -4
- package/dist/settings/index.es.js +1 -1
- package/dist/spending/index.es.js +16 -17
- package/dist/transactions/components/shared/TransactionDetails.d.ts +0 -1
- package/dist/transactions/index.es.js +61 -62
- package/dist/trends/index.es.js +1 -1
- package/package.json +1 -1
- package/dist/useAriaLive-B3_pRUio.mjs +0 -35
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
## [7.2.22] - 12-03-2025
|
|
2
2
|
|
|
3
|
-
- **FIXED** -
|
|
4
|
-
- **FIXED** -
|
|
5
|
-
- **UPDATE** - `GlobalStore` emits an update when a subscribed-to variable changes. Good for external libraries like Pulse.
|
|
3
|
+
- **FIXED** - Aria annoounce for split row error messages
|
|
4
|
+
- **FIXED** - Aria label for add subcategory modal
|
|
6
5
|
|
|
7
6
|
## [7.2.21] - 12-03-2025
|
|
8
7
|
|
|
@@ -44,7 +44,7 @@ import yt from "@mui/material/AlertTitle";
|
|
|
44
44
|
import xt from "@mui/material/Link";
|
|
45
45
|
import wt from "@mui/material/Paper";
|
|
46
46
|
import { subDays as kt, startOfToday as It, endOfToday as Mt } from "date-fns";
|
|
47
|
-
import { T as vt, a as Lt } from "./TransactionDetails-
|
|
47
|
+
import { T as vt, a as Lt } from "./TransactionDetails-gdzlKeDG.mjs";
|
|
48
48
|
import { T as j } from "./TabContentContainer-j01JYR_7.mjs";
|
|
49
49
|
const U = ({
|
|
50
50
|
children: e,
|
|
@@ -23,7 +23,7 @@ import I from "@mui/material/IconButton";
|
|
|
23
23
|
import { S as oe } from "./SearchBox-B2_zLv8-.mjs";
|
|
24
24
|
import { L as k } from "./Loader-DUaFpDGv.mjs";
|
|
25
25
|
import { D as ae } from "./Drawer-kEE73B87.mjs";
|
|
26
|
-
const
|
|
26
|
+
const p = () => {
|
|
27
27
|
if (!C.useContext(K))
|
|
28
28
|
throw new Error("useCategoryUiStore() must be used within the GlobalDataContext");
|
|
29
29
|
return y().uiStore;
|
|
@@ -48,7 +48,7 @@ const re = ({
|
|
|
48
48
|
isOpen: c,
|
|
49
49
|
type: s
|
|
50
50
|
}) => {
|
|
51
|
-
const [a, i] = C.useState(e), { categories: n } = b(), { setShouldDisableDrawerScroll: l } =
|
|
51
|
+
const [a, i] = C.useState(e), { categories: n } = b(), { setShouldDisableDrawerScroll: l } = p();
|
|
52
52
|
let u = "", d = [];
|
|
53
53
|
const _ = s === "delete";
|
|
54
54
|
switch (s) {
|
|
@@ -82,9 +82,11 @@ const re = ({
|
|
|
82
82
|
children: /* @__PURE__ */ t(Q, { children: _ ? /* @__PURE__ */ t(B, { children: d }) : /* @__PURE__ */ t(
|
|
83
83
|
q,
|
|
84
84
|
{
|
|
85
|
-
|
|
85
|
+
inputProps: {
|
|
86
|
+
"aria-label": s === "edit" ? n.edit_subcategory_aria : n.add_subcategory_aria
|
|
87
|
+
},
|
|
86
88
|
name: "modify-subcategory",
|
|
87
|
-
onChange: (
|
|
89
|
+
onChange: (h) => i(h.target.value),
|
|
88
90
|
placeholder: n.input_placeholder,
|
|
89
91
|
sx: { width: "100%" },
|
|
90
92
|
value: a
|
|
@@ -93,7 +95,7 @@ const re = ({
|
|
|
93
95
|
}
|
|
94
96
|
);
|
|
95
97
|
}, R = g(re), ne = ({ parentCategory: e }) => {
|
|
96
|
-
const [o, r] = C.useState(!1), { addCategory: c } = y(), { categories: s } = b(), { onEvent: a } = D(), { setShouldDisableDrawerScroll: i } =
|
|
98
|
+
const [o, r] = C.useState(!1), { addCategory: c } = y(), { categories: s } = b(), { onEvent: a } = D(), { setShouldDisableDrawerScroll: i } = p(), n = async (d) => {
|
|
97
99
|
await c(d.trim(), e.guid), a(m.ON_SUBCATEGORY_ADDED), r(!1);
|
|
98
100
|
}, l = async () => {
|
|
99
101
|
a(m.ON_SUBCATEGORY_ADD_CLICK), i(!0), r(!0);
|
|
@@ -168,7 +170,7 @@ const re = ({
|
|
|
168
170
|
showSelected: i,
|
|
169
171
|
unselectable: n,
|
|
170
172
|
unselectableText: l
|
|
171
|
-
} =
|
|
173
|
+
} = p(), { categories: u } = b(), { onEvent: d } = D(), [_, h] = C.useState(!1), [f, O] = C.useState(!1), T = !!o.revision, A = o.guid === c, w = !n.some((P) => P === o.guid);
|
|
172
174
|
return /* @__PURE__ */ E(
|
|
173
175
|
x,
|
|
174
176
|
{
|
|
@@ -205,7 +207,7 @@ const re = ({
|
|
|
205
207
|
{
|
|
206
208
|
"aria-label": S(u.edit_subcategory_aria, o.name),
|
|
207
209
|
onClick: () => {
|
|
208
|
-
|
|
210
|
+
h(!0), a(!0), d(m.ON_SUBCATEGORY_EDIT_CLICK);
|
|
209
211
|
},
|
|
210
212
|
children: /* @__PURE__ */ t(j, { color: "secondary" })
|
|
211
213
|
}
|
|
@@ -234,7 +236,7 @@ const re = ({
|
|
|
234
236
|
_ && /* @__PURE__ */ t(
|
|
235
237
|
ce,
|
|
236
238
|
{
|
|
237
|
-
setShowRename:
|
|
239
|
+
setShowRename: h,
|
|
238
240
|
showRename: _,
|
|
239
241
|
subCategory: o
|
|
240
242
|
}
|
|
@@ -243,7 +245,7 @@ const re = ({
|
|
|
243
245
|
}
|
|
244
246
|
);
|
|
245
247
|
}, me = g(ue), Ce = ({ categories: e, parentCategory: o }) => {
|
|
246
|
-
const { expandedGuid: r, searchValue: c } =
|
|
248
|
+
const { expandedGuid: r, searchValue: c } = p(), s = o.guid === r, a = !!c;
|
|
247
249
|
return /* @__PURE__ */ t(
|
|
248
250
|
J,
|
|
249
251
|
{
|
|
@@ -269,7 +271,7 @@ const re = ({
|
|
|
269
271
|
}
|
|
270
272
|
);
|
|
271
273
|
}, ge = g(Ce), _e = ({ category: e, subCategories: o }) => {
|
|
272
|
-
const { expandedGuid: r, searchValue: c, setExpandedGuid: s } =
|
|
274
|
+
const { expandedGuid: r, searchValue: c, setExpandedGuid: s } = p(), { onEvent: a } = D(), i = e.guid === r, n = () => {
|
|
273
275
|
const l = e.guid !== r ? e.guid : null;
|
|
274
276
|
s(l), a(l ? m.ON_CATEGORY_EXPANDED : m.ON_CATEGORY_COLLAPSED);
|
|
275
277
|
};
|
|
@@ -307,8 +309,8 @@ const re = ({
|
|
|
307
309
|
/* @__PURE__ */ t(v, { sx: { ml: 58 } }),
|
|
308
310
|
/* @__PURE__ */ t(ge, { categories: o, parentCategory: e })
|
|
309
311
|
] });
|
|
310
|
-
}, Ee = g(_e),
|
|
311
|
-
const { categories: e } = y(), { searchValue: o } =
|
|
312
|
+
}, Ee = g(_e), pe = () => {
|
|
313
|
+
const { categories: e } = y(), { searchValue: o } = p(), { categories: r } = b(), s = ((a, i = "") => a.reduce((n, l) => {
|
|
312
314
|
if (l.parent_guid === null) {
|
|
313
315
|
const d = [
|
|
314
316
|
{
|
|
@@ -333,7 +335,7 @@ const re = ({
|
|
|
333
335
|
},
|
|
334
336
|
a.category.guid
|
|
335
337
|
)) }) });
|
|
336
|
-
},
|
|
338
|
+
}, he = g(pe), Se = ({
|
|
337
339
|
initialSelected: e,
|
|
338
340
|
onSelect: o = void 0,
|
|
339
341
|
showSelected: r = !0,
|
|
@@ -344,17 +346,17 @@ const re = ({
|
|
|
344
346
|
searchValue: u,
|
|
345
347
|
setOnSelect: d,
|
|
346
348
|
setSearchValue: _,
|
|
347
|
-
setSelectedGuid:
|
|
349
|
+
setSelectedGuid: h,
|
|
348
350
|
setShowSelected: f,
|
|
349
351
|
setUnselectable: O,
|
|
350
352
|
setUnselectableText: T
|
|
351
|
-
} =
|
|
353
|
+
} = p();
|
|
352
354
|
return C.useEffect(() => {
|
|
353
355
|
o && d(o);
|
|
354
356
|
}), C.useEffect(() => {
|
|
355
357
|
a.length || i();
|
|
356
358
|
}, []), C.useEffect(() => {
|
|
357
|
-
e &&
|
|
359
|
+
e && h(e), f(r), O(c), T(s);
|
|
358
360
|
}, [e, r, c, s]), l ? /* @__PURE__ */ E($, { className: "mx-cat-category-selector", sx: { width: "100%" }, children: [
|
|
359
361
|
/* @__PURE__ */ t(
|
|
360
362
|
oe,
|
|
@@ -366,7 +368,7 @@ const re = ({
|
|
|
366
368
|
searchValue: u
|
|
367
369
|
}
|
|
368
370
|
),
|
|
369
|
-
/* @__PURE__ */ t(
|
|
371
|
+
/* @__PURE__ */ t(he, {})
|
|
370
372
|
] }) : /* @__PURE__ */ t(k, {});
|
|
371
373
|
}, ye = g(Se), be = ({
|
|
372
374
|
id: e,
|
|
@@ -393,5 +395,5 @@ export {
|
|
|
393
395
|
ye as C,
|
|
394
396
|
ze as a,
|
|
395
397
|
Ee as b,
|
|
396
|
-
|
|
398
|
+
p as u
|
|
397
399
|
};
|
|
@@ -17,7 +17,7 @@ import { endOfMonth as _e } from "date-fns/endOfMonth";
|
|
|
17
17
|
import { parseISO as me } from "date-fns/parseISO";
|
|
18
18
|
import $ from "@mui/material/Button";
|
|
19
19
|
import { Delete as pe, Add as he, ReceiptLong as ye } from "@mxenabled/mx-icons";
|
|
20
|
-
import { T as X, a as ge, u as fe, S as Ce, b as be } from "./TransactionDetails-
|
|
20
|
+
import { T as X, a as ge, u as fe, S as Ce, b as be } from "./TransactionDetails-gdzlKeDG.mjs";
|
|
21
21
|
import { getDayOfYear as xe } from "date-fns/getDayOfYear";
|
|
22
22
|
import { setDayOfYear as Se } from "date-fns/setDayOfYear";
|
|
23
23
|
import { AdapterDateFns as ve } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
@@ -7,7 +7,7 @@ import b from "@mui/material/Tabs";
|
|
|
7
7
|
import d from "@mui/material/Divider";
|
|
8
8
|
import R from "@mui/material/List";
|
|
9
9
|
import T from "@mui/material/Stack";
|
|
10
|
-
import { R as C, A as S, a as E, M as v } from "./ManageIncome-
|
|
10
|
+
import { R as C, A as S, a as E, M as v } from "./ManageIncome-B7RqkNz5.mjs";
|
|
11
11
|
import { u as _, j as A, g as f } from "./hooks-D6XlXHf4.mjs";
|
|
12
12
|
import { R as y, F as N } from "./RecurringTransactions-ej39mgA6.mjs";
|
|
13
13
|
import { A as m } from "./WidgetContainer-EbrN1oIo.mjs";
|