@mx-cartographer/experiences 7.8.2-alpha.mm0 → 7.9.1-alpha.mega1
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/{AccountDetailsHeader-Cf2TUJnM.mjs → AccountDetailsHeader-3ZD1Of4i.mjs} +19 -19
- package/dist/{AccountFields-UdOvbQ5H.mjs → AccountFields-CiofAlEI.mjs} +2 -2
- package/dist/{AccountListItem-BPVxmNT_.mjs → AccountListItem-CvYjSc-O.mjs} +3 -3
- package/dist/{AccountStore-BbPWe2C9.mjs → AccountStore-DxfUstUk.mjs} +1 -1
- package/dist/{BudgetUtil-BmZXkL0C.mjs → BudgetUtil-CrAD2kHT.mjs} +1 -1
- package/dist/{CategorySelectorDrawer-cQKX5dZb.mjs → CategorySelectorDrawer-euTDUflY.mjs} +3 -3
- package/dist/{CategoryStore-BYICdb9m.mjs → CategoryStore-CqSW9TsW.mjs} +1 -1
- package/dist/{CategoryUtil-meuejJqP.mjs → CategoryUtil-CCY_tiFg.mjs} +1 -1
- package/dist/{ConnectionsDrawer-BDpVTTSe.mjs → ConnectionsDrawer-GcyfM8yJ.mjs} +6 -6
- package/dist/{CurrencyInput-itK0R3wV.mjs → CurrencyInput-BBifPjuC.mjs} +6 -6
- package/dist/{DateUtil-D7U-nc1Y.mjs → DateUtil-gRDTwAoC.mjs} +1 -1
- package/dist/{Dialog-B4PI-_bL.mjs → Dialog-CwiqpTGe.mjs} +4 -4
- package/dist/{Donut-Dmy3JTWd.mjs → Donut-DKY8mL3P.mjs} +2 -2
- package/dist/{ExportCsvAction-CDuzTva1.mjs → ExportCsvAction-BMWhHM8W.mjs} +3 -3
- package/dist/{FinstrongStore-bEn_im_e.mjs → FinstrongStore-DuvM8Gfg.mjs} +6 -6
- package/dist/{GlobalAccountFilter-DQCPNc95.mjs → GlobalAccountFilter-xZ4Z8AE-.mjs} +11 -11
- package/dist/{GoalStore-B4LVt_kH.mjs → GoalStore-2UZjY0z_.mjs} +3 -3
- package/dist/{Help-DhcC-C05.mjs → Help-B8mD4aLJ.mjs} +2 -2
- package/dist/{Help-DODxp9uw.mjs → Help-C0hzCqyd.mjs} +2 -2
- package/dist/{LineChart-kFoTu9Pi.mjs → LineChart-CfkLqqXU.mjs} +1 -1
- package/dist/{ListItemAction-CU42h39I.mjs → ListItemAction-pvmKK9RU.mjs} +6 -6
- package/dist/{ManageIncome-Da1ktIdG.mjs → ManageIncome-KIBMKnI6.mjs} +82 -86
- package/dist/{MicroWidgetContainer-B2hO9rOG.mjs → MicroWidgetContainer-CX0qZ57D.mjs} +2 -2
- package/dist/{MiniWidgetContainer-98-hKFqm.mjs → MiniWidgetContainer-BHk-RlKA.mjs} +2 -2
- package/dist/{NotificationSettings-SPg3pwbX.mjs → NotificationSettings-DeLwFzIJ.mjs} +81 -81
- package/dist/{OriginalBalanceAction-ChGGq5AH.mjs → OriginalBalanceAction-CQzvRZ7u.mjs} +3 -3
- package/dist/{RecurringSettings-B4sByhIM.mjs → RecurringSettings-CvQSL1ny.mjs} +4 -4
- package/dist/{RecurringTransactionsStore-BQBEJOPP.mjs → RecurringTransactionsStore-DMKtMn2C.mjs} +1 -1
- package/dist/{RepeatingTransaction-miZVnk_A.mjs → RepeatingTransaction-C5AV8wLs.mjs} +2 -2
- package/dist/{SpendingData-BmL0bwnS.mjs → SpendingData-DtNL2mQL.mjs} +1 -1
- package/dist/{SpendingLegend-CD60HCYS.mjs → SpendingLegend-DCQtF8Wf.mjs} +22 -22
- package/dist/{TransactionDetails-B9NQYa6j.mjs → TransactionDetails-CuviEVDJ.mjs} +8 -8
- package/dist/{TransactionStore-BSp5bOKg.mjs → TransactionStore-DhG1AyOA.mjs} +3 -3
- package/dist/{TrendsStore-DXQnmdc8.mjs → TrendsStore-C6mrxcHX.mjs} +1 -1
- package/dist/{User-B0LnmiKO.mjs → User-CCYFbd5i.mjs} +14 -14
- package/dist/{ViewMoreMicroCard-DQhcjIOS.mjs → ViewMoreMicroCard-B8C76vIW.mjs} +2 -2
- package/dist/{WidgetContainer-CYdQ0BSm.mjs → WidgetContainer-AuyAcUXL.mjs} +150 -153
- package/dist/accounts/index.es.js +17 -17
- package/dist/analytics/index.es.js +2 -2
- package/dist/budgets/index.es.js +12 -12
- package/dist/cashflow/index.es.js +11 -11
- package/dist/categories/index.es.js +2 -2
- package/dist/common/index.es.js +33 -34
- package/dist/common/types/AppData.d.ts +0 -1
- package/dist/dashboard/index.es.js +7 -7
- package/dist/debts/index.es.js +8 -8
- package/dist/{exportTransactionsToCSV-DtQ7ovAR.mjs → exportTransactionsToCSV-DNbCbq9P.mjs} +2 -2
- package/dist/finstrong/index.es.js +17 -17
- package/dist/goals/components/managegoals/OngoingListItem.d.ts +2 -1
- package/dist/goals/index.es.js +545 -640
- package/dist/help/index.es.js +4 -4
- package/dist/{hooks-ZMp65DFz.mjs → hooks-BUCn6FeJ.mjs} +8 -8
- package/dist/insights-ui/components/index.d.ts +39 -0
- package/dist/insights-ui/components/insights/AccountDiscoverability/AccountDiscoverability.d.ts +3 -0
- package/dist/insights-ui/components/insights/AccountDiscoverability/index.d.ts +1 -0
- package/dist/insights-ui/components/insights/AccountDiscoverability/types/AccountDiscoverability.d.ts +3 -0
- package/dist/insights-ui/components/insights/AmericanUpcomingTaxDeadlineAlert/AmericanUpcomingTaxDeadlineAlert.d.ts +2 -0
- package/dist/insights-ui/components/insights/AmericanUpcomingTaxDeadlineAlert/index.d.ts +1 -0
- package/dist/insights-ui/components/insights/AmericanUpcomingTaxDeadlineAlert/types/AmericanUpcomingTaxDeadlineProps.d.ts +4 -0
- package/dist/insights-ui/components/insights/BillAmountNotStandard/BillAmountNotStandard.d.ts +3 -0
- package/dist/insights-ui/components/insights/BillAmountNotStandard/BillAmountNotStandardMUI.d.ts +3 -0
- package/dist/insights-ui/components/insights/BillAmountNotStandard/index.d.ts +2 -0
- package/dist/insights-ui/components/insights/BillAmountNotStandard/types/BillAmountNotStandard.d.ts +4 -0
- package/dist/insights-ui/components/insights/CategoryBudget/CategoryBudget.d.ts +3 -0
- package/dist/insights-ui/components/insights/CategoryBudget/index.d.ts +1 -0
- package/dist/insights-ui/components/insights/CategoryBudget/types/CategoryBudget.d.ts +8 -0
- package/dist/insights-ui/components/insights/CategorySpendingV2/CategorySpendingV2.d.ts +2 -0
- package/dist/insights-ui/components/insights/CategorySpendingV2/CategorySpendingV2MUI.d.ts +2 -0
- package/dist/insights-ui/components/insights/CategorySpendingV2/index.d.ts +2 -0
- package/dist/insights-ui/components/insights/CategorySpendingV2/types/CategorySpendingV2.d.ts +6 -0
- package/dist/insights-ui/components/insights/CelebrateCreditCardPayoff/CelebrateCreditCardPayoff.d.ts +3 -0
- package/dist/insights-ui/components/insights/CelebrateCreditCardPayoff/index.d.ts +1 -0
- package/dist/insights-ui/components/insights/CelebrateCreditCardPayoff/types/CelebrateCreditCardPayoffProps.d.ts +9 -0
- package/dist/insights-ui/components/insights/CustomTransaction/CustomTransaction.d.ts +3 -0
- package/dist/insights-ui/components/insights/CustomTransaction/index.d.ts +1 -0
- package/dist/insights-ui/components/insights/DiscoveredAccounts/DiscoveredAccountsBody.d.ts +9 -0
- package/dist/insights-ui/components/insights/DiscoveredAccounts/DiscoveredAccountsLearnMoreDrawerContent.d.ts +21 -0
- package/dist/insights-ui/components/insights/DiscoveredAccounts/DiscoveredAccountsMiniInsight.d.ts +6 -0
- package/dist/insights-ui/components/insights/DiscoveredAccounts/index.d.ts +3 -0
- package/dist/insights-ui/components/insights/FederalBankHoliday/FederalBankHoliday.d.ts +3 -0
- package/dist/insights-ui/components/insights/FederalBankHoliday/FederalBankHolidayMUI.d.ts +3 -0
- package/dist/insights-ui/components/insights/FederalBankHoliday/index.d.ts +2 -0
- package/dist/insights-ui/components/insights/FederalBankHoliday/types/FederalBankHoliday.d.ts +4 -0
- package/dist/insights-ui/components/insights/MarketingHub/Offer.d.ts +3 -0
- package/dist/insights-ui/components/insights/MarketingHub/Types.d.ts +33 -0
- package/dist/insights-ui/components/insights/MarketingHub/index.d.ts +2 -0
- package/dist/insights-ui/components/insights/MonthlyDebtToIncomeComparisonV2/MonthlyDebtToIncomeComparisonV2.d.ts +2 -0
- package/dist/insights-ui/components/insights/MonthlyDebtToIncomeComparisonV2/index.d.ts +1 -0
- package/dist/insights-ui/components/insights/MonthlyDebtToIncomeComparisonV2/types/index.d.ts +4 -0
- package/dist/insights-ui/components/insights/MonthlyEmergencyFundReview/LastMonthsContributionSection.d.ts +6 -0
- package/dist/insights-ui/components/insights/MonthlyEmergencyFundReview/MonthlyEmergencyFundReviewBody.d.ts +21 -0
- package/dist/insights-ui/components/insights/MonthlyEmergencyFundReview/ProjectedCompletionSection.d.ts +6 -0
- package/dist/insights-ui/components/insights/MonthlyEmergencyFundReview/TotalSection.d.ts +7 -0
- package/dist/insights-ui/components/insights/MonthlyEmergencyFundReview/index.d.ts +4 -0
- package/dist/insights-ui/components/insights/MonthlySavingsToIncomeComparison/MonthlySavingsToIncomeComparison.d.ts +2 -0
- package/dist/insights-ui/components/insights/MonthlySavingsToIncomeComparison/index.d.ts +1 -0
- package/dist/insights-ui/components/insights/MonthlySavingsToIncomeComparison/types/index.d.ts +4 -0
- package/dist/insights-ui/components/insights/MonthlySpendToIncomeComparisonV2/MonthlySpendToIncomeComparisonV2.d.ts +2 -0
- package/dist/insights-ui/components/insights/MonthlySpendToIncomeComparisonV2/index.d.ts +1 -0
- package/dist/insights-ui/components/insights/MonthlySpendToIncomeComparisonV2/types/index.d.ts +4 -0
- package/dist/insights-ui/components/insights/MonthlySpendingComparisonV2/MonthlySpendingComparisonV2.d.ts +3 -0
- package/dist/insights-ui/components/insights/MonthlySpendingComparisonV2/__test__/MonthlySpendComparisonV2.test.d.ts +1 -0
- package/dist/insights-ui/components/insights/MonthlySpendingComparisonV2/index.d.ts +1 -0
- package/dist/insights-ui/components/insights/MonthlySpendingComparisonV2/types/MonthlySpendComparisonV2.d.ts +4 -0
- package/dist/insights-ui/components/insights/P2pCategorization/P2pCategorization.d.ts +3 -0
- package/dist/insights-ui/components/insights/P2pCategorization/_tests_/P2pCategorizationMultipleTransaction.test.d.ts +0 -0
- package/dist/insights-ui/components/insights/P2pCategorization/_tests_/P2pCategorizationSingleTransaction.test.d.ts +0 -0
- package/dist/insights-ui/components/insights/P2pCategorization/index.d.ts +4 -0
- package/dist/insights-ui/components/insights/P2pCategorization/shared/P2pCategorizationMultipleTransactions.d.ts +3 -0
- package/dist/insights-ui/components/insights/P2pCategorization/shared/P2pCategorizationSingleTransaction.d.ts +3 -0
- package/dist/insights-ui/components/insights/P2pCategorization/types/P2pCategorization.d.ts +17 -0
- package/dist/insights-ui/components/insights/SavingsAccountBalancesSummary/SavingsAccountBalancesSummary.d.ts +2 -0
- package/dist/insights-ui/components/insights/SavingsAccountBalancesSummary/index.d.ts +1 -0
- package/dist/insights-ui/components/insights/SavingsAccountBalancesSummary/types/SavingsAccountBalancesSummary.d.ts +4 -0
- package/dist/insights-ui/components/insights/SetUpDirectDeposit/SetUpDirectDepositBody.d.ts +3 -0
- package/dist/insights-ui/components/insights/SetUpDirectDeposit/index.d.ts +1 -0
- package/dist/insights-ui/components/insights/SharedDeposit/SharedDeposit.d.ts +2 -0
- package/dist/insights-ui/components/insights/SharedDeposit/index.d.ts +1 -0
- package/dist/insights-ui/components/insights/SharedDeposit/types/index.d.ts +7 -0
- package/dist/insights-ui/components/insights/SwitchDirectDeposit/AccountBox.d.ts +7 -0
- package/dist/insights-ui/components/insights/SwitchDirectDeposit/SwitchDirectDepositBody.d.ts +10 -0
- package/dist/insights-ui/components/insights/SwitchDirectDeposit/SwitchDirectDepositMainContainer.d.ts +9 -0
- package/dist/insights-ui/components/insights/SwitchDirectDeposit/index.d.ts +3 -0
- package/dist/insights-ui/components/insights/UnifiedDeposit/UnifiedDeposit.d.ts +7 -0
- package/dist/insights-ui/components/insights/UnifiedDeposit/UnifiedDepositBody.d.ts +11 -0
- package/dist/insights-ui/components/insights/UnifiedDeposit/index.d.ts +1 -0
- package/dist/insights-ui/components/insights/UserFeedback/StyledToggleButton.d.ts +7 -0
- package/dist/insights-ui/components/insights/UserFeedback/Types.d.ts +27 -0
- package/dist/insights-ui/components/insights/UserFeedback/UserFeedback.d.ts +3 -0
- package/dist/insights-ui/components/insights/UserFeedback/index.d.ts +1 -0
- package/dist/insights-ui/components/insights/WeeklyNoSpendDays/BubbleWeek.d.ts +9 -0
- package/dist/insights-ui/components/insights/WeeklyNoSpendDays/NoSpendIcons.d.ts +1 -0
- package/dist/insights-ui/components/insights/WeeklyNoSpendDays/WeeklyNoSpendDays.d.ts +12 -0
- package/dist/insights-ui/components/insights/WeeklyNoSpendDays/_tests_/WeeklyNoSpendDays.test.d.ts +0 -0
- package/dist/insights-ui/components/insights/WeeklyNoSpendDays/index.d.ts +1 -0
- package/dist/insights-ui/components/insights/index.d.ts +24 -0
- package/dist/insights-ui/components/shared/BottomSheet.d.ts +13 -0
- package/dist/insights-ui/components/shared/CarouselControls.d.ts +14 -0
- package/dist/insights-ui/components/shared/ChartDrawerTemplate/ChartDrawerTemplate.d.ts +29 -0
- package/dist/insights-ui/components/shared/ChartDrawerTemplate/TipSection.d.ts +7 -0
- package/dist/insights-ui/components/shared/Charts/BarChart/BarChart.d.ts +2 -0
- package/dist/insights-ui/components/shared/Charts/BarChart/BarChartV2.d.ts +2 -0
- package/dist/insights-ui/components/shared/Charts/BarChart/ChartLegend.d.ts +9 -0
- package/dist/insights-ui/components/shared/Charts/BarChart/ChartLegendV2.d.ts +10 -0
- package/dist/insights-ui/components/shared/Charts/BarChart/CustomBarPlot.d.ts +18 -0
- package/dist/insights-ui/components/shared/Charts/BarChart/CustomBarPlotV2.d.ts +18 -0
- package/dist/insights-ui/components/shared/Charts/BarChart/CustomDoubleBarPlot.d.ts +24 -0
- package/dist/insights-ui/components/shared/Charts/BarChart/DoubleBarChart.d.ts +2 -0
- package/dist/insights-ui/components/shared/Charts/BarChart/DoubleBarChartLegend.d.ts +10 -0
- package/dist/insights-ui/components/shared/Charts/BarChart/index.d.ts +3 -0
- package/dist/insights-ui/components/shared/Charts/EmptyBarChart.d.ts +1 -0
- package/dist/insights-ui/components/shared/Charts/index.d.ts +2 -0
- package/dist/insights-ui/components/shared/Confetti.d.ts +5 -0
- package/dist/insights-ui/components/shared/DeepLinks/DeepLinkDialog.d.ts +11 -0
- package/dist/insights-ui/components/shared/DeepLinks/DirectDeposit/Circle.d.ts +6 -0
- package/dist/insights-ui/components/shared/DeepLinks/DirectDeposit/DirectDepositDeepLink.d.ts +24 -0
- package/dist/insights-ui/components/shared/DeepLinks/DirectDeposit/Dot.d.ts +1 -0
- package/dist/insights-ui/components/shared/DeepLinks/DirectDeposit/Oval.d.ts +1 -0
- package/dist/insights-ui/components/shared/DirectDeposit/DirectDeposit.d.ts +3 -0
- package/dist/insights-ui/components/shared/DirectDeposit/DirectDepositSubHeader.d.ts +14 -0
- package/dist/insights-ui/components/shared/DirectDeposit/FullFeedBodyHeader.d.ts +10 -0
- package/dist/insights-ui/components/shared/DirectDeposit/LeftBox.d.ts +7 -0
- package/dist/insights-ui/components/shared/DirectDeposit/MiniBodyHeader.d.ts +10 -0
- package/dist/insights-ui/components/shared/DirectDeposit/RightBox.d.ts +8 -0
- package/dist/insights-ui/components/shared/ErrorCard/ErrorCard.d.ts +7 -0
- package/dist/insights-ui/components/shared/FormDialog.d.ts +16 -0
- package/dist/insights-ui/components/shared/GenericFeedback/FeedbackButtons.d.ts +15 -0
- package/dist/insights-ui/components/shared/GenericFeedback/FeedbackDescription.d.ts +5 -0
- package/dist/insights-ui/components/shared/GenericFeedback/FeedbackHeader.d.ts +15 -0
- package/dist/insights-ui/components/shared/GenericFeedback/FeedbackOptions.d.ts +12 -0
- package/dist/insights-ui/components/shared/GenericFeedback/FeedbackText.d.ts +13 -0
- package/dist/insights-ui/components/shared/GoalProgress.d.ts +10 -0
- package/dist/insights-ui/components/shared/GradientBox.d.ts +8 -0
- package/dist/insights-ui/components/shared/InsightsCard/BeatCard.d.ts +20 -0
- package/dist/insights-ui/components/shared/InsightsCard/CardButtonSection.d.ts +7 -0
- package/dist/insights-ui/components/shared/InsightsCard/CardError.d.ts +5 -0
- package/dist/insights-ui/components/shared/InsightsCard/CardFooter.d.ts +7 -0
- package/dist/insights-ui/components/shared/InsightsCard/CardHeader.d.ts +11 -0
- package/dist/insights-ui/components/shared/InsightsCard/CardLoading.d.ts +5 -0
- package/dist/insights-ui/components/shared/InsightsCard/ContentAndDescription.d.ts +17 -0
- package/dist/insights-ui/components/shared/InsightsCard/Description.d.ts +12 -0
- package/dist/insights-ui/components/shared/InsightsCard/EmbeddedCard.d.ts +10 -0
- package/dist/insights-ui/components/shared/InsightsCard/FeedbackCard.d.ts +13 -0
- package/dist/insights-ui/components/shared/InsightsCard/InsightButton.d.ts +12 -0
- package/dist/insights-ui/components/shared/InsightsCard/MiniDescription.d.ts +9 -0
- package/dist/insights-ui/components/shared/MenuAction.d.ts +15 -0
- package/dist/insights-ui/components/shared/MiniInsightCard.d.ts +16 -0
- package/dist/insights-ui/components/shared/ProgressBar.d.ts +9 -0
- package/dist/insights-ui/components/shared/StatusIndicator.d.ts +14 -0
- package/dist/insights-ui/components/shared/ThemedSVGImage.d.ts +2 -0
- package/dist/insights-ui/components/shared/ZeroState/LinedCardZeroState.d.ts +1 -0
- package/dist/insights-ui/components/shared/index.d.ts +1 -0
- package/dist/insights-ui/hooks/useContainerDimensions.d.ts +5 -0
- package/dist/insights-ui/index.d.ts +1 -0
- package/dist/insights-ui/index.es.js +4206 -0
- package/dist/insights-ui/themes/Typography.d.ts +3 -0
- package/dist/insights-ui/themes/index.d.ts +1 -0
- package/dist/insights-ui/types/Charts/BarChart.d.ts +77 -0
- package/dist/insights-ui/types/CommonBeat.d.ts +368 -0
- package/dist/insights-ui/types/DirectDeposit.d.ts +16 -0
- package/dist/insights-ui/types/ThemedSVGImage.d.ts +5 -0
- package/dist/investments/index.es.js +5 -5
- package/dist/merchants/index.es.js +14 -14
- package/dist/microinsights/index.es.js +1 -1
- package/dist/networth/index.es.js +35 -35
- package/dist/notifications/index.es.js +3 -3
- package/dist/recurringtransactions/index.es.js +14 -14
- package/dist/settings/index.es.js +64 -64
- package/dist/spending/index.es.js +7 -7
- package/dist/transactions/index.es.js +16 -16
- package/dist/trends/index.es.js +17 -17
- package/dist/{useAccountDisplayName-Bot2tb4n.mjs → useAccountDisplayName-D27PXvdj.mjs} +5 -5
- package/dist/{useAriaLive-B3_pRUio.mjs → useAriaLive-MkYebyUR.mjs} +4 -4
- package/dist/{useCombineEvents-CRwX-qWE.mjs → useCombineEvents-ARuNN9Xh.mjs} +8 -8
- package/dist/{useDimensions-27p2evRx.mjs → useDimensions-CeDR9V8N.mjs} +6 -6
- package/dist/{useInsightsEnabled-B7dxpDrX.mjs → useInsightsEnabled-CzhMEHNx.mjs} +1 -1
- package/dist/{useWidgetLoadTimer-hIOioiKx.mjs → useWidgetLoadTimer-BYMP5Q8g.mjs} +1 -1
- package/package.json +10 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as C, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import I from "react";
|
|
3
3
|
import { observer as te } from "mobx-react-lite";
|
|
4
4
|
import X from "@mui/material/Box";
|
|
5
5
|
import W from "@mui/material/Button";
|
|
@@ -10,36 +10,36 @@ import j from "@mui/material/Divider";
|
|
|
10
10
|
import H from "@mui/material/IconButton";
|
|
11
11
|
import Y from "@mui/material/Stack";
|
|
12
12
|
import { ChevronLeft as re } from "@mxenabled/mx-icons";
|
|
13
|
-
import { Icon as
|
|
14
|
-
import { u as oe } from "./useDimensions-
|
|
15
|
-
import { G as le } from "./GlobalAccountFilter-
|
|
13
|
+
import { Icon as E, Text as F, DateRangePicker as $, H2 as ce, H3 as se } from "@mxenabled/mxui";
|
|
14
|
+
import { u as oe } from "./useDimensions-CeDR9V8N.mjs";
|
|
15
|
+
import { G as le } from "./GlobalAccountFilter-xZ4Z8AE-.mjs";
|
|
16
16
|
import { L as Ce } from "./Loader-DUaFpDGv.mjs";
|
|
17
|
-
import { g as de, b as Te, u as Ie,
|
|
17
|
+
import { g as de, b as Te, u as Ie, W as Ee } from "./hooks-BUCn6FeJ.mjs";
|
|
18
18
|
import { u as _e } from "./useScreenSize-B6JyS_Lj.mjs";
|
|
19
19
|
import { addMonths as Z } from "date-fns/addMonths";
|
|
20
|
-
import { addDays as
|
|
20
|
+
import { addDays as Re } from "date-fns/addDays";
|
|
21
21
|
import { addYears as q } from "date-fns/addYears";
|
|
22
|
-
import { differenceInCalendarDays as
|
|
23
|
-
import { endOfDay as
|
|
22
|
+
import { differenceInCalendarDays as ge } from "date-fns/differenceInCalendarDays";
|
|
23
|
+
import { endOfDay as Ae } from "date-fns/endOfDay";
|
|
24
24
|
import { endOfMonth as V } from "date-fns/endOfMonth";
|
|
25
25
|
import { endOfToday as J } from "date-fns/endOfToday";
|
|
26
|
-
import { endOfYear as
|
|
27
|
-
import { startOfMonth as
|
|
28
|
-
import { startOfToday as
|
|
29
|
-
import { startOfYear as
|
|
26
|
+
import { endOfYear as Se } from "date-fns/endOfYear";
|
|
27
|
+
import { startOfMonth as Ne } from "date-fns/startOfMonth";
|
|
28
|
+
import { startOfToday as me } from "date-fns/startOfToday";
|
|
29
|
+
import { startOfYear as Le } from "date-fns/startOfYear";
|
|
30
30
|
import { subMonths as z } from "date-fns/subMonths";
|
|
31
|
-
import { subDays as
|
|
31
|
+
import { subDays as ue } from "date-fns/subDays";
|
|
32
32
|
import { subYears as Q } from "date-fns/subYears";
|
|
33
|
-
import
|
|
33
|
+
import De from "@mui/material/ButtonGroup";
|
|
34
34
|
import ke from "@mui/material/Tab";
|
|
35
|
-
import
|
|
36
|
-
import
|
|
37
|
-
import
|
|
38
|
-
import
|
|
39
|
-
import { u as
|
|
40
|
-
import { f as
|
|
41
|
-
import { D as
|
|
42
|
-
const
|
|
35
|
+
import pe from "@mui/material/Tabs";
|
|
36
|
+
import Oe from "@mui/material/ToggleButton";
|
|
37
|
+
import he from "@mui/material/ToggleButtonGroup";
|
|
38
|
+
import fe from "@mui/material/styles/useTheme";
|
|
39
|
+
import { u as be } from "./useAriaLive-MkYebyUR.mjs";
|
|
40
|
+
import { f as S, D as N, a as Ke } from "./Dialog-CwiqpTGe.mjs";
|
|
41
|
+
import { D as we } from "./Drawer-DV4NTsFg.mjs";
|
|
42
|
+
const Ge = {
|
|
43
43
|
ACCOUNTS_CLICK_ACCOUNT: "accounts_widget_click_account",
|
|
44
44
|
ACCOUNTS_CLICK_CONNECT: "accounts_widget_click_connect_accounts",
|
|
45
45
|
ACCOUNTS_CLICK_FILTER: "accounts_widget_click_filter_accounts",
|
|
@@ -159,15 +159,15 @@ const Me = {
|
|
|
159
159
|
TRENDS_HOVER_LEGEND: "trends_hover_ChartLegend",
|
|
160
160
|
TRENDS_LOAD_WIDGET: "trends_load_widget",
|
|
161
161
|
TRENDS_VIEW_TRANSACTIONS: "trends_view_transactions"
|
|
162
|
-
},
|
|
163
|
-
calendarActions:
|
|
164
|
-
color:
|
|
162
|
+
}, Me = ({
|
|
163
|
+
calendarActions: r,
|
|
164
|
+
color: m = "primary",
|
|
165
165
|
copy: t,
|
|
166
|
-
range:
|
|
167
|
-
shouldShrinkToIcon:
|
|
166
|
+
range: L = [Ne(me()), V(J())],
|
|
167
|
+
shouldShrinkToIcon: u = !0,
|
|
168
168
|
variant: c = "outlined"
|
|
169
169
|
}) => {
|
|
170
|
-
const x =
|
|
170
|
+
const x = fe(), { isMobile: D } = _e(), { announce: B, ariaLive: k } = be(), [A, h] = I.useState(L), [d, f] = I.useState(t.dateRangePickerCopy.dateRangeThisMonth), [R, v] = I.useState(A), [p, O] = I.useState(!1), [T, g] = I.useState(!0), [l, y] = I.useState(6), P = {
|
|
171
171
|
buttons: [
|
|
172
172
|
{ label: "3M", value: 3 },
|
|
173
173
|
{ label: "6M", value: 6 },
|
|
@@ -181,43 +181,43 @@ const Me = {
|
|
|
181
181
|
{ label: "1 Year", value: 12 }
|
|
182
182
|
]
|
|
183
183
|
};
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
}, [
|
|
187
|
-
(c === "timeframebuttons" || c === "timeframetabs") &&
|
|
184
|
+
I.useEffect(() => {
|
|
185
|
+
h(L), v(L);
|
|
186
|
+
}, [L]), I.useEffect(() => {
|
|
187
|
+
(c === "timeframebuttons" || c === "timeframetabs") && r.onRangeChanged(a());
|
|
188
188
|
}, [l]);
|
|
189
189
|
const a = () => {
|
|
190
190
|
const _ = V(J());
|
|
191
191
|
return [V(z(_, l)), _];
|
|
192
|
-
},
|
|
193
|
-
const [
|
|
192
|
+
}, U = (_) => {
|
|
193
|
+
const [n, i] = A, s = _ === "previous";
|
|
194
194
|
let o;
|
|
195
195
|
if (d === t.dateRangePickerCopy.dateRangeThisMonth || d === t.dateRangePickerCopy.dateRangeLastMonth)
|
|
196
196
|
o = [
|
|
197
|
-
|
|
198
|
-
V(
|
|
197
|
+
s ? z(n, 1) : Z(n, 1),
|
|
198
|
+
V(s ? z(i, 1) : Z(i, 1))
|
|
199
199
|
];
|
|
200
200
|
else if (d === t.dateRangePickerCopy.dateRangeYTD || d === t.dateRangePickerCopy.dateRangeLastYear) {
|
|
201
|
-
const
|
|
201
|
+
const G = Le(n), M = Se(n);
|
|
202
202
|
o = [
|
|
203
|
-
|
|
204
|
-
|
|
203
|
+
s ? Q(G, 1) : q(G, 1),
|
|
204
|
+
s ? Q(M, 1) : q(M, 1)
|
|
205
205
|
];
|
|
206
206
|
} else {
|
|
207
|
-
const
|
|
208
|
-
o = [M(
|
|
207
|
+
const G = ge(i, n), M = s ? ue : Re;
|
|
208
|
+
o = [M(n, G), M(i, G)];
|
|
209
209
|
}
|
|
210
|
-
|
|
211
|
-
},
|
|
212
|
-
|
|
210
|
+
h(o), r.onRangeChanged(o);
|
|
211
|
+
}, b = () => {
|
|
212
|
+
h(R), g(
|
|
213
213
|
d === t.dateRangePickerCopy.dateRangeThisMonth || d === t.dateRangePickerCopy.dateRangeLastMonth
|
|
214
|
-
),
|
|
215
|
-
}, K = (_,
|
|
214
|
+
), r.onRangeChanged(R);
|
|
215
|
+
}, K = (_, n) => {
|
|
216
216
|
_[1] = _[1] ?? _[0];
|
|
217
|
-
const
|
|
218
|
-
|
|
219
|
-
},
|
|
220
|
-
|
|
217
|
+
const i = [_[0], _[1] ? Ae(_[1]) : _[1]], s = S(i[0], N.MONTH_DAY_YEAR), o = S(i[1], N.MONTH_DAY_YEAR);
|
|
218
|
+
v(i), f(n), B(`${t.dateRangePickerCopy}: ${s} - ${o}`);
|
|
219
|
+
}, w = (_) => {
|
|
220
|
+
y(_);
|
|
221
221
|
};
|
|
222
222
|
return /* @__PURE__ */ C(X, { className: "mx-cmn-date-range-selector", m: 4, children: [
|
|
223
223
|
/* @__PURE__ */ C(
|
|
@@ -225,25 +225,25 @@ const Me = {
|
|
|
225
225
|
{
|
|
226
226
|
sx: {
|
|
227
227
|
[x.breakpoints.down("sm")]: {
|
|
228
|
-
display:
|
|
228
|
+
display: u ? "none" : "flex",
|
|
229
229
|
justifyContent: "center"
|
|
230
230
|
},
|
|
231
231
|
[x.breakpoints.up("sm")]: { display: "inline-flex" }
|
|
232
232
|
},
|
|
233
233
|
children: [
|
|
234
234
|
c === "readonly" && /* @__PURE__ */ C(Y, { alignItems: "center", direction: "row", gap: 8, children: [
|
|
235
|
-
/* @__PURE__ */ e(
|
|
236
|
-
/* @__PURE__ */ e(F, { bold: !0, children:
|
|
237
|
-
/* @__PURE__ */ e(
|
|
238
|
-
/* @__PURE__ */ e(F, { bold: !0, children:
|
|
235
|
+
/* @__PURE__ */ e(E, { name: "calendar_month", size: 24 }),
|
|
236
|
+
/* @__PURE__ */ e(F, { bold: !0, children: S(R[0], N.MONTH_DAY) }),
|
|
237
|
+
/* @__PURE__ */ e(E, { name: "remove" }),
|
|
238
|
+
/* @__PURE__ */ e(F, { bold: !0, children: S(R[1], N.MONTH_DAY_YEAR) })
|
|
239
239
|
] }),
|
|
240
240
|
c !== "readonly" && c !== "timeframebuttons" && c !== "timeframetabs" && /* @__PURE__ */ C(
|
|
241
|
-
|
|
241
|
+
De,
|
|
242
242
|
{
|
|
243
|
-
color:
|
|
243
|
+
color: m,
|
|
244
244
|
sx: {
|
|
245
245
|
"& .MuiButtonGroup-grouped": {
|
|
246
|
-
padding:
|
|
246
|
+
padding: D ? 0 : 12
|
|
247
247
|
},
|
|
248
248
|
"& .MuiButtonGroup-middleButton": {
|
|
249
249
|
px: 24
|
|
@@ -255,55 +255,55 @@ const Me = {
|
|
|
255
255
|
/* @__PURE__ */ e(
|
|
256
256
|
W,
|
|
257
257
|
{
|
|
258
|
-
"aria-disabled":
|
|
258
|
+
"aria-disabled": r.shouldDisablePrevious,
|
|
259
259
|
"aria-label": t.dateRangePreviousAria,
|
|
260
|
-
color:
|
|
261
|
-
onClick: () =>
|
|
262
|
-
children: /* @__PURE__ */ e(
|
|
260
|
+
color: r.shouldDisablePrevious ? "secondary" : "primary",
|
|
261
|
+
onClick: () => r.shouldDisablePrevious ? null : U("previous"),
|
|
262
|
+
children: /* @__PURE__ */ e(E, { name: "chevron_left", size: 20 })
|
|
263
263
|
}
|
|
264
264
|
),
|
|
265
265
|
/* @__PURE__ */ e(
|
|
266
266
|
W,
|
|
267
267
|
{
|
|
268
|
-
"aria-disabled":
|
|
269
|
-
color:
|
|
270
|
-
onClick: () =>
|
|
271
|
-
startIcon: /* @__PURE__ */ e(
|
|
268
|
+
"aria-disabled": r.shouldDisablePicker,
|
|
269
|
+
color: m,
|
|
270
|
+
onClick: () => r.shouldDisablePicker ? null : O(!0),
|
|
271
|
+
startIcon: /* @__PURE__ */ e(E, { name: "calendar_month", size: 20 }),
|
|
272
272
|
sx: {
|
|
273
|
-
p:
|
|
273
|
+
p: D ? 0 : 8
|
|
274
274
|
},
|
|
275
|
-
children:
|
|
276
|
-
|
|
275
|
+
children: T ? S(A[0], N.MONTH_YEAR) : /* @__PURE__ */ C("span", { children: [
|
|
276
|
+
S(A[0], N.MONTH_DAY_YEAR),
|
|
277
277
|
" -",
|
|
278
278
|
" ",
|
|
279
|
-
|
|
279
|
+
S(A[1], N.MONTH_DAY_YEAR)
|
|
280
280
|
] })
|
|
281
281
|
}
|
|
282
282
|
),
|
|
283
283
|
/* @__PURE__ */ e(
|
|
284
284
|
W,
|
|
285
285
|
{
|
|
286
|
-
"aria-disabled":
|
|
286
|
+
"aria-disabled": r.shouldDisableNext,
|
|
287
287
|
"aria-label": t.dateRangeNextAria,
|
|
288
|
-
color:
|
|
289
|
-
onClick: () =>
|
|
290
|
-
children: /* @__PURE__ */ e(
|
|
288
|
+
color: r.shouldDisableNext ? "secondary" : "primary",
|
|
289
|
+
onClick: () => r.shouldDisableNext ? null : U("next"),
|
|
290
|
+
children: /* @__PURE__ */ e(E, { name: "chevron_right", size: 20 })
|
|
291
291
|
}
|
|
292
292
|
)
|
|
293
293
|
]
|
|
294
294
|
}
|
|
295
295
|
),
|
|
296
296
|
c === "timeframebuttons" && /* @__PURE__ */ e(
|
|
297
|
-
|
|
297
|
+
he,
|
|
298
298
|
{
|
|
299
|
-
color:
|
|
299
|
+
color: m,
|
|
300
300
|
exclusive: !0,
|
|
301
301
|
orientation: "horizontal",
|
|
302
302
|
value: l,
|
|
303
303
|
children: P.buttons.map((_) => /* @__PURE__ */ e(
|
|
304
|
-
|
|
304
|
+
Oe,
|
|
305
305
|
{
|
|
306
|
-
onClick: () =>
|
|
306
|
+
onClick: () => w(_.value),
|
|
307
307
|
sx: { width: 56 },
|
|
308
308
|
value: _.value,
|
|
309
309
|
children: _.label
|
|
@@ -313,10 +313,10 @@ const Me = {
|
|
|
313
313
|
}
|
|
314
314
|
),
|
|
315
315
|
c === "timeframetabs" && /* @__PURE__ */ e(
|
|
316
|
-
|
|
316
|
+
pe,
|
|
317
317
|
{
|
|
318
318
|
indicatorColor: "primary",
|
|
319
|
-
onChange: (_,
|
|
319
|
+
onChange: (_, n) => w(n),
|
|
320
320
|
textColor: "primary",
|
|
321
321
|
value: l,
|
|
322
322
|
variant: "fullWidth",
|
|
@@ -334,14 +334,14 @@ const Me = {
|
|
|
334
334
|
]
|
|
335
335
|
}
|
|
336
336
|
),
|
|
337
|
-
|
|
338
|
-
|
|
337
|
+
p && D && /* @__PURE__ */ C(
|
|
338
|
+
we,
|
|
339
339
|
{
|
|
340
340
|
ariaLabelClose: t.dateRangeCloseAria,
|
|
341
|
-
isOpen:
|
|
342
|
-
onClose: () =>
|
|
341
|
+
isOpen: p,
|
|
342
|
+
onClose: () => O(!1),
|
|
343
343
|
onPrimaryAction: () => {
|
|
344
|
-
|
|
344
|
+
b(), O(!1);
|
|
345
345
|
},
|
|
346
346
|
primaryText: t.dateRangeEditApply,
|
|
347
347
|
title: t.dateRangeEditTitle,
|
|
@@ -351,7 +351,7 @@ const Me = {
|
|
|
351
351
|
$,
|
|
352
352
|
{
|
|
353
353
|
copy: t.dateRangePickerCopy,
|
|
354
|
-
dateRange:
|
|
354
|
+
dateRange: R,
|
|
355
355
|
onRangeChanged: K,
|
|
356
356
|
selectedShortcut: d,
|
|
357
357
|
sx: { p: 16 }
|
|
@@ -360,13 +360,13 @@ const Me = {
|
|
|
360
360
|
]
|
|
361
361
|
}
|
|
362
362
|
),
|
|
363
|
-
|
|
363
|
+
p && !D && /* @__PURE__ */ C(
|
|
364
364
|
Ke,
|
|
365
365
|
{
|
|
366
366
|
copy: { title: t.dateRangeEditTitle },
|
|
367
367
|
isOpen: !0,
|
|
368
|
-
onClose: () =>
|
|
369
|
-
onPrimaryAction: () =>
|
|
368
|
+
onClose: () => O(!1),
|
|
369
|
+
onPrimaryAction: () => b(),
|
|
370
370
|
primaryText: t.dateRangeEditApply,
|
|
371
371
|
sx: {
|
|
372
372
|
"& .MuiDialogContent-root": {
|
|
@@ -379,7 +379,7 @@ const Me = {
|
|
|
379
379
|
$,
|
|
380
380
|
{
|
|
381
381
|
copy: t.dateRangePickerCopy,
|
|
382
|
-
dateRange:
|
|
382
|
+
dateRange: R,
|
|
383
383
|
onRangeChanged: K,
|
|
384
384
|
selectedShortcut: d,
|
|
385
385
|
sx: {
|
|
@@ -394,29 +394,29 @@ const Me = {
|
|
|
394
394
|
}
|
|
395
395
|
)
|
|
396
396
|
] });
|
|
397
|
-
}, ee =
|
|
397
|
+
}, ee = Me, L_ = te(
|
|
398
398
|
({
|
|
399
|
-
allowedAccountTypes:
|
|
400
|
-
actions:
|
|
399
|
+
allowedAccountTypes: r,
|
|
400
|
+
actions: m = [],
|
|
401
401
|
calendarActions: t,
|
|
402
|
-
children:
|
|
403
|
-
dateRange:
|
|
402
|
+
children: L,
|
|
403
|
+
dateRange: u,
|
|
404
404
|
dateRangeVariant: c,
|
|
405
405
|
className: x = "mx-cmn-widget",
|
|
406
|
-
hasDivider:
|
|
406
|
+
hasDivider: D = !1,
|
|
407
407
|
onAccountsFilterClick: B,
|
|
408
408
|
onBackClick: k,
|
|
409
|
-
showAccountFilter:
|
|
410
|
-
showDividerAboveDateSelector:
|
|
409
|
+
showAccountFilter: A = !0,
|
|
410
|
+
showDividerAboveDateSelector: h = !0,
|
|
411
411
|
sx: d = {},
|
|
412
|
-
title:
|
|
412
|
+
title: f = ""
|
|
413
413
|
}) => {
|
|
414
|
-
const [
|
|
415
|
-
k && (k(),
|
|
414
|
+
const [R, { height: v, width: p }] = oe(), { onEvent: O } = de(), { isDesktop: T, isMobile: g, isTablet: l } = _e(p), { displayedDateRange: y, isCopyLoaded: P } = Te(), { common: a } = Ie(), U = () => {
|
|
415
|
+
k && (k(), O(Ge.WIDGET_BACK_CLICK));
|
|
416
416
|
};
|
|
417
417
|
if (!P)
|
|
418
418
|
return /* @__PURE__ */ e(Ce, {});
|
|
419
|
-
const
|
|
419
|
+
const b = {
|
|
420
420
|
dateRangePickerCopy: {
|
|
421
421
|
dateRangeFrom: a.date_range_picker.from,
|
|
422
422
|
dateRangeTo: a.date_range_picker.to,
|
|
@@ -434,125 +434,122 @@ const Me = {
|
|
|
434
434
|
dateRangeEditTitle: a.date_range_picker.edit_title,
|
|
435
435
|
dateRangeNextAria: a.date_range_picker.next_aria,
|
|
436
436
|
dateRangePreviousAria: a.date_range_picker.previous_aria
|
|
437
|
-
},
|
|
437
|
+
}, K = u ? u.start : y.start, w = u ? u.end : y.end, _ = m?.length > 1;
|
|
438
438
|
return /* @__PURE__ */ C(
|
|
439
439
|
ae,
|
|
440
440
|
{
|
|
441
441
|
className: x,
|
|
442
442
|
sx: {
|
|
443
|
-
...
|
|
443
|
+
...g && { px: 4 },
|
|
444
444
|
"& .mx-cmn-date-range-selector": {
|
|
445
|
-
...(
|
|
445
|
+
...(g || l) && { textAlign: "center" }
|
|
446
446
|
},
|
|
447
447
|
...d
|
|
448
448
|
},
|
|
449
449
|
children: [
|
|
450
|
-
|
|
450
|
+
f && /* @__PURE__ */ e(
|
|
451
451
|
ne,
|
|
452
452
|
{
|
|
453
453
|
action: /* @__PURE__ */ C(Y, { alignItems: "center", flexDirection: "row", children: [
|
|
454
|
-
|
|
454
|
+
T && t && /* @__PURE__ */ e(X, { sx: { flexGrow: 1 }, children: /* @__PURE__ */ e(
|
|
455
455
|
ee,
|
|
456
456
|
{
|
|
457
457
|
calendarActions: t,
|
|
458
|
-
copy:
|
|
459
|
-
range: [
|
|
458
|
+
copy: b,
|
|
459
|
+
range: [K, w],
|
|
460
460
|
shouldShrinkToIcon: !1,
|
|
461
461
|
variant: c
|
|
462
462
|
}
|
|
463
463
|
) }),
|
|
464
|
-
|
|
464
|
+
A && /* @__PURE__ */ e(
|
|
465
465
|
le,
|
|
466
466
|
{
|
|
467
|
-
allowedAccountTypes:
|
|
467
|
+
allowedAccountTypes: r,
|
|
468
468
|
onAccountFilterClick: B
|
|
469
469
|
}
|
|
470
470
|
),
|
|
471
|
-
|
|
472
|
-
if (
|
|
473
|
-
const { iconName: i, onClick:
|
|
474
|
-
return
|
|
471
|
+
m?.map((n) => {
|
|
472
|
+
if (I.isValidElement(n)) return n;
|
|
473
|
+
const { iconName: i, onClick: s, label: o } = n;
|
|
474
|
+
return _ ? T || l ? /* @__PURE__ */ e(
|
|
475
475
|
W,
|
|
476
476
|
{
|
|
477
|
-
onClick:
|
|
478
|
-
startIcon: /* @__PURE__ */ e(
|
|
477
|
+
onClick: s,
|
|
478
|
+
startIcon: /* @__PURE__ */ e(E, { name: i, size: 24 }),
|
|
479
479
|
sx: { my: 4 },
|
|
480
|
-
children:
|
|
480
|
+
children: o
|
|
481
481
|
},
|
|
482
482
|
i
|
|
483
483
|
) : /* @__PURE__ */ e(
|
|
484
484
|
H,
|
|
485
485
|
{
|
|
486
|
-
"aria-label":
|
|
486
|
+
"aria-label": o,
|
|
487
487
|
color: "primary",
|
|
488
|
-
onClick:
|
|
489
|
-
children: /* @__PURE__ */ e(
|
|
488
|
+
onClick: s,
|
|
489
|
+
children: /* @__PURE__ */ e(E, { name: i, size: 24 })
|
|
490
490
|
},
|
|
491
491
|
i
|
|
492
|
-
) :
|
|
492
|
+
) : T || l ? /* @__PURE__ */ e(
|
|
493
493
|
W,
|
|
494
494
|
{
|
|
495
|
-
onClick:
|
|
496
|
-
startIcon: /* @__PURE__ */ e(
|
|
495
|
+
onClick: s,
|
|
496
|
+
startIcon: /* @__PURE__ */ e(E, { name: i, size: 24 }),
|
|
497
497
|
sx: { my: 4 },
|
|
498
|
-
children:
|
|
498
|
+
children: o
|
|
499
499
|
},
|
|
500
500
|
i
|
|
501
|
-
) : /* @__PURE__ */ e(H, { "aria-label":
|
|
501
|
+
) : /* @__PURE__ */ e(H, { "aria-label": o, color: "primary", onClick: s, children: /* @__PURE__ */ e(E, { name: i, size: 24 }) }, i);
|
|
502
502
|
})
|
|
503
503
|
] }),
|
|
504
504
|
sx: {
|
|
505
|
-
p:
|
|
505
|
+
p: T ? 48 : 24,
|
|
506
506
|
pb: 0,
|
|
507
507
|
"& .MuiCardHeader-action": {
|
|
508
508
|
mr: 0,
|
|
509
|
-
...t &&
|
|
510
|
-
...(
|
|
509
|
+
...t && T && { flexGrow: 1 },
|
|
510
|
+
...(g || l) && { alignSelf: "center" }
|
|
511
511
|
},
|
|
512
512
|
"& .MuiCardHeader-content": {
|
|
513
513
|
overflow: "hidden"
|
|
514
514
|
}
|
|
515
515
|
},
|
|
516
|
-
title: (
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
w.display_widget_headings ? /* @__PURE__ */ e(se, { children: b }) : null
|
|
530
|
-
] })
|
|
531
|
-
)
|
|
516
|
+
title: T || l ? /* @__PURE__ */ e(ce, { variant: "H1", children: f }) : /* @__PURE__ */ C(Y, { alignItems: "center", flexDirection: "row", sx: { overflow: "hidden" }, children: [
|
|
517
|
+
g && k && /* @__PURE__ */ e(
|
|
518
|
+
H,
|
|
519
|
+
{
|
|
520
|
+
"aria-label": a.back_to_dashboard,
|
|
521
|
+
color: "primary",
|
|
522
|
+
onClick: U,
|
|
523
|
+
sx: { p: 12, mr: 4 },
|
|
524
|
+
children: /* @__PURE__ */ e(re, { size: 24 })
|
|
525
|
+
}
|
|
526
|
+
),
|
|
527
|
+
/* @__PURE__ */ e(se, { children: f })
|
|
528
|
+
] })
|
|
532
529
|
}
|
|
533
530
|
),
|
|
534
|
-
|
|
535
|
-
t && (
|
|
536
|
-
|
|
531
|
+
D && /* @__PURE__ */ e(j, { sx: { mt: T ? 48 : 24 } }),
|
|
532
|
+
t && (g || l) && /* @__PURE__ */ C(Y, { gap: 24, justifyContent: "center", sx: { mt: g ? 0 : 16 }, children: [
|
|
533
|
+
h && /* @__PURE__ */ e(j, {}),
|
|
537
534
|
/* @__PURE__ */ e(
|
|
538
535
|
ee,
|
|
539
536
|
{
|
|
540
537
|
calendarActions: t,
|
|
541
|
-
copy:
|
|
542
|
-
range: [
|
|
538
|
+
copy: b,
|
|
539
|
+
range: [K, w],
|
|
543
540
|
shouldShrinkToIcon: !1,
|
|
544
541
|
variant: c
|
|
545
542
|
}
|
|
546
543
|
)
|
|
547
544
|
] }),
|
|
548
|
-
/* @__PURE__ */ e(ie, { ref:
|
|
545
|
+
/* @__PURE__ */ e(ie, { ref: R, sx: { p: 0 }, children: /* @__PURE__ */ e(Ee, { availableHeight: v, availableWidth: p, children: L }) })
|
|
549
546
|
]
|
|
550
547
|
}
|
|
551
548
|
);
|
|
552
549
|
}
|
|
553
550
|
);
|
|
554
551
|
export {
|
|
555
|
-
|
|
552
|
+
Ge as A,
|
|
556
553
|
ee as D,
|
|
557
|
-
|
|
554
|
+
L_ as W
|
|
558
555
|
};
|
|
@@ -10,30 +10,30 @@ import E from "@mui/material/List";
|
|
|
10
10
|
import B from "@mui/material/ListSubheader";
|
|
11
11
|
import W from "@mui/system/Stack";
|
|
12
12
|
import { useTheme as M1, alpha as y1 } from "@mui/material/styles";
|
|
13
|
-
import { u as R, A as x1 } from "../AccountDetailsHeader-
|
|
14
|
-
import { L as w1 } from "../LineChart-
|
|
15
|
-
import { g as b1, a as S1, b as R1 } from "../SpendingData-
|
|
16
|
-
import { m as T1, u as y, d as k, g as Z, h as m1, b as G, a as E1 } from "../hooks-
|
|
13
|
+
import { u as R, A as x1 } from "../AccountDetailsHeader-3ZD1Of4i.mjs";
|
|
14
|
+
import { L as w1 } from "../LineChart-CfkLqqXU.mjs";
|
|
15
|
+
import { g as b1, a as S1, b as R1 } from "../SpendingData-DtNL2mQL.mjs";
|
|
16
|
+
import { m as T1, u as y, d as k, g as Z, h as m1, b as G, a as E1 } from "../hooks-BUCn6FeJ.mjs";
|
|
17
17
|
import { A as N, g as L, N as p1 } from "../Account-BiB1F8lL.mjs";
|
|
18
18
|
import { I as _1, P as L1, S as f1 } from "../Account-DuOz1a27.mjs";
|
|
19
|
-
import { a as D1, b as k1 } from "../AccountFields-
|
|
20
|
-
import { g as e2 } from "../AccountFields-
|
|
21
|
-
import { A as U } from "../AccountListItem-
|
|
19
|
+
import { a as D1, b as k1 } from "../AccountFields-CiofAlEI.mjs";
|
|
20
|
+
import { g as e2 } from "../AccountFields-CiofAlEI.mjs";
|
|
21
|
+
import { A as U } from "../AccountListItem-CvYjSc-O.mjs";
|
|
22
22
|
import a1 from "@mui/material/Tab";
|
|
23
23
|
import Z1 from "@mui/material/Tabs";
|
|
24
24
|
import I1 from "@mui/material/Switch";
|
|
25
25
|
import D from "@mui/material/ListItem";
|
|
26
26
|
import $ from "@mui/material/ListItemButton";
|
|
27
27
|
import O from "@mui/material/ListItemText";
|
|
28
|
-
import { A as S, W as N1 } from "../WidgetContainer-
|
|
29
|
-
import { a as Q, f as s1, D as l1 } from "../Dialog-
|
|
28
|
+
import { A as S, W as N1 } from "../WidgetContainer-AuyAcUXL.mjs";
|
|
29
|
+
import { a as Q, f as s1, D as l1 } from "../Dialog-CwiqpTGe.mjs";
|
|
30
30
|
import { b as f } from "../Localization-2MODESHW.mjs";
|
|
31
31
|
import { D as t1 } from "../Drawer-DV4NTsFg.mjs";
|
|
32
32
|
import Y from "@mui/material/ListItemAvatar";
|
|
33
33
|
import O1 from "@mui/material/styles/useTheme";
|
|
34
34
|
import { Error as g1, CheckCircle as F1, Language as P1 } from "@mxenabled/mx-icons";
|
|
35
|
-
import { b as z, F as j } from "../GlobalAccountFilter-
|
|
36
|
-
import { M as n2 } from "../GlobalAccountFilter-
|
|
35
|
+
import { b as z, F as j } from "../GlobalAccountFilter-xZ4Z8AE-.mjs";
|
|
36
|
+
import { M as n2 } from "../GlobalAccountFilter-xZ4Z8AE-.mjs";
|
|
37
37
|
import { fromUnixTime as W1 } from "date-fns/fromUnixTime";
|
|
38
38
|
import { isToday as B1 } from "date-fns/isToday";
|
|
39
39
|
import { isYesterday as U1 } from "date-fns/isYesterday";
|
|
@@ -47,22 +47,22 @@ import { LocalizationProvider as j1 } from "@mui/x-date-pickers-pro";
|
|
|
47
47
|
import X1 from "@mui/material/MenuItem";
|
|
48
48
|
import J1 from "@mui/material/Select";
|
|
49
49
|
import q1 from "@mui/material/TextField";
|
|
50
|
-
import { C as Q1 } from "../CurrencyInput-
|
|
50
|
+
import { C as Q1 } from "../CurrencyInput-BBifPjuC.mjs";
|
|
51
51
|
import e3 from "@mui/material/Alert";
|
|
52
52
|
import t3 from "@mui/material/AlertTitle";
|
|
53
53
|
import n3 from "@mui/material/Link";
|
|
54
54
|
import o3 from "@mui/material/Paper";
|
|
55
55
|
import { subDays as i3, startOfToday as c3, endOfToday as a3 } from "date-fns";
|
|
56
|
-
import { T as s3, a as l3 } from "../TransactionDetails-
|
|
56
|
+
import { T as s3, a as l3 } from "../TransactionDetails-CuviEVDJ.mjs";
|
|
57
57
|
import { T as r1 } from "../TabContentContainer-j01JYR_7.mjs";
|
|
58
58
|
import { f as d1 } from "../NumberFormatting-DjTD0t3W.mjs";
|
|
59
|
-
import { C as r3 } from "../ConnectionsDrawer-
|
|
59
|
+
import { C as r3 } from "../ConnectionsDrawer-GcyfM8yJ.mjs";
|
|
60
60
|
import { u as H1 } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
61
|
-
import { u as n1 } from "../useWidgetLoadTimer-
|
|
61
|
+
import { u as n1 } from "../useWidgetLoadTimer-BYMP5Q8g.mjs";
|
|
62
62
|
import { L as o1 } from "../Loader-DUaFpDGv.mjs";
|
|
63
|
-
import { M as A1 } from "../MiniWidgetContainer-
|
|
63
|
+
import { M as A1 } from "../MiniWidgetContainer-BHk-RlKA.mjs";
|
|
64
64
|
import { A as i2 } from "../AccountApi-DgZ8ILj1.mjs";
|
|
65
|
-
import { A as a2 } from "../AccountStore-
|
|
65
|
+
import { A as a2 } from "../AccountStore-DxfUstUk.mjs";
|
|
66
66
|
const d3 = (t, o) => {
|
|
67
67
|
const n = _1.includes(o) ? b1(t) : [], i = L1.includes(o) ? S1(t) : [], c = f1.includes(o) ? R1(t) : [];
|
|
68
68
|
return [n, i, c].filter((l) => l.length > 0);
|
|
@@ -8,8 +8,8 @@ import a from "@mui/material/Stack";
|
|
|
8
8
|
import _ from "@mui/material/styles/useTheme";
|
|
9
9
|
import { Text as u, TextField as L } from "@mxenabled/mxui";
|
|
10
10
|
import { L as W } from "../Loader-DUaFpDGv.mjs";
|
|
11
|
-
import { M as j } from "../MiniWidgetContainer-
|
|
12
|
-
import { k as f, u as b, g as q, b as E } from "../hooks-
|
|
11
|
+
import { M as j } from "../MiniWidgetContainer-BHk-RlKA.mjs";
|
|
12
|
+
import { k as f, u as b, g as q, b as E } from "../hooks-BUCn6FeJ.mjs";
|
|
13
13
|
import Q from "@mui/material/ToggleButton";
|
|
14
14
|
import G from "@mui/material/ToggleButtonGroup";
|
|
15
15
|
const O = () => {
|