@main-class/componentes 1.18.7 → 1.18.8
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/bundles/main-class-componentes.umd.js +2 -3
- package/bundles/main-class-componentes.umd.js.map +1 -1
- package/bundles/main-class-componentes.umd.min.js +1 -1
- package/bundles/main-class-componentes.umd.min.js.map +1 -1
- package/esm2015/misc/monetario/monetario-model.directive.js +2 -2
- package/esm2015/misc/porcentagem/porcentagem-model.directive.js +2 -3
- package/fesm2015/main-class-componentes.js +2 -3
- package/fesm2015/main-class-componentes.js.map +1 -1
- package/misc/monetario/monetario-model.directive.d.ts +2 -2
- package/misc/porcentagem/porcentagem-model.directive.d.ts +2 -2
- package/package.json +1 -1
|
@@ -4732,7 +4732,7 @@
|
|
|
4732
4732
|
var _this = this;
|
|
4733
4733
|
var value = this.value;
|
|
4734
4734
|
var displayValue = null;
|
|
4735
|
-
if (value
|
|
4735
|
+
if (value !== null && value !== undefined) {
|
|
4736
4736
|
displayValue = monetarioMask(value, this.$symbol, this.$thousandDivider, this.$fractionalDivider, this.$mascara);
|
|
4737
4737
|
value = this.processValue(displayValue);
|
|
4738
4738
|
}
|
|
@@ -4866,7 +4866,6 @@
|
|
|
4866
4866
|
this.symbol = '%';
|
|
4867
4867
|
this.thousandDivider = '.';
|
|
4868
4868
|
this.fractionalDivider = ',';
|
|
4869
|
-
this.value = null;
|
|
4870
4869
|
this.displayValue = null;
|
|
4871
4870
|
this.mclModelChange = new i0.EventEmitter();
|
|
4872
4871
|
}
|
|
@@ -4906,7 +4905,7 @@
|
|
|
4906
4905
|
var _this = this;
|
|
4907
4906
|
var value = this.value;
|
|
4908
4907
|
var displayValue = null;
|
|
4909
|
-
if (value
|
|
4908
|
+
if (value !== null && value !== undefined) {
|
|
4910
4909
|
displayValue = porcentagemMask(value, this.symbol, this.thousandDivider, this.fractionalDivider, this.mascara);
|
|
4911
4910
|
value = this.processValue(displayValue);
|
|
4912
4911
|
}
|