@mx-cartographer/experiences 7.0.30 → 7.0.31
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-CHtXOmHC.mjs → AccountDetailsContent-BGXM8acm.mjs} +2 -2
- package/dist/{ManageIncome-CFh-N0KK.mjs → ManageIncome-Byw3lVtR.mjs} +2 -2
- package/dist/{RecurringSettings-C9TjSuS_.mjs → RecurringSettings-ClbdFNWX.mjs} +2 -2
- package/dist/{TransactionDetails-C2gYzV0z.mjs → TransactionDetails-C4PW8SRL.mjs} +1 -1
- package/dist/{WidgetContainer-Bn6JPnY3.mjs → WidgetContainer-CBpf3h1Y.mjs} +210 -209
- 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-Dwk01nsY.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-BiST9IgK.mjs";
|
|
17
|
-
import { A as k } from "./WidgetContainer-
|
|
17
|
+
import { A as k } from "./WidgetContainer-CBpf3h1Y.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-C4PW8SRL.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-C4PW8SRL.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-CBpf3h1Y.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-Byw3lVtR.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-CBpf3h1Y.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-CBpf3h1Y.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,15 +1,15 @@
|
|
|
1
|
-
import { jsxs as T, jsx as
|
|
1
|
+
import { jsxs as T, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import o from "react";
|
|
3
3
|
import { observer as ne } from "mobx-react-lite";
|
|
4
4
|
import M from "@mui/material/Button";
|
|
5
|
-
import
|
|
5
|
+
import $ from "@mui/material/Box";
|
|
6
6
|
import ce from "@mui/material/Card";
|
|
7
7
|
import re from "@mui/material/CardHeader";
|
|
8
8
|
import oe from "@mui/material/CardContent";
|
|
9
9
|
import Z from "@mui/material/Divider";
|
|
10
|
-
import
|
|
10
|
+
import z from "@mui/material/IconButton";
|
|
11
11
|
import Y from "@mui/material/Stack";
|
|
12
|
-
import { Icon as s, Text as
|
|
12
|
+
import { Icon as s, Text as j, DateRangePicker as q, H1 as se, H3 as le } from "@mxenabled/mxui";
|
|
13
13
|
import { u as Ce } from "./useDimensions-27p2evRx.mjs";
|
|
14
14
|
import { L as de } from "./Loader-DUaFpDGv.mjs";
|
|
15
15
|
import { f as Te, a as Ie, u as Ee, W as Re } from "./hooks-DlI63qSB.mjs";
|
|
@@ -18,25 +18,26 @@ 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
20
|
import { differenceInCalendarDays as Ae } from "date-fns/differenceInCalendarDays";
|
|
21
|
+
import { endOfDay as Se } from "date-fns/endOfDay";
|
|
21
22
|
import { endOfMonth as V } from "date-fns/endOfMonth";
|
|
22
23
|
import { endOfToday as ee } from "date-fns/endOfToday";
|
|
23
|
-
import { endOfYear as
|
|
24
|
-
import { startOfMonth as
|
|
25
|
-
import { startOfToday as
|
|
26
|
-
import { startOfYear as
|
|
24
|
+
import { endOfYear as ue } from "date-fns/endOfYear";
|
|
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";
|
|
27
28
|
import { subMonths as X } from "date-fns/subMonths";
|
|
28
|
-
import { subDays as
|
|
29
|
+
import { subDays as De } from "date-fns/subDays";
|
|
29
30
|
import { subYears as te } from "date-fns/subYears";
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import
|
|
35
|
-
import
|
|
36
|
-
import { f as K, D as G, a as
|
|
37
|
-
import { D as
|
|
38
|
-
import { i as
|
|
39
|
-
const
|
|
31
|
+
import pe from "@mui/material/ButtonGroup";
|
|
32
|
+
import ke from "@mui/material/Tab";
|
|
33
|
+
import he from "@mui/material/Tabs";
|
|
34
|
+
import Oe from "@mui/material/ToggleButton";
|
|
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
|
-
calendarActions:
|
|
160
|
-
color:
|
|
161
|
-
copy:
|
|
162
|
-
range:
|
|
163
|
-
shouldShrinkToIcon:
|
|
159
|
+
}, ye = ({
|
|
160
|
+
calendarActions: a,
|
|
161
|
+
color: N = "primary",
|
|
162
|
+
copy: _,
|
|
163
|
+
range: m = [Ne(me()), V(ee())],
|
|
164
|
+
shouldShrinkToIcon: L = !0,
|
|
164
165
|
variant: n = "outlined"
|
|
165
166
|
}) => {
|
|
166
|
-
const W =
|
|
167
|
+
const W = be(), { isMobile: D } = ae(), [l, f] = o.useState(m), [c, H] = o.useState(_.dateRangePickerCopy.dateRangeThisMonth), [r, b] = o.useState(l), [p, k] = o.useState(!1), [F, y] = o.useState(!0), [h, C] = o.useState(6), d = {
|
|
167
168
|
buttons: [
|
|
168
169
|
{ label: "3M", value: 3 },
|
|
169
170
|
{ label: "6M", value: 6 },
|
|
@@ -178,64 +179,68 @@ const Me = {
|
|
|
178
179
|
]
|
|
179
180
|
};
|
|
180
181
|
o.useEffect(() => {
|
|
181
|
-
|
|
182
|
-
}, [
|
|
183
|
-
(n === "timeframebuttons" || n === "timeframetabs") &&
|
|
182
|
+
f(m), b(m);
|
|
183
|
+
}, [m]), o.useEffect(() => {
|
|
184
|
+
(n === "timeframebuttons" || n === "timeframetabs") && a.onRangeChanged(I());
|
|
184
185
|
}, [h]);
|
|
185
186
|
const I = () => {
|
|
186
|
-
const
|
|
187
|
-
return [V(X(
|
|
188
|
-
}, w = (
|
|
189
|
-
const [
|
|
190
|
-
let
|
|
191
|
-
if (c ===
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
V(
|
|
187
|
+
const e = V(ee());
|
|
188
|
+
return [V(X(e, h)), e];
|
|
189
|
+
}, w = (e) => {
|
|
190
|
+
const [i, E] = l, u = e === "previous";
|
|
191
|
+
let R;
|
|
192
|
+
if (c === _.dateRangePickerCopy.dateRangeThisMonth || c === _.dateRangePickerCopy.dateRangeLastMonth)
|
|
193
|
+
R = [
|
|
194
|
+
u ? X(i, 1) : J(i, 1),
|
|
195
|
+
V(u ? X(E, 1) : J(E, 1))
|
|
195
196
|
];
|
|
196
|
-
else if (c ===
|
|
197
|
-
const
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
197
|
+
else if (c === _.dateRangePickerCopy.dateRangeYTD || c === _.dateRangePickerCopy.dateRangeLastYear) {
|
|
198
|
+
const g = Le(i), A = ue(i);
|
|
199
|
+
R = [
|
|
200
|
+
u ? te(g, 1) : Q(g, 1),
|
|
201
|
+
u ? te(A, 1) : Q(A, 1)
|
|
201
202
|
];
|
|
202
203
|
} else {
|
|
203
|
-
const
|
|
204
|
-
|
|
204
|
+
const g = Ae(E, i), A = u ? De : ge;
|
|
205
|
+
R = [A(i, g), A(E, g)];
|
|
205
206
|
}
|
|
206
|
-
|
|
207
|
-
},
|
|
208
|
-
|
|
209
|
-
c ===
|
|
210
|
-
),
|
|
211
|
-
},
|
|
212
|
-
|
|
207
|
+
f(R), a.onRangeChanged(R);
|
|
208
|
+
}, x = () => {
|
|
209
|
+
f(r), y(
|
|
210
|
+
c === _.dateRangePickerCopy.dateRangeThisMonth || c === _.dateRangePickerCopy.dateRangeLastMonth
|
|
211
|
+
), a.onRangeChanged(r);
|
|
212
|
+
}, v = (e, i) => {
|
|
213
|
+
e[1] = e[1] ?? e[0];
|
|
214
|
+
const E = [e[0], e[1] ? Se(e[1]) : e[1]];
|
|
215
|
+
b(E), H(i);
|
|
216
|
+
}, P = (e) => {
|
|
217
|
+
C(e);
|
|
213
218
|
};
|
|
214
|
-
return /* @__PURE__ */ T(
|
|
219
|
+
return /* @__PURE__ */ T($, { className: "mx-cmn-date-range-selector", m: 4, children: [
|
|
215
220
|
/* @__PURE__ */ T(
|
|
216
|
-
|
|
221
|
+
$,
|
|
217
222
|
{
|
|
218
223
|
sx: {
|
|
219
224
|
[W.breakpoints.down("sm")]: {
|
|
220
|
-
display:
|
|
225
|
+
display: L ? "none" : "flex",
|
|
221
226
|
justifyContent: "center"
|
|
222
227
|
},
|
|
223
228
|
[W.breakpoints.up("sm")]: { display: "inline-flex" }
|
|
224
229
|
},
|
|
225
230
|
children: [
|
|
226
231
|
n === "readonly" && /* @__PURE__ */ T(Y, { alignItems: "center", direction: "row", gap: 8, children: [
|
|
227
|
-
/* @__PURE__ */
|
|
228
|
-
/* @__PURE__ */
|
|
229
|
-
/* @__PURE__ */
|
|
230
|
-
/* @__PURE__ */
|
|
232
|
+
/* @__PURE__ */ t(s, { name: "calendar_month", size: 24 }),
|
|
233
|
+
/* @__PURE__ */ t(j, { bold: !0, children: K(r[0], G.MONTH_DAY) }),
|
|
234
|
+
/* @__PURE__ */ t(s, { name: "remove" }),
|
|
235
|
+
/* @__PURE__ */ t(j, { bold: !0, children: K(r[1], G.MONTH_DAY_YEAR) })
|
|
231
236
|
] }),
|
|
232
237
|
n !== "readonly" && n !== "timeframebuttons" && n !== "timeframetabs" && /* @__PURE__ */ T(
|
|
233
|
-
|
|
238
|
+
pe,
|
|
234
239
|
{
|
|
235
|
-
color:
|
|
240
|
+
color: N,
|
|
236
241
|
sx: {
|
|
237
242
|
"& .MuiButtonGroup-grouped": {
|
|
238
|
-
padding:
|
|
243
|
+
padding: D ? 0 : 12
|
|
239
244
|
},
|
|
240
245
|
"& .MuiButtonGroup-middleButton": {
|
|
241
246
|
px: 24
|
|
@@ -244,27 +249,27 @@ const Me = {
|
|
|
244
249
|
},
|
|
245
250
|
variant: n,
|
|
246
251
|
children: [
|
|
247
|
-
/* @__PURE__ */
|
|
252
|
+
/* @__PURE__ */ t(
|
|
248
253
|
M,
|
|
249
254
|
{
|
|
250
|
-
"aria-disabled":
|
|
251
|
-
"aria-label":
|
|
252
|
-
color:
|
|
253
|
-
onClick: () =>
|
|
254
|
-
children: /* @__PURE__ */
|
|
255
|
+
"aria-disabled": a.shouldDisablePrevious,
|
|
256
|
+
"aria-label": _.dateRangePreviousAria,
|
|
257
|
+
color: a.shouldDisablePrevious ? "secondary" : "primary",
|
|
258
|
+
onClick: () => a.shouldDisablePrevious ? null : w("previous"),
|
|
259
|
+
children: /* @__PURE__ */ t(s, { name: "chevron_left", size: 20 })
|
|
255
260
|
}
|
|
256
261
|
),
|
|
257
|
-
/* @__PURE__ */
|
|
262
|
+
/* @__PURE__ */ t(
|
|
258
263
|
M,
|
|
259
264
|
{
|
|
260
|
-
"aria-disabled":
|
|
261
|
-
color:
|
|
262
|
-
onClick: () =>
|
|
263
|
-
startIcon: /* @__PURE__ */
|
|
265
|
+
"aria-disabled": a.shouldDisablePicker,
|
|
266
|
+
color: N,
|
|
267
|
+
onClick: () => a.shouldDisablePicker ? null : k(!0),
|
|
268
|
+
startIcon: /* @__PURE__ */ t(s, { name: "calendar_month", size: 20 }),
|
|
264
269
|
sx: {
|
|
265
|
-
p:
|
|
270
|
+
p: D ? 0 : 8
|
|
266
271
|
},
|
|
267
|
-
children:
|
|
272
|
+
children: F ? K(l[0], G.MONTH_YEAR) : /* @__PURE__ */ T("span", { children: [
|
|
268
273
|
K(l[0], G.MONTH_DAY_YEAR),
|
|
269
274
|
" -",
|
|
270
275
|
" ",
|
|
@@ -272,106 +277,102 @@ const Me = {
|
|
|
272
277
|
] })
|
|
273
278
|
}
|
|
274
279
|
),
|
|
275
|
-
/* @__PURE__ */
|
|
280
|
+
/* @__PURE__ */ t(
|
|
276
281
|
M,
|
|
277
282
|
{
|
|
278
|
-
"aria-disabled":
|
|
279
|
-
"aria-label":
|
|
280
|
-
color:
|
|
281
|
-
onClick: () =>
|
|
282
|
-
children: /* @__PURE__ */
|
|
283
|
+
"aria-disabled": a.shouldDisableNext,
|
|
284
|
+
"aria-label": _.dateRangeNextAria,
|
|
285
|
+
color: a.shouldDisableNext ? "secondary" : "primary",
|
|
286
|
+
onClick: () => a.shouldDisableNext ? null : w("next"),
|
|
287
|
+
children: /* @__PURE__ */ t(s, { name: "chevron_right", size: 20 })
|
|
283
288
|
}
|
|
284
289
|
)
|
|
285
290
|
]
|
|
286
291
|
}
|
|
287
292
|
),
|
|
288
|
-
n === "timeframebuttons" && /* @__PURE__ */
|
|
289
|
-
|
|
293
|
+
n === "timeframebuttons" && /* @__PURE__ */ t(
|
|
294
|
+
fe,
|
|
290
295
|
{
|
|
291
|
-
color:
|
|
296
|
+
color: N,
|
|
292
297
|
exclusive: !0,
|
|
293
298
|
orientation: "horizontal",
|
|
294
299
|
value: h,
|
|
295
|
-
children: d.buttons.map((
|
|
296
|
-
|
|
300
|
+
children: d.buttons.map((e) => /* @__PURE__ */ t(
|
|
301
|
+
Oe,
|
|
297
302
|
{
|
|
298
|
-
onClick: () =>
|
|
303
|
+
onClick: () => P(e.value),
|
|
299
304
|
sx: { width: 56 },
|
|
300
|
-
value:
|
|
301
|
-
children:
|
|
305
|
+
value: e.value,
|
|
306
|
+
children: e.label
|
|
302
307
|
},
|
|
303
|
-
|
|
308
|
+
e.label
|
|
304
309
|
))
|
|
305
310
|
}
|
|
306
311
|
),
|
|
307
|
-
n === "timeframetabs" && /* @__PURE__ */
|
|
308
|
-
|
|
312
|
+
n === "timeframetabs" && /* @__PURE__ */ t(
|
|
313
|
+
he,
|
|
309
314
|
{
|
|
310
315
|
indicatorColor: "primary",
|
|
311
|
-
onChange: (
|
|
316
|
+
onChange: (e, i) => P(i),
|
|
312
317
|
textColor: "primary",
|
|
313
318
|
value: h,
|
|
314
319
|
variant: "fullWidth",
|
|
315
|
-
children: d.tabs.map((
|
|
316
|
-
|
|
320
|
+
children: d.tabs.map((e) => /* @__PURE__ */ t(
|
|
321
|
+
ke,
|
|
317
322
|
{
|
|
318
|
-
label: /* @__PURE__ */
|
|
323
|
+
label: /* @__PURE__ */ t(j, { bold: !0, variant: "Body", children: e.label }),
|
|
319
324
|
sx: { minWidth: 80 },
|
|
320
|
-
value:
|
|
325
|
+
value: e.value
|
|
321
326
|
},
|
|
322
|
-
|
|
327
|
+
e.label
|
|
323
328
|
))
|
|
324
329
|
}
|
|
325
330
|
)
|
|
326
331
|
]
|
|
327
332
|
}
|
|
328
333
|
),
|
|
329
|
-
p &&
|
|
330
|
-
|
|
334
|
+
p && D && /* @__PURE__ */ t(
|
|
335
|
+
Ke,
|
|
331
336
|
{
|
|
332
|
-
ariaLabelClose:
|
|
337
|
+
ariaLabelClose: _.dateRangeCloseAria,
|
|
333
338
|
isOpen: p,
|
|
334
339
|
onClose: () => k(!1),
|
|
335
340
|
onPrimaryAction: () => {
|
|
336
|
-
|
|
341
|
+
x(), k(!1);
|
|
337
342
|
},
|
|
338
|
-
primaryText:
|
|
339
|
-
title:
|
|
340
|
-
children: /* @__PURE__ */
|
|
343
|
+
primaryText: _.dateRangeEditApply,
|
|
344
|
+
title: _.dateRangeEditTitle,
|
|
345
|
+
children: /* @__PURE__ */ t(
|
|
341
346
|
q,
|
|
342
347
|
{
|
|
343
|
-
copy:
|
|
348
|
+
copy: _.dateRangePickerCopy,
|
|
344
349
|
dateRange: r,
|
|
345
|
-
onRangeChanged:
|
|
346
|
-
_[0] && !_[1] && (_[1] = _[0]), D(_), y(t);
|
|
347
|
-
},
|
|
350
|
+
onRangeChanged: v,
|
|
348
351
|
selectedShortcut: c,
|
|
349
352
|
sx: { p: 16 }
|
|
350
353
|
}
|
|
351
354
|
)
|
|
352
355
|
}
|
|
353
356
|
),
|
|
354
|
-
p && !
|
|
355
|
-
|
|
357
|
+
p && !D && /* @__PURE__ */ t(
|
|
358
|
+
we,
|
|
356
359
|
{
|
|
357
|
-
copy: { title:
|
|
360
|
+
copy: { title: _.dateRangeEditTitle },
|
|
358
361
|
isOpen: !0,
|
|
359
362
|
onClose: () => k(!1),
|
|
360
|
-
onPrimaryAction: () =>
|
|
361
|
-
primaryText:
|
|
363
|
+
onPrimaryAction: () => x(),
|
|
364
|
+
primaryText: _.dateRangeEditApply,
|
|
362
365
|
sx: {
|
|
363
366
|
"& .MuiDialogContent-root": {
|
|
364
367
|
padding: 0
|
|
365
368
|
}
|
|
366
369
|
},
|
|
367
|
-
children: /* @__PURE__ */
|
|
370
|
+
children: /* @__PURE__ */ t(
|
|
368
371
|
q,
|
|
369
372
|
{
|
|
370
|
-
copy:
|
|
373
|
+
copy: _.dateRangePickerCopy,
|
|
371
374
|
dateRange: r,
|
|
372
|
-
onRangeChanged:
|
|
373
|
-
_[0] && !_[1] && (_[1] = _[0]), D(_), y(t);
|
|
374
|
-
},
|
|
375
|
+
onRangeChanged: v,
|
|
375
376
|
selectedShortcut: c,
|
|
376
377
|
sx: {
|
|
377
378
|
pt: 0,
|
|
@@ -384,59 +385,59 @@ const Me = {
|
|
|
384
385
|
}
|
|
385
386
|
)
|
|
386
387
|
] });
|
|
387
|
-
}, _e =
|
|
388
|
-
accountOptions:
|
|
389
|
-
actions:
|
|
390
|
-
calendarActions:
|
|
391
|
-
children:
|
|
392
|
-
dateRange:
|
|
388
|
+
}, _e = ye, xe = ({
|
|
389
|
+
accountOptions: a,
|
|
390
|
+
actions: N = [],
|
|
391
|
+
calendarActions: _,
|
|
392
|
+
children: m,
|
|
393
|
+
dateRange: L,
|
|
393
394
|
dateRangeVariant: n,
|
|
394
395
|
className: W = "mx-cmn-widget",
|
|
395
|
-
hasDivider:
|
|
396
|
+
hasDivider: D = !1,
|
|
396
397
|
onBackClick: l,
|
|
397
|
-
onAccountsFilterClick:
|
|
398
|
+
onAccountsFilterClick: f,
|
|
398
399
|
showDividerAboveDateSelector: c = !0,
|
|
399
|
-
sx:
|
|
400
|
+
sx: H = {},
|
|
400
401
|
title: r = ""
|
|
401
402
|
}) => {
|
|
402
|
-
const [
|
|
403
|
-
l && (l(), h(
|
|
403
|
+
const [b, p] = o.useState(!1), [k, { height: F, width: y }] = Ce(), { onEvent: h } = Te(), { isDesktop: C, isMobile: d, isTablet: I } = ae(y), { displayedDateRange: w, isCopyLoaded: x, selectedAccountGuids: v, setSelectedAccountGuids: P } = Ie(), { common: e, connect: i } = Ee(), E = () => {
|
|
404
|
+
l && (l(), h(We.WIDGET_BACK_CLICK));
|
|
404
405
|
};
|
|
405
|
-
if (!
|
|
406
|
-
return /* @__PURE__ */
|
|
407
|
-
const
|
|
406
|
+
if (!x)
|
|
407
|
+
return /* @__PURE__ */ t(de, {});
|
|
408
|
+
const u = {
|
|
408
409
|
accountFilterOptionsCopy: {
|
|
409
|
-
accountTypeAccounts:
|
|
410
|
-
cancelButton:
|
|
411
|
-
filterButton:
|
|
412
|
-
filterButtonAria:
|
|
413
|
-
selectAllAccounts:
|
|
414
|
-
toggleAccountTypeAccounts:
|
|
415
|
-
unselectAllAccounts:
|
|
416
|
-
zeroStateButton:
|
|
417
|
-
zeroStateDescription:
|
|
418
|
-
zeroStateTitle:
|
|
410
|
+
accountTypeAccounts: e.account_filter.account_type_accounts,
|
|
411
|
+
cancelButton: e.cancel_button,
|
|
412
|
+
filterButton: e.filter_button,
|
|
413
|
+
filterButtonAria: e.account_filter.filter_button_generic_aria,
|
|
414
|
+
selectAllAccounts: e.account_filter.select_all_accounts,
|
|
415
|
+
toggleAccountTypeAccounts: e.account_filter.toggle_account_type_accounts,
|
|
416
|
+
unselectAllAccounts: e.account_filter.unselect_all_accounts,
|
|
417
|
+
zeroStateButton: e.account_filter.zero_state_button,
|
|
418
|
+
zeroStateDescription: e.account_filter.zero_state_description,
|
|
419
|
+
zeroStateTitle: e.account_filter.zero_state_title
|
|
419
420
|
},
|
|
420
|
-
title:
|
|
421
|
-
},
|
|
421
|
+
title: e.account_filter.title
|
|
422
|
+
}, R = {
|
|
422
423
|
dateRangePickerCopy: {
|
|
423
|
-
dateRangeFrom:
|
|
424
|
-
dateRangeTo:
|
|
425
|
-
dateRangeCustom:
|
|
426
|
-
dateRangeSelectARange:
|
|
427
|
-
dateRangeThisMonth:
|
|
428
|
-
dateRangeLastMonth:
|
|
429
|
-
dateRangeLast30Days:
|
|
430
|
-
dateRangeLast90Days:
|
|
431
|
-
dateRangeYTD:
|
|
432
|
-
dateRangeLastYear:
|
|
433
|
-
dateRangeSelect:
|
|
424
|
+
dateRangeFrom: e.date_range_picker.from,
|
|
425
|
+
dateRangeTo: e.date_range_picker.to,
|
|
426
|
+
dateRangeCustom: e.date_range_picker.custom,
|
|
427
|
+
dateRangeSelectARange: e.date_range_picker.select_range,
|
|
428
|
+
dateRangeThisMonth: e.date_range_picker.this_month,
|
|
429
|
+
dateRangeLastMonth: e.date_range_picker.last_month,
|
|
430
|
+
dateRangeLast30Days: e.date_range_picker.last_30_days,
|
|
431
|
+
dateRangeLast90Days: e.date_range_picker.last_90_days,
|
|
432
|
+
dateRangeYTD: e.date_range_picker.ytd,
|
|
433
|
+
dateRangeLastYear: e.date_range_picker.last_year,
|
|
434
|
+
dateRangeSelect: e.date_range_picker.select
|
|
434
435
|
},
|
|
435
|
-
dateRangeEditApply:
|
|
436
|
-
dateRangeEditTitle:
|
|
437
|
-
dateRangeNextAria:
|
|
438
|
-
dateRangePreviousAria:
|
|
439
|
-
},
|
|
436
|
+
dateRangeEditApply: e.date_range_picker.edit_apply,
|
|
437
|
+
dateRangeEditTitle: e.date_range_picker.edit_title,
|
|
438
|
+
dateRangeNextAria: e.date_range_picker.next_aria,
|
|
439
|
+
dateRangePreviousAria: e.date_range_picker.previous_aria
|
|
440
|
+
}, g = L ? L.start : w.start, A = L ? L.end : w.end, ie = N?.length > 1;
|
|
440
441
|
return /* @__PURE__ */ T(
|
|
441
442
|
ce,
|
|
442
443
|
{
|
|
@@ -446,59 +447,59 @@ const Me = {
|
|
|
446
447
|
"& .mx-cmn-date-range-selector": {
|
|
447
448
|
...(d || I) && { textAlign: "center" }
|
|
448
449
|
},
|
|
449
|
-
...
|
|
450
|
+
...H
|
|
450
451
|
},
|
|
451
452
|
children: [
|
|
452
|
-
r && /* @__PURE__ */
|
|
453
|
+
r && /* @__PURE__ */ t(
|
|
453
454
|
re,
|
|
454
455
|
{
|
|
455
456
|
action: /* @__PURE__ */ T(Y, { alignItems: "center", flexDirection: "row", children: [
|
|
456
|
-
C &&
|
|
457
|
+
C && _ && /* @__PURE__ */ t($, { sx: { flexGrow: 1 }, children: /* @__PURE__ */ t(
|
|
457
458
|
_e,
|
|
458
459
|
{
|
|
459
|
-
calendarActions:
|
|
460
|
-
copy:
|
|
461
|
-
range: [
|
|
460
|
+
calendarActions: _,
|
|
461
|
+
copy: R,
|
|
462
|
+
range: [g, A],
|
|
462
463
|
shouldShrinkToIcon: !1,
|
|
463
464
|
variant: n
|
|
464
465
|
}
|
|
465
466
|
) }),
|
|
466
|
-
|
|
467
|
-
|
|
467
|
+
a && /* @__PURE__ */ t(
|
|
468
|
+
Ge,
|
|
468
469
|
{
|
|
469
|
-
accounts:
|
|
470
|
-
copy:
|
|
470
|
+
accounts: a,
|
|
471
|
+
copy: u,
|
|
471
472
|
onConnectAccountClick: () => p(!0),
|
|
472
|
-
onFilterClick: (
|
|
473
|
-
|
|
473
|
+
onFilterClick: (O) => {
|
|
474
|
+
P(O), f?.(O);
|
|
474
475
|
},
|
|
475
|
-
selectedAccountGuids:
|
|
476
|
+
selectedAccountGuids: v,
|
|
476
477
|
showAccountNumbers: !1,
|
|
477
478
|
variant: "text"
|
|
478
479
|
}
|
|
479
480
|
),
|
|
480
|
-
|
|
481
|
-
if (o.isValidElement(
|
|
482
|
-
const { iconName:
|
|
483
|
-
return ie ? C || I ? /* @__PURE__ */
|
|
481
|
+
N?.map((O) => {
|
|
482
|
+
if (o.isValidElement(O)) return O;
|
|
483
|
+
const { iconName: S, onClick: U, label: B } = O;
|
|
484
|
+
return ie ? C || I ? /* @__PURE__ */ t(
|
|
484
485
|
M,
|
|
485
486
|
{
|
|
486
|
-
onClick:
|
|
487
|
-
startIcon: /* @__PURE__ */
|
|
487
|
+
onClick: U,
|
|
488
|
+
startIcon: /* @__PURE__ */ t(s, { name: S, size: 24 }),
|
|
488
489
|
sx: { my: 4 },
|
|
489
490
|
children: B
|
|
490
491
|
},
|
|
491
|
-
|
|
492
|
-
) : /* @__PURE__ */
|
|
492
|
+
S
|
|
493
|
+
) : /* @__PURE__ */ t(z, { "aria-label": B, color: "primary", onClick: U, children: /* @__PURE__ */ t(s, { name: S, size: 24 }) }, S) : C || I ? /* @__PURE__ */ t(
|
|
493
494
|
M,
|
|
494
495
|
{
|
|
495
|
-
onClick:
|
|
496
|
-
startIcon: /* @__PURE__ */
|
|
496
|
+
onClick: U,
|
|
497
|
+
startIcon: /* @__PURE__ */ t(s, { name: S, size: 24 }),
|
|
497
498
|
sx: { my: 4 },
|
|
498
499
|
children: B
|
|
499
500
|
},
|
|
500
|
-
|
|
501
|
-
) : /* @__PURE__ */
|
|
501
|
+
S
|
|
502
|
+
) : /* @__PURE__ */ t(z, { "aria-label": B, color: "primary", onClick: U, children: /* @__PURE__ */ t(s, { name: S, size: 24 }) }, S);
|
|
502
503
|
})
|
|
503
504
|
] }),
|
|
504
505
|
sx: {
|
|
@@ -506,57 +507,57 @@ const Me = {
|
|
|
506
507
|
pb: 0,
|
|
507
508
|
"& .MuiCardHeader-action": {
|
|
508
509
|
mr: 0,
|
|
509
|
-
...
|
|
510
|
+
..._ && C && { flexGrow: 1 },
|
|
510
511
|
...(d || I) && { alignSelf: "center" }
|
|
511
512
|
},
|
|
512
513
|
"& .MuiCardHeader-content": {
|
|
513
514
|
overflow: "hidden"
|
|
514
515
|
}
|
|
515
516
|
},
|
|
516
|
-
title: C || I ? /* @__PURE__ */
|
|
517
|
-
d && l && /* @__PURE__ */
|
|
518
|
-
|
|
517
|
+
title: C || I ? /* @__PURE__ */ t(se, { children: r }) : /* @__PURE__ */ T(Y, { alignItems: "center", flexDirection: "row", sx: { overflow: "hidden" }, children: [
|
|
518
|
+
d && l && /* @__PURE__ */ t(
|
|
519
|
+
z,
|
|
519
520
|
{
|
|
520
|
-
"aria-label":
|
|
521
|
+
"aria-label": e.back_to_dashboard,
|
|
521
522
|
color: "primary",
|
|
522
|
-
onClick:
|
|
523
|
+
onClick: E,
|
|
523
524
|
sx: { p: 12, mr: 4 },
|
|
524
|
-
children: /* @__PURE__ */
|
|
525
|
+
children: /* @__PURE__ */ t(s, { name: "arrow_back", size: 24 })
|
|
525
526
|
}
|
|
526
527
|
),
|
|
527
|
-
/* @__PURE__ */
|
|
528
|
+
/* @__PURE__ */ t(le, { children: r })
|
|
528
529
|
] })
|
|
529
530
|
}
|
|
530
531
|
),
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
c && /* @__PURE__ */
|
|
534
|
-
/* @__PURE__ */
|
|
532
|
+
D && /* @__PURE__ */ t(Z, { sx: { mt: C ? 48 : 24 } }),
|
|
533
|
+
_ && (d || I) && /* @__PURE__ */ T(Y, { gap: 24, justifyContent: "center", sx: { mt: d ? 0 : 16 }, children: [
|
|
534
|
+
c && /* @__PURE__ */ t(Z, {}),
|
|
535
|
+
/* @__PURE__ */ t(
|
|
535
536
|
_e,
|
|
536
537
|
{
|
|
537
|
-
calendarActions:
|
|
538
|
-
copy:
|
|
539
|
-
range: [
|
|
538
|
+
calendarActions: _,
|
|
539
|
+
copy: R,
|
|
540
|
+
range: [g, A],
|
|
540
541
|
shouldShrinkToIcon: !1,
|
|
541
542
|
variant: n
|
|
542
543
|
}
|
|
543
544
|
)
|
|
544
545
|
] }),
|
|
545
|
-
|
|
546
|
-
|
|
546
|
+
b && /* @__PURE__ */ t(
|
|
547
|
+
Me,
|
|
547
548
|
{
|
|
548
549
|
onClose: () => p(!1),
|
|
549
|
-
showConnectWidget:
|
|
550
|
-
title:
|
|
550
|
+
showConnectWidget: b,
|
|
551
|
+
title: i.mini_title
|
|
551
552
|
}
|
|
552
553
|
),
|
|
553
|
-
/* @__PURE__ */
|
|
554
|
+
/* @__PURE__ */ t(oe, { ref: k, sx: { p: 0 }, children: /* @__PURE__ */ t(Re, { availableHeight: F, availableWidth: y, children: m }) })
|
|
554
555
|
]
|
|
555
556
|
}
|
|
556
557
|
);
|
|
557
|
-
},
|
|
558
|
+
}, Lt = ne(xe);
|
|
558
559
|
export {
|
|
559
|
-
|
|
560
|
+
We as A,
|
|
560
561
|
_e as D,
|
|
561
|
-
|
|
562
|
+
Lt as W
|
|
562
563
|
};
|
|
@@ -7,8 +7,8 @@ import E from "@mui/material/List";
|
|
|
7
7
|
import O 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 I1 } from "../AccountDetailsContent-
|
|
10
|
+
import { A as G } from "../AccountDetailsContent-BGXM8acm.mjs";
|
|
11
|
+
import { u as I1 } from "../AccountDetailsContent-BGXM8acm.mjs";
|
|
12
12
|
import { u as K, A as z } from "../AccountDetailsHeader-Dwk01nsY.mjs";
|
|
13
13
|
import { A as W } from "../AccountListItem-BiST9IgK.mjs";
|
|
14
14
|
import { a as P } from "../AccountFields-5i77eFJ6.mjs";
|
|
@@ -16,7 +16,7 @@ import { g as D1, b as U1 } from "../AccountFields-5i77eFJ6.mjs";
|
|
|
16
16
|
import { u as g, a as y, c as T, f as N, m as Y } from "../hooks-DlI63qSB.mjs";
|
|
17
17
|
import { f as I } from "../NumberFormatting-CtWHhyBX.mjs";
|
|
18
18
|
import { D as q } from "../Drawer-kEE73B87.mjs";
|
|
19
|
-
import { A, W as J } from "../WidgetContainer-
|
|
19
|
+
import { A, W as J } from "../WidgetContainer-CBpf3h1Y.mjs";
|
|
20
20
|
import { C as Q } from "../ConnectionsDrawer-BkNr5Up0.mjs";
|
|
21
21
|
import { u as X } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
22
22
|
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-CBpf3h1Y.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-C4PW8SRL.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-Byw3lVtR.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-ClbdFNWX.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-Byw3lVtR.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-C4PW8SRL.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-CBpf3h1Y.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 at } from "../Help-DhcC-C05.mjs";
|
|
|
12
12
|
import { E as ys } from "../Help-DhcC-C05.mjs";
|
|
13
13
|
import { M as bs } from "../MicroWidgetContainer-DPDsZIiS.mjs";
|
|
14
14
|
import { M as xs } from "../MiniWidgetContainer-BzW7V_04.mjs";
|
|
15
|
-
import { A as Ds, D as As, W as vs } from "../WidgetContainer-
|
|
15
|
+
import { A as Ds, D as As, W as vs } from "../WidgetContainer-CBpf3h1Y.mjs";
|
|
16
16
|
import { i as Es, a as Bs, e as Is, l as Ns, A as Ms, f as ks, j as $s, d as Rs, k as Ps, E as Os, h as Us, N as Ls, g as Gs, P as Hs, m as Fs, S as Ws } from "../ConnectDrawer-D86nRDxQ.mjs";
|
|
17
17
|
import { C as Ys } from "../CurrencyInput-BkflFU_-.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-CBpf3h1Y.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-ClbdFNWX.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-CBpf3h1Y.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-Dwk01nsY.mjs";
|
|
42
|
-
import { A as st } from "../AccountDetailsContent-
|
|
42
|
+
import { A as st } from "../AccountDetailsContent-BGXM8acm.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-CBpf3h1Y.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-CBpf3h1Y.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-CBpf3h1Y.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-CBpf3h1Y.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-ClbdFNWX.mjs";
|
|
12
|
+
import { M as An } from "../RecurringSettings-ClbdFNWX.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-CBpf3h1Y.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-Byw3lVtR.mjs";
|
|
45
|
+
import { c as On, M as kn, S as Wn } from "../ManageIncome-Byw3lVtR.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-CBpf3h1Y.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-C4PW8SRL.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-CBpf3h1Y.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-C4PW8SRL.mjs";
|
|
3
|
+
import { B as ba, d as Ta, b as Aa } from "../TransactionDetails-C4PW8SRL.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-CBpf3h1Y.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-CBpf3h1Y.mjs";
|
|
25
|
+
import { a as Re, T as ke } from "../TransactionDetails-C4PW8SRL.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";
|