@mx-cartographer/experiences 8.1.12 → 8.2.0
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 +4 -0
- package/dist/{Account-CMjOp7S2.mjs → Account-BaJmiJAG.mjs} +4 -4
- package/dist/{Account-BIKn4XEZ.mjs → Account-BxHMlV9R.mjs} +1 -1
- package/dist/{AccountDetailsHeader-CzefHTWU.mjs → AccountDetailsHeader-CfdnKyJK.mjs} +21 -21
- package/dist/{AccountFields-BWmpVsS3.mjs → AccountFields-CAy0x_4i.mjs} +6 -6
- package/dist/{AccountListItem-DRDxaRBe.mjs → AccountListItem-BYyeeCf6.mjs} +7 -7
- package/dist/{Accounts-DX3xJE97.mjs → AccountUtils-T5_Odvos.mjs} +1 -1
- package/dist/{Analytics-CxK7O19c.mjs → Analytics-CkYXKvco.mjs} +1 -1
- package/dist/ApiEndpoints-DXwIYNUV.mjs +49 -0
- package/dist/BudgetUtil-Bg2AQJpQ.mjs +74 -0
- package/dist/{Category-Ccoew_sA.mjs → Category-DEKZGLYe.mjs} +3 -3
- package/dist/{CategorySelectorDrawer-hhDdSFHO.mjs → CategorySelectorDrawer-Cu1ohxeM.mjs} +2 -2
- package/dist/{Connect-CBBTL1HJ.mjs → Connect-Dk6GZEsA.mjs} +1 -1
- package/dist/ConnectCard-Dix8BoV_.mjs +54 -0
- package/dist/{ConnectDrawer-DNnuF80E.mjs → ConnectDrawer-DgfsTpyW.mjs} +2 -2
- package/dist/{ConnectionsDrawer-DX6d7uwJ.mjs → ConnectionsDrawer-D7IXAza2.mjs} +2 -2
- package/dist/CurrencyDialog-d4dL7vA5.mjs +371 -0
- package/dist/{CurrencyInput-BMbUVSvz.mjs → CurrencyInput-B59ugxPN.mjs} +15 -16
- package/dist/{CurrencyText-oqd6cX3M.mjs → CurrencyText-CCbE6MmF.mjs} +1 -1
- package/dist/{DateFormats-CaOj_4eI.mjs → DateFormats-HudZ3Bjs.mjs} +6 -7
- package/dist/{DateUtil-D0TO0DaZ.mjs → DateUtil-Bhq59ZVg.mjs} +1 -1
- package/dist/DebtUtils-DD3186U-.mjs +153 -0
- package/dist/EmbeddedCard-BNl3quCs.mjs +856 -0
- package/dist/Error-Dogaw2jO.mjs +84 -0
- package/dist/ErrorBoundary-CsdOcnJ9.mjs +23 -0
- package/dist/{ExportCsvAction-BDFu6YIe.mjs → ExportCsvAction-hDprC41l.mjs} +6 -5
- package/dist/{GlobalAccountFilter-jkFxqPg6.mjs → GlobalAccountFilter-DrhtwPqh.mjs} +1 -1
- package/dist/GlobalCopyApi-wcnDUzMV.mjs +128 -0
- package/dist/GoalsUtil-C9EnLWvC.mjs +107 -0
- package/dist/{Help-C_CM4gpK.mjs → Help-BSQm9o29.mjs} +68 -67
- package/dist/{Help-CgpJK03Q.mjs → Help-CkQTjORd.mjs} +6 -27
- package/dist/InformationTooltip-4su8bn1e.mjs +41 -0
- package/dist/{LineChart-CeZnCZ7j.mjs → LineChart-CejWS_rh.mjs} +2 -2
- package/dist/{ListItemAction-CNpknVvo.mjs → ListItemAction-DGjHxNDJ.mjs} +1 -1
- package/dist/ListItemRow-kH1rn8Xu.mjs +67 -0
- package/dist/ListItemWrapper-B5r-YQQ_.mjs +42 -0
- package/dist/Localization-DnoVyBNK.mjs +38 -0
- package/dist/{ManageIncome-BX2IqW57.mjs → ManageIncome-DwylSiWs.mjs} +51 -51
- package/dist/{MicroWidgetContainer-DAesImQ6.mjs → MicroWidgetContainer-CfKdQfhi.mjs} +1 -1
- package/dist/{MiniWidgetContainer-BOv3n4iw.mjs → MiniWidgetContainer-BdPiUU-u.mjs} +1 -1
- package/dist/NetWorthUtils-DilGN1nW.mjs +95 -0
- package/dist/{NotificationSettings-DatCL2Ej.mjs → NotificationSettings-CCg-Tml2.mjs} +13 -13
- package/dist/NotificationUtils-BRGFTePr.mjs +23 -0
- package/dist/{NumberFormatting-CyrvFgfd.mjs → NumberFormatting--XMeeBfr.mjs} +2 -1
- package/dist/{OriginalBalanceAction-CWQ0CK-T.mjs → OriginalBalanceAction-CvDx0K6k.mjs} +4 -4
- package/dist/{RecurringSettings-DCplGEv_.mjs → RecurringSettings-CPXLW6AR.mjs} +9 -9
- package/dist/RecurringTransactionsUtil-B3rLEx_g.mjs +253 -0
- package/dist/Select-BZRUpOib.mjs +51 -0
- package/dist/SelectionBox-Bx2a5rh4.mjs +48 -0
- package/dist/Sizes-DISGrlUg.mjs +6 -0
- package/dist/{SpendingData-Dj85XEUp.mjs → SpendingData-PKlh8caU.mjs} +6 -6
- package/dist/{SpendingLegend-BS8mHUbu.mjs → SpendingLegend-BmkEr9Nh.mjs} +4 -4
- package/dist/{TransactionDetails-C_skrQk8.mjs → TransactionDetails-CbBSxdOi.mjs} +33 -33
- package/dist/TransactionUtils-BphBJBbU.mjs +234 -0
- package/dist/TrendsUtil-D9z3kIj_.mjs +69 -0
- package/dist/UserStore-CRpKQjpP.mjs +3002 -0
- package/dist/{ViewMoreMicroCard-D1j0w64K.mjs → ViewMoreMicroCard-K69RRs_b.mjs} +28 -30
- package/dist/{WidgetContainer-BPJoDkhL.mjs → WidgetContainer-DalWyz5A.mjs} +3 -3
- package/dist/accounts/hooks/useUiStore.d.ts +6 -1
- package/dist/accounts/index.d.ts +0 -1
- package/dist/accounts/index.es.js +62 -64
- package/dist/analytics/index.es.js +2 -2
- package/dist/budgets/index.es.js +18 -18
- package/dist/cashflow/context/hooks.d.ts +15 -1
- package/dist/cashflow/index.d.ts +0 -1
- package/dist/cashflow/index.es.js +28 -31
- package/dist/categories/context/hooks.d.ts +19 -1
- package/dist/categories/index.d.ts +0 -1
- package/dist/categories/index.es.js +4 -6
- package/dist/common/constants/ScheduledPayment.d.ts +1 -1
- package/dist/common/constants/index.d.ts +0 -3
- package/dist/common/context/GlobalDataProvider.d.ts +1 -1
- package/dist/common/context/hooks.d.ts +20 -20
- package/dist/common/index.d.ts +3 -1
- package/dist/common/index.es.js +215 -961
- package/dist/common/utils/AccountFilter.d.ts +1 -1
- package/dist/common/utils/index.d.ts +0 -4
- package/dist/{common → core}/constants/DefaultConfig.d.ts +1 -1
- package/dist/core/constants/Transaction.d.ts +10 -0
- package/dist/core/constants/index.d.ts +2 -0
- package/dist/core/index.d.ts +1 -1
- package/dist/core/index.es.js +94 -79
- package/dist/{accounts → core}/stores/AccountStore.d.ts +14 -4
- package/dist/{analytics → core}/stores/AnalyticsStore.d.ts +1 -1
- package/dist/{common → core}/stores/AppDataStore.d.ts +4 -5
- package/dist/{insights/store → core/stores}/BeatStore.d.ts +3 -3
- package/dist/{budgets/store → core/stores}/BudgetsStore.d.ts +3 -4
- package/dist/{cashflow/stores/UiStore.d.ts → core/stores/CashflowStore.d.ts} +10 -2
- package/dist/{categories → core}/stores/CategoryStore.d.ts +24 -4
- package/dist/{common → core}/stores/ConnectStore.d.ts +2 -2
- package/dist/core/stores/DebtsStore.d.ts +22 -0
- package/dist/{finstrong → core}/stores/FinstrongStore.d.ts +4 -4
- package/dist/{common → core}/stores/GlobalCopyStore.d.ts +2 -2
- package/dist/{common → core}/stores/GlobalStore.d.ts +2 -25
- package/dist/{common → core}/stores/GlobalUiStore.d.ts +3 -3
- package/dist/{goals → core}/stores/GoalStore.d.ts +3 -3
- package/dist/{help/store → core/stores}/HelpStore.d.ts +4 -6
- package/dist/{investments → core}/stores/HoldingStore.d.ts +4 -4
- package/dist/{merchants → core}/stores/MerchantStore.d.ts +3 -3
- package/dist/{networth → core}/stores/NetWorthStore.d.ts +3 -4
- package/dist/{notifications → core}/stores/NotificationStore.d.ts +3 -3
- package/dist/{recurringtransactions → core}/stores/RecurringTransactionsStore.d.ts +3 -3
- package/dist/{settings → core}/stores/SettingsStore.d.ts +4 -5
- package/dist/{transactions → core}/stores/TransactionStore.d.ts +27 -6
- package/dist/{trends → core}/stores/TrendsStore.d.ts +11 -5
- package/dist/{common → core}/stores/UserStore.d.ts +2 -2
- package/dist/core/stores/index.d.ts +24 -0
- package/dist/{networth → core}/types/NetWorth.d.ts +1 -10
- package/dist/core/types/Offer.d.ts +32 -0
- package/dist/core/types/index.d.ts +3 -1
- package/dist/{accounts/utils/Accounts.d.ts → core/utils/AccountUtils.d.ts} +1 -1
- package/dist/{microinsights/utils/beatUtils.d.ts → core/utils/BeatUtils.d.ts} +1 -1
- package/dist/{budgets → core}/utils/BudgetUtil.d.ts +2 -2
- package/dist/{categories/util → core/utils}/CategoryUtil.d.ts +6 -1
- package/dist/core/utils/DebtUtils.d.ts +31 -0
- package/dist/core/utils/FinstrongUtils.d.ts +7 -0
- package/dist/{goals/util → core/utils}/GoalsUtil.d.ts +1 -1
- package/dist/core/utils/HelpUtil.d.ts +3 -0
- package/dist/{investments/util → core/utils}/InvestmentUtil.d.ts +2 -2
- package/dist/core/utils/Localization.d.ts +3 -0
- package/dist/{networth → core}/utils/NetWorthUtils.d.ts +1 -2
- package/dist/{notifications → core}/utils/NotificationUtils.d.ts +1 -1
- package/dist/{common → core}/utils/NumberFormatting.d.ts +1 -1
- package/dist/{recurringtransactions/util/RecurringTransactions.d.ts → core/utils/RecurringTransactionsUtil.d.ts} +1 -1
- package/dist/{settings/util/Notifications.d.ts → core/utils/SettingsUtil.d.ts} +1 -1
- package/dist/{transactions/utils/buildDetailedTransactions.d.ts → core/utils/TransactionUtils.d.ts} +12 -2
- package/dist/{trends/utils/TrendsData.d.ts → core/utils/TrendsUtil.d.ts} +1 -1
- package/dist/{common/utils/User.d.ts → core/utils/UserUtils.d.ts} +1 -1
- package/dist/core/utils/index.d.ts +1 -1
- package/dist/dashboard/index.es.js +4 -4
- package/dist/debts/components/DebtsChart.d.ts +1 -1
- package/dist/debts/components/DebtsTable.d.ts +1 -1
- package/dist/debts/components/SnowballCard.d.ts +1 -1
- package/dist/debts/components/actions/InterestRateAction.d.ts +1 -1
- package/dist/debts/components/actions/MonthlyPaymentAction.d.ts +1 -1
- package/dist/debts/components/actions/OriginalBalanceAction.d.ts +1 -1
- package/dist/debts/hooks/useDebtsUiStore.d.ts +1 -1
- package/dist/debts/index.d.ts +0 -1
- package/dist/debts/index.es.js +568 -691
- package/dist/debts/utils/DebtsTable.d.ts +1 -1
- package/dist/debts/utils/SnowballCard.d.ts +2 -2
- package/dist/finstrong/index.d.ts +0 -1
- package/dist/finstrong/index.es.js +1565 -1342
- package/dist/finstrong/util/finstrongUtils.d.ts +1 -7
- package/dist/goals/components/addgoal/AddGoalListItem.d.ts +1 -1
- package/dist/goals/index.d.ts +0 -1
- package/dist/goals/index.es.js +71 -73
- package/dist/help/index.es.js +4 -4
- package/dist/help/utils/index.d.ts +0 -1
- package/dist/{hooks-RzCoiTd0.mjs → hooks-BaO_gOI6.mjs} +17 -17
- package/dist/insights/index.d.ts +0 -1
- package/dist/insights/index.es.js +52 -54
- package/dist/investments/components/AnalysisDetails.d.ts +1 -1
- package/dist/investments/index.es.js +6 -6
- package/dist/merchants/index.d.ts +0 -1
- package/dist/merchants/index.es.js +12 -14
- package/dist/microinsights/index.es.js +1 -1
- package/dist/microinsights/interfaces.d.ts +1 -33
- package/dist/networth/components/AssetsLiabilitiesDetail.d.ts +1 -1
- package/dist/networth/components/GainsLossesDetail.d.ts +1 -1
- package/dist/networth/components/NetWorthChange.d.ts +1 -1
- package/dist/networth/components/NetWorthListItem.d.ts +1 -1
- package/dist/networth/components/NetWorthSummary.d.ts +1 -1
- package/dist/networth/index.d.ts +0 -4
- package/dist/networth/index.es.js +232 -237
- package/dist/notifications/index.d.ts +0 -2
- package/dist/notifications/index.es.js +23 -26
- package/dist/recurringtransactions/index.d.ts +0 -1
- package/dist/recurringtransactions/index.es.js +92 -96
- package/dist/settings/index.d.ts +0 -1
- package/dist/settings/index.es.js +11 -13
- package/dist/spending/index.es.js +10 -10
- package/dist/transactions/context/hooks.d.ts +1 -1
- package/dist/transactions/index.d.ts +0 -4
- package/dist/transactions/index.es.js +102 -109
- package/dist/trends/index.d.ts +0 -1
- package/dist/trends/index.es.js +67 -68
- package/dist/trends/utils/shared.d.ts +1 -1
- package/dist/{useAccountDisplayName-pliH6hz0.mjs → useAccountDisplayName-CFa_MrS6.mjs} +1 -1
- package/dist/{useInsightsEnabled-CzJoG8xi.mjs → useInsightsEnabled-DaNLPmUU.mjs} +1 -1
- package/dist/{useWidgetLoadTimer-BZjr-BiE.mjs → useWidgetLoadTimer-CJb-RELP.mjs} +1 -1
- package/package.json +1 -1
- package/dist/AccountApi-WEM2M9tg.mjs +0 -19
- package/dist/AccountStore-CGrjC2Oe.mjs +0 -253
- package/dist/ApiEndpoints-C5IA97i7.mjs +0 -118
- package/dist/BeatApi-C6pBa0Rb.mjs +0 -21
- package/dist/BeatStore-C7-PIhpB.mjs +0 -163
- package/dist/BudgetUtil-H9igoNVm.mjs +0 -479
- package/dist/CashflowStore-BEi92kJg.mjs +0 -91
- package/dist/CategoryApi-CogDFScz.mjs +0 -29
- package/dist/CategoryStore-CA4NTaKH.mjs +0 -160
- package/dist/CategoryUtil-BJOHgYKS.mjs +0 -80
- package/dist/DebtsStore-BJlC2-yO.mjs +0 -63
- package/dist/EmbeddedCard-B9JoBaan.mjs +0 -811
- package/dist/FinstrongApi-FpmsS_sy.mjs +0 -19
- package/dist/FinstrongStore-DYawCv1d.mjs +0 -435
- package/dist/GlobalCopyApi-DkS-2Zf_.mjs +0 -41
- package/dist/Goal-MFBpoOIC.mjs +0 -29
- package/dist/GoalStore-BBAEbf43.mjs +0 -395
- package/dist/Localization-C_HZg9tJ.mjs +0 -15
- package/dist/Localization-CkQ49EKr.mjs +0 -26
- package/dist/MerchantApi-D8ahYxiG.mjs +0 -15
- package/dist/MerchantStore-CyZTv-BM.mjs +0 -26
- package/dist/NetWorthStore-BY-B_hxy.mjs +0 -168
- package/dist/NotificationApi-DF0obHoR.mjs +0 -20
- package/dist/NotificationStore-DlAM5Ue0.mjs +0 -69
- package/dist/RecurringTransactions-DCt94TN4.mjs +0 -297
- package/dist/RecurringTransactionsStore-CFJYC7lI.mjs +0 -264
- package/dist/RepeatingTransaction-D2gmBTd0.mjs +0 -7
- package/dist/RepeatingTransactionsApi-BNZgZPLs.mjs +0 -17
- package/dist/SettingsApi-D9d7SLhB.mjs +0 -22
- package/dist/SettingsStore-BcbuKfFO.mjs +0 -250
- package/dist/Transaction-Cn5_iFm0.mjs +0 -5
- package/dist/TransactionApi-CLG2eSNe.mjs +0 -86
- package/dist/TransactionStore-amPYxHnA.mjs +0 -710
- package/dist/TrendsStore-bYjIGqyR.mjs +0 -183
- package/dist/WidgetApi-C0BA2cFX.mjs +0 -102
- package/dist/accounts/stores/UiStore.d.ts +0 -10
- package/dist/accounts/utils/index.d.ts +0 -1
- package/dist/cashflow/stores/CashflowStore.d.ts +0 -8
- package/dist/categories/stores/UiStore.d.ts +0 -20
- package/dist/common/stores/index.d.ts +0 -3
- package/dist/common/utils/Categories.d.ts +0 -6
- package/dist/common/utils/Localization.d.ts +0 -3
- package/dist/debts/store/DebtsStore.d.ts +0 -10
- package/dist/debts/store/DebtsUiStore.d.ts +0 -13
- package/dist/debts/utils/DebtStore.d.ts +0 -4
- package/dist/debts/utils/DebtsWidget.d.ts +0 -20
- package/dist/debts/utils/shared.d.ts +0 -12
- package/dist/exportTransactionsToCSV-CSvbZrvL.mjs +0 -133
- package/dist/help/constants/index.d.ts +0 -1
- package/dist/help/utils/getAccessibleHelpCategories.d.ts +0 -3
- package/dist/transactions/analytics.d.ts +0 -3
- package/dist/transactions/constants/Transaction.d.ts +0 -2
- package/dist/transactions/constants/TransactionsTable.d.ts +0 -17
- package/dist/transactions/stores/UiStore.d.ts +0 -25
- package/dist/transactions/utils/exportTransactionsToCSV.d.ts +0 -9
- package/dist/transactions/utils/sortAndFilterTransactions.d.ts +0 -3
- /package/dist/{common → core}/constants/Category.d.ts +0 -0
- /package/dist/{common → core}/constants/DateFormats.d.ts +0 -0
- /package/dist/{debts/constants/index.d.ts → core/constants/Debts.d.ts} +0 -0
- /package/dist/{help → core}/constants/Help.d.ts +0 -0
- /package/dist/{investments/constants/index.d.ts → core/constants/Investments.d.ts} +0 -0
- /package/dist/{common → core}/constants/Numbers.d.ts +0 -0
- /package/dist/{common → core}/constants/Table.d.ts +0 -0
- /package/dist/{common → core}/utils/DateUtil.d.ts +0 -0
|
@@ -12,14 +12,15 @@ import et from "@mui/material/ListItemButton";
|
|
|
12
12
|
import C from "@mui/material/Stack";
|
|
13
13
|
import { H3 as it, P as U, Icon as Y, Text as E, H2 as at, InstitutionLogo as ft } from "@mxenabled/mxui";
|
|
14
14
|
import { ExpandMore as ct, ChevronRight as St } from "@mxenabled/mx-icons";
|
|
15
|
-
import { g as V, u as K,
|
|
15
|
+
import { g as V, u as K, t as nt, d as It, b as Tt, C as Et, a as Ct } from "./hooks-BaO_gOI6.mjs";
|
|
16
16
|
import { A as k } from "./Analytics-CzGzz_sE.mjs";
|
|
17
17
|
import At from "@mui/material/Breadcrumbs";
|
|
18
18
|
import { useTheme as Q } from "@mui/material/styles";
|
|
19
|
-
import { b as s } from "./Localization-
|
|
20
|
-
import { E as Ot
|
|
21
|
-
import { u as
|
|
19
|
+
import { b as s } from "./Localization-DnoVyBNK.mjs";
|
|
20
|
+
import { E as Ot } from "./ErrorBoundary-CsdOcnJ9.mjs";
|
|
21
|
+
import { u as Nt } from "./useScreenSize-CeFhWTt_.mjs";
|
|
22
22
|
import { observer as lt } from "mobx-react-lite";
|
|
23
|
+
import { H as Lt, P as Dt } from "./Help-CkQTjORd.mjs";
|
|
23
24
|
import dt from "@mui/material/Alert";
|
|
24
25
|
import gt from "@mui/material/Snackbar";
|
|
25
26
|
import ut from "@mui/material/TextField";
|
|
@@ -29,17 +30,7 @@ import Rt from "@mui/material/ListItemAvatar";
|
|
|
29
30
|
import Pt from "@mui/material/ListItem";
|
|
30
31
|
import Gt from "@mui/material/ListItemIcon";
|
|
31
32
|
import Ft from "@mui/material/ListItemText";
|
|
32
|
-
const kt = (
|
|
33
|
-
const l = i.reduce((c, { institution_guid: d }) => (c[d] = (c[d] || 0) + 1, c), {});
|
|
34
|
-
return e.filter(({ guid: c }) => !!l[c]).map(({ guid: c, ...d }) => {
|
|
35
|
-
const u = `${l[c]} ${l[c] === 1 ? n.singular : n.plural}`;
|
|
36
|
-
return {
|
|
37
|
-
...d,
|
|
38
|
-
guid: c,
|
|
39
|
-
subtitle: u
|
|
40
|
-
};
|
|
41
|
-
});
|
|
42
|
-
}, Bt = ({
|
|
33
|
+
const kt = ({
|
|
43
34
|
buttonText: e,
|
|
44
35
|
hasRequestButton: i = !1,
|
|
45
36
|
helpCategories: n = [],
|
|
@@ -200,7 +191,7 @@ const kt = (e, i, n) => {
|
|
|
200
191
|
] }) }),
|
|
201
192
|
n && /* @__PURE__ */ t(q, {})
|
|
202
193
|
] });
|
|
203
|
-
},
|
|
194
|
+
}, Bt = ({
|
|
204
195
|
buttonCopy: e,
|
|
205
196
|
hasRequestButton: i,
|
|
206
197
|
onNavigateToList: n,
|
|
@@ -428,7 +419,7 @@ const kt = (e, i, n) => {
|
|
|
428
419
|
TRANSACTIONS_OVERVIEW: `${m}/transactions/Overview.png`,
|
|
429
420
|
TRANSACTIONS_RULES: `${m}/transactions/TransactionRules.png`,
|
|
430
421
|
TRENDS_WIDGET: `${m}/trends/TrendsWidget.png`
|
|
431
|
-
},
|
|
422
|
+
}, Wt = ({ copy: e, topicKey: i }) => ({
|
|
432
423
|
"accounts-overview": /* @__PURE__ */ _(r.Fragment, { children: [
|
|
433
424
|
/* @__PURE__ */ t(
|
|
434
425
|
P,
|
|
@@ -664,7 +655,7 @@ const kt = (e, i, n) => {
|
|
|
664
655
|
hasDivider: !1
|
|
665
656
|
}
|
|
666
657
|
)
|
|
667
|
-
})[i],
|
|
658
|
+
})[i], Mt = ({ copy: e, topicKey: i }) => {
|
|
668
659
|
const n = e.budgets_overview;
|
|
669
660
|
return {
|
|
670
661
|
"budgets-overview": /* @__PURE__ */ _(r.Fragment, { children: [
|
|
@@ -754,7 +745,7 @@ const kt = (e, i, n) => {
|
|
|
754
745
|
)
|
|
755
746
|
] })
|
|
756
747
|
}[i];
|
|
757
|
-
},
|
|
748
|
+
}, qt = ({ copy: e, topicKey: i }) => ({
|
|
758
749
|
"cash-flow-overview": /* @__PURE__ */ _(r.Fragment, { children: [
|
|
759
750
|
/* @__PURE__ */ t(
|
|
760
751
|
P,
|
|
@@ -815,7 +806,7 @@ const kt = (e, i, n) => {
|
|
|
815
806
|
}
|
|
816
807
|
)
|
|
817
808
|
] })
|
|
818
|
-
})[i],
|
|
809
|
+
})[i], $t = ({ copy: e }) => {
|
|
819
810
|
const i = e.debts, n = {
|
|
820
811
|
overviewSection: /* @__PURE__ */ t(
|
|
821
812
|
G,
|
|
@@ -1054,7 +1045,7 @@ const kt = (e, i, n) => {
|
|
|
1054
1045
|
/* @__PURE__ */ t(g, { content: i.extra_payments, sx: { pt: 48 } }),
|
|
1055
1046
|
n.extraPayments
|
|
1056
1047
|
] });
|
|
1057
|
-
},
|
|
1048
|
+
}, zt = ({ topicKey: e, copy: i }) => {
|
|
1058
1049
|
const { general_faqs: n } = i;
|
|
1059
1050
|
return {
|
|
1060
1051
|
"is-my-data-private-and-secure": /* @__PURE__ */ t(
|
|
@@ -1206,7 +1197,7 @@ const kt = (e, i, n) => {
|
|
|
1206
1197
|
}
|
|
1207
1198
|
)
|
|
1208
1199
|
}[e];
|
|
1209
|
-
},
|
|
1200
|
+
}, Ht = ({ copy: e }) => {
|
|
1210
1201
|
const { goal_widget_overview: i } = e;
|
|
1211
1202
|
return /* @__PURE__ */ _(r.Fragment, { children: [
|
|
1212
1203
|
/* @__PURE__ */ t(o, { content: i.goals_overview_title }),
|
|
@@ -1389,7 +1380,7 @@ const kt = (e, i, n) => {
|
|
|
1389
1380
|
}
|
|
1390
1381
|
)
|
|
1391
1382
|
] });
|
|
1392
|
-
},
|
|
1383
|
+
}, Ut = ({ copy: e }) => {
|
|
1393
1384
|
const i = e.investments;
|
|
1394
1385
|
return {
|
|
1395
1386
|
overviewSection: /* @__PURE__ */ t(
|
|
@@ -1450,7 +1441,7 @@ const kt = (e, i, n) => {
|
|
|
1450
1441
|
}
|
|
1451
1442
|
)
|
|
1452
1443
|
}.overviewSection;
|
|
1453
|
-
},
|
|
1444
|
+
}, Vt = ({ copy: e }) => {
|
|
1454
1445
|
const { mobile_devices_overview: i } = e;
|
|
1455
1446
|
return /* @__PURE__ */ _(r.Fragment, { children: [
|
|
1456
1447
|
/* @__PURE__ */ t(o, { content: i.mobile_devices_overview_header_text }),
|
|
@@ -1525,7 +1516,7 @@ const kt = (e, i, n) => {
|
|
|
1525
1516
|
),
|
|
1526
1517
|
/* @__PURE__ */ t(o, { content: i.preventing_app_crashes_footer })
|
|
1527
1518
|
] });
|
|
1528
|
-
},
|
|
1519
|
+
}, jt = ({ copy: e, topicKey: i }) => {
|
|
1529
1520
|
const { networth_overview: n } = e;
|
|
1530
1521
|
return {
|
|
1531
1522
|
"net-worth-overview": /* @__PURE__ */ _(r.Fragment, { children: [
|
|
@@ -1655,7 +1646,7 @@ const kt = (e, i, n) => {
|
|
|
1655
1646
|
)
|
|
1656
1647
|
] })
|
|
1657
1648
|
}[i];
|
|
1658
|
-
},
|
|
1649
|
+
}, Xt = ({ copy: e, topicKey: i }) => ({
|
|
1659
1650
|
"notifications-overview": /* @__PURE__ */ _(r.Fragment, { children: [
|
|
1660
1651
|
/* @__PURE__ */ t(
|
|
1661
1652
|
P,
|
|
@@ -1764,7 +1755,7 @@ const kt = (e, i, n) => {
|
|
|
1764
1755
|
}
|
|
1765
1756
|
)
|
|
1766
1757
|
] })
|
|
1767
|
-
})[i],
|
|
1758
|
+
})[i], Kt = ({ copy: e }) => {
|
|
1768
1759
|
const i = e.recurring_transactions, n = {
|
|
1769
1760
|
overviewSsction: /* @__PURE__ */ t(
|
|
1770
1761
|
G,
|
|
@@ -1856,7 +1847,7 @@ const kt = (e, i, n) => {
|
|
|
1856
1847
|
/* @__PURE__ */ t(g, { content: i.payment_frequency_title, sx: { pt: 48 } }),
|
|
1857
1848
|
n.paymentFrequencySection
|
|
1858
1849
|
] });
|
|
1859
|
-
},
|
|
1850
|
+
}, Zt = ({ copy: e, topicKey: i }) => {
|
|
1860
1851
|
const n = e.spending_widget_overview;
|
|
1861
1852
|
return {
|
|
1862
1853
|
"spending-widget-overview": /* @__PURE__ */ _(r.Fragment, { children: [
|
|
@@ -1957,7 +1948,7 @@ const kt = (e, i, n) => {
|
|
|
1957
1948
|
}
|
|
1958
1949
|
)
|
|
1959
1950
|
}[i];
|
|
1960
|
-
},
|
|
1951
|
+
}, Yt = ({ copy: e, topicKey: i }) => ({
|
|
1961
1952
|
"transactions-overview": /* @__PURE__ */ _(r.Fragment, { children: [
|
|
1962
1953
|
/* @__PURE__ */ t(
|
|
1963
1954
|
G,
|
|
@@ -2333,7 +2324,7 @@ const kt = (e, i, n) => {
|
|
|
2333
2324
|
sx: { pt: 24 }
|
|
2334
2325
|
}
|
|
2335
2326
|
)
|
|
2336
|
-
})[i],
|
|
2327
|
+
})[i], Qt = ({ copy: e }) => /* @__PURE__ */ _(r.Fragment, { children: [
|
|
2337
2328
|
/* @__PURE__ */ t(
|
|
2338
2329
|
G,
|
|
2339
2330
|
{
|
|
@@ -2405,7 +2396,7 @@ const kt = (e, i, n) => {
|
|
|
2405
2396
|
sx: { pt: 48 }
|
|
2406
2397
|
}
|
|
2407
2398
|
)
|
|
2408
|
-
] }),
|
|
2399
|
+
] }), Jt = ({ copy: e, topicKey: i }) => {
|
|
2409
2400
|
const n = e.insights_widget_overview;
|
|
2410
2401
|
return {
|
|
2411
2402
|
"insights-widget-overview": /* @__PURE__ */ _(r.Fragment, { children: [
|
|
@@ -2529,33 +2520,33 @@ const kt = (e, i, n) => {
|
|
|
2529
2520
|
)
|
|
2530
2521
|
] })
|
|
2531
2522
|
}[i];
|
|
2532
|
-
},
|
|
2533
|
-
accounts:
|
|
2534
|
-
alerts:
|
|
2535
|
-
budgets:
|
|
2536
|
-
cashflow:
|
|
2537
|
-
debts:
|
|
2538
|
-
general:
|
|
2539
|
-
goals:
|
|
2540
|
-
insights:
|
|
2541
|
-
investments:
|
|
2542
|
-
mobile:
|
|
2543
|
-
networth:
|
|
2544
|
-
recurring_transactions:
|
|
2545
|
-
spending:
|
|
2546
|
-
transactions:
|
|
2547
|
-
trends:
|
|
2548
|
-
},
|
|
2523
|
+
}, yt = {
|
|
2524
|
+
accounts: Wt,
|
|
2525
|
+
alerts: Xt,
|
|
2526
|
+
budgets: Mt,
|
|
2527
|
+
cashflow: qt,
|
|
2528
|
+
debts: $t,
|
|
2529
|
+
general: zt,
|
|
2530
|
+
goals: Ht,
|
|
2531
|
+
insights: Jt,
|
|
2532
|
+
investments: Ut,
|
|
2533
|
+
mobile: Vt,
|
|
2534
|
+
networth: jt,
|
|
2535
|
+
recurring_transactions: Kt,
|
|
2536
|
+
spending: Zt,
|
|
2537
|
+
transactions: Yt,
|
|
2538
|
+
trends: Qt
|
|
2539
|
+
}, te = ({
|
|
2549
2540
|
copy: e,
|
|
2550
2541
|
hasRequestButton: i = !1,
|
|
2551
2542
|
onNavigateToList: n,
|
|
2552
2543
|
onRequestSupport: l,
|
|
2553
2544
|
topicInfo: { category: c, pageTitle: d, topicKey: u, guid: v }
|
|
2554
2545
|
}) => {
|
|
2555
|
-
const { help: S } = K(), h =
|
|
2546
|
+
const { help: S } = K(), h = yt[v] || null;
|
|
2556
2547
|
return /* @__PURE__ */ _(r.Fragment, { children: [
|
|
2557
2548
|
/* @__PURE__ */ t(
|
|
2558
|
-
|
|
2549
|
+
Bt,
|
|
2559
2550
|
{
|
|
2560
2551
|
buttonCopy: e.request_support,
|
|
2561
2552
|
hasRequestButton: i,
|
|
@@ -2597,7 +2588,7 @@ const kt = (e, i, n) => {
|
|
|
2597
2588
|
}
|
|
2598
2589
|
),
|
|
2599
2590
|
e && /* @__PURE__ */ t(U, { color: "text.secondary", sx: { px: 24 }, variant: "body2", children: e })
|
|
2600
|
-
] }),
|
|
2591
|
+
] }), ee = ({
|
|
2601
2592
|
alert: e,
|
|
2602
2593
|
copy: i,
|
|
2603
2594
|
email: n,
|
|
@@ -2684,7 +2675,7 @@ const kt = (e, i, n) => {
|
|
|
2684
2675
|
]
|
|
2685
2676
|
}
|
|
2686
2677
|
);
|
|
2687
|
-
},
|
|
2678
|
+
}, ie = ({
|
|
2688
2679
|
helpByCategory: e,
|
|
2689
2680
|
onClick: i
|
|
2690
2681
|
}) => {
|
|
@@ -2699,7 +2690,7 @@ const kt = (e, i, n) => {
|
|
|
2699
2690
|
category: v
|
|
2700
2691
|
}), l(w ? S : null);
|
|
2701
2692
|
},
|
|
2702
|
-
sx:
|
|
2693
|
+
sx: ne,
|
|
2703
2694
|
children: [
|
|
2704
2695
|
/* @__PURE__ */ t(
|
|
2705
2696
|
rt,
|
|
@@ -2747,7 +2738,7 @@ const kt = (e, i, n) => {
|
|
|
2747
2738
|
},
|
|
2748
2739
|
S
|
|
2749
2740
|
)) });
|
|
2750
|
-
},
|
|
2741
|
+
}, ne = (e) => ({
|
|
2751
2742
|
border: `1px solid ${e.palette.border?.light}`,
|
|
2752
2743
|
borderRadius: "8px",
|
|
2753
2744
|
"&:first-of-type": { borderRadius: "8px" },
|
|
@@ -2765,7 +2756,7 @@ const kt = (e, i, n) => {
|
|
|
2765
2756
|
institutionName: "",
|
|
2766
2757
|
institutionLoginPage: "",
|
|
2767
2758
|
institutionWebsite: ""
|
|
2768
|
-
},
|
|
2759
|
+
}, se = lt(
|
|
2769
2760
|
({ copy: e, isOpen: i, onClose: n, onSave: l }) => {
|
|
2770
2761
|
const { alert: c, isLoading: d, setAlert: u } = nt(), [v, S] = r.useState(st), [h, w] = r.useState(J), I = [
|
|
2771
2762
|
{ name: "institutionName", required: !0 },
|
|
@@ -2839,7 +2830,17 @@ const kt = (e, i, n) => {
|
|
|
2839
2830
|
}
|
|
2840
2831
|
);
|
|
2841
2832
|
}
|
|
2842
|
-
),
|
|
2833
|
+
), _e = (e, i, n) => {
|
|
2834
|
+
const l = i.reduce((c, { institution_guid: d }) => (c[d] = (c[d] || 0) + 1, c), {});
|
|
2835
|
+
return e.filter(({ guid: c }) => !!l[c]).map(({ guid: c, ...d }) => {
|
|
2836
|
+
const u = `${l[c]} ${l[c] === 1 ? n.singular : n.plural}`;
|
|
2837
|
+
return {
|
|
2838
|
+
...d,
|
|
2839
|
+
guid: c,
|
|
2840
|
+
subtitle: u
|
|
2841
|
+
};
|
|
2842
|
+
});
|
|
2843
|
+
}, oe = ({
|
|
2843
2844
|
name: e,
|
|
2844
2845
|
onClick: i,
|
|
2845
2846
|
subtitle: n,
|
|
@@ -2877,7 +2878,7 @@ const kt = (e, i, n) => {
|
|
|
2877
2878
|
topic: c
|
|
2878
2879
|
}) => {
|
|
2879
2880
|
const { institutions: d, accounts: u } = It(), { onEvent: v } = V(), S = r.useMemo(
|
|
2880
|
-
() =>
|
|
2881
|
+
() => _e(d, u, {
|
|
2881
2882
|
singular: e.request_support_institution_account,
|
|
2882
2883
|
plural: e.request_support_institution_accounts
|
|
2883
2884
|
}),
|
|
@@ -3022,7 +3023,7 @@ const kt = (e, i, n) => {
|
|
|
3022
3023
|
isOpen: !1,
|
|
3023
3024
|
topic: "",
|
|
3024
3025
|
type: void 0
|
|
3025
|
-
}), L =
|
|
3026
|
+
}), L = Lt.map((x) => ({
|
|
3026
3027
|
...x,
|
|
3027
3028
|
title: e.help_by_category_list[x.guid].label,
|
|
3028
3029
|
topics: x.topics.map(({ type: M }, bt) => ({
|
|
@@ -3031,7 +3032,7 @@ const kt = (e, i, n) => {
|
|
|
3031
3032
|
}))
|
|
3032
3033
|
})), X = Object.keys(e.popular_topics_list).map((x, M) => ({
|
|
3033
3034
|
name: e.popular_topics_list[x],
|
|
3034
|
-
type:
|
|
3035
|
+
type: Dt[M].type
|
|
3035
3036
|
})), F = () => {
|
|
3036
3037
|
I(""), W({ isOpen: !1, topic: "", type: void 0 });
|
|
3037
3038
|
}, B = (x) => {
|
|
@@ -3102,7 +3103,7 @@ const kt = (e, i, n) => {
|
|
|
3102
3103
|
}
|
|
3103
3104
|
),
|
|
3104
3105
|
/* @__PURE__ */ t(
|
|
3105
|
-
|
|
3106
|
+
ie,
|
|
3106
3107
|
{
|
|
3107
3108
|
helpByCategory: L,
|
|
3108
3109
|
onClick: $
|
|
@@ -3119,7 +3120,7 @@ const kt = (e, i, n) => {
|
|
|
3119
3120
|
) })
|
|
3120
3121
|
] }),
|
|
3121
3122
|
/* @__PURE__ */ t(
|
|
3122
|
-
|
|
3123
|
+
ee,
|
|
3123
3124
|
{
|
|
3124
3125
|
alert: c,
|
|
3125
3126
|
copy: e,
|
|
@@ -3136,7 +3137,7 @@ const kt = (e, i, n) => {
|
|
|
3136
3137
|
}
|
|
3137
3138
|
),
|
|
3138
3139
|
/* @__PURE__ */ t(
|
|
3139
|
-
|
|
3140
|
+
se,
|
|
3140
3141
|
{
|
|
3141
3142
|
copy: e,
|
|
3142
3143
|
isOpen: H,
|
|
@@ -3181,8 +3182,8 @@ const kt = (e, i, n) => {
|
|
|
3181
3182
|
)
|
|
3182
3183
|
] }) });
|
|
3183
3184
|
}
|
|
3184
|
-
),
|
|
3185
|
-
const { config: i } = Ct(), { onEvent: n } = V(), { help: l } = K(), { helpCategories: c } = nt(), { isMobile: d } =
|
|
3185
|
+
), Ve = ({ sx: e = {} }) => {
|
|
3186
|
+
const { config: i } = Ct(), { onEvent: n } = V(), { help: l } = K(), { helpCategories: c } = nt(), { isMobile: d } = Nt(), [u, v] = r.useState(!1), [S, h] = r.useState(null), w = (D) => {
|
|
3186
3187
|
n(k.HELP_CLICK_TOPIC, {
|
|
3187
3188
|
feature: D.category,
|
|
3188
3189
|
helpTopic: D.pageTitle
|
|
@@ -3190,7 +3191,7 @@ const kt = (e, i, n) => {
|
|
|
3190
3191
|
}, I = () => v(!0);
|
|
3191
3192
|
return /* @__PURE__ */ _(N, { sx: { pt: 24, px: d ? 24 : 0, ...e }, children: [
|
|
3192
3193
|
S ? /* @__PURE__ */ t(
|
|
3193
|
-
|
|
3194
|
+
te,
|
|
3194
3195
|
{
|
|
3195
3196
|
copy: l,
|
|
3196
3197
|
hasRequestButton: i.enable_support_requests,
|
|
@@ -3199,7 +3200,7 @@ const kt = (e, i, n) => {
|
|
|
3199
3200
|
topicInfo: S
|
|
3200
3201
|
}
|
|
3201
3202
|
) : /* @__PURE__ */ t(
|
|
3202
|
-
|
|
3203
|
+
kt,
|
|
3203
3204
|
{
|
|
3204
3205
|
buttonText: l.request_support,
|
|
3205
3206
|
hasRequestButton: i.enable_support_requests,
|
|
@@ -3221,5 +3222,5 @@ const kt = (e, i, n) => {
|
|
|
3221
3222
|
] });
|
|
3222
3223
|
};
|
|
3223
3224
|
export {
|
|
3224
|
-
|
|
3225
|
+
Ve as H
|
|
3225
3226
|
};
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import o from "react";
|
|
3
|
-
import { H3 as n } from "@mxenabled/mxui";
|
|
4
|
-
const s = {
|
|
5
|
-
text: "Oops! Something went wrong."
|
|
6
|
-
};
|
|
7
|
-
class l extends o.Component {
|
|
8
|
-
state = {
|
|
9
|
-
hasError: !1
|
|
10
|
-
};
|
|
11
|
-
componentDidCatch(e, t) {
|
|
12
|
-
console.error("Uncaught error:", e, t);
|
|
13
|
-
}
|
|
14
|
-
static getDerivedStateFromError() {
|
|
15
|
-
return { hasError: !0 };
|
|
16
|
-
}
|
|
17
|
-
render() {
|
|
18
|
-
return this.state.hasError ? /* @__PURE__ */ i(n, { sx: { pt: 24 }, children: s.text }) : this.props.children;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
const g = [
|
|
1
|
+
const e = [
|
|
22
2
|
{
|
|
23
3
|
flags: ["show_accounts_widget_in_master"],
|
|
24
4
|
guid: "accounts",
|
|
@@ -222,7 +202,7 @@ const g = [
|
|
|
222
202
|
}
|
|
223
203
|
]
|
|
224
204
|
}
|
|
225
|
-
],
|
|
205
|
+
], t = [
|
|
226
206
|
{
|
|
227
207
|
guid: "personal_information",
|
|
228
208
|
icon: "person",
|
|
@@ -292,7 +272,7 @@ const g = [
|
|
|
292
272
|
}
|
|
293
273
|
]
|
|
294
274
|
}
|
|
295
|
-
],
|
|
275
|
+
], i = [
|
|
296
276
|
{
|
|
297
277
|
type: "external"
|
|
298
278
|
},
|
|
@@ -313,8 +293,7 @@ const g = [
|
|
|
313
293
|
}
|
|
314
294
|
];
|
|
315
295
|
export {
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
_ as a
|
|
296
|
+
t as H,
|
|
297
|
+
i as P,
|
|
298
|
+
e as a
|
|
320
299
|
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { jsx as o, jsxs as m } from "react/jsx-runtime";
|
|
2
|
+
import { useState as s } from "react";
|
|
3
|
+
import p from "@mui/material/IconButton";
|
|
4
|
+
import l from "@mui/material/Stack";
|
|
5
|
+
import c from "@mui/material/Tooltip";
|
|
6
|
+
import { Icon as f, Text as n } from "@mxenabled/mxui";
|
|
7
|
+
const I = ({
|
|
8
|
+
body: i,
|
|
9
|
+
iconName: a = "info",
|
|
10
|
+
title: t
|
|
11
|
+
}) => {
|
|
12
|
+
const [r, e] = s(!1);
|
|
13
|
+
return /* @__PURE__ */ o(
|
|
14
|
+
c,
|
|
15
|
+
{
|
|
16
|
+
open: r,
|
|
17
|
+
title: /* @__PURE__ */ m(l, { gap: 2, p: 12, sx: { textOverflow: "none" }, children: [
|
|
18
|
+
/* @__PURE__ */ o(n, { bold: !0, variant: "body1", children: t }),
|
|
19
|
+
/* @__PURE__ */ o(n, { sx: { whiteSpace: "unset" }, variant: "body2", children: i })
|
|
20
|
+
] }),
|
|
21
|
+
children: /* @__PURE__ */ o(
|
|
22
|
+
p,
|
|
23
|
+
{
|
|
24
|
+
"aria-label": t,
|
|
25
|
+
onClick: () => e(!r),
|
|
26
|
+
onMouseEnter: () => e(!0),
|
|
27
|
+
onMouseLeave: () => e(!1),
|
|
28
|
+
sx: {
|
|
29
|
+
minHeight: 0,
|
|
30
|
+
minWidth: 0,
|
|
31
|
+
p: 0
|
|
32
|
+
},
|
|
33
|
+
children: /* @__PURE__ */ o(f, { name: a, sx: { color: "primary.main", fontSize: 16 } })
|
|
34
|
+
}
|
|
35
|
+
)
|
|
36
|
+
}
|
|
37
|
+
);
|
|
38
|
+
};
|
|
39
|
+
export {
|
|
40
|
+
I
|
|
41
|
+
};
|
|
@@ -9,11 +9,11 @@ import { useAxesTooltip as kt, ChartsTooltipContainer as Mt } from "@mui/x-chart
|
|
|
9
9
|
import { ChartsXAxis as wt } from "@mui/x-charts/ChartsXAxis";
|
|
10
10
|
import { ChartsYAxis as Ct } from "@mui/x-charts/ChartsYAxis";
|
|
11
11
|
import { AreaPlot as vt, LinePlot as St, MarkPlot as At } from "@mui/x-charts/LineChart";
|
|
12
|
-
import { f as L, c as O } from "./NumberFormatting-CyrvFgfd.mjs";
|
|
13
12
|
import { observer as Dt } from "mobx-react-lite";
|
|
14
13
|
import z from "@mui/material/Stack";
|
|
15
14
|
import { Text as d } from "@mxenabled/mxui";
|
|
16
|
-
import {
|
|
15
|
+
import { f as L, c as O } from "./NumberFormatting--XMeeBfr.mjs";
|
|
16
|
+
import { u as Tt } from "./hooks-BaO_gOI6.mjs";
|
|
17
17
|
import Rt from "@mui/material/useMediaQuery";
|
|
18
18
|
import { Stack as M, Box as $t } from "@mui/material";
|
|
19
19
|
const B = {
|
|
@@ -7,7 +7,7 @@ import I from "@mui/material/ListItemText";
|
|
|
7
7
|
import L from "@mui/material/Stack";
|
|
8
8
|
import { ChevronRight as _ } from "@mxenabled/mx-icons";
|
|
9
9
|
import { Text as m } from "@mxenabled/mxui";
|
|
10
|
-
import { u as g } from "./hooks-
|
|
10
|
+
import { u as g } from "./hooks-BaO_gOI6.mjs";
|
|
11
11
|
import { D as j } from "./Dialog-iLlBR8TG.mjs";
|
|
12
12
|
const q = v(
|
|
13
13
|
({
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { jsxs as e, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import f from "react";
|
|
3
|
+
import h from "@mui/material/ListItem";
|
|
4
|
+
import I from "@mui/material/ListItemButton";
|
|
5
|
+
import s from "@mui/material/ListItemIcon";
|
|
6
|
+
import L from "@mui/material/ListItemText";
|
|
7
|
+
import t from "@mui/material/Stack";
|
|
8
|
+
import { Text as i } from "@mxenabled/mxui";
|
|
9
|
+
const R = ({
|
|
10
|
+
onClick: n,
|
|
11
|
+
leftIcon: o,
|
|
12
|
+
rightIcon: m,
|
|
13
|
+
title: a,
|
|
14
|
+
subtitle: c,
|
|
15
|
+
rightContent: l,
|
|
16
|
+
titleBold: x = !0,
|
|
17
|
+
rightContentBold: p = !0
|
|
18
|
+
}) => {
|
|
19
|
+
const d = /* @__PURE__ */ e(f.Fragment, { children: [
|
|
20
|
+
o && /* @__PURE__ */ r(s, { sx: { ml: 0 }, children: o }),
|
|
21
|
+
/* @__PURE__ */ r(L, { children: /* @__PURE__ */ e(
|
|
22
|
+
t,
|
|
23
|
+
{
|
|
24
|
+
sx: {
|
|
25
|
+
alignItems: "center",
|
|
26
|
+
flexDirection: "row",
|
|
27
|
+
marginLeft: 12
|
|
28
|
+
},
|
|
29
|
+
children: [
|
|
30
|
+
/* @__PURE__ */ e(t, { sx: { flex: 1, minWidth: 0 }, children: [
|
|
31
|
+
/* @__PURE__ */ r(i, { bold: x, variant: "body1", children: a }),
|
|
32
|
+
c && /* @__PURE__ */ r(i, { variant: "caption", children: c })
|
|
33
|
+
] }),
|
|
34
|
+
/* @__PURE__ */ e(t, { sx: { flexDirection: "row", alignItems: "center", gap: 1 }, children: [
|
|
35
|
+
l && /* @__PURE__ */ r(i, { bold: p, display: "flex", variant: "body1", children: l }),
|
|
36
|
+
m && /* @__PURE__ */ r(s, { children: m })
|
|
37
|
+
] })
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
) })
|
|
41
|
+
] });
|
|
42
|
+
return /* @__PURE__ */ r(h, { children: n ? /* @__PURE__ */ r(
|
|
43
|
+
I,
|
|
44
|
+
{
|
|
45
|
+
onClick: n,
|
|
46
|
+
sx: {
|
|
47
|
+
py: 14
|
|
48
|
+
},
|
|
49
|
+
children: d
|
|
50
|
+
}
|
|
51
|
+
) : /* @__PURE__ */ r(
|
|
52
|
+
t,
|
|
53
|
+
{
|
|
54
|
+
sx: {
|
|
55
|
+
py: 14,
|
|
56
|
+
px: 24,
|
|
57
|
+
width: "100%",
|
|
58
|
+
flexDirection: "row",
|
|
59
|
+
alignItems: "center"
|
|
60
|
+
},
|
|
61
|
+
children: d
|
|
62
|
+
}
|
|
63
|
+
) });
|
|
64
|
+
};
|
|
65
|
+
export {
|
|
66
|
+
R as L
|
|
67
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import a from "@mui/material/ListItem";
|
|
3
|
+
import i from "@mui/material/ListItemButton";
|
|
4
|
+
import { g as m } from "./hooks-BaO_gOI6.mjs";
|
|
5
|
+
const f = ({
|
|
6
|
+
children: t,
|
|
7
|
+
clickEventName: e,
|
|
8
|
+
onClick: o,
|
|
9
|
+
sx: s = {}
|
|
10
|
+
}) => {
|
|
11
|
+
const { onEvent: p } = m();
|
|
12
|
+
return o ? /* @__PURE__ */ r(
|
|
13
|
+
a,
|
|
14
|
+
{
|
|
15
|
+
className: "list-wrapper",
|
|
16
|
+
component: "div",
|
|
17
|
+
sx: { bgcolor: "background.paper", ...s },
|
|
18
|
+
children: /* @__PURE__ */ r(
|
|
19
|
+
i,
|
|
20
|
+
{
|
|
21
|
+
onClick: () => {
|
|
22
|
+
e && p(e), o();
|
|
23
|
+
},
|
|
24
|
+
children: t
|
|
25
|
+
}
|
|
26
|
+
)
|
|
27
|
+
}
|
|
28
|
+
) : /* @__PURE__ */ r(
|
|
29
|
+
a,
|
|
30
|
+
{
|
|
31
|
+
className: "list-wrapper",
|
|
32
|
+
component: "div",
|
|
33
|
+
disableGutters: !1,
|
|
34
|
+
disablePadding: !1,
|
|
35
|
+
sx: { bgcolor: "background.paper", ...s },
|
|
36
|
+
children: t
|
|
37
|
+
}
|
|
38
|
+
);
|
|
39
|
+
};
|
|
40
|
+
export {
|
|
41
|
+
f as L
|
|
42
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import u from "react";
|
|
2
|
+
const m = {
|
|
3
|
+
EN_US: "en-us",
|
|
4
|
+
EN_CA: "en-ca",
|
|
5
|
+
FR: "fr",
|
|
6
|
+
FR_CA: "fr-ca",
|
|
7
|
+
ES: "es"
|
|
8
|
+
}, d = Object.values(m), w = () => {
|
|
9
|
+
const n = m.EN_US, e = window?.app?.options?.language?.toLowerCase() ?? "", s = window.navigator.language.toLowerCase();
|
|
10
|
+
return e === "browser" && d.includes(s) ? s : d.includes(e) ? e : n;
|
|
11
|
+
}, h = /(?<static>.*?)(?<dynamic>(?:_\d+{(?:.*?)}))|(?<staticEnd>.+)/g, b = (n, ...e) => {
|
|
12
|
+
if (!n) return "";
|
|
13
|
+
const s = e.some((o) => typeof o != "string"), a = [...n.matchAll(h)].reduce(
|
|
14
|
+
(o, p, f) => {
|
|
15
|
+
const c = [...o], t = p.groups;
|
|
16
|
+
if (t?.static && c.push(t.static), t?.dynamic) {
|
|
17
|
+
const l = t.dynamic.indexOf("{"), g = t.dynamic.substring(l + 1, t.dynamic.length - 1), r = Number(t.dynamic.substring(1, l));
|
|
18
|
+
if (u.isValidElement(e[r - 1])) {
|
|
19
|
+
const y = e[r - 1], E = u.cloneElement(y, {
|
|
20
|
+
key: `${g}-${f}`
|
|
21
|
+
});
|
|
22
|
+
c.push(E);
|
|
23
|
+
} else
|
|
24
|
+
c.push(e[r - 1]);
|
|
25
|
+
}
|
|
26
|
+
return t?.staticEnd && c.push(t.staticEnd), c;
|
|
27
|
+
},
|
|
28
|
+
[]
|
|
29
|
+
);
|
|
30
|
+
return s ? a : a.join("");
|
|
31
|
+
}, C = (n, e, s, ...i) => !n || !e ? "" : b(s === 1 ? n : e, ...i);
|
|
32
|
+
export {
|
|
33
|
+
m as L,
|
|
34
|
+
d as V,
|
|
35
|
+
C as a,
|
|
36
|
+
b,
|
|
37
|
+
w as g
|
|
38
|
+
};
|