@mx-cartographer/experiences 6.3.4-alpha.sms8 → 6.3.4-alpha.sms9
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 +60 -60
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { jsx as t, jsxs as l, Fragment as Z } from "react/jsx-runtime";
|
2
|
-
import g, { useMemo as xl, useRef as ws, useEffect as
|
2
|
+
import g, { useMemo as xl, useRef as ws, useEffect as Yn, useState as Et } from "react";
|
3
3
|
import { observer as A } from "mobx-react-lite";
|
4
4
|
import L from "@mui/material/Box";
|
5
5
|
import k from "@mui/material/Divider";
|
@@ -86,7 +86,7 @@ import xd, { SurveyQuestionType as rr } from "posthog-js";
|
|
86
86
|
import { differenceInDays as Id } from "date-fns/differenceInDays";
|
87
87
|
import Ca from "@mui/icons-material/ChevronRight";
|
88
88
|
import fa from "@mui/icons-material/ExpandMore";
|
89
|
-
import { DataGridPro as
|
89
|
+
import { DataGridPro as Xn } from "@mui/x-data-grid-pro";
|
90
90
|
import { intervalToDuration as vd, formatDuration as wd, getDate as sr, fromUnixTime as vi, startOfMonth as cr, format as On, differenceInMonths as Nd, isSameDay as Dd, subDays as Rd, startOfToday as Od, endOfToday as Ld } from "date-fns";
|
91
91
|
import In from "@mui/material/Alert";
|
92
92
|
import Mi from "@mui/material/Snackbar";
|
@@ -399,7 +399,7 @@ const su = [
|
|
399
399
|
20
|
400
400
|
/* IMPAIRED */
|
401
401
|
], Ks = [...Vs, ...Us];
|
402
|
-
var
|
402
|
+
var zn = /* @__PURE__ */ ((e) => (e.Connected = "Connected", e.Error = "Error", e.Processing = "Processing", e.RequiresMfa = "RequiresMfa", e))(zn || {});
|
403
403
|
const H2 = {
|
404
404
|
3: "Challenged",
|
405
405
|
12: "Closed",
|
@@ -1420,7 +1420,7 @@ const Su = (e, n) => {
|
|
1420
1420
|
isTablet: bn(ge().breakpoints.between("sm", "lg"))
|
1421
1421
|
}), j2 = (e) => {
|
1422
1422
|
const n = ws();
|
1423
|
-
return
|
1423
|
+
return Yn(() => {
|
1424
1424
|
n.current = e;
|
1425
1425
|
}, [e]), n.current;
|
1426
1426
|
}, nc = ({
|
@@ -2227,13 +2227,13 @@ const Pu = ({
|
|
2227
2227
|
}
|
2228
2228
|
)
|
2229
2229
|
] });
|
2230
|
-
},
|
2230
|
+
}, qn = g.createContext(null), q2 = ({
|
2231
2231
|
children: e,
|
2232
2232
|
globalStore: n,
|
2233
2233
|
onEvent: i,
|
2234
2234
|
onPageView: a
|
2235
2235
|
}) => /* @__PURE__ */ t(
|
2236
|
-
|
2236
|
+
qn.Provider,
|
2237
2237
|
{
|
2238
2238
|
value: {
|
2239
2239
|
globalStore: n,
|
@@ -2254,7 +2254,7 @@ const Pu = ({
|
|
2254
2254
|
children: e
|
2255
2255
|
}
|
2256
2256
|
), qe = (e = "useGlobalStore") => {
|
2257
|
-
const n = g.useContext(
|
2257
|
+
const n = g.useContext(qn);
|
2258
2258
|
if (!n)
|
2259
2259
|
throw new Error(`${e}() must be used within the GlobalDataContext`);
|
2260
2260
|
return n;
|
@@ -2297,7 +2297,7 @@ const Pu = ({
|
|
2297
2297
|
chartContainerRef: o
|
2298
2298
|
}) => {
|
2299
2299
|
const r = tt(), s = ws(null), [c, d] = Et({ x: a.x, y: a.y });
|
2300
|
-
if (
|
2300
|
+
if (Yn(() => {
|
2301
2301
|
(() => {
|
2302
2302
|
const h = s.current, m = o.current;
|
2303
2303
|
if (!h || !m) return;
|
@@ -4307,7 +4307,7 @@ class f_ {
|
|
4307
4307
|
};
|
4308
4308
|
}
|
4309
4309
|
const hi = () => {
|
4310
|
-
if (!g.useContext(
|
4310
|
+
if (!g.useContext(qn))
|
4311
4311
|
throw new Error("useCashflowUiStore() must be used within the GlobalDataContext");
|
4312
4312
|
return wo().uiStore;
|
4313
4313
|
}, b_ = ({ remaining: e }) => {
|
@@ -5206,7 +5206,7 @@ class G_ {
|
|
5206
5206
|
};
|
5207
5207
|
}
|
5208
5208
|
const xt = () => {
|
5209
|
-
if (!g.useContext(
|
5209
|
+
if (!g.useContext(qn))
|
5210
5210
|
throw new Error("useTransactionsUiStore() must be used within the GlobalDataContext");
|
5211
5211
|
return Te().uiStore;
|
5212
5212
|
}, mc = (e, n) => {
|
@@ -5501,7 +5501,7 @@ const xt = () => {
|
|
5501
5501
|
}
|
5502
5502
|
];
|
5503
5503
|
return /* @__PURE__ */ t(Tt, { sx: { height: e, px: 24, width: "100%", boxShadow: "none" }, children: /* @__PURE__ */ t(
|
5504
|
-
|
5504
|
+
Xn,
|
5505
5505
|
{
|
5506
5506
|
columns: _,
|
5507
5507
|
disableColumnFilter: !0,
|
@@ -5515,7 +5515,7 @@ const xt = () => {
|
|
5515
5515
|
}
|
5516
5516
|
) });
|
5517
5517
|
}, th = A(eh), pn = () => {
|
5518
|
-
if (!g.useContext(
|
5518
|
+
if (!g.useContext(qn))
|
5519
5519
|
throw new Error("useCategoryUiStore() must be used within the GlobalDataContext");
|
5520
5520
|
return Ke().uiStore;
|
5521
5521
|
}, Qt = {
|
@@ -7108,7 +7108,7 @@ const fc = ({ transaction: e }) => {
|
|
7108
7108
|
i.is_manual && /* @__PURE__ */ t(Ah, { transaction: i })
|
7109
7109
|
] }) })
|
7110
7110
|
] }) }) : /* @__PURE__ */ t(he, {});
|
7111
|
-
},
|
7111
|
+
}, Zn = A(Xh), qh = ({ copy: e, isOpen: n, onClose: i, onPrimaryAction: a }) => {
|
7112
7112
|
const { common: o, transactions: r } = x(), { isCopyLoaded: s } = _e();
|
7113
7113
|
return s ? /* @__PURE__ */ l(
|
7114
7114
|
Be,
|
@@ -7433,7 +7433,7 @@ const fc = ({ transaction: e }) => {
|
|
7433
7433
|
isOpen: Re === "transaction",
|
7434
7434
|
onClose: Al,
|
7435
7435
|
title: D.details_title,
|
7436
|
-
children: Me && /* @__PURE__ */ t(
|
7436
|
+
children: Me && /* @__PURE__ */ t(Zn, { transaction: Me })
|
7437
7437
|
}
|
7438
7438
|
),
|
7439
7439
|
Me && Re === "category" && /* @__PURE__ */ t(
|
@@ -7731,7 +7731,7 @@ const fc = ({ transaction: e }) => {
|
|
7731
7731
|
isOpen: !!f,
|
7732
7732
|
onClose: () => E(""),
|
7733
7733
|
title: i.transaction_details_drawer_title,
|
7734
|
-
children: v && /* @__PURE__ */ t(
|
7734
|
+
children: v && /* @__PURE__ */ t(Zn, { transaction: v })
|
7735
7735
|
}
|
7736
7736
|
),
|
7737
7737
|
/* @__PURE__ */ t(
|
@@ -8080,7 +8080,7 @@ const fc = ({ transaction: e }) => {
|
|
8080
8080
|
}
|
8081
8081
|
) })
|
8082
8082
|
] });
|
8083
|
-
}, wc = A(gg), Di = (e) => e.top_level_category_guid !== N.INCOME && e.transaction_type === St.DEBIT, Nc = (e, n) => Di(e) ? e.payee?.toLowerCase().includes(n.toLowerCase()) || e.description.toLowerCase().includes(n.toLowerCase()) || e.feed_description.toLowerCase().includes(n.toLowerCase()) : !1,
|
8083
|
+
}, wc = A(gg), Di = (e) => e.top_level_category_guid !== N.INCOME && e.transaction_type === St.DEBIT, Nc = (e, n) => Di(e) ? e.payee?.toLowerCase().includes(n.toLowerCase()) || e.description.toLowerCase().includes(n.toLowerCase()) || e.feed_description.toLowerCase().includes(n.toLowerCase()) : !1, jn = (e) => e.top_level_category_guid === N.INCOME || e.top_level_category_guid === N.TRANSFER && e.transaction_type === St.CREDIT, Bo = (e, n) => jn(e) ? e.payee?.toLowerCase().includes(n.toLowerCase()) || e.description?.toLowerCase().includes(n.toLowerCase()) || e.feed_description?.toLowerCase().includes(n.toLowerCase()) : !1, mg = ({
|
8084
8084
|
isIncome: e = !1,
|
8085
8085
|
label: n,
|
8086
8086
|
onAddActivity: i = () => null
|
@@ -8089,7 +8089,7 @@ const fc = ({ transaction: e }) => {
|
|
8089
8089
|
() => _.find((D) => D.guid === m),
|
8090
8090
|
[m]
|
8091
8091
|
), w = () => {
|
8092
|
-
h(!0), d(e ? { ...c, custom:
|
8092
|
+
h(!0), d(e ? { ...c, custom: jn } : { ...c, custom: Di });
|
8093
8093
|
}, I = async () => {
|
8094
8094
|
if (i(), !v || !y) {
|
8095
8095
|
R();
|
@@ -8132,7 +8132,7 @@ const fc = ({ transaction: e }) => {
|
|
8132
8132
|
onSearch: (D) => {
|
8133
8133
|
d({
|
8134
8134
|
...c,
|
8135
|
-
custom: (H) => e ? D ? Bo(H, D) :
|
8135
|
+
custom: (H) => e ? D ? Bo(H, D) : jn(H) : D ? Nc(H, D) : Di(H)
|
8136
8136
|
});
|
8137
8137
|
},
|
8138
8138
|
onSelected: (D) => C(D)
|
@@ -9202,7 +9202,7 @@ const Hg = {
|
|
9202
9202
|
r
|
9203
9203
|
);
|
9204
9204
|
let u;
|
9205
|
-
(e.connectionStatus ===
|
9205
|
+
(e.connectionStatus === zn.Error || e.connectionStatus === zn.RequiresMfa) && (u = /* @__PURE__ */ t($g, { size: 16 }));
|
9206
9206
|
const h = /* @__PURE__ */ l(Z, { children: [
|
9207
9207
|
/* @__PURE__ */ t(Pe, { children: /* @__PURE__ */ t(
|
9208
9208
|
bo,
|
@@ -9502,7 +9502,7 @@ const jg = ({ activity: e }) => /* @__PURE__ */ l(Z, { children: [
|
|
9502
9502
|
}
|
9503
9503
|
),
|
9504
9504
|
e > 650 ? /* @__PURE__ */ t(
|
9505
|
-
|
9505
|
+
Xn,
|
9506
9506
|
{
|
9507
9507
|
autoHeight: !0,
|
9508
9508
|
columnHeaderHeight: 48,
|
@@ -9894,7 +9894,7 @@ const jg = ({ activity: e }) => /* @__PURE__ */ l(Z, { children: [
|
|
9894
9894
|
// Beginning of the month, 90 days before today
|
9895
9895
|
We(dt(de(), 90)),
|
9896
9896
|
de()
|
9897
|
-
), h({ ...u, custom:
|
9897
|
+
), h({ ...u, custom: jn }), H(3);
|
9898
9898
|
}, ce = async () => {
|
9899
9899
|
if (!(O.length < 1)) {
|
9900
9900
|
w(!0);
|
@@ -9979,7 +9979,7 @@ const jg = ({ activity: e }) => /* @__PURE__ */ l(Z, { children: [
|
|
9979
9979
|
bgcolor: "background.paper",
|
9980
9980
|
onSearch: (oe) => h({
|
9981
9981
|
...u,
|
9982
|
-
custom: (me) => oe ? Bo(me, oe) :
|
9982
|
+
custom: (me) => oe ? Bo(me, oe) : jn(me)
|
9983
9983
|
}),
|
9984
9984
|
onSelected: (oe) => {
|
9985
9985
|
K(oe), E(!1);
|
@@ -10235,7 +10235,7 @@ function gm(e, n, i = 0) {
|
|
10235
10235
|
};
|
10236
10236
|
}
|
10237
10237
|
const Cn = () => {
|
10238
|
-
if (!g.useContext(
|
10238
|
+
if (!g.useContext(qn))
|
10239
10239
|
throw new Error("useCateUiStore() must be used within the GlobalDataContext");
|
10240
10240
|
return xa().uiStore;
|
10241
10241
|
}, mm = ({ debts: e, onClickCta: n, sx: i }) => {
|
@@ -10653,7 +10653,7 @@ const Cn = () => {
|
|
10653
10653
|
}
|
10654
10654
|
);
|
10655
10655
|
}, fm = A(Cm), $t = () => {
|
10656
|
-
if (!g.useContext(
|
10656
|
+
if (!g.useContext(qn))
|
10657
10657
|
throw new Error("useCategoryUiStore() must be used within the GlobalDataContext");
|
10658
10658
|
return ve().uiStore;
|
10659
10659
|
}, La = (e) => e.top_level_category_guid === N.INCOME || e.category_guid === N.INCOME, bm = (e) => !La(e) && !Bc(e), Gc = (e) => _r.includes(e.top_level_category_guid) || _r.includes(e.category_guid), Bc = (e) => e.top_level_category_guid === N.TRANSFER || e.category_guid === N.TRANSFER, ym = (e) => !La(e) && !Gc(e) && !Bc(e), Em = (e) => e.filter((n) => n.category_guid === n.top_level_category_guid), $o = (e, n) => {
|
@@ -11555,7 +11555,7 @@ const Kt = (e) => /* @__PURE__ */ t(p, { fontWeight: 600, variant: "Small", chil
|
|
11555
11555
|
...e
|
11556
11556
|
},
|
11557
11557
|
children: /* @__PURE__ */ t(
|
11558
|
-
|
11558
|
+
Xn,
|
11559
11559
|
{
|
11560
11560
|
columns: c ? m : h,
|
11561
11561
|
disableColumnFilter: !0,
|
@@ -12135,7 +12135,7 @@ const Cp = (e, n) => {
|
|
12135
12135
|
children: /* @__PURE__ */ l(b, { children: [
|
12136
12136
|
/* @__PURE__ */ t(Oe, { sx: { my: 12, mx: 24 }, children: n.reorder_goals_description }),
|
12137
12137
|
/* @__PURE__ */ t(
|
12138
|
-
|
12138
|
+
Xn,
|
12139
12139
|
{
|
12140
12140
|
columnHeaderHeight: 0,
|
12141
12141
|
columns: _,
|
@@ -14416,7 +14416,7 @@ const S1 = (e, n) => {
|
|
14416
14416
|
const { isLoading: i, loadNotifications: a, recentNotifications: o, markAllAsViewed: r } = cc(), { notifications: s } = x(), { isCopyLoaded: c } = _e(), d = (_) => {
|
14417
14417
|
e?.(_);
|
14418
14418
|
};
|
14419
|
-
return
|
14419
|
+
return Yn(() => (a().finally(), () => {
|
14420
14420
|
r().finally();
|
14421
14421
|
}), []), /* @__PURE__ */ l(Z, { children: [
|
14422
14422
|
(!c || i) && /* @__PURE__ */ t(he, { label: s?.loading, size: 40 }),
|
@@ -18261,7 +18261,7 @@ const EC = ({
|
|
18261
18261
|
device_type: `${c.make} ${c.model}`
|
18262
18262
|
})), [e]);
|
18263
18263
|
return /* @__PURE__ */ t(L, { sx: { width: "100%" }, children: /* @__PURE__ */ t(
|
18264
|
-
|
18264
|
+
Xn,
|
18265
18265
|
{
|
18266
18266
|
columns: r,
|
18267
18267
|
disableColumnFilter: !0,
|
@@ -19019,12 +19019,12 @@ const tl = A(
|
|
19019
19019
|
}
|
19020
19020
|
), kC = A(({ selectedTab: e }) => {
|
19021
19021
|
const { alert: n, setAlert: i } = Ht();
|
19022
|
-
return console.log("selectedTab steph", e), /* @__PURE__ */ l(Z, { children: [
|
19023
|
-
e ===
|
19024
|
-
e ===
|
19025
|
-
e ===
|
19026
|
-
e ===
|
19027
|
-
e ===
|
19022
|
+
return console.log("selectedTab steph", e), console.log("SettingsTab.Profile steph", Kn.Profile), /* @__PURE__ */ l(Z, { children: [
|
19023
|
+
e === Kn.Profile && /* @__PURE__ */ t(yC, {}),
|
19024
|
+
e === Kn.Devices && /* @__PURE__ */ t(xC, {}),
|
19025
|
+
e === Kn.Notifications && /* @__PURE__ */ t(tl, {}),
|
19026
|
+
e === Kn.TransactionRules && /* @__PURE__ */ t(RC, {}),
|
19027
|
+
e === Kn.Help && /* @__PURE__ */ t(mC, {}),
|
19028
19028
|
/* @__PURE__ */ t(
|
19029
19029
|
Mi,
|
19030
19030
|
{
|
@@ -19047,7 +19047,7 @@ const tl = A(
|
|
19047
19047
|
)
|
19048
19048
|
] });
|
19049
19049
|
});
|
19050
|
-
var
|
19050
|
+
var Kn = /* @__PURE__ */ ((e) => (e[e.Profile = 0] = "Profile", e[e.Devices = 1] = "Devices", e[e.Notifications = 2] = "Notifications", e[e.TransactionRules = 3] = "TransactionRules", e[e.Help = 4] = "Help", e))(Kn || {});
|
19051
19051
|
const h4 = A(({ onBackClick: e, sx: n }) => {
|
19052
19052
|
const { settings: i } = x(), { isCopyLoaded: a, isInitialized: o } = _e(), { config: r } = Wi(), { isMobile: s } = Ee(), c = ge(), {
|
19053
19053
|
display_user_profile_in_settings: d,
|
@@ -20329,7 +20329,7 @@ const Qa = ({
|
|
20329
20329
|
isOpen: !!e,
|
20330
20330
|
onClose: () => n(""),
|
20331
20331
|
title: o.transaction_drawer_title,
|
20332
|
-
children: /* @__PURE__ */ t(
|
20332
|
+
children: /* @__PURE__ */ t(Zn, { transaction: c })
|
20333
20333
|
}
|
20334
20334
|
)
|
20335
20335
|
] });
|
@@ -21179,9 +21179,9 @@ class Af {
|
|
21179
21179
|
(r) => r.guid === a.member_guid
|
21180
21180
|
);
|
21181
21181
|
if (o > -1) {
|
21182
|
-
let r =
|
21182
|
+
let r = zn.Connected;
|
21183
21183
|
const s = this.members[o];
|
21184
|
-
Vs.includes(s.connection_status) ? r =
|
21184
|
+
Vs.includes(s.connection_status) ? r = zn.Error : su.includes(s.connection_status) ? r = zn.Processing : Us.includes(s.connection_status) && (r = zn.RequiresMfa);
|
21185
21185
|
let c = a.user_name || a.feed_name || "";
|
21186
21186
|
a.account_number && (c = `${c} *${a.account_number}`), i.push({
|
21187
21187
|
...a,
|
@@ -21498,14 +21498,14 @@ function Hf({ bubble: e }) {
|
|
21498
21498
|
}
|
21499
21499
|
) });
|
21500
21500
|
}
|
21501
|
-
const
|
21501
|
+
const Qn = 75, ms = 50;
|
21502
21502
|
function $f({ bubble: e, isDraggable: n, onClick: i = () => {
|
21503
21503
|
} }) {
|
21504
21504
|
const [a, o] = g.useState(!1);
|
21505
21505
|
if (g.useEffect(() => {
|
21506
21506
|
document.fonts.ready.then(() => {
|
21507
21507
|
const S = Dt.select(`.icon-${c}`), v = S.node()?.getComputedTextLength();
|
21508
|
-
S.attr("x", () => h <
|
21508
|
+
S.attr("x", () => h < Qn ? v ? v / 2 - 12 : 12 : v ? v / 2 - 16 : 16);
|
21509
21509
|
});
|
21510
21510
|
}, []), !e) return;
|
21511
21511
|
const {
|
@@ -21556,14 +21556,14 @@ function $f({ bubble: e, isDraggable: n, onClick: i = () => {
|
|
21556
21556
|
className: `icon-${c}`,
|
21557
21557
|
component: "text",
|
21558
21558
|
name: c,
|
21559
|
-
size: h <=
|
21559
|
+
size: h <= Qn ? 24 : 32,
|
21560
21560
|
sx: {
|
21561
21561
|
fill: s
|
21562
21562
|
},
|
21563
21563
|
y: f
|
21564
21564
|
}
|
21565
21565
|
),
|
21566
|
-
h >
|
21566
|
+
h > Qn && /* @__PURE__ */ t(
|
21567
21567
|
p,
|
21568
21568
|
{
|
21569
21569
|
bold: !0,
|
@@ -21583,11 +21583,11 @@ function $f({ bubble: e, isDraggable: n, onClick: i = () => {
|
|
21583
21583
|
id: `budget-description-${_}-1`,
|
21584
21584
|
sx: { fill: s },
|
21585
21585
|
variant: "Body",
|
21586
|
-
y: h <=
|
21587
|
-
children: h <=
|
21586
|
+
y: h <= Qn ? 12 : 24,
|
21587
|
+
children: h <= Qn ? u.split(" ")[0] : u
|
21588
21588
|
}
|
21589
21589
|
),
|
21590
|
-
h <=
|
21590
|
+
h <= Qn && h > ms && /* @__PURE__ */ t(
|
21591
21591
|
p,
|
21592
21592
|
{
|
21593
21593
|
component: "text",
|
@@ -22131,7 +22131,7 @@ const Ff = ({
|
|
22131
22131
|
isOpen: !!h,
|
22132
22132
|
onClose: () => u(""),
|
22133
22133
|
title: n.details_transaction_drawer,
|
22134
|
-
children: h && /* @__PURE__ */ t(
|
22134
|
+
children: h && /* @__PURE__ */ t(Zn, { transaction: h })
|
22135
22135
|
}
|
22136
22136
|
)
|
22137
22137
|
] })
|
@@ -23595,7 +23595,7 @@ const d0 = ({ widgets: e, isLoading: n }) => {
|
|
23595
23595
|
}
|
23596
23596
|
];
|
23597
23597
|
return /* @__PURE__ */ t(Tt, { sx: { boxShadow: "none", width: "100%" }, children: /* @__PURE__ */ t(
|
23598
|
-
|
23598
|
+
Xn,
|
23599
23599
|
{
|
23600
23600
|
columns: Ft,
|
23601
23601
|
disableColumnFilter: !0,
|
@@ -24406,7 +24406,7 @@ const Ki = g.createContext(null), M0 = ({
|
|
24406
24406
|
}
|
24407
24407
|
), k0 = ({ beat: e }) => {
|
24408
24408
|
const [n, i] = Et(N.UNCATEGORIZED);
|
24409
|
-
return
|
24409
|
+
return Yn(() => {
|
24410
24410
|
e.primary_category_guid ? i(e.primary_category_guid) : e.category_guids?.length && i(e.category_guids[0]);
|
24411
24411
|
}, []), /* @__PURE__ */ t(kt, { categoryGuid: n, size: 16, sx: { minWidth: 16 } });
|
24412
24412
|
}, G0 = ({ beat: e }) => {
|
@@ -25300,7 +25300,7 @@ const Ki = g.createContext(null), M0 = ({
|
|
25300
25300
|
const { ref: C, inView: f } = Fs({
|
25301
25301
|
threshold: hl
|
25302
25302
|
}), { cardsCopy: E } = Vn(), { onEvent: y } = zi(), { updateBeat: S, updateOffer: v } = U0();
|
25303
|
-
|
25303
|
+
Yn(() => {
|
25304
25304
|
f && (i.has_been_displayed ? y(sl(i.template)) : (i.guid.startsWith("OFR") ? v({
|
25305
25305
|
...i,
|
25306
25306
|
has_been_displayed: !0
|
@@ -25308,7 +25308,7 @@ const Ki = g.createContext(null), M0 = ({
|
|
25308
25308
|
...i,
|
25309
25309
|
has_been_displayed: !0
|
25310
25310
|
}), y(cl(i.template))));
|
25311
|
-
}, [f]),
|
25311
|
+
}, [f]), Yn(() => {
|
25312
25312
|
if (f && i)
|
25313
25313
|
if (i.template === "MarketingOffer") {
|
25314
25314
|
const I = i;
|
@@ -25868,7 +25868,7 @@ const Ki = g.createContext(null), M0 = ({
|
|
25868
25868
|
const _ = ge(), { ref: u, inView: h } = Fs({
|
25869
25869
|
threshold: hl
|
25870
25870
|
}), { cardsCopy: m } = Vn(), { onEvent: C } = zi();
|
25871
|
-
|
25871
|
+
Yn(() => {
|
25872
25872
|
h && (C(ll.ON_VIEW_MORE_VIEWED), r?.capture("viewed_insight", {
|
25873
25873
|
template: "view_more_card"
|
25874
25874
|
}));
|
@@ -26082,7 +26082,7 @@ const Ki = g.createContext(null), M0 = ({
|
|
26082
26082
|
isOpen: !!m,
|
26083
26083
|
onClose: () => C(""),
|
26084
26084
|
title: i.transaction_details_drawer_title,
|
26085
|
-
children: f && /* @__PURE__ */ t(
|
26085
|
+
children: f && /* @__PURE__ */ t(Zn, { transaction: f })
|
26086
26086
|
}
|
26087
26087
|
),
|
26088
26088
|
/* @__PURE__ */ t(
|
@@ -26313,7 +26313,7 @@ const Ki = g.createContext(null), M0 = ({
|
|
26313
26313
|
() => s.find((I) => I.guid === u),
|
26314
26314
|
[u]
|
26315
26315
|
), S = () => {
|
26316
|
-
_(!0), r(e ? { ...o, custom:
|
26316
|
+
_(!0), r(e ? { ...o, custom: jn } : { ...o, custom: Di });
|
26317
26317
|
}, v = async () => {
|
26318
26318
|
if (!y || !f) {
|
26319
26319
|
w();
|
@@ -26358,7 +26358,7 @@ const Ki = g.createContext(null), M0 = ({
|
|
26358
26358
|
onSearch: (I) => {
|
26359
26359
|
r({
|
26360
26360
|
...o,
|
26361
|
-
custom: (R) => e ? I ? Bo(R, I) :
|
26361
|
+
custom: (R) => e ? I ? Bo(R, I) : jn(R) : I ? Nc(R, I) : Di(R)
|
26362
26362
|
});
|
26363
26363
|
},
|
26364
26364
|
onSelected: (I) => h(I)
|
@@ -27496,7 +27496,7 @@ const Ki = g.createContext(null), M0 = ({
|
|
27496
27496
|
isOpen: !!I,
|
27497
27497
|
onClose: () => E(""),
|
27498
27498
|
title: o.transaction_details_drawer_title,
|
27499
|
-
children: I && /* @__PURE__ */ t(
|
27499
|
+
children: I && /* @__PURE__ */ t(Zn, { transaction: I })
|
27500
27500
|
}
|
27501
27501
|
)
|
27502
27502
|
] });
|
@@ -27641,7 +27641,7 @@ const Ob = (e) => e.reduce((i, a) => {
|
|
27641
27641
|
return Object.values(f);
|
27642
27642
|
}, [e, i]);
|
27643
27643
|
return /* @__PURE__ */ t(L, { sx: { height: o, width: "100%", overflowX: "auto", boxShadow: "none", ...r }, children: /* @__PURE__ */ t(
|
27644
|
-
|
27644
|
+
Xn,
|
27645
27645
|
{
|
27646
27646
|
columns: h,
|
27647
27647
|
disableColumnFilter: !0,
|
@@ -27687,7 +27687,7 @@ const Ob = (e) => e.reduce((i, a) => {
|
|
27687
27687
|
onClose: m,
|
27688
27688
|
title: $b.title,
|
27689
27689
|
children: [
|
27690
|
-
h && /* @__PURE__ */ t(
|
27690
|
+
h && /* @__PURE__ */ t(Zn, { transaction: h }),
|
27691
27691
|
!h && /* @__PURE__ */ t(mn, { onClick: u })
|
27692
27692
|
]
|
27693
27693
|
}
|
@@ -27963,7 +27963,7 @@ export {
|
|
27963
27963
|
_c as ConnectCard,
|
27964
27964
|
_i as ConnectDrawer,
|
27965
27965
|
f4 as ConnectMiniWidget,
|
27966
|
-
|
27966
|
+
zn as ConnectionStatus,
|
27967
27967
|
ht as ConnectionStatusEnums,
|
27968
27968
|
ra as CurrencyCodes,
|
27969
27969
|
on as CurrencyInput,
|
@@ -27991,7 +27991,7 @@ export {
|
|
27991
27991
|
Ne as Frequency,
|
27992
27992
|
Si as GlobalCopyApi,
|
27993
27993
|
d_ as GlobalCopyStore,
|
27994
|
-
|
27994
|
+
qn as GlobalDataContext,
|
27995
27995
|
q2 as GlobalDataProvider,
|
27996
27996
|
m4 as GlobalStore,
|
27997
27997
|
jr as GoalApi,
|
@@ -28085,7 +28085,7 @@ export {
|
|
28085
28085
|
fi as TopActions,
|
28086
28086
|
z as TrackType,
|
28087
28087
|
da as TransactionApi,
|
28088
|
-
|
28088
|
+
Zn as TransactionDetails,
|
28089
28089
|
mn as TransactionList,
|
28090
28090
|
va as TransactionRow,
|
28091
28091
|
RC as TransactionRulesTab,
|