@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.
@@ -193,14 +193,14 @@ export class NumericalDisplayElement extends ReadableElement {
193
193
  this.recordValue = result.value;
194
194
  const writeValue = this.dataTypeService.formatToDecimal(this.model.version, result.value, this.model.dataType);
195
195
  this.showValue = result.showValue;
196
- if (+this.displayText !== +this.showValue || result.variableRwType === variableRwTypeEnum.witer) {
196
+ if (this.displayText.toString().toUpperCase() !== this.showValue.toString().toUpperCase() || result.variableRwType === variableRwTypeEnum.witer) {
197
197
  if (this.numericalOperation || result.enableNumericalOperation || result.isNumericalOperation || result.variableRwType === variableRwTypeEnum.witer) {
198
198
  this.recordOperation(result.value);
199
199
  this.writeValueMmodalRef.hide();
200
200
  }
201
201
  else {
202
202
  this.restorationTimer = setTimeout(() => {
203
- if (this.displayText.toUpperCase() !== this.showValue.toUpperCase()) {
203
+ if (this.displayText.toString().toUpperCase() !== this.showValue.toString().toUpperCase()) {
204
204
  this.writeValueMmodalRef.content.isSubmitting = false;
205
205
  this.writeValueMmodalRef.content.showValidationErrorInfo(this.localization.writeValueTimeout);
206
206
  }
@@ -240,7 +240,7 @@ export class NumericalDisplayElement extends ReadableElement {
240
240
  updateVariableValue(value) {
241
241
  var _a;
242
242
  const displayText = this.formatNumericalDisplayText(this.model.dataType, this.model.fractionDigits, value);
243
- if (((_a = this.writeValueMmodalRef) === null || _a === void 0 ? void 0 : _a.content) && +displayText === +this.showValue) {
243
+ if (((_a = this.writeValueMmodalRef) === null || _a === void 0 ? void 0 : _a.content) && displayText.toString().toUpperCase() === this.showValue.toString().toUpperCase()) {
244
244
  if (this.restorationTimer) {
245
245
  clearTimeout(this.restorationTimer);
246
246
  this.restorationTimer = undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "main": "bundles/fc-gui.umd.js",
3
- "version": "3.0.0-alpha.83",
3
+ "version": "3.0.0-alpha.84",
4
4
  "module": "public_api.js",
5
5
  "typings": "public_api.d.ts",
6
6
  "license": "UNLICENSED",
@@ -197,7 +197,7 @@ let FBoxDataTypeService = class FBoxDataTypeService {
197
197
  minValue = Number.MIN_SAFE_INTEGER;
198
198
  break;
199
199
  case 26: // Double
200
- minValue = Number.MIN_VALUE;
200
+ minValue = -Number.MAX_VALUE;
201
201
  break;
202
202
  }
203
203
  if (integerDigits) {