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.
Files changed (319) hide show
  1. package/dist/Button.test.js +10 -10
  2. package/dist/LinkButton.test.js +10 -10
  3. package/dist/SingleBar.test.js +2 -2
  4. package/dist/index.js +1 -1
  5. package/dist/stories/CampaignTool/PopupContent.stories.js +284 -0
  6. package/dist/stories/components/BannerEventBoxTest.js +42 -0
  7. package/dist/stories/components/BannerEventBoxTest.style.js +11 -0
  8. package/dist/stories/components/BarChartsByWeeks.js +3 -0
  9. package/dist/stories/components/CommonFunctions.js +1 -2
  10. package/dist/stories/components/FilterButton.js +53 -0
  11. package/dist/stories/components/FilterButton.style.js +12 -0
  12. package/dist/stories/components/FormattedValue.js +3 -2
  13. package/dist/stories/components/NewInput.js +33 -0
  14. package/dist/stories/components/NewInput.style.js +13 -0
  15. package/dist/stories/components/QuickFilterDropdownMultiSelection.js +1 -1
  16. package/dist/stories/components/QuickFilterDropdownSingle.js +1 -1
  17. package/dist/stories/components/icons/TheGiantCompanyIcon_old.js +1831 -0
  18. package/package.json +1 -1
  19. package/dist/stories/components/AttachedFile/AttachedFile.js +0 -62
  20. package/dist/stories/components/AttachedFile/AttachedFile.stories.js +0 -36
  21. package/dist/stories/components/AttachedFile/AttachedFile.style.js +0 -48
  22. package/dist/stories/components/BannerEventBox/BannerEventBox.js +0 -97
  23. package/dist/stories/components/BannerEventBox/BannerEventBox.stories.js +0 -58
  24. package/dist/stories/components/BannerEventBox/BannerEventBox.style.js +0 -78
  25. package/dist/stories/components/BannerEventBoxList/BannerEventBoxList.js +0 -153
  26. package/dist/stories/components/BannerEventBoxList/BannerEventBoxList.stories.js +0 -59
  27. package/dist/stories/components/BannerEventBoxList/BannerEventBoxList.style.js +0 -189
  28. package/dist/stories/components/BannersDropdown/BannersDropdown.js +0 -115
  29. package/dist/stories/components/BannersDropdown/BannersDropdown.stories.js +0 -64
  30. package/dist/stories/components/BannersDropdown/BannersDropdown.style.js +0 -99
  31. package/dist/stories/components/BarChart/BarChart.js +0 -191
  32. package/dist/stories/components/BarChart/BarChart.stories.js +0 -153
  33. package/dist/stories/components/BarChart/BarChart.style.js +0 -60
  34. package/dist/stories/components/BarChartTwoRows/BarChartTwoRows.js +0 -213
  35. package/dist/stories/components/BarChartTwoRows/BarChartTwoRows.stories.js +0 -259
  36. package/dist/stories/components/BarChartTwoRows/BarChartTwoRows.style.js +0 -79
  37. package/dist/stories/components/BarChartsByWeeks/BarChartsByWeeks.js +0 -299
  38. package/dist/stories/components/BarChartsByWeeks/BarChartsByWeeks.stories.js +0 -442
  39. package/dist/stories/components/BarChartsByWeeks/BarChartsByWeeks.style.js +0 -96
  40. package/dist/stories/components/Benchmark/Benchmark.js +0 -130
  41. package/dist/stories/components/Benchmark/Benchmark.stories.js +0 -148
  42. package/dist/stories/components/Benchmark/Benchmark.style.js +0 -61
  43. package/dist/stories/components/Button/Button.js +0 -217
  44. package/dist/stories/components/Button/Button.stories.js +0 -269
  45. package/dist/stories/components/Button/Button.style.js +0 -90
  46. package/dist/stories/components/CampaignDemoReport/CampaignDemoReport.js +0 -48
  47. package/dist/stories/components/CampaignDemoReport/CampaignDemoReport.stories.js +0 -65
  48. package/dist/stories/components/CampaignDemoReport/CampaignDemoReport.style.js +0 -48
  49. package/dist/stories/components/Card/Card.js +0 -72
  50. package/dist/stories/components/Card/Card.stories.js +0 -92
  51. package/dist/stories/components/Card/Card.style.js +0 -65
  52. package/dist/stories/components/CheckBox/CheckBox.js +0 -76
  53. package/dist/stories/components/CheckBox/CheckBox.stories.js +0 -107
  54. package/dist/stories/components/CheckBox/CheckBox.style.js +0 -36
  55. package/dist/stories/components/CheckBoxButton/CheckBoxButton.js +0 -69
  56. package/dist/stories/components/CheckBoxButton/CheckBoxButton.stories.js +0 -150
  57. package/dist/stories/components/CheckBoxButton/CheckBoxButton.style.js +0 -39
  58. package/dist/stories/components/CodeEditor/CodeEditor.js +0 -43
  59. package/dist/stories/components/CodeEditor/CodeEditor.style.js +0 -13
  60. package/dist/stories/components/CollapseData/CollapseData.js +0 -66
  61. package/dist/stories/components/CollapseData/CollapseData.stories.js +0 -125
  62. package/dist/stories/components/CollapseData/CollapseData.style.js +0 -127
  63. package/dist/stories/components/CollapseHeader/CollapseHeader.js +0 -249
  64. package/dist/stories/components/CollapseHeader/CollapseHeader.stories.js +0 -116
  65. package/dist/stories/components/CollapseHeader/CollapseHeader.style.js +0 -200
  66. package/dist/stories/components/CollapseMenuItem/CollapseMenuItem.js +0 -61
  67. package/dist/stories/components/CollapseMenuItem/CollapseMenuItem.stories.js +0 -161
  68. package/dist/stories/components/CollapseMenuItem/CollapseMenuItem.style.js +0 -61
  69. package/dist/stories/components/Datepicker/Datepicker.js +0 -148
  70. package/dist/stories/components/Datepicker/Datepicker.stories.js +0 -86
  71. package/dist/stories/components/Datepicker/Datepicker.style.js +0 -19
  72. package/dist/stories/components/DownloadProgress/DownloadProgress.js +0 -97
  73. package/dist/stories/components/DownloadProgress/DownloadProgress.stories.js +0 -111
  74. package/dist/stories/components/DownloadProgress/DownloadProgress.style.js +0 -51
  75. package/dist/stories/components/Dropdown/Dropdown.js +0 -231
  76. package/dist/stories/components/Dropdown/Dropdown.stories.js +0 -323
  77. package/dist/stories/components/Dropdown/Dropdown.style.js +0 -17
  78. package/dist/stories/components/DropdownMulti/DropdownMulti.js +0 -290
  79. package/dist/stories/components/DropdownMulti/DropdownMulti.stories.js +0 -220
  80. package/dist/stories/components/DropdownMulti/DropdownMulti.style.js +0 -11
  81. package/dist/stories/components/DropdownMultiNew/DropdownMultiNew.js +0 -292
  82. package/dist/stories/components/DropdownMultiNew/DropdownMultiNew.style.js +0 -216
  83. package/dist/stories/components/DropdownNew/DropdownNew.js +0 -98
  84. package/dist/stories/components/DropdownNew/DropdownNew.stories.js +0 -416
  85. package/dist/stories/components/DropdownNew/DropdownNew.style.js +0 -21
  86. package/dist/stories/components/DropdownSingleNew/DropdownSingleNew.js +0 -254
  87. package/dist/stories/components/DropdownSingleNew/DropdownSingleNew.style.js +0 -187
  88. package/dist/stories/components/EventDetailsCard/EventDetailsCard.js +0 -144
  89. package/dist/stories/components/EventDetailsCard/EventDetailsCard.stories.js +0 -57
  90. package/dist/stories/components/EventDetailsCard/EventDetailsCard.style.js +0 -94
  91. package/dist/stories/components/EventList/EventList.js +0 -61
  92. package/dist/stories/components/EventList/EventList.stories.js +0 -84
  93. package/dist/stories/components/EventList/EventList.style.js +0 -38
  94. package/dist/stories/components/EventListItem/EventListItem.js +0 -50
  95. package/dist/stories/components/EventListItem/EventListItem.stories.js +0 -65
  96. package/dist/stories/components/EventListItem/EventListItem.style.js +0 -47
  97. package/dist/stories/components/FilterContainer/FilterContainer.js +0 -29
  98. package/dist/stories/components/FilterContainer/FilterContainer.stories.js +0 -23
  99. package/dist/stories/components/FilterContainer/FilterContainer.style.js +0 -30
  100. package/dist/stories/components/FilterPanel/FilterPanel.js +0 -571
  101. package/dist/stories/components/FilterPanel/FilterPanel.stories.js +0 -967
  102. package/dist/stories/components/FilterPanel/FilterPanel.style.js +0 -89
  103. package/dist/stories/components/FormInput/FormInput.js +0 -41
  104. package/dist/stories/components/FormSelect/FormSelect.js +0 -42
  105. package/dist/stories/components/FormattedValue/FormattedValue.js +0 -68
  106. package/dist/stories/components/FormattedValue/FormattedValue.stories.js +0 -189
  107. package/dist/stories/components/FormattedValue/FormattedValue.style.js +0 -91
  108. package/dist/stories/components/IconButton/IconButton.js +0 -147
  109. package/dist/stories/components/IconButton/IconButton.stories.js +0 -131
  110. package/dist/stories/components/IconButton/IconButton.style.js +0 -64
  111. package/dist/stories/components/Input/Input.js +0 -183
  112. package/dist/stories/components/Input/Input.stories.js +0 -434
  113. package/dist/stories/components/Input/Input.style.js +0 -130
  114. package/dist/stories/components/InputOld/InputOld.js +0 -90
  115. package/dist/stories/components/InputOld/InputOld.stories.js +0 -100
  116. package/dist/stories/components/InputOld/InputOld.style.js +0 -69
  117. package/dist/stories/components/KpiFilter/KpiFilter.js +0 -330
  118. package/dist/stories/components/KpiFilter/KpiFilter.stories.js +0 -380
  119. package/dist/stories/components/KpiFilter/KpiFilter.style.js +0 -132
  120. package/dist/stories/components/LinkButton/LinkButton.js +0 -207
  121. package/dist/stories/components/LinkButton/LinkButton.stories.js +0 -180
  122. package/dist/stories/components/LinkButton/LinkButton.style.js +0 -53
  123. package/dist/stories/components/LinnerDataBox/LinnerDataBox.js +0 -46
  124. package/dist/stories/components/LinnerDataBox/LinnerDataBox.stories.js +0 -78
  125. package/dist/stories/components/LinnerDataBox/LinnerDataBox.style.js +0 -68
  126. package/dist/stories/components/ListBox/ListBox.js +0 -82
  127. package/dist/stories/components/ListBox/ListBox.stories.js +0 -132
  128. package/dist/stories/components/ListBox/ListBox.style.js +0 -48
  129. package/dist/stories/components/MarketShareDescription/MarketShareDescription.js +0 -109
  130. package/dist/stories/components/MarketShareDescription/MarketShareDescription.stories.js +0 -198
  131. package/dist/stories/components/MarketShareDescription/MarketShareDescription.style.js +0 -215
  132. package/dist/stories/components/Modal/Modal.js +0 -21
  133. package/dist/stories/components/Modal/Modal.style.js +0 -65
  134. package/dist/stories/components/Modal/ModalTotalBenchmark.js +0 -224
  135. package/dist/stories/components/Modal/ModalTotalCost.js +0 -139
  136. package/dist/stories/components/MonthPicker/MonthPicker.js +0 -166
  137. package/dist/stories/components/MonthPicker/MonthPicker.stories.js +0 -140
  138. package/dist/stories/components/MonthPicker/MonthPicker.style.js +0 -103
  139. package/dist/stories/components/MonthPicker/MonthPopupPicker.js +0 -200
  140. package/dist/stories/components/MultipleCard/MultipleCard.js +0 -26
  141. package/dist/stories/components/MultipleCard/MultipleCard.stories.js +0 -33
  142. package/dist/stories/components/MultipleCard/MultipleCard.style.js +0 -13
  143. package/dist/stories/components/NoDataFoundMessage/NoDataFoundMessage.js +0 -30
  144. package/dist/stories/components/NoDataFoundMessage/NoDataFoundMessage.stories.js +0 -66
  145. package/dist/stories/components/NoDataFoundMessage/NoDataFoundMessage.style.js +0 -39
  146. package/dist/stories/components/OneColumnContainer/OneColumnContainer.js +0 -121
  147. package/dist/stories/components/OneColumnContainer/OneColumnContainer.stories.js +0 -119
  148. package/dist/stories/components/OneColumnContainer/OneColumnContainer.style.js +0 -107
  149. package/dist/stories/components/PageFilterBar/PageFilterBar.js +0 -23
  150. package/dist/stories/components/PageFilterBar/PageFilterBar.stories.js +0 -28
  151. package/dist/stories/components/PageFilterBar/PageFilterBar.style.js +0 -22
  152. package/dist/stories/components/PerformanceAnalytics/PerformanceAnalytics.js +0 -447
  153. package/dist/stories/components/PerformanceAnalytics/PerformanceAnalytics.stories.js +0 -258
  154. package/dist/stories/components/PerformanceAnalytics/PerformanceAnalytics.style.js +0 -144
  155. package/dist/stories/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.js +0 -59
  156. package/dist/stories/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.stories.js +0 -86
  157. package/dist/stories/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.style.js +0 -63
  158. package/dist/stories/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.js +0 -327
  159. package/dist/stories/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.stories.js +0 -231
  160. package/dist/stories/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.style.js +0 -116
  161. package/dist/stories/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.js +0 -70
  162. package/dist/stories/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.stories.js +0 -100
  163. package/dist/stories/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.style.js +0 -89
  164. package/dist/stories/components/Popup/Popup.js +0 -172
  165. package/dist/stories/components/Popup/Popup.stories.js +0 -704
  166. package/dist/stories/components/Popup/Popup.style.js +0 -122
  167. package/dist/stories/components/PopupCharts/PopupCharts.js +0 -244
  168. package/dist/stories/components/PopupCharts/PopupCharts.stories.js +0 -1203
  169. package/dist/stories/components/PopupCharts/PopupCharts.style.js +0 -108
  170. package/dist/stories/components/PopupContent/PopupContent.js +0 -111
  171. package/dist/stories/components/PopupContent/PopupContent.style.js +0 -74
  172. package/dist/stories/components/PopupContent/PopupFieldsRules.js +0 -168
  173. package/dist/stories/components/ProductsVariety/ProductsVariety.js +0 -94
  174. package/dist/stories/components/ProductsVariety/ProductsVariety.stories.js +0 -91
  175. package/dist/stories/components/ProductsVariety/ProductsVariety.style.js +0 -86
  176. package/dist/stories/components/ProgressBar/ProgressBar.js +0 -52
  177. package/dist/stories/components/ProgressBar/ProgressBar.stories.js +0 -72
  178. package/dist/stories/components/ProgressBar/ProgressBar.style.js +0 -24
  179. package/dist/stories/components/QuarterPicker/QuarterPicker.js +0 -165
  180. package/dist/stories/components/QuarterPicker/QuarterPicker.stories.js +0 -140
  181. package/dist/stories/components/QuarterPicker/QuarterPicker.style.js +0 -102
  182. package/dist/stories/components/QuarterPicker/QuarterPopupPicker.js +0 -182
  183. package/dist/stories/components/QuickFilter/QuickFilter.js +0 -78
  184. package/dist/stories/components/QuickFilter/QuickFilter.stories.js +0 -281
  185. package/dist/stories/components/QuickFilter/QuickFilter.style.js +0 -21
  186. package/dist/stories/components/QuickFilter/QuickFilterDropdownMultiSelection.js +0 -299
  187. package/dist/stories/components/QuickFilter/QuickFilterDropdownMultiSelection.style.js +0 -194
  188. package/dist/stories/components/QuickFilter/QuickFilterDropdownSingle.js +0 -229
  189. package/dist/stories/components/QuickFilter/QuickFilterDropdownSingle.style.js +0 -139
  190. package/dist/stories/components/RangePicker/RangeDatePicker.js +0 -229
  191. package/dist/stories/components/RangePicker/RangePicker.js +0 -176
  192. package/dist/stories/components/RangePicker/RangePicker.stories.js +0 -138
  193. package/dist/stories/components/RangePicker/RangePicker.style.js +0 -107
  194. package/dist/stories/components/ReportTable/ReportTable.js +0 -262
  195. package/dist/stories/components/ReportTable/ReportTable.stories.js +0 -151
  196. package/dist/stories/components/ReportTable/ReportTable.style.js +0 -131
  197. package/dist/stories/components/SagButton/SagButton.js +0 -68
  198. package/dist/stories/components/SagButton/SagButton.stories.js +0 -118
  199. package/dist/stories/components/SagButton/SagButton.style.js +0 -47
  200. package/dist/stories/components/SagIconButton/SagIconButton.js +0 -130
  201. package/dist/stories/components/SagIconButton/SagIconButton.stories.js +0 -123
  202. package/dist/stories/components/SagIconButton/SagIconButton.style.js +0 -30
  203. package/dist/stories/components/SagInput/SagInput.js +0 -53
  204. package/dist/stories/components/SagInput/SagInput.stories.js +0 -69
  205. package/dist/stories/components/SagInput/SagInput.style.js +0 -41
  206. package/dist/stories/components/SalesAndROI/SalesAndROI.js +0 -89
  207. package/dist/stories/components/SalesAndROI/SalesAndROI.stories.js +0 -168
  208. package/dist/stories/components/SalesAndROI/SalesAndROI.style.js +0 -111
  209. package/dist/stories/components/SearchInput/SearchInput.js +0 -39
  210. package/dist/stories/components/SearchInput/SearchInput.stories.js +0 -44
  211. package/dist/stories/components/SearchInput/SearchInput.style.js +0 -37
  212. package/dist/stories/components/SegmentedButton/SegmentedButton.js +0 -122
  213. package/dist/stories/components/SegmentedButton/SegmentedButton.stories.js +0 -183
  214. package/dist/stories/components/SegmentedButton/SegmentedButton.style.js +0 -100
  215. package/dist/stories/components/Select/Select.js +0 -135
  216. package/dist/stories/components/Select/Select.stories.js +0 -200
  217. package/dist/stories/components/Select/Select.style.js +0 -102
  218. package/dist/stories/components/TabMenu/TabMenu.js +0 -214
  219. package/dist/stories/components/TabMenu/TabMenu.stories.js +0 -76
  220. package/dist/stories/components/TabMenu/TabMenu.style.js +0 -115
  221. package/dist/stories/components/Table/Table.js +0 -195
  222. package/dist/stories/components/Table/Table.stories.js +0 -104
  223. package/dist/stories/components/Table/Table.style.js +0 -86
  224. package/dist/stories/components/TextField/TextField.js +0 -209
  225. package/dist/stories/components/TextField/TextField.stories.js +0 -162
  226. package/dist/stories/components/TextField/TextField.style.js +0 -18
  227. package/dist/stories/components/TitleDescription/TitleDescription.js +0 -272
  228. package/dist/stories/components/TitleDescription/TitleDescription.stories.js +0 -117
  229. package/dist/stories/components/TitleDescription/TitleDescription.style.js +0 -222
  230. package/dist/stories/components/Tooltip/Tooltip.js +0 -31
  231. package/dist/stories/components/Tooltip/Tooltip.style.js +0 -103
  232. package/dist/stories/components/TopToggleList/TopToggleList.js +0 -46
  233. package/dist/stories/components/TopToggleList/TopToggleList.stories.js +0 -52
  234. package/dist/stories/components/TopToggleList/TopToggleList.style.js +0 -51
  235. package/dist/stories/components/TotalBenchmark/TotalBenchmark.js +0 -97
  236. package/dist/stories/components/TotalBenchmark/TotalBenchmark.stories.js +0 -138
  237. package/dist/stories/components/TotalBenchmark/TotalBenchmark.style.js +0 -81
  238. package/dist/stories/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.js +0 -342
  239. package/dist/stories/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.stories.js +0 -343
  240. package/dist/stories/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.style.js +0 -171
  241. package/dist/stories/components/TotalBenchmarkArrows/TotalBenchmarkArrows.js +0 -149
  242. package/dist/stories/components/TotalBenchmarkArrows/TotalBenchmarkArrows.stories.js +0 -172
  243. package/dist/stories/components/TotalBenchmarkArrows/TotalBenchmarkArrows.style.js +0 -108
  244. package/dist/stories/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.js +0 -165
  245. package/dist/stories/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.stories.js +0 -185
  246. package/dist/stories/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.style.js +0 -77
  247. package/dist/stories/components/TotalDoughnutChart/TotalDoughnutChart.js +0 -186
  248. package/dist/stories/components/TotalDoughnutChart/TotalDoughnutChart.stories.js +0 -291
  249. package/dist/stories/components/TotalDoughnutChart/TotalDoughnutChart.style.js +0 -178
  250. package/dist/stories/components/TotalHorizontalCharts/TotalHorizontalCharts.js +0 -229
  251. package/dist/stories/components/TotalHorizontalCharts/TotalHorizontalCharts.stories.js +0 -228
  252. package/dist/stories/components/TotalHorizontalCharts/TotalHorizontalCharts.style.js +0 -58
  253. package/dist/stories/components/TspanTooltip/TspanTooltip.js +0 -33
  254. package/dist/stories/components/TspanTooltip/TspanTooltip.style.js +0 -105
  255. package/dist/stories/components/TwoBarCharts/TwoBarCharts.js +0 -204
  256. package/dist/stories/components/TwoBarCharts/TwoBarCharts.stories.js +0 -185
  257. package/dist/stories/components/TwoBarCharts/TwoBarCharts.style.js +0 -60
  258. package/dist/stories/icons/ArrowDownIcon.js +0 -27
  259. package/dist/stories/icons/ArrowDropDownIcon.js +0 -27
  260. package/dist/stories/icons/ArrowSelectIcon.js +0 -27
  261. package/dist/stories/icons/ArrowUpIcon.js +0 -27
  262. package/dist/stories/icons/AttachedIcon.js +0 -27
  263. package/dist/stories/icons/BellIcon.js +0 -27
  264. package/dist/stories/icons/Calendar.js +0 -20
  265. package/dist/stories/icons/CalendarIcon.js +0 -27
  266. package/dist/stories/icons/CalendarInOpen.js +0 -26
  267. package/dist/stories/icons/CheckBoxButtonCheckedIcon.js +0 -28
  268. package/dist/stories/icons/CheckBoxCheckedIcon.js +0 -28
  269. package/dist/stories/icons/CheckBoxNotCheckedIcon.js +0 -28
  270. package/dist/stories/icons/ChervronLeftIcon.js +0 -20
  271. package/dist/stories/icons/ChervronRightIcon.js +0 -20
  272. package/dist/stories/icons/ClockIcon.js +0 -27
  273. package/dist/stories/icons/CloseIcon.js +0 -27
  274. package/dist/stories/icons/CloseXIcon.js +0 -27
  275. package/dist/stories/icons/ComboBoxArrowDownIcon.js +0 -28
  276. package/dist/stories/icons/ComboBoxArrowUpIcon.js +0 -28
  277. package/dist/stories/icons/DocumentIcon.js +0 -48
  278. package/dist/stories/icons/DownloadIcon.js +0 -27
  279. package/dist/stories/icons/Duplicate.js +0 -28
  280. package/dist/stories/icons/ErrorIcon.js +0 -27
  281. package/dist/stories/icons/ExitIcon.js +0 -28
  282. package/dist/stories/icons/ExportIcon.js +0 -28
  283. package/dist/stories/icons/EyeIcon.js +0 -28
  284. package/dist/stories/icons/FileIcon.js +0 -27
  285. package/dist/stories/icons/FilterIcon.js +0 -36
  286. package/dist/stories/icons/FlyIcon.js +0 -28
  287. package/dist/stories/icons/FoodLionChartIcon.js +0 -42
  288. package/dist/stories/icons/FoodLionIcon.js +0 -3076
  289. package/dist/stories/icons/FoodLionNewIcon.js +0 -39
  290. package/dist/stories/icons/GiantFoodChartIcon.js +0 -40
  291. package/dist/stories/icons/GiantFoodIcon.js +0 -1976
  292. package/dist/stories/icons/GiantFoodIcon_new.js +0 -42
  293. package/dist/stories/icons/HannafordChartIcon.js +0 -40
  294. package/dist/stories/icons/HannafordIcon.js +0 -5017
  295. package/dist/stories/icons/HannafordIcon_new.js +0 -41
  296. package/dist/stories/icons/HannafordNewIcon.js +0 -213
  297. package/dist/stories/icons/InfoIcon.js +0 -28
  298. package/dist/stories/icons/LampIcon.js +0 -27
  299. package/dist/stories/icons/LegendLineIcon.js +0 -29
  300. package/dist/stories/icons/LegendUnionIcon.js +0 -29
  301. package/dist/stories/icons/MaintenanceIcon.js +0 -28
  302. package/dist/stories/icons/MenuItemClosedIcon.js +0 -28
  303. package/dist/stories/icons/MenuItemOpenIcon.js +0 -28
  304. package/dist/stories/icons/MenuItemRightIcon.js +0 -28
  305. package/dist/stories/icons/MenuItemUpIcon.js +0 -28
  306. package/dist/stories/icons/NoDataFoundIcon.js +0 -86
  307. package/dist/stories/icons/OptionsIcon.js +0 -27
  308. package/dist/stories/icons/SearchIcon.js +0 -27
  309. package/dist/stories/icons/ShoppingCartIcon.js +0 -45
  310. package/dist/stories/icons/ShoutIcon.js +0 -27
  311. package/dist/stories/icons/SpotlightProductIcon.js +0 -28
  312. package/dist/stories/icons/StopAndShopChartIcon.js +0 -42
  313. package/dist/stories/icons/StopAndShopIcon.js +0 -134
  314. package/dist/stories/icons/StopAndShopNewIcon.js +0 -41
  315. package/dist/stories/icons/SucceededIcon.js +0 -27
  316. package/dist/stories/icons/TheGiantCompanyChartIcon.js +0 -40
  317. package/dist/stories/icons/TheGiantCompanyIcon.js +0 -40
  318. package/dist/stories/icons/TheGiantCompanyNewIcon.js +0 -39
  319. package/dist/stories/utils/CommonFunctions.js +0 -83
@@ -1,1203 +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.TotalHorizontalCharts = exports.TotalDoughnutChart = exports.SalesAndROI = exports.MarketShareWeeklyTriers = exports.BarChartsByWeeksTwoBars = exports.BarChartsByWeeks = void 0;
8
- var _react = _interopRequireDefault(require("react"));
9
- var _PopupCharts = _interopRequireDefault(require("./PopupCharts"));
10
- const FoodLionDetails = {
11
- TotalDoughnutChartDetails: {
12
- title: 'Switchers Pattern',
13
- value: 720000,
14
- legendData: [{
15
- color: '#066768',
16
- name: 'None Switcher',
17
- value: 40.2222
18
- }, {
19
- color: '#82B3B4',
20
- name: 'From Other Products',
21
- value: 19.8888
22
- }, {
23
- color: '#90CE9C',
24
- name: 'From Other Supplier Brand',
25
- value: 24.666
26
- }, {
27
- color: '#5FCC70',
28
- name: 'From other Suppliers',
29
- value: 15.444
30
- }],
31
- noDataText: ''
32
- },
33
- BarChartsByWeeksDetails: {
34
- title: 'Total Product Line Triers',
35
- headerValueTopTitle: '',
36
- headerValue: 4842366,
37
- headerValueBottomTitle: 'Product Line Triers VS. Repeaters',
38
- barChartData: [{
39
- title: '202320',
40
- value: 522366,
41
- secondValue: 555885
42
- }, {
43
- title: '202321',
44
- value: 659511,
45
- secondValue: 335885
46
- }, {
47
- title: '202322',
48
- value: 473092,
49
- secondValue: 487885
50
- }, {
51
- title: '202323',
52
- value: 896184,
53
- secondValue: 225885
54
- }, {
55
- title: '202324',
56
- value: 415317,
57
- secondValue: 367485
58
- }, {
59
- title: '202325',
60
- value: 668376,
61
- secondValue: 324885
62
- }, {
63
- title: '202326',
64
- value: 1278121,
65
- secondValue: 871885
66
- }, {
67
- title: '202327',
68
- value: 377930,
69
- secondValue: 841185
70
- }, {
71
- title: '202328',
72
- value: 446258,
73
- secondValue: 225885
74
- }, {
75
- title: '202329',
76
- value: 650184,
77
- secondValue: 315885
78
- }, {
79
- title: '202330',
80
- value: 312790,
81
- secondValue: 415885
82
- }, {
83
- title: '202331',
84
- value: 735076,
85
- secondValue: 741885
86
- }, {
87
- title: '202332',
88
- value: 411037,
89
- secondValue: 285885
90
- }],
91
- barChartColor: '#1F7677',
92
- barChartSecondColor: '#90CE9C',
93
- startWeekRange: '202323',
94
- endWeekRange: '202329',
95
- tooltipTitle: 'New Shoppers: ',
96
- tooltipSecondTitle: 'Repeaters: ',
97
- xselectedColor: '#C7E7CD',
98
- isPercentValue: false,
99
- showLegend: true,
100
- legendData: [{
101
- title: 'New Shoppers',
102
- iconType: 'Square',
103
- iconColor: '#1F7677'
104
- }, {
105
- title: 'Repeaters',
106
- iconType: 'Square',
107
- iconColor: '#90CE9C'
108
- }]
109
- },
110
- TotalHorizontalChartsDetails: {
111
- title: 'Sales',
112
- value: 35500,
113
- chartsData: [{
114
- color: 'rgba(31, 118, 119, 0.1)',
115
- name: 'Lysoe',
116
- value: 14
117
- }, {
118
- color: 'rgba(31, 118, 119, 0.2)',
119
- name: 'Ensueno',
120
- value: 19
121
- }, {
122
- color: 'rgba(31, 118, 119, 0.3)',
123
- name: 'Starbucks Frappuccino',
124
- value: 15
125
- }, {
126
- color: 'rgba(31, 118, 119, 0.4)',
127
- name: 'Chunky Bowls',
128
- value: 23
129
- }, {
130
- color: 'rgba(31, 118, 119, 0.5)',
131
- name: 'Pringles',
132
- value: 40
133
- }],
134
- noDataText: '',
135
- currencySign: false,
136
- dotCut: true
137
- },
138
- MarketShareDescriptionDetails: {
139
- dotCut: false,
140
- marketShareData: [{
141
- fieldsArray: [{
142
- label: 'Pre-event',
143
- textAfter: '',
144
- textBefore: '',
145
- value: 1140
146
- }, {
147
- label: 'Event',
148
- textAfter: '',
149
- textBefore: '',
150
- value: 6342
151
- }, {
152
- label: 'Post-event',
153
- textAfter: '',
154
- textBefore: '',
155
- value: 548
156
- }],
157
- name: 'weeklyTriers',
158
- rowFooter: ' \n <p1>The event drove </p1>\n <strong>320% </strong>\n <p1>new Pringles Harvest Brand Crisp triers</p1>\n ',
159
- rowTitle: 'Weekly Triers',
160
- showBanner: false
161
- }, {
162
- fieldsArray: [{
163
- label: 'Pre-event',
164
- textAfter: '',
165
- textBefore: '',
166
- value: 235
167
- }, {
168
- label: 'Event',
169
- textAfter: '',
170
- textBefore: '',
171
- value: 1345
172
- }, {
173
- label: 'Post-event',
174
- textAfter: '',
175
- textBefore: '',
176
- value: 1569
177
- }],
178
- name: 'weeklyRepeaters',
179
- rowFooter: '',
180
- rowTitle: 'Weekly Repeaters',
181
- showBanner: false
182
- }],
183
- height: '630px',
184
- width: '700px'
185
- },
186
- SalesAndROIDetails: {
187
- title: '',
188
- currencySign: true,
189
- dotCut: true,
190
- noDataText: 'No data to display.',
191
- salesData: [{
192
- name: 'Total Sales',
193
- textAfter: '',
194
- textBefore: '',
195
- value: 90000
196
- }, {
197
- name: 'Incremental sales',
198
- textAfter: '(43 Units)',
199
- textBefore: '',
200
- value: 420000
201
- }, {
202
- name: 'Package Cost',
203
- textAfter: '',
204
- textBefore: '',
205
- value: 50000
206
- }, {
207
- name: 'ROI',
208
- textAfter: '',
209
- textBefore: 'x',
210
- value: 9.2
211
- }],
212
- showBanner: false,
213
- height: '300px',
214
- width: '100%'
215
- }
216
- };
217
- /// /////////////////////////////////////////////// Food Lion Details - END /////////////////////////////////////////////
218
-
219
- /// /////////////////////////////////////////////// Hannaford Details - START /////////////////////////////////////////////
220
-
221
- const HannafordDetails = {
222
- TotalDoughnutChartDetails: {
223
- title: 'Switchers Pattern',
224
- value: 140000,
225
- legendData: [{
226
- color: '#066768',
227
- name: 'None Switcher',
228
- value: 35.2
229
- }, {
230
- color: '#82B3B4',
231
- name: 'From Other Products',
232
- value: 14.8
233
- }, {
234
- color: '#90CE9C',
235
- name: 'From Other Supplier Brand',
236
- value: 20.666
237
- }, {
238
- color: '#5FCC70',
239
- name: 'From other Suppliers',
240
- value: 29.444
241
- }],
242
- noDataText: ''
243
- },
244
- BarChartsByWeeksDetails: {
245
- title: 'Total Product Line Triers',
246
- headerValueTopTitle: '',
247
- headerValue: 4842366,
248
- headerValueBottomTitle: 'Product Line Triers VS. Repeaters',
249
- barChartData: [{
250
- title: '202320',
251
- value: 442366,
252
- secondValue: 555885
253
- }, {
254
- title: '202321',
255
- value: 599511,
256
- secondValue: 356885
257
- }, {
258
- title: '202322',
259
- value: 603092,
260
- secondValue: 658485
261
- }, {
262
- title: '202323',
263
- value: 796184,
264
- secondValue: 356842
265
- }, {
266
- title: '202324',
267
- value: 815317,
268
- secondValue: 687549
269
- }, {
270
- title: '202325',
271
- value: 968376,
272
- secondValue: 632597
273
- }, {
274
- title: '202326',
275
- value: 1078121,
276
- secondValue: 784521
277
- }, {
278
- title: '202327',
279
- value: 847930,
280
- secondValue: 586491
281
- }, {
282
- title: '202328',
283
- value: 746258,
284
- secondValue: 654219
285
- }, {
286
- title: '202329',
287
- value: 650184,
288
- secondValue: 128456
289
- }, {
290
- title: '202330',
291
- value: 512790,
292
- secondValue: 157246
293
- }, {
294
- title: '202331',
295
- value: 435076,
296
- secondValue: 369854
297
- }, {
298
- title: '202332',
299
- value: 311037,
300
- secondValue: 154872
301
- }],
302
- barChartColor: '#1F7677',
303
- barChartSecondColor: '#90CE9C',
304
- startWeekRange: '202323',
305
- endWeekRange: '202329',
306
- tooltipTitle: 'New Shoppers: ',
307
- tooltipSecondTitle: 'Repeaters: ',
308
- xselectedColor: '#C7E7CD',
309
- isPercentValue: false,
310
- showLegend: true,
311
- legendData: [{
312
- title: 'New Shoppers',
313
- iconType: 'Square',
314
- iconColor: '#1F7677'
315
- }, {
316
- title: 'Repeaters',
317
- iconType: 'Square',
318
- iconColor: '#90CE9C'
319
- }]
320
- },
321
- TotalHorizontalChartsDetails: {
322
- title: 'Sales',
323
- value: 47500,
324
- chartsData: [{
325
- color: 'rgba(31, 118, 119, 0.1)',
326
- name: 'Lysoe',
327
- value: 20
328
- }, {
329
- color: 'rgba(31, 118, 119, 0.2)',
330
- name: 'Ensueno',
331
- value: 21
332
- }, {
333
- color: 'rgba(31, 118, 119, 0.3)',
334
- name: 'Starbucks Frappuccino',
335
- value: 11
336
- }, {
337
- color: 'rgba(31, 118, 119, 0.4)',
338
- name: 'Chunky Bowls',
339
- value: 35
340
- }, {
341
- color: 'rgba(31, 118, 119, 0.5)',
342
- name: 'Pringles',
343
- value: 32
344
- }],
345
- noDataText: '',
346
- currencySign: false,
347
- dotCut: true
348
- },
349
- MarketShareDescriptionDetails: {
350
- dotCut: false,
351
- marketShareData: [{
352
- fieldsArray: [{
353
- label: 'Pre-event',
354
- textAfter: '',
355
- textBefore: '',
356
- value: 2549
357
- }, {
358
- label: 'Event',
359
- textAfter: '',
360
- textBefore: '',
361
- value: 9458
362
- }, {
363
- label: 'Post-event',
364
- textAfter: '',
365
- textBefore: '',
366
- value: 730
367
- }],
368
- name: 'weeklyTriers',
369
- rowFooter: ' \n <p1>The event drove </p1>\n <strong>320% </strong>\n <p1>new Pringles Harvest Brand Crisp triers</p1>\n ',
370
- rowTitle: 'Weekly Triers',
371
- showBanner: false
372
- }, {
373
- fieldsArray: [{
374
- label: 'Pre-event',
375
- textAfter: '',
376
- textBefore: '',
377
- value: 89
378
- }, {
379
- label: 'Event',
380
- textAfter: '',
381
- textBefore: '',
382
- value: 1673
383
- }, {
384
- label: 'Post-event',
385
- textAfter: '',
386
- textBefore: '',
387
- value: 2976
388
- }],
389
- name: 'weeklyRepeaters',
390
- rowFooter: '',
391
- rowTitle: 'Weekly Repeaters',
392
- showBanner: false
393
- }],
394
- height: '630px',
395
- width: '700px'
396
- },
397
- SalesAndROIDetails: {
398
- title: '',
399
- currencySign: true,
400
- dotCut: true,
401
- noDataText: 'No data to display.',
402
- salesData: [{
403
- name: 'Total Sales',
404
- textAfter: '',
405
- textBefore: '',
406
- value: 90000
407
- }, {
408
- name: 'Incremental sales',
409
- textAfter: '(43 Units)',
410
- textBefore: '',
411
- value: 420000
412
- }, {
413
- name: 'Package Cost',
414
- textAfter: '',
415
- textBefore: '',
416
- value: 50000
417
- }, {
418
- name: 'ROI',
419
- textAfter: '',
420
- textBefore: 'x',
421
- value: 9.2
422
- }],
423
- showBanner: false,
424
- height: '300px',
425
- width: '100%'
426
- }
427
- };
428
- /// /////////////////////////////////////////////// Hannaford Details - END /////////////////////////////////////////////
429
-
430
- /// /////////////////////////////////////////////// The Giant Company - START /////////////////////////////////////////////
431
-
432
- const TheGiantCompanyDetails = {
433
- TotalDoughnutChartDetails: {
434
- title: 'Switchers Pattern',
435
- value: 420000,
436
- legendData: [{
437
- color: '#066768',
438
- name: 'None Switcher',
439
- value: 40.5
440
- }, {
441
- color: '#82B3B4',
442
- name: 'From Other Products',
443
- value: 19.5
444
- }, {
445
- color: '#90CE9C',
446
- name: 'From Other Supplier Brand',
447
- value: 30.666
448
- }, {
449
- color: '#5FCC70',
450
- name: 'From other Suppliers',
451
- value: 9.444
452
- }],
453
- noDataText: ''
454
- },
455
- BarChartsByWeeksDetails: {
456
- title: 'Total Product Line Triers',
457
- headerValueTopTitle: '',
458
- headerValue: 4842366,
459
- headerValueBottomTitle: 'Product Line Triers VS. Repeaters',
460
- barChartData: [{
461
- title: '202320',
462
- value: 542366,
463
- secondValue: 555885
464
- }, {
465
- title: '202321',
466
- value: 699511,
467
- secondValue: 264875
468
- }, {
469
- title: '202322',
470
- value: 403092,
471
- secondValue: 125475
472
- }, {
473
- title: '202323',
474
- value: 396184,
475
- secondValue: 187542
476
- }, {
477
- title: '202324',
478
- value: 415317,
479
- secondValue: 658452
480
- }, {
481
- title: '202325',
482
- value: 568376,
483
- secondValue: 598746
484
- }, {
485
- title: '202326',
486
- value: 1078121,
487
- secondValue: 124578
488
- }, {
489
- title: '202327',
490
- value: 947930,
491
- secondValue: 548475
492
- }, {
493
- title: '202328',
494
- value: 946258,
495
- secondValue: 698745
496
- }, {
497
- title: '202329',
498
- value: 850184,
499
- secondValue: 698754
500
- }, {
501
- title: '202330',
502
- value: 912790,
503
- secondValue: 658742
504
- }, {
505
- title: '202331',
506
- value: 835076,
507
- secondValue: 9784587
508
- }, {
509
- title: '202332',
510
- value: 911037,
511
- secondValue: 963547
512
- }],
513
- barChartColor: '#1F7677',
514
- barChartSecondColor: '#90CE9C',
515
- startWeekRange: '202323',
516
- endWeekRange: '202329',
517
- tooltipTitle: 'New Shoppers: ',
518
- tooltipSecondTitle: 'Repeaters: ',
519
- xselectedColor: '#C7E7CD',
520
- isPercentValue: false,
521
- showLegend: true,
522
- legendData: [{
523
- title: 'New Shoppers',
524
- iconType: 'Square',
525
- iconColor: '#1F7677'
526
- }, {
527
- title: 'Repeaters',
528
- iconType: 'Square',
529
- iconColor: '#90CE9C'
530
- }]
531
- },
532
- TotalHorizontalChartsDetails: {
533
- title: 'Sales',
534
- value: 24500,
535
- chartsData: [{
536
- color: 'rgba(31, 118, 119, 0.1)',
537
- name: 'Lysoe',
538
- value: 13
539
- }, {
540
- color: 'rgba(31, 118, 119, 0.2)',
541
- name: 'Ensueno',
542
- value: 21
543
- }, {
544
- color: 'rgba(31, 118, 119, 0.3)',
545
- name: 'Starbucks Frappuccino',
546
- value: 17
547
- }, {
548
- color: 'rgba(31, 118, 119, 0.4)',
549
- name: 'Chunky Bowls',
550
- value: 39
551
- }, {
552
- color: 'rgba(31, 118, 119, 0.5)',
553
- name: 'Pringles',
554
- value: 25
555
- }],
556
- noDataText: '',
557
- currencySign: false,
558
- dotCut: true
559
- },
560
- MarketShareDescriptionDetails: {
561
- dotCut: false,
562
- height: '630px',
563
- marketShareData: [{
564
- fieldsArray: [{
565
- label: 'Pre-event',
566
- textAfter: '',
567
- textBefore: '',
568
- value: 2040
569
- }, {
570
- label: 'Event',
571
- textAfter: '',
572
- textBefore: '',
573
- value: 8250
574
- }, {
575
- label: 'Post-event',
576
- textAfter: '',
577
- textBefore: '',
578
- value: 600
579
- }],
580
- name: 'weeklyTriers',
581
- rowFooter: ' \n <p1>The event drove </p1>\n <strong>320% </strong>\n <p1>new Pringles Harvest Brand Crisp triers</p1>\n ',
582
- rowTitle: 'Weekly Triers',
583
- showBanner: false
584
- }, {
585
- fieldsArray: [{
586
- label: 'Pre-event',
587
- textAfter: '',
588
- textBefore: '',
589
- value: 100
590
- }, {
591
- label: 'Event',
592
- textAfter: '',
593
- textBefore: '',
594
- value: 1500
595
- }, {
596
- label: 'Post-event',
597
- textAfter: '',
598
- textBefore: '',
599
- value: 2400
600
- }],
601
- name: 'weeklyRepeaters',
602
- rowFooter: '',
603
- rowTitle: 'Weekly Repeaters',
604
- showBanner: false
605
- }],
606
- width: '700px'
607
- },
608
- SalesAndROIDetails: {
609
- title: '',
610
- currencySign: true,
611
- dotCut: true,
612
- noDataText: 'No data to display.',
613
- salesData: [{
614
- name: 'Total Sales',
615
- textAfter: '',
616
- textBefore: '',
617
- value: 90000
618
- }, {
619
- name: 'Incremental sales',
620
- textAfter: '(43 Units)',
621
- textBefore: '',
622
- value: 420000
623
- }, {
624
- name: 'Package Cost',
625
- textAfter: '',
626
- textBefore: '',
627
- value: 50000
628
- }, {
629
- name: 'ROI',
630
- textAfter: '',
631
- textBefore: 'x',
632
- value: 9.2
633
- }],
634
- showBanner: false,
635
- height: '300px',
636
- width: '100%'
637
- }
638
- };
639
- /// /////////////////////////////////////////////// The Giant Company - END /////////////////////////////////////////////
640
-
641
- /// /////////////////////////////////////////////// Stop&Shop - START /////////////////////////////////////////////
642
-
643
- const StopAndShopDetails = {
644
- TotalDoughnutChartDetails: {
645
- title: 'Switchers Pattern',
646
- value: 350000,
647
- legendData: [{
648
- color: '#066768',
649
- name: 'None Switcher',
650
- value: 45.7
651
- }, {
652
- color: '#82B3B4',
653
- name: 'From Other Products',
654
- value: 24.3
655
- }, {
656
- color: '#90CE9C',
657
- name: 'From Other Supplier Brand',
658
- value: 10.9
659
- }, {
660
- color: '#5FCC70',
661
- name: 'From other Suppliers',
662
- value: 19.1
663
- }],
664
- noDataText: ''
665
- },
666
- BarChartsByWeeksDetails: {
667
- title: 'Total Product Line Triers',
668
- headerValueTopTitle: '',
669
- headerValue: 4842366,
670
- headerValueBottomTitle: 'Product Line Triers VS. Repeaters',
671
- barChartData: [{
672
- title: '202320',
673
- value: 642366,
674
- secondValue: 697458
675
- }, {
676
- title: '202321',
677
- value: 699511,
678
- secondValue: 154875
679
- }, {
680
- title: '202322',
681
- value: 703092,
682
- secondValue: 326581
683
- }, {
684
- title: '202323',
685
- value: 696184,
686
- secondValue: 697458
687
- }, {
688
- title: '202324',
689
- value: 715317,
690
- secondValue: 315487
691
- }, {
692
- title: '202325',
693
- value: 668376,
694
- secondValue: 397145
695
- }, {
696
- title: '202326',
697
- value: 1078121,
698
- secondValue: 381975
699
- }, {
700
- title: '202327',
701
- value: 747930,
702
- secondValue: 986574
703
- }, {
704
- title: '202328',
705
- value: 646258,
706
- secondValue: 184875
707
- }, {
708
- title: '202329',
709
- value: 750184,
710
- secondValue: 369542
711
- }, {
712
- title: '202330',
713
- value: 512790,
714
- secondValue: 365845
715
- }, {
716
- title: '202331',
717
- value: 435076,
718
- secondValue: 659875
719
- }, {
720
- title: '202332',
721
- value: 311037,
722
- secondValue: 369852
723
- }],
724
- barChartColor: '#1F7677',
725
- barChartSecondColor: '#90CE9C',
726
- startWeekRange: '202323',
727
- endWeekRange: '202329',
728
- tooltipTitle: 'New Shoppers: ',
729
- tooltipSecondTitle: 'Repeaters: ',
730
- xselectedColor: '#C7E7CD',
731
- isPercentValue: false,
732
- showLegend: true,
733
- legendData: [{
734
- title: 'New Shoppers',
735
- iconType: 'Square',
736
- iconColor: '#1F7677'
737
- }, {
738
- title: 'Repeaters',
739
- iconType: 'Square',
740
- iconColor: '#90CE9C'
741
- }]
742
- },
743
- TotalHorizontalChartsDetails: {
744
- title: 'Sales',
745
- value: 66300,
746
- chartsData: [{
747
- color: 'rgba(31, 118, 119, 0.1)',
748
- name: 'Lysoe',
749
- value: 14
750
- }, {
751
- color: 'rgba(31, 118, 119, 0.2)',
752
- name: 'Ensueno',
753
- value: 12
754
- }, {
755
- color: 'rgba(31, 118, 119, 0.3)',
756
- name: 'Starbucks Frappuccino',
757
- value: 15
758
- }, {
759
- color: 'rgba(31, 118, 119, 0.4)',
760
- name: 'Chunky Bowls',
761
- value: 19
762
- }, {
763
- color: 'rgba(31, 118, 119, 0.5)',
764
- name: 'Pringles',
765
- value: 55
766
- }],
767
- noDataText: '',
768
- currencySign: false,
769
- dotCut: true
770
- },
771
- MarketShareDescriptionDetails: {
772
- dotCut: false,
773
- marketShareData: [{
774
- fieldsArray: [{
775
- label: 'Pre-event',
776
- textAfter: '',
777
- textBefore: '',
778
- value: 2845
779
- }, {
780
- label: 'Event',
781
- textAfter: '',
782
- textBefore: '',
783
- value: 6877
784
- }, {
785
- label: 'Post-event',
786
- textAfter: '',
787
- textBefore: '',
788
- value: 532
789
- }],
790
- name: 'weeklyTriers',
791
- rowFooter: ' \n <p1>The event drove </p1>\n <strong>320% </strong>\n <p1>new Pringles Harvest Brand Crisp triers</p1>\n ',
792
- rowTitle: 'Weekly Triers',
793
- showBanner: false
794
- }, {
795
- fieldsArray: [{
796
- label: 'Pre-event',
797
- textAfter: '',
798
- textBefore: '',
799
- value: 69
800
- }, {
801
- label: 'Event',
802
- textAfter: '',
803
- textBefore: '',
804
- value: 1685
805
- }, {
806
- label: 'Post-event',
807
- textAfter: '',
808
- textBefore: '',
809
- value: 2781
810
- }],
811
- name: 'weeklyRepeaters',
812
- rowFooter: '',
813
- rowTitle: 'Weekly Repeaters',
814
- showBanner: false
815
- }],
816
- height: '630px',
817
- width: '700px'
818
- },
819
- SalesAndROIDetails: {
820
- title: '',
821
- currencySign: true,
822
- dotCut: true,
823
- noDataText: 'No data to display.',
824
- salesData: [{
825
- name: 'Total Sales',
826
- textAfter: '',
827
- textBefore: '',
828
- value: 90000
829
- }, {
830
- name: 'Incremental sales',
831
- textAfter: '(43 Units)',
832
- textBefore: '',
833
- value: 420000
834
- }, {
835
- name: 'Package Cost',
836
- textAfter: '',
837
- textBefore: '',
838
- value: 50000
839
- }, {
840
- name: 'ROI',
841
- textAfter: '',
842
- textBefore: 'x',
843
- value: 9.2
844
- }],
845
- showBanner: false,
846
- height: '300px',
847
- width: '100%'
848
- }
849
- };
850
- const GiantFoodDetails = {
851
- TotalDoughnutChartDetails: {
852
- title: 'Switchers Pattern',
853
- value: 580000,
854
- legendData: [{
855
- color: '#066768',
856
- name: 'None Switcher',
857
- value: 60
858
- }, {
859
- color: '#82B3B4',
860
- name: 'From Other Products',
861
- value: 20
862
- }, {
863
- color: '#90CE9C',
864
- name: 'From Other Supplier Brand',
865
- value: 12
866
- }, {
867
- color: '#5FCC70',
868
- name: 'From other Suppliers',
869
- value: 8
870
- }],
871
- noDataText: ''
872
- },
873
- BarChartsByWeeksDetails: {
874
- title: 'Total Product Line Triers',
875
- headerValueTopTitle: '',
876
- headerValue: 4842366,
877
- headerValueBottomTitle: 'Product Line Triers VS. Repeaters',
878
- barChartData: [{
879
- title: '202320',
880
- value: 542366,
881
- secondValue: 555885
882
- }, {
883
- title: '202321',
884
- value: 699511,
885
- secondValue: 648752
886
- }, {
887
- title: '202322',
888
- value: 403092,
889
- secondValue: 365824
890
- }, {
891
- title: '202323',
892
- value: 396184,
893
- secondValue: 917458
894
- }, {
895
- title: '202324',
896
- value: 415317,
897
- secondValue: 356985
898
- }, {
899
- title: '202325',
900
- value: 568376,
901
- secondValue: 284865
902
- }, {
903
- title: '202326',
904
- value: 1078121,
905
- secondValue: 346857
906
- }, {
907
- title: '202327',
908
- value: 347930,
909
- secondValue: 187546
910
- }, {
911
- title: '202328',
912
- value: 346258,
913
- secondValue: 159753
914
- }, {
915
- title: '202329',
916
- value: 350184,
917
- secondValue: 186542
918
- }, {
919
- title: '202330',
920
- value: 312790,
921
- secondValue: 968547
922
- }, {
923
- title: '202331',
924
- value: 335076,
925
- secondValue: 157452
926
- }, {
927
- title: '202332',
928
- value: 311037,
929
- secondValue: 154258
930
- }],
931
- barChartColor: '#1F7677',
932
- barChartSecondColor: '#90CE9C',
933
- startWeekRange: '202323',
934
- endWeekRange: '202329',
935
- tooltipTitle: 'New Shoppers: ',
936
- tooltipSecondTitle: 'Repeaters: ',
937
- xselectedColor: '#C7E7CD',
938
- isPercentValue: false,
939
- showLegend: true,
940
- legendData: [{
941
- title: 'New Shoppers',
942
- iconType: 'Square',
943
- iconColor: '#1F7677'
944
- }, {
945
- title: 'Repeaters',
946
- iconType: 'Square',
947
- iconColor: '#90CE9C'
948
- }]
949
- },
950
- TotalHorizontalChartsDetails: {
951
- title: 'Sales',
952
- value: 56500,
953
- chartsData: [{
954
- color: 'rgba(31, 118, 119, 0.1)',
955
- name: 'Lysoe',
956
- value: 10
957
- }, {
958
- color: 'rgba(31, 118, 119, 0.2)',
959
- name: 'Ensueno',
960
- value: 11
961
- }, {
962
- color: 'rgba(31, 118, 119, 0.3)',
963
- name: 'Starbucks Frappuccino',
964
- value: 15
965
- }, {
966
- color: 'rgba(31, 118, 119, 0.4)',
967
- name: 'Chunky Bowls',
968
- value: 29
969
- }, {
970
- color: 'rgba(31, 118, 119, 0.5)',
971
- name: 'Pringles',
972
- value: 35
973
- }],
974
- noDataText: '',
975
- currencySign: false,
976
- dotCut: true
977
- },
978
- MarketShareDescriptionDetails: {
979
- dotCut: false,
980
- marketShareData: [{
981
- fieldsArray: [{
982
- label: 'Pre-event',
983
- textAfter: '',
984
- textBefore: '',
985
- value: 3844
986
- }, {
987
- label: 'Event',
988
- textAfter: '',
989
- textBefore: '',
990
- value: 8655
991
- }, {
992
- label: 'Post-event',
993
- textAfter: '',
994
- textBefore: '',
995
- value: 389
996
- }],
997
- name: 'weeklyTriers',
998
- rowFooter: ' \n <p1>The event drove </p1>\n <strong>320% </strong>\n <p1>new Pringles Harvest Brand Crisp triers</p1>\n ',
999
- rowTitle: 'Weekly Triers',
1000
- showBanner: false
1001
- }, {
1002
- fieldsArray: [{
1003
- label: 'Pre-event',
1004
- textAfter: '',
1005
- textBefore: '',
1006
- value: 255
1007
- }, {
1008
- label: 'Event',
1009
- textAfter: '',
1010
- textBefore: '',
1011
- value: 2036
1012
- }, {
1013
- label: 'Post-event',
1014
- textAfter: '',
1015
- textBefore: '',
1016
- value: 3541
1017
- }],
1018
- name: 'weeklyRepeaters',
1019
- rowFooter: '',
1020
- rowTitle: 'Weekly Repeaters',
1021
- showBanner: false
1022
- }],
1023
- height: '630px',
1024
- width: '700px'
1025
- },
1026
- SalesAndROIDetails: {
1027
- title: '',
1028
- currencySign: true,
1029
- dotCut: true,
1030
- noDataText: 'No data to display.',
1031
- salesData: [{
1032
- name: 'Total Sales',
1033
- textAfter: '',
1034
- textBefore: '',
1035
- value: 90000
1036
- }, {
1037
- name: 'Incremental sales',
1038
- textAfter: '(43 Units)',
1039
- textBefore: '',
1040
- value: 420000
1041
- }, {
1042
- name: 'Package Cost',
1043
- textAfter: '',
1044
- textBefore: '',
1045
- value: 50000
1046
- }, {
1047
- name: 'ROI',
1048
- textAfter: '',
1049
- textBefore: 'x',
1050
- value: 9.2
1051
- }],
1052
- showBanner: false,
1053
- height: '300px',
1054
- width: '100%'
1055
- }
1056
- };
1057
- const popupChartsItemsData1 = [{
1058
- title: 'Food Lion',
1059
- rowsData: FoodLionDetails
1060
- }, {
1061
- title: 'Hannaford',
1062
- rowsData: HannafordDetails
1063
- }, {
1064
- title: 'Stop&Shop',
1065
- rowsData: StopAndShopDetails
1066
- }, {
1067
- title: 'The Giant Company',
1068
- rowsData: TheGiantCompanyDetails
1069
- }, {
1070
- title: 'Giant Food',
1071
- rowsData: GiantFoodDetails
1072
- }];
1073
- var _default = exports.default = {
1074
- title: 'SAG BI/PopupCharts',
1075
- component: _PopupCharts.default,
1076
- tags: ['autodocs'],
1077
- argTypes: {
1078
- title: {
1079
- name: 'title',
1080
- control: {
1081
- type: 'text'
1082
- },
1083
- description: 'title'
1084
- },
1085
- chartType: {
1086
- name: 'chartType',
1087
- control: {
1088
- type: 'radio'
1089
- },
1090
- options: ['TotalDoughnutChart', 'TotalHorizontalCharts', 'BarChartsByWeeks', 'BarChartsByWeeksTwoBars', 'MarketShareDescription'],
1091
- description: 'chart type, for example: TotalDoughnutChart, TotalHorizontalCharts, BarChartsByWeeks, BarChartsByWeeksTwoBars'
1092
- },
1093
- isPopupChartsOpen: {
1094
- name: 'isPopupChartsOpen',
1095
- control: {
1096
- type: 'boolean'
1097
- },
1098
- description: 'true/false - open or close PopupCharts'
1099
- },
1100
- width: {
1101
- name: 'width',
1102
- control: {
1103
- type: 'text'
1104
- },
1105
- description: 'width of the form'
1106
- },
1107
- height: {
1108
- name: 'height',
1109
- control: {
1110
- type: 'text'
1111
- },
1112
- description: 'height of the form'
1113
- },
1114
- subtitleTextColor: {
1115
- name: 'subtitleTextColor',
1116
- description: 'Sets the subtitle Text Color',
1117
- control: {
1118
- type: 'color',
1119
- presetColors: ['#ffffff', '#ff0000', '#00ff00', '#0000ff']
1120
- }
1121
- },
1122
- popupChartsItemsData: {
1123
- description: 'array [] of objects: {title: string, content } to fill the Chart items. '
1124
- },
1125
- onCloseClick: {
1126
- action: 'onCloseClick',
1127
- description: 'returns an event onCloseClick object when user closes the popup'
1128
- }
1129
- }
1130
- }; // const Template = (args) => (
1131
- // <PopupCharts {...args}>
1132
- // <div>
1133
- // <div>table1</div>
1134
- // <div>table2</div>
1135
- // </div>
1136
- // </PopupCharts>
1137
- // );
1138
- const TotalDoughnutChart = exports.TotalDoughnutChart = {
1139
- args: {
1140
- title: 'Switching Pattern',
1141
- chartType: 'TotalDoughnutChart',
1142
- isPopupChartsOpen: true,
1143
- popupChartsItemsData: popupChartsItemsData1,
1144
- width: '1600px',
1145
- height: '820px',
1146
- subtitleTextColor: '#7E7E7E'
1147
- }
1148
- };
1149
- const BarChartsByWeeks = exports.BarChartsByWeeks = {
1150
- args: {
1151
- title: 'Sales over time',
1152
- chartType: 'BarChartsByWeeks',
1153
- isPopupChartsOpen: true,
1154
- popupChartsItemsData: popupChartsItemsData1,
1155
- width: '1600px',
1156
- height: '820px',
1157
- subtitleTextColor: '#7E7E7E'
1158
- }
1159
- };
1160
- const BarChartsByWeeksTwoBars = exports.BarChartsByWeeksTwoBars = {
1161
- args: {
1162
- title: 'Sales over time',
1163
- chartType: 'BarChartsByWeeksTwoBars',
1164
- isPopupChartsOpen: true,
1165
- popupChartsItemsData: popupChartsItemsData1,
1166
- width: '1600px',
1167
- height: '820px',
1168
- subtitleTextColor: '#7E7E7E'
1169
- }
1170
- };
1171
- const TotalHorizontalCharts = exports.TotalHorizontalCharts = {
1172
- args: {
1173
- title: 'Sales',
1174
- chartType: 'TotalHorizontalCharts',
1175
- isPopupChartsOpen: true,
1176
- popupChartsItemsData: popupChartsItemsData1,
1177
- width: '1600px',
1178
- height: '820px',
1179
- subtitleTextColor: '#7E7E7E'
1180
- }
1181
- };
1182
- const MarketShareWeeklyTriers = exports.MarketShareWeeklyTriers = {
1183
- args: {
1184
- title: 'Weekly Triers And Repeaters',
1185
- chartType: 'MarketShareDescription',
1186
- isPopupChartsOpen: true,
1187
- popupChartsItemsData: popupChartsItemsData1,
1188
- width: '1600px',
1189
- height: '820px',
1190
- subtitleTextColor: '#7E7E7E'
1191
- }
1192
- };
1193
- const SalesAndROI = exports.SalesAndROI = {
1194
- args: {
1195
- title: 'Sales & ROI',
1196
- chartType: 'SalesAndROI',
1197
- isPopupChartsOpen: true,
1198
- popupChartsItemsData: popupChartsItemsData1,
1199
- width: '1600px',
1200
- height: '820px',
1201
- subtitleTextColor: '#7E7E7E'
1202
- }
1203
- };