@mx-cartographer/experiences 9.3.8-alpha.al1 → 9.4.1-alpha.al0
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 +18 -2
- 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 +79 -80
- 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 +39 -39
- package/dist/budgets/components/budgetdetails/AddSubBudget.es.js.map +1 -1
- package/dist/budgets/components/budgetdetails/SubBudgetAmounts.d.ts +10 -0
- package/dist/budgets/components/budgetdetails/SubBudgetAmounts.es.js +58 -0
- package/dist/budgets/components/budgetdetails/SubBudgetAmounts.es.js.map +1 -0
- package/dist/budgets/components/budgetdetails/SubBudgetList.es.js +26 -26
- package/dist/budgets/components/budgetdetails/SubBudgetList.es.js.map +1 -1
- package/dist/budgets/components/budgetlist/BudgetRow.es.js +15 -26
- package/dist/budgets/components/budgetlist/BudgetRow.es.js.map +1 -1
- package/dist/budgets/components/budgetlist/SubBudgetRow.es.js +12 -55
- package/dist/budgets/components/budgetlist/SubBudgetRow.es.js.map +1 -1
- package/dist/budgets/components/shared/BudgetAmount.d.ts +3 -7
- package/dist/budgets/components/shared/BudgetAmount.es.js +18 -40
- package/dist/budgets/components/shared/BudgetAmount.es.js.map +1 -1
- package/dist/budgets/components/shared/BudgetDonut.d.ts +8 -0
- package/dist/budgets/components/shared/BudgetDonut.es.js +25 -0
- package/dist/budgets/components/shared/BudgetDonut.es.js.map +1 -0
- package/dist/budgets/components/shared/SubBudgetCategory.d.ts +7 -0
- package/dist/budgets/components/shared/SubBudgetCategory.es.js +45 -0
- package/dist/budgets/components/shared/SubBudgetCategory.es.js.map +1 -0
- 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.d.ts +3 -1
- package/dist/core/stores/BudgetsStore.es.js +36 -35
- 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/types/localization/BudgetsCopy.d.ts +3 -0
- 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,22 @@
|
|
|
1
|
-
## [9.3.8] - 08-24-2026
|
|
2
1
|
|
|
3
|
-
|
|
2
|
+
## [9.4.1] - 08-25-2026
|
|
3
|
+
|
|
4
|
+
- **UPDATED** - Sub budget totals now roll up to parent budget total
|
|
5
|
+
|
|
6
|
+
## [9.4.0] - 08-25-2026
|
|
7
|
+
|
|
8
|
+
- **ADDED** - insights-v2.0 module: comprehensive reusable component library for insights UI
|
|
9
|
+
- **ADDED** - Chart blocks: BarChart, DoubleBarChart, DonutChart, StepChart, DoubleProgressBar (WEC-1256, WEC-1257, WEC-1258, WEC-1259, WEC-1260)
|
|
10
|
+
- **ADDED** - Content blocks: AccountBlock (with/without confetti variants), BudgetBlock (category/merchant), ActionBlock foundation (WEC-1309, WEC-1312, WEC-1315, WEC-1704)
|
|
11
|
+
- **ADDED** - Image blocks: SVG Block (with CIBC support), Image Block (WEC-1295, WEC-1296, WEC-1335)
|
|
12
|
+
- **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)
|
|
13
|
+
- **ADDED** - Support components: StatusMessageCard, StatusPill, AmountPill, celebrationGradients module with confetti animations
|
|
14
|
+
- **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)
|
|
15
|
+
- **ADDED** - Insight template system and mini layout support (WEC-1253, WEC-1254)
|
|
16
|
+
- **ADDED** - Storybook stories for all 40+ new components and blocks with interactive examples
|
|
17
|
+
- **ADDED** - RTL tests for all components with 85%+ code coverage across the insights-v2.0 module
|
|
18
|
+
- **CHANGED** - Block type definitions now centralized in `src/core/types/blocks/` with proper TypeScript exports
|
|
19
|
+
- **NOTE** - All insights-v2.0 components are presentational (stateless); data provided by consumers; ready for integration into blocks and containers
|
|
4
20
|
|
|
5
21
|
## [9.3.7] - 08-20-2026
|
|
6
22
|
|
|
@@ -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,144 @@
|
|
|
1
|
-
import { buildDynamicCopy as
|
|
2
|
-
import { useBudgetsStore as
|
|
1
|
+
import { buildDynamicCopy as b } from "../../core/utils/Localization.es.js";
|
|
2
|
+
import { useBudgetsStore as H, useGlobalCopyStore as L, useGlobalUiStore as M, useTransactionStore as q } from "../../common/context/hooks.es.js";
|
|
3
3
|
import C from "../../common/components/dialog/Dialog.es.js";
|
|
4
|
-
import
|
|
5
|
-
import { BudgetAmount as
|
|
6
|
-
import { BudgetDetails as
|
|
7
|
-
import
|
|
4
|
+
import J from "../../common/components/drawer/Drawer.es.js";
|
|
5
|
+
import { BudgetAmount as K } from "./shared/BudgetAmount.es.js";
|
|
6
|
+
import { BudgetDetails as Q } from "./budgetdetails/BudgetDetails.es.js";
|
|
7
|
+
import { SubBudgetAmounts as V } from "./budgetdetails/SubBudgetAmounts.es.js";
|
|
8
|
+
import s from "react";
|
|
8
9
|
import { observer as W } from "mobx-react-lite";
|
|
9
10
|
import { Text as X } from "@mxenabled/mxui";
|
|
10
|
-
import { jsx as n, jsxs as
|
|
11
|
+
import { jsx as n, jsxs as y } from "react/jsx-runtime";
|
|
11
12
|
import Y from "@mui/material/Alert";
|
|
12
13
|
import Z from "@mui/material/Snackbar";
|
|
13
|
-
var
|
|
14
|
-
const { selectedAccountGuids:
|
|
15
|
-
|
|
16
|
-
if (e && !
|
|
17
|
-
|
|
14
|
+
var ge = W(() => {
|
|
15
|
+
const { selectedAccountGuids: v } = M(), { budgets: r, common: m } = L(), { alert: f, dateRange: N, deleteBudget: x, selectedBudget: e, selectedSubBudget: D, setAlert: u, setSelectedBudget: O, updateBudget: _ } = H(), { setFilter: T } = q(), [w, S] = s.useState(!1), [E, g] = s.useState(!1), [P, B] = s.useState(!1), [a, d] = s.useState(""), [c, p] = s.useState({});
|
|
16
|
+
s.useEffect(() => {
|
|
17
|
+
if (e && !D) {
|
|
18
|
+
d(`${e.amount}`);
|
|
18
19
|
const o = {};
|
|
19
20
|
e.subBudgets.forEach((t) => {
|
|
20
21
|
o[t.guid] = `${t.amount}`;
|
|
21
|
-
}),
|
|
22
|
-
accounts:
|
|
23
|
-
dateRange:
|
|
22
|
+
}), p(o), S(!0), T({
|
|
23
|
+
accounts: v,
|
|
24
|
+
dateRange: N,
|
|
24
25
|
custom: (t) => t.category_guid === e.category_guid || t.top_level_category_guid === e.category_guid,
|
|
25
26
|
showSplits: !0
|
|
26
27
|
});
|
|
27
28
|
}
|
|
28
29
|
}, [e]);
|
|
29
|
-
const
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
});
|
|
37
|
-
}, G = async () => {
|
|
30
|
+
const $ = (o, t) => {
|
|
31
|
+
const i = {
|
|
32
|
+
...c,
|
|
33
|
+
[o]: t
|
|
34
|
+
}, R = e?.subBudgets.reduce((U, z) => U + (Number(i[z.guid]) || 0), 0);
|
|
35
|
+
p(i), d(`${R ?? 0}`);
|
|
36
|
+
}, I = async () => {
|
|
38
37
|
if (e) {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
});
|
|
38
|
+
let o = !0;
|
|
39
|
+
e.subBudgets.length > 0 ? o = (await Promise.all(e.subBudgets.map((t) => {
|
|
40
|
+
const i = Number(c[t.guid] ?? t.amount);
|
|
41
|
+
return _({
|
|
42
|
+
...t,
|
|
43
|
+
amount: i,
|
|
44
|
+
percentage: t.category.currentAmount / (i || 1) * 100
|
|
47
45
|
});
|
|
48
|
-
|
|
49
|
-
} else await y({
|
|
46
|
+
}))).every((t) => t.isSuccess) : o = (await _({
|
|
50
47
|
...e,
|
|
51
|
-
amount: Number(
|
|
52
|
-
percentage: e.category.totalAmount / (Number(
|
|
53
|
-
});
|
|
54
|
-
c(!1), i(p(r.alert_budget_updated, e.category.name));
|
|
48
|
+
amount: Number(a),
|
|
49
|
+
percentage: e.category.totalAmount / (Number(a) || 1) * 100
|
|
50
|
+
})).isSuccess, o && (g(!1), u(b(r.alert_budget_updated, e.category.name)));
|
|
55
51
|
}
|
|
56
|
-
},
|
|
57
|
-
e && (await x(e.guid),
|
|
58
|
-
}, B = () => {
|
|
59
|
-
f(!1), setTimeout(() => {
|
|
60
|
-
T(void 0);
|
|
61
|
-
}, 250);
|
|
52
|
+
}, G = async () => {
|
|
53
|
+
e && (await x(e.guid), u(b(r.alert_budget_deleted, e.category.name))), h();
|
|
62
54
|
}, h = () => {
|
|
63
|
-
|
|
55
|
+
S(!1), setTimeout(() => {
|
|
56
|
+
O(void 0);
|
|
57
|
+
}, 250);
|
|
58
|
+
}, A = () => {
|
|
59
|
+
g(!1), d(`${e?.amount}`);
|
|
64
60
|
const o = {};
|
|
65
61
|
e?.subBudgets.forEach((t) => {
|
|
66
62
|
o[t.guid] = `${t.amount}`;
|
|
67
|
-
}),
|
|
63
|
+
}), p(o);
|
|
68
64
|
};
|
|
69
65
|
if (!e) return;
|
|
70
|
-
const
|
|
71
|
-
const t =
|
|
66
|
+
const l = e.subBudgets.length > 0, j = a === "" || Number(a) < 0 || isNaN(Number(a)), k = l && e.subBudgets.some((o) => {
|
|
67
|
+
const t = c[o.guid];
|
|
72
68
|
return t === void 0 || t === "" || Number(t) < 0 || isNaN(Number(t));
|
|
73
|
-
}),
|
|
74
|
-
return /* @__PURE__ */
|
|
75
|
-
/* @__PURE__ */
|
|
76
|
-
ariaLabelClose:
|
|
77
|
-
isOpen:
|
|
78
|
-
onClose:
|
|
79
|
-
onPrimaryAction: () =>
|
|
80
|
-
onSecondaryAction: () =>
|
|
69
|
+
}), F = l ? k : j;
|
|
70
|
+
return /* @__PURE__ */ y(s.Fragment, { children: [
|
|
71
|
+
/* @__PURE__ */ y(J, {
|
|
72
|
+
ariaLabelClose: m.close_aria,
|
|
73
|
+
isOpen: w,
|
|
74
|
+
onClose: h,
|
|
75
|
+
onPrimaryAction: () => g(!0),
|
|
76
|
+
onSecondaryAction: () => B(!0),
|
|
81
77
|
primaryText: r.details_edit_button,
|
|
82
78
|
secondaryColor: "error",
|
|
83
79
|
secondaryText: r.details_delete_button,
|
|
84
80
|
title: r.details_title,
|
|
85
|
-
children: [/* @__PURE__ */ n(
|
|
81
|
+
children: [/* @__PURE__ */ n(Q, { budget: e }), /* @__PURE__ */ n(Z, {
|
|
86
82
|
anchorOrigin: {
|
|
87
83
|
vertical: "bottom",
|
|
88
84
|
horizontal: "right"
|
|
89
85
|
},
|
|
90
86
|
autoHideDuration: 3500,
|
|
91
|
-
onClose: () =>
|
|
92
|
-
open: !!
|
|
87
|
+
onClose: () => u(""),
|
|
88
|
+
open: !!f,
|
|
93
89
|
children: /* @__PURE__ */ n(Y, {
|
|
94
90
|
closeText: "",
|
|
95
|
-
onClose: () =>
|
|
91
|
+
onClose: () => u(""),
|
|
96
92
|
severity: "success",
|
|
97
93
|
variant: "filled",
|
|
98
|
-
children:
|
|
94
|
+
children: f
|
|
99
95
|
})
|
|
100
96
|
})]
|
|
101
97
|
}),
|
|
102
|
-
/* @__PURE__ */
|
|
98
|
+
/* @__PURE__ */ y(C, {
|
|
103
99
|
copy: {
|
|
104
|
-
close_aria:
|
|
100
|
+
close_aria: m.close_aria,
|
|
105
101
|
title: r.details_edit_title
|
|
106
102
|
},
|
|
107
|
-
disablePrimaryButton:
|
|
103
|
+
disablePrimaryButton: F,
|
|
108
104
|
isOpen: E,
|
|
109
|
-
onClose:
|
|
110
|
-
onPrimaryAction:
|
|
111
|
-
onSecondaryAction:
|
|
105
|
+
onClose: A,
|
|
106
|
+
onPrimaryAction: I,
|
|
107
|
+
onSecondaryAction: A,
|
|
112
108
|
primaryText: r.edit_save_button,
|
|
113
|
-
|
|
114
|
-
|
|
109
|
+
sx: { "& .MuiStack-root:first-child": { pb: 8 } },
|
|
110
|
+
children: [!l && /* @__PURE__ */ n(K, {
|
|
111
|
+
amount: a,
|
|
115
112
|
categoryName: e.category.name,
|
|
116
|
-
onAmountChanged:
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
113
|
+
onAmountChanged: d
|
|
114
|
+
}), l && /* @__PURE__ */ n(V, {
|
|
115
|
+
amount: a,
|
|
116
|
+
categoryName: e.category.name,
|
|
117
|
+
onSubBudgetAmountChanged: $,
|
|
118
|
+
subBudgetAmounts: c,
|
|
120
119
|
subBudgets: e.subBudgets
|
|
121
|
-
})
|
|
120
|
+
})]
|
|
122
121
|
}),
|
|
123
122
|
/* @__PURE__ */ n(C, {
|
|
124
123
|
copy: {
|
|
125
|
-
close_aria:
|
|
124
|
+
close_aria: m.close_aria,
|
|
126
125
|
title: r.delete_title
|
|
127
126
|
},
|
|
128
|
-
isOpen:
|
|
129
|
-
onClose: () =>
|
|
130
|
-
onPrimaryAction:
|
|
127
|
+
isOpen: P,
|
|
128
|
+
onClose: () => B(!1),
|
|
129
|
+
onPrimaryAction: G,
|
|
131
130
|
primaryColor: "error",
|
|
132
131
|
primaryText: r.details_delete_button,
|
|
133
132
|
secondaryColor: "secondary",
|
|
134
133
|
children: /* @__PURE__ */ n(X, {
|
|
135
134
|
variant: "subtitle1",
|
|
136
|
-
children:
|
|
135
|
+
children: b(r.delete_description, e.category.name)
|
|
137
136
|
})
|
|
138
137
|
})
|
|
139
138
|
] });
|
|
140
139
|
});
|
|
141
140
|
export {
|
|
142
|
-
|
|
141
|
+
ge as BudgetDetailsDrawer
|
|
143
142
|
};
|
|
144
143
|
|
|
145
144
|
//# sourceMappingURL=BudgetDetailsDrawer.es.js.map
|