@mx-cartographer/experiences 6.2.3-alpha.al0 → 6.2.3-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 +65 -65
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
@@ -19,7 +19,7 @@ import { isBefore as ve } from "date-fns/isBefore";
|
|
19
19
|
import { nextDay as Ei } from "date-fns/nextDay";
|
20
20
|
import { setDate as Vi } from "date-fns/setDate";
|
21
21
|
import { startOfToday as le } from "date-fns/startOfToday";
|
22
|
-
import { fromUnixTime as
|
22
|
+
import { fromUnixTime as ke } from "date-fns/fromUnixTime";
|
23
23
|
import { Honeybadger as Pi } from "@honeybadger-io/react";
|
24
24
|
import zr from "numeral";
|
25
25
|
import ee from "@mui/material/Button";
|
@@ -63,7 +63,7 @@ import { startOfYear as qr } from "date-fns/startOfYear";
|
|
63
63
|
import { subDays as ut } from "date-fns/subDays";
|
64
64
|
import { subYears as qa } from "date-fns/subYears";
|
65
65
|
import Hl from "@mui/material/ButtonGroup";
|
66
|
-
import
|
66
|
+
import Me from "@mui/material/Tab";
|
67
67
|
import Lt from "@mui/material/Tabs";
|
68
68
|
import aa from "@mui/material/ToggleButton";
|
69
69
|
import lr from "@mui/material/ToggleButtonGroup";
|
@@ -861,9 +861,9 @@ const hn = 44, ro = (e, n) => e.find((i) => i.guid === n), Xd = (e, n) => e.find
|
|
861
861
|
const n = fr(e);
|
862
862
|
return Sn(n, 1);
|
863
863
|
}, $s = (e) => ei(e, 1), Ci = (e) => {
|
864
|
-
const n =
|
864
|
+
const n = ke(e);
|
865
865
|
return new Date(n.getUTCFullYear(), n.getUTCMonth(), n.getUTCDate());
|
866
|
-
}, Oi = (e) => ie(
|
866
|
+
}, Oi = (e) => ie(ke(e), te.DAY_OF_WEEK_MONTH_DAY), Fs = (e) => e ? ie(ke(e), te.MONTH_YEAR) : "", Zd = /(?<static>.*?)(?<dynamic>(?:_\d+{(?:.*?)}))|(?<staticEnd>.+)/g, S = (e, ...n) => {
|
867
867
|
if (!e) return "";
|
868
868
|
const i = n.some((o) => typeof o != "string"), r = [...e.matchAll(Zd)].reduce(
|
869
869
|
(o, s, c) => {
|
@@ -2973,7 +2973,7 @@ const bu = ({
|
|
2973
2973
|
value: x,
|
2974
2974
|
variant: "fullWidth",
|
2975
2975
|
children: D.tabs.map((H) => /* @__PURE__ */ t(
|
2976
|
-
|
2976
|
+
Me,
|
2977
2977
|
{
|
2978
2978
|
label: /* @__PURE__ */ t(p, { bold: !0, variant: "Body", children: H.label }),
|
2979
2979
|
sx: { minWidth: 80 },
|
@@ -4932,7 +4932,7 @@ const r_ = [
|
|
4932
4932
|
return !0;
|
4933
4933
|
const _ = c.tags.some(
|
4934
4934
|
(h) => Ft(s, n.find((m) => m.guid === h)?.name)
|
4935
|
-
), u =
|
4935
|
+
), u = ke(c.date);
|
4936
4936
|
return Ft(s, c.payee) || Ft(s, c.feed_description) || Ft(s, c.category) || Ft(s, ie(u, te.MONTH)) || Ft(s, ie(u, te.DAY)) || Ft(s, ie(u, te.FULL_MONTH_DAY)) || Ft(s, ie(u, te.MONTH_DAY_YEAR)) || Ft(s, vt(u, Ln)) || Ft(s, c.account) || Ft(s, `${c.amount}`) || Ft(s, c.memo) || _;
|
4937
4937
|
});
|
4938
4938
|
}, __ = (e, n, i) => [...e].sort((a, r) => {
|
@@ -5122,7 +5122,7 @@ class f_ {
|
|
5122
5122
|
loadTransactionsByDateRange = async (n, i) => {
|
5123
5123
|
console.warn("DEPRECATED: loadTransactionsByDateRange will be removed"), this.setFilter({
|
5124
5124
|
...this.filter,
|
5125
|
-
dateRange: { start:
|
5125
|
+
dateRange: { start: ke(i), end: ke(n) }
|
5126
5126
|
});
|
5127
5127
|
};
|
5128
5128
|
modifyTransactionByAccountGuid = (n, i) => {
|
@@ -5219,7 +5219,7 @@ const At = () => {
|
|
5219
5219
|
const i = y_(b_(e, n)), a = encodeURIComponent(i), r = document.createElement("a");
|
5220
5220
|
r.href = `data:attachment/csv;charset=utf-8,${a}`, r.download = "transactions.csv", document.body.appendChild(r), r.click(), document.body.removeChild(r);
|
5221
5221
|
}, b_ = (e, n) => e.map((i) => ({
|
5222
|
-
Date: ie(
|
5222
|
+
Date: ie(ke(i.date), te.YEAR_MONTH_DAY),
|
5223
5223
|
Description: E_(i),
|
5224
5224
|
"Original Description": i.feed_description,
|
5225
5225
|
Amount: `${i.amount}`,
|
@@ -5300,10 +5300,10 @@ const At = () => {
|
|
5300
5300
|
n && /* @__PURE__ */ t(p, { color: "secondary", variant: "XSmall", children: a.zero_state_there_are_no_transactions })
|
5301
5301
|
] });
|
5302
5302
|
}, I_ = A(A_), To = (e, n) => {
|
5303
|
-
const i =
|
5303
|
+
const i = ke(n[e].date), a = ke(n[e - 1]?.date);
|
5304
5304
|
return !dt(i, a);
|
5305
5305
|
}, x_ = (e, n) => {
|
5306
|
-
const i =
|
5306
|
+
const i = ke(n[e].date), a = ke(n[e + 1]?.date);
|
5307
5307
|
return dt(i, a);
|
5308
5308
|
}, Ao = 65, Io = 34, v_ = ({
|
5309
5309
|
bgcolor: e,
|
@@ -5398,7 +5398,7 @@ const At = () => {
|
|
5398
5398
|
]
|
5399
5399
|
}
|
5400
5400
|
);
|
5401
|
-
}, R_ = A(D_), O_ = (e) => /* @__PURE__ */ t(p, { tabIndex: e.tabIndex, variant: "Small", children: ie(
|
5401
|
+
}, R_ = A(D_), O_ = (e) => /* @__PURE__ */ t(p, { tabIndex: e.tabIndex, variant: "Small", children: ie(ke(e.row.date), te.MONTH_DAY) }), L_ = (e) => {
|
5402
5402
|
const n = at(), { transactions: i } = I(), { is_flagged: a, is_hidden: r, has_been_viewed: o, parent_guid: s } = e.row, d = !o && !!!s;
|
5403
5403
|
return /* @__PURE__ */ l(
|
5404
5404
|
M,
|
@@ -6181,7 +6181,7 @@ const rc = ({ transaction: e }) => {
|
|
6181
6181
|
{
|
6182
6182
|
primary: s.date_title,
|
6183
6183
|
primaryTypographyProps: { variant: "XSmall" },
|
6184
|
-
secondary: /* @__PURE__ */ t(p, { bold: !0, variant: "Body", children: ie(
|
6184
|
+
secondary: /* @__PURE__ */ t(p, { bold: !0, variant: "Body", children: ie(ke(e.date), te.YEAR_MONTH_DAY) })
|
6185
6185
|
}
|
6186
6186
|
),
|
6187
6187
|
/* @__PURE__ */ t(Ct, { children: /* @__PURE__ */ t(P, { name: "chevron_right", weight: bt.Dark }) })
|
@@ -6201,7 +6201,7 @@ const rc = ({ transaction: e }) => {
|
|
6201
6201
|
children: /* @__PURE__ */ t(b, { alignItems: "center", mt: n.Spacing.XXLarge, children: /* @__PURE__ */ t(
|
6202
6202
|
bu,
|
6203
6203
|
{
|
6204
|
-
beginDate:
|
6204
|
+
beginDate: ke(_),
|
6205
6205
|
copy: {
|
6206
6206
|
nextAria: s.date_next_aria,
|
6207
6207
|
prevAria: s.date_prev_aria,
|
@@ -8022,11 +8022,11 @@ const rc = ({ transaction: e }) => {
|
|
8022
8022
|
{ id: Q.EveryYear, label: c.frequency_every_year }
|
8023
8023
|
];
|
8024
8024
|
g.useEffect(() => {
|
8025
|
-
const u =
|
8025
|
+
const u = ke(s.date);
|
8026
8026
|
o(qi(u)), r(Q.EveryMonth);
|
8027
8027
|
}, [s]);
|
8028
8028
|
const _ = (u) => {
|
8029
|
-
const h =
|
8029
|
+
const h = ke(s.date);
|
8030
8030
|
switch (Number(u.target.value)) {
|
8031
8031
|
case Q.EveryWeek:
|
8032
8032
|
o(ma(h));
|
@@ -8226,7 +8226,7 @@ const rc = ({ transaction: e }) => {
|
|
8226
8226
|
transactionGuid: u.transaction_guid
|
8227
8227
|
};
|
8228
8228
|
}), c = a.filter(
|
8229
|
-
(u) => ni(
|
8229
|
+
(u) => ni(ke(u.expected_date), {
|
8230
8230
|
start: Fe(le()),
|
8231
8231
|
end: Mt(le(), 30)
|
8232
8232
|
})
|
@@ -8360,7 +8360,7 @@ const rc = ({ transaction: e }) => {
|
|
8360
8360
|
const f = i.find(
|
8361
8361
|
(E) => E.scheduled_payment_guid === C.scheduledPaymentGuid && E.date > Oe(ut(C.expectedDate, 3)) && E.date < Oe(Mt(C.expectedDate, 3))
|
8362
8362
|
);
|
8363
|
-
f ? (C.transactionGuid = f.guid, C.occurredOnDate =
|
8363
|
+
f ? (C.transactionGuid = f.guid, C.occurredOnDate = ke(f.date), C.activityStatus = et.Paid) : ve(C.expectedDate, ut(_, 3)) && (C.activityStatus = et.Missed);
|
8364
8364
|
}), a;
|
8365
8365
|
}, ig = (e, n, i, a, r) => a.map((o) => {
|
8366
8366
|
const s = n.find((h) => h.cashflow_sequence_guid === o.guid), c = i.find((h) => h.cashflow_sequence_guid === o.guid), d = r.find((h) => h.guid === s?.transaction_guid), _ = e.find((h) => h.guid === d?.account_guid);
|
@@ -8416,14 +8416,14 @@ const rc = ({ transaction: e }) => {
|
|
8416
8416
|
variant: "fullWidth",
|
8417
8417
|
children: [
|
8418
8418
|
/* @__PURE__ */ t(
|
8419
|
-
|
8419
|
+
Me,
|
8420
8420
|
{
|
8421
8421
|
label: a.manage_expenses,
|
8422
8422
|
sx: { "&.Mui-selected": { color: "primary.light" } }
|
8423
8423
|
}
|
8424
8424
|
),
|
8425
8425
|
/* @__PURE__ */ t(
|
8426
|
-
|
8426
|
+
Me,
|
8427
8427
|
{
|
8428
8428
|
label: a.manage_income,
|
8429
8429
|
sx: { "&.Mui-selected": { color: "primary.light" } }
|
@@ -8732,13 +8732,13 @@ const rc = ({ transaction: e }) => {
|
|
8732
8732
|
(i || n) && /* @__PURE__ */ l(M, { children: [
|
8733
8733
|
/* @__PURE__ */ l(Lt, { onChange: $, value: u, variant: "fullWidth", children: [
|
8734
8734
|
/* @__PURE__ */ t(
|
8735
|
-
|
8735
|
+
Me,
|
8736
8736
|
{
|
8737
8737
|
label: /* @__PURE__ */ t(p, { bold: !0, sx: { textTransform: "none" }, variant: "Body", children: e.upcoming })
|
8738
8738
|
}
|
8739
8739
|
),
|
8740
8740
|
/* @__PURE__ */ t(
|
8741
|
-
|
8741
|
+
Me,
|
8742
8742
|
{
|
8743
8743
|
label: /* @__PURE__ */ t(p, { bold: !0, sx: { textTransform: "none" }, variant: "Body", children: e.paid })
|
8744
8744
|
}
|
@@ -9640,7 +9640,7 @@ const Dg = ({ activity: e }) => /* @__PURE__ */ l(Z, { children: [
|
|
9640
9640
|
variant: "fullWidth",
|
9641
9641
|
children: [
|
9642
9642
|
/* @__PURE__ */ t(
|
9643
|
-
|
9643
|
+
Me,
|
9644
9644
|
{
|
9645
9645
|
"aria-controls": "cashflow-tabpanel-0",
|
9646
9646
|
id: "cashflow-tab-0",
|
@@ -9649,7 +9649,7 @@ const Dg = ({ activity: e }) => /* @__PURE__ */ l(Z, { children: [
|
|
9649
9649
|
}
|
9650
9650
|
),
|
9651
9651
|
/* @__PURE__ */ t(
|
9652
|
-
|
9652
|
+
Me,
|
9653
9653
|
{
|
9654
9654
|
"aria-controls": "cashflow-tabpanel-1",
|
9655
9655
|
id: "cashflow-tab-1",
|
@@ -11278,7 +11278,7 @@ const Ic = ({
|
|
11278
11278
|
variant: "fullWidth",
|
11279
11279
|
children: [
|
11280
11280
|
/* @__PURE__ */ t(
|
11281
|
-
|
11281
|
+
Me,
|
11282
11282
|
{
|
11283
11283
|
"aria-controls": "debt-schedule-tabpanel-0",
|
11284
11284
|
id: "debt-schedule-tab-0",
|
@@ -11287,7 +11287,7 @@ const Ic = ({
|
|
11287
11287
|
}
|
11288
11288
|
),
|
11289
11289
|
/* @__PURE__ */ t(
|
11290
|
-
|
11290
|
+
Me,
|
11291
11291
|
{
|
11292
11292
|
"aria-controls": "debt-details-tabpanel-1",
|
11293
11293
|
id: "debt-details-tab-1",
|
@@ -11916,7 +11916,7 @@ function Zm(e, n) {
|
|
11916
11916
|
style: "percent",
|
11917
11917
|
minimumFractionDigits: 0,
|
11918
11918
|
maximumFractionDigits: 0
|
11919
|
-
}, c = n.is_complete ? n.completed_at : n.projected_to_complete_at, d = c ?
|
11919
|
+
}, c = n.is_complete ? n.completed_at : n.projected_to_complete_at, d = c ? ke(c) : /* @__PURE__ */ new Date(), _ = S(
|
11920
11920
|
e.goal_percentage,
|
11921
11921
|
pa(a, s)
|
11922
11922
|
), u = S(
|
@@ -12081,7 +12081,7 @@ const Jm = (e, n) => {
|
|
12081
12081
|
/* @__PURE__ */ t(p, { variant: "XSmall", children: S(
|
12082
12082
|
n.goal_projection,
|
12083
12083
|
ie(
|
12084
|
-
|
12084
|
+
ke(f.projected_to_complete_at || 0),
|
12085
12085
|
te.MONTH_SHORT_YEAR
|
12086
12086
|
)
|
12087
12087
|
) })
|
@@ -12184,7 +12184,7 @@ const Jm = (e, n) => {
|
|
12184
12184
|
/* @__PURE__ */ t(p, { variant: "XSmall", children: S(
|
12185
12185
|
i.goal_projection,
|
12186
12186
|
ie(
|
12187
|
-
|
12187
|
+
ke(e.projected_to_complete_at || 0),
|
12188
12188
|
te.MONTH_SHORT_YEAR
|
12189
12189
|
)
|
12190
12190
|
) })
|
@@ -12202,7 +12202,7 @@ const Jm = (e, n) => {
|
|
12202
12202
|
/* @__PURE__ */ t(p, { variant: "XSmall", children: S(
|
12203
12203
|
n.completed_label,
|
12204
12204
|
ie(
|
12205
|
-
|
12205
|
+
ke(e.completed_at || 0),
|
12206
12206
|
te.MONTH_SHORT_YEAR
|
12207
12207
|
)
|
12208
12208
|
) })
|
@@ -12659,7 +12659,7 @@ const Jm = (e, n) => {
|
|
12659
12659
|
}
|
12660
12660
|
);
|
12661
12661
|
}, _p = A(({ goal: e }) => {
|
12662
|
-
const { goals: n } = I(), { user: i, updateUser: a } = dn(), { setAlert: r } = ot(), [o, s] = g.useState(
|
12662
|
+
const { goals: n } = I(), { user: i, updateUser: a } = dn(), { setAlert: r } = ot(), [o, s] = g.useState(ke(i.birthday ?? 0)), [c, d] = g.useState(null), _ = e.is_complete, u = async () => {
|
12663
12663
|
o && ur(o) && (await a({ ...i, birthday: Oe(o) }), r(n.alert_goal_updated_birthday));
|
12664
12664
|
};
|
12665
12665
|
return /* @__PURE__ */ t(
|
@@ -12670,7 +12670,7 @@ const Jm = (e, n) => {
|
|
12670
12670
|
label: n.details_birthday,
|
12671
12671
|
onSave: u,
|
12672
12672
|
primaryText: n.details_birthday,
|
12673
|
-
secondaryText: `${ie(
|
12673
|
+
secondaryText: `${ie(ke(i.birthday ?? 0), te.MONTH_DAY_YEAR)}`,
|
12674
12674
|
zeroStateText: !e.guid && !i.birthday ? n.add_birthday : void 0,
|
12675
12675
|
children: /* @__PURE__ */ t(Nn, { dateAdapter: gn, children: /* @__PURE__ */ t(
|
12676
12676
|
la,
|
@@ -12885,7 +12885,7 @@ const Jm = (e, n) => {
|
|
12885
12885
|
variant: "fullWidth",
|
12886
12886
|
children: [
|
12887
12887
|
/* @__PURE__ */ t(
|
12888
|
-
|
12888
|
+
Me,
|
12889
12889
|
{
|
12890
12890
|
disabled: V,
|
12891
12891
|
label: /* @__PURE__ */ t(Fa, { subtitle: O, title: d.tab_saving_title }),
|
@@ -12893,7 +12893,7 @@ const Jm = (e, n) => {
|
|
12893
12893
|
}
|
12894
12894
|
),
|
12895
12895
|
/* @__PURE__ */ t(
|
12896
|
-
|
12896
|
+
Me,
|
12897
12897
|
{
|
12898
12898
|
disabled: V,
|
12899
12899
|
label: /* @__PURE__ */ t(Fa, { subtitle: L, title: d.tab_debt_title }),
|
@@ -12901,7 +12901,7 @@ const Jm = (e, n) => {
|
|
12901
12901
|
}
|
12902
12902
|
),
|
12903
12903
|
/* @__PURE__ */ t(
|
12904
|
-
|
12904
|
+
Me,
|
12905
12905
|
{
|
12906
12906
|
disabled: V,
|
12907
12907
|
label: /* @__PURE__ */ t(Fa, { subtitle: U, title: d.tab_retirement_title }),
|
@@ -13524,7 +13524,7 @@ const Oc = 13, xp = (e, n) => e.filter((i) => {
|
|
13524
13524
|
return e[e.length - 1];
|
13525
13525
|
}, wp = (e, n) => e.year_month - n.year_month, Np = () => Array.from({ length: Oc }, (e, n) => Math.floor(Fe(jt(/* @__PURE__ */ new Date(), n)).getTime() / 1e3)).sort(), Dp = (e, n, i) => !e.length || !n.length ? [] : Np().reduceRight((r, o) => {
|
13526
13526
|
const s = n.filter(
|
13527
|
-
({ year_month: u }) => u === parseInt(vt(
|
13527
|
+
({ year_month: u }) => u === parseInt(vt(ke(o), "yyyyMM"))
|
13528
13528
|
), c = e.map((u) => {
|
13529
13529
|
const h = s.find((C) => C.account_guid === u.guid), m = {
|
13530
13530
|
change: 0,
|
@@ -13664,7 +13664,7 @@ const Mp = ({
|
|
13664
13664
|
selectedData: o
|
13665
13665
|
}) => {
|
13666
13666
|
const { isMobile: s } = De(), { availableWidth: c } = $n(), d = at(), _ = c - 320, u = e.map((f) => ({
|
13667
|
-
x: vt(
|
13667
|
+
x: vt(ke(f.x), "MMM"),
|
13668
13668
|
y: f.y
|
13669
13669
|
})), h = o ? { index: e.findIndex((f) => f.x === o.x) } : void 0, m = n ? { index: e.findIndex((f) => f.x === n.x) } : void 0, C = (f) => ({
|
13670
13670
|
fill: f === h?.index ? d.palette.success.main : "",
|
@@ -17893,11 +17893,11 @@ const l1 = ({
|
|
17893
17893
|
)
|
17894
17894
|
] });
|
17895
17895
|
}), Y1 = () => {
|
17896
|
-
const e = at(), { common: n, settings: i } = I(), { isDesktop: a, isMobile: r, isSmallMobile: o, isTablet: s } = De(), { config: c } = Ca(), { updateUser: d } = Ht(), { user: _ } = dn(), [u, h] = g.useState(_.first_name), [m, C] = g.useState(_.last_name), [f, E] = g.useState(_.email), [y, T] = g.useState(_.phone), [w, N] = g.useState(_.postal_code), [x, R] = g.useState(_.credit_score), [D, $] = g.useState(
|
17896
|
+
const e = at(), { common: n, settings: i } = I(), { isDesktop: a, isMobile: r, isSmallMobile: o, isTablet: s } = De(), { config: c } = Ca(), { updateUser: d } = Ht(), { user: _ } = dn(), [u, h] = g.useState(_.first_name), [m, C] = g.useState(_.last_name), [f, E] = g.useState(_.email), [y, T] = g.useState(_.phone), [w, N] = g.useState(_.postal_code), [x, R] = g.useState(_.credit_score), [D, $] = g.useState(null), O = f && !_.email_is_verified, L = y && !_.phone_is_verified;
|
17897
17897
|
g.useEffect(() => {
|
17898
|
-
console.log("user birthday at first is ", _.birthday);
|
17898
|
+
_.birthday ? $(new Date(_.birthday * 1e3)) : $(null), console.log("user birthday at first is ", _.birthday);
|
17899
17899
|
}, [_]), g.useEffect(() => {
|
17900
|
-
console.log(
|
17900
|
+
console.log(D);
|
17901
17901
|
}, [D]);
|
17902
17902
|
const U = async () => {
|
17903
17903
|
const H = {
|
@@ -18073,7 +18073,7 @@ const X1 = ({
|
|
18073
18073
|
field: "created_at",
|
18074
18074
|
headerName: r.mobile_devices_column_added,
|
18075
18075
|
renderHeader: Ut,
|
18076
|
-
valueFormatter: (c) => Is(
|
18076
|
+
valueFormatter: (c) => Is(ke(c), { addSuffix: !0 }),
|
18077
18077
|
sortable: !0,
|
18078
18078
|
hideSortIcons: !1,
|
18079
18079
|
flex: 1,
|
@@ -18177,7 +18177,7 @@ const X1 = ({
|
|
18177
18177
|
children: /* @__PURE__ */ l(b, { gap: 4, children: [
|
18178
18178
|
/* @__PURE__ */ t(p, { bold: !0, variant: "Body", children: d.name }),
|
18179
18179
|
/* @__PURE__ */ t(p, { color: a.palette.text.secondary, variant: "Small", children: `${d.make} ${d.model}` }),
|
18180
|
-
/* @__PURE__ */ t(p, { color: a.palette.text.secondary, variant: "Small", children: Is(
|
18180
|
+
/* @__PURE__ */ t(p, { color: a.palette.text.secondary, variant: "Small", children: Is(ke(d.created_at), { addSuffix: !0 }) })
|
18181
18181
|
] })
|
18182
18182
|
}
|
18183
18183
|
),
|
@@ -18863,7 +18863,7 @@ const X1 = ({
|
|
18863
18863
|
variant: "scrollable",
|
18864
18864
|
children: [
|
18865
18865
|
_ && /* @__PURE__ */ t(
|
18866
|
-
|
18866
|
+
Me,
|
18867
18867
|
{
|
18868
18868
|
label: i.profile_label,
|
18869
18869
|
sx: { "&.Mui-selected": { color: "primary.light" } },
|
@@ -18871,7 +18871,7 @@ const X1 = ({
|
|
18871
18871
|
}
|
18872
18872
|
),
|
18873
18873
|
u && /* @__PURE__ */ t(
|
18874
|
-
|
18874
|
+
Me,
|
18875
18875
|
{
|
18876
18876
|
label: i.mobile_devices_label,
|
18877
18877
|
sx: { "&.Mui-selected": { color: "primary.light" } },
|
@@ -18879,7 +18879,7 @@ const X1 = ({
|
|
18879
18879
|
}
|
18880
18880
|
),
|
18881
18881
|
h && /* @__PURE__ */ t(
|
18882
|
-
|
18882
|
+
Me,
|
18883
18883
|
{
|
18884
18884
|
label: i.notifications_label,
|
18885
18885
|
sx: { "&.Mui-selected": { color: "primary.light" } },
|
@@ -18887,7 +18887,7 @@ const X1 = ({
|
|
18887
18887
|
}
|
18888
18888
|
),
|
18889
18889
|
m && /* @__PURE__ */ t(
|
18890
|
-
|
18890
|
+
Me,
|
18891
18891
|
{
|
18892
18892
|
label: i.transaction_rules_label,
|
18893
18893
|
sx: { "&.Mui-selected": { color: "primary.light" } },
|
@@ -18895,7 +18895,7 @@ const X1 = ({
|
|
18895
18895
|
}
|
18896
18896
|
),
|
18897
18897
|
C && /* @__PURE__ */ t(
|
18898
|
-
|
18898
|
+
Me,
|
18899
18899
|
{
|
18900
18900
|
label: i.help_label,
|
18901
18901
|
sx: { "&.Mui-selected": { color: "primary.light" } },
|
@@ -19129,7 +19129,7 @@ const lC = (e) => {
|
|
19129
19129
|
const d = e.transactions.find(
|
19130
19130
|
(_) => _.repeating_transaction_guid === e.guid && _.date > Oe(ut(c.expectedDate, 5)) && _.date < Oe(Mt(c.expectedDate, 5))
|
19131
19131
|
);
|
19132
|
-
d ? (c.transaction = d, c.status = it.Paid, c.occurredOnDate =
|
19132
|
+
d ? (c.transaction = d, c.status = it.Paid, c.occurredOnDate = ke(d.date)) : ve(c.expectedDate, ut(le(), 3)) && (c.status = it.Missed);
|
19133
19133
|
}
|
19134
19134
|
return n;
|
19135
19135
|
}, uC = (e, n, i) => {
|
@@ -19848,7 +19848,7 @@ const Ka = ({
|
|
19848
19848
|
};
|
19849
19849
|
default: {
|
19850
19850
|
const a = () => {
|
19851
|
-
const r = e.successfully_aggregated_at ?
|
19851
|
+
const r = e.successfully_aggregated_at ? ke(e.successfully_aggregated_at) : void 0, o = r && ie(r, te.TIME_STAMP_HOUR_MINUTE);
|
19852
19852
|
if (o)
|
19853
19853
|
return hr(r) ? S(n.last_updated_at, n.today, o) : Dd(r) ? S(n.last_updated_at, n.yesterday, o) : S(
|
19854
19854
|
n.last_updated_at,
|
@@ -20177,7 +20177,7 @@ const Ka = ({
|
|
20177
20177
|
variant: "fullWidth",
|
20178
20178
|
children: [
|
20179
20179
|
/* @__PURE__ */ t(
|
20180
|
-
|
20180
|
+
Me,
|
20181
20181
|
{
|
20182
20182
|
"aria-controls": "transaction-details-tabpanel-0",
|
20183
20183
|
id: "transaction-details-tab-0",
|
@@ -20186,7 +20186,7 @@ const Ka = ({
|
|
20186
20186
|
}
|
20187
20187
|
),
|
20188
20188
|
/* @__PURE__ */ t(
|
20189
|
-
|
20189
|
+
Me,
|
20190
20190
|
{
|
20191
20191
|
"aria-controls": "account-details-tabpanel-1",
|
20192
20192
|
id: "account-details-tab-1",
|
@@ -21925,14 +21925,14 @@ const gf = ({
|
|
21925
21925
|
variant: "fullWidth",
|
21926
21926
|
children: [
|
21927
21927
|
/* @__PURE__ */ t(
|
21928
|
-
|
21928
|
+
Me,
|
21929
21929
|
{
|
21930
21930
|
label: n.details_transactions_tab,
|
21931
21931
|
sx: { "&.Mui-selected": { color: "primary.light" } }
|
21932
21932
|
}
|
21933
21933
|
),
|
21934
21934
|
/* @__PURE__ */ t(
|
21935
|
-
|
21935
|
+
Me,
|
21936
21936
|
{
|
21937
21937
|
label: n.details_subbudgets_tab,
|
21938
21938
|
sx: { "&.Mui-selected": { color: "primary.light" } }
|
@@ -23205,21 +23205,21 @@ const kf = ({ widgets: e, isLoading: n }) => {
|
|
23205
23205
|
variant: "fullWidth",
|
23206
23206
|
children: [
|
23207
23207
|
/* @__PURE__ */ t(
|
23208
|
-
|
23208
|
+
Me,
|
23209
23209
|
{
|
23210
23210
|
label: /* @__PURE__ */ t(Ya, { title: o.tab_overview_title }),
|
23211
23211
|
sx: { "&.Mui-selected": { color: "primary.light" } }
|
23212
23212
|
}
|
23213
23213
|
),
|
23214
23214
|
/* @__PURE__ */ t(
|
23215
|
-
|
23215
|
+
Me,
|
23216
23216
|
{
|
23217
23217
|
label: /* @__PURE__ */ t(Ya, { title: o.tab_allocation_title }),
|
23218
23218
|
sx: { "&.Mui-selected": { color: "primary.light" } }
|
23219
23219
|
}
|
23220
23220
|
),
|
23221
23221
|
/* @__PURE__ */ t(
|
23222
|
-
|
23222
|
+
Me,
|
23223
23223
|
{
|
23224
23224
|
label: /* @__PURE__ */ t(Ya, { title: o.tab_analysis_title }),
|
23225
23225
|
sx: { "&.Mui-selected": { color: "primary.light" } }
|
@@ -25426,11 +25426,11 @@ const Gi = g.createContext(null), Yf = ({
|
|
25426
25426
|
{ id: we.EveryYear, label: c.frequency_every_year }
|
25427
25427
|
];
|
25428
25428
|
g.useEffect(() => {
|
25429
|
-
const u =
|
25429
|
+
const u = ke(s.date);
|
25430
25430
|
o(qi(u)), r(we.EveryMonth);
|
25431
25431
|
}, [s]);
|
25432
25432
|
const _ = (u) => {
|
25433
|
-
const h =
|
25433
|
+
const h = ke(s.date);
|
25434
25434
|
switch (Number(u.target.value)) {
|
25435
25435
|
case we.EveryWeek:
|
25436
25436
|
o(ma(h));
|
@@ -25629,8 +25629,8 @@ const Gi = g.createContext(null), Yf = ({
|
|
25629
25629
|
value: e,
|
25630
25630
|
variant: "fullWidth",
|
25631
25631
|
children: [
|
25632
|
-
/* @__PURE__ */ t(
|
25633
|
-
/* @__PURE__ */ t(
|
25632
|
+
/* @__PURE__ */ t(Me, { label: a.manage_expenses }),
|
25633
|
+
/* @__PURE__ */ t(Me, { label: a.manage_income })
|
25634
25634
|
]
|
25635
25635
|
}
|
25636
25636
|
),
|
@@ -26041,13 +26041,13 @@ const Gi = g.createContext(null), Yf = ({
|
|
26041
26041
|
(i || n) && /* @__PURE__ */ l(b, { children: [
|
26042
26042
|
/* @__PURE__ */ l(Lt, { onChange: T, value: E, variant: "fullWidth", children: [
|
26043
26043
|
/* @__PURE__ */ t(
|
26044
|
-
|
26044
|
+
Me,
|
26045
26045
|
{
|
26046
26046
|
label: /* @__PURE__ */ t(p, { bold: !0, sx: { textTransform: "none" }, variant: "body1", children: e.upcoming })
|
26047
26047
|
}
|
26048
26048
|
),
|
26049
26049
|
/* @__PURE__ */ t(
|
26050
|
-
|
26050
|
+
Me,
|
26051
26051
|
{
|
26052
26052
|
label: /* @__PURE__ */ t(p, { bold: !0, sx: { textTransform: "none" }, variant: "body1", children: e.paid })
|
26053
26053
|
}
|
@@ -26364,7 +26364,7 @@ const Gi = g.createContext(null), Yf = ({
|
|
26364
26364
|
return o ? /* @__PURE__ */ l(M, { width: "100%", children: [
|
26365
26365
|
/* @__PURE__ */ l(Lt, { onChange: f, value: u, variant: "fullWidth", children: [
|
26366
26366
|
/* @__PURE__ */ t(
|
26367
|
-
|
26367
|
+
Me,
|
26368
26368
|
{
|
26369
26369
|
label: /* @__PURE__ */ t(
|
26370
26370
|
ta,
|
@@ -26377,7 +26377,7 @@ const Gi = g.createContext(null), Yf = ({
|
|
26377
26377
|
}
|
26378
26378
|
),
|
26379
26379
|
/* @__PURE__ */ t(
|
26380
|
-
|
26380
|
+
Me,
|
26381
26381
|
{
|
26382
26382
|
label: /* @__PURE__ */ t(
|
26383
26383
|
ta,
|
@@ -26621,7 +26621,7 @@ const Gi = g.createContext(null), Yf = ({
|
|
26621
26621
|
return /* @__PURE__ */ l(M, { children: [
|
26622
26622
|
/* @__PURE__ */ l(Lt, { onChange: R, value: m, variant: "fullWidth", children: [
|
26623
26623
|
/* @__PURE__ */ t(
|
26624
|
-
|
26624
|
+
Me,
|
26625
26625
|
{
|
26626
26626
|
label: /* @__PURE__ */ t(
|
26627
26627
|
ta,
|
@@ -26634,7 +26634,7 @@ const Gi = g.createContext(null), Yf = ({
|
|
26634
26634
|
}
|
26635
26635
|
),
|
26636
26636
|
/* @__PURE__ */ t(
|
26637
|
-
|
26637
|
+
Me,
|
26638
26638
|
{
|
26639
26639
|
label: /* @__PURE__ */ t(
|
26640
26640
|
ta,
|