@mx-cartographer/experiences 7.10.1 → 7.10.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 +8 -0
- package/dist/{CurrencyInput-BBifPjuC.mjs → CurrencyInput-DUJ_mlm_.mjs} +28 -28
- package/dist/{ManageIncome-BbE5qJMM.mjs → ManageIncome-gSdil8_e.mjs} +192 -189
- package/dist/{NotificationSettings-DeLwFzIJ.mjs → NotificationSettings-DuHI7GgA.mjs} +1 -1
- package/dist/{OriginalBalanceAction-CQzvRZ7u.mjs → OriginalBalanceAction-BhXMJ8wC.mjs} +1 -1
- package/dist/{RecurringSettings-yxXDPnGz.mjs → RecurringSettings-RizA3dux.mjs} +1 -1
- package/dist/{TransactionDetails-Di4Cq-bG.mjs → TransactionDetails-DbGFG4Oo.mjs} +2 -1
- 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/common/index.es.js +1 -1
- package/dist/debts/index.es.js +2 -2
- package/dist/finstrong/index.es.js +3 -3
- package/dist/goals/index.es.js +2 -2
- package/dist/notifications/index.es.js +1 -1
- package/dist/recurringtransactions/index.es.js +4 -4
- package/dist/settings/index.es.js +2 -2
- package/dist/spending/index.es.js +1 -1
- package/dist/transactions/index.es.js +3 -3
- package/dist/trends/index.es.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## [7.10.3] - 02-05-2026
|
|
2
|
+
|
|
3
|
+
- **ADDED** - `Recurring Transactions` | Payment Schedule date issue fix
|
|
4
|
+
|
|
5
|
+
## [7.10.2] - 02-06-2026
|
|
6
|
+
|
|
7
|
+
- **FIXED** - Split Transactions Amount Bug
|
|
8
|
+
|
|
1
9
|
## [7.10.1] - 02-06-2026
|
|
2
10
|
|
|
3
11
|
- **FIXED** - `DebtsTable` Balances Header appear broken | Bug Fixed
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import u from "react";
|
|
3
3
|
import { css as q } from "@mxenabled/cssinjs";
|
|
4
4
|
import { v4 as B } from "uuid";
|
|
5
5
|
import { useTokens as L, TextField as O, P as _ } from "@mxenabled/mxui";
|
|
6
6
|
import { b as y, g as C } from "./Localization-2MODESHW.mjs";
|
|
7
7
|
import { g as W, C as j, f as g, M as b } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
8
|
-
import { u as
|
|
9
|
-
const
|
|
10
|
-
allowDecimals:
|
|
8
|
+
import { u as F } from "./hooks-BUCn6FeJ.mjs";
|
|
9
|
+
const G = ({
|
|
10
|
+
allowDecimals: r = !0,
|
|
11
11
|
ariaLabel: h,
|
|
12
12
|
amount: c,
|
|
13
13
|
amountIsRequired: $ = !0,
|
|
14
14
|
copy: m,
|
|
15
15
|
customValidate: M = () => !0,
|
|
16
16
|
errorText: S = "",
|
|
17
|
-
label:
|
|
17
|
+
label: a,
|
|
18
18
|
minAmount: f = 1,
|
|
19
19
|
setAmount: x,
|
|
20
|
-
setHasValidInput:
|
|
20
|
+
setHasValidInput: t,
|
|
21
21
|
...N
|
|
22
22
|
}) => {
|
|
23
|
-
const [
|
|
23
|
+
const [p, o] = u.useState(""), { common: T } = F(), n = m || T.currency_input, k = L(), P = U(k), R = /^[0-9]*$/, A = /^(\d)*(\,)?([0-9]{1,2})?$/, E = /^(\d)*(\.)?([0-9]{1,2})?$/;
|
|
24
24
|
let s;
|
|
25
|
-
const
|
|
26
|
-
if (
|
|
25
|
+
const d = u.useRef(B());
|
|
26
|
+
if (r)
|
|
27
27
|
switch (W()) {
|
|
28
28
|
case j.CAD:
|
|
29
29
|
s = A;
|
|
@@ -34,21 +34,21 @@ const F = ({
|
|
|
34
34
|
}
|
|
35
35
|
else
|
|
36
36
|
s = R;
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
u.useEffect(() => {
|
|
38
|
+
l(c);
|
|
39
39
|
}, [c]);
|
|
40
|
-
const
|
|
41
|
-
!$ && (e === "" || e === "." || e === ",") ? (
|
|
40
|
+
const l = (e) => {
|
|
41
|
+
!$ && (e === "" || e === "." || e === ",") ? (o(""), t?.(!1)) : Number(e) < f ? (o(
|
|
42
42
|
y(
|
|
43
43
|
n.error_amount_must_be_equal_to,
|
|
44
44
|
g(f, "0")
|
|
45
45
|
)
|
|
46
|
-
),
|
|
46
|
+
), t?.(!1)) : Number(e) > b ? (o(
|
|
47
47
|
y(
|
|
48
48
|
n.error_amount_must_be_less_than_or_equal_to,
|
|
49
|
-
g(b,
|
|
49
|
+
g(b, r ? "0,0.00" : "0,0", Math.floor)
|
|
50
50
|
)
|
|
51
|
-
),
|
|
51
|
+
), t?.(!1)) : e.toString().match(s) ? M() ? (o(""), t?.(!0)) : (o(S), t?.(!1)) : (o(n.error_amount_is_invalid), t?.(!1)), x(e.toString());
|
|
52
52
|
};
|
|
53
53
|
return /* @__PURE__ */ i(
|
|
54
54
|
O,
|
|
@@ -58,28 +58,28 @@ const F = ({
|
|
|
58
58
|
startAdornment: C().includes("fr-ca") ? void 0 : /* @__PURE__ */ i(_, { children: "$" })
|
|
59
59
|
},
|
|
60
60
|
className: `mx-cmn-currency-input ${P}`,
|
|
61
|
-
error: !!
|
|
62
|
-
helperText:
|
|
63
|
-
hiddenLabel: !
|
|
64
|
-
id: `currency-input-${
|
|
65
|
-
inputMode:
|
|
61
|
+
error: !!p,
|
|
62
|
+
helperText: p,
|
|
63
|
+
hiddenLabel: !a,
|
|
64
|
+
id: `currency-input-${d.current}`,
|
|
65
|
+
inputMode: r ? "decimal" : "numeric",
|
|
66
66
|
inputProps: {
|
|
67
67
|
"aria-label": h || n.enter_amount,
|
|
68
68
|
noValidate: !0,
|
|
69
|
-
pattern: "[0-9]*"
|
|
69
|
+
pattern: r ? "[0-9]*\\.?[0-9]*" : "[0-9]*"
|
|
70
70
|
},
|
|
71
|
-
label:
|
|
72
|
-
name: `currency-input-${
|
|
73
|
-
onChange: (e) =>
|
|
71
|
+
label: a,
|
|
72
|
+
name: `currency-input-${d.current}`,
|
|
73
|
+
onChange: (e) => l(e.target.value),
|
|
74
74
|
value: c,
|
|
75
75
|
...N
|
|
76
76
|
}
|
|
77
77
|
);
|
|
78
|
-
},
|
|
78
|
+
}, U = (r) => q({
|
|
79
79
|
"& .MuiInputBase-adornedStart > .p": {
|
|
80
|
-
marginRight:
|
|
80
|
+
marginRight: r.Spacing.Tiny
|
|
81
81
|
}
|
|
82
|
-
}), Q =
|
|
82
|
+
}), Q = G;
|
|
83
83
|
export {
|
|
84
84
|
Q as C
|
|
85
85
|
};
|
|
@@ -1,40 +1,41 @@
|
|
|
1
|
-
import { jsxs as c, jsx as e, Fragment as
|
|
1
|
+
import { jsxs as c, jsx as e, Fragment as k } from "react/jsx-runtime";
|
|
2
2
|
import _ from "react";
|
|
3
|
-
import { observer as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import { MerchantLogo as
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import { F as d, S as
|
|
14
|
-
import { subDays as
|
|
15
|
-
import { startOfToday as
|
|
16
|
-
import { endOfMonth as
|
|
17
|
-
import { parseISO as
|
|
18
|
-
import
|
|
19
|
-
import { Delete as
|
|
20
|
-
import { T as
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
3
|
+
import { observer as I } from "mobx-react-lite";
|
|
4
|
+
import F from "@mui/material/Box";
|
|
5
|
+
import O from "@mui/material/Divider";
|
|
6
|
+
import H from "@mui/material/List";
|
|
7
|
+
import p from "@mui/material/Stack";
|
|
8
|
+
import { MerchantLogo as Q, Text as S, P as G, InstitutionLogo as ie } from "@mxenabled/mxui";
|
|
9
|
+
import se from "@mui/material/ListItem";
|
|
10
|
+
import ce from "@mui/material/ListItemAvatar";
|
|
11
|
+
import le from "@mui/material/ListItemButton";
|
|
12
|
+
import de from "@mui/material/ListItemText";
|
|
13
|
+
import { F as d, S as M, D as z, g as $, R as T, e as _e } from "./RepeatingTransaction-C5AV8wLs.mjs";
|
|
14
|
+
import { subDays as X } from "date-fns/subDays";
|
|
15
|
+
import { startOfToday as E } from "date-fns/startOfToday";
|
|
16
|
+
import { endOfMonth as ue } from "date-fns/endOfMonth";
|
|
17
|
+
import { parseISO as me } from "date-fns/parseISO";
|
|
18
|
+
import Z from "@mui/material/Button";
|
|
19
|
+
import { Delete as pe, Add as ye, ReceiptLong as he } from "@mxenabled/mx-icons";
|
|
20
|
+
import { T as J, a as ge, u as fe, S as Ce, b as be } from "./TransactionDetails-DbGFG4Oo.mjs";
|
|
21
|
+
import { addYears as K } from "date-fns/addYears";
|
|
22
|
+
import { getDayOfYear as xe } from "date-fns/getDayOfYear";
|
|
23
|
+
import { setDayOfYear as Se } from "date-fns/setDayOfYear";
|
|
24
|
+
import { AdapterDateFns as ve } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
25
|
+
import { DatePicker as De } from "@mui/x-date-pickers";
|
|
25
26
|
import { LocalizationProvider as we } from "@mui/x-date-pickers/LocalizationProvider";
|
|
26
|
-
import { u as w, j as
|
|
27
|
-
import { b as
|
|
28
|
-
import { D as
|
|
29
|
-
import { A as
|
|
30
|
-
import { f as
|
|
31
|
-
import { formatISO as
|
|
32
|
-
import { fromUnixTime as
|
|
33
|
-
import { S as
|
|
34
|
-
import { h as
|
|
27
|
+
import { u as w, j as Y, g as P, b as Ae, h as V, o as Ie } from "./hooks-BUCn6FeJ.mjs";
|
|
28
|
+
import { b as Re, f as ee } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
29
|
+
import { D as N } from "./Drawer-DV4NTsFg.mjs";
|
|
30
|
+
import { A as L } from "./WidgetContainer-BNltq9UG.mjs";
|
|
31
|
+
import { f as Ee, D as Te, a as Le } from "./Dialog-CwiqpTGe.mjs";
|
|
32
|
+
import { formatISO as Oe } from "date-fns/formatISO";
|
|
33
|
+
import { fromUnixTime as ke } from "date-fns/fromUnixTime";
|
|
34
|
+
import { S as Ne } from "./SearchBox-B2_zLv8-.mjs";
|
|
35
|
+
import { h as Me } from "./DateUtil-gRDTwAoC.mjs";
|
|
35
36
|
import { b as B } from "./Category-CevNQ03n.mjs";
|
|
36
|
-
import { T as
|
|
37
|
-
const
|
|
37
|
+
import { T as te } from "./User-CCYFbd5i.mjs";
|
|
38
|
+
const ne = ({
|
|
38
39
|
frequency: n,
|
|
39
40
|
firstDay: t,
|
|
40
41
|
secondDay: o,
|
|
@@ -62,17 +63,17 @@ const ee = ({
|
|
|
62
63
|
{ id: 4, label: r.weekday_thursday },
|
|
63
64
|
{ id: 5, label: r.weekday_friday },
|
|
64
65
|
{ id: 6, label: r.weekday_saturday }
|
|
65
|
-
], y = [...Array(31).keys()].map((
|
|
66
|
-
id:
|
|
67
|
-
label:
|
|
66
|
+
], y = [...Array(31).keys()].map((b) => ({
|
|
67
|
+
id: b + 1,
|
|
68
|
+
label: Re(b + 1)
|
|
68
69
|
}));
|
|
69
70
|
y[30].label += ` (${r.last_day_of_month})`;
|
|
70
|
-
const
|
|
71
|
-
|
|
71
|
+
const f = y.slice(0, 15), v = y.slice(14), C = n === d.EveryWeek || n === d.EveryOtherWeek, h = n === d.TwiceAMonth || n === d.EveryMonth || n === d.EveryOtherMonth || n === d.EveryQuarter || n === d.EveryOtherQuarter, A = Se(E(), t), g = A < E() ? K(A, 1) : A, D = (b) => {
|
|
72
|
+
b && s(xe(b));
|
|
72
73
|
};
|
|
73
|
-
return /* @__PURE__ */ c(
|
|
74
|
+
return /* @__PURE__ */ c(p, { gap: 24, sx: { m: 24 }, children: [
|
|
74
75
|
/* @__PURE__ */ e(
|
|
75
|
-
|
|
76
|
+
M,
|
|
76
77
|
{
|
|
77
78
|
label: r.frequency,
|
|
78
79
|
onChange: i,
|
|
@@ -80,8 +81,8 @@ const ee = ({
|
|
|
80
81
|
value: n
|
|
81
82
|
}
|
|
82
83
|
),
|
|
83
|
-
|
|
84
|
-
|
|
84
|
+
C && /* @__PURE__ */ e(
|
|
85
|
+
M,
|
|
85
86
|
{
|
|
86
87
|
label: r.day_of_the_week,
|
|
87
88
|
onChange: s,
|
|
@@ -89,17 +90,17 @@ const ee = ({
|
|
|
89
90
|
value: t
|
|
90
91
|
}
|
|
91
92
|
),
|
|
92
|
-
|
|
93
|
-
|
|
93
|
+
h && /* @__PURE__ */ e(
|
|
94
|
+
M,
|
|
94
95
|
{
|
|
95
96
|
label: n === d.TwiceAMonth ? r.first_day_of_the_month : r.day_of_the_month,
|
|
96
97
|
onChange: s,
|
|
97
|
-
options: n === d.TwiceAMonth ?
|
|
98
|
+
options: n === d.TwiceAMonth ? f : y,
|
|
98
99
|
value: t
|
|
99
100
|
}
|
|
100
101
|
),
|
|
101
102
|
n === d.TwiceAMonth && /* @__PURE__ */ e(
|
|
102
|
-
|
|
103
|
+
M,
|
|
103
104
|
{
|
|
104
105
|
label: r.second_day_of_the_month,
|
|
105
106
|
onChange: l,
|
|
@@ -107,186 +108,188 @@ const ee = ({
|
|
|
107
108
|
value: o || 0
|
|
108
109
|
}
|
|
109
110
|
),
|
|
110
|
-
n === d.EveryYear && /* @__PURE__ */ e(we, { dateAdapter:
|
|
111
|
-
|
|
111
|
+
n === d.EveryYear && /* @__PURE__ */ e(we, { dateAdapter: ve, children: /* @__PURE__ */ e(
|
|
112
|
+
De,
|
|
112
113
|
{
|
|
113
114
|
disablePast: !0,
|
|
114
115
|
label: r.next_payment_date,
|
|
115
|
-
|
|
116
|
-
|
|
116
|
+
maxDate: X(K(E(), 1), 1),
|
|
117
|
+
minDate: E(),
|
|
118
|
+
onChange: D,
|
|
119
|
+
value: g
|
|
117
120
|
}
|
|
118
121
|
) })
|
|
119
122
|
] });
|
|
120
|
-
},
|
|
121
|
-
const { recurring: t } = w(), { updateRepeatingTransaction: o } =
|
|
123
|
+
}, Fe = I(({ repeatingTransaction: n }) => {
|
|
124
|
+
const { recurring: t } = w(), { updateRepeatingTransaction: o } = Y(), { onEvent: i } = P(), [s, l] = _.useState(!1), [r, a] = _.useState(n.recurrence_type), [m, y] = _.useState(n.recurrence_day), [f, v] = _.useState(n.second_recurrence_day), C = async () => {
|
|
122
125
|
await o({
|
|
123
126
|
...n,
|
|
124
127
|
recurrence_type: r,
|
|
125
128
|
recurrence_day: m,
|
|
126
|
-
second_recurrence_day:
|
|
129
|
+
second_recurrence_day: f
|
|
127
130
|
}), l(!1);
|
|
128
|
-
},
|
|
129
|
-
l(!0), i(
|
|
131
|
+
}, h = () => {
|
|
132
|
+
l(!0), i(L.RECURRING_TRANSACTIONS_DETAILS_CLICK_PAYMENT_SCHEDULE);
|
|
130
133
|
};
|
|
131
|
-
return /* @__PURE__ */ c(
|
|
134
|
+
return /* @__PURE__ */ c(k, { children: [
|
|
132
135
|
/* @__PURE__ */ e(
|
|
133
|
-
|
|
136
|
+
z,
|
|
134
137
|
{
|
|
135
138
|
iconName: "sync",
|
|
136
139
|
label: t.activity_schedule,
|
|
137
|
-
onClick:
|
|
138
|
-
value: `${
|
|
140
|
+
onClick: h,
|
|
141
|
+
value: `${$(t, n, !0)}`
|
|
139
142
|
}
|
|
140
143
|
),
|
|
141
144
|
/* @__PURE__ */ e(
|
|
142
|
-
|
|
145
|
+
N,
|
|
143
146
|
{
|
|
144
147
|
ariaLabelClose: t.close_drawer_aria,
|
|
145
148
|
isOpen: s,
|
|
146
149
|
onClose: () => l(!1),
|
|
147
|
-
onPrimaryAction:
|
|
150
|
+
onPrimaryAction: C,
|
|
148
151
|
title: t.payment_schedule,
|
|
149
152
|
children: /* @__PURE__ */ e(
|
|
150
|
-
|
|
153
|
+
ne,
|
|
151
154
|
{
|
|
152
155
|
firstDay: m,
|
|
153
156
|
frequency: r,
|
|
154
157
|
onFirstDayChange: y,
|
|
155
158
|
onFrequencyChange: a,
|
|
156
159
|
onSecondDayChange: v,
|
|
157
|
-
secondDay:
|
|
160
|
+
secondDay: f
|
|
158
161
|
}
|
|
159
162
|
)
|
|
160
163
|
}
|
|
161
164
|
)
|
|
162
165
|
] });
|
|
163
|
-
}),
|
|
166
|
+
}), Ge = I(
|
|
164
167
|
({ onDeleted: n, recurringTransaction: t }) => {
|
|
165
|
-
const { recurring: o } = w(), { selectedAccountGuids: i } = Ae(), { onEvent: s } = P(), { deleteRepeatingTransaction: l } =
|
|
168
|
+
const { recurring: o } = w(), { selectedAccountGuids: i } = Ae(), { onEvent: s } = P(), { deleteRepeatingTransaction: l } = Y(), { setFilter: r, transactions: a } = V(), { amount: m, description: y, merchant_guid: f } = t, [v, C] = _.useState(!1), [h, A] = _.useState("");
|
|
166
169
|
_.useEffect(() => {
|
|
167
170
|
r({
|
|
168
171
|
accounts: i,
|
|
169
|
-
dateRange: { start:
|
|
172
|
+
dateRange: { start: X(E(), 90), end: ue(E()) },
|
|
170
173
|
custom: (u) => u.repeating_transaction_guid === t.guid
|
|
171
174
|
});
|
|
172
175
|
}, [t]);
|
|
173
|
-
const
|
|
174
|
-
() => a.find((u) => u.guid ===
|
|
175
|
-
[
|
|
176
|
-
),
|
|
176
|
+
const g = _.useMemo(
|
|
177
|
+
() => a.find((u) => u.guid === h),
|
|
178
|
+
[h, a]
|
|
179
|
+
), D = t.repeating_transaction_type === T.Income, b = async () => {
|
|
177
180
|
await l(t.guid), n();
|
|
178
181
|
}, U = () => {
|
|
179
|
-
|
|
182
|
+
C(!0), s(L.RECURRING_TRANSACTIONS_DETAILS_CLICK_DELETE);
|
|
180
183
|
};
|
|
181
|
-
return /* @__PURE__ */ c(
|
|
182
|
-
/* @__PURE__ */ c(
|
|
184
|
+
return /* @__PURE__ */ c(p, { bgcolor: "background.default", direction: "column", height: "100%", children: [
|
|
185
|
+
/* @__PURE__ */ c(p, { direction: "column", m: 24, children: [
|
|
183
186
|
/* @__PURE__ */ e(
|
|
184
|
-
|
|
187
|
+
Q,
|
|
185
188
|
{
|
|
186
|
-
categoryGuid:
|
|
187
|
-
merchantGuid:
|
|
189
|
+
categoryGuid: g?.category_guid || "",
|
|
190
|
+
merchantGuid: f,
|
|
188
191
|
size: 64,
|
|
189
192
|
sx: { mb: 12 }
|
|
190
193
|
}
|
|
191
194
|
),
|
|
192
195
|
/* @__PURE__ */ e(S, { bold: !0, variant: "body1", children: y }),
|
|
193
|
-
/* @__PURE__ */ c(
|
|
194
|
-
|
|
195
|
-
|
|
196
|
+
/* @__PURE__ */ c(G, { color: D ? "success.main" : "text.primary", sx: { my: 4 }, variant: "H1", children: [
|
|
197
|
+
D ? "+" : "",
|
|
198
|
+
ee(m, "0,0.00")
|
|
196
199
|
] }),
|
|
197
|
-
/* @__PURE__ */ e(S, { color: "text.secondary", variant: "body2", children: `${o.next_payment_date}: ${
|
|
198
|
-
|
|
199
|
-
|
|
200
|
+
/* @__PURE__ */ e(S, { color: "text.secondary", variant: "body2", children: `${o.next_payment_date}: ${Ee(
|
|
201
|
+
me(t.predicted_occurs_on),
|
|
202
|
+
Te.MONTH_DAY_YEAR
|
|
200
203
|
)}` })
|
|
201
204
|
] }),
|
|
202
|
-
/* @__PURE__ */ c(
|
|
203
|
-
t.account && /* @__PURE__ */ c(
|
|
205
|
+
/* @__PURE__ */ c(H, { sx: { bgcolor: "background.paper" }, children: [
|
|
206
|
+
t.account && /* @__PURE__ */ c(k, { children: [
|
|
204
207
|
/* @__PURE__ */ e(
|
|
205
|
-
|
|
208
|
+
z,
|
|
206
209
|
{
|
|
207
210
|
iconName: "checkbook",
|
|
208
211
|
label: o.account,
|
|
209
212
|
value: t.account.displayName || ""
|
|
210
213
|
}
|
|
211
214
|
),
|
|
212
|
-
/* @__PURE__ */ e(
|
|
215
|
+
/* @__PURE__ */ e(O, { variant: "inset" })
|
|
213
216
|
] }),
|
|
214
|
-
|
|
217
|
+
g?.category && /* @__PURE__ */ c(k, { children: [
|
|
215
218
|
/* @__PURE__ */ e(
|
|
216
|
-
|
|
219
|
+
z,
|
|
217
220
|
{
|
|
218
221
|
iconName: "monetization_on",
|
|
219
222
|
label: o.category,
|
|
220
|
-
value:
|
|
223
|
+
value: g.category
|
|
221
224
|
}
|
|
222
225
|
),
|
|
223
|
-
/* @__PURE__ */ e(
|
|
226
|
+
/* @__PURE__ */ e(O, { variant: "inset" })
|
|
224
227
|
] }),
|
|
225
|
-
/* @__PURE__ */ e(
|
|
226
|
-
/* @__PURE__ */ e(
|
|
228
|
+
/* @__PURE__ */ e(Fe, { repeatingTransaction: t }),
|
|
229
|
+
/* @__PURE__ */ e(O, {})
|
|
227
230
|
] }),
|
|
228
231
|
/* @__PURE__ */ e(
|
|
229
|
-
|
|
232
|
+
Z,
|
|
230
233
|
{
|
|
231
234
|
color: "error",
|
|
232
235
|
onClick: U,
|
|
233
|
-
startIcon: /* @__PURE__ */ e(
|
|
236
|
+
startIcon: /* @__PURE__ */ e(pe, {}),
|
|
234
237
|
sx: { mx: 24, my: 16 },
|
|
235
238
|
variant: "text",
|
|
236
|
-
children:
|
|
239
|
+
children: D ? o.delete_income_title : o.delete_expense_title
|
|
237
240
|
}
|
|
238
241
|
),
|
|
239
242
|
/* @__PURE__ */ e(S, { bold: !0, sx: { ml: 24, mt: 16 }, variant: "Body", children: o.paid_transactions }),
|
|
240
|
-
/* @__PURE__ */ e(
|
|
243
|
+
/* @__PURE__ */ e(J, { height: "30dvh", onClick: A }),
|
|
241
244
|
/* @__PURE__ */ e(
|
|
242
|
-
|
|
245
|
+
N,
|
|
243
246
|
{
|
|
244
247
|
ariaLabelClose: o.close_drawer_aria,
|
|
245
|
-
isOpen: !!
|
|
246
|
-
onClose: () =>
|
|
248
|
+
isOpen: !!h && !!g,
|
|
249
|
+
onClose: () => A(""),
|
|
247
250
|
title: o.transaction_details_drawer_title,
|
|
248
|
-
children:
|
|
251
|
+
children: g && /* @__PURE__ */ e(ge, { transaction: g })
|
|
249
252
|
}
|
|
250
253
|
),
|
|
251
254
|
/* @__PURE__ */ e(
|
|
252
|
-
|
|
255
|
+
Le,
|
|
253
256
|
{
|
|
254
257
|
copy: {
|
|
255
|
-
title:
|
|
258
|
+
title: D ? o.delete_income_title : o.delete_expense_title,
|
|
256
259
|
close_aria: o.close_drawer_aria
|
|
257
260
|
},
|
|
258
261
|
isOpen: v,
|
|
259
|
-
onClose: () =>
|
|
260
|
-
onPrimaryAction:
|
|
261
|
-
children: /* @__PURE__ */ e(S, { children:
|
|
262
|
+
onClose: () => C(!1),
|
|
263
|
+
onPrimaryAction: b,
|
|
264
|
+
children: /* @__PURE__ */ e(S, { children: D ? o.delete_income_description : o.delete_expense_description })
|
|
262
265
|
}
|
|
263
266
|
)
|
|
264
267
|
] });
|
|
265
268
|
}
|
|
266
|
-
),
|
|
269
|
+
), Ye = I(
|
|
267
270
|
({ onClick: n = () => {
|
|
268
271
|
}, repeatingTransaction: t }) => {
|
|
269
272
|
const { recurring: o } = w(), [i, s] = _.useState(!1), l = _.useMemo(
|
|
270
273
|
() => t.transactions.length === 0 ? "" : t.transactions[0].category_guid || "",
|
|
271
274
|
[t]
|
|
272
|
-
), r = t.account?.displayName || "", a = t.repeating_transaction_type ===
|
|
273
|
-
return /* @__PURE__ */ c(
|
|
274
|
-
/* @__PURE__ */ c(
|
|
275
|
+
), r = t.account?.displayName || "", a = t.repeating_transaction_type === T.Income, m = $(o, t, !0);
|
|
276
|
+
return /* @__PURE__ */ c(se, { disableGutters: !0, disablePadding: !0, children: [
|
|
277
|
+
/* @__PURE__ */ c(le, { onClick: () => {
|
|
275
278
|
n(t), s(!0);
|
|
276
279
|
}, children: [
|
|
277
|
-
/* @__PURE__ */ e(
|
|
278
|
-
|
|
280
|
+
/* @__PURE__ */ e(ce, { children: /* @__PURE__ */ e(
|
|
281
|
+
Q,
|
|
279
282
|
{
|
|
280
283
|
categoryGuid: l,
|
|
281
284
|
merchantGuid: t.merchant_guid
|
|
282
285
|
}
|
|
283
286
|
) }),
|
|
284
|
-
/* @__PURE__ */ e(
|
|
285
|
-
/* @__PURE__ */ c(
|
|
287
|
+
/* @__PURE__ */ e(de, { children: /* @__PURE__ */ c(p, { direction: "row", gap: 4, sx: { justifyContent: "space-between" }, children: [
|
|
288
|
+
/* @__PURE__ */ c(p, { direction: "column", sx: { width: "50%" }, children: [
|
|
286
289
|
/* @__PURE__ */ e(S, { bold: !0, variant: "body1", children: t.description }),
|
|
287
|
-
/* @__PURE__ */ c(
|
|
290
|
+
/* @__PURE__ */ c(p, { alignItems: "center", direction: "row", gap: 6, children: [
|
|
288
291
|
t.account?.institution_guid && /* @__PURE__ */ e(
|
|
289
|
-
|
|
292
|
+
ie,
|
|
290
293
|
{
|
|
291
294
|
alt: r,
|
|
292
295
|
institutionGuid: t.account?.institution_guid,
|
|
@@ -296,7 +299,7 @@ const ee = ({
|
|
|
296
299
|
/* @__PURE__ */ e(S, { variant: "caption", children: r })
|
|
297
300
|
] })
|
|
298
301
|
] }),
|
|
299
|
-
/* @__PURE__ */ c(
|
|
302
|
+
/* @__PURE__ */ c(p, { alignItems: "flex-end", sx: { width: "50%" }, children: [
|
|
300
303
|
/* @__PURE__ */ c(
|
|
301
304
|
S,
|
|
302
305
|
{
|
|
@@ -305,12 +308,12 @@ const ee = ({
|
|
|
305
308
|
variant: "body1",
|
|
306
309
|
children: [
|
|
307
310
|
a ? "+" : "",
|
|
308
|
-
|
|
311
|
+
ee(t.amount, "0,0.00")
|
|
309
312
|
]
|
|
310
313
|
}
|
|
311
314
|
),
|
|
312
315
|
/* @__PURE__ */ e(
|
|
313
|
-
|
|
316
|
+
p,
|
|
314
317
|
{
|
|
315
318
|
direction: "row",
|
|
316
319
|
sx: {
|
|
@@ -327,14 +330,14 @@ const ee = ({
|
|
|
327
330
|
] }) })
|
|
328
331
|
] }),
|
|
329
332
|
/* @__PURE__ */ e(
|
|
330
|
-
|
|
333
|
+
N,
|
|
331
334
|
{
|
|
332
335
|
ariaLabelClose: o.close_drawer_aria,
|
|
333
336
|
isOpen: i,
|
|
334
337
|
onClose: () => s(!1),
|
|
335
|
-
title: t.repeating_transaction_type ===
|
|
338
|
+
title: t.repeating_transaction_type === T.Income ? o.income_details : o.expense_details,
|
|
336
339
|
children: /* @__PURE__ */ e(
|
|
337
|
-
|
|
340
|
+
Ge,
|
|
338
341
|
{
|
|
339
342
|
onDeleted: () => s(!1),
|
|
340
343
|
recurringTransaction: t
|
|
@@ -344,18 +347,18 @@ const ee = ({
|
|
|
344
347
|
)
|
|
345
348
|
] });
|
|
346
349
|
}
|
|
347
|
-
), Pe =
|
|
350
|
+
), Pe = I(
|
|
348
351
|
({
|
|
349
352
|
bgcolor: n = "background.default",
|
|
350
353
|
description: t,
|
|
351
354
|
onSearch: o,
|
|
352
355
|
onSelected: i
|
|
353
356
|
}) => {
|
|
354
|
-
const { recurring: s } = w(), { searchValue: l, setSearchValue: r } =
|
|
355
|
-
return /* @__PURE__ */ c(
|
|
356
|
-
t && /* @__PURE__ */ e(
|
|
357
|
+
const { recurring: s } = w(), { searchValue: l, setSearchValue: r } = fe();
|
|
358
|
+
return /* @__PURE__ */ c(p, { sx: { bgcolor: n, gap: 16, pt: 8 }, children: [
|
|
359
|
+
t && /* @__PURE__ */ e(G, { sx: { mx: 24 }, children: t }),
|
|
357
360
|
/* @__PURE__ */ e(
|
|
358
|
-
|
|
361
|
+
Ne,
|
|
359
362
|
{
|
|
360
363
|
ariaLabel: s.select_transaction_search_aria,
|
|
361
364
|
cancelAriaLabel: s.select_transaction_search_cancel_aria,
|
|
@@ -367,7 +370,7 @@ const ee = ({
|
|
|
367
370
|
}
|
|
368
371
|
),
|
|
369
372
|
/* @__PURE__ */ e(
|
|
370
|
-
|
|
373
|
+
J,
|
|
371
374
|
{
|
|
372
375
|
bgcolor: n,
|
|
373
376
|
filter: (a) => !!a.merchant_guid,
|
|
@@ -378,7 +381,7 @@ const ee = ({
|
|
|
378
381
|
)
|
|
379
382
|
] });
|
|
380
383
|
}
|
|
381
|
-
), Ue =
|
|
384
|
+
), Ue = I(
|
|
382
385
|
({
|
|
383
386
|
bgcolor: n = "background.default",
|
|
384
387
|
firstDay: t,
|
|
@@ -390,15 +393,15 @@ const ee = ({
|
|
|
390
393
|
transaction: a
|
|
391
394
|
}) => {
|
|
392
395
|
const { recurring: m } = w();
|
|
393
|
-
return /* @__PURE__ */ c(
|
|
394
|
-
/* @__PURE__ */ c(
|
|
395
|
-
/* @__PURE__ */ e(
|
|
396
|
-
/* @__PURE__ */ e(
|
|
396
|
+
return /* @__PURE__ */ c(p, { bgcolor: n, gap: 24, height: "100%", children: [
|
|
397
|
+
/* @__PURE__ */ c(p, { children: [
|
|
398
|
+
/* @__PURE__ */ e(Ce, { bgcolor: n, children: Me(a.date) }),
|
|
399
|
+
/* @__PURE__ */ e(be, { transaction: a })
|
|
397
400
|
] }),
|
|
398
|
-
/* @__PURE__ */ c(
|
|
401
|
+
/* @__PURE__ */ c(F, { children: [
|
|
399
402
|
/* @__PURE__ */ e(S, { bold: !0, sx: { mx: 24 }, variant: "Body", children: m.payment_schedule }),
|
|
400
403
|
/* @__PURE__ */ e(
|
|
401
|
-
|
|
404
|
+
ne,
|
|
402
405
|
{
|
|
403
406
|
firstDay: t,
|
|
404
407
|
frequency: i,
|
|
@@ -411,50 +414,50 @@ const ee = ({
|
|
|
411
414
|
] })
|
|
412
415
|
] });
|
|
413
416
|
}
|
|
414
|
-
), q = (n) => n.top_level_category_guid !== B.INCOME && n.transaction_type ===
|
|
417
|
+
), q = (n) => n.top_level_category_guid !== B.INCOME && n.transaction_type === te.DEBIT, ze = (n, t) => q(n) ? n.payee?.toLowerCase().includes(t.toLowerCase()) || n.description.toLowerCase().includes(t.toLowerCase()) || n.feed_description.toLowerCase().includes(t.toLowerCase()) : !1, W = (n) => n.top_level_category_guid === B.INCOME || n.top_level_category_guid === B.TRANSFER && n.transaction_type === te.CREDIT, Be = (n, t) => W(n) ? n.payee?.toLowerCase().includes(t.toLowerCase()) || n.description?.toLowerCase().includes(t.toLowerCase()) || n.feed_description?.toLowerCase().includes(t.toLowerCase()) : !1, re = I(
|
|
415
418
|
({
|
|
416
419
|
isIncome: n = !1,
|
|
417
420
|
label: t,
|
|
418
421
|
onAddRecurringTransaction: o = () => null
|
|
419
422
|
}) => {
|
|
420
|
-
const { recurring: i } = w(), { filter: s, setFilter: l, transactions: r } =
|
|
423
|
+
const { recurring: i } = w(), { filter: s, setFilter: l, transactions: r } = V(), { addRepeatingTransaction: a } = Y(), { user: m } = Ie(), [y, f] = _.useState(!1), [v, C] = _.useState(""), [h, A] = _.useState(d.EveryMonth), [g, D] = _.useState(1), [b, U] = _.useState(15), u = _.useMemo(
|
|
421
424
|
() => r.find((x) => x.guid === v),
|
|
422
425
|
[v, r]
|
|
423
|
-
),
|
|
424
|
-
|
|
425
|
-
},
|
|
426
|
+
), oe = () => {
|
|
427
|
+
f(!0), l(n ? { ...s, custom: W } : { ...s, custom: q });
|
|
428
|
+
}, ae = async () => {
|
|
426
429
|
if (!u) {
|
|
427
430
|
j();
|
|
428
431
|
return;
|
|
429
432
|
}
|
|
430
433
|
o();
|
|
431
|
-
const x =
|
|
434
|
+
const x = _e(h, ke(u.date)), R = {
|
|
432
435
|
account_guid: u.account_guid,
|
|
433
436
|
amount: u.amount,
|
|
434
437
|
created_by: 0,
|
|
435
438
|
// User
|
|
436
439
|
merchant_guid: u.merchant_guid,
|
|
437
440
|
description: u.payee || u.description || u.feed_description,
|
|
438
|
-
predicted_occurs_on:
|
|
439
|
-
recurrence_day:
|
|
440
|
-
recurrence_type:
|
|
441
|
-
repeating_transaction_type: n ?
|
|
442
|
-
second_recurrence_day:
|
|
441
|
+
predicted_occurs_on: Oe(x, { representation: "date" }),
|
|
442
|
+
recurrence_day: g,
|
|
443
|
+
recurrence_type: h,
|
|
444
|
+
repeating_transaction_type: n ? T.Income : T.Bill,
|
|
445
|
+
second_recurrence_day: b,
|
|
443
446
|
transaction_type: u.transaction_type,
|
|
444
447
|
user_guid: m.guid
|
|
445
448
|
};
|
|
446
|
-
await a(
|
|
449
|
+
await a(R, u), j();
|
|
447
450
|
}, j = () => {
|
|
448
|
-
|
|
451
|
+
C(""), f(!1);
|
|
449
452
|
};
|
|
450
|
-
return /* @__PURE__ */ c(
|
|
451
|
-
/* @__PURE__ */ e(
|
|
453
|
+
return /* @__PURE__ */ c(k, { children: [
|
|
454
|
+
/* @__PURE__ */ e(Z, { onClick: oe, startIcon: /* @__PURE__ */ e(ye, { size: 24 }), variant: "contained", children: t }),
|
|
452
455
|
/* @__PURE__ */ e(
|
|
453
|
-
|
|
456
|
+
N,
|
|
454
457
|
{
|
|
455
458
|
ariaLabelClose: i.close_drawer_aria,
|
|
456
459
|
isOpen: y,
|
|
457
|
-
onClose: () =>
|
|
460
|
+
onClose: () => f(!1),
|
|
458
461
|
title: t,
|
|
459
462
|
children: /* @__PURE__ */ e(
|
|
460
463
|
Pe,
|
|
@@ -463,31 +466,31 @@ const ee = ({
|
|
|
463
466
|
onSearch: (x) => {
|
|
464
467
|
l({
|
|
465
468
|
...s,
|
|
466
|
-
custom: (
|
|
469
|
+
custom: (R) => n ? x ? Be(R, x) : W(R) : x ? ze(R, x) : q(R)
|
|
467
470
|
});
|
|
468
471
|
},
|
|
469
|
-
onSelected: (x) =>
|
|
472
|
+
onSelected: (x) => C(x)
|
|
470
473
|
}
|
|
471
474
|
)
|
|
472
475
|
}
|
|
473
476
|
),
|
|
474
477
|
/* @__PURE__ */ e(
|
|
475
|
-
|
|
478
|
+
N,
|
|
476
479
|
{
|
|
477
480
|
ariaLabelClose: i.close_drawer_aria,
|
|
478
481
|
isOpen: !!v,
|
|
479
|
-
onClose: () =>
|
|
480
|
-
onPrimaryAction:
|
|
482
|
+
onClose: () => C(""),
|
|
483
|
+
onPrimaryAction: ae,
|
|
481
484
|
title: n ? i.income_details : i.expense_details,
|
|
482
485
|
children: u && /* @__PURE__ */ e(
|
|
483
486
|
Ue,
|
|
484
487
|
{
|
|
485
|
-
firstDay:
|
|
486
|
-
frequency:
|
|
487
|
-
onFirstDayChange:
|
|
488
|
-
onFrequencyChange:
|
|
488
|
+
firstDay: g,
|
|
489
|
+
frequency: h,
|
|
490
|
+
onFirstDayChange: D,
|
|
491
|
+
onFrequencyChange: A,
|
|
489
492
|
onSecondDayChange: U,
|
|
490
|
-
secondDay:
|
|
493
|
+
secondDay: b,
|
|
491
494
|
transaction: u
|
|
492
495
|
}
|
|
493
496
|
)
|
|
@@ -495,39 +498,39 @@ const ee = ({
|
|
|
495
498
|
)
|
|
496
499
|
] });
|
|
497
500
|
}
|
|
498
|
-
),
|
|
501
|
+
), qe = I(
|
|
499
502
|
({ zeroStateFor: n }) => {
|
|
500
503
|
const { recurring: t } = w(), { onEvent: o } = P(), i = n === "income", s = i ? t.recurring_setting_zero_state_income_title : t.recurring_setting_zero_state_expenses_title, l = i ? t.recurring_setting_zero_state_income_description : t.recurring_setting_zero_state_expenses_description, r = i ? t.add_income : t.add_expense;
|
|
501
|
-
return /* @__PURE__ */ c(
|
|
504
|
+
return /* @__PURE__ */ c(p, { sx: { alignItems: "center", p: 24, pt: 48 }, children: [
|
|
502
505
|
/* @__PURE__ */ e(he, { size: 48 }),
|
|
503
|
-
/* @__PURE__ */ e(
|
|
504
|
-
/* @__PURE__ */ e(
|
|
506
|
+
/* @__PURE__ */ e(G, { sx: { my: 8, fontWeight: 600 }, variant: "body1", children: s }),
|
|
507
|
+
/* @__PURE__ */ e(G, { color: "text.secondary", sx: { mb: 32 }, variant: "subtitle2", children: l }),
|
|
505
508
|
/* @__PURE__ */ e(
|
|
506
|
-
|
|
509
|
+
re,
|
|
507
510
|
{
|
|
508
511
|
isIncome: i,
|
|
509
512
|
label: r,
|
|
510
513
|
onAddRecurringTransaction: () => {
|
|
511
514
|
o(
|
|
512
|
-
i ?
|
|
515
|
+
i ? L.RECURRING_TRANSACTIONS_CLICK_ADD_INCOME : L.RECURRING_ACTIVITY_CLICK_ADD_EXPENSE
|
|
513
516
|
);
|
|
514
517
|
}
|
|
515
518
|
}
|
|
516
519
|
)
|
|
517
520
|
] });
|
|
518
521
|
}
|
|
519
|
-
),
|
|
520
|
-
const { recurring: t } = w(), { detailedRepeatingTransactions: o } =
|
|
521
|
-
i(
|
|
522
|
+
), It = I(({ forOverview: n = !1 }) => {
|
|
523
|
+
const { recurring: t } = w(), { detailedRepeatingTransactions: o } = Y(), { onEvent: i } = P(), s = (a) => {
|
|
524
|
+
i(L.RECURRING_TRANSACTIONS_CLICK_INCOME, {
|
|
522
525
|
repeating_transaction_guid: a.guid
|
|
523
526
|
});
|
|
524
527
|
}, l = () => {
|
|
525
|
-
i(
|
|
528
|
+
i(L.RECURRING_TRANSACTIONS_CLICK_ADD_INCOME);
|
|
526
529
|
}, r = o.filter(
|
|
527
|
-
(a) => a.repeating_transaction_type ===
|
|
530
|
+
(a) => a.repeating_transaction_type === T.Income && (a.transactions.length > 0 || a.recurrence_type === d.EveryYear)
|
|
528
531
|
);
|
|
529
|
-
return /* @__PURE__ */ e(
|
|
530
|
-
|
|
532
|
+
return /* @__PURE__ */ e(k, { children: r.length !== 0 ? /* @__PURE__ */ c(
|
|
533
|
+
p,
|
|
531
534
|
{
|
|
532
535
|
sx: {
|
|
533
536
|
height: n ? "calc(100vh - 62px)" : "calc(100vh - 109px)",
|
|
@@ -535,19 +538,19 @@ const ee = ({
|
|
|
535
538
|
},
|
|
536
539
|
children: [
|
|
537
540
|
n && /* @__PURE__ */ e(S, { bold: !0, sx: { mb: 4, mt: 12, mx: 24 }, variant: "Small", children: t.income }),
|
|
538
|
-
/* @__PURE__ */ e(
|
|
539
|
-
/* @__PURE__ */ e(
|
|
541
|
+
/* @__PURE__ */ e(F, { sx: { flex: 1, overflow: "auto" }, children: /* @__PURE__ */ e(H, { sx: { bgcolor: "background.paper" }, children: r.map((a, m) => /* @__PURE__ */ c(_.Fragment, { children: [
|
|
542
|
+
/* @__PURE__ */ e(Ye, { onClick: s, repeatingTransaction: a }),
|
|
540
543
|
/* @__PURE__ */ e(
|
|
541
|
-
|
|
544
|
+
O,
|
|
542
545
|
{
|
|
543
546
|
variant: m < r.length - 1 ? "inset" : "fullWidth"
|
|
544
547
|
}
|
|
545
548
|
)
|
|
546
549
|
] }, a.guid)) }) }),
|
|
547
|
-
/* @__PURE__ */ c(
|
|
548
|
-
/* @__PURE__ */ e(
|
|
550
|
+
/* @__PURE__ */ c(F, { children: [
|
|
551
|
+
/* @__PURE__ */ e(O, {}),
|
|
549
552
|
/* @__PURE__ */ e(
|
|
550
|
-
|
|
553
|
+
F,
|
|
551
554
|
{
|
|
552
555
|
sx: {
|
|
553
556
|
alignContent: "center",
|
|
@@ -558,7 +561,7 @@ const ee = ({
|
|
|
558
561
|
textAlign: "right"
|
|
559
562
|
},
|
|
560
563
|
children: /* @__PURE__ */ e(
|
|
561
|
-
|
|
564
|
+
re,
|
|
562
565
|
{
|
|
563
566
|
isIncome: !0,
|
|
564
567
|
label: t.add_income,
|
|
@@ -570,16 +573,16 @@ const ee = ({
|
|
|
570
573
|
] })
|
|
571
574
|
]
|
|
572
575
|
}
|
|
573
|
-
) : /* @__PURE__ */ e(
|
|
576
|
+
) : /* @__PURE__ */ e(qe, { zeroStateFor: "income" }) });
|
|
574
577
|
});
|
|
575
578
|
export {
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
+
re as A,
|
|
580
|
+
It as M,
|
|
581
|
+
Ye as R,
|
|
579
582
|
Pe as S,
|
|
580
|
-
|
|
581
|
-
|
|
583
|
+
qe as a,
|
|
584
|
+
Ge as b,
|
|
582
585
|
Ue as c,
|
|
583
586
|
W as d,
|
|
584
|
-
|
|
587
|
+
Be as i
|
|
585
588
|
};
|
|
@@ -19,7 +19,7 @@ import { u as S, r as T, o as A, d as J, g as re, a as X, b as de } from "./hook
|
|
|
19
19
|
import { b as me } from "./Localization-2MODESHW.mjs";
|
|
20
20
|
import { b as _e, f as he } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
21
21
|
import { a as N } from "./Dialog-CwiqpTGe.mjs";
|
|
22
|
-
import { C as ue } from "./CurrencyInput-
|
|
22
|
+
import { C as ue } from "./CurrencyInput-DUJ_mlm_.mjs";
|
|
23
23
|
import { u as fe } from "./useScreenSize-B6JyS_Lj.mjs";
|
|
24
24
|
import { D as q } from "./Drawer-DV4NTsFg.mjs";
|
|
25
25
|
import pe from "@mui/material/Collapse";
|
|
@@ -5,7 +5,7 @@ import v from "@mui/material/TextField";
|
|
|
5
5
|
import { L as y } from "./ListItemAction-pvmKK9RU.mjs";
|
|
6
6
|
import { u as h, l as b } from "./hooks-BUCn6FeJ.mjs";
|
|
7
7
|
import { a as T, f as S } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
8
|
-
import { C as f } from "./CurrencyInput-
|
|
8
|
+
import { C as f } from "./CurrencyInput-DUJ_mlm_.mjs";
|
|
9
9
|
const F = p(({ goal: e }) => {
|
|
10
10
|
const { goals: a } = h(), { setAlert: r, setSelectedGoal: l, updateGoal: m } = b(), [t, s] = _.useState(e.interest_rate ?? 0), c = !e.guid, i = t < 0, d = async () => {
|
|
11
11
|
const n = { ...e, interest_rate: t };
|
|
@@ -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-gSdil8_e.mjs";
|
|
11
11
|
import { u as _, j as A, g as f } from "./hooks-BUCn6FeJ.mjs";
|
|
12
12
|
import { R as y, F as N } from "./RepeatingTransaction-C5AV8wLs.mjs";
|
|
13
13
|
import { A as m } from "./WidgetContainer-BNltq9UG.mjs";
|
|
@@ -38,7 +38,7 @@ import { D as _e } from "./Drawer-DV4NTsFg.mjs";
|
|
|
38
38
|
import Ce from "@mui/material/InputAdornment";
|
|
39
39
|
import et from "@mui/material/Checkbox";
|
|
40
40
|
import ge from "@mui/material/Grid";
|
|
41
|
-
import { C as tt } from "./CurrencyInput-
|
|
41
|
+
import { C as tt } from "./CurrencyInput-DUJ_mlm_.mjs";
|
|
42
42
|
import at from "@mui/material/Switch";
|
|
43
43
|
var Q = /* @__PURE__ */ ((t) => (t[t.Category = 0] = "Category", t[t.Date = 1] = "Date", t[t.Memo = 2] = "Memo", t[t.Tags = 3] = "Tags", t))(Q || {}), se = /* @__PURE__ */ ((t) => (t[t.SplitTransaction = 0] = "SplitTransaction", t[t.HideTransaction = 1] = "HideTransaction", t[t.MerchantLogo = 2] = "MerchantLogo", t))(se || {});
|
|
44
44
|
const nt = [
|
|
@@ -658,6 +658,7 @@ const lt = ({ transaction: t, onClick: r }) => {
|
|
|
658
658
|
{
|
|
659
659
|
amount: d,
|
|
660
660
|
ariaLabel: s.split_transaction_edit_split_amount,
|
|
661
|
+
minAmount: 0.01,
|
|
661
662
|
name: "split-amount-input",
|
|
662
663
|
setAmount: g,
|
|
663
664
|
sx: {
|
|
@@ -47,13 +47,13 @@ import { LocalizationProvider as j1 } from "@mui/x-date-pickers-pro";
|
|
|
47
47
|
import X1 from "@mui/material/MenuItem";
|
|
48
48
|
import J1 from "@mui/material/Select";
|
|
49
49
|
import q1 from "@mui/material/TextField";
|
|
50
|
-
import { C as Q1 } from "../CurrencyInput-
|
|
50
|
+
import { C as Q1 } from "../CurrencyInput-DUJ_mlm_.mjs";
|
|
51
51
|
import e3 from "@mui/material/Alert";
|
|
52
52
|
import t3 from "@mui/material/AlertTitle";
|
|
53
53
|
import n3 from "@mui/material/Link";
|
|
54
54
|
import o3 from "@mui/material/Paper";
|
|
55
55
|
import { subDays as i3, startOfToday as c3, endOfToday as a3 } from "date-fns";
|
|
56
|
-
import { T as s3, a as l3 } from "../TransactionDetails-
|
|
56
|
+
import { T as s3, a as l3 } from "../TransactionDetails-DbGFG4Oo.mjs";
|
|
57
57
|
import { T as r1 } from "../TabContentContainer-j01JYR_7.mjs";
|
|
58
58
|
import { f as d1 } from "../NumberFormatting-DjTD0t3W.mjs";
|
|
59
59
|
import { C as r3 } from "../ConnectionsDrawer-GcyfM8yJ.mjs";
|
package/dist/budgets/index.es.js
CHANGED
|
@@ -19,7 +19,7 @@ import Z from "@mui/material/ListItemText";
|
|
|
19
19
|
import { b as L } from "../Localization-2MODESHW.mjs";
|
|
20
20
|
import { D as $ } from "../Drawer-DV4NTsFg.mjs";
|
|
21
21
|
import He from "@mui/material/ListItemSecondaryAction";
|
|
22
|
-
import { C as We } from "../CurrencyInput-
|
|
22
|
+
import { C as We } from "../CurrencyInput-DUJ_mlm_.mjs";
|
|
23
23
|
import { a as z } from "../Dialog-CwiqpTGe.mjs";
|
|
24
24
|
import { C as Ke } from "../ConnectionsDrawer-GcyfM8yJ.mjs";
|
|
25
25
|
import * as O from "d3";
|
|
@@ -39,7 +39,7 @@ import Ee from "@mui/material/Snackbar";
|
|
|
39
39
|
import _e from "@mui/material/Tab";
|
|
40
40
|
import Qe from "@mui/material/Tabs";
|
|
41
41
|
import { e as et } from "../exportTransactionsToCSV-DNbCbq9P.mjs";
|
|
42
|
-
import { T as Ie, a as tt } from "../TransactionDetails-
|
|
42
|
+
import { T as Ie, a as tt } from "../TransactionDetails-DbGFG4Oo.mjs";
|
|
43
43
|
import pe from "@mui/material/Card";
|
|
44
44
|
import he from "@mui/material/CardContent";
|
|
45
45
|
import { S as me } from "../StatusBar-BK_uYHAB.mjs";
|
|
@@ -48,7 +48,7 @@ import { u as nt, b as ot } from "../CategorySelectorDrawer-euTDUflY.mjs";
|
|
|
48
48
|
import Re from "@mui/material/CardHeader";
|
|
49
49
|
import { subDays as at } from "date-fns/subDays";
|
|
50
50
|
import rt from "@mui/material/IconButton";
|
|
51
|
-
import { M as st } from "../ManageIncome-
|
|
51
|
+
import { M as st } from "../ManageIncome-gSdil8_e.mjs";
|
|
52
52
|
const it = E(() => {
|
|
53
53
|
const { budgets: t } = w(), { totalBudgeted: o } = D(), { incomeTotal: i } = te(), s = i - o;
|
|
54
54
|
return /* @__PURE__ */ m(B, { direction: "row", justifyContent: "center", my: 16, spacing: 20, children: [
|
|
@@ -18,7 +18,7 @@ import { b as $ } from "../Localization-2MODESHW.mjs";
|
|
|
18
18
|
import { u as Oe } from "../useWidgetLoadTimer-BYMP5Q8g.mjs";
|
|
19
19
|
import { M as Je } from "../MiniWidgetContainer-BHk-RlKA.mjs";
|
|
20
20
|
import { E as Ze } from "../EmptyState-DoxNUae-.mjs";
|
|
21
|
-
import { R as et } from "../RecurringSettings-
|
|
21
|
+
import { R as et } from "../RecurringSettings-RizA3dux.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-gSdil8_e.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";
|
|
@@ -45,7 +45,7 @@ import { A as Q } from "../Account-BiB1F8lL.mjs";
|
|
|
45
45
|
import { formatISO as ht } from "date-fns/formatISO";
|
|
46
46
|
import { fromUnixTime as De } from "date-fns/fromUnixTime";
|
|
47
47
|
import { startOfMonth as pt } from "date-fns/startOfMonth";
|
|
48
|
-
import { S as ft, b as gt } from "../TransactionDetails-
|
|
48
|
+
import { S as ft, b as gt } from "../TransactionDetails-DbGFG4Oo.mjs";
|
|
49
49
|
import { F as bt, R as ve, e as Ae } from "../RepeatingTransaction-C5AV8wLs.mjs";
|
|
50
50
|
import { h as xt } from "../DateUtil-gRDTwAoC.mjs";
|
|
51
51
|
import { F as Ct, A as j } from "../Fetch-DecPFeGU.mjs";
|
package/dist/common/index.es.js
CHANGED
|
@@ -14,7 +14,7 @@ import { M as ws } from "../MicroWidgetContainer-CX0qZ57D.mjs";
|
|
|
14
14
|
import { M as xs } from "../MiniWidgetContainer-BHk-RlKA.mjs";
|
|
15
15
|
import { A as As, D as vs, W as Es } from "../WidgetContainer-BNltq9UG.mjs";
|
|
16
16
|
import { b as Bs, G as Is } from "../GlobalAccountFilter-xZ4Z8AE-.mjs";
|
|
17
|
-
import { C as Ms } from "../CurrencyInput-
|
|
17
|
+
import { C as Ms } from "../CurrencyInput-DUJ_mlm_.mjs";
|
|
18
18
|
import { L as Us } from "../Loader-DUaFpDGv.mjs";
|
|
19
19
|
import { R as Rs } from "../ResponsiveButton-DZFp78fJ.mjs";
|
|
20
20
|
import { S as Os } from "../SearchBox-B2_zLv8-.mjs";
|
package/dist/debts/index.es.js
CHANGED
|
@@ -28,10 +28,10 @@ import pe from "@mui/material/Tab";
|
|
|
28
28
|
import je from "@mui/material/Tabs";
|
|
29
29
|
import fe from "@mui/material/List";
|
|
30
30
|
import j from "@mui/material/Divider";
|
|
31
|
-
import { M as ze, I as Xe, O as Ve } from "../OriginalBalanceAction-
|
|
31
|
+
import { M as ze, I as Xe, O as Ve } from "../OriginalBalanceAction-BhXMJ8wC.mjs";
|
|
32
32
|
import Ye from "@mui/material/TextField";
|
|
33
33
|
import { L as Q } from "../ListItemAction-pvmKK9RU.mjs";
|
|
34
|
-
import { C as oe } from "../CurrencyInput-
|
|
34
|
+
import { C as oe } from "../CurrencyInput-DUJ_mlm_.mjs";
|
|
35
35
|
import me from "@mui/material/Alert";
|
|
36
36
|
import he from "@mui/material/AlertTitle";
|
|
37
37
|
import ue from "@mui/material/Paper";
|
|
@@ -41,7 +41,7 @@ import { S as rt, F as wt, e as Hn, R as kt } from "../RepeatingTransaction-C5AV
|
|
|
41
41
|
import { A as ze } from "../Account-BiB1F8lL.mjs";
|
|
42
42
|
import { S as Nn } from "../StatusBar-BK_uYHAB.mjs";
|
|
43
43
|
import { h as Mt } from "../DateUtil-gRDTwAoC.mjs";
|
|
44
|
-
import { T as jn, s as Kn, h as Vn, S as Xn, b as Yn } from "../TransactionDetails-
|
|
44
|
+
import { T as jn, s as Kn, h as Vn, S as Xn, b as Yn } from "../TransactionDetails-DbGFG4Oo.mjs";
|
|
45
45
|
import { T as pe } from "../TabContentContainer-j01JYR_7.mjs";
|
|
46
46
|
import qn from "@mui/material/useMediaQuery";
|
|
47
47
|
import { BarPlot as Un } from "@mui/x-charts/BarChart";
|
|
@@ -55,10 +55,10 @@ import { formatISO as oo } from "date-fns/formatISO";
|
|
|
55
55
|
import { fromUnixTime as ro } from "date-fns/fromUnixTime";
|
|
56
56
|
import { startOfToday as at } from "date-fns/startOfToday";
|
|
57
57
|
import { subDays as ao } from "date-fns/subDays";
|
|
58
|
-
import { c as io, d as it, S as so, i as co } from "../ManageIncome-
|
|
58
|
+
import { c as io, d as it, S as so, i as co } from "../ManageIncome-gSdil8_e.mjs";
|
|
59
59
|
import { LocalizationProvider as lo, DatePicker as po, StaticDatePicker as _o } from "@mui/x-date-pickers";
|
|
60
60
|
import { AdapterDateFns as Tt } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
61
|
-
import { R as uo } from "../RecurringSettings-
|
|
61
|
+
import { R as uo } from "../RecurringSettings-RizA3dux.mjs";
|
|
62
62
|
import { LocalizationProvider as ho } from "@mui/x-date-pickers/LocalizationProvider";
|
|
63
63
|
import { format as mo } from "date-fns/format";
|
|
64
64
|
import go from "@mui/lab/Timeline";
|
package/dist/goals/index.es.js
CHANGED
|
@@ -24,7 +24,7 @@ import { S as Je } from "../StatusBar-BK_uYHAB.mjs";
|
|
|
24
24
|
import v from "@mui/material/Divider";
|
|
25
25
|
import L from "@mui/material/List";
|
|
26
26
|
import { L as q } from "../ListItemAction-pvmKK9RU.mjs";
|
|
27
|
-
import { C as ke } from "../CurrencyInput-
|
|
27
|
+
import { C as ke } from "../CurrencyInput-DUJ_mlm_.mjs";
|
|
28
28
|
import { fromUnixTime as ne } from "date-fns/fromUnixTime";
|
|
29
29
|
import Qe from "@mui/material/IconButton";
|
|
30
30
|
import k from "@mui/material/ListItem";
|
|
@@ -41,7 +41,7 @@ import at from "@mui/material/Checkbox";
|
|
|
41
41
|
import { A as Ae } from "../Account-BiB1F8lL.mjs";
|
|
42
42
|
import { u as ot } from "../useAccountDisplayName-D27PXvdj.mjs";
|
|
43
43
|
import De from "@mui/material/TextField";
|
|
44
|
-
import { M as rt, I as it, O as st } from "../OriginalBalanceAction-
|
|
44
|
+
import { M as rt, I as it, O as st } from "../OriginalBalanceAction-BhXMJ8wC.mjs";
|
|
45
45
|
import { getUnixTime as ct } from "date-fns/getUnixTime";
|
|
46
46
|
import { isValid as lt } from "date-fns/isValid";
|
|
47
47
|
import { AdapterDateFns as dt } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
@@ -17,7 +17,7 @@ import F from "@mui/material/Button";
|
|
|
17
17
|
import P from "@mui/material/Stack";
|
|
18
18
|
import { L as S } from "../Loader-DUaFpDGv.mjs";
|
|
19
19
|
import W from "@mui/material/IconButton";
|
|
20
|
-
import { N as $ } from "../NotificationSettings-
|
|
20
|
+
import { N as $ } from "../NotificationSettings-DuHI7GgA.mjs";
|
|
21
21
|
import { D as b } from "../Drawer-DV4NTsFg.mjs";
|
|
22
22
|
const _t = (e) => {
|
|
23
23
|
switch (e) {
|
|
@@ -6,8 +6,8 @@ import { endOfToday as Z } from "date-fns/endOfToday";
|
|
|
6
6
|
import { startOfMonth as G } from "date-fns/startOfMonth";
|
|
7
7
|
import { startOfToday as J } from "date-fns/startOfToday";
|
|
8
8
|
import { subDays as Q } from "date-fns/subDays";
|
|
9
|
-
import { R as Te } from "../RecurringSettings-
|
|
10
|
-
import { M as vn } from "../RecurringSettings-
|
|
9
|
+
import { R as Te } from "../RecurringSettings-RizA3dux.mjs";
|
|
10
|
+
import { M as vn } from "../RecurringSettings-RizA3dux.mjs";
|
|
11
11
|
import { addMonths as We } from "date-fns/addMonths";
|
|
12
12
|
import { subMonths as $e } from "date-fns/subMonths";
|
|
13
13
|
import { isBefore as Be } from "date-fns/isBefore";
|
|
@@ -40,8 +40,8 @@ import it from "@mui/material/ListSubheader";
|
|
|
40
40
|
import rt from "@mui/material/ListItemAvatar";
|
|
41
41
|
import ot from "@mui/material/ListItemButton";
|
|
42
42
|
import at from "@mui/material/ListItemText";
|
|
43
|
-
import { b as st } from "../ManageIncome-
|
|
44
|
-
import { c as Nn, M as Gn, S as On } from "../ManageIncome-
|
|
43
|
+
import { b as st } from "../ManageIncome-gSdil8_e.mjs";
|
|
44
|
+
import { c as Nn, M as Gn, S as On } from "../ManageIncome-gSdil8_e.mjs";
|
|
45
45
|
import { f as M } from "../NumberFormatting-DjTD0t3W.mjs";
|
|
46
46
|
import { D as ie } from "../Drawer-DV4NTsFg.mjs";
|
|
47
47
|
import { b as E } from "../Localization-2MODESHW.mjs";
|
|
@@ -16,8 +16,8 @@ import V from "@mui/material/Box";
|
|
|
16
16
|
import Z from "@mui/material/Button";
|
|
17
17
|
import I from "@mui/material/TextField";
|
|
18
18
|
import { H3 as K, P as N, Text as v, Icon as L, ChevronRightIcon as ve } from "@mxenabled/mxui";
|
|
19
|
-
import { V as Ce, a as De, N as j } from "../NotificationSettings-
|
|
20
|
-
import { A as Qt, B as Zt, I as eo } from "../NotificationSettings-
|
|
19
|
+
import { V as Ce, a as De, N as j } from "../NotificationSettings-DuHI7GgA.mjs";
|
|
20
|
+
import { A as Qt, B as Zt, I as eo } from "../NotificationSettings-DuHI7GgA.mjs";
|
|
21
21
|
import { u as D, a as $, r as A, o as Se, b as ee, m as z } from "../hooks-BUCn6FeJ.mjs";
|
|
22
22
|
import { u as O } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
23
23
|
import { a as G } from "../Dialog-CwiqpTGe.mjs";
|
|
@@ -19,7 +19,7 @@ import { startOfToday as q } from "date-fns/startOfToday";
|
|
|
19
19
|
import St from "@mui/material/Button";
|
|
20
20
|
import { useTheme as Tt } from "@mui/material";
|
|
21
21
|
import { e as Mt } from "../exportTransactionsToCSV-DNbCbq9P.mjs";
|
|
22
|
-
import { T as Dt, a as xt } from "../TransactionDetails-
|
|
22
|
+
import { T as Dt, a as xt } from "../TransactionDetails-DbGFG4Oo.mjs";
|
|
23
23
|
import wt from "@mui/material/Collapse";
|
|
24
24
|
import F from "@mui/material/Divider";
|
|
25
25
|
import J from "@mui/material/List";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { T as ba } from "../TransactionApi-CjBoLleL.mjs";
|
|
2
|
-
import { u as R, C as Le, D as Me, M as Re, c as He, T as Pe, a as Be } from "../TransactionDetails-
|
|
3
|
-
import { B as xa, d as Sa, b as wa } from "../TransactionDetails-
|
|
2
|
+
import { u as R, C as Le, D as Me, M as Re, c as He, T as Pe, a as Be } from "../TransactionDetails-DbGFG4Oo.mjs";
|
|
3
|
+
import { B as xa, d as Sa, b as wa } from "../TransactionDetails-DbGFG4Oo.mjs";
|
|
4
4
|
import { T as E } from "../User-CCYFbd5i.mjs";
|
|
5
5
|
import { O as Ia } from "../User-CCYFbd5i.mjs";
|
|
6
6
|
import { S as Z, D as $e } from "../TransactionStore-DXTFzPmW.mjs";
|
|
@@ -31,7 +31,7 @@ import ot from "@mui/material/Divider";
|
|
|
31
31
|
import rt from "@mui/material/MenuItem";
|
|
32
32
|
import it from "@mui/material/RadioGroup";
|
|
33
33
|
import { ExpandMore as st } from "@mxenabled/mx-icons";
|
|
34
|
-
import { C as ct } from "../CurrencyInput-
|
|
34
|
+
import { C as ct } from "../CurrencyInput-DUJ_mlm_.mjs";
|
|
35
35
|
import { a as lt, u as dt } from "../CategorySelectorDrawer-euTDUflY.mjs";
|
|
36
36
|
import { b as U } from "../Localization-2MODESHW.mjs";
|
|
37
37
|
import { u as ut } from "../useAriaLive-MkYebyUR.mjs";
|
package/dist/trends/index.es.js
CHANGED
|
@@ -33,7 +33,7 @@ import { T as G, b as Vt } from "../ViewMoreMicroCard-B8C76vIW.mjs";
|
|
|
33
33
|
import { parseISO as st } from "date-fns/parseISO";
|
|
34
34
|
import { H as ke } from "../HeaderCell-DjuifqHJ.mjs";
|
|
35
35
|
import { A as v, W as rt } from "../WidgetContainer-BNltq9UG.mjs";
|
|
36
|
-
import { a as at, T as it } from "../TransactionDetails-
|
|
36
|
+
import { a as at, T as it } from "../TransactionDetails-DbGFG4Oo.mjs";
|
|
37
37
|
import { D as Ne } from "../Drawer-DV4NTsFg.mjs";
|
|
38
38
|
import { u as Le } from "../useWidgetLoadTimer-BYMP5Q8g.mjs";
|
|
39
39
|
import { L as Ie } from "../Loader-DUaFpDGv.mjs";
|