@progress/kendo-angular-dateinputs 21.2.0-develop.9 → 21.3.0-develop.1
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/esm2022/calendar/calendar.component.mjs +2 -2
- package/esm2022/calendar/multiview-calendar.component.mjs +2 -2
- package/esm2022/calendar/services/navigation.service.mjs +2 -2
- package/esm2022/common/utils.mjs +2 -2
- package/esm2022/datepicker/datepicker.component.mjs +2 -2
- package/esm2022/daterange/date-range-input.mjs +2 -2
- package/esm2022/daterange/date-range-popup.component.mjs +2 -2
- package/esm2022/daterange/date-range.component.mjs +2 -2
- package/esm2022/datetimepicker/datetimepicker.component.mjs +2 -2
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/timepicker/timelist.component.mjs +2 -2
- package/esm2022/timepicker/timepicker.component.mjs +2 -2
- package/esm2022/timepicker/timeselector.component.mjs +2 -2
- package/fesm2022/progress-kendo-angular-dateinputs.mjs +15 -15
- package/package.json +11 -11
|
@@ -6,7 +6,7 @@ import { Component, ChangeDetectorRef, ChangeDetectionStrategy, ContentChild, Ev
|
|
|
6
6
|
import { NG_VALUE_ACCESSOR, NG_VALIDATORS, NgControl } from '@angular/forms';
|
|
7
7
|
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { cloneDate, isEqual } from '@progress/kendo-date-math';
|
|
9
|
-
import { hasObservers, KendoInput, guid, Keys, isObject, ResizeSensorComponent,
|
|
9
|
+
import { hasObservers, KendoInput, guid, Keys, isObject, ResizeSensorComponent, normalizeKeys } from '@progress/kendo-angular-common';
|
|
10
10
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
11
11
|
import { packageMetadata } from '../package-metadata';
|
|
12
12
|
import { MultiViewCalendarComponent } from './multiview-calendar.component';
|
|
@@ -1128,7 +1128,7 @@ export class CalendarComponent {
|
|
|
1128
1128
|
if (this.type === 'infinite') {
|
|
1129
1129
|
// reserve the alt + arrow key commands for the picker
|
|
1130
1130
|
const ctrlKey = args.ctrlKey || args.metaKey;
|
|
1131
|
-
const code =
|
|
1131
|
+
const code = normalizeKeys(args);
|
|
1132
1132
|
const arrowKeyPressed = [Keys.ArrowUp, Keys.ArrowRight, Keys.ArrowDown, Keys.ArrowLeft].indexOf(code) !== -1;
|
|
1133
1133
|
const reserveKeyCommandsForPicker = isPresent(this.pickerService) && arrowKeyPressed && args.altKey;
|
|
1134
1134
|
if (reserveKeyCommandsForPicker) {
|
|
@@ -6,7 +6,7 @@ import { Component, ChangeDetectorRef, ChangeDetectionStrategy, ContentChild, Ev
|
|
|
6
6
|
import { NG_VALUE_ACCESSOR, NG_VALIDATORS } from '@angular/forms';
|
|
7
7
|
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { cloneDate, isEqual } from '@progress/kendo-date-math';
|
|
9
|
-
import { hasObservers, guid, Keys, isObject,
|
|
9
|
+
import { hasObservers, guid, Keys, isObject, normalizeKeys } from '@progress/kendo-angular-common';
|
|
10
10
|
import { HorizontalViewListComponent } from './horizontal-view-list.component';
|
|
11
11
|
import { HeaderComponent } from './header.component';
|
|
12
12
|
import { BusViewService } from './services/bus-view.service';
|
|
@@ -692,7 +692,7 @@ export class MultiViewCalendarComponent {
|
|
|
692
692
|
* @hidden
|
|
693
693
|
*/
|
|
694
694
|
keydown(event) {
|
|
695
|
-
const code =
|
|
695
|
+
const code = normalizeKeys(event);
|
|
696
696
|
const arrowUpOrDownKeyPressed = [Keys.ArrowUp, Keys.ArrowDown].indexOf(code) !== -1;
|
|
697
697
|
const ctrlKey = event.ctrlKey || event.metaKey;
|
|
698
698
|
const onArrowRightAndControl = code === Keys.ArrowRight && ctrlKey;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { Injectable } from '@angular/core';
|
|
6
6
|
import { Action } from '../models/navigation-action.enum';
|
|
7
7
|
import { BusViewService } from '../services/bus-view.service';
|
|
8
|
-
import {
|
|
8
|
+
import { normalizeKeys } from '@progress/kendo-angular-common';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
import * as i1 from "../services/bus-view.service";
|
|
11
11
|
const KEY_TO_ACTION = {
|
|
@@ -30,7 +30,7 @@ export class NavigationService {
|
|
|
30
30
|
}
|
|
31
31
|
action(event) {
|
|
32
32
|
// on some keyboards arrow keys, PageUp/Down, and Home/End are mapped to Numpad keys
|
|
33
|
-
const code =
|
|
33
|
+
const code = normalizeKeys(event);
|
|
34
34
|
const action = `${event.ctrlKey || event.metaKey ? 'meta+' : ''}${code}`;
|
|
35
35
|
return KEY_TO_ACTION[action];
|
|
36
36
|
}
|
package/esm2022/common/utils.mjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Keys,
|
|
5
|
+
import { Keys, normalizeKeys } from "@progress/kendo-angular-common";
|
|
6
6
|
/**
|
|
7
7
|
* @hidden
|
|
8
8
|
*/
|
|
@@ -46,7 +46,7 @@ export const isDateArray = (value) => Array.isArray(value) && value.length > 0 &
|
|
|
46
46
|
* @hidden
|
|
47
47
|
*/
|
|
48
48
|
export const isArrowWithShiftPressed = (args) => {
|
|
49
|
-
const code =
|
|
49
|
+
const code = normalizeKeys(args);
|
|
50
50
|
return args.shiftKey && (code === Keys.ArrowRight || code === Keys.ArrowLeft || code === Keys.ArrowDown || code === Keys.ArrowUp);
|
|
51
51
|
};
|
|
52
52
|
/**
|
|
@@ -7,7 +7,7 @@ import { NG_VALUE_ACCESSOR, NG_VALIDATORS, NgControl } from '@angular/forms';
|
|
|
7
7
|
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { PopupService } from '@progress/kendo-angular-popup';
|
|
9
9
|
import { cloneDate } from '@progress/kendo-date-math';
|
|
10
|
-
import { hasObservers, isControlRequired, KendoInput, Keys, MultiTabStop, ResizeSensorComponent, EventsOutsideAngularDirective,
|
|
10
|
+
import { hasObservers, isControlRequired, KendoInput, Keys, MultiTabStop, ResizeSensorComponent, EventsOutsideAngularDirective, normalizeKeys } from '@progress/kendo-angular-common';
|
|
11
11
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
12
12
|
import { packageMetadata } from '../package-metadata';
|
|
13
13
|
import { MIN_DATE, MAX_DATE } from '../defaults';
|
|
@@ -927,7 +927,7 @@ export class DatePickerComponent extends MultiTabStop {
|
|
|
927
927
|
*/
|
|
928
928
|
handleKeydown(e) {
|
|
929
929
|
const { altKey, shiftKey, target } = e;
|
|
930
|
-
const code =
|
|
930
|
+
const code = normalizeKeys(e);
|
|
931
931
|
if (code === Keys.Escape) {
|
|
932
932
|
this.dateInput.focus();
|
|
933
933
|
this.show = false;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ElementRef, Renderer2, NgZone, Directive } from '@angular/core';
|
|
6
6
|
import { cloneDate } from '@progress/kendo-date-math';
|
|
7
|
-
import { Keys,
|
|
7
|
+
import { Keys, normalizeKeys } from '@progress/kendo-angular-common';
|
|
8
8
|
import { Subscription, fromEvent } from 'rxjs';
|
|
9
9
|
import { DateInputComponent } from '../dateinput/dateinput.component';
|
|
10
10
|
import { DateRangeService } from './date-range.service';
|
|
@@ -108,7 +108,7 @@ export class DateRangeInput {
|
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
togglePopup(e) {
|
|
111
|
-
const code =
|
|
111
|
+
const code = normalizeKeys(e);
|
|
112
112
|
const altKey = e.altKey;
|
|
113
113
|
if (code === Keys.Escape) {
|
|
114
114
|
this.dateRangeService.cancelPopup();
|
|
@@ -9,7 +9,7 @@ import { DateRangePopupTemplateDirective } from './date-range-popup-template.dir
|
|
|
9
9
|
import { DateRangeService } from './date-range.service';
|
|
10
10
|
import { MultiViewCalendarComponent } from '../calendar/multiview-calendar.component';
|
|
11
11
|
import { PreventableEvent } from '../preventable-event';
|
|
12
|
-
import { isDocumentAvailable, guid, Keys, hasObservers, ResizeSensorComponent,
|
|
12
|
+
import { isDocumentAvailable, guid, Keys, hasObservers, ResizeSensorComponent, normalizeKeys } from '@progress/kendo-angular-common';
|
|
13
13
|
import { AdaptiveService } from '@progress/kendo-angular-utils';
|
|
14
14
|
import { Subscription, fromEvent, merge } from 'rxjs';
|
|
15
15
|
import { filter, map } from 'rxjs/operators';
|
|
@@ -547,7 +547,7 @@ export class DateRangePopupComponent {
|
|
|
547
547
|
}
|
|
548
548
|
handleKeydown(event) {
|
|
549
549
|
const { altKey } = event;
|
|
550
|
-
const code =
|
|
550
|
+
const code = normalizeKeys(event);
|
|
551
551
|
if (code === Keys.Escape || (altKey && code === Keys.ArrowUp)) {
|
|
552
552
|
this.zone.run(() => this.cancelPopup());
|
|
553
553
|
}
|
|
@@ -7,7 +7,7 @@ import { validatePackage } from '@progress/kendo-licensing';
|
|
|
7
7
|
import { packageMetadata } from '../package-metadata';
|
|
8
8
|
import { DateRangePopupComponent } from './date-range-popup.component';
|
|
9
9
|
import { DateRangeService } from './date-range.service';
|
|
10
|
-
import { Keys,
|
|
10
|
+
import { Keys, normalizeKeys } from '@progress/kendo-angular-common';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
import * as i1 from "./date-range.service";
|
|
13
13
|
/**
|
|
@@ -47,7 +47,7 @@ export class DateRangeComponent {
|
|
|
47
47
|
* @hidden
|
|
48
48
|
*/
|
|
49
49
|
keydown(event) {
|
|
50
|
-
const code =
|
|
50
|
+
const code = normalizeKeys(event);
|
|
51
51
|
const shouldOpenPopup = code === Keys.ArrowDown && event.altKey;
|
|
52
52
|
if (shouldOpenPopup) {
|
|
53
53
|
this.dateRangeService.activatePopup();
|
|
@@ -9,7 +9,7 @@ import { tap } from 'rxjs/operators';
|
|
|
9
9
|
import { cloneDate, isEqual, getDate } from '@progress/kendo-date-math';
|
|
10
10
|
import { PopupService } from '@progress/kendo-angular-popup';
|
|
11
11
|
import { IntlService } from '@progress/kendo-angular-intl';
|
|
12
|
-
import { hasObservers, isControlRequired, KendoInput, Keys, MultiTabStop, ResizeSensorComponent, EventsOutsideAngularDirective,
|
|
12
|
+
import { hasObservers, isControlRequired, KendoInput, Keys, MultiTabStop, ResizeSensorComponent, EventsOutsideAngularDirective, normalizeKeys } from '@progress/kendo-angular-common';
|
|
13
13
|
import { AdaptiveService } from '@progress/kendo-angular-utils';
|
|
14
14
|
import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
15
15
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
@@ -1118,7 +1118,7 @@ export class DateTimePickerComponent extends MultiTabStop {
|
|
|
1118
1118
|
return;
|
|
1119
1119
|
}
|
|
1120
1120
|
const { altKey } = event;
|
|
1121
|
-
const code =
|
|
1121
|
+
const code = normalizeKeys(event);
|
|
1122
1122
|
switch (code) {
|
|
1123
1123
|
case altKey && Keys.ArrowUp:
|
|
1124
1124
|
case Keys.Escape:
|
|
@@ -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: '21.
|
|
13
|
+
publishDate: 1764778703,
|
|
14
|
+
version: '21.3.0-develop.1',
|
|
15
15
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
16
16
|
};
|
|
@@ -17,7 +17,7 @@ import { MillisecondsService } from './services/milliseconds.service';
|
|
|
17
17
|
import { DayPeriodService } from './services/dayperiod.service';
|
|
18
18
|
import { closestInScope } from '../common/dom-queries';
|
|
19
19
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
20
|
-
import { Keys, EventsOutsideAngularDirective,
|
|
20
|
+
import { Keys, EventsOutsideAngularDirective, normalizeKeys } from '@progress/kendo-angular-common';
|
|
21
21
|
import { NgStyle } from '@angular/common';
|
|
22
22
|
import * as i0 from "@angular/core";
|
|
23
23
|
import * as i1 from "./services/dom.service";
|
|
@@ -252,7 +252,7 @@ export class TimeListComponent {
|
|
|
252
252
|
return oldData && newData && oldData.text !== newData.text;
|
|
253
253
|
}
|
|
254
254
|
handleKeyDown(e) {
|
|
255
|
-
const code =
|
|
255
|
+
const code = normalizeKeys(e);
|
|
256
256
|
if (code === Keys.Tab && !e.shiftKey && this.isLast) {
|
|
257
257
|
e.preventDefault();
|
|
258
258
|
this.tabOutLastPart.emit();
|
|
@@ -7,7 +7,7 @@ import { NG_VALUE_ACCESSOR, NG_VALIDATORS, NgControl } from '@angular/forms';
|
|
|
7
7
|
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { PopupService } from '@progress/kendo-angular-popup';
|
|
9
9
|
import { cloneDate, isEqual } from '@progress/kendo-date-math';
|
|
10
|
-
import { hasObservers, isControlRequired, KendoInput, Keys, MultiTabStop, ResizeSensorComponent, EventsOutsideAngularDirective,
|
|
10
|
+
import { hasObservers, isControlRequired, KendoInput, Keys, MultiTabStop, ResizeSensorComponent, EventsOutsideAngularDirective, normalizeKeys } from '@progress/kendo-angular-common';
|
|
11
11
|
import { AdaptiveService } from '@progress/kendo-angular-utils';
|
|
12
12
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
13
13
|
import { packageMetadata } from '../package-metadata';
|
|
@@ -552,7 +552,7 @@ export class TimePickerComponent extends MultiTabStop {
|
|
|
552
552
|
*/
|
|
553
553
|
handleKeydown(event) {
|
|
554
554
|
const { altKey } = event;
|
|
555
|
-
const code =
|
|
555
|
+
const code = normalizeKeys(event);
|
|
556
556
|
if (code === Keys.Escape) {
|
|
557
557
|
this.focusInput();
|
|
558
558
|
this.show = false;
|
|
@@ -6,7 +6,7 @@ import { Component, ChangeDetectorRef, ChangeDetectionStrategy, ElementRef, Even
|
|
|
6
6
|
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
7
|
import { IntlService } from '@progress/kendo-angular-intl';
|
|
8
8
|
import { cloneDate, getDate } from '@progress/kendo-date-math';
|
|
9
|
-
import { Keys, EventsOutsideAngularDirective,
|
|
9
|
+
import { Keys, EventsOutsideAngularDirective, normalizeKeys } from '@progress/kendo-angular-common';
|
|
10
10
|
import { MIDNIGHT_DATE, MIN_TIME, MAX_TIME } from '../defaults';
|
|
11
11
|
import { TimeListComponent } from './timelist.component';
|
|
12
12
|
import { TimePickerDOMService } from './services/dom.service';
|
|
@@ -377,7 +377,7 @@ export class TimeSelectorComponent {
|
|
|
377
377
|
}
|
|
378
378
|
handleKeydown(args) {
|
|
379
379
|
const { altKey } = args;
|
|
380
|
-
const code =
|
|
380
|
+
const code = normalizeKeys(args);
|
|
381
381
|
// reserve the alt + arrow key commands for the picker
|
|
382
382
|
const arrowKeyPressed = [Keys.ArrowLeft, Keys.ArrowRight].indexOf(code) !== -1;
|
|
383
383
|
if (isPresent(this.pickerService) && arrowKeyPressed && altKey) {
|
|
@@ -9,7 +9,7 @@ import * as i1$1 from '@progress/kendo-angular-l10n';
|
|
|
9
9
|
import { ComponentMessages, LocalizationService, L10N_PREFIX, RTL } from '@progress/kendo-angular-l10n';
|
|
10
10
|
import { cloneDate, MS_PER_HOUR, MS_PER_MINUTE, addDays, getDate, isEqual, addDecades, addCenturies, firstDecadeOfCentury, lastDecadeOfCentury, lastYearOfDecade, firstYearOfDecade, createDate, lastMonthOfYear, lastDayOfMonth, durationInCenturies, addYears, durationInDecades, addWeeks, addMonths, firstDayOfMonth, dayOfWeek, durationInMonths, firstMonthOfYear, durationInYears, weekInYear } from '@progress/kendo-date-math';
|
|
11
11
|
import * as i19 from '@progress/kendo-angular-common';
|
|
12
|
-
import {
|
|
12
|
+
import { normalizeKeys, Keys, isDocumentAvailable, EventsOutsideAngularDirective, guid, hasObservers, isObject, KendoInput, ResizeSensorComponent, isObjectPresent, removeHTMLAttributes, parseAttributes, anyChanged, isControlRequired, setHTMLAttributes, MultiTabStop, ToggleButtonTabStopDirective, ResizeBatchService, KENDO_TOGGLEBUTTONTABSTOP } from '@progress/kendo-angular-common';
|
|
13
13
|
export { ToggleButtonTabStopDirective } from '@progress/kendo-angular-common';
|
|
14
14
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
15
15
|
import * as i1 from '@progress/kendo-angular-intl';
|
|
@@ -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: '21.
|
|
39
|
+
publishDate: 1764778703,
|
|
40
|
+
version: '21.3.0-develop.1',
|
|
41
41
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
42
42
|
};
|
|
43
43
|
|
|
@@ -129,7 +129,7 @@ const isDateArray = (value) => Array.isArray(value) && value.length > 0 && value
|
|
|
129
129
|
* @hidden
|
|
130
130
|
*/
|
|
131
131
|
const isArrowWithShiftPressed = (args) => {
|
|
132
|
-
const code =
|
|
132
|
+
const code = normalizeKeys(args);
|
|
133
133
|
return args.shiftKey && (code === Keys.ArrowRight || code === Keys.ArrowLeft || code === Keys.ArrowDown || code === Keys.ArrowUp);
|
|
134
134
|
};
|
|
135
135
|
/**
|
|
@@ -3411,7 +3411,7 @@ class NavigationService {
|
|
|
3411
3411
|
}
|
|
3412
3412
|
action(event) {
|
|
3413
3413
|
// on some keyboards arrow keys, PageUp/Down, and Home/End are mapped to Numpad keys
|
|
3414
|
-
const code =
|
|
3414
|
+
const code = normalizeKeys(event);
|
|
3415
3415
|
const action = `${event.ctrlKey || event.metaKey ? 'meta+' : ''}${code}`;
|
|
3416
3416
|
return KEY_TO_ACTION[action];
|
|
3417
3417
|
}
|
|
@@ -4311,7 +4311,7 @@ class MultiViewCalendarComponent {
|
|
|
4311
4311
|
* @hidden
|
|
4312
4312
|
*/
|
|
4313
4313
|
keydown(event) {
|
|
4314
|
-
const code =
|
|
4314
|
+
const code = normalizeKeys(event);
|
|
4315
4315
|
const arrowUpOrDownKeyPressed = [Keys.ArrowUp, Keys.ArrowDown].indexOf(code) !== -1;
|
|
4316
4316
|
const ctrlKey = event.ctrlKey || event.metaKey;
|
|
4317
4317
|
const onArrowRightAndControl = code === Keys.ArrowRight && ctrlKey;
|
|
@@ -7875,7 +7875,7 @@ class CalendarComponent {
|
|
|
7875
7875
|
if (this.type === 'infinite') {
|
|
7876
7876
|
// reserve the alt + arrow key commands for the picker
|
|
7877
7877
|
const ctrlKey = args.ctrlKey || args.metaKey;
|
|
7878
|
-
const code =
|
|
7878
|
+
const code = normalizeKeys(args);
|
|
7879
7879
|
const arrowKeyPressed = [Keys.ArrowUp, Keys.ArrowRight, Keys.ArrowDown, Keys.ArrowLeft].indexOf(code) !== -1;
|
|
7880
7880
|
const reserveKeyCommandsForPicker = isPresent(this.pickerService) && arrowKeyPressed && args.altKey;
|
|
7881
7881
|
if (reserveKeyCommandsForPicker) {
|
|
@@ -10811,7 +10811,7 @@ class DatePickerComponent extends MultiTabStop {
|
|
|
10811
10811
|
*/
|
|
10812
10812
|
handleKeydown(e) {
|
|
10813
10813
|
const { altKey, shiftKey, target } = e;
|
|
10814
|
-
const code =
|
|
10814
|
+
const code = normalizeKeys(e);
|
|
10815
10815
|
if (code === Keys.Escape) {
|
|
10816
10816
|
this.dateInput.focus();
|
|
10817
10817
|
this.show = false;
|
|
@@ -12595,7 +12595,7 @@ class TimeListComponent {
|
|
|
12595
12595
|
return oldData && newData && oldData.text !== newData.text;
|
|
12596
12596
|
}
|
|
12597
12597
|
handleKeyDown(e) {
|
|
12598
|
-
const code =
|
|
12598
|
+
const code = normalizeKeys(e);
|
|
12599
12599
|
if (code === Keys.Tab && !e.shiftKey && this.isLast) {
|
|
12600
12600
|
e.preventDefault();
|
|
12601
12601
|
this.tabOutLastPart.emit();
|
|
@@ -13281,7 +13281,7 @@ class TimeSelectorComponent {
|
|
|
13281
13281
|
}
|
|
13282
13282
|
handleKeydown(args) {
|
|
13283
13283
|
const { altKey } = args;
|
|
13284
|
-
const code =
|
|
13284
|
+
const code = normalizeKeys(args);
|
|
13285
13285
|
// reserve the alt + arrow key commands for the picker
|
|
13286
13286
|
const arrowKeyPressed = [Keys.ArrowLeft, Keys.ArrowRight].indexOf(code) !== -1;
|
|
13287
13287
|
if (isPresent(this.pickerService) && arrowKeyPressed && altKey) {
|
|
@@ -14230,7 +14230,7 @@ class TimePickerComponent extends MultiTabStop {
|
|
|
14230
14230
|
*/
|
|
14231
14231
|
handleKeydown(event) {
|
|
14232
14232
|
const { altKey } = event;
|
|
14233
|
-
const code =
|
|
14233
|
+
const code = normalizeKeys(event);
|
|
14234
14234
|
if (code === Keys.Escape) {
|
|
14235
14235
|
this.focusInput();
|
|
14236
14236
|
this.show = false;
|
|
@@ -16511,7 +16511,7 @@ class DateTimePickerComponent extends MultiTabStop {
|
|
|
16511
16511
|
return;
|
|
16512
16512
|
}
|
|
16513
16513
|
const { altKey } = event;
|
|
16514
|
-
const code =
|
|
16514
|
+
const code = normalizeKeys(event);
|
|
16515
16515
|
switch (code) {
|
|
16516
16516
|
case altKey && Keys.ArrowUp:
|
|
16517
16517
|
case Keys.Escape:
|
|
@@ -18965,7 +18965,7 @@ class DateRangePopupComponent {
|
|
|
18965
18965
|
}
|
|
18966
18966
|
handleKeydown(event) {
|
|
18967
18967
|
const { altKey } = event;
|
|
18968
|
-
const code =
|
|
18968
|
+
const code = normalizeKeys(event);
|
|
18969
18969
|
if (code === Keys.Escape || (altKey && code === Keys.ArrowUp)) {
|
|
18970
18970
|
this.zone.run(() => this.cancelPopup());
|
|
18971
18971
|
}
|
|
@@ -19505,7 +19505,7 @@ class DateRangeComponent {
|
|
|
19505
19505
|
* @hidden
|
|
19506
19506
|
*/
|
|
19507
19507
|
keydown(event) {
|
|
19508
|
-
const code =
|
|
19508
|
+
const code = normalizeKeys(event);
|
|
19509
19509
|
const shouldOpenPopup = code === Keys.ArrowDown && event.altKey;
|
|
19510
19510
|
if (shouldOpenPopup) {
|
|
19511
19511
|
this.dateRangeService.activatePopup();
|
|
@@ -19669,7 +19669,7 @@ class DateRangeInput {
|
|
|
19669
19669
|
}
|
|
19670
19670
|
}
|
|
19671
19671
|
togglePopup(e) {
|
|
19672
|
-
const code =
|
|
19672
|
+
const code = normalizeKeys(e);
|
|
19673
19673
|
const altKey = e.altKey;
|
|
19674
19674
|
if (code === Keys.Escape) {
|
|
19675
19675
|
this.dateRangeService.cancelPopup();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-dateinputs",
|
|
3
|
-
"version": "21.
|
|
3
|
+
"version": "21.3.0-develop.1",
|
|
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",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"package": {
|
|
80
80
|
"productName": "Kendo UI for Angular",
|
|
81
81
|
"productCode": "KENDOUIANGULAR",
|
|
82
|
-
"publishDate":
|
|
82
|
+
"publishDate": 1764778703,
|
|
83
83
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
84
84
|
}
|
|
85
85
|
},
|
|
@@ -90,19 +90,19 @@
|
|
|
90
90
|
"@angular/forms": "18 - 21",
|
|
91
91
|
"@angular/platform-browser": "18 - 21",
|
|
92
92
|
"@progress/kendo-licensing": "^1.7.0",
|
|
93
|
-
"@progress/kendo-angular-buttons": "21.
|
|
94
|
-
"@progress/kendo-angular-common": "21.
|
|
95
|
-
"@progress/kendo-angular-utils": "21.
|
|
96
|
-
"@progress/kendo-angular-intl": "21.
|
|
97
|
-
"@progress/kendo-angular-l10n": "21.
|
|
98
|
-
"@progress/kendo-angular-icons": "21.
|
|
99
|
-
"@progress/kendo-angular-popup": "21.
|
|
100
|
-
"@progress/kendo-angular-navigation": "21.
|
|
93
|
+
"@progress/kendo-angular-buttons": "21.3.0-develop.1",
|
|
94
|
+
"@progress/kendo-angular-common": "21.3.0-develop.1",
|
|
95
|
+
"@progress/kendo-angular-utils": "21.3.0-develop.1",
|
|
96
|
+
"@progress/kendo-angular-intl": "21.3.0-develop.1",
|
|
97
|
+
"@progress/kendo-angular-l10n": "21.3.0-develop.1",
|
|
98
|
+
"@progress/kendo-angular-icons": "21.3.0-develop.1",
|
|
99
|
+
"@progress/kendo-angular-popup": "21.3.0-develop.1",
|
|
100
|
+
"@progress/kendo-angular-navigation": "21.3.0-develop.1",
|
|
101
101
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
102
102
|
},
|
|
103
103
|
"dependencies": {
|
|
104
104
|
"tslib": "^2.3.1",
|
|
105
|
-
"@progress/kendo-angular-schematics": "21.
|
|
105
|
+
"@progress/kendo-angular-schematics": "21.3.0-develop.1",
|
|
106
106
|
"@progress/kendo-common": "^1.0.1",
|
|
107
107
|
"@progress/kendo-date-math": "^1.1.0",
|
|
108
108
|
"@progress/kendo-dateinputs-common": "^0.4.7"
|