@flexem/fc-gui 3.0.0-alpha.46 → 3.0.0-alpha.47
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 +6 -1
- package/bundles/@flexem/fc-gui.umd.js +12 -7
- package/bundles/@flexem/fc-gui.umd.js.map +1 -1
- package/bundles/@flexem/fc-gui.umd.min.js +1 -1
- package/bundles/@flexem/fc-gui.umd.min.js.map +1 -1
- package/elements/numerical-display/numerical-display-element.js +12 -7
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -27556,14 +27556,19 @@ class numerical_display_element_NumericalDisplayElement extends readable_element
|
|
|
27556
27556
|
const writeValue = this.dataTypeService.formatToDecimal(this.model.version, result.value, this.model.dataType);
|
|
27557
27557
|
this.writeValue = writeValue;
|
|
27558
27558
|
this.showValue = result.showValue;
|
|
27559
|
-
if (
|
|
27559
|
+
if (+this.displayText !== +this.showValue) {
|
|
27560
27560
|
this.variableCommunicator.write(this.writeVariableName, writeValue).subscribe();
|
|
27561
|
-
|
|
27562
|
-
|
|
27563
|
-
|
|
27564
|
-
|
|
27565
|
-
|
|
27566
|
-
|
|
27561
|
+
if (this.numericalOperation) {
|
|
27562
|
+
this.writeValueMmodalRef.hide();
|
|
27563
|
+
}
|
|
27564
|
+
else {
|
|
27565
|
+
setTimeout(() => {
|
|
27566
|
+
if (+this.displayText !== +this.showValue) {
|
|
27567
|
+
this.writeValueMmodalRef.content.isSubmitting = false;
|
|
27568
|
+
this.writeValueMmodalRef.content.showValidationErrorInfo(this.localization.writeValueTimeout);
|
|
27569
|
+
}
|
|
27570
|
+
}, 10000);
|
|
27571
|
+
}
|
|
27567
27572
|
}
|
|
27568
27573
|
else {
|
|
27569
27574
|
this.writeValueMmodalRef.hide();
|