@mx-cartographer/experiences 7.9.6 → 7.9.8
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 +9 -0
- package/dist/{ManageIncome-DV6GIjAN.mjs → ManageIncome-C5QcA-0a.mjs} +2 -2
- package/dist/{RecurringSettings-CE7kxzFZ.mjs → RecurringSettings-CoH1Fhw7.mjs} +2 -2
- package/dist/{TransactionDetails-DhEr3tAj.mjs → TransactionDetails-UQcXldhR.mjs} +1 -1
- package/dist/{TransactionStore-BSp5bOKg.mjs → TransactionStore-COGlidS-.mjs} +25 -24
- package/dist/{WidgetContainer-to34uDrh.mjs → WidgetContainer-BbbYyHJ_.mjs} +151 -148
- package/dist/accounts/index.es.js +2 -2
- package/dist/budgets/index.es.js +3 -3
- package/dist/cashflow/index.es.js +4 -4
- package/dist/common/index.es.js +4 -3
- package/dist/common/types/AppData.d.ts +1 -0
- package/dist/debts/index.es.js +1 -1
- package/dist/finstrong/index.es.js +4 -4
- package/dist/goals/index.es.js +1 -1
- 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 +5 -5
- package/dist/trends/index.es.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## [7.9.8] - 02-05-2026
|
|
2
|
+
|
|
3
|
+
- **ADDED** - Add `display_widget_headings` to `AppData` config
|
|
4
|
+
- **ADDED** - Display `WidgetContainer` headings based on `config.display_widget_headings`
|
|
5
|
+
|
|
6
|
+
## [7.9.7] - 02-05-2026
|
|
7
|
+
|
|
8
|
+
- **FIXED** - `Transactions` Searching Returns incorrect transactions | Bug Fixed
|
|
9
|
+
|
|
1
10
|
## [7.9.6] - 02-05-2026
|
|
2
11
|
|
|
3
12
|
- **FIXED** - `Spending` Memo TextField Bug fix.
|
|
@@ -17,7 +17,7 @@ import { endOfMonth as _e } from "date-fns/endOfMonth";
|
|
|
17
17
|
import { parseISO as ue } from "date-fns/parseISO";
|
|
18
18
|
import $ from "@mui/material/Button";
|
|
19
19
|
import { Delete as me, Add as pe, ReceiptLong as he } from "@mxenabled/mx-icons";
|
|
20
|
-
import { T as X, a as ye, u as ge, S as fe, b as Ce } from "./TransactionDetails-
|
|
20
|
+
import { T as X, a as ye, u as ge, S as fe, b as Ce } from "./TransactionDetails-UQcXldhR.mjs";
|
|
21
21
|
import { getDayOfYear as be } from "date-fns/getDayOfYear";
|
|
22
22
|
import { setDayOfYear as xe } from "date-fns/setDayOfYear";
|
|
23
23
|
import { AdapterDateFns as Se } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
@@ -26,7 +26,7 @@ import { LocalizationProvider as we } from "@mui/x-date-pickers/LocalizationProv
|
|
|
26
26
|
import { u as w, j as G, g as P, b as Ae, h as Z, o as Ie } from "./hooks-ZMp65DFz.mjs";
|
|
27
27
|
import { b as De, f as J } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
28
28
|
import { D as O } from "./Drawer-DV4NTsFg.mjs";
|
|
29
|
-
import { A as E } from "./WidgetContainer-
|
|
29
|
+
import { A as E } from "./WidgetContainer-BbbYyHJ_.mjs";
|
|
30
30
|
import { f as Re, D as Ee, a as Te } from "./Dialog-B4PI-_bL.mjs";
|
|
31
31
|
import { formatISO as Le } from "date-fns/formatISO";
|
|
32
32
|
import { fromUnixTime as Oe } from "date-fns/fromUnixTime";
|
|
@@ -7,10 +7,10 @@ import R from "@mui/material/Tabs";
|
|
|
7
7
|
import d from "@mui/material/Divider";
|
|
8
8
|
import b from "@mui/material/List";
|
|
9
9
|
import T from "@mui/material/Stack";
|
|
10
|
-
import { R as C, A as S, a as E, M as v } from "./ManageIncome-
|
|
10
|
+
import { R as C, A as S, a as E, M as v } from "./ManageIncome-C5QcA-0a.mjs";
|
|
11
11
|
import { u as _, j as A, g as f } from "./hooks-ZMp65DFz.mjs";
|
|
12
12
|
import { R as y, F as N } from "./RepeatingTransaction-miZVnk_A.mjs";
|
|
13
|
-
import { A as m } from "./WidgetContainer-
|
|
13
|
+
import { A as m } from "./WidgetContainer-BbbYyHJ_.mjs";
|
|
14
14
|
const I = h(() => {
|
|
15
15
|
const { recurring: g } = _(), { detailedRepeatingTransactions: n } = A(), { onEvent: a } = f(), l = (r) => {
|
|
16
16
|
a(m.RECURRING_TRANSACTIONS_CLICK_EXPENSE, {
|
|
@@ -17,7 +17,7 @@ import { fromUnixTime as j } from "date-fns/fromUnixTime";
|
|
|
17
17
|
import { isSameDay as Ie } from "date-fns/isSameDay";
|
|
18
18
|
import { h as qe } from "./DateUtil-D7U-nc1Y.mjs";
|
|
19
19
|
import { L as ve } from "./Loader-DUaFpDGv.mjs";
|
|
20
|
-
import { A as P } from "./WidgetContainer-
|
|
20
|
+
import { A as P } from "./WidgetContainer-BbbYyHJ_.mjs";
|
|
21
21
|
import ie from "@mui/material/Paper";
|
|
22
22
|
import de from "@mui/material/Button";
|
|
23
23
|
import Ze from "@mui/material/FormGroup";
|
|
@@ -18,10 +18,11 @@ import { b as Y } from "./Category-CevNQ03n.mjs";
|
|
|
18
18
|
import { f as F } from "./exportTransactionsToCSV-DtQ7ovAR.mjs";
|
|
19
19
|
import { format as W } from "date-fns/format";
|
|
20
20
|
import { fromUnixTime as $ } from "date-fns/fromUnixTime";
|
|
21
|
-
import { f as
|
|
22
|
-
import {
|
|
21
|
+
import { f as C, D as I, O as k } from "./Dialog-B4PI-_bL.mjs";
|
|
22
|
+
import { f as z } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
23
|
+
import { endOfMonth as X } from "date-fns/endOfMonth";
|
|
23
24
|
import { B as u } from "./BeatApi-De2IaqH2.mjs";
|
|
24
|
-
const
|
|
25
|
+
const j = ({
|
|
25
26
|
checked: l = !1,
|
|
26
27
|
label: t,
|
|
27
28
|
sx: a = {},
|
|
@@ -59,7 +60,7 @@ const X = ({
|
|
|
59
60
|
) })
|
|
60
61
|
}
|
|
61
62
|
);
|
|
62
|
-
},
|
|
63
|
+
}, mt = j, G = {
|
|
63
64
|
ASC: "ASC",
|
|
64
65
|
DESC: "DESC",
|
|
65
66
|
DIRECTION: {
|
|
@@ -322,14 +323,14 @@ const X = ({
|
|
|
322
323
|
category: T.TRANSACTIONS_WIDGET,
|
|
323
324
|
label: r.DELETE_TRANSACTION
|
|
324
325
|
}
|
|
325
|
-
},
|
|
326
|
+
}, Z = async (l, t) => !t || !R[l] ? null : t.sendAnalyticEvent(R[l]), L = {
|
|
326
327
|
FLAG: "flag",
|
|
327
328
|
DATE: "date",
|
|
328
329
|
PAYEE: "payee",
|
|
329
330
|
CATEGORY: "category",
|
|
330
331
|
ACCOUNT: "account",
|
|
331
332
|
AMOUNT: "amount"
|
|
332
|
-
},
|
|
333
|
+
}, q = (l, t, a, e = []) => {
|
|
333
334
|
const A = t.reduce((c, i) => ({ ...c, [i.guid]: i }), {}), d = a.reduce((c, i) => ({ ...c, [i.guid]: i }), {}), s = e.reduce((c, i) => {
|
|
334
335
|
const { transaction_guid: S, tag_guid: N } = i;
|
|
335
336
|
if (!c[S])
|
|
@@ -358,13 +359,13 @@ const X = ({
|
|
|
358
359
|
tags: N
|
|
359
360
|
};
|
|
360
361
|
});
|
|
361
|
-
},
|
|
362
|
-
const s =
|
|
362
|
+
}, J = "uncategorized", Q = (l, t, a, e, A, d) => {
|
|
363
|
+
const s = tt(l, A, d), c = at(s, a, e);
|
|
363
364
|
return t.forEach((i) => {
|
|
364
365
|
const S = c.findIndex((g) => g.guid === i), N = d.filter((g) => g.parent_guid === i);
|
|
365
366
|
c.splice(S + 1, 0, ...N);
|
|
366
367
|
}), c;
|
|
367
|
-
},
|
|
368
|
+
}, tt = (l, t, a) => {
|
|
368
369
|
const {
|
|
369
370
|
accounts: e = [],
|
|
370
371
|
dateRange: A = { start: h(m()), end: f() },
|
|
@@ -373,23 +374,23 @@ const X = ({
|
|
|
373
374
|
showSplits: c = !1
|
|
374
375
|
} = l;
|
|
375
376
|
return a.filter((i) => c ? !i.has_been_split : !i.parent_guid).filter((i) => !!e.find((S) => S === i.account_guid)).filter((i) => i.date >= O(A.start) && i.date <= O(A.end)).filter(d).filter((i) => {
|
|
376
|
-
if (s ===
|
|
377
|
+
if (s === J && i.has_been_split)
|
|
377
378
|
return !1;
|
|
378
379
|
if (/^spl/i.test(s) && (i.has_been_split || i.parent_guid))
|
|
379
380
|
return !0;
|
|
380
381
|
const N = i.tags.some(
|
|
381
382
|
(w) => _(s, t.find((x) => x.guid === w)?.name)
|
|
382
383
|
), g = $(i.date);
|
|
383
|
-
return _(s, i.payee) || _(s, i.feed_description) || _(s, i.category) || _(s,
|
|
384
|
+
return _(s, i.payee) || _(s, i.feed_description) || _(s, i.category) || _(s, C(g, I.MONTH)) || _(s, C(g, I.DAY)) || _(s, C(g, I.FULL_MONTH_DAY)) || _(s, C(g, I.MONTH_DAY_YEAR)) || _(s, W(g, k)) || _(s, i.account) || _(s, z(i.amount, "0,0.00")) || _(s, i.memo) || N;
|
|
384
385
|
});
|
|
385
|
-
},
|
|
386
|
+
}, at = (l, t, a) => [...l].sort((e, A) => {
|
|
386
387
|
const d = t, s = (e[d] || "") > (A[d] || "");
|
|
387
388
|
let c = s ? -1 : 1, i = s ? 1 : -1;
|
|
388
389
|
return (t === L.DATE || t === L.AMOUNT) && (c = s ? 1 : -1, i = s ? -1 : 1), a === G.ASC ? c : i;
|
|
389
390
|
}), _ = (l, t) => {
|
|
390
391
|
const a = l.toLowerCase().split(" "), e = t?.toString().toLowerCase() ?? "";
|
|
391
392
|
return a.every((A) => e.indexOf(A) > -1);
|
|
392
|
-
},
|
|
393
|
+
}, et = {
|
|
393
394
|
account_guid: "",
|
|
394
395
|
amount: 0,
|
|
395
396
|
currency_code: "",
|
|
@@ -418,16 +419,16 @@ const X = ({
|
|
|
418
419
|
memo: void 0,
|
|
419
420
|
tags: []
|
|
420
421
|
};
|
|
421
|
-
class
|
|
422
|
+
class st {
|
|
422
423
|
beginDate = h(/* @__PURE__ */ new Date());
|
|
423
|
-
endDate =
|
|
424
|
+
endDate = X(/* @__PURE__ */ new Date());
|
|
424
425
|
expandedSplits = [];
|
|
425
426
|
height = 550;
|
|
426
427
|
width = 1e3;
|
|
427
428
|
shouldDisableDrawerScroll = !1;
|
|
428
429
|
searchValue = "";
|
|
429
430
|
selectedAccountGuids = [];
|
|
430
|
-
manualTransaction =
|
|
431
|
+
manualTransaction = et;
|
|
431
432
|
isAmountValid = !1;
|
|
432
433
|
showInsights = !1;
|
|
433
434
|
constructor() {
|
|
@@ -457,7 +458,7 @@ class et {
|
|
|
457
458
|
this.manualTransaction = t;
|
|
458
459
|
};
|
|
459
460
|
}
|
|
460
|
-
class
|
|
461
|
+
class yt {
|
|
461
462
|
globalStore;
|
|
462
463
|
uiStore;
|
|
463
464
|
api = new D("/", "");
|
|
@@ -482,9 +483,9 @@ class ft {
|
|
|
482
483
|
isLoading = !0;
|
|
483
484
|
sortColumn = L.DATE;
|
|
484
485
|
sortDirection = G.DESC;
|
|
485
|
-
onAnalyticEvent =
|
|
486
|
+
onAnalyticEvent = Z;
|
|
486
487
|
constructor(t) {
|
|
487
|
-
this.globalStore = t, this.uiStore = new
|
|
488
|
+
this.globalStore = t, this.uiStore = new st(), this.api = new D(
|
|
488
489
|
t.endpoint,
|
|
489
490
|
t.sessionToken,
|
|
490
491
|
t.onError
|
|
@@ -504,7 +505,7 @@ class ft {
|
|
|
504
505
|
return this.associatedBeatsLoaded && this.tagsLoaded && this.taggingsLoaded && this.transactionRulesLoaded && this.transactionsLoaded;
|
|
505
506
|
}
|
|
506
507
|
get detailedTransactions() {
|
|
507
|
-
return this.isTransactionDataLoaded ?
|
|
508
|
+
return this.isTransactionDataLoaded ? q(
|
|
508
509
|
this.transactions,
|
|
509
510
|
this.globalStore.accountStore.visibleAccounts,
|
|
510
511
|
this.globalStore.categoryStore.categories,
|
|
@@ -512,7 +513,7 @@ class ft {
|
|
|
512
513
|
) : [];
|
|
513
514
|
}
|
|
514
515
|
get sortedTransactions() {
|
|
515
|
-
return
|
|
516
|
+
return Q(
|
|
516
517
|
this.filter,
|
|
517
518
|
this.uiStore.expandedSplits,
|
|
518
519
|
this.sortColumn,
|
|
@@ -699,7 +700,7 @@ class ft {
|
|
|
699
700
|
};
|
|
700
701
|
}
|
|
701
702
|
export {
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
703
|
+
et as D,
|
|
704
|
+
mt as S,
|
|
705
|
+
yt as T
|
|
705
706
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as C, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import E from "react";
|
|
3
3
|
import { observer as te } from "mobx-react-lite";
|
|
4
4
|
import X from "@mui/material/Box";
|
|
5
5
|
import W from "@mui/material/Button";
|
|
@@ -10,36 +10,36 @@ import j from "@mui/material/Divider";
|
|
|
10
10
|
import H from "@mui/material/IconButton";
|
|
11
11
|
import Y from "@mui/material/Stack";
|
|
12
12
|
import { ChevronLeft as re } from "@mxenabled/mx-icons";
|
|
13
|
-
import { Icon as
|
|
13
|
+
import { Icon as R, Text as F, DateRangePicker as $, H2 as ce, H3 as se } from "@mxenabled/mxui";
|
|
14
14
|
import { u as oe } from "./useDimensions-27p2evRx.mjs";
|
|
15
15
|
import { G as le } from "./GlobalAccountFilter-DQCPNc95.mjs";
|
|
16
16
|
import { L as Ce } from "./Loader-DUaFpDGv.mjs";
|
|
17
|
-
import { g as de, b as Te, u as Ie,
|
|
17
|
+
import { g as de, b as Te, u as Ie, a as Ee, W as Re } from "./hooks-ZMp65DFz.mjs";
|
|
18
18
|
import { u as _e } from "./useScreenSize-B6JyS_Lj.mjs";
|
|
19
19
|
import { addMonths as Z } from "date-fns/addMonths";
|
|
20
|
-
import { addDays as
|
|
20
|
+
import { addDays as ge } from "date-fns/addDays";
|
|
21
21
|
import { addYears as q } from "date-fns/addYears";
|
|
22
|
-
import { differenceInCalendarDays as
|
|
23
|
-
import { endOfDay as
|
|
22
|
+
import { differenceInCalendarDays as Ae } from "date-fns/differenceInCalendarDays";
|
|
23
|
+
import { endOfDay as Se } from "date-fns/endOfDay";
|
|
24
24
|
import { endOfMonth as V } from "date-fns/endOfMonth";
|
|
25
25
|
import { endOfToday as J } from "date-fns/endOfToday";
|
|
26
|
-
import { endOfYear as
|
|
27
|
-
import { startOfMonth as
|
|
28
|
-
import { startOfToday as
|
|
29
|
-
import { startOfYear as
|
|
26
|
+
import { endOfYear as Ne } from "date-fns/endOfYear";
|
|
27
|
+
import { startOfMonth as me } from "date-fns/startOfMonth";
|
|
28
|
+
import { startOfToday as Le } from "date-fns/startOfToday";
|
|
29
|
+
import { startOfYear as ue } from "date-fns/startOfYear";
|
|
30
30
|
import { subMonths as z } from "date-fns/subMonths";
|
|
31
|
-
import { subDays as
|
|
31
|
+
import { subDays as De } from "date-fns/subDays";
|
|
32
32
|
import { subYears as Q } from "date-fns/subYears";
|
|
33
|
-
import
|
|
33
|
+
import pe from "@mui/material/ButtonGroup";
|
|
34
34
|
import ke from "@mui/material/Tab";
|
|
35
|
-
import
|
|
36
|
-
import
|
|
37
|
-
import
|
|
38
|
-
import
|
|
39
|
-
import { u as
|
|
40
|
-
import { f as
|
|
41
|
-
import { D as
|
|
42
|
-
const
|
|
35
|
+
import Oe from "@mui/material/Tabs";
|
|
36
|
+
import he from "@mui/material/ToggleButton";
|
|
37
|
+
import fe from "@mui/material/ToggleButtonGroup";
|
|
38
|
+
import be from "@mui/material/styles/useTheme";
|
|
39
|
+
import { u as we } from "./useAriaLive-B3_pRUio.mjs";
|
|
40
|
+
import { f as N, D as m, a as Ke } from "./Dialog-B4PI-_bL.mjs";
|
|
41
|
+
import { D as Ge } from "./Drawer-DV4NTsFg.mjs";
|
|
42
|
+
const Me = {
|
|
43
43
|
ACCOUNTS_CLICK_ACCOUNT: "accounts_widget_click_account",
|
|
44
44
|
ACCOUNTS_CLICK_CONNECT: "accounts_widget_click_connect_accounts",
|
|
45
45
|
ACCOUNTS_CLICK_FILTER: "accounts_widget_click_filter_accounts",
|
|
@@ -159,15 +159,15 @@ const Ge = {
|
|
|
159
159
|
TRENDS_HOVER_LEGEND: "trends_hover_ChartLegend",
|
|
160
160
|
TRENDS_LOAD_WIDGET: "trends_load_widget",
|
|
161
161
|
TRENDS_VIEW_TRANSACTIONS: "trends_view_transactions"
|
|
162
|
-
},
|
|
163
|
-
calendarActions:
|
|
164
|
-
color:
|
|
162
|
+
}, We = ({
|
|
163
|
+
calendarActions: n,
|
|
164
|
+
color: L = "primary",
|
|
165
165
|
copy: t,
|
|
166
|
-
range:
|
|
167
|
-
shouldShrinkToIcon:
|
|
166
|
+
range: u = [me(Le()), V(J())],
|
|
167
|
+
shouldShrinkToIcon: D = !0,
|
|
168
168
|
variant: c = "outlined"
|
|
169
169
|
}) => {
|
|
170
|
-
const x =
|
|
170
|
+
const x = be(), { isMobile: p } = _e(), { announce: B, ariaLive: k } = we(), [S, f] = E.useState(u), [d, b] = E.useState(t.dateRangePickerCopy.dateRangeThisMonth), [g, y] = E.useState(S), [O, h] = E.useState(!1), [I, A] = E.useState(!0), [l, v] = E.useState(6), P = {
|
|
171
171
|
buttons: [
|
|
172
172
|
{ label: "3M", value: 3 },
|
|
173
173
|
{ label: "6M", value: 6 },
|
|
@@ -181,43 +181,43 @@ const Ge = {
|
|
|
181
181
|
{ label: "1 Year", value: 12 }
|
|
182
182
|
]
|
|
183
183
|
};
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
}, [
|
|
187
|
-
(c === "timeframebuttons" || c === "timeframetabs") &&
|
|
184
|
+
E.useEffect(() => {
|
|
185
|
+
f(u), y(u);
|
|
186
|
+
}, [u]), E.useEffect(() => {
|
|
187
|
+
(c === "timeframebuttons" || c === "timeframetabs") && n.onRangeChanged(a());
|
|
188
188
|
}, [l]);
|
|
189
189
|
const a = () => {
|
|
190
190
|
const _ = V(J());
|
|
191
191
|
return [V(z(_, l)), _];
|
|
192
|
-
},
|
|
193
|
-
const [
|
|
192
|
+
}, w = (_) => {
|
|
193
|
+
const [r, s] = S, i = _ === "previous";
|
|
194
194
|
let o;
|
|
195
195
|
if (d === t.dateRangePickerCopy.dateRangeThisMonth || d === t.dateRangePickerCopy.dateRangeLastMonth)
|
|
196
196
|
o = [
|
|
197
|
-
|
|
198
|
-
V(
|
|
197
|
+
i ? z(r, 1) : Z(r, 1),
|
|
198
|
+
V(i ? z(s, 1) : Z(s, 1))
|
|
199
199
|
];
|
|
200
200
|
else if (d === t.dateRangePickerCopy.dateRangeYTD || d === t.dateRangePickerCopy.dateRangeLastYear) {
|
|
201
|
-
const
|
|
201
|
+
const T = ue(r), M = Ne(r);
|
|
202
202
|
o = [
|
|
203
|
-
|
|
204
|
-
|
|
203
|
+
i ? Q(T, 1) : q(T, 1),
|
|
204
|
+
i ? Q(M, 1) : q(M, 1)
|
|
205
205
|
];
|
|
206
206
|
} else {
|
|
207
|
-
const
|
|
208
|
-
o = [M(
|
|
207
|
+
const T = Ae(s, r), M = i ? De : ge;
|
|
208
|
+
o = [M(r, T), M(s, T)];
|
|
209
209
|
}
|
|
210
|
-
|
|
211
|
-
},
|
|
212
|
-
|
|
210
|
+
f(o), n.onRangeChanged(o);
|
|
211
|
+
}, U = () => {
|
|
212
|
+
f(g), A(
|
|
213
213
|
d === t.dateRangePickerCopy.dateRangeThisMonth || d === t.dateRangePickerCopy.dateRangeLastMonth
|
|
214
|
-
),
|
|
215
|
-
}, K = (_,
|
|
214
|
+
), n.onRangeChanged(g);
|
|
215
|
+
}, K = (_, r) => {
|
|
216
216
|
_[1] = _[1] ?? _[0];
|
|
217
|
-
const
|
|
218
|
-
|
|
219
|
-
},
|
|
220
|
-
|
|
217
|
+
const s = [_[0], _[1] ? Se(_[1]) : _[1]], i = N(s[0], m.MONTH_DAY_YEAR), o = N(s[1], m.MONTH_DAY_YEAR);
|
|
218
|
+
y(s), b(r), B(`${t.dateRangePickerCopy}: ${i} - ${o}`);
|
|
219
|
+
}, G = (_) => {
|
|
220
|
+
v(_);
|
|
221
221
|
};
|
|
222
222
|
return /* @__PURE__ */ C(X, { className: "mx-cmn-date-range-selector", m: 4, children: [
|
|
223
223
|
/* @__PURE__ */ C(
|
|
@@ -225,25 +225,25 @@ const Ge = {
|
|
|
225
225
|
{
|
|
226
226
|
sx: {
|
|
227
227
|
[x.breakpoints.down("sm")]: {
|
|
228
|
-
display:
|
|
228
|
+
display: D ? "none" : "flex",
|
|
229
229
|
justifyContent: "center"
|
|
230
230
|
},
|
|
231
231
|
[x.breakpoints.up("sm")]: { display: "inline-flex" }
|
|
232
232
|
},
|
|
233
233
|
children: [
|
|
234
234
|
c === "readonly" && /* @__PURE__ */ C(Y, { alignItems: "center", direction: "row", gap: 8, children: [
|
|
235
|
-
/* @__PURE__ */ e(
|
|
236
|
-
/* @__PURE__ */ e(F, { bold: !0, children:
|
|
237
|
-
/* @__PURE__ */ e(
|
|
238
|
-
/* @__PURE__ */ e(F, { bold: !0, children:
|
|
235
|
+
/* @__PURE__ */ e(R, { name: "calendar_month", size: 24 }),
|
|
236
|
+
/* @__PURE__ */ e(F, { bold: !0, children: N(g[0], m.MONTH_DAY) }),
|
|
237
|
+
/* @__PURE__ */ e(R, { name: "remove" }),
|
|
238
|
+
/* @__PURE__ */ e(F, { bold: !0, children: N(g[1], m.MONTH_DAY_YEAR) })
|
|
239
239
|
] }),
|
|
240
240
|
c !== "readonly" && c !== "timeframebuttons" && c !== "timeframetabs" && /* @__PURE__ */ C(
|
|
241
|
-
|
|
241
|
+
pe,
|
|
242
242
|
{
|
|
243
|
-
color:
|
|
243
|
+
color: L,
|
|
244
244
|
sx: {
|
|
245
245
|
"& .MuiButtonGroup-grouped": {
|
|
246
|
-
padding:
|
|
246
|
+
padding: p ? 0 : 12
|
|
247
247
|
},
|
|
248
248
|
"& .MuiButtonGroup-middleButton": {
|
|
249
249
|
px: 24
|
|
@@ -255,55 +255,55 @@ const Ge = {
|
|
|
255
255
|
/* @__PURE__ */ e(
|
|
256
256
|
W,
|
|
257
257
|
{
|
|
258
|
-
"aria-disabled":
|
|
258
|
+
"aria-disabled": n.shouldDisablePrevious,
|
|
259
259
|
"aria-label": t.dateRangePreviousAria,
|
|
260
|
-
color:
|
|
261
|
-
onClick: () =>
|
|
262
|
-
children: /* @__PURE__ */ e(
|
|
260
|
+
color: n.shouldDisablePrevious ? "secondary" : "primary",
|
|
261
|
+
onClick: () => n.shouldDisablePrevious ? null : w("previous"),
|
|
262
|
+
children: /* @__PURE__ */ e(R, { name: "chevron_left", size: 20 })
|
|
263
263
|
}
|
|
264
264
|
),
|
|
265
265
|
/* @__PURE__ */ e(
|
|
266
266
|
W,
|
|
267
267
|
{
|
|
268
|
-
"aria-disabled":
|
|
269
|
-
color:
|
|
270
|
-
onClick: () =>
|
|
271
|
-
startIcon: /* @__PURE__ */ e(
|
|
268
|
+
"aria-disabled": n.shouldDisablePicker,
|
|
269
|
+
color: L,
|
|
270
|
+
onClick: () => n.shouldDisablePicker ? null : h(!0),
|
|
271
|
+
startIcon: /* @__PURE__ */ e(R, { name: "calendar_month", size: 20 }),
|
|
272
272
|
sx: {
|
|
273
|
-
p:
|
|
273
|
+
p: p ? 0 : 8
|
|
274
274
|
},
|
|
275
|
-
children:
|
|
276
|
-
S
|
|
275
|
+
children: I ? N(S[0], m.MONTH_YEAR) : /* @__PURE__ */ C("span", { children: [
|
|
276
|
+
N(S[0], m.MONTH_DAY_YEAR),
|
|
277
277
|
" -",
|
|
278
278
|
" ",
|
|
279
|
-
S
|
|
279
|
+
N(S[1], m.MONTH_DAY_YEAR)
|
|
280
280
|
] })
|
|
281
281
|
}
|
|
282
282
|
),
|
|
283
283
|
/* @__PURE__ */ e(
|
|
284
284
|
W,
|
|
285
285
|
{
|
|
286
|
-
"aria-disabled":
|
|
286
|
+
"aria-disabled": n.shouldDisableNext,
|
|
287
287
|
"aria-label": t.dateRangeNextAria,
|
|
288
|
-
color:
|
|
289
|
-
onClick: () =>
|
|
290
|
-
children: /* @__PURE__ */ e(
|
|
288
|
+
color: n.shouldDisableNext ? "secondary" : "primary",
|
|
289
|
+
onClick: () => n.shouldDisableNext ? null : w("next"),
|
|
290
|
+
children: /* @__PURE__ */ e(R, { name: "chevron_right", size: 20 })
|
|
291
291
|
}
|
|
292
292
|
)
|
|
293
293
|
]
|
|
294
294
|
}
|
|
295
295
|
),
|
|
296
296
|
c === "timeframebuttons" && /* @__PURE__ */ e(
|
|
297
|
-
|
|
297
|
+
fe,
|
|
298
298
|
{
|
|
299
|
-
color:
|
|
299
|
+
color: L,
|
|
300
300
|
exclusive: !0,
|
|
301
301
|
orientation: "horizontal",
|
|
302
302
|
value: l,
|
|
303
303
|
children: P.buttons.map((_) => /* @__PURE__ */ e(
|
|
304
|
-
|
|
304
|
+
he,
|
|
305
305
|
{
|
|
306
|
-
onClick: () =>
|
|
306
|
+
onClick: () => G(_.value),
|
|
307
307
|
sx: { width: 56 },
|
|
308
308
|
value: _.value,
|
|
309
309
|
children: _.label
|
|
@@ -313,10 +313,10 @@ const Ge = {
|
|
|
313
313
|
}
|
|
314
314
|
),
|
|
315
315
|
c === "timeframetabs" && /* @__PURE__ */ e(
|
|
316
|
-
|
|
316
|
+
Oe,
|
|
317
317
|
{
|
|
318
318
|
indicatorColor: "primary",
|
|
319
|
-
onChange: (_,
|
|
319
|
+
onChange: (_, r) => G(r),
|
|
320
320
|
textColor: "primary",
|
|
321
321
|
value: l,
|
|
322
322
|
variant: "fullWidth",
|
|
@@ -334,14 +334,14 @@ const Ge = {
|
|
|
334
334
|
]
|
|
335
335
|
}
|
|
336
336
|
),
|
|
337
|
-
|
|
338
|
-
|
|
337
|
+
O && p && /* @__PURE__ */ C(
|
|
338
|
+
Ge,
|
|
339
339
|
{
|
|
340
340
|
ariaLabelClose: t.dateRangeCloseAria,
|
|
341
|
-
isOpen:
|
|
342
|
-
onClose: () =>
|
|
341
|
+
isOpen: O,
|
|
342
|
+
onClose: () => h(!1),
|
|
343
343
|
onPrimaryAction: () => {
|
|
344
|
-
|
|
344
|
+
U(), h(!1);
|
|
345
345
|
},
|
|
346
346
|
primaryText: t.dateRangeEditApply,
|
|
347
347
|
title: t.dateRangeEditTitle,
|
|
@@ -351,7 +351,7 @@ const Ge = {
|
|
|
351
351
|
$,
|
|
352
352
|
{
|
|
353
353
|
copy: t.dateRangePickerCopy,
|
|
354
|
-
dateRange:
|
|
354
|
+
dateRange: g,
|
|
355
355
|
onRangeChanged: K,
|
|
356
356
|
selectedShortcut: d,
|
|
357
357
|
sx: { p: 0 }
|
|
@@ -360,13 +360,13 @@ const Ge = {
|
|
|
360
360
|
]
|
|
361
361
|
}
|
|
362
362
|
),
|
|
363
|
-
|
|
363
|
+
O && !p && /* @__PURE__ */ C(
|
|
364
364
|
Ke,
|
|
365
365
|
{
|
|
366
366
|
copy: { title: t.dateRangeEditTitle },
|
|
367
367
|
isOpen: !0,
|
|
368
|
-
onClose: () =>
|
|
369
|
-
onPrimaryAction: () =>
|
|
368
|
+
onClose: () => h(!1),
|
|
369
|
+
onPrimaryAction: () => U(),
|
|
370
370
|
primaryText: t.dateRangeEditApply,
|
|
371
371
|
sx: {
|
|
372
372
|
"& .MuiDialogContent-root": {
|
|
@@ -379,7 +379,7 @@ const Ge = {
|
|
|
379
379
|
$,
|
|
380
380
|
{
|
|
381
381
|
copy: t.dateRangePickerCopy,
|
|
382
|
-
dateRange:
|
|
382
|
+
dateRange: g,
|
|
383
383
|
onRangeChanged: K,
|
|
384
384
|
selectedShortcut: d,
|
|
385
385
|
sx: {
|
|
@@ -394,29 +394,29 @@ const Ge = {
|
|
|
394
394
|
}
|
|
395
395
|
)
|
|
396
396
|
] });
|
|
397
|
-
}, ee =
|
|
397
|
+
}, ee = We, u_ = te(
|
|
398
398
|
({
|
|
399
|
-
allowedAccountTypes:
|
|
400
|
-
actions:
|
|
399
|
+
allowedAccountTypes: n,
|
|
400
|
+
actions: L = [],
|
|
401
401
|
calendarActions: t,
|
|
402
|
-
children:
|
|
403
|
-
dateRange:
|
|
402
|
+
children: u,
|
|
403
|
+
dateRange: D,
|
|
404
404
|
dateRangeVariant: c,
|
|
405
405
|
className: x = "mx-cmn-widget",
|
|
406
|
-
hasDivider:
|
|
406
|
+
hasDivider: p = !1,
|
|
407
407
|
onAccountsFilterClick: B,
|
|
408
408
|
onBackClick: k,
|
|
409
|
-
showAccountFilter:
|
|
410
|
-
showDividerAboveDateSelector:
|
|
409
|
+
showAccountFilter: S = !0,
|
|
410
|
+
showDividerAboveDateSelector: f = !0,
|
|
411
411
|
sx: d = {},
|
|
412
|
-
title:
|
|
412
|
+
title: b = ""
|
|
413
413
|
}) => {
|
|
414
|
-
const [
|
|
415
|
-
k && (k(),
|
|
414
|
+
const [g, { height: y, width: O }] = oe(), { onEvent: h } = de(), { isDesktop: I, isMobile: A, isTablet: l } = _e(O), { displayedDateRange: v, isCopyLoaded: P } = Te(), { common: a } = Ie(), { config: w } = Ee(), U = () => {
|
|
415
|
+
k && (k(), h(Me.WIDGET_BACK_CLICK));
|
|
416
416
|
};
|
|
417
417
|
if (!P)
|
|
418
418
|
return /* @__PURE__ */ e(Ce, {});
|
|
419
|
-
const
|
|
419
|
+
const K = {
|
|
420
420
|
dateRangePickerCopy: {
|
|
421
421
|
dateRangeFrom: a.date_range_picker.from,
|
|
422
422
|
dateRangeTo: a.date_range_picker.to,
|
|
@@ -434,122 +434,125 @@ const Ge = {
|
|
|
434
434
|
dateRangeEditTitle: a.date_range_picker.edit_title,
|
|
435
435
|
dateRangeNextAria: a.date_range_picker.next_aria,
|
|
436
436
|
dateRangePreviousAria: a.date_range_picker.previous_aria
|
|
437
|
-
},
|
|
437
|
+
}, G = D ? D.start : v.start, _ = D ? D.end : v.end, r = L?.length > 1;
|
|
438
438
|
return /* @__PURE__ */ C(
|
|
439
439
|
ae,
|
|
440
440
|
{
|
|
441
441
|
className: x,
|
|
442
442
|
sx: {
|
|
443
|
-
...
|
|
443
|
+
...A && { px: 4 },
|
|
444
444
|
"& .mx-cmn-date-range-selector": {
|
|
445
|
-
...(
|
|
445
|
+
...(A || l) && { textAlign: "center" }
|
|
446
446
|
},
|
|
447
447
|
...d
|
|
448
448
|
},
|
|
449
449
|
children: [
|
|
450
|
-
|
|
450
|
+
b && /* @__PURE__ */ e(
|
|
451
451
|
ne,
|
|
452
452
|
{
|
|
453
453
|
action: /* @__PURE__ */ C(Y, { alignItems: "center", flexDirection: "row", children: [
|
|
454
|
-
|
|
454
|
+
I && t && /* @__PURE__ */ e(X, { sx: { flexGrow: 1 }, children: /* @__PURE__ */ e(
|
|
455
455
|
ee,
|
|
456
456
|
{
|
|
457
457
|
calendarActions: t,
|
|
458
|
-
copy:
|
|
459
|
-
range: [
|
|
458
|
+
copy: K,
|
|
459
|
+
range: [G, _],
|
|
460
460
|
shouldShrinkToIcon: !1,
|
|
461
461
|
variant: c
|
|
462
462
|
}
|
|
463
463
|
) }),
|
|
464
|
-
|
|
464
|
+
S && /* @__PURE__ */ e(
|
|
465
465
|
le,
|
|
466
466
|
{
|
|
467
|
-
allowedAccountTypes:
|
|
467
|
+
allowedAccountTypes: n,
|
|
468
468
|
onAccountFilterClick: B
|
|
469
469
|
}
|
|
470
470
|
),
|
|
471
|
-
|
|
472
|
-
if (
|
|
473
|
-
const { iconName: i, onClick:
|
|
474
|
-
return
|
|
471
|
+
L?.map((s) => {
|
|
472
|
+
if (E.isValidElement(s)) return s;
|
|
473
|
+
const { iconName: i, onClick: o, label: T } = s;
|
|
474
|
+
return r ? I || l ? /* @__PURE__ */ e(
|
|
475
475
|
W,
|
|
476
476
|
{
|
|
477
|
-
onClick:
|
|
478
|
-
startIcon: /* @__PURE__ */ e(
|
|
477
|
+
onClick: o,
|
|
478
|
+
startIcon: /* @__PURE__ */ e(R, { name: i, size: 24 }),
|
|
479
479
|
sx: { my: 4 },
|
|
480
|
-
children:
|
|
480
|
+
children: T
|
|
481
481
|
},
|
|
482
482
|
i
|
|
483
483
|
) : /* @__PURE__ */ e(
|
|
484
484
|
H,
|
|
485
485
|
{
|
|
486
|
-
"aria-label":
|
|
486
|
+
"aria-label": T,
|
|
487
487
|
color: "primary",
|
|
488
|
-
onClick:
|
|
489
|
-
children: /* @__PURE__ */ e(
|
|
488
|
+
onClick: o,
|
|
489
|
+
children: /* @__PURE__ */ e(R, { name: i, size: 24 })
|
|
490
490
|
},
|
|
491
491
|
i
|
|
492
|
-
) :
|
|
492
|
+
) : I || l ? /* @__PURE__ */ e(
|
|
493
493
|
W,
|
|
494
494
|
{
|
|
495
|
-
onClick:
|
|
496
|
-
startIcon: /* @__PURE__ */ e(
|
|
495
|
+
onClick: o,
|
|
496
|
+
startIcon: /* @__PURE__ */ e(R, { name: i, size: 24 }),
|
|
497
497
|
sx: { my: 4 },
|
|
498
|
-
children:
|
|
498
|
+
children: T
|
|
499
499
|
},
|
|
500
500
|
i
|
|
501
|
-
) : /* @__PURE__ */ e(H, { "aria-label":
|
|
501
|
+
) : /* @__PURE__ */ e(H, { "aria-label": T, color: "primary", onClick: o, children: /* @__PURE__ */ e(R, { name: i, size: 24 }) }, i);
|
|
502
502
|
})
|
|
503
503
|
] }),
|
|
504
504
|
sx: {
|
|
505
|
-
p:
|
|
505
|
+
p: I ? 48 : 24,
|
|
506
506
|
pb: 0,
|
|
507
507
|
"& .MuiCardHeader-action": {
|
|
508
508
|
mr: 0,
|
|
509
|
-
...t &&
|
|
510
|
-
...(
|
|
509
|
+
...t && I && { flexGrow: 1 },
|
|
510
|
+
...(A || l) && { alignSelf: "center" }
|
|
511
511
|
},
|
|
512
512
|
"& .MuiCardHeader-content": {
|
|
513
513
|
overflow: "hidden"
|
|
514
514
|
}
|
|
515
515
|
},
|
|
516
|
-
title:
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
516
|
+
title: (
|
|
517
|
+
// eslint-disable-next-line no-nested-ternary
|
|
518
|
+
I || l ? w.display_widget_headings ? /* @__PURE__ */ e(ce, { variant: "H1", children: b }) : null : /* @__PURE__ */ C(Y, { alignItems: "center", flexDirection: "row", sx: { overflow: "hidden" }, children: [
|
|
519
|
+
A && k && /* @__PURE__ */ e(
|
|
520
|
+
H,
|
|
521
|
+
{
|
|
522
|
+
"aria-label": a.back_to_dashboard,
|
|
523
|
+
color: "primary",
|
|
524
|
+
onClick: U,
|
|
525
|
+
sx: { p: 12, mr: 4 },
|
|
526
|
+
children: /* @__PURE__ */ e(re, { size: 24 })
|
|
527
|
+
}
|
|
528
|
+
),
|
|
529
|
+
w.display_widget_headings ? /* @__PURE__ */ e(se, { children: b }) : null
|
|
530
|
+
] })
|
|
531
|
+
)
|
|
529
532
|
}
|
|
530
533
|
),
|
|
531
|
-
|
|
532
|
-
t && (
|
|
533
|
-
|
|
534
|
+
p && /* @__PURE__ */ e(j, { sx: { mt: I ? 48 : 24 } }),
|
|
535
|
+
t && (A || l) && /* @__PURE__ */ C(Y, { gap: 24, justifyContent: "center", sx: { mt: A ? 0 : 16 }, children: [
|
|
536
|
+
f && /* @__PURE__ */ e(j, {}),
|
|
534
537
|
/* @__PURE__ */ e(
|
|
535
538
|
ee,
|
|
536
539
|
{
|
|
537
540
|
calendarActions: t,
|
|
538
|
-
copy:
|
|
539
|
-
range: [
|
|
541
|
+
copy: K,
|
|
542
|
+
range: [G, _],
|
|
540
543
|
shouldShrinkToIcon: !1,
|
|
541
544
|
variant: c
|
|
542
545
|
}
|
|
543
546
|
)
|
|
544
547
|
] }),
|
|
545
|
-
/* @__PURE__ */ e(ie, { ref:
|
|
548
|
+
/* @__PURE__ */ e(ie, { ref: g, sx: { p: 0 }, children: /* @__PURE__ */ e(Re, { availableHeight: y, availableWidth: O, children: u }) })
|
|
546
549
|
]
|
|
547
550
|
}
|
|
548
551
|
);
|
|
549
552
|
}
|
|
550
553
|
);
|
|
551
554
|
export {
|
|
552
|
-
|
|
555
|
+
Me as A,
|
|
553
556
|
ee as D,
|
|
554
|
-
|
|
557
|
+
u_ as W
|
|
555
558
|
};
|
|
@@ -25,7 +25,7 @@ import I1 from "@mui/material/Switch";
|
|
|
25
25
|
import D from "@mui/material/ListItem";
|
|
26
26
|
import $ from "@mui/material/ListItemButton";
|
|
27
27
|
import O from "@mui/material/ListItemText";
|
|
28
|
-
import { A as S, W as N1 } from "../WidgetContainer-
|
|
28
|
+
import { A as S, W as N1 } from "../WidgetContainer-BbbYyHJ_.mjs";
|
|
29
29
|
import { a as Q, f as s1, D as l1 } from "../Dialog-B4PI-_bL.mjs";
|
|
30
30
|
import { b as f } from "../Localization-2MODESHW.mjs";
|
|
31
31
|
import { D as t1 } from "../Drawer-DV4NTsFg.mjs";
|
|
@@ -53,7 +53,7 @@ import t3 from "@mui/material/AlertTitle";
|
|
|
53
53
|
import n3 from "@mui/material/Link";
|
|
54
54
|
import o3 from "@mui/material/Paper";
|
|
55
55
|
import { subDays as i3, startOfToday as c3, endOfToday as a3 } from "date-fns";
|
|
56
|
-
import { T as s3, a as l3 } from "../TransactionDetails-
|
|
56
|
+
import { T as s3, a as l3 } from "../TransactionDetails-UQcXldhR.mjs";
|
|
57
57
|
import { T as r1 } from "../TabContentContainer-j01JYR_7.mjs";
|
|
58
58
|
import { f as d1 } from "../NumberFormatting-DjTD0t3W.mjs";
|
|
59
59
|
import { C as r3 } from "../ConnectionsDrawer-BDpVTTSe.mjs";
|
package/dist/budgets/index.es.js
CHANGED
|
@@ -28,7 +28,7 @@ import { useTheme as Ve } from "@mui/material/styles";
|
|
|
28
28
|
import { u as ie } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
29
29
|
import { L as ge } from "../Loader-DUaFpDGv.mjs";
|
|
30
30
|
import { E as le } from "../EmptyState-DoxNUae-.mjs";
|
|
31
|
-
import { A as N, W as Ye } from "../WidgetContainer-
|
|
31
|
+
import { A as N, W as Ye } from "../WidgetContainer-BbbYyHJ_.mjs";
|
|
32
32
|
import { u as Ze } from "../BudgetUtil-BmZXkL0C.mjs";
|
|
33
33
|
import { u as we } from "../useWidgetLoadTimer-hIOioiKx.mjs";
|
|
34
34
|
import { M as qe } from "../MiniWidgetContainer-98-hKFqm.mjs";
|
|
@@ -39,7 +39,7 @@ import Ee from "@mui/material/Snackbar";
|
|
|
39
39
|
import _e from "@mui/material/Tab";
|
|
40
40
|
import Qe from "@mui/material/Tabs";
|
|
41
41
|
import { e as et } from "../exportTransactionsToCSV-DtQ7ovAR.mjs";
|
|
42
|
-
import { T as Ie, a as tt } from "../TransactionDetails-
|
|
42
|
+
import { T as Ie, a as tt } from "../TransactionDetails-UQcXldhR.mjs";
|
|
43
43
|
import pe from "@mui/material/Card";
|
|
44
44
|
import he from "@mui/material/CardContent";
|
|
45
45
|
import { S as me } from "../StatusBar-BK_uYHAB.mjs";
|
|
@@ -48,7 +48,7 @@ import { u as nt, b as ot } from "../CategorySelectorDrawer-cQKX5dZb.mjs";
|
|
|
48
48
|
import Re from "@mui/material/CardHeader";
|
|
49
49
|
import { subDays as at } from "date-fns/subDays";
|
|
50
50
|
import rt from "@mui/material/IconButton";
|
|
51
|
-
import { M as st } from "../ManageIncome-
|
|
51
|
+
import { M as st } from "../ManageIncome-C5QcA-0a.mjs";
|
|
52
52
|
const it = E(() => {
|
|
53
53
|
const { budgets: t } = w(), { totalBudgeted: o } = D(), { incomeTotal: i } = te(), s = i - o;
|
|
54
54
|
return /* @__PURE__ */ m(B, { direction: "row", justifyContent: "center", my: 16, spacing: 20, children: [
|
|
@@ -18,7 +18,7 @@ import { b as $ } from "../Localization-2MODESHW.mjs";
|
|
|
18
18
|
import { u as Oe } from "../useWidgetLoadTimer-hIOioiKx.mjs";
|
|
19
19
|
import { M as Je } from "../MiniWidgetContainer-98-hKFqm.mjs";
|
|
20
20
|
import { E as Ze } from "../EmptyState-DoxNUae-.mjs";
|
|
21
|
-
import { R as et } from "../RecurringSettings-
|
|
21
|
+
import { R as et } from "../RecurringSettings-CoH1Fhw7.mjs";
|
|
22
22
|
import tt from "@mui/material/Tabs";
|
|
23
23
|
import ye from "@mui/material/Tab";
|
|
24
24
|
import { getUnixTime as z } from "date-fns/getUnixTime";
|
|
@@ -36,16 +36,16 @@ import { alpha as at, keyframes as it } from "@mui/material/styles";
|
|
|
36
36
|
import { DataGridPro as rt } from "@mui/x-data-grid-pro";
|
|
37
37
|
import { T as we } from "../TabContentContainer-j01JYR_7.mjs";
|
|
38
38
|
import G from "@mui/material/Button";
|
|
39
|
-
import { M as st, S as ct, i as lt, d as _e, c as dt } from "../ManageIncome-
|
|
39
|
+
import { M as st, S as ct, i as lt, d as _e, c as dt } from "../ManageIncome-C5QcA-0a.mjs";
|
|
40
40
|
import { D as Ge } from "../Drawer-DV4NTsFg.mjs";
|
|
41
41
|
import { subDays as Me } from "date-fns/subDays";
|
|
42
42
|
import { endOfToday as mt } from "date-fns/endOfToday";
|
|
43
|
-
import { W as ut, A as Ie } from "../WidgetContainer-
|
|
43
|
+
import { W as ut, A as Ie } from "../WidgetContainer-BbbYyHJ_.mjs";
|
|
44
44
|
import { A as Q } from "../Account-BiB1F8lL.mjs";
|
|
45
45
|
import { formatISO as ht } from "date-fns/formatISO";
|
|
46
46
|
import { fromUnixTime as De } from "date-fns/fromUnixTime";
|
|
47
47
|
import { startOfMonth as pt } from "date-fns/startOfMonth";
|
|
48
|
-
import { S as ft, b as gt } from "../TransactionDetails-
|
|
48
|
+
import { S as ft, b as gt } from "../TransactionDetails-UQcXldhR.mjs";
|
|
49
49
|
import { F as bt, R as ve, e as Ae } from "../RepeatingTransaction-miZVnk_A.mjs";
|
|
50
50
|
import { h as xt } from "../DateUtil-D7U-nc1Y.mjs";
|
|
51
51
|
import { F as Ct, A as j } from "../Fetch-DecPFeGU.mjs";
|
package/dist/common/index.es.js
CHANGED
|
@@ -12,14 +12,14 @@ import { H as at } from "../Help-DhcC-C05.mjs";
|
|
|
12
12
|
import { E as Ss } from "../Help-DhcC-C05.mjs";
|
|
13
13
|
import { M as ws } from "../MicroWidgetContainer-B2hO9rOG.mjs";
|
|
14
14
|
import { M as xs } from "../MiniWidgetContainer-98-hKFqm.mjs";
|
|
15
|
-
import { A as As, D as vs, W as Es } from "../WidgetContainer-
|
|
15
|
+
import { A as As, D as vs, W as Es } from "../WidgetContainer-BbbYyHJ_.mjs";
|
|
16
16
|
import { b as Bs, G as Is } from "../GlobalAccountFilter-DQCPNc95.mjs";
|
|
17
17
|
import { C as Ms } from "../CurrencyInput-itK0R3wV.mjs";
|
|
18
18
|
import { L as Us } from "../Loader-DUaFpDGv.mjs";
|
|
19
19
|
import { R as Rs } from "../ResponsiveButton-DZFp78fJ.mjs";
|
|
20
20
|
import { S as Os } from "../SearchBox-B2_zLv8-.mjs";
|
|
21
|
-
import { T as it } from "../TransactionStore-
|
|
22
|
-
import { S as Fs } from "../TransactionStore-
|
|
21
|
+
import { T as it } from "../TransactionStore-COGlidS-.mjs";
|
|
22
|
+
import { S as Fs } from "../TransactionStore-COGlidS-.mjs";
|
|
23
23
|
import { T as Gs } from "../TabContentContainer-j01JYR_7.mjs";
|
|
24
24
|
import { I as qs } from "../IconBacking-B9oC6uL2.mjs";
|
|
25
25
|
import { D as Qs, F as Xs, c as js, d as Ks, R as zs, S as Vs } from "../RepeatingTransaction-miZVnk_A.mjs";
|
|
@@ -939,6 +939,7 @@ const z = {
|
|
|
939
939
|
display_terms_and_conditions: !0,
|
|
940
940
|
display_user_profile_in_settings: !0,
|
|
941
941
|
display_user_transaction_rules_in_settings: !0,
|
|
942
|
+
display_widget_headings: !0,
|
|
942
943
|
enable_add_account_in_zero_state: !0,
|
|
943
944
|
enable_aggregation_prompts: !0,
|
|
944
945
|
enable_external_accounts_in_goals_widget: !0,
|
|
@@ -87,6 +87,7 @@ export interface Config {
|
|
|
87
87
|
display_terms_and_conditions: boolean;
|
|
88
88
|
display_user_profile_in_settings: boolean;
|
|
89
89
|
display_user_transaction_rules_in_settings: boolean;
|
|
90
|
+
display_widget_headings: boolean;
|
|
90
91
|
enable_add_account_in_zero_state: boolean;
|
|
91
92
|
enable_aggregation_prompts: boolean;
|
|
92
93
|
enable_external_accounts_in_goals_widget: boolean;
|
package/dist/debts/index.es.js
CHANGED
|
@@ -23,7 +23,7 @@ import Oe from "@mui/material/CardHeader";
|
|
|
23
23
|
import ae from "@mui/material/Box";
|
|
24
24
|
import { useTheme as He } from "@mui/material/styles";
|
|
25
25
|
import { LineChart as Ge } from "@mui/x-charts/LineChart";
|
|
26
|
-
import { A as T, W as We } from "../WidgetContainer-
|
|
26
|
+
import { A as T, W as We } from "../WidgetContainer-BbbYyHJ_.mjs";
|
|
27
27
|
import pe from "@mui/material/Tab";
|
|
28
28
|
import je from "@mui/material/Tabs";
|
|
29
29
|
import fe from "@mui/material/List";
|
|
@@ -41,7 +41,7 @@ import { S as rt, F as wt, e as Hn, R as kt } from "../RepeatingTransaction-miZV
|
|
|
41
41
|
import { A as ze } from "../Account-BiB1F8lL.mjs";
|
|
42
42
|
import { S as Nn } from "../StatusBar-BK_uYHAB.mjs";
|
|
43
43
|
import { h as Mt } from "../DateUtil-D7U-nc1Y.mjs";
|
|
44
|
-
import { T as jn, s as Kn, h as Vn, S as Xn, b as Yn } from "../TransactionDetails-
|
|
44
|
+
import { T as jn, s as Kn, h as Vn, S as Xn, b as Yn } from "../TransactionDetails-UQcXldhR.mjs";
|
|
45
45
|
import { T as pe } from "../TabContentContainer-j01JYR_7.mjs";
|
|
46
46
|
import qn from "@mui/material/useMediaQuery";
|
|
47
47
|
import { BarPlot as Un } from "@mui/x-charts/BarChart";
|
|
@@ -55,10 +55,10 @@ import { formatISO as oo } from "date-fns/formatISO";
|
|
|
55
55
|
import { fromUnixTime as ro } from "date-fns/fromUnixTime";
|
|
56
56
|
import { startOfToday as at } from "date-fns/startOfToday";
|
|
57
57
|
import { subDays as ao } from "date-fns/subDays";
|
|
58
|
-
import { c as io, d as it, S as so, i as co } from "../ManageIncome-
|
|
58
|
+
import { c as io, d as it, S as so, i as co } from "../ManageIncome-C5QcA-0a.mjs";
|
|
59
59
|
import { LocalizationProvider as lo, DatePicker as po, StaticDatePicker as _o } from "@mui/x-date-pickers";
|
|
60
60
|
import { AdapterDateFns as Tt } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
61
|
-
import { R as uo } from "../RecurringSettings-
|
|
61
|
+
import { R as uo } from "../RecurringSettings-CoH1Fhw7.mjs";
|
|
62
62
|
import { LocalizationProvider as ho } from "@mui/x-date-pickers/LocalizationProvider";
|
|
63
63
|
import { format as mo } from "date-fns/format";
|
|
64
64
|
import go from "@mui/lab/Timeline";
|
|
@@ -71,7 +71,7 @@ import Co from "@mui/material/Accordion";
|
|
|
71
71
|
import wo from "@mui/material/AccordionDetails";
|
|
72
72
|
import ko from "@mui/material/AccordionSummary";
|
|
73
73
|
import { u as Mo } from "../useWidgetLoadTimer-hIOioiKx.mjs";
|
|
74
|
-
import { W as Do } from "../WidgetContainer-
|
|
74
|
+
import { W as Do } from "../WidgetContainer-BbbYyHJ_.mjs";
|
|
75
75
|
const Io = ({
|
|
76
76
|
dialScoreData: t,
|
|
77
77
|
dataIndex: o,
|
package/dist/goals/index.es.js
CHANGED
|
@@ -48,7 +48,7 @@ import { AdapterDateFns as dt } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
|
48
48
|
import { DatePicker as mt } from "@mui/x-date-pickers";
|
|
49
49
|
import { LocalizationProvider as _t } from "@mui/x-date-pickers/LocalizationProvider";
|
|
50
50
|
import { u as Ke } from "../useWidgetLoadTimer-hIOioiKx.mjs";
|
|
51
|
-
import { A as X, W as ut } from "../WidgetContainer-
|
|
51
|
+
import { A as X, W as ut } from "../WidgetContainer-BbbYyHJ_.mjs";
|
|
52
52
|
import { L as Me } from "../Loader-DUaFpDGv.mjs";
|
|
53
53
|
import { E as pt } from "../EmptyState-DoxNUae-.mjs";
|
|
54
54
|
import ht from "@mui/material/Stack/Stack";
|
package/dist/help/index.es.js
CHANGED
|
@@ -4,7 +4,7 @@ import { H as m } from "../Help-DODxp9uw.mjs";
|
|
|
4
4
|
import { b as s } from "../hooks-ZMp65DFz.mjs";
|
|
5
5
|
import { u as a } from "../useWidgetLoadTimer-hIOioiKx.mjs";
|
|
6
6
|
import { L as p } from "../Loader-DUaFpDGv.mjs";
|
|
7
|
-
import { W as d } from "../WidgetContainer-
|
|
7
|
+
import { W as d } from "../WidgetContainer-BbbYyHJ_.mjs";
|
|
8
8
|
const H = t(({ onBackClick: e, sx: i }) => {
|
|
9
9
|
const { isInitialized: o } = s();
|
|
10
10
|
return a({
|
|
@@ -17,7 +17,7 @@ import fe from "@mui/material/ToggleButtonGroup";
|
|
|
17
17
|
import { Text as r, P as J, InstitutionLogo as oe } from "@mxenabled/mxui";
|
|
18
18
|
import He from "@mui/material/Button";
|
|
19
19
|
import { u as M, g as ve, s as H, b as Q, d as le } from "../hooks-ZMp65DFz.mjs";
|
|
20
|
-
import { A as z, W as Ue } from "../WidgetContainer-
|
|
20
|
+
import { A as z, W as Ue } from "../WidgetContainer-BbbYyHJ_.mjs";
|
|
21
21
|
import { a as je, f as ie } from "../NumberFormatting-DjTD0t3W.mjs";
|
|
22
22
|
import { u as U } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
23
23
|
import ce from "@mui/material/styles/useTheme";
|
|
@@ -27,7 +27,7 @@ import X from "@mui/material/ListItemIcon";
|
|
|
27
27
|
import { g as F } from "../NetWorthStore-yV43kJro.mjs";
|
|
28
28
|
import { N as vt } from "../NetWorthStore-yV43kJro.mjs";
|
|
29
29
|
import { D as K } from "../Drawer-DV4NTsFg.mjs";
|
|
30
|
-
import { A as v, W as ue } from "../WidgetContainer-
|
|
30
|
+
import { A as v, W as ue } from "../WidgetContainer-BbbYyHJ_.mjs";
|
|
31
31
|
import { format as fe, fromUnixTime as xe, differenceInMonths as ge } from "date-fns";
|
|
32
32
|
import { Icon as te } from "@mxenabled/mx-icons";
|
|
33
33
|
import { f as U } from "../NumberFormatting-DjTD0t3W.mjs";
|
|
@@ -6,8 +6,8 @@ import { endOfToday as Z } from "date-fns/endOfToday";
|
|
|
6
6
|
import { startOfMonth as G } from "date-fns/startOfMonth";
|
|
7
7
|
import { startOfToday as J } from "date-fns/startOfToday";
|
|
8
8
|
import { subDays as Q } from "date-fns/subDays";
|
|
9
|
-
import { R as Te } from "../RecurringSettings-
|
|
10
|
-
import { M as vn } from "../RecurringSettings-
|
|
9
|
+
import { R as Te } from "../RecurringSettings-CoH1Fhw7.mjs";
|
|
10
|
+
import { M as vn } from "../RecurringSettings-CoH1Fhw7.mjs";
|
|
11
11
|
import { addMonths as We } from "date-fns/addMonths";
|
|
12
12
|
import { subMonths as $e } from "date-fns/subMonths";
|
|
13
13
|
import { isBefore as Be } from "date-fns/isBefore";
|
|
@@ -31,7 +31,7 @@ import { u as R, b as H, j as _, g as z, p as _e, h as ne } from "../hooks-ZMp65
|
|
|
31
31
|
import { d as I, c as T, g as xe, f as et } from "../RepeatingTransaction-miZVnk_A.mjs";
|
|
32
32
|
import { T as O } from "../RecurringTransactionsStore-BQBEJOPP.mjs";
|
|
33
33
|
import { R as An } from "../RecurringTransactionsStore-BQBEJOPP.mjs";
|
|
34
|
-
import { A as S, W as tt } from "../WidgetContainer-
|
|
34
|
+
import { A as S, W as tt } from "../WidgetContainer-BbbYyHJ_.mjs";
|
|
35
35
|
import nt from "@mui/material/Button";
|
|
36
36
|
import q from "@mui/material/Divider";
|
|
37
37
|
import be from "@mui/material/List";
|
|
@@ -40,8 +40,8 @@ import it from "@mui/material/ListSubheader";
|
|
|
40
40
|
import rt from "@mui/material/ListItemAvatar";
|
|
41
41
|
import ot from "@mui/material/ListItemButton";
|
|
42
42
|
import at from "@mui/material/ListItemText";
|
|
43
|
-
import { b as st } from "../ManageIncome-
|
|
44
|
-
import { c as Nn, M as Gn, S as On } from "../ManageIncome-
|
|
43
|
+
import { b as st } from "../ManageIncome-C5QcA-0a.mjs";
|
|
44
|
+
import { c as Nn, M as Gn, S as On } from "../ManageIncome-C5QcA-0a.mjs";
|
|
45
45
|
import { f as M } from "../NumberFormatting-DjTD0t3W.mjs";
|
|
46
46
|
import { D as ie } from "../Drawer-DV4NTsFg.mjs";
|
|
47
47
|
import { b as E } from "../Localization-2MODESHW.mjs";
|
|
@@ -43,7 +43,7 @@ import Le from "@mui/material/ListItemText";
|
|
|
43
43
|
import { D as He } from "../Drawer-DV4NTsFg.mjs";
|
|
44
44
|
import { u as ne } from "../useWidgetLoadTimer-hIOioiKx.mjs";
|
|
45
45
|
import { H as Oe } from "../Help-DODxp9uw.mjs";
|
|
46
|
-
import { W as X } from "../WidgetContainer-
|
|
46
|
+
import { W as X } from "../WidgetContainer-BbbYyHJ_.mjs";
|
|
47
47
|
const Fe = ({ availableWidth: t, handleOnLeavClick: a }) => {
|
|
48
48
|
const o = xe(), { common: i, settings: n } = D(), { isDesktop: d, isMobile: s, isSmallMobile: r, isTablet: l } = O(t), { config: b } = $(), { updateUser: _ } = A(), { user: m } = Se(), [h, S] = p.useState({
|
|
49
49
|
first_name: m.first_name,
|
|
@@ -19,7 +19,7 @@ import { startOfToday as q } from "date-fns/startOfToday";
|
|
|
19
19
|
import St from "@mui/material/Button";
|
|
20
20
|
import { useTheme as Tt } from "@mui/material";
|
|
21
21
|
import { e as Mt } from "../exportTransactionsToCSV-DtQ7ovAR.mjs";
|
|
22
|
-
import { T as Dt, a as xt } from "../TransactionDetails-
|
|
22
|
+
import { T as Dt, a as xt } from "../TransactionDetails-UQcXldhR.mjs";
|
|
23
23
|
import wt from "@mui/material/Collapse";
|
|
24
24
|
import F from "@mui/material/Divider";
|
|
25
25
|
import J from "@mui/material/List";
|
|
@@ -28,7 +28,7 @@ import Z from "@mui/material/ListItemButton";
|
|
|
28
28
|
import { u as Lt } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
29
29
|
import { D as tt } from "../Drawer-DV4NTsFg.mjs";
|
|
30
30
|
import { b as L } from "../Category-CevNQ03n.mjs";
|
|
31
|
-
import { A as et, W as vt } from "../WidgetContainer-
|
|
31
|
+
import { A as et, W as vt } from "../WidgetContainer-BbbYyHJ_.mjs";
|
|
32
32
|
const k = ({ amount: n, label: d, variant: a = "full" }) => /* @__PURE__ */ c(b, { direction: "column", children: [
|
|
33
33
|
/* @__PURE__ */ t(T, { bold: !0, sx: { textTransform: "none" }, variant: "Body", children: d }),
|
|
34
34
|
/* @__PURE__ */ t(T, { variant: "XSmall", children: R(n, a === "mini" ? "0,0" : "0,0.00") })
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { T as ba } from "../TransactionApi-CjBoLleL.mjs";
|
|
2
|
-
import { u as R, C as Le, D as Me, M as Re, c as He, T as Pe, a as Be } from "../TransactionDetails-
|
|
3
|
-
import { B as xa, d as Sa, b as wa } from "../TransactionDetails-
|
|
2
|
+
import { u as R, C as Le, D as Me, M as Re, c as He, T as Pe, a as Be } from "../TransactionDetails-UQcXldhR.mjs";
|
|
3
|
+
import { B as xa, d as Sa, b as wa } from "../TransactionDetails-UQcXldhR.mjs";
|
|
4
4
|
import { T as E } from "../User-B0LnmiKO.mjs";
|
|
5
5
|
import { O as Ia } from "../User-B0LnmiKO.mjs";
|
|
6
|
-
import { S as Z, D as $e } from "../TransactionStore-
|
|
7
|
-
import { T as Na } from "../TransactionStore-
|
|
6
|
+
import { S as Z, D as $e } from "../TransactionStore-COGlidS-.mjs";
|
|
7
|
+
import { T as Na } from "../TransactionStore-COGlidS-.mjs";
|
|
8
8
|
import { e as Ve } from "../exportTransactionsToCSV-DtQ7ovAR.mjs";
|
|
9
9
|
import { E as Oa } from "../ExportCsvAction-CDuzTva1.mjs";
|
|
10
10
|
import { jsxs as _, jsx as e } from "react/jsx-runtime";
|
|
@@ -36,7 +36,7 @@ import { a as lt, u as dt } from "../CategorySelectorDrawer-cQKX5dZb.mjs";
|
|
|
36
36
|
import { b as U } from "../Localization-2MODESHW.mjs";
|
|
37
37
|
import { u as ut } from "../useAriaLive-B3_pRUio.mjs";
|
|
38
38
|
import { S as mt } from "../SkeletonLoader-BaNboJjD.mjs";
|
|
39
|
-
import { A, W as _t } from "../WidgetContainer-
|
|
39
|
+
import { A, W as _t } from "../WidgetContainer-BbbYyHJ_.mjs";
|
|
40
40
|
import { u as pt } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
41
41
|
import { u as gt } from "../useWidgetLoadTimer-hIOioiKx.mjs";
|
|
42
42
|
import { S as ht } from "../SearchBox-B2_zLv8-.mjs";
|
package/dist/trends/index.es.js
CHANGED
|
@@ -32,8 +32,8 @@ import { DataGridPro as Bt } from "@mui/x-data-grid-pro";
|
|
|
32
32
|
import { T as G, b as Vt } from "../ViewMoreMicroCard-DQhcjIOS.mjs";
|
|
33
33
|
import { parseISO as st } from "date-fns/parseISO";
|
|
34
34
|
import { H as ke } from "../HeaderCell-DjuifqHJ.mjs";
|
|
35
|
-
import { A as v, W as rt } from "../WidgetContainer-
|
|
36
|
-
import { a as at, T as it } from "../TransactionDetails-
|
|
35
|
+
import { A as v, W as rt } from "../WidgetContainer-BbbYyHJ_.mjs";
|
|
36
|
+
import { a as at, T as it } from "../TransactionDetails-UQcXldhR.mjs";
|
|
37
37
|
import { D as Ne } from "../Drawer-DV4NTsFg.mjs";
|
|
38
38
|
import { u as Le } from "../useWidgetLoadTimer-hIOioiKx.mjs";
|
|
39
39
|
import { L as Ie } from "../Loader-DUaFpDGv.mjs";
|