@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
|
@@ -4,37 +4,36 @@ import { observer as A } from "mobx-react-lite";
|
|
|
4
4
|
import M from "@mui/material/Box";
|
|
5
5
|
import T from "@mui/material/Divider";
|
|
6
6
|
import K from "@mui/material/List";
|
|
7
|
-
import
|
|
7
|
+
import h from "@mui/material/Stack";
|
|
8
8
|
import { MerchantLogo as H, Text as S, P as F, InstitutionLogo as oe } from "@mxenabled/mxui";
|
|
9
9
|
import ae from "@mui/material/ListItem";
|
|
10
10
|
import ie from "@mui/material/ListItemAvatar";
|
|
11
11
|
import se from "@mui/material/ListItemButton";
|
|
12
12
|
import ce from "@mui/material/ListItemText";
|
|
13
|
-
import { F as d, S as N, D as Y, g as Q, R, e as le } from "./RepeatingTransaction-
|
|
13
|
+
import { F as d, S as N, D as Y, g as Q, R, e as le } from "./RepeatingTransaction-C5AV8wLs.mjs";
|
|
14
14
|
import { subDays as de } from "date-fns/subDays";
|
|
15
15
|
import { startOfToday as z } from "date-fns/startOfToday";
|
|
16
16
|
import { endOfMonth as _e } from "date-fns/endOfMonth";
|
|
17
17
|
import { parseISO as ue } from "date-fns/parseISO";
|
|
18
18
|
import $ from "@mui/material/Button";
|
|
19
|
-
import { Delete as me, Add as pe, ReceiptLong as
|
|
20
|
-
import { T as X, a as
|
|
19
|
+
import { Delete as me, Add as pe, ReceiptLong as he } from "@mxenabled/mx-icons";
|
|
20
|
+
import { T as X, a as ye, u as ge, S as fe, b as Ce } from "./TransactionDetails-CuviEVDJ.mjs";
|
|
21
21
|
import { getDayOfYear as be } from "date-fns/getDayOfYear";
|
|
22
22
|
import { setDayOfYear as xe } from "date-fns/setDayOfYear";
|
|
23
23
|
import { AdapterDateFns as Se } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
24
24
|
import { DatePicker as ve } from "@mui/x-date-pickers";
|
|
25
25
|
import { LocalizationProvider as we } from "@mui/x-date-pickers/LocalizationProvider";
|
|
26
|
-
import { u as w, j as G, g as P, b as Ae, h as Z, o as
|
|
27
|
-
import { b as
|
|
26
|
+
import { u as w, j as G, g as P, b as Ae, h as Z, o as Ie } from "./hooks-BUCn6FeJ.mjs";
|
|
27
|
+
import { b as De, f as J } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
28
28
|
import { D as O } from "./Drawer-DV4NTsFg.mjs";
|
|
29
|
-
import { A as E } from "./WidgetContainer-
|
|
30
|
-
import { f as Re, D as Ee, a as Te } from "./Dialog-
|
|
29
|
+
import { A as E } from "./WidgetContainer-AuyAcUXL.mjs";
|
|
30
|
+
import { f as Re, D as Ee, a as Te } from "./Dialog-CwiqpTGe.mjs";
|
|
31
31
|
import { formatISO as Le } from "date-fns/formatISO";
|
|
32
32
|
import { fromUnixTime as Oe } from "date-fns/fromUnixTime";
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import { h as Me } from "./DateUtil-D7U-nc1Y.mjs";
|
|
33
|
+
import { S as ke } from "./SearchBox-B2_zLv8-.mjs";
|
|
34
|
+
import { h as Ne } from "./DateUtil-gRDTwAoC.mjs";
|
|
36
35
|
import { b as B } from "./Category-CevNQ03n.mjs";
|
|
37
|
-
import { T as V } from "./User-
|
|
36
|
+
import { T as V } from "./User-CCYFbd5i.mjs";
|
|
38
37
|
const ee = ({
|
|
39
38
|
frequency: n,
|
|
40
39
|
firstDay: t,
|
|
@@ -63,15 +62,15 @@ const ee = ({
|
|
|
63
62
|
{ id: 4, label: r.weekday_thursday },
|
|
64
63
|
{ id: 5, label: r.weekday_friday },
|
|
65
64
|
{ id: 6, label: r.weekday_saturday }
|
|
66
|
-
],
|
|
65
|
+
], y = [...Array(31).keys()].map((p) => ({
|
|
67
66
|
id: p + 1,
|
|
68
|
-
label:
|
|
67
|
+
label: De(p + 1)
|
|
69
68
|
}));
|
|
70
|
-
|
|
71
|
-
const C =
|
|
69
|
+
y[30].label += ` (${r.last_day_of_month})`;
|
|
70
|
+
const C = y.slice(0, 15), v = y.slice(14), b = n === d.EveryWeek || n === d.EveryOtherWeek, g = n === d.TwiceAMonth || n === d.EveryMonth || n === d.EveryOtherMonth || n === d.EveryQuarter || n === d.EveryOtherQuarter, I = xe(z(), t), f = (p) => {
|
|
72
71
|
p && s(be(p));
|
|
73
72
|
};
|
|
74
|
-
return /* @__PURE__ */ c(
|
|
73
|
+
return /* @__PURE__ */ c(h, { gap: 24, sx: { m: 24 }, children: [
|
|
75
74
|
/* @__PURE__ */ e(
|
|
76
75
|
N,
|
|
77
76
|
{
|
|
@@ -90,12 +89,12 @@ const ee = ({
|
|
|
90
89
|
value: t
|
|
91
90
|
}
|
|
92
91
|
),
|
|
93
|
-
|
|
92
|
+
g && /* @__PURE__ */ e(
|
|
94
93
|
N,
|
|
95
94
|
{
|
|
96
95
|
label: n === d.TwiceAMonth ? r.first_day_of_the_month : r.day_of_the_month,
|
|
97
96
|
onChange: s,
|
|
98
|
-
options: n === d.TwiceAMonth ? C :
|
|
97
|
+
options: n === d.TwiceAMonth ? C : y,
|
|
99
98
|
value: t
|
|
100
99
|
}
|
|
101
100
|
),
|
|
@@ -113,20 +112,20 @@ const ee = ({
|
|
|
113
112
|
{
|
|
114
113
|
disablePast: !0,
|
|
115
114
|
label: r.next_payment_date,
|
|
116
|
-
onChange:
|
|
117
|
-
value:
|
|
115
|
+
onChange: f,
|
|
116
|
+
value: I
|
|
118
117
|
}
|
|
119
118
|
) })
|
|
120
119
|
] });
|
|
121
|
-
},
|
|
122
|
-
const { recurring: t } = w(), { updateRepeatingTransaction: o } = G(), { onEvent: i } = P(), [s, l] = _.useState(!1), [r, a] = _.useState(n.recurrence_type), [m,
|
|
120
|
+
}, Me = A(({ repeatingTransaction: n }) => {
|
|
121
|
+
const { recurring: t } = w(), { updateRepeatingTransaction: o } = G(), { onEvent: i } = P(), [s, l] = _.useState(!1), [r, a] = _.useState(n.recurrence_type), [m, y] = _.useState(n.recurrence_day), [C, v] = _.useState(n.second_recurrence_day), b = async () => {
|
|
123
122
|
await o({
|
|
124
123
|
...n,
|
|
125
124
|
recurrence_type: r,
|
|
126
125
|
recurrence_day: m,
|
|
127
126
|
second_recurrence_day: C
|
|
128
127
|
}), l(!1);
|
|
129
|
-
},
|
|
128
|
+
}, g = () => {
|
|
130
129
|
l(!0), i(E.RECURRING_TRANSACTIONS_DETAILS_CLICK_PAYMENT_SCHEDULE);
|
|
131
130
|
};
|
|
132
131
|
return /* @__PURE__ */ c(L, { children: [
|
|
@@ -135,7 +134,7 @@ const ee = ({
|
|
|
135
134
|
{
|
|
136
135
|
iconName: "sync",
|
|
137
136
|
label: t.activity_schedule,
|
|
138
|
-
onClick:
|
|
137
|
+
onClick: g,
|
|
139
138
|
value: `${Q(t, n, !0)}`
|
|
140
139
|
}
|
|
141
140
|
),
|
|
@@ -152,7 +151,7 @@ const ee = ({
|
|
|
152
151
|
{
|
|
153
152
|
firstDay: m,
|
|
154
153
|
frequency: r,
|
|
155
|
-
onFirstDayChange:
|
|
154
|
+
onFirstDayChange: y,
|
|
156
155
|
onFrequencyChange: a,
|
|
157
156
|
onSecondDayChange: v,
|
|
158
157
|
secondDay: C
|
|
@@ -161,9 +160,9 @@ const ee = ({
|
|
|
161
160
|
}
|
|
162
161
|
)
|
|
163
162
|
] });
|
|
164
|
-
}),
|
|
163
|
+
}), Fe = A(
|
|
165
164
|
({ onDeleted: n, recurringTransaction: t }) => {
|
|
166
|
-
const { recurring: o } = w(), { selectedAccountGuids: i } = Ae(), { onEvent: s } = P(), { deleteRepeatingTransaction: l } = G(), { setFilter: r, transactions: a } = Z(), { amount: m, description:
|
|
165
|
+
const { recurring: o } = w(), { selectedAccountGuids: i } = Ae(), { onEvent: s } = P(), { deleteRepeatingTransaction: l } = G(), { setFilter: r, transactions: a } = Z(), { amount: m, description: y, merchant_guid: C } = t, [v, b] = _.useState(!1), [g, I] = _.useState("");
|
|
167
166
|
_.useEffect(() => {
|
|
168
167
|
r({
|
|
169
168
|
accounts: i,
|
|
@@ -171,26 +170,26 @@ const ee = ({
|
|
|
171
170
|
custom: (u) => u.repeating_transaction_guid === t.guid
|
|
172
171
|
});
|
|
173
172
|
}, [t]);
|
|
174
|
-
const
|
|
175
|
-
() => a.find((u) => u.guid ===
|
|
176
|
-
[
|
|
173
|
+
const f = _.useMemo(
|
|
174
|
+
() => a.find((u) => u.guid === g),
|
|
175
|
+
[g, a]
|
|
177
176
|
), p = t.repeating_transaction_type === R.Income, k = async () => {
|
|
178
177
|
await l(t.guid), n();
|
|
179
178
|
}, U = () => {
|
|
180
179
|
b(!0), s(E.RECURRING_TRANSACTIONS_DETAILS_CLICK_DELETE);
|
|
181
180
|
};
|
|
182
|
-
return /* @__PURE__ */ c(
|
|
183
|
-
/* @__PURE__ */ c(
|
|
181
|
+
return /* @__PURE__ */ c(h, { bgcolor: "background.default", direction: "column", height: "100%", children: [
|
|
182
|
+
/* @__PURE__ */ c(h, { direction: "column", m: 24, children: [
|
|
184
183
|
/* @__PURE__ */ e(
|
|
185
184
|
H,
|
|
186
185
|
{
|
|
187
|
-
categoryGuid:
|
|
186
|
+
categoryGuid: f?.category_guid || "",
|
|
188
187
|
merchantGuid: C,
|
|
189
188
|
size: 64,
|
|
190
189
|
sx: { mb: 12 }
|
|
191
190
|
}
|
|
192
191
|
),
|
|
193
|
-
/* @__PURE__ */ e(S, { bold: !0, variant: "body1", children:
|
|
192
|
+
/* @__PURE__ */ e(S, { bold: !0, variant: "body1", children: y }),
|
|
194
193
|
/* @__PURE__ */ c(F, { color: p ? "success.main" : "text.primary", sx: { my: 4 }, variant: "H1", children: [
|
|
195
194
|
p ? "+" : "",
|
|
196
195
|
J(m, "0,0.00")
|
|
@@ -212,18 +211,18 @@ const ee = ({
|
|
|
212
211
|
),
|
|
213
212
|
/* @__PURE__ */ e(T, { variant: "inset" })
|
|
214
213
|
] }),
|
|
215
|
-
|
|
214
|
+
f?.category && /* @__PURE__ */ c(L, { children: [
|
|
216
215
|
/* @__PURE__ */ e(
|
|
217
216
|
Y,
|
|
218
217
|
{
|
|
219
218
|
iconName: "monetization_on",
|
|
220
219
|
label: o.category,
|
|
221
|
-
value:
|
|
220
|
+
value: f.category
|
|
222
221
|
}
|
|
223
222
|
),
|
|
224
223
|
/* @__PURE__ */ e(T, { variant: "inset" })
|
|
225
224
|
] }),
|
|
226
|
-
/* @__PURE__ */ e(
|
|
225
|
+
/* @__PURE__ */ e(Me, { repeatingTransaction: t }),
|
|
227
226
|
/* @__PURE__ */ e(T, {})
|
|
228
227
|
] }),
|
|
229
228
|
/* @__PURE__ */ e(
|
|
@@ -238,15 +237,15 @@ const ee = ({
|
|
|
238
237
|
}
|
|
239
238
|
),
|
|
240
239
|
/* @__PURE__ */ e(S, { bold: !0, sx: { ml: 24, mt: 16 }, variant: "Body", children: o.paid_transactions }),
|
|
241
|
-
/* @__PURE__ */ e(X, { height: "30dvh", onClick:
|
|
240
|
+
/* @__PURE__ */ e(X, { height: "30dvh", onClick: I }),
|
|
242
241
|
/* @__PURE__ */ e(
|
|
243
242
|
O,
|
|
244
243
|
{
|
|
245
244
|
ariaLabelClose: o.close_drawer_aria,
|
|
246
|
-
isOpen: !!
|
|
247
|
-
onClose: () =>
|
|
245
|
+
isOpen: !!g && !!f,
|
|
246
|
+
onClose: () => I(""),
|
|
248
247
|
title: o.transaction_details_drawer_title,
|
|
249
|
-
children:
|
|
248
|
+
children: f && /* @__PURE__ */ e(ye, { transaction: f })
|
|
250
249
|
}
|
|
251
250
|
),
|
|
252
251
|
/* @__PURE__ */ e(
|
|
@@ -264,7 +263,7 @@ const ee = ({
|
|
|
264
263
|
)
|
|
265
264
|
] });
|
|
266
265
|
}
|
|
267
|
-
),
|
|
266
|
+
), Ge = A(
|
|
268
267
|
({ onClick: n = () => {
|
|
269
268
|
}, repeatingTransaction: t }) => {
|
|
270
269
|
const { recurring: o } = w(), [i, s] = _.useState(!1), l = _.useMemo(
|
|
@@ -282,10 +281,10 @@ const ee = ({
|
|
|
282
281
|
merchantGuid: t.merchant_guid
|
|
283
282
|
}
|
|
284
283
|
) }),
|
|
285
|
-
/* @__PURE__ */ e(ce, { children: /* @__PURE__ */ c(
|
|
286
|
-
/* @__PURE__ */ c(
|
|
284
|
+
/* @__PURE__ */ e(ce, { children: /* @__PURE__ */ c(h, { direction: "row", gap: 4, sx: { justifyContent: "space-between" }, children: [
|
|
285
|
+
/* @__PURE__ */ c(h, { direction: "column", sx: { width: "50%" }, children: [
|
|
287
286
|
/* @__PURE__ */ e(S, { bold: !0, variant: "body1", children: t.description }),
|
|
288
|
-
/* @__PURE__ */ c(
|
|
287
|
+
/* @__PURE__ */ c(h, { alignItems: "center", direction: "row", gap: 6, children: [
|
|
289
288
|
t.account?.institution_guid && /* @__PURE__ */ e(
|
|
290
289
|
oe,
|
|
291
290
|
{
|
|
@@ -297,7 +296,7 @@ const ee = ({
|
|
|
297
296
|
/* @__PURE__ */ e(S, { variant: "caption", children: r })
|
|
298
297
|
] })
|
|
299
298
|
] }),
|
|
300
|
-
/* @__PURE__ */ c(
|
|
299
|
+
/* @__PURE__ */ c(h, { alignItems: "flex-end", sx: { width: "50%" }, children: [
|
|
301
300
|
/* @__PURE__ */ c(
|
|
302
301
|
S,
|
|
303
302
|
{
|
|
@@ -311,7 +310,7 @@ const ee = ({
|
|
|
311
310
|
}
|
|
312
311
|
),
|
|
313
312
|
/* @__PURE__ */ e(
|
|
314
|
-
|
|
313
|
+
h,
|
|
315
314
|
{
|
|
316
315
|
direction: "row",
|
|
317
316
|
sx: {
|
|
@@ -335,7 +334,7 @@ const ee = ({
|
|
|
335
334
|
onClose: () => s(!1),
|
|
336
335
|
title: t.repeating_transaction_type === R.Income ? o.income_details : o.expense_details,
|
|
337
336
|
children: /* @__PURE__ */ e(
|
|
338
|
-
|
|
337
|
+
Fe,
|
|
339
338
|
{
|
|
340
339
|
onDeleted: () => s(!1),
|
|
341
340
|
recurringTransaction: t
|
|
@@ -345,7 +344,7 @@ const ee = ({
|
|
|
345
344
|
)
|
|
346
345
|
] });
|
|
347
346
|
}
|
|
348
|
-
),
|
|
347
|
+
), Pe = A(
|
|
349
348
|
({
|
|
350
349
|
bgcolor: n = "background.default",
|
|
351
350
|
description: t,
|
|
@@ -353,10 +352,10 @@ const ee = ({
|
|
|
353
352
|
onSelected: i
|
|
354
353
|
}) => {
|
|
355
354
|
const { recurring: s } = w(), { searchValue: l, setSearchValue: r } = ge();
|
|
356
|
-
return /* @__PURE__ */ c(
|
|
355
|
+
return /* @__PURE__ */ c(h, { sx: { bgcolor: n, gap: 16, pt: 8 }, children: [
|
|
357
356
|
t && /* @__PURE__ */ e(F, { sx: { mx: 24 }, children: t }),
|
|
358
357
|
/* @__PURE__ */ e(
|
|
359
|
-
|
|
358
|
+
ke,
|
|
360
359
|
{
|
|
361
360
|
ariaLabel: s.select_transaction_search_aria,
|
|
362
361
|
cancelAriaLabel: s.select_transaction_search_cancel_aria,
|
|
@@ -379,7 +378,7 @@ const ee = ({
|
|
|
379
378
|
)
|
|
380
379
|
] });
|
|
381
380
|
}
|
|
382
|
-
),
|
|
381
|
+
), Ue = A(
|
|
383
382
|
({
|
|
384
383
|
bgcolor: n = "background.default",
|
|
385
384
|
firstDay: t,
|
|
@@ -391,9 +390,9 @@ const ee = ({
|
|
|
391
390
|
transaction: a
|
|
392
391
|
}) => {
|
|
393
392
|
const { recurring: m } = w();
|
|
394
|
-
return /* @__PURE__ */ c(
|
|
395
|
-
/* @__PURE__ */ c(
|
|
396
|
-
/* @__PURE__ */ e(fe, { bgcolor: n, children:
|
|
393
|
+
return /* @__PURE__ */ c(h, { bgcolor: n, gap: 24, height: "100%", children: [
|
|
394
|
+
/* @__PURE__ */ c(h, { children: [
|
|
395
|
+
/* @__PURE__ */ e(fe, { bgcolor: n, children: Ne(a.date) }),
|
|
397
396
|
/* @__PURE__ */ e(Ce, { transaction: a })
|
|
398
397
|
] }),
|
|
399
398
|
/* @__PURE__ */ c(M, { children: [
|
|
@@ -412,13 +411,13 @@ const ee = ({
|
|
|
412
411
|
] })
|
|
413
412
|
] });
|
|
414
413
|
}
|
|
415
|
-
), q = (n) => n.top_level_category_guid !== B.INCOME && n.transaction_type === V.DEBIT,
|
|
414
|
+
), q = (n) => n.top_level_category_guid !== B.INCOME && n.transaction_type === V.DEBIT, Ye = (n, t) => q(n) ? n.payee?.toLowerCase().includes(t.toLowerCase()) || n.description.toLowerCase().includes(t.toLowerCase()) || n.feed_description.toLowerCase().includes(t.toLowerCase()) : !1, W = (n) => n.top_level_category_guid === B.INCOME || n.top_level_category_guid === B.TRANSFER && n.transaction_type === V.CREDIT, ze = (n, t) => W(n) ? n.payee?.toLowerCase().includes(t.toLowerCase()) || n.description?.toLowerCase().includes(t.toLowerCase()) || n.feed_description?.toLowerCase().includes(t.toLowerCase()) : !1, te = A(
|
|
416
415
|
({
|
|
417
416
|
isIncome: n = !1,
|
|
418
417
|
label: t,
|
|
419
418
|
onAddRecurringTransaction: o = () => null
|
|
420
419
|
}) => {
|
|
421
|
-
const { recurring: i } = w(), { filter: s, setFilter: l, transactions: r } = Z(), { addRepeatingTransaction: a } = G(), { user: m } =
|
|
420
|
+
const { recurring: i } = w(), { filter: s, setFilter: l, transactions: r } = Z(), { addRepeatingTransaction: a } = G(), { user: m } = Ie(), [y, C] = _.useState(!1), [v, b] = _.useState(""), [g, I] = _.useState(d.EveryMonth), [f, p] = _.useState(1), [k, U] = _.useState(15), u = _.useMemo(
|
|
422
421
|
() => r.find((x) => x.guid === v),
|
|
423
422
|
[v, r]
|
|
424
423
|
), ne = () => {
|
|
@@ -429,10 +428,7 @@ const ee = ({
|
|
|
429
428
|
return;
|
|
430
429
|
}
|
|
431
430
|
o();
|
|
432
|
-
const x = le(
|
|
433
|
-
f,
|
|
434
|
-
ke(Oe(u.date), h)
|
|
435
|
-
), I = {
|
|
431
|
+
const x = le(g, Oe(u.date)), D = {
|
|
436
432
|
account_guid: u.account_guid,
|
|
437
433
|
amount: u.amount,
|
|
438
434
|
created_by: 0,
|
|
@@ -440,14 +436,14 @@ const ee = ({
|
|
|
440
436
|
merchant_guid: u.merchant_guid,
|
|
441
437
|
description: u.payee || u.description || u.feed_description,
|
|
442
438
|
predicted_occurs_on: Le(x, { representation: "date" }),
|
|
443
|
-
recurrence_day:
|
|
444
|
-
recurrence_type:
|
|
439
|
+
recurrence_day: f,
|
|
440
|
+
recurrence_type: g,
|
|
445
441
|
repeating_transaction_type: n ? R.Income : R.Bill,
|
|
446
442
|
second_recurrence_day: k,
|
|
447
443
|
transaction_type: u.transaction_type,
|
|
448
444
|
user_guid: m.guid
|
|
449
445
|
};
|
|
450
|
-
await a(
|
|
446
|
+
await a(D, u), j();
|
|
451
447
|
}, j = () => {
|
|
452
448
|
b(""), C(!1);
|
|
453
449
|
};
|
|
@@ -457,17 +453,17 @@ const ee = ({
|
|
|
457
453
|
O,
|
|
458
454
|
{
|
|
459
455
|
ariaLabelClose: i.close_drawer_aria,
|
|
460
|
-
isOpen:
|
|
456
|
+
isOpen: y,
|
|
461
457
|
onClose: () => C(!1),
|
|
462
458
|
title: t,
|
|
463
459
|
children: /* @__PURE__ */ e(
|
|
464
|
-
|
|
460
|
+
Pe,
|
|
465
461
|
{
|
|
466
462
|
description: n ? i.add_income_description : i.add_expense_description,
|
|
467
463
|
onSearch: (x) => {
|
|
468
464
|
l({
|
|
469
465
|
...s,
|
|
470
|
-
custom: (
|
|
466
|
+
custom: (D) => n ? x ? ze(D, x) : W(D) : x ? Ye(D, x) : q(D)
|
|
471
467
|
});
|
|
472
468
|
},
|
|
473
469
|
onSelected: (x) => b(x)
|
|
@@ -484,12 +480,12 @@ const ee = ({
|
|
|
484
480
|
onPrimaryAction: re,
|
|
485
481
|
title: n ? i.income_details : i.expense_details,
|
|
486
482
|
children: u && /* @__PURE__ */ e(
|
|
487
|
-
|
|
483
|
+
Ue,
|
|
488
484
|
{
|
|
489
|
-
firstDay:
|
|
490
|
-
frequency:
|
|
485
|
+
firstDay: f,
|
|
486
|
+
frequency: g,
|
|
491
487
|
onFirstDayChange: p,
|
|
492
|
-
onFrequencyChange:
|
|
488
|
+
onFrequencyChange: I,
|
|
493
489
|
onSecondDayChange: U,
|
|
494
490
|
secondDay: k,
|
|
495
491
|
transaction: u
|
|
@@ -499,11 +495,11 @@ const ee = ({
|
|
|
499
495
|
)
|
|
500
496
|
] });
|
|
501
497
|
}
|
|
502
|
-
),
|
|
498
|
+
), Be = A(
|
|
503
499
|
({ zeroStateFor: n }) => {
|
|
504
500
|
const { recurring: t } = w(), { onEvent: o } = P(), i = n === "income", s = i ? t.recurring_setting_zero_state_income_title : t.recurring_setting_zero_state_expenses_title, l = i ? t.recurring_setting_zero_state_income_description : t.recurring_setting_zero_state_expenses_description, r = i ? t.add_income : t.add_expense;
|
|
505
|
-
return /* @__PURE__ */ c(
|
|
506
|
-
/* @__PURE__ */ e(
|
|
501
|
+
return /* @__PURE__ */ c(h, { sx: { alignItems: "center", p: 24, pt: 48 }, children: [
|
|
502
|
+
/* @__PURE__ */ e(he, { size: 48 }),
|
|
507
503
|
/* @__PURE__ */ e(F, { sx: { my: 8, fontWeight: 600 }, variant: "body1", children: s }),
|
|
508
504
|
/* @__PURE__ */ e(F, { color: "text.secondary", sx: { mb: 32 }, variant: "subtitle2", children: l }),
|
|
509
505
|
/* @__PURE__ */ e(
|
|
@@ -520,7 +516,7 @@ const ee = ({
|
|
|
520
516
|
)
|
|
521
517
|
] });
|
|
522
518
|
}
|
|
523
|
-
),
|
|
519
|
+
), At = A(({ forOverview: n = !1 }) => {
|
|
524
520
|
const { recurring: t } = w(), { detailedRepeatingTransactions: o } = G(), { onEvent: i } = P(), s = (a) => {
|
|
525
521
|
i(E.RECURRING_TRANSACTIONS_CLICK_INCOME, {
|
|
526
522
|
repeating_transaction_guid: a.guid
|
|
@@ -531,7 +527,7 @@ const ee = ({
|
|
|
531
527
|
(a) => a.repeating_transaction_type === R.Income && (a.transactions.length > 0 || a.recurrence_type === d.EveryYear)
|
|
532
528
|
);
|
|
533
529
|
return /* @__PURE__ */ e(L, { children: r.length !== 0 ? /* @__PURE__ */ c(
|
|
534
|
-
|
|
530
|
+
h,
|
|
535
531
|
{
|
|
536
532
|
sx: {
|
|
537
533
|
height: n ? "calc(100vh - 62px)" : "calc(100vh - 109px)",
|
|
@@ -540,7 +536,7 @@ const ee = ({
|
|
|
540
536
|
children: [
|
|
541
537
|
n && /* @__PURE__ */ e(S, { bold: !0, sx: { mb: 4, mt: 12, mx: 24 }, variant: "Small", children: t.income }),
|
|
542
538
|
/* @__PURE__ */ e(M, { sx: { flex: 1, overflow: "auto" }, children: /* @__PURE__ */ e(K, { sx: { bgcolor: "background.paper" }, children: r.map((a, m) => /* @__PURE__ */ c(_.Fragment, { children: [
|
|
543
|
-
/* @__PURE__ */ e(
|
|
539
|
+
/* @__PURE__ */ e(Ge, { onClick: s, repeatingTransaction: a }),
|
|
544
540
|
/* @__PURE__ */ e(
|
|
545
541
|
T,
|
|
546
542
|
{
|
|
@@ -574,16 +570,16 @@ const ee = ({
|
|
|
574
570
|
] })
|
|
575
571
|
]
|
|
576
572
|
}
|
|
577
|
-
) : /* @__PURE__ */ e(
|
|
573
|
+
) : /* @__PURE__ */ e(Be, { zeroStateFor: "income" }) });
|
|
578
574
|
});
|
|
579
575
|
export {
|
|
580
576
|
te as A,
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
577
|
+
At as M,
|
|
578
|
+
Ge as R,
|
|
579
|
+
Pe as S,
|
|
580
|
+
Be as a,
|
|
581
|
+
Fe as b,
|
|
582
|
+
Ue as c,
|
|
587
583
|
W as d,
|
|
588
|
-
|
|
584
|
+
ze as i
|
|
589
585
|
};
|
|
@@ -5,8 +5,8 @@ import g from "@mui/material/CardContent";
|
|
|
5
5
|
import b from "@mui/material/CardHeader";
|
|
6
6
|
import { P as u, H3 as v } from "@mxenabled/mxui";
|
|
7
7
|
import { ChevronRight as W } from "@mxenabled/mx-icons";
|
|
8
|
-
import { u as M } from "./useDimensions-
|
|
9
|
-
import { W as w } from "./hooks-
|
|
8
|
+
import { u as M } from "./useDimensions-CeDR9V8N.mjs";
|
|
9
|
+
import { W as w } from "./hooks-BUCn6FeJ.mjs";
|
|
10
10
|
const H = ({
|
|
11
11
|
children: e,
|
|
12
12
|
className: o,
|
|
@@ -7,8 +7,8 @@ import b from "@mui/material/CardContent";
|
|
|
7
7
|
import W from "@mui/material/IconButton";
|
|
8
8
|
import { Icon as z, ChevronRight as H } from "@mxenabled/mx-icons";
|
|
9
9
|
import { H3 as I, Text as B, P as M } from "@mxenabled/mxui";
|
|
10
|
-
import { u as S } from "./useDimensions-
|
|
11
|
-
import { W as j } from "./hooks-
|
|
10
|
+
import { u as S } from "./useDimensions-CeDR9V8N.mjs";
|
|
11
|
+
import { W as j } from "./hooks-BUCn6FeJ.mjs";
|
|
12
12
|
const w = ({
|
|
13
13
|
children: a,
|
|
14
14
|
className: m = "mx-cmn-mini-widget",
|