sag_components 2.0.0-beta62 → 2.0.0-beta64
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/dist/index.d.ts +1080 -1181
- package/dist/index.esm.js +234 -200
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +234 -200
- package/dist/index.js.map +1 -1
- package/dist/types/components/AreaChart/AreaChart.d.ts +2 -2
- package/dist/types/components/AreaChart/AreaChart.stories.d.ts +79 -80
- package/dist/types/components/AreaChart/AreaChart.style.d.ts +8 -8
- package/dist/types/components/AreaChart/AreaChart.test.d.ts +1 -1
- package/dist/types/components/AttachedFile/AttachedFile.d.ts +23 -24
- package/dist/types/components/AttachedFile/AttachedFile.stories.d.ts +95 -95
- package/dist/types/components/AttachedFile/AttachedFile.style.d.ts +4 -4
- package/dist/types/components/AutocompleteField/AutocompleteField.d.ts +14 -15
- package/dist/types/components/AutocompleteField/AutocompleteField.stories.d.ts +13 -13
- package/dist/types/components/AutocompleteField/AutocompleteField.style.d.ts +5 -5
- package/dist/types/components/BannerEventBox/BannerEventBox.d.ts +38 -39
- package/dist/types/components/BannerEventBox/BannerEventBox.stories.d.ts +40 -40
- package/dist/types/components/BannerEventBox/BannerEventBox.style.d.ts +13 -13
- package/dist/types/components/BannerEventBoxList/BannerEventBoxList.d.ts +70 -71
- package/dist/types/components/BannerEventBoxList/BannerEventBoxList.stories.d.ts +28 -28
- package/dist/types/components/BannerEventBoxList/BannerEventBoxList.style.d.ts +12 -12
- package/dist/types/components/BannersDropdown/BannersDropdown.d.ts +17 -18
- package/dist/types/components/BannersDropdown/BannersDropdown.stories.d.ts +19 -19
- package/dist/types/components/BannersDropdown/BannersDropdown.style.d.ts +8 -8
- package/dist/types/components/BarChart/BarChart.d.ts +70 -79
- package/dist/types/components/BarChart/BarChart.stories.d.ts +179 -179
- package/dist/types/components/BarChart/BarChart.style.d.ts +8 -8
- package/dist/types/components/BarChartTwoRows/BarChartTwoRows.d.ts +73 -82
- package/dist/types/components/BarChartTwoRows/BarChartTwoRows.stories.d.ts +199 -199
- package/dist/types/components/BarChartTwoRows/BarChartTwoRows.style.d.ts +9 -9
- package/dist/types/components/BarChartWithAreaChart/BarChartWithAreaChart.d.ts +56 -66
- package/dist/types/components/BarChartWithAreaChart/BarChartWithAreaChart.stories.d.ts +112 -112
- package/dist/types/components/BarChartWithAreaChart/BarChartWithAreaChart.style.d.ts +9 -9
- package/dist/types/components/BarChartsByWeeks/BarChartsByWeeks.d.ts +99 -107
- package/dist/types/components/BarChartsByWeeks/BarChartsByWeeks.stories.d.ts +207 -207
- package/dist/types/components/BarChartsByWeeks/BarChartsByWeeks.style.d.ts +11 -11
- package/dist/types/components/BatteryChart/BatteryChart.d.ts +2 -2
- package/dist/types/components/BatteryChart/BatteryChart.style.d.ts +18 -18
- package/dist/types/components/Benchmark/Benchmark.d.ts +44 -45
- package/dist/types/components/Benchmark/Benchmark.stories.d.ts +167 -167
- package/dist/types/components/Benchmark/Benchmark.style.d.ts +5 -5
- package/dist/types/components/BreakdownPanel/BreakdownPanel.d.ts +2 -2
- package/dist/types/components/BreakdownPanel/BreakdownPanel.stories.d.ts +73 -74
- package/dist/types/components/BreakdownPanel/BreakdownPanel.style.d.ts +7 -7
- package/dist/types/components/BreakdownPanel/BreakdownPanel.test.d.ts +1 -1
- package/dist/types/components/BreakdownPanel/ItemSales/BannerButton.d.ts +8 -8
- package/dist/types/components/BreakdownPanel/ItemSales/BannerButton.style.d.ts +1 -1
- package/dist/types/components/BreakdownPanel/ItemSales/CategorySalesPanel.d.ts +7 -7
- package/dist/types/components/BreakdownPanel/ItemSales/CategorySalesPanel.style.d.ts +6 -6
- package/dist/types/components/BreakdownPanel/ItemSales/ItemSalesPanel.d.ts +2 -2
- package/dist/types/components/BreakdownPanel/ItemSales/ItemSalesPanel.style.d.ts +3 -3
- package/dist/types/components/BreakdownPanel/ItemSales/ItemsCounterGraphPanel.d.ts +6 -6
- package/dist/types/components/BreakdownPanel/ItemSales/ItemsCounterGraphPanel.style.d.ts +3 -3
- package/dist/types/components/BrushChart/BrushChart.d.ts +2 -2
- package/dist/types/components/BrushChart/BrushChart.stories.d.ts +8 -8
- package/dist/types/components/BrushChart/BrushChart.style.d.ts +9 -9
- package/dist/types/components/BrushChart/Charts/BarLine.d.ts +4 -4
- package/dist/types/components/BrushChart/Charts/InnerBar.d.ts +3 -3
- package/dist/types/components/BrushChart/Charts/SingleChart.d.ts +5 -5
- package/dist/types/components/BubbleChart/BubbleChart.d.ts +15 -15
- package/dist/types/components/BubbleChart/BubbleChart.stories.d.ts +92 -93
- package/dist/types/components/BubbleChart/BubbleChart.style.d.ts +13 -13
- package/dist/types/components/Button/Button.d.ts +22 -22
- package/dist/types/components/Button/Button.stories.d.ts +185 -185
- package/dist/types/components/Button/Button.style.d.ts +5 -5
- package/dist/types/components/Button/Button.test.d.ts +1 -1
- package/dist/types/components/CampaignTool/CampaignDemoReport.d.ts +26 -33
- package/dist/types/components/CampaignTool/CampaignDemoReport.stories.d.ts +46 -46
- package/dist/types/components/CampaignTool/CampaignDemoReport.style.d.ts +5 -5
- package/dist/types/components/CampaignTool/Card.d.ts +31 -37
- package/dist/types/components/CampaignTool/Card.stories.d.ts +57 -57
- package/dist/types/components/CampaignTool/Card.style.d.ts +8 -8
- package/dist/types/components/CampaignTool/FormInput.d.ts +5 -5
- package/dist/types/components/CampaignTool/FormSelect.d.ts +5 -5
- package/dist/types/components/CampaignTool/MultipleCard.d.ts +14 -15
- package/dist/types/components/CampaignTool/MultipleCard.stories.d.ts +28 -28
- package/dist/types/components/CampaignTool/MultipleCard.style.d.ts +1 -1
- package/dist/types/components/CampaignTool/PageFilterBar.d.ts +11 -12
- package/dist/types/components/CampaignTool/PageFilterBar.stories.d.ts +17 -17
- package/dist/types/components/CampaignTool/PageFilterBar.style.d.ts +2 -2
- package/dist/types/components/CampaignTool/Popup.d.ts +26 -27
- package/dist/types/components/CampaignTool/Popup.stories.d.ts +101 -101
- package/dist/types/components/CampaignTool/Popup.style.d.ts +14 -14
- package/dist/types/components/CampaignTool/PopupContent.d.ts +23 -28
- package/dist/types/components/CampaignTool/PopupContent.style.d.ts +7 -7
- package/dist/types/components/CampaignTool/PopupFieldsRules.d.ts +41 -41
- package/dist/types/components/CampaignTool/Table.d.ts +51 -56
- package/dist/types/components/CampaignTool/Table.stories.d.ts +108 -108
- package/dist/types/components/CampaignTool/Table.style.d.ts +7 -7
- package/dist/types/components/CheckBox/CheckBox.d.ts +2 -2
- package/dist/types/components/CheckBox/CheckBox.stories.d.ts +126 -126
- package/dist/types/components/CheckBox/CheckBox.style.d.ts +4 -4
- package/dist/types/components/CheckBoxButton/CheckBoxButton.d.ts +21 -21
- package/dist/types/components/CheckBoxButton/CheckBoxButton.stories.d.ts +187 -187
- package/dist/types/components/CheckBoxButton/CheckBoxButton.style.d.ts +4 -4
- package/dist/types/components/CodeEditor/CodeEditor.d.ts +5 -5
- package/dist/types/components/CollapseData/CollapseData.d.ts +23 -34
- package/dist/types/components/CollapseData/CollapseData.stories.d.ts +59 -59
- package/dist/types/components/CollapseData/CollapseData.style.d.ts +11 -11
- package/dist/types/components/CollapseHeader/CollapseHeader.d.ts +67 -82
- package/dist/types/components/CollapseHeader/CollapseHeader.stories.d.ts +101 -101
- package/dist/types/components/CollapseHeader/CollapseHeader.style.d.ts +25 -25
- package/dist/types/components/CollapseMenuItem/CollapseMenuItem.d.ts +23 -24
- package/dist/types/components/CollapseMenuItem/CollapseMenuItem.stories.d.ts +54 -54
- package/dist/types/components/CollapseMenuItem/CollapseMenuItem.style.d.ts +7 -7
- package/dist/types/components/DialogOverlay/DialogOverlay.d.ts +20 -21
- package/dist/types/components/DialogOverlay/DialogOverlay.stories.d.ts +31 -31
- package/dist/types/components/DialogOverlay/DialogOverlay.style.d.ts +6 -6
- package/dist/types/components/DoubleBarSingleLine/DoubleBarSingleLine.d.ts +2 -2
- package/dist/types/components/DoubleBarSingleLine/DoubleBarSingleLine.stories.d.ts +251 -252
- package/dist/types/components/DoubleBarSingleLine/DoubleBarSingleLine.style.d.ts +10 -10
- package/dist/types/components/DoublePanelDataRow/DoublePanelDataRow.d.ts +2 -2
- package/dist/types/components/DoublePanelDataRow/DoublePanelDataRow.stories.d.ts +72 -72
- package/dist/types/components/DoublePanelDataRow/DoublePanelDataRow.style.d.ts +9 -9
- package/dist/types/components/DownloadProgress/DownloadProgress.d.ts +38 -39
- package/dist/types/components/DownloadProgress/DownloadProgress.stories.d.ts +99 -99
- package/dist/types/components/DownloadProgress/DownloadProgress.style.d.ts +4 -4
- package/dist/types/components/DropdownMultiNew/DropdownMultiNew.d.ts +72 -79
- package/dist/types/components/DropdownMultiNew/DropdownMultiNew.style.d.ts +12 -12
- package/dist/types/components/DropdownMultiNew/DropdownNew.stories.d.ts +240 -240
- package/dist/types/components/DropdownNew/DropdownNew.d.ts +74 -81
- package/dist/types/components/DropdownNew/DropdownNew.style.d.ts +1 -1
- package/dist/types/components/DropdownSingleNew/DropdownSingleNew.d.ts +68 -75
- package/dist/types/components/DropdownSingleNew/DropdownSingleNew.style.d.ts +10 -10
- package/dist/types/components/EventDetailsCard/EventDetailsCard.d.ts +47 -48
- package/dist/types/components/EventDetailsCard/EventDetailsCard.stories.d.ts +122 -122
- package/dist/types/components/EventDetailsCard/EventDetailsCard.style.d.ts +6 -6
- package/dist/types/components/EventList/EventList.d.ts +26 -30
- package/dist/types/components/EventList/EventList.stories.d.ts +67 -67
- package/dist/types/components/EventList/EventList.style.d.ts +4 -4
- package/dist/types/components/EventListItem/EventListItem.d.ts +26 -27
- package/dist/types/components/EventListItem/EventListItem.stories.d.ts +67 -67
- package/dist/types/components/EventListItem/EventListItem.style.d.ts +4 -4
- package/dist/types/components/FilterContainer/FilterContainer.d.ts +2 -3
- package/dist/types/components/FilterContainer/FilterContainer.stories.d.ts +9 -9
- package/dist/types/components/FilterContainer/FilterContainer.style.d.ts +3 -3
- package/dist/types/components/FilterPanel/FilterPanel.d.ts +62 -89
- package/dist/types/components/FilterPanel/FilterPanel.stories.d.ts +172 -172
- package/dist/types/components/FilterPanel/FilterPanel.style.d.ts +11 -11
- package/dist/types/components/FormattedValue/FormattedValue.d.ts +44 -45
- package/dist/types/components/FormattedValue/FormattedValue.stories.d.ts +131 -131
- package/dist/types/components/FormattedValue/FormattedValue.style.d.ts +7 -7
- package/dist/types/components/Heatmap/Heatmap.d.ts +10 -15
- package/dist/types/components/Heatmap/Heatmap.stories.d.ts +59 -59
- package/dist/types/components/Heatmap/Heatmap.style.d.ts +13 -15
- package/dist/types/components/IconButton/IconButton.d.ts +47 -48
- package/dist/types/components/IconButton/IconButton.stories.d.ts +89 -89
- package/dist/types/components/IconButton/IconButton.style.d.ts +4 -4
- package/dist/types/components/Input/Input.d.ts +79 -80
- package/dist/types/components/Input/Input.stories.d.ts +278 -278
- package/dist/types/components/Input/Input.style.d.ts +7 -7
- package/dist/types/components/InputOld/InputOld.d.ts +65 -66
- package/dist/types/components/InputOld/InputOld.stories.d.ts +109 -109
- package/dist/types/components/InputOld/InputOld.style.d.ts +6 -6
- package/dist/types/components/InsightsCarousel/InsightsCarousel.d.ts +10 -10
- package/dist/types/components/InsightsCarousel/InsightsCarousel.stories.d.ts +47 -48
- package/dist/types/components/InsightsCarousel/InsightsCarousel.style.d.ts +12 -12
- package/dist/types/components/KpiFilter/KpiFilter.d.ts +53 -58
- package/dist/types/components/KpiFilter/KpiFilter.stories.d.ts +174 -174
- package/dist/types/components/KpiFilter/KpiFilter.style.d.ts +16 -16
- package/dist/types/components/LinkButton/LinkButton.d.ts +13 -13
- package/dist/types/components/LinkButton/LinkButton.stories.d.ts +110 -110
- package/dist/types/components/LinkButton/LinkButton.style.d.ts +4 -4
- package/dist/types/components/LinkButton/LinkButton.test.d.ts +1 -1
- package/dist/types/components/LinnerDataBox/LinnerDataBox.d.ts +2 -2
- package/dist/types/components/LinnerDataBox/LinnerDataBox.data.d.ts +15 -15
- package/dist/types/components/LinnerDataBox/LinnerDataBox.stories.d.ts +39 -39
- package/dist/types/components/LinnerDataBox/LinnerDataBox.style.d.ts +12 -14
- package/dist/types/components/ListBox/ListBox.d.ts +15 -15
- package/dist/types/components/ListBox/ListBox.stories.d.ts +134 -134
- package/dist/types/components/ListBox/ListBox.style.d.ts +4 -4
- package/dist/types/components/MarketShareDescription/MarketShareDescription.d.ts +26 -31
- package/dist/types/components/MarketShareDescription/MarketShareDescription.stories.d.ts +70 -70
- package/dist/types/components/MarketShareDescription/MarketShareDescription.style.d.ts +16 -16
- package/dist/types/components/Modal/Modal.d.ts +6 -6
- package/dist/types/components/Modal/Modal.style.d.ts +4 -4
- package/dist/types/components/Modal/ModalTotalBenchmark.d.ts +8 -8
- package/dist/types/components/Modal/ModalTotalCost.d.ts +7 -7
- package/dist/types/components/MonthPicker/MonthPicker.d.ts +53 -54
- package/dist/types/components/MonthPicker/MonthPicker.stories.d.ts +148 -148
- package/dist/types/components/MonthPicker/MonthPicker.style.d.ts +8 -8
- package/dist/types/components/MonthPicker/MonthPopupPicker.d.ts +9 -9
- package/dist/types/components/NoDataFoundMessage/NoDataFoundMessage.d.ts +2 -2
- package/dist/types/components/NoDataFoundMessage/NoDataFoundMessage.stories.d.ts +39 -39
- package/dist/types/components/NoDataFoundMessage/NoDataFoundMessage.style.d.ts +3 -3
- package/dist/types/components/OneColumnContainer/OneColumnContainer.d.ts +80 -81
- package/dist/types/components/OneColumnContainer/OneColumnContainer.stories.d.ts +396 -396
- package/dist/types/components/OneColumnContainer/OneColumnContainer.style.d.ts +12 -12
- package/dist/types/components/PerformanceAnalytics/PerformanceAnalytics.d.ts +68 -86
- package/dist/types/components/PerformanceAnalytics/PerformanceAnalytics.stories.d.ts +175 -175
- package/dist/types/components/PerformanceAnalytics/PerformanceAnalytics.style.d.ts +14 -14
- package/dist/types/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.d.ts +2 -2
- package/dist/types/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.stories.d.ts +43 -43
- package/dist/types/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.style.d.ts +6 -6
- package/dist/types/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.d.ts +64 -85
- package/dist/types/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.stories.d.ts +153 -153
- package/dist/types/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.style.d.ts +13 -13
- package/dist/types/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.d.ts +28 -37
- package/dist/types/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.stories.d.ts +42 -42
- package/dist/types/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.style.d.ts +10 -10
- package/dist/types/components/PieChart/PieChart.d.ts +62 -66
- package/dist/types/components/PieChart/PieChart.stories.d.ts +201 -201
- package/dist/types/components/PieChart/PieChart.style.d.ts +18 -18
- package/dist/types/components/PopupCharts/PopupCharts.d.ts +53 -64
- package/dist/types/components/PopupCharts/PopupCharts.stories.d.ts +89 -89
- package/dist/types/components/PopupCharts/PopupCharts.style.d.ts +12 -12
- package/dist/types/components/ProductsVariety/ProductsVariety.d.ts +24 -29
- package/dist/types/components/ProductsVariety/ProductsVariety.stories.d.ts +48 -48
- package/dist/types/components/ProductsVariety/ProductsVariety.style.d.ts +10 -10
- package/dist/types/components/ProgressBar/ProgressBar.d.ts +23 -24
- package/dist/types/components/ProgressBar/ProgressBar.stories.d.ts +65 -65
- package/dist/types/components/ProgressBar/ProgressBar.style.d.ts +2 -2
- package/dist/types/components/QuarterPicker/QuarterPicker.d.ts +53 -54
- package/dist/types/components/QuarterPicker/QuarterPicker.stories.d.ts +148 -148
- package/dist/types/components/QuarterPicker/QuarterPicker.style.d.ts +8 -8
- package/dist/types/components/QuarterPicker/QuarterPopupPicker.d.ts +9 -9
- package/dist/types/components/QuickFilter/QuickFilter.d.ts +17 -17
- package/dist/types/components/QuickFilter/QuickFilter.stories.d.ts +194 -194
- package/dist/types/components/QuickFilter/QuickFilter.style.d.ts +1 -1
- package/dist/types/components/QuickFilterDropdownMultiSelection/QuickFilterDropdownMultiSelection.d.ts +69 -76
- package/dist/types/components/QuickFilterDropdownMultiSelection/QuickFilterDropdownMultiSelection.style.d.ts +12 -12
- package/dist/types/components/QuickFilterDropdownSingle/QuickFilterDropdownSingle.d.ts +61 -68
- package/dist/types/components/QuickFilterDropdownSingle/QuickFilterDropdownSingle.style.d.ts +11 -11
- package/dist/types/components/QuickFilterDropdownSingle/SagIconButton/SagIconButton.d.ts +44 -45
- package/dist/types/components/QuickFilterDropdownSingle/SagIconButton/SagIconButton.stories.d.ts +129 -129
- package/dist/types/components/QuickFilterDropdownSingle/SagIconButton/SagIconButton.style.d.ts +2 -2
- package/dist/types/components/RangePicker/RangeDatePicker.d.ts +9 -9
- package/dist/types/components/RangePicker/RangePicker.d.ts +51 -52
- package/dist/types/components/RangePicker/RangePicker.stories.d.ts +148 -148
- package/dist/types/components/RangePicker/RangePicker.style.d.ts +8 -8
- package/dist/types/components/ReportTable/ReportTable.d.ts +74 -83
- package/dist/types/components/ReportTable/ReportTable.stories.d.ts +139 -139
- package/dist/types/components/ReportTable/ReportTable.style.d.ts +14 -14
- package/dist/types/components/SagButton/SagButton.d.ts +44 -45
- package/dist/types/components/SagButton/SagButton.stories.d.ts +142 -142
- package/dist/types/components/SagButton/SagButton.style.d.ts +3 -3
- package/dist/types/components/SagInput/SagInput.d.ts +35 -36
- package/dist/types/components/SagInput/SagInput.stories.d.ts +71 -71
- package/dist/types/components/SagInput/SagInput.style.d.ts +3 -3
- package/dist/types/components/SalesAndROI/SalesAndROI.d.ts +44 -50
- package/dist/types/components/SalesAndROI/SalesAndROI.stories.d.ts +139 -139
- package/dist/types/components/SalesAndROI/SalesAndROI.style.d.ts +9 -9
- package/dist/types/components/SearchInput/SearchInput.d.ts +23 -24
- package/dist/types/components/SearchInput/SearchInput.stories.d.ts +39 -39
- package/dist/types/components/SearchInput/SearchInput.style.d.ts +2 -2
- package/dist/types/components/SegmentedButton/SegmentedButton.d.ts +49 -52
- package/dist/types/components/SegmentedButton/SegmentedButton.stories.d.ts +168 -168
- package/dist/types/components/SegmentedButton/SegmentedButton.style.d.ts +6 -6
- package/dist/types/components/Select/Select.d.ts +21 -21
- package/dist/types/components/Select/Select.stories.d.ts +252 -252
- package/dist/types/components/Select/Select.style.d.ts +6 -6
- package/dist/types/components/SingleBarLineCharts/SingleBarLineCharts.d.ts +28 -28
- package/dist/types/components/SingleBarLineCharts/SingleBarLineCharts.stories.d.ts +226 -226
- package/dist/types/components/SingleBarLineCharts/SingleBarLineCharts.style.d.ts +13 -13
- package/dist/types/components/SingleBarLineCharts/SingleBarLineCharts.test.d.ts +1 -1
- package/dist/types/components/TabMenu/TabMenu.d.ts +54 -58
- package/dist/types/components/TabMenu/TabMenu.stories.d.ts +181 -181
- package/dist/types/components/TabMenu/TabMenu.style.d.ts +59 -59
- package/dist/types/components/TitleDescription/TitleDescription.d.ts +56 -59
- package/dist/types/components/TitleDescription/TitleDescription.stories.d.ts +90 -90
- package/dist/types/components/TitleDescription/TitleDescription.style.d.ts +26 -26
- package/dist/types/components/Tooltip/Tooltip.d.ts +23 -24
- package/dist/types/components/Tooltip/Tooltip.style.d.ts +3 -3
- package/dist/types/components/TopToggleList/TopToggleList.d.ts +23 -24
- package/dist/types/components/TopToggleList/TopToggleList.stories.d.ts +25 -25
- package/dist/types/components/TopToggleList/TopToggleList.style.d.ts +5 -5
- package/dist/types/components/TotalBenchmark/TotalBenchmark.d.ts +34 -40
- package/dist/types/components/TotalBenchmark/TotalBenchmark.stories.d.ts +101 -101
- package/dist/types/components/TotalBenchmark/TotalBenchmark.style.d.ts +9 -9
- package/dist/types/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.d.ts +81 -86
- package/dist/types/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.stories.d.ts +240 -240
- package/dist/types/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.style.d.ts +20 -20
- package/dist/types/components/TotalBenchmarkArrows/TotalBenchmarkArrows.d.ts +47 -51
- package/dist/types/components/TotalBenchmarkArrows/TotalBenchmarkArrows.stories.d.ts +145 -145
- package/dist/types/components/TotalBenchmarkArrows/TotalBenchmarkArrows.style.d.ts +14 -14
- package/dist/types/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.d.ts +51 -56
- package/dist/types/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.stories.d.ts +155 -155
- package/dist/types/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.style.d.ts +10 -10
- package/dist/types/components/TotalDoughnutChart/TotalDoughnutChart.d.ts +77 -82
- package/dist/types/components/TotalDoughnutChart/TotalDoughnutChart.stories.d.ts +241 -241
- package/dist/types/components/TotalDoughnutChart/TotalDoughnutChart.style.d.ts +19 -19
- package/dist/types/components/TotalHorizontalCharts/TotalHorizontalCharts.d.ts +71 -76
- package/dist/types/components/TotalHorizontalCharts/TotalHorizontalCharts.stories.d.ts +214 -214
- package/dist/types/components/TotalHorizontalCharts/TotalHorizontalCharts.style.d.ts +6 -6
- package/dist/types/components/TspanTooltip/TspanTooltip.d.ts +23 -24
- package/dist/types/components/TspanTooltip/TspanTooltip.style.d.ts +3 -3
- package/dist/types/components/TwoBarCharts/TwoBarCharts.d.ts +65 -74
- package/dist/types/components/TwoBarCharts/TwoBarCharts.stories.d.ts +156 -156
- package/dist/types/components/TwoBarCharts/TwoBarCharts.style.d.ts +8 -8
- package/dist/types/icons/ArrowDownIcon.d.ts +6 -6
- package/dist/types/icons/ArrowDropDownIcon.d.ts +6 -6
- package/dist/types/icons/ArrowSelectIcon.d.ts +6 -6
- package/dist/types/icons/ArrowUpIcon.d.ts +6 -6
- package/dist/types/icons/AttachedIcon.d.ts +6 -6
- package/dist/types/icons/BellIcon.d.ts +6 -6
- package/dist/types/icons/ButtonArrowRight.d.ts +5 -5
- package/dist/types/icons/Calendar.d.ts +2 -2
- package/dist/types/icons/CalendarIcon.d.ts +6 -6
- package/dist/types/icons/CalendarInOpen.d.ts +2 -2
- package/dist/types/icons/CheckBoxButtonCheckedIcon.d.ts +7 -7
- package/dist/types/icons/CheckBoxCheckedIcon.d.ts +7 -7
- package/dist/types/icons/CheckBoxNotCheckedIcon.d.ts +7 -7
- package/dist/types/icons/ChervronLeftIcon.d.ts +6 -6
- package/dist/types/icons/ChervronRightIcon.d.ts +6 -6
- package/dist/types/icons/ChevronLeftIcon.d.ts +4 -4
- package/dist/types/icons/ChevronRightIcon.d.ts +4 -4
- package/dist/types/icons/ClockIcon.d.ts +6 -6
- package/dist/types/icons/CloseIcon.d.ts +6 -6
- package/dist/types/icons/CloseXIcon.d.ts +6 -6
- package/dist/types/icons/ComboBoxArrowDownIcon.d.ts +7 -7
- package/dist/types/icons/ComboBoxArrowUpIcon.d.ts +7 -7
- package/dist/types/icons/DocumentIcon.d.ts +6 -6
- package/dist/types/icons/DownArrowIcon.d.ts +5 -5
- package/dist/types/icons/DownloadIcon.d.ts +6 -6
- package/dist/types/icons/Duplicate.d.ts +7 -7
- package/dist/types/icons/ErrorIcon.d.ts +6 -6
- package/dist/types/icons/ExitIcon.d.ts +7 -7
- package/dist/types/icons/ExportIcon.d.ts +6 -6
- package/dist/types/icons/EyeIcon.d.ts +7 -7
- package/dist/types/icons/FileIcon.d.ts +6 -6
- package/dist/types/icons/FilterIcon.d.ts +6 -6
- package/dist/types/icons/FlyIcon.d.ts +6 -6
- package/dist/types/icons/FoodLionChartIcon.d.ts +2 -2
- package/dist/types/icons/FoodLionIcon.d.ts +6 -6
- package/dist/types/icons/FoodLionNewIcon.d.ts +5 -5
- package/dist/types/icons/GiantFoodChartIcon.d.ts +2 -2
- package/dist/types/icons/GiantFoodIcon.d.ts +7 -7
- package/dist/types/icons/GiantFoodIcon_new.d.ts +7 -7
- package/dist/types/icons/HannafordChartIcon.d.ts +2 -2
- package/dist/types/icons/HannafordIcon.d.ts +6 -6
- package/dist/types/icons/HannafordIcon_new.d.ts +7 -7
- package/dist/types/icons/HannafordNewIcon.d.ts +5 -5
- package/dist/types/icons/InfoIcon.d.ts +7 -7
- package/dist/types/icons/LampIcon.d.ts +6 -6
- package/dist/types/icons/LegendLineIcon.d.ts +6 -6
- package/dist/types/icons/LegendUnionIcon.d.ts +6 -6
- package/dist/types/icons/MaintenanceIcon.d.ts +7 -7
- package/dist/types/icons/MenuItemClosedIcon.d.ts +7 -7
- package/dist/types/icons/MenuItemOpenIcon.d.ts +6 -6
- package/dist/types/icons/MenuItemRightIcon.d.ts +7 -7
- package/dist/types/icons/MenuItemUpIcon.d.ts +6 -6
- package/dist/types/icons/NoDataFoundIcon.d.ts +11 -12
- package/dist/types/icons/OptionsIcon.d.ts +6 -6
- package/dist/types/icons/ReselectIcon.d.ts +6 -6
- package/dist/types/icons/SearchIcon.d.ts +6 -6
- package/dist/types/icons/ShoppingCartIcon.d.ts +6 -6
- package/dist/types/icons/ShoutIcon.d.ts +6 -6
- package/dist/types/icons/Sort.d.ts +1 -1
- package/dist/types/icons/SortIcon.d.ts +7 -7
- package/dist/types/icons/SpotlightProductIcon.d.ts +7 -7
- package/dist/types/icons/StopAndShopChartIcon.d.ts +2 -2
- package/dist/types/icons/StopAndShopIcon.d.ts +7 -7
- package/dist/types/icons/StopAndShopNewIcon.d.ts +6 -6
- package/dist/types/icons/SucceededIcon.d.ts +6 -6
- package/dist/types/icons/TheGiantCompanyChartIcon.d.ts +2 -2
- package/dist/types/icons/TheGiantCompanyIcon.d.ts +5 -5
- package/dist/types/icons/TheGiantCompanyNewIcon.d.ts +6 -6
- package/dist/types/icons/UpArrowIcon.d.ts +5 -5
- package/dist/types/index.d.ts +32 -32
- package/dist/types/utils/CommonFunctions.d.ts +6 -6
- package/dist/types/utils/ComponentFactory.d.ts +4 -4
- package/dist/types/utils/IconsHandler.d.ts +1 -1
- package/dist/types/utils/IconsHandler.style.d.ts +1 -1
- package/dist/types/utils/regex/Email.regex.d.ts +1 -1
- package/dist/types/utils/regex/LatinWithSpaces.regex.d.ts +1 -1
- package/dist/types/utils/regex/Phone.regex.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9494,67 +9494,70 @@ const DropdownMain = styled__default["default"].div`
|
|
|
9494
9494
|
`;
|
|
9495
9495
|
|
|
9496
9496
|
/* eslint-disable react/prop-types */
|
|
9497
|
-
const DropdownNew =
|
|
9498
|
-
|
|
9499
|
-
|
|
9500
|
-
|
|
9501
|
-
|
|
9502
|
-
|
|
9503
|
-
|
|
9504
|
-
|
|
9505
|
-
|
|
9506
|
-
|
|
9507
|
-
|
|
9508
|
-
|
|
9509
|
-
|
|
9510
|
-
|
|
9511
|
-
|
|
9512
|
-
|
|
9513
|
-
|
|
9514
|
-
|
|
9515
|
-
|
|
9516
|
-
|
|
9517
|
-
|
|
9518
|
-
|
|
9519
|
-
|
|
9520
|
-
|
|
9521
|
-
|
|
9522
|
-
|
|
9523
|
-
|
|
9524
|
-
|
|
9525
|
-
|
|
9526
|
-
|
|
9527
|
-
|
|
9528
|
-
|
|
9529
|
-
|
|
9530
|
-
|
|
9531
|
-
|
|
9532
|
-
|
|
9533
|
-
|
|
9534
|
-
|
|
9535
|
-
|
|
9536
|
-
|
|
9537
|
-
|
|
9538
|
-
|
|
9539
|
-
|
|
9540
|
-
|
|
9541
|
-
|
|
9542
|
-
|
|
9543
|
-
|
|
9544
|
-
|
|
9545
|
-
|
|
9546
|
-
|
|
9547
|
-
|
|
9548
|
-
|
|
9549
|
-
|
|
9550
|
-
|
|
9551
|
-
|
|
9552
|
-
|
|
9553
|
-
|
|
9554
|
-
|
|
9555
|
-
|
|
9556
|
-
|
|
9557
|
-
|
|
9497
|
+
const DropdownNew = _ref => {
|
|
9498
|
+
let {
|
|
9499
|
+
isMulti,
|
|
9500
|
+
label,
|
|
9501
|
+
labelEmptyValue,
|
|
9502
|
+
options,
|
|
9503
|
+
selectedValue,
|
|
9504
|
+
placeHolder,
|
|
9505
|
+
onChange,
|
|
9506
|
+
required,
|
|
9507
|
+
disabled,
|
|
9508
|
+
width,
|
|
9509
|
+
error,
|
|
9510
|
+
errorMessage,
|
|
9511
|
+
labelColor,
|
|
9512
|
+
checkBoxColor,
|
|
9513
|
+
xIconShow,
|
|
9514
|
+
showLabelOnTop,
|
|
9515
|
+
orderBy,
|
|
9516
|
+
elementType
|
|
9517
|
+
} = _ref;
|
|
9518
|
+
return /*#__PURE__*/React__default["default"].createElement(DropdownMain, {
|
|
9519
|
+
className: "DropdownMain",
|
|
9520
|
+
width: width
|
|
9521
|
+
}, isMulti ? /*#__PURE__*/React__default["default"].createElement(DropdownMultiNew, {
|
|
9522
|
+
className: "DropdownMultiNew",
|
|
9523
|
+
placeHolder: placeHolder,
|
|
9524
|
+
label: label,
|
|
9525
|
+
labelEmptyValue: labelEmptyValue,
|
|
9526
|
+
labelColor: labelColor,
|
|
9527
|
+
checkBoxColor: checkBoxColor,
|
|
9528
|
+
required: required,
|
|
9529
|
+
options: options,
|
|
9530
|
+
width: width,
|
|
9531
|
+
disabled: disabled,
|
|
9532
|
+
error: error,
|
|
9533
|
+
errorMessage: errorMessage,
|
|
9534
|
+
selectedValue: selectedValue,
|
|
9535
|
+
xIconShow: xIconShow,
|
|
9536
|
+
onChange: onChange,
|
|
9537
|
+
showLabelOnTop: showLabelOnTop,
|
|
9538
|
+
orderBy: orderBy,
|
|
9539
|
+
elementType: elementType
|
|
9540
|
+
}) : /*#__PURE__*/React__default["default"].createElement(DropdownSingleNew, {
|
|
9541
|
+
className: "DropdownSingleNew",
|
|
9542
|
+
placeHolder: placeHolder,
|
|
9543
|
+
label: label,
|
|
9544
|
+
labelEmptyValue: labelEmptyValue,
|
|
9545
|
+
labelColor: labelColor,
|
|
9546
|
+
checkBoxColor: checkBoxColor,
|
|
9547
|
+
required: required,
|
|
9548
|
+
options: options,
|
|
9549
|
+
width: width,
|
|
9550
|
+
disabled: disabled,
|
|
9551
|
+
error: error,
|
|
9552
|
+
errorMessage: errorMessage,
|
|
9553
|
+
selectedValue: selectedValue,
|
|
9554
|
+
xIconShow: xIconShow,
|
|
9555
|
+
onChange: onChange,
|
|
9556
|
+
showLabelOnTop: showLabelOnTop,
|
|
9557
|
+
orderBy: orderBy,
|
|
9558
|
+
elementType: elementType
|
|
9559
|
+
}));
|
|
9560
|
+
};
|
|
9558
9561
|
DropdownNew.propTypes = {
|
|
9559
9562
|
placeHolder: PropTypes.string,
|
|
9560
9563
|
label: PropTypes.string,
|
|
@@ -9982,20 +9985,21 @@ const DatePicker = ({
|
|
|
9982
9985
|
};
|
|
9983
9986
|
|
|
9984
9987
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
9985
|
-
const RangePicker =
|
|
9986
|
-
|
|
9987
|
-
|
|
9988
|
-
|
|
9989
|
-
|
|
9990
|
-
|
|
9991
|
-
|
|
9992
|
-
|
|
9993
|
-
|
|
9994
|
-
|
|
9995
|
-
|
|
9996
|
-
|
|
9997
|
-
|
|
9998
|
-
|
|
9988
|
+
const RangePicker = _ref => {
|
|
9989
|
+
let {
|
|
9990
|
+
label,
|
|
9991
|
+
onChange,
|
|
9992
|
+
borderRadius,
|
|
9993
|
+
required,
|
|
9994
|
+
width,
|
|
9995
|
+
height,
|
|
9996
|
+
placeholder,
|
|
9997
|
+
disabled,
|
|
9998
|
+
borderColor,
|
|
9999
|
+
borderColorFocus,
|
|
10000
|
+
textColor,
|
|
10001
|
+
selectedValue
|
|
10002
|
+
} = _ref;
|
|
9999
10003
|
const [isFocused, setIsFocused] = React$1.useState(false);
|
|
10000
10004
|
const [isOpen, setIsOpen] = React$1.useState(false);
|
|
10001
10005
|
const [value, setValue] = React$1.useState(''); // Added value state
|
|
@@ -10436,22 +10440,23 @@ const QuarterPopupPicker = ({
|
|
|
10436
10440
|
};
|
|
10437
10441
|
|
|
10438
10442
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
10439
|
-
const QuarterPicker =
|
|
10440
|
-
|
|
10441
|
-
|
|
10442
|
-
|
|
10443
|
-
|
|
10444
|
-
|
|
10445
|
-
|
|
10446
|
-
|
|
10447
|
-
|
|
10448
|
-
|
|
10449
|
-
|
|
10450
|
-
|
|
10451
|
-
|
|
10452
|
-
|
|
10453
|
-
|
|
10454
|
-
|
|
10443
|
+
const QuarterPicker = _ref => {
|
|
10444
|
+
let {
|
|
10445
|
+
availableQuarters,
|
|
10446
|
+
// ["Q1-2024"]
|
|
10447
|
+
label,
|
|
10448
|
+
onChange,
|
|
10449
|
+
borderRadius,
|
|
10450
|
+
required,
|
|
10451
|
+
width,
|
|
10452
|
+
height,
|
|
10453
|
+
placeholder,
|
|
10454
|
+
disabled,
|
|
10455
|
+
borderColor,
|
|
10456
|
+
borderColorFocus,
|
|
10457
|
+
textColor,
|
|
10458
|
+
selectedValue
|
|
10459
|
+
} = _ref;
|
|
10455
10460
|
const [isFocused, setIsFocused] = React$1.useState(false);
|
|
10456
10461
|
const [isOpen, setIsOpen] = React$1.useState(false);
|
|
10457
10462
|
const [value, setValue] = React$1.useState('');
|
|
@@ -10898,21 +10903,22 @@ const MonthPopupPicker = ({
|
|
|
10898
10903
|
};
|
|
10899
10904
|
|
|
10900
10905
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
10901
|
-
const MonthPicker =
|
|
10902
|
-
|
|
10903
|
-
|
|
10904
|
-
|
|
10905
|
-
|
|
10906
|
-
|
|
10907
|
-
|
|
10908
|
-
|
|
10909
|
-
|
|
10910
|
-
|
|
10911
|
-
|
|
10912
|
-
|
|
10913
|
-
|
|
10914
|
-
|
|
10915
|
-
|
|
10906
|
+
const MonthPicker = _ref => {
|
|
10907
|
+
let {
|
|
10908
|
+
availableMonths,
|
|
10909
|
+
label,
|
|
10910
|
+
onChange,
|
|
10911
|
+
borderRadius,
|
|
10912
|
+
required,
|
|
10913
|
+
width,
|
|
10914
|
+
height,
|
|
10915
|
+
placeholder,
|
|
10916
|
+
disabled,
|
|
10917
|
+
borderColor,
|
|
10918
|
+
borderColorFocus,
|
|
10919
|
+
textColor,
|
|
10920
|
+
selectedValue
|
|
10921
|
+
} = _ref;
|
|
10916
10922
|
const [isFocused, setIsFocused] = React$1.useState(false);
|
|
10917
10923
|
const [isOpen, setIsOpen] = React$1.useState(false);
|
|
10918
10924
|
const [value, setValue] = React$1.useState('');
|
|
@@ -24138,21 +24144,22 @@ const DeleteIcon = styled__default["default"].div`
|
|
|
24138
24144
|
position: absolute;
|
|
24139
24145
|
`;
|
|
24140
24146
|
|
|
24141
|
-
const QuickFilterDropdownSingle =
|
|
24142
|
-
|
|
24143
|
-
|
|
24144
|
-
|
|
24145
|
-
|
|
24146
|
-
|
|
24147
|
-
|
|
24148
|
-
|
|
24149
|
-
|
|
24150
|
-
|
|
24151
|
-
|
|
24152
|
-
|
|
24153
|
-
|
|
24154
|
-
|
|
24155
|
-
|
|
24147
|
+
const QuickFilterDropdownSingle = _ref => {
|
|
24148
|
+
let {
|
|
24149
|
+
label,
|
|
24150
|
+
hoverColor,
|
|
24151
|
+
options,
|
|
24152
|
+
selectedValue,
|
|
24153
|
+
placeHolder,
|
|
24154
|
+
onChange,
|
|
24155
|
+
disabled,
|
|
24156
|
+
width,
|
|
24157
|
+
error,
|
|
24158
|
+
errorMessage,
|
|
24159
|
+
xIconShow,
|
|
24160
|
+
labelColor,
|
|
24161
|
+
showLabelOnTop
|
|
24162
|
+
} = _ref;
|
|
24156
24163
|
const [isFocused, setIsFocused] = React$1.useState(false);
|
|
24157
24164
|
const [showOptions, setShowOptions] = React$1.useState(false);
|
|
24158
24165
|
const [inputValue, setInputValue] = React$1.useState("");
|
|
@@ -24550,23 +24557,24 @@ const IconContainer$2 = styled__default["default"].div`
|
|
|
24550
24557
|
cursor: pointer;
|
|
24551
24558
|
`;
|
|
24552
24559
|
|
|
24553
|
-
const QuickFilterDropdownMultiSelection =
|
|
24554
|
-
|
|
24555
|
-
|
|
24556
|
-
|
|
24557
|
-
|
|
24558
|
-
|
|
24559
|
-
|
|
24560
|
-
|
|
24561
|
-
|
|
24562
|
-
|
|
24563
|
-
|
|
24564
|
-
|
|
24565
|
-
|
|
24566
|
-
|
|
24567
|
-
|
|
24568
|
-
|
|
24569
|
-
|
|
24560
|
+
const QuickFilterDropdownMultiSelection = _ref => {
|
|
24561
|
+
let {
|
|
24562
|
+
label,
|
|
24563
|
+
labelEmptyValue,
|
|
24564
|
+
options,
|
|
24565
|
+
selectedValue,
|
|
24566
|
+
placeHolder,
|
|
24567
|
+
onChange,
|
|
24568
|
+
required,
|
|
24569
|
+
disabled,
|
|
24570
|
+
width,
|
|
24571
|
+
error,
|
|
24572
|
+
errorMessage,
|
|
24573
|
+
labelColor,
|
|
24574
|
+
xIconShow,
|
|
24575
|
+
checkBoxColor,
|
|
24576
|
+
showLabelOnTop
|
|
24577
|
+
} = _ref;
|
|
24570
24578
|
const [isFocused, setIsFocused] = React$1.useState(false);
|
|
24571
24579
|
const [showOptions, setShowOptions] = React$1.useState(false);
|
|
24572
24580
|
const [inputValue, setInputValue] = React$1.useState('');
|
|
@@ -31480,7 +31488,20 @@ const SeparatedLineBarChart = ({
|
|
|
31480
31488
|
payload
|
|
31481
31489
|
} = props;
|
|
31482
31490
|
const label = payload.value;
|
|
31483
|
-
const
|
|
31491
|
+
const words = label.split(" ");
|
|
31492
|
+
const chunks = [];
|
|
31493
|
+
let currentChunk = "";
|
|
31494
|
+
words.forEach(word => {
|
|
31495
|
+
if (currentChunk.length + word.length > 15) {
|
|
31496
|
+
chunks.push(currentChunk.trim());
|
|
31497
|
+
currentChunk = word;
|
|
31498
|
+
} else {
|
|
31499
|
+
currentChunk += (currentChunk ? " " : "") + word;
|
|
31500
|
+
}
|
|
31501
|
+
});
|
|
31502
|
+
if (currentChunk) {
|
|
31503
|
+
chunks.push(currentChunk.trim());
|
|
31504
|
+
}
|
|
31484
31505
|
return /*#__PURE__*/React__default["default"].createElement("g", {
|
|
31485
31506
|
transform: `translate(${x},${y})`
|
|
31486
31507
|
}, /*#__PURE__*/React__default["default"].createElement("text", {
|
|
@@ -31489,16 +31510,13 @@ const SeparatedLineBarChart = ({
|
|
|
31489
31510
|
dy: 16,
|
|
31490
31511
|
textAnchor: "middle",
|
|
31491
31512
|
fill: "#212121",
|
|
31492
|
-
fontSize:
|
|
31493
|
-
fontWeight: 400,
|
|
31513
|
+
fontSize: 10,
|
|
31494
31514
|
fontFamily: "Poppins"
|
|
31495
|
-
}, /*#__PURE__*/React__default["default"].createElement("tspan", {
|
|
31496
|
-
|
|
31497
|
-
dy: 8
|
|
31498
|
-
}, "Vendor Selling"), /*#__PURE__*/React__default["default"].createElement("tspan", {
|
|
31515
|
+
}, chunks.map((chunk, i) => /*#__PURE__*/React__default["default"].createElement("tspan", {
|
|
31516
|
+
key: i,
|
|
31499
31517
|
x: 0,
|
|
31500
|
-
dy:
|
|
31501
|
-
},
|
|
31518
|
+
dy: i === 0 ? "0.71em" : "1.2em"
|
|
31519
|
+
}, chunk))));
|
|
31502
31520
|
};
|
|
31503
31521
|
const CustomTooltip = ({
|
|
31504
31522
|
active,
|
|
@@ -31525,7 +31543,7 @@ const SeparatedLineBarChart = ({
|
|
|
31525
31543
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31526
31544
|
style: {
|
|
31527
31545
|
width: "100%",
|
|
31528
|
-
height: "
|
|
31546
|
+
height: "100%"
|
|
31529
31547
|
}
|
|
31530
31548
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
31531
31549
|
style: {
|
|
@@ -31569,7 +31587,7 @@ const SeparatedLineBarChart = ({
|
|
|
31569
31587
|
}, /*#__PURE__*/React__default["default"].createElement(recharts.LabelList, {
|
|
31570
31588
|
dataKey: "inc_roi",
|
|
31571
31589
|
position: "top",
|
|
31572
|
-
formatter: value => value
|
|
31590
|
+
formatter: value => `$${getFormattedValue(value)}${getFormattedUnits(value)}`,
|
|
31573
31591
|
fill: "#212121",
|
|
31574
31592
|
fontSize: 12,
|
|
31575
31593
|
fontWeight: "400",
|
|
@@ -31605,7 +31623,7 @@ const SeparatedLineBarChart = ({
|
|
|
31605
31623
|
dataKey: "label",
|
|
31606
31624
|
tick: /*#__PURE__*/React__default["default"].createElement(CustomizedTick, null),
|
|
31607
31625
|
interval: 0,
|
|
31608
|
-
height:
|
|
31626
|
+
height: 80,
|
|
31609
31627
|
tickLine: false
|
|
31610
31628
|
}), /*#__PURE__*/React__default["default"].createElement(recharts.YAxis, {
|
|
31611
31629
|
tickFormatter: v => `${v / 1000}k`,
|
|
@@ -31665,7 +31683,20 @@ function SingleChart({
|
|
|
31665
31683
|
payload
|
|
31666
31684
|
}) => {
|
|
31667
31685
|
const label = dataWithIndex[payload.value]?.label ?? "";
|
|
31668
|
-
const
|
|
31686
|
+
const words = label.split(' ');
|
|
31687
|
+
const chunks = [];
|
|
31688
|
+
let currentChunk = '';
|
|
31689
|
+
words.forEach(word => {
|
|
31690
|
+
if (currentChunk.length + word.length > 15) {
|
|
31691
|
+
chunks.push(currentChunk.trim());
|
|
31692
|
+
currentChunk = word;
|
|
31693
|
+
} else {
|
|
31694
|
+
currentChunk += (currentChunk ? ' ' : '') + word;
|
|
31695
|
+
}
|
|
31696
|
+
});
|
|
31697
|
+
if (currentChunk) {
|
|
31698
|
+
chunks.push(currentChunk.trim());
|
|
31699
|
+
}
|
|
31669
31700
|
return /*#__PURE__*/React__default["default"].createElement("g", {
|
|
31670
31701
|
transform: `translate(${x},${y})`
|
|
31671
31702
|
}, /*#__PURE__*/React__default["default"].createElement("text", {
|
|
@@ -31674,16 +31705,13 @@ function SingleChart({
|
|
|
31674
31705
|
dy: 16,
|
|
31675
31706
|
textAnchor: "middle",
|
|
31676
31707
|
fill: "#212121",
|
|
31677
|
-
fontSize:
|
|
31678
|
-
fontWeight: "400",
|
|
31708
|
+
fontSize: 10,
|
|
31679
31709
|
fontFamily: "Poppins"
|
|
31680
|
-
}, /*#__PURE__*/React__default["default"].createElement("tspan", {
|
|
31681
|
-
|
|
31682
|
-
dy: 8
|
|
31683
|
-
}, "Vendor Selling"), /*#__PURE__*/React__default["default"].createElement("tspan", {
|
|
31710
|
+
}, chunks.map((chunk, i) => /*#__PURE__*/React__default["default"].createElement("tspan", {
|
|
31711
|
+
key: i,
|
|
31684
31712
|
x: 0,
|
|
31685
|
-
dy:
|
|
31686
|
-
},
|
|
31713
|
+
dy: i === 0 ? "0.71em" : "1.2em"
|
|
31714
|
+
}, chunk))));
|
|
31687
31715
|
};
|
|
31688
31716
|
const CustomTooltip = ({
|
|
31689
31717
|
active,
|
|
@@ -31692,14 +31720,9 @@ function SingleChart({
|
|
|
31692
31720
|
if (!active || !payload || !payload.length) return null;
|
|
31693
31721
|
const data = payload[0]?.payload;
|
|
31694
31722
|
if (!data) return null;
|
|
31695
|
-
console.log(data);
|
|
31696
31723
|
return /*#__PURE__*/React__default["default"].createElement(TooltipContainer, null, /*#__PURE__*/React__default["default"].createElement(TooltipTitle, null, `${data.label}`), /*#__PURE__*/React__default["default"].createElement(TooltipText, null, `${data.description}`), /*#__PURE__*/React__default["default"].createElement(TooltipText, null, `${data.typeTitle}: ${getFormattedValue(data.value)}${getFormattedUnits(data.value)}`));
|
|
31697
31724
|
};
|
|
31698
|
-
return /*#__PURE__*/React__default["default"].createElement(
|
|
31699
|
-
style: {
|
|
31700
|
-
width: "100%"
|
|
31701
|
-
}
|
|
31702
|
-
}, /*#__PURE__*/React__default["default"].createElement(recharts.ResponsiveContainer, {
|
|
31725
|
+
return /*#__PURE__*/React__default["default"].createElement(recharts.ResponsiveContainer, {
|
|
31703
31726
|
width: width,
|
|
31704
31727
|
height: height
|
|
31705
31728
|
}, /*#__PURE__*/React__default["default"].createElement(recharts.ComposedChart, {
|
|
@@ -31717,7 +31740,7 @@ function SingleChart({
|
|
|
31717
31740
|
dataKey: "index",
|
|
31718
31741
|
tick: /*#__PURE__*/React__default["default"].createElement(CustomizedTick, null),
|
|
31719
31742
|
interval: 0,
|
|
31720
|
-
height:
|
|
31743
|
+
height: 80,
|
|
31721
31744
|
padding: {
|
|
31722
31745
|
left: 20,
|
|
31723
31746
|
right: 20
|
|
@@ -31738,7 +31761,7 @@ function SingleChart({
|
|
|
31738
31761
|
}, /*#__PURE__*/React__default["default"].createElement(recharts.LabelList, {
|
|
31739
31762
|
dataKey: "value",
|
|
31740
31763
|
position: "top",
|
|
31741
|
-
formatter: value => `$${value
|
|
31764
|
+
formatter: value => `$${getFormattedValue(value)}${getFormattedUnits(value)}`,
|
|
31742
31765
|
fill: "#212121",
|
|
31743
31766
|
fontSize: 12,
|
|
31744
31767
|
fontWeight: "400",
|
|
@@ -31755,7 +31778,7 @@ function SingleChart({
|
|
|
31755
31778
|
iconType: "Square",
|
|
31756
31779
|
title: "INC Units"
|
|
31757
31780
|
}]
|
|
31758
|
-
}))
|
|
31781
|
+
}));
|
|
31759
31782
|
}
|
|
31760
31783
|
|
|
31761
31784
|
styled__default["default"].div`
|
|
@@ -31988,13 +32011,6 @@ SegmentedButton.defaultProps = {
|
|
|
31988
32011
|
function InnerBarChart({
|
|
31989
32012
|
brushInnerBarData
|
|
31990
32013
|
}) {
|
|
31991
|
-
const processedData = brushInnerBarData.map(item => {
|
|
31992
|
-
const parts = item.label.replace("Vendor Selling Event:", "").trim();
|
|
31993
|
-
return {
|
|
31994
|
-
...item,
|
|
31995
|
-
shortLabel: parts
|
|
31996
|
-
};
|
|
31997
|
-
});
|
|
31998
32014
|
const BarWithInner = props => {
|
|
31999
32015
|
const {
|
|
32000
32016
|
x,
|
|
@@ -32057,7 +32073,23 @@ function InnerBarChart({
|
|
|
32057
32073
|
y,
|
|
32058
32074
|
payload
|
|
32059
32075
|
} = props;
|
|
32060
|
-
const
|
|
32076
|
+
const label = payload.value;
|
|
32077
|
+
|
|
32078
|
+
// Split the label into chunks of words
|
|
32079
|
+
const words = label.split(' ');
|
|
32080
|
+
const chunks = [];
|
|
32081
|
+
let currentChunk = '';
|
|
32082
|
+
words.forEach(word => {
|
|
32083
|
+
if (currentChunk.length + word.length > 15) {
|
|
32084
|
+
chunks.push(currentChunk.trim());
|
|
32085
|
+
currentChunk = word;
|
|
32086
|
+
} else {
|
|
32087
|
+
currentChunk += ' ' + word;
|
|
32088
|
+
}
|
|
32089
|
+
});
|
|
32090
|
+
if (currentChunk) {
|
|
32091
|
+
chunks.push(currentChunk.trim());
|
|
32092
|
+
}
|
|
32061
32093
|
return /*#__PURE__*/React__default["default"].createElement("g", {
|
|
32062
32094
|
transform: `translate(${x},${y})`
|
|
32063
32095
|
}, /*#__PURE__*/React__default["default"].createElement("text", {
|
|
@@ -32068,37 +32100,30 @@ function InnerBarChart({
|
|
|
32068
32100
|
fill: "#212121",
|
|
32069
32101
|
fontSize: 10,
|
|
32070
32102
|
fontFamily: "Poppins"
|
|
32071
|
-
}, /*#__PURE__*/React__default["default"].createElement("tspan", {
|
|
32072
|
-
|
|
32073
|
-
dy: "0.71em"
|
|
32074
|
-
}, "Vendor"), /*#__PURE__*/React__default["default"].createElement("tspan", {
|
|
32075
|
-
x: 0,
|
|
32076
|
-
dy: "1.2em"
|
|
32077
|
-
}, "Selling"), /*#__PURE__*/React__default["default"].createElement("tspan", {
|
|
32103
|
+
}, chunks.map((chunk, i) => /*#__PURE__*/React__default["default"].createElement("tspan", {
|
|
32104
|
+
key: i,
|
|
32078
32105
|
x: 0,
|
|
32079
|
-
dy: "1.2em"
|
|
32080
|
-
},
|
|
32106
|
+
dy: i === 0 ? "0.71em" : "1.2em"
|
|
32107
|
+
}, chunk))));
|
|
32081
32108
|
};
|
|
32082
|
-
return /*#__PURE__*/React__default["default"].createElement(
|
|
32083
|
-
className: "w-full"
|
|
32084
|
-
}, /*#__PURE__*/React__default["default"].createElement(recharts.ResponsiveContainer, {
|
|
32109
|
+
return /*#__PURE__*/React__default["default"].createElement(recharts.ResponsiveContainer, {
|
|
32085
32110
|
width: "100%",
|
|
32086
|
-
height:
|
|
32111
|
+
height: "100%"
|
|
32087
32112
|
}, /*#__PURE__*/React__default["default"].createElement(recharts.BarChart, {
|
|
32088
|
-
data:
|
|
32113
|
+
data: brushInnerBarData,
|
|
32089
32114
|
margin: {
|
|
32090
32115
|
top: 30,
|
|
32091
32116
|
right: 30,
|
|
32092
32117
|
left: 20,
|
|
32093
|
-
bottom:
|
|
32118
|
+
bottom: 80
|
|
32094
32119
|
}
|
|
32095
32120
|
}, /*#__PURE__*/React__default["default"].createElement(recharts.CartesianGrid, {
|
|
32096
32121
|
strokeDasharray: "3 3",
|
|
32097
32122
|
vertical: false
|
|
32098
32123
|
}), /*#__PURE__*/React__default["default"].createElement(recharts.XAxis, {
|
|
32099
|
-
dataKey: "
|
|
32124
|
+
dataKey: "label",
|
|
32100
32125
|
tick: /*#__PURE__*/React__default["default"].createElement(CustomizedTick, null),
|
|
32101
|
-
height:
|
|
32126
|
+
height: 80,
|
|
32102
32127
|
interval: 0
|
|
32103
32128
|
}), /*#__PURE__*/React__default["default"].createElement(recharts.YAxis, {
|
|
32104
32129
|
type: "number",
|
|
@@ -32106,17 +32131,26 @@ function InnerBarChart({
|
|
|
32106
32131
|
hide: true
|
|
32107
32132
|
}), /*#__PURE__*/React__default["default"].createElement(recharts.Tooltip, {
|
|
32108
32133
|
content: /*#__PURE__*/React__default["default"].createElement(CustomTooltip, null)
|
|
32109
|
-
}), /*#__PURE__*/React__default["default"].createElement(recharts.Brush, {
|
|
32110
|
-
height: 30,
|
|
32111
|
-
travellerWidth: 10,
|
|
32112
|
-
startIndex: 0,
|
|
32113
|
-
endIndex: Math.min(6, processedData.length - 1),
|
|
32114
|
-
y: 380
|
|
32115
32134
|
}), /*#__PURE__*/React__default["default"].createElement(recharts.Bar, {
|
|
32116
32135
|
dataKey: "total",
|
|
32117
32136
|
shape: /*#__PURE__*/React__default["default"].createElement(BarWithInner, null),
|
|
32118
32137
|
barSize: 36
|
|
32119
|
-
})
|
|
32138
|
+
}), /*#__PURE__*/React__default["default"].createElement(recharts.Brush, {
|
|
32139
|
+
height: 30,
|
|
32140
|
+
travellerWidth: 10,
|
|
32141
|
+
startIndex: 0,
|
|
32142
|
+
endIndex: Math.min(6, brushInnerBarData.length - 1)
|
|
32143
|
+
})), /*#__PURE__*/React__default["default"].createElement(PerformanceAnalyticsLegend, {
|
|
32144
|
+
legendData: [{
|
|
32145
|
+
iconColor: "#CCDCDD",
|
|
32146
|
+
iconType: "Square",
|
|
32147
|
+
title: "New Shoppers"
|
|
32148
|
+
}, {
|
|
32149
|
+
iconColor: "#07575b",
|
|
32150
|
+
iconType: "Square",
|
|
32151
|
+
title: "Repeaters"
|
|
32152
|
+
}]
|
|
32153
|
+
}));
|
|
32120
32154
|
}
|
|
32121
32155
|
|
|
32122
32156
|
const BrushChart = props => {
|