@mx-cartographer/experiences 7.5.2 → 7.5.3
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 +4 -0
- package/dist/recurringtransactions/index.es.js +22 -17
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -30,7 +30,7 @@ import { PickersDay as ot } from "@mui/x-date-pickers/PickersDay";
|
|
|
30
30
|
import { I as q } from "../IconBacking-B9oC6uL2.mjs";
|
|
31
31
|
import { u as w, b as Z, j as I, g as J, p as ke, d as he, h as fe } from "../hooks-ZMp65DFz.mjs";
|
|
32
32
|
import { c as v, a as D, g as Me, f as at } from "../RecurringTransactions-BqijW_8S.mjs";
|
|
33
|
-
import { T as
|
|
33
|
+
import { T as z } from "../RecurringTransactionsStore-BhBUVm9a.mjs";
|
|
34
34
|
import { R as kn } from "../RecurringTransactionsStore-BhBUVm9a.mjs";
|
|
35
35
|
import { A as _, W as st } from "../WidgetContainer-30Dy7US7.mjs";
|
|
36
36
|
import ct from "@mui/material/Button";
|
|
@@ -144,9 +144,9 @@ const Q = {
|
|
|
144
144
|
);
|
|
145
145
|
}), Le = 58, Be = T(() => {
|
|
146
146
|
const t = ge(), { onEvent: n } = J(), { selectedDay: i, setDateRange: r } = I(), [a, c] = f.useState(
|
|
147
|
-
Ie(/* @__PURE__ */ new Date()) *
|
|
147
|
+
Ie(/* @__PURE__ */ new Date()) * z + Le
|
|
148
148
|
), p = (u) => {
|
|
149
|
-
c(Ie(u) *
|
|
149
|
+
c(Ie(u) * z + Le), r({
|
|
150
150
|
start: k(u),
|
|
151
151
|
end: F(u)
|
|
152
152
|
}), h(u), n(_.RECURRING_TRANSACTIONS_CLICK_CALENDAR_RIGHT);
|
|
@@ -192,11 +192,11 @@ const Q = {
|
|
|
192
192
|
minHeight: a
|
|
193
193
|
},
|
|
194
194
|
"&.MuiDateCalendar-root": {
|
|
195
|
-
minHeight: a +
|
|
195
|
+
minHeight: a + z
|
|
196
196
|
},
|
|
197
197
|
"& .MuiButtonBase-root, .MuiDayCalendar-weekDayLabel": {
|
|
198
|
-
height:
|
|
199
|
-
width:
|
|
198
|
+
height: z,
|
|
199
|
+
width: z,
|
|
200
200
|
margin: 0
|
|
201
201
|
},
|
|
202
202
|
"& .MuiDayCalendar-weekDayLabel": {
|
|
@@ -368,7 +368,7 @@ const Q = {
|
|
|
368
368
|
}
|
|
369
369
|
)
|
|
370
370
|
] });
|
|
371
|
-
},
|
|
371
|
+
}, H = T(
|
|
372
372
|
({
|
|
373
373
|
recurrences: t,
|
|
374
374
|
isMini: n = !1,
|
|
@@ -382,10 +382,15 @@ const Q = {
|
|
|
382
382
|
c && /* @__PURE__ */ o(
|
|
383
383
|
l,
|
|
384
384
|
{
|
|
385
|
-
sx: {
|
|
385
|
+
sx: {
|
|
386
|
+
alignItems: "center",
|
|
387
|
+
flexDirection: "row",
|
|
388
|
+
justifyContent: "space-between",
|
|
389
|
+
px: 24
|
|
390
|
+
},
|
|
386
391
|
children: [
|
|
387
392
|
/* @__PURE__ */ e(g, { bold: !0, variant: "body1", children: c }),
|
|
388
|
-
i && /* @__PURE__ */ e(ct, { onClick: i, variant: "text", children: p.reset })
|
|
393
|
+
i && /* @__PURE__ */ e(ct, { onClick: i, size: "small", variant: "text", children: p.reset })
|
|
389
394
|
]
|
|
390
395
|
}
|
|
391
396
|
),
|
|
@@ -537,7 +542,7 @@ const Q = {
|
|
|
537
542
|
}
|
|
538
543
|
),
|
|
539
544
|
i && /* @__PURE__ */ e(
|
|
540
|
-
|
|
545
|
+
H,
|
|
541
546
|
{
|
|
542
547
|
onRecurrenceClick: j,
|
|
543
548
|
recurrences: $,
|
|
@@ -561,14 +566,14 @@ const Q = {
|
|
|
561
566
|
)
|
|
562
567
|
] }),
|
|
563
568
|
B === 0 && /* @__PURE__ */ e(
|
|
564
|
-
|
|
569
|
+
H,
|
|
565
570
|
{
|
|
566
571
|
onRecurrenceClick: j,
|
|
567
572
|
recurrences: $
|
|
568
573
|
}
|
|
569
574
|
),
|
|
570
575
|
B === 1 && /* @__PURE__ */ e(
|
|
571
|
-
|
|
576
|
+
H,
|
|
572
577
|
{
|
|
573
578
|
onRecurrenceClick: K,
|
|
574
579
|
recurrences: b
|
|
@@ -579,7 +584,7 @@ const Q = {
|
|
|
579
584
|
i && /* @__PURE__ */ e(se, { sx: { minWidth: 450 }, xs: "auto", children: /* @__PURE__ */ o(l, { gap: 24, children: [
|
|
580
585
|
/* @__PURE__ */ e(Be, {}),
|
|
581
586
|
/* @__PURE__ */ e(
|
|
582
|
-
|
|
587
|
+
H,
|
|
583
588
|
{
|
|
584
589
|
onRecurrenceClick: K,
|
|
585
590
|
recurrences: W || b,
|
|
@@ -649,7 +654,7 @@ const Q = {
|
|
|
649
654
|
/* @__PURE__ */ e(Be, {}),
|
|
650
655
|
!p && /* @__PURE__ */ e(le, { flexItem: !0, orientation: "vertical", sx: { my: 16, ml: 16 } }),
|
|
651
656
|
/* @__PURE__ */ e(
|
|
652
|
-
|
|
657
|
+
H,
|
|
653
658
|
{
|
|
654
659
|
isMini: !0,
|
|
655
660
|
onResetClick: i ? () => a(i) : void 0,
|
|
@@ -821,7 +826,7 @@ const Q = {
|
|
|
821
826
|
maxLogos: 3,
|
|
822
827
|
upcomingRecurrences: y.slice(0, 3)
|
|
823
828
|
}
|
|
824
|
-
) : /* @__PURE__ */ e(wt, { maxLogos: 3, upcomingRecurrences: y.slice(0, 3) }) : /* @__PURE__ */ e(l, { sx: { width: M ? 64 : 104 } }),
|
|
829
|
+
) : /* @__PURE__ */ e(wt, { maxLogos: 3, upcomingRecurrences: y.slice(0, 3) }) : /* @__PURE__ */ e(l, { sx: { width: M ? 64 : 104 } }), ze = [
|
|
825
830
|
{
|
|
826
831
|
amount: W,
|
|
827
832
|
bgColor: "success.main",
|
|
@@ -904,7 +909,7 @@ const Q = {
|
|
|
904
909
|
gap: 16,
|
|
905
910
|
mt: 4
|
|
906
911
|
},
|
|
907
|
-
children:
|
|
912
|
+
children: ze.map((N, He) => /* @__PURE__ */ e(
|
|
908
913
|
St,
|
|
909
914
|
{
|
|
910
915
|
amount: N.amount,
|
|
@@ -913,7 +918,7 @@ const Q = {
|
|
|
913
918
|
isSmallScreen: M,
|
|
914
919
|
label: N.label
|
|
915
920
|
},
|
|
916
|
-
`recurrence-legend-${
|
|
921
|
+
`recurrence-legend-${He}`
|
|
917
922
|
))
|
|
918
923
|
}
|
|
919
924
|
)
|