ato-water-lib 0.0.0-watch

Sign up to get free protection for your applications and to get access to all the features.
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
package/README.md ADDED
@@ -0,0 +1,24 @@
1
+ # AtoWaterLib
2
+
3
+ This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 15.1.0.
4
+
5
+ ## Code scaffolding
6
+
7
+ Run `ng generate component component-name --project ato-water-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project ato-water-lib`.
8
+ > Note: Don't forget to add `--project ato-water-lib` or else it will be added to the default project in your `angular.json` file.
9
+
10
+ ## Build
11
+
12
+ Run `ng build ato-water-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
13
+
14
+ ## Publishing
15
+
16
+ After building your library with `ng build ato-water-lib`, go to the dist folder `cd dist/ato-water-lib` and run `npm publish`.
17
+
18
+ ## Running unit tests
19
+
20
+ Run `ng test ato-water-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
21
+
22
+ ## Further help
23
+
24
+ To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './public-api';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXRvLXdhdGVyLWxpYi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL2F0by13YXRlci1saWIvc3JjL2F0by13YXRlci1saWIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==
@@ -0,0 +1,19 @@
1
+ import { Component } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export class AtoWaterLibComponent {
4
+ }
5
+ AtoWaterLibComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoWaterLibComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
6
+ AtoWaterLibComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: AtoWaterLibComponent, selector: "lib-ato-water-lib", ngImport: i0, template: `
7
+ <p>
8
+ ato-water-lib works!
9
+ </p>
10
+ `, isInline: true });
11
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoWaterLibComponent, decorators: [{
12
+ type: Component,
13
+ args: [{ selector: 'lib-ato-water-lib', template: `
14
+ <p>
15
+ ato-water-lib works!
16
+ </p>
17
+ ` }]
18
+ }] });
19
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXRvLXdhdGVyLWxpYi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9hdG8td2F0ZXItbGliL3NyYy9saWIvYXRvLXdhdGVyLWxpYi5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFZMUMsTUFBTSxPQUFPLG9CQUFvQjs7a0hBQXBCLG9CQUFvQjtzR0FBcEIsb0JBQW9CLHlEQVJyQjs7OztHQUlUOzRGQUlVLG9CQUFvQjtrQkFWaEMsU0FBUzsrQkFDRSxtQkFBbUIsWUFDbkI7Ozs7R0FJVCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6ICdsaWItYXRvLXdhdGVyLWxpYicsXG4gIHRlbXBsYXRlOiBgXG4gICAgPHA+XG4gICAgICBhdG8td2F0ZXItbGliIHdvcmtzIVxuICAgIDwvcD5cbiAgYCxcbiAgc3R5bGVzOiBbXG4gIF1cbn0pXG5leHBvcnQgY2xhc3MgQXRvV2F0ZXJMaWJDb21wb25lbnQge1xuXG59XG4iXX0=
@@ -0,0 +1,26 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { AtoWaterLibComponent } from './ato-water-lib.component';
3
+ import { AtoFlowDiagramLibComponent } from './components/flow-diagram-lib/flow-diagram-lib.component';
4
+ import * as i0 from "@angular/core";
5
+ export class AtoWaterLibModule {
6
+ }
7
+ AtoWaterLibModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoWaterLibModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8
+ AtoWaterLibModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: AtoWaterLibModule, declarations: [AtoWaterLibComponent,
9
+ AtoFlowDiagramLibComponent], exports: [AtoWaterLibComponent,
10
+ AtoFlowDiagramLibComponent] });
11
+ AtoWaterLibModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoWaterLibModule });
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoWaterLibModule, decorators: [{
13
+ type: NgModule,
14
+ args: [{
15
+ declarations: [
16
+ AtoWaterLibComponent,
17
+ AtoFlowDiagramLibComponent
18
+ ],
19
+ imports: [],
20
+ exports: [
21
+ AtoWaterLibComponent,
22
+ AtoFlowDiagramLibComponent
23
+ ]
24
+ }]
25
+ }] });
26
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXRvLXdhdGVyLWxpYi5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9hdG8td2F0ZXItbGliL3NyYy9saWIvYXRvLXdhdGVyLWxpYi5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUNqRSxPQUFPLEVBQUUsMEJBQTBCLEVBQUUsTUFBTSwwREFBMEQsQ0FBQzs7QUFjdEcsTUFBTSxPQUFPLGlCQUFpQjs7K0dBQWpCLGlCQUFpQjtnSEFBakIsaUJBQWlCLGlCQVYxQixvQkFBb0I7UUFDcEIsMEJBQTBCLGFBSzFCLG9CQUFvQjtRQUNwQiwwQkFBMEI7Z0hBR2pCLGlCQUFpQjs0RkFBakIsaUJBQWlCO2tCQVo3QixRQUFRO21CQUFDO29CQUNSLFlBQVksRUFBRTt3QkFDWixvQkFBb0I7d0JBQ3BCLDBCQUEwQjtxQkFDM0I7b0JBQ0QsT0FBTyxFQUFFLEVBQ1I7b0JBQ0QsT0FBTyxFQUFFO3dCQUNQLG9CQUFvQjt3QkFDcEIsMEJBQTBCO3FCQUMzQjtpQkFDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBBdG9XYXRlckxpYkNvbXBvbmVudCB9IGZyb20gJy4vYXRvLXdhdGVyLWxpYi5jb21wb25lbnQnO1xuaW1wb3J0IHsgQXRvRmxvd0RpYWdyYW1MaWJDb21wb25lbnQgfSBmcm9tICcuL2NvbXBvbmVudHMvZmxvdy1kaWFncmFtLWxpYi9mbG93LWRpYWdyYW0tbGliLmNvbXBvbmVudCc7XG5cbkBOZ01vZHVsZSh7XG4gIGRlY2xhcmF0aW9uczogW1xuICAgIEF0b1dhdGVyTGliQ29tcG9uZW50LFxuICAgIEF0b0Zsb3dEaWFncmFtTGliQ29tcG9uZW50XG4gIF0sXG4gIGltcG9ydHM6IFtcbiAgXSxcbiAgZXhwb3J0czogW1xuICAgIEF0b1dhdGVyTGliQ29tcG9uZW50LFxuICAgIEF0b0Zsb3dEaWFncmFtTGliQ29tcG9uZW50XG4gIF1cbn0pXG5leHBvcnQgY2xhc3MgQXRvV2F0ZXJMaWJNb2R1bGUgeyB9XG4iXX0=
@@ -0,0 +1,14 @@
1
+ import { Injectable } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export class AtoWaterLibService {
4
+ constructor() { }
5
+ }
6
+ AtoWaterLibService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoWaterLibService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
7
+ AtoWaterLibService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoWaterLibService, providedIn: 'root' });
8
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoWaterLibService, decorators: [{
9
+ type: Injectable,
10
+ args: [{
11
+ providedIn: 'root'
12
+ }]
13
+ }], ctorParameters: function () { return []; } });
14
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXRvLXdhdGVyLWxpYi5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvYXRvLXdhdGVyLWxpYi9zcmMvbGliL2F0by13YXRlci1saWIuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQUszQyxNQUFNLE9BQU8sa0JBQWtCO0lBRTdCLGdCQUFnQixDQUFDOztnSEFGTixrQkFBa0I7b0hBQWxCLGtCQUFrQixjQUZqQixNQUFNOzRGQUVQLGtCQUFrQjtrQkFIOUIsVUFBVTttQkFBQztvQkFDVixVQUFVLEVBQUUsTUFBTTtpQkFDbkIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbmplY3RhYmxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBJbmplY3RhYmxlKHtcbiAgcHJvdmlkZWRJbjogJ3Jvb3QnXG59KVxuZXhwb3J0IGNsYXNzIEF0b1dhdGVyTGliU2VydmljZSB7XG5cbiAgY29uc3RydWN0b3IoKSB7IH1cbn1cbiJdfQ==
@@ -0,0 +1,71 @@
1
+ import { Component, Input, ViewChild } from '@angular/core';
2
+ import _ from 'lodash';
3
+ import { AtoDefaultGojsEditor } from '../../models/default-gojs-editor.model';
4
+ import { GojsEditorModel } from '../../models/gojs-editor.model';
5
+ import * as i0 from "@angular/core";
6
+ export class AtoFlowDiagramLibComponent extends AtoDefaultGojsEditor {
7
+ set data(v) {
8
+ this._data = v;
9
+ this.loadDiagram();
10
+ }
11
+ get data() {
12
+ return this._data;
13
+ }
14
+ constructor() {
15
+ super();
16
+ this._data = null;
17
+ this.isLoading = false;
18
+ this.actions = [
19
+ AtoDefaultGojsEditor.ACTIONS[AtoDefaultGojsEditor.ENUM_ACTIONS.DETAILS],
20
+ AtoDefaultGojsEditor.ACTIONS[AtoDefaultGojsEditor.ENUM_ACTIONS.DELETE],
21
+ ];
22
+ this.unsubscribeAll();
23
+ }
24
+ ngOnInit() {
25
+ this.addSubscribes(this.committedTransactionSubject?.subscribe((e) => {
26
+ this.onModelChangeListenerEvent.emit(e);
27
+ }));
28
+ }
29
+ loadDiagram() {
30
+ if (this.data?.nodeDataArray?.length && !!this.showNotificationIcon) {
31
+ _.map(this.data?.nodeDataArray, (node) => {
32
+ // if (node?.type === GojsEditorModel.ENUM_TEMPLATES.TEXT_NODE) {
33
+ // node.recommendation = _.some(
34
+ // this._RecommendationsService.activeRecommendations$?.value,
35
+ // (x) => x?.BoxId === node?.id,
36
+ // );
37
+ // // node.discoveries = !!_.get(
38
+ // // this._RecommendationsService.activeDiscoveries$?.value,
39
+ // // `${ENUM_KPI_METRIC.TOPOLOGY}-${node?.id}.0`,
40
+ // // null,
41
+ // // );
42
+ // }
43
+ });
44
+ }
45
+ // setTimeout(() => {
46
+ this.editor = new GojsEditorModel({
47
+ class: 'go.GraphLinksModel',
48
+ nodeCategoryProperty: 'type',
49
+ ...this.data,
50
+ });
51
+ }
52
+ findNodeForKey(key) {
53
+ this.myDiagram.select(this.myDiagram.findNodeForKey(key));
54
+ }
55
+ }
56
+ AtoFlowDiagramLibComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoFlowDiagramLibComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
57
+ AtoFlowDiagramLibComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: AtoFlowDiagramLibComponent, selector: "ato-flow-diagram-lib", inputs: { showNotificationIcon: "showNotificationIcon", data: "data", isLoading: "isLoading" }, viewQueries: [{ propertyName: "myDiagramDivTemp", first: true, predicate: ["myDiagramDivTemp"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<!-- <div tqlSpin [spinning]=\"data === null || !!isLoading\" class=\"w-100 h-100 gj-flow-diagram-wrapper\">\n <div class=\"w-100 h-100 d-flex\">\n <button\n id=\"actionMenuId\"\n class=\"invisible-btn\"\n mat-button\n [matMenuTriggerFor]=\"menu\"\n #menuTrigger=\"matMenuTrigger\"\n ></button>\n <mat-menu #menu=\"matMenu\">\n <button mat-menu-item *ngFor=\"let item of actions\" (click)=\"item?.onClick($event)\">\n <div class=\"d-flex flex-gap-2\">\n <div><i class=\"{{ item?.iconClassName }}\"></i></div>\n <div>{{ item?.name }}</div>\n </div>\n </button>\n </mat-menu>\n\n <div #myDiagramDivTemp [id]=\"myDiagramDiv\" class=\"flex-grow-1\"></div>\n <div *ngIf=\"initialOptions?.isReadOnly && !data?.nodeDataArray?.length\" class=\"empty-data\">\n <nz-empty nzNotFoundImage=\"simple\"></nz-empty>\n </div>\n </div>\n</div> -->\n<div style=\"height: 100%\" #myDiagramDivTemp [id]=\"myDiagramDiv\" class=\"flex-grow-1\"></div>\n", styles: [""] });
58
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AtoFlowDiagramLibComponent, decorators: [{
59
+ type: Component,
60
+ args: [{ selector: 'ato-flow-diagram-lib', template: "<!-- <div tqlSpin [spinning]=\"data === null || !!isLoading\" class=\"w-100 h-100 gj-flow-diagram-wrapper\">\n <div class=\"w-100 h-100 d-flex\">\n <button\n id=\"actionMenuId\"\n class=\"invisible-btn\"\n mat-button\n [matMenuTriggerFor]=\"menu\"\n #menuTrigger=\"matMenuTrigger\"\n ></button>\n <mat-menu #menu=\"matMenu\">\n <button mat-menu-item *ngFor=\"let item of actions\" (click)=\"item?.onClick($event)\">\n <div class=\"d-flex flex-gap-2\">\n <div><i class=\"{{ item?.iconClassName }}\"></i></div>\n <div>{{ item?.name }}</div>\n </div>\n </button>\n </mat-menu>\n\n <div #myDiagramDivTemp [id]=\"myDiagramDiv\" class=\"flex-grow-1\"></div>\n <div *ngIf=\"initialOptions?.isReadOnly && !data?.nodeDataArray?.length\" class=\"empty-data\">\n <nz-empty nzNotFoundImage=\"simple\"></nz-empty>\n </div>\n </div>\n</div> -->\n<div style=\"height: 100%\" #myDiagramDivTemp [id]=\"myDiagramDiv\" class=\"flex-grow-1\"></div>\n" }]
61
+ }], ctorParameters: function () { return []; }, propDecorators: { myDiagramDivTemp: [{
62
+ type: ViewChild,
63
+ args: ['myDiagramDivTemp']
64
+ }], showNotificationIcon: [{
65
+ type: Input
66
+ }], data: [{
67
+ type: Input
68
+ }], isLoading: [{
69
+ type: Input
70
+ }] } });
71
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmxvdy1kaWFncmFtLWxpYi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hdG8td2F0ZXItbGliL3NyYy9saWIvY29tcG9uZW50cy9mbG93LWRpYWdyYW0tbGliL2Zsb3ctZGlhZ3JhbS1saWIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYXRvLXdhdGVyLWxpYi9zcmMvbGliL2NvbXBvbmVudHMvZmxvdy1kaWFncmFtLWxpYi9mbG93LWRpYWdyYW0tbGliLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFVLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNwRSxPQUFPLENBQUMsTUFBTSxRQUFRLENBQUM7QUFFdkIsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0sd0NBQXdDLENBQUM7QUFDOUUsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLGdDQUFnQyxDQUFDOztBQU9qRSxNQUFNLE9BQU8sMEJBQTJCLFNBQVEsb0JBQW9CO0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zRWRpdG9yTW9kZWwuRU5VTV9URU1QTEFURVMuVEVYVF9OT0RFKSB7XG4gICAgICAgICAgICAgIC8vICAgICBub2RlLnJlY29tbWVuZGF0aW9uID0gXy5zb21lKFxuICAgICAgICAgICAgICAvLyAgICAgICAgIHRoaXMuX1JlY29tbWVuZGF0aW9uc1NlcnZpY2UuYWN0aXZlUmVjb21tZW5kYXRpb25zJD8udmFsdWUsXG4gICAgICAgICAgICAgIC8vICAgICAgICAgKHgpID0+IHg/LkJveElkID09PSBub2RlPy5pZCxcbiAgICAgICAgICAgICAgLy8gICAgICk7XG4gICAgICAgICAgICAgIC8vICAgICAvLyBub2RlLmRpc2NvdmVyaWVzID0gISFfLmdldChcbiAgICAgICAgICAgICAgLy8gICAgIC8vICAgICB0aGlzLl9SZWNvbW1lbmRhdGlvbnNTZXJ2aWNlLmFjdGl2ZURpc2NvdmVyaWVzJD8udmFsdWUsXG4gICAgICAgICAgICAgIC8vICAgICAvLyAgICAgYCR7RU5VTV9LUElfTUVUUklDLlRPUE9MT0dZfS0ke25vZGU/LmlkfS4wYCxcbiAgICAgICAgICAgICAgLy8gICAgIC8vICAgICBudWxsLFxuICAgICAgICAgICAgICAvLyAgICAgLy8gKTtcbiAgICAgICAgICAgICAgLy8gfVxuICAgICAgICAgIH0pO1xuICAgICAgfVxuICAgICAgLy8gc2V0VGltZW91dCgoKSA9PiB7XG4gICAgICB0aGlzLmVkaXRvciA9IG5ldyBHb2pzRWRpdG9yTW9kZWwoe1xuICAgICAgICAgIGNsYXNzOiAnZ28uR3JhcGhMaW5rc01vZGVsJyxcbiAgICAgICAgICBub2RlQ2F0ZWdvcnlQcm9wZXJ0eTogJ3R5cGUnLFxuICAgICAgICAgIC4uLnRoaXMuZGF0YSxcbiAgICAgIH0pO1xuICB9XG5cbiAgZmluZE5vZGVGb3JLZXkoa2V5OiBudW1iZXIgfCBzdHJpbmcpIHtcbiAgICAgIHRoaXMubXlEaWFncmFtLnNlbGVjdCh0aGlzLm15RGl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