@mx-cartographer/experiences 6.14.1 → 6.14.2-alpha.mega1
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/dist/index.es.js +13 -7
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -8227,7 +8227,7 @@ const Ks = ({ transaction: e }) => {
|
|
|
8227
8227
|
}) => {
|
|
8228
8228
|
const { recurring: a } = I(), { filter: o, setFilter: r, transactions: s } = Oe(), { addRepeatingTransaction: c } = Ye(), { user: d } = Gt(), [u, _] = h.useState(!1), [g, m] = h.useState(""), [C, f] = h.useState(pe.EveryMonth), [E, b] = h.useState(1), [S, A] = h.useState(15), v = h.useMemo(
|
|
8229
8229
|
() => s.find((B) => B.guid === g),
|
|
8230
|
-
[g]
|
|
8230
|
+
[g, s]
|
|
8231
8231
|
), w = () => {
|
|
8232
8232
|
_(!0), r(e ? { ...o, custom: fi } : { ...o, custom: Pa });
|
|
8233
8233
|
}, R = async () => {
|
|
@@ -8560,7 +8560,7 @@ const Ks = ({ transaction: e }) => {
|
|
|
8560
8560
|
}) => {
|
|
8561
8561
|
const { recurring: o } = I(), { repeatingTransactions: r } = Ye(), [s, c] = h.useState(!1), d = h.useMemo(
|
|
8562
8562
|
() => r.find((E) => E.guid === e.repeatingTransactionGuid),
|
|
8563
|
-
[e]
|
|
8563
|
+
[e, r]
|
|
8564
8564
|
), u = e.type === Vt.Income, _ = e.status === qe.Paid, g = e.status === qe.Missed, m = e.status === qe.Upcoming;
|
|
8565
8565
|
let C = o.paid?.toLowerCase();
|
|
8566
8566
|
return g ? C = o.missed?.toLowerCase() : m && (C = a ? zi(o, d || {}, !0) : zi(o, d || {}, !1)), /* @__PURE__ */ l(j, { disableGutters: !0, disablePadding: !0, children: [
|
|
@@ -10164,7 +10164,7 @@ const Eg = ({ recurrence: e }) => /* @__PURE__ */ l(X, { children: [
|
|
|
10164
10164
|
`, Gg = () => {
|
|
10165
10165
|
const { addRepeatingTransaction: e, repeatingTransactions: n } = Ye(), { cashflow: i, common: a } = I(), { completeOnboarding: o } = io(), { isDirty: r } = ti(), { isMobile: s } = fe(), { isCopyLoaded: c, setDisplayedDate: d } = le(), { filter: u, setFilter: _, transactions: g } = Oe(), m = Ce(), [C, f] = St(!0), [E, b] = h.useState(pe.EveryMonth), [S, A] = h.useState(1), [v, w] = h.useState(15), [R, M] = St(!1), [B, D] = St(1), [G, O] = St([]), [U, J] = St(""), _e = h.useMemo(
|
|
10166
10166
|
() => g.find((ye) => ye.guid === U),
|
|
10167
|
-
[U]
|
|
10167
|
+
[U, g]
|
|
10168
10168
|
), ne = !!n.filter(
|
|
10169
10169
|
(ye) => ye.repeating_transaction_type === nn.Income
|
|
10170
10170
|
).length, ue = async () => {
|
|
@@ -20679,7 +20679,10 @@ const Ta = ({
|
|
|
20679
20679
|
)
|
|
20680
20680
|
] });
|
|
20681
20681
|
}, wC = x(vC), NC = () => {
|
|
20682
|
-
const [e, n] = h.useState(""), { onEvent: i } = Y(), { selectedAccount: a } = Bt(), { accounts: o } = I(), { setFilter: r, sortedTransactions: s } = Oe(), c = h.useMemo(
|
|
20682
|
+
const [e, n] = h.useState(""), { onEvent: i } = Y(), { selectedAccount: a } = Bt(), { accounts: o } = I(), { setFilter: r, sortedTransactions: s } = Oe(), c = h.useMemo(
|
|
20683
|
+
() => s.find((d) => d.guid === e),
|
|
20684
|
+
[e, s]
|
|
20685
|
+
);
|
|
20683
20686
|
return h.useEffect(() => {
|
|
20684
20687
|
r({
|
|
20685
20688
|
dateRange: { start: Jl(ed(), 90), end: td() },
|
|
@@ -22444,7 +22447,7 @@ const a0 = ({
|
|
|
22444
22447
|
}), C0 = x(({ budget: e }) => {
|
|
22445
22448
|
const { budgets: n, common: i, transactions: a } = I(), { setAlert: o } = dt(), { sortedTransactions: r, tags: s } = Oe(), [c, d] = h.useState(0), [u, _] = h.useState(""), g = h.useMemo(
|
|
22446
22449
|
() => r.find((f) => f.guid === u),
|
|
22447
|
-
[u]
|
|
22450
|
+
[u, r]
|
|
22448
22451
|
), m = (f, E) => {
|
|
22449
22452
|
d(E);
|
|
22450
22453
|
}, C = () => {
|
|
@@ -26880,7 +26883,7 @@ const wi = h.createContext(null), ef = ({
|
|
|
26880
26883
|
[n, i]
|
|
26881
26884
|
), w = h.useMemo(
|
|
26882
26885
|
() => u.find((D) => D.guid === f),
|
|
26883
|
-
[f]
|
|
26886
|
+
[f, u]
|
|
26884
26887
|
), R = (D, G) => {
|
|
26885
26888
|
C(G), g("");
|
|
26886
26889
|
}, M = (D) => {
|
|
@@ -27145,7 +27148,10 @@ const Ff = (e) => e.reduce((i, a) => {
|
|
|
27145
27148
|
isOpen: i,
|
|
27146
27149
|
onClose: a
|
|
27147
27150
|
}) => {
|
|
27148
|
-
const { onEvent: o } = Y(), { selectedAccountGuids: r } = le(), { common: s } = I(), { setFilter: c, sortedTransactions: d } = Oe(), [u, _] = h.useState(""), g = h.useMemo(
|
|
27151
|
+
const { onEvent: o } = Y(), { selectedAccountGuids: r } = le(), { common: s } = I(), { setFilter: c, sortedTransactions: d } = Oe(), [u, _] = h.useState(""), g = h.useMemo(
|
|
27152
|
+
() => d.find((C) => C.guid === u),
|
|
27153
|
+
[u, d]
|
|
27154
|
+
);
|
|
27149
27155
|
h.useEffect(() => {
|
|
27150
27156
|
c({
|
|
27151
27157
|
accounts: r,
|