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