@mx-cartographer/experiences 6.4.0-alpha.al0 → 6.4.0-alpha.al1
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/dist/index.es.js
CHANGED
@@ -17,10 +17,10 @@ import { addYears as ni } from "date-fns/addYears";
|
|
17
17
|
import { getDay as ii } from "date-fns/getDay";
|
18
18
|
import { isBefore as we } from "date-fns/isBefore";
|
19
19
|
import { nextDay as xi } from "date-fns/nextDay";
|
20
|
-
import { setDate as
|
20
|
+
import { setDate as ta } from "date-fns/setDate";
|
21
21
|
import { startOfToday as de } from "date-fns/startOfToday";
|
22
22
|
import { fromUnixTime as Ge } from "date-fns/fromUnixTime";
|
23
|
-
import { Honeybadger as
|
23
|
+
import { Honeybadger as Yi } from "@honeybadger-io/react";
|
24
24
|
import to from "numeral";
|
25
25
|
import ee from "@mui/material/Button";
|
26
26
|
import Wn from "@mui/material/Tooltip";
|
@@ -31,8 +31,8 @@ import ue from "@mui/material/ListItemButton";
|
|
31
31
|
import se from "@mui/material/ListItemText";
|
32
32
|
import Ns from "@mui/material/Popover";
|
33
33
|
import b from "@mui/material/Stack";
|
34
|
-
import
|
35
|
-
import { alpha as Ll, lighten as tr, darken as nr, Stack as ye, Box as Mn, useTheme as vn, Card as
|
34
|
+
import na from "@mui/material/Checkbox";
|
35
|
+
import { alpha as Ll, lighten as tr, darken as nr, Stack as ye, Box as Mn, useTheme as vn, Card as ga, CardContent as Ml, Button as kl } from "@mui/material";
|
36
36
|
import ge from "@mui/material/styles/useTheme";
|
37
37
|
import bn from "@mui/material/useMediaQuery";
|
38
38
|
import { css as tn, keyframes as Gl } from "@mxenabled/cssinjs";
|
@@ -51,7 +51,7 @@ import { isSameDay as _t } from "date-fns/isSameDay";
|
|
51
51
|
import { isWithinInterval as ai } from "date-fns/isWithinInterval";
|
52
52
|
import * as Dt from "d3";
|
53
53
|
import { selectAll as Wl, interpolateString as Ul, arc as Vl } from "d3";
|
54
|
-
import { useTheme as
|
54
|
+
import { useTheme as at, alpha as An, keyframes as Kl, ThemeProvider as zl } from "@mui/material/styles";
|
55
55
|
import { ResponsiveChartContainer as Yl, AreaPlot as jl, LinePlot as Xl, MarkPlot as ql, BarPlot as Zl, ChartsXAxis as Ql, ChartsYAxis as Jl, ChartsReferenceLine as ed, ChartsLegend as td, LineChart as Ds } from "@mui/x-charts";
|
56
56
|
import Gt from "@mui/material/Card";
|
57
57
|
import Bt from "@mui/material/CardContent";
|
@@ -71,21 +71,21 @@ import ad from "@mui/material/Dialog";
|
|
71
71
|
import Rs from "@mui/material/DialogContent";
|
72
72
|
import od from "@mui/icons-material/ArrowBackOutlined";
|
73
73
|
import wn from "@mui/material/CardHeader";
|
74
|
-
import { Icon as gt, AccountBalance as rd, ChevronRight as At, Payments as sd, NoteStack as cd, Person as ld, CheckCircle as
|
74
|
+
import { Icon as gt, AccountBalance as rd, ChevronRight as At, Payments as sd, NoteStack as cd, Person as ld, CheckCircle as ma, ExpandLess as dd, ExpandMore as ud, AddBox as Os, Star as _d, Settings as hd, Delete as gd, Schedule as md, MonetizationOn as pd, Cancel as Ls, Add as Cd } from "@mxenabled/mx-icons";
|
75
75
|
import { ConnectWidget as fd, ConnectionsWidget as bd } from "@mxenabled/web-widget-sdk";
|
76
76
|
import po from "@mui/material/CircularProgress";
|
77
77
|
import { v4 as yd } from "uuid";
|
78
|
-
import
|
78
|
+
import ia from "@mui/material/InputAdornment";
|
79
79
|
import Ed from "@mui/material/Radio";
|
80
80
|
import nn from "@mui/material/Avatar";
|
81
81
|
import Pe from "@mui/material/ListItemAvatar";
|
82
82
|
import ft from "@mui/material/ListItemIcon";
|
83
|
-
import
|
83
|
+
import pa from "@mui/material/Switch";
|
84
84
|
import { makeAutoObservable as He, runInAction as Y, reaction as Sd, observable as Td } from "mobx";
|
85
85
|
import Ad, { SurveyQuestionType as or } from "posthog-js";
|
86
86
|
import { differenceInDays as xd } from "date-fns/differenceInDays";
|
87
|
-
import
|
88
|
-
import
|
87
|
+
import Ca from "@mui/icons-material/ChevronRight";
|
88
|
+
import fa from "@mui/icons-material/ExpandMore";
|
89
89
|
import { DataGridPro as jn } from "@mui/x-data-grid-pro";
|
90
90
|
import { intervalToDuration as Id, formatDuration as vd, getDate as rr, fromUnixTime as Ii, startOfMonth as sr, format as On, differenceInMonths as wd, isSameDay as Nd, subDays as Dd, startOfToday as Rd, endOfToday as Od } from "date-fns";
|
91
91
|
import In from "@mui/material/Alert";
|
@@ -97,9 +97,9 @@ import { isAfter as Jt } from "date-fns/isAfter";
|
|
97
97
|
import { subWeeks as cr } from "date-fns/subWeeks";
|
98
98
|
import { formatISO as li } from "date-fns/formatISO";
|
99
99
|
import { AdapterDateFns as gn } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
100
|
-
import { DatePicker as
|
100
|
+
import { DatePicker as ba } from "@mui/x-date-pickers";
|
101
101
|
import { LocalizationProvider as Nn } from "@mui/x-date-pickers/LocalizationProvider";
|
102
|
-
import
|
102
|
+
import nt from "@mui/material/TextField";
|
103
103
|
import { isValid as Co } from "date-fns/isValid";
|
104
104
|
import { subQuarters as ks } from "date-fns/subQuarters";
|
105
105
|
import { getMonth as Jn } from "date-fns/getMonth";
|
@@ -109,29 +109,29 @@ import ki from "@mui/material/Accordion";
|
|
109
109
|
import Gi from "@mui/material/AccordionDetails";
|
110
110
|
import Bi from "@mui/material/AccordionSummary";
|
111
111
|
import Ld from "@mui/material/Breadcrumbs";
|
112
|
-
import
|
112
|
+
import ya from "@mui/material/MenuItem";
|
113
113
|
import Md from "@mui/material/RadioGroup";
|
114
114
|
import vi from "@mui/icons-material/DeleteOutlined";
|
115
|
-
import
|
115
|
+
import aa from "@mui/icons-material/Cancel";
|
116
116
|
import kd from "@mui/icons-material/HighlightOff";
|
117
117
|
import Gd from "@mui/icons-material/Search";
|
118
118
|
import Bd from "@mui/icons-material/Edit";
|
119
119
|
import Pd from "@mui/material/FormGroup";
|
120
120
|
import Hd from "@mui/icons-material/FlagOutlined";
|
121
121
|
import $d from "@mui/icons-material/ReceiptOutlined";
|
122
|
-
import { getWeeksInMonth as
|
122
|
+
import { getWeeksInMonth as oa } from "date-fns/getWeeksInMonth";
|
123
123
|
import fo from "@mui/material/Badge";
|
124
124
|
import { PickersDay as Bs } from "@mui/x-date-pickers/PickersDay";
|
125
125
|
import Fd from "@mui/icons-material/AccessTimeFilled";
|
126
126
|
import Wd from "@mui/icons-material/MonetizationOn";
|
127
|
-
import
|
127
|
+
import Ea from "@mui/icons-material/CheckCircle";
|
128
128
|
import { getDate as ei } from "date-fns/getDate";
|
129
129
|
import jt from "@mui/material/Unstable_Grid2";
|
130
130
|
import Pi from "@mui/material/Collapse";
|
131
131
|
import Ps from "@mui/material/CardActionArea";
|
132
132
|
import Ud from "@mui/icons-material/DragHandle";
|
133
133
|
import ao from "@mui/material/AlertTitle";
|
134
|
-
import
|
134
|
+
import Sa from "@mui/icons-material/Error";
|
135
135
|
import Vd from "@mui/material/Chip";
|
136
136
|
import Kd from "@mui/icons-material/EditOutlined";
|
137
137
|
import { isToday as bo } from "date-fns/isToday";
|
@@ -621,7 +621,7 @@ const B2 = {
|
|
621
621
|
N.CREDIT_CARD_PAYMENT,
|
622
622
|
N.MORTGAGE_PAYMENT,
|
623
623
|
N.AUTO_PAYMENT
|
624
|
-
],
|
624
|
+
], Ta = {
|
625
625
|
// Top-level categories
|
626
626
|
[N.AUTO_AND_TRANSPORT]: "Auto & Transport",
|
627
627
|
[N.BILLS_AND_UTILITIES]: "Bills & Utilities",
|
@@ -789,7 +789,7 @@ const B2 = {
|
|
789
789
|
[N.UNCATEGORIZED]: "category",
|
790
790
|
UNKNOWN: "help"
|
791
791
|
}, _r = 9999999999e-2;
|
792
|
-
var
|
792
|
+
var ra = /* @__PURE__ */ ((e) => (e.CAD = "CAD", e.USD = "USD", e))(ra || {}), J = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.EveryWeek = 1] = "EveryWeek", e[e.EveryOtherWeek = 2] = "EveryOtherWeek", e[e.EveryMonth = 3] = "EveryMonth", e[e.EveryOtherMonth = 4] = "EveryOtherMonth", e[e.EveryQuarter = 5] = "EveryQuarter", e[e.EveryOtherQuarter = 6] = "EveryOtherQuarter", e[e.EveryYear = 7] = "EveryYear", e))(J || {});
|
793
793
|
const H2 = [
|
794
794
|
{ id: 0, copy: "frequency_unknown" },
|
795
795
|
{ id: 1, copy: "frequency_every_week" },
|
@@ -835,22 +835,22 @@ const _n = 44, hr = (e, n) => e.find((i) => i.guid === n), hu = (e, n) => e.find
|
|
835
835
|
}, W2 = (e, n) => {
|
836
836
|
const i = e.find((a) => a.guid === n);
|
837
837
|
return i ? i.guid === N.INCOME || i.parent_guid === N.INCOME : !1;
|
838
|
-
},
|
838
|
+
}, Aa = (e) => {
|
839
839
|
const n = ii(e);
|
840
840
|
let i = xi(e, n);
|
841
841
|
for (; we(i, de()); )
|
842
842
|
i = Qn(i, 1);
|
843
843
|
return i;
|
844
844
|
}, js = (e) => {
|
845
|
-
const n =
|
845
|
+
const n = Aa(e);
|
846
846
|
return Qn(n, 1);
|
847
|
-
},
|
848
|
-
let n =
|
847
|
+
}, sa = (e) => {
|
848
|
+
let n = ta(de(), e.getDate());
|
849
849
|
for (; we(n, de()); )
|
850
850
|
n = mt(n, 1);
|
851
851
|
return n;
|
852
852
|
}, Xs = (e) => {
|
853
|
-
const n =
|
853
|
+
const n = Aa(e);
|
854
854
|
return mt(n, 1);
|
855
855
|
}, Ao = (e) => {
|
856
856
|
let n = Tn(e, 1);
|
@@ -907,7 +907,7 @@ class ot {
|
|
907
907
|
return a.text();
|
908
908
|
throw a;
|
909
909
|
}).then((a) => a.length ? JSON.parse(a) : {}).then((a) => a).catch((a) => {
|
910
|
-
throw
|
910
|
+
throw Yi.notify(a), a;
|
911
911
|
});
|
912
912
|
};
|
913
913
|
post = async (n, i) => {
|
@@ -921,7 +921,7 @@ class ot {
|
|
921
921
|
throw r;
|
922
922
|
return r.text();
|
923
923
|
}).then((r) => r.length ? JSON.parse(r) : {}).then((r) => r).catch((r) => {
|
924
|
-
throw
|
924
|
+
throw Yi.notify(r), r;
|
925
925
|
});
|
926
926
|
};
|
927
927
|
put = async (n, i) => {
|
@@ -933,7 +933,7 @@ class ot {
|
|
933
933
|
return fetch(`${this.endpoint}${n}`, o).then((r) => r.ok ? r.text() : r.text().then((s) => {
|
934
934
|
throw new Error(s);
|
935
935
|
})).then((r) => r.length ? JSON.parse(r) : {}).then((r) => r).catch((r) => {
|
936
|
-
throw
|
936
|
+
throw Yi.notify(r), r;
|
937
937
|
});
|
938
938
|
};
|
939
939
|
delete = async (n) => {
|
@@ -944,7 +944,7 @@ class ot {
|
|
944
944
|
return fetch(`${this.endpoint}${n}`, i).then((a) => a.ok ? a.text() : a.text().then((o) => {
|
945
945
|
throw new Error(o);
|
946
946
|
})).then((a) => a.length ? JSON.parse(a) : {}).then((a) => a).catch((a) => {
|
947
|
-
throw
|
947
|
+
throw Yi.notify(a), a;
|
948
948
|
});
|
949
949
|
};
|
950
950
|
}
|
@@ -958,9 +958,9 @@ const B = (e, n, i) => {
|
|
958
958
|
}, pu = () => {
|
959
959
|
switch (Hn()) {
|
960
960
|
case "fr-ca":
|
961
|
-
return
|
961
|
+
return ra.CAD;
|
962
962
|
default:
|
963
|
-
return
|
963
|
+
return ra.USD;
|
964
964
|
}
|
965
965
|
}, oo = (e) => e != null && e !== "" && isFinite(e), Cu = {
|
966
966
|
style: "percent",
|
@@ -1271,7 +1271,7 @@ const Va = (e, n) => e.reduce((i, a) => (i[a.guid] = n?.includes(a.guid), i), {}
|
|
1271
1271
|
no,
|
1272
1272
|
{
|
1273
1273
|
control: /* @__PURE__ */ t(
|
1274
|
-
|
1274
|
+
na,
|
1275
1275
|
{
|
1276
1276
|
checked: E,
|
1277
1277
|
"data-ui-test": `checked-${E}`,
|
@@ -1342,7 +1342,7 @@ const Va = (e, n) => e.reduce((i, a) => (i[a.guid] = n?.includes(a.guid), i), {}
|
|
1342
1342
|
no,
|
1343
1343
|
{
|
1344
1344
|
control: /* @__PURE__ */ t(
|
1345
|
-
|
1345
|
+
na,
|
1346
1346
|
{
|
1347
1347
|
checked: I,
|
1348
1348
|
"data-ui-test": `checked-${I}`,
|
@@ -2009,7 +2009,7 @@ const Bu = ({
|
|
2009
2009
|
)
|
2010
2010
|
] });
|
2011
2011
|
}, Wu = (e) => {
|
2012
|
-
const n =
|
2012
|
+
const n = at(), i = e.showLabel, a = e.style, o = Number(e.x), r = Number(e.y), s = e.handlers?.onMarkClick, c = e.handlers?.onMouseEnter, d = e.handlers?.onMouseLeave;
|
2013
2013
|
return /* @__PURE__ */ l(Z, { children: [
|
2014
2014
|
i && /* @__PURE__ */ t(
|
2015
2015
|
"text",
|
@@ -2112,7 +2112,7 @@ const Bu = ({
|
|
2112
2112
|
valueFormatterString: C = "0,0",
|
2113
2113
|
width: f
|
2114
2114
|
}) => {
|
2115
|
-
const E =
|
2115
|
+
const E = at(), y = i.flat().map((D) => D.x), S = i.flat().map((D) => D.y), w = Math.round(S.reduce((D, H) => H + D, 0) / S.length), v = Math.floor(Math.min(...S) / 100) * 100, I = Math.ceil(Math.max(...S) / 100) * 100, R = i.map((D, H) => ({
|
2116
2116
|
type: d ? "bar" : "line",
|
2117
2117
|
curve: "linear",
|
2118
2118
|
color: d ? E.palette.chart?.chart6 : n[H] ?? E.palette.primary.main,
|
@@ -2258,7 +2258,7 @@ const Bu = ({
|
|
2258
2258
|
if (!n)
|
2259
2259
|
throw new Error(`${e}() must be used within the GlobalDataContext`);
|
2260
2260
|
return n;
|
2261
|
-
}, ve = () => qe("useAccountStore").globalStore.accountStore, Fi = () => qe("useAppConfig").globalStore.appDataStore.appConfig, Io = () => qe("useAnalyticsStore").globalStore.analyticsStore, ut = () => qe("useBudgetsStore").globalStore.budgetsStore, vo = () => qe("useCashflowStore").globalStore.cashflowStore, Ke = () => qe("useCategoryStore").globalStore.categoryStore, rc = () => qe("useConnectStore").globalStore.connectStore,
|
2261
|
+
}, ve = () => qe("useAccountStore").globalStore.accountStore, Fi = () => qe("useAppConfig").globalStore.appDataStore.appConfig, Io = () => qe("useAnalyticsStore").globalStore.analyticsStore, ut = () => qe("useBudgetsStore").globalStore.budgetsStore, vo = () => qe("useCashflowStore").globalStore.cashflowStore, Ke = () => qe("useCategoryStore").globalStore.categoryStore, rc = () => qe("useConnectStore").globalStore.connectStore, xa = () => qe("useDebtsStore").globalStore.debtsStore, Wi = () => qe("useGlobalStore").globalStore, _e = () => qe("useGlobalUiStore").globalStore.globalUiStore, x = () => qe("globalCopyStore").globalStore.copyStore.copy, rt = () => qe("useGoalStore").globalStore.goalStore, wo = () => qe("useHelpStore").globalStore.helpStore, wi = () => qe("useHoldingStore").globalStore.holdingStore, zu = () => qe("useMerchantStore").globalStore.merchantStore, Yu = () => qe("useNetWorthStore").globalStore.netWorthStore, sc = () => qe("useNotificationStore").globalStore.notificationStore, tt = () => qe("useRecurringActivityStore").globalStore.recurringActivityStore, Pt = () => qe("useRecurringTransactionsStore").globalStore.recurringTransactionsStore, Ht = () => qe("useSettingsStore").globalStore.settingsStore, Te = () => qe("useTransactionStore").globalStore.transactionStore, an = () => qe("useUserStore").globalStore.userStore, z = () => ({ onEvent: qe().onEvent }), X2 = () => ({ onPageView: qe().onPageView }), ju = (e = "useWidgetContainerContext") => {
|
2262
2262
|
const n = g.useContext(ac);
|
2263
2263
|
if (!n)
|
2264
2264
|
throw new Error(`${e}() must be used within the WidgetContainerContext`);
|
@@ -2296,7 +2296,7 @@ const Bu = ({
|
|
2296
2296
|
cursorPosition: a,
|
2297
2297
|
chartContainerRef: o
|
2298
2298
|
}) => {
|
2299
|
-
const r =
|
2299
|
+
const r = at(), s = vs(null), [c, d] = Et({ x: a.x, y: a.y });
|
2300
2300
|
if (zn(() => {
|
2301
2301
|
(() => {
|
2302
2302
|
const h = s.current, m = o.current;
|
@@ -2350,7 +2350,7 @@ const Bu = ({
|
|
2350
2350
|
xData: o
|
2351
2351
|
}) => {
|
2352
2352
|
const r = vn(), s = a.data[i], c = o[i];
|
2353
|
-
return s === void 0 || !c ? null : /* @__PURE__ */ t(
|
2353
|
+
return s === void 0 || !c ? null : /* @__PURE__ */ t(ga, { sx: { pt: 4, px: 8 }, children: /* @__PURE__ */ t(Ml, { children: /* @__PURE__ */ l(Mn, { alignItems: "center", display: "flex", flexDirection: "column", children: [
|
2354
2354
|
/* @__PURE__ */ t(cc, { categoryGuid: e, topLevelCategoryGuid: n }),
|
2355
2355
|
/* @__PURE__ */ t(p, { color: r.palette.text.secondary, variant: "Small", children: re(c, ie.MONTH_SHORT_YEAR) }),
|
2356
2356
|
/* @__PURE__ */ t(ze, { amount: String(s), bold: !0, formatString: "0,0", variant: "Body" })
|
@@ -2411,7 +2411,7 @@ const Bu = ({
|
|
2411
2411
|
height: s,
|
2412
2412
|
width: c
|
2413
2413
|
}) => {
|
2414
|
-
const d =
|
2414
|
+
const d = at(), { isMobile: _ } = Ee(), u = g.useRef(null), [h, m] = g.useState(null), [C, f] = g.useState({
|
2415
2415
|
hoveredSeriesId: null,
|
2416
2416
|
hoveredAreaData: null,
|
2417
2417
|
isAreaHovered: !1,
|
@@ -3419,7 +3419,7 @@ const Dn = ({
|
|
3419
3419
|
] })
|
3420
3420
|
}
|
3421
3421
|
);
|
3422
|
-
},
|
3422
|
+
}, ca = A(a_);
|
3423
3423
|
var Bn = /* @__PURE__ */ ((e) => (e.Loading = "loading", e.Error = "error", e))(Bn || {}), It = /* @__PURE__ */ ((e) => (e.Currency = "currency", e.Date = "date", e.Input = "input", e.Select = "select", e))(It || {});
|
3424
3424
|
const Tr = "connect_widget", Ar = "connections_widget", o_ = ({
|
3425
3425
|
loadWidgetProps: e,
|
@@ -3460,8 +3460,8 @@ const Tr = "connect_widget", Ar = "connections_widget", o_ = ({
|
|
3460
3460
|
},
|
3461
3461
|
title: a,
|
3462
3462
|
children: /* @__PURE__ */ l("div", { id: Tr, children: [
|
3463
|
-
u && /* @__PURE__ */ t(
|
3464
|
-
d && /* @__PURE__ */ t(
|
3463
|
+
u && /* @__PURE__ */ t(ca, { status: Bn.Error }),
|
3464
|
+
d && /* @__PURE__ */ t(ca, { status: Bn.Loading })
|
3465
3465
|
] })
|
3466
3466
|
}
|
3467
3467
|
);
|
@@ -3484,7 +3484,7 @@ const Tr = "connect_widget", Ar = "connections_widget", o_ = ({
|
|
3484
3484
|
const D = g.useRef(yd());
|
3485
3485
|
if (e)
|
3486
3486
|
switch (pu()) {
|
3487
|
-
case
|
3487
|
+
case ra.CAD:
|
3488
3488
|
R = v;
|
3489
3489
|
break;
|
3490
3490
|
default:
|
@@ -3592,8 +3592,8 @@ const Tr = "connect_widget", Ar = "connections_widget", o_ = ({
|
|
3592
3592
|
xn,
|
3593
3593
|
{
|
3594
3594
|
InputProps: {
|
3595
|
-
startAdornment: /* @__PURE__ */ t(
|
3596
|
-
endAdornment: /* @__PURE__ */ t(
|
3595
|
+
startAdornment: /* @__PURE__ */ t(ia, { position: "start", children: /* @__PURE__ */ t(P, { color: "disabled", name: "search", size: 26 }) }),
|
3596
|
+
endAdornment: /* @__PURE__ */ t(ia, { position: "end", sx: { p: 0 }, children: o ? s : null })
|
3597
3597
|
},
|
3598
3598
|
"aria-label": e,
|
3599
3599
|
name: "search",
|
@@ -3603,7 +3603,7 @@ const Tr = "connect_widget", Ar = "connections_widget", o_ = ({
|
|
3603
3603
|
value: o
|
3604
3604
|
}
|
3605
3605
|
) });
|
3606
|
-
},
|
3606
|
+
}, Ui = A(s_), xr = ({
|
3607
3607
|
checked: e = !1,
|
3608
3608
|
label: n,
|
3609
3609
|
sx: i = {},
|
@@ -3706,7 +3706,7 @@ const Tr = "connect_widget", Ar = "connections_widget", o_ = ({
|
|
3706
3706
|
o,
|
3707
3707
|
/* @__PURE__ */ t(ft, { children: /* @__PURE__ */ t(P, { name: "chevron_right", size: 24 }) })
|
3708
3708
|
] }) }) : /* @__PURE__ */ t(j, { disableGutters: !1, disablePadding: !1, children: o });
|
3709
|
-
},
|
3709
|
+
}, la = ({
|
3710
3710
|
body: e,
|
3711
3711
|
iconName: n = "info",
|
3712
3712
|
title: i
|
@@ -3915,7 +3915,7 @@ const Tr = "connect_widget", Ar = "connections_widget", o_ = ({
|
|
3915
3915
|
return /* @__PURE__ */ t(
|
3916
3916
|
j,
|
3917
3917
|
{
|
3918
|
-
secondaryAction: /* @__PURE__ */ t(
|
3918
|
+
secondaryAction: /* @__PURE__ */ t(pa, { checked: e, onChange: a }),
|
3919
3919
|
sx: {
|
3920
3920
|
"& .MuiListItemSecondaryAction-root": {
|
3921
3921
|
right: s ? 24 : 64
|
@@ -3952,7 +3952,7 @@ const Tr = "connect_widget", Ar = "connections_widget", o_ = ({
|
|
3952
3952
|
}) => /* @__PURE__ */ t(
|
3953
3953
|
j,
|
3954
3954
|
{
|
3955
|
-
secondaryAction: /* @__PURE__ */ t(
|
3955
|
+
secondaryAction: /* @__PURE__ */ t(pa, { checked: e, disabled: n, onChange: i, sx: { mr: 24 } }),
|
3956
3956
|
children: /* @__PURE__ */ t(
|
3957
3957
|
se,
|
3958
3958
|
{
|
@@ -4335,7 +4335,7 @@ const _i = () => {
|
|
4335
4335
|
setNextIncome: m,
|
4336
4336
|
setSelectedCashAccounts: C,
|
4337
4337
|
setUpcomingExpenses: f
|
4338
|
-
} = _i(), { isDataLoaded: E, nextIncomeActivity: y, upcomingExpenses: S } =
|
4338
|
+
} = _i(), { isDataLoaded: E, nextIncomeActivity: y, upcomingExpenses: S } = tt();
|
4339
4339
|
g.useEffect(() => {
|
4340
4340
|
C(
|
4341
4341
|
o.filter((D) => s.includes(D.guid))
|
@@ -4379,7 +4379,7 @@ const _i = () => {
|
|
4379
4379
|
/* @__PURE__ */ t(ze, { amount: I, variant: "H2" }),
|
4380
4380
|
/* @__PURE__ */ l(b, { alignItems: "center", direction: "row", gap: 8, children: [
|
4381
4381
|
/* @__PURE__ */ t(Oe, { variant: "XSmall", whiteSpace: "nowrap", children: c.available_to_spend }),
|
4382
|
-
/* @__PURE__ */ t(
|
4382
|
+
/* @__PURE__ */ t(la, { body: c.tooltip_body, title: c.tooltip_title })
|
4383
4383
|
] })
|
4384
4384
|
] }),
|
4385
4385
|
/* @__PURE__ */ t(b, { borderLeft: `1px solid ${n.palette.border.light}`, pb: 12, pl: 24, pt: 12, children: R ? /* @__PURE__ */ l(Z, { children: [
|
@@ -4453,7 +4453,7 @@ const _i = () => {
|
|
4453
4453
|
)
|
4454
4454
|
] }) }) : /* @__PURE__ */ t(he, { height: a ? 210 : 120 });
|
4455
4455
|
}, y_ = A(b_), E_ = ({ onPrimaryCtaClick: e, sx: n = {} }) => {
|
4456
|
-
const { cashflow: i } = x(), { isCopyLoaded: a, isInitialized: o } = _e(), { loadActivity: r } =
|
4456
|
+
const { cashflow: i } = x(), { isCopyLoaded: a, isInitialized: o } = _e(), { loadActivity: r } = tt();
|
4457
4457
|
return g.useEffect(() => {
|
4458
4458
|
o && r();
|
4459
4459
|
}, [o]), a ? /* @__PURE__ */ t(
|
@@ -4469,7 +4469,7 @@ const _i = () => {
|
|
4469
4469
|
}
|
4470
4470
|
) : /* @__PURE__ */ t(he, {});
|
4471
4471
|
}, Q2 = A(E_);
|
4472
|
-
class
|
4472
|
+
class da {
|
4473
4473
|
fetchInstance;
|
4474
4474
|
constructor(n, i) {
|
4475
4475
|
this.fetchInstance = new ot(n, i);
|
@@ -4551,7 +4551,7 @@ class la {
|
|
4551
4551
|
updateTag = async (n) => this.fetchInstance.put(`${G.TAGS}/${n.guid}`, n).then((i) => i.tag);
|
4552
4552
|
updateTransaction = async (n) => this.fetchInstance.put(`${G.TRANSACTIONS}/${n.guid}`, n).then((i) => i.transaction);
|
4553
4553
|
}
|
4554
|
-
var Ci = /* @__PURE__ */ ((e) => (e[e.Category = 0] = "Category", e[e.Date = 1] = "Date", e[e.Memo = 2] = "Memo", e[e.Tags = 3] = "Tags", e))(Ci || {}),
|
4554
|
+
var Ci = /* @__PURE__ */ ((e) => (e[e.Category = 0] = "Category", e[e.Date = 1] = "Date", e[e.Memo = 2] = "Memo", e[e.Tags = 3] = "Tags", e))(Ci || {}), Qi = /* @__PURE__ */ ((e) => (e[e.SplitTransaction = 0] = "SplitTransaction", e[e.HideTransaction = 1] = "HideTransaction", e[e.MerchantLogo = 2] = "MerchantLogo", e))(Qi || {});
|
4555
4555
|
const S_ = [
|
4556
4556
|
0,
|
4557
4557
|
1,
|
@@ -4937,7 +4937,7 @@ const S_ = [
|
|
4937
4937
|
const i = e.toLowerCase().split(" "), a = n?.toString().toLowerCase() ?? "";
|
4938
4938
|
return i.every((o) => a.indexOf(o) > -1);
|
4939
4939
|
};
|
4940
|
-
var Ze = /* @__PURE__ */ ((e) => (e[e.Expense = 0] = "Expense", e[e.Income = 1] = "Income", e))(Ze || {}), et = /* @__PURE__ */ ((e) => (e[e.Paid = 0] = "Paid", e[e.Missed = 1] = "Missed", e[e.Upcoming = 2] = "Upcoming", e))(et || {}), D_ = /* @__PURE__ */ ((e) => (e[e.UNKNOWN = 0] = "UNKNOWN", e[e.CORRECT = 1] = "CORRECT", e[e.INCORRECT = 2] = "INCORRECT", e))(D_ || {}), R_ = /* @__PURE__ */ ((e) => (e.Missed = "Missed", e.Paid = "Paid", e.Upcoming = "Upcoming expense", e.Income = "Income", e))(R_ || {}), O_ = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.Subscription = 1] = "Subscription", e[e.Bill = 2] = "Bill", e))(O_ || {}), K = /* @__PURE__ */ ((e) => (e[e.DEBT_TRACK = 1] = "DEBT_TRACK", e[e.SAVINGS_TRACK = 2] = "SAVINGS_TRACK", e[e.RETIREMENT_TRACK = 3] = "RETIREMENT_TRACK", e[e.EMERGENCY_FUND_TRACK = 4] = "EMERGENCY_FUND_TRACK", e))(K || {}), lo = /* @__PURE__ */ ((e) => (e[e.SAVE_AMOUNT = 1] = "SAVE_AMOUNT", e[e.KEEP_BALANCE_BELOW = 2] = "KEEP_BALANCE_BELOW", e[e.KEEP_BALANCE_ABOVE = 3] = "KEEP_BALANCE_ABOVE", e[e.ACTION = 4] = "ACTION", e))(lo || {}), vt = /* @__PURE__ */ ((e) => (e[e.AUTOMOBILE = 1] = "AUTOMOBILE", e[e.COLLEGE = 2] = "COLLEGE", e[e.HOUSE = 3] = "HOUSE", e[e.RECREATIONAL_VEHICLE = 4] = "RECREATIONAL_VEHICLE", e[e.VACATION = 5] = "VACATION", e[e.ELECTRONIC = 6] = "ELECTRONIC", e[e.OTHER = 7] = "OTHER", e[e.RETIREMENT = 8] = "RETIREMENT", e[e.EMERGENCY_FUND = 9] = "EMERGENCY_FUND", e[e.SETUP_BUDGETS = 10] = "SETUP_BUDGETS", e[e.START_MONEY_MANAGEMENT = 11] = "START_MONEY_MANAGEMENT", e[e.CREDIT_CARD = 12] = "CREDIT_CARD", e[e.LINE_OF_CREDIT = 13] = "LINE_OF_CREDIT", e[e.LOANS = 14] = "LOANS", e))(vt || {}), Ue = /* @__PURE__ */ ((e) => (e[e.BudgetExceeded = 1] = "BudgetExceeded", e[e.BudgetOffTarget = 2] = "BudgetOffTarget", e[e.DebtPaymentReminder = 3] = "DebtPaymentReminder", e[e.AccountBalanceLow = 6] = "AccountBalanceLow", e[e.AccountDepositLarge = 7] = "AccountDepositLarge", e[e.TransactionExpenseLarge = 8] = "TransactionExpenseLarge", e[e.TransactionFeeCharge = 9] = "TransactionFeeCharge", e[e.InternationalTransaction = 23] = "InternationalTransaction", e[e.AccountDepositLargePosted = 48] = "AccountDepositLargePosted", e))(Ue || {}), St = /* @__PURE__ */ ((e) => (e[e.CREDIT = 1] = "CREDIT", e[e.DEBIT = 2] = "DEBIT", e))(St || {}), Do = /* @__PURE__ */ ((e) => (e[e.POSTED = 1] = "POSTED", e[e.PENDING = 2] = "PENDING", e))(Do || {}), L_ = /* @__PURE__ */ ((e) => (e.Desktop = "Desktop", e.Mobile = "Mobile", e))(L_ || {}), Ne = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.EveryWeek = 1] = "EveryWeek", e[e.EveryOtherWeek = 2] = "EveryOtherWeek", e[e.EveryMonth = 3] = "EveryMonth", e[e.EveryOtherMonth = 4] = "EveryOtherMonth", e[e.EveryQuarter = 5] = "EveryQuarter", e[e.EveryOtherQuarter = 6] = "EveryOtherQuarter", e[e.EveryYear = 7] = "EveryYear", e))(Ne || {}),
|
4940
|
+
var Ze = /* @__PURE__ */ ((e) => (e[e.Expense = 0] = "Expense", e[e.Income = 1] = "Income", e))(Ze || {}), et = /* @__PURE__ */ ((e) => (e[e.Paid = 0] = "Paid", e[e.Missed = 1] = "Missed", e[e.Upcoming = 2] = "Upcoming", e))(et || {}), D_ = /* @__PURE__ */ ((e) => (e[e.UNKNOWN = 0] = "UNKNOWN", e[e.CORRECT = 1] = "CORRECT", e[e.INCORRECT = 2] = "INCORRECT", e))(D_ || {}), R_ = /* @__PURE__ */ ((e) => (e.Missed = "Missed", e.Paid = "Paid", e.Upcoming = "Upcoming expense", e.Income = "Income", e))(R_ || {}), O_ = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.Subscription = 1] = "Subscription", e[e.Bill = 2] = "Bill", e))(O_ || {}), K = /* @__PURE__ */ ((e) => (e[e.DEBT_TRACK = 1] = "DEBT_TRACK", e[e.SAVINGS_TRACK = 2] = "SAVINGS_TRACK", e[e.RETIREMENT_TRACK = 3] = "RETIREMENT_TRACK", e[e.EMERGENCY_FUND_TRACK = 4] = "EMERGENCY_FUND_TRACK", e))(K || {}), lo = /* @__PURE__ */ ((e) => (e[e.SAVE_AMOUNT = 1] = "SAVE_AMOUNT", e[e.KEEP_BALANCE_BELOW = 2] = "KEEP_BALANCE_BELOW", e[e.KEEP_BALANCE_ABOVE = 3] = "KEEP_BALANCE_ABOVE", e[e.ACTION = 4] = "ACTION", e))(lo || {}), vt = /* @__PURE__ */ ((e) => (e[e.AUTOMOBILE = 1] = "AUTOMOBILE", e[e.COLLEGE = 2] = "COLLEGE", e[e.HOUSE = 3] = "HOUSE", e[e.RECREATIONAL_VEHICLE = 4] = "RECREATIONAL_VEHICLE", e[e.VACATION = 5] = "VACATION", e[e.ELECTRONIC = 6] = "ELECTRONIC", e[e.OTHER = 7] = "OTHER", e[e.RETIREMENT = 8] = "RETIREMENT", e[e.EMERGENCY_FUND = 9] = "EMERGENCY_FUND", e[e.SETUP_BUDGETS = 10] = "SETUP_BUDGETS", e[e.START_MONEY_MANAGEMENT = 11] = "START_MONEY_MANAGEMENT", e[e.CREDIT_CARD = 12] = "CREDIT_CARD", e[e.LINE_OF_CREDIT = 13] = "LINE_OF_CREDIT", e[e.LOANS = 14] = "LOANS", e))(vt || {}), Ue = /* @__PURE__ */ ((e) => (e[e.BudgetExceeded = 1] = "BudgetExceeded", e[e.BudgetOffTarget = 2] = "BudgetOffTarget", e[e.DebtPaymentReminder = 3] = "DebtPaymentReminder", e[e.AccountBalanceLow = 6] = "AccountBalanceLow", e[e.AccountDepositLarge = 7] = "AccountDepositLarge", e[e.TransactionExpenseLarge = 8] = "TransactionExpenseLarge", e[e.TransactionFeeCharge = 9] = "TransactionFeeCharge", e[e.InternationalTransaction = 23] = "InternationalTransaction", e[e.AccountDepositLargePosted = 48] = "AccountDepositLargePosted", e))(Ue || {}), St = /* @__PURE__ */ ((e) => (e[e.CREDIT = 1] = "CREDIT", e[e.DEBIT = 2] = "DEBIT", e))(St || {}), Do = /* @__PURE__ */ ((e) => (e[e.POSTED = 1] = "POSTED", e[e.PENDING = 2] = "PENDING", e))(Do || {}), L_ = /* @__PURE__ */ ((e) => (e.Desktop = "Desktop", e.Mobile = "Mobile", e))(L_ || {}), Ne = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.EveryWeek = 1] = "EveryWeek", e[e.EveryOtherWeek = 2] = "EveryOtherWeek", e[e.EveryMonth = 3] = "EveryMonth", e[e.EveryOtherMonth = 4] = "EveryOtherMonth", e[e.EveryQuarter = 5] = "EveryQuarter", e[e.EveryOtherQuarter = 6] = "EveryOtherQuarter", e[e.EveryYear = 7] = "EveryYear", e))(Ne || {}), it = /* @__PURE__ */ ((e) => (e[e.Paid = 0] = "Paid", e[e.Missed = 1] = "Missed", e[e.Upcoming = 2] = "Upcoming", e))(it || {}), Xt = /* @__PURE__ */ ((e) => (e[e.Expense = 0] = "Expense", e[e.Income = 1] = "Income", e))(Xt || {}), ln = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.Subscription = 1] = "Subscription", e[e.Bill = 2] = "Bill", e[e.Income = 3] = "Income", e[e.Transfer = 4] = "Transfer", e))(ln || {});
|
4941
4941
|
const hc = {
|
4942
4942
|
account_guid: "",
|
4943
4943
|
amount: 0,
|
@@ -5008,7 +5008,7 @@ let M_ = class {
|
|
5008
5008
|
class k_ {
|
5009
5009
|
globalStore;
|
5010
5010
|
uiStore;
|
5011
|
-
api = new
|
5011
|
+
api = new da("/", "");
|
5012
5012
|
beatApi = new oi("/", "");
|
5013
5013
|
isLoading = !0;
|
5014
5014
|
taggings = [];
|
@@ -5022,7 +5022,7 @@ class k_ {
|
|
5022
5022
|
filter = {};
|
5023
5023
|
onAnalyticEvent = x_;
|
5024
5024
|
constructor(n) {
|
5025
|
-
this.globalStore = n, this.uiStore = new M_(), this.api = new
|
5025
|
+
this.globalStore = n, this.uiStore = new M_(), this.api = new da(n.endpoint, n.sessionToken), this.beatApi = new oi(n.endpoint, n.sessionToken), He(this);
|
5026
5026
|
}
|
5027
5027
|
loadTransactionData = async () => {
|
5028
5028
|
await Promise.all([
|
@@ -5218,7 +5218,7 @@ const xt = () => {
|
|
5218
5218
|
"Original Description": i.feed_description,
|
5219
5219
|
Amount: `${i.amount}`,
|
5220
5220
|
Type: i.transaction_type === St.CREDIT ? "Credit" : "Debit",
|
5221
|
-
"Parent Category":
|
5221
|
+
"Parent Category": Ta[i.top_level_category_guid || ""],
|
5222
5222
|
Category: i.category,
|
5223
5223
|
Account: i.account,
|
5224
5224
|
Tags: H_(i, n),
|
@@ -5393,7 +5393,7 @@ const xt = () => {
|
|
5393
5393
|
}
|
5394
5394
|
);
|
5395
5395
|
}, j_ = A(Y_), X_ = (e) => /* @__PURE__ */ t(p, { tabIndex: e.tabIndex, variant: "Small", children: re(Ge(e.row.date), ie.MONTH_DAY) }), q_ = (e) => {
|
5396
|
-
const n =
|
5396
|
+
const n = at(), { transactions: i } = x(), { is_flagged: a, is_hidden: o, has_been_viewed: r, parent_guid: s } = e.row, d = !r && !!!s;
|
5397
5397
|
return /* @__PURE__ */ l(
|
5398
5398
|
L,
|
5399
5399
|
{
|
@@ -5685,7 +5685,7 @@ const th = ({
|
|
5685
5685
|
primaryTypographyProps: { fontWeight: "normal", variant: "Body" }
|
5686
5686
|
}
|
5687
5687
|
),
|
5688
|
-
s && y && /* @__PURE__ */ t(
|
5688
|
+
s && y && /* @__PURE__ */ t(Ea, { fontSize: "small" }),
|
5689
5689
|
!S && /* @__PURE__ */ t(Vd, { label: d })
|
5690
5690
|
]
|
5691
5691
|
}
|
@@ -5782,7 +5782,7 @@ const th = ({
|
|
5782
5782
|
primaryTypographyProps: { fontWeight: "normal", variant: "Body" }
|
5783
5783
|
}
|
5784
5784
|
),
|
5785
|
-
/* @__PURE__ */ t(ft, { children: s || a ? /* @__PURE__ */ t(
|
5785
|
+
/* @__PURE__ */ t(ft, { children: s || a ? /* @__PURE__ */ t(fa, {}) : /* @__PURE__ */ t(Ca, {}) })
|
5786
5786
|
]
|
5787
5787
|
},
|
5788
5788
|
e.guid
|
@@ -5840,7 +5840,7 @@ const th = ({
|
|
5840
5840
|
e && m(e), C(i), f(a), E(o);
|
5841
5841
|
}, [e, i, a, o]), d ? /* @__PURE__ */ l(b, { className: "mx-cat-category-selector", sx: { width: "100%" }, children: [
|
5842
5842
|
/* @__PURE__ */ t(
|
5843
|
-
|
5843
|
+
Ui,
|
5844
5844
|
{
|
5845
5845
|
ariaLabel: c.search_aria,
|
5846
5846
|
cancelAriaLabel: c.cancel_search_aria,
|
@@ -6064,7 +6064,7 @@ class Eh {
|
|
6064
6064
|
}
|
6065
6065
|
};
|
6066
6066
|
// TODO: Remove this after refactoring Trends components to use detailedCategories
|
6067
|
-
getCategoryName = (n) => this.categories.find((a) => a.guid === n)?.name ??
|
6067
|
+
getCategoryName = (n) => this.categories.find((a) => a.guid === n)?.name ?? Ta[n];
|
6068
6068
|
}
|
6069
6069
|
const Cc = ({ transaction: e }) => {
|
6070
6070
|
const { addOrUpdateTransactionRule: n, updateTransaction: i } = Te(), { categories: a } = Ke(), { onEvent: o } = z(), { setShouldDisableDrawerScroll: r, updateManualTransaction: s } = xt(), { transactions: c } = x(), [d, _] = g.useState(!1), [u, h] = g.useState(""), m = async (y) => {
|
@@ -6327,7 +6327,7 @@ const Cc = ({ transaction: e }) => {
|
|
6327
6327
|
}
|
6328
6328
|
),
|
6329
6329
|
/* @__PURE__ */ t(ft, { children: /* @__PURE__ */ t(
|
6330
|
-
|
6330
|
+
pa,
|
6331
6331
|
{
|
6332
6332
|
checked: d,
|
6333
6333
|
id: "hide-transaction",
|
@@ -6429,7 +6429,7 @@ const Cc = ({ transaction: e }) => {
|
|
6429
6429
|
children: [
|
6430
6430
|
/* @__PURE__ */ t(bc, { transaction: e }),
|
6431
6431
|
/* @__PURE__ */ t(
|
6432
|
-
|
6432
|
+
nt,
|
6433
6433
|
{
|
6434
6434
|
"aria-label": r.memo_desc_aria,
|
6435
6435
|
focused: !0,
|
@@ -6470,7 +6470,7 @@ const Cc = ({ transaction: e }) => {
|
|
6470
6470
|
/* @__PURE__ */ t(
|
6471
6471
|
ee,
|
6472
6472
|
{
|
6473
|
-
endIcon: /* @__PURE__ */ t(
|
6473
|
+
endIcon: /* @__PURE__ */ t(Ca, {}),
|
6474
6474
|
onClick: () => h(!0),
|
6475
6475
|
startIcon: /* @__PURE__ */ t(kt, { categoryGuid: o.top_level_category_guid }),
|
6476
6476
|
sx: { px: r.Spacing.Small, py: r.Spacing.XSmall },
|
@@ -6485,7 +6485,7 @@ const Cc = ({ transaction: e }) => {
|
|
6485
6485
|
gap: r.Spacing.XSmall,
|
6486
6486
|
p: r.Spacing.Small,
|
6487
6487
|
children: [
|
6488
|
-
/* @__PURE__ */ t(
|
6488
|
+
/* @__PURE__ */ t(aa, { sx: { fontSize: r.FontSize.Body } }),
|
6489
6489
|
/* @__PURE__ */ t(p, { variant: "Small", children: c.split_transaction_errors_select_category })
|
6490
6490
|
]
|
6491
6491
|
}
|
@@ -6526,7 +6526,7 @@ const Cc = ({ transaction: e }) => {
|
|
6526
6526
|
gap: r.Spacing.XSmall,
|
6527
6527
|
py: r.Spacing.Small,
|
6528
6528
|
children: [
|
6529
|
-
/* @__PURE__ */ t(
|
6529
|
+
/* @__PURE__ */ t(aa, { sx: { fontSize: r.FontSize.Body } }),
|
6530
6530
|
/* @__PURE__ */ t(p, { variant: "Small", children: c.split_transaction_errors_enter_an_amount })
|
6531
6531
|
]
|
6532
6532
|
}
|
@@ -6584,7 +6584,7 @@ const Cc = ({ transaction: e }) => {
|
|
6584
6584
|
gap: s.Spacing.XSmall,
|
6585
6585
|
p: s.Spacing.Medium,
|
6586
6586
|
children: [
|
6587
|
-
/* @__PURE__ */ t(
|
6587
|
+
/* @__PURE__ */ t(aa, { sx: { fontSize: s.FontSize.Body } }),
|
6588
6588
|
/* @__PURE__ */ t(p, { variant: "Small", children: _ })
|
6589
6589
|
]
|
6590
6590
|
}
|
@@ -6796,8 +6796,8 @@ const Cc = ({ transaction: e }) => {
|
|
6796
6796
|
xn,
|
6797
6797
|
{
|
6798
6798
|
InputProps: {
|
6799
|
-
startAdornment: /* @__PURE__ */ t(
|
6800
|
-
endAdornment: /* @__PURE__ */ t(
|
6799
|
+
startAdornment: /* @__PURE__ */ t(ia, { position: "start", children: /* @__PURE__ */ t(Gd, { color: "disabled" }) }),
|
6800
|
+
endAdornment: /* @__PURE__ */ t(ia, { position: "end", sx: { padding: 0 }, children: n ? r : null })
|
6801
6801
|
},
|
6802
6802
|
"aria-label": i.search_aria,
|
6803
6803
|
name: "search",
|
@@ -6855,7 +6855,7 @@ const Cc = ({ transaction: e }) => {
|
|
6855
6855
|
onClick: () => e(i.guid),
|
6856
6856
|
role: "checkbox",
|
6857
6857
|
children: [
|
6858
|
-
/* @__PURE__ */ t(ft, { sx: { ml: 0 }, children: /* @__PURE__ */ t(
|
6858
|
+
/* @__PURE__ */ t(ft, { sx: { ml: 0 }, children: /* @__PURE__ */ t(na, { checked: n.includes(i.guid), edge: "start", tabIndex: -1 }) }),
|
6859
6859
|
/* @__PURE__ */ t(se, { children: i.name })
|
6860
6860
|
]
|
6861
6861
|
}
|
@@ -6986,7 +6986,7 @@ const Cc = ({ transaction: e }) => {
|
|
6986
6986
|
};
|
6987
6987
|
return /* @__PURE__ */ t(L, { className: "mx-txn-transaction-description", children: r ? /* @__PURE__ */ l(Pd, { row: !0, children: [
|
6988
6988
|
/* @__PURE__ */ t(
|
6989
|
-
|
6989
|
+
nt,
|
6990
6990
|
{
|
6991
6991
|
"aria-label": a.description_add_a_subcategory,
|
6992
6992
|
name: "add-subcategory",
|
@@ -7100,9 +7100,9 @@ const Cc = ({ transaction: e }) => {
|
|
7100
7100
|
/* @__PURE__ */ t(p, { bold: !0, mb: 8, ml: 26, mt: 16, variant: "Body", children: "Actions" }),
|
7101
7101
|
/* @__PURE__ */ t(Tt, { square: !0, sx: { boxShadow: "none" }, children: /* @__PURE__ */ l(ne, { children: [
|
7102
7102
|
e.map((s, c) => /* @__PURE__ */ l(g.Fragment, { children: [
|
7103
|
-
s ===
|
7104
|
-
s ===
|
7105
|
-
s ===
|
7103
|
+
s === Qi.SplitTransaction && /* @__PURE__ */ t(Mh, { transaction: i }),
|
7104
|
+
s === Qi.HideTransaction && /* @__PURE__ */ t(vh, { transaction: i }),
|
7105
|
+
s === Qi.MerchantLogo && /* @__PURE__ */ t(xh, { transaction: i }),
|
7106
7106
|
/* @__PURE__ */ t(k, { variant: c < e.length - 1 ? "inset" : "fullWidth" })
|
7107
7107
|
] }, s)),
|
7108
7108
|
i.is_manual && /* @__PURE__ */ t(Th, { transaction: i })
|
@@ -7207,13 +7207,13 @@ const Cc = ({ transaction: e }) => {
|
|
7207
7207
|
xn,
|
7208
7208
|
{
|
7209
7209
|
InputLabelProps: { shrink: !0 },
|
7210
|
-
SelectProps: { defaultValue: -1, IconComponent:
|
7210
|
+
SelectProps: { defaultValue: -1, IconComponent: fa },
|
7211
7211
|
label: i.manual_transaction_select_an_account,
|
7212
7212
|
onChange: (y) => E(y.target.value),
|
7213
7213
|
placeholder: i.manual_transaction_select,
|
7214
7214
|
select: !0,
|
7215
7215
|
sx: { bgcolor: "background.paper" },
|
7216
|
-
children: u.map((y) => /* @__PURE__ */ t(
|
7216
|
+
children: u.map((y) => /* @__PURE__ */ t(ya, { value: y.value, children: y.label }, y.value))
|
7217
7217
|
}
|
7218
7218
|
)
|
7219
7219
|
] }),
|
@@ -7369,7 +7369,7 @@ const Cc = ({ transaction: e }) => {
|
|
7369
7369
|
title: D.transactions_title,
|
7370
7370
|
children: [
|
7371
7371
|
/* @__PURE__ */ t(L, { mt: 16, children: /* @__PURE__ */ t(
|
7372
|
-
|
7372
|
+
Ui,
|
7373
7373
|
{
|
7374
7374
|
onChange: Ha,
|
7375
7375
|
placeholder: D.action_bar_search_placeholder,
|
@@ -7511,7 +7511,7 @@ const Cc = ({ transaction: e }) => {
|
|
7511
7511
|
occurs_on: li(e.expectedDate, { representation: "date" }),
|
7512
7512
|
recurrence_type: e.recurrenceType
|
7513
7513
|
}), ng = ({ activity: e }) => {
|
7514
|
-
const { recurring: n } = x(), { cashflowSequences: i, scheduledPayments: a, updateCashflowSequence: o, updateScheduledPayment: r } =
|
7514
|
+
const { recurring: n } = x(), { cashflowSequences: i, scheduledPayments: a, updateCashflowSequence: o, updateScheduledPayment: r } = tt(), { onEvent: s } = z(), [c, d] = g.useState(!1), _ = e.activityType === Ze.Income, u = [
|
7515
7515
|
{ id: J.EveryWeek, label: n.frequency_every_week },
|
7516
7516
|
{ id: J.EveryOtherWeek, label: n.frequency_every_other_week },
|
7517
7517
|
{ id: J.EveryMonth, label: n.frequency_every_month },
|
@@ -7577,7 +7577,7 @@ const Cc = ({ transaction: e }) => {
|
|
7577
7577
|
)
|
7578
7578
|
] });
|
7579
7579
|
}, ig = A(ng), ag = ({ activity: e }) => {
|
7580
|
-
const { recurring: n } = x(), { cashflowSequences: i, scheduledPayments: a, updateCashflowSequence: o, updateScheduledPayment: r } =
|
7580
|
+
const { recurring: n } = x(), { cashflowSequences: i, scheduledPayments: a, updateCashflowSequence: o, updateScheduledPayment: r } = tt(), { onEvent: s } = z(), [c, d] = g.useState(!1), [_, u] = g.useState(e.expectedDate), h = e.activityType === Ze.Income, m = () => {
|
7581
7581
|
u(e.expectedDate), d(!0), s(
|
7582
7582
|
h ? "recurring_transactions_widget_income_details_click_next_payment_due" : "recurring_transactions_widget_expense_details_click_next_payment_due",
|
7583
7583
|
{
|
@@ -7636,7 +7636,7 @@ const Cc = ({ transaction: e }) => {
|
|
7636
7636
|
)
|
7637
7637
|
] });
|
7638
7638
|
}, og = A(ag), rg = ({ activity: e, onDeleted: n }) => {
|
7639
|
-
const { recurring: i } = x(), { categories: a } = Ke(), { deleteCashflowSequence: o, deleteScheduledPayment: r, paidActivities: s } =
|
7639
|
+
const { recurring: i } = x(), { categories: a } = Ke(), { deleteCashflowSequence: o, deleteScheduledPayment: r, paidActivities: s } = tt(), { filter: c, setFilter: d, transactions: _ } = Te(), { selectedAccountGuids: u } = _e(), { onEvent: h } = z(), [m, C] = g.useState(!1), [f, E] = g.useState(""), y = a.find((R) => R.guid === e.categoryGuid), S = e.activityType === Ze.Income, w = g.useMemo(
|
7640
7640
|
() => _.find((R) => R.guid === f),
|
7641
7641
|
[f]
|
7642
7642
|
);
|
@@ -7752,7 +7752,7 @@ const Cc = ({ transaction: e }) => {
|
|
7752
7752
|
gridRow: 1,
|
7753
7753
|
gridColumn: 1,
|
7754
7754
|
zIndex: 2
|
7755
|
-
}, Ra = (e) => e ? { margin: "0 0 -6px -4px" } : void 0, Oo = ({ isOffset: e = !1, size: n = 16 }) => /* @__PURE__ */ t(Zt, { size: n, sx: { ...Ra(e) }, children: /* @__PURE__ */ t(Fd, { color: "primary", sx: { fontSize: n, ...Da } }) }), Lo = ({ isOffset: e = !1, size: n = 16 }) => /* @__PURE__ */ t(Zt, { size: n, sx: { ...Ra(e) }, children: /* @__PURE__ */ t(Wd, { sx: { color: "categories.income", fontSize: n, ...Da } }) }), Mo = ({ isOffset: e = !1, size: n = 16 }) => /* @__PURE__ */ t(Zt, { size: n, sx: { ...Ra(e) }, children: /* @__PURE__ */ t(
|
7755
|
+
}, Ra = (e) => e ? { margin: "0 0 -6px -4px" } : void 0, Oo = ({ isOffset: e = !1, size: n = 16 }) => /* @__PURE__ */ t(Zt, { size: n, sx: { ...Ra(e) }, children: /* @__PURE__ */ t(Fd, { color: "primary", sx: { fontSize: n, ...Da } }) }), Lo = ({ isOffset: e = !1, size: n = 16 }) => /* @__PURE__ */ t(Zt, { size: n, sx: { ...Ra(e) }, children: /* @__PURE__ */ t(Wd, { sx: { color: "categories.income", fontSize: n, ...Da } }) }), Mo = ({ isOffset: e = !1, size: n = 16 }) => /* @__PURE__ */ t(Zt, { size: n, sx: { ...Ra(e) }, children: /* @__PURE__ */ t(aa, { color: "error", sx: { fontSize: n, ...Da } }) }), ko = ({ isOffset: e = !1, size: n = 16 }) => /* @__PURE__ */ t(Zt, { size: n, sx: { ...Ra(e) }, children: /* @__PURE__ */ t(Ea, { color: "success", sx: { fontSize: n, ...Da } }) }), Br = ({ copy: e, date: n, type: i }) => {
|
7756
7756
|
let a = n && Co(n) ? T(e.monthly_ordinal, wt(n, "do")) : e.monthly;
|
7757
7757
|
switch (i) {
|
7758
7758
|
case J.EveryQuarter:
|
@@ -7906,7 +7906,7 @@ const Cc = ({ transaction: e }) => {
|
|
7906
7906
|
}
|
7907
7907
|
)
|
7908
7908
|
] });
|
7909
|
-
},
|
7909
|
+
}, ua = A(dg), Ac = (e, n, i) => {
|
7910
7910
|
const a = {
|
7911
7911
|
account_guid: e.account_guid,
|
7912
7912
|
amount: e.amount,
|
@@ -7984,7 +7984,7 @@ const Cc = ({ transaction: e }) => {
|
|
7984
7984
|
return /* @__PURE__ */ l(b, { sx: { bgcolor: e, gap: 16, pt: 8 }, children: [
|
7985
7985
|
n && /* @__PURE__ */ t(Oe, { sx: { mx: 24 }, children: n }),
|
7986
7986
|
/* @__PURE__ */ t(
|
7987
|
-
|
7987
|
+
Ui,
|
7988
7988
|
{
|
7989
7989
|
ariaLabel: o.select_transaction_search_aria,
|
7990
7990
|
cancelAriaLabel: o.select_transaction_search_cancel_aria,
|
@@ -8017,19 +8017,19 @@ const Cc = ({ transaction: e }) => {
|
|
8017
8017
|
];
|
8018
8018
|
g.useEffect(() => {
|
8019
8019
|
const u = Ge(s.date);
|
8020
|
-
r(
|
8020
|
+
r(sa(u)), o(J.EveryMonth);
|
8021
8021
|
}, [s]);
|
8022
8022
|
const _ = (u) => {
|
8023
8023
|
const h = Ge(s.date);
|
8024
8024
|
switch (Number(u.target.value)) {
|
8025
8025
|
case J.EveryWeek:
|
8026
|
-
r(
|
8026
|
+
r(Aa(h));
|
8027
8027
|
break;
|
8028
8028
|
case J.EveryOtherWeek:
|
8029
8029
|
r(js(h));
|
8030
8030
|
break;
|
8031
8031
|
case J.EveryMonth:
|
8032
|
-
r(
|
8032
|
+
r(sa(h));
|
8033
8033
|
break;
|
8034
8034
|
case J.EveryOtherMonth:
|
8035
8035
|
r(Xs(h));
|
@@ -8053,7 +8053,7 @@ const Cc = ({ transaction: e }) => {
|
|
8053
8053
|
] }),
|
8054
8054
|
/* @__PURE__ */ t(p, { bold: !0, sx: { mx: 24 }, variant: "Body", children: i ? c.income_schedule : c.expense_schedule }),
|
8055
8055
|
/* @__PURE__ */ t(
|
8056
|
-
|
8056
|
+
nt,
|
8057
8057
|
{
|
8058
8058
|
InputLabelProps: { shrink: !0 },
|
8059
8059
|
SelectProps: {
|
@@ -8066,11 +8066,11 @@ const Cc = ({ transaction: e }) => {
|
|
8066
8066
|
sx: { mx: 24 },
|
8067
8067
|
value: n,
|
8068
8068
|
variant: "outlined",
|
8069
|
-
children: d.map((u) => /* @__PURE__ */ t(
|
8069
|
+
children: d.map((u) => /* @__PURE__ */ t(ya, { value: u.id, children: u.label }, u.id))
|
8070
8070
|
}
|
8071
8071
|
),
|
8072
8072
|
/* @__PURE__ */ t(Nn, { dateAdapter: gn, children: /* @__PURE__ */ t(
|
8073
|
-
|
8073
|
+
ba,
|
8074
8074
|
{
|
8075
8075
|
disablePast: !0,
|
8076
8076
|
label: i ? c.income_date_label : c.expense_date_label,
|
@@ -8085,7 +8085,7 @@ const Cc = ({ transaction: e }) => {
|
|
8085
8085
|
label: n,
|
8086
8086
|
onAddActivity: i = () => null
|
8087
8087
|
}) => {
|
8088
|
-
const { recurring: a } = x(), { addCashflowEvent: o, addCashflowSequence: r, addScheduledPayment: s } =
|
8088
|
+
const { recurring: a } = x(), { addCashflowEvent: o, addCashflowSequence: r, addScheduledPayment: s } = tt(), { filter: c, setFilter: d, transactions: _ } = Te(), [u, h] = g.useState(!1), [m, C] = g.useState(""), [f, E] = g.useState(J.EveryMonth), [y, S] = g.useState(null), w = g.useMemo(
|
8089
8089
|
() => _.find((D) => D.guid === m),
|
8090
8090
|
[m]
|
8091
8091
|
), v = () => {
|
@@ -8179,7 +8179,7 @@ const Cc = ({ transaction: e }) => {
|
|
8179
8179
|
scheduledPaymentGuid: a.guid
|
8180
8180
|
};
|
8181
8181
|
}), pg = () => {
|
8182
|
-
const { recurring: e } = x(), { scheduledPayments: n } =
|
8182
|
+
const { recurring: e } = x(), { scheduledPayments: n } = tt(), { transactions: i } = Te(), { selectedAccounts: a } = _e(), { onEvent: o } = z(), r = mg(a, n, i), s = (d) => {
|
8183
8183
|
o(W.RECURRING_ACTIVITY_CLICK_EXPENSE, {
|
8184
8184
|
transaction_guid: d.transactionGuid
|
8185
8185
|
});
|
@@ -8188,7 +8188,7 @@ const Cc = ({ transaction: e }) => {
|
|
8188
8188
|
};
|
8189
8189
|
return /* @__PURE__ */ l(ne, { sx: { bgcolor: "background.paper" }, children: [
|
8190
8190
|
r.map((d, _) => /* @__PURE__ */ l(g.Fragment, { children: [
|
8191
|
-
/* @__PURE__ */ t(
|
8191
|
+
/* @__PURE__ */ t(ua, { activity: d, onActivityClick: s, showOrdinal: !0 }),
|
8192
8192
|
/* @__PURE__ */ t(k, { variant: _ < r.length - 1 ? "inset" : "fullWidth" })
|
8193
8193
|
] }, d.scheduledPaymentGuid)),
|
8194
8194
|
/* @__PURE__ */ t(Nc, { label: e.add_expense, onAddActivity: c })
|
@@ -8307,10 +8307,10 @@ const Cc = ({ transaction: e }) => {
|
|
8307
8307
|
case J.EveryMonth:
|
8308
8308
|
a.push({
|
8309
8309
|
...c,
|
8310
|
-
expectedDate:
|
8310
|
+
expectedDate: ta(m, d)
|
8311
8311
|
}), a.push({
|
8312
8312
|
...c,
|
8313
|
-
expectedDate: mt(
|
8313
|
+
expectedDate: mt(ta(m, d), 1)
|
8314
8314
|
});
|
8315
8315
|
break;
|
8316
8316
|
case J.EveryOtherMonth:
|
@@ -8374,7 +8374,7 @@ const Cc = ({ transaction: e }) => {
|
|
8374
8374
|
sequenceGuid: r.guid
|
8375
8375
|
};
|
8376
8376
|
}), Eg = () => {
|
8377
|
-
const { recurring: e } = x(), { selectedAccounts: n } = _e(), { cashflowEvents: i, cashflowSequences: a, projectedEvents: o } =
|
8377
|
+
const { recurring: e } = x(), { selectedAccounts: n } = _e(), { cashflowEvents: i, cashflowSequences: a, projectedEvents: o } = tt(), { transactions: r } = Te(), { onEvent: s } = z(), c = yg(
|
8378
8378
|
n,
|
8379
8379
|
i,
|
8380
8380
|
o,
|
@@ -8389,7 +8389,7 @@ const Cc = ({ transaction: e }) => {
|
|
8389
8389
|
};
|
8390
8390
|
return /* @__PURE__ */ l(ne, { sx: { bgcolor: "background.paper" }, children: [
|
8391
8391
|
c.map((u, h) => /* @__PURE__ */ l(g.Fragment, { children: [
|
8392
|
-
/* @__PURE__ */ t(
|
8392
|
+
/* @__PURE__ */ t(ua, { activity: u, onActivityClick: d, showOrdinal: !0 }),
|
8393
8393
|
/* @__PURE__ */ t(k, { variant: h < c.length - 1 ? "inset" : "fullWidth" })
|
8394
8394
|
] }, u.sequenceGuid)),
|
8395
8395
|
/* @__PURE__ */ t(Nc, { isIncome: !0, label: e.add_income, onAddActivity: _ })
|
@@ -8432,7 +8432,7 @@ const Cc = ({ transaction: e }) => {
|
|
8432
8432
|
}, Dc = A(Sg), mi = (e, n) => e + n.amount, Ka = (e) => e.activityType === Ze.Income && ai(e.expectedDate, {
|
8433
8433
|
start: We(de()),
|
8434
8434
|
end: je(de())
|
8435
|
-
}),
|
8435
|
+
}), ji = (e) => e.activityType === Ze.Expense && ai(e.expectedDate, {
|
8436
8436
|
start: We(de()),
|
8437
8437
|
end: je(de())
|
8438
8438
|
}), za = (e) => e.occurredOnDate && ai(e.occurredOnDate, {
|
@@ -8442,7 +8442,7 @@ const Cc = ({ transaction: e }) => {
|
|
8442
8442
|
start: We(/* @__PURE__ */ new Date()),
|
8443
8443
|
end: Mt(de(), 30)
|
8444
8444
|
}), Tg = ({ day: e, outsideCurrentMonth: n, ...i }) => {
|
8445
|
-
const { recurring: a } = x(), { selectedAccountGuids: o } = _e(), { activities: r, setSelectedDay: s } =
|
8445
|
+
const { recurring: a } = x(), { selectedAccountGuids: o } = _e(), { activities: r, setSelectedDay: s } = tt(), d = g.useMemo(
|
8446
8446
|
() => r.filter((f) => o.includes(f.accountGuid || "")),
|
8447
8447
|
[o, r]
|
8448
8448
|
).filter(
|
@@ -8494,7 +8494,7 @@ const Cc = ({ transaction: e }) => {
|
|
8494
8494
|
)
|
8495
8495
|
}
|
8496
8496
|
);
|
8497
|
-
}, Ag = A(Tg),
|
8497
|
+
}, Ag = A(Tg), Xi = ({ icon: e, label: n }) => /* @__PURE__ */ l(b, { alignItems: "center", flexDirection: "row", sx: { gap: 6 }, children: [
|
8498
8498
|
/* @__PURE__ */ t(e, {}),
|
8499
8499
|
/* @__PURE__ */ t(p, { variant: "XSmall", children: n })
|
8500
8500
|
] }), xg = () => {
|
@@ -8509,18 +8509,18 @@ const Cc = ({ transaction: e }) => {
|
|
8509
8509
|
justifyContent: "center",
|
8510
8510
|
mt: 12,
|
8511
8511
|
children: [
|
8512
|
-
/* @__PURE__ */ t(
|
8513
|
-
/* @__PURE__ */ t(
|
8514
|
-
/* @__PURE__ */ t(
|
8515
|
-
/* @__PURE__ */ t(
|
8512
|
+
/* @__PURE__ */ t(Xi, { icon: Oo, label: e.expense }),
|
8513
|
+
/* @__PURE__ */ t(Xi, { icon: Lo, label: e.income }),
|
8514
|
+
/* @__PURE__ */ t(Xi, { icon: Mo, label: e.missed }),
|
8515
|
+
/* @__PURE__ */ t(Xi, { icon: ko, label: e.paid })
|
8516
8516
|
]
|
8517
8517
|
}
|
8518
8518
|
);
|
8519
8519
|
}, Ig = A(xg), Pr = 58, vg = () => {
|
8520
|
-
const e =
|
8521
|
-
|
8520
|
+
const e = at(), { onEvent: n } = z(), { selectedDay: i } = tt(), [a, o] = g.useState(
|
8521
|
+
oa(/* @__PURE__ */ new Date()) * _n + Pr
|
8522
8522
|
), r = (c) => {
|
8523
|
-
o(
|
8523
|
+
o(oa(c) * _n + Pr), n(W.RECURRING_ACTIVITY_CLICK_CALENDAR_RIGHT);
|
8524
8524
|
}, s = /* @__PURE__ */ t(
|
8525
8525
|
di,
|
8526
8526
|
{
|
@@ -8606,7 +8606,7 @@ const Cc = ({ transaction: e }) => {
|
|
8606
8606
|
] }),
|
8607
8607
|
e.length === 0 ? /* @__PURE__ */ t(p, { fontStyle: "italic", py: 24, sx: { textAlign: "center" }, children: s.no_activities }) : /* @__PURE__ */ t(ne, { children: n ? e.map((d, _) => /* @__PURE__ */ l(g.Fragment, { children: [
|
8608
8608
|
/* @__PURE__ */ t(
|
8609
|
-
|
8609
|
+
ua,
|
8610
8610
|
{
|
8611
8611
|
activity: d,
|
8612
8612
|
isMini: n,
|
@@ -8626,7 +8626,7 @@ const Cc = ({ transaction: e }) => {
|
|
8626
8626
|
sx: { width: "100%" },
|
8627
8627
|
children: d.activities.map((u, h) => /* @__PURE__ */ l(g.Fragment, { children: [
|
8628
8628
|
/* @__PURE__ */ t(
|
8629
|
-
|
8629
|
+
ua,
|
8630
8630
|
{
|
8631
8631
|
activity: u,
|
8632
8632
|
isMini: n,
|
@@ -8683,7 +8683,7 @@ const Cc = ({ transaction: e }) => {
|
|
8683
8683
|
selectedDayActivities: c,
|
8684
8684
|
setSelectedDay: d,
|
8685
8685
|
upcomingActivities: _
|
8686
|
-
} =
|
8686
|
+
} = tt(), [u, h] = g.useState(0), { onEvent: m } = z(), C = a.filter(za), f = r.filter(za), E = o.filter(za), y = C.filter(ji).reduce(mi, 0), S = f.filter(ji).reduce(mi, 0), w = E.filter(ji).reduce(mi, 0), v = C.filter(ji).length, I = C.filter(Ka).reduce(mi, 0), R = f.filter(Ka).reduce(mi, 0), D = C.filter(Ka).length, H = (Q, U) => {
|
8687
8687
|
h(U);
|
8688
8688
|
}, O = (Q) => {
|
8689
8689
|
m(W.RECURRING_ACTIVITY_CLICK_UPCOMING, {
|
@@ -8765,7 +8765,7 @@ const Cc = ({ transaction: e }) => {
|
|
8765
8765
|
] }) })
|
8766
8766
|
] });
|
8767
8767
|
}, Og = A(Rg), Lg = ({ onBackClick: e, sx: n = {} }) => {
|
8768
|
-
const { visibleAccounts: i } = ve(), { recurring: a } = x(), { isCopyLoaded: o, isInitialized: r, selectedAccountGuids: s, setSelectedAccounts: c } = _e(), { setFilter: d } = Te(), { isDataLoaded: _, loadActivity: u } =
|
8768
|
+
const { visibleAccounts: i } = ve(), { recurring: a } = x(), { isCopyLoaded: o, isInitialized: r, selectedAccountGuids: s, setSelectedAccounts: c } = _e(), { setFilter: d } = Te(), { isDataLoaded: _, loadActivity: u } = tt(), { onEvent: h } = z();
|
8769
8769
|
g.useEffect(() => {
|
8770
8770
|
u();
|
8771
8771
|
}, []), g.useEffect(() => {
|
@@ -8822,7 +8822,7 @@ const Cc = ({ transaction: e }) => {
|
|
8822
8822
|
selectedDayActivities: o,
|
8823
8823
|
setSelectedDay: r,
|
8824
8824
|
upcomingActivities: s
|
8825
|
-
} =
|
8825
|
+
} = tt();
|
8826
8826
|
g.useEffect(() => {
|
8827
8827
|
i();
|
8828
8828
|
}, []);
|
@@ -9068,7 +9068,7 @@ const Pg = {
|
|
9068
9068
|
gridRow: 1,
|
9069
9069
|
gridColumn: 1,
|
9070
9070
|
zIndex: 2
|
9071
|
-
}, Hg = ({ size: e = 20 }) => /* @__PURE__ */ t(Zt, { size: e, children: /* @__PURE__ */ t(
|
9071
|
+
}, Hg = ({ size: e = 20 }) => /* @__PURE__ */ t(Zt, { size: e, children: /* @__PURE__ */ t(Sa, { color: "error", sx: { fontSize: e, ...Pg } }) }), Po = (e) => e && (e.account_type === le.CREDIT_CARD || e.account_type === le.LOAN || e.account_type === le.MORTGAGE || e.account_type === le.LINE_OF_CREDIT || e.account_type === le.CHECKING_LINE_OF_CREDIT), $g = (e) => e.is_manual || !e.guid, Fg = (e) => e.account_type === le.LINE_OF_CREDIT || e.account_type === le.CREDIT_CARD || e.account_type === le.CHECKING_LINE_OF_CREDIT, Wg = (e) => e.account_type === le.SAVINGS || e.account_type === le.CHECKING || e.account_type === le.LINE_OF_CREDIT || e.account_type === le.CREDIT_CARD || e.account_type === le.LOAN || e.account_type === le.MORTGAGE, Ug = (e) => e.account_type === le.LOAN || e.account_type === le.MORTGAGE, Vg = (e, n) => {
|
9072
9072
|
const i = [
|
9073
9073
|
{
|
9074
9074
|
event: "account_details_click_account_name",
|
@@ -9317,7 +9317,7 @@ const Yg = ({ activity: e }) => /* @__PURE__ */ l(Z, { children: [
|
|
9317
9317
|
/* @__PURE__ */ t(k, {})
|
9318
9318
|
] });
|
9319
9319
|
}, Fr = A(jg), Wr = (e, n) => (i) => i.accountGuid === e.guid && (bo(i.expectedDate) || Jt(i.expectedDate, n.start)) && we(i.expectedDate, n.end), Xg = () => {
|
9320
|
-
const { availableWidth: e } = Un(), { cashflow: n } = x(), { upcomingExpenses: i, upcomingIncome: a } =
|
9320
|
+
const { availableWidth: e } = Un(), { cashflow: n } = x(), { upcomingExpenses: i, upcomingIncome: a } = tt(), { dateRange: o, selectedCashAccounts: r } = _i();
|
9321
9321
|
return /* @__PURE__ */ l(b, { children: [
|
9322
9322
|
/* @__PURE__ */ l(b, { direction: e < 400 ? "column" : "row", justifyContent: "space-between", children: [
|
9323
9323
|
/* @__PURE__ */ t(p, { bold: !0, sx: { fontSize: 15, mb: 12, whiteSpace: "normal" }, children: n.accounts_breakdown }),
|
@@ -9389,7 +9389,7 @@ const Yg = ({ activity: e }) => /* @__PURE__ */ l(Z, { children: [
|
|
9389
9389
|
}) })
|
9390
9390
|
] });
|
9391
9391
|
}, qg = A(Xg), Zg = () => {
|
9392
|
-
const { availableWidth: e } = Un(), n = ge(), { cashflow: i } = x(), { upcomingExpenses: a, upcomingIncome: o } =
|
9392
|
+
const { availableWidth: e } = Un(), n = ge(), { cashflow: i } = x(), { upcomingExpenses: a, upcomingIncome: o } = tt(), { dateRange: r, selectedCashAccounts: s } = _i(), c = [
|
9393
9393
|
{
|
9394
9394
|
field: "account",
|
9395
9395
|
flex: 1.5,
|
@@ -9485,7 +9485,7 @@ const Yg = ({ activity: e }) => /* @__PURE__ */ l(Z, { children: [
|
|
9485
9485
|
}
|
9486
9486
|
),
|
9487
9487
|
/* @__PURE__ */ t(
|
9488
|
-
|
9488
|
+
la,
|
9489
9489
|
{
|
9490
9490
|
body: i.table_tooltip_body,
|
9491
9491
|
title: i.table_tooltip_title
|
@@ -9683,7 +9683,7 @@ const Yg = ({ activity: e }) => /* @__PURE__ */ l(Z, { children: [
|
|
9683
9683
|
]
|
9684
9684
|
}
|
9685
9685
|
), Ur = (e, n) => (i) => i.accountGuid && e.includes(i.accountGuid) && (bo(i.expectedDate) || Jt(i.expectedDate, n.start)) && we(i.expectedDate, n.end), tm = () => {
|
9686
|
-
const [e, n] = g.useState(!1), { availableWidth: i } = Un(), { cashflow: a } = x(), { upcomingExpenses: o, upcomingIncome: r } =
|
9686
|
+
const [e, n] = g.useState(!1), { availableWidth: i } = Un(), { cashflow: a } = x(), { upcomingExpenses: o, upcomingIncome: r } = tt(), { selectedAccountGuids: s } = _e(), { dateRange: c, selectedCashAccounts: d } = _i(), { userProfile: _ } = an(), u = g.useMemo(
|
9687
9687
|
() => o.filter(Ur(s, c)),
|
9688
9688
|
[c, s, o]
|
9689
9689
|
), h = g.useMemo(
|
@@ -9740,7 +9740,7 @@ const Yg = ({ activity: e }) => /* @__PURE__ */ l(Z, { children: [
|
|
9740
9740
|
isTotal: !0,
|
9741
9741
|
label: a.remaining_cash,
|
9742
9742
|
tooltip: /* @__PURE__ */ t(
|
9743
|
-
|
9743
|
+
la,
|
9744
9744
|
{
|
9745
9745
|
body: a.remaining_income_tooltip_body,
|
9746
9746
|
title: a.remaining_income_tooltip_title
|
@@ -9777,7 +9777,7 @@ const Yg = ({ activity: e }) => /* @__PURE__ */ l(Z, { children: [
|
|
9777
9777
|
amount: E,
|
9778
9778
|
label: a.remaining_cash,
|
9779
9779
|
tooltip: /* @__PURE__ */ t(
|
9780
|
-
|
9780
|
+
la,
|
9781
9781
|
{
|
9782
9782
|
body: a.remaining_income_tooltip_body,
|
9783
9783
|
title: a.remaining_income_tooltip_title
|
@@ -9886,7 +9886,7 @@ const Yg = ({ activity: e }) => /* @__PURE__ */ l(Z, { children: [
|
|
9886
9886
|
transform: rotate(360deg);
|
9887
9887
|
}
|
9888
9888
|
`, cm = () => {
|
9889
|
-
const { addCashflowEvent: e, addCashflowSequence: n, cashflowSequences: i } =
|
9889
|
+
const { addCashflowEvent: e, addCashflowSequence: n, cashflowSequences: i } = tt(), { cashflow: a, common: o } = x(), { completeOnboarding: r } = vo(), { isDirty: s } = _i(), { isMobile: c } = Ee(), { isCopyLoaded: d, setDisplayedDate: _ } = _e(), { filter: u, setFilter: h, transactions: m } = Te(), C = ge(), [f, E] = Et(!0), [y, S] = g.useState(J.EveryMonth), [w, v] = Et(!1), [I, R] = g.useState(null), [D, H] = Et(1), [O, M] = Et([]), [Q, U] = Et(""), X = g.useMemo(
|
9890
9890
|
() => m.find((oe) => oe.guid === Q),
|
9891
9891
|
[Q]
|
9892
9892
|
), fe = !!i.length, $ = async () => {
|
@@ -10059,7 +10059,7 @@ const Yg = ({ activity: e }) => /* @__PURE__ */ l(Z, { children: [
|
|
10059
10059
|
setSelectedAccounts: o,
|
10060
10060
|
shouldDisableNextDate: r,
|
10061
10061
|
shouldDisablePrevDate: s
|
10062
|
-
} = _e(), { onEvent: c } = z(), { visibleCashAccounts: d } = ve(), { setFilter: _ } = Te(), { userProfile: u } = an(), { dateRange: h, setSelectedCashAccounts: m } = _i(), { loadActivity: C } =
|
10062
|
+
} = _e(), { onEvent: c } = z(), { visibleCashAccounts: d } = ve(), { setFilter: _ } = Te(), { userProfile: u } = an(), { dateRange: h, setSelectedCashAccounts: m } = _i(), { loadActivity: C } = tt(), { cashflow: f } = x(), { isCopyLoaded: E, isInitialized: y } = _e(), [S, w] = g.useState(!1);
|
10063
10063
|
return g.useEffect(() => {
|
10064
10064
|
y && C();
|
10065
10065
|
}, [y]), g.useEffect(() => {
|
@@ -10237,14 +10237,14 @@ function hm(e, n, i = 0) {
|
|
10237
10237
|
const Cn = () => {
|
10238
10238
|
if (!g.useContext(Xn))
|
10239
10239
|
throw new Error("useCateUiStore() must be used within the GlobalDataContext");
|
10240
|
-
return
|
10240
|
+
return xa().uiStore;
|
10241
10241
|
}, gm = ({ debts: e, onClickCta: n, sx: i }) => {
|
10242
10242
|
const a = vn(), { isMobile: o } = Ee(), { debts: r } = x(), { selectedDebtPriority: s } = Cn(), { monthlyCashFlowProfile: c } = rt(), { payoffDate: d, payoffSavings: _, payoffDuration: u } = g.useMemo(() => {
|
10243
10243
|
const h = c?.extra_payment ?? 0;
|
10244
10244
|
return hm(e, s, h);
|
10245
10245
|
}, [e, s, c]);
|
10246
10246
|
return /* @__PURE__ */ t(
|
10247
|
-
|
10247
|
+
ga,
|
10248
10248
|
{
|
10249
10249
|
sx: {
|
10250
10250
|
boxShadow: a.shadows[2],
|
@@ -10308,7 +10308,7 @@ const Cn = () => {
|
|
10308
10308
|
/* @__PURE__ */ t(p, { variant: "H1", children: o.snowball_drawer_savings }),
|
10309
10309
|
/* @__PURE__ */ t(p, { color: a.palette.secondary.main, variant: "Small", children: o.snowball_drawer_duration_description })
|
10310
10310
|
] }),
|
10311
|
-
/* @__PURE__ */ l(
|
10311
|
+
/* @__PURE__ */ l(ga, { sx: { display: "grid", py: 16, px: 24 }, children: [
|
10312
10312
|
/* @__PURE__ */ t(p, { mb: 4, variant: "H3", children: o.snowball_drawer_question }),
|
10313
10313
|
/* @__PURE__ */ t(
|
10314
10314
|
p,
|
@@ -10705,7 +10705,7 @@ const Cn = () => {
|
|
10705
10705
|
}
|
10706
10706
|
return c;
|
10707
10707
|
}, vm = () => {
|
10708
|
-
const e =
|
10708
|
+
const e = at(), { selectedAccount: n } = $t(), { monthlyCategoryTotals: i } = Ke(), { trends: a } = x(), o = [e.palette.chart?.chart1, e.palette.chart?.chart2], r = xm(i, n.account_type), s = Im(r, n.account_type, a), c = [le.LOAN, le.MORTGAGE].includes(n.account_type);
|
10709
10709
|
return /* @__PURE__ */ t("div", { "data-testid": "TrendsChart", children: /* @__PURE__ */ t(
|
10710
10710
|
xo,
|
10711
10711
|
{
|
@@ -10718,7 +10718,7 @@ const Cn = () => {
|
|
10718
10718
|
}
|
10719
10719
|
) });
|
10720
10720
|
}, wm = A(vm), Nm = ({ sx: e }) => {
|
10721
|
-
const { loadMonthlyCategoryTotals: n } = Ke(), { isInitialized: i } =
|
10721
|
+
const { loadMonthlyCategoryTotals: n } = Ke(), { isInitialized: i } = Wi(), { selectedAccount: a } = $t(), [o, r] = g.useState(!1);
|
10722
10722
|
return g.useEffect(() => {
|
10723
10723
|
i && n([a]).finally(() => {
|
10724
10724
|
r(!0);
|
@@ -10796,7 +10796,7 @@ const Bc = ({
|
|
10796
10796
|
onClickArea: r,
|
10797
10797
|
onHoverArea: s
|
10798
10798
|
}) => {
|
10799
|
-
const c =
|
10799
|
+
const c = at(), { onEvent: d } = z(), _ = a.filter((I) => !I.is_impossible), u = [
|
10800
10800
|
...new Set(
|
10801
10801
|
_.flatMap((I) => I.dataset.map((R) => new Date(R.x).getTime()))
|
10802
10802
|
)
|
@@ -11022,7 +11022,7 @@ const Bc = ({
|
|
11022
11022
|
secondaryText: $i(Number(e.interest_rate) / 100),
|
11023
11023
|
zeroStateText: e.interest_rate ? void 0 : n.add_interest_rate,
|
11024
11024
|
children: /* @__PURE__ */ t(
|
11025
|
-
|
11025
|
+
nt,
|
11026
11026
|
{
|
11027
11027
|
error: d,
|
11028
11028
|
fullWidth: !0,
|
@@ -11121,7 +11121,7 @@ const Bc = ({
|
|
11121
11121
|
secondaryText: $i(Number(e.interest_rate) / 100),
|
11122
11122
|
zeroStateText: e.interest_rate ? void 0 : n.add_interest_rate,
|
11123
11123
|
children: /* @__PURE__ */ t(
|
11124
|
-
|
11124
|
+
nt,
|
11125
11125
|
{
|
11126
11126
|
error: s,
|
11127
11127
|
fullWidth: !0,
|
@@ -11224,7 +11224,7 @@ const Bc = ({
|
|
11224
11224
|
/* @__PURE__ */ t(Tt, { sx: { my: 16, mx: 24, ...n }, children: /* @__PURE__ */ l(
|
11225
11225
|
In,
|
11226
11226
|
{
|
11227
|
-
icon: a ? /* @__PURE__ */ t(
|
11227
|
+
icon: a ? /* @__PURE__ */ t(Sa, {}) : /* @__PURE__ */ t(Ea, { color: "success" }),
|
11228
11228
|
severity: "error",
|
11229
11229
|
sx: {
|
11230
11230
|
alignItems: "start",
|
@@ -11349,7 +11349,7 @@ const Bc = ({
|
|
11349
11349
|
}
|
11350
11350
|
);
|
11351
11351
|
}), Xm = () => {
|
11352
|
-
const { debts: e } = x(), { totalMonthlyPayments: n } =
|
11352
|
+
const { debts: e } = x(), { totalMonthlyPayments: n } = xa(), { monthlyCashFlowProfile: i } = rt(), a = n + Number(i?.extra_payment);
|
11353
11353
|
return /* @__PURE__ */ l(b, { sx: { backgroundColor: "background.default", height: "100%" }, children: [
|
11354
11354
|
/* @__PURE__ */ l(b, { p: 24, children: [
|
11355
11355
|
/* @__PURE__ */ l(b, { alignItems: "center", gap: 4, mb: 24, children: [
|
@@ -11665,7 +11665,7 @@ const Kt = (e) => /* @__PURE__ */ t(p, { fontWeight: 600, variant: "Small", chil
|
|
11665
11665
|
},
|
11666
11666
|
children: [
|
11667
11667
|
/* @__PURE__ */ t(p, { color: "inherit", variant: "Small", children: u }),
|
11668
|
-
o === _ && /* @__PURE__ */ t(
|
11668
|
+
o === _ && /* @__PURE__ */ t(Ea, { color: "inherit", fontSize: "small" })
|
11669
11669
|
]
|
11670
11670
|
},
|
11671
11671
|
_
|
@@ -11724,7 +11724,7 @@ const Kt = (e) => /* @__PURE__ */ t(p, { fontWeight: 600, variant: "Small", chil
|
|
11724
11724
|
d.priority = !d.is_paid_off && !d.is_impossible ? c++ : void 0;
|
11725
11725
|
}), r;
|
11726
11726
|
}, cp = A(({ onClick: e }) => {
|
11727
|
-
const { debts: n } = x(), { isDesktop: i } = Ee(), { totalMonthlyPayments: a } =
|
11727
|
+
const { debts: n } = x(), { isDesktop: i } = Ee(), { totalMonthlyPayments: a } = xa(), { monthlyCashFlowProfile: o } = rt(), r = a + Number(o?.extra_payment), s = i ? n.paydown_button_long : n.paydown_button_short;
|
11728
11728
|
return /* @__PURE__ */ t(
|
11729
11729
|
ee,
|
11730
11730
|
{
|
@@ -11738,7 +11738,7 @@ const Kt = (e) => /* @__PURE__ */ t(p, { fontWeight: 600, variant: "Small", chil
|
|
11738
11738
|
}
|
11739
11739
|
);
|
11740
11740
|
}), lp = ({ onBackClick: e, sx: n }) => {
|
11741
|
-
const [i, a] = g.useState(!1), [o, r] = g.useState(!1), [s, c] = g.useState(!1), [d, _] = g.useState(""), { isDesktop: u, isMobile: h } = Ee(), { debts: m } = x(), { onEvent: C } = z(), { isCopyLoaded: f, isInitialized: E, setSelectedAccounts: y } = _e(), { setSelectedAccount: S } = $t(), { selectedDebtPriority: w, setSelectedDebtChartData: v } = Cn(), { visibleDebtAccounts: I } = ve(), { goalsLoaded: R, loadGoals: D, monthlyCashFlowProfile: H } = rt(), { debts: O } =
|
11741
|
+
const [i, a] = g.useState(!1), [o, r] = g.useState(!1), [s, c] = g.useState(!1), [d, _] = g.useState(""), { isDesktop: u, isMobile: h } = Ee(), { debts: m } = x(), { onEvent: C } = z(), { isCopyLoaded: f, isInitialized: E, setSelectedAccounts: y } = _e(), { setSelectedAccount: S } = $t(), { selectedDebtPriority: w, setSelectedDebtChartData: v } = Cn(), { visibleDebtAccounts: I } = ve(), { goalsLoaded: R, loadGoals: D, monthlyCashFlowProfile: H } = rt(), { debts: O } = xa(), M = g.useMemo(() => {
|
11742
11742
|
const ce = H?.extra_payment ?? 0;
|
11743
11743
|
return sp(O, w, ce);
|
11744
11744
|
}, [O, w, H]);
|
@@ -12192,7 +12192,7 @@ const pp = (e, n) => {
|
|
12192
12192
|
}, Ep = ({ goal: e }) => {
|
12193
12193
|
const { goals: n } = x();
|
12194
12194
|
return /* @__PURE__ */ t(j, { children: /* @__PURE__ */ l(ue, { children: [
|
12195
|
-
/* @__PURE__ */ t(Pe, { sx: { alignItems: "center", display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ t(
|
12195
|
+
/* @__PURE__ */ t(Pe, { sx: { alignItems: "center", display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ t(ma, { color: "success", filled: !0, size: 20 }) }),
|
12196
12196
|
/* @__PURE__ */ t(se, { primaryTypographyProps: { variant: "Body" }, children: /* @__PURE__ */ l(b, { alignItems: "center", direction: "row", justifyContent: "space-between", children: [
|
12197
12197
|
/* @__PURE__ */ l(b, { children: [
|
12198
12198
|
/* @__PURE__ */ t(p, { bold: !0, variant: "Body", children: e.name }),
|
@@ -12400,7 +12400,7 @@ const pp = (e, n) => {
|
|
12400
12400
|
secondary: B(u.balance || 0, "0,0.00")
|
12401
12401
|
}
|
12402
12402
|
),
|
12403
|
-
/* @__PURE__ */ t(
|
12403
|
+
/* @__PURE__ */ t(na, { checked: c.some((m) => m.guid === u.guid) })
|
12404
12404
|
] }) }),
|
12405
12405
|
/* @__PURE__ */ t(k, { variant: h < e.length - 1 ? "inset" : "fullWidth" })
|
12406
12406
|
] }, u.guid))
|
@@ -12610,7 +12610,7 @@ const pp = (e, n) => {
|
|
12610
12610
|
primaryText: n.details_goal_name,
|
12611
12611
|
secondaryText: e.name,
|
12612
12612
|
children: /* @__PURE__ */ t(
|
12613
|
-
|
12613
|
+
nt,
|
12614
12614
|
{
|
12615
12615
|
error: !r,
|
12616
12616
|
fullWidth: !0,
|
@@ -12644,7 +12644,7 @@ const pp = (e, n) => {
|
|
12644
12644
|
secondaryText: `${e.retirement_age}`,
|
12645
12645
|
zeroStateText: c && !e.retirement_age ? n.add_age : void 0,
|
12646
12646
|
children: /* @__PURE__ */ t(
|
12647
|
-
|
12647
|
+
nt,
|
12648
12648
|
{
|
12649
12649
|
error: u,
|
12650
12650
|
fullWidth: !0,
|
@@ -12670,7 +12670,7 @@ const pp = (e, n) => {
|
|
12670
12670
|
secondaryText: `${re(Ge(i.birthday ?? 0), ie.MONTH_DAY_YEAR)}`,
|
12671
12671
|
zeroStateText: !e.guid && !i.birthday ? n.add_birthday : void 0,
|
12672
12672
|
children: /* @__PURE__ */ t(Nn, { dateAdapter: gn, children: /* @__PURE__ */ t(
|
12673
|
-
|
12673
|
+
ba,
|
12674
12674
|
{
|
12675
12675
|
label: n.details_birthday,
|
12676
12676
|
onChange: s,
|
@@ -13582,7 +13582,7 @@ const zp = /^[ a-zA-ZÀ-ÿ0-9]+$/, Yp = 50, es = 65, jp = ({
|
|
13582
13582
|
});
|
13583
13583
|
return g.useEffect(() => m.measure(), [a]), s ? /* @__PURE__ */ l(b, { className: "mx-mrt-lookup", children: [
|
13584
13584
|
/* @__PURE__ */ t(
|
13585
|
-
|
13585
|
+
Ui,
|
13586
13586
|
{
|
13587
13587
|
ariaLabel: r.search_aria,
|
13588
13588
|
cancelAriaLabel: r.cancel_search_aria,
|
@@ -13798,7 +13798,7 @@ const a1 = ({
|
|
13798
13798
|
onMouseLeave: o,
|
13799
13799
|
selectedData: r
|
13800
13800
|
}) => {
|
13801
|
-
const { isMobile: s } = Ee(), { availableWidth: c } = Un(), d =
|
13801
|
+
const { isMobile: s } = Ee(), { availableWidth: c } = Un(), d = at(), _ = c - 320, u = e.map((f) => ({
|
13802
13802
|
x: wt(Ge(f.x), "MMM"),
|
13803
13803
|
y: f.y
|
13804
13804
|
})), h = r ? { index: e.findIndex((f) => f.x === r.x) } : void 0, m = n ? { index: e.findIndex((f) => f.x === n.x) } : void 0, C = (f) => ({
|
@@ -13877,7 +13877,7 @@ const a1 = ({
|
|
13877
13877
|
onMouseLeave: r,
|
13878
13878
|
selectedData: s
|
13879
13879
|
}) => {
|
13880
|
-
const { net_worth: c } = x(), d =
|
13880
|
+
const { net_worth: c } = x(), d = at(), _ = (u) => {
|
13881
13881
|
const h = u.x === n?.x, m = u.x === s?.x, C = {
|
13882
13882
|
backgroundColor: "inherit",
|
13883
13883
|
borderBottom: "inherit",
|
@@ -13936,7 +13936,7 @@ const a1 = ({
|
|
13936
13936
|
/* @__PURE__ */ t(p, { variant: "Small", children: e })
|
13937
13937
|
] });
|
13938
13938
|
}, Vo = A(d1), u1 = ({ hoveredData: e, selectedData: n }) => {
|
13939
|
-
const { net_worth: i } = x(), a =
|
13939
|
+
const { net_worth: i } = x(), a = at(), o = e || n, r = On(Ii(o.x), "MMMM");
|
13940
13940
|
return /* @__PURE__ */ l(b, { alignItems: "center", direction: "column", m: 24, children: [
|
13941
13941
|
/* @__PURE__ */ t(p, { color: a.palette.secondary.main, variant: "Small", children: `${r} ${i.net_worth}` }),
|
13942
13942
|
/* @__PURE__ */ t(ze, { amount: o.y, variant: "H2" }),
|
@@ -13948,8 +13948,8 @@ const a1 = ({
|
|
13948
13948
|
title: i
|
13949
13949
|
}) => {
|
13950
13950
|
let a;
|
13951
|
-
const { refreshAccounts: o } = ve(), { loadWidget: r } = rc(), { connect: s } = x(), c
|
13952
|
-
return g.useEffect(() => (n ? (
|
13951
|
+
const { refreshAccounts: o } = ve(), { loadWidget: r } = rc(), { connect: s } = x(), [c, d] = g.useState(!1), [_, u] = g.useState(!1);
|
13952
|
+
return g.useEffect(() => (n ? (d(!0), r({ widget: "connections_widget", mode: "dark" }).then((h) => {
|
13953
13953
|
a = new bd({
|
13954
13954
|
container: `#${Ar}`,
|
13955
13955
|
style: {
|
@@ -13957,15 +13957,15 @@ const a1 = ({
|
|
13957
13957
|
width: "100%",
|
13958
13958
|
position: "absolute"
|
13959
13959
|
},
|
13960
|
-
url:
|
13960
|
+
url: h.url,
|
13961
13961
|
onSsoUrlLoadError: () => {
|
13962
|
-
|
13962
|
+
d(!1), u(!0);
|
13963
13963
|
},
|
13964
13964
|
onLoad: () => {
|
13965
|
-
|
13965
|
+
d(!1), u(!1);
|
13966
13966
|
}
|
13967
13967
|
});
|
13968
|
-
})) : (
|
13968
|
+
})) : (d(!1), u(!1)), () => {
|
13969
13969
|
a?.unmount();
|
13970
13970
|
}), [n]), /* @__PURE__ */ t(
|
13971
13971
|
ae,
|
@@ -13977,8 +13977,8 @@ const a1 = ({
|
|
13977
13977
|
},
|
13978
13978
|
title: i,
|
13979
13979
|
children: /* @__PURE__ */ l("div", { id: Ar, children: [
|
13980
|
-
|
13981
|
-
|
13980
|
+
_ && /* @__PURE__ */ t(ca, { status: Bn.Error }),
|
13981
|
+
c && /* @__PURE__ */ t(ca, { status: Bn.Loading })
|
13982
13982
|
] })
|
13983
13983
|
}
|
13984
13984
|
);
|
@@ -14382,7 +14382,7 @@ const E1 = (e, n) => {
|
|
14382
14382
|
width: 8
|
14383
14383
|
}
|
14384
14384
|
};
|
14385
|
-
return /* @__PURE__ */ l(
|
14385
|
+
return /* @__PURE__ */ l(ga, { onClick: () => {
|
14386
14386
|
n(e), i({ ...e, has_been_viewed: !0 }).finally();
|
14387
14387
|
}, sx: o.card, children: [
|
14388
14388
|
e.has_been_viewed ? null : /* @__PURE__ */ t("div", { "data-testid": "new-message-dot", style: o.dot }),
|
@@ -14501,14 +14501,14 @@ const rs = "PARENT-ENTITY", N1 = (e, n) => {
|
|
14501
14501
|
class R1 {
|
14502
14502
|
globalStore;
|
14503
14503
|
api = new os("/", "");
|
14504
|
-
transactionApi = new
|
14504
|
+
transactionApi = new da("/", "");
|
14505
14505
|
alert = { message: "", severity: void 0 };
|
14506
14506
|
devices = [];
|
14507
14507
|
notificationProfiles = [];
|
14508
14508
|
selectedRule = void 0;
|
14509
14509
|
transactionRules = [];
|
14510
14510
|
constructor(n) {
|
14511
|
-
this.globalStore = n, this.api = new os(n.endpoint, n.sessionToken), this.transactionApi = new
|
14511
|
+
this.globalStore = n, this.api = new os(n.endpoint, n.sessionToken), this.transactionApi = new da(n.endpoint, n.sessionToken), He(this);
|
14512
14512
|
}
|
14513
14513
|
get accountProfiles() {
|
14514
14514
|
return this.detailedNotificationProfiles.filter(
|
@@ -14743,7 +14743,7 @@ const M1 = ({
|
|
14743
14743
|
imageLargeBreakPoint: o = 12,
|
14744
14744
|
sx: r
|
14745
14745
|
}) => {
|
14746
|
-
const s =
|
14746
|
+
const s = at();
|
14747
14747
|
return /* @__PURE__ */ l(g.Fragment, { children: [
|
14748
14748
|
/* @__PURE__ */ t(L, { sx: { pb: 48, ...r }, children: /* @__PURE__ */ l(Qe, { container: !0, rowSpacing: 24, children: [
|
14749
14749
|
/* @__PURE__ */ t(Qe, { item: !0, lg: 12, md: 12, sm: 12, xs: 12, children: n }),
|
@@ -14783,7 +14783,7 @@ const M1 = ({
|
|
14783
14783
|
imageLargeBreakPoint: o = 4,
|
14784
14784
|
sx: r
|
14785
14785
|
}) => {
|
14786
|
-
const s =
|
14786
|
+
const s = at();
|
14787
14787
|
return /* @__PURE__ */ l(g.Fragment, { children: [
|
14788
14788
|
/* @__PURE__ */ t(L, { sx: { pb: 48, ...r }, children: /* @__PURE__ */ l(Qe, { container: !0, spacing: 24, sx: { alignItems: "flex-start" }, children: [
|
14789
14789
|
/* @__PURE__ */ t(
|
@@ -14830,7 +14830,7 @@ const M1 = ({
|
|
14830
14830
|
imageLargeBreakPoint: o = 4,
|
14831
14831
|
sx: r
|
14832
14832
|
}) => {
|
14833
|
-
const s =
|
14833
|
+
const s = at();
|
14834
14834
|
return /* @__PURE__ */ l(g.Fragment, { children: [
|
14835
14835
|
/* @__PURE__ */ t(L, { sx: { pb: 48, ...r }, children: /* @__PURE__ */ l(Qe, { container: !0, spacing: 24, sx: { alignItems: "flex-start" }, children: [
|
14836
14836
|
/* @__PURE__ */ t(Qe, { item: !0, lg: 12 - o, md: 12, sm: 12, xs: 12, children: n }),
|
@@ -14868,7 +14868,7 @@ const M1 = ({
|
|
14868
14868
|
imageLargeBreakPoint: o = 12,
|
14869
14869
|
sx: r
|
14870
14870
|
}) => {
|
14871
|
-
const s =
|
14871
|
+
const s = at();
|
14872
14872
|
return /* @__PURE__ */ l(g.Fragment, { children: [
|
14873
14873
|
/* @__PURE__ */ t(L, { sx: { pb: 48, ...r }, children: /* @__PURE__ */ l(Qe, { container: !0, rowSpacing: 24, children: [
|
14874
14874
|
/* @__PURE__ */ t(
|
@@ -17152,7 +17152,7 @@ const M1 = ({
|
|
17152
17152
|
/* @__PURE__ */ t(
|
17153
17153
|
Bi,
|
17154
17154
|
{
|
17155
|
-
expandIcon: /* @__PURE__ */ t(
|
17155
|
+
expandIcon: /* @__PURE__ */ t(fa, { sx: { color: "text.primary" } }),
|
17156
17156
|
sx: { height: 64, p: "14px 24px" },
|
17157
17157
|
children: /* @__PURE__ */ l(b, { sx: { alignItems: "center", flexDirection: "row", gap: 12 }, children: [
|
17158
17158
|
/* @__PURE__ */ t(P, { name: E, size: 24 }),
|
@@ -17284,7 +17284,7 @@ const M1 = ({
|
|
17284
17284
|
{
|
17285
17285
|
type: "internal"
|
17286
17286
|
}
|
17287
|
-
],
|
17287
|
+
], Vi = ({
|
17288
17288
|
content: e,
|
17289
17289
|
hasIcon: n = !0,
|
17290
17290
|
institution: i = "",
|
@@ -17342,7 +17342,7 @@ const M1 = ({
|
|
17342
17342
|
children: [
|
17343
17343
|
o ? /* @__PURE__ */ t(he, {}) : /* @__PURE__ */ l(g.Fragment, { children: [
|
17344
17344
|
/* @__PURE__ */ t(
|
17345
|
-
|
17345
|
+
Vi,
|
17346
17346
|
{
|
17347
17347
|
hasIcon: !a,
|
17348
17348
|
institution: a,
|
@@ -17352,7 +17352,7 @@ const M1 = ({
|
|
17352
17352
|
}
|
17353
17353
|
),
|
17354
17354
|
/* @__PURE__ */ t(L, { sx: { px: 24 }, children: /* @__PURE__ */ t(
|
17355
|
-
|
17355
|
+
nt,
|
17356
17356
|
{
|
17357
17357
|
InputLabelProps: { shrink: !0 },
|
17358
17358
|
error: !i,
|
@@ -17417,7 +17417,7 @@ const M1 = ({
|
|
17417
17417
|
/* @__PURE__ */ t(
|
17418
17418
|
Bi,
|
17419
17419
|
{
|
17420
|
-
expandIcon: /* @__PURE__ */ t(
|
17420
|
+
expandIcon: /* @__PURE__ */ t(fa, { sx: { color: "text.primary" } }),
|
17421
17421
|
sx: { p: "14px 24px", height: 64 },
|
17422
17422
|
children: /* @__PURE__ */ l(b, { sx: { alignItems: "center", flexDirection: "row", gap: 12 }, children: [
|
17423
17423
|
/* @__PURE__ */ t(P, { name: o, size: 24 }),
|
@@ -17510,7 +17510,7 @@ const M1 = ({
|
|
17510
17510
|
title: e.request_support,
|
17511
17511
|
children: [
|
17512
17512
|
/* @__PURE__ */ t(
|
17513
|
-
|
17513
|
+
Vi,
|
17514
17514
|
{
|
17515
17515
|
content: e.popular_topics_missing_institution_content,
|
17516
17516
|
hasIcon: !1,
|
@@ -17520,7 +17520,7 @@ const M1 = ({
|
|
17520
17520
|
}
|
17521
17521
|
),
|
17522
17522
|
/* @__PURE__ */ t(b, { sx: { gap: 24, p: 24 }, children: h.map(({ label: E, name: y }) => /* @__PURE__ */ t(
|
17523
|
-
|
17523
|
+
nt,
|
17524
17524
|
{
|
17525
17525
|
InputLabelProps: { shrink: !0 },
|
17526
17526
|
error: !!c[y],
|
@@ -17603,7 +17603,7 @@ const M1 = ({
|
|
17603
17603
|
);
|
17604
17604
|
return /* @__PURE__ */ t(ae, { isOpen: n, onClose: a, title: e.request_support, children: /* @__PURE__ */ l(b, { children: [
|
17605
17605
|
/* @__PURE__ */ t(
|
17606
|
-
|
17606
|
+
Vi,
|
17607
17607
|
{
|
17608
17608
|
hasIcon: !1,
|
17609
17609
|
reverse: !0,
|
@@ -17653,7 +17653,7 @@ const M1 = ({
|
|
17653
17653
|
const { common: s } = x();
|
17654
17654
|
return /* @__PURE__ */ l(ae, { isOpen: i, onClose: a, title: e.request_support, children: [
|
17655
17655
|
/* @__PURE__ */ t(
|
17656
|
-
|
17656
|
+
Vi,
|
17657
17657
|
{
|
17658
17658
|
hasIcon: !1,
|
17659
17659
|
institution: n,
|
@@ -17764,7 +17764,7 @@ const M1 = ({
|
|
17764
17764
|
return /* @__PURE__ */ t(ae, { isOpen: n, onClose: i, title: e.request_support, children: !d || r ? /* @__PURE__ */ t(he, {}) : /* @__PURE__ */ l(g.Fragment, { children: [
|
17765
17765
|
/* @__PURE__ */ l(b, { children: [
|
17766
17766
|
/* @__PURE__ */ t(
|
17767
|
-
|
17767
|
+
Vi,
|
17768
17768
|
{
|
17769
17769
|
subtitle: e.request_support_short_content,
|
17770
17770
|
title: e.request_support_title
|
@@ -17981,7 +17981,7 @@ const M1 = ({
|
|
17981
17981
|
justifyContent: "flex-end"
|
17982
17982
|
}
|
17983
17983
|
},
|
17984
|
-
children: /* @__PURE__ */ t(b, { children: /* @__PURE__ */ t(
|
17984
|
+
children: /* @__PURE__ */ t(b, { children: /* @__PURE__ */ t(nt, { onChange: (c) => s(c.target.value), sx: { width: 352 }, value: r }) })
|
17985
17985
|
}
|
17986
17986
|
);
|
17987
17987
|
}
|
@@ -18051,7 +18051,7 @@ const M1 = ({
|
|
18051
18051
|
)
|
18052
18052
|
] });
|
18053
18053
|
}), fC = () => {
|
18054
|
-
const e =
|
18054
|
+
const e = at(), { common: n, settings: i } = x(), { isDesktop: a, isMobile: o, isSmallMobile: r, isTablet: s } = Ee(), { config: c } = Fi(), { updateUser: d } = Ht(), { user: _ } = an(), [u, h] = g.useState(_.first_name), [m, C] = g.useState(_.last_name), [f, E] = g.useState(_.email), [y, S] = g.useState(_.phone), [w, v] = g.useState(_.postal_code), [I, R] = g.useState(_.credit_score), [D, H] = g.useState(null), O = f && !_.email_is_verified, M = y && !_.phone_is_verified;
|
18055
18055
|
g.useEffect(() => {
|
18056
18056
|
if (_.birthday) {
|
18057
18057
|
const U = new Date(_.birthday * 1e3), X = U.getUTCFullYear(), fe = U.getUTCMonth(), $ = U.getUTCDate();
|
@@ -18094,7 +18094,7 @@ const M1 = ({
|
|
18094
18094
|
sx: { mb: 44, pt: 32 },
|
18095
18095
|
children: [
|
18096
18096
|
/* @__PURE__ */ t(
|
18097
|
-
|
18097
|
+
nt,
|
18098
18098
|
{
|
18099
18099
|
defaultValue: u,
|
18100
18100
|
label: i.first_name,
|
@@ -18102,7 +18102,7 @@ const M1 = ({
|
|
18102
18102
|
}
|
18103
18103
|
),
|
18104
18104
|
/* @__PURE__ */ t(
|
18105
|
-
|
18105
|
+
nt,
|
18106
18106
|
{
|
18107
18107
|
defaultValue: m,
|
18108
18108
|
label: i.last_name,
|
@@ -18115,7 +18115,7 @@ const M1 = ({
|
|
18115
18115
|
/* @__PURE__ */ l(b, { direction: o ? "column" : "row", children: [
|
18116
18116
|
c.display_email_edit_field_in_settings && /* @__PURE__ */ l(b, { sx: { mb: O ? 20 : 44, mr: o ? 0 : 24 }, children: [
|
18117
18117
|
/* @__PURE__ */ t(
|
18118
|
-
|
18118
|
+
nt,
|
18119
18119
|
{
|
18120
18120
|
defaultValue: f,
|
18121
18121
|
label: i.email_address,
|
@@ -18126,7 +18126,7 @@ const M1 = ({
|
|
18126
18126
|
] }),
|
18127
18127
|
c.display_sms_edit_field_in_settings && /* @__PURE__ */ l(b, { sx: { mb: M ? 20 : 44 }, children: [
|
18128
18128
|
/* @__PURE__ */ t(
|
18129
|
-
|
18129
|
+
nt,
|
18130
18130
|
{
|
18131
18131
|
defaultValue: y,
|
18132
18132
|
label: i.mobile_number,
|
@@ -18139,7 +18139,7 @@ const M1 = ({
|
|
18139
18139
|
] }),
|
18140
18140
|
/* @__PURE__ */ l(b, { direction: o ? "column" : "row", spacing: o ? 44 : 24, sx: { mb: 44 }, children: [
|
18141
18141
|
/* @__PURE__ */ t(Nn, { dateAdapter: gn, children: /* @__PURE__ */ t(
|
18142
|
-
|
18142
|
+
ba,
|
18143
18143
|
{
|
18144
18144
|
label: i.birthdate,
|
18145
18145
|
onChange: H,
|
@@ -18168,7 +18168,7 @@ const M1 = ({
|
|
18168
18168
|
}
|
18169
18169
|
) }),
|
18170
18170
|
/* @__PURE__ */ t(
|
18171
|
-
|
18171
|
+
nt,
|
18172
18172
|
{
|
18173
18173
|
defaultValue: w,
|
18174
18174
|
label: i.zip_code,
|
@@ -18178,7 +18178,7 @@ const M1 = ({
|
|
18178
18178
|
] }),
|
18179
18179
|
/* @__PURE__ */ l(b, { children: [
|
18180
18180
|
/* @__PURE__ */ t(
|
18181
|
-
|
18181
|
+
nt,
|
18182
18182
|
{
|
18183
18183
|
defaultValue: I,
|
18184
18184
|
label: i.credit_score,
|
@@ -18516,7 +18516,7 @@ const yC = ({
|
|
18516
18516
|
),
|
18517
18517
|
/* @__PURE__ */ t(p, { truncate: !1, variant: "Small", children: c.mobile_devices_access_info_2 })
|
18518
18518
|
] }),
|
18519
|
-
e === lt.Edit && /* @__PURE__ */ t(b, { children: /* @__PURE__ */ t(
|
18519
|
+
e === lt.Edit && /* @__PURE__ */ t(b, { children: /* @__PURE__ */ t(nt, { onChange: (w) => C(w.target.value), value: m }) }),
|
18520
18520
|
e === lt.Delete && /* @__PURE__ */ t(Oe, { children: c.mobile_devices_delete_info })
|
18521
18521
|
]
|
18522
18522
|
}
|
@@ -18648,7 +18648,7 @@ const yC = ({
|
|
18648
18648
|
path: { fill: o.palette.secondary.darker }
|
18649
18649
|
},
|
18650
18650
|
children: /* @__PURE__ */ t(
|
18651
|
-
|
18651
|
+
nt,
|
18652
18652
|
{
|
18653
18653
|
onChange: (m) => _(m.target.value),
|
18654
18654
|
sx: { width: 352 },
|
@@ -19132,7 +19132,6 @@ const el = A(
|
|
19132
19132
|
assets_prefix: "/assets",
|
19133
19133
|
bundle: "widgetLoader",
|
19134
19134
|
client_guid: "",
|
19135
|
-
is_mobile_webview: !1,
|
19136
19135
|
dashboard_accounts_index: 6,
|
19137
19136
|
dashboard_accounts_location: 0,
|
19138
19137
|
dashboard_activity_index: 2,
|
@@ -19170,6 +19169,7 @@ const el = A(
|
|
19170
19169
|
enable_mark_account_duplicate_for_held_accounts: !0,
|
19171
19170
|
enable_renaming_home_accounts: !0,
|
19172
19171
|
enable_support_requests: !0,
|
19172
|
+
is_mobile_webview: !1,
|
19173
19173
|
language: "en-US",
|
19174
19174
|
product_name: "Money Dashboard",
|
19175
19175
|
session_token: "",
|
@@ -19219,6 +19219,7 @@ const el = A(
|
|
19219
19219
|
brokaw_websocket_url: "",
|
19220
19220
|
bundle: "widgetLoader",
|
19221
19221
|
custom_copy_namespace: "",
|
19222
|
+
is_mobile_webview: !1,
|
19222
19223
|
language: "en-US",
|
19223
19224
|
product_name: "Master Widget",
|
19224
19225
|
session_token: "",
|
@@ -19262,7 +19263,7 @@ const MC = (e) => {
|
|
19262
19263
|
name: e.description,
|
19263
19264
|
recurrenceDay: e.recurrence_day,
|
19264
19265
|
repeatingTransactionGuid: e.guid,
|
19265
|
-
status:
|
19266
|
+
status: it.Upcoming,
|
19266
19267
|
type: e.repeating_transaction_type === ln.Income ? Xt.Income : Xt.Expense,
|
19267
19268
|
transaction: void 0
|
19268
19269
|
}, r = We(de()), s = Mt(de(), 30);
|
@@ -19293,7 +19294,7 @@ const MC = (e) => {
|
|
19293
19294
|
const d = e.transactions.find(
|
19294
19295
|
(_) => _.repeating_transaction_guid === e.guid && _.date > ke(dt(c.expectedDate, 5)) && _.date < ke(Mt(c.expectedDate, 5))
|
19295
19296
|
);
|
19296
|
-
d ? (c.transaction = d, c.status =
|
19297
|
+
d ? (c.transaction = d, c.status = it.Paid, c.occurredOnDate = Ge(d.date)) : we(c.expectedDate, dt(de(), 3)) && (c.status = it.Missed);
|
19297
19298
|
}
|
19298
19299
|
return n;
|
19299
19300
|
}, GC = (e, n, i) => {
|
@@ -19313,7 +19314,7 @@ const MC = (e) => {
|
|
19313
19314
|
}
|
19314
19315
|
return a;
|
19315
19316
|
}, PC = (e) => {
|
19316
|
-
const n = [], i =
|
19317
|
+
const n = [], i = ta(de(), e.recurrenceDay);
|
19317
19318
|
return n.push({ ...e, expectedDate: i }), n.push({ ...e, expectedDate: mt(i, 1) }), n;
|
19318
19319
|
}, HC = (e, n, i) => {
|
19319
19320
|
const a = [], o = e.expectedDate;
|
@@ -19409,12 +19410,12 @@ class KC {
|
|
19409
19410
|
}
|
19410
19411
|
get paidRecurrences() {
|
19411
19412
|
return this.recurrences.filter(
|
19412
|
-
(n) => n.status ===
|
19413
|
+
(n) => n.status === it.Paid
|
19413
19414
|
);
|
19414
19415
|
}
|
19415
19416
|
get upcomingRecurrences() {
|
19416
19417
|
return this.recurrences.filter(
|
19417
|
-
(n) => n.status ===
|
19418
|
+
(n) => n.status === it.Upcoming
|
19418
19419
|
);
|
19419
19420
|
}
|
19420
19421
|
get expenses() {
|
@@ -19424,12 +19425,12 @@ class KC {
|
|
19424
19425
|
}
|
19425
19426
|
get paidExpenses() {
|
19426
19427
|
return this.expenses.filter(
|
19427
|
-
(n) => n.status ===
|
19428
|
+
(n) => n.status === it.Paid
|
19428
19429
|
);
|
19429
19430
|
}
|
19430
19431
|
get missedExpenses() {
|
19431
19432
|
return this.expenses.filter(
|
19432
|
-
(n) => n.status ===
|
19433
|
+
(n) => n.status === it.Missed
|
19433
19434
|
);
|
19434
19435
|
}
|
19435
19436
|
get income() {
|
@@ -19439,12 +19440,12 @@ class KC {
|
|
19439
19440
|
}
|
19440
19441
|
get paidIncome() {
|
19441
19442
|
return this.income.filter(
|
19442
|
-
(n) => n.status ===
|
19443
|
+
(n) => n.status === it.Paid
|
19443
19444
|
);
|
19444
19445
|
}
|
19445
19446
|
get upcomingIncome() {
|
19446
19447
|
return this.income.filter(
|
19447
|
-
(n) => n.status ===
|
19448
|
+
(n) => n.status === it.Upcoming
|
19448
19449
|
);
|
19449
19450
|
}
|
19450
19451
|
get expenseTotal() {
|
@@ -19559,10 +19560,6 @@ class zC {
|
|
19559
19560
|
get appConfig() {
|
19560
19561
|
return this.globalStore.appConfig;
|
19561
19562
|
}
|
19562
|
-
get isMobileWebview() {
|
19563
|
-
const n = this.appData?.appConfig?.config;
|
19564
|
-
return n?.is_mobile_webview !== void 0 ? !!n.is_mobile_webview : !!this.globalStore.appConfig.config.is_mobile_webview;
|
19565
|
-
}
|
19566
19563
|
get clientCommunicationProfile() {
|
19567
19564
|
return this.appData.client_communication_profile;
|
19568
19565
|
}
|
@@ -19605,7 +19602,7 @@ class YC {
|
|
19605
19602
|
constructor(n) {
|
19606
19603
|
this.globalStore = n, this.widgetApi = new fr(n.endpoint, n.sessionToken), He(this);
|
19607
19604
|
}
|
19608
|
-
loadWidget = async ({ widget: n = "connect_widget", mode: i = "
|
19605
|
+
loadWidget = async ({ widget: n = "connect_widget", mode: i = "dark", ...a }) => await this.widgetApi.requestWidgetUrl({
|
19609
19606
|
widget_url: { widget_type: n, color_scheme: i, ...a }
|
19610
19607
|
});
|
19611
19608
|
}
|
@@ -19786,7 +19783,7 @@ const Za = ({
|
|
19786
19783
|
},
|
19787
19784
|
primaryText: d.is_hidden ? h.unhide_account : h.hide_Account,
|
19788
19785
|
secondaryText: d.is_hidden ? h.include_this_account : h.exclude_this_account,
|
19789
|
-
children: /* @__PURE__ */ t(
|
19786
|
+
children: /* @__PURE__ */ t(pa, { checked: d.is_hidden })
|
19790
19787
|
}
|
19791
19788
|
),
|
19792
19789
|
/* @__PURE__ */ t(
|
@@ -20043,7 +20040,7 @@ const Za = ({
|
|
20043
20040
|
} = ge(), { selectedMember: a } = $t(), { accounts: o, connect: r } = x(), s = tl(a, r), c = Vs.includes(a.connection_status) ? {
|
20044
20041
|
color: "error.main",
|
20045
20042
|
ctaCopy: s.cta ?? "",
|
20046
|
-
icon: /* @__PURE__ */ t(
|
20043
|
+
icon: /* @__PURE__ */ t(Sa, { sx: { ...Qa } }),
|
20047
20044
|
mainMessage: s.statusName,
|
20048
20045
|
secondaryMessage: `${s.title}.`
|
20049
20046
|
} : {
|
@@ -20131,7 +20128,7 @@ const Za = ({
|
|
20131
20128
|
onChange: (y) => c(y.target.value),
|
20132
20129
|
placeholder: e.placeholder,
|
20133
20130
|
value: s,
|
20134
|
-
children: e.options?.map((y) => /* @__PURE__ */ t(
|
20131
|
+
children: e.options?.map((y) => /* @__PURE__ */ t(ya, { value: y.value, children: y.label }, y.value))
|
20135
20132
|
}
|
20136
20133
|
)
|
20137
20134
|
] });
|
@@ -20172,7 +20169,7 @@ const Za = ({
|
|
20172
20169
|
) });
|
20173
20170
|
default:
|
20174
20171
|
return /* @__PURE__ */ t(
|
20175
|
-
|
20172
|
+
nt,
|
20176
20173
|
{
|
20177
20174
|
defaultValue: o[e.name],
|
20178
20175
|
error: !!d,
|
@@ -20273,7 +20270,7 @@ const Za = ({
|
|
20273
20270
|
children: /* @__PURE__ */ l(
|
20274
20271
|
In,
|
20275
20272
|
{
|
20276
|
-
icon: /* @__PURE__ */ t(
|
20273
|
+
icon: /* @__PURE__ */ t(Sa, {}),
|
20277
20274
|
severity: "error",
|
20278
20275
|
sx: {
|
20279
20276
|
borderLeft: 5,
|
@@ -20560,10 +20557,12 @@ const Za = ({
|
|
20560
20557
|
}
|
20561
20558
|
) : /* @__PURE__ */ t(he, {});
|
20562
20559
|
}, g4 = A(mf), pf = ({ onPrimaryCtaClick: e, sx: n }) => {
|
20563
|
-
const { visibleAccounts: i } = ve(), { accounts: a } = x(), { isCopyLoaded: o, isInitialized: r, selectedAccounts: s, setSelectedAccounts: c } = _e();
|
20560
|
+
const { visibleAccounts: i } = ve(), { accounts: a } = x(), { isCopyLoaded: o, isInitialized: r, selectedAccounts: s, setSelectedAccounts: c } = _e(), { appConfig: d } = Wi();
|
20564
20561
|
return g.useEffect(() => {
|
20565
20562
|
c(i);
|
20566
|
-
}, [i]),
|
20563
|
+
}, [i]), g.useEffect(() => {
|
20564
|
+
d && console.log("appconfig: ", d);
|
20565
|
+
}, [d]), o ? /* @__PURE__ */ t(
|
20567
20566
|
Dn,
|
20568
20567
|
{
|
20569
20568
|
className: "mx-exp-accounts-miniwidget",
|
@@ -20573,19 +20572,19 @@ const Za = ({
|
|
20573
20572
|
title: a.mini_title,
|
20574
20573
|
children: r ? /* @__PURE__ */ l(ne, { children: [
|
20575
20574
|
s.length === 0 && /* @__PURE__ */ t(j, { sx: { justifyContent: "center" }, children: a.no_accounts }),
|
20576
|
-
s.map((
|
20577
|
-
const
|
20575
|
+
s.map((_, u) => {
|
20576
|
+
const h = s.indexOf(_) === s.length - 1;
|
20578
20577
|
return /* @__PURE__ */ l(g.Fragment, { children: [
|
20579
20578
|
/* @__PURE__ */ t(
|
20580
20579
|
Di,
|
20581
20580
|
{
|
20582
|
-
account:
|
20581
|
+
account: _,
|
20583
20582
|
listItemProps: { sx: { px: 24 } },
|
20584
20583
|
shouldShowConnectionStatus: !0
|
20585
20584
|
}
|
20586
20585
|
),
|
20587
|
-
!
|
20588
|
-
] }, `account-item${
|
20586
|
+
!h && /* @__PURE__ */ t(k, { "aria-hidden": "true", variant: "inset" })
|
20587
|
+
] }, `account-item${u}`);
|
20589
20588
|
})
|
20590
20589
|
] }) : /* @__PURE__ */ t(he, {})
|
20591
20590
|
}
|
@@ -21764,7 +21763,7 @@ const Hf = ({
|
|
21764
21763
|
}
|
21765
21764
|
) : /* @__PURE__ */ t(he, {});
|
21766
21765
|
}, f4 = A(Wf), Uf = A(() => {
|
21767
|
-
const { budgets: e } = x(), { totalBudgeted: n } = ut(), { projectedIncome: i } =
|
21766
|
+
const { budgets: e } = x(), { totalBudgeted: n } = ut(), { projectedIncome: i } = tt(), a = i - n;
|
21768
21767
|
return /* @__PURE__ */ l(b, { direction: "row", justifyContent: "center", my: 16, spacing: 20, children: [
|
21769
21768
|
/* @__PURE__ */ l(b, { alignItems: "center", children: [
|
21770
21769
|
/* @__PURE__ */ t(p, { bold: !0, variant: "Body", children: B(i, "0,0") }),
|
@@ -21825,7 +21824,7 @@ const Hf = ({
|
|
21825
21824
|
categoryName: n,
|
21826
21825
|
onAmountChanged: i
|
21827
21826
|
}) => {
|
21828
|
-
const { budgets: a } = x(), { totalBudgeted: o } = ut(), { projectedIncome: r } =
|
21827
|
+
const { budgets: a } = x(), { totalBudgeted: o } = ut(), { projectedIncome: r } = tt(), s = r - o;
|
21829
21828
|
return /* @__PURE__ */ l(b, { gap: 16, children: [
|
21830
21829
|
/* @__PURE__ */ l(b, { children: [
|
21831
21830
|
/* @__PURE__ */ t(p, { children: T(
|
@@ -22258,7 +22257,7 @@ const Hf = ({
|
|
22258
22257
|
] }, r.guid)) }) })
|
22259
22258
|
] });
|
22260
22259
|
}), n0 = A(() => {
|
22261
|
-
const e = ge(), { onEvent: n } = z(), { visibleAccounts: i } = ve(), { budgets: a, common: o, recurring: r } = x(), { incomeCategories: s, spendCategories: c } = Ke(), { detailedBudgets: d, totalBudgeted: _ } = ut(), { projectedIncome: u } =
|
22260
|
+
const e = ge(), { onEvent: n } = z(), { visibleAccounts: i } = ve(), { budgets: a, common: o, recurring: r } = x(), { incomeCategories: s, spendCategories: c } = Ke(), { detailedBudgets: d, totalBudgeted: _ } = ut(), { projectedIncome: u } = tt(), { setFilter: h } = Te(), [m, C] = g.useState(!1), [f, E] = g.useMemo(() => {
|
22262
22261
|
const v = c.reduce((H, O) => H + O.totalAmount, 0);
|
22263
22262
|
let I = v / _;
|
22264
22263
|
I > 1 && (I = 1);
|
@@ -22350,7 +22349,7 @@ const Hf = ({
|
|
22350
22349
|
setAlert: S,
|
22351
22350
|
setTheme: w,
|
22352
22351
|
budgets: v
|
22353
|
-
} = ut(), { loadActivity: I } =
|
22352
|
+
} = ut(), { loadActivity: I } = tt(), { isDesktop: R, isTablet: D } = Ee(), { reloadCategoryTotals: H } = Ke(), [O, M] = g.useState(!1);
|
22354
22353
|
g.useEffect(() => {
|
22355
22354
|
w(i), h(o), u(C.start, C.end), a(W.BUDGETS_VIEW);
|
22356
22355
|
}, []), g.useEffect(() => {
|
@@ -22458,7 +22457,7 @@ const Hf = ({
|
|
22458
22457
|
}), i0 = A(() => {
|
22459
22458
|
const e = ge(), {
|
22460
22459
|
appDataStore: { banner: n, loadBanner: i, user: a }
|
22461
|
-
} =
|
22460
|
+
} = Wi();
|
22462
22461
|
return g.useEffect(() => {
|
22463
22462
|
i().finally();
|
22464
22463
|
}, [a]), n?.image_url ? /* @__PURE__ */ t(
|
@@ -22582,20 +22581,20 @@ const Hf = ({
|
|
22582
22581
|
] })
|
22583
22582
|
] }) });
|
22584
22583
|
}, s0 = A(r0);
|
22585
|
-
var
|
22584
|
+
var Ji = /* @__PURE__ */ ((e) => (e[e.Main = 0] = "Main", e[e.RightSide = 1] = "RightSide", e[e.Disabled = 2] = "Disabled", e))(Ji || {});
|
22586
22585
|
const c0 = ({ widgets: e, isLoading: n }) => {
|
22587
|
-
const { isDesktop: i, isMobile: a } = Ee(), { copyStore: o } =
|
22586
|
+
const { isDesktop: i, isMobile: a } = Ee(), { copyStore: o } = Wi(), { setSelectedAccounts: r } = _e(), { visibleAccounts: s } = ve();
|
22588
22587
|
g.useEffect(() => {
|
22589
22588
|
r(s);
|
22590
22589
|
}, [s]);
|
22591
22590
|
const c = g.useMemo(
|
22592
|
-
() => e.filter((u) => u.location !==
|
22591
|
+
() => e.filter((u) => u.location !== Ji.Disabled).sort((u, h) => u.index - h.index),
|
22593
22592
|
[e]
|
22594
22593
|
), d = g.useMemo(
|
22595
|
-
() => c.filter((u) => u.location ===
|
22594
|
+
() => c.filter((u) => u.location === Ji.Main),
|
22596
22595
|
[c]
|
22597
22596
|
), _ = g.useMemo(
|
22598
|
-
() => c.filter((u) => u.location ===
|
22597
|
+
() => c.filter((u) => u.location === Ji.RightSide),
|
22599
22598
|
[c]
|
22600
22599
|
);
|
22601
22600
|
return /* @__PURE__ */ l(jt, { container: !0, spacing: a ? 0 : 24, sx: { overflow: "scroll" }, children: [
|
@@ -22664,7 +22663,7 @@ const c0 = ({ widgets: e, isLoading: n }) => {
|
|
22664
22663
|
return a.map((s) => {
|
22665
22664
|
const c = e.reduce((d, _) => {
|
22666
22665
|
const u = _.name;
|
22667
|
-
return u.toLowerCase() === s ? (o = u,
|
22666
|
+
return u.toLowerCase() === s ? (o = u, ea(_) * _[n] / 100 + d) : d;
|
22668
22667
|
}, 0);
|
22669
22668
|
return {
|
22670
22669
|
displayName: o,
|
@@ -22673,13 +22672,13 @@ const c0 = ({ widgets: e, isLoading: n }) => {
|
|
22673
22672
|
percentage: c / i
|
22674
22673
|
};
|
22675
22674
|
});
|
22676
|
-
},
|
22675
|
+
}, ea = (e) => e.calculated_market_value ? e.calculated_market_value : e.market_value, h0 = (e, n, i) => {
|
22677
22676
|
const a = Object.values(n.allocations_list), o = [];
|
22678
22677
|
let r = 0;
|
22679
22678
|
const s = e.map(({ guid: f }) => f), c = i.filter(({ account_guid: f }) => s.includes(f)).map((f) => ({
|
22680
22679
|
...f,
|
22681
22680
|
name: f.symbol || f.description,
|
22682
|
-
gainLoss: f.cost_basis || f.cost_basis === 0 ?
|
22681
|
+
gainLoss: f.cost_basis || f.cost_basis === 0 ? ea(f) - f.cost_basis : 0
|
22683
22682
|
})), { cashBalance: d, totalAccountBalance: _ } = e.reduce(
|
22684
22683
|
(f, E) => ({
|
22685
22684
|
cashBalance: f.cashBalance + (E.cash_balance || 0),
|
@@ -22688,7 +22687,7 @@ const c0 = ({ widgets: e, isLoading: n }) => {
|
|
22688
22687
|
{ cashBalance: 0, totalAccountBalance: 0 }
|
22689
22688
|
), { marketValue: u, totalGainLoss: h } = c.reduce(
|
22690
22689
|
(f, E) => ({
|
22691
|
-
marketValue: f.marketValue +
|
22690
|
+
marketValue: f.marketValue + ea(E),
|
22692
22691
|
totalGainLoss: f.totalGainLoss + E.gainLoss
|
22693
22692
|
}),
|
22694
22693
|
{ marketValue: 0, totalGainLoss: 0 }
|
@@ -22698,7 +22697,7 @@ const c0 = ({ widgets: e, isLoading: n }) => {
|
|
22698
22697
|
(v) => !!v[f.name]
|
22699
22698
|
);
|
22700
22699
|
let S = y.reduce(
|
22701
|
-
(v, I) => v +
|
22700
|
+
(v, I) => v + ea(I) * I[f.name] / 100,
|
22702
22701
|
0
|
22703
22702
|
);
|
22704
22703
|
const w = _0(
|
@@ -23056,7 +23055,7 @@ const c0 = ({ widgets: e, isLoading: n }) => {
|
|
23056
23055
|
), E0 = () => {
|
23057
23056
|
const {
|
23058
23057
|
investments: { analysis: e }
|
23059
|
-
} = x(), { analysisChartData: n, analysisDetails: i, analysisType: a, setAnalysisType: o } = wi(), r = bn("(min-width:320px) and (max-width:375px)"), { isMobile: s } = Ee(), d =
|
23058
|
+
} = x(), { analysisChartData: n, analysisDetails: i, analysisType: a, setAnalysisType: o } = wi(), r = bn("(min-width:320px) and (max-width:375px)"), { isMobile: s } = Ee(), d = at().palette.mode === "dark", { cellDimension: _, columns: u, rows: h, textVariant: m } = g.useMemo(() => {
|
23060
23059
|
const C = a === Pn.Stocks, f = Object.values(C ? e.stock_column_labels : e.bond_column_labels), E = Object.values(C ? e.stock_row_labels : e.bond_row_labels);
|
23061
23060
|
return { cellDimension: s ? 72 : 100, columns: f, rows: E, textVariant: s ? "XSmall" : "Body" };
|
23062
23061
|
}, [e, s, a]);
|
@@ -23194,7 +23193,7 @@ const c0 = ({ widgets: e, isLoading: n }) => {
|
|
23194
23193
|
}
|
23195
23194
|
)
|
23196
23195
|
] });
|
23197
|
-
}, S0 = A(E0),
|
23196
|
+
}, S0 = A(E0), qi = (e) => /* @__PURE__ */ l(ye, { sx: { alignItems: "center", flexDirection: "row", gap: 4 }, children: [
|
23198
23197
|
/* @__PURE__ */ t(p, { sx: { color: "text.primary", fontWeight: 600, fontSize: 14 }, variant: "Small", children: e.colDef.headerName }),
|
23199
23198
|
/* @__PURE__ */ t(gt, { name: "expand_all", size: 12 })
|
23200
23199
|
] }), T0 = ({
|
@@ -23467,7 +23466,7 @@ const c0 = ({ widgets: e, isLoading: n }) => {
|
|
23467
23466
|
field: "holding",
|
23468
23467
|
headerName: f.overview.holding_header,
|
23469
23468
|
flex: 1,
|
23470
|
-
renderHeader:
|
23469
|
+
renderHeader: qi,
|
23471
23470
|
renderCell: (V) => /* @__PURE__ */ t(Se, { sx: { alignItems: "center", gap: 16, flexDirection: "row" }, children: /* @__PURE__ */ l(Se, { children: [
|
23472
23471
|
/* @__PURE__ */ t(p, { sx: { color: "text.primary", fontWeight: 700 }, children: V.row.holding }),
|
23473
23472
|
/* @__PURE__ */ t(p, { sx: { color: "text.secondary", fontWeight: 400 }, variant: "tiny", children: V.row.description })
|
@@ -23477,12 +23476,12 @@ const c0 = ({ widgets: e, isLoading: n }) => {
|
|
23477
23476
|
field: "costBasis",
|
23478
23477
|
headerName: f.overview.cost_basis_header,
|
23479
23478
|
width: 132,
|
23480
|
-
renderHeader:
|
23479
|
+
renderHeader: qi,
|
23481
23480
|
renderCell: (V) => {
|
23482
23481
|
const pe = Re === V.row.id;
|
23483
23482
|
return /* @__PURE__ */ l(Se, { sx: { alignItems: "center", flexDirection: "row", gap: 4 }, children: [
|
23484
23483
|
pe ? /* @__PURE__ */ t(
|
23485
|
-
|
23484
|
+
nt,
|
23486
23485
|
{
|
23487
23486
|
autoFocus: !0,
|
23488
23487
|
onBlur: () => ct(V.row.id),
|
@@ -23527,7 +23526,7 @@ const c0 = ({ widgets: e, isLoading: n }) => {
|
|
23527
23526
|
field: "totalGainLoss",
|
23528
23527
|
headerName: f.overview.total_gain_loss_header,
|
23529
23528
|
width: 196,
|
23530
|
-
renderHeader:
|
23529
|
+
renderHeader: qi,
|
23531
23530
|
renderCell: (V) => {
|
23532
23531
|
const pe = V.row.costBasis, Me = pe ? V.row.totalGainLoss / pe * 100 : 0;
|
23533
23532
|
return /* @__PURE__ */ l(Se, { sx: { alignItems: "center", flexDirection: "row", gap: 2 }, children: [
|
@@ -23581,7 +23580,7 @@ const c0 = ({ widgets: e, isLoading: n }) => {
|
|
23581
23580
|
field: "marketValue",
|
23582
23581
|
headerName: f.overview.market_value_header,
|
23583
23582
|
width: 132,
|
23584
|
-
renderHeader:
|
23583
|
+
renderHeader: qi,
|
23585
23584
|
renderCell: (V) => /* @__PURE__ */ t(p, { sx: { fontWeight: 700 }, variant: "Small", children: V.value?.toLocaleString("en-US", {
|
23586
23585
|
currency: "USD",
|
23587
23586
|
maximumFractionDigits: 2,
|
@@ -24264,12 +24263,12 @@ class R0 {
|
|
24264
24263
|
});
|
24265
24264
|
};
|
24266
24265
|
}
|
24267
|
-
const
|
24266
|
+
const Ki = g.createContext(null), O0 = ({
|
24268
24267
|
onEvent: e,
|
24269
24268
|
onPageview: n,
|
24270
24269
|
store: i,
|
24271
24270
|
children: a
|
24272
|
-
}) => /* @__PURE__ */ t(
|
24271
|
+
}) => /* @__PURE__ */ t(Ki.Provider, { value: { onEvent: e, onPageview: n, store: i, children: a }, children: a }), ka = g.forwardRef(
|
24273
24272
|
function({
|
24274
24273
|
actionText: n,
|
24275
24274
|
ariaLabel: i,
|
@@ -25254,24 +25253,24 @@ const Vi = g.createContext(null), O0 = ({
|
|
25254
25253
|
}
|
25255
25254
|
);
|
25256
25255
|
}, Vn = () => {
|
25257
|
-
const e = g.useContext(
|
25256
|
+
const e = g.useContext(Ki);
|
25258
25257
|
if (!e)
|
25259
25258
|
throw new Error("useCopyStore() must be used within the InsightsMicroWidgetDataProvider");
|
25260
25259
|
return e.store.copyStore;
|
25261
25260
|
}, F0 = () => {
|
25262
|
-
const e = g.useContext(
|
25261
|
+
const e = g.useContext(Ki);
|
25263
25262
|
if (!e?.store?.insightsMicroWidgetStore)
|
25264
25263
|
throw new Error(
|
25265
25264
|
"useInsightsMicroWidgetStore() must be used within the InsightsMicroWidgetDataProvider"
|
25266
25265
|
);
|
25267
25266
|
return e.store.insightsMicroWidgetStore;
|
25268
|
-
},
|
25269
|
-
const e = g.useContext(
|
25267
|
+
}, zi = () => {
|
25268
|
+
const e = g.useContext(Ki);
|
25270
25269
|
if (!e)
|
25271
25270
|
throw new Error("useEvent() must be used within the InsightsMicroWidgetDataProvider");
|
25272
25271
|
return { onEvent: e.onEvent };
|
25273
25272
|
}, dl = () => {
|
25274
|
-
const e = g.useContext(
|
25273
|
+
const e = g.useContext(Ki);
|
25275
25274
|
if (!e)
|
25276
25275
|
throw new Error("usePageview() must be used within the InsightsMicroWidgetDataProvider");
|
25277
25276
|
return { onPageview: e.onPageview };
|
@@ -25297,7 +25296,7 @@ const Vi = g.createContext(null), O0 = ({
|
|
25297
25296
|
}) => {
|
25298
25297
|
const { ref: C, inView: f } = $s({
|
25299
25298
|
threshold: _l
|
25300
|
-
}), { cardsCopy: E } = Vn(), { onEvent: y } =
|
25299
|
+
}), { cardsCopy: E } = Vn(), { onEvent: y } = zi(), { updateBeat: S, updateOffer: w } = F0();
|
25301
25300
|
zn(() => {
|
25302
25301
|
f && (i.has_been_displayed ? y(rl(i.template)) : (i.guid.startsWith("OFR") ? w({
|
25303
25302
|
...i,
|
@@ -25375,7 +25374,7 @@ const Vi = g.createContext(null), O0 = ({
|
|
25375
25374
|
scrollRightBoundary: r,
|
25376
25375
|
scrollX: s
|
25377
25376
|
}) => {
|
25378
|
-
const c = K0(), d =
|
25377
|
+
const c = K0(), d = at(), { carouselCopy: _ } = Vn(), u = Math.floor(s) > r || n === 0, h = s < 0 || i - 1 === n, m = d.palette.grey[500], C = e?.primary_300 ?? d.palette.primary.main;
|
25379
25378
|
return /* @__PURE__ */ l(L, { className: c, children: [
|
25380
25379
|
/* @__PURE__ */ t(
|
25381
25380
|
Fe,
|
@@ -25412,7 +25411,7 @@ const Vi = g.createContext(null), O0 = ({
|
|
25412
25411
|
disabled: h,
|
25413
25412
|
onClick: a,
|
25414
25413
|
children: /* @__PURE__ */ t(
|
25415
|
-
|
25414
|
+
Ca,
|
25416
25415
|
{
|
25417
25416
|
style: {
|
25418
25417
|
color: h ? m : C
|
@@ -25452,7 +25451,7 @@ const Vi = g.createContext(null), O0 = ({
|
|
25452
25451
|
variant: _,
|
25453
25452
|
widthOverrides: u
|
25454
25453
|
}) => {
|
25455
|
-
const h = j0(a, d, u), m = g.useRef(null), [C, f] = g.useState(0), [E, y] = g.useState(null), [S, w] = g.useState(null), { carouselCopy: v } = Vn(), { onEvent: I } =
|
25454
|
+
const h = j0(a, d, u), m = g.useRef(null), [C, f] = g.useState(0), [E, y] = g.useState(null), [S, w] = g.useState(null), { carouselCopy: v } = Vn(), { onEvent: I } = zi(), R = () => {
|
25456
25455
|
I(Yt.ON_CAROUSEL_FORWARD_CLICK), m.current && m.current.scrollTo({
|
25457
25456
|
left: (
|
25458
25457
|
// Adds the flex gap to the carousel ref's width
|
@@ -25579,7 +25578,7 @@ const Vi = g.createContext(null), O0 = ({
|
|
25579
25578
|
posthog: i,
|
25580
25579
|
widthOverrides: a
|
25581
25580
|
}) => {
|
25582
|
-
const { carouselCopy: o } = Vn(), { onEvent: r } =
|
25581
|
+
const { carouselCopy: o } = Vn(), { onEvent: r } = zi(), s = () => {
|
25583
25582
|
r && (r(Yt.ON_VIEW_MORE_CLICKED), n(), i?.capture("clicked_view_more"));
|
25584
25583
|
};
|
25585
25584
|
return o ? /* @__PURE__ */ l(
|
@@ -25635,7 +25634,7 @@ const Vi = g.createContext(null), O0 = ({
|
|
25635
25634
|
children: o.view_all_insights_in_full_feed_cta_aria
|
25636
25635
|
}
|
25637
25636
|
),
|
25638
|
-
/* @__PURE__ */ t(
|
25637
|
+
/* @__PURE__ */ t(Ca, { sx: { color: e?.primary_300, ml: "8px" } })
|
25639
25638
|
]
|
25640
25639
|
}
|
25641
25640
|
)
|
@@ -25675,7 +25674,7 @@ const Vi = g.createContext(null), O0 = ({
|
|
25675
25674
|
variant: d,
|
25676
25675
|
widthOverrides: _
|
25677
25676
|
}) => {
|
25678
|
-
const { cardsCopy: u } = Vn(), { onEvent: h } =
|
25677
|
+
const { cardsCopy: u } = Vn(), { onEvent: h } = zi(), { onPageview: m } = dl();
|
25679
25678
|
g.useEffect(() => {
|
25680
25679
|
m(kn.MICRO_WIDGET_CAROUSEL_NO_RELEVANT_INSIGHTS);
|
25681
25680
|
}, []);
|
@@ -25799,7 +25798,7 @@ const Vi = g.createContext(null), O0 = ({
|
|
25799
25798
|
variant: v,
|
25800
25799
|
widthOverrides: I
|
25801
25800
|
}) => {
|
25802
|
-
const R =
|
25801
|
+
const R = at(), [D, H] = Et("STANDARD"), [O, M] = Et(!1), Q = Eu([d], fn), U = Su([_], fn);
|
25803
25802
|
g.useEffect(() => {
|
25804
25803
|
fn.isInitialized || fn.initialize(o, y, s);
|
25805
25804
|
}, [o, y, s, fn.isInitialized]), g.useEffect(() => {
|
@@ -25865,7 +25864,7 @@ const Vi = g.createContext(null), O0 = ({
|
|
25865
25864
|
}) => {
|
25866
25865
|
const _ = ge(), { ref: u, inView: h } = $s({
|
25867
25866
|
threshold: _l
|
25868
|
-
}), { cardsCopy: m } = Vn(), { onEvent: C } =
|
25867
|
+
}), { cardsCopy: m } = Vn(), { onEvent: C } = zi();
|
25869
25868
|
zn(() => {
|
25870
25869
|
h && (C(cl.ON_VIEW_MORE_VIEWED), r?.capture("viewed_insight", {
|
25871
25870
|
template: "view_more_card"
|
@@ -25943,7 +25942,7 @@ const Vi = g.createContext(null), O0 = ({
|
|
25943
25942
|
primaryTypographyProps: { fontWeight: 400 }
|
25944
25943
|
}
|
25945
25944
|
),
|
25946
|
-
e.recurrence_type === h.id && /* @__PURE__ */ t(
|
25945
|
+
e.recurrence_type === h.id && /* @__PURE__ */ t(ma, { color: "primary", filled: !0, size: 24 })
|
25947
25946
|
] }) }, h.id),
|
25948
25947
|
/* @__PURE__ */ t(k, {})
|
25949
25948
|
] }, h.id)) })
|
@@ -26202,7 +26201,7 @@ const Vi = g.createContext(null), O0 = ({
|
|
26202
26201
|
return /* @__PURE__ */ l(b, { sx: { bgcolor: e, gap: 16, pt: 8 }, children: [
|
26203
26202
|
n && /* @__PURE__ */ t(Oe, { sx: { mx: 24 }, children: n }),
|
26204
26203
|
/* @__PURE__ */ t(
|
26205
|
-
|
26204
|
+
Ui,
|
26206
26205
|
{
|
26207
26206
|
ariaLabel: o.select_transaction_search_aria,
|
26208
26207
|
cancelAriaLabel: o.select_transaction_search_cancel_aria,
|
@@ -26237,19 +26236,19 @@ const Vi = g.createContext(null), O0 = ({
|
|
26237
26236
|
];
|
26238
26237
|
g.useEffect(() => {
|
26239
26238
|
const u = Ge(s.date);
|
26240
|
-
r(
|
26239
|
+
r(sa(u)), o(Ne.EveryMonth);
|
26241
26240
|
}, [s]);
|
26242
26241
|
const _ = (u) => {
|
26243
26242
|
const h = Ge(s.date);
|
26244
26243
|
switch (Number(u.target.value)) {
|
26245
26244
|
case Ne.EveryWeek:
|
26246
|
-
r(
|
26245
|
+
r(Aa(h));
|
26247
26246
|
break;
|
26248
26247
|
case Ne.EveryOtherWeek:
|
26249
26248
|
r(js(h));
|
26250
26249
|
break;
|
26251
26250
|
case Ne.EveryMonth:
|
26252
|
-
r(
|
26251
|
+
r(sa(h));
|
26253
26252
|
break;
|
26254
26253
|
case Ne.EveryOtherMonth:
|
26255
26254
|
r(Xs(h));
|
@@ -26273,7 +26272,7 @@ const Vi = g.createContext(null), O0 = ({
|
|
26273
26272
|
] }),
|
26274
26273
|
/* @__PURE__ */ t(p, { bold: !0, sx: { mx: 24 }, variant: "Body", children: i ? c.income_schedule : c.expense_schedule }),
|
26275
26274
|
/* @__PURE__ */ t(
|
26276
|
-
|
26275
|
+
nt,
|
26277
26276
|
{
|
26278
26277
|
InputLabelProps: { shrink: !0 },
|
26279
26278
|
SelectProps: {
|
@@ -26286,11 +26285,11 @@ const Vi = g.createContext(null), O0 = ({
|
|
26286
26285
|
sx: { mx: 24 },
|
26287
26286
|
value: n,
|
26288
26287
|
variant: "outlined",
|
26289
|
-
children: d.map((u) => /* @__PURE__ */ t(
|
26288
|
+
children: d.map((u) => /* @__PURE__ */ t(ya, { value: u.id, children: u.label }, u.id))
|
26290
26289
|
}
|
26291
26290
|
),
|
26292
26291
|
/* @__PURE__ */ t(Nn, { dateAdapter: gn, children: /* @__PURE__ */ t(
|
26293
|
-
|
26292
|
+
ba,
|
26294
26293
|
{
|
26295
26294
|
disablePast: !0,
|
26296
26295
|
label: i ? c.income_date_label : c.expense_date_label,
|
@@ -26457,7 +26456,7 @@ const Vi = g.createContext(null), O0 = ({
|
|
26457
26456
|
filled: !0,
|
26458
26457
|
sx: { color: "categories.income", fontSize: n, ...Ga }
|
26459
26458
|
}
|
26460
|
-
) }), qo = ({ isOffset: e = !1, size: n = 16 }) => /* @__PURE__ */ t(Zt, { size: n, sx: { ...Ba(e) }, children: /* @__PURE__ */ t(Ls, { color: "error", filled: !0, sx: { fontSize: n, ...Ga } }) }), Zo = ({ isOffset: e = !1, size: n = 16 }) => /* @__PURE__ */ t(Zt, { size: n, sx: { ...Ba(e) }, children: /* @__PURE__ */ t(
|
26459
|
+
) }), qo = ({ isOffset: e = !1, size: n = 16 }) => /* @__PURE__ */ t(Zt, { size: n, sx: { ...Ba(e) }, children: /* @__PURE__ */ t(Ls, { color: "error", filled: !0, sx: { fontSize: n, ...Ga } }) }), Zo = ({ isOffset: e = !1, size: n = 16 }) => /* @__PURE__ */ t(Zt, { size: n, sx: { ...Ba(e) }, children: /* @__PURE__ */ t(ma, { color: "success", filled: !0, sx: { fontSize: n, ...Ga } }) }), lb = A(
|
26461
26460
|
({ day: e, outsideCurrentMonth: n, ...i }) => {
|
26462
26461
|
const { recurring: a } = x(), { selectedAccountGuids: o } = _e(), { recurrences: r, setSelectedDay: s } = Pt(), d = g.useMemo(
|
26463
26462
|
() => r.filter((f) => o.includes(f.accountGuid)),
|
@@ -26465,11 +26464,11 @@ const Vi = g.createContext(null), O0 = ({
|
|
26465
26464
|
).filter(
|
26466
26465
|
(f) => _t(f.occurredOnDate || f.expectedDate, e)
|
26467
26466
|
), _ = d.some(
|
26468
|
-
(f) => f.type !== Xt.Income && f.status ===
|
26467
|
+
(f) => f.type !== Xt.Income && f.status === it.Upcoming
|
26469
26468
|
), u = d.some(
|
26470
|
-
(f) => f.type !== Xt.Income && f.status ===
|
26469
|
+
(f) => f.type !== Xt.Income && f.status === it.Missed
|
26471
26470
|
), h = d.some(
|
26472
|
-
(f) => f.type !== Xt.Income && f.status ===
|
26471
|
+
(f) => f.type !== Xt.Income && f.status === it.Paid
|
26473
26472
|
), m = d.some((f) => f.type === Xt.Income), C = (_ ? 1 : 0) + (u ? 1 : 0) + (h ? 1 : 0) + (m ? 1 : 0);
|
26474
26473
|
return /* @__PURE__ */ t(
|
26475
26474
|
fo,
|
@@ -26512,7 +26511,7 @@ const Vi = g.createContext(null), O0 = ({
|
|
26512
26511
|
}
|
26513
26512
|
);
|
26514
26513
|
}
|
26515
|
-
),
|
26514
|
+
), Zi = ({ icon: e, label: n }) => /* @__PURE__ */ l(b, { alignItems: "center", flexDirection: "row", sx: { gap: 6 }, children: [
|
26516
26515
|
/* @__PURE__ */ t(e, {}),
|
26517
26516
|
/* @__PURE__ */ t(p, { variant: "XSmall", children: n })
|
26518
26517
|
] }), db = A(() => {
|
@@ -26527,18 +26526,18 @@ const Vi = g.createContext(null), O0 = ({
|
|
26527
26526
|
justifyContent: "center",
|
26528
26527
|
mt: 12,
|
26529
26528
|
children: [
|
26530
|
-
/* @__PURE__ */ t(
|
26531
|
-
/* @__PURE__ */ t(
|
26532
|
-
/* @__PURE__ */ t(
|
26533
|
-
/* @__PURE__ */ t(
|
26529
|
+
/* @__PURE__ */ t(Zi, { icon: jo, label: e.expense }),
|
26530
|
+
/* @__PURE__ */ t(Zi, { icon: Xo, label: e.income }),
|
26531
|
+
/* @__PURE__ */ t(Zi, { icon: qo, label: e.missed }),
|
26532
|
+
/* @__PURE__ */ t(Zi, { icon: Zo, label: e.paid })
|
26534
26533
|
]
|
26535
26534
|
}
|
26536
26535
|
);
|
26537
26536
|
}), Ss = 58, fl = A(() => {
|
26538
26537
|
const e = ge(), { onEvent: n } = z(), { selectedDay: i } = Pt(), [a, o] = g.useState(
|
26539
|
-
|
26538
|
+
oa(/* @__PURE__ */ new Date()) * _n + Ss
|
26540
26539
|
), r = (c) => {
|
26541
|
-
o(
|
26540
|
+
o(oa(c) * _n + Ss), n(W.RECURRING_TRANSACTIONS_CLICK_CALENDAR_RIGHT);
|
26542
26541
|
}, s = /* @__PURE__ */ t(
|
26543
26542
|
di,
|
26544
26543
|
{
|
@@ -26594,16 +26593,16 @@ const Vi = g.createContext(null), O0 = ({
|
|
26594
26593
|
if (e.type === Xt.Income)
|
26595
26594
|
return /* @__PURE__ */ t(Xo, {});
|
26596
26595
|
switch (e.status) {
|
26597
|
-
case
|
26596
|
+
case it.Missed:
|
26598
26597
|
return /* @__PURE__ */ t(qo, {});
|
26599
|
-
case
|
26598
|
+
case it.Paid:
|
26600
26599
|
return /* @__PURE__ */ t(Zo, {});
|
26601
26600
|
default:
|
26602
26601
|
return /* @__PURE__ */ t(jo, {});
|
26603
26602
|
}
|
26604
26603
|
}, _b = (e, n) => {
|
26605
26604
|
switch (e.status) {
|
26606
|
-
case
|
26605
|
+
case it.Paid:
|
26607
26606
|
return e.expectedDate ? T(
|
26608
26607
|
n.paid_on,
|
26609
26608
|
re(
|
@@ -26611,12 +26610,12 @@ const Vi = g.createContext(null), O0 = ({
|
|
26611
26610
|
ie.MONTH_DAY
|
26612
26611
|
)
|
26613
26612
|
) : n.paid;
|
26614
|
-
case
|
26613
|
+
case it.Missed:
|
26615
26614
|
return T(
|
26616
26615
|
n.missed_on,
|
26617
26616
|
re(e.expectedDate, ie.MONTH_DAY)
|
26618
26617
|
);
|
26619
|
-
case
|
26618
|
+
case it.Upcoming:
|
26620
26619
|
return T(
|
26621
26620
|
n.upcoming_on,
|
26622
26621
|
re(e.expectedDate, ie.MONTH_DAY)
|
@@ -26634,7 +26633,7 @@ const Vi = g.createContext(null), O0 = ({
|
|
26634
26633
|
const { recurring: o } = x(), { repeatingTransactions: r } = Pt(), [s, c] = g.useState(!1), d = g.useMemo(
|
26635
26634
|
() => r.find((E) => E.guid === e.repeatingTransactionGuid),
|
26636
26635
|
[e]
|
26637
|
-
), _ = e.type === Xt.Income, u = e.status ===
|
26636
|
+
), _ = e.type === Xt.Income, u = e.status === it.Paid, h = e.status === it.Missed, m = e.status === it.Upcoming;
|
26638
26637
|
let C = o.paid?.toLowerCase();
|
26639
26638
|
return h ? C = o.missed?.toLowerCase() : m && (C = a ? go(o, e.expectedDate, e.frequency) : go(o, null, e.frequency)), /* @__PURE__ */ l(j, { disableGutters: !0, disablePadding: !0, children: [
|
26640
26639
|
/* @__PURE__ */ l(ue, { onClick: () => {
|
@@ -26688,7 +26687,7 @@ const Vi = g.createContext(null), O0 = ({
|
|
26688
26687
|
width: "100%"
|
26689
26688
|
},
|
26690
26689
|
children: [
|
26691
|
-
u && /* @__PURE__ */ t(
|
26690
|
+
u && /* @__PURE__ */ t(ma, { color: "success", filled: !0, size: 12 }),
|
26692
26691
|
h && /* @__PURE__ */ t(Ls, { color: "error", filled: !0, size: 12 }),
|
26693
26692
|
/* @__PURE__ */ t(p, { bold: !0, color: "text.secondary", variant: "caption", children: C })
|
26694
26693
|
]
|
@@ -27063,7 +27062,7 @@ const Vi = g.createContext(null), O0 = ({
|
|
27063
27062
|
donutData: s,
|
27064
27063
|
totalAmount: r
|
27065
27064
|
};
|
27066
|
-
},
|
27065
|
+
}, _a = ({ amount: e, label: n }) => /* @__PURE__ */ l(b, { direction: "column", children: [
|
27067
27066
|
/* @__PURE__ */ t(p, { bold: !0, sx: { textTransform: "none" }, variant: "Body", children: n }),
|
27068
27067
|
/* @__PURE__ */ t(p, { variant: "XSmall", children: B(e, "0,0") })
|
27069
27068
|
] }), pb = ({
|
@@ -27119,7 +27118,7 @@ const Vi = g.createContext(null), O0 = ({
|
|
27119
27118
|
}
|
27120
27119
|
)
|
27121
27120
|
] }) }) });
|
27122
|
-
},
|
27121
|
+
}, ha = A(pb), xs = ({ data: e, onSelected: n, selectedId: i }) => /* @__PURE__ */ t(b, { gap: 8, height: "100%", justifyContent: "center", my: "auto", children: e.categoryData.map((a) => /* @__PURE__ */ l(
|
27123
27122
|
b,
|
27124
27123
|
{
|
27125
27124
|
alignItems: "center",
|
@@ -27177,7 +27176,7 @@ const Vi = g.createContext(null), O0 = ({
|
|
27177
27176
|
Ve,
|
27178
27177
|
{
|
27179
27178
|
label: /* @__PURE__ */ t(
|
27180
|
-
|
27179
|
+
_a,
|
27181
27180
|
{
|
27182
27181
|
amount: m.totalAmount,
|
27183
27182
|
label: n.spend_tab_title
|
@@ -27190,7 +27189,7 @@ const Vi = g.createContext(null), O0 = ({
|
|
27190
27189
|
Ve,
|
27191
27190
|
{
|
27192
27191
|
label: /* @__PURE__ */ t(
|
27193
|
-
|
27192
|
+
_a,
|
27194
27193
|
{
|
27195
27194
|
amount: C.totalAmount,
|
27196
27195
|
label: n.income_tab_title
|
@@ -27202,7 +27201,7 @@ const Vi = g.createContext(null), O0 = ({
|
|
27202
27201
|
] }),
|
27203
27202
|
u === 0 && /* @__PURE__ */ t(L, { children: /* @__PURE__ */ l(b, { direction: "row", gap: 16, justifyContent: "center", p: 24, children: [
|
27204
27203
|
/* @__PURE__ */ t(
|
27205
|
-
|
27204
|
+
ha,
|
27206
27205
|
{
|
27207
27206
|
data: m,
|
27208
27207
|
onSelected: E,
|
@@ -27221,7 +27220,7 @@ const Vi = g.createContext(null), O0 = ({
|
|
27221
27220
|
] }) }),
|
27222
27221
|
u === 1 && /* @__PURE__ */ t(L, { children: /* @__PURE__ */ l(b, { direction: "row", gap: 16, justifyContent: "center", p: 24, children: [
|
27223
27222
|
/* @__PURE__ */ t(
|
27224
|
-
|
27223
|
+
ha,
|
27225
27224
|
{
|
27226
27225
|
data: C,
|
27227
27226
|
isIncome: !0,
|
@@ -27344,7 +27343,7 @@ const Vi = g.createContext(null), O0 = ({
|
|
27344
27343
|
px: 8,
|
27345
27344
|
children: [
|
27346
27345
|
c && /* @__PURE__ */ t(
|
27347
|
-
|
27346
|
+
ha,
|
27348
27347
|
{
|
27349
27348
|
data: {
|
27350
27349
|
categoryData: [],
|
@@ -27360,7 +27359,7 @@ const Vi = g.createContext(null), O0 = ({
|
|
27360
27359
|
}
|
27361
27360
|
),
|
27362
27361
|
!c && /* @__PURE__ */ t(
|
27363
|
-
|
27362
|
+
ha,
|
27364
27363
|
{
|
27365
27364
|
data: e,
|
27366
27365
|
onSelected: n,
|
@@ -27434,7 +27433,7 @@ const Vi = g.createContext(null), O0 = ({
|
|
27434
27433
|
Ve,
|
27435
27434
|
{
|
27436
27435
|
label: /* @__PURE__ */ t(
|
27437
|
-
|
27436
|
+
_a,
|
27438
27437
|
{
|
27439
27438
|
amount: w.totalAmount,
|
27440
27439
|
label: o.spend_tab_title
|
@@ -27447,7 +27446,7 @@ const Vi = g.createContext(null), O0 = ({
|
|
27447
27446
|
Ve,
|
27448
27447
|
{
|
27449
27448
|
label: /* @__PURE__ */ t(
|
27450
|
-
|
27449
|
+
_a,
|
27451
27450
|
{
|
27452
27451
|
amount: v.totalAmount,
|
27453
27452
|
label: o.income_tab_title
|
@@ -27520,7 +27519,7 @@ const Vi = g.createContext(null), O0 = ({
|
|
27520
27519
|
children: /* @__PURE__ */ t(L, { height: "calc(100dvh - 150px)", overflow: "scroll", width: "100%", children: /* @__PURE__ */ t(xb, {}) })
|
27521
27520
|
}
|
27522
27521
|
);
|
27523
|
-
}, w4 = A(Ib), vb = (e) => Gn[e] ?? Gn.default, wb = (e) =>
|
27522
|
+
}, w4 = A(Ib), vb = (e) => Gn[e] ?? Gn.default, wb = (e) => Ta[e];
|
27524
27523
|
function Nb(e, n) {
|
27525
27524
|
const i = [], a = new Date(e);
|
27526
27525
|
for (; a <= n; ) {
|
@@ -27559,7 +27558,7 @@ const Db = (e) => e.reduce((i, a) => {
|
|
27559
27558
|
const n = e.row[e.field];
|
27560
27559
|
return /* @__PURE__ */ t(b, { alignItems: "flex-end", tabIndex: e.tabIndex, children: /* @__PURE__ */ t(ze, { amount: n, variant: "Small" }) });
|
27561
27560
|
}, Mb = ({ categoryGuid: e, topLevelCategoryGuid: n }) => {
|
27562
|
-
const { categories: i } = x(), a =
|
27561
|
+
const { categories: i } = x(), a = Ta[e];
|
27563
27562
|
return /* @__PURE__ */ l(b, { alignItems: "center", direction: "row", justifyContent: "center", children: [
|
27564
27563
|
/* @__PURE__ */ t(
|
27565
27564
|
L,
|
@@ -27693,7 +27692,7 @@ const Db = (e) => e.reduce((i, a) => {
|
|
27693
27692
|
}, $b = A(Hb), Fb = {
|
27694
27693
|
view_transactions: "View Transactions"
|
27695
27694
|
}, Wb = ({ onBackClick: e, sx: n }) => {
|
27696
|
-
const i =
|
27695
|
+
const i = at(), { onEvent: a } = z(), { isDesktop: o, isTablet: r, isMobile: s } = Ee(), { visibleAccounts: c } = ve(), { loadMonthlyCategoryTotals: d, monthlyCategoryTotals: _, getCategoryName: u } = Ke(), { sortedTransactions: h } = Te(), { isCopyLoaded: m, isInitialized: C, selectedAccounts: f, setSelectedAccounts: E } = _e(), { trends: y } = x(), S = i.palette.mode === "dark", [w, v] = g.useState(!1), [I, R] = g.useState(!1), [D, H] = g.useState("Chart"), [O, M] = g.useState(""), [Q, U] = g.useState({
|
27697
27696
|
start: dr(je(qt(/* @__PURE__ */ new Date(), 6)), 1),
|
27698
27697
|
end: je(/* @__PURE__ */ new Date())
|
27699
27698
|
});
|
@@ -27881,7 +27880,7 @@ const Db = (e) => e.reduce((i, a) => {
|
|
27881
27880
|
}
|
27882
27881
|
);
|
27883
27882
|
}, N4 = A(Wb), Ub = () => {
|
27884
|
-
const e =
|
27883
|
+
const e = at(), { monthlyCategoryTotals: n } = Ke(), { trends: i } = x(), a = Am(n);
|
27885
27884
|
return /* @__PURE__ */ t(
|
27886
27885
|
xo,
|
27887
27886
|
{
|
@@ -27897,7 +27896,7 @@ const Db = (e) => e.reduce((i, a) => {
|
|
27897
27896
|
}
|
27898
27897
|
);
|
27899
27898
|
}, Vb = A(Ub), Kb = ({ onPrimaryCtaClick: e, sx: n }) => {
|
27900
|
-
const { loadMonthlyCategoryTotals: i, monthlyTotalsLoaded: a } = Ke(), { isInitialized: o } =
|
27899
|
+
const { loadMonthlyCategoryTotals: i, monthlyTotalsLoaded: a } = Ke(), { isInitialized: o } = Wi(), { trends: r } = x(), { isCopyLoaded: s, selectedAccounts: c } = _e();
|
27901
27900
|
return g.useEffect(() => {
|
27902
27901
|
o && i(c).finally();
|
27903
27902
|
}, [o, c]), s ? /* @__PURE__ */ t(
|
@@ -27937,7 +27936,7 @@ export {
|
|
27937
27936
|
Y2 as BarChart,
|
27938
27937
|
oi as BeatApi,
|
27939
27938
|
U0 as BeatCard,
|
27940
|
-
|
27939
|
+
Qi as BottomActions,
|
27941
27940
|
f4 as BubbleBudgetsMiniWidget,
|
27942
27941
|
b4 as BubbleBudgetsWidget,
|
27943
27942
|
Bu as Calendar,
|
@@ -27950,7 +27949,7 @@ export {
|
|
27950
27949
|
a4 as CashflowWidget,
|
27951
27950
|
mr as CategoryApi,
|
27952
27951
|
Gn as CategoryColors,
|
27953
|
-
|
27952
|
+
Ta as CategoryGuidToName,
|
27954
27953
|
N as CategoryGuids,
|
27955
27954
|
lu as CategoryIcon,
|
27956
27955
|
mc as CategoryRow,
|
@@ -27963,14 +27962,14 @@ export {
|
|
27963
27962
|
p4 as ConnectMiniWidget,
|
27964
27963
|
Kn as ConnectionStatus,
|
27965
27964
|
ht as ConnectionStatusEnums,
|
27966
|
-
|
27965
|
+
ra as CurrencyCodes,
|
27967
27966
|
on as CurrencyInput,
|
27968
27967
|
ze as CurrencyText,
|
27969
27968
|
ie as DATE_FORMATS_INTL,
|
27970
27969
|
zs as DEFAULT_DONUT_SIZE,
|
27971
27970
|
Ys as DEFAULT_STROKE_WIDTH,
|
27972
27971
|
y4 as Dashboard,
|
27973
|
-
|
27972
|
+
Ji as DashboardLocation,
|
27974
27973
|
$n as DataRow,
|
27975
27974
|
Sr as DateRangeSelector,
|
27976
27975
|
Bc as DebtsChart,
|
@@ -28001,7 +28000,7 @@ export {
|
|
28001
28000
|
gC as HelpWidget,
|
28002
28001
|
Eo as INCOME_ACCOUNT_TYPES,
|
28003
28002
|
Zt as IconBacking,
|
28004
|
-
|
28003
|
+
la as InformationTooltip,
|
28005
28004
|
A4 as InsightsMicroWidget,
|
28006
28005
|
O0 as InsightsMicroWidgetDataProvider,
|
28007
28006
|
E4 as InvestmentsWidget,
|
@@ -28046,7 +28045,7 @@ export {
|
|
28046
28045
|
Fs as PropertyType,
|
28047
28046
|
P2 as PropertyTypeName,
|
28048
28047
|
H2 as RECURRENCE_COPY,
|
28049
|
-
|
28048
|
+
it as RecurrenceStatus,
|
28050
28049
|
Xt as RecurrenceType,
|
28051
28050
|
J as RecurrenceTypes,
|
28052
28051
|
i4 as RecurringActivityMiniWidget,
|
@@ -28061,7 +28060,7 @@ export {
|
|
28061
28060
|
O_ as ScheduledPaymentTypes,
|
28062
28061
|
Cr as ScheduledPaymentsApi,
|
28063
28062
|
L_ as ScreenSize,
|
28064
|
-
|
28063
|
+
Ui as SearchBox,
|
28065
28064
|
xr as SelectionBox,
|
28066
28065
|
os as SettingsApi,
|
28067
28066
|
R1 as SettingsStore,
|
@@ -28081,7 +28080,7 @@ export {
|
|
28081
28080
|
ti as ToggleListItem,
|
28082
28081
|
Ci as TopActions,
|
28083
28082
|
K as TrackType,
|
28084
|
-
|
28083
|
+
da as TransactionApi,
|
28085
28084
|
qn as TransactionDetails,
|
28086
28085
|
mn as TransactionList,
|
28087
28086
|
Ia as TransactionRow,
|
@@ -28133,11 +28132,11 @@ export {
|
|
28133
28132
|
pn as useCategoryUiStore,
|
28134
28133
|
Eu as useCombineEvents,
|
28135
28134
|
Su as useCombinePageviews,
|
28136
|
-
|
28135
|
+
xa as useDebtStore,
|
28137
28136
|
z as useEvent,
|
28138
28137
|
qC as useGetMergeableAccounts,
|
28139
28138
|
x as useGlobalCopyStore,
|
28140
|
-
|
28139
|
+
Wi as useGlobalStore,
|
28141
28140
|
_e as useGlobalUiStore,
|
28142
28141
|
rt as useGoalStore,
|
28143
28142
|
wo as useHelpStore,
|
@@ -28147,7 +28146,7 @@ export {
|
|
28147
28146
|
sc as useNotificationStore,
|
28148
28147
|
X2 as usePageView,
|
28149
28148
|
z2 as usePrevious,
|
28150
|
-
|
28149
|
+
tt as useRecurringActivityStore,
|
28151
28150
|
Pt as useRecurringTransactionsStore,
|
28152
28151
|
Ee as useScreenSize,
|
28153
28152
|
Ht as useSettingsStore,
|