@kando-env/kando-ui 1.0.9 → 1.0.11-alpha.1

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 (289) hide show
  1. package/lib/CovidView/views/components/Body.js +3 -2
  2. package/lib/CovidView/views/components/Map.js +4 -3
  3. package/lib/CovidView/views/components/MapStyle.scss +4 -0
  4. package/lib/CovidView/views/components/Sidebar.js +2 -1
  5. package/lib/CovidView/views/components/Summary.js +3 -2
  6. package/lib/CovidView/views/components/TrendGraphNVL/TrendGraphNVL.js +4 -3
  7. package/lib/CovidView/views/components/TrendGraphNVL/index.js +2 -1
  8. package/lib/CovidView/views/components/TrendPopupContent/TrendPopupContent.js +6 -9
  9. package/lib/CovidView/views/components/TrendPopupContent/index.js +2 -1
  10. package/lib/CovidView/views/components/areas/Area.js +3 -2
  11. package/lib/CovidView/views/components/areas/AreaPolygonWBE.js +2 -1
  12. package/lib/CovidView/views/components/areas/AreaPolygonsWBE.js +2 -1
  13. package/lib/CovidView/views/components/areas/AreasList.js +3 -2
  14. package/lib/CovidView/views/components/areas/Sort.js +3 -2
  15. package/lib/CovidView/views/covidView.js +2 -1
  16. package/lib/DashboardV2/AreaDashboard.js +4 -3
  17. package/lib/DashboardV2/Header/DoubleTabs/DoubleTabs.js +96 -0
  18. package/lib/DashboardV2/Header/DoubleTabs/DoubleTabs.stories.js +31 -0
  19. package/lib/DashboardV2/Header/DoubleTabs/styles.js +32 -0
  20. package/lib/DashboardV2/Header/Header.js +21 -0
  21. package/lib/DashboardV2/Header/Header.stories.js +29 -0
  22. package/lib/DashboardV2/Header/InfoBar/Breadcrumbs/Breadcrumbs.js +42 -0
  23. package/lib/DashboardV2/Header/InfoBar/Breadcrumbs/right-arrow-bold.svg +44 -0
  24. package/lib/DashboardV2/Header/InfoBar/Breadcrumbs/right-arrow-light.svg +44 -0
  25. package/lib/DashboardV2/Header/InfoBar/InfoBar.js +68 -0
  26. package/lib/DashboardV2/Header/Toolbar/Toolbar.js +116 -0
  27. package/lib/DashboardV2/Header/Toolbar/arrow.svg +44 -0
  28. package/lib/DashboardV2/Header/Toolbar/user.svg +3 -0
  29. package/lib/DashboardV2/SamplingParameters/NoResults/NoResults.js +21 -10
  30. package/lib/DashboardV2/SamplingParameters/NoResults/NoResults.stories.js +2 -1
  31. package/lib/DashboardV2/SamplingParameters/ParametersContainer/ParametersButtons/ParameterButton/ParameterButton.js +2 -1
  32. package/lib/DashboardV2/SamplingParameters/ParametersContainer/ParametersButtons/ParametersButtons.js +4 -7
  33. package/lib/DashboardV2/SamplingParameters/ParametersContainer/ParametersButtons/styles.js +3 -2
  34. package/lib/DashboardV2/SamplingParameters/ParametersContainer/ParametersContainer.js +3 -2
  35. package/lib/DashboardV2/SamplingParameters/SamplingContainer/ExceptionBar/ExceptionBar.js +9 -10
  36. package/lib/DashboardV2/SamplingParameters/SamplingContainer/ExceptionBar/ExceptionBar.stories.js +2 -1
  37. package/lib/DashboardV2/SamplingParameters/SamplingContainer/ExceptionBar/styles.js +3 -2
  38. package/lib/DashboardV2/SamplingParameters/SamplingContainer/ExpandableSamplingTable/ExpandableSamplingTable.js +25 -14
  39. package/lib/DashboardV2/SamplingParameters/SamplingContainer/ExpandableSamplingTable/ExpandableSamplingTable.scss +40 -19
  40. package/lib/DashboardV2/SamplingParameters/SamplingContainer/SamplingContainer.js +2 -1
  41. package/lib/DashboardV2/SamplingParameters/SamplingParameters.js +12 -10
  42. package/lib/DashboardV2/SamplingParameters/SamplingParameters.mock.js +2 -1
  43. package/lib/DashboardV2/SamplingParameters/SamplingParameters.stories.js +3 -3
  44. package/lib/DashboardV2/SamplingParameters/charts/ParametersChart.js +11 -3
  45. package/lib/DashboardV2/SamplingParameters/charts/SamplingChart.js +2 -1
  46. package/lib/DashboardV2/SamplingParameters/charts/options/options.js +15 -8
  47. package/lib/DashboardV2/SamplingParameters/dataParser.js +12 -3
  48. package/lib/DashboardV2/SamplingParameters/models.js +2 -1
  49. package/lib/DashboardV2/SamplingParameters/styles/samplingParameters.js +14 -8
  50. package/lib/DashboardV2/SamplingParameters/styles/styles.js +6 -6
  51. package/lib/DashboardV2/SiteDashboard.js +14 -12
  52. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/AreaBox/AreaBox.js +34 -35
  53. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/AreaBox/Map/Map.js +41 -0
  54. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/AreaBox/Map/Map.scss +18 -0
  55. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/AreaBox/PieChart/PieChart.js +11 -5
  56. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/AreaBox/styles.js +3 -2
  57. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/Areas.js +30 -30
  58. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/areas.mock.js +242 -0
  59. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/areasResponse.interface.js +6 -0
  60. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/styles.js +2 -1
  61. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Factories/Factories.js +49 -38
  62. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Factories/FactoryBox/FactoryBox.js +20 -55
  63. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Factories/FactoryBox/PieChart/PieChart.js +11 -5
  64. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Factories/FactoryBox/styles.js +3 -8
  65. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Factories/factories.mock.js +4297 -0
  66. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Factories/factoriesResponse.interface.js +6 -0
  67. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Factories/styles.js +3 -2
  68. package/lib/DashboardV2/UtilityDashboard/MostPolluting/MostPolluting.js +21 -17
  69. package/lib/DashboardV2/UtilityDashboard/MostPolluting/MostPolluting.stories.js +80 -111
  70. package/lib/DashboardV2/UtilityDashboard/MostPolluting/ShowMore/ShowMore.js +5 -2
  71. package/lib/DashboardV2/UtilityDashboard/MostPolluting/ShowMore/styles.js +2 -1
  72. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Tabs/Tabs.js +17 -30
  73. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Tabs/Tabs.stories.js +2 -1
  74. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Tabs/assets/index.js +6 -5
  75. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Tabs/assets/shape.svg +3 -3
  76. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Tabs/assets/water.svg +2 -3
  77. package/lib/DashboardV2/UtilityDashboard/MostPolluting/assets/index.js +7 -6
  78. package/lib/DashboardV2/UtilityDashboard/MostPolluting/components/ChangePercent.js +52 -0
  79. package/lib/DashboardV2/UtilityDashboard/MostPolluting/models.js +1 -1
  80. package/lib/DashboardV2/UtilityDashboard/MostPolluting/styles.js +4 -3
  81. package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/MostSevereEvents.js +51 -25
  82. package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/MostSevereEvents.scss +16 -7
  83. package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/MostSevereEvents.stories.js +2 -1
  84. package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/NoEvents/NoEvents.js +18 -9
  85. package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/NoEvents/NoEvents.stories.js +2 -1
  86. package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/SevereEvent/SevereEvent.js +63 -42
  87. package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/SevereEvent/SevereEvent.scss +54 -23
  88. package/lib/DashboardV2/UtilityDashboard/MostSevereEvents/models.js +2 -1
  89. package/lib/DashboardV2/UtilityDashboard/TopBar/MostCommon/Back/Back.js +6 -6
  90. package/lib/DashboardV2/UtilityDashboard/TopBar/MostCommon/MostCommon.js +16 -18
  91. package/lib/DashboardV2/UtilityDashboard/TopBar/MostCommon/styles.js +3 -2
  92. package/lib/DashboardV2/UtilityDashboard/TopBar/QualitySummary/PieChart/LegendMenu/LegendMenu.js +34 -0
  93. package/lib/DashboardV2/UtilityDashboard/TopBar/QualitySummary/PieChart/PieChart.js +57 -32
  94. package/lib/DashboardV2/UtilityDashboard/TopBar/QualitySummary/PollutedLine/PollutedLine.js +4 -3
  95. package/lib/DashboardV2/UtilityDashboard/TopBar/QualitySummary/QualitySummary.js +48 -28
  96. package/lib/DashboardV2/UtilityDashboard/TopBar/QualitySummary/qualitySummary.mock.js +30 -0
  97. package/lib/DashboardV2/UtilityDashboard/TopBar/QualitySummary/qualitySummaryResponse.interface.js +6 -0
  98. package/lib/DashboardV2/UtilityDashboard/TopBar/QualitySummary/styles.js +5 -4
  99. package/lib/DashboardV2/UtilityDashboard/TopBar/TopBar.js +3 -22
  100. package/lib/DashboardV2/UtilityDashboard/TopBar/UtilityInformation/UtilityInformation.js +61 -19
  101. package/lib/DashboardV2/UtilityDashboard/TopBar/UtilityInformation/UtilityInformationResponse.interface.js +6 -0
  102. package/lib/DashboardV2/UtilityDashboard/TopBar/UtilityInformation/styles.js +7 -6
  103. package/lib/DashboardV2/UtilityDashboard/TopBar/UtilityInformation/utilityInformation.mock.js +15 -0
  104. package/lib/DashboardV2/UtilityDashboard/TopBar/styles.js +3 -2
  105. package/lib/DashboardV2/UtilityDashboard/UtilityDashboard.js +19 -7
  106. package/lib/DashboardV2/UtilityDashboard/UtilityDashboard.stories.js +107 -122
  107. package/lib/DashboardV2/UtilityDashboard/initMsw.js +17 -0
  108. package/lib/DashboardV2/WaterAuthorityDashboard.js +12 -8
  109. package/lib/DashboardV2/index.js +2 -1
  110. package/lib/DashboardV2/styles.scss +5 -3
  111. package/lib/DashboardV2/types/IDashboardData.js +2 -1
  112. package/lib/DashboardV2/useApiWithDashboardQuery.js +66 -0
  113. package/lib/EventsView/views/components/Body.js +29 -49
  114. package/lib/EventsView/views/components/areas/AreaPolygon.js +2 -1
  115. package/lib/EventsView/views/components/areas/AreaPolygons.js +3 -2
  116. package/lib/EventsView/views/components/edges/Edge.js +2 -1
  117. package/lib/EventsView/views/components/edges/Edges.js +2 -1
  118. package/lib/EventsView/views/components/events/EventIndicator.js +2 -1
  119. package/lib/EventsView/views/components/events/EventPath.js +2 -1
  120. package/lib/EventsView/views/components/events/MoreInfo.js +2 -1
  121. package/lib/EventsView/views/components/events/Sidebar.js +2 -1
  122. package/lib/EventsView/views/components/events/event_info/EarlyWarnings.js +2 -1
  123. package/lib/EventsView/views/components/events/event_info/EventDetails.js +2 -1
  124. package/lib/EventsView/views/components/events/event_info/EventInfo.js +3 -2
  125. package/lib/EventsView/views/components/events/event_info/EventTimeRange.js +3 -2
  126. package/lib/EventsView/views/components/events/event_info/HistoricalInformation.js +2 -1
  127. package/lib/EventsView/views/components/events/event_info/MiniEventTree.js +3 -2
  128. package/lib/EventsView/views/components/events/event_info/MobileEventPath.js +2 -1
  129. package/lib/EventsView/views/components/events/event_info/PollutionDischarge.js +2 -1
  130. package/lib/EventsView/views/components/events/event_info/charts/EventDetailsLineChart.js +3 -2
  131. package/lib/EventsView/views/components/events/event_info/charts/EventDetailsPieChart.js +3 -2
  132. package/lib/EventsView/views/components/events/event_info/damage_type/DamageType.js +3 -2
  133. package/lib/EventsView/views/components/events/event_info/samplings/Sampling.js +2 -1
  134. package/lib/EventsView/views/components/events/event_info/samplings/Samplings.js +2 -1
  135. package/lib/EventsView/views/components/events/event_info/sources/Source.js +2 -1
  136. package/lib/EventsView/views/components/events/event_info/sources/Sources.js +2 -1
  137. package/lib/EventsView/views/components/events/events_list/EventItem.js +2 -1
  138. package/lib/EventsView/views/components/events/events_list/EventsList.js +3 -2
  139. package/lib/EventsView/views/components/events/events_list/Filter/Filter.js +3 -2
  140. package/lib/EventsView/views/components/events/events_list/Filter/FilterContainer.js +4 -3
  141. package/lib/EventsView/views/components/events/events_list/Filter/FilterItem.js +2 -1
  142. package/lib/EventsView/views/components/events/events_list/Filter/FiltersDropDown.js +2 -1
  143. package/lib/EventsView/views/components/events/events_list/Filter/OptionsDropDown.js +4 -3
  144. package/lib/EventsView/views/components/events/events_list/Sort.js +3 -2
  145. package/lib/EventsView/views/components/map/FloatingGraph.js +2 -1
  146. package/lib/EventsView/views/components/map/Map.js +13 -5
  147. package/lib/EventsView/views/components/map/Map.stories.js +33 -0
  148. package/lib/EventsView/views/components/map/mapStyle.scss +6 -0
  149. package/lib/EventsView/views/components/points/PointMarker.js +2 -1
  150. package/lib/EventsView/views/components/points/PointMarkers.js +2 -1
  151. package/lib/EventsView/views/eventsView.js +2 -1
  152. package/lib/Router.js +11 -6
  153. package/lib/fonts/Gilroy-ExtraBold.otf +0 -0
  154. package/lib/fonts/Gilroy-Light.otf +0 -0
  155. package/lib/fonts/Gilroy-Regular.otf +0 -0
  156. package/lib/fonts/Gilroy-SemiBold.otf +0 -0
  157. package/lib/index.js +2 -1
  158. package/lib/macros/getVersion.js +10 -0
  159. package/lib/shared/TimeRangeSelector/TimeRangeSelector.js +16 -15
  160. package/lib/shared/TimeRangeSelector/TimeRangeSelector.stories.js +36 -0
  161. package/lib/shared/TimeRangeSelector/constants.js +2 -1
  162. package/lib/shared/TimeRangeSelector/index.js +2 -1
  163. package/lib/shared/TimeRangeSelector/styles.scss +8 -6
  164. package/lib/shared/components/Breadcrumbs/Breadcrumbs.js +2 -1
  165. package/lib/shared/components/Breadcrumbs/index.js +2 -1
  166. package/lib/shared/components/ContentLoader/ContentLoader.js +2 -1
  167. package/lib/shared/components/ContentLoader/index.js +2 -1
  168. package/lib/shared/components/DamageType/DamageType.js +3 -2
  169. package/lib/shared/components/DamageType/index.js +2 -1
  170. package/lib/shared/components/DataLoaderError/DataLoaderError.js +30 -0
  171. package/lib/shared/components/DischargeHeatmap/DischargeHeatmap.js +3 -2
  172. package/lib/shared/components/DischargeHeatmap/index.js +2 -1
  173. package/lib/shared/components/DoubleTabs/DoubleTabs.js +2 -1
  174. package/lib/shared/components/DoubleTabs/DoubleTabs.stories.js +2 -1
  175. package/lib/shared/components/DoubleTabs/styles.js +14 -8
  176. package/lib/shared/components/ErrorBoundary.js +7 -12
  177. package/lib/shared/components/Events/Events.js +11 -14
  178. package/lib/shared/components/Events/index.js +2 -1
  179. package/lib/shared/components/Graph/Graph.js +7 -10
  180. package/lib/shared/components/Graph/index.js +2 -1
  181. package/lib/shared/components/InfoBar/InfoBar.js +76 -0
  182. package/lib/shared/components/InfoBar/InfoBar.stories.js +32 -0
  183. package/lib/shared/components/KandoModal/KandoModal.js +3 -2
  184. package/lib/shared/components/KandoModal/index.js +2 -1
  185. package/lib/shared/components/KandoNavbar/KandoNavbar.js +13 -6
  186. package/lib/shared/components/KandoNavbar/index.js +2 -1
  187. package/lib/shared/components/LiveEvents/CarouselSlide.js +2 -1
  188. package/lib/shared/components/LiveEvents/LiveEvents.js +2 -1
  189. package/lib/shared/components/LiveEvents/index.js +2 -1
  190. package/lib/shared/components/LoaderByPercent/LoaderByPercent.js +2 -1
  191. package/lib/shared/components/Map/Map.js +3 -2
  192. package/lib/shared/components/Map/index.js +2 -1
  193. package/lib/shared/components/NarrowHeader.js +7 -12
  194. package/lib/shared/components/PointInfo/PointInfo.js +2 -1
  195. package/lib/shared/components/PointInfo/index.js +2 -1
  196. package/lib/shared/components/PopupModal/PopupModal.js +45 -0
  197. package/lib/shared/components/PopupModal/PopupModal.stories.js +53 -0
  198. package/lib/shared/components/Search/Search.js +8 -15
  199. package/lib/shared/components/Search/index.js +2 -1
  200. package/lib/shared/components/Sector/Sector.js +56 -34
  201. package/lib/shared/components/Sector/index.js +2 -1
  202. package/lib/shared/components/Sector/styles.scss +5 -3
  203. package/lib/shared/components/Select/Select.js +6 -9
  204. package/lib/shared/components/Select/Select.scss +1 -1
  205. package/lib/shared/components/Select/Select.stories.js +2 -1
  206. package/lib/shared/components/Spinner/Spinner.js +12 -7
  207. package/lib/shared/components/Spinner/Spinner.stories.js +2 -1
  208. package/lib/shared/components/Spinner/index.js +2 -1
  209. package/lib/shared/components/Spinner/styles.js +44 -0
  210. package/lib/shared/components/Toggle/Toggle.js +3 -2
  211. package/lib/shared/components/Toggle/index.js +2 -1
  212. package/lib/shared/components/TrendGraph/TrendGraph.js +8 -10
  213. package/lib/shared/components/TrendGraph/index.js +2 -1
  214. package/lib/shared/components/TrendGraphNVL/TrendGraphNVL.js +3 -2
  215. package/lib/shared/components/TrendGraphNVL/index.js +2 -1
  216. package/lib/shared/helpers/kql.js +2 -1
  217. package/lib/shared/helpers/time.js +2 -1
  218. package/lib/shared/models/IAction.js +2 -1
  219. package/lib/shared/models/IAppState.js +2 -1
  220. package/lib/shared/redux/WBE/actionTypes.js +2 -1
  221. package/lib/shared/redux/WBE/actions.js +2 -1
  222. package/lib/shared/redux/WBE/models/IAreaWBE.js +2 -1
  223. package/lib/shared/redux/WBE/models/IWBE.js +2 -1
  224. package/lib/shared/redux/WBE/models/IWBEState.js +2 -1
  225. package/lib/shared/redux/WBE/reducer.js +4 -7
  226. package/lib/shared/redux/areas/actionTypes.js +2 -1
  227. package/lib/shared/redux/areas/actions.js +2 -1
  228. package/lib/shared/redux/areas/models/IArea.js +2 -1
  229. package/lib/shared/redux/areas/models/IAreasState.js +2 -1
  230. package/lib/shared/redux/areas/reducer.js +2 -1
  231. package/lib/shared/redux/context/actionTypes.js +2 -1
  232. package/lib/shared/redux/context/actions.js +2 -1
  233. package/lib/shared/redux/context/models/INavContext.js +2 -1
  234. package/lib/shared/redux/context/models/INavContextState.js +2 -1
  235. package/lib/shared/redux/context/reducer.js +4 -7
  236. package/lib/shared/redux/dashboard/dashboardSlice.js +24 -0
  237. package/lib/shared/redux/edges/actionTypes.js +2 -1
  238. package/lib/shared/redux/edges/actions.js +2 -1
  239. package/lib/shared/redux/edges/models/IEdge.js +2 -1
  240. package/lib/shared/redux/edges/models/IEdgesState.js +2 -1
  241. package/lib/shared/redux/edges/reducer.js +3 -2
  242. package/lib/shared/redux/events/actionTypes.js +2 -1
  243. package/lib/shared/redux/events/actions.js +2 -1
  244. package/lib/shared/redux/events/models/IEvent.js +2 -1
  245. package/lib/shared/redux/events/models/IEventsState.js +2 -1
  246. package/lib/shared/redux/events/models/ISource.js +2 -1
  247. package/lib/shared/redux/events/reducer.js +8 -11
  248. package/lib/shared/redux/filters/IFilter.js +2 -1
  249. package/lib/shared/redux/filters/IFilterItem.js +2 -1
  250. package/lib/shared/redux/global/actionTypes.js +2 -1
  251. package/lib/shared/redux/global/actions.js +3 -2
  252. package/lib/shared/redux/global/models/IGlobalState.js +2 -1
  253. package/lib/shared/redux/global/reducer.js +2 -1
  254. package/lib/shared/redux/points/actionTypes.js +2 -1
  255. package/lib/shared/redux/points/actions.js +2 -1
  256. package/lib/shared/redux/points/models/IGroup.js +2 -1
  257. package/lib/shared/redux/points/models/IPoint.js +2 -1
  258. package/lib/shared/redux/points/models/IPointsState.js +2 -1
  259. package/lib/shared/redux/points/reducer.js +2 -1
  260. package/lib/shared/redux/rootActionTypes.js +2 -1
  261. package/lib/shared/redux/rootActions.js +2 -1
  262. package/lib/shared/redux/rootReducer.js +6 -2
  263. package/lib/shared/redux/rootStore.js +16 -5
  264. package/lib/shared/utilities/ActionUtility.js +2 -1
  265. package/lib/shared/utilities/ErrorBoundary.js +7 -12
  266. package/lib/shared/utilities/KandoDate.js +5 -3
  267. package/lib/shared/utilities/KandoModal.js +3 -2
  268. package/lib/shared/utilities/LocalStorage.js +2 -1
  269. package/lib/shared/utilities/TimeFormat.js +2 -1
  270. package/lib/shared/utilities/Truncate.js +3 -2
  271. package/lib/shared/utilities/custom_hooks/map/pin-water.svg +22 -0
  272. package/lib/shared/utilities/custom_hooks/useApi.js +17 -6
  273. package/lib/shared/utilities/custom_hooks/useClickOutside.js +2 -1
  274. package/lib/shared/utilities/custom_hooks/useKandoFetch.js +3 -2
  275. package/lib/shared/utilities/custom_hooks/useMap.js +94 -0
  276. package/lib/shared/utilities/custom_hooks/useQueryURL.js +2 -1
  277. package/lib/shared/utilities/custom_hooks/useRemoveExistingLayers.js +2 -1
  278. package/lib/shared/utilities/custom_hooks/useUpdateEventBodyTail.js +2 -1
  279. package/lib/shared/utilities/custom_hooks/useWindowSize.js +3 -2
  280. package/lib/shared/utilities/i18n.js +4 -3
  281. package/lib/styles.scss +38 -0
  282. package/package.json +54 -45
  283. package/lib/DashboardV2/UtilityDashboard/MostPolluting/Areas/AreaBox/AreaMap/AreaMap.js +0 -66
  284. package/lib/DashboardV2/UtilityDashboard/TopBar/models.js +0 -5
  285. package/lib/DashboardV2/UtilityDashboard/mocks/areas.mock.js +0 -320
  286. package/lib/DashboardV2/UtilityDashboard/mocks/events.mock.js +0 -345
  287. package/lib/DashboardV2/UtilityDashboard/mocks/factories.mock.js +0 -140
  288. package/lib/DashboardV2/UtilityDashboard/mocks/index.js +0 -29
  289. package/lib/shared/components/Spinner/style/spinner.js +0 -25
@@ -1,320 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.areasArr = void 0;
7
- var areasArr = [{
8
- title: 'Vallese - indsutrial zon.',
9
- percent: 0.1,
10
- factories: 5,
11
- status: 'high',
12
- locationLatLon: [32.0929012, 34.8072057],
13
- points: [[32.09464364419881, 34.8044514656067], [32.0943523859244, 34.81043815612794], [32.09074798793366, 34.80904340744019], [32.09103925769882, 34.80406522750855]],
14
- quality: {
15
- extreme: 20,
16
- high: 5,
17
- medium: 50,
18
- rest: 25
19
- }
20
- }, {
21
- title: 'South Industrial',
22
- percent: -0.2,
23
- factories: 3,
24
- locationLatLon: [32.0929012, 34.8072057],
25
- status: 'high',
26
- points: [[32.09464364419881, 34.8044514656067], [32.0943523859244, 34.81043815612794], [32.09074798793366, 34.80904340744019], [32.09103925769882, 34.80406522750855]],
27
- quality: {
28
- extreme: 5,
29
- high: 3,
30
- medium: 17,
31
- rest: 75
32
- }
33
- }, {
34
- title: 'North Industrial',
35
- percent: 0.4,
36
- factories: 2,
37
- locationLatLon: [32.0929012, 34.8072057],
38
- status: 'high',
39
- points: [[32.09464364419881, 34.8044514656067], [32.0943523859244, 34.81043815612794], [32.09074798793366, 34.80904340744019], [32.09103925769882, 34.80406522750855]],
40
- quality: {
41
- extreme: 20,
42
- high: 5,
43
- medium: 50,
44
- rest: 25
45
- }
46
- }, {
47
- title: 'Ca Degli Oppin',
48
- percent: -0.3,
49
- factories: 2,
50
- locationLatLon: [32.0929012, 34.8072057],
51
- status: 'high',
52
- points: [[32.09464364419881, 34.8044514656067], [32.0943523859244, 34.81043815612794], [32.09074798793366, 34.80904340744019], [32.09103925769882, 34.80406522750855]],
53
- quality: {
54
- extreme: 5,
55
- high: 3,
56
- medium: 17,
57
- rest: 75
58
- }
59
- }, {
60
- title: 'South Industrial',
61
- percent: 0.2,
62
- factories: 3,
63
- locationLatLon: [32.0929012, 34.8072057],
64
- status: 'none',
65
- points: [[32.09464364419881, 34.8044514656067], [32.0943523859244, 34.81043815612794], [32.09074798793366, 34.80904340744019], [32.09103925769882, 34.80406522750855]],
66
- quality: {
67
- extreme: 20,
68
- high: 5,
69
- medium: 50,
70
- rest: 25
71
- }
72
- }, {
73
- title: 'Ca Degli Oppin',
74
- percent: -0.3,
75
- factories: 2,
76
- locationLatLon: [32.0929012, 34.8072057],
77
- status: 'medium',
78
- points: [[32.09464364419881, 34.8044514656067], [32.0943523859244, 34.81043815612794], [32.09074798793366, 34.80904340744019], [32.09103925769882, 34.80406522750855]],
79
- quality: {
80
- extreme: 5,
81
- high: 3,
82
- medium: 17,
83
- rest: 75
84
- }
85
- }, {
86
- title: 'Ca Degli Oppin',
87
- percent: -0.1,
88
- factories: 5,
89
- locationLatLon: [32.0929012, 34.8072057],
90
- status: 'medium',
91
- points: [[32.09464364419881, 34.8044514656067], [32.0943523859244, 34.81043815612794], [32.09074798793366, 34.80904340744019], [32.09103925769882, 34.80406522750855]],
92
- quality: {
93
- extreme: 1,
94
- high: 4,
95
- medium: 35,
96
- rest: 60
97
- }
98
- }, {
99
- title: 'North Industrial',
100
- percent: 0.1,
101
- factories: 2,
102
- locationLatLon: [32.0929012, 34.8072057],
103
- status: 'none',
104
- points: [[32.09464364419881, 34.8044514656067], [32.0943523859244, 34.81043815612794], [32.09074798793366, 34.80904340744019], [32.09103925769882, 34.80406522750855]],
105
- quality: {
106
- extreme: 2,
107
- high: 1,
108
- medium: 12,
109
- rest: 85
110
- }
111
- }, {
112
- title: 'Vallese - indsutrial zon.',
113
- percent: 0.1,
114
- factories: 5,
115
- locationLatLon: [32.0929012, 34.8072057],
116
- status: 'high',
117
- points: [[32.09464364419881, 34.8044514656067], [32.0943523859244, 34.81043815612794], [32.09074798793366, 34.80904340744019], [32.09103925769882, 34.80406522750855]],
118
- quality: {
119
- extreme: 5,
120
- high: 3,
121
- medium: 17,
122
- rest: 75
123
- }
124
- }, {
125
- title: 'South Industrial',
126
- percent: -0.2,
127
- factories: 3,
128
- locationLatLon: [32.0929012, 34.8072057],
129
- status: 'high',
130
- points: [[32.09464364419881, 34.8044514656067], [32.0943523859244, 34.81043815612794], [32.09074798793366, 34.80904340744019], [32.09103925769882, 34.80406522750855]],
131
- quality: {
132
- extreme: 3,
133
- high: 3,
134
- medium: 17,
135
- rest: 77
136
- }
137
- }, {
138
- title: 'North Industrial',
139
- percent: 0.4,
140
- factories: 2,
141
- locationLatLon: [32.0929012, 34.8072057],
142
- status: 'medium',
143
- points: [[32.09464364419881, 34.8044514656067], [32.0943523859244, 34.81043815612794], [32.09074798793366, 34.80904340744019], [32.09103925769882, 34.80406522750855]],
144
- quality: {
145
- extreme: 5,
146
- high: 3,
147
- medium: 17,
148
- rest: 75
149
- }
150
- }, {
151
- title: 'Ca Degli Oppin',
152
- percent: -0.3,
153
- factories: 2,
154
- locationLatLon: [32.0929012, 34.8072057],
155
- status: 'high',
156
- points: [[32.09464364419881, 34.8044514656067], [32.0943523859244, 34.81043815612794], [32.09074798793366, 34.80904340744019], [32.09103925769882, 34.80406522750855]],
157
- quality: {
158
- extreme: 5,
159
- high: 3,
160
- medium: 17,
161
- rest: 75
162
- }
163
- }, {
164
- title: 'South Industrial',
165
- percent: -0.2,
166
- factories: 3,
167
- locationLatLon: [32.0929012, 34.8072057],
168
- status: 'high',
169
- points: [[32.09464364419881, 34.8044514656067], [32.0943523859244, 34.81043815612794], [32.09074798793366, 34.80904340744019], [32.09103925769882, 34.80406522750855]],
170
- quality: {
171
- extreme: 5,
172
- high: 3,
173
- medium: 17,
174
- rest: 75
175
- }
176
- }, {
177
- title: 'Ca Degli Oppin',
178
- percent: 0.3,
179
- factories: 2,
180
- locationLatLon: [32.0929012, 34.8072057],
181
- status: 'medium',
182
- points: [[32.09464364419881, 34.8044514656067], [32.0943523859244, 34.81043815612794], [32.09074798793366, 34.80904340744019], [32.09103925769882, 34.80406522750855]],
183
- quality: {
184
- extreme: 5,
185
- high: 3,
186
- medium: 17,
187
- rest: 75
188
- }
189
- }, {
190
- title: 'Ca Degli Oppin',
191
- percent: 0.1,
192
- factories: 5,
193
- locationLatLon: [32.0929012, 34.8072057],
194
- status: 'high',
195
- points: [[32.09464364419881, 34.8044514656067], [32.0943523859244, 34.81043815612794], [32.09074798793366, 34.80904340744019], [32.09103925769882, 34.80406522750855]],
196
- quality: {
197
- extreme: 5,
198
- high: 3,
199
- medium: 17,
200
- rest: 75
201
- }
202
- }, {
203
- title: 'North Industrial',
204
- percent: 0.1,
205
- factories: 2,
206
- locationLatLon: [32.0929012, 34.8072057],
207
- status: 'high',
208
- points: [[32.09464364419881, 34.8044514656067], [32.0943523859244, 34.81043815612794], [32.09074798793366, 34.80904340744019], [32.09103925769882, 34.80406522750855]],
209
- quality: {
210
- extreme: 5,
211
- high: 3,
212
- medium: 17,
213
- rest: 75
214
- }
215
- }, {
216
- title: 'Vallese - indsutrial zon.',
217
- percent: 0.1,
218
- factories: 5,
219
- locationLatLon: [32.0929012, 34.8072057],
220
- status: 'medium',
221
- points: [[32.09464364419881, 34.8044514656067], [32.0943523859244, 34.81043815612794], [32.09074798793366, 34.80904340744019], [32.09103925769882, 34.80406522750855]],
222
- quality: {
223
- extreme: 5,
224
- high: 3,
225
- medium: 17,
226
- rest: 75
227
- }
228
- }, {
229
- title: 'South Industrial',
230
- percent: -0.2,
231
- factories: 3,
232
- locationLatLon: [32.0929012, 34.8072057],
233
- status: 'high',
234
- points: [[32.09464364419881, 34.8044514656067], [32.0943523859244, 34.81043815612794], [32.09074798793366, 34.80904340744019], [32.09103925769882, 34.80406522750855]],
235
- quality: {
236
- extreme: 5,
237
- high: 3,
238
- medium: 17,
239
- rest: 75
240
- }
241
- }, {
242
- title: 'North Industrial',
243
- percent: 0.4,
244
- factories: 2,
245
- locationLatLon: [32.0929012, 34.8072057],
246
- status: 'extreme',
247
- points: [[32.09464364419881, 34.8044514656067], [32.0943523859244, 34.81043815612794], [32.09074798793366, 34.80904340744019], [32.09103925769882, 34.80406522750855]],
248
- quality: {
249
- extreme: 5,
250
- high: 3,
251
- medium: 17,
252
- rest: 75
253
- }
254
- }, {
255
- title: 'Ca Degli Oppin',
256
- percent: 0.3,
257
- factories: 2,
258
- locationLatLon: [32.0929012, 34.8072057],
259
- status: 'high',
260
- points: [[32.09464364419881, 34.8044514656067], [32.0943523859244, 34.81043815612794], [32.09074798793366, 34.80904340744019], [32.09103925769882, 34.80406522750855]],
261
- quality: {
262
- extreme: 5,
263
- high: 3,
264
- medium: 17,
265
- rest: 75
266
- }
267
- }, {
268
- title: 'South Industrial',
269
- percent: -0.2,
270
- factories: 3,
271
- locationLatLon: [32.0929012, 34.8072057],
272
- status: 'high',
273
- points: [[32.09464364419881, 34.8044514656067], [32.0943523859244, 34.81043815612794], [32.09074798793366, 34.80904340744019], [32.09103925769882, 34.80406522750855]],
274
- quality: {
275
- extreme: 5,
276
- high: 3,
277
- medium: 17,
278
- rest: 75
279
- }
280
- }, {
281
- title: 'Ca Degli Oppin',
282
- percent: 0.3,
283
- factories: 2,
284
- locationLatLon: [32.0929012, 34.8072057],
285
- status: 'high',
286
- points: [[32.09464364419881, 34.8044514656067], [32.0943523859244, 34.81043815612794], [32.09074798793366, 34.80904340744019], [32.09103925769882, 34.80406522750855]],
287
- quality: {
288
- extreme: 5,
289
- high: 3,
290
- medium: 17,
291
- rest: 75
292
- }
293
- }, {
294
- title: 'Ca Degli Oppin',
295
- percent: 0.1,
296
- factories: 5,
297
- locationLatLon: [32.0929012, 34.8072057],
298
- status: 'extreme',
299
- points: [[32.09464364419881, 34.8044514656067], [32.0943523859244, 34.81043815612794], [32.09074798793366, 34.80904340744019], [32.09103925769882, 34.80406522750855]],
300
- quality: {
301
- extreme: 5,
302
- high: 3,
303
- medium: 17,
304
- rest: 75
305
- }
306
- }, {
307
- title: 'North Industrial',
308
- percent: 0.1,
309
- factories: 2,
310
- locationLatLon: [32.0929012, 34.8072057],
311
- status: 'extreme',
312
- points: [[32.09464364419881, 34.8044514656067], [32.0943523859244, 34.81043815612794], [32.09074798793366, 34.80904340744019], [32.09103925769882, 34.80406522750855]],
313
- quality: {
314
- extreme: 5,
315
- high: 3,
316
- medium: 17,
317
- rest: 75
318
- }
319
- }];
320
- exports.areasArr = areasArr;
@@ -1,345 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.eventsArr = void 0;
7
- var eventsArr = [{
8
- damages: [0, 1, 2],
9
- firstSeen: {
10
- addr: 'PHELPS DODGE EL PASOsss',
11
- date: 'Feb 4, 2021',
12
- time: '10:05PM'
13
- },
14
- lastSeen: {
15
- addr: 'PHELPS DODGE EL PASOsss',
16
- date: 'Feb 4, 2021',
17
- time: '10:05PM'
18
- },
19
- total: '02:20:54',
20
- etaWWTP: {
21
- date: 'Feb 4, 2021 at 10:05PM',
22
- time: '01:10:23',
23
- interestPoints: 2
24
- },
25
- msg: 'This event has higher severity than usual for this factory',
26
- severity: 'extreme'
27
- }, {
28
- damages: [0, 1],
29
- firstSeen: {
30
- addr: 'PHELPS DODGE EL PASOsss',
31
- date: 'Feb 4, 2021',
32
- time: '10:05PM'
33
- },
34
- lastSeen: {
35
- addr: 'PHELPS DODGE EL PASOsss',
36
- date: 'Feb 4, 2021',
37
- time: '10:05PM'
38
- },
39
- total: '02:20:54',
40
- etaWWTP: {
41
- date: 'Feb 4, 2021 at 10:05PM',
42
- time: '08:10:23',
43
- interestPoints: 0
44
- },
45
- severity: 'high'
46
- }, {
47
- damages: [0],
48
- firstSeen: {
49
- addr: 'PHELPS DODGE EL PASOsss',
50
- date: 'Feb 4, 2021',
51
- time: '10:05PM'
52
- },
53
- lastSeen: {
54
- addr: 'PHELPS DODGE EL PASOsss',
55
- date: 'Feb 4, 2021',
56
- time: '10:05PM'
57
- },
58
- total: '12:20:54',
59
- etaWWTP: {
60
- date: 'Feb 4, 2021 at 10:05PM',
61
- time: '12:10:23',
62
- interestPoints: 2
63
- },
64
- severity: 'high'
65
- }, {
66
- damages: [0],
67
- firstSeen: {
68
- addr: 'PHELPS DODGE EL PASOsss',
69
- date: 'Feb 4, 2021',
70
- time: '10:05PM'
71
- },
72
- lastSeen: {
73
- addr: 'PHELPS DODGE EL PASOsss',
74
- date: 'Feb 4, 2021',
75
- time: '10:05PM'
76
- },
77
- total: '01:20:54',
78
- etaWWTP: {
79
- date: 'Feb 4, 2021 at 10:05PM',
80
- time: '12:10:23',
81
- interestPoints: 2
82
- },
83
- severity: 'high'
84
- }, {
85
- damages: [0, 1, 2],
86
- firstSeen: {
87
- addr: 'PHELPS DODGE EL PASOsss',
88
- date: 'Feb 4, 2021',
89
- time: '10:05PM'
90
- },
91
- lastSeen: {
92
- addr: 'PHELPS DODGE EL PASOsss',
93
- date: 'Feb 4, 2021',
94
- time: '10:05PM'
95
- },
96
- total: '03:20:54',
97
- etaWWTP: {
98
- date: 'Feb 4, 2021 at 10:05PM',
99
- time: '01:10:23',
100
- interestPoints: 0
101
- },
102
- msg: 'This event has higher severity than usual for this factory',
103
- severity: 'extreme'
104
- }, {
105
- damages: [0, 1, 2],
106
- firstSeen: {
107
- addr: 'PHELPS DODGE EL PASOsss',
108
- date: 'Feb 4, 2021',
109
- time: '10:05PM'
110
- },
111
- lastSeen: {
112
- addr: 'PHELPS DODGE EL PASOsss',
113
- date: 'Feb 4, 2021',
114
- time: '10:05PM'
115
- },
116
- total: '02:20:54',
117
- etaWWTP: {
118
- date: 'Feb 4, 2021 at 10:05PM',
119
- time: '01:10:23',
120
- interestPoints: 0
121
- },
122
- msg: 'This event has higher severity than usual for this factory',
123
- severity: 'another'
124
- }, {
125
- damages: [0, 1, 2],
126
- firstSeen: {
127
- addr: 'PHELPS DODGE EL PASOsss',
128
- date: 'Feb 4, 2021',
129
- time: '10:05PM'
130
- },
131
- lastSeen: {
132
- addr: 'PHELPS DODGE EL PASOsss',
133
- date: 'Feb 4, 2021',
134
- time: '10:05PM'
135
- },
136
- total: '02:20:54',
137
- etaWWTP: {
138
- date: 'Feb 4, 2021 at 10:05PM',
139
- time: '01:10:23',
140
- interestPoints: 0
141
- },
142
- msg: 'This event has higher severity than usual for this factory',
143
- severity: 'another'
144
- }, {
145
- damages: [0, 1, 2],
146
- firstSeen: {
147
- addr: 'PHELPS DODGE EL PASOsss',
148
- date: 'Feb 4, 2021',
149
- time: '10:05PM'
150
- },
151
- lastSeen: {
152
- addr: 'PHELPS DODGE EL PASOsss',
153
- date: 'Feb 4, 2021',
154
- time: '10:05PM'
155
- },
156
- total: '02:20:54',
157
- etaWWTP: {
158
- date: 'Feb 4, 2021 at 10:05PM',
159
- time: '01:10:23',
160
- interestPoints: 0
161
- },
162
- msg: 'This event has higher severity than usual for this factory',
163
- severity: 'another'
164
- }, {
165
- damages: [0, 1, 2],
166
- firstSeen: {
167
- addr: 'PHELPS DODGE EL PASOsss',
168
- date: 'Feb 4, 2021',
169
- time: '10:05PM'
170
- },
171
- lastSeen: {
172
- addr: 'PHELPS DODGE EL PASOsss',
173
- date: 'Feb 4, 2021',
174
- time: '10:05PM'
175
- },
176
- total: '02:20:54',
177
- etaWWTP: {
178
- date: 'Feb 4, 2021 at 10:05PM',
179
- time: '01:10:23',
180
- interestPoints: 0
181
- },
182
- msg: 'This event has higher severity than usual for this factory',
183
- severity: 'another'
184
- }, {
185
- damages: [0, 1, 2],
186
- firstSeen: {
187
- addr: 'PHELPS DODGE EL PASOsss',
188
- date: 'Feb 4, 2021',
189
- time: '10:05PM'
190
- },
191
- lastSeen: {
192
- addr: 'PHELPS DODGE EL PASOsss',
193
- date: 'Feb 4, 2021',
194
- time: '10:05PM'
195
- },
196
- total: '02:20:54',
197
- etaWWTP: {
198
- date: 'Feb 4, 2021 at 10:05PM',
199
- time: '01:10:23',
200
- interestPoints: 0
201
- },
202
- msg: 'This event has higher severity than usual for this factory',
203
- severity: 'another'
204
- }, {
205
- damages: [0, 1, 2],
206
- firstSeen: {
207
- addr: 'PHELPS DODGE EL PASOsss',
208
- date: 'Feb 4, 2021',
209
- time: '10:05PM'
210
- },
211
- lastSeen: {
212
- addr: 'PHELPS DODGE EL PASOsss',
213
- date: 'Feb 4, 2021',
214
- time: '10:05PM'
215
- },
216
- total: '02:20:54',
217
- etaWWTP: {
218
- date: 'Feb 4, 2021 at 10:05PM',
219
- time: '01:10:23',
220
- interestPoints: 0
221
- },
222
- msg: 'This event has higher severity than usual for this factory',
223
- severity: 'another'
224
- }, {
225
- damages: [0, 1, 2],
226
- firstSeen: {
227
- addr: 'PHELPS DODGE EL PASOsss',
228
- date: 'Feb 4, 2021',
229
- time: '10:05PM'
230
- },
231
- lastSeen: {
232
- addr: 'PHELPS DODGE EL PASOsss',
233
- date: 'Feb 4, 2021',
234
- time: '10:05PM'
235
- },
236
- total: '02:20:54',
237
- etaWWTP: {
238
- date: 'Feb 4, 2021 at 10:05PM',
239
- time: '01:10:23',
240
- interestPoints: 0
241
- },
242
- msg: 'This event has higher severity than usual for this factory',
243
- severity: 'another'
244
- }, {
245
- damages: [0, 1, 2],
246
- firstSeen: {
247
- addr: 'PHELPS DODGE EL PASOsss',
248
- date: 'Feb 4, 2021',
249
- time: '10:05PM'
250
- },
251
- lastSeen: {
252
- addr: 'PHELPS DODGE EL PASOsss',
253
- date: 'Feb 4, 2021',
254
- time: '10:05PM'
255
- },
256
- total: '02:20:54',
257
- etaWWTP: {
258
- date: 'Feb 4, 2021 at 10:05PM',
259
- time: '01:10:23',
260
- interestPoints: 0
261
- },
262
- msg: 'This event has higher severity than usual for this factory',
263
- severity: 'another'
264
- }, {
265
- damages: [0, 1, 2],
266
- firstSeen: {
267
- addr: 'PHELPS DODGE EL PASOsss',
268
- date: 'Feb 4, 2021',
269
- time: '10:05PM'
270
- },
271
- lastSeen: {
272
- addr: 'PHELPS DODGE EL PASOsss',
273
- date: 'Feb 4, 2021',
274
- time: '10:05PM'
275
- },
276
- total: '02:20:54',
277
- etaWWTP: {
278
- date: 'Feb 4, 2021 at 10:05PM',
279
- time: '01:10:23',
280
- interestPoints: 0
281
- },
282
- msg: 'This event has higher severity than usual for this factory',
283
- severity: 'another'
284
- }, {
285
- damages: [0, 1, 2],
286
- firstSeen: {
287
- addr: 'PHELPS DODGE EL PASOsss',
288
- date: 'Feb 4, 2021',
289
- time: '10:05PM'
290
- },
291
- lastSeen: {
292
- addr: 'PHELPS DODGE EL PASOsss',
293
- date: 'Feb 4, 2021',
294
- time: '10:05PM'
295
- },
296
- total: '02:20:54',
297
- etaWWTP: {
298
- date: 'Feb 4, 2021 at 10:05PM',
299
- time: '01:10:23',
300
- interestPoints: 0
301
- },
302
- msg: 'This event has higher severity than usual for this factory',
303
- severity: 'another'
304
- }, {
305
- damages: [0, 1, 2],
306
- firstSeen: {
307
- addr: 'PHELPS DODGE EL PASOsss',
308
- date: 'Feb 4, 2021',
309
- time: '10:05PM'
310
- },
311
- lastSeen: {
312
- addr: 'PHELPS DODGE EL PASOsss',
313
- date: 'Feb 4, 2021',
314
- time: '10:05PM'
315
- },
316
- total: '02:20:54',
317
- etaWWTP: {
318
- date: 'Feb 4, 2021 at 10:05PM',
319
- time: '07:10:23',
320
- interestPoints: 0
321
- },
322
- msg: 'This event has higher severity than usual for this factory',
323
- severity: 'another'
324
- }, {
325
- damages: [0, 1, 2],
326
- firstSeen: {
327
- addr: 'PHELPS DODGE EL PASOsss',
328
- date: 'Feb 4, 2021',
329
- time: '10:05PM'
330
- },
331
- lastSeen: {
332
- addr: 'PHELPS DODGE EL PASOsss',
333
- date: 'Feb 4, 2021',
334
- time: '10:05PM'
335
- },
336
- total: '12:20:54',
337
- etaWWTP: {
338
- date: 'Feb 4, 2021 at 10:05PM',
339
- time: '01:10:23',
340
- interestPoints: 0
341
- },
342
- msg: 'This event has higher severity than usual for this factory',
343
- severity: 'another'
344
- }];
345
- exports.eventsArr = eventsArr;