@progress/kendo-angular-dateinputs 25.1.0-develop.18 → 25.1.0-develop.19
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/fesm2022/progress-kendo-angular-dateinputs.mjs +29 -24
- package/index.d.ts +1 -0
- package/package-metadata.mjs +2 -2
- package/package.json +11 -11
|
@@ -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: '25.1.0-develop.
|
|
39
|
+
publishDate: 1787936928,
|
|
40
|
+
version: '25.1.0-develop.19',
|
|
41
41
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
42
42
|
};
|
|
43
43
|
|
|
@@ -17282,6 +17282,9 @@ class DateTimePickerComponent extends MultiTabStop {
|
|
|
17282
17282
|
return this.popupRef?.popup.instance.container.nativeElement.querySelector(TIME_TAB_BUTTON_SELECTOR);
|
|
17283
17283
|
}
|
|
17284
17284
|
}
|
|
17285
|
+
get activeTabButton() {
|
|
17286
|
+
return this.activeTab === 'date' ? this.dateTabButton : this.timeTabButton;
|
|
17287
|
+
}
|
|
17285
17288
|
get todayButton() {
|
|
17286
17289
|
if (this.isAdaptive) {
|
|
17287
17290
|
return this.actionSheet.element.nativeElement.querySelector(TODAY_BUTTON_SELECTOR);
|
|
@@ -17631,8 +17634,7 @@ class DateTimePickerComponent extends MultiTabStop {
|
|
|
17631
17634
|
if (event.key !== Keys.Tab) {
|
|
17632
17635
|
return;
|
|
17633
17636
|
}
|
|
17634
|
-
if (
|
|
17635
|
-
(!event.shiftKey && event.target === this.timeTabButton)) {
|
|
17637
|
+
if (event.target === this.dateTabButton || event.target === this.timeTabButton) {
|
|
17636
17638
|
this.handleTab(event);
|
|
17637
17639
|
}
|
|
17638
17640
|
}
|
|
@@ -17675,7 +17677,7 @@ class DateTimePickerComponent extends MultiTabStop {
|
|
|
17675
17677
|
this.cancelButtonElement.focus();
|
|
17676
17678
|
}
|
|
17677
17679
|
else {
|
|
17678
|
-
this.
|
|
17680
|
+
this.activeTabButton.focus();
|
|
17679
17681
|
}
|
|
17680
17682
|
}
|
|
17681
17683
|
/**
|
|
@@ -17787,7 +17789,7 @@ class DateTimePickerComponent extends MultiTabStop {
|
|
|
17787
17789
|
switch (event.target) {
|
|
17788
17790
|
case this.acceptButton:
|
|
17789
17791
|
if (!shiftKey) {
|
|
17790
|
-
this.cancelButton ? this.cancelButtonElement.focus() : this.
|
|
17792
|
+
this.cancelButton ? this.cancelButtonElement.focus() : this.activeTabButton.focus();
|
|
17791
17793
|
}
|
|
17792
17794
|
else {
|
|
17793
17795
|
if (this.activeTab === 'date') {
|
|
@@ -17800,7 +17802,7 @@ class DateTimePickerComponent extends MultiTabStop {
|
|
|
17800
17802
|
break;
|
|
17801
17803
|
case this.cancelButtonElement:
|
|
17802
17804
|
if (this.calendarValue) {
|
|
17803
|
-
shiftKey ? this.acceptButton.focus() : this.
|
|
17805
|
+
shiftKey ? this.acceptButton.focus() : this.activeTabButton.focus();
|
|
17804
17806
|
}
|
|
17805
17807
|
else {
|
|
17806
17808
|
if (shiftKey) {
|
|
@@ -17812,34 +17814,37 @@ class DateTimePickerComponent extends MultiTabStop {
|
|
|
17812
17814
|
}
|
|
17813
17815
|
}
|
|
17814
17816
|
else {
|
|
17815
|
-
this.
|
|
17817
|
+
this.activeTabButton.focus();
|
|
17816
17818
|
}
|
|
17817
17819
|
}
|
|
17818
17820
|
break;
|
|
17819
17821
|
case this.dateTabButton:
|
|
17820
|
-
|
|
17821
|
-
|
|
17822
|
-
|
|
17823
|
-
|
|
17824
|
-
|
|
17825
|
-
|
|
17826
|
-
|
|
17827
|
-
|
|
17822
|
+
case this.timeTabButton:
|
|
17823
|
+
if (shiftKey) {
|
|
17824
|
+
if (this.cancelButton) {
|
|
17825
|
+
this.cancelButtonElement.focus();
|
|
17826
|
+
}
|
|
17827
|
+
else if (this.calendarValue) {
|
|
17828
|
+
this.acceptButton.focus();
|
|
17829
|
+
}
|
|
17830
|
+
else if (this.activeTab === 'date') {
|
|
17828
17831
|
this.calendar.monthView.list.nativeElement.focus();
|
|
17829
17832
|
}
|
|
17830
17833
|
else {
|
|
17831
17834
|
this.timeSelector.timeLists.last.focus();
|
|
17832
17835
|
}
|
|
17833
17836
|
}
|
|
17834
|
-
break;
|
|
17835
|
-
case this.timeTabButton:
|
|
17836
|
-
if (this.activeTab === 'time') {
|
|
17837
|
-
this.timeSelector.showNowButton ?
|
|
17838
|
-
this.timeSelector.now.nativeElement.focus() :
|
|
17839
|
-
this.timeSelector.timeLists.first.focus();
|
|
17840
|
-
}
|
|
17841
17837
|
else {
|
|
17842
|
-
this.
|
|
17838
|
+
if (this.activeTab === 'time') {
|
|
17839
|
+
this.timeSelector.showNowButton ?
|
|
17840
|
+
this.timeSelector.now.nativeElement.focus() :
|
|
17841
|
+
this.timeSelector.timeLists.first.focus();
|
|
17842
|
+
}
|
|
17843
|
+
else {
|
|
17844
|
+
(!this.todayButton || this.todayButton.disabled) ?
|
|
17845
|
+
this.calendar.monthView.list.nativeElement.focus() :
|
|
17846
|
+
this.todayButton.focus();
|
|
17847
|
+
}
|
|
17843
17848
|
}
|
|
17844
17849
|
break;
|
|
17845
17850
|
default:
|
package/index.d.ts
CHANGED
|
@@ -5206,6 +5206,7 @@ declare class DateTimePickerComponent extends MultiTabStop implements OnInit, On
|
|
|
5206
5206
|
private get cancelButtonElement();
|
|
5207
5207
|
private get dateTabButton();
|
|
5208
5208
|
private get timeTabButton();
|
|
5209
|
+
private get activeTabButton();
|
|
5209
5210
|
private get todayButton();
|
|
5210
5211
|
private get popupClasses();
|
|
5211
5212
|
/**
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "25.1.0-develop.
|
|
10
|
+
"publishDate": 1787936928,
|
|
11
|
+
"version": "25.1.0-develop.19",
|
|
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-dateinputs",
|
|
3
|
-
"version": "25.1.0-develop.
|
|
3
|
+
"version": "25.1.0-develop.19",
|
|
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",
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
"package": {
|
|
115
115
|
"productName": "Kendo UI for Angular",
|
|
116
116
|
"productCode": "KENDOUIANGULAR",
|
|
117
|
-
"publishDate":
|
|
117
|
+
"publishDate": 1787936928,
|
|
118
118
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
119
119
|
}
|
|
120
120
|
},
|
|
@@ -125,19 +125,19 @@
|
|
|
125
125
|
"@angular/forms": "20 - 22",
|
|
126
126
|
"@angular/platform-browser": "20 - 22",
|
|
127
127
|
"@progress/kendo-licensing": "^1.11.0",
|
|
128
|
-
"@progress/kendo-angular-buttons": "25.1.0-develop.
|
|
129
|
-
"@progress/kendo-angular-common": "25.1.0-develop.
|
|
130
|
-
"@progress/kendo-angular-utils": "25.1.0-develop.
|
|
131
|
-
"@progress/kendo-angular-intl": "25.1.0-develop.
|
|
132
|
-
"@progress/kendo-angular-l10n": "25.1.0-develop.
|
|
133
|
-
"@progress/kendo-angular-icons": "25.1.0-develop.
|
|
134
|
-
"@progress/kendo-angular-popup": "25.1.0-develop.
|
|
135
|
-
"@progress/kendo-angular-navigation": "25.1.0-develop.
|
|
128
|
+
"@progress/kendo-angular-buttons": "25.1.0-develop.19",
|
|
129
|
+
"@progress/kendo-angular-common": "25.1.0-develop.19",
|
|
130
|
+
"@progress/kendo-angular-utils": "25.1.0-develop.19",
|
|
131
|
+
"@progress/kendo-angular-intl": "25.1.0-develop.19",
|
|
132
|
+
"@progress/kendo-angular-l10n": "25.1.0-develop.19",
|
|
133
|
+
"@progress/kendo-angular-icons": "25.1.0-develop.19",
|
|
134
|
+
"@progress/kendo-angular-popup": "25.1.0-develop.19",
|
|
135
|
+
"@progress/kendo-angular-navigation": "25.1.0-develop.19",
|
|
136
136
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
137
137
|
},
|
|
138
138
|
"dependencies": {
|
|
139
139
|
"tslib": "^2.3.1",
|
|
140
|
-
"@progress/kendo-angular-schematics": "25.1.0-develop.
|
|
140
|
+
"@progress/kendo-angular-schematics": "25.1.0-develop.19",
|
|
141
141
|
"@progress/kendo-common": "^1.0.1",
|
|
142
142
|
"@progress/kendo-date-math": "^1.1.0",
|
|
143
143
|
"@progress/kendo-dateinputs-common": "^0.4.11"
|