ato-water-lib 0.0.120 → 0.0.122

Sign up to get free protection for your applications and to get access to all the features.
@@ -6293,15 +6293,22 @@ const ATO_COMPONENTS_GROUP_DATA = {
6293
6293
  waterSystem: WATER_SYSTEMS_NAME.IMMERSED_UF_SYSTEM_KPIS,
6294
6294
  isReadOnly: true,
6295
6295
  isFrom: ATO_MAPPER_FROM.INDICATOR,
6296
- visible: false,
6296
+ visible: true,
6297
6297
  })),
6298
6298
  assetLayers: ATO_ASSET_LAYERS.CHEMISTRY,
6299
+ isFrom: ATO_MAPPER_FROM.INDICATOR,
6299
6300
  extendedData: {
6301
+ visible: false,
6302
+ },
6303
+ [`extendedDataIsFrom${ATO_MAPPER_FROM.INDICATOR}`]: {
6300
6304
  visible: true,
6301
6305
  },
6302
6306
  extendedDataResponsive: {
6303
6307
  visible: false,
6304
6308
  },
6309
+ [`extendedDataIsFrom${ATO_MAPPER_FROM.INDICATOR}Responsive`]: {
6310
+ visible: false,
6311
+ },
6305
6312
  },
6306
6313
  // {
6307
6314
  // key: 133,
@@ -10135,10 +10142,10 @@ class AtoDefaultGojsEditor {
10135
10142
  }
10136
10143
  makeGroupImmersedUFTemplate(icon, title, size = { w: 80, h: 80 }) {
10137
10144
  let node = this.$(go.Group, 'Spot', {
10138
- selectable: false,
10139
10145
  layout: this.$(go.Layout),
10140
- padding: new go.Margin(0, 30, 0, 0),
10141
- }, new go.Binding('location', 'loc', go.Point.parse).makeTwoWay(go.Point.stringify), this.$(go.Panel, 'Auto', {
10146
+ }, {
10147
+ // minSize: new go.Size(NaN, 600),
10148
+ }, new go.Binding('selectable', 'selectable'), new go.Binding('location', 'loc', go.Point.parse).makeTwoWay(go.Point.stringify), this.$(go.Panel, 'Auto', {
10142
10149
  row: 0,
10143
10150
  padding: new go.Margin(0, 0, 0, 0),
10144
10151
  }, this.$(go.Shape, 'RoundedRectangle', {
@@ -10170,11 +10177,86 @@ class AtoDefaultGojsEditor {
10170
10177
  fromLinkable: true,
10171
10178
  toLinkable: true,
10172
10179
  }, new go.Binding('alignment', '', (x) => {
10173
- console.log('zzzzz', x);
10174
10180
  return x?.[ATO_SPOT_LOCATION_TYPE.SPOT_OUTFLOW];
10175
10181
  })));
10176
10182
  this.myDiagram.groupTemplateMap.set(title, node);
10177
10183
  }
10184
+ // makeGroupImmersedUFTemplate(
10185
+ // icon,
10186
+ // title,
10187
+ // size: { w: number; h: number } = { w: 80, h: 80 }
10188
+ // ) {
10189
+ // let node = this.$(
10190
+ // go.Group,
10191
+ // 'Spot',
10192
+ // {
10193
+ // selectable: false,
10194
+ // layout: this.$(go.Layout),
10195
+ // padding: new go.Margin(0, 30, 0, 0),
10196
+ // },
10197
+ // new go.Binding('location', 'loc', go.Point.parse).makeTwoWay(
10198
+ // go.Point.stringify
10199
+ // ),
10200
+ // this.$(
10201
+ // go.Panel,
10202
+ // 'Auto',
10203
+ // {
10204
+ // row: 0,
10205
+ // padding: new go.Margin(0, 0, 0, 0),
10206
+ // },
10207
+ // this.$(go.Shape, 'RoundedRectangle', {
10208
+ // name: 'SHAPE_KEY',
10209
+ // fill: '#FCFCFD',
10210
+ // stroke: AtoGojsEditorModel.ENUM_COLORS.RESOLUTION_BLUE,
10211
+ // strokeWidth: 2,
10212
+ // strokeDashArray: [5, 5],
10213
+ // }),
10214
+ // this.$(go.Placeholder, { padding: new go.Margin(0, 0, 0, 0) })
10215
+ // ),
10216
+ // this.$(go.Panel, 'Table', {
10217
+ // width: 0,
10218
+ // height: 0,
10219
+ // alignment: new go.Spot(0, 0, 0, 340),
10220
+ // alignmentFocus: go.Spot.Bottom,
10221
+ // portId: 'Inflow',
10222
+ // cursor: this._initialOptions.isReadOnly ? '' : 'pointer',
10223
+ // fromSpot: go.Spot.Left,
10224
+ // toSpot: go.Spot.Left,
10225
+ // fromLinkable: true,
10226
+ // toLinkable: true,
10227
+ // }),
10228
+ // this.$(
10229
+ // go.Panel,
10230
+ // 'Spot',
10231
+ // {
10232
+ // alignmentFocus: go.Spot.Top,
10233
+ // alignment: new go.Spot(0, 0, 0, 0),
10234
+ // },
10235
+ // // this.$(
10236
+ // // go.Picture,
10237
+ // // OUTFLOW_LINE_DIRTY,
10238
+ // // {
10239
+ // // width: 10,
10240
+ // // height: 20,
10241
+ // // },
10242
+ // // new go.Binding('visible', '', (x) => {
10243
+ // // return x?.isViewGeneral && x?.hasOutFlow ? true : false;
10244
+ // // })
10245
+ // // ),
10246
+ // this.$(go.Panel, {
10247
+ // alignment: new go.Spot(0, 0, 0, -50),
10248
+ // alignmentFocus: go.Spot.Top,
10249
+ // portId: 'OutFlow',
10250
+ // cursor: this._initialOptions.isReadOnly ? '' : 'pointer',
10251
+ // fromSpot: go.Spot.Center,
10252
+ // toSpot: go.Spot.Right,
10253
+ // fromLinkable: true,
10254
+ // toLinkable: true,
10255
+ // })
10256
+ // )
10257
+ // );
10258
+ // this.myDiagram.groupTemplateMap.set(title, node);
10259
+ // }
10178
10260
  groupPlantCellTemplate(icon, title, size = { w: 80, h: 80 }) {
10179
10261
  const self = this;
10180
10262
  let node = this.$(go.Group, 'Spot', {
@@ -11453,5 +11535,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
11453
11535
  * Generated bundle index. Do not edit.
11454
11536
  */
11455
11537
 
11456
- export { ASSET_CATEGORY_PARAMS, ASSET_CATEGORY_PARAMS__BOILER, ASSET_CATEGORY_PARAMS__IMMERSED_UF, ASSET_CATEGORY_PARAMS__RO_WATER_TREATMENT, ATO_ASSET_LAYERS, ATO_COMPONENTS_GROUP_DATA, ATO_MAPPER_FROM, ATO_SPOT_LOCATION_TYPE, AssetFlowComponent, AtoAssetParamsViewComponent, AtoFlowDiagramLibComponent, AtoGojsEditorModel, AtoLoadingDirective, AtoNgVarDirective, AtoWaterLibComponent, AtoWaterLibModule, AtoWaterLibService, COMPONENTS_GROUP_TYPE, DATA_ASSET_PARAMETER_FIELDS, DATA_WATER_SYSTEMS, ENUM_ASSET_PARAMETERS, STYLE_TABLE_PARAM, WATER_SYSTEMS_NAME };
11538
+ export { ASSET_CATEGORY_PARAMS, ASSET_CATEGORY_PARAMS__BOILER, ASSET_CATEGORY_PARAMS__IMMERSED_UF, ASSET_CATEGORY_PARAMS__RO_WATER_TREATMENT, ATO_ASSET_LAYERS, ATO_COMPONENTS_GROUP_DATA, ATO_ECOMPONENT_PLANT_TYPE, ATO_ENUM_FLOW_DIRECTION, ATO_MAPPER_FROM, ATO_SPOT_LOCATION_TYPE, AssetFlowComponent, AtoAssetParamsViewComponent, AtoFlowDiagramLibComponent, AtoGojsEditorModel, AtoLoadingDirective, AtoNgVarDirective, AtoWaterLibComponent, AtoWaterLibModule, AtoWaterLibService, COMPONENTS_GROUP_TYPE, COMPONENT_TYPE_OF_PLANT_CELL, COMPONENT_TYPE_OF_PLANT_CELL_ENERGY, COMPOTYPE_CALL_PLANT_TOPOLOGY_DETAILS, DATA_ASSET_PARAMETER_FIELDS, DATA_WATER_SYSTEMS, ENUM_ASSET_PARAMETERS, ENUM_ROLES, E_COMPONENT_DATA_TYPE, E_FILTER_KEY, E_FLOW_RECORD, GROUP_PC_INPUTS_KEY, GROUP_PC_OUTPUTS_KEY, GROUP_PLANT_CELL_KEY, KEY_CREATE_DOM_TO_DOWNLOAD, NO_DATA, NO_ENOUGH_DATA, NO_HIDDEN, PLANT_ENERGY_DIAGRAM_TABS, STYLE_TABLE_PARAM, TAG_TYPE, TEXT_ERR, TEXT_UNKNOWN, VALUE_NA, VALUE_NA_SPECIAL, WATER_SYSTEMS_NAME };
11457
11539
  //# sourceMappingURL=ato-water-lib.mjs.map