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
@@ -941,7 +941,8 @@ class AtoGojsEditorModel {
|
|
941
941
|
ENUM_TEMPLATES["PRODUCED_ENTRAINED"] = "Produced / entrained water";
|
942
942
|
ENUM_TEMPLATES["BRACKISH_SURFACE_WATER"] = "Brackish surface water/ seawater";
|
943
943
|
ENUM_TEMPLATES["UTILITY"] = "UTILITY";
|
944
|
-
ENUM_TEMPLATES["
|
944
|
+
ENUM_TEMPLATES["GROUND_WATER"] = "Groundwater";
|
945
|
+
ENUM_TEMPLATES["GROUND_WATER_RENEWABLE"] = "Groundwater - Renewable";
|
945
946
|
// Energy
|
946
947
|
ENUM_TEMPLATES["ZONE"] = "EnergyZones";
|
947
948
|
ENUM_TEMPLATES["ZONE_ENERGY_ITEM"] = "SubSystem";
|
@@ -1079,7 +1080,8 @@ class AtoGojsEditorModel {
|
|
1079
1080
|
ENUM_TYPES["PRODUCED_ENTRAINED"] = "Produced / entrained water";
|
1080
1081
|
// FRESH_SURFACE_WAER = 'Fresh surface water',
|
1081
1082
|
ENUM_TYPES["BRACKISH_SURFACE_WATER"] = "Brackish surface water/ seawater";
|
1082
|
-
ENUM_TYPES["
|
1083
|
+
ENUM_TYPES["GROUND_WATER"] = "Groundwater";
|
1084
|
+
ENUM_TYPES["GROUND_WATER_RENEWABLE"] = "Groundwater - Renewable";
|
1083
1085
|
ENUM_TYPES["TANKER_WATER"] = "Tanker Water";
|
1084
1086
|
// ENERGY
|
1085
1087
|
ENUM_TYPES["ZONE"] = "EnergyZones";
|
@@ -1252,7 +1254,7 @@ class AtoGojsEditorModel {
|
|
1252
1254
|
// }
|
1253
1255
|
let DISCHARGE_TYPES_SYSTEM_TYPES;
|
1254
1256
|
(function (DISCHARGE_TYPES_SYSTEM_TYPES) {
|
1255
|
-
DISCHARGE_TYPES_SYSTEM_TYPES["
|
1257
|
+
DISCHARGE_TYPES_SYSTEM_TYPES["GROUND_WATER"] = "GroundWater";
|
1256
1258
|
})(DISCHARGE_TYPES_SYSTEM_TYPES = AtoGojsEditorModel.DISCHARGE_TYPES_SYSTEM_TYPES || (AtoGojsEditorModel.DISCHARGE_TYPES_SYSTEM_TYPES = {}));
|
1257
1259
|
AtoGojsEditorModel.WaterWithdrawSources = 'WaterWithdrawSources';
|
1258
1260
|
AtoGojsEditorModel.WaterWithdrawSourcesPath = 'GetFlowTopology.Plant.WaterWithdrawSources.ComponentWaterFlow.InFlows.InflowWaterRecord.QuantityParams';
|
@@ -1344,7 +1346,7 @@ class AtoGojsEditorModel {
|
|
1344
1346
|
AtoGojsEditorModel.DISCHARGE_TYPE_LIST = [
|
1345
1347
|
ENUM_TYPES.FRESH_SURFACE_WATER,
|
1346
1348
|
ENUM_TYPES.BRACKISH_SURFACE_WATER,
|
1347
|
-
ENUM_TYPES.
|
1349
|
+
ENUM_TYPES.GROUND_WATER,
|
1348
1350
|
ENUM_TYPES.THIRD_PARTY_DESTINATIONS,
|
1349
1351
|
ENUM_TYPES.ANY_NATURAL_ENVIRONMENT,
|
1350
1352
|
];
|
@@ -1352,7 +1354,7 @@ class AtoGojsEditorModel {
|
|
1352
1354
|
WITH_DRAW_SYSTEM_TYPES.WATER_SOURCE,
|
1353
1355
|
];
|
1354
1356
|
AtoGojsEditorModel.DISCHARGE_SYSTEM_TYPE_LIST = [
|
1355
|
-
DISCHARGE_TYPES_SYSTEM_TYPES.
|
1357
|
+
DISCHARGE_TYPES_SYSTEM_TYPES.GROUND_WATER,
|
1356
1358
|
];
|
1357
1359
|
// system type
|
1358
1360
|
AtoGojsEditorModel.TYPE_COMPONENT = [
|
@@ -1482,6 +1484,7 @@ class AtoGojsEditorModel {
|
|
1482
1484
|
ENUM_TYPES.MUNICIPAL_SUPPLY,
|
1483
1485
|
// FRESH_SURFACE_WAER = 'Fresh surface water',
|
1484
1486
|
ENUM_TYPES.BRACKISH_SURFACE_WATER,
|
1487
|
+
ENUM_TYPES.GROUND_WATER,
|
1485
1488
|
ENUM_TYPES.GROUND_WATER_RENEWABLE,
|
1486
1489
|
ENUM_TYPES.ANY_NATURAL_ENVIRONMENT,
|
1487
1490
|
ENUM_TYPES.TANKER_WATER,
|
@@ -1855,6 +1858,11 @@ class AtoGojsEditorModel {
|
|
1855
1858
|
icon: '',
|
1856
1859
|
// `${ICON_ASSET_PATH}/rain.svg`,
|
1857
1860
|
},
|
1861
|
+
[ENUM_TEMPLATES.GROUND_WATER]: {
|
1862
|
+
name: ENUM_TEMPLATES.GROUND_WATER,
|
1863
|
+
icon: `${AtoGojsEditorModel.ICON_ASSET_PATH}/Groundwater - Renewable.svg`,
|
1864
|
+
systemType: ENUM_TYPES.GROUND_WATER,
|
1865
|
+
},
|
1858
1866
|
[ENUM_TEMPLATES.GROUND_WATER_RENEWABLE]: {
|
1859
1867
|
name: ENUM_TEMPLATES.GROUND_WATER_RENEWABLE,
|
1860
1868
|
icon: `${AtoGojsEditorModel.ICON_ASSET_PATH}/Groundwater - Renewable.svg`,
|
@@ -2389,6 +2397,11 @@ class AtoGojsEditorModel {
|
|
2389
2397
|
iconActive: `${AtoGojsEditorModel.ICON_ASSET_WITHDRAW_DISCHARGE_ICON}/Groundwater - renewable - Duo.svg`,
|
2390
2398
|
iconDisabled: `${AtoGojsEditorModel.ICON_ASSET_WITHDRAW_DISCHARGE_ICON}/Groundwater - renewable.svg`,
|
2391
2399
|
},
|
2400
|
+
[ENUM_TYPES.GROUND_WATER]: {
|
2401
|
+
name: ENUM_TEMPLATES.GROUND_WATER,
|
2402
|
+
iconActive: `${AtoGojsEditorModel.ICON_ASSET_WITHDRAW_DISCHARGE_ICON}/Groundwater - renewable - Duo.svg`,
|
2403
|
+
iconDisabled: `${AtoGojsEditorModel.ICON_ASSET_WITHDRAW_DISCHARGE_ICON}/Groundwater - renewable.svg`,
|
2404
|
+
},
|
2392
2405
|
[ENUM_TYPES.MUNICIPAL_SUPPLY]: {
|
2393
2406
|
name: ENUM_TEMPLATES.MUNICIPAL_SUPPLY,
|
2394
2407
|
iconActive: `${AtoGojsEditorModel.ICON_ASSET_WITHDRAW_DISCHARGE_ICON}/municipal-supply - Duo.svg`,
|
@@ -2559,6 +2572,7 @@ class AtoGojsEditorModel {
|
|
2559
2572
|
AtoGojsEditorModel.TYPE_TEMPLATE_WATER_WITHDRAW_OR_DISCHARGE = [
|
2560
2573
|
AtoGojsEditorModel.ENUM_TEMPLATES.FRESH_SURFACE_WATER,
|
2561
2574
|
AtoGojsEditorModel.ENUM_TEMPLATES.BRACKISH_SURFACE_WATER,
|
2575
|
+
AtoGojsEditorModel.ENUM_TEMPLATES.GROUND_WATER,
|
2562
2576
|
AtoGojsEditorModel.ENUM_TEMPLATES.GROUND_WATER_RENEWABLE,
|
2563
2577
|
AtoGojsEditorModel.ENUM_TEMPLATES.GROUND_WATER_NON_RENEWABLE,
|
2564
2578
|
AtoGojsEditorModel.ENUM_TEMPLATES.PRODUCED_ENTRAINED,
|