@mx-cartographer/experiences 7.0.28 → 7.0.29-alpha.mega2
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 +4 -0
- package/dist/{AccountDetailsContent-BZAbCT6q.mjs → AccountDetailsContent-B8BSf9Bj.mjs} +2 -2
- package/dist/{ManageIncome-CFh-N0KK.mjs → ManageIncome-BFy5tz8l.mjs} +2 -2
- package/dist/{RecurringSettings-C9TjSuS_.mjs → RecurringSettings-FbiLpjT5.mjs} +2 -2
- package/dist/{TransactionDetails-C2gYzV0z.mjs → TransactionDetails-D7Nx839i.mjs} +1 -1
- package/dist/{WidgetContainer-Bn6JPnY3.mjs → WidgetContainer-D3Y1NrBT.mjs} +150 -139
- package/dist/accounts/index.es.js +3 -3
- package/dist/budgets/index.es.js +3 -3
- package/dist/cashflow/index.es.js +4 -4
- package/dist/common/index.es.js +1 -1
- 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 +5 -5
- package/dist/settings/index.es.js +1 -1
- package/dist/spending/index.es.js +2 -2
- package/dist/transactions/index.es.js +3 -3
- package/dist/trends/index.es.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -14,7 +14,7 @@ import w from "@mui/material/ListItemText";
|
|
|
14
14
|
import { u as D } from "./AccountDetailsHeader-DXTi1p0V.mjs";
|
|
15
15
|
import { c as z, u as E, f as O, g as X } from "./hooks-DlI63qSB.mjs";
|
|
16
16
|
import { A as at } from "./AccountListItem-CnE3rCVZ.mjs";
|
|
17
|
-
import { A as k } from "./WidgetContainer-
|
|
17
|
+
import { A as k } from "./WidgetContainer-D3Y1NrBT.mjs";
|
|
18
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";
|
|
@@ -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-D7Nx839i.mjs";
|
|
48
48
|
import { T as K } 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 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-D7Nx839i.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,7 +25,7 @@ import { LocalizationProvider as we } from "@mui/x-date-pickers/LocalizationProv
|
|
|
25
25
|
import { u as w, i as M, f as F, a as Ae, g as Z, o as De } from "./hooks-DlI63qSB.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-D3Y1NrBT.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";
|
|
@@ -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-BFy5tz8l.mjs";
|
|
11
11
|
import { u as h, i as y, f as _ } from "./hooks-DlI63qSB.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-D3Y1NrBT.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, {
|
|
@@ -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-D3Y1NrBT.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,42 +1,43 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
import { observer as
|
|
1
|
+
import { jsxs as I, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import s from "react";
|
|
3
|
+
import { observer as ce } from "mobx-react-lite";
|
|
4
4
|
import M from "@mui/material/Button";
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
5
|
+
import X from "@mui/material/Box";
|
|
6
|
+
import re from "@mui/material/Card";
|
|
7
|
+
import oe from "@mui/material/CardHeader";
|
|
8
|
+
import se from "@mui/material/CardContent";
|
|
9
9
|
import Z from "@mui/material/Divider";
|
|
10
10
|
import F from "@mui/material/IconButton";
|
|
11
11
|
import Y from "@mui/material/Stack";
|
|
12
|
-
import { Icon as
|
|
13
|
-
import { u as
|
|
14
|
-
import { L as
|
|
15
|
-
import { f as
|
|
16
|
-
import { u as
|
|
12
|
+
import { Icon as l, Text as z, DateRangePicker as q, H1 as le, H3 as Ce } from "@mxenabled/mxui";
|
|
13
|
+
import { u as de } from "./useDimensions-27p2evRx.mjs";
|
|
14
|
+
import { L as Te } from "./Loader-DUaFpDGv.mjs";
|
|
15
|
+
import { f as Ie, a as Ee, u as Re, W as Ae } from "./hooks-DlI63qSB.mjs";
|
|
16
|
+
import { u as ie } from "./useScreenSize-B6JyS_Lj.mjs";
|
|
17
17
|
import { addMonths as J } from "date-fns/addMonths";
|
|
18
18
|
import { addDays as ge } from "date-fns/addDays";
|
|
19
19
|
import { addYears as Q } from "date-fns/addYears";
|
|
20
|
-
import { differenceInCalendarDays as
|
|
20
|
+
import { differenceInCalendarDays as ue } from "date-fns/differenceInCalendarDays";
|
|
21
|
+
import { endOfDay as ee } from "date-fns/endOfDay";
|
|
21
22
|
import { endOfMonth as V } from "date-fns/endOfMonth";
|
|
22
|
-
import { endOfToday as
|
|
23
|
+
import { endOfToday as te } from "date-fns/endOfToday";
|
|
23
24
|
import { endOfYear as Se } from "date-fns/endOfYear";
|
|
24
|
-
import { startOfMonth as
|
|
25
|
-
import { startOfToday as
|
|
26
|
-
import { startOfYear as
|
|
27
|
-
import { subMonths as
|
|
28
|
-
import { subDays as
|
|
29
|
-
import { subYears as
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import
|
|
25
|
+
import { startOfMonth as Ne } from "date-fns/startOfMonth";
|
|
26
|
+
import { startOfToday as me } from "date-fns/startOfToday";
|
|
27
|
+
import { startOfYear as Le } from "date-fns/startOfYear";
|
|
28
|
+
import { subMonths as j } from "date-fns/subMonths";
|
|
29
|
+
import { subDays as De } from "date-fns/subDays";
|
|
30
|
+
import { subYears as _e } from "date-fns/subYears";
|
|
31
|
+
import pe from "@mui/material/ButtonGroup";
|
|
32
|
+
import ke from "@mui/material/Tab";
|
|
33
|
+
import Oe from "@mui/material/Tabs";
|
|
33
34
|
import he from "@mui/material/ToggleButton";
|
|
34
|
-
import
|
|
35
|
-
import
|
|
36
|
-
import { f as K, D as G, a as
|
|
37
|
-
import { D as
|
|
38
|
-
import { i as
|
|
39
|
-
const
|
|
35
|
+
import fe from "@mui/material/ToggleButtonGroup";
|
|
36
|
+
import be from "@mui/material/styles/useTheme";
|
|
37
|
+
import { f as K, D as G, a as we } from "./Dialog-CWW597AF.mjs";
|
|
38
|
+
import { D as Ke } from "./Drawer-kEE73B87.mjs";
|
|
39
|
+
import { i as Ge, j as Me } from "./ConnectDrawer-D86nRDxQ.mjs";
|
|
40
|
+
const We = {
|
|
40
41
|
ACCOUNTS_CLICK_ACCOUNT: "accounts_widget_click_account",
|
|
41
42
|
ACCOUNTS_CLICK_CONNECT: "accounts_widget_click_connect_accounts",
|
|
42
43
|
ACCOUNTS_CLICK_FILTER: "accounts_widget_click_filter_accounts",
|
|
@@ -155,15 +156,15 @@ const Me = {
|
|
|
155
156
|
TRENDS_HOVER_LEGEND: "trends_hover_ChartLegend",
|
|
156
157
|
TRENDS_LOAD_WIDGET: "trends_load_widget",
|
|
157
158
|
TRENDS_VIEW_TRANSACTIONS: "trends_view_transactions"
|
|
158
|
-
},
|
|
159
|
+
}, ye = ({
|
|
159
160
|
calendarActions: i,
|
|
160
|
-
color:
|
|
161
|
+
color: N = "primary",
|
|
161
162
|
copy: a,
|
|
162
|
-
range:
|
|
163
|
-
shouldShrinkToIcon:
|
|
163
|
+
range: m = [Ne(me()), V(te())],
|
|
164
|
+
shouldShrinkToIcon: L = !0,
|
|
164
165
|
variant: n = "outlined"
|
|
165
166
|
}) => {
|
|
166
|
-
const W =
|
|
167
|
+
const W = be(), { isMobile: D } = ie(), [C, b] = s.useState(m), [c, y] = s.useState(a.dateRangePickerCopy.dateRangeThisMonth), [r, p] = s.useState(C), [k, O] = s.useState(!1), [H, x] = s.useState(!0), [h, d] = s.useState(6), T = {
|
|
167
168
|
buttons: [
|
|
168
169
|
{ label: "3M", value: 3 },
|
|
169
170
|
{ label: "6M", value: 6 },
|
|
@@ -177,31 +178,31 @@ const Me = {
|
|
|
177
178
|
{ label: "1 Year", value: 12 }
|
|
178
179
|
]
|
|
179
180
|
};
|
|
180
|
-
|
|
181
|
-
b(
|
|
182
|
-
}, [
|
|
183
|
-
(n === "timeframebuttons" || n === "timeframetabs") && i.onRangeChanged(
|
|
181
|
+
s.useEffect(() => {
|
|
182
|
+
b(m), p(m);
|
|
183
|
+
}, [m]), s.useEffect(() => {
|
|
184
|
+
(n === "timeframebuttons" || n === "timeframetabs") && i.onRangeChanged(E());
|
|
184
185
|
}, [h]);
|
|
185
|
-
const
|
|
186
|
-
const _ = V(
|
|
187
|
-
return [V(
|
|
186
|
+
const E = () => {
|
|
187
|
+
const _ = V(te());
|
|
188
|
+
return [V(j(_, h)), _];
|
|
188
189
|
}, w = (_) => {
|
|
189
|
-
const [t,
|
|
190
|
+
const [t, o] = C, u = _ === "previous";
|
|
190
191
|
let S;
|
|
191
192
|
if (c === a.dateRangePickerCopy.dateRangeThisMonth || c === a.dateRangePickerCopy.dateRangeLastMonth)
|
|
192
193
|
S = [
|
|
193
|
-
|
|
194
|
-
V(
|
|
194
|
+
u ? j(t, 1) : J(t, 1),
|
|
195
|
+
V(u ? j(o, 1) : J(o, 1))
|
|
195
196
|
];
|
|
196
197
|
else if (c === a.dateRangePickerCopy.dateRangeYTD || c === a.dateRangePickerCopy.dateRangeLastYear) {
|
|
197
|
-
const
|
|
198
|
+
const R = Le(t), A = Se(t);
|
|
198
199
|
S = [
|
|
199
|
-
|
|
200
|
-
|
|
200
|
+
u ? _e(R, 1) : Q(R, 1),
|
|
201
|
+
u ? _e(A, 1) : Q(A, 1)
|
|
201
202
|
];
|
|
202
203
|
} else {
|
|
203
|
-
const
|
|
204
|
-
S = [
|
|
204
|
+
const R = ue(o, t), A = u ? De : ge;
|
|
205
|
+
S = [A(t, R), A(o, R)];
|
|
205
206
|
}
|
|
206
207
|
b(S), i.onRangeChanged(S);
|
|
207
208
|
}, v = () => {
|
|
@@ -209,33 +210,33 @@ const Me = {
|
|
|
209
210
|
c === a.dateRangePickerCopy.dateRangeThisMonth || c === a.dateRangePickerCopy.dateRangeLastMonth
|
|
210
211
|
), i.onRangeChanged(r);
|
|
211
212
|
}, U = (_) => {
|
|
212
|
-
|
|
213
|
+
d(_);
|
|
213
214
|
};
|
|
214
|
-
return /* @__PURE__ */
|
|
215
|
-
/* @__PURE__ */
|
|
216
|
-
|
|
215
|
+
return /* @__PURE__ */ I(X, { className: "mx-cmn-date-range-selector", m: 4, children: [
|
|
216
|
+
/* @__PURE__ */ I(
|
|
217
|
+
X,
|
|
217
218
|
{
|
|
218
219
|
sx: {
|
|
219
220
|
[W.breakpoints.down("sm")]: {
|
|
220
|
-
display:
|
|
221
|
+
display: L ? "none" : "flex",
|
|
221
222
|
justifyContent: "center"
|
|
222
223
|
},
|
|
223
224
|
[W.breakpoints.up("sm")]: { display: "inline-flex" }
|
|
224
225
|
},
|
|
225
226
|
children: [
|
|
226
|
-
n === "readonly" && /* @__PURE__ */
|
|
227
|
-
/* @__PURE__ */ e(
|
|
227
|
+
n === "readonly" && /* @__PURE__ */ I(Y, { alignItems: "center", direction: "row", gap: 8, children: [
|
|
228
|
+
/* @__PURE__ */ e(l, { name: "calendar_month", size: 24 }),
|
|
228
229
|
/* @__PURE__ */ e(z, { bold: !0, children: K(r[0], G.MONTH_DAY) }),
|
|
229
|
-
/* @__PURE__ */ e(
|
|
230
|
+
/* @__PURE__ */ e(l, { name: "remove" }),
|
|
230
231
|
/* @__PURE__ */ e(z, { bold: !0, children: K(r[1], G.MONTH_DAY_YEAR) })
|
|
231
232
|
] }),
|
|
232
|
-
n !== "readonly" && n !== "timeframebuttons" && n !== "timeframetabs" && /* @__PURE__ */
|
|
233
|
-
|
|
233
|
+
n !== "readonly" && n !== "timeframebuttons" && n !== "timeframetabs" && /* @__PURE__ */ I(
|
|
234
|
+
pe,
|
|
234
235
|
{
|
|
235
|
-
color:
|
|
236
|
+
color: N,
|
|
236
237
|
sx: {
|
|
237
238
|
"& .MuiButtonGroup-grouped": {
|
|
238
|
-
padding:
|
|
239
|
+
padding: D ? 0 : 12
|
|
239
240
|
},
|
|
240
241
|
"& .MuiButtonGroup-middleButton": {
|
|
241
242
|
px: 24
|
|
@@ -251,24 +252,24 @@ const Me = {
|
|
|
251
252
|
"aria-label": a.dateRangePreviousAria,
|
|
252
253
|
color: i.shouldDisablePrevious ? "secondary" : "primary",
|
|
253
254
|
onClick: () => i.shouldDisablePrevious ? null : w("previous"),
|
|
254
|
-
children: /* @__PURE__ */ e(
|
|
255
|
+
children: /* @__PURE__ */ e(l, { name: "chevron_left", size: 20 })
|
|
255
256
|
}
|
|
256
257
|
),
|
|
257
258
|
/* @__PURE__ */ e(
|
|
258
259
|
M,
|
|
259
260
|
{
|
|
260
261
|
"aria-disabled": i.shouldDisablePicker,
|
|
261
|
-
color:
|
|
262
|
-
onClick: () => i.shouldDisablePicker ? null :
|
|
263
|
-
startIcon: /* @__PURE__ */ e(
|
|
262
|
+
color: N,
|
|
263
|
+
onClick: () => i.shouldDisablePicker ? null : O(!0),
|
|
264
|
+
startIcon: /* @__PURE__ */ e(l, { name: "calendar_month", size: 20 }),
|
|
264
265
|
sx: {
|
|
265
|
-
p:
|
|
266
|
+
p: D ? 0 : 8
|
|
266
267
|
},
|
|
267
|
-
children: H ? K(
|
|
268
|
-
K(
|
|
268
|
+
children: H ? K(C[0], G.MONTH_YEAR) : /* @__PURE__ */ I("span", { children: [
|
|
269
|
+
K(C[0], G.MONTH_DAY_YEAR),
|
|
269
270
|
" -",
|
|
270
271
|
" ",
|
|
271
|
-
K(
|
|
272
|
+
K(C[1], G.MONTH_DAY_YEAR)
|
|
272
273
|
] })
|
|
273
274
|
}
|
|
274
275
|
),
|
|
@@ -279,20 +280,20 @@ const Me = {
|
|
|
279
280
|
"aria-label": a.dateRangeNextAria,
|
|
280
281
|
color: i.shouldDisableNext ? "secondary" : "primary",
|
|
281
282
|
onClick: () => i.shouldDisableNext ? null : w("next"),
|
|
282
|
-
children: /* @__PURE__ */ e(
|
|
283
|
+
children: /* @__PURE__ */ e(l, { name: "chevron_right", size: 20 })
|
|
283
284
|
}
|
|
284
285
|
)
|
|
285
286
|
]
|
|
286
287
|
}
|
|
287
288
|
),
|
|
288
289
|
n === "timeframebuttons" && /* @__PURE__ */ e(
|
|
289
|
-
|
|
290
|
+
fe,
|
|
290
291
|
{
|
|
291
|
-
color:
|
|
292
|
+
color: N,
|
|
292
293
|
exclusive: !0,
|
|
293
294
|
orientation: "horizontal",
|
|
294
295
|
value: h,
|
|
295
|
-
children:
|
|
296
|
+
children: T.buttons.map((_) => /* @__PURE__ */ e(
|
|
296
297
|
he,
|
|
297
298
|
{
|
|
298
299
|
onClick: () => U(_.value),
|
|
@@ -305,15 +306,15 @@ const Me = {
|
|
|
305
306
|
}
|
|
306
307
|
),
|
|
307
308
|
n === "timeframetabs" && /* @__PURE__ */ e(
|
|
308
|
-
|
|
309
|
+
Oe,
|
|
309
310
|
{
|
|
310
311
|
indicatorColor: "primary",
|
|
311
312
|
onChange: (_, t) => U(t),
|
|
312
313
|
textColor: "primary",
|
|
313
314
|
value: h,
|
|
314
315
|
variant: "fullWidth",
|
|
315
|
-
children:
|
|
316
|
-
|
|
316
|
+
children: T.tabs.map((_) => /* @__PURE__ */ e(
|
|
317
|
+
ke,
|
|
317
318
|
{
|
|
318
319
|
label: /* @__PURE__ */ e(z, { bold: !0, variant: "Body", children: _.label }),
|
|
319
320
|
sx: { minWidth: 80 },
|
|
@@ -326,14 +327,14 @@ const Me = {
|
|
|
326
327
|
]
|
|
327
328
|
}
|
|
328
329
|
),
|
|
329
|
-
|
|
330
|
-
|
|
330
|
+
k && D && /* @__PURE__ */ e(
|
|
331
|
+
Ke,
|
|
331
332
|
{
|
|
332
333
|
ariaLabelClose: a.dateRangeCloseAria,
|
|
333
|
-
isOpen:
|
|
334
|
-
onClose: () =>
|
|
334
|
+
isOpen: k,
|
|
335
|
+
onClose: () => O(!1),
|
|
335
336
|
onPrimaryAction: () => {
|
|
336
|
-
v(),
|
|
337
|
+
v(), O(!1);
|
|
337
338
|
},
|
|
338
339
|
primaryText: a.dateRangeEditApply,
|
|
339
340
|
title: a.dateRangeEditTitle,
|
|
@@ -343,7 +344,12 @@ const Me = {
|
|
|
343
344
|
copy: a.dateRangePickerCopy,
|
|
344
345
|
dateRange: r,
|
|
345
346
|
onRangeChanged: (_, t) => {
|
|
346
|
-
_[0] && !_[1] && (_[1] = _[0])
|
|
347
|
+
_[0] && !_[1] && (_[1] = _[0]);
|
|
348
|
+
const o = [
|
|
349
|
+
_[0],
|
|
350
|
+
_[1] ? ee(_[1]) : _[1]
|
|
351
|
+
];
|
|
352
|
+
p(o), y(t);
|
|
347
353
|
},
|
|
348
354
|
selectedShortcut: c,
|
|
349
355
|
sx: { p: 16 }
|
|
@@ -351,12 +357,12 @@ const Me = {
|
|
|
351
357
|
)
|
|
352
358
|
}
|
|
353
359
|
),
|
|
354
|
-
|
|
355
|
-
|
|
360
|
+
k && !D && /* @__PURE__ */ e(
|
|
361
|
+
we,
|
|
356
362
|
{
|
|
357
363
|
copy: { title: a.dateRangeEditTitle },
|
|
358
364
|
isOpen: !0,
|
|
359
|
-
onClose: () =>
|
|
365
|
+
onClose: () => O(!1),
|
|
360
366
|
onPrimaryAction: () => v(),
|
|
361
367
|
primaryText: a.dateRangeEditApply,
|
|
362
368
|
sx: {
|
|
@@ -370,7 +376,12 @@ const Me = {
|
|
|
370
376
|
copy: a.dateRangePickerCopy,
|
|
371
377
|
dateRange: r,
|
|
372
378
|
onRangeChanged: (_, t) => {
|
|
373
|
-
_[0] && !_[1] && (_[1] = _[0])
|
|
379
|
+
_[0] && !_[1] && (_[1] = _[0]);
|
|
380
|
+
const o = [
|
|
381
|
+
_[0],
|
|
382
|
+
_[1] ? ee(_[1]) : _[1]
|
|
383
|
+
];
|
|
384
|
+
p(o), y(t);
|
|
374
385
|
},
|
|
375
386
|
selectedShortcut: c,
|
|
376
387
|
sx: {
|
|
@@ -384,26 +395,26 @@ const Me = {
|
|
|
384
395
|
}
|
|
385
396
|
)
|
|
386
397
|
] });
|
|
387
|
-
},
|
|
398
|
+
}, ae = ye, xe = ({
|
|
388
399
|
accountOptions: i,
|
|
389
|
-
actions:
|
|
400
|
+
actions: N = [],
|
|
390
401
|
calendarActions: a,
|
|
391
|
-
children:
|
|
392
|
-
dateRange:
|
|
402
|
+
children: m,
|
|
403
|
+
dateRange: L,
|
|
393
404
|
dateRangeVariant: n,
|
|
394
405
|
className: W = "mx-cmn-widget",
|
|
395
|
-
hasDivider:
|
|
396
|
-
onBackClick:
|
|
406
|
+
hasDivider: D = !1,
|
|
407
|
+
onBackClick: C,
|
|
397
408
|
onAccountsFilterClick: b,
|
|
398
409
|
showDividerAboveDateSelector: c = !0,
|
|
399
410
|
sx: y = {},
|
|
400
411
|
title: r = ""
|
|
401
412
|
}) => {
|
|
402
|
-
const [
|
|
403
|
-
|
|
413
|
+
const [p, k] = s.useState(!1), [O, { height: H, width: x }] = de(), { onEvent: h } = Ie(), { isDesktop: d, isMobile: T, isTablet: E } = ie(x), { displayedDateRange: w, isCopyLoaded: v, selectedAccountGuids: U, setSelectedAccountGuids: _ } = Ee(), { common: t, connect: o } = Re(), u = () => {
|
|
414
|
+
C && (C(), h(We.WIDGET_BACK_CLICK));
|
|
404
415
|
};
|
|
405
416
|
if (!v)
|
|
406
|
-
return /* @__PURE__ */ e(
|
|
417
|
+
return /* @__PURE__ */ e(Te, {});
|
|
407
418
|
const S = {
|
|
408
419
|
accountFilterOptionsCopy: {
|
|
409
420
|
accountTypeAccounts: t.account_filter.account_type_accounts,
|
|
@@ -418,7 +429,7 @@ const Me = {
|
|
|
418
429
|
zeroStateTitle: t.account_filter.zero_state_title
|
|
419
430
|
},
|
|
420
431
|
title: t.account_filter.title
|
|
421
|
-
},
|
|
432
|
+
}, R = {
|
|
422
433
|
dateRangePickerCopy: {
|
|
423
434
|
dateRangeFrom: t.date_range_picker.from,
|
|
424
435
|
dateRangeTo: t.date_range_picker.to,
|
|
@@ -436,39 +447,39 @@ const Me = {
|
|
|
436
447
|
dateRangeEditTitle: t.date_range_picker.edit_title,
|
|
437
448
|
dateRangeNextAria: t.date_range_picker.next_aria,
|
|
438
449
|
dateRangePreviousAria: t.date_range_picker.previous_aria
|
|
439
|
-
},
|
|
440
|
-
return /* @__PURE__ */
|
|
441
|
-
|
|
450
|
+
}, A = L ? L.start : w.start, $ = L ? L.end : w.end, ne = N?.length > 1;
|
|
451
|
+
return /* @__PURE__ */ I(
|
|
452
|
+
re,
|
|
442
453
|
{
|
|
443
454
|
className: W,
|
|
444
455
|
sx: {
|
|
445
|
-
...
|
|
456
|
+
...T && { px: 4 },
|
|
446
457
|
"& .mx-cmn-date-range-selector": {
|
|
447
|
-
...(
|
|
458
|
+
...(T || E) && { textAlign: "center" }
|
|
448
459
|
},
|
|
449
460
|
...y
|
|
450
461
|
},
|
|
451
462
|
children: [
|
|
452
463
|
r && /* @__PURE__ */ e(
|
|
453
|
-
|
|
464
|
+
oe,
|
|
454
465
|
{
|
|
455
|
-
action: /* @__PURE__ */
|
|
456
|
-
|
|
457
|
-
|
|
466
|
+
action: /* @__PURE__ */ I(Y, { alignItems: "center", flexDirection: "row", children: [
|
|
467
|
+
d && a && /* @__PURE__ */ e(X, { sx: { flexGrow: 1 }, children: /* @__PURE__ */ e(
|
|
468
|
+
ae,
|
|
458
469
|
{
|
|
459
470
|
calendarActions: a,
|
|
460
|
-
copy:
|
|
461
|
-
range: [
|
|
471
|
+
copy: R,
|
|
472
|
+
range: [A, $],
|
|
462
473
|
shouldShrinkToIcon: !1,
|
|
463
474
|
variant: n
|
|
464
475
|
}
|
|
465
476
|
) }),
|
|
466
477
|
i && /* @__PURE__ */ e(
|
|
467
|
-
|
|
478
|
+
Ge,
|
|
468
479
|
{
|
|
469
480
|
accounts: i,
|
|
470
481
|
copy: S,
|
|
471
|
-
onConnectAccountClick: () =>
|
|
482
|
+
onConnectAccountClick: () => k(!0),
|
|
472
483
|
onFilterClick: (f) => {
|
|
473
484
|
_(f), b?.(f);
|
|
474
485
|
},
|
|
@@ -477,86 +488,86 @@ const Me = {
|
|
|
477
488
|
variant: "text"
|
|
478
489
|
}
|
|
479
490
|
),
|
|
480
|
-
|
|
481
|
-
if (
|
|
491
|
+
N?.map((f) => {
|
|
492
|
+
if (s.isValidElement(f)) return f;
|
|
482
493
|
const { iconName: g, onClick: P, label: B } = f;
|
|
483
|
-
return
|
|
494
|
+
return ne ? d || E ? /* @__PURE__ */ e(
|
|
484
495
|
M,
|
|
485
496
|
{
|
|
486
497
|
onClick: P,
|
|
487
|
-
startIcon: /* @__PURE__ */ e(
|
|
498
|
+
startIcon: /* @__PURE__ */ e(l, { name: g, size: 24 }),
|
|
488
499
|
sx: { my: 4 },
|
|
489
500
|
children: B
|
|
490
501
|
},
|
|
491
502
|
g
|
|
492
|
-
) : /* @__PURE__ */ e(F, { "aria-label": B, color: "primary", onClick: P, children: /* @__PURE__ */ e(
|
|
503
|
+
) : /* @__PURE__ */ e(F, { "aria-label": B, color: "primary", onClick: P, children: /* @__PURE__ */ e(l, { name: g, size: 24 }) }, g) : d || E ? /* @__PURE__ */ e(
|
|
493
504
|
M,
|
|
494
505
|
{
|
|
495
506
|
onClick: P,
|
|
496
|
-
startIcon: /* @__PURE__ */ e(
|
|
507
|
+
startIcon: /* @__PURE__ */ e(l, { name: g, size: 24 }),
|
|
497
508
|
sx: { my: 4 },
|
|
498
509
|
children: B
|
|
499
510
|
},
|
|
500
511
|
g
|
|
501
|
-
) : /* @__PURE__ */ e(F, { "aria-label": B, color: "primary", onClick: P, children: /* @__PURE__ */ e(
|
|
512
|
+
) : /* @__PURE__ */ e(F, { "aria-label": B, color: "primary", onClick: P, children: /* @__PURE__ */ e(l, { name: g, size: 24 }) }, g);
|
|
502
513
|
})
|
|
503
514
|
] }),
|
|
504
515
|
sx: {
|
|
505
|
-
p:
|
|
516
|
+
p: d ? 48 : 24,
|
|
506
517
|
pb: 0,
|
|
507
518
|
"& .MuiCardHeader-action": {
|
|
508
519
|
mr: 0,
|
|
509
|
-
...a &&
|
|
510
|
-
...(
|
|
520
|
+
...a && d && { flexGrow: 1 },
|
|
521
|
+
...(T || E) && { alignSelf: "center" }
|
|
511
522
|
},
|
|
512
523
|
"& .MuiCardHeader-content": {
|
|
513
524
|
overflow: "hidden"
|
|
514
525
|
}
|
|
515
526
|
},
|
|
516
|
-
title:
|
|
517
|
-
|
|
527
|
+
title: d || E ? /* @__PURE__ */ e(le, { children: r }) : /* @__PURE__ */ I(Y, { alignItems: "center", flexDirection: "row", sx: { overflow: "hidden" }, children: [
|
|
528
|
+
T && C && /* @__PURE__ */ e(
|
|
518
529
|
F,
|
|
519
530
|
{
|
|
520
531
|
"aria-label": t.back_to_dashboard,
|
|
521
532
|
color: "primary",
|
|
522
|
-
onClick:
|
|
533
|
+
onClick: u,
|
|
523
534
|
sx: { p: 12, mr: 4 },
|
|
524
|
-
children: /* @__PURE__ */ e(
|
|
535
|
+
children: /* @__PURE__ */ e(l, { name: "arrow_back", size: 24 })
|
|
525
536
|
}
|
|
526
537
|
),
|
|
527
|
-
/* @__PURE__ */ e(
|
|
538
|
+
/* @__PURE__ */ e(Ce, { children: r })
|
|
528
539
|
] })
|
|
529
540
|
}
|
|
530
541
|
),
|
|
531
|
-
|
|
532
|
-
a && (
|
|
542
|
+
D && /* @__PURE__ */ e(Z, { sx: { mt: d ? 48 : 24 } }),
|
|
543
|
+
a && (T || E) && /* @__PURE__ */ I(Y, { gap: 24, justifyContent: "center", sx: { mt: T ? 0 : 16 }, children: [
|
|
533
544
|
c && /* @__PURE__ */ e(Z, {}),
|
|
534
545
|
/* @__PURE__ */ e(
|
|
535
|
-
|
|
546
|
+
ae,
|
|
536
547
|
{
|
|
537
548
|
calendarActions: a,
|
|
538
|
-
copy:
|
|
539
|
-
range: [
|
|
549
|
+
copy: R,
|
|
550
|
+
range: [A, $],
|
|
540
551
|
shouldShrinkToIcon: !1,
|
|
541
552
|
variant: n
|
|
542
553
|
}
|
|
543
554
|
)
|
|
544
555
|
] }),
|
|
545
|
-
|
|
546
|
-
|
|
556
|
+
p && /* @__PURE__ */ e(
|
|
557
|
+
Me,
|
|
547
558
|
{
|
|
548
|
-
onClose: () =>
|
|
549
|
-
showConnectWidget:
|
|
550
|
-
title:
|
|
559
|
+
onClose: () => k(!1),
|
|
560
|
+
showConnectWidget: p,
|
|
561
|
+
title: o.mini_title
|
|
551
562
|
}
|
|
552
563
|
),
|
|
553
|
-
/* @__PURE__ */ e(
|
|
564
|
+
/* @__PURE__ */ e(se, { ref: O, sx: { p: 0 }, children: /* @__PURE__ */ e(Ae, { availableHeight: H, availableWidth: x, children: m }) })
|
|
554
565
|
]
|
|
555
566
|
}
|
|
556
567
|
);
|
|
557
|
-
},
|
|
568
|
+
}, Lt = ce(xe);
|
|
558
569
|
export {
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
570
|
+
We as A,
|
|
571
|
+
ae as D,
|
|
572
|
+
Lt as W
|
|
562
573
|
};
|
|
@@ -7,14 +7,14 @@ import E from "@mui/material/List";
|
|
|
7
7
|
import T from "@mui/material/ListSubheader";
|
|
8
8
|
import x from "@mui/system/Stack";
|
|
9
9
|
import { Text as v } from "@mxenabled/mxui";
|
|
10
|
-
import { A as G } from "../AccountDetailsContent-
|
|
11
|
-
import { u as O1 } from "../AccountDetailsContent-
|
|
10
|
+
import { A as G } from "../AccountDetailsContent-B8BSf9Bj.mjs";
|
|
11
|
+
import { u as O1 } from "../AccountDetailsContent-B8BSf9Bj.mjs";
|
|
12
12
|
import { u as K, A as z } from "../AccountDetailsHeader-DXTi1p0V.mjs";
|
|
13
13
|
import { A as W } from "../AccountListItem-CnE3rCVZ.mjs";
|
|
14
14
|
import { u as g, a as y, c as O, f as N, m as P } from "../hooks-DlI63qSB.mjs";
|
|
15
15
|
import { f as I } from "../NumberFormatting-CtWHhyBX.mjs";
|
|
16
16
|
import { D as Y } from "../Drawer-kEE73B87.mjs";
|
|
17
|
-
import { A, W as q } from "../WidgetContainer-
|
|
17
|
+
import { A, W as q } from "../WidgetContainer-D3Y1NrBT.mjs";
|
|
18
18
|
import { C as J } from "../ConnectionsDrawer-BkNr5Up0.mjs";
|
|
19
19
|
import { u as Q } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
20
20
|
import { L as R } from "../Loader-DUaFpDGv.mjs";
|
package/dist/budgets/index.es.js
CHANGED
|
@@ -15,7 +15,7 @@ import { h as w, l as j, u as D, f as X, a as ee, p as ze, i as te, g as ne, m 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-D3Y1NrBT.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";
|
|
@@ -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-zyHeWfQo.mjs";
|
|
40
|
-
import { T as xe, a as Je } from "../TransactionDetails-
|
|
40
|
+
import { T as xe, a as Je } from "../TransactionDetails-D7Nx839i.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-joMax4Fb.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-BFy5tz8l.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;
|
|
@@ -17,7 +17,7 @@ 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
19
|
import { M as Qe } from "../MiniWidgetContainer-BzW7V_04.mjs";
|
|
20
|
-
import { R as Ve } from "../RecurringSettings-
|
|
20
|
+
import { R as Ve } from "../RecurringSettings-FbiLpjT5.mjs";
|
|
21
21
|
import Ke from "@mui/material/Tabs";
|
|
22
22
|
import Ce from "@mui/material/Tab";
|
|
23
23
|
import { getUnixTime as U } from "date-fns/getUnixTime";
|
|
@@ -34,17 +34,17 @@ import { addDays as _e } 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 we } from "../TabContentContainer-j01JYR_7.mjs";
|
|
37
|
-
import { M as ot, S as it, i as at, d as Se, c as rt } from "../ManageIncome-
|
|
37
|
+
import { M as ot, S as it, i as at, d as Se, c as rt } from "../ManageIncome-BFy5tz8l.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 ye } 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-D7Nx839i.mjs";
|
|
44
44
|
import { F as mt, R as Ie, e as De } from "../RepeatingTransaction-BW4J-jeJ.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-D3Y1NrBT.mjs";
|
|
48
48
|
import { F as pt, A as B } from "../Fetch-CkFKy79O.mjs";
|
|
49
49
|
const K = () => {
|
|
50
50
|
if (!m.useContext(Ye))
|
package/dist/common/index.es.js
CHANGED
|
@@ -12,7 +12,7 @@ import { H as rt } from "../Help-DhcC-C05.mjs";
|
|
|
12
12
|
import { E as _s } from "../Help-DhcC-C05.mjs";
|
|
13
13
|
import { M as fs } from "../MicroWidgetContainer-DPDsZIiS.mjs";
|
|
14
14
|
import { M as bs } from "../MiniWidgetContainer-BzW7V_04.mjs";
|
|
15
|
-
import { A as xs, D as Cs, W as Ds } from "../WidgetContainer-
|
|
15
|
+
import { A as xs, D as Cs, W as Ds } from "../WidgetContainer-D3Y1NrBT.mjs";
|
|
16
16
|
import { i as As, a as Es, e as Ts, l as Bs, A as Is, f as Ns, j as Fs, d as Ms, k as $s, E as Rs, h as Us, N as ks, g as Ls, P as Os, m as Gs, S as Hs } from "../ConnectDrawer-D86nRDxQ.mjs";
|
|
17
17
|
import { C as qs } from "../CurrencyInput-BkflFU_-.mjs";
|
|
18
18
|
import { L as Qs } 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-D3Y1NrBT.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-BkNr5Up0.mjs";
|
|
33
|
-
import { R as Je } from "../RecurringSettings-
|
|
33
|
+
import { R as Je } from "../RecurringSettings-FbiLpjT5.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-D3Y1NrBT.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 ot from "@mui/material/ListItemIcon";
|
|
|
39
39
|
import at from "@mui/material/Checkbox";
|
|
40
40
|
import { A as ye } from "../ConnectDrawer-D86nRDxQ.mjs";
|
|
41
41
|
import { u as rt, A as it } from "../AccountDetailsHeader-DXTi1p0V.mjs";
|
|
42
|
-
import { A as st } from "../AccountDetailsContent-
|
|
42
|
+
import { A as st } from "../AccountDetailsContent-B8BSf9Bj.mjs";
|
|
43
43
|
import we from "@mui/material/TextField";
|
|
44
44
|
import { M as lt, I as ct, O as dt } from "../OriginalBalanceAction-B--pIAF0.mjs";
|
|
45
45
|
import { getUnixTime as mt } from "date-fns/getUnixTime";
|
|
@@ -48,7 +48,7 @@ import { AdapterDateFns as ut } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
|
48
48
|
import { DatePicker as pt } from "@mui/x-date-pickers";
|
|
49
49
|
import { LocalizationProvider as ht } from "@mui/x-date-pickers/LocalizationProvider";
|
|
50
50
|
import { E as bt } from "../EmptyState-C0lr9E5T.mjs";
|
|
51
|
-
import { A as Y, W as gt } from "../WidgetContainer-
|
|
51
|
+
import { A as Y, W as gt } from "../WidgetContainer-D3Y1NrBT.mjs";
|
|
52
52
|
import { L as Ke } from "../Loader-DUaFpDGv.mjs";
|
|
53
53
|
import ft from "@mui/material/Stack/Stack";
|
|
54
54
|
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-B3dFeYi2.mjs";
|
|
4
4
|
import { a as s } from "../hooks-DlI63qSB.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-D3Y1NrBT.mjs";
|
|
7
7
|
const x = 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, f as be, s as H, a as Q, c as se } from "../hooks-DlI63qSB.mjs";
|
|
20
|
-
import { A as z, W as je } from "../WidgetContainer-
|
|
20
|
+
import { A as z, W as je } from "../WidgetContainer-D3Y1NrBT.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-DWG9Mkuu.mjs";
|
|
|
23
23
|
import { N as Ot } from "../NetWorthStore-DWG9Mkuu.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-D3Y1NrBT.mjs";
|
|
27
27
|
import { L as O } from "../Loader-DUaFpDGv.mjs";
|
|
28
28
|
import { M as Ae } from "../MicroWidgetContainer-DPDsZIiS.mjs";
|
|
29
29
|
import re from "@mui/material/Box";
|
|
@@ -8,8 +8,8 @@ import { startOfToday as le } from "date-fns/startOfToday";
|
|
|
8
8
|
import { subDays as de } from "date-fns/subDays";
|
|
9
9
|
import re 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-FbiLpjT5.mjs";
|
|
12
|
+
import { M as An } from "../RecurringSettings-FbiLpjT5.mjs";
|
|
13
13
|
import { addMonths as ze } from "date-fns/addMonths";
|
|
14
14
|
import { subMonths as Be } from "date-fns/subMonths";
|
|
15
15
|
import { isBefore as Ue } from "date-fns/isBefore";
|
|
@@ -32,7 +32,7 @@ import { u as D, a as V, i as v, f as X, c as pe, g as ge, p as rt } from "../ho
|
|
|
32
32
|
import { c as M, a as R, g as De, f as ot } from "../RepeatingTransaction-BW4J-jeJ.mjs";
|
|
33
33
|
import { T as P } from "../RecurringTransactionsStore-D62XJtdL.mjs";
|
|
34
34
|
import { R as Gn } from "../RecurringTransactionsStore-D62XJtdL.mjs";
|
|
35
|
-
import { A as w, W as at } from "../WidgetContainer-
|
|
35
|
+
import { A as w, W as at } from "../WidgetContainer-D3Y1NrBT.mjs";
|
|
36
36
|
import st from "@mui/material/Button";
|
|
37
37
|
import se from "@mui/material/Divider";
|
|
38
38
|
import Se 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-BFy5tz8l.mjs";
|
|
45
|
+
import { c as On, M as kn, S as Wn } from "../ManageIncome-BFy5tz8l.mjs";
|
|
46
46
|
import { f as L } from "../NumberFormatting-CtWHhyBX.mjs";
|
|
47
47
|
import { D as Ae } from "../Drawer-kEE73B87.mjs";
|
|
48
48
|
import { b as N } from "../Localization-2MODESHW.mjs";
|
|
@@ -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-B3dFeYi2.mjs";
|
|
45
|
-
import { W as K } from "../WidgetContainer-
|
|
45
|
+
import { W as K } from "../WidgetContainer-D3Y1NrBT.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,
|
|
@@ -20,14 +20,14 @@ import { D as bt } from "../Donut-1UMNcG67.mjs";
|
|
|
20
20
|
import { L as F } from "../Loader-DUaFpDGv.mjs";
|
|
21
21
|
import { M as St } from "../MiniWidgetContainer-BzW7V_04.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-D7Nx839i.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-D3Y1NrBT.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-DbbcjI2L.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-D7Nx839i.mjs";
|
|
3
|
+
import { B as ba, d as Ta, b as Aa } from "../TransactionDetails-D7Nx839i.mjs";
|
|
4
4
|
import { T as M } from "../User-D-O9EHMb.mjs";
|
|
5
5
|
import { O as xa } from "../User-D-O9EHMb.mjs";
|
|
6
6
|
import { S as ee, D as Ge } from "../TransactionStore-CZOvxcSw.mjs";
|
|
@@ -34,7 +34,7 @@ import { ExpandMore as dt } from "@mxenabled/mx-icons";
|
|
|
34
34
|
import { C as ut } from "../CurrencyInput-BkflFU_-.mjs";
|
|
35
35
|
import { a as mt, u as _t } from "../CategorySelectorDrawer-joMax4Fb.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-D3Y1NrBT.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,8 +21,8 @@ import { c as Me } from "../Category-CevNQ03n.mjs";
|
|
|
21
21
|
import { b as rt } from "../Localization-2MODESHW.mjs";
|
|
22
22
|
import { H as be } from "../HeaderCell-DjuifqHJ.mjs";
|
|
23
23
|
import { T as A, b as at } from "../ViewMoreMicroCard-DFAY0tA8.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-D3Y1NrBT.mjs";
|
|
25
|
+
import { a as Re, T as ke } from "../TransactionDetails-D7Nx839i.mjs";
|
|
26
26
|
import { D as fe } from "../Drawer-kEE73B87.mjs";
|
|
27
27
|
import { L as Q } from "../Loader-DUaFpDGv.mjs";
|
|
28
28
|
import { useTheme as He } from "@mui/material/styles";
|