ato-water-lib 0.0.127 → 0.0.128
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2020/lib/models/gojs-editor.model.mjs +20 -6
- package/fesm2015/ato-water-lib.mjs +19 -5
- package/fesm2015/ato-water-lib.mjs.map +1 -1
- package/fesm2020/ato-water-lib.mjs +19 -5
- package/fesm2020/ato-water-lib.mjs.map +1 -1
- package/lib/models/gojs-editor.model.d.ts +5 -3
- package/package.json +1 -1
@@ -942,7 +942,8 @@ class AtoGojsEditorModel {
|
|
942
942
|
ENUM_TEMPLATES["PRODUCED_ENTRAINED"] = "Produced / entrained water";
|
943
943
|
ENUM_TEMPLATES["BRACKISH_SURFACE_WATER"] = "Brackish surface water/ seawater";
|
944
944
|
ENUM_TEMPLATES["UTILITY"] = "UTILITY";
|
945
|
-
ENUM_TEMPLATES["
|
945
|
+
ENUM_TEMPLATES["GROUND_WATER"] = "Groundwater";
|
946
|
+
ENUM_TEMPLATES["GROUND_WATER_RENEWABLE"] = "Groundwater - Renewable";
|
946
947
|
// Energy
|
947
948
|
ENUM_TEMPLATES["ZONE"] = "EnergyZones";
|
948
949
|
ENUM_TEMPLATES["ZONE_ENERGY_ITEM"] = "SubSystem";
|
@@ -1080,7 +1081,8 @@ class AtoGojsEditorModel {
|
|
1080
1081
|
ENUM_TYPES["PRODUCED_ENTRAINED"] = "Produced / entrained water";
|
1081
1082
|
// FRESH_SURFACE_WAER = 'Fresh surface water',
|
1082
1083
|
ENUM_TYPES["BRACKISH_SURFACE_WATER"] = "Brackish surface water/ seawater";
|
1083
|
-
ENUM_TYPES["
|
1084
|
+
ENUM_TYPES["GROUND_WATER"] = "Groundwater";
|
1085
|
+
ENUM_TYPES["GROUND_WATER_RENEWABLE"] = "Groundwater - Renewable";
|
1084
1086
|
ENUM_TYPES["TANKER_WATER"] = "Tanker Water";
|
1085
1087
|
// ENERGY
|
1086
1088
|
ENUM_TYPES["ZONE"] = "EnergyZones";
|
@@ -1253,7 +1255,7 @@ class AtoGojsEditorModel {
|
|
1253
1255
|
// }
|
1254
1256
|
let DISCHARGE_TYPES_SYSTEM_TYPES;
|
1255
1257
|
(function (DISCHARGE_TYPES_SYSTEM_TYPES) {
|
1256
|
-
DISCHARGE_TYPES_SYSTEM_TYPES["
|
1258
|
+
DISCHARGE_TYPES_SYSTEM_TYPES["GROUND_WATER"] = "GroundWater";
|
1257
1259
|
})(DISCHARGE_TYPES_SYSTEM_TYPES = AtoGojsEditorModel.DISCHARGE_TYPES_SYSTEM_TYPES || (AtoGojsEditorModel.DISCHARGE_TYPES_SYSTEM_TYPES = {}));
|
1258
1260
|
AtoGojsEditorModel.WaterWithdrawSources = 'WaterWithdrawSources';
|
1259
1261
|
AtoGojsEditorModel.WaterWithdrawSourcesPath = 'GetFlowTopology.Plant.WaterWithdrawSources.ComponentWaterFlow.InFlows.InflowWaterRecord.QuantityParams';
|
@@ -1345,7 +1347,7 @@ class AtoGojsEditorModel {
|
|
1345
1347
|
AtoGojsEditorModel.DISCHARGE_TYPE_LIST = [
|
1346
1348
|
ENUM_TYPES.FRESH_SURFACE_WATER,
|
1347
1349
|
ENUM_TYPES.BRACKISH_SURFACE_WATER,
|
1348
|
-
ENUM_TYPES.
|
1350
|
+
ENUM_TYPES.GROUND_WATER,
|
1349
1351
|
ENUM_TYPES.THIRD_PARTY_DESTINATIONS,
|
1350
1352
|
ENUM_TYPES.ANY_NATURAL_ENVIRONMENT,
|
1351
1353
|
];
|
@@ -1353,7 +1355,7 @@ class AtoGojsEditorModel {
|
|
1353
1355
|
WITH_DRAW_SYSTEM_TYPES.WATER_SOURCE,
|
1354
1356
|
];
|
1355
1357
|
AtoGojsEditorModel.DISCHARGE_SYSTEM_TYPE_LIST = [
|
1356
|
-
DISCHARGE_TYPES_SYSTEM_TYPES.
|
1358
|
+
DISCHARGE_TYPES_SYSTEM_TYPES.GROUND_WATER,
|
1357
1359
|
];
|
1358
1360
|
// system type
|
1359
1361
|
AtoGojsEditorModel.TYPE_COMPONENT = [
|
@@ -1483,6 +1485,7 @@ class AtoGojsEditorModel {
|
|
1483
1485
|
ENUM_TYPES.MUNICIPAL_SUPPLY,
|
1484
1486
|
// FRESH_SURFACE_WAER = 'Fresh surface water',
|
1485
1487
|
ENUM_TYPES.BRACKISH_SURFACE_WATER,
|
1488
|
+
ENUM_TYPES.GROUND_WATER,
|
1486
1489
|
ENUM_TYPES.GROUND_WATER_RENEWABLE,
|
1487
1490
|
ENUM_TYPES.ANY_NATURAL_ENVIRONMENT,
|
1488
1491
|
ENUM_TYPES.TANKER_WATER,
|
@@ -1856,6 +1859,11 @@ class AtoGojsEditorModel {
|
|
1856
1859
|
icon: '',
|
1857
1860
|
// `${ICON_ASSET_PATH}/rain.svg`,
|
1858
1861
|
},
|
1862
|
+
[ENUM_TEMPLATES.GROUND_WATER]: {
|
1863
|
+
name: ENUM_TEMPLATES.GROUND_WATER,
|
1864
|
+
icon: `${AtoGojsEditorModel.ICON_ASSET_PATH}/Groundwater - Renewable.svg`,
|
1865
|
+
systemType: ENUM_TYPES.GROUND_WATER,
|
1866
|
+
},
|
1859
1867
|
[ENUM_TEMPLATES.GROUND_WATER_RENEWABLE]: {
|
1860
1868
|
name: ENUM_TEMPLATES.GROUND_WATER_RENEWABLE,
|
1861
1869
|
icon: `${AtoGojsEditorModel.ICON_ASSET_PATH}/Groundwater - Renewable.svg`,
|
@@ -2390,6 +2398,11 @@ class AtoGojsEditorModel {
|
|
2390
2398
|
iconActive: `${AtoGojsEditorModel.ICON_ASSET_WITHDRAW_DISCHARGE_ICON}/Groundwater - renewable - Duo.svg`,
|
2391
2399
|
iconDisabled: `${AtoGojsEditorModel.ICON_ASSET_WITHDRAW_DISCHARGE_ICON}/Groundwater - renewable.svg`,
|
2392
2400
|
},
|
2401
|
+
[ENUM_TYPES.GROUND_WATER]: {
|
2402
|
+
name: ENUM_TEMPLATES.GROUND_WATER,
|
2403
|
+
iconActive: `${AtoGojsEditorModel.ICON_ASSET_WITHDRAW_DISCHARGE_ICON}/Groundwater - renewable - Duo.svg`,
|
2404
|
+
iconDisabled: `${AtoGojsEditorModel.ICON_ASSET_WITHDRAW_DISCHARGE_ICON}/Groundwater - renewable.svg`,
|
2405
|
+
},
|
2393
2406
|
[ENUM_TYPES.MUNICIPAL_SUPPLY]: {
|
2394
2407
|
name: ENUM_TEMPLATES.MUNICIPAL_SUPPLY,
|
2395
2408
|
iconActive: `${AtoGojsEditorModel.ICON_ASSET_WITHDRAW_DISCHARGE_ICON}/municipal-supply - Duo.svg`,
|
@@ -2560,6 +2573,7 @@ class AtoGojsEditorModel {
|
|
2560
2573
|
AtoGojsEditorModel.TYPE_TEMPLATE_WATER_WITHDRAW_OR_DISCHARGE = [
|
2561
2574
|
AtoGojsEditorModel.ENUM_TEMPLATES.FRESH_SURFACE_WATER,
|
2562
2575
|
AtoGojsEditorModel.ENUM_TEMPLATES.BRACKISH_SURFACE_WATER,
|
2576
|
+
AtoGojsEditorModel.ENUM_TEMPLATES.GROUND_WATER,
|
2563
2577
|
AtoGojsEditorModel.ENUM_TEMPLATES.GROUND_WATER_RENEWABLE,
|
2564
2578
|
AtoGojsEditorModel.ENUM_TEMPLATES.GROUND_WATER_NON_RENEWABLE,
|
2565
2579
|
AtoGojsEditorModel.ENUM_TEMPLATES.PRODUCED_ENTRAINED,
|