@flexem/fc-gui 3.0.0-alpha.55 → 3.0.0-alpha.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -1
- package/bundles/@flexem/fc-gui.umd.js +20 -5
- package/bundles/@flexem/fc-gui.umd.js.map +1 -1
- package/bundles/@flexem/fc-gui.umd.min.js +4 -4
- package/bundles/@flexem/fc-gui.umd.min.js.map +1 -1
- package/elements/numerical-display/numerical-display-element.js +7 -1
- package/elements/numerical-display/numerical-display-element.metadata.json +1 -1
- package/gui/gui.component.js +5 -2
- package/modal/write-value/write-value-modal.component.js +8 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -220,4 +220,14 @@
|
|
|
220
220
|
### Web端
|
|
221
221
|
#### Features
|
|
222
222
|
1. FLEXCLOUD-2347【Web端】组态页面:组态页面监控点比较多,导致组态页面切换不生效问题
|
|
223
|
-
-- 接口变更,请求变量是否缩放使用另外一个接口
|
|
223
|
+
-- 接口变更,请求变量是否缩放使用另外一个接口
|
|
224
|
+
|
|
225
|
+
## 3.0.0-alpha.56(2022-12-09)
|
|
226
|
+
### Web端
|
|
227
|
+
#### Features
|
|
228
|
+
1. FLEXCLOUD-2391【Web端】组态写值:变量(监控点)“只写”情况下,写值提示超时
|
|
229
|
+
|
|
230
|
+
## 3.0.0-alpha.57(2023-01-04)
|
|
231
|
+
### Web端
|
|
232
|
+
#### Features
|
|
233
|
+
1. FLEXCLOUD-2403模板中设置网页端启动画面后,刷新后运营仪表盘、 设备仪表盘不应展示原有的启动画面
|
|
@@ -27380,6 +27380,12 @@ var fcloud_data_Type = __webpack_require__(6);
|
|
|
27380
27380
|
|
|
27381
27381
|
|
|
27382
27382
|
|
|
27383
|
+
var variableRwTypeEnum;
|
|
27384
|
+
(function (variableRwTypeEnum) {
|
|
27385
|
+
variableRwTypeEnum[variableRwTypeEnum["read"] = 4] = "read";
|
|
27386
|
+
variableRwTypeEnum[variableRwTypeEnum["witer"] = 2] = "witer";
|
|
27387
|
+
variableRwTypeEnum[variableRwTypeEnum["readWiter"] = 6] = "readWiter";
|
|
27388
|
+
})(variableRwTypeEnum || (variableRwTypeEnum = {}));
|
|
27383
27389
|
class numerical_display_element_NumericalDisplayElement extends readable_element_ReadableElement {
|
|
27384
27390
|
constructor(element, injector, modalService, permissionChecker, variableCommunicator, graphStore, operationRecordService, releasedVariableService, securityChecker, variableStore, localization, signalRAppId) {
|
|
27385
27391
|
super(element, permissionChecker, variableCommunicator, variableStore, localization, signalRAppId);
|
|
@@ -27557,7 +27563,7 @@ class numerical_display_element_NumericalDisplayElement extends readable_element
|
|
|
27557
27563
|
this.writeValue = writeValue;
|
|
27558
27564
|
this.showValue = result.showValue;
|
|
27559
27565
|
if (+this.displayText !== +this.showValue) {
|
|
27560
|
-
if (this.numericalOperation || result.enableNumericalOperation || result.isNumericalOperation) {
|
|
27566
|
+
if (this.numericalOperation || result.enableNumericalOperation || result.isNumericalOperation || result.variableRwType === variableRwTypeEnum.witer) {
|
|
27561
27567
|
this.writeValueMmodalRef.hide();
|
|
27562
27568
|
}
|
|
27563
27569
|
else {
|
|
@@ -41058,12 +41064,15 @@ let gui_component_GuiComponent = class GuiComponent {
|
|
|
41058
41064
|
this.globalSettings.displayMode = this.isMobileMode ? settings["a" /* DisplayMode */].Mobile : settings["a" /* DisplayMode */].Web;
|
|
41059
41065
|
}
|
|
41060
41066
|
refreshCurrentPage() {
|
|
41061
|
-
|
|
41067
|
+
if (this.host.currentViewIndex === undefined) {
|
|
41068
|
+
this.onProviderChanged(null, this.host.context);
|
|
41069
|
+
return;
|
|
41070
|
+
}
|
|
41062
41071
|
const toggleView = this.viewService.toggleViews.get(this.el);
|
|
41063
41072
|
if (!toggleView) {
|
|
41064
41073
|
return;
|
|
41065
41074
|
}
|
|
41066
|
-
toggleView(
|
|
41075
|
+
toggleView(this.host.currentViewIndex, this.hostContainerId, this.el).subscribe();
|
|
41067
41076
|
}
|
|
41068
41077
|
};
|
|
41069
41078
|
__decorate([
|
|
@@ -41211,10 +41220,16 @@ let WriteValueModalComponent = class WriteValueModalComponent {
|
|
|
41211
41220
|
}
|
|
41212
41221
|
}
|
|
41213
41222
|
this.args.releasedVariableService.getVariableWithValueTransform(this.variableName).subscribe(result => {
|
|
41214
|
-
|
|
41223
|
+
const valueTransform = JSON.parse(result.valueTransform);
|
|
41224
|
+
if (valueTransform.Type !== 0) {
|
|
41215
41225
|
this.isNumericalOperation = true;
|
|
41216
41226
|
}
|
|
41217
|
-
this.onClosed({
|
|
41227
|
+
this.onClosed({
|
|
41228
|
+
value, showValue,
|
|
41229
|
+
enableNumericalOperation: this.enableNumericalOperation,
|
|
41230
|
+
isNumericalOperation: this.isNumericalOperation,
|
|
41231
|
+
variableRwType: result.variableRwType
|
|
41232
|
+
});
|
|
41218
41233
|
});
|
|
41219
41234
|
}
|
|
41220
41235
|
close() {
|