ato-water-lib 0.0.47 → 0.0.49
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2020/lib/models/default-gojs-editor.model.mjs +2 -2
- package/esm2020/lib/models/gojs-editor.model.mjs +12 -1
- package/fesm2015/ato-water-lib.mjs +13 -1
- package/fesm2015/ato-water-lib.mjs.map +1 -1
- package/fesm2020/ato-water-lib.mjs +12 -1
- package/fesm2020/ato-water-lib.mjs.map +1 -1
- package/lib/models/gojs-editor.model.d.ts +4 -0
- package/package.json +1 -1
@@ -1016,6 +1016,7 @@ class AtoGojsEditorModel {
|
|
1016
1016
|
ENUM_TEMPLATES["PARAM_TABLE"] = "Param Table";
|
1017
1017
|
ENUM_TEMPLATES["MASS_BALANCE"] = "Mass Balance";
|
1018
1018
|
// Steam Type
|
1019
|
+
ENUM_TEMPLATES["STEAM_PIPELINE"] = "Steam pipeline";
|
1019
1020
|
ENUM_TEMPLATES["VALUES"] = "Valves";
|
1020
1021
|
ENUM_TEMPLATES["STEAM_TRAPS"] = "Steam Traps";
|
1021
1022
|
ENUM_TEMPLATES["PRESSURE_REGULATORS"] = "Pressure Regulator";
|
@@ -1150,6 +1151,8 @@ class AtoGojsEditorModel {
|
|
1150
1151
|
ENUM_TYPES["PLANT_CELL_INPUT_GROUP"] = "PC Input Group";
|
1151
1152
|
ENUM_TYPES["PLANT_CELL_OUTPUT_GROUP"] = "PC Output Group";
|
1152
1153
|
// Steam
|
1154
|
+
ENUM_TYPES["STEAM_SOURCES"] = "SteamSources";
|
1155
|
+
ENUM_TYPES["STEAM_PIPELINE"] = "Steam pipeline";
|
1153
1156
|
ENUM_TYPES["VALUES"] = "Valves";
|
1154
1157
|
ENUM_TYPES["STEAM_TRAPS"] = "Steam Traps";
|
1155
1158
|
ENUM_TYPES["PRESSURE_REGULATORS"] = "Pressure Regulator";
|
@@ -2220,6 +2223,10 @@ class AtoGojsEditorModel {
|
|
2220
2223
|
icon: ``,
|
2221
2224
|
},
|
2222
2225
|
// STEAM
|
2226
|
+
[ENUM_TEMPLATES.STEAM_PIPELINE]: {
|
2227
|
+
name: ENUM_TEMPLATES.STEAM_PIPELINE,
|
2228
|
+
icon: `${AtoGojsEditorModel.STEAM_ICON_ASSET_PATH}/Pipeline.svg`,
|
2229
|
+
},
|
2223
2230
|
[ENUM_TEMPLATES.VALUES]: {
|
2224
2231
|
name: ENUM_TEMPLATES.VALUES,
|
2225
2232
|
icon: `${AtoGojsEditorModel.STEAM_ICON_ASSET_PATH}/Steam_Valve.png`,
|
@@ -2549,6 +2556,7 @@ class AtoGojsEditorModel {
|
|
2549
2556
|
// 'Pipeline', 'Industrial boilers', 'Generators', 'Industrial furnaces', 'Industrial ovens', 'Industrial vehicles and equipment',
|
2550
2557
|
// 'FuelMeters', 'FuelDispensers', 'FuelStorageTanks', 'FuelFiltrations', 'FuelManagements'];
|
2551
2558
|
AtoGojsEditorModel.TYPE_TEMPLATE_STEAM = [
|
2559
|
+
AtoGojsEditorModel.ENUM_TEMPLATES.STEAM_PIPELINE,
|
2552
2560
|
AtoGojsEditorModel.ENUM_TEMPLATES.VALUES,
|
2553
2561
|
AtoGojsEditorModel.ENUM_TEMPLATES.STEAM_TRAPS,
|
2554
2562
|
AtoGojsEditorModel.ENUM_TEMPLATES.PRESSURE_REGULATORS,
|
@@ -2570,6 +2578,9 @@ class AtoGojsEditorModel {
|
|
2570
2578
|
AtoGojsEditorModel.ENUM_TEMPLATES.SPECIAL_DISCHARGE,
|
2571
2579
|
AtoGojsEditorModel.ENUM_TEMPLATES.SPECIAL_OTHER,
|
2572
2580
|
];
|
2581
|
+
AtoGojsEditorModel.TEMPLATE_DUPLICATE = {
|
2582
|
+
[AtoGojsEditorModel.ENUM_TEMPLATES.STEAM_PIPELINE]: AtoGojsEditorModel.ENUM_TEMPLATES.PIPELINE
|
2583
|
+
};
|
2573
2584
|
})(AtoGojsEditorModel || (AtoGojsEditorModel = {}));
|
2574
2585
|
|
2575
2586
|
// export const GO_LICENSE_KEY =
|
@@ -4393,7 +4404,7 @@ class AtoDefaultGojsEditor {
|
|
4393
4404
|
fill: 'white',
|
4394
4405
|
stroke: AtoGojsEditorModel.ENUM_COLORS.LINK_WATER,
|
4395
4406
|
// strokeDashArray: [5, 5],
|
4396
|
-
}), this.$(go.Panel, 'Table', this.$(go.TextBlock, title, {
|
4407
|
+
}), this.$(go.Panel, 'Table', this.$(go.TextBlock, AtoGojsEditorModel.TEMPLATE_DUPLICATE[title] ?? title, {
|
4397
4408
|
row: 0,
|
4398
4409
|
margin: new go.Margin(3, 3, 10, 3),
|
4399
4410
|
maxSize: new go.Size(size.w - 20, 15),
|