@mx-cartographer/experiences 7.9.8 → 7.10.0-alpha.mega2
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-btBtMI9s.mjs → AccountStore-BV6LpLJl.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-qiNsUwJa.mjs → GoalStore-DNp0ttXZ.mjs} +2 -2
- 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-C5QcA-0a.mjs → ManageIncome-BbE5qJMM.mjs} +7 -7
- 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-CoH1Fhw7.mjs → RecurringSettings-yxXDPnGz.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-UQcXldhR.mjs → TransactionDetails-Di4Cq-bG.mjs} +8 -8
- package/dist/{TransactionStore-COGlidS-.mjs → TransactionStore-DXTFzPmW.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-BbbYyHJ_.mjs → WidgetContainer-BNltq9UG.mjs} +5 -5
- 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 -33
- 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/index.es.js +11 -11
- package/dist/help/index.es.js +4 -4
- package/dist/{hooks-ZMp65DFz.mjs → hooks-BUCn6FeJ.mjs} +8 -8
- package/dist/insights/components/components/index.d.ts +39 -0
- package/dist/insights/components/components/insights/AccountDiscoverability/AccountDiscoverability.d.ts +3 -0
- package/dist/insights/components/components/insights/AccountDiscoverability/index.d.ts +1 -0
- package/dist/insights/components/components/insights/AccountDiscoverability/types/AccountDiscoverability.d.ts +3 -0
- package/dist/insights/components/components/insights/AmericanUpcomingTaxDeadlineAlert/AmericanUpcomingTaxDeadlineAlert.d.ts +2 -0
- package/dist/insights/components/components/insights/AmericanUpcomingTaxDeadlineAlert/index.d.ts +1 -0
- package/dist/insights/components/components/insights/AmericanUpcomingTaxDeadlineAlert/types/AmericanUpcomingTaxDeadlineProps.d.ts +4 -0
- package/dist/insights/components/components/insights/BillAmountNotStandard/BillAmountNotStandard.d.ts +3 -0
- package/dist/insights/components/components/insights/BillAmountNotStandard/BillAmountNotStandardMUI.d.ts +3 -0
- package/dist/insights/components/components/insights/BillAmountNotStandard/index.d.ts +2 -0
- package/dist/insights/components/components/insights/BillAmountNotStandard/types/BillAmountNotStandard.d.ts +4 -0
- package/dist/insights/components/components/insights/CategoryBudget/CategoryBudget.d.ts +3 -0
- package/dist/insights/components/components/insights/CategoryBudget/index.d.ts +1 -0
- package/dist/insights/components/components/insights/CategoryBudget/types/CategoryBudget.d.ts +8 -0
- package/dist/insights/components/components/insights/CategorySpendingV2/CategorySpendingV2.d.ts +2 -0
- package/dist/insights/components/components/insights/CategorySpendingV2/CategorySpendingV2MUI.d.ts +2 -0
- package/dist/insights/components/components/insights/CategorySpendingV2/index.d.ts +2 -0
- package/dist/insights/components/components/insights/CategorySpendingV2/types/CategorySpendingV2.d.ts +6 -0
- package/dist/insights/components/components/insights/CelebrateCreditCardPayoff/CelebrateCreditCardPayoff.d.ts +3 -0
- package/dist/insights/components/components/insights/CelebrateCreditCardPayoff/index.d.ts +1 -0
- package/dist/insights/components/components/insights/CelebrateCreditCardPayoff/types/CelebrateCreditCardPayoffProps.d.ts +9 -0
- package/dist/insights/components/components/insights/CustomTransaction/CustomTransaction.d.ts +3 -0
- package/dist/insights/components/components/insights/CustomTransaction/index.d.ts +1 -0
- package/dist/insights/components/components/insights/DiscoveredAccounts/DiscoveredAccountsBody.d.ts +9 -0
- package/dist/insights/components/components/insights/DiscoveredAccounts/DiscoveredAccountsLearnMoreDrawerContent.d.ts +21 -0
- package/dist/insights/components/components/insights/DiscoveredAccounts/DiscoveredAccountsMiniInsight.d.ts +6 -0
- package/dist/insights/components/components/insights/DiscoveredAccounts/index.d.ts +3 -0
- package/dist/insights/components/components/insights/FederalBankHoliday/FederalBankHoliday.d.ts +3 -0
- package/dist/insights/components/components/insights/FederalBankHoliday/FederalBankHolidayMUI.d.ts +3 -0
- package/dist/insights/components/components/insights/FederalBankHoliday/index.d.ts +2 -0
- package/dist/insights/components/components/insights/FederalBankHoliday/types/FederalBankHoliday.d.ts +4 -0
- package/dist/insights/components/components/insights/MarketingHub/Offer.d.ts +3 -0
- package/dist/insights/components/components/insights/MarketingHub/Types.d.ts +33 -0
- package/dist/insights/components/components/insights/MarketingHub/index.d.ts +2 -0
- package/dist/insights/components/components/insights/MonthlyDebtToIncomeComparisonV2/MonthlyDebtToIncomeComparisonV2.d.ts +2 -0
- package/dist/insights/components/components/insights/MonthlyDebtToIncomeComparisonV2/index.d.ts +1 -0
- package/dist/insights/components/components/insights/MonthlyDebtToIncomeComparisonV2/types/index.d.ts +4 -0
- package/dist/insights/components/components/insights/MonthlyEmergencyFundReview/LastMonthsContributionSection.d.ts +6 -0
- package/dist/insights/components/components/insights/MonthlyEmergencyFundReview/MonthlyEmergencyFundReviewBody.d.ts +21 -0
- package/dist/insights/components/components/insights/MonthlyEmergencyFundReview/ProjectedCompletionSection.d.ts +6 -0
- package/dist/insights/components/components/insights/MonthlyEmergencyFundReview/TotalSection.d.ts +7 -0
- package/dist/insights/components/components/insights/MonthlyEmergencyFundReview/index.d.ts +4 -0
- package/dist/insights/components/components/insights/MonthlySavingsToIncomeComparison/MonthlySavingsToIncomeComparison.d.ts +2 -0
- package/dist/insights/components/components/insights/MonthlySavingsToIncomeComparison/index.d.ts +1 -0
- package/dist/insights/components/components/insights/MonthlySavingsToIncomeComparison/types/index.d.ts +4 -0
- package/dist/insights/components/components/insights/MonthlySpendToIncomeComparisonV2/MonthlySpendToIncomeComparisonV2.d.ts +2 -0
- package/dist/insights/components/components/insights/MonthlySpendToIncomeComparisonV2/index.d.ts +1 -0
- package/dist/insights/components/components/insights/MonthlySpendToIncomeComparisonV2/types/index.d.ts +4 -0
- package/dist/insights/components/components/insights/MonthlySpendingComparisonV2/MonthlySpendingComparisonV2.d.ts +3 -0
- package/dist/insights/components/components/insights/MonthlySpendingComparisonV2/__test__/MonthlySpendComparisonV2.test.d.ts +1 -0
- package/dist/insights/components/components/insights/MonthlySpendingComparisonV2/index.d.ts +1 -0
- package/dist/insights/components/components/insights/MonthlySpendingComparisonV2/types/MonthlySpendComparisonV2.d.ts +4 -0
- package/dist/insights/components/components/insights/P2pCategorization/P2pCategorization.d.ts +3 -0
- package/dist/insights/components/components/insights/P2pCategorization/_tests_/P2pCategorizationMultipleTransaction.test.d.ts +0 -0
- package/dist/insights/components/components/insights/P2pCategorization/_tests_/P2pCategorizationSingleTransaction.test.d.ts +0 -0
- package/dist/insights/components/components/insights/P2pCategorization/index.d.ts +4 -0
- package/dist/insights/components/components/insights/P2pCategorization/shared/P2pCategorizationMultipleTransactions.d.ts +3 -0
- package/dist/insights/components/components/insights/P2pCategorization/shared/P2pCategorizationSingleTransaction.d.ts +3 -0
- package/dist/insights/components/components/insights/P2pCategorization/types/P2pCategorization.d.ts +17 -0
- package/dist/insights/components/components/insights/SavingsAccountBalancesSummary/SavingsAccountBalancesSummary.d.ts +2 -0
- package/dist/insights/components/components/insights/SavingsAccountBalancesSummary/index.d.ts +1 -0
- package/dist/insights/components/components/insights/SavingsAccountBalancesSummary/types/SavingsAccountBalancesSummary.d.ts +4 -0
- package/dist/insights/components/components/insights/SetUpDirectDeposit/SetUpDirectDepositBody.d.ts +3 -0
- package/dist/insights/components/components/insights/SetUpDirectDeposit/index.d.ts +1 -0
- package/dist/insights/components/components/insights/SharedDeposit/SharedDeposit.d.ts +2 -0
- package/dist/insights/components/components/insights/SharedDeposit/index.d.ts +1 -0
- package/dist/insights/components/components/insights/SharedDeposit/types/index.d.ts +7 -0
- package/dist/insights/components/components/insights/SwitchDirectDeposit/AccountBox.d.ts +7 -0
- package/dist/insights/components/components/insights/SwitchDirectDeposit/SwitchDirectDepositBody.d.ts +10 -0
- package/dist/insights/components/components/insights/SwitchDirectDeposit/SwitchDirectDepositMainContainer.d.ts +9 -0
- package/dist/insights/components/components/insights/SwitchDirectDeposit/index.d.ts +3 -0
- package/dist/insights/components/components/insights/UnifiedDeposit/UnifiedDeposit.d.ts +7 -0
- package/dist/insights/components/components/insights/UnifiedDeposit/UnifiedDepositBody.d.ts +11 -0
- package/dist/insights/components/components/insights/UnifiedDeposit/index.d.ts +1 -0
- package/dist/insights/components/components/insights/UserFeedback/StyledToggleButton.d.ts +7 -0
- package/dist/insights/components/components/insights/UserFeedback/Types.d.ts +27 -0
- package/dist/insights/components/components/insights/UserFeedback/UserFeedback.d.ts +3 -0
- package/dist/insights/components/components/insights/UserFeedback/index.d.ts +1 -0
- package/dist/insights/components/components/insights/WeeklyNoSpendDays/BubbleWeek.d.ts +9 -0
- package/dist/insights/components/components/insights/WeeklyNoSpendDays/NoSpendIcons.d.ts +1 -0
- package/dist/insights/components/components/insights/WeeklyNoSpendDays/WeeklyNoSpendDays.d.ts +12 -0
- package/dist/insights/components/components/insights/WeeklyNoSpendDays/_tests_/WeeklyNoSpendDays.test.d.ts +0 -0
- package/dist/insights/components/components/insights/WeeklyNoSpendDays/index.d.ts +1 -0
- package/dist/insights/components/components/insights/index.d.ts +24 -0
- package/dist/insights/components/components/shared/BottomSheet.d.ts +13 -0
- package/dist/insights/components/components/shared/CarouselControls.d.ts +14 -0
- package/dist/insights/components/components/shared/ChartDrawerTemplate/ChartDrawerTemplate.d.ts +29 -0
- package/dist/insights/components/components/shared/ChartDrawerTemplate/TipSection.d.ts +7 -0
- package/dist/insights/components/components/shared/Charts/BarChart/BarChart.d.ts +2 -0
- package/dist/insights/components/components/shared/Charts/BarChart/BarChartV2.d.ts +2 -0
- package/dist/insights/components/components/shared/Charts/BarChart/ChartLegend.d.ts +9 -0
- package/dist/insights/components/components/shared/Charts/BarChart/ChartLegendV2.d.ts +10 -0
- package/dist/insights/components/components/shared/Charts/BarChart/CustomBarPlot.d.ts +18 -0
- package/dist/insights/components/components/shared/Charts/BarChart/CustomBarPlotV2.d.ts +18 -0
- package/dist/insights/components/components/shared/Charts/BarChart/CustomDoubleBarPlot.d.ts +18 -0
- package/dist/insights/components/components/shared/Charts/BarChart/DoubleBarChart.d.ts +2 -0
- package/dist/insights/components/components/shared/Charts/BarChart/DoubleBarChartLegend.d.ts +10 -0
- package/dist/insights/components/components/shared/Charts/BarChart/index.d.ts +3 -0
- package/dist/insights/components/components/shared/Charts/EmptyBarChart.d.ts +1 -0
- package/dist/insights/components/components/shared/Charts/index.d.ts +2 -0
- package/dist/insights/components/components/shared/Confetti.d.ts +5 -0
- package/dist/insights/components/components/shared/DeepLinks/DeepLinkDialog.d.ts +11 -0
- package/dist/insights/components/components/shared/DeepLinks/DirectDeposit/Circle.d.ts +6 -0
- package/dist/insights/components/components/shared/DeepLinks/DirectDeposit/DirectDepositDeepLink.d.ts +24 -0
- package/dist/insights/components/components/shared/DeepLinks/DirectDeposit/Dot.d.ts +1 -0
- package/dist/insights/components/components/shared/DeepLinks/DirectDeposit/Oval.d.ts +1 -0
- package/dist/insights/components/components/shared/DirectDeposit/DirectDeposit.d.ts +3 -0
- package/dist/insights/components/components/shared/DirectDeposit/DirectDepositSubHeader.d.ts +14 -0
- package/dist/insights/components/components/shared/DirectDeposit/FullFeedBodyHeader.d.ts +10 -0
- package/dist/insights/components/components/shared/DirectDeposit/LeftBox.d.ts +7 -0
- package/dist/insights/components/components/shared/DirectDeposit/MiniBodyHeader.d.ts +10 -0
- package/dist/insights/components/components/shared/DirectDeposit/RightBox.d.ts +8 -0
- package/dist/insights/components/components/shared/ErrorCard/ErrorCard.d.ts +7 -0
- package/dist/insights/components/components/shared/FormDialog.d.ts +16 -0
- package/dist/insights/components/components/shared/GenericFeedback/FeedbackButtons.d.ts +15 -0
- package/dist/insights/components/components/shared/GenericFeedback/FeedbackDescription.d.ts +5 -0
- package/dist/insights/components/components/shared/GenericFeedback/FeedbackHeader.d.ts +15 -0
- package/dist/insights/components/components/shared/GenericFeedback/FeedbackOptions.d.ts +12 -0
- package/dist/insights/components/components/shared/GenericFeedback/FeedbackText.d.ts +13 -0
- package/dist/insights/components/components/shared/GoalProgress.d.ts +10 -0
- package/dist/insights/components/components/shared/GradientBox.d.ts +8 -0
- package/dist/insights/components/components/shared/InsightsCard/BeatCard.d.ts +20 -0
- package/dist/insights/components/components/shared/InsightsCard/CardButtonSection.d.ts +7 -0
- package/dist/insights/components/components/shared/InsightsCard/CardError.d.ts +5 -0
- package/dist/insights/components/components/shared/InsightsCard/CardFooter.d.ts +7 -0
- package/dist/insights/components/components/shared/InsightsCard/CardHeader.d.ts +11 -0
- package/dist/insights/components/components/shared/InsightsCard/CardLoading.d.ts +5 -0
- package/dist/insights/components/components/shared/InsightsCard/ContentAndDescription.d.ts +17 -0
- package/dist/insights/components/components/shared/InsightsCard/Description.d.ts +12 -0
- package/dist/insights/components/components/shared/InsightsCard/EmbeddedCard.d.ts +10 -0
- package/dist/insights/components/components/shared/InsightsCard/FeedbackCard.d.ts +13 -0
- package/dist/insights/components/components/shared/InsightsCard/InsightButton.d.ts +12 -0
- package/dist/insights/components/components/shared/InsightsCard/MiniDescription.d.ts +9 -0
- package/dist/insights/components/components/shared/MenuAction.d.ts +15 -0
- package/dist/insights/components/components/shared/MiniInsightCard.d.ts +16 -0
- package/dist/insights/components/components/shared/ProgressBar.d.ts +9 -0
- package/dist/insights/components/components/shared/StatusIndicator.d.ts +14 -0
- package/dist/insights/components/components/shared/ThemedSVGImage.d.ts +2 -0
- package/dist/insights/components/components/shared/ZeroState/LinedCardZeroState.d.ts +1 -0
- package/dist/insights/components/components/shared/index.d.ts +1 -0
- package/dist/insights/components/hooks/useContainerDimensions.d.ts +5 -0
- package/dist/insights/components/index.d.ts +1 -0
- package/dist/insights/components/themes/Typography.d.ts +3 -0
- package/dist/insights/components/themes/index.d.ts +1 -0
- package/dist/insights/components/types/Charts/BarChart.d.ts +77 -0
- package/dist/insights/components/types/CommonBeat.d.ts +368 -0
- package/dist/insights/components/types/DirectDeposit.d.ts +16 -0
- package/dist/insights/components/types/ThemedSVGImage.d.ts +5 -0
- package/dist/insights/index.d.ts +1 -0
- package/dist/insights/index.es.js +4190 -2
- 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 +13 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
1
|
+
import { jsx as t, jsxs as s } from "react/jsx-runtime";
|
|
2
2
|
import { observer as f } from "mobx-react-lite";
|
|
3
|
-
import
|
|
3
|
+
import a from "@mui/material/Stack";
|
|
4
4
|
import { H3 as T, InstitutionLogo as x, Text as l, H2 as D } from "@mxenabled/mxui";
|
|
5
5
|
import p from "react";
|
|
6
|
-
import { G as N, d as
|
|
7
|
-
import { g as R } from "./AccountFields-
|
|
6
|
+
import { G as N, d as _, m as P, f as G, u as O } from "./hooks-BUCn6FeJ.mjs";
|
|
7
|
+
import { g as R } from "./AccountFields-CiofAlEI.mjs";
|
|
8
8
|
import { A as r } from "./Account-BiB1F8lL.mjs";
|
|
9
9
|
import w from "@mui/material/Card";
|
|
10
10
|
import v from "@mui/material/CardContent";
|
|
11
11
|
import L from "@mui/material/CardHeader";
|
|
12
12
|
import { L as H } from "./Loader-DUaFpDGv.mjs";
|
|
13
13
|
import { I as M, P as U, S as Y } from "./Account-DuOz1a27.mjs";
|
|
14
|
-
import { u as j } from "./useAccountDisplayName-
|
|
14
|
+
import { u as j } from "./useAccountDisplayName-D27PXvdj.mjs";
|
|
15
15
|
import { f as z } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
16
|
-
const
|
|
16
|
+
const C = () => {
|
|
17
17
|
if (!p.useContext(N))
|
|
18
18
|
throw new Error("useCategoryUiStore() must be used within the GlobalDataContext");
|
|
19
|
-
return
|
|
19
|
+
return _().uiStore;
|
|
20
20
|
}, B = (i, e) => {
|
|
21
21
|
const c = [r.LOAN, r.MORTGAGE, r.PROPERTY].includes(
|
|
22
22
|
i
|
|
@@ -32,12 +32,12 @@ const _ = () => {
|
|
|
32
32
|
ChartComponent: e,
|
|
33
33
|
header: c
|
|
34
34
|
}) => {
|
|
35
|
-
const { loadMonthlyCategoryTotals: n } = P(), { isInitialized: o } = G(), { selectedAccount: d } =
|
|
35
|
+
const { loadMonthlyCategoryTotals: n } = P(), { isInitialized: o } = G(), { selectedAccount: d } = C(), [u, m] = p.useState(!1);
|
|
36
36
|
return p.useEffect(() => {
|
|
37
37
|
o && n([d]).finally(() => {
|
|
38
38
|
m(!0);
|
|
39
39
|
});
|
|
40
|
-
}, [o, d]), !o || !u ? /* @__PURE__ */ t(H, {}) : /* @__PURE__ */
|
|
40
|
+
}, [o, d]), !o || !u ? /* @__PURE__ */ t(H, {}) : /* @__PURE__ */ s(
|
|
41
41
|
w,
|
|
42
42
|
{
|
|
43
43
|
sx: {
|
|
@@ -56,15 +56,15 @@ const _ = () => {
|
|
|
56
56
|
customDetailsChart: i,
|
|
57
57
|
ChartComponent: e
|
|
58
58
|
}) => {
|
|
59
|
-
const { institutions: c } =
|
|
59
|
+
const { institutions: c } = _(), { selectedAccount: n } = C(), { accounts: o } = O(), { firstSubtitle: d, firstValue: u, hasAvailableBalance: m, secondSubtitle: h, secondValue: b } = R(n, o), A = c.find(
|
|
60
60
|
(I) => I.guid === n?.institution_guid
|
|
61
61
|
), S = [
|
|
62
62
|
...M,
|
|
63
63
|
...U,
|
|
64
64
|
...Y
|
|
65
65
|
].includes(n.account_type), g = j(n), { title: y, description: E } = B(n.account_type, o);
|
|
66
|
-
return /* @__PURE__ */ a
|
|
67
|
-
/* @__PURE__ */ a
|
|
66
|
+
return /* @__PURE__ */ s(a, { bgcolor: "background.default", p: 24, children: [
|
|
67
|
+
/* @__PURE__ */ s(a, { gap: 12, children: [
|
|
68
68
|
/* @__PURE__ */ t(
|
|
69
69
|
x,
|
|
70
70
|
{
|
|
@@ -75,21 +75,21 @@ const _ = () => {
|
|
|
75
75
|
),
|
|
76
76
|
/* @__PURE__ */ t(l, { variant: "Small", children: A?.name })
|
|
77
77
|
] }),
|
|
78
|
-
/* @__PURE__ */ a
|
|
78
|
+
/* @__PURE__ */ s(a, { gap: 8, mb: 24, mt: 4, children: [
|
|
79
79
|
/* @__PURE__ */ t(D, { children: g }),
|
|
80
|
-
/* @__PURE__ */ a
|
|
80
|
+
/* @__PURE__ */ s(a, { direction: "row", justifyContent: "space-between", children: [
|
|
81
81
|
/* @__PURE__ */ t(l, { bold: m, variant: "Body", children: d }),
|
|
82
82
|
/* @__PURE__ */ t(l, { bold: !0, variant: "Body", children: z(u, "0,0.00") })
|
|
83
83
|
] }),
|
|
84
|
-
/* @__PURE__ */ a
|
|
84
|
+
/* @__PURE__ */ s(a, { direction: "row", justifyContent: "space-between", children: [
|
|
85
85
|
/* @__PURE__ */ t(l, { variant: "Small", children: h }),
|
|
86
86
|
/* @__PURE__ */ t(l, { variant: "Small", children: b })
|
|
87
87
|
] })
|
|
88
88
|
] }),
|
|
89
|
-
S && /* @__PURE__ */ t(
|
|
89
|
+
S && /* @__PURE__ */ t(a, { "aria-label": E, role: "img", children: i || /* @__PURE__ */ t(F, { ChartComponent: e, header: y }) })
|
|
90
90
|
] });
|
|
91
|
-
},
|
|
91
|
+
}, st = f(V);
|
|
92
92
|
export {
|
|
93
|
-
|
|
94
|
-
|
|
93
|
+
st as A,
|
|
94
|
+
C as u
|
|
95
95
|
};
|
|
@@ -2,10 +2,10 @@ import { jsx as u } from "react/jsx-runtime";
|
|
|
2
2
|
import { Icon as p, Text as y } from "@mxenabled/mxui";
|
|
3
3
|
import { A as d, a as v, P as h, b as F } from "./Account-BiB1F8lL.mjs";
|
|
4
4
|
import { i as T, u as D, a as A, b as g, c as O } from "./Accounts-M-LTzStv.mjs";
|
|
5
|
-
import { F as m } from "./GlobalAccountFilter-
|
|
5
|
+
import { F as m } from "./GlobalAccountFilter-xZ4Z8AE-.mjs";
|
|
6
6
|
import { f as _, i as b, a as N, b as S } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
7
7
|
import { b as i } from "./Localization-2MODESHW.mjs";
|
|
8
|
-
import { f as o, D as f } from "./Dialog-
|
|
8
|
+
import { f as o, D as f } from "./Dialog-CwiqpTGe.mjs";
|
|
9
9
|
const x = (l, e) => {
|
|
10
10
|
const r = [
|
|
11
11
|
{
|
|
@@ -10,9 +10,9 @@ import B from "@mui/material/styles/useTheme";
|
|
|
10
10
|
import { InstitutionLogo as L, Text as o } from "@mxenabled/mxui";
|
|
11
11
|
import { Error as A } from "@mxenabled/mx-icons";
|
|
12
12
|
import { I as j } from "./IconBacking-B9oC6uL2.mjs";
|
|
13
|
-
import { g as T } from "./AccountFields-
|
|
14
|
-
import { u as X } from "./useAccountDisplayName-
|
|
15
|
-
import { u as $ } from "./hooks-
|
|
13
|
+
import { g as T } from "./AccountFields-CiofAlEI.mjs";
|
|
14
|
+
import { u as X } from "./useAccountDisplayName-D27PXvdj.mjs";
|
|
15
|
+
import { u as $ } from "./hooks-BUCn6FeJ.mjs";
|
|
16
16
|
import { C as d } from "./Account-BiB1F8lL.mjs";
|
|
17
17
|
import { f as k } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
18
18
|
const w = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { makeAutoObservable as h, runInAction as a } from "mobx";
|
|
2
|
-
import { i as g } from "./User-
|
|
2
|
+
import { i as g } from "./User-CCYFbd5i.mjs";
|
|
3
3
|
import { A as d } from "./AccountApi-DgZ8ILj1.mjs";
|
|
4
4
|
import { d as m } from "./Accounts-M-LTzStv.mjs";
|
|
5
5
|
import { A as s, d as u } from "./Account-BiB1F8lL.mjs";
|
|
@@ -2,7 +2,7 @@ import { jsx as t, jsxs as g } from "react/jsx-runtime";
|
|
|
2
2
|
import { observer as E } from "mobx-react-lite";
|
|
3
3
|
import _ from "react";
|
|
4
4
|
import K from "@mui/material/Stack";
|
|
5
|
-
import { G as V, m as b, u as h, g as D, b as U } from "./hooks-
|
|
5
|
+
import { G as V, m as b, u as h, g as D, b as U } from "./hooks-BUCn6FeJ.mjs";
|
|
6
6
|
import Y from "@mui/material/List";
|
|
7
7
|
import W from "@mui/material/Paper";
|
|
8
8
|
import k from "@mui/material/Divider";
|
|
@@ -16,11 +16,11 @@ import { Text as I, TextField as H, CategoryIcon as J } from "@mxenabled/mxui";
|
|
|
16
16
|
import Q from "@mui/material/Collapse";
|
|
17
17
|
import Z from "@mui/material/DialogContent";
|
|
18
18
|
import { b as p } from "./Localization-2MODESHW.mjs";
|
|
19
|
-
import { a as ee } from "./Dialog-
|
|
19
|
+
import { a as ee } from "./Dialog-CwiqpTGe.mjs";
|
|
20
20
|
import te from "@mui/material/Box";
|
|
21
21
|
import oe from "@mui/material/Chip";
|
|
22
22
|
import v from "@mui/material/IconButton";
|
|
23
|
-
import { u as ae } from "./useAriaLive-
|
|
23
|
+
import { u as ae } from "./useAriaLive-MkYebyUR.mjs";
|
|
24
24
|
import { S as re } from "./SearchBox-B2_zLv8-.mjs";
|
|
25
25
|
import { L as P } from "./Loader-DUaFpDGv.mjs";
|
|
26
26
|
import { D as ne } from "./Drawer-DV4NTsFg.mjs";
|
|
@@ -3,7 +3,7 @@ import { getUnixTime as n } from "date-fns/getUnixTime";
|
|
|
3
3
|
import { subMonths as c } from "date-fns/subMonths";
|
|
4
4
|
import { startOfMonth as C } from "date-fns/startOfMonth";
|
|
5
5
|
import { endOfMonth as h } from "date-fns/endOfMonth";
|
|
6
|
-
import { a as T, g as m } from "./CategoryUtil-
|
|
6
|
+
import { a as T, g as m } from "./CategoryUtil-CCY_tiFg.mjs";
|
|
7
7
|
import { F as f, A as i } from "./Fetch-DecPFeGU.mjs";
|
|
8
8
|
import { b as l, c as p } from "./Category-CevNQ03n.mjs";
|
|
9
9
|
class d {
|
|
@@ -4,7 +4,7 @@ import { startOfToday as C } from "date-fns/startOfToday";
|
|
|
4
4
|
import { subMonths as N } from "date-fns/subMonths";
|
|
5
5
|
import { CategoryIconList as O } from "@mxenabled/mxui";
|
|
6
6
|
import { C as b, a as D, b as E } from "./Category-CevNQ03n.mjs";
|
|
7
|
-
import { f as R, D as v } from "./Dialog-
|
|
7
|
+
import { f as R, D as v } from "./Dialog-CwiqpTGe.mjs";
|
|
8
8
|
const H = 3, f = 12, k = (t, o, e, r) => t.filter((n) => !n.parent_guid).map(
|
|
9
9
|
(n) => p(
|
|
10
10
|
n,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as r, jsxs as g } from "react/jsx-runtime";
|
|
2
2
|
import s from "react";
|
|
3
3
|
import { observer as E } from "mobx-react-lite";
|
|
4
|
-
import { useTheme as
|
|
5
|
-
import { ConnectionsWidget as
|
|
6
|
-
import { C as a, a as c, M as i } from "./GlobalAccountFilter-
|
|
7
|
-
import { d as
|
|
4
|
+
import { useTheme as _ } from "@mui/material/styles";
|
|
5
|
+
import { ConnectionsWidget as b } from "@mxenabled/web-widget-sdk";
|
|
6
|
+
import { C as a, a as c, M as i } from "./GlobalAccountFilter-xZ4Z8AE-.mjs";
|
|
7
|
+
import { d as D, e as L, u as w } from "./hooks-BUCn6FeJ.mjs";
|
|
8
8
|
import { D as x } from "./Drawer-DV4NTsFg.mjs";
|
|
9
9
|
const I = ({
|
|
10
10
|
onClose: l,
|
|
@@ -12,9 +12,9 @@ const I = ({
|
|
|
12
12
|
title: u
|
|
13
13
|
}) => {
|
|
14
14
|
let n;
|
|
15
|
-
const { refreshAccounts: m } =
|
|
15
|
+
const { refreshAccounts: m } = D(), { loadWidget: f } = L(), { connect: d } = w(), p = _(), [C, e] = s.useState(!1), [S, t] = s.useState(!1);
|
|
16
16
|
return s.useEffect(() => (o ? (e(!0), f({ widget: "connections_widget", mode: p.palette.mode }).then((h) => {
|
|
17
|
-
n = new
|
|
17
|
+
n = new b({
|
|
18
18
|
container: `#${a}`,
|
|
19
19
|
style: {
|
|
20
20
|
border: "none",
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import a from "react";
|
|
3
3
|
import { css as q } from "@mxenabled/cssinjs";
|
|
4
4
|
import { v4 as B } from "uuid";
|
|
5
5
|
import { useTokens as L, TextField as O, P as _ } from "@mxenabled/mxui";
|
|
6
6
|
import { b as y, g as C } from "./Localization-2MODESHW.mjs";
|
|
7
7
|
import { g as W, C as j, f as g, M as b } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
8
|
-
import { u as D } from "./hooks-
|
|
8
|
+
import { u as D } from "./hooks-BUCn6FeJ.mjs";
|
|
9
9
|
const F = ({
|
|
10
10
|
allowDecimals: o = !0,
|
|
11
11
|
ariaLabel: h,
|
|
12
12
|
amount: c,
|
|
13
13
|
amountIsRequired: $ = !0,
|
|
14
|
-
copy:
|
|
14
|
+
copy: m,
|
|
15
15
|
customValidate: M = () => !0,
|
|
16
16
|
errorText: S = "",
|
|
17
17
|
label: u,
|
|
@@ -20,9 +20,9 @@ const F = ({
|
|
|
20
20
|
setHasValidInput: r,
|
|
21
21
|
...N
|
|
22
22
|
}) => {
|
|
23
|
-
const [l, t] =
|
|
23
|
+
const [l, t] = a.useState(""), { common: T } = D(), n = m || T.currency_input, k = L(), P = G(k), R = /^[0-9]*$/, A = /^(\d)*(\,)?([0-9]{1,2})?$/, E = /^(\d)*(\.)?([0-9]{1,2})?$/;
|
|
24
24
|
let s;
|
|
25
|
-
const p =
|
|
25
|
+
const p = a.useRef(B());
|
|
26
26
|
if (o)
|
|
27
27
|
switch (W()) {
|
|
28
28
|
case j.CAD:
|
|
@@ -34,7 +34,7 @@ const F = ({
|
|
|
34
34
|
}
|
|
35
35
|
else
|
|
36
36
|
s = R;
|
|
37
|
-
|
|
37
|
+
a.useEffect(() => {
|
|
38
38
|
d(c);
|
|
39
39
|
}, [c]);
|
|
40
40
|
const d = (e) => {
|
|
@@ -8,7 +8,7 @@ import { nextDay as c } from "date-fns/nextDay";
|
|
|
8
8
|
import { setDate as d } from "date-fns/setDate";
|
|
9
9
|
import { startOfToday as o } from "date-fns/startOfToday";
|
|
10
10
|
import { fromUnixTime as D } from "date-fns/fromUnixTime";
|
|
11
|
-
import { f as i, D as f } from "./Dialog-
|
|
11
|
+
import { f as i, D as f } from "./Dialog-CwiqpTGe.mjs";
|
|
12
12
|
const x = (t) => {
|
|
13
13
|
const e = y(t);
|
|
14
14
|
let r = c(t, e);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { intlFormat as y } from "date-fns/intlFormat";
|
|
2
|
-
import { g as
|
|
3
|
-
import { jsx as a, jsxs as
|
|
2
|
+
import { g as T } from "./Localization-2MODESHW.mjs";
|
|
3
|
+
import { jsx as a, jsxs as M } from "react/jsx-runtime";
|
|
4
4
|
import u from "@mui/material/Dialog";
|
|
5
5
|
import H from "@mui/material/DialogContent";
|
|
6
6
|
import { DialogHeader as N, DialogFooter as Y } from "@mxenabled/mxui";
|
|
@@ -60,7 +60,7 @@ const x = "do", b = "MMM do, yyyy", I = {
|
|
|
60
60
|
day: "numeric",
|
|
61
61
|
year: "numeric"
|
|
62
62
|
}
|
|
63
|
-
}, P = (i, o) => y(new Date(i), Object.assign(o), { locale:
|
|
63
|
+
}, P = (i, o) => y(new Date(i), Object.assign(o), { locale: T() }), E = ({
|
|
64
64
|
className: i,
|
|
65
65
|
copy: o,
|
|
66
66
|
disablePrimaryButton: t = !1,
|
|
@@ -80,7 +80,7 @@ const x = "do", b = "MMM do, yyyy", I = {
|
|
|
80
80
|
}, g = () => {
|
|
81
81
|
n && n(), r();
|
|
82
82
|
};
|
|
83
|
-
return /* @__PURE__ */ a("div", { className: `mx-cmn-dialog ${i}`, children: /* @__PURE__ */
|
|
83
|
+
return /* @__PURE__ */ a("div", { className: `mx-cmn-dialog ${i}`, children: /* @__PURE__ */ M(
|
|
84
84
|
u,
|
|
85
85
|
{
|
|
86
86
|
onClose: r,
|
|
@@ -3,7 +3,7 @@ import b from "react";
|
|
|
3
3
|
import { selectAll as m, interpolateString as x, arc as I } from "d3";
|
|
4
4
|
import d from "@mui/material/Box";
|
|
5
5
|
import { useTheme as S } from "@mui/material/styles";
|
|
6
|
-
const k = 100, E = 140,
|
|
6
|
+
const k = 100, E = 140, _ = 10, j = ({
|
|
7
7
|
data: u,
|
|
8
8
|
hoveredId: h,
|
|
9
9
|
onClick: a,
|
|
@@ -47,7 +47,7 @@ const k = 100, E = 140, v = 10, j = ({
|
|
|
47
47
|
r = r + 2 * Math.PI * (o.value / 100);
|
|
48
48
|
const D = r, R = I().cornerRadius(4)({
|
|
49
49
|
innerRadius: k,
|
|
50
|
-
outerRadius: E + (o.id === i || o.id === h ?
|
|
50
|
+
outerRadius: E + (o.id === i || o.id === h ? _ : 0),
|
|
51
51
|
startAngle: n,
|
|
52
52
|
endAngle: D,
|
|
53
53
|
padAngle: 0.025
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { observer as c } from "mobx-react-lite";
|
|
3
3
|
import { Icon as i } from "@mxenabled/mxui";
|
|
4
|
-
import { e as p } from "./exportTransactionsToCSV-
|
|
5
|
-
import { O as m } from "./User-
|
|
4
|
+
import { e as p } from "./exportTransactionsToCSV-DNbCbq9P.mjs";
|
|
5
|
+
import { O as m } from "./User-CCYFbd5i.mjs";
|
|
6
6
|
import { R as x } from "./ResponsiveButton-DZFp78fJ.mjs";
|
|
7
|
-
import { g as _, h as C, u as l } from "./hooks-
|
|
7
|
+
import { g as _, h as C, u as l } from "./hooks-BUCn6FeJ.mjs";
|
|
8
8
|
const v = ({ filter: t }) => {
|
|
9
9
|
const { onEvent: r } = _(), { tags: e, sortedTransactions: s } = C(), { transactions: n } = l(), a = () => {
|
|
10
10
|
r(m.ON_TRANSACTION_EXPORT_CSV_CLICK), p(t ? s.filter(t) : s, e);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { makeAutoObservable as E, runInAction as d } from "mobx";
|
|
2
2
|
import { format as R } from "date-fns/format";
|
|
3
3
|
import { fromUnixTime as b } from "date-fns/fromUnixTime";
|
|
4
|
-
import { getUnixTime as
|
|
4
|
+
import { getUnixTime as T } from "date-fns/getUnixTime";
|
|
5
5
|
import { subMonths as H } from "date-fns/subMonths";
|
|
6
6
|
import { F as x, A as h } from "./Fetch-DecPFeGU.mjs";
|
|
7
7
|
import { jsx as c, jsxs as C } from "react/jsx-runtime";
|
|
@@ -23,7 +23,7 @@ import X from "@mui/material/ListItemAvatar";
|
|
|
23
23
|
import V from "@mui/material/ListItemButton";
|
|
24
24
|
import W from "@mui/material/ListItemText";
|
|
25
25
|
import { Text as y } from "@mxenabled/mxui";
|
|
26
|
-
import { f as O, D as
|
|
26
|
+
import { f as O, D as _ } from "./Dialog-CwiqpTGe.mjs";
|
|
27
27
|
import { b as j } from "./Localization-2MODESHW.mjs";
|
|
28
28
|
import { f as q } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
29
29
|
const m = {
|
|
@@ -184,7 +184,7 @@ const J = ({ list: e, onClickItem: t }) => /* @__PURE__ */ c(K, { sx: { bgcolor:
|
|
|
184
184
|
[I.MonthlyIncome]: (r) => q(Number(r), "0.00")
|
|
185
185
|
})[e]?.(t) ?? String(t), Kt = (e) => e !== null ? Math.round(e * 100) : null, Bt = (e) => {
|
|
186
186
|
const t = new Date((/* @__PURE__ */ new Date()).getFullYear(), e - 1, 1);
|
|
187
|
-
return O(t,
|
|
187
|
+
return O(t, _.MONTH_SHORT);
|
|
188
188
|
}, Yt = (e) => {
|
|
189
189
|
const { good: t, poor: n } = m.daysOfCashOnHand;
|
|
190
190
|
return e === null ? "MISSING" : e >= t ? "GOOD" : e >= n ? "FAIR" : "OFF_TRACK";
|
|
@@ -243,12 +243,12 @@ const J = ({ list: e, onClickItem: t }) => /* @__PURE__ */ c(K, { sx: { bgcolor:
|
|
|
243
243
|
const p = i(s, n), f = l(p, s);
|
|
244
244
|
return Math.max(a / (f || 1), 1);
|
|
245
245
|
}, Qt = (e) => !e || e <= 0 ? "0%" : e >= 1e3 ? "100%" : `${Math.round(e / 10)}%`, Zt = (e) => D.find((n) => e < n.upperLimit)?.targetAmount ?? et, te = (e) => D.find((r) => e < r.upperLimit)?.contributionPeriodIndex ?? tt, ee = (e, t) => [...e].sort((r, o) => r.year === o.year ? r.month - o.month : r.year - o.year).map((r) => ({
|
|
246
|
-
x: O(new Date(0, r.month - 1, 1),
|
|
246
|
+
x: O(new Date(0, r.month - 1, 1), _.MONTH_SHORT),
|
|
247
247
|
y: r[t]
|
|
248
248
|
})), ot = (e) => e.sort((t, n) => t.monthly_health_score_average.month - n.monthly_health_score_average.month).map((t) => ({
|
|
249
249
|
x: O(
|
|
250
250
|
new Date(0, t.monthly_health_score_average.month - 1, 1),
|
|
251
|
-
|
|
251
|
+
_.MONTH_SHORT
|
|
252
252
|
),
|
|
253
253
|
y: Math.round(t.monthly_health_score_average.average_health_score)
|
|
254
254
|
})), at = (e) => e.map(({ transaction: n }) => ({
|
|
@@ -349,7 +349,7 @@ class ne {
|
|
|
349
349
|
}
|
|
350
350
|
};
|
|
351
351
|
loadHealthScoreChangeReports = async () => {
|
|
352
|
-
const t =
|
|
352
|
+
const t = T(H(/* @__PURE__ */ new Date(), 2)), n = T(/* @__PURE__ */ new Date());
|
|
353
353
|
try {
|
|
354
354
|
const r = await this.api.getHealthScoreChangeReports(
|
|
355
355
|
t,
|
|
@@ -16,7 +16,7 @@ import v from "@mui/material/ListItem";
|
|
|
16
16
|
import L from "@mui/material/ListItemButton";
|
|
17
17
|
import q from "@mui/material/ListItemIcon";
|
|
18
18
|
import E from "@mui/material/ListItemText";
|
|
19
|
-
import { b as O, u as A, d as z, e as J, a as K } from "./hooks-
|
|
19
|
+
import { b as O, u as A, d as z, e as J, a as K } from "./hooks-BUCn6FeJ.mjs";
|
|
20
20
|
import Q from "@mui/material/styles/useTheme";
|
|
21
21
|
import { ConnectWidget as V } from "@mxenabled/web-widget-sdk";
|
|
22
22
|
import X from "@mui/material/CircularProgress";
|
|
@@ -24,7 +24,7 @@ import { D as tt } from "./Drawer-DV4NTsFg.mjs";
|
|
|
24
24
|
import { u as et } from "./useScreenSize-B6JyS_Lj.mjs";
|
|
25
25
|
const ot = w(
|
|
26
26
|
({ allowedAccountTypes: o }) => {
|
|
27
|
-
const { accountFilterMap: i, updateAccountFilterMap: d } = O(), { accounts: C, common: f } = A(), { account_filter:
|
|
27
|
+
const { accountFilterMap: i, updateAccountFilterMap: d } = O(), { accounts: C, common: f } = A(), { account_filter: _ } = f, { accountsByTypeMap: r } = z(), x = b.useMemo(
|
|
28
28
|
() => Array.from(r.keys()).reduce((e, n) => {
|
|
29
29
|
if (!o || o && o.includes(n)) {
|
|
30
30
|
const c = r.get(n);
|
|
@@ -34,7 +34,7 @@ const ot = w(
|
|
|
34
34
|
}, []),
|
|
35
35
|
[r, o]
|
|
36
36
|
), m = new Map(
|
|
37
|
-
Array.from(i.entries()).filter(([e]) =>
|
|
37
|
+
Array.from(i.entries()).filter(([e]) => x.some((n) => n.guid === e))
|
|
38
38
|
), s = Array.from(m.values()).every((e) => e), S = Array.from(m.values()).some((e) => e), p = () => {
|
|
39
39
|
for (const e of m.keys())
|
|
40
40
|
d(e, !s);
|
|
@@ -68,7 +68,7 @@ const ot = w(
|
|
|
68
68
|
E,
|
|
69
69
|
{
|
|
70
70
|
id: "label-select-all",
|
|
71
|
-
primary:
|
|
71
|
+
primary: _.select_all_accounts,
|
|
72
72
|
primaryTypographyProps: { variant: "body1" }
|
|
73
73
|
}
|
|
74
74
|
)
|
|
@@ -174,7 +174,7 @@ const F = "connect_widget", Gt = "connections_widget", it = ({
|
|
|
174
174
|
title: C
|
|
175
175
|
}) => {
|
|
176
176
|
let f;
|
|
177
|
-
const { refreshAccounts:
|
|
177
|
+
const { refreshAccounts: _ } = z(), { loadWidget: r } = J(), { connect: x } = A(), [m, s] = b.useState(!1), [S, p] = b.useState(!1), {
|
|
178
178
|
palette: { mode: g }
|
|
179
179
|
} = Q();
|
|
180
180
|
return b.useEffect(() => (d ? (s(!0), r({ mode: g, ...o }).then((e) => {
|
|
@@ -200,10 +200,10 @@ const F = "connect_widget", Gt = "connections_widget", it = ({
|
|
|
200
200
|
}), [d]), /* @__PURE__ */ t(
|
|
201
201
|
tt,
|
|
202
202
|
{
|
|
203
|
-
ariaLabelClose:
|
|
203
|
+
ariaLabelClose: x.close_manage_connection_aria,
|
|
204
204
|
isOpen: d,
|
|
205
205
|
onClose: () => {
|
|
206
|
-
i(),
|
|
206
|
+
i(), _();
|
|
207
207
|
},
|
|
208
208
|
title: C,
|
|
209
209
|
children: /* @__PURE__ */ l("div", { id: F, children: [
|
|
@@ -220,8 +220,8 @@ const F = "connect_widget", Gt = "connections_widget", it = ({
|
|
|
220
220
|
variant: C = "text"
|
|
221
221
|
}) => {
|
|
222
222
|
const { isDesktop: f } = et(), {
|
|
223
|
-
config: { show_connections_widget_in_master:
|
|
224
|
-
} = K(), { common: r, connect:
|
|
223
|
+
config: { show_connections_widget_in_master: _ }
|
|
224
|
+
} = K(), { common: r, connect: x } = A(), { accountFilterMap: m, resetAccountFilterMap: s } = O(), { detailedAccounts: S, updateAccountFilter: p } = z(), [g, e] = b.useState(null), [n, c] = b.useState(!1), u = (H) => {
|
|
225
225
|
s(), e(H.currentTarget), i?.();
|
|
226
226
|
}, a = () => {
|
|
227
227
|
e(null);
|
|
@@ -272,7 +272,7 @@ const F = "connect_widget", Gt = "connections_widget", it = ({
|
|
|
272
272
|
/* @__PURE__ */ t(Y, { size: 32 }),
|
|
273
273
|
/* @__PURE__ */ t(D, { bold: !0, mt: 12, children: h.zero_state_title }),
|
|
274
274
|
/* @__PURE__ */ t(D, { mt: 12, children: h.zero_state_description }),
|
|
275
|
-
|
|
275
|
+
_ && /* @__PURE__ */ t(I, { onClick: () => c(!0), children: h.zero_state_button })
|
|
276
276
|
]
|
|
277
277
|
}
|
|
278
278
|
) : /* @__PURE__ */ l(k, { children: [
|
|
@@ -300,7 +300,7 @@ const F = "connect_widget", Gt = "connections_widget", it = ({
|
|
|
300
300
|
{
|
|
301
301
|
onClose: () => c(!1),
|
|
302
302
|
showConnectWidget: n,
|
|
303
|
-
title:
|
|
303
|
+
title: x.mini_title
|
|
304
304
|
}
|
|
305
305
|
)
|
|
306
306
|
] });
|
|
@@ -7,7 +7,7 @@ import O from "@mui/material/CardHeader";
|
|
|
7
7
|
import w from "@mui/material/Stack";
|
|
8
8
|
import { AccountBalance as L, ChevronRight as S } from "@mxenabled/mx-icons";
|
|
9
9
|
import { Text as g } from "@mxenabled/mxui";
|
|
10
|
-
import { b as y } from "./GlobalAccountFilter-
|
|
10
|
+
import { b as y } from "./GlobalAccountFilter-xZ4Z8AE-.mjs";
|
|
11
11
|
import { makeAutoObservable as b, runInAction as u } from "mobx";
|
|
12
12
|
import { F as D, A as i } from "./Fetch-DecPFeGU.mjs";
|
|
13
13
|
import { fromUnixTime as R } from "date-fns/fromUnixTime";
|
|
@@ -15,7 +15,7 @@ import { addYears as F } from "date-fns/addYears";
|
|
|
15
15
|
import { getUnixTime as v } from "date-fns/getUnixTime";
|
|
16
16
|
import { b as d } from "./Localization-2MODESHW.mjs";
|
|
17
17
|
import { a as x } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
18
|
-
import { f as K, D as P } from "./Dialog-
|
|
18
|
+
import { f as K, D as P } from "./Dialog-CwiqpTGe.mjs";
|
|
19
19
|
const rt = ({ description: o, label: t, title: e }) => {
|
|
20
20
|
const [r, a] = E.useState(!1);
|
|
21
21
|
return /* @__PURE__ */ _(E.Fragment, { children: [
|
|
@@ -13,10 +13,10 @@ import E from "@mui/material/Stack";
|
|
|
13
13
|
import { H3 as y, P as H, Icon as X, Text as T, H2 as _t, InstitutionLogo as bt } from "@mxenabled/mxui";
|
|
14
14
|
import { ExpandMore as ot, ChevronRight as wt } from "@mxenabled/mx-icons";
|
|
15
15
|
import xt from "@mui/material/Breadcrumbs";
|
|
16
|
-
import { u as V, A as tt, d as ft, o as St, b as It, a as Tt } from "./hooks-
|
|
16
|
+
import { u as V, A as tt, d as ft, o as St, b as It, a as Tt } from "./hooks-BUCn6FeJ.mjs";
|
|
17
17
|
import { useTheme as Z } from "@mui/material/styles";
|
|
18
18
|
import { b as s } from "./Localization-2MODESHW.mjs";
|
|
19
|
-
import { E as Et, a as Ct, P as At } from "./Help-
|
|
19
|
+
import { E as Et, a as Ct, P as At } from "./Help-B8mD4aLJ.mjs";
|
|
20
20
|
import { observer as rt } from "mobx-react-lite";
|
|
21
21
|
import at from "@mui/material/Alert";
|
|
22
22
|
import ct from "@mui/material/Snackbar";
|
|
@@ -13,7 +13,7 @@ import { f as p, c as X } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
|
13
13
|
import { observer as St } from "mobx-react-lite";
|
|
14
14
|
import P from "@mui/material/Stack";
|
|
15
15
|
import { Text as l } from "@mxenabled/mxui";
|
|
16
|
-
import { u as vt } from "./hooks-
|
|
16
|
+
import { u as vt } from "./hooks-BUCn6FeJ.mjs";
|
|
17
17
|
import Dt from "@mui/material/useMediaQuery";
|
|
18
18
|
import { Stack as M, Box as F } from "@mui/material";
|
|
19
19
|
const Tt = ({
|
|
@@ -5,10 +5,10 @@ import x from "@mui/material/ListItem";
|
|
|
5
5
|
import C from "@mui/material/ListItemButton";
|
|
6
6
|
import I from "@mui/material/ListItemText";
|
|
7
7
|
import L from "@mui/material/Stack";
|
|
8
|
-
import { ChevronRight as
|
|
8
|
+
import { ChevronRight as _ } from "@mxenabled/mx-icons";
|
|
9
9
|
import { Text as m } from "@mxenabled/mxui";
|
|
10
|
-
import { a as
|
|
11
|
-
import { u as
|
|
10
|
+
import { a as g } from "./Dialog-CwiqpTGe.mjs";
|
|
11
|
+
import { u as j } from "./hooks-BUCn6FeJ.mjs";
|
|
12
12
|
const D = v(
|
|
13
13
|
({
|
|
14
14
|
children: n,
|
|
@@ -21,7 +21,7 @@ const D = v(
|
|
|
21
21
|
secondaryText: y,
|
|
22
22
|
zeroStateText: o
|
|
23
23
|
}) => {
|
|
24
|
-
const { common: a } =
|
|
24
|
+
const { common: a } = j(), [d, t] = b.useState(!1), h = () => {
|
|
25
25
|
t(!1), c?.();
|
|
26
26
|
}, u = () => {
|
|
27
27
|
t(!1), l();
|
|
@@ -47,10 +47,10 @@ const D = v(
|
|
|
47
47
|
primaryTypographyProps: { variant: "body1" }
|
|
48
48
|
}
|
|
49
49
|
),
|
|
50
|
-
!i && !o && /* @__PURE__ */ r(
|
|
50
|
+
!i && !o && /* @__PURE__ */ r(_, {})
|
|
51
51
|
] }),
|
|
52
52
|
/* @__PURE__ */ r(
|
|
53
|
-
|
|
53
|
+
g,
|
|
54
54
|
{
|
|
55
55
|
copy: { title: p, close_aria: a.close_aria },
|
|
56
56
|
disablePrimaryButton: s,
|
|
@@ -10,30 +10,30 @@ 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
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-
|
|
20
|
+
import { T as X, a as ye, u as ge, S as fe, b as Ce } from "./TransactionDetails-Di4Cq-bG.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 Ie } from "./hooks-
|
|
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
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-BNltq9UG.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
33
|
import { S as ke } from "./SearchBox-B2_zLv8-.mjs";
|
|
34
|
-
import { h as Ne } from "./DateUtil-
|
|
34
|
+
import { h as Ne } from "./DateUtil-gRDTwAoC.mjs";
|
|
35
35
|
import { b as B } from "./Category-CevNQ03n.mjs";
|
|
36
|
-
import { T as V } from "./User-
|
|
36
|
+
import { T as V } from "./User-CCYFbd5i.mjs";
|
|
37
37
|
const ee = ({
|
|
38
38
|
frequency: n,
|
|
39
39
|
firstDay: t,
|
|
@@ -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",
|