@mx-cartographer/experiences 4.1.1 → 4.1.2-alpha.sms-2
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 +47 -47
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -39,7 +39,7 @@ import { addDays as xA } from "date-fns/addDays";
|
|
|
39
39
|
import { eachDayOfInterval as Qo } from "date-fns/eachDayOfInterval";
|
|
40
40
|
import { eachWeekOfInterval as Wo } from "date-fns/eachWeekOfInterval";
|
|
41
41
|
import { endOfMonth as Re } from "date-fns/endOfMonth";
|
|
42
|
-
import { format as
|
|
42
|
+
import { format as Ve } from "date-fns/format";
|
|
43
43
|
import { isSameMonth as Yo } from "date-fns/isSameMonth";
|
|
44
44
|
import { startOfMonth as De } from "date-fns/startOfMonth";
|
|
45
45
|
import { subMonths as yA } from "date-fns/subMonths";
|
|
@@ -1670,7 +1670,7 @@ const kc = (e, A) => {
|
|
|
1670
1670
|
${h ? "mx-cmn-day-selected" : ""}
|
|
1671
1671
|
${C ? "mx-cmn-today" : ""}`,
|
|
1672
1672
|
variant: "Small",
|
|
1673
|
-
children:
|
|
1673
|
+
children: Ve(A, "d")
|
|
1674
1674
|
}
|
|
1675
1675
|
)
|
|
1676
1676
|
}
|
|
@@ -1772,7 +1772,7 @@ const nl = ({
|
|
|
1772
1772
|
onPreviousClick: S
|
|
1773
1773
|
}
|
|
1774
1774
|
),
|
|
1775
|
-
/* @__PURE__ */ t("div", { className: "mx-cmn-calendar-header-row", children: f[0].map((w, D) => /* @__PURE__ */ t("div", { className: "mx-cmn-calendar-header-cell", children: /* @__PURE__ */ t(p, { bold: !0, variant: "Small", children:
|
|
1775
|
+
/* @__PURE__ */ t("div", { className: "mx-cmn-calendar-header-row", children: f[0].map((w, D) => /* @__PURE__ */ t("div", { className: "mx-cmn-calendar-header-cell", children: /* @__PURE__ */ t(p, { bold: !0, variant: "Small", children: Ve(w, "EEEEE") }) }, D)) }),
|
|
1776
1776
|
f.map((w, D) => /* @__PURE__ */ t("div", { className: "mx-cmn-calendar-week", children: w.map((_, O) => /* @__PURE__ */ t(
|
|
1777
1777
|
el,
|
|
1778
1778
|
{
|
|
@@ -2327,7 +2327,7 @@ const nl = ({
|
|
|
2327
2327
|
}, we = () => {
|
|
2328
2328
|
const U = iA(String(v)).guid;
|
|
2329
2329
|
U && a?.(U);
|
|
2330
|
-
},
|
|
2330
|
+
}, Ye = (U) => {
|
|
2331
2331
|
const ye = String(U?.seriesId), Pe = iA(ye).guid, NA = he.find((Lt) => Lt.id === ye), _n = NA && U?.dataIndex !== void 0, Nn = NA && U?.dataIndex === void 0;
|
|
2332
2332
|
if (_n)
|
|
2333
2333
|
f({
|
|
@@ -2399,7 +2399,7 @@ const nl = ({
|
|
|
2399
2399
|
height: o || 400,
|
|
2400
2400
|
margin: { bottom: 50 },
|
|
2401
2401
|
onAreaClick: we,
|
|
2402
|
-
onHighlightChange:
|
|
2402
|
+
onHighlightChange: Ye,
|
|
2403
2403
|
series: he,
|
|
2404
2404
|
skipAnimation: !0,
|
|
2405
2405
|
slotProps: {
|
|
@@ -3382,7 +3382,7 @@ const dr = "connect_widget", ur = "connections_widget", Il = ({
|
|
|
3382
3382
|
"& .MuiInputBase-adornedStart > .p": {
|
|
3383
3383
|
marginRight: e.Spacing.Tiny
|
|
3384
3384
|
}
|
|
3385
|
-
}),
|
|
3385
|
+
}), Je = ({ label: e = "", size: A = 32 }) => {
|
|
3386
3386
|
const n = qe();
|
|
3387
3387
|
return /* @__PURE__ */ l(y, { alignItems: "center", gap: n.Spacing.XLarge, height: 450, justifyContent: "center", children: [
|
|
3388
3388
|
/* @__PURE__ */ t(na, { size: A }),
|
|
@@ -4546,7 +4546,7 @@ const kl = [
|
|
|
4546
4546
|
const d = s.tags.some(
|
|
4547
4547
|
(h) => dA(o, A.find((C) => C.guid === h)?.name)
|
|
4548
4548
|
), u = Le(s.date);
|
|
4549
|
-
return dA(o, s.payee) || dA(o, s.feed_description) || dA(o, s.category) || dA(o, te(u, Z.MONTH)) || dA(o, te(u, Z.DAY)) || dA(o, te(u, Z.FULL_MONTH_DAY)) || dA(o, te(u, Z.MONTH_DAY_YEAR)) || dA(o,
|
|
4549
|
+
return dA(o, s.payee) || dA(o, s.feed_description) || dA(o, s.category) || dA(o, te(u, Z.MONTH)) || dA(o, te(u, Z.DAY)) || dA(o, te(u, Z.FULL_MONTH_DAY)) || dA(o, te(u, Z.MONTH_DAY_YEAR)) || dA(o, Ve(u, vc)) || dA(o, s.account) || dA(o, `${s.amount}`) || dA(o, s.memo) || d;
|
|
4550
4550
|
});
|
|
4551
4551
|
}, Wl = (e, A, n) => [...e].sort((a, r) => {
|
|
4552
4552
|
const i = A, o = (a[i] || "") > (r[i] || "");
|
|
@@ -4826,7 +4826,7 @@ const rA = () => {
|
|
|
4826
4826
|
r.href = `data:attachment/csv;charset=utf-8,${a}`, r.download = "transactions.csv", document.body.appendChild(r), r.click(), document.body.removeChild(r);
|
|
4827
4827
|
}, Ad = (e, A) => e.map((n) => ({
|
|
4828
4828
|
// TODO: Data format should be localized
|
|
4829
|
-
Date:
|
|
4829
|
+
Date: Ve(Le(n.date), "MM/dd/yy"),
|
|
4830
4830
|
Description: nd(n),
|
|
4831
4831
|
"Original Description": n.feed_description,
|
|
4832
4832
|
Amount: `${n.amount}`,
|
|
@@ -4905,7 +4905,7 @@ const rA = () => {
|
|
|
4905
4905
|
}, Er = 65, br = 34, cd = ({
|
|
4906
4906
|
bgcolor: e,
|
|
4907
4907
|
height: A = "calc(100dvh - 36px)",
|
|
4908
|
-
loader: n = /* @__PURE__ */ t(
|
|
4908
|
+
loader: n = /* @__PURE__ */ t(Je, { label: "Loading", size: 40 }),
|
|
4909
4909
|
onClick: a,
|
|
4910
4910
|
showInsights: r = !1,
|
|
4911
4911
|
showLoader: i = !1,
|
|
@@ -5519,11 +5519,11 @@ const yd = ({
|
|
|
5519
5519
|
const A = [], n = ie();
|
|
5520
5520
|
for (let a = 0; a <= wr; a++) {
|
|
5521
5521
|
const r = De(yA(n, wr - a)), o = e.filter(
|
|
5522
|
-
(s) => s.year_month === Number(
|
|
5522
|
+
(s) => s.year_month === Number(Ve(r, "yyyyMM"))
|
|
5523
5523
|
).reduce((s, c) => s + c.total, 0);
|
|
5524
5524
|
A.push({
|
|
5525
5525
|
amount: o,
|
|
5526
|
-
isoDate:
|
|
5526
|
+
isoDate: Ve(r, "yyyy-MM-dd"),
|
|
5527
5527
|
label: te(r, Z.MONTH_YEAR)
|
|
5528
5528
|
});
|
|
5529
5529
|
}
|
|
@@ -6906,8 +6906,8 @@ const ji = ({ transaction: e }) => {
|
|
|
6906
6906
|
selectedAccounts: F,
|
|
6907
6907
|
setDisplayedDate: Y,
|
|
6908
6908
|
setSelectedAccounts: Ae
|
|
6909
|
-
} = ve(), [ue, me] = g.useState(""), [he, be] = g.useState(""), [iA, IA] = g.useState(!1), [At, we] = g.useState(!1), [
|
|
6910
|
-
g.useEffect(() => {
|
|
6909
|
+
} = ve(), [ue, me] = g.useState(""), [he, be] = g.useState(""), [iA, IA] = g.useState(!1), [At, we] = g.useState(!1), [Ye, _A] = g.useState(!1);
|
|
6910
|
+
console.log("oh hey, steph is here! isWidgetInitialized?", Ye), g.useEffect(() => {
|
|
6911
6911
|
Ae(r);
|
|
6912
6912
|
}, [r]), g.useEffect(() => {
|
|
6913
6913
|
const ze = De(ie()), za = Re(ie());
|
|
@@ -6916,7 +6916,7 @@ const ji = ({ transaction: e }) => {
|
|
|
6916
6916
|
accounts: F.map((Po) => Po.guid)
|
|
6917
6917
|
}), _A(!0), x(G.TRANSACTIONS_VIEW);
|
|
6918
6918
|
}, []), g.useEffect(() => {
|
|
6919
|
-
|
|
6919
|
+
Ye && (E({
|
|
6920
6920
|
...f,
|
|
6921
6921
|
dateRange: { start: z.start, end: z.end },
|
|
6922
6922
|
accounts: q
|
|
@@ -6952,7 +6952,7 @@ const ji = ({ transaction: e }) => {
|
|
|
6952
6952
|
}, Mn = () => {
|
|
6953
6953
|
we(!1), i();
|
|
6954
6954
|
};
|
|
6955
|
-
return !K || !
|
|
6955
|
+
return !K || !Ye ? /* @__PURE__ */ t(Je, {}) : /* @__PURE__ */ l(
|
|
6956
6956
|
SA,
|
|
6957
6957
|
{
|
|
6958
6958
|
accountOptions: r,
|
|
@@ -7351,25 +7351,25 @@ const ji = ({ transaction: e }) => {
|
|
|
7351
7351
|
gridColumn: 1,
|
|
7352
7352
|
zIndex: 2
|
|
7353
7353
|
}, In = (e) => e ? { margin: "0 0 -6px -4px" } : void 0, Ia = ({ isOffset: e = !1, size: A = 16 }) => /* @__PURE__ */ t(QA, { size: A, sx: { ...In(e) }, children: /* @__PURE__ */ t(Vs, { color: "primary", sx: { fontSize: A, ...Tn } }) }), La = ({ isOffset: e = !1, size: A = 16 }) => /* @__PURE__ */ t(QA, { size: A, sx: { ...In(e) }, children: /* @__PURE__ */ t(Js, { sx: { color: "categories.income", fontSize: A, ...Tn } }) }), Da = ({ isOffset: e = !1, size: A = 16 }) => /* @__PURE__ */ t(QA, { size: A, sx: { ...In(e) }, children: /* @__PURE__ */ t(rn, { color: "error", sx: { fontSize: A, ...Tn } }) }), xa = ({ isOffset: e = !1, size: A = 16 }) => /* @__PURE__ */ t(QA, { size: A, sx: { ...In(e) }, children: /* @__PURE__ */ t(ca, { color: "success", sx: { fontSize: A, ...Tn } }) }), Lr = ({ copy: e, date: A, type: n }) => {
|
|
7354
|
-
let a = A && hi(A) ? P(e.monthly_ordinal,
|
|
7354
|
+
let a = A && hi(A) ? P(e.monthly_ordinal, Ve(A, "do")) : e.monthly;
|
|
7355
7355
|
switch (n) {
|
|
7356
7356
|
case X.EveryQuarter:
|
|
7357
|
-
a = A ? P(e.quarterly_ordinal,
|
|
7357
|
+
a = A ? P(e.quarterly_ordinal, Ve(A, "do")) : e.quarterly;
|
|
7358
7358
|
break;
|
|
7359
7359
|
case X.EveryWeek:
|
|
7360
|
-
a = A ? P(e.weekly_ordinal,
|
|
7360
|
+
a = A ? P(e.weekly_ordinal, Ve(A, "do")) : e.weekly;
|
|
7361
7361
|
break;
|
|
7362
7362
|
case X.EveryYear:
|
|
7363
|
-
a = A ? P(e.anually_ordinal,
|
|
7363
|
+
a = A ? P(e.anually_ordinal, Ve(A, "do")) : e.anually;
|
|
7364
7364
|
break;
|
|
7365
7365
|
case X.EveryOtherWeek:
|
|
7366
|
-
a = A ? P(e.every_other_week_ordinal,
|
|
7366
|
+
a = A ? P(e.every_other_week_ordinal, Ve(A, "do")) : e.every_other_week;
|
|
7367
7367
|
break;
|
|
7368
7368
|
case X.EveryOtherMonth:
|
|
7369
|
-
a = A ? P(e.every_other_month_ordinal,
|
|
7369
|
+
a = A ? P(e.every_other_month_ordinal, Ve(A, "do")) : e.every_other_month;
|
|
7370
7370
|
break;
|
|
7371
7371
|
case X.EveryOtherQuarter:
|
|
7372
|
-
a = A ? P(e.every_other_quarter_ordinal,
|
|
7372
|
+
a = A ? P(e.every_other_quarter_ordinal, Ve(A, "do")) : e.every_other_quarter;
|
|
7373
7373
|
break;
|
|
7374
7374
|
}
|
|
7375
7375
|
return a;
|
|
@@ -10215,7 +10215,7 @@ const tn = {
|
|
|
10215
10215
|
n && A([a]).finally(() => {
|
|
10216
10216
|
i(!0);
|
|
10217
10217
|
});
|
|
10218
|
-
}, [n, a]), !n || !r ? /* @__PURE__ */ t(
|
|
10218
|
+
}, [n, a]), !n || !r ? /* @__PURE__ */ t(Je, {}) : /* @__PURE__ */ l(
|
|
10219
10219
|
pA,
|
|
10220
10220
|
{
|
|
10221
10221
|
sx: {
|
|
@@ -10853,7 +10853,7 @@ const yg = ({
|
|
|
10853
10853
|
x && m(x), z && C(z), i(!0);
|
|
10854
10854
|
}, O = () => {
|
|
10855
10855
|
};
|
|
10856
|
-
return !u || !n ? /* @__PURE__ */ t(
|
|
10856
|
+
return !u || !n ? /* @__PURE__ */ t(Je, {}) : /* @__PURE__ */ l(
|
|
10857
10857
|
SA,
|
|
10858
10858
|
{
|
|
10859
10859
|
accountOptions: I,
|
|
@@ -12030,7 +12030,7 @@ const lo = T(
|
|
|
12030
12030
|
sx: A,
|
|
12031
12031
|
title: s.title,
|
|
12032
12032
|
children: [
|
|
12033
|
-
!i && /* @__PURE__ */ t(
|
|
12033
|
+
!i && /* @__PURE__ */ t(Je, {}),
|
|
12034
12034
|
i && /* @__PURE__ */ l(y, { mx: a ? 0 : 48, my: 24, children: [
|
|
12035
12035
|
/* @__PURE__ */ l(
|
|
12036
12036
|
OA,
|
|
@@ -12260,7 +12260,7 @@ const Vg = /^[ a-zA-ZÀ-ÿ0-9]+$/, Jg = 50, Kr = 65, Zg = ({
|
|
|
12260
12260
|
),
|
|
12261
12261
|
/* @__PURE__ */ t(gA, { sx: { boxShadow: "none" }, children: /* @__PURE__ */ t(ne, { children: /* @__PURE__ */ l(N, { height: e, overflow: "auto", ref: u, children: [
|
|
12262
12262
|
/* @__PURE__ */ l(N, { height: h.getTotalSize(), position: "relative", children: [
|
|
12263
|
-
n && /* @__PURE__ */ t(
|
|
12263
|
+
n && /* @__PURE__ */ t(Je, { label: "Loading...", size: 32 }),
|
|
12264
12264
|
!n && h.getVirtualItems().length > 0 && h.getVirtualItems().map((C) => {
|
|
12265
12265
|
const m = a[C.index];
|
|
12266
12266
|
return /* @__PURE__ */ l(
|
|
@@ -12328,7 +12328,7 @@ const go = 13, e1 = (e, A) => e.filter((n) => {
|
|
|
12328
12328
|
return e[e.length - 1];
|
|
12329
12329
|
}, t1 = (e, A) => e.year_month - A.year_month, n1 = () => Array.from({ length: go }, (e, A) => Math.floor(De(yA(/* @__PURE__ */ new Date(), A)).getTime() / 1e3)).sort(), a1 = (e, A, n) => !e.length || !A.length ? [] : n1().reduceRight((r, i) => {
|
|
12330
12330
|
const o = A.filter(
|
|
12331
|
-
({ year_month: u }) => u === parseInt(
|
|
12331
|
+
({ year_month: u }) => u === parseInt(Ve(Le(i), "yyyyMM"))
|
|
12332
12332
|
), s = e.map((u) => {
|
|
12333
12333
|
const h = o.find((m) => m.account_guid === u.guid), C = {
|
|
12334
12334
|
change: 0,
|
|
@@ -12468,7 +12468,7 @@ const s1 = ({
|
|
|
12468
12468
|
selectedData: i
|
|
12469
12469
|
}) => {
|
|
12470
12470
|
const { isMobile: o } = Be(), { availableWidth: s } = st(), c = cA(), d = s - 320, u = e.map((f) => ({
|
|
12471
|
-
x:
|
|
12471
|
+
x: Ve(Le(f.x), "MMM"),
|
|
12472
12472
|
y: f.y
|
|
12473
12473
|
})), h = i ? { index: e.findIndex((f) => f.x === i.x) } : void 0, C = A ? { index: e.findIndex((f) => f.x === A.x) } : void 0, m = (f) => ({
|
|
12474
12474
|
fill: f === h?.index ? c.palette.success.main : "",
|
|
@@ -12867,7 +12867,7 @@ const s1 = ({
|
|
|
12867
12867
|
)
|
|
12868
12868
|
] })
|
|
12869
12869
|
}
|
|
12870
|
-
) : /* @__PURE__ */ t(
|
|
12870
|
+
) : /* @__PURE__ */ t(Je, {});
|
|
12871
12871
|
}), E8 = (e) => {
|
|
12872
12872
|
switch (e) {
|
|
12873
12873
|
case 1:
|
|
@@ -12988,7 +12988,7 @@ const S1 = (e, A) => {
|
|
|
12988
12988
|
return DA(() => () => {
|
|
12989
12989
|
a().finally();
|
|
12990
12990
|
}, []), /* @__PURE__ */ l(gs, { sx: { p: 16 }, children: [
|
|
12991
|
-
A && /* @__PURE__ */ t(
|
|
12991
|
+
A && /* @__PURE__ */ t(Je, { label: r?.loading, size: 40 }),
|
|
12992
12992
|
!A && n.length === 0 && /* @__PURE__ */ t(vA, { sx: { p: 16 }, children: /* @__PURE__ */ t(p, { fontStyle: "italic", sx: { textAlign: "center" }, children: r.no_notifications }) }),
|
|
12993
12993
|
!A && n.slice().sort((o, s) => s.delivered_at - o.delivered_at).map((o, s) => {
|
|
12994
12994
|
const c = S1(s, n);
|
|
@@ -13828,7 +13828,7 @@ const kn = ({
|
|
|
13828
13828
|
onBackClick: e,
|
|
13829
13829
|
sx: A,
|
|
13830
13830
|
title: c.title,
|
|
13831
|
-
children: r ? /* @__PURE__ */ t(
|
|
13831
|
+
children: r ? /* @__PURE__ */ t(Je, {}) : /* @__PURE__ */ l(V, { children: [
|
|
13832
13832
|
/* @__PURE__ */ l(N, { sx: { px: h ? 24 : 12 }, children: [
|
|
13833
13833
|
u.length < 1 && /* @__PURE__ */ t(p, { display: "flex", justifyContent: "center", my: 24, children: c.no_accounts }),
|
|
13834
13834
|
/* @__PURE__ */ t(W1, {})
|
|
@@ -14720,7 +14720,7 @@ const pC = ({
|
|
|
14720
14720
|
click_type: "bubble"
|
|
14721
14721
|
});
|
|
14722
14722
|
};
|
|
14723
|
-
return o ? /* @__PURE__ */ t(y, { alignItems: "center", height: e, justifyContent: "center", width: Math.abs(u), children: /* @__PURE__ */ t(
|
|
14723
|
+
return o ? /* @__PURE__ */ t(y, { alignItems: "center", height: e, justifyContent: "center", width: Math.abs(u), children: /* @__PURE__ */ t(Je, {}) }) : /* @__PURE__ */ t(N, { ml: n || d ? 0 : 24, children: n || !s ? /* @__PURE__ */ t(vC, {}) : /* @__PURE__ */ t(
|
|
14724
14724
|
fC,
|
|
14725
14725
|
{
|
|
14726
14726
|
height: e,
|
|
@@ -15330,7 +15330,7 @@ const pC = ({
|
|
|
15330
15330
|
}, Y = () => {
|
|
15331
15331
|
z(!1);
|
|
15332
15332
|
}, Ae = ft(C.end, De(/* @__PURE__ */ new Date()));
|
|
15333
|
-
return !s || !_ ? /* @__PURE__ */ t(
|
|
15333
|
+
return !s || !_ ? /* @__PURE__ */ t(Je, {}) : /* @__PURE__ */ l(
|
|
15334
15334
|
SA,
|
|
15335
15335
|
{
|
|
15336
15336
|
accountOptions: r,
|
|
@@ -15347,7 +15347,7 @@ const pC = ({
|
|
|
15347
15347
|
sx: A,
|
|
15348
15348
|
title: i.budgets_title,
|
|
15349
15349
|
children: [
|
|
15350
|
-
(!s || !_) && /* @__PURE__ */ t(
|
|
15350
|
+
(!s || !_) && /* @__PURE__ */ t(Je, {}),
|
|
15351
15351
|
s && _ && /* @__PURE__ */ l(y, { direction: S || w ? "row" : "column", height: "100%", width: "100%", children: [
|
|
15352
15352
|
/* @__PURE__ */ t(y, { height: S || w ? "calc(100dvh - 150px)" : 450, children: /* @__PURE__ */ t(
|
|
15353
15353
|
po,
|
|
@@ -18471,7 +18471,7 @@ const Vt = g.createContext(null), em = ({
|
|
|
18471
18471
|
const u = (h) => {
|
|
18472
18472
|
i(h[0], h[1]);
|
|
18473
18473
|
};
|
|
18474
|
-
return !r || !c ? /* @__PURE__ */ t(
|
|
18474
|
+
return !r || !c ? /* @__PURE__ */ t(Je, {}) : /* @__PURE__ */ t(
|
|
18475
18475
|
SA,
|
|
18476
18476
|
{
|
|
18477
18477
|
accountOptions: n,
|
|
@@ -18677,27 +18677,27 @@ const Fm = (e) => e.reduce((n, a) => {
|
|
|
18677
18677
|
d,
|
|
18678
18678
|
K.start,
|
|
18679
18679
|
K.end
|
|
18680
|
-
),
|
|
18680
|
+
), Ye = x.length ? we.filter(
|
|
18681
18681
|
(_A) => _A.top_level_category_guid === x || _A.category_guid === x
|
|
18682
18682
|
) : Xh(we);
|
|
18683
18683
|
return {
|
|
18684
|
-
stackedDatasets:
|
|
18685
|
-
unstackedDatasets:
|
|
18684
|
+
stackedDatasets: Ye.filter(Gh),
|
|
18685
|
+
unstackedDatasets: Ye.filter(Dn)
|
|
18686
18686
|
};
|
|
18687
18687
|
}, [d, x, K]), Y = g.useMemo(() => {
|
|
18688
18688
|
const we = te(
|
|
18689
18689
|
K.start,
|
|
18690
18690
|
o ? Z.MONTH_SHORT_YEAR : Z.MONTH_YEAR
|
|
18691
|
-
),
|
|
18691
|
+
), Ye = te(
|
|
18692
18692
|
K.end,
|
|
18693
18693
|
o ? Z.MONTH_SHORT_YEAR : Z.MONTH_YEAR
|
|
18694
18694
|
);
|
|
18695
|
-
return `${we} - ${
|
|
18696
|
-
}, [K, o]), Ae = (we,
|
|
18697
|
-
O(
|
|
18695
|
+
return `${we} - ${Ye}`;
|
|
18696
|
+
}, [K, o]), Ae = (we, Ye) => {
|
|
18697
|
+
O(Ye ?? _), a(G.TRENDS_CLICK_TOGGLE);
|
|
18698
18698
|
}, ue = (we) => {
|
|
18699
|
-
const
|
|
18700
|
-
q({ start:
|
|
18699
|
+
const Ye = Za(we?.[0], 1), _A = we?.[1], It = pc(_A, Ye);
|
|
18700
|
+
q({ start: Ye, end: _A }), a(G.TRENDS_CLICK_DATE, {
|
|
18701
18701
|
time_period: It + "M"
|
|
18702
18702
|
});
|
|
18703
18703
|
}, me = () => {
|
|
@@ -18713,7 +18713,7 @@ const Fm = (e) => e.reduce((n, a) => {
|
|
|
18713
18713
|
}, At = (we) => {
|
|
18714
18714
|
a(G.TRENDS_HOVER_POINT, { category: we });
|
|
18715
18715
|
};
|
|
18716
|
-
return !C || !I ? /* @__PURE__ */ t(
|
|
18716
|
+
return !C || !I ? /* @__PURE__ */ t(Je, {}) : /* @__PURE__ */ l(
|
|
18717
18717
|
SA,
|
|
18718
18718
|
{
|
|
18719
18719
|
accountOptions: s,
|
|
@@ -18865,7 +18865,7 @@ const Fm = (e) => e.reduce((n, a) => {
|
|
|
18865
18865
|
a && n(i).finally(() => {
|
|
18866
18866
|
s(!0);
|
|
18867
18867
|
});
|
|
18868
|
-
}, [a, i]), !a || !o ? /* @__PURE__ */ t(
|
|
18868
|
+
}, [a, i]), !a || !o ? /* @__PURE__ */ t(Je, {}) : /* @__PURE__ */ t(
|
|
18869
18869
|
ct,
|
|
18870
18870
|
{
|
|
18871
18871
|
onPrimaryCtaClick: e,
|
|
@@ -18967,7 +18967,7 @@ export {
|
|
|
18967
18967
|
pa as LineChart,
|
|
18968
18968
|
ZA as ListItemAction,
|
|
18969
18969
|
xl as ListItemWrapper,
|
|
18970
|
-
|
|
18970
|
+
Je as Loader,
|
|
18971
18971
|
n8 as LocalizedCopyApi,
|
|
18972
18972
|
O8 as ManageAccountsDrawer,
|
|
18973
18973
|
Oa as ManageIncome,
|