@kando-env/kando-ui 1.0.40-alpha.6 → 1.0.40-alpha.8

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 (614) hide show
  1. package/lib/{pages/CovidPage → CovidView/views}/components/Body.js +5 -5
  2. package/lib/{pages/CovidPage → CovidView/views}/components/Map.js +2 -2
  3. package/lib/{pages/CovidPage → CovidView/views}/components/Sidebar.js +3 -3
  4. package/lib/{pages/CovidPage → CovidView/views}/components/Summary.js +3 -3
  5. package/lib/{pages/CovidPage → CovidView/views}/components/TrendGraphNVL/TrendGraphNVL.js +4 -4
  6. package/lib/{pages/CovidPage → CovidView/views}/components/TrendGraphNVL/index.js +1 -1
  7. package/lib/{pages/CovidPage → CovidView/views}/components/TrendPopupContent/TrendPopupContent.js +5 -5
  8. package/lib/{pages/CovidPage → CovidView/views}/components/TrendPopupContent/index.js +1 -1
  9. package/lib/{pages/CovidPage → CovidView/views}/components/areas/Area.js +7 -7
  10. package/lib/{pages/CovidPage → CovidView/views}/components/areas/AreaPolygonWBE.js +4 -4
  11. package/lib/{pages/CovidPage → CovidView/views}/components/areas/AreaPolygonsWBE.js +1 -1
  12. package/lib/{pages/CovidPage → CovidView/views}/components/areas/AreasList.js +4 -4
  13. package/lib/{pages/CovidPage → CovidView/views}/components/areas/Sort.js +2 -2
  14. package/lib/{pages/CovidPage/CovidPage.js → CovidView/views/covidView.js} +5 -5
  15. package/lib/DashboardV2/AreaDashboard/AreaDashboard.js +125 -0
  16. package/lib/DashboardV2/AreaDashboard/Dashboard/Dashboard.js +97 -0
  17. package/lib/DashboardV2/AreaDashboard/Dashboard/EventsCarousel/EventsCarousel.js +107 -0
  18. package/lib/DashboardV2/AreaDashboard/Dashboard/LineChart/LineChart.js +82 -0
  19. package/lib/DashboardV2/AreaDashboard/Dashboard/LineChart/options/options.js +102 -0
  20. package/lib/DashboardV2/AreaDashboard/Dashboard/Sites/Sites.js +120 -0
  21. package/lib/DashboardV2/AreaDashboard/Dashboard/Sites/SitesBox/PieChart/PieChart.js +123 -0
  22. package/lib/DashboardV2/AreaDashboard/Dashboard/Sites/SitesBox/SiteBox.js +58 -0
  23. package/lib/DashboardV2/AreaDashboard/Dashboard/Sites/SitesBox/styles.js +26 -0
  24. package/lib/{pages/AreaPage → DashboardV2/AreaDashboard}/Dashboard/Sites/factories.mock.js +1 -1
  25. package/lib/DashboardV2/AreaDashboard/Dashboard/Sites/styles.js +25 -0
  26. package/lib/DashboardV2/AreaDashboard.js +119 -0
  27. package/lib/DashboardV2/Header/DoubleTabs/DoubleTabs.js +96 -0
  28. package/lib/DashboardV2/Header/DoubleTabs/DoubleTabs.stories.js +31 -0
  29. package/lib/DashboardV2/Header/DoubleTabs/styles.js +32 -0
  30. package/lib/DashboardV2/Header/Header.js +21 -0
  31. package/lib/DashboardV2/Header/Header.stories.js +29 -0
  32. package/lib/DashboardV2/Header/InfoBar/Breadcrumbs/Breadcrumbs.js +37 -0
  33. package/lib/DashboardV2/Header/InfoBar/InfoBar.js +88 -0
  34. package/lib/DashboardV2/Header/Toolbar/Toolbar.js +117 -0
  35. package/lib/DashboardV2/Notifications/EditNotificationModal/Buttons/MultiChoiceTabs.js +69 -0
  36. package/lib/DashboardV2/Notifications/EditNotificationModal/Buttons/RadioTabs.js +49 -0
  37. package/lib/DashboardV2/Notifications/EditNotificationModal/Buttons/SeverityButtons.js +32 -0
  38. package/lib/DashboardV2/Notifications/EditNotificationModal/EditNotificationModal.js +229 -0
  39. package/lib/DashboardV2/Notifications/EditNotificationModal/EditNotificationModal.stories.js +33 -0
  40. package/lib/DashboardV2/Notifications/Notification/Notification.js +95 -0
  41. package/lib/DashboardV2/Notifications/Notifications.js +98 -0
  42. package/lib/DashboardV2/Notifications/Notifications.mock.js +45 -0
  43. package/lib/DashboardV2/Notifications/Notifications.stories.js +38 -0
  44. package/lib/DashboardV2/Profile/PasswordModal/PasswordModal.js +99 -0
  45. package/lib/DashboardV2/Profile/Profile.js +225 -0
  46. package/lib/DashboardV2/SamplingParameters/NoResults/NoResults.js +53 -0
  47. package/lib/DashboardV2/SamplingParameters/NoResults/NoResults.stories.js +27 -0
  48. package/lib/DashboardV2/SamplingParameters/ParametersContainer/ParametersButtons/ParameterButton/ParameterButton.js +30 -0
  49. package/lib/DashboardV2/SamplingParameters/ParametersContainer/ParametersButtons/ParametersButtons.js +41 -0
  50. package/lib/DashboardV2/SamplingParameters/ParametersContainer/ParametersButtons/styles.js +42 -0
  51. package/lib/DashboardV2/SamplingParameters/ParametersContainer/ParametersContainer.js +63 -0
  52. package/lib/DashboardV2/SamplingParameters/SamplingContainer/ExceptionBar/ExceptionBar.js +69 -0
  53. package/lib/DashboardV2/SamplingParameters/SamplingContainer/ExceptionBar/ExceptionBar.stories.js +42 -0
  54. package/lib/DashboardV2/SamplingParameters/SamplingContainer/ExceptionBar/styles.js +48 -0
  55. package/lib/DashboardV2/SamplingParameters/SamplingContainer/ExpandableSamplingTable/ExpandableSamplingTable.js +103 -0
  56. package/lib/DashboardV2/SamplingParameters/SamplingContainer/SamplingContainer.js +38 -0
  57. package/lib/DashboardV2/SamplingParameters/SamplingParameters.js +131 -0
  58. package/lib/DashboardV2/SamplingParameters/SamplingParameters.mock.js +973 -0
  59. package/lib/DashboardV2/SamplingParameters/SamplingParameters.stories.js +173 -0
  60. package/lib/DashboardV2/SamplingParameters/charts/ParametersChart.js +58 -0
  61. package/lib/{pages/SitePage → DashboardV2}/SamplingParameters/charts/SamplingChart.js +1 -1
  62. package/lib/DashboardV2/SamplingParameters/charts/options/options.js +233 -0
  63. package/lib/DashboardV2/SamplingParameters/dataParser.js +109 -0
  64. package/lib/DashboardV2/SamplingParameters/styles/samplingParameters.js +32 -0
  65. package/lib/DashboardV2/SamplingParameters/styles/styles.js +35 -0
  66. package/lib/DashboardV2/SiteDashboard.js +365 -0
  67. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/AreaBox/AreaBox.js +128 -0
  68. package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/Areas/AreaBox/Map/Map.js +3 -3
  69. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/AreaBox/PieChart/PieChart.js +130 -0
  70. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/AreaBox/styles.js +31 -0
  71. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/Areas.js +152 -0
  72. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/areas.mock.js +575 -0
  73. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/styles.js +25 -0
  74. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Factories/Factories.js +189 -0
  75. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Factories/FactoryBox/FactoryBox.js +53 -0
  76. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Factories/FactoryBox/PieChart/PieChart.js +123 -0
  77. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Factories/FactoryBox/styles.js +26 -0
  78. package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/Factories/factories.mock.js +1 -1
  79. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Factories/styles.js +25 -0
  80. package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/MostPolluting.js +1 -1
  81. package/lib/DashboardV2/UtilityDashboard/MostPolluting/MostPolluting.stories.js +117 -0
  82. package/lib/DashboardV2/UtilityDashboard/MostPolluting/ShowMore/ShowMore.js +32 -0
  83. package/lib/DashboardV2/UtilityDashboard/MostPolluting/ShowMore/styles.js +21 -0
  84. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Tabs/Tabs.js +81 -0
  85. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Tabs/Tabs.stories.js +38 -0
  86. package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/assets/index.js +0 -34
  87. package/lib/DashboardV2/UtilityDashboard/MostPolluting/components/ChangePercent.js +50 -0
  88. package/lib/DashboardV2/UtilityDashboard/MostPolluting/styles.js +25 -0
  89. package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/MostSevereEvents.js +125 -0
  90. package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/MostSevereEvents.stories.js +384 -0
  91. package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/NoEvents/NoEvents.js +54 -0
  92. package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/NoEvents/NoEvents.stories.js +27 -0
  93. package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/SevereEvent/Eta/Eta.js +175 -0
  94. package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/SevereEvent/Eta/styles.js +24 -0
  95. package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/SevereEvent/SevereEvent.js +102 -0
  96. package/lib/DashboardV2/UtilityDashboard/TopBar/MostCommon/Back/Back.js +34 -0
  97. package/lib/DashboardV2/UtilityDashboard/TopBar/MostCommon/MostCommon.js +85 -0
  98. package/lib/DashboardV2/UtilityDashboard/TopBar/MostCommon/styles.js +81 -0
  99. package/lib/DashboardV2/UtilityDashboard/TopBar/QualitySummary/PieChart/LegendMenu/LegendMenu.js +44 -0
  100. package/lib/DashboardV2/UtilityDashboard/TopBar/QualitySummary/PieChart/PieChart.js +155 -0
  101. package/lib/DashboardV2/UtilityDashboard/TopBar/QualitySummary/PollutedLine/PollutedLine.js +69 -0
  102. package/lib/DashboardV2/UtilityDashboard/TopBar/QualitySummary/QualitySummary.js +95 -0
  103. package/lib/DashboardV2/UtilityDashboard/TopBar/QualitySummary/qualitySummary.mock.js +30 -0
  104. package/lib/DashboardV2/UtilityDashboard/TopBar/QualitySummary/styles.js +63 -0
  105. package/lib/DashboardV2/UtilityDashboard/TopBar/TopBar.js +34 -0
  106. package/lib/DashboardV2/UtilityDashboard/TopBar/UtilityInformation/UtilityInformation.js +95 -0
  107. package/lib/DashboardV2/UtilityDashboard/TopBar/UtilityInformation/styles.js +61 -0
  108. package/lib/DashboardV2/UtilityDashboard/TopBar/UtilityInformation/utilityInformation.mock.js +15 -0
  109. package/lib/DashboardV2/UtilityDashboard/TopBar/styles.js +18 -0
  110. package/lib/DashboardV2/UtilityDashboard/UtilityDashboard.js +89 -0
  111. package/lib/DashboardV2/UtilityDashboard/UtilityDashboard.stories.js +141 -0
  112. package/lib/DashboardV2/WaterAuthorityDashboard.js +60 -0
  113. package/lib/DashboardV2/index.js +32 -0
  114. package/lib/DashboardV2/styles.scss +128 -0
  115. package/lib/DashboardV2/useApiWithDashboardQuery.js +68 -0
  116. package/lib/{pages/EventsPage → EventsView/views}/components/Body.js +4 -4
  117. package/lib/{pages/EventsPage → EventsView/views}/components/areas/AreaPolygon.js +2 -2
  118. package/lib/{pages/EventsPage → EventsView/views}/components/areas/AreaPolygons.js +1 -1
  119. package/lib/{pages/EventsPage → EventsView/views}/components/edges/Edge.js +2 -2
  120. package/lib/{pages/EventsPage → EventsView/views}/components/edges/Edges.js +1 -1
  121. package/lib/{pages/EventsPage → EventsView/views}/components/events/EventIndicator.js +3 -3
  122. package/lib/{pages/EventsPage → EventsView/views}/components/events/EventPath.js +2 -2
  123. package/lib/{pages/EventsPage → EventsView/views}/components/events/MoreInfo.js +3 -3
  124. package/lib/{pages/EventsPage → EventsView/views}/components/events/Sidebar.js +2 -2
  125. package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/EarlyWarnings.js +3 -3
  126. package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/EventDetails.js +3 -3
  127. package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/EventInfo.js +5 -5
  128. package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/EventTimeRange.js +2 -2
  129. package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/HistoricalInformation.js +3 -3
  130. package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/MiniEventTree.js +1 -1
  131. package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/MobileEventPath.js +3 -3
  132. package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/PollutionDischarge.js +2 -2
  133. package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/charts/EventDetailsLineChart.js +2 -2
  134. package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/charts/EventDetailsPieChart.js +2 -2
  135. package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/damage_type/DamageType.js +2 -2
  136. package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/samplings/Sampling.js +1 -1
  137. package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/samplings/Samplings.js +2 -2
  138. package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/sources/Source.js +4 -4
  139. package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/sources/Sources.js +2 -2
  140. package/lib/{pages/EventsPage → EventsView/views}/components/events/events_list/EventItem.js +4 -4
  141. package/lib/{pages/EventsPage → EventsView/views}/components/events/events_list/EventsList.js +5 -5
  142. package/lib/{pages/EventsPage → EventsView/views}/components/events/events_list/Filter/Filter.js +2 -2
  143. package/lib/{pages/EventsPage → EventsView/views}/components/events/events_list/Filter/FilterContainer.js +4 -4
  144. package/lib/{pages/EventsPage → EventsView/views}/components/events/events_list/Filter/FilterItem.js +2 -2
  145. package/lib/{pages/EventsPage → EventsView/views}/components/events/events_list/Filter/FiltersDropDown.js +2 -2
  146. package/lib/{pages/EventsPage → EventsView/views}/components/events/events_list/Filter/OptionsDropDown.js +2 -2
  147. package/lib/{pages/EventsPage → EventsView/views}/components/events/events_list/Sort.js +2 -2
  148. package/lib/{pages/EventsPage → EventsView/views}/components/map/FloatingGraph.js +3 -3
  149. package/lib/EventsView/views/components/map/Map.js +176 -0
  150. package/lib/{pages/EventsPage → EventsView/views}/components/map/Map.stories.js +1 -1
  151. package/lib/{pages/EventsPage → EventsView/views}/components/points/PointMarker.js +6 -6
  152. package/lib/{pages/EventsPage → EventsView/views}/components/points/PointMarkers.js +1 -1
  153. package/lib/{pages/EventsPage/EventsPage.js → EventsView/views/eventsView.js} +5 -5
  154. package/lib/Router.js +21 -25
  155. package/lib/index.js +3 -3
  156. package/lib/macros/getVersion.js +1 -1
  157. package/lib/shared/TimeRangeSelector/TimeRangeSelector.js +118 -0
  158. package/lib/shared/TimeRangeSelector/TimeRangeSelector.stories.js +36 -0
  159. package/lib/shared/TimeRangeSelector/constants.js +9 -0
  160. package/lib/{components → shared}/TimeRangeSelector/index.js +1 -1
  161. package/lib/shared/components/Breadcrumbs/Breadcrumbs.js +43 -0
  162. package/lib/{components → shared/components}/Breadcrumbs/index.js +1 -1
  163. package/lib/shared/components/ContentLoader/ContentLoader.js +72 -0
  164. package/lib/{components → shared/components}/ContentLoader/index.js +1 -1
  165. package/lib/shared/components/DamageType/DamageType.js +264 -0
  166. package/lib/{components → shared/components}/DamageType/index.js +1 -1
  167. package/lib/shared/components/DataLoaderError/DataLoaderError.js +32 -0
  168. package/lib/shared/components/DischargeHeatmap/DischargeHeatmap.js +219 -0
  169. package/lib/{components → shared/components}/DischargeHeatmap/index.js +1 -1
  170. package/lib/shared/components/DoubleTabs/DoubleTabs.js +45 -0
  171. package/lib/{components/Header → shared/components}/DoubleTabs/DoubleTabs.stories.js +2 -2
  172. package/lib/shared/components/DoubleTabs/styles.js +32 -0
  173. package/lib/shared/components/ErrorBoundary.js +67 -0
  174. package/lib/shared/components/Events/Events.js +237 -0
  175. package/lib/{components → shared/components}/Events/index.js +1 -1
  176. package/lib/shared/components/Graph/Graph.js +211 -0
  177. package/lib/{components → shared/components}/Graph/index.js +1 -1
  178. package/lib/shared/components/InfoBar/InfoBar.js +76 -0
  179. package/lib/shared/components/InfoBar/InfoBar.stories.js +32 -0
  180. package/lib/shared/components/KandoModal/KandoModal.js +121 -0
  181. package/lib/{components → shared/components}/KandoModal/index.js +1 -1
  182. package/lib/shared/components/KandoNavbar/KandoNavbar.js +297 -0
  183. package/lib/{components → shared/components}/KandoNavbar/index.js +1 -1
  184. package/lib/shared/components/LiveEvents/CarouselSlide.js +65 -0
  185. package/lib/shared/components/LiveEvents/LiveEvents.js +59 -0
  186. package/lib/{components → shared/components}/LiveEvents/index.js +1 -1
  187. package/lib/shared/components/LoaderByPercent/LoaderByPercent.js +51 -0
  188. package/lib/shared/components/Map/Map.js +94 -0
  189. package/lib/{components → shared/components}/Map/index.js +1 -1
  190. package/lib/{components → shared/components}/NarrowHeader.js +1 -1
  191. package/lib/shared/components/PasswordInput/PasswordInput.js +54 -0
  192. package/lib/shared/components/PointInfo/PointInfo.js +84 -0
  193. package/lib/{components → shared/components}/PointInfo/index.js +1 -1
  194. package/lib/shared/components/PopupModal/PopupModal.js +55 -0
  195. package/lib/shared/components/PopupModal/PopupModal.stories.js +53 -0
  196. package/lib/shared/components/PrimaryButton/PrimaryButton.js +21 -0
  197. package/lib/shared/components/Search/Search.js +152 -0
  198. package/lib/{components → shared/components}/Search/index.js +1 -1
  199. package/lib/shared/components/Sector/Sector.js +198 -0
  200. package/lib/{components → shared/components}/Sector/index.js +1 -1
  201. package/lib/shared/components/Select/Select.js +101 -0
  202. package/lib/shared/components/Select/Select.stories.js +48 -0
  203. package/lib/shared/components/Spinner/Spinner.js +29 -0
  204. package/lib/shared/components/Spinner/Spinner.stories.js +39 -0
  205. package/lib/{components → shared/components}/Spinner/index.js +1 -1
  206. package/lib/shared/components/Spinner/styles.js +44 -0
  207. package/lib/{components → shared/components}/Toggle/Toggle.js +1 -1
  208. package/lib/{components → shared/components}/Toggle/index.js +1 -1
  209. package/lib/shared/components/TrendGraph/TrendGraph.js +215 -0
  210. package/lib/{components → shared/components}/TrendGraph/index.js +1 -1
  211. package/lib/shared/components/TrendGraphNVL/TrendGraphNVL.js +168 -0
  212. package/lib/{components → shared/components}/TrendGraphNVL/index.js +1 -1
  213. package/lib/shared/helpers/kql.js +53 -0
  214. package/lib/shared/helpers/time.js +22 -0
  215. package/lib/shared/redux/WBE/actionTypes.js +9 -0
  216. package/lib/shared/redux/WBE/actions.js +16 -0
  217. package/lib/shared/redux/WBE/reducer.js +37 -0
  218. package/lib/shared/redux/areas/actionTypes.js +13 -0
  219. package/lib/shared/redux/areas/actions.js +41 -0
  220. package/lib/shared/redux/areas/reducer.js +55 -0
  221. package/lib/shared/redux/context/actionTypes.js +9 -0
  222. package/lib/shared/redux/context/actions.js +16 -0
  223. package/lib/shared/redux/context/reducer.js +37 -0
  224. package/lib/shared/redux/dashboard/dashboardSlice.js +24 -0
  225. package/lib/shared/redux/edges/actionTypes.js +15 -0
  226. package/lib/shared/redux/edges/actions.js +49 -0
  227. package/lib/shared/redux/edges/reducer.js +81 -0
  228. package/lib/shared/redux/events/actionTypes.js +29 -0
  229. package/lib/shared/redux/events/actions.js +113 -0
  230. package/lib/shared/redux/events/reducer.js +197 -0
  231. package/lib/shared/redux/global/actionTypes.js +25 -0
  232. package/lib/shared/redux/global/actions.js +97 -0
  233. package/lib/shared/redux/global/reducer.js +92 -0
  234. package/lib/shared/redux/points/actionTypes.js +11 -0
  235. package/lib/shared/redux/points/actions.js +33 -0
  236. package/lib/shared/redux/points/reducer.js +36 -0
  237. package/lib/shared/redux/rootActionTypes.js +9 -0
  238. package/lib/shared/redux/rootActions.js +15 -0
  239. package/lib/shared/redux/rootReducer.js +57 -0
  240. package/lib/shared/redux/rootStore.js +51 -0
  241. package/lib/shared/utilities/ActionUtility.js +18 -0
  242. package/lib/shared/utilities/ErrorBoundary.js +73 -0
  243. package/lib/{utilities → shared/utilities}/KandoDate.js +1 -1
  244. package/lib/{utilities → shared/utilities}/KandoModal.js +1 -1
  245. package/lib/shared/utilities/LocalStorage.js +49 -0
  246. package/lib/shared/utilities/TimeFormat.js +71 -0
  247. package/lib/shared/utilities/Truncate.js +83 -0
  248. package/lib/shared/utilities/custom_hooks/useApi.js +95 -0
  249. package/lib/shared/utilities/custom_hooks/useClickOutside.js +27 -0
  250. package/lib/shared/utilities/custom_hooks/useKandoFetch.js +83 -0
  251. package/lib/shared/utilities/custom_hooks/useMap.js +152 -0
  252. package/lib/shared/utilities/custom_hooks/useQueryURL.js +16 -0
  253. package/lib/shared/utilities/custom_hooks/useRemoveExistingLayers.js +37 -0
  254. package/lib/shared/utilities/custom_hooks/useUpdateEventBodyTail.js +63 -0
  255. package/lib/shared/utilities/custom_hooks/useWindowSize.js +48 -0
  256. package/lib/shared/utilities/i18n/en.yml +3266 -0
  257. package/lib/shared/utilities/i18n/fr.yml +2621 -0
  258. package/lib/shared/utilities/i18n/he.yml +3237 -0
  259. package/lib/shared/utilities/i18n/index.js +25 -0
  260. package/lib/shared/utilities/i18n/it.yml +2644 -0
  261. package/lib/shared/utilities/i18n.js +74 -0
  262. package/lib/styles.scss +4 -133
  263. package/package.json +4 -3
  264. package/lib/components/Breadcrumbs/Breadcrumbs.js +0 -43
  265. package/lib/components/ContentLoader/ContentLoader.js +0 -72
  266. package/lib/components/DamageType/DamageType.js +0 -264
  267. package/lib/components/DataLoaderError/DataLoaderError.js +0 -32
  268. package/lib/components/DischargeHeatmap/DischargeHeatmap.js +0 -219
  269. package/lib/components/DoubleTabs/DoubleTabs.js +0 -45
  270. package/lib/components/DoubleTabs/DoubleTabs.stories.js +0 -31
  271. package/lib/components/DoubleTabs/styles.js +0 -32
  272. package/lib/components/ErrorBoundary.js +0 -67
  273. package/lib/components/Events/Events.js +0 -237
  274. package/lib/components/Graph/Graph.js +0 -211
  275. package/lib/components/Header/DoubleTabs/DoubleTabs.js +0 -96
  276. package/lib/components/Header/DoubleTabs/styles.js +0 -32
  277. package/lib/components/Header/Header.js +0 -21
  278. package/lib/components/Header/Header.stories.js +0 -29
  279. package/lib/components/Header/InfoBar/Breadcrumbs/Breadcrumbs.js +0 -37
  280. package/lib/components/Header/InfoBar/InfoBar.js +0 -88
  281. package/lib/components/Header/Toolbar/Toolbar.js +0 -117
  282. package/lib/components/InfoBar/InfoBar.js +0 -76
  283. package/lib/components/InfoBar/InfoBar.stories.js +0 -32
  284. package/lib/components/KandoModal/KandoModal.js +0 -121
  285. package/lib/components/KandoNavbar/KandoNavbar.js +0 -297
  286. package/lib/components/LiveEvents/CarouselSlide.js +0 -65
  287. package/lib/components/LiveEvents/LiveEvents.js +0 -59
  288. package/lib/components/LoaderByPercent/LoaderByPercent.js +0 -51
  289. package/lib/components/Map/Map.js +0 -94
  290. package/lib/components/PasswordInput/PasswordInput.js +0 -54
  291. package/lib/components/PointInfo/PointInfo.js +0 -84
  292. package/lib/components/PopupModal/PopupModal.js +0 -55
  293. package/lib/components/PopupModal/PopupModal.stories.js +0 -53
  294. package/lib/components/PrimaryButton/PrimaryButton.js +0 -21
  295. package/lib/components/Search/Search.js +0 -152
  296. package/lib/components/Sector/Sector.js +0 -198
  297. package/lib/components/Select/Select.js +0 -101
  298. package/lib/components/Select/Select.stories.js +0 -48
  299. package/lib/components/Spinner/Spinner.js +0 -29
  300. package/lib/components/Spinner/Spinner.stories.js +0 -39
  301. package/lib/components/Spinner/styles.js +0 -44
  302. package/lib/components/TimeRangeSelector/TimeRangeSelector.js +0 -118
  303. package/lib/components/TimeRangeSelector/TimeRangeSelector.stories.js +0 -36
  304. package/lib/components/TimeRangeSelector/constants.js +0 -9
  305. package/lib/components/TrendGraph/TrendGraph.js +0 -215
  306. package/lib/components/TrendGraphNVL/TrendGraphNVL.js +0 -168
  307. package/lib/hooks/useApi.js +0 -94
  308. package/lib/hooks/useApiWithDashboardQuery.js +0 -66
  309. package/lib/hooks/useClickOutside.js +0 -27
  310. package/lib/hooks/useKandoFetch.js +0 -83
  311. package/lib/hooks/useMap.js +0 -152
  312. package/lib/hooks/useQueryURL.js +0 -16
  313. package/lib/hooks/useRemoveExistingLayers.js +0 -35
  314. package/lib/hooks/useUpdateEventBodyTail.js +0 -63
  315. package/lib/hooks/useWindowSize.js +0 -48
  316. package/lib/pages/AreaPage/AreaPage.js +0 -122
  317. package/lib/pages/AreaPage/Dashboard/Dashboard.js +0 -97
  318. package/lib/pages/AreaPage/Dashboard/EventsCarousel/EventsCarousel.js +0 -107
  319. package/lib/pages/AreaPage/Dashboard/LineChart/LineChart.js +0 -82
  320. package/lib/pages/AreaPage/Dashboard/LineChart/options/options.js +0 -102
  321. package/lib/pages/AreaPage/Dashboard/Sites/Sites.js +0 -128
  322. package/lib/pages/AreaPage/Dashboard/Sites/SitesBox/PieChart/PieChart.js +0 -123
  323. package/lib/pages/AreaPage/Dashboard/Sites/SitesBox/SiteBox.js +0 -58
  324. package/lib/pages/AreaPage/Dashboard/Sites/SitesBox/styles.js +0 -26
  325. package/lib/pages/AreaPage/Dashboard/Sites/styles.js +0 -25
  326. package/lib/pages/EventsPage/components/map/Map.js +0 -176
  327. package/lib/pages/NotificationsPage/EditNotificationModal/Buttons/MultiChoiceTabs.js +0 -69
  328. package/lib/pages/NotificationsPage/EditNotificationModal/Buttons/RadioTabs.js +0 -49
  329. package/lib/pages/NotificationsPage/EditNotificationModal/Buttons/SeverityButtons.js +0 -32
  330. package/lib/pages/NotificationsPage/EditNotificationModal/EditNotificationModal.js +0 -229
  331. package/lib/pages/NotificationsPage/EditNotificationModal/EditNotificationModal.stories.js +0 -33
  332. package/lib/pages/NotificationsPage/Notification/Notification.js +0 -95
  333. package/lib/pages/NotificationsPage/Notifications.mock.js +0 -45
  334. package/lib/pages/NotificationsPage/Notifications.stories.js +0 -38
  335. package/lib/pages/NotificationsPage/NotificationsPage.js +0 -98
  336. package/lib/pages/ProfilePage/PasswordModal/PasswordModal.js +0 -99
  337. package/lib/pages/ProfilePage/ProfilePage.js +0 -225
  338. package/lib/pages/SitePage/SamplingParameters/NoResults/NoResults.js +0 -53
  339. package/lib/pages/SitePage/SamplingParameters/NoResults/NoResults.stories.js +0 -27
  340. package/lib/pages/SitePage/SamplingParameters/ParametersContainer/ParametersButtons/ParameterButton/ParameterButton.js +0 -30
  341. package/lib/pages/SitePage/SamplingParameters/ParametersContainer/ParametersButtons/ParametersButtons.js +0 -41
  342. package/lib/pages/SitePage/SamplingParameters/ParametersContainer/ParametersButtons/styles.js +0 -42
  343. package/lib/pages/SitePage/SamplingParameters/ParametersContainer/ParametersContainer.js +0 -63
  344. package/lib/pages/SitePage/SamplingParameters/SamplingContainer/ExceptionBar/ExceptionBar.js +0 -69
  345. package/lib/pages/SitePage/SamplingParameters/SamplingContainer/ExceptionBar/ExceptionBar.stories.js +0 -42
  346. package/lib/pages/SitePage/SamplingParameters/SamplingContainer/ExceptionBar/styles.js +0 -48
  347. package/lib/pages/SitePage/SamplingParameters/SamplingContainer/ExpandableSamplingTable/ExpandableSamplingTable.js +0 -103
  348. package/lib/pages/SitePage/SamplingParameters/SamplingContainer/SamplingContainer.js +0 -38
  349. package/lib/pages/SitePage/SamplingParameters/SamplingParameters.js +0 -131
  350. package/lib/pages/SitePage/SamplingParameters/SamplingParameters.mock.js +0 -973
  351. package/lib/pages/SitePage/SamplingParameters/SamplingParameters.stories.js +0 -173
  352. package/lib/pages/SitePage/SamplingParameters/charts/ParametersChart.js +0 -58
  353. package/lib/pages/SitePage/SamplingParameters/charts/options/options.js +0 -233
  354. package/lib/pages/SitePage/SamplingParameters/dataParser.js +0 -109
  355. package/lib/pages/SitePage/SamplingParameters/styles/samplingParameters.js +0 -32
  356. package/lib/pages/SitePage/SamplingParameters/styles/styles.js +0 -35
  357. package/lib/pages/SitePage/SitePage.js +0 -361
  358. package/lib/pages/UtilityDashboardPage/MostPolluting/Areas/AreaBox/AreaBox.js +0 -128
  359. package/lib/pages/UtilityDashboardPage/MostPolluting/Areas/AreaBox/PieChart/PieChart.js +0 -130
  360. package/lib/pages/UtilityDashboardPage/MostPolluting/Areas/AreaBox/styles.js +0 -31
  361. package/lib/pages/UtilityDashboardPage/MostPolluting/Areas/Areas.js +0 -160
  362. package/lib/pages/UtilityDashboardPage/MostPolluting/Areas/areas.mock.js +0 -575
  363. package/lib/pages/UtilityDashboardPage/MostPolluting/Areas/styles.js +0 -25
  364. package/lib/pages/UtilityDashboardPage/MostPolluting/EmptyState/EmptyState.js +0 -57
  365. package/lib/pages/UtilityDashboardPage/MostPolluting/Factories/Factories.js +0 -196
  366. package/lib/pages/UtilityDashboardPage/MostPolluting/Factories/FactoryBox/FactoryBox.js +0 -53
  367. package/lib/pages/UtilityDashboardPage/MostPolluting/Factories/FactoryBox/PieChart/PieChart.js +0 -123
  368. package/lib/pages/UtilityDashboardPage/MostPolluting/Factories/FactoryBox/styles.js +0 -26
  369. package/lib/pages/UtilityDashboardPage/MostPolluting/Factories/styles.js +0 -25
  370. package/lib/pages/UtilityDashboardPage/MostPolluting/MostPolluting.stories.js +0 -117
  371. package/lib/pages/UtilityDashboardPage/MostPolluting/ShowMore/ShowMore.js +0 -32
  372. package/lib/pages/UtilityDashboardPage/MostPolluting/ShowMore/styles.js +0 -21
  373. package/lib/pages/UtilityDashboardPage/MostPolluting/Tabs/Tabs.js +0 -81
  374. package/lib/pages/UtilityDashboardPage/MostPolluting/Tabs/Tabs.stories.js +0 -38
  375. package/lib/pages/UtilityDashboardPage/MostPolluting/assets/factory.svg +0 -31
  376. package/lib/pages/UtilityDashboardPage/MostPolluting/assets/no-areas.svg +0 -24
  377. package/lib/pages/UtilityDashboardPage/MostPolluting/assets/no-collector.svg +0 -66
  378. package/lib/pages/UtilityDashboardPage/MostPolluting/assets/no-wwtp.svg +0 -34
  379. package/lib/pages/UtilityDashboardPage/MostPolluting/components/ChangePercent.js +0 -50
  380. package/lib/pages/UtilityDashboardPage/MostPolluting/styles.js +0 -25
  381. package/lib/pages/UtilityDashboardPage/MostSevereEvents/MostSevereEvents.js +0 -125
  382. package/lib/pages/UtilityDashboardPage/MostSevereEvents/MostSevereEvents.stories.js +0 -384
  383. package/lib/pages/UtilityDashboardPage/MostSevereEvents/NoEvents/NoEvents.js +0 -54
  384. package/lib/pages/UtilityDashboardPage/MostSevereEvents/NoEvents/NoEvents.stories.js +0 -27
  385. package/lib/pages/UtilityDashboardPage/MostSevereEvents/SevereEvent/Eta/Eta.js +0 -175
  386. package/lib/pages/UtilityDashboardPage/MostSevereEvents/SevereEvent/Eta/styles.js +0 -24
  387. package/lib/pages/UtilityDashboardPage/MostSevereEvents/SevereEvent/SevereEvent.js +0 -102
  388. package/lib/pages/UtilityDashboardPage/TopBar/MostCommon/Back/Back.js +0 -34
  389. package/lib/pages/UtilityDashboardPage/TopBar/MostCommon/MostCommon.js +0 -85
  390. package/lib/pages/UtilityDashboardPage/TopBar/MostCommon/styles.js +0 -81
  391. package/lib/pages/UtilityDashboardPage/TopBar/QualitySummary/PieChart/LegendMenu/LegendMenu.js +0 -44
  392. package/lib/pages/UtilityDashboardPage/TopBar/QualitySummary/PieChart/PieChart.js +0 -155
  393. package/lib/pages/UtilityDashboardPage/TopBar/QualitySummary/PollutedLine/PollutedLine.js +0 -69
  394. package/lib/pages/UtilityDashboardPage/TopBar/QualitySummary/QualitySummary.js +0 -95
  395. package/lib/pages/UtilityDashboardPage/TopBar/QualitySummary/qualitySummary.mock.js +0 -30
  396. package/lib/pages/UtilityDashboardPage/TopBar/QualitySummary/styles.js +0 -63
  397. package/lib/pages/UtilityDashboardPage/TopBar/TopBar.js +0 -34
  398. package/lib/pages/UtilityDashboardPage/TopBar/UtilityInformation/UtilityInformation.js +0 -95
  399. package/lib/pages/UtilityDashboardPage/TopBar/UtilityInformation/styles.js +0 -61
  400. package/lib/pages/UtilityDashboardPage/TopBar/UtilityInformation/utilityInformation.mock.js +0 -15
  401. package/lib/pages/UtilityDashboardPage/TopBar/styles.js +0 -18
  402. package/lib/pages/UtilityDashboardPage/UtilityDashboard.js +0 -89
  403. package/lib/pages/UtilityDashboardPage/UtilityDashboard.stories.js +0 -141
  404. package/lib/pages/UtilityDashboardPage/UtilityDashboardPage.js +0 -57
  405. package/lib/store/WBE/actionTypes.js +0 -9
  406. package/lib/store/WBE/actions.js +0 -16
  407. package/lib/store/WBE/reducer.js +0 -37
  408. package/lib/store/areas/actionTypes.js +0 -13
  409. package/lib/store/areas/actions.js +0 -41
  410. package/lib/store/areas/reducer.js +0 -55
  411. package/lib/store/context/actionTypes.js +0 -9
  412. package/lib/store/context/actions.js +0 -16
  413. package/lib/store/context/reducer.js +0 -37
  414. package/lib/store/dashboard/dashboardSlice.js +0 -24
  415. package/lib/store/edges/actionTypes.js +0 -15
  416. package/lib/store/edges/actions.js +0 -49
  417. package/lib/store/edges/reducer.js +0 -81
  418. package/lib/store/events/actionTypes.js +0 -29
  419. package/lib/store/events/actions.js +0 -113
  420. package/lib/store/events/reducer.js +0 -197
  421. package/lib/store/global/actionTypes.js +0 -25
  422. package/lib/store/global/actions.js +0 -97
  423. package/lib/store/global/reducer.js +0 -92
  424. package/lib/store/points/actionTypes.js +0 -11
  425. package/lib/store/points/actions.js +0 -33
  426. package/lib/store/points/reducer.js +0 -36
  427. package/lib/store/rootActionTypes.js +0 -9
  428. package/lib/store/rootActions.js +0 -15
  429. package/lib/store/rootReducer.js +0 -57
  430. package/lib/store/rootStore.js +0 -51
  431. package/lib/utilities/ActionUtility.js +0 -18
  432. package/lib/utilities/ErrorBoundary.js +0 -73
  433. package/lib/utilities/LocalStorage.js +0 -49
  434. package/lib/utilities/TimeFormat.js +0 -71
  435. package/lib/utilities/Truncate.js +0 -83
  436. package/lib/utilities/i18n.js +0 -74
  437. package/lib/utilities/kql.js +0 -53
  438. package/lib/utilities/time.js +0 -22
  439. /package/lib/{pages/CovidPage → CovidView/views}/components/MapStyle.scss +0 -0
  440. /package/lib/{pages/CovidPage → CovidView/views}/components/SidebarStyle.scss +0 -0
  441. /package/lib/{pages/CovidPage → CovidView/views}/components/SummaryStyle.scss +0 -0
  442. /package/lib/{pages/CovidPage → CovidView/views}/components/TrendGraphNVL/styles.scss +0 -0
  443. /package/lib/{pages/CovidPage → CovidView/views}/components/TrendPopupContent/styles.scss +0 -0
  444. /package/lib/{pages/CovidPage → CovidView/views}/components/areas/AreasStyle.scss +0 -0
  445. /package/lib/{pages/AreaPage → DashboardV2/AreaDashboard}/Dashboard/Sites/SitesResponse.interface.js +0 -0
  446. /package/lib/{components → DashboardV2}/Header/InfoBar/Breadcrumbs/right-arrow-bold.svg +0 -0
  447. /package/lib/{components → DashboardV2}/Header/InfoBar/Breadcrumbs/right-arrow-light.svg +0 -0
  448. /package/lib/{components → DashboardV2}/Header/Toolbar/arrow.svg +0 -0
  449. /package/lib/{components → DashboardV2}/Header/Toolbar/user.svg +0 -0
  450. /package/lib/{pages/NotificationsPage → DashboardV2/Notifications}/Notifications.interface.js +0 -0
  451. /package/lib/{pages/NotificationsPage → DashboardV2/Notifications}/assets/alert1.svg +0 -0
  452. /package/lib/{pages/NotificationsPage → DashboardV2/Notifications}/assets/chat.svg +0 -0
  453. /package/lib/{pages/NotificationsPage → DashboardV2/Notifications}/assets/close.svg +0 -0
  454. /package/lib/{pages/NotificationsPage → DashboardV2/Notifications}/assets/index.js +0 -0
  455. /package/lib/{pages/NotificationsPage → DashboardV2/Notifications}/assets/mail.svg +0 -0
  456. /package/lib/{pages/NotificationsPage → DashboardV2/Notifications}/assets/monitor.svg +0 -0
  457. /package/lib/{pages/NotificationsPage → DashboardV2/Notifications}/assets/right.svg +0 -0
  458. /package/lib/{pages/NotificationsPage → DashboardV2/Notifications}/assets/spill1.svg +0 -0
  459. /package/lib/{pages/NotificationsPage → DashboardV2/Notifications}/assets/telegram.svg +0 -0
  460. /package/lib/{pages/NotificationsPage → DashboardV2/Notifications}/assets/trash-del.svg +0 -0
  461. /package/lib/{pages/ProfilePage → DashboardV2/Profile}/pen.svg +0 -0
  462. /package/lib/{pages/SitePage → DashboardV2}/SamplingParameters/NoResults/discover.svg +0 -0
  463. /package/lib/{pages/SitePage → DashboardV2}/SamplingParameters/SamplingContainer/ExpandableSamplingTable/ExpandableSamplingTable.scss +0 -0
  464. /package/lib/{pages/SitePage → DashboardV2}/SamplingParameters/SamplingContainer/ExpandableSamplingTable/assets/rigth.svg +0 -0
  465. /package/lib/{pages/SitePage → DashboardV2}/SamplingParameters/models.js +0 -0
  466. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/Areas/AreaBox/Map/Map.scss +0 -0
  467. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/Areas/areasResponse.interface.js +0 -0
  468. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/Factories/factoriesResponse.interface.js +0 -0
  469. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/Tabs/assets/home.svg +0 -0
  470. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/Tabs/assets/index.js +0 -0
  471. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/Tabs/assets/matash.svg +0 -0
  472. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/Tabs/assets/plant.svg +0 -0
  473. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/Tabs/assets/shape.svg +0 -0
  474. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/Tabs/assets/water.svg +0 -0
  475. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/assets/down-arrow.svg +0 -0
  476. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/assets/gas.svg +0 -0
  477. /package/lib/{components/Sector/svgs → DashboardV2/UtilityDashboard/MostPolluting/assets}/leather.svg +0 -0
  478. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/assets/metal.svg +0 -0
  479. /package/lib/{components/Sector/svgs → DashboardV2/UtilityDashboard/MostPolluting/assets}/shop.svg +0 -0
  480. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/assets/show-more.svg +0 -0
  481. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostPolluting/models.js +0 -0
  482. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostSevereEvents/MostSevereEvents.scss +0 -0
  483. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostSevereEvents/NoEvents/discover.svg +0 -0
  484. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostSevereEvents/SevereEvent/SevereEvent.scss +0 -0
  485. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostSevereEvents/SevereEvent/assets/info.svg +0 -0
  486. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostSevereEvents/SevereEvent/assets/pipe-bluckages.svg +0 -0
  487. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostSevereEvents/SevereEvent/assets/pipe.svg +0 -0
  488. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostSevereEvents/SevereEvent/assets/sludge.svg +0 -0
  489. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/MostSevereEvents/models.js +0 -0
  490. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/TopBar/MostCommon/assets/arrow.svg +0 -0
  491. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/TopBar/MostCommon/assets/bacteria.svg +0 -0
  492. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/TopBar/MostCommon/assets/clock.svg +0 -0
  493. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/TopBar/MostCommon/assets/pipes.svg +0 -0
  494. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/TopBar/QualitySummary/assets/down-arrow.svg +0 -0
  495. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/TopBar/QualitySummary/qualitySummaryResponse.interface.js +0 -0
  496. /package/lib/{pages/UtilityDashboardPage → DashboardV2/UtilityDashboard}/TopBar/UtilityInformation/UtilityInformationResponse.interface.js +0 -0
  497. /package/lib/{pages/SitePage → DashboardV2/types}/IDashboardData.js +0 -0
  498. /package/lib/{pages/EventsPage → EventsView/views}/_colors.scss +0 -0
  499. /package/lib/{pages/EventsPage → EventsView/views}/components/events/EventsStyle.scss +0 -0
  500. /package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/EventInfoStyle.scss +0 -0
  501. /package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/damage_type/svgs/agriculture.svg +0 -0
  502. /package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/damage_type/svgs/bacteria-process.svg +0 -0
  503. /package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/damage_type/svgs/effluent.svg +0 -0
  504. /package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/damage_type/svgs/energy.svg +0 -0
  505. /package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/damage_type/svgs/equipment.svg +0 -0
  506. /package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/damage_type/svgs/extra-biological-sludge.svg +0 -0
  507. /package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/damage_type/svgs/overflow.svg +0 -0
  508. /package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/damage_type/svgs/pipes-bluckages.svg +0 -0
  509. /package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/damage_type/svgs/pipes-infrastructure.svg +0 -0
  510. /package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/damage_type/svgs/reuse.svg +0 -0
  511. /package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/damage_type/svgs/sea-rivers.svg +0 -0
  512. /package/lib/{pages/EventsPage → EventsView/views}/components/events/event_info/damage_type/svgs/sludge.svg +0 -0
  513. /package/lib/{pages/EventsPage → EventsView/views}/components/map/floatingGraphStyle.scss +0 -0
  514. /package/lib/{pages/EventsPage → EventsView/views}/components/map/mapStyle.scss +0 -0
  515. /package/lib/{assets/fonts → fonts}/Gilroy-ExtraBold.otf +0 -0
  516. /package/lib/{assets/fonts → fonts}/Gilroy-Light.otf +0 -0
  517. /package/lib/{assets/fonts → fonts}/Gilroy-Regular.otf +0 -0
  518. /package/lib/{assets/fonts → fonts}/Gilroy-SemiBold.otf +0 -0
  519. /package/lib/{components → shared}/TimeRangeSelector/styles.scss +0 -0
  520. /package/lib/{components → shared/components}/Breadcrumbs/styles.scss +0 -0
  521. /package/lib/{components → shared/components}/DamageType/styles.scss +0 -0
  522. /package/lib/{components → shared/components}/DischargeHeatmap/styles.scss +0 -0
  523. /package/lib/{components → shared/components}/Events/styles.scss +0 -0
  524. /package/lib/{components → shared/components}/KandoModal/styles.scss +0 -0
  525. /package/lib/{components → shared/components}/KandoNavbar/NavbarStyle.scss +0 -0
  526. /package/lib/{components → shared/components}/LiveEvents/styles.scss +0 -0
  527. /package/lib/{components → shared/components}/Map/styles.scss +0 -0
  528. /package/lib/{components → shared/components}/PasswordInput/show.svg +0 -0
  529. /package/lib/{components → shared/components}/PointInfo/styles.scss +0 -0
  530. /package/lib/{components → shared/components}/Search/styles.scss +0 -0
  531. /package/lib/{components → shared/components}/Sector/styles.scss +0 -0
  532. /package/lib/{components → shared/components}/Sector/svgs/Brewing.svg +0 -0
  533. /package/lib/{components → shared/components}/Sector/svgs/Cowshed.svg +0 -0
  534. /package/lib/{components → shared/components}/Sector/svgs/Garage.svg +0 -0
  535. /package/lib/{components → shared/components}/Sector/svgs/Missing.svg +0 -0
  536. /package/lib/{components → shared/components}/Sector/svgs/barrel.svg +0 -0
  537. /package/lib/{components → shared/components}/Sector/svgs/beer.svg +0 -0
  538. /package/lib/{components → shared/components}/Sector/svgs/beverage.svg +0 -0
  539. /package/lib/{components → shared/components}/Sector/svgs/car-repair.svg +0 -0
  540. /package/lib/{components → shared/components}/Sector/svgs/car-wash.svg +0 -0
  541. /package/lib/{components → shared/components}/Sector/svgs/chemistry.svg +0 -0
  542. /package/lib/{components → shared/components}/Sector/svgs/conductor-manufacturer.svg +0 -0
  543. /package/lib/{components → shared/components}/Sector/svgs/cosmetic-manufacturer.svg +0 -0
  544. /package/lib/{components → shared/components}/Sector/svgs/cow.svg +0 -0
  545. /package/lib/{components → shared/components}/Sector/svgs/cpu.svg +0 -0
  546. /package/lib/{components → shared/components}/Sector/svgs/dairy.svg +0 -0
  547. /package/lib/{components → shared/components}/Sector/svgs/dippel-oil.svg +0 -0
  548. /package/lib/{components → shared/components}/Sector/svgs/food-donation.svg +0 -0
  549. /package/lib/{components → shared/components}/Sector/svgs/food-factory.svg +0 -0
  550. /package/lib/{components → shared/components}/Sector/svgs/garbage-truck-1.svg +0 -0
  551. /package/lib/{components → shared/components}/Sector/svgs/gas-station.svg +0 -0
  552. /package/lib/{components → shared/components}/Sector/svgs/glass-manufacturer.svg +0 -0
  553. /package/lib/{components → shared/components}/Sector/svgs/glass.svg +0 -0
  554. /package/lib/{components → shared/components}/Sector/svgs/hand-washing.svg +0 -0
  555. /package/lib/{components → shared/components}/Sector/svgs/hospital.svg +0 -0
  556. /package/lib/{components → shared/components}/Sector/svgs/hotel.svg +0 -0
  557. /package/lib/{components → shared/components}/Sector/svgs/laundromat.svg +0 -0
  558. /package/lib/{components → shared/components}/Sector/svgs/leather-factory.svg +0 -0
  559. /package/lib/{pages/UtilityDashboardPage/MostPolluting/assets → shared/components/Sector/svgs}/leather.svg +0 -0
  560. /package/lib/{components → shared/components}/Sector/svgs/lipstick.svg +0 -0
  561. /package/lib/{components → shared/components}/Sector/svgs/meat.svg +0 -0
  562. /package/lib/{components → shared/components}/Sector/svgs/metal-coating-plant.svg +0 -0
  563. /package/lib/{components → shared/components}/Sector/svgs/metal-facbrication.svg +0 -0
  564. /package/lib/{components → shared/components}/Sector/svgs/milk.svg +0 -0
  565. /package/lib/{components → shared/components}/Sector/svgs/oil-rig.svg +0 -0
  566. /package/lib/{components → shared/components}/Sector/svgs/petrochemical.svg +0 -0
  567. /package/lib/{components → shared/components}/Sector/svgs/pie.svg +0 -0
  568. /package/lib/{components → shared/components}/Sector/svgs/pills.svg +0 -0
  569. /package/lib/{components → shared/components}/Sector/svgs/plant-unkown-3.svg +0 -0
  570. /package/lib/{components → shared/components}/Sector/svgs/plastic-rubber.svg +0 -0
  571. /package/lib/{components → shared/components}/Sector/svgs/printer.svg +0 -0
  572. /package/lib/{components → shared/components}/Sector/svgs/recycling.svg +0 -0
  573. /package/lib/{components → shared/components}/Sector/svgs/refinery.svg +0 -0
  574. /package/lib/{components → shared/components}/Sector/svgs/repair.svg +0 -0
  575. /package/lib/{components → shared/components}/Sector/svgs/sewing-machine.svg +0 -0
  576. /package/lib/{pages/UtilityDashboardPage/MostPolluting/assets → shared/components/Sector/svgs}/shop.svg +0 -0
  577. /package/lib/{components → shared/components}/Sector/svgs/soda.svg +0 -0
  578. /package/lib/{components → shared/components}/Sector/svgs/spray-gun.svg +0 -0
  579. /package/lib/{components → shared/components}/Sector/svgs/washing-machine.svg +0 -0
  580. /package/lib/{components → shared/components}/Sector/svgs/waste.svg +0 -0
  581. /package/lib/{components → shared/components}/Sector/svgs/welder-a.svg +0 -0
  582. /package/lib/{components → shared/components}/Sector/svgs/wine-glass.svg +0 -0
  583. /package/lib/{components → shared/components}/Select/Select.scss +0 -0
  584. /package/lib/{components → shared/components}/Toggle/styles.scss +0 -0
  585. /package/lib/{components → shared/components}/TrendGraph/styles.scss +0 -0
  586. /package/lib/{components → shared/components}/TrendGraphNVL/styles.scss +0 -0
  587. /package/lib/{models → shared/models}/IAction.js +0 -0
  588. /package/lib/{models → shared/models}/IAppState.js +0 -0
  589. /package/lib/{store → shared/redux}/WBE/models/IAreaWBE.js +0 -0
  590. /package/lib/{store → shared/redux}/WBE/models/IWBE.js +0 -0
  591. /package/lib/{store → shared/redux}/WBE/models/IWBEState.js +0 -0
  592. /package/lib/{store → shared/redux}/areas/models/IArea.js +0 -0
  593. /package/lib/{store → shared/redux}/areas/models/IAreasState.js +0 -0
  594. /package/lib/{store → shared/redux}/context/models/INavContext.js +0 -0
  595. /package/lib/{store → shared/redux}/context/models/INavContextState.js +0 -0
  596. /package/lib/{store → shared/redux}/edges/models/IEdge.js +0 -0
  597. /package/lib/{store → shared/redux}/edges/models/IEdgesState.js +0 -0
  598. /package/lib/{store → shared/redux}/events/models/IEvent.js +0 -0
  599. /package/lib/{store → shared/redux}/events/models/IEventsState.js +0 -0
  600. /package/lib/{store → shared/redux}/events/models/ISource.js +0 -0
  601. /package/lib/{store → shared/redux}/filters/IFilter.js +0 -0
  602. /package/lib/{store → shared/redux}/filters/IFilterItem.js +0 -0
  603. /package/lib/{store → shared/redux}/global/models/IGlobalState.js +0 -0
  604. /package/lib/{store → shared/redux}/points/models/IGroup.js +0 -0
  605. /package/lib/{store → shared/redux}/points/models/IPoint.js +0 -0
  606. /package/lib/{store → shared/redux}/points/models/IPointsState.js +0 -0
  607. /package/lib/{hooks → shared/utilities/custom_hooks}/map/pin-matash-white.svg +0 -0
  608. /package/lib/{hooks → shared/utilities/custom_hooks}/map/pin-plant-white.svg +0 -0
  609. /package/lib/{hooks → shared/utilities/custom_hooks}/map/pin-suction.svg +0 -0
  610. /package/lib/{hooks → shared/utilities/custom_hooks}/map/pin-water.svg +0 -0
  611. /package/lib/{i18n → shared/utilities/i18n}/en.json +0 -0
  612. /package/lib/{i18n → shared/utilities/i18n}/fr.json +0 -0
  613. /package/lib/{i18n → shared/utilities/i18n}/he.json +0 -0
  614. /package/lib/{i18n → shared/utilities/i18n}/it.json +0 -0
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.FactoryBox = void 0;
9
+
10
+ var _react = _interopRequireDefault(require("react"));
11
+
12
+ var _Sector = _interopRequireDefault(require("../../../../../shared/components/Sector/Sector"));
13
+
14
+ var _ChangePercent = require("../../../../UtilityDashboard/MostPolluting/components/ChangePercent");
15
+
16
+ var _PieChart = require("./PieChart/PieChart");
17
+
18
+ var _styles = require("./styles");
19
+
20
+ var FactoryBox = function FactoryBox(_ref) {
21
+ var factory = _ref.factory,
22
+ others = _ref.others;
23
+ var up = factory.pollution.polluted_percent_change >= 0;
24
+ return /*#__PURE__*/_react.default.createElement(_styles.Box, {
25
+ up: up
26
+ }, /*#__PURE__*/_react.default.createElement("div", {
27
+ className: "top",
28
+ "data-text": factory.site_name
29
+ }, /*#__PURE__*/_react.default.createElement("div", {
30
+ className: "title",
31
+ "data-text": factory.site_name
32
+ }, factory.site_name), /*#__PURE__*/_react.default.createElement("div", {
33
+ className: "area",
34
+ "data-text": factory.area_name
35
+ }, factory.area_name)), /*#__PURE__*/_react.default.createElement("div", {
36
+ className: "content"
37
+ }, /*#__PURE__*/_react.default.createElement("div", {
38
+ className: "details"
39
+ }, factory.sector_icon_name && /*#__PURE__*/_react.default.createElement("div", {
40
+ className: "sector"
41
+ }, /*#__PURE__*/_react.default.createElement("div", {
42
+ className: "text"
43
+ }, /*#__PURE__*/_react.default.createElement("div", {
44
+ className: "sector-type"
45
+ }, /*#__PURE__*/_react.default.createElement(_Sector.default, {
46
+ sectorIconName: factory.sector_icon_name,
47
+ sectorName: factory.sector_name
48
+ })))), /*#__PURE__*/_react.default.createElement(_ChangePercent.ChangePercent, {
49
+ change: factory.pollution.polluted_percent_change
50
+ })), /*#__PURE__*/_react.default.createElement("div", {
51
+ className: "chart"
52
+ }, /*#__PURE__*/_react.default.createElement(_PieChart.PieChart, {
53
+ quality: factory.pollution.type_distribution
54
+ }))));
55
+ };
56
+
57
+ exports.FactoryBox = FactoryBox;
58
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9idW5kbGVzL0Rhc2hib2FyZFYyL0FyZWFEYXNoYm9hcmQvRGFzaGJvYXJkL1NpdGVzL1NpdGVzQm94L1NpdGVCb3gudHN4Il0sIm5hbWVzIjpbIkZhY3RvcnlCb3giLCJmYWN0b3J5Iiwib3RoZXJzIiwidXAiLCJwb2xsdXRpb24iLCJwb2xsdXRlZF9wZXJjZW50X2NoYW5nZSIsInNpdGVfbmFtZSIsImFyZWFfbmFtZSIsInNlY3Rvcl9pY29uX25hbWUiLCJzZWN0b3JfbmFtZSIsInR5cGVfZGlzdHJpYnV0aW9uIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7QUFBQTs7QUFDQTs7QUFDQTs7QUFFQTs7QUFDQTs7QUFPTyxJQUFNQSxVQUFxQyxHQUFHLFNBQXhDQSxVQUF3QyxPQUF5QjtBQUFBLE1BQXRCQyxPQUFzQixRQUF0QkEsT0FBc0I7QUFBQSxNQUFiQyxNQUFhLFFBQWJBLE1BQWE7QUFDMUUsTUFBTUMsRUFBRSxHQUFHRixPQUFPLENBQUNHLFNBQVIsQ0FBa0JDLHVCQUFsQixJQUE2QyxDQUF4RDtBQUVBLHNCQUNJLDZCQUFDLFdBQUQ7QUFBSyxJQUFBLEVBQUUsRUFBRUY7QUFBVCxrQkFDSTtBQUFLLElBQUEsU0FBUyxPQUFkO0FBQXVCLGlCQUFXRixPQUFPLENBQUNLO0FBQTFDLGtCQUNJO0FBQUssSUFBQSxTQUFTLEVBQUMsT0FBZjtBQUF1QixpQkFBV0wsT0FBTyxDQUFDSztBQUExQyxLQUNLTCxPQUFPLENBQUNLLFNBRGIsQ0FESixlQUlJO0FBQUssSUFBQSxTQUFTLEVBQUMsTUFBZjtBQUFzQixpQkFBV0wsT0FBTyxDQUFDTTtBQUF6QyxLQUNLTixPQUFPLENBQUNNLFNBRGIsQ0FKSixDQURKLGVBU0k7QUFBSyxJQUFBLFNBQVMsRUFBQztBQUFmLGtCQUNJO0FBQUssSUFBQSxTQUFTLEVBQUM7QUFBZixLQUNLTixPQUFPLENBQUNPLGdCQUFSLGlCQUNHO0FBQUssSUFBQSxTQUFTLEVBQUM7QUFBZixrQkFDSTtBQUFLLElBQUEsU0FBUyxFQUFDO0FBQWYsa0JBQ0k7QUFBSyxJQUFBLFNBQVMsRUFBQztBQUFmLGtCQUNJLDZCQUFDLGVBQUQ7QUFDSSxJQUFBLGNBQWMsRUFDVlAsT0FBTyxDQUFDTyxnQkFGaEI7QUFJSSxJQUFBLFVBQVUsRUFBRVAsT0FBTyxDQUFDUTtBQUp4QixJQURKLENBREosQ0FESixDQUZSLGVBZUksNkJBQUMsNEJBQUQ7QUFDSSxJQUFBLE1BQU0sRUFBRVIsT0FBTyxDQUFDRyxTQUFSLENBQWtCQztBQUQ5QixJQWZKLENBREosZUFvQkk7QUFBSyxJQUFBLFNBQVMsRUFBQztBQUFmLGtCQUNJLDZCQUFDLGtCQUFEO0FBQVUsSUFBQSxPQUFPLEVBQUVKLE9BQU8sQ0FBQ0csU0FBUixDQUFrQk07QUFBckMsSUFESixDQXBCSixDQVRKLENBREo7QUFvQ0gsQ0F2Q00iLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnO1xuaW1wb3J0IFNlY3RvciBmcm9tICcuLi8uLi8uLi8uLi8uLi9zaGFyZWQvY29tcG9uZW50cy9TZWN0b3IvU2VjdG9yJztcbmltcG9ydCB7IENoYW5nZVBlcmNlbnQgfSBmcm9tICcuLi8uLi8uLi8uLi9VdGlsaXR5RGFzaGJvYXJkL01vc3RQb2xsdXRpbmcvY29tcG9uZW50cy9DaGFuZ2VQZXJjZW50JztcbmltcG9ydCB7IEZhY3RvcnkgfSBmcm9tICcuLi9TaXRlc1Jlc3BvbnNlLmludGVyZmFjZSc7XG5pbXBvcnQgeyBQaWVDaGFydCB9IGZyb20gJy4vUGllQ2hhcnQvUGllQ2hhcnQnO1xuaW1wb3J0IHsgQm94IH0gZnJvbSAnLi9zdHlsZXMnO1xuXG5pbnRlcmZhY2UgRmFjdG9yeUJveFByb3BzIHtcbiAgICBmYWN0b3J5OiBGYWN0b3J5O1xuICAgIG90aGVyczogYm9vbGVhbjtcbn1cblxuZXhwb3J0IGNvbnN0IEZhY3RvcnlCb3g6IFJlYWN0LkZDPEZhY3RvcnlCb3hQcm9wcz4gPSAoeyBmYWN0b3J5LCBvdGhlcnMgfSkgPT4ge1xuICAgIGNvbnN0IHVwID0gZmFjdG9yeS5wb2xsdXRpb24ucG9sbHV0ZWRfcGVyY2VudF9jaGFuZ2UgPj0gMDtcblxuICAgIHJldHVybiAoXG4gICAgICAgIDxCb3ggdXA9e3VwfT5cbiAgICAgICAgICAgIDxkaXYgY2xhc3NOYW1lPXtgdG9wYH0gZGF0YS10ZXh0PXtmYWN0b3J5LnNpdGVfbmFtZX0+XG4gICAgICAgICAgICAgICAgPGRpdiBjbGFzc05hbWU9XCJ0aXRsZVwiIGRhdGEtdGV4dD17ZmFjdG9yeS5zaXRlX25hbWV9PlxuICAgICAgICAgICAgICAgICAgICB7ZmFjdG9yeS5zaXRlX25hbWV9XG4gICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgICAgPGRpdiBjbGFzc05hbWU9XCJhcmVhXCIgZGF0YS10ZXh0PXtmYWN0b3J5LmFyZWFfbmFtZX0+XG4gICAgICAgICAgICAgICAgICAgIHtmYWN0b3J5LmFyZWFfbmFtZX1cbiAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgPGRpdiBjbGFzc05hbWU9XCJjb250ZW50XCI+XG4gICAgICAgICAgICAgICAgPGRpdiBjbGFzc05hbWU9XCJkZXRhaWxzXCI+XG4gICAgICAgICAgICAgICAgICAgIHtmYWN0b3J5LnNlY3Rvcl9pY29uX25hbWUgJiYgKFxuICAgICAgICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzc05hbWU9XCJzZWN0b3JcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzTmFtZT1cInRleHRcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzc05hbWU9XCJzZWN0b3ItdHlwZVwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPFNlY3RvclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHNlY3Rvckljb25OYW1lPXtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZmFjdG9yeS5zZWN0b3JfaWNvbl9uYW1lXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHNlY3Rvck5hbWU9e2ZhY3Rvcnkuc2VjdG9yX25hbWV9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgICAgICApfVxuICAgICAgICAgICAgICAgICAgICA8Q2hhbmdlUGVyY2VudFxuICAgICAgICAgICAgICAgICAgICAgICAgY2hhbmdlPXtmYWN0b3J5LnBvbGx1dGlvbi5wb2xsdXRlZF9wZXJjZW50X2NoYW5nZX1cbiAgICAgICAgICAgICAgICAgICAgLz5cbiAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzTmFtZT1cImNoYXJ0XCI+XG4gICAgICAgICAgICAgICAgICAgIDxQaWVDaGFydCBxdWFsaXR5PXtmYWN0b3J5LnBvbGx1dGlvbi50eXBlX2Rpc3RyaWJ1dGlvbn0gLz5cbiAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICA8L0JveD5cbiAgICApO1xufTtcbiJdfQ==
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.colors = exports.Box = void 0;
9
+
10
+ var _styledComponents = _interopRequireDefault(require("styled-components"));
11
+
12
+ var Box = _styledComponents.default.div.withConfig({
13
+ displayName: "styles__Box",
14
+ componentId: "sc-1sumy52-0"
15
+ })(["border:solid 1px #ebebeb;width:100%;height:100%;color:#1d1d1d;@media (max-width:972px) and (min-width:450px){max-width:400px;}.sector-type .sector__icon{max-width:30px;}> .top{height:38px;padding:11px 19px;background-color:#f9f9f9;display:flex;justify-content:space-between;position:relative;> .title{font-size:18px;font-weight:600;line-height:1.22;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;width:50%;height:38px;position:relative;}> .area{font-size:14px;font-weight:300;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;width:50%;text-align:right;[dir='rtl'] &{text-align:left;}height:38px;}}> .content{display:flex;justify-content:space-between;padding:20px;height:calc(100% - 38px);> .details{position:relative;line-height:1;flex:4;display:flex;flex-direction:column;justify-content:space-between;> .sector{font-size:14px;display:flex;align-items:center;> .image{margin-right:6px;}> .text{> .title{font-weight:300;margin:0;}> .sector-type{font-weight:700;}}}}> .chart{flex:2;height:100%;position:relative;}@media (max-width:500px){> .details{flex:2;> .percent{font-size:12px;> .number{font-size:18px;}}> .sector{font-size:12px;}}}}"]); // #f671294d
16
+
17
+
18
+ exports.Box = Box;
19
+ var colors = {
20
+ high: '#f67129',
21
+ extreme: '#f6004f',
22
+ medium: '#f6b22f',
23
+ none: '#ebebeb'
24
+ };
25
+ exports.colors = colors;
26
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9idW5kbGVzL0Rhc2hib2FyZFYyL0FyZWFEYXNoYm9hcmQvRGFzaGJvYXJkL1NpdGVzL1NpdGVzQm94L3N0eWxlcy50c3giXSwibmFtZXMiOlsiQm94Iiwic3R5bGVkIiwiZGl2IiwiY29sb3JzIiwiaGlnaCIsImV4dHJlbWUiLCJtZWRpdW0iLCJub25lIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQUVPLElBQU1BLEdBQUcsR0FBR0MsMEJBQU9DLEdBQVY7QUFBQTtBQUFBO0FBQUEsOG9DQUFULEMsQ0F3R1A7Ozs7QUFDTyxJQUFNQyxNQUFNLEdBQUc7QUFDbEJDLEVBQUFBLElBQUksRUFBRSxTQURZO0FBRWxCQyxFQUFBQSxPQUFPLEVBQUUsU0FGUztBQUdsQkMsRUFBQUEsTUFBTSxFQUFFLFNBSFU7QUFJbEJDLEVBQUFBLElBQUksRUFBRTtBQUpZLENBQWYiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ3N0eWxlZC1jb21wb25lbnRzL21hY3JvJztcblxuZXhwb3J0IGNvbnN0IEJveCA9IHN0eWxlZC5kaXY8eyB1cDogYm9vbGVhbiB9PmBcbiAgICBib3JkZXI6IHNvbGlkIDFweCAjZWJlYmViO1xuICAgIHdpZHRoOiAxMDAlO1xuICAgIGhlaWdodDogMTAwJTtcbiAgICBjb2xvcjogIzFkMWQxZDtcbiAgICBAbWVkaWEgKG1heC13aWR0aDogOTcycHgpIGFuZCAobWluLXdpZHRoOiA0NTBweCkge1xuICAgICAgICBtYXgtd2lkdGg6IDQwMHB4O1xuICAgIH1cbiAgICAuc2VjdG9yLXR5cGUgLnNlY3Rvcl9faWNvbiB7XG4gICAgICAgIG1heC13aWR0aDogMzBweDtcbiAgICB9XG5cbiAgICA+IC50b3Age1xuICAgICAgICBoZWlnaHQ6IDM4cHg7XG4gICAgICAgIHBhZGRpbmc6IDExcHggMTlweDtcbiAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogI2Y5ZjlmOTtcbiAgICAgICAgZGlzcGxheTogZmxleDtcbiAgICAgICAganVzdGlmeS1jb250ZW50OiBzcGFjZS1iZXR3ZWVuO1xuICAgICAgICBwb3NpdGlvbjogcmVsYXRpdmU7XG5cbiAgICAgICAgPiAudGl0bGUge1xuICAgICAgICAgICAgZm9udC1zaXplOiAxOHB4O1xuICAgICAgICAgICAgZm9udC13ZWlnaHQ6IDYwMDtcbiAgICAgICAgICAgIGxpbmUtaGVpZ2h0OiAxLjIyO1xuICAgICAgICAgICAgdGV4dC1vdmVyZmxvdzogZWxsaXBzaXM7XG4gICAgICAgICAgICB3aGl0ZS1zcGFjZTogbm93cmFwO1xuICAgICAgICAgICAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgICAgICAgICAgIHdpZHRoOiA1MCU7XG4gICAgICAgICAgICBoZWlnaHQ6IDM4cHg7XG4gICAgICAgICAgICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gICAgICAgIH1cblxuICAgICAgICA+IC5hcmVhIHtcbiAgICAgICAgICAgIGZvbnQtc2l6ZTogMTRweDtcbiAgICAgICAgICAgIGZvbnQtd2VpZ2h0OiAzMDA7XG4gICAgICAgICAgICB0ZXh0LW92ZXJmbG93OiBlbGxpcHNpcztcbiAgICAgICAgICAgIHdoaXRlLXNwYWNlOiBub3dyYXA7XG4gICAgICAgICAgICBvdmVyZmxvdzogaGlkZGVuO1xuICAgICAgICAgICAgd2lkdGg6IDUwJTtcbiAgICAgICAgICAgIHRleHQtYWxpZ246IHJpZ2h0O1xuICAgICAgICAgICAgW2Rpcj0ncnRsJ10gJiB7XG4gICAgICAgICAgICAgICAgdGV4dC1hbGlnbjogbGVmdDtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIGhlaWdodDogMzhweDtcbiAgICAgICAgfVxuICAgIH1cblxuICAgID4gLmNvbnRlbnQge1xuICAgICAgICBkaXNwbGF5OiBmbGV4O1xuICAgICAgICBqdXN0aWZ5LWNvbnRlbnQ6IHNwYWNlLWJldHdlZW47XG4gICAgICAgIHBhZGRpbmc6IDIwcHg7XG4gICAgICAgIGhlaWdodDogY2FsYygxMDAlIC0gMzhweCk7XG4gICAgICAgID4gLmRldGFpbHMge1xuICAgICAgICAgICAgcG9zaXRpb246IHJlbGF0aXZlO1xuICAgICAgICAgICAgbGluZS1oZWlnaHQ6IDE7XG4gICAgICAgICAgICBmbGV4OiA0O1xuICAgICAgICAgICAgZGlzcGxheTogZmxleDtcbiAgICAgICAgICAgIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gICAgICAgICAgICBqdXN0aWZ5LWNvbnRlbnQ6IHNwYWNlLWJldHdlZW47XG5cbiAgICAgICAgICAgID4gLnNlY3RvciB7XG4gICAgICAgICAgICAgICAgZm9udC1zaXplOiAxNHB4O1xuICAgICAgICAgICAgICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgICAgICAgICAgICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbiAgICAgICAgICAgICAgICA+IC5pbWFnZSB7XG4gICAgICAgICAgICAgICAgICAgIG1hcmdpbi1yaWdodDogNnB4O1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICA+IC50ZXh0IHtcbiAgICAgICAgICAgICAgICAgICAgPiAudGl0bGUge1xuICAgICAgICAgICAgICAgICAgICAgICAgZm9udC13ZWlnaHQ6IDMwMDtcbiAgICAgICAgICAgICAgICAgICAgICAgIC8qIG1hcmdpbi1ib3R0b206IDdweDsgKi9cbiAgICAgICAgICAgICAgICAgICAgICAgIG1hcmdpbjogMDtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICA+IC5zZWN0b3ItdHlwZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBmb250LXdlaWdodDogNzAwO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgPiAuY2hhcnQge1xuICAgICAgICAgICAgZmxleDogMjtcbiAgICAgICAgICAgIGhlaWdodDogMTAwJTtcbiAgICAgICAgICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcbiAgICAgICAgfVxuXG4gICAgICAgIEBtZWRpYSAobWF4LXdpZHRoOiA1MDBweCkge1xuICAgICAgICAgICAgPiAuZGV0YWlscyB7XG4gICAgICAgICAgICAgICAgZmxleDogMjtcbiAgICAgICAgICAgICAgICA+IC5wZXJjZW50IHtcbiAgICAgICAgICAgICAgICAgICAgZm9udC1zaXplOiAxMnB4O1xuXG4gICAgICAgICAgICAgICAgICAgID4gLm51bWJlciB7XG4gICAgICAgICAgICAgICAgICAgICAgICBmb250LXNpemU6IDE4cHg7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICA+IC5zZWN0b3Ige1xuICAgICAgICAgICAgICAgICAgICBmb250LXNpemU6IDEycHg7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuYDtcbi8vICNmNjcxMjk0ZFxuZXhwb3J0IGNvbnN0IGNvbG9ycyA9IHtcbiAgICBoaWdoOiAnI2Y2NzEyOScsXG4gICAgZXh0cmVtZTogJyNmNjAwNGYnLFxuICAgIG1lZGl1bTogJyNmNmIyMmYnLFxuICAgIG5vbmU6ICcjZWJlYmViJyxcbn07XG4iXX0=