@progress/kendo-angular-grid 5.4.3 → 5.4.4-dev.202111191600
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/dist/cdn/js/kendo-angular-grid.js +1 -1
- package/dist/cdn/main.js +1 -1
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/pager/pager-dropdown.directive.js +3 -6
- package/dist/es2015/index.metadata.json +1 -1
- package/dist/es2015/package-metadata.js +1 -1
- package/dist/es2015/pager/pager-dropdown.directive.d.ts +1 -3
- package/dist/es2015/pager/pager-dropdown.directive.js +3 -6
- package/dist/fesm2015/index.js +3 -6
- package/dist/fesm5/index.js +3 -6
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/pager/pager-dropdown.directive.js +2 -5
- package/dist/systemjs/kendo-angular-grid.js +1 -1
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@ export var packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-grid',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
12
|
+
publishDate: 1637337121,
|
|
13
13
|
version: '',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
15
15
|
};
|
|
@@ -4,16 +4,15 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as tslib_1 from "tslib";
|
|
6
6
|
import { DropDownListComponent } from '@progress/kendo-angular-dropdowns';
|
|
7
|
-
import { Directive
|
|
7
|
+
import { Directive } from '@angular/core';
|
|
8
8
|
import { Keys } from '@progress/kendo-angular-common';
|
|
9
9
|
/**
|
|
10
10
|
* @hidden
|
|
11
11
|
*/
|
|
12
12
|
var PagerDropDownListDirective = /** @class */ (function () {
|
|
13
|
-
function PagerDropDownListDirective(host
|
|
13
|
+
function PagerDropDownListDirective(host) {
|
|
14
14
|
var _this = this;
|
|
15
15
|
this.host = host;
|
|
16
|
-
this.renderer = renderer;
|
|
17
16
|
this.keydownHandler = function (e) {
|
|
18
17
|
if (e.keyCode === Keys.Escape && _this.host.isOpen) {
|
|
19
18
|
e.stopPropagation();
|
|
@@ -23,7 +22,6 @@ var PagerDropDownListDirective = /** @class */ (function () {
|
|
|
23
22
|
}
|
|
24
23
|
PagerDropDownListDirective.prototype.ngAfterViewInit = function () {
|
|
25
24
|
var wrapperElement = this.host.wrapper.nativeElement;
|
|
26
|
-
this.renderer.addClass(wrapperElement, 'k-pager-nav');
|
|
27
25
|
wrapperElement.addEventListener('keydown', this.keydownHandler, true);
|
|
28
26
|
};
|
|
29
27
|
PagerDropDownListDirective.prototype.ngOnDestroy = function () {
|
|
@@ -31,8 +29,7 @@ var PagerDropDownListDirective = /** @class */ (function () {
|
|
|
31
29
|
};
|
|
32
30
|
PagerDropDownListDirective = tslib_1.__decorate([
|
|
33
31
|
Directive({ selector: '[kendoGridPagerDropDown]' }),
|
|
34
|
-
tslib_1.__metadata("design:paramtypes", [DropDownListComponent
|
|
35
|
-
Renderer2])
|
|
32
|
+
tslib_1.__metadata("design:paramtypes", [DropDownListComponent])
|
|
36
33
|
], PagerDropDownListDirective);
|
|
37
34
|
return PagerDropDownListDirective;
|
|
38
35
|
}());
|