sag_components 1.0.1021 → 1.0.1022

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 (314) hide show
  1. package/dist/stories/CampaignTool/PopupContent.stories.js +284 -0
  2. package/dist/stories/components/BannerEventBoxTest.js +42 -0
  3. package/dist/stories/components/BannerEventBoxTest.style.js +11 -0
  4. package/dist/stories/components/FilterButton.js +53 -0
  5. package/dist/stories/components/FilterButton.style.js +12 -0
  6. package/dist/stories/components/NewInput.js +33 -0
  7. package/dist/stories/components/NewInput.style.js +13 -0
  8. package/dist/stories/components/TotalHorizontalCharts.js +17 -14
  9. package/dist/stories/components/TotalHorizontalCharts.style.js +37 -1
  10. package/dist/stories/components/icons/TheGiantCompanyIcon_old.js +1831 -0
  11. package/package.json +1 -1
  12. package/dist/stories/components/AttachedFile/AttachedFile.js +0 -62
  13. package/dist/stories/components/AttachedFile/AttachedFile.stories.js +0 -36
  14. package/dist/stories/components/AttachedFile/AttachedFile.style.js +0 -48
  15. package/dist/stories/components/BannerEventBox/BannerEventBox.js +0 -97
  16. package/dist/stories/components/BannerEventBox/BannerEventBox.stories.js +0 -58
  17. package/dist/stories/components/BannerEventBox/BannerEventBox.style.js +0 -78
  18. package/dist/stories/components/BannerEventBoxList/BannerEventBoxList.js +0 -153
  19. package/dist/stories/components/BannerEventBoxList/BannerEventBoxList.stories.js +0 -59
  20. package/dist/stories/components/BannerEventBoxList/BannerEventBoxList.style.js +0 -189
  21. package/dist/stories/components/BannersDropdown/BannersDropdown.js +0 -115
  22. package/dist/stories/components/BannersDropdown/BannersDropdown.stories.js +0 -64
  23. package/dist/stories/components/BannersDropdown/BannersDropdown.style.js +0 -99
  24. package/dist/stories/components/BarChart/BarChart.js +0 -191
  25. package/dist/stories/components/BarChart/BarChart.stories.js +0 -153
  26. package/dist/stories/components/BarChart/BarChart.style.js +0 -60
  27. package/dist/stories/components/BarChartTwoRows/BarChartTwoRows.js +0 -213
  28. package/dist/stories/components/BarChartTwoRows/BarChartTwoRows.stories.js +0 -259
  29. package/dist/stories/components/BarChartTwoRows/BarChartTwoRows.style.js +0 -79
  30. package/dist/stories/components/BarChartsByWeeks/BarChartsByWeeks.js +0 -299
  31. package/dist/stories/components/BarChartsByWeeks/BarChartsByWeeks.stories.js +0 -442
  32. package/dist/stories/components/BarChartsByWeeks/BarChartsByWeeks.style.js +0 -96
  33. package/dist/stories/components/Benchmark/Benchmark.js +0 -130
  34. package/dist/stories/components/Benchmark/Benchmark.stories.js +0 -148
  35. package/dist/stories/components/Benchmark/Benchmark.style.js +0 -61
  36. package/dist/stories/components/Button/Button.js +0 -217
  37. package/dist/stories/components/Button/Button.stories.js +0 -269
  38. package/dist/stories/components/Button/Button.style.js +0 -90
  39. package/dist/stories/components/CampaignDemoReport/CampaignDemoReport.js +0 -48
  40. package/dist/stories/components/CampaignDemoReport/CampaignDemoReport.stories.js +0 -65
  41. package/dist/stories/components/CampaignDemoReport/CampaignDemoReport.style.js +0 -48
  42. package/dist/stories/components/Card/Card.js +0 -72
  43. package/dist/stories/components/Card/Card.stories.js +0 -92
  44. package/dist/stories/components/Card/Card.style.js +0 -65
  45. package/dist/stories/components/CheckBox/CheckBox.js +0 -76
  46. package/dist/stories/components/CheckBox/CheckBox.stories.js +0 -107
  47. package/dist/stories/components/CheckBox/CheckBox.style.js +0 -36
  48. package/dist/stories/components/CheckBoxButton/CheckBoxButton.js +0 -69
  49. package/dist/stories/components/CheckBoxButton/CheckBoxButton.stories.js +0 -150
  50. package/dist/stories/components/CheckBoxButton/CheckBoxButton.style.js +0 -39
  51. package/dist/stories/components/CodeEditor/CodeEditor.js +0 -43
  52. package/dist/stories/components/CodeEditor/CodeEditor.style.js +0 -13
  53. package/dist/stories/components/CollapseData/CollapseData.js +0 -66
  54. package/dist/stories/components/CollapseData/CollapseData.stories.js +0 -125
  55. package/dist/stories/components/CollapseData/CollapseData.style.js +0 -127
  56. package/dist/stories/components/CollapseHeader/CollapseHeader.js +0 -249
  57. package/dist/stories/components/CollapseHeader/CollapseHeader.stories.js +0 -116
  58. package/dist/stories/components/CollapseHeader/CollapseHeader.style.js +0 -200
  59. package/dist/stories/components/CollapseMenuItem/CollapseMenuItem.js +0 -61
  60. package/dist/stories/components/CollapseMenuItem/CollapseMenuItem.stories.js +0 -161
  61. package/dist/stories/components/CollapseMenuItem/CollapseMenuItem.style.js +0 -61
  62. package/dist/stories/components/Datepicker/Datepicker.js +0 -148
  63. package/dist/stories/components/Datepicker/Datepicker.stories.js +0 -86
  64. package/dist/stories/components/Datepicker/Datepicker.style.js +0 -19
  65. package/dist/stories/components/DownloadProgress/DownloadProgress.js +0 -97
  66. package/dist/stories/components/DownloadProgress/DownloadProgress.stories.js +0 -111
  67. package/dist/stories/components/DownloadProgress/DownloadProgress.style.js +0 -51
  68. package/dist/stories/components/Dropdown/Dropdown.js +0 -231
  69. package/dist/stories/components/Dropdown/Dropdown.stories.js +0 -323
  70. package/dist/stories/components/Dropdown/Dropdown.style.js +0 -17
  71. package/dist/stories/components/DropdownMultiNew/DropdownMultiNew.js +0 -292
  72. package/dist/stories/components/DropdownMultiNew/DropdownMultiNew.style.js +0 -216
  73. package/dist/stories/components/DropdownNew/DropdownNew.js +0 -98
  74. package/dist/stories/components/DropdownNew/DropdownNew.stories.js +0 -416
  75. package/dist/stories/components/DropdownNew/DropdownNew.style.js +0 -21
  76. package/dist/stories/components/DropdownSingleNew/DropdownSingleNew.js +0 -254
  77. package/dist/stories/components/DropdownSingleNew/DropdownSingleNew.style.js +0 -187
  78. package/dist/stories/components/EventDetailsCard/EventDetailsCard.js +0 -144
  79. package/dist/stories/components/EventDetailsCard/EventDetailsCard.stories.js +0 -57
  80. package/dist/stories/components/EventDetailsCard/EventDetailsCard.style.js +0 -94
  81. package/dist/stories/components/EventList/EventList.js +0 -61
  82. package/dist/stories/components/EventList/EventList.stories.js +0 -84
  83. package/dist/stories/components/EventList/EventList.style.js +0 -38
  84. package/dist/stories/components/EventListItem/EventListItem.js +0 -50
  85. package/dist/stories/components/EventListItem/EventListItem.stories.js +0 -65
  86. package/dist/stories/components/EventListItem/EventListItem.style.js +0 -47
  87. package/dist/stories/components/FilterContainer/FilterContainer.js +0 -29
  88. package/dist/stories/components/FilterContainer/FilterContainer.stories.js +0 -23
  89. package/dist/stories/components/FilterContainer/FilterContainer.style.js +0 -30
  90. package/dist/stories/components/FilterPanel/FilterPanel.js +0 -566
  91. package/dist/stories/components/FilterPanel/FilterPanel.stories.js +0 -967
  92. package/dist/stories/components/FilterPanel/FilterPanel.style.js +0 -89
  93. package/dist/stories/components/FormInput/FormInput.js +0 -41
  94. package/dist/stories/components/FormSelect/FormSelect.js +0 -42
  95. package/dist/stories/components/FormattedValue/FormattedValue.js +0 -68
  96. package/dist/stories/components/FormattedValue/FormattedValue.stories.js +0 -189
  97. package/dist/stories/components/FormattedValue/FormattedValue.style.js +0 -91
  98. package/dist/stories/components/HaiTooltip.js +0 -71
  99. package/dist/stories/components/HaiTooltip.style.js +0 -12
  100. package/dist/stories/components/IconButton/IconButton.js +0 -147
  101. package/dist/stories/components/IconButton/IconButton.stories.js +0 -131
  102. package/dist/stories/components/IconButton/IconButton.style.js +0 -64
  103. package/dist/stories/components/Input/Input.js +0 -183
  104. package/dist/stories/components/Input/Input.stories.js +0 -434
  105. package/dist/stories/components/Input/Input.style.js +0 -130
  106. package/dist/stories/components/InputOld/InputOld.js +0 -90
  107. package/dist/stories/components/InputOld/InputOld.stories.js +0 -100
  108. package/dist/stories/components/InputOld/InputOld.style.js +0 -69
  109. package/dist/stories/components/KpiFilter/KpiFilter.js +0 -330
  110. package/dist/stories/components/KpiFilter/KpiFilter.stories.js +0 -380
  111. package/dist/stories/components/KpiFilter/KpiFilter.style.js +0 -132
  112. package/dist/stories/components/LinkButton/LinkButton.js +0 -207
  113. package/dist/stories/components/LinkButton/LinkButton.stories.js +0 -180
  114. package/dist/stories/components/LinkButton/LinkButton.style.js +0 -53
  115. package/dist/stories/components/LinnerDataBox/LinnerDataBox.js +0 -46
  116. package/dist/stories/components/LinnerDataBox/LinnerDataBox.stories.js +0 -78
  117. package/dist/stories/components/LinnerDataBox/LinnerDataBox.style.js +0 -68
  118. package/dist/stories/components/ListBox/ListBox.js +0 -82
  119. package/dist/stories/components/ListBox/ListBox.stories.js +0 -132
  120. package/dist/stories/components/ListBox/ListBox.style.js +0 -48
  121. package/dist/stories/components/MarketShareDescription/MarketShareDescription.js +0 -109
  122. package/dist/stories/components/MarketShareDescription/MarketShareDescription.stories.js +0 -198
  123. package/dist/stories/components/MarketShareDescription/MarketShareDescription.style.js +0 -215
  124. package/dist/stories/components/Modal/Modal.js +0 -21
  125. package/dist/stories/components/Modal/Modal.style.js +0 -65
  126. package/dist/stories/components/Modal/ModalTotalBenchmark.js +0 -224
  127. package/dist/stories/components/Modal/ModalTotalCost.js +0 -139
  128. package/dist/stories/components/MonthPicker/MonthPicker.js +0 -166
  129. package/dist/stories/components/MonthPicker/MonthPicker.stories.js +0 -140
  130. package/dist/stories/components/MonthPicker/MonthPicker.style.js +0 -103
  131. package/dist/stories/components/MonthPicker/MonthPopupPicker.js +0 -200
  132. package/dist/stories/components/MultipleCard/MultipleCard.js +0 -26
  133. package/dist/stories/components/MultipleCard/MultipleCard.stories.js +0 -33
  134. package/dist/stories/components/MultipleCard/MultipleCard.style.js +0 -13
  135. package/dist/stories/components/NoDataFoundMessage/NoDataFoundMessage.js +0 -30
  136. package/dist/stories/components/NoDataFoundMessage/NoDataFoundMessage.stories.js +0 -66
  137. package/dist/stories/components/NoDataFoundMessage/NoDataFoundMessage.style.js +0 -39
  138. package/dist/stories/components/OneColumnContainer/OneColumnContainer.js +0 -121
  139. package/dist/stories/components/OneColumnContainer/OneColumnContainer.stories.js +0 -119
  140. package/dist/stories/components/OneColumnContainer/OneColumnContainer.style.js +0 -107
  141. package/dist/stories/components/PageFilterBar/PageFilterBar.js +0 -23
  142. package/dist/stories/components/PageFilterBar/PageFilterBar.stories.js +0 -28
  143. package/dist/stories/components/PageFilterBar/PageFilterBar.style.js +0 -22
  144. package/dist/stories/components/PerformanceAnalytics/PerformanceAnalytics.js +0 -447
  145. package/dist/stories/components/PerformanceAnalytics/PerformanceAnalytics.stories.js +0 -258
  146. package/dist/stories/components/PerformanceAnalytics/PerformanceAnalytics.style.js +0 -144
  147. package/dist/stories/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.js +0 -59
  148. package/dist/stories/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.stories.js +0 -86
  149. package/dist/stories/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.style.js +0 -63
  150. package/dist/stories/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.js +0 -327
  151. package/dist/stories/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.stories.js +0 -231
  152. package/dist/stories/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.style.js +0 -116
  153. package/dist/stories/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.js +0 -70
  154. package/dist/stories/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.stories.js +0 -100
  155. package/dist/stories/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.style.js +0 -89
  156. package/dist/stories/components/Popup/Popup.js +0 -172
  157. package/dist/stories/components/Popup/Popup.stories.js +0 -704
  158. package/dist/stories/components/Popup/Popup.style.js +0 -122
  159. package/dist/stories/components/PopupCharts/PopupCharts.js +0 -244
  160. package/dist/stories/components/PopupCharts/PopupCharts.stories.js +0 -1203
  161. package/dist/stories/components/PopupCharts/PopupCharts.style.js +0 -108
  162. package/dist/stories/components/PopupContent/PopupContent.js +0 -111
  163. package/dist/stories/components/PopupContent/PopupContent.style.js +0 -74
  164. package/dist/stories/components/PopupContent/PopupFieldsRules.js +0 -168
  165. package/dist/stories/components/ProductsVariety/ProductsVariety.js +0 -94
  166. package/dist/stories/components/ProductsVariety/ProductsVariety.stories.js +0 -91
  167. package/dist/stories/components/ProductsVariety/ProductsVariety.style.js +0 -86
  168. package/dist/stories/components/ProgressBar/ProgressBar.js +0 -52
  169. package/dist/stories/components/ProgressBar/ProgressBar.stories.js +0 -72
  170. package/dist/stories/components/ProgressBar/ProgressBar.style.js +0 -24
  171. package/dist/stories/components/QuarterPicker/QuarterPicker.js +0 -165
  172. package/dist/stories/components/QuarterPicker/QuarterPicker.stories.js +0 -140
  173. package/dist/stories/components/QuarterPicker/QuarterPicker.style.js +0 -102
  174. package/dist/stories/components/QuarterPicker/QuarterPopupPicker.js +0 -182
  175. package/dist/stories/components/QuickFilter/QuickFilter.js +0 -78
  176. package/dist/stories/components/QuickFilter/QuickFilter.stories.js +0 -281
  177. package/dist/stories/components/QuickFilter/QuickFilter.style.js +0 -21
  178. package/dist/stories/components/QuickFilter/QuickFilterDropdownMultiSelection.js +0 -299
  179. package/dist/stories/components/QuickFilter/QuickFilterDropdownMultiSelection.style.js +0 -194
  180. package/dist/stories/components/QuickFilter/QuickFilterDropdownSingle.js +0 -229
  181. package/dist/stories/components/QuickFilter/QuickFilterDropdownSingle.style.js +0 -139
  182. package/dist/stories/components/RangePicker/RangeDatePicker.js +0 -229
  183. package/dist/stories/components/RangePicker/RangePicker.js +0 -176
  184. package/dist/stories/components/RangePicker/RangePicker.stories.js +0 -138
  185. package/dist/stories/components/RangePicker/RangePicker.style.js +0 -107
  186. package/dist/stories/components/Rbackup.js +0 -453
  187. package/dist/stories/components/ReportTable/ReportTable.js +0 -262
  188. package/dist/stories/components/ReportTable/ReportTable.stories.js +0 -151
  189. package/dist/stories/components/ReportTable/ReportTable.style.js +0 -131
  190. package/dist/stories/components/SagButton/SagButton.js +0 -68
  191. package/dist/stories/components/SagButton/SagButton.stories.js +0 -118
  192. package/dist/stories/components/SagButton/SagButton.style.js +0 -47
  193. package/dist/stories/components/SagIconButton/SagIconButton.js +0 -130
  194. package/dist/stories/components/SagIconButton/SagIconButton.stories.js +0 -123
  195. package/dist/stories/components/SagIconButton/SagIconButton.style.js +0 -30
  196. package/dist/stories/components/SagInput/SagInput.js +0 -53
  197. package/dist/stories/components/SagInput/SagInput.stories.js +0 -69
  198. package/dist/stories/components/SagInput/SagInput.style.js +0 -41
  199. package/dist/stories/components/SalesAndROI/SalesAndROI.js +0 -89
  200. package/dist/stories/components/SalesAndROI/SalesAndROI.stories.js +0 -168
  201. package/dist/stories/components/SalesAndROI/SalesAndROI.style.js +0 -111
  202. package/dist/stories/components/SearchInput/SearchInput.js +0 -39
  203. package/dist/stories/components/SearchInput/SearchInput.stories.js +0 -44
  204. package/dist/stories/components/SearchInput/SearchInput.style.js +0 -37
  205. package/dist/stories/components/SegmentedButton/SegmentedButton.js +0 -122
  206. package/dist/stories/components/SegmentedButton/SegmentedButton.stories.js +0 -183
  207. package/dist/stories/components/SegmentedButton/SegmentedButton.style.js +0 -100
  208. package/dist/stories/components/Select/Select.js +0 -135
  209. package/dist/stories/components/Select/Select.stories.js +0 -200
  210. package/dist/stories/components/Select/Select.style.js +0 -102
  211. package/dist/stories/components/TabMenu/TabMenu.js +0 -214
  212. package/dist/stories/components/TabMenu/TabMenu.stories.js +0 -76
  213. package/dist/stories/components/TabMenu/TabMenu.style.js +0 -115
  214. package/dist/stories/components/Table/Table.js +0 -195
  215. package/dist/stories/components/Table/Table.stories.js +0 -104
  216. package/dist/stories/components/Table/Table.style.js +0 -86
  217. package/dist/stories/components/TableTooltip.js +0 -71
  218. package/dist/stories/components/TableTooltip.style.js +0 -12
  219. package/dist/stories/components/TextField/TextField.js +0 -209
  220. package/dist/stories/components/TextField/TextField.stories.js +0 -162
  221. package/dist/stories/components/TextField/TextField.style.js +0 -18
  222. package/dist/stories/components/TitleDescription/TitleDescription.js +0 -272
  223. package/dist/stories/components/TitleDescription/TitleDescription.stories.js +0 -117
  224. package/dist/stories/components/TitleDescription/TitleDescription.style.js +0 -222
  225. package/dist/stories/components/Tooltip/Tooltip.js +0 -31
  226. package/dist/stories/components/Tooltip/Tooltip.style.js +0 -103
  227. package/dist/stories/components/TopToggleList/TopToggleList.js +0 -46
  228. package/dist/stories/components/TopToggleList/TopToggleList.stories.js +0 -52
  229. package/dist/stories/components/TopToggleList/TopToggleList.style.js +0 -51
  230. package/dist/stories/components/TotalBenchmark/TotalBenchmark.js +0 -97
  231. package/dist/stories/components/TotalBenchmark/TotalBenchmark.stories.js +0 -138
  232. package/dist/stories/components/TotalBenchmark/TotalBenchmark.style.js +0 -81
  233. package/dist/stories/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.js +0 -342
  234. package/dist/stories/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.stories.js +0 -343
  235. package/dist/stories/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.style.js +0 -171
  236. package/dist/stories/components/TotalBenchmarkArrows/TotalBenchmarkArrows.js +0 -149
  237. package/dist/stories/components/TotalBenchmarkArrows/TotalBenchmarkArrows.stories.js +0 -172
  238. package/dist/stories/components/TotalBenchmarkArrows/TotalBenchmarkArrows.style.js +0 -108
  239. package/dist/stories/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.js +0 -165
  240. package/dist/stories/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.stories.js +0 -185
  241. package/dist/stories/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.style.js +0 -77
  242. package/dist/stories/components/TotalDoughnutChart/TotalDoughnutChart.js +0 -186
  243. package/dist/stories/components/TotalDoughnutChart/TotalDoughnutChart.stories.js +0 -291
  244. package/dist/stories/components/TotalDoughnutChart/TotalDoughnutChart.style.js +0 -178
  245. package/dist/stories/components/TotalHorizontalCharts/TotalHorizontalCharts.js +0 -229
  246. package/dist/stories/components/TotalHorizontalCharts/TotalHorizontalCharts.stories.js +0 -228
  247. package/dist/stories/components/TotalHorizontalCharts/TotalHorizontalCharts.style.js +0 -58
  248. package/dist/stories/components/TspanTooltip/TspanTooltip.js +0 -33
  249. package/dist/stories/components/TspanTooltip/TspanTooltip.style.js +0 -105
  250. package/dist/stories/components/TwoBarCharts/TwoBarCharts.js +0 -204
  251. package/dist/stories/components/TwoBarCharts/TwoBarCharts.stories.js +0 -185
  252. package/dist/stories/components/TwoBarCharts/TwoBarCharts.style.js +0 -60
  253. package/dist/stories/icons/ArrowDownIcon.js +0 -27
  254. package/dist/stories/icons/ArrowDropDownIcon.js +0 -27
  255. package/dist/stories/icons/ArrowSelectIcon.js +0 -27
  256. package/dist/stories/icons/ArrowUpIcon.js +0 -27
  257. package/dist/stories/icons/AttachedIcon.js +0 -27
  258. package/dist/stories/icons/BellIcon.js +0 -27
  259. package/dist/stories/icons/Calendar.js +0 -20
  260. package/dist/stories/icons/CalendarIcon.js +0 -27
  261. package/dist/stories/icons/CalendarInOpen.js +0 -26
  262. package/dist/stories/icons/CheckBoxButtonCheckedIcon.js +0 -28
  263. package/dist/stories/icons/CheckBoxCheckedIcon.js +0 -28
  264. package/dist/stories/icons/CheckBoxNotCheckedIcon.js +0 -28
  265. package/dist/stories/icons/ChervronLeftIcon.js +0 -20
  266. package/dist/stories/icons/ChervronRightIcon.js +0 -20
  267. package/dist/stories/icons/ClockIcon.js +0 -27
  268. package/dist/stories/icons/CloseIcon.js +0 -27
  269. package/dist/stories/icons/CloseXIcon.js +0 -27
  270. package/dist/stories/icons/ComboBoxArrowDownIcon.js +0 -28
  271. package/dist/stories/icons/ComboBoxArrowUpIcon.js +0 -28
  272. package/dist/stories/icons/DocumentIcon.js +0 -48
  273. package/dist/stories/icons/DownloadIcon.js +0 -27
  274. package/dist/stories/icons/Duplicate.js +0 -28
  275. package/dist/stories/icons/ErrorIcon.js +0 -27
  276. package/dist/stories/icons/ExitIcon.js +0 -28
  277. package/dist/stories/icons/ExportIcon.js +0 -28
  278. package/dist/stories/icons/EyeIcon.js +0 -28
  279. package/dist/stories/icons/FileIcon.js +0 -27
  280. package/dist/stories/icons/FilterIcon.js +0 -36
  281. package/dist/stories/icons/FlyIcon.js +0 -28
  282. package/dist/stories/icons/FoodLionChartIcon.js +0 -42
  283. package/dist/stories/icons/FoodLionIcon.js +0 -3076
  284. package/dist/stories/icons/FoodLionNewIcon.js +0 -39
  285. package/dist/stories/icons/GiantFoodChartIcon.js +0 -40
  286. package/dist/stories/icons/GiantFoodIcon.js +0 -1976
  287. package/dist/stories/icons/GiantFoodIcon_new.js +0 -42
  288. package/dist/stories/icons/HannafordChartIcon.js +0 -40
  289. package/dist/stories/icons/HannafordIcon.js +0 -5017
  290. package/dist/stories/icons/HannafordIcon_new.js +0 -41
  291. package/dist/stories/icons/HannafordNewIcon.js +0 -213
  292. package/dist/stories/icons/InfoIcon.js +0 -28
  293. package/dist/stories/icons/LampIcon.js +0 -27
  294. package/dist/stories/icons/LegendLineIcon.js +0 -29
  295. package/dist/stories/icons/LegendUnionIcon.js +0 -29
  296. package/dist/stories/icons/MaintenanceIcon.js +0 -28
  297. package/dist/stories/icons/MenuItemClosedIcon.js +0 -28
  298. package/dist/stories/icons/MenuItemOpenIcon.js +0 -28
  299. package/dist/stories/icons/MenuItemRightIcon.js +0 -28
  300. package/dist/stories/icons/MenuItemUpIcon.js +0 -28
  301. package/dist/stories/icons/NoDataFoundIcon.js +0 -86
  302. package/dist/stories/icons/OptionsIcon.js +0 -27
  303. package/dist/stories/icons/SearchIcon.js +0 -27
  304. package/dist/stories/icons/ShoppingCartIcon.js +0 -45
  305. package/dist/stories/icons/ShoutIcon.js +0 -27
  306. package/dist/stories/icons/SpotlightProductIcon.js +0 -28
  307. package/dist/stories/icons/StopAndShopChartIcon.js +0 -42
  308. package/dist/stories/icons/StopAndShopIcon.js +0 -134
  309. package/dist/stories/icons/StopAndShopNewIcon.js +0 -41
  310. package/dist/stories/icons/SucceededIcon.js +0 -27
  311. package/dist/stories/icons/TheGiantCompanyChartIcon.js +0 -40
  312. package/dist/stories/icons/TheGiantCompanyIcon.js +0 -40
  313. package/dist/stories/icons/TheGiantCompanyNewIcon.js +0 -39
  314. package/dist/stories/utils/CommonFunctions.js +0 -83
@@ -1,442 +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.TwoBars = exports.SalesDollars = exports.NoHeader = exports.MarketSharePercents = exports.HeaderTitlesAndValue = exports.BetweenTwoYears = void 0;
8
- var _react = _interopRequireDefault(require("react"));
9
- var _BarChartsByWeeks = require("./BarChartsByWeeks");
10
- const arrData = [{
11
- title: '202320',
12
- value: 542366
13
- }, {
14
- title: '202321',
15
- value: 699511
16
- }, {
17
- title: '202322',
18
- value: 403092
19
- }, {
20
- title: '202323',
21
- value: 396184
22
- }, {
23
- title: '202324',
24
- value: 415317
25
- }, {
26
- title: '202325',
27
- value: 568376
28
- }, {
29
- title: '202326',
30
- value: 1078121
31
- }, {
32
- title: '202327',
33
- value: 347930
34
- }, {
35
- title: '202328',
36
- value: 346258
37
- }, {
38
- title: '202329',
39
- value: 350184
40
- }, {
41
- title: '202330',
42
- value: 312790
43
- }, {
44
- title: '202331',
45
- value: 335076
46
- }, {
47
- title: '202332',
48
- value: 311037
49
- }];
50
- const arrDataPercents = [{
51
- title: '202320',
52
- value: 14.3
53
- }, {
54
- title: '202321',
55
- value: 11.2
56
- }, {
57
- title: '202322',
58
- value: 4.2
59
- }, {
60
- title: '202323',
61
- value: 8.3
62
- }, {
63
- title: '202324',
64
- value: 2.455667788
65
- }, {
66
- title: '202325',
67
- value: 6.2
68
- }, {
69
- title: '202326',
70
- value: 5.2
71
- }, {
72
- title: '202327',
73
- value: 12.9
74
- }, {
75
- title: '202328',
76
- value: 11.2
77
- }, {
78
- title: '202329',
79
- value: 14.2
80
- }, {
81
- title: '202330',
82
- value: 3.6
83
- }, {
84
- title: '202331',
85
- value: -24.7
86
- }, {
87
- title: '202332',
88
- value: 1.8
89
- }];
90
- const arrDataBetweenTwoYears = [{
91
- title: '202355',
92
- value: 542366
93
- }, {
94
- title: '202356',
95
- value: 699511
96
- }, {
97
- title: '202357',
98
- value: 403092
99
- }, {
100
- title: '202358',
101
- value: 396184
102
- }, {
103
- title: '202401',
104
- value: 415317
105
- }, {
106
- title: '202402',
107
- value: 568376
108
- }, {
109
- title: '202403',
110
- value: 1078121
111
- }, {
112
- title: '202404',
113
- value: 347930
114
- }, {
115
- title: '202405',
116
- value: 346258
117
- }, {
118
- title: '202406',
119
- value: 350184
120
- }, {
121
- title: '202407',
122
- value: 312790
123
- }, {
124
- title: '202408',
125
- value: 335076
126
- }, {
127
- title: '202409',
128
- value: 311037
129
- }];
130
- const arrDataTwoBarCharts = [{
131
- title: '202320',
132
- value: 542366,
133
- secondValue: 587642
134
- }, {
135
- title: '202321',
136
- value: 699511,
137
- secondValue: 365974
138
- }, {
139
- title: '202322',
140
- value: 403092,
141
- secondValue: 458721
142
- }, {
143
- title: '202323',
144
- value: 396184,
145
- secondValue: 965874
146
- }, {
147
- title: '202324',
148
- value: 415317,
149
- secondValue: 525258
150
- }, {
151
- title: '202325',
152
- value: 568376,
153
- secondValue: 757588
154
- }, {
155
- title: '202326',
156
- value: 1078121,
157
- secondValue: 356888
158
- }, {
159
- title: '202327',
160
- value: 347930,
161
- secondValue: 258888
162
- }, {
163
- title: '202328',
164
- value: 346258,
165
- secondValue: 655544
166
- }, {
167
- title: '202329',
168
- value: 350184,
169
- secondValue: 658955
170
- }, {
171
- title: '202330',
172
- value: 312790,
173
- secondValue: 454888
174
- }, {
175
- title: '202331',
176
- value: 335076,
177
- secondValue: 355557
178
- }, {
179
- title: '202332',
180
- value: 311037,
181
- secondValue: 855555
182
- }];
183
- var _default = exports.default = {
184
- title: 'SAG BI/Bar Charts By Weeks',
185
- component: _BarChartsByWeeks.BarChartsByWeeks,
186
- tags: ['autodocs'],
187
- argTypes: {
188
- title: {
189
- name: 'title',
190
- control: {
191
- type: 'text'
192
- },
193
- description: 'title on top of the component'
194
- },
195
- width: {
196
- name: 'width',
197
- control: {
198
- type: 'text'
199
- },
200
- description: 'width of the control (in px)'
201
- },
202
- height: {
203
- name: 'height',
204
- control: {
205
- type: 'text'
206
- },
207
- description: 'height of the control (in px)'
208
- },
209
- barChartColor: {
210
- name: 'barChartColor',
211
- description: 'Sets the area chart 1 color',
212
- control: {
213
- type: 'color',
214
- presetColors: ['#ffffff', '#ff0000', '#00ff00', '#0000ff']
215
- }
216
- },
217
- barChartData: {
218
- description: 'array [] of objects: {title: string, value:number } to fill the area data. '
219
- },
220
- xselectedColor: {
221
- name: 'xselectedColor',
222
- description: 'Sets the xselectedColor fill color',
223
- control: {
224
- type: 'color',
225
- presetColors: ['rgba(144, 206, 156, 0.50)']
226
- }
227
- },
228
- startWeekRange: {
229
- name: 'startWeekRange',
230
- control: {
231
- type: 'text'
232
- },
233
- description: 'startWeekRange, for example "W24" '
234
- },
235
- endWeekRange: {
236
- name: 'endWeekRange',
237
- control: {
238
- type: 'text'
239
- },
240
- description: 'endWeekRange, for example "W31" '
241
- },
242
- yAxisCounter: {
243
- name: 'yAxisCounter',
244
- control: {
245
- type: 'number'
246
- },
247
- description: 'yAxis Counter number'
248
- },
249
- isPercentValue: {
250
- name: 'isPercentValue',
251
- control: {
252
- type: 'boolean'
253
- },
254
- description: 'show values in bar charts as a percent'
255
- },
256
- headerValue: {
257
- name: 'headerValue',
258
- control: {
259
- type: 'number'
260
- },
261
- description: 'header Value'
262
- },
263
- HeaderValueIsPercent: {
264
- name: 'HeaderValueIsPercent',
265
- control: {
266
- type: 'boolean'
267
- },
268
- description: 'show header value as a percent'
269
- },
270
- setLimitHeight: {
271
- name: 'setLimitHeight',
272
- control: {
273
- type: 'text'
274
- },
275
- description: 'set limit height'
276
- },
277
- setLimitLow: {
278
- name: 'setLimitLow',
279
- control: {
280
- type: 'text'
281
- },
282
- description: 'set limit low'
283
- },
284
- showLegend: {
285
- name: 'showLegend',
286
- control: {
287
- type: 'boolean'
288
- },
289
- description: 'show bottom legend'
290
- },
291
- interval: {
292
- name: 'interval',
293
- control: {
294
- type: 'radio'
295
- },
296
- options: ['preserveEnd', 'preserveStart', 'preserveStartEnd', 'equidistantPreserveStart'],
297
- description: 'YAxis interval'
298
- },
299
- showTwoBars: {
300
- name: 'showTwoBars',
301
- control: {
302
- type: 'boolean'
303
- },
304
- description: 'show Two Bars, please support 2 values, example: { title: "202320", value: 542366, secondValue: 345879 } '
305
- }
306
- }
307
- };
308
- const SalesDollars = exports.SalesDollars = {
309
- args: {
310
- title: 'Sales $',
311
- headerValueTopTitle: '',
312
- headerValueBottomTitle: '',
313
- headerValue: 450000,
314
- HeaderValueCurrencyType: '',
315
- HeaderValueIsPercent: false,
316
- barChartData: arrData,
317
- width: '800px',
318
- height: '500px',
319
- barChartColor: '#1F7677',
320
- xselectedColor: '#C7E7CD',
321
- startWeekRange: 202323,
322
- endWeekRange: 202329,
323
- tooltipTitle: 'Sales($): ',
324
- yAxisCounter: 10,
325
- isPercentValue: false,
326
- interval: 'preserveEnd',
327
- showLegend: true
328
- }
329
- };
330
- const MarketSharePercents = exports.MarketSharePercents = {
331
- args: {
332
- title: 'Market Share Average %',
333
- headerValueTopTitle: '',
334
- headerValueBottomTitle: '',
335
- headerValue: 11.2,
336
- HeaderValueCurrencyType: '',
337
- HeaderValueIsPercent: true,
338
- barChartData: arrDataPercents,
339
- width: '700px',
340
- height: '480px',
341
- barChartColor: '#BD9EFF',
342
- xselectedColor: '#96B4FF',
343
- startWeekRange: '202323',
344
- endWeekRange: '202329',
345
- tooltipTitle: 'Market Share: ',
346
- yAxisCounter: 10,
347
- isPercentValue: true,
348
- interval: 'preserveStartEnd',
349
- showLegend: true,
350
- setLimitHeight: 10,
351
- setLimitLow: -20
352
- }
353
- };
354
- const BetweenTwoYears = exports.BetweenTwoYears = {
355
- args: {
356
- title: 'Between Two Years',
357
- HeaderValueIsPercent: false,
358
- barChartData: arrDataBetweenTwoYears,
359
- width: '900px',
360
- height: '280px',
361
- barChartColor: '#90CE9C',
362
- xselectedColor: '#C7E7CD',
363
- startWeekRange: '202356',
364
- endWeekRange: '202405',
365
- tooltipTitle: 'Sales($): ',
366
- yAxisCounter: 5,
367
- isPercentValue: false,
368
- interval: 'equidistantPreserveStart',
369
- showLegend: false,
370
- showTwoBars: false
371
- }
372
- };
373
- const TwoBars = exports.TwoBars = {
374
- args: {
375
- title: 'Sales $',
376
- headerValueTopTitle: 'Total Product Line Triers',
377
- headerValue: 45000,
378
- headerValueBottomTitle: 'Product Line Triers VS. Repeaters',
379
- HeaderValueIsPercent: false,
380
- barChartData: arrDataTwoBarCharts,
381
- width: '1050px',
382
- height: '280px',
383
- barChartColor: '#1F7677',
384
- barChartSecondColor: '#90CE9C',
385
- xselectedColor: '#C7E7CD',
386
- startWeekRange: 202323,
387
- endWeekRange: 202329,
388
- tooltipTitle: 'Sales 1: ',
389
- tooltipSecondTitle: 'Sales 2: ',
390
- yAxisCounter: 10,
391
- isPercentValue: false,
392
- interval: 'preserveEnd',
393
- showLegend: true,
394
- showTwoBars: true
395
- }
396
- };
397
- const HeaderTitlesAndValue = exports.HeaderTitlesAndValue = {
398
- args: {
399
- title: '',
400
- headerValueTopTitle: 'Total Product Line Triers',
401
- headerValueBottomTitle: 'Product Line Triers VS. Repeaters',
402
- headerValue: 450000,
403
- HeaderValueCurrencyType: '',
404
- HeaderValueIsPercent: false,
405
- barChartData: arrDataPercents,
406
- width: '1000px',
407
- height: '280px',
408
- barChartColor: '#BD9EFF',
409
- xselectedColor: '#96B4FF',
410
- startWeekRange: '202323',
411
- endWeekRange: '202329',
412
- tooltipTitle: 'Market Share: ',
413
- yAxisCounter: 10,
414
- isPercentValue: true,
415
- interval: 'preserveStartEnd',
416
- showLegend: true
417
- }
418
- };
419
- const NoHeader = exports.NoHeader = {
420
- args: {
421
- title: '',
422
- headerValueTopTitle: '',
423
- headerValue: null,
424
- headerValueBottomTitle: '',
425
- HeaderValueIsPercent: false,
426
- barChartData: arrDataTwoBarCharts,
427
- width: '1050px',
428
- height: '280px',
429
- barChartColor: '#1F7677',
430
- barChartSecondColor: '#90CE9C',
431
- xselectedColor: '#C7E7CD',
432
- startWeekRange: 202323,
433
- endWeekRange: 202329,
434
- tooltipTitle: 'Sales 1: ',
435
- tooltipSecondTitle: 'Sales 2: ',
436
- yAxisCounter: 10,
437
- isPercentValue: false,
438
- interval: 'preserveEnd',
439
- showLegend: true,
440
- showTwoBars: true
441
- }
442
- };
@@ -1,96 +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.TooltipTitle = exports.TooltipLabel = exports.TooltipDiv = exports.TitleAndValueContainer = exports.Title = exports.LegendWrapper = exports.EventWeeksLegendMainContainer = exports.EventWeeksLegendDataElementsContainer = exports.EventWeeksLegendDataElement = exports.ControlsContainer = exports.Controls = void 0;
8
- var _styledComponents = _interopRequireDefault(require("styled-components"));
9
- const ControlsContainer = exports.ControlsContainer = _styledComponents.default.div`
10
- position: relative;
11
- font-family: "Poppins", sans-serif;
12
- color: #212121;
13
- width: ${props => props.width};
14
- height: ${props => props.height};
15
- min-width: 250px;
16
- `;
17
- const Controls = exports.Controls = _styledComponents.default.div`
18
- height: 100%;
19
- width: 100%;
20
- background: white;
21
- display: flex;
22
- flex-direction: column;
23
- `;
24
- const TooltipDiv = exports.TooltipDiv = _styledComponents.default.div`
25
- border-radius: 5px;
26
- padding: 8px 12px;
27
- background: white;
28
- box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.2);
29
- margin: 0;
30
- `;
31
- const TooltipLabel = exports.TooltipLabel = _styledComponents.default.div`
32
- color: #212121;
33
- font-size: 14px;
34
- font-weight: 400;
35
- width: fit-content;
36
- `;
37
- const TooltipTitle = exports.TooltipTitle = _styledComponents.default.div`
38
- color: #212121;
39
- font-size: 14px;
40
- font-weight: 600;
41
- `;
42
- const TitleAndValueContainer = exports.TitleAndValueContainer = _styledComponents.default.div`
43
- padding: 0 1rem;
44
- `;
45
- const Title = exports.Title = _styledComponents.default.h5`
46
- font-weight: 500;
47
- font-size: 18px;
48
- line-height: 20px;
49
- margin: 0;
50
- @media (max-width: 1536px) {
51
- font-size: 16px;
52
- }
53
- @media (max-width: 1366px) {
54
- font-size: 14px;
55
- }
56
- `;
57
- const EventWeeksLegendMainContainer = exports.EventWeeksLegendMainContainer = _styledComponents.default.div`
58
- display: flex;
59
- justify-content: center;
60
- flex-direction: column;
61
- margin: 2px 0 0 0;
62
- padding-left: 55px;
63
- align-items: center;
64
- `;
65
- const EventWeeksLegendDataElementsContainer = exports.EventWeeksLegendDataElementsContainer = _styledComponents.default.div`
66
- display: flex;
67
- margin: 0px;
68
- align-items: center;
69
- justify-content: space-around;
70
- width: 100%;
71
- `;
72
- const EventWeeksLegendDataElement = exports.EventWeeksLegendDataElement = _styledComponents.default.h4`
73
- display: flex;
74
- font-weight: ${props => props.fontWeight};
75
- font-size: 12px;
76
- line-height: 15px;
77
- margin: 0;
78
- width: 100%;
79
- justify-content: center;
80
- align-content: center;
81
- color: ${props => props.textColor};
82
- border-top-left-radius: ${props => props.borderLeftRadius};
83
- border-bottom-left-radius: ${props => props.borderLeftRadius};
84
- border-top-right-radius: ${props => props.borderRightRadius};
85
- border-bottom-right-radius: ${props => props.borderRightRadius};
86
- background: ${props => props.color};
87
- @media (max-width: 1536px) {
88
- font-size: 11px;
89
- }
90
- @media (max-width: 1366px) {
91
- font-size: 10px;
92
- }
93
- `;
94
- const LegendWrapper = exports.LegendWrapper = _styledComponents.default.div`
95
- padding-top: 15px;
96
- `;
@@ -1,130 +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.Benchmark = void 0;
8
- var _react = _interopRequireDefault(require("react"));
9
- var _Benchmark = require("./Benchmark.style");
10
- var _CommonFunctions = require("../../utils/CommonFunctions");
11
- var _Tooltip = _interopRequireDefault(require("../Tooltip/Tooltip"));
12
- /* Benchmark */
13
- const Benchmark = props => {
14
- const {
15
- totalValue,
16
- currentValue,
17
- benchmarkValue,
18
- width,
19
- height,
20
- color,
21
- linearGradientColor,
22
- underAvarageColor,
23
- linearGradientUnderAvarageColor,
24
- backgroundColor,
25
- tooltipLabel,
26
- tooltipDirection
27
- } = props;
28
- const getCurrentValueRectangleWidth = () => {
29
- if (!totalValue) return 0;
30
- if (currentValue > totalValue) return width;
31
- return currentValue / totalValue * width;
32
- };
33
- const getUnderAvarageColor = () => {
34
- if (!totalValue) return backgroundColor;
35
- if (currentValue > totalValue) return color;
36
- let benchmarkCurrentValue;
37
- if (!benchmarkValue) {
38
- benchmarkCurrentValue = 0.5;
39
- } else if (benchmarkValue > totalValue) {
40
- benchmarkCurrentValue = 1;
41
- } else {
42
- benchmarkCurrentValue = benchmarkValue / totalValue;
43
- }
44
- if (currentValue === benchmarkValue) {
45
- return color;
46
- }
47
- if (currentValue / totalValue <= benchmarkCurrentValue) {
48
- return underAvarageColor;
49
- }
50
- return color;
51
- };
52
- const getUnderAvaragelinearGradientColor = () => {
53
- if (!totalValue) return backgroundColor;
54
- if (currentValue > totalValue) return linearGradientColor;
55
- let benchmarkCurrentValue;
56
- if (!benchmarkValue) {
57
- benchmarkCurrentValue = 0.5;
58
- } else if (benchmarkValue > totalValue) {
59
- benchmarkCurrentValue = 1;
60
- } else {
61
- benchmarkCurrentValue = benchmarkValue / totalValue;
62
- }
63
- if (currentValue === benchmarkValue) {
64
- return linearGradientColor;
65
- }
66
- if (currentValue / totalValue <= benchmarkCurrentValue) {
67
- return linearGradientUnderAvarageColor;
68
- }
69
- return linearGradientColor;
70
- };
71
- const getBenchmarkLeft = () => {
72
- if (!benchmarkValue) {
73
- return width / 2;
74
- }
75
- if (benchmarkValue > totalValue) {
76
- return width;
77
- }
78
- return width * (benchmarkValue / totalValue);
79
- };
80
- const getTooltipText = () => {
81
- var _getFormattedValue, _getFormattedUnits;
82
- return /*#__PURE__*/_react.default.createElement("h4", null, tooltipLabel, tooltipLabel ? ': ' : '', (_getFormattedValue = (0, _CommonFunctions.getFormattedValue)(benchmarkValue)) === null || _getFormattedValue === void 0 ? void 0 : _getFormattedValue.toString(), (_getFormattedUnits = (0, _CommonFunctions.getFormattedUnits)(benchmarkValue)) === null || _getFormattedUnits === void 0 ? void 0 : _getFormattedUnits.toString());
83
- };
84
- return /*#__PURE__*/_react.default.createElement(_Benchmark.ControlsContainer, {
85
- id: "ControlsContainer",
86
- height: height,
87
- width: width
88
- }, /*#__PURE__*/_react.default.createElement(_Tooltip.default, {
89
- id: "Tooltip",
90
- content: getTooltipText(),
91
- direction: tooltipDirection
92
- }, /*#__PURE__*/_react.default.createElement(_Benchmark.Controls, {
93
- id: "ControlsBenchmark",
94
- height: height,
95
- width: width
96
- }, /*#__PURE__*/_react.default.createElement(_Benchmark.BackgroundValueRectangle, {
97
- id: "BackgroundValueRectangle",
98
- height: height,
99
- width: width,
100
- color: backgroundColor
101
- }), /*#__PURE__*/_react.default.createElement(_Benchmark.CurrentValueRectangle, {
102
- id: "CurrentValueRectangle",
103
- height: height,
104
- width: getCurrentValueRectangleWidth(),
105
- color: getUnderAvarageColor(),
106
- lineargradientcolor: getUnderAvaragelinearGradientColor()
107
- }), /*#__PURE__*/_react.default.createElement(_Benchmark.AvarageDelimiter, {
108
- id: "AvarageDelimiter",
109
- height: height + 4,
110
- width: 0,
111
- top: -2,
112
- left: getBenchmarkLeft()
113
- }))));
114
- };
115
- exports.Benchmark = Benchmark;
116
- var _default = exports.default = Benchmark;
117
- Benchmark.defaultProps = {
118
- totalValue: 100,
119
- currentValue: 60,
120
- benchmarkValue: 500,
121
- width: 100,
122
- height: 12,
123
- color: '#79DB95',
124
- linearGradientColor: '#C3EFD0',
125
- underAvarageColor: '#FD5959',
126
- linearGradientUnderAvarageColor: '#FDB1B1',
127
- backgroundColor: '#F2F2F2',
128
- tooltipLabel: 'Benchmark',
129
- tooltipDirection: 'bottom'
130
- };