ato-water-lib 0.0.37 → 0.0.38
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 +7 -3
- package/esm2020/lib/models/gojs-data.model.mjs +1 -1
- package/esm2020/public-api.mjs +3 -2
- package/fesm2015/ato-water-lib.mjs +5 -5
- package/fesm2015/ato-water-lib.mjs.map +1 -1
- package/fesm2020/ato-water-lib.mjs +7 -4
- package/fesm2020/ato-water-lib.mjs.map +1 -1
- package/lib/models/gojs-data.model.d.ts +2 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
@@ -8238,8 +8238,12 @@ class AssetFlowComponent {
|
|
8238
8238
|
return flowData;
|
8239
8239
|
}
|
8240
8240
|
setFlowData(data) {
|
8241
|
-
|
8242
|
-
this.
|
8241
|
+
const layer = data?.assetLayer ?? this?.assetLayer ?? ATO_ASSET_LAYERS.FLOW;
|
8242
|
+
this.flowData = {
|
8243
|
+
...data,
|
8244
|
+
nodeDataArray: _.filter(data.nodeDataArray, x => !x?.assetLayers || (x?.assetLayers && x?.assetLayers === layer))
|
8245
|
+
};
|
8246
|
+
this.dataTableAssetParams = _.forEach(this.flowData?.nodeDataArray?.filter((e) => e?.type === AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE && e?.assetLayers === layer), x => {
|
8243
8247
|
if (!data?.isRefresh) {
|
8244
8248
|
x.isCollapsed = this.assetParamsViewTemp?.data?.find(y => y?.key === x?.key)?.isCollapsed;
|
8245
8249
|
}
|
@@ -8350,11 +8354,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
8350
8354
|
/*
|
8351
8355
|
* Public API Surface of ato-water-lib
|
8352
8356
|
*/
|
8353
|
-
// Css
|
8354
8357
|
|
8355
8358
|
/**
|
8356
8359
|
* Generated bundle index. Do not edit.
|
8357
8360
|
*/
|
8358
8361
|
|
8359
|
-
export { AssetFlowComponent, AtoAssetParamsViewComponent, AtoFlowDiagramLibComponent, AtoLoadingDirective, AtoNgVarDirective, AtoWaterLibComponent, AtoWaterLibModule, AtoWaterLibService };
|
8362
|
+
export { ASSET_CATEGORY_PARAMS, ATO_ASSET_LAYERS, ATO_COMPONENTS_GROUP_DATA, AssetFlowComponent, AtoAssetParamsViewComponent, AtoFlowDiagramLibComponent, AtoLoadingDirective, AtoNgVarDirective, AtoWaterLibComponent, AtoWaterLibModule, AtoWaterLibService, COMPONENTS_GROUP_TYPE, DATA_ASSET_PARAMETER_FIELDS, DATA_WATER_SYSTEMS, ENUM_ASSET_PARAMETERS, WATER_SYSTEMS_NAME };
|
8360
8363
|
//# sourceMappingURL=ato-water-lib.mjs.map
|