@mx-cartographer/experiences 8.1.4 → 8.1.6
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 +10 -0
- package/dist/EmbeddedCard-BqVpA1Jn.mjs +811 -0
- package/dist/{ManageIncome-Deq2AZEM.mjs → ManageIncome-n1ueMTrW.mjs} +2 -2
- package/dist/{OriginalBalanceAction-C8VJZUat.mjs → OriginalBalanceAction-6XAwp1UT.mjs} +21 -22
- package/dist/{RecurringSettings-B8KJllGX.mjs → RecurringSettings-DxsDZAp1.mjs} +1 -1
- package/dist/TransactionDetails-Bpp1FDUI.mjs +1721 -0
- package/dist/{TransactionStore-BUsP-unK.mjs → TransactionStore-DfaO_9m-.mjs} +105 -101
- 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 +2 -2
- package/dist/core/types/localization/TransactionsCopy.d.ts +11 -6
- package/dist/debts/index.es.js +1 -1
- package/dist/finstrong/index.es.js +3 -3
- package/dist/goals/index.es.js +1 -1
- package/dist/insights/index.es.js +2 -2
- package/dist/recurringtransactions/index.es.js +4 -4
- package/dist/spending/index.es.js +2 -2
- package/dist/transactions/components/shared/TransactionList.d.ts +0 -1
- package/dist/transactions/components/shared/transactiondetails/actions/{HideAction.d.ts → ExcludeAction.d.ts} +2 -2
- package/dist/transactions/components/shared/transactiondetails/actions/index.d.ts +1 -1
- package/dist/transactions/components/shared/transactiontable/cells/PayeeCell.d.ts +4 -1
- package/dist/transactions/index.es.js +90 -84
- package/dist/transactions/stores/TransactionStore.d.ts +2 -0
- package/dist/trends/index.es.js +2 -2
- package/package.json +1 -1
- package/dist/EmbeddedCard-CBS3uUbk.mjs +0 -810
- package/dist/TransactionDetails-DLnK244l.mjs +0 -1703
|
@@ -17,8 +17,8 @@ import { endOfMonth as ue } from "date-fns/endOfMonth";
|
|
|
17
17
|
import { parseISO as me } from "date-fns/parseISO";
|
|
18
18
|
import J from "@mui/material/Button";
|
|
19
19
|
import { Delete as pe, Add as ye, ReceiptLong as he } from "@mxenabled/mx-icons";
|
|
20
|
-
import { T as V, u as fe, S as ge, a as Ce } from "./EmbeddedCard-
|
|
21
|
-
import { T as be } from "./TransactionDetails-
|
|
20
|
+
import { T as V, u as fe, S as ge, a as Ce } from "./EmbeddedCard-BqVpA1Jn.mjs";
|
|
21
|
+
import { T as be } from "./TransactionDetails-Bpp1FDUI.mjs";
|
|
22
22
|
import { addYears as j } from "date-fns/addYears";
|
|
23
23
|
import { getDayOfYear as xe } from "date-fns/getDayOfYear";
|
|
24
24
|
import { setDayOfYear as Se } from "date-fns/setDayOfYear";
|
|
@@ -7,9 +7,9 @@ import { L as b } from "./ListItemAction-Buv7tPLp.mjs";
|
|
|
7
7
|
import { a as T, f as S } from "./NumberFormatting-CyrvFgfd.mjs";
|
|
8
8
|
import { C as f } from "./CurrencyInput-CSJ3zMgE.mjs";
|
|
9
9
|
const F = p(({ goal: e }) => {
|
|
10
|
-
const { goals:
|
|
11
|
-
const
|
|
12
|
-
e.interest_rate = t, c ? l(
|
|
10
|
+
const { goals: n } = y(), { setAlert: r, setSelectedGoal: l, updateGoal: m } = h(), [t, s] = _.useState(e.interest_rate ?? 0), c = !e.guid, i = t < 0, d = async () => {
|
|
11
|
+
const a = { ...e, interest_rate: t };
|
|
12
|
+
e.interest_rate = t, c ? l(a) : (await m(a), r(n.alert_goal_updated_interest_rate));
|
|
13
13
|
}, u = () => {
|
|
14
14
|
setTimeout(() => {
|
|
15
15
|
s(e.interest_rate ?? 0);
|
|
@@ -20,19 +20,18 @@ const F = p(({ goal: e }) => {
|
|
|
20
20
|
{
|
|
21
21
|
isDisabled: e.is_complete,
|
|
22
22
|
isSaveDisabled: i,
|
|
23
|
-
label: `${
|
|
23
|
+
label: `${n.details_interest_rate} (%)`,
|
|
24
24
|
onCancel: u,
|
|
25
25
|
onSave: d,
|
|
26
|
-
primaryText:
|
|
26
|
+
primaryText: n.details_interest_rate,
|
|
27
27
|
secondaryText: T(Number(e.interest_rate) / 100),
|
|
28
|
-
zeroStateText: e.interest_rate ? void 0 :
|
|
28
|
+
zeroStateText: e.interest_rate ? void 0 : n.add_interest_rate,
|
|
29
29
|
children: /* @__PURE__ */ o(
|
|
30
30
|
v,
|
|
31
31
|
{
|
|
32
32
|
error: i,
|
|
33
33
|
fullWidth: !0,
|
|
34
|
-
|
|
35
|
-
onChange: (n) => s(isNaN(parseFloat(n.target.value)) ? 0 : parseFloat(n.target.value)),
|
|
34
|
+
onChange: (a) => s(isNaN(parseFloat(a.target.value)) ? 0 : parseFloat(a.target.value)),
|
|
36
35
|
type: "number",
|
|
37
36
|
value: t
|
|
38
37
|
}
|
|
@@ -40,9 +39,9 @@ const F = p(({ goal: e }) => {
|
|
|
40
39
|
}
|
|
41
40
|
);
|
|
42
41
|
}), M = p(({ goal: e }) => {
|
|
43
|
-
const { goals:
|
|
44
|
-
const
|
|
45
|
-
e.monthly_payment = t, c ? l(
|
|
42
|
+
const { goals: n } = y(), { setAlert: r, setSelectedGoal: l, updateGoal: m } = h(), [t, s] = _.useState(e.monthly_payment ?? 0), c = !e.guid, i = t < 0 || t > 9999999999e-2, d = async () => {
|
|
43
|
+
const a = { ...e, monthly_payment: t };
|
|
44
|
+
e.monthly_payment = t, c ? l(a) : (await m({ ...e, monthly_payment: t }), r(n.alert_goal_updated_payment));
|
|
46
45
|
}, u = () => {
|
|
47
46
|
setTimeout(() => {
|
|
48
47
|
s(e.monthly_payment || 0);
|
|
@@ -53,12 +52,12 @@ const F = p(({ goal: e }) => {
|
|
|
53
52
|
{
|
|
54
53
|
isDisabled: e.is_complete,
|
|
55
54
|
isSaveDisabled: i,
|
|
56
|
-
label:
|
|
55
|
+
label: n.details_monthly_payment,
|
|
57
56
|
onCancel: u,
|
|
58
57
|
onSave: d,
|
|
59
|
-
primaryText:
|
|
58
|
+
primaryText: n.details_monthly_payment,
|
|
60
59
|
secondaryText: S(e.monthly_payment, "0,0"),
|
|
61
|
-
zeroStateText: e.monthly_payment ? void 0 :
|
|
60
|
+
zeroStateText: e.monthly_payment ? void 0 : n.add_monthly_payment,
|
|
62
61
|
children: /* @__PURE__ */ o(
|
|
63
62
|
f,
|
|
64
63
|
{
|
|
@@ -67,16 +66,16 @@ const F = p(({ goal: e }) => {
|
|
|
67
66
|
error: i,
|
|
68
67
|
fullWidth: !0,
|
|
69
68
|
minAmount: 0,
|
|
70
|
-
setAmount: (
|
|
69
|
+
setAmount: (a) => s(isNaN(Number(a)) ? t : Number(a)),
|
|
71
70
|
sx: { ".MuiTypography-body1": { p: 0 } }
|
|
72
71
|
}
|
|
73
72
|
)
|
|
74
73
|
}
|
|
75
74
|
);
|
|
76
75
|
}), z = p(({ goal: e }) => {
|
|
77
|
-
const { goals:
|
|
78
|
-
const
|
|
79
|
-
e.initial_amount = t, c ? l(
|
|
76
|
+
const { goals: n } = y(), { setAlert: r, setSelectedGoal: l, updateGoal: m } = h(), [t, s] = _.useState(e.initial_amount), c = !e.guid, i = t < 0 || t > 9999999999e-2, d = async () => {
|
|
77
|
+
const a = { ...e, initial_amount: t };
|
|
78
|
+
e.initial_amount = t, c ? l(a) : (await m({ ...e, initial_amount: t }), r(n.alert_goal_updated_balance));
|
|
80
79
|
}, u = () => {
|
|
81
80
|
setTimeout(() => {
|
|
82
81
|
s(e.initial_amount);
|
|
@@ -87,12 +86,12 @@ const F = p(({ goal: e }) => {
|
|
|
87
86
|
{
|
|
88
87
|
isDisabled: e.is_complete,
|
|
89
88
|
isSaveDisabled: i,
|
|
90
|
-
label:
|
|
89
|
+
label: n.details_original_balance,
|
|
91
90
|
onCancel: u,
|
|
92
91
|
onSave: d,
|
|
93
|
-
primaryText:
|
|
92
|
+
primaryText: n.details_original_balance,
|
|
94
93
|
secondaryText: S(e.initial_amount, "0,0"),
|
|
95
|
-
zeroStateText: !e.initial_amount && !e.is_complete ?
|
|
94
|
+
zeroStateText: !e.initial_amount && !e.is_complete ? n.add_original_balance : void 0,
|
|
96
95
|
children: /* @__PURE__ */ o(
|
|
97
96
|
f,
|
|
98
97
|
{
|
|
@@ -101,7 +100,7 @@ const F = p(({ goal: e }) => {
|
|
|
101
100
|
error: i,
|
|
102
101
|
fullWidth: !0,
|
|
103
102
|
minAmount: 0,
|
|
104
|
-
setAmount: (
|
|
103
|
+
setAmount: (a) => s(isNaN(Number(a)) ? t : Number(a)),
|
|
105
104
|
sx: { ".MuiTypography-body1": { p: 0 } }
|
|
106
105
|
}
|
|
107
106
|
)
|
|
@@ -7,7 +7,7 @@ import x 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-n1ueMTrW.mjs";
|
|
11
11
|
import { u as _, i as A, g as f } from "./hooks-HwStH7q_.mjs";
|
|
12
12
|
import { b as y, F as N } from "./RepeatingTransaction-D2gmBTd0.mjs";
|
|
13
13
|
import { A as m } from "./Analytics-CzGzz_sE.mjs";
|