info-library 2.10.61 → 2.10.63

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.
@@ -5148,8 +5148,8 @@
5148
5148
  this.tabindex = 0;
5149
5149
  this.iconPrefix = '';
5150
5150
  this.iconSuffix = '';
5151
- this.min = null;
5152
- this.max = null;
5151
+ this.min = -99999999999999.999999999;
5152
+ this.max = 99999999999999.999999999;
5153
5153
  this.step = null;
5154
5154
  this.onblur = new i0.EventEmitter();
5155
5155
  this.maskOptions = {
@@ -5202,16 +5202,15 @@
5202
5202
  * @return {?}
5203
5203
  */
5204
5204
  InfoInputComponent.prototype.onBlur = function () {
5205
- if (this.onblur != null) {
5206
- if (this.type == 'number') {
5207
- if (this.min != null)
5208
- this.value = this.min > Number(this.value) ? null : this.value;
5209
- if (this.max != null)
5210
- this.value = this.max < Number(this.value) ? null : this.value;
5211
- this.onChangeValue();
5212
- }
5213
- this.onblur.emit(this.value);
5205
+ if (this.type == 'number' || (this.ismask != null && this.ismask.startsWith("n"))) {
5206
+ if (this.min != null)
5207
+ this.value = this.min > Number(this.value) ? null : this.value;
5208
+ if (this.max != null)
5209
+ this.value = this.max < Number(this.value) ? null : this.value;
5210
+ this.onChangeValue();
5214
5211
  }
5212
+ if (this.onblur != null)
5213
+ this.onblur.emit(this.value);
5215
5214
  };
5216
5215
  /**
5217
5216
  * @return {?}