@flexem/fc-gui 3.0.0-alpha.83 → 3.0.0-alpha.84
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 +4 -4
- 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 +3 -3
- package/package.json +1 -1
- package/utils/data-type/fbox-data-type.service.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -37160,14 +37160,14 @@ class numerical_display_element_NumericalDisplayElement extends readable_element
|
|
|
37160
37160
|
this.recordValue = result.value;
|
|
37161
37161
|
const writeValue = this.dataTypeService.formatToDecimal(this.model.version, result.value, this.model.dataType);
|
|
37162
37162
|
this.showValue = result.showValue;
|
|
37163
|
-
if (
|
|
37163
|
+
if (this.displayText.toString().toUpperCase() !== this.showValue.toString().toUpperCase() || result.variableRwType === variableRwTypeEnum.witer) {
|
|
37164
37164
|
if (this.numericalOperation || result.enableNumericalOperation || result.isNumericalOperation || result.variableRwType === variableRwTypeEnum.witer) {
|
|
37165
37165
|
this.recordOperation(result.value);
|
|
37166
37166
|
this.writeValueMmodalRef.hide();
|
|
37167
37167
|
}
|
|
37168
37168
|
else {
|
|
37169
37169
|
this.restorationTimer = setTimeout(() => {
|
|
37170
|
-
if (this.displayText.toUpperCase() !== this.showValue.toUpperCase()) {
|
|
37170
|
+
if (this.displayText.toString().toUpperCase() !== this.showValue.toString().toUpperCase()) {
|
|
37171
37171
|
this.writeValueMmodalRef.content.isSubmitting = false;
|
|
37172
37172
|
this.writeValueMmodalRef.content.showValidationErrorInfo(this.localization.writeValueTimeout);
|
|
37173
37173
|
}
|
|
@@ -37207,7 +37207,7 @@ class numerical_display_element_NumericalDisplayElement extends readable_element
|
|
|
37207
37207
|
updateVariableValue(value) {
|
|
37208
37208
|
var _a;
|
|
37209
37209
|
const displayText = this.formatNumericalDisplayText(this.model.dataType, this.model.fractionDigits, value);
|
|
37210
|
-
if (((_a = this.writeValueMmodalRef) === null || _a === void 0 ? void 0 : _a.content) &&
|
|
37210
|
+
if (((_a = this.writeValueMmodalRef) === null || _a === void 0 ? void 0 : _a.content) && displayText.toString().toUpperCase() === this.showValue.toString().toUpperCase()) {
|
|
37211
37211
|
if (this.restorationTimer) {
|
|
37212
37212
|
clearTimeout(this.restorationTimer);
|
|
37213
37213
|
this.restorationTimer = undefined;
|
|
@@ -62546,7 +62546,7 @@ let FBoxDataTypeService = class FBoxDataTypeService {
|
|
|
62546
62546
|
minValue = Number.MIN_SAFE_INTEGER;
|
|
62547
62547
|
break;
|
|
62548
62548
|
case 26: // Double
|
|
62549
|
-
minValue = Number.
|
|
62549
|
+
minValue = -Number.MAX_VALUE;
|
|
62550
62550
|
break;
|
|
62551
62551
|
}
|
|
62552
62552
|
if (integerDigits) {
|