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,967 +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.PeriodPickerWithInitialValueYear = exports.PeriodPickerWithInitialValueQuarter = exports.PeriodPickerWithInitialValueMonth = exports.PeriodPickerWithInitialValueDaterange = exports.NoXClearOptionPage = exports.NewItemCenterEventsPage = exports.MultiDropdown = exports.FilterQuatertlyReport = exports.FilterPanelBlue = exports.DisableOKButton = void 0;
8
- var _react = _interopRequireDefault(require("react"));
9
- var _FilterPanel = _interopRequireDefault(require("./FilterPanel"));
10
- const NewItemCenterData = [{
11
- name: 'Retailer',
12
- label: 'Retailer',
13
- labelEmptyValue: 'All Retailers',
14
- disabled: false,
15
- required: true,
16
- inputType: 'dropdown',
17
- placeHolder: 'Type ...',
18
- xIconShow: false,
19
- dropdownOptions: [{
20
- value: 'Food Lion',
21
- label: 'Food Lion'
22
- }, {
23
- value: 'Hannaford',
24
- label: 'Hannaford'
25
- }, {
26
- value: 'Giant Food',
27
- label: 'Giant Food'
28
- }, {
29
- value: 'Stop&Shop',
30
- label: 'Stop&Shop'
31
- }, {
32
- value: 'The Giant Company',
33
- label: 'The Giant Company'
34
- }],
35
- defaultValue: [{
36
- value: 'Food Lion',
37
- label: 'Food Lion'
38
- }]
39
- }, {
40
- name: 'EventType',
41
- label: 'Event type',
42
- labelEmptyValue: 'All Event types',
43
- disabled: false,
44
- required: false,
45
- inputType: 'dropdown',
46
- placeHolder: 'Type ...',
47
- dropdownOptions: [{
48
- value: 'Large Selling Event #10 POD3',
49
- label: 'Large Selling Event #10 POD3'
50
- }, {
51
- value: 'NIC 11_23 Cycle 11',
52
- label: 'NIC 11_23 Cycle 11'
53
- }, {
54
- value: 'Large Selling Event #37 and 38 Event #37 and 38',
55
- label: 'Large Selling Event #37 and 38 Event #37 and 38'
56
- }]
57
- // defaultValue: { value: 'Large Selling Event #10 POD3', label: 'Large Selling Event #10 POD3' },
58
- }, {
59
- name: 'DateRange',
60
- label: 'Date Range',
61
- labelEmptyValue: 'All Dates',
62
- disabled: false,
63
- required: true,
64
- inputType: 'datepicker',
65
- showInfo: true,
66
- placeHolder: 'MM/DD/YYYY'
67
- }];
68
- const NewItemCenterMultiData = [{
69
- name: 'Retailer',
70
- label: 'Retailers',
71
- labelEmptyValue: 'All Retailers',
72
- disabled: false,
73
- required: true,
74
- xIconShow: false,
75
- inputType: 'dropdownMulti',
76
- placeHolder: 'Type ...',
77
- dropdownOptions: [{
78
- value: 'Food Lion',
79
- label: 'Food Lion'
80
- }, {
81
- value: 'Hannaford',
82
- label: 'Hannaford'
83
- }, {
84
- value: 'Giant Food',
85
- label: 'Giant Food'
86
- }, {
87
- value: 'Stop&Shop',
88
- label: 'Stop&Shop'
89
- }, {
90
- value: 'The Giant Company',
91
- label: 'The Giant Company'
92
- }],
93
- defaultValue: [{
94
- value: 'Food Lion',
95
- label: 'Food Lion'
96
- }]
97
- }, {
98
- name: 'EventType',
99
- label: 'Event types',
100
- labelEmptyValue: 'All Event types',
101
- disabled: false,
102
- required: false,
103
- inputType: 'dropdownMulti',
104
- placeHolder: 'Type ...',
105
- dropdownOptions: [{
106
- value: 'Large Selling Event #10 POD3',
107
- label: 'Large Selling Event #10 POD3'
108
- }, {
109
- value: 'NIC 11_23 Cycle 11',
110
- label: 'NIC 11_23 Cycle 11'
111
- }, {
112
- value: 'Large Selling Event #37 and 38 Event #37 and 38',
113
- label: 'Large Selling Event #37 and 38 Event #37 and 38'
114
- }]
115
- }, {
116
- name: 'DateRange',
117
- label: 'Date Range',
118
- labelEmptyValue: 'All Dates',
119
- disabled: false,
120
- required: true,
121
- inputType: 'datepicker',
122
- showInfo: true,
123
- placeHolder: 'MM/DD/YYYY'
124
- }];
125
- const QuatertlyData = [{
126
- name: 'Retailer',
127
- label: 'Retailers',
128
- labelEmptyValue: 'All Retailers',
129
- disabled: false,
130
- required: false,
131
- inputType: 'dropdownMulti',
132
- placeHolder: 'Type ...',
133
- xIconShow: false,
134
- dropdownOptions: [{
135
- value: 'Food Lion',
136
- label: 'Food Lion'
137
- }, {
138
- value: 'Hannaford',
139
- label: 'Hannaford'
140
- }, {
141
- value: 'Giant Food',
142
- label: 'Giant Food'
143
- }, {
144
- value: 'Stop&Shop',
145
- label: 'Stop&Shop'
146
- }, {
147
- value: 'The Giant Company',
148
- label: 'The Giant Company'
149
- }]
150
- }, {
151
- name: 'EventType',
152
- label: 'Event types',
153
- labelEmptyValue: 'All Event types',
154
- disabled: false,
155
- required: false,
156
- inputType: 'dropdownMulti',
157
- placeHolder: 'Type ...',
158
- dropdownOptions: [{
159
- value: 'Large Selling Event #10 POD3 Large Selling Event #10 POD3',
160
- label: 'Large Selling Event #10 POD3 Large Selling Event #10 POD3'
161
- }, {
162
- value: 'NIC 11_23 Cycle 11 NIC 11_23 Cycle 11',
163
- label: 'NIC 11_23 Cycle 11 NIC 11_23 Cycle 11'
164
- }, {
165
- value: 'Large Selling Event #37 and 38',
166
- label: 'Large Selling Event #37 and 38'
167
- }]
168
- }, {
169
- name: 'EventName',
170
- label: 'Event Names',
171
- labelEmptyValue: 'All Event Names',
172
- disabled: false,
173
- required: false,
174
- inputType: 'dropdownMulti',
175
- placeHolder: '',
176
- dropdownOptions: [{
177
- value: 'Event Name 1',
178
- label: 'Event Name 1'
179
- }, {
180
- value: 'Event Name 2',
181
- label: 'Event Name 2'
182
- }, {
183
- value: 'Event Name 3',
184
- label: 'Event Name 3'
185
- }]
186
- }, {
187
- name: 'EventTimeframe',
188
- label: 'Select Event Timeframe',
189
- labelEmptyValue: 'All Dates Types',
190
- disabled: false,
191
- required: false,
192
- inputType: 'periodpicker',
193
- placeHolder: 'Select Dates Types...',
194
- dropdownOptions: [{
195
- value: 'daterange',
196
- label: 'Event Start Date'
197
- }, {
198
- value: 'month',
199
- label: 'Month'
200
- }, {
201
- value: 'quarter',
202
- label: 'Quarter'
203
- }, {
204
- value: 'year',
205
- label: 'Year'
206
- }],
207
- availableQuarters: ['Q1-2024'],
208
- availableMonths: ['Jan 2024'],
209
- availableYears: ['2023'],
210
- defaultValueYears: {
211
- value: '2023',
212
- label: '2023'
213
- }
214
- }, {
215
- name: 'Supplier',
216
- label: 'Suppliers',
217
- labelEmptyValue: 'All Suppliers',
218
- disabled: false,
219
- required: false,
220
- inputType: 'dropdownMulti',
221
- placeHolder: '',
222
- dropdownOptions: [{
223
- value: 'Supplier 1',
224
- label: 'Supplier 1'
225
- }, {
226
- value: 'Supplier 2',
227
- label: 'Supplier 2'
228
- }, {
229
- value: 'Supplier 3',
230
- label: 'Supplier 3'
231
- }]
232
- }];
233
- const PeriodPickerWithInitialDaterangeData = [{
234
- name: 'Retailer',
235
- label: 'Retailers',
236
- labelEmptyValue: 'All Retailers',
237
- disabled: false,
238
- required: false,
239
- inputType: 'dropdownMulti',
240
- placeHolder: 'Type ...',
241
- xIconShow: false,
242
- dropdownOptions: [{
243
- value: 'Food Lion',
244
- label: 'Food Lion'
245
- }, {
246
- value: 'Hannaford',
247
- label: 'Hannaford'
248
- }, {
249
- value: 'Giant Food',
250
- label: 'Giant Food'
251
- }, {
252
- value: 'Stop&Shop',
253
- label: 'Stop&Shop'
254
- }, {
255
- value: 'The Giant Company',
256
- label: 'The Giant Company'
257
- }]
258
- }, {
259
- name: 'EventType',
260
- label: 'Event types',
261
- labelEmptyValue: 'All Event types',
262
- disabled: false,
263
- required: false,
264
- inputType: 'dropdownMulti',
265
- placeHolder: 'Type ...',
266
- dropdownOptions: [{
267
- value: 'Large Selling Event #10 POD3 Large Selling Event #10 POD3',
268
- label: 'Large Selling Event #10 POD3 Large Selling Event #10 POD3'
269
- }, {
270
- value: 'NIC 11_23 Cycle 11 NIC 11_23 Cycle 11',
271
- label: 'NIC 11_23 Cycle 11 NIC 11_23 Cycle 11'
272
- }, {
273
- value: 'Large Selling Event #37 and 38',
274
- label: 'Large Selling Event #37 and 38'
275
- }]
276
- }, {
277
- name: 'EventName',
278
- label: 'Event Names',
279
- labelEmptyValue: 'All Event Names',
280
- disabled: false,
281
- required: false,
282
- inputType: 'dropdownMulti',
283
- placeHolder: '',
284
- dropdownOptions: [{
285
- value: 'Event Name 1',
286
- label: 'Event Name 1'
287
- }, {
288
- value: 'Event Name 2',
289
- label: 'Event Name 2'
290
- }, {
291
- value: 'Event Name 3',
292
- label: 'Event Name 3'
293
- }]
294
- }, {
295
- name: 'Supplier',
296
- label: 'Suppliers',
297
- labelEmptyValue: 'All Suppliers',
298
- disabled: false,
299
- required: false,
300
- inputType: 'dropdownMulti',
301
- placeHolder: '',
302
- dropdownOptions: [{
303
- value: 'Supplier 1',
304
- label: 'Supplier 1'
305
- }, {
306
- value: 'Supplier 2',
307
- label: 'Supplier 2'
308
- }, {
309
- value: 'Supplier 3',
310
- label: 'Supplier 3'
311
- }]
312
- }, {
313
- name: 'EventTimeframe',
314
- label: 'Select Event Timeframe',
315
- labelEmptyValue: 'All Dates Types',
316
- disabled: false,
317
- required: false,
318
- inputType: 'periodpicker',
319
- periodPickerSelectedValue: [{
320
- value: 'daterange',
321
- label: 'Event Start Date'
322
- }],
323
- selectedValue: '06/08/2024 - 14/08/2024',
324
- placeHolder: 'Select Dates Types...',
325
- dropdownOptions: [{
326
- value: 'daterange',
327
- label: 'Event Start Date'
328
- }, {
329
- value: 'month',
330
- label: 'Month'
331
- }, {
332
- value: 'quarter',
333
- label: 'Quarter'
334
- }, {
335
- value: 'year',
336
- label: 'Year'
337
- }],
338
- availableQuarters: ['Q1-2024', 'Q2-2024'],
339
- availableMonths: ['Jan 2024'],
340
- defaultValueYears: {
341
- value: '2024',
342
- label: '2024'
343
- }
344
- }];
345
- const PeriodPickerWithInitialQuarterData = [{
346
- name: 'Retailer',
347
- label: 'Retailers',
348
- labelEmptyValue: 'All Retailers',
349
- disabled: false,
350
- required: false,
351
- inputType: 'dropdownMulti',
352
- placeHolder: 'Type ...',
353
- xIconShow: false,
354
- dropdownOptions: [{
355
- value: 'Food Lion',
356
- label: 'Food Lion'
357
- }, {
358
- value: 'Hannaford',
359
- label: 'Hannaford'
360
- }, {
361
- value: 'Giant Food',
362
- label: 'Giant Food'
363
- }, {
364
- value: 'Stop&Shop',
365
- label: 'Stop&Shop'
366
- }, {
367
- value: 'The Giant Company',
368
- label: 'The Giant Company'
369
- }]
370
- }, {
371
- name: 'EventType',
372
- label: 'Event types',
373
- labelEmptyValue: 'All Event types',
374
- disabled: false,
375
- required: false,
376
- inputType: 'dropdownMulti',
377
- placeHolder: 'Type ...',
378
- dropdownOptions: [{
379
- value: 'Large Selling Event #10 POD3 Large Selling Event #10 POD3',
380
- label: 'Large Selling Event #10 POD3 Large Selling Event #10 POD3'
381
- }, {
382
- value: 'NIC 11_23 Cycle 11 NIC 11_23 Cycle 11',
383
- label: 'NIC 11_23 Cycle 11 NIC 11_23 Cycle 11'
384
- }, {
385
- value: 'Large Selling Event #37 and 38',
386
- label: 'Large Selling Event #37 and 38'
387
- }]
388
- }, {
389
- name: 'EventName',
390
- label: 'Event Names',
391
- labelEmptyValue: 'All Event Names',
392
- disabled: false,
393
- required: false,
394
- inputType: 'dropdownMulti',
395
- placeHolder: '',
396
- dropdownOptions: [{
397
- value: 'Event Name 1',
398
- label: 'Event Name 1'
399
- }, {
400
- value: 'Event Name 2',
401
- label: 'Event Name 2'
402
- }, {
403
- value: 'Event Name 3',
404
- label: 'Event Name 3'
405
- }]
406
- }, {
407
- name: 'Supplier',
408
- label: 'Suppliers',
409
- labelEmptyValue: 'All Suppliers',
410
- disabled: false,
411
- required: false,
412
- inputType: 'dropdownMulti',
413
- placeHolder: '',
414
- dropdownOptions: [{
415
- value: 'Supplier 1',
416
- label: 'Supplier 1'
417
- }, {
418
- value: 'Supplier 2',
419
- label: 'Supplier 2'
420
- }, {
421
- value: 'Supplier 3',
422
- label: 'Supplier 3'
423
- }]
424
- }, {
425
- name: 'EventTimeframe',
426
- label: 'Select Event Timeframe',
427
- labelEmptyValue: 'All Dates Types',
428
- disabled: false,
429
- required: false,
430
- inputType: 'periodpicker',
431
- periodPickerSelectedValue: [{
432
- value: 'quarter',
433
- label: 'Event Quarter'
434
- }],
435
- selectedValue: 'Q2-2024',
436
- placeHolder: 'Select Dates Types...',
437
- dropdownOptions: [{
438
- value: 'daterange',
439
- label: 'Event Start Date'
440
- }, {
441
- value: 'month',
442
- label: 'Month'
443
- }, {
444
- value: 'quarter',
445
- label: 'Quarter'
446
- }, {
447
- value: 'year',
448
- label: 'Year'
449
- }],
450
- availableQuarters: ['Q1-2024', 'Q2-2024', 'Q3-2024'],
451
- availableMonths: ['Jan 2024'],
452
- defaultValueYears: {
453
- value: '2024',
454
- label: '2024'
455
- }
456
- }];
457
- const PeriodPickerWithInitialMonthData = [{
458
- name: 'Retailer',
459
- label: 'Retailers',
460
- labelEmptyValue: 'All Retailers',
461
- disabled: false,
462
- required: false,
463
- inputType: 'dropdownMulti',
464
- placeHolder: 'Type ...',
465
- xIconShow: false,
466
- dropdownOptions: [{
467
- value: 'Food Lion',
468
- label: 'Food Lion'
469
- }, {
470
- value: 'Hannaford',
471
- label: 'Hannaford'
472
- }, {
473
- value: 'Giant Food',
474
- label: 'Giant Food'
475
- }, {
476
- value: 'Stop&Shop',
477
- label: 'Stop&Shop'
478
- }, {
479
- value: 'The Giant Company',
480
- label: 'The Giant Company'
481
- }]
482
- }, {
483
- name: 'EventType',
484
- label: 'Event types',
485
- labelEmptyValue: 'All Event types',
486
- disabled: false,
487
- required: false,
488
- inputType: 'dropdownMulti',
489
- placeHolder: 'Type ...',
490
- dropdownOptions: [{
491
- value: 'Large Selling Event #10 POD3 Large Selling Event #10 POD3',
492
- label: 'Large Selling Event #10 POD3 Large Selling Event #10 POD3'
493
- }, {
494
- value: 'NIC 11_23 Cycle 11 NIC 11_23 Cycle 11',
495
- label: 'NIC 11_23 Cycle 11 NIC 11_23 Cycle 11'
496
- }, {
497
- value: 'Large Selling Event #37 and 38',
498
- label: 'Large Selling Event #37 and 38'
499
- }]
500
- }, {
501
- name: 'EventName',
502
- label: 'Event Names',
503
- labelEmptyValue: 'All Event Names',
504
- disabled: false,
505
- required: false,
506
- inputType: 'dropdownMulti',
507
- placeHolder: '',
508
- dropdownOptions: [{
509
- value: 'Event Name 1',
510
- label: 'Event Name 1'
511
- }, {
512
- value: 'Event Name 2',
513
- label: 'Event Name 2'
514
- }, {
515
- value: 'Event Name 3',
516
- label: 'Event Name 3'
517
- }]
518
- }, {
519
- name: 'EventTimeframe',
520
- label: 'Select Event Timeframe',
521
- labelEmptyValue: 'All Dates Types',
522
- disabled: false,
523
- required: false,
524
- inputType: 'periodpicker',
525
- periodPickerSelectedValue: [{
526
- value: 'month',
527
- label: 'Event Month'
528
- }],
529
- selectedValue: 'January | 2024',
530
- placeHolder: 'Select Dates Types...',
531
- dropdownOptions: [{
532
- value: 'daterange',
533
- label: 'Event Start Date'
534
- }, {
535
- value: 'month',
536
- label: 'Month'
537
- }, {
538
- value: 'quarter',
539
- label: 'Quarter'
540
- }, {
541
- value: 'year',
542
- label: 'Year'
543
- }],
544
- availableQuarters: ['Q1-2024', 'Q2-2024', 'Q3-2024'],
545
- availableMonths: ['Jan 2024', 'Feb 2024', 'Mar 2024'],
546
- defaultValueYears: {
547
- value: '2024',
548
- label: '2024'
549
- }
550
- }, {
551
- name: 'Supplier',
552
- label: 'Suppliers',
553
- labelEmptyValue: 'All Suppliers',
554
- disabled: false,
555
- required: false,
556
- inputType: 'dropdownMulti',
557
- placeHolder: '',
558
- dropdownOptions: [{
559
- value: 'Supplier 1',
560
- label: 'Supplier 1'
561
- }, {
562
- value: 'Supplier 2',
563
- label: 'Supplier 2'
564
- }, {
565
- value: 'Supplier 3',
566
- label: 'Supplier 3'
567
- }]
568
- }];
569
- const PeriodPickerWithInitialYearData = [{
570
- name: 'Retailer',
571
- label: 'Retailers',
572
- labelEmptyValue: 'All Retailers',
573
- disabled: false,
574
- required: false,
575
- inputType: 'dropdownMulti',
576
- placeHolder: 'Type ...',
577
- xIconShow: false,
578
- dropdownOptions: [{
579
- value: 'Food Lion',
580
- label: 'Food Lion'
581
- }, {
582
- value: 'Hannaford',
583
- label: 'Hannaford'
584
- }, {
585
- value: 'Giant Food',
586
- label: 'Giant Food'
587
- }, {
588
- value: 'Stop&Shop',
589
- label: 'Stop&Shop'
590
- }, {
591
- value: 'The Giant Company',
592
- label: 'The Giant Company'
593
- }]
594
- }, {
595
- name: 'EventType',
596
- label: 'Event types',
597
- labelEmptyValue: 'All Event types',
598
- disabled: false,
599
- required: false,
600
- inputType: 'dropdownMulti',
601
- placeHolder: 'Type ...',
602
- dropdownOptions: [{
603
- value: 'Large Selling Event #10 POD3 Large Selling Event #10 POD3',
604
- label: 'Large Selling Event #10 POD3 Large Selling Event #10 POD3'
605
- }, {
606
- value: 'NIC 11_23 Cycle 11 NIC 11_23 Cycle 11',
607
- label: 'NIC 11_23 Cycle 11 NIC 11_23 Cycle 11'
608
- }, {
609
- value: 'Large Selling Event #37 and 38',
610
- label: 'Large Selling Event #37 and 38'
611
- }]
612
- }, {
613
- name: 'EventName',
614
- label: 'Event Names',
615
- labelEmptyValue: 'All Event Names',
616
- disabled: false,
617
- required: false,
618
- inputType: 'dropdownMulti',
619
- placeHolder: '',
620
- dropdownOptions: [{
621
- value: 'Event Name 1',
622
- label: 'Event Name 1'
623
- }, {
624
- value: 'Event Name 2',
625
- label: 'Event Name 2'
626
- }, {
627
- value: 'Event Name 3',
628
- label: 'Event Name 3'
629
- }]
630
- }, {
631
- name: 'Supplier',
632
- label: 'Suppliers',
633
- labelEmptyValue: 'All Suppliers',
634
- disabled: false,
635
- required: false,
636
- inputType: 'dropdownMulti',
637
- placeHolder: '',
638
- dropdownOptions: [{
639
- value: 'Supplier 1',
640
- label: 'Supplier 1'
641
- }, {
642
- value: 'Supplier 2',
643
- label: 'Supplier 2'
644
- }, {
645
- value: 'Supplier 3',
646
- label: 'Supplier 3'
647
- }]
648
- }, {
649
- name: 'EventTimeframe',
650
- label: 'Select Event Timeframe',
651
- labelEmptyValue: 'All Dates Types',
652
- disabled: false,
653
- required: false,
654
- inputType: 'periodpicker',
655
- periodPickerSelectedValue: [{
656
- value: 'year',
657
- label: 'Event Year'
658
- }],
659
- selectedValue: '2024',
660
- placeHolder: 'Select Dates Types...',
661
- dropdownOptions: [{
662
- value: 'daterange',
663
- label: 'Event Start Date'
664
- }, {
665
- value: 'month',
666
- label: 'Month'
667
- }, {
668
- value: 'quarter',
669
- label: 'Quarter'
670
- }, {
671
- value: 'year',
672
- label: 'Year'
673
- }],
674
- availableQuarters: ['Q1-2024', 'Q2-2024', 'Q3-2024'],
675
- availableMonths: ['Jan 2024', 'Feb 2024', 'Mar 2024'],
676
- defaultValueYears: {
677
- value: '2024',
678
- label: '2024'
679
- }
680
- }];
681
- const NewItemCenterNoShowXClearOptionData = [{
682
- name: 'Retailer',
683
- label: 'Retailer',
684
- labelEmptyValue: 'All Retailers',
685
- disabled: false,
686
- required: true,
687
- inputType: 'dropdown',
688
- placeHolder: 'Type ...',
689
- xIconShow: false,
690
- dropdownOptions: [{
691
- value: 'Food Lion',
692
- label: 'Food Lion'
693
- }, {
694
- value: 'Hannaford',
695
- label: 'Hannaford'
696
- }, {
697
- value: 'Giant Food',
698
- label: 'Giant Food'
699
- }, {
700
- value: 'Stop&Shop',
701
- label: 'Stop&Shop'
702
- }, {
703
- value: 'The Giant Company',
704
- label: 'The Giant Company'
705
- }],
706
- defaultValue: [{
707
- value: 'Food Lion',
708
- label: 'Food Lion'
709
- }]
710
- }, {
711
- name: 'EventType',
712
- label: 'Event type',
713
- labelEmptyValue: 'All Event types',
714
- disabled: false,
715
- required: false,
716
- inputType: 'dropdown',
717
- placeHolder: 'Type ...',
718
- xIconShow: false,
719
- dropdownOptions: [{
720
- value: 'Large Selling Event #10 POD3',
721
- label: 'Large Selling Event #10 POD3'
722
- }, {
723
- value: 'NIC 11_23 Cycle 11',
724
- label: 'NIC 11_23 Cycle 11'
725
- }, {
726
- value: 'Large Selling Event #37 and 38 Event #37 and 38',
727
- label: 'Large Selling Event #37 and 38 Event #37 and 38'
728
- }]
729
- // defaultValue: { value: 'Large Selling Event #10 POD3', label: 'Large Selling Event #10 POD3' },
730
- }, {
731
- name: 'DateRange',
732
- label: 'Date Range',
733
- labelEmptyValue: 'All Dates',
734
- disabled: false,
735
- required: true,
736
- inputType: 'datepicker',
737
- showInfo: true,
738
- placeHolder: 'MM/DD/YYYY'
739
- }];
740
- var _default = exports.default = {
741
- title: 'SAG BI/FilterPanel',
742
- component: _FilterPanel.default,
743
- tags: ['autodocs'],
744
- argTypes: {
745
- width: {
746
- name: 'width',
747
- control: {
748
- type: 'text'
749
- },
750
- description: 'width of the form'
751
- },
752
- height: {
753
- name: 'height',
754
- control: {
755
- type: 'text'
756
- },
757
- description: 'height of the form'
758
- },
759
- borderColor: {
760
- name: 'borderColor',
761
- description: 'Sets the border color',
762
- control: {
763
- type: 'color',
764
- presetColors: ['#ffffff', '#ff0000', '#00ff00', '#0000ff']
765
- }
766
- },
767
- okButtonBackgroundColor: {
768
- name: 'okButtonBackgroundColor',
769
- description: 'Sets the okButtonBackgroundColor color',
770
- control: {
771
- type: 'color',
772
- presetColors: ['#ffffff', '#ff0000', '#00ff00', '#0000ff']
773
- }
774
- },
775
- okButtonHoverColor: {
776
- name: 'okButtonHoverColor',
777
- description: 'Sets the ok Button Hover color',
778
- control: {
779
- type: 'color',
780
- presetColors: ['#ffffff', '#ff0000', '#00ff00', '#0000ff']
781
- }
782
- },
783
- resetButtonBackgroundColor: {
784
- name: 'resetButtonBackgroundColor',
785
- description: 'Sets the reset Button Background Color ',
786
- control: {
787
- type: 'color',
788
- presetColors: ['#ffffff', '#ff0000', '#00ff00', '#0000ff']
789
- }
790
- },
791
- resetButtonHoverColor: {
792
- name: 'resetButtonHoverColor',
793
- description: 'Sets the reset Button Hover color',
794
- control: {
795
- type: 'color',
796
- presetColors: ['#ffffff', '#ff0000', '#00ff00', '#0000ff']
797
- }
798
- },
799
- onOkClick: {
800
- name: 'onOkClick',
801
- action: 'onOkClick',
802
- description: 'Click on Ok event'
803
- },
804
- onResetClick: {
805
- name: 'onResetClick',
806
- action: 'onResetClick',
807
- description: 'Click onResetClick event'
808
- },
809
- onItemValueChanged: {
810
- name: 'onItemValueChanged',
811
- action: 'onItemValueChanged',
812
- description: 'onChange event '
813
- },
814
- fieldsData: {
815
- description: 'array [] of objects: supported inputTypes: dropdown, dropdownMulti, "datepicker", periodpicker '
816
- },
817
- disableOKButton: {
818
- name: 'disableOKButton',
819
- control: {
820
- type: 'boolean'
821
- },
822
- description: 'disable OK Button'
823
- },
824
- className: {
825
- name: 'className',
826
- control: {
827
- type: 'text'
828
- },
829
- description: 'name of the class'
830
- },
831
- showShadow: {
832
- name: 'showShadow',
833
- control: {
834
- type: 'boolean'
835
- },
836
- description: 'show or hide Shadow'
837
- }
838
- }
839
- };
840
- const DisableOKButton = exports.DisableOKButton = {
841
- args: {
842
- fieldsData: NewItemCenterData,
843
- width: '300px',
844
- height: '800px',
845
- okButtonBackgroundColor: '#229E38',
846
- okButtonHoverColor: '#92CF17',
847
- resetButtonHoverColor: '#E8F5EB',
848
- borderColor: '#066768',
849
- disableOKButton: true
850
- }
851
- };
852
- const MultiDropdown = exports.MultiDropdown = {
853
- args: {
854
- fieldsData: NewItemCenterMultiData,
855
- width: '400px',
856
- height: '800px',
857
- okButtonBackgroundColor: '#229E38',
858
- okButtonHoverColor: '#92CF17',
859
- resetButtonHoverColor: '#E8F5EB',
860
- borderColor: '#066768',
861
- disableOKButton: false
862
- }
863
- };
864
- const FilterPanelBlue = exports.FilterPanelBlue = {
865
- args: {
866
- fieldsData: NewItemCenterData,
867
- width: '50%',
868
- height: '700px',
869
- okButtonBackgroundColor: '#229E38',
870
- okButtonHoverColor: '#92CF17',
871
- resetButtonHoverColor: '#E8F5EB',
872
- borderColor: '#066768',
873
- disableOKButton: true
874
- }
875
- };
876
- const NewItemCenterEventsPage = exports.NewItemCenterEventsPage = {
877
- args: {
878
- fieldsData: NewItemCenterData,
879
- width: '400px',
880
- height: '800px',
881
- okButtonBackgroundColor: '#229E38',
882
- okButtonHoverColor: '#92CF17',
883
- resetButtonHoverColor: '#E8F5EB',
884
- borderColor: '#066768',
885
- disableOKButton: false
886
- }
887
- };
888
- const FilterQuatertlyReport = exports.FilterQuatertlyReport = {
889
- args: {
890
- fieldsData: QuatertlyData,
891
- width: '300px',
892
- height: '700px',
893
- okButtonBackgroundColor: '#229E38',
894
- okButtonHoverColor: '#92CF17',
895
- resetButtonHoverColor: '#E8F5EB',
896
- borderColor: '#066768',
897
- disableOKButton: false,
898
- availableQuarters: ['Q1-2024', 'Q2-2024', 'Q3-2024'],
899
- availableMonths: ['Jan 2024', 'Feb 2024', 'Mar 2024', 'Apr 2024', 'May 2024', 'Jun 2024', 'Jul 2024', 'Aug 2024', 'Sep 2024'],
900
- availableYears: ['2024', '2025', '2026']
901
- }
902
- };
903
- const NoXClearOptionPage = exports.NoXClearOptionPage = {
904
- args: {
905
- fieldsData: NewItemCenterNoShowXClearOptionData,
906
- width: '400px',
907
- height: '800px',
908
- okButtonBackgroundColor: '#229E38',
909
- okButtonHoverColor: '#92CF17',
910
- resetButtonHoverColor: '#E8F5EB',
911
- borderColor: '#066768',
912
- disableOKButton: false
913
- }
914
- };
915
- const PeriodPickerWithInitialValueDaterange = exports.PeriodPickerWithInitialValueDaterange = {
916
- args: {
917
- fieldsData: PeriodPickerWithInitialDaterangeData,
918
- width: '300px',
919
- height: '700px',
920
- okButtonBackgroundColor: '#229E38',
921
- okButtonHoverColor: '#92CF17',
922
- resetButtonHoverColor: '#E8F5EB',
923
- borderColor: '#066768',
924
- disableOKButton: false,
925
- useExternalFilterState: true
926
- }
927
- };
928
- const PeriodPickerWithInitialValueQuarter = exports.PeriodPickerWithInitialValueQuarter = {
929
- args: {
930
- fieldsData: PeriodPickerWithInitialQuarterData,
931
- width: '300px',
932
- height: '700px',
933
- okButtonBackgroundColor: '#229E38',
934
- okButtonHoverColor: '#92CF17',
935
- resetButtonHoverColor: '#E8F5EB',
936
- borderColor: '#066768',
937
- disableOKButton: false,
938
- useExternalFilterState: true
939
- }
940
- };
941
- const PeriodPickerWithInitialValueMonth = exports.PeriodPickerWithInitialValueMonth = {
942
- args: {
943
- fieldsData: PeriodPickerWithInitialMonthData,
944
- width: '300px',
945
- height: '700px',
946
- okButtonBackgroundColor: '#229E38',
947
- okButtonHoverColor: '#92CF17',
948
- resetButtonHoverColor: '#E8F5EB',
949
- borderColor: '#066768',
950
- disableOKButton: false,
951
- useExternalFilterState: true
952
- }
953
- };
954
- const PeriodPickerWithInitialValueYear = exports.PeriodPickerWithInitialValueYear = {
955
- args: {
956
- fieldsData: PeriodPickerWithInitialYearData,
957
- width: '300px',
958
- height: '700px',
959
- okButtonBackgroundColor: '#229E38',
960
- okButtonHoverColor: '#92CF17',
961
- resetButtonHoverColor: '#E8F5EB',
962
- borderColor: '#066768',
963
- disableOKButton: false,
964
- useExternalFilterState: true,
965
- showShadow: false
966
- }
967
- };