@progress/kendo-angular-dateinputs 18.1.0-develop.1 → 18.1.0-develop.10
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/calendar/header.component.d.ts +1 -1
- package/dateinput/dateinput.component.d.ts +1 -0
- package/esm2022/calendar/header.component.mjs +1 -1
- package/esm2022/dateinput/dateinput.component.mjs +13 -6
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/timepicker/timeselector.component.mjs +1 -1
- package/fesm2022/progress-kendo-angular-dateinputs.mjs +17 -10
- package/package.json +11 -11
- package/timepicker/timeselector.component.d.ts +1 -1
|
@@ -59,7 +59,7 @@ export declare class HeaderComponent implements OnChanges, OnInit, OnDestroy {
|
|
|
59
59
|
private subscriptions;
|
|
60
60
|
constructor(bus: BusViewService, cdr: ChangeDetectorRef, localization: LocalizationService, intl: IntlService, disabledDatesService: DisabledDatesService);
|
|
61
61
|
ngOnInit(): void;
|
|
62
|
-
ngOnChanges(
|
|
62
|
+
ngOnChanges(): void;
|
|
63
63
|
ngOnDestroy(): void;
|
|
64
64
|
handleTodayClick(): void;
|
|
65
65
|
handleNavigation(): void;
|
|
@@ -531,6 +531,7 @@ export declare class DateInputComponent implements OnInit, AfterViewInit, Contro
|
|
|
531
531
|
private onWidgetInputEnd;
|
|
532
532
|
private onWidgetFocus;
|
|
533
533
|
private onWidgetBlur;
|
|
534
|
+
private handleKeyDown;
|
|
534
535
|
private verifyRange;
|
|
535
536
|
private verifyValue;
|
|
536
537
|
private intlChange;
|
|
@@ -79,7 +79,7 @@ export class HeaderComponent {
|
|
|
79
79
|
this.subscriptions.add(this.localization.changes.subscribe(this.l10nChange.bind(this)));
|
|
80
80
|
this.subscriptions.add(this.disabledDatesService.changes.subscribe(this.setTodayAvailability.bind(this)));
|
|
81
81
|
}
|
|
82
|
-
ngOnChanges(
|
|
82
|
+
ngOnChanges() {
|
|
83
83
|
const service = this.bus.service(this.activeView);
|
|
84
84
|
if (!service) {
|
|
85
85
|
return;
|
|
@@ -698,6 +698,7 @@ export class DateInputComponent {
|
|
|
698
698
|
this.control = formControl;
|
|
699
699
|
this.subs.add(this.formControl?.statusChanges.subscribe(() => this.setAriaInvalid()));
|
|
700
700
|
this.setAriaInvalid();
|
|
701
|
+
this.subs.add(this.dateInput?.nativeElement.addEventListener('keydown', this.handleKeyDown, true));
|
|
701
702
|
}
|
|
702
703
|
ngOnDestroy() {
|
|
703
704
|
this.subs.unsubscribe();
|
|
@@ -859,28 +860,34 @@ export class DateInputComponent {
|
|
|
859
860
|
this.cdr.markForCheck();
|
|
860
861
|
}
|
|
861
862
|
}
|
|
862
|
-
onWidgetFocus(
|
|
863
|
+
onWidgetFocus(args) {
|
|
863
864
|
this.isActive = true;
|
|
864
865
|
if (hasObservers(this.onFocus)) {
|
|
865
866
|
this.ngZone.run(() => {
|
|
866
|
-
this.emitFocus(event);
|
|
867
|
+
this.emitFocus(args.event);
|
|
867
868
|
});
|
|
868
869
|
}
|
|
869
870
|
else {
|
|
870
|
-
this.emitFocus(event);
|
|
871
|
+
this.emitFocus(args.event);
|
|
871
872
|
}
|
|
872
873
|
}
|
|
873
|
-
onWidgetBlur(
|
|
874
|
+
onWidgetBlur(args) {
|
|
874
875
|
this.isActive = false;
|
|
875
876
|
if (hasObservers(this.onBlur) || requiresZoneOnBlur(this.ngControl)) {
|
|
876
877
|
this.ngZone.run(() => {
|
|
877
878
|
this.onControlTouched();
|
|
878
|
-
this.emitBlur(event);
|
|
879
|
+
this.emitBlur(args.event);
|
|
879
880
|
this.cdr.markForCheck();
|
|
880
881
|
});
|
|
881
882
|
}
|
|
882
883
|
else {
|
|
883
|
-
this.emitBlur(event);
|
|
884
|
+
this.emitBlur(args.event);
|
|
885
|
+
}
|
|
886
|
+
}
|
|
887
|
+
handleKeyDown(event) {
|
|
888
|
+
// an event without keyCode is triggered when using Edge's autofill -> ignore it in the common package
|
|
889
|
+
if (!isPresent(event.keyCode)) {
|
|
890
|
+
event.stopImmediatePropagation();
|
|
884
891
|
}
|
|
885
892
|
}
|
|
886
893
|
verifyRange() {
|
|
@@ -10,7 +10,7 @@ export const packageMetadata = {
|
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCode: 'KENDOUIANGULAR',
|
|
12
12
|
productCodes: ['KENDOUIANGULAR'],
|
|
13
|
-
publishDate:
|
|
14
|
-
version: '18.1.0-develop.
|
|
13
|
+
publishDate: 1738357255,
|
|
14
|
+
version: '18.1.0-develop.10',
|
|
15
15
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
16
16
|
};
|
|
@@ -36,8 +36,8 @@ const packageMetadata = {
|
|
|
36
36
|
productName: 'Kendo UI for Angular',
|
|
37
37
|
productCode: 'KENDOUIANGULAR',
|
|
38
38
|
productCodes: ['KENDOUIANGULAR'],
|
|
39
|
-
publishDate:
|
|
40
|
-
version: '18.1.0-develop.
|
|
39
|
+
publishDate: 1738357255,
|
|
40
|
+
version: '18.1.0-develop.10',
|
|
41
41
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
42
42
|
};
|
|
43
43
|
|
|
@@ -2648,7 +2648,7 @@ class HeaderComponent {
|
|
|
2648
2648
|
this.subscriptions.add(this.localization.changes.subscribe(this.l10nChange.bind(this)));
|
|
2649
2649
|
this.subscriptions.add(this.disabledDatesService.changes.subscribe(this.setTodayAvailability.bind(this)));
|
|
2650
2650
|
}
|
|
2651
|
-
ngOnChanges(
|
|
2651
|
+
ngOnChanges() {
|
|
2652
2652
|
const service = this.bus.service(this.activeView);
|
|
2653
2653
|
if (!service) {
|
|
2654
2654
|
return;
|
|
@@ -9128,6 +9128,7 @@ class DateInputComponent {
|
|
|
9128
9128
|
this.control = formControl;
|
|
9129
9129
|
this.subs.add(this.formControl?.statusChanges.subscribe(() => this.setAriaInvalid()));
|
|
9130
9130
|
this.setAriaInvalid();
|
|
9131
|
+
this.subs.add(this.dateInput?.nativeElement.addEventListener('keydown', this.handleKeyDown, true));
|
|
9131
9132
|
}
|
|
9132
9133
|
ngOnDestroy() {
|
|
9133
9134
|
this.subs.unsubscribe();
|
|
@@ -9289,28 +9290,34 @@ class DateInputComponent {
|
|
|
9289
9290
|
this.cdr.markForCheck();
|
|
9290
9291
|
}
|
|
9291
9292
|
}
|
|
9292
|
-
onWidgetFocus(
|
|
9293
|
+
onWidgetFocus(args) {
|
|
9293
9294
|
this.isActive = true;
|
|
9294
9295
|
if (hasObservers(this.onFocus)) {
|
|
9295
9296
|
this.ngZone.run(() => {
|
|
9296
|
-
this.emitFocus(event);
|
|
9297
|
+
this.emitFocus(args.event);
|
|
9297
9298
|
});
|
|
9298
9299
|
}
|
|
9299
9300
|
else {
|
|
9300
|
-
this.emitFocus(event);
|
|
9301
|
+
this.emitFocus(args.event);
|
|
9301
9302
|
}
|
|
9302
9303
|
}
|
|
9303
|
-
onWidgetBlur(
|
|
9304
|
+
onWidgetBlur(args) {
|
|
9304
9305
|
this.isActive = false;
|
|
9305
9306
|
if (hasObservers(this.onBlur) || requiresZoneOnBlur(this.ngControl)) {
|
|
9306
9307
|
this.ngZone.run(() => {
|
|
9307
9308
|
this.onControlTouched();
|
|
9308
|
-
this.emitBlur(event);
|
|
9309
|
+
this.emitBlur(args.event);
|
|
9309
9310
|
this.cdr.markForCheck();
|
|
9310
9311
|
});
|
|
9311
9312
|
}
|
|
9312
9313
|
else {
|
|
9313
|
-
this.emitBlur(event);
|
|
9314
|
+
this.emitBlur(args.event);
|
|
9315
|
+
}
|
|
9316
|
+
}
|
|
9317
|
+
handleKeyDown(event) {
|
|
9318
|
+
// an event without keyCode is triggered when using Edge's autofill -> ignore it in the common package
|
|
9319
|
+
if (!isPresent(event.keyCode)) {
|
|
9320
|
+
event.stopImmediatePropagation();
|
|
9314
9321
|
}
|
|
9315
9322
|
}
|
|
9316
9323
|
verifyRange() {
|
|
@@ -13049,7 +13056,7 @@ class TimeSelectorComponent {
|
|
|
13049
13056
|
/**
|
|
13050
13057
|
* @hidden
|
|
13051
13058
|
*/
|
|
13052
|
-
ngOnChanges(
|
|
13059
|
+
ngOnChanges() {
|
|
13053
13060
|
this.init();
|
|
13054
13061
|
}
|
|
13055
13062
|
ngOnDestroy() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-dateinputs",
|
|
3
|
-
"version": "18.1.0-develop.
|
|
3
|
+
"version": "18.1.0-develop.10",
|
|
4
4
|
"description": "Kendo UI for Angular Date Inputs Package - Everything you need to add date selection functionality to apps (DatePicker, TimePicker, DateInput, DateRangePicker, DateTimePicker, Calendar, and MultiViewCalendar).",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"package": {
|
|
30
30
|
"productName": "Kendo UI for Angular",
|
|
31
31
|
"productCode": "KENDOUIANGULAR",
|
|
32
|
-
"publishDate":
|
|
32
|
+
"publishDate": 1738357255,
|
|
33
33
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
34
34
|
}
|
|
35
35
|
},
|
|
@@ -40,19 +40,19 @@
|
|
|
40
40
|
"@angular/forms": "16 - 19",
|
|
41
41
|
"@angular/platform-browser": "16 - 19",
|
|
42
42
|
"@progress/kendo-licensing": "^1.0.2",
|
|
43
|
-
"@progress/kendo-angular-buttons": "18.1.0-develop.
|
|
44
|
-
"@progress/kendo-angular-common": "18.1.0-develop.
|
|
45
|
-
"@progress/kendo-angular-utils": "18.1.0-develop.
|
|
46
|
-
"@progress/kendo-angular-intl": "18.1.0-develop.
|
|
47
|
-
"@progress/kendo-angular-l10n": "18.1.0-develop.
|
|
48
|
-
"@progress/kendo-angular-icons": "18.1.0-develop.
|
|
49
|
-
"@progress/kendo-angular-popup": "18.1.0-develop.
|
|
50
|
-
"@progress/kendo-angular-navigation": "18.1.0-develop.
|
|
43
|
+
"@progress/kendo-angular-buttons": "18.1.0-develop.10",
|
|
44
|
+
"@progress/kendo-angular-common": "18.1.0-develop.10",
|
|
45
|
+
"@progress/kendo-angular-utils": "18.1.0-develop.10",
|
|
46
|
+
"@progress/kendo-angular-intl": "18.1.0-develop.10",
|
|
47
|
+
"@progress/kendo-angular-l10n": "18.1.0-develop.10",
|
|
48
|
+
"@progress/kendo-angular-icons": "18.1.0-develop.10",
|
|
49
|
+
"@progress/kendo-angular-popup": "18.1.0-develop.10",
|
|
50
|
+
"@progress/kendo-angular-navigation": "18.1.0-develop.10",
|
|
51
51
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"tslib": "^2.3.1",
|
|
55
|
-
"@progress/kendo-angular-schematics": "18.1.0-develop.
|
|
55
|
+
"@progress/kendo-angular-schematics": "18.1.0-develop.10",
|
|
56
56
|
"@progress/kendo-common": "^1.0.1",
|
|
57
57
|
"@progress/kendo-date-math": "^1.1.0",
|
|
58
58
|
"@progress/kendo-dateinputs-common": "^0.4.1"
|