@mx-cartographer/experiences 9.7.206 → 10.0.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 +5 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart.d.ts +2 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart.es.js +39 -23
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart.es.js.map +1 -1
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsHeader.d.ts +3 -1
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsHeader.es.js +37 -33
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsHeader.es.js.map +1 -1
- package/dist/accounts/utils/AccountFields.d.ts +3 -1
- package/dist/accounts/utils/AccountFields.es.js +39 -39
- package/dist/accounts/utils/AccountFields.es.js.map +1 -1
- package/dist/common/components/charts/LineChart.d.ts +4 -0
- package/dist/common/components/charts/LineChart.es.js +114 -112
- package/dist/common/components/charts/LineChart.es.js.map +1 -1
- package/dist/common/components/charts/linechart/CustomLegend.es.js +24 -21
- package/dist/common/components/charts/linechart/CustomLegend.es.js.map +1 -1
- package/dist/core/types/Insights.d.ts +9 -1
- package/dist/core/types/Insights.es.js.map +1 -1
- package/dist/core/types/localization/InsightsFeedCopy.d.ts +42 -0
- package/dist/core/types/localization/index.d.ts +1 -1
- package/dist/insights-v2/actionBlocks/AccountDetailsBlock/AccountDetailsBlock.d.ts +7 -1
- package/dist/insights-v2/actionBlocks/AccountDetailsBlock/AccountDetailsBlock.es.js +39 -20
- package/dist/insights-v2/actionBlocks/AccountDetailsBlock/AccountDetailsBlock.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/AccountDetailsBlock/SpendVsIncomeChart.d.ts +4 -0
- package/dist/insights-v2/actionBlocks/AccountDetailsBlock/SpendVsIncomeChart.es.js +42 -0
- package/dist/insights-v2/actionBlocks/AccountDetailsBlock/SpendVsIncomeChart.es.js.map +1 -0
- package/dist/insights-v2/actionBlocks/AccountDetailsBlock/SpendVsPaymentChart.d.ts +7 -0
- package/dist/insights-v2/actionBlocks/AccountDetailsBlock/SpendVsPaymentChart.es.js +54 -0
- package/dist/insights-v2/actionBlocks/AccountDetailsBlock/SpendVsPaymentChart.es.js.map +1 -0
- package/dist/insights-v2/actionBlocks/AmountInputModalBlock/AmountInputModalBlock.es.js +10 -10
- package/dist/insights-v2/actionBlocks/AmountInputModalBlock/CreateBudgetDialog.es.js +24 -23
- package/dist/insights-v2/actionBlocks/AmountInputModalBlock/CreateBudgetDialog.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/BudgetDetailsBlock/BudgetDetailsBlock.es.js +75 -73
- package/dist/insights-v2/actionBlocks/BudgetDetailsBlock/BudgetDetailsBlock.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/BudgetDetailsBlock/BudgetSummary.d.ts +5 -1
- package/dist/insights-v2/actionBlocks/BudgetDetailsBlock/BudgetSummary.es.js +21 -21
- package/dist/insights-v2/actionBlocks/BudgetDetailsBlock/BudgetSummary.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/BudgetDetailsBlock/layout.d.ts +11 -0
- package/dist/insights-v2/actionBlocks/BudgetDetailsBlock/layout.es.js +65 -58
- package/dist/insights-v2/actionBlocks/BudgetDetailsBlock/layout.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/EmergencySavingsBlock/EmergencySavingsV2.es.js +17 -17
- package/dist/insights-v2/actionBlocks/EmergencySavingsBlock/EmergencySavingsV2.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/MakeTransferActionBlock/BalanceStepper.es.js +9 -10
- package/dist/insights-v2/actionBlocks/MakeTransferActionBlock/BalanceStepper.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/MakeTransferActionBlock/SaveEnoughToLiveOnBottomSection.es.js +21 -22
- package/dist/insights-v2/actionBlocks/MakeTransferActionBlock/SaveEnoughToLiveOnBottomSection.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/PayoffCalculatorBlock/PayoffCalculatorBlock.es.js +35 -35
- package/dist/insights-v2/actionBlocks/PayoffCalculatorBlock/PayoffCalculatorBlock.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/PayoffCalculatorBlock/PayoffResults.d.ts +1 -1
- package/dist/insights-v2/actionBlocks/PayoffCalculatorBlock/PayoffResults.es.js +44 -49
- package/dist/insights-v2/actionBlocks/PayoffCalculatorBlock/PayoffResults.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/PayoffStrategiesBlock/PayoffStrategiesBlock.d.ts +1 -1
- package/dist/insights-v2/actionBlocks/PayoffStrategiesBlock/PayoffStrategiesBlock.es.js +19 -16
- package/dist/insights-v2/actionBlocks/PayoffStrategiesBlock/PayoffStrategiesBlock.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/PayoffStrategiesBlock/PayoffStrategiesContent.d.ts +2 -2
- package/dist/insights-v2/actionBlocks/PayoffStrategiesBlock/PayoffStrategiesContent.es.js +212 -166
- package/dist/insights-v2/actionBlocks/PayoffStrategiesBlock/PayoffStrategiesContent.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/PayoffStrategiesBlock/StepIcon.d.ts +4 -0
- package/dist/insights-v2/actionBlocks/PayoffStrategiesBlock/StepIcon.es.js +24 -0
- package/dist/insights-v2/actionBlocks/PayoffStrategiesBlock/StepIcon.es.js.map +1 -0
- package/dist/insights-v2/actionBlocks/PayoffStrategiesBlock/layout.d.ts +6 -5
- package/dist/insights-v2/actionBlocks/PayoffStrategiesBlock/layout.es.js +38 -38
- package/dist/insights-v2/actionBlocks/PayoffStrategiesBlock/layout.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/SubscriptionStatusModalBlock.es.js +1 -1
- package/dist/insights-v2/actionBlocks/TopMerchantsBlock/TopMerchantsBlock.d.ts +1 -5
- package/dist/insights-v2/actionBlocks/TopMerchantsBlock/TopMerchantsBlock.es.js +37 -36
- package/dist/insights-v2/actionBlocks/TopMerchantsBlock/TopMerchantsBlock.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/TransactionDetailsBlock/layout.d.ts +9 -11
- package/dist/insights-v2/actionBlocks/TransactionDetailsBlock/layout.es.js +12 -6
- package/dist/insights-v2/actionBlocks/TransactionDetailsBlock/layout.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/TransactionDrillDown.es.js +46 -40
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/TransactionDrillDown.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/TransactionHistoryBlock.es.js +141 -126
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/TransactionHistoryBlock.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/layout.d.ts +8 -1
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/layout.es.js +243 -200
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/layout.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/utils.d.ts +2 -0
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/utils.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/TransactionListBlock/TransactionListBlock.es.js +54 -53
- package/dist/insights-v2/actionBlocks/TransactionListBlock/TransactionListBlock.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/TransactionListBlock/TransactionListHeaderIconTile.d.ts +6 -1
- package/dist/insights-v2/actionBlocks/TransactionListBlock/TransactionListHeaderIconTile.es.js +14 -13
- package/dist/insights-v2/actionBlocks/TransactionListBlock/TransactionListHeaderIconTile.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/TransactionListBlock/TransactionListSummaryCard.d.ts +4 -3
- package/dist/insights-v2/actionBlocks/TransactionListBlock/TransactionListSummaryCard.es.js +24 -21
- package/dist/insights-v2/actionBlocks/TransactionListBlock/TransactionListSummaryCard.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/TransactionListBlock/layout.d.ts +14 -4
- package/dist/insights-v2/actionBlocks/TransactionListBlock/layout.es.js +79 -67
- package/dist/insights-v2/actionBlocks/TransactionListBlock/layout.es.js.map +1 -1
- package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/DonutChart.d.ts +3 -1
- package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/DonutChart.es.js +48 -32
- package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/DonutChart.es.js.map +1 -1
- package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/DonutChartBlock.es.js +19 -14
- package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/DonutChartBlock.es.js.map +1 -1
- package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/layout.d.ts +4 -0
- package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/layout.es.js +19 -15
- package/dist/insights-v2/blocks/ChartBlocks/DonutChartBlock/layout.es.js.map +1 -1
- package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/DoubleBarChartBlock.es.js +26 -19
- package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/DoubleBarChartBlock.es.js.map +1 -1
- package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/layout.d.ts +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/layout.es.js +17 -21
- package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/layout.es.js.map +1 -1
- package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/StepChartBlock.d.ts +1 -1
- package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/StepChartBlock.es.js +11 -11
- package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/StepChartBlock.es.js.map +1 -1
- package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/index.es.js +15 -11
- package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/index.es.js.map +1 -1
- package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/layout.d.ts +20 -0
- package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/layout.es.js +21 -0
- package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/layout.es.js.map +1 -0
- package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/variants/MilestoneProgress.d.ts +2 -4
- package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/variants/MilestoneProgress.es.js +78 -82
- package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/variants/MilestoneProgress.es.js.map +1 -1
- package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/variants/WithText.d.ts +10 -2
- package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/variants/WithText.es.js +115 -54
- package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/variants/WithText.es.js.map +1 -1
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/AccountBlock.d.ts +1 -1
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/AccountBlock.es.js +37 -36
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/AccountBlock.es.js.map +1 -1
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/layout.es.js +27 -22
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/layout.es.js.map +1 -1
- package/dist/insights-v2/blocks/ComponentBlocks/BudgetBlock/BudgetBlock.es.js +8 -8
- package/dist/insights-v2/blocks/ComponentBlocks/CompactDirectDepositBlock/CompactDirectDepositBlock.d.ts +7 -0
- package/dist/insights-v2/blocks/ComponentBlocks/CompactDirectDepositBlock/CompactDirectDepositBlock.es.js +46 -0
- package/dist/insights-v2/blocks/ComponentBlocks/CompactDirectDepositBlock/CompactDirectDepositBlock.es.js.map +1 -0
- package/dist/insights-v2/blocks/ComponentBlocks/CompactDirectDepositBlock/index.d.ts +3 -0
- package/dist/insights-v2/blocks/ComponentBlocks/CompactDirectDepositBlock/layout.d.ts +13 -0
- package/dist/insights-v2/blocks/ComponentBlocks/CompactDirectDepositBlock/layout.es.js +22 -0
- package/dist/insights-v2/blocks/ComponentBlocks/CompactDirectDepositBlock/layout.es.js.map +1 -0
- package/dist/insights-v2/blocks/ComponentBlocks/DetailedAccountBlock/DetailedAccountBlock.es.js +29 -21
- package/dist/insights-v2/blocks/ComponentBlocks/DetailedAccountBlock/DetailedAccountBlock.es.js.map +1 -1
- package/dist/insights-v2/blocks/ComponentBlocks/DetailedAccountBlock/layout.d.ts +0 -2
- package/dist/insights-v2/blocks/ComponentBlocks/DetailedAccountBlock/layout.es.js +17 -21
- package/dist/insights-v2/blocks/ComponentBlocks/DetailedAccountBlock/layout.es.js.map +1 -1
- package/dist/insights-v2/blocks/ComponentBlocks/FeeChargedBlock/FeeChargedBlock.es.js +5 -6
- package/dist/insights-v2/blocks/ComponentBlocks/FeeChargedBlock/FeeChargedBlock.es.js.map +1 -1
- package/dist/insights-v2/blocks/ComponentBlocks/FeedbackBlock/FeedbackBlock.d.ts +3 -7
- package/dist/insights-v2/blocks/ComponentBlocks/FeedbackBlock/FeedbackBlock.es.js +120 -306
- package/dist/insights-v2/blocks/ComponentBlocks/FeedbackBlock/FeedbackBlock.es.js.map +1 -1
- package/dist/insights-v2/blocks/ComponentBlocks/FeedbackBlock/RatingScale.d.ts +17 -0
- package/dist/insights-v2/blocks/ComponentBlocks/FeedbackBlock/RatingScale.es.js +93 -0
- package/dist/insights-v2/blocks/ComponentBlocks/FeedbackBlock/RatingScale.es.js.map +1 -0
- package/dist/insights-v2/blocks/ComponentBlocks/FeedbackBlock/StepBar.d.ts +5 -0
- package/dist/insights-v2/blocks/ComponentBlocks/FeedbackBlock/StepBar.es.js +21 -0
- package/dist/insights-v2/blocks/ComponentBlocks/FeedbackBlock/StepBar.es.js.map +1 -0
- package/dist/insights-v2/blocks/ComponentBlocks/FeedbackBlock/SurveyResult.d.ts +18 -0
- package/dist/insights-v2/blocks/ComponentBlocks/FeedbackBlock/SurveyResult.es.js +71 -0
- package/dist/insights-v2/blocks/ComponentBlocks/FeedbackBlock/SurveyResult.es.js.map +1 -0
- package/dist/insights-v2/blocks/ComponentBlocks/FeedbackBlock/survey.d.ts +82 -8
- package/dist/insights-v2/blocks/ComponentBlocks/FeedbackBlock/survey.es.js +66 -15
- package/dist/insights-v2/blocks/ComponentBlocks/FeedbackBlock/survey.es.js.map +1 -1
- package/dist/insights-v2/blocks/ComponentBlocks/MerchantBlock/MerchantBlock.es.js +46 -63
- package/dist/insights-v2/blocks/ComponentBlocks/MerchantBlock/MerchantBlock.es.js.map +1 -1
- package/dist/insights-v2/blocks/ComponentBlocks/MerchantBlock/layout.d.ts +3 -3
- package/dist/insights-v2/blocks/ComponentBlocks/MerchantBlock/layout.es.js +44 -53
- package/dist/insights-v2/blocks/ComponentBlocks/MerchantBlock/layout.es.js.map +1 -1
- package/dist/insights-v2/blocks/ComponentBlocks/QuizBlock/QuizBlock.d.ts +1 -1
- package/dist/insights-v2/blocks/ComponentBlocks/QuizBlock/QuizBlock.es.js +30 -31
- package/dist/insights-v2/blocks/ComponentBlocks/QuizBlock/QuizBlock.es.js.map +1 -1
- package/dist/insights-v2/blocks/ComponentBlocks/SaveExtraBlock/SaveExtraBlock.es.js +25 -20
- package/dist/insights-v2/blocks/ComponentBlocks/SaveExtraBlock/SaveExtraBlock.es.js.map +1 -1
- package/dist/insights-v2/blocks/ComponentBlocks/SaveExtraBlock/layout.d.ts +22 -0
- package/dist/insights-v2/blocks/ComponentBlocks/SaveExtraBlock/layout.es.js +24 -0
- package/dist/insights-v2/blocks/ComponentBlocks/SaveExtraBlock/layout.es.js.map +1 -0
- package/dist/insights-v2/blocks/ComponentBlocks/StrategiesBlock/StrategiesBlock.d.ts +7 -0
- package/dist/insights-v2/blocks/ComponentBlocks/StrategiesBlock/StrategiesBlock.es.js +89 -0
- package/dist/insights-v2/blocks/ComponentBlocks/StrategiesBlock/StrategiesBlock.es.js.map +1 -0
- package/dist/insights-v2/blocks/ComponentBlocks/StrategiesBlock/index.d.ts +1 -0
- package/dist/insights-v2/blocks/ComponentBlocks/StrategiesBlock/layout.d.ts +43 -0
- package/dist/insights-v2/blocks/ComponentBlocks/StrategiesBlock/layout.es.js +28 -0
- package/dist/insights-v2/blocks/ComponentBlocks/StrategiesBlock/layout.es.js.map +1 -0
- package/dist/insights-v2/blocks/ComponentBlocks/TransactionBlock/TransactionBlock.es.js +54 -53
- package/dist/insights-v2/blocks/ComponentBlocks/TransactionBlock/TransactionBlock.es.js.map +1 -1
- package/dist/insights-v2/blocks/ComponentBlocks/TransactionBlock/layout.d.ts +7 -3
- package/dist/insights-v2/blocks/ComponentBlocks/TransactionBlock/layout.es.js +20 -11
- package/dist/insights-v2/blocks/ComponentBlocks/TransactionBlock/layout.es.js.map +1 -1
- package/dist/insights-v2/blocks/ComponentBlocks/WeeklySmallPurchasesBlock/WeeklySmallPurchasesBlock.es.js +29 -28
- package/dist/insights-v2/blocks/ComponentBlocks/WeeklySmallPurchasesBlock/WeeklySmallPurchasesBlock.es.js.map +1 -1
- package/dist/insights-v2/blocks/ComponentBlocks/index.d.ts +2 -0
- package/dist/insights-v2/blocks/ImageBlocks/ImageBlock.es.js +6 -5
- package/dist/insights-v2/blocks/ImageBlocks/ImageBlock.es.js.map +1 -1
- package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/FederalBankHoliday.es.js +117 -71
- package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/FederalBankHoliday.es.js.map +1 -1
- package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/layout.d.ts +1 -1
- package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/layout.es.js +10 -7
- package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/layout.es.js.map +1 -1
- package/dist/insights-v2/components/AccountHeroCard.d.ts +3 -1
- package/dist/insights-v2/components/AccountHeroCard.es.js.map +1 -1
- package/dist/insights-v2/components/BaseLayout.d.ts +3 -1
- package/dist/insights-v2/components/BaseLayout.es.js +134 -119
- package/dist/insights-v2/components/BaseLayout.es.js.map +1 -1
- package/dist/insights-v2/components/CompactDirectDepositCard.d.ts +28 -0
- package/dist/insights-v2/components/CompactDirectDepositCard.es.js +78 -0
- package/dist/insights-v2/components/CompactDirectDepositCard.es.js.map +1 -0
- package/dist/insights-v2/components/CompactInsightCard.es.js +122 -118
- package/dist/insights-v2/components/CompactInsightCard.es.js.map +1 -1
- package/dist/insights-v2/components/DirectDepositCard.d.ts +6 -1
- package/dist/insights-v2/components/DirectDepositCard.es.js +24 -22
- package/dist/insights-v2/components/DirectDepositCard.es.js.map +1 -1
- package/dist/insights-v2/components/LoadingCard.es.js +13 -9
- package/dist/insights-v2/components/LoadingCard.es.js.map +1 -1
- package/dist/insights-v2/components/LogoFromGuid.d.ts +1 -1
- package/dist/insights-v2/components/LogoFromGuid.es.js.map +1 -1
- package/dist/insights-v2/components/MerchantHighlightCard.es.js +4 -4
- package/dist/insights-v2/components/SaveAnExtraCard.d.ts +4 -1
- package/dist/insights-v2/components/SaveAnExtraCard.es.js +32 -20
- package/dist/insights-v2/components/SaveAnExtraCard.es.js.map +1 -1
- package/dist/insights-v2/components/SubTabs.d.ts +2 -1
- package/dist/insights-v2/components/SubTabs.es.js +29 -24
- package/dist/insights-v2/components/SubTabs.es.js.map +1 -1
- package/dist/insights-v2/components/TransactionListCard.d.ts +3 -1
- package/dist/insights-v2/components/TransactionListCard.es.js +39 -37
- package/dist/insights-v2/components/TransactionListCard.es.js.map +1 -1
- package/dist/insights-v2/components/TransferLogoCard.es.js +1 -0
- package/dist/insights-v2/components/TransferLogoCard.es.js.map +1 -1
- package/dist/insights-v2/components/UpcomingBillCard.es.js +39 -35
- package/dist/insights-v2/components/UpcomingBillCard.es.js.map +1 -1
- package/dist/insights-v2/components/celebrationGradients.d.ts +17 -8
- package/dist/insights-v2/components/celebrationGradients.es.js +14 -14
- package/dist/insights-v2/components/celebrationGradients.es.js.map +1 -1
- package/dist/insights-v2/components/chartblocks/ChartLegend.es.js +16 -10
- package/dist/insights-v2/components/chartblocks/ChartLegend.es.js.map +1 -1
- package/dist/insights-v2/components/chartblocks/DoubleBarChart.d.ts +10 -4
- package/dist/insights-v2/components/chartblocks/DoubleBarChart.es.js +62 -61
- package/dist/insights-v2/components/chartblocks/DoubleBarChart.es.js.map +1 -1
- package/dist/insights-v2/components/chartblocks/EmptyBarChart.es.js +13 -6
- package/dist/insights-v2/components/chartblocks/EmptyBarChart.es.js.map +1 -1
- package/dist/insights-v2/components/shared/images/DesignateEmergencySavings.es.js +2 -3
- package/dist/insights-v2/components/shared/images/DesignateEmergencySavings.es.js.map +1 -1
- package/dist/insights-v2/components/statusIcon.d.ts +2 -1
- package/dist/insights-v2/components/statusIcon.es.js +10 -8
- package/dist/insights-v2/components/statusIcon.es.js.map +1 -1
- package/dist/insights-v2/ctaActions/ctaConfig.es.js +19 -17
- package/dist/insights-v2/ctaActions/ctaConfig.es.js.map +1 -1
- package/dist/insights-v2/ctaActions/ctaHandlers.d.ts +5 -1
- package/dist/insights-v2/ctaActions/ctaHandlers.es.js +71 -54
- package/dist/insights-v2/ctaActions/ctaHandlers.es.js.map +1 -1
- package/dist/insights-v2/ctaActions/ctaPostMessages.es.js +41 -24
- package/dist/insights-v2/ctaActions/ctaPostMessages.es.js.map +1 -1
- package/dist/insights-v2/ctaActions/feedbackSurvey.d.ts +9 -0
- package/dist/insights-v2/ctaActions/feedbackSurvey.es.js +51 -0
- package/dist/insights-v2/ctaActions/feedbackSurvey.es.js.map +1 -0
- package/dist/insights-v2/ctaActions/runCtaAction.es.js +36 -35
- package/dist/insights-v2/ctaActions/runCtaAction.es.js.map +1 -1
- package/dist/insights-v2/ctaActions/types.d.ts +7 -0
- package/dist/insights-v2/index.es.js +126 -120
- package/dist/insights-v2/mappings/actionBlocksKey.d.ts +1 -1
- package/dist/insights-v2/mappings/actionBlocksKey.es.js +1 -1
- package/dist/insights-v2/mappings/actionBlocksKey.es.js.map +1 -1
- package/dist/insights-v2/mappings/blocks.es.js +126 -122
- package/dist/insights-v2/mappings/blocks.es.js.map +1 -1
- package/dist/microinsights/MicroCardTemplate.es.js +1 -1
- package/dist/microinsights/MicroCardTemplate.es.js.map +1 -1
- package/dist/microinsights/cards/InsightCard.es.js +53 -53
- package/dist/microinsights/cards/InsightCard.es.js.map +1 -1
- package/package.json +1 -1
- package/dist/insights-v2/blocks/ChartBlocks/StepChartBlock/index.d.ts +0 -13
- package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/DesignateEmergencySavingsAccount.es.js +0 -296
- package/dist/insights-v2/blocks/ImageBlocks/SVGImageBlock/images/DesignateEmergencySavingsAccount.es.js.map +0 -1
|
@@ -1,19 +1,22 @@
|
|
|
1
|
-
import { CategoryGuids as
|
|
1
|
+
import { CategoryGuids as H } from "../../../core/constants/Category.es.js";
|
|
2
2
|
import { buildDynamicCopy as d } from "../../../core/utils/Localization.es.js";
|
|
3
|
-
import { DATE_FORMATS_INTL as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import
|
|
12
|
-
import {
|
|
13
|
-
import
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
|
|
3
|
+
import { DATE_FORMATS_INTL as y, formatDate as N } from "../../../core/constants/DateFormats.es.js";
|
|
4
|
+
import { slot as V } from "../../../core/types/Insights.es.js";
|
|
5
|
+
import { TransactionStatus as W } from "../../../core/types/Transaction.es.js";
|
|
6
|
+
import { fromUnixUTC as P } from "../../../core/utils/DateUtil.es.js";
|
|
7
|
+
import { CURRENCY_FORMAT as x, formatPercentage as j } from "../../../core/utils/NumberFormatting.es.js";
|
|
8
|
+
import { getCategoryColor as q } from "../../../core/utils/CategoryUtil.es.js";
|
|
9
|
+
import { buildDataSeries as O } from "../../blocks/ChartBlocks/BarchartBlock/utils.es.js";
|
|
10
|
+
import { asGuidList as E, asNonEmptyText as l, asNumber as g } from "../../blocks/slotReaders.es.js";
|
|
11
|
+
import { actionBlocksKey as J } from "../../mappings/actionBlocksKey.es.js";
|
|
12
|
+
import { getLayoutConfig as C } from "../../blocks/ChartBlocks/DoubleBarChartBlock/layout.es.js";
|
|
13
|
+
import k from "../../components/LogoMark.es.js";
|
|
14
|
+
import { CREATE_BUDGET_VARIANT as Q } from "../AmountInputModalBlock/layout.es.js";
|
|
15
|
+
import { calendarDateOf as X, toDrillDownSlotData as A } from "./utils.es.js";
|
|
16
|
+
import { Icon as w } from "@mxenabled/mx-icons";
|
|
17
|
+
import { jsx as _ } from "react/jsx-runtime";
|
|
18
|
+
import { endOfMonth as I, fromUnixTime as Z, isValid as L, parseISO as T, startOfMonth as B } from "date-fns";
|
|
19
|
+
var c = {
|
|
17
20
|
TRANSACTION: "not_standard_amount",
|
|
18
21
|
CATEGORY_SPEND: "category_spend",
|
|
19
22
|
MONTHLY_SPEND: "monthly_spend_comparison",
|
|
@@ -29,200 +32,234 @@ var i = {
|
|
|
29
32
|
SUBSCRIPTION_AGGREGATE: "monthly_subscription_aggregate",
|
|
30
33
|
MERCHANT_BUDGET: "merchant_budget",
|
|
31
34
|
TOP_MERCHANT: "top_merchant"
|
|
32
|
-
},
|
|
33
|
-
parent:
|
|
35
|
+
}, Y = (t) => t.insights_feed?.general?.transaction_history_title ?? "", R = { [H.GAS]: {
|
|
36
|
+
parent: H.AUTO_AND_TRANSPORT,
|
|
34
37
|
headingKey: "gas_month_heading",
|
|
35
38
|
tipKey: "gas_tip_message"
|
|
36
|
-
} },
|
|
37
|
-
start:
|
|
38
|
-
end: I(
|
|
39
|
-
}),
|
|
39
|
+
} }, p = (t, e) => e && q(e, t) || t.palette.primary.main, $ = (t, e) => p(t, e && R[e]?.parent || e), S = (t) => typeof t == "string" ? T(t) : new Date(t ?? NaN), M = (t) => ({
|
|
40
|
+
start: B(S(t)),
|
|
41
|
+
end: I(S(t))
|
|
42
|
+
}), z = (t) => t?.length ? { accounts: t } : {}, tt = ({ beat: t }) => {
|
|
40
43
|
const { account_guid: e, from_date: a, to_date: r } = t.insights_payload?.drilldown_data ?? {};
|
|
41
44
|
return typeof e != "string" || typeof a != "number" || typeof r != "number" || !Number.isFinite(a) || !Number.isFinite(r) || r <= a ? {
|
|
42
45
|
accounts: [],
|
|
43
46
|
custom: () => !1
|
|
44
47
|
} : {
|
|
45
48
|
accounts: [e],
|
|
46
|
-
custom: (o) => !o.is_hidden && o.feed_status !==
|
|
49
|
+
custom: (o) => !o.is_hidden && o.feed_status !== W.PENDING,
|
|
47
50
|
showSplits: !0,
|
|
48
51
|
dateRange: {
|
|
49
|
-
start:
|
|
50
|
-
end:
|
|
52
|
+
start: P(a),
|
|
53
|
+
end: P(r - 1)
|
|
51
54
|
}
|
|
52
55
|
};
|
|
53
|
-
},
|
|
56
|
+
}, et = (t) => {
|
|
54
57
|
const e = t?.drilldown_data ?? {};
|
|
55
58
|
return {
|
|
56
|
-
transaction_guids:
|
|
57
|
-
date:
|
|
58
|
-
category_guid:
|
|
59
|
-
average_amount:
|
|
60
|
-
merchant_name:
|
|
59
|
+
transaction_guids: E(e.transaction_guids),
|
|
60
|
+
date: X(e.due_date),
|
|
61
|
+
category_guid: l(e.category_guid),
|
|
62
|
+
average_amount: g(e.average_amount),
|
|
63
|
+
merchant_name: l(e.merchant_name)
|
|
61
64
|
};
|
|
62
|
-
},
|
|
65
|
+
}, m = (t) => {
|
|
63
66
|
const e = t;
|
|
64
67
|
return Array.isArray(e?.names) && Array.isArray(e?.data) ? e : void 0;
|
|
65
|
-
},
|
|
68
|
+
}, at = (t) => {
|
|
66
69
|
const e = t?.drilldown_data ?? {};
|
|
67
70
|
return {
|
|
68
|
-
account_guids:
|
|
69
|
-
data_series:
|
|
70
|
-
average_amount:
|
|
71
|
+
account_guids: E(e.account_guids),
|
|
72
|
+
data_series: m(e.data_series),
|
|
73
|
+
average_amount: g(e.average_amount)
|
|
71
74
|
};
|
|
72
|
-
},
|
|
75
|
+
}, rt = (t) => {
|
|
73
76
|
const e = t?.drilldown_data ?? {}, a = t?.instance_slot?.data, r = t?.instance_slot_data;
|
|
74
77
|
return {
|
|
75
|
-
data_series:
|
|
76
|
-
average_amount:
|
|
77
|
-
merchant_guid:
|
|
78
|
-
merchant_name:
|
|
78
|
+
data_series: m(e.data_series),
|
|
79
|
+
average_amount: g(e.average_amount),
|
|
80
|
+
merchant_guid: l(a?.merchant_guid) ?? l(r?.merchant_guid),
|
|
81
|
+
merchant_name: l(a?.merchant_name) ?? l(r?.merchant_name)
|
|
79
82
|
};
|
|
80
|
-
},
|
|
83
|
+
}, ot = (t, e) => {
|
|
81
84
|
const a = e ?? {};
|
|
82
85
|
return {
|
|
83
|
-
data_series:
|
|
84
|
-
average_amount:
|
|
85
|
-
category_guid:
|
|
86
|
-
described_month:
|
|
87
|
-
merchant_guid:
|
|
88
|
-
merchant_name:
|
|
89
|
-
rank:
|
|
86
|
+
data_series: m(a.data_series),
|
|
87
|
+
average_amount: g(a.average_amount),
|
|
88
|
+
category_guid: l(a.category_guid),
|
|
89
|
+
described_month: l(a.described_month),
|
|
90
|
+
merchant_guid: l(a.merchant_guid),
|
|
91
|
+
merchant_name: l(a.merchant_name),
|
|
92
|
+
rank: g(a.rank)
|
|
90
93
|
};
|
|
91
|
-
}, K = ["income", "other"],
|
|
94
|
+
}, K = ["income", "other"], st = (t) => {
|
|
92
95
|
const e = t?.drilldown_data ?? {}, a = t?.instance_slot?.data?.legends?.map(({ label: r }) => r);
|
|
93
96
|
return {
|
|
94
|
-
data_series:
|
|
95
|
-
average_amount:
|
|
96
|
-
income_transaction_guids:
|
|
97
|
+
data_series: m(e.data_series),
|
|
98
|
+
average_amount: g(e.average_amount),
|
|
99
|
+
income_transaction_guids: E(e.income_transaction_guids),
|
|
97
100
|
sub_tab_labels: a?.length === K.length ? a : void 0
|
|
98
101
|
};
|
|
99
|
-
},
|
|
100
|
-
const a = e ?? {}, r =
|
|
101
|
-
if (!r) return
|
|
102
|
-
const o =
|
|
103
|
-
return
|
|
104
|
-
category_guid:
|
|
102
|
+
}, nt = (t, e) => {
|
|
103
|
+
const a = e ?? {}, r = m(a.series);
|
|
104
|
+
if (!r) return A(t?.instance_slot?.data ?? {});
|
|
105
|
+
const o = O(r).map((n) => g(n.amount)).filter((n) => n !== void 0), s = o.length ? o.reduce((n, i) => n + i, 0) / o.length : void 0;
|
|
106
|
+
return A({
|
|
107
|
+
category_guid: l(a.category_guid),
|
|
105
108
|
series: r,
|
|
106
|
-
average_amount:
|
|
109
|
+
average_amount: g(a.average_amount) ?? s
|
|
107
110
|
});
|
|
108
|
-
},
|
|
109
|
-
const o = r?.category_guid ?
|
|
110
|
-
if (
|
|
111
|
+
}, it = (t, e, a, r) => {
|
|
112
|
+
const o = r?.category_guid ? R[r.category_guid]?.tipKey : void 0, s = o ? e.transaction_history_block?.[o] : void 0;
|
|
113
|
+
if (s)
|
|
111
114
|
return {
|
|
112
|
-
message: d(
|
|
115
|
+
message: d(s, /* @__PURE__ */ _("strong", { children: e.general.tip_section_title })),
|
|
113
116
|
onDismiss: () => t(!0)
|
|
114
117
|
};
|
|
115
|
-
},
|
|
116
|
-
const a = e ?? {}, r =
|
|
117
|
-
return !r || o.length !==
|
|
118
|
+
}, ct = 2, v = (t, e) => {
|
|
119
|
+
const a = e ?? {}, r = m(a.series), o = Array.isArray(a.labels) ? a.labels.map(l) : [];
|
|
120
|
+
return !r || o.length !== ct || !o.every((s) => !!s) ? {} : {
|
|
118
121
|
data_series: r,
|
|
119
|
-
legends: o.map((
|
|
120
|
-
label:
|
|
122
|
+
legends: o.map((s) => ({
|
|
123
|
+
label: s,
|
|
121
124
|
value: 0
|
|
122
125
|
}))
|
|
123
126
|
};
|
|
124
|
-
},
|
|
127
|
+
}, h = (t, e) => O(m(e?.series)).flatMap((a) => a.aggregated_guids ?? []), _t = (t, e) => {
|
|
125
128
|
const a = e.transaction_history_block?.monthly_debt_to_income_tip_message, r = e.transaction_history_block?.monthly_debt_to_income_tip_limit;
|
|
126
129
|
if (!(!a || !r))
|
|
130
|
+
return { message: d(a, /* @__PURE__ */ _("strong", { children: e.general.tip_section_title }), /* @__PURE__ */ _("strong", { children: r })) };
|
|
131
|
+
}, lt = (t, e) => {
|
|
132
|
+
const a = t?.instance_slot?.data, r = {
|
|
133
|
+
...A(a ?? {}),
|
|
134
|
+
budget_category_guid: l(V(a, "budget_category_guid"))
|
|
135
|
+
}, o = v(t, e);
|
|
136
|
+
return o.data_series ? {
|
|
137
|
+
...r,
|
|
138
|
+
...o,
|
|
139
|
+
suggested_percentage: g(e?.suggested_percentage)
|
|
140
|
+
} : r;
|
|
141
|
+
}, dt = (t, e, a, r, o) => {
|
|
142
|
+
const s = e.transaction_history_block?.cost_living_to_income_tip_message, n = r?.suggested_percentage;
|
|
143
|
+
if (!(!s || n === void 0 || !o?.categoryName))
|
|
127
144
|
return {
|
|
128
|
-
message: d(
|
|
129
|
-
|
|
145
|
+
message: d(s, /* @__PURE__ */ _("strong", { children: e.general.tip_section_title }), o.categoryName, /* @__PURE__ */ _("strong", { children: j(n / 100, {
|
|
146
|
+
style: "percent",
|
|
147
|
+
maximumFractionDigits: 0
|
|
148
|
+
}) })),
|
|
149
|
+
tipAriaLabel: o.actionLabel,
|
|
150
|
+
onAction: () => o.openBlock({
|
|
151
|
+
block: J.AMOUNT_INPUT_MODAL_ACTION_BLOCK,
|
|
152
|
+
variant: Q
|
|
153
|
+
})
|
|
130
154
|
};
|
|
131
|
-
},
|
|
132
|
-
const a =
|
|
133
|
-
|
|
134
|
-
|
|
155
|
+
}, gt = (t, e) => {
|
|
156
|
+
const a = v(t, e);
|
|
157
|
+
if (a.data_series) return a;
|
|
158
|
+
const r = t?.instance_slot?.data?.series, o = O(m(r)), s = ["essential", "non-essential"].map((i) => o.find((u) => u.label === i)), n = s.flatMap((i) => i?.localized_label ? [i.localized_label] : []);
|
|
159
|
+
return !r || n.length !== s.length ? {} : v(t, {
|
|
160
|
+
labels: n,
|
|
161
|
+
series: {
|
|
162
|
+
...r,
|
|
163
|
+
data: s.map((i) => [
|
|
164
|
+
i?.date,
|
|
165
|
+
i?.localized_label,
|
|
166
|
+
i?.localized_label,
|
|
167
|
+
i?.amount,
|
|
168
|
+
i?.aggregated_guids
|
|
169
|
+
])
|
|
170
|
+
}
|
|
171
|
+
});
|
|
172
|
+
}, mt = (t, e) => {
|
|
173
|
+
const a = v(t, e);
|
|
174
|
+
return a.data_series ? a : A(t?.instance_slot?.data ?? {});
|
|
175
|
+
}, ut = (t, e) => {
|
|
135
176
|
const a = e.transaction_history_block?.savings_to_income_tip_message, r = e.transaction_history_block?.savings_to_income_tip_percentage;
|
|
136
177
|
if (!(!a || !r))
|
|
137
|
-
return { message: d(a, /* @__PURE__ */
|
|
138
|
-
},
|
|
139
|
-
const
|
|
140
|
-
if (
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
const s =
|
|
146
|
-
if (s)
|
|
147
|
-
return { message: d(s, /* @__PURE__ */ c("strong", { children: e.general.tip_section_title }), o, T(S(n), v.FULL_MONTH_DAY)) };
|
|
148
|
-
}, C = ({ beatTransactions: t, dataSeries: e, selectedIndex: a }) => {
|
|
149
|
-
const r = e[a], o = r?.guid, n = t.find((s) => s.guid === o)?.has_been_split;
|
|
178
|
+
return { message: d(a, /* @__PURE__ */ _("strong", { children: e.general.tip_section_title }), /* @__PURE__ */ _("strong", { children: r })) };
|
|
179
|
+
}, pt = (t) => O(m(t.insights_payload?.drilldown_data?.data_series)).flatMap((e) => e.aggregated_guids ?? []), ht = (t, e, a, r) => {
|
|
180
|
+
const o = r?.merchant_name, s = r?.date;
|
|
181
|
+
if (!o || !s) return;
|
|
182
|
+
const n = e.transaction_history_block?.upcoming_bill_tip_message;
|
|
183
|
+
if (n)
|
|
184
|
+
return { message: d(n, /* @__PURE__ */ _("strong", { children: e.general.tip_section_title }), o, N(T(s), y.FULL_MONTH_DAY)) };
|
|
185
|
+
}, D = ({ beatTransactions: t, dataSeries: e, selectedIndex: a }) => {
|
|
186
|
+
const r = e[a], o = r?.guid, s = t.find((n) => n.guid === o)?.has_been_split;
|
|
150
187
|
return {
|
|
151
|
-
custom: (
|
|
152
|
-
dateRange:
|
|
153
|
-
showSplits: !
|
|
188
|
+
custom: (n) => n.guid === o,
|
|
189
|
+
dateRange: M(r?.date),
|
|
190
|
+
showSplits: !s
|
|
154
191
|
};
|
|
155
|
-
},
|
|
192
|
+
}, ft = ({ dataSeries: t, selectedIndex: e, instanceSlotData: a }) => {
|
|
156
193
|
const r = t[e], o = a.category_guid ?? r?.guid;
|
|
157
194
|
return {
|
|
158
|
-
custom: (
|
|
159
|
-
dateRange:
|
|
195
|
+
custom: (s) => s.category_guid === o || s.top_level_category_guid === o,
|
|
196
|
+
dateRange: M(r?.date)
|
|
160
197
|
};
|
|
161
|
-
},
|
|
198
|
+
}, St = ({ dataSeries: t, selectedIndex: e, spendCategoryGuids: a, instanceSlotData: r }) => {
|
|
162
199
|
const o = t[e];
|
|
163
200
|
return {
|
|
164
|
-
custom: (
|
|
165
|
-
dateRange:
|
|
166
|
-
...
|
|
201
|
+
custom: (s) => !!s.top_level_category_guid && a.includes(s.top_level_category_guid),
|
|
202
|
+
dateRange: M(o?.date),
|
|
203
|
+
...z(r.account_guids)
|
|
167
204
|
};
|
|
168
|
-
},
|
|
169
|
-
const r = a.merchant_guid, o =
|
|
205
|
+
}, F = ({ dataSeries: t, selectedIndex: e, instanceSlotData: a }) => {
|
|
206
|
+
const r = a.merchant_guid, o = T(t[e]?.date ?? "");
|
|
170
207
|
return !r || !L(o) ? {
|
|
171
208
|
accounts: [],
|
|
172
209
|
custom: () => !1
|
|
173
210
|
} : {
|
|
174
|
-
custom: (
|
|
211
|
+
custom: (s) => s.merchant_guid === r && !s.is_hidden,
|
|
175
212
|
dateRange: {
|
|
176
|
-
start:
|
|
213
|
+
start: B(o),
|
|
177
214
|
end: I(o)
|
|
178
215
|
}
|
|
179
216
|
};
|
|
180
|
-
},
|
|
181
|
-
const
|
|
182
|
-
start:
|
|
183
|
-
end: r && L(
|
|
217
|
+
}, vt = (t) => typeof t == "number" ? Z(t) : T(t ?? ""), Tt = ({ beat: t, dataSeries: e, selectedIndex: a, isLastTab: r, instanceSlotData: o }) => {
|
|
218
|
+
const s = e[a], { start: n, end: i } = M(s?.date), u = vt(t.created_at), b = o.account_guids, U = {
|
|
219
|
+
start: n,
|
|
220
|
+
end: r && L(u) && u < i ? u : i
|
|
184
221
|
};
|
|
185
|
-
return
|
|
186
|
-
dateRange:
|
|
187
|
-
accounts:
|
|
222
|
+
return b?.length ? {
|
|
223
|
+
dateRange: U,
|
|
224
|
+
accounts: b
|
|
188
225
|
} : {
|
|
189
|
-
dateRange:
|
|
226
|
+
dateRange: U,
|
|
190
227
|
accounts: [],
|
|
191
228
|
custom: () => !1
|
|
192
229
|
};
|
|
193
|
-
},
|
|
194
|
-
const r = new Set(t), o =
|
|
230
|
+
}, G = (t, e, a) => {
|
|
231
|
+
const r = new Set(t), o = T(e ?? "");
|
|
195
232
|
return !r.size || !L(o) ? {
|
|
196
233
|
accounts: [],
|
|
197
234
|
custom: () => !1
|
|
198
235
|
} : {
|
|
199
|
-
custom: (
|
|
236
|
+
custom: (s) => r.has(s.guid),
|
|
200
237
|
dateRange: {
|
|
201
|
-
start:
|
|
238
|
+
start: B(o),
|
|
202
239
|
end: I(o)
|
|
203
240
|
},
|
|
204
|
-
...
|
|
241
|
+
...z(a)
|
|
205
242
|
};
|
|
206
|
-
},
|
|
243
|
+
}, bt = ({ beat: t, dataSeries: e, selectedIndex: a }) => G(e[a]?.aggregated_guids, e[a]?.date, t.account_guids), f = ({ beat: t, comparisonBars: e, selectedIndex: a, subIndex: r }) => {
|
|
207
244
|
const o = e[a];
|
|
208
|
-
return
|
|
209
|
-
},
|
|
210
|
-
const { dataSeries: e, selectedIndex: a, subIndex: r, instanceSlotData: o } = t,
|
|
211
|
-
return
|
|
212
|
-
},
|
|
213
|
-
[
|
|
214
|
-
title:
|
|
245
|
+
return G(r === 1 ? o?.comparisonGuids : o?.mainGuids, o?.date, t.account_guids);
|
|
246
|
+
}, yt = (t) => {
|
|
247
|
+
const { dataSeries: e, selectedIndex: a, subIndex: r, instanceSlotData: o } = t, s = e[a], n = new Set(o.income_transaction_guids), i = K[r] === "income", u = o.sub_tab_labels ? s?.aggregated_guids?.filter((b) => n.has(b) === i) : s?.aggregated_guids;
|
|
248
|
+
return G(u, s?.date);
|
|
249
|
+
}, Ft = {
|
|
250
|
+
[c.TRANSACTION]: {
|
|
251
|
+
title: Y,
|
|
215
252
|
top: "singleBar",
|
|
216
253
|
scope: "store",
|
|
217
254
|
filterMode: "store",
|
|
218
|
-
filterStrategy:
|
|
219
|
-
colors: (t, e) => [
|
|
255
|
+
filterStrategy: D,
|
|
256
|
+
colors: (t, e) => [p(t, e)],
|
|
220
257
|
header: (t) => {
|
|
221
258
|
const { title: e, subHeader: a } = t;
|
|
222
259
|
return {
|
|
223
260
|
heading: e,
|
|
224
261
|
subHeadingText: a?.text || void 0,
|
|
225
|
-
icon: /* @__PURE__ */
|
|
262
|
+
icon: /* @__PURE__ */ _(k, {
|
|
226
263
|
logo: {
|
|
227
264
|
...a?.logo,
|
|
228
265
|
merchant_name: a?.text ?? a?.logo?.merchant_name
|
|
@@ -232,29 +269,29 @@ var i = {
|
|
|
232
269
|
};
|
|
233
270
|
},
|
|
234
271
|
tipSection: (t, e, a = "") => ({
|
|
235
|
-
message: d(e.general.tip_section_message, /* @__PURE__ */
|
|
272
|
+
message: d(e.general.tip_section_message, /* @__PURE__ */ _("strong", { children: e.general.tip_section_title }), /* @__PURE__ */ _("strong", { children: a })),
|
|
236
273
|
onDismiss: () => t(!0)
|
|
237
274
|
})
|
|
238
275
|
},
|
|
239
|
-
[
|
|
276
|
+
[c.CATEGORY_SPEND]: {
|
|
240
277
|
top: "singleBar",
|
|
241
|
-
averageFormat:
|
|
242
|
-
slotData:
|
|
243
|
-
fetchMissingTransactions:
|
|
244
|
-
tipSection:
|
|
245
|
-
filterStrategy:
|
|
278
|
+
averageFormat: x.whole,
|
|
279
|
+
slotData: nt,
|
|
280
|
+
fetchMissingTransactions: h,
|
|
281
|
+
tipSection: it,
|
|
282
|
+
filterStrategy: ft,
|
|
246
283
|
scope: "store",
|
|
247
284
|
filterMode: "store",
|
|
248
|
-
colors: (t, e) => [
|
|
285
|
+
colors: (t, e) => [$(t, e)],
|
|
249
286
|
header: (t) => {
|
|
250
|
-
const e = t.selectedDate &&
|
|
287
|
+
const e = t.selectedDate && N(S(t.selectedDate), y.MONTH_LONG) || "", a = t.slotData?.category_guid, r = a ? R[a]?.headingKey : void 0, o = r && t.copy?.transaction_history_block?.[r];
|
|
251
288
|
return o && e ? {
|
|
252
289
|
heading: d(o, e),
|
|
253
290
|
subHeadingText: ""
|
|
254
291
|
} : {
|
|
255
292
|
heading: t.categoryName,
|
|
256
293
|
subHeadingText: e,
|
|
257
|
-
icon: /* @__PURE__ */
|
|
294
|
+
icon: /* @__PURE__ */ _(w, {
|
|
258
295
|
color: "primary",
|
|
259
296
|
name: "calendar_month",
|
|
260
297
|
size: 16
|
|
@@ -262,90 +299,90 @@ var i = {
|
|
|
262
299
|
};
|
|
263
300
|
}
|
|
264
301
|
},
|
|
265
|
-
[
|
|
302
|
+
[c.MONTHLY_SPEND]: {
|
|
266
303
|
top: "singleBar",
|
|
267
|
-
filterStrategy:
|
|
304
|
+
filterStrategy: St,
|
|
268
305
|
scope: "store",
|
|
269
306
|
filterMode: "store",
|
|
270
307
|
colors: (t) => [t.palette.chart.chart2 ?? t.palette.primary.main]
|
|
271
308
|
},
|
|
272
|
-
[
|
|
309
|
+
[c.ACCOUNT_BALANCE]: {
|
|
273
310
|
title: (t, e) => e?.insights_payload?.title || void 0,
|
|
274
311
|
top: "singleBar",
|
|
275
|
-
filterStrategy:
|
|
276
|
-
slotData:
|
|
312
|
+
filterStrategy: Tt,
|
|
313
|
+
slotData: at,
|
|
277
314
|
scope: "store",
|
|
278
315
|
filterMode: "store",
|
|
279
316
|
colors: (t) => [t.palette.success.main]
|
|
280
317
|
},
|
|
281
|
-
[
|
|
318
|
+
[c.UPCOMING_BILL]: {
|
|
282
319
|
top: "upcomingBill",
|
|
283
|
-
filterStrategy:
|
|
320
|
+
filterStrategy: D,
|
|
284
321
|
scope: "beat",
|
|
285
322
|
filterMode: "local",
|
|
286
|
-
colors: (t, e) => [
|
|
287
|
-
slotData:
|
|
323
|
+
colors: (t, e) => [p(t, e)],
|
|
324
|
+
slotData: et,
|
|
288
325
|
fetchMissingTransactions: (t) => t.insights_payload?.drilldown_data?.transaction_guids,
|
|
289
|
-
tipSection:
|
|
326
|
+
tipSection: ht
|
|
290
327
|
},
|
|
291
|
-
[
|
|
328
|
+
[c.DEPOSIT_SUMMARY]: {
|
|
292
329
|
top: "singleBar",
|
|
293
|
-
filterStrategy:
|
|
330
|
+
filterStrategy: yt,
|
|
294
331
|
scope: "store",
|
|
295
332
|
filterMode: "store",
|
|
296
333
|
colors: (t) => [t.palette.success.main],
|
|
297
|
-
slotData:
|
|
298
|
-
fetchMissingTransactions:
|
|
334
|
+
slotData: st,
|
|
335
|
+
fetchMissingTransactions: pt,
|
|
299
336
|
subTabs: ({ instanceSlotData: t }) => t.sub_tab_labels ?? [],
|
|
300
337
|
barLegendLabel: (t) => t.general.deposit,
|
|
301
338
|
showMonthlyAmount: !1
|
|
302
339
|
},
|
|
303
|
-
[
|
|
340
|
+
[c.LOW_BALANCE]: {
|
|
304
341
|
top: "list",
|
|
305
|
-
filterStrategy:
|
|
342
|
+
filterStrategy: tt,
|
|
306
343
|
scope: "store",
|
|
307
344
|
filterMode: "store",
|
|
308
345
|
colors: (t) => [t.palette.primary.main]
|
|
309
346
|
},
|
|
310
|
-
[
|
|
347
|
+
[c.SUBSCRIPTION_AGGREGATE]: {
|
|
311
348
|
top: "monthTabs",
|
|
312
|
-
filterStrategy:
|
|
349
|
+
filterStrategy: bt,
|
|
313
350
|
scope: "store",
|
|
314
351
|
filterMode: "store",
|
|
315
352
|
colors: (t) => [t.palette.primary.main]
|
|
316
353
|
},
|
|
317
|
-
[
|
|
354
|
+
[c.MERCHANT_BUDGET]: {
|
|
318
355
|
top: "singleBar",
|
|
319
|
-
filterStrategy:
|
|
320
|
-
slotData:
|
|
356
|
+
filterStrategy: F,
|
|
357
|
+
slotData: rt,
|
|
321
358
|
scope: "store",
|
|
322
359
|
filterMode: "store",
|
|
323
360
|
colors: (t) => [t.palette.chart.chart1 ?? t.palette.primary.main],
|
|
324
361
|
header: (t) => ({
|
|
325
362
|
heading: t.slotData?.merchant_name ?? t.title,
|
|
326
|
-
subHeadingText: t.selectedDate &&
|
|
327
|
-
icon: /* @__PURE__ */
|
|
363
|
+
subHeadingText: t.selectedDate && N(S(t.selectedDate), y.MONTH_LONG) || "",
|
|
364
|
+
icon: /* @__PURE__ */ _(w, {
|
|
328
365
|
color: "primary",
|
|
329
366
|
name: "calendar_month",
|
|
330
367
|
size: 16
|
|
331
368
|
})
|
|
332
369
|
})
|
|
333
370
|
},
|
|
334
|
-
[
|
|
371
|
+
[c.TOP_MERCHANT]: {
|
|
335
372
|
top: "singleBar",
|
|
336
373
|
showMonthTabs: !1,
|
|
337
374
|
showTransactionsHeader: !1,
|
|
338
|
-
filterStrategy:
|
|
339
|
-
slotData:
|
|
375
|
+
filterStrategy: F,
|
|
376
|
+
slotData: ot,
|
|
340
377
|
scope: "store",
|
|
341
378
|
filterMode: "store",
|
|
342
|
-
colors: (t, e) => [
|
|
379
|
+
colors: (t, e) => [p(t, e)],
|
|
343
380
|
header: ({ copy: t, slotData: e, title: a }) => {
|
|
344
|
-
const r = e?.merchant_name, o = t?.top_merchants,
|
|
381
|
+
const r = e?.merchant_name, o = t?.top_merchants, s = e?.described_month && N(S(e.described_month), y.MONTH_SHORT_YEAR) || "";
|
|
345
382
|
return {
|
|
346
383
|
heading: r && o?.merchant_spending ? d(o.merchant_spending, r) : r ?? a,
|
|
347
|
-
subHeadingText: e?.rank && o?.most_visited_merchant ? d(o.most_visited_merchant, String(e.rank),
|
|
348
|
-
logo: e?.merchant_guid ? /* @__PURE__ */
|
|
384
|
+
subHeadingText: e?.rank && o?.most_visited_merchant ? d(o.most_visited_merchant, String(e.rank), s) : s,
|
|
385
|
+
logo: e?.merchant_guid ? /* @__PURE__ */ _(k, {
|
|
349
386
|
logo: {
|
|
350
387
|
category_guid: e.category_guid,
|
|
351
388
|
merchant_guid: e.merchant_guid,
|
|
@@ -356,74 +393,80 @@ var i = {
|
|
|
356
393
|
};
|
|
357
394
|
}
|
|
358
395
|
},
|
|
359
|
-
[
|
|
396
|
+
[c.SPEND_TO_INCOME]: {
|
|
360
397
|
top: "doubleBar",
|
|
361
398
|
filterStrategy: f,
|
|
362
399
|
scope: "store",
|
|
363
400
|
filterMode: "store",
|
|
364
|
-
colors: (t) =>
|
|
401
|
+
colors: (t) => C(t, "spend_to_income")?.color ?? [],
|
|
365
402
|
boldLabel: !0,
|
|
366
403
|
subTabAriaLabels: (t) => [t.general.spend_transactions, t.general.income_transactions]
|
|
367
404
|
},
|
|
368
|
-
[
|
|
405
|
+
[c.COST_OF_LIVING]: {
|
|
369
406
|
top: "doubleBar",
|
|
407
|
+
showTransactionsHeader: !1,
|
|
370
408
|
filterStrategy: f,
|
|
371
409
|
scope: "store",
|
|
372
410
|
filterMode: "store",
|
|
373
|
-
|
|
374
|
-
|
|
411
|
+
boldLabel: !0,
|
|
412
|
+
colors: (t, e) => [p(t, e), t.palette.chart.chart7 ?? t.palette.primary.main],
|
|
413
|
+
subTabAriaLabels: (t) => [void 0, t.general.income_transactions],
|
|
414
|
+
slotData: lt,
|
|
415
|
+
fetchMissingTransactions: h,
|
|
416
|
+
tipSection: dt
|
|
375
417
|
},
|
|
376
|
-
[
|
|
377
|
-
title: (t) => t.insights_feed?.transaction_history_block?.monthly_debt_to_income_drawer_title ??
|
|
418
|
+
[c.DEBT_TO_INCOME]: {
|
|
419
|
+
title: (t) => t.insights_feed?.transaction_history_block?.monthly_debt_to_income_drawer_title ?? Y(t),
|
|
378
420
|
top: "doubleBar",
|
|
379
421
|
filterStrategy: f,
|
|
380
422
|
scope: "store",
|
|
381
423
|
filterMode: "store",
|
|
382
|
-
colors: (t) =>
|
|
424
|
+
colors: (t) => C(t, "debt_to_income")?.color ?? [],
|
|
383
425
|
boldLabel: !0,
|
|
384
426
|
subTabAriaLabels: (t) => [void 0, t.general.income_transactions],
|
|
385
|
-
slotData:
|
|
386
|
-
fetchMissingTransactions:
|
|
387
|
-
tipSection:
|
|
427
|
+
slotData: v,
|
|
428
|
+
fetchMissingTransactions: h,
|
|
429
|
+
tipSection: _t
|
|
388
430
|
},
|
|
389
|
-
[
|
|
431
|
+
[c.SAVINGS_TO_INCOME]: {
|
|
390
432
|
top: "doubleBar",
|
|
391
433
|
filterStrategy: f,
|
|
392
434
|
scope: "store",
|
|
393
435
|
filterMode: "store",
|
|
394
|
-
colors: (t) =>
|
|
436
|
+
colors: (t) => C(t, "savings_to_income")?.color ?? [],
|
|
395
437
|
boldLabel: !0,
|
|
396
438
|
subTabAriaLabels: (t) => [t.general.savings_transactions, t.general.income_transactions],
|
|
397
|
-
slotData:
|
|
398
|
-
fetchMissingTransactions:
|
|
399
|
-
tipSection:
|
|
439
|
+
slotData: mt,
|
|
440
|
+
fetchMissingTransactions: h,
|
|
441
|
+
tipSection: ut
|
|
400
442
|
},
|
|
401
|
-
[
|
|
402
|
-
top: "
|
|
403
|
-
filterStrategy:
|
|
404
|
-
tipSection: ct,
|
|
443
|
+
[c.NON_ESSENTIAL_CATEGORY]: {
|
|
444
|
+
top: "doubleBar",
|
|
445
|
+
filterStrategy: f,
|
|
405
446
|
scope: "store",
|
|
406
447
|
filterMode: "store",
|
|
407
|
-
colors: (t) => [t.palette.primary.main]
|
|
448
|
+
colors: (t) => [t.palette.chartMono.chartMono3 ?? t.palette.primary.light, t.palette.chartMono.chartMono5 ?? t.palette.primary.main],
|
|
449
|
+
slotData: gt,
|
|
450
|
+
fetchMissingTransactions: h
|
|
408
451
|
}
|
|
409
|
-
},
|
|
452
|
+
}, zt = {
|
|
410
453
|
top: "singleBar",
|
|
411
|
-
filterStrategy:
|
|
454
|
+
filterStrategy: D,
|
|
412
455
|
scope: "store",
|
|
413
456
|
filterMode: "store",
|
|
414
|
-
colors: (t, e) => [
|
|
457
|
+
colors: (t, e) => [p(t, e)]
|
|
415
458
|
};
|
|
416
459
|
export {
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
460
|
+
c as DRILLDOWN_VARIANTS,
|
|
461
|
+
zt as FALLBACK,
|
|
462
|
+
Ft as layout,
|
|
463
|
+
nt as resolveCategorySpendSlotData,
|
|
464
|
+
v as resolveDebtToIncomeSlotData,
|
|
465
|
+
st as resolveDepositSummarySlotData,
|
|
466
|
+
rt as resolveMerchantBudgetSlotData,
|
|
467
|
+
at as resolveSavingsContributionsSlotData,
|
|
468
|
+
ot as resolveTopMerchantSlotData,
|
|
469
|
+
et as resolveUpcomingBillSlotData
|
|
427
470
|
};
|
|
428
471
|
|
|
429
472
|
//# sourceMappingURL=layout.es.js.map
|