ato-water-lib 0.0.16 → 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
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ato-water-lib",
3
- "version": "0.0.16",
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",