@kando-env/kando-ui 1.0.0 → 1.0.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 (649) hide show
  1. package/.DS_Store +0 -0
  2. package/.babelrc +10 -0
  3. package/.eslintrc.json +25 -0
  4. package/.nvmrc +1 -0
  5. package/.prettierrc.json +6 -0
  6. package/.storybook/main.js +11 -0
  7. package/.storybook/preview-head.html +43 -0
  8. package/.storybook/preview.js +15 -0
  9. package/.storybook/webpack.config.js +48 -0
  10. package/babel.config.js +15 -0
  11. package/demo-server.js +11 -0
  12. package/index.html +14 -0
  13. package/javascript/.DS_Store +0 -0
  14. package/javascript/bundles/.DS_Store +0 -0
  15. package/javascript/bundles/overview/.DS_Store +0 -0
  16. package/javascript/bundles/overview/views/.DS_Store +0 -0
  17. package/lib-build/CovidView/views/components/Body.js +90 -0
  18. package/lib-build/CovidView/views/components/Map.js +142 -0
  19. package/lib-build/CovidView/views/components/MapStyle.scss +387 -0
  20. package/lib-build/CovidView/views/components/Sidebar.js +50 -0
  21. package/lib-build/CovidView/views/components/SidebarStyle.scss +11 -0
  22. package/lib-build/CovidView/views/components/Summary.js +145 -0
  23. package/lib-build/CovidView/views/components/SummaryStyle.scss +61 -0
  24. package/lib-build/CovidView/views/components/areas/Area.js +171 -0
  25. package/lib-build/CovidView/views/components/areas/AreaPolygonWBE.js +241 -0
  26. package/lib-build/CovidView/views/components/areas/AreaPolygonsWBE.js +81 -0
  27. package/lib-build/CovidView/views/components/areas/AreasList.js +123 -0
  28. package/lib-build/CovidView/views/components/areas/AreasStyle.scss +237 -0
  29. package/lib-build/CovidView/views/components/areas/Sort.js +59 -0
  30. package/lib-build/CovidView/views/components/areas/TrendPopupContent/TrendPopupContent.js +148 -0
  31. package/lib-build/CovidView/views/components/areas/TrendPopupContent/index.js +13 -0
  32. package/lib-build/CovidView/views/components/areas/TrendPopupContent/styles.scss +30 -0
  33. package/lib-build/CovidView/views/covidView.js +46 -0
  34. package/lib-build/DashboardV2/AreaDashboard.js +116 -0
  35. package/lib-build/DashboardV2/SiteDashboard.js +364 -0
  36. package/lib-build/DashboardV2/WaterAuthorityDashboard.js +45 -0
  37. package/lib-build/DashboardV2/index.js +31 -0
  38. package/lib-build/DashboardV2/styles.scss +126 -0
  39. package/lib-build/DashboardV2/types/IDashboardData.js +5 -0
  40. package/lib-build/EventsView/views/_colors.scss +1 -0
  41. package/lib-build/EventsView/views/components/Body.js +76 -0
  42. package/lib-build/EventsView/views/components/areas/AreaPolygon.js +53 -0
  43. package/lib-build/EventsView/views/components/areas/AreaPolygons.js +63 -0
  44. package/lib-build/EventsView/views/components/edges/Edge.js +75 -0
  45. package/lib-build/EventsView/views/components/edges/Edges.js +50 -0
  46. package/lib-build/EventsView/views/components/events/EventIndicator.js +274 -0
  47. package/lib-build/EventsView/views/components/events/EventPath.js +94 -0
  48. package/lib-build/EventsView/views/components/events/EventsStyle.scss +725 -0
  49. package/lib-build/EventsView/views/components/events/MoreInfo.js +72 -0
  50. package/lib-build/EventsView/views/components/events/Sidebar.js +62 -0
  51. package/lib-build/EventsView/views/components/events/event_info/EarlyWarnings.js +151 -0
  52. package/lib-build/EventsView/views/components/events/event_info/EventDetails.js +100 -0
  53. package/lib-build/EventsView/views/components/events/event_info/EventInfo.js +138 -0
  54. package/lib-build/EventsView/views/components/events/event_info/EventInfoStyle.scss +508 -0
  55. package/lib-build/EventsView/views/components/events/event_info/EventTimeRange.js +152 -0
  56. package/lib-build/EventsView/views/components/events/event_info/HistoricalInformation.js +44 -0
  57. package/lib-build/EventsView/views/components/events/event_info/MiniEventTree.js +116 -0
  58. package/lib-build/EventsView/views/components/events/event_info/MobileEventPath.js +39 -0
  59. package/lib-build/EventsView/views/components/events/event_info/PollutionDischarge.js +64 -0
  60. package/lib-build/EventsView/views/components/events/event_info/charts/EventDetailsLineChart.js +75 -0
  61. package/lib-build/EventsView/views/components/events/event_info/charts/EventDetailsPieChart.js +121 -0
  62. package/lib-build/EventsView/views/components/events/event_info/damage_type/DamageType.js +109 -0
  63. package/lib-build/EventsView/views/components/events/event_info/damage_type/svgs/agriculture.svg +29 -0
  64. package/lib-build/EventsView/views/components/events/event_info/damage_type/svgs/bacteria-process.svg +90 -0
  65. package/lib-build/EventsView/views/components/events/event_info/damage_type/svgs/effluent.svg +55 -0
  66. package/lib-build/EventsView/views/components/events/event_info/damage_type/svgs/energy.svg +42 -0
  67. package/lib-build/EventsView/views/components/events/event_info/damage_type/svgs/equipment.svg +82 -0
  68. package/lib-build/EventsView/views/components/events/event_info/damage_type/svgs/extra-biological-sludge.svg +40 -0
  69. package/lib-build/EventsView/views/components/events/event_info/damage_type/svgs/overflow.svg +26 -0
  70. package/lib-build/EventsView/views/components/events/event_info/damage_type/svgs/pipes-bluckages.svg +29 -0
  71. package/lib-build/EventsView/views/components/events/event_info/damage_type/svgs/pipes-infrastructure.svg +31 -0
  72. package/lib-build/EventsView/views/components/events/event_info/damage_type/svgs/reuse.svg +29 -0
  73. package/lib-build/EventsView/views/components/events/event_info/damage_type/svgs/sea-rivers.svg +54 -0
  74. package/lib-build/EventsView/views/components/events/event_info/damage_type/svgs/sludge.svg +37 -0
  75. package/lib-build/EventsView/views/components/events/event_info/samplings/Sampling.js +28 -0
  76. package/lib-build/EventsView/views/components/events/event_info/samplings/Samplings.js +36 -0
  77. package/lib-build/EventsView/views/components/events/event_info/sources/Source.js +118 -0
  78. package/lib-build/EventsView/views/components/events/event_info/sources/Sources.js +46 -0
  79. package/lib-build/EventsView/views/components/events/events_list/EventItem.js +139 -0
  80. package/lib-build/EventsView/views/components/events/events_list/EventsList.js +298 -0
  81. package/lib-build/EventsView/views/components/events/events_list/Filter/Filter.js +137 -0
  82. package/lib-build/EventsView/views/components/events/events_list/Filter/FilterContainer.js +382 -0
  83. package/lib-build/EventsView/views/components/events/events_list/Filter/FilterItem.js +218 -0
  84. package/lib-build/EventsView/views/components/events/events_list/Filter/FiltersDropDown.js +68 -0
  85. package/lib-build/EventsView/views/components/events/events_list/Filter/OptionsDropDown.js +139 -0
  86. package/lib-build/EventsView/views/components/events/events_list/Sort.js +92 -0
  87. package/lib-build/EventsView/views/components/map/FloatingGraph.js +83 -0
  88. package/lib-build/EventsView/views/components/map/Map.js +162 -0
  89. package/lib-build/EventsView/views/components/map/mapStyle.scss +387 -0
  90. package/lib-build/EventsView/views/components/points/PointMarker.js +453 -0
  91. package/lib-build/EventsView/views/components/points/PointMarkers.js +30 -0
  92. package/lib-build/EventsView/views/eventsView.js +47 -0
  93. package/lib-build/ProjectManagement/api/index.js +19 -0
  94. package/lib-build/ProjectManagement/components/kpi-list-item.js +88 -0
  95. package/lib-build/ProjectManagement/components/kpi-percentage-item.js +98 -0
  96. package/lib-build/ProjectManagement/components/kpi.js +71 -0
  97. package/lib-build/ProjectManagement/components/legend-icon.js +61 -0
  98. package/lib-build/ProjectManagement/components/link-to-item.js +67 -0
  99. package/lib-build/ProjectManagement/components/list-of-points.js +111 -0
  100. package/lib-build/ProjectManagement/components/map-view.js +128 -0
  101. package/lib-build/ProjectManagement/components/metrics.js +94 -0
  102. package/lib-build/ProjectManagement/components/node-label.js +66 -0
  103. package/lib-build/ProjectManagement/components/period-selector-button.js +68 -0
  104. package/lib-build/ProjectManagement/components/period-selector.js +79 -0
  105. package/lib-build/ProjectManagement/components/point-preview.js +298 -0
  106. package/lib-build/ProjectManagement/components/project-management.js +262 -0
  107. package/lib-build/ProjectManagement/components/tree-legend.js +100 -0
  108. package/lib-build/ProjectManagement/components/tree-view.js +281 -0
  109. package/lib-build/ProjectManagement/stores/project-management-store.js +32 -0
  110. package/lib-build/ProjectManagement/util/constants.js +10 -0
  111. package/lib-build/ProjectManagement/util/treeUtil.js +45 -0
  112. package/lib-build/ProjectManagement/util/url.js +24 -0
  113. package/lib-build/Router.js +64 -0
  114. package/lib-build/assets/NVL_trends/down.png +0 -0
  115. package/lib-build/assets/NVL_trends/same.png +0 -0
  116. package/lib-build/assets/NVL_trends/up.png +0 -0
  117. package/lib-build/assets/area_statuses/invalid-sampling.png +0 -0
  118. package/lib-build/assets/area_statuses/missing-sampling.png +0 -0
  119. package/lib-build/assets/area_statuses/pending-sampling.png +0 -0
  120. package/lib-build/assets/area_statuses/valid-sampling.png +0 -0
  121. package/lib-build/assets/factory-icon.png +0 -0
  122. package/lib-build/assets/flask.svg +7 -0
  123. package/lib-build/assets/kando_logo.png +0 -0
  124. package/lib-build/assets/line-chart.svg +56 -0
  125. package/lib-build/assets/missing/authority.png +0 -0
  126. package/lib-build/assets/missing/group.png +0 -0
  127. package/lib-build/assets/missing/point.png +0 -0
  128. package/lib-build/assets/no_events.svg +31 -0
  129. package/lib-build/assets/no_results.svg +327 -0
  130. package/lib-build/assets/point_icons/WWTP-icon.svg +26 -0
  131. package/lib-build/assets/point_icons/blue-circle.svg +3 -0
  132. package/lib-build/assets/point_icons/bright-blue-circle.svg +3 -0
  133. package/lib-build/assets/point_icons/factory-icon.svg +23 -0
  134. package/lib-build/assets/point_icons/green-circle.png +0 -0
  135. package/lib-build/assets/point_icons/green-circle.svg +3 -0
  136. package/lib-build/assets/point_icons/observation-icon.svg +12 -0
  137. package/lib-build/assets/point_icons/pink-circle.svg +3 -0
  138. package/lib-build/assets/point_icons/pump-station-icon.svg +15 -0
  139. package/lib-build/assets/point_icons/red-pin-red-shadow.png +0 -0
  140. package/lib-build/assets/point_icons/sampling-icon.svg +9 -0
  141. package/lib-build/assets/point_icons/white-pin-black-shadow.png +0 -0
  142. package/lib-build/assets/point_icons/white-pin-red-shadow.png +0 -0
  143. package/lib-build/assets/point_icons/yellow-circle.svg +3 -0
  144. package/lib-build/assets/sewer.svg +3 -0
  145. package/lib-build/assets/user.svg +44 -0
  146. package/lib-build/assets/white-point.png +0 -0
  147. package/lib-build/index.js +34 -0
  148. package/lib-build/shared/TimeRangeSelector/TimeRangeSelector.js +111 -0
  149. package/lib-build/shared/TimeRangeSelector/constants.js +8 -0
  150. package/lib-build/shared/TimeRangeSelector/index.js +13 -0
  151. package/lib-build/shared/TimeRangeSelector/styles.scss +65 -0
  152. package/lib-build/shared/components/Breadcrumbs/Breadcrumbs.js +42 -0
  153. package/lib-build/shared/components/Breadcrumbs/index.js +13 -0
  154. package/lib-build/shared/components/Breadcrumbs/styles.scss +8 -0
  155. package/lib-build/shared/components/ContentLoader/ContentLoader.js +71 -0
  156. package/lib-build/shared/components/ContentLoader/index.js +13 -0
  157. package/lib-build/shared/components/DamageType/DamageType.js +263 -0
  158. package/lib-build/shared/components/DamageType/index.js +13 -0
  159. package/lib-build/shared/components/DamageType/styles.scss +50 -0
  160. package/lib-build/shared/components/DischargeHeatmap/DischargeHeatmap.js +218 -0
  161. package/lib-build/shared/components/DischargeHeatmap/index.js +13 -0
  162. package/lib-build/shared/components/DischargeHeatmap/styles.scss +17 -0
  163. package/lib-build/shared/components/ErrorBoundary.js +72 -0
  164. package/lib-build/shared/components/Events/Events.js +240 -0
  165. package/lib-build/shared/components/Events/index.js +13 -0
  166. package/lib-build/shared/components/Events/styles.scss +131 -0
  167. package/lib-build/shared/components/Graph/Graph.js +213 -0
  168. package/lib-build/shared/components/Graph/index.js +13 -0
  169. package/lib-build/shared/components/KandoModal/KandoModal.js +118 -0
  170. package/lib-build/shared/components/KandoModal/index.js +13 -0
  171. package/lib-build/shared/components/KandoModal/styles.scss +19 -0
  172. package/lib-build/shared/components/KandoNavbar/KandoNavbar.js +290 -0
  173. package/lib-build/shared/components/KandoNavbar/NavbarStyle.scss +238 -0
  174. package/lib-build/shared/components/KandoNavbar/index.js +13 -0
  175. package/lib-build/shared/components/LiveEvents/CarouselSlide.js +62 -0
  176. package/lib-build/shared/components/LiveEvents/LiveEvents.js +58 -0
  177. package/lib-build/shared/components/LiveEvents/index.js +13 -0
  178. package/lib-build/shared/components/LiveEvents/styles.scss +80 -0
  179. package/lib-build/shared/components/Map/Map.js +90 -0
  180. package/lib-build/shared/components/Map/index.js +13 -0
  181. package/lib-build/shared/components/Map/styles.scss +7 -0
  182. package/lib-build/shared/components/NarrowHeader.js +57 -0
  183. package/lib-build/shared/components/PointInfo/PointInfo.js +83 -0
  184. package/lib-build/shared/components/PointInfo/index.js +13 -0
  185. package/lib-build/shared/components/PointInfo/styles.scss +48 -0
  186. package/lib-build/shared/components/Search/Search.js +159 -0
  187. package/lib-build/shared/components/Search/index.js +13 -0
  188. package/lib-build/shared/components/Search/styles.scss +27 -0
  189. package/lib-build/shared/components/Sector/Sector.js +176 -0
  190. package/lib-build/shared/components/Sector/index.js +13 -0
  191. package/lib-build/shared/components/Sector/styles.scss +14 -0
  192. package/lib-build/shared/components/Sector/svgs/Brewing.svg +93 -0
  193. package/lib-build/shared/components/Sector/svgs/Cowshed.svg +23 -0
  194. package/lib-build/shared/components/Sector/svgs/Garage.svg +24 -0
  195. package/lib-build/shared/components/Sector/svgs/Missing.svg +36 -0
  196. package/lib-build/shared/components/Sector/svgs/barrel.svg +93 -0
  197. package/lib-build/shared/components/Sector/svgs/beer.svg +13 -0
  198. package/lib-build/shared/components/Sector/svgs/beverage.svg +13 -0
  199. package/lib-build/shared/components/Sector/svgs/car-repair.svg +24 -0
  200. package/lib-build/shared/components/Sector/svgs/car-wash.svg +36 -0
  201. package/lib-build/shared/components/Sector/svgs/chemistry.svg +30 -0
  202. package/lib-build/shared/components/Sector/svgs/conductor-manufacturer.svg +17 -0
  203. package/lib-build/shared/components/Sector/svgs/cosmetic-manufacturer.svg +23 -0
  204. package/lib-build/shared/components/Sector/svgs/cow.svg +23 -0
  205. package/lib-build/shared/components/Sector/svgs/cpu.svg +17 -0
  206. package/lib-build/shared/components/Sector/svgs/dairy.svg +18 -0
  207. package/lib-build/shared/components/Sector/svgs/dippel-oil.svg +17 -0
  208. package/lib-build/shared/components/Sector/svgs/food-donation.svg +29 -0
  209. package/lib-build/shared/components/Sector/svgs/food-factory.svg +17 -0
  210. package/lib-build/shared/components/Sector/svgs/garbage-truck-1.svg +34 -0
  211. package/lib-build/shared/components/Sector/svgs/gas-station.svg +26 -0
  212. package/lib-build/shared/components/Sector/svgs/glass-manufacturer.svg +21 -0
  213. package/lib-build/shared/components/Sector/svgs/glass.svg +21 -0
  214. package/lib-build/shared/components/Sector/svgs/hand-washing.svg +17 -0
  215. package/lib-build/shared/components/Sector/svgs/hospital.svg +28 -0
  216. package/lib-build/shared/components/Sector/svgs/hotel.svg +24 -0
  217. package/lib-build/shared/components/Sector/svgs/laundromat.svg +26 -0
  218. package/lib-build/shared/components/Sector/svgs/leather-factory.svg +23 -0
  219. package/lib-build/shared/components/Sector/svgs/leather.svg +23 -0
  220. package/lib-build/shared/components/Sector/svgs/lipstick.svg +23 -0
  221. package/lib-build/shared/components/Sector/svgs/meat.svg +24 -0
  222. package/lib-build/shared/components/Sector/svgs/metal-coating-plant.svg +21 -0
  223. package/lib-build/shared/components/Sector/svgs/metal-facbrication.svg +20 -0
  224. package/lib-build/shared/components/Sector/svgs/milk.svg +18 -0
  225. package/lib-build/shared/components/Sector/svgs/oil-rig.svg +17 -0
  226. package/lib-build/shared/components/Sector/svgs/petrochemical.svg +13 -0
  227. package/lib-build/shared/components/Sector/svgs/pie.svg +17 -0
  228. package/lib-build/shared/components/Sector/svgs/pills.svg +22 -0
  229. package/lib-build/shared/components/Sector/svgs/plant-unkown-3.svg +36 -0
  230. package/lib-build/shared/components/Sector/svgs/plastic-rubber.svg +43 -0
  231. package/lib-build/shared/components/Sector/svgs/printer.svg +17 -0
  232. package/lib-build/shared/components/Sector/svgs/recycling.svg +17 -0
  233. package/lib-build/shared/components/Sector/svgs/refinery.svg +18 -0
  234. package/lib-build/shared/components/Sector/svgs/repair.svg +13 -0
  235. package/lib-build/shared/components/Sector/svgs/sewing-machine.svg +22 -0
  236. package/lib-build/shared/components/Sector/svgs/shop.svg +24 -0
  237. package/lib-build/shared/components/Sector/svgs/soda.svg +13 -0
  238. package/lib-build/shared/components/Sector/svgs/spray-gun.svg +21 -0
  239. package/lib-build/shared/components/Sector/svgs/washing-machine.svg +26 -0
  240. package/lib-build/shared/components/Sector/svgs/waste.svg +43 -0
  241. package/lib-build/shared/components/Sector/svgs/welder-a.svg +20 -0
  242. package/lib-build/shared/components/Sector/svgs/wine-glass.svg +15 -0
  243. package/lib-build/shared/components/Toggle/Toggle.js +62 -0
  244. package/lib-build/shared/components/Toggle/index.js +13 -0
  245. package/lib-build/shared/components/Toggle/styles.scss +44 -0
  246. package/lib-build/shared/components/TrendGraph/TrendGraph.js +217 -0
  247. package/lib-build/shared/components/TrendGraph/index.js +13 -0
  248. package/lib-build/shared/components/TrendGraph/styles.scss +2 -0
  249. package/lib-build/shared/components/TrendGraphNVL/TrendGraphNVL.js +167 -0
  250. package/lib-build/shared/components/TrendGraphNVL/index.js +13 -0
  251. package/lib-build/shared/components/TrendGraphNVL/styles.scss +16 -0
  252. package/lib-build/shared/helpers/kql.js +51 -0
  253. package/lib-build/shared/helpers/time.js +21 -0
  254. package/lib-build/shared/models/IAction.js +1 -0
  255. package/lib-build/shared/models/IAppState.js +5 -0
  256. package/lib-build/shared/redux/WBE/actionTypes.js +8 -0
  257. package/lib-build/shared/redux/WBE/actions.js +15 -0
  258. package/lib-build/shared/redux/WBE/models/IAreaWBE.js +5 -0
  259. package/lib-build/shared/redux/WBE/models/IWBE.js +5 -0
  260. package/lib-build/shared/redux/WBE/models/IWBEState.js +5 -0
  261. package/lib-build/shared/redux/WBE/reducer.js +40 -0
  262. package/lib-build/shared/redux/areas/actionTypes.js +12 -0
  263. package/lib-build/shared/redux/areas/actions.js +40 -0
  264. package/lib-build/shared/redux/areas/models/IArea.js +5 -0
  265. package/lib-build/shared/redux/areas/models/IAreasState.js +5 -0
  266. package/lib-build/shared/redux/areas/reducer.js +56 -0
  267. package/lib-build/shared/redux/context/actionTypes.js +8 -0
  268. package/lib-build/shared/redux/context/actions.js +15 -0
  269. package/lib-build/shared/redux/context/models/INavContext.js +5 -0
  270. package/lib-build/shared/redux/context/models/INavContextState.js +5 -0
  271. package/lib-build/shared/redux/context/reducer.js +40 -0
  272. package/lib-build/shared/redux/edges/actionTypes.js +14 -0
  273. package/lib-build/shared/redux/edges/actions.js +48 -0
  274. package/lib-build/shared/redux/edges/models/IEdge.js +5 -0
  275. package/lib-build/shared/redux/edges/models/IEdgesState.js +5 -0
  276. package/lib-build/shared/redux/edges/reducer.js +79 -0
  277. package/lib-build/shared/redux/events/actionTypes.js +28 -0
  278. package/lib-build/shared/redux/events/actions.js +112 -0
  279. package/lib-build/shared/redux/events/models/IEvent.js +5 -0
  280. package/lib-build/shared/redux/events/models/IEventsState.js +5 -0
  281. package/lib-build/shared/redux/events/models/ISource.js +5 -0
  282. package/lib-build/shared/redux/events/reducer.js +196 -0
  283. package/lib-build/shared/redux/filters/IFilter.js +5 -0
  284. package/lib-build/shared/redux/filters/IFilterItem.js +5 -0
  285. package/lib-build/shared/redux/global/actionTypes.js +24 -0
  286. package/lib-build/shared/redux/global/actions.js +91 -0
  287. package/lib-build/shared/redux/global/models/IGlobalState.js +5 -0
  288. package/lib-build/shared/redux/global/reducer.js +92 -0
  289. package/lib-build/shared/redux/points/actionTypes.js +10 -0
  290. package/lib-build/shared/redux/points/actions.js +32 -0
  291. package/lib-build/shared/redux/points/models/IGroup.js +5 -0
  292. package/lib-build/shared/redux/points/models/IPoint.js +5 -0
  293. package/lib-build/shared/redux/points/models/IPointsState.js +5 -0
  294. package/lib-build/shared/redux/points/reducer.js +37 -0
  295. package/lib-build/shared/redux/rootActionTypes.js +8 -0
  296. package/lib-build/shared/redux/rootActions.js +14 -0
  297. package/lib-build/shared/redux/rootReducer.js +55 -0
  298. package/lib-build/shared/redux/rootStore.js +40 -0
  299. package/lib-build/shared/utilities/ActionUtility.js +17 -0
  300. package/lib-build/shared/utilities/ErrorBoundary.js +76 -0
  301. package/lib-build/shared/utilities/KandoDate.js +29 -0
  302. package/lib-build/shared/utilities/KandoModal.js +65 -0
  303. package/lib-build/shared/utilities/LocalStorage.js +48 -0
  304. package/lib-build/shared/utilities/TimeFormat.js +70 -0
  305. package/lib-build/shared/utilities/Truncate.js +81 -0
  306. package/lib-build/shared/utilities/custom_hooks/useClickOutside.js +26 -0
  307. package/lib-build/shared/utilities/custom_hooks/useKandoFetch.js +82 -0
  308. package/lib-build/shared/utilities/custom_hooks/useQueryURL.js +15 -0
  309. package/lib-build/shared/utilities/custom_hooks/useRemoveExistingLayers.js +34 -0
  310. package/lib-build/shared/utilities/custom_hooks/useUpdateEventBodyTail.js +62 -0
  311. package/lib-build/shared/utilities/i18n.js +33 -0
  312. package/package.json +131 -3
  313. package/public/favicon.ico +0 -0
  314. package/public/index.html +43 -0
  315. package/src/bundles/CovidView/views/components/Body.tsx +59 -0
  316. package/src/bundles/CovidView/views/components/Map.tsx +110 -0
  317. package/src/bundles/CovidView/views/components/MapStyle.scss +387 -0
  318. package/src/bundles/CovidView/views/components/Sidebar.tsx +32 -0
  319. package/src/bundles/CovidView/views/components/SidebarStyle.scss +11 -0
  320. package/src/bundles/CovidView/views/components/Summary.tsx +134 -0
  321. package/src/bundles/CovidView/views/components/SummaryStyle.scss +61 -0
  322. package/src/bundles/CovidView/views/components/areas/Area.tsx +130 -0
  323. package/src/bundles/CovidView/views/components/areas/AreaPolygonWBE.tsx +186 -0
  324. package/src/bundles/CovidView/views/components/areas/AreaPolygonsWBE.tsx +71 -0
  325. package/src/bundles/CovidView/views/components/areas/AreasList.tsx +84 -0
  326. package/src/bundles/CovidView/views/components/areas/AreasStyle.scss +237 -0
  327. package/src/bundles/CovidView/views/components/areas/Sort.tsx +40 -0
  328. package/src/bundles/CovidView/views/components/areas/TrendPopupContent/TrendPopupContent.tsx +112 -0
  329. package/src/bundles/CovidView/views/components/areas/TrendPopupContent/index.ts +3 -0
  330. package/src/bundles/CovidView/views/components/areas/TrendPopupContent/styles.scss +30 -0
  331. package/src/bundles/CovidView/views/covidView.tsx +30 -0
  332. package/src/bundles/DashboardV2/AreaDashboard.tsx +59 -0
  333. package/src/bundles/DashboardV2/SiteDashboard.tsx +218 -0
  334. package/src/bundles/DashboardV2/WaterAuthorityDashboard.tsx +33 -0
  335. package/src/bundles/DashboardV2/index.ts +5 -0
  336. package/src/bundles/DashboardV2/styles.scss +126 -0
  337. package/src/bundles/DashboardV2/types/IDashboardData.ts +28 -0
  338. package/src/bundles/EventsView/views/_colors.scss +1 -0
  339. package/src/bundles/EventsView/views/components/Body.tsx +73 -0
  340. package/src/bundles/EventsView/views/components/areas/AreaPolygon.tsx +42 -0
  341. package/src/bundles/EventsView/views/components/areas/AreaPolygons.tsx +43 -0
  342. package/src/bundles/EventsView/views/components/edges/Edge.tsx +60 -0
  343. package/src/bundles/EventsView/views/components/edges/Edges.tsx +41 -0
  344. package/src/bundles/EventsView/views/components/events/EventIndicator.tsx +241 -0
  345. package/src/bundles/EventsView/views/components/events/EventPath.tsx +88 -0
  346. package/src/bundles/EventsView/views/components/events/EventsStyle.scss +725 -0
  347. package/src/bundles/EventsView/views/components/events/MoreInfo.tsx +48 -0
  348. package/src/bundles/EventsView/views/components/events/Sidebar.tsx +49 -0
  349. package/src/bundles/EventsView/views/components/events/event_info/EarlyWarnings.tsx +146 -0
  350. package/src/bundles/EventsView/views/components/events/event_info/EventDetails.tsx +106 -0
  351. package/src/bundles/EventsView/views/components/events/event_info/EventInfo.tsx +102 -0
  352. package/src/bundles/EventsView/views/components/events/event_info/EventInfoStyle.scss +508 -0
  353. package/src/bundles/EventsView/views/components/events/event_info/EventTimeRange.tsx +109 -0
  354. package/src/bundles/EventsView/views/components/events/event_info/HistoricalInformation.tsx +37 -0
  355. package/src/bundles/EventsView/views/components/events/event_info/MiniEventTree.tsx +89 -0
  356. package/src/bundles/EventsView/views/components/events/event_info/MobileEventPath.tsx +29 -0
  357. package/src/bundles/EventsView/views/components/events/event_info/PollutionDischarge.tsx +57 -0
  358. package/src/bundles/EventsView/views/components/events/event_info/charts/EventDetailsLineChart.tsx +61 -0
  359. package/src/bundles/EventsView/views/components/events/event_info/charts/EventDetailsPieChart.tsx +107 -0
  360. package/src/bundles/EventsView/views/components/events/event_info/damage_type/DamageType.tsx +98 -0
  361. package/src/bundles/EventsView/views/components/events/event_info/damage_type/svgs/agriculture.svg +29 -0
  362. package/src/bundles/EventsView/views/components/events/event_info/damage_type/svgs/bacteria-process.svg +90 -0
  363. package/src/bundles/EventsView/views/components/events/event_info/damage_type/svgs/effluent.svg +55 -0
  364. package/src/bundles/EventsView/views/components/events/event_info/damage_type/svgs/energy.svg +42 -0
  365. package/src/bundles/EventsView/views/components/events/event_info/damage_type/svgs/equipment.svg +82 -0
  366. package/src/bundles/EventsView/views/components/events/event_info/damage_type/svgs/extra-biological-sludge.svg +40 -0
  367. package/src/bundles/EventsView/views/components/events/event_info/damage_type/svgs/overflow.svg +26 -0
  368. package/src/bundles/EventsView/views/components/events/event_info/damage_type/svgs/pipes-bluckages.svg +29 -0
  369. package/src/bundles/EventsView/views/components/events/event_info/damage_type/svgs/pipes-infrastructure.svg +31 -0
  370. package/src/bundles/EventsView/views/components/events/event_info/damage_type/svgs/reuse.svg +29 -0
  371. package/src/bundles/EventsView/views/components/events/event_info/damage_type/svgs/sea-rivers.svg +54 -0
  372. package/src/bundles/EventsView/views/components/events/event_info/damage_type/svgs/sludge.svg +37 -0
  373. package/src/bundles/EventsView/views/components/events/event_info/samplings/Sampling.tsx +26 -0
  374. package/src/bundles/EventsView/views/components/events/event_info/samplings/Samplings.tsx +32 -0
  375. package/src/bundles/EventsView/views/components/events/event_info/sources/Source.tsx +120 -0
  376. package/src/bundles/EventsView/views/components/events/event_info/sources/Sources.tsx +35 -0
  377. package/src/bundles/EventsView/views/components/events/events_list/EventItem.tsx +122 -0
  378. package/src/bundles/EventsView/views/components/events/events_list/EventsList.tsx +242 -0
  379. package/src/bundles/EventsView/views/components/events/events_list/Filter/Filter.tsx +91 -0
  380. package/src/bundles/EventsView/views/components/events/events_list/Filter/FilterContainer.tsx +302 -0
  381. package/src/bundles/EventsView/views/components/events/events_list/Filter/FilterItem.tsx +180 -0
  382. package/src/bundles/EventsView/views/components/events/events_list/Filter/FiltersDropDown.tsx +48 -0
  383. package/src/bundles/EventsView/views/components/events/events_list/Filter/OptionsDropDown.tsx +97 -0
  384. package/src/bundles/EventsView/views/components/events/events_list/Sort.tsx +70 -0
  385. package/src/bundles/EventsView/views/components/map/FloatingGraph.tsx +61 -0
  386. package/src/bundles/EventsView/views/components/map/Map.tsx +137 -0
  387. package/src/bundles/EventsView/views/components/map/mapStyle.scss +387 -0
  388. package/src/bundles/EventsView/views/components/points/PointMarker.tsx +447 -0
  389. package/src/bundles/EventsView/views/components/points/PointMarkers.tsx +23 -0
  390. package/src/bundles/EventsView/views/eventsView.tsx +32 -0
  391. package/src/bundles/ProjectManagement/api/index.js +10 -0
  392. package/src/bundles/ProjectManagement/components/kpi-list-item.jsx +57 -0
  393. package/src/bundles/ProjectManagement/components/kpi-percentage-item.jsx +69 -0
  394. package/src/bundles/ProjectManagement/components/kpi.jsx +23 -0
  395. package/src/bundles/ProjectManagement/components/legend-icon.jsx +14 -0
  396. package/src/bundles/ProjectManagement/components/link-to-item.jsx +16 -0
  397. package/src/bundles/ProjectManagement/components/list-of-points.jsx +76 -0
  398. package/src/bundles/ProjectManagement/components/map-view.jsx +95 -0
  399. package/src/bundles/ProjectManagement/components/metrics.jsx +42 -0
  400. package/src/bundles/ProjectManagement/components/node-label.jsx +23 -0
  401. package/src/bundles/ProjectManagement/components/period-selector-button.jsx +23 -0
  402. package/src/bundles/ProjectManagement/components/period-selector.jsx +25 -0
  403. package/src/bundles/ProjectManagement/components/point-preview.jsx +225 -0
  404. package/src/bundles/ProjectManagement/components/project-management.jsx +229 -0
  405. package/src/bundles/ProjectManagement/components/tree-legend.jsx +59 -0
  406. package/src/bundles/ProjectManagement/components/tree-view.jsx +215 -0
  407. package/src/bundles/ProjectManagement/stores/project-management-store.js +16 -0
  408. package/src/bundles/ProjectManagement/util/constants.js +2 -0
  409. package/src/bundles/ProjectManagement/util/treeUtil.js +32 -0
  410. package/src/bundles/ProjectManagement/util/url.js +10 -0
  411. package/src/bundles/Router.tsx +56 -0
  412. package/src/bundles/assets/NVL_trends/down.png +0 -0
  413. package/src/bundles/assets/NVL_trends/same.png +0 -0
  414. package/src/bundles/assets/NVL_trends/up.png +0 -0
  415. package/src/bundles/assets/area_statuses/invalid-sampling.png +0 -0
  416. package/src/bundles/assets/area_statuses/missing-sampling.png +0 -0
  417. package/src/bundles/assets/area_statuses/pending-sampling.png +0 -0
  418. package/src/bundles/assets/area_statuses/valid-sampling.png +0 -0
  419. package/src/bundles/assets/factory-icon.png +0 -0
  420. package/src/bundles/assets/flask.svg +7 -0
  421. package/src/bundles/assets/kando_logo.png +0 -0
  422. package/src/bundles/assets/line-chart.svg +56 -0
  423. package/src/bundles/assets/missing/authority.png +0 -0
  424. package/src/bundles/assets/missing/group.png +0 -0
  425. package/src/bundles/assets/missing/point.png +0 -0
  426. package/src/bundles/assets/no_events.svg +31 -0
  427. package/src/bundles/assets/no_results.svg +327 -0
  428. package/src/bundles/assets/point_icons/WWTP-icon.svg +26 -0
  429. package/src/bundles/assets/point_icons/blue-circle.svg +3 -0
  430. package/src/bundles/assets/point_icons/bright-blue-circle.svg +3 -0
  431. package/src/bundles/assets/point_icons/factory-icon.svg +23 -0
  432. package/src/bundles/assets/point_icons/green-circle.png +0 -0
  433. package/src/bundles/assets/point_icons/green-circle.svg +3 -0
  434. package/src/bundles/assets/point_icons/observation-icon.svg +12 -0
  435. package/src/bundles/assets/point_icons/pink-circle.svg +3 -0
  436. package/src/bundles/assets/point_icons/pump-station-icon.svg +15 -0
  437. package/src/bundles/assets/point_icons/red-pin-red-shadow.png +0 -0
  438. package/src/bundles/assets/point_icons/sampling-icon.svg +9 -0
  439. package/src/bundles/assets/point_icons/white-pin-black-shadow.png +0 -0
  440. package/src/bundles/assets/point_icons/white-pin-red-shadow.png +0 -0
  441. package/src/bundles/assets/point_icons/yellow-circle.svg +3 -0
  442. package/src/bundles/assets/sewer.svg +3 -0
  443. package/src/bundles/assets/user.svg +44 -0
  444. package/src/bundles/assets/white-point.png +0 -0
  445. package/src/bundles/index.js +26 -0
  446. package/src/bundles/shared/TimeRangeSelector/TimeRangeSelector.tsx +79 -0
  447. package/src/bundles/shared/TimeRangeSelector/constants.ts +1 -0
  448. package/src/bundles/shared/TimeRangeSelector/index.ts +3 -0
  449. package/src/bundles/shared/TimeRangeSelector/styles.scss +65 -0
  450. package/src/bundles/shared/components/Breadcrumbs/Breadcrumbs.tsx +34 -0
  451. package/src/bundles/shared/components/Breadcrumbs/index.ts +3 -0
  452. package/src/bundles/shared/components/Breadcrumbs/styles.scss +8 -0
  453. package/src/bundles/shared/components/ContentLoader/ContentLoader.tsx +39 -0
  454. package/src/bundles/shared/components/ContentLoader/index.ts +1 -0
  455. package/src/bundles/shared/components/DamageType/DamageType.tsx +234 -0
  456. package/src/bundles/shared/components/DamageType/index.ts +3 -0
  457. package/src/bundles/shared/components/DamageType/styles.scss +50 -0
  458. package/src/bundles/shared/components/DischargeHeatmap/DischargeHeatmap.tsx +205 -0
  459. package/src/bundles/shared/components/DischargeHeatmap/index.ts +3 -0
  460. package/src/bundles/shared/components/DischargeHeatmap/styles.scss +17 -0
  461. package/src/bundles/shared/components/ErrorBoundary.jsx +40 -0
  462. package/src/bundles/shared/components/Events/Events.tsx +205 -0
  463. package/src/bundles/shared/components/Events/index.ts +3 -0
  464. package/src/bundles/shared/components/Events/styles.scss +131 -0
  465. package/src/bundles/shared/components/Graph/Graph.tsx +156 -0
  466. package/src/bundles/shared/components/Graph/index.ts +3 -0
  467. package/src/bundles/shared/components/KandoModal/KandoModal.tsx +88 -0
  468. package/src/bundles/shared/components/KandoModal/index.ts +3 -0
  469. package/src/bundles/shared/components/KandoModal/styles.scss +19 -0
  470. package/src/bundles/shared/components/KandoNavbar/KandoNavbar.tsx +232 -0
  471. package/src/bundles/shared/components/KandoNavbar/NavbarStyle.scss +238 -0
  472. package/src/bundles/shared/components/KandoNavbar/index.ts +3 -0
  473. package/src/bundles/shared/components/LiveEvents/CarouselSlide.tsx +80 -0
  474. package/src/bundles/shared/components/LiveEvents/LiveEvents.tsx +38 -0
  475. package/src/bundles/shared/components/LiveEvents/index.ts +3 -0
  476. package/src/bundles/shared/components/LiveEvents/styles.scss +80 -0
  477. package/src/bundles/shared/components/Map/Map.tsx +79 -0
  478. package/src/bundles/shared/components/Map/index.ts +3 -0
  479. package/src/bundles/shared/components/Map/styles.scss +7 -0
  480. package/src/bundles/shared/components/NarrowHeader.jsx +18 -0
  481. package/src/bundles/shared/components/PointInfo/PointInfo.tsx +80 -0
  482. package/src/bundles/shared/components/PointInfo/index.ts +3 -0
  483. package/src/bundles/shared/components/PointInfo/styles.scss +48 -0
  484. package/src/bundles/shared/components/Search/Search.tsx +106 -0
  485. package/src/bundles/shared/components/Search/index.ts +3 -0
  486. package/src/bundles/shared/components/Search/styles.scss +27 -0
  487. package/src/bundles/shared/components/Sector/Sector.tsx +156 -0
  488. package/src/bundles/shared/components/Sector/index.ts +3 -0
  489. package/src/bundles/shared/components/Sector/styles.scss +14 -0
  490. package/src/bundles/shared/components/Sector/svgs/Brewing.svg +93 -0
  491. package/src/bundles/shared/components/Sector/svgs/Cowshed.svg +23 -0
  492. package/src/bundles/shared/components/Sector/svgs/Garage.svg +24 -0
  493. package/src/bundles/shared/components/Sector/svgs/Missing.svg +36 -0
  494. package/src/bundles/shared/components/Sector/svgs/barrel.svg +93 -0
  495. package/src/bundles/shared/components/Sector/svgs/beer.svg +13 -0
  496. package/src/bundles/shared/components/Sector/svgs/beverage.svg +13 -0
  497. package/src/bundles/shared/components/Sector/svgs/car-repair.svg +24 -0
  498. package/src/bundles/shared/components/Sector/svgs/car-wash.svg +36 -0
  499. package/src/bundles/shared/components/Sector/svgs/chemistry.svg +30 -0
  500. package/src/bundles/shared/components/Sector/svgs/conductor-manufacturer.svg +17 -0
  501. package/src/bundles/shared/components/Sector/svgs/cosmetic-manufacturer.svg +23 -0
  502. package/src/bundles/shared/components/Sector/svgs/cow.svg +23 -0
  503. package/src/bundles/shared/components/Sector/svgs/cpu.svg +17 -0
  504. package/src/bundles/shared/components/Sector/svgs/dairy.svg +18 -0
  505. package/src/bundles/shared/components/Sector/svgs/dippel-oil.svg +17 -0
  506. package/src/bundles/shared/components/Sector/svgs/food-donation.svg +29 -0
  507. package/src/bundles/shared/components/Sector/svgs/food-factory.svg +17 -0
  508. package/src/bundles/shared/components/Sector/svgs/garbage-truck-1.svg +34 -0
  509. package/src/bundles/shared/components/Sector/svgs/gas-station.svg +26 -0
  510. package/src/bundles/shared/components/Sector/svgs/glass-manufacturer.svg +21 -0
  511. package/src/bundles/shared/components/Sector/svgs/glass.svg +21 -0
  512. package/src/bundles/shared/components/Sector/svgs/hand-washing.svg +17 -0
  513. package/src/bundles/shared/components/Sector/svgs/hospital.svg +28 -0
  514. package/src/bundles/shared/components/Sector/svgs/hotel.svg +24 -0
  515. package/src/bundles/shared/components/Sector/svgs/laundromat.svg +26 -0
  516. package/src/bundles/shared/components/Sector/svgs/leather-factory.svg +23 -0
  517. package/src/bundles/shared/components/Sector/svgs/leather.svg +23 -0
  518. package/src/bundles/shared/components/Sector/svgs/lipstick.svg +23 -0
  519. package/src/bundles/shared/components/Sector/svgs/meat.svg +24 -0
  520. package/src/bundles/shared/components/Sector/svgs/metal-coating-plant.svg +21 -0
  521. package/src/bundles/shared/components/Sector/svgs/metal-facbrication.svg +20 -0
  522. package/src/bundles/shared/components/Sector/svgs/milk.svg +18 -0
  523. package/src/bundles/shared/components/Sector/svgs/oil-rig.svg +17 -0
  524. package/src/bundles/shared/components/Sector/svgs/petrochemical.svg +13 -0
  525. package/src/bundles/shared/components/Sector/svgs/pie.svg +17 -0
  526. package/src/bundles/shared/components/Sector/svgs/pills.svg +22 -0
  527. package/src/bundles/shared/components/Sector/svgs/plant-unkown-3.svg +36 -0
  528. package/src/bundles/shared/components/Sector/svgs/plastic-rubber.svg +43 -0
  529. package/src/bundles/shared/components/Sector/svgs/printer.svg +17 -0
  530. package/src/bundles/shared/components/Sector/svgs/recycling.svg +17 -0
  531. package/src/bundles/shared/components/Sector/svgs/refinery.svg +18 -0
  532. package/src/bundles/shared/components/Sector/svgs/repair.svg +13 -0
  533. package/src/bundles/shared/components/Sector/svgs/sewing-machine.svg +22 -0
  534. package/src/bundles/shared/components/Sector/svgs/shop.svg +24 -0
  535. package/src/bundles/shared/components/Sector/svgs/soda.svg +13 -0
  536. package/src/bundles/shared/components/Sector/svgs/spray-gun.svg +21 -0
  537. package/src/bundles/shared/components/Sector/svgs/washing-machine.svg +26 -0
  538. package/src/bundles/shared/components/Sector/svgs/waste.svg +43 -0
  539. package/src/bundles/shared/components/Sector/svgs/welder-a.svg +20 -0
  540. package/src/bundles/shared/components/Sector/svgs/wine-glass.svg +15 -0
  541. package/src/bundles/shared/components/Toggle/Toggle.tsx +51 -0
  542. package/src/bundles/shared/components/Toggle/index.ts +3 -0
  543. package/src/bundles/shared/components/Toggle/styles.scss +44 -0
  544. package/src/bundles/shared/components/TrendGraph/TrendGraph.tsx +166 -0
  545. package/src/bundles/shared/components/TrendGraph/index.ts +3 -0
  546. package/src/bundles/shared/components/TrendGraph/styles.scss +2 -0
  547. package/src/bundles/shared/components/TrendGraphNVL/TrendGraphNVL.tsx +134 -0
  548. package/src/bundles/shared/components/TrendGraphNVL/index.ts +3 -0
  549. package/src/bundles/shared/components/TrendGraphNVL/styles.scss +16 -0
  550. package/src/bundles/shared/helpers/kql.ts +39 -0
  551. package/src/bundles/shared/helpers/time.ts +12 -0
  552. package/src/bundles/shared/models/IAction.ts +9 -0
  553. package/src/bundles/shared/models/IAppState.ts +18 -0
  554. package/src/bundles/shared/redux/WBE/actionTypes.ts +1 -0
  555. package/src/bundles/shared/redux/WBE/actions.ts +8 -0
  556. package/src/bundles/shared/redux/WBE/models/IAreaWBE.ts +21 -0
  557. package/src/bundles/shared/redux/WBE/models/IWBE.ts +7 -0
  558. package/src/bundles/shared/redux/WBE/models/IWBEState.ts +5 -0
  559. package/src/bundles/shared/redux/WBE/reducer.ts +24 -0
  560. package/src/bundles/shared/redux/areas/actionTypes.ts +3 -0
  561. package/src/bundles/shared/redux/areas/actions.ts +31 -0
  562. package/src/bundles/shared/redux/areas/models/IArea.ts +6 -0
  563. package/src/bundles/shared/redux/areas/models/IAreasState.ts +6 -0
  564. package/src/bundles/shared/redux/areas/reducer.ts +44 -0
  565. package/src/bundles/shared/redux/context/actionTypes.ts +1 -0
  566. package/src/bundles/shared/redux/context/actions.ts +8 -0
  567. package/src/bundles/shared/redux/context/models/INavContext.ts +4 -0
  568. package/src/bundles/shared/redux/context/models/INavContextState.ts +5 -0
  569. package/src/bundles/shared/redux/context/reducer.ts +25 -0
  570. package/src/bundles/shared/redux/edges/actionTypes.ts +4 -0
  571. package/src/bundles/shared/redux/edges/actions.ts +37 -0
  572. package/src/bundles/shared/redux/edges/models/IEdge.ts +9 -0
  573. package/src/bundles/shared/redux/edges/models/IEdgesState.ts +6 -0
  574. package/src/bundles/shared/redux/edges/reducer.ts +59 -0
  575. package/src/bundles/shared/redux/events/actionTypes.ts +11 -0
  576. package/src/bundles/shared/redux/events/actions.ts +100 -0
  577. package/src/bundles/shared/redux/events/models/IEvent.ts +29 -0
  578. package/src/bundles/shared/redux/events/models/IEventsState.ts +9 -0
  579. package/src/bundles/shared/redux/events/models/ISource.ts +6 -0
  580. package/src/bundles/shared/redux/events/reducer.ts +167 -0
  581. package/src/bundles/shared/redux/filters/IFilter.ts +13 -0
  582. package/src/bundles/shared/redux/filters/IFilterItem.ts +9 -0
  583. package/src/bundles/shared/redux/global/actionTypes.ts +9 -0
  584. package/src/bundles/shared/redux/global/actions.ts +76 -0
  585. package/src/bundles/shared/redux/global/models/IGlobalState.ts +16 -0
  586. package/src/bundles/shared/redux/global/reducer.ts +81 -0
  587. package/src/bundles/shared/redux/points/actionTypes.ts +3 -0
  588. package/src/bundles/shared/redux/points/actions.ts +24 -0
  589. package/src/bundles/shared/redux/points/models/IGroup.ts +7 -0
  590. package/src/bundles/shared/redux/points/models/IPoint.ts +16 -0
  591. package/src/bundles/shared/redux/points/models/IPointsState.ts +6 -0
  592. package/src/bundles/shared/redux/points/reducer.ts +26 -0
  593. package/src/bundles/shared/redux/rootActionTypes.ts +1 -0
  594. package/src/bundles/shared/redux/rootActions.ts +7 -0
  595. package/src/bundles/shared/redux/rootReducer.ts +33 -0
  596. package/src/bundles/shared/redux/rootStore.ts +34 -0
  597. package/src/bundles/shared/utilities/ActionUtility.ts +9 -0
  598. package/src/bundles/shared/utilities/ErrorBoundary.tsx +40 -0
  599. package/src/bundles/shared/utilities/KandoDate.ts +11 -0
  600. package/src/bundles/shared/utilities/KandoModal.tsx +40 -0
  601. package/src/bundles/shared/utilities/LocalStorage.tsx +31 -0
  602. package/src/bundles/shared/utilities/TimeFormat.tsx +64 -0
  603. package/src/bundles/shared/utilities/Truncate.tsx +54 -0
  604. package/src/bundles/shared/utilities/custom_hooks/useClickOutside.ts +18 -0
  605. package/src/bundles/shared/utilities/custom_hooks/useKandoFetch.ts +45 -0
  606. package/src/bundles/shared/utilities/custom_hooks/useQueryURL.ts +7 -0
  607. package/src/bundles/shared/utilities/custom_hooks/useRemoveExistingLayers.tsx +24 -0
  608. package/src/bundles/shared/utilities/custom_hooks/useUpdateEventBodyTail.tsx +52 -0
  609. package/src/bundles/shared/utilities/i18n.tsx +9 -0
  610. package/src/index.js +21 -0
  611. package/src/init-api-mock.js +11 -0
  612. package/src/locals.js +12296 -0
  613. package/src/react-app-env.d.ts +1 -0
  614. package/src/stories/examples/Button.stories.tsx +37 -0
  615. package/src/stories/examples/Button.tsx +48 -0
  616. package/src/stories/examples/Header.stories.tsx +19 -0
  617. package/src/stories/examples/Header.tsx +47 -0
  618. package/src/stories/examples/Introduction.stories.mdx +211 -0
  619. package/src/stories/examples/Page.stories.tsx +22 -0
  620. package/src/stories/examples/Page.tsx +67 -0
  621. package/src/stories/examples/assets/code-brackets.svg +1 -0
  622. package/src/stories/examples/assets/colors.svg +1 -0
  623. package/src/stories/examples/assets/comments.svg +1 -0
  624. package/src/stories/examples/assets/direction.svg +1 -0
  625. package/src/stories/examples/assets/flow.svg +1 -0
  626. package/src/stories/examples/assets/plugin.svg +1 -0
  627. package/src/stories/examples/assets/repo.svg +1 -0
  628. package/src/stories/examples/assets/stackalt.svg +1 -0
  629. package/src/stories/examples/button.css +30 -0
  630. package/src/stories/examples/header.css +26 -0
  631. package/src/stories/examples/page.css +69 -0
  632. package/static/fonts/Gilroy-ExtraBold.otf +0 -0
  633. package/static/fonts/Gilroy-Light.otf +0 -0
  634. package/static/fonts/Gilroy-Regular.otf +0 -0
  635. package/static/fonts/Gilroy-SemiBold.otf +0 -0
  636. package/static/fonts/IBMPlexSerif-Italic.ttf +0 -0
  637. package/static/mockServiceWorker.js +323 -0
  638. package/temp-fix-paths/fix-paths.test.js +143 -0
  639. package/temp-fix-paths/lib.js +97 -0
  640. package/temp-fix-paths/run.js +4 -0
  641. package/temp-fix-paths/test-dir/a/a.ts +0 -0
  642. package/temp-fix-paths/test-dir/a/aa/aa.ts +0 -0
  643. package/temp-fix-paths/test-dir/a/aa/aaa/aaa.ts +8 -0
  644. package/temp-fix-paths/test-dir/b/b.ts +0 -0
  645. package/temp-fix-paths/test-dir/b/bb/bb.ts +0 -0
  646. package/temp-fix-paths/test-dir/b/bb/bbb/bbb.ts +1 -0
  647. package/tsconfig.json +39 -0
  648. package/types/global/index.d.ts +28 -0
  649. package/index.js +0 -1
@@ -0,0 +1,22 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" id="Capa_1" x="0" y="0" enable-background="new 0 0 512 512" version="1.1" viewBox="0 0 512 512" xml:space="preserve">
2
+ <style>
3
+ .st3{fill:#1d1d1d}
4
+ </style>
5
+ <linearGradient id="SVGID_1_" x1="398.517" x2="398.517" y1="385.601" y2="281.032" gradientUnits="userSpaceOnUse">
6
+ <stop offset="0" stop-color="#EFC530"/>
7
+ <stop offset="1" stop-color="#FCEDB6"/>
8
+ </linearGradient>
9
+ <path fill="url(#SVGID_1_)" d="M345.4 281H451.7V385.6H345.4z"/>
10
+ <linearGradient id="SVGID_2_" x1="246.037" x2="246.037" y1="251.032" y2="94.027" gradientUnits="userSpaceOnUse">
11
+ <stop offset="0" stop-color="#F37C1C"/>
12
+ <stop offset="1" stop-color="#FCC191"/>
13
+ </linearGradient>
14
+ <path fill="url(#SVGID_2_)" d="M451.7 251V113.9c0-11-8.9-19.9-19.9-19.9H55.4c-8.3 0-15 6.7-15 15v71.4h290c8.3 0 15 6.7 15 15V251h106.3z"/>
15
+ <linearGradient id="SVGID_3_" x1="256" x2="256" y1="482" y2="415.602" gradientUnits="userSpaceOnUse">
16
+ <stop offset="0" stop-color="#F37C1C"/>
17
+ <stop offset="1" stop-color="#FCC191"/>
18
+ </linearGradient>
19
+ <path fill="url(#SVGID_3_)" d="M40.4 430.6V482h431.2v-66.4H55.4c-8.3 0-15 6.7-15 15z"/>
20
+ <path d="M486.6 385.6h-4.9V113.9c0-27.5-22.4-49.9-49.9-49.9h-9.9V30h5.9c8.3 0 15-6.7 15-15s-6.7-15-15-15h-90c-8.3 0-15 6.7-15 15s6.7 15 15 15h5.9v34H55.4c-24.8 0-45 20.2-45 45v86.4c0 8.3 6.7 15 15 15h18.7v25.2c0 20.8 16.9 37.7 37.7 37.7H91v19.9c0 8.3 6.7 15 15 15s15-6.7 15-15v-19.9h9.2c20.8 0 37.7-16.9 37.7-37.7v-25.2h147.6v175.2h-260c-24.8 0-45 20.2-45 45V497c0 8.3 6.7 15 15 15h461.2c8.3 0 15-6.7 15-15v-96.4c-.1-8.3-6.8-15-15.1-15zM373.8 30H392v34h-18.2V30zm-236 205.6c0 4.2-3.4 7.7-7.7 7.7H81.7c-4.2 0-7.7-3.4-7.7-7.7v-25.2h63.7v25.2zm-97.4-55.2V109c0-8.3 6.7-15 15-15h376.4c11 0 19.9 8.9 19.9 19.9V251H345.4v-55.6c0-8.3-6.7-15-15-15h-290zM451.7 281v104.6H345.4V281h106.3zm19.9 201H40.4v-51.4c0-8.3 6.7-15 15-15h416.2V482z" class="st3"/>
21
+ <path d="M406.9 203.5h-10.3c-8.3 0-15 6.7-15 15s6.7 15 15 15h10.3c8.3 0 15-6.7 15-15s-6.7-15-15-15z" class="st3"/>
22
+ </svg>
@@ -0,0 +1,24 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" id="Capa_1" x="0" y="0" enable-background="new 0 0 489.4 489.4" version="1.1" viewBox="0 0 489.4 489.4" xml:space="preserve">
2
+ <style>
3
+ .st3{fill:#1d1d1d}
4
+ </style>
5
+ <linearGradient id="SVGID_1_" x1="244" x2="244" y1="230" y2="43" gradientUnits="userSpaceOnUse">
6
+ <stop offset="0" stop-color="#F37C1C"/>
7
+ <stop offset="1" stop-color="#FCC191"/>
8
+ </linearGradient>
9
+ <path fill="url(#SVGID_1_)" d="M17 171L89 43 402 43 471 162 471 198.3 413 230 362 191 310 230 248.2 198.1 191 230 132.6 193 66 230 17 198.3z"/>
10
+ <linearGradient id="SVGID_2_" x1="244.65" x2="244.65" y1="434.45" y2="210.25" gradientUnits="userSpaceOnUse">
11
+ <stop offset="0" stop-color="#EFC530"/>
12
+ <stop offset="1" stop-color="#FCEDB6"/>
13
+ </linearGradient>
14
+ <path fill="url(#SVGID_2_)" d="M423.3 434.4V241.2c-1.4 0-2.7.1-4.1.1-24.2 0-45.6-12.3-58.2-31-12.6 18.7-33.9 31-58.1 31-24.1 0-45.5-12.3-58.1-31-12.7 18.7-34 31-58.2 31-24.2 0-45.6-12.3-58.2-31-12.6 18.7-34 31-58.2 31-1.4 0-2.8 0-4.2-.1v193.3h42.5V304.9c0-22.7 18.5-41.1 41.1-41.1h34.9c22.7 0 41.1 18.5 41.1 41.1v129.5h197.7zM248.2 296.7c0-18.2 14.8-33 33-33h66.5c18.2 0 33 14.8 33 33v51c0 18.2-14.8 33-33 33h-66.5c-18.2 0-33-14.8-33-33v-51z"/>
15
+ <linearGradient id="SVGID_3_" x1="167.15" x2="167.15" y1="434.35" y2="287.75" gradientUnits="userSpaceOnUse">
16
+ <stop offset="0" stop-color="#F37C1C"/>
17
+ <stop offset="1" stop-color="#FCC191"/>
18
+ </linearGradient>
19
+ <path fill="url(#SVGID_3_)" d="M149.7 287.7c-9.5 0-17.1 7.7-17.1 17.1v129.5h69.1V304.9c0-9.5-7.7-17.1-17.1-17.1h-34.9z"/>
20
+ <g>
21
+ <path d="M347.7 263.8h-66.5c-18.2 0-33 14.8-33 33v51c0 18.2 14.8 33 33 33h66.5c18.2 0 33-14.8 33-33v-51c0-18.3-14.8-33-33-33zm9 84c0 5-4.1 9-9 9h-66.5c-5 0-9-4.1-9-9v-51c0-5 4.1-9 9-9h66.5c5 0 9 4.1 9 9v51z" class="st3"/>
22
+ <path d="M489.4 171.1c0-2.1-.5-4.1-1.6-5.9L415 37.2c-2.1-3.7-6.1-6.1-10.4-6.1H84.7c-4.3 0-8.3 2.3-10.4 6.1l-72.7 128C.6 167 0 169 0 171.1c0 28.7 17.3 53.3 42 64.2v211.1c0 6.6 5.4 12 12 12h381.3c6.6 0 12-5.4 12-12V236.8c0-.5 0-.9-.1-1.3 24.8-10.9 42.2-35.6 42.2-64.4zM91.7 55.2h305.9l56.9 100.1H34.9L91.7 55.2zm256.6 123.9c-3.8 21.6-22.7 38-45.4 38s-41.6-16.4-45.4-38h90.8zm-116.3 0c-3.8 21.6-22.7 38-45.4 38s-41.6-16.4-45.5-38H232zm-207.2 0h90.9c-3.8 21.6-22.8 38-45.5 38-22.7.2-41.6-16.3-45.4-38zm176.8 255.3h-69V304.9c0-9.4 7.6-17.1 17.1-17.1h34.9c9.4 0 17.1 7.6 17.1 17.1v129.5h-.1zm221.7 0H225.6V304.9c0-22.6-18.4-41.1-41.1-41.1h-34.9c-22.6 0-41.1 18.4-41.1 41.1v129.6H66V241.2c1.4.1 2.8.1 4.2.1 24.2 0 45.6-12.3 58.2-31 12.6 18.7 34 31 58.2 31s45.5-12.3 58.2-31c12.6 18.7 34 31 58.1 31 24.2 0 45.5-12.3 58.1-31 12.6 18.7 34 31 58.2 31 1.4 0 2.7-.1 4.1-.1v193.2zm-4.1-217.1c-22.7 0-41.6-16.4-45.4-38h90.9c-3.9 21.5-22.8 38-45.5 38z" class="st3"/>
23
+ </g>
24
+ </svg>
@@ -0,0 +1,13 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 512 512" viewBox="0 0 512 512">
2
+ <linearGradient id="5uls8br43a" x1="239" x2="239" y1="499" y2="55" gradientUnits="userSpaceOnUse">
3
+ <stop offset="0" stop-color="#F37C1C"/>
4
+ <stop offset="1" stop-color="#FCC191"/>
5
+ </linearGradient>
6
+ <path fill="url(#5uls8br43a)" d="M327 55L14 356.1 141 499 217 432 464 178 412 87z"/>
7
+ <linearGradient id="lyfmnscidb" x1="238.732" x2="238.732" y1="356.09" y2="190.444" gradientUnits="userSpaceOnUse">
8
+ <stop offset="0" stop-color="#EFC530"/>
9
+ <stop offset="1" stop-color="#FCEDB6"/>
10
+ </linearGradient>
11
+ <path fill="url(#lyfmnscidb)" d="M155.9 254.4L257.6 356.1 321.6 292.2 219.8 190.4z"/>
12
+ <path fill="#1D1D1D" d="M460.6 132.9L512 81.5 430.5 0l-51.4 51.4-16.2-4.4c-31.4-8.6-65.1.4-88.1 23.4-7.2 7.2-13.1 15.5-17.6 24.7-9.6 19.9-22.4 37.9-38 53.5l-119 119c-10.2 10.2-22 18.6-35 24.9-16.1 7.8-30.6 18.1-43.2 30.7l-8.3 8.3c-18.3 18.3-18.3 48 0 66.2l100.7 100.7c9.1 9.1 21.1 13.7 33.1 13.7s24-4.6 33.1-13.7l8.3-8.3c12.6-12.6 22.9-27.2 30.7-43.2 6.3-13 14.7-24.8 24.9-35l119-119c15.6-15.6 33.6-28.4 53.5-38 9.2-4.4 17.5-10.3 24.7-17.6 23-23 31.9-56.7 23.4-88.1l-4.5-16.3zm-30.1-90.4l39 39-25.7 25.7-39-39 25.7-25.7zM257.6 356.1L155.9 254.4l63.9-63.9 101.7 101.7-63.9 63.9zm-34.4 34.4c-12.6 12.6-22.9 27.2-30.7 43.2-6.3 13-14.7 24.8-24.9 35l-8.3 8.3c-6.5 6.5-17.2 6.5-23.7 0L34.9 376.4c-6.5-6.5-6.5-17.2 0-23.7l8.3-8.3c10.2-10.2 22-18.6 35-24.9 16.1-7.8 30.6-18.1 43.2-30.7l13.2-13.2 101.7 101.7-13.1 13.2zM420.4 216c-4.8 4.8-10.4 8.8-16.6 11.8-22.7 10.9-43.2 25.5-61 43.2L241.1 169.2c17.7-17.9 32.2-38.4 43.2-61 3-6.2 6.9-11.7 11.8-16.6 11.5-11.5 27.1-17.8 43-17.8 5.3 0 10.7.7 16 2.1l20.8 5.7 54.6 54.6 5.7 20.8c5.6 21-.4 43.6-15.8 59z"/>
13
+ </svg>
@@ -0,0 +1,21 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" id="Layer_1" x="0" y="0" enable-background="new 0 0 683 512" version="1.1" viewBox="0 0 683 512" xml:space="preserve">
2
+ <style>
3
+ .st2{fill:#1d1d1d}
4
+ </style>
5
+ <linearGradient id="SVGID_1_" x1="235.9" x2="235.9" y1="481.4" y2="242.8" gradientUnits="userSpaceOnUse">
6
+ <stop offset="0" stop-color="#F37C1C"/>
7
+ <stop offset="1" stop-color="#FCC191"/>
8
+ </linearGradient>
9
+ <path fill="url(#SVGID_1_)" stroke="#000000" stroke-miterlimit="10" d="M269.2 317.8h116.6v-75H216.7v.1h-29.1v-.1h-79.3v57.9c0 31.5 0 38-.1 38.8-.1.1-.1.2-.1.4L86 481.4h124.9l-23.2-147.6c-.1-.2-.1-.3-.1-.4-.1-.4-.1-2.6-.1-15.4h81.7v-.2z"/>
10
+ <linearGradient id="SVGID_2_" x1="307.099" x2="307.099" y1="163.4" y2="30.7" gradientUnits="userSpaceOnUse">
11
+ <stop offset="0" stop-color="#EFC530"/>
12
+ <stop offset="1" stop-color="#FCEDB6"/>
13
+ </linearGradient>
14
+ <path fill="url(#SVGID_2_)" stroke="#000000" stroke-miterlimit="10" d="M380.9 30.7H233.3c-1.7 0-3.3.7-4.4 1.9-1.2 1.2-1.7 2.8-1.6 4.5 3.6 45.7 25.6 116.9 71.8 125.5 2.7.5 5.4.8 8.1.8s5.4-.3 8.1-.8h.2c18.5-3.6 35.3-18.5 48.6-43.2 12.3-22.8 20.4-52.1 22.8-82.3.1-1.6-.5-3.3-1.6-4.5-1.1-1.2-2.7-1.9-4.4-1.9z"/>
15
+ <path d="M489.8 266.5h-76.4v-22.7c0-15.8-12.8-28.6-28.6-28.6h-42.5v-33.3l1.5-.9c14-7.9 26.5-20.1 37.2-36.2 18.4-27.6 30.2-65.1 33.4-105.6.7-9.3-2.5-18.6-8.8-25.4C399.2 6.9 390.2 3 380.9 3H233.3C224 3 215 6.9 208.6 13.8c-6.3 6.9-9.5 16.1-8.8 25.4 3.2 40.5 15 78 33.4 105.6 10.8 16.1 23.3 28.3 37.2 36.2l1.5.9v33.3H108.5c-15.4 0-27.9 12.5-27.9 27.9v93.7L58.8 476.7c-1.3 8.1 1.1 16.3 6.4 22.5S28.3 509 36.4 509h174.1c8.2 0 15.9-3.6 21.2-9.8 5.3-6.2 7.6-14.4 6.4-22.5l-20.6-131.3H293.4l.4 28.9c0 2.8.9 5.4 2.5 7.7l37.1 53.5c4.3 6.3 13 7.8 19.2 3.5 6.3-4.3 7.8-13 3.5-19.2l-34.7-50-.3-24.3h63.7c15.8 0 28.6-12.8 28.6-28.6v-22.7h76.4c7.6 0 13.8-6.2 13.8-13.8 0-7.7-6.2-13.9-13.8-13.9zM227.3 37.1c-.1-1.7.4-3.3 1.6-4.5 1.1-1.2 2.7-1.9 4.4-1.9h147.6c1.7 0 3.3.7 4.4 1.9 1.1 1.2 1.7 2.9 1.6 4.5-2.4 30.2-10.5 59.5-22.8 82.3-13.3 24.7-30.1 39.6-48.6 43.2h-.2c-2.7.5-5.4.8-8.1.8s-5.4-.3-8.1-.8c-46.2-8.6-68.2-79.8-71.8-125.5zm87.3 153.6v24.4h-15v-24.4l3.2.2c2.8.2 5.9.2 8.7 0l3.1-.2zm71.1 127.1H269.2v.2h-81.7c0 12.8 0 15 .1 15.4 0 .1 0 .2.1.4l23.2 147.6H86l22.1-141.5c0-.2 0-.3.1-.4.1-.8.1-7.3.1-38.8v-57.9h79.3v.1h29.1v-.1h169.1v75h-.1z" class="st2"/>
16
+ <circle cx="545.5" cy="247.5" r="15" class="st2"/>
17
+ <circle cx="545.5" cy="307.5" r="15" class="st2"/>
18
+ <circle cx="605.5" cy="337.5" r="15" class="st2"/>
19
+ <circle cx="605.5" cy="277.5" r="15" class="st2"/>
20
+ <circle cx="605.5" cy="217.5" r="15" class="st2"/>
21
+ </svg>
@@ -0,0 +1,26 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" id="Capa_1" x="0" y="0" enable-background="new 0 0 512 512" version="1.1" viewBox="0 0 512 512" xml:space="preserve">
2
+ <style>
3
+ .st3{fill:#1d1d1d}
4
+ </style>
5
+ <linearGradient id="SVGID_1_" x1="256" x2="256" y1="482" y2="143" gradientUnits="userSpaceOnUse">
6
+ <stop offset="0" stop-color="#F37C1C"/>
7
+ <stop offset="1" stop-color="#FCC191"/>
8
+ </linearGradient>
9
+ <path fill="url(#SVGID_1_)" stroke="#000000" stroke-miterlimit="10" d="M441 467V143H71v324c0 8.3 6.7 15 15 15h340c8.3 0 15-6.7 15-15zm-185-20c-74.4 0-135-60.6-135-135s60.6-135 135-135 135 60.6 135 135-60.6 135-135 135z"/>
10
+ <linearGradient id="SVGID_2_" x1="112" x2="112" y1="113" y2="30" gradientUnits="userSpaceOnUse">
11
+ <stop offset="0" stop-color="#EFC530"/>
12
+ <stop offset="1" stop-color="#FCEDB6"/>
13
+ </linearGradient>
14
+ <path fill="url(#SVGID_2_)" stroke="#000000" stroke-miterlimit="10" d="M71 45v68h82V30H86c-8.3 0-15 6.7-15 15z"/>
15
+ <linearGradient id="SVGID_3_" x1="312" x2="312" y1="113" y2="30" gradientUnits="userSpaceOnUse">
16
+ <stop offset="0" stop-color="#EFC530"/>
17
+ <stop offset="1" stop-color="#FCEDB6"/>
18
+ </linearGradient>
19
+ <path fill="url(#SVGID_3_)" stroke="#000000" stroke-miterlimit="10" d="M426 30H183v83h258V45c0-8.3-6.7-15-15-15zM232 87c-8.3 0-15-6.7-15-15s6.7-15 15-15 15 6.7 15 15-6.7 15-15 15zm80 0h-16c-8.3 0-15-6.7-15-15s6.7-15 15-15h16c8.3 0 15 6.7 15 15s-6.7 15-15 15zm80 0h-16c-8.3 0-15-6.7-15-15s6.7-15 15-15h16c8.3 0 15 6.7 15 15s-6.7 15-15 15z"/>
20
+ <g>
21
+ <path d="M426 512H86c-24.8 0-45-20.2-45-45V45C41 20.2 61.2 0 86 0h340c24.8 0 45 20.2 45 45v422c0 24.8-20.2 45-45 45zM86 30c-8.3 0-15 6.7-15 15v422c0 8.3 6.7 15 15 15h340c8.3 0 15-6.7 15-15V45c0-8.3-6.7-15-15-15H86z" class="st3"/>
22
+ <path d="M456 143H56c-8.3 0-15-6.7-15-15s6.7-15 15-15h400c8.3 0 15 6.7 15 15s-6.7 15-15 15z" class="st3"/>
23
+ <path d="M168 143c-8.3 0-15-6.7-15-15V15c0-8.3 6.7-15 15-15s15 6.7 15 15v113c0 8.3-6.7 15-15 15zM392 87h-16c-8.3 0-15-6.7-15-15s6.7-15 15-15h16c8.3 0 15 6.7 15 15s-6.7 15-15 15zM312 87h-16c-8.3 0-15-6.7-15-15s6.7-15 15-15h16c8.3 0 15 6.7 15 15s-6.7 15-15 15zM256 447c-74.4 0-135-60.6-135-135s60.6-135 135-135 135 60.6 135 135-60.6 135-135 135zm0-240c-57.9 0-105 47.1-105 105s47.1 105 105 105 105-47.1 105-105-47.1-105-105-105z" class="st3"/>
24
+ <circle cx="232" cy="72" r="15" class="st3"/>
25
+ </g>
26
+ </svg>
@@ -0,0 +1,43 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" id="Capa_1" x="0" y="0" enable-background="new 0 0 512 512" version="1.1" viewBox="0 0 512 512" xml:space="preserve">
2
+ <style>
3
+ .st1{display:inline}.st3{fill:#fff}.st7{fill:#1d1d1d}
4
+ </style>
5
+ <path d="M113.5 20H165.4V49.4H113.5z" class="st3"/>
6
+ <linearGradient id="SVGID_4_" x1="63.3" x2="214.9" y1="394.95" y2="394.95" gradientTransform="matrix(1 0 0 -1 0 514)" gradientUnits="userSpaceOnUse">
7
+ <stop offset="0" stop-color="#EFC530"/>
8
+ <stop offset="1" stop-color="#FCEDB6"/>
9
+ </linearGradient>
10
+ <path fill="url(#SVGID_4_)" d="M84.5 170.5c-11.7 0-21.2-9.5-21.2-21.2 0-20.8 8.1-40.4 22.8-55.1l26.6-26.7h53.5l26.6 26.7c11.8 11.8 19.4 26.8 21.9 43.2l.2 1.1-.8.7c-8.7 7.6-14.2 18-15.3 29.4l-.2 1.6-1.6.2c-.9.1-1.8.2-2.5.2l-110-.1z"/>
11
+ <path d="M165.4 69.4l26 26.1c11.5 11.6 18.9 26.2 21.3 42.1-8.9 7.7-14.8 18.7-16 30.7-.8.1-1.5.2-2.3.2H84.5c-10.6 0-19.2-8.6-19.2-19.2 0-20.3 7.9-39.4 22.2-53.7l26-26.1h51.9m1.6-4.1H111.7l-1.2 1.2-26 26.1c-15.1 15.1-23.4 35.2-23.4 56.5 0 12.8 10.4 23.2 23.2 23.2h109.9c.9 0 1.8-.1 2.8-.2l3.2-.4.3-3.2c1.1-10.9 6.3-20.8 14.7-28.1l1.7-1.4-.3-2.2c-2.6-16.8-10.3-32.2-22.4-44.3l-26-26.1-1.2-1.1z" class="st7"/>
12
+ <linearGradient id="SVGID_5_" x1="63.3" x2="207.5" y1="281.6" y2="281.6" gradientTransform="matrix(1 0 0 -1 0 514)" gradientUnits="userSpaceOnUse">
13
+ <stop offset="0" stop-color="#EFC530"/>
14
+ <stop offset="1" stop-color="#FCEDB6"/>
15
+ </linearGradient>
16
+ <path fill="url(#SVGID_5_)" d="M81.3 278.3c-9.9 0-18-8.1-18-18v-55.8c0-9.9 8.1-18 18-18h117l1.7.1 7.5 53.1-3.1-1.2c-3.4-1.3-7-2.1-10.7-2.5-1.7-.2-3.4-.3-5.1-.3-10.3 0-20.1 3.4-28.2 9.9-9.6 7.7-15.5 18.6-16.8 30.9l-.2 1.8H81.3z"/>
17
+ <path d="M197.6 188.5h.6l6.8 48.1c-3.6-1.3-7.3-2.2-11.2-2.6-1.8-.2-3.5-.3-5.3-.3-10.7 0-21 3.6-29.5 10.4-10.2 8.2-16.3 19.9-17.5 32.3H81.3c-8.8 0-16-7.2-16-16v-55.8c0-8.8 7.2-16 16-16l116.3-.1m0-4H81.3c-11 0-20 9-20 20v55.8c0 11 9 20 20 20H145.1l.4-3.6c1.2-11.7 6.9-22.2 16-29.5 7.8-6.2 17.1-9.5 27-9.5 1.6 0 3.3.1 4.9.3 3.5.4 7 1.2 10.3 2.4l6.3 2.3-.9-6.6-6.8-48.1-.5-3.3-3.3-.1h-.1c-.4-.1-.6-.1-.8-.1z" class="st7"/>
18
+ <g>
19
+ <linearGradient id="SVGID_6_" x1="63.3" x2="215" y1="119.85" y2="119.85" gradientTransform="matrix(1 0 0 -1 0 514)" gradientUnits="userSpaceOnUse">
20
+ <stop offset="0" stop-color="#EFC530"/>
21
+ <stop offset="1" stop-color="#FCEDB6"/>
22
+ </linearGradient>
23
+ <path fill="url(#SVGID_6_)" d="M81.3 494c-9.9 0-18-8.1-18-18V312.3c0-9.9 8.1-18 18-18h63.9l.5 1.4c.4 1.3.9 2.6 1.5 3.7l34.5 77.6c8 17.9 19 34.1 32.7 48l.6.6v30.2l-.6.6c-9.5 9-13.7 22-11.3 34.8l.4 1.9-1.9.4c-1.3.3-2.6.4-3.8.4H81.3v.1z"/>
24
+ <path d="M143.8 296.3l1.5 3.9 34.5 77.6c8.1 18.2 19.2 34.5 33.1 48.6V455c-9.8 9.2-14.5 23-11.9 36.7-1.1.2-2.2.4-3.4.4H81.3c-8.8 0-16-7.2-16-16V312.4c0-8.8 7.2-16 16-16h62.5m2.8-4.1H81.3c-11 0-20 9-20 20V476c0 11 9 20 20 20h116.3c1.4 0 2.8-.2 4.2-.5l3.8-.8-.7-3.8c-2.3-12.2 1.7-24.5 10.7-33l1.3-1.2v-31.8l-1.2-1.2c-13.6-13.8-24.4-29.7-32.3-47.4l-34.5-77.6c-.5-1.1-1-2.3-1.4-3.6l-.9-2.8z" class="st7"/>
25
+ </g>
26
+ <g>
27
+ <path d="M81.3 514c-21 0-38-17-38-38V312.3c0-9.8 3.7-18.9 10.3-26-6.7-7.1-10.3-16.2-10.3-26v-55.8c0-10.1 4.1-19.8 11.2-27-7.3-7.7-11.2-17.6-11.2-28.3 0-26.1 10.2-50.7 28.6-69.2l20.5-20.5c-.6-1.7-.8-3.5-.8-5.3v-39C91.5 5.7 99.2-2 108.7-2h61.5c9.5 0 17.2 7.7 17.2 17.2v39c0 1.8-.3 3.6-.8 5.3L207 80c13 13.1 22.1 29.4 26.1 47.3l.4 1.9-1.9.5c-6.6 1.8-12.5 4.9-17.7 9.4l-2.7 2.4-.5-3.6c-2.4-15.6-9.5-29.7-20.7-41l-25.5-25.6h-50.2L88.9 97c-13.9 14-21.6 32.6-21.6 52.3 0 9.5 7.7 17.2 17.2 17.2h109.9c.6 0 1.3 0 2.1-.1l2.5-.3-.3 2.5c-.4 3.6-.3 7.2.2 10.8l1.6 11.2-2.4-.1H81.3c-7.7 0-14 6.3-14 14v55.8c0 7.7 6.3 14 14 14h62.4l-.2 2.2c-.7 6.5.1 13 2.2 19.2l.9 2.6H81.3c-7.7 0-14 6.3-14 14V476c0 7.7 6.3 14 14 14h116.3c1 0 2-.1 3-.3l2-.4.4 2c.4 1.9.9 3.8 1.5 5.7 1.5 4.3 3.8 8.2 6.7 11.7l1.8 2.2-2.7 1c-4.1 1.5-8.4 2.2-12.7 2.2H81.3v-.1zm82.1-466.6V22h-47.9v25.4h47.9z" class="st7"/>
28
+ <path d="M170.2 0c8.4 0 15.2 6.8 15.2 15.2v39c0 2.1-.4 4-1.2 5.8l21.4 21.4c12.9 12.9 21.7 28.9 25.6 46.3-7 1.9-13.3 5.3-18.5 9.9-2.4-15.9-9.8-30.5-21.3-42.1l-26-26.1h-51.9l-26 26.1c-14.3 14.4-22.2 33.4-22.2 53.7 0 10.6 8.6 19.2 19.2 19.2h109.9c.8 0 1.6-.1 2.3-.2-.4 3.7-.3 7.5.2 11.3l1.3 8.9H81.3c-8.8 0-16 7.2-16 16v55.8c0 8.8 7.2 16 16 16h60.2c-.7 6.6.1 13.5 2.3 20H81.3c-8.8 0-16 7.2-16 16v163.7c0 8.8 7.2 16 16 16h116.3c1.2 0 2.3-.1 3.4-.4.4 2 .9 4 1.6 6 1.6 4.6 4 8.7 7 12.3-3.8 1.3-7.8 2.1-12 2.1H81.3c-19.9 0-36-16.1-36-36V312.2c0-10.2 4.3-19.4 11.1-26-6.9-6.6-11.1-15.8-11.1-26v-55.8c0-10.7 4.7-20.3 12.1-26.9-7.5-7.1-12.1-17.2-12.1-28.3 0-25.6 10-49.7 28-67.8L94.6 60c-.7-1.8-1.2-3.7-1.2-5.8v-39c0-8.4 6.8-15.2 15.2-15.2h61.6m-56.7 49.4h51.9V20h-51.9v29.4M170.2-4h-61.5C98.1-4 89.5 4.6 89.5 15.2v39c0 1.6.2 3.2.6 4.7L70.5 78.6c-18.8 18.9-29.2 44-29.2 70.7 0 10.5 3.7 20.4 10.5 28.2-6.7 7.3-10.5 17-10.5 27v55.8c0 9.7 3.4 18.8 9.6 26-6.2 7.2-9.6 16.3-9.6 26V476c0 22.1 17.9 40 40 40h116.3c4.6 0 9.1-.8 13.4-2.3l5.4-1.9-3.7-4.4c-2.8-3.3-4.9-7-6.3-11.1-.6-1.8-1.1-3.6-1.5-5.4l-.8-4-4 .9c-.9.2-1.7.3-2.5.3H81.3c-6.6 0-12-5.4-12-12V312.4c0-6.6 5.4-12 12-12h68.1l-1.8-5.3c-2-5.9-2.7-12.1-2.1-18.3l.4-4.4H81.3c-6.6 0-12-5.4-12-12v-55.8c0-6.6 5.4-12 12-12h116.8l4.8.2-.7-4.7-1.3-8.9c-.5-3.4-.6-6.9-.2-10.3l.5-5-5 .6c-.7.1-1.3.1-1.8.1H84.5c-8.4 0-15.2-6.8-15.2-15.2 0-19.2 7.5-37.3 21-50.9l24.9-25h48.5l24.9 25c10.9 10.9 17.9 24.7 20.2 39.9l1.1 7.2 5.5-4.8c4.9-4.3 10.6-7.3 16.9-9l3.7-1-.9-3.8c-4.1-18.2-13.4-34.9-26.7-48.3L188.8 59c.4-1.5.6-3.1.6-4.7v-39c0-10.7-8.6-19.3-19.2-19.3zm-52.7 28h43.9v21.4h-43.9V24z" class="st7"/>
29
+ </g>
30
+ <g id="outline">
31
+ <path d="M369.6 370.4c-.2-2.1-1.1-4-2.8-5.3-1.6-1.3-3.6-2-5.8-1.7-2.1.2-4 1.1-5.3 2.8-1.9 2.3-3.9 4.4-6 6.6-3.1 3.1-3.1 8 0 11.1 1.5 1.5 3.5 2.3 5.6 2.3 2 0 4-.7 5.6-2.3 2.5-2.5 4.7-4.9 7-7.6 1.1-1.8 1.8-3.9 1.7-5.9zM389.7 306c-4.1-1.2-8.5 1.2-9.7 5.3l-5.3 18.9c-1.9 6.4-4.3 12.5-7.4 18.4-2.1 3.8-.6 8.5 3.2 10.6 1.1.6 2.5.9 3.7.9 2.8 0 5.5-1.4 6.9-4.1 0-.1.1-.1.1-.2 3.6-6.8 6.4-14 8.5-21.4l5.3-18.9c1.3-4-1.1-8.4-5.3-9.5z" class="st7"/>
32
+ <linearGradient id="SVGID_7_" x1="173.026" x2="433.531" y1="213.407" y2="213.407" gradientTransform="matrix(1 0 0 -1 0 514)" gradientUnits="userSpaceOnUse">
33
+ <stop offset="0" stop-color="#F37C1C"/>
34
+ <stop offset="1" stop-color="#FCC191"/>
35
+ </linearGradient>
36
+ <path fill="url(#SVGID_7_)" d="M433 237.3c1.6-5.1-.7-10.7-5.6-13.2-2.7-1.3-5.6-1.5-8.4-.6-2.8.9-5 2.9-6.4 5.6L388 278.3c-1.4 2.9-4.6 4.6-7.8 4.3-2.1-.2-3.9-1.2-5.2-2.9-1.3-1.6-1.9-3.7-1.6-5.8L384.6 173c.5-4.8-2.8-9.2-7.5-10.1-2.4-.4-4.8.1-6.9 1.5-2 1.4-3.3 3.5-3.8 6-4.8 27.5-13.2 76-15.6 93.2-1 7.2-7.3 12.5-14.5 12.5-8.1 0-14.7-6.6-14.7-14.7v-116c0-6.4-5.1-11.6-11.6-11.6-6.4 0-11.6 5.1-11.6 11.6v116c0 8.1-6.6 14.7-14.7 14.7h-.2-.1c-7.3 0-13.4-5.2-14.4-12.3l-15.3-97.4c-1-6.4-7.1-10.9-13.5-10-6.6.9-11.1 7-10.3 13.6l16.7 118.3c0 .4.1.7.1 1.1v24.2c0 2.4-1 4.6-3 6.1-3.4 2.7-8.3 2.2-11-1.2l-37.4-46.9c-.3-.3-.6-.7-.9-1-4.8-4.8-12.8-4.8-17.6 0-3.6 3.7-4.6 9.2-2.6 13.9l35.5 79.8c6.7 15 15.9 28.5 27.5 40l7.4 7.4c1.4 1.4 2.3 3.4 2.3 5.6v50.4h120.2v-63.3c0-2.1.8-4 2.3-5.6 11.8-11.8 20.8-26.5 25.8-42.4L433 237.3zm-65.3 138.8c-2.2 2.6-4.5 5.1-7 7.6-1.5 1.5-3.5 2.3-5.6 2.3-2 0-4-.7-5.6-2.3-3.1-3.1-3.1-8 0-11.1 2.1-2.1 4.1-4.3 6-6.6 1.3-1.6 3.2-2.6 5.3-2.8 2.1-.2 4.1.4 5.8 1.7 1.6 1.3 2.6 3.2 2.8 5.3.3 2.2-.4 4.3-1.7 5.9zm13.5-20.1s-.1.1-.1.2c-1.4 2.6-4.1 4.1-6.9 4.1-1.2 0-2.6-.3-3.7-.9-3.8-2.1-5.2-6.8-3.2-10.6 3.1-5.9 5.6-12 7.4-18.4l5.3-18.9c1.2-4.1 5.6-6.6 9.7-5.3 4.1 1.2 6.6 5.6 5.3 9.7l-5.3 18.9c-2 7.1-4.9 14.3-8.5 21.2z"/>
37
+ <path d="M238.9 483c-2.8 0-5.1 2.3-5.1 5.1 0 2.9 2.3 5.1 5.1 5.1h129.4c2.8 0 5.1-2.3 5.1-5.1 0-2.9-2.3-5.1-5.1-5.1H238.9z" class="st3"/>
38
+ <g>
39
+ <path d="M238.9 510.9c-9.7 0-18.3-6.1-21.5-15.2-3.9-11.1 1.1-23.1 11.6-28.2V421l-4.5-4.5c-13.2-13.2-23.7-28.4-31.2-45.3l-35.5-79.8c-5.6-12.5-2-27.3 8.7-35.8 5.5-4.3 11.9-6.6 18.8-6.6 1.1 0 2.3.1 3.4.2 8 .9 15.2 4.8 20.3 11.1l19.2 24-15.8-112c-2.3-15.9 8.8-31.1 24.8-33.5 1.5-.2 3.1-.4 4.6-.4 6.3 0 12.3 2 17.5 5.8 6.4 4.6 10.6 11.5 11.8 19.4l9.6 60.6v-78.9c0-16.1 13.2-29.3 29.3-29.3s29.3 13.2 29.3 29.3v78.3c3.4-19.9 7.2-42.3 9.7-56.4 2.3-12.9 13.4-22.2 26.4-22.2 1 0 2 .1 3 .2 7.1.8 13.6 4.3 18 9.9 4.5 5.7 6.5 12.6 5.8 19.7l-5.1 45.9c5-9.6 14.7-15.5 25.5-15.5 3.6 0 7.2.7 10.6 2.1 13.9 5.6 21.2 21.2 16.7 35.4l-38 118.9c-5.6 17.2-14.9 33.3-27.3 46.5v64.2c4.1 4.2 6.5 10 6.5 15.9 0 12.5-10.3 22.8-22.8 22.8H238.9v-.1zm0-25.9c-1.6 0-3.1 1.3-3.1 3.1s1.3 3.1 3.1 3.1h129.4c1.6 0 3.1-1.3 3.1-3.1s-1.3-3.1-3.1-3.1H238.9zm125.9-19.7V404c0-2.7 1-5.1 2.9-7 11.5-11.6 20.4-25.9 25.3-41.5l38-118.9c1.3-4.2-.5-8.7-4.5-10.7-1.2-.6-2.6-.9-4-.9-.9 0-2 .2-2.9.5-2.3.7-4.1 2.4-5.1 4.5l-24.6 49.2c-1.6 3.3-5.1 5.5-8.8 5.5-.4 0-.7 0-1.1-.1-2.6-.3-4.9-1.5-6.6-3.6-1.6-2.1-2.4-4.6-2.1-7.3l11.2-100.9c.4-3.7-2.2-7.1-5.9-7.8-.4-.1-.8-.1-1.2-.1-1.4 0-2.9.4-4 1.3-1.5 1.1-2.6 2.7-2.9 4.6-4.8 27.5-13.2 76.1-15.6 93.1-1.1 8.2-8.3 14.4-16.6 14.4-9.3 0-16.8-7.5-16.8-16.8V145.4c0-5.2-4.3-9.6-9.6-9.6-5.2 0-9.6 4.3-9.6 9.6v116c0 9.3-7.5 16.8-16.8 16.8h-.2c-8.3 0-15.2-6-16.6-14.1l-15.3-97.4c-.7-4.7-5-8.3-9.9-8.3-.4 0-.9 0-1.3.1-5.5.7-9.3 5.8-8.4 11.2l16.7 118.2c.1.5.1.9.1 1.3v24.4c0 3-1.3 5.9-3.7 7.7-1.7 1.4-3.9 2.2-6.2 2.2-3 0-5.9-1.3-7.7-3.7l-37.5-47c-.2-.3-.5-.6-.8-.8-2-2-4.5-3.1-7.3-3.1s-5.3 1-7.3 3.1c-3.1 3.1-3.9 7.6-2.2 11.6l35.5 79.8c6.6 14.7 15.6 28 27 39.4l7.4 7.4c1.9 1.9 2.9 4.3 2.9 7v48.3h116v-.2z" class="st7"/>
40
+ <path d="M310 118.1c15 0 27.3 12.2 27.3 27.3v103.2c3.6-22.1 9.9-58.6 13.8-81 2.1-11.9 12.5-20.6 24.5-20.6.9 0 1.9 0 2.8.1 6.6.7 12.5 4 16.7 9.2 4.1 5.1 6.1 11.6 5.2 18.2l-6.4 57.3 4.9-10c4.7-9.3 14-14.7 23.9-14.7 3.3 0 6.7.6 9.9 1.9 12.9 5.1 19.6 19.6 15.4 32.8l-38 118.9c-5.6 17.2-15 33.2-27.4 46.4v65.8c4.1 3.9 6.5 9.4 6.5 15.1 0 11.4-9.4 20.8-20.8 20.8H238.9c-8.7 0-16.7-5.6-19.5-13.9-3.7-10.5 1.5-22 11.7-26.1V420l-5-5.1c-13-13-23.3-28-30.7-44.7l-35.5-79.8c-5.1-11.6-1.9-25.4 8.1-33.3 5-4 11.1-6.2 17.5-6.2 1 0 2.1.1 3.2.2 7.5.8 14.2 4.5 18.8 10.4L231 291v-1.4l-16.7-117.7c-2.2-14.9 8.2-28.9 23.1-31.3 1.4-.2 2.9-.3 4.3-.3 5.8 0 11.4 1.9 16.2 5.3 6 4.3 9.9 10.8 11 18.1l13.7 86.5V145.4c.2-15 12.4-27.3 27.4-27.3m-26.5 158c-7.3 0-13.4-5.2-14.4-12.3l-15.3-97.4c-.9-5.9-6.1-10.1-11.8-10.1-.5 0-1.1 0-1.6.1-6.6.9-11.1 7-10.3 13.6l16.7 118.3c0 .4.1.7.1 1.1v24.2c0 2.4-1 4.6-3 6.1-1.4 1.1-3.2 1.7-4.8 1.7-2.3 0-4.5-1-6.1-3l-37.7-46.9c-.3-.3-.6-.7-.9-1-2.5-2.5-5.7-3.6-8.8-3.6-3.2 0-6.4 1.2-8.8 3.6-3.6 3.7-4.6 9.2-2.6 13.9l35.5 79.8c6.7 15 15.9 28.5 27.5 40l7.4 7.4c1.4 1.4 2.3 3.4 2.3 5.6v50.4h120.3v-63.3c0-2.1.8-4 2.3-5.6 11.8-11.8 20.8-26.5 25.8-42.4l38-118.9c1.6-5.1-.7-10.7-5.6-13.2-1.5-.8-3.2-1.1-4.9-1.1-1.1 0-2.4.2-3.5.6-2.8.9-5 2.9-6.4 5.6l-24.6 49.2c-1.3 2.7-4.1 4.3-7 4.3h-.8c-2.1-.2-3.9-1.2-5.2-2.9-1.3-1.6-1.9-3.7-1.6-5.8l11.2-100.9c.5-4.8-2.8-9.2-7.5-10.1-.5-.1-1-.1-1.6-.1-1.9 0-3.7.6-5.2 1.6-2 1.4-3.3 3.5-3.8 6-4.8 27.5-13.2 76-15.6 93.2-1 7.2-7.3 12.5-14.5 12.5-8.1 0-14.7-6.6-14.7-14.7V145.4c0-6.4-5.2-11.6-11.6-11.6-6.4 0-11.6 5.2-11.6 11.6v116c0 8.1-6.6 14.7-14.7 14.7h-.6m-44.6 217.2h129.4c2.8 0 5.1-2.3 5.1-5.1s-2.3-5.1-5.1-5.1H238.9c-2.8 0-5.1 2.3-5.1 5.1-.1 2.8 2.3 5.1 5.1 5.1M310 114c-17.3 0-31.4 14.1-31.4 31.4V198l-5.5-34.8c-1.3-8.3-5.9-15.7-12.6-20.8-5.5-4-11.9-6.1-18.6-6.1-1.6 0-3.3.1-4.9.4-17.1 2.7-29 18.7-26.5 35.9l14.8 104.6-14.7-18.2c-5.3-6.7-13.1-10.9-21.6-11.9-1.2-.1-2.4-.2-3.6-.2-7.4 0-14.3 2.5-20.1 7.1-11.4 9.2-15.2 24.9-9.4 38.3l35.5 79.8c7.6 17.2 18.3 32.7 31.6 46l3.9 3.9v44.4c-10.6 5.8-15.6 18.5-11.5 30.1 3.5 9.9 13 16.6 23.4 16.6h129.4c13.7 0 24.9-11.1 24.9-24.9 0-6.2-2.4-12.2-6.5-16.8v-62.5c12.2-13.4 21.7-29.4 27.1-46.7l38-118.9c4.8-15.3-3-31.9-17.9-37.9-3.7-1.4-7.5-2.2-11.3-2.2-8.7 0-16.9 3.6-22.5 9.9l4.2-37.9c.8-7.7-1.3-15.2-6.2-21.3s-11.7-9.9-19.4-10.7c-1-.1-2.2-.2-3.2-.2-14.1 0-26 10.1-28.5 24-1.5 8.6-3.5 20.2-5.7 32.5v-54c.1-17.4-13.9-31.5-31.2-31.5zm-26.5 166.2h.3c10.4 0 18.8-8.4 18.8-18.8v-116c0-4.1 3.4-7.5 7.5-7.5s7.5 3.4 7.5 7.5v116c0 10.4 8.4 18.8 18.8 18.8 9.3 0 17.3-6.9 18.6-16.1 2.5-17.1 10.9-65.6 15.6-93.1.2-1.3.9-2.5 2.1-3.3.8-.6 1.9-.9 2.9-.9.3 0 .6 0 .9.1 2.6.4 4.4 2.9 4.1 5.6l-11.4 101c-.3 3.2.5 6.3 2.6 8.7 2 2.5 4.8 4 8 4.4.4 0 .9.1 1.3.1 4.5 0 8.6-2.6 10.7-6.6l24.6-49.2c.8-1.6 2.3-2.9 4-3.4.7-.2 1.4-.3 2.2-.3 1 0 2.1.2 3.1.7 3.1 1.5 4.5 5 3.5 8.2l-38 118.9c-4.9 15.3-13.5 29.4-24.9 40.7-2.3 2.3-3.5 5.2-3.5 8.4v59.2h-112V417c0-3.2-1.2-6.2-3.5-8.4l-7.4-7.4c-11.2-11.2-20.2-24.3-26.6-38.8l-35.5-79.8c-1.4-3.2-.7-6.8 1.7-9.3 1.5-1.5 3.7-2.5 5.9-2.5 2.3 0 4.3.8 5.9 2.5.2.2.4.4.6.7l37.6 47c2.3 2.9 5.7 4.5 9.4 4.5 2.7 0 5.3-.9 7.4-2.6 2.9-2.3 4.5-5.7 4.5-9.4v-24.3c0-.5 0-1.1-.1-1.6l-16.7-118c-.6-4.3 2.5-8.3 6.7-8.8.3 0 .7-.1 1-.1 3.8 0 7.2 2.9 7.8 6.7l15.3 97.4c1.5 8.7 9.3 15.4 18.7 15.4zm-44.6 208.9c-.5 0-1-.4-1-1 0-.5.4-1 1-1h129.4c.5 0 1 .4 1 1 0 .5-.4 1-1 1H238.9z" class="st7"/>
41
+ </g>
42
+ </g>
43
+ </svg>
@@ -0,0 +1,20 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" id="Layer_1" x="0" y="0" enable-background="new 0 0 512 512" version="1.1" viewBox="0 0 512 512" xml:space="preserve">
2
+ <style>
3
+ .st1{fill:#1d1d1d}
4
+ </style>
5
+ <linearGradient id="SVGID_1_" x1="190.25" x2="190.25" y1="398" y2="90.9" gradientUnits="userSpaceOnUse">
6
+ <stop offset="0" stop-color="#F37C1C"/>
7
+ <stop offset="1" stop-color="#FCC191"/>
8
+ </linearGradient>
9
+ <path fill="url(#SVGID_1_)" stroke="#000000" stroke-miterlimit="10" d="M72 90.9L310.2 90.9 310.2 300.8 232.4 348.9 223.9 398 158.4 398 149.9 345.8 70.3 290.7z"/>
10
+ <path d="M104.1 158.1v86h174.1v-86H104.1zm148 60.1h-122v-34h122.1v34h-.1z" class="st1"/>
11
+ <path d="M511 420.7c0-15.7-11.1-29.5-26.4-32.8l-1.6-.3v-53.3h-29.7V201.5l-39.4-39.4-18.4 18.4 31.8 31.8v122h-29.7v57.3l-1.2.5c-5 2.2-9.8 5-14.1 8.5l-3 2.4-.2-3.9c-2-39.5-33.1-72.1-72.5-75.8l-4.3-.4 3.1-3c19.9-19.4 30.8-45.3 30.8-73v-182h-33.1l-.6-.9c-24-38.8-65.6-62-111.4-62-45.7 0-87.4 23.2-111.4 61.9l-.6.9H46v182c0 27.7 10.9 53.6 30.8 73l3.1 3-4.3.4c-41.4 4-72.6 38.4-72.6 80V510h376.2v-16l3.2 2.6c11 8.8 24.2 13.4 38.2 13.4h56.7c18.5 0 33.6-15.1 33.6-33.6l.1-55.7zM70.3 484H29v-80.8c0-23.8 15.9-45.2 38.7-52l2.6-.8V484zm43.8-422.5c19.8-21.3 47.8-33.5 77-33.5s57.2 12.2 77 33.5l3.1 3.4H111l3.1-3.4zM285.9 484H96.3V348.9h27.2l13 75.2h109.2l13-75.2h27.2V484zm-136-135.1h82.5l-8.5 49.1h-65.5l-8.5-49.1zm84.3-26H148c-41.9 0-76-34.1-76-76v-156h238.2v156c0 41.9-34.1 76-76 76zm119 161.1h-41.3V350.4l2.6.8c22.8 6.8 38.7 28.2 38.7 52V484zm70.5-123.7H457v26.8h-33.3v-26.8zM485 476.4c0 4.2-3.4 7.6-7.6 7.6h-56.7c-19.6 0-35.5-15.9-35.5-35.5 0-19.5 15.9-35.5 35.5-35.5h56.7c4.2 0 7.6 3.4 7.6 7.6v55.8z" class="st1"/>
12
+ <path d="M362.4 129.2H388.4V154.7H362.4z" class="st1" transform="rotate(-45.001 375.44 141.952)"/>
13
+ <path d="M359.3 188H384.8V214H359.3z" class="st1" transform="rotate(-44.911 372.036 201.038)"/>
14
+ <path d="M421.7 125.7H447.2V151.7H421.7z" class="st1" transform="rotate(-44.911 434.448 138.695)"/>
15
+ <linearGradient id="SVGID_2_" x1="191.1" x2="191.1" y1="484" y2="348.9" gradientUnits="userSpaceOnUse">
16
+ <stop offset="0" stop-color="#EFC530"/>
17
+ <stop offset="1" stop-color="#FCEDB6"/>
18
+ </linearGradient>
19
+ <path fill="url(#SVGID_2_)" stroke="#000000" stroke-miterlimit="10" d="M96.3 348.9L123.5 348.9 136.5 424.1 245.7 424.1 258.7 348.9 285.9 348.9 285.9 484 96.3 484z"/>
20
+ </svg>
@@ -0,0 +1,15 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 512 512" viewBox="0 0 512 512">
2
+ <linearGradient id="nmhiumduza" x1="255.999" x2="255.999" y1="307.962" y2="144.909" gradientUnits="userSpaceOnUse">
3
+ <stop offset="0" stop-color="#F37C1C"/>
4
+ <stop offset="1" stop-color="#FCC191"/>
5
+ </linearGradient>
6
+ <path fill="url(#nmhiumduza)" stroke="#000000" stroke-miterlimit="10" d="M152.2 144.9l-5.5 35.1c-5.1 32 4.1 64.5 25.2 89.2 21.1 24.7 51.7 38.8 84.2 38.8s63.1-14.1 84.2-38.8c21.1-24.7 30.2-57.2 25.2-89.2l-5.5-35.1H152.2z"/>
7
+ <linearGradient id="e8urejhbsb" x1="115.412" x2="115.412" y1="182.583" y2="182.583" gradientUnits="userSpaceOnUse">
8
+ <stop offset="0" stop-color="#F37C1C"/>
9
+ <stop offset="1" stop-color="#FCC191"/>
10
+ </linearGradient>
11
+ <path fill="url(#e8urejhbsb)" stroke="#000000" stroke-miterlimit="10" d="M115.4 182.6L115.4 182.6 115.4 182.6z"/>
12
+ <g>
13
+ <path fill="#1D1D1D" d="M395.6 175.2L370 12.9C368.8 5.5 362.4 0 354.9 0H157.1c-7.5 0-14 5.5-15.1 12.9l-25.6 162.3c-6.5 40.9 5.3 82.4 32.2 113.9 23.6 27.6 56.5 44.8 92.1 48.7v143.6h-67.5c-8.5 0-15.3 6.9-15.3 15.3s6.9 15.3 15.3 15.3h165.6c8.5 0 15.3-6.9 15.3-15.3s-6.9-15.3-15.3-15.3h-67.5V337.8c35.6-3.9 68.6-21.1 92.1-48.7 27-31.5 38.7-73 32.2-113.9zM170.2 30.6h171.6l13.2 83.6H157l13.2-83.6zm170 238.6C319.1 293.8 288.4 308 256 308s-63.1-14.1-84.2-38.8c-21.1-24.7-30.2-57.2-25.2-89.2l5.5-35.1h207.7l5.5 35.1c5.1 32-4.1 64.5-25.1 89.2z"/>
14
+ </g>
15
+ </svg>
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ var _typeof = require("@babel/runtime/helpers/typeof");
6
+
7
+ Object.defineProperty(exports, "__esModule", {
8
+ value: true
9
+ });
10
+ exports.default = void 0;
11
+
12
+ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
13
+
14
+ var _react = _interopRequireWildcard(require("react"));
15
+
16
+ var _lodash = require("lodash");
17
+
18
+ var _i18n = _interopRequireDefault(require("../../utilities/i18n"));
19
+
20
+ require("./styles.scss");
21
+
22
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
23
+
24
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
25
+
26
+ var Toggle = function Toggle(_ref) {
27
+ var inOpts = _ref.options;
28
+
29
+ // Example options: [{label: "opt1", value: true}, {label: "opt2", value: false}]
30
+ var _useState = (0, _react.useState)(inOpts),
31
+ _useState2 = (0, _slicedToArray2.default)(_useState, 2),
32
+ options = _useState2[0],
33
+ setOptions = _useState2[1];
34
+
35
+ if ((0, _lodash.isEmpty)(inOpts)) {
36
+ return null;
37
+ }
38
+
39
+ (0, _react.useEffect)(function () {
40
+ setOptions(inOpts);
41
+ }, []);
42
+
43
+ var activeClass = function activeClass(opt) {
44
+ return '';
45
+ };
46
+
47
+ var handleButtonsChange = function handleButtonsChange(label) {
48
+ // setOptions(newButtonsState);
49
+ console.log('toggle -> ', label);
50
+ };
51
+
52
+ return /*#__PURE__*/_react.default.createElement("div", {
53
+ className: "toggle"
54
+ }, /*#__PURE__*/_react.default.createElement("div", {
55
+ className: "toggle__opt toggle__opt--first toggle__opt--active"
56
+ }, _i18n.default.t("concentration")), /*#__PURE__*/_react.default.createElement("div", {
57
+ className: "toggle__opt toggle__opt--last ".concat(activeClass(options[1]))
58
+ }, _i18n.default.t("load")));
59
+ };
60
+
61
+ var _default = Toggle;
62
+ exports.default = _default;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.default = void 0;
9
+
10
+ var _Toggle = _interopRequireDefault(require("./Toggle"));
11
+
12
+ var _default = _Toggle.default;
13
+ exports.default = _default;
@@ -0,0 +1,44 @@
1
+ .toggle {
2
+ box-sizing: border-box;
3
+ display: inline-block;
4
+ border: 1px solid #f6004e;
5
+ border-radius: 15px;
6
+ overflow: hidden;
7
+ cursor: pointer;
8
+ font-size: 14px;
9
+ margin: 0 0 0 20px;
10
+
11
+ &__opt {
12
+ display: inline-block;
13
+ float: left;
14
+ padding: 4px 14px;
15
+ color: #f6004e;
16
+ height: 100%;
17
+ min-width: 120px;
18
+ text-align: center;
19
+
20
+ &--first {
21
+ background: #f6004e;
22
+ color: #fff;
23
+ border-right: 1px solid #f6004e;
24
+ }
25
+
26
+ &--last {
27
+ }
28
+
29
+ &--active {
30
+
31
+ }
32
+ }
33
+ }
34
+
35
+ .rtls {
36
+ .toggle {
37
+ margin: 0 20px 0 0;
38
+
39
+ &__opt {
40
+ margin: 0 0 0 10px;
41
+ float: right;
42
+ }
43
+ }
44
+ }
@@ -0,0 +1,217 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ var _typeof = require("@babel/runtime/helpers/typeof");
6
+
7
+ Object.defineProperty(exports, "__esModule", {
8
+ value: true
9
+ });
10
+ exports.default = void 0;
11
+
12
+ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
13
+
14
+ var _react = _interopRequireWildcard(require("react"));
15
+
16
+ var _lodash = require("lodash");
17
+
18
+ var _highchartsReactOfficial = _interopRequireDefault(require("highcharts-react-official"));
19
+
20
+ var _highstock = _interopRequireDefault(require("highcharts/highstock"));
21
+
22
+ var _axios = _interopRequireDefault(require("axios"));
23
+
24
+ require("./styles.scss");
25
+
26
+ var _ContentLoader = require("../ContentLoader");
27
+
28
+ var _i18n = _interopRequireDefault(require("../../utilities/i18n"));
29
+
30
+ var _indicators = _interopRequireDefault(require("highcharts/indicators/indicators"));
31
+
32
+ var _trendline = _interopRequireDefault(require("highcharts/indicators/trendline"));
33
+
34
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
35
+
36
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
37
+
38
+ function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
39
+
40
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
41
+
42
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
43
+
44
+ (0, _indicators.default)(_highstock.default);
45
+ (0, _trendline.default)(_highstock.default);
46
+
47
+ var parseData = function parseData(jsonData) {
48
+ var _jsonData$x_axis;
49
+
50
+ var result = {
51
+ values: jsonData.values
52
+ };
53
+ var x_axis = [];
54
+
55
+ if (!((_jsonData$x_axis = jsonData.x_axis) !== null && _jsonData$x_axis !== void 0 && _jsonData$x_axis.length)) {
56
+ return [];
57
+ }
58
+
59
+ var _iterator = _createForOfIteratorHelper(jsonData.x_axis),
60
+ _step;
61
+
62
+ try {
63
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
64
+ var dateTime = _step.value;
65
+ // @ts-ignore
66
+ x_axis.push(new Date(dateTime).getTime());
67
+ } // @ts-ignore
68
+
69
+ } catch (err) {
70
+ _iterator.e(err);
71
+ } finally {
72
+ _iterator.f();
73
+ }
74
+
75
+ result['x_axis'] = x_axis;
76
+ return result;
77
+ };
78
+
79
+ var TrendGraph = function TrendGraph(_ref) {
80
+ var pointId = _ref.pointId,
81
+ period = _ref.period;
82
+
83
+ var _useState = (0, _react.useState)([]),
84
+ _useState2 = (0, _slicedToArray2.default)(_useState, 2),
85
+ data = _useState2[0],
86
+ setData = _useState2[1];
87
+
88
+ var _useState3 = (0, _react.useState)(true),
89
+ _useState4 = (0, _slicedToArray2.default)(_useState3, 2),
90
+ isFetching = _useState4[0],
91
+ setIsFetching = _useState4[1];
92
+
93
+ var getData = function getData(period) {
94
+ setData([]);
95
+ setIsFetching(true);
96
+
97
+ _axios.default.get("/data/trend-graph-component-data/".concat(pointId, "?period=").concat(period)).then(function (response) {
98
+ setIsFetching(false); // @ts-ignore
99
+
100
+ setData(parseData(response.data.data));
101
+ });
102
+ };
103
+
104
+ var isNoData = function isNoData() {
105
+ return (0, _lodash.isEmpty)(data);
106
+ }; // Time formats: https://api.highcharts.com/class-reference/Highcharts.Time
107
+
108
+
109
+ var getChartFormat = function getChartFormat() {
110
+ switch (period) {
111
+ case '24h':
112
+ case '48h':
113
+ case '7d':
114
+ case '30d':
115
+ case '3m':
116
+ return '%e-%b';
117
+
118
+ case '6m':
119
+ case '1y':
120
+ return '%b-%y';
121
+
122
+ default:
123
+ return '%e-%b-%y';
124
+ }
125
+ };
126
+
127
+ var options = {
128
+ chart: {
129
+ height: 254
130
+ },
131
+ // @ts-ignore
132
+ credits: {
133
+ enabled: false
134
+ },
135
+ // @ts-ignore
136
+ title: false,
137
+ rangeSelector: {
138
+ selected: 5
139
+ },
140
+ legend: {
141
+ enabled: false
142
+ },
143
+ plotOptions: {
144
+ series: {
145
+ showInLegend: true,
146
+ marker: {
147
+ enabled: false
148
+ }
149
+ }
150
+ },
151
+ xAxis: [{
152
+ labels: {
153
+ format: "{value:".concat(getChartFormat(), "}")
154
+ },
155
+ // @ts-ignore
156
+ categories: data === null || data === void 0 ? void 0 : data.x_axis,
157
+ crosshair: true,
158
+ type: 'datetime'
159
+ }],
160
+ yAxis: {
161
+ // Primary yAxis
162
+ softMax: 10,
163
+ title: {
164
+ text: ''
165
+ },
166
+ labels: {
167
+ format: '{value}',
168
+ style: {
169
+ // @ts-ignore
170
+ color: _highstock.default.getOptions().colors[1]
171
+ }
172
+ }
173
+ },
174
+ series: [{
175
+ type: 'column',
176
+ id: 'PIs',
177
+ name: _i18n.default.t("components.trend.pi_value"),
178
+ // @ts-ignore
179
+ data: data.values
180
+ }, {
181
+ type: 'trendline',
182
+ enableMouseTracking: false,
183
+ // @ts-ignore
184
+ dashStyle: 'shortdot',
185
+ linkedTo: 'PIs'
186
+ }],
187
+ tooltip: {
188
+ useHTML: true,
189
+ xDateFormat: getChartFormat(),
190
+ valueDecimals: 1
191
+ }
192
+ };
193
+ (0, _react.useEffect)(function () {
194
+ if (pointId && period) {
195
+ getData(period);
196
+ }
197
+
198
+ return function cleanup() {};
199
+ }, [pointId, period]);
200
+ return /*#__PURE__*/_react.default.createElement("div", {
201
+ className: "trend-graph"
202
+ }, isFetching ? /*#__PURE__*/_react.default.createElement(_ContentLoader.RowLoader, {
203
+ margin: "26px 0 0",
204
+ bgColor: "#f2f2f2",
205
+ fgColor: "#fff"
206
+ }) : /*#__PURE__*/_react.default.createElement("div", {
207
+ className: "trend-graph__content"
208
+ }, isNoData() ? /*#__PURE__*/_react.default.createElement("div", {
209
+ className: "no-data"
210
+ }, "No data available.") : /*#__PURE__*/_react.default.createElement(_highchartsReactOfficial.default, {
211
+ highcharts: _highstock.default,
212
+ options: options
213
+ })));
214
+ };
215
+
216
+ var _default = TrendGraph;
217
+ exports.default = _default;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.default = void 0;
9
+
10
+ var _TrendGraph = _interopRequireDefault(require("./TrendGraph"));
11
+
12
+ var _default = _TrendGraph.default;
13
+ exports.default = _default;
@@ -0,0 +1,2 @@
1
+ .trend-graph {
2
+ }