ato-water-lib 0.0.15 → 0.0.17

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,6 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
2
  import * as go from 'gojs';
3
+ import { AtoGoJSData } from '../../models/gojs-data.model';
3
4
  import { AtoGojsEditorModel } from '../../models/gojs-editor.model';
4
5
  import { AtoFlowDiagramLibComponent } from '../flow-diagram-lib/flow-diagram-lib.component';
5
6
  import * as i0 from "@angular/core";
@@ -13,10 +14,11 @@ export declare class AssetFlowComponent implements OnInit {
13
14
  options: {
14
15
  layout: go.LayeredDigraphLayout;
15
16
  };
16
- flowData: any;
17
+ flowData: AtoGoJSData;
17
18
  ngOnInit(): void;
18
19
  onClickParamOfTable($event: any): void;
19
20
  getDefaultFlowData(): any;
21
+ setFlowData(data: AtoGoJSData): void;
20
22
  static ɵfac: i0.ɵɵFactoryDeclaration<AssetFlowComponent, never>;
21
23
  static ɵcmp: i0.ɵɵComponentDeclaration<AssetFlowComponent, "ato-asset-flow", never, { "selectedComponent": "selectedComponent"; "systemType": "systemType"; "isUseBase64": "isUseBase64"; "flowData": "flowData"; }, { "onClickParamOfTableEvent": "onClickParamOfTableEvent"; }, never, never, false, never>;
22
24
  }
@@ -0,0 +1,6 @@
1
+ export declare class AtoGoJSData {
2
+ linkFromPortIdProperty: string;
3
+ linkToPortIdProperty: string;
4
+ linkDataArray: any[];
5
+ nodeDataArray: any[];
6
+ }
@@ -341,7 +341,7 @@ export declare namespace AtoGojsEditorModel {
341
341
  const ICON_ASSET_WITHDRAW_DISCHARGE_ICON: string;
342
342
  const IMAGE_RO_WATER_TREATMENT_PATH = "/assets/images/ro-water-treatment/RO_WATER_TREATMENT_BG.png";
343
343
  const IMAGE_BOILER_PATH = "assets/images/boiler/cms_boiler.png";
344
- const IMAGE_COOLING_TOWER_PATH = "assets/images/process-water/cooling_tower.png";
344
+ const IMAGE_COOLING_TOWER_PATH = "assets/images/process-water/cooling-tower-4.png";
345
345
  const SPECIAL_ICON_ASSET_PATH: string;
346
346
  const ENERGY_ICON_ASSET_PATH = "assets/images/editor/energy";
347
347
  const GAS_ICON_ASSET_PATH = "assets/images/editor/gas";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ato-water-lib",
3
- "version": "0.0.15",
3
+ "version": "0.0.17",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.1.0 || ^16.2.0",
6
6
  "@angular/core": "^15.1.0 || ^16.2.0",