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
@@ -5819,7 +5819,7 @@ class AtoDefaultGojsEditor {
|
|
5819
5819
|
maxSize: new go.Size(450, 30),
|
5820
5820
|
}, new go.Binding('text', 'tooltip'))),
|
5821
5821
|
visible: this._initialOptions.isReadOnly,
|
5822
|
-
}, this.$(go.TextBlock, '', {
|
5822
|
+
}, new go.Binding('visible', 'visible'), this.$(go.TextBlock, '', {
|
5823
5823
|
margin: new go.Margin(0, 5, 0, 0),
|
5824
5824
|
text: 'Mass Balance:',
|
5825
5825
|
}, new go.Binding('font', 'font')), this.$(go.TextBlock, '', {
|
@@ -5845,6 +5845,7 @@ class AtoDefaultGojsEditor {
|
|
5845
5845
|
// strokeDashArray: [5, 5],
|
5846
5846
|
}), this.$(go.Placeholder, { padding: new go.Margin(15, 0, 0, 0) })), this.$(go.Picture, RO_LINE_DIRTY, {
|
5847
5847
|
row: 1,
|
5848
|
+
margin: new go.Margin(0, 0, 0, 8),
|
5848
5849
|
}, new go.Binding('visible', '', (x) => {
|
5849
5850
|
return (x === null || x === void 0 ? void 0 : x.isViewGeneral) && (x === null || x === void 0 ? void 0 : x.hasOutFlow) ? true : false;
|
5850
5851
|
}))), this.$(go.Panel, 'Table', {
|
@@ -5885,7 +5886,7 @@ class AtoDefaultGojsEditor {
|
|
5885
5886
|
toLinkable: true,
|
5886
5887
|
}, new go.Binding('alignment', '', (x) => {
|
5887
5888
|
return (x === null || x === void 0 ? void 0 : x.isViewGeneral) && (x === null || x === void 0 ? void 0 : x.hasOutFlow)
|
5888
|
-
? new go.Spot(0, 0,
|
5889
|
+
? new go.Spot(0, 0, 505, 665)
|
5889
5890
|
: new go.Spot(0, 0, 480, 525);
|
5890
5891
|
})));
|
5891
5892
|
this.myDiagram.groupTemplateMap.set(title, node);
|
@@ -8114,7 +8115,7 @@ const ASSET_CATEGORY_PARAMS__RO_WATER_TREATMENT = {
|
|
8114
8115
|
// For View Flow
|
8115
8116
|
[WATER_SYSTEMS_NAME.RO_FEED__FLOW]: [
|
8116
8117
|
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.FLOW_RATE],
|
8117
|
-
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.PRIMARY_PRESSURE],
|
8118
|
+
// DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.PRIMARY_PRESSURE],
|
8118
8119
|
],
|
8119
8120
|
[WATER_SYSTEMS_NAME.RO_SYSTEM_KPIS__FLOW]: [
|
8120
8121
|
DATA_ASSET_PARAMETER_FIELDS[ENUM_ASSET_PARAMETERS.NORMALIZED_PRESSURE_DROP],
|
@@ -8385,6 +8386,7 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
8385
8386
|
font: 'bold 15px Arial',
|
8386
8387
|
colorValue: '',
|
8387
8388
|
tooltip: '',
|
8389
|
+
assetLayers: ATO_ASSET_LAYERS.FLOW,
|
8388
8390
|
},
|
8389
8391
|
{
|
8390
8392
|
key: 93,
|
@@ -9313,10 +9315,10 @@ const ATO_COMPONENTS_GROUP_DATA = {
|
|
9313
9315
|
margin: new go.Margin(180, 0, 0, 0),
|
9314
9316
|
},
|
9315
9317
|
extendedDataResponsive: {
|
9316
|
-
margin: new go.Margin(20,
|
9318
|
+
margin: new go.Margin(20, 0, 0, 0),
|
9317
9319
|
},
|
9318
9320
|
extendedDataChemistry: {
|
9319
|
-
margin: new go.Margin(100,
|
9321
|
+
margin: new go.Margin(100, 0, 0, 0),
|
9320
9322
|
},
|
9321
9323
|
},
|
9322
9324
|
Object.assign(Object.assign({ key: 143, type: AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE, group: 150, loc: '15 15', padding: new go.Margin(0, 0, 0, 0) }, DATA_WATER_SYSTEMS[WATER_SYSTEMS_NAME.IMMERSED_UF_SYSTEM_KPIS__FLOW]), { minSizeValue: new go.Size(100, NaN), selectable: false, dataTable: ASSET_CATEGORY_PARAMS__IMMERSED_UF[WATER_SYSTEMS_NAME.IMMERSED_UF_SYSTEM_KPIS__FLOW].map((e) => (Object.assign(Object.assign({}, e), { value: '', isEditable: true, maxSizeValue: new go.Size(140, 14), waterSystem: WATER_SYSTEMS_NAME.IMMERSED_UF_SYSTEM_KPIS }))), assetLayers: ATO_ASSET_LAYERS.FLOW, extendedData: {
|