@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,17 +1,19 @@
|
|
|
1
1
|
import n from "@mui/material/Stack";
|
|
2
|
-
import { Text as
|
|
3
|
-
import { Fragment as
|
|
4
|
-
|
|
2
|
+
import { Text as d } from "@mxenabled/mxui";
|
|
3
|
+
import { Fragment as x, jsx as e, jsxs as o } from "react/jsx-runtime";
|
|
4
|
+
import f from "@mui/material/Box";
|
|
5
|
+
var L = ({ legendItems: h, legendStyle: c, boldLabel: g = !1, variant: s = "caption" }) => /* @__PURE__ */ e(n, {
|
|
5
6
|
sx: {
|
|
6
7
|
alignItems: "flex-start",
|
|
8
|
+
boxSizing: "border-box",
|
|
7
9
|
flexDirection: "row",
|
|
8
10
|
gap: 24,
|
|
9
11
|
justifyContent: "flex-start",
|
|
10
12
|
py: 4,
|
|
11
13
|
width: "100%",
|
|
12
|
-
...
|
|
14
|
+
...c
|
|
13
15
|
},
|
|
14
|
-
children:
|
|
16
|
+
children: h.map(({ color: a, label: r, formattedAmount: i }, t) => r && /* @__PURE__ */ o(n, {
|
|
15
17
|
sx: {
|
|
16
18
|
alignItems: "center",
|
|
17
19
|
flexDirection: "row",
|
|
@@ -25,16 +27,20 @@ var m = ({ legendItems: c, legendStyle: a, boldLabel: g = !1, variant: s = "capt
|
|
|
25
27
|
role: "figure",
|
|
26
28
|
width: "12",
|
|
27
29
|
children: /* @__PURE__ */ e("rect", {
|
|
28
|
-
fill:
|
|
30
|
+
fill: a,
|
|
29
31
|
height: "12",
|
|
30
32
|
rx: "2",
|
|
31
33
|
width: "12"
|
|
32
34
|
})
|
|
33
|
-
}), /* @__PURE__ */ e(
|
|
35
|
+
}), /* @__PURE__ */ e(d, {
|
|
34
36
|
id: t === 0 ? "chartLegendLabel" : r,
|
|
35
37
|
variant: s,
|
|
36
|
-
children: i ? g ? /* @__PURE__ */
|
|
37
|
-
/* @__PURE__ */ e(
|
|
38
|
+
children: i ? g ? /* @__PURE__ */ o(x, { children: [
|
|
39
|
+
/* @__PURE__ */ e(f, {
|
|
40
|
+
component: "strong",
|
|
41
|
+
sx: { fontWeight: 600 },
|
|
42
|
+
children: `${r}:`
|
|
43
|
+
}),
|
|
38
44
|
" ",
|
|
39
45
|
i
|
|
40
46
|
] }) : `${r}: ${i}` : r
|
|
@@ -42,7 +48,7 @@ var m = ({ legendItems: c, legendStyle: a, boldLabel: g = !1, variant: s = "capt
|
|
|
42
48
|
}, r ?? t))
|
|
43
49
|
});
|
|
44
50
|
export {
|
|
45
|
-
|
|
51
|
+
L as Legend
|
|
46
52
|
};
|
|
47
53
|
|
|
48
54
|
//# sourceMappingURL=ChartLegend.es.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChartLegend.es.js","names":[],"sources":["../../../../src/insights-v2/components/chartblocks/ChartLegend.tsx"],"sourcesContent":["import { Text } from '@mxenabled/mxui'\n\nimport Stack from '@mui/material/Stack'\n\nimport type { SxProps } from '@mui/material/styles'\nimport type { LegendProps } from '../../../core/types/InsightsInstanceSlotData'\n\nexport interface LegendComponentProps {\n legendItems: LegendProps[]\n legendStyle?: SxProps\n /** Bold the label (\"Spend:\") and keep the amount regular. A legend item without an amount shows its label as is. */\n boldLabel?: boolean\n /** Text style: caption (11px) by default; body2 (13px) where the Figma frame draws it larger. */\n variant?: 'caption' | 'body2'\n}\n\nexport const Legend = ({\n legendItems,\n legendStyle,\n boldLabel = false,\n variant = 'caption',\n}: LegendComponentProps) => {\n return (\n <Stack\n sx={{\n alignItems: 'flex-start',\n flexDirection: 'row',\n gap: 24,\n justifyContent: 'flex-start',\n py: 4,\n width: '100%',\n ...legendStyle,\n }}\n >\n {legendItems.map(\n ({ color, label, formattedAmount }, index) =>\n label && (\n <Stack key={label ?? index} sx={{ alignItems: 'center', flexDirection: 'row', gap: 8 }}>\n <svg\n aria-hidden=\"true\"\n aria-labelledby={index === 0 ? 'chartLegendLabel' : label}\n fill=\"none\"\n height=\"12\"\n role=\"figure\"\n width=\"12\"\n >\n <rect fill={color} height=\"12\" rx=\"2\" width=\"12\" />\n </svg>\n <Text id={index === 0 ? 'chartLegendLabel' : label} variant={variant}>\n {formattedAmount ? (\n boldLabel ? (\n <>\n <strong>{`${label}:`}</
|
|
1
|
+
{"version":3,"file":"ChartLegend.es.js","names":[],"sources":["../../../../src/insights-v2/components/chartblocks/ChartLegend.tsx"],"sourcesContent":["import { Text } from '@mxenabled/mxui'\nimport Box from '@mui/material/Box'\n\nimport Stack from '@mui/material/Stack'\n\nimport type { SxProps } from '@mui/material/styles'\nimport type { LegendProps } from '../../../core/types/InsightsInstanceSlotData'\n\nexport interface LegendComponentProps {\n legendItems: LegendProps[]\n legendStyle?: SxProps\n /** Bold the label (\"Spend:\") and keep the amount regular. A legend item without an amount shows its label as is. */\n boldLabel?: boolean\n /** Text style: caption (11px) by default; body2 (13px) where the Figma frame draws it larger. */\n variant?: 'caption' | 'body2'\n}\n\nexport const Legend = ({\n legendItems,\n legendStyle,\n boldLabel = false,\n variant = 'caption',\n}: LegendComponentProps) => {\n return (\n <Stack\n sx={{\n alignItems: 'flex-start',\n // Full width: a caller's padding insets the items rather than widening the legend, whatever the host CSS.\n boxSizing: 'border-box',\n flexDirection: 'row',\n gap: 24,\n justifyContent: 'flex-start',\n py: 4,\n width: '100%',\n ...legendStyle,\n }}\n >\n {legendItems.map(\n ({ color, label, formattedAmount }, index) =>\n label && (\n <Stack key={label ?? index} sx={{ alignItems: 'center', flexDirection: 'row', gap: 8 }}>\n <svg\n aria-hidden=\"true\"\n aria-labelledby={index === 0 ? 'chartLegendLabel' : label}\n fill=\"none\"\n height=\"12\"\n role=\"figure\"\n width=\"12\"\n >\n <rect fill={color} height=\"12\" rx=\"2\" width=\"12\" />\n </svg>\n <Text id={index === 0 ? 'chartLegendLabel' : label} variant={variant}>\n {formattedAmount ? (\n boldLabel ? (\n <>\n {/* Insights V2 UI rules: the legend title is semibold (600), the result regular. */}\n <Box component=\"strong\" sx={{ fontWeight: 600 }}>{`${label}:`}</Box>{' '}\n {formattedAmount}\n </>\n ) : (\n `${label}: ${formattedAmount}`\n )\n ) : (\n label\n )}\n </Text>\n </Stack>\n ),\n )}\n </Stack>\n )\n}\n"],"mappings":";;;;AAiBA,IAAa,IAAA,CAAU,EACrB,aAAA,GACA,aAAA,GACA,WAAA,IAAY,IACZ,SAAA,IAAU,UAAA,MAGR,gBAAA,EAAC,GAAD;AAAA,EACE,IAAI;AAAA,IACF,YAAY;AAAA,IAEZ,WAAW;AAAA,IACX,eAAe;AAAA,IACf,KAAK;AAAA,IACL,gBAAgB;AAAA,IAChB,IAAI;AAAA,IACJ,OAAO;AAAA,IACP,GAAG;AAAA,EACL;AAAA,EAEC,UAAA,EAAY,IAAA,CACV,EAAE,OAAA,GAAO,OAAA,GAAO,iBAAA,EAAA,GAAmB,MAClC,KACE,gBAAA,EAAC,GAAD;AAAA,IAA4B,IAAI;AAAA,MAAE,YAAY;AAAA,MAAU,eAAe;AAAA,MAAO,KAAK;AAAA,IAAE;AAAA,IAArF,UAAA,CACE,gBAAA,EAAC,OAAD;AAAA,MACE,eAAY;AAAA,MACZ,mBAAiB,MAAU,IAAI,qBAAqB;AAAA,MACpD,MAAK;AAAA,MACL,QAAO;AAAA,MACP,MAAK;AAAA,MACL,OAAM;AAAA,MAEN,UAAA,gBAAA,EAAC,QAAD;AAAA,QAAM,MAAM;AAAA,QAAO,QAAO;AAAA,QAAK,IAAG;AAAA,QAAI,OAAM;AAAA,MAAM,CAAA;AAAA,IAC/C,CAAA,GACL,gBAAA,EAAC,GAAD;AAAA,MAAM,IAAI,MAAU,IAAI,qBAAqB;AAAA,MAAgB,SAAA;AAAA,MAC1D,UAAA,IACC,IACE,gBAAA,EAAA,GAAA,EAAA,UAAA;AAAA,QAEE,gBAAA,EAAC,GAAD;AAAA,UAAK,WAAU;AAAA,UAAS,IAAI,EAAE,YAAY,IAAI;AAAA,UAAI,UAAA,GAAG,CAAA;AAAA,QAAc,CAAA;AAAA,QAAE;AAAA,QACpE;AAAA,MACD,EAAA,CAAA,IAEF,GAAG,CAAA,KAAU,CAAA,KAGf;AAAA,IAEE,CAAA,CACD;AAAA,EA1BK,GAAA,KAAS,CA0Bd,CAEb;AACK,CAAA"}
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import { Legends } from '../../../core';
|
|
2
2
|
import { DataSet } from '../../../core/types/InsightsInstanceSlotData';
|
|
3
3
|
import { LegendComponentProps } from './ChartLegend';
|
|
4
|
-
/** A
|
|
4
|
+
/** A card's plot box height; when set, the y-axis also ends at the tallest bar (Figma 1243:73833). */
|
|
5
5
|
export interface PlotSize {
|
|
6
6
|
height: number;
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
}
|
|
8
|
+
interface ChartMargin {
|
|
9
|
+
bottom?: number;
|
|
10
|
+
left?: number;
|
|
11
|
+
right?: number;
|
|
12
|
+
top?: number;
|
|
9
13
|
}
|
|
10
14
|
interface DoubleBarChartProps {
|
|
11
15
|
bars: DataSet[];
|
|
@@ -14,6 +18,8 @@ interface DoubleBarChartProps {
|
|
|
14
18
|
isMini?: boolean;
|
|
15
19
|
legendPosition?: 'top' | 'bottom';
|
|
16
20
|
boldLabel?: boolean;
|
|
21
|
+
margin?: ChartMargin;
|
|
22
|
+
sx?: Record<string, unknown>;
|
|
17
23
|
legendVariant?: LegendComponentProps['variant'];
|
|
18
24
|
plotSize?: PlotSize;
|
|
19
25
|
selectedIndex?: number;
|
|
@@ -25,5 +31,5 @@ interface DoubleBarChartProps {
|
|
|
25
31
|
* selection, or data-shaping of its own. This mirrors BarChartV2; the DoubleBarChartBlock card
|
|
26
32
|
* wrapper builds the data and injects the store behavior, exactly as BarchartBlock wraps BarChartV2.
|
|
27
33
|
*/
|
|
28
|
-
export declare const DoubleBarChart: ({ bars, colors, legends, isMini, legendPosition, boldLabel, legendVariant, plotSize, selectedIndex, onBarClick, }: DoubleBarChartProps) => import("react/jsx-runtime").JSX.Element;
|
|
34
|
+
export declare const DoubleBarChart: ({ bars, colors, legends, isMini, legendPosition, boldLabel, margin, sx, legendVariant, plotSize, selectedIndex, onBarClick, }: DoubleBarChartProps) => import("react/jsx-runtime").JSX.Element;
|
|
29
35
|
export {};
|
|
@@ -1,49 +1,52 @@
|
|
|
1
|
-
import { EmptyBarChart as
|
|
2
|
-
import { useContainerDimensions as
|
|
3
|
-
import { CustomDoubleBarPlotMXUI as
|
|
4
|
-
import { Legend as
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import { jsx as o, jsxs as
|
|
8
|
-
import
|
|
9
|
-
import { BarPlot as
|
|
10
|
-
import { ChartContainer as
|
|
11
|
-
import { ChartsXAxis as
|
|
12
|
-
var
|
|
13
|
-
|
|
1
|
+
import { EmptyBarChart as N } from "./EmptyBarChart.es.js";
|
|
2
|
+
import { useContainerDimensions as R } from "../../hooks/useContainerDimensions.es.js";
|
|
3
|
+
import { CustomDoubleBarPlotMXUI as D } from "./CustomDoubleBar.es.js";
|
|
4
|
+
import { Legend as _ } from "./ChartLegend.es.js";
|
|
5
|
+
import G from "react";
|
|
6
|
+
import K from "@mui/material/Stack";
|
|
7
|
+
import { jsx as o, jsxs as g } from "react/jsx-runtime";
|
|
8
|
+
import P from "@mui/material/Box";
|
|
9
|
+
import { BarPlot as U } from "@mui/x-charts/BarChart";
|
|
10
|
+
import { ChartContainer as j } from "@mui/x-charts/ChartContainer";
|
|
11
|
+
import { ChartsXAxis as E } from "@mui/x-charts/ChartsXAxis";
|
|
12
|
+
var F = { height: 172 }, O = { height: 120 }, n = {
|
|
13
|
+
left: 24,
|
|
14
|
+
right: 24,
|
|
14
15
|
top: 0,
|
|
15
16
|
bottom: 16
|
|
16
|
-
},
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
...c
|
|
24
|
-
}, h = c ? Math.max(0, ...r.flatMap(({ main: e, comparison: t }) => [Number(e) || 0, Number(t) || 0])) : 0, d = M.useRef(null), { height: L, width: S } = T(d), B = ({ dataIndex: e, seriesId: t }) => {
|
|
17
|
+
}, tt = ({ bars: r, colors: s, legends: b, isMini: y = !1, legendPosition: h = "bottom", boldLabel: u = !1, margin: a, sx: C, legendVariant: k, plotSize: c, selectedIndex: A, onBarClick: I }) => {
|
|
18
|
+
const m = A ?? r.length - 1, L = 5e-3, M = 0.16, l = {
|
|
19
|
+
bottom: a?.bottom ?? n.bottom,
|
|
20
|
+
left: a?.left ?? n.left,
|
|
21
|
+
right: a?.right ?? n.right,
|
|
22
|
+
top: a?.top ?? n.top
|
|
23
|
+
}, w = c ?? (y ? O : F), d = c ? Math.max(0, ...r.flatMap(({ main: e, comparison: t }) => [Number(e) || 0, Number(t) || 0])) : 0, p = G.useRef(null), { height: B, width: S } = R(p), T = ({ dataIndex: e, seriesId: t }) => {
|
|
25
24
|
I(e, Number(t.split("-").pop()));
|
|
26
|
-
},
|
|
27
|
-
color:
|
|
25
|
+
}, f = b?.map((e, t) => ({
|
|
26
|
+
color: s[t] ?? "transparent",
|
|
28
27
|
...e
|
|
29
|
-
})),
|
|
30
|
-
boldLabel:
|
|
31
|
-
legendItems:
|
|
32
|
-
legendStyle: {
|
|
33
|
-
|
|
28
|
+
})), x = !!f?.length && /* @__PURE__ */ o(_, {
|
|
29
|
+
boldLabel: u,
|
|
30
|
+
legendItems: f,
|
|
31
|
+
legendStyle: {
|
|
32
|
+
pl: l.left,
|
|
33
|
+
pr: l.right
|
|
34
|
+
},
|
|
35
|
+
variant: k
|
|
34
36
|
});
|
|
35
|
-
return r.length > 0 ? /* @__PURE__ */
|
|
37
|
+
return r.length > 0 ? /* @__PURE__ */ g(K, {
|
|
36
38
|
sx: {
|
|
37
39
|
mb: 0,
|
|
38
40
|
width: "100%",
|
|
39
|
-
p: 0
|
|
41
|
+
p: 0,
|
|
42
|
+
...C
|
|
40
43
|
},
|
|
41
44
|
children: [
|
|
42
|
-
|
|
43
|
-
/* @__PURE__ */ o(
|
|
44
|
-
ref:
|
|
45
|
+
h === "top" && x,
|
|
46
|
+
/* @__PURE__ */ o(P, {
|
|
47
|
+
ref: p,
|
|
45
48
|
sx: {
|
|
46
|
-
height:
|
|
49
|
+
height: w.height,
|
|
47
50
|
touchAction: "pan-y",
|
|
48
51
|
width: "100%",
|
|
49
52
|
p: 0,
|
|
@@ -53,16 +56,11 @@ var G = {
|
|
|
53
56
|
userSelect: "none"
|
|
54
57
|
}
|
|
55
58
|
},
|
|
56
|
-
children: /* @__PURE__ */
|
|
57
|
-
colors:
|
|
59
|
+
children: /* @__PURE__ */ g(j, {
|
|
60
|
+
colors: s,
|
|
58
61
|
dataset: r,
|
|
59
|
-
height:
|
|
60
|
-
margin:
|
|
61
|
-
bottom: i.bottom,
|
|
62
|
-
left: 24,
|
|
63
|
-
right: 24,
|
|
64
|
-
top: i.top
|
|
65
|
-
},
|
|
62
|
+
height: B,
|
|
63
|
+
margin: l,
|
|
66
64
|
series: [{
|
|
67
65
|
dataKey: "main",
|
|
68
66
|
type: "bar"
|
|
@@ -72,43 +70,46 @@ var G = {
|
|
|
72
70
|
}],
|
|
73
71
|
width: S,
|
|
74
72
|
xAxis: [{
|
|
75
|
-
barGapRatio:
|
|
76
|
-
categoryGapRatio:
|
|
73
|
+
barGapRatio: L,
|
|
74
|
+
categoryGapRatio: M,
|
|
77
75
|
dataKey: "label",
|
|
78
76
|
scaleType: "band"
|
|
79
77
|
}],
|
|
80
|
-
yAxis: [
|
|
78
|
+
yAxis: [d > 0 ? {
|
|
81
79
|
width: 0,
|
|
82
|
-
max:
|
|
80
|
+
max: d
|
|
83
81
|
} : { width: 0 }],
|
|
84
|
-
children: [/* @__PURE__ */ o(
|
|
82
|
+
children: [/* @__PURE__ */ o(E, {
|
|
85
83
|
disableTicks: !1,
|
|
86
84
|
slots: { axisTickLabel: ({ text: e, ...t }) => {
|
|
87
|
-
const
|
|
85
|
+
const i = r[m]?.label;
|
|
88
86
|
return /* @__PURE__ */ o("text", {
|
|
89
87
|
...t,
|
|
90
88
|
style: {
|
|
91
89
|
...t.style,
|
|
92
|
-
fontWeight:
|
|
90
|
+
fontWeight: i === e ? 600 : 400
|
|
93
91
|
},
|
|
94
92
|
children: e
|
|
95
93
|
});
|
|
96
94
|
} },
|
|
97
|
-
sx: {
|
|
95
|
+
sx: {
|
|
96
|
+
".MuiChartsAxis-line": { stroke: "border.darker" },
|
|
97
|
+
"& .MuiChartsAxis-tickContainer:first-of-type .MuiChartsAxis-tick": { display: "none" }
|
|
98
|
+
},
|
|
98
99
|
tickLabelStyle: {
|
|
99
100
|
fontSize: 11,
|
|
100
101
|
fill: "text.secondary",
|
|
101
102
|
fontWeight: 400
|
|
102
103
|
}
|
|
103
|
-
}), /* @__PURE__ */ o(
|
|
104
|
-
onItemClick: (e, { dataIndex: t, seriesId:
|
|
104
|
+
}), /* @__PURE__ */ o(U, {
|
|
105
|
+
onItemClick: (e, { dataIndex: t, seriesId: i }) => T({
|
|
105
106
|
dataIndex: t,
|
|
106
|
-
seriesId:
|
|
107
|
+
seriesId: i.toString()
|
|
107
108
|
}),
|
|
108
109
|
slots: { bar: (e) => {
|
|
109
|
-
const { ownerState: t, ...
|
|
110
|
-
return /* @__PURE__ */ o(
|
|
111
|
-
...
|
|
110
|
+
const { ownerState: t, ...i } = e, v = m === t.dataIndex ? t.color : `${t.color}50`;
|
|
111
|
+
return /* @__PURE__ */ o(D, {
|
|
112
|
+
...i,
|
|
112
113
|
color: v,
|
|
113
114
|
data: r,
|
|
114
115
|
series: {
|
|
@@ -126,12 +127,12 @@ var G = {
|
|
|
126
127
|
})]
|
|
127
128
|
})
|
|
128
129
|
}),
|
|
129
|
-
|
|
130
|
+
h === "bottom" && x
|
|
130
131
|
]
|
|
131
|
-
}) : /* @__PURE__ */ o(
|
|
132
|
+
}) : /* @__PURE__ */ o(N, {});
|
|
132
133
|
};
|
|
133
134
|
export {
|
|
134
|
-
|
|
135
|
+
tt as DoubleBarChart
|
|
135
136
|
};
|
|
136
137
|
|
|
137
138
|
//# sourceMappingURL=DoubleBarChart.es.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DoubleBarChart.es.js","names":[],"sources":["../../../../src/insights-v2/components/chartblocks/DoubleBarChart.tsx"],"sourcesContent":["import React from 'react'\n\nimport Box from '@mui/material/Box'\nimport Stack from '@mui/material/Stack'\n\nimport { BarPlot } from '@mui/x-charts/BarChart'\nimport { ChartContainer } from '@mui/x-charts/ChartContainer'\nimport { ChartsXAxis } from '@mui/x-charts/ChartsXAxis'\n\nimport { useContainerDimensions } from '../../hooks/useContainerDimensions'\nimport type { Legends } from '../../../core'\nimport type { DataSet, LegendProps } from '../../../core/types/InsightsInstanceSlotData'\n\nimport { CustomDoubleBarPlotMXUI } from './CustomDoubleBar'\nimport { Legend, type LegendComponentProps } from './ChartLegend'\nimport { EmptyBarChart } from './EmptyBarChart'\n\n/** A full card's plot box; when set, the y-axis also ends at the tallest bar (Figma 1243:73833). */\nexport interface PlotSize {\n height: number\n top: number\n bottom: number\n}\n\ninterface DoubleBarChartProps {\n // Shaped comparison series (one entry per month column), built by the caller (buildComparisonSeries)\n // \\u2014 mirroring how BarchartBlock builds `data` for BarChartV2.\n bars: DataSet[]\n // Two-entry palette [main, comparison]. Resolved by the caller (the card via getLayoutConfig). This\n // prop is the only color hook \\u2014 getLayoutConfig itself is never modified.\n colors: string[]\n // Legend items (toLegendItems over the block's additional_data); mapped onto the palette below.\n legends?: Legends[]\n isMini?: boolean\n // Where the legend sits, as BarChartV2's prop of the same name: below the chart (card) by default,\n // above it in the drawer.\n legendPosition?: 'top' | 'bottom'\n // Bold the legend label (\"Spend:\"), keeping the amount regular. Off by default.\n boldLabel?: boolean\n // The legend's text style; ChartLegend's default (caption) when absent.\n legendVariant?: LegendComponentProps['variant']\n // A variant's full-card plot box (mini ignores it).\n plotSize?: PlotSize\n // The emphasized column (the drawer's selected month); defaults to the most recent (last) column.\n selectedIndex?: number\n // Called on a bar click with the clicked column and its sub-series (0 = main, 1 = comparison); the\n // caller decides what a click does (card opens the drawer, drill-down updates its selection).\n onBarClick: (columnIndex: number, subIndex: number) => void\n}\n\nconst FULL_PLOT: PlotSize = { height: 172, top: 0, bottom: 16 }\nconst MINI_PLOT: PlotSize = { height: 120, top: 0, bottom: 16 }\n\n/**\n * Pure double-bar chart (month columns x main/comparison). Presentational and self-contained \\u2014 it\n * receives shaped data + palette as props and reports clicks via onBarClick, holding no store,\n * selection, or data-shaping of its own. This mirrors BarChartV2; the DoubleBarChartBlock card\n * wrapper builds the data and injects the store behavior, exactly as BarchartBlock wraps BarChartV2.\n */\nexport const DoubleBarChart = ({\n bars,\n colors,\n legends,\n isMini = false,\n legendPosition = 'bottom',\n boldLabel = false,\n legendVariant,\n plotSize,\n selectedIndex,\n onBarClick,\n}: DoubleBarChartProps) => {\n // The selected column (default: the most recent, last) is emphasized; the others are dimmed.\n const selectedTabIndex = selectedIndex ?? bars.length - 1\n const barGapRatio = 0.005\n const categoryGapRatio = 0.16\n\n const fitted = isMini ? undefined : plotSize\n const plot = isMini ? MINI_PLOT : { ...FULL_PLOT, ...fitted }\n const tallestBar = fitted\n ? Math.max(\n 0,\n ...bars.flatMap(({ main, comparison }) => [Number(main) || 0, Number(comparison) || 0]),\n )\n : 0\n\n const containerRef = React.useRef<HTMLDivElement>(null)\n const { height, width } = useContainerDimensions(containerRef)\n\n const handleBarClick = ({ dataIndex, seriesId }: { dataIndex: number; seriesId: string }) => {\n const seriesType = Number(seriesId.split('-').pop())\n onBarClick(dataIndex, seriesType)\n }\n\n // colors can be empty for an unregistered variant (getLayoutConfig miss); fall back to transparent\n // so a swatch never renders as default-black.\n const legendItems = legends?.map((legend, index) => ({\n color: colors[index] ?? 'transparent',\n ...legend,\n })) as LegendProps[]\n\n const legend = !!legendItems?.length && (\n <Legend\n boldLabel={boldLabel}\n legendItems={legendItems}\n legendStyle={{ ml: 24 }}\n variant={legendVariant}\n />\n )\n\n return bars.length > 0 ? (\n <Stack sx={{ mb: 0, width: '100%', p: 0 }}>\n {legendPosition === 'top' && legend}\n <Box\n ref={containerRef}\n sx={{\n height: plot.height,\n touchAction: 'pan-y',\n width: '100%',\n p: 0,\n m: 0,\n '& svg': {\n touchAction: 'pan-y',\n userSelect: 'none',\n },\n }}\n >\n <ChartContainer\n colors={colors}\n dataset={bars as any[]}\n height={height}\n margin={{\n bottom: plot.bottom,\n left: 24,\n right: 24,\n top: plot.top,\n }}\n series={[\n { dataKey: 'main', type: 'bar' },\n { dataKey: 'comparison', type: 'bar' },\n ]}\n width={width}\n xAxis={[\n {\n barGapRatio,\n categoryGapRatio,\n dataKey: 'label',\n scaleType: 'band',\n },\n ]}\n yAxis={[tallestBar > 0 ? { width: 0, max: tallestBar } : { width: 0 }]}\n >\n <ChartsXAxis\n disableTicks={false}\n slots={{\n axisTickLabel: ({ text, ...restProps }) => {\n const selectedLabel = bars[selectedTabIndex]?.label\n return (\n <text\n {...restProps}\n style={\n {\n ...restProps.style,\n fontWeight: selectedLabel === text ? 700 : 400,\n } as React.CSSProperties\n }\n >\n {text}\n </text>\n )\n },\n }}\n sx={{\n '.MuiChartsAxis-line': {\n stroke: 'border.darker',\n },\n }}\n tickLabelStyle={{\n fontSize: 11,\n fill: 'text.secondary',\n fontWeight: 400,\n }}\n />\n <BarPlot\n onItemClick={(_, { dataIndex, seriesId }) =>\n handleBarClick({ dataIndex, seriesId: seriesId.toString() })\n }\n slots={{\n bar: (props) => {\n const { ownerState, ...defaultProps } = props\n const isSelected = selectedTabIndex === ownerState.dataIndex\n const barColor = isSelected ? ownerState.color : `${ownerState.color}50`\n\n return (\n <CustomDoubleBarPlotMXUI\n {...defaultProps}\n color={barColor}\n data={bars}\n series={{\n index: ownerState.dataIndex,\n type: Number(ownerState.id?.toString().split('-').pop() ?? 0),\n }}\n style={{\n height: props.height,\n x: props.x,\n y: props.y,\n width: props.width,\n }}\n />\n )\n },\n }}\n />\n </ChartContainer>\n </Box>\n\n {legendPosition === 'bottom' && legend}\n </Stack>\n ) : (\n <EmptyBarChart />\n )\n}\n"],"mappings":";;;;;;;;;;;AAkDA,IAAM,IAAsB;AAAA,EAAE,QAAQ;AAAA,EAAK,KAAK;AAAA,EAAG,QAAQ;AAAG,GACxD,IAAsB;AAAA,EAAE,QAAQ;AAAA,EAAK,KAAK;AAAA,EAAG,QAAQ;AAAG,GAQjD,IAAA,CAAkB,EAC7B,MAAA,GACA,QAAA,GACA,SAAA,GACA,QAAA,IAAS,IACT,gBAAA,IAAiB,UACjB,WAAA,IAAY,IACZ,eAAA,GACA,UAAA,GACA,eAAA,GACA,YAAA,EAAA,MACyB;AAEzB,QAAM,IAAmB,KAAiB,EAAK,SAAS,GAClD,IAAc,MACd,IAAmB,MAEnB,IAAS,IAAS,SAAY,GAC9B,IAAO,IAAS,IAAY;AAAA,IAAE,GAAG;AAAA,IAAW,GAAG;AAAA,EAAO,GACtD,IAAa,IACf,KAAK,IACH,GACA,GAAG,EAAK,QAAA,CAAS,EAAE,MAAA,GAAM,YAAA,EAAA,MAAiB,CAAC,OAAO,CAAI,KAAK,GAAG,OAAO,CAAU,KAAK,CAAC,CAAC,CACxF,IACA,GAEE,IAAe,EAAM,OAAuB,IAAI,GAChD,EAAE,QAAA,GAAQ,OAAA,EAAA,IAAU,EAAuB,CAAY,GAEvD,IAAA,CAAkB,EAAE,WAAA,GAAW,UAAA,EAAA,MAAwD;AAE3F,IAAA,EAAW,GADQ,OAAO,EAAS,MAAM,GAAG,EAAE,IAAI,CAC5B,CAAU;AAAA,EAClC,GAIM,IAAc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L,EACF;AAAA,UACD,CAAA,CACa;AAAA;MACb,CAAA;AAAA,MAEJ,MAAmB,YAAY;AAAA,IAC3B;AAAA,EAEP,CAAA,IAAA,gBAAA,EAAC,GAAD,CAAgB,CAAA;AAEpB"}
|
|
1
|
+
{"version":3,"file":"DoubleBarChart.es.js","names":[],"sources":["../../../../src/insights-v2/components/chartblocks/DoubleBarChart.tsx"],"sourcesContent":["import React from 'react'\n\nimport Box from '@mui/material/Box'\nimport Stack from '@mui/material/Stack'\n\nimport { BarPlot } from '@mui/x-charts/BarChart'\nimport { ChartContainer } from '@mui/x-charts/ChartContainer'\nimport { ChartsXAxis } from '@mui/x-charts/ChartsXAxis'\n\nimport { useContainerDimensions } from '../../hooks/useContainerDimensions'\nimport type { Legends } from '../../../core'\nimport type { DataSet, LegendProps } from '../../../core/types/InsightsInstanceSlotData'\n\nimport { CustomDoubleBarPlotMXUI } from './CustomDoubleBar'\nimport { Legend, type LegendComponentProps } from './ChartLegend'\nimport { EmptyBarChart } from './EmptyBarChart'\n\n/** A card's plot box height; when set, the y-axis also ends at the tallest bar (Figma 1243:73833). */\nexport interface PlotSize {\n height: number\n}\n\ninterface ChartMargin {\n bottom?: number\n left?: number\n right?: number\n top?: number\n}\n\ninterface DoubleBarChartProps {\n // Shaped comparison series (one entry per month column), built by the caller (buildComparisonSeries)\n // \\u2014 mirroring how BarchartBlock builds `data` for BarChartV2.\n bars: DataSet[]\n // Two-entry palette [main, comparison]. Resolved by the caller (the card via getLayoutConfig). This\n // prop is the only color hook \\u2014 getLayoutConfig itself is never modified.\n colors: string[]\n // Legend items (toLegendItems over the block's additional_data); mapped onto the palette below.\n legends?: Legends[]\n isMini?: boolean\n // Where the legend sits, as BarChartV2's prop of the same name: below the chart (card) by default,\n // above it in the drawer.\n legendPosition?: 'top' | 'bottom'\n // Bold the legend label (\"Spend:\"), keeping the amount regular. Off by default.\n boldLabel?: boolean\n // The plot's margin, merged over the drawer's default; the legend's left inset follows margin.left.\n margin?: ChartMargin\n // Styles for the chart + legend stack (the card sets its legend gap here). Always a plain object —\n // this component never receives (or needs to merge with) the array/function SxProps forms.\n sx?: Record<string, unknown>\n // The legend's text style; ChartLegend's default (caption) when absent.\n legendVariant?: LegendComponentProps['variant']\n // The caller's plot box for this widget (a variant's full or mini card).\n plotSize?: PlotSize\n // The emphasized column (the drawer's selected month); defaults to the most recent (last) column.\n selectedIndex?: number\n // Called on a bar click with the clicked column and its sub-series (0 = main, 1 = comparison); the\n // caller decides what a click does (card opens the drawer, drill-down updates its selection).\n onBarClick: (columnIndex: number, subIndex: number) => void\n}\n\nconst FULL_PLOT: PlotSize = { height: 172 }\nconst MINI_PLOT: PlotSize = { height: 120 }\nconst DEFAULT_MARGIN = { left: 24, right: 24, top: 0, bottom: 16 }\n\n/**\n * Pure double-bar chart (month columns x main/comparison). Presentational and self-contained \\u2014 it\n * receives shaped data + palette as props and reports clicks via onBarClick, holding no store,\n * selection, or data-shaping of its own. This mirrors BarChartV2; the DoubleBarChartBlock card\n * wrapper builds the data and injects the store behavior, exactly as BarchartBlock wraps BarChartV2.\n */\nexport const DoubleBarChart = ({\n bars,\n colors,\n legends,\n isMini = false,\n legendPosition = 'bottom',\n boldLabel = false,\n margin,\n sx,\n legendVariant,\n plotSize,\n selectedIndex,\n onBarClick,\n}: DoubleBarChartProps) => {\n // The selected column (default: the most recent, last) is emphasized; the others are dimmed.\n const selectedTabIndex = selectedIndex ?? bars.length - 1\n const barGapRatio = 0.005\n const categoryGapRatio = 0.16\n\n // Per-key `??`, not `{ ...DEFAULT_MARGIN, ...margin }`: a caller that explicitly passes e.g.\n // `{ left: undefined }` would otherwise wipe out the default for that side instead of keeping it.\n const chartMargin = {\n bottom: margin?.bottom ?? DEFAULT_MARGIN.bottom,\n left: margin?.left ?? DEFAULT_MARGIN.left,\n right: margin?.right ?? DEFAULT_MARGIN.right,\n top: margin?.top ?? DEFAULT_MARGIN.top,\n }\n const plot = plotSize ?? (isMini ? MINI_PLOT : FULL_PLOT)\n const tallestBar = plotSize\n ? Math.max(\n 0,\n ...bars.flatMap(({ main, comparison }) => [Number(main) || 0, Number(comparison) || 0]),\n )\n : 0\n\n const containerRef = React.useRef<HTMLDivElement>(null)\n const { height, width } = useContainerDimensions(containerRef)\n\n const handleBarClick = ({ dataIndex, seriesId }: { dataIndex: number; seriesId: string }) => {\n const seriesType = Number(seriesId.split('-').pop())\n onBarClick(dataIndex, seriesType)\n }\n\n // colors can be empty for an unregistered variant (getLayoutConfig miss); fall back to transparent\n // so a swatch never renders as default-black.\n const legendItems = legends?.map((legend, index) => ({\n color: colors[index] ?? 'transparent',\n ...legend,\n })) as LegendProps[]\n\n const legend = !!legendItems?.length && (\n <Legend\n boldLabel={boldLabel}\n legendItems={legendItems}\n // Padding, not margin: the legend is full width, so a margin pushed it 24px past the drawer.\n // Each side follows the chart's own margin (the card's 16px, or the drawer's default 24px),\n // so the legend lines up with the bars without overflowing on either side.\n legendStyle={{ pl: chartMargin.left, pr: chartMargin.right }}\n variant={legendVariant}\n />\n )\n\n return bars.length > 0 ? (\n <Stack sx={{ mb: 0, width: '100%', p: 0, ...sx }}>\n {legendPosition === 'top' && legend}\n <Box\n ref={containerRef}\n sx={{\n height: plot.height,\n touchAction: 'pan-y',\n width: '100%',\n p: 0,\n m: 0,\n '& svg': {\n touchAction: 'pan-y',\n userSelect: 'none',\n },\n }}\n >\n <ChartContainer\n colors={colors}\n dataset={bars as any[]}\n height={height}\n margin={chartMargin}\n series={[\n { dataKey: 'main', type: 'bar' },\n { dataKey: 'comparison', type: 'bar' },\n ]}\n width={width}\n xAxis={[\n {\n barGapRatio,\n categoryGapRatio,\n dataKey: 'label',\n scaleType: 'band',\n },\n ]}\n yAxis={[tallestBar > 0 ? { width: 0, max: tallestBar } : { width: 0 }]}\n >\n <ChartsXAxis\n disableTicks={false}\n slots={{\n axisTickLabel: ({ text, ...restProps }) => {\n const selectedLabel = bars[selectedTabIndex]?.label\n return (\n <text\n {...restProps}\n style={\n {\n ...restProps.style,\n fontWeight: selectedLabel === text ? 600 : 400,\n } as React.CSSProperties\n }\n >\n {text}\n </text>\n )\n },\n }}\n sx={{\n '.MuiChartsAxis-line': {\n stroke: 'border.darker',\n },\n '& .MuiChartsAxis-tickContainer:first-of-type .MuiChartsAxis-tick': {\n display: 'none',\n },\n }}\n tickLabelStyle={{\n fontSize: 11,\n fill: 'text.secondary',\n fontWeight: 400,\n }}\n />\n <BarPlot\n onItemClick={(_, { dataIndex, seriesId }) =>\n handleBarClick({ dataIndex, seriesId: seriesId.toString() })\n }\n slots={{\n bar: (props) => {\n const { ownerState, ...defaultProps } = props\n const isSelected = selectedTabIndex === ownerState.dataIndex\n const barColor = isSelected ? ownerState.color : `${ownerState.color}50`\n\n return (\n <CustomDoubleBarPlotMXUI\n {...defaultProps}\n color={barColor}\n data={bars}\n series={{\n index: ownerState.dataIndex,\n type: Number(ownerState.id?.toString().split('-').pop() ?? 0),\n }}\n style={{\n height: props.height,\n x: props.x,\n y: props.y,\n width: props.width,\n }}\n />\n )\n },\n }}\n />\n </ChartContainer>\n </Box>\n\n {legendPosition === 'bottom' && legend}\n </Stack>\n ) : (\n <EmptyBarChart />\n )\n}\n"],"mappings":";;;;;;;;;;;AA4DA,IAAM,IAAsB,EAAE,QAAQ,IAAI,GACpC,IAAsB,EAAE,QAAQ,IAAI,GACpC,IAAiB;AAAA,EAAE,MAAM;AAAA,EAAI,OAAO;AAAA,EAAI,KAAK;AAAA,EAAG,QAAQ;AAAG,GAQpD,KAAA,CAAkB,EAC7B,MAAA,GACA,QAAA,GACA,SAAA,GACA,QAAA,IAAS,IACT,gBAAA,IAAiB,UACjB,WAAA,IAAY,IACZ,QAAA,GACA,IAAA,GACA,eAAA,GACA,UAAA,GACA,eAAA,GACA,YAAA,EAAA,MACyB;AAEzB,QAAM,IAAmB,KAAiB,EAAK,SAAS,GAClD,IAAc,MACd,IAAmB,MAInB,IAAc;AAAA,IAClB,QAAQ,GAAQ,UAAU,EAAe;AAAA,IACzC,MAAM,G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AAS;AAAA,YAAE,CAAC;AAAA,YAE7D,OAAO,EACL,KAAA,CAAM,MAAU;AACd,oBAAM,EAAE,YAAA,GAAY,GAAG,EAAA,IAAiB,GAElC,IADa,MAAqB,EAAW,YACrB,EAAW,QAAQ,GAAG,EAAW,KAAA;AAE/D,qBACE,gBAAA,EAAC,GAAD;AAAA,gBACE,GAAI;AAAA,gBACJ,OAAO;AAAA,gBACP,MAAM;AAAA,gBACN,QAAQ;AAAA,kBACN,OAAO,EAAW;AAAA,kBAClB,MAAM,OAAO,EAAW,IAAI,SAAS,EAAE,MAAM,GAAG,EAAE,IAAI,KAAK,CAAC;AAAA,gBAC9D;AAAA,gBACA,OAAO;AAAA,kBACL,QAAQ,EAAM;AAAA,kBACd,GAAG,EAAM;AAAA,kBACT,GAAG,EAAM;AAAA,kBACT,OAAO,EAAM;AAAA,gBACf;AAAA,cACD,CAAA;AAAA,YAEL,EACF;AAAA,UACD,CAAA,CACa;AAAA;MACb,CAAA;AAAA,MAEJ,MAAmB,YAAY;AAAA,IAC3B;AAAA,EAEP,CAAA,IAAA,gBAAA,EAAC,GAAD,CAAgB,CAAA;AAEpB"}
|
|
@@ -1,10 +1,17 @@
|
|
|
1
|
-
import { ReactComponent as
|
|
2
|
-
import { ThemedSVGImage as
|
|
3
|
-
import
|
|
1
|
+
import { ReactComponent as e } from "../../../insights/components/shared/images/EmptyBarChart.es.js";
|
|
2
|
+
import { ThemedSVGImage as t } from "./ThemedSVGImage.es.js";
|
|
3
|
+
import m from "@mui/material/Stack";
|
|
4
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
4
5
|
function p() {
|
|
5
|
-
return /* @__PURE__ */ m
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
return /* @__PURE__ */ r(m, {
|
|
7
|
+
sx: { alignItems: "center" },
|
|
8
|
+
children: /* @__PURE__ */ r(t, {
|
|
9
|
+
divProps: {
|
|
10
|
+
"aria-hidden": !0,
|
|
11
|
+
style: { maxWidth: "none" }
|
|
12
|
+
},
|
|
13
|
+
image: e
|
|
14
|
+
})
|
|
8
15
|
});
|
|
9
16
|
}
|
|
10
17
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmptyBarChart.es.js","names":[],"sources":["../../../../src/insights-v2/components/chartblocks/EmptyBarChart.tsx"],"sourcesContent":["import { ReactComponent as BarChartEmptyState } from '../../../../src/insights/components/shared/images/EmptyBarChart.svg'\nimport { ThemedSVGImage } from './ThemedSVGImage'\n\nexport function EmptyBarChart() {\n return <ThemedSVGImage
|
|
1
|
+
{"version":3,"file":"EmptyBarChart.es.js","names":[],"sources":["../../../../src/insights-v2/components/chartblocks/EmptyBarChart.tsx"],"sourcesContent":["import Stack from '@mui/material/Stack'\n\nimport { ReactComponent as BarChartEmptyState } from '../../../../src/insights/components/shared/images/EmptyBarChart.svg'\nimport { ThemedSVGImage } from './ThemedSVGImage'\n\nexport function EmptyBarChart() {\n return (\n <Stack sx={{ alignItems: 'center' }}>\n <ThemedSVGImage\n divProps={{ 'aria-hidden': true, style: { maxWidth: 'none' } }}\n image={BarChartEmptyState}\n />\n </Stack>\n )\n}\n"],"mappings":";;;;AAKA,SAAgB,IAAgB;AAC9B,SACE,gBAAA,EAAC,GAAD;AAAA,IAAO,IAAI,EAAE,YAAY,SAAS;AAAA,IAChC,UAAA,gBAAA,EAAC,GAAD;AAAA,MACE,UAAU;AAAA,QAAE,eAAe;AAAA,QAAM,OAAO,EAAE,UAAU,OAAO;AAAA,MAAE;AAAA,MAC7D,OAAO;AAAA,IACR,CAAA;AAAA,EACI,CAAA;AAEX"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { forwardRef as t } from "react";
|
|
2
2
|
import { jsx as e, jsxs as r } from "react/jsx-runtime";
|
|
3
3
|
var s = (C, o) => /* @__PURE__ */ r("svg", {
|
|
4
|
-
width:
|
|
5
|
-
|
|
6
|
-
viewBox: "0 0 320 164",
|
|
4
|
+
width: "100%",
|
|
5
|
+
viewBox: "75.5 0 169 164",
|
|
7
6
|
fill: "none",
|
|
8
7
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9
8
|
ref: o,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DesignateEmergencySavings.es.js","names":[],"sources":["../../../../../src/insights-v2/components/shared/images/DesignateEmergencySavings.svg"],"sourcesContent":["import * as React from \"react\";\nimport { forwardRef } from \"react\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst SvgDesignateEmergencySavings = (props, ref) => /* @__PURE__ */ _jsxs(\"svg\", {\n\twidth: 320,\n\theight: 164,\n\tviewBox: \"0 0 320 164\",\n\tfill: \"none\",\n\txmlns: \"http://www.w3.org/2000/svg\",\n\tref,\n\t...props,\n\tchildren: [/* @__PURE__ */ _jsxs(\"g\", {\n\t\tclipPath: \"url(#clip0_0_534)\",\n\t\tchildren: [\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M215.318 124.54C209.72 128.082 197.102 133.769 181.61 139.839C170.271 144.265 157.397 148.884 144.599 152.978C135.527 155.887 126.491 158.531 118.074 160.663C91.8943 167.293 71.2002 164.483 76.2683 144.054C83.7109 114.126 87.6208 98.1452 85.731 71.4314C84.2676 50.8855 99.8397 42.4373 118.63 44.8882C149.205 48.852 199.028 77.5454 209.963 84.7726C226.118 95.4338 236.322 111.262 215.318 124.54Z\",\n\t\t\t\tclassName: \"brand100\",\n\t\t\t\tfill: \"#DFE8FD\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M144.595 152.98C157.393 148.886 170.267 144.267 181.606 139.841C172.642 138.036 159.018 136.887 143.76 136.883C116.759 136.883 94.875 140.474 94.875 144.931C94.875 147.387 101.518 149.58 112 151.055L113.5 152.98L118.5 155.637L129 152.608C133.657 152.85 138.615 152.98 143.76 152.98H144.595Z\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tfill: \"#2C64EF\",\n\t\t\t\tfillOpacity: .5\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M98.5547 75.2605C108.21 74.5557 120.896 74.3268 128.119 85.7601C144.14 85.9128 156.503 90.9494 166.571 101.629C176.806 101.027 192.881 106.055 197.922 112.905C197.922 112.905 192.172 82.7256 179.517 72.6345C166.863 62.5433 139.826 58.4359 125.969 61.0036C112.111 63.5713 98.5547 75.2605 98.5547 75.2605Z\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tfill: \"#2C64EF\",\n\t\t\t\tfillOpacity: .5,\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.58909,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M137.156 151.299C136.277 151.298 135.434 150.948 134.812 150.326C134.19 149.705 133.84 148.861 133.839 147.982V143.911H133.39C130.155 143.876 126.928 143.585 123.739 143.04C122.953 142.909 122.127 142.743 121.207 142.528L120.664 142.402L120.633 144.647C120.633 145.029 120.55 145.407 120.388 145.754C120.227 146.1 119.992 146.407 119.699 146.653C119.16 147.098 118.481 147.336 117.782 147.327C117.603 147.327 117.424 147.312 117.248 147.282L115.627 147.026C114.848 146.902 114.136 146.512 113.612 145.921C113.088 145.331 112.785 144.578 112.754 143.789V139.264L112.539 139.13C106.928 135.741 103.61 130.493 102.663 123.544L102.618 123.207L102.282 123.158C98.1878 122.566 95.6066 120.061 95.2071 116.286C95.1942 116.132 95.2129 115.978 95.262 115.832C95.3112 115.687 95.3898 115.553 95.4929 115.438C95.596 115.324 95.7215 115.233 95.8615 115.169C96.0015 115.106 96.1531 115.072 96.3069 115.069C96.4543 115.07 96.6 115.101 96.7345 115.161C96.8691 115.222 96.9895 115.309 97.088 115.419C97.5877 115.979 98.2051 116.421 98.8959 116.713C99.5866 117.006 100.334 117.142 101.083 117.111C101.422 117.111 101.761 117.092 102.098 117.053L102.461 117.013L102.497 116.649C103.745 104.013 114.168 93.9261 127.783 92.126C130.061 91.7926 132.359 91.6081 134.66 91.5739L134.889 91.6098L135.087 91.4571C135.657 90.8826 136.268 90.308 136.905 89.7468C136.968 89.6934 137.047 89.6641 137.129 89.6641C137.212 89.6641 137.291 89.6934 137.354 89.7468C138.092 90.3922 138.795 91.077 139.459 91.7983L139.621 91.9734L139.854 91.9375H139.926C140.375 91.9958 140.824 92.0587 141.273 92.1305C144.379 92.5887 147.384 93.5771 150.156 95.0528L150.349 95.156L150.556 95.0663C152.704 94.1614 154.901 93.3761 157.137 92.714L157.249 92.6781L158.959 92.1305C158.995 92.1262 159.031 92.1262 159.067 92.1305C159.14 92.1302 159.211 92.1538 159.269 92.1978C159.313 92.2299 159.349 92.2717 159.374 92.32C159.399 92.3683 159.412 92.4218 159.413 92.4761C159.39 96.0673 158.941 99.0614 158.039 101.634L157.958 101.854L158.097 102.047C159.785 104.399 161.118 106.987 162.052 109.727L162.155 110.028H167.793C168.5 110.028 169.198 110.187 169.835 110.494C170.472 110.8 171.032 111.246 171.473 111.798C171.914 112.351 172.225 112.995 172.383 113.684C172.541 114.373 172.542 115.089 172.386 115.778L171.694 118.813C171.36 120.322 170.631 121.716 169.582 122.853C168.533 123.989 167.202 124.827 165.724 125.281L165.491 125.353L165.428 125.591C164.076 130.949 160.751 135.598 156.118 138.609L155.916 138.739V143.646C155.905 144.374 155.633 145.075 155.15 145.621C154.666 146.166 154.003 146.52 153.281 146.617L151.808 146.788C151.688 146.802 151.566 146.81 151.445 146.81C150.786 146.814 150.149 146.58 149.649 146.151C149.373 145.905 149.153 145.604 149.005 145.266C148.856 144.928 148.782 144.562 148.787 144.193V141.949L148.217 142.11C146.789 142.505 145.34 142.819 143.876 143.049L142.83 143.197L142.224 143.282V147.986C142.223 148.867 141.873 149.71 141.25 150.332C140.627 150.954 139.783 151.304 138.903 151.304L137.156 151.299Z\",\n\t\t\t\tfill: \"white\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M162.503 121.311C161.937 121.311 161.78 120.413 161.865 119.641C162.041 118.43 162.288 117.231 162.606 116.05C162.871 115.098 163.504 114.281 163.989 114.281C164.474 114.281 164.734 115.08 164.608 116.027C164.427 117.271 164.163 118.5 163.818 119.708C163.58 120.368 163.064 121.306 162.503 121.311Z\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tfill: \"#2C64EF\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M166.351 121.265C165.794 121.265 165.646 120.394 165.749 119.604C165.939 118.393 166.2 117.194 166.53 116.013C166.809 115.07 167.428 114.258 167.917 114.258C168.407 114.258 168.645 115.052 168.506 115.991C168.309 117.227 168.032 118.449 167.675 119.649C167.428 120.331 166.907 121.261 166.351 121.265Z\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tfill: \"#2C64EF\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M160.82 110.352H167.81C168.465 110.352 169.111 110.499 169.702 110.783C170.292 111.067 170.811 111.48 171.219 111.992C171.628 112.504 171.916 113.101 172.063 113.739C172.209 114.378 172.21 115.041 172.065 115.68L171.374 118.714C170.945 120.597 169.89 122.278 168.381 123.484C166.873 124.689 165 125.347 163.069 125.349\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.58909,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M120.39 138.878L120.318 144.65C120.318 146.203 118.908 147.24 117.292 146.98L115.672 146.724C114.964 146.612 114.316 146.258 113.839 145.723C113.362 145.188 113.085 144.505 113.055 143.788V136.391\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.52175,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M141.864 139.969V147.982C141.864 148.771 141.55 149.528 140.992 150.086C140.434 150.644 139.677 150.958 138.887 150.958H137.159C136.769 150.958 136.382 150.881 136.021 150.731C135.66 150.581 135.332 150.362 135.056 150.086C134.78 149.809 134.561 149.481 134.412 149.12C134.263 148.759 134.187 148.372 134.188 147.982V140.57\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.58909,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M155.683 138.461V143.646C155.67 144.315 155.419 144.958 154.975 145.459C154.531 145.96 153.922 146.287 153.259 146.379L151.76 146.563C151.419 146.62 151.071 146.601 150.739 146.508C150.406 146.416 150.098 146.252 149.836 146.028C149.574 145.804 149.364 145.525 149.221 145.211C149.078 144.897 149.005 144.556 149.008 144.211V141.639\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.37811,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M134.048 143.572C130.612 143.577 127.182 143.286 123.796 142.701C122.676 142.518 121.596 142.294 120.555 142.027\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.58909,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M165.147 125.348C162.498 135.345 154.822 140.96 143.802 142.697C143.151 142.801 142.518 142.89 141.898 142.976\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.58909,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M152.458 111.4C151.453 111.4 151.111 110.426 150.932 109.645C150.765 108.403 150.887 107.139 151.286 105.95C151.65 105.053 152.283 104.195 153.149 104.195C154.016 104.195 154.505 105.044 154.676 105.942C154.791 107.184 154.67 108.438 154.321 109.636C154.056 110.323 153.459 111.4 152.458 111.4Z\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tfill: \"#2C64EF\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M161.133 111.4C160.132 111.4 159.787 110.426 159.611 109.645C159.445 108.403 159.566 107.139 159.966 105.95C160.33 105.053 160.963 104.195 161.825 104.195C162.686 104.195 163.203 105.044 163.351 105.95C163.468 107.193 163.348 108.447 162.996 109.645C162.713 110.323 162.139 111.4 161.133 111.4Z\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tfill: \"#2C64EF\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M129.969 99.4621C131.455 95.9518 133.937 92.8364 137.151 90.0039C139.893 92.4305 142.174 95.332 143.884 98.5688\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.58909,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M150.5 95.4697C152.902 94.3564 156.039 93.4452 159.087 92.4531C159.087 95.8557 158.638 99.0205 157.628 101.804\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.58909,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M139.914 92.2734C140.363 92.3318 140.785 92.3946 141.238 92.4665C151.926 94.1364 158.745 100.735 161.932 110.35\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.58909,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M112.951 138.985C106.348 135.102 102.734 128.598 102.734 119.234C102.734 105.619 113.279 94.383 127.872 92.4617C130.131 92.1325 132.409 91.9496 134.691 91.9141\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.58909,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M124.117 106.755C123.929 106.739 123.74 106.762 123.561 106.823C123.382 106.883 123.218 106.979 123.077 107.105C122.937 107.231 122.824 107.385 122.745 107.556C122.666 107.727 122.623 107.913 122.618 108.101L122.564 109.695C118.932 109.834 116.867 111.939 116.778 114.538C116.638 118.578 120.557 119.692 123.376 120.549C125.235 121.133 126.388 121.644 126.357 122.641C126.33 123.48 125.324 124.028 123.794 123.862C122.333 123.698 120.941 123.157 119.754 122.291C119.351 121.991 118.85 121.853 118.351 121.907C117.851 121.96 117.39 122.2 117.06 122.578C116.894 122.808 116.775 123.068 116.711 123.345C116.647 123.621 116.639 123.907 116.688 124.187C116.737 124.466 116.842 124.733 116.996 124.971C117.15 125.209 117.351 125.413 117.586 125.572C118.904 126.481 120.395 127.109 121.967 127.417L121.922 128.674C121.918 129.07 122.059 129.453 122.318 129.752C122.576 130.051 122.935 130.246 123.327 130.299C123.512 130.327 123.7 130.316 123.88 130.265C124.06 130.215 124.227 130.126 124.371 130.006C124.514 129.886 124.63 129.737 124.71 129.568C124.791 129.399 124.835 129.216 124.84 129.029L124.88 127.763C128.768 127.763 130.954 125.815 131.057 122.632C131.187 118.628 127.12 117.398 124.225 116.527C122.299 115.988 121.244 115.58 121.275 114.673C121.275 113.923 121.89 113.38 123.376 113.506C124.637 113.637 125.852 114.05 126.932 114.713C127.339 114.964 127.821 115.065 128.294 114.996C128.767 114.928 129.202 114.696 129.522 114.341C129.718 114.106 129.859 113.829 129.936 113.533C130.012 113.236 130.021 112.926 129.963 112.625C129.904 112.324 129.78 112.04 129.598 111.793C129.416 111.547 129.181 111.343 128.911 111.199C127.842 110.594 126.682 110.166 125.477 109.928L125.531 108.294C125.538 107.905 125.395 107.529 125.131 107.242C124.868 106.956 124.505 106.781 124.117 106.755Z\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tfill: \"#2C64EF\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M102.652 117.342C100.377 117.683 98.4553 117.4 96.8483 115.654C96.7399 115.54 96.5982 115.463 96.4435 115.434C96.2887 115.406 96.1288 115.427 95.9867 115.495C95.8447 115.562 95.7277 115.673 95.6527 115.812C95.5776 115.95 95.5483 116.109 95.5689 116.265C96.0178 120.332 99.0748 122.504 102.792 122.895\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.58909,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M164.93 54.6992L122.595 150.242C122.313 150.881 121.908 151.459 121.402 151.941C120.896 152.423 120.3 152.8 119.648 153.05C118.996 153.301 118.3 153.419 117.602 153.4C116.903 153.38 116.216 153.222 115.579 152.935V152.935C114.93 152.642 114.348 152.221 113.866 151.697C113.384 151.173 113.013 150.558 112.775 149.887C112.536 149.217 112.435 148.505 112.478 147.795C112.521 147.084 112.707 146.39 113.024 145.753L114.452 142.894\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 4.48895,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M167.922 52.3594C177.268 60.5517 180.94 77.0486 176.693 88.6705L177.142 88.8815C184.863 92.5759 190.129 99.0983 194.496 106.088C195.778 108.208 196.932 110.402 197.953 112.659C198.599 98.3352 195.928 81.9999 188.89 70.0144C184.145 61.9568 177.932 56.4309 169.192 52.8038C168.802 52.6512 168.353 52.521 167.922 52.3594Z\",\n\t\t\t\tfill: \"white\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.50829,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M166.866 51.9916C152.47 50.8425 138.136 57.145 131.636 70.4637L131.152 70.32C122.838 67.8511 113.797 69.7634 106.013 72.349C103.506 73.2253 101.058 74.266 98.6875 75.4644C107.912 63.1287 121.092 52.867 136.3 50.2185C145.983 48.5307 155.993 48.4858 165.595 51.5652C166.013 51.6909 166.444 51.839 166.866 51.9916Z\",\n\t\t\t\tfill: \"white\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.50829,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M176.657 88.5739C170.668 80.1122 166.179 76.2158 157.861 72.8177C149.956 69.5811 143.712 69.0604 132.723 70.0615C132.368 70.14 132.023 70.2606 131.695 70.4206C131.785 70.2141 131.879 70.0076 131.978 69.7966C137.778 57.7124 151.056 51.4593 164.047 51.9485C165.147 51.989 166.292 52.0428 167.391 52.1506C168.354 52.8739 169.255 53.6756 170.085 54.5476C178.089 62.9824 180.634 77.7151 176.657 88.5739Z\",\n\t\t\t\tfill: \"white\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.37811,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M229.312 34.3951L239.08 24.3398\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.37811,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M196.188 68.4932L224.876 38.9648\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.37811,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M200.922 88.9887L243.814 44.8398\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.37811,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M145.633 26.1961L162.448 8.88672\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.37811,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M119.562 53.0423L136.221 35.8945\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.37811,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M206.25 38.4373L234.346 9.51953\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.37811,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M191.461 53.6692L199.855 45.0234\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.37811,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M190.367 26.4544L214.168 1.94922\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.37811,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M171.273 46.1021L181.831 35.2344\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.37811,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M177.203 53.7224L204.523 25.1367\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.37811,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M152.672 44.8408L195.564 0.6875\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.37811,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M210.242 97.5586C211.837 99.0006 212.983 100.87 213.546 102.945\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.37811,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M200.703 94.716C202.072 94.5035 203.467 94.5369 204.824 94.8147\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.37811,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M105.093 50.3711C103.494 50.5299 101.935 50.9738 100.492 51.6819\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.37811,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M114.494 54.6982C113.525 52.566 111.496 51.1879 109.062 50.6133\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.37811,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M111.183 40.8887C109.437 39.34 107.238 38.4108 104.836 38.7429\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.37811,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M115.101 48.1679C114.91 46.8205 114.485 45.5169 113.844 44.3164\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.37811,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t})\n\t\t]\n\t}), /* @__PURE__ */ _jsx(\"defs\", { children: /* @__PURE__ */ _jsx(\"clipPath\", {\n\t\tid: \"clip0_0_534\",\n\t\tchildren: /* @__PURE__ */ _jsx(\"rect\", {\n\t\t\twidth: 169,\n\t\t\theight: 163.865,\n\t\t\tfill: \"white\",\n\t\t\ttransform: \"translate(75.5)\"\n\t\t})\n\t}) })]\n});\nconst ForwardRef = forwardRef(SvgDesignateEmergencySavings);\nexport { ForwardRef as ReactComponent };\n"],"mappings":";;AAGA,IA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AA,EAAK,QAAQ;AAAA,QAC5B,GAAG;AAAA,QACH,WAAW;AAAA,QACX,QAAQ;AAAA,QACR,aAAa;AAAA,QACb,eAAe;AAAA,QACf,gBAAgB;AAAA,MACjB,CAAC;AAAA,IACF;AAAA,EACD,CAAC,GAAmB,gBAAA,EAAK,QAAQ,EAAE,UAA0B,gBAAA,EAAK,YAAY;AAAA,IAC7E,IAAI;AAAA,IACJ,UAA0B,gBAAA,EAAK,QAAQ;AAAA,MACtC,OAAO;AAAA,MACP,QAAQ;AAAA,MACR,MAAM;AAAA,MACN,WAAW;AAAA,IACZ,CAAC;AAAA,EACF,CAAC,EAAE,CAAC,CAAC;AACN,CAAC,GACK,IAAa,EAAW,CAA4B"}
|
|
1
|
+
{"version":3,"file":"DesignateEmergencySavings.es.js","names":[],"sources":["../../../../../src/insights-v2/components/shared/images/DesignateEmergencySavings.svg"],"sourcesContent":["import * as React from \"react\";\nimport { forwardRef } from \"react\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst SvgDesignateEmergencySavings = (props, ref) => /* @__PURE__ */ _jsxs(\"svg\", {\n\twidth: \"100%\",\n\tviewBox: \"75.5 0 169 164\",\n\tfill: \"none\",\n\txmlns: \"http://www.w3.org/2000/svg\",\n\tref,\n\t...props,\n\tchildren: [/* @__PURE__ */ _jsxs(\"g\", {\n\t\tclipPath: \"url(#clip0_0_534)\",\n\t\tchildren: [\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M215.318 124.54C209.72 128.082 197.102 133.769 181.61 139.839C170.271 144.265 157.397 148.884 144.599 152.978C135.527 155.887 126.491 158.531 118.074 160.663C91.8943 167.293 71.2002 164.483 76.2683 144.054C83.7109 114.126 87.6208 98.1452 85.731 71.4314C84.2676 50.8855 99.8397 42.4373 118.63 44.8882C149.205 48.852 199.028 77.5454 209.963 84.7726C226.118 95.4338 236.322 111.262 215.318 124.54Z\",\n\t\t\t\tclassName: \"brand100\",\n\t\t\t\tfill: \"#DFE8FD\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M144.595 152.98C157.393 148.886 170.267 144.267 181.606 139.841C172.642 138.036 159.018 136.887 143.76 136.883C116.759 136.883 94.875 140.474 94.875 144.931C94.875 147.387 101.518 149.58 112 151.055L113.5 152.98L118.5 155.637L129 152.608C133.657 152.85 138.615 152.98 143.76 152.98H144.595Z\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tfill: \"#2C64EF\",\n\t\t\t\tfillOpacity: .5\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M98.5547 75.2605C108.21 74.5557 120.896 74.3268 128.119 85.7601C144.14 85.9128 156.503 90.9494 166.571 101.629C176.806 101.027 192.881 106.055 197.922 112.905C197.922 112.905 192.172 82.7256 179.517 72.6345C166.863 62.5433 139.826 58.4359 125.969 61.0036C112.111 63.5713 98.5547 75.2605 98.5547 75.2605Z\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tfill: \"#2C64EF\",\n\t\t\t\tfillOpacity: .5,\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.58909,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M137.156 151.299C136.277 151.298 135.434 150.948 134.812 150.326C134.19 149.705 133.84 148.861 133.839 147.982V143.911H133.39C130.155 143.876 126.928 143.585 123.739 143.04C122.953 142.909 122.127 142.743 121.207 142.528L120.664 142.402L120.633 144.647C120.633 145.029 120.55 145.407 120.388 145.754C120.227 146.1 119.992 146.407 119.699 146.653C119.16 147.098 118.481 147.336 117.782 147.327C117.603 147.327 117.424 147.312 117.248 147.282L115.627 147.026C114.848 146.902 114.136 146.512 113.612 145.921C113.088 145.331 112.785 144.578 112.754 143.789V139.264L112.539 139.13C106.928 135.741 103.61 130.493 102.663 123.544L102.618 123.207L102.282 123.158C98.1878 122.566 95.6066 120.061 95.2071 116.286C95.1942 116.132 95.2129 115.978 95.262 115.832C95.3112 115.687 95.3898 115.553 95.4929 115.438C95.596 115.324 95.7215 115.233 95.8615 115.169C96.0015 115.106 96.1531 115.072 96.3069 115.069C96.4543 115.07 96.6 115.101 96.7345 115.161C96.8691 115.222 96.9895 115.309 97.088 115.419C97.5877 115.979 98.2051 116.421 98.8959 116.713C99.5866 117.006 100.334 117.142 101.083 117.111C101.422 117.111 101.761 117.092 102.098 117.053L102.461 117.013L102.497 116.649C103.745 104.013 114.168 93.9261 127.783 92.126C130.061 91.7926 132.359 91.6081 134.66 91.5739L134.889 91.6098L135.087 91.4571C135.657 90.8826 136.268 90.308 136.905 89.7468C136.968 89.6934 137.047 89.6641 137.129 89.6641C137.212 89.6641 137.291 89.6934 137.354 89.7468C138.092 90.3922 138.795 91.077 139.459 91.7983L139.621 91.9734L139.854 91.9375H139.926C140.375 91.9958 140.824 92.0587 141.273 92.1305C144.379 92.5887 147.384 93.5771 150.156 95.0528L150.349 95.156L150.556 95.0663C152.704 94.1614 154.901 93.3761 157.137 92.714L157.249 92.6781L158.959 92.1305C158.995 92.1262 159.031 92.1262 159.067 92.1305C159.14 92.1302 159.211 92.1538 159.269 92.1978C159.313 92.2299 159.349 92.2717 159.374 92.32C159.399 92.3683 159.412 92.4218 159.413 92.4761C159.39 96.0673 158.941 99.0614 158.039 101.634L157.958 101.854L158.097 102.047C159.785 104.399 161.118 106.987 162.052 109.727L162.155 110.028H167.793C168.5 110.028 169.198 110.187 169.835 110.494C170.472 110.8 171.032 111.246 171.473 111.798C171.914 112.351 172.225 112.995 172.383 113.684C172.541 114.373 172.542 115.089 172.386 115.778L171.694 118.813C171.36 120.322 170.631 121.716 169.582 122.853C168.533 123.989 167.202 124.827 165.724 125.281L165.491 125.353L165.428 125.591C164.076 130.949 160.751 135.598 156.118 138.609L155.916 138.739V143.646C155.905 144.374 155.633 145.075 155.15 145.621C154.666 146.166 154.003 146.52 153.281 146.617L151.808 146.788C151.688 146.802 151.566 146.81 151.445 146.81C150.786 146.814 150.149 146.58 149.649 146.151C149.373 145.905 149.153 145.604 149.005 145.266C148.856 144.928 148.782 144.562 148.787 144.193V141.949L148.217 142.11C146.789 142.505 145.34 142.819 143.876 143.049L142.83 143.197L142.224 143.282V147.986C142.223 148.867 141.873 149.71 141.25 150.332C140.627 150.954 139.783 151.304 138.903 151.304L137.156 151.299Z\",\n\t\t\t\tfill: \"white\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M162.503 121.311C161.937 121.311 161.78 120.413 161.865 119.641C162.041 118.43 162.288 117.231 162.606 116.05C162.871 115.098 163.504 114.281 163.989 114.281C164.474 114.281 164.734 115.08 164.608 116.027C164.427 117.271 164.163 118.5 163.818 119.708C163.58 120.368 163.064 121.306 162.503 121.311Z\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tfill: \"#2C64EF\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M166.351 121.265C165.794 121.265 165.646 120.394 165.749 119.604C165.939 118.393 166.2 117.194 166.53 116.013C166.809 115.07 167.428 114.258 167.917 114.258C168.407 114.258 168.645 115.052 168.506 115.991C168.309 117.227 168.032 118.449 167.675 119.649C167.428 120.331 166.907 121.261 166.351 121.265Z\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tfill: \"#2C64EF\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M160.82 110.352H167.81C168.465 110.352 169.111 110.499 169.702 110.783C170.292 111.067 170.811 111.48 171.219 111.992C171.628 112.504 171.916 113.101 172.063 113.739C172.209 114.378 172.21 115.041 172.065 115.68L171.374 118.714C170.945 120.597 169.89 122.278 168.381 123.484C166.873 124.689 165 125.347 163.069 125.349\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.58909,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M120.39 138.878L120.318 144.65C120.318 146.203 118.908 147.24 117.292 146.98L115.672 146.724C114.964 146.612 114.316 146.258 113.839 145.723C113.362 145.188 113.085 144.505 113.055 143.788V136.391\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.52175,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M141.864 139.969V147.982C141.864 148.771 141.55 149.528 140.992 150.086C140.434 150.644 139.677 150.958 138.887 150.958H137.159C136.769 150.958 136.382 150.881 136.021 150.731C135.66 150.581 135.332 150.362 135.056 150.086C134.78 149.809 134.561 149.481 134.412 149.12C134.263 148.759 134.187 148.372 134.188 147.982V140.57\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.58909,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M155.683 138.461V143.646C155.67 144.315 155.419 144.958 154.975 145.459C154.531 145.96 153.922 146.287 153.259 146.379L151.76 146.563C151.419 146.62 151.071 146.601 150.739 146.508C150.406 146.416 150.098 146.252 149.836 146.028C149.574 145.804 149.364 145.525 149.221 145.211C149.078 144.897 149.005 144.556 149.008 144.211V141.639\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.37811,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M134.048 143.572C130.612 143.577 127.182 143.286 123.796 142.701C122.676 142.518 121.596 142.294 120.555 142.027\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.58909,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M165.147 125.348C162.498 135.345 154.822 140.96 143.802 142.697C143.151 142.801 142.518 142.89 141.898 142.976\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.58909,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M152.458 111.4C151.453 111.4 151.111 110.426 150.932 109.645C150.765 108.403 150.887 107.139 151.286 105.95C151.65 105.053 152.283 104.195 153.149 104.195C154.016 104.195 154.505 105.044 154.676 105.942C154.791 107.184 154.67 108.438 154.321 109.636C154.056 110.323 153.459 111.4 152.458 111.4Z\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tfill: \"#2C64EF\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M161.133 111.4C160.132 111.4 159.787 110.426 159.611 109.645C159.445 108.403 159.566 107.139 159.966 105.95C160.33 105.053 160.963 104.195 161.825 104.195C162.686 104.195 163.203 105.044 163.351 105.95C163.468 107.193 163.348 108.447 162.996 109.645C162.713 110.323 162.139 111.4 161.133 111.4Z\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tfill: \"#2C64EF\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M129.969 99.4621C131.455 95.9518 133.937 92.8364 137.151 90.0039C139.893 92.4305 142.174 95.332 143.884 98.5688\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.58909,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M150.5 95.4697C152.902 94.3564 156.039 93.4452 159.087 92.4531C159.087 95.8557 158.638 99.0205 157.628 101.804\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.58909,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M139.914 92.2734C140.363 92.3318 140.785 92.3946 141.238 92.4665C151.926 94.1364 158.745 100.735 161.932 110.35\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.58909,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M112.951 138.985C106.348 135.102 102.734 128.598 102.734 119.234C102.734 105.619 113.279 94.383 127.872 92.4617C130.131 92.1325 132.409 91.9496 134.691 91.9141\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.58909,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M124.117 106.755C123.929 106.739 123.74 106.762 123.561 106.823C123.382 106.883 123.218 106.979 123.077 107.105C122.937 107.231 122.824 107.385 122.745 107.556C122.666 107.727 122.623 107.913 122.618 108.101L122.564 109.695C118.932 109.834 116.867 111.939 116.778 114.538C116.638 118.578 120.557 119.692 123.376 120.549C125.235 121.133 126.388 121.644 126.357 122.641C126.33 123.48 125.324 124.028 123.794 123.862C122.333 123.698 120.941 123.157 119.754 122.291C119.351 121.991 118.85 121.853 118.351 121.907C117.851 121.96 117.39 122.2 117.06 122.578C116.894 122.808 116.775 123.068 116.711 123.345C116.647 123.621 116.639 123.907 116.688 124.187C116.737 124.466 116.842 124.733 116.996 124.971C117.15 125.209 117.351 125.413 117.586 125.572C118.904 126.481 120.395 127.109 121.967 127.417L121.922 128.674C121.918 129.07 122.059 129.453 122.318 129.752C122.576 130.051 122.935 130.246 123.327 130.299C123.512 130.327 123.7 130.316 123.88 130.265C124.06 130.215 124.227 130.126 124.371 130.006C124.514 129.886 124.63 129.737 124.71 129.568C124.791 129.399 124.835 129.216 124.84 129.029L124.88 127.763C128.768 127.763 130.954 125.815 131.057 122.632C131.187 118.628 127.12 117.398 124.225 116.527C122.299 115.988 121.244 115.58 121.275 114.673C121.275 113.923 121.89 113.38 123.376 113.506C124.637 113.637 125.852 114.05 126.932 114.713C127.339 114.964 127.821 115.065 128.294 114.996C128.767 114.928 129.202 114.696 129.522 114.341C129.718 114.106 129.859 113.829 129.936 113.533C130.012 113.236 130.021 112.926 129.963 112.625C129.904 112.324 129.78 112.04 129.598 111.793C129.416 111.547 129.181 111.343 128.911 111.199C127.842 110.594 126.682 110.166 125.477 109.928L125.531 108.294C125.538 107.905 125.395 107.529 125.131 107.242C124.868 106.956 124.505 106.781 124.117 106.755Z\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tfill: \"#2C64EF\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M102.652 117.342C100.377 117.683 98.4553 117.4 96.8483 115.654C96.7399 115.54 96.5982 115.463 96.4435 115.434C96.2887 115.406 96.1288 115.427 95.9867 115.495C95.8447 115.562 95.7277 115.673 95.6527 115.812C95.5776 115.95 95.5483 116.109 95.5689 116.265C96.0178 120.332 99.0748 122.504 102.792 122.895\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.58909,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M164.93 54.6992L122.595 150.242C122.313 150.881 121.908 151.459 121.402 151.941C120.896 152.423 120.3 152.8 119.648 153.05C118.996 153.301 118.3 153.419 117.602 153.4C116.903 153.38 116.216 153.222 115.579 152.935V152.935C114.93 152.642 114.348 152.221 113.866 151.697C113.384 151.173 113.013 150.558 112.775 149.887C112.536 149.217 112.435 148.505 112.478 147.795C112.521 147.084 112.707 146.39 113.024 145.753L114.452 142.894\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 4.48895,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M167.922 52.3594C177.268 60.5517 180.94 77.0486 176.693 88.6705L177.142 88.8815C184.863 92.5759 190.129 99.0983 194.496 106.088C195.778 108.208 196.932 110.402 197.953 112.659C198.599 98.3352 195.928 81.9999 188.89 70.0144C184.145 61.9568 177.932 56.4309 169.192 52.8038C168.802 52.6512 168.353 52.521 167.922 52.3594Z\",\n\t\t\t\tfill: \"white\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.50829,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M166.866 51.9916C152.47 50.8425 138.136 57.145 131.636 70.4637L131.152 70.32C122.838 67.8511 113.797 69.7634 106.013 72.349C103.506 73.2253 101.058 74.266 98.6875 75.4644C107.912 63.1287 121.092 52.867 136.3 50.2185C145.983 48.5307 155.993 48.4858 165.595 51.5652C166.013 51.6909 166.444 51.839 166.866 51.9916Z\",\n\t\t\t\tfill: \"white\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.50829,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M176.657 88.5739C170.668 80.1122 166.179 76.2158 157.861 72.8177C149.956 69.5811 143.712 69.0604 132.723 70.0615C132.368 70.14 132.023 70.2606 131.695 70.4206C131.785 70.2141 131.879 70.0076 131.978 69.7966C137.778 57.7124 151.056 51.4593 164.047 51.9485C165.147 51.989 166.292 52.0428 167.391 52.1506C168.354 52.8739 169.255 53.6756 170.085 54.5476C178.089 62.9824 180.634 77.7151 176.657 88.5739Z\",\n\t\t\t\tfill: \"white\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.37811,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M229.312 34.3951L239.08 24.3398\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.37811,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M196.188 68.4932L224.876 38.9648\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.37811,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M200.922 88.9887L243.814 44.8398\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.37811,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M145.633 26.1961L162.448 8.88672\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.37811,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M119.562 53.0423L136.221 35.8945\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.37811,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M206.25 38.4373L234.346 9.51953\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.37811,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M191.461 53.6692L199.855 45.0234\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.37811,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M190.367 26.4544L214.168 1.94922\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.37811,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M171.273 46.1021L181.831 35.2344\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.37811,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M177.203 53.7224L204.523 25.1367\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.37811,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M152.672 44.8408L195.564 0.6875\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.37811,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M210.242 97.5586C211.837 99.0006 212.983 100.87 213.546 102.945\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.37811,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M200.703 94.716C202.072 94.5035 203.467 94.5369 204.824 94.8147\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.37811,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M105.093 50.3711C103.494 50.5299 101.935 50.9738 100.492 51.6819\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.37811,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M114.494 54.6982C113.525 52.566 111.496 51.1879 109.062 50.6133\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.37811,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M111.183 40.8887C109.437 39.34 107.238 38.4108 104.836 38.7429\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.37811,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ _jsx(\"path\", {\n\t\t\t\td: \"M115.101 48.1679C114.91 46.8205 114.485 45.5169 113.844 44.3164\",\n\t\t\t\tclassName: \"brand300\",\n\t\t\t\tstroke: \"#2C64EF\",\n\t\t\t\tstrokeWidth: 1.37811,\n\t\t\t\tstrokeLinecap: \"round\",\n\t\t\t\tstrokeLinejoin: \"round\"\n\t\t\t})\n\t\t]\n\t}), /* @__PURE__ */ _jsx(\"defs\", { children: /* @__PURE__ */ _jsx(\"clipPath\", {\n\t\tid: \"clip0_0_534\",\n\t\tchildren: /* @__PURE__ */ _jsx(\"rect\", {\n\t\t\twidth: 169,\n\t\t\theight: 163.865,\n\t\t\tfill: \"white\",\n\t\t\ttransform: \"translate(75.5)\"\n\t\t})\n\t}) })]\n});\nconst ForwardRef = forwardRef(SvgDesignateEmergencySavings);\nexport { ForwardRef as ReactComponent };\n"],"mappings":";;AAGA,IAAM,IAAA,CAAgC,GAAO,MAAwB,gBAAA,EAAM,OAAO;AAAA,EACjF,OAAO;AAAA,EACP,SAAS;AAAA,EACT,MAAM;AAAA,EACN,OAAO;AAAA,EACP,KAAA;AAAA,EACA,GAAG;AAAA,EACH,UAAU,CAAiB,gBAAA,EAAM,KAAK;AAAA,IACrC,UAAU;AAAA,IACV,UAAU;AAAA,MACO,gBAAA,EAAK,QAAQ;AAAA,QAC5B,GAAG;AAAA,QACH,WAAW;AAAA,QACX,MAAM;AAAA,MACP,CAAC;AAAA,MACe,gBAAA,EAAK,QAAQ;AAAA,QAC5B,GAAG;AAAA,QACH,WAAW;AAAA,QACX,MAAM;AAAA,QACN,aAAa;AAAA,MACd,CAAC;AAAA,MACe,gBAAA,EAAK,QAAQ;AAAA,QAC5B,GAAG;AAAA,QACH,WAAW;AAAA,QACX,MAAM;AAAA,QACN,aAAa;AAAA,QACb,QAAQ;AAAA,QACR,aAAa;AAAA,QACb,eAAe;AAAA,QACf,gBAAgB;AAAA,MACjB,CAAC;AAAA,MACe,gBAAA,EAAK,QAAQ;AAAA,QAC5B,GAAG;AAAA,QACH,MAAM;AAAA,MACP,CAAC;AAAA,MACe,gBAAA,EAAK,QAAQ;AAAA,QAC5B,GAAG;AAAA,QACH,WAAW;AAAA,QACX,MAAM;AAAA,MACP,CAAC;AAAA,MACe,gBAAA,EAAK,QAAQ;AAAA,QAC5B,GAAG;AAAA,QACH,WAAW;AAAA,QAC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AAA,EAAK,QAAQ;AAAA,QAC5B,GAAG;AAAA,QACH,WAAW;AAAA,QACX,QAAQ;AAAA,QACR,aAAa;AAAA,QACb,eAAe;AAAA,QACf,gBAAgB;AAAA,MACjB,CAAC;AAAA,MACe,gBAAA,EAAK,QAAQ;AAAA,QAC5B,GAAG;AAAA,QACH,WAAW;AAAA,QACX,QAAQ;AAAA,QACR,aAAa;AAAA,QACb,eAAe;AAAA,QACf,gBAAgB;AAAA,MACjB,CAAC;AAAA,MACe,gBAAA,EAAK,QAAQ;AAAA,QAC5B,GAAG;AAAA,QACH,WAAW;AAAA,QACX,QAAQ;AAAA,QACR,aAAa;AAAA,QACb,eAAe;AAAA,QACf,gBAAgB;AAAA,MACjB,CAAC;AAAA,IACF;AAAA,EACD,CAAC,GAAmB,gBAAA,EAAK,QAAQ,EAAE,UAA0B,gBAAA,EAAK,YAAY;AAAA,IAC7E,IAAI;AAAA,IACJ,UAA0B,gBAAA,EAAK,QAAQ;AAAA,MACtC,OAAO;AAAA,MACP,QAAQ;AAAA,MACR,MAAM;AAAA,MACN,WAAW;AAAA,IACZ,CAAC;AAAA,EACF,CAAC,EAAE,CAAC,CAAC;AACN,CAAC,GACK,IAAa,EAAW,CAA4B"}
|
|
@@ -17,7 +17,8 @@ export declare const statusIconPalette: (color?: string | null) => StatusIconPal
|
|
|
17
17
|
/**
|
|
18
18
|
* The accent colour a status icon's `color` names when it is not a status palette: `primary.main`,
|
|
19
19
|
* `action.active` (a neutral info glyph) or a chart colour (`chart.chart2`), for an icon that isn't
|
|
20
|
-
* a status (Weekly New Merchants' money bag, Savings Account Balances Summary's bar chart)
|
|
20
|
+
* a status (Weekly New Merchants' money bag, Savings Account Balances Summary's bar chart), or a category
|
|
21
|
+
* colour (Debt Payoff Strategies' `categories.autoTransport` / `categories.entertainment`).
|
|
21
22
|
* Undefined otherwise, so the tile keeps `statusIconPalette`'s status colours and its error
|
|
22
23
|
* fallback. Only these exact theme paths are accepted: the value is server data.
|
|
23
24
|
*/
|
|
@@ -1,21 +1,23 @@
|
|
|
1
|
-
import { IconList as
|
|
2
|
-
var
|
|
1
|
+
import { IconList as t } from "@mxenabled/mx-icons";
|
|
2
|
+
var s = (r) => {
|
|
3
3
|
const a = /^ICO-([a-z0-9_]+)$/.exec(r ?? "")?.[1];
|
|
4
|
-
return a && Object.hasOwn(
|
|
5
|
-
},
|
|
4
|
+
return a && Object.hasOwn(t, a) ? a : void 0;
|
|
5
|
+
}, c = {
|
|
6
6
|
"error.main": "error",
|
|
7
7
|
"success.main": "success",
|
|
8
8
|
"warning.main": "warning"
|
|
9
|
-
},
|
|
9
|
+
}, o = (r) => r && Object.hasOwn(c, r) && c[r] || "error", m = (r, a) => {
|
|
10
10
|
if (a === "primary.main") return r.primary.main;
|
|
11
11
|
if (a === "action.active") return r.action.active;
|
|
12
12
|
const n = /^chart\.(chart[1-7])$/.exec(a ?? "")?.[1];
|
|
13
|
-
|
|
13
|
+
if (n) return r.chart?.[n];
|
|
14
|
+
const e = /^categories\.([a-zA-Z]+)$/.exec(a ?? "")?.[1];
|
|
15
|
+
return e && r.categories && Object.hasOwn(r.categories, e) ? r.categories[e] : void 0;
|
|
14
16
|
};
|
|
15
17
|
export {
|
|
16
18
|
m as statusIconAccentColor,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
+
s as statusIconName,
|
|
20
|
+
o as statusIconPalette
|
|
19
21
|
};
|
|
20
22
|
|
|
21
23
|
//# sourceMappingURL=statusIcon.es.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"statusIcon.es.js","names":[],"sources":["../../../src/insights-v2/components/statusIcon.ts"],"sourcesContent":["import type { Theme } from '@mui/material/styles'\n\nimport { IconList } from '@mxenabled/mx-icons'\n\n/**\n * The mx-icons name an `ICO-<name>` guid carries (`ICO-error` → `error`), or undefined for any other\n * guid, a malformed name, or a name mx-icons does not define — so a caller renders nothing rather\n * than an empty box. ditto names a status icon this way where a block has no entity logo (account_block\n * `minimal`).\n */\nexport const statusIconName = (guid?: string | null): string | undefined => {\n const name = /^ICO-([a-z0-9_]+)$/.exec(guid ?? '')?.[1]\n\n // Own keys only: `in` would also accept inherited names such as `constructor`.\n return name && Object.hasOwn(IconList, name) ? name : undefined\n}\n\nexport type StatusIconPalette = 'error' | 'success' | 'warning'\n\nconst STATUS_PALETTES: Record<string, StatusIconPalette> = {\n 'error.main': 'error',\n 'success.main': 'success',\n 'warning.main': 'warning',\n}\n\n/**\n * The theme palette a status icon's `color` names (`success.main` → `success`), for the tinted tile\n * the micro card draws it in. The value is server data that becomes a palette key, so only these\n * three status palettes are accepted; anything else — another palette, a raw colour, a CSS\n * break-out — is the error tint, the tile's original colour.\n */\nexport const statusIconPalette = (color?: string | null): StatusIconPalette =>\n (color && Object.hasOwn(STATUS_PALETTES, color) && STATUS_PALETTES[color]) || 'error'\n\n/**\n * The accent colour a status icon's `color` names when it is not a status palette: `primary.main`,\n * `action.active` (a neutral info glyph) or a chart colour (`chart.chart2`), for an icon that isn't\n * a status (Weekly New Merchants' money bag, Savings Account Balances Summary's bar chart).\n * Undefined otherwise, so the tile keeps `statusIconPalette`'s status colours and its error\n * fallback. Only these exact theme paths are accepted: the value is server data.\n */\nexport const statusIconAccentColor = (\n palette: Theme['palette'],\n color?: string | null,\n): string | undefined => {\n if (color === 'primary.main') return palette.primary.main\n if (color === 'action.active') return palette.action.active\n const chartKey = /^chart\\.(chart[1-7])$/.exec(color ?? '')?.[1] as\n | keyof Theme['palette']['chart']\n | undefined\n
|
|
1
|
+
{"version":3,"file":"statusIcon.es.js","names":[],"sources":["../../../src/insights-v2/components/statusIcon.ts"],"sourcesContent":["import type { Theme } from '@mui/material/styles'\n\nimport { IconList } from '@mxenabled/mx-icons'\n\n/**\n * The mx-icons name an `ICO-<name>` guid carries (`ICO-error` → `error`), or undefined for any other\n * guid, a malformed name, or a name mx-icons does not define — so a caller renders nothing rather\n * than an empty box. ditto names a status icon this way where a block has no entity logo (account_block\n * `minimal`).\n */\nexport const statusIconName = (guid?: string | null): string | undefined => {\n const name = /^ICO-([a-z0-9_]+)$/.exec(guid ?? '')?.[1]\n\n // Own keys only: `in` would also accept inherited names such as `constructor`.\n return name && Object.hasOwn(IconList, name) ? name : undefined\n}\n\nexport type StatusIconPalette = 'error' | 'success' | 'warning'\n\nconst STATUS_PALETTES: Record<string, StatusIconPalette> = {\n 'error.main': 'error',\n 'success.main': 'success',\n 'warning.main': 'warning',\n}\n\n/**\n * The theme palette a status icon's `color` names (`success.main` → `success`), for the tinted tile\n * the micro card draws it in. The value is server data that becomes a palette key, so only these\n * three status palettes are accepted; anything else — another palette, a raw colour, a CSS\n * break-out — is the error tint, the tile's original colour.\n */\nexport const statusIconPalette = (color?: string | null): StatusIconPalette =>\n (color && Object.hasOwn(STATUS_PALETTES, color) && STATUS_PALETTES[color]) || 'error'\n\n/**\n * The accent colour a status icon's `color` names when it is not a status palette: `primary.main`,\n * `action.active` (a neutral info glyph) or a chart colour (`chart.chart2`), for an icon that isn't\n * a status (Weekly New Merchants' money bag, Savings Account Balances Summary's bar chart), or a category\n * colour (Debt Payoff Strategies' `categories.autoTransport` / `categories.entertainment`).\n * Undefined otherwise, so the tile keeps `statusIconPalette`'s status colours and its error\n * fallback. Only these exact theme paths are accepted: the value is server data.\n */\nexport const statusIconAccentColor = (\n palette: Theme['palette'],\n color?: string | null,\n): string | undefined => {\n if (color === 'primary.main') return palette.primary.main\n if (color === 'action.active') return palette.action.active\n const chartKey = /^chart\\.(chart[1-7])$/.exec(color ?? '')?.[1] as\n | keyof Theme['palette']['chart']\n | undefined\n if (chartKey) return palette.chart?.[chartKey]\n // Typed by MXUI's palette; own keys only, as the name is server data (ditto sends categories.autoTransport / categories.entertainment).\n const categoryKey = /^categories\\.([a-zA-Z]+)$/.exec(color ?? '')?.[1]\n return categoryKey && palette.categories && Object.hasOwn(palette.categories, categoryKey)\n ? palette.categories[categoryKey as keyof typeof palette.categories]\n : undefined\n}\n"],"mappings":";AAUA,IAAa,IAAA,CAAkB,MAA6C;AAC1E,QAAM,IAAO,qBAAqB,KAAK,KAAQ,EAAE,IAAI,CAAA;AAGrD,SAAO,KAAQ,OAAO,OAAO,GAAU,CAAI,IAAI,IAAO;AACxD,GAIM,IAAqD;AAAA,EACzD,cAAc;AAAA,EACd,gBAAgB;AAAA,EAChB,gBAAgB;AAClB,GAQa,IAAA,CAAqB,MAC/B,KAAS,OAAO,OAAO,GAAiB,CAAK,KAAK,EAAgB,CAAA,KAAW,SAUnE,IAAA,CACX,GACA,MACuB;AACvB,MAAI,MAAU,eAAgB,QAAO,EAAQ,QAAQ;AACrD,MAAI,MAAU,gBAAiB,QAAO,EAAQ,OAAO;AACrD,QAAM,IAAW,wBAAwB,KAAK,KAAS,EAAE,IAAI,CAAA;AAG7D,MAAI,EAAU,QAAO,EAAQ,QAAQ,CAAA;AAErC,QAAM,IAAc,4BAA4B,KAAK,KAAS,EAAE,IAAI,CAAA;AACpE,SAAO,KAAe,EAAQ,cAAc,OAAO,OAAO,EAAQ,YAAY,CAAW,IACrF,EAAQ,WAAW,CAAA,IACnB;AACN"}
|