sag_components 2.0.0-beta96 → 2.0.0-beta98

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 (419) hide show
  1. package/dist/index.d.ts +1355 -1222
  2. package/dist/index.esm.js +1937 -519
  3. package/dist/index.esm.js.map +1 -1
  4. package/dist/index.js +1948 -519
  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 +243 -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/Table/NoEvents.d.ts +5 -0
  283. package/dist/types/components/Table/Table.d.ts +2 -0
  284. package/dist/types/components/Table/Table.stories.d.ts +59 -0
  285. package/dist/types/components/Table/Table.style.d.ts +12 -0
  286. package/dist/types/components/TitleDescription/TitleDescription.d.ts +59 -59
  287. package/dist/types/components/TitleDescription/TitleDescription.stories.d.ts +90 -90
  288. package/dist/types/components/TitleDescription/TitleDescription.style.d.ts +26 -26
  289. package/dist/types/components/ToggleSwitch/ToggleSwitch.d.ts +21 -0
  290. package/dist/types/components/ToggleSwitch/ToggleSwitch.stories.d.ts +15 -0
  291. package/dist/types/components/ToggleSwitch/ToggleSwitch.style.d.ts +3 -0
  292. package/dist/types/components/Tooltip/Tooltip.d.ts +24 -24
  293. package/dist/types/components/Tooltip/Tooltip.style.d.ts +3 -3
  294. package/dist/types/components/TopToggleList/TopToggleList.d.ts +24 -24
  295. package/dist/types/components/TopToggleList/TopToggleList.stories.d.ts +25 -25
  296. package/dist/types/components/TopToggleList/TopToggleList.style.d.ts +5 -5
  297. package/dist/types/components/TotalBenchmark/TotalBenchmark.d.ts +40 -40
  298. package/dist/types/components/TotalBenchmark/TotalBenchmark.stories.d.ts +101 -101
  299. package/dist/types/components/TotalBenchmark/TotalBenchmark.style.d.ts +9 -9
  300. package/dist/types/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.d.ts +86 -86
  301. package/dist/types/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.stories.d.ts +240 -240
  302. package/dist/types/components/TotalBenchmarkAreachart/TotalBenchmarkAreachart.style.d.ts +20 -20
  303. package/dist/types/components/TotalBenchmarkArrows/TotalBenchmarkArrows.d.ts +51 -51
  304. package/dist/types/components/TotalBenchmarkArrows/TotalBenchmarkArrows.stories.d.ts +145 -145
  305. package/dist/types/components/TotalBenchmarkArrows/TotalBenchmarkArrows.style.d.ts +14 -14
  306. package/dist/types/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.d.ts +56 -56
  307. package/dist/types/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.stories.d.ts +155 -155
  308. package/dist/types/components/TotalBenchmarkBarchart/TotalBenchmarkBarchart.style.d.ts +10 -10
  309. package/dist/types/components/TotalDoughnutChart/TotalDoughnutChart.d.ts +82 -82
  310. package/dist/types/components/TotalDoughnutChart/TotalDoughnutChart.stories.d.ts +241 -241
  311. package/dist/types/components/TotalDoughnutChart/TotalDoughnutChart.style.d.ts +19 -19
  312. package/dist/types/components/TotalHorizontalCharts/TotalHorizontalCharts.d.ts +76 -76
  313. package/dist/types/components/TotalHorizontalCharts/TotalHorizontalCharts.stories.d.ts +214 -214
  314. package/dist/types/components/TotalHorizontalCharts/TotalHorizontalCharts.style.d.ts +6 -6
  315. package/dist/types/components/TspanTooltip/TspanTooltip.d.ts +24 -24
  316. package/dist/types/components/TspanTooltip/TspanTooltip.style.d.ts +3 -3
  317. package/dist/types/components/TwoBarCharts/TwoBarCharts.d.ts +77 -77
  318. package/dist/types/components/TwoBarCharts/TwoBarCharts.stories.d.ts +172 -172
  319. package/dist/types/components/TwoBarCharts/TwoBarCharts.style.d.ts +8 -8
  320. package/dist/types/components/WeeksPicker/WeeksCalendar.d.ts +28 -0
  321. package/dist/types/components/WeeksPicker/WeeksCalendar.styles.d.ts +5 -0
  322. package/dist/types/components/WeeksPicker/WeeksPicker.d.ts +27 -0
  323. package/dist/types/components/WeeksPicker/WeeksPicker.stories.d.ts +9 -0
  324. package/dist/types/components/WeeksPicker/WeeksPicker.style.d.ts +8 -0
  325. package/dist/types/icons/ArrowDownIcon.d.ts +6 -6
  326. package/dist/types/icons/ArrowDropDownIcon.d.ts +6 -6
  327. package/dist/types/icons/ArrowLeftIcon.d.ts +7 -0
  328. package/dist/types/icons/ArrowSelectIcon.d.ts +6 -6
  329. package/dist/types/icons/ArrowUpIcon.d.ts +6 -6
  330. package/dist/types/icons/AttachedIcon.d.ts +6 -6
  331. package/dist/types/icons/BarcodeIcon.d.ts +6 -6
  332. package/dist/types/icons/BellIcon.d.ts +6 -6
  333. package/dist/types/icons/ButtonArrowRight.d.ts +5 -5
  334. package/dist/types/icons/Calendar.d.ts +2 -2
  335. package/dist/types/icons/CalendarIcon.d.ts +6 -6
  336. package/dist/types/icons/CalendarInOpen.d.ts +2 -2
  337. package/dist/types/icons/CheckBoxButtonCheckedIcon.d.ts +7 -7
  338. package/dist/types/icons/CheckBoxCheckedIcon.d.ts +7 -7
  339. package/dist/types/icons/CheckBoxNotCheckedIcon.d.ts +7 -7
  340. package/dist/types/icons/ChervronLeftIcon.d.ts +6 -6
  341. package/dist/types/icons/ChervronRightIcon.d.ts +6 -6
  342. package/dist/types/icons/ChevronIcon.d.ts +7 -7
  343. package/dist/types/icons/ChevronLeftIcon.d.ts +4 -4
  344. package/dist/types/icons/ChevronRightIcon.d.ts +4 -4
  345. package/dist/types/icons/ClockIcon.d.ts +6 -6
  346. package/dist/types/icons/CloseIcon.d.ts +6 -6
  347. package/dist/types/icons/CloseXIcon.d.ts +6 -6
  348. package/dist/types/icons/ComboBoxArrowDownIcon.d.ts +7 -7
  349. package/dist/types/icons/ComboBoxArrowUpIcon.d.ts +7 -7
  350. package/dist/types/icons/DocumentIcon.d.ts +6 -6
  351. package/dist/types/icons/DownArrowIcon.d.ts +5 -5
  352. package/dist/types/icons/DownloadIcon.d.ts +6 -6
  353. package/dist/types/icons/Duplicate.d.ts +7 -7
  354. package/dist/types/icons/ErrorIcon.d.ts +6 -6
  355. package/dist/types/icons/ExitIcon.d.ts +7 -7
  356. package/dist/types/icons/ExportIcon.d.ts +6 -6
  357. package/dist/types/icons/EyeIcon.d.ts +7 -7
  358. package/dist/types/icons/FileIcon.d.ts +6 -6
  359. package/dist/types/icons/FilterIcon.d.ts +6 -6
  360. package/dist/types/icons/FlyIcon.d.ts +6 -6
  361. package/dist/types/icons/FolderIcon.d.ts +6 -6
  362. package/dist/types/icons/FoodLionChartIcon.d.ts +2 -2
  363. package/dist/types/icons/FoodLionIcon.d.ts +6 -6
  364. package/dist/types/icons/FoodLionNewIcon.d.ts +5 -5
  365. package/dist/types/icons/GiantFoodChartIcon.d.ts +2 -2
  366. package/dist/types/icons/GiantFoodIcon.d.ts +7 -7
  367. package/dist/types/icons/GiantFoodIcon_new.d.ts +7 -7
  368. package/dist/types/icons/HannafordChartIcon.d.ts +2 -2
  369. package/dist/types/icons/HannafordIcon.d.ts +6 -6
  370. package/dist/types/icons/HannafordIcon_new.d.ts +7 -7
  371. package/dist/types/icons/HannafordNewIcon.d.ts +5 -5
  372. package/dist/types/icons/InfoIcon.d.ts +7 -7
  373. package/dist/types/icons/LampIcon.d.ts +6 -6
  374. package/dist/types/icons/LegendLineIcon.d.ts +6 -6
  375. package/dist/types/icons/LegendUnionIcon.d.ts +6 -6
  376. package/dist/types/icons/MaintenanceIcon.d.ts +7 -7
  377. package/dist/types/icons/MenuItemClosedIcon.d.ts +7 -7
  378. package/dist/types/icons/MenuItemOpenIcon.d.ts +6 -6
  379. package/dist/types/icons/MenuItemRightIcon.d.ts +7 -7
  380. package/dist/types/icons/MenuItemUpIcon.d.ts +6 -6
  381. package/dist/types/icons/NoDataFoundIcon.d.ts +12 -12
  382. package/dist/types/icons/OptionsIcon.d.ts +6 -6
  383. package/dist/types/icons/PeopleIcon.d.ts +6 -6
  384. package/dist/types/icons/Plus.d.ts +6 -0
  385. package/dist/types/icons/PlusIcon.d.ts +6 -0
  386. package/dist/types/icons/ReselectIcon.d.ts +6 -6
  387. package/dist/types/icons/SearchIcon.d.ts +6 -6
  388. package/dist/types/icons/ShoppingCartIcon.d.ts +6 -6
  389. package/dist/types/icons/ShoutIcon.d.ts +6 -6
  390. package/dist/types/icons/Sort.d.ts +1 -1
  391. package/dist/types/icons/SortIcon.d.ts +7 -7
  392. package/dist/types/icons/SpotlightProductIcon.d.ts +7 -7
  393. package/dist/types/icons/StopAndShopChartIcon.d.ts +2 -2
  394. package/dist/types/icons/StopAndShopIcon.d.ts +7 -7
  395. package/dist/types/icons/StopAndShopNewIcon.d.ts +6 -6
  396. package/dist/types/icons/SucceededIcon.d.ts +6 -6
  397. package/dist/types/icons/TheGiantCompanyChartIcon.d.ts +2 -2
  398. package/dist/types/icons/TheGiantCompanyIcon.d.ts +5 -5
  399. package/dist/types/icons/TheGiantCompanyNewIcon.d.ts +6 -6
  400. package/dist/types/icons/UpArrowIcon.d.ts +5 -5
  401. package/dist/types/icons/index.d.ts +15 -0
  402. package/dist/types/index.d.ts +49 -38
  403. package/dist/types/utils/CommonFunctions.d.ts +7 -7
  404. package/dist/types/utils/ComponentFactory.d.ts +4 -4
  405. package/dist/types/utils/IconsHandler.d.ts +1 -1
  406. package/dist/types/utils/IconsHandler.style.d.ts +1 -1
  407. package/dist/types/utils/regex/Email.regex.d.ts +1 -1
  408. package/dist/types/utils/regex/LatinWithSpaces.regex.d.ts +1 -1
  409. package/dist/types/utils/regex/Phone.regex.d.ts +1 -1
  410. package/package.json +1 -1
  411. package/dist/types/components/AutocompleteField/AutocompleteField.d.ts +0 -15
  412. package/dist/types/components/AutocompleteField/AutocompleteField.stories.d.ts +0 -13
  413. package/dist/types/components/AutocompleteField/AutocompleteField.style.d.ts +0 -5
  414. package/dist/types/components/CampaignTool/CampaignDemoReport.stories.d.ts +0 -46
  415. package/dist/types/components/CampaignTool/Card.stories.d.ts +0 -57
  416. package/dist/types/components/CampaignTool/MultipleCard.stories.d.ts +0 -28
  417. package/dist/types/components/CampaignTool/PageFilterBar.stories.d.ts +0 -17
  418. package/dist/types/components/CampaignTool/Popup.stories.d.ts +0 -101
  419. 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;
@@ -24,7 +34,7 @@ const ButtonItem = styled.div`
24
34
  height: ${props => props.height};
25
35
  color: ${props => props.disabled ? props.disabled_text_color : props.text_color};
26
36
  border: ${props => `1px solid ${props.disabled ? props.disabled_border_color : props.border_color}`};
27
- border-radius: 12px;
37
+ border-radius: ${props => props.borderRadius};
28
38
  background-color: ${props => props.disabled ? props.disabled_background_color : props.background_color};
29
39
  box-sizing: border-box;
30
40
  gap: 8px;
@@ -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;
@@ -60,14 +70,13 @@ const IconWrapper$1 = styled.div`
60
70
  const InputCommit = styled.input`
61
71
  font-family: "Poppins", sans-serif;
62
72
  border: ${props => `0px solid ${props.disabled ? props.disabled_border_color : props.hover_border_color}`};
63
- border-radius: 8px;
64
73
  font-weight: 400;
65
74
  font-size: 14px;
66
75
  width: ${props => props.width};
67
76
  height: ${props => props.height};
68
77
  color: ${props => props.disabled ? props.disabled_text_color : props.text_color};
69
78
  border: ${props => `1px solid ${props.disabled ? props.disabled_border_color : props.border_color}`};
70
- border-radius: 12px;
79
+ border-radius: ${props => props.borderRadius};
71
80
  background-color: ${props => props.disabled ? props.disabled_background_color : props.background_color};
72
81
  cursor: pointer;
73
82
  padding: ${props => props.padding};
@@ -87,6 +96,24 @@ const InputCommit = styled.input`
87
96
  }
88
97
  `;
89
98
 
99
+ const DownloadIcon = _ref => {
100
+ let {
101
+ width = '8',
102
+ height = '9',
103
+ color = '#212121'
104
+ } = _ref;
105
+ return /*#__PURE__*/React$1.createElement("svg", {
106
+ width: width,
107
+ height: height,
108
+ viewBox: "0 0 20 20",
109
+ fill: "none",
110
+ xmlns: "http://www.w3.org/2000/svg"
111
+ }, /*#__PURE__*/React$1.createElement("path", {
112
+ 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",
113
+ fill: color
114
+ }));
115
+ };
116
+
90
117
  const FilterIcon = _ref => {
91
118
  let {
92
119
  width = '17',
@@ -132,24 +159,6 @@ const OptionsIcon = _ref => {
132
159
  }));
133
160
  };
134
161
 
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
162
  const DocumentIcon = _ref => {
154
163
  let {
155
164
  width = '19',
@@ -282,40 +291,169 @@ const EyeIcon = _ref => {
282
291
  }));
283
292
  };
284
293
 
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
- };
294
+ const ButtonArrowRight = ({
295
+ width = '16',
296
+ height = '17'
297
+ }) => /*#__PURE__*/React$1.createElement("svg", {
298
+ width: width,
299
+ height: height,
300
+ viewBox: "0 0 16 17",
301
+ fill: "none",
302
+ xmlns: "http://www.w3.org/2000/svg"
303
+ }, /*#__PURE__*/React$1.createElement("g", null, /*#__PURE__*/React$1.createElement("path", {
304
+ id: "icon",
305
+ 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",
306
+ fill: "white"
307
+ })));
302
308
 
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
- }));
309
+ const ReselectIcon = ({
310
+ width = '16',
311
+ height = '16',
312
+ color = '#212121'
313
+ }) => /*#__PURE__*/React$1.createElement("svg", {
314
+ width: width,
315
+ height: height,
316
+ viewBox: "0 0 16 16",
317
+ fill: "none",
318
+ xmlns: "http://www.w3.org/2000/svg"
319
+ }, /*#__PURE__*/React$1.createElement("path", {
320
+ 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",
321
+ fill: color
322
+ }));
323
+
324
+ const SearchIcon = ({
325
+ width = '13',
326
+ height = '13',
327
+ color = '#212121'
328
+ }) => /*#__PURE__*/React$1.createElement("svg", {
329
+ width: width,
330
+ height: height,
331
+ viewBox: "0 0 13 13",
332
+ fill: "none",
333
+ xmlns: "http://www.w3.org/2000/svg"
334
+ }, /*#__PURE__*/React$1.createElement("path", {
335
+ 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",
336
+ fill: color
337
+ }));
338
+
339
+ const PlusIcon = ({
340
+ width = '17',
341
+ height = '17',
342
+ color = '#212121'
343
+ }) => /*#__PURE__*/React$1.createElement("svg", {
344
+ xmlns: "http://www.w3.org/2000/svg",
345
+ width: "16",
346
+ height: "17",
347
+ viewBox: "0 0 16 17",
348
+ fill: "none"
349
+ }, /*#__PURE__*/React$1.createElement("path", {
350
+ 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",
351
+ fill: "#066768"
352
+ }));
353
+
354
+ const Plus = ({
355
+ width = 17,
356
+ height = 17,
357
+ fill = 'white'
358
+ }) => /*#__PURE__*/React$1.createElement("svg", {
359
+ width: width,
360
+ height: height,
361
+ viewBox: "0 0 17 17",
362
+ fill: "none",
363
+ xmlns: "http://www.w3.org/2000/svg"
364
+ }, /*#__PURE__*/React$1.createElement("path", {
365
+ d: "M9.34619 2.03369V7.65869H14.9712C15.4282 7.65869 15.8149 8.04541 15.8149 8.50244C15.8149 8.99463 15.4282 9.34619 14.9712 9.34619H9.34619V14.9712C9.34619 15.4634 8.95947 15.8149 8.50244 15.8149C8.01025 15.8149 7.65869 15.4634 7.65869 14.9712V9.34619H2.03369C1.5415 9.34619 1.18994 8.99463 1.18994 8.50244C1.18994 8.04541 1.5415 7.65869 2.03369 7.65869H7.65869V2.03369C7.65869 1.57666 8.01025 1.18994 8.50244 1.18994C8.95947 1.18994 9.34619 1.57666 9.34619 2.03369Z",
366
+ fill: fill
367
+ }));
368
+
369
+ const Button$1 = props => {
370
+ const {
371
+ text = "",
372
+ type = "primary",
373
+ size = "small",
374
+ height = "",
375
+ width = "",
376
+ disabled = false,
377
+ textColor = "",
378
+ backgroundColor = "",
379
+ borderColor = "",
380
+ borderRadius = "12px",
381
+ hoverTextColor = "",
382
+ hoverBackgroundColor = "",
383
+ hoverBorderColor = "",
384
+ disabledTextColor = "",
385
+ disabledBackgroundColor = "",
386
+ disabledBorderColor = "",
387
+ onClick = () => {},
388
+ leftIcon = null,
389
+ rightIcon = null,
390
+ isSubmitButton = false
391
+ } = props;
392
+ const [clicked, setClicked] = useState(false);
393
+ const [hover, setHover] = useState(false);
394
+ const handleClick = event => {
395
+ setClicked(prev => !prev);
396
+ onClick(event);
397
+ setTimeout(() => setClicked(prev => !prev), 300);
398
+ };
399
+ const iconMap = {
400
+ arrow: ButtonArrowRight,
401
+ filter: FilterIcon,
402
+ options: OptionsIcon,
403
+ download: DownloadIcon,
404
+ document: DocumentIcon,
405
+ fly: FlyIcon,
406
+ bell: BellIcon,
407
+ maintenance: MaintenanceIcon,
408
+ exit: ExitIcon,
409
+ eye: EyeIcon,
410
+ reselect: ReselectIcon,
411
+ plus: Plus
412
+ };
413
+ const getIcon = icon => {
414
+ if (!icon || icon === "none") return null;
415
+ const IconComponent = iconMap[icon.toLowerCase()];
416
+ const iconProps = {
417
+ height: "16px",
418
+ width: "16px",
419
+ color: disabled ? disabledTextColor || "#B1B1B1" : hover ? hoverTextColor || (type === "secondary" ? "#229E38" : "#ffffff") : textColor || (type === "secondary" ? "#212121" : "#ffffff")
420
+ };
421
+ return /*#__PURE__*/React$1.createElement(IconWrapper$3, null, /*#__PURE__*/React$1.createElement(IconComponent, iconProps));
422
+ };
423
+ const commonProps = {
424
+ width: width || null,
425
+ height: height || (size === "small" ? "33px" : "45px"),
426
+ disabled,
427
+ text_color: textColor || (type === "secondary" ? "#212121" : "#ffffff"),
428
+ background_color: backgroundColor || (type === "secondary" ? "#ffffff" : "#229E38"),
429
+ border_color: borderColor || (type === "secondary" ? "#B1B1B1" : "#229E38"),
430
+ hover_text_color: hoverTextColor || (type === "secondary" ? "#229E38" : "#ffffff"),
431
+ hover_background_color: hoverBackgroundColor || (type === "secondary" ? "#E8F5EB" : "#92CF17"),
432
+ hover_border_color: hoverBorderColor || (type === "secondary" ? "#229E38" : "#92CF17"),
433
+ disabled_text_color: disabledTextColor || "#B1B1B1",
434
+ disabled_background_color: disabledBackgroundColor || (type === "secondary" ? "#ffffff" : "#E3E4E5"),
435
+ disabled_border_color: disabledBorderColor || "#E3E4E5",
436
+ padding: size === "small" ? "0 16px" : "0 20px",
437
+ onClick: !disabled ? handleClick : null
438
+ };
439
+ return /*#__PURE__*/React$1.createElement(ButtonContainer$1, {
440
+ className: "ButtonContainer",
441
+ width: commonProps.width,
442
+ height: commonProps.height
443
+ }, isSubmitButton ? /*#__PURE__*/React$1.createElement(InputCommit, _extends$1({
444
+ className: clicked ? "InputCommit-clicked" : "InputCommit",
445
+ value: text,
446
+ type: "submit",
447
+ borderRadius: borderRadius
448
+ }, commonProps)) : /*#__PURE__*/React$1.createElement(ButtonItem, _extends$1({
449
+ className: clicked ? "ButtonItem-clicked" : "ButtonItem",
450
+ onMouseEnter: () => setHover(true),
451
+ onMouseLeave: () => setHover(false),
452
+ borderRadius: borderRadius
453
+ }, commonProps), getIcon(leftIcon), /*#__PURE__*/React$1.createElement(Label$8, {
454
+ className: "Label",
455
+ disabled: disabled
456
+ }, text), getIcon(rightIcon)));
319
457
  };
320
458
 
321
459
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
@@ -1471,199 +1609,6 @@ if (process.env.NODE_ENV !== 'production') {
1471
1609
  var propTypesExports = propTypes.exports;
1472
1610
  var PropTypes = /*@__PURE__*/getDefaultExportFromCjs(propTypesExports);
1473
1611
 
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
1612
  /* eslint-disable no-restricted-globals */
1668
1613
  /* eslint-disable no-shadow */
1669
1614
  const getCurrencySign = (currencyTypeToConvert, value) => {
@@ -1939,7 +1884,7 @@ const TitleAndValueContainer$4 = styled.div`
1939
1884
  flex-direction: column;
1940
1885
  padding: 0 20px;
1941
1886
  `;
1942
- const Title$j = styled.h4`
1887
+ const Title$k = styled.h4`
1943
1888
  font-weight: 400;
1944
1889
  font-size: 18px;
1945
1890
  margin: 0 0 8px;
@@ -2415,7 +2360,7 @@ const PieChart = props => {
2415
2360
  width: width
2416
2361
  }, !hideTitleAndValue && /*#__PURE__*/React$1.createElement(TitleAndValueContainer$4, {
2417
2362
  className: "TitleAndValueContainer"
2418
- }, /*#__PURE__*/React$1.createElement(Title$j, {
2363
+ }, /*#__PURE__*/React$1.createElement(Title$k, {
2419
2364
  className: "Title"
2420
2365
  }, title), /*#__PURE__*/React$1.createElement(CurrencySignAndFormattedValueContainer$2, {
2421
2366
  className: "CurrencySignAndFormattedValueContainer"
@@ -2495,7 +2440,7 @@ PieChart.defaultProps = {
2495
2440
  noDataText: 'No Data'
2496
2441
  };
2497
2442
 
2498
- const MainContainer$7 = styled.div`
2443
+ const MainContainer$8 = styled.div`
2499
2444
  position: relative;
2500
2445
  font-family: "Poppins", sans-serif;
2501
2446
  background-color: white;
@@ -2702,7 +2647,7 @@ const HannafordNewIcon = _ref => {
2702
2647
  })));
2703
2648
  };
2704
2649
 
2705
- const MainContainer$6 = styled.div`
2650
+ const MainContainer$7 = styled.div`
2706
2651
  position: relative;
2707
2652
  font-family: "Poppins", sans-serif;
2708
2653
  background-color: white;
@@ -2876,7 +2821,7 @@ const BannersDropdown = props => {
2876
2821
  setBannerButtonArrow('#757575');
2877
2822
  }
2878
2823
  }, [processedBanners]);
2879
- return /*#__PURE__*/React.createElement(MainContainer$6, null, /*#__PURE__*/React.createElement(ToggleBannersWrapper, null, /*#__PURE__*/React.createElement(ToggleBanners, {
2824
+ return /*#__PURE__*/React.createElement(MainContainer$7, null, /*#__PURE__*/React.createElement(ToggleBannersWrapper, null, /*#__PURE__*/React.createElement(ToggleBanners, {
2880
2825
  className: bannerButtonText === 'Partial' ? 'partial' : '',
2881
2826
  onClick: () => setToggled(!toggled)
2882
2827
  }, /*#__PURE__*/React.createElement("span", null, bannerButtonText), /*#__PURE__*/React.createElement(ArrowWrap, {
@@ -2952,11 +2897,11 @@ const LinkButtonItem = styled.div`
2952
2897
  transition: background-color 0.3s, color 0.3s;
2953
2898
  }
2954
2899
  `;
2955
- const Label$6 = styled.label`
2900
+ const Label$7 = styled.label`
2956
2901
  user-select: none;
2957
2902
  pointer-events: none;
2958
2903
  `;
2959
- const IconWrapper = styled.div`
2904
+ const IconWrapper$2 = styled.div`
2960
2905
  display: flex;
2961
2906
  align-items: center;
2962
2907
  justify-content: center;
@@ -3080,15 +3025,23 @@ const LinkButton = _ref => {
3080
3025
  const color = disabled ? '#B1B1B1' : newTextColor;
3081
3026
  switch (icon.toLowerCase()) {
3082
3027
  case 'filter':
3083
- return /*#__PURE__*/React$1.createElement(IconWrapper, {
3028
+ return /*#__PURE__*/React$1.createElement(IconWrapper$2, {
3084
3029
  className: "FilterIcon"
3085
3030
  }, /*#__PURE__*/React$1.createElement(FilterIcon, {
3086
3031
  height: iconHeight,
3087
3032
  width: iconWidth,
3088
3033
  color: color
3089
3034
  }));
3035
+ case 'plus':
3036
+ return /*#__PURE__*/React$1.createElement(IconWrapper$2, {
3037
+ className: "PlusIcon"
3038
+ }, /*#__PURE__*/React$1.createElement(PlusIcon, {
3039
+ height: iconHeight,
3040
+ width: iconWidth,
3041
+ color: color
3042
+ }));
3090
3043
  case 'options':
3091
- return /*#__PURE__*/React$1.createElement(IconWrapper, {
3044
+ return /*#__PURE__*/React$1.createElement(IconWrapper$2, {
3092
3045
  className: "OptionsIcon"
3093
3046
  }, /*#__PURE__*/React$1.createElement(OptionsIcon, {
3094
3047
  height: iconHeight,
@@ -3096,7 +3049,7 @@ const LinkButton = _ref => {
3096
3049
  color: color
3097
3050
  }));
3098
3051
  case 'download':
3099
- return /*#__PURE__*/React$1.createElement(IconWrapper, {
3052
+ return /*#__PURE__*/React$1.createElement(IconWrapper$2, {
3100
3053
  className: "DownloadIcon"
3101
3054
  }, /*#__PURE__*/React$1.createElement(DownloadIcon, {
3102
3055
  height: iconHeight,
@@ -3104,7 +3057,7 @@ const LinkButton = _ref => {
3104
3057
  color: color
3105
3058
  }));
3106
3059
  case 'document':
3107
- return /*#__PURE__*/React$1.createElement(IconWrapper, {
3060
+ return /*#__PURE__*/React$1.createElement(IconWrapper$2, {
3108
3061
  className: "DocumentIcon"
3109
3062
  }, /*#__PURE__*/React$1.createElement(DocumentIcon, {
3110
3063
  height: iconHeight,
@@ -3112,7 +3065,7 @@ const LinkButton = _ref => {
3112
3065
  color: color
3113
3066
  }));
3114
3067
  case 'fly':
3115
- return /*#__PURE__*/React$1.createElement(IconWrapper, {
3068
+ return /*#__PURE__*/React$1.createElement(IconWrapper$2, {
3116
3069
  className: "FlyIcon"
3117
3070
  }, /*#__PURE__*/React$1.createElement(FlyIcon, {
3118
3071
  height: iconHeight,
@@ -3120,7 +3073,7 @@ const LinkButton = _ref => {
3120
3073
  color: color
3121
3074
  }));
3122
3075
  case 'bell':
3123
- return /*#__PURE__*/React$1.createElement(IconWrapper, {
3076
+ return /*#__PURE__*/React$1.createElement(IconWrapper$2, {
3124
3077
  className: "BellIcon"
3125
3078
  }, /*#__PURE__*/React$1.createElement(BellIcon, {
3126
3079
  height: iconHeight,
@@ -3128,7 +3081,7 @@ const LinkButton = _ref => {
3128
3081
  color: color
3129
3082
  }));
3130
3083
  case 'maintenance':
3131
- return /*#__PURE__*/React$1.createElement(IconWrapper, {
3084
+ return /*#__PURE__*/React$1.createElement(IconWrapper$2, {
3132
3085
  className: "MaintenanceIcon"
3133
3086
  }, /*#__PURE__*/React$1.createElement(MaintenanceIcon, {
3134
3087
  height: iconHeight,
@@ -3136,7 +3089,7 @@ const LinkButton = _ref => {
3136
3089
  color: color
3137
3090
  }));
3138
3091
  case 'exit':
3139
- return /*#__PURE__*/React$1.createElement(IconWrapper, {
3092
+ return /*#__PURE__*/React$1.createElement(IconWrapper$2, {
3140
3093
  className: "ExitIcon"
3141
3094
  }, /*#__PURE__*/React$1.createElement(ExitIcon, {
3142
3095
  height: iconHeight,
@@ -3144,7 +3097,7 @@ const LinkButton = _ref => {
3144
3097
  color: color
3145
3098
  }));
3146
3099
  case 'eye':
3147
- return /*#__PURE__*/React$1.createElement(IconWrapper, {
3100
+ return /*#__PURE__*/React$1.createElement(IconWrapper$2, {
3148
3101
  className: "EyeIcon"
3149
3102
  }, /*#__PURE__*/React$1.createElement(EyeIcon, {
3150
3103
  height: iconHeight,
@@ -3152,7 +3105,7 @@ const LinkButton = _ref => {
3152
3105
  color: color
3153
3106
  }));
3154
3107
  case 'arrowdown':
3155
- return /*#__PURE__*/React$1.createElement(IconWrapper, {
3108
+ return /*#__PURE__*/React$1.createElement(IconWrapper$2, {
3156
3109
  className: "ArrowDownIcon"
3157
3110
  }, /*#__PURE__*/React$1.createElement(MenuItemOpenIcon, {
3158
3111
  height: iconHeight,
@@ -3160,7 +3113,7 @@ const LinkButton = _ref => {
3160
3113
  color: color
3161
3114
  }));
3162
3115
  case 'arrowright':
3163
- return /*#__PURE__*/React$1.createElement(IconWrapper, {
3116
+ return /*#__PURE__*/React$1.createElement(IconWrapper$2, {
3164
3117
  className: "ArrowRightIcon"
3165
3118
  }, /*#__PURE__*/React$1.createElement(MenuItemRightIcon, {
3166
3119
  height: iconHeight,
@@ -3168,7 +3121,7 @@ const LinkButton = _ref => {
3168
3121
  color: color
3169
3122
  }));
3170
3123
  case 'select':
3171
- return /*#__PURE__*/React$1.createElement(IconWrapper, {
3124
+ return /*#__PURE__*/React$1.createElement(IconWrapper$2, {
3172
3125
  className: "SelectRightIcon"
3173
3126
  }, /*#__PURE__*/React$1.createElement(ArrowSelectIcon, {
3174
3127
  height: "16px",
@@ -3176,7 +3129,7 @@ const LinkButton = _ref => {
3176
3129
  color: color
3177
3130
  }));
3178
3131
  case 'info':
3179
- return /*#__PURE__*/React$1.createElement(IconWrapper, {
3132
+ return /*#__PURE__*/React$1.createElement(IconWrapper$2, {
3180
3133
  className: "InfoIcon"
3181
3134
  }, /*#__PURE__*/React$1.createElement(InfoIcon, {
3182
3135
  height: iconHeight,
@@ -3207,7 +3160,7 @@ const LinkButton = _ref => {
3207
3160
  disabled: disabled,
3208
3161
  text_color: textColor || (type === 'secondary' ? '#212121' : '#229E38'),
3209
3162
  font_size: size === 'small' ? '14px' : '16px'
3210
- }, getLeftIcon(), /*#__PURE__*/React$1.createElement(Label$6, {
3163
+ }, getLeftIcon(), /*#__PURE__*/React$1.createElement(Label$7, {
3211
3164
  className: "Label",
3212
3165
  disabled: disabled,
3213
3166
  font_size: size === 'small' ? '14px' : '16px'
@@ -3286,7 +3239,7 @@ const EventDetailsCard = props => {
3286
3239
  const viewButtonClick = e => {
3287
3240
  onViewButtonClick(e);
3288
3241
  };
3289
- return /*#__PURE__*/React.createElement(MainContainer$7, {
3242
+ return /*#__PURE__*/React.createElement(MainContainer$8, {
3290
3243
  className: className,
3291
3244
  height: height,
3292
3245
  width: width
@@ -3364,16 +3317,6 @@ EventDetailsCard.defaultProps = {
3364
3317
  disableViewDetailsButton: false
3365
3318
  };
3366
3319
 
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
3320
  const LinnerContainer$1 = styled.div.attrs(props => ({
3378
3321
  style: {
3379
3322
  backgroundColor: props.$backgroundColor,
@@ -3447,7 +3390,7 @@ const LinnerDataBox = props => {
3447
3390
  backgroundColor = "#FFFFFF",
3448
3391
  customDataFormat = false
3449
3392
  } = props;
3450
- return /*#__PURE__*/React$1.createElement(LinnerContainer$1, _extends({
3393
+ return /*#__PURE__*/React$1.createElement(LinnerContainer$1, _extends$1({
3451
3394
  className: className,
3452
3395
  $backgroundColor: backgroundColor || "white",
3453
3396
  $width: width || "100%",
@@ -3502,21 +3445,6 @@ const TextFieldInput = styled.input`
3502
3445
  }
3503
3446
  `;
3504
3447
 
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
3448
  const SearchInput = props => {
3521
3449
  const {
3522
3450
  placeholder,
@@ -3645,7 +3573,7 @@ const Body = styled.div`
3645
3573
  border-radius: ${props => props.setBackground ? '12px' : '0'};
3646
3574
  box-shadow: ${props => props.setBackground ? '0px 0px 20px 0px rgba(0, 0, 0, 0.10)' : 'unset'};
3647
3575
  `;
3648
- const Label$5 = styled.div`
3576
+ const Label$6 = styled.div`
3649
3577
  font-size: 12px;
3650
3578
  font-weight: 400;
3651
3579
  padding: 8px;
@@ -3884,7 +3812,7 @@ const TabMenu = props => {
3884
3812
  color: color,
3885
3813
  width: `${100 / tabs.length}%`,
3886
3814
  role: "presentation"
3887
- }))), headlineContent && /*#__PURE__*/React$1.createElement(TabActionLine, null, headlineContent), setTopRightButton && /*#__PURE__*/React$1.createElement(Button, {
3815
+ }))), headlineContent && /*#__PURE__*/React$1.createElement(TabActionLine, null, headlineContent), setTopRightButton && /*#__PURE__*/React$1.createElement(Button$1, {
3888
3816
  text: rightButtonText,
3889
3817
  rightIcon: rightButtonIcon,
3890
3818
  size: "small",
@@ -3896,7 +3824,7 @@ const TabMenu = props => {
3896
3824
  hoverBorderColor: buttonHoverColor
3897
3825
  })), showActions && /*#__PURE__*/React$1.createElement(ActionsWrapper, {
3898
3826
  className: "ActionsWrapper"
3899
- }, showLabel && /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(Label$5, {
3827
+ }, showLabel && /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(Label$6, {
3900
3828
  className: "Label"
3901
3829
  }, /*#__PURE__*/React$1.createElement("span", null, "Platform: "), "Total"), /*#__PURE__*/React$1.createElement("span", {
3902
3830
  className: "separator"
@@ -8517,7 +8445,7 @@ const DropdownWrapper$2 = styled.div`
8517
8445
  font-size: 14px;
8518
8446
  border-radius: 10px;
8519
8447
  `;
8520
- const Label$4 = styled.label`
8448
+ const Label$5 = styled.label`
8521
8449
  font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
8522
8450
  font-weight: 400;
8523
8451
  padding-inline-end: 5px;
@@ -8540,7 +8468,7 @@ const Label$4 = styled.label`
8540
8468
  cursor: ${props => props.disabled ? 'not-allowed' : 'pointer'};
8541
8469
  }
8542
8470
  `;
8543
- const InputContainer$6 = styled.div`
8471
+ const InputContainer$8 = styled.div`
8544
8472
  display: flex;
8545
8473
  flex-direction: row;
8546
8474
  flex-wrap: nowrap;
@@ -8572,7 +8500,7 @@ const InputContainer$6 = styled.div`
8572
8500
  }
8573
8501
 
8574
8502
  `;
8575
- const InputSubContainer$3 = styled.div`
8503
+ const InputSubContainer$4 = styled.div`
8576
8504
  display: flex;
8577
8505
  flex-direction: column;
8578
8506
  flex-wrap: nowrap;
@@ -8591,7 +8519,7 @@ const InputSubContainer$3 = styled.div`
8591
8519
  outline: none;
8592
8520
  color: ${props => props.disabled ? '#888' : '#212121'};
8593
8521
  `;
8594
- const StyledInput$6 = styled.input`
8522
+ const StyledInput$8 = styled.input`
8595
8523
  width: calc(100% - 10px);
8596
8524
  height: 20px;
8597
8525
  font-family: Poppins;
@@ -8602,7 +8530,7 @@ const StyledInput$6 = styled.input`
8602
8530
  color: ${props => props.disabled ? '#888' : '#212121'};
8603
8531
  border: none;
8604
8532
  `;
8605
- const OptionsContainer$6 = styled.div`
8533
+ const OptionsContainer$7 = styled.div`
8606
8534
  margin: 0;
8607
8535
  top: 100%;
8608
8536
  left: 0;
@@ -8650,7 +8578,7 @@ const OptionItem$3 = styled.li`
8650
8578
  background-color: #EDF6FF;
8651
8579
  }
8652
8580
  `;
8653
- const ErrorMessage$3 = styled.div`
8581
+ const ErrorMessage$4 = styled.div`
8654
8582
  font-size: 12px;
8655
8583
  color: red;
8656
8584
  margin-top: 5px;
@@ -8806,20 +8734,20 @@ const DropdownSingleNew = ({
8806
8734
  width: width,
8807
8735
  onMouseEnter: () => setHoverInputContainer(true),
8808
8736
  onMouseLeave: () => setHoverInputContainer(false)
8809
- }, /*#__PURE__*/React$1.createElement(InputContainer$6, {
8737
+ }, /*#__PURE__*/React$1.createElement(InputContainer$8, {
8810
8738
  className: "InputContainer",
8811
8739
  labelColor: labelColor,
8812
8740
  disabled: disabled,
8813
8741
  error: error,
8814
8742
  isFocused: isFocused
8815
- }, /*#__PURE__*/React$1.createElement(InputSubContainer$3, {
8743
+ }, /*#__PURE__*/React$1.createElement(InputSubContainer$4, {
8816
8744
  className: "InputSubContainer",
8817
8745
  ref: containerRef,
8818
8746
  labelColor: labelColor,
8819
8747
  disabled: disabled,
8820
8748
  error: error,
8821
8749
  onClick: handleLabelClick
8822
- }, /*#__PURE__*/React$1.createElement(Label$4, {
8750
+ }, /*#__PURE__*/React$1.createElement(Label$5, {
8823
8751
  className: "Label",
8824
8752
  isFocused: isFocused,
8825
8753
  labelColor: labelColor,
@@ -8829,7 +8757,7 @@ const DropdownSingleNew = ({
8829
8757
  errorMessage: errorMessage,
8830
8758
  onClick: handleLabelClick,
8831
8759
  showLabelOnTop: showLabelOnTop
8832
- }, getLabel(), getRequired()), /*#__PURE__*/React$1.createElement(StyledInput$6, {
8760
+ }, getLabel(), getRequired()), /*#__PURE__*/React$1.createElement(StyledInput$8, {
8833
8761
  className: "StyledInput",
8834
8762
  ref: inputRef,
8835
8763
  value: selectedOptions && selectedOptions?.length > 0 ? selectedOptions[0].label : inputValue && inputValue?.length > 0 ? inputValue[0].label : "",
@@ -8857,7 +8785,7 @@ const DropdownSingleNew = ({
8857
8785
  width: "12px",
8858
8786
  height: "12px",
8859
8787
  color: "#B1B1B1"
8860
- }))), error && errorMessage?.length > 0 && /*#__PURE__*/React$1.createElement(ErrorMessage$3, null, errorMessage), /*#__PURE__*/React$1.createElement(OptionsContainer$6, {
8788
+ }))), error && errorMessage?.length > 0 && /*#__PURE__*/React$1.createElement(ErrorMessage$4, null, errorMessage), /*#__PURE__*/React$1.createElement(OptionsContainer$7, {
8861
8789
  className: "OptionsContainer",
8862
8790
  onMouseEnter: () => setHoverOptionsContainer(true),
8863
8791
  onMouseLeave: () => setHoverOptionsContainer(false),
@@ -8984,7 +8912,7 @@ const DropdownWrapper$1 = styled.div`
8984
8912
  font-size: 14px;
8985
8913
  border-radius: 10px;
8986
8914
  `;
8987
- const Label$3 = styled.label`
8915
+ const Label$4 = styled.label`
8988
8916
  font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
8989
8917
  font-weight: 400;
8990
8918
  padding-inline-end: 5px;
@@ -9007,7 +8935,7 @@ const Label$3 = styled.label`
9007
8935
  cursor: ${props => props.disabled ? 'not-allowed' : 'pointer'};
9008
8936
  }
9009
8937
  `;
9010
- const InputContainer$5 = styled.div`
8938
+ const InputContainer$7 = styled.div`
9011
8939
  display: flex;
9012
8940
  flex-direction: row;
9013
8941
  flex-wrap: nowrap;
@@ -9038,7 +8966,7 @@ const InputContainer$5 = styled.div`
9038
8966
  border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.labelColor || '#212121'};
9039
8967
  }
9040
8968
  `;
9041
- const InputSubContainer$2 = styled.div`
8969
+ const InputSubContainer$3 = styled.div`
9042
8970
 
9043
8971
  display: flex;
9044
8972
  flex-direction: column;
@@ -9058,7 +8986,7 @@ const InputSubContainer$2 = styled.div`
9058
8986
  outline: none;
9059
8987
  color: ${props => props.disabled ? '#888' : '#212121'};
9060
8988
  `;
9061
- const StyledInput$5 = styled.input`
8989
+ const StyledInput$7 = styled.input`
9062
8990
  width: calc(100% - 20px);
9063
8991
  height: 25px;
9064
8992
  font-family: Poppins;
@@ -9069,7 +8997,7 @@ const StyledInput$5 = styled.input`
9069
8997
  color: ${props => props.disabled ? '#888' : '#212121'};
9070
8998
  border: none;
9071
8999
  `;
9072
- const OptionsContainer$5 = styled.div`
9000
+ const OptionsContainer$6 = styled.div`
9073
9001
  margin: 0;
9074
9002
  top: 100%;
9075
9003
  left: 0;
@@ -9116,7 +9044,7 @@ const OptionItem$2 = styled.li`
9116
9044
  background-color: #EDF6FF;
9117
9045
  }
9118
9046
  `;
9119
- const ErrorMessage$2 = styled.div`
9047
+ const ErrorMessage$3 = styled.div`
9120
9048
  font-size: 12px;
9121
9049
  color: red;
9122
9050
  margin-top: 5px;
@@ -9323,20 +9251,20 @@ const DropdownMultiNew = ({
9323
9251
  width: width,
9324
9252
  onMouseEnter: () => setHoverInputContainer(true),
9325
9253
  onMouseLeave: () => setHoverInputContainer(false)
9326
- }, /*#__PURE__*/React$1.createElement(InputContainer$5, {
9254
+ }, /*#__PURE__*/React$1.createElement(InputContainer$7, {
9327
9255
  className: "InputContainer",
9328
9256
  labelColor: labelColor,
9329
9257
  disabled: disabled,
9330
9258
  error: error,
9331
9259
  isFocused: isFocused
9332
- }, /*#__PURE__*/React$1.createElement(InputSubContainer$2, {
9260
+ }, /*#__PURE__*/React$1.createElement(InputSubContainer$3, {
9333
9261
  className: "InputSubContainer",
9334
9262
  ref: containerRef,
9335
9263
  labelColor: labelColor,
9336
9264
  disabled: disabled,
9337
9265
  error: error,
9338
9266
  onClick: handleLabelClick
9339
- }, /*#__PURE__*/React$1.createElement(Label$3, {
9267
+ }, /*#__PURE__*/React$1.createElement(Label$4, {
9340
9268
  className: "Label",
9341
9269
  isFocused: isFocused,
9342
9270
  labelColor: labelColor,
@@ -9346,7 +9274,7 @@ const DropdownMultiNew = ({
9346
9274
  errorMessage: errorMessage,
9347
9275
  onClick: handleLabelClick,
9348
9276
  showLabelOnTop: showLabelOnTop
9349
- }, getLabel(), getRequired()), displaySelectedOptions(), showOptions ? /*#__PURE__*/React$1.createElement(StyledInput$5, {
9277
+ }, getLabel(), getRequired()), displaySelectedOptions(), showOptions ? /*#__PURE__*/React$1.createElement(StyledInput$7, {
9350
9278
  className: "StyledInput",
9351
9279
  ref: inputRef,
9352
9280
  value: inputValue,
@@ -9376,7 +9304,7 @@ const DropdownMultiNew = ({
9376
9304
  width: "12px",
9377
9305
  height: "12px",
9378
9306
  color: "#B1B1B1"
9379
- }))), error && errorMessage?.length > 0 && /*#__PURE__*/React$1.createElement(ErrorMessage$2, null, errorMessage), /*#__PURE__*/React$1.createElement(OptionsContainer$5, {
9307
+ }))), error && errorMessage?.length > 0 && /*#__PURE__*/React$1.createElement(ErrorMessage$3, null, errorMessage), /*#__PURE__*/React$1.createElement(OptionsContainer$6, {
9380
9308
  className: "OptionsContainer",
9381
9309
  onMouseEnter: () => setHoverOptionsContainer(true),
9382
9310
  onMouseLeave: () => setHoverOptionsContainer(false),
@@ -9463,27 +9391,34 @@ const DropdownMain = styled.div`
9463
9391
  `;
9464
9392
 
9465
9393
  /* 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;
9394
+ const DropdownNew = props => {
9395
+ const {
9396
+ isMulti = false,
9397
+ label = "",
9398
+ labelEmptyValue = "",
9399
+ options = [],
9400
+ selectedValue = null,
9401
+ placeHolder = "",
9402
+ onChange = () => {},
9403
+ handleChange = () => {},
9404
+ required = false,
9405
+ disabled = false,
9406
+ width = "300px",
9407
+ error = false,
9408
+ showLabelOnTop = true,
9409
+ orderBy = "",
9410
+ elementType = "dropdown",
9411
+ errorMessage = "",
9412
+ labelColor = "#066768",
9413
+ checkBoxColor = "#229E38",
9414
+ xIconShow = true
9415
+ } = props;
9416
+ const handleOnChange = event => {
9417
+ if (event && event.newValue && event.newValue[0]) {
9418
+ onChange && onChange(event);
9419
+ handleChange && handleChange(event.newValue[0].value);
9420
+ }
9421
+ };
9487
9422
  return /*#__PURE__*/React$1.createElement(DropdownMain, {
9488
9423
  className: "DropdownMain",
9489
9424
  width: width
@@ -9502,7 +9437,7 @@ const DropdownNew = _ref => {
9502
9437
  errorMessage: errorMessage,
9503
9438
  selectedValue: selectedValue,
9504
9439
  xIconShow: xIconShow,
9505
- onChange: onChange,
9440
+ onChange: handleOnChange,
9506
9441
  showLabelOnTop: showLabelOnTop,
9507
9442
  orderBy: orderBy,
9508
9443
  elementType: elementType
@@ -9521,54 +9456,12 @@ const DropdownNew = _ref => {
9521
9456
  errorMessage: errorMessage,
9522
9457
  selectedValue: selectedValue,
9523
9458
  xIconShow: xIconShow,
9524
- onChange: onChange,
9459
+ onChange: handleOnChange,
9525
9460
  showLabelOnTop: showLabelOnTop,
9526
9461
  orderBy: orderBy,
9527
9462
  elementType: elementType
9528
9463
  }));
9529
9464
  };
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
9465
 
9573
9466
  const Calendar = () => /*#__PURE__*/React$1.createElement("svg", {
9574
9467
  width: "11",
@@ -9605,7 +9498,7 @@ const RangePickerContainer = styled.div`
9605
9498
  width: ${props => props.width || '100%'};
9606
9499
  height: ${props => props.height || '60px'};
9607
9500
  `;
9608
- const CalendarDiv$2 = styled.div`
9501
+ const CalendarDiv$3 = styled.div`
9609
9502
  position: absolute;
9610
9503
  width: 11px;
9611
9504
  height: 11px;
@@ -9617,7 +9510,7 @@ const CalendarDiv$2 = styled.div`
9617
9510
  }
9618
9511
 
9619
9512
  `;
9620
- const InputContainer$4 = styled.div`
9513
+ const InputContainer$6 = styled.div`
9621
9514
  display: flex;
9622
9515
  flex-direction: row;
9623
9516
  flex-wrap: nowrap;
@@ -9647,7 +9540,7 @@ const InputContainer$4 = styled.div`
9647
9540
  border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.borderColorFocus || '#212121'};
9648
9541
  }
9649
9542
  `;
9650
- const StyledInput$4 = styled.input`
9543
+ const StyledInput$6 = styled.input`
9651
9544
  padding: 20px;
9652
9545
  font-size: 14px;
9653
9546
  border-radius: ${props => props.borderRadius || '4px'};
@@ -9664,7 +9557,7 @@ const StyledInput$4 = styled.input`
9664
9557
  color: ${props => props.disabled ? '#888' : (props.isFocused || props.value ? props.textColor : '#757575') || '#333'};
9665
9558
  cursor: ${props => props.disabled ? 'not-allowed' : 'text'};
9666
9559
  `;
9667
- const StyledLabel$2 = styled.label`
9560
+ const StyledLabel$3 = styled.label`
9668
9561
  font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
9669
9562
  padding-inline-end: 5px;
9670
9563
  padding-inline-start: 5px;
@@ -9684,7 +9577,7 @@ const StyledLabel$2 = styled.label`
9684
9577
  box-sizing: border-box;
9685
9578
  cursor: pointer;
9686
9579
  `;
9687
- const RequiredIndicator$2 = styled.span`
9580
+ const RequiredIndicator$3 = styled.span`
9688
9581
  color: red;
9689
9582
  margin-left: 5px;
9690
9583
  `;
@@ -9693,7 +9586,7 @@ styled.div`
9693
9586
  color: red;
9694
9587
  margin-top: 5px;
9695
9588
  `;
9696
- const OptionsContainer$4 = styled.div`
9589
+ const OptionsContainer$5 = styled.div`
9697
9590
  display: block;
9698
9591
  margin: 0;
9699
9592
  padding-top: 8px;
@@ -10044,7 +9937,7 @@ const RangePicker = _ref => {
10044
9937
  onClick: handleFocus,
10045
9938
  width: width,
10046
9939
  height: height
10047
- }, /*#__PURE__*/React$1.createElement(InputContainer$4, {
9940
+ }, /*#__PURE__*/React$1.createElement(InputContainer$6, {
10048
9941
  className: "InputContainer",
10049
9942
  isFocused: isFocused,
10050
9943
  hasValue: value,
@@ -10054,7 +9947,7 @@ const RangePicker = _ref => {
10054
9947
  borderColorFocus: borderColorFocus,
10055
9948
  onMouseEnter: () => setHoverInputContainer(true),
10056
9949
  onMouseLeave: () => setHoverInputContainer(false)
10057
- }, /*#__PURE__*/React$1.createElement(StyledLabel$2, {
9950
+ }, /*#__PURE__*/React$1.createElement(StyledLabel$3, {
10058
9951
  className: "StyledLabel",
10059
9952
  onClick: handleFocus,
10060
9953
  isFocused: isFocused,
@@ -10063,7 +9956,7 @@ const RangePicker = _ref => {
10063
9956
  textColor: textColor,
10064
9957
  borderColor: borderColor,
10065
9958
  borderColorFocus: borderColorFocus
10066
- }, label, required && /*#__PURE__*/React$1.createElement(RequiredIndicator$2, null, "*")), /*#__PURE__*/React$1.createElement(StyledInput$4, {
9959
+ }, label, required && /*#__PURE__*/React$1.createElement(RequiredIndicator$3, null, "*")), /*#__PURE__*/React$1.createElement(StyledInput$6, {
10067
9960
  className: "StyledInput",
10068
9961
  ref: inputRef,
10069
9962
  value: value,
@@ -10079,14 +9972,14 @@ const RangePicker = _ref => {
10079
9972
  textColor: textColor,
10080
9973
  borderColor: borderColor,
10081
9974
  borderColorFocus: borderColorFocus
10082
- }), /*#__PURE__*/React$1.createElement(CalendarDiv$2, {
9975
+ }), /*#__PURE__*/React$1.createElement(CalendarDiv$3, {
10083
9976
  className: "CalendarDiv",
10084
9977
  onClick: toggleDatePicker
10085
9978
  }, isOpen === true ? /*#__PURE__*/React$1.createElement(CalendarInOpen, {
10086
9979
  className: "CalendarInOpen"
10087
9980
  }) : /*#__PURE__*/React$1.createElement(Calendar, {
10088
9981
  className: "Calendar"
10089
- }))), /*#__PURE__*/React$1.createElement(OptionsContainer$4, {
9982
+ }))), /*#__PURE__*/React$1.createElement(OptionsContainer$5, {
10090
9983
  className: "OptionsContainer",
10091
9984
  onMouseEnter: () => setHoverOptionsContainer(true),
10092
9985
  onMouseLeave: () => setHoverOptionsContainer(false)
@@ -10139,14 +10032,14 @@ const QuarterPickerContainer = styled.div`
10139
10032
  width: ${props => props.width || '100%'};
10140
10033
  height: ${props => props.height || '60px'};
10141
10034
  `;
10142
- const CalendarDiv$1 = styled.div`
10035
+ const CalendarDiv$2 = styled.div`
10143
10036
  position: absolute;
10144
10037
  width: 11px;
10145
10038
  height: 11px;
10146
10039
  top: ${props => parseInt(props.height, 10) / 2 || '20px'};
10147
10040
  right: 25px;
10148
10041
  `;
10149
- const InputContainer$3 = styled.div`
10042
+ const InputContainer$5 = styled.div`
10150
10043
  display: flex;
10151
10044
  flex-direction: row;
10152
10045
  flex-wrap: nowrap;
@@ -10176,7 +10069,7 @@ const InputContainer$3 = styled.div`
10176
10069
  border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.borderColorFocus || '#212121'};
10177
10070
  }
10178
10071
  `;
10179
- const StyledInput$3 = styled.input`
10072
+ const StyledInput$5 = styled.input`
10180
10073
  padding: 20px;
10181
10074
  font-size: 14px;
10182
10075
  border-radius: ${props => props.borderRadius || '4px'};
@@ -10193,7 +10086,7 @@ const StyledInput$3 = styled.input`
10193
10086
  color: ${props => props.disabled ? '#888' : (props.isFocused || props.value ? props.textColor : '#757575') || '#333'};
10194
10087
  cursor: ${props => props.disabled ? 'not-allowed' : 'text'};
10195
10088
  `;
10196
- const StyledLabel$1 = styled.label`
10089
+ const StyledLabel$2 = styled.label`
10197
10090
  font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
10198
10091
  padding-inline-end: 5px;
10199
10092
  padding-inline-start: 5px;
@@ -10213,7 +10106,7 @@ const StyledLabel$1 = styled.label`
10213
10106
  box-sizing: border-box;
10214
10107
  cursor: pointer;
10215
10108
  `;
10216
- const RequiredIndicator$1 = styled.span`
10109
+ const RequiredIndicator$2 = styled.span`
10217
10110
  color: red;
10218
10111
  margin-left: 5px;
10219
10112
  `;
@@ -10222,7 +10115,7 @@ styled.div`
10222
10115
  color: red;
10223
10116
  margin-top: 5px;
10224
10117
  `;
10225
- const OptionsContainer$3 = styled.div`
10118
+ const OptionsContainer$4 = styled.div`
10226
10119
  display: block;
10227
10120
  margin: 0;
10228
10121
  padding-top: 8px;
@@ -10477,7 +10370,7 @@ const QuarterPicker = _ref => {
10477
10370
  onClick: handleFocus,
10478
10371
  width: width,
10479
10372
  height: height
10480
- }, /*#__PURE__*/React$1.createElement(InputContainer$3, {
10373
+ }, /*#__PURE__*/React$1.createElement(InputContainer$5, {
10481
10374
  className: "InputContainer",
10482
10375
  isFocused: isFocused,
10483
10376
  hasValue: value,
@@ -10487,7 +10380,7 @@ const QuarterPicker = _ref => {
10487
10380
  borderColorFocus: borderColorFocus,
10488
10381
  onMouseEnter: () => setHoverInputContainer(true),
10489
10382
  onMouseLeave: () => setHoverInputContainer(false)
10490
- }, /*#__PURE__*/React$1.createElement(StyledLabel$1, {
10383
+ }, /*#__PURE__*/React$1.createElement(StyledLabel$2, {
10491
10384
  className: "StyledLabel",
10492
10385
  onClick: handleFocus,
10493
10386
  isFocused: isFocused,
@@ -10496,7 +10389,7 @@ const QuarterPicker = _ref => {
10496
10389
  textColor: textColor,
10497
10390
  borderColor: borderColor,
10498
10391
  borderColorFocus: borderColorFocus
10499
- }, label, required && /*#__PURE__*/React$1.createElement(RequiredIndicator$1, null, "*")), /*#__PURE__*/React$1.createElement(StyledInput$3, {
10392
+ }, label, required && /*#__PURE__*/React$1.createElement(RequiredIndicator$2, null, "*")), /*#__PURE__*/React$1.createElement(StyledInput$5, {
10500
10393
  className: "StyledInput",
10501
10394
  ref: inputRef,
10502
10395
  value: value,
@@ -10512,11 +10405,11 @@ const QuarterPicker = _ref => {
10512
10405
  disabled: disabled,
10513
10406
  borderColor: borderColor,
10514
10407
  textColor: textColor
10515
- }), /*#__PURE__*/React$1.createElement(CalendarDiv$1, {
10408
+ }), /*#__PURE__*/React$1.createElement(CalendarDiv$2, {
10516
10409
  className: "CalendarDiv",
10517
10410
  width: width,
10518
10411
  onClick: toggleDatePicker
10519
- }, isOpen === true ? /*#__PURE__*/React$1.createElement(CalendarInOpen, null) : /*#__PURE__*/React$1.createElement(Calendar, null))), /*#__PURE__*/React$1.createElement(OptionsContainer$3, {
10412
+ }, isOpen === true ? /*#__PURE__*/React$1.createElement(CalendarInOpen, null) : /*#__PURE__*/React$1.createElement(Calendar, null))), /*#__PURE__*/React$1.createElement(OptionsContainer$4, {
10520
10413
  className: "OptionsContainer",
10521
10414
  onMouseEnter: () => setHoverOptionsContainer(true),
10522
10415
  onMouseLeave: () => setHoverOptionsContainer(false)
@@ -10565,14 +10458,14 @@ const MonthPickerContainer = styled.div`
10565
10458
  width: ${props => props.width || '100%'};
10566
10459
  height: ${props => props.height || '60px'};
10567
10460
  `;
10568
- const CalendarDiv = styled.div`
10461
+ const CalendarDiv$1 = styled.div`
10569
10462
  position: absolute;
10570
10463
  width: 11px;
10571
10464
  height: 11px;
10572
10465
  top: ${props => parseInt(props.height, 10) / 2 || '20px'};
10573
10466
  right: 25px;
10574
10467
  `;
10575
- const InputContainer$2 = styled.div`
10468
+ const InputContainer$4 = styled.div`
10576
10469
  display: flex;
10577
10470
  flex-direction: row;
10578
10471
  flex-wrap: nowrap;
@@ -10602,7 +10495,7 @@ const InputContainer$2 = styled.div`
10602
10495
  border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.borderColorFocus || '#212121'};
10603
10496
  }
10604
10497
  `;
10605
- const StyledInput$2 = styled.input`
10498
+ const StyledInput$4 = styled.input`
10606
10499
  padding: 20px;
10607
10500
  font-size: 14px;
10608
10501
  border-radius: ${props => props.borderRadius || '4px'};
@@ -10620,7 +10513,7 @@ const StyledInput$2 = styled.input`
10620
10513
  color: ${props => props.disabled ? '#888' : (props.isFocused || props.value ? props.textColor : '#757575') || '#333'};
10621
10514
  cursor: ${props => props.disabled ? 'not-allowed' : 'text'};
10622
10515
  `;
10623
- const StyledLabel = styled.label`
10516
+ const StyledLabel$1 = styled.label`
10624
10517
  font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
10625
10518
  padding-inline-end: 5px;
10626
10519
  padding-inline-start: 5px;
@@ -10640,7 +10533,7 @@ const StyledLabel = styled.label`
10640
10533
  box-sizing: border-box;
10641
10534
  cursor: pointer;
10642
10535
  `;
10643
- const RequiredIndicator = styled.span`
10536
+ const RequiredIndicator$1 = styled.span`
10644
10537
  color: red;
10645
10538
  margin-left: 5px;
10646
10539
  `;
@@ -10649,7 +10542,7 @@ styled.div`
10649
10542
  color: red;
10650
10543
  margin-top: 5px;
10651
10544
  `;
10652
- const OptionsContainer$2 = styled.div`
10545
+ const OptionsContainer$3 = styled.div`
10653
10546
  display: block;
10654
10547
  margin: 0;
10655
10548
  padding-top: 8px;
@@ -10934,7 +10827,7 @@ const MonthPicker = _ref => {
10934
10827
  onClick: handleFocus,
10935
10828
  width: width,
10936
10829
  height: height
10937
- }, /*#__PURE__*/React$1.createElement(InputContainer$2, {
10830
+ }, /*#__PURE__*/React$1.createElement(InputContainer$4, {
10938
10831
  className: "InputContainer",
10939
10832
  isFocused: isFocused,
10940
10833
  hasValue: value,
@@ -10944,7 +10837,7 @@ const MonthPicker = _ref => {
10944
10837
  borderColorFocus: borderColorFocus,
10945
10838
  onMouseEnter: () => setHoverInputContainer(true),
10946
10839
  onMouseLeave: () => setHoverInputContainer(false)
10947
- }, /*#__PURE__*/React$1.createElement(StyledLabel, {
10840
+ }, /*#__PURE__*/React$1.createElement(StyledLabel$1, {
10948
10841
  className: "StyledLabel",
10949
10842
  onClick: handleFocus,
10950
10843
  isFocused: isFocused,
@@ -10953,7 +10846,7 @@ const MonthPicker = _ref => {
10953
10846
  textColor: textColor,
10954
10847
  borderColor: borderColor,
10955
10848
  borderColorFocus: borderColorFocus
10956
- }, label, required && /*#__PURE__*/React$1.createElement(RequiredIndicator, null, "*")), /*#__PURE__*/React$1.createElement(StyledInput$2, {
10849
+ }, label, required && /*#__PURE__*/React$1.createElement(RequiredIndicator$1, null, "*")), /*#__PURE__*/React$1.createElement(StyledInput$4, {
10957
10850
  className: "StyledInput",
10958
10851
  ref: inputRef,
10959
10852
  value: value,
@@ -10969,11 +10862,11 @@ const MonthPicker = _ref => {
10969
10862
  disabled: disabled,
10970
10863
  borderColor: borderColor,
10971
10864
  textColor: textColor
10972
- }), /*#__PURE__*/React$1.createElement(CalendarDiv, {
10865
+ }), /*#__PURE__*/React$1.createElement(CalendarDiv$1, {
10973
10866
  className: "CalendarDiv",
10974
10867
  width: width,
10975
10868
  onClick: toggleDatePicker
10976
- }, isOpen === true ? /*#__PURE__*/React$1.createElement(CalendarInOpen, null) : /*#__PURE__*/React$1.createElement(Calendar, null))), /*#__PURE__*/React$1.createElement(OptionsContainer$2, {
10869
+ }, isOpen === true ? /*#__PURE__*/React$1.createElement(CalendarInOpen, null) : /*#__PURE__*/React$1.createElement(Calendar, null))), /*#__PURE__*/React$1.createElement(OptionsContainer$3, {
10977
10870
  className: "OptionsContainer",
10978
10871
  onMouseEnter: () => setHoverOptionsContainer(true),
10979
10872
  onMouseLeave: () => setHoverOptionsContainer(false)
@@ -11615,7 +11508,7 @@ const FilterPanel = props => {
11615
11508
  content: getTooltipTextGoButton(),
11616
11509
  direction: "top",
11617
11510
  topFactor: -0.9
11618
- }, /*#__PURE__*/React$1.createElement(Button, {
11511
+ }, /*#__PURE__*/React$1.createElement(Button$1, {
11619
11512
  text: "Go",
11620
11513
  type: "primary",
11621
11514
  size: "medium",
@@ -11643,7 +11536,7 @@ const FilterPanel = props => {
11643
11536
  })
11644
11537
  }));
11645
11538
  } else {
11646
- content = /*#__PURE__*/React$1.createElement(Button, {
11539
+ content = /*#__PURE__*/React$1.createElement(Button$1, {
11647
11540
  text: "Go",
11648
11541
  type: "primary",
11649
11542
  size: "medium",
@@ -11683,7 +11576,7 @@ const FilterPanel = props => {
11683
11576
  ref: AllFieldsContainerRef
11684
11577
  }, displayFields(FieldsDataState)), /*#__PURE__*/React$1.createElement(ButtonsContainer, {
11685
11578
  className: "ButtonsContainer"
11686
- }, displayGoButton(), /*#__PURE__*/React$1.createElement(Button, {
11579
+ }, displayGoButton(), /*#__PURE__*/React$1.createElement(Button$1, {
11687
11580
  text: "Reset",
11688
11581
  size: "medium",
11689
11582
  type: "secondary",
@@ -12021,7 +11914,7 @@ const Loader$1 = styled.span`
12021
11914
  animation: ${rotation$1} 1.5s infinite ease;
12022
11915
  transform: translateZ(0);
12023
11916
  `;
12024
- const TableWrapper$1 = styled.div`
11917
+ const TableWrapper$3 = styled.div`
12025
11918
  position: relative;
12026
11919
  width: ${props => `${props.width}`};
12027
11920
  height: ${props => `${props.height}`};
@@ -12031,7 +11924,7 @@ const TableWrapper$1 = styled.div`
12031
11924
  overflow-x: ${props => props.columnsNumber > props.maxColumnsNumber ? 'auto' : 'hidden'};
12032
11925
  ${scrollableStyles$9}
12033
11926
  `;
12034
- const Table$1 = styled.table`
11927
+ const Table$3 = styled.table`
12035
11928
  font-family: "Poppins", sans-serif;
12036
11929
  width: ${props => `${props.tableWidthSize}%`};
12037
11930
  table-layout: fixed;
@@ -12336,13 +12229,13 @@ const ReportTable = props => {
12336
12229
  return newState;
12337
12230
  });
12338
12231
  };
12339
- return /*#__PURE__*/React$1.createElement(ReportTableWrapper, null, /*#__PURE__*/React$1.createElement(TableWrapper$1, {
12232
+ return /*#__PURE__*/React$1.createElement(ReportTableWrapper, null, /*#__PURE__*/React$1.createElement(TableWrapper$3, {
12340
12233
  width: width,
12341
12234
  height: height,
12342
12235
  className: className,
12343
12236
  maxColumnsNumber: getMaxColnumber(),
12344
12237
  columnsNumber: columnsNumber
12345
- }, /*#__PURE__*/React$1.createElement(Table$1, {
12238
+ }, /*#__PURE__*/React$1.createElement(Table$3, {
12346
12239
  tableWidthSize: tableWidthSize
12347
12240
  }, /*#__PURE__*/React$1.createElement("thead", null, /*#__PURE__*/React$1.createElement(Tr, null, tableData.columnsHeadings.map((headline, index) => /*#__PURE__*/React$1.createElement(Th$1, {
12348
12241
  key: index
@@ -12620,7 +12513,7 @@ EventListItem.defaultProps = {
12620
12513
  onClick: () => {}
12621
12514
  };
12622
12515
 
12623
- const MainContainer$5 = styled.div`
12516
+ const MainContainer$6 = styled.div`
12624
12517
  /* display: flex; */
12625
12518
  position: relative;
12626
12519
  font-family: "Poppins", sans-serif;
@@ -12683,7 +12576,7 @@ const EventList = props => {
12683
12576
  };
12684
12577
 
12685
12578
  //= ======================================== MAIN RETURN ====================================
12686
- return /*#__PURE__*/React$1.createElement(MainContainer$5, {
12579
+ return /*#__PURE__*/React$1.createElement(MainContainer$6, {
12687
12580
  id: "MainContainer",
12688
12581
  height: height,
12689
12582
  width: width
@@ -12879,7 +12772,7 @@ const CollapseMenuItemContentContainer = styled.div`
12879
12772
  font-size: 12px;
12880
12773
  }
12881
12774
  `;
12882
- const MainContainer$4 = styled.div`
12775
+ const MainContainer$5 = styled.div`
12883
12776
  width: ${props => props.width};
12884
12777
  height: ${props => props.height};
12885
12778
  display: flex;
@@ -12894,7 +12787,7 @@ const DraftTag$1 = styled.div`
12894
12787
  height: fit-content;
12895
12788
  `;
12896
12789
 
12897
- const MainContainer$3 = styled.div`
12790
+ const MainContainer$4 = styled.div`
12898
12791
  width: ${props => props.width};
12899
12792
  height: ${props => props.height};
12900
12793
  font-family: 'Poppins', sans-serif;
@@ -13011,10 +12904,10 @@ const BannerEventBox = props => {
13011
12904
  const onInfoClickHandler = event => {
13012
12905
  onInfoClick(event);
13013
12906
  };
13014
- return /*#__PURE__*/React$1.createElement(MainContainer$3, {
12907
+ return /*#__PURE__*/React$1.createElement(MainContainer$4, {
13015
12908
  height: height,
13016
12909
  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, {
12910
+ }, /*#__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
12911
  leftIcon: "Eye",
13019
12912
  onClick: () => onInfoClickHandler(banner),
13020
12913
  text: buttonText,
@@ -13089,7 +12982,7 @@ const BannerEventBoxList = props => {
13089
12982
  color: toggleColor
13090
12983
  }))), IsItemOpen && /*#__PURE__*/React$1.createElement(CollapseMenuItemContentContainer, {
13091
12984
  id: "CollapseMenuItemContentContainer"
13092
- }, cardsContent ? /*#__PURE__*/React$1.createElement(MainContainer$4, {
12985
+ }, cardsContent ? /*#__PURE__*/React$1.createElement(MainContainer$5, {
13093
12986
  width: width,
13094
12987
  height: height
13095
12988
  }, data.map(item => /*#__PURE__*/React$1.createElement(BannerEventBox, {
@@ -13123,7 +13016,7 @@ const scrollableStyles$8 = `
13123
13016
  border-radius: 5px;
13124
13017
  }
13125
13018
  `;
13126
- const ModalWrapper = styled.dialog`
13019
+ const ModalWrapper$1 = styled.dialog`
13127
13020
  width: 100vw;
13128
13021
  height: 100vh;
13129
13022
  padding: 20px;
@@ -13139,23 +13032,23 @@ const ModalWrapper = styled.dialog`
13139
13032
  align-content: center;
13140
13033
  }
13141
13034
  `;
13142
- const Modal = styled.div`
13035
+ const Modal$1 = styled.div`
13143
13036
  width: 79%;
13144
13037
  max-width: 1500px;
13145
13038
  margin: 0 auto;
13146
13039
  ${scrollableStyles$8}
13147
13040
  `;
13148
- const ModalHeader = styled.div`
13041
+ const ModalHeader$1 = styled.div`
13149
13042
  display: flex;
13150
13043
  align-items: center;
13151
13044
  justify-content: space-between;
13152
13045
  margin-bottom: 32px;
13153
13046
  `;
13154
- const ModalBody = styled.div`
13047
+ const ModalBody$1 = styled.div`
13155
13048
  ${scrollableStyles$8}
13156
13049
  max-height: 80vh;
13157
13050
  `;
13158
- const ModalTitle = styled.h5`
13051
+ const ModalTitle$1 = styled.h5`
13159
13052
  font-family: 'Poppins', sans-serif;
13160
13053
  font-size: 32px;
13161
13054
  font-weight: 500;
@@ -13185,14 +13078,14 @@ const DialogOverlay = props => {
13185
13078
  modal.close();
13186
13079
  onDialogClose();
13187
13080
  };
13188
- return /*#__PURE__*/React.createElement(ModalWrapper, {
13081
+ return /*#__PURE__*/React.createElement(ModalWrapper$1, {
13189
13082
  className: className
13190
- }, /*#__PURE__*/React.createElement(Modal, null, /*#__PURE__*/React.createElement(ModalHeader, null, /*#__PURE__*/React.createElement(ModalTitle, null, title), /*#__PURE__*/React.createElement(ModalClose, {
13083
+ }, /*#__PURE__*/React.createElement(Modal$1, null, /*#__PURE__*/React.createElement(ModalHeader$1, null, /*#__PURE__*/React.createElement(ModalTitle$1, null, title), /*#__PURE__*/React.createElement(ModalClose, {
13191
13084
  type: "button",
13192
13085
  onClick: closeModal
13193
13086
  }, /*#__PURE__*/React.createElement(CloseXIcon, {
13194
13087
  fill: "white"
13195
- }))), /*#__PURE__*/React.createElement(ModalBody, {
13088
+ }))), /*#__PURE__*/React.createElement(ModalBody$1, {
13196
13089
  id: "modalBody"
13197
13090
  }, children)));
13198
13091
  };
@@ -23407,7 +23300,7 @@ const TheGiantCompanyIcon = _ref => {
23407
23300
  })));
23408
23301
  };
23409
23302
 
23410
- const MainContainer$2 = styled.div`
23303
+ const MainContainer$3 = styled.div`
23411
23304
  display: flex;
23412
23305
  position: relative;
23413
23306
  font-family: "Poppins", sans-serif;
@@ -23700,7 +23593,7 @@ const CollapseHeader = props => {
23700
23593
  } = viewCreativeContainerRef.current;
23701
23594
  return (offsetTop + 33).toString().concat("", "px");
23702
23595
  };
23703
- return /*#__PURE__*/React$1.createElement(MainContainer$2, {
23596
+ return /*#__PURE__*/React$1.createElement(MainContainer$3, {
23704
23597
  id: "CollapseHeader",
23705
23598
  className: className,
23706
23599
  height: height,
@@ -23714,7 +23607,7 @@ const CollapseHeader = props => {
23714
23607
  id: "EventNameViewCreativeSubContainer"
23715
23608
  }, /*#__PURE__*/React$1.createElement(ViewCreativeButtonAndListBoxContainer, {
23716
23609
  id: "ViewCreativeButtonAndListBoxContainer"
23717
- }, showViewCreativeButton && /*#__PURE__*/React$1.createElement(Button, {
23610
+ }, showViewCreativeButton && /*#__PURE__*/React$1.createElement(Button$1, {
23718
23611
  leftIcon: "Eye",
23719
23612
  onClick: viewCreativeOnClickHandler,
23720
23613
  text: buttonText,
@@ -23868,13 +23761,13 @@ const QuickFilterInput = styled.div`
23868
23761
  font-size: 14px;
23869
23762
  border-radius: 8px;
23870
23763
  `;
23871
- const Label$2 = styled.label`
23764
+ const Label$3 = styled.label`
23872
23765
  font-size: 14px;
23873
23766
  font-weight: 500;
23874
23767
  color: ${props => props.disabled ? '#D0D0D0' : '212121'};
23875
23768
  white-space: nowrap;
23876
23769
  `;
23877
- const InputContainer$1 = styled.div`
23770
+ const InputContainer$3 = styled.div`
23878
23771
  display: flex;
23879
23772
  justify-content: space-between;
23880
23773
  align-content: center;
@@ -23904,12 +23797,12 @@ const InputContainer$1 = styled.div`
23904
23797
  ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.labelColor || '#212121'};
23905
23798
  }
23906
23799
  `;
23907
- const InputSubContainer$1 = styled.div`
23800
+ const InputSubContainer$2 = styled.div`
23908
23801
  display: flex;
23909
23802
  color: ${props => props.disabled ? '#888' : '#212121'};
23910
23803
  gap: 8px;
23911
23804
  `;
23912
- const StyledInput$1 = styled.input`
23805
+ const StyledInput$3 = styled.input`
23913
23806
  width: 100%;
23914
23807
  height: 20px;
23915
23808
  font-family: "Poppins";
@@ -23923,7 +23816,7 @@ const StyledInput$1 = styled.input`
23923
23816
  color: ${props => props.disabled ? '#D0D0D0' : '#b1b1b1'};
23924
23817
  }
23925
23818
  `;
23926
- const OptionsContainer$1 = styled.div`
23819
+ const OptionsContainer$2 = styled.div`
23927
23820
  margin: 0;
23928
23821
  top: 100%;
23929
23822
  left: 0;
@@ -23964,7 +23857,7 @@ const OptionItem$1 = styled.li`
23964
23857
  color: #229e38;
23965
23858
  }
23966
23859
  `;
23967
- const ErrorMessage$1 = styled.div`
23860
+ const ErrorMessage$2 = styled.div`
23968
23861
  font-size: 12px;
23969
23862
  color: red;
23970
23863
  margin-top: 5px;
@@ -24102,21 +23995,21 @@ const QuickFilterDropdownSingle = _ref => {
24102
23995
  width: width,
24103
23996
  onMouseEnter: () => setHoverInputContainer(true),
24104
23997
  onMouseLeave: () => setHoverInputContainer(false)
24105
- }, /*#__PURE__*/React$1.createElement(InputContainer$1, {
23998
+ }, /*#__PURE__*/React$1.createElement(InputContainer$3, {
24106
23999
  className: "InputContainer",
24107
24000
  labelColor: labelColor,
24108
24001
  hoverColor: hoverColor,
24109
24002
  disabled: disabled,
24110
24003
  error: error,
24111
24004
  isFocused: isFocused
24112
- }, /*#__PURE__*/React$1.createElement(InputSubContainer$1, {
24005
+ }, /*#__PURE__*/React$1.createElement(InputSubContainer$2, {
24113
24006
  className: "InputSubContainer",
24114
24007
  ref: containerRef,
24115
24008
  labelColor: labelColor,
24116
24009
  disabled: disabled,
24117
24010
  error: error,
24118
24011
  onClick: handleLabelClick
24119
- }, /*#__PURE__*/React$1.createElement(Label$2, {
24012
+ }, /*#__PURE__*/React$1.createElement(Label$3, {
24120
24013
  className: "Label",
24121
24014
  isFocused: isFocused,
24122
24015
  labelColor: labelColor,
@@ -24126,7 +24019,7 @@ const QuickFilterDropdownSingle = _ref => {
24126
24019
  errorMessage: errorMessage,
24127
24020
  onClick: handleLabelClick,
24128
24021
  showLabelOnTop: showLabelOnTop
24129
- }, label), /*#__PURE__*/React$1.createElement(StyledInput$1, {
24022
+ }, label), /*#__PURE__*/React$1.createElement(StyledInput$3, {
24130
24023
  className: "StyledInput",
24131
24024
  ref: inputRef,
24132
24025
  value: selectedOptions && selectedOptions?.length > 0 ? selectedOptions[0].label : inputValue && inputValue?.length > 0 ? inputValue[0].label : "",
@@ -24154,7 +24047,7 @@ const QuickFilterDropdownSingle = _ref => {
24154
24047
  width: "12px",
24155
24048
  height: "12px",
24156
24049
  color: "#B1B1B1"
24157
- }))), error && errorMessage?.length > 0 && /*#__PURE__*/React$1.createElement(ErrorMessage$1, null, errorMessage), /*#__PURE__*/React$1.createElement(OptionsContainer$1, {
24050
+ }))), error && errorMessage?.length > 0 && /*#__PURE__*/React$1.createElement(ErrorMessage$2, null, errorMessage), /*#__PURE__*/React$1.createElement(OptionsContainer$2, {
24158
24051
  className: "OptionsContainer",
24159
24052
  onMouseEnter: () => setHoverOptionsContainer(true),
24160
24053
  onMouseLeave: () => setHoverOptionsContainer(false),
@@ -24223,7 +24116,7 @@ const DropdownWrapper = styled.div`
24223
24116
  font-size: 14px;
24224
24117
  border-radius: 10px;
24225
24118
  `;
24226
- const Label$1 = styled.label`
24119
+ const Label$2 = styled.label`
24227
24120
  font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
24228
24121
  font-weight: 400;
24229
24122
  padding-inline-end: 5px;
@@ -24246,7 +24139,7 @@ const Label$1 = styled.label`
24246
24139
  cursor: ${props => props.disabled ? 'not-allowed' : 'pointer'};
24247
24140
  }
24248
24141
  `;
24249
- const InputContainer = styled.div`
24142
+ const InputContainer$2 = styled.div`
24250
24143
  display: flex;
24251
24144
  flex-direction: row;
24252
24145
  flex-wrap: nowrap;
@@ -24277,7 +24170,7 @@ const InputContainer = styled.div`
24277
24170
  border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.labelColor || '#212121'};
24278
24171
  }
24279
24172
  `;
24280
- const InputSubContainer = styled.div`
24173
+ const InputSubContainer$1 = styled.div`
24281
24174
  display: flex;
24282
24175
  flex-direction: column;
24283
24176
  flex-wrap: nowrap;
@@ -24296,7 +24189,7 @@ const InputSubContainer = styled.div`
24296
24189
  outline: none;
24297
24190
  color: ${props => props.disabled ? '#888' : '#212121'};
24298
24191
  `;
24299
- const StyledInput = styled.input`
24192
+ const StyledInput$2 = styled.input`
24300
24193
  width: calc(100% - 20px);
24301
24194
  height: 25px;
24302
24195
  font-family: Poppins;
@@ -24307,7 +24200,7 @@ const StyledInput = styled.input`
24307
24200
  color: ${props => props.disabled ? '#888' : '#212121'};
24308
24201
  border: none;
24309
24202
  `;
24310
- const OptionsContainer = styled.div`
24203
+ const OptionsContainer$1 = styled.div`
24311
24204
  margin: 0;
24312
24205
  top: 100%;
24313
24206
  left: 0;
@@ -24350,7 +24243,7 @@ const OptionItem = styled.li`
24350
24243
  background-color: #EDF6FF;
24351
24244
  }
24352
24245
  `;
24353
- const ErrorMessage = styled.div`
24246
+ const ErrorMessage$1 = styled.div`
24354
24247
  font-size: 12px;
24355
24248
  color: red;
24356
24249
  margin-top: 5px;
@@ -24568,20 +24461,20 @@ const QuickFilterDropdownMultiSelection = _ref => {
24568
24461
  width: width,
24569
24462
  onMouseEnter: () => setHoverInputContainer(true),
24570
24463
  onMouseLeave: () => setHoverInputContainer(false)
24571
- }, /*#__PURE__*/React$1.createElement(InputContainer, {
24464
+ }, /*#__PURE__*/React$1.createElement(InputContainer$2, {
24572
24465
  className: "InputContainer",
24573
24466
  labelColor: labelColor,
24574
24467
  disabled: disabled,
24575
24468
  error: error,
24576
24469
  isFocused: isFocused
24577
- }, /*#__PURE__*/React$1.createElement(InputSubContainer, {
24470
+ }, /*#__PURE__*/React$1.createElement(InputSubContainer$1, {
24578
24471
  className: "InputSubContainer",
24579
24472
  ref: containerRef,
24580
24473
  labelColor: labelColor,
24581
24474
  disabled: disabled,
24582
24475
  error: error,
24583
24476
  onClick: handleLabelClick
24584
- }, /*#__PURE__*/React$1.createElement(Label$1, {
24477
+ }, /*#__PURE__*/React$1.createElement(Label$2, {
24585
24478
  className: "Label",
24586
24479
  isFocused: isFocused,
24587
24480
  labelColor: labelColor,
@@ -24591,7 +24484,7 @@ const QuickFilterDropdownMultiSelection = _ref => {
24591
24484
  errorMessage: errorMessage,
24592
24485
  onClick: handleLabelClick,
24593
24486
  showLabelOnTop: showLabelOnTop
24594
- }, getLabel(), getRequired()), displaySelectedOptions(), showOptions ? /*#__PURE__*/React$1.createElement(StyledInput, {
24487
+ }, getLabel(), getRequired()), displaySelectedOptions(), showOptions ? /*#__PURE__*/React$1.createElement(StyledInput$2, {
24595
24488
  className: "StyledInput",
24596
24489
  ref: inputRef,
24597
24490
  value: inputValue,
@@ -24621,7 +24514,7 @@ const QuickFilterDropdownMultiSelection = _ref => {
24621
24514
  width: "12px",
24622
24515
  height: "12px",
24623
24516
  color: "#B1B1B1"
24624
- }))), error && errorMessage?.length > 0 && /*#__PURE__*/React$1.createElement(ErrorMessage, null, errorMessage), /*#__PURE__*/React$1.createElement(OptionsContainer, {
24517
+ }))), error && errorMessage?.length > 0 && /*#__PURE__*/React$1.createElement(ErrorMessage$1, null, errorMessage), /*#__PURE__*/React$1.createElement(OptionsContainer$1, {
24625
24518
  className: "OptionsContainer",
24626
24519
  onMouseEnter: () => setHoverOptionsContainer(true),
24627
24520
  onMouseLeave: () => setHoverOptionsContainer(false),
@@ -25231,7 +25124,7 @@ const TitleAndValueContainer$3 = styled.div`
25231
25124
  display: flex;
25232
25125
  flex-direction: column;
25233
25126
  `;
25234
- const Title$i = styled.h4`
25127
+ const Title$j = styled.h4`
25235
25128
  font-weight: 400;
25236
25129
  font-size: 20px;
25237
25130
  margin: 0;
@@ -25294,7 +25187,7 @@ const FormattedValue$3 = props => {
25294
25187
  width: width
25295
25188
  }, /*#__PURE__*/React$1.createElement(TitleAndValueContainer$3, {
25296
25189
  className: "TitleAndValueContainer"
25297
- }, title ? /*#__PURE__*/React$1.createElement(Title$i, {
25190
+ }, title ? /*#__PURE__*/React$1.createElement(Title$j, {
25298
25191
  className: "Title",
25299
25192
  width: width
25300
25193
  }, title) : '', showTopValue && /*#__PURE__*/React$1.createElement(CurrencySignAndFormattedValueContainer$1, {
@@ -25306,7 +25199,7 @@ const FormattedValue$3 = props => {
25306
25199
  className: "CurrencySignOrPercent"
25307
25200
  }, currencySign ? getCurrencySign(currencyType, value) : ''), dotCut ? getFormattedValue(value && Math.abs(value) > 0 && value % 1 !== 0 ? value?.toFixed(2) : value) : getNumberWithCommas(value), dotCut ? getFormattedUnits(value) : '', /*#__PURE__*/React$1.createElement(CurrencySignOrPercent, {
25308
25201
  className: "CurrencySignOrPercent"
25309
- }, isPercent ? '%' : ''))), subtitle ? /*#__PURE__*/React$1.createElement(Title$i, {
25202
+ }, isPercent ? '%' : ''))), subtitle ? /*#__PURE__*/React$1.createElement(Title$j, {
25310
25203
  className: "Title",
25311
25204
  width: width
25312
25205
  }, subtitle) : '')));
@@ -25376,7 +25269,7 @@ const TooltipTitle$8 = styled.div`
25376
25269
  const TitleAndValueContainer$2 = styled.div`
25377
25270
  padding: 0 1rem;
25378
25271
  `;
25379
- const Title$h = styled.h5`
25272
+ const Title$i = styled.h5`
25380
25273
  font-weight: 500;
25381
25274
  font-size: 18px;
25382
25275
  line-height: 20px;
@@ -25505,7 +25398,7 @@ const TitleAndIconContainer = styled.div`
25505
25398
  display: flex;
25506
25399
  align-items: center;
25507
25400
  `;
25508
- const Title$g = styled.h4`
25401
+ const Title$h = styled.h4`
25509
25402
  font-weight: 400;
25510
25403
  font-size: 14px;
25511
25404
  line-height: 27px;
@@ -25559,7 +25452,7 @@ const PerformanceAnalyticsLegend = props => {
25559
25452
  color: item.iconColor
25560
25453
  }) : item.iconType === ICON_TYPE_LEGEND_LINE_ICON$3 ? /*#__PURE__*/React$1.createElement(LegendLineIcon, {
25561
25454
  color: item.iconColor
25562
- }) : '', /*#__PURE__*/React$1.createElement(Title$g, {
25455
+ }) : '', /*#__PURE__*/React$1.createElement(Title$h, {
25563
25456
  id: "Title",
25564
25457
  width: width
25565
25458
  }, item.title))))) : '');
@@ -25714,7 +25607,7 @@ const BarChartsByWeeks = props => {
25714
25607
  ref: controlsContainerRef
25715
25608
  }, /*#__PURE__*/React$1.createElement(Controls$a, {
25716
25609
  height: getControlsHeight()
25717
- }, showTitle && /*#__PURE__*/React$1.createElement(TitleAndValueContainer$2, null, /*#__PURE__*/React$1.createElement(Title$h, null, title), /*#__PURE__*/React$1.createElement(FormattedValue$3, {
25610
+ }, showTitle && /*#__PURE__*/React$1.createElement(TitleAndValueContainer$2, null, /*#__PURE__*/React$1.createElement(Title$i, null, title), /*#__PURE__*/React$1.createElement(FormattedValue$3, {
25718
25611
  title: headerValueTopTitle,
25719
25612
  subtitle: headerValueBottomTitle,
25720
25613
  showTopValue: showHeaderTopValue,
@@ -25947,7 +25840,7 @@ const TitleAndValueContainer$1 = styled.div`
25947
25840
  flex-direction: column;
25948
25841
  padding: 0 1.25em; /* 20px → 1.25em */
25949
25842
  `;
25950
- const Title$f = styled.h4`
25843
+ const Title$g = styled.h4`
25951
25844
  font-weight: 500;
25952
25845
  font-size: ${props => props.titleFontSize || '1.125em'}; /* Default: 18px → 1.125em */
25953
25846
  margin: 0;
@@ -26150,7 +26043,7 @@ const TotalDoughnutChart = props => {
26150
26043
  width: width
26151
26044
  }, !hideTitleAndValue && /*#__PURE__*/React$1.createElement(TitleAndValueContainer$1, {
26152
26045
  className: "TitleAndValueContainer"
26153
- }, /*#__PURE__*/React$1.createElement(Title$f, {
26046
+ }, /*#__PURE__*/React$1.createElement(Title$g, {
26154
26047
  className: "Title",
26155
26048
  fontSize: titleFontSize
26156
26049
  }, title), /*#__PURE__*/React$1.createElement(CurrencySignAndFormattedValueContainer, {
@@ -26472,7 +26365,7 @@ const TotalValue = styled.div`
26472
26365
  font-size: 20px;
26473
26366
  }
26474
26367
  `;
26475
- const Title$e = styled.h4`
26368
+ const Title$f = styled.h4`
26476
26369
  font-size: 18px;
26477
26370
  font-weight: 400;
26478
26371
  line-height: 1;
@@ -26629,7 +26522,7 @@ const TotalHorizontalCharts = props => {
26629
26522
  }, chartsData?.length > 0 ? /*#__PURE__*/React$1.createElement(React$1.Fragment, null, !hideTitle || !hideTotalValue ? /*#__PURE__*/React$1.createElement(CardHeader, {
26630
26523
  ref: topHeader,
26631
26524
  className: "CardHeader"
26632
- }, !hideTitle ? /*#__PURE__*/React$1.createElement(Title$e, null, title) : '', !hideTotalValue ? /*#__PURE__*/React$1.createElement(TotalValue, {
26525
+ }, !hideTitle ? /*#__PURE__*/React$1.createElement(Title$f, null, title) : '', !hideTotalValue ? /*#__PURE__*/React$1.createElement(TotalValue, {
26633
26526
  className: "TotalValue"
26634
26527
  }, currencySign && /*#__PURE__*/React$1.createElement(CurrencySign, {
26635
26528
  className: "CurrencySign"
@@ -26776,7 +26669,7 @@ const scrollableStyles$5 = `
26776
26669
  border-radius: 5px;
26777
26670
  }
26778
26671
  `;
26779
- const MainContainer$1 = styled.div`
26672
+ const MainContainer$2 = styled.div`
26780
26673
  display: flex;
26781
26674
  flex-direction: row;
26782
26675
  position: relative;
@@ -27044,7 +26937,7 @@ const MarketShareDescription = props => {
27044
26937
  })) : '')));
27045
26938
  return content;
27046
26939
  };
27047
- return /*#__PURE__*/React$1.createElement(MainContainer$1, {
26940
+ return /*#__PURE__*/React$1.createElement(MainContainer$2, {
27048
26941
  className: "MainContainer",
27049
26942
  height: height,
27050
26943
  width: width
@@ -27102,7 +26995,7 @@ const ItemContainer = styled.div`
27102
26995
  flex-direction: column;
27103
26996
  flex-wrap: wrap;
27104
26997
  `;
27105
- const Title$d = styled.h4`
26998
+ const Title$e = styled.h4`
27106
26999
  font-size: 18px;
27107
27000
  font-weight: 500;
27108
27001
  margin: 0;
@@ -27218,7 +27111,7 @@ const SalesAndROI = props => {
27218
27111
  showBorderShadow: showBorderShadow
27219
27112
  }, /*#__PURE__*/React$1.createElement(TitleAndValueContainer, {
27220
27113
  id: "TitleAndValueContainer"
27221
- }, /*#__PURE__*/React$1.createElement(Title$d, {
27114
+ }, /*#__PURE__*/React$1.createElement(Title$e, {
27222
27115
  id: "Title"
27223
27116
  }, title), showBanner && /*#__PURE__*/React$1.createElement(OutBanner, {
27224
27117
  id: "OutBanner",
@@ -27284,7 +27177,7 @@ const scrollableStyles$4 = `
27284
27177
  border-radius: 5px;
27285
27178
  }
27286
27179
  `;
27287
- const MainContainer = styled.div``;
27180
+ const MainContainer$1 = styled.div``;
27288
27181
  const ModalOverlay = styled.div`
27289
27182
  position: fixed;
27290
27183
  z-index: 100;
@@ -27317,7 +27210,7 @@ const TitleContainer$1 = styled.div`
27317
27210
  margin: 0;
27318
27211
  border-bottom: 1px solid #b1b1b1;
27319
27212
  `;
27320
- const Title$c = styled.p`
27213
+ const Title$d = styled.p`
27321
27214
  font-weight: 400;
27322
27215
  font-size: 24px;
27323
27216
  margin: 0;
@@ -27525,7 +27418,7 @@ const PopupCharts = props => {
27525
27418
  }, item.title)), /*#__PURE__*/React$1.createElement(ChartContentContainer, {
27526
27419
  id: "ChartContentContainer"
27527
27420
  }, displayChart(item)));
27528
- return /*#__PURE__*/React$1.createElement(MainContainer, {
27421
+ return /*#__PURE__*/React$1.createElement(MainContainer$1, {
27529
27422
  id: "MainContainer"
27530
27423
  }, IsPopupChartsOpen && /*#__PURE__*/React$1.createElement(ModalOverlay, {
27531
27424
  id: "ModalOverlay",
@@ -27537,7 +27430,7 @@ const PopupCharts = props => {
27537
27430
  height: height,
27538
27431
  width: width,
27539
27432
  onClick: e => e.stopPropagation()
27540
- }, /*#__PURE__*/React$1.createElement(TitleContainer$1, null, /*#__PURE__*/React$1.createElement(Title$c, null, title), /*#__PURE__*/React$1.createElement(CloseXIconContainer, {
27433
+ }, /*#__PURE__*/React$1.createElement(TitleContainer$1, null, /*#__PURE__*/React$1.createElement(Title$d, null, title), /*#__PURE__*/React$1.createElement(CloseXIconContainer, {
27541
27434
  onClick: e => closePopupCharts(e)
27542
27435
  }, /*#__PURE__*/React$1.createElement(CloseXIcon, null))), /*#__PURE__*/React$1.createElement(ChartsContainer, {
27543
27436
  id: "ChartsContainer",
@@ -27635,7 +27528,7 @@ const TopToggleListMainContainer = styled.div`
27635
27528
  padding: 0 24px;
27636
27529
  width: ${props => props.width};
27637
27530
  `;
27638
- const Title$b = styled.h4`
27531
+ const Title$c = styled.h4`
27639
27532
  font-size: 14px;
27640
27533
  font-weight: 600;
27641
27534
  margin: 20px 0 12px;
@@ -27665,7 +27558,7 @@ const TopToggleList = props => {
27665
27558
  } = props;
27666
27559
  return /*#__PURE__*/React$1.createElement(TopToggleListMainContainer, {
27667
27560
  width: width
27668
- }, /*#__PURE__*/React$1.createElement(Title$b, null, title), /*#__PURE__*/React$1.createElement(ListContainer, {
27561
+ }, /*#__PURE__*/React$1.createElement(Title$c, null, title), /*#__PURE__*/React$1.createElement(ListContainer, {
27669
27562
  height: height
27670
27563
  }, list.map(item => /*#__PURE__*/React$1.createElement(ListItem, {
27671
27564
  key: item.value
@@ -27727,7 +27620,7 @@ const TitleContainer = styled.div`
27727
27620
  justify-content: flex-start;
27728
27621
  margin: 0 0 10px 0;
27729
27622
  `;
27730
- const Title$a = styled.h3`
27623
+ const Title$b = styled.h3`
27731
27624
  user-select: none;
27732
27625
  text-align: left;
27733
27626
  margin: 0;
@@ -28002,7 +27895,7 @@ const Heatmap = props => {
28002
27895
  className: "HeatmapWrapper"
28003
27896
  }, /*#__PURE__*/React$1.createElement(TitleContainer, {
28004
27897
  className: "TitleContainer"
28005
- }, /*#__PURE__*/React$1.createElement(Title$a, {
27898
+ }, /*#__PURE__*/React$1.createElement(Title$b, {
28006
27899
  className: "Title"
28007
27900
  }, title)), refreshRequired && renderBars(), !refreshRequired && renderBars(), renderLegend()));
28008
27901
  };
@@ -28421,7 +28314,7 @@ const TooltipTitle$7 = styled.div`
28421
28314
  font-size: 14px;
28422
28315
  font-weight: 600;
28423
28316
  `;
28424
- const Title$9 = styled.h5`
28317
+ const Title$a = styled.h5`
28425
28318
  font-weight: 500;
28426
28319
  font-size: 18px;
28427
28320
  line-height: 20px;
@@ -28582,7 +28475,7 @@ const BarChart = props => {
28582
28475
  height: height,
28583
28476
  width: width,
28584
28477
  ref: controlsContainerRef
28585
- }, /*#__PURE__*/React$1.createElement(Controls$7, null, /*#__PURE__*/React$1.createElement(Title$9, null, title), /*#__PURE__*/React$1.createElement(ResponsiveContainer, {
28478
+ }, /*#__PURE__*/React$1.createElement(Controls$7, null, /*#__PURE__*/React$1.createElement(Title$a, null, title), /*#__PURE__*/React$1.createElement(ResponsiveContainer, {
28586
28479
  width: "100%",
28587
28480
  height: "100%"
28588
28481
  }, /*#__PURE__*/React$1.createElement(BarChart$1, {
@@ -28755,7 +28648,7 @@ const Controls$6 = styled.div`
28755
28648
  flex-direction: column;
28756
28649
  background-color: white;
28757
28650
  `;
28758
- const Title$8 = styled.h5`
28651
+ const Title$9 = styled.h5`
28759
28652
  font-size: 18px;
28760
28653
  font-weight: 400;
28761
28654
  margin: 0 0 30px;
@@ -29021,9 +28914,9 @@ const DoubleBarSingleLine = props => {
29021
28914
  noDataText: noDataText
29022
28915
  }) : /*#__PURE__*/React$1.createElement(Controls$6, {
29023
28916
  className: "Controls"
29024
- }, title && title.trim() !== '' && /*#__PURE__*/React$1.createElement(Title$8, null, title), /*#__PURE__*/React$1.createElement(ChartsWrapper, {
28917
+ }, title && title.trim() !== '' && /*#__PURE__*/React$1.createElement(Title$9, null, title), /*#__PURE__*/React$1.createElement(ChartsWrapper, {
29025
28918
  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({
28919
+ }, /*#__PURE__*/React$1.createElement(LineChartWrapper, null, /*#__PURE__*/React$1.createElement(ResponsiveContainer, null, /*#__PURE__*/React$1.createElement(LineChart, _extends$1({
29027
28920
  data: transformedData
29028
28921
  }, syncCharts, {
29029
28922
  margin: {
@@ -29062,7 +28955,7 @@ const DoubleBarSingleLine = props => {
29062
28955
  }, /*#__PURE__*/React$1.createElement(LabelList, {
29063
28956
  content: CustomLabelLine,
29064
28957
  position: "top"
29065
- })))))), /*#__PURE__*/React$1.createElement(BarChartWrapper, null, /*#__PURE__*/React$1.createElement(ResponsiveContainer, null, /*#__PURE__*/React$1.createElement(BarChart$1, _extends({
28958
+ })))))), /*#__PURE__*/React$1.createElement(BarChartWrapper, null, /*#__PURE__*/React$1.createElement(ResponsiveContainer, null, /*#__PURE__*/React$1.createElement(BarChart$1, _extends$1({
29066
28959
  data: data,
29067
28960
  barGap: 13,
29068
28961
  barCategoryGap: data.length >= limitViewableItems ? 178 : 50,
@@ -29125,7 +29018,7 @@ const CheckboxGroupContainer = styled.div`
29125
29018
  height: 21px;
29126
29019
  gap: 20px;
29127
29020
  `;
29128
- const Title$7 = styled.h5`
29021
+ const Title$8 = styled.h5`
29129
29022
  font-weight: 500;
29130
29023
  font-size: 18px;
29131
29024
  line-height: 20px;
@@ -29177,7 +29070,7 @@ const Controls$5 = styled.div`
29177
29070
  display: flex;
29178
29071
  align-items: center;
29179
29072
  `;
29180
- const Label = styled.div`
29073
+ const Label$1 = styled.div`
29181
29074
  display: flex;
29182
29075
  padding: 0 10px 0 10px;
29183
29076
  white-space: nowrap;
@@ -29257,7 +29150,7 @@ const CheckBox = props => {
29257
29150
  width: iconSize,
29258
29151
  height: iconSize,
29259
29152
  color: disabled ? colorDisabled : colorUnchecked
29260
- })), /*#__PURE__*/React$1.createElement(Label, {
29153
+ })), /*#__PURE__*/React$1.createElement(Label$1, {
29261
29154
  className: "Label",
29262
29155
  "data-testid": "label"
29263
29156
  }, label)));
@@ -29453,7 +29346,7 @@ const AreaChart = props => {
29453
29346
  height: height
29454
29347
  }) : /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(HeaderContainer$2, {
29455
29348
  "data-testid": "header-container"
29456
- }, /*#__PURE__*/React$1.createElement(Title$7, {
29349
+ }, /*#__PURE__*/React$1.createElement(Title$8, {
29457
29350
  "data-testid": "title"
29458
29351
  }, title), /*#__PURE__*/React$1.createElement(CheckboxGroupContainer, {
29459
29352
  "data-testid": "checkbox-group-container"
@@ -29952,7 +29845,7 @@ const HeaderContainer$1 = styled.div`
29952
29845
  align-items: center;
29953
29846
  padding-bottom: 8px;
29954
29847
  `;
29955
- const Title$6 = styled.h3`
29848
+ const Title$7 = styled.h3`
29956
29849
  font-size: 18px;
29957
29850
  font-weight: 400;
29958
29851
  margin: 0;
@@ -30016,7 +29909,7 @@ const BreakdownPanel = props => {
30016
29909
  height: height
30017
29910
  }) : /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(HeaderContainer$1, {
30018
29911
  "data-testid": "header-container"
30019
- }, /*#__PURE__*/React$1.createElement(Title$6, {
29912
+ }, /*#__PURE__*/React$1.createElement(Title$7, {
30020
29913
  "data-testid": "title"
30021
29914
  }, title)), /*#__PURE__*/React$1.createElement(CategorySalesMainContainer, {
30022
29915
  "data-testid": "category-sales-main-container"
@@ -31532,7 +31425,7 @@ const ChartContainer = styled.div`
31532
31425
  width: 100%;
31533
31426
  height: calc(100% - 70px);
31534
31427
  `;
31535
- const Title$5 = styled.h2`
31428
+ const Title$6 = styled.h2`
31536
31429
  color: #212121;
31537
31430
  font-family: "Poppins";
31538
31431
  font-size: 18px;
@@ -32178,7 +32071,7 @@ const BrushChart = props => {
32178
32071
  return /*#__PURE__*/React$1.createElement(Container, {
32179
32072
  height: height,
32180
32073
  width: width
32181
- }, /*#__PURE__*/React$1.createElement(Title$5, null, title), /*#__PURE__*/React$1.createElement(SegmentedContainer, {
32074
+ }, /*#__PURE__*/React$1.createElement(Title$6, null, title), /*#__PURE__*/React$1.createElement(SegmentedContainer, {
32182
32075
  gap: "8px",
32183
32076
  options: segmentedbuttonOptions ? segmentedbuttonOptions.map(value => ({
32184
32077
  value
@@ -32242,7 +32135,7 @@ const Controls$3 = styled.div`
32242
32135
  padding: 12px 32px;
32243
32136
  }
32244
32137
  `;
32245
- const Title$4 = styled.span`
32138
+ const Title$5 = styled.span`
32246
32139
  color: #212121;
32247
32140
  display: inline-block;
32248
32141
  font-size: 18px;
@@ -32503,7 +32396,7 @@ const SingleBarLineCharts = _ref => {
32503
32396
  height: height
32504
32397
  }, data?.length > 0 ? /*#__PURE__*/React$1.createElement(Controls$3, {
32505
32398
  className: "Controls"
32506
- }, title !== '' && /*#__PURE__*/React$1.createElement(Title$4, null, title), totalsData.length > 0 && /*#__PURE__*/React$1.createElement(LinnerDataBoxWrap, {
32399
+ }, title !== '' && /*#__PURE__*/React$1.createElement(Title$5, null, title), totalsData.length > 0 && /*#__PURE__*/React$1.createElement(LinnerDataBoxWrap, {
32507
32400
  width: "40%",
32508
32401
  height: "60px",
32509
32402
  data: totalsData
@@ -32795,7 +32688,7 @@ const TooltipTitle$2 = styled.div`
32795
32688
  font-size: 14px;
32796
32689
  font-weight: 600;
32797
32690
  `;
32798
- const Title$3 = styled.h5`
32691
+ const Title$4 = styled.h5`
32799
32692
  font-weight: 500;
32800
32693
  font-size: 18px;
32801
32694
  line-height: 20px;
@@ -32971,7 +32864,7 @@ const BarChartWithAreaChart = props => {
32971
32864
  ref: controlsContainerRef
32972
32865
  }, /*#__PURE__*/React$1.createElement(Controls$2, {
32973
32866
  className: "Controls"
32974
- }, /*#__PURE__*/React$1.createElement(Title$3, null, title), /*#__PURE__*/React$1.createElement(ResponsiveContainer, {
32867
+ }, /*#__PURE__*/React$1.createElement(Title$4, null, title), /*#__PURE__*/React$1.createElement(ResponsiveContainer, {
32975
32868
  height: barChartHeight
32976
32869
  }, /*#__PURE__*/React$1.createElement(ComposedChart, {
32977
32870
  data: barChartData
@@ -33044,7 +32937,7 @@ const Controls$1 = styled.div`
33044
32937
  padding: 12px 32px;
33045
32938
  }
33046
32939
  `;
33047
- const Title$2 = styled.span`
32940
+ const Title$3 = styled.span`
33048
32941
  color: #212121;
33049
32942
  display: inline-block;
33050
32943
  font-size: 18px;
@@ -33199,7 +33092,7 @@ const BarChartTwoRows = props => {
33199
33092
  ref: controlsContainerRef
33200
33093
  }, /*#__PURE__*/React$1.createElement(Controls$1, {
33201
33094
  className: "Controls"
33202
- }, title !== '' && /*#__PURE__*/React$1.createElement(Title$2, null, title), /*#__PURE__*/React$1.createElement(ResponsiveContainer, {
33095
+ }, title !== '' && /*#__PURE__*/React$1.createElement(Title$3, null, title), /*#__PURE__*/React$1.createElement(ResponsiveContainer, {
33203
33096
  height: barChartHeight
33204
33097
  }, /*#__PURE__*/React$1.createElement(BarChart$1, {
33205
33098
  width: width,
@@ -33278,7 +33171,7 @@ const TooltipTitle = styled.div`
33278
33171
  font-size: 14px;
33279
33172
  font-weight: 600;
33280
33173
  `;
33281
- const Title$1 = styled.h5`
33174
+ const Title$2 = styled.h5`
33282
33175
  font-weight: 500;
33283
33176
  font-size: 18px;
33284
33177
  line-height: 20px;
@@ -33401,7 +33294,7 @@ const TwoBarCharts = props => {
33401
33294
  height: height,
33402
33295
  width: width,
33403
33296
  ref: controlsContainerRef
33404
- }, /*#__PURE__*/React$1.createElement(Controls, null, /*#__PURE__*/React$1.createElement(Title$1, null, title), /*#__PURE__*/React$1.createElement(ResponsiveContainer, {
33297
+ }, /*#__PURE__*/React$1.createElement(Controls, null, /*#__PURE__*/React$1.createElement(Title$2, null, title), /*#__PURE__*/React$1.createElement(ResponsiveContainer, {
33405
33298
  width: "100%",
33406
33299
  height: "100%"
33407
33300
  }, /*#__PURE__*/React$1.createElement(BarChart$1, {
@@ -33581,7 +33474,7 @@ const TitleDiv = styled.div`
33581
33474
  font-size: 10px;
33582
33475
  }
33583
33476
  `;
33584
- const TableWrapper = styled.div`
33477
+ const TableWrapper$2 = styled.div`
33585
33478
  overflow-x: auto;
33586
33479
  margin-bottom: 22px;
33587
33480
  &::-webkit-scrollbar {
@@ -33598,7 +33491,7 @@ const TableWrapper = styled.div`
33598
33491
  border-radius: 5px;
33599
33492
  }
33600
33493
  `;
33601
- const Table = styled.table`
33494
+ const Table$2 = styled.table`
33602
33495
  width: 100%;
33603
33496
  border-collapse: collapse;
33604
33497
  overflow: auto;
@@ -33828,7 +33721,7 @@ const CollapseData = props => {
33828
33721
  }) : /*#__PURE__*/React$1.createElement(ArrowDownIcon, {
33829
33722
  width: "11px",
33830
33723
  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, {
33724
+ })), /*#__PURE__*/React$1.createElement(TitleDiv, null, `${parseFloat(section.value.toFixed(1))}${section.valueType}`))), activeIndex === section.key && /*#__PURE__*/React$1.createElement(TableWrapper$2, null, /*#__PURE__*/React$1.createElement(Table$2, null, /*#__PURE__*/React$1.createElement("thead", null, /*#__PURE__*/React$1.createElement("tr", null, section.table.map((headline, i) => /*#__PURE__*/React$1.createElement(Th, {
33832
33725
  key: `${i + headline}`
33833
33726
  }, headline.title)))), /*#__PURE__*/React$1.createElement("tbody", null, /*#__PURE__*/React$1.createElement("tr", null, section.table.map((data, i) => {
33834
33727
  if (data.value !== null) {
@@ -33896,7 +33789,7 @@ const ModalContent = styled.div`
33896
33789
  padding: 1rem 0 3rem;
33897
33790
  }
33898
33791
  `;
33899
- const Header = styled.div`
33792
+ const Header$1 = styled.div`
33900
33793
  position: relative;
33901
33794
  display: flex;
33902
33795
  justify-content: space-between;
@@ -33928,7 +33821,7 @@ const CloseButton = styled.button`
33928
33821
  align-self: flex-end;
33929
33822
  }
33930
33823
  `;
33931
- const Title = styled.h2`
33824
+ const Title$1 = styled.h2`
33932
33825
  position: absolute;
33933
33826
  display: flex;
33934
33827
  align-items: center;
@@ -34106,7 +33999,7 @@ const InsightsCarousel = _ref => {
34106
33999
  const nextIndex = (currentIndex + 1) % totalChildren;
34107
34000
  return /*#__PURE__*/React$1.createElement(Overlay, {
34108
34001
  className: className
34109
- }, /*#__PURE__*/React$1.createElement(ModalContent, null, /*#__PURE__*/React$1.createElement(Header, null, /*#__PURE__*/React$1.createElement(Title, {
34002
+ }, /*#__PURE__*/React$1.createElement(ModalContent, null, /*#__PURE__*/React$1.createElement(Header$1, null, /*#__PURE__*/React$1.createElement(Title$1, {
34110
34003
  $titleColor: titleColor
34111
34004
  }, /*#__PURE__*/React$1.cloneElement(icon, {
34112
34005
  fill: iconColor
@@ -34404,5 +34297,1530 @@ DownloadProgress.defaultProps = {
34404
34297
  className: 'DownloadProgressMainContainer'
34405
34298
  };
34406
34299
 
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 };
34300
+ const ModalWrapper = styled.div`
34301
+ font-family: "Poppins", sans-serif;
34302
+ position: fixed;
34303
+ top: 0;
34304
+ left: 0;
34305
+ width: 100%;
34306
+ height: 100%;
34307
+ background-color: rgba(0, 0, 0, 0.5);
34308
+ display: flex;
34309
+ justify-content: center;
34310
+ align-items: center;
34311
+ `;
34312
+ const Modal = styled.div`
34313
+ display: flex;
34314
+ gap: 30px;
34315
+ padding: 20px;
34316
+ flex-direction: column;
34317
+ background-color: white;
34318
+ border-radius: 12px;
34319
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
34320
+ `;
34321
+ const ModalHeader = styled.div`
34322
+ display: flex;
34323
+ justify-content: space-between;
34324
+ `;
34325
+ const ModalButtons = styled.div`
34326
+ display: flex;
34327
+ gap: 10px;
34328
+ `;
34329
+ const ModalTitle = styled.h3`
34330
+ margin: 0;
34331
+ font-size: 24px;
34332
+ `;
34333
+ const ModalBody = styled.div`
34334
+ flex-grow: 1;
34335
+ `;
34336
+ styled.div`
34337
+ display: flex;
34338
+ justify-content: flex-end;
34339
+ padding: 20px;
34340
+ border-top: 1px solid #ddd;
34341
+ `;
34342
+
34343
+ const ModalWithOverlay = props => {
34344
+ const {
34345
+ title = '',
34346
+ children = null,
34347
+ onOk = () => {},
34348
+ onCancel = () => {},
34349
+ cancelButtonText = 'Cancel',
34350
+ cancelButtonLeftIcon = '',
34351
+ cancelButtonRightIcon = '',
34352
+ cancelButtonType = 'secondary',
34353
+ okButtonText = 'OK',
34354
+ okButtonLeftIcon = '',
34355
+ okButtonRightIcon = '',
34356
+ okButtonType = 'primary',
34357
+ width = '400px',
34358
+ height = 'auto',
34359
+ overlayTransparent = false,
34360
+ overlayOpacity = 0.797,
34361
+ showCancelButton = true,
34362
+ // Added this prop
34363
+ showOkButton = true // Added this prop
34364
+ } = props;
34365
+ const overlayStyle = {
34366
+ backgroundColor: overlayTransparent ? "transparent" : `rgba(0, 0, 0, ${overlayOpacity || 0.797})`
34367
+ };
34368
+ return /*#__PURE__*/React$1.createElement(ModalWrapper, {
34369
+ className: "modal-wrapper",
34370
+ style: overlayStyle
34371
+ }, /*#__PURE__*/React$1.createElement(Modal, {
34372
+ style: {
34373
+ width,
34374
+ height
34375
+ }
34376
+ }, /*#__PURE__*/React$1.createElement(ModalHeader, {
34377
+ className: "modal-header"
34378
+ }, /*#__PURE__*/React$1.createElement(ModalTitle, null, title), /*#__PURE__*/React$1.createElement(ModalButtons, {
34379
+ className: "modal-buttons"
34380
+ }, showCancelButton && /*#__PURE__*/React$1.createElement(Button$1, {
34381
+ type: cancelButtonType,
34382
+ leftIcon: cancelButtonLeftIcon,
34383
+ rightIcon: cancelButtonRightIcon,
34384
+ text: cancelButtonText,
34385
+ onClick: onCancel
34386
+ }), showOkButton && /*#__PURE__*/React$1.createElement(Button$1, {
34387
+ type: okButtonType,
34388
+ leftIcon: okButtonLeftIcon,
34389
+ rightIcon: okButtonRightIcon,
34390
+ text: okButtonText,
34391
+ onClick: onOk
34392
+ }))), /*#__PURE__*/React$1.createElement(ModalBody, {
34393
+ className: "modal-body"
34394
+ }, children)));
34395
+ };
34396
+
34397
+ /* ──────────────────────────────────────────
34398
+ COLORS – map to your design-system tokens
34399
+ Change only here if the palette shifts
34400
+ ─────────────────────────────────────────── */
34401
+ const c = {
34402
+ surface: "#ffffff",
34403
+ text: "#212121",
34404
+ textSecondary: "#8d9299",
34405
+ primary: "#016672",
34406
+ // apply / highlight
34407
+ primaryLight: "#d1e7ea",
34408
+ border: "#e0e0e0"
34409
+ };
34410
+
34411
+ /* ───────────────────────── wrapper */
34412
+ const CalendarWrapper = styled.div`
34413
+ width: 240px;
34414
+ padding: 16px 16px 12px;
34415
+ background: ${c.surface};
34416
+ border-radius: 8px;
34417
+ box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
34418
+ user-select: none;
34419
+ `;
34420
+
34421
+ /* ───────────────────────── header */
34422
+ const Header = styled.h4`
34423
+ margin: 0 0 12px;
34424
+ color: ${c.text};
34425
+
34426
+ /* Content/P3 Regular */
34427
+ font-family: Poppins;
34428
+ font-size: 12px;
34429
+ font-style: normal;
34430
+ font-weight: 400;
34431
+ line-height: normal;
34432
+ `;
34433
+
34434
+ /* ───────────────────────── grid */
34435
+ const Grid = styled.div`
34436
+ display: grid;
34437
+ grid-template-columns: repeat(${({
34438
+ columns
34439
+ }) => columns}, 1fr);
34440
+ gap: 6px 0px;
34441
+ margin-bottom: 16px;
34442
+ `;
34443
+
34444
+ /* individual week cell */
34445
+ const WeekCell = styled.div`
34446
+ padding: 6px 0;
34447
+ font-size: 13px;
34448
+ padding-top: 10px;
34449
+ padding-bottom: 10px;
34450
+ text-align: center;
34451
+ cursor: pointer;
34452
+ color: ${c.textSecondary};
34453
+ transition: background 0.15s ease;
34454
+ border-radius: 4px;
34455
+
34456
+ ${({
34457
+ $selected
34458
+ }) => $selected && css`
34459
+
34460
+ background: ${c.primary};
34461
+ color: #FFFFFF;
34462
+ `}
34463
+
34464
+ /* highlight range interior lighter */
34465
+ ${({
34466
+ $isRangeMiddle
34467
+ }) => $isRangeMiddle && css`
34468
+ background: ${c.primaryLight};
34469
+ border-radius: 0px;
34470
+ color: ${c.text};
34471
+ `}
34472
+
34473
+ &:hover {
34474
+ background: ${c.primaryLight};
34475
+ color: ${c.text};
34476
+ }
34477
+ text-align: center;
34478
+ font-feature-settings: "liga" off;
34479
+
34480
+ /* Content/P3 Regular */
34481
+ font-family: Poppins;
34482
+ font-size: 12px;
34483
+ font-style: normal;
34484
+ font-weight: 400;
34485
+ line-height: normal;
34486
+ `;
34487
+
34488
+ /* ───────────────────────── footer buttons */
34489
+ const Footer = styled.div`
34490
+ display: flex;
34491
+ justify-content: space-between;
34492
+ gap: 8px;
34493
+ `;
34494
+ css`
34495
+ flex: 1 1 0;
34496
+ height: 32px;
34497
+ font-weight: 600;
34498
+ font-size: 12px;
34499
+ line-height: 32px;
34500
+ text-align: center;
34501
+ border-radius: 6px;
34502
+ border: 1px solid transparent;
34503
+ cursor: pointer;
34504
+ transition:
34505
+ opacity 0.15s ease,
34506
+ background 0.15s ease;
34507
+ &:disabled {
34508
+ opacity: 0.4;
34509
+ cursor: default;
34510
+ }
34511
+ `;
34512
+
34513
+ /**
34514
+ * WeeksCalendar
34515
+ * -------------
34516
+ * Props
34517
+ * • year – four-digit year (required)
34518
+ * • defaultStartWeek – number | null
34519
+ * • defaultEndWeek – number | null
34520
+ * • onApply(start,end) – callback, both numbers (inclusive)
34521
+ * • onCancel() – callback
34522
+ */
34523
+ const WeeksCalendar = ({
34524
+ year,
34525
+ defaultStartWeek = null,
34526
+ defaultEndWeek = null,
34527
+ onApply,
34528
+ onCancel
34529
+ }) => {
34530
+ // state -------------------------------------------------
34531
+ const [startWeek, setStartWeek] = useState(defaultStartWeek);
34532
+ const [endWeek, setEndWeek] = useState(defaultEndWeek);
34533
+
34534
+ // derived helpers --------------------------------------
34535
+ const hasSelection = startWeek !== null;
34536
+ const isRange = hasSelection && endWeek !== null && endWeek !== startWeek;
34537
+ const weeks = useMemo(() => [...Array(53)].map((_, i) => i + 1), []);
34538
+ const handleCellClick = week => {
34539
+ // first click → start
34540
+
34541
+ if (!hasSelection) {
34542
+ setStartWeek(week);
34543
+ setEndWeek(null);
34544
+ return;
34545
+ }
34546
+ // second click → decide range or single
34547
+ if (hasSelection && endWeek === null) {
34548
+ // second click on same cell turns it to single selection
34549
+ if (week === startWeek) {
34550
+ setEndWeek(null);
34551
+ return;
34552
+ }
34553
+ // ensure ascending order
34554
+ setEndWeek(week < startWeek ? startWeek : week);
34555
+ setStartWeek(week < startWeek ? week : startWeek);
34556
+ return;
34557
+ }
34558
+ // any later click resets selection and starts over
34559
+ setStartWeek(week);
34560
+ setEndWeek(null);
34561
+ };
34562
+ const clearAll = () => {
34563
+ setStartWeek(null);
34564
+ setEndWeek(null);
34565
+ };
34566
+
34567
+ // render ------------------------------------------------
34568
+ const title = !hasSelection ? "Select Weeks" : !isRange ? `Week ${startWeek}, ${year}` : `Weeks ${startWeek}-${endWeek}, ${year}`;
34569
+ return /*#__PURE__*/React$1.createElement(CalendarWrapper, null, /*#__PURE__*/React$1.createElement(Header, null, title), /*#__PURE__*/React$1.createElement(Grid, {
34570
+ columns: 6
34571
+ }, weeks.map(wk => {
34572
+ const selected = wk === startWeek || isRange && wk >= startWeek && wk <= endWeek;
34573
+ return /*#__PURE__*/React$1.createElement(WeekCell, {
34574
+ key: wk,
34575
+ "data-week": wk,
34576
+ $selected: selected,
34577
+ $isRangeMiddle: selected && wk !== startWeek && wk !== endWeek,
34578
+ onClick: () => handleCellClick(wk)
34579
+ }, wk);
34580
+ })), /*#__PURE__*/React$1.createElement(Footer, null, /*#__PURE__*/React$1.createElement(Button$1, {
34581
+ type: "secondary",
34582
+ disabled: !hasSelection,
34583
+ onClick: clearAll,
34584
+ text: "CLEAR"
34585
+ }), /*#__PURE__*/React$1.createElement(Button$1, {
34586
+ type: "primary",
34587
+ disabled: !hasSelection,
34588
+ onClick: () => {
34589
+ if (hasSelection) onApply(startWeek, endWeek ?? startWeek);
34590
+ },
34591
+ text: "APPLY"
34592
+ }), onCancel && /*#__PURE__*/React$1.createElement("button", {
34593
+ style: {
34594
+ display: "none"
34595
+ },
34596
+ type: "button",
34597
+ onClick: onCancel
34598
+ })));
34599
+ };
34600
+ WeeksCalendar.propTypes = {
34601
+ year: PropTypes.number.isRequired,
34602
+ defaultStartWeek: PropTypes.number,
34603
+ defaultEndWeek: PropTypes.number,
34604
+ onApply: PropTypes.func.isRequired,
34605
+ onCancel: PropTypes.func
34606
+ };
34607
+
34608
+ /* src/components/WeeksPicker/WeeksPicker.style.js */
34609
+ const WeeksPickerContainer = styled.div`
34610
+ position: relative;
34611
+ margin-bottom: 10px;
34612
+ width: ${props => props.width || '100%'};
34613
+ height: ${props => props.height || '60px'};
34614
+ `;
34615
+ const StyledInput$1 = styled.input`
34616
+ padding: 20px;
34617
+ font-size: 14px;
34618
+ border-radius: ${props => props.borderRadius || '4px'};
34619
+ border: none;
34620
+ outline: none;
34621
+ width: ${props => props.width || '90%'};
34622
+ height: ${props => props.height || '60px'};
34623
+ transition: border-color 0.3s ease;
34624
+ font-size: 14px;
34625
+ font-weight: 400;
34626
+ box-sizing: border-box;
34627
+ color: ${props => props.disabled ? '#888' : (props.isFocused || props.value ? props.textColor : '#757575') || '#333'};
34628
+ cursor: ${props => props.disabled ? 'not-allowed' : 'text'};
34629
+ `;
34630
+ const StyledLabel = styled.label`
34631
+ font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
34632
+ width: ${props => props.isFocused || props.hasValue ? 'auto' : '150px'};
34633
+ color: ${props => props.disabled ? '#888' : (props.isFocused || props.hasValue ? props.borderColorFocus : '#757575') || '#333'};
34634
+ position: absolute;
34635
+ top: ${props => props.isFocused || props.hasValue ? '0px' : '50%'};
34636
+ left: 15px;
34637
+ background-color: ${props => props.isFocused || props.hasValue ? 'white' : 'transparent'};
34638
+ transform: translateY(-50%);
34639
+ transition: top 0.3s ease, font-size 0.3s ease;
34640
+ display: flex;
34641
+ font-weight: 400;
34642
+ align-items: center;
34643
+ box-sizing: border-box;
34644
+ cursor: pointer;
34645
+ `;
34646
+ const RequiredIndicator = styled.span`
34647
+ color: red;
34648
+ margin-left: 5px;
34649
+ `;
34650
+ styled.div`
34651
+ font-size: 12px;
34652
+ color: red;
34653
+ margin-top: 5px;
34654
+ `;
34655
+ const OptionsContainer = styled.div`
34656
+ position: relative;
34657
+ z-index: 999;
34658
+ `;
34659
+ const InputContainer$1 = styled.div`
34660
+ display: flex;
34661
+ flex-wrap: nowrap;
34662
+ justify-content: flex-start;
34663
+ align-content: center;
34664
+ white-space: pre-wrap;
34665
+ align-items: center;
34666
+ overflow: hidden;
34667
+ width: 100%;
34668
+ height: 100%;
34669
+ box-sizing: border-box;
34670
+ background-color: transparent;
34671
+ border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : '#B1B1B1'};
34672
+ font-family: "Poppins", sans-serif;
34673
+ font-weight: 400;
34674
+ font-size: 14px;
34675
+ border-radius: 12px;
34676
+ outline: none;
34677
+ color: ${props => props.disabled ? '#888' : '#212121'};
34678
+
34679
+ &:hover {
34680
+ border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.borderColorFocus || '#212121'};
34681
+ cursor: ${props => props.disabled ? 'not-allowed' : 'pointer'};
34682
+ }
34683
+
34684
+ &:focus {
34685
+ border: 1px solid ${props => props.disabled ? '#bdbdbd' : props.error ? 'red' : props.borderColorFocus || '#212121'};
34686
+ }
34687
+ `;
34688
+ const CalendarDiv = styled.div`
34689
+ position: absolute;
34690
+ top: 16px;
34691
+ right: 10px;
34692
+ `;
34693
+
34694
+ // src/components/WeeksPicker/WeeksPicker.jsx
34695
+ const WeeksPicker = _ref => {
34696
+ let {
34697
+ label,
34698
+ disabled,
34699
+ borderColor,
34700
+ borderColorFocus,
34701
+ textColor,
34702
+ required,
34703
+ placeholder,
34704
+ borderRadius,
34705
+ year,
34706
+ width,
34707
+ height,
34708
+ onChange,
34709
+ selectedValue
34710
+ } = _ref;
34711
+ const [value, setValue] = useState("");
34712
+ const inputRef = useRef(null);
34713
+ const [isFocused, setIsFocused] = useState(false);
34714
+ const [isOpen, setIsOpen] = useState(false);
34715
+ const handleToggle = () => {
34716
+ setIsOpen(!isOpen);
34717
+ };
34718
+ const onChangeEvent = e => {
34719
+ onChange(e.target.value);
34720
+ setValue(e.target.value);
34721
+ };
34722
+ useEffect(() => {
34723
+ if (selectedValue) {
34724
+ setValue(selectedValue);
34725
+ }
34726
+ }, [selectedValue]);
34727
+ const handleApply = () => {
34728
+ setIsOpen(false);
34729
+ };
34730
+ const handleCancel = () => {
34731
+ setIsOpen(false);
34732
+ };
34733
+ const handleFocus = () => {
34734
+ setIsFocused(true);
34735
+ };
34736
+ const handleBlur = () => {
34737
+ setIsFocused(false);
34738
+ };
34739
+ return /*#__PURE__*/React$1.createElement(WeeksPickerContainer, {
34740
+ width: width,
34741
+ height: height
34742
+ }, /*#__PURE__*/React$1.createElement(InputContainer$1, {
34743
+ onClick: handleToggle,
34744
+ className: "InputContainer",
34745
+ isFocused: isFocused,
34746
+ hasValue: value,
34747
+ disabled: disabled,
34748
+ textColor: textColor,
34749
+ borderColor: borderColor,
34750
+ borderColorFocus: borderColorFocus
34751
+ }, /*#__PURE__*/React$1.createElement(StyledLabel, {
34752
+ className: "StyledLabel",
34753
+ onClick: handleFocus,
34754
+ isFocused: isFocused,
34755
+ hasValue: value,
34756
+ disabled: disabled,
34757
+ textColor: textColor,
34758
+ borderColor: borderColor,
34759
+ borderColorFocus: borderColorFocus
34760
+ }, label, required && /*#__PURE__*/React$1.createElement(RequiredIndicator, null, "*")), /*#__PURE__*/React$1.createElement(StyledInput$1, {
34761
+ className: "StyledInput",
34762
+ ref: inputRef,
34763
+ value: value,
34764
+ onChange: onChangeEvent,
34765
+ onFocus: handleFocus,
34766
+ onBlur: handleBlur,
34767
+ isFocused: isFocused,
34768
+ borderColorFocus: borderColorFocus,
34769
+ borderRadius: borderRadius,
34770
+ width: width,
34771
+ height: height,
34772
+ placeholder: isFocused ? placeholder : "",
34773
+ disabled: disabled,
34774
+ borderColor: borderColor,
34775
+ textColor: textColor
34776
+ }), /*#__PURE__*/React$1.createElement(CalendarDiv, {
34777
+ onClick: handleToggle
34778
+ }, 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, {
34779
+ year: year,
34780
+ onApply: (start, end) => {
34781
+ handleApply();
34782
+ const tempValue = end === start ? `Week ${start},${year}` : `Weeks ${start} - ${end},${year}`;
34783
+ onChange(tempValue);
34784
+ setValue(tempValue);
34785
+ setIsOpen(!isOpen);
34786
+ // close your modal here if needed …
34787
+ },
34788
+ onCancel: () => handleCancel()
34789
+ })));
34790
+ };
34791
+ WeeksPicker.propTypes = {
34792
+ label: PropTypes.string.isRequired,
34793
+ year: PropTypes.number.isRequired,
34794
+ onChange: PropTypes.func.isRequired,
34795
+ defaultValues: PropTypes.arrayOf(PropTypes.number),
34796
+ saveStartWeekID: PropTypes.func.isRequired,
34797
+ saveEndWeekID: PropTypes.func.isRequired
34798
+ };
34799
+
34800
+ var DefaultContext = {
34801
+ color: undefined,
34802
+ size: undefined,
34803
+ className: undefined,
34804
+ style: undefined,
34805
+ attr: undefined
34806
+ };
34807
+ var IconContext = React$1.createContext && /*#__PURE__*/React$1.createContext(DefaultContext);
34808
+
34809
+ var _excluded = ["attr", "size", "title"];
34810
+ 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; }
34811
+ 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; }
34812
+ 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); }
34813
+ 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; }
34814
+ 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; }
34815
+ 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; }
34816
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
34817
+ 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); }
34818
+ function Tree2Element(tree) {
34819
+ return tree && tree.map((node, i) => /*#__PURE__*/React$1.createElement(node.tag, _objectSpread({
34820
+ key: i
34821
+ }, node.attr), Tree2Element(node.child)));
34822
+ }
34823
+ function GenIcon(data) {
34824
+ return props => /*#__PURE__*/React$1.createElement(IconBase, _extends({
34825
+ attr: _objectSpread({}, data.attr)
34826
+ }, props), Tree2Element(data.child));
34827
+ }
34828
+ function IconBase(props) {
34829
+ var elem = conf => {
34830
+ var {
34831
+ attr,
34832
+ size,
34833
+ title
34834
+ } = props,
34835
+ svgProps = _objectWithoutProperties(props, _excluded);
34836
+ var computedSize = size || conf.size || "1em";
34837
+ var className;
34838
+ if (conf.className) className = conf.className;
34839
+ if (props.className) className = (className ? className + " " : "") + props.className;
34840
+ return /*#__PURE__*/React$1.createElement("svg", _extends({
34841
+ stroke: "currentColor",
34842
+ fill: "currentColor",
34843
+ strokeWidth: "0"
34844
+ }, conf.attr, attr, svgProps, {
34845
+ className: className,
34846
+ style: _objectSpread(_objectSpread({
34847
+ color: props.color || conf.color
34848
+ }, conf.style), props.style),
34849
+ height: computedSize,
34850
+ width: computedSize,
34851
+ xmlns: "http://www.w3.org/2000/svg"
34852
+ }), title && /*#__PURE__*/React$1.createElement("title", null, title), props.children);
34853
+ };
34854
+ return IconContext !== undefined ? /*#__PURE__*/React$1.createElement(IconContext.Consumer, null, conf => elem(conf)) : elem(DefaultContext);
34855
+ }
34856
+
34857
+ // THIS FILE IS AUTO GENERATED
34858
+ function FaEyeSlash (props) {
34859
+ 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);
34860
+ }
34861
+
34862
+ const IconWrapper$1 = styled.div`
34863
+ display: flex;
34864
+ align-items: center;
34865
+ justify-content: center;
34866
+ align-content: center;
34867
+ padding: 2px;
34868
+ cursor: ${props => props.disabled ? 'not-allowed' : props.pointer || 'default'};
34869
+ `;
34870
+
34871
+ // eslint-disable-next-line import/prefer-default-export
34872
+ const getIcon = (icon, iconHeight, iconWidth, color, disabled, pointer, callBackOnClick) => {
34873
+ const newIconHeight = iconHeight || '12px';
34874
+ const newIconWidth = iconWidth || '12px';
34875
+ const newColor = disabled ? '#D0D0D0' : color || '#212121';
34876
+ switch (icon.toLowerCase()) {
34877
+ case 'filter':
34878
+ return /*#__PURE__*/React$1.createElement(IconWrapper$1, {
34879
+ className: "FilterIcon",
34880
+ pointer: pointer,
34881
+ disabled: disabled,
34882
+ onClick: callBackOnClick
34883
+ }, /*#__PURE__*/React$1.createElement(FilterIcon, {
34884
+ height: newIconHeight,
34885
+ width: newIconWidth,
34886
+ color: newColor,
34887
+ onClick: callBackOnClick
34888
+ }));
34889
+ case 'options':
34890
+ return /*#__PURE__*/React$1.createElement(IconWrapper$1, {
34891
+ className: "OptionsIcon",
34892
+ pointer: pointer,
34893
+ disabled: disabled,
34894
+ onClick: callBackOnClick
34895
+ }, /*#__PURE__*/React$1.createElement(OptionsIcon, {
34896
+ height: newIconHeight,
34897
+ width: newIconWidth,
34898
+ color: newColor,
34899
+ onClick: callBackOnClick
34900
+ }));
34901
+ case 'download':
34902
+ return /*#__PURE__*/React$1.createElement(IconWrapper$1, {
34903
+ className: "DownloadIcon",
34904
+ pointer: pointer,
34905
+ disabled: disabled,
34906
+ onClick: callBackOnClick
34907
+ }, /*#__PURE__*/React$1.createElement(DownloadIcon, {
34908
+ height: newIconHeight,
34909
+ width: newIconWidth,
34910
+ color: newColor,
34911
+ onClick: callBackOnClick
34912
+ }));
34913
+ case 'document':
34914
+ return /*#__PURE__*/React$1.createElement(IconWrapper$1, {
34915
+ className: "DocumentIcon",
34916
+ pointer: pointer,
34917
+ disabled: disabled,
34918
+ onClick: callBackOnClick
34919
+ }, /*#__PURE__*/React$1.createElement(DocumentIcon, {
34920
+ height: newIconHeight,
34921
+ width: newIconWidth,
34922
+ color: newColor,
34923
+ onClick: callBackOnClick
34924
+ }));
34925
+ case 'fly':
34926
+ return /*#__PURE__*/React$1.createElement(IconWrapper$1, {
34927
+ className: "FlyIcon",
34928
+ pointer: pointer,
34929
+ disabled: disabled,
34930
+ onClick: callBackOnClick
34931
+ }, /*#__PURE__*/React$1.createElement(FlyIcon, {
34932
+ height: newIconHeight,
34933
+ width: newIconWidth,
34934
+ color: newColor,
34935
+ onClick: callBackOnClick
34936
+ }));
34937
+ case 'bell':
34938
+ return /*#__PURE__*/React$1.createElement(IconWrapper$1, {
34939
+ className: "BellIcon",
34940
+ pointer: pointer,
34941
+ disabled: disabled,
34942
+ onClick: callBackOnClick
34943
+ }, /*#__PURE__*/React$1.createElement(BellIcon, {
34944
+ height: newIconHeight,
34945
+ width: newIconWidth,
34946
+ color: newColor,
34947
+ onClick: callBackOnClick
34948
+ }));
34949
+ case 'maintenance':
34950
+ return /*#__PURE__*/React$1.createElement(IconWrapper$1, {
34951
+ className: "MaintenanceIcon",
34952
+ pointer: pointer,
34953
+ disabled: disabled,
34954
+ onClick: callBackOnClick
34955
+ }, /*#__PURE__*/React$1.createElement(MaintenanceIcon, {
34956
+ height: newIconHeight,
34957
+ width: newIconWidth,
34958
+ color: newColor,
34959
+ onClick: callBackOnClick
34960
+ }));
34961
+ case 'exit':
34962
+ return /*#__PURE__*/React$1.createElement(IconWrapper$1, {
34963
+ className: "ExitIcon",
34964
+ pointer: pointer,
34965
+ disabled: disabled,
34966
+ onClick: callBackOnClick
34967
+ }, /*#__PURE__*/React$1.createElement(ExitIcon, {
34968
+ height: newIconHeight,
34969
+ width: newIconWidth,
34970
+ color: newColor,
34971
+ onClick: callBackOnClick
34972
+ }));
34973
+ case 'eye':
34974
+ return /*#__PURE__*/React$1.createElement(IconWrapper$1, {
34975
+ className: "EyeIcon",
34976
+ pointer: pointer,
34977
+ disabled: disabled,
34978
+ onClick: callBackOnClick
34979
+ }, /*#__PURE__*/React$1.createElement(EyeIcon, {
34980
+ height: newIconHeight,
34981
+ width: newIconWidth,
34982
+ color: newColor,
34983
+ onClick: callBackOnClick
34984
+ }));
34985
+ case 'search':
34986
+ return /*#__PURE__*/React$1.createElement(IconWrapper$1, {
34987
+ className: "SearchIcon",
34988
+ pointer: pointer,
34989
+ disabled: disabled,
34990
+ onClick: callBackOnClick
34991
+ }, /*#__PURE__*/React$1.createElement(SearchIcon, {
34992
+ height: newIconHeight,
34993
+ width: newIconWidth,
34994
+ color: newColor,
34995
+ onClick: callBackOnClick
34996
+ }));
34997
+ default:
34998
+ return '';
34999
+ }
35000
+ };
35001
+
35002
+ /* eslint-disable no-nested-ternary */
35003
+ const MainContainer = styled.div`
35004
+ position: relative;
35005
+ display: flex;
35006
+ flex-direction: column;
35007
+ align-content: center;
35008
+ justify-content: center;
35009
+ align-items: flex-start;
35010
+ width: ${props => props.width || '300px'};
35011
+ font-family: "Poppins", sans-serif;
35012
+ font-weight: 400;
35013
+ font-size: 14px;
35014
+ border-radius: ${props => props.size === 'small' ? '8px' : '12px'};
35015
+ padding: 0;
35016
+ cursor: ${props => props.disabled ? 'not-allowed' : 'default'};
35017
+ `;
35018
+ const Label = styled.label`
35019
+
35020
+ font-size: ${props => props.isFocused || props.hasValue ? '14px' : '14px'};
35021
+ font-weight: 400;
35022
+ padding-inline-end: 5px;
35023
+ padding-inline-start: 5px;
35024
+ margin-right: 10px;
35025
+ z-index: 2;
35026
+ color: ${props => props.error ? 'red' : props.disabled ? '#D0D0D0' : props.labelColor};
35027
+ background-color: white;
35028
+ position: absolute;
35029
+ top: ${props => props.isFocused || props.hasValue ? '0px' : props.size === 'medium' ? '27px' : '17px'};
35030
+ left: ${props => props.isFocused || props.hasValue ? '23px' : props.leftIcon && props.leftIcon !== 'none' ? '42px' : '16px'};
35031
+ font-family: Poppins;
35032
+ transform: translateY(-50%);
35033
+ transition: top 0.3s ease, font-size 0.3s ease, color 0.3s ease;
35034
+ display: flex;
35035
+ align-items: center;
35036
+ box-sizing: border-box;
35037
+ max-height: 16px;
35038
+ gap: 4px;
35039
+ &:hover {
35040
+ cursor: ${props => props.disabled ? 'not-allowed' : 'pointer'};
35041
+ }
35042
+ `;
35043
+ const InputContainer = styled.div`
35044
+
35045
+ display: flex;
35046
+ flex-direction: row;
35047
+ flex-wrap: nowrap;
35048
+ justify-content: flex-start;
35049
+ align-content: center;
35050
+ white-space: pre-wrap;
35051
+ align-items: center;
35052
+ overflow: hidden;
35053
+ padding: 0 16px;
35054
+ gap: 14px;
35055
+ width: 100%;
35056
+ height: 100%;
35057
+ box-sizing: border-box;
35058
+ background-color: #fff;
35059
+ border: 1px solid ${props => props.disabled ? '#D0D0D0' : props.error ? 'red' : '#B1B1B1'};
35060
+ font-family: "Poppins", sans-serif;
35061
+ font-weight: 400;
35062
+ font-size: 14px;
35063
+ border-radius: ${props => props.size === 'small' ? '8px' : '12px'};
35064
+ outline: none;
35065
+ color: ${props => props.disabled ? '#D0D0D0' : '#212121'};
35066
+
35067
+ &:hover {
35068
+ border: 1px solid ${props => props.disabled ? '#D0D0D0' : props.error ? 'red' : props.labelColor || '#212121'};
35069
+ }
35070
+
35071
+ &:focus {
35072
+ border: 1px solid ${props => props.disabled ? '#D0D0D0' : props.error ? 'red' : props.labelColor || '#212121'};
35073
+ }
35074
+
35075
+ `;
35076
+ const InputSubContainer = styled.div`
35077
+
35078
+ display: flex;
35079
+ flex-direction: column;
35080
+ flex-wrap: nowrap;
35081
+ align-content: center;
35082
+ align-items: flex-start;
35083
+ justify-content: center;
35084
+ white-space: pre-wrap;
35085
+ overflow: hidden;
35086
+ padding: 5px 0;
35087
+ width: 100%;
35088
+ height: 100%;
35089
+ min-height: ${props => props.size === 'medium' ? '52px' : '32px'};
35090
+ box-sizing: border-box;
35091
+ background-color: #fff;
35092
+ border-radius: ${props => props.size === 'small' ? '8px' : '12px'};
35093
+ outline: none;
35094
+ color: ${props => props.disabled ? '#D0D0D0' : '#212121'};
35095
+ cursor: ${props => props.disabled ? 'not-allowed' : 'pointer'};
35096
+ `;
35097
+ const StyledInput = styled.input`
35098
+ width: calc(100% - 10px);
35099
+ height: 20px;
35100
+ font-family: Poppins;
35101
+ font-weight: 400;
35102
+ font-size: 14px;
35103
+ outline: none;
35104
+ color: ${props => props.disabled ? '#D0D0D0' : '#212121'};
35105
+ background-color: #fff;
35106
+ border: none;
35107
+ cursor: ${props => props.disabled ? 'not-allowed' : 'pointer'};
35108
+ `;
35109
+ const ErrorMessage = styled.div`
35110
+ font-size: 12px;
35111
+ color: red;
35112
+ margin-top: 5px;
35113
+ max-width: ${props => props.width || '300px'};
35114
+ `;
35115
+ const IconWrapper = styled.div`
35116
+ display: flex;
35117
+ align-items: center;
35118
+ justify-content: center;
35119
+ align-content: center;
35120
+ padding: 2px;
35121
+ &:hover{
35122
+ cursor: ${props => props.disabled ? 'not-allowed' : 'pointer'};
35123
+ }
35124
+ `;
35125
+
35126
+ /* eslint-disable import/no-extraneous-dependencies */
35127
+ const Input = _ref => {
35128
+ let {
35129
+ label,
35130
+ labelEmptyValue,
35131
+ size,
35132
+ selectedValue,
35133
+ placeHolder,
35134
+ onChange,
35135
+ onBlur,
35136
+ required,
35137
+ disabled,
35138
+ width,
35139
+ error,
35140
+ errorMessage,
35141
+ labelColor,
35142
+ leftIcon,
35143
+ rightIcon,
35144
+ password,
35145
+ leftIconOnClick,
35146
+ rightIconOnClick
35147
+ } = _ref;
35148
+ const [isFocused, setIsFocused] = useState(false);
35149
+ const [inputValue, setInputValue] = useState('');
35150
+ const [showPassword, setShowPassword] = useState(false);
35151
+ const inputRef = useRef(null);
35152
+ const containerRef = useRef(null);
35153
+ useEffect(() => {
35154
+ setInputValue(selectedValue);
35155
+ }, [selectedValue]);
35156
+ const handleLabelClick = () => {
35157
+ if (disabled) return;
35158
+ setIsFocused(true);
35159
+ if (inputRef?.current) {
35160
+ inputRef?.current?.focus();
35161
+ }
35162
+ };
35163
+ const handleInputChange = e => {
35164
+ setIsFocused(true);
35165
+ setInputValue(e.target.value);
35166
+ if (inputRef?.current) {
35167
+ inputRef?.current?.focus();
35168
+ }
35169
+ onChange({
35170
+ newValue: e.target.value || ''
35171
+ });
35172
+ };
35173
+ const handleFocus = () => {
35174
+ setIsFocused(true);
35175
+ if (inputRef?.current) {
35176
+ inputRef?.current?.focus();
35177
+ }
35178
+ };
35179
+ const handleBlur = () => {
35180
+ onBlur();
35181
+ setIsFocused(false);
35182
+ };
35183
+ const leftIconOnClickHandler = () => {
35184
+ if (disabled) return;
35185
+ leftIconOnClick({
35186
+ leftIconOnClick: leftIcon
35187
+ });
35188
+ };
35189
+ const rightIconOnClickHandler = () => {
35190
+ if (disabled) return;
35191
+ rightIconOnClick({
35192
+ rightIconOnClick: rightIcon
35193
+ });
35194
+ };
35195
+ const getLeftIcon = () => {
35196
+ if (!leftIcon || leftIcon === 'none') return '';
35197
+ return getIcon(leftIcon, '14px', '14px', error ? 'red' : labelColor, disabled, 'pointer', leftIconOnClickHandler);
35198
+ };
35199
+ const getRightIcon = () => {
35200
+ if (!rightIcon || rightIcon === 'none') return '';
35201
+ return getIcon(rightIcon, '14px', '14px', error ? 'red' : labelColor, disabled, 'pointer', rightIconOnClickHandler);
35202
+ };
35203
+ const toggleShowPassword = () => {
35204
+ setShowPassword(!showPassword);
35205
+ };
35206
+ const getPasswordIcon = () => {
35207
+ if (!password) return '';
35208
+ if (showPassword) {
35209
+ return /*#__PURE__*/React$1.createElement(IconWrapper, {
35210
+ className: "passwordEyeSlash",
35211
+ disabled: disabled,
35212
+ onClick: toggleShowPassword
35213
+ }, /*#__PURE__*/React$1.createElement(FaEyeSlash, {
35214
+ onClick: toggleShowPassword,
35215
+ color: error ? 'red' : labelColor
35216
+ }));
35217
+ }
35218
+ return getIcon('eye', '14px', '14px', error ? 'red' : labelColor, disabled, 'pointer', toggleShowPassword);
35219
+ };
35220
+ return /*#__PURE__*/React$1.createElement(MainContainer, {
35221
+ className: "MainContainer",
35222
+ width: width,
35223
+ size: size,
35224
+ disabled: disabled
35225
+ }, /*#__PURE__*/React$1.createElement(InputContainer, {
35226
+ className: "InputContainer",
35227
+ labelColor: labelColor,
35228
+ disabled: disabled,
35229
+ error: error,
35230
+ isFocused: isFocused,
35231
+ size: size
35232
+ }, getLeftIcon(), /*#__PURE__*/React$1.createElement(InputSubContainer, {
35233
+ className: "InputSubContainer",
35234
+ ref: containerRef,
35235
+ labelColor: labelColor,
35236
+ disabled: disabled,
35237
+ error: error,
35238
+ onClick: handleLabelClick,
35239
+ size: size
35240
+ }, /*#__PURE__*/React$1.createElement(Label, {
35241
+ className: "Label",
35242
+ isFocused: isFocused,
35243
+ labelColor: labelColor,
35244
+ hasValue: inputValue,
35245
+ leftIcon: leftIcon,
35246
+ disabled: disabled,
35247
+ error: error,
35248
+ errorMessage: errorMessage,
35249
+ onClick: handleLabelClick,
35250
+ size: size
35251
+ }, inputValue ? label : labelEmptyValue || label, required && /*#__PURE__*/React$1.createElement("span", {
35252
+ style: {
35253
+ color: disabled ? '#D0D0D0' : 'red',
35254
+ height: '16px'
35255
+ }
35256
+ }, "*")), /*#__PURE__*/React$1.createElement(StyledInput, {
35257
+ className: "StyledInput",
35258
+ ref: inputRef,
35259
+ type: password && !showPassword ? 'password' : 'text',
35260
+ value: inputValue,
35261
+ onChange: handleInputChange,
35262
+ onClick: handleLabelClick,
35263
+ onFocus: handleFocus,
35264
+ onBlur: handleBlur,
35265
+ disabled: disabled,
35266
+ placeholder: isFocused ? placeHolder : '',
35267
+ error: error,
35268
+ isFocused: isFocused
35269
+ })), password ? getPasswordIcon() : getRightIcon()), error && errorMessage?.length > 0 && /*#__PURE__*/React$1.createElement(ErrorMessage, {
35270
+ className: "ErrorMessage",
35271
+ width: width
35272
+ }, errorMessage));
35273
+ };
35274
+ Input.propTypes = {
35275
+ placeHolder: PropTypes.string,
35276
+ label: PropTypes.string,
35277
+ labelEmptyValue: PropTypes.string,
35278
+ size: PropTypes.string,
35279
+ labelColor: PropTypes.string,
35280
+ required: PropTypes.bool,
35281
+ width: PropTypes.string,
35282
+ disabled: PropTypes.bool,
35283
+ error: PropTypes.bool,
35284
+ errorMessage: PropTypes.string,
35285
+ selectedValue: PropTypes.string,
35286
+ onChange: PropTypes.func.isRequired,
35287
+ leftIconOnClick: PropTypes.func,
35288
+ rightIconOnClick: PropTypes.func,
35289
+ onBlur: PropTypes.func,
35290
+ leftIcon: PropTypes.string,
35291
+ rightIcon: PropTypes.string,
35292
+ password: PropTypes.bool
35293
+ };
35294
+ Input.defaultProps = {
35295
+ placeHolder: 'Type...',
35296
+ label: '',
35297
+ labelEmptyValue: '',
35298
+ size: 'medium',
35299
+ labelColor: '#066768',
35300
+ required: true,
35301
+ width: '300px',
35302
+ disabled: false,
35303
+ error: false,
35304
+ errorMessage: '',
35305
+ selectedValue: '',
35306
+ leftIcon: 'none',
35307
+ rightIcon: 'none',
35308
+ leftIconOnClick: () => {},
35309
+ rightIconOnClick: () => {},
35310
+ onBlur: () => {},
35311
+ password: false
35312
+ };
35313
+
35314
+ const ToggleSwitchLabel = styled.label`
35315
+ display: inline-block;
35316
+ position: relative;
35317
+ cursor: pointer;
35318
+ user-select: none;
35319
+ opacity: ${({
35320
+ disabled
35321
+ }) => disabled ? 0.5 : 1};
35322
+ `;
35323
+ const ToggleInput = styled.input`
35324
+ display: none;
35325
+ `;
35326
+ const ToggleSlider = styled.span`
35327
+ display: block;
35328
+ position: relative;
35329
+ background: ${({
35330
+ checked,
35331
+ disabled
35332
+ }) => checked ? disabled ? "#7bb1b0" : "#006d6a" : "#cfd8dc"};
35333
+ border-radius: 999px;
35334
+ transition: background 0.2s;
35335
+ ${({
35336
+ size
35337
+ }) => {
35338
+ switch (size) {
35339
+ case "s":
35340
+ return css`width: 40px; height: 20px;`;
35341
+ case "l":
35342
+ return css`width: 72px; height: 36px;`;
35343
+ default:
35344
+ return css`width: 56px; height: 28px;`;
35345
+ }
35346
+ }}
35347
+ &:before {
35348
+ content: "";
35349
+ position: absolute;
35350
+ left: 3px;
35351
+ top: 50%;
35352
+ transform: translateY(-50%);
35353
+ background: #fff;
35354
+ border-radius: 50%;
35355
+ transition: left 0.2s, width 0.2s, height 0.2s;
35356
+ ${({
35357
+ size
35358
+ }) => {
35359
+ switch (size) {
35360
+ case "s":
35361
+ return css`width: 14px; height: 14px;`;
35362
+ case "l":
35363
+ return css`width: 28px; height: 28px;`;
35364
+ default:
35365
+ return css`width: 20px; height: 20px;`;
35366
+ }
35367
+ }}
35368
+ left: ${({
35369
+ checked,
35370
+ size
35371
+ }) => {
35372
+ if (!checked) return "3px";
35373
+ switch (size) {
35374
+ case "s":
35375
+ return "calc(100% - 17px)";
35376
+ case "l":
35377
+ return "calc(100% - 31px)";
35378
+ default:
35379
+ return "calc(100% - 23px)";
35380
+ }
35381
+ }};
35382
+ }
35383
+ `;
35384
+
35385
+ /**
35386
+ * ToggleSwitch component for on/off states.
35387
+ * Supports small/large sizes and disabled state.
35388
+ */
35389
+ function ToggleSwitch(_ref) {
35390
+ let {
35391
+ checked,
35392
+ onChange,
35393
+ size = "m",
35394
+ disabled = false,
35395
+ ...props
35396
+ } = _ref;
35397
+ return /*#__PURE__*/React$1.createElement(ToggleSwitchLabel, {
35398
+ size: size,
35399
+ disabled: disabled
35400
+ }, /*#__PURE__*/React$1.createElement(ToggleInput, _extends$1({
35401
+ type: "checkbox",
35402
+ checked: checked,
35403
+ onChange: e => onChange?.(e.target.checked),
35404
+ disabled: disabled
35405
+ }, props)), /*#__PURE__*/React$1.createElement(ToggleSlider, {
35406
+ checked: checked,
35407
+ size: size,
35408
+ disabled: disabled
35409
+ }));
35410
+ }
35411
+ ToggleSwitch.propTypes = {
35412
+ checked: PropTypes.bool.isRequired,
35413
+ onChange: PropTypes.func,
35414
+ size: PropTypes.oneOf(["s", "m", "l"]),
35415
+ disabled: PropTypes.bool
35416
+ };
35417
+
35418
+ const TableWrapper$1 = styled.div`
35419
+ width: ${props => props.width};
35420
+ height: ${props => props.height};
35421
+ padding: 20px;
35422
+ background-color: #fff;
35423
+ box-sizing: border-box;
35424
+ `;
35425
+ const Table$1 = styled.table`
35426
+ width: 100%;
35427
+ margin-top: 24px;
35428
+ border-spacing: unset;
35429
+ `;
35430
+ const Thead = styled.thead``;
35431
+ const HeaderCell = styled.th`
35432
+ font-weight: 600;
35433
+ width: ${props => props.width};
35434
+ padding-right: 8px;
35435
+ padding-bottom: 12px;
35436
+ `;
35437
+ const Tbody = styled.tbody``;
35438
+ const BodyCell = styled.td`
35439
+ font-weight: 600;
35440
+ width: ${props => props.width};
35441
+ padding-right: 8px;
35442
+ padding-bottom: 12px;
35443
+ `;
35444
+ const StyledRow = styled.tr`
35445
+ border-bottom: 1px solid #C8C8C8;
35446
+ `;
35447
+
35448
+ const ContainerTable = props => {
35449
+ const {
35450
+ width = '100%',
35451
+ height = '300px',
35452
+ columnsWidths = [430, 105, 210, 175, 148, 185, 104, 104, 140, 50, 50],
35453
+ standardCellSkeletonHeight = 22,
35454
+ isLoading = true,
35455
+ children
35456
+ } = props;
35457
+ const TableWrapperRef = useRef(null);
35458
+ const [numberOfRows, setNumberOfRows] = useState(3);
35459
+ const calculateRows = () => {
35460
+ if (TableWrapperRef.current) {
35461
+ const wrapperHeight = TableWrapperRef.current.offsetHeight;
35462
+
35463
+ // Calculate available space for rows
35464
+ const titleHeight = 32; // First skeleton height
35465
+ const subtitleHeight = 22; // Second skeleton height
35466
+ const titleMargin = 24; // Margin top for subtitle
35467
+ const headerRowHeight = standardCellSkeletonHeight + 22; // Approximate height of header row (22px skeleton + padding)
35468
+ const bodyRowHeight = standardCellSkeletonHeight + 22; // Approximate height of body row (22px skeleton + padding)
35469
+ const tablePadding = 20; // Approximate padding/margins for the table
35470
+
35471
+ const usedHeight = titleHeight + subtitleHeight + titleMargin + headerRowHeight + tablePadding;
35472
+ const availableHeight = wrapperHeight - usedHeight;
35473
+
35474
+ // Calculate how many rows can fit
35475
+ const maxRows = Math.floor(availableHeight / bodyRowHeight);
35476
+
35477
+ // Set minimum of 3 rows, maximum based on available space
35478
+ setNumberOfRows(Math.max(3, maxRows));
35479
+ }
35480
+ };
35481
+ useEffect(() => {
35482
+ calculateRows();
35483
+ }, [height]);
35484
+ return /*#__PURE__*/React$1.createElement(TableWrapper$1, {
35485
+ ref: TableWrapperRef,
35486
+ width: width,
35487
+ height: height
35488
+ }, isLoading ? /*#__PURE__*/React$1.createElement(SkeletonTheme, {
35489
+ baseColor: "#EAEAEA",
35490
+ highlightColor: "#F5F5F5"
35491
+ }, /*#__PURE__*/React$1.createElement(Skeleton, {
35492
+ width: 260,
35493
+ height: 32
35494
+ }), /*#__PURE__*/React$1.createElement(Skeleton, {
35495
+ width: 260,
35496
+ height: 22,
35497
+ style: {
35498
+ marginTop: 24
35499
+ }
35500
+ }), /*#__PURE__*/React$1.createElement(Table$1, null, /*#__PURE__*/React$1.createElement(Thead, null, /*#__PURE__*/React$1.createElement(StyledRow, null, columnsWidths.map((width, index) => /*#__PURE__*/React$1.createElement(HeaderCell, {
35501
+ key: `header-cell-${index}`,
35502
+ width: `${width}px`
35503
+ }, /*#__PURE__*/React$1.createElement(Skeleton, {
35504
+ width: '100%',
35505
+ height: standardCellSkeletonHeight
35506
+ }))))), /*#__PURE__*/React$1.createElement(Tbody, null, Array.from({
35507
+ length: numberOfRows
35508
+ }).map((_, rowIndex) => /*#__PURE__*/React$1.createElement(StyledRow, {
35509
+ key: `row-${rowIndex}`
35510
+ }, columnsWidths.map((width, colIndex) => /*#__PURE__*/React$1.createElement(BodyCell, {
35511
+ key: `cell-${rowIndex}-${colIndex}`,
35512
+ width: `${width}px`
35513
+ }, /*#__PURE__*/React$1.createElement(Skeleton, {
35514
+ width: '100%',
35515
+ height: standardCellSkeletonHeight
35516
+ })))))))) : children);
35517
+ };
35518
+
35519
+ const MenuRouteContainer = styled.div`
35520
+ font-family: 'Poppins', sans-serif;
35521
+ `;
35522
+ const ButtonGroup = styled.div`
35523
+ display: flex;
35524
+ justify-content: ${props => {
35525
+ switch (props.pos) {
35526
+ case 'left':
35527
+ return 'flex-start';
35528
+ case 'center':
35529
+ return 'center';
35530
+ case 'right':
35531
+ return 'flex-end';
35532
+ default:
35533
+ return 'center';
35534
+ }
35535
+ }};
35536
+ `;
35537
+ const Button = styled.button`
35538
+ background-color: transparent;
35539
+ border: none;
35540
+ display: flex;
35541
+ gap: 12px;
35542
+ align-items: center;
35543
+ color: #212121;
35544
+ padding: 0 24px 10px;
35545
+ font-size: 16px;
35546
+ font-weight: 600;
35547
+ &.active {
35548
+ color: ${props => props.color || '#066768'};
35549
+ border-bottom: 3px solid ${props => props.color || '#066768'};
35550
+ }
35551
+ &:disabled {
35552
+ color: #717171;
35553
+ cursor: not-allowed;
35554
+ }
35555
+ `;
35556
+
35557
+ const Build = _ref => {
35558
+ let {
35559
+ width = '24',
35560
+ height = '24',
35561
+ fill = "#212121"
35562
+ } = _ref;
35563
+ return /*#__PURE__*/React$1.createElement("svg", {
35564
+ width: width,
35565
+ height: height,
35566
+ viewBox: "0 0 24 24",
35567
+ fill: "none",
35568
+ xmlns: "http://www.w3.org/2000/svg"
35569
+ }, /*#__PURE__*/React$1.createElement("path", {
35570
+ 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",
35571
+ fill: fill
35572
+ }), /*#__PURE__*/React$1.createElement("path", {
35573
+ 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",
35574
+ fill: fill
35575
+ }));
35576
+ };
35577
+
35578
+ const Track = _ref => {
35579
+ let {
35580
+ width = '24',
35581
+ height = '24',
35582
+ fill = "#212121"
35583
+ } = _ref;
35584
+ return /*#__PURE__*/React$1.createElement("svg", {
35585
+ width: width,
35586
+ height: height,
35587
+ viewBox: "0 0 24 24",
35588
+ fill: "none",
35589
+ xmlns: "http://www.w3.org/2000/svg"
35590
+ }, /*#__PURE__*/React$1.createElement("path", {
35591
+ 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",
35592
+ fill: fill
35593
+ }), /*#__PURE__*/React$1.createElement("path", {
35594
+ 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",
35595
+ fill: fill
35596
+ }), /*#__PURE__*/React$1.createElement("path", {
35597
+ 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",
35598
+ fill: fill
35599
+ }));
35600
+ };
35601
+
35602
+ const Execute = _ref => {
35603
+ let {
35604
+ width = '24',
35605
+ height = '24',
35606
+ fill = "#212121"
35607
+ } = _ref;
35608
+ return /*#__PURE__*/React$1.createElement("svg", {
35609
+ width: width,
35610
+ height: height,
35611
+ viewBox: "0 0 24 24",
35612
+ fill: "none",
35613
+ xmlns: "http://www.w3.org/2000/svg"
35614
+ }, /*#__PURE__*/React$1.createElement("path", {
35615
+ 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",
35616
+ fill: fill
35617
+ }), /*#__PURE__*/React$1.createElement("path", {
35618
+ "fill-rule": "evenodd",
35619
+ "clip-rule": "evenodd",
35620
+ 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",
35621
+ fill: fill
35622
+ }), /*#__PURE__*/React$1.createElement("path", {
35623
+ "fill-rule": "evenodd",
35624
+ "clip-rule": "evenodd",
35625
+ 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",
35626
+ fill: fill
35627
+ }));
35628
+ };
35629
+
35630
+ const MenuRoute = props => {
35631
+ const {
35632
+ tabsPosition,
35633
+ items,
35634
+ color,
35635
+ selecetIndex = 0,
35636
+ onTabClick
35637
+ } = props;
35638
+ const [activeItem, setActiveItem] = useState(items[selecetIndex]?.key || items[0]?.key);
35639
+ useEffect(() => {
35640
+ if (selecetIndex >= 0 && selecetIndex < items.length) {
35641
+ setActiveItem(items[selecetIndex]?.key);
35642
+ }
35643
+ }, [selecetIndex, items]);
35644
+ const handleItemClick = (key, item) => {
35645
+ if (item.disabled) return;
35646
+ if (item.href) {
35647
+ window.open(item.href, item.target || '_self');
35648
+ return;
35649
+ }
35650
+ setActiveItem(key);
35651
+ if (onTabClick) {
35652
+ onTabClick(key);
35653
+ }
35654
+ };
35655
+ return /*#__PURE__*/React$1.createElement(MenuRouteContainer, null, /*#__PURE__*/React$1.createElement(ButtonGroup, {
35656
+ pos: tabsPosition
35657
+ }, items.map(item => /*#__PURE__*/React$1.createElement(Button, {
35658
+ key: item.key,
35659
+ onClick: () => handleItemClick(item.key, item),
35660
+ disabled: item.disabled,
35661
+ className: activeItem === item.key ? 'active' : '',
35662
+ color: color
35663
+ }, item.icon && /*#__PURE__*/React$1.cloneElement(item.icon, {
35664
+ fill: item.disabled ? '#717171' : activeItem === item.key ? color : item.icon.props.fill
35665
+ }), /*#__PURE__*/React$1.isValidElement(item.label) ? item.label : item.label))));
35666
+ };
35667
+
35668
+ const TableWrapper = styled.div`
35669
+ width: ${props => props.width};
35670
+ height: ${props => props.height};
35671
+ background-color: #fff;
35672
+ box-sizing: border-box;
35673
+ font-family: 'Poppins', sans-serif;
35674
+ `;
35675
+ styled.table`
35676
+ width: 100%;
35677
+ margin-top: 24px;
35678
+ border-spacing: unset;
35679
+ `;
35680
+ styled.thead``;
35681
+ styled.th`
35682
+ font-weight: 600;
35683
+ width: ${props => props.width};
35684
+ padding-right: 8px;
35685
+ padding-bottom: 12px;
35686
+ `;
35687
+ styled.tbody``;
35688
+ styled.td`
35689
+ font-weight: 600;
35690
+ width: ${props => props.width};
35691
+ padding-right: 8px;
35692
+ padding-bottom: 12px;
35693
+ `;
35694
+ styled.tr`
35695
+ border-bottom: 1px solid #C8C8C8;
35696
+ `;
35697
+ const NoInfoFound = styled.div`
35698
+ height: 100%;
35699
+ box-sizing: border-box;
35700
+ color: #212121;
35701
+ position: relative;
35702
+ `;
35703
+ const Title = styled.h2`
35704
+ font-size: 24px;
35705
+ font-weight: 500;
35706
+ margin: 0;
35707
+ `;
35708
+ const SubTitle = styled.span`
35709
+ font-size: 14px;
35710
+ color: #8B8989;
35711
+ `;
35712
+ const NoEventsWrapper = styled.div`
35713
+ display: flex;
35714
+ align-items: center;
35715
+ justify-content: center;
35716
+ position: relative;
35717
+ margin-bottom: 14px;
35718
+ `;
35719
+ const NoEventsMessage = styled.span`
35720
+ font-size: 18px;
35721
+ font-weight: 400;
35722
+ margin-bottom: 14px;
35723
+ text-align: center;
35724
+ display: block;
35725
+ > strong {
35726
+ font-size: 24px;
35727
+ font-weight: 500;
35728
+ }
35729
+ `;
35730
+
35731
+ const NoEvents = ({
35732
+ width = '251',
35733
+ height = '250'
35734
+ }) => /*#__PURE__*/React$1.createElement("svg", {
35735
+ width: width,
35736
+ height: height,
35737
+ viewBox: "0 0 251 250",
35738
+ fill: "none",
35739
+ xmlns: "http://www.w3.org/2000/svg"
35740
+ }, /*#__PURE__*/React$1.createElement("rect", {
35741
+ x: "0.5",
35742
+ width: "250",
35743
+ height: "250",
35744
+ rx: "125",
35745
+ fill: "#F3F7F7"
35746
+ }), /*#__PURE__*/React$1.createElement("rect", {
35747
+ x: "79.0715",
35748
+ y: "82.0254",
35749
+ width: "91.9643",
35750
+ height: "31.25",
35751
+ fill: "#B4D1D2"
35752
+ }), /*#__PURE__*/React$1.createElement("path", {
35753
+ d: "M201.056 149.717V149.686C201.054 149.691 201.052 149.696 201.052 149.701C201.05 149.696 201.048 149.691 201.047 149.686V149.717C200.635 151.213 199.681 152.283 198.186 152.927C199.681 153.57 200.635 154.64 201.047 156.136V156.167C201.049 156.162 201.051 156.157 201.052 156.152C201.053 156.157 201.055 156.162 201.056 156.167V156.136C201.468 154.64 202.422 153.57 203.917 152.927C202.422 152.283 201.468 151.213 201.056 149.717ZM34.6198 71.7965V71.765C34.618 71.7702 34.6163 71.7755 34.6154 71.7808C34.6136 71.7755 34.6119 71.7702 34.611 71.765V71.7965C34.1985 73.2927 33.2449 74.3625 31.75 75.0059C33.2449 75.6494 34.1985 76.7192 34.611 78.2153V78.2468C34.6127 78.2416 34.6145 78.2363 34.6154 78.2311C34.6171 78.2363 34.6189 78.2416 34.6198 78.2468V78.2153C35.0322 76.7192 35.9859 75.6494 37.4808 75.0059C35.9859 74.3625 35.0322 73.2927 34.6198 71.7965ZM216.389 202.361V202.329C216.387 202.335 216.386 202.34 216.385 202.345C216.383 202.34 216.381 202.335 216.38 202.329V202.361C215.968 203.857 215.014 204.927 213.519 205.57C215.014 206.214 215.968 207.283 216.38 208.78V208.811C216.382 208.806 216.384 208.801 216.385 208.795C216.386 208.801 216.388 208.806 216.389 208.811V208.78C216.801 207.283 217.755 206.214 219.25 205.57C217.755 204.927 216.801 203.857 216.389 202.361ZM182.433 182.494V182.43C182.43 182.442 182.427 182.451 182.424 182.463C182.421 182.451 182.418 182.442 182.415 182.43V182.494C181.59 185.486 179.683 187.626 176.693 188.913C179.683 190.2 181.589 192.34 182.415 195.332V195.396C182.418 195.384 182.421 195.375 182.424 195.363C182.427 195.375 182.43 195.384 182.433 195.396V195.332C183.258 192.34 185.165 190.2 188.155 188.913C185.165 187.626 183.259 185.486 182.433 182.494ZM54.8385 110.651V110.587C54.8359 110.598 54.8324 110.608 54.8298 110.619C54.8271 110.608 54.8236 110.598 54.821 110.587V110.651C53.9961 113.642 52.0887 115.783 49.099 117.07C52.0887 118.357 53.9952 120.497 54.821 123.489V123.552C54.8236 123.541 54.8271 123.531 54.8298 123.52C54.8324 123.531 54.8359 123.541 54.8385 123.552V123.489C55.6635 120.497 57.5708 118.357 60.5605 117.07C57.5708 115.783 55.6643 113.642 54.8385 110.651ZM81.9624 38.3393V38.2754C81.9598 38.2868 81.9563 38.2964 81.9536 38.3078C81.951 38.2964 81.9475 38.2868 81.9449 38.2754V38.3393C81.1199 41.3307 79.2126 43.4712 76.2229 44.7581C79.2126 46.045 81.1191 48.1855 81.9449 51.177V51.2409C81.9475 51.2295 81.951 51.2198 81.9536 51.2085C81.9563 51.2198 81.9598 51.2295 81.9624 51.2409V51.177C82.7873 48.1855 84.6947 46.045 87.6844 44.7581C84.6947 43.4712 82.7882 41.3307 81.9624 38.3393Z",
35754
+ fill: "#F2BB91"
35755
+ }), /*#__PURE__*/React$1.createElement("path", {
35756
+ d: "M49.3076 149.106C49.5096 148.924 49.8322 148.924 50.0342 149.106C50.2444 149.295 50.2443 149.609 50.0342 149.798L41.8711 157.145C41.6691 157.327 41.3465 157.327 41.1445 157.145C40.9344 156.956 40.9342 156.642 41.1445 156.453L49.3076 149.106ZM47.1309 154.494C47.8309 153.864 48.9601 153.864 49.6602 154.494C50.3686 155.131 50.3687 156.171 49.6602 156.809C48.9601 157.439 47.8309 157.439 47.1309 156.809C46.4223 156.171 46.4223 155.131 47.1309 154.494ZM48.9346 155.186C48.6384 154.919 48.1526 154.919 47.8564 155.186C47.5689 155.445 47.5688 155.858 47.8564 156.117C48.1526 156.383 48.6384 156.383 48.9346 156.117C49.2221 155.858 49.222 155.445 48.9346 155.186ZM41.5186 149.442C42.2186 148.812 43.3479 148.812 44.0479 149.442C44.7564 150.08 44.7564 151.121 44.0479 151.758C43.3478 152.388 42.2186 152.388 41.5186 151.758C40.81 151.121 40.81 150.08 41.5186 149.442ZM43.3223 150.134C43.0262 149.868 42.5403 149.868 42.2441 150.134C41.9564 150.393 41.9564 150.807 42.2441 151.066C42.5403 151.332 43.0261 151.332 43.3223 151.066C43.61 150.807 43.61 150.393 43.3223 150.134Z",
35757
+ fill: "#9BC2C3",
35758
+ stroke: "#9BC2C3",
35759
+ "stroke-width": "0.276243"
35760
+ }), /*#__PURE__*/React$1.createElement("path", {
35761
+ d: "M136.808 199.106C137.01 198.924 137.332 198.924 137.534 199.106C137.744 199.295 137.744 199.609 137.534 199.798L129.371 207.145C129.169 207.327 128.846 207.327 128.645 207.145C128.434 206.956 128.434 206.642 128.645 206.453L136.808 199.106ZM134.631 204.494C135.331 203.864 136.46 203.864 137.16 204.494C137.869 205.131 137.869 206.171 137.16 206.809C136.46 207.439 135.331 207.439 134.631 206.809C133.922 206.171 133.922 205.131 134.631 204.494ZM136.435 205.186C136.138 204.919 135.653 204.919 135.356 205.186C135.069 205.445 135.069 205.858 135.356 206.117C135.653 206.383 136.138 206.383 136.435 206.117C136.722 205.858 136.722 205.445 136.435 205.186ZM129.019 199.442C129.719 198.812 130.848 198.812 131.548 199.442C132.256 200.08 132.256 201.121 131.548 201.758C130.848 202.388 129.719 202.388 129.019 201.758C128.31 201.121 128.31 200.08 129.019 199.442ZM130.822 200.134C130.526 199.868 130.04 199.868 129.744 200.134C129.456 200.393 129.456 200.807 129.744 201.066C130.04 201.332 130.526 201.332 130.822 201.066C131.11 200.807 131.11 200.393 130.822 200.134Z",
35762
+ fill: "#9BC2C3",
35763
+ stroke: "#9BC2C3",
35764
+ "stroke-width": "0.276243"
35765
+ }), /*#__PURE__*/React$1.createElement("path", {
35766
+ d: "M147.872 44.6279C148.041 44.4584 148.317 44.4584 148.486 44.6279C148.655 44.7974 148.655 45.0717 148.486 45.2412L142.172 51.5557C142.002 51.725 141.728 51.725 141.558 51.5557C141.389 51.3861 141.389 51.1109 141.558 50.9414L147.872 44.6279ZM146.188 49.2578C146.743 48.703 147.642 48.703 148.197 49.2578C148.752 49.8126 148.752 50.7118 148.197 51.2666C147.642 51.8214 146.743 51.8214 146.188 51.2666C145.633 50.7118 145.633 49.8126 146.188 49.2578ZM147.584 49.8711C147.368 49.6553 147.017 49.6553 146.802 49.8711C146.586 50.0868 146.586 50.4376 146.802 50.6533C147.017 50.8691 147.368 50.8691 147.584 50.6533C147.8 50.4376 147.8 50.0868 147.584 49.8711ZM141.847 44.917C142.402 44.3622 143.301 44.3622 143.856 44.917C144.411 45.4718 144.411 46.371 143.856 46.9258C143.301 47.4805 142.402 47.4804 141.847 46.9258C141.293 46.371 141.293 45.4718 141.847 44.917ZM143.242 45.5303C143.026 45.3148 142.676 45.3146 142.461 45.5303C142.245 45.7459 142.245 46.0957 142.461 46.3115C142.676 46.5273 143.026 46.5273 143.242 46.3115C143.458 46.0958 143.458 45.746 143.242 45.5303Z",
35767
+ fill: "#9BC2C3",
35768
+ stroke: "#9BC2C3",
35769
+ "stroke-width": "0.276243"
35770
+ }), /*#__PURE__*/React$1.createElement("path", {
35771
+ d: "M104.824 204.819V204.853C105.322 206.447 106.47 207.587 108.272 208.272C106.47 208.958 105.321 210.098 104.824 211.691V211.725C104.822 211.719 104.82 211.714 104.819 211.708C104.817 211.714 104.815 211.719 104.813 211.725V211.691C104.316 210.098 103.167 208.958 101.366 208.272C103.167 207.587 104.316 206.447 104.813 204.853V204.819C104.815 204.825 104.817 204.831 104.819 204.837C104.82 204.831 104.822 204.825 104.824 204.819Z",
35772
+ fill: "#F2BB91"
35773
+ }), /*#__PURE__*/React$1.createElement("path", {
35774
+ d: "M170.333 116.525H81.4886V168.301C81.4886 172.916 85.0486 176.335 89.0397 176.335H162.782C166.773 176.335 170.333 172.916 170.333 168.301V116.525ZM143.996 91.7463V83.7126H107.825V91.7463C107.824 93.3501 106.49 94.65 104.842 94.65C103.194 94.65 101.859 93.3501 101.858 91.7463V83.7126H89.0397C85.0486 83.7126 81.4886 87.1311 81.4886 91.7463V110.714H170.333V91.7463C170.333 87.1311 166.773 83.7126 162.782 83.7126H149.963V91.7463C149.962 93.3501 148.628 94.65 146.98 94.65C145.332 94.65 143.997 93.3501 143.996 91.7463ZM176.3 168.301C176.3 175.766 170.427 182.142 162.782 182.142H89.0397C81.3947 182.142 75.5217 175.766 75.5217 168.301V91.7463C75.5217 84.2812 81.3947 77.9018 89.0397 77.9018H101.858V69.8715C101.858 68.2671 103.193 66.9678 104.842 66.9678C106.49 66.9678 107.825 68.2671 107.825 69.8715V77.9018H143.996V69.8715C143.996 68.2671 145.331 66.9678 146.98 66.9678C148.628 66.9678 149.963 68.2671 149.963 69.8715V77.9018H162.782C170.427 77.9018 176.3 84.2812 176.3 91.7463V168.301Z",
35775
+ fill: "#519595"
35776
+ }), /*#__PURE__*/React$1.createElement("path", {
35777
+ "fill-rule": "evenodd",
35778
+ "clip-rule": "evenodd",
35779
+ d: "M114.622 129.954C116.552 129.954 118.356 130.941 119.55 132.411L120.021 133.068L120.039 133.093L120.049 133.117C121.121 135.065 121.132 137.505 120.039 139.391L120.032 139.405C118.863 141.349 116.806 142.537 114.622 142.537C112.644 142.537 110.817 141.634 109.607 140.101L109.129 139.405L109.118 139.391L109.122 139.388C108.03 137.502 108.039 135.064 109.111 133.117L109.122 133.093L109.139 133.068C110.298 131.237 112.341 129.954 114.622 129.954ZM114.622 139.841C116.534 139.841 118.221 138.278 118.221 136.245C118.221 134.315 116.552 132.65 114.622 132.65C112.59 132.65 111.023 134.334 111.023 136.245C111.023 138.26 112.608 139.841 114.622 139.841Z",
35780
+ fill: "#519595"
35781
+ }), /*#__PURE__*/React$1.createElement("path", {
35782
+ d: "M138.966 130.358C139.839 129.795 141.08 129.89 141.831 130.639C142.581 131.389 142.675 132.628 142.112 133.5L141.831 133.848L112.137 163.503C111.28 164.359 109.782 164.359 108.925 163.503C108.067 162.646 108.067 161.151 108.925 160.294L138.618 130.639L138.966 130.358Z",
35783
+ fill: "#519595"
35784
+ }), /*#__PURE__*/React$1.createElement("path", {
35785
+ "fill-rule": "evenodd",
35786
+ "clip-rule": "evenodd",
35787
+ d: "M141.145 153.978C139.951 152.508 138.147 151.521 136.217 151.521C133.936 151.521 131.893 152.804 130.734 154.635L130.717 154.66L130.706 154.684C129.635 156.631 129.622 159.073 130.713 160.958L130.724 160.972C131.896 162.923 133.957 164.104 136.217 164.104C138.402 164.104 140.458 162.916 141.627 160.972L141.634 160.958C142.727 159.072 142.717 156.632 141.644 154.684L141.634 154.66L141.616 154.635L141.145 153.978ZM136.217 161.408C138.129 161.408 139.817 159.845 139.817 157.813C139.817 155.882 138.147 154.217 136.217 154.217C134.185 154.217 132.618 155.901 132.618 157.813C132.618 159.827 134.203 161.408 136.217 161.408Z",
35788
+ fill: "#519595"
35789
+ }), /*#__PURE__*/React$1.createElement("circle", {
35790
+ cx: "171.036",
35791
+ cy: "176.668",
35792
+ r: "22.3214",
35793
+ fill: "#F3F7F7",
35794
+ stroke: "#519595",
35795
+ "stroke-width": "5.35714"
35796
+ }), /*#__PURE__*/React$1.createElement("path", {
35797
+ d: "M185.4 175.847C185.735 176.182 185.924 176.637 185.924 177.111C185.924 177.585 185.736 178.04 185.4 178.375C185.065 178.711 184.61 178.899 184.136 178.899L173.279 178.897L173.281 189.754C173.273 190.223 173.081 190.67 172.746 190.999C172.412 191.327 171.962 191.511 171.493 191.511C171.024 191.511 170.574 191.327 170.239 190.998C169.905 190.67 169.713 190.223 169.704 189.754L169.703 178.896L158.845 178.894C158.608 178.898 158.372 178.855 158.151 178.767C157.931 178.679 157.73 178.548 157.56 178.381C157.391 178.215 157.256 178.016 157.164 177.797C157.073 177.578 157.025 177.343 157.025 177.106C157.025 176.868 157.072 176.633 157.164 176.414C157.256 176.195 157.39 175.997 157.56 175.83C157.729 175.664 157.93 175.533 158.15 175.445C158.371 175.357 158.607 175.314 158.844 175.318L169.702 175.32L169.7 164.463C169.708 163.994 169.9 163.547 170.234 163.218C170.569 162.89 171.019 162.705 171.488 162.706C171.957 162.706 172.407 162.89 172.741 163.219C173.076 163.547 173.268 163.994 173.276 164.463L173.278 175.321L184.136 175.323C184.61 175.323 185.065 175.511 185.4 175.847Z",
35798
+ fill: "#519595"
35799
+ }));
35800
+
35801
+ const Table = props => {
35802
+ const {
35803
+ width = '100%',
35804
+ height = 'auto',
35805
+ tableTitle = 'All Events',
35806
+ data = [],
35807
+ onButtonClick = () => {},
35808
+ buttonColor = '#066768',
35809
+ buttonHoverColor = '#388586'
35810
+ } = props;
35811
+ return /*#__PURE__*/React$1.createElement(TableWrapper, {
35812
+ width: width,
35813
+ height: height
35814
+ }, data.length === 0 ? /*#__PURE__*/React$1.createElement(NoInfoFound, null, /*#__PURE__*/React$1.createElement(Title, null, tableTitle), /*#__PURE__*/React$1.createElement(SubTitle, null, "No Events"), /*#__PURE__*/React$1.createElement(NoEventsWrapper, null, /*#__PURE__*/React$1.createElement(NoEvents, null)), /*#__PURE__*/React$1.createElement(NoEventsMessage, null, /*#__PURE__*/React$1.createElement("strong", null, "You haven\u2019t created any events yet"), /*#__PURE__*/React$1.createElement("br", null), "Let\u2019s get started and create your first one!"), /*#__PURE__*/React$1.createElement(Button$1, {
35815
+ height: "45px",
35816
+ leftIcon: "Plus",
35817
+ text: "New Event",
35818
+ borderRadius: "12px",
35819
+ backgroundColor: buttonColor,
35820
+ hoverBackgroundColor: buttonHoverColor,
35821
+ onClick: onButtonClick
35822
+ })) : /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement(Title, null, tableTitle), /*#__PURE__*/React$1.createElement(SubTitle, null, data.length, " Events")));
35823
+ };
35824
+
35825
+ 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, Table, ToggleSwitch, TopToggleList, TotalDoughnutChart, TotalHorizontalCharts, Track, TwoBarCharts, WeeksPicker };
34408
35826
  //# sourceMappingURL=index.esm.js.map