@mx-cartographer/experiences 9.3.8-alpha.al0 → 9.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/dist/accounts/components/AccountListItem.es.js +4 -4
- package/dist/accounts/components/AccountsListCompact.es.js +15 -15
- package/dist/accounts/components/detailsdrawer/Accounts/AccountActions.es.js +6 -6
- package/dist/accounts/components/detailsdrawer/Accounts/AccountConnection.es.js +6 -6
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetails.es.js +11 -11
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsContent.es.js +6 -6
- package/dist/accounts/components/detailsdrawer/Accounts/ConnectionErrorMessage.es.js +7 -7
- package/dist/accounts/components/detailsdrawer/Transactions/TransactionsTab.es.js +4 -4
- package/dist/budgets/components/BudgetsEmptyState.es.js +7 -7
- package/dist/budgets/components/budgetdetails/SubBudgetList.es.js +16 -16
- package/dist/budgets/components/budgetdetails/SubBudgetList.es.js.map +1 -1
- package/dist/cashflow/CashflowOnboarding.es.js +13 -13
- package/dist/cashflow/components/CashflowHeading.es.js +4 -4
- package/dist/cashflow/components/DetailsExpenseHeader.es.js +4 -4
- package/dist/common/components/DataRow.es.js +6 -6
- package/dist/common/components/MiniWidgetContainer.es.js +9 -9
- package/dist/common/components/charts/linechart/CustomLine.es.js +2 -2
- package/dist/common/components/charts/linechart/CustomMark.es.js +2 -2
- package/dist/common/context/hooks.d.ts +1 -0
- package/dist/common/context/hooks.es.js +12 -11
- package/dist/common/context/hooks.es.js.map +1 -1
- package/dist/common/context/index.d.ts +1 -1
- package/dist/common/index.es.js +116 -115
- package/dist/core/index.es.js +27 -25
- package/dist/core/stores/BudgetsStore.es.js +21 -28
- package/dist/core/stores/BudgetsStore.es.js.map +1 -1
- package/dist/core/stores/GlobalStore.d.ts +2 -1
- package/dist/core/stores/GlobalStore.es.js +11 -9
- package/dist/core/stores/GlobalStore.es.js.map +1 -1
- package/dist/core/stores/InsightsV2Store.d.ts +24 -0
- package/dist/core/stores/InsightsV2Store.es.js +41 -0
- package/dist/core/stores/InsightsV2Store.es.js.map +1 -0
- package/dist/core/stores/index.d.ts +2 -0
- package/dist/core/types/Beat.d.ts +2 -0
- package/dist/core/types/Beat.es.js.map +1 -1
- package/dist/core/types/Insights.d.ts +90 -0
- package/dist/core/types/InsightsInstanceSlotData.d.ts +93 -0
- package/dist/core/types/InsightsInstanceSlotData.es.js +8 -0
- package/dist/core/types/InsightsInstanceSlotData.es.js.map +1 -0
- package/dist/core/types/index.d.ts +1 -0
- package/dist/core/utils/BudgetUtil.es.js +50 -56
- package/dist/core/utils/BudgetUtil.es.js.map +1 -1
- package/dist/debts/DebtsWidget.es.js +5 -5
- package/dist/debts/components/debtsdrawer/DebtDetailsContent.es.js +3 -3
- package/dist/debts/components/debtsdrawer/DebtDetailsTab.es.js +6 -6
- package/dist/debts/components/debtsdrawer/DebtScheduleTab.es.js +8 -8
- package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.es.js +2 -2
- package/dist/finstrong/components/KeyIndicatorsTabItem.es.js +8 -8
- package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.es.js +5 -5
- package/dist/finstrong/components/shared/Accounts.es.js +24 -24
- package/dist/finstrong/components/shared/ScoreHistoryTimeline.es.js +2 -2
- package/dist/finstrong/components/shared/Transactions.es.js +28 -28
- package/dist/finstrong/util/finstrongUtils.d.ts +1 -1
- package/dist/goals/GoalsWidget.es.js +12 -12
- package/dist/insights/components/insights/CustomTransaction/CustomTransaction.es.js +13 -13
- package/dist/insights/components/insights/UserFeedback/UserFeedback.es.js +14 -14
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/DirectDepositDeepLink.es.js +2 -2
- package/dist/insights/components/shared/DirectDeposit/DirectDepositSubHeader.es.js +9 -9
- package/dist/insights/components/shared/InsightsCard/BeatCard.es.js +4 -4
- package/dist/insights/components/shared/InsightsCard/BeatCardMUI.es.js +4 -4
- package/dist/insights/components/shared/InsightsCard/ContentAndDescription.es.js +2 -2
- package/dist/insights/components/shared/InsightsCard/ContentAndDescriptionMUI.es.js +2 -2
- package/dist/insights/components/shared/MenuAction.es.js +16 -16
- package/dist/insights-v2/CommonUtils.d.ts +1 -0
- package/dist/insights-v2/CommonUtils.es.js +7 -0
- package/dist/insights-v2/CommonUtils.es.js.map +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/BarchartBlock.d.ts +3 -0
- package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/BarchartBlock.es.js +28 -0
- package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/BarchartBlock.es.js.map +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/index.d.ts +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/layout.d.ts +9 -0
- package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/layout.es.js +9 -0
- package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/layout.es.js.map +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/utils.d.ts +18 -0
- package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/utils.es.js +34 -0
- package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/utils.es.js.map +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/DonutChart.d.ts +13 -0
- package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/DonutChart.es.js +87 -0
- package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/DonutChart.es.js.map +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/DonutChartBlock.d.ts +4 -0
- package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/DonutChartBlock.es.js +23 -0
- package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/DonutChartBlock.es.js.map +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/index.d.ts +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/layout.d.ts +19 -0
- package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/layout.es.js +15 -0
- package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/layout.es.js.map +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/utils.d.ts +3 -0
- package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/utils.es.js +11 -0
- package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/utils.es.js.map +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/ChartLegend.d.ts +7 -0
- package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/ChartLegend.es.js +48 -0
- package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/ChartLegend.es.js.map +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/CustomDoubleBar.d.ts +18 -0
- package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/CustomDoubleBar.es.js +45 -0
- package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/CustomDoubleBar.es.js.map +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/DoubleBarChart.d.ts +2 -0
- package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/DoubleBarChart.es.js +125 -0
- package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/DoubleBarChart.es.js.map +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/index.d.ts +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/layout.d.ts +8 -0
- package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/layout.es.js +10 -0
- package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/layout.es.js.map +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/DoubleProgressBarBlock/DoubleProgressBarBlock.d.ts +4 -0
- package/dist/insights-v2/blocks/ChartBlocks/DoubleProgressBarBlock/DoubleProgressBarBlock.es.js +28 -0
- package/dist/insights-v2/blocks/ChartBlocks/DoubleProgressBarBlock/DoubleProgressBarBlock.es.js.map +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/DoubleProgressBarBlock/ProgressBar.d.ts +8 -0
- package/dist/insights-v2/blocks/ChartBlocks/DoubleProgressBarBlock/ProgressBar.es.js +44 -0
- package/dist/insights-v2/blocks/ChartBlocks/DoubleProgressBarBlock/ProgressBar.es.js.map +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/DoubleProgressBarBlock/index.d.ts +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/StepChartBlock.d.ts +4 -0
- package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/StepChartBlock.es.js +15 -0
- package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/StepChartBlock.es.js.map +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/index.d.ts +9 -0
- package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/index.es.js +13 -0
- package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/index.es.js.map +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/utils.d.ts +19 -0
- package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/utils.es.js +27 -0
- package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/utils.es.js.map +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/variants/WithText.d.ts +5 -0
- package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/variants/WithText.es.js +78 -0
- package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/variants/WithText.es.js.map +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/variants/WithoutText.d.ts +5 -0
- package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/variants/WithoutText.es.js +81 -0
- package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/variants/WithoutText.es.js.map +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/index.d.ts +5 -0
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/AccountBlock.d.ts +4 -0
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/AccountBlock.es.js +200 -0
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/AccountBlock.es.js.map +1 -0
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/HeaderComponent.d.ts +5 -0
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/HeaderComponent.es.js +26 -0
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/HeaderComponent.es.js.map +1 -0
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/IconComponent.d.ts +7 -0
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/IconComponent.es.js +64 -0
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/IconComponent.es.js.map +1 -0
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/index.d.ts +1 -0
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/layout.d.ts +32 -0
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/layout.es.js +100 -0
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/layout.es.js.map +1 -0
- package/dist/insights-v2/blocks/ComponentBlocks/ActionBlock/ActionBlockLayer.d.ts +8 -0
- package/dist/insights-v2/blocks/ComponentBlocks/ActionBlock/ActionBlockLayer.es.js +41 -0
- package/dist/insights-v2/blocks/ComponentBlocks/ActionBlock/ActionBlockLayer.es.js.map +1 -0
- package/dist/insights-v2/blocks/ComponentBlocks/ActionBlock/PlaceholderActionBlock.d.ts +4 -0
- package/dist/insights-v2/blocks/ComponentBlocks/ActionBlock/PlaceholderActionBlock.es.js +32 -0
- package/dist/insights-v2/blocks/ComponentBlocks/ActionBlock/PlaceholderActionBlock.es.js.map +1 -0
- package/dist/insights-v2/blocks/ComponentBlocks/BudgetBlock/BudgetBlock.d.ts +3 -0
- package/dist/insights-v2/blocks/ComponentBlocks/BudgetBlock/BudgetBlock.es.js +50 -0
- package/dist/insights-v2/blocks/ComponentBlocks/BudgetBlock/BudgetBlock.es.js.map +1 -0
- package/dist/insights-v2/blocks/ComponentBlocks/BudgetBlock/index.d.ts +1 -0
- package/dist/insights-v2/blocks/ComponentBlocks/BudgetBlock/util.d.ts +7 -0
- package/dist/insights-v2/blocks/ComponentBlocks/BudgetBlock/util.es.js +12 -0
- package/dist/insights-v2/blocks/ComponentBlocks/BudgetBlock/util.es.js.map +1 -0
- package/dist/insights-v2/blocks/ComponentBlocks/index.d.ts +2 -0
- package/dist/insights-v2/blocks/ImageBlocks/ImageBlock.d.ts +4 -0
- package/dist/insights-v2/blocks/ImageBlocks/ImageBlock.es.js +35 -0
- package/dist/insights-v2/blocks/ImageBlocks/ImageBlock.es.js.map +1 -0
- package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/SVGImageBlock.d.ts +3 -0
- package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/SVGImageBlock.es.js +20 -0
- package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/SVGImageBlock.es.js.map +1 -0
- package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/DesignateEmergencySavingsAccount.es.js +296 -0
- package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/DesignateEmergencySavingsAccount.es.js.map +1 -0
- package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/FederalBankHoliday.es.js +449 -0
- package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/FederalBankHoliday.es.js.map +1 -0
- package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/FederalBankHolidayCibc.es.js +89 -0
- package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/FederalBankHolidayCibc.es.js.map +1 -0
- package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/UpcomingTaxDeadlineAlert.es.js +235 -0
- package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/UpcomingTaxDeadlineAlert.es.js.map +1 -0
- package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/UpcomingTaxDeadlineAlertCIBC.es.js +57 -0
- package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/UpcomingTaxDeadlineAlertCIBC.es.js.map +1 -0
- package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/index.d.ts +1 -0
- package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/layout.d.ts +7 -0
- package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/layout.es.js +15 -0
- package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/layout.es.js.map +1 -0
- package/dist/insights-v2/blocks/ImageBlocks/index.d.ts +2 -0
- package/dist/insights-v2/blocks/index.d.ts +4 -0
- package/dist/insights-v2/blocks/types.d.ts +8 -0
- package/dist/insights-v2/components/AccountHeroCard.d.ts +35 -0
- package/dist/insights-v2/components/AccountHeroCard.es.js +91 -0
- package/dist/insights-v2/components/AccountHeroCard.es.js.map +1 -0
- package/dist/insights-v2/components/AmountPill.d.ts +16 -0
- package/dist/insights-v2/components/AmountPill.es.js +25 -0
- package/dist/insights-v2/components/AmountPill.es.js.map +1 -0
- package/dist/insights-v2/components/BaseLayout.d.ts +6 -0
- package/dist/insights-v2/components/BaseLayout.es.js +77 -0
- package/dist/insights-v2/components/BaseLayout.es.js.map +1 -0
- package/dist/insights-v2/components/ComponentBlocks/DepositLogo.d.ts +22 -0
- package/dist/insights-v2/components/ComponentBlocks/DepositLogo.es.js +33 -0
- package/dist/insights-v2/components/ComponentBlocks/DepositLogo.es.js.map +1 -0
- package/dist/insights-v2/components/ComponentBlocks/StatusIndicator.d.ts +14 -0
- package/dist/insights-v2/components/ComponentBlocks/StatusIndicator.es.js +65 -0
- package/dist/insights-v2/components/ComponentBlocks/StatusIndicator.es.js.map +1 -0
- package/dist/insights-v2/components/DesignateEmergencySavingsCard.d.ts +33 -0
- package/dist/insights-v2/components/DesignateEmergencySavingsCard.es.js +78 -0
- package/dist/insights-v2/components/DesignateEmergencySavingsCard.es.js.map +1 -0
- package/dist/insights-v2/components/Footer.d.ts +9 -0
- package/dist/insights-v2/components/Footer.es.js +25 -0
- package/dist/insights-v2/components/Footer.es.js.map +1 -0
- package/dist/insights-v2/components/Header.d.ts +8 -0
- package/dist/insights-v2/components/Header.es.js +41 -0
- package/dist/insights-v2/components/Header.es.js.map +1 -0
- package/dist/insights-v2/components/InsightTransactionRow.d.ts +23 -0
- package/dist/insights-v2/components/InsightTransactionRow.es.js +52 -0
- package/dist/insights-v2/components/InsightTransactionRow.es.js.map +1 -0
- package/dist/insights-v2/components/LogoClusterCard.d.ts +40 -0
- package/dist/insights-v2/components/LogoClusterCard.es.js +104 -0
- package/dist/insights-v2/components/LogoClusterCard.es.js.map +1 -0
- package/dist/insights-v2/components/LogoTile.d.ts +31 -0
- package/dist/insights-v2/components/LogoTile.es.js +34 -0
- package/dist/insights-v2/components/LogoTile.es.js.map +1 -0
- package/dist/insights-v2/components/MerchantHighlightCard.d.ts +34 -0
- package/dist/insights-v2/components/MerchantHighlightCard.es.js +64 -0
- package/dist/insights-v2/components/MerchantHighlightCard.es.js.map +1 -0
- package/dist/insights-v2/components/P2PLogoStack.d.ts +32 -0
- package/dist/insights-v2/components/P2PLogoStack.es.js +55 -0
- package/dist/insights-v2/components/P2PLogoStack.es.js.map +1 -0
- package/dist/insights-v2/components/SaveAnExtraCard.d.ts +27 -0
- package/dist/insights-v2/components/SaveAnExtraCard.es.js +57 -0
- package/dist/insights-v2/components/SaveAnExtraCard.es.js.map +1 -0
- package/dist/insights-v2/components/SavingsOpportunityCard.d.ts +18 -0
- package/dist/insights-v2/components/SavingsOpportunityCard.es.js +71 -0
- package/dist/insights-v2/components/SavingsOpportunityCard.es.js.map +1 -0
- package/dist/insights-v2/components/StatusMessageCard.d.ts +28 -0
- package/dist/insights-v2/components/StatusMessageCard.es.js +45 -0
- package/dist/insights-v2/components/StatusMessageCard.es.js.map +1 -0
- package/dist/insights-v2/components/StatusPill.d.ts +26 -0
- package/dist/insights-v2/components/StatusPill.es.js +30 -0
- package/dist/insights-v2/components/StatusPill.es.js.map +1 -0
- package/dist/insights-v2/components/SubHeader.d.ts +6 -0
- package/dist/insights-v2/components/SubHeader.es.js +40 -0
- package/dist/insights-v2/components/SubHeader.es.js.map +1 -0
- package/dist/insights-v2/components/SubscriptionHeroCard.d.ts +27 -0
- package/dist/insights-v2/components/SubscriptionHeroCard.es.js +63 -0
- package/dist/insights-v2/components/SubscriptionHeroCard.es.js.map +1 -0
- package/dist/insights-v2/components/TransactionListCard.d.ts +45 -0
- package/dist/insights-v2/components/TransactionListCard.es.js +118 -0
- package/dist/insights-v2/components/TransactionListCard.es.js.map +1 -0
- package/dist/insights-v2/components/TransferLogoCard.d.ts +44 -0
- package/dist/insights-v2/components/TransferLogoCard.es.js +121 -0
- package/dist/insights-v2/components/TransferLogoCard.es.js.map +1 -0
- package/dist/insights-v2/components/UpcomingBillCard.d.ts +41 -0
- package/dist/insights-v2/components/UpcomingBillCard.es.js +99 -0
- package/dist/insights-v2/components/UpcomingBillCard.es.js.map +1 -0
- package/dist/insights-v2/components/celebrationGradients.d.ts +19 -0
- package/dist/insights-v2/components/celebrationGradients.es.js +7 -0
- package/dist/insights-v2/components/celebrationGradients.es.js.map +1 -0
- package/dist/insights-v2/components/chartblocks/BarchartV2.d.ts +2 -0
- package/dist/insights-v2/components/chartblocks/BarchartV2.es.js +148 -0
- package/dist/insights-v2/components/chartblocks/BarchartV2.es.js.map +1 -0
- package/dist/insights-v2/components/chartblocks/EmptyBarChart.d.ts +1 -0
- package/dist/insights-v2/components/chartblocks/EmptyBarChart.es.js +14 -0
- package/dist/insights-v2/components/chartblocks/EmptyBarChart.es.js.map +1 -0
- package/dist/insights-v2/components/chartblocks/ThemedSVGImage.d.ts +2 -0
- package/dist/insights-v2/components/chartblocks/ThemedSVGImage.es.js +49 -0
- package/dist/insights-v2/components/chartblocks/ThemedSVGImage.es.js.map +1 -0
- package/dist/insights-v2/components/logoShadow.d.ts +26 -0
- package/dist/insights-v2/components/logoShadow.es.js +12 -0
- package/dist/insights-v2/components/logoShadow.es.js.map +1 -0
- package/dist/insights-v2/components/shared/Confetti.d.ts +15 -0
- package/dist/insights-v2/components/shared/Confetti.es.js +33 -0
- package/dist/insights-v2/components/shared/Confetti.es.js.map +1 -0
- package/dist/insights-v2/components/shared/images/DesignateEmergencySavings.es.js +338 -0
- package/dist/insights-v2/components/shared/images/DesignateEmergencySavings.es.js.map +1 -0
- package/dist/insights-v2/components/shared/images/PaidOffCard.es.js +85 -0
- package/dist/insights-v2/components/shared/images/PaidOffCard.es.js.map +1 -0
- package/dist/insights-v2/components/shared/images/SavingsAccountDeposit.es.js +124 -0
- package/dist/insights-v2/components/shared/images/SavingsAccountDeposit.es.js.map +1 -0
- package/dist/insights-v2/components/shared/images/SavingsOpportunityLeft.es.js +104 -0
- package/dist/insights-v2/components/shared/images/SavingsOpportunityLeft.es.js.map +1 -0
- package/dist/insights-v2/components/shared/images/SavingsOpportunityLeftDark.es.js +104 -0
- package/dist/insights-v2/components/shared/images/SavingsOpportunityLeftDark.es.js.map +1 -0
- package/dist/insights-v2/components/shared/images/SavingsOpportunityPerforation.es.js +38 -0
- package/dist/insights-v2/components/shared/images/SavingsOpportunityPerforation.es.js.map +1 -0
- package/dist/insights-v2/components/statusTokens.d.ts +12 -0
- package/dist/insights-v2/components/statusTokens.es.js +10 -0
- package/dist/insights-v2/components/statusTokens.es.js.map +1 -0
- package/dist/insights-v2/hooks/useContainerDimensions.d.ts +5 -0
- package/dist/insights-v2/hooks/useContainerDimensions.es.js +26 -0
- package/dist/insights-v2/hooks/useContainerDimensions.es.js.map +1 -0
- package/dist/insights-v2/index.d.ts +18 -0
- package/dist/insights-v2/index.es.js +55 -0
- package/dist/insights-v2/mappings/blocks.d.ts +14 -0
- package/dist/insights-v2/mappings/blocks.es.js +32 -0
- package/dist/insights-v2/mappings/blocks.es.js.map +1 -0
- package/dist/investments/InvestmentsWidget.es.js +10 -10
- package/dist/investments/components/AnalysisDetails.es.js +4 -4
- package/dist/investments/components/allocation/InvestementAllocationList.es.js +27 -27
- package/dist/microinsights/MicroCardTemplate.es.js +4 -4
- package/dist/microinsights/carousel/BeatList.es.js +9 -9
- package/dist/networth/NetWorthWidget.es.js +6 -6
- package/dist/networth/components/AssetsLiabilitiesDetail.es.js +2 -2
- package/dist/networth/components/GainsLossesDetail.es.js +13 -13
- package/dist/notifications/components/NotificationDrawer.es.js +5 -5
- package/dist/notifications/components/NotificationList.es.js +13 -13
- package/dist/recurringtransactions/components/MicroWidgetContent.es.js +13 -13
- package/dist/recurringtransactions/components/RecurrenceRow.es.js +6 -6
- package/dist/recurringtransactions/components/RecurringStatus.es.js +4 -4
- package/dist/recurringtransactions/components/RecurringTransactionDetails.es.js +19 -19
- package/dist/recurringtransactions/components/actions/PaymentScheduleAction.es.js +9 -9
- package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceDay.es.js +5 -5
- package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransaction.es.js +25 -25
- package/dist/recurringtransactions/components/shared/recurringsettings/ManageIncome.es.js +5 -5
- package/dist/settings/components/notifications/NotificationSettings.es.js +12 -12
- package/dist/settings/components/profile/ProfileTab.es.js +20 -20
- package/dist/trends/TrendsWidget.es.js +25 -25
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useCashflowStore as te, useGlobalCopyStore as oe, useGlobalUiStore as re, useRecurringTransactionsStore as ne, useTransactionStore as ie, useUserStore as ae } from "../common/context/hooks.es.js";
|
|
2
2
|
import { useScreenSize as ce } from "../common/hooks/useScreenSize.es.js";
|
|
3
|
-
import { Frequency as se, RepeatingType as
|
|
3
|
+
import { Frequency as se, RepeatingType as F } from "../core/types/RepeatingTransaction.es.js";
|
|
4
4
|
import { fromUnixToDayOfWeekAndDate as me } from "../core/utils/DateUtil.es.js";
|
|
5
|
-
import { getNextPaymentDate as
|
|
5
|
+
import { getNextPaymentDate as v } from "../core/utils/RecurringTransactionsUtil.es.js";
|
|
6
6
|
import de from "../common/components/Loader.es.js";
|
|
7
7
|
import le from "../transactions/components/shared/transactionlist/TransactionRow.es.js";
|
|
8
8
|
import pe from "../common/components/SubheaderRow.es.js";
|
|
@@ -28,8 +28,8 @@ import { fromUnixTime as U } from "date-fns/fromUnixTime";
|
|
|
28
28
|
import { getUnixTime as Ie } from "date-fns/getUnixTime";
|
|
29
29
|
import { formatISO as we } from "date-fns/formatISO";
|
|
30
30
|
import L from "@mui/material/Divider";
|
|
31
|
-
import
|
|
32
|
-
var
|
|
31
|
+
import Fe from "@mui/material/List";
|
|
32
|
+
var ve = Te`
|
|
33
33
|
from {
|
|
34
34
|
transform: rotate(0deg);
|
|
35
35
|
}
|
|
@@ -37,7 +37,7 @@ var Fe = Te`
|
|
|
37
37
|
transform: rotate(360deg);
|
|
38
38
|
}
|
|
39
39
|
`, Oe = () => {
|
|
40
|
-
const { addRepeatingTransaction: M, repeatingTransactions: q } = ne(), { cashflow: a, common: y } = oe(), { user: N } = ae(), { completeOnboarding: x } = te(), { isDirty: z } = he(), { isMobile: c } = ce(), { isCopyLoaded: B, setDisplayedDate: H } = re(), { filter: _, setFilter: S, transactions: b } = ie(), P = Ce(), [
|
|
40
|
+
const { addRepeatingTransaction: M, repeatingTransactions: q } = ne(), { cashflow: a, common: y } = oe(), { user: N } = ae(), { completeOnboarding: x } = te(), { isDirty: z } = he(), { isMobile: c } = ce(), { isCopyLoaded: B, setDisplayedDate: H } = re(), { filter: _, setFilter: S, transactions: b } = ie(), P = Ce(), [$, u] = d(!0), [s, j] = m.useState(se.EveryMonth), [E, J] = m.useState(1), [D, K] = m.useState(15), [T, Q] = d(!1), [f, C] = d(1), [r, X] = d([]), [k, g] = d(""), n = m.useMemo(() => b.find((t) => t.guid === k), [k, b]), Y = !!q.filter((t) => t.repeating_transaction_type === F.Income).length, I = async () => {
|
|
41
41
|
C(2), H(De(ke(A(), 90)), A()), S({
|
|
42
42
|
..._,
|
|
43
43
|
custom: O
|
|
@@ -46,7 +46,7 @@ var Fe = Te`
|
|
|
46
46
|
if (!(r.length < 1)) {
|
|
47
47
|
Q(!0);
|
|
48
48
|
for (let t = 0; t < r.length; t++) {
|
|
49
|
-
const o = r[t], w =
|
|
49
|
+
const o = r[t], w = v(s, U(o.date)), ee = {
|
|
50
50
|
account_guid: o.account_guid,
|
|
51
51
|
amount: o.amount,
|
|
52
52
|
created_by: 0,
|
|
@@ -55,7 +55,7 @@ var Fe = Te`
|
|
|
55
55
|
predicted_occurs_on: we(w, { representation: "date" }),
|
|
56
56
|
recurrence_day: w.getDay(),
|
|
57
57
|
recurrence_type: s,
|
|
58
|
-
repeating_transaction_type:
|
|
58
|
+
repeating_transaction_type: F.Income,
|
|
59
59
|
second_recurrence_day: D,
|
|
60
60
|
transaction_type: o.transaction_type,
|
|
61
61
|
user_guid: N.guid
|
|
@@ -64,7 +64,7 @@ var Fe = Te`
|
|
|
64
64
|
}
|
|
65
65
|
await x();
|
|
66
66
|
}
|
|
67
|
-
}, V = !n &&
|
|
67
|
+
}, V = !n && $ || !n && r.length < 1;
|
|
68
68
|
return B ? /* @__PURE__ */ i(p, {
|
|
69
69
|
sx: {
|
|
70
70
|
display: "flex",
|
|
@@ -124,7 +124,7 @@ var Fe = Te`
|
|
|
124
124
|
mb: 24,
|
|
125
125
|
children: a.add_income_description
|
|
126
126
|
}),
|
|
127
|
-
r.length > 0 && !n && /* @__PURE__ */ i(G, { children: [/* @__PURE__ */ e(
|
|
127
|
+
r.length > 0 && !n && /* @__PURE__ */ i(G, { children: [/* @__PURE__ */ e(Fe, { children: r.map((t, o) => /* @__PURE__ */ i(m.Fragment, { children: [
|
|
128
128
|
/* @__PURE__ */ e(pe, {
|
|
129
129
|
bgcolor: "background.paper",
|
|
130
130
|
children: me(Ie(t.nextDate || t.date))
|
|
@@ -160,10 +160,10 @@ var Fe = Te`
|
|
|
160
160
|
}),
|
|
161
161
|
n && /* @__PURE__ */ i(G, { children: [/* @__PURE__ */ e(ge, {
|
|
162
162
|
bgcolor: "background.paper",
|
|
163
|
-
firstDay:
|
|
163
|
+
firstDay: E,
|
|
164
164
|
frequency: s,
|
|
165
165
|
onFirstDayChange: J,
|
|
166
|
-
onFrequencyChange:
|
|
166
|
+
onFrequencyChange: j,
|
|
167
167
|
onSecondDayChange: K,
|
|
168
168
|
secondDay: D,
|
|
169
169
|
transaction: n
|
|
@@ -178,7 +178,7 @@ var Fe = Te`
|
|
|
178
178
|
const t = [...r];
|
|
179
179
|
t.push({
|
|
180
180
|
...n,
|
|
181
|
-
nextDate:
|
|
181
|
+
nextDate: v(s, U(n.date)),
|
|
182
182
|
frequency: s
|
|
183
183
|
}), X(t), g("");
|
|
184
184
|
},
|
|
@@ -202,7 +202,7 @@ var Fe = Te`
|
|
|
202
202
|
onClick: Z,
|
|
203
203
|
startIcon: T ? /* @__PURE__ */ e(R, {
|
|
204
204
|
name: "progress_activity",
|
|
205
|
-
sx: { animation: `${
|
|
205
|
+
sx: { animation: `${ve} 2s linear infinite` }
|
|
206
206
|
}) : null,
|
|
207
207
|
variant: "contained",
|
|
208
208
|
children: a.confirm_income_button
|
|
@@ -11,11 +11,11 @@ import x from "@mui/material/Stack";
|
|
|
11
11
|
import { Icon as M, Text as c } from "@mxenabled/mxui";
|
|
12
12
|
import { isBefore as O } from "date-fns/isBefore";
|
|
13
13
|
import W from "@mui/material/Button";
|
|
14
|
-
import { Fragment as
|
|
15
|
-
import { isAfter as
|
|
14
|
+
import { Fragment as $, jsx as o, jsxs as l } from "react/jsx-runtime";
|
|
15
|
+
import { isAfter as P } from "date-fns/isAfter";
|
|
16
16
|
import m from "@mui/material/Divider";
|
|
17
17
|
import { isToday as q } from "date-fns/isToday";
|
|
18
|
-
var C = (r, t) => (n) => n.accountGuid && r.includes(n.accountGuid) && (q(n.expectedDate) ||
|
|
18
|
+
var C = (r, t) => (n) => n.accountGuid && r.includes(n.accountGuid) && (q(n.expectedDate) || P(n.expectedDate, t.start)) && O(n.expectedDate, t.end), J = () => {
|
|
19
19
|
const { availableWidth: r } = R(), { cashflow: t } = B(), { isDataLoaded: n } = z(), { selectedAccountGuids: d } = G(), { dateRange: u, income: S, selectedCashAccounts: v, selectedCashBalance: y, upcomingExpenses: I, upcomingIncome: w } = E(), [D, p] = F.useState(!1), f = I.filter(C(d, u)), H = w.filter(C(d, u)), h = y, g = f.reduce((a, s) => a + s.amount, 0), b = H.reduce((a, s) => a + s.amount, 0), T = h - g + b, A = n && S.length > 0, e = r < 725;
|
|
20
20
|
return /* @__PURE__ */ l(x, {
|
|
21
21
|
sx: {
|
|
@@ -36,7 +36,7 @@ var C = (r, t) => (n) => n.accountGuid && r.includes(n.accountGuid) && (q(n.expe
|
|
|
36
36
|
label: _(t.cash_and_bank, v.length)
|
|
37
37
|
}),
|
|
38
38
|
e && /* @__PURE__ */ o(m, {}),
|
|
39
|
-
A ? /* @__PURE__ */ l(
|
|
39
|
+
A ? /* @__PURE__ */ l($, { children: [!e && /* @__PURE__ */ o(c, {
|
|
40
40
|
sx: {
|
|
41
41
|
fontSize: 25,
|
|
42
42
|
lineHeight: 1
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useGlobalCopyStore as n } from "../../common/context/hooks.es.js";
|
|
2
|
-
import { formatCurrency as
|
|
2
|
+
import { formatCurrency as a } from "../../core/utils/NumberFormatting.es.js";
|
|
3
3
|
import { ExpenseType as t } from "./DetailsExpenseRow.es.js";
|
|
4
4
|
import "react";
|
|
5
|
-
import { observer as
|
|
5
|
+
import { observer as p } from "mobx-react-lite";
|
|
6
6
|
import { Text as i } from "@mxenabled/mxui";
|
|
7
7
|
import { Fragment as l, jsx as s, jsxs as e } from "react/jsx-runtime";
|
|
8
8
|
import f from "@mui/material/Divider";
|
|
@@ -26,10 +26,10 @@ var c = ({ total: m, type: r }) => {
|
|
|
26
26
|
}), /* @__PURE__ */ e(i, {
|
|
27
27
|
bold: !0,
|
|
28
28
|
sx: { fontSize: 13 },
|
|
29
|
-
children: [r === t.EXPENSE ? "-" : "+",
|
|
29
|
+
children: [r === t.EXPENSE ? "-" : "+", a(m, "0,0.00")]
|
|
30
30
|
})]
|
|
31
31
|
}), /* @__PURE__ */ s(f, {})] });
|
|
32
|
-
}, j =
|
|
32
|
+
}, j = p(c);
|
|
33
33
|
export {
|
|
34
34
|
j as default
|
|
35
35
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import "react";
|
|
2
2
|
import { Icon as o } from "@mxenabled/mxui";
|
|
3
|
-
import { Fragment as l, jsx as r, jsxs as
|
|
4
|
-
import
|
|
3
|
+
import { Fragment as l, jsx as r, jsxs as a } from "react/jsx-runtime";
|
|
4
|
+
import i from "@mui/material/ListItem";
|
|
5
5
|
import c from "@mui/material/ListItemButton";
|
|
6
6
|
import f from "@mui/material/ListItemText";
|
|
7
7
|
import p from "@mui/material/Avatar";
|
|
8
8
|
import h from "@mui/material/ListItemAvatar";
|
|
9
9
|
import u from "@mui/material/ListItemIcon";
|
|
10
10
|
var A = ({ iconName: m, label: n, onClick: t, showChevron: s = !0, value: d }) => {
|
|
11
|
-
const e = /* @__PURE__ */
|
|
11
|
+
const e = /* @__PURE__ */ a(l, { children: [/* @__PURE__ */ r(h, { children: /* @__PURE__ */ r(p, {
|
|
12
12
|
sx: { bgcolor: "neutral.light" },
|
|
13
13
|
variant: "rounded",
|
|
14
14
|
children: /* @__PURE__ */ r(o, {
|
|
@@ -30,17 +30,17 @@ var A = ({ iconName: m, label: n, onClick: t, showChevron: s = !0, value: d }) =
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
})] });
|
|
33
|
-
return t ? /* @__PURE__ */ r(
|
|
33
|
+
return t ? /* @__PURE__ */ r(i, {
|
|
34
34
|
disableGutters: !0,
|
|
35
35
|
disablePadding: !0,
|
|
36
|
-
children: /* @__PURE__ */
|
|
36
|
+
children: /* @__PURE__ */ a(c, {
|
|
37
37
|
onClick: t,
|
|
38
38
|
children: [e, s && /* @__PURE__ */ r(u, { children: /* @__PURE__ */ r(o, {
|
|
39
39
|
name: "chevron_right",
|
|
40
40
|
size: 24
|
|
41
41
|
}) })]
|
|
42
42
|
})
|
|
43
|
-
}) : /* @__PURE__ */ r(
|
|
43
|
+
}) : /* @__PURE__ */ r(i, {
|
|
44
44
|
disableGutters: !1,
|
|
45
45
|
disablePadding: !1,
|
|
46
46
|
children: e
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { WidgetContainerProvider as
|
|
1
|
+
import { WidgetContainerProvider as x } from "../context/WidgetContainerProvider.es.js";
|
|
2
2
|
import { useDimensions as u } from "../hooks/useDimensions.es.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import { H3 as b, P as v, Text as C } from "@mxenabled/mxui";
|
|
@@ -10,8 +10,8 @@ import R from "@mui/material/IconButton";
|
|
|
10
10
|
import W from "@mui/material/Card";
|
|
11
11
|
import j from "@mui/material/CardContent";
|
|
12
12
|
import w from "@mui/material/CardHeader";
|
|
13
|
-
var K = ({ children: a, className: m = "mx-cmn-mini-widget", closeLabel: l, contentStyles: d, onClose:
|
|
14
|
-
const [h, { height: f, width:
|
|
13
|
+
var K = ({ children: a, className: m = "mx-cmn-mini-widget", closeLabel: l, contentStyles: d, onClose: e, onPrimaryCtaClick: o, primaryCtaLabel: c = "", primaryCtaLabelAria: s = "", subTitle: t = "", sx: p = {}, title: n = "" }) => {
|
|
14
|
+
const [h, { height: f, width: g }] = u();
|
|
15
15
|
return /* @__PURE__ */ i(W, {
|
|
16
16
|
className: m,
|
|
17
17
|
sx: {
|
|
@@ -28,18 +28,18 @@ var K = ({ children: a, className: m = "mx-cmn-mini-widget", closeLabel: l, cont
|
|
|
28
28
|
gridTemplateColumns: "1fr auto",
|
|
29
29
|
pb: 4
|
|
30
30
|
},
|
|
31
|
-
children: [n && /* @__PURE__ */ r(b, { children: n }),
|
|
31
|
+
children: [n && /* @__PURE__ */ r(b, { children: n }), e ? /* @__PURE__ */ r(R, {
|
|
32
32
|
"aria-label": l,
|
|
33
|
-
onClick:
|
|
33
|
+
onClick: e,
|
|
34
34
|
size: "small",
|
|
35
35
|
children: /* @__PURE__ */ r(H, {
|
|
36
36
|
name: "close",
|
|
37
37
|
size: 24
|
|
38
38
|
})
|
|
39
|
-
}) :
|
|
39
|
+
}) : o && /* @__PURE__ */ r(I, {
|
|
40
40
|
"aria-label": s,
|
|
41
41
|
endIcon: /* @__PURE__ */ r(z, {}),
|
|
42
|
-
onClick:
|
|
42
|
+
onClick: o,
|
|
43
43
|
size: "small",
|
|
44
44
|
children: /* @__PURE__ */ r(C, {
|
|
45
45
|
bold: !0,
|
|
@@ -62,9 +62,9 @@ var K = ({ children: a, className: m = "mx-cmn-mini-widget", closeLabel: l, cont
|
|
|
62
62
|
p: 0,
|
|
63
63
|
...d
|
|
64
64
|
},
|
|
65
|
-
children: /* @__PURE__ */ r(
|
|
65
|
+
children: /* @__PURE__ */ r(x, {
|
|
66
66
|
availableHeight: f,
|
|
67
|
-
availableWidth:
|
|
67
|
+
availableWidth: g,
|
|
68
68
|
children: a
|
|
69
69
|
})
|
|
70
70
|
})]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react";
|
|
2
2
|
import { Fragment as i, jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
-
var
|
|
3
|
+
var h = (e) => /* @__PURE__ */ n(i, { children: [/* @__PURE__ */ t("clipPath", {
|
|
4
4
|
id: e.id,
|
|
5
5
|
children: /* @__PURE__ */ t("rect", {
|
|
6
6
|
height: e.height,
|
|
@@ -21,7 +21,7 @@ var d = (e) => /* @__PURE__ */ n(i, { children: [/* @__PURE__ */ t("clipPath", {
|
|
|
21
21
|
}
|
|
22
22
|
}) })] });
|
|
23
23
|
export {
|
|
24
|
-
|
|
24
|
+
h as CustomLine
|
|
25
25
|
};
|
|
26
26
|
|
|
27
27
|
//# sourceMappingURL=CustomLine.es.js.map
|
|
@@ -4,7 +4,7 @@ import "react";
|
|
|
4
4
|
import { Fragment as m, jsx as n, jsxs as d } from "react/jsx-runtime";
|
|
5
5
|
import { useTheme as L } from "@mui/material/styles";
|
|
6
6
|
import F from "@mui/material/useMediaQuery";
|
|
7
|
-
var
|
|
7
|
+
var I = (e) => {
|
|
8
8
|
const a = L(), s = e.showLabel, t = e.style, h = t?.markLabelStyles, l = Number(e.x), r = Number(e.y), o = e.handlers?.onMarkClick, u = e.handlers?.onMouseEnter, x = e.handlers?.onMouseLeave, y = F(a.breakpoints.up("sm")), f = e.valueFormatterString ? M(e.yData[e.dataIndex], e.valueFormatterString) : String(e.yData[e.dataIndex]), b = y ? a.typography.body2?.fontSize : a.typography.caption?.fontSize, i = 30, c = 24, k = l - i / 2, S = r - 30;
|
|
9
9
|
return /* @__PURE__ */ d(m, { children: [s && /* @__PURE__ */ d(m, { children: [e.labelBackgroundColor && /* @__PURE__ */ n("rect", {
|
|
10
10
|
fill: e.labelBackgroundColor,
|
|
@@ -50,7 +50,7 @@ var $ = (e) => {
|
|
|
50
50
|
})] });
|
|
51
51
|
};
|
|
52
52
|
export {
|
|
53
|
-
|
|
53
|
+
I as CustomMark
|
|
54
54
|
};
|
|
55
55
|
|
|
56
56
|
//# sourceMappingURL=CustomMark.es.js.map
|
|
@@ -14,6 +14,7 @@ export declare const useGlobalCopyStore: () => import('../../core').GlobalCopy;
|
|
|
14
14
|
export declare const useGoalStore: () => import('../../core').GoalStore;
|
|
15
15
|
export declare const useHelpStore: () => import('../../core').HelpStore;
|
|
16
16
|
export declare const useHoldingStore: () => import('../../core').HoldingStore;
|
|
17
|
+
export declare const useInsightsV2Store: () => import('../../core').InsightsV2Store;
|
|
17
18
|
export declare const useMerchantStore: () => import('../../core').MerchantStore;
|
|
18
19
|
export declare const useNetWorthStore: () => import('../../core').NetWorthStore;
|
|
19
20
|
export declare const useNotificationStore: () => import('../../core').NotificationStore;
|
|
@@ -5,11 +5,11 @@ var e = (t = "useGlobalStore") => {
|
|
|
5
5
|
const o = r.useContext(a);
|
|
6
6
|
if (!o) throw new Error(`${t}() must be used within the GlobalDataContext`);
|
|
7
7
|
return o;
|
|
8
|
-
}, i = () => e("useAccountStore").globalStore.accountStore, g = () => e("useAppConfig").globalStore.appDataStore.appConfig, b = () => e("useAnalyticsStore").globalStore.analyticsStore, c = () => e("useBudgetsStore").globalStore.budgetsStore, v = () => e("useCashflowStore").globalStore.cashflowStore, C = () => e("useCategoryStore").globalStore.categoryStore, d = () => e("useConnectStore").globalStore.connectStore,
|
|
8
|
+
}, i = () => e("useAccountStore").globalStore.accountStore, g = () => e("useAppConfig").globalStore.appDataStore.appConfig, b = () => e("useAnalyticsStore").globalStore.analyticsStore, c = () => e("useBudgetsStore").globalStore.budgetsStore, v = () => e("useCashflowStore").globalStore.cashflowStore, C = () => e("useCategoryStore").globalStore.categoryStore, d = () => e("useConnectStore").globalStore.connectStore, h = () => e("useDebtsStore").globalStore.debtsStore, p = () => e("useFinstrongStore").globalStore.finstrongStore, f = () => e("useGlobalStore").globalStore, w = () => e("useGlobalUiStore").globalStore.globalUiStore, x = () => e("globalCopyStore").globalStore.copyStore.copy, G = () => e("useGoalStore").globalStore.goalStore, y = () => e("useHelpStore").globalStore.helpStore, m = () => e("useHoldingStore").globalStore.holdingStore, E = () => e("useInsightsV2Store").globalStore.insightsV2Store, W = () => e("useMerchantStore").globalStore.merchantStore, T = () => e("useNetWorthStore").globalStore.netWorthStore, A = () => e("useNotificationStore").globalStore.notificationStore, D = () => e("useRecurringTransactionsStore").globalStore.recurringTransactionsStore, V = () => e("useSettingsStore").globalStore.settingsStore, U = () => e("useTransactionStore").globalStore.transactionStore, H = () => e("useTrendsStore").globalStore.trendsStore, N = () => e("useUserStore").globalStore.userStore, P = () => ({ onError: e().onError }), L = () => ({ onEvent: e().onEvent }), R = () => ({ onLoad: e().onLoad }), B = () => ({ onPageView: e().onPageView }), n = (t = "useWidgetContainerContext") => {
|
|
9
9
|
const o = r.useContext(s);
|
|
10
10
|
if (!o) throw new Error(`${t}() must be used within the WidgetContainerContext`);
|
|
11
11
|
return o;
|
|
12
|
-
},
|
|
12
|
+
}, F = () => n();
|
|
13
13
|
export {
|
|
14
14
|
i as useAccountStore,
|
|
15
15
|
b as useAnalyticsStore,
|
|
@@ -18,10 +18,10 @@ export {
|
|
|
18
18
|
v as useCashflowStore,
|
|
19
19
|
C as useCategoryStore,
|
|
20
20
|
d as useConnectStore,
|
|
21
|
-
|
|
21
|
+
h as useDebtStore,
|
|
22
22
|
P as useError,
|
|
23
23
|
L as useEvent,
|
|
24
|
-
|
|
24
|
+
p as useFinstrongStore,
|
|
25
25
|
x as useGlobalCopyStore,
|
|
26
26
|
e as useGlobalDataContext,
|
|
27
27
|
f as useGlobalStore,
|
|
@@ -29,18 +29,19 @@ export {
|
|
|
29
29
|
G as useGoalStore,
|
|
30
30
|
y as useHelpStore,
|
|
31
31
|
m as useHoldingStore,
|
|
32
|
+
E as useInsightsV2Store,
|
|
32
33
|
R as useLoad,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
34
|
+
W as useMerchantStore,
|
|
35
|
+
T as useNetWorthStore,
|
|
36
|
+
A as useNotificationStore,
|
|
37
|
+
B as usePageView,
|
|
38
|
+
D as useRecurringTransactionsStore,
|
|
39
|
+
V as useSettingsStore,
|
|
39
40
|
U as useTransactionStore,
|
|
40
41
|
H as useTrendsStore,
|
|
41
42
|
N as useUserStore,
|
|
42
43
|
n as useWidgetContainerContext,
|
|
43
|
-
|
|
44
|
+
F as useWidgetContainerProvider
|
|
44
45
|
};
|
|
45
46
|
|
|
46
47
|
//# sourceMappingURL=hooks.es.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.es.js","names":[],"sources":["../../../src/common/context/hooks.tsx"],"sourcesContent":["import React from 'react'\nimport { GlobalDataContext } from './GlobalDataProvider'\nimport { WidgetContainerContext } from './WidgetContainerProvider'\n\nexport const useGlobalDataContext = (providerName = 'useGlobalStore') => {\n const context = React.useContext(GlobalDataContext)\n\n if (!context) {\n throw new Error(`${providerName}() must be used within the GlobalDataContext`)\n }\n return context\n}\n\nexport const useAccountStore = () =>\n useGlobalDataContext('useAccountStore').globalStore.accountStore\nexport const useAppConfig = () =>\n useGlobalDataContext('useAppConfig').globalStore.appDataStore.appConfig\nexport const useAnalyticsStore = () =>\n useGlobalDataContext('useAnalyticsStore').globalStore.analyticsStore\nexport const useBudgetsStore = () =>\n useGlobalDataContext('useBudgetsStore').globalStore.budgetsStore\nexport const useCashflowStore = () =>\n useGlobalDataContext('useCashflowStore').globalStore.cashflowStore\nexport const useCategoryStore = () =>\n useGlobalDataContext('useCategoryStore').globalStore.categoryStore\nexport const useConnectStore = () =>\n useGlobalDataContext('useConnectStore').globalStore.connectStore\nexport const useDebtStore = () => useGlobalDataContext('useDebtsStore').globalStore.debtsStore\nexport const useFinstrongStore = () =>\n useGlobalDataContext('useFinstrongStore').globalStore.finstrongStore\nexport const useGlobalStore = () => useGlobalDataContext('useGlobalStore').globalStore\nexport const useGlobalUiStore = () =>\n useGlobalDataContext('useGlobalUiStore').globalStore.globalUiStore\nexport const useGlobalCopyStore = () =>\n useGlobalDataContext('globalCopyStore').globalStore.copyStore.copy\nexport const useGoalStore = () => useGlobalDataContext('useGoalStore').globalStore.goalStore\nexport const useHelpStore = () => useGlobalDataContext('useHelpStore').globalStore.helpStore\nexport const useHoldingStore = () =>\n useGlobalDataContext('useHoldingStore').globalStore.holdingStore\nexport const useMerchantStore = () =>\n useGlobalDataContext('useMerchantStore').globalStore.merchantStore\nexport const useNetWorthStore = () =>\n useGlobalDataContext('useNetWorthStore').globalStore.netWorthStore\nexport const useNotificationStore = () =>\n useGlobalDataContext('useNotificationStore').globalStore.notificationStore\nexport const useRecurringTransactionsStore = () =>\n useGlobalDataContext('useRecurringTransactionsStore').globalStore.recurringTransactionsStore\nexport const useSettingsStore = () =>\n useGlobalDataContext('useSettingsStore').globalStore.settingsStore\nexport const useTransactionStore = () =>\n useGlobalDataContext('useTransactionStore').globalStore.transactionStore\nexport const useTrendsStore = () => useGlobalDataContext('useTrendsStore').globalStore.trendsStore\nexport const useUserStore = () => useGlobalDataContext('useUserStore').globalStore.userStore\n\nexport const useError = () => ({ onError: useGlobalDataContext().onError })\nexport const useEvent = () => ({ onEvent: useGlobalDataContext().onEvent })\nexport const useLoad = () => ({ onLoad: useGlobalDataContext().onLoad })\nexport const usePageView = () => ({ onPageView: useGlobalDataContext().onPageView })\n\nexport const useWidgetContainerContext = (providerName = 'useWidgetContainerContext') => {\n const context = React.useContext(WidgetContainerContext)\n\n if (!context) {\n throw new Error(`${providerName}() must be used within the WidgetContainerContext`)\n }\n\n return context\n}\n\nexport const useWidgetContainerProvider = () => useWidgetContainerContext()\n"],"mappings":";;;AAIA,IAAa,IAAA,CAAwB,IAAe,qBAAqB;AACvE,QAAM,IAAU,EAAM,WAAW,CAAiB;AAElD,MAAI,CAAC,EACH,OAAM,IAAI,MAAM,GAAG,CAAA,8CAA0D;AAE/E,SAAO;AACT,GAEa,IAAA,MACX,EAAqB,iBAAiB,EAAE,YAAY,cACzC,IAAA,MACX,EAAqB,cAAc,EAAE,YAAY,aAAa,WACnD,IAAA,MACX,EAAqB,mBAAmB,EAAE,YAAY,gBAC3C,IAAA,MACX,EAAqB,iBAAiB,EAAE,YAAY,cACzC,IAAA,MACX,EAAqB,kBAAkB,EAAE,YAAY,eAC1C,IAAA,MACX,EAAqB,kBAAkB,EAAE,YAAY,eAC1C,IAAA,MACX,EAAqB,iBAAiB,EAAE,YAAY,cACzC,IAAA,MAAqB,EAAqB,eAAe,EAAE,YAAY,YACvE,IAAA,MACX,EAAqB,mBAAmB,EAAE,YAAY,gBAC3C,IAAA,MAAuB,EAAqB,gBAAgB,EAAE,aAC9D,IAAA,MACX,EAAqB,kBAAkB,EAAE,YAAY,eAC1C,IAAA,MACX,EAAqB,iBAAiB,EAAE,YAAY,UAAU,MACnD,IAAA,MAAqB,EAAqB,cAAc,EAAE,YAAY,WACtE,IAAA,MAAqB,EAAqB,cAAc,EAAE,YAAY,WACtE,IAAA,MACX,EAAqB,iBAAiB,EAAE,YAAY,cACzC,IAAA,MACX,EAAqB,kBAAkB,EAAE,YAAY,eAC1C,IAAA,MACX,EAAqB,kBAAkB,EAAE,YAAY,eAC1C,IAAA,MACX,EAAqB,sBAAsB,EAAE,YAAY,mBAC9C,IAAA,MACX,EAAqB,+BAA+B,EAAE,YAAY,4BACvD,IAAA,MACX,EAAqB,kBAAkB,EAAE,YAAY,eAC1C,IAAA,MACX,EAAqB,qBAAqB,EAAE,YAAY,kBAC7C,IAAA,MAAuB,EAAqB,gBAAgB,EAAE,YAAY,aAC1E,IAAA,MAAqB,EAAqB,cAAc,EAAE,YAAY,WAEtE,IAAA,OAAkB,EAAE,SAAS,EAAqB,EAAE,QAAQ,IAC5D,IAAA,OAAkB,EAAE,SAAS,EAAqB,EAAE,QAAQ,IAC5D,IAAA,OAAiB,EAAE,QAAQ,EAAqB,EAAE,OAAO,IACzD,IAAA,OAAqB,EAAE,YAAY,EAAqB,EAAE,WAAW,IAErE,IAAA,CAA6B,IAAe,gCAAgC;AACvF,QAAM,IAAU,EAAM,WAAW,CAAsB;AAEvD,MAAI,CAAC,EACH,OAAM,IAAI,MAAM,GAAG,CAAA,mDAA+D;AAGpF,SAAO;AACT,GAEa,IAAA,MAAmC,EAA0B"}
|
|
1
|
+
{"version":3,"file":"hooks.es.js","names":[],"sources":["../../../src/common/context/hooks.tsx"],"sourcesContent":["import React from 'react'\nimport { GlobalDataContext } from './GlobalDataProvider'\nimport { WidgetContainerContext } from './WidgetContainerProvider'\n\nexport const useGlobalDataContext = (providerName = 'useGlobalStore') => {\n const context = React.useContext(GlobalDataContext)\n\n if (!context) {\n throw new Error(`${providerName}() must be used within the GlobalDataContext`)\n }\n return context\n}\n\nexport const useAccountStore = () =>\n useGlobalDataContext('useAccountStore').globalStore.accountStore\nexport const useAppConfig = () =>\n useGlobalDataContext('useAppConfig').globalStore.appDataStore.appConfig\nexport const useAnalyticsStore = () =>\n useGlobalDataContext('useAnalyticsStore').globalStore.analyticsStore\nexport const useBudgetsStore = () =>\n useGlobalDataContext('useBudgetsStore').globalStore.budgetsStore\nexport const useCashflowStore = () =>\n useGlobalDataContext('useCashflowStore').globalStore.cashflowStore\nexport const useCategoryStore = () =>\n useGlobalDataContext('useCategoryStore').globalStore.categoryStore\nexport const useConnectStore = () =>\n useGlobalDataContext('useConnectStore').globalStore.connectStore\nexport const useDebtStore = () => useGlobalDataContext('useDebtsStore').globalStore.debtsStore\nexport const useFinstrongStore = () =>\n useGlobalDataContext('useFinstrongStore').globalStore.finstrongStore\nexport const useGlobalStore = () => useGlobalDataContext('useGlobalStore').globalStore\nexport const useGlobalUiStore = () =>\n useGlobalDataContext('useGlobalUiStore').globalStore.globalUiStore\nexport const useGlobalCopyStore = () =>\n useGlobalDataContext('globalCopyStore').globalStore.copyStore.copy\nexport const useGoalStore = () => useGlobalDataContext('useGoalStore').globalStore.goalStore\nexport const useHelpStore = () => useGlobalDataContext('useHelpStore').globalStore.helpStore\nexport const useHoldingStore = () =>\n useGlobalDataContext('useHoldingStore').globalStore.holdingStore\nexport const useInsightsV2Store = () =>\n useGlobalDataContext('useInsightsV2Store').globalStore.insightsV2Store\nexport const useMerchantStore = () =>\n useGlobalDataContext('useMerchantStore').globalStore.merchantStore\nexport const useNetWorthStore = () =>\n useGlobalDataContext('useNetWorthStore').globalStore.netWorthStore\nexport const useNotificationStore = () =>\n useGlobalDataContext('useNotificationStore').globalStore.notificationStore\nexport const useRecurringTransactionsStore = () =>\n useGlobalDataContext('useRecurringTransactionsStore').globalStore.recurringTransactionsStore\nexport const useSettingsStore = () =>\n useGlobalDataContext('useSettingsStore').globalStore.settingsStore\nexport const useTransactionStore = () =>\n useGlobalDataContext('useTransactionStore').globalStore.transactionStore\nexport const useTrendsStore = () => useGlobalDataContext('useTrendsStore').globalStore.trendsStore\nexport const useUserStore = () => useGlobalDataContext('useUserStore').globalStore.userStore\n\nexport const useError = () => ({ onError: useGlobalDataContext().onError })\nexport const useEvent = () => ({ onEvent: useGlobalDataContext().onEvent })\nexport const useLoad = () => ({ onLoad: useGlobalDataContext().onLoad })\nexport const usePageView = () => ({ onPageView: useGlobalDataContext().onPageView })\n\nexport const useWidgetContainerContext = (providerName = 'useWidgetContainerContext') => {\n const context = React.useContext(WidgetContainerContext)\n\n if (!context) {\n throw new Error(`${providerName}() must be used within the WidgetContainerContext`)\n }\n\n return context\n}\n\nexport const useWidgetContainerProvider = () => useWidgetContainerContext()\n"],"mappings":";;;AAIA,IAAa,IAAA,CAAwB,IAAe,qBAAqB;AACvE,QAAM,IAAU,EAAM,WAAW,CAAiB;AAElD,MAAI,CAAC,EACH,OAAM,IAAI,MAAM,GAAG,CAAA,8CAA0D;AAE/E,SAAO;AACT,GAEa,IAAA,MACX,EAAqB,iBAAiB,EAAE,YAAY,cACzC,IAAA,MACX,EAAqB,cAAc,EAAE,YAAY,aAAa,WACnD,IAAA,MACX,EAAqB,mBAAmB,EAAE,YAAY,gBAC3C,IAAA,MACX,EAAqB,iBAAiB,EAAE,YAAY,cACzC,IAAA,MACX,EAAqB,kBAAkB,EAAE,YAAY,eAC1C,IAAA,MACX,EAAqB,kBAAkB,EAAE,YAAY,eAC1C,IAAA,MACX,EAAqB,iBAAiB,EAAE,YAAY,cACzC,IAAA,MAAqB,EAAqB,eAAe,EAAE,YAAY,YACvE,IAAA,MACX,EAAqB,mBAAmB,EAAE,YAAY,gBAC3C,IAAA,MAAuB,EAAqB,gBAAgB,EAAE,aAC9D,IAAA,MACX,EAAqB,kBAAkB,EAAE,YAAY,eAC1C,IAAA,MACX,EAAqB,iBAAiB,EAAE,YAAY,UAAU,MACnD,IAAA,MAAqB,EAAqB,cAAc,EAAE,YAAY,WACtE,IAAA,MAAqB,EAAqB,cAAc,EAAE,YAAY,WACtE,IAAA,MACX,EAAqB,iBAAiB,EAAE,YAAY,cACzC,IAAA,MACX,EAAqB,oBAAoB,EAAE,YAAY,iBAC5C,IAAA,MACX,EAAqB,kBAAkB,EAAE,YAAY,eAC1C,IAAA,MACX,EAAqB,kBAAkB,EAAE,YAAY,eAC1C,IAAA,MACX,EAAqB,sBAAsB,EAAE,YAAY,mBAC9C,IAAA,MACX,EAAqB,+BAA+B,EAAE,YAAY,4BACvD,IAAA,MACX,EAAqB,kBAAkB,EAAE,YAAY,eAC1C,IAAA,MACX,EAAqB,qBAAqB,EAAE,YAAY,kBAC7C,IAAA,MAAuB,EAAqB,gBAAgB,EAAE,YAAY,aAC1E,IAAA,MAAqB,EAAqB,cAAc,EAAE,YAAY,WAEtE,IAAA,OAAkB,EAAE,SAAS,EAAqB,EAAE,QAAQ,IAC5D,IAAA,OAAkB,EAAE,SAAS,EAAqB,EAAE,QAAQ,IAC5D,IAAA,OAAiB,EAAE,QAAQ,EAAqB,EAAE,OAAO,IACzD,IAAA,OAAqB,EAAE,YAAY,EAAqB,EAAE,WAAW,IAErE,IAAA,CAA6B,IAAe,gCAAgC;AACvF,QAAM,IAAU,EAAM,WAAW,CAAsB;AAEvD,MAAI,CAAC,EACH,OAAM,IAAI,MAAM,GAAG,CAAA,mDAA+D;AAGpF,SAAO;AACT,GAEa,IAAA,MAAmC,EAA0B"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { useAccountStore, useAppConfig, useBudgetsStore, useCashflowStore, useCategoryStore, useDebtStore, useError, useEvent, useLoad, useFinstrongStore, useGlobalStore, useGlobalUiStore, useGlobalCopyStore, useGoalStore, useHelpStore, useHoldingStore, useMerchantStore, useNetWorthStore, useNotificationStore, usePageView, useRecurringTransactionsStore, useSettingsStore, useTransactionStore, useTrendsStore, useUserStore, useWidgetContainerProvider, } from './hooks';
|
|
1
|
+
export { useAccountStore, useAppConfig, useBudgetsStore, useCashflowStore, useCategoryStore, useDebtStore, useError, useEvent, useLoad, useFinstrongStore, useGlobalStore, useGlobalUiStore, useGlobalCopyStore, useGoalStore, useHelpStore, useHoldingStore, useInsightsV2Store, useMerchantStore, useNetWorthStore, useNotificationStore, usePageView, useRecurringTransactionsStore, useSettingsStore, useTransactionStore, useTrendsStore, useUserStore, useWidgetContainerProvider, } from './hooks';
|
|
2
2
|
export { GlobalDataContext, GlobalDataProvider } from './GlobalDataProvider';
|
|
3
3
|
export { WidgetContainerContext, WidgetContainerProvider } from './WidgetContainerProvider';
|