ato-water-lib 0.0.37 → 0.0.39
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2020/lib/components/asset-flow/asset-flow.component.mjs +22 -4
- package/esm2020/lib/models/gojs-data.model.mjs +1 -1
- package/esm2020/public-api.mjs +3 -2
- package/fesm2015/ato-water-lib.mjs +19 -6
- package/fesm2015/ato-water-lib.mjs.map +1 -1
- package/fesm2020/ato-water-lib.mjs +22 -5
- package/fesm2020/ato-water-lib.mjs.map +1 -1
- package/lib/components/asset-flow/asset-flow.component.d.ts +6 -2
- package/lib/models/gojs-data.model.d.ts +2 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
@@ -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:
|
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
|
-
|
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
|
}
|
@@ -1,7 +1,9 @@
|
|
1
|
+
import { ATO_ASSET_LAYERS } from "../constants/components-group-const";
|
1
2
|
export declare class AtoGoJSData {
|
2
3
|
linkFromPortIdProperty: string;
|
3
4
|
linkToPortIdProperty: string;
|
4
5
|
linkDataArray: any[];
|
5
6
|
nodeDataArray: any[];
|
6
7
|
isRefresh?: boolean;
|
8
|
+
assetLayer?: ATO_ASSET_LAYERS;
|
7
9
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
@@ -6,3 +6,4 @@ export * from './lib/components/asset-flow/asset-flow.component';
|
|
6
6
|
export * from './lib/components/asset-params-view/asset-params-view.component';
|
7
7
|
export * from './lib/directive/ato-loading.directive';
|
8
8
|
export * from './lib/directive/ng-var.directive';
|
9
|
+
export * from './lib/constants/components-group-const';
|