ng-inail-common 1.0.440 → 1.0.441
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/ng-inail-common.umd.js +6 -3
- package/bundles/ng-inail-common.umd.js.map +1 -1
- package/bundles/ng-inail-common.umd.min.js +1 -1
- package/bundles/ng-inail-common.umd.min.js.map +1 -1
- package/esm2015/lib/components/ux/input-money/input-money.component.js +7 -4
- package/esm5/lib/components/ux/input-money/input-money.component.js +7 -4
- package/fesm2015/ng-inail-common.js +6 -3
- package/fesm2015/ng-inail-common.js.map +1 -1
- package/fesm5/ng-inail-common.js +6 -3
- package/fesm5/ng-inail-common.js.map +1 -1
- package/package.json +1 -1
|
@@ -10125,9 +10125,12 @@
|
|
|
10125
10125
|
if (this.numberValue != undefined) {
|
|
10126
10126
|
/** @type {?} */
|
|
10127
10127
|
var nextInputValue = void 0;
|
|
10128
|
-
// Eseguito
|
|
10129
|
-
if (this.hasFocus()
|
|
10130
|
-
|
|
10128
|
+
// Eseguito quando il focus e' sull'elemento
|
|
10129
|
+
if (this.hasFocus()) {
|
|
10130
|
+
// focusIn serve per distinguere se si sta eseguendo il metodo durante la digitazione
|
|
10131
|
+
// oppure quando l'elemento prende il focus
|
|
10132
|
+
// (trick introdotto per visualizzare correttamente il valore in maschera)
|
|
10133
|
+
nextInputValue = ("" + (focusIn ? this.numberValue : this.inputValue)).replace(DOT_REGEX, ',');
|
|
10131
10134
|
}
|
|
10132
10135
|
else {
|
|
10133
10136
|
if (this.numberValue === 0 && this.zeroVisibleValue != undefined) {
|