sag_components 2.0.0-beta62 → 2.0.0-beta63
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 +219 -191
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +219 -191
- 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.esm.js
CHANGED
|
@@ -9484,67 +9484,70 @@ const DropdownMain = styled.div`
|
|
|
9484
9484
|
`;
|
|
9485
9485
|
|
|
9486
9486
|
/* eslint-disable react/prop-types */
|
|
9487
|
-
const DropdownNew =
|
|
9488
|
-
|
|
9489
|
-
|
|
9490
|
-
|
|
9491
|
-
|
|
9492
|
-
|
|
9493
|
-
|
|
9494
|
-
|
|
9495
|
-
|
|
9496
|
-
|
|
9497
|
-
|
|
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
|
-
|
|
9487
|
+
const DropdownNew = _ref => {
|
|
9488
|
+
let {
|
|
9489
|
+
isMulti,
|
|
9490
|
+
label,
|
|
9491
|
+
labelEmptyValue,
|
|
9492
|
+
options,
|
|
9493
|
+
selectedValue,
|
|
9494
|
+
placeHolder,
|
|
9495
|
+
onChange,
|
|
9496
|
+
required,
|
|
9497
|
+
disabled,
|
|
9498
|
+
width,
|
|
9499
|
+
error,
|
|
9500
|
+
errorMessage,
|
|
9501
|
+
labelColor,
|
|
9502
|
+
checkBoxColor,
|
|
9503
|
+
xIconShow,
|
|
9504
|
+
showLabelOnTop,
|
|
9505
|
+
orderBy,
|
|
9506
|
+
elementType
|
|
9507
|
+
} = _ref;
|
|
9508
|
+
return /*#__PURE__*/React$1.createElement(DropdownMain, {
|
|
9509
|
+
className: "DropdownMain",
|
|
9510
|
+
width: width
|
|
9511
|
+
}, isMulti ? /*#__PURE__*/React$1.createElement(DropdownMultiNew, {
|
|
9512
|
+
className: "DropdownMultiNew",
|
|
9513
|
+
placeHolder: placeHolder,
|
|
9514
|
+
label: label,
|
|
9515
|
+
labelEmptyValue: labelEmptyValue,
|
|
9516
|
+
labelColor: labelColor,
|
|
9517
|
+
checkBoxColor: checkBoxColor,
|
|
9518
|
+
required: required,
|
|
9519
|
+
options: options,
|
|
9520
|
+
width: width,
|
|
9521
|
+
disabled: disabled,
|
|
9522
|
+
error: error,
|
|
9523
|
+
errorMessage: errorMessage,
|
|
9524
|
+
selectedValue: selectedValue,
|
|
9525
|
+
xIconShow: xIconShow,
|
|
9526
|
+
onChange: onChange,
|
|
9527
|
+
showLabelOnTop: showLabelOnTop,
|
|
9528
|
+
orderBy: orderBy,
|
|
9529
|
+
elementType: elementType
|
|
9530
|
+
}) : /*#__PURE__*/React$1.createElement(DropdownSingleNew, {
|
|
9531
|
+
className: "DropdownSingleNew",
|
|
9532
|
+
placeHolder: placeHolder,
|
|
9533
|
+
label: label,
|
|
9534
|
+
labelEmptyValue: labelEmptyValue,
|
|
9535
|
+
labelColor: labelColor,
|
|
9536
|
+
checkBoxColor: checkBoxColor,
|
|
9537
|
+
required: required,
|
|
9538
|
+
options: options,
|
|
9539
|
+
width: width,
|
|
9540
|
+
disabled: disabled,
|
|
9541
|
+
error: error,
|
|
9542
|
+
errorMessage: errorMessage,
|
|
9543
|
+
selectedValue: selectedValue,
|
|
9544
|
+
xIconShow: xIconShow,
|
|
9545
|
+
onChange: onChange,
|
|
9546
|
+
showLabelOnTop: showLabelOnTop,
|
|
9547
|
+
orderBy: orderBy,
|
|
9548
|
+
elementType: elementType
|
|
9549
|
+
}));
|
|
9550
|
+
};
|
|
9548
9551
|
DropdownNew.propTypes = {
|
|
9549
9552
|
placeHolder: PropTypes.string,
|
|
9550
9553
|
label: PropTypes.string,
|
|
@@ -9972,20 +9975,21 @@ const DatePicker = ({
|
|
|
9972
9975
|
};
|
|
9973
9976
|
|
|
9974
9977
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
9975
|
-
const RangePicker =
|
|
9976
|
-
|
|
9977
|
-
|
|
9978
|
-
|
|
9979
|
-
|
|
9980
|
-
|
|
9981
|
-
|
|
9982
|
-
|
|
9983
|
-
|
|
9984
|
-
|
|
9985
|
-
|
|
9986
|
-
|
|
9987
|
-
|
|
9988
|
-
|
|
9978
|
+
const RangePicker = _ref => {
|
|
9979
|
+
let {
|
|
9980
|
+
label,
|
|
9981
|
+
onChange,
|
|
9982
|
+
borderRadius,
|
|
9983
|
+
required,
|
|
9984
|
+
width,
|
|
9985
|
+
height,
|
|
9986
|
+
placeholder,
|
|
9987
|
+
disabled,
|
|
9988
|
+
borderColor,
|
|
9989
|
+
borderColorFocus,
|
|
9990
|
+
textColor,
|
|
9991
|
+
selectedValue
|
|
9992
|
+
} = _ref;
|
|
9989
9993
|
const [isFocused, setIsFocused] = useState(false);
|
|
9990
9994
|
const [isOpen, setIsOpen] = useState(false);
|
|
9991
9995
|
const [value, setValue] = useState(''); // Added value state
|
|
@@ -10426,22 +10430,23 @@ const QuarterPopupPicker = ({
|
|
|
10426
10430
|
};
|
|
10427
10431
|
|
|
10428
10432
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
10429
|
-
const QuarterPicker =
|
|
10430
|
-
|
|
10431
|
-
|
|
10432
|
-
|
|
10433
|
-
|
|
10434
|
-
|
|
10435
|
-
|
|
10436
|
-
|
|
10437
|
-
|
|
10438
|
-
|
|
10439
|
-
|
|
10440
|
-
|
|
10441
|
-
|
|
10442
|
-
|
|
10443
|
-
|
|
10444
|
-
|
|
10433
|
+
const QuarterPicker = _ref => {
|
|
10434
|
+
let {
|
|
10435
|
+
availableQuarters,
|
|
10436
|
+
// ["Q1-2024"]
|
|
10437
|
+
label,
|
|
10438
|
+
onChange,
|
|
10439
|
+
borderRadius,
|
|
10440
|
+
required,
|
|
10441
|
+
width,
|
|
10442
|
+
height,
|
|
10443
|
+
placeholder,
|
|
10444
|
+
disabled,
|
|
10445
|
+
borderColor,
|
|
10446
|
+
borderColorFocus,
|
|
10447
|
+
textColor,
|
|
10448
|
+
selectedValue
|
|
10449
|
+
} = _ref;
|
|
10445
10450
|
const [isFocused, setIsFocused] = useState(false);
|
|
10446
10451
|
const [isOpen, setIsOpen] = useState(false);
|
|
10447
10452
|
const [value, setValue] = useState('');
|
|
@@ -10888,21 +10893,22 @@ const MonthPopupPicker = ({
|
|
|
10888
10893
|
};
|
|
10889
10894
|
|
|
10890
10895
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
10891
|
-
const MonthPicker =
|
|
10892
|
-
|
|
10893
|
-
|
|
10894
|
-
|
|
10895
|
-
|
|
10896
|
-
|
|
10897
|
-
|
|
10898
|
-
|
|
10899
|
-
|
|
10900
|
-
|
|
10901
|
-
|
|
10902
|
-
|
|
10903
|
-
|
|
10904
|
-
|
|
10905
|
-
|
|
10896
|
+
const MonthPicker = _ref => {
|
|
10897
|
+
let {
|
|
10898
|
+
availableMonths,
|
|
10899
|
+
label,
|
|
10900
|
+
onChange,
|
|
10901
|
+
borderRadius,
|
|
10902
|
+
required,
|
|
10903
|
+
width,
|
|
10904
|
+
height,
|
|
10905
|
+
placeholder,
|
|
10906
|
+
disabled,
|
|
10907
|
+
borderColor,
|
|
10908
|
+
borderColorFocus,
|
|
10909
|
+
textColor,
|
|
10910
|
+
selectedValue
|
|
10911
|
+
} = _ref;
|
|
10906
10912
|
const [isFocused, setIsFocused] = useState(false);
|
|
10907
10913
|
const [isOpen, setIsOpen] = useState(false);
|
|
10908
10914
|
const [value, setValue] = useState('');
|
|
@@ -24128,21 +24134,22 @@ const DeleteIcon = styled.div`
|
|
|
24128
24134
|
position: absolute;
|
|
24129
24135
|
`;
|
|
24130
24136
|
|
|
24131
|
-
const QuickFilterDropdownSingle =
|
|
24132
|
-
|
|
24133
|
-
|
|
24134
|
-
|
|
24135
|
-
|
|
24136
|
-
|
|
24137
|
-
|
|
24138
|
-
|
|
24139
|
-
|
|
24140
|
-
|
|
24141
|
-
|
|
24142
|
-
|
|
24143
|
-
|
|
24144
|
-
|
|
24145
|
-
|
|
24137
|
+
const QuickFilterDropdownSingle = _ref => {
|
|
24138
|
+
let {
|
|
24139
|
+
label,
|
|
24140
|
+
hoverColor,
|
|
24141
|
+
options,
|
|
24142
|
+
selectedValue,
|
|
24143
|
+
placeHolder,
|
|
24144
|
+
onChange,
|
|
24145
|
+
disabled,
|
|
24146
|
+
width,
|
|
24147
|
+
error,
|
|
24148
|
+
errorMessage,
|
|
24149
|
+
xIconShow,
|
|
24150
|
+
labelColor,
|
|
24151
|
+
showLabelOnTop
|
|
24152
|
+
} = _ref;
|
|
24146
24153
|
const [isFocused, setIsFocused] = useState(false);
|
|
24147
24154
|
const [showOptions, setShowOptions] = useState(false);
|
|
24148
24155
|
const [inputValue, setInputValue] = useState("");
|
|
@@ -24540,23 +24547,24 @@ const IconContainer$2 = styled.div`
|
|
|
24540
24547
|
cursor: pointer;
|
|
24541
24548
|
`;
|
|
24542
24549
|
|
|
24543
|
-
const QuickFilterDropdownMultiSelection =
|
|
24544
|
-
|
|
24545
|
-
|
|
24546
|
-
|
|
24547
|
-
|
|
24548
|
-
|
|
24549
|
-
|
|
24550
|
-
|
|
24551
|
-
|
|
24552
|
-
|
|
24553
|
-
|
|
24554
|
-
|
|
24555
|
-
|
|
24556
|
-
|
|
24557
|
-
|
|
24558
|
-
|
|
24559
|
-
|
|
24550
|
+
const QuickFilterDropdownMultiSelection = _ref => {
|
|
24551
|
+
let {
|
|
24552
|
+
label,
|
|
24553
|
+
labelEmptyValue,
|
|
24554
|
+
options,
|
|
24555
|
+
selectedValue,
|
|
24556
|
+
placeHolder,
|
|
24557
|
+
onChange,
|
|
24558
|
+
required,
|
|
24559
|
+
disabled,
|
|
24560
|
+
width,
|
|
24561
|
+
error,
|
|
24562
|
+
errorMessage,
|
|
24563
|
+
labelColor,
|
|
24564
|
+
xIconShow,
|
|
24565
|
+
checkBoxColor,
|
|
24566
|
+
showLabelOnTop
|
|
24567
|
+
} = _ref;
|
|
24560
24568
|
const [isFocused, setIsFocused] = useState(false);
|
|
24561
24569
|
const [showOptions, setShowOptions] = useState(false);
|
|
24562
24570
|
const [inputValue, setInputValue] = useState('');
|
|
@@ -31470,7 +31478,20 @@ const SeparatedLineBarChart = ({
|
|
|
31470
31478
|
payload
|
|
31471
31479
|
} = props;
|
|
31472
31480
|
const label = payload.value;
|
|
31473
|
-
const
|
|
31481
|
+
const words = label.split(' ');
|
|
31482
|
+
const chunks = [];
|
|
31483
|
+
let currentChunk = '';
|
|
31484
|
+
words.forEach(word => {
|
|
31485
|
+
if (currentChunk.length + word.length > 15) {
|
|
31486
|
+
chunks.push(currentChunk.trim());
|
|
31487
|
+
currentChunk = word;
|
|
31488
|
+
} else {
|
|
31489
|
+
currentChunk += (currentChunk ? ' ' : '') + word;
|
|
31490
|
+
}
|
|
31491
|
+
});
|
|
31492
|
+
if (currentChunk) {
|
|
31493
|
+
chunks.push(currentChunk.trim());
|
|
31494
|
+
}
|
|
31474
31495
|
return /*#__PURE__*/React$1.createElement("g", {
|
|
31475
31496
|
transform: `translate(${x},${y})`
|
|
31476
31497
|
}, /*#__PURE__*/React$1.createElement("text", {
|
|
@@ -31479,16 +31500,13 @@ const SeparatedLineBarChart = ({
|
|
|
31479
31500
|
dy: 16,
|
|
31480
31501
|
textAnchor: "middle",
|
|
31481
31502
|
fill: "#212121",
|
|
31482
|
-
fontSize:
|
|
31483
|
-
fontWeight: 400,
|
|
31503
|
+
fontSize: 10,
|
|
31484
31504
|
fontFamily: "Poppins"
|
|
31485
|
-
}, /*#__PURE__*/React$1.createElement("tspan", {
|
|
31486
|
-
|
|
31487
|
-
dy: 8
|
|
31488
|
-
}, "Vendor Selling"), /*#__PURE__*/React$1.createElement("tspan", {
|
|
31505
|
+
}, chunks.map((chunk, i) => /*#__PURE__*/React$1.createElement("tspan", {
|
|
31506
|
+
key: i,
|
|
31489
31507
|
x: 0,
|
|
31490
|
-
dy:
|
|
31491
|
-
},
|
|
31508
|
+
dy: i === 0 ? "0.71em" : "1.2em"
|
|
31509
|
+
}, chunk))));
|
|
31492
31510
|
};
|
|
31493
31511
|
const CustomTooltip = ({
|
|
31494
31512
|
active,
|
|
@@ -31595,7 +31613,7 @@ const SeparatedLineBarChart = ({
|
|
|
31595
31613
|
dataKey: "label",
|
|
31596
31614
|
tick: /*#__PURE__*/React$1.createElement(CustomizedTick, null),
|
|
31597
31615
|
interval: 0,
|
|
31598
|
-
height:
|
|
31616
|
+
height: 80,
|
|
31599
31617
|
tickLine: false
|
|
31600
31618
|
}), /*#__PURE__*/React$1.createElement(YAxis, {
|
|
31601
31619
|
tickFormatter: v => `${v / 1000}k`,
|
|
@@ -31655,7 +31673,20 @@ function SingleChart({
|
|
|
31655
31673
|
payload
|
|
31656
31674
|
}) => {
|
|
31657
31675
|
const label = dataWithIndex[payload.value]?.label ?? "";
|
|
31658
|
-
const
|
|
31676
|
+
const words = label.split(' ');
|
|
31677
|
+
const chunks = [];
|
|
31678
|
+
let currentChunk = '';
|
|
31679
|
+
words.forEach(word => {
|
|
31680
|
+
if (currentChunk.length + word.length > 15) {
|
|
31681
|
+
chunks.push(currentChunk.trim());
|
|
31682
|
+
currentChunk = word;
|
|
31683
|
+
} else {
|
|
31684
|
+
currentChunk += (currentChunk ? ' ' : '') + word;
|
|
31685
|
+
}
|
|
31686
|
+
});
|
|
31687
|
+
if (currentChunk) {
|
|
31688
|
+
chunks.push(currentChunk.trim());
|
|
31689
|
+
}
|
|
31659
31690
|
return /*#__PURE__*/React$1.createElement("g", {
|
|
31660
31691
|
transform: `translate(${x},${y})`
|
|
31661
31692
|
}, /*#__PURE__*/React$1.createElement("text", {
|
|
@@ -31664,16 +31695,13 @@ function SingleChart({
|
|
|
31664
31695
|
dy: 16,
|
|
31665
31696
|
textAnchor: "middle",
|
|
31666
31697
|
fill: "#212121",
|
|
31667
|
-
fontSize:
|
|
31668
|
-
fontWeight: "400",
|
|
31698
|
+
fontSize: 10,
|
|
31669
31699
|
fontFamily: "Poppins"
|
|
31670
|
-
}, /*#__PURE__*/React$1.createElement("tspan", {
|
|
31671
|
-
|
|
31672
|
-
dy: 8
|
|
31673
|
-
}, "Vendor Selling"), /*#__PURE__*/React$1.createElement("tspan", {
|
|
31700
|
+
}, chunks.map((chunk, i) => /*#__PURE__*/React$1.createElement("tspan", {
|
|
31701
|
+
key: i,
|
|
31674
31702
|
x: 0,
|
|
31675
|
-
dy:
|
|
31676
|
-
},
|
|
31703
|
+
dy: i === 0 ? "0.71em" : "1.2em"
|
|
31704
|
+
}, chunk))));
|
|
31677
31705
|
};
|
|
31678
31706
|
const CustomTooltip = ({
|
|
31679
31707
|
active,
|
|
@@ -31682,7 +31710,6 @@ function SingleChart({
|
|
|
31682
31710
|
if (!active || !payload || !payload.length) return null;
|
|
31683
31711
|
const data = payload[0]?.payload;
|
|
31684
31712
|
if (!data) return null;
|
|
31685
|
-
console.log(data);
|
|
31686
31713
|
return /*#__PURE__*/React$1.createElement(TooltipContainer, null, /*#__PURE__*/React$1.createElement(TooltipTitle, null, `${data.label}`), /*#__PURE__*/React$1.createElement(TooltipText, null, `${data.description}`), /*#__PURE__*/React$1.createElement(TooltipText, null, `${data.typeTitle}: ${getFormattedValue(data.value)}${getFormattedUnits(data.value)}`));
|
|
31687
31714
|
};
|
|
31688
31715
|
return /*#__PURE__*/React$1.createElement("div", {
|
|
@@ -31707,7 +31734,7 @@ function SingleChart({
|
|
|
31707
31734
|
dataKey: "index",
|
|
31708
31735
|
tick: /*#__PURE__*/React$1.createElement(CustomizedTick, null),
|
|
31709
31736
|
interval: 0,
|
|
31710
|
-
height:
|
|
31737
|
+
height: 80,
|
|
31711
31738
|
padding: {
|
|
31712
31739
|
left: 20,
|
|
31713
31740
|
right: 20
|
|
@@ -31978,13 +32005,6 @@ SegmentedButton.defaultProps = {
|
|
|
31978
32005
|
function InnerBarChart({
|
|
31979
32006
|
brushInnerBarData
|
|
31980
32007
|
}) {
|
|
31981
|
-
const processedData = brushInnerBarData.map(item => {
|
|
31982
|
-
const parts = item.label.replace("Vendor Selling Event:", "").trim();
|
|
31983
|
-
return {
|
|
31984
|
-
...item,
|
|
31985
|
-
shortLabel: parts
|
|
31986
|
-
};
|
|
31987
|
-
});
|
|
31988
32008
|
const BarWithInner = props => {
|
|
31989
32009
|
const {
|
|
31990
32010
|
x,
|
|
@@ -32047,7 +32067,23 @@ function InnerBarChart({
|
|
|
32047
32067
|
y,
|
|
32048
32068
|
payload
|
|
32049
32069
|
} = props;
|
|
32050
|
-
const
|
|
32070
|
+
const label = payload.value;
|
|
32071
|
+
|
|
32072
|
+
// Split the label into chunks of words
|
|
32073
|
+
const words = label.split(' ');
|
|
32074
|
+
const chunks = [];
|
|
32075
|
+
let currentChunk = '';
|
|
32076
|
+
words.forEach(word => {
|
|
32077
|
+
if (currentChunk.length + word.length > 15) {
|
|
32078
|
+
chunks.push(currentChunk.trim());
|
|
32079
|
+
currentChunk = word;
|
|
32080
|
+
} else {
|
|
32081
|
+
currentChunk += ' ' + word;
|
|
32082
|
+
}
|
|
32083
|
+
});
|
|
32084
|
+
if (currentChunk) {
|
|
32085
|
+
chunks.push(currentChunk.trim());
|
|
32086
|
+
}
|
|
32051
32087
|
return /*#__PURE__*/React$1.createElement("g", {
|
|
32052
32088
|
transform: `translate(${x},${y})`
|
|
32053
32089
|
}, /*#__PURE__*/React$1.createElement("text", {
|
|
@@ -32058,37 +32094,30 @@ function InnerBarChart({
|
|
|
32058
32094
|
fill: "#212121",
|
|
32059
32095
|
fontSize: 10,
|
|
32060
32096
|
fontFamily: "Poppins"
|
|
32061
|
-
}, /*#__PURE__*/React$1.createElement("tspan", {
|
|
32097
|
+
}, chunks.map((chunk, i) => /*#__PURE__*/React$1.createElement("tspan", {
|
|
32098
|
+
key: i,
|
|
32062
32099
|
x: 0,
|
|
32063
|
-
dy: "0.71em"
|
|
32064
|
-
},
|
|
32065
|
-
x: 0,
|
|
32066
|
-
dy: "1.2em"
|
|
32067
|
-
}, "Selling"), /*#__PURE__*/React$1.createElement("tspan", {
|
|
32068
|
-
x: 0,
|
|
32069
|
-
dy: "1.2em"
|
|
32070
|
-
}, labelText)));
|
|
32100
|
+
dy: i === 0 ? "0.71em" : "1.2em"
|
|
32101
|
+
}, chunk))));
|
|
32071
32102
|
};
|
|
32072
|
-
return /*#__PURE__*/React$1.createElement(
|
|
32073
|
-
className: "w-full"
|
|
32074
|
-
}, /*#__PURE__*/React$1.createElement(ResponsiveContainer, {
|
|
32103
|
+
return /*#__PURE__*/React$1.createElement(ResponsiveContainer, {
|
|
32075
32104
|
width: "100%",
|
|
32076
|
-
height:
|
|
32105
|
+
height: "100%"
|
|
32077
32106
|
}, /*#__PURE__*/React$1.createElement(BarChart$1, {
|
|
32078
|
-
data:
|
|
32107
|
+
data: brushInnerBarData,
|
|
32079
32108
|
margin: {
|
|
32080
32109
|
top: 30,
|
|
32081
32110
|
right: 30,
|
|
32082
32111
|
left: 20,
|
|
32083
|
-
bottom:
|
|
32112
|
+
bottom: 80
|
|
32084
32113
|
}
|
|
32085
32114
|
}, /*#__PURE__*/React$1.createElement(CartesianGrid, {
|
|
32086
32115
|
strokeDasharray: "3 3",
|
|
32087
32116
|
vertical: false
|
|
32088
32117
|
}), /*#__PURE__*/React$1.createElement(XAxis, {
|
|
32089
|
-
dataKey: "
|
|
32118
|
+
dataKey: "label",
|
|
32090
32119
|
tick: /*#__PURE__*/React$1.createElement(CustomizedTick, null),
|
|
32091
|
-
height:
|
|
32120
|
+
height: 80,
|
|
32092
32121
|
interval: 0
|
|
32093
32122
|
}), /*#__PURE__*/React$1.createElement(YAxis, {
|
|
32094
32123
|
type: "number",
|
|
@@ -32096,17 +32125,16 @@ function InnerBarChart({
|
|
|
32096
32125
|
hide: true
|
|
32097
32126
|
}), /*#__PURE__*/React$1.createElement(Tooltip$2, {
|
|
32098
32127
|
content: /*#__PURE__*/React$1.createElement(CustomTooltip, null)
|
|
32099
|
-
}), /*#__PURE__*/React$1.createElement(Brush, {
|
|
32100
|
-
height: 30,
|
|
32101
|
-
travellerWidth: 10,
|
|
32102
|
-
startIndex: 0,
|
|
32103
|
-
endIndex: Math.min(6, processedData.length - 1),
|
|
32104
|
-
y: 380
|
|
32105
32128
|
}), /*#__PURE__*/React$1.createElement(Bar, {
|
|
32106
32129
|
dataKey: "total",
|
|
32107
32130
|
shape: /*#__PURE__*/React$1.createElement(BarWithInner, null),
|
|
32108
32131
|
barSize: 36
|
|
32109
|
-
})
|
|
32132
|
+
}), /*#__PURE__*/React$1.createElement(Brush, {
|
|
32133
|
+
height: 30,
|
|
32134
|
+
travellerWidth: 10,
|
|
32135
|
+
startIndex: 0,
|
|
32136
|
+
endIndex: Math.min(6, brushInnerBarData.length - 1)
|
|
32137
|
+
})));
|
|
32110
32138
|
}
|
|
32111
32139
|
|
|
32112
32140
|
const BrushChart = props => {
|