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.
- package/esm2020/lib/components/asset-flow/asset-flow.component.mjs +19 -5
- package/esm2020/lib/models/gojs-data.model.mjs +1 -1
- package/fesm2015/ato-water-lib.mjs +19 -6
- package/fesm2015/ato-water-lib.mjs.map +1 -1
- package/fesm2020/ato-water-lib.mjs +18 -4
- 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 +1 -1
- package/package.json +1 -1
@@ -22,9 +22,15 @@ export class AssetFlowComponent {
|
|
22
22
|
}),
|
23
23
|
// isReadOnly: true,
|
24
24
|
};
|
25
|
-
this.flowData = {};
|
26
25
|
this.isResponsiveView = false;
|
27
26
|
}
|
27
|
+
set flowData(v) {
|
28
|
+
this._flowData = v;
|
29
|
+
this.updateDataTableAssetParams({ ...v, assetLayer: this.assetLayer });
|
30
|
+
}
|
31
|
+
get flowData() {
|
32
|
+
return this._flowData;
|
33
|
+
}
|
28
34
|
onResize(event) {
|
29
35
|
// Now only Support Cooling Tower Responsive
|
30
36
|
if (this.timeoutResizeWindow) {
|
@@ -66,10 +72,15 @@ export class AssetFlowComponent {
|
|
66
72
|
}
|
67
73
|
static getDefaultFlowData(defaultData) {
|
68
74
|
const flowData = {
|
75
|
+
...defaultData,
|
69
76
|
..._.cloneDeep(ATO_COMPONENTS_GROUP_DATA)[defaultData?.systemType],
|
70
77
|
linkFromPortIdProperty: 'fromPort',
|
71
78
|
linkToPortIdProperty: 'toPort',
|
72
79
|
};
|
80
|
+
// Reponsive
|
81
|
+
_.forEach(flowData?.nodeDataArray, (node) => {
|
82
|
+
node = _.merge(node, node[`extendedData${window.innerWidth < 1024 ? 'Responsive' : ''}`]);
|
83
|
+
});
|
73
84
|
// assetLayer
|
74
85
|
flowData.nodeDataArray = _.filter(flowData.nodeDataArray, x => !x?.assetLayers || (x?.assetLayers && x?.assetLayers === (defaultData?.assetLayer ?? ATO_ASSET_LAYERS.FLOW)));
|
75
86
|
if (defaultData?.isUseBase64) {
|
@@ -81,12 +92,15 @@ export class AssetFlowComponent {
|
|
81
92
|
return flowData;
|
82
93
|
}
|
83
94
|
setFlowData(data) {
|
84
|
-
const layer = data?.assetLayer ?? this?.assetLayer ?? ATO_ASSET_LAYERS.FLOW;
|
95
|
+
// const layer = data?.assetLayer ?? this?.assetLayer ?? ATO_ASSET_LAYERS.FLOW;
|
85
96
|
this.flowData = {
|
86
97
|
...data,
|
87
|
-
nodeDataArray: _.filter(data.nodeDataArray, x => !x?.assetLayers || (x?.assetLayers && x?.assetLayers ===
|
98
|
+
nodeDataArray: _.filter(data.nodeDataArray, x => !x?.assetLayers || (x?.assetLayers && x?.assetLayers === data?.assetLayer))
|
88
99
|
};
|
89
|
-
this.
|
100
|
+
this.updateDataTableAssetParams(data);
|
101
|
+
}
|
102
|
+
updateDataTableAssetParams(data) {
|
103
|
+
this.dataTableAssetParams = _.forEach(this.flowData?.nodeDataArray?.filter((e) => e?.type === AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE && e?.assetLayers === data?.assetLayer), x => {
|
90
104
|
if (!data?.isRefresh) {
|
91
105
|
x.isCollapsed = this.assetParamsViewTemp?.data?.find(y => y?.key === x?.key)?.isCollapsed;
|
92
106
|
}
|
@@ -124,4 +138,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
124
138
|
type: HostListener,
|
125
139
|
args: ['window:resize', ['$event']]
|
126
140
|
}] } });
|
127
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXNzZXQtZmxvdy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hdG8td2F0ZXItbGliL3NyYy9saWIvY29tcG9uZW50cy9hc3NldC1mbG93L2Fzc2V0LWZsb3cuY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PVwiZmxvd0RhdGFcIlxuICAgICAgW2luaXRpYWxPcHRpb25zXT1cIm9wdGlvbnNcIlxuICAgICAgKG9uQ2xpa1BhcmFtT2ZUYWJsZSk9XCJvbkNsaWNrUGFyYW1PZlRhYmxlKCRldmVudClcIlxuICAgICAgW2NsYXNzXT1cIiEhaXNSZXNwb25zaXZlVmlldyA/ICdkaWFncmFtLXJlc3BvbnNpdmUtdmlldycgOiAnZmxleC1ncm93LTEnXCJcbiAgICA+PC9hdG8tZmxvdy1kaWFncmFtLWxpYj5cbiAgICA8ZGl2IGNsYXNzPVwibXQtMlwiICpuZ0lmPVwiaXNSZXNwb25zaXZlVmlld1wiPlxuICAgICAgPGF0by1hc3NldC1wYXJhbXMtdmlld1xuICAgICAgICAjYXNzZXRQYXJhbXNWaWV3VGVtcFxuICAgICAgICBbZGF0YV09XCJkYXRhVGFibGVBc3NldFBhcmFtc1wiXG4gICAgICAgIFtpc0VkaXRWaWV3XT1cInRydWVcIlxuICAgICAgICAoY2xpY2tQYXJhbVRhYmxlUm93KT1cIm9uQ2xpY2tQYXJhbU9mVGFibGUoJGV2ZW50KVwiXG4gICAgICA+PC9hdG8tYXNzZXQtcGFyYW1zLXZpZXc+XG4gICAgPC9kaXY+XG4gIDwvZGl2PlxuPC9kaXY+XG5cbiJdfQ==
|
@@ -3,4 +3,4 @@ export class AtoGoJSData {
|
|
3
3
|
this.isRefresh = false;
|
4
4
|
}
|
5
5
|
}
|
6
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ29qcy1kYXRhLm1vZGVsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYXRvLXdhdGVyLWxpYi9zcmMvbGliL21vZGVscy9nb2pzLWRhdGEubW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxPQUFPLFdBQVc7SUFBeEI7UUFLS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ICBpc1JlZnJlc2g/OiBib29sZWFuID0gZmFsc2U7XG4gICAgYXNzZXRMYXllcj86IEFUT19BU1NFVF9MQVlFUlM7XG59Il19
|
@@ -8027,9 +8027,15 @@ class AssetFlowComponent {
|
|
8027
8027
|
}),
|
8028
8028
|
// isReadOnly: true,
|
8029
8029
|
};
|
8030
|
-
this.flowData = {};
|
8031
8030
|
this.isResponsiveView = false;
|
8032
8031
|
}
|
8032
|
+
set flowData(v) {
|
8033
|
+
this._flowData = v;
|
8034
|
+
this.updateDataTableAssetParams(Object.assign(Object.assign({}, v), { assetLayer: this.assetLayer }));
|
8035
|
+
}
|
8036
|
+
get flowData() {
|
8037
|
+
return this._flowData;
|
8038
|
+
}
|
8033
8039
|
onResize(event) {
|
8034
8040
|
// Now only Support Cooling Tower Responsive
|
8035
8041
|
if (this.timeoutResizeWindow) {
|
@@ -8072,7 +8078,11 @@ class AssetFlowComponent {
|
|
8072
8078
|
}
|
8073
8079
|
static getDefaultFlowData(defaultData) {
|
8074
8080
|
var _a;
|
8075
|
-
const flowData = Object.assign(Object.assign({}, _.cloneDeep(ATO_COMPONENTS_GROUP_DATA)[defaultData === null || defaultData === void 0 ? void 0 : defaultData.systemType]), { linkFromPortIdProperty: 'fromPort', linkToPortIdProperty: 'toPort' });
|
8081
|
+
const flowData = Object.assign(Object.assign(Object.assign({}, defaultData), _.cloneDeep(ATO_COMPONENTS_GROUP_DATA)[defaultData === null || defaultData === void 0 ? void 0 : defaultData.systemType]), { linkFromPortIdProperty: 'fromPort', linkToPortIdProperty: 'toPort' });
|
8082
|
+
// Reponsive
|
8083
|
+
_.forEach(flowData === null || flowData === void 0 ? void 0 : flowData.nodeDataArray, (node) => {
|
8084
|
+
node = _.merge(node, node[`extendedData${window.innerWidth < 1024 ? 'Responsive' : ''}`]);
|
8085
|
+
});
|
8076
8086
|
// assetLayer
|
8077
8087
|
flowData.nodeDataArray = _.filter(flowData.nodeDataArray, x => { var _a; return !(x === null || x === void 0 ? void 0 : x.assetLayers) || ((x === null || x === void 0 ? void 0 : x.assetLayers) && (x === null || x === void 0 ? void 0 : x.assetLayers) === ((_a = defaultData === null || defaultData === void 0 ? void 0 : defaultData.assetLayer) !== null && _a !== void 0 ? _a : ATO_ASSET_LAYERS.FLOW)); });
|
8078
8088
|
if (defaultData === null || defaultData === void 0 ? void 0 : defaultData.isUseBase64) {
|
@@ -8084,10 +8094,13 @@ class AssetFlowComponent {
|
|
8084
8094
|
return flowData;
|
8085
8095
|
}
|
8086
8096
|
setFlowData(data) {
|
8087
|
-
|
8088
|
-
|
8089
|
-
this.
|
8090
|
-
|
8097
|
+
// const layer = data?.assetLayer ?? this?.assetLayer ?? ATO_ASSET_LAYERS.FLOW;
|
8098
|
+
this.flowData = Object.assign(Object.assign({}, data), { nodeDataArray: _.filter(data.nodeDataArray, x => !(x === null || x === void 0 ? void 0 : x.assetLayers) || ((x === null || x === void 0 ? void 0 : x.assetLayers) && (x === null || x === void 0 ? void 0 : x.assetLayers) === (data === null || data === void 0 ? void 0 : data.assetLayer))) });
|
8099
|
+
this.updateDataTableAssetParams(data);
|
8100
|
+
}
|
8101
|
+
updateDataTableAssetParams(data) {
|
8102
|
+
var _a, _b;
|
8103
|
+
this.dataTableAssetParams = _.forEach((_b = (_a = this.flowData) === null || _a === void 0 ? void 0 : _a.nodeDataArray) === null || _b === void 0 ? void 0 : _b.filter((e) => (e === null || e === void 0 ? void 0 : e.type) === AtoGojsEditorModel.ENUM_TEMPLATES.PARAM_TABLE && (e === null || e === void 0 ? void 0 : e.assetLayers) === (data === null || data === void 0 ? void 0 : data.assetLayer)), x => {
|
8091
8104
|
var _a, _b, _c;
|
8092
8105
|
if (!(data === null || data === void 0 ? void 0 : data.isRefresh)) {
|
8093
8106
|
x.isCollapsed = (_c = (_b = (_a = this.assetParamsViewTemp) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.find(y => (y === null || y === void 0 ? void 0 : y.key) === (x === null || x === void 0 ? void 0 : x.key))) === null || _c === void 0 ? void 0 : _c.isCollapsed;
|