sag_components 2.0.0-beta96 → 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 +1719 -476
  3. package/dist/index.esm.js.map +1 -1
  4. package/dist/index.js +1729 -476
  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.esm.js CHANGED
@@ -4,6 +4,16 @@ import { ResponsiveContainer, PieChart as PieChart$1, Pie, Cell, Tooltip as Tool
4
4
  import Skeleton, { SkeletonTheme } from 'react-loading-skeleton';
5
5
  import { motion, AnimatePresence } from 'framer-motion';
6
6
 
7
+ function _extends$1() {
8
+ return _extends$1 = Object.assign ? Object.assign.bind() : function (n) {
9
+ for (var e = 1; e < arguments.length; e++) {
10
+ var t = arguments[e];
11
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
12
+ }
13
+ return n;
14
+ }, _extends$1.apply(null, arguments);
15
+ }
16
+
7
17
  const ButtonContainer$1 = styled.div`
8
18
  //position: relative;
9
19
  display: flex;
@@ -43,7 +53,7 @@ const ButtonItem = styled.div`
43
53
  transition: background-color 0.3s, color 0.3s;
44
54
  }
45
55
  `;
46
- const Label$7 = styled.label`
56
+ const Label$8 = styled.label`
47
57
  font-family: "Poppins";
48
58
  font-size: 14px;
49
59
  font-weight: 400;
@@ -51,7 +61,7 @@ const Label$7 = styled.label`
51
61
  pointer-events: none;
52
62
  user-select: none;
53
63
  `;
54
- const IconWrapper$1 = styled.div`
64
+ const IconWrapper$3 = styled.div`
55
65
  display: flex;
56
66
  align-items: center;
57
67
  justify-content: center;
@@ -87,6 +97,24 @@ const InputCommit = styled.input`
87
97
  }
88
98
  `;
89
99
 
100
+ const DownloadIcon = _ref => {
101
+ let {
102
+ width = '8',
103
+ height = '9',
104
+ color = '#212121'
105
+ } = _ref;
106
+ return /*#__PURE__*/React$1.createElement("svg", {
107
+ width: width,
108
+ height: height,
109
+ viewBox: "0 0 20 20",
110
+ fill: "none",
111
+ xmlns: "http://www.w3.org/2000/svg"
112
+ }, /*#__PURE__*/React$1.createElement("path", {
113
+ 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",
114
+ fill: color
115
+ }));
116
+ };
117
+
90
118
  const FilterIcon = _ref => {
91
119
  let {
92
120
  width = '17',
@@ -132,24 +160,6 @@ const OptionsIcon = _ref => {
132
160
  }));
133
161
  };
134
162
 
135
- const DownloadIcon = _ref => {
136
- let {
137
- width = '8',
138
- height = '9',
139
- color = '#212121'
140
- } = _ref;
141
- return /*#__PURE__*/React$1.createElement("svg", {
142
- width: width,
143
- height: height,
144
- viewBox: "0 0 20 20",
145
- fill: "none",
146
- xmlns: "http://www.w3.org/2000/svg"
147
- }, /*#__PURE__*/React$1.createElement("path", {
148
- 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",
149
- fill: color
150
- }));
151
- };
152
-
153
163
  const DocumentIcon = _ref => {
154
164
  let {
155
165
  width = '19',
@@ -282,40 +292,150 @@ const EyeIcon = _ref => {
282
292
  }));
283
293
  };
284
294
 
285
- const ButtonArrowRight = _ref => {
286
- let {
287
- width = '16',
288
- height = '17'
289
- } = _ref;
290
- return /*#__PURE__*/React$1.createElement("svg", {
291
- width: width,
292
- height: height,
293
- viewBox: "0 0 16 17",
294
- fill: "none",
295
- xmlns: "http://www.w3.org/2000/svg"
296
- }, /*#__PURE__*/React$1.createElement("g", null, /*#__PURE__*/React$1.createElement("path", {
297
- id: "icon",
298
- 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",
299
- fill: "white"
300
- })));
301
- };
295
+ const ButtonArrowRight = ({
296
+ width = '16',
297
+ height = '17'
298
+ }) => /*#__PURE__*/React$1.createElement("svg", {
299
+ width: width,
300
+ height: height,
301
+ viewBox: "0 0 16 17",
302
+ fill: "none",
303
+ xmlns: "http://www.w3.org/2000/svg"
304
+ }, /*#__PURE__*/React$1.createElement("g", null, /*#__PURE__*/React$1.createElement("path", {
305
+ id: "icon",
306
+ 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",
307
+ fill: "white"
308
+ })));
302
309
 
303
- const ReselectIcon = _ref => {
304
- let {
305
- width = '16',
306
- height = '16',
307
- color = '#212121'
308
- } = _ref;
309
- return /*#__PURE__*/React$1.createElement("svg", {
310
- width: width,
311
- height: height,
312
- viewBox: "0 0 16 16",
313
- fill: "none",
314
- xmlns: "http://www.w3.org/2000/svg"
315
- }, /*#__PURE__*/React$1.createElement("path", {
316
- 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",
317
- fill: color
318
- }));
310
+ const ReselectIcon = ({
311
+ width = '16',
312
+ height = '16',
313
+ color = '#212121'
314
+ }) => /*#__PURE__*/React$1.createElement("svg", {
315
+ width: width,
316
+ height: height,
317
+ viewBox: "0 0 16 16",
318
+ fill: "none",
319
+ xmlns: "http://www.w3.org/2000/svg"
320
+ }, /*#__PURE__*/React$1.createElement("path", {
321
+ 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",
322
+ fill: color
323
+ }));
324
+
325
+ const SearchIcon = ({
326
+ width = '13',
327
+ height = '13',
328
+ color = '#212121'
329
+ }) => /*#__PURE__*/React$1.createElement("svg", {
330
+ width: width,
331
+ height: height,
332
+ viewBox: "0 0 13 13",
333
+ fill: "none",
334
+ xmlns: "http://www.w3.org/2000/svg"
335
+ }, /*#__PURE__*/React$1.createElement("path", {
336
+ 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",
337
+ fill: color
338
+ }));
339
+
340
+ const PlusIcon = ({
341
+ width = '17',
342
+ height = '17',
343
+ color = '#212121'
344
+ }) => /*#__PURE__*/React$1.createElement("svg", {
345
+ xmlns: "http://www.w3.org/2000/svg",
346
+ width: "16",
347
+ height: "17",
348
+ viewBox: "0 0 16 17",
349
+ fill: "none"
350
+ }, /*#__PURE__*/React$1.createElement("path", {
351
+ 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",
352
+ fill: "#066768"
353
+ }));
354
+
355
+ const Button$1 = props => {
356
+ const {
357
+ text = "",
358
+ type = "primary",
359
+ size = "small",
360
+ height = "",
361
+ width = "",
362
+ disabled = false,
363
+ textColor = "",
364
+ backgroundColor = "",
365
+ borderColor = "",
366
+ hoverTextColor = "",
367
+ hoverBackgroundColor = "",
368
+ hoverBorderColor = "",
369
+ disabledTextColor = "",
370
+ disabledBackgroundColor = "",
371
+ disabledBorderColor = "",
372
+ onClick = () => {},
373
+ leftIcon = null,
374
+ rightIcon = null,
375
+ isSubmitButton = false
376
+ } = props;
377
+ const [clicked, setClicked] = useState(false);
378
+ const [hover, setHover] = useState(false);
379
+ const handleClick = event => {
380
+ setClicked(prev => !prev);
381
+ onClick(event);
382
+ setTimeout(() => setClicked(prev => !prev), 300);
383
+ };
384
+ const iconMap = {
385
+ arrow: ButtonArrowRight,
386
+ filter: FilterIcon,
387
+ options: OptionsIcon,
388
+ download: DownloadIcon,
389
+ document: DocumentIcon,
390
+ fly: FlyIcon,
391
+ bell: BellIcon,
392
+ maintenance: MaintenanceIcon,
393
+ exit: ExitIcon,
394
+ eye: EyeIcon,
395
+ reselect: ReselectIcon
396
+ };
397
+ const getIcon = icon => {
398
+ if (!icon || icon === "none") return null;
399
+ const IconComponent = iconMap[icon.toLowerCase()];
400
+ const iconProps = {
401
+ height: "16px",
402
+ width: "16px",
403
+ color: disabled ? disabledTextColor || "#B1B1B1" : hover ? hoverTextColor || (type === "secondary" ? "#229E38" : "#ffffff") : textColor || (type === "secondary" ? "#212121" : "#ffffff")
404
+ };
405
+ return /*#__PURE__*/React$1.createElement(IconWrapper$3, null, /*#__PURE__*/React$1.createElement(IconComponent, iconProps));
406
+ };
407
+ const commonProps = {
408
+ width: width || null,
409
+ height: height || (size === "small" ? "33px" : "45px"),
410
+ disabled,
411
+ text_color: textColor || (type === "secondary" ? "#212121" : "#ffffff"),
412
+ background_color: backgroundColor || (type === "secondary" ? "#ffffff" : "#229E38"),
413
+ border_color: borderColor || (type === "secondary" ? "#B1B1B1" : "#229E38"),
414
+ hover_text_color: hoverTextColor || (type === "secondary" ? "#229E38" : "#ffffff"),
415
+ hover_background_color: hoverBackgroundColor || (type === "secondary" ? "#E8F5EB" : "#92CF17"),
416
+ hover_border_color: hoverBorderColor || (type === "secondary" ? "#229E38" : "#92CF17"),
417
+ disabled_text_color: disabledTextColor || "#B1B1B1",
418
+ disabled_background_color: disabledBackgroundColor || (type === "secondary" ? "#ffffff" : "#E3E4E5"),
419
+ disabled_border_color: disabledBorderColor || "#E3E4E5",
420
+ padding: size === "small" ? "0 16px" : "0 20px",
421
+ onClick: !disabled ? handleClick : null
422
+ };
423
+ return /*#__PURE__*/React$1.createElement(ButtonContainer$1, {
424
+ className: "ButtonContainer",
425
+ width: commonProps.width,
426
+ height: commonProps.height
427
+ }, isSubmitButton ? /*#__PURE__*/React$1.createElement(InputCommit, _extends$1({
428
+ className: clicked ? "InputCommit-clicked" : "InputCommit",
429
+ value: text,
430
+ type: "submit"
431
+ }, commonProps)) : /*#__PURE__*/React$1.createElement(ButtonItem, _extends$1({
432
+ className: clicked ? "ButtonItem-clicked" : "ButtonItem",
433
+ onMouseEnter: () => setHover(true),
434
+ onMouseLeave: () => setHover(false)
435
+ }, commonProps), getIcon(leftIcon), /*#__PURE__*/React$1.createElement(Label$8, {
436
+ className: "Label",
437
+ disabled: disabled
438
+ }, text), getIcon(rightIcon)));
319
439
  };
320
440
 
321
441
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
@@ -1471,199 +1591,6 @@ if (process.env.NODE_ENV !== 'production') {
1471
1591
  var propTypesExports = propTypes.exports;
1472
1592
  var PropTypes = /*@__PURE__*/getDefaultExportFromCjs(propTypesExports);
1473
1593
 
1474
- const Button = _ref => {
1475
- let {
1476
- text = '',
1477
- type = 'primary',
1478
- size = 'small',
1479
- height = '',
1480
- width = '',
1481
- disabled = false,
1482
- textColor = '',
1483
- backgroundColor = '',
1484
- borderColor = '',
1485
- hoverTextColor = '',
1486
- hoverBackgroundColor = '',
1487
- hoverBorderColor = '',
1488
- disabledTextColor = '',
1489
- disabledBackgroundColor = '',
1490
- disabledBorderColor = '',
1491
- onClick = () => {},
1492
- leftIcon = 'none',
1493
- rightIcon = 'none',
1494
- isSubmitButton = false
1495
- } = _ref;
1496
- const [clicked, setClicked] = useState(false);
1497
- const [hover, setHover] = useState(false);
1498
- const handleSubmitButtonOnClick = () => {
1499
- setClicked(true);
1500
- onClick(`SubmitButtonOnClick: ${text}`);
1501
- setTimeout(() => {
1502
- setClicked(false);
1503
- }, 300);
1504
- };
1505
- const handleButtonClick = event => {
1506
- setClicked(true);
1507
- onClick(event);
1508
- setTimeout(() => {
1509
- setClicked(false);
1510
- }, 300);
1511
- };
1512
- const getIcon = icon => {
1513
- const iconHeight = '16px';
1514
- const iconWidth = '16px';
1515
- const newTextColor = textColor || (type === 'secondary' ? '#212121' : '#ffffff');
1516
- const newHoverTextColor = hoverTextColor || (type === 'secondary' ? '#229E38' : '#ffffff');
1517
- const newDisabledTextColor = disabledTextColor || '#B1B1B1';
1518
- const newEnabledTextColor = hover ? newHoverTextColor : newTextColor;
1519
- const color = disabled ? newDisabledTextColor : newEnabledTextColor;
1520
- switch (icon.toLowerCase()) {
1521
- case 'arrow':
1522
- return /*#__PURE__*/React$1.createElement(IconWrapper$1, {
1523
- className: "ArrowRightIcon"
1524
- }, /*#__PURE__*/React$1.createElement(ButtonArrowRight, {
1525
- height: iconHeight,
1526
- width: iconWidth,
1527
- color: color
1528
- }));
1529
- case 'filter':
1530
- return /*#__PURE__*/React$1.createElement(IconWrapper$1, {
1531
- className: "FilterIcon"
1532
- }, /*#__PURE__*/React$1.createElement(FilterIcon, {
1533
- height: "150px",
1534
- width: iconWidth,
1535
- color: color
1536
- }));
1537
- case 'options':
1538
- return /*#__PURE__*/React$1.createElement(IconWrapper$1, {
1539
- className: "OptionsIcon"
1540
- }, /*#__PURE__*/React$1.createElement(OptionsIcon, {
1541
- height: iconHeight,
1542
- width: iconWidth,
1543
- color: color
1544
- }));
1545
- case 'download':
1546
- return /*#__PURE__*/React$1.createElement(IconWrapper$1, {
1547
- className: "DownloadIcon"
1548
- }, /*#__PURE__*/React$1.createElement(DownloadIcon, {
1549
- height: iconHeight,
1550
- width: iconWidth,
1551
- color: color
1552
- }));
1553
- case 'document':
1554
- return /*#__PURE__*/React$1.createElement(IconWrapper$1, {
1555
- className: "DocumentIcon"
1556
- }, /*#__PURE__*/React$1.createElement(DocumentIcon, {
1557
- height: iconHeight,
1558
- width: iconWidth,
1559
- color: color
1560
- }));
1561
- case 'fly':
1562
- return /*#__PURE__*/React$1.createElement(IconWrapper$1, {
1563
- className: "FlyIcon"
1564
- }, /*#__PURE__*/React$1.createElement(FlyIcon, {
1565
- height: iconHeight,
1566
- width: iconWidth,
1567
- color: color
1568
- }));
1569
- case 'bell':
1570
- return /*#__PURE__*/React$1.createElement(IconWrapper$1, {
1571
- className: "BellIcon"
1572
- }, /*#__PURE__*/React$1.createElement(BellIcon, {
1573
- height: iconHeight,
1574
- width: iconWidth,
1575
- color: color
1576
- }));
1577
- case 'maintenance':
1578
- return /*#__PURE__*/React$1.createElement(IconWrapper$1, {
1579
- className: "MaintenanceIcon"
1580
- }, /*#__PURE__*/React$1.createElement(MaintenanceIcon, {
1581
- height: iconHeight,
1582
- width: iconWidth,
1583
- color: color
1584
- }));
1585
- case 'exit':
1586
- return /*#__PURE__*/React$1.createElement(IconWrapper$1, {
1587
- className: "ExitIcon"
1588
- }, /*#__PURE__*/React$1.createElement(ExitIcon, {
1589
- height: iconHeight,
1590
- width: iconWidth,
1591
- color: color
1592
- }));
1593
- case 'eye':
1594
- return /*#__PURE__*/React$1.createElement(IconWrapper$1, {
1595
- className: "EyeIcon"
1596
- }, /*#__PURE__*/React$1.createElement(EyeIcon, {
1597
- height: iconHeight,
1598
- width: iconWidth,
1599
- color: color
1600
- }));
1601
- case 'reselect':
1602
- return /*#__PURE__*/React$1.createElement(IconWrapper$1, {
1603
- className: "ReselectIcon"
1604
- }, /*#__PURE__*/React$1.createElement(ReselectIcon, {
1605
- height: iconHeight,
1606
- width: iconWidth,
1607
- color: color
1608
- }));
1609
- default:
1610
- return '';
1611
- }
1612
- };
1613
- const getLeftIcon = () => {
1614
- if (!leftIcon || leftIcon === 'none') return '';
1615
- return getIcon(leftIcon);
1616
- };
1617
- const getRightIcon = () => {
1618
- if (!rightIcon || rightIcon === 'none') return '';
1619
- return getIcon(rightIcon);
1620
- };
1621
- return /*#__PURE__*/React$1.createElement(ButtonContainer$1, {
1622
- className: "ButtonContainer",
1623
- width: width || null,
1624
- height: height || (size === 'small' ? '33px' : '45px')
1625
- }, isSubmitButton ? /*#__PURE__*/React$1.createElement(InputCommit, {
1626
- className: clicked ? 'InputCommit-clicked' : 'InputCommit',
1627
- value: text,
1628
- type: "submit",
1629
- width: width || null,
1630
- height: height || (size === 'small' ? '33px' : '45px'),
1631
- disabled: disabled,
1632
- text_color: textColor || (type === 'secondary' ? '#212121' : '#ffffff'),
1633
- background_color: backgroundColor || (type === 'secondary' ? '#ffffff' : '#229E38'),
1634
- border_color: borderColor || (type === 'secondary' ? '#B1B1B1' : '#229E38'),
1635
- hover_text_color: hoverTextColor || (type === 'secondary' ? '#229E38' : '#ffffff'),
1636
- hover_background_color: hoverBackgroundColor || (type === 'secondary' ? '#E8F5EB' : '#92CF17'),
1637
- hover_border_color: hoverBorderColor || (type === 'secondary' ? '#229E38' : '#92CF17'),
1638
- disabled_text_color: disabledTextColor || '#B1B1B1',
1639
- disabled_background_color: disabledBackgroundColor || (type === 'secondary' ? '#ffffff' : '#E3E4E5'),
1640
- disabled_border_color: disabledBorderColor || '#E3E4E5',
1641
- padding: size === 'small' ? '0 16px' : '0 20px',
1642
- onClick: !disabled ? handleSubmitButtonOnClick : null
1643
- }) : /*#__PURE__*/React$1.createElement(ButtonItem, {
1644
- className: clicked ? 'ButtonItem-clicked' : 'ButtonItem',
1645
- onMouseEnter: () => setHover(true),
1646
- onMouseLeave: () => setHover(false),
1647
- onClick: event => !disabled ? handleButtonClick(event) : null,
1648
- width: width || null,
1649
- height: height || (size === 'small' ? '33px' : '45px'),
1650
- disabled: disabled,
1651
- text_color: textColor || (type === 'secondary' ? '#212121' : '#ffffff'),
1652
- background_color: backgroundColor || (type === 'secondary' ? '#ffffff' : '#229E38'),
1653
- border_color: borderColor || (type === 'secondary' ? '#B1B1B1' : '#229E38'),
1654
- hover_text_color: hoverTextColor || (type === 'secondary' ? '#229E38' : '#ffffff'),
1655
- hover_background_color: hoverBackgroundColor || (type === 'secondary' ? '#E8F5EB' : '#92CF17'),
1656
- hover_border_color: hoverBorderColor || (type === 'secondary' ? '#229E38' : '#92CF17'),
1657
- disabled_text_color: disabledTextColor || '#B1B1B1',
1658
- disabled_background_color: disabledBackgroundColor || (type === 'secondary' ? '#ffffff' : '#E3E4E5'),
1659
- disabled_border_color: disabledBorderColor || '#E3E4E5',
1660
- padding: size === 'small' ? '0 16px' : '0 20px'
1661
- }, getLeftIcon(), /*#__PURE__*/React$1.createElement(Label$7, {
1662
- className: "Label",
1663
- disabled: disabled
1664
- }, text), getRightIcon()));
1665
- };
1666
-
1667
1594
  /* eslint-disable no-restricted-globals */
1668
1595
  /* eslint-disable no-shadow */
1669
1596
  const getCurrencySign = (currencyTypeToConvert, value) => {
@@ -2495,7 +2422,7 @@ PieChart.defaultProps = {
2495
2422
  noDataText: 'No Data'
2496
2423
  };
2497
2424
 
2498
- const MainContainer$7 = styled.div`
2425
+ const MainContainer$8 = styled.div`
2499
2426
  position: relative;
2500
2427
  font-family: "Poppins", sans-serif;
2501
2428
  background-color: white;
@@ -2702,7 +2629,7 @@ const HannafordNewIcon = _ref => {
2702
2629
  })));
2703
2630
  };
2704
2631
 
2705
- const MainContainer$6 = styled.div`
2632
+ const MainContainer$7 = styled.div`
2706
2633
  position: relative;
2707
2634
  font-family: "Poppins", sans-serif;
2708
2635
  background-color: white;
@@ -2876,7 +2803,7 @@ const BannersDropdown = props => {
2876
2803
  setBannerButtonArrow('#757575');
2877
2804
  }
2878
2805
  }, [processedBanners]);
2879
- return /*#__PURE__*/React.createElement(MainContainer$6, null, /*#__PURE__*/React.createElement(ToggleBannersWrapper, null, /*#__PURE__*/React.createElement(ToggleBanners, {
2806
+ return /*#__PURE__*/React.createElement(MainContainer$7, null, /*#__PURE__*/React.createElement(ToggleBannersWrapper, null, /*#__PURE__*/React.createElement(ToggleBanners, {
2880
2807
  className: bannerButtonText === 'Partial' ? 'partial' : '',
2881
2808
  onClick: () => setToggled(!toggled)
2882
2809
  }, /*#__PURE__*/React.createElement("span", null, bannerButtonText), /*#__PURE__*/React.createElement(ArrowWrap, {
@@ -2952,11 +2879,11 @@ const LinkButtonItem = styled.div`
2952
2879
  transition: background-color 0.3s, color 0.3s;
2953
2880
  }
2954
2881
  `;
2955
- const Label$6 = styled.label`
2882
+ const Label$7 = styled.label`
2956
2883
  user-select: none;
2957
2884
  pointer-events: none;
2958
2885
  `;
2959
- const IconWrapper = styled.div`
2886
+ const IconWrapper$2 = styled.div`
2960
2887
  display: flex;
2961
2888
  align-items: center;
2962
2889
  justify-content: center;
@@ -3080,15 +3007,23 @@ const LinkButton = _ref => {
3080
3007
  const color = disabled ? '#B1B1B1' : newTextColor;
3081
3008
  switch (icon.toLowerCase()) {
3082
3009
  case 'filter':
3083
- return /*#__PURE__*/React$1.createElement(IconWrapper, {
3010
+ return /*#__PURE__*/React$1.createElement(IconWrapper$2, {
3084
3011
  className: "FilterIcon"
3085
3012
  }, /*#__PURE__*/React$1.createElement(FilterIcon, {
3086
3013
  height: iconHeight,
3087
3014
  width: iconWidth,
3088
3015
  color: color
3089
3016
  }));
3017
+ case 'plus':
3018
+ return /*#__PURE__*/React$1.createElement(IconWrapper$2, {
3019
+ className: "PlusIcon"
3020
+ }, /*#__PURE__*/React$1.createElement(PlusIcon, {
3021
+ height: iconHeight,
3022
+ width: iconWidth,
3023
+ color: color
3024
+ }));
3090
3025
  case 'options':
3091
- return /*#__PURE__*/React$1.createElement(IconWrapper, {
3026
+ return /*#__PURE__*/React$1.createElement(IconWrapper$2, {
3092
3027
  className: "OptionsIcon"
3093
3028
  }, /*#__PURE__*/React$1.createElement(OptionsIcon, {
3094
3029
  height: iconHeight,
@@ -3096,7 +3031,7 @@ const LinkButton = _ref => {
3096
3031
  color: color
3097
3032
  }));
3098
3033
  case 'download':
3099
- return /*#__PURE__*/React$1.createElement(IconWrapper, {
3034
+ return /*#__PURE__*/React$1.createElement(IconWrapper$2, {
3100
3035
  className: "DownloadIcon"
3101
3036
  }, /*#__PURE__*/React$1.createElement(DownloadIcon, {
3102
3037
  height: iconHeight,
@@ -3104,7 +3039,7 @@ const LinkButton = _ref => {
3104
3039
  color: color
3105
3040
  }));
3106
3041
  case 'document':
3107
- return /*#__PURE__*/React$1.createElement(IconWrapper, {
3042
+ return /*#__PURE__*/React$1.createElement(IconWrapper$2, {
3108
3043
  className: "DocumentIcon"
3109
3044
  }, /*#__PURE__*/React$1.createElement(DocumentIcon, {
3110
3045
  height: iconHeight,
@@ -3112,7 +3047,7 @@ const LinkButton = _ref => {
3112
3047
  color: color
3113
3048
  }));
3114
3049
  case 'fly':
3115
- return /*#__PURE__*/React$1.createElement(IconWrapper, {
3050
+ return /*#__PURE__*/React$1.createElement(IconWrapper$2, {
3116
3051
  className: "FlyIcon"
3117
3052
  }, /*#__PURE__*/React$1.createElement(FlyIcon, {
3118
3053
  height: iconHeight,
@@ -3120,7 +3055,7 @@ const LinkButton = _ref => {
3120
3055
  color: color
3121
3056
  }));
3122
3057
  case 'bell':
3123
- return /*#__PURE__*/React$1.createElement(IconWrapper, {
3058
+ return /*#__PURE__*/React$1.createElement(IconWrapper$2, {
3124
3059
  className: "BellIcon"
3125
3060
  }, /*#__PURE__*/React$1.createElement(BellIcon, {
3126
3061
  height: iconHeight,
@@ -3128,7 +3063,7 @@ const LinkButton = _ref => {
3128
3063
  color: color
3129
3064
  }));
3130
3065
  case 'maintenance':
3131
- return /*#__PURE__*/React$1.createElement(IconWrapper, {
3066
+ return /*#__PURE__*/React$1.createElement(IconWrapper$2, {
3132
3067
  className: "MaintenanceIcon"
3133
3068
  }, /*#__PURE__*/React$1.createElement(MaintenanceIcon, {
3134
3069
  height: iconHeight,
@@ -3136,7 +3071,7 @@ const LinkButton = _ref => {
3136
3071
  color: color
3137
3072
  }));
3138
3073
  case 'exit':
3139
- return /*#__PURE__*/React$1.createElement(IconWrapper, {
3074
+ return /*#__PURE__*/React$1.createElement(IconWrapper$2, {
3140
3075
  className: "ExitIcon"
3141
3076
  }, /*#__PURE__*/React$1.createElement(ExitIcon, {
3142
3077
  height: iconHeight,
@@ -3144,7 +3079,7 @@ const LinkButton = _ref => {
3144
3079
  color: color
3145
3080
  }));
3146
3081
  case 'eye':
3147
- return /*#__PURE__*/React$1.createElement(IconWrapper, {
3082
+ return /*#__PURE__*/React$1.createElement(IconWrapper$2, {
3148
3083
  className: "EyeIcon"
3149
3084
  }, /*#__PURE__*/React$1.createElement(EyeIcon, {
3150
3085
  height: iconHeight,
@@ -3152,7 +3087,7 @@ const LinkButton = _ref => {
3152
3087
  color: color
3153
3088
  }));
3154
3089
  case 'arrowdown':
3155
- return /*#__PURE__*/React$1.createElement(IconWrapper, {
3090
+ return /*#__PURE__*/React$1.createElement(IconWrapper$2, {
3156
3091
  className: "ArrowDownIcon"
3157
3092
  }, /*#__PURE__*/React$1.createElement(MenuItemOpenIcon, {
3158
3093
  height: iconHeight,
@@ -3160,7 +3095,7 @@ const LinkButton = _ref => {
3160
3095
  color: color
3161
3096
  }));
3162
3097
  case 'arrowright':
3163
- return /*#__PURE__*/React$1.createElement(IconWrapper, {
3098
+ return /*#__PURE__*/React$1.createElement(IconWrapper$2, {
3164
3099
  className: "ArrowRightIcon"
3165
3100
  }, /*#__PURE__*/React$1.createElement(MenuItemRightIcon, {
3166
3101
  height: iconHeight,
@@ -3168,7 +3103,7 @@ const LinkButton = _ref => {
3168
3103
  color: color
3169
3104
  }));
3170
3105
  case 'select':
3171
- return /*#__PURE__*/React$1.createElement(IconWrapper, {
3106
+ return /*#__PURE__*/React$1.createElement(IconWrapper$2, {
3172
3107
  className: "SelectRightIcon"
3173
3108
  }, /*#__PURE__*/React$1.createElement(ArrowSelectIcon, {
3174
3109
  height: "16px",
@@ -3176,7 +3111,7 @@ const LinkButton = _ref => {
3176
3111
  color: color
3177
3112
  }));
3178
3113
  case 'info':
3179
- return /*#__PURE__*/React$1.createElement(IconWrapper, {
3114
+ return /*#__PURE__*/React$1.createElement(IconWrapper$2, {
3180
3115
  className: "InfoIcon"
3181
3116
  }, /*#__PURE__*/React$1.createElement(InfoIcon, {
3182
3117
  height: iconHeight,
@@ -3207,7 +3142,7 @@ const LinkButton = _ref => {
3207
3142
  disabled: disabled,
3208
3143
  text_color: textColor || (type === 'secondary' ? '#212121' : '#229E38'),
3209
3144
  font_size: size === 'small' ? '14px' : '16px'
3210
- }, getLeftIcon(), /*#__PURE__*/React$1.createElement(Label$6, {
3145
+ }, getLeftIcon(), /*#__PURE__*/React$1.createElement(Label$7, {
3211
3146
  className: "Label",
3212
3147
  disabled: disabled,
3213
3148
  font_size: size === 'small' ? '14px' : '16px'
@@ -3286,7 +3221,7 @@ const EventDetailsCard = props => {
3286
3221
  const viewButtonClick = e => {
3287
3222
  onViewButtonClick(e);
3288
3223
  };
3289
- return /*#__PURE__*/React.createElement(MainContainer$7, {
3224
+ return /*#__PURE__*/React.createElement(MainContainer$8, {
3290
3225
  className: className,
3291
3226
  height: height,
3292
3227
  width: width
@@ -3364,16 +3299,6 @@ EventDetailsCard.defaultProps = {
3364
3299
  disableViewDetailsButton: false
3365
3300
  };
3366
3301
 
3367
- function _extends() {
3368
- return _extends = Object.assign ? Object.assign.bind() : function (n) {
3369
- for (var e = 1; e < arguments.length; e++) {
3370
- var t = arguments[e];
3371
- for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
3372
- }
3373
- return n;
3374
- }, _extends.apply(null, arguments);
3375
- }
3376
-
3377
3302
  const LinnerContainer$1 = styled.div.attrs(props => ({
3378
3303
  style: {
3379
3304
  backgroundColor: props.$backgroundColor,
@@ -3447,7 +3372,7 @@ const LinnerDataBox = props => {
3447
3372
  backgroundColor = "#FFFFFF",
3448
3373
  customDataFormat = false
3449
3374
  } = props;
3450
- return /*#__PURE__*/React$1.createElement(LinnerContainer$1, _extends({
3375
+ return /*#__PURE__*/React$1.createElement(LinnerContainer$1, _extends$1({
3451
3376
  className: className,
3452
3377
  $backgroundColor: backgroundColor || "white",
3453
3378
  $width: width || "100%",
@@ -3502,21 +3427,6 @@ const TextFieldInput = styled.input`
3502
3427
  }
3503
3428
  `;
3504
3429
 
3505
- const SearchIcon = ({
3506
- width = '13',
3507
- height = '13',
3508
- color = '#212121'
3509
- }) => /*#__PURE__*/React$1.createElement("svg", {
3510
- width: width,
3511
- height: height,
3512
- viewBox: "0 0 13 13",
3513
- fill: "none",
3514
- xmlns: "http://www.w3.org/2000/svg"
3515
- }, /*#__PURE__*/React$1.createElement("path", {
3516
- 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",
3517
- fill: color
3518
- }));
3519
-
3520
3430
  const SearchInput = props => {
3521
3431
  const {
3522
3432
  placeholder,
@@ -3645,7 +3555,7 @@ const Body = styled.div`
3645
3555
  border-radius: ${props => props.setBackground ? '12px' : '0'};
3646
3556
  box-shadow: ${props => props.setBackground ? '0px 0px 20px 0px rgba(0, 0, 0, 0.10)' : 'unset'};
3647
3557
  `;
3648
- const Label$5 = styled.div`
3558
+ const Label$6 = styled.div`
3649
3559
  font-size: 12px;
3650
3560
  font-weight: 400;
3651
3561
  padding: 8px;
@@ -3884,7 +3794,7 @@ const TabMenu = props => {
3884
3794
  color: color,
3885
3795
  width: `${100 / tabs.length}%`,
3886
3796
  role: "presentation"
3887
- }))), headlineContent && /*#__PURE__*/React$1.createElement(TabActionLine, null, headlineContent), setTopRightButton && /*#__PURE__*/React$1.createElement(Button, {
3797
+ }))), headlineContent && /*#__PURE__*/React$1.createElement(TabActionLine, null, headlineContent), setTopRightButton && /*#__PURE__*/React$1.createElement(Button$1, {
3888
3798
  text: rightButtonText,
3889
3799
  rightIcon: rightButtonIcon,
3890
3800
  size: "small",
@@ -3896,7 +3806,7 @@ const TabMenu = props => {
3896
3806
  hoverBorderColor: buttonHoverColor
3897
3807
  })), showActions && /*#__PURE__*/React$1.createElement(ActionsWrapper, {
3898
3808
  className: "ActionsWrapper"
3899
- }, showLabel && /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(Label$5, {
3809
+ }, showLabel && /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(Label$6, {
3900
3810
  className: "Label"
3901
3811
  }, /*#__PURE__*/React$1.createElement("span", null, "Platform: "), "Total"), /*#__PURE__*/React$1.createElement("span", {
3902
3812
  className: "separator"
@@ -8517,7 +8427,7 @@ const DropdownWrapper$2 = styled.div`
8517
8427
  font-size: 14px;
8518
8428
  border-radius: 10px;
8519
8429
  `;
8520
- const Label$4 = styled.label`
8430
+ const Label$5 = styled.label`
8521
8431
  font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
8522
8432
  font-weight: 400;
8523
8433
  padding-inline-end: 5px;
@@ -8540,7 +8450,7 @@ const Label$4 = styled.label`
8540
8450
  cursor: ${props => props.disabled ? 'not-allowed' : 'pointer'};
8541
8451
  }
8542
8452
  `;
8543
- const InputContainer$6 = styled.div`
8453
+ const InputContainer$8 = styled.div`
8544
8454
  display: flex;
8545
8455
  flex-direction: row;
8546
8456
  flex-wrap: nowrap;
@@ -8572,7 +8482,7 @@ const InputContainer$6 = styled.div`
8572
8482
  }
8573
8483
 
8574
8484
  `;
8575
- const InputSubContainer$3 = styled.div`
8485
+ const InputSubContainer$4 = styled.div`
8576
8486
  display: flex;
8577
8487
  flex-direction: column;
8578
8488
  flex-wrap: nowrap;
@@ -8591,7 +8501,7 @@ const InputSubContainer$3 = styled.div`
8591
8501
  outline: none;
8592
8502
  color: ${props => props.disabled ? '#888' : '#212121'};
8593
8503
  `;
8594
- const StyledInput$6 = styled.input`
8504
+ const StyledInput$8 = styled.input`
8595
8505
  width: calc(100% - 10px);
8596
8506
  height: 20px;
8597
8507
  font-family: Poppins;
@@ -8602,7 +8512,7 @@ const StyledInput$6 = styled.input`
8602
8512
  color: ${props => props.disabled ? '#888' : '#212121'};
8603
8513
  border: none;
8604
8514
  `;
8605
- const OptionsContainer$6 = styled.div`
8515
+ const OptionsContainer$7 = styled.div`
8606
8516
  margin: 0;
8607
8517
  top: 100%;
8608
8518
  left: 0;
@@ -8650,7 +8560,7 @@ const OptionItem$3 = styled.li`
8650
8560
  background-color: #EDF6FF;
8651
8561
  }
8652
8562
  `;
8653
- const ErrorMessage$3 = styled.div`
8563
+ const ErrorMessage$4 = styled.div`
8654
8564
  font-size: 12px;
8655
8565
  color: red;
8656
8566
  margin-top: 5px;
@@ -8806,20 +8716,20 @@ const DropdownSingleNew = ({
8806
8716
  width: width,
8807
8717
  onMouseEnter: () => setHoverInputContainer(true),
8808
8718
  onMouseLeave: () => setHoverInputContainer(false)
8809
- }, /*#__PURE__*/React$1.createElement(InputContainer$6, {
8719
+ }, /*#__PURE__*/React$1.createElement(InputContainer$8, {
8810
8720
  className: "InputContainer",
8811
8721
  labelColor: labelColor,
8812
8722
  disabled: disabled,
8813
8723
  error: error,
8814
8724
  isFocused: isFocused
8815
- }, /*#__PURE__*/React$1.createElement(InputSubContainer$3, {
8725
+ }, /*#__PURE__*/React$1.createElement(InputSubContainer$4, {
8816
8726
  className: "InputSubContainer",
8817
8727
  ref: containerRef,
8818
8728
  labelColor: labelColor,
8819
8729
  disabled: disabled,
8820
8730
  error: error,
8821
8731
  onClick: handleLabelClick
8822
- }, /*#__PURE__*/React$1.createElement(Label$4, {
8732
+ }, /*#__PURE__*/React$1.createElement(Label$5, {
8823
8733
  className: "Label",
8824
8734
  isFocused: isFocused,
8825
8735
  labelColor: labelColor,
@@ -8829,7 +8739,7 @@ const DropdownSingleNew = ({
8829
8739
  errorMessage: errorMessage,
8830
8740
  onClick: handleLabelClick,
8831
8741
  showLabelOnTop: showLabelOnTop
8832
- }, getLabel(), getRequired()), /*#__PURE__*/React$1.createElement(StyledInput$6, {
8742
+ }, getLabel(), getRequired()), /*#__PURE__*/React$1.createElement(StyledInput$8, {
8833
8743
  className: "StyledInput",
8834
8744
  ref: inputRef,
8835
8745
  value: selectedOptions && selectedOptions?.length > 0 ? selectedOptions[0].label : inputValue && inputValue?.length > 0 ? inputValue[0].label : "",
@@ -8857,7 +8767,7 @@ const DropdownSingleNew = ({
8857
8767
  width: "12px",
8858
8768
  height: "12px",
8859
8769
  color: "#B1B1B1"
8860
- }))), error && errorMessage?.length > 0 && /*#__PURE__*/React$1.createElement(ErrorMessage$3, null, errorMessage), /*#__PURE__*/React$1.createElement(OptionsContainer$6, {
8770
+ }))), error && errorMessage?.length > 0 && /*#__PURE__*/React$1.createElement(ErrorMessage$4, null, errorMessage), /*#__PURE__*/React$1.createElement(OptionsContainer$7, {
8861
8771
  className: "OptionsContainer",
8862
8772
  onMouseEnter: () => setHoverOptionsContainer(true),
8863
8773
  onMouseLeave: () => setHoverOptionsContainer(false),
@@ -8984,7 +8894,7 @@ const DropdownWrapper$1 = styled.div`
8984
8894
  font-size: 14px;
8985
8895
  border-radius: 10px;
8986
8896
  `;
8987
- const Label$3 = styled.label`
8897
+ const Label$4 = styled.label`
8988
8898
  font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
8989
8899
  font-weight: 400;
8990
8900
  padding-inline-end: 5px;
@@ -9007,7 +8917,7 @@ const Label$3 = styled.label`
9007
8917
  cursor: ${props => props.disabled ? 'not-allowed' : 'pointer'};
9008
8918
  }
9009
8919
  `;
9010
- const InputContainer$5 = styled.div`
8920
+ const InputContainer$7 = styled.div`
9011
8921
  display: flex;
9012
8922
  flex-direction: row;
9013
8923
  flex-wrap: nowrap;
@@ -9038,7 +8948,7 @@ const InputContainer$5 = styled.div`
9038
8948
  border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.labelColor || '#212121'};
9039
8949
  }
9040
8950
  `;
9041
- const InputSubContainer$2 = styled.div`
8951
+ const InputSubContainer$3 = styled.div`
9042
8952
 
9043
8953
  display: flex;
9044
8954
  flex-direction: column;
@@ -9058,7 +8968,7 @@ const InputSubContainer$2 = styled.div`
9058
8968
  outline: none;
9059
8969
  color: ${props => props.disabled ? '#888' : '#212121'};
9060
8970
  `;
9061
- const StyledInput$5 = styled.input`
8971
+ const StyledInput$7 = styled.input`
9062
8972
  width: calc(100% - 20px);
9063
8973
  height: 25px;
9064
8974
  font-family: Poppins;
@@ -9069,7 +8979,7 @@ const StyledInput$5 = styled.input`
9069
8979
  color: ${props => props.disabled ? '#888' : '#212121'};
9070
8980
  border: none;
9071
8981
  `;
9072
- const OptionsContainer$5 = styled.div`
8982
+ const OptionsContainer$6 = styled.div`
9073
8983
  margin: 0;
9074
8984
  top: 100%;
9075
8985
  left: 0;
@@ -9116,7 +9026,7 @@ const OptionItem$2 = styled.li`
9116
9026
  background-color: #EDF6FF;
9117
9027
  }
9118
9028
  `;
9119
- const ErrorMessage$2 = styled.div`
9029
+ const ErrorMessage$3 = styled.div`
9120
9030
  font-size: 12px;
9121
9031
  color: red;
9122
9032
  margin-top: 5px;
@@ -9323,20 +9233,20 @@ const DropdownMultiNew = ({
9323
9233
  width: width,
9324
9234
  onMouseEnter: () => setHoverInputContainer(true),
9325
9235
  onMouseLeave: () => setHoverInputContainer(false)
9326
- }, /*#__PURE__*/React$1.createElement(InputContainer$5, {
9236
+ }, /*#__PURE__*/React$1.createElement(InputContainer$7, {
9327
9237
  className: "InputContainer",
9328
9238
  labelColor: labelColor,
9329
9239
  disabled: disabled,
9330
9240
  error: error,
9331
9241
  isFocused: isFocused
9332
- }, /*#__PURE__*/React$1.createElement(InputSubContainer$2, {
9242
+ }, /*#__PURE__*/React$1.createElement(InputSubContainer$3, {
9333
9243
  className: "InputSubContainer",
9334
9244
  ref: containerRef,
9335
9245
  labelColor: labelColor,
9336
9246
  disabled: disabled,
9337
9247
  error: error,
9338
9248
  onClick: handleLabelClick
9339
- }, /*#__PURE__*/React$1.createElement(Label$3, {
9249
+ }, /*#__PURE__*/React$1.createElement(Label$4, {
9340
9250
  className: "Label",
9341
9251
  isFocused: isFocused,
9342
9252
  labelColor: labelColor,
@@ -9346,7 +9256,7 @@ const DropdownMultiNew = ({
9346
9256
  errorMessage: errorMessage,
9347
9257
  onClick: handleLabelClick,
9348
9258
  showLabelOnTop: showLabelOnTop
9349
- }, getLabel(), getRequired()), displaySelectedOptions(), showOptions ? /*#__PURE__*/React$1.createElement(StyledInput$5, {
9259
+ }, getLabel(), getRequired()), displaySelectedOptions(), showOptions ? /*#__PURE__*/React$1.createElement(StyledInput$7, {
9350
9260
  className: "StyledInput",
9351
9261
  ref: inputRef,
9352
9262
  value: inputValue,
@@ -9376,7 +9286,7 @@ const DropdownMultiNew = ({
9376
9286
  width: "12px",
9377
9287
  height: "12px",
9378
9288
  color: "#B1B1B1"
9379
- }))), error && errorMessage?.length > 0 && /*#__PURE__*/React$1.createElement(ErrorMessage$2, null, errorMessage), /*#__PURE__*/React$1.createElement(OptionsContainer$5, {
9289
+ }))), error && errorMessage?.length > 0 && /*#__PURE__*/React$1.createElement(ErrorMessage$3, null, errorMessage), /*#__PURE__*/React$1.createElement(OptionsContainer$6, {
9380
9290
  className: "OptionsContainer",
9381
9291
  onMouseEnter: () => setHoverOptionsContainer(true),
9382
9292
  onMouseLeave: () => setHoverOptionsContainer(false),
@@ -9463,27 +9373,34 @@ const DropdownMain = styled.div`
9463
9373
  `;
9464
9374
 
9465
9375
  /* eslint-disable react/prop-types */
9466
- const DropdownNew = _ref => {
9467
- let {
9468
- isMulti,
9469
- label,
9470
- labelEmptyValue,
9471
- options,
9472
- selectedValue,
9473
- placeHolder,
9474
- onChange,
9475
- required,
9476
- disabled,
9477
- width,
9478
- error,
9479
- errorMessage,
9480
- labelColor,
9481
- checkBoxColor,
9482
- xIconShow,
9483
- showLabelOnTop,
9484
- orderBy,
9485
- elementType
9486
- } = _ref;
9376
+ const DropdownNew = props => {
9377
+ const {
9378
+ isMulti = false,
9379
+ label = "",
9380
+ labelEmptyValue = "",
9381
+ options = [],
9382
+ selectedValue = null,
9383
+ placeHolder = "",
9384
+ onChange = () => {},
9385
+ handleChange = () => {},
9386
+ required = false,
9387
+ disabled = false,
9388
+ width = "300px",
9389
+ error = false,
9390
+ showLabelOnTop = true,
9391
+ orderBy = "",
9392
+ elementType = "dropdown",
9393
+ errorMessage = "",
9394
+ labelColor = "#066768",
9395
+ checkBoxColor = "#229E38",
9396
+ xIconShow = true
9397
+ } = props;
9398
+ const handleOnChange = event => {
9399
+ if (event && event.newValue && event.newValue[0]) {
9400
+ onChange && onChange(event);
9401
+ handleChange && handleChange(event.newValue[0].value);
9402
+ }
9403
+ };
9487
9404
  return /*#__PURE__*/React$1.createElement(DropdownMain, {
9488
9405
  className: "DropdownMain",
9489
9406
  width: width
@@ -9502,7 +9419,7 @@ const DropdownNew = _ref => {
9502
9419
  errorMessage: errorMessage,
9503
9420
  selectedValue: selectedValue,
9504
9421
  xIconShow: xIconShow,
9505
- onChange: onChange,
9422
+ onChange: handleOnChange,
9506
9423
  showLabelOnTop: showLabelOnTop,
9507
9424
  orderBy: orderBy,
9508
9425
  elementType: elementType
@@ -9521,54 +9438,12 @@ const DropdownNew = _ref => {
9521
9438
  errorMessage: errorMessage,
9522
9439
  selectedValue: selectedValue,
9523
9440
  xIconShow: xIconShow,
9524
- onChange: onChange,
9441
+ onChange: handleOnChange,
9525
9442
  showLabelOnTop: showLabelOnTop,
9526
9443
  orderBy: orderBy,
9527
9444
  elementType: elementType
9528
9445
  }));
9529
9446
  };
9530
- DropdownNew.propTypes = {
9531
- placeHolder: PropTypes.string,
9532
- label: PropTypes.string,
9533
- labelEmptyValue: PropTypes.string,
9534
- labelColor: PropTypes.string,
9535
- checkBoxColor: PropTypes.string,
9536
- required: PropTypes.bool,
9537
- width: PropTypes.string,
9538
- disabled: PropTypes.bool,
9539
- error: PropTypes.bool,
9540
- errorMessage: PropTypes.string,
9541
- options: PropTypes.arrayOf(PropTypes.shape({
9542
- id: PropTypes.string,
9543
- label: PropTypes.string
9544
- })),
9545
- selectedValue: PropTypes.arrayOf(PropTypes.shape({
9546
- id: PropTypes.string,
9547
- label: PropTypes.string
9548
- })),
9549
- xIconShow: PropTypes.bool,
9550
- onChange: PropTypes.func,
9551
- showLabelOnTop: PropTypes.bool
9552
- };
9553
- DropdownNew.defaultProps = {
9554
- placeHolder: "Type...",
9555
- label: "Label",
9556
- labelEmptyValue: "All Labels",
9557
- labelColor: "#066768",
9558
- checkBoxColor: "#229E38",
9559
- required: true,
9560
- width: "300px",
9561
- disabled: false,
9562
- error: false,
9563
- errorMessage: "",
9564
- options: [],
9565
- selectedValue: [],
9566
- xIconShow: true,
9567
- onChange: () => {},
9568
- showLabelOnTop: true,
9569
- orderBy: "asc",
9570
- elementType: "number"
9571
- };
9572
9447
 
9573
9448
  const Calendar = () => /*#__PURE__*/React$1.createElement("svg", {
9574
9449
  width: "11",
@@ -9605,7 +9480,7 @@ const RangePickerContainer = styled.div`
9605
9480
  width: ${props => props.width || '100%'};
9606
9481
  height: ${props => props.height || '60px'};
9607
9482
  `;
9608
- const CalendarDiv$2 = styled.div`
9483
+ const CalendarDiv$3 = styled.div`
9609
9484
  position: absolute;
9610
9485
  width: 11px;
9611
9486
  height: 11px;
@@ -9617,7 +9492,7 @@ const CalendarDiv$2 = styled.div`
9617
9492
  }
9618
9493
 
9619
9494
  `;
9620
- const InputContainer$4 = styled.div`
9495
+ const InputContainer$6 = styled.div`
9621
9496
  display: flex;
9622
9497
  flex-direction: row;
9623
9498
  flex-wrap: nowrap;
@@ -9647,7 +9522,7 @@ const InputContainer$4 = styled.div`
9647
9522
  border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.borderColorFocus || '#212121'};
9648
9523
  }
9649
9524
  `;
9650
- const StyledInput$4 = styled.input`
9525
+ const StyledInput$6 = styled.input`
9651
9526
  padding: 20px;
9652
9527
  font-size: 14px;
9653
9528
  border-radius: ${props => props.borderRadius || '4px'};
@@ -9664,7 +9539,7 @@ const StyledInput$4 = styled.input`
9664
9539
  color: ${props => props.disabled ? '#888' : (props.isFocused || props.value ? props.textColor : '#757575') || '#333'};
9665
9540
  cursor: ${props => props.disabled ? 'not-allowed' : 'text'};
9666
9541
  `;
9667
- const StyledLabel$2 = styled.label`
9542
+ const StyledLabel$3 = styled.label`
9668
9543
  font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
9669
9544
  padding-inline-end: 5px;
9670
9545
  padding-inline-start: 5px;
@@ -9684,7 +9559,7 @@ const StyledLabel$2 = styled.label`
9684
9559
  box-sizing: border-box;
9685
9560
  cursor: pointer;
9686
9561
  `;
9687
- const RequiredIndicator$2 = styled.span`
9562
+ const RequiredIndicator$3 = styled.span`
9688
9563
  color: red;
9689
9564
  margin-left: 5px;
9690
9565
  `;
@@ -9693,7 +9568,7 @@ styled.div`
9693
9568
  color: red;
9694
9569
  margin-top: 5px;
9695
9570
  `;
9696
- const OptionsContainer$4 = styled.div`
9571
+ const OptionsContainer$5 = styled.div`
9697
9572
  display: block;
9698
9573
  margin: 0;
9699
9574
  padding-top: 8px;
@@ -10044,7 +9919,7 @@ const RangePicker = _ref => {
10044
9919
  onClick: handleFocus,
10045
9920
  width: width,
10046
9921
  height: height
10047
- }, /*#__PURE__*/React$1.createElement(InputContainer$4, {
9922
+ }, /*#__PURE__*/React$1.createElement(InputContainer$6, {
10048
9923
  className: "InputContainer",
10049
9924
  isFocused: isFocused,
10050
9925
  hasValue: value,
@@ -10054,7 +9929,7 @@ const RangePicker = _ref => {
10054
9929
  borderColorFocus: borderColorFocus,
10055
9930
  onMouseEnter: () => setHoverInputContainer(true),
10056
9931
  onMouseLeave: () => setHoverInputContainer(false)
10057
- }, /*#__PURE__*/React$1.createElement(StyledLabel$2, {
9932
+ }, /*#__PURE__*/React$1.createElement(StyledLabel$3, {
10058
9933
  className: "StyledLabel",
10059
9934
  onClick: handleFocus,
10060
9935
  isFocused: isFocused,
@@ -10063,7 +9938,7 @@ const RangePicker = _ref => {
10063
9938
  textColor: textColor,
10064
9939
  borderColor: borderColor,
10065
9940
  borderColorFocus: borderColorFocus
10066
- }, label, required && /*#__PURE__*/React$1.createElement(RequiredIndicator$2, null, "*")), /*#__PURE__*/React$1.createElement(StyledInput$4, {
9941
+ }, label, required && /*#__PURE__*/React$1.createElement(RequiredIndicator$3, null, "*")), /*#__PURE__*/React$1.createElement(StyledInput$6, {
10067
9942
  className: "StyledInput",
10068
9943
  ref: inputRef,
10069
9944
  value: value,
@@ -10079,14 +9954,14 @@ const RangePicker = _ref => {
10079
9954
  textColor: textColor,
10080
9955
  borderColor: borderColor,
10081
9956
  borderColorFocus: borderColorFocus
10082
- }), /*#__PURE__*/React$1.createElement(CalendarDiv$2, {
9957
+ }), /*#__PURE__*/React$1.createElement(CalendarDiv$3, {
10083
9958
  className: "CalendarDiv",
10084
9959
  onClick: toggleDatePicker
10085
9960
  }, isOpen === true ? /*#__PURE__*/React$1.createElement(CalendarInOpen, {
10086
9961
  className: "CalendarInOpen"
10087
9962
  }) : /*#__PURE__*/React$1.createElement(Calendar, {
10088
9963
  className: "Calendar"
10089
- }))), /*#__PURE__*/React$1.createElement(OptionsContainer$4, {
9964
+ }))), /*#__PURE__*/React$1.createElement(OptionsContainer$5, {
10090
9965
  className: "OptionsContainer",
10091
9966
  onMouseEnter: () => setHoverOptionsContainer(true),
10092
9967
  onMouseLeave: () => setHoverOptionsContainer(false)
@@ -10139,14 +10014,14 @@ const QuarterPickerContainer = styled.div`
10139
10014
  width: ${props => props.width || '100%'};
10140
10015
  height: ${props => props.height || '60px'};
10141
10016
  `;
10142
- const CalendarDiv$1 = styled.div`
10017
+ const CalendarDiv$2 = styled.div`
10143
10018
  position: absolute;
10144
10019
  width: 11px;
10145
10020
  height: 11px;
10146
10021
  top: ${props => parseInt(props.height, 10) / 2 || '20px'};
10147
10022
  right: 25px;
10148
10023
  `;
10149
- const InputContainer$3 = styled.div`
10024
+ const InputContainer$5 = styled.div`
10150
10025
  display: flex;
10151
10026
  flex-direction: row;
10152
10027
  flex-wrap: nowrap;
@@ -10176,7 +10051,7 @@ const InputContainer$3 = styled.div`
10176
10051
  border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.borderColorFocus || '#212121'};
10177
10052
  }
10178
10053
  `;
10179
- const StyledInput$3 = styled.input`
10054
+ const StyledInput$5 = styled.input`
10180
10055
  padding: 20px;
10181
10056
  font-size: 14px;
10182
10057
  border-radius: ${props => props.borderRadius || '4px'};
@@ -10193,7 +10068,7 @@ const StyledInput$3 = styled.input`
10193
10068
  color: ${props => props.disabled ? '#888' : (props.isFocused || props.value ? props.textColor : '#757575') || '#333'};
10194
10069
  cursor: ${props => props.disabled ? 'not-allowed' : 'text'};
10195
10070
  `;
10196
- const StyledLabel$1 = styled.label`
10071
+ const StyledLabel$2 = styled.label`
10197
10072
  font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
10198
10073
  padding-inline-end: 5px;
10199
10074
  padding-inline-start: 5px;
@@ -10213,7 +10088,7 @@ const StyledLabel$1 = styled.label`
10213
10088
  box-sizing: border-box;
10214
10089
  cursor: pointer;
10215
10090
  `;
10216
- const RequiredIndicator$1 = styled.span`
10091
+ const RequiredIndicator$2 = styled.span`
10217
10092
  color: red;
10218
10093
  margin-left: 5px;
10219
10094
  `;
@@ -10222,7 +10097,7 @@ styled.div`
10222
10097
  color: red;
10223
10098
  margin-top: 5px;
10224
10099
  `;
10225
- const OptionsContainer$3 = styled.div`
10100
+ const OptionsContainer$4 = styled.div`
10226
10101
  display: block;
10227
10102
  margin: 0;
10228
10103
  padding-top: 8px;
@@ -10477,7 +10352,7 @@ const QuarterPicker = _ref => {
10477
10352
  onClick: handleFocus,
10478
10353
  width: width,
10479
10354
  height: height
10480
- }, /*#__PURE__*/React$1.createElement(InputContainer$3, {
10355
+ }, /*#__PURE__*/React$1.createElement(InputContainer$5, {
10481
10356
  className: "InputContainer",
10482
10357
  isFocused: isFocused,
10483
10358
  hasValue: value,
@@ -10487,7 +10362,7 @@ const QuarterPicker = _ref => {
10487
10362
  borderColorFocus: borderColorFocus,
10488
10363
  onMouseEnter: () => setHoverInputContainer(true),
10489
10364
  onMouseLeave: () => setHoverInputContainer(false)
10490
- }, /*#__PURE__*/React$1.createElement(StyledLabel$1, {
10365
+ }, /*#__PURE__*/React$1.createElement(StyledLabel$2, {
10491
10366
  className: "StyledLabel",
10492
10367
  onClick: handleFocus,
10493
10368
  isFocused: isFocused,
@@ -10496,7 +10371,7 @@ const QuarterPicker = _ref => {
10496
10371
  textColor: textColor,
10497
10372
  borderColor: borderColor,
10498
10373
  borderColorFocus: borderColorFocus
10499
- }, label, required && /*#__PURE__*/React$1.createElement(RequiredIndicator$1, null, "*")), /*#__PURE__*/React$1.createElement(StyledInput$3, {
10374
+ }, label, required && /*#__PURE__*/React$1.createElement(RequiredIndicator$2, null, "*")), /*#__PURE__*/React$1.createElement(StyledInput$5, {
10500
10375
  className: "StyledInput",
10501
10376
  ref: inputRef,
10502
10377
  value: value,
@@ -10512,11 +10387,11 @@ const QuarterPicker = _ref => {
10512
10387
  disabled: disabled,
10513
10388
  borderColor: borderColor,
10514
10389
  textColor: textColor
10515
- }), /*#__PURE__*/React$1.createElement(CalendarDiv$1, {
10390
+ }), /*#__PURE__*/React$1.createElement(CalendarDiv$2, {
10516
10391
  className: "CalendarDiv",
10517
10392
  width: width,
10518
10393
  onClick: toggleDatePicker
10519
- }, isOpen === true ? /*#__PURE__*/React$1.createElement(CalendarInOpen, null) : /*#__PURE__*/React$1.createElement(Calendar, null))), /*#__PURE__*/React$1.createElement(OptionsContainer$3, {
10394
+ }, isOpen === true ? /*#__PURE__*/React$1.createElement(CalendarInOpen, null) : /*#__PURE__*/React$1.createElement(Calendar, null))), /*#__PURE__*/React$1.createElement(OptionsContainer$4, {
10520
10395
  className: "OptionsContainer",
10521
10396
  onMouseEnter: () => setHoverOptionsContainer(true),
10522
10397
  onMouseLeave: () => setHoverOptionsContainer(false)
@@ -10565,14 +10440,14 @@ const MonthPickerContainer = styled.div`
10565
10440
  width: ${props => props.width || '100%'};
10566
10441
  height: ${props => props.height || '60px'};
10567
10442
  `;
10568
- const CalendarDiv = styled.div`
10443
+ const CalendarDiv$1 = styled.div`
10569
10444
  position: absolute;
10570
10445
  width: 11px;
10571
10446
  height: 11px;
10572
10447
  top: ${props => parseInt(props.height, 10) / 2 || '20px'};
10573
10448
  right: 25px;
10574
10449
  `;
10575
- const InputContainer$2 = styled.div`
10450
+ const InputContainer$4 = styled.div`
10576
10451
  display: flex;
10577
10452
  flex-direction: row;
10578
10453
  flex-wrap: nowrap;
@@ -10602,7 +10477,7 @@ const InputContainer$2 = styled.div`
10602
10477
  border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.borderColorFocus || '#212121'};
10603
10478
  }
10604
10479
  `;
10605
- const StyledInput$2 = styled.input`
10480
+ const StyledInput$4 = styled.input`
10606
10481
  padding: 20px;
10607
10482
  font-size: 14px;
10608
10483
  border-radius: ${props => props.borderRadius || '4px'};
@@ -10620,7 +10495,7 @@ const StyledInput$2 = styled.input`
10620
10495
  color: ${props => props.disabled ? '#888' : (props.isFocused || props.value ? props.textColor : '#757575') || '#333'};
10621
10496
  cursor: ${props => props.disabled ? 'not-allowed' : 'text'};
10622
10497
  `;
10623
- const StyledLabel = styled.label`
10498
+ const StyledLabel$1 = styled.label`
10624
10499
  font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
10625
10500
  padding-inline-end: 5px;
10626
10501
  padding-inline-start: 5px;
@@ -10640,7 +10515,7 @@ const StyledLabel = styled.label`
10640
10515
  box-sizing: border-box;
10641
10516
  cursor: pointer;
10642
10517
  `;
10643
- const RequiredIndicator = styled.span`
10518
+ const RequiredIndicator$1 = styled.span`
10644
10519
  color: red;
10645
10520
  margin-left: 5px;
10646
10521
  `;
@@ -10649,7 +10524,7 @@ styled.div`
10649
10524
  color: red;
10650
10525
  margin-top: 5px;
10651
10526
  `;
10652
- const OptionsContainer$2 = styled.div`
10527
+ const OptionsContainer$3 = styled.div`
10653
10528
  display: block;
10654
10529
  margin: 0;
10655
10530
  padding-top: 8px;
@@ -10934,7 +10809,7 @@ const MonthPicker = _ref => {
10934
10809
  onClick: handleFocus,
10935
10810
  width: width,
10936
10811
  height: height
10937
- }, /*#__PURE__*/React$1.createElement(InputContainer$2, {
10812
+ }, /*#__PURE__*/React$1.createElement(InputContainer$4, {
10938
10813
  className: "InputContainer",
10939
10814
  isFocused: isFocused,
10940
10815
  hasValue: value,
@@ -10944,7 +10819,7 @@ const MonthPicker = _ref => {
10944
10819
  borderColorFocus: borderColorFocus,
10945
10820
  onMouseEnter: () => setHoverInputContainer(true),
10946
10821
  onMouseLeave: () => setHoverInputContainer(false)
10947
- }, /*#__PURE__*/React$1.createElement(StyledLabel, {
10822
+ }, /*#__PURE__*/React$1.createElement(StyledLabel$1, {
10948
10823
  className: "StyledLabel",
10949
10824
  onClick: handleFocus,
10950
10825
  isFocused: isFocused,
@@ -10953,7 +10828,7 @@ const MonthPicker = _ref => {
10953
10828
  textColor: textColor,
10954
10829
  borderColor: borderColor,
10955
10830
  borderColorFocus: borderColorFocus
10956
- }, label, required && /*#__PURE__*/React$1.createElement(RequiredIndicator, null, "*")), /*#__PURE__*/React$1.createElement(StyledInput$2, {
10831
+ }, label, required && /*#__PURE__*/React$1.createElement(RequiredIndicator$1, null, "*")), /*#__PURE__*/React$1.createElement(StyledInput$4, {
10957
10832
  className: "StyledInput",
10958
10833
  ref: inputRef,
10959
10834
  value: value,
@@ -10969,11 +10844,11 @@ const MonthPicker = _ref => {
10969
10844
  disabled: disabled,
10970
10845
  borderColor: borderColor,
10971
10846
  textColor: textColor
10972
- }), /*#__PURE__*/React$1.createElement(CalendarDiv, {
10847
+ }), /*#__PURE__*/React$1.createElement(CalendarDiv$1, {
10973
10848
  className: "CalendarDiv",
10974
10849
  width: width,
10975
10850
  onClick: toggleDatePicker
10976
- }, isOpen === true ? /*#__PURE__*/React$1.createElement(CalendarInOpen, null) : /*#__PURE__*/React$1.createElement(Calendar, null))), /*#__PURE__*/React$1.createElement(OptionsContainer$2, {
10851
+ }, isOpen === true ? /*#__PURE__*/React$1.createElement(CalendarInOpen, null) : /*#__PURE__*/React$1.createElement(Calendar, null))), /*#__PURE__*/React$1.createElement(OptionsContainer$3, {
10977
10852
  className: "OptionsContainer",
10978
10853
  onMouseEnter: () => setHoverOptionsContainer(true),
10979
10854
  onMouseLeave: () => setHoverOptionsContainer(false)
@@ -11615,7 +11490,7 @@ const FilterPanel = props => {
11615
11490
  content: getTooltipTextGoButton(),
11616
11491
  direction: "top",
11617
11492
  topFactor: -0.9
11618
- }, /*#__PURE__*/React$1.createElement(Button, {
11493
+ }, /*#__PURE__*/React$1.createElement(Button$1, {
11619
11494
  text: "Go",
11620
11495
  type: "primary",
11621
11496
  size: "medium",
@@ -11643,7 +11518,7 @@ const FilterPanel = props => {
11643
11518
  })
11644
11519
  }));
11645
11520
  } else {
11646
- content = /*#__PURE__*/React$1.createElement(Button, {
11521
+ content = /*#__PURE__*/React$1.createElement(Button$1, {
11647
11522
  text: "Go",
11648
11523
  type: "primary",
11649
11524
  size: "medium",
@@ -11683,7 +11558,7 @@ const FilterPanel = props => {
11683
11558
  ref: AllFieldsContainerRef
11684
11559
  }, displayFields(FieldsDataState)), /*#__PURE__*/React$1.createElement(ButtonsContainer, {
11685
11560
  className: "ButtonsContainer"
11686
- }, displayGoButton(), /*#__PURE__*/React$1.createElement(Button, {
11561
+ }, displayGoButton(), /*#__PURE__*/React$1.createElement(Button$1, {
11687
11562
  text: "Reset",
11688
11563
  size: "medium",
11689
11564
  type: "secondary",
@@ -12021,7 +11896,7 @@ const Loader$1 = styled.span`
12021
11896
  animation: ${rotation$1} 1.5s infinite ease;
12022
11897
  transform: translateZ(0);
12023
11898
  `;
12024
- const TableWrapper$1 = styled.div`
11899
+ const TableWrapper$2 = styled.div`
12025
11900
  position: relative;
12026
11901
  width: ${props => `${props.width}`};
12027
11902
  height: ${props => `${props.height}`};
@@ -12031,7 +11906,7 @@ const TableWrapper$1 = styled.div`
12031
11906
  overflow-x: ${props => props.columnsNumber > props.maxColumnsNumber ? 'auto' : 'hidden'};
12032
11907
  ${scrollableStyles$9}
12033
11908
  `;
12034
- const Table$1 = styled.table`
11909
+ const Table$2 = styled.table`
12035
11910
  font-family: "Poppins", sans-serif;
12036
11911
  width: ${props => `${props.tableWidthSize}%`};
12037
11912
  table-layout: fixed;
@@ -12336,13 +12211,13 @@ const ReportTable = props => {
12336
12211
  return newState;
12337
12212
  });
12338
12213
  };
12339
- return /*#__PURE__*/React$1.createElement(ReportTableWrapper, null, /*#__PURE__*/React$1.createElement(TableWrapper$1, {
12214
+ return /*#__PURE__*/React$1.createElement(ReportTableWrapper, null, /*#__PURE__*/React$1.createElement(TableWrapper$2, {
12340
12215
  width: width,
12341
12216
  height: height,
12342
12217
  className: className,
12343
12218
  maxColumnsNumber: getMaxColnumber(),
12344
12219
  columnsNumber: columnsNumber
12345
- }, /*#__PURE__*/React$1.createElement(Table$1, {
12220
+ }, /*#__PURE__*/React$1.createElement(Table$2, {
12346
12221
  tableWidthSize: tableWidthSize
12347
12222
  }, /*#__PURE__*/React$1.createElement("thead", null, /*#__PURE__*/React$1.createElement(Tr, null, tableData.columnsHeadings.map((headline, index) => /*#__PURE__*/React$1.createElement(Th$1, {
12348
12223
  key: index
@@ -12620,7 +12495,7 @@ EventListItem.defaultProps = {
12620
12495
  onClick: () => {}
12621
12496
  };
12622
12497
 
12623
- const MainContainer$5 = styled.div`
12498
+ const MainContainer$6 = styled.div`
12624
12499
  /* display: flex; */
12625
12500
  position: relative;
12626
12501
  font-family: "Poppins", sans-serif;
@@ -12683,7 +12558,7 @@ const EventList = props => {
12683
12558
  };
12684
12559
 
12685
12560
  //= ======================================== MAIN RETURN ====================================
12686
- return /*#__PURE__*/React$1.createElement(MainContainer$5, {
12561
+ return /*#__PURE__*/React$1.createElement(MainContainer$6, {
12687
12562
  id: "MainContainer",
12688
12563
  height: height,
12689
12564
  width: width
@@ -12879,7 +12754,7 @@ const CollapseMenuItemContentContainer = styled.div`
12879
12754
  font-size: 12px;
12880
12755
  }
12881
12756
  `;
12882
- const MainContainer$4 = styled.div`
12757
+ const MainContainer$5 = styled.div`
12883
12758
  width: ${props => props.width};
12884
12759
  height: ${props => props.height};
12885
12760
  display: flex;
@@ -12894,7 +12769,7 @@ const DraftTag$1 = styled.div`
12894
12769
  height: fit-content;
12895
12770
  `;
12896
12771
 
12897
- const MainContainer$3 = styled.div`
12772
+ const MainContainer$4 = styled.div`
12898
12773
  width: ${props => props.width};
12899
12774
  height: ${props => props.height};
12900
12775
  font-family: 'Poppins', sans-serif;
@@ -13011,10 +12886,10 @@ const BannerEventBox = props => {
13011
12886
  const onInfoClickHandler = event => {
13012
12887
  onInfoClick(event);
13013
12888
  };
13014
- return /*#__PURE__*/React$1.createElement(MainContainer$3, {
12889
+ return /*#__PURE__*/React$1.createElement(MainContainer$4, {
13015
12890
  height: height,
13016
12891
  width: width
13017
- }, /*#__PURE__*/React$1.createElement(TitleWrapper, null, formatedBanners().icon, "|", /*#__PURE__*/React$1.createElement(CardTitle, null, formatedBanners().name)), /*#__PURE__*/React$1.createElement(Block, null, /*#__PURE__*/React$1.createElement(Headline, null, "Event Description"), /*#__PURE__*/React$1.createElement(Text, null, description)), /*#__PURE__*/React$1.createElement(Block, null, /*#__PURE__*/React$1.createElement(Headline, null, "Event Dates:"), /*#__PURE__*/React$1.createElement(Text, null, dates.join(" - "))), /*#__PURE__*/React$1.createElement(ButtonWrap, null, /*#__PURE__*/React$1.createElement(Button, {
12892
+ }, /*#__PURE__*/React$1.createElement(TitleWrapper, null, formatedBanners().icon, "|", /*#__PURE__*/React$1.createElement(CardTitle, null, formatedBanners().name)), /*#__PURE__*/React$1.createElement(Block, null, /*#__PURE__*/React$1.createElement(Headline, null, "Event Description"), /*#__PURE__*/React$1.createElement(Text, null, description)), /*#__PURE__*/React$1.createElement(Block, null, /*#__PURE__*/React$1.createElement(Headline, null, "Event Dates:"), /*#__PURE__*/React$1.createElement(Text, null, dates.join(" - "))), /*#__PURE__*/React$1.createElement(ButtonWrap, null, /*#__PURE__*/React$1.createElement(Button$1, {
13018
12893
  leftIcon: "Eye",
13019
12894
  onClick: () => onInfoClickHandler(banner),
13020
12895
  text: buttonText,
@@ -13089,7 +12964,7 @@ const BannerEventBoxList = props => {
13089
12964
  color: toggleColor
13090
12965
  }))), IsItemOpen && /*#__PURE__*/React$1.createElement(CollapseMenuItemContentContainer, {
13091
12966
  id: "CollapseMenuItemContentContainer"
13092
- }, cardsContent ? /*#__PURE__*/React$1.createElement(MainContainer$4, {
12967
+ }, cardsContent ? /*#__PURE__*/React$1.createElement(MainContainer$5, {
13093
12968
  width: width,
13094
12969
  height: height
13095
12970
  }, data.map(item => /*#__PURE__*/React$1.createElement(BannerEventBox, {
@@ -13123,7 +12998,7 @@ const scrollableStyles$8 = `
13123
12998
  border-radius: 5px;
13124
12999
  }
13125
13000
  `;
13126
- const ModalWrapper = styled.dialog`
13001
+ const ModalWrapper$1 = styled.dialog`
13127
13002
  width: 100vw;
13128
13003
  height: 100vh;
13129
13004
  padding: 20px;
@@ -13139,23 +13014,23 @@ const ModalWrapper = styled.dialog`
13139
13014
  align-content: center;
13140
13015
  }
13141
13016
  `;
13142
- const Modal = styled.div`
13017
+ const Modal$1 = styled.div`
13143
13018
  width: 79%;
13144
13019
  max-width: 1500px;
13145
13020
  margin: 0 auto;
13146
13021
  ${scrollableStyles$8}
13147
13022
  `;
13148
- const ModalHeader = styled.div`
13023
+ const ModalHeader$1 = styled.div`
13149
13024
  display: flex;
13150
13025
  align-items: center;
13151
13026
  justify-content: space-between;
13152
13027
  margin-bottom: 32px;
13153
13028
  `;
13154
- const ModalBody = styled.div`
13029
+ const ModalBody$1 = styled.div`
13155
13030
  ${scrollableStyles$8}
13156
13031
  max-height: 80vh;
13157
13032
  `;
13158
- const ModalTitle = styled.h5`
13033
+ const ModalTitle$1 = styled.h5`
13159
13034
  font-family: 'Poppins', sans-serif;
13160
13035
  font-size: 32px;
13161
13036
  font-weight: 500;
@@ -13185,14 +13060,14 @@ const DialogOverlay = props => {
13185
13060
  modal.close();
13186
13061
  onDialogClose();
13187
13062
  };
13188
- return /*#__PURE__*/React.createElement(ModalWrapper, {
13063
+ return /*#__PURE__*/React.createElement(ModalWrapper$1, {
13189
13064
  className: className
13190
- }, /*#__PURE__*/React.createElement(Modal, null, /*#__PURE__*/React.createElement(ModalHeader, null, /*#__PURE__*/React.createElement(ModalTitle, null, title), /*#__PURE__*/React.createElement(ModalClose, {
13065
+ }, /*#__PURE__*/React.createElement(Modal$1, null, /*#__PURE__*/React.createElement(ModalHeader$1, null, /*#__PURE__*/React.createElement(ModalTitle$1, null, title), /*#__PURE__*/React.createElement(ModalClose, {
13191
13066
  type: "button",
13192
13067
  onClick: closeModal
13193
13068
  }, /*#__PURE__*/React.createElement(CloseXIcon, {
13194
13069
  fill: "white"
13195
- }))), /*#__PURE__*/React.createElement(ModalBody, {
13070
+ }))), /*#__PURE__*/React.createElement(ModalBody$1, {
13196
13071
  id: "modalBody"
13197
13072
  }, children)));
13198
13073
  };
@@ -23407,7 +23282,7 @@ const TheGiantCompanyIcon = _ref => {
23407
23282
  })));
23408
23283
  };
23409
23284
 
23410
- const MainContainer$2 = styled.div`
23285
+ const MainContainer$3 = styled.div`
23411
23286
  display: flex;
23412
23287
  position: relative;
23413
23288
  font-family: "Poppins", sans-serif;
@@ -23700,7 +23575,7 @@ const CollapseHeader = props => {
23700
23575
  } = viewCreativeContainerRef.current;
23701
23576
  return (offsetTop + 33).toString().concat("", "px");
23702
23577
  };
23703
- return /*#__PURE__*/React$1.createElement(MainContainer$2, {
23578
+ return /*#__PURE__*/React$1.createElement(MainContainer$3, {
23704
23579
  id: "CollapseHeader",
23705
23580
  className: className,
23706
23581
  height: height,
@@ -23714,7 +23589,7 @@ const CollapseHeader = props => {
23714
23589
  id: "EventNameViewCreativeSubContainer"
23715
23590
  }, /*#__PURE__*/React$1.createElement(ViewCreativeButtonAndListBoxContainer, {
23716
23591
  id: "ViewCreativeButtonAndListBoxContainer"
23717
- }, showViewCreativeButton && /*#__PURE__*/React$1.createElement(Button, {
23592
+ }, showViewCreativeButton && /*#__PURE__*/React$1.createElement(Button$1, {
23718
23593
  leftIcon: "Eye",
23719
23594
  onClick: viewCreativeOnClickHandler,
23720
23595
  text: buttonText,
@@ -23868,13 +23743,13 @@ const QuickFilterInput = styled.div`
23868
23743
  font-size: 14px;
23869
23744
  border-radius: 8px;
23870
23745
  `;
23871
- const Label$2 = styled.label`
23746
+ const Label$3 = styled.label`
23872
23747
  font-size: 14px;
23873
23748
  font-weight: 500;
23874
23749
  color: ${props => props.disabled ? '#D0D0D0' : '212121'};
23875
23750
  white-space: nowrap;
23876
23751
  `;
23877
- const InputContainer$1 = styled.div`
23752
+ const InputContainer$3 = styled.div`
23878
23753
  display: flex;
23879
23754
  justify-content: space-between;
23880
23755
  align-content: center;
@@ -23904,12 +23779,12 @@ const InputContainer$1 = styled.div`
23904
23779
  ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.labelColor || '#212121'};
23905
23780
  }
23906
23781
  `;
23907
- const InputSubContainer$1 = styled.div`
23782
+ const InputSubContainer$2 = styled.div`
23908
23783
  display: flex;
23909
23784
  color: ${props => props.disabled ? '#888' : '#212121'};
23910
23785
  gap: 8px;
23911
23786
  `;
23912
- const StyledInput$1 = styled.input`
23787
+ const StyledInput$3 = styled.input`
23913
23788
  width: 100%;
23914
23789
  height: 20px;
23915
23790
  font-family: "Poppins";
@@ -23923,7 +23798,7 @@ const StyledInput$1 = styled.input`
23923
23798
  color: ${props => props.disabled ? '#D0D0D0' : '#b1b1b1'};
23924
23799
  }
23925
23800
  `;
23926
- const OptionsContainer$1 = styled.div`
23801
+ const OptionsContainer$2 = styled.div`
23927
23802
  margin: 0;
23928
23803
  top: 100%;
23929
23804
  left: 0;
@@ -23964,7 +23839,7 @@ const OptionItem$1 = styled.li`
23964
23839
  color: #229e38;
23965
23840
  }
23966
23841
  `;
23967
- const ErrorMessage$1 = styled.div`
23842
+ const ErrorMessage$2 = styled.div`
23968
23843
  font-size: 12px;
23969
23844
  color: red;
23970
23845
  margin-top: 5px;
@@ -24102,21 +23977,21 @@ const QuickFilterDropdownSingle = _ref => {
24102
23977
  width: width,
24103
23978
  onMouseEnter: () => setHoverInputContainer(true),
24104
23979
  onMouseLeave: () => setHoverInputContainer(false)
24105
- }, /*#__PURE__*/React$1.createElement(InputContainer$1, {
23980
+ }, /*#__PURE__*/React$1.createElement(InputContainer$3, {
24106
23981
  className: "InputContainer",
24107
23982
  labelColor: labelColor,
24108
23983
  hoverColor: hoverColor,
24109
23984
  disabled: disabled,
24110
23985
  error: error,
24111
23986
  isFocused: isFocused
24112
- }, /*#__PURE__*/React$1.createElement(InputSubContainer$1, {
23987
+ }, /*#__PURE__*/React$1.createElement(InputSubContainer$2, {
24113
23988
  className: "InputSubContainer",
24114
23989
  ref: containerRef,
24115
23990
  labelColor: labelColor,
24116
23991
  disabled: disabled,
24117
23992
  error: error,
24118
23993
  onClick: handleLabelClick
24119
- }, /*#__PURE__*/React$1.createElement(Label$2, {
23994
+ }, /*#__PURE__*/React$1.createElement(Label$3, {
24120
23995
  className: "Label",
24121
23996
  isFocused: isFocused,
24122
23997
  labelColor: labelColor,
@@ -24126,7 +24001,7 @@ const QuickFilterDropdownSingle = _ref => {
24126
24001
  errorMessage: errorMessage,
24127
24002
  onClick: handleLabelClick,
24128
24003
  showLabelOnTop: showLabelOnTop
24129
- }, label), /*#__PURE__*/React$1.createElement(StyledInput$1, {
24004
+ }, label), /*#__PURE__*/React$1.createElement(StyledInput$3, {
24130
24005
  className: "StyledInput",
24131
24006
  ref: inputRef,
24132
24007
  value: selectedOptions && selectedOptions?.length > 0 ? selectedOptions[0].label : inputValue && inputValue?.length > 0 ? inputValue[0].label : "",
@@ -24154,7 +24029,7 @@ const QuickFilterDropdownSingle = _ref => {
24154
24029
  width: "12px",
24155
24030
  height: "12px",
24156
24031
  color: "#B1B1B1"
24157
- }))), error && errorMessage?.length > 0 && /*#__PURE__*/React$1.createElement(ErrorMessage$1, null, errorMessage), /*#__PURE__*/React$1.createElement(OptionsContainer$1, {
24032
+ }))), error && errorMessage?.length > 0 && /*#__PURE__*/React$1.createElement(ErrorMessage$2, null, errorMessage), /*#__PURE__*/React$1.createElement(OptionsContainer$2, {
24158
24033
  className: "OptionsContainer",
24159
24034
  onMouseEnter: () => setHoverOptionsContainer(true),
24160
24035
  onMouseLeave: () => setHoverOptionsContainer(false),
@@ -24223,7 +24098,7 @@ const DropdownWrapper = styled.div`
24223
24098
  font-size: 14px;
24224
24099
  border-radius: 10px;
24225
24100
  `;
24226
- const Label$1 = styled.label`
24101
+ const Label$2 = styled.label`
24227
24102
  font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
24228
24103
  font-weight: 400;
24229
24104
  padding-inline-end: 5px;
@@ -24246,7 +24121,7 @@ const Label$1 = styled.label`
24246
24121
  cursor: ${props => props.disabled ? 'not-allowed' : 'pointer'};
24247
24122
  }
24248
24123
  `;
24249
- const InputContainer = styled.div`
24124
+ const InputContainer$2 = styled.div`
24250
24125
  display: flex;
24251
24126
  flex-direction: row;
24252
24127
  flex-wrap: nowrap;
@@ -24277,7 +24152,7 @@ const InputContainer = styled.div`
24277
24152
  border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.labelColor || '#212121'};
24278
24153
  }
24279
24154
  `;
24280
- const InputSubContainer = styled.div`
24155
+ const InputSubContainer$1 = styled.div`
24281
24156
  display: flex;
24282
24157
  flex-direction: column;
24283
24158
  flex-wrap: nowrap;
@@ -24296,7 +24171,7 @@ const InputSubContainer = styled.div`
24296
24171
  outline: none;
24297
24172
  color: ${props => props.disabled ? '#888' : '#212121'};
24298
24173
  `;
24299
- const StyledInput = styled.input`
24174
+ const StyledInput$2 = styled.input`
24300
24175
  width: calc(100% - 20px);
24301
24176
  height: 25px;
24302
24177
  font-family: Poppins;
@@ -24307,7 +24182,7 @@ const StyledInput = styled.input`
24307
24182
  color: ${props => props.disabled ? '#888' : '#212121'};
24308
24183
  border: none;
24309
24184
  `;
24310
- const OptionsContainer = styled.div`
24185
+ const OptionsContainer$1 = styled.div`
24311
24186
  margin: 0;
24312
24187
  top: 100%;
24313
24188
  left: 0;
@@ -24350,7 +24225,7 @@ const OptionItem = styled.li`
24350
24225
  background-color: #EDF6FF;
24351
24226
  }
24352
24227
  `;
24353
- const ErrorMessage = styled.div`
24228
+ const ErrorMessage$1 = styled.div`
24354
24229
  font-size: 12px;
24355
24230
  color: red;
24356
24231
  margin-top: 5px;
@@ -24568,20 +24443,20 @@ const QuickFilterDropdownMultiSelection = _ref => {
24568
24443
  width: width,
24569
24444
  onMouseEnter: () => setHoverInputContainer(true),
24570
24445
  onMouseLeave: () => setHoverInputContainer(false)
24571
- }, /*#__PURE__*/React$1.createElement(InputContainer, {
24446
+ }, /*#__PURE__*/React$1.createElement(InputContainer$2, {
24572
24447
  className: "InputContainer",
24573
24448
  labelColor: labelColor,
24574
24449
  disabled: disabled,
24575
24450
  error: error,
24576
24451
  isFocused: isFocused
24577
- }, /*#__PURE__*/React$1.createElement(InputSubContainer, {
24452
+ }, /*#__PURE__*/React$1.createElement(InputSubContainer$1, {
24578
24453
  className: "InputSubContainer",
24579
24454
  ref: containerRef,
24580
24455
  labelColor: labelColor,
24581
24456
  disabled: disabled,
24582
24457
  error: error,
24583
24458
  onClick: handleLabelClick
24584
- }, /*#__PURE__*/React$1.createElement(Label$1, {
24459
+ }, /*#__PURE__*/React$1.createElement(Label$2, {
24585
24460
  className: "Label",
24586
24461
  isFocused: isFocused,
24587
24462
  labelColor: labelColor,
@@ -24591,7 +24466,7 @@ const QuickFilterDropdownMultiSelection = _ref => {
24591
24466
  errorMessage: errorMessage,
24592
24467
  onClick: handleLabelClick,
24593
24468
  showLabelOnTop: showLabelOnTop
24594
- }, getLabel(), getRequired()), displaySelectedOptions(), showOptions ? /*#__PURE__*/React$1.createElement(StyledInput, {
24469
+ }, getLabel(), getRequired()), displaySelectedOptions(), showOptions ? /*#__PURE__*/React$1.createElement(StyledInput$2, {
24595
24470
  className: "StyledInput",
24596
24471
  ref: inputRef,
24597
24472
  value: inputValue,
@@ -24621,7 +24496,7 @@ const QuickFilterDropdownMultiSelection = _ref => {
24621
24496
  width: "12px",
24622
24497
  height: "12px",
24623
24498
  color: "#B1B1B1"
24624
- }))), error && errorMessage?.length > 0 && /*#__PURE__*/React$1.createElement(ErrorMessage, null, errorMessage), /*#__PURE__*/React$1.createElement(OptionsContainer, {
24499
+ }))), error && errorMessage?.length > 0 && /*#__PURE__*/React$1.createElement(ErrorMessage$1, null, errorMessage), /*#__PURE__*/React$1.createElement(OptionsContainer$1, {
24625
24500
  className: "OptionsContainer",
24626
24501
  onMouseEnter: () => setHoverOptionsContainer(true),
24627
24502
  onMouseLeave: () => setHoverOptionsContainer(false),
@@ -26776,7 +26651,7 @@ const scrollableStyles$5 = `
26776
26651
  border-radius: 5px;
26777
26652
  }
26778
26653
  `;
26779
- const MainContainer$1 = styled.div`
26654
+ const MainContainer$2 = styled.div`
26780
26655
  display: flex;
26781
26656
  flex-direction: row;
26782
26657
  position: relative;
@@ -27044,7 +26919,7 @@ const MarketShareDescription = props => {
27044
26919
  })) : '')));
27045
26920
  return content;
27046
26921
  };
27047
- return /*#__PURE__*/React$1.createElement(MainContainer$1, {
26922
+ return /*#__PURE__*/React$1.createElement(MainContainer$2, {
27048
26923
  className: "MainContainer",
27049
26924
  height: height,
27050
26925
  width: width
@@ -27284,7 +27159,7 @@ const scrollableStyles$4 = `
27284
27159
  border-radius: 5px;
27285
27160
  }
27286
27161
  `;
27287
- const MainContainer = styled.div``;
27162
+ const MainContainer$1 = styled.div``;
27288
27163
  const ModalOverlay = styled.div`
27289
27164
  position: fixed;
27290
27165
  z-index: 100;
@@ -27525,7 +27400,7 @@ const PopupCharts = props => {
27525
27400
  }, item.title)), /*#__PURE__*/React$1.createElement(ChartContentContainer, {
27526
27401
  id: "ChartContentContainer"
27527
27402
  }, displayChart(item)));
27528
- return /*#__PURE__*/React$1.createElement(MainContainer, {
27403
+ return /*#__PURE__*/React$1.createElement(MainContainer$1, {
27529
27404
  id: "MainContainer"
27530
27405
  }, IsPopupChartsOpen && /*#__PURE__*/React$1.createElement(ModalOverlay, {
27531
27406
  id: "ModalOverlay",
@@ -29023,7 +28898,7 @@ const DoubleBarSingleLine = props => {
29023
28898
  className: "Controls"
29024
28899
  }, title && title.trim() !== '' && /*#__PURE__*/React$1.createElement(Title$8, null, title), /*#__PURE__*/React$1.createElement(ChartsWrapper, {
29025
28900
  width: dynamicWidth //{hasScroll ? `${data.length * 178}px` : 'auto'}
29026
- }, /*#__PURE__*/React$1.createElement(LineChartWrapper, null, /*#__PURE__*/React$1.createElement(ResponsiveContainer, null, /*#__PURE__*/React$1.createElement(LineChart, _extends({
28901
+ }, /*#__PURE__*/React$1.createElement(LineChartWrapper, null, /*#__PURE__*/React$1.createElement(ResponsiveContainer, null, /*#__PURE__*/React$1.createElement(LineChart, _extends$1({
29027
28902
  data: transformedData
29028
28903
  }, syncCharts, {
29029
28904
  margin: {
@@ -29062,7 +28937,7 @@ const DoubleBarSingleLine = props => {
29062
28937
  }, /*#__PURE__*/React$1.createElement(LabelList, {
29063
28938
  content: CustomLabelLine,
29064
28939
  position: "top"
29065
- })))))), /*#__PURE__*/React$1.createElement(BarChartWrapper, null, /*#__PURE__*/React$1.createElement(ResponsiveContainer, null, /*#__PURE__*/React$1.createElement(BarChart$1, _extends({
28940
+ })))))), /*#__PURE__*/React$1.createElement(BarChartWrapper, null, /*#__PURE__*/React$1.createElement(ResponsiveContainer, null, /*#__PURE__*/React$1.createElement(BarChart$1, _extends$1({
29066
28941
  data: data,
29067
28942
  barGap: 13,
29068
28943
  barCategoryGap: data.length >= limitViewableItems ? 178 : 50,
@@ -29177,7 +29052,7 @@ const Controls$5 = styled.div`
29177
29052
  display: flex;
29178
29053
  align-items: center;
29179
29054
  `;
29180
- const Label = styled.div`
29055
+ const Label$1 = styled.div`
29181
29056
  display: flex;
29182
29057
  padding: 0 10px 0 10px;
29183
29058
  white-space: nowrap;
@@ -29257,7 +29132,7 @@ const CheckBox = props => {
29257
29132
  width: iconSize,
29258
29133
  height: iconSize,
29259
29134
  color: disabled ? colorDisabled : colorUnchecked
29260
- })), /*#__PURE__*/React$1.createElement(Label, {
29135
+ })), /*#__PURE__*/React$1.createElement(Label$1, {
29261
29136
  className: "Label",
29262
29137
  "data-testid": "label"
29263
29138
  }, label)));
@@ -33581,7 +33456,7 @@ const TitleDiv = styled.div`
33581
33456
  font-size: 10px;
33582
33457
  }
33583
33458
  `;
33584
- const TableWrapper = styled.div`
33459
+ const TableWrapper$1 = styled.div`
33585
33460
  overflow-x: auto;
33586
33461
  margin-bottom: 22px;
33587
33462
  &::-webkit-scrollbar {
@@ -33598,7 +33473,7 @@ const TableWrapper = styled.div`
33598
33473
  border-radius: 5px;
33599
33474
  }
33600
33475
  `;
33601
- const Table = styled.table`
33476
+ const Table$1 = styled.table`
33602
33477
  width: 100%;
33603
33478
  border-collapse: collapse;
33604
33479
  overflow: auto;
@@ -33828,7 +33703,7 @@ const CollapseData = props => {
33828
33703
  }) : /*#__PURE__*/React$1.createElement(ArrowDownIcon, {
33829
33704
  width: "11px",
33830
33705
  height: "12px"
33831
- })), /*#__PURE__*/React$1.createElement(TitleDiv, null, `${parseFloat(section.value.toFixed(1))}${section.valueType}`))), activeIndex === section.key && /*#__PURE__*/React$1.createElement(TableWrapper, null, /*#__PURE__*/React$1.createElement(Table, null, /*#__PURE__*/React$1.createElement("thead", null, /*#__PURE__*/React$1.createElement("tr", null, section.table.map((headline, i) => /*#__PURE__*/React$1.createElement(Th, {
33706
+ })), /*#__PURE__*/React$1.createElement(TitleDiv, null, `${parseFloat(section.value.toFixed(1))}${section.valueType}`))), activeIndex === section.key && /*#__PURE__*/React$1.createElement(TableWrapper$1, null, /*#__PURE__*/React$1.createElement(Table$1, null, /*#__PURE__*/React$1.createElement("thead", null, /*#__PURE__*/React$1.createElement("tr", null, section.table.map((headline, i) => /*#__PURE__*/React$1.createElement(Th, {
33832
33707
  key: `${i + headline}`
33833
33708
  }, headline.title)))), /*#__PURE__*/React$1.createElement("tbody", null, /*#__PURE__*/React$1.createElement("tr", null, section.table.map((data, i) => {
33834
33709
  if (data.value !== null) {
@@ -33896,7 +33771,7 @@ const ModalContent = styled.div`
33896
33771
  padding: 1rem 0 3rem;
33897
33772
  }
33898
33773
  `;
33899
- const Header = styled.div`
33774
+ const Header$1 = styled.div`
33900
33775
  position: relative;
33901
33776
  display: flex;
33902
33777
  justify-content: space-between;
@@ -34106,7 +33981,7 @@ const InsightsCarousel = _ref => {
34106
33981
  const nextIndex = (currentIndex + 1) % totalChildren;
34107
33982
  return /*#__PURE__*/React$1.createElement(Overlay, {
34108
33983
  className: className
34109
- }, /*#__PURE__*/React$1.createElement(ModalContent, null, /*#__PURE__*/React$1.createElement(Header, null, /*#__PURE__*/React$1.createElement(Title, {
33984
+ }, /*#__PURE__*/React$1.createElement(ModalContent, null, /*#__PURE__*/React$1.createElement(Header$1, null, /*#__PURE__*/React$1.createElement(Title, {
34110
33985
  $titleColor: titleColor
34111
33986
  }, /*#__PURE__*/React$1.cloneElement(icon, {
34112
33987
  fill: iconColor
@@ -34404,5 +34279,1373 @@ DownloadProgress.defaultProps = {
34404
34279
  className: 'DownloadProgressMainContainer'
34405
34280
  };
34406
34281
 
34407
- export { AreaChart, BannerEventBoxList, BarChart, BarChartTwoRows, BarChartWithAreaChart, BarChartsByWeeks, BatteryChart, BreakdownPanel, BrushChart, BubbleChart, Button, CollapseData, CollapseHeader, DialogOverlay, DoubleBarSingleLine, DoublePanelDataRow, DownloadProgress, EventDetailsCard, EventList, FilterPanel, Heatmap, IconButton, InsightsCarousel, LinkButton, LinnerDataBox, MarketShareDescription, OneColumnContainer, PerformanceAnalyticsLegend, PieChart, PopupCharts, QuickFilter, ReportTable, SingleBarLineCharts, TabMenu, TopToggleList, TotalDoughnutChart, TotalHorizontalCharts, TwoBarCharts };
34282
+ const ModalWrapper = styled.div`
34283
+ font-family: "Poppins", sans-serif;
34284
+ position: fixed;
34285
+ top: 0;
34286
+ left: 0;
34287
+ width: 100%;
34288
+ height: 100%;
34289
+ background-color: rgba(0, 0, 0, 0.5);
34290
+ display: flex;
34291
+ justify-content: center;
34292
+ align-items: center;
34293
+ `;
34294
+ const Modal = styled.div`
34295
+ display: flex;
34296
+ gap: 30px;
34297
+ padding: 20px;
34298
+ flex-direction: column;
34299
+ background-color: white;
34300
+ border-radius: 12px;
34301
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
34302
+ `;
34303
+ const ModalHeader = styled.div`
34304
+ display: flex;
34305
+ justify-content: space-between;
34306
+ `;
34307
+ const ModalButtons = styled.div`
34308
+ display: flex;
34309
+ gap: 10px;
34310
+ `;
34311
+ const ModalTitle = styled.h3`
34312
+ margin: 0;
34313
+ font-size: 24px;
34314
+ `;
34315
+ const ModalBody = styled.div`
34316
+ flex-grow: 1;
34317
+ `;
34318
+ styled.div`
34319
+ display: flex;
34320
+ justify-content: flex-end;
34321
+ padding: 20px;
34322
+ border-top: 1px solid #ddd;
34323
+ `;
34324
+
34325
+ const ModalWithOverlay = props => {
34326
+ const {
34327
+ title = '',
34328
+ children = null,
34329
+ onOk = () => {},
34330
+ onCancel = () => {},
34331
+ cancelButtonText = 'Cancel',
34332
+ cancelButtonLeftIcon = '',
34333
+ cancelButtonRightIcon = '',
34334
+ cancelButtonType = 'secondary',
34335
+ okButtonText = 'OK',
34336
+ okButtonLeftIcon = '',
34337
+ okButtonRightIcon = '',
34338
+ okButtonType = 'primary',
34339
+ width = '400px',
34340
+ height = 'auto',
34341
+ overlayTransparent = false,
34342
+ overlayOpacity = 0.797,
34343
+ showCancelButton = true,
34344
+ // Added this prop
34345
+ showOkButton = true // Added this prop
34346
+ } = props;
34347
+ const overlayStyle = {
34348
+ backgroundColor: overlayTransparent ? "transparent" : `rgba(0, 0, 0, ${overlayOpacity || 0.797})`
34349
+ };
34350
+ return /*#__PURE__*/React$1.createElement(ModalWrapper, {
34351
+ className: "modal-wrapper",
34352
+ style: overlayStyle
34353
+ }, /*#__PURE__*/React$1.createElement(Modal, {
34354
+ style: {
34355
+ width,
34356
+ height
34357
+ }
34358
+ }, /*#__PURE__*/React$1.createElement(ModalHeader, {
34359
+ className: "modal-header"
34360
+ }, /*#__PURE__*/React$1.createElement(ModalTitle, null, title), /*#__PURE__*/React$1.createElement(ModalButtons, {
34361
+ className: "modal-buttons"
34362
+ }, showCancelButton && /*#__PURE__*/React$1.createElement(Button$1, {
34363
+ type: cancelButtonType,
34364
+ leftIcon: cancelButtonLeftIcon,
34365
+ rightIcon: cancelButtonRightIcon,
34366
+ text: cancelButtonText,
34367
+ onClick: onCancel
34368
+ }), showOkButton && /*#__PURE__*/React$1.createElement(Button$1, {
34369
+ type: okButtonType,
34370
+ leftIcon: okButtonLeftIcon,
34371
+ rightIcon: okButtonRightIcon,
34372
+ text: okButtonText,
34373
+ onClick: onOk
34374
+ }))), /*#__PURE__*/React$1.createElement(ModalBody, {
34375
+ className: "modal-body"
34376
+ }, children)));
34377
+ };
34378
+
34379
+ /* ──────────────────────────────────────────
34380
+ COLORS – map to your design-system tokens
34381
+ Change only here if the palette shifts
34382
+ ─────────────────────────────────────────── */
34383
+ const c = {
34384
+ surface: "#ffffff",
34385
+ text: "#212121",
34386
+ textSecondary: "#8d9299",
34387
+ primary: "#016672",
34388
+ // apply / highlight
34389
+ primaryLight: "#d1e7ea",
34390
+ border: "#e0e0e0"
34391
+ };
34392
+
34393
+ /* ───────────────────────── wrapper */
34394
+ const CalendarWrapper = styled.div`
34395
+ width: 240px;
34396
+ padding: 16px 16px 12px;
34397
+ background: ${c.surface};
34398
+ border-radius: 8px;
34399
+ box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
34400
+ user-select: none;
34401
+ `;
34402
+
34403
+ /* ───────────────────────── header */
34404
+ const Header = styled.h4`
34405
+ margin: 0 0 12px;
34406
+ color: ${c.text};
34407
+
34408
+ /* Content/P3 Regular */
34409
+ font-family: Poppins;
34410
+ font-size: 12px;
34411
+ font-style: normal;
34412
+ font-weight: 400;
34413
+ line-height: normal;
34414
+ `;
34415
+
34416
+ /* ───────────────────────── grid */
34417
+ const Grid = styled.div`
34418
+ display: grid;
34419
+ grid-template-columns: repeat(${({
34420
+ columns
34421
+ }) => columns}, 1fr);
34422
+ gap: 6px 0px;
34423
+ margin-bottom: 16px;
34424
+ `;
34425
+
34426
+ /* individual week cell */
34427
+ const WeekCell = styled.div`
34428
+ padding: 6px 0;
34429
+ font-size: 13px;
34430
+ padding-top: 10px;
34431
+ padding-bottom: 10px;
34432
+ text-align: center;
34433
+ cursor: pointer;
34434
+ color: ${c.textSecondary};
34435
+ transition: background 0.15s ease;
34436
+ border-radius: 4px;
34437
+
34438
+ ${({
34439
+ $selected
34440
+ }) => $selected && css`
34441
+
34442
+ background: ${c.primary};
34443
+ color: #FFFFFF;
34444
+ `}
34445
+
34446
+ /* highlight range interior lighter */
34447
+ ${({
34448
+ $isRangeMiddle
34449
+ }) => $isRangeMiddle && css`
34450
+ background: ${c.primaryLight};
34451
+ border-radius: 0px;
34452
+ color: ${c.text};
34453
+ `}
34454
+
34455
+ &:hover {
34456
+ background: ${c.primaryLight};
34457
+ color: ${c.text};
34458
+ }
34459
+ text-align: center;
34460
+ font-feature-settings: "liga" off;
34461
+
34462
+ /* Content/P3 Regular */
34463
+ font-family: Poppins;
34464
+ font-size: 12px;
34465
+ font-style: normal;
34466
+ font-weight: 400;
34467
+ line-height: normal;
34468
+ `;
34469
+
34470
+ /* ───────────────────────── footer buttons */
34471
+ const Footer = styled.div`
34472
+ display: flex;
34473
+ justify-content: space-between;
34474
+ gap: 8px;
34475
+ `;
34476
+ css`
34477
+ flex: 1 1 0;
34478
+ height: 32px;
34479
+ font-weight: 600;
34480
+ font-size: 12px;
34481
+ line-height: 32px;
34482
+ text-align: center;
34483
+ border-radius: 6px;
34484
+ border: 1px solid transparent;
34485
+ cursor: pointer;
34486
+ transition:
34487
+ opacity 0.15s ease,
34488
+ background 0.15s ease;
34489
+ &:disabled {
34490
+ opacity: 0.4;
34491
+ cursor: default;
34492
+ }
34493
+ `;
34494
+
34495
+ /**
34496
+ * WeeksCalendar
34497
+ * -------------
34498
+ * Props
34499
+ * • year – four-digit year (required)
34500
+ * • defaultStartWeek – number | null
34501
+ * • defaultEndWeek – number | null
34502
+ * • onApply(start,end) – callback, both numbers (inclusive)
34503
+ * • onCancel() – callback
34504
+ */
34505
+ const WeeksCalendar = ({
34506
+ year,
34507
+ defaultStartWeek = null,
34508
+ defaultEndWeek = null,
34509
+ onApply,
34510
+ onCancel
34511
+ }) => {
34512
+ // state -------------------------------------------------
34513
+ const [startWeek, setStartWeek] = useState(defaultStartWeek);
34514
+ const [endWeek, setEndWeek] = useState(defaultEndWeek);
34515
+
34516
+ // derived helpers --------------------------------------
34517
+ const hasSelection = startWeek !== null;
34518
+ const isRange = hasSelection && endWeek !== null && endWeek !== startWeek;
34519
+ const weeks = useMemo(() => [...Array(53)].map((_, i) => i + 1), []);
34520
+ const handleCellClick = week => {
34521
+ // first click → start
34522
+
34523
+ if (!hasSelection) {
34524
+ setStartWeek(week);
34525
+ setEndWeek(null);
34526
+ return;
34527
+ }
34528
+ // second click → decide range or single
34529
+ if (hasSelection && endWeek === null) {
34530
+ // second click on same cell turns it to single selection
34531
+ if (week === startWeek) {
34532
+ setEndWeek(null);
34533
+ return;
34534
+ }
34535
+ // ensure ascending order
34536
+ setEndWeek(week < startWeek ? startWeek : week);
34537
+ setStartWeek(week < startWeek ? week : startWeek);
34538
+ return;
34539
+ }
34540
+ // any later click resets selection and starts over
34541
+ setStartWeek(week);
34542
+ setEndWeek(null);
34543
+ };
34544
+ const clearAll = () => {
34545
+ setStartWeek(null);
34546
+ setEndWeek(null);
34547
+ };
34548
+
34549
+ // render ------------------------------------------------
34550
+ const title = !hasSelection ? "Select Weeks" : !isRange ? `Week ${startWeek}, ${year}` : `Weeks ${startWeek}-${endWeek}, ${year}`;
34551
+ return /*#__PURE__*/React$1.createElement(CalendarWrapper, null, /*#__PURE__*/React$1.createElement(Header, null, title), /*#__PURE__*/React$1.createElement(Grid, {
34552
+ columns: 6
34553
+ }, weeks.map(wk => {
34554
+ const selected = wk === startWeek || isRange && wk >= startWeek && wk <= endWeek;
34555
+ return /*#__PURE__*/React$1.createElement(WeekCell, {
34556
+ key: wk,
34557
+ "data-week": wk,
34558
+ $selected: selected,
34559
+ $isRangeMiddle: selected && wk !== startWeek && wk !== endWeek,
34560
+ onClick: () => handleCellClick(wk)
34561
+ }, wk);
34562
+ })), /*#__PURE__*/React$1.createElement(Footer, null, /*#__PURE__*/React$1.createElement(Button$1, {
34563
+ type: "secondary",
34564
+ disabled: !hasSelection,
34565
+ onClick: clearAll,
34566
+ text: "CLEAR"
34567
+ }), /*#__PURE__*/React$1.createElement(Button$1, {
34568
+ type: "primary",
34569
+ disabled: !hasSelection,
34570
+ onClick: () => {
34571
+ if (hasSelection) onApply(startWeek, endWeek ?? startWeek);
34572
+ },
34573
+ text: "APPLY"
34574
+ }), onCancel && /*#__PURE__*/React$1.createElement("button", {
34575
+ style: {
34576
+ display: "none"
34577
+ },
34578
+ type: "button",
34579
+ onClick: onCancel
34580
+ })));
34581
+ };
34582
+ WeeksCalendar.propTypes = {
34583
+ year: PropTypes.number.isRequired,
34584
+ defaultStartWeek: PropTypes.number,
34585
+ defaultEndWeek: PropTypes.number,
34586
+ onApply: PropTypes.func.isRequired,
34587
+ onCancel: PropTypes.func
34588
+ };
34589
+
34590
+ /* src/components/WeeksPicker/WeeksPicker.style.js */
34591
+ const WeeksPickerContainer = styled.div`
34592
+ position: relative;
34593
+ margin-bottom: 10px;
34594
+ width: ${props => props.width || '100%'};
34595
+ height: ${props => props.height || '60px'};
34596
+ `;
34597
+ const StyledInput$1 = styled.input`
34598
+ padding: 20px;
34599
+ font-size: 14px;
34600
+ border-radius: ${props => props.borderRadius || '4px'};
34601
+ border: none;
34602
+ outline: none;
34603
+ width: ${props => props.width || '90%'};
34604
+ height: ${props => props.height || '60px'};
34605
+ transition: border-color 0.3s ease;
34606
+ font-size: 14px;
34607
+ font-weight: 400;
34608
+ box-sizing: border-box;
34609
+ color: ${props => props.disabled ? '#888' : (props.isFocused || props.value ? props.textColor : '#757575') || '#333'};
34610
+ cursor: ${props => props.disabled ? 'not-allowed' : 'text'};
34611
+ `;
34612
+ const StyledLabel = styled.label`
34613
+ font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
34614
+ width: ${props => props.isFocused || props.hasValue ? 'auto' : '150px'};
34615
+ color: ${props => props.disabled ? '#888' : (props.isFocused || props.hasValue ? props.borderColorFocus : '#757575') || '#333'};
34616
+ position: absolute;
34617
+ top: ${props => props.isFocused || props.hasValue ? '0px' : '50%'};
34618
+ left: 15px;
34619
+ background-color: ${props => props.isFocused || props.hasValue ? 'white' : 'transparent'};
34620
+ transform: translateY(-50%);
34621
+ transition: top 0.3s ease, font-size 0.3s ease;
34622
+ display: flex;
34623
+ font-weight: 400;
34624
+ align-items: center;
34625
+ box-sizing: border-box;
34626
+ cursor: pointer;
34627
+ `;
34628
+ const RequiredIndicator = styled.span`
34629
+ color: red;
34630
+ margin-left: 5px;
34631
+ `;
34632
+ styled.div`
34633
+ font-size: 12px;
34634
+ color: red;
34635
+ margin-top: 5px;
34636
+ `;
34637
+ const OptionsContainer = styled.div`
34638
+ position: relative;
34639
+ z-index: 999;
34640
+ `;
34641
+ const InputContainer$1 = styled.div`
34642
+ display: flex;
34643
+ flex-wrap: nowrap;
34644
+ justify-content: flex-start;
34645
+ align-content: center;
34646
+ white-space: pre-wrap;
34647
+ align-items: center;
34648
+ overflow: hidden;
34649
+ width: 100%;
34650
+ height: 100%;
34651
+ box-sizing: border-box;
34652
+ background-color: transparent;
34653
+ border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : '#B1B1B1'};
34654
+ font-family: "Poppins", sans-serif;
34655
+ font-weight: 400;
34656
+ font-size: 14px;
34657
+ border-radius: 12px;
34658
+ outline: none;
34659
+ color: ${props => props.disabled ? '#888' : '#212121'};
34660
+
34661
+ &:hover {
34662
+ border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.borderColorFocus || '#212121'};
34663
+ cursor: ${props => props.disabled ? 'not-allowed' : 'pointer'};
34664
+ }
34665
+
34666
+ &:focus {
34667
+ border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.borderColorFocus || '#212121'};
34668
+ }
34669
+ `;
34670
+ const CalendarDiv = styled.div`
34671
+ position: absolute;
34672
+ top: 16px;
34673
+ right: 10px;
34674
+ `;
34675
+
34676
+ // src/components/WeeksPicker/WeeksPicker.jsx
34677
+ const WeeksPicker = _ref => {
34678
+ let {
34679
+ label,
34680
+ disabled,
34681
+ borderColor,
34682
+ borderColorFocus,
34683
+ textColor,
34684
+ required,
34685
+ placeholder,
34686
+ borderRadius,
34687
+ year,
34688
+ width,
34689
+ height,
34690
+ onChange,
34691
+ selectedValue
34692
+ } = _ref;
34693
+ const [value, setValue] = useState("");
34694
+ const inputRef = useRef(null);
34695
+ const [isFocused, setIsFocused] = useState(false);
34696
+ const [isOpen, setIsOpen] = useState(false);
34697
+ const handleToggle = () => {
34698
+ setIsOpen(!isOpen);
34699
+ };
34700
+ const onChangeEvent = e => {
34701
+ onChange(e.target.value);
34702
+ setValue(e.target.value);
34703
+ };
34704
+ useEffect(() => {
34705
+ if (selectedValue) {
34706
+ setValue(selectedValue);
34707
+ }
34708
+ }, [selectedValue]);
34709
+ const handleApply = () => {
34710
+ setIsOpen(false);
34711
+ };
34712
+ const handleCancel = () => {
34713
+ setIsOpen(false);
34714
+ };
34715
+ const handleFocus = () => {
34716
+ setIsFocused(true);
34717
+ };
34718
+ const handleBlur = () => {
34719
+ setIsFocused(false);
34720
+ };
34721
+ return /*#__PURE__*/React$1.createElement(WeeksPickerContainer, {
34722
+ width: width,
34723
+ height: height
34724
+ }, /*#__PURE__*/React$1.createElement(InputContainer$1, {
34725
+ onClick: handleToggle,
34726
+ className: "InputContainer",
34727
+ isFocused: isFocused,
34728
+ hasValue: value,
34729
+ disabled: disabled,
34730
+ textColor: textColor,
34731
+ borderColor: borderColor,
34732
+ borderColorFocus: borderColorFocus
34733
+ }, /*#__PURE__*/React$1.createElement(StyledLabel, {
34734
+ className: "StyledLabel",
34735
+ onClick: handleFocus,
34736
+ isFocused: isFocused,
34737
+ hasValue: value,
34738
+ disabled: disabled,
34739
+ textColor: textColor,
34740
+ borderColor: borderColor,
34741
+ borderColorFocus: borderColorFocus
34742
+ }, label, required && /*#__PURE__*/React$1.createElement(RequiredIndicator, null, "*")), /*#__PURE__*/React$1.createElement(StyledInput$1, {
34743
+ className: "StyledInput",
34744
+ ref: inputRef,
34745
+ value: value,
34746
+ onChange: onChangeEvent,
34747
+ onFocus: handleFocus,
34748
+ onBlur: handleBlur,
34749
+ isFocused: isFocused,
34750
+ borderColorFocus: borderColorFocus,
34751
+ borderRadius: borderRadius,
34752
+ width: width,
34753
+ height: height,
34754
+ placeholder: isFocused ? placeholder : "",
34755
+ disabled: disabled,
34756
+ borderColor: borderColor,
34757
+ textColor: textColor
34758
+ }), /*#__PURE__*/React$1.createElement(CalendarDiv, {
34759
+ onClick: handleToggle
34760
+ }, isOpen === true ? /*#__PURE__*/React$1.createElement(CalendarInOpen, null) : /*#__PURE__*/React$1.createElement(Calendar, null))), isOpen && /*#__PURE__*/React$1.createElement(OptionsContainer, null, /*#__PURE__*/React$1.createElement(WeeksCalendar, {
34761
+ year: year,
34762
+ onApply: (start, end) => {
34763
+ handleApply();
34764
+ const tempValue = end === start ? `Week ${start},${year}` : `Weeks ${start} - ${end},${year}`;
34765
+ onChange(tempValue);
34766
+ setValue(tempValue);
34767
+ setIsOpen(!isOpen);
34768
+ // close your modal here if needed …
34769
+ },
34770
+ onCancel: () => handleCancel()
34771
+ })));
34772
+ };
34773
+ WeeksPicker.propTypes = {
34774
+ label: PropTypes.string.isRequired,
34775
+ year: PropTypes.number.isRequired,
34776
+ onChange: PropTypes.func.isRequired,
34777
+ defaultValues: PropTypes.arrayOf(PropTypes.number),
34778
+ saveStartWeekID: PropTypes.func.isRequired,
34779
+ saveEndWeekID: PropTypes.func.isRequired
34780
+ };
34781
+
34782
+ var DefaultContext = {
34783
+ color: undefined,
34784
+ size: undefined,
34785
+ className: undefined,
34786
+ style: undefined,
34787
+ attr: undefined
34788
+ };
34789
+ var IconContext = React$1.createContext && /*#__PURE__*/React$1.createContext(DefaultContext);
34790
+
34791
+ var _excluded = ["attr", "size", "title"];
34792
+ 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; }
34793
+ 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; }
34794
+ 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); }
34795
+ 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; }
34796
+ 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; }
34797
+ 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; }
34798
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
34799
+ 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); }
34800
+ function Tree2Element(tree) {
34801
+ return tree && tree.map((node, i) => /*#__PURE__*/React$1.createElement(node.tag, _objectSpread({
34802
+ key: i
34803
+ }, node.attr), Tree2Element(node.child)));
34804
+ }
34805
+ function GenIcon(data) {
34806
+ return props => /*#__PURE__*/React$1.createElement(IconBase, _extends({
34807
+ attr: _objectSpread({}, data.attr)
34808
+ }, props), Tree2Element(data.child));
34809
+ }
34810
+ function IconBase(props) {
34811
+ var elem = conf => {
34812
+ var {
34813
+ attr,
34814
+ size,
34815
+ title
34816
+ } = props,
34817
+ svgProps = _objectWithoutProperties(props, _excluded);
34818
+ var computedSize = size || conf.size || "1em";
34819
+ var className;
34820
+ if (conf.className) className = conf.className;
34821
+ if (props.className) className = (className ? className + " " : "") + props.className;
34822
+ return /*#__PURE__*/React$1.createElement("svg", _extends({
34823
+ stroke: "currentColor",
34824
+ fill: "currentColor",
34825
+ strokeWidth: "0"
34826
+ }, conf.attr, attr, svgProps, {
34827
+ className: className,
34828
+ style: _objectSpread(_objectSpread({
34829
+ color: props.color || conf.color
34830
+ }, conf.style), props.style),
34831
+ height: computedSize,
34832
+ width: computedSize,
34833
+ xmlns: "http://www.w3.org/2000/svg"
34834
+ }), title && /*#__PURE__*/React$1.createElement("title", null, title), props.children);
34835
+ };
34836
+ return IconContext !== undefined ? /*#__PURE__*/React$1.createElement(IconContext.Consumer, null, conf => elem(conf)) : elem(DefaultContext);
34837
+ }
34838
+
34839
+ // THIS FILE IS AUTO GENERATED
34840
+ function FaEyeSlash (props) {
34841
+ 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);
34842
+ }
34843
+
34844
+ const IconWrapper$1 = styled.div`
34845
+ display: flex;
34846
+ align-items: center;
34847
+ justify-content: center;
34848
+ align-content: center;
34849
+ padding: 2px;
34850
+ cursor: ${props => props.disabled ? 'not-allowed' : props.pointer || 'default'};
34851
+ `;
34852
+
34853
+ // eslint-disable-next-line import/prefer-default-export
34854
+ const getIcon = (icon, iconHeight, iconWidth, color, disabled, pointer, callBackOnClick) => {
34855
+ const newIconHeight = iconHeight || '12px';
34856
+ const newIconWidth = iconWidth || '12px';
34857
+ const newColor = disabled ? '#D0D0D0' : color || '#212121';
34858
+ switch (icon.toLowerCase()) {
34859
+ case 'filter':
34860
+ return /*#__PURE__*/React$1.createElement(IconWrapper$1, {
34861
+ className: "FilterIcon",
34862
+ pointer: pointer,
34863
+ disabled: disabled,
34864
+ onClick: callBackOnClick
34865
+ }, /*#__PURE__*/React$1.createElement(FilterIcon, {
34866
+ height: newIconHeight,
34867
+ width: newIconWidth,
34868
+ color: newColor,
34869
+ onClick: callBackOnClick
34870
+ }));
34871
+ case 'options':
34872
+ return /*#__PURE__*/React$1.createElement(IconWrapper$1, {
34873
+ className: "OptionsIcon",
34874
+ pointer: pointer,
34875
+ disabled: disabled,
34876
+ onClick: callBackOnClick
34877
+ }, /*#__PURE__*/React$1.createElement(OptionsIcon, {
34878
+ height: newIconHeight,
34879
+ width: newIconWidth,
34880
+ color: newColor,
34881
+ onClick: callBackOnClick
34882
+ }));
34883
+ case 'download':
34884
+ return /*#__PURE__*/React$1.createElement(IconWrapper$1, {
34885
+ className: "DownloadIcon",
34886
+ pointer: pointer,
34887
+ disabled: disabled,
34888
+ onClick: callBackOnClick
34889
+ }, /*#__PURE__*/React$1.createElement(DownloadIcon, {
34890
+ height: newIconHeight,
34891
+ width: newIconWidth,
34892
+ color: newColor,
34893
+ onClick: callBackOnClick
34894
+ }));
34895
+ case 'document':
34896
+ return /*#__PURE__*/React$1.createElement(IconWrapper$1, {
34897
+ className: "DocumentIcon",
34898
+ pointer: pointer,
34899
+ disabled: disabled,
34900
+ onClick: callBackOnClick
34901
+ }, /*#__PURE__*/React$1.createElement(DocumentIcon, {
34902
+ height: newIconHeight,
34903
+ width: newIconWidth,
34904
+ color: newColor,
34905
+ onClick: callBackOnClick
34906
+ }));
34907
+ case 'fly':
34908
+ return /*#__PURE__*/React$1.createElement(IconWrapper$1, {
34909
+ className: "FlyIcon",
34910
+ pointer: pointer,
34911
+ disabled: disabled,
34912
+ onClick: callBackOnClick
34913
+ }, /*#__PURE__*/React$1.createElement(FlyIcon, {
34914
+ height: newIconHeight,
34915
+ width: newIconWidth,
34916
+ color: newColor,
34917
+ onClick: callBackOnClick
34918
+ }));
34919
+ case 'bell':
34920
+ return /*#__PURE__*/React$1.createElement(IconWrapper$1, {
34921
+ className: "BellIcon",
34922
+ pointer: pointer,
34923
+ disabled: disabled,
34924
+ onClick: callBackOnClick
34925
+ }, /*#__PURE__*/React$1.createElement(BellIcon, {
34926
+ height: newIconHeight,
34927
+ width: newIconWidth,
34928
+ color: newColor,
34929
+ onClick: callBackOnClick
34930
+ }));
34931
+ case 'maintenance':
34932
+ return /*#__PURE__*/React$1.createElement(IconWrapper$1, {
34933
+ className: "MaintenanceIcon",
34934
+ pointer: pointer,
34935
+ disabled: disabled,
34936
+ onClick: callBackOnClick
34937
+ }, /*#__PURE__*/React$1.createElement(MaintenanceIcon, {
34938
+ height: newIconHeight,
34939
+ width: newIconWidth,
34940
+ color: newColor,
34941
+ onClick: callBackOnClick
34942
+ }));
34943
+ case 'exit':
34944
+ return /*#__PURE__*/React$1.createElement(IconWrapper$1, {
34945
+ className: "ExitIcon",
34946
+ pointer: pointer,
34947
+ disabled: disabled,
34948
+ onClick: callBackOnClick
34949
+ }, /*#__PURE__*/React$1.createElement(ExitIcon, {
34950
+ height: newIconHeight,
34951
+ width: newIconWidth,
34952
+ color: newColor,
34953
+ onClick: callBackOnClick
34954
+ }));
34955
+ case 'eye':
34956
+ return /*#__PURE__*/React$1.createElement(IconWrapper$1, {
34957
+ className: "EyeIcon",
34958
+ pointer: pointer,
34959
+ disabled: disabled,
34960
+ onClick: callBackOnClick
34961
+ }, /*#__PURE__*/React$1.createElement(EyeIcon, {
34962
+ height: newIconHeight,
34963
+ width: newIconWidth,
34964
+ color: newColor,
34965
+ onClick: callBackOnClick
34966
+ }));
34967
+ case 'search':
34968
+ return /*#__PURE__*/React$1.createElement(IconWrapper$1, {
34969
+ className: "SearchIcon",
34970
+ pointer: pointer,
34971
+ disabled: disabled,
34972
+ onClick: callBackOnClick
34973
+ }, /*#__PURE__*/React$1.createElement(SearchIcon, {
34974
+ height: newIconHeight,
34975
+ width: newIconWidth,
34976
+ color: newColor,
34977
+ onClick: callBackOnClick
34978
+ }));
34979
+ default:
34980
+ return '';
34981
+ }
34982
+ };
34983
+
34984
+ /* eslint-disable no-nested-ternary */
34985
+ const MainContainer = styled.div`
34986
+ position: relative;
34987
+ display: flex;
34988
+ flex-direction: column;
34989
+ align-content: center;
34990
+ justify-content: center;
34991
+ align-items: flex-start;
34992
+ width: ${props => props.width || '300px'};
34993
+ font-family: "Poppins", sans-serif;
34994
+ font-weight: 400;
34995
+ font-size: 14px;
34996
+ border-radius: ${props => props.size === 'small' ? '8px' : '12px'};
34997
+ padding: 0;
34998
+ cursor: ${props => props.disabled ? 'not-allowed' : 'default'};
34999
+ `;
35000
+ const Label = styled.label`
35001
+
35002
+ font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
35003
+ font-weight: 400;
35004
+ padding-inline-end: 5px;
35005
+ padding-inline-start: 5px;
35006
+ margin-right: 10px;
35007
+ z-index: 2;
35008
+ color: ${props => props.error ? 'red' : props.disabled ? '#D0D0D0' : props.labelColor};
35009
+ background-color: white;
35010
+ position: absolute;
35011
+ top: ${props => props.isFocused || props.hasValue ? '0px' : props.size === 'medium' ? '27px' : '17px'};
35012
+ left: ${props => props.isFocused || props.hasValue ? '23px' : props.leftIcon && props.leftIcon !== 'none' ? '42px' : '16px'};
35013
+ font-family: Poppins;
35014
+ transform: translateY(-50%);
35015
+ transition: top 0.3s ease, font-size 0.3s ease, color 0.3s ease;
35016
+ display: flex;
35017
+ align-items: center;
35018
+ box-sizing: border-box;
35019
+ max-height: 16px;
35020
+ gap: 4px;
35021
+ &:hover {
35022
+ cursor: ${props => props.disabled ? 'not-allowed' : 'pointer'};
35023
+ }
35024
+ `;
35025
+ const InputContainer = styled.div`
35026
+
35027
+ display: flex;
35028
+ flex-direction: row;
35029
+ flex-wrap: nowrap;
35030
+ justify-content: flex-start;
35031
+ align-content: center;
35032
+ white-space: pre-wrap;
35033
+ align-items: center;
35034
+ overflow: hidden;
35035
+ padding: 0 16px;
35036
+ gap: 14px;
35037
+ width: 100%;
35038
+ height: 100%;
35039
+ box-sizing: border-box;
35040
+ background-color: #fff;
35041
+ border: 1px solid ${props => props.disabled ? '#D0D0D0' : props.error ? 'red' : '#B1B1B1'};
35042
+ font-family: "Poppins", sans-serif;
35043
+ font-weight: 400;
35044
+ font-size: 14px;
35045
+ border-radius: ${props => props.size === 'small' ? '8px' : '12px'};
35046
+ outline: none;
35047
+ color: ${props => props.disabled ? '#D0D0D0' : '#212121'};
35048
+
35049
+ &:hover {
35050
+ border: 1px solid ${props => props.disabled ? '#D0D0D0' : props.error ? 'red' : props.labelColor || '#212121'};
35051
+ }
35052
+
35053
+ &:focus {
35054
+ border: 1px solid ${props => props.disabled ? '#D0D0D0' : props.error ? 'red' : props.labelColor || '#212121'};
35055
+ }
35056
+
35057
+ `;
35058
+ const InputSubContainer = styled.div`
35059
+
35060
+ display: flex;
35061
+ flex-direction: column;
35062
+ flex-wrap: nowrap;
35063
+ align-content: center;
35064
+ align-items: flex-start;
35065
+ justify-content: center;
35066
+ white-space: pre-wrap;
35067
+ overflow: hidden;
35068
+ padding: 5px 0;
35069
+ width: 100%;
35070
+ height: 100%;
35071
+ min-height: ${props => props.size === 'medium' ? '52px' : '32px'};
35072
+ box-sizing: border-box;
35073
+ background-color: #fff;
35074
+ border-radius: ${props => props.size === 'small' ? '8px' : '12px'};
35075
+ outline: none;
35076
+ color: ${props => props.disabled ? '#D0D0D0' : '#212121'};
35077
+ cursor: ${props => props.disabled ? 'not-allowed' : 'pointer'};
35078
+ `;
35079
+ const StyledInput = styled.input`
35080
+ width: calc(100% - 10px);
35081
+ height: 20px;
35082
+ font-family: Poppins;
35083
+ font-weight: 400;
35084
+ font-size: 14px;
35085
+ outline: none;
35086
+ color: ${props => props.disabled ? '#D0D0D0' : '#212121'};
35087
+ background-color: #fff;
35088
+ border: none;
35089
+ cursor: ${props => props.disabled ? 'not-allowed' : 'pointer'};
35090
+ `;
35091
+ const ErrorMessage = styled.div`
35092
+ font-size: 12px;
35093
+ color: red;
35094
+ margin-top: 5px;
35095
+ max-width: ${props => props.width || '300px'};
35096
+ `;
35097
+ const IconWrapper = styled.div`
35098
+ display: flex;
35099
+ align-items: center;
35100
+ justify-content: center;
35101
+ align-content: center;
35102
+ padding: 2px;
35103
+ &:hover{
35104
+ cursor: ${props => props.disabled ? 'not-allowed' : 'pointer'};
35105
+ }
35106
+ `;
35107
+
35108
+ /* eslint-disable import/no-extraneous-dependencies */
35109
+ const Input = _ref => {
35110
+ let {
35111
+ label,
35112
+ labelEmptyValue,
35113
+ size,
35114
+ selectedValue,
35115
+ placeHolder,
35116
+ onChange,
35117
+ onBlur,
35118
+ required,
35119
+ disabled,
35120
+ width,
35121
+ error,
35122
+ errorMessage,
35123
+ labelColor,
35124
+ leftIcon,
35125
+ rightIcon,
35126
+ password,
35127
+ leftIconOnClick,
35128
+ rightIconOnClick
35129
+ } = _ref;
35130
+ const [isFocused, setIsFocused] = useState(false);
35131
+ const [inputValue, setInputValue] = useState('');
35132
+ const [showPassword, setShowPassword] = useState(false);
35133
+ const inputRef = useRef(null);
35134
+ const containerRef = useRef(null);
35135
+ useEffect(() => {
35136
+ setInputValue(selectedValue);
35137
+ }, [selectedValue]);
35138
+ const handleLabelClick = () => {
35139
+ if (disabled) return;
35140
+ setIsFocused(true);
35141
+ if (inputRef?.current) {
35142
+ inputRef?.current?.focus();
35143
+ }
35144
+ };
35145
+ const handleInputChange = e => {
35146
+ setIsFocused(true);
35147
+ setInputValue(e.target.value);
35148
+ if (inputRef?.current) {
35149
+ inputRef?.current?.focus();
35150
+ }
35151
+ onChange({
35152
+ newValue: e.target.value || ''
35153
+ });
35154
+ };
35155
+ const handleFocus = () => {
35156
+ setIsFocused(true);
35157
+ if (inputRef?.current) {
35158
+ inputRef?.current?.focus();
35159
+ }
35160
+ };
35161
+ const handleBlur = () => {
35162
+ onBlur();
35163
+ setIsFocused(false);
35164
+ };
35165
+ const leftIconOnClickHandler = () => {
35166
+ if (disabled) return;
35167
+ leftIconOnClick({
35168
+ leftIconOnClick: leftIcon
35169
+ });
35170
+ };
35171
+ const rightIconOnClickHandler = () => {
35172
+ if (disabled) return;
35173
+ rightIconOnClick({
35174
+ rightIconOnClick: rightIcon
35175
+ });
35176
+ };
35177
+ const getLeftIcon = () => {
35178
+ if (!leftIcon || leftIcon === 'none') return '';
35179
+ return getIcon(leftIcon, '14px', '14px', error ? 'red' : labelColor, disabled, 'pointer', leftIconOnClickHandler);
35180
+ };
35181
+ const getRightIcon = () => {
35182
+ if (!rightIcon || rightIcon === 'none') return '';
35183
+ return getIcon(rightIcon, '14px', '14px', error ? 'red' : labelColor, disabled, 'pointer', rightIconOnClickHandler);
35184
+ };
35185
+ const toggleShowPassword = () => {
35186
+ setShowPassword(!showPassword);
35187
+ };
35188
+ const getPasswordIcon = () => {
35189
+ if (!password) return '';
35190
+ if (showPassword) {
35191
+ return /*#__PURE__*/React$1.createElement(IconWrapper, {
35192
+ className: "passwordEyeSlash",
35193
+ disabled: disabled,
35194
+ onClick: toggleShowPassword
35195
+ }, /*#__PURE__*/React$1.createElement(FaEyeSlash, {
35196
+ onClick: toggleShowPassword,
35197
+ color: error ? 'red' : labelColor
35198
+ }));
35199
+ }
35200
+ return getIcon('eye', '14px', '14px', error ? 'red' : labelColor, disabled, 'pointer', toggleShowPassword);
35201
+ };
35202
+ return /*#__PURE__*/React$1.createElement(MainContainer, {
35203
+ className: "MainContainer",
35204
+ width: width,
35205
+ size: size,
35206
+ disabled: disabled
35207
+ }, /*#__PURE__*/React$1.createElement(InputContainer, {
35208
+ className: "InputContainer",
35209
+ labelColor: labelColor,
35210
+ disabled: disabled,
35211
+ error: error,
35212
+ isFocused: isFocused,
35213
+ size: size
35214
+ }, getLeftIcon(), /*#__PURE__*/React$1.createElement(InputSubContainer, {
35215
+ className: "InputSubContainer",
35216
+ ref: containerRef,
35217
+ labelColor: labelColor,
35218
+ disabled: disabled,
35219
+ error: error,
35220
+ onClick: handleLabelClick,
35221
+ size: size
35222
+ }, /*#__PURE__*/React$1.createElement(Label, {
35223
+ className: "Label",
35224
+ isFocused: isFocused,
35225
+ labelColor: labelColor,
35226
+ hasValue: inputValue,
35227
+ leftIcon: leftIcon,
35228
+ disabled: disabled,
35229
+ error: error,
35230
+ errorMessage: errorMessage,
35231
+ onClick: handleLabelClick,
35232
+ size: size
35233
+ }, inputValue ? label : labelEmptyValue || label, required && /*#__PURE__*/React$1.createElement("span", {
35234
+ style: {
35235
+ color: disabled ? '#D0D0D0' : 'red',
35236
+ height: '16px'
35237
+ }
35238
+ }, "*")), /*#__PURE__*/React$1.createElement(StyledInput, {
35239
+ className: "StyledInput",
35240
+ ref: inputRef,
35241
+ type: password && !showPassword ? 'password' : 'text',
35242
+ value: inputValue,
35243
+ onChange: handleInputChange,
35244
+ onClick: handleLabelClick,
35245
+ onFocus: handleFocus,
35246
+ onBlur: handleBlur,
35247
+ disabled: disabled,
35248
+ placeholder: isFocused ? placeHolder : '',
35249
+ error: error,
35250
+ isFocused: isFocused
35251
+ })), password ? getPasswordIcon() : getRightIcon()), error && errorMessage?.length > 0 && /*#__PURE__*/React$1.createElement(ErrorMessage, {
35252
+ className: "ErrorMessage",
35253
+ width: width
35254
+ }, errorMessage));
35255
+ };
35256
+ Input.propTypes = {
35257
+ placeHolder: PropTypes.string,
35258
+ label: PropTypes.string,
35259
+ labelEmptyValue: PropTypes.string,
35260
+ size: PropTypes.string,
35261
+ labelColor: PropTypes.string,
35262
+ required: PropTypes.bool,
35263
+ width: PropTypes.string,
35264
+ disabled: PropTypes.bool,
35265
+ error: PropTypes.bool,
35266
+ errorMessage: PropTypes.string,
35267
+ selectedValue: PropTypes.string,
35268
+ onChange: PropTypes.func.isRequired,
35269
+ leftIconOnClick: PropTypes.func,
35270
+ rightIconOnClick: PropTypes.func,
35271
+ onBlur: PropTypes.func,
35272
+ leftIcon: PropTypes.string,
35273
+ rightIcon: PropTypes.string,
35274
+ password: PropTypes.bool
35275
+ };
35276
+ Input.defaultProps = {
35277
+ placeHolder: 'Type...',
35278
+ label: '',
35279
+ labelEmptyValue: '',
35280
+ size: 'medium',
35281
+ labelColor: '#066768',
35282
+ required: true,
35283
+ width: '300px',
35284
+ disabled: false,
35285
+ error: false,
35286
+ errorMessage: '',
35287
+ selectedValue: '',
35288
+ leftIcon: 'none',
35289
+ rightIcon: 'none',
35290
+ leftIconOnClick: () => {},
35291
+ rightIconOnClick: () => {},
35292
+ onBlur: () => {},
35293
+ password: false
35294
+ };
35295
+
35296
+ const ToggleSwitchLabel = styled.label`
35297
+ display: inline-block;
35298
+ position: relative;
35299
+ cursor: pointer;
35300
+ user-select: none;
35301
+ opacity: ${({
35302
+ disabled
35303
+ }) => disabled ? 0.5 : 1};
35304
+ `;
35305
+ const ToggleInput = styled.input`
35306
+ display: none;
35307
+ `;
35308
+ const ToggleSlider = styled.span`
35309
+ display: block;
35310
+ position: relative;
35311
+ background: ${({
35312
+ checked,
35313
+ disabled
35314
+ }) => checked ? disabled ? "#7bb1b0" : "#006d6a" : "#cfd8dc"};
35315
+ border-radius: 999px;
35316
+ transition: background 0.2s;
35317
+ ${({
35318
+ size
35319
+ }) => {
35320
+ switch (size) {
35321
+ case "s":
35322
+ return css`width: 40px; height: 20px;`;
35323
+ case "l":
35324
+ return css`width: 72px; height: 36px;`;
35325
+ default:
35326
+ return css`width: 56px; height: 28px;`;
35327
+ }
35328
+ }}
35329
+ &:before {
35330
+ content: "";
35331
+ position: absolute;
35332
+ left: 3px;
35333
+ top: 50%;
35334
+ transform: translateY(-50%);
35335
+ background: #fff;
35336
+ border-radius: 50%;
35337
+ transition: left 0.2s, width 0.2s, height 0.2s;
35338
+ ${({
35339
+ size
35340
+ }) => {
35341
+ switch (size) {
35342
+ case "s":
35343
+ return css`width: 14px; height: 14px;`;
35344
+ case "l":
35345
+ return css`width: 28px; height: 28px;`;
35346
+ default:
35347
+ return css`width: 20px; height: 20px;`;
35348
+ }
35349
+ }}
35350
+ left: ${({
35351
+ checked,
35352
+ size
35353
+ }) => {
35354
+ if (!checked) return "3px";
35355
+ switch (size) {
35356
+ case "s":
35357
+ return "calc(100% - 17px)";
35358
+ case "l":
35359
+ return "calc(100% - 31px)";
35360
+ default:
35361
+ return "calc(100% - 23px)";
35362
+ }
35363
+ }};
35364
+ }
35365
+ `;
35366
+
35367
+ /**
35368
+ * ToggleSwitch component for on/off states.
35369
+ * Supports small/large sizes and disabled state.
35370
+ */
35371
+ function ToggleSwitch(_ref) {
35372
+ let {
35373
+ checked,
35374
+ onChange,
35375
+ size = "m",
35376
+ disabled = false,
35377
+ ...props
35378
+ } = _ref;
35379
+ return /*#__PURE__*/React$1.createElement(ToggleSwitchLabel, {
35380
+ size: size,
35381
+ disabled: disabled
35382
+ }, /*#__PURE__*/React$1.createElement(ToggleInput, _extends$1({
35383
+ type: "checkbox",
35384
+ checked: checked,
35385
+ onChange: e => onChange?.(e.target.checked),
35386
+ disabled: disabled
35387
+ }, props)), /*#__PURE__*/React$1.createElement(ToggleSlider, {
35388
+ checked: checked,
35389
+ size: size,
35390
+ disabled: disabled
35391
+ }));
35392
+ }
35393
+ ToggleSwitch.propTypes = {
35394
+ checked: PropTypes.bool.isRequired,
35395
+ onChange: PropTypes.func,
35396
+ size: PropTypes.oneOf(["s", "m", "l"]),
35397
+ disabled: PropTypes.bool
35398
+ };
35399
+
35400
+ const TableWrapper = styled.div`
35401
+ width: ${props => props.width};
35402
+ height: ${props => props.height};
35403
+ padding: 20px;
35404
+ background-color: #fff;
35405
+ box-sizing: border-box;
35406
+ `;
35407
+ const Table = styled.table`
35408
+ width: 100%;
35409
+ margin-top: 24px;
35410
+ border-spacing: unset;
35411
+ `;
35412
+ const Thead = styled.thead``;
35413
+ const HeaderCell = styled.th`
35414
+ font-weight: 600;
35415
+ width: ${props => props.width};
35416
+ padding-right: 8px;
35417
+ padding-bottom: 12px;
35418
+ `;
35419
+ const Tbody = styled.tbody``;
35420
+ const BodyCell = styled.td`
35421
+ font-weight: 600;
35422
+ width: ${props => props.width};
35423
+ padding-right: 8px;
35424
+ padding-bottom: 12px;
35425
+ `;
35426
+ const StyledRow = styled.tr`
35427
+ border-bottom: 1px solid #C8C8C8;
35428
+ `;
35429
+
35430
+ const ContainerTable = props => {
35431
+ const {
35432
+ width = '100%',
35433
+ height = '300px',
35434
+ columnsWidths = [430, 105, 210, 175, 148, 185, 104, 104, 140, 50, 50],
35435
+ standardCellSkeletonHeight = 22,
35436
+ isLoading = true,
35437
+ children
35438
+ } = props;
35439
+ const TableWrapperRef = useRef(null);
35440
+ const [numberOfRows, setNumberOfRows] = useState(3);
35441
+ const calculateRows = () => {
35442
+ if (TableWrapperRef.current) {
35443
+ const wrapperHeight = TableWrapperRef.current.offsetHeight;
35444
+
35445
+ // Calculate available space for rows
35446
+ const titleHeight = 32; // First skeleton height
35447
+ const subtitleHeight = 22; // Second skeleton height
35448
+ const titleMargin = 24; // Margin top for subtitle
35449
+ const headerRowHeight = standardCellSkeletonHeight + 22; // Approximate height of header row (22px skeleton + padding)
35450
+ const bodyRowHeight = standardCellSkeletonHeight + 22; // Approximate height of body row (22px skeleton + padding)
35451
+ const tablePadding = 20; // Approximate padding/margins for the table
35452
+
35453
+ const usedHeight = titleHeight + subtitleHeight + titleMargin + headerRowHeight + tablePadding;
35454
+ const availableHeight = wrapperHeight - usedHeight;
35455
+
35456
+ // Calculate how many rows can fit
35457
+ const maxRows = Math.floor(availableHeight / bodyRowHeight);
35458
+
35459
+ // Set minimum of 3 rows, maximum based on available space
35460
+ setNumberOfRows(Math.max(3, maxRows));
35461
+ }
35462
+ };
35463
+ useEffect(() => {
35464
+ calculateRows();
35465
+ }, [height]);
35466
+ return /*#__PURE__*/React$1.createElement(TableWrapper, {
35467
+ ref: TableWrapperRef,
35468
+ width: width,
35469
+ height: height
35470
+ }, isLoading ? /*#__PURE__*/React$1.createElement(SkeletonTheme, {
35471
+ baseColor: "#EAEAEA",
35472
+ highlightColor: "#F5F5F5"
35473
+ }, /*#__PURE__*/React$1.createElement(Skeleton, {
35474
+ width: 260,
35475
+ height: 32
35476
+ }), /*#__PURE__*/React$1.createElement(Skeleton, {
35477
+ width: 260,
35478
+ height: 22,
35479
+ style: {
35480
+ marginTop: 24
35481
+ }
35482
+ }), /*#__PURE__*/React$1.createElement(Table, null, /*#__PURE__*/React$1.createElement(Thead, null, /*#__PURE__*/React$1.createElement(StyledRow, null, columnsWidths.map((width, index) => /*#__PURE__*/React$1.createElement(HeaderCell, {
35483
+ key: `header-cell-${index}`,
35484
+ width: `${width}px`
35485
+ }, /*#__PURE__*/React$1.createElement(Skeleton, {
35486
+ width: '100%',
35487
+ height: standardCellSkeletonHeight
35488
+ }))))), /*#__PURE__*/React$1.createElement(Tbody, null, Array.from({
35489
+ length: numberOfRows
35490
+ }).map((_, rowIndex) => /*#__PURE__*/React$1.createElement(StyledRow, {
35491
+ key: `row-${rowIndex}`
35492
+ }, columnsWidths.map((width, colIndex) => /*#__PURE__*/React$1.createElement(BodyCell, {
35493
+ key: `cell-${rowIndex}-${colIndex}`,
35494
+ width: `${width}px`
35495
+ }, /*#__PURE__*/React$1.createElement(Skeleton, {
35496
+ width: '100%',
35497
+ height: standardCellSkeletonHeight
35498
+ })))))))) : children);
35499
+ };
35500
+
35501
+ const MenuRouteContainer = styled.div`
35502
+ font-family: 'Poppins', sans-serif;
35503
+ `;
35504
+ const ButtonGroup = styled.div`
35505
+ display: flex;
35506
+ justify-content: ${props => {
35507
+ switch (props.pos) {
35508
+ case 'left':
35509
+ return 'flex-start';
35510
+ case 'center':
35511
+ return 'center';
35512
+ case 'right':
35513
+ return 'flex-end';
35514
+ default:
35515
+ return 'center';
35516
+ }
35517
+ }};
35518
+ `;
35519
+ const Button = styled.button`
35520
+ background-color: transparent;
35521
+ border: none;
35522
+ display: flex;
35523
+ gap: 12px;
35524
+ align-items: center;
35525
+ color: #212121;
35526
+ padding: 0 24px 10px;
35527
+ font-size: 16px;
35528
+ font-weight: 600;
35529
+ &.active {
35530
+ color: ${props => props.color || '#066768'};
35531
+ border-bottom: 3px solid ${props => props.color || '#066768'};
35532
+ }
35533
+ &:disabled {
35534
+ color: #717171;
35535
+ cursor: not-allowed;
35536
+ }
35537
+ `;
35538
+
35539
+ const Build = _ref => {
35540
+ let {
35541
+ width = '24',
35542
+ height = '24',
35543
+ fill = "#212121"
35544
+ } = _ref;
35545
+ return /*#__PURE__*/React$1.createElement("svg", {
35546
+ width: width,
35547
+ height: height,
35548
+ viewBox: "0 0 24 24",
35549
+ fill: "none",
35550
+ xmlns: "http://www.w3.org/2000/svg"
35551
+ }, /*#__PURE__*/React$1.createElement("path", {
35552
+ 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",
35553
+ fill: fill
35554
+ }), /*#__PURE__*/React$1.createElement("path", {
35555
+ 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",
35556
+ fill: fill
35557
+ }));
35558
+ };
35559
+
35560
+ const Track = _ref => {
35561
+ let {
35562
+ width = '24',
35563
+ height = '24',
35564
+ fill = "#212121"
35565
+ } = _ref;
35566
+ return /*#__PURE__*/React$1.createElement("svg", {
35567
+ width: width,
35568
+ height: height,
35569
+ viewBox: "0 0 24 24",
35570
+ fill: "none",
35571
+ xmlns: "http://www.w3.org/2000/svg"
35572
+ }, /*#__PURE__*/React$1.createElement("path", {
35573
+ 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",
35574
+ fill: fill
35575
+ }), /*#__PURE__*/React$1.createElement("path", {
35576
+ 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",
35577
+ fill: fill
35578
+ }), /*#__PURE__*/React$1.createElement("path", {
35579
+ 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",
35580
+ fill: fill
35581
+ }));
35582
+ };
35583
+
35584
+ const Execute = _ref => {
35585
+ let {
35586
+ width = '24',
35587
+ height = '24',
35588
+ fill = "#212121"
35589
+ } = _ref;
35590
+ return /*#__PURE__*/React$1.createElement("svg", {
35591
+ width: width,
35592
+ height: height,
35593
+ viewBox: "0 0 24 24",
35594
+ fill: "none",
35595
+ xmlns: "http://www.w3.org/2000/svg"
35596
+ }, /*#__PURE__*/React$1.createElement("path", {
35597
+ 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",
35598
+ fill: fill
35599
+ }), /*#__PURE__*/React$1.createElement("path", {
35600
+ "fill-rule": "evenodd",
35601
+ "clip-rule": "evenodd",
35602
+ 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",
35603
+ fill: fill
35604
+ }), /*#__PURE__*/React$1.createElement("path", {
35605
+ "fill-rule": "evenodd",
35606
+ "clip-rule": "evenodd",
35607
+ 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",
35608
+ fill: fill
35609
+ }));
35610
+ };
35611
+
35612
+ const MenuRoute = props => {
35613
+ const {
35614
+ tabsPosition,
35615
+ items,
35616
+ color,
35617
+ selecetIndex = 0,
35618
+ onTabClick
35619
+ } = props;
35620
+ const [activeItem, setActiveItem] = useState(items[selecetIndex]?.key || items[0]?.key);
35621
+ useEffect(() => {
35622
+ if (selecetIndex >= 0 && selecetIndex < items.length) {
35623
+ setActiveItem(items[selecetIndex]?.key);
35624
+ }
35625
+ }, [selecetIndex, items]);
35626
+ const handleItemClick = (key, item) => {
35627
+ if (item.disabled) return;
35628
+ if (item.href) {
35629
+ window.open(item.href, item.target || '_self');
35630
+ return;
35631
+ }
35632
+ setActiveItem(key);
35633
+ if (onTabClick) {
35634
+ onTabClick(key);
35635
+ }
35636
+ };
35637
+ return /*#__PURE__*/React$1.createElement(MenuRouteContainer, null, /*#__PURE__*/React$1.createElement(ButtonGroup, {
35638
+ pos: tabsPosition
35639
+ }, items.map(item => /*#__PURE__*/React$1.createElement(Button, {
35640
+ key: item.key,
35641
+ onClick: () => handleItemClick(item.key, item),
35642
+ disabled: item.disabled,
35643
+ className: activeItem === item.key ? 'active' : '',
35644
+ color: color
35645
+ }, item.icon && /*#__PURE__*/React$1.cloneElement(item.icon, {
35646
+ fill: item.disabled ? '#717171' : activeItem === item.key ? color : item.icon.props.fill
35647
+ }), /*#__PURE__*/React$1.isValidElement(item.label) ? item.label : item.label))));
35648
+ };
35649
+
35650
+ export { AreaChart, BannerEventBoxList, BarChart, BarChartTwoRows, BarChartWithAreaChart, BarChartsByWeeks, BatteryChart, BreakdownPanel, BrushChart, BubbleChart, Build, Button$1 as Button, CollapseData, CollapseHeader, ContainerTable, DialogOverlay, DoubleBarSingleLine, DoublePanelDataRow, DownloadProgress, DropdownNew, EventDetailsCard, EventList, Execute, FilterPanel, Heatmap, IconButton, Input, InsightsCarousel, LinkButton, LinnerDataBox, MarketShareDescription, MenuRoute, ModalWithOverlay, OneColumnContainer, PerformanceAnalyticsLegend, PieChart, PopupCharts, QuickFilter, ReportTable, SingleBarLineCharts, TabMenu, ToggleSwitch, TopToggleList, TotalDoughnutChart, TotalHorizontalCharts, Track, TwoBarCharts, WeeksPicker };
34408
35651
  //# sourceMappingURL=index.esm.js.map