@mx-cartographer/experiences 9.3.8-alpha.al0 → 9.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/dist/accounts/components/AccountListItem.es.js +4 -4
- package/dist/accounts/components/AccountsListCompact.es.js +15 -15
- package/dist/accounts/components/detailsdrawer/Accounts/AccountActions.es.js +6 -6
- package/dist/accounts/components/detailsdrawer/Accounts/AccountConnection.es.js +6 -6
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetails.es.js +11 -11
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsContent.es.js +6 -6
- package/dist/accounts/components/detailsdrawer/Accounts/ConnectionErrorMessage.es.js +7 -7
- package/dist/accounts/components/detailsdrawer/Transactions/TransactionsTab.es.js +4 -4
- package/dist/budgets/components/BudgetsEmptyState.es.js +7 -7
- package/dist/budgets/components/budgetdetails/SubBudgetList.es.js +16 -16
- package/dist/budgets/components/budgetdetails/SubBudgetList.es.js.map +1 -1
- package/dist/cashflow/CashflowOnboarding.es.js +13 -13
- package/dist/cashflow/components/CashflowHeading.es.js +4 -4
- package/dist/cashflow/components/DetailsExpenseHeader.es.js +4 -4
- package/dist/common/components/DataRow.es.js +6 -6
- package/dist/common/components/MiniWidgetContainer.es.js +9 -9
- package/dist/common/components/charts/linechart/CustomLine.es.js +2 -2
- package/dist/common/components/charts/linechart/CustomMark.es.js +2 -2
- package/dist/common/context/hooks.d.ts +1 -0
- package/dist/common/context/hooks.es.js +12 -11
- package/dist/common/context/hooks.es.js.map +1 -1
- package/dist/common/context/index.d.ts +1 -1
- package/dist/common/index.es.js +116 -115
- package/dist/core/index.es.js +27 -25
- package/dist/core/stores/BudgetsStore.es.js +21 -28
- package/dist/core/stores/BudgetsStore.es.js.map +1 -1
- package/dist/core/stores/GlobalStore.d.ts +2 -1
- package/dist/core/stores/GlobalStore.es.js +11 -9
- package/dist/core/stores/GlobalStore.es.js.map +1 -1
- package/dist/core/stores/InsightsV2Store.d.ts +24 -0
- package/dist/core/stores/InsightsV2Store.es.js +41 -0
- package/dist/core/stores/InsightsV2Store.es.js.map +1 -0
- package/dist/core/stores/index.d.ts +2 -0
- package/dist/core/types/Beat.d.ts +2 -0
- package/dist/core/types/Beat.es.js.map +1 -1
- package/dist/core/types/Insights.d.ts +90 -0
- package/dist/core/types/InsightsInstanceSlotData.d.ts +93 -0
- package/dist/core/types/InsightsInstanceSlotData.es.js +8 -0
- package/dist/core/types/InsightsInstanceSlotData.es.js.map +1 -0
- package/dist/core/types/index.d.ts +1 -0
- package/dist/core/utils/BudgetUtil.es.js +50 -56
- package/dist/core/utils/BudgetUtil.es.js.map +1 -1
- package/dist/debts/DebtsWidget.es.js +5 -5
- package/dist/debts/components/debtsdrawer/DebtDetailsContent.es.js +3 -3
- package/dist/debts/components/debtsdrawer/DebtDetailsTab.es.js +6 -6
- package/dist/debts/components/debtsdrawer/DebtScheduleTab.es.js +8 -8
- package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.es.js +2 -2
- package/dist/finstrong/components/KeyIndicatorsTabItem.es.js +8 -8
- package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.es.js +5 -5
- package/dist/finstrong/components/shared/Accounts.es.js +24 -24
- package/dist/finstrong/components/shared/ScoreHistoryTimeline.es.js +2 -2
- package/dist/finstrong/components/shared/Transactions.es.js +28 -28
- package/dist/finstrong/util/finstrongUtils.d.ts +1 -1
- package/dist/goals/GoalsWidget.es.js +12 -12
- package/dist/insights/components/insights/CustomTransaction/CustomTransaction.es.js +13 -13
- package/dist/insights/components/insights/UserFeedback/UserFeedback.es.js +14 -14
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/DirectDepositDeepLink.es.js +2 -2
- package/dist/insights/components/shared/DirectDeposit/DirectDepositSubHeader.es.js +9 -9
- package/dist/insights/components/shared/InsightsCard/BeatCard.es.js +4 -4
- package/dist/insights/components/shared/InsightsCard/BeatCardMUI.es.js +4 -4
- package/dist/insights/components/shared/InsightsCard/ContentAndDescription.es.js +2 -2
- package/dist/insights/components/shared/InsightsCard/ContentAndDescriptionMUI.es.js +2 -2
- package/dist/insights/components/shared/MenuAction.es.js +16 -16
- package/dist/insights-v2/CommonUtils.d.ts +1 -0
- package/dist/insights-v2/CommonUtils.es.js +7 -0
- package/dist/insights-v2/CommonUtils.es.js.map +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/BarchartBlock.d.ts +3 -0
- package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/BarchartBlock.es.js +28 -0
- package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/BarchartBlock.es.js.map +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/index.d.ts +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/layout.d.ts +9 -0
- package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/layout.es.js +9 -0
- package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/layout.es.js.map +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/utils.d.ts +18 -0
- package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/utils.es.js +34 -0
- package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/utils.es.js.map +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/DonutChart.d.ts +13 -0
- package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/DonutChart.es.js +87 -0
- package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/DonutChart.es.js.map +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/DonutChartBlock.d.ts +4 -0
- package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/DonutChartBlock.es.js +23 -0
- package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/DonutChartBlock.es.js.map +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/index.d.ts +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/layout.d.ts +19 -0
- package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/layout.es.js +15 -0
- package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/layout.es.js.map +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/utils.d.ts +3 -0
- package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/utils.es.js +11 -0
- package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/utils.es.js.map +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/ChartLegend.d.ts +7 -0
- package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/ChartLegend.es.js +48 -0
- package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/ChartLegend.es.js.map +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/CustomDoubleBar.d.ts +18 -0
- package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/CustomDoubleBar.es.js +45 -0
- package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/CustomDoubleBar.es.js.map +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/DoubleBarChart.d.ts +2 -0
- package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/DoubleBarChart.es.js +125 -0
- package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/DoubleBarChart.es.js.map +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/index.d.ts +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/layout.d.ts +8 -0
- package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/layout.es.js +10 -0
- package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/layout.es.js.map +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/DoubleProgressBarBlock/DoubleProgressBarBlock.d.ts +4 -0
- package/dist/insights-v2/blocks/ChartBlocks/DoubleProgressBarBlock/DoubleProgressBarBlock.es.js +28 -0
- package/dist/insights-v2/blocks/ChartBlocks/DoubleProgressBarBlock/DoubleProgressBarBlock.es.js.map +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/DoubleProgressBarBlock/ProgressBar.d.ts +8 -0
- package/dist/insights-v2/blocks/ChartBlocks/DoubleProgressBarBlock/ProgressBar.es.js +44 -0
- package/dist/insights-v2/blocks/ChartBlocks/DoubleProgressBarBlock/ProgressBar.es.js.map +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/DoubleProgressBarBlock/index.d.ts +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/StepChartBlock.d.ts +4 -0
- package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/StepChartBlock.es.js +15 -0
- package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/StepChartBlock.es.js.map +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/index.d.ts +9 -0
- package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/index.es.js +13 -0
- package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/index.es.js.map +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/utils.d.ts +19 -0
- package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/utils.es.js +27 -0
- package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/utils.es.js.map +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/variants/WithText.d.ts +5 -0
- package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/variants/WithText.es.js +78 -0
- package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/variants/WithText.es.js.map +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/variants/WithoutText.d.ts +5 -0
- package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/variants/WithoutText.es.js +81 -0
- package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/variants/WithoutText.es.js.map +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/index.d.ts +5 -0
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/AccountBlock.d.ts +4 -0
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/AccountBlock.es.js +200 -0
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/AccountBlock.es.js.map +1 -0
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/HeaderComponent.d.ts +5 -0
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/HeaderComponent.es.js +26 -0
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/HeaderComponent.es.js.map +1 -0
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/IconComponent.d.ts +7 -0
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/IconComponent.es.js +64 -0
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/IconComponent.es.js.map +1 -0
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/index.d.ts +1 -0
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/layout.d.ts +32 -0
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/layout.es.js +100 -0
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/layout.es.js.map +1 -0
- package/dist/insights-v2/blocks/ComponentBlocks/ActionBlock/ActionBlockLayer.d.ts +8 -0
- package/dist/insights-v2/blocks/ComponentBlocks/ActionBlock/ActionBlockLayer.es.js +41 -0
- package/dist/insights-v2/blocks/ComponentBlocks/ActionBlock/ActionBlockLayer.es.js.map +1 -0
- package/dist/insights-v2/blocks/ComponentBlocks/ActionBlock/PlaceholderActionBlock.d.ts +4 -0
- package/dist/insights-v2/blocks/ComponentBlocks/ActionBlock/PlaceholderActionBlock.es.js +32 -0
- package/dist/insights-v2/blocks/ComponentBlocks/ActionBlock/PlaceholderActionBlock.es.js.map +1 -0
- package/dist/insights-v2/blocks/ComponentBlocks/BudgetBlock/BudgetBlock.d.ts +3 -0
- package/dist/insights-v2/blocks/ComponentBlocks/BudgetBlock/BudgetBlock.es.js +50 -0
- package/dist/insights-v2/blocks/ComponentBlocks/BudgetBlock/BudgetBlock.es.js.map +1 -0
- package/dist/insights-v2/blocks/ComponentBlocks/BudgetBlock/index.d.ts +1 -0
- package/dist/insights-v2/blocks/ComponentBlocks/BudgetBlock/util.d.ts +7 -0
- package/dist/insights-v2/blocks/ComponentBlocks/BudgetBlock/util.es.js +12 -0
- package/dist/insights-v2/blocks/ComponentBlocks/BudgetBlock/util.es.js.map +1 -0
- package/dist/insights-v2/blocks/ComponentBlocks/index.d.ts +2 -0
- package/dist/insights-v2/blocks/ImageBlocks/ImageBlock.d.ts +4 -0
- package/dist/insights-v2/blocks/ImageBlocks/ImageBlock.es.js +35 -0
- package/dist/insights-v2/blocks/ImageBlocks/ImageBlock.es.js.map +1 -0
- package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/SVGImageBlock.d.ts +3 -0
- package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/SVGImageBlock.es.js +20 -0
- package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/SVGImageBlock.es.js.map +1 -0
- package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/DesignateEmergencySavingsAccount.es.js +296 -0
- package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/DesignateEmergencySavingsAccount.es.js.map +1 -0
- package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/FederalBankHoliday.es.js +449 -0
- package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/FederalBankHoliday.es.js.map +1 -0
- package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/FederalBankHolidayCibc.es.js +89 -0
- package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/FederalBankHolidayCibc.es.js.map +1 -0
- package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/UpcomingTaxDeadlineAlert.es.js +235 -0
- package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/UpcomingTaxDeadlineAlert.es.js.map +1 -0
- package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/UpcomingTaxDeadlineAlertCIBC.es.js +57 -0
- package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/UpcomingTaxDeadlineAlertCIBC.es.js.map +1 -0
- package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/index.d.ts +1 -0
- package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/layout.d.ts +7 -0
- package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/layout.es.js +15 -0
- package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/layout.es.js.map +1 -0
- package/dist/insights-v2/blocks/ImageBlocks/index.d.ts +2 -0
- package/dist/insights-v2/blocks/index.d.ts +4 -0
- package/dist/insights-v2/blocks/types.d.ts +8 -0
- package/dist/insights-v2/components/AccountHeroCard.d.ts +35 -0
- package/dist/insights-v2/components/AccountHeroCard.es.js +91 -0
- package/dist/insights-v2/components/AccountHeroCard.es.js.map +1 -0
- package/dist/insights-v2/components/AmountPill.d.ts +16 -0
- package/dist/insights-v2/components/AmountPill.es.js +25 -0
- package/dist/insights-v2/components/AmountPill.es.js.map +1 -0
- package/dist/insights-v2/components/BaseLayout.d.ts +6 -0
- package/dist/insights-v2/components/BaseLayout.es.js +77 -0
- package/dist/insights-v2/components/BaseLayout.es.js.map +1 -0
- package/dist/insights-v2/components/ComponentBlocks/DepositLogo.d.ts +22 -0
- package/dist/insights-v2/components/ComponentBlocks/DepositLogo.es.js +33 -0
- package/dist/insights-v2/components/ComponentBlocks/DepositLogo.es.js.map +1 -0
- package/dist/insights-v2/components/ComponentBlocks/StatusIndicator.d.ts +14 -0
- package/dist/insights-v2/components/ComponentBlocks/StatusIndicator.es.js +65 -0
- package/dist/insights-v2/components/ComponentBlocks/StatusIndicator.es.js.map +1 -0
- package/dist/insights-v2/components/DesignateEmergencySavingsCard.d.ts +33 -0
- package/dist/insights-v2/components/DesignateEmergencySavingsCard.es.js +78 -0
- package/dist/insights-v2/components/DesignateEmergencySavingsCard.es.js.map +1 -0
- package/dist/insights-v2/components/Footer.d.ts +9 -0
- package/dist/insights-v2/components/Footer.es.js +25 -0
- package/dist/insights-v2/components/Footer.es.js.map +1 -0
- package/dist/insights-v2/components/Header.d.ts +8 -0
- package/dist/insights-v2/components/Header.es.js +41 -0
- package/dist/insights-v2/components/Header.es.js.map +1 -0
- package/dist/insights-v2/components/InsightTransactionRow.d.ts +23 -0
- package/dist/insights-v2/components/InsightTransactionRow.es.js +52 -0
- package/dist/insights-v2/components/InsightTransactionRow.es.js.map +1 -0
- package/dist/insights-v2/components/LogoClusterCard.d.ts +40 -0
- package/dist/insights-v2/components/LogoClusterCard.es.js +104 -0
- package/dist/insights-v2/components/LogoClusterCard.es.js.map +1 -0
- package/dist/insights-v2/components/LogoTile.d.ts +31 -0
- package/dist/insights-v2/components/LogoTile.es.js +34 -0
- package/dist/insights-v2/components/LogoTile.es.js.map +1 -0
- package/dist/insights-v2/components/MerchantHighlightCard.d.ts +34 -0
- package/dist/insights-v2/components/MerchantHighlightCard.es.js +64 -0
- package/dist/insights-v2/components/MerchantHighlightCard.es.js.map +1 -0
- package/dist/insights-v2/components/P2PLogoStack.d.ts +32 -0
- package/dist/insights-v2/components/P2PLogoStack.es.js +55 -0
- package/dist/insights-v2/components/P2PLogoStack.es.js.map +1 -0
- package/dist/insights-v2/components/SaveAnExtraCard.d.ts +27 -0
- package/dist/insights-v2/components/SaveAnExtraCard.es.js +57 -0
- package/dist/insights-v2/components/SaveAnExtraCard.es.js.map +1 -0
- package/dist/insights-v2/components/SavingsOpportunityCard.d.ts +18 -0
- package/dist/insights-v2/components/SavingsOpportunityCard.es.js +71 -0
- package/dist/insights-v2/components/SavingsOpportunityCard.es.js.map +1 -0
- package/dist/insights-v2/components/StatusMessageCard.d.ts +28 -0
- package/dist/insights-v2/components/StatusMessageCard.es.js +45 -0
- package/dist/insights-v2/components/StatusMessageCard.es.js.map +1 -0
- package/dist/insights-v2/components/StatusPill.d.ts +26 -0
- package/dist/insights-v2/components/StatusPill.es.js +30 -0
- package/dist/insights-v2/components/StatusPill.es.js.map +1 -0
- package/dist/insights-v2/components/SubHeader.d.ts +6 -0
- package/dist/insights-v2/components/SubHeader.es.js +40 -0
- package/dist/insights-v2/components/SubHeader.es.js.map +1 -0
- package/dist/insights-v2/components/SubscriptionHeroCard.d.ts +27 -0
- package/dist/insights-v2/components/SubscriptionHeroCard.es.js +63 -0
- package/dist/insights-v2/components/SubscriptionHeroCard.es.js.map +1 -0
- package/dist/insights-v2/components/TransactionListCard.d.ts +45 -0
- package/dist/insights-v2/components/TransactionListCard.es.js +118 -0
- package/dist/insights-v2/components/TransactionListCard.es.js.map +1 -0
- package/dist/insights-v2/components/TransferLogoCard.d.ts +44 -0
- package/dist/insights-v2/components/TransferLogoCard.es.js +121 -0
- package/dist/insights-v2/components/TransferLogoCard.es.js.map +1 -0
- package/dist/insights-v2/components/UpcomingBillCard.d.ts +41 -0
- package/dist/insights-v2/components/UpcomingBillCard.es.js +99 -0
- package/dist/insights-v2/components/UpcomingBillCard.es.js.map +1 -0
- package/dist/insights-v2/components/celebrationGradients.d.ts +19 -0
- package/dist/insights-v2/components/celebrationGradients.es.js +7 -0
- package/dist/insights-v2/components/celebrationGradients.es.js.map +1 -0
- package/dist/insights-v2/components/chartblocks/BarchartV2.d.ts +2 -0
- package/dist/insights-v2/components/chartblocks/BarchartV2.es.js +148 -0
- package/dist/insights-v2/components/chartblocks/BarchartV2.es.js.map +1 -0
- package/dist/insights-v2/components/chartblocks/EmptyBarChart.d.ts +1 -0
- package/dist/insights-v2/components/chartblocks/EmptyBarChart.es.js +14 -0
- package/dist/insights-v2/components/chartblocks/EmptyBarChart.es.js.map +1 -0
- package/dist/insights-v2/components/chartblocks/ThemedSVGImage.d.ts +2 -0
- package/dist/insights-v2/components/chartblocks/ThemedSVGImage.es.js +49 -0
- package/dist/insights-v2/components/chartblocks/ThemedSVGImage.es.js.map +1 -0
- package/dist/insights-v2/components/logoShadow.d.ts +26 -0
- package/dist/insights-v2/components/logoShadow.es.js +12 -0
- package/dist/insights-v2/components/logoShadow.es.js.map +1 -0
- package/dist/insights-v2/components/shared/Confetti.d.ts +15 -0
- package/dist/insights-v2/components/shared/Confetti.es.js +33 -0
- package/dist/insights-v2/components/shared/Confetti.es.js.map +1 -0
- package/dist/insights-v2/components/shared/images/DesignateEmergencySavings.es.js +338 -0
- package/dist/insights-v2/components/shared/images/DesignateEmergencySavings.es.js.map +1 -0
- package/dist/insights-v2/components/shared/images/PaidOffCard.es.js +85 -0
- package/dist/insights-v2/components/shared/images/PaidOffCard.es.js.map +1 -0
- package/dist/insights-v2/components/shared/images/SavingsAccountDeposit.es.js +124 -0
- package/dist/insights-v2/components/shared/images/SavingsAccountDeposit.es.js.map +1 -0
- package/dist/insights-v2/components/shared/images/SavingsOpportunityLeft.es.js +104 -0
- package/dist/insights-v2/components/shared/images/SavingsOpportunityLeft.es.js.map +1 -0
- package/dist/insights-v2/components/shared/images/SavingsOpportunityLeftDark.es.js +104 -0
- package/dist/insights-v2/components/shared/images/SavingsOpportunityLeftDark.es.js.map +1 -0
- package/dist/insights-v2/components/shared/images/SavingsOpportunityPerforation.es.js +38 -0
- package/dist/insights-v2/components/shared/images/SavingsOpportunityPerforation.es.js.map +1 -0
- package/dist/insights-v2/components/statusTokens.d.ts +12 -0
- package/dist/insights-v2/components/statusTokens.es.js +10 -0
- package/dist/insights-v2/components/statusTokens.es.js.map +1 -0
- package/dist/insights-v2/hooks/useContainerDimensions.d.ts +5 -0
- package/dist/insights-v2/hooks/useContainerDimensions.es.js +26 -0
- package/dist/insights-v2/hooks/useContainerDimensions.es.js.map +1 -0
- package/dist/insights-v2/index.d.ts +18 -0
- package/dist/insights-v2/index.es.js +55 -0
- package/dist/insights-v2/mappings/blocks.d.ts +14 -0
- package/dist/insights-v2/mappings/blocks.es.js +32 -0
- package/dist/insights-v2/mappings/blocks.es.js.map +1 -0
- package/dist/investments/InvestmentsWidget.es.js +10 -10
- package/dist/investments/components/AnalysisDetails.es.js +4 -4
- package/dist/investments/components/allocation/InvestementAllocationList.es.js +27 -27
- package/dist/microinsights/MicroCardTemplate.es.js +4 -4
- package/dist/microinsights/carousel/BeatList.es.js +9 -9
- package/dist/networth/NetWorthWidget.es.js +6 -6
- package/dist/networth/components/AssetsLiabilitiesDetail.es.js +2 -2
- package/dist/networth/components/GainsLossesDetail.es.js +13 -13
- package/dist/notifications/components/NotificationDrawer.es.js +5 -5
- package/dist/notifications/components/NotificationList.es.js +13 -13
- package/dist/recurringtransactions/components/MicroWidgetContent.es.js +13 -13
- package/dist/recurringtransactions/components/RecurrenceRow.es.js +6 -6
- package/dist/recurringtransactions/components/RecurringStatus.es.js +4 -4
- package/dist/recurringtransactions/components/RecurringTransactionDetails.es.js +19 -19
- package/dist/recurringtransactions/components/actions/PaymentScheduleAction.es.js +9 -9
- package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceDay.es.js +5 -5
- package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransaction.es.js +25 -25
- package/dist/recurringtransactions/components/shared/recurringsettings/ManageIncome.es.js +5 -5
- package/dist/settings/components/notifications/NotificationSettings.es.js +12 -12
- package/dist/settings/components/profile/ProfileTab.es.js +20 -20
- package/dist/trends/TrendsWidget.es.js +25 -25
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useAccountStore as et, useEvent as ot, useGlobalCopyStore as
|
|
1
|
+
import { useAccountStore as et, useEvent as ot, useGlobalCopyStore as at, useGlobalUiStore as nt, useRecurringTransactionsStore as it, useTransactionStore as st } from "../../common/context/hooks.es.js";
|
|
2
2
|
import rt from "../../common/components/dialog/Dialog.es.js";
|
|
3
3
|
import ct from "../../common/components/drawer/Drawer.es.js";
|
|
4
4
|
import { ANALYTICS_EVENTS as h } from "../../common/constants/Analytics.es.js";
|
|
@@ -15,7 +15,7 @@ import { MarkAsUnpaidDialog as kt } from "./actions/MarkAsUnpaidDialog.es.js";
|
|
|
15
15
|
import { PaymentScheduleAction as Ct } from "./actions/PaymentScheduleAction.es.js";
|
|
16
16
|
import { RecurringTransactionList as St } from "./RecurringTransactionList.es.js";
|
|
17
17
|
import { UpcomingRecurrenceCard as gt } from "./UpcomingRecurrenceCard.es.js";
|
|
18
|
-
import
|
|
18
|
+
import n from "react";
|
|
19
19
|
import { observer as Dt } from "mobx-react-lite";
|
|
20
20
|
import b from "@mui/material/Stack";
|
|
21
21
|
import { MerchantLogo as yt, P as Rt, Text as w } from "@mxenabled/mxui";
|
|
@@ -28,8 +28,8 @@ import { subDays as xt } from "date-fns/subDays";
|
|
|
28
28
|
import A from "@mui/material/Divider";
|
|
29
29
|
import It from "@mui/material/List";
|
|
30
30
|
var ie = Dt(({ onDeleted: M, recurringTransaction: e, selectedRecurrence: i }) => {
|
|
31
|
-
const { recurring:
|
|
32
|
-
|
|
31
|
+
const { recurring: a } = at(), { selectedAccountGuids: U } = nt(), { onEvent: l } = ot(), { deleteRepeatingTransaction: L, markRecurrenceAsUnpaid: N, recurrences: v } = it(), { detailedTransactions: k, setFilter: E, transactions: m } = st(), { setSelectedAccount: G, setSelectedMember: O } = pt(), { members: P } = et(), { amount: K, description: B, merchant_guid: F } = e, [j, C] = n.useState(!1), [z, S] = n.useState(!1), [$, d] = n.useState(!1), [V, u] = n.useState(!1), [Y, p] = n.useState(""), [q, g] = n.useState(!1), [f, D] = n.useState("");
|
|
32
|
+
n.useEffect(() => {
|
|
33
33
|
E({
|
|
34
34
|
accounts: U,
|
|
35
35
|
dateRange: {
|
|
@@ -39,7 +39,7 @@ var ie = Dt(({ onDeleted: M, recurringTransaction: e, selectedRecurrence: i }) =
|
|
|
39
39
|
custom: (o) => o.repeating_transaction_guid === e.guid
|
|
40
40
|
});
|
|
41
41
|
}, [e.guid]);
|
|
42
|
-
const s =
|
|
42
|
+
const s = n.useMemo(() => k.find((o) => o.guid === f), [f, k]), r = e.repeating_transaction_type === mt.Income, H = n.useMemo(() => m.filter((o) => o.repeating_transaction_guid === e.guid), [m, e.guid]), J = ut(e, v), Q = () => {
|
|
43
43
|
if (e.account) {
|
|
44
44
|
G(e.account);
|
|
45
45
|
const o = P.find((_) => _.guid === e.account?.member_guid) || {};
|
|
@@ -56,7 +56,7 @@ var ie = Dt(({ onDeleted: M, recurringTransaction: e, selectedRecurrence: i }) =
|
|
|
56
56
|
}, R = (o) => {
|
|
57
57
|
p(o), u(!0), l(h.RECURRING_TRANSACTIONS_LIST_CLICK_MARK_AS_UNPAID);
|
|
58
58
|
}, tt = async () => {
|
|
59
|
-
const o = m.find((_) => _.guid ===
|
|
59
|
+
const o = m.find((_) => _.guid === Y);
|
|
60
60
|
o && await N(o), u(!1), p("");
|
|
61
61
|
};
|
|
62
62
|
return /* @__PURE__ */ c(b, {
|
|
@@ -70,7 +70,7 @@ var ie = Dt(({ onDeleted: M, recurringTransaction: e, selectedRecurrence: i }) =
|
|
|
70
70
|
children: [
|
|
71
71
|
/* @__PURE__ */ t(yt, {
|
|
72
72
|
categoryGuid: s?.category_guid || "",
|
|
73
|
-
merchantGuid:
|
|
73
|
+
merchantGuid: F,
|
|
74
74
|
size: 64,
|
|
75
75
|
sx: { mb: 12 }
|
|
76
76
|
}),
|
|
@@ -100,14 +100,14 @@ var ie = Dt(({ onDeleted: M, recurringTransaction: e, selectedRecurrence: i }) =
|
|
|
100
100
|
children: [
|
|
101
101
|
e.account && /* @__PURE__ */ c(I, { children: [/* @__PURE__ */ t(T, {
|
|
102
102
|
iconName: "checkbook",
|
|
103
|
-
label:
|
|
103
|
+
label: a.account,
|
|
104
104
|
onClick: Q,
|
|
105
105
|
showChevron: !1,
|
|
106
106
|
value: e.account.displayName || ""
|
|
107
107
|
}), /* @__PURE__ */ t(A, { variant: "inset" })] }),
|
|
108
108
|
s?.category && /* @__PURE__ */ c(I, { children: [/* @__PURE__ */ t(T, {
|
|
109
109
|
iconName: "monetization_on",
|
|
110
|
-
label:
|
|
110
|
+
label: a.category,
|
|
111
111
|
value: s.category
|
|
112
112
|
}), /* @__PURE__ */ t(A, { variant: "inset" })] }),
|
|
113
113
|
/* @__PURE__ */ t(Ct, { repeatingTransaction: e }),
|
|
@@ -123,7 +123,7 @@ var ie = Dt(({ onDeleted: M, recurringTransaction: e, selectedRecurrence: i }) =
|
|
|
123
123
|
my: 16
|
|
124
124
|
},
|
|
125
125
|
variant: "text",
|
|
126
|
-
children: r ?
|
|
126
|
+
children: r ? a.delete_income_title : a.delete_expense_title
|
|
127
127
|
}),
|
|
128
128
|
/* @__PURE__ */ t(St, {
|
|
129
129
|
isIncome: r,
|
|
@@ -134,29 +134,29 @@ var ie = Dt(({ onDeleted: M, recurringTransaction: e, selectedRecurrence: i }) =
|
|
|
134
134
|
transactions: H
|
|
135
135
|
}),
|
|
136
136
|
/* @__PURE__ */ t(ct, {
|
|
137
|
-
ariaLabelClose:
|
|
137
|
+
ariaLabelClose: a.close_drawer_aria,
|
|
138
138
|
isOpen: !!f && !!s,
|
|
139
139
|
onClose: () => D(""),
|
|
140
|
-
title:
|
|
140
|
+
title: a.transaction_details_drawer_title,
|
|
141
141
|
children: s && /* @__PURE__ */ t(ft, { transaction: s })
|
|
142
142
|
}),
|
|
143
143
|
/* @__PURE__ */ t(rt, {
|
|
144
144
|
copy: {
|
|
145
|
-
title: r ?
|
|
146
|
-
close_aria:
|
|
145
|
+
title: r ? a.delete_income_title : a.delete_expense_title,
|
|
146
|
+
close_aria: a.close_drawer_aria
|
|
147
147
|
},
|
|
148
|
-
isOpen:
|
|
148
|
+
isOpen: z,
|
|
149
149
|
onClose: () => S(!1),
|
|
150
150
|
onPrimaryAction: W,
|
|
151
|
-
children: /* @__PURE__ */ t(w, { children: r ?
|
|
151
|
+
children: /* @__PURE__ */ t(w, { children: r ? a.delete_income_description : a.delete_expense_description })
|
|
152
152
|
}),
|
|
153
153
|
/* @__PURE__ */ t(At, {
|
|
154
|
-
isOpen:
|
|
154
|
+
isOpen: $,
|
|
155
155
|
onClose: () => d(!1),
|
|
156
156
|
onLinkTransaction: Z
|
|
157
157
|
}),
|
|
158
158
|
/* @__PURE__ */ t(kt, {
|
|
159
|
-
isOpen:
|
|
159
|
+
isOpen: V,
|
|
160
160
|
onClose: () => {
|
|
161
161
|
u(!1), p("");
|
|
162
162
|
},
|
|
@@ -168,7 +168,7 @@ var ie = Dt(({ onDeleted: M, recurringTransaction: e, selectedRecurrence: i }) =
|
|
|
168
168
|
recurringTransaction: e
|
|
169
169
|
}),
|
|
170
170
|
/* @__PURE__ */ t(_t, {
|
|
171
|
-
isOpen:
|
|
171
|
+
isOpen: j,
|
|
172
172
|
onClose: () => C(!1)
|
|
173
173
|
})
|
|
174
174
|
]
|
|
@@ -4,21 +4,21 @@ import { ANALYTICS_EVENTS as D } from "../../../common/constants/Analytics.es.js
|
|
|
4
4
|
import { getFrequencyLabel as E } from "../../../core/utils/RecurringTransactionsUtil.es.js";
|
|
5
5
|
import v from "../../../common/components/DataRow.es.js";
|
|
6
6
|
import { PaymentSchedule as A } from "../PaymentSchedule.es.js";
|
|
7
|
-
import
|
|
7
|
+
import t from "react";
|
|
8
8
|
import { observer as R } from "mobx-react-lite";
|
|
9
|
-
import { Fragment as
|
|
9
|
+
import { Fragment as F, jsx as n, jsxs as N } from "react/jsx-runtime";
|
|
10
10
|
var x = R(({ repeatingTransaction: e }) => {
|
|
11
|
-
const { recurring: r } = f(), { updateRepeatingTransaction: u } = C(), { onEvent:
|
|
11
|
+
const { recurring: r } = f(), { updateRepeatingTransaction: u } = C(), { onEvent: m } = p(), [y, o] = t.useState(!1), [c, l] = t.useState(e.recurrence_type), [a, i] = t.useState(e.recurrence_day), [s, d] = t.useState(e.second_recurrence_day), _ = async () => {
|
|
12
12
|
await u({
|
|
13
13
|
...e,
|
|
14
14
|
recurrence_type: c,
|
|
15
15
|
recurrence_day: a,
|
|
16
16
|
second_recurrence_day: s
|
|
17
|
-
}),
|
|
17
|
+
}), o(!1);
|
|
18
18
|
}, S = () => {
|
|
19
|
-
|
|
19
|
+
o(!0), m(D.RECURRING_TRANSACTIONS_DETAILS_CLICK_PAYMENT_SCHEDULE);
|
|
20
20
|
};
|
|
21
|
-
return /* @__PURE__ */ F
|
|
21
|
+
return /* @__PURE__ */ N(F, { children: [/* @__PURE__ */ n(v, {
|
|
22
22
|
iconName: "sync",
|
|
23
23
|
label: r.activity_schedule,
|
|
24
24
|
onClick: S,
|
|
@@ -26,15 +26,15 @@ var x = R(({ repeatingTransaction: e }) => {
|
|
|
26
26
|
value: `${E(r, e, !0)}`
|
|
27
27
|
}), /* @__PURE__ */ n(h, {
|
|
28
28
|
ariaLabelClose: r.close_drawer_aria,
|
|
29
|
-
isOpen:
|
|
30
|
-
onClose: () =>
|
|
29
|
+
isOpen: y,
|
|
30
|
+
onClose: () => o(!1),
|
|
31
31
|
onPrimaryAction: _,
|
|
32
32
|
title: r.payment_schedule,
|
|
33
33
|
children: /* @__PURE__ */ n(A, {
|
|
34
34
|
firstDay: a,
|
|
35
35
|
frequency: c,
|
|
36
36
|
onFirstDayChange: i,
|
|
37
|
-
onFrequencyChange:
|
|
37
|
+
onFrequencyChange: l,
|
|
38
38
|
onSecondDayChange: d,
|
|
39
39
|
secondDay: s
|
|
40
40
|
})
|
|
@@ -9,17 +9,17 @@ import { isSameDay as G } from "date-fns/isSameDay";
|
|
|
9
9
|
import U from "@mui/material/Badge";
|
|
10
10
|
import { PickersDay as Y } from "@mui/x-date-pickers/PickersDay";
|
|
11
11
|
var W = P(({ day: r, outsideCurrentMonth: u, ...d }) => {
|
|
12
|
-
const { recurring: s } = B(), { selectedAccountGuids: l } = M(), { recurrences: f, setSelectedDay: x } = O(), t = T.useMemo(() => f.filter((e) => l.includes(e.accountGuid)), [l, f]).filter((e) => G(e.occurredOnDate || e.expectedDate, r)),
|
|
12
|
+
const { recurring: s } = B(), { selectedAccountGuids: l } = M(), { recurrences: f, setSelectedDay: x } = O(), t = T.useMemo(() => f.filter((e) => l.includes(e.accountGuid)), [l, f]).filter((e) => G(e.occurredOnDate || e.expectedDate, r)), a = t.some((e) => e.type !== c.Income && e.status === p.Upcoming), i = t.some((e) => e.type !== c.Income && e.status === p.Missed), n = t.some((e) => e.type !== c.Income && e.status === p.Paid), m = t.some((e) => e.type === c.Income), R = (a ? 1 : 0) + (i ? 1 : 0) + (n ? 1 : 0) + (m ? 1 : 0), g = [
|
|
13
13
|
n && s.paid,
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
i && s.missed,
|
|
15
|
+
a && s.upcoming,
|
|
16
16
|
m && s.income
|
|
17
17
|
].filter(Boolean), b = g.length > 0 ? `${D(r, y.MONTH_DAY_YEAR)}, ${g.join(", ")}` : D(r, y.MONTH_DAY_YEAR);
|
|
18
18
|
return /* @__PURE__ */ o(U, {
|
|
19
19
|
badgeContent: t.length > 0 && /* @__PURE__ */ E(_, { children: [
|
|
20
|
-
|
|
20
|
+
i && /* @__PURE__ */ o(A, { isOffset: !0 }),
|
|
21
21
|
n && /* @__PURE__ */ o(I, { isOffset: !0 }),
|
|
22
|
-
|
|
22
|
+
a && /* @__PURE__ */ o(S, { isOffset: !0 }),
|
|
23
23
|
m && /* @__PURE__ */ o(h, { isOffset: !0 })
|
|
24
24
|
] }),
|
|
25
25
|
overlap: "circular",
|
package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransaction.es.js
CHANGED
|
@@ -8,13 +8,13 @@ import { AddRecurringTransactionDetails as z } from "./AddRecurringTransactionDe
|
|
|
8
8
|
import o from "react";
|
|
9
9
|
import { observer as E } from "mobx-react-lite";
|
|
10
10
|
import N from "@mui/material/Button";
|
|
11
|
-
import { Add as
|
|
12
|
-
import { Fragment as
|
|
13
|
-
import { fromUnixTime as
|
|
14
|
-
import { formatISO as
|
|
15
|
-
var ce = E(({ isIncome:
|
|
16
|
-
const { recurring: r } = w(), { filter: s, setFilter: c, transactions: _ } = G(), { addRepeatingTransaction: D } = B(), { user: C } = j(), [O, d] = o.useState(!1), [u,
|
|
17
|
-
d(!0), c(
|
|
11
|
+
import { Add as $ } from "@mxenabled/mx-icons";
|
|
12
|
+
import { Fragment as H, jsx as a, jsxs as I } from "react/jsx-runtime";
|
|
13
|
+
import { fromUnixTime as J } from "date-fns/fromUnixTime";
|
|
14
|
+
import { formatISO as K } from "date-fns/formatISO";
|
|
15
|
+
var ce = E(({ isIncome: i = !1, label: f, onAddRecurringTransaction: x = () => null }) => {
|
|
16
|
+
const { recurring: r } = w(), { filter: s, setFilter: c, transactions: _ } = G(), { addRepeatingTransaction: D } = B(), { user: C } = j(), [O, d] = o.useState(!1), [u, m] = o.useState(""), [p, R] = o.useState(L.EveryMonth), [l, A] = o.useState(1), [y, b] = o.useState(15), e = o.useMemo(() => _.find((t) => t.guid === u), [u, _]), q = () => {
|
|
17
|
+
d(!0), c(i ? {
|
|
18
18
|
...s,
|
|
19
19
|
custom: F
|
|
20
20
|
} : {
|
|
@@ -27,56 +27,56 @@ var ce = E(({ isIncome: a = !1, label: f, onAddRecurringTransaction: x = () => n
|
|
|
27
27
|
return;
|
|
28
28
|
}
|
|
29
29
|
x();
|
|
30
|
-
const t = M(
|
|
30
|
+
const t = M(p, J(e.date), l), n = {
|
|
31
31
|
account_guid: e.account_guid,
|
|
32
32
|
amount: e.amount,
|
|
33
33
|
created_by: 0,
|
|
34
34
|
merchant_guid: e.merchant_guid,
|
|
35
35
|
description: e.payee || e.description || e.feed_description,
|
|
36
|
-
predicted_occurs_on:
|
|
36
|
+
predicted_occurs_on: K(t, { representation: "date" }),
|
|
37
37
|
recurrence_day: l,
|
|
38
|
-
recurrence_type:
|
|
39
|
-
repeating_transaction_type:
|
|
38
|
+
recurrence_type: p,
|
|
39
|
+
repeating_transaction_type: i ? T.Income : T.Bill,
|
|
40
40
|
second_recurrence_day: y,
|
|
41
41
|
transaction_type: e.transaction_type,
|
|
42
42
|
user_guid: C.guid
|
|
43
43
|
};
|
|
44
44
|
await D(n, e), g();
|
|
45
45
|
}, g = () => {
|
|
46
|
-
|
|
46
|
+
m(""), d(!1);
|
|
47
47
|
};
|
|
48
|
-
return /* @__PURE__ */
|
|
49
|
-
/* @__PURE__ */
|
|
48
|
+
return /* @__PURE__ */ I(H, { children: [
|
|
49
|
+
/* @__PURE__ */ a(N, {
|
|
50
50
|
onClick: q,
|
|
51
|
-
startIcon: /* @__PURE__ */
|
|
51
|
+
startIcon: /* @__PURE__ */ a($, { size: 24 }),
|
|
52
52
|
variant: "contained",
|
|
53
53
|
children: f
|
|
54
54
|
}),
|
|
55
|
-
/* @__PURE__ */
|
|
55
|
+
/* @__PURE__ */ a(S, {
|
|
56
56
|
ariaLabelClose: r.close_drawer_aria,
|
|
57
57
|
isOpen: O,
|
|
58
58
|
onClose: () => d(!1),
|
|
59
59
|
title: f,
|
|
60
|
-
children: /* @__PURE__ */
|
|
61
|
-
description:
|
|
60
|
+
children: /* @__PURE__ */ a(k, {
|
|
61
|
+
description: i ? r.add_income_description : r.add_expense_description,
|
|
62
62
|
onSearch: (t) => {
|
|
63
63
|
c({
|
|
64
64
|
...s,
|
|
65
|
-
custom: (n) =>
|
|
65
|
+
custom: (n) => i ? t ? U(n, t) : F(n) : t ? P(n, t) : h(n)
|
|
66
66
|
});
|
|
67
67
|
},
|
|
68
|
-
onSelected: (t) =>
|
|
68
|
+
onSelected: (t) => m(t)
|
|
69
69
|
})
|
|
70
70
|
}),
|
|
71
|
-
/* @__PURE__ */
|
|
71
|
+
/* @__PURE__ */ a(S, {
|
|
72
72
|
ariaLabelClose: r.close_drawer_aria,
|
|
73
73
|
isOpen: !!u,
|
|
74
|
-
onClose: () =>
|
|
74
|
+
onClose: () => m(""),
|
|
75
75
|
onPrimaryAction: v,
|
|
76
|
-
title:
|
|
77
|
-
children: e && /* @__PURE__ */
|
|
76
|
+
title: i ? r.income_details : r.expense_details,
|
|
77
|
+
children: e && /* @__PURE__ */ a(z, {
|
|
78
78
|
firstDay: l,
|
|
79
|
-
frequency:
|
|
79
|
+
frequency: p,
|
|
80
80
|
onFirstDayChange: A,
|
|
81
81
|
onFrequencyChange: R,
|
|
82
82
|
onSecondDayChange: b,
|
|
@@ -13,10 +13,10 @@ import i from "@mui/material/Box";
|
|
|
13
13
|
import s from "@mui/material/Divider";
|
|
14
14
|
import N from "@mui/material/List";
|
|
15
15
|
var z = S(({ forOverview: t = !1 }) => {
|
|
16
|
-
const { recurring:
|
|
17
|
-
|
|
16
|
+
const { recurring: a } = f(), { detailedRepeatingTransactions: p } = h(), { onEvent: c } = u(), l = (e) => {
|
|
17
|
+
c(m.RECURRING_TRANSACTIONS_CLICK_INCOME, { repeating_transaction_guid: e.guid });
|
|
18
18
|
}, g = () => {
|
|
19
|
-
|
|
19
|
+
c(m.RECURRING_TRANSACTIONS_CLICK_ADD_INCOME);
|
|
20
20
|
}, n = p.filter((e) => e.repeating_transaction_type === R.Income && (e.transactions.length > 0 || e.recurrence_type === x.EveryYear));
|
|
21
21
|
return /* @__PURE__ */ r(y, { children: n.length !== 0 ? /* @__PURE__ */ o(A, {
|
|
22
22
|
sx: {
|
|
@@ -32,7 +32,7 @@ var z = S(({ forOverview: t = !1 }) => {
|
|
|
32
32
|
mx: 24
|
|
33
33
|
},
|
|
34
34
|
variant: "body2",
|
|
35
|
-
children:
|
|
35
|
+
children: a.income
|
|
36
36
|
}),
|
|
37
37
|
/* @__PURE__ */ r(i, {
|
|
38
38
|
sx: {
|
|
@@ -58,7 +58,7 @@ var z = S(({ forOverview: t = !1 }) => {
|
|
|
58
58
|
},
|
|
59
59
|
children: /* @__PURE__ */ r(T, {
|
|
60
60
|
isIncome: !0,
|
|
61
|
-
label:
|
|
61
|
+
label: a.add_income,
|
|
62
62
|
onAddRecurringTransaction: g
|
|
63
63
|
})
|
|
64
64
|
})] })
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { useAccountStore as
|
|
1
|
+
import { useAccountStore as O, useAppConfig as j, useGlobalCopyStore as w, useGlobalUiStore as G, useSettingsStore as M } from "../../../common/context/hooks.es.js";
|
|
2
2
|
import { useInsightsEnabled as R } from "../../../common/hooks/useInsightsEnabled.es.js";
|
|
3
3
|
import { useWidgetLoadTimer as T } from "../../../common/hooks/useWidgetLoadTimer.es.js";
|
|
4
4
|
import W from "../../../common/components/drawer/Drawer.es.js";
|
|
5
5
|
import { NotificationTypes as i } from "../../../core/types/Notification.es.js";
|
|
6
|
-
import
|
|
6
|
+
import $ from "../../../common/components/Loader.es.js";
|
|
7
7
|
import { AccountNotificationProfiles as y } from "./AccountNotificationProfiles.es.js";
|
|
8
8
|
import { BudgetNotificationProfiles as I } from "./BudgetNotificationProfiles.es.js";
|
|
9
|
-
import { DeliveryMethods as
|
|
9
|
+
import { DeliveryMethods as z } from "./DeliveryMethods.es.js";
|
|
10
10
|
import { InsightsNotificationProfiles as x } from "./InsightsNotificationProfiles.es.js";
|
|
11
|
-
import
|
|
11
|
+
import H from "./PersonalDetails.es.js";
|
|
12
12
|
import c from "react";
|
|
13
|
-
import { observer as
|
|
13
|
+
import { observer as U } from "mobx-react-lite";
|
|
14
14
|
import l from "@mui/material/Stack";
|
|
15
15
|
import { H3 as q } from "@mxenabled/mxui";
|
|
16
16
|
import { ChevronRight as f } from "@mxenabled/mx-icons";
|
|
@@ -20,8 +20,8 @@ import Q from "@mui/material/List";
|
|
|
20
20
|
import u from "@mui/material/ListItem";
|
|
21
21
|
import p from "@mui/material/ListItemButton";
|
|
22
22
|
import g from "@mui/material/ListItemText";
|
|
23
|
-
var bt =
|
|
24
|
-
const { config: h } =
|
|
23
|
+
var bt = U(({ notificationTypes: n = [i.Accounts, i.Budgets], showPersonalDetails: S = !1, view: a }) => {
|
|
24
|
+
const { config: h } = j(), { settings: e } = w(), { isInitialized: d } = G(), { isAccountDataLoaded: A, loadAccountData: L } = O(), { clientCommunicationProfile: _, loadNotificationProfiles: B } = M(), C = R(), [D, E] = c.useState(!1), [s, r] = c.useState(void 0);
|
|
25
25
|
if (n.length > 0 && C && n.push(i.Insights), T({
|
|
26
26
|
widgetName: "NotificationSettingsWidget",
|
|
27
27
|
isLoaded: D
|
|
@@ -29,20 +29,20 @@ var bt = $(({ notificationTypes: n = [i.Accounts, i.Budgets], showPersonalDetail
|
|
|
29
29
|
A || L().finally();
|
|
30
30
|
}, []), c.useEffect(() => {
|
|
31
31
|
d && B().finally(() => E(!0));
|
|
32
|
-
}, [d]), !d) return /* @__PURE__ */ t(
|
|
32
|
+
}, [d]), !d) return /* @__PURE__ */ t($, {});
|
|
33
33
|
let m = e.manage_account_notifications;
|
|
34
34
|
s === i.Budgets ? m = e.manage_budget_notifications : s === i.Insights && (m = e.manage_insights_notifications);
|
|
35
35
|
const { email_notifications_enabled: N, sms_notifications_enabled: P, push_notifications_enabled: v } = _, b = N || P || v;
|
|
36
36
|
if (a === "accounts") return /* @__PURE__ */ t(y, {});
|
|
37
37
|
if (a === "budgets") return /* @__PURE__ */ t(I, {});
|
|
38
38
|
if (a === "insights") return /* @__PURE__ */ t(x, {});
|
|
39
|
-
const k = h.display_email_edit_field_in_settings || h.display_sms_edit_field_in_settings,
|
|
39
|
+
const k = h.display_email_edit_field_in_settings || h.display_sms_edit_field_in_settings, F = S && _.can_edit_contact_info && k;
|
|
40
40
|
return /* @__PURE__ */ o(l, {
|
|
41
41
|
sx: { pt: b ? 0 : 24 },
|
|
42
42
|
children: [
|
|
43
43
|
/* @__PURE__ */ o(l, {
|
|
44
44
|
sx: { px: 24 },
|
|
45
|
-
children: [b && /* @__PURE__ */ o(J, { children: [/* @__PURE__ */ t(
|
|
45
|
+
children: [b && /* @__PURE__ */ o(J, { children: [/* @__PURE__ */ t(z, {}), /* @__PURE__ */ t(K, { sx: { my: 24 } })] }), /* @__PURE__ */ t(q, {
|
|
46
46
|
sx: { mb: 4 },
|
|
47
47
|
children: e.notification_types_title
|
|
48
48
|
})]
|
|
@@ -70,9 +70,9 @@ var bt = $(({ notificationTypes: n = [i.Accounts, i.Budgets], showPersonalDetail
|
|
|
70
70
|
}), /* @__PURE__ */ t(f, {})]
|
|
71
71
|
}) })
|
|
72
72
|
] }),
|
|
73
|
-
|
|
73
|
+
F && /* @__PURE__ */ t(l, {
|
|
74
74
|
sx: { px: 24 },
|
|
75
|
-
children: /* @__PURE__ */ t(
|
|
75
|
+
children: /* @__PURE__ */ t(H, {})
|
|
76
76
|
}),
|
|
77
77
|
/* @__PURE__ */ t(W, {
|
|
78
78
|
isOpen: !!s,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { useAppConfig as
|
|
1
|
+
import { useAppConfig as F, useGlobalCopyStore as B, useSettingsStore as L, useUserStore as M } from "../../../common/context/hooks.es.js";
|
|
2
2
|
import { useScreenSize as R } from "../../../common/hooks/useScreenSize.es.js";
|
|
3
3
|
import z from "../../../common/components/dialog/Dialog.es.js";
|
|
4
4
|
import I from "./actions/ResetPasswordAction.es.js";
|
|
5
5
|
import N from "./actions/VerifyEmailAction.es.js";
|
|
6
|
-
import
|
|
6
|
+
import $ from "./actions/VerifyPhoneAction.es.js";
|
|
7
7
|
import p from "react";
|
|
8
|
-
import { observer as
|
|
8
|
+
import { observer as j } from "mobx-react-lite";
|
|
9
9
|
import l from "@mui/material/Stack";
|
|
10
|
-
import { H3 as
|
|
11
|
-
import
|
|
10
|
+
import { H3 as H, P as J } from "@mxenabled/mxui";
|
|
11
|
+
import O from "@mui/material/Button";
|
|
12
12
|
import { Fragment as G, jsx as t, jsxs as i } from "react/jsx-runtime";
|
|
13
13
|
import { alpha as b, useTheme as K } from "@mui/material/styles";
|
|
14
14
|
import Y from "@mui/material/Box";
|
|
@@ -18,7 +18,7 @@ import { AdapterDateFns as Q } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
|
18
18
|
import { DatePicker as W } from "@mui/x-date-pickers";
|
|
19
19
|
import { LocalizationProvider as X } from "@mui/x-date-pickers/LocalizationProvider";
|
|
20
20
|
var Z = ({ availableWidth: C, handleOnLeaveClick: f }) => {
|
|
21
|
-
const u = K(), { common: w, settings: o } =
|
|
21
|
+
const u = K(), { common: w, settings: o } = B(), { isMobile: m } = R(C), { config: h } = F(), { updateUser: S } = L(), { user: r } = M(), [a, U] = p.useState({
|
|
22
22
|
first_name: r.first_name,
|
|
23
23
|
last_name: r.last_name,
|
|
24
24
|
email: r.email,
|
|
@@ -26,17 +26,17 @@ var Z = ({ availableWidth: C, handleOnLeaveClick: f }) => {
|
|
|
26
26
|
birthday: r.birthday,
|
|
27
27
|
postal_code: r.postal_code,
|
|
28
28
|
credit_score: r.credit_score
|
|
29
|
-
}), [
|
|
29
|
+
}), [c, y] = p.useState(!1), [P, g] = p.useState(!1), _ = p.useRef(null), v = a.email && !r.email_is_verified && !c, x = a.phone && !r.phone_is_verified && !c;
|
|
30
30
|
p.useEffect(() => {
|
|
31
31
|
if (f) {
|
|
32
32
|
const e = (s) => {
|
|
33
|
-
_.current && !_.current.contains(s.target) &&
|
|
33
|
+
_.current && !_.current.contains(s.target) && c && g(!0);
|
|
34
34
|
};
|
|
35
35
|
return document.addEventListener("mousedown", e), () => {
|
|
36
36
|
document.removeEventListener("mousedown", e);
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
|
-
}, [
|
|
39
|
+
}, [c]);
|
|
40
40
|
const T = () => {
|
|
41
41
|
if (a.birthday) {
|
|
42
42
|
const e = /* @__PURE__ */ new Date(a.birthday * 1e3), s = e.getUTCFullYear(), A = e.getUTCMonth(), E = e.getUTCDate();
|
|
@@ -70,13 +70,13 @@ var Z = ({ availableWidth: C, handleOnLeaveClick: f }) => {
|
|
|
70
70
|
"& .MuiTextField-root": { flex: 1 }
|
|
71
71
|
},
|
|
72
72
|
children: [
|
|
73
|
-
/* @__PURE__ */ t(
|
|
74
|
-
/* @__PURE__ */ t(
|
|
73
|
+
/* @__PURE__ */ t(H, { children: o.personal_details }),
|
|
74
|
+
/* @__PURE__ */ t(J, {
|
|
75
75
|
variant: "body1",
|
|
76
76
|
children: o.update_information
|
|
77
77
|
}),
|
|
78
78
|
/* @__PURE__ */ i(l, {
|
|
79
|
-
direction:
|
|
79
|
+
direction: m ? "column" : "row",
|
|
80
80
|
spacing: 24,
|
|
81
81
|
sx: {
|
|
82
82
|
mb: 24,
|
|
@@ -93,12 +93,12 @@ var Z = ({ availableWidth: C, handleOnLeaveClick: f }) => {
|
|
|
93
93
|
})]
|
|
94
94
|
}),
|
|
95
95
|
/* @__PURE__ */ i(l, {
|
|
96
|
-
direction:
|
|
96
|
+
direction: m ? "column" : "row",
|
|
97
97
|
children: [h.display_email_edit_field_in_settings && /* @__PURE__ */ i(l, {
|
|
98
98
|
sx: {
|
|
99
99
|
flex: 1,
|
|
100
100
|
mb: v ? 20 : 24,
|
|
101
|
-
mr:
|
|
101
|
+
mr: m ? 0 : 24
|
|
102
102
|
},
|
|
103
103
|
children: [/* @__PURE__ */ t(d, {
|
|
104
104
|
defaultValue: a.email,
|
|
@@ -115,11 +115,11 @@ var Z = ({ availableWidth: C, handleOnLeaveClick: f }) => {
|
|
|
115
115
|
label: o.mobile_number,
|
|
116
116
|
onChange: (e) => n({ phone: e.target.value }),
|
|
117
117
|
type: "tel"
|
|
118
|
-
}), x && /* @__PURE__ */ t(
|
|
118
|
+
}), x && /* @__PURE__ */ t($, {})]
|
|
119
119
|
})]
|
|
120
120
|
}),
|
|
121
121
|
/* @__PURE__ */ i(l, {
|
|
122
|
-
direction:
|
|
122
|
+
direction: m ? "column" : "row",
|
|
123
123
|
spacing: 24,
|
|
124
124
|
sx: { mb: 24 },
|
|
125
125
|
children: [/* @__PURE__ */ t(X, {
|
|
@@ -159,10 +159,10 @@ var Z = ({ availableWidth: C, handleOnLeaveClick: f }) => {
|
|
|
159
159
|
onChange: (e) => n({ credit_score: Number(e.target.value) })
|
|
160
160
|
}),
|
|
161
161
|
h.display_password_options_in_settings && /* @__PURE__ */ t(I, {}),
|
|
162
|
-
/* @__PURE__ */ t(
|
|
163
|
-
disabled: !
|
|
162
|
+
/* @__PURE__ */ t(O, {
|
|
163
|
+
disabled: !c,
|
|
164
164
|
onClick: V,
|
|
165
|
-
sx: { width:
|
|
165
|
+
sx: { width: m ? "100%" : 124 },
|
|
166
166
|
variant: "contained",
|
|
167
167
|
children: w.save_button
|
|
168
168
|
})
|
|
@@ -177,7 +177,7 @@ var Z = ({ availableWidth: C, handleOnLeaveClick: f }) => {
|
|
|
177
177
|
secondaryText: o.leave,
|
|
178
178
|
children: o.discard_changes_message
|
|
179
179
|
})] });
|
|
180
|
-
}, ye =
|
|
180
|
+
}, ye = j(Z);
|
|
181
181
|
export {
|
|
182
182
|
ye as default
|
|
183
183
|
};
|