sag_components 1.0.976 → 1.0.978
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/Button.test.js +10 -10
- package/dist/LinkButton.test.js +10 -10
- package/dist/SingleBar.test.js +2 -2
- package/dist/index.js +1 -1
- package/dist/stories/CampaignTool/PopupContent.stories.js +284 -0
- package/dist/stories/components/BannerEventBoxTest.js +42 -0
- package/dist/stories/components/BannerEventBoxTest.style.js +11 -0
- package/dist/stories/components/BarChartsByWeeks.js +3 -0
- package/dist/stories/components/CommonFunctions.js +1 -2
- package/dist/stories/components/FilterButton.js +53 -0
- package/dist/stories/components/FilterButton.style.js +12 -0
- package/dist/stories/components/FormattedValue.js +3 -2
- package/dist/stories/components/NewInput.js +33 -0
- package/dist/stories/components/NewInput.style.js +13 -0
- package/dist/stories/components/QuickFilterDropdownMultiSelection.js +1 -1
- package/dist/stories/components/QuickFilterDropdownSingle.js +1 -1
- package/dist/stories/components/icons/TheGiantCompanyIcon_old.js +1831 -0
- package/package.json +1 -1
- package/dist/stories/components/AttachedFile/AttachedFile.js +0 -62
- package/dist/stories/components/AttachedFile/AttachedFile.stories.js +0 -36
- package/dist/stories/components/AttachedFile/AttachedFile.style.js +0 -48
- package/dist/stories/components/BannerEventBox/BannerEventBox.js +0 -97
- package/dist/stories/components/BannerEventBox/BannerEventBox.stories.js +0 -58
- package/dist/stories/components/BannerEventBox/BannerEventBox.style.js +0 -78
- package/dist/stories/components/BannerEventBoxList/BannerEventBoxList.js +0 -153
- package/dist/stories/components/BannerEventBoxList/BannerEventBoxList.stories.js +0 -59
- package/dist/stories/components/BannerEventBoxList/BannerEventBoxList.style.js +0 -189
- package/dist/stories/components/BannersDropdown/BannersDropdown.js +0 -115
- package/dist/stories/components/BannersDropdown/BannersDropdown.stories.js +0 -64
- package/dist/stories/components/BannersDropdown/BannersDropdown.style.js +0 -99
- package/dist/stories/components/BarChart/BarChart.js +0 -191
- package/dist/stories/components/BarChart/BarChart.stories.js +0 -153
- package/dist/stories/components/BarChart/BarChart.style.js +0 -60
- package/dist/stories/components/BarChartTwoRows/BarChartTwoRows.js +0 -213
- package/dist/stories/components/BarChartTwoRows/BarChartTwoRows.stories.js +0 -259
- package/dist/stories/components/BarChartTwoRows/BarChartTwoRows.style.js +0 -79
- package/dist/stories/components/BarChartsByWeeks/BarChartsByWeeks.js +0 -299
- package/dist/stories/components/BarChartsByWeeks/BarChartsByWeeks.stories.js +0 -442
- package/dist/stories/components/BarChartsByWeeks/BarChartsByWeeks.style.js +0 -96
- package/dist/stories/components/Benchmark/Benchmark.js +0 -130
- package/dist/stories/components/Benchmark/Benchmark.stories.js +0 -148
- package/dist/stories/components/Benchmark/Benchmark.style.js +0 -61
- package/dist/stories/components/Button/Button.js +0 -217
- package/dist/stories/components/Button/Button.stories.js +0 -269
- package/dist/stories/components/Button/Button.style.js +0 -90
- package/dist/stories/components/CampaignDemoReport/CampaignDemoReport.js +0 -48
- package/dist/stories/components/CampaignDemoReport/CampaignDemoReport.stories.js +0 -65
- package/dist/stories/components/CampaignDemoReport/CampaignDemoReport.style.js +0 -48
- package/dist/stories/components/Card/Card.js +0 -72
- package/dist/stories/components/Card/Card.stories.js +0 -92
- package/dist/stories/components/Card/Card.style.js +0 -65
- package/dist/stories/components/CheckBox/CheckBox.js +0 -76
- package/dist/stories/components/CheckBox/CheckBox.stories.js +0 -107
- package/dist/stories/components/CheckBox/CheckBox.style.js +0 -36
- package/dist/stories/components/CheckBoxButton/CheckBoxButton.js +0 -69
- package/dist/stories/components/CheckBoxButton/CheckBoxButton.stories.js +0 -150
- package/dist/stories/components/CheckBoxButton/CheckBoxButton.style.js +0 -39
- package/dist/stories/components/CodeEditor/CodeEditor.js +0 -43
- package/dist/stories/components/CodeEditor/CodeEditor.style.js +0 -13
- package/dist/stories/components/CollapseData/CollapseData.js +0 -66
- package/dist/stories/components/CollapseData/CollapseData.stories.js +0 -125
- package/dist/stories/components/CollapseData/CollapseData.style.js +0 -127
- package/dist/stories/components/CollapseHeader/CollapseHeader.js +0 -249
- package/dist/stories/components/CollapseHeader/CollapseHeader.stories.js +0 -116
- package/dist/stories/components/CollapseHeader/CollapseHeader.style.js +0 -200
- package/dist/stories/components/CollapseMenuItem/CollapseMenuItem.js +0 -61
- package/dist/stories/components/CollapseMenuItem/CollapseMenuItem.stories.js +0 -161
- package/dist/stories/components/CollapseMenuItem/CollapseMenuItem.style.js +0 -61
- package/dist/stories/components/Datepicker/Datepicker.js +0 -148
- package/dist/stories/components/Datepicker/Datepicker.stories.js +0 -86
- package/dist/stories/components/Datepicker/Datepicker.style.js +0 -19
- package/dist/stories/components/DownloadProgress/DownloadProgress.js +0 -97
- package/dist/stories/components/DownloadProgress/DownloadProgress.stories.js +0 -111
- package/dist/stories/components/DownloadProgress/DownloadProgress.style.js +0 -51
- package/dist/stories/components/Dropdown/Dropdown.js +0 -231
- package/dist/stories/components/Dropdown/Dropdown.stories.js +0 -323
- package/dist/stories/components/Dropdown/Dropdown.style.js +0 -17
- package/dist/stories/components/DropdownMulti/DropdownMulti.js +0 -290
- package/dist/stories/components/DropdownMulti/DropdownMulti.stories.js +0 -220
- package/dist/stories/components/DropdownMulti/DropdownMulti.style.js +0 -11
- package/dist/stories/components/DropdownMultiNew/DropdownMultiNew.js +0 -292
- package/dist/stories/components/DropdownMultiNew/DropdownMultiNew.style.js +0 -216
- package/dist/stories/components/DropdownNew/DropdownNew.js +0 -98
- package/dist/stories/components/DropdownNew/DropdownNew.stories.js +0 -416
- package/dist/stories/components/DropdownNew/DropdownNew.style.js +0 -21
- package/dist/stories/components/DropdownSingleNew/DropdownSingleNew.js +0 -254
- package/dist/stories/components/DropdownSingleNew/DropdownSingleNew.style.js +0 -187
- package/dist/stories/components/EventDetailsCard/EventDetailsCard.js +0 -144
- package/dist/stories/components/EventDetailsCard/EventDetailsCard.stories.js +0 -57
- package/dist/stories/components/EventDetailsCard/EventDetailsCard.style.js +0 -94
- package/dist/stories/components/EventList/EventList.js +0 -61
- package/dist/stories/components/EventList/EventList.stories.js +0 -84
- package/dist/stories/components/EventList/EventList.style.js +0 -38
- package/dist/stories/components/EventListItem/EventListItem.js +0 -50
- package/dist/stories/components/EventListItem/EventListItem.stories.js +0 -65
- package/dist/stories/components/EventListItem/EventListItem.style.js +0 -47
- package/dist/stories/components/FilterContainer/FilterContainer.js +0 -29
- package/dist/stories/components/FilterContainer/FilterContainer.stories.js +0 -23
- package/dist/stories/components/FilterContainer/FilterContainer.style.js +0 -30
- package/dist/stories/components/FilterPanel/FilterPanel.js +0 -571
- package/dist/stories/components/FilterPanel/FilterPanel.stories.js +0 -967
- package/dist/stories/components/FilterPanel/FilterPanel.style.js +0 -89
- package/dist/stories/components/FormInput/FormInput.js +0 -41
- package/dist/stories/components/FormSelect/FormSelect.js +0 -42
- package/dist/stories/components/FormattedValue/FormattedValue.js +0 -68
- package/dist/stories/components/FormattedValue/FormattedValue.stories.js +0 -189
- package/dist/stories/components/FormattedValue/FormattedValue.style.js +0 -91
- package/dist/stories/components/IconButton/IconButton.js +0 -147
- package/dist/stories/components/IconButton/IconButton.stories.js +0 -131
- package/dist/stories/components/IconButton/IconButton.style.js +0 -64
- package/dist/stories/components/Input/Input.js +0 -183
- package/dist/stories/components/Input/Input.stories.js +0 -434
- package/dist/stories/components/Input/Input.style.js +0 -130
- package/dist/stories/components/InputOld/InputOld.js +0 -90
- package/dist/stories/components/InputOld/InputOld.stories.js +0 -100
- package/dist/stories/components/InputOld/InputOld.style.js +0 -69
- package/dist/stories/components/KpiFilter/KpiFilter.js +0 -330
- package/dist/stories/components/KpiFilter/KpiFilter.stories.js +0 -380
- package/dist/stories/components/KpiFilter/KpiFilter.style.js +0 -132
- package/dist/stories/components/LinkButton/LinkButton.js +0 -207
- package/dist/stories/components/LinkButton/LinkButton.stories.js +0 -180
- package/dist/stories/components/LinkButton/LinkButton.style.js +0 -53
- package/dist/stories/components/LinnerDataBox/LinnerDataBox.js +0 -46
- package/dist/stories/components/LinnerDataBox/LinnerDataBox.stories.js +0 -78
- package/dist/stories/components/LinnerDataBox/LinnerDataBox.style.js +0 -68
- package/dist/stories/components/ListBox/ListBox.js +0 -82
- package/dist/stories/components/ListBox/ListBox.stories.js +0 -132
- package/dist/stories/components/ListBox/ListBox.style.js +0 -48
- package/dist/stories/components/MarketShareDescription/MarketShareDescription.js +0 -109
- package/dist/stories/components/MarketShareDescription/MarketShareDescription.stories.js +0 -198
- package/dist/stories/components/MarketShareDescription/MarketShareDescription.style.js +0 -215
- package/dist/stories/components/Modal/Modal.js +0 -21
- package/dist/stories/components/Modal/Modal.style.js +0 -65
- package/dist/stories/components/Modal/ModalTotalBenchmark.js +0 -224
- package/dist/stories/components/Modal/ModalTotalCost.js +0 -139
- package/dist/stories/components/MonthPicker/MonthPicker.js +0 -166
- package/dist/stories/components/MonthPicker/MonthPicker.stories.js +0 -140
- package/dist/stories/components/MonthPicker/MonthPicker.style.js +0 -103
- package/dist/stories/components/MonthPicker/MonthPopupPicker.js +0 -200
- package/dist/stories/components/MultipleCard/MultipleCard.js +0 -26
- package/dist/stories/components/MultipleCard/MultipleCard.stories.js +0 -33
- package/dist/stories/components/MultipleCard/MultipleCard.style.js +0 -13
- package/dist/stories/components/NoDataFoundMessage/NoDataFoundMessage.js +0 -30
- package/dist/stories/components/NoDataFoundMessage/NoDataFoundMessage.stories.js +0 -66
- package/dist/stories/components/NoDataFoundMessage/NoDataFoundMessage.style.js +0 -39
- package/dist/stories/components/OneColumnContainer/OneColumnContainer.js +0 -121
- package/dist/stories/components/OneColumnContainer/OneColumnContainer.stories.js +0 -119
- package/dist/stories/components/OneColumnContainer/OneColumnContainer.style.js +0 -107
- package/dist/stories/components/PageFilterBar/PageFilterBar.js +0 -23
- package/dist/stories/components/PageFilterBar/PageFilterBar.stories.js +0 -28
- package/dist/stories/components/PageFilterBar/PageFilterBar.style.js +0 -22
- package/dist/stories/components/PerformanceAnalytics/PerformanceAnalytics.js +0 -447
- package/dist/stories/components/PerformanceAnalytics/PerformanceAnalytics.stories.js +0 -258
- package/dist/stories/components/PerformanceAnalytics/PerformanceAnalytics.style.js +0 -144
- package/dist/stories/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.js +0 -59
- package/dist/stories/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.stories.js +0 -86
- package/dist/stories/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.style.js +0 -63
- package/dist/stories/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.js +0 -327
- package/dist/stories/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.stories.js +0 -231
- package/dist/stories/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.style.js +0 -116
- package/dist/stories/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.js +0 -70
- package/dist/stories/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.stories.js +0 -100
- package/dist/stories/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.style.js +0 -89
- package/dist/stories/components/Popup/Popup.js +0 -172
- package/dist/stories/components/Popup/Popup.stories.js +0 -704
- package/dist/stories/components/Popup/Popup.style.js +0 -122
- package/dist/stories/components/PopupCharts/PopupCharts.js +0 -244
- package/dist/stories/components/PopupCharts/PopupCharts.stories.js +0 -1203
- package/dist/stories/components/PopupCharts/PopupCharts.style.js +0 -108
- package/dist/stories/components/PopupContent/PopupContent.js +0 -111
- package/dist/stories/components/PopupContent/PopupContent.style.js +0 -74
- package/dist/stories/components/PopupContent/PopupFieldsRules.js +0 -168
- package/dist/stories/components/ProductsVariety/ProductsVariety.js +0 -94
- package/dist/stories/components/ProductsVariety/ProductsVariety.stories.js +0 -91
- package/dist/stories/components/ProductsVariety/ProductsVariety.style.js +0 -86
- package/dist/stories/components/ProgressBar/ProgressBar.js +0 -52
- package/dist/stories/components/ProgressBar/ProgressBar.stories.js +0 -72
- package/dist/stories/components/ProgressBar/ProgressBar.style.js +0 -24
- package/dist/stories/components/QuarterPicker/QuarterPicker.js +0 -165
- package/dist/stories/components/QuarterPicker/QuarterPicker.stories.js +0 -140
- package/dist/stories/components/QuarterPicker/QuarterPicker.style.js +0 -102
- package/dist/stories/components/QuarterPicker/QuarterPopupPicker.js +0 -182
- package/dist/stories/components/QuickFilter/QuickFilter.js +0 -78
- package/dist/stories/components/QuickFilter/QuickFilter.stories.js +0 -281
- package/dist/stories/components/QuickFilter/QuickFilter.style.js +0 -21
- package/dist/stories/components/QuickFilter/QuickFilterDropdownMultiSelection.js +0 -299
- package/dist/stories/components/QuickFilter/QuickFilterDropdownMultiSelection.style.js +0 -194
- package/dist/stories/components/QuickFilter/QuickFilterDropdownSingle.js +0 -229
- package/dist/stories/components/QuickFilter/QuickFilterDropdownSingle.style.js +0 -139
- package/dist/stories/components/RangePicker/RangeDatePicker.js +0 -229
- package/dist/stories/components/RangePicker/RangePicker.js +0 -176
- package/dist/stories/components/RangePicker/RangePicker.stories.js +0 -138
- package/dist/stories/components/RangePicker/RangePicker.style.js +0 -107
- package/dist/stories/components/ReportTable/ReportTable.js +0 -262
- package/dist/stories/components/ReportTable/ReportTable.stories.js +0 -151
- package/dist/stories/components/ReportTable/ReportTable.style.js +0 -131
- package/dist/stories/components/SagButton/SagButton.js +0 -68
- package/dist/stories/components/SagButton/SagButton.stories.js +0 -118
- package/dist/stories/components/SagButton/SagButton.style.js +0 -47
- package/dist/stories/components/SagIconButton/SagIconButton.js +0 -130
- package/dist/stories/components/SagIconButton/SagIconButton.stories.js +0 -123
- package/dist/stories/components/SagIconButton/SagIconButton.style.js +0 -30
- package/dist/stories/components/SagInput/SagInput.js +0 -53
- package/dist/stories/components/SagInput/SagInput.stories.js +0 -69
- package/dist/stories/components/SagInput/SagInput.style.js +0 -41
- package/dist/stories/components/SalesAndROI/SalesAndROI.js +0 -89
- package/dist/stories/components/SalesAndROI/SalesAndROI.stories.js +0 -168
- package/dist/stories/components/SalesAndROI/SalesAndROI.style.js +0 -111
- package/dist/stories/components/SearchInput/SearchInput.js +0 -39
- package/dist/stories/components/SearchInput/SearchInput.stories.js +0 -44
- package/dist/stories/components/SearchInput/SearchInput.style.js +0 -37
- package/dist/stories/components/SegmentedButton/SegmentedButton.js +0 -122
- package/dist/stories/components/SegmentedButton/SegmentedButton.stories.js +0 -183
- package/dist/stories/components/SegmentedButton/SegmentedButton.style.js +0 -100
- package/dist/stories/components/Select/Select.js +0 -135
- package/dist/stories/components/Select/Select.stories.js +0 -200
- package/dist/stories/components/Select/Select.style.js +0 -102
- package/dist/stories/components/TabMenu/TabMenu.js +0 -214
- package/dist/stories/components/TabMenu/TabMenu.stories.js +0 -76
- package/dist/stories/components/TabMenu/TabMenu.style.js +0 -115
- package/dist/stories/components/Table/Table.js +0 -195
- package/dist/stories/components/Table/Table.stories.js +0 -104
- package/dist/stories/components/Table/Table.style.js +0 -86
- package/dist/stories/components/TextField/TextField.js +0 -209
- package/dist/stories/components/TextField/TextField.stories.js +0 -162
- package/dist/stories/components/TextField/TextField.style.js +0 -18
- package/dist/stories/components/TitleDescription/TitleDescription.js +0 -272
- package/dist/stories/components/TitleDescription/TitleDescription.stories.js +0 -117
- package/dist/stories/components/TitleDescription/TitleDescription.style.js +0 -222
- package/dist/stories/components/Tooltip/Tooltip.js +0 -31
- package/dist/stories/components/Tooltip/Tooltip.style.js +0 -103
- package/dist/stories/components/TopToggleList/TopToggleList.js +0 -46
- package/dist/stories/components/TopToggleList/TopToggleList.stories.js +0 -52
- package/dist/stories/components/TopToggleList/TopToggleList.style.js +0 -51
- package/dist/stories/components/TotalBenchmark/TotalBenchmark.js +0 -97
- package/dist/stories/components/TotalBenchmark/TotalBenchmark.stories.js +0 -138
- package/dist/stories/components/TotalBenchmark/TotalBenchmark.style.js +0 -81
- package/dist/stories/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.js +0 -342
- package/dist/stories/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.stories.js +0 -343
- package/dist/stories/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.style.js +0 -171
- package/dist/stories/components/TotalBenchmarkArrows/TotalBenchmarkArrows.js +0 -149
- package/dist/stories/components/TotalBenchmarkArrows/TotalBenchmarkArrows.stories.js +0 -172
- package/dist/stories/components/TotalBenchmarkArrows/TotalBenchmarkArrows.style.js +0 -108
- package/dist/stories/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.js +0 -165
- package/dist/stories/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.stories.js +0 -185
- package/dist/stories/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.style.js +0 -77
- package/dist/stories/components/TotalDoughnutChart/TotalDoughnutChart.js +0 -186
- package/dist/stories/components/TotalDoughnutChart/TotalDoughnutChart.stories.js +0 -291
- package/dist/stories/components/TotalDoughnutChart/TotalDoughnutChart.style.js +0 -178
- package/dist/stories/components/TotalHorizontalCharts/TotalHorizontalCharts.js +0 -229
- package/dist/stories/components/TotalHorizontalCharts/TotalHorizontalCharts.stories.js +0 -228
- package/dist/stories/components/TotalHorizontalCharts/TotalHorizontalCharts.style.js +0 -58
- package/dist/stories/components/TspanTooltip/TspanTooltip.js +0 -33
- package/dist/stories/components/TspanTooltip/TspanTooltip.style.js +0 -105
- package/dist/stories/components/TwoBarCharts/TwoBarCharts.js +0 -204
- package/dist/stories/components/TwoBarCharts/TwoBarCharts.stories.js +0 -185
- package/dist/stories/components/TwoBarCharts/TwoBarCharts.style.js +0 -60
- package/dist/stories/icons/ArrowDownIcon.js +0 -27
- package/dist/stories/icons/ArrowDropDownIcon.js +0 -27
- package/dist/stories/icons/ArrowSelectIcon.js +0 -27
- package/dist/stories/icons/ArrowUpIcon.js +0 -27
- package/dist/stories/icons/AttachedIcon.js +0 -27
- package/dist/stories/icons/BellIcon.js +0 -27
- package/dist/stories/icons/Calendar.js +0 -20
- package/dist/stories/icons/CalendarIcon.js +0 -27
- package/dist/stories/icons/CalendarInOpen.js +0 -26
- package/dist/stories/icons/CheckBoxButtonCheckedIcon.js +0 -28
- package/dist/stories/icons/CheckBoxCheckedIcon.js +0 -28
- package/dist/stories/icons/CheckBoxNotCheckedIcon.js +0 -28
- package/dist/stories/icons/ChervronLeftIcon.js +0 -20
- package/dist/stories/icons/ChervronRightIcon.js +0 -20
- package/dist/stories/icons/ClockIcon.js +0 -27
- package/dist/stories/icons/CloseIcon.js +0 -27
- package/dist/stories/icons/CloseXIcon.js +0 -27
- package/dist/stories/icons/ComboBoxArrowDownIcon.js +0 -28
- package/dist/stories/icons/ComboBoxArrowUpIcon.js +0 -28
- package/dist/stories/icons/DocumentIcon.js +0 -48
- package/dist/stories/icons/DownloadIcon.js +0 -27
- package/dist/stories/icons/Duplicate.js +0 -28
- package/dist/stories/icons/ErrorIcon.js +0 -27
- package/dist/stories/icons/ExitIcon.js +0 -28
- package/dist/stories/icons/ExportIcon.js +0 -28
- package/dist/stories/icons/EyeIcon.js +0 -28
- package/dist/stories/icons/FileIcon.js +0 -27
- package/dist/stories/icons/FilterIcon.js +0 -36
- package/dist/stories/icons/FlyIcon.js +0 -28
- package/dist/stories/icons/FoodLionChartIcon.js +0 -42
- package/dist/stories/icons/FoodLionIcon.js +0 -3076
- package/dist/stories/icons/FoodLionNewIcon.js +0 -39
- package/dist/stories/icons/GiantFoodChartIcon.js +0 -40
- package/dist/stories/icons/GiantFoodIcon.js +0 -1976
- package/dist/stories/icons/GiantFoodIcon_new.js +0 -42
- package/dist/stories/icons/HannafordChartIcon.js +0 -40
- package/dist/stories/icons/HannafordIcon.js +0 -5017
- package/dist/stories/icons/HannafordIcon_new.js +0 -41
- package/dist/stories/icons/HannafordNewIcon.js +0 -213
- package/dist/stories/icons/InfoIcon.js +0 -28
- package/dist/stories/icons/LampIcon.js +0 -27
- package/dist/stories/icons/LegendLineIcon.js +0 -29
- package/dist/stories/icons/LegendUnionIcon.js +0 -29
- package/dist/stories/icons/MaintenanceIcon.js +0 -28
- package/dist/stories/icons/MenuItemClosedIcon.js +0 -28
- package/dist/stories/icons/MenuItemOpenIcon.js +0 -28
- package/dist/stories/icons/MenuItemRightIcon.js +0 -28
- package/dist/stories/icons/MenuItemUpIcon.js +0 -28
- package/dist/stories/icons/NoDataFoundIcon.js +0 -86
- package/dist/stories/icons/OptionsIcon.js +0 -27
- package/dist/stories/icons/SearchIcon.js +0 -27
- package/dist/stories/icons/ShoppingCartIcon.js +0 -45
- package/dist/stories/icons/ShoutIcon.js +0 -27
- package/dist/stories/icons/SpotlightProductIcon.js +0 -28
- package/dist/stories/icons/StopAndShopChartIcon.js +0 -42
- package/dist/stories/icons/StopAndShopIcon.js +0 -134
- package/dist/stories/icons/StopAndShopNewIcon.js +0 -41
- package/dist/stories/icons/SucceededIcon.js +0 -27
- package/dist/stories/icons/TheGiantCompanyChartIcon.js +0 -40
- package/dist/stories/icons/TheGiantCompanyIcon.js +0 -40
- package/dist/stories/icons/TheGiantCompanyNewIcon.js +0 -39
- package/dist/stories/utils/CommonFunctions.js +0 -83
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.default = exports.NoDataFoundMessage = void 0;
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var _NoDataFoundIcon = require("../../icons/NoDataFoundIcon");
|
|
10
|
-
var _NoDataFoundMessage = require("./NoDataFoundMessage.style");
|
|
11
|
-
/* NoDataFoundMessage */
|
|
12
|
-
const NoDataFoundMessage = props => {
|
|
13
|
-
const {
|
|
14
|
-
noDataText
|
|
15
|
-
} = props;
|
|
16
|
-
return /*#__PURE__*/_react.default.createElement(_NoDataFoundMessage.NoDataFoundContainer, {
|
|
17
|
-
id: "NoDataFoundContainer"
|
|
18
|
-
}, /*#__PURE__*/_react.default.createElement(_NoDataFoundIcon.NoDataFoundIcon, {
|
|
19
|
-
id: "NoDataFoundIcon"
|
|
20
|
-
}), /*#__PURE__*/_react.default.createElement(_NoDataFoundMessage.NoDataFoundTitle, {
|
|
21
|
-
id: "NoDataFoundTitle"
|
|
22
|
-
}, "No Data"), /*#__PURE__*/_react.default.createElement(_NoDataFoundMessage.NoDataFoundText, {
|
|
23
|
-
id: "NoDataFoundText"
|
|
24
|
-
}, noDataText));
|
|
25
|
-
};
|
|
26
|
-
exports.NoDataFoundMessage = NoDataFoundMessage;
|
|
27
|
-
NoDataFoundMessage.defaultProps = {
|
|
28
|
-
noDataText: ''
|
|
29
|
-
};
|
|
30
|
-
var _default = exports.default = NoDataFoundMessage;
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.default = exports.NoDataFound = void 0;
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var _NoDataFoundMessage = require("./NoDataFoundMessage");
|
|
10
|
-
const arrLegendData = [{
|
|
11
|
-
name: "Package Cost",
|
|
12
|
-
value: 30000,
|
|
13
|
-
color: "#85A1D2"
|
|
14
|
-
}, {
|
|
15
|
-
name: "Redemption Cost",
|
|
16
|
-
value: 6500,
|
|
17
|
-
color: "#9AE6FF"
|
|
18
|
-
}];
|
|
19
|
-
const arrLegendDat3rows = [{
|
|
20
|
-
name: "Package Cost",
|
|
21
|
-
value: 30000,
|
|
22
|
-
color: "#85A1D2"
|
|
23
|
-
}, {
|
|
24
|
-
name: "Existing Redeemers",
|
|
25
|
-
value: 6500,
|
|
26
|
-
color: "#9AE6FF"
|
|
27
|
-
}, {
|
|
28
|
-
name: "Others",
|
|
29
|
-
value: 20000,
|
|
30
|
-
color: "#FD5959"
|
|
31
|
-
}
|
|
32
|
-
// { name: "My test 2", value: 35000, color: "#79DB95"},
|
|
33
|
-
];
|
|
34
|
-
var _default = exports.default = {
|
|
35
|
-
title: "SAG BI/NoDataFoundMessage",
|
|
36
|
-
component: _NoDataFoundMessage.NoDataFoundMessage,
|
|
37
|
-
tags: ["autodocs"],
|
|
38
|
-
argTypes: {
|
|
39
|
-
width: {
|
|
40
|
-
name: "width",
|
|
41
|
-
control: {
|
|
42
|
-
type: "text"
|
|
43
|
-
},
|
|
44
|
-
description: "width of the control (in px / %)"
|
|
45
|
-
},
|
|
46
|
-
height: {
|
|
47
|
-
name: "height",
|
|
48
|
-
control: {
|
|
49
|
-
type: "text"
|
|
50
|
-
},
|
|
51
|
-
description: "height of the control (in px / %)"
|
|
52
|
-
},
|
|
53
|
-
noDataText: {
|
|
54
|
-
name: "noDataText",
|
|
55
|
-
control: {
|
|
56
|
-
type: "text"
|
|
57
|
-
},
|
|
58
|
-
description: "text to display when no data found"
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
};
|
|
62
|
-
const NoDataFound = exports.NoDataFound = {
|
|
63
|
-
args: {
|
|
64
|
-
noDataText: "The selected event is a TPR or has no offer, therefore there are no redemptions or redemption units to display."
|
|
65
|
-
}
|
|
66
|
-
};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.NoDataFoundTitle = exports.NoDataFoundText = exports.NoDataFoundContainer = void 0;
|
|
8
|
-
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
9
|
-
const NoDataFoundContainer = exports.NoDataFoundContainer = _styledComponents.default.div`
|
|
10
|
-
font-family: "Poppins", sans-serif;
|
|
11
|
-
font-style: normal;
|
|
12
|
-
font-weight: 400;
|
|
13
|
-
display: flex;
|
|
14
|
-
flex-direction: column;
|
|
15
|
-
align-items: center;
|
|
16
|
-
`;
|
|
17
|
-
const NoDataFoundTitle = exports.NoDataFoundTitle = _styledComponents.default.h4`
|
|
18
|
-
font-weight: 600;
|
|
19
|
-
font-size: 18px;
|
|
20
|
-
margin: 0;
|
|
21
|
-
margin-top: 20px;
|
|
22
|
-
padding-right: 14px;
|
|
23
|
-
@media (max-width: 1366px) {
|
|
24
|
-
font-size: 14px;
|
|
25
|
-
}
|
|
26
|
-
`;
|
|
27
|
-
const NoDataFoundText = exports.NoDataFoundText = _styledComponents.default.p`
|
|
28
|
-
font-weight: 400;
|
|
29
|
-
font-size: 16px;
|
|
30
|
-
margin: 0;
|
|
31
|
-
margin-top: 0.4rem;
|
|
32
|
-
text-align: center;
|
|
33
|
-
@media (max-width: 1536px) {
|
|
34
|
-
font-size: 14px;
|
|
35
|
-
}
|
|
36
|
-
@media (max-width: 1366px) {
|
|
37
|
-
font-size: 10px;
|
|
38
|
-
}
|
|
39
|
-
`;
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.default = exports.OneColumnContainer = void 0;
|
|
9
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
10
|
-
var _classnames = _interopRequireDefault(require("classnames"));
|
|
11
|
-
var _reactLoadingSkeleton = _interopRequireWildcard(require("react-loading-skeleton"));
|
|
12
|
-
var _InfoIcon = require("../../icons/InfoIcon");
|
|
13
|
-
var _ExportIcon = require("../../icons/ExportIcon");
|
|
14
|
-
var _OneColumnContainer = require("./OneColumnContainer.style");
|
|
15
|
-
require("react-loading-skeleton/dist/skeleton.css");
|
|
16
|
-
const OneColumnContainer = props => {
|
|
17
|
-
const {
|
|
18
|
-
children,
|
|
19
|
-
display,
|
|
20
|
-
isLoading,
|
|
21
|
-
gridTemplateColumns,
|
|
22
|
-
itemClass,
|
|
23
|
-
divStyle,
|
|
24
|
-
overStyle,
|
|
25
|
-
draggingStyle,
|
|
26
|
-
droppedStyle,
|
|
27
|
-
width,
|
|
28
|
-
height,
|
|
29
|
-
overflow,
|
|
30
|
-
infoTitle,
|
|
31
|
-
infoText,
|
|
32
|
-
disableInfo,
|
|
33
|
-
showViewByBannerButton,
|
|
34
|
-
onBannerClick,
|
|
35
|
-
columnTitle
|
|
36
|
-
} = props;
|
|
37
|
-
const [hover, setHover] = (0, _react.useState)(false);
|
|
38
|
-
const [offsetWidth, setOffsetWidth] = (0, _react.useState)(200);
|
|
39
|
-
const nodeRef = (0, _react.useRef)(null);
|
|
40
|
-
const anotherRef = (0, _react.useRef)(null);
|
|
41
|
-
(0, _react.useEffect)(() => {
|
|
42
|
-
var _anotherRef$current;
|
|
43
|
-
setOffsetWidth(anotherRef === null || anotherRef === void 0 ? void 0 : (_anotherRef$current = anotherRef.current) === null || _anotherRef$current === void 0 ? void 0 : _anotherRef$current.offsetWidth);
|
|
44
|
-
}, [anotherRef]);
|
|
45
|
-
return /*#__PURE__*/_react.default.createElement(_OneColumnContainer.StyledContainer, {
|
|
46
|
-
className: (0, _classnames.default)('OneColumnContainer', itemClass, overStyle, draggingStyle, children && droppedStyle, divStyle),
|
|
47
|
-
width: width,
|
|
48
|
-
height: height,
|
|
49
|
-
overflow: overflow
|
|
50
|
-
}, /*#__PURE__*/_react.default.createElement(_OneColumnContainer.OneColumnContainerMainDiv, {
|
|
51
|
-
className: "OneColumnContainerMainDiv",
|
|
52
|
-
width: width,
|
|
53
|
-
height: height,
|
|
54
|
-
display: display,
|
|
55
|
-
gridTemplateColumns: gridTemplateColumns,
|
|
56
|
-
ref: nodeRef
|
|
57
|
-
}, !isLoading && columnTitle && !hover && /*#__PURE__*/_react.default.createElement(_OneColumnContainer.ColumnTitle, {
|
|
58
|
-
className: "ColumnTitle"
|
|
59
|
-
}, columnTitle), !isLoading && showViewByBannerButton && !hover && /*#__PURE__*/_react.default.createElement(_OneColumnContainer.BannerContainer, {
|
|
60
|
-
className: "BannerContainer",
|
|
61
|
-
right: disableInfo ? '20px' : '45px'
|
|
62
|
-
}, /*#__PURE__*/_react.default.createElement(_OneColumnContainer.OutBanner, {
|
|
63
|
-
className: "OutBanner",
|
|
64
|
-
onClick: () => onBannerClick({
|
|
65
|
-
eventName: 'onBannerClick'
|
|
66
|
-
})
|
|
67
|
-
}, /*#__PURE__*/_react.default.createElement(_ExportIcon.ExportIcon, null), "By Banner")), !isLoading && !hover && children, !disableInfo && !isLoading && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_OneColumnContainer.IconContainer, {
|
|
68
|
-
className: "IconContainer",
|
|
69
|
-
onMouseEnter: () => setHover(true),
|
|
70
|
-
onMouseLeave: () => setHover(false)
|
|
71
|
-
}, /*#__PURE__*/_react.default.createElement(_InfoIcon.InfoIcon, null)), hover && /*#__PURE__*/_react.default.createElement(_OneColumnContainer.InfoTextContainer, {
|
|
72
|
-
className: "InfoTextContainer"
|
|
73
|
-
}, infoTitle && /*#__PURE__*/_react.default.createElement(_OneColumnContainer.InfoTitleLabel, {
|
|
74
|
-
className: "InfoTitleLabel",
|
|
75
|
-
dangerouslySetInnerHTML: {
|
|
76
|
-
__html: infoTitle
|
|
77
|
-
}
|
|
78
|
-
}), /*#__PURE__*/_react.default.createElement(_OneColumnContainer.InfoTextLabel, {
|
|
79
|
-
className: "InfoTextLabel",
|
|
80
|
-
dangerouslySetInnerHTML: {
|
|
81
|
-
__html: infoText
|
|
82
|
-
}
|
|
83
|
-
}))), isLoading && /*#__PURE__*/_react.default.createElement(_OneColumnContainer.LoadingDiv, {
|
|
84
|
-
className: "loadingDiv"
|
|
85
|
-
}, /*#__PURE__*/_react.default.createElement(_reactLoadingSkeleton.SkeletonTheme, {
|
|
86
|
-
baseColor: "#EAEAEA"
|
|
87
|
-
}, /*#__PURE__*/_react.default.createElement(_reactLoadingSkeleton.default, {
|
|
88
|
-
enableAnimation: true,
|
|
89
|
-
width: (offsetWidth !== null && offsetWidth !== void 0 ? offsetWidth : 200) * 0.76,
|
|
90
|
-
height: 45,
|
|
91
|
-
containerClassName: "avatar-skeleton"
|
|
92
|
-
}), /*#__PURE__*/_react.default.createElement(_reactLoadingSkeleton.default, {
|
|
93
|
-
enableAnimation: true,
|
|
94
|
-
count: 4,
|
|
95
|
-
width: (offsetWidth !== null && offsetWidth !== void 0 ? offsetWidth : 200) * 0.76,
|
|
96
|
-
height: 10,
|
|
97
|
-
containerClassName: "avatar-skeleton"
|
|
98
|
-
})))));
|
|
99
|
-
};
|
|
100
|
-
exports.OneColumnContainer = OneColumnContainer;
|
|
101
|
-
OneColumnContainer.defaultProps = {
|
|
102
|
-
children: '',
|
|
103
|
-
display: 'block',
|
|
104
|
-
isLoading: '',
|
|
105
|
-
gridTemplateColumns: '',
|
|
106
|
-
itemClass: '',
|
|
107
|
-
divStyle: '',
|
|
108
|
-
overStyle: '',
|
|
109
|
-
draggingStyle: '',
|
|
110
|
-
droppedStyle: '',
|
|
111
|
-
width: '300px',
|
|
112
|
-
height: '300px',
|
|
113
|
-
overflow: 'hidden',
|
|
114
|
-
infoTitle: '',
|
|
115
|
-
infoText: '',
|
|
116
|
-
disableInfo: false,
|
|
117
|
-
showViewByBannerButton: false,
|
|
118
|
-
onBannerClick: () => {},
|
|
119
|
-
columnTitle: ''
|
|
120
|
-
};
|
|
121
|
-
var _default = exports.default = OneColumnContainer;
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = exports.WithBarComponent = exports.Skeleton = exports.ShowViewByBannerAndInfo = exports.ShowViewByBanner = exports.ShowOnlyInfo = exports.ShowColumnTitleAndInfo = exports.DisableInfo = void 0;
|
|
7
|
-
var _OneColumnContainer = require("./OneColumnContainer");
|
|
8
|
-
var _TotalHorizontalCharts = require("../TotalHorizontalCharts/TotalHorizontalCharts");
|
|
9
|
-
// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
|
|
10
|
-
var _default = exports.default = {
|
|
11
|
-
title: 'Sag BI/OneColumnContainer',
|
|
12
|
-
component: _OneColumnContainer.OneColumnContainer,
|
|
13
|
-
tags: ['autodocs']
|
|
14
|
-
}; // More on writing stories with args: https://storybook.js.org/docs/react/writing-stories/args
|
|
15
|
-
const Skeleton = exports.Skeleton = {
|
|
16
|
-
args: {
|
|
17
|
-
isLoading: true,
|
|
18
|
-
infoTitle: '<i>Total Cost</i>',
|
|
19
|
-
infoText: '<i><strong>Total Cost </strong><p1>is calculated by adding Redemption Cost and Package Costs/Participation Fees only.</p1> <br> <br> <strong>Please note!</strong> <p1>When selecting either “Ecomm” or “In-store” from the “Store Type” filter, the “Total Cost” will not change. The Total Cost listed and shown in the pie chart, will be for the whole event, regardless of filtering to Ecomm or In-store.</p1></i> ',
|
|
20
|
-
width: '300px',
|
|
21
|
-
height: '300px',
|
|
22
|
-
disableInfo: true,
|
|
23
|
-
showViewByBannerButton: false,
|
|
24
|
-
overflow: 'hidden'
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
const DisableInfo = exports.DisableInfo = {
|
|
28
|
-
args: {
|
|
29
|
-
isLoading: false,
|
|
30
|
-
infoTitle: 'Total Cost',
|
|
31
|
-
infoText: '<i><strong>Total Cost </strong><p1>is calculated by adding Redemption Cost and Package Costs/Participation Fees only.</p1> <br> <br> <strong>Please note!</strong> <p1>When selecting either “Ecomm” or “In-store” from the “Store Type” filter, the “Total Cost” will not change. The Total Cost listed and shown in the pie chart, will be for the whole event, regardless of filtering to Ecomm or In-store.</p1></i> ',
|
|
32
|
-
width: '300px',
|
|
33
|
-
height: '300px',
|
|
34
|
-
disableInfo: true,
|
|
35
|
-
showViewByBannerButton: false,
|
|
36
|
-
overflow: 'hidden'
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
const ShowViewByBanner = exports.ShowViewByBanner = {
|
|
40
|
-
args: {
|
|
41
|
-
isLoading: false,
|
|
42
|
-
infoTitle: 'Total Cost',
|
|
43
|
-
infoText: '<i><strong>Total Cost </strong><p1>is calculated by adding Redemption Cost and Package Costs/Participation Fees only.</p1> <br> <br> <strong>Please note!</strong> <p1>When selecting either “Ecomm” or “In-store” from the “Store Type” filter, the “Total Cost” will not change. The Total Cost listed and shown in the pie chart, will be for the whole event, regardless of filtering to Ecomm or In-store.</p1></i> ',
|
|
44
|
-
width: '300px',
|
|
45
|
-
height: '300px',
|
|
46
|
-
disableInfo: true,
|
|
47
|
-
showViewByBannerButton: true,
|
|
48
|
-
overflow: 'hidden'
|
|
49
|
-
}
|
|
50
|
-
};
|
|
51
|
-
const ShowViewByBannerAndInfo = exports.ShowViewByBannerAndInfo = {
|
|
52
|
-
args: {
|
|
53
|
-
isLoading: false,
|
|
54
|
-
infoTitle: 'Total Cost',
|
|
55
|
-
infoText: '<i><strong>Total Cost </strong><p1>is calculated by adding Redemption Cost and Package Costs/Participation Fees only.</p1> <br> <br> <strong>Please note!</strong> <p1>When selecting either “Ecomm” or “In-store” from the “Store Type” filter, the “Total Cost” will not change. The Total Cost listed and shown in the pie chart, will be for the whole event, regardless of filtering to Ecomm or In-store.</p1></i> ',
|
|
56
|
-
width: '300px',
|
|
57
|
-
height: '300px',
|
|
58
|
-
disableInfo: false,
|
|
59
|
-
showViewByBannerButton: true,
|
|
60
|
-
overflow: 'hidden'
|
|
61
|
-
}
|
|
62
|
-
};
|
|
63
|
-
const ShowOnlyInfo = exports.ShowOnlyInfo = {
|
|
64
|
-
args: {
|
|
65
|
-
isLoading: false,
|
|
66
|
-
infoTitle: 'Total Cost',
|
|
67
|
-
infoText: '<i><strong>Total Cost </strong><p1>is calculated by adding Redemption Cost and Package Costs/Participation Fees only.</p1> <br> <br> <strong>Please note!</strong> <p1>When selecting either “Ecomm” or “In-store” from the “Store Type” filter, the “Total Cost” will not change. The Total Cost listed and shown in the pie chart, will be for the whole event, regardless of filtering to Ecomm or In-store.</p1></i> ',
|
|
68
|
-
width: '300px',
|
|
69
|
-
height: '300px',
|
|
70
|
-
disableInfo: false,
|
|
71
|
-
showViewByBannerButton: false,
|
|
72
|
-
overflow: 'hidden'
|
|
73
|
-
}
|
|
74
|
-
};
|
|
75
|
-
const ShowColumnTitleAndInfo = exports.ShowColumnTitleAndInfo = {
|
|
76
|
-
args: {
|
|
77
|
-
isLoading: false,
|
|
78
|
-
infoTitle: 'Total Cost',
|
|
79
|
-
infoText: '<i><strong>Total Cost </strong><p1>is calculated by adding Redemption Cost and Package Costs/Participation Fees only.</p1> <br> <br> <strong>Please note!</strong> <p1>When selecting either “Ecomm” or “In-store” from the “Store Type” filter, the “Total Cost” will not change. The Total Cost listed and shown in the pie chart, will be for the whole event, regardless of filtering to Ecomm or In-store.The Total Cost listed and shown in the pie chart, will be for the whole event, regardless of filtering to Ecomm or In-store. </p1></i> ',
|
|
80
|
-
width: '500px',
|
|
81
|
-
height: '300px',
|
|
82
|
-
disableInfo: false,
|
|
83
|
-
showViewByBannerButton: false,
|
|
84
|
-
overflow: 'hidden',
|
|
85
|
-
columnTitle: 'Avg. Products Category Penetration'
|
|
86
|
-
}
|
|
87
|
-
};
|
|
88
|
-
const WithBarComponent = exports.WithBarComponent = {
|
|
89
|
-
args: {
|
|
90
|
-
isLoading: false,
|
|
91
|
-
infoTitle: 'Total Cost',
|
|
92
|
-
infoText: '<i><strong>Total Cost </strong><p1>is calculated by adding Redemption Cost and Package Costs/Participation Fees only.</p1> <br> <br> <strong>Please note!</strong> <p1>When selecting either “Ecomm” or “In-store” from the “Store Type” filter, the “Total Cost” will not change. The Total Cost listed and shown in the pie chart, will be for the whole event, regardless of filtering to Ecomm or In-store.The Total Cost listed and shown in the pie chart, will be for the whole event, regardless of filtering to Ecomm or In-store. </p1></i> ',
|
|
93
|
-
width: '500px',
|
|
94
|
-
height: '300px',
|
|
95
|
-
disableInfo: false,
|
|
96
|
-
showViewByBannerButton: false,
|
|
97
|
-
overflow: 'hidden',
|
|
98
|
-
children: /*#__PURE__*/React.createElement(_TotalHorizontalCharts.TotalHorizontalCharts, {
|
|
99
|
-
chartsData: [{
|
|
100
|
-
name: 'MTN DEW GE-SODA',
|
|
101
|
-
value: 166898.22,
|
|
102
|
-
color: 'rgba(31, 118, 119, 0.6)'
|
|
103
|
-
}, {
|
|
104
|
-
name: 'CHEETOS GE-CHIPS, SNACKS',
|
|
105
|
-
value: 33380.98,
|
|
106
|
-
color: 'rgba(31, 118, 119, 0.9)'
|
|
107
|
-
}, {
|
|
108
|
-
name: 'CHEETOS SNACKING',
|
|
109
|
-
value: 12940.18,
|
|
110
|
-
color: 'rgba(31, 118, 119, 0.8)'
|
|
111
|
-
}, {
|
|
112
|
-
name: 'LAMB WESTON FF-POTATOES ONIONS',
|
|
113
|
-
value: -666828.24,
|
|
114
|
-
color: 'rgba(31, 118, 119, 0.7)'
|
|
115
|
-
}]
|
|
116
|
-
}),
|
|
117
|
-
columnTitle: 'Avg. Products Category Penetration'
|
|
118
|
-
}
|
|
119
|
-
};
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.StyledContainer = exports.OutBanner = exports.OneColumnContainerMainDiv = exports.LoadingDiv = exports.InfoTitleLabel = exports.InfoTextLabel = exports.InfoTextContainer = exports.IconContainer = exports.ColumnTitle = exports.BannerContainer = void 0;
|
|
8
|
-
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
9
|
-
const StyledContainer = exports.StyledContainer = _styledComponents.default.div`
|
|
10
|
-
font-family: "Poppins", sans-serif;
|
|
11
|
-
width: ${props => props.width};
|
|
12
|
-
height: ${props => props.height};
|
|
13
|
-
overflow: ${props => props.overflow};
|
|
14
|
-
display: flex;
|
|
15
|
-
position: relative;
|
|
16
|
-
align-items: center;
|
|
17
|
-
justify-content: center;
|
|
18
|
-
border-radius: 10px;
|
|
19
|
-
background-color: white;
|
|
20
|
-
box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
|
|
21
|
-
`;
|
|
22
|
-
const OneColumnContainerMainDiv = exports.OneColumnContainerMainDiv = _styledComponents.default.div`
|
|
23
|
-
position: relative;
|
|
24
|
-
/* align-items: flex-start; */
|
|
25
|
-
justify-content: center;
|
|
26
|
-
background-color: white;
|
|
27
|
-
width: ${props => props.width};
|
|
28
|
-
height: ${props => props.height};
|
|
29
|
-
display: ${props => props.display};
|
|
30
|
-
grid-template-columns: ${props => props.gridTemplateColumns};
|
|
31
|
-
> * {
|
|
32
|
-
box-sizing: border-box;
|
|
33
|
-
}
|
|
34
|
-
`;
|
|
35
|
-
const InfoTextContainer = exports.InfoTextContainer = _styledComponents.default.div`
|
|
36
|
-
background: white;
|
|
37
|
-
overflow: auto;
|
|
38
|
-
padding: 20px;
|
|
39
|
-
box-sizing: border-box;
|
|
40
|
-
`;
|
|
41
|
-
const InfoTitleLabel = exports.InfoTitleLabel = _styledComponents.default.div`
|
|
42
|
-
font-weight: 600;
|
|
43
|
-
color: black;
|
|
44
|
-
margin: 0px 0px 10px 0px;
|
|
45
|
-
font-size: 18px;
|
|
46
|
-
line-height: 32px;
|
|
47
|
-
`;
|
|
48
|
-
const InfoTextLabel = exports.InfoTextLabel = _styledComponents.default.div`
|
|
49
|
-
color: black;
|
|
50
|
-
font-size: 14px;
|
|
51
|
-
line-height: 20px;
|
|
52
|
-
font-weight: 400;
|
|
53
|
-
`;
|
|
54
|
-
const ColumnTitle = exports.ColumnTitle = _styledComponents.default.span`
|
|
55
|
-
color: black;
|
|
56
|
-
display: inline-block;
|
|
57
|
-
font-size: 20px;
|
|
58
|
-
font-weight: 500;
|
|
59
|
-
padding: 20px 20px 0;
|
|
60
|
-
`;
|
|
61
|
-
const IconContainer = exports.IconContainer = _styledComponents.default.div`
|
|
62
|
-
width: 20px;
|
|
63
|
-
height: 20px;
|
|
64
|
-
top: 10px;
|
|
65
|
-
right: 10px;
|
|
66
|
-
position: absolute;
|
|
67
|
-
`;
|
|
68
|
-
const LoadingDiv = exports.LoadingDiv = _styledComponents.default.div`
|
|
69
|
-
height: 100%;
|
|
70
|
-
display: flex;
|
|
71
|
-
flex-direction: column;
|
|
72
|
-
justify-content: center;
|
|
73
|
-
text-align: center;
|
|
74
|
-
gap: 10px;
|
|
75
|
-
`;
|
|
76
|
-
const BannerContainer = exports.BannerContainer = _styledComponents.default.div`
|
|
77
|
-
position: absolute;
|
|
78
|
-
z-index: 99;
|
|
79
|
-
top: 18px;
|
|
80
|
-
right: ${props => props.right};
|
|
81
|
-
user-select: none;
|
|
82
|
-
`;
|
|
83
|
-
const OutBanner = exports.OutBanner = _styledComponents.default.div`
|
|
84
|
-
display: flex;
|
|
85
|
-
justify-content: flex-end;
|
|
86
|
-
align-items: center;
|
|
87
|
-
gap: 8px;
|
|
88
|
-
font-size: 14px;
|
|
89
|
-
font-weight: 400;
|
|
90
|
-
color: ${props => props.textColor};
|
|
91
|
-
cursor: pointer;
|
|
92
|
-
@media (max-width: 1536px) {
|
|
93
|
-
font-size: 13px;
|
|
94
|
-
}
|
|
95
|
-
> svg {
|
|
96
|
-
width: 14px;
|
|
97
|
-
height: 14px;
|
|
98
|
-
@media (max-width: 1536px) {
|
|
99
|
-
width: 13px;
|
|
100
|
-
height: 13px;
|
|
101
|
-
}
|
|
102
|
-
@media (max-width: 1366px) {
|
|
103
|
-
width: 12px;
|
|
104
|
-
height: 12px;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
`;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.default = void 0;
|
|
9
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
10
|
-
var _SagInput = _interopRequireDefault(require("../SagInput/SagInput"));
|
|
11
|
-
var _PageFilterBar = require("./PageFilterBar.style");
|
|
12
|
-
const PageFilterBar = props => {
|
|
13
|
-
const {
|
|
14
|
-
pageHeadline
|
|
15
|
-
} = props;
|
|
16
|
-
return /*#__PURE__*/_react.default.createElement(_PageFilterBar.BarContainer, null, /*#__PURE__*/_react.default.createElement(_PageFilterBar.Headline, null, pageHeadline), /*#__PURE__*/_react.default.createElement(_SagInput.default, {
|
|
17
|
-
inputType: "search"
|
|
18
|
-
}));
|
|
19
|
-
};
|
|
20
|
-
var _default = exports.default = PageFilterBar;
|
|
21
|
-
PageFilterBar.defaultProps = {
|
|
22
|
-
pageHeadline: ''
|
|
23
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.default = exports.OffersPage = void 0;
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var _PageFilterBar = _interopRequireDefault(require("./PageFilterBar"));
|
|
10
|
-
var _default = exports.default = {
|
|
11
|
-
title: 'Sag Campaign Tool/PageFilterBar',
|
|
12
|
-
component: _PageFilterBar.default,
|
|
13
|
-
argTypes: {
|
|
14
|
-
pageHeadline: {
|
|
15
|
-
name: 'Headline Text',
|
|
16
|
-
control: {
|
|
17
|
-
type: 'text'
|
|
18
|
-
},
|
|
19
|
-
description: 'Headline text',
|
|
20
|
-
defaultValue: ''
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
const OffersPage = exports.OffersPage = {
|
|
25
|
-
args: {
|
|
26
|
-
pageHeadline: 'Offers'
|
|
27
|
-
}
|
|
28
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.Headline = exports.BarContainer = void 0;
|
|
8
|
-
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
9
|
-
const BarContainer = exports.BarContainer = _styledComponents.default.div`
|
|
10
|
-
font-family: "Poppins", sans-serif;
|
|
11
|
-
position: relative;
|
|
12
|
-
padding: 10px;
|
|
13
|
-
display: flex;
|
|
14
|
-
align-items: center;
|
|
15
|
-
justify-content: space-between;
|
|
16
|
-
background-color: white;
|
|
17
|
-
`;
|
|
18
|
-
const Headline = exports.Headline = _styledComponents.default.h1`
|
|
19
|
-
font-size: 20px;
|
|
20
|
-
font-weight: 500;
|
|
21
|
-
margin: 0;
|
|
22
|
-
`;
|