@mx-cartographer/experiences 7.0.12 → 7.0.14-alpha-debts-missing-sorting-option-ram1
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 +12 -0
- package/dist/{Account-BVKkr6ft.mjs → Account-BW3-oYEs.mjs} +1 -1
- package/dist/{AccountDetailsContent-BmQ5a3Lk.mjs → AccountDetailsContent-BzD6CDIm.mjs} +14 -14
- package/dist/{AccountDetailsHeader-vSwO-5Wk.mjs → AccountDetailsHeader-Eb3WvBGm.mjs} +4 -4
- package/dist/{AccountFields-VRK4zgvW.mjs → AccountFields-CIz-r3gP.mjs} +2 -2
- package/dist/{AccountListItem-SkBUCsb0.mjs → AccountListItem-B-ZjJ4Gp.mjs} +2 -2
- package/dist/{AccountStore-3Umlm7QY.mjs → AccountStore-BaMynkQT.mjs} +9 -9
- package/dist/{Accounts-CYsoAdW-.mjs → Accounts-CA-nqAjT.mjs} +1 -1
- package/dist/{CategorySelectorDrawer-BPvjZ-Xo.mjs → CategorySelectorDrawer-BJ9jlCyt.mjs} +1 -1
- package/dist/{ConnectDrawer-BA9H_xx8.mjs → ConnectDrawer-phFH6OHt.mjs} +4 -4
- package/dist/{ConnectionsDrawer-Bs-NUsAs.mjs → ConnectionsDrawer-ihxkAi1P.mjs} +1 -1
- package/dist/{DebtsStore-BwmpJMik.mjs → DebtsStore-VkyMADzd.mjs} +18 -15
- package/dist/{ExportCsvAction-CvyiKLTh.mjs → ExportCsvAction-CbMfQ2Wa.mjs} +2 -2
- package/dist/{GoalStore-DLzTboF9.mjs → GoalStore-DJp7YL_M.mjs} +1 -1
- package/dist/{Help-B3oENhkG.mjs → Help-KAAMEubC.mjs} +1 -1
- package/dist/Loader-DUaFpDGv.mjs +24 -0
- package/dist/{ManageIncome-DCUX6T2b.mjs → ManageIncome-DcKHpJ9V.mjs} +3 -3
- package/dist/{NetWorthStore-NKD8a-19.mjs → NetWorthStore-B6xF9eGH.mjs} +2 -2
- package/dist/{NotificationSettings-uXVwpIa1.mjs → NotificationSettings-aZFVTc8B.mjs} +1 -1
- package/dist/{RecurringSettings-BD_CIXnV.mjs → RecurringSettings-C9r4s1Cz.mjs} +2 -2
- package/dist/TransactionDetails-bja6hKJk.mjs +1337 -0
- package/dist/{TransactionStore-BVKUoEHj.mjs → TransactionStore-0tLtBEIC.mjs} +2 -2
- package/dist/{Transaction-Dns0Kuuy.mjs → User-Dq9Qj764.mjs} +47 -45
- package/dist/{ViewMoreMicroCard-BZI5VMNW.mjs → ViewMoreMicroCard-BPEzFZRG.mjs} +1 -1
- package/dist/{WidgetContainer-BHhhVctF.mjs → WidgetContainer-CdBs9WOZ.mjs} +2 -2
- package/dist/accounts/index.es.js +16 -16
- package/dist/analytics/index.es.js +1 -1
- package/dist/budgets/index.es.js +7 -7
- package/dist/cashflow/index.es.js +6 -6
- package/dist/categories/index.es.js +1 -1
- package/dist/common/index.es.js +13 -13
- package/dist/common/types/localization/DebtsCopy.d.ts +1 -0
- package/dist/dashboard/index.es.js +6 -6
- package/dist/debts/constants/index.d.ts +7 -4
- package/dist/debts/index.es.js +544 -482
- package/dist/debts/store/DebtsUiStore.d.ts +3 -3
- package/dist/debts/utils/DebtsWidget.d.ts +2 -2
- package/dist/debts/utils/SnowballCard.d.ts +2 -2
- package/dist/debts/utils/shared.d.ts +11 -2
- package/dist/{exportTransactionsToCSV-B4JW8rfR.mjs → exportTransactionsToCSV-BDlt8u0n.mjs} +1 -1
- package/dist/finstrong/index.es.js +5 -5
- package/dist/goals/index.es.js +7 -7
- package/dist/help/index.es.js +3 -3
- package/dist/investments/index.es.js +3 -3
- package/dist/merchants/index.es.js +1 -1
- package/dist/microinsights/index.es.js +1 -1
- package/dist/networth/index.es.js +5 -5
- package/dist/notifications/index.es.js +2 -2
- package/dist/recurringtransactions/index.es.js +6 -6
- package/dist/settings/index.es.js +6 -6
- package/dist/spending/index.es.js +3 -3
- package/dist/transactions/components/shared/transactiondetails/Description.d.ts +1 -0
- package/dist/transactions/components/shared/transactiondetails/TransactionDetailsView.d.ts +8 -0
- package/dist/transactions/index.es.js +122 -121
- package/dist/trends/index.es.js +5 -5
- package/package.json +1 -1
- package/dist/Loader-Dp1P2gNw.mjs +0 -14
- package/dist/TransactionDetails-DFDYdDae.mjs +0 -1280
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## [7.0.15] - 09-22-2025
|
|
2
|
+
|
|
3
|
+
- **UPDATED** - Added a missing sorting option in the DebtsWidget - Fastest Payoff First
|
|
4
|
+
|
|
5
|
+
## [7.0.14] - 09-22-2025
|
|
6
|
+
|
|
7
|
+
- **FIXED** - White flash appearing in the darkmode - bug fixed
|
|
8
|
+
|
|
9
|
+
## [7.0.13] - 09-22-2025
|
|
10
|
+
|
|
11
|
+
- **ADDED** - Support view-only mode for transaction details based on feature flag
|
|
12
|
+
|
|
1
13
|
## [7.0.12] - 09-19-2025
|
|
2
14
|
|
|
3
15
|
- **FIXED** - `Retirement Goal` Projection month and year issue fixed for new Goal add scenario
|
|
@@ -11,18 +11,18 @@ import M from "@mui/material/Divider";
|
|
|
11
11
|
import v from "@mui/material/ListItem";
|
|
12
12
|
import N from "@mui/material/ListItemButton";
|
|
13
13
|
import w from "@mui/material/ListItemText";
|
|
14
|
-
import { u as D } from "./AccountDetailsHeader-
|
|
14
|
+
import { u as D } from "./AccountDetailsHeader-Eb3WvBGm.mjs";
|
|
15
15
|
import { c as z, u as E, e as O, f as X } from "./hooks-DkUqN6JE.mjs";
|
|
16
|
-
import { A as at } from "./AccountListItem-
|
|
17
|
-
import { A as k } from "./WidgetContainer-
|
|
18
|
-
import { a as V, f as B, D as
|
|
16
|
+
import { A as at } from "./AccountListItem-B-ZjJ4Gp.mjs";
|
|
17
|
+
import { A as k } from "./WidgetContainer-CdBs9WOZ.mjs";
|
|
18
|
+
import { a as V, f as B, D as j } from "./Dialog-CWW597AF.mjs";
|
|
19
19
|
import { b as h } from "./Localization-2MODESHW.mjs";
|
|
20
20
|
import { D as J } from "./Drawer-kEE73B87.mjs";
|
|
21
21
|
import R from "@mui/material/ListItemAvatar";
|
|
22
22
|
import ct from "@mui/material/Stack";
|
|
23
23
|
import st from "@mui/material/styles/useTheme";
|
|
24
24
|
import { Error as q, CheckCircle as it, Language as rt } from "@mxenabled/mx-icons";
|
|
25
|
-
import { k as m, N as Q,
|
|
25
|
+
import { k as m, N as Q, j as Z, F as P } from "./ConnectDrawer-phFH6OHt.mjs";
|
|
26
26
|
import { fromUnixTime as lt } from "date-fns/fromUnixTime";
|
|
27
27
|
import { isToday as dt } from "date-fns/isToday";
|
|
28
28
|
import { isYesterday as ut } from "date-fns/isYesterday";
|
|
@@ -38,14 +38,14 @@ import At from "@mui/material/MenuItem";
|
|
|
38
38
|
import bt from "@mui/material/Select";
|
|
39
39
|
import Tt from "@mui/material/TextField";
|
|
40
40
|
import { C as St } from "./CurrencyInput-bEx2Mbd0.mjs";
|
|
41
|
-
import { a as Dt } from "./AccountFields-
|
|
41
|
+
import { a as Dt } from "./AccountFields-CIz-r3gP.mjs";
|
|
42
42
|
import Et from "@mui/material/Alert";
|
|
43
43
|
import yt from "@mui/material/AlertTitle";
|
|
44
44
|
import xt from "@mui/material/Link";
|
|
45
45
|
import wt from "@mui/material/Paper";
|
|
46
46
|
import { subDays as kt, startOfToday as It, endOfToday as Mt } from "date-fns";
|
|
47
|
-
import { T as vt, a as Lt } from "./TransactionDetails-
|
|
48
|
-
import { T as
|
|
47
|
+
import { T as vt, a as Lt } from "./TransactionDetails-bja6hKJk.mjs";
|
|
48
|
+
import { T as K } from "./TabContentContainer-j01JYR_7.mjs";
|
|
49
49
|
const U = ({
|
|
50
50
|
children: e,
|
|
51
51
|
isLast: o = !1,
|
|
@@ -314,11 +314,11 @@ const U = ({
|
|
|
314
314
|
};
|
|
315
315
|
default: {
|
|
316
316
|
const c = () => {
|
|
317
|
-
const i = e.successfully_aggregated_at ? lt(e.successfully_aggregated_at) : void 0, u = i && B(i,
|
|
317
|
+
const i = e.successfully_aggregated_at ? lt(e.successfully_aggregated_at) : void 0, u = i && B(i, j.TIME_STAMP_HOUR_MINUTE);
|
|
318
318
|
if (u)
|
|
319
319
|
return dt(i) ? h(o.last_updated_at, o.today, u) : ut(i) ? h(o.last_updated_at, o.yesterday, u) : h(
|
|
320
320
|
o.last_updated_at,
|
|
321
|
-
B(i,
|
|
321
|
+
B(i, j.MONTH_DAY_YEAR),
|
|
322
322
|
u
|
|
323
323
|
);
|
|
324
324
|
};
|
|
@@ -609,7 +609,7 @@ const U = ({
|
|
|
609
609
|
}
|
|
610
610
|
)
|
|
611
611
|
] });
|
|
612
|
-
}, Bt = b(Gt),
|
|
612
|
+
}, Bt = b(Gt), jt = () => {
|
|
613
613
|
const [e, o] = _.useState(""), { onEvent: n } = O(), { selectedAccount: c } = D(), { accounts: i } = E(), { setFilter: u, sortedTransactions: l } = X(), s = _.useMemo(
|
|
614
614
|
() => l.find((r) => r.guid === e),
|
|
615
615
|
[e, l]
|
|
@@ -632,7 +632,7 @@ const U = ({
|
|
|
632
632
|
}
|
|
633
633
|
)
|
|
634
634
|
] });
|
|
635
|
-
},
|
|
635
|
+
}, Kt = b(jt), Yt = () => {
|
|
636
636
|
const [e, o] = _.useState(0), { accounts: n } = E();
|
|
637
637
|
return /* @__PURE__ */ d(g, { children: [
|
|
638
638
|
/* @__PURE__ */ t(Bt, { setTabValue: o }),
|
|
@@ -665,8 +665,8 @@ const U = ({
|
|
|
665
665
|
]
|
|
666
666
|
}
|
|
667
667
|
),
|
|
668
|
-
/* @__PURE__ */ t(
|
|
669
|
-
/* @__PURE__ */ t(
|
|
668
|
+
/* @__PURE__ */ t(K, { index: 0, name: "transaction-details", value: e, children: /* @__PURE__ */ t(Kt, {}) }),
|
|
669
|
+
/* @__PURE__ */ t(K, { index: 1, name: "account-details", value: e, children: /* @__PURE__ */ t(Ht, {}) })
|
|
670
670
|
] });
|
|
671
671
|
}, He = b(Yt);
|
|
672
672
|
export {
|
|
@@ -2,7 +2,7 @@ import { jsx as e, jsxs as u } from "react/jsx-runtime";
|
|
|
2
2
|
import { observer as p } from "mobx-react-lite";
|
|
3
3
|
import d from "@mui/material/Stack";
|
|
4
4
|
import { H3 as w, InstitutionLogo as I, Text as m, H2 as L } from "@mxenabled/mxui";
|
|
5
|
-
import { g as N } from "./AccountFields-
|
|
5
|
+
import { g as N } from "./AccountFields-CIz-r3gP.mjs";
|
|
6
6
|
import h from "react";
|
|
7
7
|
import { G as v, c as S, k as y, u as _, l as E } from "./hooks-DkUqN6JE.mjs";
|
|
8
8
|
import G from "@mui/material/Card";
|
|
@@ -11,9 +11,9 @@ import P from "@mui/material/CardHeader";
|
|
|
11
11
|
import { useTheme as M } from "@mui/material/styles";
|
|
12
12
|
import { g as B, a as H, b as U } from "./SpendingData-D5vsfYKo.mjs";
|
|
13
13
|
import { L as j } from "./LineChart-BWWmmJxV.mjs";
|
|
14
|
-
import { I as f, P as g, S as C } from "./Account-
|
|
15
|
-
import { A } from "./ConnectDrawer-
|
|
16
|
-
import { L as z } from "./Loader-
|
|
14
|
+
import { I as f, P as g, S as C } from "./Account-BW3-oYEs.mjs";
|
|
15
|
+
import { A } from "./ConnectDrawer-phFH6OHt.mjs";
|
|
16
|
+
import { L as z } from "./Loader-DUaFpDGv.mjs";
|
|
17
17
|
import { f as Y, D as k } from "./Dialog-CWW597AF.mjs";
|
|
18
18
|
import { f as R } from "./NumberFormatting-CtWHhyBX.mjs";
|
|
19
19
|
const b = () => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import { Icon as p, Text as c } from "@mxenabled/mxui";
|
|
3
|
-
import { F as m, A as b, a as v, P as h, b as F } from "./ConnectDrawer-
|
|
4
|
-
import { i as D, u as T, a as A, b as O, c as g } from "./Accounts-
|
|
3
|
+
import { F as m, A as b, a as v, P as h, b as F } from "./ConnectDrawer-phFH6OHt.mjs";
|
|
4
|
+
import { i as D, u as T, a as A, b as O, c as g } from "./Accounts-CA-nqAjT.mjs";
|
|
5
5
|
import { f as _, i as d, a as N, b as S } from "./NumberFormatting-CtWHhyBX.mjs";
|
|
6
6
|
import { b as i } from "./Localization-2MODESHW.mjs";
|
|
7
7
|
import { f, D as o } from "./Dialog-CWW597AF.mjs";
|
|
@@ -10,8 +10,8 @@ import C from "@mui/material/styles/useTheme";
|
|
|
10
10
|
import { InstitutionLogo as B, Text as o } from "@mxenabled/mxui";
|
|
11
11
|
import { Error as L } from "@mxenabled/mx-icons";
|
|
12
12
|
import { I as A } from "./IconBacking-B9oC6uL2.mjs";
|
|
13
|
-
import { g as j } from "./AccountFields-
|
|
14
|
-
import { d } from "./ConnectDrawer-
|
|
13
|
+
import { g as j } from "./AccountFields-CIz-r3gP.mjs";
|
|
14
|
+
import { d } from "./ConnectDrawer-phFH6OHt.mjs";
|
|
15
15
|
import { u as T } from "./hooks-DkUqN6JE.mjs";
|
|
16
16
|
import { f as X } from "./NumberFormatting-CtWHhyBX.mjs";
|
|
17
17
|
const $ = {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { makeAutoObservable as _, runInAction as a } from "mobx";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { i as g } from "./User-Dq9Qj764.mjs";
|
|
3
|
+
import { F as f, A as i } from "./Fetch-CkFKy79O.mjs";
|
|
4
|
+
import { A as s, d as h, E as p, g as y, h as I } from "./ConnectDrawer-phFH6OHt.mjs";
|
|
4
5
|
class l {
|
|
5
6
|
fetchInstance;
|
|
6
7
|
constructor(t, e) {
|
|
7
|
-
this.fetchInstance = new
|
|
8
|
+
this.fetchInstance = new f(t, e);
|
|
8
9
|
}
|
|
9
10
|
createAccount = async (t) => this.fetchInstance.post(i.ACCOUNTS, t).then((e) => e.account).catch((e) => e);
|
|
10
11
|
deleteAccount = async (t) => this.fetchInstance.delete(`${i.ACCOUNTS}/${t}`).catch((e) => e);
|
|
@@ -16,7 +17,6 @@ class l {
|
|
|
16
17
|
refreshAllMembers = async () => this.fetchInstance.get(`${i.MEMBERS}/refresh_all`).then((t) => t).catch((t) => t);
|
|
17
18
|
updateAccount = async (t) => this.fetchInstance.put(`${i.ACCOUNTS}/${t.guid}`, t).then((e) => e.account).catch((e) => e);
|
|
18
19
|
}
|
|
19
|
-
const I = (h, t) => !!h.find((e) => e.feature_name === t)?.is_enabled;
|
|
20
20
|
class b {
|
|
21
21
|
isLoading = !1;
|
|
22
22
|
selectedAccount = {};
|
|
@@ -28,7 +28,7 @@ class b {
|
|
|
28
28
|
setSelectedAccount = (t) => this.selectedAccount = t;
|
|
29
29
|
setSelectedMember = (t) => this.selectedMember = t;
|
|
30
30
|
}
|
|
31
|
-
class
|
|
31
|
+
class N {
|
|
32
32
|
globalStore;
|
|
33
33
|
api = new l("/", "");
|
|
34
34
|
accounts = [];
|
|
@@ -114,7 +114,7 @@ class w {
|
|
|
114
114
|
}
|
|
115
115
|
};
|
|
116
116
|
augmentAccounts = (t = this.accounts) => {
|
|
117
|
-
const e = [], n = this.globalStore.userStore.userFeatures, c =
|
|
117
|
+
const e = [], n = this.globalStore.userStore.userFeatures, c = g(
|
|
118
118
|
n,
|
|
119
119
|
"MD_EXCLUDE_EXTERNAL_ACCOUNTS"
|
|
120
120
|
);
|
|
@@ -122,8 +122,8 @@ class w {
|
|
|
122
122
|
if (c && r.member_is_managed_by_user) continue;
|
|
123
123
|
const o = this.members.find((m) => m.guid === r.member_guid);
|
|
124
124
|
if (!o) continue;
|
|
125
|
-
let u =
|
|
126
|
-
|
|
125
|
+
let u = h.Connected;
|
|
126
|
+
p.includes(o.connection_status) ? u = h.Error : y.includes(o.connection_status) ? u = h.Processing : I.includes(o.connection_status) && (u = h.RequiresMfa);
|
|
127
127
|
const A = [
|
|
128
128
|
r.user_name || r.feed_name || "",
|
|
129
129
|
r.account_number ? `*${r.account_number}` : ""
|
|
@@ -231,5 +231,5 @@ class w {
|
|
|
231
231
|
}
|
|
232
232
|
export {
|
|
233
233
|
l as A,
|
|
234
|
-
|
|
234
|
+
N as a
|
|
235
235
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as _ } from "./ConnectDrawer-
|
|
1
|
+
import { A as _ } from "./ConnectDrawer-phFH6OHt.mjs";
|
|
2
2
|
const s = (t) => t && (t.account_type === _.CREDIT_CARD || t.account_type === _.LOAN || t.account_type === _.MORTGAGE || t.account_type === _.LINE_OF_CREDIT || t.account_type === _.CHECKING_LINE_OF_CREDIT), p = (t) => t.is_manual || !t.guid, E = (t) => t.account_type === _.LINE_OF_CREDIT || t.account_type === _.CREDIT_CARD || t.account_type === _.CHECKING_LINE_OF_CREDIT, a = (t) => t.account_type === _.SAVINGS || t.account_type === _.CHECKING || t.account_type === _.LINE_OF_CREDIT || t.account_type === _.CREDIT_CARD || t.account_type === _.LOAN || t.account_type === _.MORTGAGE, y = (t) => t.account_type === _.LOAN || t.account_type === _.MORTGAGE;
|
|
3
3
|
export {
|
|
4
4
|
s as a,
|
|
@@ -21,7 +21,7 @@ import ee from "@mui/material/Box";
|
|
|
21
21
|
import te from "@mui/material/Chip";
|
|
22
22
|
import I from "@mui/material/IconButton";
|
|
23
23
|
import { S as oe } from "./SearchBox-B2_zLv8-.mjs";
|
|
24
|
-
import { L as k } from "./Loader-
|
|
24
|
+
import { L as k } from "./Loader-DUaFpDGv.mjs";
|
|
25
25
|
import { D as ae } from "./Drawer-kEE73B87.mjs";
|
|
26
26
|
const h = () => {
|
|
27
27
|
if (!C.useContext(K))
|
|
@@ -3,7 +3,7 @@ import r from "react";
|
|
|
3
3
|
import { observer as E } from "mobx-react-lite";
|
|
4
4
|
import { useTheme as D } from "@mui/material/styles";
|
|
5
5
|
import { ConnectionsWidget as L } from "@mxenabled/web-widget-sdk";
|
|
6
|
-
import { C as a, c, M as i } from "./ConnectDrawer-
|
|
6
|
+
import { C as a, c, M as i } from "./ConnectDrawer-phFH6OHt.mjs";
|
|
7
7
|
import { c as b, d as w, u as _ } from "./hooks-DkUqN6JE.mjs";
|
|
8
8
|
import { D as x } from "./Drawer-kEE73B87.mjs";
|
|
9
9
|
const I = ({
|
|
@@ -1,31 +1,32 @@
|
|
|
1
1
|
import { makeAutoObservable as l } from "mobx";
|
|
2
|
-
import { getDate as
|
|
3
|
-
import { A as
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
import { getDate as r, fromUnixTime as _, startOfMonth as m } from "date-fns";
|
|
3
|
+
import { A as p } from "./ConnectDrawer-phFH6OHt.mjs";
|
|
4
|
+
const E = 12, T = 100;
|
|
5
|
+
var c = /* @__PURE__ */ ((a) => (a[a.FASTEST_PAYOFF_FIRST = 1] = "FASTEST_PAYOFF_FIRST", a[a.HIGHEST_INTEREST = 2] = "HIGHEST_INTEREST", a[a.LOWEST_BALANCE = 3] = "LOWEST_BALANCE", a[a.HIGHEST_BALANCE = 4] = "HIGHEST_BALANCE", a))(c || {});
|
|
6
|
+
const b = {
|
|
6
7
|
unnamed_label: "Unnamed Debt"
|
|
7
8
|
};
|
|
8
9
|
function y(a, e) {
|
|
9
|
-
const t = a.filter((n) => n.account_type ===
|
|
10
|
+
const t = a.filter((n) => n.account_type === p.CHECKING_LINE_OF_CREDIT ? Number(n.balance) <= 0 : n.is_excluded_from_debts !== !0), s = e.filter((n) => t.some((i) => i.guid === n.account_guid)).map(
|
|
10
11
|
(n) => d(t.find((i) => i.guid === n.account_guid), n)
|
|
11
|
-
),
|
|
12
|
-
return [...s, ...
|
|
12
|
+
), o = t.filter((n) => !s.some((i) => i.account.guid === n.guid)).map((n) => d(n));
|
|
13
|
+
return [...s, ...o];
|
|
13
14
|
}
|
|
14
15
|
function d(a, e) {
|
|
15
16
|
const t = { account: a, goal: e, guid: a.guid };
|
|
16
17
|
if (e) {
|
|
17
|
-
const s = e.payment_due_at ?
|
|
18
|
-
t.balance = Math.abs(e.amount - e.current_amount), t.interest_rate = e.interest_rate, t.is_paid_off = e.is_complete, t.monthly_payment = e.monthly_payment, t.name = e.name, t.original_balance = e.initial_amount, t.payment_due_date =
|
|
18
|
+
const s = e.payment_due_at ? r(_(e.payment_due_at)) : 1, o = m(/* @__PURE__ */ new Date()).setDate(s);
|
|
19
|
+
t.balance = Math.abs(e.amount - e.current_amount), t.interest_rate = e.interest_rate, t.is_paid_off = e.is_complete, t.monthly_payment = e.monthly_payment, t.name = e.name, t.original_balance = e.initial_amount, t.payment_due_date = o;
|
|
19
20
|
} else {
|
|
20
|
-
const s = a.payment_due_at ?
|
|
21
|
-
t.balance = Math.max(n, 0), t.interest_rate =
|
|
21
|
+
const s = a.payment_due_at ? r(_(a.payment_due_at)) : 1, o = m(/* @__PURE__ */ new Date()).setDate(s), n = a.balance ?? 0, i = a.minimum_payment ?? void 0, u = a.interest_rate ?? a.apr ?? a.apy;
|
|
22
|
+
t.balance = Math.max(n, 0), t.interest_rate = u, t.is_paid_off = n === 0, t.monthly_payment = i, t.name = a?.name ?? b.unnamed_label, t.original_balance = a.original_balance, t.payment_due_date = o;
|
|
22
23
|
}
|
|
23
24
|
return t.is_impossible = !1, t.priority = void 0, t.projected_payoff_date = void 0, t;
|
|
24
25
|
}
|
|
25
26
|
class h {
|
|
26
27
|
isLoading = !1;
|
|
27
28
|
selectedDebtChartData = {};
|
|
28
|
-
selectedDebtPriority =
|
|
29
|
+
selectedDebtPriority = c.LOWEST_BALANCE;
|
|
29
30
|
constructor() {
|
|
30
31
|
l(this);
|
|
31
32
|
}
|
|
@@ -40,7 +41,7 @@ class h {
|
|
|
40
41
|
setSelectedDebtChartData = (e) => this.selectedDebtChartData = e;
|
|
41
42
|
setSelectedDebtPriority = (e) => this.selectedDebtPriority = e;
|
|
42
43
|
}
|
|
43
|
-
class
|
|
44
|
+
class A {
|
|
44
45
|
globalStore;
|
|
45
46
|
uiStore;
|
|
46
47
|
constructor(e) {
|
|
@@ -55,6 +56,8 @@ class E {
|
|
|
55
56
|
}
|
|
56
57
|
}
|
|
57
58
|
export {
|
|
58
|
-
|
|
59
|
-
|
|
59
|
+
c as D,
|
|
60
|
+
T as I,
|
|
61
|
+
E as M,
|
|
62
|
+
A as a
|
|
60
63
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
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
|
-
import { e as p } from "./exportTransactionsToCSV-
|
|
5
|
-
import { O as m } from "./
|
|
4
|
+
import { e as p } from "./exportTransactionsToCSV-BDlt8u0n.mjs";
|
|
5
|
+
import { O as m } from "./User-Dq9Qj764.mjs";
|
|
6
6
|
import { R as x } from "./ResponsiveButton-DZFp78fJ.mjs";
|
|
7
7
|
import { e as _, f as C, u as l } from "./hooks-DkUqN6JE.mjs";
|
|
8
8
|
const v = ({ filter: t }) => {
|
|
@@ -7,7 +7,7 @@ import O from "@mui/material/CardHeader";
|
|
|
7
7
|
import S from "@mui/material/Stack";
|
|
8
8
|
import { AccountBalance as w, ChevronRight as L } from "@mxenabled/mx-icons";
|
|
9
9
|
import { Text as A } from "@mxenabled/mxui";
|
|
10
|
-
import {
|
|
10
|
+
import { j as b } from "./ConnectDrawer-phFH6OHt.mjs";
|
|
11
11
|
import { m as y } from "./hooks-DkUqN6JE.mjs";
|
|
12
12
|
import { makeAutoObservable as D, runInAction as c } from "mobx";
|
|
13
13
|
import { F as v, A as i } from "./Fetch-CkFKy79O.mjs";
|
|
@@ -22,7 +22,7 @@ import at from "@mui/material/Alert";
|
|
|
22
22
|
import ct from "@mui/material/Snackbar";
|
|
23
23
|
import lt from "@mui/material/TextField";
|
|
24
24
|
import { D as U } from "./Drawer-kEE73B87.mjs";
|
|
25
|
-
import { L as dt } from "./Loader-
|
|
25
|
+
import { L as dt } from "./Loader-DUaFpDGv.mjs";
|
|
26
26
|
import Ot from "@mui/material/ListItemAvatar";
|
|
27
27
|
import Nt from "@mui/material/ListItem";
|
|
28
28
|
import Dt from "@mui/material/ListItemIcon";
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { jsxs as s, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import c from "@mui/material/CircularProgress";
|
|
3
|
+
import a from "@mui/material/Stack";
|
|
4
|
+
import { useTokens as i, Text as m } from "@mxenabled/mxui";
|
|
5
|
+
const p = ({ height: e = 250, label: r = "", size: t = 32 }) => {
|
|
6
|
+
const n = i();
|
|
7
|
+
return /* @__PURE__ */ s(
|
|
8
|
+
a,
|
|
9
|
+
{
|
|
10
|
+
alignItems: "center",
|
|
11
|
+
gap: n.Spacing.XLarge,
|
|
12
|
+
height: e,
|
|
13
|
+
justifyContent: "center",
|
|
14
|
+
sx: { backgroundColor: "background.paper" },
|
|
15
|
+
children: [
|
|
16
|
+
/* @__PURE__ */ o(c, { size: t }),
|
|
17
|
+
r && /* @__PURE__ */ o(m, { children: r })
|
|
18
|
+
]
|
|
19
|
+
}
|
|
20
|
+
);
|
|
21
|
+
}, k = p;
|
|
22
|
+
export {
|
|
23
|
+
k as L
|
|
24
|
+
};
|
|
@@ -16,7 +16,7 @@ import { startOfToday as z } from "date-fns/startOfToday";
|
|
|
16
16
|
import { endOfMonth as _e } from "date-fns/endOfMonth";
|
|
17
17
|
import H from "@mui/material/Button";
|
|
18
18
|
import { Delete as me, Add as ye, ReceiptLong as pe } from "@mxenabled/mx-icons";
|
|
19
|
-
import { T as X, a as he, u as ge, S as fe, b as Ce } from "./TransactionDetails-
|
|
19
|
+
import { T as X, a as he, u as ge, S as fe, b as Ce } from "./TransactionDetails-bja6hKJk.mjs";
|
|
20
20
|
import { getDayOfYear as be } from "date-fns/getDayOfYear";
|
|
21
21
|
import { setDayOfYear as Se } from "date-fns/setDayOfYear";
|
|
22
22
|
import { AdapterDateFns as ve } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
@@ -25,14 +25,14 @@ import { LocalizationProvider as we } from "@mui/x-date-pickers/LocalizationProv
|
|
|
25
25
|
import { u as w, h as M, e as F, a as Ae, f as Z, o as De } from "./hooks-DkUqN6JE.mjs";
|
|
26
26
|
import { b as Ie, f as J } from "./NumberFormatting-CtWHhyBX.mjs";
|
|
27
27
|
import { D as O } from "./Drawer-kEE73B87.mjs";
|
|
28
|
-
import { A as R } from "./WidgetContainer-
|
|
28
|
+
import { A as R } from "./WidgetContainer-CdBs9WOZ.mjs";
|
|
29
29
|
import { f as Ee, D as Re, a as Te } from "./Dialog-CWW597AF.mjs";
|
|
30
30
|
import { formatISO as Le } from "date-fns/formatISO";
|
|
31
31
|
import { fromUnixTime as Oe } from "date-fns/fromUnixTime";
|
|
32
32
|
import { S as ke } from "./SearchBox-B2_zLv8-.mjs";
|
|
33
33
|
import { h as Ne } from "./DateUtil-BcuH7ErC.mjs";
|
|
34
34
|
import { b as B } from "./Category-CevNQ03n.mjs";
|
|
35
|
-
import { T as V } from "./
|
|
35
|
+
import { T as V } from "./User-Dq9Qj764.mjs";
|
|
36
36
|
const ee = ({
|
|
37
37
|
frequency: n,
|
|
38
38
|
firstDay: t,
|
|
@@ -3,8 +3,8 @@ import { format as A } from "date-fns/format";
|
|
|
3
3
|
import { fromUnixTime as W } from "date-fns/fromUnixTime";
|
|
4
4
|
import { startOfMonth as _ } from "date-fns/startOfMonth";
|
|
5
5
|
import { subMonths as B } from "date-fns/subMonths";
|
|
6
|
-
import { a as b } from "./Accounts-
|
|
7
|
-
import { e as N, a as M, f as v } from "./ConnectDrawer-
|
|
6
|
+
import { a as b } from "./Accounts-CA-nqAjT.mjs";
|
|
7
|
+
import { e as N, a as M, f as v } from "./ConnectDrawer-phFH6OHt.mjs";
|
|
8
8
|
const f = 13, L = (n, t) => n.filter((e) => {
|
|
9
9
|
const { is_closed: r, is_deleted: s, is_hidden: a, is_manual: i } = e;
|
|
10
10
|
return r || s || a ? !1 : i || !e.guid ? !0 : t.some((l) => n.some((g) => l.guid === g.member_guid));
|
|
@@ -30,7 +30,7 @@ import R from "@mui/material/Button";
|
|
|
30
30
|
import L from "@mui/material/TextField";
|
|
31
31
|
import { u as fe } from "./useDimensions-27p2evRx.mjs";
|
|
32
32
|
import X from "@mui/material/styles/useTheme";
|
|
33
|
-
import { L as ge } from "./Loader-
|
|
33
|
+
import { L as ge } from "./Loader-DUaFpDGv.mjs";
|
|
34
34
|
const ye = C(() => {
|
|
35
35
|
const { common: n, settings: t } = D(), { sendEmailVerification: s } = T(), { user: l } = w(), i = X(), [r, a] = f.useState(!1), o = () => {
|
|
36
36
|
a(!1);
|
|
@@ -7,10 +7,10 @@ import R from "@mui/material/Tabs";
|
|
|
7
7
|
import l from "@mui/material/Divider";
|
|
8
8
|
import T from "@mui/material/List";
|
|
9
9
|
import C from "@mui/material/Stack";
|
|
10
|
-
import { R as x, A as S, a as E, M as A } from "./ManageIncome-
|
|
10
|
+
import { R as x, A as S, a as E, M as A } from "./ManageIncome-DcKHpJ9V.mjs";
|
|
11
11
|
import { u as h, h as y, e as _ } from "./hooks-DkUqN6JE.mjs";
|
|
12
12
|
import { R as v, F as N } from "./RepeatingTransaction-BW4J-jeJ.mjs";
|
|
13
|
-
import { A as d } from "./WidgetContainer-
|
|
13
|
+
import { A as d } from "./WidgetContainer-CdBs9WOZ.mjs";
|
|
14
14
|
const I = u(() => {
|
|
15
15
|
const { recurring: r } = h(), { repeatingTransactions: s } = y(), { onEvent: o } = _(), a = (n) => {
|
|
16
16
|
o(d.RECURRING_TRANSACTIONS_CLICK_EXPENSE, {
|