@mx-cartographer/experiences 7.11.5 → 7.11.7
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/{AccountApi-DgZ8ILj1.mjs → AccountApi-JlrX0MwM.mjs} +1 -1
- package/dist/{AccountDetailsHeader-hDo7gojQ.mjs → AccountDetailsHeader-BCi1WwkM.mjs} +2 -2
- package/dist/{AccountListItem-CjeAlrPC.mjs → AccountListItem-Ceuh5WKe.mjs} +2 -2
- package/dist/{AccountStore-DdGz1ig2.mjs → AccountStore-CSLinWGm.mjs} +2 -2
- package/dist/{BeatApi-De2IaqH2.mjs → BeatApi-B7yMnwRX.mjs} +1 -1
- package/dist/{BeatStore-D_NYuBSz.mjs → BeatStore-C3njaxFy.mjs} +1 -1
- package/dist/BudgetUtil-CTpLz9lw.mjs +101 -0
- package/dist/{CategorySelectorDrawer-DpC8T96X.mjs → CategorySelectorDrawer-BMmxw2oY.mjs} +2 -2
- package/dist/{CategoryStore-Cg6hsxza.mjs → CategoryStore-BC1Dbefp.mjs} +1 -1
- package/dist/{Connect-Dg9HlAWv.mjs → Connect-Df7iVTcV.mjs} +1 -1
- package/dist/{ConnectDrawer-BLwcW0Oe.mjs → ConnectDrawer-CVt-8rPJ.mjs} +2 -2
- package/dist/{ConnectionsDrawer-UQTh9UEc.mjs → ConnectionsDrawer-c7HaKeRj.mjs} +2 -2
- package/dist/{CurrencyInput-PMOAH5R3.mjs → CurrencyInput-CDY0awYV.mjs} +1 -1
- package/dist/Dialog-DdCwLgrl.mjs +60 -0
- package/dist/{ExportCsvAction-B5Ra5duE.mjs → ExportCsvAction-BSK-EZ4D.mjs} +3 -3
- package/dist/{Fetch-DecPFeGU.mjs → Fetch-C67go-m2.mjs} +1 -0
- package/dist/{FinstrongStore-DBSoLGSE.mjs → FinstrongStore-93XvOWQr.mjs} +1 -1
- package/dist/{GlobalAccountFilter-C8mpfudV.mjs → GlobalAccountFilter-B3v8E_rC.mjs} +1 -1
- package/dist/{GoalStore-DzOZ0je_.mjs → GoalStore-XHAvX1lP.mjs} +2 -2
- package/dist/{Help-HjHBZzI9.mjs → Help-BBxespai.mjs} +1 -1
- package/dist/{LineChart-Dlp9RAJz.mjs → LineChart-Pu3pKqtQ.mjs} +1 -1
- package/dist/{ListItemAction-Dq1lMdxh.mjs → ListItemAction-5YhgdUZW.mjs} +2 -2
- package/dist/{ManageIncome-nsPkRmtW.mjs → ManageIncome-C389-HAc.mjs} +11 -11
- package/dist/{MerchantStore-WvZ4gnQe.mjs → MerchantStore-DeeJLKfx.mjs} +1 -1
- package/dist/{MicroWidgetContainer-jvYZ5bb6.mjs → MicroWidgetContainer-CMES42I1.mjs} +1 -1
- package/dist/{MiniWidgetContainer-B4gbUTJ2.mjs → MiniWidgetContainer-DhEx4qKi.mjs} +1 -1
- package/dist/{NetWorthStore-yV43kJro.mjs → NetWorthStore-iebGdvTb.mjs} +1 -1
- package/dist/{NotificationSettings-Bw4fdVRU.mjs → NotificationSettings-BSaCGB8x.mjs} +5 -5
- package/dist/{NotificationStore-DBs11ZBH.mjs → NotificationStore-CUhig4c1.mjs} +1 -1
- package/dist/{OriginalBalanceAction-CBZ_YHmB.mjs → OriginalBalanceAction-Bq4utJ1f.mjs} +3 -3
- package/dist/{RecurringSettings-DPNluP-k.mjs → RecurringSettings-CLtfXCFT.mjs} +2 -2
- package/dist/{RecurringTransactionsStore-DAX5ozGz.mjs → RecurringTransactionsStore-Ce7p6L0E.mjs} +1 -1
- package/dist/{SettingsStore-BqPjOIWk.mjs → SettingsStore-tK6INBFP.mjs} +2 -2
- package/dist/{SpendingLegend-D91UDDIu.mjs → SpendingLegend-bMrPWOGJ.mjs} +1 -1
- package/dist/{Transaction-BNO5Yz-B.mjs → Transaction-BR682Yj5.mjs} +1 -1
- package/dist/{TransactionApi-CjBoLleL.mjs → TransactionApi-BnjVP2x2.mjs} +1 -1
- package/dist/TransactionDetails-Cedp4OOg.mjs +1260 -0
- package/dist/{TransactionList-DrtItQUk.mjs → TransactionList-BibbhhS9.mjs} +2 -2
- package/dist/{TransactionStore-DYXYuq5s.mjs → TransactionStore-Cv-7GLPT.mjs} +4 -4
- package/dist/User-CCSM9p05.mjs +368 -0
- package/dist/{ViewMoreMicroCard-BCYgXtiG.mjs → ViewMoreMicroCard-C4QiAZz4.mjs} +3 -3
- package/dist/{WidgetContainer-B5jzz8M1.mjs → WidgetContainer-sC5KLXHI.mjs} +3 -3
- package/dist/accounts/index.es.js +16 -15
- package/dist/analytics/index.es.js +11 -11
- package/dist/budgets/api/BudgetsApi.d.ts +1 -0
- package/dist/budgets/index.es.js +26 -25
- package/dist/budgets/store/BudgetsStore.d.ts +7 -0
- package/dist/cashflow/index.es.js +9 -9
- package/dist/categories/index.es.js +2 -2
- package/dist/common/constants/ApiEndpoints.d.ts +1 -0
- package/dist/common/index.es.js +277 -253
- package/dist/common/stores/GlobalStore.d.ts +3 -1
- package/dist/common/types/Budget.d.ts +8 -0
- package/dist/common/types/localization/BudgetsCopy.d.ts +5 -0
- package/dist/common/types/localization/CommonCopy.d.ts +2 -0
- package/dist/dashboard/index.es.js +4 -4
- package/dist/debts/index.es.js +8 -8
- package/dist/{exportTransactionsToCSV-DC2YMFft.mjs → exportTransactionsToCSV-YXwmzmUp.mjs} +1 -1
- package/dist/finstrong/index.es.js +13 -13
- package/dist/goals/index.es.js +11 -11
- package/dist/help/index.es.js +4 -4
- package/dist/{hooks-0kWPTHNb.mjs → hooks-zu7yblbi.mjs} +3 -3
- package/dist/insights/index.es.js +4 -4
- package/dist/investments/index.es.js +4 -4
- package/dist/merchants/index.es.js +2 -2
- package/dist/microinsights/index.es.js +1 -1
- package/dist/networth/index.es.js +8 -8
- package/dist/notifications/index.es.js +11 -11
- package/dist/recurringtransactions/index.es.js +102 -102
- package/dist/settings/index.es.js +9 -9
- package/dist/spending/index.es.js +8 -8
- package/dist/transactions/components/shared/transactiondetails/actions/AddMerchantBudgetAction.d.ts +3 -1
- package/dist/transactions/index.es.js +18 -18
- package/dist/trends/index.es.js +12 -12
- package/dist/{useAccountDisplayName-BQfelpG3.mjs → useAccountDisplayName-CxYB0Wpw.mjs} +1 -1
- package/dist/{useCombineEvents-ARuNN9Xh.mjs → useCombineEvents-C6fkIgHW.mjs} +1 -1
- package/dist/{useInsightsEnabled-bDCTNOJS.mjs → useInsightsEnabled-CYLDtNYt.mjs} +1 -1
- package/dist/{useWidgetLoadTimer-yzSfT9dS.mjs → useWidgetLoadTimer-Bmgv_UeH.mjs} +1 -1
- package/package.json +1 -1
- package/dist/BudgetUtil-C71e-szt.mjs +0 -236
- package/dist/Dialog-BqUCsQvo.mjs +0 -58
- package/dist/TransactionDetails-CurpH7lH.mjs +0 -1181
- package/dist/User-C8w4H0cj.mjs +0 -237
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## [7.11.7] - 03-04-2026
|
|
2
|
+
|
|
3
|
+
- **UPDATED** - Transaction Details | Added "Add a Merchant Budgets" | Without "Manage merchant Budget Flow"
|
|
4
|
+
|
|
5
|
+
## [7.11.6] - 03-02-2026
|
|
6
|
+
|
|
7
|
+
- **FIXED** - Account Details drawer a11y issues
|
|
8
|
+
|
|
1
9
|
## [7.11.5] - 03-02-2026
|
|
2
10
|
|
|
3
11
|
- **FIXED** - `HideAction` broken visibility off icon
|
|
@@ -3,7 +3,7 @@ import { observer as f } from "mobx-react-lite";
|
|
|
3
3
|
import a from "@mui/material/Stack";
|
|
4
4
|
import { H3 as T, InstitutionLogo as x, Text as l, H2 as D } from "@mxenabled/mxui";
|
|
5
5
|
import p from "react";
|
|
6
|
-
import { G as N, d as _, m as P, f as G, u as O } from "./hooks-
|
|
6
|
+
import { G as N, d as _, m as P, f as G, u as O } from "./hooks-zu7yblbi.mjs";
|
|
7
7
|
import { g as R } from "./AccountFields-C-sby5mF.mjs";
|
|
8
8
|
import { A as r } from "./Account-BiB1F8lL.mjs";
|
|
9
9
|
import w from "@mui/material/Card";
|
|
@@ -11,7 +11,7 @@ import v from "@mui/material/CardContent";
|
|
|
11
11
|
import L from "@mui/material/CardHeader";
|
|
12
12
|
import { L as H } from "./Loader-D3rjKx72.mjs";
|
|
13
13
|
import { I as M, P as U, S as Y } from "./Account-DuOz1a27.mjs";
|
|
14
|
-
import { u as j } from "./useAccountDisplayName-
|
|
14
|
+
import { u as j } from "./useAccountDisplayName-CxYB0Wpw.mjs";
|
|
15
15
|
import { f as z } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
16
16
|
const C = () => {
|
|
17
17
|
if (!p.useContext(N))
|
|
@@ -11,8 +11,8 @@ import { InstitutionLogo as L, Text as o } from "@mxenabled/mxui";
|
|
|
11
11
|
import { Error as A } from "@mxenabled/mx-icons";
|
|
12
12
|
import { I as j } from "./IconBacking-B9oC6uL2.mjs";
|
|
13
13
|
import { g as T } from "./AccountFields-C-sby5mF.mjs";
|
|
14
|
-
import { u as X } from "./useAccountDisplayName-
|
|
15
|
-
import { u as $ } from "./hooks-
|
|
14
|
+
import { u as X } from "./useAccountDisplayName-CxYB0Wpw.mjs";
|
|
15
|
+
import { u as $ } from "./hooks-zu7yblbi.mjs";
|
|
16
16
|
import { C as d } from "./Account-BiB1F8lL.mjs";
|
|
17
17
|
import { f as k } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
18
18
|
const w = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { makeAutoObservable as h, runInAction as a } from "mobx";
|
|
2
|
-
import { i as g } from "./User-
|
|
3
|
-
import { A as d } from "./AccountApi-
|
|
2
|
+
import { i as g } from "./User-CCSM9p05.mjs";
|
|
3
|
+
import { A as d } from "./AccountApi-JlrX0MwM.mjs";
|
|
4
4
|
import { d as m } from "./Accounts-M-LTzStv.mjs";
|
|
5
5
|
import { A as s, d as u } from "./Account-BiB1F8lL.mjs";
|
|
6
6
|
class p {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { makeAutoObservable as c, runInAction as r } from "mobx";
|
|
2
|
-
import { B as l } from "./BeatApi-
|
|
2
|
+
import { B as l } from "./BeatApi-B7yMnwRX.mjs";
|
|
3
3
|
function d(t, e, s, i = "asc") {
|
|
4
4
|
const a = i === "desc" ? -1 : 1;
|
|
5
5
|
return [...t, ...e].sort((_, n) => _[s] < n[s] ? -1 * a : _[s] > n[s] ? 1 * a : 0);
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { b as d } from "./Category-CevNQ03n.mjs";
|
|
2
|
+
import { i as _ } from "./hooks-zu7yblbi.mjs";
|
|
3
|
+
import { b as f } from "./Localization-2MODESHW.mjs";
|
|
4
|
+
import { f as l } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
5
|
+
const p = (n, e) => n.find((t) => t.guid === e), B = (n, e) => n.find((t) => t.guid === e), T = (n, e) => {
|
|
6
|
+
const t = n.find((r) => r.subCategories.find((a) => a.guid === e));
|
|
7
|
+
if (t)
|
|
8
|
+
return t.subCategories.find((r) => r.guid === e);
|
|
9
|
+
}, k = (n, e) => {
|
|
10
|
+
const t = [];
|
|
11
|
+
for (const r of e) {
|
|
12
|
+
const a = p(n, r.category_guid);
|
|
13
|
+
if (!a) continue;
|
|
14
|
+
const o = a.parent_guid ?? a.guid, s = p(n, o);
|
|
15
|
+
if (!s) continue;
|
|
16
|
+
const u = {
|
|
17
|
+
amount: r.total,
|
|
18
|
+
category: a,
|
|
19
|
+
guid: a.guid,
|
|
20
|
+
subCategoryTotals: []
|
|
21
|
+
}, i = t.find((g) => g.guid === o);
|
|
22
|
+
i ? (i.amount += r.total, i.subCategoryTotals.push(u)) : t.push({
|
|
23
|
+
amount: r.total,
|
|
24
|
+
category: s,
|
|
25
|
+
guid: o,
|
|
26
|
+
subCategoryTotals: [u]
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
return t;
|
|
30
|
+
}, w = (n, e) => {
|
|
31
|
+
const t = n.find((r) => r.guid === e);
|
|
32
|
+
return t ? t.guid === d.INCOME || t.parent_guid === d.INCOME : !1;
|
|
33
|
+
}, y = (n, e) => !n && !e ? 0 : !n && e ? 101 : e / n * 100, b = (n, e) => {
|
|
34
|
+
const t = {
|
|
35
|
+
background: e.palette.success.main,
|
|
36
|
+
description: n <= 100 ? e.palette.text.secondary : e.palette.error.main,
|
|
37
|
+
text: e.palette.common.white,
|
|
38
|
+
mercury: e.palette.success.lighter
|
|
39
|
+
};
|
|
40
|
+
return n > 100 ? (t.background = e.palette.error.main, t.mercury = e.palette.error.lighter) : n > 80 && (t.background = e.palette.warning.main, t.text = e.palette.grey[900], t.mercury = e.palette.warning.lighter), t;
|
|
41
|
+
}, G = () => {
|
|
42
|
+
const { detailedBudgets: n } = _();
|
|
43
|
+
return n.map((t) => {
|
|
44
|
+
const r = t.transaction_total;
|
|
45
|
+
return t.amount - r;
|
|
46
|
+
}).reduce((t, r) => t + r, 0);
|
|
47
|
+
}, I = (n, e, t, r) => {
|
|
48
|
+
const a = [];
|
|
49
|
+
for (const o of n) {
|
|
50
|
+
const s = B(e, o.category_guid);
|
|
51
|
+
if (!s) continue;
|
|
52
|
+
const u = s.totalAmount, i = y(o.amount, u), g = o.amount - u;
|
|
53
|
+
a.push({
|
|
54
|
+
...o,
|
|
55
|
+
budgetColors: b(i, r),
|
|
56
|
+
category: s,
|
|
57
|
+
description: f(
|
|
58
|
+
g < 0 ? t.budget_remaining_over : t.budget_remaining_left,
|
|
59
|
+
l(Math.abs(g), "0,0")
|
|
60
|
+
),
|
|
61
|
+
percentage: i,
|
|
62
|
+
subBudgets: [],
|
|
63
|
+
transaction_total: u
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
for (const o of n) {
|
|
67
|
+
const s = T(e, o.category_guid);
|
|
68
|
+
if (!s) continue;
|
|
69
|
+
const u = s.currentAmount, i = a.find((C) => C.category_guid === s.parent_guid);
|
|
70
|
+
if (!i) continue;
|
|
71
|
+
const g = o.amount - u, c = y(o.amount, u);
|
|
72
|
+
i && i.subBudgets.push({
|
|
73
|
+
...o,
|
|
74
|
+
budgetColors: b(c, r),
|
|
75
|
+
category: s,
|
|
76
|
+
description: f(
|
|
77
|
+
g < 0 ? t.budget_remaining_over : t.budget_remaining_left,
|
|
78
|
+
l(Math.abs(g), "0,0")
|
|
79
|
+
),
|
|
80
|
+
percentage: c,
|
|
81
|
+
subBudgets: [],
|
|
82
|
+
transaction_total: u
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
return a;
|
|
86
|
+
}, m = (n, e) => n.find((t) => t.guid === e), S = (n, e, t) => {
|
|
87
|
+
const r = m(n, t);
|
|
88
|
+
if (r)
|
|
89
|
+
return m(r.subBudgets, e);
|
|
90
|
+
};
|
|
91
|
+
export {
|
|
92
|
+
S as a,
|
|
93
|
+
I as b,
|
|
94
|
+
B as c,
|
|
95
|
+
T as d,
|
|
96
|
+
k as e,
|
|
97
|
+
m as f,
|
|
98
|
+
p as g,
|
|
99
|
+
w as i,
|
|
100
|
+
G as u
|
|
101
|
+
};
|
|
@@ -2,7 +2,7 @@ import { jsx as t, jsxs as g } from "react/jsx-runtime";
|
|
|
2
2
|
import { observer as E } from "mobx-react-lite";
|
|
3
3
|
import _ from "react";
|
|
4
4
|
import K from "@mui/material/Stack";
|
|
5
|
-
import { G as V, m as D, u as h, g as f, b as U } from "./hooks-
|
|
5
|
+
import { G as V, m as D, u as h, g as f, b as U } from "./hooks-zu7yblbi.mjs";
|
|
6
6
|
import Y from "@mui/material/List";
|
|
7
7
|
import W from "@mui/material/Paper";
|
|
8
8
|
import k from "@mui/material/Divider";
|
|
@@ -16,7 +16,7 @@ import { Text as I, TextField as H, CategoryIcon as J } from "@mxenabled/mxui";
|
|
|
16
16
|
import Q from "@mui/material/Collapse";
|
|
17
17
|
import Z from "@mui/material/DialogContent";
|
|
18
18
|
import { b as p } from "./Localization-2MODESHW.mjs";
|
|
19
|
-
import { D as ee } from "./Dialog-
|
|
19
|
+
import { D as ee } from "./Dialog-DdCwLgrl.mjs";
|
|
20
20
|
import te from "@mui/material/Box";
|
|
21
21
|
import oe from "@mui/material/Chip";
|
|
22
22
|
import v from "@mui/material/IconButton";
|
|
@@ -4,7 +4,7 @@ import { subMonths as c } from "date-fns/subMonths";
|
|
|
4
4
|
import { startOfMonth as C } from "date-fns/startOfMonth";
|
|
5
5
|
import { endOfMonth as h } from "date-fns/endOfMonth";
|
|
6
6
|
import { a as T, g as m } from "./CategoryUtil-Cufq3fxg.mjs";
|
|
7
|
-
import { F as f, A as i } from "./Fetch-
|
|
7
|
+
import { F as f, A as i } from "./Fetch-C67go-m2.mjs";
|
|
8
8
|
import { b as l, c as p } from "./Category-CevNQ03n.mjs";
|
|
9
9
|
class d {
|
|
10
10
|
fetchInstance;
|
|
@@ -5,7 +5,7 @@ import s from "@mui/material/CircularProgress";
|
|
|
5
5
|
import m from "@mui/material/Stack";
|
|
6
6
|
import { Text as a } from "@mxenabled/mxui";
|
|
7
7
|
import { M as t } from "./Accounts-CseLC3lL.mjs";
|
|
8
|
-
import { u as p } from "./hooks-
|
|
8
|
+
import { u as p } from "./hooks-zu7yblbi.mjs";
|
|
9
9
|
const l = ({ status: r = t.Loading }) => {
|
|
10
10
|
const { connect: n } = p();
|
|
11
11
|
return /* @__PURE__ */ o(
|
|
@@ -3,9 +3,9 @@ import s from "react";
|
|
|
3
3
|
import { observer as _ } from "mobx-react-lite";
|
|
4
4
|
import g from "@mui/material/styles/useTheme";
|
|
5
5
|
import { ConnectWidget as x } from "@mxenabled/web-widget-sdk";
|
|
6
|
-
import { b as a, a as c } from "./Connect-
|
|
6
|
+
import { b as a, a as c } from "./Connect-Df7iVTcV.mjs";
|
|
7
7
|
import { M as i } from "./Accounts-CseLC3lL.mjs";
|
|
8
|
-
import { d as D, e as L, u as w } from "./hooks-
|
|
8
|
+
import { d as D, e as L, u as w } from "./hooks-zu7yblbi.mjs";
|
|
9
9
|
import { D as y } from "./Drawer-DV4NTsFg.mjs";
|
|
10
10
|
const I = ({
|
|
11
11
|
loadWidgetProps: l,
|
|
@@ -3,9 +3,9 @@ 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 } from "./Connect-
|
|
6
|
+
import { C as a, a as c } from "./Connect-Df7iVTcV.mjs";
|
|
7
7
|
import { M as i } from "./Accounts-CseLC3lL.mjs";
|
|
8
|
-
import { d as D, e as L, u as w } from "./hooks-
|
|
8
|
+
import { d as D, e as L, u as w } from "./hooks-zu7yblbi.mjs";
|
|
9
9
|
import { D as x } from "./Drawer-DV4NTsFg.mjs";
|
|
10
10
|
const I = ({
|
|
11
11
|
onClose: l,
|
|
@@ -4,7 +4,7 @@ import { css as k } from "@mxenabled/cssinjs";
|
|
|
4
4
|
import { v4 as q } from "uuid";
|
|
5
5
|
import { TextField as B, P as _ } from "@mxenabled/mxui";
|
|
6
6
|
import { g as L, C as O, f as y, M as C } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
7
|
-
import { u as W } from "./hooks-
|
|
7
|
+
import { u as W } from "./hooks-zu7yblbi.mjs";
|
|
8
8
|
import { b, g } from "./Localization-2MODESHW.mjs";
|
|
9
9
|
const j = ({
|
|
10
10
|
allowDecimals: o = !0,
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { jsx as i, jsxs as b } from "react/jsx-runtime";
|
|
2
|
+
import x from "@mui/material/Dialog";
|
|
3
|
+
import u from "@mui/material/DialogContent";
|
|
4
|
+
import { DialogHeader as A, DialogFooter as P } from "@mxenabled/mxui";
|
|
5
|
+
const $ = ({
|
|
6
|
+
className: e,
|
|
7
|
+
copy: r,
|
|
8
|
+
disablePrimaryButton: t = !1,
|
|
9
|
+
isOpen: n = !1,
|
|
10
|
+
onClose: a,
|
|
11
|
+
onPrimaryAction: c,
|
|
12
|
+
primaryColor: s = "primary",
|
|
13
|
+
primaryText: m = "Confirm",
|
|
14
|
+
onSecondaryAction: o,
|
|
15
|
+
secondaryColor: d = "primary",
|
|
16
|
+
secondaryText: g = "Cancel",
|
|
17
|
+
children: p,
|
|
18
|
+
...f
|
|
19
|
+
}) => {
|
|
20
|
+
const l = r?.title ?? "", D = r?.close_aria ?? "Close", h = () => {
|
|
21
|
+
c?.(), a();
|
|
22
|
+
}, y = () => {
|
|
23
|
+
o && o(), a();
|
|
24
|
+
};
|
|
25
|
+
return /* @__PURE__ */ i("div", { className: `mx-cmn-dialog ${e}`, children: /* @__PURE__ */ b(
|
|
26
|
+
x,
|
|
27
|
+
{
|
|
28
|
+
"aria-label": l,
|
|
29
|
+
"aria-labelledby": void 0,
|
|
30
|
+
onClose: a,
|
|
31
|
+
open: n,
|
|
32
|
+
sx: {
|
|
33
|
+
"& .MuiDialog-paperScrollPaper": {
|
|
34
|
+
backgroundColor: "background.default"
|
|
35
|
+
},
|
|
36
|
+
height: "100%"
|
|
37
|
+
},
|
|
38
|
+
...f,
|
|
39
|
+
children: [
|
|
40
|
+
/* @__PURE__ */ i(A, { copy: { title: l, close_aria: D }, onClose: a }),
|
|
41
|
+
/* @__PURE__ */ i(u, { sx: { lineHeight: 1.5 }, children: p }),
|
|
42
|
+
/* @__PURE__ */ i(
|
|
43
|
+
P,
|
|
44
|
+
{
|
|
45
|
+
isPrimaryDisabled: t,
|
|
46
|
+
onPrimaryAction: h,
|
|
47
|
+
onSecondaryAction: y,
|
|
48
|
+
primaryColor: s,
|
|
49
|
+
primaryText: m,
|
|
50
|
+
secondaryColor: d,
|
|
51
|
+
secondaryText: g
|
|
52
|
+
}
|
|
53
|
+
)
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
) });
|
|
57
|
+
}, H = $;
|
|
58
|
+
export {
|
|
59
|
+
H as D
|
|
60
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
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 "./Transaction-
|
|
4
|
+
import { e as p } from "./exportTransactionsToCSV-YXwmzmUp.mjs";
|
|
5
|
+
import { O as m } from "./Transaction-BR682Yj5.mjs";
|
|
6
6
|
import { R as x } from "./ResponsiveButton-DZFp78fJ.mjs";
|
|
7
|
-
import { g as _, h as C, u as l } from "./hooks-
|
|
7
|
+
import { g as _, h as C, u as l } from "./hooks-zu7yblbi.mjs";
|
|
8
8
|
const v = ({ filter: t }) => {
|
|
9
9
|
const { onEvent: r } = _(), { tags: e, sortedTransactions: s } = C(), { transactions: n } = l(), a = () => {
|
|
10
10
|
r(m.ON_TRANSACTION_EXPORT_CSV_CLICK), p(t ? s.filter(t) : s, e);
|
|
@@ -23,6 +23,7 @@ const E = {
|
|
|
23
23
|
LOCALIZED_CONTENT: "localized_content",
|
|
24
24
|
MEMBERS: "members",
|
|
25
25
|
MERCHANTS: "merchants",
|
|
26
|
+
MERCHANT_BUDGETS: "merchant_budgets",
|
|
26
27
|
MONTHLY_CASH_FLOW_PROFILE: "monthly_cash_flow_profile",
|
|
27
28
|
MONTHLY_CATEGORY_TOTALS: "monthly_category_totals",
|
|
28
29
|
OFFERS: "offers",
|
|
@@ -3,7 +3,7 @@ import { format as R } from "date-fns/format";
|
|
|
3
3
|
import { fromUnixTime as b } from "date-fns/fromUnixTime";
|
|
4
4
|
import { getUnixTime as T } from "date-fns/getUnixTime";
|
|
5
5
|
import { subMonths as H } from "date-fns/subMonths";
|
|
6
|
-
import { F as x, A as h } from "./Fetch-
|
|
6
|
+
import { F as x, A as h } from "./Fetch-C67go-m2.mjs";
|
|
7
7
|
import { jsx as c, jsxs as C } from "react/jsx-runtime";
|
|
8
8
|
import { addDays as v } from "date-fns/addDays";
|
|
9
9
|
import { addMonths as M } from "date-fns/addMonths";
|
|
@@ -15,7 +15,7 @@ import y from "@mui/material/ListItem";
|
|
|
15
15
|
import v from "@mui/material/ListItemButton";
|
|
16
16
|
import E from "@mui/material/ListItemIcon";
|
|
17
17
|
import _ from "@mui/material/ListItemText";
|
|
18
|
-
import { b as z, u as M, d as L } from "./hooks-
|
|
18
|
+
import { b as z, u as M, d as L } from "./hooks-zu7yblbi.mjs";
|
|
19
19
|
import { u as H } from "./useScreenSize-B6JyS_Lj.mjs";
|
|
20
20
|
const R = I(
|
|
21
21
|
({ allowedAccountTypes: n }) => {
|
|
@@ -7,9 +7,9 @@ import O from "@mui/material/CardHeader";
|
|
|
7
7
|
import w from "@mui/material/Stack";
|
|
8
8
|
import { AccountBalance as L, ChevronRight as S } from "@mxenabled/mx-icons";
|
|
9
9
|
import { Text as g } from "@mxenabled/mxui";
|
|
10
|
-
import { C as y } from "./ConnectDrawer-
|
|
10
|
+
import { C as y } from "./ConnectDrawer-CVt-8rPJ.mjs";
|
|
11
11
|
import { makeAutoObservable as b, runInAction as u } from "mobx";
|
|
12
|
-
import { F as D, A as i } from "./Fetch-
|
|
12
|
+
import { F as D, A as i } from "./Fetch-C67go-m2.mjs";
|
|
13
13
|
import { fromUnixTime as R } from "date-fns/fromUnixTime";
|
|
14
14
|
import { addYears as F } from "date-fns/addYears";
|
|
15
15
|
import { getUnixTime as v } from "date-fns/getUnixTime";
|
|
@@ -13,7 +13,7 @@ import E from "@mui/material/Stack";
|
|
|
13
13
|
import { H3 as y, P as H, Icon as X, Text as T, H2 as _t, InstitutionLogo as bt } from "@mxenabled/mxui";
|
|
14
14
|
import { ExpandMore as ot, ChevronRight as wt } from "@mxenabled/mx-icons";
|
|
15
15
|
import xt from "@mui/material/Breadcrumbs";
|
|
16
|
-
import { u as V, z as tt, d as ft, o as St, b as It, a as Tt } from "./hooks-
|
|
16
|
+
import { u as V, z as tt, d as ft, o as St, b as It, a as Tt } from "./hooks-zu7yblbi.mjs";
|
|
17
17
|
import { useTheme as Z } from "@mui/material/styles";
|
|
18
18
|
import { b as s } from "./Localization-2MODESHW.mjs";
|
|
19
19
|
import { E as Et, a as Ct, P as At } from "./Help-B8mD4aLJ.mjs";
|
|
@@ -13,7 +13,7 @@ import { f as p, c as X } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
|
13
13
|
import { observer as St } from "mobx-react-lite";
|
|
14
14
|
import P from "@mui/material/Stack";
|
|
15
15
|
import { Text as l } from "@mxenabled/mxui";
|
|
16
|
-
import { u as vt } from "./hooks-
|
|
16
|
+
import { u as vt } from "./hooks-zu7yblbi.mjs";
|
|
17
17
|
import Dt from "@mui/material/useMediaQuery";
|
|
18
18
|
import { Stack as M, Box as F } from "@mui/material";
|
|
19
19
|
const Tt = ({
|
|
@@ -7,8 +7,8 @@ import I from "@mui/material/ListItemText";
|
|
|
7
7
|
import L from "@mui/material/Stack";
|
|
8
8
|
import { ChevronRight as _ } from "@mxenabled/mx-icons";
|
|
9
9
|
import { Text as m } from "@mxenabled/mxui";
|
|
10
|
-
import { D as g } from "./Dialog-
|
|
11
|
-
import { u as j } from "./hooks-
|
|
10
|
+
import { D as g } from "./Dialog-DdCwLgrl.mjs";
|
|
11
|
+
import { u as j } from "./hooks-zu7yblbi.mjs";
|
|
12
12
|
const q = v(
|
|
13
13
|
({
|
|
14
14
|
children: n,
|
|
@@ -17,26 +17,26 @@ import { endOfMonth as ue } from "date-fns/endOfMonth";
|
|
|
17
17
|
import { parseISO as me } from "date-fns/parseISO";
|
|
18
18
|
import Z from "@mui/material/Button";
|
|
19
19
|
import { Delete as pe, Add as ye, ReceiptLong as he } from "@mxenabled/mx-icons";
|
|
20
|
-
import { T as J, u as fe, S as ge, a as Ce } from "./TransactionList-
|
|
21
|
-
import { T as be } from "./TransactionDetails-
|
|
22
|
-
import { addYears as
|
|
20
|
+
import { T as J, u as fe, S as ge, a as Ce } from "./TransactionList-BibbhhS9.mjs";
|
|
21
|
+
import { T as be } from "./TransactionDetails-Cedp4OOg.mjs";
|
|
22
|
+
import { addYears as K } from "date-fns/addYears";
|
|
23
23
|
import { getDayOfYear as xe } from "date-fns/getDayOfYear";
|
|
24
24
|
import { setDayOfYear as Se } from "date-fns/setDayOfYear";
|
|
25
25
|
import { AdapterDateFns as ve } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
26
26
|
import { DatePicker as De } from "@mui/x-date-pickers";
|
|
27
27
|
import { LocalizationProvider as we } from "@mui/x-date-pickers/LocalizationProvider";
|
|
28
|
-
import { u as w,
|
|
28
|
+
import { u as w, j as Y, g as P, b as Ae, h as V, o as Ie } from "./hooks-zu7yblbi.mjs";
|
|
29
29
|
import { b as Re, f as ee } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
30
30
|
import { D as N } from "./Drawer-DV4NTsFg.mjs";
|
|
31
31
|
import { A as L } from "./Analytics-i5h6BxR1.mjs";
|
|
32
32
|
import { f as Ee, D as Te } from "./DateFormats-Cs-NbEZ7.mjs";
|
|
33
|
-
import { D as Le } from "./Dialog-
|
|
33
|
+
import { D as Le } from "./Dialog-DdCwLgrl.mjs";
|
|
34
34
|
import { formatISO as Oe } from "date-fns/formatISO";
|
|
35
35
|
import { fromUnixTime as ke } from "date-fns/fromUnixTime";
|
|
36
36
|
import { S as Ne } from "./SearchBox-B7km148n.mjs";
|
|
37
37
|
import { h as Me } from "./DateUtil-CVXVMbjf.mjs";
|
|
38
38
|
import { b as B } from "./Category-CevNQ03n.mjs";
|
|
39
|
-
import { T as te } from "./Transaction-
|
|
39
|
+
import { T as te } from "./Transaction-BR682Yj5.mjs";
|
|
40
40
|
const ne = ({
|
|
41
41
|
frequency: n,
|
|
42
42
|
firstDay: t,
|
|
@@ -70,7 +70,7 @@ const ne = ({
|
|
|
70
70
|
label: Re(b + 1)
|
|
71
71
|
}));
|
|
72
72
|
h[30].label += ` (${r.last_day_of_month})`;
|
|
73
|
-
const g = h.slice(0, 15), v = h.slice(14), C = n === d.EveryWeek || n === d.EveryOtherWeek, f = n === d.TwiceAMonth || n === d.EveryMonth || n === d.EveryOtherMonth || n === d.EveryQuarter || n === d.EveryOtherQuarter, A = Se(E(), t), y = A < E() ?
|
|
73
|
+
const g = h.slice(0, 15), v = h.slice(14), C = n === d.EveryWeek || n === d.EveryOtherWeek, f = n === d.TwiceAMonth || n === d.EveryMonth || n === d.EveryOtherMonth || n === d.EveryQuarter || n === d.EveryOtherQuarter, A = Se(E(), t), y = A < E() ? K(A, 1) : A, D = (b) => {
|
|
74
74
|
b && s(xe(b));
|
|
75
75
|
};
|
|
76
76
|
return /* @__PURE__ */ c(p, { gap: 24, sx: { m: 24 }, children: [
|
|
@@ -115,7 +115,7 @@ const ne = ({
|
|
|
115
115
|
{
|
|
116
116
|
disablePast: !0,
|
|
117
117
|
label: r.next_payment_date,
|
|
118
|
-
maxDate: X(
|
|
118
|
+
maxDate: X(K(E(), 1), 1),
|
|
119
119
|
minDate: E(),
|
|
120
120
|
onChange: D,
|
|
121
121
|
value: y
|
|
@@ -429,7 +429,7 @@ const ne = ({
|
|
|
429
429
|
g(!0), l(n ? { ...s, custom: W } : { ...s, custom: q });
|
|
430
430
|
}, ae = async () => {
|
|
431
431
|
if (!u) {
|
|
432
|
-
|
|
432
|
+
j();
|
|
433
433
|
return;
|
|
434
434
|
}
|
|
435
435
|
o();
|
|
@@ -448,8 +448,8 @@ const ne = ({
|
|
|
448
448
|
transaction_type: u.transaction_type,
|
|
449
449
|
user_guid: m.guid
|
|
450
450
|
};
|
|
451
|
-
await a(R, u),
|
|
452
|
-
},
|
|
451
|
+
await a(R, u), j();
|
|
452
|
+
}, j = () => {
|
|
453
453
|
C(""), g(!1);
|
|
454
454
|
};
|
|
455
455
|
return /* @__PURE__ */ c(k, { children: [
|
|
@@ -6,7 +6,7 @@ import b from "@mui/material/CardHeader";
|
|
|
6
6
|
import { P as u, H3 as v } from "@mxenabled/mxui";
|
|
7
7
|
import { ChevronRight as W } from "@mxenabled/mx-icons";
|
|
8
8
|
import { u as M } from "./useDimensions-CeDR9V8N.mjs";
|
|
9
|
-
import { W as w } from "./hooks-
|
|
9
|
+
import { W as w } from "./hooks-zu7yblbi.mjs";
|
|
10
10
|
const H = ({
|
|
11
11
|
children: e,
|
|
12
12
|
className: o,
|
|
@@ -8,7 +8,7 @@ import W from "@mui/material/IconButton";
|
|
|
8
8
|
import { Icon as z, ChevronRight as H } from "@mxenabled/mx-icons";
|
|
9
9
|
import { H3 as I, Text as B, P as M } from "@mxenabled/mxui";
|
|
10
10
|
import { u as S } from "./useDimensions-CeDR9V8N.mjs";
|
|
11
|
-
import { W as j } from "./hooks-
|
|
11
|
+
import { W as j } from "./hooks-zu7yblbi.mjs";
|
|
12
12
|
const w = ({
|
|
13
13
|
children: a,
|
|
14
14
|
className: m = "mx-cmn-mini-widget",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { makeAutoObservable as p } from "mobx";
|
|
2
|
-
import { A as m } from "./AccountApi-
|
|
2
|
+
import { A as m } from "./AccountApi-JlrX0MwM.mjs";
|
|
3
3
|
import { format as B } from "date-fns/format";
|
|
4
4
|
import { fromUnixTime as W } from "date-fns/fromUnixTime";
|
|
5
5
|
import { startOfMonth as D } from "date-fns/startOfMonth";
|
|
@@ -15,11 +15,11 @@ import { DateCalendar as se } from "@mui/x-date-pickers/DateCalendar";
|
|
|
15
15
|
import { LocalizationProvider as ae } from "@mui/x-date-pickers/LocalizationProvider";
|
|
16
16
|
import { AdapterDateFns as ce } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
17
17
|
import { A as le, T as R, a as D, N as b } from "./Notification-CMBNDGC-.mjs";
|
|
18
|
-
import { u as S, r as T, o as A, d as J, g as re, a as X, b as de } from "./hooks-
|
|
18
|
+
import { u as S, r as T, o as A, d as J, g as re, a as X, b as de } from "./hooks-zu7yblbi.mjs";
|
|
19
19
|
import { b as me } from "./Localization-2MODESHW.mjs";
|
|
20
20
|
import { b as _e, f as he } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
21
|
-
import { D as N } from "./Dialog-
|
|
22
|
-
import { C as ue } from "./CurrencyInput-
|
|
21
|
+
import { D as N } from "./Dialog-DdCwLgrl.mjs";
|
|
22
|
+
import { C as ue } from "./CurrencyInput-CDY0awYV.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";
|
|
@@ -30,8 +30,8 @@ import j from "@mui/material/Button";
|
|
|
30
30
|
import U from "@mui/material/TextField";
|
|
31
31
|
import { u as be } from "./useDimensions-CeDR9V8N.mjs";
|
|
32
32
|
import K from "@mui/material/styles/useTheme";
|
|
33
|
-
import { u as xe } from "./useInsightsEnabled-
|
|
34
|
-
import { u as Ce } from "./useWidgetLoadTimer-
|
|
33
|
+
import { u as xe } from "./useInsightsEnabled-CYLDtNYt.mjs";
|
|
34
|
+
import { u as Ce } from "./useWidgetLoadTimer-Bmgv_UeH.mjs";
|
|
35
35
|
import { L as ve } from "./Loader-D3rjKx72.mjs";
|
|
36
36
|
const Te = C(() => {
|
|
37
37
|
const { common: n, settings: t } = S(), { sendEmailVerification: s } = T(), { user: l } = A(), i = K(), [r, a] = f.useState(!1), o = () => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { makeAutoObservable as f, observable as l, runInAction as h } from "mobx";
|
|
2
2
|
import { fromUnixTime as s, isSameDay as u } from "date-fns";
|
|
3
3
|
import { I as d } from "./Notification-CMBNDGC-.mjs";
|
|
4
|
-
import { F as N, A as o } from "./Fetch-
|
|
4
|
+
import { F as N, A as o } from "./Fetch-C67go-m2.mjs";
|
|
5
5
|
class r {
|
|
6
6
|
fetchInstance;
|
|
7
7
|
constructor(t, i, n) {
|
|
@@ -2,10 +2,10 @@ import { jsx as o } from "react/jsx-runtime";
|
|
|
2
2
|
import _ from "react";
|
|
3
3
|
import { observer as p } from "mobx-react-lite";
|
|
4
4
|
import v from "@mui/material/TextField";
|
|
5
|
-
import { L as y } from "./ListItemAction-
|
|
6
|
-
import { u as h, l as b } from "./hooks-
|
|
5
|
+
import { L as y } from "./ListItemAction-5YhgdUZW.mjs";
|
|
6
|
+
import { u as h, l as b } from "./hooks-zu7yblbi.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-CDY0awYV.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,8 +7,8 @@ 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-
|
|
11
|
-
import { u as _,
|
|
10
|
+
import { R as C, A as S, a as E, M as v } from "./ManageIncome-C389-HAc.mjs";
|
|
11
|
+
import { u as _, j as A, g as f } from "./hooks-zu7yblbi.mjs";
|
|
12
12
|
import { R as y, F as N } from "./RecurringTransactions-B_I4_FGO.mjs";
|
|
13
13
|
import { A as m } from "./Analytics-i5h6BxR1.mjs";
|
|
14
14
|
const I = h(() => {
|
package/dist/{RecurringTransactionsStore-DAX5ozGz.mjs → RecurringTransactionsStore-Ce7p6L0E.mjs}
RENAMED
|
@@ -7,7 +7,7 @@ import { isWithinInterval as T } from "date-fns/isWithinInterval";
|
|
|
7
7
|
import { startOfMonth as y } from "date-fns/startOfMonth";
|
|
8
8
|
import { startOfToday as i } from "date-fns/startOfToday";
|
|
9
9
|
import { subDays as I } from "date-fns/subDays";
|
|
10
|
-
import { F as x, A as o } from "./Fetch-
|
|
10
|
+
import { F as x, A as o } from "./Fetch-C67go-m2.mjs";
|
|
11
11
|
import { a as u, b as A, c as r, d } from "./RecurringTransactions-B_I4_FGO.mjs";
|
|
12
12
|
var E = /* @__PURE__ */ ((a) => (a.Small = "small", a.Medium = "medium", a.Large = "large", a))(E || {});
|
|
13
13
|
const G = 44;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { makeAutoObservable as N, runInAction as l } from "mobx";
|
|
2
|
-
import { F as D, A as r } from "./Fetch-
|
|
2
|
+
import { F as D, A as r } from "./Fetch-C67go-m2.mjs";
|
|
3
3
|
import { B as f, A as n, I as i } from "./Notification-CMBNDGC-.mjs";
|
|
4
|
-
import { T as m } from "./TransactionApi-
|
|
4
|
+
import { T as m } from "./TransactionApi-BnjVP2x2.mjs";
|
|
5
5
|
class y {
|
|
6
6
|
fetchInstance;
|
|
7
7
|
constructor(e, t, o) {
|
|
@@ -9,7 +9,7 @@ import { useTheme as M } from "@mui/material/styles";
|
|
|
9
9
|
import { CategoryIcon as A, CategoryIconVariants as G, Text as y, P as O } from "@mxenabled/mxui";
|
|
10
10
|
import { D as $ } from "./Donut-DSGXraiS.mjs";
|
|
11
11
|
import { u as j } from "./useAriaLive-MkYebyUR.mjs";
|
|
12
|
-
import { u as R } from "./hooks-
|
|
12
|
+
import { u as R } from "./hooks-zu7yblbi.mjs";
|
|
13
13
|
import { u as v } from "./useScreenSize-B6JyS_Lj.mjs";
|
|
14
14
|
import { f as x } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
15
15
|
import B from "@mui/material/Box";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as C } from "react/jsx-runtime";
|
|
2
2
|
import A from "@mui/material/ListItem";
|
|
3
3
|
import o from "@mui/material/ListItemButton";
|
|
4
|
-
import { g as O } from "./hooks-
|
|
4
|
+
import { g as O } from "./hooks-zu7yblbi.mjs";
|
|
5
5
|
const S = ({
|
|
6
6
|
children: T,
|
|
7
7
|
clickEventName: _,
|