ato-water-lib 0.0.102 → 0.0.103
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2020/lib/constants/components-group-const.mjs +32 -26
- package/fesm2015/ato-water-lib.mjs +30 -26
- package/fesm2015/ato-water-lib.mjs.map +1 -1
- package/fesm2020/ato-water-lib.mjs +31 -25
- package/fesm2020/ato-water-lib.mjs.map +1 -1
- package/lib/constants/components-group-const.d.ts +44 -9
- package/package.json +1 -1
@@ -7005,8 +7005,10 @@ const AtoGoJSBase64 = {
|
|
7005
7005
|
|
7006
7006
|
var ATO_MAPPER_FROM;
|
7007
7007
|
(function (ATO_MAPPER_FROM) {
|
7008
|
-
|
7009
|
-
ATO_MAPPER_FROM["
|
7008
|
+
// HFW = 'HFW',
|
7009
|
+
ATO_MAPPER_FROM["INDICATOR"] = "Indicator";
|
7010
|
+
ATO_MAPPER_FROM["NORMAL"] = "Nomarl";
|
7011
|
+
// PLUGIN = 'Plugin',
|
7010
7012
|
})(ATO_MAPPER_FROM || (ATO_MAPPER_FROM = {}));
|
7011
7013
|
var ENUM_ASSET_PARAMETERS;
|
7012
7014
|
(function (ENUM_ASSET_PARAMETERS) {
|
@@ -7107,7 +7109,7 @@ var ENUM_ASSET_PARAMETERS;
|
|
7107
7109
|
// !!!WARNING: Common. This is only use for name
|
7108
7110
|
ENUM_ASSET_PARAMETERS["COMMON_RANGE"] = "Range";
|
7109
7111
|
ENUM_ASSET_PARAMETERS["COMMON_APPROACH"] = "Approach";
|
7110
|
-
ENUM_ASSET_PARAMETERS["COMMON_WET_BULB_TEMPERATURE"] = "
|
7112
|
+
ENUM_ASSET_PARAMETERS["COMMON_WET_BULB_TEMPERATURE"] = "Wet Bulb Temperature";
|
7111
7113
|
ENUM_ASSET_PARAMETERS["COMMON_FAN_SPEED"] = "Fan Speed";
|
7112
7114
|
ENUM_ASSET_PARAMETERS["COMMON_RETURN_TEMPERATURE"] = "Return Temperature";
|
7113
7115
|
ENUM_ASSET_PARAMETERS["COMMON_SUPPLY_TEMPERATURE"] = "Supply Temperature";
|
@@ -7608,7 +7610,7 @@ const DATA_ASSET_PARAMETER_FIELDS = {
|
|
7608
7610
|
isEditable: false,
|
7609
7611
|
isReadOnly: true,
|
7610
7612
|
visible: false,
|
7611
|
-
isFrom: ATO_MAPPER_FROM.
|
7613
|
+
isFrom: ATO_MAPPER_FROM.INDICATOR,
|
7612
7614
|
},
|
7613
7615
|
[ENUM_ASSET_PARAMETERS.DATA_ANALYSIS_WET_BULB_TEMPERATURE]: {
|
7614
7616
|
name: ENUM_ASSET_PARAMETERS.COMMON_WET_BULB_TEMPERATURE,
|
@@ -7621,7 +7623,7 @@ const DATA_ASSET_PARAMETER_FIELDS = {
|
|
7621
7623
|
isEditable: false,
|
7622
7624
|
isReadOnly: true,
|
7623
7625
|
visible: false,
|
7624
|
-
isFrom: ATO_MAPPER_FROM.
|
7626
|
+
isFrom: ATO_MAPPER_FROM.INDICATOR,
|
7625
7627
|
},
|
7626
7628
|
[ENUM_ASSET_PARAMETERS.DATA_ANALYSIS_APPROACH]: {
|
7627
7629
|
name: ENUM_ASSET_PARAMETERS.COMMON_APPROACH,
|
@@ -7630,7 +7632,7 @@ const DATA_ASSET_PARAMETER_FIELDS = {
|
|
7630
7632
|
isEditable: false,
|
7631
7633
|
isReadOnly: true,
|
7632
7634
|
visible: false,
|
7633
|
-
isFrom: ATO_MAPPER_FROM.
|
7635
|
+
isFrom: ATO_MAPPER_FROM.INDICATOR,
|
7634
7636
|
},
|
7635
7637
|
// Cooling Tower -- Performance -- Efficiency and Performance
|
7636
7638
|
[ENUM_ASSET_PARAMETERS.EFFICIENCY_DAILY_AVERAGE]: {
|
@@ -7689,11 +7691,11 @@ const DATA_ASSET_PARAMETER_FIELDS = {
|
|
7689
7691
|
key: ENUM_ASSET_PARAMETERS.DESIGN_RETURN_TEMPERATURE,
|
7690
7692
|
},
|
7691
7693
|
[ENUM_ASSET_PARAMETERS.DESIGN_RANGE]: {
|
7692
|
-
name: ENUM_ASSET_PARAMETERS.
|
7694
|
+
name: ENUM_ASSET_PARAMETERS.COMMON_RANGE,
|
7693
7695
|
key: ENUM_ASSET_PARAMETERS.DESIGN_RANGE,
|
7694
7696
|
},
|
7695
7697
|
[ENUM_ASSET_PARAMETERS.DESIGN_APPROACH]: {
|
7696
|
-
name: ENUM_ASSET_PARAMETERS.
|
7698
|
+
name: ENUM_ASSET_PARAMETERS.COMMON_APPROACH,
|
7697
7699
|
key: ENUM_ASSET_PARAMETERS.DESIGN_APPROACH,
|
7698
7700
|
},
|
7699
7701
|
// Cooling Tower -- Performance -- Systems KPIs
|
@@ -7704,7 +7706,7 @@ const DATA_ASSET_PARAMETER_FIELDS = {
|
|
7704
7706
|
isEditable: false,
|
7705
7707
|
isReadOnly: true,
|
7706
7708
|
visible: false,
|
7707
|
-
isFrom: ATO_MAPPER_FROM.
|
7709
|
+
isFrom: ATO_MAPPER_FROM.INDICATOR,
|
7708
7710
|
},
|
7709
7711
|
[ENUM_ASSET_PARAMETERS.KPIS_SUPPLY_TEMPERATURE]: {
|
7710
7712
|
name: ENUM_ASSET_PARAMETERS.COMMON_SUPPLY_TEMPERATURE,
|
@@ -7713,7 +7715,7 @@ const DATA_ASSET_PARAMETER_FIELDS = {
|
|
7713
7715
|
isEditable: false,
|
7714
7716
|
isReadOnly: true,
|
7715
7717
|
visible: false,
|
7716
|
-
isFrom: ATO_MAPPER_FROM.
|
7718
|
+
isFrom: ATO_MAPPER_FROM.INDICATOR,
|
7717
7719
|
},
|
7718
7720
|
[ENUM_ASSET_PARAMETERS.KPIS_RANGE]: {
|
7719
7721
|
name: ENUM_ASSET_PARAMETERS.COMMON_RANGE,
|
@@ -7722,7 +7724,7 @@ const DATA_ASSET_PARAMETER_FIELDS = {
|
|
7722
7724
|
isEditable: false,
|
7723
7725
|
isReadOnly: true,
|
7724
7726
|
visible: false,
|
7725
|
-
isFrom: ATO_MAPPER_FROM.
|
7727
|
+
isFrom: ATO_MAPPER_FROM.INDICATOR,
|
7726
7728
|
},
|
7727
7729
|
[ENUM_ASSET_PARAMETERS.KPIS_APPROACH]: {
|
7728
7730
|
name: ENUM_ASSET_PARAMETERS.COMMON_APPROACH,
|
@@ -7731,7 +7733,7 @@ const DATA_ASSET_PARAMETER_FIELDS = {
|
|
7731
7733
|
isEditable: false,
|
7732
7734
|
isReadOnly: true,
|
7733
7735
|
visible: false,
|
7734
|
-
isFrom: ATO_MAPPER_FROM.
|
7736
|
+
isFrom: ATO_MAPPER_FROM.INDICATOR,
|
7735
7737
|
},
|
7736
7738
|
[ENUM_ASSET_PARAMETERS.KPIS_EFFICIENCY_ADJUSTED_DAILY_AVERAGE]: {
|
7737
7739
|
name: 'Efficiency Adjusted Daily Average',
|
@@ -7740,7 +7742,7 @@ const DATA_ASSET_PARAMETER_FIELDS = {
|
|
7740
7742
|
isEditable: false,
|
7741
7743
|
isReadOnly: true,
|
7742
7744
|
visible: false,
|
7743
|
-
isFrom: ATO_MAPPER_FROM.
|
7745
|
+
isFrom: ATO_MAPPER_FROM.INDICATOR,
|
7744
7746
|
},
|
7745
7747
|
[ENUM_ASSET_PARAMETERS.KPIS_LG_RATIO]: {
|
7746
7748
|
name: ENUM_ASSET_PARAMETERS.COMMON_LG_RATIO,
|
@@ -7749,7 +7751,7 @@ const DATA_ASSET_PARAMETER_FIELDS = {
|
|
7749
7751
|
isEditable: false,
|
7750
7752
|
isReadOnly: true,
|
7751
7753
|
visible: false,
|
7752
|
-
isFrom: ATO_MAPPER_FROM.
|
7754
|
+
isFrom: ATO_MAPPER_FROM.INDICATOR,
|
7753
7755
|
},
|
7754
7756
|
};
|
7755
7757
|
const STYLE_TABLE_PARAM = {
|
@@ -9220,10 +9222,10 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
9220
9222
|
visible: false,
|
9221
9223
|
} }),
|
9222
9224
|
Object.assign(Object.assign({ key: 95, type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE, group: 100, padding: new go.Margin(0, 0, 0, 0), loc: '10 20' }, DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.SYSTEM_KPIS]), { minSizeValue: new go.Size(100, NaN), selectable: false, dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.SYSTEM_KPIS]
|
9223
|
-
.map((e) => (Object.assign(Object.assign({}, e), { value: '', isEditable: true, maxSizeValue: new go.Size(130, 14),
|
9224
|
-
maxSizeValue: new go.Size(
|
9225
|
+
.map((e) => (Object.assign(Object.assign({}, e), { value: '', isEditable: true, maxSizeValue: new go.Size(130, 14), [`extendedDataisFrom${ATO_MAPPER_FROM.INDICATOR}`]: {
|
9226
|
+
maxSizeValue: new go.Size(250, 14),
|
9225
9227
|
} })))
|
9226
|
-
.concat(ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.COOLING_WATER_CHEMISTRY].map((e) => (Object.assign(Object.assign({}, e), { value: `Mapping in "Cooling Water Chemistry" section`, isEditable: false, maxSizeValue: new go.Size(250, 14), isReadOnly: true, isFrom: ATO_MAPPER_FROM.
|
9228
|
+
.concat(ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.COOLING_WATER_CHEMISTRY].map((e) => (Object.assign(Object.assign({}, e), { value: `Mapping in "Cooling Water Chemistry" section`, isEditable: false, maxSizeValue: new go.Size(250, 14), isReadOnly: true, isFrom: ATO_MAPPER_FROM.INDICATOR,
|
9227
9229
|
// font: '10px sans-serif',
|
9228
9230
|
visible: false })))), assetLayers: ATO_ASSET_LAYERS.CHEMISTRY, extendedData: {
|
9229
9231
|
visible: true,
|
@@ -9294,7 +9296,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
9294
9296
|
}, extendedDataResponsive: {
|
9295
9297
|
visible: false,
|
9296
9298
|
} }),
|
9297
|
-
Object.assign(Object.assign({ key: 102, type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE, group: 100, padding: new go.Margin(0, 0, 0, 0), loc: '10 230' }, DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.DATA_ANALYSIS]), { minSizeValue: new go.Size(100, NaN), selectable: false, dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.DATA_ANALYSIS].map((e) => (Object.assign(Object.assign({}, e), { value: (e === null || e === void 0 ? void 0 : e.value) || '', isEditable: !!(e === null || e === void 0 ? void 0 : e.isEditable), isFrom: ATO_MAPPER_FROM.
|
9299
|
+
Object.assign(Object.assign({ key: 102, type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE, group: 100, padding: new go.Margin(0, 0, 0, 0), loc: '10 230' }, DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.DATA_ANALYSIS]), { minSizeValue: new go.Size(100, NaN), selectable: false, dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.DATA_ANALYSIS].map((e) => (Object.assign(Object.assign({}, e), { value: (e === null || e === void 0 ? void 0 : e.value) || '', isEditable: !!(e === null || e === void 0 ? void 0 : e.isEditable), isFrom: ATO_MAPPER_FROM.INDICATOR, maxSizeValue: new go.Size(130, 14), maxSizeNameParam: new go.Size(160, 14), waterSystem: WATER_SYSTEMS_NAME.DATA_ANALYSIS }))), assetLayers: ATO_ASSET_LAYERS.PERFORMANCE, extendedData: {
|
9298
9300
|
visible: true,
|
9299
9301
|
}, extendedDataResponsive: {
|
9300
9302
|
visible: false,
|
@@ -9319,7 +9321,9 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
9319
9321
|
}, extendedDataResponsive: {
|
9320
9322
|
visible: false,
|
9321
9323
|
} }),
|
9322
|
-
Object.assign(Object.assign({ key: 106, type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE, group: 100, padding: new go.Margin(0, 0, 0, 0), loc: '10 10' }, DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.SYSTEM_KPIS__COOLING_TOWER__PERFORMANCE]), { minSizeValue: new go.Size(100, NaN), selectable: false, dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.SYSTEM_KPIS__COOLING_TOWER__PERFORMANCE].map((e) => (Object.assign(Object.assign({}, e), { maxSizeValue: new go.Size(130, 14), maxSizeNameParam: new go.Size(160, 14), waterSystem: WATER_SYSTEMS_NAME.SYSTEM_KPIS__COOLING_TOWER__PERFORMANCE }))), assetLayers: ATO_ASSET_LAYERS.PERFORMANCE, extendedData: {
|
9324
|
+
Object.assign(Object.assign({ key: 106, type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE, group: 100, padding: new go.Margin(0, 0, 0, 0), loc: '10 10' }, DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.SYSTEM_KPIS__COOLING_TOWER__PERFORMANCE]), { minSizeValue: new go.Size(100, NaN), selectable: false, dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.SYSTEM_KPIS__COOLING_TOWER__PERFORMANCE].map((e) => (Object.assign(Object.assign({}, e), { maxSizeValue: new go.Size(130, 14), maxSizeNameParam: new go.Size(160, 14), waterSystem: WATER_SYSTEMS_NAME.SYSTEM_KPIS__COOLING_TOWER__PERFORMANCE }))), assetLayers: ATO_ASSET_LAYERS.PERFORMANCE, isFrom: ATO_MAPPER_FROM.INDICATOR, extendedData: {
|
9325
|
+
visible: false,
|
9326
|
+
}, [`extendedDataisFrom${ATO_MAPPER_FROM.INDICATOR}`]: {
|
9323
9327
|
visible: true,
|
9324
9328
|
}, extendedDataResponsive: {
|
9325
9329
|
visible: false,
|
@@ -9473,18 +9477,18 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
9473
9477
|
visible: false,
|
9474
9478
|
} }),
|
9475
9479
|
Object.assign(Object.assign({ type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE, group: 100, loc: '5 15', padding: new go.Margin(0, 0, 0, 0) }, DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.SYSTEM_KPIS]), { minSizeValue: new go.Size(100, NaN), selectable: false, dataTable: ASSET_CATEGORY_PARAMS__BOILER[WATER_SYSTEMS_NAME.SYSTEM_KPIS_STEAM]
|
9476
|
-
.map((e) => (Object.assign(Object.assign({}, e), { value: `Mapping in "Steam" section`, isEditable: false, maxSizeValue: new go.Size(220, 14), waterSystem: WATER_SYSTEMS_NAME.SYSTEM_KPIS, isReadOnly: true, isFrom: ATO_MAPPER_FROM.
|
9480
|
+
.map((e) => (Object.assign(Object.assign({}, e), { value: `Mapping in "Steam" section`, isEditable: false, maxSizeValue: new go.Size(220, 14), waterSystem: WATER_SYSTEMS_NAME.SYSTEM_KPIS, isReadOnly: true, isFrom: ATO_MAPPER_FROM.INDICATOR,
|
9477
9481
|
// font: '10px sans-serif',
|
9478
9482
|
maxSizeNameParam: new go.Size(125, 15) })))
|
9479
|
-
.concat(ASSET_CATEGORY_PARAMS__BOILER[WATER_SYSTEMS_NAME.SYSTEM_KPIS_BOILER_WATER].map((e) => (Object.assign(Object.assign({}, e), { value: `Mapping in "Boiler Water" section`, isEditable: false, maxSizeValue: new go.Size(220, 14), waterSystem: WATER_SYSTEMS_NAME.SYSTEM_KPIS, isReadOnly: true, isFrom: ATO_MAPPER_FROM.
|
9483
|
+
.concat(ASSET_CATEGORY_PARAMS__BOILER[WATER_SYSTEMS_NAME.SYSTEM_KPIS_BOILER_WATER].map((e) => (Object.assign(Object.assign({}, e), { value: `Mapping in "Boiler Water" section`, isEditable: false, maxSizeValue: new go.Size(220, 14), waterSystem: WATER_SYSTEMS_NAME.SYSTEM_KPIS, isReadOnly: true, isFrom: ATO_MAPPER_FROM.INDICATOR,
|
9480
9484
|
// font: '10px sans-serif',
|
9481
|
-
maxSizeNameParam: new go.Size(125, 15) })))), assetLayers: ATO_ASSET_LAYERS.CHEMISTRY, isFrom: ATO_MAPPER_FROM.
|
9485
|
+
maxSizeNameParam: new go.Size(125, 15) })))), assetLayers: ATO_ASSET_LAYERS.CHEMISTRY, isFrom: ATO_MAPPER_FROM.INDICATOR, extendedData: {
|
9482
9486
|
visible: false,
|
9483
|
-
},
|
9487
|
+
}, [`extendedDataisFrom${ATO_MAPPER_FROM.INDICATOR}`]: {
|
9484
9488
|
visible: true,
|
9485
9489
|
}, extendedDataResponsive: {
|
9486
9490
|
visible: false,
|
9487
|
-
},
|
9491
|
+
}, [`extendedDataisFrom${ATO_MAPPER_FROM.INDICATOR}Responsive`]: {
|
9488
9492
|
visible: false,
|
9489
9493
|
} }),
|
9490
9494
|
Object.assign(Object.assign({ type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE, group: 100, loc: '400 15', padding: new go.Margin(0, 0, 0, 0) }, DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.CONDENSATE_RETURN]), { minSizeValue: new go.Size(100, NaN), selectable: false, dataTable: ASSET_CATEGORY_PARAMS__BOILER[WATER_SYSTEMS_NAME.CONDENSATE_RETURN__CHEMISTRY].map((e) => (Object.assign(Object.assign({}, e), { value: '', isEditable: true, maxSizeValue: new go.Size(140, 14), waterSystem: WATER_SYSTEMS_NAME.CONDENSATE_RETURN }))), assetLayers: ATO_ASSET_LAYERS.CHEMISTRY, extendedData: {
|
@@ -9854,10 +9858,10 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
9854
9858
|
visible: false,
|
9855
9859
|
} }),
|
9856
9860
|
Object.assign(Object.assign({ key: 95, type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE, group: 100, padding: new go.Margin(0, 0, 0, 0), loc: '10 20' }, DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.SYSTEM_KPIS]), { minSizeValue: new go.Size(100, NaN), selectable: false, dataTable: ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.SYSTEM_KPIS]
|
9857
|
-
.map((e) => (Object.assign(Object.assign({}, e), { value: '', isEditable: true, maxSizeValue: new go.Size(130, 14),
|
9861
|
+
.map((e) => (Object.assign(Object.assign({}, e), { value: '', isEditable: true, maxSizeValue: new go.Size(130, 14), [`extendedDataisFrom${ATO_MAPPER_FROM.INDICATOR}`]: {
|
9858
9862
|
maxSizeValue: new go.Size(230, 14),
|
9859
9863
|
} })))
|
9860
|
-
.concat(ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.COOLING_WATER_CHEMISTRY].map((e) => (Object.assign(Object.assign({}, e), { value: `Mapping in "Cooling Water Chemistry" section`, isEditable: false, maxSizeValue: new go.Size(250, 14), isReadOnly: true, isFrom: ATO_MAPPER_FROM.
|
9864
|
+
.concat(ASSET_CATEGORY_PARAMS[WATER_SYSTEMS_NAME.COOLING_WATER_CHEMISTRY].map((e) => (Object.assign(Object.assign({}, e), { value: `Mapping in "Cooling Water Chemistry" section`, isEditable: false, maxSizeValue: new go.Size(250, 14), isReadOnly: true, isFrom: ATO_MAPPER_FROM.INDICATOR,
|
9861
9865
|
// font: '10px sans-serif',
|
9862
9866
|
visible: false })))), assetLayers: ATO_ASSET_LAYERS.CHEMISTRY, extendedData: {
|
9863
9867
|
visible: true,
|