ato-water-lib 0.0.0-watch

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 (391) hide show
  1. package/README.md +24 -0
  2. package/esm2020/ato-water-lib.mjs +5 -0
  3. package/esm2020/lib/ato-water-lib.component.mjs +19 -0
  4. package/esm2020/lib/ato-water-lib.module.mjs +26 -0
  5. package/esm2020/lib/ato-water-lib.service.mjs +14 -0
  6. package/esm2020/lib/components/flow-diagram-lib/flow-diagram-lib.component.mjs +71 -0
  7. package/esm2020/lib/constants/applicable-prefixes-const.mjs +441 -0
  8. package/esm2020/lib/constants/key.const.mjs +4 -0
  9. package/esm2020/lib/constants/plant.constant.mjs +51 -0
  10. package/esm2020/lib/constants/value.const.mjs +782 -0
  11. package/esm2020/lib/models/default-gojs-editor.model.mjs +3148 -0
  12. package/esm2020/lib/models/gojs-editor.model.mjs +1743 -0
  13. package/esm2020/lib/services/utils/utils.service.mjs +133 -0
  14. package/esm2020/public-api.mjs +8 -0
  15. package/fesm2015/ato-water-lib.mjs +6448 -0
  16. package/fesm2015/ato-water-lib.mjs.map +1 -0
  17. package/fesm2020/ato-water-lib.mjs +6419 -0
  18. package/fesm2020/ato-water-lib.mjs.map +1 -0
  19. package/index.d.ts +5 -0
  20. package/lib/assets/.gitkeep +0 -0
  21. package/lib/assets/files/campaign-data.csv +6 -0
  22. package/lib/assets/files/campaign-templates/campaign-data.csv +6 -0
  23. package/lib/assets/files/campaign-templates/campaign-tracking.csv +6 -0
  24. package/lib/assets/files/campaign-templates/category-log-sample.txt +129 -0
  25. package/lib/assets/files/campaign-templates/contact-template.csv +1 -0
  26. package/lib/assets/files/campaign-templates/question-template.csv +3 -0
  27. package/lib/assets/files/campaign-tracking.csv +6 -0
  28. package/lib/assets/files/category-log-sample.txt +129 -0
  29. package/lib/assets/files/contact-template.csv +1 -0
  30. package/lib/assets/files/question-template.csv +3 -0
  31. package/lib/assets/images/boiler/boiler.gif +0 -0
  32. package/lib/assets/images/boiler/cms_boiler.gif +0 -0
  33. package/lib/assets/images/boiler/cms_boiler.png +0 -0
  34. package/lib/assets/images/boiler/cms_boiler2.gif +0 -0
  35. package/lib/assets/images/boiler/cms_boiler_3.png +0 -0
  36. package/lib/assets/images/boiler/cms_sample.gif +0 -0
  37. package/lib/assets/images/coming-soon/coming_soon1.PNG +0 -0
  38. package/lib/assets/images/coming-soon/coming_soon2.PNG +0 -0
  39. package/lib/assets/images/coming-soon/coming_soon3.png +0 -0
  40. package/lib/assets/images/coming-soon/coming_soon_icon.png +0 -0
  41. package/lib/assets/images/coming-soon/net_carbon.png +0 -0
  42. package/lib/assets/images/coming-soon/ws-emission-graph.PNG +0 -0
  43. package/lib/assets/images/editor/Fresh Water Treatment.svg +6 -0
  44. package/lib/assets/images/editor/Heat Changer.svg +6 -0
  45. package/lib/assets/images/editor/Heating.svg +6 -0
  46. package/lib/assets/images/editor/No_Image_Available.jpeg +0 -0
  47. package/lib/assets/images/editor/Process.svg +6 -0
  48. package/lib/assets/images/editor/Treatment.svg +6 -0
  49. package/lib/assets/images/editor/Water Cooling.svg +6 -0
  50. package/lib/assets/images/editor/Water Storage.svg +6 -0
  51. package/lib/assets/images/editor/data-box/data_box.svg +94 -0
  52. package/lib/assets/images/editor/energy/Battery.svg +107 -0
  53. package/lib/assets/images/editor/energy/Compressed air.svg +211 -0
  54. package/lib/assets/images/editor/energy/Diesel Barrels.png +0 -0
  55. package/lib/assets/images/editor/energy/Diesel Dispenser.png +0 -0
  56. package/lib/assets/images/editor/energy/Diesel Fleet.png +0 -0
  57. package/lib/assets/images/editor/energy/Diesel Generators.svg +219 -0
  58. package/lib/assets/images/editor/energy/Diesel Meter.png +0 -0
  59. package/lib/assets/images/editor/energy/Diesel Tank.png +0 -0
  60. package/lib/assets/images/editor/energy/Diesel Tanker.png +0 -0
  61. package/lib/assets/images/editor/energy/Electric_Panel.svg +1776 -0
  62. package/lib/assets/images/editor/energy/Flywheel energy storage systems.svg +45 -0
  63. package/lib/assets/images/editor/energy/Gas Dryer.png +0 -0
  64. package/lib/assets/images/editor/energy/Gas Flare.png +0 -0
  65. package/lib/assets/images/editor/energy/Gas HVAC.svg +103 -0
  66. package/lib/assets/images/editor/energy/Gas Meter.png +0 -0
  67. package/lib/assets/images/editor/energy/Gas Utility.png +0 -0
  68. package/lib/assets/images/editor/energy/Grid.svg +829 -0
  69. package/lib/assets/images/editor/energy/Grounding systems.svg +58 -0
  70. package/lib/assets/images/editor/energy/Industrial motors.svg +74 -0
  71. package/lib/assets/images/editor/energy/Inverter.svg +20 -0
  72. package/lib/assets/images/editor/energy/Lighting systems.svg +106 -0
  73. package/lib/assets/images/editor/energy/Lights.svg +106 -0
  74. package/lib/assets/images/editor/energy/Material handling equipment.svg +687 -0
  75. package/lib/assets/images/editor/energy/Meter.svg +83 -0
  76. package/lib/assets/images/editor/energy/Motor control centers (MCCs).svg +241 -0
  77. package/lib/assets/images/editor/energy/Natural gas generators.svg +414 -0
  78. package/lib/assets/images/editor/energy/Office equipment.svg +333 -0
  79. package/lib/assets/images/editor/energy/Power conditioning unit (PCU).svg +125 -0
  80. package/lib/assets/images/editor/energy/Power distribution and control systems.svg +1776 -0
  81. package/lib/assets/images/editor/energy/Power distribution systems.svg +1776 -0
  82. package/lib/assets/images/editor/energy/Process control and automation systems.svg +87 -0
  83. package/lib/assets/images/editor/energy/Process equipment and machines.svg +366 -0
  84. package/lib/assets/images/editor/energy/Pumped hydro storage systems.svg +480 -0
  85. package/lib/assets/images/editor/energy/Refrigeration and cooling systems.svg +243 -0
  86. package/lib/assets/images/editor/energy/Solar.svg +176 -0
  87. package/lib/assets/images/editor/energy/Supercapacitor energy storage systems.svg +982 -0
  88. package/lib/assets/images/editor/energy/Switchgear.svg +123 -0
  89. package/lib/assets/images/editor/energy/Thermal energy storage systems.svg +137 -0
  90. package/lib/assets/images/editor/energy/Transformer.svg +1111 -0
  91. package/lib/assets/images/editor/energy/Variable frequency drives (VFDs).svg +186 -0
  92. package/lib/assets/images/editor/energy/Wind Power.svg +139 -0
  93. package/lib/assets/images/editor/fuel/Biodiesel.png +0 -0
  94. package/lib/assets/images/editor/fuel/Biodiesel.svg +48 -0
  95. package/lib/assets/images/editor/fuel/Diesel fuel.png +0 -0
  96. package/lib/assets/images/editor/fuel/Diesel fuel.svg +135 -0
  97. package/lib/assets/images/editor/fuel/Fuel dispensers.svg +228 -0
  98. package/lib/assets/images/editor/fuel/Fuel filtration systems.svg +50 -0
  99. package/lib/assets/images/editor/fuel/Fuel management systems.svg +166 -0
  100. package/lib/assets/images/editor/fuel/Fuel meters.svg +81 -0
  101. package/lib/assets/images/editor/fuel/Fuel storage tanks.svg +355 -0
  102. package/lib/assets/images/editor/fuel/Gasoline.png +0 -0
  103. package/lib/assets/images/editor/fuel/Gasoline.svg +56 -0
  104. package/lib/assets/images/editor/fuel/Generators.png +0 -0
  105. package/lib/assets/images/editor/fuel/Generators.svg +219 -0
  106. package/lib/assets/images/editor/fuel/Industrial boilers.png +0 -0
  107. package/lib/assets/images/editor/fuel/Industrial boilers.svg +337 -0
  108. package/lib/assets/images/editor/fuel/Industrial furnaces.png +0 -0
  109. package/lib/assets/images/editor/fuel/Industrial furnaces.svg +179 -0
  110. package/lib/assets/images/editor/fuel/Industrial ovens.png +0 -0
  111. package/lib/assets/images/editor/fuel/Industrial ovens.svg +118 -0
  112. equipment.png +0 -0
  113. package/lib/assets/images/editor/fuel/Industrial vehicles and equipment.svg +276 -0
  114. package/lib/assets/images/editor/fuel/Kerosene.png +0 -0
  115. package/lib/assets/images/editor/fuel/Kerosene.svg +140 -0
  116. package/lib/assets/images/editor/fuel/Pipeline.png +0 -0
  117. package/lib/assets/images/editor/fuel/Pipeline.svg +50 -0
  118. package/lib/assets/images/editor/fuel/Propane.png +0 -0
  119. package/lib/assets/images/editor/fuel/Propane.svg +96 -0
  120. package/lib/assets/images/editor/fuel/Tanker Trucks.png +0 -0
  121. package/lib/assets/images/editor/fuel/Tanker Trucks.svg +1107 -0
  122. heaters.png +0 -0
  123. package/lib/assets/images/editor/gas/Boilers and heaters.svg +22 -0
  124. package/lib/assets/images/editor/gas/Burners.png +0 -0
  125. package/lib/assets/images/editor/gas/Burners.svg +49 -0
  126. package/lib/assets/images/editor/gas/Cogeneration.png +0 -0
  127. package/lib/assets/images/editor/gas/Cogeneration.svg +440 -0
  128. package/lib/assets/images/editor/gas/Combined cycle power plants.png +0 -0
  129. package/lib/assets/images/editor/gas/Combined cycle power plants.svg +5570 -0
  130. package/lib/assets/images/editor/gas/Combustion control systems.svg +10 -0
  131. package/lib/assets/images/editor/gas/Compressed natural gas pipeline (CNG).png +0 -0
  132. package/lib/assets/images/editor/gas/Compressed natural gas pipeline (CNG).svg +150 -0
  133. package/lib/assets/images/editor/gas/Flue gas analyzers.png +0 -0
  134. package/lib/assets/images/editor/gas/Flue gas analyzers.svg +32 -0
  135. equipment.png +0 -0
  136. package/lib/assets/images/editor/gas/Fuel for vehicles and equipment.svg +46 -0
  137. package/lib/assets/images/editor/gas/Furnaces.png +0 -0
  138. package/lib/assets/images/editor/gas/Furnaces.svg +224 -0
  139. package/lib/assets/images/editor/gas/Gas meters.png +0 -0
  140. package/lib/assets/images/editor/gas/Gas meters.svg +128 -0
  141. package/lib/assets/images/editor/gas/Gas pressure regulators.png +0 -0
  142. package/lib/assets/images/editor/gas/Gas pressure regulators.svg +1159 -0
  143. package/lib/assets/images/editor/gas/Gas storage tanks.png +0 -0
  144. package/lib/assets/images/editor/gas/Gas storage tanks.svg +257 -0
  145. package/lib/assets/images/editor/gas/Liquefied natural gas (LNG) shipments.png +0 -0
  146. package/lib/assets/images/editor/gas/Liquefied natural gas (LNG) shipments.svg +262 -0
  147. package/lib/assets/images/editor/gas/Natural Gas.svg +57 -0
  148. package/lib/assets/images/editor/gas/Natural gas pipelines.png +0 -0
  149. package/lib/assets/images/editor/gas/Natural gas pipelines.svg +68 -0
  150. package/lib/assets/images/editor/gas/On-site production.png +0 -0
  151. package/lib/assets/images/editor/gas/On-site production.svg +3629 -0
  152. package/lib/assets/images/editor/gas/Power generation.png +0 -0
  153. package/lib/assets/images/editor/gas/Power generation.svg +112 -0
  154. package/lib/assets/images/editor/help/component.png +0 -0
  155. package/lib/assets/images/editor/help/inflow.png +0 -0
  156. package/lib/assets/images/editor/help/inflow_only.png +0 -0
  157. package/lib/assets/images/editor/help/outflow.png +0 -0
  158. package/lib/assets/images/editor/help/outflow_only.png +0 -0
  159. package/lib/assets/images/editor/icons/Boiler.png +0 -0
  160. package/lib/assets/images/editor/icons/Boiler.svg +75 -0
  161. package/lib/assets/images/editor/icons/Brackish_surface_water.svg +2016 -0
  162. package/lib/assets/images/editor/icons/Brackisk Surface Water Seawater.svg +197 -0
  163. package/lib/assets/images/editor/icons/DAF.svg +352 -0
  164. package/lib/assets/images/editor/icons/Demin.svg +227 -0
  165. package/lib/assets/images/editor/icons/Diesel.svg +128 -0
  166. package/lib/assets/images/editor/icons/Domestic.png +0 -0
  167. package/lib/assets/images/editor/icons/Domestic_new.svg +71 -0
  168. package/lib/assets/images/editor/icons/Electricity.svg +63 -0
  169. package/lib/assets/images/editor/icons/Fresh Surface Water.svg +85 -0
  170. package/lib/assets/images/editor/icons/Gas.svg +58 -0
  171. package/lib/assets/images/editor/icons/Generic Process.svg +85 -0
  172. package/lib/assets/images/editor/icons/Groundwater - Non-Renewable.svg +104 -0
  173. package/lib/assets/images/editor/icons/Groundwater - Renewable.svg +1944 -0
  174. package/lib/assets/images/editor/icons/Intake.png +0 -0
  175. package/lib/assets/images/editor/icons/Intake.svg +8 -0
  176. package/lib/assets/images/editor/icons/Irrigation.png +0 -0
  177. package/lib/assets/images/editor/icons/Irrigation.svg +545 -0
  178. package/lib/assets/images/editor/icons/Landscaping.png +0 -0
  179. package/lib/assets/images/editor/icons/Landscaping.svg +3 -0
  180. package/lib/assets/images/editor/icons/MBR.svg +403 -0
  181. package/lib/assets/images/editor/icons/Other.png +0 -0
  182. package/lib/assets/images/editor/icons/Process.png +0 -0
  183. package/lib/assets/images/editor/icons/Produced Entrained Water.svg +97 -0
  184. package/lib/assets/images/editor/icons/ProducedEntrained_water.svg +103 -0
  185. package/lib/assets/images/editor/icons/RO.svg +8 -0
  186. package/lib/assets/images/editor/icons/Raw Water Tank.svg +30 -0
  187. package/lib/assets/images/editor/icons/Recirculation.png +0 -0
  188. package/lib/assets/images/editor/icons/Recirculation.svg +8 -0
  189. package/lib/assets/images/editor/icons/Solar.svg +120 -0
  190. package/lib/assets/images/editor/icons/Swater.svg +202 -0
  191. package/lib/assets/images/editor/icons/Third Party Sources.svg +1421 -0
  192. package/lib/assets/images/editor/icons/Third party destinations.svg +251 -0
  193. package/lib/assets/images/editor/icons/Utility.png +0 -0
  194. package/lib/assets/images/editor/icons/Utility.svg +151 -0
  195. package/lib/assets/images/editor/icons/Wastewater Treatment.png +0 -0
  196. package/lib/assets/images/editor/icons/Wastewater Treatment.svg +8 -0
  197. package/lib/assets/images/editor/icons/ZLD.svg +27 -0
  198. package/lib/assets/images/editor/icons/cooling.png +0 -0
  199. package/lib/assets/images/editor/icons/cooling.svg +17 -0
  200. package/lib/assets/images/editor/icons/cooling_tower.svg +17 -0
  201. package/lib/assets/images/editor/icons/domestic.svg +82 -0
  202. package/lib/assets/images/editor/icons/embodied.svg +8 -0
  203. package/lib/assets/images/editor/icons/non_Renewable.svg +775 -0
  204. package/lib/assets/images/editor/icons/other.svg +47 -0
  205. package/lib/assets/images/editor/icons/process.svg +8 -0
  206. package/lib/assets/images/editor/icons/rain.svg +20 -0
  207. package/lib/assets/images/editor/icons/storage.svg +31 -0
  208. package/lib/assets/images/editor/icons/wastewater_treatment.svg +8 -0
  209. package/lib/assets/images/editor/icons/water tank.png +0 -0
  210. package/lib/assets/images/editor/icons/water tank.svg +31 -0
  211. package/lib/assets/images/editor/icons/water treatment.png +0 -0
  212. package/lib/assets/images/editor/icons/water treatment.svg +41 -0
  213. package/lib/assets/images/editor/icons/water_treatment.svg +41 -0
  214. package/lib/assets/images/editor/plant-cell/Cell.svg +66 -0
  215. package/lib/assets/images/editor/special/Discharge.svg +6 -0
  216. package/lib/assets/images/editor/special/process.svg +3 -0
  217. package/lib/assets/images/editor/steam/Blowdown tank.png +0 -0
  218. package/lib/assets/images/editor/steam/Condensate Return System.png +0 -0
  219. package/lib/assets/images/editor/steam/Deaerators.png +0 -0
  220. package/lib/assets/images/editor/steam/Expansion Tanks.png +0 -0
  221. package/lib/assets/images/editor/steam/Feed Water Pump.png +0 -0
  222. package/lib/assets/images/editor/steam/Pressure_Regulator.png +0 -0
  223. package/lib/assets/images/editor/steam/Steam_Valve.png +0 -0
  224. package/lib/assets/images/editor/steam/Trap.png +0 -0
  225. package/lib/assets/images/editor/steam/heat exchangers.png +0 -0
  226. package/lib/assets/images/editor/steam/safety valve.png +0 -0
  227. package/lib/assets/images/editor/steam/steam turbine.png +0 -0
  228. package/lib/assets/images/formula-image/WQI.png +0 -0
  229. package/lib/assets/images/formula.png +0 -0
  230. package/lib/assets/images/icons/Discharge destination.svg +6 -0
  231. package/lib/assets/images/icons/Station.svg +3 -0
  232. package/lib/assets/images/icons/arrow-gray.svg +7 -0
  233. package/lib/assets/images/icons/arrow.gif +0 -0
  234. package/lib/assets/images/icons/arrow.svg +7 -0
  235. package/lib/assets/images/icons/asset_1.png +0 -0
  236. package/lib/assets/images/icons/asset_2.png +0 -0
  237. package/lib/assets/images/icons/asset_3.png +0 -0
  238. package/lib/assets/images/icons/asset_4.png +0 -0
  239. package/lib/assets/images/icons/asset_5.png +0 -0
  240. package/lib/assets/images/icons/asset_6.png +0 -0
  241. package/lib/assets/images/icons/asset_7.png +0 -0
  242. package/lib/assets/images/icons/basic-plant-white.svg +6 -0
  243. package/lib/assets/images/icons/basic-plant.svg +6 -0
  244. package/lib/assets/images/icons/hoskote_plant/Brackish surface - Duo.svg +24 -0
  245. package/lib/assets/images/icons/hoskote_plant/Brackish surface.svg +7 -0
  246. package/lib/assets/images/icons/hoskote_plant/Fresh surface water - Duo.svg +24 -0
  247. package/lib/assets/images/icons/hoskote_plant/Fresh surface water.svg +6 -0
  248. package/lib/assets/images/icons/hoskote_plant/Groundwater - non-renewable - Duo.svg +31 -0
  249. package/lib/assets/images/icons/hoskote_plant/Groundwater - non-renewable.svg +6 -0
  250. package/lib/assets/images/icons/hoskote_plant/Groundwater - renewable - Duo.svg +23 -0
  251. package/lib/assets/images/icons/hoskote_plant/Groundwater - renewable.svg +6 -0
  252. package/lib/assets/images/icons/hoskote_plant/Produced entrained water - Duo.svg +22 -0
  253. package/lib/assets/images/icons/hoskote_plant/Produced entrained water.svg +3 -0
  254. package/lib/assets/images/icons/hoskote_plant/Third party sources - Duo.svg +19 -0
  255. package/lib/assets/images/icons/hoskote_plant/Third party sources.svg +3 -0
  256. package/lib/assets/images/icons/icon_grey1.png +0 -0
  257. package/lib/assets/images/icons/icon_grey2.png +0 -0
  258. package/lib/assets/images/icons/icon_marker.png +0 -0
  259. package/lib/assets/images/icons/left_cexpand.svg +6 -0
  260. package/lib/assets/images/icons/loading (2).gif +0 -0
  261. package/lib/assets/images/icons/loading (3).gif +0 -0
  262. package/lib/assets/images/icons/loading.gif +0 -0
  263. package/lib/assets/images/icons/loading.svg +23 -0
  264. package/lib/assets/images/icons/loading_4.gif +0 -0
  265. package/lib/assets/images/icons/outflow_line_dirty.png +0 -0
  266. package/lib/assets/images/icons/plant-data-active.svg +8 -0
  267. package/lib/assets/images/icons/plant-data.svg +8 -0
  268. package/lib/assets/images/icons/recommendation.svg +1 -0
  269. package/lib/assets/images/icons/recommendation1.svg +1 -0
  270. package/lib/assets/images/icons/recommendations/(.svg +3 -0
  271. package/lib/assets/images/icons/recommendations/).svg +3 -0
  272. package/lib/assets/images/icons/recommendations/Multiply.svg +3 -0
  273. package/lib/assets/images/icons/right_cexpand.svg +6 -0
  274. package/lib/assets/images/icons/ro_line_dirty.svg +7 -0
  275. package/lib/assets/images/icons/roadmap-target.png +0 -0
  276. package/lib/assets/images/icons/steam/Mass flow rate.svg +8 -0
  277. package/lib/assets/images/icons/steam/Mass flow.svg +3 -0
  278. package/lib/assets/images/logos/Group 299.png +0 -0
  279. package/lib/assets/images/logos/Logo_Hubgrade_Water_Footprint.png +0 -0
  280. package/lib/assets/images/logos/atomiton_logo.png +0 -0
  281. package/lib/assets/images/logos/atomiton_logo_mobile.png +0 -0
  282. package/lib/assets/images/logos/suez.png +0 -0
  283. package/lib/assets/images/logos/suez_2.png +0 -0
  284. package/lib/assets/images/logos/suez_small.png +0 -0
  285. package/lib/assets/images/logos/suez_small_2.png +0 -0
  286. package/lib/assets/images/logos/veolia.png +0 -0
  287. package/lib/assets/images/logos/veolia_small.png +0 -0
  288. package/lib/assets/images/logout/logging.png +0 -0
  289. package/lib/assets/images/plant/bg-2.png +0 -0
  290. package/lib/assets/images/plant/bg-old.png +0 -0
  291. package/lib/assets/images/plant/bg.png +0 -0
  292. package/lib/assets/images/plant/bg3.png +0 -0
  293. package/lib/assets/images/plant/dollar.png +0 -0
  294. package/lib/assets/images/plant/eva_pipe.png +0 -0
  295. package/lib/assets/images/plant/icon1.png +0 -0
  296. package/lib/assets/images/plant/icon2.png +0 -0
  297. package/lib/assets/images/plant/on-site_pipe.png +0 -0
  298. package/lib/assets/images/plant/product_pipe.png +0 -0
  299. package/lib/assets/images/plant/unknown_pipe.png +0 -0
  300. package/lib/assets/images/process-water/cooling_tower.gif +0 -0
  301. package/lib/assets/images/process-water/cooling_tower.png +0 -0
  302. package/lib/assets/images/process-water/cooling_tower_1.png +0 -0
  303. package/lib/assets/images/process-water/cooling_tower_3.gif +0 -0
  304. package/lib/assets/images/ro-water-treatment/RO_WATER_TREATMENT_BG.png +0 -0
  305. package/lib/assets/images/tmp/boiler.png +0 -0
  306. package/lib/assets/images/tmp/chart1.PNG +0 -0
  307. package/lib/assets/images/tmp/chart2.PNG +0 -0
  308. package/lib/assets/images/tmp/chart3.PNG +0 -0
  309. package/lib/assets/images/tmp/chart4.PNG +0 -0
  310. package/lib/assets/images/tmp/chart5.PNG +0 -0
  311. package/lib/assets/images/tmp/chart6.PNG +0 -0
  312. package/lib/assets/images/tmp/chart7.PNG +0 -0
  313. package/lib/assets/images/tmp/cooling.png +0 -0
  314. package/lib/assets/images/tmp/discharge.png +0 -0
  315. package/lib/assets/images/tmp/discoveries_water_cost.png +0 -0
  316. package/lib/assets/images/tmp/gauge1.PNG +0 -0
  317. package/lib/assets/images/tmp/gauge2.PNG +0 -0
  318. package/lib/assets/images/tmp/gauge3.PNG +0 -0
  319. package/lib/assets/images/tmp/loss.png +0 -0
  320. package/lib/assets/images/tmp/net.png +0 -0
  321. package/lib/assets/images/tmp/process.png +0 -0
  322. package/lib/assets/images/tmp/truck.png +0 -0
  323. package/lib/assets/images/ui-tmp/ SITICLab.png +0 -0
  324. package/lib/assets/images/ui-tmp/All_Energy_And_Emissions.png +0 -0
  325. package/lib/assets/images/ui-tmp/CMS.png +0 -0
  326. package/lib/assets/images/ui-tmp/Domestic_Use.png +0 -0
  327. package/lib/assets/images/ui-tmp/ETP.png +0 -0
  328. package/lib/assets/images/ui-tmp/F&M.png +0 -0
  329. package/lib/assets/images/ui-tmp/Group 356.png +0 -0
  330. package/lib/assets/images/ui-tmp/Group 357.png +0 -0
  331. package/lib/assets/images/ui-tmp/Group 358.png +0 -0
  332. package/lib/assets/images/ui-tmp/Group 359.png +0 -0
  333. package/lib/assets/images/ui-tmp/Group 360.png +0 -0
  334. package/lib/assets/images/ui-tmp/Group 361.png +0 -0
  335. package/lib/assets/images/ui-tmp/Group 397.png +0 -0
  336. package/lib/assets/images/ui-tmp/Onsite_Generation.png +0 -0
  337. package/lib/assets/images/ui-tmp/Power_Meters.png +0 -0
  338. package/lib/assets/images/ui-tmp/RO.png +0 -0
  339. package/lib/assets/images/ui-tmp/Steam_Flow_Network.png +0 -0
  340. package/lib/assets/images/ui-tmp/Steam_Flow_Network_1.png +0 -0
  341. package/lib/assets/images/ui-tmp/Total_Water_Balance.png +0 -0
  342. package/lib/assets/images/ui-tmp/WaterCircularity.png +0 -0
  343. package/lib/assets/images/ui-tmp/ZLD.png +0 -0
  344. package/lib/assets/images/ui-tmp/campaign_configuration.png +0 -0
  345. package/lib/assets/images/ui-tmp/campaign_overview.png +0 -0
  346. package/lib/assets/images/ui-tmp/campaign_tracking.png +0 -0
  347. package/lib/assets/images/ui-tmp/emisssion_pages.png +0 -0
  348. package/lib/assets/images/ui-tmp/map.png +0 -0
  349. package/lib/assets/images/ui-tmp/roadmap-details_manage.png +0 -0
  350. package/lib/assets/images/ui-tmp/roadmap-details_overview.png +0 -0
  351. package/lib/assets/images/ui-tmp/roadmap_page.png +0 -0
  352. package/lib/assets/images/ui-tmp/roadmap_plan.png +0 -0
  353. package/lib/assets/images/ui-tmp/roadmap_target1.png +0 -0
  354. package/lib/assets/images/ui-tmp/roadmap_target2.png +0 -0
  355. package/lib/assets/images/ui-tmp/roadmap_target3.png +0 -0
  356. package/lib/assets/images/ui-tmp/water_balance_plan.png +0 -0
  357. package/lib/assets/images/ui-tmp/water_page.png +0 -0
  358. package/lib/assets/images/users/avatar-default.svg.png +0 -0
  359. package/lib/assets/images/water-risk/Group 28490.png +0 -0
  360. package/lib/assets/images/water-risk/Group 28680.png +0 -0
  361. package/lib/assets/map/1_active.svg +7 -0
  362. package/lib/assets/map/aqueduct_features.json +326818 -0
  363. package/lib/assets/map/countries.json +79446 -0
  364. package/lib/assets/map/empty.svg +0 -0
  365. package/lib/assets/map/icons/marker_1.png +0 -0
  366. package/lib/assets/map/icons/marker_2.png +0 -0
  367. package/lib/assets/map/icons/marker_3.png +0 -0
  368. package/lib/assets/map/icons/marker_4.png +0 -0
  369. package/lib/assets/map/icons/marker_5.png +0 -0
  370. package/lib/assets/map/map-test.json +5810 -0
  371. package/lib/assets/map/marker.svg +19 -0
  372. package/lib/assets/map/top-water-use.svg +20 -0
  373. package/lib/assets/map/water-deprived.svg +20 -0
  374. package/lib/assets/map/water-moderate-stress.svg +20 -0
  375. package/lib/assets/map/water-non-stress.svg +20 -0
  376. package/lib/assets/map/water-stress.svg +20 -0
  377. package/lib/assets/map-style.json +192 -0
  378. package/lib/assets/worker/app.worker.ts +346 -0
  379. package/lib/ato-water-lib.component.d.ts +5 -0
  380. package/lib/ato-water-lib.module.d.ts +8 -0
  381. package/lib/ato-water-lib.service.d.ts +6 -0
  382. package/lib/components/flow-diagram-lib/flow-diagram-lib.component.d.ts +17 -0
  383. package/lib/constants/applicable-prefixes-const.d.ts +162 -0
  384. package/lib/constants/key.const.d.ts +1 -0
  385. package/lib/constants/plant.constant.d.ts +7 -0
  386. package/lib/constants/value.const.d.ts +71 -0
  387. package/lib/models/default-gojs-editor.model.d.ts +184 -0
  388. package/lib/models/gojs-editor.model.d.ts +432 -0
  389. package/lib/services/utils/utils.service.d.ts +24 -0
  390. package/package.json +31 -0
  391. package/public-api.d.ts +4 -0
@@ -0,0 +1,19 @@
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
3
+ "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
4
+ <svg version="1.0" xmlns="http://www.w3.org/2000/svg"
5
+ width="820.000000pt" height="800.000000pt" viewBox="0 0 820.000000 800.000000"
6
+ preserveAspectRatio="xMidYMid meet">
7
+
8
+ <g transform="translate(0.000000,800.000000) scale(0.100000,-0.100000)"
9
+ fill="green" stroke="none" >
10
+ <path d="M3905 7590 c-665 -62 -1217 -367 -1609 -890 -356 -474 -497 -1091
11
+ -385 -1680 72 -378 292 -798 926 -1770 447 -685 721 -1192 928 -1715 116 -293
12
+ 229 -652 295 -940 18 -77 34 -147 37 -155 3 -8 13 24 23 71 104 492 280 998
13
+ 519 1493 189 394 400 753 804 1371 346 529 452 709 625 1065 157 325 217 530
14
+ 243 831 18 210 -7 476 -67 708 -52 198 -156 431 -274 611 -335 508 -819 834
15
+ -1425 959 -196 41 -463 58 -640 41z m420 -1390 c255 -78 464 -301 531 -565 25
16
+ -100 23 -276 -4 -376 -106 -395 -495 -646 -892 -575 -298 53 -543 279 -622
17
+ 575 -27 101 -29 277 -4 376 82 323 364 568 685 594 102 8 221 -3 306 -29z"/>
18
+ </g>
19
+ </svg>
@@ -0,0 +1,20 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="39.002" height="35.999" viewBox="0 0 39.002 35.999">
2
+ <defs>
3
+ <filter id="Path_547" x="0" y="0" width="39.002" height="35.999" filterUnits="userSpaceOnUse">
4
+ <feOffset dy="1" input="SourceAlpha"/>
5
+ <feGaussianBlur stdDeviation="1.5" result="blur"/>
6
+ <feFlood flood-opacity="0.2"/>
7
+ <feComposite operator="in" in2="blur"/>
8
+ <feComposite in="SourceGraphic"/>
9
+ </filter>
10
+ </defs>
11
+ <g id="Group_26409" data-name="Group 26409" transform="translate(588.5 1129.5)">
12
+ <g transform="matrix(1, 0, 0, 1, -588.5, -1129.5)" filter="url(#Path_547)">
13
+ <path id="Path_547-2" data-name="Path 547" d="M15.271,4.129a2.2,2.2,0,0,1,3.839,0l12.782,22.5A2.25,2.25,0,0,1,29.973,30H4.409A2.25,2.25,0,0,1,2.49,26.628Z" transform="translate(2.31 0.5)" fill="#fff"/>
14
+ </g>
15
+ <g id="Group_238" data-name="Group 238" transform="translate(-580.25 -1121.5)">
16
+ <path id="hand-holding-droplet-solid" d="M5.4.129a.3.3,0,0,1,.49,0l1.3,1.89A1.916,1.916,0,0,1,7.53,3.1v.033a1.882,1.882,0,0,1-3.765,0V3.1A1.911,1.911,0,0,1,4.1,2.02Zm5.74,6.465a.783.783,0,0,1-.167,1.1L8.493,9.519a2.669,2.669,0,0,1-1.582.52H.627A.627.627,0,0,1,0,9.412V8.157a.627.627,0,0,1,.627-.627h.722l.88-.706A2.5,2.5,0,0,1,3.8,6.274H6.9a.627.627,0,1,1,0,1.255H5.334a.314.314,0,1,0,0,.627H7.7l2.347-1.729A.784.784,0,0,1,11.142,6.594ZM3.8,7.529Z" transform="translate(5.602 6.82)" fill="#DD9349"/>
17
+ <path id="triangle-light" d="M11.553,33.625a.347.347,0,0,0-.606,0l-1.213-.732a1.734,1.734,0,0,1,3.032,0l9.492,16.636a1.849,1.849,0,0,1,.009,1.812,1.753,1.753,0,0,1-1.525.909H1.758a1.753,1.753,0,0,1-1.525-.909,1.851,1.851,0,0,1,.009-1.812L9.734,32.893l1.213.732L1.455,50.22a.361.361,0,0,0,0,.362.322.322,0,0,0,.3.221H20.742a.318.318,0,0,0,.3-.221.348.348,0,0,0,0-.362Z" transform="translate(0 -32)" fill="#DD9349"/>
18
+ </g>
19
+ </g>
20
+ </svg>
@@ -0,0 +1,20 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="39.002" height="35.999" viewBox="0 0 39.002 35.999">
2
+ <defs>
3
+ <filter id="Path_547" x="0" y="0" width="39.002" height="35.999" filterUnits="userSpaceOnUse">
4
+ <feOffset dy="1" input="SourceAlpha"/>
5
+ <feGaussianBlur stdDeviation="1.5" result="blur"/>
6
+ <feFlood flood-opacity="0.2"/>
7
+ <feComposite operator="in" in2="blur"/>
8
+ <feComposite in="SourceGraphic"/>
9
+ </filter>
10
+ </defs>
11
+ <g id="Group_26409" data-name="Group 26409" transform="translate(588.5 1129.5)">
12
+ <g transform="matrix(1, 0, 0, 1, -588.5, -1129.5)" filter="url(#Path_547)">
13
+ <path id="Path_547-2" data-name="Path 547" d="M15.271,4.129a2.2,2.2,0,0,1,3.839,0l12.782,22.5A2.25,2.25,0,0,1,29.973,30H4.409A2.25,2.25,0,0,1,2.49,26.628Z" transform="translate(2.31 0.5)" fill="#fff"/>
14
+ </g>
15
+ <g id="Group_238" data-name="Group 238" transform="translate(-580.25 -1121.5)">
16
+ <path id="hand-holding-droplet-solid" d="M5.4.129a.3.3,0,0,1,.49,0l1.3,1.89A1.916,1.916,0,0,1,7.53,3.1v.033a1.882,1.882,0,0,1-3.765,0V3.1A1.911,1.911,0,0,1,4.1,2.02Zm5.74,6.465a.783.783,0,0,1-.167,1.1L8.493,9.519a2.669,2.669,0,0,1-1.582.52H.627A.627.627,0,0,1,0,9.412V8.157a.627.627,0,0,1,.627-.627h.722l.88-.706A2.5,2.5,0,0,1,3.8,6.274H6.9a.627.627,0,1,1,0,1.255H5.334a.314.314,0,1,0,0,.627H7.7l2.347-1.729A.784.784,0,0,1,11.142,6.594ZM3.8,7.529Z" transform="translate(5.602 6.82)" fill="#ec7c4e"/>
17
+ <path id="triangle-light" d="M11.553,33.625a.347.347,0,0,0-.606,0l-1.213-.732a1.734,1.734,0,0,1,3.032,0l9.492,16.636a1.849,1.849,0,0,1,.009,1.812,1.753,1.753,0,0,1-1.525.909H1.758a1.753,1.753,0,0,1-1.525-.909,1.851,1.851,0,0,1,.009-1.812L9.734,32.893l1.213.732L1.455,50.22a.361.361,0,0,0,0,.362.322.322,0,0,0,.3.221H20.742a.318.318,0,0,0,.3-.221.348.348,0,0,0,0-.362Z" transform="translate(0 -32)" fill="#ec7c4e"/>
18
+ </g>
19
+ </g>
20
+ </svg>
@@ -0,0 +1,20 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="39.002" height="35.999" viewBox="0 0 39.002 35.999">
2
+ <defs>
3
+ <filter id="Path_547" x="0" y="0" width="39.002" height="35.999" filterUnits="userSpaceOnUse">
4
+ <feOffset dy="1" input="SourceAlpha"/>
5
+ <feGaussianBlur stdDeviation="1.5" result="blur"/>
6
+ <feFlood flood-opacity="0.2"/>
7
+ <feComposite operator="in" in2="blur"/>
8
+ <feComposite in="SourceGraphic"/>
9
+ </filter>
10
+ </defs>
11
+ <g id="Group_26409" data-name="Group 26409" transform="translate(588.5 1129.5)">
12
+ <g transform="matrix(1, 0, 0, 1, -588.5, -1129.5)" filter="url(#Path_547)">
13
+ <path id="Path_547-2" data-name="Path 547" d="M15.271,4.129a2.2,2.2,0,0,1,3.839,0l12.782,22.5A2.25,2.25,0,0,1,29.973,30H4.409A2.25,2.25,0,0,1,2.49,26.628Z" transform="translate(2.31 0.5)" fill="#fff"/>
14
+ </g>
15
+ <g id="Group_238" data-name="Group 238" transform="translate(-580.25 -1121.5)">
16
+ <path id="hand-holding-droplet-solid" d="M5.4.129a.3.3,0,0,1,.49,0l1.3,1.89A1.916,1.916,0,0,1,7.53,3.1v.033a1.882,1.882,0,0,1-3.765,0V3.1A1.911,1.911,0,0,1,4.1,2.02Zm5.74,6.465a.783.783,0,0,1-.167,1.1L8.493,9.519a2.669,2.669,0,0,1-1.582.52H.627A.627.627,0,0,1,0,9.412V8.157a.627.627,0,0,1,.627-.627h.722l.88-.706A2.5,2.5,0,0,1,3.8,6.274H6.9a.627.627,0,1,1,0,1.255H5.334a.314.314,0,1,0,0,.627H7.7l2.347-1.729A.784.784,0,0,1,11.142,6.594ZM3.8,7.529Z" transform="translate(5.602 6.82)" fill="#206DD3"/>
17
+ <path id="triangle-light" d="M11.553,33.625a.347.347,0,0,0-.606,0l-1.213-.732a1.734,1.734,0,0,1,3.032,0l9.492,16.636a1.849,1.849,0,0,1,.009,1.812,1.753,1.753,0,0,1-1.525.909H1.758a1.753,1.753,0,0,1-1.525-.909,1.851,1.851,0,0,1,.009-1.812L9.734,32.893l1.213.732L1.455,50.22a.361.361,0,0,0,0,.362.322.322,0,0,0,.3.221H20.742a.318.318,0,0,0,.3-.221.348.348,0,0,0,0-.362Z" transform="translate(0 -32)" fill="#206DD3"/>
18
+ </g>
19
+ </g>
20
+ </svg>
@@ -0,0 +1,20 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="42.002" height="39" viewBox="0 0 42.002 39">
2
+ <defs>
3
+ <filter id="Path_55203" x="0" y="0" width="42.002" height="39" filterUnits="userSpaceOnUse">
4
+ <feOffset dy="2" input="SourceAlpha"/>
5
+ <feGaussianBlur stdDeviation="2" result="blur"/>
6
+ <feFlood flood-opacity="0.161"/>
7
+ <feComposite operator="in" in2="blur"/>
8
+ <feComposite in="SourceGraphic"/>
9
+ </filter>
10
+ </defs>
11
+ <g id="Group_26411" data-name="Group 26411" transform="translate(6 4)">
12
+ <g transform="matrix(1, 0, 0, 1, -6, -4)" filter="url(#Path_55203)">
13
+ <path id="Path_55203-2" data-name="Path 55203" d="M15.272,4.129a2.2,2.2,0,0,1,3.839,0l12.782,22.5A2.25,2.25,0,0,1,29.973,30H4.409A2.25,2.25,0,0,1,2.49,26.628Z" transform="translate(3.81 1)" fill="#fff"/>
14
+ </g>
15
+ <g id="Group_240" data-name="Group 240" transform="translate(3.75 4.5)">
16
+ <path id="hand-holding-droplet-solid" d="M5.4.129a.3.3,0,0,1,.49,0l1.3,1.89A1.916,1.916,0,0,1,7.53,3.1v.033a1.882,1.882,0,0,1-3.765,0V3.1A1.911,1.911,0,0,1,4.1,2.02Zm5.74,6.465a.783.783,0,0,1-.167,1.1L8.493,9.52a2.669,2.669,0,0,1-1.582.52H.627A.627.627,0,0,1,0,9.412V8.157a.627.627,0,0,1,.627-.627h.722l.88-.706A2.505,2.505,0,0,1,3.8,6.275H6.9a.627.627,0,1,1,0,1.255H5.334a.314.314,0,1,0,0,.627H7.7l2.347-1.729A.784.784,0,0,1,11.142,6.594ZM3.8,7.529Z" transform="translate(5.603 6.821)" fill="#54bbba"/>
17
+ <path id="triangle-light" d="M11.553,33.625a.347.347,0,0,0-.606,0l-1.213-.732a1.734,1.734,0,0,1,3.032,0l9.492,16.636a1.849,1.849,0,0,1,.009,1.813,1.753,1.753,0,0,1-1.525.909H1.758a1.753,1.753,0,0,1-1.525-.909,1.851,1.851,0,0,1,.009-1.813L9.734,32.893l1.213.732L1.455,50.22a.361.361,0,0,0,0,.362.322.322,0,0,0,.3.221H20.742a.318.318,0,0,0,.3-.221.348.348,0,0,0,0-.362Z" transform="translate(0 -32)" fill="#54bbba"/>
18
+ </g>
19
+ </g>
20
+ </svg>
@@ -0,0 +1,20 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="42.002" height="39" viewBox="0 0 42.002 39">
2
+ <defs>
3
+ <filter id="Path_55204" x="0" y="0" width="42.002" height="39" filterUnits="userSpaceOnUse">
4
+ <feOffset dy="2" input="SourceAlpha"/>
5
+ <feGaussianBlur stdDeviation="2" result="blur"/>
6
+ <feFlood flood-opacity="0.161"/>
7
+ <feComposite operator="in" in2="blur"/>
8
+ <feComposite in="SourceGraphic"/>
9
+ </filter>
10
+ </defs>
11
+ <g id="Group_26412" data-name="Group 26412" transform="translate(6 4)">
12
+ <g transform="matrix(1, 0, 0, 1, -6, -4)" filter="url(#Path_55204)">
13
+ <path id="Path_55204-2" data-name="Path 55204" d="M15.272,4.129a2.2,2.2,0,0,1,3.839,0l12.782,22.5A2.25,2.25,0,0,1,29.973,30H4.409A2.25,2.25,0,0,1,2.49,26.628Z" transform="translate(3.81 1)" fill="#fff"/>
14
+ </g>
15
+ <g id="Group_243" data-name="Group 243" transform="translate(3.751 4.5)">
16
+ <path id="hand-holding-droplet-solid" d="M5.4.129a.3.3,0,0,1,.49,0l1.3,1.89A1.916,1.916,0,0,1,7.53,3.1v.033a1.882,1.882,0,0,1-3.765,0V3.1A1.911,1.911,0,0,1,4.1,2.02Zm5.74,6.465a.783.783,0,0,1-.167,1.1L8.493,9.52a2.669,2.669,0,0,1-1.582.52H.627A.627.627,0,0,1,0,9.412V8.157a.627.627,0,0,1,.627-.627h.722l.88-.706A2.505,2.505,0,0,1,3.8,6.275H6.9a.627.627,0,1,1,0,1.255H5.334a.314.314,0,1,0,0,.627H7.7l2.347-1.729A.784.784,0,0,1,11.142,6.594ZM3.8,7.529Z" transform="translate(5.603 6.821)" fill="#804180"/>
17
+ <path id="triangle-light" d="M11.553,33.625a.347.347,0,0,0-.606,0l-1.213-.732a1.734,1.734,0,0,1,3.032,0l9.492,16.636a1.849,1.849,0,0,1,.009,1.813,1.753,1.753,0,0,1-1.525.909H1.758a1.753,1.753,0,0,1-1.525-.909,1.851,1.851,0,0,1,.009-1.813L9.734,32.893l1.213.732L1.455,50.22a.361.361,0,0,0,0,.362.322.322,0,0,0,.3.221H20.742a.318.318,0,0,0,.3-.221.348.348,0,0,0,0-.362Z" transform="translate(0 -32)" fill="#804180"/>
18
+ </g>
19
+ </g>
20
+ </svg>
@@ -0,0 +1,192 @@
1
+ [
2
+ {
3
+ "elementType": "geometry",
4
+ "stylers": [
5
+ {
6
+ "color": "#B8C1C9"
7
+ }
8
+ ]
9
+ },
10
+ {
11
+ "elementType": "labels.icon",
12
+ "stylers": [
13
+ {
14
+ "visibility": "off"
15
+ }
16
+ ]
17
+ },
18
+ {
19
+ "elementType": "labels.text.fill",
20
+ "stylers": [
21
+ {
22
+ "color": "#616161"
23
+ }
24
+ ]
25
+ },
26
+ {
27
+ "elementType": "labels.text.stroke",
28
+ "stylers": [
29
+ {
30
+ "color": "#f5f5f5"
31
+ }
32
+ ]
33
+ },
34
+ {
35
+ "featureType": "administrative.country",
36
+ "elementType": "geometry.fill",
37
+ "stylers": [
38
+ {
39
+ "color": "#dde5e6",
40
+ "visibility": "off"
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ "featureType": "administrative.country",
46
+ "elementType": "geometry.stroke",
47
+ "stylers": [
48
+ {
49
+ "color": "#000d42",
50
+ "visibility": "off"
51
+ }
52
+ ]
53
+ },
54
+ {
55
+ "featureType": "administrative.country",
56
+ "elementType": "labels.text",
57
+ "stylers": [
58
+ {
59
+ "visibility": "off"
60
+ }
61
+ ]
62
+ },
63
+ {
64
+ "featureType": "administrative.land_parcel",
65
+ "elementType": "labels.text.fill",
66
+ "stylers": [
67
+ {
68
+ "color": "#bdbdbd"
69
+ }
70
+ ]
71
+ },
72
+ {
73
+ "featureType": "poi",
74
+ "elementType": "geometry",
75
+ "stylers": [
76
+ {
77
+ "color": "#eeeeee"
78
+ }
79
+ ]
80
+ },
81
+ {
82
+ "featureType": "poi",
83
+ "elementType": "labels.text.fill",
84
+ "stylers": [
85
+ {
86
+ "color": "#757575"
87
+ }
88
+ ]
89
+ },
90
+ {
91
+ "featureType": "poi.park",
92
+ "elementType": "geometry",
93
+ "stylers": [
94
+ {
95
+ "color": "#e5e5e5"
96
+ }
97
+ ]
98
+ },
99
+ {
100
+ "featureType": "poi.park",
101
+ "elementType": "labels.text.fill",
102
+ "stylers": [
103
+ {
104
+ "color": "#9e9e9e"
105
+ }
106
+ ]
107
+ },
108
+ {
109
+ "featureType": "road",
110
+ "elementType": "geometry",
111
+ "stylers": [
112
+ {
113
+ "color": "#ffffff"
114
+ }
115
+ ]
116
+ },
117
+ {
118
+ "featureType": "road.arterial",
119
+ "elementType": "labels.text.fill",
120
+ "stylers": [
121
+ {
122
+ "color": "#757575"
123
+ }
124
+ ]
125
+ },
126
+ {
127
+ "featureType": "road.highway",
128
+ "elementType": "geometry",
129
+ "stylers": [
130
+ {
131
+ "color": "#b8b8b8"
132
+ }
133
+ ]
134
+ },
135
+ {
136
+ "featureType": "road.highway",
137
+ "elementType": "labels.text.fill",
138
+ "stylers": [
139
+ {
140
+ "color": "#616161"
141
+ }
142
+ ]
143
+ },
144
+ {
145
+ "featureType": "road.local",
146
+ "elementType": "labels.text.fill",
147
+ "stylers": [
148
+ {
149
+ "color": "#9e9e9e"
150
+ }
151
+ ]
152
+ },
153
+ {
154
+ "featureType": "transit.line",
155
+ "elementType": "geometry",
156
+ "stylers": [
157
+ {
158
+ "color": "#e5e5e5"
159
+ },
160
+ {
161
+ "visibility": "on"
162
+ }
163
+ ]
164
+ },
165
+ {
166
+ "featureType": "transit.station",
167
+ "elementType": "geometry",
168
+ "stylers": [
169
+ {
170
+ "color": "#eeeeee"
171
+ }
172
+ ]
173
+ },
174
+ {
175
+ "featureType": "water",
176
+ "elementType": "geometry",
177
+ "stylers": [
178
+ {
179
+ "color": "#ffffff"
180
+ }
181
+ ]
182
+ },
183
+ {
184
+ "featureType": "water",
185
+ "elementType": "labels.text.fill",
186
+ "stylers": [
187
+ {
188
+ "color": "#9e9e9e"
189
+ }
190
+ ]
191
+ }
192
+ ]
@@ -0,0 +1,346 @@
1
+ // import { HttpClient } from '@angular/common/http';
2
+ // // @ts-ignore
3
+ // let listNameCountries = [];
4
+ // // @ts-ignore
5
+ // let countriesProgresLoad = [];
6
+ // // @ts-ignore
7
+ // let countriesLoaded = [];
8
+ // // @ts-ignore
9
+ // let dataJsonCountry = [];
10
+ // // @ts-ignore
11
+ // let countriesPlant = [];
12
+
13
+ // @ts-ignore
14
+ // WORLD
15
+ let fileNamesAllCountries = [];
16
+ let fileNamesAllCountriesClone = [];
17
+ let fileNamesCountriesOfPlant = [];
18
+ let fileNameLoadedCountriesOfPlant = [];
19
+ let fileNameProgresCountriesOfPlant = [];
20
+ // @ts-ignore
21
+ let dataOfCountriesOfPlant = [];
22
+
23
+ // WORLD
24
+ let fileNamesAllWorld = [];
25
+ let fileNameLoadedOfWorld = [];
26
+ let fileNameProgresOfWorld = [];
27
+ // @ts-ignore
28
+ let dataOfWorld = [];
29
+
30
+ addEventListener('message', ({ data }) => {
31
+ // Create an instance of HttpClient
32
+ // @ts-ignore
33
+
34
+ // // Make HTTP request using fetch
35
+ // if (data?.countriesPlant) {
36
+ // // @ts-ignore
37
+ // countriesPlant = data?.countriesPlant;
38
+ // }
39
+ // if (data?.isLoadNameCountries) {
40
+ // loadDataAllNameCountries(data);
41
+ // } else {
42
+ // (listNameCountries ?? []).forEach((x, index) => {
43
+ // dataCountry({
44
+ // ...data,
45
+ // indexCountries: index,
46
+ // nameContry: x,
47
+ // });
48
+ // });
49
+ // }
50
+
51
+ // Show data for Plant
52
+ if (data?.isCallFilesCountries) {
53
+ loadFileNamesCountries(data);
54
+ }
55
+
56
+ // Switch load data for Plant or World
57
+ if (data?.isCallFilesAllWorld) {
58
+ loadFileNamesOfWorld();
59
+ }
60
+ });
61
+
62
+ // // @ts-ignore
63
+ // function loadDataAllNameCountries(data) {
64
+ // if (listNameCountries?.length) {
65
+ // postMessage({
66
+ // ...data,
67
+ // isLoadNameCountries: false,
68
+ // indexCountries: 0,
69
+ // nameContry: listNameCountries?.[0],
70
+ // listNameCountries: listNameCountries,
71
+ // });
72
+ // } else {
73
+ // // fetch('http://veoliaint.atomiton.com:8686/fid-ui/assets/stress-map/fileNames.json')
74
+ // fetch('../stress-map/fileNames.json')
75
+ // .then((response) => response.json()) // Parse response as JSON
76
+ // .then((rs) => {
77
+ // listNameCountries = rs?.fileNames.sort((a, b) => {
78
+ // // @ts-ignore
79
+ // const isInCountriesPlantA = countriesPlant.some((e) => a.includes(e));
80
+ // // @ts-ignore
81
+ // const isInCountriesPlantB = countriesPlant.some((e) => b.includes(e));
82
+
83
+ // if (isInCountriesPlantA && isInCountriesPlantB) {
84
+ // return 0;
85
+ // } else if (isInCountriesPlantA) {
86
+ // return -1;
87
+ // } else {
88
+ // return 1;
89
+ // }
90
+ // });
91
+
92
+ // // rs?.fileNames.sort((a, b) => {
93
+ // // if (a.includes('IND') && !b.includes('IND')) {
94
+ // // return -1;
95
+ // // }
96
+ // // // if (a.includes('OTHERS') && !b.includes('OTHERS')) {
97
+ // // // return -1;
98
+ // // // }
99
+ // // // if (!a.includes('IND') && !a.includes('OTHERS') && (b.includes('IND') || b.includes('OTHERS'))) {
100
+ // // // return 1;
101
+ // // // }
102
+ // // return 0;
103
+ // // });
104
+ // // @ts-ignore
105
+ // // listNameCountries = (data?.countriesPlant ?? []).concat(countriesOther ?? []).filter(x => x !== 'None');
106
+ // postMessage({
107
+ // ...data,
108
+ // isLoadNameCountries: false,
109
+ // indexCountries: 0,
110
+ // nameContry: listNameCountries?.[0],
111
+ // listNameCountries: listNameCountries,
112
+ // });
113
+ // })
114
+ // .catch((error) => {});
115
+ // }
116
+ // }
117
+
118
+ // // @ts-ignore
119
+ // function dataCountry(data) {
120
+ // if (listNameCountries?.[data?.indexCountries + 1]) {
121
+ // // postMessage({
122
+ // // indexCountries: data?.indexCountries,
123
+ // // nameContry: listNameCountries?.[data?.indexCountries],
124
+ // // listNameCountries: null,
125
+ // // });
126
+ // // @ts-ignore
127
+ // if (!countriesLoaded?.includes(data?.nameContry) && !countriesProgresLoad?.includes(data?.nameContry)) {
128
+ // // @ts-ignore
129
+ // countriesProgresLoad?.push(data?.nameContry);
130
+ // // fetch(`http://veoliaint.atomiton.com:8686/fid-ui/assets/stress-map/${data?.nameContry}`)
131
+ // fetch(`../stress-map/${data?.nameContry}`)
132
+ // .then((response) => response.json()) // Parse response as JSON
133
+ // .then((rs) => {
134
+ // countriesProgresLoad = countriesProgresLoad?.filter((x) => x !== data?.nameContry);
135
+ // // @ts-ignore
136
+ // countriesLoaded?.push(data?.nameContry);
137
+ // // @ts-ignore
138
+ // const dataCountry = {
139
+ // // @ts-ignore
140
+ // nameContry: data?.nameContry,
141
+ // // @ts-ignore
142
+ // data: rs,
143
+ // isHavePlant: countriesPlant.some((e) => data?.nameContry.includes(e)),
144
+ // };
145
+ // // @ts-ignore
146
+ // dataJsonCountry.push(dataCountry);
147
+ // // Handle the data
148
+ // const dataMessage = {
149
+ // // ...data,
150
+ // indexCountries: data?.indexCountries,
151
+ // nameContry: listNameCountries?.[data?.indexCountries],
152
+ // listNameCountries: null,
153
+ // dataJson: dataCountry,
154
+ // isLoadLayerCountries: true
155
+ // };
156
+ // postMessage(dataMessage);
157
+ // })
158
+ // .catch((error) => {
159
+ // countriesProgresLoad = countriesProgresLoad?.filter((x) => x !== data?.nameContry);
160
+ // // Handle any errors
161
+ // });
162
+ // } else {
163
+ // postMessage({
164
+ // indexCountries: data?.indexCountries,
165
+ // nameContry: listNameCountries?.[data?.indexCountries],
166
+ // listNameCountries: null,
167
+ // // @ts-ignore
168
+ // dataJson: dataJsonCountry?.find((x) => x?.nameContry === data?.nameContry),
169
+ // isLoadLayerCountries: true
170
+ // });
171
+ // }
172
+ // }
173
+ // }
174
+
175
+ // Load PLANT
176
+ // @ts-ignore
177
+ function loadFileNamesCountries(data) {
178
+ if (fileNamesAllCountriesClone?.length) {
179
+ // @ts-ignore
180
+ fileNamesCountriesOfPlant =
181
+ // @ts-ignore
182
+ fileNamesAllCountriesClone.filter((z) => data?.countriesPlant?.some((k) => z.includes(k))) ?? [];
183
+ fileNamesCountriesOfPlant.forEach((x, index) => {
184
+ loadDataOfCountries({
185
+ fileNameIndex: index,
186
+ fileName: x,
187
+ });
188
+ });
189
+ } else {
190
+ fetch('../stress-map/plant/fileNames.json')
191
+ .then((response) => response.json()) // Parse response as JSON
192
+ .then((rs) => {
193
+ fileNamesAllCountriesClone = rs?.fileNames;
194
+ // @ts-ignore
195
+ fileNamesCountriesOfPlant =
196
+ // @ts-ignore
197
+ fileNamesAllCountriesClone.filter((z) => data?.countriesPlant?.some((k) => z.includes(k))) ?? [];
198
+ fileNamesCountriesOfPlant.forEach((x, index) => {
199
+ loadDataOfCountries({
200
+ fileNameIndex: index,
201
+ fileName: x,
202
+ });
203
+ });
204
+ })
205
+ .catch((error) => {});
206
+ }
207
+ }
208
+
209
+ // @ts-ignore
210
+ function loadDataOfCountries(data) {
211
+ if (fileNamesCountriesOfPlant?.[data?.fileNameIndex]) {
212
+ if (
213
+ // @ts-ignore
214
+ !fileNameLoadedCountriesOfPlant?.includes(data?.fileName)
215
+ // &&
216
+ // // @ts-ignore
217
+ // !fileNameProgresCountriesOfPlant?.includes(data?.fileName)
218
+ ) {
219
+ // @ts-ignore
220
+ fileNameProgresCountriesOfPlant?.push(data?.fileName);
221
+ fetch(`../stress-map/plant/${fileNamesCountriesOfPlant?.[data?.fileNameIndex]}`)
222
+ .then((response) => response.json()) // Parse response as JSON
223
+ .then((rs) => {
224
+ fileNameProgresCountriesOfPlant = fileNameProgresCountriesOfPlant?.filter(
225
+ (x) => x !== data?.fileName,
226
+ );
227
+ // @ts-ignore
228
+ fileNameLoadedCountriesOfPlant?.push(data?.fileName);
229
+ // @ts-ignore
230
+ const dataLayer = {
231
+ // @ts-ignore
232
+ fileName: data?.fileName,
233
+ // @ts-ignore
234
+ data: rs,
235
+ };
236
+ // @ts-ignore
237
+ dataOfCountriesOfPlant.push(dataLayer);
238
+ // Handle the data
239
+ const dataMessage = {
240
+ fileNameIndex: data?.fileNameIndex,
241
+ fileName: data?.fileName,
242
+ isLoadLayerCountriesOfPlant: true,
243
+ data: rs,
244
+ };
245
+ postMessage(dataMessage);
246
+ })
247
+ .catch((error) => {
248
+ fileNameProgresCountriesOfPlant = fileNameProgresCountriesOfPlant?.filter(
249
+ (x) => x !== data?.nameContry,
250
+ );
251
+ // Handle any errors
252
+ });
253
+ } else {
254
+ postMessage({
255
+ ...data,
256
+ fileNameIndex: data?.fileNameIndex,
257
+ fileName: data?.fileName,
258
+ isLoadLayerCountriesOfPlant: true,
259
+ // @ts-ignore
260
+ data: dataOfCountriesOfPlant?.find((x) => x?.fileName === data?.fileName)?.data,
261
+ });
262
+ }
263
+ }
264
+ }
265
+
266
+ // Load WROLD
267
+ // @ts-ignore
268
+ function loadFileNamesOfWorld() {
269
+ if (fileNamesAllWorld?.length) {
270
+ (fileNamesAllWorld ?? []).forEach((x, index) => {
271
+ loadDataOfWorld({
272
+ fileNameIndex: index,
273
+ fileName: x,
274
+ });
275
+ });
276
+ } else {
277
+ fetch('../stress-map/world/fileNames.json')
278
+ .then((response) => response.json()) // Parse response as JSON
279
+ .then((rs) => {
280
+ fileNamesAllWorld = rs?.fileNames;
281
+ (fileNamesAllWorld ?? []).forEach((x, index) => {
282
+ loadDataOfWorld({
283
+ fileNameIndex: index,
284
+ fileName: x,
285
+ });
286
+ });
287
+ })
288
+ .catch((error) => {});
289
+ }
290
+ }
291
+
292
+ // @ts-ignore
293
+ function loadDataOfWorld(data) {
294
+ if (fileNamesAllWorld?.[data?.fileNameIndex]) {
295
+ // @ts-ignore
296
+ if (!fileNameLoadedOfWorld?.includes(data?.fileName) && !fileNameProgresOfWorld?.includes(data?.fileName)) {
297
+ // @ts-ignore
298
+ fileNameProgresOfWorld?.push(data?.fileName);
299
+ fetch(`../stress-map/world/${fileNamesAllWorld?.[data?.fileNameIndex]}`)
300
+ .then((response) => response.json()) // Parse response as JSON
301
+ .then((rs) => {
302
+ fileNameProgresOfWorld = fileNameProgresOfWorld?.filter((x) => x !== data?.fileName);
303
+ // @ts-ignore
304
+ fileNameLoadedOfWorld?.push(data?.fileName);
305
+ // @ts-ignore
306
+ const dataLayer = {
307
+ // @ts-ignore
308
+ fileName: data?.fileName,
309
+ // @ts-ignore
310
+ data: rs,
311
+ };
312
+ // @ts-ignore
313
+ dataOfWorld.push(dataLayer);
314
+ // Handle the data
315
+ const dataMessage = {
316
+ fileNameIndex: data?.fileNameIndex,
317
+ fileName: data?.fileName,
318
+ isLoadLayerOfWorld: true,
319
+ data: rs,
320
+ };
321
+ postMessage(dataMessage);
322
+ // @ts-ignore
323
+ // @ts-ignore
324
+ if (fileNamesAllWorld?.every((x) => dataOfWorld?.map((y) => y?.fileName)?.includes(x))) {
325
+ fileNamesAllWorld = [];
326
+ fileNameLoadedOfWorld = [];
327
+ fileNameProgresOfWorld = [];
328
+ dataOfWorld = [];
329
+ }
330
+ })
331
+ .catch((error) => {
332
+ fileNameProgresOfWorld = fileNameProgresOfWorld?.filter((x) => x !== data?.nameContry);
333
+ // Handle any errors
334
+ });
335
+ } else {
336
+ postMessage({
337
+ ...data,
338
+ fileNameIndex: data?.fileNameIndex,
339
+ fileName: data?.fileName,
340
+ isLoadLayerOfWorld: true,
341
+ // @ts-ignore
342
+ data: dataOfWorld?.find((x) => x?.fileName === data?.fileName)?.data,
343
+ });
344
+ }
345
+ }
346
+ }