sag_components 1.0.882 → 1.0.883

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 (310) hide show
  1. package/dist/stories/components/AttachedFile/AttachedFile.js +62 -0
  2. package/dist/stories/components/AttachedFile/AttachedFile.stories.js +36 -0
  3. package/dist/stories/components/AttachedFile/AttachedFile.style.js +14 -0
  4. package/dist/stories/components/BannerEventBox/BannerEventBox.js +87 -0
  5. package/dist/stories/components/BannerEventBox/BannerEventBox.stories.js +58 -0
  6. package/dist/stories/components/BannerEventBox/BannerEventBox.style.js +22 -0
  7. package/dist/stories/components/BannerEventBoxList/BannerEventBoxList.js +148 -0
  8. package/dist/stories/components/BannerEventBoxList/BannerEventBoxList.stories.js +30 -0
  9. package/dist/stories/components/BannerEventBoxList/BannerEventBoxList.style.js +22 -0
  10. package/dist/stories/components/BannersDropdown/BannersDropdown.js +115 -0
  11. package/dist/stories/components/BannersDropdown/BannersDropdown.stories.js +64 -0
  12. package/dist/stories/components/BannersDropdown/BannersDropdown.style.js +18 -0
  13. package/dist/stories/components/BarChart/BarChart.js +189 -0
  14. package/dist/stories/components/BarChart/BarChart.stories.js +144 -0
  15. package/dist/stories/components/BarChart/BarChart.style.js +18 -0
  16. package/dist/stories/components/BarChartTwoRows/BarChartTwoRows.js +204 -0
  17. package/dist/stories/components/BarChartTwoRows/BarChartTwoRows.stories.js +133 -0
  18. package/dist/stories/components/BarChartTwoRows/BarChartTwoRows.style.js +18 -0
  19. package/dist/stories/components/BarChartWithAreaChart.js +241 -0
  20. package/dist/stories/components/BarChartWithAreaChart.style.js +64 -0
  21. package/dist/stories/components/BarChartsByWeeks/BarChartsByWeeks.js +295 -0
  22. package/dist/stories/components/BarChartsByWeeks/BarChartsByWeeks.stories.js +442 -0
  23. package/dist/stories/components/BarChartsByWeeks/BarChartsByWeeks.style.js +21 -0
  24. package/dist/stories/components/Benchmark/Benchmark.js +130 -0
  25. package/dist/stories/components/Benchmark/Benchmark.stories.js +148 -0
  26. package/dist/stories/components/Benchmark/Benchmark.style.js +15 -0
  27. package/dist/stories/components/Button/Button.js +217 -0
  28. package/dist/stories/components/Button/Button.stories.js +269 -0
  29. package/dist/stories/components/Button/Button.style.js +15 -0
  30. package/dist/stories/components/CampaignDemoReport/CampaignDemoReport.js +48 -0
  31. package/dist/stories/components/CampaignDemoReport/CampaignDemoReport.stories.js +65 -0
  32. package/dist/stories/components/CampaignDemoReport/CampaignDemoReport.style.js +15 -0
  33. package/dist/stories/components/Card/Card.js +72 -0
  34. package/dist/stories/components/Card/Card.stories.js +92 -0
  35. package/dist/stories/components/Card/Card.style.js +18 -0
  36. package/dist/stories/components/CheckBox/CheckBox.js +76 -0
  37. package/dist/stories/components/CheckBox/CheckBox.stories.js +107 -0
  38. package/dist/stories/components/CheckBox/CheckBox.style.js +14 -0
  39. package/dist/stories/components/CheckBoxButton/CheckBoxButton.js +69 -0
  40. package/dist/stories/components/CheckBoxButton/CheckBoxButton.stories.js +150 -0
  41. package/dist/stories/components/CheckBoxButton/CheckBoxButton.style.js +14 -0
  42. package/dist/stories/components/CodeEditor/CodeEditor.js +43 -0
  43. package/dist/stories/components/CodeEditor/CodeEditor.style.js +12 -0
  44. package/dist/stories/components/CollapseData/CollapseData.js +66 -0
  45. package/dist/stories/components/CollapseData/CollapseData.stories.js +125 -0
  46. package/dist/stories/components/CollapseData/CollapseData.style.js +21 -0
  47. package/dist/stories/components/CollapseHeader/CollapseHeader.js +267 -0
  48. package/dist/stories/components/CollapseHeader/CollapseHeader.stories.js +116 -0
  49. package/dist/stories/components/CollapseHeader/CollapseHeader.style.js +35 -0
  50. package/dist/stories/components/CollapseMenuItem/CollapseMenuItem.js +61 -0
  51. package/dist/stories/components/CollapseMenuItem/CollapseMenuItem.stories.js +161 -0
  52. package/dist/stories/components/CollapseMenuItem/CollapseMenuItem.style.js +17 -0
  53. package/dist/stories/components/Datepicker/Datepicker.js +148 -0
  54. package/dist/stories/components/Datepicker/Datepicker.stories.js +86 -0
  55. package/dist/stories/components/Datepicker/Datepicker.style.js +13 -0
  56. package/dist/stories/components/DownloadProgress/DownloadProgress.js +97 -0
  57. package/dist/stories/components/DownloadProgress/DownloadProgress.stories.js +111 -0
  58. package/dist/stories/components/DownloadProgress/DownloadProgress.style.js +14 -0
  59. package/dist/stories/components/Dropdown/Dropdown.js +231 -0
  60. package/dist/stories/components/Dropdown/Dropdown.stories.js +323 -0
  61. package/dist/stories/components/Dropdown/Dropdown.style.js +11 -0
  62. package/dist/stories/components/DropdownMulti/DropdownMulti.js +290 -0
  63. package/dist/stories/components/DropdownMulti/DropdownMulti.stories.js +220 -0
  64. package/dist/stories/components/DropdownMulti/DropdownMulti.style.js +11 -0
  65. package/dist/stories/components/DropdownMultiNew/DropdownMultiNew.js +279 -0
  66. package/dist/stories/components/DropdownMultiNew/DropdownMultiNew.style.js +28 -0
  67. package/dist/stories/components/DropdownNew/DropdownNew.js +88 -0
  68. package/dist/stories/components/DropdownNew/DropdownNew.stories.js +407 -0
  69. package/dist/stories/components/DropdownNew/DropdownNew.style.js +11 -0
  70. package/dist/stories/components/DropdownSingleNew/DropdownSingleNew.js +234 -0
  71. package/dist/stories/components/DropdownSingleNew/DropdownSingleNew.style.js +26 -0
  72. package/dist/stories/components/EventDetailsCard/EventDetailsCard.js +144 -0
  73. package/dist/stories/components/EventDetailsCard/EventDetailsCard.stories.js +57 -0
  74. package/dist/stories/components/EventDetailsCard/EventDetailsCard.style.js +18 -0
  75. package/dist/stories/components/EventList/EventList.js +61 -0
  76. package/dist/stories/components/EventList/EventList.stories.js +84 -0
  77. package/dist/stories/components/EventList/EventList.style.js +14 -0
  78. package/dist/stories/components/EventListItem/EventListItem.js +50 -0
  79. package/dist/stories/components/EventListItem/EventListItem.stories.js +65 -0
  80. package/dist/stories/components/EventListItem/EventListItem.style.js +14 -0
  81. package/dist/stories/components/FilterContainer/FilterContainer.js +29 -0
  82. package/dist/stories/components/FilterContainer/FilterContainer.stories.js +23 -0
  83. package/dist/stories/components/FilterContainer/FilterContainer.style.js +13 -0
  84. package/dist/stories/components/FilterPanel/FilterPanel.js +566 -0
  85. package/dist/stories/components/FilterPanel/FilterPanel.stories.js +967 -0
  86. package/dist/stories/components/FilterPanel/FilterPanel.style.js +21 -0
  87. package/dist/stories/components/FormInput/FormInput.js +41 -0
  88. package/dist/stories/components/FormSelect/FormSelect.js +42 -0
  89. package/dist/stories/components/FormattedValue/FormattedValue.js +68 -0
  90. package/dist/stories/components/FormattedValue/FormattedValue.stories.js +189 -0
  91. package/dist/stories/components/FormattedValue/FormattedValue.style.js +18 -0
  92. package/dist/stories/components/IconButton/IconButton.js +147 -0
  93. package/dist/stories/components/IconButton/IconButton.stories.js +131 -0
  94. package/dist/stories/components/IconButton/IconButton.style.js +15 -0
  95. package/dist/stories/components/Input/Input.js +183 -0
  96. package/dist/stories/components/Input/Input.stories.js +434 -0
  97. package/dist/stories/components/Input/Input.style.js +17 -0
  98. package/dist/stories/components/InputOld/InputOld.js +90 -0
  99. package/dist/stories/components/InputOld/InputOld.stories.js +100 -0
  100. package/dist/stories/components/InputOld/InputOld.style.js +16 -0
  101. package/dist/stories/components/KpiFilter/KpiFilter.js +313 -0
  102. package/dist/stories/components/KpiFilter/KpiFilter.stories.js +380 -0
  103. package/dist/stories/components/KpiFilter/KpiFilter.style.js +26 -0
  104. package/dist/stories/components/LinkButton/LinkButton.js +207 -0
  105. package/dist/stories/components/LinkButton/LinkButton.stories.js +180 -0
  106. package/dist/stories/components/LinkButton/LinkButton.style.js +14 -0
  107. package/dist/stories/components/LinnerDataBox/LinnerDataBox.js +43 -0
  108. package/dist/stories/components/LinnerDataBox/LinnerDataBox.stories.js +56 -0
  109. package/dist/stories/components/LinnerDataBox/LinnerDataBox.style.js +22 -0
  110. package/dist/stories/components/ListBox/ListBox.js +82 -0
  111. package/dist/stories/components/ListBox/ListBox.stories.js +132 -0
  112. package/dist/stories/components/ListBox/ListBox.style.js +14 -0
  113. package/dist/stories/components/MarketShareDescription/MarketShareDescription.js +109 -0
  114. package/dist/stories/components/MarketShareDescription/MarketShareDescription.stories.js +184 -0
  115. package/dist/stories/components/MarketShareDescription/MarketShareDescription.style.js +27 -0
  116. package/dist/stories/components/Modal/Modal.js +21 -0
  117. package/dist/stories/components/Modal/Modal.style.js +17 -0
  118. package/dist/stories/components/Modal/ModalTotalBenchmark.js +224 -0
  119. package/dist/stories/components/Modal/ModalTotalCost.js +139 -0
  120. package/dist/stories/components/MonthPicker/MonthPicker.js +166 -0
  121. package/dist/stories/components/MonthPicker/MonthPicker.stories.js +140 -0
  122. package/dist/stories/components/MonthPicker/MonthPicker.style.js +18 -0
  123. package/dist/stories/components/MonthPicker/MonthPopupPicker.js +122 -0
  124. package/dist/stories/components/MultipleCard/MultipleCard.js +26 -0
  125. package/dist/stories/components/MultipleCard/MultipleCard.stories.js +33 -0
  126. package/dist/stories/components/{BannerEventBoxTest.style.js → MultipleCard/MultipleCard.style.js} +2 -2
  127. package/dist/stories/components/NoDataFoundMessage/NoDataFoundMessage.js +30 -0
  128. package/dist/stories/components/NoDataFoundMessage/NoDataFoundMessage.stories.js +66 -0
  129. package/dist/stories/components/NoDataFoundMessage/NoDataFoundMessage.style.js +13 -0
  130. package/dist/stories/components/OneColumnContainer/OneColumnContainer.js +121 -0
  131. package/dist/stories/components/OneColumnContainer/OneColumnContainer.stories.js +119 -0
  132. package/dist/stories/components/OneColumnContainer/OneColumnContainer.style.js +20 -0
  133. package/dist/stories/components/PageFilterBar/PageFilterBar.js +23 -0
  134. package/dist/stories/components/PageFilterBar/PageFilterBar.stories.js +28 -0
  135. package/dist/stories/components/PageFilterBar/PageFilterBar.style.js +12 -0
  136. package/dist/stories/components/PerformanceAnalytics/PerformanceAnalytics.js +431 -0
  137. package/dist/stories/components/PerformanceAnalytics/PerformanceAnalytics.stories.js +258 -0
  138. package/dist/stories/components/PerformanceAnalytics/PerformanceAnalytics.style.js +25 -0
  139. package/dist/stories/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.js +58 -0
  140. package/dist/stories/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.stories.js +86 -0
  141. package/dist/stories/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.style.js +16 -0
  142. package/dist/stories/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.js +315 -0
  143. package/dist/stories/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.stories.js +231 -0
  144. package/dist/stories/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.style.js +23 -0
  145. package/dist/stories/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.js +70 -0
  146. package/dist/stories/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.stories.js +100 -0
  147. package/dist/stories/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.style.js +20 -0
  148. package/dist/stories/components/Popup/Popup.js +172 -0
  149. package/dist/stories/components/Popup/Popup.stories.js +704 -0
  150. package/dist/stories/components/Popup/Popup.style.js +24 -0
  151. package/dist/stories/components/PopupCharts/PopupCharts.js +244 -0
  152. package/dist/stories/components/PopupCharts/PopupCharts.stories.js +1203 -0
  153. package/dist/stories/components/PopupCharts/PopupCharts.style.js +23 -0
  154. package/dist/stories/components/PopupContent/PopupContent.js +111 -0
  155. package/dist/stories/components/PopupContent/PopupContent.style.js +21 -0
  156. package/dist/stories/components/PopupContent/PopupFieldsRules.js +168 -0
  157. package/dist/stories/components/ProductsVariety/ProductsVariety.js +94 -0
  158. package/dist/stories/components/ProductsVariety/ProductsVariety.stories.js +91 -0
  159. package/dist/stories/components/ProductsVariety/ProductsVariety.style.js +20 -0
  160. package/dist/stories/components/ProgressBar/ProgressBar.js +52 -0
  161. package/dist/stories/components/ProgressBar/ProgressBar.stories.js +72 -0
  162. package/dist/stories/components/ProgressBar/ProgressBar.style.js +13 -0
  163. package/dist/stories/components/QuarterPicker/QuarterPicker.js +165 -0
  164. package/dist/stories/components/QuarterPicker/QuarterPicker.stories.js +140 -0
  165. package/dist/stories/components/QuarterPicker/QuarterPicker.style.js +18 -0
  166. package/dist/stories/components/QuarterPicker/QuarterPopupPicker.js +109 -0
  167. package/dist/stories/components/QuickFilter/QuickFilter.js +77 -0
  168. package/dist/stories/components/QuickFilter/QuickFilter.stories.js +281 -0
  169. package/dist/stories/components/QuickFilter/QuickFilter.style.js +11 -0
  170. package/dist/stories/components/QuickFilter/QuickFilterDropdownMultiSelection.js +299 -0
  171. package/dist/stories/components/QuickFilter/QuickFilterDropdownMultiSelection.style.js +28 -0
  172. package/dist/stories/components/QuickFilter/QuickFilterDropdownSingle.js +230 -0
  173. package/dist/stories/components/QuickFilter/QuickFilterDropdownSingle.style.js +27 -0
  174. package/dist/stories/components/RangePicker/RangeDatePicker.js +146 -0
  175. package/dist/stories/components/RangePicker/RangePicker.js +176 -0
  176. package/dist/stories/components/RangePicker/RangePicker.stories.js +138 -0
  177. package/dist/stories/components/RangePicker/RangePicker.style.js +18 -0
  178. package/dist/stories/components/ReportTable/ReportTable.js +262 -0
  179. package/dist/stories/components/ReportTable/ReportTable.stories.js +151 -0
  180. package/dist/stories/components/ReportTable/ReportTable.style.js +22 -0
  181. package/dist/stories/components/SagButton/SagButton.js +68 -0
  182. package/dist/stories/components/SagButton/SagButton.stories.js +118 -0
  183. package/dist/stories/components/SagButton/SagButton.style.js +13 -0
  184. package/dist/stories/components/SagIconButton/SagIconButton.js +130 -0
  185. package/dist/stories/components/SagIconButton/SagIconButton.stories.js +123 -0
  186. package/dist/stories/components/SagIconButton/SagIconButton.style.js +12 -0
  187. package/dist/stories/components/SagInput/SagInput.js +53 -0
  188. package/dist/stories/components/SagInput/SagInput.stories.js +69 -0
  189. package/dist/stories/components/{NewInput.style.js → SagInput/SagInput.style.js} +2 -2
  190. package/dist/stories/components/SalesAndROI/SalesAndROI.js +89 -0
  191. package/dist/stories/components/SalesAndROI/SalesAndROI.stories.js +168 -0
  192. package/dist/stories/components/SalesAndROI/SalesAndROI.style.js +19 -0
  193. package/dist/stories/components/SearchInput/SearchInput.js +39 -0
  194. package/dist/stories/components/SearchInput/SearchInput.stories.js +44 -0
  195. package/dist/stories/components/SearchInput/SearchInput.style.js +12 -0
  196. package/dist/stories/components/SegmentedButton/SegmentedButton.js +122 -0
  197. package/dist/stories/components/SegmentedButton/SegmentedButton.stories.js +183 -0
  198. package/dist/stories/components/SegmentedButton/SegmentedButton.style.js +19 -0
  199. package/dist/stories/components/Select/Select.js +135 -0
  200. package/dist/stories/components/Select/Select.stories.js +200 -0
  201. package/dist/stories/components/Select/Select.style.js +19 -0
  202. package/dist/stories/components/TabMenu/TabMenu.js +202 -0
  203. package/dist/stories/components/TabMenu/TabMenu.stories.js +76 -0
  204. package/dist/stories/components/TabMenu/TabMenu.style.js +24 -0
  205. package/dist/stories/components/Table/Table.js +195 -0
  206. package/dist/stories/components/Table/Table.stories.js +104 -0
  207. package/dist/stories/components/Table/Table.style.js +17 -0
  208. package/dist/stories/components/TextField/TextField.js +209 -0
  209. package/dist/stories/components/TextField/TextField.stories.js +162 -0
  210. package/dist/stories/components/TextField/TextField.style.js +11 -0
  211. package/dist/stories/components/TitleDescription/TitleDescription.js +272 -0
  212. package/dist/stories/components/TitleDescription/TitleDescription.stories.js +117 -0
  213. package/dist/stories/components/TitleDescription/TitleDescription.style.js +36 -0
  214. package/dist/stories/components/Tooltip/Tooltip.js +31 -0
  215. package/dist/stories/components/Tooltip/Tooltip.style.js +18 -0
  216. package/dist/stories/components/TopToggleList/TopToggleList.js +46 -0
  217. package/dist/stories/components/TopToggleList/TopToggleList.stories.js +52 -0
  218. package/dist/stories/components/TopToggleList/TopToggleList.style.js +16 -0
  219. package/dist/stories/components/TotalBenchmark/TotalBenchmark.js +97 -0
  220. package/dist/stories/components/TotalBenchmark/TotalBenchmark.stories.js +138 -0
  221. package/dist/stories/components/TotalBenchmark/TotalBenchmark.style.js +21 -0
  222. package/dist/stories/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.js +342 -0
  223. package/dist/stories/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.stories.js +343 -0
  224. package/dist/stories/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.style.js +30 -0
  225. package/dist/stories/components/TotalBenchmarkArrows/TotalBenchmarkArrows.js +149 -0
  226. package/dist/stories/components/TotalBenchmarkArrows/TotalBenchmarkArrows.stories.js +172 -0
  227. package/dist/stories/components/TotalBenchmarkArrows/TotalBenchmarkArrows.style.js +24 -0
  228. package/dist/stories/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.js +165 -0
  229. package/dist/stories/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.stories.js +185 -0
  230. package/dist/stories/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.style.js +20 -0
  231. package/dist/stories/components/TotalDoughnutChart/TotalDoughnutChart.js +182 -0
  232. package/dist/stories/components/TotalDoughnutChart/TotalDoughnutChart.stories.js +290 -0
  233. package/dist/stories/components/TotalDoughnutChart/TotalDoughnutChart.style.js +30 -0
  234. package/dist/stories/components/TotalHorizontalCharts/TotalHorizontalCharts.js +207 -0
  235. package/dist/stories/components/TotalHorizontalCharts/TotalHorizontalCharts.stories.js +158 -0
  236. package/dist/stories/components/TotalHorizontalCharts/TotalHorizontalCharts.style.js +20 -0
  237. package/dist/stories/components/TspanTooltip/TspanTooltip.js +16 -0
  238. package/dist/stories/components/TspanTooltip/TspanTooltip.style.js +13 -0
  239. package/dist/stories/components/TwoBarCharts/TwoBarCharts.js +202 -0
  240. package/dist/stories/components/TwoBarCharts/TwoBarCharts.stories.js +120 -0
  241. package/dist/stories/components/TwoBarCharts/TwoBarCharts.style.js +18 -0
  242. package/dist/stories/components/icons/FoodLionChartIcon.js +42 -0
  243. package/dist/stories/components/icons/GiantFoodChartIcon.js +40 -0
  244. package/dist/stories/components/icons/HannafordChartIcon.js +40 -0
  245. package/dist/stories/components/icons/StopAndShopChartIcon.js +42 -0
  246. package/dist/stories/components/icons/TheGiantCompanyChartIcon.js +40 -0
  247. package/dist/stories/icons/ArrowDownIcon.js +27 -0
  248. package/dist/stories/icons/ArrowDropDownIcon.js +27 -0
  249. package/dist/stories/icons/ArrowSelectIcon.js +27 -0
  250. package/dist/stories/icons/ArrowUpIcon.js +27 -0
  251. package/dist/stories/icons/AttachedIcon.js +27 -0
  252. package/dist/stories/icons/BellIcon.js +27 -0
  253. package/dist/stories/icons/Calendar.js +20 -0
  254. package/dist/stories/icons/CalendarIcon.js +27 -0
  255. package/dist/stories/icons/CalendarInOpen.js +26 -0
  256. package/dist/stories/icons/CheckBoxButtonCheckedIcon.js +28 -0
  257. package/dist/stories/icons/CheckBoxCheckedIcon.js +28 -0
  258. package/dist/stories/icons/CheckBoxNotCheckedIcon.js +28 -0
  259. package/dist/stories/icons/ChervronLeftIcon.js +20 -0
  260. package/dist/stories/icons/ChervronRightIcon.js +20 -0
  261. package/dist/stories/icons/ClockIcon.js +27 -0
  262. package/dist/stories/icons/CloseIcon.js +27 -0
  263. package/dist/stories/icons/CloseXIcon.js +27 -0
  264. package/dist/stories/icons/ComboBoxArrowDownIcon.js +28 -0
  265. package/dist/stories/icons/ComboBoxArrowUpIcon.js +28 -0
  266. package/dist/stories/icons/DocumentIcon.js +48 -0
  267. package/dist/stories/icons/DownloadIcon.js +27 -0
  268. package/dist/stories/icons/Duplicate.js +28 -0
  269. package/dist/stories/icons/ErrorIcon.js +27 -0
  270. package/dist/stories/icons/ExitIcon.js +28 -0
  271. package/dist/stories/icons/ExportIcon.js +28 -0
  272. package/dist/stories/icons/EyeIcon.js +28 -0
  273. package/dist/stories/icons/FileIcon.js +27 -0
  274. package/dist/stories/icons/FilterIcon.js +36 -0
  275. package/dist/stories/icons/FlyIcon.js +28 -0
  276. package/dist/stories/icons/FoodLionIcon.js +3076 -0
  277. package/dist/stories/icons/FoodLionNewIcon.js +39 -0
  278. package/dist/stories/icons/GiantFoodIcon.js +1976 -0
  279. package/dist/stories/icons/GiantFoodIcon_new.js +42 -0
  280. package/dist/stories/icons/HannafordIcon.js +5017 -0
  281. package/dist/stories/icons/HannafordIcon_new.js +41 -0
  282. package/dist/stories/icons/HannafordNewIcon.js +213 -0
  283. package/dist/stories/icons/InfoIcon.js +28 -0
  284. package/dist/stories/icons/LampIcon.js +27 -0
  285. package/dist/stories/icons/LegendLineIcon.js +29 -0
  286. package/dist/stories/icons/LegendUnionIcon.js +29 -0
  287. package/dist/stories/icons/MaintenanceIcon.js +28 -0
  288. package/dist/stories/icons/MenuItemClosedIcon.js +28 -0
  289. package/dist/stories/icons/MenuItemOpenIcon.js +28 -0
  290. package/dist/stories/icons/MenuItemRightIcon.js +28 -0
  291. package/dist/stories/icons/MenuItemUpIcon.js +28 -0
  292. package/dist/stories/icons/NoDataFoundIcon.js +86 -0
  293. package/dist/stories/icons/OptionsIcon.js +27 -0
  294. package/dist/stories/icons/SearchIcon.js +27 -0
  295. package/dist/stories/icons/ShoppingCartIcon.js +45 -0
  296. package/dist/stories/icons/ShoutIcon.js +27 -0
  297. package/dist/stories/icons/SpotlightProductIcon.js +28 -0
  298. package/dist/stories/icons/StopAndShopIcon.js +134 -0
  299. package/dist/stories/icons/StopAndShopNewIcon.js +41 -0
  300. package/dist/stories/icons/SucceededIcon.js +27 -0
  301. package/dist/stories/icons/TheGiantCompanyIcon.js +40 -0
  302. package/dist/stories/icons/TheGiantCompanyNewIcon.js +39 -0
  303. package/dist/stories/utils/CommonFunctions.js +78 -0
  304. package/package.json +1 -1
  305. package/dist/stories/CampaignTool/PopupContent.stories.js +0 -284
  306. package/dist/stories/components/BannerEventBoxTest.js +0 -42
  307. package/dist/stories/components/FilterButton.js +0 -53
  308. package/dist/stories/components/FilterButton.style.js +0 -12
  309. package/dist/stories/components/NewInput.js +0 -33
  310. package/dist/stories/components/icons/TheGiantCompanyIcon_old.js +0 -1831
@@ -0,0 +1,967 @@
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
+ };