@mx-cartographer/experiences 9.0.13-mm0 → 9.0.14-alpha.al0
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 +7 -1
- package/dist/{AccountDetailsDrawer-BuMEKwr4.mjs → AccountDetailsDrawer-BuxLfuIm.mjs} +9 -9
- package/dist/{AccountDetailsHeader-Cq8gJeKI.mjs → AccountDetailsHeader-ByGNPZpO.mjs} +28 -27
- package/dist/{Analytics-CttfDu8q.mjs → Analytics-CkYXKvco.mjs} +1 -1
- package/dist/{ApiEndpoints-CJfDTZiz.mjs → ApiEndpoints-DXwIYNUV.mjs} +0 -1
- package/dist/{CategorySelectorDrawer-B0hohJug.mjs → CategorySelectorDrawer-NJsFsKP1.mjs} +32 -31
- package/dist/{Connect-DpCOQuon.mjs → Connect-BH0Pt6zc.mjs} +1 -1
- package/dist/{ConnectCard-2ddqF--u.mjs → ConnectCard-D7uxoH5Y.mjs} +1 -1
- package/dist/{ConnectDrawer-CtKFKQ4v.mjs → ConnectDrawer-CW4LA3H3.mjs} +2 -2
- package/dist/{ConnectionsDrawer-DR_uFsmI.mjs → ConnectionsDrawer-CZU9ku-k.mjs} +2 -2
- package/dist/{CurrencyInput-CDkPAmY3.mjs → CurrencyInput-DaGEQaLW.mjs} +1 -1
- package/dist/{EmbeddedCard-D4Gc6FqI.mjs → EmbeddedCard-BxgB26dd.mjs} +19 -18
- package/dist/{Error-C4fV38X2.mjs → Error-Dtw6yxkf.mjs} +1 -1
- package/dist/{ExportCsvAction-BEIt7Uvs.mjs → ExportCsvAction-BV69DnpC.mjs} +2 -2
- package/dist/{GlobalAccountFilter-BgFoR-uF.mjs → GlobalAccountFilter-BhzR5Vb1.mjs} +1 -1
- package/dist/{GlobalCopyApi-Dh3dZAlu.mjs → GlobalCopyApi-wcnDUzMV.mjs} +1 -1
- package/dist/{Help-CAUHpIcv.mjs → Help-BMCejaQr.mjs} +18 -17
- package/dist/{LineChart-C748C07J.mjs → LineChart-CUfiH86G.mjs} +1 -1
- package/dist/{ListItemAction-5QxK1Kpg.mjs → ListItemAction-BqUCLj_w.mjs} +1 -1
- package/dist/{ListItemWrapper-WrydKfdb.mjs → ListItemWrapper-BHIbqx7E.mjs} +1 -1
- package/dist/Loader-CxeBwuPG.mjs +21 -0
- package/dist/ManageIncome-BadwsHRL.mjs +905 -0
- package/dist/{MicroWidgetContainer-NaPOzFYb.mjs → MicroWidgetContainer-B2NnKBgW.mjs} +1 -1
- package/dist/{MiniWidgetContainer-kqPSVO5C.mjs → MiniWidgetContainer-Bmv_WeUd.mjs} +1 -1
- package/dist/{NotificationSettings-RUJH7TGl.mjs → NotificationSettings-CW7okUrk.mjs} +47 -46
- package/dist/{OriginalBalanceAction-Bllvg830.mjs → OriginalBalanceAction-YrvxBYAl.mjs} +3 -3
- package/dist/{RecurringSettings-6HEG8Gpk.mjs → RecurringSettings-CGZiV-Ie.mjs} +3 -3
- package/dist/{RecurringTransactionsUtil-zOxq5pzY.mjs → RecurringTransactionsUtil-CHWmqvW5.mjs} +40 -40
- package/dist/{SpendingLegend-X4cMvsKB.mjs → SpendingLegend-CxvNOg3c.mjs} +1 -1
- package/dist/{TransactionDetails-3_ReLEN7.mjs → TransactionDetails-DQ_eE7M4.mjs} +16 -15
- package/dist/{UserStore-yNIqIsas.mjs → UserStore-C1fdL3Iu.mjs} +100 -131
- package/dist/{ViewMoreMicroCard-pAH2oSdC.mjs → ViewMoreMicroCard-Dxghxphh.mjs} +4 -4
- package/dist/{WidgetContainer-amVXNdG2.mjs → WidgetContainer-DJnp6t6c.mjs} +55 -54
- package/dist/accounts/index.es.js +31 -30
- package/dist/analytics/index.es.js +19 -18
- package/dist/budgets/index.es.js +36 -35
- package/dist/cashflow/index.es.js +34 -33
- package/dist/categories/index.es.js +1 -1
- package/dist/common/context/hooks.d.ts +0 -1
- package/dist/common/context/index.d.ts +1 -1
- package/dist/common/index.es.js +79 -79
- package/dist/core/api/index.d.ts +0 -1
- package/dist/core/constants/ApiEndpoints.d.ts +0 -1
- package/dist/core/index.es.js +82 -84
- package/dist/core/stores/GlobalStore.d.ts +1 -2
- package/dist/core/stores/RecurringTransactionsStore.d.ts +2 -0
- package/dist/core/stores/index.d.ts +0 -1
- package/dist/core/types/index.d.ts +0 -1
- package/dist/core/types/localization/CommonCopy.d.ts +0 -13
- package/dist/dashboard/index.d.ts +0 -2
- package/dist/dashboard/index.es.js +92 -235
- package/dist/debts/index.es.js +102 -101
- package/dist/finstrong/index.es.js +16 -15
- package/dist/goals/index.es.js +27 -26
- package/dist/help/index.es.js +17 -16
- package/dist/hooks-97sNJ_lf.mjs +77 -0
- package/dist/insights/index.es.js +4 -4
- package/dist/investments/index.es.js +21 -20
- package/dist/merchants/index.es.js +4 -3
- package/dist/microinsights/index.es.js +1 -1
- package/dist/networth/index.es.js +15 -14
- package/dist/notifications/index.es.js +20 -19
- package/dist/recurringtransactions/components/RecurringTransactionDetails.d.ts +3 -2
- package/dist/recurringtransactions/components/UpcomingRecurrenceCard.d.ts +3 -1
- package/dist/recurringtransactions/index.es.js +356 -345
- package/dist/settings/index.es.js +169 -157
- package/dist/spending/index.es.js +18 -17
- package/dist/transactions/index.es.js +18 -17
- package/dist/trends/index.es.js +29 -28
- package/dist/{useAccountDisplayName-BADe2cCd.mjs → useAccountDisplayName-BsiXA0qf.mjs} +1 -1
- package/dist/{useInsightsEnabled-CBJKlTJ0.mjs → useInsightsEnabled-D5Sdm0TJ.mjs} +1 -1
- package/dist/{useWidgetLoadTimer-B02UcM5C.mjs → useWidgetLoadTimer-B0tB-yzL.mjs} +1 -1
- package/package.json +1 -1
- package/dist/Loader-D4P2dFXa.mjs +0 -95
- package/dist/ManageIncome-C2fYj8yu.mjs +0 -902
- package/dist/core/api/AgreementApi.d.ts +0 -7
- package/dist/core/stores/AgreementStore.d.ts +0 -11
- package/dist/core/types/Agreement.d.ts +0 -6
- package/dist/dashboard/WelcomeDialog.d.ts +0 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
|
+
## [9.0.14] - 06-03-2026
|
|
2
|
+
|
|
3
|
+
- **FIXED** - Recurring transactions incorrectly marked as paid when linked transactions fall outside the expected dates
|
|
4
|
+
- **FIXED** - Expense details drawer always showing mark as paid action even for already paid recurrences
|
|
5
|
+
- **FIXED** - Transaction details showing undefined account name in recurring transaction past activity
|
|
6
|
+
|
|
1
7
|
## [9.0.13] - 06-02-2026
|
|
2
8
|
|
|
3
|
-
- **ADDED** -
|
|
9
|
+
- **ADDED** - Back button on Notification Settings views when show_back_button is enabled
|
|
4
10
|
|
|
5
11
|
## [9.0.12] - 06-02-2026
|
|
6
12
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as e, jsxs as u, Fragment as T } from "react/jsx-runtime";
|
|
2
2
|
import { observer as x } from "mobx-react-lite";
|
|
3
3
|
import { useTheme as $, alpha as rt } from "@mui/material/styles";
|
|
4
|
-
import { u as S, a as lt, b as dt, A as ut } from "./AccountDetailsHeader-
|
|
5
|
-
import { L as _t } from "./LineChart-
|
|
4
|
+
import { u as S, a as lt, b as dt, A as ut } from "./AccountDetailsHeader-ByGNPZpO.mjs";
|
|
5
|
+
import { L as _t } from "./LineChart-CUfiH86G.mjs";
|
|
6
6
|
import { g as mt, a as pt, b as ht } from "./SpendingData-Fii_xATx.mjs";
|
|
7
|
-
import { l as gt, u as D, c as V, i as Ct, f as P, g as Q } from "./
|
|
7
|
+
import { l as gt, u as D, c as V, i as Ct, f as P, g as Q } from "./hooks-97sNJ_lf.mjs";
|
|
8
8
|
import { c as Y, C as G, e as m, N as Z } from "./Account-DR7Plrqy.mjs";
|
|
9
9
|
import { I as tt, P as et, S as nt, T as H } from "./TabContentContainer-B0eYJP5p.mjs";
|
|
10
10
|
import _ from "react";
|
|
@@ -24,12 +24,12 @@ import L from "@mui/material/ListItemAvatar";
|
|
|
24
24
|
import { Error as W, Language as Tt, CheckCircle as xt } from "@mxenabled/mx-icons";
|
|
25
25
|
import { I as O } from "./IconBacking-DgT8DCeh.mjs";
|
|
26
26
|
import { f as Dt } from "./NumberFormatting--XMeeBfr.mjs";
|
|
27
|
-
import { u as St } from "./useAccountDisplayName-
|
|
27
|
+
import { u as St } from "./useAccountDisplayName-BsiXA0qf.mjs";
|
|
28
28
|
import { A as I } from "./Analytics-WeZYytR0.mjs";
|
|
29
29
|
import { D as U } from "./Dialog-Bvd2n8hz.mjs";
|
|
30
30
|
import { D as z } from "./Drawer-DsnW2o0v.mjs";
|
|
31
31
|
import Et from "@mui/material/Stack";
|
|
32
|
-
import { C as st } from "./ConnectDrawer-
|
|
32
|
+
import { C as st } from "./ConnectDrawer-CW4LA3H3.mjs";
|
|
33
33
|
import { fromUnixTime as vt } from "date-fns/fromUnixTime";
|
|
34
34
|
import { isToday as wt } from "date-fns/isToday";
|
|
35
35
|
import { isYesterday as It } from "date-fns/isYesterday";
|
|
@@ -43,15 +43,15 @@ import { LocalizationProvider as Pt } from "@mui/x-date-pickers-pro";
|
|
|
43
43
|
import J from "@mui/material/MenuItem";
|
|
44
44
|
import Rt from "@mui/material/Select";
|
|
45
45
|
import Bt from "@mui/material/TextField";
|
|
46
|
-
import { F as R } from "./Connect-
|
|
47
|
-
import { C as Ft } from "./CurrencyInput-
|
|
46
|
+
import { F as R } from "./Connect-BH0Pt6zc.mjs";
|
|
47
|
+
import { C as Ft } from "./CurrencyInput-DaGEQaLW.mjs";
|
|
48
48
|
import Ut from "@mui/material/Alert";
|
|
49
49
|
import $t from "@mui/material/AlertTitle";
|
|
50
50
|
import Vt from "@mui/material/Link";
|
|
51
51
|
import Wt from "@mui/material/Paper";
|
|
52
52
|
import { endOfToday as zt, subDays as Yt, startOfToday as Gt } from "date-fns";
|
|
53
|
-
import { T as Ht } from "./EmbeddedCard-
|
|
54
|
-
import { T as jt } from "./TransactionDetails-
|
|
53
|
+
import { T as Ht } from "./EmbeddedCard-BxgB26dd.mjs";
|
|
54
|
+
import { T as jt } from "./TransactionDetails-DQ_eE7M4.mjs";
|
|
55
55
|
const Kt = (t, o) => {
|
|
56
56
|
const n = tt.includes(o) ? mt(t) : [], a = et.includes(o) ? pt(t) : [], c = nt.includes(o) ? ht(t) : [];
|
|
57
57
|
return [n, a, c].filter((l) => l.length > 0);
|
|
@@ -4,23 +4,24 @@ import d from "@mui/material/Stack";
|
|
|
4
4
|
import { Text as b, Icon as y, H3 as w, InstitutionLogo as G, H2 as M } from "@mxenabled/mxui";
|
|
5
5
|
import { f as _, i as C, a as H, b as U } from "./NumberFormatting--XMeeBfr.mjs";
|
|
6
6
|
import h from "react";
|
|
7
|
-
import { G as Y, c as A, l as j, e as k,
|
|
8
|
-
import { c as u, b as
|
|
9
|
-
import { a as
|
|
10
|
-
import { F as o } from "./Connect-
|
|
7
|
+
import { G as Y, c as A, l as j, e as k, i as V, u as B } from "./hooks-97sNJ_lf.mjs";
|
|
8
|
+
import { c as u, b as z, f as W, h as $ } from "./Account-DR7Plrqy.mjs";
|
|
9
|
+
import { a as q, u as K, i as J, b as Q, c as X } from "./AccountUtils-B8ZzWI-d.mjs";
|
|
10
|
+
import { F as o } from "./Connect-BH0Pt6zc.mjs";
|
|
11
11
|
import { j as g } from "./DateUtil-CzBmbjmA.mjs";
|
|
12
12
|
import { b as s } from "./Localization-DnoVyBNK.mjs";
|
|
13
13
|
import { f as T, D } from "./DateFormats-HudZ3Bjs.mjs";
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
14
|
+
import Z from "@mui/material/Card";
|
|
15
|
+
import ee from "@mui/material/CardContent";
|
|
16
|
+
import te from "@mui/material/CardHeader";
|
|
17
|
+
import { L as ae } from "./Loader-CxeBwuPG.mjs";
|
|
17
18
|
import { I as ne, P as ie, S as re } from "./TabContentContainer-B0eYJP5p.mjs";
|
|
18
|
-
import { u as le } from "./useAccountDisplayName-
|
|
19
|
+
import { u as le } from "./useAccountDisplayName-BsiXA0qf.mjs";
|
|
19
20
|
const S = () => {
|
|
20
21
|
if (!h.useContext(Y))
|
|
21
22
|
throw new Error("useCategoryUiStore() must be used within the GlobalDataContext");
|
|
22
23
|
return A().uiStore;
|
|
23
|
-
},
|
|
24
|
+
}, Oe = (a, e) => {
|
|
24
25
|
const r = [
|
|
25
26
|
{
|
|
26
27
|
event: "account_details_click_account_name",
|
|
@@ -32,7 +33,7 @@ const S = () => {
|
|
|
32
33
|
valueFormatter: (t) => t
|
|
33
34
|
}
|
|
34
35
|
];
|
|
35
|
-
if (
|
|
36
|
+
if (q(a)) {
|
|
36
37
|
r.unshift({
|
|
37
38
|
label: e.account_balance,
|
|
38
39
|
name: "balance",
|
|
@@ -43,7 +44,7 @@ const S = () => {
|
|
|
43
44
|
const t = Object.keys(u).filter((n) => Number(n)).map((n) => ({
|
|
44
45
|
label: e.account_types[n],
|
|
45
46
|
value: Number(n),
|
|
46
|
-
icon: /* @__PURE__ */ l(y, { name:
|
|
47
|
+
icon: /* @__PURE__ */ l(y, { name: z[n] })
|
|
47
48
|
}));
|
|
48
49
|
r.push({
|
|
49
50
|
label: e.account_type,
|
|
@@ -55,10 +56,10 @@ const S = () => {
|
|
|
55
56
|
});
|
|
56
57
|
}
|
|
57
58
|
if (a.account_type === u.PROPERTY) {
|
|
58
|
-
const t = Object.keys(
|
|
59
|
+
const t = Object.keys(W).filter((n) => Number(n)).map((n) => ({
|
|
59
60
|
label: e.property_types[n],
|
|
60
61
|
value: Number(n),
|
|
61
|
-
icon: /* @__PURE__ */ l(y, { name:
|
|
62
|
+
icon: /* @__PURE__ */ l(y, { name: $[n] })
|
|
62
63
|
}));
|
|
63
64
|
r.push({
|
|
64
65
|
label: e.property_type,
|
|
@@ -69,7 +70,7 @@ const S = () => {
|
|
|
69
70
|
valueFormatter: (n) => t.find((i) => i.value === n)?.label
|
|
70
71
|
});
|
|
71
72
|
}
|
|
72
|
-
if (
|
|
73
|
+
if (K(a)) {
|
|
73
74
|
let t = e.interest_rate, n = "interest_rate";
|
|
74
75
|
a.is_manual || (typeof a.apr == "number" && (t = e.apr, n = "apr"), typeof a.apy == "number" && (t = e.apy, n = "apy")), r.push({
|
|
75
76
|
event: "account_details_click_interest_rate",
|
|
@@ -81,7 +82,7 @@ const S = () => {
|
|
|
81
82
|
valueFormatter: (i) => C(i) ? H(i / 100) : i
|
|
82
83
|
});
|
|
83
84
|
}
|
|
84
|
-
return
|
|
85
|
+
return J(a) && (r.push({
|
|
85
86
|
label: e.minimum_payment,
|
|
86
87
|
name: "minimum_payment",
|
|
87
88
|
placeholder: s(e.enter_value, e.minimum_payment),
|
|
@@ -104,13 +105,13 @@ const S = () => {
|
|
|
104
105
|
e.day_of_every_month,
|
|
105
106
|
U(t <= 31 ? t : new Date(t).getDate())
|
|
106
107
|
)
|
|
107
|
-
})),
|
|
108
|
+
})), Q(a) && r.push({
|
|
108
109
|
label: e.credit_limit,
|
|
109
110
|
name: "credit_limit",
|
|
110
111
|
placeholder: s(e.enter_value, e.credit_limit),
|
|
111
112
|
type: o.Currency,
|
|
112
113
|
valueFormatter: (t) => _(t, "0,0.00")
|
|
113
|
-
}),
|
|
114
|
+
}), X(a) && r.push({
|
|
114
115
|
label: e.original_balance,
|
|
115
116
|
minAmount: 1,
|
|
116
117
|
name: "original_balance",
|
|
@@ -143,7 +144,7 @@ const S = () => {
|
|
|
143
144
|
secondValue: m,
|
|
144
145
|
hasAvailableBalance: c
|
|
145
146
|
};
|
|
146
|
-
},
|
|
147
|
+
}, Pe = (a, e, r) => a.reduce((n, i) => {
|
|
147
148
|
const c = I(i, e, r).firstValue || 0;
|
|
148
149
|
return n + c;
|
|
149
150
|
}, 0), se = (a, e) => {
|
|
@@ -166,8 +167,8 @@ const S = () => {
|
|
|
166
167
|
n && t([i]).finally(() => {
|
|
167
168
|
c(!0);
|
|
168
169
|
});
|
|
169
|
-
}, [n, i]), !n || !m ? /* @__PURE__ */ l(
|
|
170
|
-
|
|
170
|
+
}, [n, i]), !n || !m ? /* @__PURE__ */ l(ae, {}) : /* @__PURE__ */ p(
|
|
171
|
+
Z,
|
|
171
172
|
{
|
|
172
173
|
sx: {
|
|
173
174
|
"& .MuiCardContent-root:last-child": {
|
|
@@ -176,8 +177,8 @@ const S = () => {
|
|
|
176
177
|
...a
|
|
177
178
|
},
|
|
178
179
|
children: [
|
|
179
|
-
/* @__PURE__ */ l(
|
|
180
|
-
/* @__PURE__ */ l(
|
|
180
|
+
/* @__PURE__ */ l(te, { sx: { pb: 0 }, title: /* @__PURE__ */ l(w, { sx: { pb: 4 }, children: r }) }),
|
|
181
|
+
/* @__PURE__ */ l(ee, { sx: { p: 0 }, children: e ? /* @__PURE__ */ l(e, {}) : null })
|
|
181
182
|
]
|
|
182
183
|
}
|
|
183
184
|
);
|
|
@@ -185,7 +186,7 @@ const S = () => {
|
|
|
185
186
|
customDetailsChart: a,
|
|
186
187
|
ChartComponent: e
|
|
187
188
|
}) => {
|
|
188
|
-
const { institutions: r } = A(), { selectedAccount: t } = S(), { config: n } =
|
|
189
|
+
const { institutions: r } = A(), { selectedAccount: t } = S(), { config: n } = V(), { accounts: i } = B(), { firstSubtitle: m, firstValue: c, hasAvailableBalance: f, secondSubtitle: N, secondValue: E } = I(t, i, n.display_available_balance_in_accounts), F = r.find(
|
|
189
190
|
(L) => L.guid === t?.institution_guid
|
|
190
191
|
), O = [
|
|
191
192
|
...ne,
|
|
@@ -217,11 +218,11 @@ const S = () => {
|
|
|
217
218
|
] }),
|
|
218
219
|
O && /* @__PURE__ */ l(d, { "aria-label": R, role: "img", children: a || /* @__PURE__ */ l(ue, { ChartComponent: e, header: x }) })
|
|
219
220
|
] });
|
|
220
|
-
},
|
|
221
|
+
}, xe = v(me);
|
|
221
222
|
export {
|
|
222
|
-
|
|
223
|
+
xe as A,
|
|
223
224
|
I as a,
|
|
224
|
-
|
|
225
|
-
|
|
225
|
+
Oe as b,
|
|
226
|
+
Pe as g,
|
|
226
227
|
S as u
|
|
227
228
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import u from "react";
|
|
2
2
|
import { getUnixTime as r } from "date-fns/getUnixTime";
|
|
3
|
-
import { A as l } from "./GlobalCopyApi-
|
|
3
|
+
import { A as l } from "./GlobalCopyApi-wcnDUzMV.mjs";
|
|
4
4
|
const A = (s, i) => {
|
|
5
5
|
const { session: t } = i, o = Object.values(i).reduce((e, n) => t && n?.onAnalyticEvent && typeof n?.onAnalyticEvent == "function" ? [...e, n.onAnalyticEvent] : e, []), a = [...s, ...o];
|
|
6
6
|
return u.useMemo(() => (e) => {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as t, jsxs as g } from "react/jsx-runtime";
|
|
2
|
-
import { observer as
|
|
2
|
+
import { observer as p } from "mobx-react-lite";
|
|
3
3
|
import E from "react";
|
|
4
4
|
import $ from "@mui/material/Stack";
|
|
5
|
-
import { G as K, l as f, u as S, f as A, a as B
|
|
6
|
-
import
|
|
5
|
+
import { G as K, l as f, u as S, f as A, a as B } from "./hooks-97sNJ_lf.mjs";
|
|
6
|
+
import U from "@mui/material/List";
|
|
7
7
|
import V from "@mui/material/Paper";
|
|
8
8
|
import { b as _ } from "./Localization-DnoVyBNK.mjs";
|
|
9
|
-
import
|
|
9
|
+
import Y from "@mui/material/Divider";
|
|
10
10
|
import T from "@mui/material/ListItem";
|
|
11
11
|
import W from "@mui/material/ListItemAvatar";
|
|
12
12
|
import N from "@mui/material/ListItemButton";
|
|
@@ -21,6 +21,7 @@ import te from "@mui/material/Box";
|
|
|
21
21
|
import oe from "@mui/material/Chip";
|
|
22
22
|
import v from "@mui/material/IconButton";
|
|
23
23
|
import { u as ae } from "./useAriaLive-MkYebyUR.mjs";
|
|
24
|
+
import { L as k } from "./Loader-CxeBwuPG.mjs";
|
|
24
25
|
import { S as re } from "./SearchBox-Cpgu_gdO.mjs";
|
|
25
26
|
import { D as ne } from "./Drawer-DsnW2o0v.mjs";
|
|
26
27
|
const y = () => {
|
|
@@ -50,18 +51,18 @@ const se = ({
|
|
|
50
51
|
}) => {
|
|
51
52
|
const [a, c] = E.useState(e), { categories: r } = S(), { setShouldDisableDrawerScroll: n } = y();
|
|
52
53
|
let d = "", m = [];
|
|
53
|
-
const u = i === "delete",
|
|
54
|
+
const u = i === "delete", h = e.length > 50 ? `${e.slice(0, 50)}...` : e, b = i === "edit" ? _(r.edit_subcategory_aria, h) : r.add_subcategory_aria;
|
|
54
55
|
switch (i) {
|
|
55
56
|
case "add":
|
|
56
57
|
d = r.add_subcategory_title;
|
|
57
58
|
break;
|
|
58
59
|
case "edit":
|
|
59
|
-
d = _(r.edit_subcategory_title,
|
|
60
|
+
d = _(r.edit_subcategory_title, h);
|
|
60
61
|
break;
|
|
61
62
|
case "delete":
|
|
62
63
|
d = r.delete_subcategory_heading, m = _(
|
|
63
64
|
r.all_transactions_in_this_subcategory,
|
|
64
|
-
/* @__PURE__ */ t(q, { bold: !0, component: "span", children: _(r.all_parent_category,
|
|
65
|
+
/* @__PURE__ */ t(q, { bold: !0, component: "span", children: _(r.all_parent_category, h) })
|
|
65
66
|
);
|
|
66
67
|
break;
|
|
67
68
|
}
|
|
@@ -99,7 +100,7 @@ const se = ({
|
|
|
99
100
|
) })
|
|
100
101
|
}
|
|
101
102
|
);
|
|
102
|
-
}, R =
|
|
103
|
+
}, R = p(se), ie = ({ announce: e, parentCategory: s }) => {
|
|
103
104
|
const [o, l] = E.useState(!1), { addCategory: i } = f(), { categories: a } = S(), { onEvent: c } = A(), { setShouldDisableDrawerScroll: r } = y(), n = async (u) => {
|
|
104
105
|
await i(u.trim(), s.guid), e(_(a.add_subcategory_announcement, u)), c(C.ON_SUBCATEGORY_ADDED), l(!1);
|
|
105
106
|
}, d = async () => {
|
|
@@ -125,7 +126,7 @@ const se = ({
|
|
|
125
126
|
}
|
|
126
127
|
)
|
|
127
128
|
] });
|
|
128
|
-
}, ce =
|
|
129
|
+
}, ce = p(ie), le = ({
|
|
129
130
|
announce: e,
|
|
130
131
|
setShowRename: s,
|
|
131
132
|
subCategory: o,
|
|
@@ -146,7 +147,7 @@ const se = ({
|
|
|
146
147
|
type: L.EDIT
|
|
147
148
|
}
|
|
148
149
|
);
|
|
149
|
-
}, de =
|
|
150
|
+
}, de = p(le), ue = ({
|
|
150
151
|
announce: e,
|
|
151
152
|
parentCategory: s,
|
|
152
153
|
showDelete: o,
|
|
@@ -168,7 +169,7 @@ const se = ({
|
|
|
168
169
|
type: L.DELETE
|
|
169
170
|
}
|
|
170
171
|
);
|
|
171
|
-
}, me =
|
|
172
|
+
}, me = p(ue), Ce = ({
|
|
172
173
|
announce: e,
|
|
173
174
|
parentCategory: s,
|
|
174
175
|
subCategory: o
|
|
@@ -181,7 +182,7 @@ const se = ({
|
|
|
181
182
|
showSelected: r,
|
|
182
183
|
unselectable: n,
|
|
183
184
|
unselectableText: d
|
|
184
|
-
} = y(), { categories: m } = S(), { onEvent: u } = A(), [
|
|
185
|
+
} = y(), { categories: m } = S(), { onEvent: u } = A(), [h, b] = E.useState(!1), [D, O] = E.useState(!1), x = !!o.revision, w = o.guid === i, I = !n.some((P) => P === o.guid);
|
|
185
186
|
return /* @__PURE__ */ g(
|
|
186
187
|
T,
|
|
187
188
|
{
|
|
@@ -252,19 +253,19 @@ const se = ({
|
|
|
252
253
|
subCategory: o
|
|
253
254
|
}
|
|
254
255
|
),
|
|
255
|
-
|
|
256
|
+
h && /* @__PURE__ */ t(
|
|
256
257
|
de,
|
|
257
258
|
{
|
|
258
259
|
announce: e,
|
|
259
260
|
setShowRename: b,
|
|
260
|
-
showRename:
|
|
261
|
+
showRename: h,
|
|
261
262
|
subCategory: o
|
|
262
263
|
}
|
|
263
264
|
)
|
|
264
265
|
]
|
|
265
266
|
}
|
|
266
267
|
);
|
|
267
|
-
}, _e =
|
|
268
|
+
}, _e = p(Ce), ge = ({ categories: e, parentCategory: s }) => {
|
|
268
269
|
const { expandedGuid: o, searchValue: l } = y(), { announce: i, ariaLive: a } = ae(), c = s.guid === o, r = !!l;
|
|
269
270
|
return /* @__PURE__ */ g(
|
|
270
271
|
Q,
|
|
@@ -276,7 +277,7 @@ const se = ({
|
|
|
276
277
|
children: [
|
|
277
278
|
a,
|
|
278
279
|
/* @__PURE__ */ g(
|
|
279
|
-
|
|
280
|
+
U,
|
|
280
281
|
{
|
|
281
282
|
"aria-labelledby": `category-${s.guid}`,
|
|
282
283
|
className: "mx-cat-subcategory-list",
|
|
@@ -291,7 +292,7 @@ const se = ({
|
|
|
291
292
|
subCategory: n
|
|
292
293
|
}
|
|
293
294
|
),
|
|
294
|
-
/* @__PURE__ */ t(
|
|
295
|
+
/* @__PURE__ */ t(Y, { "aria-hidden": "true", component: "li", sx: { ml: 58 } })
|
|
295
296
|
] }, n.guid)),
|
|
296
297
|
!r && /* @__PURE__ */ t(ce, { announce: i, parentCategory: s })
|
|
297
298
|
]
|
|
@@ -300,7 +301,7 @@ const se = ({
|
|
|
300
301
|
]
|
|
301
302
|
}
|
|
302
303
|
);
|
|
303
|
-
}, Ee =
|
|
304
|
+
}, Ee = p(ge), pe = ({ category: e, subCategories: s }) => {
|
|
304
305
|
const { expandedGuid: o, searchValue: l, setExpandedGuid: i } = y(), { onEvent: a } = A(), c = e.guid === o, r = () => {
|
|
305
306
|
const n = e.guid !== o ? e.guid : null;
|
|
306
307
|
i(n), a(n ? C.ON_CATEGORY_EXPANDED : C.ON_CATEGORY_COLLAPSED);
|
|
@@ -336,10 +337,10 @@ const se = ({
|
|
|
336
337
|
},
|
|
337
338
|
e.guid
|
|
338
339
|
) }),
|
|
339
|
-
/* @__PURE__ */ t(
|
|
340
|
+
/* @__PURE__ */ t(Y, { "aria-hidden": "true", component: "li", sx: { ml: 58 } }),
|
|
340
341
|
/* @__PURE__ */ t("li", { style: { listStyle: "none" }, children: /* @__PURE__ */ t(Ee, { categories: s, parentCategory: e }) })
|
|
341
342
|
] });
|
|
342
|
-
},
|
|
343
|
+
}, he = p(pe), Se = () => {
|
|
343
344
|
const { categories: e } = f(), { searchValue: s } = y(), { categories: o } = S(), i = ((a, c = "") => a.reduce((r, n) => {
|
|
344
345
|
if (n.parent_guid === null) {
|
|
345
346
|
const m = [
|
|
@@ -357,15 +358,15 @@ const se = ({
|
|
|
357
358
|
}
|
|
358
359
|
return r;
|
|
359
360
|
}, []))(e, s);
|
|
360
|
-
return /* @__PURE__ */ t(V, { className: "mx-cat-category-list", sx: { boxShadow: "none" }, children: /* @__PURE__ */ t(
|
|
361
|
-
|
|
361
|
+
return /* @__PURE__ */ t(V, { className: "mx-cat-category-list", sx: { boxShadow: "none" }, children: /* @__PURE__ */ t(U, { children: i.map((a) => /* @__PURE__ */ t(
|
|
362
|
+
he,
|
|
362
363
|
{
|
|
363
364
|
category: a.category,
|
|
364
365
|
subCategories: a.children
|
|
365
366
|
},
|
|
366
367
|
a.category.guid
|
|
367
368
|
)) }) });
|
|
368
|
-
}, be =
|
|
369
|
+
}, be = p(Se), ye = ({
|
|
369
370
|
initialSelected: e,
|
|
370
371
|
onSelect: s = void 0,
|
|
371
372
|
showSelected: o = !0,
|
|
@@ -376,7 +377,7 @@ const se = ({
|
|
|
376
377
|
searchValue: d,
|
|
377
378
|
setOnSelect: m,
|
|
378
379
|
setSearchValue: u,
|
|
379
|
-
setSelectedGuid:
|
|
380
|
+
setSelectedGuid: h,
|
|
380
381
|
setShowSelected: b,
|
|
381
382
|
setUnselectable: D,
|
|
382
383
|
setUnselectableText: O
|
|
@@ -386,7 +387,7 @@ const se = ({
|
|
|
386
387
|
}), E.useEffect(() => {
|
|
387
388
|
a.length || c();
|
|
388
389
|
}, []), E.useEffect(() => {
|
|
389
|
-
e &&
|
|
390
|
+
e && h(e), b(o), D(l), O(i);
|
|
390
391
|
}, [e, o, l, i]), n ? /* @__PURE__ */ g($, { className: "mx-cat-category-selector", sx: { width: "100%" }, children: [
|
|
391
392
|
/* @__PURE__ */ t(
|
|
392
393
|
re,
|
|
@@ -399,8 +400,8 @@ const se = ({
|
|
|
399
400
|
}
|
|
400
401
|
),
|
|
401
402
|
/* @__PURE__ */ t(be, {})
|
|
402
|
-
] }) : /* @__PURE__ */ t(
|
|
403
|
-
}, De =
|
|
403
|
+
] }) : /* @__PURE__ */ t(k, {});
|
|
404
|
+
}, De = p(ye), fe = ({
|
|
404
405
|
id: e,
|
|
405
406
|
onClose: s,
|
|
406
407
|
title: o,
|
|
@@ -419,11 +420,11 @@ const se = ({
|
|
|
419
420
|
title: o,
|
|
420
421
|
children: /* @__PURE__ */ t(De, { ...i })
|
|
421
422
|
}
|
|
422
|
-
) : /* @__PURE__ */ t(
|
|
423
|
-
},
|
|
423
|
+
) : /* @__PURE__ */ t(k, {});
|
|
424
|
+
}, Je = p(fe);
|
|
424
425
|
export {
|
|
425
|
-
|
|
426
|
+
he as C,
|
|
426
427
|
De as a,
|
|
427
|
-
|
|
428
|
+
Je as b,
|
|
428
429
|
y as u
|
|
429
430
|
};
|
|
@@ -4,7 +4,7 @@ import i from "@mui/material/Box";
|
|
|
4
4
|
import s from "@mui/material/CircularProgress";
|
|
5
5
|
import a from "@mui/material/Stack";
|
|
6
6
|
import { Text as m } from "@mxenabled/mxui";
|
|
7
|
-
import { u as p } from "./
|
|
7
|
+
import { u as p } from "./hooks-97sNJ_lf.mjs";
|
|
8
8
|
const g = ({ status: r = o.Loading }) => {
|
|
9
9
|
const { connect: n } = p();
|
|
10
10
|
return /* @__PURE__ */ t(
|
|
@@ -7,7 +7,7 @@ import p from "@mui/material/CardHeader";
|
|
|
7
7
|
import C from "@mui/material/Stack";
|
|
8
8
|
import { AccountBalance as f, ChevronRight as h } from "@mxenabled/mx-icons";
|
|
9
9
|
import { Text as a } from "@mxenabled/mxui";
|
|
10
|
-
import { C as x } from "./ConnectDrawer-
|
|
10
|
+
import { C as x } from "./ConnectDrawer-CW4LA3H3.mjs";
|
|
11
11
|
const H = ({ description: i, label: e, title: c }) => {
|
|
12
12
|
const [s, o] = n.useState(!1);
|
|
13
13
|
return /* @__PURE__ */ r(n.Fragment, { children: [
|
|
@@ -3,8 +3,8 @@ import s from "react";
|
|
|
3
3
|
import { observer as _ } from "mobx-react-lite";
|
|
4
4
|
import { useTheme as g } from "@mui/material/styles";
|
|
5
5
|
import { ConnectWidget as x } from "@mxenabled/web-widget-sdk";
|
|
6
|
-
import { b as a, a as c, M as i } from "./Connect-
|
|
7
|
-
import { c as D, d as L, u as w } from "./
|
|
6
|
+
import { b as a, a as c, M as i } from "./Connect-BH0Pt6zc.mjs";
|
|
7
|
+
import { c as D, d as L, u as w } from "./hooks-97sNJ_lf.mjs";
|
|
8
8
|
import { D as y } from "./Drawer-DsnW2o0v.mjs";
|
|
9
9
|
const I = ({
|
|
10
10
|
loadWidgetProps: l,
|
|
@@ -3,8 +3,8 @@ import s from "react";
|
|
|
3
3
|
import { observer as E } from "mobx-react-lite";
|
|
4
4
|
import { useTheme as _ } from "@mui/material/styles";
|
|
5
5
|
import { ConnectionsWidget as b } from "@mxenabled/web-widget-sdk";
|
|
6
|
-
import { C as a, a as c, M as i } from "./Connect-
|
|
7
|
-
import { c as D, d as L, u as w } from "./
|
|
6
|
+
import { C as a, a as c, M as i } from "./Connect-BH0Pt6zc.mjs";
|
|
7
|
+
import { c as D, d as L, u as w } from "./hooks-97sNJ_lf.mjs";
|
|
8
8
|
import { D as x } from "./Drawer-DsnW2o0v.mjs";
|
|
9
9
|
const I = ({
|
|
10
10
|
onClose: l,
|
|
@@ -5,7 +5,7 @@ import { v4 as q } from "uuid";
|
|
|
5
5
|
import { TextField as B, P as p } from "@mxenabled/mxui";
|
|
6
6
|
import { g as L, C as O, f as y, M as C } from "./NumberFormatting--XMeeBfr.mjs";
|
|
7
7
|
import { b as h, g as b } from "./Localization-DnoVyBNK.mjs";
|
|
8
|
-
import { u as W } from "./
|
|
8
|
+
import { u as W } from "./hooks-97sNJ_lf.mjs";
|
|
9
9
|
const J = ({
|
|
10
10
|
allowDecimals: o = !0,
|
|
11
11
|
ariaLabel: g,
|
|
@@ -10,16 +10,17 @@ import { observer as V } from "mobx-react-lite";
|
|
|
10
10
|
import { useVirtualizer as at } from "@tanstack/react-virtual";
|
|
11
11
|
import st from "@mui/material/Divider";
|
|
12
12
|
import ct from "@mui/material/List";
|
|
13
|
-
import { G as lt, g as G, u as z, f as dt,
|
|
13
|
+
import { G as lt, g as G, u as z, f as dt, a as Tt } from "./hooks-97sNJ_lf.mjs";
|
|
14
14
|
import ht from "@mui/material/ListItemAvatar";
|
|
15
15
|
import Ct from "@mui/material/ListItemText";
|
|
16
16
|
import { useTheme as M } from "@mui/material/styles";
|
|
17
17
|
import { f as H } from "./NumberFormatting--XMeeBfr.mjs";
|
|
18
|
-
import { L as _t } from "./ListItemWrapper-
|
|
18
|
+
import { L as _t } from "./ListItemWrapper-BHIbqx7E.mjs";
|
|
19
19
|
import { fromUnixTime as v } from "date-fns/fromUnixTime";
|
|
20
|
-
import { isSameDay as
|
|
20
|
+
import { isSameDay as F } from "date-fns/isSameDay";
|
|
21
21
|
import { f as ut, D as pt } from "./DateFormats-HudZ3Bjs.mjs";
|
|
22
22
|
import { k as mt } from "./DateUtil-CzBmbjmA.mjs";
|
|
23
|
+
import { L as Z } from "./Loader-CxeBwuPG.mjs";
|
|
23
24
|
import { A as gt } from "./Analytics-WeZYytR0.mjs";
|
|
24
25
|
import At from "@mui/material/Tab";
|
|
25
26
|
import Nt from "@mui/material/Tabs";
|
|
@@ -90,7 +91,7 @@ function Lt(t) {
|
|
|
90
91
|
type: "mx/moneyDashboard/insightOnTransaction"
|
|
91
92
|
});
|
|
92
93
|
}
|
|
93
|
-
function
|
|
94
|
+
function fe(t) {
|
|
94
95
|
return Q({
|
|
95
96
|
metadata: { template: t },
|
|
96
97
|
mx: !0,
|
|
@@ -186,11 +187,11 @@ const yt = ({ transaction: t, onClick: r }) => {
|
|
|
186
187
|
] });
|
|
187
188
|
}, vt = V(kt), W = (t, r) => {
|
|
188
189
|
const n = v(r[t].date), i = v(r[t - 1]?.date);
|
|
189
|
-
return !
|
|
190
|
+
return !F(n, i);
|
|
190
191
|
}, Gt = (t, r) => {
|
|
191
192
|
const n = v(r[t].date), i = v(r[t + 1]?.date);
|
|
192
|
-
return
|
|
193
|
-
},
|
|
193
|
+
return F(n, i);
|
|
194
|
+
}, Ie = (t) => t?.data ? t.data.map((r) => Object.fromEntries((t.names || []).map((n, i) => [n, r[i]]))) : [], xe = (t, r = "") => t.map((i) => {
|
|
194
195
|
const o = ut(i.date, pt.MONTH_SHORT);
|
|
195
196
|
return {
|
|
196
197
|
ariaLabel: `
|
|
@@ -205,7 +206,7 @@ const yt = ({ transaction: t, onClick: r }) => {
|
|
|
205
206
|
bgcolor: t,
|
|
206
207
|
filter: r,
|
|
207
208
|
height: n = "calc(100dvh - 36px)",
|
|
208
|
-
loader: i = /* @__PURE__ */ e(
|
|
209
|
+
loader: i = /* @__PURE__ */ e(Z, { label: "Loading", size: 40 }),
|
|
209
210
|
onClick: o,
|
|
210
211
|
showInsights: c = !1,
|
|
211
212
|
showLoader: T = !1,
|
|
@@ -653,7 +654,7 @@ const yt = ({ transaction: t, onClick: r }) => {
|
|
|
653
654
|
),
|
|
654
655
|
D && T === "bottom" && N
|
|
655
656
|
] });
|
|
656
|
-
},
|
|
657
|
+
}, Se = ({
|
|
657
658
|
ariaLabel: t,
|
|
658
659
|
barChartProps: r,
|
|
659
660
|
beat: n,
|
|
@@ -725,8 +726,8 @@ const yt = ({ transaction: t, onClick: r }) => {
|
|
|
725
726
|
/* @__PURE__ */ e(Ht, { ..._ })
|
|
726
727
|
] })
|
|
727
728
|
}
|
|
728
|
-
) }) : /* @__PURE__ */ e(
|
|
729
|
-
},
|
|
729
|
+
) }) : /* @__PURE__ */ e(Z, {});
|
|
730
|
+
}, Oe = ({
|
|
730
731
|
amount: t,
|
|
731
732
|
borderRadius: r = "2px",
|
|
732
733
|
count: n,
|
|
@@ -779,7 +780,7 @@ const yt = ({ transaction: t, onClick: r }) => {
|
|
|
779
780
|
/* @__PURE__ */ e(m, { variant: "body2", children: C })
|
|
780
781
|
] })
|
|
781
782
|
] })
|
|
782
|
-
] }),
|
|
783
|
+
] }), De = ({
|
|
783
784
|
title: t,
|
|
784
785
|
description: r,
|
|
785
786
|
callToAction: n,
|
|
@@ -837,19 +838,19 @@ const yt = ({ transaction: t, onClick: r }) => {
|
|
|
837
838
|
] });
|
|
838
839
|
export {
|
|
839
840
|
Bt as B,
|
|
840
|
-
|
|
841
|
-
|
|
841
|
+
Se as C,
|
|
842
|
+
De as E,
|
|
842
843
|
bt as O,
|
|
843
844
|
Rt as S,
|
|
844
845
|
Ht as T,
|
|
845
846
|
wt as a,
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
847
|
+
Oe as b,
|
|
848
|
+
Ie as c,
|
|
849
|
+
xe as d,
|
|
849
850
|
Vt as e,
|
|
850
851
|
$t as f,
|
|
851
852
|
Gt as h,
|
|
852
|
-
|
|
853
|
+
fe as p,
|
|
853
854
|
W as s,
|
|
854
855
|
K as u
|
|
855
856
|
};
|
|
@@ -3,7 +3,7 @@ import c from "react";
|
|
|
3
3
|
import { observer as g } from "mobx-react-lite";
|
|
4
4
|
import { Stack as i, Box as f, Button as u, useTheme as y } from "@mui/material";
|
|
5
5
|
import { Icon as C, Text as l } from "@mxenabled/mxui";
|
|
6
|
-
import { G as b } from "./
|
|
6
|
+
import { G as b } from "./hooks-97sNJ_lf.mjs";
|
|
7
7
|
const m = c.forwardRef(
|
|
8
8
|
(r, o) => {
|
|
9
9
|
const n = y();
|
|
@@ -2,8 +2,8 @@ import { jsx as o } from "react/jsx-runtime";
|
|
|
2
2
|
import { observer as c } from "mobx-react-lite";
|
|
3
3
|
import { Icon as i } from "@mxenabled/mxui";
|
|
4
4
|
import { e as p } from "./TransactionUtils-BphBJBbU.mjs";
|
|
5
|
-
import { O as m } from "./EmbeddedCard-
|
|
6
|
-
import { f as x, g as _, u as C } from "./
|
|
5
|
+
import { O as m } from "./EmbeddedCard-BxgB26dd.mjs";
|
|
6
|
+
import { f as x, g as _, u as C } from "./hooks-97sNJ_lf.mjs";
|
|
7
7
|
import { R as l } from "./ResponsiveButton-CC9F_Ezk.mjs";
|
|
8
8
|
const v = ({ filter: t }) => {
|
|
9
9
|
const { onEvent: r } = x(), { tags: e, sortedTransactions: s } = _(), { transactions: n } = C(), a = () => {
|
|
@@ -15,7 +15,7 @@ import g from "@mui/material/ListItem";
|
|
|
15
15
|
import _ from "@mui/material/ListItemButton";
|
|
16
16
|
import H from "@mui/material/ListItemIcon";
|
|
17
17
|
import v from "@mui/material/ListItemText";
|
|
18
|
-
import { a as M, u as W, c as z } from "./
|
|
18
|
+
import { a as M, u as W, c as z } from "./hooks-97sNJ_lf.mjs";
|
|
19
19
|
const R = I(
|
|
20
20
|
({ allowedAccountTypes: l }) => {
|
|
21
21
|
const { accountFilterMap: s, updateAccountFilterMap: m } = M(), { accounts: x, common: y } = W(), { account_filter: u } = y, { accountsByTypeMap: a } = z(), k = B.useMemo(
|