ato-water-lib 0.0.38 → 0.0.39

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 { ATO_ASSET_LAYERS } from '../../constants/components-group-const';
3
4
  import { AtoDefaultFlowData } from '../../models/ato-asset-flow.model';
4
5
  import { AtoGoJSData } from '../../models/gojs-data.model';
5
6
  import { AtoGojsEditorModel } from '../../models/gojs-editor.model';
@@ -7,7 +8,7 @@ import { AtoAssetParamsViewComponent } from '../asset-params-view/asset-params-v
7
8
  import { AtoFlowDiagramLibComponent } from '../flow-diagram-lib/flow-diagram-lib.component';
8
9
  import * as i0 from "@angular/core";
9
10
  export declare class AssetFlowComponent implements OnInit {
10
- assetLayer: string;
11
+ assetLayer: ATO_ASSET_LAYERS;
11
12
  gjFlowDiagramTemp: AtoFlowDiagramLibComponent;
12
13
  assetParamsViewTemp: AtoAssetParamsViewComponent;
13
14
  selectedComponent: any;
@@ -18,7 +19,9 @@ export declare class AssetFlowComponent implements OnInit {
18
19
  options: {
19
20
  layout: go.LayeredDigraphLayout;
20
21
  };
21
- flowData: AtoGoJSData;
22
+ private _flowData;
23
+ set flowData(v: AtoGoJSData);
24
+ get flowData(): AtoGoJSData;
22
25
  dataTableAssetParams: any[];
23
26
  isResponsiveView: boolean;
24
27
  getFlowDataCallBack: Function;
@@ -30,6 +33,7 @@ export declare class AssetFlowComponent implements OnInit {
30
33
  onClickParamOfTable($event: any): void;
31
34
  static getDefaultFlowData(defaultData: AtoDefaultFlowData): any;
32
35
  setFlowData(data: AtoGoJSData): void;
36
+ updateDataTableAssetParams(data: AtoGoJSData): void;
33
37
  static ɵfac: i0.ɵɵFactoryDeclaration<AssetFlowComponent, never>;
34
38
  static ɵcmp: i0.ɵɵComponentDeclaration<AssetFlowComponent, "ato-asset-flow", never, { "assetLayer": "assetLayer"; "selectedComponent": "selectedComponent"; "systemType": "systemType"; "isUseBase64": "isUseBase64"; "flowData": "flowData"; "isResponsiveView": "isResponsiveView"; "getFlowDataCallBack": "getFlowDataCallBack"; }, { "onClickParamOfTableEvent": "onClickParamOfTableEvent"; }, never, never, false, never>;
35
39
  }
@@ -5,5 +5,5 @@ export declare class AtoGoJSData {
5
5
  linkDataArray: any[];
6
6
  nodeDataArray: any[];
7
7
  isRefresh?: boolean;
8
- assetLayer: ATO_ASSET_LAYERS;
8
+ assetLayer?: ATO_ASSET_LAYERS;
9
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ato-water-lib",
3
- "version": "0.0.38",
3
+ "version": "0.0.39",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.1.0 || ^16.2.0",
6
6
  "@angular/core": "^15.1.0 || ^16.2.0",