@mx-cartographer/experiences 9.3.8-alpha.al1 → 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 +14 -3
- 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/BudgetDetailsDrawer.es.js +95 -134
- package/dist/budgets/components/BudgetDetailsDrawer.es.js.map +1 -1
- package/dist/budgets/components/BudgetsEmptyState.es.js +7 -7
- package/dist/budgets/components/budgetdetails/AddSubBudget.es.js +56 -57
- package/dist/budgets/components/budgetdetails/AddSubBudget.es.js.map +1 -1
- package/dist/budgets/components/budgetdetails/SubBudgetList.es.js +34 -35
- package/dist/budgets/components/budgetdetails/SubBudgetList.es.js.map +1 -1
- package/dist/budgets/components/shared/BudgetAmount.d.ts +3 -7
- package/dist/budgets/components/shared/BudgetAmount.es.js +19 -40
- package/dist/budgets/components/shared/BudgetAmount.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
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,17 @@
|
|
|
1
|
-
## [9.
|
|
2
|
-
|
|
3
|
-
- **
|
|
1
|
+
## [9.4.0] - 08-25-2026
|
|
2
|
+
|
|
3
|
+
- **ADDED** - insights-v2.0 module: comprehensive reusable component library for insights UI
|
|
4
|
+
- **ADDED** - Chart blocks: BarChart, DoubleBarChart, DonutChart, StepChart, DoubleProgressBar (WEC-1256, WEC-1257, WEC-1258, WEC-1259, WEC-1260)
|
|
5
|
+
- **ADDED** - Content blocks: AccountBlock (with/without confetti variants), BudgetBlock (category/merchant), ActionBlock foundation (WEC-1309, WEC-1312, WEC-1315, WEC-1704)
|
|
6
|
+
- **ADDED** - Image blocks: SVG Block (with CIBC support), Image Block (WEC-1295, WEC-1296, WEC-1335)
|
|
7
|
+
- **ADDED** - Reusable components: AccountHeroCard, TransferLogoCard, MerchantHighlightCard, MerchantLogo, LogoClusterCard, LogoTile, MerchantLogoCard, P2PLogoStack, RankBadge, InsightTransactionRow, TransactionListCard, TransactionRow, DesignateEmergencySavingsCard, SaveAnExtraCard, SavingsOpportunityCard, UpcomingBillCard (WEC-1303, WEC-1305, WEC-1313, WEC-1714, WEC-1750)
|
|
8
|
+
- **ADDED** - Support components: StatusMessageCard, StatusPill, AmountPill, celebrationGradients module with confetti animations
|
|
9
|
+
- **ADDED** - Block type system: standardized block structure (BlockType, BlockConfig, BlockData), moved to `src/core/types/blocks/`, renamed `block_data` to `instance_slot_data` (WEC-1344)
|
|
10
|
+
- **ADDED** - Insight template system and mini layout support (WEC-1253, WEC-1254)
|
|
11
|
+
- **ADDED** - Storybook stories for all 40+ new components and blocks with interactive examples
|
|
12
|
+
- **ADDED** - RTL tests for all components with 85%+ code coverage across the insights-v2.0 module
|
|
13
|
+
- **CHANGED** - Block type definitions now centralized in `src/core/types/blocks/` with proper TypeScript exports
|
|
14
|
+
- **NOTE** - All insights-v2.0 components are presentational (stateless); data provided by consumers; ready for integration into blocks and containers
|
|
4
15
|
|
|
5
16
|
## [9.3.7] - 08-20-2026
|
|
6
17
|
|
|
@@ -11,8 +11,8 @@ import { Fragment as d, jsx as e, jsxs as r } from "react/jsx-runtime";
|
|
|
11
11
|
import { useTheme as j } from "@mui/material/styles";
|
|
12
12
|
import c from "@mui/material/Box";
|
|
13
13
|
import T from "@mui/material/ListItem";
|
|
14
|
-
import
|
|
15
|
-
import
|
|
14
|
+
import $ from "@mui/material/ListItemButton";
|
|
15
|
+
import M from "@mui/material/ListItemText";
|
|
16
16
|
import k from "@mui/material/ListItemAvatar";
|
|
17
17
|
import D from "@mui/material/Badge";
|
|
18
18
|
var E = ({ account: t, onRowClick: n, listItemProps: s, shouldShowConnectionStatus: p = !1 }) => {
|
|
@@ -26,7 +26,7 @@ var E = ({ account: t, onRowClick: n, listItemProps: s, shouldShowConnectionStat
|
|
|
26
26
|
alt: "MX",
|
|
27
27
|
institutionGuid: t.institution_guid || ""
|
|
28
28
|
})
|
|
29
|
-
}) }), /* @__PURE__ */ e(
|
|
29
|
+
}) }), /* @__PURE__ */ e(M, {
|
|
30
30
|
disableTypography: !0,
|
|
31
31
|
primary: /* @__PURE__ */ r(i, {
|
|
32
32
|
bold: !0,
|
|
@@ -76,7 +76,7 @@ var E = ({ account: t, onRowClick: n, listItemProps: s, shouldShowConnectionStat
|
|
|
76
76
|
color: t.is_closed ? "grey.700" : "",
|
|
77
77
|
...s?.sx
|
|
78
78
|
},
|
|
79
|
-
children: n ? /* @__PURE__ */ e(
|
|
79
|
+
children: n ? /* @__PURE__ */ e($, {
|
|
80
80
|
alignItems: "flex-start",
|
|
81
81
|
onClick: n,
|
|
82
82
|
sx: { px: 24 },
|
|
@@ -9,17 +9,17 @@ import { InstitutionLogo as D, P as k, Text as b } from "@mxenabled/mxui";
|
|
|
9
9
|
import { Fragment as w, jsx as t, jsxs as s } from "react/jsx-runtime";
|
|
10
10
|
import y from "@mui/material/Divider";
|
|
11
11
|
import S from "@mui/material/List";
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
12
|
+
import $ from "@mui/material/ListItem";
|
|
13
|
+
import j from "@mui/material/ListItemButton";
|
|
14
|
+
import G from "@mui/material/ListItemText";
|
|
15
|
+
import N from "@mui/material/ListItemAvatar";
|
|
16
16
|
import M from "@mui/material/ListSubheader";
|
|
17
|
-
var P = ({ onClick: i, shouldShowBalance:
|
|
17
|
+
var P = ({ onClick: i, shouldShowBalance: c = !0, loadAccounts: m }) => {
|
|
18
18
|
const { config: p } = L(), { accounts: l } = A(), { selectedAccounts: n } = C(), h = a.useCallback((e) => {
|
|
19
19
|
i?.(e);
|
|
20
|
-
}, [i]),
|
|
21
|
-
return n.length ? /* @__PURE__ */ t(a.Fragment, { children:
|
|
22
|
-
const { accountsForType: u, totalBalanceForType:
|
|
20
|
+
}, [i]), g = a.useMemo(() => Array.from(new Set(n.map((e) => e.account_type))).filter((e) => m ? m.includes(e) : !0), [n, m]);
|
|
21
|
+
return n.length ? /* @__PURE__ */ t(a.Fragment, { children: g.map((e) => {
|
|
22
|
+
const { accountsForType: u, totalBalanceForType: _ } = n.reduce((r, o) => (o.account_type === e && (r.accountsForType.push(o), r.totalBalanceForType += o.balance || 0), r), {
|
|
23
23
|
accountsForType: [],
|
|
24
24
|
totalBalanceForType: 0
|
|
25
25
|
});
|
|
@@ -40,21 +40,21 @@ var P = ({ onClick: i, shouldShowBalance: m = !0, loadAccounts: c }) => {
|
|
|
40
40
|
bold: !0,
|
|
41
41
|
variant: "caption",
|
|
42
42
|
children: l.account_types[e]
|
|
43
|
-
}),
|
|
43
|
+
}), c && /* @__PURE__ */ t(b, {
|
|
44
44
|
bold: !0,
|
|
45
45
|
variant: "caption",
|
|
46
|
-
children: f(
|
|
46
|
+
children: f(_, "0,0.00")
|
|
47
47
|
})]
|
|
48
48
|
})
|
|
49
49
|
}),
|
|
50
50
|
sx: { bgcolor: "background.paper" },
|
|
51
51
|
children: [u.map((r, o) => {
|
|
52
52
|
const { firstValue: x } = T(r, l, p.display_available_balance_in_accounts), v = F(r, { allowNickname: p?.show_account_nicknames_in_master }), d = /* @__PURE__ */ s(w, { children: [
|
|
53
|
-
/* @__PURE__ */ t(
|
|
53
|
+
/* @__PURE__ */ t(N, { children: /* @__PURE__ */ t(D, {
|
|
54
54
|
alt: "MX",
|
|
55
55
|
institutionGuid: r.institution_guid ?? ""
|
|
56
56
|
}) }),
|
|
57
|
-
/* @__PURE__ */ t(
|
|
57
|
+
/* @__PURE__ */ t(G, {
|
|
58
58
|
primary: `${v}${r.account_number ? ` *${r.account_number}` : ""}`,
|
|
59
59
|
slotProps: { primary: {
|
|
60
60
|
noWrap: !0,
|
|
@@ -62,15 +62,15 @@ var P = ({ onClick: i, shouldShowBalance: m = !0, loadAccounts: c }) => {
|
|
|
62
62
|
variant: "body1"
|
|
63
63
|
} }
|
|
64
64
|
}),
|
|
65
|
-
|
|
65
|
+
c && /* @__PURE__ */ t(k, {
|
|
66
66
|
bold: !0,
|
|
67
67
|
variant: "body2",
|
|
68
68
|
children: f(x ?? 0, "0,0.00")
|
|
69
69
|
})
|
|
70
70
|
] });
|
|
71
|
-
return /* @__PURE__ */ s(a.Fragment, { children: [/* @__PURE__ */ t(
|
|
71
|
+
return /* @__PURE__ */ s(a.Fragment, { children: [/* @__PURE__ */ t($, {
|
|
72
72
|
sx: { px: i ? 0 : 24 },
|
|
73
|
-
children: i ? /* @__PURE__ */ t(
|
|
73
|
+
children: i ? /* @__PURE__ */ t(j, {
|
|
74
74
|
onClick: () => h(r),
|
|
75
75
|
children: d
|
|
76
76
|
}) : d
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { buildDynamicCopy as A } from "../../../../core/utils/Localization.es.js";
|
|
2
2
|
import { useAccountStore as M, useEvent as k, useGlobalCopyStore as v, useTransactionStore as D } from "../../../../common/context/hooks.es.js";
|
|
3
|
-
import
|
|
3
|
+
import g from "../../../../common/components/dialog/Dialog.es.js";
|
|
4
4
|
import E from "../../../../common/components/drawer/Drawer.es.js";
|
|
5
5
|
import { ANALYTICS_EVENTS as _ } from "../../../../common/constants/Analytics.es.js";
|
|
6
6
|
import { useAccountUiStore as O } from "../../../hooks/useUiStore.es.js";
|
|
@@ -9,7 +9,7 @@ import { useGetMergeableAccounts as P } from "../../../hooks/useGetMergeableAcco
|
|
|
9
9
|
import U from "../../AccountListItem.es.js";
|
|
10
10
|
import n from "react";
|
|
11
11
|
import { observer as K } from "mobx-react-lite";
|
|
12
|
-
import { Icon as
|
|
12
|
+
import { Icon as C, Text as r } from "@mxenabled/mxui";
|
|
13
13
|
import { Fragment as N, jsx as t, jsxs as s } from "react/jsx-runtime";
|
|
14
14
|
import R from "@mui/material/List";
|
|
15
15
|
import G from "@mui/material/Switch";
|
|
@@ -57,9 +57,9 @@ var B = () => {
|
|
|
57
57
|
},
|
|
58
58
|
primaryText: e.is_closed ? o.mark_as_open : o.mark_as_closed,
|
|
59
59
|
secondaryText: e.is_closed ? o.this_will_set_the_closed_account : o.this_will_set_the_account_balance_to_0,
|
|
60
|
-
children: [/* @__PURE__ */ t(
|
|
60
|
+
children: [/* @__PURE__ */ t(C, { name: "chevron_right" }), /* @__PURE__ */ t("div", {
|
|
61
61
|
onClick: (c) => c.stopPropagation(),
|
|
62
|
-
children: /* @__PURE__ */ t(
|
|
62
|
+
children: /* @__PURE__ */ t(g, {
|
|
63
63
|
copy: {
|
|
64
64
|
close_aria: o.close_modal,
|
|
65
65
|
title: e.is_closed ? o.confirm_mark_as_open : o.confirm_mark_closed
|
|
@@ -83,7 +83,7 @@ var B = () => {
|
|
|
83
83
|
},
|
|
84
84
|
primaryText: o.mark_as_duplicate,
|
|
85
85
|
secondaryText: o.if_a_connected_account_is_showing_up_twice,
|
|
86
|
-
children: /* @__PURE__ */ t(
|
|
86
|
+
children: /* @__PURE__ */ t(C, { name: "chevron_right" })
|
|
87
87
|
}),
|
|
88
88
|
/* @__PURE__ */ s(E, {
|
|
89
89
|
ariaLabelClose: o.close_drawer,
|
|
@@ -110,7 +110,7 @@ var B = () => {
|
|
|
110
110
|
h(!0), b(c);
|
|
111
111
|
}
|
|
112
112
|
}, c.guid);
|
|
113
|
-
}) }), m && /* @__PURE__ */ s(
|
|
113
|
+
}) }), m && /* @__PURE__ */ s(g, {
|
|
114
114
|
copy: {
|
|
115
115
|
close_aria: o.close_modal,
|
|
116
116
|
title: o.confirm_merge
|
|
@@ -7,7 +7,7 @@ import { getConnectionMessages as S } from "../../../utils/getConnectionMessages
|
|
|
7
7
|
import v from "react";
|
|
8
8
|
import { observer as M } from "mobx-react-lite";
|
|
9
9
|
import w from "@mui/material/Stack";
|
|
10
|
-
import { Icon as
|
|
10
|
+
import { Icon as p, Text as h } from "@mxenabled/mxui";
|
|
11
11
|
import { CheckCircle as I, Error as L, Language as z } from "@mxenabled/mx-icons";
|
|
12
12
|
import { Fragment as a, jsx as o, jsxs as n } from "react/jsx-runtime";
|
|
13
13
|
import { useTheme as R } from "@mui/material/styles";
|
|
@@ -23,7 +23,7 @@ var m = {
|
|
|
23
23
|
gridColumn: 1,
|
|
24
24
|
zIndex: 2
|
|
25
25
|
}, B = () => {
|
|
26
|
-
const [l, d] = v.useState(!1), { palette: { mode: u } } = R(), { selectedMember: e } = _(), { accounts:
|
|
26
|
+
const [l, d] = v.useState(!1), { palette: { mode: u } } = R(), { selectedMember: e } = _(), { accounts: g, connect: C } = y(), t = S(e, C), r = x.includes(e.connection_status) ? {
|
|
27
27
|
color: "error.main",
|
|
28
28
|
ctaCopy: t.cta ?? "",
|
|
29
29
|
icon: /* @__PURE__ */ o(L, {
|
|
@@ -52,7 +52,7 @@ var m = {
|
|
|
52
52
|
bold: !0,
|
|
53
53
|
component: "h2",
|
|
54
54
|
variant: "caption",
|
|
55
|
-
children:
|
|
55
|
+
children: g.connection_status
|
|
56
56
|
})
|
|
57
57
|
}),
|
|
58
58
|
/* @__PURE__ */ o(b, {
|
|
@@ -109,7 +109,7 @@ var m = {
|
|
|
109
109
|
})
|
|
110
110
|
] })
|
|
111
111
|
}),
|
|
112
|
-
/* @__PURE__ */ o(
|
|
112
|
+
/* @__PURE__ */ o(p, { name: "chevron_right" })
|
|
113
113
|
]
|
|
114
114
|
})
|
|
115
115
|
}),
|
|
@@ -139,7 +139,7 @@ var m = {
|
|
|
139
139
|
primary: e.name,
|
|
140
140
|
secondary: e.institution_url
|
|
141
141
|
}),
|
|
142
|
-
/* @__PURE__ */ o(
|
|
142
|
+
/* @__PURE__ */ o(p, { name: "launch" })
|
|
143
143
|
]
|
|
144
144
|
})
|
|
145
145
|
}) }),
|
|
@@ -147,7 +147,7 @@ var m = {
|
|
|
147
147
|
loadWidgetProps: { current_member_guid: e.guid },
|
|
148
148
|
onClose: () => d(!1),
|
|
149
149
|
showConnectWidget: l,
|
|
150
|
-
title:
|
|
150
|
+
title: g.manage_connection
|
|
151
151
|
})
|
|
152
152
|
] });
|
|
153
153
|
}, X = M(B);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { useEvent as v, useGlobalCopyStore as y } from "../../../../common/context/hooks.es.js";
|
|
2
2
|
import { useAccountUiStore as C } from "../../../hooks/useUiStore.es.js";
|
|
3
3
|
import { getAccountDetailFields as E } from "../../../utils/AccountFields.es.js";
|
|
4
|
-
import
|
|
4
|
+
import F from "./AccountDetailEdit.es.js";
|
|
5
5
|
import n from "react";
|
|
6
|
-
import { observer as
|
|
7
|
-
import { Icon as
|
|
8
|
-
import { Fragment as
|
|
6
|
+
import { observer as S } from "mobx-react-lite";
|
|
7
|
+
import { Icon as A, Text as p } from "@mxenabled/mxui";
|
|
8
|
+
import { Fragment as D, jsx as e, jsxs as b } from "react/jsx-runtime";
|
|
9
9
|
import g from "@mui/material/ListItem";
|
|
10
10
|
import k from "@mui/material/ListItemButton";
|
|
11
11
|
import w from "@mui/material/ListItemText";
|
|
12
12
|
var T = () => {
|
|
13
|
-
const f = window.app?.config, { onEvent: h } = v(), { selectedAccount: o } = C(), { accounts: _ } = y(),
|
|
14
|
-
return /* @__PURE__ */ b(
|
|
13
|
+
const f = window.app?.config, { onEvent: h } = v(), { selectedAccount: o } = C(), { accounts: _ } = y(), a = E(o, _), i = o.member_is_managed_by_user || !o.member_is_managed_by_user && f.enable_renaming_home_accounts, [s, c] = n.useState(!1), [m, x] = n.useState(a[0]), r = a.filter((t) => i || o[t.name] || o[t.name] === 0);
|
|
14
|
+
return /* @__PURE__ */ b(D, { children: [r.map((t) => {
|
|
15
15
|
const l = o[t.name] || o[t.name] === 0, d = r.indexOf(t) === r.length - 1, u = /* @__PURE__ */ e(w, {
|
|
16
16
|
disableTypography: !0,
|
|
17
17
|
primary: /* @__PURE__ */ e(p, {
|
|
@@ -24,7 +24,7 @@ var T = () => {
|
|
|
24
24
|
children: l ? t.valueFormatter(o[t.name]) : t.placeholder
|
|
25
25
|
})
|
|
26
26
|
});
|
|
27
|
-
return /* @__PURE__ */ e(n.Fragment, { children:
|
|
27
|
+
return /* @__PURE__ */ e(n.Fragment, { children: i ? /* @__PURE__ */ e(g, {
|
|
28
28
|
sx: {
|
|
29
29
|
backgroundColor: "background.paper",
|
|
30
30
|
px: 0,
|
|
@@ -43,7 +43,7 @@ var T = () => {
|
|
|
43
43
|
onClick: () => {
|
|
44
44
|
x(t), c(!0), t?.event && h(t.event, { account_guid: o.guid });
|
|
45
45
|
},
|
|
46
|
-
children: [u, /* @__PURE__ */ e(
|
|
46
|
+
children: [u, /* @__PURE__ */ e(A, { name: "chevron_right" })]
|
|
47
47
|
})
|
|
48
48
|
}) : l && /* @__PURE__ */ e(g, {
|
|
49
49
|
sx: {
|
|
@@ -62,14 +62,14 @@ var T = () => {
|
|
|
62
62
|
},
|
|
63
63
|
children: u
|
|
64
64
|
}) }, t.name);
|
|
65
|
-
}), s && m && /* @__PURE__ */ e(
|
|
65
|
+
}), s && m && /* @__PURE__ */ e(F, {
|
|
66
66
|
field: m,
|
|
67
67
|
isOpen: s,
|
|
68
68
|
onClose: () => c(!1)
|
|
69
69
|
})] });
|
|
70
|
-
},
|
|
70
|
+
}, $ = S(T);
|
|
71
71
|
export {
|
|
72
|
-
|
|
72
|
+
$ as default
|
|
73
73
|
};
|
|
74
74
|
|
|
75
75
|
//# sourceMappingURL=AccountDetails.es.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useGlobalCopyStore as s } from "../../../../common/context/hooks.es.js";
|
|
2
2
|
import r from "../../../../common/components/TabContentContainer.es.js";
|
|
3
3
|
import c from "./AccountDetailsTab.es.js";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
4
|
+
import m from "./ConnectionErrorMessage.es.js";
|
|
5
|
+
import d from "../Transactions/TransactionsTab.es.js";
|
|
6
6
|
import u from "react";
|
|
7
7
|
import { observer as b } from "mobx-react-lite";
|
|
8
8
|
import { Fragment as f, jsx as a, jsxs as n } from "react/jsx-runtime";
|
|
@@ -11,7 +11,7 @@ import p from "@mui/material/Tabs";
|
|
|
11
11
|
var C = () => {
|
|
12
12
|
const [t, o] = u.useState(0), { accounts: e } = s();
|
|
13
13
|
return /* @__PURE__ */ n(f, { children: [
|
|
14
|
-
/* @__PURE__ */ a(
|
|
14
|
+
/* @__PURE__ */ a(m, { setTabValue: o }),
|
|
15
15
|
/* @__PURE__ */ n(p, {
|
|
16
16
|
"aria-label": e.transactions_and_details_aria,
|
|
17
17
|
centered: !0,
|
|
@@ -33,7 +33,7 @@ var C = () => {
|
|
|
33
33
|
index: 0,
|
|
34
34
|
name: "transaction-details",
|
|
35
35
|
value: t,
|
|
36
|
-
children: /* @__PURE__ */ a(
|
|
36
|
+
children: /* @__PURE__ */ a(d, {})
|
|
37
37
|
}),
|
|
38
38
|
/* @__PURE__ */ a(r, {
|
|
39
39
|
index: 1,
|
|
@@ -42,9 +42,9 @@ var C = () => {
|
|
|
42
42
|
children: /* @__PURE__ */ a(c, {})
|
|
43
43
|
})
|
|
44
44
|
] });
|
|
45
|
-
},
|
|
45
|
+
}, S = b(C);
|
|
46
46
|
export {
|
|
47
|
-
|
|
47
|
+
S as default
|
|
48
48
|
};
|
|
49
49
|
|
|
50
50
|
//# sourceMappingURL=AccountDetailsContent.es.js.map
|
|
@@ -8,23 +8,23 @@ import { observer as C } from "mobx-react-lite";
|
|
|
8
8
|
import { Text as b } from "@mxenabled/mxui";
|
|
9
9
|
import h from "@mui/material/Paper";
|
|
10
10
|
import { Error as x } from "@mxenabled/mx-icons";
|
|
11
|
-
import { Fragment as S, jsx as o, jsxs as
|
|
11
|
+
import { Fragment as S, jsx as o, jsxs as a } from "react/jsx-runtime";
|
|
12
12
|
import _ from "@mui/material/Alert";
|
|
13
13
|
import v from "@mui/material/AlertTitle";
|
|
14
14
|
import w from "@mui/material/Link";
|
|
15
|
-
var y = ({ setTabValue:
|
|
15
|
+
var y = ({ setTabValue: c }) => {
|
|
16
16
|
const [n, i] = s.useState(!1), { selectedMember: e } = p(), { accounts: m, connect: l } = f(), t = e.connection_status && u.includes(e.connection_status);
|
|
17
17
|
if (s.useEffect(() => {
|
|
18
|
-
t &&
|
|
18
|
+
t && c(1);
|
|
19
19
|
}, [t]), !t) return;
|
|
20
20
|
const r = g(e, l);
|
|
21
|
-
return /* @__PURE__ */
|
|
21
|
+
return /* @__PURE__ */ a(S, { children: [/* @__PURE__ */ o(h, {
|
|
22
22
|
sx: {
|
|
23
23
|
mb: 16,
|
|
24
24
|
mt: 24,
|
|
25
25
|
mx: 24
|
|
26
26
|
},
|
|
27
|
-
children: /* @__PURE__ */
|
|
27
|
+
children: /* @__PURE__ */ a(_, {
|
|
28
28
|
icon: /* @__PURE__ */ o(x, { filled: !0 }),
|
|
29
29
|
role: "none",
|
|
30
30
|
severity: "error",
|
|
@@ -67,9 +67,9 @@ var y = ({ setTabValue: a }) => {
|
|
|
67
67
|
showConnectWidget: n,
|
|
68
68
|
title: m.manage_connection
|
|
69
69
|
})] });
|
|
70
|
-
},
|
|
70
|
+
}, B = C(y);
|
|
71
71
|
export {
|
|
72
|
-
|
|
72
|
+
B as default
|
|
73
73
|
};
|
|
74
74
|
|
|
75
75
|
//# sourceMappingURL=ConnectionErrorMessage.es.js.map
|
|
@@ -6,8 +6,8 @@ import S from "../../../../transactions/components/shared/TransactionList.es.js"
|
|
|
6
6
|
import A from "../../../../transactions/components/shared/TransactionDetails.es.js";
|
|
7
7
|
import t from "react";
|
|
8
8
|
import { observer as b } from "mobx-react-lite";
|
|
9
|
-
import { Fragment as
|
|
10
|
-
import { endOfToday as
|
|
9
|
+
import { Fragment as g, jsx as a, jsxs as y } from "react/jsx-runtime";
|
|
10
|
+
import { endOfToday as D, startOfToday as v, subDays as L } from "date-fns";
|
|
11
11
|
var N = () => {
|
|
12
12
|
const [o, e] = t.useState(""), { onEvent: c } = l(), { selectedAccount: r } = E(), { accounts: s } = T(), { isTransactionDataLoaded: f, loadTransactionData: u, setFilter: d, sortedTransactions: n } = p();
|
|
13
13
|
t.useEffect(() => {
|
|
@@ -18,11 +18,11 @@ var N = () => {
|
|
|
18
18
|
d({
|
|
19
19
|
dateRange: {
|
|
20
20
|
start: L(v(), 90),
|
|
21
|
-
end:
|
|
21
|
+
end: D()
|
|
22
22
|
},
|
|
23
23
|
accounts: [r.guid]
|
|
24
24
|
});
|
|
25
|
-
}, [r]), t.useEffect(() => c(C.ACCOUNT_DETAILS_VIEW_TRANSACTIONS), []), /* @__PURE__ */
|
|
25
|
+
}, [r]), t.useEffect(() => c(C.ACCOUNT_DETAILS_VIEW_TRANSACTIONS), []), /* @__PURE__ */ y(g, { children: [/* @__PURE__ */ a(S, { onClick: e }), i && /* @__PURE__ */ a(_, {
|
|
26
26
|
ariaLabelClose: s.close_drawer,
|
|
27
27
|
isOpen: !!o,
|
|
28
28
|
onClose: () => e(""),
|
|
@@ -1,145 +1,106 @@
|
|
|
1
|
-
import { buildDynamicCopy as
|
|
2
|
-
import { useBudgetsStore as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { BudgetAmount as
|
|
6
|
-
import { BudgetDetails as
|
|
7
|
-
import
|
|
8
|
-
import { observer as
|
|
9
|
-
import { Text as
|
|
10
|
-
import { jsx as
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
var
|
|
14
|
-
const { selectedAccountGuids:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
accounts: N,
|
|
23
|
-
dateRange: D,
|
|
24
|
-
custom: (t) => t.category_guid === e.category_guid || t.top_level_category_guid === e.category_guid,
|
|
25
|
-
showSplits: !0
|
|
26
|
-
});
|
|
27
|
-
}
|
|
1
|
+
import { buildDynamicCopy as c } from "../../core/utils/Localization.es.js";
|
|
2
|
+
import { useBudgetsStore as E, useGlobalCopyStore as N, useGlobalUiStore as P, useTransactionStore as G } from "../../common/context/hooks.es.js";
|
|
3
|
+
import _ from "../../common/components/dialog/Dialog.es.js";
|
|
4
|
+
import I from "../../common/components/drawer/Drawer.es.js";
|
|
5
|
+
import { BudgetAmount as $ } from "./shared/BudgetAmount.es.js";
|
|
6
|
+
import { BudgetDetails as j } from "./budgetdetails/BudgetDetails.es.js";
|
|
7
|
+
import r from "react";
|
|
8
|
+
import { observer as F } from "mobx-react-lite";
|
|
9
|
+
import { Text as R } from "@mxenabled/mxui";
|
|
10
|
+
import { jsx as o, jsxs as f } from "react/jsx-runtime";
|
|
11
|
+
import U from "@mui/material/Alert";
|
|
12
|
+
import k from "@mui/material/Snackbar";
|
|
13
|
+
var Z = F(() => {
|
|
14
|
+
const { selectedAccountGuids: b } = P(), { budgets: t, common: n } = N(), { alert: d, dateRange: h, deleteBudget: C, selectedBudget: e, selectedSubBudget: S, setAlert: a, setSelectedBudget: B, updateBudget: A } = E(), { setFilter: D } = G(), [v, u] = r.useState(!1), [x, s] = r.useState(!1), [O, m] = r.useState(!1), [i, l] = r.useState("");
|
|
15
|
+
r.useEffect(() => {
|
|
16
|
+
e && !S && (l(`${e.amount}`), u(!0), D({
|
|
17
|
+
accounts: b,
|
|
18
|
+
dateRange: h,
|
|
19
|
+
custom: (y) => y.category_guid === e.category_guid || y.top_level_category_guid === e.category_guid,
|
|
20
|
+
showSplits: !0
|
|
21
|
+
}));
|
|
28
22
|
}, [e]);
|
|
29
|
-
const
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
},
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
const o = e.subBudgets.map((t) => {
|
|
41
|
-
const d = Number(m[t.guid] ?? t.amount);
|
|
42
|
-
return y({
|
|
43
|
-
...t,
|
|
44
|
-
amount: d,
|
|
45
|
-
percentage: t.category.currentAmount / (d || 1) * 100
|
|
46
|
-
});
|
|
47
|
-
});
|
|
48
|
-
await Promise.all(o);
|
|
49
|
-
} else await y({
|
|
50
|
-
...e,
|
|
51
|
-
amount: Number(s),
|
|
52
|
-
percentage: e.category.totalAmount / (Number(s) || 1) * 100
|
|
53
|
-
});
|
|
54
|
-
c(!1), i(p(r.alert_budget_updated, e.category.name));
|
|
55
|
-
}
|
|
56
|
-
}, j = async () => {
|
|
57
|
-
e && (await x(e.guid), i(p(r.alert_budget_deleted, e.category.name))), B();
|
|
58
|
-
}, B = () => {
|
|
59
|
-
f(!1), setTimeout(() => {
|
|
60
|
-
T(void 0);
|
|
23
|
+
const T = async () => {
|
|
24
|
+
e && (await A({
|
|
25
|
+
...e,
|
|
26
|
+
amount: Number(i),
|
|
27
|
+
percentage: e.category.totalAmount / Number(i) * 100
|
|
28
|
+
}), s(!1), a(c(t.alert_budget_updated, e.category.name)));
|
|
29
|
+
}, w = async () => {
|
|
30
|
+
e && (await C(e.guid), a(c(t.alert_budget_deleted, e.category.name))), p();
|
|
31
|
+
}, p = () => {
|
|
32
|
+
u(!1), setTimeout(() => {
|
|
33
|
+
B(void 0);
|
|
61
34
|
}, 250);
|
|
62
|
-
},
|
|
63
|
-
|
|
64
|
-
const o = {};
|
|
65
|
-
e?.subBudgets.forEach((t) => {
|
|
66
|
-
o[t.guid] = `${t.amount}`;
|
|
67
|
-
}), g(o);
|
|
35
|
+
}, g = () => {
|
|
36
|
+
s(!1), l(`${e?.amount}`);
|
|
68
37
|
};
|
|
69
|
-
if (
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
38
|
+
if (e)
|
|
39
|
+
return /* @__PURE__ */ f(r.Fragment, { children: [
|
|
40
|
+
/* @__PURE__ */ f(I, {
|
|
41
|
+
ariaLabelClose: n.close_aria,
|
|
42
|
+
isOpen: v,
|
|
43
|
+
onClose: p,
|
|
44
|
+
onPrimaryAction: () => s(!0),
|
|
45
|
+
onSecondaryAction: () => m(!0),
|
|
46
|
+
primaryText: t.details_edit_button,
|
|
47
|
+
secondaryColor: "error",
|
|
48
|
+
secondaryText: t.details_delete_button,
|
|
49
|
+
title: t.details_title,
|
|
50
|
+
children: [/* @__PURE__ */ o(j, { budget: e }), /* @__PURE__ */ o(k, {
|
|
51
|
+
anchorOrigin: {
|
|
52
|
+
vertical: "bottom",
|
|
53
|
+
horizontal: "right"
|
|
54
|
+
},
|
|
55
|
+
autoHideDuration: 3500,
|
|
56
|
+
onClose: () => a(""),
|
|
57
|
+
open: !!d,
|
|
58
|
+
children: /* @__PURE__ */ o(U, {
|
|
59
|
+
closeText: "",
|
|
60
|
+
onClose: () => a(""),
|
|
61
|
+
severity: "success",
|
|
62
|
+
variant: "filled",
|
|
63
|
+
children: d
|
|
64
|
+
})
|
|
65
|
+
})]
|
|
66
|
+
}),
|
|
67
|
+
/* @__PURE__ */ o(_, {
|
|
68
|
+
copy: {
|
|
69
|
+
close_aria: n.close_aria,
|
|
70
|
+
title: t.details_edit_title
|
|
89
71
|
},
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
72
|
+
disablePrimaryButton: Number(i) <= 0,
|
|
73
|
+
isOpen: x,
|
|
74
|
+
onClose: g,
|
|
75
|
+
onPrimaryAction: T,
|
|
76
|
+
onSecondaryAction: g,
|
|
77
|
+
primaryText: t.edit_save_button,
|
|
78
|
+
children: /* @__PURE__ */ o($, {
|
|
79
|
+
amount: i,
|
|
80
|
+
categoryName: e.category.name,
|
|
81
|
+
onAmountChanged: l
|
|
82
|
+
})
|
|
83
|
+
}),
|
|
84
|
+
/* @__PURE__ */ o(_, {
|
|
85
|
+
copy: {
|
|
86
|
+
close_aria: n.close_aria,
|
|
87
|
+
title: t.delete_title
|
|
88
|
+
},
|
|
89
|
+
isOpen: O,
|
|
90
|
+
onClose: () => m(!1),
|
|
91
|
+
onPrimaryAction: w,
|
|
92
|
+
primaryColor: "error",
|
|
93
|
+
primaryText: t.details_delete_button,
|
|
94
|
+
secondaryColor: "secondary",
|
|
95
|
+
children: /* @__PURE__ */ o(R, {
|
|
96
|
+
variant: "subtitle1",
|
|
97
|
+
children: c(t.delete_description, e.category.name)
|
|
99
98
|
})
|
|
100
|
-
})]
|
|
101
|
-
}),
|
|
102
|
-
/* @__PURE__ */ n(C, {
|
|
103
|
-
copy: {
|
|
104
|
-
close_aria: l.close_aria,
|
|
105
|
-
title: r.details_edit_title
|
|
106
|
-
},
|
|
107
|
-
disablePrimaryButton: U,
|
|
108
|
-
isOpen: E,
|
|
109
|
-
onClose: h,
|
|
110
|
-
onPrimaryAction: G,
|
|
111
|
-
onSecondaryAction: h,
|
|
112
|
-
primaryText: r.edit_save_button,
|
|
113
|
-
children: /* @__PURE__ */ n(Q, {
|
|
114
|
-
amount: s,
|
|
115
|
-
categoryName: e.category.name,
|
|
116
|
-
onAmountChanged: u,
|
|
117
|
-
onSubBudgetAmountChanged: I,
|
|
118
|
-
originalAmount: e.amount,
|
|
119
|
-
subBudgetAmounts: m,
|
|
120
|
-
subBudgets: e.subBudgets
|
|
121
|
-
})
|
|
122
|
-
}),
|
|
123
|
-
/* @__PURE__ */ n(C, {
|
|
124
|
-
copy: {
|
|
125
|
-
close_aria: l.close_aria,
|
|
126
|
-
title: r.delete_title
|
|
127
|
-
},
|
|
128
|
-
isOpen: $,
|
|
129
|
-
onClose: () => _(!1),
|
|
130
|
-
onPrimaryAction: j,
|
|
131
|
-
primaryColor: "error",
|
|
132
|
-
primaryText: r.details_delete_button,
|
|
133
|
-
secondaryColor: "secondary",
|
|
134
|
-
children: /* @__PURE__ */ n(X, {
|
|
135
|
-
variant: "subtitle1",
|
|
136
|
-
children: p(r.delete_description, e.category.name)
|
|
137
99
|
})
|
|
138
|
-
})
|
|
139
|
-
] });
|
|
100
|
+
] });
|
|
140
101
|
});
|
|
141
102
|
export {
|
|
142
|
-
|
|
103
|
+
Z as BudgetDetailsDrawer
|
|
143
104
|
};
|
|
144
105
|
|
|
145
106
|
//# sourceMappingURL=BudgetDetailsDrawer.es.js.map
|