@progress/kendo-angular-filter 19.3.0-develop.9 → 19.3.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.
- package/esm2022/filter.component.mjs +3 -3
- package/esm2022/navigation.service.mjs +1 -0
- package/esm2022/package-metadata.mjs +2 -2
- package/fesm2022/progress-kendo-angular-filter.mjs +6 -5
- package/filter.component.d.ts +1 -1
- package/navigation.service.d.ts +1 -1
- package/package.json +13 -13
- package/schematics/ngAdd/index.js +4 -4
|
@@ -12,7 +12,7 @@ import { packageMetadata } from './package-metadata';
|
|
|
12
12
|
import { FilterFieldComponent } from './filter-field.component';
|
|
13
13
|
import { FilterItem } from './util';
|
|
14
14
|
import { NavigationService } from './navigation.service';
|
|
15
|
-
import { Keys } from '@progress/kendo-angular-common';
|
|
15
|
+
import { Keys, normalizeNumpadKeys } from '@progress/kendo-angular-common';
|
|
16
16
|
import { FilterErrorMessages } from './error-messages';
|
|
17
17
|
import { FilterGroupComponent } from './filter-group.component';
|
|
18
18
|
import { LocalizedMessagesDirective } from './localization/localized-messages.directive';
|
|
@@ -90,9 +90,9 @@ export class FilterComponent {
|
|
|
90
90
|
* @hidden
|
|
91
91
|
*/
|
|
92
92
|
onKeydown(event) {
|
|
93
|
-
const keyCode = event
|
|
93
|
+
const keyCode = normalizeNumpadKeys(event);
|
|
94
94
|
const keys = [Keys.ArrowUp, Keys.ArrowDown, Keys.ArrowLeft, Keys.ArrowRight, Keys.Enter,
|
|
95
|
-
Keys.Escape, Keys.Tab];
|
|
95
|
+
Keys.NumpadEnter, Keys.Escape, Keys.Tab];
|
|
96
96
|
if (keys.indexOf(keyCode) > -1) {
|
|
97
97
|
this.navigationService.processKeyDown(keyCode, event);
|
|
98
98
|
}
|
|
@@ -49,6 +49,7 @@ export class NavigationService {
|
|
|
49
49
|
}
|
|
50
50
|
break;
|
|
51
51
|
}
|
|
52
|
+
case Keys.NumpadEnter:
|
|
52
53
|
case Keys.Enter: {
|
|
53
54
|
const isEventTargetKendoFilterToolbarItem = event.target.closest(selectors.kendoFilterToolbarItem);
|
|
54
55
|
const isEventTargetButton = event.target.closest(selectors.kendoButton);
|
|
@@ -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: '19.3.0
|
|
13
|
+
publishDate: 1755030765,
|
|
14
|
+
version: '19.3.0',
|
|
15
15
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
16
16
|
};
|
|
@@ -7,7 +7,7 @@ import { Injectable, Directive, Component, Input, ContentChild, EventEmitter, Ou
|
|
|
7
7
|
import * as i1 from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { ComponentMessages, LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
9
9
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
10
|
-
import { Keys, TemplateContextDirective, ResizeBatchService } from '@progress/kendo-angular-common';
|
|
10
|
+
import { Keys, TemplateContextDirective, normalizeNumpadKeys, ResizeBatchService } from '@progress/kendo-angular-common';
|
|
11
11
|
import { xIcon, filterAddGroupIcon, filterAddExpressionIcon } from '@progress/kendo-svg-icons';
|
|
12
12
|
import { ButtonComponent } from '@progress/kendo-angular-buttons';
|
|
13
13
|
import { DatePickerComponent, DatePickerCustomMessagesComponent, CalendarDOMService, CenturyViewService, DecadeViewService, MonthViewService, YearViewService, TimePickerDOMService, HoursService, MinutesService, SecondsService, MillisecondsService, DayPeriodService } from '@progress/kendo-angular-dateinputs';
|
|
@@ -231,8 +231,8 @@ const packageMetadata = {
|
|
|
231
231
|
productName: 'Kendo UI for Angular',
|
|
232
232
|
productCode: 'KENDOUIANGULAR',
|
|
233
233
|
productCodes: ['KENDOUIANGULAR'],
|
|
234
|
-
publishDate:
|
|
235
|
-
version: '19.3.0
|
|
234
|
+
publishDate: 1755030765,
|
|
235
|
+
version: '19.3.0',
|
|
236
236
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
237
237
|
};
|
|
238
238
|
|
|
@@ -408,6 +408,7 @@ class NavigationService {
|
|
|
408
408
|
}
|
|
409
409
|
break;
|
|
410
410
|
}
|
|
411
|
+
case Keys.NumpadEnter:
|
|
411
412
|
case Keys.Enter: {
|
|
412
413
|
const isEventTargetKendoFilterToolbarItem = event.target.closest(selectors.kendoFilterToolbarItem);
|
|
413
414
|
const isEventTargetButton = event.target.closest(selectors.kendoButton);
|
|
@@ -1892,9 +1893,9 @@ class FilterComponent {
|
|
|
1892
1893
|
* @hidden
|
|
1893
1894
|
*/
|
|
1894
1895
|
onKeydown(event) {
|
|
1895
|
-
const keyCode = event
|
|
1896
|
+
const keyCode = normalizeNumpadKeys(event);
|
|
1896
1897
|
const keys = [Keys.ArrowUp, Keys.ArrowDown, Keys.ArrowLeft, Keys.ArrowRight, Keys.Enter,
|
|
1897
|
-
Keys.Escape, Keys.Tab];
|
|
1898
|
+
Keys.NumpadEnter, Keys.Escape, Keys.Tab];
|
|
1898
1899
|
if (keys.indexOf(keyCode) > -1) {
|
|
1899
1900
|
this.navigationService.processKeyDown(keyCode, event);
|
|
1900
1901
|
}
|
package/filter.component.d.ts
CHANGED
|
@@ -66,7 +66,7 @@ export declare class FilterComponent implements OnInit, OnDestroy {
|
|
|
66
66
|
/**
|
|
67
67
|
* @hidden
|
|
68
68
|
*/
|
|
69
|
-
onKeydown(event:
|
|
69
|
+
onKeydown(event: KeyboardEvent): void;
|
|
70
70
|
direction: Direction;
|
|
71
71
|
/**
|
|
72
72
|
* Specifies the available user-defined filters. At least one filter should be provided.
|
package/navigation.service.d.ts
CHANGED
|
@@ -28,7 +28,7 @@ export declare class NavigationService {
|
|
|
28
28
|
isFilterExpressionComponentFocused: boolean;
|
|
29
29
|
currentlyFocusedElement: HTMLElement;
|
|
30
30
|
constructor(cdr: ChangeDetectorRef, renderer: Renderer2);
|
|
31
|
-
processKeyDown(key:
|
|
31
|
+
processKeyDown(key: string, event: any): void;
|
|
32
32
|
focusCurrentElement(element: HTMLElement, isOnMouseDown?: boolean): void;
|
|
33
33
|
flattenHierarchicalFilterItems(filterItems: FilterItem[]): void;
|
|
34
34
|
private setGroupItemChildren;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-filter",
|
|
3
|
-
"version": "19.3.0
|
|
3
|
+
"version": "19.3.0",
|
|
4
4
|
"description": "Kendo UI Angular Filter",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"package": {
|
|
18
18
|
"productName": "Kendo UI for Angular",
|
|
19
19
|
"productCode": "KENDOUIANGULAR",
|
|
20
|
-
"publishDate":
|
|
20
|
+
"publishDate": 1755030765,
|
|
21
21
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
22
22
|
}
|
|
23
23
|
},
|
|
@@ -27,21 +27,21 @@
|
|
|
27
27
|
"@angular/core": "16 - 20",
|
|
28
28
|
"@angular/platform-browser": "16 - 20",
|
|
29
29
|
"@progress/kendo-data-query": "^1.5.5",
|
|
30
|
-
"@progress/kendo-licensing": "^1.
|
|
31
|
-
"@progress/kendo-angular-buttons": "19.3.0
|
|
32
|
-
"@progress/kendo-angular-common": "19.3.0
|
|
33
|
-
"@progress/kendo-angular-dateinputs": "19.3.0
|
|
34
|
-
"@progress/kendo-angular-dropdowns": "19.3.0
|
|
35
|
-
"@progress/kendo-angular-inputs": "19.3.0
|
|
36
|
-
"@progress/kendo-angular-intl": "19.3.0
|
|
37
|
-
"@progress/kendo-angular-l10n": "19.3.0
|
|
38
|
-
"@progress/kendo-angular-icons": "19.3.0
|
|
39
|
-
"@progress/kendo-angular-label": "19.3.0
|
|
30
|
+
"@progress/kendo-licensing": "^1.7.0",
|
|
31
|
+
"@progress/kendo-angular-buttons": "19.3.0",
|
|
32
|
+
"@progress/kendo-angular-common": "19.3.0",
|
|
33
|
+
"@progress/kendo-angular-dateinputs": "19.3.0",
|
|
34
|
+
"@progress/kendo-angular-dropdowns": "19.3.0",
|
|
35
|
+
"@progress/kendo-angular-inputs": "19.3.0",
|
|
36
|
+
"@progress/kendo-angular-intl": "19.3.0",
|
|
37
|
+
"@progress/kendo-angular-l10n": "19.3.0",
|
|
38
|
+
"@progress/kendo-angular-icons": "19.3.0",
|
|
39
|
+
"@progress/kendo-angular-label": "19.3.0",
|
|
40
40
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"tslib": "^2.3.1",
|
|
44
|
-
"@progress/kendo-angular-schematics": "19.3.0
|
|
44
|
+
"@progress/kendo-angular-schematics": "19.3.0"
|
|
45
45
|
},
|
|
46
46
|
"schematics": "./schematics/collection.json",
|
|
47
47
|
"module": "fesm2022/progress-kendo-angular-filter.mjs",
|
|
@@ -4,12 +4,12 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
4
4
|
function default_1(options) {
|
|
5
5
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'FilterModule', package: 'filter', peerDependencies: {
|
|
6
6
|
// peer deps of the dropdowns
|
|
7
|
-
'@progress/kendo-angular-treeview': '19.3.0
|
|
8
|
-
'@progress/kendo-angular-popup': '19.3.0
|
|
9
|
-
'@progress/kendo-angular-navigation': '19.3.0
|
|
7
|
+
'@progress/kendo-angular-treeview': '19.3.0',
|
|
8
|
+
'@progress/kendo-angular-popup': '19.3.0',
|
|
9
|
+
'@progress/kendo-angular-navigation': '19.3.0',
|
|
10
10
|
// peer dependency of kendo-angular-inputs
|
|
11
11
|
'@progress/kendo-drawing': '^1.16.0',
|
|
12
|
-
'@progress/kendo-angular-dialog': '19.3.0
|
|
12
|
+
'@progress/kendo-angular-dialog': '19.3.0',
|
|
13
13
|
// Peer dependency of icons
|
|
14
14
|
'@progress/kendo-svg-icons': '^4.0.0'
|
|
15
15
|
} });
|