sag_components 2.0.0-beta95 → 2.0.0-beta97

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 (414) hide show
  1. package/dist/index.d.ts +1353 -1222
  2. package/dist/index.esm.js +1734 -480
  3. package/dist/index.esm.js.map +1 -1
  4. package/dist/index.js +1744 -480
  5. package/dist/index.js.map +1 -1
  6. package/dist/types/components/AreaChart/AreaChart.d.ts +2 -2
  7. package/dist/types/components/AreaChart/AreaChart.stories.d.ts +80 -79
  8. package/dist/types/components/AreaChart/AreaChart.style.d.ts +8 -8
  9. package/dist/types/components/AreaChart/AreaChart.test.d.ts +1 -1
  10. package/dist/types/components/AttachedFile/AttachedFile.d.ts +24 -24
  11. package/dist/types/components/AttachedFile/AttachedFile.stories.d.ts +95 -95
  12. package/dist/types/components/AttachedFile/AttachedFile.style.d.ts +4 -4
  13. package/dist/types/components/BannerEventBox/BannerEventBox.d.ts +2 -2
  14. package/dist/types/components/BannerEventBox/BannerEventBox.stories.d.ts +40 -40
  15. package/dist/types/components/BannerEventBox/BannerEventBox.style.d.ts +13 -13
  16. package/dist/types/components/BannerEventBoxList/BannerEventBoxList.d.ts +2 -2
  17. package/dist/types/components/BannerEventBoxList/BannerEventBoxList.stories.d.ts +28 -28
  18. package/dist/types/components/BannerEventBoxList/BannerEventBoxList.style.d.ts +13 -13
  19. package/dist/types/components/BannersDropdown/BannersDropdown.d.ts +18 -18
  20. package/dist/types/components/BannersDropdown/BannersDropdown.stories.d.ts +19 -19
  21. package/dist/types/components/BannersDropdown/BannersDropdown.style.d.ts +8 -8
  22. package/dist/types/components/BarChart/BarChart.d.ts +82 -82
  23. package/dist/types/components/BarChart/BarChart.stories.d.ts +179 -179
  24. package/dist/types/components/BarChart/BarChart.style.d.ts +8 -8
  25. package/dist/types/components/BarChartTwoRows/BarChartTwoRows.d.ts +2 -2
  26. package/dist/types/components/BarChartTwoRows/BarChartTwoRows.stories.d.ts +199 -199
  27. package/dist/types/components/BarChartTwoRows/BarChartTwoRows.style.d.ts +9 -9
  28. package/dist/types/components/BarChartWithAreaChart/BarChartWithAreaChart.d.ts +2 -2
  29. package/dist/types/components/BarChartWithAreaChart/BarChartWithAreaChart.stories.d.ts +112 -112
  30. package/dist/types/components/BarChartWithAreaChart/BarChartWithAreaChart.style.d.ts +9 -9
  31. package/dist/types/components/BarChartsByWeeks/BarChartsByWeeks.d.ts +107 -107
  32. package/dist/types/components/BarChartsByWeeks/BarChartsByWeeks.stories.d.ts +207 -207
  33. package/dist/types/components/BarChartsByWeeks/BarChartsByWeeks.style.d.ts +11 -11
  34. package/dist/types/components/BatteryChart/BatteryChart.d.ts +2 -2
  35. package/dist/types/components/BatteryChart/BatteryChart.style.d.ts +18 -18
  36. package/dist/types/components/Benchmark/Benchmark.d.ts +45 -45
  37. package/dist/types/components/Benchmark/Benchmark.stories.d.ts +167 -167
  38. package/dist/types/components/Benchmark/Benchmark.style.d.ts +5 -5
  39. package/dist/types/components/BreakdownPanel/BreakdownPanel.d.ts +2 -2
  40. package/dist/types/components/BreakdownPanel/BreakdownPanel.stories.d.ts +74 -73
  41. package/dist/types/components/BreakdownPanel/BreakdownPanel.style.d.ts +7 -7
  42. package/dist/types/components/BreakdownPanel/BreakdownPanel.test.d.ts +1 -1
  43. package/dist/types/components/BreakdownPanel/ItemSales/BannerButton.d.ts +8 -8
  44. package/dist/types/components/BreakdownPanel/ItemSales/BannerButton.style.d.ts +1 -1
  45. package/dist/types/components/BreakdownPanel/ItemSales/CategorySalesPanel.d.ts +7 -7
  46. package/dist/types/components/BreakdownPanel/ItemSales/CategorySalesPanel.style.d.ts +6 -6
  47. package/dist/types/components/BreakdownPanel/ItemSales/ItemSalesPanel.d.ts +2 -2
  48. package/dist/types/components/BreakdownPanel/ItemSales/ItemSalesPanel.style.d.ts +3 -3
  49. package/dist/types/components/BreakdownPanel/ItemSales/ItemsCounterGraphPanel.d.ts +6 -6
  50. package/dist/types/components/BreakdownPanel/ItemSales/ItemsCounterGraphPanel.style.d.ts +3 -3
  51. package/dist/types/components/BrushChart/BrushChart.d.ts +2 -2
  52. package/dist/types/components/BrushChart/BrushChart.stories.d.ts +150 -150
  53. package/dist/types/components/BrushChart/BrushChart.style.d.ts +47 -47
  54. package/dist/types/components/BrushChart/Charts/BarLine.d.ts +2 -2
  55. package/dist/types/components/BrushChart/Charts/InnerBar.d.ts +2 -2
  56. package/dist/types/components/BrushChart/Charts/SingleChart.d.ts +2 -2
  57. package/dist/types/components/BubbleChart/BubbleChart.d.ts +16 -16
  58. package/dist/types/components/BubbleChart/BubbleChart.stories.d.ts +101 -100
  59. package/dist/types/components/BubbleChart/BubbleChart.style.d.ts +13 -13
  60. package/dist/types/components/Button/Button.d.ts +2 -22
  61. package/dist/types/components/Button/Button.stories.d.ts +185 -185
  62. package/dist/types/components/Button/Button.style.d.ts +5 -5
  63. package/dist/types/components/Button/Button.test.d.ts +1 -1
  64. package/dist/types/components/CampaignTool/CampaignDemoReport.d.ts +33 -33
  65. package/dist/types/components/CampaignTool/CampaignDemoReport.style.d.ts +5 -5
  66. package/dist/types/components/CampaignTool/Card.d.ts +37 -37
  67. package/dist/types/components/CampaignTool/Card.style.d.ts +8 -8
  68. package/dist/types/components/CampaignTool/FormInput.d.ts +5 -5
  69. package/dist/types/components/CampaignTool/FormSelect.d.ts +5 -5
  70. package/dist/types/components/CampaignTool/MultipleCard.d.ts +15 -15
  71. package/dist/types/components/CampaignTool/MultipleCard.style.d.ts +1 -1
  72. package/dist/types/components/CampaignTool/PageFilterBar.d.ts +12 -12
  73. package/dist/types/components/CampaignTool/PageFilterBar.style.d.ts +2 -2
  74. package/dist/types/components/CampaignTool/Popup.d.ts +27 -27
  75. package/dist/types/components/CampaignTool/Popup.style.d.ts +14 -14
  76. package/dist/types/components/CampaignTool/PopupContent.d.ts +28 -28
  77. package/dist/types/components/CampaignTool/PopupContent.style.d.ts +7 -7
  78. package/dist/types/components/CampaignTool/PopupFieldsRules.d.ts +41 -41
  79. package/dist/types/components/CampaignTool/Table.d.ts +56 -56
  80. package/dist/types/components/CampaignTool/Table.style.d.ts +7 -7
  81. package/dist/types/components/CheckBox/CheckBox.d.ts +2 -2
  82. package/dist/types/components/CheckBox/CheckBox.stories.d.ts +126 -126
  83. package/dist/types/components/CheckBox/CheckBox.style.d.ts +4 -4
  84. package/dist/types/components/CheckBoxButton/CheckBoxButton.d.ts +21 -21
  85. package/dist/types/components/CheckBoxButton/CheckBoxButton.stories.d.ts +187 -187
  86. package/dist/types/components/CheckBoxButton/CheckBoxButton.style.d.ts +4 -4
  87. package/dist/types/components/CodeEditor/CodeEditor.d.ts +5 -5
  88. package/dist/types/components/CollapseData/CollapseData.d.ts +40 -40
  89. package/dist/types/components/CollapseData/CollapseData.stories.d.ts +59 -59
  90. package/dist/types/components/CollapseData/CollapseData.style.d.ts +11 -11
  91. package/dist/types/components/CollapseHeader/CollapseHeader.d.ts +82 -82
  92. package/dist/types/components/CollapseHeader/CollapseHeader.stories.d.ts +101 -101
  93. package/dist/types/components/CollapseHeader/CollapseHeader.style.d.ts +25 -25
  94. package/dist/types/components/CollapseMenuItem/CollapseMenuItem.d.ts +24 -24
  95. package/dist/types/components/CollapseMenuItem/CollapseMenuItem.stories.d.ts +54 -54
  96. package/dist/types/components/CollapseMenuItem/CollapseMenuItem.style.d.ts +7 -7
  97. package/dist/types/components/ContainerTable/ContainerTable.d.ts +2 -0
  98. package/dist/types/components/ContainerTable/ContainerTable.stories.d.ts +61 -0
  99. package/dist/types/components/ContainerTable/ContainerTable.style.d.ts +7 -0
  100. package/dist/types/components/DialogOverlay/DialogOverlay.d.ts +21 -21
  101. package/dist/types/components/DialogOverlay/DialogOverlay.stories.d.ts +31 -31
  102. package/dist/types/components/DialogOverlay/DialogOverlay.style.d.ts +6 -6
  103. package/dist/types/components/DoubleBarSingleLine/DoubleBarSingleLine.d.ts +2 -2
  104. package/dist/types/components/DoubleBarSingleLine/DoubleBarSingleLine.stories.d.ts +265 -264
  105. package/dist/types/components/DoubleBarSingleLine/DoubleBarSingleLine.style.d.ts +10 -10
  106. package/dist/types/components/DoublePanelDataRow/DoublePanelDataRow.d.ts +2 -2
  107. package/dist/types/components/DoublePanelDataRow/DoublePanelDataRow.stories.d.ts +72 -72
  108. package/dist/types/components/DoublePanelDataRow/DoublePanelDataRow.style.d.ts +9 -9
  109. package/dist/types/components/DownloadProgress/DownloadProgress.d.ts +39 -39
  110. package/dist/types/components/DownloadProgress/DownloadProgress.stories.d.ts +99 -99
  111. package/dist/types/components/DownloadProgress/DownloadProgress.style.d.ts +4 -4
  112. package/dist/types/components/DropdownMultiNew/DropdownMultiNew.d.ts +79 -79
  113. package/dist/types/components/DropdownMultiNew/DropdownMultiNew.style.d.ts +12 -12
  114. package/dist/types/components/DropdownMultiNew/DropdownNew.stories.d.ts +240 -240
  115. package/dist/types/components/DropdownNew/DropdownNew.d.ts +2 -81
  116. package/dist/types/components/DropdownNew/DropdownNew.style.d.ts +1 -1
  117. package/dist/types/components/DropdownSingleNew/DropdownSingleNew.d.ts +75 -75
  118. package/dist/types/components/DropdownSingleNew/DropdownSingleNew.style.d.ts +10 -10
  119. package/dist/types/components/EventDetailsCard/EventDetailsCard.d.ts +48 -48
  120. package/dist/types/components/EventDetailsCard/EventDetailsCard.stories.d.ts +122 -122
  121. package/dist/types/components/EventDetailsCard/EventDetailsCard.style.d.ts +6 -6
  122. package/dist/types/components/EventList/EventList.d.ts +30 -30
  123. package/dist/types/components/EventList/EventList.stories.d.ts +67 -67
  124. package/dist/types/components/EventList/EventList.style.d.ts +4 -4
  125. package/dist/types/components/EventListItem/EventListItem.d.ts +27 -27
  126. package/dist/types/components/EventListItem/EventListItem.stories.d.ts +67 -67
  127. package/dist/types/components/EventListItem/EventListItem.style.d.ts +4 -4
  128. package/dist/types/components/EventsTable/ColumnFilter.d.ts +7 -0
  129. package/dist/types/components/EventsTable/DeleteEventModal.d.ts +5 -0
  130. package/dist/types/components/EventsTable/EventTable.d.ts +7 -0
  131. package/dist/types/components/EventsTable/EventsHeader.d.ts +6 -0
  132. package/dist/types/components/EventsTable/EventsPage.d.ts +1 -0
  133. package/dist/types/components/EventsTable/EventsPage.stories.d.ts +8 -0
  134. package/dist/types/components/EventsTable/SendButton.d.ts +3 -0
  135. package/dist/types/components/EventsTable/mockEvents.d.ts +15 -0
  136. package/dist/types/components/FilterContainer/FilterContainer.d.ts +3 -3
  137. package/dist/types/components/FilterContainer/FilterContainer.stories.d.ts +9 -9
  138. package/dist/types/components/FilterContainer/FilterContainer.style.d.ts +3 -3
  139. package/dist/types/components/FilterPanel/FilterPanel.d.ts +89 -89
  140. package/dist/types/components/FilterPanel/FilterPanel.stories.d.ts +173 -173
  141. package/dist/types/components/FilterPanel/FilterPanel.style.d.ts +11 -11
  142. package/dist/types/components/FormattedValue/FormattedValue.d.ts +45 -45
  143. package/dist/types/components/FormattedValue/FormattedValue.stories.d.ts +131 -131
  144. package/dist/types/components/FormattedValue/FormattedValue.style.d.ts +7 -7
  145. package/dist/types/components/Heatmap/Heatmap.d.ts +15 -15
  146. package/dist/types/components/Heatmap/Heatmap.stories.d.ts +59 -59
  147. package/dist/types/components/Heatmap/Heatmap.style.d.ts +15 -15
  148. package/dist/types/components/IconButton/IconButton.d.ts +48 -48
  149. package/dist/types/components/IconButton/IconButton.stories.d.ts +89 -89
  150. package/dist/types/components/IconButton/IconButton.style.d.ts +4 -4
  151. package/dist/types/components/Input/Input.d.ts +80 -80
  152. package/dist/types/components/Input/Input.stories.d.ts +278 -278
  153. package/dist/types/components/Input/Input.style.d.ts +7 -7
  154. package/dist/types/components/InputOld/InputOld.d.ts +66 -66
  155. package/dist/types/components/InputOld/InputOld.stories.d.ts +109 -109
  156. package/dist/types/components/InputOld/InputOld.style.d.ts +6 -6
  157. package/dist/types/components/InsightsCarousel/InsightsCarousel.d.ts +11 -11
  158. package/dist/types/components/InsightsCarousel/InsightsCarousel.stories.d.ts +48 -47
  159. package/dist/types/components/InsightsCarousel/InsightsCarousel.style.d.ts +12 -12
  160. package/dist/types/components/ItemManagerPanel/ItemManagerPanel.d.ts +6 -0
  161. package/dist/types/components/ItemManagerPanel/ItemManagerPanel.stories.d.ts +24 -0
  162. package/dist/types/components/ItemManagerPanel/ItemManagerPanel.style.d.ts +18 -0
  163. package/dist/types/components/ItemManagerPanel/NewItemList/NewItemList.d.ts +6 -0
  164. package/dist/types/components/ItemManagerPanel/NewItemList/NewItemList.style.d.ts +13 -0
  165. package/dist/types/components/KpiFilter/KpiFilter.d.ts +58 -58
  166. package/dist/types/components/KpiFilter/KpiFilter.stories.d.ts +174 -174
  167. package/dist/types/components/KpiFilter/KpiFilter.style.d.ts +16 -16
  168. package/dist/types/components/LinkButton/LinkButton.d.ts +13 -13
  169. package/dist/types/components/LinkButton/LinkButton.stories.d.ts +110 -110
  170. package/dist/types/components/LinkButton/LinkButton.style.d.ts +4 -4
  171. package/dist/types/components/LinkButton/LinkButton.test.d.ts +1 -1
  172. package/dist/types/components/LinnerDataBox/LinnerDataBox.d.ts +2 -2
  173. package/dist/types/components/LinnerDataBox/LinnerDataBox.data.d.ts +15 -15
  174. package/dist/types/components/LinnerDataBox/LinnerDataBox.stories.d.ts +39 -39
  175. package/dist/types/components/LinnerDataBox/LinnerDataBox.style.d.ts +14 -14
  176. package/dist/types/components/ListBox/ListBox.d.ts +15 -15
  177. package/dist/types/components/ListBox/ListBox.stories.d.ts +134 -134
  178. package/dist/types/components/ListBox/ListBox.style.d.ts +4 -4
  179. package/dist/types/components/MarketShareDescription/MarketShareDescription.d.ts +31 -31
  180. package/dist/types/components/MarketShareDescription/MarketShareDescription.stories.d.ts +70 -70
  181. package/dist/types/components/MarketShareDescription/MarketShareDescription.style.d.ts +16 -16
  182. package/dist/types/components/MenuRoute/MenuIcons/Build.d.ts +6 -0
  183. package/dist/types/components/MenuRoute/MenuIcons/Execute.d.ts +6 -0
  184. package/dist/types/components/MenuRoute/MenuIcons/Track.d.ts +6 -0
  185. package/dist/types/components/MenuRoute/MenuRoute.d.ts +2 -0
  186. package/dist/types/components/MenuRoute/MenuRoute.stories.d.ts +52 -0
  187. package/dist/types/components/MenuRoute/MenuRoute.style.d.ts +3 -0
  188. package/dist/types/components/Modal/Modal.d.ts +6 -6
  189. package/dist/types/components/Modal/Modal.style.d.ts +4 -4
  190. package/dist/types/components/Modal/ModalTotalBenchmark.d.ts +8 -8
  191. package/dist/types/components/Modal/ModalTotalCost.d.ts +7 -7
  192. package/dist/types/components/ModalWithOverlay/ModalWithOverlay.d.ts +2 -0
  193. package/dist/types/components/ModalWithOverlay/ModalWithOverlay.stories.d.ts +112 -0
  194. package/dist/types/components/ModalWithOverlay/ModalWithOverlay.style.d.ts +7 -0
  195. package/dist/types/components/MonthPicker/MonthPicker.d.ts +55 -55
  196. package/dist/types/components/MonthPicker/MonthPicker.stories.d.ts +148 -148
  197. package/dist/types/components/MonthPicker/MonthPicker.style.d.ts +8 -8
  198. package/dist/types/components/MonthPicker/MonthPopupPicker.d.ts +10 -10
  199. package/dist/types/components/MonthPicker/MonthPopupPicker.style.d.ts +7 -7
  200. package/dist/types/components/NoDataFoundMessage/NoDataFoundMessage.d.ts +2 -2
  201. package/dist/types/components/NoDataFoundMessage/NoDataFoundMessage.stories.d.ts +39 -39
  202. package/dist/types/components/NoDataFoundMessage/NoDataFoundMessage.style.d.ts +3 -3
  203. package/dist/types/components/OneColumnContainer/OneColumnContainer.d.ts +81 -81
  204. package/dist/types/components/OneColumnContainer/OneColumnContainer.stories.d.ts +396 -396
  205. package/dist/types/components/OneColumnContainer/OneColumnContainer.style.d.ts +12 -12
  206. package/dist/types/components/OverlayDropdown/OverlayDropdown.d.ts +24 -0
  207. package/dist/types/components/OverlayDropdown/OverlayDropdown.stories.d.ts +11 -0
  208. package/dist/types/components/OverlayDropdown/OverlayDropdown.style.d.ts +9 -0
  209. package/dist/types/components/OverlayDropdown/OverlayTemplateDialog.d.ts +21 -0
  210. package/dist/types/components/OverlayDropdown/OverlayTemplateDialog.style.d.ts +10 -0
  211. package/dist/types/components/PerformanceAnalytics/PerformanceAnalytics.d.ts +86 -86
  212. package/dist/types/components/PerformanceAnalytics/PerformanceAnalytics.stories.d.ts +175 -175
  213. package/dist/types/components/PerformanceAnalytics/PerformanceAnalytics.style.d.ts +14 -14
  214. package/dist/types/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.d.ts +2 -2
  215. package/dist/types/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.stories.d.ts +43 -43
  216. package/dist/types/components/PerformanceAnalyticsLegend/PerformanceAnalyticsLegend.style.d.ts +6 -6
  217. package/dist/types/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.d.ts +85 -85
  218. package/dist/types/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.stories.d.ts +153 -153
  219. package/dist/types/components/PerformanceAnalyticsOneColumn/PerformanceAnalyticsOneColumn.style.d.ts +13 -13
  220. package/dist/types/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.d.ts +37 -37
  221. package/dist/types/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.stories.d.ts +42 -42
  222. package/dist/types/components/PerformanceAnalyticsTotals/PerformanceAnalyticsTotals.style.d.ts +10 -10
  223. package/dist/types/components/PieChart/PieChart.d.ts +66 -66
  224. package/dist/types/components/PieChart/PieChart.stories.d.ts +201 -201
  225. package/dist/types/components/PieChart/PieChart.style.d.ts +18 -18
  226. package/dist/types/components/PopupCharts/PopupCharts.d.ts +64 -64
  227. package/dist/types/components/PopupCharts/PopupCharts.stories.d.ts +89 -89
  228. package/dist/types/components/PopupCharts/PopupCharts.style.d.ts +12 -12
  229. package/dist/types/components/ProductsVariety/ProductsVariety.d.ts +29 -29
  230. package/dist/types/components/ProductsVariety/ProductsVariety.stories.d.ts +48 -48
  231. package/dist/types/components/ProductsVariety/ProductsVariety.style.d.ts +10 -10
  232. package/dist/types/components/ProgressBar/ProgressBar.d.ts +24 -24
  233. package/dist/types/components/ProgressBar/ProgressBar.stories.d.ts +65 -65
  234. package/dist/types/components/ProgressBar/ProgressBar.style.d.ts +2 -2
  235. package/dist/types/components/QuarterPicker/QuarterPicker.d.ts +55 -55
  236. package/dist/types/components/QuarterPicker/QuarterPicker.stories.d.ts +148 -148
  237. package/dist/types/components/QuarterPicker/QuarterPicker.style.d.ts +8 -8
  238. package/dist/types/components/QuarterPicker/QuarterPopupPicker.d.ts +10 -10
  239. package/dist/types/components/QuarterPicker/QuarterPopupPicker.style.d.ts +6 -6
  240. package/dist/types/components/QuickFilter/QuickFilter.d.ts +17 -17
  241. package/dist/types/components/QuickFilter/QuickFilter.stories.d.ts +249 -249
  242. package/dist/types/components/QuickFilter/QuickFilter.style.d.ts +1 -1
  243. package/dist/types/components/QuickFilterDropdownMultiSelection/QuickFilterDropdownMultiSelection.d.ts +76 -76
  244. package/dist/types/components/QuickFilterDropdownMultiSelection/QuickFilterDropdownMultiSelection.style.d.ts +12 -12
  245. package/dist/types/components/QuickFilterDropdownSingle/QuickFilterDropdownSingle.d.ts +68 -68
  246. package/dist/types/components/QuickFilterDropdownSingle/QuickFilterDropdownSingle.style.d.ts +11 -11
  247. package/dist/types/components/RangePicker/RangeDatePicker.d.ts +9 -9
  248. package/dist/types/components/RangePicker/RangePicker.d.ts +52 -52
  249. package/dist/types/components/RangePicker/RangePicker.stories.d.ts +148 -148
  250. package/dist/types/components/RangePicker/RangePicker.style.d.ts +8 -8
  251. package/dist/types/components/ReportTable/ReportTable.d.ts +83 -83
  252. package/dist/types/components/ReportTable/ReportTable.stories.d.ts +139 -139
  253. package/dist/types/components/ReportTable/ReportTable.style.d.ts +14 -14
  254. package/dist/types/components/SagButton/SagButton.d.ts +45 -45
  255. package/dist/types/components/SagButton/SagButton.stories.d.ts +142 -142
  256. package/dist/types/components/SagButton/SagButton.style.d.ts +3 -3
  257. package/dist/types/components/SagIconButton/SagIconButton.d.ts +45 -45
  258. package/dist/types/components/SagIconButton/SagIconButton.stories.d.ts +129 -129
  259. package/dist/types/components/SagIconButton/SagIconButton.style.d.ts +2 -2
  260. package/dist/types/components/SagInput/SagInput.d.ts +36 -36
  261. package/dist/types/components/SagInput/SagInput.stories.d.ts +71 -71
  262. package/dist/types/components/SagInput/SagInput.style.d.ts +3 -3
  263. package/dist/types/components/SalesAndROI/SalesAndROI.d.ts +50 -50
  264. package/dist/types/components/SalesAndROI/SalesAndROI.stories.d.ts +139 -139
  265. package/dist/types/components/SalesAndROI/SalesAndROI.style.d.ts +9 -9
  266. package/dist/types/components/SearchInput/SearchInput.d.ts +24 -24
  267. package/dist/types/components/SearchInput/SearchInput.stories.d.ts +39 -39
  268. package/dist/types/components/SearchInput/SearchInput.style.d.ts +2 -2
  269. package/dist/types/components/SegmentedButton/SegmentedButton.d.ts +52 -52
  270. package/dist/types/components/SegmentedButton/SegmentedButton.stories.d.ts +168 -168
  271. package/dist/types/components/SegmentedButton/SegmentedButton.style.d.ts +6 -6
  272. package/dist/types/components/Select/Select.d.ts +21 -21
  273. package/dist/types/components/Select/Select.stories.d.ts +252 -252
  274. package/dist/types/components/Select/Select.style.d.ts +6 -6
  275. package/dist/types/components/SingleBarLineCharts/SingleBarLineCharts.d.ts +28 -28
  276. package/dist/types/components/SingleBarLineCharts/SingleBarLineCharts.stories.d.ts +226 -226
  277. package/dist/types/components/SingleBarLineCharts/SingleBarLineCharts.style.d.ts +13 -13
  278. package/dist/types/components/SingleBarLineCharts/SingleBarLineCharts.test.d.ts +1 -1
  279. package/dist/types/components/TabMenu/TabMenu.d.ts +2 -2
  280. package/dist/types/components/TabMenu/TabMenu.stories.d.ts +171 -171
  281. package/dist/types/components/TabMenu/TabMenu.style.d.ts +27 -27
  282. package/dist/types/components/TitleDescription/TitleDescription.d.ts +59 -59
  283. package/dist/types/components/TitleDescription/TitleDescription.stories.d.ts +90 -90
  284. package/dist/types/components/TitleDescription/TitleDescription.style.d.ts +26 -26
  285. package/dist/types/components/ToggleSwitch/ToggleSwitch.d.ts +21 -0
  286. package/dist/types/components/ToggleSwitch/ToggleSwitch.stories.d.ts +15 -0
  287. package/dist/types/components/ToggleSwitch/ToggleSwitch.style.d.ts +3 -0
  288. package/dist/types/components/Tooltip/Tooltip.d.ts +24 -24
  289. package/dist/types/components/Tooltip/Tooltip.style.d.ts +3 -3
  290. package/dist/types/components/TopToggleList/TopToggleList.d.ts +24 -24
  291. package/dist/types/components/TopToggleList/TopToggleList.stories.d.ts +25 -25
  292. package/dist/types/components/TopToggleList/TopToggleList.style.d.ts +5 -5
  293. package/dist/types/components/TotalBenchmark/TotalBenchmark.d.ts +40 -40
  294. package/dist/types/components/TotalBenchmark/TotalBenchmark.stories.d.ts +101 -101
  295. package/dist/types/components/TotalBenchmark/TotalBenchmark.style.d.ts +9 -9
  296. package/dist/types/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.d.ts +86 -86
  297. package/dist/types/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.stories.d.ts +240 -240
  298. package/dist/types/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.style.d.ts +20 -20
  299. package/dist/types/components/TotalBenchmarkArrows/TotalBenchmarkArrows.d.ts +51 -51
  300. package/dist/types/components/TotalBenchmarkArrows/TotalBenchmarkArrows.stories.d.ts +145 -145
  301. package/dist/types/components/TotalBenchmarkArrows/TotalBenchmarkArrows.style.d.ts +14 -14
  302. package/dist/types/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.d.ts +56 -56
  303. package/dist/types/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.stories.d.ts +155 -155
  304. package/dist/types/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.style.d.ts +10 -10
  305. package/dist/types/components/TotalDoughnutChart/TotalDoughnutChart.d.ts +82 -82
  306. package/dist/types/components/TotalDoughnutChart/TotalDoughnutChart.stories.d.ts +241 -241
  307. package/dist/types/components/TotalDoughnutChart/TotalDoughnutChart.style.d.ts +19 -19
  308. package/dist/types/components/TotalHorizontalCharts/TotalHorizontalCharts.d.ts +76 -76
  309. package/dist/types/components/TotalHorizontalCharts/TotalHorizontalCharts.stories.d.ts +214 -214
  310. package/dist/types/components/TotalHorizontalCharts/TotalHorizontalCharts.style.d.ts +6 -6
  311. package/dist/types/components/TspanTooltip/TspanTooltip.d.ts +24 -24
  312. package/dist/types/components/TspanTooltip/TspanTooltip.style.d.ts +3 -3
  313. package/dist/types/components/TwoBarCharts/TwoBarCharts.d.ts +77 -77
  314. package/dist/types/components/TwoBarCharts/TwoBarCharts.stories.d.ts +172 -172
  315. package/dist/types/components/TwoBarCharts/TwoBarCharts.style.d.ts +8 -8
  316. package/dist/types/components/WeeksPicker/WeeksCalendar.d.ts +28 -0
  317. package/dist/types/components/WeeksPicker/WeeksCalendar.styles.d.ts +5 -0
  318. package/dist/types/components/WeeksPicker/WeeksPicker.d.ts +27 -0
  319. package/dist/types/components/WeeksPicker/WeeksPicker.stories.d.ts +9 -0
  320. package/dist/types/components/WeeksPicker/WeeksPicker.style.d.ts +8 -0
  321. package/dist/types/icons/ArrowDownIcon.d.ts +6 -6
  322. package/dist/types/icons/ArrowDropDownIcon.d.ts +6 -6
  323. package/dist/types/icons/ArrowLeftIcon.d.ts +7 -0
  324. package/dist/types/icons/ArrowSelectIcon.d.ts +6 -6
  325. package/dist/types/icons/ArrowUpIcon.d.ts +6 -6
  326. package/dist/types/icons/AttachedIcon.d.ts +6 -6
  327. package/dist/types/icons/BarcodeIcon.d.ts +6 -6
  328. package/dist/types/icons/BellIcon.d.ts +6 -6
  329. package/dist/types/icons/ButtonArrowRight.d.ts +5 -5
  330. package/dist/types/icons/Calendar.d.ts +2 -2
  331. package/dist/types/icons/CalendarIcon.d.ts +6 -6
  332. package/dist/types/icons/CalendarInOpen.d.ts +2 -2
  333. package/dist/types/icons/CheckBoxButtonCheckedIcon.d.ts +7 -7
  334. package/dist/types/icons/CheckBoxCheckedIcon.d.ts +7 -7
  335. package/dist/types/icons/CheckBoxNotCheckedIcon.d.ts +7 -7
  336. package/dist/types/icons/ChervronLeftIcon.d.ts +6 -6
  337. package/dist/types/icons/ChervronRightIcon.d.ts +6 -6
  338. package/dist/types/icons/ChevronIcon.d.ts +7 -7
  339. package/dist/types/icons/ChevronLeftIcon.d.ts +4 -4
  340. package/dist/types/icons/ChevronRightIcon.d.ts +4 -4
  341. package/dist/types/icons/ClockIcon.d.ts +6 -6
  342. package/dist/types/icons/CloseIcon.d.ts +6 -6
  343. package/dist/types/icons/CloseXIcon.d.ts +6 -6
  344. package/dist/types/icons/ComboBoxArrowDownIcon.d.ts +7 -7
  345. package/dist/types/icons/ComboBoxArrowUpIcon.d.ts +7 -7
  346. package/dist/types/icons/DocumentIcon.d.ts +6 -6
  347. package/dist/types/icons/DownArrowIcon.d.ts +5 -5
  348. package/dist/types/icons/DownloadIcon.d.ts +6 -6
  349. package/dist/types/icons/Duplicate.d.ts +7 -7
  350. package/dist/types/icons/ErrorIcon.d.ts +6 -6
  351. package/dist/types/icons/ExitIcon.d.ts +7 -7
  352. package/dist/types/icons/ExportIcon.d.ts +6 -6
  353. package/dist/types/icons/EyeIcon.d.ts +7 -7
  354. package/dist/types/icons/FileIcon.d.ts +6 -6
  355. package/dist/types/icons/FilterIcon.d.ts +6 -6
  356. package/dist/types/icons/FlyIcon.d.ts +6 -6
  357. package/dist/types/icons/FolderIcon.d.ts +6 -6
  358. package/dist/types/icons/FoodLionChartIcon.d.ts +2 -2
  359. package/dist/types/icons/FoodLionIcon.d.ts +6 -6
  360. package/dist/types/icons/FoodLionNewIcon.d.ts +5 -5
  361. package/dist/types/icons/GiantFoodChartIcon.d.ts +2 -2
  362. package/dist/types/icons/GiantFoodIcon.d.ts +7 -7
  363. package/dist/types/icons/GiantFoodIcon_new.d.ts +7 -7
  364. package/dist/types/icons/HannafordChartIcon.d.ts +2 -2
  365. package/dist/types/icons/HannafordIcon.d.ts +6 -6
  366. package/dist/types/icons/HannafordIcon_new.d.ts +7 -7
  367. package/dist/types/icons/HannafordNewIcon.d.ts +5 -5
  368. package/dist/types/icons/InfoIcon.d.ts +7 -7
  369. package/dist/types/icons/LampIcon.d.ts +6 -6
  370. package/dist/types/icons/LegendLineIcon.d.ts +6 -6
  371. package/dist/types/icons/LegendUnionIcon.d.ts +6 -6
  372. package/dist/types/icons/MaintenanceIcon.d.ts +7 -7
  373. package/dist/types/icons/MenuItemClosedIcon.d.ts +7 -7
  374. package/dist/types/icons/MenuItemOpenIcon.d.ts +6 -6
  375. package/dist/types/icons/MenuItemRightIcon.d.ts +7 -7
  376. package/dist/types/icons/MenuItemUpIcon.d.ts +6 -6
  377. package/dist/types/icons/NoDataFoundIcon.d.ts +12 -12
  378. package/dist/types/icons/OptionsIcon.d.ts +6 -6
  379. package/dist/types/icons/PeopleIcon.d.ts +6 -6
  380. package/dist/types/icons/PlusIcon.d.ts +6 -0
  381. package/dist/types/icons/ReselectIcon.d.ts +6 -6
  382. package/dist/types/icons/SearchIcon.d.ts +6 -6
  383. package/dist/types/icons/ShoppingCartIcon.d.ts +6 -6
  384. package/dist/types/icons/ShoutIcon.d.ts +6 -6
  385. package/dist/types/icons/Sort.d.ts +1 -1
  386. package/dist/types/icons/SortIcon.d.ts +7 -7
  387. package/dist/types/icons/SpotlightProductIcon.d.ts +7 -7
  388. package/dist/types/icons/StopAndShopChartIcon.d.ts +2 -2
  389. package/dist/types/icons/StopAndShopIcon.d.ts +7 -7
  390. package/dist/types/icons/StopAndShopNewIcon.d.ts +6 -6
  391. package/dist/types/icons/SucceededIcon.d.ts +6 -6
  392. package/dist/types/icons/TheGiantCompanyChartIcon.d.ts +2 -2
  393. package/dist/types/icons/TheGiantCompanyIcon.d.ts +5 -5
  394. package/dist/types/icons/TheGiantCompanyNewIcon.d.ts +6 -6
  395. package/dist/types/icons/UpArrowIcon.d.ts +5 -5
  396. package/dist/types/icons/index.d.ts +14 -0
  397. package/dist/types/index.d.ts +48 -38
  398. package/dist/types/utils/CommonFunctions.d.ts +7 -7
  399. package/dist/types/utils/ComponentFactory.d.ts +4 -4
  400. package/dist/types/utils/IconsHandler.d.ts +1 -1
  401. package/dist/types/utils/IconsHandler.style.d.ts +1 -1
  402. package/dist/types/utils/regex/Email.regex.d.ts +1 -1
  403. package/dist/types/utils/regex/LatinWithSpaces.regex.d.ts +1 -1
  404. package/dist/types/utils/regex/Phone.regex.d.ts +1 -1
  405. package/package.json +1 -1
  406. package/dist/types/components/AutocompleteField/AutocompleteField.d.ts +0 -15
  407. package/dist/types/components/AutocompleteField/AutocompleteField.stories.d.ts +0 -13
  408. package/dist/types/components/AutocompleteField/AutocompleteField.style.d.ts +0 -5
  409. package/dist/types/components/CampaignTool/CampaignDemoReport.stories.d.ts +0 -46
  410. package/dist/types/components/CampaignTool/Card.stories.d.ts +0 -57
  411. package/dist/types/components/CampaignTool/MultipleCard.stories.d.ts +0 -28
  412. package/dist/types/components/CampaignTool/PageFilterBar.stories.d.ts +0 -17
  413. package/dist/types/components/CampaignTool/Popup.stories.d.ts +0 -101
  414. package/dist/types/components/CampaignTool/Table.stories.d.ts +0 -108
package/dist/index.js CHANGED
@@ -14,6 +14,16 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React$1);
14
14
  var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
15
15
  var Skeleton__default = /*#__PURE__*/_interopDefaultLegacy(Skeleton);
16
16
 
17
+ function _extends$1() {
18
+ return _extends$1 = Object.assign ? Object.assign.bind() : function (n) {
19
+ for (var e = 1; e < arguments.length; e++) {
20
+ var t = arguments[e];
21
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
22
+ }
23
+ return n;
24
+ }, _extends$1.apply(null, arguments);
25
+ }
26
+
17
27
  const ButtonContainer$1 = styled__default["default"].div`
18
28
  //position: relative;
19
29
  display: flex;
@@ -53,7 +63,7 @@ const ButtonItem = styled__default["default"].div`
53
63
  transition: background-color 0.3s, color 0.3s;
54
64
  }
55
65
  `;
56
- const Label$7 = styled__default["default"].label`
66
+ const Label$8 = styled__default["default"].label`
57
67
  font-family: "Poppins";
58
68
  font-size: 14px;
59
69
  font-weight: 400;
@@ -61,7 +71,7 @@ const Label$7 = styled__default["default"].label`
61
71
  pointer-events: none;
62
72
  user-select: none;
63
73
  `;
64
- const IconWrapper$1 = styled__default["default"].div`
74
+ const IconWrapper$3 = styled__default["default"].div`
65
75
  display: flex;
66
76
  align-items: center;
67
77
  justify-content: center;
@@ -97,6 +107,24 @@ const InputCommit = styled__default["default"].input`
97
107
  }
98
108
  `;
99
109
 
110
+ const DownloadIcon = _ref => {
111
+ let {
112
+ width = '8',
113
+ height = '9',
114
+ color = '#212121'
115
+ } = _ref;
116
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
117
+ width: width,
118
+ height: height,
119
+ viewBox: "0 0 20 20",
120
+ fill: "none",
121
+ xmlns: "http://www.w3.org/2000/svg"
122
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
123
+ d: "M9.57031 14.8438L3.94531 9.84375C3.67188 9.64844 3.67188 9.21875 3.90625 8.98438C4.10156 8.71094 4.53125 8.71094 4.76562 8.90625L9.375 13.0078V0.625C9.375 0.3125 9.64844 0 10 0C10.3125 0 10.625 0.3125 10.625 0.625V13.0078L15.1953 8.94531C15.4297 8.71094 15.8594 8.71094 16.0547 8.98438C16.2891 9.21875 16.2891 9.64844 16.0156 9.84375L10.3906 14.8438C10.2734 14.9609 10.1172 15 10 15C9.84375 15 9.6875 14.9609 9.57031 14.8438ZM17.5 12.5C18.8672 12.5 20 13.6328 20 15V17.5C20 18.9062 18.8672 20 17.5 20H2.5C1.09375 20 0 18.9062 0 17.5V15C0 13.6328 1.09375 12.5 2.5 12.5H4.375C4.6875 12.5 5 12.8125 5 13.125C5 13.4766 4.6875 13.75 4.375 13.75H2.5C1.79688 13.75 1.25 14.3359 1.25 15V17.5C1.25 18.2031 1.79688 18.75 2.5 18.75H17.5C18.1641 18.75 18.75 18.2031 18.75 17.5V15C18.75 14.3359 18.1641 13.75 17.5 13.75H15.625C15.2734 13.75 15 13.4766 15 13.125C15 12.8125 15.2734 12.5 15.625 12.5H17.5ZM17.1875 16.25C17.1875 16.7969 16.7578 17.1875 16.25 17.1875C15.7031 17.1875 15.3125 16.7969 15.3125 16.25C15.3125 15.7422 15.7031 15.3125 16.25 15.3125C16.7578 15.3125 17.1875 15.7422 17.1875 16.25Z",
124
+ fill: color
125
+ }));
126
+ };
127
+
100
128
  const FilterIcon = _ref => {
101
129
  let {
102
130
  width = '17',
@@ -142,24 +170,6 @@ const OptionsIcon = _ref => {
142
170
  }));
143
171
  };
144
172
 
145
- const DownloadIcon = _ref => {
146
- let {
147
- width = '8',
148
- height = '9',
149
- color = '#212121'
150
- } = _ref;
151
- return /*#__PURE__*/React__default["default"].createElement("svg", {
152
- width: width,
153
- height: height,
154
- viewBox: "0 0 20 20",
155
- fill: "none",
156
- xmlns: "http://www.w3.org/2000/svg"
157
- }, /*#__PURE__*/React__default["default"].createElement("path", {
158
- d: "M9.57031 14.8438L3.94531 9.84375C3.67188 9.64844 3.67188 9.21875 3.90625 8.98438C4.10156 8.71094 4.53125 8.71094 4.76562 8.90625L9.375 13.0078V0.625C9.375 0.3125 9.64844 0 10 0C10.3125 0 10.625 0.3125 10.625 0.625V13.0078L15.1953 8.94531C15.4297 8.71094 15.8594 8.71094 16.0547 8.98438C16.2891 9.21875 16.2891 9.64844 16.0156 9.84375L10.3906 14.8438C10.2734 14.9609 10.1172 15 10 15C9.84375 15 9.6875 14.9609 9.57031 14.8438ZM17.5 12.5C18.8672 12.5 20 13.6328 20 15V17.5C20 18.9062 18.8672 20 17.5 20H2.5C1.09375 20 0 18.9062 0 17.5V15C0 13.6328 1.09375 12.5 2.5 12.5H4.375C4.6875 12.5 5 12.8125 5 13.125C5 13.4766 4.6875 13.75 4.375 13.75H2.5C1.79688 13.75 1.25 14.3359 1.25 15V17.5C1.25 18.2031 1.79688 18.75 2.5 18.75H17.5C18.1641 18.75 18.75 18.2031 18.75 17.5V15C18.75 14.3359 18.1641 13.75 17.5 13.75H15.625C15.2734 13.75 15 13.4766 15 13.125C15 12.8125 15.2734 12.5 15.625 12.5H17.5ZM17.1875 16.25C17.1875 16.7969 16.7578 17.1875 16.25 17.1875C15.7031 17.1875 15.3125 16.7969 15.3125 16.25C15.3125 15.7422 15.7031 15.3125 16.25 15.3125C16.7578 15.3125 17.1875 15.7422 17.1875 16.25Z",
159
- fill: color
160
- }));
161
- };
162
-
163
173
  const DocumentIcon = _ref => {
164
174
  let {
165
175
  width = '19',
@@ -292,40 +302,150 @@ const EyeIcon = _ref => {
292
302
  }));
293
303
  };
294
304
 
295
- const ButtonArrowRight = _ref => {
296
- let {
297
- width = '16',
298
- height = '17'
299
- } = _ref;
300
- return /*#__PURE__*/React__default["default"].createElement("svg", {
301
- width: width,
302
- height: height,
303
- viewBox: "0 0 16 17",
304
- fill: "none",
305
- xmlns: "http://www.w3.org/2000/svg"
306
- }, /*#__PURE__*/React__default["default"].createElement("g", null, /*#__PURE__*/React__default["default"].createElement("path", {
307
- id: "icon",
308
- d: "M14.5 8.48438C14.5 6.17188 13.25 4.04688 11.25 2.85938C9.21875 1.70312 6.75 1.70312 4.75 2.85938C2.71875 4.04688 1.5 6.17188 1.5 8.48438C1.5 10.8282 2.71875 12.9532 4.75 14.1406C6.75 15.2969 9.21875 15.2969 11.25 14.1406C13.25 12.9532 14.5 10.8282 14.5 8.48438ZM0 8.48438C0 5.64062 1.5 3.01562 4 1.57812C6.46875 0.140625 9.5 0.140625 12 1.57812C14.4688 3.01562 16 5.64062 16 8.48438C16 11.3594 14.4688 13.9844 12 15.4219C9.5 16.8594 6.46875 16.8594 4 15.4219C1.5 13.9844 0 11.3594 0 8.48438ZM9.03125 11.7656C8.71875 12.0782 8.25 12.0782 7.96875 11.7656C7.65625 11.4844 7.65625 11.0156 7.96875 10.7032L9.4375 9.23438H4.75C4.3125 9.23438 4 8.92188 4 8.48438C4 8.07812 4.3125 7.73438 4.75 7.73438H9.4375L7.96875 6.26562C7.65625 5.98438 7.65625 5.51562 7.96875 5.23438C8.25 4.92188 8.71875 4.92188 9.03125 5.23438L11.7812 7.98438C12.0625 8.26562 12.0625 8.73438 11.7812 9.01562L9.03125 11.7656Z",
309
- fill: "white"
310
- })));
311
- };
305
+ const ButtonArrowRight = ({
306
+ width = '16',
307
+ height = '17'
308
+ }) => /*#__PURE__*/React__default["default"].createElement("svg", {
309
+ width: width,
310
+ height: height,
311
+ viewBox: "0 0 16 17",
312
+ fill: "none",
313
+ xmlns: "http://www.w3.org/2000/svg"
314
+ }, /*#__PURE__*/React__default["default"].createElement("g", null, /*#__PURE__*/React__default["default"].createElement("path", {
315
+ id: "icon",
316
+ d: "M14.5 8.48438C14.5 6.17188 13.25 4.04688 11.25 2.85938C9.21875 1.70312 6.75 1.70312 4.75 2.85938C2.71875 4.04688 1.5 6.17188 1.5 8.48438C1.5 10.8282 2.71875 12.9532 4.75 14.1406C6.75 15.2969 9.21875 15.2969 11.25 14.1406C13.25 12.9532 14.5 10.8282 14.5 8.48438ZM0 8.48438C0 5.64062 1.5 3.01562 4 1.57812C6.46875 0.140625 9.5 0.140625 12 1.57812C14.4688 3.01562 16 5.64062 16 8.48438C16 11.3594 14.4688 13.9844 12 15.4219C9.5 16.8594 6.46875 16.8594 4 15.4219C1.5 13.9844 0 11.3594 0 8.48438ZM9.03125 11.7656C8.71875 12.0782 8.25 12.0782 7.96875 11.7656C7.65625 11.4844 7.65625 11.0156 7.96875 10.7032L9.4375 9.23438H4.75C4.3125 9.23438 4 8.92188 4 8.48438C4 8.07812 4.3125 7.73438 4.75 7.73438H9.4375L7.96875 6.26562C7.65625 5.98438 7.65625 5.51562 7.96875 5.23438C8.25 4.92188 8.71875 4.92188 9.03125 5.23438L11.7812 7.98438C12.0625 8.26562 12.0625 8.73438 11.7812 9.01562L9.03125 11.7656Z",
317
+ fill: "white"
318
+ })));
312
319
 
313
- const ReselectIcon = _ref => {
314
- let {
315
- width = '16',
316
- height = '16',
317
- color = '#212121'
318
- } = _ref;
319
- return /*#__PURE__*/React__default["default"].createElement("svg", {
320
- width: width,
321
- height: height,
322
- viewBox: "0 0 16 16",
323
- fill: "none",
324
- xmlns: "http://www.w3.org/2000/svg"
325
- }, /*#__PURE__*/React__default["default"].createElement("path", {
326
- d: "M4.21875 15.5312L1.21875 12.5312C0.90625 12.25 0.90625 11.7812 1.21875 11.4688L4.21875 8.5C4.5 8.1875 4.96875 8.1875 5.25 8.5C5.5625 8.78125 5.5625 9.25 5.25 9.53125L3.53125 11.25H14.25C14.6562 11.25 15 11.5938 15 12C15 12.4375 14.6562 12.75 14.25 12.75L3.53125 12.7812L5.25 14.5C5.5625 14.7812 5.5625 15.25 5.25 15.5312C4.96875 15.8438 4.5 15.8438 4.21875 15.5312ZM14.7812 4.53125L11.7812 7.53125C11.4688 7.84375 11 7.84375 10.7188 7.53125C10.4062 7.25 10.4062 6.78125 10.7188 6.46875L12.4375 4.75H1.75C1.3125 4.75 1 4.4375 1 4C1 3.59375 1.3125 3.25 1.75 3.25H12.4375L10.7188 1.53125C10.4062 1.25 10.4062 0.78125 10.7188 0.46875C11 0.1875 11.4688 0.1875 11.7812 0.46875L14.7812 3.5C15.0625 3.78125 15.0625 4.25 14.7812 4.53125Z",
327
- fill: color
328
- }));
320
+ const ReselectIcon = ({
321
+ width = '16',
322
+ height = '16',
323
+ color = '#212121'
324
+ }) => /*#__PURE__*/React__default["default"].createElement("svg", {
325
+ width: width,
326
+ height: height,
327
+ viewBox: "0 0 16 16",
328
+ fill: "none",
329
+ xmlns: "http://www.w3.org/2000/svg"
330
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
331
+ d: "M4.21875 15.5312L1.21875 12.5312C0.90625 12.25 0.90625 11.7812 1.21875 11.4688L4.21875 8.5C4.5 8.1875 4.96875 8.1875 5.25 8.5C5.5625 8.78125 5.5625 9.25 5.25 9.53125L3.53125 11.25H14.25C14.6562 11.25 15 11.5938 15 12C15 12.4375 14.6562 12.75 14.25 12.75L3.53125 12.7812L5.25 14.5C5.5625 14.7812 5.5625 15.25 5.25 15.5312C4.96875 15.8438 4.5 15.8438 4.21875 15.5312ZM14.7812 4.53125L11.7812 7.53125C11.4688 7.84375 11 7.84375 10.7188 7.53125C10.4062 7.25 10.4062 6.78125 10.7188 6.46875L12.4375 4.75H1.75C1.3125 4.75 1 4.4375 1 4C1 3.59375 1.3125 3.25 1.75 3.25H12.4375L10.7188 1.53125C10.4062 1.25 10.4062 0.78125 10.7188 0.46875C11 0.1875 11.4688 0.1875 11.7812 0.46875L14.7812 3.5C15.0625 3.78125 15.0625 4.25 14.7812 4.53125Z",
332
+ fill: color
333
+ }));
334
+
335
+ const SearchIcon = ({
336
+ width = '13',
337
+ height = '13',
338
+ color = '#212121'
339
+ }) => /*#__PURE__*/React__default["default"].createElement("svg", {
340
+ width: width,
341
+ height: height,
342
+ viewBox: "0 0 13 13",
343
+ fill: "none",
344
+ xmlns: "http://www.w3.org/2000/svg"
345
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
346
+ d: "M8.625 4.875C8.625 3.53906 7.89844 2.32031 6.75 1.64062C5.57812 0.960938 4.14844 0.960938 3 1.64062C1.82812 2.32031 1.125 3.53906 1.125 4.875C1.125 6.23438 1.82812 7.45312 3 8.13281C4.14844 8.8125 5.57812 8.8125 6.75 8.13281C7.89844 7.45312 8.625 6.23438 8.625 4.875ZM7.89844 8.71875C7.05469 9.375 6 9.75 4.875 9.75C2.17969 9.75 0 7.57031 0 4.875C0 2.20312 2.17969 0 4.875 0C7.54688 0 9.75 2.20312 9.75 4.875C9.75 6.02344 9.35156 7.07812 8.69531 7.92188L11.8359 11.0391C12.0469 11.2734 12.0469 11.625 11.8359 11.8359C11.6016 12.0703 11.25 12.0703 11.0391 11.8359L7.89844 8.71875Z",
347
+ fill: color
348
+ }));
349
+
350
+ const PlusIcon = ({
351
+ width = '17',
352
+ height = '17',
353
+ color = '#212121'
354
+ }) => /*#__PURE__*/React__default["default"].createElement("svg", {
355
+ xmlns: "http://www.w3.org/2000/svg",
356
+ width: "16",
357
+ height: "17",
358
+ viewBox: "0 0 16 17",
359
+ fill: "none"
360
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
361
+ d: "M8.71875 2.28125V7.90625H14.3438C14.8008 7.90625 15.1875 8.29297 15.1875 8.75C15.1875 9.24219 14.8008 9.59375 14.3438 9.59375H8.71875V15.2188C8.71875 15.7109 8.33203 16.0625 7.875 16.0625C7.38281 16.0625 7.03125 15.7109 7.03125 15.2188V9.59375H1.40625C0.914062 9.59375 0.5625 9.24219 0.5625 8.75C0.5625 8.29297 0.914062 7.90625 1.40625 7.90625H7.03125V2.28125C7.03125 1.82422 7.38281 1.4375 7.875 1.4375C8.33203 1.4375 8.71875 1.82422 8.71875 2.28125Z",
362
+ fill: "#066768"
363
+ }));
364
+
365
+ const Button$1 = props => {
366
+ const {
367
+ text = "",
368
+ type = "primary",
369
+ size = "small",
370
+ height = "",
371
+ width = "",
372
+ disabled = false,
373
+ textColor = "",
374
+ backgroundColor = "",
375
+ borderColor = "",
376
+ hoverTextColor = "",
377
+ hoverBackgroundColor = "",
378
+ hoverBorderColor = "",
379
+ disabledTextColor = "",
380
+ disabledBackgroundColor = "",
381
+ disabledBorderColor = "",
382
+ onClick = () => {},
383
+ leftIcon = null,
384
+ rightIcon = null,
385
+ isSubmitButton = false
386
+ } = props;
387
+ const [clicked, setClicked] = React$1.useState(false);
388
+ const [hover, setHover] = React$1.useState(false);
389
+ const handleClick = event => {
390
+ setClicked(prev => !prev);
391
+ onClick(event);
392
+ setTimeout(() => setClicked(prev => !prev), 300);
393
+ };
394
+ const iconMap = {
395
+ arrow: ButtonArrowRight,
396
+ filter: FilterIcon,
397
+ options: OptionsIcon,
398
+ download: DownloadIcon,
399
+ document: DocumentIcon,
400
+ fly: FlyIcon,
401
+ bell: BellIcon,
402
+ maintenance: MaintenanceIcon,
403
+ exit: ExitIcon,
404
+ eye: EyeIcon,
405
+ reselect: ReselectIcon
406
+ };
407
+ const getIcon = icon => {
408
+ if (!icon || icon === "none") return null;
409
+ const IconComponent = iconMap[icon.toLowerCase()];
410
+ const iconProps = {
411
+ height: "16px",
412
+ width: "16px",
413
+ color: disabled ? disabledTextColor || "#B1B1B1" : hover ? hoverTextColor || (type === "secondary" ? "#229E38" : "#ffffff") : textColor || (type === "secondary" ? "#212121" : "#ffffff")
414
+ };
415
+ return /*#__PURE__*/React__default["default"].createElement(IconWrapper$3, null, /*#__PURE__*/React__default["default"].createElement(IconComponent, iconProps));
416
+ };
417
+ const commonProps = {
418
+ width: width || null,
419
+ height: height || (size === "small" ? "33px" : "45px"),
420
+ disabled,
421
+ text_color: textColor || (type === "secondary" ? "#212121" : "#ffffff"),
422
+ background_color: backgroundColor || (type === "secondary" ? "#ffffff" : "#229E38"),
423
+ border_color: borderColor || (type === "secondary" ? "#B1B1B1" : "#229E38"),
424
+ hover_text_color: hoverTextColor || (type === "secondary" ? "#229E38" : "#ffffff"),
425
+ hover_background_color: hoverBackgroundColor || (type === "secondary" ? "#E8F5EB" : "#92CF17"),
426
+ hover_border_color: hoverBorderColor || (type === "secondary" ? "#229E38" : "#92CF17"),
427
+ disabled_text_color: disabledTextColor || "#B1B1B1",
428
+ disabled_background_color: disabledBackgroundColor || (type === "secondary" ? "#ffffff" : "#E3E4E5"),
429
+ disabled_border_color: disabledBorderColor || "#E3E4E5",
430
+ padding: size === "small" ? "0 16px" : "0 20px",
431
+ onClick: !disabled ? handleClick : null
432
+ };
433
+ return /*#__PURE__*/React__default["default"].createElement(ButtonContainer$1, {
434
+ className: "ButtonContainer",
435
+ width: commonProps.width,
436
+ height: commonProps.height
437
+ }, isSubmitButton ? /*#__PURE__*/React__default["default"].createElement(InputCommit, _extends$1({
438
+ className: clicked ? "InputCommit-clicked" : "InputCommit",
439
+ value: text,
440
+ type: "submit"
441
+ }, commonProps)) : /*#__PURE__*/React__default["default"].createElement(ButtonItem, _extends$1({
442
+ className: clicked ? "ButtonItem-clicked" : "ButtonItem",
443
+ onMouseEnter: () => setHover(true),
444
+ onMouseLeave: () => setHover(false)
445
+ }, commonProps), getIcon(leftIcon), /*#__PURE__*/React__default["default"].createElement(Label$8, {
446
+ className: "Label",
447
+ disabled: disabled
448
+ }, text), getIcon(rightIcon)));
329
449
  };
330
450
 
331
451
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
@@ -1481,199 +1601,6 @@ if (process.env.NODE_ENV !== 'production') {
1481
1601
  var propTypesExports = propTypes.exports;
1482
1602
  var PropTypes = /*@__PURE__*/getDefaultExportFromCjs(propTypesExports);
1483
1603
 
1484
- const Button = _ref => {
1485
- let {
1486
- text = '',
1487
- type = 'primary',
1488
- size = 'small',
1489
- height = '',
1490
- width = '',
1491
- disabled = false,
1492
- textColor = '',
1493
- backgroundColor = '',
1494
- borderColor = '',
1495
- hoverTextColor = '',
1496
- hoverBackgroundColor = '',
1497
- hoverBorderColor = '',
1498
- disabledTextColor = '',
1499
- disabledBackgroundColor = '',
1500
- disabledBorderColor = '',
1501
- onClick = () => {},
1502
- leftIcon = 'none',
1503
- rightIcon = 'none',
1504
- isSubmitButton = false
1505
- } = _ref;
1506
- const [clicked, setClicked] = React$1.useState(false);
1507
- const [hover, setHover] = React$1.useState(false);
1508
- const handleSubmitButtonOnClick = () => {
1509
- setClicked(true);
1510
- onClick(`SubmitButtonOnClick: ${text}`);
1511
- setTimeout(() => {
1512
- setClicked(false);
1513
- }, 300);
1514
- };
1515
- const handleButtonClick = event => {
1516
- setClicked(true);
1517
- onClick(event);
1518
- setTimeout(() => {
1519
- setClicked(false);
1520
- }, 300);
1521
- };
1522
- const getIcon = icon => {
1523
- const iconHeight = '16px';
1524
- const iconWidth = '16px';
1525
- const newTextColor = textColor || (type === 'secondary' ? '#212121' : '#ffffff');
1526
- const newHoverTextColor = hoverTextColor || (type === 'secondary' ? '#229E38' : '#ffffff');
1527
- const newDisabledTextColor = disabledTextColor || '#B1B1B1';
1528
- const newEnabledTextColor = hover ? newHoverTextColor : newTextColor;
1529
- const color = disabled ? newDisabledTextColor : newEnabledTextColor;
1530
- switch (icon.toLowerCase()) {
1531
- case 'arrow':
1532
- return /*#__PURE__*/React__default["default"].createElement(IconWrapper$1, {
1533
- className: "ArrowRightIcon"
1534
- }, /*#__PURE__*/React__default["default"].createElement(ButtonArrowRight, {
1535
- height: iconHeight,
1536
- width: iconWidth,
1537
- color: color
1538
- }));
1539
- case 'filter':
1540
- return /*#__PURE__*/React__default["default"].createElement(IconWrapper$1, {
1541
- className: "FilterIcon"
1542
- }, /*#__PURE__*/React__default["default"].createElement(FilterIcon, {
1543
- height: "150px",
1544
- width: iconWidth,
1545
- color: color
1546
- }));
1547
- case 'options':
1548
- return /*#__PURE__*/React__default["default"].createElement(IconWrapper$1, {
1549
- className: "OptionsIcon"
1550
- }, /*#__PURE__*/React__default["default"].createElement(OptionsIcon, {
1551
- height: iconHeight,
1552
- width: iconWidth,
1553
- color: color
1554
- }));
1555
- case 'download':
1556
- return /*#__PURE__*/React__default["default"].createElement(IconWrapper$1, {
1557
- className: "DownloadIcon"
1558
- }, /*#__PURE__*/React__default["default"].createElement(DownloadIcon, {
1559
- height: iconHeight,
1560
- width: iconWidth,
1561
- color: color
1562
- }));
1563
- case 'document':
1564
- return /*#__PURE__*/React__default["default"].createElement(IconWrapper$1, {
1565
- className: "DocumentIcon"
1566
- }, /*#__PURE__*/React__default["default"].createElement(DocumentIcon, {
1567
- height: iconHeight,
1568
- width: iconWidth,
1569
- color: color
1570
- }));
1571
- case 'fly':
1572
- return /*#__PURE__*/React__default["default"].createElement(IconWrapper$1, {
1573
- className: "FlyIcon"
1574
- }, /*#__PURE__*/React__default["default"].createElement(FlyIcon, {
1575
- height: iconHeight,
1576
- width: iconWidth,
1577
- color: color
1578
- }));
1579
- case 'bell':
1580
- return /*#__PURE__*/React__default["default"].createElement(IconWrapper$1, {
1581
- className: "BellIcon"
1582
- }, /*#__PURE__*/React__default["default"].createElement(BellIcon, {
1583
- height: iconHeight,
1584
- width: iconWidth,
1585
- color: color
1586
- }));
1587
- case 'maintenance':
1588
- return /*#__PURE__*/React__default["default"].createElement(IconWrapper$1, {
1589
- className: "MaintenanceIcon"
1590
- }, /*#__PURE__*/React__default["default"].createElement(MaintenanceIcon, {
1591
- height: iconHeight,
1592
- width: iconWidth,
1593
- color: color
1594
- }));
1595
- case 'exit':
1596
- return /*#__PURE__*/React__default["default"].createElement(IconWrapper$1, {
1597
- className: "ExitIcon"
1598
- }, /*#__PURE__*/React__default["default"].createElement(ExitIcon, {
1599
- height: iconHeight,
1600
- width: iconWidth,
1601
- color: color
1602
- }));
1603
- case 'eye':
1604
- return /*#__PURE__*/React__default["default"].createElement(IconWrapper$1, {
1605
- className: "EyeIcon"
1606
- }, /*#__PURE__*/React__default["default"].createElement(EyeIcon, {
1607
- height: iconHeight,
1608
- width: iconWidth,
1609
- color: color
1610
- }));
1611
- case 'reselect':
1612
- return /*#__PURE__*/React__default["default"].createElement(IconWrapper$1, {
1613
- className: "ReselectIcon"
1614
- }, /*#__PURE__*/React__default["default"].createElement(ReselectIcon, {
1615
- height: iconHeight,
1616
- width: iconWidth,
1617
- color: color
1618
- }));
1619
- default:
1620
- return '';
1621
- }
1622
- };
1623
- const getLeftIcon = () => {
1624
- if (!leftIcon || leftIcon === 'none') return '';
1625
- return getIcon(leftIcon);
1626
- };
1627
- const getRightIcon = () => {
1628
- if (!rightIcon || rightIcon === 'none') return '';
1629
- return getIcon(rightIcon);
1630
- };
1631
- return /*#__PURE__*/React__default["default"].createElement(ButtonContainer$1, {
1632
- className: "ButtonContainer",
1633
- width: width || null,
1634
- height: height || (size === 'small' ? '33px' : '45px')
1635
- }, isSubmitButton ? /*#__PURE__*/React__default["default"].createElement(InputCommit, {
1636
- className: clicked ? 'InputCommit-clicked' : 'InputCommit',
1637
- value: text,
1638
- type: "submit",
1639
- width: width || null,
1640
- height: height || (size === 'small' ? '33px' : '45px'),
1641
- disabled: disabled,
1642
- text_color: textColor || (type === 'secondary' ? '#212121' : '#ffffff'),
1643
- background_color: backgroundColor || (type === 'secondary' ? '#ffffff' : '#229E38'),
1644
- border_color: borderColor || (type === 'secondary' ? '#B1B1B1' : '#229E38'),
1645
- hover_text_color: hoverTextColor || (type === 'secondary' ? '#229E38' : '#ffffff'),
1646
- hover_background_color: hoverBackgroundColor || (type === 'secondary' ? '#E8F5EB' : '#92CF17'),
1647
- hover_border_color: hoverBorderColor || (type === 'secondary' ? '#229E38' : '#92CF17'),
1648
- disabled_text_color: disabledTextColor || '#B1B1B1',
1649
- disabled_background_color: disabledBackgroundColor || (type === 'secondary' ? '#ffffff' : '#E3E4E5'),
1650
- disabled_border_color: disabledBorderColor || '#E3E4E5',
1651
- padding: size === 'small' ? '0 16px' : '0 20px',
1652
- onClick: !disabled ? handleSubmitButtonOnClick : null
1653
- }) : /*#__PURE__*/React__default["default"].createElement(ButtonItem, {
1654
- className: clicked ? 'ButtonItem-clicked' : 'ButtonItem',
1655
- onMouseEnter: () => setHover(true),
1656
- onMouseLeave: () => setHover(false),
1657
- onClick: event => !disabled ? handleButtonClick(event) : null,
1658
- width: width || null,
1659
- height: height || (size === 'small' ? '33px' : '45px'),
1660
- disabled: disabled,
1661
- text_color: textColor || (type === 'secondary' ? '#212121' : '#ffffff'),
1662
- background_color: backgroundColor || (type === 'secondary' ? '#ffffff' : '#229E38'),
1663
- border_color: borderColor || (type === 'secondary' ? '#B1B1B1' : '#229E38'),
1664
- hover_text_color: hoverTextColor || (type === 'secondary' ? '#229E38' : '#ffffff'),
1665
- hover_background_color: hoverBackgroundColor || (type === 'secondary' ? '#E8F5EB' : '#92CF17'),
1666
- hover_border_color: hoverBorderColor || (type === 'secondary' ? '#229E38' : '#92CF17'),
1667
- disabled_text_color: disabledTextColor || '#B1B1B1',
1668
- disabled_background_color: disabledBackgroundColor || (type === 'secondary' ? '#ffffff' : '#E3E4E5'),
1669
- disabled_border_color: disabledBorderColor || '#E3E4E5',
1670
- padding: size === 'small' ? '0 16px' : '0 20px'
1671
- }, getLeftIcon(), /*#__PURE__*/React__default["default"].createElement(Label$7, {
1672
- className: "Label",
1673
- disabled: disabled
1674
- }, text), getRightIcon()));
1675
- };
1676
-
1677
1604
  /* eslint-disable no-restricted-globals */
1678
1605
  /* eslint-disable no-shadow */
1679
1606
  const getCurrencySign = (currencyTypeToConvert, value) => {
@@ -2505,7 +2432,7 @@ PieChart.defaultProps = {
2505
2432
  noDataText: 'No Data'
2506
2433
  };
2507
2434
 
2508
- const MainContainer$7 = styled__default["default"].div`
2435
+ const MainContainer$8 = styled__default["default"].div`
2509
2436
  position: relative;
2510
2437
  font-family: "Poppins", sans-serif;
2511
2438
  background-color: white;
@@ -2712,7 +2639,7 @@ const HannafordNewIcon = _ref => {
2712
2639
  })));
2713
2640
  };
2714
2641
 
2715
- const MainContainer$6 = styled__default["default"].div`
2642
+ const MainContainer$7 = styled__default["default"].div`
2716
2643
  position: relative;
2717
2644
  font-family: "Poppins", sans-serif;
2718
2645
  background-color: white;
@@ -2886,7 +2813,7 @@ const BannersDropdown = props => {
2886
2813
  setBannerButtonArrow('#757575');
2887
2814
  }
2888
2815
  }, [processedBanners]);
2889
- return /*#__PURE__*/React.createElement(MainContainer$6, null, /*#__PURE__*/React.createElement(ToggleBannersWrapper, null, /*#__PURE__*/React.createElement(ToggleBanners, {
2816
+ return /*#__PURE__*/React.createElement(MainContainer$7, null, /*#__PURE__*/React.createElement(ToggleBannersWrapper, null, /*#__PURE__*/React.createElement(ToggleBanners, {
2890
2817
  className: bannerButtonText === 'Partial' ? 'partial' : '',
2891
2818
  onClick: () => setToggled(!toggled)
2892
2819
  }, /*#__PURE__*/React.createElement("span", null, bannerButtonText), /*#__PURE__*/React.createElement(ArrowWrap, {
@@ -2962,11 +2889,11 @@ const LinkButtonItem = styled__default["default"].div`
2962
2889
  transition: background-color 0.3s, color 0.3s;
2963
2890
  }
2964
2891
  `;
2965
- const Label$6 = styled__default["default"].label`
2892
+ const Label$7 = styled__default["default"].label`
2966
2893
  user-select: none;
2967
2894
  pointer-events: none;
2968
2895
  `;
2969
- const IconWrapper = styled__default["default"].div`
2896
+ const IconWrapper$2 = styled__default["default"].div`
2970
2897
  display: flex;
2971
2898
  align-items: center;
2972
2899
  justify-content: center;
@@ -3090,15 +3017,23 @@ const LinkButton = _ref => {
3090
3017
  const color = disabled ? '#B1B1B1' : newTextColor;
3091
3018
  switch (icon.toLowerCase()) {
3092
3019
  case 'filter':
3093
- return /*#__PURE__*/React__default["default"].createElement(IconWrapper, {
3020
+ return /*#__PURE__*/React__default["default"].createElement(IconWrapper$2, {
3094
3021
  className: "FilterIcon"
3095
3022
  }, /*#__PURE__*/React__default["default"].createElement(FilterIcon, {
3096
3023
  height: iconHeight,
3097
3024
  width: iconWidth,
3098
3025
  color: color
3099
3026
  }));
3027
+ case 'plus':
3028
+ return /*#__PURE__*/React__default["default"].createElement(IconWrapper$2, {
3029
+ className: "PlusIcon"
3030
+ }, /*#__PURE__*/React__default["default"].createElement(PlusIcon, {
3031
+ height: iconHeight,
3032
+ width: iconWidth,
3033
+ color: color
3034
+ }));
3100
3035
  case 'options':
3101
- return /*#__PURE__*/React__default["default"].createElement(IconWrapper, {
3036
+ return /*#__PURE__*/React__default["default"].createElement(IconWrapper$2, {
3102
3037
  className: "OptionsIcon"
3103
3038
  }, /*#__PURE__*/React__default["default"].createElement(OptionsIcon, {
3104
3039
  height: iconHeight,
@@ -3106,7 +3041,7 @@ const LinkButton = _ref => {
3106
3041
  color: color
3107
3042
  }));
3108
3043
  case 'download':
3109
- return /*#__PURE__*/React__default["default"].createElement(IconWrapper, {
3044
+ return /*#__PURE__*/React__default["default"].createElement(IconWrapper$2, {
3110
3045
  className: "DownloadIcon"
3111
3046
  }, /*#__PURE__*/React__default["default"].createElement(DownloadIcon, {
3112
3047
  height: iconHeight,
@@ -3114,7 +3049,7 @@ const LinkButton = _ref => {
3114
3049
  color: color
3115
3050
  }));
3116
3051
  case 'document':
3117
- return /*#__PURE__*/React__default["default"].createElement(IconWrapper, {
3052
+ return /*#__PURE__*/React__default["default"].createElement(IconWrapper$2, {
3118
3053
  className: "DocumentIcon"
3119
3054
  }, /*#__PURE__*/React__default["default"].createElement(DocumentIcon, {
3120
3055
  height: iconHeight,
@@ -3122,7 +3057,7 @@ const LinkButton = _ref => {
3122
3057
  color: color
3123
3058
  }));
3124
3059
  case 'fly':
3125
- return /*#__PURE__*/React__default["default"].createElement(IconWrapper, {
3060
+ return /*#__PURE__*/React__default["default"].createElement(IconWrapper$2, {
3126
3061
  className: "FlyIcon"
3127
3062
  }, /*#__PURE__*/React__default["default"].createElement(FlyIcon, {
3128
3063
  height: iconHeight,
@@ -3130,7 +3065,7 @@ const LinkButton = _ref => {
3130
3065
  color: color
3131
3066
  }));
3132
3067
  case 'bell':
3133
- return /*#__PURE__*/React__default["default"].createElement(IconWrapper, {
3068
+ return /*#__PURE__*/React__default["default"].createElement(IconWrapper$2, {
3134
3069
  className: "BellIcon"
3135
3070
  }, /*#__PURE__*/React__default["default"].createElement(BellIcon, {
3136
3071
  height: iconHeight,
@@ -3138,7 +3073,7 @@ const LinkButton = _ref => {
3138
3073
  color: color
3139
3074
  }));
3140
3075
  case 'maintenance':
3141
- return /*#__PURE__*/React__default["default"].createElement(IconWrapper, {
3076
+ return /*#__PURE__*/React__default["default"].createElement(IconWrapper$2, {
3142
3077
  className: "MaintenanceIcon"
3143
3078
  }, /*#__PURE__*/React__default["default"].createElement(MaintenanceIcon, {
3144
3079
  height: iconHeight,
@@ -3146,7 +3081,7 @@ const LinkButton = _ref => {
3146
3081
  color: color
3147
3082
  }));
3148
3083
  case 'exit':
3149
- return /*#__PURE__*/React__default["default"].createElement(IconWrapper, {
3084
+ return /*#__PURE__*/React__default["default"].createElement(IconWrapper$2, {
3150
3085
  className: "ExitIcon"
3151
3086
  }, /*#__PURE__*/React__default["default"].createElement(ExitIcon, {
3152
3087
  height: iconHeight,
@@ -3154,7 +3089,7 @@ const LinkButton = _ref => {
3154
3089
  color: color
3155
3090
  }));
3156
3091
  case 'eye':
3157
- return /*#__PURE__*/React__default["default"].createElement(IconWrapper, {
3092
+ return /*#__PURE__*/React__default["default"].createElement(IconWrapper$2, {
3158
3093
  className: "EyeIcon"
3159
3094
  }, /*#__PURE__*/React__default["default"].createElement(EyeIcon, {
3160
3095
  height: iconHeight,
@@ -3162,7 +3097,7 @@ const LinkButton = _ref => {
3162
3097
  color: color
3163
3098
  }));
3164
3099
  case 'arrowdown':
3165
- return /*#__PURE__*/React__default["default"].createElement(IconWrapper, {
3100
+ return /*#__PURE__*/React__default["default"].createElement(IconWrapper$2, {
3166
3101
  className: "ArrowDownIcon"
3167
3102
  }, /*#__PURE__*/React__default["default"].createElement(MenuItemOpenIcon, {
3168
3103
  height: iconHeight,
@@ -3170,7 +3105,7 @@ const LinkButton = _ref => {
3170
3105
  color: color
3171
3106
  }));
3172
3107
  case 'arrowright':
3173
- return /*#__PURE__*/React__default["default"].createElement(IconWrapper, {
3108
+ return /*#__PURE__*/React__default["default"].createElement(IconWrapper$2, {
3174
3109
  className: "ArrowRightIcon"
3175
3110
  }, /*#__PURE__*/React__default["default"].createElement(MenuItemRightIcon, {
3176
3111
  height: iconHeight,
@@ -3178,7 +3113,7 @@ const LinkButton = _ref => {
3178
3113
  color: color
3179
3114
  }));
3180
3115
  case 'select':
3181
- return /*#__PURE__*/React__default["default"].createElement(IconWrapper, {
3116
+ return /*#__PURE__*/React__default["default"].createElement(IconWrapper$2, {
3182
3117
  className: "SelectRightIcon"
3183
3118
  }, /*#__PURE__*/React__default["default"].createElement(ArrowSelectIcon, {
3184
3119
  height: "16px",
@@ -3186,7 +3121,7 @@ const LinkButton = _ref => {
3186
3121
  color: color
3187
3122
  }));
3188
3123
  case 'info':
3189
- return /*#__PURE__*/React__default["default"].createElement(IconWrapper, {
3124
+ return /*#__PURE__*/React__default["default"].createElement(IconWrapper$2, {
3190
3125
  className: "InfoIcon"
3191
3126
  }, /*#__PURE__*/React__default["default"].createElement(InfoIcon, {
3192
3127
  height: iconHeight,
@@ -3217,7 +3152,7 @@ const LinkButton = _ref => {
3217
3152
  disabled: disabled,
3218
3153
  text_color: textColor || (type === 'secondary' ? '#212121' : '#229E38'),
3219
3154
  font_size: size === 'small' ? '14px' : '16px'
3220
- }, getLeftIcon(), /*#__PURE__*/React__default["default"].createElement(Label$6, {
3155
+ }, getLeftIcon(), /*#__PURE__*/React__default["default"].createElement(Label$7, {
3221
3156
  className: "Label",
3222
3157
  disabled: disabled,
3223
3158
  font_size: size === 'small' ? '14px' : '16px'
@@ -3296,7 +3231,7 @@ const EventDetailsCard = props => {
3296
3231
  const viewButtonClick = e => {
3297
3232
  onViewButtonClick(e);
3298
3233
  };
3299
- return /*#__PURE__*/React.createElement(MainContainer$7, {
3234
+ return /*#__PURE__*/React.createElement(MainContainer$8, {
3300
3235
  className: className,
3301
3236
  height: height,
3302
3237
  width: width
@@ -3374,16 +3309,6 @@ EventDetailsCard.defaultProps = {
3374
3309
  disableViewDetailsButton: false
3375
3310
  };
3376
3311
 
3377
- function _extends() {
3378
- return _extends = Object.assign ? Object.assign.bind() : function (n) {
3379
- for (var e = 1; e < arguments.length; e++) {
3380
- var t = arguments[e];
3381
- for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
3382
- }
3383
- return n;
3384
- }, _extends.apply(null, arguments);
3385
- }
3386
-
3387
3312
  const LinnerContainer$1 = styled__default["default"].div.attrs(props => ({
3388
3313
  style: {
3389
3314
  backgroundColor: props.$backgroundColor,
@@ -3457,7 +3382,7 @@ const LinnerDataBox = props => {
3457
3382
  backgroundColor = "#FFFFFF",
3458
3383
  customDataFormat = false
3459
3384
  } = props;
3460
- return /*#__PURE__*/React__default["default"].createElement(LinnerContainer$1, _extends({
3385
+ return /*#__PURE__*/React__default["default"].createElement(LinnerContainer$1, _extends$1({
3461
3386
  className: className,
3462
3387
  $backgroundColor: backgroundColor || "white",
3463
3388
  $width: width || "100%",
@@ -3512,21 +3437,6 @@ const TextFieldInput = styled__default["default"].input`
3512
3437
  }
3513
3438
  `;
3514
3439
 
3515
- const SearchIcon = ({
3516
- width = '13',
3517
- height = '13',
3518
- color = '#212121'
3519
- }) => /*#__PURE__*/React__default["default"].createElement("svg", {
3520
- width: width,
3521
- height: height,
3522
- viewBox: "0 0 13 13",
3523
- fill: "none",
3524
- xmlns: "http://www.w3.org/2000/svg"
3525
- }, /*#__PURE__*/React__default["default"].createElement("path", {
3526
- d: "M8.625 4.875C8.625 3.53906 7.89844 2.32031 6.75 1.64062C5.57812 0.960938 4.14844 0.960938 3 1.64062C1.82812 2.32031 1.125 3.53906 1.125 4.875C1.125 6.23438 1.82812 7.45312 3 8.13281C4.14844 8.8125 5.57812 8.8125 6.75 8.13281C7.89844 7.45312 8.625 6.23438 8.625 4.875ZM7.89844 8.71875C7.05469 9.375 6 9.75 4.875 9.75C2.17969 9.75 0 7.57031 0 4.875C0 2.20312 2.17969 0 4.875 0C7.54688 0 9.75 2.20312 9.75 4.875C9.75 6.02344 9.35156 7.07812 8.69531 7.92188L11.8359 11.0391C12.0469 11.2734 12.0469 11.625 11.8359 11.8359C11.6016 12.0703 11.25 12.0703 11.0391 11.8359L7.89844 8.71875Z",
3527
- fill: color
3528
- }));
3529
-
3530
3440
  const SearchInput = props => {
3531
3441
  const {
3532
3442
  placeholder,
@@ -3655,7 +3565,7 @@ const Body = styled__default["default"].div`
3655
3565
  border-radius: ${props => props.setBackground ? '12px' : '0'};
3656
3566
  box-shadow: ${props => props.setBackground ? '0px 0px 20px 0px rgba(0, 0, 0, 0.10)' : 'unset'};
3657
3567
  `;
3658
- const Label$5 = styled__default["default"].div`
3568
+ const Label$6 = styled__default["default"].div`
3659
3569
  font-size: 12px;
3660
3570
  font-weight: 400;
3661
3571
  padding: 8px;
@@ -3894,7 +3804,7 @@ const TabMenu = props => {
3894
3804
  color: color,
3895
3805
  width: `${100 / tabs.length}%`,
3896
3806
  role: "presentation"
3897
- }))), headlineContent && /*#__PURE__*/React__default["default"].createElement(TabActionLine, null, headlineContent), setTopRightButton && /*#__PURE__*/React__default["default"].createElement(Button, {
3807
+ }))), headlineContent && /*#__PURE__*/React__default["default"].createElement(TabActionLine, null, headlineContent), setTopRightButton && /*#__PURE__*/React__default["default"].createElement(Button$1, {
3898
3808
  text: rightButtonText,
3899
3809
  rightIcon: rightButtonIcon,
3900
3810
  size: "small",
@@ -3906,7 +3816,7 @@ const TabMenu = props => {
3906
3816
  hoverBorderColor: buttonHoverColor
3907
3817
  })), showActions && /*#__PURE__*/React__default["default"].createElement(ActionsWrapper, {
3908
3818
  className: "ActionsWrapper"
3909
- }, showLabel && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(Label$5, {
3819
+ }, showLabel && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(Label$6, {
3910
3820
  className: "Label"
3911
3821
  }, /*#__PURE__*/React__default["default"].createElement("span", null, "Platform: "), "Total"), /*#__PURE__*/React__default["default"].createElement("span", {
3912
3822
  className: "separator"
@@ -8527,7 +8437,7 @@ const DropdownWrapper$2 = styled__default["default"].div`
8527
8437
  font-size: 14px;
8528
8438
  border-radius: 10px;
8529
8439
  `;
8530
- const Label$4 = styled__default["default"].label`
8440
+ const Label$5 = styled__default["default"].label`
8531
8441
  font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
8532
8442
  font-weight: 400;
8533
8443
  padding-inline-end: 5px;
@@ -8550,7 +8460,7 @@ const Label$4 = styled__default["default"].label`
8550
8460
  cursor: ${props => props.disabled ? 'not-allowed' : 'pointer'};
8551
8461
  }
8552
8462
  `;
8553
- const InputContainer$6 = styled__default["default"].div`
8463
+ const InputContainer$8 = styled__default["default"].div`
8554
8464
  display: flex;
8555
8465
  flex-direction: row;
8556
8466
  flex-wrap: nowrap;
@@ -8582,7 +8492,7 @@ const InputContainer$6 = styled__default["default"].div`
8582
8492
  }
8583
8493
 
8584
8494
  `;
8585
- const InputSubContainer$3 = styled__default["default"].div`
8495
+ const InputSubContainer$4 = styled__default["default"].div`
8586
8496
  display: flex;
8587
8497
  flex-direction: column;
8588
8498
  flex-wrap: nowrap;
@@ -8601,7 +8511,7 @@ const InputSubContainer$3 = styled__default["default"].div`
8601
8511
  outline: none;
8602
8512
  color: ${props => props.disabled ? '#888' : '#212121'};
8603
8513
  `;
8604
- const StyledInput$6 = styled__default["default"].input`
8514
+ const StyledInput$8 = styled__default["default"].input`
8605
8515
  width: calc(100% - 10px);
8606
8516
  height: 20px;
8607
8517
  font-family: Poppins;
@@ -8612,7 +8522,7 @@ const StyledInput$6 = styled__default["default"].input`
8612
8522
  color: ${props => props.disabled ? '#888' : '#212121'};
8613
8523
  border: none;
8614
8524
  `;
8615
- const OptionsContainer$6 = styled__default["default"].div`
8525
+ const OptionsContainer$7 = styled__default["default"].div`
8616
8526
  margin: 0;
8617
8527
  top: 100%;
8618
8528
  left: 0;
@@ -8660,7 +8570,7 @@ const OptionItem$3 = styled__default["default"].li`
8660
8570
  background-color: #EDF6FF;
8661
8571
  }
8662
8572
  `;
8663
- const ErrorMessage$3 = styled__default["default"].div`
8573
+ const ErrorMessage$4 = styled__default["default"].div`
8664
8574
  font-size: 12px;
8665
8575
  color: red;
8666
8576
  margin-top: 5px;
@@ -8816,20 +8726,20 @@ const DropdownSingleNew = ({
8816
8726
  width: width,
8817
8727
  onMouseEnter: () => setHoverInputContainer(true),
8818
8728
  onMouseLeave: () => setHoverInputContainer(false)
8819
- }, /*#__PURE__*/React__default["default"].createElement(InputContainer$6, {
8729
+ }, /*#__PURE__*/React__default["default"].createElement(InputContainer$8, {
8820
8730
  className: "InputContainer",
8821
8731
  labelColor: labelColor,
8822
8732
  disabled: disabled,
8823
8733
  error: error,
8824
8734
  isFocused: isFocused
8825
- }, /*#__PURE__*/React__default["default"].createElement(InputSubContainer$3, {
8735
+ }, /*#__PURE__*/React__default["default"].createElement(InputSubContainer$4, {
8826
8736
  className: "InputSubContainer",
8827
8737
  ref: containerRef,
8828
8738
  labelColor: labelColor,
8829
8739
  disabled: disabled,
8830
8740
  error: error,
8831
8741
  onClick: handleLabelClick
8832
- }, /*#__PURE__*/React__default["default"].createElement(Label$4, {
8742
+ }, /*#__PURE__*/React__default["default"].createElement(Label$5, {
8833
8743
  className: "Label",
8834
8744
  isFocused: isFocused,
8835
8745
  labelColor: labelColor,
@@ -8839,7 +8749,7 @@ const DropdownSingleNew = ({
8839
8749
  errorMessage: errorMessage,
8840
8750
  onClick: handleLabelClick,
8841
8751
  showLabelOnTop: showLabelOnTop
8842
- }, getLabel(), getRequired()), /*#__PURE__*/React__default["default"].createElement(StyledInput$6, {
8752
+ }, getLabel(), getRequired()), /*#__PURE__*/React__default["default"].createElement(StyledInput$8, {
8843
8753
  className: "StyledInput",
8844
8754
  ref: inputRef,
8845
8755
  value: selectedOptions && selectedOptions?.length > 0 ? selectedOptions[0].label : inputValue && inputValue?.length > 0 ? inputValue[0].label : "",
@@ -8867,7 +8777,7 @@ const DropdownSingleNew = ({
8867
8777
  width: "12px",
8868
8778
  height: "12px",
8869
8779
  color: "#B1B1B1"
8870
- }))), error && errorMessage?.length > 0 && /*#__PURE__*/React__default["default"].createElement(ErrorMessage$3, null, errorMessage), /*#__PURE__*/React__default["default"].createElement(OptionsContainer$6, {
8780
+ }))), error && errorMessage?.length > 0 && /*#__PURE__*/React__default["default"].createElement(ErrorMessage$4, null, errorMessage), /*#__PURE__*/React__default["default"].createElement(OptionsContainer$7, {
8871
8781
  className: "OptionsContainer",
8872
8782
  onMouseEnter: () => setHoverOptionsContainer(true),
8873
8783
  onMouseLeave: () => setHoverOptionsContainer(false),
@@ -8994,7 +8904,7 @@ const DropdownWrapper$1 = styled__default["default"].div`
8994
8904
  font-size: 14px;
8995
8905
  border-radius: 10px;
8996
8906
  `;
8997
- const Label$3 = styled__default["default"].label`
8907
+ const Label$4 = styled__default["default"].label`
8998
8908
  font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
8999
8909
  font-weight: 400;
9000
8910
  padding-inline-end: 5px;
@@ -9017,7 +8927,7 @@ const Label$3 = styled__default["default"].label`
9017
8927
  cursor: ${props => props.disabled ? 'not-allowed' : 'pointer'};
9018
8928
  }
9019
8929
  `;
9020
- const InputContainer$5 = styled__default["default"].div`
8930
+ const InputContainer$7 = styled__default["default"].div`
9021
8931
  display: flex;
9022
8932
  flex-direction: row;
9023
8933
  flex-wrap: nowrap;
@@ -9048,7 +8958,7 @@ const InputContainer$5 = styled__default["default"].div`
9048
8958
  border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.labelColor || '#212121'};
9049
8959
  }
9050
8960
  `;
9051
- const InputSubContainer$2 = styled__default["default"].div`
8961
+ const InputSubContainer$3 = styled__default["default"].div`
9052
8962
 
9053
8963
  display: flex;
9054
8964
  flex-direction: column;
@@ -9068,7 +8978,7 @@ const InputSubContainer$2 = styled__default["default"].div`
9068
8978
  outline: none;
9069
8979
  color: ${props => props.disabled ? '#888' : '#212121'};
9070
8980
  `;
9071
- const StyledInput$5 = styled__default["default"].input`
8981
+ const StyledInput$7 = styled__default["default"].input`
9072
8982
  width: calc(100% - 20px);
9073
8983
  height: 25px;
9074
8984
  font-family: Poppins;
@@ -9079,7 +8989,7 @@ const StyledInput$5 = styled__default["default"].input`
9079
8989
  color: ${props => props.disabled ? '#888' : '#212121'};
9080
8990
  border: none;
9081
8991
  `;
9082
- const OptionsContainer$5 = styled__default["default"].div`
8992
+ const OptionsContainer$6 = styled__default["default"].div`
9083
8993
  margin: 0;
9084
8994
  top: 100%;
9085
8995
  left: 0;
@@ -9126,7 +9036,7 @@ const OptionItem$2 = styled__default["default"].li`
9126
9036
  background-color: #EDF6FF;
9127
9037
  }
9128
9038
  `;
9129
- const ErrorMessage$2 = styled__default["default"].div`
9039
+ const ErrorMessage$3 = styled__default["default"].div`
9130
9040
  font-size: 12px;
9131
9041
  color: red;
9132
9042
  margin-top: 5px;
@@ -9333,20 +9243,20 @@ const DropdownMultiNew = ({
9333
9243
  width: width,
9334
9244
  onMouseEnter: () => setHoverInputContainer(true),
9335
9245
  onMouseLeave: () => setHoverInputContainer(false)
9336
- }, /*#__PURE__*/React__default["default"].createElement(InputContainer$5, {
9246
+ }, /*#__PURE__*/React__default["default"].createElement(InputContainer$7, {
9337
9247
  className: "InputContainer",
9338
9248
  labelColor: labelColor,
9339
9249
  disabled: disabled,
9340
9250
  error: error,
9341
9251
  isFocused: isFocused
9342
- }, /*#__PURE__*/React__default["default"].createElement(InputSubContainer$2, {
9252
+ }, /*#__PURE__*/React__default["default"].createElement(InputSubContainer$3, {
9343
9253
  className: "InputSubContainer",
9344
9254
  ref: containerRef,
9345
9255
  labelColor: labelColor,
9346
9256
  disabled: disabled,
9347
9257
  error: error,
9348
9258
  onClick: handleLabelClick
9349
- }, /*#__PURE__*/React__default["default"].createElement(Label$3, {
9259
+ }, /*#__PURE__*/React__default["default"].createElement(Label$4, {
9350
9260
  className: "Label",
9351
9261
  isFocused: isFocused,
9352
9262
  labelColor: labelColor,
@@ -9356,7 +9266,7 @@ const DropdownMultiNew = ({
9356
9266
  errorMessage: errorMessage,
9357
9267
  onClick: handleLabelClick,
9358
9268
  showLabelOnTop: showLabelOnTop
9359
- }, getLabel(), getRequired()), displaySelectedOptions(), showOptions ? /*#__PURE__*/React__default["default"].createElement(StyledInput$5, {
9269
+ }, getLabel(), getRequired()), displaySelectedOptions(), showOptions ? /*#__PURE__*/React__default["default"].createElement(StyledInput$7, {
9360
9270
  className: "StyledInput",
9361
9271
  ref: inputRef,
9362
9272
  value: inputValue,
@@ -9386,7 +9296,7 @@ const DropdownMultiNew = ({
9386
9296
  width: "12px",
9387
9297
  height: "12px",
9388
9298
  color: "#B1B1B1"
9389
- }))), error && errorMessage?.length > 0 && /*#__PURE__*/React__default["default"].createElement(ErrorMessage$2, null, errorMessage), /*#__PURE__*/React__default["default"].createElement(OptionsContainer$5, {
9299
+ }))), error && errorMessage?.length > 0 && /*#__PURE__*/React__default["default"].createElement(ErrorMessage$3, null, errorMessage), /*#__PURE__*/React__default["default"].createElement(OptionsContainer$6, {
9390
9300
  className: "OptionsContainer",
9391
9301
  onMouseEnter: () => setHoverOptionsContainer(true),
9392
9302
  onMouseLeave: () => setHoverOptionsContainer(false),
@@ -9473,27 +9383,34 @@ const DropdownMain = styled__default["default"].div`
9473
9383
  `;
9474
9384
 
9475
9385
  /* eslint-disable react/prop-types */
9476
- const DropdownNew = _ref => {
9477
- let {
9478
- isMulti,
9479
- label,
9480
- labelEmptyValue,
9481
- options,
9482
- selectedValue,
9483
- placeHolder,
9484
- onChange,
9485
- required,
9486
- disabled,
9487
- width,
9488
- error,
9489
- errorMessage,
9490
- labelColor,
9491
- checkBoxColor,
9492
- xIconShow,
9493
- showLabelOnTop,
9494
- orderBy,
9495
- elementType
9496
- } = _ref;
9386
+ const DropdownNew = props => {
9387
+ const {
9388
+ isMulti = false,
9389
+ label = "",
9390
+ labelEmptyValue = "",
9391
+ options = [],
9392
+ selectedValue = null,
9393
+ placeHolder = "",
9394
+ onChange = () => {},
9395
+ handleChange = () => {},
9396
+ required = false,
9397
+ disabled = false,
9398
+ width = "300px",
9399
+ error = false,
9400
+ showLabelOnTop = true,
9401
+ orderBy = "",
9402
+ elementType = "dropdown",
9403
+ errorMessage = "",
9404
+ labelColor = "#066768",
9405
+ checkBoxColor = "#229E38",
9406
+ xIconShow = true
9407
+ } = props;
9408
+ const handleOnChange = event => {
9409
+ if (event && event.newValue && event.newValue[0]) {
9410
+ onChange && onChange(event);
9411
+ handleChange && handleChange(event.newValue[0].value);
9412
+ }
9413
+ };
9497
9414
  return /*#__PURE__*/React__default["default"].createElement(DropdownMain, {
9498
9415
  className: "DropdownMain",
9499
9416
  width: width
@@ -9512,7 +9429,7 @@ const DropdownNew = _ref => {
9512
9429
  errorMessage: errorMessage,
9513
9430
  selectedValue: selectedValue,
9514
9431
  xIconShow: xIconShow,
9515
- onChange: onChange,
9432
+ onChange: handleOnChange,
9516
9433
  showLabelOnTop: showLabelOnTop,
9517
9434
  orderBy: orderBy,
9518
9435
  elementType: elementType
@@ -9531,54 +9448,12 @@ const DropdownNew = _ref => {
9531
9448
  errorMessage: errorMessage,
9532
9449
  selectedValue: selectedValue,
9533
9450
  xIconShow: xIconShow,
9534
- onChange: onChange,
9451
+ onChange: handleOnChange,
9535
9452
  showLabelOnTop: showLabelOnTop,
9536
9453
  orderBy: orderBy,
9537
9454
  elementType: elementType
9538
9455
  }));
9539
9456
  };
9540
- DropdownNew.propTypes = {
9541
- placeHolder: PropTypes.string,
9542
- label: PropTypes.string,
9543
- labelEmptyValue: PropTypes.string,
9544
- labelColor: PropTypes.string,
9545
- checkBoxColor: PropTypes.string,
9546
- required: PropTypes.bool,
9547
- width: PropTypes.string,
9548
- disabled: PropTypes.bool,
9549
- error: PropTypes.bool,
9550
- errorMessage: PropTypes.string,
9551
- options: PropTypes.arrayOf(PropTypes.shape({
9552
- id: PropTypes.string,
9553
- label: PropTypes.string
9554
- })),
9555
- selectedValue: PropTypes.arrayOf(PropTypes.shape({
9556
- id: PropTypes.string,
9557
- label: PropTypes.string
9558
- })),
9559
- xIconShow: PropTypes.bool,
9560
- onChange: PropTypes.func,
9561
- showLabelOnTop: PropTypes.bool
9562
- };
9563
- DropdownNew.defaultProps = {
9564
- placeHolder: "Type...",
9565
- label: "Label",
9566
- labelEmptyValue: "All Labels",
9567
- labelColor: "#066768",
9568
- checkBoxColor: "#229E38",
9569
- required: true,
9570
- width: "300px",
9571
- disabled: false,
9572
- error: false,
9573
- errorMessage: "",
9574
- options: [],
9575
- selectedValue: [],
9576
- xIconShow: true,
9577
- onChange: () => {},
9578
- showLabelOnTop: true,
9579
- orderBy: "asc",
9580
- elementType: "number"
9581
- };
9582
9457
 
9583
9458
  const Calendar = () => /*#__PURE__*/React__default["default"].createElement("svg", {
9584
9459
  width: "11",
@@ -9615,7 +9490,7 @@ const RangePickerContainer = styled__default["default"].div`
9615
9490
  width: ${props => props.width || '100%'};
9616
9491
  height: ${props => props.height || '60px'};
9617
9492
  `;
9618
- const CalendarDiv$2 = styled__default["default"].div`
9493
+ const CalendarDiv$3 = styled__default["default"].div`
9619
9494
  position: absolute;
9620
9495
  width: 11px;
9621
9496
  height: 11px;
@@ -9627,7 +9502,7 @@ const CalendarDiv$2 = styled__default["default"].div`
9627
9502
  }
9628
9503
 
9629
9504
  `;
9630
- const InputContainer$4 = styled__default["default"].div`
9505
+ const InputContainer$6 = styled__default["default"].div`
9631
9506
  display: flex;
9632
9507
  flex-direction: row;
9633
9508
  flex-wrap: nowrap;
@@ -9657,7 +9532,7 @@ const InputContainer$4 = styled__default["default"].div`
9657
9532
  border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.borderColorFocus || '#212121'};
9658
9533
  }
9659
9534
  `;
9660
- const StyledInput$4 = styled__default["default"].input`
9535
+ const StyledInput$6 = styled__default["default"].input`
9661
9536
  padding: 20px;
9662
9537
  font-size: 14px;
9663
9538
  border-radius: ${props => props.borderRadius || '4px'};
@@ -9674,7 +9549,7 @@ const StyledInput$4 = styled__default["default"].input`
9674
9549
  color: ${props => props.disabled ? '#888' : (props.isFocused || props.value ? props.textColor : '#757575') || '#333'};
9675
9550
  cursor: ${props => props.disabled ? 'not-allowed' : 'text'};
9676
9551
  `;
9677
- const StyledLabel$2 = styled__default["default"].label`
9552
+ const StyledLabel$3 = styled__default["default"].label`
9678
9553
  font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
9679
9554
  padding-inline-end: 5px;
9680
9555
  padding-inline-start: 5px;
@@ -9694,7 +9569,7 @@ const StyledLabel$2 = styled__default["default"].label`
9694
9569
  box-sizing: border-box;
9695
9570
  cursor: pointer;
9696
9571
  `;
9697
- const RequiredIndicator$2 = styled__default["default"].span`
9572
+ const RequiredIndicator$3 = styled__default["default"].span`
9698
9573
  color: red;
9699
9574
  margin-left: 5px;
9700
9575
  `;
@@ -9703,7 +9578,7 @@ styled__default["default"].div`
9703
9578
  color: red;
9704
9579
  margin-top: 5px;
9705
9580
  `;
9706
- const OptionsContainer$4 = styled__default["default"].div`
9581
+ const OptionsContainer$5 = styled__default["default"].div`
9707
9582
  display: block;
9708
9583
  margin: 0;
9709
9584
  padding-top: 8px;
@@ -10054,7 +9929,7 @@ const RangePicker = _ref => {
10054
9929
  onClick: handleFocus,
10055
9930
  width: width,
10056
9931
  height: height
10057
- }, /*#__PURE__*/React__default["default"].createElement(InputContainer$4, {
9932
+ }, /*#__PURE__*/React__default["default"].createElement(InputContainer$6, {
10058
9933
  className: "InputContainer",
10059
9934
  isFocused: isFocused,
10060
9935
  hasValue: value,
@@ -10064,7 +9939,7 @@ const RangePicker = _ref => {
10064
9939
  borderColorFocus: borderColorFocus,
10065
9940
  onMouseEnter: () => setHoverInputContainer(true),
10066
9941
  onMouseLeave: () => setHoverInputContainer(false)
10067
- }, /*#__PURE__*/React__default["default"].createElement(StyledLabel$2, {
9942
+ }, /*#__PURE__*/React__default["default"].createElement(StyledLabel$3, {
10068
9943
  className: "StyledLabel",
10069
9944
  onClick: handleFocus,
10070
9945
  isFocused: isFocused,
@@ -10073,7 +9948,7 @@ const RangePicker = _ref => {
10073
9948
  textColor: textColor,
10074
9949
  borderColor: borderColor,
10075
9950
  borderColorFocus: borderColorFocus
10076
- }, label, required && /*#__PURE__*/React__default["default"].createElement(RequiredIndicator$2, null, "*")), /*#__PURE__*/React__default["default"].createElement(StyledInput$4, {
9951
+ }, label, required && /*#__PURE__*/React__default["default"].createElement(RequiredIndicator$3, null, "*")), /*#__PURE__*/React__default["default"].createElement(StyledInput$6, {
10077
9952
  className: "StyledInput",
10078
9953
  ref: inputRef,
10079
9954
  value: value,
@@ -10089,14 +9964,14 @@ const RangePicker = _ref => {
10089
9964
  textColor: textColor,
10090
9965
  borderColor: borderColor,
10091
9966
  borderColorFocus: borderColorFocus
10092
- }), /*#__PURE__*/React__default["default"].createElement(CalendarDiv$2, {
9967
+ }), /*#__PURE__*/React__default["default"].createElement(CalendarDiv$3, {
10093
9968
  className: "CalendarDiv",
10094
9969
  onClick: toggleDatePicker
10095
9970
  }, isOpen === true ? /*#__PURE__*/React__default["default"].createElement(CalendarInOpen, {
10096
9971
  className: "CalendarInOpen"
10097
9972
  }) : /*#__PURE__*/React__default["default"].createElement(Calendar, {
10098
9973
  className: "Calendar"
10099
- }))), /*#__PURE__*/React__default["default"].createElement(OptionsContainer$4, {
9974
+ }))), /*#__PURE__*/React__default["default"].createElement(OptionsContainer$5, {
10100
9975
  className: "OptionsContainer",
10101
9976
  onMouseEnter: () => setHoverOptionsContainer(true),
10102
9977
  onMouseLeave: () => setHoverOptionsContainer(false)
@@ -10149,14 +10024,14 @@ const QuarterPickerContainer = styled__default["default"].div`
10149
10024
  width: ${props => props.width || '100%'};
10150
10025
  height: ${props => props.height || '60px'};
10151
10026
  `;
10152
- const CalendarDiv$1 = styled__default["default"].div`
10027
+ const CalendarDiv$2 = styled__default["default"].div`
10153
10028
  position: absolute;
10154
10029
  width: 11px;
10155
10030
  height: 11px;
10156
10031
  top: ${props => parseInt(props.height, 10) / 2 || '20px'};
10157
10032
  right: 25px;
10158
10033
  `;
10159
- const InputContainer$3 = styled__default["default"].div`
10034
+ const InputContainer$5 = styled__default["default"].div`
10160
10035
  display: flex;
10161
10036
  flex-direction: row;
10162
10037
  flex-wrap: nowrap;
@@ -10186,7 +10061,7 @@ const InputContainer$3 = styled__default["default"].div`
10186
10061
  border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.borderColorFocus || '#212121'};
10187
10062
  }
10188
10063
  `;
10189
- const StyledInput$3 = styled__default["default"].input`
10064
+ const StyledInput$5 = styled__default["default"].input`
10190
10065
  padding: 20px;
10191
10066
  font-size: 14px;
10192
10067
  border-radius: ${props => props.borderRadius || '4px'};
@@ -10203,7 +10078,7 @@ const StyledInput$3 = styled__default["default"].input`
10203
10078
  color: ${props => props.disabled ? '#888' : (props.isFocused || props.value ? props.textColor : '#757575') || '#333'};
10204
10079
  cursor: ${props => props.disabled ? 'not-allowed' : 'text'};
10205
10080
  `;
10206
- const StyledLabel$1 = styled__default["default"].label`
10081
+ const StyledLabel$2 = styled__default["default"].label`
10207
10082
  font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
10208
10083
  padding-inline-end: 5px;
10209
10084
  padding-inline-start: 5px;
@@ -10223,7 +10098,7 @@ const StyledLabel$1 = styled__default["default"].label`
10223
10098
  box-sizing: border-box;
10224
10099
  cursor: pointer;
10225
10100
  `;
10226
- const RequiredIndicator$1 = styled__default["default"].span`
10101
+ const RequiredIndicator$2 = styled__default["default"].span`
10227
10102
  color: red;
10228
10103
  margin-left: 5px;
10229
10104
  `;
@@ -10232,7 +10107,7 @@ styled__default["default"].div`
10232
10107
  color: red;
10233
10108
  margin-top: 5px;
10234
10109
  `;
10235
- const OptionsContainer$3 = styled__default["default"].div`
10110
+ const OptionsContainer$4 = styled__default["default"].div`
10236
10111
  display: block;
10237
10112
  margin: 0;
10238
10113
  padding-top: 8px;
@@ -10487,7 +10362,7 @@ const QuarterPicker = _ref => {
10487
10362
  onClick: handleFocus,
10488
10363
  width: width,
10489
10364
  height: height
10490
- }, /*#__PURE__*/React__default["default"].createElement(InputContainer$3, {
10365
+ }, /*#__PURE__*/React__default["default"].createElement(InputContainer$5, {
10491
10366
  className: "InputContainer",
10492
10367
  isFocused: isFocused,
10493
10368
  hasValue: value,
@@ -10497,7 +10372,7 @@ const QuarterPicker = _ref => {
10497
10372
  borderColorFocus: borderColorFocus,
10498
10373
  onMouseEnter: () => setHoverInputContainer(true),
10499
10374
  onMouseLeave: () => setHoverInputContainer(false)
10500
- }, /*#__PURE__*/React__default["default"].createElement(StyledLabel$1, {
10375
+ }, /*#__PURE__*/React__default["default"].createElement(StyledLabel$2, {
10501
10376
  className: "StyledLabel",
10502
10377
  onClick: handleFocus,
10503
10378
  isFocused: isFocused,
@@ -10506,7 +10381,7 @@ const QuarterPicker = _ref => {
10506
10381
  textColor: textColor,
10507
10382
  borderColor: borderColor,
10508
10383
  borderColorFocus: borderColorFocus
10509
- }, label, required && /*#__PURE__*/React__default["default"].createElement(RequiredIndicator$1, null, "*")), /*#__PURE__*/React__default["default"].createElement(StyledInput$3, {
10384
+ }, label, required && /*#__PURE__*/React__default["default"].createElement(RequiredIndicator$2, null, "*")), /*#__PURE__*/React__default["default"].createElement(StyledInput$5, {
10510
10385
  className: "StyledInput",
10511
10386
  ref: inputRef,
10512
10387
  value: value,
@@ -10522,11 +10397,11 @@ const QuarterPicker = _ref => {
10522
10397
  disabled: disabled,
10523
10398
  borderColor: borderColor,
10524
10399
  textColor: textColor
10525
- }), /*#__PURE__*/React__default["default"].createElement(CalendarDiv$1, {
10400
+ }), /*#__PURE__*/React__default["default"].createElement(CalendarDiv$2, {
10526
10401
  className: "CalendarDiv",
10527
10402
  width: width,
10528
10403
  onClick: toggleDatePicker
10529
- }, isOpen === true ? /*#__PURE__*/React__default["default"].createElement(CalendarInOpen, null) : /*#__PURE__*/React__default["default"].createElement(Calendar, null))), /*#__PURE__*/React__default["default"].createElement(OptionsContainer$3, {
10404
+ }, isOpen === true ? /*#__PURE__*/React__default["default"].createElement(CalendarInOpen, null) : /*#__PURE__*/React__default["default"].createElement(Calendar, null))), /*#__PURE__*/React__default["default"].createElement(OptionsContainer$4, {
10530
10405
  className: "OptionsContainer",
10531
10406
  onMouseEnter: () => setHoverOptionsContainer(true),
10532
10407
  onMouseLeave: () => setHoverOptionsContainer(false)
@@ -10575,14 +10450,14 @@ const MonthPickerContainer = styled__default["default"].div`
10575
10450
  width: ${props => props.width || '100%'};
10576
10451
  height: ${props => props.height || '60px'};
10577
10452
  `;
10578
- const CalendarDiv = styled__default["default"].div`
10453
+ const CalendarDiv$1 = styled__default["default"].div`
10579
10454
  position: absolute;
10580
10455
  width: 11px;
10581
10456
  height: 11px;
10582
10457
  top: ${props => parseInt(props.height, 10) / 2 || '20px'};
10583
10458
  right: 25px;
10584
10459
  `;
10585
- const InputContainer$2 = styled__default["default"].div`
10460
+ const InputContainer$4 = styled__default["default"].div`
10586
10461
  display: flex;
10587
10462
  flex-direction: row;
10588
10463
  flex-wrap: nowrap;
@@ -10612,7 +10487,7 @@ const InputContainer$2 = styled__default["default"].div`
10612
10487
  border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.borderColorFocus || '#212121'};
10613
10488
  }
10614
10489
  `;
10615
- const StyledInput$2 = styled__default["default"].input`
10490
+ const StyledInput$4 = styled__default["default"].input`
10616
10491
  padding: 20px;
10617
10492
  font-size: 14px;
10618
10493
  border-radius: ${props => props.borderRadius || '4px'};
@@ -10630,7 +10505,7 @@ const StyledInput$2 = styled__default["default"].input`
10630
10505
  color: ${props => props.disabled ? '#888' : (props.isFocused || props.value ? props.textColor : '#757575') || '#333'};
10631
10506
  cursor: ${props => props.disabled ? 'not-allowed' : 'text'};
10632
10507
  `;
10633
- const StyledLabel = styled__default["default"].label`
10508
+ const StyledLabel$1 = styled__default["default"].label`
10634
10509
  font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
10635
10510
  padding-inline-end: 5px;
10636
10511
  padding-inline-start: 5px;
@@ -10650,7 +10525,7 @@ const StyledLabel = styled__default["default"].label`
10650
10525
  box-sizing: border-box;
10651
10526
  cursor: pointer;
10652
10527
  `;
10653
- const RequiredIndicator = styled__default["default"].span`
10528
+ const RequiredIndicator$1 = styled__default["default"].span`
10654
10529
  color: red;
10655
10530
  margin-left: 5px;
10656
10531
  `;
@@ -10659,7 +10534,7 @@ styled__default["default"].div`
10659
10534
  color: red;
10660
10535
  margin-top: 5px;
10661
10536
  `;
10662
- const OptionsContainer$2 = styled__default["default"].div`
10537
+ const OptionsContainer$3 = styled__default["default"].div`
10663
10538
  display: block;
10664
10539
  margin: 0;
10665
10540
  padding-top: 8px;
@@ -10944,7 +10819,7 @@ const MonthPicker = _ref => {
10944
10819
  onClick: handleFocus,
10945
10820
  width: width,
10946
10821
  height: height
10947
- }, /*#__PURE__*/React__default["default"].createElement(InputContainer$2, {
10822
+ }, /*#__PURE__*/React__default["default"].createElement(InputContainer$4, {
10948
10823
  className: "InputContainer",
10949
10824
  isFocused: isFocused,
10950
10825
  hasValue: value,
@@ -10954,7 +10829,7 @@ const MonthPicker = _ref => {
10954
10829
  borderColorFocus: borderColorFocus,
10955
10830
  onMouseEnter: () => setHoverInputContainer(true),
10956
10831
  onMouseLeave: () => setHoverInputContainer(false)
10957
- }, /*#__PURE__*/React__default["default"].createElement(StyledLabel, {
10832
+ }, /*#__PURE__*/React__default["default"].createElement(StyledLabel$1, {
10958
10833
  className: "StyledLabel",
10959
10834
  onClick: handleFocus,
10960
10835
  isFocused: isFocused,
@@ -10963,7 +10838,7 @@ const MonthPicker = _ref => {
10963
10838
  textColor: textColor,
10964
10839
  borderColor: borderColor,
10965
10840
  borderColorFocus: borderColorFocus
10966
- }, label, required && /*#__PURE__*/React__default["default"].createElement(RequiredIndicator, null, "*")), /*#__PURE__*/React__default["default"].createElement(StyledInput$2, {
10841
+ }, label, required && /*#__PURE__*/React__default["default"].createElement(RequiredIndicator$1, null, "*")), /*#__PURE__*/React__default["default"].createElement(StyledInput$4, {
10967
10842
  className: "StyledInput",
10968
10843
  ref: inputRef,
10969
10844
  value: value,
@@ -10979,11 +10854,11 @@ const MonthPicker = _ref => {
10979
10854
  disabled: disabled,
10980
10855
  borderColor: borderColor,
10981
10856
  textColor: textColor
10982
- }), /*#__PURE__*/React__default["default"].createElement(CalendarDiv, {
10857
+ }), /*#__PURE__*/React__default["default"].createElement(CalendarDiv$1, {
10983
10858
  className: "CalendarDiv",
10984
10859
  width: width,
10985
10860
  onClick: toggleDatePicker
10986
- }, isOpen === true ? /*#__PURE__*/React__default["default"].createElement(CalendarInOpen, null) : /*#__PURE__*/React__default["default"].createElement(Calendar, null))), /*#__PURE__*/React__default["default"].createElement(OptionsContainer$2, {
10861
+ }, isOpen === true ? /*#__PURE__*/React__default["default"].createElement(CalendarInOpen, null) : /*#__PURE__*/React__default["default"].createElement(Calendar, null))), /*#__PURE__*/React__default["default"].createElement(OptionsContainer$3, {
10987
10862
  className: "OptionsContainer",
10988
10863
  onMouseEnter: () => setHoverOptionsContainer(true),
10989
10864
  onMouseLeave: () => setHoverOptionsContainer(false)
@@ -11625,7 +11500,7 @@ const FilterPanel = props => {
11625
11500
  content: getTooltipTextGoButton(),
11626
11501
  direction: "top",
11627
11502
  topFactor: -0.9
11628
- }, /*#__PURE__*/React__default["default"].createElement(Button, {
11503
+ }, /*#__PURE__*/React__default["default"].createElement(Button$1, {
11629
11504
  text: "Go",
11630
11505
  type: "primary",
11631
11506
  size: "medium",
@@ -11653,7 +11528,7 @@ const FilterPanel = props => {
11653
11528
  })
11654
11529
  }));
11655
11530
  } else {
11656
- content = /*#__PURE__*/React__default["default"].createElement(Button, {
11531
+ content = /*#__PURE__*/React__default["default"].createElement(Button$1, {
11657
11532
  text: "Go",
11658
11533
  type: "primary",
11659
11534
  size: "medium",
@@ -11693,7 +11568,7 @@ const FilterPanel = props => {
11693
11568
  ref: AllFieldsContainerRef
11694
11569
  }, displayFields(FieldsDataState)), /*#__PURE__*/React__default["default"].createElement(ButtonsContainer, {
11695
11570
  className: "ButtonsContainer"
11696
- }, displayGoButton(), /*#__PURE__*/React__default["default"].createElement(Button, {
11571
+ }, displayGoButton(), /*#__PURE__*/React__default["default"].createElement(Button$1, {
11697
11572
  text: "Reset",
11698
11573
  size: "medium",
11699
11574
  type: "secondary",
@@ -12031,7 +11906,7 @@ const Loader$1 = styled__default["default"].span`
12031
11906
  animation: ${rotation$1} 1.5s infinite ease;
12032
11907
  transform: translateZ(0);
12033
11908
  `;
12034
- const TableWrapper$1 = styled__default["default"].div`
11909
+ const TableWrapper$2 = styled__default["default"].div`
12035
11910
  position: relative;
12036
11911
  width: ${props => `${props.width}`};
12037
11912
  height: ${props => `${props.height}`};
@@ -12041,7 +11916,7 @@ const TableWrapper$1 = styled__default["default"].div`
12041
11916
  overflow-x: ${props => props.columnsNumber > props.maxColumnsNumber ? 'auto' : 'hidden'};
12042
11917
  ${scrollableStyles$9}
12043
11918
  `;
12044
- const Table$1 = styled__default["default"].table`
11919
+ const Table$2 = styled__default["default"].table`
12045
11920
  font-family: "Poppins", sans-serif;
12046
11921
  width: ${props => `${props.tableWidthSize}%`};
12047
11922
  table-layout: fixed;
@@ -12346,13 +12221,13 @@ const ReportTable = props => {
12346
12221
  return newState;
12347
12222
  });
12348
12223
  };
12349
- return /*#__PURE__*/React__default["default"].createElement(ReportTableWrapper, null, /*#__PURE__*/React__default["default"].createElement(TableWrapper$1, {
12224
+ return /*#__PURE__*/React__default["default"].createElement(ReportTableWrapper, null, /*#__PURE__*/React__default["default"].createElement(TableWrapper$2, {
12350
12225
  width: width,
12351
12226
  height: height,
12352
12227
  className: className,
12353
12228
  maxColumnsNumber: getMaxColnumber(),
12354
12229
  columnsNumber: columnsNumber
12355
- }, /*#__PURE__*/React__default["default"].createElement(Table$1, {
12230
+ }, /*#__PURE__*/React__default["default"].createElement(Table$2, {
12356
12231
  tableWidthSize: tableWidthSize
12357
12232
  }, /*#__PURE__*/React__default["default"].createElement("thead", null, /*#__PURE__*/React__default["default"].createElement(Tr, null, tableData.columnsHeadings.map((headline, index) => /*#__PURE__*/React__default["default"].createElement(Th$1, {
12358
12233
  key: index
@@ -12630,7 +12505,7 @@ EventListItem.defaultProps = {
12630
12505
  onClick: () => {}
12631
12506
  };
12632
12507
 
12633
- const MainContainer$5 = styled__default["default"].div`
12508
+ const MainContainer$6 = styled__default["default"].div`
12634
12509
  /* display: flex; */
12635
12510
  position: relative;
12636
12511
  font-family: "Poppins", sans-serif;
@@ -12693,7 +12568,7 @@ const EventList = props => {
12693
12568
  };
12694
12569
 
12695
12570
  //= ======================================== MAIN RETURN ====================================
12696
- return /*#__PURE__*/React__default["default"].createElement(MainContainer$5, {
12571
+ return /*#__PURE__*/React__default["default"].createElement(MainContainer$6, {
12697
12572
  id: "MainContainer",
12698
12573
  height: height,
12699
12574
  width: width
@@ -12889,7 +12764,7 @@ const CollapseMenuItemContentContainer = styled__default["default"].div`
12889
12764
  font-size: 12px;
12890
12765
  }
12891
12766
  `;
12892
- const MainContainer$4 = styled__default["default"].div`
12767
+ const MainContainer$5 = styled__default["default"].div`
12893
12768
  width: ${props => props.width};
12894
12769
  height: ${props => props.height};
12895
12770
  display: flex;
@@ -12904,7 +12779,7 @@ const DraftTag$1 = styled__default["default"].div`
12904
12779
  height: fit-content;
12905
12780
  `;
12906
12781
 
12907
- const MainContainer$3 = styled__default["default"].div`
12782
+ const MainContainer$4 = styled__default["default"].div`
12908
12783
  width: ${props => props.width};
12909
12784
  height: ${props => props.height};
12910
12785
  font-family: 'Poppins', sans-serif;
@@ -13021,10 +12896,10 @@ const BannerEventBox = props => {
13021
12896
  const onInfoClickHandler = event => {
13022
12897
  onInfoClick(event);
13023
12898
  };
13024
- return /*#__PURE__*/React__default["default"].createElement(MainContainer$3, {
12899
+ return /*#__PURE__*/React__default["default"].createElement(MainContainer$4, {
13025
12900
  height: height,
13026
12901
  width: width
13027
- }, /*#__PURE__*/React__default["default"].createElement(TitleWrapper, null, formatedBanners().icon, "|", /*#__PURE__*/React__default["default"].createElement(CardTitle, null, formatedBanners().name)), /*#__PURE__*/React__default["default"].createElement(Block, null, /*#__PURE__*/React__default["default"].createElement(Headline, null, "Event Description"), /*#__PURE__*/React__default["default"].createElement(Text, null, description)), /*#__PURE__*/React__default["default"].createElement(Block, null, /*#__PURE__*/React__default["default"].createElement(Headline, null, "Event Dates:"), /*#__PURE__*/React__default["default"].createElement(Text, null, dates.join(" - "))), /*#__PURE__*/React__default["default"].createElement(ButtonWrap, null, /*#__PURE__*/React__default["default"].createElement(Button, {
12902
+ }, /*#__PURE__*/React__default["default"].createElement(TitleWrapper, null, formatedBanners().icon, "|", /*#__PURE__*/React__default["default"].createElement(CardTitle, null, formatedBanners().name)), /*#__PURE__*/React__default["default"].createElement(Block, null, /*#__PURE__*/React__default["default"].createElement(Headline, null, "Event Description"), /*#__PURE__*/React__default["default"].createElement(Text, null, description)), /*#__PURE__*/React__default["default"].createElement(Block, null, /*#__PURE__*/React__default["default"].createElement(Headline, null, "Event Dates:"), /*#__PURE__*/React__default["default"].createElement(Text, null, dates.join(" - "))), /*#__PURE__*/React__default["default"].createElement(ButtonWrap, null, /*#__PURE__*/React__default["default"].createElement(Button$1, {
13028
12903
  leftIcon: "Eye",
13029
12904
  onClick: () => onInfoClickHandler(banner),
13030
12905
  text: buttonText,
@@ -13099,7 +12974,7 @@ const BannerEventBoxList = props => {
13099
12974
  color: toggleColor
13100
12975
  }))), IsItemOpen && /*#__PURE__*/React__default["default"].createElement(CollapseMenuItemContentContainer, {
13101
12976
  id: "CollapseMenuItemContentContainer"
13102
- }, cardsContent ? /*#__PURE__*/React__default["default"].createElement(MainContainer$4, {
12977
+ }, cardsContent ? /*#__PURE__*/React__default["default"].createElement(MainContainer$5, {
13103
12978
  width: width,
13104
12979
  height: height
13105
12980
  }, data.map(item => /*#__PURE__*/React__default["default"].createElement(BannerEventBox, {
@@ -13133,7 +13008,7 @@ const scrollableStyles$8 = `
13133
13008
  border-radius: 5px;
13134
13009
  }
13135
13010
  `;
13136
- const ModalWrapper = styled__default["default"].dialog`
13011
+ const ModalWrapper$1 = styled__default["default"].dialog`
13137
13012
  width: 100vw;
13138
13013
  height: 100vh;
13139
13014
  padding: 20px;
@@ -13149,23 +13024,23 @@ const ModalWrapper = styled__default["default"].dialog`
13149
13024
  align-content: center;
13150
13025
  }
13151
13026
  `;
13152
- const Modal = styled__default["default"].div`
13027
+ const Modal$1 = styled__default["default"].div`
13153
13028
  width: 79%;
13154
13029
  max-width: 1500px;
13155
13030
  margin: 0 auto;
13156
13031
  ${scrollableStyles$8}
13157
13032
  `;
13158
- const ModalHeader = styled__default["default"].div`
13033
+ const ModalHeader$1 = styled__default["default"].div`
13159
13034
  display: flex;
13160
13035
  align-items: center;
13161
13036
  justify-content: space-between;
13162
13037
  margin-bottom: 32px;
13163
13038
  `;
13164
- const ModalBody = styled__default["default"].div`
13039
+ const ModalBody$1 = styled__default["default"].div`
13165
13040
  ${scrollableStyles$8}
13166
13041
  max-height: 80vh;
13167
13042
  `;
13168
- const ModalTitle = styled__default["default"].h5`
13043
+ const ModalTitle$1 = styled__default["default"].h5`
13169
13044
  font-family: 'Poppins', sans-serif;
13170
13045
  font-size: 32px;
13171
13046
  font-weight: 500;
@@ -13195,14 +13070,14 @@ const DialogOverlay = props => {
13195
13070
  modal.close();
13196
13071
  onDialogClose();
13197
13072
  };
13198
- return /*#__PURE__*/React.createElement(ModalWrapper, {
13073
+ return /*#__PURE__*/React.createElement(ModalWrapper$1, {
13199
13074
  className: className
13200
- }, /*#__PURE__*/React.createElement(Modal, null, /*#__PURE__*/React.createElement(ModalHeader, null, /*#__PURE__*/React.createElement(ModalTitle, null, title), /*#__PURE__*/React.createElement(ModalClose, {
13075
+ }, /*#__PURE__*/React.createElement(Modal$1, null, /*#__PURE__*/React.createElement(ModalHeader$1, null, /*#__PURE__*/React.createElement(ModalTitle$1, null, title), /*#__PURE__*/React.createElement(ModalClose, {
13201
13076
  type: "button",
13202
13077
  onClick: closeModal
13203
13078
  }, /*#__PURE__*/React.createElement(CloseXIcon, {
13204
13079
  fill: "white"
13205
- }))), /*#__PURE__*/React.createElement(ModalBody, {
13080
+ }))), /*#__PURE__*/React.createElement(ModalBody$1, {
13206
13081
  id: "modalBody"
13207
13082
  }, children)));
13208
13083
  };
@@ -23417,7 +23292,7 @@ const TheGiantCompanyIcon = _ref => {
23417
23292
  })));
23418
23293
  };
23419
23294
 
23420
- const MainContainer$2 = styled__default["default"].div`
23295
+ const MainContainer$3 = styled__default["default"].div`
23421
23296
  display: flex;
23422
23297
  position: relative;
23423
23298
  font-family: "Poppins", sans-serif;
@@ -23710,7 +23585,7 @@ const CollapseHeader = props => {
23710
23585
  } = viewCreativeContainerRef.current;
23711
23586
  return (offsetTop + 33).toString().concat("", "px");
23712
23587
  };
23713
- return /*#__PURE__*/React__default["default"].createElement(MainContainer$2, {
23588
+ return /*#__PURE__*/React__default["default"].createElement(MainContainer$3, {
23714
23589
  id: "CollapseHeader",
23715
23590
  className: className,
23716
23591
  height: height,
@@ -23724,7 +23599,7 @@ const CollapseHeader = props => {
23724
23599
  id: "EventNameViewCreativeSubContainer"
23725
23600
  }, /*#__PURE__*/React__default["default"].createElement(ViewCreativeButtonAndListBoxContainer, {
23726
23601
  id: "ViewCreativeButtonAndListBoxContainer"
23727
- }, showViewCreativeButton && /*#__PURE__*/React__default["default"].createElement(Button, {
23602
+ }, showViewCreativeButton && /*#__PURE__*/React__default["default"].createElement(Button$1, {
23728
23603
  leftIcon: "Eye",
23729
23604
  onClick: viewCreativeOnClickHandler,
23730
23605
  text: buttonText,
@@ -23878,13 +23753,13 @@ const QuickFilterInput = styled__default["default"].div`
23878
23753
  font-size: 14px;
23879
23754
  border-radius: 8px;
23880
23755
  `;
23881
- const Label$2 = styled__default["default"].label`
23756
+ const Label$3 = styled__default["default"].label`
23882
23757
  font-size: 14px;
23883
23758
  font-weight: 500;
23884
23759
  color: ${props => props.disabled ? '#D0D0D0' : '212121'};
23885
23760
  white-space: nowrap;
23886
23761
  `;
23887
- const InputContainer$1 = styled__default["default"].div`
23762
+ const InputContainer$3 = styled__default["default"].div`
23888
23763
  display: flex;
23889
23764
  justify-content: space-between;
23890
23765
  align-content: center;
@@ -23914,12 +23789,12 @@ const InputContainer$1 = styled__default["default"].div`
23914
23789
  ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.labelColor || '#212121'};
23915
23790
  }
23916
23791
  `;
23917
- const InputSubContainer$1 = styled__default["default"].div`
23792
+ const InputSubContainer$2 = styled__default["default"].div`
23918
23793
  display: flex;
23919
23794
  color: ${props => props.disabled ? '#888' : '#212121'};
23920
23795
  gap: 8px;
23921
23796
  `;
23922
- const StyledInput$1 = styled__default["default"].input`
23797
+ const StyledInput$3 = styled__default["default"].input`
23923
23798
  width: 100%;
23924
23799
  height: 20px;
23925
23800
  font-family: "Poppins";
@@ -23933,7 +23808,7 @@ const StyledInput$1 = styled__default["default"].input`
23933
23808
  color: ${props => props.disabled ? '#D0D0D0' : '#b1b1b1'};
23934
23809
  }
23935
23810
  `;
23936
- const OptionsContainer$1 = styled__default["default"].div`
23811
+ const OptionsContainer$2 = styled__default["default"].div`
23937
23812
  margin: 0;
23938
23813
  top: 100%;
23939
23814
  left: 0;
@@ -23974,7 +23849,7 @@ const OptionItem$1 = styled__default["default"].li`
23974
23849
  color: #229e38;
23975
23850
  }
23976
23851
  `;
23977
- const ErrorMessage$1 = styled__default["default"].div`
23852
+ const ErrorMessage$2 = styled__default["default"].div`
23978
23853
  font-size: 12px;
23979
23854
  color: red;
23980
23855
  margin-top: 5px;
@@ -24112,21 +23987,21 @@ const QuickFilterDropdownSingle = _ref => {
24112
23987
  width: width,
24113
23988
  onMouseEnter: () => setHoverInputContainer(true),
24114
23989
  onMouseLeave: () => setHoverInputContainer(false)
24115
- }, /*#__PURE__*/React__default["default"].createElement(InputContainer$1, {
23990
+ }, /*#__PURE__*/React__default["default"].createElement(InputContainer$3, {
24116
23991
  className: "InputContainer",
24117
23992
  labelColor: labelColor,
24118
23993
  hoverColor: hoverColor,
24119
23994
  disabled: disabled,
24120
23995
  error: error,
24121
23996
  isFocused: isFocused
24122
- }, /*#__PURE__*/React__default["default"].createElement(InputSubContainer$1, {
23997
+ }, /*#__PURE__*/React__default["default"].createElement(InputSubContainer$2, {
24123
23998
  className: "InputSubContainer",
24124
23999
  ref: containerRef,
24125
24000
  labelColor: labelColor,
24126
24001
  disabled: disabled,
24127
24002
  error: error,
24128
24003
  onClick: handleLabelClick
24129
- }, /*#__PURE__*/React__default["default"].createElement(Label$2, {
24004
+ }, /*#__PURE__*/React__default["default"].createElement(Label$3, {
24130
24005
  className: "Label",
24131
24006
  isFocused: isFocused,
24132
24007
  labelColor: labelColor,
@@ -24136,7 +24011,7 @@ const QuickFilterDropdownSingle = _ref => {
24136
24011
  errorMessage: errorMessage,
24137
24012
  onClick: handleLabelClick,
24138
24013
  showLabelOnTop: showLabelOnTop
24139
- }, label), /*#__PURE__*/React__default["default"].createElement(StyledInput$1, {
24014
+ }, label), /*#__PURE__*/React__default["default"].createElement(StyledInput$3, {
24140
24015
  className: "StyledInput",
24141
24016
  ref: inputRef,
24142
24017
  value: selectedOptions && selectedOptions?.length > 0 ? selectedOptions[0].label : inputValue && inputValue?.length > 0 ? inputValue[0].label : "",
@@ -24164,7 +24039,7 @@ const QuickFilterDropdownSingle = _ref => {
24164
24039
  width: "12px",
24165
24040
  height: "12px",
24166
24041
  color: "#B1B1B1"
24167
- }))), error && errorMessage?.length > 0 && /*#__PURE__*/React__default["default"].createElement(ErrorMessage$1, null, errorMessage), /*#__PURE__*/React__default["default"].createElement(OptionsContainer$1, {
24042
+ }))), error && errorMessage?.length > 0 && /*#__PURE__*/React__default["default"].createElement(ErrorMessage$2, null, errorMessage), /*#__PURE__*/React__default["default"].createElement(OptionsContainer$2, {
24168
24043
  className: "OptionsContainer",
24169
24044
  onMouseEnter: () => setHoverOptionsContainer(true),
24170
24045
  onMouseLeave: () => setHoverOptionsContainer(false),
@@ -24233,7 +24108,7 @@ const DropdownWrapper = styled__default["default"].div`
24233
24108
  font-size: 14px;
24234
24109
  border-radius: 10px;
24235
24110
  `;
24236
- const Label$1 = styled__default["default"].label`
24111
+ const Label$2 = styled__default["default"].label`
24237
24112
  font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
24238
24113
  font-weight: 400;
24239
24114
  padding-inline-end: 5px;
@@ -24256,7 +24131,7 @@ const Label$1 = styled__default["default"].label`
24256
24131
  cursor: ${props => props.disabled ? 'not-allowed' : 'pointer'};
24257
24132
  }
24258
24133
  `;
24259
- const InputContainer = styled__default["default"].div`
24134
+ const InputContainer$2 = styled__default["default"].div`
24260
24135
  display: flex;
24261
24136
  flex-direction: row;
24262
24137
  flex-wrap: nowrap;
@@ -24287,7 +24162,7 @@ const InputContainer = styled__default["default"].div`
24287
24162
  border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.labelColor || '#212121'};
24288
24163
  }
24289
24164
  `;
24290
- const InputSubContainer = styled__default["default"].div`
24165
+ const InputSubContainer$1 = styled__default["default"].div`
24291
24166
  display: flex;
24292
24167
  flex-direction: column;
24293
24168
  flex-wrap: nowrap;
@@ -24306,7 +24181,7 @@ const InputSubContainer = styled__default["default"].div`
24306
24181
  outline: none;
24307
24182
  color: ${props => props.disabled ? '#888' : '#212121'};
24308
24183
  `;
24309
- const StyledInput = styled__default["default"].input`
24184
+ const StyledInput$2 = styled__default["default"].input`
24310
24185
  width: calc(100% - 20px);
24311
24186
  height: 25px;
24312
24187
  font-family: Poppins;
@@ -24317,7 +24192,7 @@ const StyledInput = styled__default["default"].input`
24317
24192
  color: ${props => props.disabled ? '#888' : '#212121'};
24318
24193
  border: none;
24319
24194
  `;
24320
- const OptionsContainer = styled__default["default"].div`
24195
+ const OptionsContainer$1 = styled__default["default"].div`
24321
24196
  margin: 0;
24322
24197
  top: 100%;
24323
24198
  left: 0;
@@ -24360,7 +24235,7 @@ const OptionItem = styled__default["default"].li`
24360
24235
  background-color: #EDF6FF;
24361
24236
  }
24362
24237
  `;
24363
- const ErrorMessage = styled__default["default"].div`
24238
+ const ErrorMessage$1 = styled__default["default"].div`
24364
24239
  font-size: 12px;
24365
24240
  color: red;
24366
24241
  margin-top: 5px;
@@ -24578,20 +24453,20 @@ const QuickFilterDropdownMultiSelection = _ref => {
24578
24453
  width: width,
24579
24454
  onMouseEnter: () => setHoverInputContainer(true),
24580
24455
  onMouseLeave: () => setHoverInputContainer(false)
24581
- }, /*#__PURE__*/React__default["default"].createElement(InputContainer, {
24456
+ }, /*#__PURE__*/React__default["default"].createElement(InputContainer$2, {
24582
24457
  className: "InputContainer",
24583
24458
  labelColor: labelColor,
24584
24459
  disabled: disabled,
24585
24460
  error: error,
24586
24461
  isFocused: isFocused
24587
- }, /*#__PURE__*/React__default["default"].createElement(InputSubContainer, {
24462
+ }, /*#__PURE__*/React__default["default"].createElement(InputSubContainer$1, {
24588
24463
  className: "InputSubContainer",
24589
24464
  ref: containerRef,
24590
24465
  labelColor: labelColor,
24591
24466
  disabled: disabled,
24592
24467
  error: error,
24593
24468
  onClick: handleLabelClick
24594
- }, /*#__PURE__*/React__default["default"].createElement(Label$1, {
24469
+ }, /*#__PURE__*/React__default["default"].createElement(Label$2, {
24595
24470
  className: "Label",
24596
24471
  isFocused: isFocused,
24597
24472
  labelColor: labelColor,
@@ -24601,7 +24476,7 @@ const QuickFilterDropdownMultiSelection = _ref => {
24601
24476
  errorMessage: errorMessage,
24602
24477
  onClick: handleLabelClick,
24603
24478
  showLabelOnTop: showLabelOnTop
24604
- }, getLabel(), getRequired()), displaySelectedOptions(), showOptions ? /*#__PURE__*/React__default["default"].createElement(StyledInput, {
24479
+ }, getLabel(), getRequired()), displaySelectedOptions(), showOptions ? /*#__PURE__*/React__default["default"].createElement(StyledInput$2, {
24605
24480
  className: "StyledInput",
24606
24481
  ref: inputRef,
24607
24482
  value: inputValue,
@@ -24631,7 +24506,7 @@ const QuickFilterDropdownMultiSelection = _ref => {
24631
24506
  width: "12px",
24632
24507
  height: "12px",
24633
24508
  color: "#B1B1B1"
24634
- }))), error && errorMessage?.length > 0 && /*#__PURE__*/React__default["default"].createElement(ErrorMessage, null, errorMessage), /*#__PURE__*/React__default["default"].createElement(OptionsContainer, {
24509
+ }))), error && errorMessage?.length > 0 && /*#__PURE__*/React__default["default"].createElement(ErrorMessage$1, null, errorMessage), /*#__PURE__*/React__default["default"].createElement(OptionsContainer$1, {
24635
24510
  className: "OptionsContainer",
24636
24511
  onMouseEnter: () => setHoverOptionsContainer(true),
24637
24512
  onMouseLeave: () => setHoverOptionsContainer(false),
@@ -26786,7 +26661,7 @@ const scrollableStyles$5 = `
26786
26661
  border-radius: 5px;
26787
26662
  }
26788
26663
  `;
26789
- const MainContainer$1 = styled__default["default"].div`
26664
+ const MainContainer$2 = styled__default["default"].div`
26790
26665
  display: flex;
26791
26666
  flex-direction: row;
26792
26667
  position: relative;
@@ -27054,7 +26929,7 @@ const MarketShareDescription = props => {
27054
26929
  })) : '')));
27055
26930
  return content;
27056
26931
  };
27057
- return /*#__PURE__*/React__default["default"].createElement(MainContainer$1, {
26932
+ return /*#__PURE__*/React__default["default"].createElement(MainContainer$2, {
27058
26933
  className: "MainContainer",
27059
26934
  height: height,
27060
26935
  width: width
@@ -27294,7 +27169,7 @@ const scrollableStyles$4 = `
27294
27169
  border-radius: 5px;
27295
27170
  }
27296
27171
  `;
27297
- const MainContainer = styled__default["default"].div``;
27172
+ const MainContainer$1 = styled__default["default"].div``;
27298
27173
  const ModalOverlay = styled__default["default"].div`
27299
27174
  position: fixed;
27300
27175
  z-index: 100;
@@ -27535,7 +27410,7 @@ const PopupCharts = props => {
27535
27410
  }, item.title)), /*#__PURE__*/React__default["default"].createElement(ChartContentContainer, {
27536
27411
  id: "ChartContentContainer"
27537
27412
  }, displayChart(item)));
27538
- return /*#__PURE__*/React__default["default"].createElement(MainContainer, {
27413
+ return /*#__PURE__*/React__default["default"].createElement(MainContainer$1, {
27539
27414
  id: "MainContainer"
27540
27415
  }, IsPopupChartsOpen && /*#__PURE__*/React__default["default"].createElement(ModalOverlay, {
27541
27416
  id: "ModalOverlay",
@@ -28812,7 +28687,7 @@ const DoubleBarSingleLine = props => {
28812
28687
  width,
28813
28688
  height,
28814
28689
  title,
28815
- hasScroll,
28690
+ //hasScroll,
28816
28691
  dataState,
28817
28692
  data,
28818
28693
  lineType,
@@ -29015,21 +28890,32 @@ const DoubleBarSingleLine = props => {
29015
28890
  }));
29016
28891
  };
29017
28892
  const transformedData = transformDataForLineChart(data);
28893
+
28894
+ // Calculate responsive width based on container size and zoom
28895
+ const itemWidth = 178; // Base item width at 100% zoom
28896
+ const itemsCanFit = Math.floor(containerWidth / itemWidth);
28897
+ const needsScroll = data.length > itemsCanFit;
28898
+ const dynamicWidth = needsScroll ? `${data.length * itemWidth}px` : '100%';
29018
28899
  return /*#__PURE__*/React__default["default"].createElement(DoubleBarSingleLineContainer, {
29019
28900
  ref: containerRef,
29020
28901
  className: className,
29021
28902
  height: height,
29022
28903
  width: width,
29023
- hasScroll: hasScroll
28904
+ hasScroll: needsScroll
29024
28905
  }, data.length === 0 ? /*#__PURE__*/React__default["default"].createElement(NoDataFoundMessage, {
29025
28906
  noDataText: noDataText
29026
28907
  }) : /*#__PURE__*/React__default["default"].createElement(Controls$6, {
29027
28908
  className: "Controls"
29028
28909
  }, title && title.trim() !== '' && /*#__PURE__*/React__default["default"].createElement(Title$8, null, title), /*#__PURE__*/React__default["default"].createElement(ChartsWrapper, {
29029
- width: hasScroll ? `${data.length * 178}px` : 'auto'
29030
- }, /*#__PURE__*/React__default["default"].createElement(LineChartWrapper, null, /*#__PURE__*/React__default["default"].createElement(recharts.ResponsiveContainer, null, /*#__PURE__*/React__default["default"].createElement(recharts.LineChart, _extends({
28910
+ width: dynamicWidth //{hasScroll ? `${data.length * 178}px` : 'auto'}
28911
+ }, /*#__PURE__*/React__default["default"].createElement(LineChartWrapper, null, /*#__PURE__*/React__default["default"].createElement(recharts.ResponsiveContainer, null, /*#__PURE__*/React__default["default"].createElement(recharts.LineChart, _extends$1({
29031
28912
  data: transformedData
29032
- }, syncCharts), /*#__PURE__*/React__default["default"].createElement(recharts.XAxis, {
28913
+ }, syncCharts, {
28914
+ margin: {
28915
+ ...syncCharts.margin,
28916
+ top: 20
28917
+ }
28918
+ }), /*#__PURE__*/React__default["default"].createElement(recharts.XAxis, {
29033
28919
  dataKey: "label",
29034
28920
  tick: false,
29035
28921
  axisLine: false,
@@ -29061,7 +28947,7 @@ const DoubleBarSingleLine = props => {
29061
28947
  }, /*#__PURE__*/React__default["default"].createElement(recharts.LabelList, {
29062
28948
  content: CustomLabelLine,
29063
28949
  position: "top"
29064
- })))))), /*#__PURE__*/React__default["default"].createElement(BarChartWrapper, null, /*#__PURE__*/React__default["default"].createElement(recharts.ResponsiveContainer, null, /*#__PURE__*/React__default["default"].createElement(recharts.BarChart, _extends({
28950
+ })))))), /*#__PURE__*/React__default["default"].createElement(BarChartWrapper, null, /*#__PURE__*/React__default["default"].createElement(recharts.ResponsiveContainer, null, /*#__PURE__*/React__default["default"].createElement(recharts.BarChart, _extends$1({
29065
28951
  data: data,
29066
28952
  barGap: 13,
29067
28953
  barCategoryGap: data.length >= limitViewableItems ? 178 : 50,
@@ -29176,7 +29062,7 @@ const Controls$5 = styled__default["default"].div`
29176
29062
  display: flex;
29177
29063
  align-items: center;
29178
29064
  `;
29179
- const Label = styled__default["default"].div`
29065
+ const Label$1 = styled__default["default"].div`
29180
29066
  display: flex;
29181
29067
  padding: 0 10px 0 10px;
29182
29068
  white-space: nowrap;
@@ -29256,7 +29142,7 @@ const CheckBox = props => {
29256
29142
  width: iconSize,
29257
29143
  height: iconSize,
29258
29144
  color: disabled ? colorDisabled : colorUnchecked
29259
- })), /*#__PURE__*/React__default["default"].createElement(Label, {
29145
+ })), /*#__PURE__*/React__default["default"].createElement(Label$1, {
29260
29146
  className: "Label",
29261
29147
  "data-testid": "label"
29262
29148
  }, label)));
@@ -33580,7 +33466,7 @@ const TitleDiv = styled__default["default"].div`
33580
33466
  font-size: 10px;
33581
33467
  }
33582
33468
  `;
33583
- const TableWrapper = styled__default["default"].div`
33469
+ const TableWrapper$1 = styled__default["default"].div`
33584
33470
  overflow-x: auto;
33585
33471
  margin-bottom: 22px;
33586
33472
  &::-webkit-scrollbar {
@@ -33597,7 +33483,7 @@ const TableWrapper = styled__default["default"].div`
33597
33483
  border-radius: 5px;
33598
33484
  }
33599
33485
  `;
33600
- const Table = styled__default["default"].table`
33486
+ const Table$1 = styled__default["default"].table`
33601
33487
  width: 100%;
33602
33488
  border-collapse: collapse;
33603
33489
  overflow: auto;
@@ -33827,7 +33713,7 @@ const CollapseData = props => {
33827
33713
  }) : /*#__PURE__*/React__default["default"].createElement(ArrowDownIcon, {
33828
33714
  width: "11px",
33829
33715
  height: "12px"
33830
- })), /*#__PURE__*/React__default["default"].createElement(TitleDiv, null, `${parseFloat(section.value.toFixed(1))}${section.valueType}`))), activeIndex === section.key && /*#__PURE__*/React__default["default"].createElement(TableWrapper, null, /*#__PURE__*/React__default["default"].createElement(Table, null, /*#__PURE__*/React__default["default"].createElement("thead", null, /*#__PURE__*/React__default["default"].createElement("tr", null, section.table.map((headline, i) => /*#__PURE__*/React__default["default"].createElement(Th, {
33716
+ })), /*#__PURE__*/React__default["default"].createElement(TitleDiv, null, `${parseFloat(section.value.toFixed(1))}${section.valueType}`))), activeIndex === section.key && /*#__PURE__*/React__default["default"].createElement(TableWrapper$1, null, /*#__PURE__*/React__default["default"].createElement(Table$1, null, /*#__PURE__*/React__default["default"].createElement("thead", null, /*#__PURE__*/React__default["default"].createElement("tr", null, section.table.map((headline, i) => /*#__PURE__*/React__default["default"].createElement(Th, {
33831
33717
  key: `${i + headline}`
33832
33718
  }, headline.title)))), /*#__PURE__*/React__default["default"].createElement("tbody", null, /*#__PURE__*/React__default["default"].createElement("tr", null, section.table.map((data, i) => {
33833
33719
  if (data.value !== null) {
@@ -33895,7 +33781,7 @@ const ModalContent = styled__default["default"].div`
33895
33781
  padding: 1rem 0 3rem;
33896
33782
  }
33897
33783
  `;
33898
- const Header = styled__default["default"].div`
33784
+ const Header$1 = styled__default["default"].div`
33899
33785
  position: relative;
33900
33786
  display: flex;
33901
33787
  justify-content: space-between;
@@ -34105,7 +33991,7 @@ const InsightsCarousel = _ref => {
34105
33991
  const nextIndex = (currentIndex + 1) % totalChildren;
34106
33992
  return /*#__PURE__*/React__default["default"].createElement(Overlay, {
34107
33993
  className: className
34108
- }, /*#__PURE__*/React__default["default"].createElement(ModalContent, null, /*#__PURE__*/React__default["default"].createElement(Header, null, /*#__PURE__*/React__default["default"].createElement(Title, {
33994
+ }, /*#__PURE__*/React__default["default"].createElement(ModalContent, null, /*#__PURE__*/React__default["default"].createElement(Header$1, null, /*#__PURE__*/React__default["default"].createElement(Title, {
34109
33995
  $titleColor: titleColor
34110
33996
  }, /*#__PURE__*/React__default["default"].cloneElement(icon, {
34111
33997
  fill: iconColor
@@ -34403,6 +34289,1374 @@ DownloadProgress.defaultProps = {
34403
34289
  className: 'DownloadProgressMainContainer'
34404
34290
  };
34405
34291
 
34292
+ const ModalWrapper = styled__default["default"].div`
34293
+ font-family: "Poppins", sans-serif;
34294
+ position: fixed;
34295
+ top: 0;
34296
+ left: 0;
34297
+ width: 100%;
34298
+ height: 100%;
34299
+ background-color: rgba(0, 0, 0, 0.5);
34300
+ display: flex;
34301
+ justify-content: center;
34302
+ align-items: center;
34303
+ `;
34304
+ const Modal = styled__default["default"].div`
34305
+ display: flex;
34306
+ gap: 30px;
34307
+ padding: 20px;
34308
+ flex-direction: column;
34309
+ background-color: white;
34310
+ border-radius: 12px;
34311
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
34312
+ `;
34313
+ const ModalHeader = styled__default["default"].div`
34314
+ display: flex;
34315
+ justify-content: space-between;
34316
+ `;
34317
+ const ModalButtons = styled__default["default"].div`
34318
+ display: flex;
34319
+ gap: 10px;
34320
+ `;
34321
+ const ModalTitle = styled__default["default"].h3`
34322
+ margin: 0;
34323
+ font-size: 24px;
34324
+ `;
34325
+ const ModalBody = styled__default["default"].div`
34326
+ flex-grow: 1;
34327
+ `;
34328
+ styled__default["default"].div`
34329
+ display: flex;
34330
+ justify-content: flex-end;
34331
+ padding: 20px;
34332
+ border-top: 1px solid #ddd;
34333
+ `;
34334
+
34335
+ const ModalWithOverlay = props => {
34336
+ const {
34337
+ title = '',
34338
+ children = null,
34339
+ onOk = () => {},
34340
+ onCancel = () => {},
34341
+ cancelButtonText = 'Cancel',
34342
+ cancelButtonLeftIcon = '',
34343
+ cancelButtonRightIcon = '',
34344
+ cancelButtonType = 'secondary',
34345
+ okButtonText = 'OK',
34346
+ okButtonLeftIcon = '',
34347
+ okButtonRightIcon = '',
34348
+ okButtonType = 'primary',
34349
+ width = '400px',
34350
+ height = 'auto',
34351
+ overlayTransparent = false,
34352
+ overlayOpacity = 0.797,
34353
+ showCancelButton = true,
34354
+ // Added this prop
34355
+ showOkButton = true // Added this prop
34356
+ } = props;
34357
+ const overlayStyle = {
34358
+ backgroundColor: overlayTransparent ? "transparent" : `rgba(0, 0, 0, ${overlayOpacity || 0.797})`
34359
+ };
34360
+ return /*#__PURE__*/React__default["default"].createElement(ModalWrapper, {
34361
+ className: "modal-wrapper",
34362
+ style: overlayStyle
34363
+ }, /*#__PURE__*/React__default["default"].createElement(Modal, {
34364
+ style: {
34365
+ width,
34366
+ height
34367
+ }
34368
+ }, /*#__PURE__*/React__default["default"].createElement(ModalHeader, {
34369
+ className: "modal-header"
34370
+ }, /*#__PURE__*/React__default["default"].createElement(ModalTitle, null, title), /*#__PURE__*/React__default["default"].createElement(ModalButtons, {
34371
+ className: "modal-buttons"
34372
+ }, showCancelButton && /*#__PURE__*/React__default["default"].createElement(Button$1, {
34373
+ type: cancelButtonType,
34374
+ leftIcon: cancelButtonLeftIcon,
34375
+ rightIcon: cancelButtonRightIcon,
34376
+ text: cancelButtonText,
34377
+ onClick: onCancel
34378
+ }), showOkButton && /*#__PURE__*/React__default["default"].createElement(Button$1, {
34379
+ type: okButtonType,
34380
+ leftIcon: okButtonLeftIcon,
34381
+ rightIcon: okButtonRightIcon,
34382
+ text: okButtonText,
34383
+ onClick: onOk
34384
+ }))), /*#__PURE__*/React__default["default"].createElement(ModalBody, {
34385
+ className: "modal-body"
34386
+ }, children)));
34387
+ };
34388
+
34389
+ /* ──────────────────────────────────────────
34390
+ COLORS – map to your design-system tokens
34391
+ Change only here if the palette shifts
34392
+ ─────────────────────────────────────────── */
34393
+ const c = {
34394
+ surface: "#ffffff",
34395
+ text: "#212121",
34396
+ textSecondary: "#8d9299",
34397
+ primary: "#016672",
34398
+ // apply / highlight
34399
+ primaryLight: "#d1e7ea",
34400
+ border: "#e0e0e0"
34401
+ };
34402
+
34403
+ /* ───────────────────────── wrapper */
34404
+ const CalendarWrapper = styled__default["default"].div`
34405
+ width: 240px;
34406
+ padding: 16px 16px 12px;
34407
+ background: ${c.surface};
34408
+ border-radius: 8px;
34409
+ box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
34410
+ user-select: none;
34411
+ `;
34412
+
34413
+ /* ───────────────────────── header */
34414
+ const Header = styled__default["default"].h4`
34415
+ margin: 0 0 12px;
34416
+ color: ${c.text};
34417
+
34418
+ /* Content/P3 Regular */
34419
+ font-family: Poppins;
34420
+ font-size: 12px;
34421
+ font-style: normal;
34422
+ font-weight: 400;
34423
+ line-height: normal;
34424
+ `;
34425
+
34426
+ /* ───────────────────────── grid */
34427
+ const Grid = styled__default["default"].div`
34428
+ display: grid;
34429
+ grid-template-columns: repeat(${({
34430
+ columns
34431
+ }) => columns}, 1fr);
34432
+ gap: 6px 0px;
34433
+ margin-bottom: 16px;
34434
+ `;
34435
+
34436
+ /* individual week cell */
34437
+ const WeekCell = styled__default["default"].div`
34438
+ padding: 6px 0;
34439
+ font-size: 13px;
34440
+ padding-top: 10px;
34441
+ padding-bottom: 10px;
34442
+ text-align: center;
34443
+ cursor: pointer;
34444
+ color: ${c.textSecondary};
34445
+ transition: background 0.15s ease;
34446
+ border-radius: 4px;
34447
+
34448
+ ${({
34449
+ $selected
34450
+ }) => $selected && styled.css`
34451
+
34452
+ background: ${c.primary};
34453
+ color: #FFFFFF;
34454
+ `}
34455
+
34456
+ /* highlight range interior lighter */
34457
+ ${({
34458
+ $isRangeMiddle
34459
+ }) => $isRangeMiddle && styled.css`
34460
+ background: ${c.primaryLight};
34461
+ border-radius: 0px;
34462
+ color: ${c.text};
34463
+ `}
34464
+
34465
+ &:hover {
34466
+ background: ${c.primaryLight};
34467
+ color: ${c.text};
34468
+ }
34469
+ text-align: center;
34470
+ font-feature-settings: "liga" off;
34471
+
34472
+ /* Content/P3 Regular */
34473
+ font-family: Poppins;
34474
+ font-size: 12px;
34475
+ font-style: normal;
34476
+ font-weight: 400;
34477
+ line-height: normal;
34478
+ `;
34479
+
34480
+ /* ───────────────────────── footer buttons */
34481
+ const Footer = styled__default["default"].div`
34482
+ display: flex;
34483
+ justify-content: space-between;
34484
+ gap: 8px;
34485
+ `;
34486
+ styled.css`
34487
+ flex: 1 1 0;
34488
+ height: 32px;
34489
+ font-weight: 600;
34490
+ font-size: 12px;
34491
+ line-height: 32px;
34492
+ text-align: center;
34493
+ border-radius: 6px;
34494
+ border: 1px solid transparent;
34495
+ cursor: pointer;
34496
+ transition:
34497
+ opacity 0.15s ease,
34498
+ background 0.15s ease;
34499
+ &:disabled {
34500
+ opacity: 0.4;
34501
+ cursor: default;
34502
+ }
34503
+ `;
34504
+
34505
+ /**
34506
+ * WeeksCalendar
34507
+ * -------------
34508
+ * Props
34509
+ * • year – four-digit year (required)
34510
+ * • defaultStartWeek – number | null
34511
+ * • defaultEndWeek – number | null
34512
+ * • onApply(start,end) – callback, both numbers (inclusive)
34513
+ * • onCancel() – callback
34514
+ */
34515
+ const WeeksCalendar = ({
34516
+ year,
34517
+ defaultStartWeek = null,
34518
+ defaultEndWeek = null,
34519
+ onApply,
34520
+ onCancel
34521
+ }) => {
34522
+ // state -------------------------------------------------
34523
+ const [startWeek, setStartWeek] = React$1.useState(defaultStartWeek);
34524
+ const [endWeek, setEndWeek] = React$1.useState(defaultEndWeek);
34525
+
34526
+ // derived helpers --------------------------------------
34527
+ const hasSelection = startWeek !== null;
34528
+ const isRange = hasSelection && endWeek !== null && endWeek !== startWeek;
34529
+ const weeks = React$1.useMemo(() => [...Array(53)].map((_, i) => i + 1), []);
34530
+ const handleCellClick = week => {
34531
+ // first click → start
34532
+
34533
+ if (!hasSelection) {
34534
+ setStartWeek(week);
34535
+ setEndWeek(null);
34536
+ return;
34537
+ }
34538
+ // second click → decide range or single
34539
+ if (hasSelection && endWeek === null) {
34540
+ // second click on same cell turns it to single selection
34541
+ if (week === startWeek) {
34542
+ setEndWeek(null);
34543
+ return;
34544
+ }
34545
+ // ensure ascending order
34546
+ setEndWeek(week < startWeek ? startWeek : week);
34547
+ setStartWeek(week < startWeek ? week : startWeek);
34548
+ return;
34549
+ }
34550
+ // any later click resets selection and starts over
34551
+ setStartWeek(week);
34552
+ setEndWeek(null);
34553
+ };
34554
+ const clearAll = () => {
34555
+ setStartWeek(null);
34556
+ setEndWeek(null);
34557
+ };
34558
+
34559
+ // render ------------------------------------------------
34560
+ const title = !hasSelection ? "Select Weeks" : !isRange ? `Week ${startWeek}, ${year}` : `Weeks ${startWeek}-${endWeek}, ${year}`;
34561
+ return /*#__PURE__*/React__default["default"].createElement(CalendarWrapper, null, /*#__PURE__*/React__default["default"].createElement(Header, null, title), /*#__PURE__*/React__default["default"].createElement(Grid, {
34562
+ columns: 6
34563
+ }, weeks.map(wk => {
34564
+ const selected = wk === startWeek || isRange && wk >= startWeek && wk <= endWeek;
34565
+ return /*#__PURE__*/React__default["default"].createElement(WeekCell, {
34566
+ key: wk,
34567
+ "data-week": wk,
34568
+ $selected: selected,
34569
+ $isRangeMiddle: selected && wk !== startWeek && wk !== endWeek,
34570
+ onClick: () => handleCellClick(wk)
34571
+ }, wk);
34572
+ })), /*#__PURE__*/React__default["default"].createElement(Footer, null, /*#__PURE__*/React__default["default"].createElement(Button$1, {
34573
+ type: "secondary",
34574
+ disabled: !hasSelection,
34575
+ onClick: clearAll,
34576
+ text: "CLEAR"
34577
+ }), /*#__PURE__*/React__default["default"].createElement(Button$1, {
34578
+ type: "primary",
34579
+ disabled: !hasSelection,
34580
+ onClick: () => {
34581
+ if (hasSelection) onApply(startWeek, endWeek ?? startWeek);
34582
+ },
34583
+ text: "APPLY"
34584
+ }), onCancel && /*#__PURE__*/React__default["default"].createElement("button", {
34585
+ style: {
34586
+ display: "none"
34587
+ },
34588
+ type: "button",
34589
+ onClick: onCancel
34590
+ })));
34591
+ };
34592
+ WeeksCalendar.propTypes = {
34593
+ year: PropTypes.number.isRequired,
34594
+ defaultStartWeek: PropTypes.number,
34595
+ defaultEndWeek: PropTypes.number,
34596
+ onApply: PropTypes.func.isRequired,
34597
+ onCancel: PropTypes.func
34598
+ };
34599
+
34600
+ /* src/components/WeeksPicker/WeeksPicker.style.js */
34601
+ const WeeksPickerContainer = styled__default["default"].div`
34602
+ position: relative;
34603
+ margin-bottom: 10px;
34604
+ width: ${props => props.width || '100%'};
34605
+ height: ${props => props.height || '60px'};
34606
+ `;
34607
+ const StyledInput$1 = styled__default["default"].input`
34608
+ padding: 20px;
34609
+ font-size: 14px;
34610
+ border-radius: ${props => props.borderRadius || '4px'};
34611
+ border: none;
34612
+ outline: none;
34613
+ width: ${props => props.width || '90%'};
34614
+ height: ${props => props.height || '60px'};
34615
+ transition: border-color 0.3s ease;
34616
+ font-size: 14px;
34617
+ font-weight: 400;
34618
+ box-sizing: border-box;
34619
+ color: ${props => props.disabled ? '#888' : (props.isFocused || props.value ? props.textColor : '#757575') || '#333'};
34620
+ cursor: ${props => props.disabled ? 'not-allowed' : 'text'};
34621
+ `;
34622
+ const StyledLabel = styled__default["default"].label`
34623
+ font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
34624
+ width: ${props => props.isFocused || props.hasValue ? 'auto' : '150px'};
34625
+ color: ${props => props.disabled ? '#888' : (props.isFocused || props.hasValue ? props.borderColorFocus : '#757575') || '#333'};
34626
+ position: absolute;
34627
+ top: ${props => props.isFocused || props.hasValue ? '0px' : '50%'};
34628
+ left: 15px;
34629
+ background-color: ${props => props.isFocused || props.hasValue ? 'white' : 'transparent'};
34630
+ transform: translateY(-50%);
34631
+ transition: top 0.3s ease, font-size 0.3s ease;
34632
+ display: flex;
34633
+ font-weight: 400;
34634
+ align-items: center;
34635
+ box-sizing: border-box;
34636
+ cursor: pointer;
34637
+ `;
34638
+ const RequiredIndicator = styled__default["default"].span`
34639
+ color: red;
34640
+ margin-left: 5px;
34641
+ `;
34642
+ styled__default["default"].div`
34643
+ font-size: 12px;
34644
+ color: red;
34645
+ margin-top: 5px;
34646
+ `;
34647
+ const OptionsContainer = styled__default["default"].div`
34648
+ position: relative;
34649
+ z-index: 999;
34650
+ `;
34651
+ const InputContainer$1 = styled__default["default"].div`
34652
+ display: flex;
34653
+ flex-wrap: nowrap;
34654
+ justify-content: flex-start;
34655
+ align-content: center;
34656
+ white-space: pre-wrap;
34657
+ align-items: center;
34658
+ overflow: hidden;
34659
+ width: 100%;
34660
+ height: 100%;
34661
+ box-sizing: border-box;
34662
+ background-color: transparent;
34663
+ border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : '#B1B1B1'};
34664
+ font-family: "Poppins", sans-serif;
34665
+ font-weight: 400;
34666
+ font-size: 14px;
34667
+ border-radius: 12px;
34668
+ outline: none;
34669
+ color: ${props => props.disabled ? '#888' : '#212121'};
34670
+
34671
+ &:hover {
34672
+ border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.borderColorFocus || '#212121'};
34673
+ cursor: ${props => props.disabled ? 'not-allowed' : 'pointer'};
34674
+ }
34675
+
34676
+ &:focus {
34677
+ border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.borderColorFocus || '#212121'};
34678
+ }
34679
+ `;
34680
+ const CalendarDiv = styled__default["default"].div`
34681
+ position: absolute;
34682
+ top: 16px;
34683
+ right: 10px;
34684
+ `;
34685
+
34686
+ // src/components/WeeksPicker/WeeksPicker.jsx
34687
+ const WeeksPicker = _ref => {
34688
+ let {
34689
+ label,
34690
+ disabled,
34691
+ borderColor,
34692
+ borderColorFocus,
34693
+ textColor,
34694
+ required,
34695
+ placeholder,
34696
+ borderRadius,
34697
+ year,
34698
+ width,
34699
+ height,
34700
+ onChange,
34701
+ selectedValue
34702
+ } = _ref;
34703
+ const [value, setValue] = React$1.useState("");
34704
+ const inputRef = React$1.useRef(null);
34705
+ const [isFocused, setIsFocused] = React$1.useState(false);
34706
+ const [isOpen, setIsOpen] = React$1.useState(false);
34707
+ const handleToggle = () => {
34708
+ setIsOpen(!isOpen);
34709
+ };
34710
+ const onChangeEvent = e => {
34711
+ onChange(e.target.value);
34712
+ setValue(e.target.value);
34713
+ };
34714
+ React$1.useEffect(() => {
34715
+ if (selectedValue) {
34716
+ setValue(selectedValue);
34717
+ }
34718
+ }, [selectedValue]);
34719
+ const handleApply = () => {
34720
+ setIsOpen(false);
34721
+ };
34722
+ const handleCancel = () => {
34723
+ setIsOpen(false);
34724
+ };
34725
+ const handleFocus = () => {
34726
+ setIsFocused(true);
34727
+ };
34728
+ const handleBlur = () => {
34729
+ setIsFocused(false);
34730
+ };
34731
+ return /*#__PURE__*/React__default["default"].createElement(WeeksPickerContainer, {
34732
+ width: width,
34733
+ height: height
34734
+ }, /*#__PURE__*/React__default["default"].createElement(InputContainer$1, {
34735
+ onClick: handleToggle,
34736
+ className: "InputContainer",
34737
+ isFocused: isFocused,
34738
+ hasValue: value,
34739
+ disabled: disabled,
34740
+ textColor: textColor,
34741
+ borderColor: borderColor,
34742
+ borderColorFocus: borderColorFocus
34743
+ }, /*#__PURE__*/React__default["default"].createElement(StyledLabel, {
34744
+ className: "StyledLabel",
34745
+ onClick: handleFocus,
34746
+ isFocused: isFocused,
34747
+ hasValue: value,
34748
+ disabled: disabled,
34749
+ textColor: textColor,
34750
+ borderColor: borderColor,
34751
+ borderColorFocus: borderColorFocus
34752
+ }, label, required && /*#__PURE__*/React__default["default"].createElement(RequiredIndicator, null, "*")), /*#__PURE__*/React__default["default"].createElement(StyledInput$1, {
34753
+ className: "StyledInput",
34754
+ ref: inputRef,
34755
+ value: value,
34756
+ onChange: onChangeEvent,
34757
+ onFocus: handleFocus,
34758
+ onBlur: handleBlur,
34759
+ isFocused: isFocused,
34760
+ borderColorFocus: borderColorFocus,
34761
+ borderRadius: borderRadius,
34762
+ width: width,
34763
+ height: height,
34764
+ placeholder: isFocused ? placeholder : "",
34765
+ disabled: disabled,
34766
+ borderColor: borderColor,
34767
+ textColor: textColor
34768
+ }), /*#__PURE__*/React__default["default"].createElement(CalendarDiv, {
34769
+ onClick: handleToggle
34770
+ }, isOpen === true ? /*#__PURE__*/React__default["default"].createElement(CalendarInOpen, null) : /*#__PURE__*/React__default["default"].createElement(Calendar, null))), isOpen && /*#__PURE__*/React__default["default"].createElement(OptionsContainer, null, /*#__PURE__*/React__default["default"].createElement(WeeksCalendar, {
34771
+ year: year,
34772
+ onApply: (start, end) => {
34773
+ handleApply();
34774
+ const tempValue = end === start ? `Week ${start},${year}` : `Weeks ${start} - ${end},${year}`;
34775
+ onChange(tempValue);
34776
+ setValue(tempValue);
34777
+ setIsOpen(!isOpen);
34778
+ // close your modal here if needed …
34779
+ },
34780
+ onCancel: () => handleCancel()
34781
+ })));
34782
+ };
34783
+ WeeksPicker.propTypes = {
34784
+ label: PropTypes.string.isRequired,
34785
+ year: PropTypes.number.isRequired,
34786
+ onChange: PropTypes.func.isRequired,
34787
+ defaultValues: PropTypes.arrayOf(PropTypes.number),
34788
+ saveStartWeekID: PropTypes.func.isRequired,
34789
+ saveEndWeekID: PropTypes.func.isRequired
34790
+ };
34791
+
34792
+ var DefaultContext = {
34793
+ color: undefined,
34794
+ size: undefined,
34795
+ className: undefined,
34796
+ style: undefined,
34797
+ attr: undefined
34798
+ };
34799
+ var IconContext = React__default["default"].createContext && /*#__PURE__*/React__default["default"].createContext(DefaultContext);
34800
+
34801
+ var _excluded = ["attr", "size", "title"];
34802
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
34803
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
34804
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
34805
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
34806
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
34807
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
34808
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
34809
+ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
34810
+ function Tree2Element(tree) {
34811
+ return tree && tree.map((node, i) => /*#__PURE__*/React__default["default"].createElement(node.tag, _objectSpread({
34812
+ key: i
34813
+ }, node.attr), Tree2Element(node.child)));
34814
+ }
34815
+ function GenIcon(data) {
34816
+ return props => /*#__PURE__*/React__default["default"].createElement(IconBase, _extends({
34817
+ attr: _objectSpread({}, data.attr)
34818
+ }, props), Tree2Element(data.child));
34819
+ }
34820
+ function IconBase(props) {
34821
+ var elem = conf => {
34822
+ var {
34823
+ attr,
34824
+ size,
34825
+ title
34826
+ } = props,
34827
+ svgProps = _objectWithoutProperties(props, _excluded);
34828
+ var computedSize = size || conf.size || "1em";
34829
+ var className;
34830
+ if (conf.className) className = conf.className;
34831
+ if (props.className) className = (className ? className + " " : "") + props.className;
34832
+ return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
34833
+ stroke: "currentColor",
34834
+ fill: "currentColor",
34835
+ strokeWidth: "0"
34836
+ }, conf.attr, attr, svgProps, {
34837
+ className: className,
34838
+ style: _objectSpread(_objectSpread({
34839
+ color: props.color || conf.color
34840
+ }, conf.style), props.style),
34841
+ height: computedSize,
34842
+ width: computedSize,
34843
+ xmlns: "http://www.w3.org/2000/svg"
34844
+ }), title && /*#__PURE__*/React__default["default"].createElement("title", null, title), props.children);
34845
+ };
34846
+ return IconContext !== undefined ? /*#__PURE__*/React__default["default"].createElement(IconContext.Consumer, null, conf => elem(conf)) : elem(DefaultContext);
34847
+ }
34848
+
34849
+ // THIS FILE IS AUTO GENERATED
34850
+ function FaEyeSlash (props) {
34851
+ return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 640 512"},"child":[{"tag":"path","attr":{"d":"M320 400c-75.85 0-137.25-58.71-142.9-133.11L72.2 185.82c-13.79 17.3-26.48 35.59-36.72 55.59a32.35 32.35 0 0 0 0 29.19C89.71 376.41 197.07 448 320 448c26.91 0 52.87-4 77.89-10.46L346 397.39a144.13 144.13 0 0 1-26 2.61zm313.82 58.1l-110.55-85.44a331.25 331.25 0 0 0 81.25-102.07 32.35 32.35 0 0 0 0-29.19C550.29 135.59 442.93 64 320 64a308.15 308.15 0 0 0-147.32 37.7L45.46 3.37A16 16 0 0 0 23 6.18L3.37 31.45A16 16 0 0 0 6.18 53.9l588.36 454.73a16 16 0 0 0 22.46-2.81l19.64-25.27a16 16 0 0 0-2.82-22.45zm-183.72-142l-39.3-30.38A94.75 94.75 0 0 0 416 256a94.76 94.76 0 0 0-121.31-92.21A47.65 47.65 0 0 1 304 192a46.64 46.64 0 0 1-1.54 10l-73.61-56.89A142.31 142.31 0 0 1 320 112a143.92 143.92 0 0 1 144 144c0 21.63-5.29 41.79-13.9 60.11z"},"child":[]}]})(props);
34852
+ }
34853
+
34854
+ const IconWrapper$1 = styled__default["default"].div`
34855
+ display: flex;
34856
+ align-items: center;
34857
+ justify-content: center;
34858
+ align-content: center;
34859
+ padding: 2px;
34860
+ cursor: ${props => props.disabled ? 'not-allowed' : props.pointer || 'default'};
34861
+ `;
34862
+
34863
+ // eslint-disable-next-line import/prefer-default-export
34864
+ const getIcon = (icon, iconHeight, iconWidth, color, disabled, pointer, callBackOnClick) => {
34865
+ const newIconHeight = iconHeight || '12px';
34866
+ const newIconWidth = iconWidth || '12px';
34867
+ const newColor = disabled ? '#D0D0D0' : color || '#212121';
34868
+ switch (icon.toLowerCase()) {
34869
+ case 'filter':
34870
+ return /*#__PURE__*/React__default["default"].createElement(IconWrapper$1, {
34871
+ className: "FilterIcon",
34872
+ pointer: pointer,
34873
+ disabled: disabled,
34874
+ onClick: callBackOnClick
34875
+ }, /*#__PURE__*/React__default["default"].createElement(FilterIcon, {
34876
+ height: newIconHeight,
34877
+ width: newIconWidth,
34878
+ color: newColor,
34879
+ onClick: callBackOnClick
34880
+ }));
34881
+ case 'options':
34882
+ return /*#__PURE__*/React__default["default"].createElement(IconWrapper$1, {
34883
+ className: "OptionsIcon",
34884
+ pointer: pointer,
34885
+ disabled: disabled,
34886
+ onClick: callBackOnClick
34887
+ }, /*#__PURE__*/React__default["default"].createElement(OptionsIcon, {
34888
+ height: newIconHeight,
34889
+ width: newIconWidth,
34890
+ color: newColor,
34891
+ onClick: callBackOnClick
34892
+ }));
34893
+ case 'download':
34894
+ return /*#__PURE__*/React__default["default"].createElement(IconWrapper$1, {
34895
+ className: "DownloadIcon",
34896
+ pointer: pointer,
34897
+ disabled: disabled,
34898
+ onClick: callBackOnClick
34899
+ }, /*#__PURE__*/React__default["default"].createElement(DownloadIcon, {
34900
+ height: newIconHeight,
34901
+ width: newIconWidth,
34902
+ color: newColor,
34903
+ onClick: callBackOnClick
34904
+ }));
34905
+ case 'document':
34906
+ return /*#__PURE__*/React__default["default"].createElement(IconWrapper$1, {
34907
+ className: "DocumentIcon",
34908
+ pointer: pointer,
34909
+ disabled: disabled,
34910
+ onClick: callBackOnClick
34911
+ }, /*#__PURE__*/React__default["default"].createElement(DocumentIcon, {
34912
+ height: newIconHeight,
34913
+ width: newIconWidth,
34914
+ color: newColor,
34915
+ onClick: callBackOnClick
34916
+ }));
34917
+ case 'fly':
34918
+ return /*#__PURE__*/React__default["default"].createElement(IconWrapper$1, {
34919
+ className: "FlyIcon",
34920
+ pointer: pointer,
34921
+ disabled: disabled,
34922
+ onClick: callBackOnClick
34923
+ }, /*#__PURE__*/React__default["default"].createElement(FlyIcon, {
34924
+ height: newIconHeight,
34925
+ width: newIconWidth,
34926
+ color: newColor,
34927
+ onClick: callBackOnClick
34928
+ }));
34929
+ case 'bell':
34930
+ return /*#__PURE__*/React__default["default"].createElement(IconWrapper$1, {
34931
+ className: "BellIcon",
34932
+ pointer: pointer,
34933
+ disabled: disabled,
34934
+ onClick: callBackOnClick
34935
+ }, /*#__PURE__*/React__default["default"].createElement(BellIcon, {
34936
+ height: newIconHeight,
34937
+ width: newIconWidth,
34938
+ color: newColor,
34939
+ onClick: callBackOnClick
34940
+ }));
34941
+ case 'maintenance':
34942
+ return /*#__PURE__*/React__default["default"].createElement(IconWrapper$1, {
34943
+ className: "MaintenanceIcon",
34944
+ pointer: pointer,
34945
+ disabled: disabled,
34946
+ onClick: callBackOnClick
34947
+ }, /*#__PURE__*/React__default["default"].createElement(MaintenanceIcon, {
34948
+ height: newIconHeight,
34949
+ width: newIconWidth,
34950
+ color: newColor,
34951
+ onClick: callBackOnClick
34952
+ }));
34953
+ case 'exit':
34954
+ return /*#__PURE__*/React__default["default"].createElement(IconWrapper$1, {
34955
+ className: "ExitIcon",
34956
+ pointer: pointer,
34957
+ disabled: disabled,
34958
+ onClick: callBackOnClick
34959
+ }, /*#__PURE__*/React__default["default"].createElement(ExitIcon, {
34960
+ height: newIconHeight,
34961
+ width: newIconWidth,
34962
+ color: newColor,
34963
+ onClick: callBackOnClick
34964
+ }));
34965
+ case 'eye':
34966
+ return /*#__PURE__*/React__default["default"].createElement(IconWrapper$1, {
34967
+ className: "EyeIcon",
34968
+ pointer: pointer,
34969
+ disabled: disabled,
34970
+ onClick: callBackOnClick
34971
+ }, /*#__PURE__*/React__default["default"].createElement(EyeIcon, {
34972
+ height: newIconHeight,
34973
+ width: newIconWidth,
34974
+ color: newColor,
34975
+ onClick: callBackOnClick
34976
+ }));
34977
+ case 'search':
34978
+ return /*#__PURE__*/React__default["default"].createElement(IconWrapper$1, {
34979
+ className: "SearchIcon",
34980
+ pointer: pointer,
34981
+ disabled: disabled,
34982
+ onClick: callBackOnClick
34983
+ }, /*#__PURE__*/React__default["default"].createElement(SearchIcon, {
34984
+ height: newIconHeight,
34985
+ width: newIconWidth,
34986
+ color: newColor,
34987
+ onClick: callBackOnClick
34988
+ }));
34989
+ default:
34990
+ return '';
34991
+ }
34992
+ };
34993
+
34994
+ /* eslint-disable no-nested-ternary */
34995
+ const MainContainer = styled__default["default"].div`
34996
+ position: relative;
34997
+ display: flex;
34998
+ flex-direction: column;
34999
+ align-content: center;
35000
+ justify-content: center;
35001
+ align-items: flex-start;
35002
+ width: ${props => props.width || '300px'};
35003
+ font-family: "Poppins", sans-serif;
35004
+ font-weight: 400;
35005
+ font-size: 14px;
35006
+ border-radius: ${props => props.size === 'small' ? '8px' : '12px'};
35007
+ padding: 0;
35008
+ cursor: ${props => props.disabled ? 'not-allowed' : 'default'};
35009
+ `;
35010
+ const Label = styled__default["default"].label`
35011
+
35012
+ font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
35013
+ font-weight: 400;
35014
+ padding-inline-end: 5px;
35015
+ padding-inline-start: 5px;
35016
+ margin-right: 10px;
35017
+ z-index: 2;
35018
+ color: ${props => props.error ? 'red' : props.disabled ? '#D0D0D0' : props.labelColor};
35019
+ background-color: white;
35020
+ position: absolute;
35021
+ top: ${props => props.isFocused || props.hasValue ? '0px' : props.size === 'medium' ? '27px' : '17px'};
35022
+ left: ${props => props.isFocused || props.hasValue ? '23px' : props.leftIcon && props.leftIcon !== 'none' ? '42px' : '16px'};
35023
+ font-family: Poppins;
35024
+ transform: translateY(-50%);
35025
+ transition: top 0.3s ease, font-size 0.3s ease, color 0.3s ease;
35026
+ display: flex;
35027
+ align-items: center;
35028
+ box-sizing: border-box;
35029
+ max-height: 16px;
35030
+ gap: 4px;
35031
+ &:hover {
35032
+ cursor: ${props => props.disabled ? 'not-allowed' : 'pointer'};
35033
+ }
35034
+ `;
35035
+ const InputContainer = styled__default["default"].div`
35036
+
35037
+ display: flex;
35038
+ flex-direction: row;
35039
+ flex-wrap: nowrap;
35040
+ justify-content: flex-start;
35041
+ align-content: center;
35042
+ white-space: pre-wrap;
35043
+ align-items: center;
35044
+ overflow: hidden;
35045
+ padding: 0 16px;
35046
+ gap: 14px;
35047
+ width: 100%;
35048
+ height: 100%;
35049
+ box-sizing: border-box;
35050
+ background-color: #fff;
35051
+ border: 1px solid ${props => props.disabled ? '#D0D0D0' : props.error ? 'red' : '#B1B1B1'};
35052
+ font-family: "Poppins", sans-serif;
35053
+ font-weight: 400;
35054
+ font-size: 14px;
35055
+ border-radius: ${props => props.size === 'small' ? '8px' : '12px'};
35056
+ outline: none;
35057
+ color: ${props => props.disabled ? '#D0D0D0' : '#212121'};
35058
+
35059
+ &:hover {
35060
+ border: 1px solid ${props => props.disabled ? '#D0D0D0' : props.error ? 'red' : props.labelColor || '#212121'};
35061
+ }
35062
+
35063
+ &:focus {
35064
+ border: 1px solid ${props => props.disabled ? '#D0D0D0' : props.error ? 'red' : props.labelColor || '#212121'};
35065
+ }
35066
+
35067
+ `;
35068
+ const InputSubContainer = styled__default["default"].div`
35069
+
35070
+ display: flex;
35071
+ flex-direction: column;
35072
+ flex-wrap: nowrap;
35073
+ align-content: center;
35074
+ align-items: flex-start;
35075
+ justify-content: center;
35076
+ white-space: pre-wrap;
35077
+ overflow: hidden;
35078
+ padding: 5px 0;
35079
+ width: 100%;
35080
+ height: 100%;
35081
+ min-height: ${props => props.size === 'medium' ? '52px' : '32px'};
35082
+ box-sizing: border-box;
35083
+ background-color: #fff;
35084
+ border-radius: ${props => props.size === 'small' ? '8px' : '12px'};
35085
+ outline: none;
35086
+ color: ${props => props.disabled ? '#D0D0D0' : '#212121'};
35087
+ cursor: ${props => props.disabled ? 'not-allowed' : 'pointer'};
35088
+ `;
35089
+ const StyledInput = styled__default["default"].input`
35090
+ width: calc(100% - 10px);
35091
+ height: 20px;
35092
+ font-family: Poppins;
35093
+ font-weight: 400;
35094
+ font-size: 14px;
35095
+ outline: none;
35096
+ color: ${props => props.disabled ? '#D0D0D0' : '#212121'};
35097
+ background-color: #fff;
35098
+ border: none;
35099
+ cursor: ${props => props.disabled ? 'not-allowed' : 'pointer'};
35100
+ `;
35101
+ const ErrorMessage = styled__default["default"].div`
35102
+ font-size: 12px;
35103
+ color: red;
35104
+ margin-top: 5px;
35105
+ max-width: ${props => props.width || '300px'};
35106
+ `;
35107
+ const IconWrapper = styled__default["default"].div`
35108
+ display: flex;
35109
+ align-items: center;
35110
+ justify-content: center;
35111
+ align-content: center;
35112
+ padding: 2px;
35113
+ &:hover{
35114
+ cursor: ${props => props.disabled ? 'not-allowed' : 'pointer'};
35115
+ }
35116
+ `;
35117
+
35118
+ /* eslint-disable import/no-extraneous-dependencies */
35119
+ const Input = _ref => {
35120
+ let {
35121
+ label,
35122
+ labelEmptyValue,
35123
+ size,
35124
+ selectedValue,
35125
+ placeHolder,
35126
+ onChange,
35127
+ onBlur,
35128
+ required,
35129
+ disabled,
35130
+ width,
35131
+ error,
35132
+ errorMessage,
35133
+ labelColor,
35134
+ leftIcon,
35135
+ rightIcon,
35136
+ password,
35137
+ leftIconOnClick,
35138
+ rightIconOnClick
35139
+ } = _ref;
35140
+ const [isFocused, setIsFocused] = React$1.useState(false);
35141
+ const [inputValue, setInputValue] = React$1.useState('');
35142
+ const [showPassword, setShowPassword] = React$1.useState(false);
35143
+ const inputRef = React$1.useRef(null);
35144
+ const containerRef = React$1.useRef(null);
35145
+ React$1.useEffect(() => {
35146
+ setInputValue(selectedValue);
35147
+ }, [selectedValue]);
35148
+ const handleLabelClick = () => {
35149
+ if (disabled) return;
35150
+ setIsFocused(true);
35151
+ if (inputRef?.current) {
35152
+ inputRef?.current?.focus();
35153
+ }
35154
+ };
35155
+ const handleInputChange = e => {
35156
+ setIsFocused(true);
35157
+ setInputValue(e.target.value);
35158
+ if (inputRef?.current) {
35159
+ inputRef?.current?.focus();
35160
+ }
35161
+ onChange({
35162
+ newValue: e.target.value || ''
35163
+ });
35164
+ };
35165
+ const handleFocus = () => {
35166
+ setIsFocused(true);
35167
+ if (inputRef?.current) {
35168
+ inputRef?.current?.focus();
35169
+ }
35170
+ };
35171
+ const handleBlur = () => {
35172
+ onBlur();
35173
+ setIsFocused(false);
35174
+ };
35175
+ const leftIconOnClickHandler = () => {
35176
+ if (disabled) return;
35177
+ leftIconOnClick({
35178
+ leftIconOnClick: leftIcon
35179
+ });
35180
+ };
35181
+ const rightIconOnClickHandler = () => {
35182
+ if (disabled) return;
35183
+ rightIconOnClick({
35184
+ rightIconOnClick: rightIcon
35185
+ });
35186
+ };
35187
+ const getLeftIcon = () => {
35188
+ if (!leftIcon || leftIcon === 'none') return '';
35189
+ return getIcon(leftIcon, '14px', '14px', error ? 'red' : labelColor, disabled, 'pointer', leftIconOnClickHandler);
35190
+ };
35191
+ const getRightIcon = () => {
35192
+ if (!rightIcon || rightIcon === 'none') return '';
35193
+ return getIcon(rightIcon, '14px', '14px', error ? 'red' : labelColor, disabled, 'pointer', rightIconOnClickHandler);
35194
+ };
35195
+ const toggleShowPassword = () => {
35196
+ setShowPassword(!showPassword);
35197
+ };
35198
+ const getPasswordIcon = () => {
35199
+ if (!password) return '';
35200
+ if (showPassword) {
35201
+ return /*#__PURE__*/React__default["default"].createElement(IconWrapper, {
35202
+ className: "passwordEyeSlash",
35203
+ disabled: disabled,
35204
+ onClick: toggleShowPassword
35205
+ }, /*#__PURE__*/React__default["default"].createElement(FaEyeSlash, {
35206
+ onClick: toggleShowPassword,
35207
+ color: error ? 'red' : labelColor
35208
+ }));
35209
+ }
35210
+ return getIcon('eye', '14px', '14px', error ? 'red' : labelColor, disabled, 'pointer', toggleShowPassword);
35211
+ };
35212
+ return /*#__PURE__*/React__default["default"].createElement(MainContainer, {
35213
+ className: "MainContainer",
35214
+ width: width,
35215
+ size: size,
35216
+ disabled: disabled
35217
+ }, /*#__PURE__*/React__default["default"].createElement(InputContainer, {
35218
+ className: "InputContainer",
35219
+ labelColor: labelColor,
35220
+ disabled: disabled,
35221
+ error: error,
35222
+ isFocused: isFocused,
35223
+ size: size
35224
+ }, getLeftIcon(), /*#__PURE__*/React__default["default"].createElement(InputSubContainer, {
35225
+ className: "InputSubContainer",
35226
+ ref: containerRef,
35227
+ labelColor: labelColor,
35228
+ disabled: disabled,
35229
+ error: error,
35230
+ onClick: handleLabelClick,
35231
+ size: size
35232
+ }, /*#__PURE__*/React__default["default"].createElement(Label, {
35233
+ className: "Label",
35234
+ isFocused: isFocused,
35235
+ labelColor: labelColor,
35236
+ hasValue: inputValue,
35237
+ leftIcon: leftIcon,
35238
+ disabled: disabled,
35239
+ error: error,
35240
+ errorMessage: errorMessage,
35241
+ onClick: handleLabelClick,
35242
+ size: size
35243
+ }, inputValue ? label : labelEmptyValue || label, required && /*#__PURE__*/React__default["default"].createElement("span", {
35244
+ style: {
35245
+ color: disabled ? '#D0D0D0' : 'red',
35246
+ height: '16px'
35247
+ }
35248
+ }, "*")), /*#__PURE__*/React__default["default"].createElement(StyledInput, {
35249
+ className: "StyledInput",
35250
+ ref: inputRef,
35251
+ type: password && !showPassword ? 'password' : 'text',
35252
+ value: inputValue,
35253
+ onChange: handleInputChange,
35254
+ onClick: handleLabelClick,
35255
+ onFocus: handleFocus,
35256
+ onBlur: handleBlur,
35257
+ disabled: disabled,
35258
+ placeholder: isFocused ? placeHolder : '',
35259
+ error: error,
35260
+ isFocused: isFocused
35261
+ })), password ? getPasswordIcon() : getRightIcon()), error && errorMessage?.length > 0 && /*#__PURE__*/React__default["default"].createElement(ErrorMessage, {
35262
+ className: "ErrorMessage",
35263
+ width: width
35264
+ }, errorMessage));
35265
+ };
35266
+ Input.propTypes = {
35267
+ placeHolder: PropTypes.string,
35268
+ label: PropTypes.string,
35269
+ labelEmptyValue: PropTypes.string,
35270
+ size: PropTypes.string,
35271
+ labelColor: PropTypes.string,
35272
+ required: PropTypes.bool,
35273
+ width: PropTypes.string,
35274
+ disabled: PropTypes.bool,
35275
+ error: PropTypes.bool,
35276
+ errorMessage: PropTypes.string,
35277
+ selectedValue: PropTypes.string,
35278
+ onChange: PropTypes.func.isRequired,
35279
+ leftIconOnClick: PropTypes.func,
35280
+ rightIconOnClick: PropTypes.func,
35281
+ onBlur: PropTypes.func,
35282
+ leftIcon: PropTypes.string,
35283
+ rightIcon: PropTypes.string,
35284
+ password: PropTypes.bool
35285
+ };
35286
+ Input.defaultProps = {
35287
+ placeHolder: 'Type...',
35288
+ label: '',
35289
+ labelEmptyValue: '',
35290
+ size: 'medium',
35291
+ labelColor: '#066768',
35292
+ required: true,
35293
+ width: '300px',
35294
+ disabled: false,
35295
+ error: false,
35296
+ errorMessage: '',
35297
+ selectedValue: '',
35298
+ leftIcon: 'none',
35299
+ rightIcon: 'none',
35300
+ leftIconOnClick: () => {},
35301
+ rightIconOnClick: () => {},
35302
+ onBlur: () => {},
35303
+ password: false
35304
+ };
35305
+
35306
+ const ToggleSwitchLabel = styled__default["default"].label`
35307
+ display: inline-block;
35308
+ position: relative;
35309
+ cursor: pointer;
35310
+ user-select: none;
35311
+ opacity: ${({
35312
+ disabled
35313
+ }) => disabled ? 0.5 : 1};
35314
+ `;
35315
+ const ToggleInput = styled__default["default"].input`
35316
+ display: none;
35317
+ `;
35318
+ const ToggleSlider = styled__default["default"].span`
35319
+ display: block;
35320
+ position: relative;
35321
+ background: ${({
35322
+ checked,
35323
+ disabled
35324
+ }) => checked ? disabled ? "#7bb1b0" : "#006d6a" : "#cfd8dc"};
35325
+ border-radius: 999px;
35326
+ transition: background 0.2s;
35327
+ ${({
35328
+ size
35329
+ }) => {
35330
+ switch (size) {
35331
+ case "s":
35332
+ return styled.css`width: 40px; height: 20px;`;
35333
+ case "l":
35334
+ return styled.css`width: 72px; height: 36px;`;
35335
+ default:
35336
+ return styled.css`width: 56px; height: 28px;`;
35337
+ }
35338
+ }}
35339
+ &:before {
35340
+ content: "";
35341
+ position: absolute;
35342
+ left: 3px;
35343
+ top: 50%;
35344
+ transform: translateY(-50%);
35345
+ background: #fff;
35346
+ border-radius: 50%;
35347
+ transition: left 0.2s, width 0.2s, height 0.2s;
35348
+ ${({
35349
+ size
35350
+ }) => {
35351
+ switch (size) {
35352
+ case "s":
35353
+ return styled.css`width: 14px; height: 14px;`;
35354
+ case "l":
35355
+ return styled.css`width: 28px; height: 28px;`;
35356
+ default:
35357
+ return styled.css`width: 20px; height: 20px;`;
35358
+ }
35359
+ }}
35360
+ left: ${({
35361
+ checked,
35362
+ size
35363
+ }) => {
35364
+ if (!checked) return "3px";
35365
+ switch (size) {
35366
+ case "s":
35367
+ return "calc(100% - 17px)";
35368
+ case "l":
35369
+ return "calc(100% - 31px)";
35370
+ default:
35371
+ return "calc(100% - 23px)";
35372
+ }
35373
+ }};
35374
+ }
35375
+ `;
35376
+
35377
+ /**
35378
+ * ToggleSwitch component for on/off states.
35379
+ * Supports small/large sizes and disabled state.
35380
+ */
35381
+ function ToggleSwitch(_ref) {
35382
+ let {
35383
+ checked,
35384
+ onChange,
35385
+ size = "m",
35386
+ disabled = false,
35387
+ ...props
35388
+ } = _ref;
35389
+ return /*#__PURE__*/React__default["default"].createElement(ToggleSwitchLabel, {
35390
+ size: size,
35391
+ disabled: disabled
35392
+ }, /*#__PURE__*/React__default["default"].createElement(ToggleInput, _extends$1({
35393
+ type: "checkbox",
35394
+ checked: checked,
35395
+ onChange: e => onChange?.(e.target.checked),
35396
+ disabled: disabled
35397
+ }, props)), /*#__PURE__*/React__default["default"].createElement(ToggleSlider, {
35398
+ checked: checked,
35399
+ size: size,
35400
+ disabled: disabled
35401
+ }));
35402
+ }
35403
+ ToggleSwitch.propTypes = {
35404
+ checked: PropTypes.bool.isRequired,
35405
+ onChange: PropTypes.func,
35406
+ size: PropTypes.oneOf(["s", "m", "l"]),
35407
+ disabled: PropTypes.bool
35408
+ };
35409
+
35410
+ const TableWrapper = styled__default["default"].div`
35411
+ width: ${props => props.width};
35412
+ height: ${props => props.height};
35413
+ padding: 20px;
35414
+ background-color: #fff;
35415
+ box-sizing: border-box;
35416
+ `;
35417
+ const Table = styled__default["default"].table`
35418
+ width: 100%;
35419
+ margin-top: 24px;
35420
+ border-spacing: unset;
35421
+ `;
35422
+ const Thead = styled__default["default"].thead``;
35423
+ const HeaderCell = styled__default["default"].th`
35424
+ font-weight: 600;
35425
+ width: ${props => props.width};
35426
+ padding-right: 8px;
35427
+ padding-bottom: 12px;
35428
+ `;
35429
+ const Tbody = styled__default["default"].tbody``;
35430
+ const BodyCell = styled__default["default"].td`
35431
+ font-weight: 600;
35432
+ width: ${props => props.width};
35433
+ padding-right: 8px;
35434
+ padding-bottom: 12px;
35435
+ `;
35436
+ const StyledRow = styled__default["default"].tr`
35437
+ border-bottom: 1px solid #C8C8C8;
35438
+ `;
35439
+
35440
+ const ContainerTable = props => {
35441
+ const {
35442
+ width = '100%',
35443
+ height = '300px',
35444
+ columnsWidths = [430, 105, 210, 175, 148, 185, 104, 104, 140, 50, 50],
35445
+ standardCellSkeletonHeight = 22,
35446
+ isLoading = true,
35447
+ children
35448
+ } = props;
35449
+ const TableWrapperRef = React$1.useRef(null);
35450
+ const [numberOfRows, setNumberOfRows] = React$1.useState(3);
35451
+ const calculateRows = () => {
35452
+ if (TableWrapperRef.current) {
35453
+ const wrapperHeight = TableWrapperRef.current.offsetHeight;
35454
+
35455
+ // Calculate available space for rows
35456
+ const titleHeight = 32; // First skeleton height
35457
+ const subtitleHeight = 22; // Second skeleton height
35458
+ const titleMargin = 24; // Margin top for subtitle
35459
+ const headerRowHeight = standardCellSkeletonHeight + 22; // Approximate height of header row (22px skeleton + padding)
35460
+ const bodyRowHeight = standardCellSkeletonHeight + 22; // Approximate height of body row (22px skeleton + padding)
35461
+ const tablePadding = 20; // Approximate padding/margins for the table
35462
+
35463
+ const usedHeight = titleHeight + subtitleHeight + titleMargin + headerRowHeight + tablePadding;
35464
+ const availableHeight = wrapperHeight - usedHeight;
35465
+
35466
+ // Calculate how many rows can fit
35467
+ const maxRows = Math.floor(availableHeight / bodyRowHeight);
35468
+
35469
+ // Set minimum of 3 rows, maximum based on available space
35470
+ setNumberOfRows(Math.max(3, maxRows));
35471
+ }
35472
+ };
35473
+ React$1.useEffect(() => {
35474
+ calculateRows();
35475
+ }, [height]);
35476
+ return /*#__PURE__*/React__default["default"].createElement(TableWrapper, {
35477
+ ref: TableWrapperRef,
35478
+ width: width,
35479
+ height: height
35480
+ }, isLoading ? /*#__PURE__*/React__default["default"].createElement(Skeleton.SkeletonTheme, {
35481
+ baseColor: "#EAEAEA",
35482
+ highlightColor: "#F5F5F5"
35483
+ }, /*#__PURE__*/React__default["default"].createElement(Skeleton__default["default"], {
35484
+ width: 260,
35485
+ height: 32
35486
+ }), /*#__PURE__*/React__default["default"].createElement(Skeleton__default["default"], {
35487
+ width: 260,
35488
+ height: 22,
35489
+ style: {
35490
+ marginTop: 24
35491
+ }
35492
+ }), /*#__PURE__*/React__default["default"].createElement(Table, null, /*#__PURE__*/React__default["default"].createElement(Thead, null, /*#__PURE__*/React__default["default"].createElement(StyledRow, null, columnsWidths.map((width, index) => /*#__PURE__*/React__default["default"].createElement(HeaderCell, {
35493
+ key: `header-cell-${index}`,
35494
+ width: `${width}px`
35495
+ }, /*#__PURE__*/React__default["default"].createElement(Skeleton__default["default"], {
35496
+ width: '100%',
35497
+ height: standardCellSkeletonHeight
35498
+ }))))), /*#__PURE__*/React__default["default"].createElement(Tbody, null, Array.from({
35499
+ length: numberOfRows
35500
+ }).map((_, rowIndex) => /*#__PURE__*/React__default["default"].createElement(StyledRow, {
35501
+ key: `row-${rowIndex}`
35502
+ }, columnsWidths.map((width, colIndex) => /*#__PURE__*/React__default["default"].createElement(BodyCell, {
35503
+ key: `cell-${rowIndex}-${colIndex}`,
35504
+ width: `${width}px`
35505
+ }, /*#__PURE__*/React__default["default"].createElement(Skeleton__default["default"], {
35506
+ width: '100%',
35507
+ height: standardCellSkeletonHeight
35508
+ })))))))) : children);
35509
+ };
35510
+
35511
+ const MenuRouteContainer = styled__default["default"].div`
35512
+ font-family: 'Poppins', sans-serif;
35513
+ `;
35514
+ const ButtonGroup = styled__default["default"].div`
35515
+ display: flex;
35516
+ justify-content: ${props => {
35517
+ switch (props.pos) {
35518
+ case 'left':
35519
+ return 'flex-start';
35520
+ case 'center':
35521
+ return 'center';
35522
+ case 'right':
35523
+ return 'flex-end';
35524
+ default:
35525
+ return 'center';
35526
+ }
35527
+ }};
35528
+ `;
35529
+ const Button = styled__default["default"].button`
35530
+ background-color: transparent;
35531
+ border: none;
35532
+ display: flex;
35533
+ gap: 12px;
35534
+ align-items: center;
35535
+ color: #212121;
35536
+ padding: 0 24px 10px;
35537
+ font-size: 16px;
35538
+ font-weight: 600;
35539
+ &.active {
35540
+ color: ${props => props.color || '#066768'};
35541
+ border-bottom: 3px solid ${props => props.color || '#066768'};
35542
+ }
35543
+ &:disabled {
35544
+ color: #717171;
35545
+ cursor: not-allowed;
35546
+ }
35547
+ `;
35548
+
35549
+ const Build = _ref => {
35550
+ let {
35551
+ width = '24',
35552
+ height = '24',
35553
+ fill = "#212121"
35554
+ } = _ref;
35555
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
35556
+ width: width,
35557
+ height: height,
35558
+ viewBox: "0 0 24 24",
35559
+ fill: "none",
35560
+ xmlns: "http://www.w3.org/2000/svg"
35561
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
35562
+ d: "M20.7978 14.3728C20.9274 14.2408 21 14.0623 21 13.8758V12.0002C21 11.6122 20.6913 11.2972 20.31 11.2972H18.2399V5.21311L19.4183 4.01058C19.5753 3.85008 19.647 3.62208 19.6106 3.39807L19.1503 0.587512C19.0949 0.248505 18.8068 0 18.4696 0H16.6292C16.2916 0 16.004 0.248505 15.9486 0.587512L15.4882 3.39807C15.4514 3.62158 15.5231 3.84958 15.6806 4.01058L16.8589 5.21311V11.2972H14.7884C14.4071 11.2972 14.0984 11.6122 14.0984 12.0002V13.8753C14.0984 14.0618 14.171 14.2408 14.3006 14.3723L15.0185 15.1038V15.4588L14.3006 16.1903C14.171 16.3223 14.0984 16.5013 14.0984 16.6873V21.8905C14.0984 23.0535 15.0274 24 16.1689 24H18.929C20.0705 24 20.9995 23.0535 20.9995 21.8905V16.6878C20.9995 16.5013 20.9269 16.3228 20.7973 16.1908L20.0793 15.4593V15.1043L20.7978 14.3728ZM17.2137 1.40653H17.8851L18.1909 3.27257L17.5499 3.92658L16.9085 3.27257L17.2137 1.40653ZM19.6195 21.891C19.6195 22.2785 19.3098 22.594 18.9295 22.594H16.1694C15.7891 22.594 15.4794 22.2785 15.4794 21.891V21.1409H19.62L19.6195 21.891ZM19.6195 13.5843L18.9015 14.3158C18.7719 14.4478 18.6993 14.6263 18.6993 14.8128V15.7503C18.6993 15.9363 18.7719 16.1153 18.9015 16.2473L19.6195 16.9789V19.7344H15.4789V16.9789L16.1969 16.2473C16.3264 16.1153 16.3991 15.9363 16.3991 15.7503V14.8128C16.3991 14.6263 16.3264 14.4478 16.1969 14.3158L15.4789 13.5843V12.7038H19.6195V13.5843ZM7.50349 20.3582C6.99555 20.6978 7.15554 21.5158 7.75182 21.6323C8.21559 21.7413 8.67053 21.2783 8.56354 20.8053C8.48011 20.3247 7.89561 20.0777 7.50349 20.3582Z",
35563
+ fill: fill
35564
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
35565
+ d: "M9.44437 0.959887C8.99507 0.803976 8.52368 1.13173 8.52368 1.59994V4.90256L7.83476 5.35485L7.1429 4.90208V1.60043C7.1429 1.13221 6.67101 0.804459 6.22221 0.96037C4.33566 1.61587 3.0413 3.37724 3.00104 5.34326C2.96323 7.1722 4.00716 8.85199 5.64426 9.67402L4.6347 20.5555C4.46333 22.4032 5.94576 24 7.83329 24C9.72082 24 11.2037 22.4032 11.0324 20.5555L10.0233 9.67789C10.7245 9.32793 11.327 8.81579 11.7861 8.17573C12.3621 7.37204 12.6665 6.42692 12.6665 5.44077C12.6665 3.42985 11.3717 1.62939 9.44437 0.959887ZM9.04761 8.61836C8.75643 8.72601 8.57475 9.0108 8.60274 9.31538L9.65649 20.6781C9.75421 21.7337 8.9111 22.6417 7.8328 22.6417C6.75498 22.6417 5.91139 21.7337 6.00959 20.6781L7.06384 9.31297C7.09183 9.00935 6.91113 8.72456 6.62093 8.61643C5.25193 8.10622 4.35187 6.80197 4.38182 5.36981C4.40343 4.31512 4.9303 3.34296 5.76162 2.72608V5.26507C5.76162 5.49193 5.87751 5.70432 6.06999 5.82982L7.45323 6.73488C7.68549 6.88645 7.98747 6.88645 8.21924 6.7344L9.59806 5.82934C9.79005 5.70336 9.90545 5.49193 9.90545 5.26507V2.72511C10.7579 3.35552 11.2862 4.35518 11.2862 5.44029C11.2857 6.84638 10.3862 8.1236 9.04761 8.61836Z",
35566
+ fill: fill
35567
+ }));
35568
+ };
35569
+
35570
+ const Track = _ref => {
35571
+ let {
35572
+ width = '24',
35573
+ height = '24',
35574
+ fill = "#212121"
35575
+ } = _ref;
35576
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
35577
+ width: width,
35578
+ height: height,
35579
+ viewBox: "0 0 24 24",
35580
+ fill: "none",
35581
+ xmlns: "http://www.w3.org/2000/svg"
35582
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
35583
+ d: "M11.999 19.1706C8.2827 19.1706 5.02706 16.8561 2.95058 14.9152C1.80841 13.8472 1 13.0127 1 11.9967C1 10.9806 1.80741 10.1471 2.94758 9.08017C5.02507 7.13828 8.28271 4.82274 11.999 4.82274C15.7163 4.82274 18.9729 7.13828 21.0494 9.08017C22.1916 10.1482 23 10.9826 23 11.9977C23 13.0117 22.1906 13.8462 21.0474 14.9152C18.9709 16.8561 15.7153 19.1706 11.999 19.1706ZM11.999 6.41694C8.76935 6.41694 5.85246 8.50933 3.97483 10.2654C3.47119 10.7356 2.53487 11.6116 2.53487 11.9967C2.53487 12.3817 3.47319 13.2587 3.97783 13.7299C5.85446 15.485 8.76935 17.5764 11.999 17.5764C15.2286 17.5764 18.1435 15.485 20.0202 13.7299C20.5248 13.2587 21.4651 12.3807 21.4651 11.9977C21.4651 11.6137 20.5268 10.7367 20.0222 10.2655C18.1455 8.50934 15.2297 6.41694 11.999 6.41694Z",
35584
+ fill: fill
35585
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
35586
+ d: "M12.0008 3.55814C11.5297 3.55814 11.1474 3.21439 11.1474 2.7907V1.76744C11.1474 1.34375 11.5297 1 12.0008 1C12.472 1 12.8542 1.34375 12.8542 1.76744V2.7907C12.8542 3.21439 12.472 3.55814 12.0008 3.55814ZM6.31135 5.11001C6.03577 5.11001 5.76463 4.99009 5.60017 4.76826L4.96899 3.91789C4.70786 3.56614 4.81342 3.08949 5.20569 2.85366C5.59906 2.61883 6.12801 2.71476 6.38914 3.06651L7.02032 3.91688C7.28145 4.26863 7.17589 4.74528 6.78362 4.98111C6.63805 5.06805 6.47359 5.11001 6.31135 5.11001ZM17.6869 5.11001C17.5247 5.11001 17.3591 5.06804 17.2136 4.98011C16.8224 4.74528 16.7168 4.26863 16.9791 3.91588L17.6114 3.0655C17.8725 2.71476 18.4015 2.61683 18.7948 2.85466C19.186 3.08949 19.2915 3.56614 19.0293 3.91889L18.397 4.76927C18.2326 4.9901 17.9625 5.11001 17.6869 5.11001ZM12.0008 23C11.5297 23 11.1474 22.6562 11.1474 22.2326V21.2093C11.1474 20.7856 11.5297 20.4419 12.0008 20.4419C12.472 20.4419 12.8542 20.7856 12.8542 21.2093V22.2326C12.8542 22.6562 12.472 23 12.0008 23ZM18.3215 21.2753C18.0459 21.2753 17.7758 21.1553 17.6114 20.9345L16.9791 20.0841C16.7169 19.7314 16.8224 19.2547 17.2136 19.0199C17.6058 18.7821 18.1359 18.88 18.397 19.2307L19.0293 20.0811C19.2916 20.4339 19.186 20.9105 18.7948 21.1453C18.6493 21.2333 18.4837 21.2753 18.3215 21.2753ZM5.67796 21.2753C5.51572 21.2753 5.35126 21.2333 5.20569 21.1463C4.81342 20.9105 4.70786 20.4339 4.96899 20.0821L5.60017 19.2317C5.86131 18.879 6.39026 18.7841 6.78362 19.0189C7.17589 19.2547 7.28145 19.7314 7.02032 20.0831L6.38914 20.9335C6.22468 21.1553 5.95354 21.2753 5.67796 21.2753Z",
35587
+ fill: fill
35588
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
35589
+ d: "M12.1414 14.6391C11.9399 14.6391 11.7472 14.559 11.605 14.4168L10.1185 12.9303L8.63195 14.4168C8.33563 14.7131 7.8556 14.7131 7.55928 14.4168C7.26296 14.1205 7.26296 13.6405 7.55928 13.3441L9.58214 11.3213C9.87846 11.0249 10.3585 11.0249 10.6548 11.3213L12.1414 12.8078L14.4425 10.5441L14.6979 10.2929C14.4826 10.2005 14.3509 10.1836 14.0827 10.1549L13.7044 10.1134C13.2876 10.0679 12.9873 9.69359 13.0327 9.27776C13.0772 8.85995 13.4535 8.54289 13.8684 8.60611L14.1943 8.64167C16.6133 8.90045 16.8839 9.13652 17.4568 11.4498L17.5496 11.8261C17.6494 12.233 17.4005 12.6439 16.9945 12.7447C16.9333 12.7595 16.872 12.7664 16.8118 12.7664C16.471 12.7664 16.1609 12.5353 16.0759 12.1896L15.9959 11.8646C15.9265 11.5838 15.9328 11.5337 15.8065 11.3213L15.5764 11.5489L12.6777 14.4168C12.5355 14.559 12.3429 14.6391 12.1414 14.6391Z",
35590
+ fill: fill
35591
+ }));
35592
+ };
35593
+
35594
+ const Execute = _ref => {
35595
+ let {
35596
+ width = '24',
35597
+ height = '24',
35598
+ fill = "#212121"
35599
+ } = _ref;
35600
+ return /*#__PURE__*/React__default["default"].createElement("svg", {
35601
+ width: width,
35602
+ height: height,
35603
+ viewBox: "0 0 24 24",
35604
+ fill: "none",
35605
+ xmlns: "http://www.w3.org/2000/svg"
35606
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
35607
+ d: "M1.7579 23C1.61208 23 1.46954 22.9567 1.3483 22.8755C1.22706 22.7944 1.13257 22.6792 1.07677 22.5443C1.02097 22.4094 1.00637 22.261 1.03481 22.1179C1.06325 21.9747 1.13346 21.8432 1.23655 21.74L4.08812 18.8863C4.2272 18.7518 4.41347 18.6774 4.60682 18.6791C4.80016 18.6808 4.98512 18.7584 5.12184 18.8953C5.25856 19.0321 5.33611 19.2173 5.33779 19.4108C5.33947 19.6043 5.26515 19.7908 5.13082 19.93L2.27925 22.7837C2.21089 22.8524 2.12963 22.9069 2.04016 22.944C1.95068 22.9811 1.85476 23.0001 1.7579 23ZM5.14999 23C5.00417 23 4.86163 22.9567 4.74039 22.8755C4.61915 22.7944 4.52466 22.6792 4.46886 22.5443C4.41306 22.4094 4.39846 22.261 4.4269 22.1179C4.45534 21.9747 4.52555 21.8432 4.62864 21.74L6.05406 20.3131C6.12208 20.2426 6.20345 20.1864 6.29342 20.1477C6.38339 20.109 6.48015 20.0887 6.57806 20.0878C6.67598 20.0869 6.77308 20.1056 6.8637 20.1427C6.95433 20.1799 7.03666 20.2347 7.1059 20.304C7.17514 20.3733 7.22989 20.4557 7.26697 20.5464C7.30405 20.6371 7.3227 20.7343 7.32185 20.8323C7.321 20.9303 7.30066 21.0272 7.26201 21.1173C7.22337 21.2073 7.16719 21.2888 7.09676 21.3569L5.67134 22.7837C5.60298 22.8524 5.52172 22.9069 5.43225 22.944C5.34277 22.9811 5.24685 23.0001 5.14999 23ZM1.73652 19.5823C1.59085 19.5822 1.44849 19.5388 1.32741 19.4577C1.20633 19.3767 1.11195 19.2615 1.05618 19.1268C1.00041 18.9921 0.98575 18.8439 1.01404 18.7008C1.04234 18.5578 1.11232 18.4263 1.21517 18.3231L2.64058 16.8962C2.70861 16.8257 2.78998 16.7695 2.87994 16.7308C2.96991 16.6921 3.06667 16.6717 3.16459 16.6709C3.2625 16.67 3.3596 16.6887 3.45023 16.7258C3.54085 16.7629 3.62319 16.8178 3.69242 16.8871C3.76166 16.9564 3.81642 17.0388 3.85349 17.1295C3.89057 17.2202 3.90923 17.3174 3.90838 17.4154C3.90753 17.5134 3.88718 17.6103 3.84854 17.7004C3.80989 17.7904 3.75371 17.8719 3.68328 17.94L2.25787 19.3661C2.18948 19.4347 2.10822 19.4892 2.01875 19.5263C1.92928 19.5634 1.83337 19.5824 1.73652 19.5823Z",
35608
+ fill: fill
35609
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
35610
+ "fill-rule": "evenodd",
35611
+ "clip-rule": "evenodd",
35612
+ d: "M10.4266 5.23524C14.8319 0.824773 21.9759 0.994548 22.2834 1.00267C22.471 1.00859 22.6492 1.08587 22.7819 1.21877C22.9145 1.35167 22.9915 1.53018 22.9972 1.71794C23.0061 2.02058 23.1749 9.1755 18.7682 13.5867C17.4105 15.0207 15.8334 16.2187 14.1025 17.1391L14.1272 19.3786C14.1297 19.6736 14.0737 19.9661 13.9623 20.2392C13.8509 20.5122 13.6864 20.7604 13.4783 20.9693L11.8317 22.6176C11.6934 22.7561 11.5051 22.8339 11.3096 22.8339C11.1451 22.834 10.9853 22.7789 10.8556 22.6775C10.726 22.5761 10.634 22.4342 10.5943 22.2744L9.85024 19.2946C9.75514 19.3524 9.65558 19.4029 9.55236 19.4458C9.28402 19.5571 8.99555 19.6142 8.70506 19.6135C8.41415 19.6143 8.12597 19.5574 7.85723 19.4459C7.58849 19.3344 7.34454 19.1705 7.13954 18.9639L5.05488 16.8772C4.64047 16.4616 4.40771 15.8984 4.40771 15.3112C4.40771 14.9029 4.52022 14.5063 4.72805 14.1628L1.7461 13.4166C1.61952 13.3849 1.50359 13.3202 1.41015 13.229C1.31671 13.1379 1.24911 13.0235 1.21425 12.8976C1.17938 12.7718 1.17851 12.6389 1.2117 12.5126C1.2449 12.3863 1.31098 12.2711 1.40321 12.1787L3.04985 10.5296C3.25704 10.3198 3.50452 10.1542 3.77737 10.0427C4.05023 9.93116 4.34281 9.8761 4.63749 9.8808L6.87751 9.90562C7.79715 8.17292 8.99396 6.59433 10.4266 5.23524ZM11.251 16.8169L7.19967 12.7622L7.20002 12.7612C8.11342 10.3043 9.57336 8.08756 11.4693 6.27899C12.7276 5.01966 14.2699 4.17681 15.7898 3.61295L20.3926 8.2204C19.8291 9.73967 18.9864 11.2819 17.7269 12.543C15.9202 14.441 13.7057 15.9025 11.251 16.8169ZM4.09328 11.5726C4.23607 11.4366 4.42492 11.3597 4.62201 11.3571L6.18016 11.3744C5.98649 11.8342 5.81139 12.3029 5.65553 12.7792C5.64749 12.8087 5.64132 12.8387 5.63702 12.8688L3.36693 12.3005L4.09328 11.5726ZM12.4356 19.9249L11.71 20.6519L11.1422 18.3806C11.1726 18.3763 11.2027 18.37 11.2326 18.3618C11.708 18.2059 12.1758 18.0308 12.6349 17.8372L12.6517 19.3949C12.6525 19.4931 12.6339 19.5906 12.5968 19.6816C12.5597 19.7725 12.5049 19.8552 12.4356 19.9249ZM6.09684 14.7882L6.61819 14.2663L9.74703 17.3983L9.22568 17.9202C9.08542 18.0545 8.8988 18.1295 8.7047 18.1295C8.51059 18.1295 8.32323 18.0545 8.18298 17.9202L6.09684 15.8327C5.95873 15.694 5.88118 15.5062 5.88118 15.3104C5.88118 15.1146 5.95873 14.9268 6.09684 14.7882ZM17.377 3.11417C19.1023 2.66213 20.6468 2.5293 21.5113 2.49152C21.4749 3.35736 21.3436 4.90377 20.8915 6.63167L17.377 3.11417Z",
35613
+ fill: fill
35614
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
35615
+ "fill-rule": "evenodd",
35616
+ "clip-rule": "evenodd",
35617
+ d: "M12.5702 11.8494C13.0971 12.2829 13.7579 12.5201 14.4399 12.5206C14.8274 12.5213 15.2105 12.4454 15.5687 12.2972C15.9268 12.1489 16.2522 11.9314 16.526 11.657C17.0085 11.1744 17.3088 10.5393 17.376 9.85989C17.4431 9.18049 17.2728 8.49881 16.8941 7.93099C16.5155 7.36317 15.9519 6.94432 15.2993 6.74582C14.6468 6.54731 13.9456 6.58143 13.3154 6.84234C12.6851 7.10326 12.1647 7.57484 11.8429 8.17675C11.521 8.77865 11.4176 9.47365 11.5502 10.1433C11.6828 10.813 12.0433 11.4159 12.5702 11.8494ZM13.5057 8.42927C13.7692 8.21258 14.0996 8.09405 14.4406 8.09389C14.6343 8.09363 14.8261 8.13164 15.005 8.20574C15.1839 8.27985 15.3465 8.38858 15.4833 8.52571C15.7246 8.76701 15.8748 9.08457 15.9083 9.42428C15.9419 9.764 15.8567 10.1048 15.6673 10.3888C15.478 10.6727 15.1962 10.8821 14.8698 10.9813C14.5435 11.0805 14.193 11.0634 13.8778 10.9329C13.5627 10.8024 13.3025 10.5666 13.1417 10.2656C12.9808 9.96461 12.9291 9.61709 12.9955 9.28225C13.0619 8.9474 13.2422 8.64596 13.5057 8.42927Z",
35618
+ fill: fill
35619
+ }));
35620
+ };
35621
+
35622
+ const MenuRoute = props => {
35623
+ const {
35624
+ tabsPosition,
35625
+ items,
35626
+ color,
35627
+ selecetIndex = 0,
35628
+ onTabClick
35629
+ } = props;
35630
+ const [activeItem, setActiveItem] = React$1.useState(items[selecetIndex]?.key || items[0]?.key);
35631
+ React$1.useEffect(() => {
35632
+ if (selecetIndex >= 0 && selecetIndex < items.length) {
35633
+ setActiveItem(items[selecetIndex]?.key);
35634
+ }
35635
+ }, [selecetIndex, items]);
35636
+ const handleItemClick = (key, item) => {
35637
+ if (item.disabled) return;
35638
+ if (item.href) {
35639
+ window.open(item.href, item.target || '_self');
35640
+ return;
35641
+ }
35642
+ setActiveItem(key);
35643
+ if (onTabClick) {
35644
+ onTabClick(key);
35645
+ }
35646
+ };
35647
+ return /*#__PURE__*/React__default["default"].createElement(MenuRouteContainer, null, /*#__PURE__*/React__default["default"].createElement(ButtonGroup, {
35648
+ pos: tabsPosition
35649
+ }, items.map(item => /*#__PURE__*/React__default["default"].createElement(Button, {
35650
+ key: item.key,
35651
+ onClick: () => handleItemClick(item.key, item),
35652
+ disabled: item.disabled,
35653
+ className: activeItem === item.key ? 'active' : '',
35654
+ color: color
35655
+ }, item.icon && /*#__PURE__*/React__default["default"].cloneElement(item.icon, {
35656
+ fill: item.disabled ? '#717171' : activeItem === item.key ? color : item.icon.props.fill
35657
+ }), /*#__PURE__*/React__default["default"].isValidElement(item.label) ? item.label : item.label))));
35658
+ };
35659
+
34406
35660
  exports.AreaChart = AreaChart;
34407
35661
  exports.BannerEventBoxList = BannerEventBoxList;
34408
35662
  exports.BarChart = BarChart;
@@ -34413,22 +35667,29 @@ exports.BatteryChart = BatteryChart;
34413
35667
  exports.BreakdownPanel = BreakdownPanel;
34414
35668
  exports.BrushChart = BrushChart;
34415
35669
  exports.BubbleChart = BubbleChart;
34416
- exports.Button = Button;
35670
+ exports.Build = Build;
35671
+ exports.Button = Button$1;
34417
35672
  exports.CollapseData = CollapseData;
34418
35673
  exports.CollapseHeader = CollapseHeader;
35674
+ exports.ContainerTable = ContainerTable;
34419
35675
  exports.DialogOverlay = DialogOverlay;
34420
35676
  exports.DoubleBarSingleLine = DoubleBarSingleLine;
34421
35677
  exports.DoublePanelDataRow = DoublePanelDataRow;
34422
35678
  exports.DownloadProgress = DownloadProgress;
35679
+ exports.DropdownNew = DropdownNew;
34423
35680
  exports.EventDetailsCard = EventDetailsCard;
34424
35681
  exports.EventList = EventList;
35682
+ exports.Execute = Execute;
34425
35683
  exports.FilterPanel = FilterPanel;
34426
35684
  exports.Heatmap = Heatmap;
34427
35685
  exports.IconButton = IconButton;
35686
+ exports.Input = Input;
34428
35687
  exports.InsightsCarousel = InsightsCarousel;
34429
35688
  exports.LinkButton = LinkButton;
34430
35689
  exports.LinnerDataBox = LinnerDataBox;
34431
35690
  exports.MarketShareDescription = MarketShareDescription;
35691
+ exports.MenuRoute = MenuRoute;
35692
+ exports.ModalWithOverlay = ModalWithOverlay;
34432
35693
  exports.OneColumnContainer = OneColumnContainer;
34433
35694
  exports.PerformanceAnalyticsLegend = PerformanceAnalyticsLegend;
34434
35695
  exports.PieChart = PieChart;
@@ -34437,8 +35698,11 @@ exports.QuickFilter = QuickFilter;
34437
35698
  exports.ReportTable = ReportTable;
34438
35699
  exports.SingleBarLineCharts = SingleBarLineCharts;
34439
35700
  exports.TabMenu = TabMenu;
35701
+ exports.ToggleSwitch = ToggleSwitch;
34440
35702
  exports.TopToggleList = TopToggleList;
34441
35703
  exports.TotalDoughnutChart = TotalDoughnutChart;
34442
35704
  exports.TotalHorizontalCharts = TotalHorizontalCharts;
35705
+ exports.Track = Track;
34443
35706
  exports.TwoBarCharts = TwoBarCharts;
35707
+ exports.WeeksPicker = WeeksPicker;
34444
35708
  //# sourceMappingURL=index.js.map