ato-water-lib 0.0.114 → 0.0.116
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 +5 -4
- package/esm2020/lib/models/default-gojs-editor.model.mjs +4 -3
- package/fesm2015/ato-water-lib.mjs +7 -5
- package/fesm2015/ato-water-lib.mjs.map +1 -1
- package/fesm2020/ato-water-lib.mjs +7 -5
- package/fesm2020/ato-water-lib.mjs.map +1 -1
- package/lib/constants/components-group-const.d.ts +6 -0
- package/package.json +1 -1
@@ -5811,7 +5811,7 @@ class AtoDefaultGojsEditor {
|
|
5811
5811
|
maxSize: new go.Size(450, 30),
|
5812
5812
|
}, new go.Binding('text', 'tooltip'))),
|
5813
5813
|
visible: this._initialOptions.isReadOnly,
|
5814
|
-
}, this.$(go.TextBlock, '', {
|
5814
|
+
}, new go.Binding('visible', 'visible'), this.$(go.TextBlock, '', {
|
5815
5815
|
margin: new go.Margin(0, 5, 0, 0),
|
5816
5816
|
text: 'Mass Balance:',
|
5817
5817
|
}, new go.Binding('font', 'font')), this.$(go.TextBlock, '', {
|
@@ -5837,6 +5837,7 @@ class AtoDefaultGojsEditor {
|
|
5837
5837
|
// strokeDashArray: [5, 5],
|
5838
5838
|
}), this.$(go.Placeholder, { padding: new go.Margin(15, 0, 0, 0) })), this.$(go.Picture, RO_LINE_DIRTY, {
|
5839
5839
|
row: 1,
|
5840
|
+
margin: new go.Margin(0, 0, 0, 8),
|
5840
5841
|
}, new go.Binding('visible', '', (x) => {
|
5841
5842
|
return x?.isViewGeneral && x?.hasOutFlow ? true : false;
|
5842
5843
|
}))), this.$(go.Panel, 'Table', {
|
@@ -5877,7 +5878,7 @@ class AtoDefaultGojsEditor {
|
|
5877
5878
|
toLinkable: true,
|
5878
5879
|
}, new go.Binding('alignment', '', (x) => {
|
5879
5880
|
return x?.isViewGeneral && x?.hasOutFlow
|
5880
|
-
? new go.Spot(0, 0,
|
5881
|
+
? new go.Spot(0, 0, 505, 665)
|
5881
5882
|
: new go.Spot(0, 0, 480, 525);
|
5882
5883
|
})));
|
5883
5884
|
this.myDiagram.groupTemplateMap.set(title, node);
|
@@ -8282,7 +8283,7 @@ const ASSET_CATEGORY_PARAMS__RO_WATER_TREATMENT = {
|
|
8282
8283
|
// For View Flow
|
8283
8284
|
[WATER_SYSTEMS_NAME.RO_FEED__FLOW]: [
|
8284
8285
|
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.FLOW_RATE],
|
8285
|
-
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.PRIMARY_PRESSURE],
|
8286
|
+
// DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.PRIMARY_PRESSURE],
|
8286
8287
|
],
|
8287
8288
|
[WATER_SYSTEMS_NAME.RO_SYSTEM_KPIS__FLOW]: [
|
8288
8289
|
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.NORMALIZED_PRESSURE_DROP],
|
@@ -8553,6 +8554,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8553
8554
|
font: 'bold 15px Arial',
|
8554
8555
|
colorValue: '',
|
8555
8556
|
tooltip: '',
|
8557
|
+
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
8556
8558
|
},
|
8557
8559
|
{
|
8558
8560
|
key: 93,
|
@@ -10127,10 +10129,10 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
10127
10129
|
margin: new go.Margin(180, 0, 0, 0),
|
10128
10130
|
},
|
10129
10131
|
extendedDataResponsive: {
|
10130
|
-
margin: new go.Margin(20,
|
10132
|
+
margin: new go.Margin(20, 0, 0, 0),
|
10131
10133
|
},
|
10132
10134
|
extendedDataChemistry: {
|
10133
|
-
margin: new go.Margin(100,
|
10135
|
+
margin: new go.Margin(100, 0, 0, 0),
|
10134
10136
|
},
|
10135
10137
|
},
|
10136
10138
|
// For view Flow
|