@mx-cartographer/experiences 8.0.0-alpha.bb4 → 8.0.0-alpha.sms1
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/{Account-B4CDD-zq.mjs → Account-BDXA6PWh.mjs} +1 -1
- package/dist/AccountDetailsContent-CUztd3-b.mjs +683 -0
- package/dist/{AccountDetailsHeader-DRjFuyJT.mjs → AccountDetailsHeader-i3KFhNuo.mjs} +18 -18
- package/dist/{AccountFields-Cl4KHoSj.mjs → AccountFields-QZspYAji.mjs} +10 -12
- package/dist/AccountListItem-DX5upmCS.mjs +90 -0
- package/dist/{AccountStore-HbVblv86.mjs → AccountStore-BcnDpyLL.mjs} +3 -3
- package/dist/{Accounts-CRUehOiy.mjs → Accounts-DXfZotRC.mjs} +1 -1
- package/dist/{BudgetUtil-Jv8h9H9l.mjs → BudgetUtil-Df2nII9u.mjs} +31 -31
- package/dist/{CashflowStore-CA190BPF.mjs → CashflowStore-D9Dpuz7X.mjs} +25 -18
- package/dist/{Category-Ccoew_sA.mjs → Category-CevNQ03n.mjs} +2 -2
- package/dist/{CategorySelectorDrawer-Dl006GKy.mjs → CategorySelectorDrawer-DqJK_rrL.mjs} +27 -27
- package/dist/{CategoryStore-MUwRWH9e.mjs → CategoryStore-DTgyAMM7.mjs} +2 -2
- package/dist/{CategoryUtil-DfVKKkRf.mjs → CategoryUtil-C5cR-nfQ.mjs} +4 -4
- package/dist/{ConnectDrawer-DVp54lUH.mjs → ConnectDrawer-BIbTqYOH.mjs} +47 -48
- package/dist/{ConnectionsDrawer-Dsc04-4Z.mjs → ConnectionsDrawer-BFfY3_zB.mjs} +2 -2
- package/dist/CurrencyInput-BFKcs-_K.mjs +85 -0
- package/dist/{DateUtil-CDPZw_-m.mjs → DateUtil-CBdcsyuk.mjs} +1 -1
- package/dist/{DebtsStore-pL63fmdT.mjs → DebtsStore-BbJB0nmu.mjs} +3 -3
- package/dist/{Dialog-CDV0kKxj.mjs → Dialog-BPTr3qHE.mjs} +24 -24
- package/dist/{Drawer-BF40nbsH.mjs → Drawer-BEtCk82g.mjs} +17 -17
- package/dist/{ExportCsvAction-QhQK4_FU.mjs → ExportCsvAction-DzTrtPzk.mjs} +3 -3
- package/dist/{FinstrongStore-BGf36b0z.mjs → FinstrongStore-BIrX0Xg2.mjs} +56 -56
- package/dist/{GoalStore-C1-w3Y1E.mjs → GoalStore-DpWY3gVb.mjs} +4 -4
- package/dist/HeaderCell-DjuifqHJ.mjs +6 -0
- package/dist/{Help-DBfsTkAi.mjs → Help-BnPXM_N2.mjs} +145 -124
- package/dist/{Help-c-zHlDbv.mjs → Help-DhcC-C05.mjs} +8 -8
- package/dist/{IconBacking-DgT8DCeh.mjs → IconBacking-B9oC6uL2.mjs} +11 -11
- package/dist/{LineChart-C1PxNf7P.mjs → LineChart-bc1D9xBE.mjs} +78 -78
- package/dist/{ListItemAction-BNCWQAN_.mjs → ListItemAction-uobBrm_a.mjs} +1 -1
- package/dist/Loader-DUaFpDGv.mjs +24 -0
- package/dist/{ManageIncome-8EsStyIQ.mjs → ManageIncome-NpXHhO1n.mjs} +46 -46
- package/dist/MicroWidgetContainer-DEiRnYVa.mjs +45 -0
- package/dist/MiniWidgetContainer-CmXpTylX.mjs +56 -0
- package/dist/{NetWorthStore-Bti6u-d9.mjs → NetWorthStore-lsuhEpn6.mjs} +4 -4
- package/dist/{NotificationSettings-B74rQVYC.mjs → NotificationSettings-CNmJWVeI.mjs} +77 -77
- package/dist/{OriginalBalanceAction-2Y_3U_mg.mjs → OriginalBalanceAction-DK8_LkPz.mjs} +8 -8
- package/dist/{RecurringSettings-DAncu--R.mjs → RecurringSettings-CqZh1SQa.mjs} +3 -3
- package/dist/{RecurringTransactions-CxcSL1dY.mjs → RecurringTransactions-BKcYmpv3.mjs} +77 -77
- package/dist/{RecurringTransactionsStore-CNFxyGB6.mjs → RecurringTransactionsStore-Ni5tSQIO.mjs} +1 -1
- package/dist/{ResponsiveButton-Cn6-R7ue.mjs → ResponsiveButton-DZFp78fJ.mjs} +10 -10
- package/dist/SearchBox-B2_zLv8-.mjs +42 -0
- package/dist/{SettingsStore-BASMQSIp.mjs → SettingsStore-krIRNwHK.mjs} +1 -1
- package/dist/{SingleSegmentDonut-7Uy6VEld.mjs → SingleSegmentDonut-BgbLgwHi.mjs} +6 -6
- package/dist/{SpendingData-DPQ96k3x.mjs → SpendingData-BuJ03S9d.mjs} +4 -4
- package/dist/{SpendingLegend-6FqtMcBV.mjs → SpendingLegend-CjX-hX2O.mjs} +12 -12
- package/dist/{StatusBar-CPfSXe80.mjs → StatusBar-BK_uYHAB.mjs} +6 -6
- package/dist/{TabContentContainer-CnMXkVqr.mjs → TabContentContainer-j01JYR_7.mjs} +8 -8
- package/dist/TransactionDetails-5M2vfr59.mjs +1379 -0
- package/dist/{TransactionStore-DbwAutwC.mjs → TransactionStore-D-Q3BU9Z.mjs} +58 -41
- package/dist/{TrendsStore-_mRaFUdf.mjs → TrendsStore-BW9FGQeE.mjs} +37 -37
- package/dist/{User-BklmOUSd.mjs → User-wXzDI4M8.mjs} +107 -107
- package/dist/{ViewMoreMicroCard-DAkyNRlD.mjs → ViewMoreMicroCard-C0832BMe.mjs} +233 -231
- package/dist/{WidgetContainer-CDh9fjpR.mjs → WidgetContainer-BhQ1Kx2z.mjs} +36 -36
- package/dist/accounts/index.es.js +94 -94
- package/dist/analytics/index.es.js +27 -27
- package/dist/budgets/index.es.js +251 -250
- package/dist/cashflow/index.es.js +158 -157
- package/dist/categories/index.es.js +2 -2
- package/dist/common/components/Loader.d.ts +2 -1
- package/dist/common/components/accountfilter/AccountFilterOptions.d.ts +1 -1
- package/dist/common/components/barchart/Bar.d.ts +25 -0
- package/dist/common/components/barchart/BarChart.d.ts +34 -0
- package/dist/common/components/barchart/BarColumn.d.ts +37 -0
- package/dist/common/components/barchart/Legend.d.ts +8 -0
- package/dist/common/components/barchart/Util.d.ts +42 -0
- package/dist/common/components/barchart/index.d.ts +1 -0
- package/dist/common/components/charts/linechart/CustomMark.d.ts +1 -1
- package/dist/common/components/index.d.ts +1 -0
- package/dist/common/index.es.js +660 -395
- package/dist/common/utils/Theme.d.ts +3 -1
- package/dist/dashboard/index.es.js +21 -21
- package/dist/debts/components/DebtsChart.d.ts +2 -1
- package/dist/debts/index.es.js +440 -440
- package/dist/{exportTransactionsToCSV-BgV_wTLT.mjs → exportTransactionsToCSV-Cz2t0lmA.mjs} +3 -3
- package/dist/finstrong/index.es.js +118 -118
- package/dist/goals/index.es.js +380 -386
- package/dist/help/components/content/BottomImageContent.d.ts +1 -1
- package/dist/help/components/content/LeftImageContent.d.ts +1 -1
- package/dist/help/components/content/RightImageContent.d.ts +1 -1
- package/dist/help/components/content/TopImageContent.d.ts +1 -1
- package/dist/help/index.es.js +6 -6
- package/dist/investments/index.es.js +279 -278
- package/dist/merchants/index.es.js +7 -7
- package/dist/microinsights/index.es.js +1 -1
- package/dist/networth/components/NetWorthChange.d.ts +1 -3
- package/dist/networth/index.es.js +185 -191
- package/dist/notifications/index.es.js +30 -30
- package/dist/recurringtransactions/index.es.js +85 -85
- package/dist/settings/index.es.js +270 -270
- package/dist/spending/index.es.js +44 -44
- package/dist/transactions/components/shared/transactionlist/DateRow.d.ts +7 -0
- package/dist/transactions/index.es.js +169 -168
- package/dist/trends/index.es.js +318 -317
- package/dist/{useAccountDisplayName-CcIp09Xc.mjs → useAccountDisplayName-CFNF8766.mjs} +1 -1
- package/dist/{useCombineEvents-kNzLTWCp.mjs → useCombineEvents-CRwX-qWE.mjs} +2 -2
- package/dist/{useScreenSize-B5afALev.mjs → useScreenSize-B6JyS_Lj.mjs} +1 -1
- package/package.json +50 -45
- package/dist/AccountDetailsContent-adZTkM52.mjs +0 -683
- package/dist/AccountListItem-wgmlex-_.mjs +0 -90
- package/dist/CurrencyInput-D1cjbdCI.mjs +0 -85
- package/dist/HeaderCell-P8w6CmfO.mjs +0 -6
- package/dist/Loader-Ckqi9Rx6.mjs +0 -21
- package/dist/MicroWidgetContainer-BGpNl5ZS.mjs +0 -45
- package/dist/MiniWidgetContainer-CKzf_Ira.mjs +0 -56
- package/dist/SearchBox-B7km148n.mjs +0 -39
- package/dist/TransactionDetails-Bn0qY5Hw.mjs +0 -1336
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as _, jsx as t, Fragment as ht } from "react/jsx-runtime";
|
|
2
2
|
import r, { useState as vt } from "react";
|
|
3
|
-
import
|
|
3
|
+
import O from "@mui/material/Box";
|
|
4
4
|
import it from "@mui/material/Accordion";
|
|
5
5
|
import nt from "@mui/material/AccordionDetails";
|
|
6
6
|
import st from "@mui/material/AccordionSummary";
|
|
@@ -16,19 +16,19 @@ import xt from "@mui/material/Breadcrumbs";
|
|
|
16
16
|
import { u as V, A as tt, d as ft, p as St, b as It, a as Tt } from "./hooks-C41HAxM5.mjs";
|
|
17
17
|
import { useTheme as Z } from "@mui/material/styles";
|
|
18
18
|
import { b as s } from "./Localization-2MODESHW.mjs";
|
|
19
|
-
import { E as Et, a as Ct, P as At } from "./Help-
|
|
19
|
+
import { E as Et, a as Ct, P as At } from "./Help-DhcC-C05.mjs";
|
|
20
20
|
import { observer as rt } from "mobx-react-lite";
|
|
21
21
|
import at from "@mui/material/Alert";
|
|
22
22
|
import ct from "@mui/material/Snackbar";
|
|
23
23
|
import lt from "@mui/material/TextField";
|
|
24
|
-
import { D as U } from "./Drawer-
|
|
25
|
-
import { L as dt } from "./Loader-
|
|
26
|
-
import
|
|
27
|
-
import
|
|
24
|
+
import { D as U } from "./Drawer-BEtCk82g.mjs";
|
|
25
|
+
import { L as dt } from "./Loader-DUaFpDGv.mjs";
|
|
26
|
+
import Ot from "@mui/material/ListItemAvatar";
|
|
27
|
+
import Nt from "@mui/material/ListItem";
|
|
28
28
|
import Dt from "@mui/material/ListItemIcon";
|
|
29
29
|
import Lt from "@mui/material/ListItemText";
|
|
30
|
-
import { u as Rt } from "./useScreenSize-
|
|
31
|
-
const
|
|
30
|
+
import { u as Rt } from "./useScreenSize-B6JyS_Lj.mjs";
|
|
31
|
+
const Gt = (e, i, n) => {
|
|
32
32
|
const l = i.reduce((c, { institution_guid: d }) => (c[d] = (c[d] || 0) + 1, c), {});
|
|
33
33
|
return e.filter(({ guid: c }) => !!l[c]).map(({ guid: c, ...d }) => {
|
|
34
34
|
const g = `${l[c]} ${l[c] === 1 ? n.singular : n.plural}`;
|
|
@@ -38,7 +38,7 @@ const kt = (e, i, n) => {
|
|
|
38
38
|
subtitle: g
|
|
39
39
|
};
|
|
40
40
|
});
|
|
41
|
-
},
|
|
41
|
+
}, kt = ({
|
|
42
42
|
buttonText: e,
|
|
43
43
|
hasRequestButton: i = !1,
|
|
44
44
|
helpCategories: n = [],
|
|
@@ -61,7 +61,7 @@ const kt = (e, i, n) => {
|
|
|
61
61
|
children: [
|
|
62
62
|
/* @__PURE__ */ _(E, { children: [
|
|
63
63
|
/* @__PURE__ */ t(y, { children: c }),
|
|
64
|
-
/* @__PURE__ */ t(H, { variant: "
|
|
64
|
+
/* @__PURE__ */ t(H, { variant: "Body", children: l })
|
|
65
65
|
] }),
|
|
66
66
|
i && /* @__PURE__ */ t(
|
|
67
67
|
E,
|
|
@@ -79,9 +79,9 @@ const kt = (e, i, n) => {
|
|
|
79
79
|
}
|
|
80
80
|
),
|
|
81
81
|
/* @__PURE__ */ t(E, { sx: { flexDirection: { xs: "column", md: "row" }, gap: 12 }, children: [0, 1].map((w) => {
|
|
82
|
-
const
|
|
83
|
-
return /* @__PURE__ */ t(E, { sx: { flex: 1, gap: 12, maxWidth: { md: "calc(50% - 6px)" } }, children:
|
|
84
|
-
const P = R +
|
|
82
|
+
const N = w === 0 ? 0 : v, D = w === 0 ? v : n.length, $ = n.slice(N, D);
|
|
83
|
+
return /* @__PURE__ */ t(E, { sx: { flex: 1, gap: 12, maxWidth: { md: "calc(50% - 6px)" } }, children: $.map(({ guid: F, icon: x, topics: S, title: B }, R) => {
|
|
84
|
+
const P = R + N;
|
|
85
85
|
return /* @__PURE__ */ _(
|
|
86
86
|
it,
|
|
87
87
|
{
|
|
@@ -89,7 +89,7 @@ const kt = (e, i, n) => {
|
|
|
89
89
|
expanded: P === h,
|
|
90
90
|
onChange: (L, W) => f(W ? P : null),
|
|
91
91
|
sx: (L) => ({
|
|
92
|
-
border: `1px solid ${L.palette.
|
|
92
|
+
border: `1px solid ${L.palette.border?.light}`,
|
|
93
93
|
borderRadius: "8px !important",
|
|
94
94
|
"&:before": {
|
|
95
95
|
opacity: 0
|
|
@@ -108,7 +108,7 @@ const kt = (e, i, n) => {
|
|
|
108
108
|
sx: { height: 64, p: "14px 24px" },
|
|
109
109
|
children: /* @__PURE__ */ _(E, { sx: { alignItems: "center", flexDirection: "row", gap: 12 }, children: [
|
|
110
110
|
/* @__PURE__ */ t(X, { name: x, size: 24 }),
|
|
111
|
-
/* @__PURE__ */ t(T, { variant: "
|
|
111
|
+
/* @__PURE__ */ t(T, { variant: "Body", children: B })
|
|
112
112
|
] })
|
|
113
113
|
}
|
|
114
114
|
),
|
|
@@ -125,16 +125,16 @@ const kt = (e, i, n) => {
|
|
|
125
125
|
{
|
|
126
126
|
"aria-label": L,
|
|
127
127
|
divider: !0,
|
|
128
|
-
onClick: () => g({ guid:
|
|
128
|
+
onClick: () => g({ guid: F, category: B, pageTitle: L, topicKey: W }),
|
|
129
129
|
sx: {
|
|
130
130
|
pl: "6px !important",
|
|
131
|
-
borderColor: "
|
|
131
|
+
borderColor: "border.light",
|
|
132
132
|
"&:last-child": {
|
|
133
133
|
border: "none !important",
|
|
134
134
|
borderBottomRightRadius: 7
|
|
135
135
|
}
|
|
136
136
|
},
|
|
137
|
-
children: /* @__PURE__ */ t(T, { color: "secondary", variant: "
|
|
137
|
+
children: /* @__PURE__ */ t(T, { color: "secondary", variant: "Small", children: L })
|
|
138
138
|
},
|
|
139
139
|
W
|
|
140
140
|
)) })
|
|
@@ -142,7 +142,7 @@ const kt = (e, i, n) => {
|
|
|
142
142
|
)
|
|
143
143
|
]
|
|
144
144
|
},
|
|
145
|
-
|
|
145
|
+
F
|
|
146
146
|
);
|
|
147
147
|
}) }, w);
|
|
148
148
|
}) })
|
|
@@ -157,12 +157,15 @@ const kt = (e, i, n) => {
|
|
|
157
157
|
}) => {
|
|
158
158
|
const g = Z();
|
|
159
159
|
return /* @__PURE__ */ _(r.Fragment, { children: [
|
|
160
|
-
/* @__PURE__ */ t(
|
|
161
|
-
/* @__PURE__ */ t(C, {
|
|
160
|
+
/* @__PURE__ */ t(O, { sx: { pb: 48, ...d }, children: /* @__PURE__ */ _(C, { container: !0, rowSpacing: 24, children: [
|
|
161
|
+
/* @__PURE__ */ t(C, { item: !0, lg: 12, md: 12, sm: 12, xs: 12, children: i }),
|
|
162
162
|
/* @__PURE__ */ t(
|
|
163
163
|
C,
|
|
164
164
|
{
|
|
165
|
-
|
|
165
|
+
item: !0,
|
|
166
|
+
lg: c,
|
|
167
|
+
md: 12,
|
|
168
|
+
sm: 12,
|
|
166
169
|
sx: {
|
|
167
170
|
m: "0 auto",
|
|
168
171
|
[g.breakpoints.between("sm", "lg")]: {
|
|
@@ -177,13 +180,14 @@ const kt = (e, i, n) => {
|
|
|
177
180
|
}
|
|
178
181
|
}
|
|
179
182
|
},
|
|
183
|
+
xs: 12,
|
|
180
184
|
children: /* @__PURE__ */ t("img", { alt: e, src: l })
|
|
181
185
|
}
|
|
182
186
|
)
|
|
183
187
|
] }) }),
|
|
184
188
|
n && /* @__PURE__ */ t(M, {})
|
|
185
189
|
] });
|
|
186
|
-
},
|
|
190
|
+
}, Ft = ({
|
|
187
191
|
buttonCopy: e,
|
|
188
192
|
hasRequestButton: i,
|
|
189
193
|
onNavigateToList: n,
|
|
@@ -194,25 +198,25 @@ const kt = (e, i, n) => {
|
|
|
194
198
|
const { help: g } = V();
|
|
195
199
|
return /* @__PURE__ */ _(r.Fragment, { children: [
|
|
196
200
|
/* @__PURE__ */ _(C, { container: !0, sx: { alignItems: "center", justifyContent: "space-between" }, children: [
|
|
197
|
-
/* @__PURE__ */ _(C, {
|
|
201
|
+
/* @__PURE__ */ _(C, { item: !0, sm: 6, xs: 12, children: [
|
|
198
202
|
/* @__PURE__ */ t(y, { color: "text.primary", children: c }),
|
|
199
203
|
/* @__PURE__ */ _(
|
|
200
204
|
xt,
|
|
201
205
|
{
|
|
202
|
-
separator: /* @__PURE__ */ t(T, { bold: !0, color: "grey.600", sx: { fontWeight: 700 }, variant: "
|
|
206
|
+
separator: /* @__PURE__ */ t(T, { bold: !0, color: "grey.600", sx: { fontWeight: 700 }, variant: "Small", children: "/" }),
|
|
203
207
|
children: [
|
|
204
208
|
/* @__PURE__ */ t(
|
|
205
209
|
T,
|
|
206
210
|
{
|
|
207
211
|
bold: !0,
|
|
208
|
-
color: "primary.
|
|
212
|
+
color: "primary.lighter",
|
|
209
213
|
onClick: n,
|
|
210
214
|
sx: { cursor: "pointer", fontWeight: 700 },
|
|
211
|
-
variant: "
|
|
215
|
+
variant: "Small",
|
|
212
216
|
children: g.list_title
|
|
213
217
|
}
|
|
214
218
|
),
|
|
215
|
-
/* @__PURE__ */ t(T, { bold: !0, color: "text.secondary", sx: { fontWeight: 700 }, variant: "
|
|
219
|
+
/* @__PURE__ */ t(T, { bold: !0, color: "text.secondary", sx: { fontWeight: 700 }, variant: "Small", children: d })
|
|
216
220
|
]
|
|
217
221
|
}
|
|
218
222
|
)
|
|
@@ -220,12 +224,14 @@ const kt = (e, i, n) => {
|
|
|
220
224
|
i && /* @__PURE__ */ t(
|
|
221
225
|
C,
|
|
222
226
|
{
|
|
223
|
-
|
|
227
|
+
item: !0,
|
|
228
|
+
sm: 6,
|
|
224
229
|
sx: {
|
|
225
230
|
display: "flex",
|
|
226
231
|
justifyContent: { sm: "flex-end" },
|
|
227
232
|
mt: { xs: 24, sm: 0 }
|
|
228
233
|
},
|
|
234
|
+
xs: 12,
|
|
229
235
|
children: /* @__PURE__ */ t(q, { "aria-label": e, onClick: l, variant: "contained", children: e })
|
|
230
236
|
}
|
|
231
237
|
)
|
|
@@ -242,11 +248,14 @@ const kt = (e, i, n) => {
|
|
|
242
248
|
}) => {
|
|
243
249
|
const g = Z();
|
|
244
250
|
return /* @__PURE__ */ _(r.Fragment, { children: [
|
|
245
|
-
/* @__PURE__ */ t(
|
|
251
|
+
/* @__PURE__ */ t(O, { sx: { pb: 48, ...d }, children: /* @__PURE__ */ _(C, { container: !0, spacing: 24, sx: { alignItems: "flex-start" }, children: [
|
|
246
252
|
/* @__PURE__ */ t(
|
|
247
253
|
C,
|
|
248
254
|
{
|
|
249
|
-
|
|
255
|
+
item: !0,
|
|
256
|
+
lg: c,
|
|
257
|
+
md: 12,
|
|
258
|
+
sm: 12,
|
|
250
259
|
sx: {
|
|
251
260
|
alignSelf: "stretch",
|
|
252
261
|
[g.breakpoints.between("sm", "lg")]: {
|
|
@@ -261,10 +270,11 @@ const kt = (e, i, n) => {
|
|
|
261
270
|
}
|
|
262
271
|
}
|
|
263
272
|
},
|
|
273
|
+
xs: 12,
|
|
264
274
|
children: /* @__PURE__ */ t("img", { alt: e, src: l })
|
|
265
275
|
}
|
|
266
276
|
),
|
|
267
|
-
/* @__PURE__ */ t(C, {
|
|
277
|
+
/* @__PURE__ */ t(C, { item: !0, lg: 12 - c, md: 12, sm: 12, xs: 12, children: i })
|
|
268
278
|
] }) }),
|
|
269
279
|
n && /* @__PURE__ */ t(M, {})
|
|
270
280
|
] });
|
|
@@ -273,9 +283,9 @@ const kt = (e, i, n) => {
|
|
|
273
283
|
hasDivider: i = !0,
|
|
274
284
|
sx: n
|
|
275
285
|
}) => /* @__PURE__ */ _(ht, { children: [
|
|
276
|
-
/* @__PURE__ */ t(
|
|
286
|
+
/* @__PURE__ */ t(O, { sx: { pb: 48, ...n }, children: e }),
|
|
277
287
|
i && /* @__PURE__ */ t(M, {})
|
|
278
|
-
] }),
|
|
288
|
+
] }), G = ({
|
|
279
289
|
altImage: e,
|
|
280
290
|
content: i,
|
|
281
291
|
hasDivider: n = !0,
|
|
@@ -285,12 +295,15 @@ const kt = (e, i, n) => {
|
|
|
285
295
|
}) => {
|
|
286
296
|
const g = Z();
|
|
287
297
|
return /* @__PURE__ */ _(r.Fragment, { children: [
|
|
288
|
-
/* @__PURE__ */ t(
|
|
289
|
-
/* @__PURE__ */ t(C, {
|
|
298
|
+
/* @__PURE__ */ t(O, { sx: { pb: 48, ...d }, children: /* @__PURE__ */ _(C, { container: !0, spacing: 24, sx: { alignItems: "flex-start" }, children: [
|
|
299
|
+
/* @__PURE__ */ t(C, { item: !0, lg: 12 - c, md: 12, sm: 12, xs: 12, children: i }),
|
|
290
300
|
/* @__PURE__ */ t(
|
|
291
301
|
C,
|
|
292
302
|
{
|
|
293
|
-
|
|
303
|
+
item: !0,
|
|
304
|
+
lg: c,
|
|
305
|
+
md: 12,
|
|
306
|
+
sm: 12,
|
|
294
307
|
sx: {
|
|
295
308
|
[g.breakpoints.between("sm", "lg")]: {
|
|
296
309
|
display: "flex",
|
|
@@ -303,13 +316,14 @@ const kt = (e, i, n) => {
|
|
|
303
316
|
}
|
|
304
317
|
}
|
|
305
318
|
},
|
|
319
|
+
xs: 12,
|
|
306
320
|
children: /* @__PURE__ */ t("img", { alt: e, src: l })
|
|
307
321
|
}
|
|
308
322
|
)
|
|
309
323
|
] }) }),
|
|
310
324
|
n && /* @__PURE__ */ t(M, {})
|
|
311
325
|
] });
|
|
312
|
-
},
|
|
326
|
+
}, k = ({
|
|
313
327
|
altImage: e,
|
|
314
328
|
content: i,
|
|
315
329
|
hasDivider: n = !0,
|
|
@@ -319,11 +333,14 @@ const kt = (e, i, n) => {
|
|
|
319
333
|
}) => {
|
|
320
334
|
const g = Z();
|
|
321
335
|
return /* @__PURE__ */ _(r.Fragment, { children: [
|
|
322
|
-
/* @__PURE__ */ t(
|
|
336
|
+
/* @__PURE__ */ t(O, { sx: { pb: 48, ...d }, children: /* @__PURE__ */ _(C, { container: !0, rowSpacing: 24, children: [
|
|
323
337
|
/* @__PURE__ */ t(
|
|
324
338
|
C,
|
|
325
339
|
{
|
|
326
|
-
|
|
340
|
+
item: !0,
|
|
341
|
+
lg: c,
|
|
342
|
+
md: 12,
|
|
343
|
+
sm: 12,
|
|
327
344
|
sx: {
|
|
328
345
|
m: "0 auto",
|
|
329
346
|
[g.breakpoints.between("sm", "lg")]: {
|
|
@@ -338,10 +355,11 @@ const kt = (e, i, n) => {
|
|
|
338
355
|
}
|
|
339
356
|
}
|
|
340
357
|
},
|
|
358
|
+
xs: 12,
|
|
341
359
|
children: /* @__PURE__ */ t("img", { alt: e, src: l })
|
|
342
360
|
}
|
|
343
361
|
),
|
|
344
|
-
/* @__PURE__ */ t(C, {
|
|
362
|
+
/* @__PURE__ */ t(C, { item: !0, lg: 12, md: 12, sm: 12, xs: 12, children: i })
|
|
345
363
|
] }) }),
|
|
346
364
|
n && /* @__PURE__ */ t(M, {})
|
|
347
365
|
] });
|
|
@@ -353,14 +371,16 @@ const kt = (e, i, n) => {
|
|
|
353
371
|
subListType: c = "ol"
|
|
354
372
|
}) => {
|
|
355
373
|
const d = i, g = c;
|
|
356
|
-
return /* @__PURE__ */ t(
|
|
374
|
+
return /* @__PURE__ */ t(O, { sx: { [i]: { m: 0, p: 0, pl: 16, "& li::marker": { fontSize: 15 } } }, children: /* @__PURE__ */ t(d, { children: e.map((h, f) => /* @__PURE__ */ _("li", { children: [
|
|
357
375
|
/* @__PURE__ */ t(o, { content: h, sx: { py: 1 } }),
|
|
358
376
|
n === f ? /* @__PURE__ */ t(g, { ...c === "ol" && { type: "a" }, children: l.map((v, w) => /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t(o, { content: v, sx: { py: 1 } }) }, w)) }) : null
|
|
359
377
|
] }, f)) }) });
|
|
360
378
|
}, m = "https://content.moneydesktop.com/storage/MD_Assets/md/help", p = {
|
|
361
379
|
ACCOUNT_DETAILS: `${m}/account/AccountDetails.png`,
|
|
362
380
|
ACCOUNT_OVERVIEW: `${m}/account/AccountsOverview.png`,
|
|
381
|
+
ACCOUNT_ADD: `${m}/account/AddAccount.png`,
|
|
363
382
|
ACCOUNT_BROKEN_CONNECTION: `${m}/account/BrokenConnection.png`,
|
|
383
|
+
ACCOUNT_HIDE: `${m}/account/AccountHide.png`,
|
|
364
384
|
ACCOUNT_MANAGE_CONNECTIONS: `${m}/account/ManageConnections.png`,
|
|
365
385
|
BUDGETS_ADD_SUB_BUDGET: `${m}/budgets/AddSubBudget.png`,
|
|
366
386
|
BUDGETS_WIDGET: `${m}/budgets/BudgetWidget.png`,
|
|
@@ -375,6 +395,7 @@ const kt = (e, i, n) => {
|
|
|
375
395
|
GENERAL_CATEGORIZE_TRANSACTIONS: `${m}/general/CategorizeTransactions.png`,
|
|
376
396
|
GOALS_CREATE_GOAL: `${m}/goals/CreateGoal.png`,
|
|
377
397
|
GOALS_DEBT_GOALS: `${m}/goals/DebtGoals.png`,
|
|
398
|
+
GOALS_WIDGET_OVERVIEW: `${m}/goals/GoalsWidgetOverview.png`,
|
|
378
399
|
GOALS_MANAGE_GOALS: `${m}/goals/ManageGoals.png`,
|
|
379
400
|
GOALS_RETIREMENT_GOALS: `${m}/goals/RetirementGoals.png`,
|
|
380
401
|
GOALS_SAVINGS_GOALS: `${m}/goals/SavingsGoals.png`,
|
|
@@ -400,7 +421,7 @@ const kt = (e, i, n) => {
|
|
|
400
421
|
}, Bt = ({ copy: e, topicKey: i }) => ({
|
|
401
422
|
"accounts-overview": /* @__PURE__ */ _(r.Fragment, { children: [
|
|
402
423
|
/* @__PURE__ */ t(
|
|
403
|
-
|
|
424
|
+
G,
|
|
404
425
|
{
|
|
405
426
|
altImage: e.accounts_overview.alt_image,
|
|
406
427
|
content: /* @__PURE__ */ _(r.Fragment, { children: [
|
|
@@ -457,7 +478,7 @@ const kt = (e, i, n) => {
|
|
|
457
478
|
),
|
|
458
479
|
/* @__PURE__ */ t(u, { content: e.accounts_overview.add_account_title, sx: { pt: 48 } }),
|
|
459
480
|
/* @__PURE__ */ t(
|
|
460
|
-
|
|
481
|
+
k,
|
|
461
482
|
{
|
|
462
483
|
altImage: e.accounts_overview.alt_image_manage_connections,
|
|
463
484
|
content: /* @__PURE__ */ _(r.Fragment, { children: [
|
|
@@ -638,7 +659,7 @@ const kt = (e, i, n) => {
|
|
|
638
659
|
return {
|
|
639
660
|
"budgets-overview": /* @__PURE__ */ _(r.Fragment, { children: [
|
|
640
661
|
/* @__PURE__ */ t(
|
|
641
|
-
|
|
662
|
+
G,
|
|
642
663
|
{
|
|
643
664
|
altImage: n.overview_alt_image,
|
|
644
665
|
content: /* @__PURE__ */ _(r.Fragment, { children: [
|
|
@@ -692,7 +713,7 @@ const kt = (e, i, n) => {
|
|
|
692
713
|
),
|
|
693
714
|
/* @__PURE__ */ t(u, { content: n.create_budget_title, sx: { pt: 48 } }),
|
|
694
715
|
/* @__PURE__ */ t(
|
|
695
|
-
|
|
716
|
+
G,
|
|
696
717
|
{
|
|
697
718
|
altImage: n.create_budget_alt_image,
|
|
698
719
|
content: /* @__PURE__ */ t(r.Fragment, { children: /* @__PURE__ */ t(
|
|
@@ -726,7 +747,7 @@ const kt = (e, i, n) => {
|
|
|
726
747
|
}, Wt = ({ copy: e, topicKey: i }) => ({
|
|
727
748
|
"cash-flow-overview": /* @__PURE__ */ _(r.Fragment, { children: [
|
|
728
749
|
/* @__PURE__ */ t(
|
|
729
|
-
|
|
750
|
+
G,
|
|
730
751
|
{
|
|
731
752
|
altImage: e.cashflow_overview.alt_image,
|
|
732
753
|
content: /* @__PURE__ */ _(r.Fragment, { children: [
|
|
@@ -750,7 +771,7 @@ const kt = (e, i, n) => {
|
|
|
750
771
|
}
|
|
751
772
|
),
|
|
752
773
|
/* @__PURE__ */ t(
|
|
753
|
-
|
|
774
|
+
G,
|
|
754
775
|
{
|
|
755
776
|
altImage: e.cashflow_overview.alt_image_expense_details,
|
|
756
777
|
content: /* @__PURE__ */ t(
|
|
@@ -775,7 +796,7 @@ const kt = (e, i, n) => {
|
|
|
775
796
|
}
|
|
776
797
|
),
|
|
777
798
|
/* @__PURE__ */ t(
|
|
778
|
-
|
|
799
|
+
G,
|
|
779
800
|
{
|
|
780
801
|
altImage: e.cashflow_overview.alt_image_manage_expenses,
|
|
781
802
|
content: /* @__PURE__ */ t(o, { content: e.cashflow_overview.manage_expenses_instruction, sx: { mt: 24 } }),
|
|
@@ -787,7 +808,7 @@ const kt = (e, i, n) => {
|
|
|
787
808
|
})[i], Mt = ({ copy: e }) => {
|
|
788
809
|
const i = e.debts, n = {
|
|
789
810
|
overviewSection: /* @__PURE__ */ t(
|
|
790
|
-
|
|
811
|
+
k,
|
|
791
812
|
{
|
|
792
813
|
altImage: i.overview_image_alt,
|
|
793
814
|
content: /* @__PURE__ */ t(
|
|
@@ -805,7 +826,7 @@ const kt = (e, i, n) => {
|
|
|
805
826
|
}
|
|
806
827
|
),
|
|
807
828
|
snowballMethod: /* @__PURE__ */ t(
|
|
808
|
-
|
|
829
|
+
G,
|
|
809
830
|
{
|
|
810
831
|
altImage: i.snowball_method,
|
|
811
832
|
content: /* @__PURE__ */ t(o, { content: i.snowball_method_desc, sx: { mt: 24 } }),
|
|
@@ -1023,7 +1044,7 @@ const kt = (e, i, n) => {
|
|
|
1023
1044
|
/* @__PURE__ */ t(u, { content: i.extra_payments, sx: { pt: 48 } }),
|
|
1024
1045
|
n.extraPayments
|
|
1025
1046
|
] });
|
|
1026
|
-
},
|
|
1047
|
+
}, $t = ({ topicKey: e, copy: i }) => {
|
|
1027
1048
|
const { general_faqs: n } = i;
|
|
1028
1049
|
return {
|
|
1029
1050
|
"is-my-data-private-and-secure": /* @__PURE__ */ t(
|
|
@@ -1210,7 +1231,7 @@ const kt = (e, i, n) => {
|
|
|
1210
1231
|
),
|
|
1211
1232
|
/* @__PURE__ */ t(u, { content: i.create_goal_section_title, sx: { pt: 48 } }),
|
|
1212
1233
|
/* @__PURE__ */ t(
|
|
1213
|
-
|
|
1234
|
+
k,
|
|
1214
1235
|
{
|
|
1215
1236
|
altImage: "create_goal",
|
|
1216
1237
|
content: /* @__PURE__ */ t(
|
|
@@ -1358,11 +1379,11 @@ const kt = (e, i, n) => {
|
|
|
1358
1379
|
}
|
|
1359
1380
|
)
|
|
1360
1381
|
] });
|
|
1361
|
-
},
|
|
1382
|
+
}, zt = ({ copy: e }) => {
|
|
1362
1383
|
const i = e.investments;
|
|
1363
1384
|
return {
|
|
1364
1385
|
overviewSection: /* @__PURE__ */ t(
|
|
1365
|
-
|
|
1386
|
+
k,
|
|
1366
1387
|
{
|
|
1367
1388
|
altImage: i.overview,
|
|
1368
1389
|
content: /* @__PURE__ */ _(r.Fragment, { children: [
|
|
@@ -1424,7 +1445,7 @@ const kt = (e, i, n) => {
|
|
|
1424
1445
|
return /* @__PURE__ */ _(r.Fragment, { children: [
|
|
1425
1446
|
/* @__PURE__ */ t(o, { content: i.mobile_devices_overview_header_text }),
|
|
1426
1447
|
/* @__PURE__ */ t(
|
|
1427
|
-
|
|
1448
|
+
k,
|
|
1428
1449
|
{
|
|
1429
1450
|
altImage: i.alt_image_add_mobile_devices,
|
|
1430
1451
|
content: /* @__PURE__ */ _(r.Fragment, { children: [
|
|
@@ -1499,7 +1520,7 @@ const kt = (e, i, n) => {
|
|
|
1499
1520
|
return {
|
|
1500
1521
|
"net-worth-overview": /* @__PURE__ */ _(r.Fragment, { children: [
|
|
1501
1522
|
/* @__PURE__ */ t(
|
|
1502
|
-
|
|
1523
|
+
k,
|
|
1503
1524
|
{
|
|
1504
1525
|
altImage: n.alt_image_net_worth_overview,
|
|
1505
1526
|
content: /* @__PURE__ */ t(
|
|
@@ -1627,7 +1648,7 @@ const kt = (e, i, n) => {
|
|
|
1627
1648
|
}, Vt = ({ copy: e, topicKey: i }) => ({
|
|
1628
1649
|
"notifications-overview": /* @__PURE__ */ _(r.Fragment, { children: [
|
|
1629
1650
|
/* @__PURE__ */ t(
|
|
1630
|
-
|
|
1651
|
+
G,
|
|
1631
1652
|
{
|
|
1632
1653
|
altImage: e.notifications_overview.alt_image,
|
|
1633
1654
|
content: /* @__PURE__ */ t(
|
|
@@ -1652,7 +1673,7 @@ const kt = (e, i, n) => {
|
|
|
1652
1673
|
}
|
|
1653
1674
|
),
|
|
1654
1675
|
/* @__PURE__ */ t(
|
|
1655
|
-
|
|
1676
|
+
G,
|
|
1656
1677
|
{
|
|
1657
1678
|
altImage: e.notifications_overview.alt_image_managing_notifications,
|
|
1658
1679
|
content: /* @__PURE__ */ t(r.Fragment, { children: /* @__PURE__ */ t(
|
|
@@ -1736,7 +1757,7 @@ const kt = (e, i, n) => {
|
|
|
1736
1757
|
})[i], jt = ({ copy: e }) => {
|
|
1737
1758
|
const i = e.recurring_transactions, n = {
|
|
1738
1759
|
overviewSsction: /* @__PURE__ */ t(
|
|
1739
|
-
|
|
1760
|
+
k,
|
|
1740
1761
|
{
|
|
1741
1762
|
altImage: i.overview_alt_image,
|
|
1742
1763
|
content: /* @__PURE__ */ t(
|
|
@@ -1830,7 +1851,7 @@ const kt = (e, i, n) => {
|
|
|
1830
1851
|
return {
|
|
1831
1852
|
"spending-widget-overview": /* @__PURE__ */ _(r.Fragment, { children: [
|
|
1832
1853
|
/* @__PURE__ */ t(
|
|
1833
|
-
|
|
1854
|
+
k,
|
|
1834
1855
|
{
|
|
1835
1856
|
altImage: n.alt_image,
|
|
1836
1857
|
content: /* @__PURE__ */ _(r.Fragment, { children: [
|
|
@@ -1929,7 +1950,7 @@ const kt = (e, i, n) => {
|
|
|
1929
1950
|
}, Zt = ({ copy: e, topicKey: i }) => ({
|
|
1930
1951
|
"transactions-overview": /* @__PURE__ */ _(r.Fragment, { children: [
|
|
1931
1952
|
/* @__PURE__ */ t(
|
|
1932
|
-
|
|
1953
|
+
k,
|
|
1933
1954
|
{
|
|
1934
1955
|
altImage: e.transactions_widget_overview.widget_overview_alt_image,
|
|
1935
1956
|
content: /* @__PURE__ */ _(r.Fragment, { children: [
|
|
@@ -1968,7 +1989,7 @@ const kt = (e, i, n) => {
|
|
|
1968
1989
|
}
|
|
1969
1990
|
),
|
|
1970
1991
|
/* @__PURE__ */ t(
|
|
1971
|
-
|
|
1992
|
+
G,
|
|
1972
1993
|
{
|
|
1973
1994
|
altImage: e.transactions_widget_overview.edit_transactions_alt_image,
|
|
1974
1995
|
content: /* @__PURE__ */ _(r.Fragment, { children: [
|
|
@@ -2264,7 +2285,7 @@ const kt = (e, i, n) => {
|
|
|
2264
2285
|
)
|
|
2265
2286
|
] }),
|
|
2266
2287
|
"exporting-transactions": /* @__PURE__ */ t(
|
|
2267
|
-
|
|
2288
|
+
k,
|
|
2268
2289
|
{
|
|
2269
2290
|
altImage: e.export_transactions.export_transactions_alt_image,
|
|
2270
2291
|
content: /* @__PURE__ */ _(r.Fragment, { children: [
|
|
@@ -2304,7 +2325,7 @@ const kt = (e, i, n) => {
|
|
|
2304
2325
|
)
|
|
2305
2326
|
})[i], Yt = ({ copy: e }) => /* @__PURE__ */ _(r.Fragment, { children: [
|
|
2306
2327
|
/* @__PURE__ */ t(
|
|
2307
|
-
|
|
2328
|
+
k,
|
|
2308
2329
|
{
|
|
2309
2330
|
altImage: e.trends_widget_overview.widget_overview_alt_image,
|
|
2310
2331
|
content: /* @__PURE__ */ _(r.Fragment, { children: [
|
|
@@ -2416,7 +2437,7 @@ const kt = (e, i, n) => {
|
|
|
2416
2437
|
),
|
|
2417
2438
|
/* @__PURE__ */ t(u, { content: n.dashboard_insights_section_title, sx: { mt: 48 } }),
|
|
2418
2439
|
/* @__PURE__ */ t(
|
|
2419
|
-
|
|
2440
|
+
G,
|
|
2420
2441
|
{
|
|
2421
2442
|
altImage: n.alt_image_dashboard_insights,
|
|
2422
2443
|
content: /* @__PURE__ */ _(r.Fragment, { children: [
|
|
@@ -2504,10 +2525,10 @@ const kt = (e, i, n) => {
|
|
|
2504
2525
|
budgets: Pt,
|
|
2505
2526
|
cashflow: Wt,
|
|
2506
2527
|
debts: Mt,
|
|
2507
|
-
general:
|
|
2528
|
+
general: $t,
|
|
2508
2529
|
goals: qt,
|
|
2509
2530
|
insights: Jt,
|
|
2510
|
-
investments:
|
|
2531
|
+
investments: zt,
|
|
2511
2532
|
mobile: Ht,
|
|
2512
2533
|
networth: Ut,
|
|
2513
2534
|
recurring_transactions: jt,
|
|
@@ -2524,7 +2545,7 @@ const kt = (e, i, n) => {
|
|
|
2524
2545
|
const { help: f } = V(), v = Kt[h] || null;
|
|
2525
2546
|
return /* @__PURE__ */ _(r.Fragment, { children: [
|
|
2526
2547
|
/* @__PURE__ */ t(
|
|
2527
|
-
|
|
2548
|
+
Ft,
|
|
2528
2549
|
{
|
|
2529
2550
|
buttonCopy: e.request_support,
|
|
2530
2551
|
hasRequestButton: i,
|
|
@@ -2554,18 +2575,18 @@ const kt = (e, i, n) => {
|
|
|
2554
2575
|
flexDirection: l ? "column-reverse" : "column"
|
|
2555
2576
|
},
|
|
2556
2577
|
children: [
|
|
2557
|
-
/* @__PURE__ */ _(
|
|
2578
|
+
/* @__PURE__ */ _(O, { children: [
|
|
2558
2579
|
/* @__PURE__ */ _(E, { gap: 4, sx: { alignItems: "center", flexDirection: "row" }, children: [
|
|
2559
2580
|
i && /* @__PURE__ */ t(X, { name: "help", size: 20, sx: { color: "text.primary" } }),
|
|
2560
|
-
/* @__PURE__ */ t(T, { color: "text.primary", variant: "
|
|
2581
|
+
/* @__PURE__ */ t(T, { color: "text.primary", variant: "H3", children: d })
|
|
2561
2582
|
] }),
|
|
2562
|
-
n && /* @__PURE__ */ t(T, { color: "text.primary", variant: "
|
|
2583
|
+
n && /* @__PURE__ */ t(T, { color: "text.primary", variant: "H3", children: n })
|
|
2563
2584
|
] }),
|
|
2564
|
-
/* @__PURE__ */ t(T, { color: "text.secondary", sx: { whiteSpace: "wrap" }, variant: "
|
|
2585
|
+
/* @__PURE__ */ t(T, { color: "text.secondary", sx: { whiteSpace: "wrap" }, variant: "Small", children: c })
|
|
2565
2586
|
]
|
|
2566
2587
|
}
|
|
2567
2588
|
),
|
|
2568
|
-
e && /* @__PURE__ */ t(H, { color: "text.secondary", sx: { px: 24 }, variant: "
|
|
2589
|
+
e && /* @__PURE__ */ t(H, { color: "text.secondary", sx: { px: 24 }, variant: "Small", children: e })
|
|
2569
2590
|
] }), yt = ({
|
|
2570
2591
|
alert: e,
|
|
2571
2592
|
copy: i,
|
|
@@ -2578,16 +2599,16 @@ const kt = (e, i, n) => {
|
|
|
2578
2599
|
setAlert: f,
|
|
2579
2600
|
topic: v
|
|
2580
2601
|
}) => {
|
|
2581
|
-
const [w,
|
|
2582
|
-
|
|
2583
|
-
},
|
|
2602
|
+
const [w, N] = r.useState(""), D = () => !c && g(), $ = () => {
|
|
2603
|
+
N(""), h(w);
|
|
2604
|
+
}, F = l ? i.request_support_institution_short_content : i.request_support_contact_short_content;
|
|
2584
2605
|
return /* @__PURE__ */ _(
|
|
2585
2606
|
U,
|
|
2586
2607
|
{
|
|
2587
2608
|
isOpen: d,
|
|
2588
2609
|
isPrimaryDisabled: !w || !n,
|
|
2589
2610
|
onClose: D,
|
|
2590
|
-
onPrimaryAction:
|
|
2611
|
+
onPrimaryAction: $,
|
|
2591
2612
|
onSecondaryAction: D,
|
|
2592
2613
|
secondaryColor: "primary",
|
|
2593
2614
|
title: i.request_support,
|
|
@@ -2599,11 +2620,11 @@ const kt = (e, i, n) => {
|
|
|
2599
2620
|
hasIcon: !l,
|
|
2600
2621
|
institution: l,
|
|
2601
2622
|
reverse: !!l,
|
|
2602
|
-
subtitle:
|
|
2623
|
+
subtitle: F,
|
|
2603
2624
|
title: v
|
|
2604
2625
|
}
|
|
2605
2626
|
),
|
|
2606
|
-
/* @__PURE__ */ t(
|
|
2627
|
+
/* @__PURE__ */ t(O, { sx: { px: 24 }, children: /* @__PURE__ */ t(
|
|
2607
2628
|
lt,
|
|
2608
2629
|
{
|
|
2609
2630
|
InputLabelProps: { shrink: !0 },
|
|
@@ -2612,7 +2633,7 @@ const kt = (e, i, n) => {
|
|
|
2612
2633
|
helperText: n ? null : i.request_support_email_not_exists_message,
|
|
2613
2634
|
label: i.request_contact_support_label,
|
|
2614
2635
|
multiline: !0,
|
|
2615
|
-
onChange: ({ target: { value: x } }) =>
|
|
2636
|
+
onChange: ({ target: { value: x } }) => N(x),
|
|
2616
2637
|
sx: {
|
|
2617
2638
|
"& .MuiInputBase-root": { alignItems: "flex-start", minHeight: 124 },
|
|
2618
2639
|
"& .MuiInputBase-input::placeholder": {
|
|
@@ -2624,7 +2645,7 @@ const kt = (e, i, n) => {
|
|
|
2624
2645
|
variant: "outlined"
|
|
2625
2646
|
}
|
|
2626
2647
|
) }),
|
|
2627
|
-
/* @__PURE__ */ t(
|
|
2648
|
+
/* @__PURE__ */ t(O, { sx: { p: "12px 24px 64px" }, children: /* @__PURE__ */ t(
|
|
2628
2649
|
T,
|
|
2629
2650
|
{
|
|
2630
2651
|
color: "secondary",
|
|
@@ -2633,7 +2654,7 @@ const kt = (e, i, n) => {
|
|
|
2633
2654
|
fontWeight: 400,
|
|
2634
2655
|
whiteSpace: "wrap"
|
|
2635
2656
|
},
|
|
2636
|
-
variant: "
|
|
2657
|
+
variant: "ParagraphSmall",
|
|
2637
2658
|
children: i.request_contact_support_warning
|
|
2638
2659
|
}
|
|
2639
2660
|
) })
|
|
@@ -2673,7 +2694,7 @@ const kt = (e, i, n) => {
|
|
|
2673
2694
|
sx: { p: "14px 24px", height: 64 },
|
|
2674
2695
|
children: /* @__PURE__ */ _(E, { sx: { alignItems: "center", flexDirection: "row", gap: 12 }, children: [
|
|
2675
2696
|
/* @__PURE__ */ t(X, { name: c, size: 24 }),
|
|
2676
|
-
/* @__PURE__ */ t(T, { variant: "
|
|
2697
|
+
/* @__PURE__ */ t(T, { variant: "Body", children: g })
|
|
2677
2698
|
] })
|
|
2678
2699
|
}
|
|
2679
2700
|
),
|
|
@@ -2691,13 +2712,13 @@ const kt = (e, i, n) => {
|
|
|
2691
2712
|
divider: !0,
|
|
2692
2713
|
onClick: () => i(f, v),
|
|
2693
2714
|
sx: {
|
|
2694
|
-
borderColor: "
|
|
2715
|
+
borderColor: "border.light",
|
|
2695
2716
|
"&:last-child": {
|
|
2696
2717
|
border: "none",
|
|
2697
2718
|
borderBottomRightRadius: 7
|
|
2698
2719
|
}
|
|
2699
2720
|
},
|
|
2700
|
-
children: /* @__PURE__ */ t(T, { color: "secondary", variant: "
|
|
2721
|
+
children: /* @__PURE__ */ t(T, { color: "secondary", variant: "Small", children: f })
|
|
2701
2722
|
},
|
|
2702
2723
|
w
|
|
2703
2724
|
)) })
|
|
@@ -2727,7 +2748,7 @@ const kt = (e, i, n) => {
|
|
|
2727
2748
|
institutionWebsite: ""
|
|
2728
2749
|
}, ie = rt(
|
|
2729
2750
|
({ copy: e, isOpen: i, onClose: n, onSave: l }) => {
|
|
2730
|
-
const { alert: c, isLoading: d, setAlert: g } = tt(), [h, f] = r.useState(et), [v, w] = r.useState(Y),
|
|
2751
|
+
const { alert: c, isLoading: d, setAlert: g } = tt(), [h, f] = r.useState(et), [v, w] = r.useState(Y), N = [
|
|
2731
2752
|
{ name: "institutionName", required: !0 },
|
|
2732
2753
|
{ name: "institutionWebsite", required: !0 },
|
|
2733
2754
|
{ name: "institutionLoginPage", required: !1 }
|
|
@@ -2736,7 +2757,7 @@ const kt = (e, i, n) => {
|
|
|
2736
2757
|
label: e.popular_topics_missing_institution_fields[S.toString()]
|
|
2737
2758
|
})), D = () => {
|
|
2738
2759
|
f(et), w(Y), n();
|
|
2739
|
-
},
|
|
2760
|
+
}, $ = (x) => {
|
|
2740
2761
|
const {
|
|
2741
2762
|
target: { name: S, value: B }
|
|
2742
2763
|
} = x;
|
|
@@ -2753,7 +2774,7 @@ const kt = (e, i, n) => {
|
|
|
2753
2774
|
onPrimaryAction: () => {
|
|
2754
2775
|
const x = {};
|
|
2755
2776
|
let S = !0;
|
|
2756
|
-
|
|
2777
|
+
N.forEach(({ label: B, name: R, required: P }) => {
|
|
2757
2778
|
const L = v[R];
|
|
2758
2779
|
P && !L && (x[R] = `${B} ${e.request_support_required_message}`, S = !1), (R === "institutionWebsite" || R === "institutionLoginPage") && L && !/(.+)\.(.{2,})/g.test(L) && (x[R] = e.request_support_valid_url_message, S = !1);
|
|
2759
2780
|
}), f(x), S && (l(v), w(Y));
|
|
@@ -2771,7 +2792,7 @@ const kt = (e, i, n) => {
|
|
|
2771
2792
|
title: e.popular_topics_missing_institution
|
|
2772
2793
|
}
|
|
2773
2794
|
),
|
|
2774
|
-
/* @__PURE__ */ t(E, { sx: { gap: 24, p: 24 }, children:
|
|
2795
|
+
/* @__PURE__ */ t(E, { sx: { gap: 24, p: 24 }, children: N.map(({ label: x, name: S }) => /* @__PURE__ */ t(
|
|
2775
2796
|
lt,
|
|
2776
2797
|
{
|
|
2777
2798
|
InputLabelProps: { shrink: !0 },
|
|
@@ -2780,7 +2801,7 @@ const kt = (e, i, n) => {
|
|
|
2780
2801
|
helperText: h[S] || "",
|
|
2781
2802
|
label: x,
|
|
2782
2803
|
name: S,
|
|
2783
|
-
onChange:
|
|
2804
|
+
onChange: $,
|
|
2784
2805
|
value: v[S]
|
|
2785
2806
|
},
|
|
2786
2807
|
S
|
|
@@ -2805,19 +2826,19 @@ const kt = (e, i, n) => {
|
|
|
2805
2826
|
subtitle: n,
|
|
2806
2827
|
guid: l,
|
|
2807
2828
|
sx: c
|
|
2808
|
-
}) => /* @__PURE__ */ t(
|
|
2809
|
-
l && /* @__PURE__ */ t(
|
|
2829
|
+
}) => /* @__PURE__ */ t(Nt, { disableGutters: !0, disablePadding: !0, children: /* @__PURE__ */ _(Q, { "aria-label": e, onClick: i, children: [
|
|
2830
|
+
l && /* @__PURE__ */ t(Ot, { children: /* @__PURE__ */ t(bt, { alt: e, institutionGuid: l || "", size: 32 }) }),
|
|
2810
2831
|
/* @__PURE__ */ t(
|
|
2811
2832
|
Lt,
|
|
2812
2833
|
{
|
|
2813
2834
|
primary: e,
|
|
2814
|
-
primaryTypographyProps: { style: { ...c }, variant: "
|
|
2835
|
+
primaryTypographyProps: { style: { ...c }, variant: "Body" },
|
|
2815
2836
|
secondary: n,
|
|
2816
|
-
secondaryTypographyProps: { variant: "
|
|
2837
|
+
secondaryTypographyProps: { variant: "XSmall" }
|
|
2817
2838
|
}
|
|
2818
2839
|
),
|
|
2819
2840
|
/* @__PURE__ */ t(Dt, { children: /* @__PURE__ */ t(wt, {}) })
|
|
2820
|
-
] }) }), gt = ({ list: e, onClick: i, sx: n }) => /* @__PURE__ */ t(
|
|
2841
|
+
] }) }), gt = ({ list: e, onClick: i, sx: n }) => /* @__PURE__ */ t(O, { sx: { bgcolor: "background.paper" }, children: /* @__PURE__ */ t(K, { sx: { "& .MuiDivider-root:last-child": { ml: 0 } }, children: e.map(({ name: l, guid: c, subtitle: d, type: g }, h) => /* @__PURE__ */ _(r.Fragment, { children: [
|
|
2821
2842
|
/* @__PURE__ */ t(
|
|
2822
2843
|
ne,
|
|
2823
2844
|
{
|
|
@@ -2837,7 +2858,7 @@ const kt = (e, i, n) => {
|
|
|
2837
2858
|
topic: c
|
|
2838
2859
|
}) => {
|
|
2839
2860
|
const { institutions: d, accounts: g } = ft(), h = r.useMemo(
|
|
2840
|
-
() =>
|
|
2861
|
+
() => Gt(d, g, {
|
|
2841
2862
|
singular: e.request_support_institution_account,
|
|
2842
2863
|
plural: e.request_support_institution_accounts
|
|
2843
2864
|
}),
|
|
@@ -2860,7 +2881,7 @@ const kt = (e, i, n) => {
|
|
|
2860
2881
|
fontWeight: "bold",
|
|
2861
2882
|
gutterBottom: !0,
|
|
2862
2883
|
sx: { ml: 24 },
|
|
2863
|
-
variant: "
|
|
2884
|
+
variant: "XSmall",
|
|
2864
2885
|
children: e.request_support_institution_topic_label
|
|
2865
2886
|
}
|
|
2866
2887
|
),
|
|
@@ -2875,7 +2896,7 @@ const kt = (e, i, n) => {
|
|
|
2875
2896
|
{
|
|
2876
2897
|
color: "text.secondary",
|
|
2877
2898
|
sx: { whiteSpace: "wrap", fontWeight: 400, textAlign: "center" },
|
|
2878
|
-
variant: "
|
|
2899
|
+
variant: "ParagraphSmall",
|
|
2879
2900
|
children: e.request_support_footer_short_content
|
|
2880
2901
|
}
|
|
2881
2902
|
),
|
|
@@ -2905,7 +2926,7 @@ const kt = (e, i, n) => {
|
|
|
2905
2926
|
}
|
|
2906
2927
|
),
|
|
2907
2928
|
/* @__PURE__ */ _(
|
|
2908
|
-
|
|
2929
|
+
O,
|
|
2909
2930
|
{
|
|
2910
2931
|
sx: {
|
|
2911
2932
|
bgcolor: "background.paper",
|
|
@@ -2922,7 +2943,7 @@ const kt = (e, i, n) => {
|
|
|
2922
2943
|
sx: {
|
|
2923
2944
|
fontWeight: 600
|
|
2924
2945
|
},
|
|
2925
|
-
variant: "
|
|
2946
|
+
variant: "Body",
|
|
2926
2947
|
children: s(e.request_support_institution_message_title, i)
|
|
2927
2948
|
}
|
|
2928
2949
|
),
|
|
@@ -2934,7 +2955,7 @@ const kt = (e, i, n) => {
|
|
|
2934
2955
|
fontWeight: 400,
|
|
2935
2956
|
mt: 2
|
|
2936
2957
|
},
|
|
2937
|
-
variant: "
|
|
2958
|
+
variant: "ParagraphSmall",
|
|
2938
2959
|
children: s(e.request_support_institution_message, i)
|
|
2939
2960
|
}
|
|
2940
2961
|
)
|
|
@@ -2954,32 +2975,32 @@ const kt = (e, i, n) => {
|
|
|
2954
2975
|
onClose: c
|
|
2955
2976
|
}) => {
|
|
2956
2977
|
const { common: d } = V();
|
|
2957
|
-
return /* @__PURE__ */ t(U, { isOpen: n, onClose: c, title: e.request_support, children: /* @__PURE__ */ _(
|
|
2978
|
+
return /* @__PURE__ */ t(U, { isOpen: n, onClose: c, title: e.request_support, children: /* @__PURE__ */ _(O, { sx: { px: 24 }, children: [
|
|
2958
2979
|
/* @__PURE__ */ t(E, { sx: { alignItems: "center", pb: 24, pt: 80 }, children: /* @__PURE__ */ t(X, { color: "success", fill: !0, name: "check_circle", size: 64 }) }),
|
|
2959
2980
|
/* @__PURE__ */ _(E, { sx: { alignItems: "center", gap: 16, pb: 48 }, children: [
|
|
2960
2981
|
/* @__PURE__ */ t(_t, { children: e.request_support_success }),
|
|
2961
|
-
/* @__PURE__ */ t(H, { align: "center", variant: "
|
|
2962
|
-
/* @__PURE__ */ t(T, { bold: !0, variant: "
|
|
2982
|
+
/* @__PURE__ */ t(H, { align: "center", variant: "Body", children: e.request_support_submit_success_message }),
|
|
2983
|
+
/* @__PURE__ */ t(T, { bold: !0, variant: "Body", children: i })
|
|
2963
2984
|
] }),
|
|
2964
2985
|
/* @__PURE__ */ t(q, { fullWidth: !0, onClick: c, variant: "contained", children: d.done_button }),
|
|
2965
2986
|
/* @__PURE__ */ t(q, { fullWidth: !0, onClick: l, sx: { mt: 8 }, children: e.request_support_institution_back })
|
|
2966
2987
|
] }) });
|
|
2967
2988
|
}, ce = rt(
|
|
2968
2989
|
({ copy: e, isOpen: i, onClose: n }) => {
|
|
2969
|
-
const { alert: l, createSupportTicket: c, isLoading: d, setAlert: g } = tt(), { user: h } = St(), { isInitialized: f } = It(), [v, w] = r.useState(""), [
|
|
2990
|
+
const { alert: l, createSupportTicket: c, isLoading: d, setAlert: g } = tt(), { user: h } = St(), { isInitialized: f } = It(), [v, w] = r.useState(""), [N, D] = r.useState(!1), [$, F] = r.useState(!1), [x, S] = r.useState({
|
|
2970
2991
|
isOpen: !1,
|
|
2971
2992
|
topic: "",
|
|
2972
2993
|
type: void 0
|
|
2973
2994
|
}), B = Ct.map((I) => ({
|
|
2974
2995
|
...I,
|
|
2975
2996
|
title: e.help_by_category_list[I.guid].label,
|
|
2976
|
-
topics: I.topics.map(({ type:
|
|
2977
|
-
type:
|
|
2997
|
+
topics: I.topics.map(({ type: z }, pt) => ({
|
|
2998
|
+
type: z,
|
|
2978
2999
|
label: e.help_by_category_list[I.guid].topics[pt]
|
|
2979
3000
|
}))
|
|
2980
|
-
})), R = Object.keys(e.popular_topics_list).map((I,
|
|
3001
|
+
})), R = Object.keys(e.popular_topics_list).map((I, z) => ({
|
|
2981
3002
|
name: e.popular_topics_list[I],
|
|
2982
|
-
type: At[
|
|
3003
|
+
type: At[z].type
|
|
2983
3004
|
})), P = () => {
|
|
2984
3005
|
w(""), S({ isOpen: !1, topic: "", type: void 0 });
|
|
2985
3006
|
}, L = (I) => {
|
|
@@ -2988,10 +3009,10 @@ const kt = (e, i, n) => {
|
|
|
2988
3009
|
message: v ? `Institution: ${v}, ${I}` : I,
|
|
2989
3010
|
title: x.topic || "Contact Support"
|
|
2990
3011
|
});
|
|
2991
|
-
}, W = (I,
|
|
2992
|
-
|
|
3012
|
+
}, W = (I, z) => {
|
|
3013
|
+
z === "other" ? F(!0) : S({ isOpen: !0, topic: I, type: z });
|
|
2993
3014
|
}, ut = () => {
|
|
2994
|
-
g(""), D(!1),
|
|
3015
|
+
g(""), D(!1), F(!1), P();
|
|
2995
3016
|
}, mt = (I) => {
|
|
2996
3017
|
if (!h.email) {
|
|
2997
3018
|
g(e.request_support_email_not_exists_message, "error");
|
|
@@ -3019,7 +3040,7 @@ const kt = (e, i, n) => {
|
|
|
3019
3040
|
fontWeight: "bold",
|
|
3020
3041
|
gutterBottom: !0,
|
|
3021
3042
|
sx: { ml: 24 },
|
|
3022
|
-
variant: "
|
|
3043
|
+
variant: "XSmall",
|
|
3023
3044
|
children: e.popular_topics
|
|
3024
3045
|
}
|
|
3025
3046
|
),
|
|
@@ -3038,7 +3059,7 @@ const kt = (e, i, n) => {
|
|
|
3038
3059
|
fontWeight: "bold",
|
|
3039
3060
|
gutterBottom: !0,
|
|
3040
3061
|
sx: { m: "24px 0px 0px 24px" },
|
|
3041
|
-
variant: "
|
|
3062
|
+
variant: "XSmall",
|
|
3042
3063
|
children: e.help_by_category
|
|
3043
3064
|
}
|
|
3044
3065
|
),
|
|
@@ -3049,7 +3070,7 @@ const kt = (e, i, n) => {
|
|
|
3049
3070
|
onClick: W
|
|
3050
3071
|
}
|
|
3051
3072
|
),
|
|
3052
|
-
/* @__PURE__ */ t(
|
|
3073
|
+
/* @__PURE__ */ t(O, { sx: { p: 24 }, children: /* @__PURE__ */ t(
|
|
3053
3074
|
_e,
|
|
3054
3075
|
{
|
|
3055
3076
|
copy: e,
|
|
@@ -3065,7 +3086,7 @@ const kt = (e, i, n) => {
|
|
|
3065
3086
|
email: h.email,
|
|
3066
3087
|
institution: v,
|
|
3067
3088
|
isLoading: d,
|
|
3068
|
-
isOpen:
|
|
3089
|
+
isOpen: N,
|
|
3069
3090
|
onClose: () => {
|
|
3070
3091
|
D(!1), w("");
|
|
3071
3092
|
},
|
|
@@ -3078,8 +3099,8 @@ const kt = (e, i, n) => {
|
|
|
3078
3099
|
ie,
|
|
3079
3100
|
{
|
|
3080
3101
|
copy: e,
|
|
3081
|
-
isOpen:
|
|
3082
|
-
onClose: () =>
|
|
3102
|
+
isOpen: $,
|
|
3103
|
+
onClose: () => F(!1),
|
|
3083
3104
|
onSave: mt
|
|
3084
3105
|
}
|
|
3085
3106
|
),
|
|
@@ -3120,9 +3141,9 @@ const kt = (e, i, n) => {
|
|
|
3120
3141
|
)
|
|
3121
3142
|
] }) });
|
|
3122
3143
|
}
|
|
3123
|
-
),
|
|
3124
|
-
const { help: i } = V(), { helpCategories: n } = tt(), { isMobile: l } = Rt(), { config: c } = Tt(), [d, g] = r.useState(!1), [h, f] = r.useState(null), v = (
|
|
3125
|
-
return /* @__PURE__ */ _(
|
|
3144
|
+
), $e = ({ sx: e = {} }) => {
|
|
3145
|
+
const { help: i } = V(), { helpCategories: n } = tt(), { isMobile: l } = Rt(), { config: c } = Tt(), [d, g] = r.useState(!1), [h, f] = r.useState(null), v = (N) => f(N), w = () => g(!0);
|
|
3146
|
+
return /* @__PURE__ */ _(O, { sx: { pt: 24, px: l ? 24 : 0, ...e }, children: [
|
|
3126
3147
|
h ? /* @__PURE__ */ t(
|
|
3127
3148
|
Qt,
|
|
3128
3149
|
{
|
|
@@ -3133,7 +3154,7 @@ const kt = (e, i, n) => {
|
|
|
3133
3154
|
topicInfo: h
|
|
3134
3155
|
}
|
|
3135
3156
|
) : /* @__PURE__ */ t(
|
|
3136
|
-
|
|
3157
|
+
kt,
|
|
3137
3158
|
{
|
|
3138
3159
|
buttonText: i.request_support,
|
|
3139
3160
|
hasRequestButton: c.enable_support_requests,
|
|
@@ -3155,5 +3176,5 @@ const kt = (e, i, n) => {
|
|
|
3155
3176
|
] });
|
|
3156
3177
|
};
|
|
3157
3178
|
export {
|
|
3158
|
-
|
|
3179
|
+
$e as H
|
|
3159
3180
|
};
|