sag_components 2.0.0-beta → 2.0.0-beta2
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 +1106 -0
- package/dist/index.esm.js +80952 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/index.js +80998 -0
- package/dist/index.js.map +1 -0
- package/dist/types/components/AttachedFile/AttachedFile.d.ts +24 -0
- package/dist/types/components/AttachedFile/AttachedFile.stories.d.ts +35 -0
- package/dist/types/components/AttachedFile/AttachedFile.style.d.ts +4 -0
- package/dist/types/components/AutocompleteField/AutocompleteField.d.ts +15 -0
- package/dist/types/components/AutocompleteField/AutocompleteField.stories.d.ts +19 -0
- package/dist/types/components/AutocompleteField/AutocompleteField.style.d.ts +5 -0
- package/dist/types/components/BannerEventBox/BannerEventBox.d.ts +39 -0
- package/dist/types/components/BannerEventBox/BannerEventBox.stories.d.ts +61 -0
- package/dist/types/components/BannerEventBox/BannerEventBox.style.d.ts +13 -0
- package/dist/types/components/BannerEventBoxList/BannerEventBoxList.d.ts +74 -0
- package/dist/types/components/BannerEventBoxList/BannerEventBoxList.stories.d.ts +40 -0
- package/dist/types/components/BannerEventBoxList/BannerEventBoxList.style.d.ts +12 -0
- package/dist/types/components/BannersDropdown/BannersDropdown.d.ts +18 -0
- package/dist/types/components/BannersDropdown/BannersDropdown.stories.d.ts +38 -0
- package/dist/types/components/BannersDropdown/BannersDropdown.style.d.ts +8 -0
- package/dist/types/components/BarChart/BarChart.d.ts +79 -0
- package/dist/types/components/BarChart/BarChart.stories.d.ts +320 -0
- package/dist/types/components/BarChart/BarChart.style.d.ts +8 -0
- package/dist/types/components/BarChartTwoRows/BarChartTwoRows.d.ts +82 -0
- package/dist/types/components/BarChartTwoRows/BarChartTwoRows.stories.d.ts +300 -0
- package/dist/types/components/BarChartTwoRows/BarChartTwoRows.style.d.ts +31 -0
- package/dist/types/components/BarChartWithAreaChart/BarChartWithAreaChart.d.ts +66 -0
- package/dist/types/components/BarChartWithAreaChart/BarChartWithAreaChart.stories.d.ts +147 -0
- package/dist/types/components/BarChartWithAreaChart/BarChartWithAreaChart.style.d.ts +9 -0
- package/dist/types/components/BarChartsByWeeks/BarChartsByWeeks.d.ts +107 -0
- package/dist/types/components/BarChartsByWeeks/BarChartsByWeeks.stories.d.ts +465 -0
- package/dist/types/components/BarChartsByWeeks/BarChartsByWeeks.style.d.ts +11 -0
- package/dist/types/components/Benchmark/Benchmark.d.ts +45 -0
- package/dist/types/components/Benchmark/Benchmark.stories.d.ts +224 -0
- package/dist/types/components/Benchmark/Benchmark.style.d.ts +5 -0
- package/dist/types/components/Button/Button.d.ts +22 -0
- package/dist/types/components/Button/Button.stories.d.ts +393 -0
- package/dist/types/components/Button/Button.style.d.ts +5 -0
- package/dist/types/components/Button/Button.test.d.ts +1 -0
- package/dist/types/components/CampaignTool/CampaignDemoReport.d.ts +33 -0
- package/dist/types/components/CampaignTool/CampaignDemoReport.stories.d.ts +64 -0
- package/dist/types/components/CampaignTool/CampaignDemoReport.style.d.ts +5 -0
- package/dist/types/components/CampaignTool/Card.d.ts +37 -0
- package/dist/types/components/CampaignTool/Card.stories.d.ts +57 -0
- package/dist/types/components/CampaignTool/Card.style.d.ts +8 -0
- package/dist/types/components/CampaignTool/FormInput.d.ts +5 -0
- package/dist/types/components/CampaignTool/FormSelect.d.ts +5 -0
- package/dist/types/components/CampaignTool/MultipleCard.d.ts +15 -0
- package/dist/types/components/CampaignTool/MultipleCard.stories.d.ts +31 -0
- package/dist/types/components/CampaignTool/MultipleCard.style.d.ts +1 -0
- package/dist/types/components/CampaignTool/PageFilterBar.d.ts +12 -0
- package/dist/types/components/CampaignTool/PageFilterBar.stories.d.ts +23 -0
- package/dist/types/components/CampaignTool/PageFilterBar.style.d.ts +2 -0
- package/dist/types/components/CampaignTool/Popup.d.ts +27 -0
- package/dist/types/components/CampaignTool/Popup.stories.d.ts +166 -0
- package/dist/types/components/CampaignTool/Popup.style.d.ts +14 -0
- package/dist/types/components/CampaignTool/PopupContent.d.ts +28 -0
- package/dist/types/components/CampaignTool/PopupContent.style.d.ts +7 -0
- package/dist/types/components/CampaignTool/PopupFieldsRules.d.ts +41 -0
- package/dist/types/components/CampaignTool/Table.d.ts +56 -0
- package/dist/types/components/CampaignTool/Table.stories.d.ts +120 -0
- package/dist/types/components/CampaignTool/Table.style.d.ts +7 -0
- package/dist/types/components/CheckBox/CheckBox.d.ts +15 -0
- package/dist/types/components/CheckBox/CheckBox.stories.d.ts +150 -0
- package/dist/types/components/CheckBox/CheckBox.style.d.ts +4 -0
- package/dist/types/components/CheckBoxButton/CheckBoxButton.d.ts +21 -0
- package/dist/types/components/CheckBoxButton/CheckBoxButton.stories.d.ts +221 -0
- package/dist/types/components/CheckBoxButton/CheckBoxButton.style.d.ts +4 -0
- package/dist/types/components/CodeEditor/CodeEditor.d.ts +5 -0
- package/dist/types/components/CodeEditor/CodeEditor.style.d.ts +2 -0
- package/dist/types/components/CollapseData/CollapseData.d.ts +34 -0
- package/dist/types/components/CollapseData/CollapseData.stories.d.ts +86 -0
- package/dist/types/components/CollapseData/CollapseData.style.d.ts +11 -0
- package/dist/types/components/CollapseHeader/CollapseHeader.d.ts +70 -0
- package/dist/types/components/CollapseHeader/CollapseHeader.stories.d.ts +151 -0
- package/dist/types/components/CollapseHeader/CollapseHeader.style.d.ts +25 -0
- package/dist/types/components/CollapseMenuItem/CollapseMenuItem.d.ts +24 -0
- package/dist/types/components/CollapseMenuItem/CollapseMenuItem.stories.d.ts +79 -0
- package/dist/types/components/CollapseMenuItem/CollapseMenuItem.style.d.ts +7 -0
- package/dist/types/components/Datepicker/Datepicker.d.ts +12 -0
- package/dist/types/components/Datepicker/Datepicker.stories.d.ts +112 -0
- package/dist/types/components/Datepicker/Datepicker.style.d.ts +1 -0
- package/dist/types/components/DialogOverlay/DialogOverlay.d.ts +21 -0
- package/dist/types/components/DialogOverlay/DialogOverlay.stories.d.ts +41 -0
- package/dist/types/components/DialogOverlay/DialogOverlay.style.d.ts +6 -0
- package/dist/types/components/DoublePanelDataRow/DoublePanelDataRow.d.ts +34 -0
- package/dist/types/components/DoublePanelDataRow/DoublePanelDataRow.stories.d.ts +103 -0
- package/dist/types/components/DoublePanelDataRow/DoublePanelDataRow.style.d.ts +9 -0
- package/dist/types/components/DownloadProgress/DownloadProgress.d.ts +39 -0
- package/dist/types/components/DownloadProgress/DownloadProgress.stories.d.ts +159 -0
- package/dist/types/components/DownloadProgress/DownloadProgress.style.d.ts +4 -0
- package/dist/types/components/Dropdown/Dropdown.d.ts +24 -0
- package/dist/types/components/Dropdown/Dropdown.stories.d.ts +451 -0
- package/dist/types/components/Dropdown/Dropdown.style.d.ts +1 -0
- package/dist/types/components/DropdownMulti/DropdownMulti.d.ts +75 -0
- package/dist/types/components/DropdownMulti/DropdownMulti.stories.d.ts +263 -0
- package/dist/types/components/DropdownMulti/DropdownMulti.style.d.ts +1 -0
- package/dist/types/components/DropdownMultiNew/DropdownMultiNew.d.ts +79 -0
- package/dist/types/components/DropdownMultiNew/DropdownMultiNew.style.d.ts +12 -0
- package/dist/types/components/DropdownMultiNew/DropdownNew.stories.d.ts +574 -0
- package/dist/types/components/DropdownNew/DropdownNew.d.ts +81 -0
- package/dist/types/components/DropdownNew/DropdownNew.style.d.ts +1 -0
- package/dist/types/components/DropdownSingleNew/DropdownSingleNew.d.ts +75 -0
- package/dist/types/components/DropdownSingleNew/DropdownSingleNew.style.d.ts +10 -0
- package/dist/types/components/EventDetailsCard/EventDetailsCard.d.ts +48 -0
- package/dist/types/components/EventDetailsCard/EventDetailsCard.stories.d.ts +151 -0
- package/dist/types/components/EventDetailsCard/EventDetailsCard.style.d.ts +6 -0
- package/dist/types/components/EventList/EventList.d.ts +30 -0
- package/dist/types/components/EventList/EventList.stories.d.ts +84 -0
- package/dist/types/components/EventList/EventList.style.d.ts +4 -0
- package/dist/types/components/EventListItem/EventListItem.d.ts +27 -0
- package/dist/types/components/EventListItem/EventListItem.stories.d.ts +81 -0
- package/dist/types/components/EventListItem/EventListItem.style.d.ts +4 -0
- package/dist/types/components/FilterContainer/FilterContainer.d.ts +3 -0
- package/dist/types/components/FilterContainer/FilterContainer.stories.d.ts +15 -0
- package/dist/types/components/FilterContainer/FilterContainer.style.d.ts +3 -0
- package/dist/types/components/FilterPanel/FilterPanel.d.ts +67 -0
- package/dist/types/components/FilterPanel/FilterPanel.stories.d.ts +824 -0
- package/dist/types/components/FilterPanel/FilterPanel.style.d.ts +11 -0
- package/dist/types/components/FormattedValue/FormattedValue.d.ts +45 -0
- package/dist/types/components/FormattedValue/FormattedValue.stories.d.ts +297 -0
- package/dist/types/components/FormattedValue/FormattedValue.style.d.ts +7 -0
- package/dist/types/components/Heatmap/Heatmap.d.ts +15 -0
- package/dist/types/components/Heatmap/Heatmap.stories.d.ts +87 -0
- package/dist/types/components/Heatmap/Heatmap.style.d.ts +15 -0
- package/dist/types/components/IconButton/IconButton.d.ts +48 -0
- package/dist/types/components/IconButton/IconButton.stories.d.ts +166 -0
- package/dist/types/components/IconButton/IconButton.style.d.ts +4 -0
- package/dist/types/components/Input/Input.d.ts +80 -0
- package/dist/types/components/Input/Input.stories.d.ts +688 -0
- package/dist/types/components/Input/Input.style.d.ts +7 -0
- package/dist/types/components/InputOld/InputOld.d.ts +66 -0
- package/dist/types/components/InputOld/InputOld.stories.d.ts +130 -0
- package/dist/types/components/InputOld/InputOld.style.d.ts +6 -0
- package/dist/types/components/KpiFilter/KpiFilter.d.ts +58 -0
- package/dist/types/components/KpiFilter/KpiFilter.stories.d.ts +300 -0
- package/dist/types/components/KpiFilter/KpiFilter.style.d.ts +16 -0
- package/dist/types/components/LinkButton/LinkButton.d.ts +13 -0
- package/dist/types/components/LinkButton/LinkButton.stories.d.ts +279 -0
- package/dist/types/components/LinkButton/LinkButton.style.d.ts +4 -0
- package/dist/types/components/LinkButton/LinkButton.test.d.ts +1 -0
- package/dist/types/components/LinnerDataBox/LinnerDataBox.d.ts +35 -0
- package/dist/types/components/LinnerDataBox/LinnerDataBox.stories.d.ts +72 -0
- package/dist/types/components/LinnerDataBox/LinnerDataBox.style.d.ts +12 -0
- package/dist/types/components/ListBox/ListBox.d.ts +15 -0
- package/dist/types/components/ListBox/ListBox.stories.d.ts +162 -0
- package/dist/types/components/ListBox/ListBox.style.d.ts +4 -0
- package/dist/types/components/MarketShareDescription/MarketShareDescription.d.ts +31 -0
- package/dist/types/components/MarketShareDescription/MarketShareDescription.stories.d.ts +135 -0
- package/dist/types/components/MarketShareDescription/MarketShareDescription.style.d.ts +16 -0
- package/dist/types/components/Modal/Modal.d.ts +6 -0
- package/dist/types/components/Modal/Modal.style.d.ts +4 -0
- package/dist/types/components/Modal/ModalTotalBenchmark.d.ts +8 -0
- package/dist/types/components/Modal/ModalTotalCost.d.ts +7 -0
- package/dist/types/components/MonthPicker/MonthPicker.d.ts +54 -0
- package/dist/types/components/MonthPicker/MonthPicker.stories.d.ts +197 -0
- package/dist/types/components/MonthPicker/MonthPicker.style.d.ts +8 -0
- package/dist/types/components/MonthPicker/MonthPopupPicker.d.ts +9 -0
- package/dist/types/components/NoDataFoundMessage/NoDataFoundMessage.d.ts +12 -0
- package/dist/types/components/NoDataFoundMessage/NoDataFoundMessage.stories.d.ts +45 -0
- package/dist/types/components/NoDataFoundMessage/NoDataFoundMessage.style.d.ts +3 -0
- package/dist/types/components/OneColumnContainer/OneColumnContainer.d.ts +63 -0
- package/dist/types/components/OneColumnContainer/OneColumnContainer.stories.d.ts +149 -0
- package/dist/types/components/OneColumnContainer/OneColumnContainer.style.d.ts +10 -0
- package/dist/types/components/PerformanceAnalytics/PerformanceAnalytics.d.ts +86 -0
- package/dist/types/components/PerformanceAnalytics/PerformanceAnalytics.stories.d.ts +263 -0
- package/dist/types/components/PerformanceAnalytics/PerformanceAnalytics.style.d.ts +14 -0
- package/dist/types/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.d.ts +29 -0
- package/dist/types/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.stories.d.ts +98 -0
- package/dist/types/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.style.d.ts +6 -0
- package/dist/types/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.d.ts +85 -0
- package/dist/types/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.stories.d.ts +236 -0
- package/dist/types/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.style.d.ts +13 -0
- package/dist/types/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.d.ts +37 -0
- package/dist/types/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.stories.d.ts +102 -0
- package/dist/types/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.style.d.ts +10 -0
- package/dist/types/components/PieChart/PieChart.d.ts +66 -0
- package/dist/types/components/PieChart/PieChart.stories.d.ts +295 -0
- package/dist/types/components/PieChart/PieChart.style.d.ts +18 -0
- package/dist/types/components/PopupCharts/PopupCharts.d.ts +64 -0
- package/dist/types/components/PopupCharts/PopupCharts.stories.d.ts +280 -0
- package/dist/types/components/PopupCharts/PopupCharts.style.d.ts +12 -0
- package/dist/types/components/ProductsVariety/ProductsVariety.d.ts +29 -0
- package/dist/types/components/ProductsVariety/ProductsVariety.stories.d.ts +77 -0
- package/dist/types/components/ProductsVariety/ProductsVariety.style.d.ts +10 -0
- package/dist/types/components/ProgressBar/ProgressBar.d.ts +24 -0
- package/dist/types/components/ProgressBar/ProgressBar.stories.d.ts +94 -0
- package/dist/types/components/ProgressBar/ProgressBar.style.d.ts +2 -0
- package/dist/types/components/QuarterPicker/QuarterPicker.d.ts +54 -0
- package/dist/types/components/QuarterPicker/QuarterPicker.stories.d.ts +197 -0
- package/dist/types/components/QuarterPicker/QuarterPicker.style.d.ts +8 -0
- package/dist/types/components/QuarterPicker/QuarterPopupPicker.d.ts +9 -0
- package/dist/types/components/QuickFilter/QuickFilter.d.ts +69 -0
- package/dist/types/components/QuickFilter/QuickFilter.stories.d.ts +393 -0
- package/dist/types/components/QuickFilter/QuickFilter.style.d.ts +1 -0
- package/dist/types/components/QuickFilterDropdownMultiSelection/QuickFilterDropdownMultiSelection.d.ts +76 -0
- package/dist/types/components/QuickFilterDropdownMultiSelection/QuickFilterDropdownMultiSelection.style.d.ts +12 -0
- package/dist/types/components/QuickFilterDropdownSingle/QuickFilterDropdownSingle.d.ts +68 -0
- package/dist/types/components/QuickFilterDropdownSingle/QuickFilterDropdownSingle.style.d.ts +11 -0
- package/dist/types/components/RangePicker/RangeDatePicker.d.ts +9 -0
- package/dist/types/components/RangePicker/RangePicker.d.ts +52 -0
- package/dist/types/components/RangePicker/RangePicker.stories.d.ts +194 -0
- package/dist/types/components/RangePicker/RangePicker.style.d.ts +8 -0
- package/dist/types/components/ReportTable/ReportTable.d.ts +83 -0
- package/dist/types/components/ReportTable/ReportTable.stories.d.ts +322 -0
- package/dist/types/components/ReportTable/ReportTable.style.d.ts +14 -0
- package/dist/types/components/SagButton/SagButton.d.ts +45 -0
- package/dist/types/components/SagButton/SagButton.stories.d.ts +168 -0
- package/dist/types/components/SagButton/SagButton.style.d.ts +3 -0
- package/dist/types/components/SagIconButton/SagIconButton.d.ts +45 -0
- package/dist/types/components/SagIconButton/SagIconButton.stories.d.ts +178 -0
- package/dist/types/components/SagIconButton/SagIconButton.style.d.ts +2 -0
- package/dist/types/components/SagInput/SagInput.d.ts +36 -0
- package/dist/types/components/SagInput/SagInput.stories.d.ts +88 -0
- package/dist/types/components/SagInput/SagInput.style.d.ts +3 -0
- package/dist/types/components/SalesAndROI/SalesAndROI.d.ts +50 -0
- package/dist/types/components/SalesAndROI/SalesAndROI.stories.d.ts +222 -0
- package/dist/types/components/SalesAndROI/SalesAndROI.style.d.ts +9 -0
- package/dist/types/components/SearchInput/SearchInput.d.ts +24 -0
- package/dist/types/components/SearchInput/SearchInput.stories.d.ts +49 -0
- package/dist/types/components/SearchInput/SearchInput.style.d.ts +2 -0
- package/dist/types/components/SegmentedButton/SegmentedButton.d.ts +49 -0
- package/dist/types/components/SegmentedButton/SegmentedButton.stories.d.ts +260 -0
- package/dist/types/components/SegmentedButton/SegmentedButton.style.d.ts +6 -0
- package/dist/types/components/Select/Select.d.ts +21 -0
- package/dist/types/components/Select/Select.stories.d.ts +285 -0
- package/dist/types/components/Select/Select.style.d.ts +6 -0
- package/dist/types/components/SingleBarLineCharts/SingleBar.test.d.ts +1 -0
- package/dist/types/components/SingleBarLineCharts/SingleBarLineCharts.d.ts +28 -0
- package/dist/types/components/SingleBarLineCharts/SingleBarLineCharts.stories.d.ts +398 -0
- package/dist/types/components/SingleBarLineCharts/SingleBarLineCharts.style.d.ts +61 -0
- package/dist/types/components/TabMenu/TabMenu.d.ts +90 -0
- package/dist/types/components/TabMenu/TabMenu.stories.d.ts +174 -0
- package/dist/types/components/TabMenu/TabMenu.style.d.ts +58 -0
- package/dist/types/components/TextField/TextField.d.ts +6 -0
- package/dist/types/components/TextField/TextField.stories.d.ts +243 -0
- package/dist/types/components/TextField/TextField.style.d.ts +1 -0
- package/dist/types/components/TitleDescription/TitleDescription.d.ts +59 -0
- package/dist/types/components/TitleDescription/TitleDescription.stories.d.ts +137 -0
- package/dist/types/components/TitleDescription/TitleDescription.style.d.ts +26 -0
- package/dist/types/components/Tooltip/Tooltip.d.ts +24 -0
- package/dist/types/components/Tooltip/Tooltip.style.d.ts +3 -0
- package/dist/types/components/TopToggleList/TopToggleList.d.ts +24 -0
- package/dist/types/components/TopToggleList/TopToggleList.stories.d.ts +36 -0
- package/dist/types/components/TopToggleList/TopToggleList.style.d.ts +5 -0
- package/dist/types/components/TotalBenchmark/TotalBenchmark.d.ts +40 -0
- package/dist/types/components/TotalBenchmark/TotalBenchmark.stories.d.ts +176 -0
- package/dist/types/components/TotalBenchmark/TotalBenchmark.style.d.ts +9 -0
- package/dist/types/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.d.ts +86 -0
- package/dist/types/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.stories.d.ts +379 -0
- package/dist/types/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.style.d.ts +20 -0
- package/dist/types/components/TotalBenchmarkArrows/TotalBenchmarkArrows.d.ts +54 -0
- package/dist/types/components/TotalBenchmarkArrows/TotalBenchmarkArrows.stories.d.ts +237 -0
- package/dist/types/components/TotalBenchmarkArrows/TotalBenchmarkArrows.style.d.ts +14 -0
- package/dist/types/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.d.ts +56 -0
- package/dist/types/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.stories.d.ts +257 -0
- package/dist/types/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.style.d.ts +10 -0
- package/dist/types/components/TotalDoughnutChart/TotalDoughnutChart.d.ts +66 -0
- package/dist/types/components/TotalDoughnutChart/TotalDoughnutChart.stories.d.ts +416 -0
- package/dist/types/components/TotalDoughnutChart/TotalDoughnutChart.style.d.ts +19 -0
- package/dist/types/components/TotalHorizontalCharts/TotalHorizontalCharts.d.ts +76 -0
- package/dist/types/components/TotalHorizontalCharts/TotalHorizontalCharts.stories.d.ts +331 -0
- package/dist/types/components/TotalHorizontalCharts/TotalHorizontalCharts.style.d.ts +6 -0
- package/dist/types/components/TspanTooltip/TspanTooltip.d.ts +24 -0
- package/dist/types/components/TspanTooltip/TspanTooltip.style.d.ts +3 -0
- package/dist/types/components/TwoBarCharts/TwoBarCharts.d.ts +74 -0
- package/dist/types/components/TwoBarCharts/TwoBarCharts.stories.d.ts +238 -0
- package/dist/types/components/TwoBarCharts/TwoBarCharts.style.d.ts +8 -0
- package/dist/types/icons/ArrowDownIcon.d.ts +6 -0
- package/dist/types/icons/ArrowDropDownIcon.d.ts +6 -0
- package/dist/types/icons/ArrowSelectIcon.d.ts +6 -0
- package/dist/types/icons/ArrowUpIcon.d.ts +6 -0
- package/dist/types/icons/AttachedIcon.d.ts +6 -0
- package/dist/types/icons/BellIcon.d.ts +6 -0
- package/dist/types/icons/ButtonArrowRight.d.ts +5 -0
- package/dist/types/icons/Calendar.d.ts +2 -0
- package/dist/types/icons/CalendarIcon.d.ts +6 -0
- package/dist/types/icons/CalendarInOpen.d.ts +2 -0
- package/dist/types/icons/CheckBoxButtonCheckedIcon.d.ts +7 -0
- package/dist/types/icons/CheckBoxCheckedIcon.d.ts +7 -0
- package/dist/types/icons/CheckBoxNotCheckedIcon.d.ts +7 -0
- package/dist/types/icons/ChervronLeftIcon.d.ts +2 -0
- package/dist/types/icons/ChervronRightIcon.d.ts +2 -0
- package/dist/types/icons/ChevronLeftIcon.d.ts +4 -0
- package/dist/types/icons/ChevronRightIcon.d.ts +4 -0
- package/dist/types/icons/ClockIcon.d.ts +6 -0
- package/dist/types/icons/CloseIcon.d.ts +6 -0
- package/dist/types/icons/CloseXIcon.d.ts +6 -0
- package/dist/types/icons/ComboBoxArrowDownIcon.d.ts +7 -0
- package/dist/types/icons/ComboBoxArrowUpIcon.d.ts +7 -0
- package/dist/types/icons/DocumentIcon.d.ts +6 -0
- package/dist/types/icons/DownloadIcon.d.ts +6 -0
- package/dist/types/icons/Duplicate.d.ts +7 -0
- package/dist/types/icons/ErrorIcon.d.ts +6 -0
- package/dist/types/icons/ExitIcon.d.ts +7 -0
- package/dist/types/icons/ExportIcon.d.ts +7 -0
- package/dist/types/icons/EyeIcon.d.ts +7 -0
- package/dist/types/icons/FileIcon.d.ts +6 -0
- package/dist/types/icons/FilterIcon.d.ts +6 -0
- package/dist/types/icons/FlyIcon.d.ts +7 -0
- package/dist/types/icons/FoodLionChartIcon.d.ts +2 -0
- package/dist/types/icons/FoodLionIcon.d.ts +6 -0
- package/dist/types/icons/FoodLionNewIcon.d.ts +5 -0
- package/dist/types/icons/GiantFoodChartIcon.d.ts +2 -0
- package/dist/types/icons/GiantFoodIcon.d.ts +7 -0
- package/dist/types/icons/GiantFoodIcon_new.d.ts +7 -0
- package/dist/types/icons/HannafordChartIcon.d.ts +2 -0
- package/dist/types/icons/HannafordIcon.d.ts +6 -0
- package/dist/types/icons/HannafordIcon_new.d.ts +6 -0
- package/dist/types/icons/HannafordNewIcon.d.ts +5 -0
- package/dist/types/icons/InfoIcon.d.ts +7 -0
- package/dist/types/icons/LampIcon.d.ts +6 -0
- package/dist/types/icons/LegendLineIcon.d.ts +6 -0
- package/dist/types/icons/LegendUnionIcon.d.ts +6 -0
- package/dist/types/icons/MaintenanceIcon.d.ts +7 -0
- package/dist/types/icons/MenuItemClosedIcon.d.ts +7 -0
- package/dist/types/icons/MenuItemOpenIcon.d.ts +7 -0
- package/dist/types/icons/MenuItemRightIcon.d.ts +7 -0
- package/dist/types/icons/MenuItemUpIcon.d.ts +7 -0
- package/dist/types/icons/NoDataFoundIcon.d.ts +12 -0
- package/dist/types/icons/OptionsIcon.d.ts +6 -0
- package/dist/types/icons/ReselectIcon.d.ts +6 -0
- package/dist/types/icons/SearchIcon.d.ts +6 -0
- package/dist/types/icons/ShoppingCartIcon.d.ts +6 -0
- package/dist/types/icons/ShoutIcon.d.ts +6 -0
- package/dist/types/icons/Sort.d.ts +1 -0
- package/dist/types/icons/SortIcon.d.ts +7 -0
- package/dist/types/icons/SpotlightProductIcon.d.ts +7 -0
- package/dist/types/icons/StopAndShopChartIcon.d.ts +2 -0
- package/dist/types/icons/StopAndShopIcon.d.ts +7 -0
- package/dist/types/icons/StopAndShopNewIcon.d.ts +6 -0
- package/dist/types/icons/SucceededIcon.d.ts +6 -0
- package/dist/types/icons/TheGiantCompanyChartIcon.d.ts +2 -0
- package/dist/types/icons/TheGiantCompanyIcon.d.ts +5 -0
- package/dist/types/icons/TheGiantCompanyNewIcon.d.ts +6 -0
- package/dist/types/index.d.ts +20 -0
- package/dist/types/reactTestApp/App.d.ts +2 -0
- package/dist/types/reactTestApp/index.d.ts +1 -0
- package/dist/types/reactTestApp/vite.config.d.ts +2 -0
- package/dist/types/utils/CommonFunctions.d.ts +6 -0
- package/dist/types/utils/ComponentFactory.d.ts +4 -0
- package/dist/types/utils/IconsHandler.d.ts +1 -0
- package/dist/types/utils/IconsHandler.style.d.ts +1 -0
- package/dist/types/utils/regex/Email.regex.d.ts +1 -0
- package/dist/types/utils/regex/LatinWithSpaces.regex.d.ts +1 -0
- package/dist/types/utils/regex/OnlyEnglishLetters.regex.d.ts +1 -0
- package/dist/types/utils/regex/Phone.regex.d.ts +1 -0
- package/package.json +19 -2
- package/.eslintrc.js +0 -37
- package/dist/components/AttachedFile/AttachedFile.js +0 -69
- package/dist/components/AttachedFile/AttachedFile.stories.js +0 -37
- package/dist/components/AttachedFile/AttachedFile.style.js +0 -48
- package/dist/components/AutocompleteField/AutocompleteField.js +0 -45
- package/dist/components/AutocompleteField/AutocompleteField.stories.js +0 -25
- package/dist/components/AutocompleteField/AutocompleteField.style.js +0 -55
- package/dist/components/BannerEventBox/BannerEventBox.js +0 -125
- package/dist/components/BannerEventBox/BannerEventBox.stories.js +0 -59
- package/dist/components/BannerEventBox/BannerEventBox.style.js +0 -78
- package/dist/components/BannerEventBoxList/BannerEventBoxList.js +0 -175
- package/dist/components/BannerEventBoxList/BannerEventBoxList.stories.js +0 -39
- package/dist/components/BannerEventBoxList/BannerEventBoxList.style.js +0 -190
- package/dist/components/BannersDropdown/BannersDropdown.js +0 -134
- package/dist/components/BannersDropdown/BannersDropdown.stories.js +0 -64
- package/dist/components/BannersDropdown/BannersDropdown.style.js +0 -99
- package/dist/components/BarChart/BarChart.js +0 -245
- package/dist/components/BarChart/BarChart.stories.js +0 -306
- package/dist/components/BarChart/BarChart.style.js +0 -60
- package/dist/components/BarChartTwoRows/BarChartTwoRows.js +0 -222
- package/dist/components/BarChartTwoRows/BarChartTwoRows.stories.js +0 -259
- package/dist/components/BarChartTwoRows/BarChartTwoRows.style.js +0 -79
- package/dist/components/BarChartWithAreaChart/BarChartWithAreaChart.js +0 -263
- package/dist/components/BarChartWithAreaChart/BarChartWithAreaChart.stories.js +0 -134
- package/dist/components/BarChartWithAreaChart/BarChartWithAreaChart.style.js +0 -67
- package/dist/components/BarChartsByWeeks/BarChartsByWeeks.js +0 -308
- package/dist/components/BarChartsByWeeks/BarChartsByWeeks.stories.js +0 -445
- package/dist/components/BarChartsByWeeks/BarChartsByWeeks.style.js +0 -96
- package/dist/components/Benchmark/Benchmark.js +0 -126
- package/dist/components/Benchmark/Benchmark.stories.js +0 -147
- package/dist/components/Benchmark/Benchmark.style.js +0 -61
- package/dist/components/Button/Button.js +0 -181
- package/dist/components/Button/Button.stories.js +0 -255
- package/dist/components/Button/Button.style.js +0 -90
- package/dist/components/Button/Button.test.js +0 -94
- package/dist/components/CampaignTool/CampaignDemoReport.js +0 -71
- package/dist/components/CampaignTool/CampaignDemoReport.stories.js +0 -65
- package/dist/components/CampaignTool/CampaignDemoReport.style.js +0 -48
- package/dist/components/CampaignTool/Card.js +0 -100
- package/dist/components/CampaignTool/Card.stories.js +0 -92
- package/dist/components/CampaignTool/Card.style.js +0 -65
- package/dist/components/CampaignTool/FormInput.js +0 -35
- package/dist/components/CampaignTool/FormSelect.js +0 -37
- package/dist/components/CampaignTool/MultipleCard.js +0 -33
- package/dist/components/CampaignTool/MultipleCard.stories.js +0 -33
- package/dist/components/CampaignTool/MultipleCard.style.js +0 -13
- package/dist/components/CampaignTool/PageFilterBar.js +0 -29
- package/dist/components/CampaignTool/PageFilterBar.stories.js +0 -28
- package/dist/components/CampaignTool/PageFilterBar.style.js +0 -22
- package/dist/components/CampaignTool/Popup.js +0 -137
- package/dist/components/CampaignTool/Popup.stories.js +0 -702
- package/dist/components/CampaignTool/Popup.style.js +0 -122
- package/dist/components/CampaignTool/PopupContent.js +0 -84
- package/dist/components/CampaignTool/PopupContent.style.js +0 -74
- package/dist/components/CampaignTool/PopupFieldsRules.js +0 -168
- package/dist/components/CampaignTool/Table.js +0 -223
- package/dist/components/CampaignTool/Table.stories.js +0 -104
- package/dist/components/CampaignTool/Table.style.js +0 -86
- package/dist/components/CheckBox/CheckBox.js +0 -61
- package/dist/components/CheckBox/CheckBox.stories.js +0 -107
- package/dist/components/CheckBox/CheckBox.style.js +0 -36
- package/dist/components/CheckBoxButton/CheckBoxButton.js +0 -57
- package/dist/components/CheckBoxButton/CheckBoxButton.stories.js +0 -150
- package/dist/components/CheckBoxButton/CheckBoxButton.style.js +0 -39
- package/dist/components/CodeEditor/CodeEditor.js +0 -31
- package/dist/components/CodeEditor/CodeEditor.style.js +0 -13
- package/dist/components/CollapseData/CollapseData.js +0 -100
- package/dist/components/CollapseData/CollapseData.stories.js +0 -125
- package/dist/components/CollapseData/CollapseData.style.js +0 -127
- package/dist/components/CollapseHeader/CollapseHeader.js +0 -284
- package/dist/components/CollapseHeader/CollapseHeader.stories.js +0 -123
- package/dist/components/CollapseHeader/CollapseHeader.style.js +0 -200
- package/dist/components/CollapseMenuItem/CollapseMenuItem.js +0 -72
- package/dist/components/CollapseMenuItem/CollapseMenuItem.stories.js +0 -121
- package/dist/components/CollapseMenuItem/CollapseMenuItem.style.js +0 -61
- package/dist/components/Datepicker/Datepicker.js +0 -136
- package/dist/components/Datepicker/Datepicker.stories.js +0 -85
- package/dist/components/Datepicker/Datepicker.style.js +0 -19
- package/dist/components/DialogOverlay/DialogOverlay.js +0 -57
- package/dist/components/DialogOverlay/DialogOverlay.stories.js +0 -39
- package/dist/components/DialogOverlay/DialogOverlay.style.js +0 -70
- package/dist/components/DoublePanelDataRow/DoublePanelDataRow.js +0 -89
- package/dist/components/DoublePanelDataRow/DoublePanelDataRow.stories.js +0 -116
- package/dist/components/DoublePanelDataRow/DoublePanelDataRow.style.js +0 -66
- package/dist/components/DownloadProgress/DownloadProgress.js +0 -99
- package/dist/components/DownloadProgress/DownloadProgress.stories.js +0 -109
- package/dist/components/DownloadProgress/DownloadProgress.style.js +0 -51
- package/dist/components/Dropdown/Dropdown.js +0 -199
- package/dist/components/Dropdown/Dropdown.stories.js +0 -318
- package/dist/components/Dropdown/Dropdown.style.js +0 -17
- package/dist/components/DropdownMulti/DropdownMulti.js +0 -277
- package/dist/components/DropdownMulti/DropdownMulti.stories.js +0 -220
- package/dist/components/DropdownMulti/DropdownMulti.style.js +0 -17
- package/dist/components/DropdownMultiNew/DropdownMultiNew.js +0 -250
- package/dist/components/DropdownMultiNew/DropdownMultiNew.style.js +0 -212
- package/dist/components/DropdownMultiNew/DropdownNew.stories.js +0 -407
- package/dist/components/DropdownNew/DropdownNew.js +0 -80
- package/dist/components/DropdownNew/DropdownNew.style.js +0 -21
- package/dist/components/DropdownSingleNew/DropdownSingleNew.js +0 -228
- package/dist/components/DropdownSingleNew/DropdownSingleNew.style.js +0 -183
- package/dist/components/EventDetailsCard/EventDetailsCard.js +0 -170
- package/dist/components/EventDetailsCard/EventDetailsCard.stories.js +0 -114
- package/dist/components/EventDetailsCard/EventDetailsCard.style.js +0 -62
- package/dist/components/EventList/EventList.js +0 -64
- package/dist/components/EventList/EventList.stories.js +0 -84
- package/dist/components/EventList/EventList.style.js +0 -38
- package/dist/components/EventListItem/EventListItem.js +0 -68
- package/dist/components/EventListItem/EventListItem.stories.js +0 -65
- package/dist/components/EventListItem/EventListItem.style.js +0 -47
- package/dist/components/FilterContainer/FilterContainer.js +0 -26
- package/dist/components/FilterContainer/FilterContainer.stories.js +0 -22
- package/dist/components/FilterContainer/FilterContainer.style.js +0 -30
- package/dist/components/FilterPanel/FilterPanel.js +0 -459
- package/dist/components/FilterPanel/FilterPanel.stories.js +0 -967
- package/dist/components/FilterPanel/FilterPanel.style.js +0 -89
- package/dist/components/FormattedValue/FormattedValue.js +0 -87
- package/dist/components/FormattedValue/FormattedValue.stories.js +0 -183
- package/dist/components/FormattedValue/FormattedValue.style.js +0 -91
- package/dist/components/Heatmap/Heatmap.js +0 -177
- package/dist/components/Heatmap/Heatmap.stories.js +0 -118
- package/dist/components/Heatmap/Heatmap.style.js +0 -151
- package/dist/components/IconButton/IconButton.js +0 -132
- package/dist/components/IconButton/IconButton.stories.js +0 -126
- package/dist/components/IconButton/IconButton.style.js +0 -65
- package/dist/components/Input/Input.js +0 -173
- package/dist/components/Input/Input.stories.js +0 -422
- package/dist/components/Input/Input.style.js +0 -132
- package/dist/components/InputOld/InputOld.js +0 -97
- package/dist/components/InputOld/InputOld.stories.js +0 -103
- package/dist/components/InputOld/InputOld.style.js +0 -71
- package/dist/components/KpiFilter/KpiFilter.js +0 -294
- package/dist/components/KpiFilter/KpiFilter.stories.js +0 -401
- package/dist/components/KpiFilter/KpiFilter.style.js +0 -132
- package/dist/components/LinkButton/LinkButton.js +0 -166
- package/dist/components/LinkButton/LinkButton.stories.js +0 -171
- package/dist/components/LinkButton/LinkButton.style.js +0 -53
- package/dist/components/LinkButton/LinkButton.test.js +0 -94
- package/dist/components/LinnerDataBox/LinnerDataBox.js +0 -81
- package/dist/components/LinnerDataBox/LinnerDataBox.stories.js +0 -79
- package/dist/components/LinnerDataBox/LinnerDataBox.style.js +0 -68
- package/dist/components/ListBox/ListBox.js +0 -59
- package/dist/components/ListBox/ListBox.stories.js +0 -132
- package/dist/components/ListBox/ListBox.style.js +0 -48
- package/dist/components/MarketShareDescription/MarketShareDescription.js +0 -119
- package/dist/components/MarketShareDescription/MarketShareDescription.stories.js +0 -196
- package/dist/components/MarketShareDescription/MarketShareDescription.style.js +0 -215
- package/dist/components/Modal/Modal.js +0 -23
- package/dist/components/Modal/Modal.style.js +0 -64
- package/dist/components/Modal/ModalTotalBenchmark.js +0 -129
- package/dist/components/Modal/ModalTotalCost.js +0 -101
- package/dist/components/MonthPicker/MonthPicker.js +0 -149
- package/dist/components/MonthPicker/MonthPicker.stories.js +0 -142
- package/dist/components/MonthPicker/MonthPicker.style.js +0 -105
- package/dist/components/MonthPicker/MonthPopupPicker.js +0 -215
- package/dist/components/NoDataFoundMessage/NoDataFoundMessage.js +0 -30
- package/dist/components/NoDataFoundMessage/NoDataFoundMessage.stories.js +0 -66
- package/dist/components/NoDataFoundMessage/NoDataFoundMessage.style.js +0 -39
- package/dist/components/OneColumnContainer/OneColumnContainer.js +0 -127
- package/dist/components/OneColumnContainer/OneColumnContainer.stories.js +0 -117
- package/dist/components/OneColumnContainer/OneColumnContainer.style.js +0 -107
- package/dist/components/PerformanceAnalytics/PerformanceAnalytics.js +0 -442
- package/dist/components/PerformanceAnalytics/PerformanceAnalytics.stories.js +0 -263
- package/dist/components/PerformanceAnalytics/PerformanceAnalytics.style.js +0 -144
- package/dist/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.js +0 -60
- package/dist/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.stories.js +0 -99
- package/dist/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.style.js +0 -63
- package/dist/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.js +0 -317
- package/dist/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.stories.js +0 -236
- package/dist/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.style.js +0 -116
- package/dist/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.js +0 -86
- package/dist/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.stories.js +0 -109
- package/dist/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.style.js +0 -89
- package/dist/components/PieChart/PieChart.js +0 -193
- package/dist/components/PieChart/PieChart.stories.js +0 -215
- package/dist/components/PieChart/PieChart.style.js +0 -154
- package/dist/components/PopupCharts/PopupCharts.js +0 -212
- package/dist/components/PopupCharts/PopupCharts.stories.js +0 -1196
- package/dist/components/PopupCharts/PopupCharts.style.js +0 -108
- package/dist/components/ProductsVariety/ProductsVariety.js +0 -106
- package/dist/components/ProductsVariety/ProductsVariety.stories.js +0 -90
- package/dist/components/ProductsVariety/ProductsVariety.style.js +0 -86
- package/dist/components/ProgressBar/ProgressBar.js +0 -56
- package/dist/components/ProgressBar/ProgressBar.stories.js +0 -71
- package/dist/components/ProgressBar/ProgressBar.style.js +0 -24
- package/dist/components/QuarterPicker/QuarterPicker.js +0 -145
- package/dist/components/QuarterPicker/QuarterPicker.stories.js +0 -142
- package/dist/components/QuarterPicker/QuarterPicker.style.js +0 -104
- package/dist/components/QuarterPicker/QuarterPopupPicker.js +0 -196
- package/dist/components/QuickFilter/QuickFilter.js +0 -68
- package/dist/components/QuickFilter/QuickFilter.stories.js +0 -275
- package/dist/components/QuickFilter/QuickFilter.style.js +0 -21
- package/dist/components/QuickFilterDropdownMultiSelection/QuickFilterDropdownMultiSelection.js +0 -261
- package/dist/components/QuickFilterDropdownMultiSelection/QuickFilterDropdownMultiSelection.style.js +0 -188
- package/dist/components/QuickFilterDropdownSingle/QuickFilterDropdownSingle.js +0 -198
- package/dist/components/QuickFilterDropdownSingle/QuickFilterDropdownSingle.style.js +0 -133
- package/dist/components/RangePicker/RangeDatePicker.js +0 -229
- package/dist/components/RangePicker/RangePicker.js +0 -158
- package/dist/components/RangePicker/RangePicker.stories.js +0 -140
- package/dist/components/RangePicker/RangePicker.style.js +0 -109
- package/dist/components/ReportTable/ReportTable.js +0 -412
- package/dist/components/ReportTable/ReportTable.stories.js +0 -255
- package/dist/components/ReportTable/ReportTable.style.js +0 -304
- package/dist/components/SagButton/SagButton.js +0 -73
- package/dist/components/SagButton/SagButton.stories.js +0 -118
- package/dist/components/SagButton/SagButton.style.js +0 -47
- package/dist/components/SagIconButton/SagIconButton.js +0 -103
- package/dist/components/SagIconButton/SagIconButton.stories.js +0 -122
- package/dist/components/SagIconButton/SagIconButton.style.js +0 -30
- package/dist/components/SagInput/SagInput.js +0 -62
- package/dist/components/SagInput/SagInput.stories.js +0 -69
- package/dist/components/SagInput/SagInput.style.js +0 -41
- package/dist/components/SalesAndROI/SalesAndROI.js +0 -104
- package/dist/components/SalesAndROI/SalesAndROI.stories.js +0 -166
- package/dist/components/SalesAndROI/SalesAndROI.style.js +0 -111
- package/dist/components/SearchInput/SearchInput.js +0 -42
- package/dist/components/SearchInput/SearchInput.stories.js +0 -44
- package/dist/components/SearchInput/SearchInput.style.js +0 -37
- package/dist/components/SegmentedButton/SegmentedButton.js +0 -120
- package/dist/components/SegmentedButton/SegmentedButton.stories.js +0 -181
- package/dist/components/SegmentedButton/SegmentedButton.style.js +0 -97
- package/dist/components/Select/Select.js +0 -108
- package/dist/components/Select/Select.stories.js +0 -201
- package/dist/components/Select/Select.style.js +0 -101
- package/dist/components/SingleBarLineCharts/SingleBar.test.js +0 -68
- package/dist/components/SingleBarLineCharts/SingleBarLineCharts.js +0 -360
- package/dist/components/SingleBarLineCharts/SingleBarLineCharts.stories.js +0 -310
- package/dist/components/SingleBarLineCharts/SingleBarLineCharts.style.js +0 -101
- package/dist/components/TabMenu/TabMenu.js +0 -250
- package/dist/components/TabMenu/TabMenu.stories.js +0 -136
- package/dist/components/TabMenu/TabMenu.style.js +0 -121
- package/dist/components/TextField/TextField.js +0 -183
- package/dist/components/TextField/TextField.stories.js +0 -160
- package/dist/components/TextField/TextField.style.js +0 -18
- package/dist/components/TitleDescription/TitleDescription.js +0 -305
- package/dist/components/TitleDescription/TitleDescription.stories.js +0 -116
- package/dist/components/TitleDescription/TitleDescription.style.js +0 -222
- package/dist/components/Tooltip/Tooltip.js +0 -55
- package/dist/components/Tooltip/Tooltip.style.js +0 -103
- package/dist/components/TopToggleList/TopToggleList.js +0 -57
- package/dist/components/TopToggleList/TopToggleList.stories.js +0 -52
- package/dist/components/TopToggleList/TopToggleList.style.js +0 -51
- package/dist/components/TotalBenchmark/TotalBenchmark.js +0 -96
- package/dist/components/TotalBenchmark/TotalBenchmark.stories.js +0 -135
- package/dist/components/TotalBenchmark/TotalBenchmark.style.js +0 -79
- package/dist/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.js +0 -311
- package/dist/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.stories.js +0 -341
- package/dist/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.style.js +0 -171
- package/dist/components/TotalBenchmarkArrows/TotalBenchmarkArrows.js +0 -149
- package/dist/components/TotalBenchmarkArrows/TotalBenchmarkArrows.stories.js +0 -170
- package/dist/components/TotalBenchmarkArrows/TotalBenchmarkArrows.style.js +0 -108
- package/dist/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.js +0 -162
- package/dist/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.stories.js +0 -183
- package/dist/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.style.js +0 -77
- package/dist/components/TotalDoughnutChart/TotalDoughnutChart.js +0 -228
- package/dist/components/TotalDoughnutChart/TotalDoughnutChart.stories.js +0 -301
- package/dist/components/TotalDoughnutChart/TotalDoughnutChart.style.js +0 -178
- package/dist/components/TotalHorizontalCharts/TotalHorizontalCharts.js +0 -218
- package/dist/components/TotalHorizontalCharts/TotalHorizontalCharts.stories.js +0 -291
- package/dist/components/TotalHorizontalCharts/TotalHorizontalCharts.style.js +0 -93
- package/dist/components/TspanTooltip/TspanTooltip.js +0 -41
- package/dist/components/TspanTooltip/TspanTooltip.style.js +0 -105
- package/dist/components/TwoBarCharts/TwoBarCharts.js +0 -211
- package/dist/components/TwoBarCharts/TwoBarCharts.stories.js +0 -185
- package/dist/components/TwoBarCharts/TwoBarCharts.style.js +0 -60
- package/dist/icons/ArrowDownIcon.js +0 -17
- package/dist/icons/ArrowDropDownIcon.js +0 -19
- package/dist/icons/ArrowSelectIcon.js +0 -18
- package/dist/icons/ArrowUpIcon.js +0 -17
- package/dist/icons/AttachedIcon.js +0 -17
- package/dist/icons/BellIcon.js +0 -17
- package/dist/icons/ButtonArrowRight.js +0 -18
- package/dist/icons/Calendar.js +0 -13
- package/dist/icons/CalendarIcon.js +0 -19
- package/dist/icons/CalendarInOpen.js +0 -14
- package/dist/icons/CheckBoxButtonCheckedIcon.js +0 -20
- package/dist/icons/CheckBoxCheckedIcon.js +0 -20
- package/dist/icons/CheckBoxNotCheckedIcon.js +0 -20
- package/dist/icons/ChervronLeftIcon.js +0 -13
- package/dist/icons/ChervronRightIcon.js +0 -13
- package/dist/icons/ChevronLeftIcon.js +0 -20
- package/dist/icons/ChevronRightIcon.js +0 -20
- package/dist/icons/ClockIcon.js +0 -19
- package/dist/icons/CloseIcon.js +0 -17
- package/dist/icons/CloseXIcon.js +0 -17
- package/dist/icons/ComboBoxArrowDownIcon.js +0 -20
- package/dist/icons/ComboBoxArrowUpIcon.js +0 -18
- package/dist/icons/DocumentIcon.js +0 -22
- package/dist/icons/DownloadIcon.js +0 -17
- package/dist/icons/Duplicate.js +0 -18
- package/dist/icons/ErrorIcon.js +0 -18
- package/dist/icons/ExitIcon.js +0 -18
- package/dist/icons/ExportIcon.js +0 -18
- package/dist/icons/EyeIcon.js +0 -18
- package/dist/icons/FileIcon.js +0 -17
- package/dist/icons/FilterIcon.js +0 -20
- package/dist/icons/FlyIcon.js +0 -20
- package/dist/icons/FoodLionChartIcon.js +0 -22
- package/dist/icons/FoodLionIcon.js +0 -1042
- package/dist/icons/FoodLionNewIcon.js +0 -22
- package/dist/icons/GiantFoodChartIcon.js +0 -20
- package/dist/icons/GiantFoodIcon.js +0 -673
- package/dist/icons/GiantFoodIcon_new.js +0 -24
- package/dist/icons/HannafordChartIcon.js +0 -20
- package/dist/icons/HannafordIcon.js +0 -1686
- package/dist/icons/HannafordIcon_new.js +0 -23
- package/dist/icons/HannafordNewIcon.js +0 -204
- package/dist/icons/InfoIcon.js +0 -18
- package/dist/icons/LampIcon.js +0 -20
- package/dist/icons/LegendLineIcon.js +0 -17
- package/dist/icons/LegendUnionIcon.js +0 -17
- package/dist/icons/MaintenanceIcon.js +0 -20
- package/dist/icons/MenuItemClosedIcon.js +0 -20
- package/dist/icons/MenuItemOpenIcon.js +0 -18
- package/dist/icons/MenuItemRightIcon.js +0 -18
- package/dist/icons/MenuItemUpIcon.js +0 -18
- package/dist/icons/NoDataFoundIcon.js +0 -32
- package/dist/icons/OptionsIcon.js +0 -17
- package/dist/icons/ReselectIcon.js +0 -17
- package/dist/icons/SearchIcon.js +0 -17
- package/dist/icons/ShoppingCartIcon.js +0 -25
- package/dist/icons/ShoutIcon.js +0 -17
- package/dist/icons/Sort.js +0 -5
- package/dist/icons/SortIcon.js +0 -23
- package/dist/icons/SpotlightProductIcon.js +0 -18
- package/dist/icons/StopAndShopChartIcon.js +0 -22
- package/dist/icons/StopAndShopIcon.js +0 -61
- package/dist/icons/StopAndShopNewIcon.js +0 -23
- package/dist/icons/SucceededIcon.js +0 -18
- package/dist/icons/TheGiantCompanyChartIcon.js +0 -20
- package/dist/icons/TheGiantCompanyIcon.js +0 -22
- package/dist/icons/TheGiantCompanyNewIcon.js +0 -23
- package/dist/reactTestApp/index.js +0 -17
- package/dist/reactTestApp/vite.config.js +0 -15
- package/dist/utils/CommonFunctions.js +0 -95
- package/dist/utils/ComponentFactory.js +0 -64
- package/dist/utils/IconsHandler.js +0 -70
- package/dist/utils/IconsHandler.style.js +0 -16
- package/dist/utils/regex/Email.regex.js +0 -7
- package/dist/utils/regex/LatinWithSpaces.regex.js +0 -7
- package/dist/utils/regex/OnlyEnglishLetters.regex.js +0 -7
- package/dist/utils/regex/Phone.regex.js +0 -7
- package/favicon.ico +0 -0
- package/index.html +0 -65
- package/manifest.json +0 -25
- package/robots.txt +0 -3
|
@@ -1,317 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = exports.PerformanceAnalyticsOneColumn = void 0;
|
|
7
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
-
var _recharts = require("recharts");
|
|
10
|
-
var _TspanTooltip = _interopRequireDefault(require("../TspanTooltip/TspanTooltip"));
|
|
11
|
-
var _NoDataFoundMessage = require("../NoDataFoundMessage/NoDataFoundMessage");
|
|
12
|
-
var _PerformanceAnalyticsTotals = require("../PerformanceAnalyticsTotals/PerformanceAnalyticsTotals");
|
|
13
|
-
var _PerformanceAnalyticsOneColumn = require("./PerformanceAnalyticsOneColumn.style");
|
|
14
|
-
var _PerformanceAnalyticsLegend = require("../PerformanceAnalyticsLegend/PerformanceAnalyticsLegend");
|
|
15
|
-
var _CommonFunctions = require("../../utils/CommonFunctions");
|
|
16
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
17
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
18
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
19
|
-
/* eslint-disable no-unused-vars */
|
|
20
|
-
/* eslint-disable react/prop-types */
|
|
21
|
-
/* eslint-disable no-shadow */
|
|
22
|
-
/* eslint-disable react/no-unstable-nested-components */
|
|
23
|
-
|
|
24
|
-
const PerformanceAnalyticsOneColumn = props => {
|
|
25
|
-
const {
|
|
26
|
-
colorBarchart1,
|
|
27
|
-
colorBarchart2,
|
|
28
|
-
width,
|
|
29
|
-
height,
|
|
30
|
-
lineChartHeight,
|
|
31
|
-
lineChartValueType,
|
|
32
|
-
lineChartValueBold,
|
|
33
|
-
barChartHeight,
|
|
34
|
-
topBarPercentSigning,
|
|
35
|
-
topBarSigning,
|
|
36
|
-
noDataText,
|
|
37
|
-
totalsData,
|
|
38
|
-
data,
|
|
39
|
-
legendData,
|
|
40
|
-
tooltipBarchartLabel1,
|
|
41
|
-
tooltipBarchartLabel2
|
|
42
|
-
} = props;
|
|
43
|
-
const [showLegendTooltip, setShowLegendTooltip] = (0, _react.useState)(false);
|
|
44
|
-
const [tooltipCouponText, setTooltipCouponText] = (0, _react.useState)({
|
|
45
|
-
content: '',
|
|
46
|
-
clientX: 0,
|
|
47
|
-
clientY: 0
|
|
48
|
-
});
|
|
49
|
-
const CustomTooltipBarChart = ({
|
|
50
|
-
active,
|
|
51
|
-
payload
|
|
52
|
-
}) => {
|
|
53
|
-
if (active && payload && payload.length > 0) {
|
|
54
|
-
return <_PerformanceAnalyticsOneColumn.TooltipContainer>
|
|
55
|
-
<_PerformanceAnalyticsOneColumn.ToolTipLabelAndValueContainer>
|
|
56
|
-
<_PerformanceAnalyticsOneColumn.LegendColorRectangle id="LegendColorRectangle" color={colorBarchart1} />
|
|
57
|
-
<_PerformanceAnalyticsOneColumn.TooltipLabel>{tooltipBarchartLabel1}</_PerformanceAnalyticsOneColumn.TooltipLabel>
|
|
58
|
-
<_PerformanceAnalyticsOneColumn.TooltipValue>
|
|
59
|
-
{`${(0, _CommonFunctions.getFormattedValue)(payload[0].payload.newShoppersValue)}
|
|
60
|
-
${(0, _CommonFunctions.getFormattedUnits)(payload[0].payload.newShoppersValue)}
|
|
61
|
-
(${payload[0].payload.newShoppersPercentValue}%) `}
|
|
62
|
-
</_PerformanceAnalyticsOneColumn.TooltipValue>
|
|
63
|
-
</_PerformanceAnalyticsOneColumn.ToolTipLabelAndValueContainer>
|
|
64
|
-
|
|
65
|
-
<_PerformanceAnalyticsOneColumn.ToolTipLabelAndValueContainer>
|
|
66
|
-
<_PerformanceAnalyticsOneColumn.LegendColorRectangle id="LegendColorRectangle" color={colorBarchart2} />
|
|
67
|
-
<_PerformanceAnalyticsOneColumn.TooltipLabel>{tooltipBarchartLabel2}</_PerformanceAnalyticsOneColumn.TooltipLabel>
|
|
68
|
-
<_PerformanceAnalyticsOneColumn.TooltipValue>
|
|
69
|
-
{`${(0, _CommonFunctions.getFormattedValue)(payload[0].payload.existingShoppersValue)}
|
|
70
|
-
${(0, _CommonFunctions.getFormattedUnits)(payload[0].payload.existingShoppersValue)}
|
|
71
|
-
(${payload[0].payload.existingShoppersPercentValue}%) `}
|
|
72
|
-
</_PerformanceAnalyticsOneColumn.TooltipValue>
|
|
73
|
-
</_PerformanceAnalyticsOneColumn.ToolTipLabelAndValueContainer>
|
|
74
|
-
</_PerformanceAnalyticsOneColumn.TooltipContainer>;
|
|
75
|
-
}
|
|
76
|
-
return null;
|
|
77
|
-
};
|
|
78
|
-
const getTopBarSigning = signing => {
|
|
79
|
-
if (signing === 'Dollar sign ($)') {
|
|
80
|
-
return '$';
|
|
81
|
-
}
|
|
82
|
-
if (signing === 'Euro sign (€)') {
|
|
83
|
-
return '€';
|
|
84
|
-
}
|
|
85
|
-
return '';
|
|
86
|
-
};
|
|
87
|
-
const CustomizedLabelBarchart = props => {
|
|
88
|
-
const {
|
|
89
|
-
x,
|
|
90
|
-
y,
|
|
91
|
-
width,
|
|
92
|
-
value,
|
|
93
|
-
index
|
|
94
|
-
} = props;
|
|
95
|
-
const i = data[index];
|
|
96
|
-
const totalValue = i.newShoppersValue + i.existingShoppersValue;
|
|
97
|
-
const radius = 10;
|
|
98
|
-
return <g>
|
|
99
|
-
<text x={x + width / 2} y={y - radius} fontWeight={400} fontSize="16px" textAnchor="middle" dominantBaseline="middle">
|
|
100
|
-
{`${getTopBarSigning(topBarSigning)}
|
|
101
|
-
${(0, _CommonFunctions.getFormattedValue)(totalValue)}
|
|
102
|
-
${(0, _CommonFunctions.getFormattedUnits)(totalValue)}
|
|
103
|
-
${topBarPercentSigning ? '%' : ''}`}
|
|
104
|
-
</text>
|
|
105
|
-
</g>;
|
|
106
|
-
};
|
|
107
|
-
const CustomizedTickBarChart = props => {
|
|
108
|
-
const {
|
|
109
|
-
x,
|
|
110
|
-
y,
|
|
111
|
-
payload
|
|
112
|
-
} = props;
|
|
113
|
-
const handleMouseEnter = content => {
|
|
114
|
-
setTooltipCouponText(prevState => ({
|
|
115
|
-
...prevState,
|
|
116
|
-
content: content !== prevState.content ? content : prevState.content,
|
|
117
|
-
clientX: x,
|
|
118
|
-
clientY: y
|
|
119
|
-
}));
|
|
120
|
-
setShowLegendTooltip(true);
|
|
121
|
-
};
|
|
122
|
-
const handleMouseLeave = () => {
|
|
123
|
-
setShowLegendTooltip(false);
|
|
124
|
-
};
|
|
125
|
-
if (data && data.length > 0 && payload) {
|
|
126
|
-
const retailerData = data.filter(item => item.retailer === payload.value);
|
|
127
|
-
if (retailerData && retailerData.length > 0) {
|
|
128
|
-
const {
|
|
129
|
-
offerType
|
|
130
|
-
} = retailerData[0];
|
|
131
|
-
return <g transform={`translate(${x},${y})`} onMouseEnter={() => handleMouseEnter(offerType)} onMouseLeave={handleMouseLeave}>
|
|
132
|
-
<text x={0} y={0} dy={16} fill="#212121">
|
|
133
|
-
<_PerformanceAnalyticsOneColumn.LabelBoldText textAnchor="middle" x="0" dy="50" fontWeight={600}>
|
|
134
|
-
{retailerData[0].retailer}
|
|
135
|
-
</_PerformanceAnalyticsOneColumn.LabelBoldText>
|
|
136
|
-
{/* <LabelText
|
|
137
|
-
textAnchor="middle"
|
|
138
|
-
x="0"
|
|
139
|
-
dy="30"
|
|
140
|
-
fontSize={14}
|
|
141
|
-
fontWeight={400}
|
|
142
|
-
>
|
|
143
|
-
{retailerData[0].offerType?.substring(0, 10)}
|
|
144
|
-
</LabelText> */}
|
|
145
|
-
<_PerformanceAnalyticsOneColumn.LabelText textAnchor="middle" x="0" dy="30" fontSize={14} fontWeight={400}>
|
|
146
|
-
{retailerData[0].period}
|
|
147
|
-
</_PerformanceAnalyticsOneColumn.LabelText>
|
|
148
|
-
</text>
|
|
149
|
-
</g>;
|
|
150
|
-
}
|
|
151
|
-
return null;
|
|
152
|
-
}
|
|
153
|
-
return null;
|
|
154
|
-
};
|
|
155
|
-
const displayBarChart = () => {
|
|
156
|
-
if (data && data.length > 0) {
|
|
157
|
-
return <_recharts.ResponsiveContainer id="ResponsiveContainer" height={barChartHeight}>
|
|
158
|
-
<_recharts.BarChart data={data} maxBarSize={60} margin={{
|
|
159
|
-
top: 30,
|
|
160
|
-
right: 30,
|
|
161
|
-
left: 20,
|
|
162
|
-
bottom: 5
|
|
163
|
-
}}>
|
|
164
|
-
<_recharts.XAxis dataKey="retailer" tick={CustomizedTickBarChart} tickLine={false} height={120} stroke="#D0D0D0" fill="#212121" />
|
|
165
|
-
{showLegendTooltip && <_TspanTooltip.default id="Tooltip" content={tooltipCouponText.content} top={tooltipCouponText.clientY} left={tooltipCouponText.clientX} direction="top" />}
|
|
166
|
-
<_recharts.Tooltip cursor={{
|
|
167
|
-
fill: 'transparent'
|
|
168
|
-
}} content={CustomTooltipBarChart} />
|
|
169
|
-
<_recharts.Bar dataKey="existingShoppersValue" fill={colorBarchart2} stackId="a" />
|
|
170
|
-
<_recharts.Bar dataKey="newShoppersValue" fill={colorBarchart1} stackId="a" radius={[5, 5, 0, 0]}>
|
|
171
|
-
<_recharts.LabelList fill="#212121" dataKey="totalShoppers" content={CustomizedLabelBarchart} />
|
|
172
|
-
</_recharts.Bar>
|
|
173
|
-
</_recharts.BarChart>
|
|
174
|
-
</_recharts.ResponsiveContainer>;
|
|
175
|
-
}
|
|
176
|
-
return null;
|
|
177
|
-
};
|
|
178
|
-
const displayTotalsData = () => <_PerformanceAnalyticsTotals.PerformanceAnalyticsTotals totalsData={totalsData} />;
|
|
179
|
-
const displayLegendData = () => <_PerformanceAnalyticsLegend.PerformanceAnalyticsLegend legendData={legendData} />;
|
|
180
|
-
const CustomizedLabelROI = props => {
|
|
181
|
-
const {
|
|
182
|
-
x,
|
|
183
|
-
y,
|
|
184
|
-
stroke,
|
|
185
|
-
value
|
|
186
|
-
} = props;
|
|
187
|
-
return <text x={x} y={y} dy={-8} fill={stroke} fontWeight={lineChartValueBold ? 600 : 400} fontSize={14} textAnchor="middle">
|
|
188
|
-
{`${value}${lineChartValueType ? '%' : ''}`}
|
|
189
|
-
</text>;
|
|
190
|
-
};
|
|
191
|
-
|
|
192
|
-
// const CustomTooltipROI = ({ active, payload }) => {
|
|
193
|
-
// if (active && payload && payload.length > 0) {
|
|
194
|
-
// return (
|
|
195
|
-
// <TooltipContainer>
|
|
196
|
-
// <TooltipTitle>{`${payload[0].payload?.retailer}`}</TooltipTitle>
|
|
197
|
-
|
|
198
|
-
// <ToolTipLabelAndValueContainer>
|
|
199
|
-
// <TooltipLabel>Incremental Sales ROI:</TooltipLabel>
|
|
200
|
-
// <TooltipValue>
|
|
201
|
-
// {`${getFormattedValue(payload[0].value)}${getFormattedUnits(
|
|
202
|
-
// payload[0].value,
|
|
203
|
-
// )}`}
|
|
204
|
-
// </TooltipValue>
|
|
205
|
-
// </ToolTipLabelAndValueContainer>
|
|
206
|
-
// </TooltipContainer>
|
|
207
|
-
// );
|
|
208
|
-
// }
|
|
209
|
-
|
|
210
|
-
// return null;
|
|
211
|
-
// };
|
|
212
|
-
const displayLineChartROI = () => <>
|
|
213
|
-
<_recharts.ResponsiveContainer id="ResponsiveContainer" height={lineChartHeight}>
|
|
214
|
-
<_recharts.LineChart data={data} margin={{
|
|
215
|
-
top: 20,
|
|
216
|
-
right: 90,
|
|
217
|
-
left: 90,
|
|
218
|
-
bottom: 10
|
|
219
|
-
}}>
|
|
220
|
-
<_recharts.Line type="monotone" dataKey="newShoppersPercentValue" fill={colorBarchart2} name="newShopper" stroke={colorBarchart2}>
|
|
221
|
-
<_recharts.LabelList content={<CustomizedLabelROI />} />
|
|
222
|
-
</_recharts.Line>
|
|
223
|
-
</_recharts.LineChart>
|
|
224
|
-
</_recharts.ResponsiveContainer>
|
|
225
|
-
|
|
226
|
-
<_recharts.ResponsiveContainer id="ResponsiveContainer" height={lineChartHeight}>
|
|
227
|
-
<_recharts.LineChart data={data} margin={{
|
|
228
|
-
top: 20,
|
|
229
|
-
right: 90,
|
|
230
|
-
left: 90,
|
|
231
|
-
bottom: 10
|
|
232
|
-
}}>
|
|
233
|
-
<_recharts.Line type="monotone" dataKey="existingShoppersPercentValue" fill={colorBarchart1} name="existingShopper" stroke={colorBarchart1}>
|
|
234
|
-
<_recharts.LabelList content={<CustomizedLabelROI />} />
|
|
235
|
-
</_recharts.Line>
|
|
236
|
-
</_recharts.LineChart>
|
|
237
|
-
</_recharts.ResponsiveContainer>
|
|
238
|
-
</>;
|
|
239
|
-
return <_PerformanceAnalyticsOneColumn.ControlsContainer id="PerformanceAnalyticsControlsContainer" className={totalsData?.length > 0 && data?.length > 0 ? '' : 'NoData'} width={width} height={height}>
|
|
240
|
-
{totalsData?.length > 0 && data?.length > 0 ? <_PerformanceAnalyticsOneColumn.Controls id="Controls">
|
|
241
|
-
{displayTotalsData()}
|
|
242
|
-
{displayLineChartROI()}
|
|
243
|
-
{displayBarChart()}
|
|
244
|
-
{displayLegendData()}
|
|
245
|
-
</_PerformanceAnalyticsOneColumn.Controls> : <_NoDataFoundMessage.NoDataFoundMessage noDataText={noDataText} />}
|
|
246
|
-
</_PerformanceAnalyticsOneColumn.ControlsContainer>;
|
|
247
|
-
};
|
|
248
|
-
exports.PerformanceAnalyticsOneColumn = PerformanceAnalyticsOneColumn;
|
|
249
|
-
var _default = exports.default = PerformanceAnalyticsOneColumn;
|
|
250
|
-
PerformanceAnalyticsOneColumn.propTypes = {
|
|
251
|
-
totalsData: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
252
|
-
title: _propTypes.default.string,
|
|
253
|
-
value: _propTypes.default.number,
|
|
254
|
-
dotCut: _propTypes.default.bool,
|
|
255
|
-
currency: _propTypes.default.bool,
|
|
256
|
-
currencyType: _propTypes.default.string,
|
|
257
|
-
growthPercent: _propTypes.default.number,
|
|
258
|
-
showGrowthPercentSign: _propTypes.default.bool
|
|
259
|
-
})),
|
|
260
|
-
data: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
261
|
-
retailer: _propTypes.default.string,
|
|
262
|
-
offerType: _propTypes.default.string,
|
|
263
|
-
period: _propTypes.default.string,
|
|
264
|
-
newShoppersValue: _propTypes.default.number,
|
|
265
|
-
newShoppersPercentValue: _propTypes.default.number,
|
|
266
|
-
existingShoppersValue: _propTypes.default.number,
|
|
267
|
-
existingShoppersPercentValue: _propTypes.default.number
|
|
268
|
-
})),
|
|
269
|
-
legendData: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
270
|
-
iconColor: _propTypes.default.string,
|
|
271
|
-
iconType: _propTypes.default.string,
|
|
272
|
-
title: _propTypes.default.string
|
|
273
|
-
})),
|
|
274
|
-
colorBarchart1: _propTypes.default.string,
|
|
275
|
-
colorBarchart2: _propTypes.default.string,
|
|
276
|
-
lineChartHeight: _propTypes.default.number,
|
|
277
|
-
barChartHeight: _propTypes.default.number,
|
|
278
|
-
width: _propTypes.default.string,
|
|
279
|
-
height: _propTypes.default.string,
|
|
280
|
-
noDataText: _propTypes.default.string,
|
|
281
|
-
tooltipBarchartLabel1: _propTypes.default.string,
|
|
282
|
-
tooltipBarchartLabel2: _propTypes.default.string
|
|
283
|
-
};
|
|
284
|
-
PerformanceAnalyticsOneColumn.defaultProps = {
|
|
285
|
-
colorBarchart1: '#1F7677',
|
|
286
|
-
colorBarchart2: '#90CE9C',
|
|
287
|
-
lineChartHeight: 50,
|
|
288
|
-
barChartHeight: 250,
|
|
289
|
-
width: '100%',
|
|
290
|
-
height: '100%',
|
|
291
|
-
noDataText: 'No data',
|
|
292
|
-
totalsData: [{
|
|
293
|
-
title: 'title',
|
|
294
|
-
value: 13,
|
|
295
|
-
dotCut: true,
|
|
296
|
-
currency: true,
|
|
297
|
-
currencyType: 'USD',
|
|
298
|
-
growthPercent: 14,
|
|
299
|
-
showGrowthPercentSign: true
|
|
300
|
-
}],
|
|
301
|
-
data: [{
|
|
302
|
-
retailer: '',
|
|
303
|
-
offerType: '',
|
|
304
|
-
period: '',
|
|
305
|
-
newShoppersValue: 44,
|
|
306
|
-
newShoppersPercentValue: 55,
|
|
307
|
-
existingShoppersValue: 66,
|
|
308
|
-
existingShoppersPercentValue: 45
|
|
309
|
-
}],
|
|
310
|
-
legendData: [{
|
|
311
|
-
iconColor: null,
|
|
312
|
-
iconType: null,
|
|
313
|
-
title: null
|
|
314
|
-
}],
|
|
315
|
-
tooltipBarchartLabel1: 'New Shoppers',
|
|
316
|
-
tooltipBarchartLabel2: 'Existing Shoppers'
|
|
317
|
-
};
|
package/dist/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.stories.js
DELETED
|
@@ -1,236 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = exports.TotalCostSales = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _PerformanceAnalyticsOneColumn = require("./PerformanceAnalyticsOneColumn");
|
|
9
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
|
-
const totalsData1 = [{
|
|
11
|
-
title: 'Total Cost',
|
|
12
|
-
value: 360000,
|
|
13
|
-
dotCut: true,
|
|
14
|
-
currency: true,
|
|
15
|
-
currencyType: 'USD',
|
|
16
|
-
growthPercent: 15.2,
|
|
17
|
-
showGrowthPercentSign: true
|
|
18
|
-
}, {
|
|
19
|
-
title: 'Incremental Sales',
|
|
20
|
-
value: 960000,
|
|
21
|
-
dotCut: true,
|
|
22
|
-
currency: true,
|
|
23
|
-
currencyType: 'USD',
|
|
24
|
-
growthPercent: 13.5,
|
|
25
|
-
showGrowthPercentSign: true
|
|
26
|
-
}, {
|
|
27
|
-
title: 'Incremental Sales ROI',
|
|
28
|
-
value: 2.7,
|
|
29
|
-
dotCut: true,
|
|
30
|
-
currency: false,
|
|
31
|
-
currencyType: null,
|
|
32
|
-
growthPercent: null,
|
|
33
|
-
showGrowthPercentSign: true
|
|
34
|
-
}];
|
|
35
|
-
const data1 = [{
|
|
36
|
-
retailer: 'Food Lion',
|
|
37
|
-
offerType: 'B2G3',
|
|
38
|
-
period: '15.01.24-31.01.24',
|
|
39
|
-
roiValue: 2.5,
|
|
40
|
-
// New / existing Shoppers
|
|
41
|
-
newShoppersValue: 16,
|
|
42
|
-
newShoppersPercentValue: 15.6,
|
|
43
|
-
existingShoppersValue: 66,
|
|
44
|
-
existingShoppersPercentValue: 84.4,
|
|
45
|
-
totalShoppers: 82
|
|
46
|
-
}, {
|
|
47
|
-
retailer: 'Hannaford',
|
|
48
|
-
offerType: 'B2G3',
|
|
49
|
-
period: '02.01.24-15.01.24',
|
|
50
|
-
roiValue: 3.6,
|
|
51
|
-
// New / existing Shoppers
|
|
52
|
-
newShoppersValue: 14,
|
|
53
|
-
newShoppersPercentValue: 25.5,
|
|
54
|
-
existingShoppersValue: 35,
|
|
55
|
-
existingShoppersPercentValue: 75.5,
|
|
56
|
-
totalShoppers: 49
|
|
57
|
-
}, {
|
|
58
|
-
retailer: 'The Giant Company',
|
|
59
|
-
offerType: '20% Off',
|
|
60
|
-
period: '15.01.24-31.01.24',
|
|
61
|
-
roiValue: 2.0,
|
|
62
|
-
// New / existing Shoppers
|
|
63
|
-
newShoppersValue: 44,
|
|
64
|
-
newShoppersPercentValue: 10.5,
|
|
65
|
-
existingShoppersValue: 33,
|
|
66
|
-
existingShoppersPercentValue: 88,
|
|
67
|
-
contributionIncrementalSalesValue: 89.5,
|
|
68
|
-
totalShoppers: 77
|
|
69
|
-
}, {
|
|
70
|
-
retailer: 'Giant Food',
|
|
71
|
-
offerType: '20% Off',
|
|
72
|
-
period: '02.01.24-15.01.24',
|
|
73
|
-
roiValue: 2.5,
|
|
74
|
-
// New / existing Shoppers
|
|
75
|
-
newShoppersValue: 77,
|
|
76
|
-
newShoppersPercentValue: 8.6,
|
|
77
|
-
existingShoppersValue: 55,
|
|
78
|
-
existingShoppersPercentValue: 91.4,
|
|
79
|
-
totalShoppers: 122
|
|
80
|
-
}, {
|
|
81
|
-
retailer: 'Stop&Shop',
|
|
82
|
-
offerType: '20% Off',
|
|
83
|
-
period: '02.01.24-15.01.24',
|
|
84
|
-
roiValue: 3.3,
|
|
85
|
-
// New / existing Shoppers
|
|
86
|
-
newShoppersValue: 11,
|
|
87
|
-
newShoppersPercentValue: 25.4,
|
|
88
|
-
existingShoppersValue: 33,
|
|
89
|
-
existingShoppersPercentValue: 74.6,
|
|
90
|
-
totalShoppers: 44
|
|
91
|
-
}];
|
|
92
|
-
const legendData1 = [{
|
|
93
|
-
iconColor: '#1F7677',
|
|
94
|
-
iconType: 'Square',
|
|
95
|
-
title: '% New Shoppers'
|
|
96
|
-
}, {
|
|
97
|
-
iconColor: '#1F7677',
|
|
98
|
-
iconType: 'LegendUnionIcon',
|
|
99
|
-
title: '% New Shoppers'
|
|
100
|
-
}, {
|
|
101
|
-
iconColor: '#90CE9C',
|
|
102
|
-
iconType: 'Square',
|
|
103
|
-
title: '# Existing Shoppers'
|
|
104
|
-
}, {
|
|
105
|
-
iconColor: '#9CCB3B',
|
|
106
|
-
iconType: 'LegendUnionIcon',
|
|
107
|
-
title: '# Existing Shoppers'
|
|
108
|
-
}];
|
|
109
|
-
var _default = exports.default = {
|
|
110
|
-
title: 'SAG BI/PerformanceAnalyticsOneColumn',
|
|
111
|
-
component: _PerformanceAnalyticsOneColumn.PerformanceAnalyticsOneColumn,
|
|
112
|
-
tags: ['autodocs'],
|
|
113
|
-
parameters: {
|
|
114
|
-
design: {
|
|
115
|
-
type: 'figspec',
|
|
116
|
-
accessToken: 'figd_vSza21Sk6g-JWb5K_GAQhRJhmuRhS6k1Ju1KNGpC'
|
|
117
|
-
}
|
|
118
|
-
},
|
|
119
|
-
argTypes: {
|
|
120
|
-
totalsData: {
|
|
121
|
-
name: 'totalsData',
|
|
122
|
-
description: 'array [] of objects: to fill the totals on top of the component '
|
|
123
|
-
},
|
|
124
|
-
data: {
|
|
125
|
-
name: 'data',
|
|
126
|
-
description: 'array [] of objects: to fill the barcharts '
|
|
127
|
-
},
|
|
128
|
-
legendData: {
|
|
129
|
-
name: 'legendData',
|
|
130
|
-
description: 'array [] of objects: to fill the legend on bottom of the component '
|
|
131
|
-
},
|
|
132
|
-
currencyType: {
|
|
133
|
-
name: 'currencyType',
|
|
134
|
-
options: ['USD', 'EUR', 'ILS', 'GBP', 'JPY', ''],
|
|
135
|
-
control: {
|
|
136
|
-
type: 'select'
|
|
137
|
-
}
|
|
138
|
-
},
|
|
139
|
-
width: {
|
|
140
|
-
name: 'Width',
|
|
141
|
-
control: {
|
|
142
|
-
type: 'text'
|
|
143
|
-
},
|
|
144
|
-
description: 'width of the control (in px / %)'
|
|
145
|
-
},
|
|
146
|
-
height: {
|
|
147
|
-
name: 'Height',
|
|
148
|
-
control: {
|
|
149
|
-
type: 'text'
|
|
150
|
-
},
|
|
151
|
-
description: 'height of the control (in px / %)'
|
|
152
|
-
},
|
|
153
|
-
lineChartHeight: {
|
|
154
|
-
name: 'lineChartHeight',
|
|
155
|
-
control: {
|
|
156
|
-
type: 'number'
|
|
157
|
-
},
|
|
158
|
-
description: 'height of the control (in px)'
|
|
159
|
-
},
|
|
160
|
-
lineChartValueType: {
|
|
161
|
-
name: 'lineChartValueType',
|
|
162
|
-
control: {
|
|
163
|
-
type: 'boolean'
|
|
164
|
-
},
|
|
165
|
-
description: 'true/false - show/hide percent sign before value'
|
|
166
|
-
},
|
|
167
|
-
lineChartValueBold: {
|
|
168
|
-
name: 'lineChartValueBold',
|
|
169
|
-
control: {
|
|
170
|
-
type: 'boolean'
|
|
171
|
-
},
|
|
172
|
-
description: 'true/false - value bolded'
|
|
173
|
-
},
|
|
174
|
-
topBarSigning: {
|
|
175
|
-
name: 'topBarSigning',
|
|
176
|
-
control: {
|
|
177
|
-
type: 'inline-radio'
|
|
178
|
-
},
|
|
179
|
-
options: ['None', 'Dollar sign ($)', 'Euro sign (€)'],
|
|
180
|
-
description: 'What a value sign to add to the top bar value string'
|
|
181
|
-
},
|
|
182
|
-
topBarPercentSigning: {
|
|
183
|
-
name: 'topBarPercentSigning',
|
|
184
|
-
control: {
|
|
185
|
-
type: 'boolean'
|
|
186
|
-
},
|
|
187
|
-
description: 'Add Percent sign aside top bars value'
|
|
188
|
-
},
|
|
189
|
-
noDataText: {
|
|
190
|
-
name: 'No Data text',
|
|
191
|
-
control: {
|
|
192
|
-
type: 'text'
|
|
193
|
-
},
|
|
194
|
-
description: 'text to display when no data found'
|
|
195
|
-
},
|
|
196
|
-
tooltipBarchartLabel1: {
|
|
197
|
-
name: 'tooltipBarchartLabel1',
|
|
198
|
-
control: {
|
|
199
|
-
type: 'text'
|
|
200
|
-
},
|
|
201
|
-
description: 'text in barchart tooltip - top'
|
|
202
|
-
},
|
|
203
|
-
tooltipBarchartLabel2: {
|
|
204
|
-
name: 'tooltipBarchartLabel2',
|
|
205
|
-
control: {
|
|
206
|
-
type: 'text'
|
|
207
|
-
},
|
|
208
|
-
description: 'text in barchart tooltip - bottom'
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
};
|
|
212
|
-
const Template = args => <_PerformanceAnalyticsOneColumn.PerformanceAnalyticsOneColumn {...args} />;
|
|
213
|
-
const TotalCostSales = exports.TotalCostSales = Template.bind({});
|
|
214
|
-
TotalCostSales.args = {
|
|
215
|
-
totalsData: totalsData1,
|
|
216
|
-
data: data1,
|
|
217
|
-
legendData: legendData1,
|
|
218
|
-
width: '100%',
|
|
219
|
-
height: '100%',
|
|
220
|
-
lineChartHeight: 50,
|
|
221
|
-
lineChartValueType: true,
|
|
222
|
-
lineChartValueBold: true,
|
|
223
|
-
colorBarchart1: '#90CE9C',
|
|
224
|
-
colorBarchart2: '#1F7677',
|
|
225
|
-
topBarPercentSigning: false,
|
|
226
|
-
topBarSigning: 'None',
|
|
227
|
-
currencyType: 'USD',
|
|
228
|
-
noDataText: 'The selected event is a TPR or has no offer, therefore there are no redemptions or redemption units to display.',
|
|
229
|
-
tooltipBarchartLabel1: 'New Shoppers',
|
|
230
|
-
tooltipBarchartLabel2: 'Existing Shoppers'
|
|
231
|
-
};
|
|
232
|
-
TotalCostSales.parameters = {
|
|
233
|
-
design: {
|
|
234
|
-
url: 'https://www.figma.com/file/kZyP3iKy3nO6sz1Ji7Axul/Sagarmatha---Dashboard?type=design&node-id=5740-24156&mode=dev'
|
|
235
|
-
}
|
|
236
|
-
};
|
package/dist/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.style.js
DELETED
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.TotalsDataContainer = exports.TooltipValue = exports.TooltipTitle = exports.TooltipLabel = exports.TooltipContainer = exports.ToolTipLabelAndValueContainer = exports.SegmentedButtonContainer = exports.LegendTitle = exports.LegendColorRectangle = exports.LabelText = exports.LabelBoldText = exports.ControlsContainer = exports.Controls = void 0;
|
|
7
|
-
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
8
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
|
-
const ControlsContainer = exports.ControlsContainer = _styledComponents.default.div`
|
|
10
|
-
font-family: "Poppins", sans-serif;
|
|
11
|
-
font-style: normal;
|
|
12
|
-
font-size: ${props => props.rootFont};
|
|
13
|
-
color: ${props => props.textColor};
|
|
14
|
-
width: ${props => props.width};
|
|
15
|
-
height: ${props => props.height};
|
|
16
|
-
border-radius: 12px;
|
|
17
|
-
align-self: center;
|
|
18
|
-
&.NoData {
|
|
19
|
-
align-self: center;
|
|
20
|
-
display: flex;
|
|
21
|
-
align-items: center;
|
|
22
|
-
width: 50%;
|
|
23
|
-
margin: 10% auto 0;
|
|
24
|
-
}
|
|
25
|
-
> * {
|
|
26
|
-
box-sizing: border-box;
|
|
27
|
-
}
|
|
28
|
-
`;
|
|
29
|
-
const Controls = exports.Controls = _styledComponents.default.div`
|
|
30
|
-
width: 100%;
|
|
31
|
-
height: 100%;
|
|
32
|
-
padding: 24px 40px;
|
|
33
|
-
background: white;
|
|
34
|
-
@media (max-width: 1536px) {
|
|
35
|
-
padding: 12px 32px;
|
|
36
|
-
}
|
|
37
|
-
`;
|
|
38
|
-
const SegmentedButtonContainer = exports.SegmentedButtonContainer = _styledComponents.default.div`
|
|
39
|
-
display: flex;
|
|
40
|
-
padding: 10px 0 0 10px;
|
|
41
|
-
`;
|
|
42
|
-
const TotalsDataContainer = exports.TotalsDataContainer = _styledComponents.default.div``;
|
|
43
|
-
const LabelBoldText = exports.LabelBoldText = _styledComponents.default.tspan`
|
|
44
|
-
font-size: 16px;
|
|
45
|
-
@media (max-width: 1536px) {
|
|
46
|
-
font-size: 12px;
|
|
47
|
-
}
|
|
48
|
-
`;
|
|
49
|
-
const LabelText = exports.LabelText = _styledComponents.default.tspan`
|
|
50
|
-
font-size: 16px;
|
|
51
|
-
@media (max-width: 1536px) {
|
|
52
|
-
font-size: 10px;
|
|
53
|
-
}
|
|
54
|
-
@media (max-width: 1366px) {
|
|
55
|
-
font-size: 8px;
|
|
56
|
-
}
|
|
57
|
-
`;
|
|
58
|
-
const TooltipContainer = exports.TooltipContainer = _styledComponents.default.div`
|
|
59
|
-
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.2);
|
|
60
|
-
border-radius: 5px;
|
|
61
|
-
background: #fff;
|
|
62
|
-
font-family: "Poppins", sans-serif;
|
|
63
|
-
border-radius: 5px;
|
|
64
|
-
padding: 8px 12px;
|
|
65
|
-
display: grid;
|
|
66
|
-
`;
|
|
67
|
-
const TooltipLabel = exports.TooltipLabel = _styledComponents.default.p`
|
|
68
|
-
color: #212121;
|
|
69
|
-
font-family: "Poppins", sans-serif;
|
|
70
|
-
font-size: 14px;
|
|
71
|
-
font-style: normal;
|
|
72
|
-
font-weight: 400;
|
|
73
|
-
line-height: normal;
|
|
74
|
-
width: fit-content;
|
|
75
|
-
margin: 0 6px 0 0;
|
|
76
|
-
`;
|
|
77
|
-
const TooltipValue = exports.TooltipValue = _styledComponents.default.p`
|
|
78
|
-
color: #212121;
|
|
79
|
-
font-family: "Poppins", sans-serif;
|
|
80
|
-
font-size: 14px;
|
|
81
|
-
font-style: normal;
|
|
82
|
-
font-weight: 600;
|
|
83
|
-
line-height: normal;
|
|
84
|
-
width: fit-content;
|
|
85
|
-
margin: 0;
|
|
86
|
-
`;
|
|
87
|
-
const TooltipTitle = exports.TooltipTitle = _styledComponents.default.p`
|
|
88
|
-
color: #212121;
|
|
89
|
-
font-family: Poppins;
|
|
90
|
-
font-size: 14px;
|
|
91
|
-
font-style: normal;
|
|
92
|
-
font-weight: 600;
|
|
93
|
-
line-height: normal;
|
|
94
|
-
margin: 0;
|
|
95
|
-
`;
|
|
96
|
-
const LegendColorRectangle = exports.LegendColorRectangle = _styledComponents.default.div`
|
|
97
|
-
width: 0.875rem;
|
|
98
|
-
min-width: 0.875rem;
|
|
99
|
-
height: 0.875rem;
|
|
100
|
-
border-radius: 2px;
|
|
101
|
-
background: ${props => props.color};
|
|
102
|
-
`;
|
|
103
|
-
const ToolTipLabelAndValueContainer = exports.ToolTipLabelAndValueContainer = _styledComponents.default.div`
|
|
104
|
-
display: flex;
|
|
105
|
-
align-items: center;
|
|
106
|
-
gap: 8px;
|
|
107
|
-
`;
|
|
108
|
-
const LegendTitle = exports.LegendTitle = _styledComponents.default.h5`
|
|
109
|
-
font-size: 16px;
|
|
110
|
-
@media (max-width: 1536px) {
|
|
111
|
-
font-size: 11px;
|
|
112
|
-
}
|
|
113
|
-
@media (max-width: 1366px) {
|
|
114
|
-
font-size: 10px;
|
|
115
|
-
}
|
|
116
|
-
`;
|