@progress/kendo-angular-inputs 24.2.0-develop.9 → 24.2.0
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.
|
@@ -583,8 +583,8 @@ const packageMetadata = {
|
|
|
583
583
|
productName: 'Kendo UI for Angular',
|
|
584
584
|
productCode: 'KENDOUIANGULAR',
|
|
585
585
|
productCodes: ['KENDOUIANGULAR'],
|
|
586
|
-
publishDate:
|
|
587
|
-
version: '24.2.0
|
|
586
|
+
publishDate: 1782828884,
|
|
587
|
+
version: '24.2.0',
|
|
588
588
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
589
589
|
};
|
|
590
590
|
|
|
@@ -3717,7 +3717,7 @@ class SharedInputEventsDirective {
|
|
|
3717
3717
|
tabbing = false;
|
|
3718
3718
|
}
|
|
3719
3719
|
else {
|
|
3720
|
-
if (!cursorInsideWrapper && !this
|
|
3720
|
+
if (!cursorInsideWrapper && !this.clearButtonClicked) {
|
|
3721
3721
|
this.ngZone.run(() => {
|
|
3722
3722
|
this.isFocused = false;
|
|
3723
3723
|
this.isFocusedChange.emit(this.isFocused);
|
|
@@ -5850,6 +5850,7 @@ class MaskedTextBoxComponent {
|
|
|
5850
5850
|
_fillMode = undefined;
|
|
5851
5851
|
_inputAttributes;
|
|
5852
5852
|
parsedAttributes = {};
|
|
5853
|
+
pendingValueUpdate = false;
|
|
5853
5854
|
constructor(service, renderer, hostElement, ngZone, injector, changeDetector, rtl) {
|
|
5854
5855
|
this.service = service;
|
|
5855
5856
|
this.renderer = renderer;
|
|
@@ -6029,8 +6030,14 @@ class MaskedTextBoxComponent {
|
|
|
6029
6030
|
else {
|
|
6030
6031
|
result = this.service.maskInput(value, this.maskedValue || '', e.target.selectionStart);
|
|
6031
6032
|
}
|
|
6033
|
+
const maskedValueChanged = result.value !== this.maskedValue;
|
|
6032
6034
|
this.updateInput(result.value, result.selection);
|
|
6033
|
-
|
|
6035
|
+
if (maskedValueChanged) {
|
|
6036
|
+
this.updateValueWithEvents(result.value);
|
|
6037
|
+
}
|
|
6038
|
+
else {
|
|
6039
|
+
this.updateValue(result.value, true);
|
|
6040
|
+
}
|
|
6034
6041
|
}
|
|
6035
6042
|
/**
|
|
6036
6043
|
* @hidden
|
|
@@ -6048,7 +6055,12 @@ class MaskedTextBoxComponent {
|
|
|
6048
6055
|
const maskedValue = this.service.maskRaw(this.value);
|
|
6049
6056
|
this.updateInput(maskedValue, null, true);
|
|
6050
6057
|
if (changes['includeLiterals'] || isChanged('promptPlaceholder', changes)) {
|
|
6058
|
+
this.pendingValueUpdate = true;
|
|
6051
6059
|
resolvedPromise.then(() => {
|
|
6060
|
+
if (!this.pendingValueUpdate) {
|
|
6061
|
+
return;
|
|
6062
|
+
}
|
|
6063
|
+
this.pendingValueUpdate = false;
|
|
6052
6064
|
this.updateValueWithEvents(this.maskedValue, false);
|
|
6053
6065
|
});
|
|
6054
6066
|
}
|
|
@@ -6059,10 +6071,8 @@ class MaskedTextBoxComponent {
|
|
|
6059
6071
|
*/
|
|
6060
6072
|
writeValue(value) {
|
|
6061
6073
|
this.value = this.normalizeValue(value);
|
|
6074
|
+
this.pendingValueUpdate = false;
|
|
6062
6075
|
this.updateInput(this.service.maskRaw(this.value));
|
|
6063
|
-
if (this.includeLiterals) {
|
|
6064
|
-
this.updateValue(this.maskedValue, false);
|
|
6065
|
-
}
|
|
6066
6076
|
this.changeDetector.markForCheck();
|
|
6067
6077
|
}
|
|
6068
6078
|
/**
|
|
@@ -197,6 +197,7 @@ export declare class MaskedTextBoxComponent implements ControlValueAccessor, OnC
|
|
|
197
197
|
private _fillMode;
|
|
198
198
|
private _inputAttributes;
|
|
199
199
|
private parsedAttributes;
|
|
200
|
+
private pendingValueUpdate;
|
|
200
201
|
constructor(service: MaskingService, renderer: Renderer2, hostElement: ElementRef, ngZone: NgZone, injector: Injector, changeDetector: ChangeDetectorRef, rtl: boolean);
|
|
201
202
|
ngOnInit(): void;
|
|
202
203
|
ngAfterViewInit(): void;
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "24.2.0
|
|
10
|
+
"publishDate": 1782828884,
|
|
11
|
+
"version": "24.2.0",
|
|
12
12
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-inputs",
|
|
3
|
-
"version": "24.2.0
|
|
3
|
+
"version": "24.2.0",
|
|
4
4
|
"description": "Kendo UI for Angular Inputs Package - Everything you need to build professional form functionality (Checkbox, ColorGradient, ColorPalette, ColorPicker, FlatColorPicker, FormField, MaskedTextBox, NumericTextBox, RadioButton, RangeSlider, Slider, Switch, TextArea, and TextBox Components)",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"package": {
|
|
56
56
|
"productName": "Kendo UI for Angular",
|
|
57
57
|
"productCode": "KENDOUIANGULAR",
|
|
58
|
-
"publishDate":
|
|
58
|
+
"publishDate": 1782828884,
|
|
59
59
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
60
60
|
}
|
|
61
61
|
},
|
|
@@ -67,20 +67,20 @@
|
|
|
67
67
|
"@angular/platform-browser": "19 - 22",
|
|
68
68
|
"@progress/kendo-drawing": "^1.25.0",
|
|
69
69
|
"@progress/kendo-licensing": "^1.11.0",
|
|
70
|
-
"@progress/kendo-angular-buttons": "24.2.0
|
|
71
|
-
"@progress/kendo-angular-common": "24.2.0
|
|
72
|
-
"@progress/kendo-angular-utils": "24.2.0
|
|
73
|
-
"@progress/kendo-angular-navigation": "24.2.0
|
|
74
|
-
"@progress/kendo-angular-dialog": "24.2.0
|
|
75
|
-
"@progress/kendo-angular-intl": "24.2.0
|
|
76
|
-
"@progress/kendo-angular-l10n": "24.2.0
|
|
77
|
-
"@progress/kendo-angular-popup": "24.2.0
|
|
78
|
-
"@progress/kendo-angular-icons": "24.2.0
|
|
70
|
+
"@progress/kendo-angular-buttons": "24.2.0",
|
|
71
|
+
"@progress/kendo-angular-common": "24.2.0",
|
|
72
|
+
"@progress/kendo-angular-utils": "24.2.0",
|
|
73
|
+
"@progress/kendo-angular-navigation": "24.2.0",
|
|
74
|
+
"@progress/kendo-angular-dialog": "24.2.0",
|
|
75
|
+
"@progress/kendo-angular-intl": "24.2.0",
|
|
76
|
+
"@progress/kendo-angular-l10n": "24.2.0",
|
|
77
|
+
"@progress/kendo-angular-popup": "24.2.0",
|
|
78
|
+
"@progress/kendo-angular-icons": "24.2.0",
|
|
79
79
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
80
80
|
},
|
|
81
81
|
"dependencies": {
|
|
82
82
|
"tslib": "^2.3.1",
|
|
83
|
-
"@progress/kendo-angular-schematics": "24.2.0
|
|
83
|
+
"@progress/kendo-angular-schematics": "24.2.0",
|
|
84
84
|
"@progress/kendo-common": "^1.0.1",
|
|
85
85
|
"@progress/kendo-draggable": "^3.0.0",
|
|
86
86
|
"@progress/kendo-inputs-common": "^3.1.0"
|