@mx-cartographer/experiences 7.0.46 → 7.0.48
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/{AccountDetailsContent-j_fz0aRX.mjs → AccountDetailsContent-Dk-JfKbv.mjs} +2 -2
- package/dist/{ManageIncome-B1JxKBDO.mjs → ManageIncome-clecqBHm.mjs} +2 -2
- package/dist/MiniWidgetContainer-Bg0bELc2.mjs +43 -0
- package/dist/{RecurringSettings-BzkGK0YX.mjs → RecurringSettings-CHuS8Ik_.mjs} +2 -2
- package/dist/{TransactionDetails-DESqmjVR.mjs → TransactionDetails-Cl8xcpbh.mjs} +1 -1
- package/dist/{WidgetContainer-C_JdLQij.mjs → WidgetContainer-hsbxZmZB.mjs} +83 -82
- package/dist/accounts/index.es.js +4 -4
- package/dist/analytics/index.es.js +1 -1
- package/dist/budgets/index.es.js +4 -4
- package/dist/cashflow/index.es.js +5 -5
- package/dist/common/index.es.js +2 -2
- package/dist/debts/index.es.js +1 -1
- package/dist/finstrong/index.es.js +2 -2
- package/dist/goals/index.es.js +2 -2
- package/dist/help/index.es.js +1 -1
- package/dist/investments/index.es.js +1 -1
- package/dist/networth/index.es.js +1 -1
- package/dist/recurringtransactions/index.es.js +6 -6
- package/dist/settings/index.es.js +1 -1
- package/dist/spending/index.es.js +3 -3
- package/dist/transactions/index.es.js +3 -3
- package/dist/trends/index.es.js +3 -3
- package/package.json +1 -1
- package/dist/MiniWidgetContainer-DSG6mwaW.mjs +0 -39
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## [7.0.48] - 10-08-2025
|
|
2
|
+
|
|
3
|
+
- **UPDATED** - Mini Widget Header Style Changed.
|
|
4
|
+
|
|
5
|
+
## [7.0.47] - 10-08-2025
|
|
6
|
+
|
|
7
|
+
- **UPDATED** - WidgetContainer - Change ArrowLeft into ChevronLeft to maintain consistency.
|
|
8
|
+
|
|
1
9
|
## [7.0.46] - 10-08-2025
|
|
2
10
|
|
|
3
11
|
**UPDATED** - Enhance accounts list UI for mini view
|
|
@@ -14,7 +14,7 @@ import w from "@mui/material/ListItemText";
|
|
|
14
14
|
import { u as D } from "./AccountDetailsHeader-eh13XhXN.mjs";
|
|
15
15
|
import { d as z, u as E, g as O, h as X } from "./hooks-CE2TKk4a.mjs";
|
|
16
16
|
import { A as at } from "./AccountListItem-C7NVvdVt.mjs";
|
|
17
|
-
import { A as k } from "./WidgetContainer-
|
|
17
|
+
import { A as k } from "./WidgetContainer-hsbxZmZB.mjs";
|
|
18
18
|
import { a as V, f as B, D as K } from "./Dialog-CWW597AF.mjs";
|
|
19
19
|
import { b as h } from "./Localization-2MODESHW.mjs";
|
|
20
20
|
import { D as J } from "./Drawer-kEE73B87.mjs";
|
|
@@ -44,7 +44,7 @@ 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-
|
|
47
|
+
import { T as vt, a as Lt } from "./TransactionDetails-Cl8xcpbh.mjs";
|
|
48
48
|
import { T as j } from "./TabContentContainer-j01JYR_7.mjs";
|
|
49
49
|
const U = ({
|
|
50
50
|
children: e,
|
|
@@ -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 $ from "@mui/material/Button";
|
|
18
18
|
import { Delete as me, Add as pe, ReceiptLong as he } from "@mxenabled/mx-icons";
|
|
19
|
-
import { T as X, a as ye, u as ge, S as fe, b as Ce } from "./TransactionDetails-
|
|
19
|
+
import { T as X, a as ye, u as ge, S as fe, b as Ce } from "./TransactionDetails-Cl8xcpbh.mjs";
|
|
20
20
|
import { getDayOfYear as be } from "date-fns/getDayOfYear";
|
|
21
21
|
import { setDayOfYear as xe } from "date-fns/setDayOfYear";
|
|
22
22
|
import { AdapterDateFns as Se } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
@@ -25,7 +25,7 @@ import { LocalizationProvider as we } from "@mui/x-date-pickers/LocalizationProv
|
|
|
25
25
|
import { u as w, j as M, g as F, b as Ae, h as Z, o as De } from "./hooks-CE2TKk4a.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-hsbxZmZB.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";
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { jsxs as e, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import x from "@mui/material/Button";
|
|
3
|
+
import g from "@mui/material/Card";
|
|
4
|
+
import C from "@mui/material/CardHeader";
|
|
5
|
+
import u from "@mui/material/CardContent";
|
|
6
|
+
import v from "@mui/material/IconButton";
|
|
7
|
+
import a from "@mui/material/Stack";
|
|
8
|
+
import { Icon as b, ChevronRight as W } from "@mxenabled/mx-icons";
|
|
9
|
+
import { H3 as w, Text as z, P as H } from "@mxenabled/mxui";
|
|
10
|
+
import { u as I } from "./useDimensions-27p2evRx.mjs";
|
|
11
|
+
import { W as S } from "./hooks-CE2TKk4a.mjs";
|
|
12
|
+
const j = ({
|
|
13
|
+
className: m = "mx-cmn-mini-widget",
|
|
14
|
+
closeLabel: l,
|
|
15
|
+
children: c,
|
|
16
|
+
onClose: r,
|
|
17
|
+
onPrimaryCtaClick: t,
|
|
18
|
+
primaryCtaLabel: s = "",
|
|
19
|
+
subTitle: n = "",
|
|
20
|
+
sx: d = {},
|
|
21
|
+
title: o = ""
|
|
22
|
+
}) => {
|
|
23
|
+
const [h, { height: p, width: f }] = I();
|
|
24
|
+
return /* @__PURE__ */ e(g, { className: m, sx: { ...d }, children: [
|
|
25
|
+
/* @__PURE__ */ i(
|
|
26
|
+
C,
|
|
27
|
+
{
|
|
28
|
+
sx: { pb: 8 },
|
|
29
|
+
title: /* @__PURE__ */ e(a, { children: [
|
|
30
|
+
/* @__PURE__ */ e(a, { direction: "row", sx: { justifyContent: "space-between", alignItems: "center" }, children: [
|
|
31
|
+
o && /* @__PURE__ */ i(w, { children: o }),
|
|
32
|
+
r ? /* @__PURE__ */ i(v, { "aria-label": l, onClick: r, size: "small", children: /* @__PURE__ */ i(b, { name: "close", size: 24 }) }) : t && /* @__PURE__ */ i(x, { endIcon: /* @__PURE__ */ i(W, {}), onClick: t, size: "small", children: /* @__PURE__ */ i(z, { bold: !0, variant: "Small", children: s }) })
|
|
33
|
+
] }),
|
|
34
|
+
n && /* @__PURE__ */ i(H, { color: "text.secondary", sx: { fontSize: 15, lineHeight: "20px" }, variant: "Small", children: n })
|
|
35
|
+
] })
|
|
36
|
+
}
|
|
37
|
+
),
|
|
38
|
+
/* @__PURE__ */ i(u, { ref: h, sx: { p: 0 }, children: /* @__PURE__ */ i(S, { availableHeight: p, availableWidth: f, children: c }) })
|
|
39
|
+
] });
|
|
40
|
+
}, F = j;
|
|
41
|
+
export {
|
|
42
|
+
F as M
|
|
43
|
+
};
|
|
@@ -7,10 +7,10 @@ import b from "@mui/material/Tabs";
|
|
|
7
7
|
import p from "@mui/material/Divider";
|
|
8
8
|
import R from "@mui/material/List";
|
|
9
9
|
import T from "@mui/material/Stack";
|
|
10
|
-
import { R as C, A as S, a as E, M as v } from "./ManageIncome-
|
|
10
|
+
import { R as C, A as S, a as E, M as v } from "./ManageIncome-clecqBHm.mjs";
|
|
11
11
|
import { u as h, j as A, g as _ } from "./hooks-CE2TKk4a.mjs";
|
|
12
12
|
import { R as y, F as N } from "./RecurringTransactions-DTUx9VN1.mjs";
|
|
13
|
-
import { A as d } from "./WidgetContainer-
|
|
13
|
+
import { A as d } from "./WidgetContainer-hsbxZmZB.mjs";
|
|
14
14
|
const I = u(() => {
|
|
15
15
|
const { recurring: n } = h(), { repeatingTransactions: c } = A(), { onEvent: o } = _(), a = (r) => {
|
|
16
16
|
o(d.RECURRING_TRANSACTIONS_CLICK_EXPENSE, {
|
|
@@ -17,7 +17,7 @@ import { fromUnixTime as W } from "date-fns/fromUnixTime";
|
|
|
17
17
|
import { isSameDay as Ne } from "date-fns/isSameDay";
|
|
18
18
|
import { h as Ye } from "./DateUtil-BcuH7ErC.mjs";
|
|
19
19
|
import { L as Ie } from "./Loader-DUaFpDGv.mjs";
|
|
20
|
-
import { A as P } from "./WidgetContainer-
|
|
20
|
+
import { A as P } from "./WidgetContainer-hsbxZmZB.mjs";
|
|
21
21
|
import ne from "@mui/material/Paper";
|
|
22
22
|
import ce from "@mui/material/Button";
|
|
23
23
|
import je from "@mui/material/FormGroup";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as d, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import o from "react";
|
|
3
3
|
import { observer as ce } from "mobx-react-lite";
|
|
4
4
|
import $ from "@mui/material/Box";
|
|
@@ -9,35 +9,36 @@ import se from "@mui/material/CardHeader";
|
|
|
9
9
|
import q from "@mui/material/Divider";
|
|
10
10
|
import z from "@mui/material/IconButton";
|
|
11
11
|
import Y from "@mui/material/Stack";
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
12
|
+
import { ChevronLeft as le } from "@mxenabled/mx-icons";
|
|
13
|
+
import { Icon as T, Text as j, DateRangePicker as J, H1 as Ce, H3 as de } from "@mxenabled/mxui";
|
|
14
|
+
import { u as Te } from "./useDimensions-27p2evRx.mjs";
|
|
15
|
+
import { L as Ie } from "./Loader-DUaFpDGv.mjs";
|
|
16
|
+
import { g as Ee, b as Re, u as ge, a as Ae, W as Se } from "./hooks-CE2TKk4a.mjs";
|
|
16
17
|
import { u as ie } from "./useScreenSize-B6JyS_Lj.mjs";
|
|
17
18
|
import { addMonths as Q } from "date-fns/addMonths";
|
|
18
|
-
import { addDays as
|
|
19
|
+
import { addDays as ue } from "date-fns/addDays";
|
|
19
20
|
import { addYears as ee } from "date-fns/addYears";
|
|
20
|
-
import { differenceInCalendarDays as
|
|
21
|
-
import { endOfDay as
|
|
21
|
+
import { differenceInCalendarDays as Ne } from "date-fns/differenceInCalendarDays";
|
|
22
|
+
import { endOfDay as me } from "date-fns/endOfDay";
|
|
22
23
|
import { endOfMonth as V } from "date-fns/endOfMonth";
|
|
23
24
|
import { endOfToday as te } from "date-fns/endOfToday";
|
|
24
|
-
import { endOfYear as
|
|
25
|
-
import { startOfMonth as
|
|
26
|
-
import { startOfToday as
|
|
27
|
-
import { startOfYear as
|
|
25
|
+
import { endOfYear as Le } from "date-fns/endOfYear";
|
|
26
|
+
import { startOfMonth as De } from "date-fns/startOfMonth";
|
|
27
|
+
import { startOfToday as pe } from "date-fns/startOfToday";
|
|
28
|
+
import { startOfYear as ke } from "date-fns/startOfYear";
|
|
28
29
|
import { subMonths as X } from "date-fns/subMonths";
|
|
29
|
-
import { subDays as
|
|
30
|
+
import { subDays as he } from "date-fns/subDays";
|
|
30
31
|
import { subYears as _e } from "date-fns/subYears";
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import
|
|
35
|
-
import
|
|
36
|
-
import
|
|
37
|
-
import { f as K, D as G, a as
|
|
38
|
-
import { D as
|
|
39
|
-
import { j as
|
|
40
|
-
const
|
|
32
|
+
import Oe from "@mui/material/ButtonGroup";
|
|
33
|
+
import fe from "@mui/material/Tab";
|
|
34
|
+
import be from "@mui/material/Tabs";
|
|
35
|
+
import we from "@mui/material/ToggleButton";
|
|
36
|
+
import Ke from "@mui/material/ToggleButtonGroup";
|
|
37
|
+
import Ge from "@mui/material/styles/useTheme";
|
|
38
|
+
import { f as K, D as G, a as Me } from "./Dialog-CWW597AF.mjs";
|
|
39
|
+
import { D as We } from "./Drawer-kEE73B87.mjs";
|
|
40
|
+
import { j as ye, k as xe } from "./ConnectDrawer-SHjB2fpB.mjs";
|
|
41
|
+
const ve = {
|
|
41
42
|
ACCOUNTS_CLICK_ACCOUNT: "accounts_widget_click_account",
|
|
42
43
|
ACCOUNTS_CLICK_CONNECT: "accounts_widget_click_connect_accounts",
|
|
43
44
|
ACCOUNTS_CLICK_FILTER: "accounts_widget_click_filter_accounts",
|
|
@@ -157,15 +158,15 @@ const xe = {
|
|
|
157
158
|
TRENDS_HOVER_LEGEND: "trends_hover_ChartLegend",
|
|
158
159
|
TRENDS_LOAD_WIDGET: "trends_load_widget",
|
|
159
160
|
TRENDS_VIEW_TRANSACTIONS: "trends_view_transactions"
|
|
160
|
-
},
|
|
161
|
+
}, Ue = ({
|
|
161
162
|
calendarActions: a,
|
|
162
163
|
color: N = "primary",
|
|
163
164
|
copy: _,
|
|
164
|
-
range: m = [
|
|
165
|
+
range: m = [De(pe()), V(te())],
|
|
165
166
|
shouldShrinkToIcon: L = !0,
|
|
166
167
|
variant: n = "outlined"
|
|
167
168
|
}) => {
|
|
168
|
-
const W =
|
|
169
|
+
const W = Ge(), { isMobile: D } = ie(), [s, f] = o.useState(m), [c, H] = o.useState(_.dateRangePickerCopy.dateRangeThisMonth), [r, b] = o.useState(s), [p, k] = o.useState(!1), [F, y] = o.useState(!0), [h, l] = o.useState(6), C = {
|
|
169
170
|
buttons: [
|
|
170
171
|
{ label: "3M", value: 3 },
|
|
171
172
|
{ label: "6M", value: 6 },
|
|
@@ -188,7 +189,7 @@ const xe = {
|
|
|
188
189
|
const e = V(te());
|
|
189
190
|
return [V(X(e, h)), e];
|
|
190
191
|
}, w = (e) => {
|
|
191
|
-
const [i, E] =
|
|
192
|
+
const [i, E] = s, S = e === "previous";
|
|
192
193
|
let u;
|
|
193
194
|
if (c === _.dateRangePickerCopy.dateRangeThisMonth || c === _.dateRangePickerCopy.dateRangeLastMonth)
|
|
194
195
|
u = [
|
|
@@ -196,13 +197,13 @@ const xe = {
|
|
|
196
197
|
V(S ? X(E, 1) : Q(E, 1))
|
|
197
198
|
];
|
|
198
199
|
else if (c === _.dateRangePickerCopy.dateRangeYTD || c === _.dateRangePickerCopy.dateRangeLastYear) {
|
|
199
|
-
const R =
|
|
200
|
+
const R = ke(i), g = Le(i);
|
|
200
201
|
u = [
|
|
201
202
|
S ? _e(R, 1) : ee(R, 1),
|
|
202
203
|
S ? _e(g, 1) : ee(g, 1)
|
|
203
204
|
];
|
|
204
205
|
} else {
|
|
205
|
-
const R =
|
|
206
|
+
const R = Ne(E, i), g = S ? he : ue;
|
|
206
207
|
u = [g(i, R), g(E, R)];
|
|
207
208
|
}
|
|
208
209
|
f(u), a.onRangeChanged(u);
|
|
@@ -212,13 +213,13 @@ const xe = {
|
|
|
212
213
|
), a.onRangeChanged(r);
|
|
213
214
|
}, v = (e, i) => {
|
|
214
215
|
e[1] = e[1] ?? e[0];
|
|
215
|
-
const E = [e[0], e[1] ?
|
|
216
|
+
const E = [e[0], e[1] ? me(e[1]) : e[1]];
|
|
216
217
|
b(E), H(i);
|
|
217
218
|
}, U = (e) => {
|
|
218
|
-
|
|
219
|
+
l(e);
|
|
219
220
|
};
|
|
220
|
-
return /* @__PURE__ */
|
|
221
|
-
/* @__PURE__ */
|
|
221
|
+
return /* @__PURE__ */ d($, { className: "mx-cmn-date-range-selector", m: 4, children: [
|
|
222
|
+
/* @__PURE__ */ d(
|
|
222
223
|
$,
|
|
223
224
|
{
|
|
224
225
|
sx: {
|
|
@@ -229,14 +230,14 @@ const xe = {
|
|
|
229
230
|
[W.breakpoints.up("sm")]: { display: "inline-flex" }
|
|
230
231
|
},
|
|
231
232
|
children: [
|
|
232
|
-
n === "readonly" && /* @__PURE__ */
|
|
233
|
-
/* @__PURE__ */ t(
|
|
233
|
+
n === "readonly" && /* @__PURE__ */ d(Y, { alignItems: "center", direction: "row", gap: 8, children: [
|
|
234
|
+
/* @__PURE__ */ t(T, { name: "calendar_month", size: 24 }),
|
|
234
235
|
/* @__PURE__ */ t(j, { bold: !0, children: K(r[0], G.MONTH_DAY) }),
|
|
235
|
-
/* @__PURE__ */ t(
|
|
236
|
+
/* @__PURE__ */ t(T, { name: "remove" }),
|
|
236
237
|
/* @__PURE__ */ t(j, { bold: !0, children: K(r[1], G.MONTH_DAY_YEAR) })
|
|
237
238
|
] }),
|
|
238
|
-
n !== "readonly" && n !== "timeframebuttons" && n !== "timeframetabs" && /* @__PURE__ */
|
|
239
|
-
|
|
239
|
+
n !== "readonly" && n !== "timeframebuttons" && n !== "timeframetabs" && /* @__PURE__ */ d(
|
|
240
|
+
Oe,
|
|
240
241
|
{
|
|
241
242
|
color: N,
|
|
242
243
|
sx: {
|
|
@@ -257,7 +258,7 @@ const xe = {
|
|
|
257
258
|
"aria-label": _.dateRangePreviousAria,
|
|
258
259
|
color: a.shouldDisablePrevious ? "secondary" : "primary",
|
|
259
260
|
onClick: () => a.shouldDisablePrevious ? null : w("previous"),
|
|
260
|
-
children: /* @__PURE__ */ t(
|
|
261
|
+
children: /* @__PURE__ */ t(T, { name: "chevron_left", size: 20 })
|
|
261
262
|
}
|
|
262
263
|
),
|
|
263
264
|
/* @__PURE__ */ t(
|
|
@@ -266,15 +267,15 @@ const xe = {
|
|
|
266
267
|
"aria-disabled": a.shouldDisablePicker,
|
|
267
268
|
color: N,
|
|
268
269
|
onClick: () => a.shouldDisablePicker ? null : k(!0),
|
|
269
|
-
startIcon: /* @__PURE__ */ t(
|
|
270
|
+
startIcon: /* @__PURE__ */ t(T, { name: "calendar_month", size: 20 }),
|
|
270
271
|
sx: {
|
|
271
272
|
p: D ? 0 : 8
|
|
272
273
|
},
|
|
273
|
-
children: F ? K(
|
|
274
|
-
K(
|
|
274
|
+
children: F ? K(s[0], G.MONTH_YEAR) : /* @__PURE__ */ d("span", { children: [
|
|
275
|
+
K(s[0], G.MONTH_DAY_YEAR),
|
|
275
276
|
" -",
|
|
276
277
|
" ",
|
|
277
|
-
K(
|
|
278
|
+
K(s[1], G.MONTH_DAY_YEAR)
|
|
278
279
|
] })
|
|
279
280
|
}
|
|
280
281
|
),
|
|
@@ -285,21 +286,21 @@ const xe = {
|
|
|
285
286
|
"aria-label": _.dateRangeNextAria,
|
|
286
287
|
color: a.shouldDisableNext ? "secondary" : "primary",
|
|
287
288
|
onClick: () => a.shouldDisableNext ? null : w("next"),
|
|
288
|
-
children: /* @__PURE__ */ t(
|
|
289
|
+
children: /* @__PURE__ */ t(T, { name: "chevron_right", size: 20 })
|
|
289
290
|
}
|
|
290
291
|
)
|
|
291
292
|
]
|
|
292
293
|
}
|
|
293
294
|
),
|
|
294
295
|
n === "timeframebuttons" && /* @__PURE__ */ t(
|
|
295
|
-
|
|
296
|
+
Ke,
|
|
296
297
|
{
|
|
297
298
|
color: N,
|
|
298
299
|
exclusive: !0,
|
|
299
300
|
orientation: "horizontal",
|
|
300
301
|
value: h,
|
|
301
|
-
children:
|
|
302
|
-
|
|
302
|
+
children: C.buttons.map((e) => /* @__PURE__ */ t(
|
|
303
|
+
we,
|
|
303
304
|
{
|
|
304
305
|
onClick: () => U(e.value),
|
|
305
306
|
sx: { width: 56 },
|
|
@@ -311,15 +312,15 @@ const xe = {
|
|
|
311
312
|
}
|
|
312
313
|
),
|
|
313
314
|
n === "timeframetabs" && /* @__PURE__ */ t(
|
|
314
|
-
|
|
315
|
+
be,
|
|
315
316
|
{
|
|
316
317
|
indicatorColor: "primary",
|
|
317
318
|
onChange: (e, i) => U(i),
|
|
318
319
|
textColor: "primary",
|
|
319
320
|
value: h,
|
|
320
321
|
variant: "fullWidth",
|
|
321
|
-
children:
|
|
322
|
-
|
|
322
|
+
children: C.tabs.map((e) => /* @__PURE__ */ t(
|
|
323
|
+
fe,
|
|
323
324
|
{
|
|
324
325
|
label: /* @__PURE__ */ t(j, { bold: !0, variant: "Body", children: e.label }),
|
|
325
326
|
sx: { minWidth: 80 },
|
|
@@ -333,7 +334,7 @@ const xe = {
|
|
|
333
334
|
}
|
|
334
335
|
),
|
|
335
336
|
p && D && /* @__PURE__ */ t(
|
|
336
|
-
|
|
337
|
+
We,
|
|
337
338
|
{
|
|
338
339
|
ariaLabelClose: _.dateRangeCloseAria,
|
|
339
340
|
isOpen: p,
|
|
@@ -356,7 +357,7 @@ const xe = {
|
|
|
356
357
|
}
|
|
357
358
|
),
|
|
358
359
|
p && !D && /* @__PURE__ */ t(
|
|
359
|
-
|
|
360
|
+
Me,
|
|
360
361
|
{
|
|
361
362
|
copy: { title: _.dateRangeEditTitle },
|
|
362
363
|
isOpen: !0,
|
|
@@ -386,7 +387,7 @@ const xe = {
|
|
|
386
387
|
}
|
|
387
388
|
)
|
|
388
389
|
] });
|
|
389
|
-
}, ae =
|
|
390
|
+
}, ae = Ue, Pe = ({
|
|
390
391
|
accountOptions: a,
|
|
391
392
|
actions: N = [],
|
|
392
393
|
calendarActions: _,
|
|
@@ -395,17 +396,17 @@ const xe = {
|
|
|
395
396
|
dateRangeVariant: n,
|
|
396
397
|
className: W = "mx-cmn-widget",
|
|
397
398
|
hasDivider: D = !1,
|
|
398
|
-
onBackClick:
|
|
399
|
+
onBackClick: s,
|
|
399
400
|
onAccountsFilterClick: f,
|
|
400
401
|
showDividerAboveDateSelector: c = !0,
|
|
401
402
|
sx: H = {},
|
|
402
403
|
title: r = ""
|
|
403
404
|
}) => {
|
|
404
|
-
const [b, p] = o.useState(!1), [k, { height: F, width: y }] =
|
|
405
|
-
|
|
405
|
+
const [b, p] = o.useState(!1), [k, { height: F, width: y }] = Te(), { onEvent: h } = Ee(), { isDesktop: l, isMobile: C, isTablet: I } = ie(y), { displayedDateRange: w, isCopyLoaded: x, selectedAccountGuids: v, setSelectedAccountGuids: U } = Re(), { common: e, connect: i } = ge(), { config: E } = Ae(), S = () => {
|
|
406
|
+
s && (s(), h(ve.WIDGET_BACK_CLICK));
|
|
406
407
|
};
|
|
407
408
|
if (!x)
|
|
408
|
-
return /* @__PURE__ */ t(
|
|
409
|
+
return /* @__PURE__ */ t(Ie, {});
|
|
409
410
|
const u = {
|
|
410
411
|
accountFilterOptionsCopy: {
|
|
411
412
|
accountTypeAccounts: e.account_filter.account_type_accounts,
|
|
@@ -439,14 +440,14 @@ const xe = {
|
|
|
439
440
|
dateRangeNextAria: e.date_range_picker.next_aria,
|
|
440
441
|
dateRangePreviousAria: e.date_range_picker.previous_aria
|
|
441
442
|
}, g = L ? L.start : w.start, Z = L ? L.end : w.end, ne = N?.length > 1;
|
|
442
|
-
return /* @__PURE__ */
|
|
443
|
+
return /* @__PURE__ */ d(
|
|
443
444
|
re,
|
|
444
445
|
{
|
|
445
446
|
className: W,
|
|
446
447
|
sx: {
|
|
447
|
-
...
|
|
448
|
+
...C && { px: 4 },
|
|
448
449
|
"& .mx-cmn-date-range-selector": {
|
|
449
|
-
...(
|
|
450
|
+
...(C || I) && { textAlign: "center" }
|
|
450
451
|
},
|
|
451
452
|
...H
|
|
452
453
|
},
|
|
@@ -454,8 +455,8 @@ const xe = {
|
|
|
454
455
|
r && /* @__PURE__ */ t(
|
|
455
456
|
se,
|
|
456
457
|
{
|
|
457
|
-
action: /* @__PURE__ */
|
|
458
|
-
|
|
458
|
+
action: /* @__PURE__ */ d(Y, { alignItems: "center", flexDirection: "row", children: [
|
|
459
|
+
l && _ && /* @__PURE__ */ t($, { sx: { flexGrow: 1 }, children: /* @__PURE__ */ t(
|
|
459
460
|
ae,
|
|
460
461
|
{
|
|
461
462
|
calendarActions: _,
|
|
@@ -466,7 +467,7 @@ const xe = {
|
|
|
466
467
|
}
|
|
467
468
|
) }),
|
|
468
469
|
a && /* @__PURE__ */ t(
|
|
469
|
-
|
|
470
|
+
ye,
|
|
470
471
|
{
|
|
471
472
|
accounts: a,
|
|
472
473
|
copy: u,
|
|
@@ -482,56 +483,56 @@ const xe = {
|
|
|
482
483
|
N?.map((O) => {
|
|
483
484
|
if (o.isValidElement(O)) return O;
|
|
484
485
|
const { iconName: A, onClick: P, label: B } = O;
|
|
485
|
-
return ne ?
|
|
486
|
+
return ne ? l || I ? /* @__PURE__ */ t(
|
|
486
487
|
M,
|
|
487
488
|
{
|
|
488
489
|
onClick: P,
|
|
489
|
-
startIcon: /* @__PURE__ */ t(
|
|
490
|
+
startIcon: /* @__PURE__ */ t(T, { name: A, size: 24 }),
|
|
490
491
|
sx: { my: 4 },
|
|
491
492
|
children: B
|
|
492
493
|
},
|
|
493
494
|
A
|
|
494
|
-
) : /* @__PURE__ */ t(z, { "aria-label": B, color: "primary", onClick: P, children: /* @__PURE__ */ t(
|
|
495
|
+
) : /* @__PURE__ */ t(z, { "aria-label": B, color: "primary", onClick: P, children: /* @__PURE__ */ t(T, { name: A, size: 24 }) }, A) : l || I ? /* @__PURE__ */ t(
|
|
495
496
|
M,
|
|
496
497
|
{
|
|
497
498
|
onClick: P,
|
|
498
|
-
startIcon: /* @__PURE__ */ t(
|
|
499
|
+
startIcon: /* @__PURE__ */ t(T, { name: A, size: 24 }),
|
|
499
500
|
sx: { my: 4 },
|
|
500
501
|
children: B
|
|
501
502
|
},
|
|
502
503
|
A
|
|
503
|
-
) : /* @__PURE__ */ t(z, { "aria-label": B, color: "primary", onClick: P, children: /* @__PURE__ */ t(
|
|
504
|
+
) : /* @__PURE__ */ t(z, { "aria-label": B, color: "primary", onClick: P, children: /* @__PURE__ */ t(T, { name: A, size: 24 }) }, A);
|
|
504
505
|
})
|
|
505
506
|
] }),
|
|
506
507
|
sx: {
|
|
507
|
-
p:
|
|
508
|
+
p: l ? 48 : 24,
|
|
508
509
|
pb: 0,
|
|
509
510
|
"& .MuiCardHeader-action": {
|
|
510
511
|
mr: 0,
|
|
511
|
-
..._ &&
|
|
512
|
-
...(
|
|
512
|
+
..._ && l && { flexGrow: 1 },
|
|
513
|
+
...(C || I) && { alignSelf: "center" }
|
|
513
514
|
},
|
|
514
515
|
"& .MuiCardHeader-content": {
|
|
515
516
|
overflow: "hidden"
|
|
516
517
|
}
|
|
517
518
|
},
|
|
518
|
-
title:
|
|
519
|
-
|
|
519
|
+
title: l || I ? /* @__PURE__ */ t(Ce, { children: r }) : /* @__PURE__ */ d(Y, { alignItems: "center", flexDirection: "row", sx: { overflow: "hidden" }, children: [
|
|
520
|
+
C && s && /* @__PURE__ */ t(
|
|
520
521
|
z,
|
|
521
522
|
{
|
|
522
523
|
"aria-label": e.back_to_dashboard,
|
|
523
524
|
color: "primary",
|
|
524
525
|
onClick: S,
|
|
525
526
|
sx: { p: 12, mr: 4 },
|
|
526
|
-
children: /* @__PURE__ */ t(
|
|
527
|
+
children: /* @__PURE__ */ t(le, { size: 24 })
|
|
527
528
|
}
|
|
528
529
|
),
|
|
529
|
-
/* @__PURE__ */ t(
|
|
530
|
+
/* @__PURE__ */ t(de, { children: r })
|
|
530
531
|
] })
|
|
531
532
|
}
|
|
532
533
|
),
|
|
533
|
-
D && /* @__PURE__ */ t(q, { sx: { mt:
|
|
534
|
-
_ && (
|
|
534
|
+
D && /* @__PURE__ */ t(q, { sx: { mt: l ? 48 : 24 } }),
|
|
535
|
+
_ && (C || I) && /* @__PURE__ */ d(Y, { gap: 24, justifyContent: "center", sx: { mt: C ? 0 : 16 }, children: [
|
|
535
536
|
c && /* @__PURE__ */ t(q, {}),
|
|
536
537
|
/* @__PURE__ */ t(
|
|
537
538
|
ae,
|
|
@@ -545,20 +546,20 @@ const xe = {
|
|
|
545
546
|
)
|
|
546
547
|
] }),
|
|
547
548
|
b && /* @__PURE__ */ t(
|
|
548
|
-
|
|
549
|
+
xe,
|
|
549
550
|
{
|
|
550
551
|
onClose: () => p(!1),
|
|
551
552
|
showConnectWidget: b,
|
|
552
553
|
title: i.mini_title
|
|
553
554
|
}
|
|
554
555
|
),
|
|
555
|
-
/* @__PURE__ */ t(oe, { ref: k, sx: { p: 0 }, children: /* @__PURE__ */ t(
|
|
556
|
+
/* @__PURE__ */ t(oe, { ref: k, sx: { p: 0 }, children: /* @__PURE__ */ t(Se, { availableHeight: F, availableWidth: y, children: m }) })
|
|
556
557
|
]
|
|
557
558
|
}
|
|
558
559
|
);
|
|
559
|
-
},
|
|
560
|
+
}, ht = ce(Pe);
|
|
560
561
|
export {
|
|
561
|
-
|
|
562
|
+
ve as A,
|
|
562
563
|
ae as D,
|
|
563
|
-
|
|
564
|
+
ht as W
|
|
564
565
|
};
|
|
@@ -7,8 +7,8 @@ import E from "@mui/material/List";
|
|
|
7
7
|
import O from "@mui/material/ListSubheader";
|
|
8
8
|
import _ from "@mui/system/Stack";
|
|
9
9
|
import { Text as v } from "@mxenabled/mxui";
|
|
10
|
-
import { A as K } from "../AccountDetailsContent-
|
|
11
|
-
import { u as D1 } from "../AccountDetailsContent-
|
|
10
|
+
import { A as K } from "../AccountDetailsContent-Dk-JfKbv.mjs";
|
|
11
|
+
import { u as D1 } from "../AccountDetailsContent-Dk-JfKbv.mjs";
|
|
12
12
|
import { u as z, A as P } from "../AccountDetailsHeader-eh13XhXN.mjs";
|
|
13
13
|
import { A as W } from "../AccountListItem-C7NVvdVt.mjs";
|
|
14
14
|
import { a as Y } from "../AccountFields-pka2XWfO.mjs";
|
|
@@ -16,14 +16,14 @@ import { g as U1, b as $1 } from "../AccountFields-pka2XWfO.mjs";
|
|
|
16
16
|
import { u as w, b as S, d as T, g as D, a as q } from "../hooks-CE2TKk4a.mjs";
|
|
17
17
|
import { f as I } from "../NumberFormatting-CtWHhyBX.mjs";
|
|
18
18
|
import { D as J } from "../Drawer-kEE73B87.mjs";
|
|
19
|
-
import { A as y, W as Q } from "../WidgetContainer-
|
|
19
|
+
import { A as y, W as Q } from "../WidgetContainer-hsbxZmZB.mjs";
|
|
20
20
|
import { C as X } from "../ConnectionsDrawer-BprLSCBH.mjs";
|
|
21
21
|
import { u as N } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
22
22
|
import { L as R } from "../Loader-DUaFpDGv.mjs";
|
|
23
23
|
import { k as U, l as e1 } from "../ConnectDrawer-SHjB2fpB.mjs";
|
|
24
24
|
import { F as G1, M as K1 } from "../ConnectDrawer-SHjB2fpB.mjs";
|
|
25
25
|
import t1 from "@mui/material/ListItem";
|
|
26
|
-
import { M as $ } from "../MiniWidgetContainer-
|
|
26
|
+
import { M as $ } from "../MiniWidgetContainer-Bg0bELc2.mjs";
|
|
27
27
|
import l1 from "@mui/material/Stack";
|
|
28
28
|
import { A as P1, a as Y1 } from "../AccountStore-XZqHTKm3.mjs";
|
|
29
29
|
const i1 = () => {
|
|
@@ -8,7 +8,7 @@ import a from "@mui/material/Stack";
|
|
|
8
8
|
import _ from "@mui/material/styles/useTheme";
|
|
9
9
|
import { Text as u, TextField as L } from "@mxenabled/mxui";
|
|
10
10
|
import { L as W } from "../Loader-DUaFpDGv.mjs";
|
|
11
|
-
import { M as j } from "../MiniWidgetContainer-
|
|
11
|
+
import { M as j } from "../MiniWidgetContainer-Bg0bELc2.mjs";
|
|
12
12
|
import { k as f, u as b, g as q, b as E } from "../hooks-CE2TKk4a.mjs";
|
|
13
13
|
import Q from "@mui/material/ToggleButton";
|
|
14
14
|
import G from "@mui/material/ToggleButtonGroup";
|
package/dist/budgets/index.es.js
CHANGED
|
@@ -15,7 +15,7 @@ import { i as w, m as j, u as D, g as X, b as ee, p as ze, j as te, h as ne, a a
|
|
|
15
15
|
import { L as P } from "../Loader-DUaFpDGv.mjs";
|
|
16
16
|
import { E as ce } from "../EmptyState-C0lr9E5T.mjs";
|
|
17
17
|
import { u as me } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
18
|
-
import { A as k, W as Fe } from "../WidgetContainer-
|
|
18
|
+
import { A as k, W as Fe } from "../WidgetContainer-hsbxZmZB.mjs";
|
|
19
19
|
import K from "@mui/material/List";
|
|
20
20
|
import { f as T } from "../NumberFormatting-CtWHhyBX.mjs";
|
|
21
21
|
import Ae from "@mui/material/Button";
|
|
@@ -29,7 +29,7 @@ import { D as M } from "../Drawer-kEE73B87.mjs";
|
|
|
29
29
|
import We from "@mui/material/ListItemSecondaryAction";
|
|
30
30
|
import { C as He } from "../CurrencyInput-CRtdzs3o.mjs";
|
|
31
31
|
import { a as N } from "../Dialog-CWW597AF.mjs";
|
|
32
|
-
import { M as Xe } from "../MiniWidgetContainer-
|
|
32
|
+
import { M as Xe } from "../MiniWidgetContainer-Bg0bELc2.mjs";
|
|
33
33
|
import { isAfter as Ke } from "date-fns/isAfter";
|
|
34
34
|
import { startOfToday as q } from "date-fns/startOfToday";
|
|
35
35
|
import Ve from "@mui/material/Alert";
|
|
@@ -37,7 +37,7 @@ import Ye from "@mui/material/Snackbar";
|
|
|
37
37
|
import be from "@mui/material/Tab";
|
|
38
38
|
import Ze from "@mui/material/Tabs";
|
|
39
39
|
import { e as qe } from "../exportTransactionsToCSV-D8TTNrrE.mjs";
|
|
40
|
-
import { T as xe, a as Je } from "../TransactionDetails-
|
|
40
|
+
import { T as xe, a as Je } from "../TransactionDetails-Cl8xcpbh.mjs";
|
|
41
41
|
import ge from "@mui/material/Card";
|
|
42
42
|
import pe from "@mui/material/CardContent";
|
|
43
43
|
import { S as ue } from "../StatusBar-BK_uYHAB.mjs";
|
|
@@ -46,7 +46,7 @@ import { u as Qe, b as et } from "../CategorySelectorDrawer-BmenK5bu.mjs";
|
|
|
46
46
|
import Te from "@mui/material/CardHeader";
|
|
47
47
|
import { subDays as tt } from "date-fns/subDays";
|
|
48
48
|
import nt from "@mui/material/IconButton";
|
|
49
|
-
import { M as ot } from "../ManageIncome-
|
|
49
|
+
import { M as ot } from "../ManageIncome-clecqBHm.mjs";
|
|
50
50
|
const ye = 5, at = 100, rt = 25, st = (t) => {
|
|
51
51
|
const o = (a) => {
|
|
52
52
|
a.active || t.alphaTarget(0.3).restart(), a.subject.fx = a.subject.x, a.subject.fy = a.subject.y;
|
|
@@ -16,8 +16,8 @@ import { L as se } from "../Loader-DUaFpDGv.mjs";
|
|
|
16
16
|
import { I as he } from "../CashflowStore-D9Dpuz7X.mjs";
|
|
17
17
|
import { C as Wn } from "../CashflowStore-D9Dpuz7X.mjs";
|
|
18
18
|
import { b as X } from "../Localization-2MODESHW.mjs";
|
|
19
|
-
import { M as Qe } from "../MiniWidgetContainer-
|
|
20
|
-
import { R as Ve } from "../RecurringSettings-
|
|
19
|
+
import { M as Qe } from "../MiniWidgetContainer-Bg0bELc2.mjs";
|
|
20
|
+
import { R as Ve } from "../RecurringSettings-CHuS8Ik_.mjs";
|
|
21
21
|
import Ke from "@mui/material/Tabs";
|
|
22
22
|
import ye from "@mui/material/Tab";
|
|
23
23
|
import { getUnixTime as U } from "date-fns/getUnixTime";
|
|
@@ -34,17 +34,17 @@ import { addDays as Ce } from "date-fns/addDays";
|
|
|
34
34
|
import { alpha as et, keyframes as tt } from "@mui/material/styles";
|
|
35
35
|
import { DataGridPro as nt } from "@mui/x-data-grid-pro";
|
|
36
36
|
import { T as Se } from "../TabContentContainer-j01JYR_7.mjs";
|
|
37
|
-
import { M as ot, S as at, i as it, d as _e, c as rt } from "../ManageIncome-
|
|
37
|
+
import { M as ot, S as at, i as it, d as _e, c as rt } from "../ManageIncome-clecqBHm.mjs";
|
|
38
38
|
import { D as $e } from "../Drawer-kEE73B87.mjs";
|
|
39
39
|
import { formatISO as st } from "date-fns/formatISO";
|
|
40
40
|
import { fromUnixTime as we } from "date-fns/fromUnixTime";
|
|
41
41
|
import { startOfMonth as ct } from "date-fns/startOfMonth";
|
|
42
42
|
import { subDays as Me } from "date-fns/subDays";
|
|
43
|
-
import { S as lt, b as dt } from "../TransactionDetails-
|
|
43
|
+
import { S as lt, b as dt } from "../TransactionDetails-Cl8xcpbh.mjs";
|
|
44
44
|
import { F as mt, R as Ie, e as De } from "../RecurringTransactions-DTUx9VN1.mjs";
|
|
45
45
|
import { h as ut } from "../DateUtil-BcuH7ErC.mjs";
|
|
46
46
|
import { endOfToday as ht } from "date-fns/endOfToday";
|
|
47
|
-
import { W as ve, A as Ae } from "../WidgetContainer-
|
|
47
|
+
import { W as ve, A as Ae } from "../WidgetContainer-hsbxZmZB.mjs";
|
|
48
48
|
import { F as pt, A as B } from "../Fetch-87LIQbEA.mjs";
|
|
49
49
|
const K = () => {
|
|
50
50
|
if (!u.useContext(Ye))
|
package/dist/common/index.es.js
CHANGED
|
@@ -11,8 +11,8 @@ import { C as gs, b as ps, L as ms, a as _s } from "../User-DaJAQ09j.mjs";
|
|
|
11
11
|
import { H as ot } from "../Help-DhcC-C05.mjs";
|
|
12
12
|
import { E as ys } from "../Help-DhcC-C05.mjs";
|
|
13
13
|
import { M as bs } from "../MicroWidgetContainer-C4QQHfD7.mjs";
|
|
14
|
-
import { M as xs } from "../MiniWidgetContainer-
|
|
15
|
-
import { A as vs, D as Ds, W as As } from "../WidgetContainer-
|
|
14
|
+
import { M as xs } from "../MiniWidgetContainer-Bg0bELc2.mjs";
|
|
15
|
+
import { A as vs, D as Ds, W as As } from "../WidgetContainer-hsbxZmZB.mjs";
|
|
16
16
|
import { j as Ts, a as Bs, e as Is, n as Ns, A as Ms, f as ks, k as $s, d as Rs, m as Ps, E as Os, i as Us, N as Ls, h as Gs, P as Hs, o as Fs, S as Ws } from "../ConnectDrawer-SHjB2fpB.mjs";
|
|
17
17
|
import { C as Ys } from "../CurrencyInput-CRtdzs3o.mjs";
|
|
18
18
|
import { L as zs } from "../Loader-DUaFpDGv.mjs";
|
package/dist/debts/index.es.js
CHANGED
|
@@ -23,7 +23,7 @@ import Le from "@mui/material/CardHeader";
|
|
|
23
23
|
import { LineChart as $e } from "@mui/x-charts";
|
|
24
24
|
import re from "@mui/material/Box";
|
|
25
25
|
import { useTheme as He } from "@mui/material/styles";
|
|
26
|
-
import { A as T, W as Oe } from "../WidgetContainer-
|
|
26
|
+
import { A as T, W as Oe } from "../WidgetContainer-hsbxZmZB.mjs";
|
|
27
27
|
import de from "@mui/material/Tab";
|
|
28
28
|
import We from "@mui/material/Tabs";
|
|
29
29
|
import _e from "@mui/material/List";
|
|
@@ -30,7 +30,7 @@ import Ue from "@mui/material/AccordionSummary";
|
|
|
30
30
|
import Ve from "@mui/material/CardHeader";
|
|
31
31
|
import { u as Ye } from "../useDimensions-27p2evRx.mjs";
|
|
32
32
|
import { C as qe } from "../ConnectionsDrawer-BprLSCBH.mjs";
|
|
33
|
-
import { R as Je } from "../RecurringSettings-
|
|
33
|
+
import { R as Je } from "../RecurringSettings-CHuS8Ik_.mjs";
|
|
34
34
|
import Qe from "@mui/material/TextField";
|
|
35
35
|
import { u as Ce } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
36
36
|
import { a as Ze } from "../Dialog-CWW597AF.mjs";
|
|
@@ -48,7 +48,7 @@ import ct from "@mui/lab/TimelineConnector";
|
|
|
48
48
|
import lt from "@mui/lab/TimelineContent";
|
|
49
49
|
import dt from "@mui/lab/TimelineDot";
|
|
50
50
|
import pt from "@mui/lab/TimelineSeparator";
|
|
51
|
-
import { W as mt } from "../WidgetContainer-
|
|
51
|
+
import { W as mt } from "../WidgetContainer-hsbxZmZB.mjs";
|
|
52
52
|
var A = /* @__PURE__ */ ((n) => (n.Connections = "connections", n.CreditScore = "credit_score", n.DateOfBirth = "date_of_birth", n.MonthlyIncome = "monthly_income", n))(A || {});
|
|
53
53
|
const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor: "background.paper" }, children: /* @__PURE__ */ e(
|
|
54
54
|
Be,
|
package/dist/goals/index.es.js
CHANGED
|
@@ -39,7 +39,7 @@ import tt from "@mui/material/Collapse";
|
|
|
39
39
|
import nt from "@mui/material/ListItemIcon";
|
|
40
40
|
import ot from "@mui/material/Checkbox";
|
|
41
41
|
import { u as at, A as rt } from "../AccountDetailsHeader-eh13XhXN.mjs";
|
|
42
|
-
import { A as it } from "../AccountDetailsContent-
|
|
42
|
+
import { A as it } from "../AccountDetailsContent-Dk-JfKbv.mjs";
|
|
43
43
|
import { u as st } from "../useAccountDisplayName-Dwa7UkEU.mjs";
|
|
44
44
|
import De from "@mui/material/TextField";
|
|
45
45
|
import { M as lt, I as ct, O as dt } from "../OriginalBalanceAction-CEuIYsc_.mjs";
|
|
@@ -49,7 +49,7 @@ import { AdapterDateFns as _t } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
|
49
49
|
import { DatePicker as pt } from "@mui/x-date-pickers";
|
|
50
50
|
import { LocalizationProvider as ht } from "@mui/x-date-pickers/LocalizationProvider";
|
|
51
51
|
import { E as gt } from "../EmptyState-C0lr9E5T.mjs";
|
|
52
|
-
import { A as Y, W as bt } from "../WidgetContainer-
|
|
52
|
+
import { A as Y, W as bt } from "../WidgetContainer-hsbxZmZB.mjs";
|
|
53
53
|
import { L as Ke } from "../Loader-DUaFpDGv.mjs";
|
|
54
54
|
import ft from "@mui/material/Stack/Stack";
|
|
55
55
|
import yt from "@mui/material/Box";
|
package/dist/help/index.es.js
CHANGED
|
@@ -3,7 +3,7 @@ import { observer as t } from "mobx-react-lite";
|
|
|
3
3
|
import { H as m } from "../Help-CzBAsKA2.mjs";
|
|
4
4
|
import { b as s } from "../hooks-CE2TKk4a.mjs";
|
|
5
5
|
import { L as p } from "../Loader-DUaFpDGv.mjs";
|
|
6
|
-
import { W as a } from "../WidgetContainer-
|
|
6
|
+
import { W as a } from "../WidgetContainer-hsbxZmZB.mjs";
|
|
7
7
|
const u = t(({ sx: o }) => {
|
|
8
8
|
const { isCopyLoaded: i, isInitialized: e } = s();
|
|
9
9
|
return !i || !e ? /* @__PURE__ */ r(p, {}) : /* @__PURE__ */ r(a, { sx: { p: 16 }, children: /* @__PURE__ */ r(m, { sx: o }) });
|
|
@@ -17,7 +17,7 @@ import ye from "@mui/material/ToggleButtonGroup";
|
|
|
17
17
|
import { Text as r, H1 as fe, P as ve, InstitutionLogo as ne } from "@mxenabled/mxui";
|
|
18
18
|
import Ue from "@mui/material/Button";
|
|
19
19
|
import { u as E, g as be, s as H, b as Q, d as se } from "../hooks-CE2TKk4a.mjs";
|
|
20
|
-
import { A as z, W as je } from "../WidgetContainer-
|
|
20
|
+
import { A as z, W as je } from "../WidgetContainer-hsbxZmZB.mjs";
|
|
21
21
|
import { a as ze, f as oe } from "../NumberFormatting-CtWHhyBX.mjs";
|
|
22
22
|
import { u as U } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
23
23
|
import le from "@mui/material/styles/useTheme";
|
|
@@ -23,7 +23,7 @@ import { g as K } from "../NetWorthStore-cweTamnD.mjs";
|
|
|
23
23
|
import { N as Ot } from "../NetWorthStore-cweTamnD.mjs";
|
|
24
24
|
import { Icon as oe } from "@mxenabled/mx-icons";
|
|
25
25
|
import { f as U } from "../NumberFormatting-CtWHhyBX.mjs";
|
|
26
|
-
import { A as b, W as ke } from "../WidgetContainer-
|
|
26
|
+
import { A as b, W as ke } from "../WidgetContainer-hsbxZmZB.mjs";
|
|
27
27
|
import { L as O } from "../Loader-DUaFpDGv.mjs";
|
|
28
28
|
import { M as Ae } from "../MicroWidgetContainer-C4QQHfD7.mjs";
|
|
29
29
|
import re from "@mui/material/Box";
|
|
@@ -8,8 +8,8 @@ import { startOfToday as ue } from "date-fns/startOfToday";
|
|
|
8
8
|
import { subDays as me } from "date-fns/subDays";
|
|
9
9
|
import ae from "@mui/material/Skeleton";
|
|
10
10
|
import c from "@mui/material/Stack";
|
|
11
|
-
import { R as He } from "../RecurringSettings-
|
|
12
|
-
import { M as An } from "../RecurringSettings-
|
|
11
|
+
import { R as He } from "../RecurringSettings-CHuS8Ik_.mjs";
|
|
12
|
+
import { M as An } from "../RecurringSettings-CHuS8Ik_.mjs";
|
|
13
13
|
import { addMonths as ze } from "date-fns/addMonths";
|
|
14
14
|
import { subMonths as Fe } from "date-fns/subMonths";
|
|
15
15
|
import { isBefore as Ue } from "date-fns/isBefore";
|
|
@@ -32,7 +32,7 @@ import { u as S, b as q, j as w, g as J, p as Ge, d as he, h as fe } from "../ho
|
|
|
32
32
|
import { c as M, a as T, g as _e, f as ot } from "../RecurringTransactions-DTUx9VN1.mjs";
|
|
33
33
|
import { T as B } from "../RecurringTransactionsStore-Djo9IeDd.mjs";
|
|
34
34
|
import { R as Gn } from "../RecurringTransactionsStore-Djo9IeDd.mjs";
|
|
35
|
-
import { A as _, W as at } from "../WidgetContainer-
|
|
35
|
+
import { A as _, W as at } from "../WidgetContainer-hsbxZmZB.mjs";
|
|
36
36
|
import st from "@mui/material/Button";
|
|
37
37
|
import le from "@mui/material/Divider";
|
|
38
38
|
import we from "@mui/material/List";
|
|
@@ -41,8 +41,8 @@ import ct from "@mui/material/ListSubheader";
|
|
|
41
41
|
import lt from "@mui/material/ListItemAvatar";
|
|
42
42
|
import dt from "@mui/material/ListItemButton";
|
|
43
43
|
import ut from "@mui/material/ListItemText";
|
|
44
|
-
import { b as mt } from "../ManageIncome-
|
|
45
|
-
import { c as On, M as kn, S as Wn } from "../ManageIncome-
|
|
44
|
+
import { b as mt } from "../ManageIncome-clecqBHm.mjs";
|
|
45
|
+
import { c as On, M as kn, S as Wn } from "../ManageIncome-clecqBHm.mjs";
|
|
46
46
|
import { f as L } from "../NumberFormatting-CtWHhyBX.mjs";
|
|
47
47
|
import { D as Oe } from "../Drawer-kEE73B87.mjs";
|
|
48
48
|
import { b as N } from "../Localization-2MODESHW.mjs";
|
|
@@ -51,7 +51,7 @@ import O from "@mui/material/Box";
|
|
|
51
51
|
import { S as ke } from "../StatusBar-BK_uYHAB.mjs";
|
|
52
52
|
import { u as xe } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
53
53
|
import { L as V } from "../Loader-DUaFpDGv.mjs";
|
|
54
|
-
import { M as pt } from "../MiniWidgetContainer-
|
|
54
|
+
import { M as pt } from "../MiniWidgetContainer-Bg0bELc2.mjs";
|
|
55
55
|
import { u as gt } from "../useDimensions-27p2evRx.mjs";
|
|
56
56
|
import { M as ht } from "../MicroWidgetContainer-C4QQHfD7.mjs";
|
|
57
57
|
const Q = {
|
|
@@ -42,7 +42,7 @@ import Me from "@mui/material/ListItemIcon";
|
|
|
42
42
|
import Ne from "@mui/material/ListItemText";
|
|
43
43
|
import { D as He } from "../Drawer-kEE73B87.mjs";
|
|
44
44
|
import { H as Le } from "../Help-CzBAsKA2.mjs";
|
|
45
|
-
import { W as K } from "../WidgetContainer-
|
|
45
|
+
import { W as K } from "../WidgetContainer-hsbxZmZB.mjs";
|
|
46
46
|
const Oe = ({ availableWidth: t, handleOnLeavClick: a }) => {
|
|
47
47
|
const o = ye(), { common: n, settings: r } = k(), { isDesktop: m, isMobile: l, isSmallMobile: i, isTablet: s } = L(t), { config: g } = $(), { updateUser: _ } = A(), { user: d } = De(), [u, S] = h.useState({
|
|
48
48
|
first_name: d.first_name,
|
|
@@ -18,16 +18,16 @@ import { u as w, b as R, m as z, d as rt, a as st, h as Ct, g as _t } from "../h
|
|
|
18
18
|
import { u as ct } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
19
19
|
import { D as bt } from "../Donut-1UMNcG67.mjs";
|
|
20
20
|
import { L as F } from "../Loader-DUaFpDGv.mjs";
|
|
21
|
-
import { M as St } from "../MiniWidgetContainer-
|
|
21
|
+
import { M as St } from "../MiniWidgetContainer-Bg0bELc2.mjs";
|
|
22
22
|
import { startOfToday as U } from "date-fns/startOfToday";
|
|
23
|
-
import { T as Tt, a as Mt } from "../TransactionDetails-
|
|
23
|
+
import { T as Tt, a as Mt } from "../TransactionDetails-Cl8xcpbh.mjs";
|
|
24
24
|
import Dt from "@mui/material/Collapse";
|
|
25
25
|
import B from "@mui/material/Divider";
|
|
26
26
|
import q from "@mui/material/List";
|
|
27
27
|
import J from "@mui/material/ListItem";
|
|
28
28
|
import xt from "@mui/material/ListItemButton";
|
|
29
29
|
import { D as Q } from "../Drawer-kEE73B87.mjs";
|
|
30
|
-
import { A as Z, W as wt } from "../WidgetContainer-
|
|
30
|
+
import { A as Z, W as wt } from "../WidgetContainer-hsbxZmZB.mjs";
|
|
31
31
|
const j = 5, vt = (n, l, r) => r.reduce((i, c) => {
|
|
32
32
|
if (c.total > 0) {
|
|
33
33
|
const a = n.find((s) => s.guid === c.category_guid);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { T as Ca } from "../TransactionApi-B3Tksf7L.mjs";
|
|
2
|
-
import { u as P, C as He, D as Be, M as Pe, c as $e, T as Ve, a as We } from "../TransactionDetails-
|
|
3
|
-
import { B as ba, d as Ta, b as Aa } from "../TransactionDetails-
|
|
2
|
+
import { u as P, C as He, D as Be, M as Pe, c as $e, T as Ve, a as We } from "../TransactionDetails-Cl8xcpbh.mjs";
|
|
3
|
+
import { B as ba, d as Ta, b as Aa } from "../TransactionDetails-Cl8xcpbh.mjs";
|
|
4
4
|
import { T as M } from "../User-DaJAQ09j.mjs";
|
|
5
5
|
import { O as xa } from "../User-DaJAQ09j.mjs";
|
|
6
6
|
import { S as ee, D as Ge } from "../TransactionStore-B-Tq_YFE.mjs";
|
|
@@ -34,7 +34,7 @@ import { ExpandMore as dt } from "@mxenabled/mx-icons";
|
|
|
34
34
|
import { C as ut } from "../CurrencyInput-CRtdzs3o.mjs";
|
|
35
35
|
import { a as mt, u as _t } from "../CategorySelectorDrawer-BmenK5bu.mjs";
|
|
36
36
|
import { b as ae } from "../Localization-2MODESHW.mjs";
|
|
37
|
-
import { A as T, W as pt } from "../WidgetContainer-
|
|
37
|
+
import { A as T, W as pt } from "../WidgetContainer-hsbxZmZB.mjs";
|
|
38
38
|
import { u as gt } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
39
39
|
import { S as ht } from "../SearchBox-B2_zLv8-.mjs";
|
|
40
40
|
import { D as ne } from "../Drawer-kEE73B87.mjs";
|
package/dist/trends/index.es.js
CHANGED
|
@@ -21,13 +21,13 @@ import { c as Me } from "../Category-CevNQ03n.mjs";
|
|
|
21
21
|
import { b as lt } from "../Localization-2MODESHW.mjs";
|
|
22
22
|
import { H as be } from "../HeaderCell-DjuifqHJ.mjs";
|
|
23
23
|
import { T as A, b as dt } from "../ViewMoreMicroCard-BAz2NyEO.mjs";
|
|
24
|
-
import { A as y, W as Ae } from "../WidgetContainer-
|
|
25
|
-
import { a as Re, T as ke } from "../TransactionDetails-
|
|
24
|
+
import { A as y, W as Ae } from "../WidgetContainer-hsbxZmZB.mjs";
|
|
25
|
+
import { a as Re, T as ke } from "../TransactionDetails-Cl8xcpbh.mjs";
|
|
26
26
|
import { D as Ce } from "../Drawer-kEE73B87.mjs";
|
|
27
27
|
import { L as J } from "../Loader-DUaFpDGv.mjs";
|
|
28
28
|
import { useTheme as Ne } from "@mui/material/styles";
|
|
29
29
|
import { L as Te } from "../LineChart-B2Y7zwMu.mjs";
|
|
30
|
-
import { M as ht } from "../MiniWidgetContainer-
|
|
30
|
+
import { M as ht } from "../MiniWidgetContainer-Bg0bELc2.mjs";
|
|
31
31
|
import { subMonths as ut } from "date-fns";
|
|
32
32
|
import { TrendingUp as mt, TrendingDown as gt, MultilineChart as pt, ExpandLess as Ct, ExpandMore as ft } from "@mxenabled/mx-icons";
|
|
33
33
|
import { a as Tt, f as Z } from "../NumberFormatting-CtWHhyBX.mjs";
|
package/package.json
CHANGED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { jsxs as h, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import f from "@mui/material/Button";
|
|
3
|
-
import u from "@mui/material/Card";
|
|
4
|
-
import x from "@mui/material/CardHeader";
|
|
5
|
-
import g from "@mui/material/CardContent";
|
|
6
|
-
import b from "@mui/material/IconButton";
|
|
7
|
-
import { Icon as C, ChevronRight as v } from "@mxenabled/mx-icons";
|
|
8
|
-
import { Text as W, H3 as H } from "@mxenabled/mxui";
|
|
9
|
-
import { u as I } from "./useDimensions-27p2evRx.mjs";
|
|
10
|
-
import { W as M } from "./hooks-CE2TKk4a.mjs";
|
|
11
|
-
const j = ({
|
|
12
|
-
className: t = "mx-cmn-mini-widget",
|
|
13
|
-
closeLabel: a,
|
|
14
|
-
children: m,
|
|
15
|
-
onClose: i,
|
|
16
|
-
onPrimaryCtaClick: o,
|
|
17
|
-
primaryCtaLabel: d = "",
|
|
18
|
-
subTitle: n = "",
|
|
19
|
-
sx: l = {},
|
|
20
|
-
title: e = ""
|
|
21
|
-
}) => {
|
|
22
|
-
const [s, { height: c, width: p }] = I();
|
|
23
|
-
return /* @__PURE__ */ h(u, { className: t, sx: { ...l }, children: [
|
|
24
|
-
/* @__PURE__ */ r(
|
|
25
|
-
x,
|
|
26
|
-
{
|
|
27
|
-
action: i ? /* @__PURE__ */ r(b, { "aria-label": a, onClick: i, children: /* @__PURE__ */ r(C, { name: "close", size: 24 }) }) : o && /* @__PURE__ */ r(f, { endIcon: /* @__PURE__ */ r(v, {}), onClick: o, children: /* @__PURE__ */ r(W, { bold: !0, variant: "Small", children: d }) }),
|
|
28
|
-
subheader: n || null,
|
|
29
|
-
subheaderTypographyProps: { variant: "Small" },
|
|
30
|
-
sx: { pb: 4 },
|
|
31
|
-
title: e ? /* @__PURE__ */ r(H, { sx: { pb: 4 }, children: e }) : null
|
|
32
|
-
}
|
|
33
|
-
),
|
|
34
|
-
/* @__PURE__ */ r(g, { ref: s, sx: { p: 0 }, children: /* @__PURE__ */ r(M, { availableHeight: c, availableWidth: p, children: m }) })
|
|
35
|
-
] });
|
|
36
|
-
}, $ = j;
|
|
37
|
-
export {
|
|
38
|
-
$ as M
|
|
39
|
-
};
|