@mx-cartographer/experiences 9.1.3 → 9.1.4-alpha.al0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +0 -6
- package/dist/{AccountDetailsDrawer-Cq4kiiKD.mjs → AccountDetailsDrawer-Dae8eUXt.mjs} +10 -10
- package/dist/{AccountDetailsDrawer-Cq4kiiKD.mjs.map → AccountDetailsDrawer-Dae8eUXt.mjs.map} +1 -1
- package/dist/{AccountDetailsHeader-BliEZhz7.mjs → AccountDetailsHeader-D_UjMD99.mjs} +4 -4
- package/dist/{AccountDetailsHeader-BliEZhz7.mjs.map → AccountDetailsHeader-D_UjMD99.mjs.map} +1 -1
- package/dist/{Analytics-CkYXKvco.mjs → Analytics-BJDUP2qI.mjs} +2 -2
- package/dist/{Analytics-CkYXKvco.mjs.map → Analytics-BJDUP2qI.mjs.map} +1 -1
- package/dist/{CategorySelectorDrawer-NJsFsKP1.mjs → CategorySelectorDrawer-k8AZYC8I.mjs} +2 -2
- package/dist/{CategorySelectorDrawer-NJsFsKP1.mjs.map → CategorySelectorDrawer-k8AZYC8I.mjs.map} +1 -1
- package/dist/{Connect-BH0Pt6zc.mjs → Connect-tID_S_5e.mjs} +2 -2
- package/dist/{Connect-BH0Pt6zc.mjs.map → Connect-tID_S_5e.mjs.map} +1 -1
- package/dist/{ConnectCard-D7uxoH5Y.mjs → ConnectCard-DcM6tUOX.mjs} +2 -2
- package/dist/{ConnectCard-D7uxoH5Y.mjs.map → ConnectCard-DcM6tUOX.mjs.map} +1 -1
- package/dist/{ConnectDrawer-CW4LA3H3.mjs → ConnectDrawer-BQy4YYuc.mjs} +3 -3
- package/dist/{ConnectDrawer-CW4LA3H3.mjs.map → ConnectDrawer-BQy4YYuc.mjs.map} +1 -1
- package/dist/{ConnectionsDrawer-CZU9ku-k.mjs → ConnectionsDrawer-C73ASLMj.mjs} +3 -3
- package/dist/{ConnectionsDrawer-CZU9ku-k.mjs.map → ConnectionsDrawer-C73ASLMj.mjs.map} +1 -1
- package/dist/{CurrencyInput-DaGEQaLW.mjs → CurrencyInput-CABYmqBh.mjs} +2 -2
- package/dist/{CurrencyInput-DaGEQaLW.mjs.map → CurrencyInput-CABYmqBh.mjs.map} +1 -1
- package/dist/{EmbeddedCard-DCOQnTz-.mjs → EmbeddedCard-BwfkCsUN.mjs} +3 -3
- package/dist/{EmbeddedCard-DCOQnTz-.mjs.map → EmbeddedCard-BwfkCsUN.mjs.map} +1 -1
- package/dist/{Error-Dtw6yxkf.mjs → Error-BFJ3BnfS.mjs} +2 -2
- package/dist/{Error-Dtw6yxkf.mjs.map → Error-BFJ3BnfS.mjs.map} +1 -1
- package/dist/ErrorBoundary-C7BlHx04.mjs +27 -0
- package/dist/ErrorBoundary-C7BlHx04.mjs.map +1 -0
- package/dist/{ExportCsvAction-C-IisDcv.mjs → ExportCsvAction-B1257a3M.mjs} +3 -3
- package/dist/{ExportCsvAction-C-IisDcv.mjs.map → ExportCsvAction-B1257a3M.mjs.map} +1 -1
- package/dist/{GlobalAccountFilter-BhzR5Vb1.mjs → GlobalAccountFilter-DEEc3Bc5.mjs} +2 -2
- package/dist/{GlobalAccountFilter-BhzR5Vb1.mjs.map → GlobalAccountFilter-DEEc3Bc5.mjs.map} +1 -1
- package/dist/GlobalCopyApi-Tz10hezK.mjs +130 -0
- package/dist/GlobalCopyApi-Tz10hezK.mjs.map +1 -0
- package/dist/{Help-zVZdcmlk.mjs → Help-BAj_yo3q.mjs} +145 -145
- package/dist/Help-BAj_yo3q.mjs.map +1 -0
- package/dist/{LineChart-CUfiH86G.mjs → LineChart-BxEIZHht.mjs} +2 -2
- package/dist/{LineChart-CUfiH86G.mjs.map → LineChart-BxEIZHht.mjs.map} +1 -1
- package/dist/{ListItemAction-BqUCLj_w.mjs → ListItemAction-GDU5z4BN.mjs} +2 -2
- package/dist/{ListItemAction-BqUCLj_w.mjs.map → ListItemAction-GDU5z4BN.mjs.map} +1 -1
- package/dist/{ListItemWrapper-DRse79Iu.mjs → ListItemWrapper-D6b-6m4t.mjs} +2 -2
- package/dist/{ListItemWrapper-DRse79Iu.mjs.map → ListItemWrapper-D6b-6m4t.mjs.map} +1 -1
- package/dist/{ManageIncome-B_8i71mE.mjs → ManageIncome-BJWVPAly.mjs} +32 -32
- package/dist/{ManageIncome-B_8i71mE.mjs.map → ManageIncome-BJWVPAly.mjs.map} +1 -1
- package/dist/{MicroWidgetContainer-B2NnKBgW.mjs → MicroWidgetContainer-IUZQlml1.mjs} +2 -2
- package/dist/{MicroWidgetContainer-B2NnKBgW.mjs.map → MicroWidgetContainer-IUZQlml1.mjs.map} +1 -1
- package/dist/{MiniWidgetContainer-Bmv_WeUd.mjs → MiniWidgetContainer-CIswJui8.mjs} +2 -2
- package/dist/{MiniWidgetContainer-Bmv_WeUd.mjs.map → MiniWidgetContainer-CIswJui8.mjs.map} +1 -1
- package/dist/{NotificationSettings-CW7okUrk.mjs → NotificationSettings-DltXMrnb.mjs} +33 -33
- package/dist/{NotificationSettings-CW7okUrk.mjs.map → NotificationSettings-DltXMrnb.mjs.map} +1 -1
- package/dist/{OriginalBalanceAction-YrvxBYAl.mjs → OriginalBalanceAction-KuJSsZCA.mjs} +4 -4
- package/dist/{OriginalBalanceAction-YrvxBYAl.mjs.map → OriginalBalanceAction-KuJSsZCA.mjs.map} +1 -1
- package/dist/{RecurringSettings-hs0YUp83.mjs → RecurringSettings-D2Aaqz7d.mjs} +3 -3
- package/dist/{RecurringSettings-hs0YUp83.mjs.map → RecurringSettings-D2Aaqz7d.mjs.map} +1 -1
- package/dist/{SpendingLegend-CxvNOg3c.mjs → SpendingLegend-C_dMdqbe.mjs} +2 -2
- package/dist/{SpendingLegend-CxvNOg3c.mjs.map → SpendingLegend-C_dMdqbe.mjs.map} +1 -1
- package/dist/{TransactionDetails-DT-MQqOB.mjs → TransactionDetails-CDZNsKv7.mjs} +5 -5
- package/dist/{TransactionDetails-DT-MQqOB.mjs.map → TransactionDetails-CDZNsKv7.mjs.map} +1 -1
- package/dist/{UserStore-E5WvBXaY.mjs → UserStore-DzGgxsKk.mjs} +302 -317
- package/dist/UserStore-DzGgxsKk.mjs.map +1 -0
- package/dist/{ViewMoreMicroCard-fnwE0hqd.mjs → ViewMoreMicroCard-DXaJ-56q.mjs} +4 -4
- package/dist/{ViewMoreMicroCard-fnwE0hqd.mjs.map → ViewMoreMicroCard-DXaJ-56q.mjs.map} +1 -1
- package/dist/{WidgetContainer-CjdCY4sj.mjs → WidgetContainer-5O6N88mr.mjs} +3 -3
- package/dist/{WidgetContainer-CjdCY4sj.mjs.map → WidgetContainer-5O6N88mr.mjs.map} +1 -1
- package/dist/accounts/index.es.js +11 -11
- package/dist/analytics/index.es.js +2 -2
- package/dist/budgets/index.es.js +10 -10
- package/dist/cashflow/index.es.js +70 -70
- package/dist/categories/index.es.js +1 -1
- package/dist/common/components/ErrorBoundary.d.ts +2 -0
- package/dist/common/context/GlobalDataProvider.d.ts +2 -1
- package/dist/common/context/hooks.d.ts +3 -0
- package/dist/common/context/index.d.ts +1 -1
- package/dist/common/index.es.js +66 -65
- package/dist/core/api/AccountApi.d.ts +2 -2
- package/dist/core/api/AnalyticsApi.d.ts +2 -2
- package/dist/core/api/AppDataApi.d.ts +2 -2
- package/dist/core/api/BeatApi.d.ts +2 -2
- package/dist/core/api/BudgetsApi.d.ts +2 -2
- package/dist/core/api/CategoryApi.d.ts +2 -2
- package/dist/core/api/FinstrongApi.d.ts +2 -2
- package/dist/core/api/GlobalCopyApi.d.ts +2 -2
- package/dist/core/api/GoalApi.d.ts +2 -2
- package/dist/core/api/HelpApi.d.ts +2 -2
- package/dist/core/api/HoldingApi.d.ts +2 -2
- package/dist/core/api/MerchantApi.d.ts +2 -2
- package/dist/core/api/NotificationApi.d.ts +2 -2
- package/dist/core/api/RepeatingTransactionsApi.d.ts +2 -2
- package/dist/core/api/ScheduledPaymentsApi.d.ts +2 -2
- package/dist/core/api/SettingsApi.d.ts +2 -2
- package/dist/core/api/TransactionApi.d.ts +2 -2
- package/dist/core/api/UserApi.d.ts +2 -2
- package/dist/core/index.es.js +95 -95
- package/dist/core/index.es.js.map +1 -1
- package/dist/core/stores/GlobalStore.d.ts +4 -2
- package/dist/core/types/Handlers.d.ts +1 -0
- package/dist/core/types/index.d.ts +1 -1
- package/dist/core/utils/Fetch.d.ts +3 -2
- package/dist/dashboard/index.es.js +4 -4
- package/dist/debts/index.es.js +8 -8
- package/dist/finstrong/index.es.js +12 -12
- package/dist/goals/index.es.js +9 -9
- package/dist/help/index.es.js +4 -4
- package/dist/hooks-DWOrMnfZ.mjs +83 -0
- package/dist/hooks-DWOrMnfZ.mjs.map +1 -0
- package/dist/insights/index.es.js +4 -4
- package/dist/investments/index.es.js +4 -4
- package/dist/merchants/index.es.js +1 -1
- package/dist/microinsights/index.es.js +1 -1
- package/dist/networth/index.es.js +6 -6
- package/dist/notifications/index.es.js +8 -8
- package/dist/recurringtransactions/index.es.js +38 -38
- package/dist/settings/index.es.js +27 -27
- package/dist/spending/index.es.js +7 -7
- package/dist/transactions/index.es.js +11 -11
- package/dist/trends/index.es.js +12 -12
- package/dist/{useAccountDisplayName-BsiXA0qf.mjs → useAccountDisplayName-DHXXCFYZ.mjs} +2 -2
- package/dist/{useAccountDisplayName-BsiXA0qf.mjs.map → useAccountDisplayName-DHXXCFYZ.mjs.map} +1 -1
- package/dist/{useInsightsEnabled-D5Sdm0TJ.mjs → useInsightsEnabled-B_UpjpE6.mjs} +2 -2
- package/dist/{useInsightsEnabled-D5Sdm0TJ.mjs.map → useInsightsEnabled-B_UpjpE6.mjs.map} +1 -1
- package/dist/{useWidgetLoadTimer-B0tB-yzL.mjs → useWidgetLoadTimer-C0Mr0eRf.mjs} +2 -2
- package/dist/{useWidgetLoadTimer-B0tB-yzL.mjs.map → useWidgetLoadTimer-C0Mr0eRf.mjs.map} +1 -1
- package/package.json +1 -1
- package/dist/ErrorBoundary-CsdOcnJ9.mjs +0 -24
- package/dist/ErrorBoundary-CsdOcnJ9.mjs.map +0 -1
- package/dist/GlobalCopyApi-wcnDUzMV.mjs +0 -129
- package/dist/GlobalCopyApi-wcnDUzMV.mjs.map +0 -1
- package/dist/Help-zVZdcmlk.mjs.map +0 -1
- package/dist/UserStore-E5WvBXaY.mjs.map +0 -1
- package/dist/hooks-97sNJ_lf.mjs +0 -78
- package/dist/hooks-97sNJ_lf.mjs.map +0 -1
|
@@ -12,25 +12,25 @@ import et from "@mui/material/ListItemButton";
|
|
|
12
12
|
import C from "@mui/material/Stack";
|
|
13
13
|
import { H3 as it, P as U, Icon as Y, Text as E, H2 as at, InstitutionLogo as ft } from "@mxenabled/mxui";
|
|
14
14
|
import { ExpandMore as ct, ChevronRight as St } from "@mxenabled/mx-icons";
|
|
15
|
-
import { f as V, u as K,
|
|
15
|
+
import { f as V, u as K, p as It, v as nt, c as Tt, a as Et, D as Ct, i as At } from "./hooks-DWOrMnfZ.mjs";
|
|
16
16
|
import { A as k } from "./Analytics-D-jdcL72.mjs";
|
|
17
|
-
import
|
|
17
|
+
import Ot from "@mui/material/Breadcrumbs";
|
|
18
18
|
import { useTheme as Q } from "@mui/material/styles";
|
|
19
19
|
import { b as s } from "./Localization-DnoVyBNK.mjs";
|
|
20
|
-
import { E as
|
|
21
|
-
import { u as
|
|
20
|
+
import { E as Nt } from "./ErrorBoundary-C7BlHx04.mjs";
|
|
21
|
+
import { u as Lt } from "./useScreenSize-mWpmnh5w.mjs";
|
|
22
22
|
import { observer as lt } from "mobx-react-lite";
|
|
23
|
-
import { H as
|
|
23
|
+
import { H as Dt, P as Rt } from "./Help-CkQTjORd.mjs";
|
|
24
24
|
import dt from "@mui/material/Alert";
|
|
25
25
|
import gt from "@mui/material/Snackbar";
|
|
26
26
|
import ut from "@mui/material/TextField";
|
|
27
27
|
import { D as j } from "./Drawer-DsnW2o0v.mjs";
|
|
28
28
|
import { L as mt } from "./Loader-CxeBwuPG.mjs";
|
|
29
|
-
import
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
-
const
|
|
29
|
+
import Pt from "@mui/material/ListItemAvatar";
|
|
30
|
+
import Gt from "@mui/material/ListItem";
|
|
31
|
+
import Ft from "@mui/material/ListItemIcon";
|
|
32
|
+
import kt from "@mui/material/ListItemText";
|
|
33
|
+
const Bt = ({
|
|
34
34
|
buttonText: e,
|
|
35
35
|
hasRequestButton: i = !1,
|
|
36
36
|
helpCategories: n = [],
|
|
@@ -39,7 +39,7 @@ const kt = ({
|
|
|
39
39
|
onRequestHelp: d,
|
|
40
40
|
onTopicSelect: u
|
|
41
41
|
}) => {
|
|
42
|
-
const [
|
|
42
|
+
const [b, S] = xt(null), h = Math.ceil(n.length / 2), { onEvent: v } = V();
|
|
43
43
|
return /* @__PURE__ */ _(r.Fragment, { children: [
|
|
44
44
|
/* @__PURE__ */ _(
|
|
45
45
|
A,
|
|
@@ -69,7 +69,7 @@ const kt = ({
|
|
|
69
69
|
{
|
|
70
70
|
"aria-label": e,
|
|
71
71
|
onClick: () => {
|
|
72
|
-
|
|
72
|
+
v(k.HELP_CLICK_REQUEST_SUPPORT, {}), d();
|
|
73
73
|
},
|
|
74
74
|
variant: "contained",
|
|
75
75
|
children: e
|
|
@@ -82,15 +82,15 @@ const kt = ({
|
|
|
82
82
|
),
|
|
83
83
|
/* @__PURE__ */ t(C, { sx: { flexDirection: { xs: "column", md: "row" }, gap: 12 }, children: [0, 1].map((I) => {
|
|
84
84
|
const D = I === 0 ? 0 : h, R = I === 0 ? h : n.length, H = n.slice(D, R);
|
|
85
|
-
return /* @__PURE__ */ t(C, { sx: { flex: 1, gap: 12, maxWidth: { md: "calc(50% - 6px)" } }, children: H.map(({ guid: T, icon:
|
|
85
|
+
return /* @__PURE__ */ t(C, { sx: { flex: 1, gap: 12, maxWidth: { md: "calc(50% - 6px)" } }, children: H.map(({ guid: T, icon: w, topics: W, title: L }, X) => {
|
|
86
86
|
const F = X + D;
|
|
87
87
|
return /* @__PURE__ */ _(
|
|
88
88
|
_t,
|
|
89
89
|
{
|
|
90
90
|
disableGutters: !0,
|
|
91
|
-
expanded: F ===
|
|
91
|
+
expanded: F === b,
|
|
92
92
|
onChange: (B, q) => {
|
|
93
|
-
|
|
93
|
+
v(k.HELP_EXPAND_TOPIC, { feature: L }), S(q ? F : null);
|
|
94
94
|
},
|
|
95
95
|
sx: (B) => ({
|
|
96
96
|
border: `1px solid ${B.palette.neutral?.light}`,
|
|
@@ -111,7 +111,7 @@ const kt = ({
|
|
|
111
111
|
expandIcon: /* @__PURE__ */ t(ct, { sx: { color: "text.primary" } }),
|
|
112
112
|
sx: { height: 64, p: "14px 24px" },
|
|
113
113
|
children: /* @__PURE__ */ _(C, { sx: { alignItems: "center", flexDirection: "row", gap: 12 }, children: [
|
|
114
|
-
/* @__PURE__ */ t(Y, { name:
|
|
114
|
+
/* @__PURE__ */ t(Y, { name: w, size: 24 }),
|
|
115
115
|
/* @__PURE__ */ t(E, { variant: "body1", children: L })
|
|
116
116
|
] })
|
|
117
117
|
}
|
|
@@ -187,7 +187,7 @@ const kt = ({
|
|
|
187
187
|
] }) }),
|
|
188
188
|
n && /* @__PURE__ */ t(z, {})
|
|
189
189
|
] });
|
|
190
|
-
},
|
|
190
|
+
}, Wt = ({
|
|
191
191
|
buttonCopy: e,
|
|
192
192
|
hasRequestButton: i,
|
|
193
193
|
onNavigateToList: n,
|
|
@@ -201,7 +201,7 @@ const kt = ({
|
|
|
201
201
|
/* @__PURE__ */ _(A, { size: { xs: 12, sm: 6 }, children: [
|
|
202
202
|
/* @__PURE__ */ t(it, { color: "text.primary", children: c }),
|
|
203
203
|
/* @__PURE__ */ _(
|
|
204
|
-
|
|
204
|
+
Ot,
|
|
205
205
|
{
|
|
206
206
|
separator: /* @__PURE__ */ t(E, { bold: !0, color: "grey.600", sx: { fontWeight: 700 }, variant: "body2", children: "/" }),
|
|
207
207
|
children: [
|
|
@@ -357,9 +357,9 @@ const kt = ({
|
|
|
357
357
|
subListType: c = "ol"
|
|
358
358
|
}) => {
|
|
359
359
|
const d = i, u = c;
|
|
360
|
-
return /* @__PURE__ */ t(N, { sx: { [i]: { m: 0, p: 0, pl: 16, "& li::marker": { fontSize: 15 } } }, children: /* @__PURE__ */ t(d, { children: e.map((
|
|
361
|
-
/* @__PURE__ */ t(o, { content:
|
|
362
|
-
n === S ? /* @__PURE__ */ t(u, { ...c === "ol" && { type: "a" }, children: l.map((h,
|
|
360
|
+
return /* @__PURE__ */ t(N, { sx: { [i]: { m: 0, p: 0, pl: 16, "& li::marker": { fontSize: 15 } } }, children: /* @__PURE__ */ t(d, { children: e.map((b, S) => /* @__PURE__ */ _("li", { children: [
|
|
361
|
+
/* @__PURE__ */ t(o, { content: b, sx: { py: 1 } }),
|
|
362
|
+
n === S ? /* @__PURE__ */ t(u, { ...c === "ol" && { type: "a" }, children: l.map((h, v) => /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t(o, { content: h, sx: { py: 1 } }) }, v)) }) : null
|
|
363
363
|
] }, S)) }) });
|
|
364
364
|
}, m = "https://content.moneydesktop.com/storage/MD_Assets/md/help", p = {
|
|
365
365
|
ACCOUNT_DETAILS: `${m}/account/AccountDetails.png`,
|
|
@@ -401,7 +401,7 @@ const kt = ({
|
|
|
401
401
|
TRANSACTIONS_OVERVIEW: `${m}/transactions/Overview.png`,
|
|
402
402
|
TRANSACTIONS_RULES: `${m}/transactions/TransactionRules.png`,
|
|
403
403
|
TRENDS_WIDGET: `${m}/trends/TrendsWidget2.png`
|
|
404
|
-
},
|
|
404
|
+
}, Mt = ({ copy: e, topicKey: i }) => ({
|
|
405
405
|
"accounts-overview": /* @__PURE__ */ _(r.Fragment, { children: [
|
|
406
406
|
/* @__PURE__ */ t(
|
|
407
407
|
P,
|
|
@@ -637,7 +637,7 @@ const kt = ({
|
|
|
637
637
|
hasDivider: !1
|
|
638
638
|
}
|
|
639
639
|
)
|
|
640
|
-
})[i],
|
|
640
|
+
})[i], zt = ({ copy: e, topicKey: i }) => {
|
|
641
641
|
const n = e.budgets_overview;
|
|
642
642
|
return {
|
|
643
643
|
"budgets-overview": /* @__PURE__ */ _(r.Fragment, { children: [
|
|
@@ -727,7 +727,7 @@ const kt = ({
|
|
|
727
727
|
)
|
|
728
728
|
] })
|
|
729
729
|
}[i];
|
|
730
|
-
},
|
|
730
|
+
}, qt = ({ copy: e, topicKey: i }) => ({
|
|
731
731
|
"cash-flow-overview": /* @__PURE__ */ _(r.Fragment, { children: [
|
|
732
732
|
/* @__PURE__ */ t(
|
|
733
733
|
P,
|
|
@@ -788,7 +788,7 @@ const kt = ({
|
|
|
788
788
|
}
|
|
789
789
|
)
|
|
790
790
|
] })
|
|
791
|
-
})[i],
|
|
791
|
+
})[i], $t = ({ copy: e }) => {
|
|
792
792
|
const i = e.debts, n = {
|
|
793
793
|
overviewSection: /* @__PURE__ */ t(
|
|
794
794
|
G,
|
|
@@ -1027,7 +1027,7 @@ const kt = ({
|
|
|
1027
1027
|
/* @__PURE__ */ t(g, { content: i.extra_payments, sx: { pt: 48 } }),
|
|
1028
1028
|
n.extraPayments
|
|
1029
1029
|
] });
|
|
1030
|
-
},
|
|
1030
|
+
}, Ht = ({ topicKey: e, copy: i }) => {
|
|
1031
1031
|
const { general_faqs: n } = i;
|
|
1032
1032
|
return {
|
|
1033
1033
|
"is-my-data-private-and-secure": /* @__PURE__ */ t(
|
|
@@ -1179,7 +1179,7 @@ const kt = ({
|
|
|
1179
1179
|
}
|
|
1180
1180
|
)
|
|
1181
1181
|
}[e];
|
|
1182
|
-
},
|
|
1182
|
+
}, Ut = ({ copy: e }) => {
|
|
1183
1183
|
const { goal_widget_overview: i } = e;
|
|
1184
1184
|
return /* @__PURE__ */ _(r.Fragment, { children: [
|
|
1185
1185
|
/* @__PURE__ */ t(o, { content: i.goals_overview_title }),
|
|
@@ -1362,7 +1362,7 @@ const kt = ({
|
|
|
1362
1362
|
}
|
|
1363
1363
|
)
|
|
1364
1364
|
] });
|
|
1365
|
-
},
|
|
1365
|
+
}, Vt = ({ copy: e }) => {
|
|
1366
1366
|
const i = e.investments;
|
|
1367
1367
|
return {
|
|
1368
1368
|
overviewSection: /* @__PURE__ */ t(
|
|
@@ -1423,7 +1423,7 @@ const kt = ({
|
|
|
1423
1423
|
}
|
|
1424
1424
|
)
|
|
1425
1425
|
}.overviewSection;
|
|
1426
|
-
},
|
|
1426
|
+
}, jt = ({ copy: e }) => {
|
|
1427
1427
|
const { mobile_devices_overview: i } = e;
|
|
1428
1428
|
return /* @__PURE__ */ _(r.Fragment, { children: [
|
|
1429
1429
|
/* @__PURE__ */ t(o, { content: i.mobile_devices_overview_header_text }),
|
|
@@ -1498,7 +1498,7 @@ const kt = ({
|
|
|
1498
1498
|
),
|
|
1499
1499
|
/* @__PURE__ */ t(o, { content: i.preventing_app_crashes_footer })
|
|
1500
1500
|
] });
|
|
1501
|
-
},
|
|
1501
|
+
}, Xt = ({ copy: e, topicKey: i }) => {
|
|
1502
1502
|
const { networth_overview: n } = e;
|
|
1503
1503
|
return {
|
|
1504
1504
|
"net-worth-overview": /* @__PURE__ */ _(r.Fragment, { children: [
|
|
@@ -1628,7 +1628,7 @@ const kt = ({
|
|
|
1628
1628
|
)
|
|
1629
1629
|
] })
|
|
1630
1630
|
}[i];
|
|
1631
|
-
},
|
|
1631
|
+
}, Kt = ({ copy: e, topicKey: i }) => ({
|
|
1632
1632
|
"notifications-overview": /* @__PURE__ */ _(r.Fragment, { children: [
|
|
1633
1633
|
/* @__PURE__ */ t(
|
|
1634
1634
|
P,
|
|
@@ -1737,7 +1737,7 @@ const kt = ({
|
|
|
1737
1737
|
}
|
|
1738
1738
|
)
|
|
1739
1739
|
] })
|
|
1740
|
-
})[i],
|
|
1740
|
+
})[i], Zt = ({ copy: e }) => {
|
|
1741
1741
|
const i = e.recurring_transactions, n = {
|
|
1742
1742
|
overviewSsction: /* @__PURE__ */ t(
|
|
1743
1743
|
G,
|
|
@@ -1829,7 +1829,7 @@ const kt = ({
|
|
|
1829
1829
|
/* @__PURE__ */ t(g, { content: i.payment_frequency_title, sx: { pt: 48 } }),
|
|
1830
1830
|
n.paymentFrequencySection
|
|
1831
1831
|
] });
|
|
1832
|
-
},
|
|
1832
|
+
}, Yt = ({ copy: e, topicKey: i }) => {
|
|
1833
1833
|
const n = e.spending_widget_overview;
|
|
1834
1834
|
return {
|
|
1835
1835
|
"spending-widget-overview": /* @__PURE__ */ _(r.Fragment, { children: [
|
|
@@ -1930,7 +1930,7 @@ const kt = ({
|
|
|
1930
1930
|
}
|
|
1931
1931
|
)
|
|
1932
1932
|
}[i];
|
|
1933
|
-
},
|
|
1933
|
+
}, Qt = ({ copy: e, topicKey: i }) => ({
|
|
1934
1934
|
"transactions-overview": /* @__PURE__ */ _(r.Fragment, { children: [
|
|
1935
1935
|
/* @__PURE__ */ t(
|
|
1936
1936
|
G,
|
|
@@ -2306,7 +2306,7 @@ const kt = ({
|
|
|
2306
2306
|
sx: { pt: 24 }
|
|
2307
2307
|
}
|
|
2308
2308
|
)
|
|
2309
|
-
})[i],
|
|
2309
|
+
})[i], Jt = ({ copy: e }) => /* @__PURE__ */ _(r.Fragment, { children: [
|
|
2310
2310
|
/* @__PURE__ */ t(
|
|
2311
2311
|
G,
|
|
2312
2312
|
{
|
|
@@ -2378,7 +2378,7 @@ const kt = ({
|
|
|
2378
2378
|
sx: { pt: 48 }
|
|
2379
2379
|
}
|
|
2380
2380
|
)
|
|
2381
|
-
] }),
|
|
2381
|
+
] }), yt = ({ copy: e, topicKey: i }) => {
|
|
2382
2382
|
const n = e.insights_widget_overview;
|
|
2383
2383
|
return {
|
|
2384
2384
|
"insights-widget-overview": /* @__PURE__ */ _(r.Fragment, { children: [
|
|
@@ -2502,33 +2502,33 @@ const kt = ({
|
|
|
2502
2502
|
)
|
|
2503
2503
|
] })
|
|
2504
2504
|
}[i];
|
|
2505
|
-
},
|
|
2506
|
-
accounts:
|
|
2507
|
-
alerts:
|
|
2508
|
-
budgets:
|
|
2509
|
-
cashflow:
|
|
2510
|
-
debts:
|
|
2511
|
-
general:
|
|
2512
|
-
goals:
|
|
2513
|
-
insights:
|
|
2514
|
-
investments:
|
|
2515
|
-
mobile:
|
|
2516
|
-
networth:
|
|
2517
|
-
recurring_transactions:
|
|
2518
|
-
spending:
|
|
2519
|
-
transactions:
|
|
2520
|
-
trends:
|
|
2521
|
-
},
|
|
2505
|
+
}, te = {
|
|
2506
|
+
accounts: Mt,
|
|
2507
|
+
alerts: Kt,
|
|
2508
|
+
budgets: zt,
|
|
2509
|
+
cashflow: qt,
|
|
2510
|
+
debts: $t,
|
|
2511
|
+
general: Ht,
|
|
2512
|
+
goals: Ut,
|
|
2513
|
+
insights: yt,
|
|
2514
|
+
investments: Vt,
|
|
2515
|
+
mobile: jt,
|
|
2516
|
+
networth: Xt,
|
|
2517
|
+
recurring_transactions: Zt,
|
|
2518
|
+
spending: Yt,
|
|
2519
|
+
transactions: Qt,
|
|
2520
|
+
trends: Jt
|
|
2521
|
+
}, ee = ({
|
|
2522
2522
|
copy: e,
|
|
2523
2523
|
hasRequestButton: i = !1,
|
|
2524
2524
|
onNavigateToList: n,
|
|
2525
2525
|
onRequestSupport: l,
|
|
2526
|
-
topicInfo: { category: c, pageTitle: d, topicKey: u, guid:
|
|
2526
|
+
topicInfo: { category: c, pageTitle: d, topicKey: u, guid: b }
|
|
2527
2527
|
}) => {
|
|
2528
|
-
const { help: S } = K(), h =
|
|
2528
|
+
const { help: S } = K(), { onCaptureException: h } = It(), v = te[b] || null;
|
|
2529
2529
|
return /* @__PURE__ */ _(r.Fragment, { children: [
|
|
2530
2530
|
/* @__PURE__ */ t(
|
|
2531
|
-
|
|
2531
|
+
Wt,
|
|
2532
2532
|
{
|
|
2533
2533
|
buttonCopy: e.request_support,
|
|
2534
2534
|
hasRequestButton: i,
|
|
@@ -2538,7 +2538,7 @@ const kt = ({
|
|
|
2538
2538
|
topicTitle: d
|
|
2539
2539
|
}
|
|
2540
2540
|
),
|
|
2541
|
-
/* @__PURE__ */ t(
|
|
2541
|
+
/* @__PURE__ */ t(Nt, { onCaptureException: h, children: v && /* @__PURE__ */ t(v, { copy: S, topicKey: u }) })
|
|
2542
2542
|
] });
|
|
2543
2543
|
}, Z = ({
|
|
2544
2544
|
content: e,
|
|
@@ -2570,7 +2570,7 @@ const kt = ({
|
|
|
2570
2570
|
}
|
|
2571
2571
|
),
|
|
2572
2572
|
e && /* @__PURE__ */ t(U, { color: "text.secondary", sx: { px: 24 }, variant: "body2", children: e })
|
|
2573
|
-
] }),
|
|
2573
|
+
] }), ie = ({
|
|
2574
2574
|
alert: e,
|
|
2575
2575
|
copy: i,
|
|
2576
2576
|
email: n,
|
|
@@ -2578,20 +2578,20 @@ const kt = ({
|
|
|
2578
2578
|
isLoading: c,
|
|
2579
2579
|
isOpen: d,
|
|
2580
2580
|
onClose: u,
|
|
2581
|
-
onSubmit:
|
|
2581
|
+
onSubmit: b,
|
|
2582
2582
|
setAlert: S,
|
|
2583
2583
|
topic: h
|
|
2584
2584
|
}) => {
|
|
2585
|
-
const [
|
|
2585
|
+
const [v, I] = r.useState(""), { onEvent: D } = V(), R = () => !c && u(), H = () => {
|
|
2586
2586
|
D(k.HELP_SUBMIT_SUPPORT_REQUEST, {
|
|
2587
|
-
supportRequest:
|
|
2588
|
-
}), I(""), v
|
|
2587
|
+
supportRequest: v
|
|
2588
|
+
}), I(""), b(v);
|
|
2589
2589
|
}, T = l ? i.request_support_institution_short_content : i.request_support_contact_short_content;
|
|
2590
2590
|
return /* @__PURE__ */ _(
|
|
2591
2591
|
j,
|
|
2592
2592
|
{
|
|
2593
2593
|
isOpen: d,
|
|
2594
|
-
isPrimaryDisabled: !
|
|
2594
|
+
isPrimaryDisabled: !v || !n,
|
|
2595
2595
|
onClose: R,
|
|
2596
2596
|
onPrimaryAction: H,
|
|
2597
2597
|
onSecondaryAction: R,
|
|
@@ -2617,7 +2617,7 @@ const kt = ({
|
|
|
2617
2617
|
helperText: n ? null : i.request_support_email_not_exists_message,
|
|
2618
2618
|
label: i.request_contact_support_label,
|
|
2619
2619
|
multiline: !0,
|
|
2620
|
-
onChange: ({ target: { value:
|
|
2620
|
+
onChange: ({ target: { value: w } }) => I(w),
|
|
2621
2621
|
slotProps: { inputLabel: { shrink: !0 } },
|
|
2622
2622
|
sx: {
|
|
2623
2623
|
"& .MuiInputBase-root": { alignItems: "flex-start", minHeight: 124 },
|
|
@@ -2626,7 +2626,7 @@ const kt = ({
|
|
|
2626
2626
|
color: "text.secondary"
|
|
2627
2627
|
}
|
|
2628
2628
|
},
|
|
2629
|
-
value:
|
|
2629
|
+
value: v,
|
|
2630
2630
|
variant: "outlined"
|
|
2631
2631
|
}
|
|
2632
2632
|
) }),
|
|
@@ -2656,22 +2656,22 @@ const kt = ({
|
|
|
2656
2656
|
]
|
|
2657
2657
|
}
|
|
2658
2658
|
);
|
|
2659
|
-
},
|
|
2659
|
+
}, ne = ({
|
|
2660
2660
|
helpByCategory: e,
|
|
2661
2661
|
onClick: i
|
|
2662
2662
|
}) => {
|
|
2663
2663
|
const [n, l] = r.useState(null), { onEvent: c } = V();
|
|
2664
|
-
return /* @__PURE__ */ t(C, { sx: { flex: 1, gap: 12, p: 12 }, children: e.map(({ icon: d, topics: u, title:
|
|
2664
|
+
return /* @__PURE__ */ t(C, { sx: { flex: 1, gap: 12, p: 12 }, children: e.map(({ icon: d, topics: u, title: b }, S) => /* @__PURE__ */ _(
|
|
2665
2665
|
_t,
|
|
2666
2666
|
{
|
|
2667
2667
|
disableGutters: !0,
|
|
2668
2668
|
expanded: S === n,
|
|
2669
|
-
onChange: (h,
|
|
2669
|
+
onChange: (h, v) => {
|
|
2670
2670
|
c(k.HELP_EXPAND_CATEGORY, {
|
|
2671
|
-
category:
|
|
2672
|
-
}), l(
|
|
2671
|
+
category: b
|
|
2672
|
+
}), l(v ? S : null);
|
|
2673
2673
|
},
|
|
2674
|
-
sx:
|
|
2674
|
+
sx: se,
|
|
2675
2675
|
children: [
|
|
2676
2676
|
/* @__PURE__ */ t(
|
|
2677
2677
|
rt,
|
|
@@ -2680,7 +2680,7 @@ const kt = ({
|
|
|
2680
2680
|
sx: { p: "14px 24px", height: 64 },
|
|
2681
2681
|
children: /* @__PURE__ */ _(C, { sx: { alignItems: "center", flexDirection: "row", gap: 12 }, children: [
|
|
2682
2682
|
/* @__PURE__ */ t(Y, { name: d, size: 24 }),
|
|
2683
|
-
/* @__PURE__ */ t(E, { variant: "body1", children:
|
|
2683
|
+
/* @__PURE__ */ t(E, { variant: "body1", children: b })
|
|
2684
2684
|
] })
|
|
2685
2685
|
}
|
|
2686
2686
|
),
|
|
@@ -2692,15 +2692,15 @@ const kt = ({
|
|
|
2692
2692
|
ml: 56,
|
|
2693
2693
|
p: 0
|
|
2694
2694
|
},
|
|
2695
|
-
children: /* @__PURE__ */ t(tt, { sx: { "& .MuiListItemButton-root": { pl: 6 } }, children: u.map(({ label: h, type:
|
|
2695
|
+
children: /* @__PURE__ */ t(tt, { sx: { "& .MuiListItemButton-root": { pl: 6 } }, children: u.map(({ label: h, type: v }, I) => /* @__PURE__ */ t(
|
|
2696
2696
|
et,
|
|
2697
2697
|
{
|
|
2698
2698
|
divider: !0,
|
|
2699
2699
|
onClick: () => {
|
|
2700
2700
|
c(k.HELP_CLICK_CATEGORY, {
|
|
2701
|
-
category:
|
|
2701
|
+
category: b,
|
|
2702
2702
|
helpTopic: h
|
|
2703
|
-
}), i(h,
|
|
2703
|
+
}), i(h, v);
|
|
2704
2704
|
},
|
|
2705
2705
|
sx: {
|
|
2706
2706
|
borderColor: "neutral.light",
|
|
@@ -2719,7 +2719,7 @@ const kt = ({
|
|
|
2719
2719
|
},
|
|
2720
2720
|
S
|
|
2721
2721
|
)) });
|
|
2722
|
-
},
|
|
2722
|
+
}, se = (e) => ({
|
|
2723
2723
|
border: `1px solid ${e.palette.neutral?.light}`,
|
|
2724
2724
|
borderRadius: "8px",
|
|
2725
2725
|
"&:first-of-type": { borderRadius: "8px" },
|
|
@@ -2737,24 +2737,24 @@ const kt = ({
|
|
|
2737
2737
|
institutionName: "",
|
|
2738
2738
|
institutionLoginPage: "",
|
|
2739
2739
|
institutionWebsite: ""
|
|
2740
|
-
},
|
|
2740
|
+
}, _e = lt(
|
|
2741
2741
|
({ copy: e, isOpen: i, onClose: n, onSave: l }) => {
|
|
2742
|
-
const { alert: c, isLoading: d, setAlert: u } = nt(), [
|
|
2742
|
+
const { alert: c, isLoading: d, setAlert: u } = nt(), [b, S] = r.useState(st), [h, v] = r.useState(J), I = [
|
|
2743
2743
|
{ name: "institutionName", required: !0 },
|
|
2744
2744
|
{ name: "institutionWebsite", required: !0 },
|
|
2745
2745
|
{ name: "institutionLoginPage", required: !1 }
|
|
2746
|
-
].map((T,
|
|
2746
|
+
].map((T, w) => ({
|
|
2747
2747
|
...T,
|
|
2748
|
-
label: e.popular_topics_missing_institution_fields[
|
|
2748
|
+
label: e.popular_topics_missing_institution_fields[w.toString()]
|
|
2749
2749
|
})), D = () => {
|
|
2750
|
-
S(st),
|
|
2750
|
+
S(st), v(J), n();
|
|
2751
2751
|
}, R = (T) => {
|
|
2752
2752
|
const {
|
|
2753
|
-
target: { name:
|
|
2753
|
+
target: { name: w, value: W }
|
|
2754
2754
|
} = T;
|
|
2755
|
-
|
|
2755
|
+
v((L) => ({
|
|
2756
2756
|
...L,
|
|
2757
|
-
[
|
|
2757
|
+
[w]: W
|
|
2758
2758
|
}));
|
|
2759
2759
|
};
|
|
2760
2760
|
return /* @__PURE__ */ _(
|
|
@@ -2764,11 +2764,11 @@ const kt = ({
|
|
|
2764
2764
|
onClose: D,
|
|
2765
2765
|
onPrimaryAction: () => {
|
|
2766
2766
|
const T = {};
|
|
2767
|
-
let
|
|
2767
|
+
let w = !0;
|
|
2768
2768
|
I.forEach(({ label: W, name: L, required: X }) => {
|
|
2769
2769
|
const F = h[L];
|
|
2770
|
-
X && !F && (T[L] = `${W} ${e.request_support_required_message}`,
|
|
2771
|
-
}), S(T),
|
|
2770
|
+
X && !F && (T[L] = `${W} ${e.request_support_required_message}`, w = !1), (L === "institutionWebsite" || L === "institutionLoginPage") && F && !/(.+)\.(.{2,})/g.test(F) && (T[L] = e.request_support_valid_url_message, w = !1);
|
|
2771
|
+
}), S(T), w && (l(h), v(J));
|
|
2772
2772
|
},
|
|
2773
2773
|
secondaryColor: "primary",
|
|
2774
2774
|
title: e.request_support,
|
|
@@ -2783,19 +2783,19 @@ const kt = ({
|
|
|
2783
2783
|
title: e.popular_topics_missing_institution
|
|
2784
2784
|
}
|
|
2785
2785
|
),
|
|
2786
|
-
/* @__PURE__ */ t(C, { sx: { gap: 24, p: 24 }, children: I.map(({ label: T, name:
|
|
2786
|
+
/* @__PURE__ */ t(C, { sx: { gap: 24, p: 24 }, children: I.map(({ label: T, name: w }) => /* @__PURE__ */ t(
|
|
2787
2787
|
ut,
|
|
2788
2788
|
{
|
|
2789
|
-
error: !!
|
|
2789
|
+
error: !!b[w],
|
|
2790
2790
|
fullWidth: !0,
|
|
2791
|
-
helperText:
|
|
2791
|
+
helperText: b[w] || "",
|
|
2792
2792
|
label: T,
|
|
2793
|
-
name:
|
|
2793
|
+
name: w,
|
|
2794
2794
|
onChange: R,
|
|
2795
2795
|
slotProps: { inputLabel: { shrink: !0 } },
|
|
2796
|
-
value: h[
|
|
2796
|
+
value: h[w]
|
|
2797
2797
|
},
|
|
2798
|
-
|
|
2798
|
+
w
|
|
2799
2799
|
)) }),
|
|
2800
2800
|
c.message && /* @__PURE__ */ t(
|
|
2801
2801
|
gt,
|
|
@@ -2811,7 +2811,7 @@ const kt = ({
|
|
|
2811
2811
|
}
|
|
2812
2812
|
);
|
|
2813
2813
|
}
|
|
2814
|
-
),
|
|
2814
|
+
), oe = (e, i, n) => {
|
|
2815
2815
|
const l = i.reduce((c, { institution_guid: d }) => (c[d] = (c[d] || 0) + 1, c), {});
|
|
2816
2816
|
return e.filter(({ guid: c }) => !!l[c]).map(({ guid: c, ...d }) => {
|
|
2817
2817
|
const u = `${l[c]} ${l[c] === 1 ? n.singular : n.plural}`;
|
|
@@ -2821,16 +2821,16 @@ const kt = ({
|
|
|
2821
2821
|
subtitle: u
|
|
2822
2822
|
};
|
|
2823
2823
|
});
|
|
2824
|
-
},
|
|
2824
|
+
}, re = ({
|
|
2825
2825
|
name: e,
|
|
2826
2826
|
onClick: i,
|
|
2827
2827
|
subtitle: n,
|
|
2828
2828
|
guid: l,
|
|
2829
2829
|
sx: c
|
|
2830
|
-
}) => /* @__PURE__ */ t(
|
|
2831
|
-
l && /* @__PURE__ */ t(
|
|
2830
|
+
}) => /* @__PURE__ */ t(Gt, { disableGutters: !0, disablePadding: !0, children: /* @__PURE__ */ _(et, { "aria-label": e, onClick: i, children: [
|
|
2831
|
+
l && /* @__PURE__ */ t(Pt, { children: /* @__PURE__ */ t(ft, { alt: e, institutionGuid: l || "", size: 32 }) }),
|
|
2832
2832
|
/* @__PURE__ */ t(
|
|
2833
|
-
|
|
2833
|
+
kt,
|
|
2834
2834
|
{
|
|
2835
2835
|
primary: e,
|
|
2836
2836
|
secondary: n,
|
|
@@ -2840,10 +2840,10 @@ const kt = ({
|
|
|
2840
2840
|
}
|
|
2841
2841
|
}
|
|
2842
2842
|
),
|
|
2843
|
-
/* @__PURE__ */ t(
|
|
2844
|
-
] }) }), pt = ({ list: e, onClick: i, sx: n }) => /* @__PURE__ */ t(N, { sx: { bgcolor: "background.paper" }, children: /* @__PURE__ */ t(tt, { sx: { "& .MuiDivider-root:last-child": { ml: 0 } }, children: e.map(({ name: l, guid: c, subtitle: d, type: u },
|
|
2843
|
+
/* @__PURE__ */ t(Ft, { children: /* @__PURE__ */ t(St, {}) })
|
|
2844
|
+
] }) }), pt = ({ list: e, onClick: i, sx: n }) => /* @__PURE__ */ t(N, { sx: { bgcolor: "background.paper" }, children: /* @__PURE__ */ t(tt, { sx: { "& .MuiDivider-root:last-child": { ml: 0 } }, children: e.map(({ name: l, guid: c, subtitle: d, type: u }, b) => /* @__PURE__ */ _(r.Fragment, { children: [
|
|
2845
2845
|
/* @__PURE__ */ t(
|
|
2846
|
-
|
|
2846
|
+
re,
|
|
2847
2847
|
{
|
|
2848
2848
|
guid: c,
|
|
2849
2849
|
name: l,
|
|
@@ -2853,15 +2853,15 @@ const kt = ({
|
|
|
2853
2853
|
}
|
|
2854
2854
|
),
|
|
2855
2855
|
/* @__PURE__ */ t(z, { sx: { ml: 24 } })
|
|
2856
|
-
] }, `${l}-${
|
|
2856
|
+
] }, `${l}-${b}`)) }) }), ae = ({
|
|
2857
2857
|
copy: e,
|
|
2858
2858
|
isOpen: i,
|
|
2859
2859
|
onClick: n,
|
|
2860
2860
|
onClose: l,
|
|
2861
2861
|
topic: c
|
|
2862
2862
|
}) => {
|
|
2863
|
-
const { institutions: d, accounts: u } =
|
|
2864
|
-
() =>
|
|
2863
|
+
const { institutions: d, accounts: u } = Tt(), { onEvent: b } = V(), S = r.useMemo(
|
|
2864
|
+
() => oe(d, u, {
|
|
2865
2865
|
singular: e.request_support_institution_account,
|
|
2866
2866
|
plural: e.request_support_institution_accounts
|
|
2867
2867
|
}),
|
|
@@ -2893,7 +2893,7 @@ const kt = ({
|
|
|
2893
2893
|
{
|
|
2894
2894
|
list: S,
|
|
2895
2895
|
onClick: (h) => {
|
|
2896
|
-
|
|
2896
|
+
b(k.HELP_CLICK_SUPPORT_FOR_INSTITUTION, {
|
|
2897
2897
|
supportTopic: c,
|
|
2898
2898
|
supportInstitution: h
|
|
2899
2899
|
}), n(h);
|
|
@@ -2902,8 +2902,8 @@ const kt = ({
|
|
|
2902
2902
|
}
|
|
2903
2903
|
)
|
|
2904
2904
|
] }) });
|
|
2905
|
-
},
|
|
2906
|
-
const n =
|
|
2905
|
+
}, ce = ({ copy: e, onButtonClick: i }) => {
|
|
2906
|
+
const n = le();
|
|
2907
2907
|
return /* @__PURE__ */ _(C, { sx: { alignItems: "center", gap: 5 }, children: [
|
|
2908
2908
|
/* @__PURE__ */ t(U, { color: "text.secondary", sx: n, children: e.contact_support }),
|
|
2909
2909
|
/* @__PURE__ */ t(
|
|
@@ -2917,10 +2917,10 @@ const kt = ({
|
|
|
2917
2917
|
),
|
|
2918
2918
|
/* @__PURE__ */ t($, { onClick: i, sx: { ...n, mt: 24 }, children: e.request_support_footer_button })
|
|
2919
2919
|
] });
|
|
2920
|
-
},
|
|
2920
|
+
}, le = () => ({
|
|
2921
2921
|
fontWeight: 600,
|
|
2922
2922
|
textAlign: "center"
|
|
2923
|
-
}),
|
|
2923
|
+
}), de = ({
|
|
2924
2924
|
copy: e,
|
|
2925
2925
|
institution: i,
|
|
2926
2926
|
isOpen: n,
|
|
@@ -2982,7 +2982,7 @@ const kt = ({
|
|
|
2982
2982
|
/* @__PURE__ */ t($, { onClick: l, variant: "text", children: e.request_support_institution_back })
|
|
2983
2983
|
] })
|
|
2984
2984
|
] });
|
|
2985
|
-
},
|
|
2985
|
+
}, ge = ({
|
|
2986
2986
|
copy: e,
|
|
2987
2987
|
email: i,
|
|
2988
2988
|
isOpen: n,
|
|
@@ -3000,13 +3000,13 @@ const kt = ({
|
|
|
3000
3000
|
/* @__PURE__ */ t($, { fullWidth: !0, onClick: c, variant: "contained", children: d.done_button }),
|
|
3001
3001
|
/* @__PURE__ */ t($, { fullWidth: !0, onClick: l, sx: { mt: 8 }, children: e.request_support_institution_back })
|
|
3002
3002
|
] }) });
|
|
3003
|
-
},
|
|
3003
|
+
}, ue = lt(
|
|
3004
3004
|
({ copy: e, isOpen: i, onClose: n }) => {
|
|
3005
|
-
const { onEvent: l } = V(), { alert: c, createSupportTicket: d, isLoading: u, setAlert:
|
|
3005
|
+
const { onEvent: l } = V(), { alert: c, createSupportTicket: d, isLoading: u, setAlert: b } = nt(), { isInitialized: S } = Et(), { user: h } = Ct(), [v, I] = r.useState(""), [D, R] = r.useState(!1), [H, T] = r.useState(!1), [w, W] = r.useState({
|
|
3006
3006
|
isOpen: !1,
|
|
3007
3007
|
topic: "",
|
|
3008
3008
|
type: void 0
|
|
3009
|
-
}), L =
|
|
3009
|
+
}), L = Dt.map((x) => ({
|
|
3010
3010
|
...x,
|
|
3011
3011
|
title: e.help_by_category_list[x.guid].label,
|
|
3012
3012
|
topics: x.topics.map(({ type: M }, bt) => ({
|
|
@@ -3015,22 +3015,22 @@ const kt = ({
|
|
|
3015
3015
|
}))
|
|
3016
3016
|
})), X = Object.keys(e.popular_topics_list).map((x, M) => ({
|
|
3017
3017
|
name: e.popular_topics_list[x],
|
|
3018
|
-
type:
|
|
3018
|
+
type: Rt[M].type
|
|
3019
3019
|
})), F = () => {
|
|
3020
3020
|
I(""), W({ isOpen: !1, topic: "", type: void 0 });
|
|
3021
3021
|
}, B = (x) => {
|
|
3022
3022
|
h.email && d({
|
|
3023
3023
|
email: h.email,
|
|
3024
|
-
message:
|
|
3025
|
-
title:
|
|
3024
|
+
message: v ? `Institution: ${v}, ${x}` : x,
|
|
3025
|
+
title: w.topic || "Contact Support"
|
|
3026
3026
|
});
|
|
3027
3027
|
}, q = (x, M) => {
|
|
3028
3028
|
M === "other" ? T(!0) : W({ isOpen: !0, topic: x, type: M });
|
|
3029
3029
|
}, ht = () => {
|
|
3030
|
-
|
|
3030
|
+
b(""), R(!1), T(!1), F();
|
|
3031
3031
|
}, vt = (x) => {
|
|
3032
3032
|
if (!h.email) {
|
|
3033
|
-
|
|
3033
|
+
b(e.request_support_email_not_exists_message, "error");
|
|
3034
3034
|
return;
|
|
3035
3035
|
}
|
|
3036
3036
|
l(k.HELP_CLICK_SUPPORT_FOR_MISSING_INSTITUTION, {
|
|
@@ -3086,14 +3086,14 @@ const kt = ({
|
|
|
3086
3086
|
}
|
|
3087
3087
|
),
|
|
3088
3088
|
/* @__PURE__ */ t(
|
|
3089
|
-
|
|
3089
|
+
ne,
|
|
3090
3090
|
{
|
|
3091
3091
|
helpByCategory: L,
|
|
3092
3092
|
onClick: q
|
|
3093
3093
|
}
|
|
3094
3094
|
),
|
|
3095
3095
|
/* @__PURE__ */ t(N, { sx: { p: 24 }, children: /* @__PURE__ */ t(
|
|
3096
|
-
|
|
3096
|
+
ce,
|
|
3097
3097
|
{
|
|
3098
3098
|
copy: e,
|
|
3099
3099
|
onButtonClick: () => {
|
|
@@ -3103,24 +3103,24 @@ const kt = ({
|
|
|
3103
3103
|
) })
|
|
3104
3104
|
] }),
|
|
3105
3105
|
/* @__PURE__ */ t(
|
|
3106
|
-
|
|
3106
|
+
ie,
|
|
3107
3107
|
{
|
|
3108
3108
|
alert: c,
|
|
3109
3109
|
copy: e,
|
|
3110
3110
|
email: h.email,
|
|
3111
|
-
institution:
|
|
3111
|
+
institution: v,
|
|
3112
3112
|
isLoading: u,
|
|
3113
3113
|
isOpen: D,
|
|
3114
3114
|
onClose: () => {
|
|
3115
3115
|
R(!1), I("");
|
|
3116
3116
|
},
|
|
3117
3117
|
onSubmit: B,
|
|
3118
|
-
setAlert:
|
|
3119
|
-
topic:
|
|
3118
|
+
setAlert: b,
|
|
3119
|
+
topic: w.topic || e.contact_support
|
|
3120
3120
|
}
|
|
3121
3121
|
),
|
|
3122
3122
|
/* @__PURE__ */ t(
|
|
3123
|
-
|
|
3123
|
+
_e,
|
|
3124
3124
|
{
|
|
3125
3125
|
copy: e,
|
|
3126
3126
|
isOpen: H,
|
|
@@ -3129,52 +3129,52 @@ const kt = ({
|
|
|
3129
3129
|
}
|
|
3130
3130
|
),
|
|
3131
3131
|
/* @__PURE__ */ t(
|
|
3132
|
-
|
|
3132
|
+
ae,
|
|
3133
3133
|
{
|
|
3134
3134
|
copy: e,
|
|
3135
|
-
isOpen:
|
|
3135
|
+
isOpen: w.isOpen,
|
|
3136
3136
|
onClick: (x) => {
|
|
3137
|
-
I(x),
|
|
3137
|
+
I(x), w.type === "internal" && R(!0);
|
|
3138
3138
|
},
|
|
3139
3139
|
onClose: F,
|
|
3140
|
-
topic:
|
|
3140
|
+
topic: w.topic
|
|
3141
3141
|
}
|
|
3142
3142
|
),
|
|
3143
3143
|
/* @__PURE__ */ t(
|
|
3144
|
-
|
|
3144
|
+
ge,
|
|
3145
3145
|
{
|
|
3146
3146
|
copy: e,
|
|
3147
3147
|
email: h.email,
|
|
3148
3148
|
isOpen: !!c.message && c.severity === "success" && !u,
|
|
3149
3149
|
onBack: () => {
|
|
3150
|
-
|
|
3150
|
+
b(""), w.type === "internal" && R(!1);
|
|
3151
3151
|
},
|
|
3152
3152
|
onClose: ht
|
|
3153
3153
|
}
|
|
3154
3154
|
),
|
|
3155
3155
|
/* @__PURE__ */ t(
|
|
3156
|
-
|
|
3156
|
+
de,
|
|
3157
3157
|
{
|
|
3158
3158
|
copy: e,
|
|
3159
|
-
institution:
|
|
3160
|
-
isOpen: !!
|
|
3159
|
+
institution: v,
|
|
3160
|
+
isOpen: !!v && w.type === "external",
|
|
3161
3161
|
onClose: () => I(""),
|
|
3162
3162
|
popularTopicsDrawerOnClose: F,
|
|
3163
|
-
title:
|
|
3163
|
+
title: w.topic
|
|
3164
3164
|
}
|
|
3165
3165
|
)
|
|
3166
3166
|
] }) });
|
|
3167
3167
|
}
|
|
3168
|
-
),
|
|
3169
|
-
const { config: i } =
|
|
3168
|
+
), je = ({ sx: e = {} }) => {
|
|
3169
|
+
const { config: i } = At(), { onEvent: n } = V(), { help: l } = K(), { helpCategories: c } = nt(), { isMobile: d } = Lt(), [u, b] = r.useState(!1), [S, h] = r.useState(null), v = (D) => {
|
|
3170
3170
|
n(k.HELP_CLICK_TOPIC, {
|
|
3171
3171
|
feature: D.category,
|
|
3172
3172
|
helpTopic: D.pageTitle
|
|
3173
3173
|
}), h(D);
|
|
3174
|
-
}, I = () =>
|
|
3174
|
+
}, I = () => b(!0);
|
|
3175
3175
|
return /* @__PURE__ */ _(N, { sx: { pt: 24, px: d ? 24 : 0, ...e }, children: [
|
|
3176
3176
|
S ? /* @__PURE__ */ t(
|
|
3177
|
-
|
|
3177
|
+
ee,
|
|
3178
3178
|
{
|
|
3179
3179
|
copy: l,
|
|
3180
3180
|
hasRequestButton: i.enable_support_requests,
|
|
@@ -3183,7 +3183,7 @@ const kt = ({
|
|
|
3183
3183
|
topicInfo: S
|
|
3184
3184
|
}
|
|
3185
3185
|
) : /* @__PURE__ */ t(
|
|
3186
|
-
|
|
3186
|
+
Bt,
|
|
3187
3187
|
{
|
|
3188
3188
|
buttonText: l.request_support,
|
|
3189
3189
|
hasRequestButton: i.enable_support_requests,
|
|
@@ -3191,20 +3191,20 @@ const kt = ({
|
|
|
3191
3191
|
helpContent: l.list_short_content,
|
|
3192
3192
|
helpTitle: l.list_title,
|
|
3193
3193
|
onRequestHelp: I,
|
|
3194
|
-
onTopicSelect:
|
|
3194
|
+
onTopicSelect: v
|
|
3195
3195
|
}
|
|
3196
3196
|
),
|
|
3197
3197
|
/* @__PURE__ */ t(
|
|
3198
|
-
|
|
3198
|
+
ue,
|
|
3199
3199
|
{
|
|
3200
3200
|
copy: l,
|
|
3201
3201
|
isOpen: u,
|
|
3202
|
-
onClose: () =>
|
|
3202
|
+
onClose: () => b(!1)
|
|
3203
3203
|
}
|
|
3204
3204
|
)
|
|
3205
3205
|
] });
|
|
3206
3206
|
};
|
|
3207
3207
|
export {
|
|
3208
|
-
|
|
3208
|
+
je as H
|
|
3209
3209
|
};
|
|
3210
|
-
//# sourceMappingURL=Help-
|
|
3210
|
+
//# sourceMappingURL=Help-BAj_yo3q.mjs.map
|