@progress/kendo-angular-grid 15.0.2-develop.5 → 15.0.2-develop.7
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/esm2020/navigation/focusable.directive.mjs +9 -4
- package/esm2020/package-metadata.mjs +2 -2
- package/fesm2015/progress-kendo-angular-grid.mjs +9 -6
- package/fesm2020/progress-kendo-angular-grid.mjs +9 -6
- package/navigation/focusable.directive.d.ts +4 -2
- package/package.json +17 -17
- package/schematics/ngAdd/index.js +3 -3
|
@@ -5,7 +5,9 @@
|
|
|
5
5
|
import { Directive, ElementRef, Inject, Input, Optional, Renderer2, SkipSelf } from '@angular/core';
|
|
6
6
|
import { DefaultFocusableElement } from './default-focusable-element';
|
|
7
7
|
import { CELL_CONTEXT } from '../rendering/common/cell-context';
|
|
8
|
+
import { NavigationService } from './navigation.service';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
10
|
+
import * as i1 from "./navigation.service";
|
|
9
11
|
/**
|
|
10
12
|
* A directive that controls the way focusable elements receive
|
|
11
13
|
* [focus in a navigable Grid]({% slug keyboard_navigation_grid %}).
|
|
@@ -24,10 +26,11 @@ import * as i0 from "@angular/core";
|
|
|
24
26
|
* ```
|
|
25
27
|
*/
|
|
26
28
|
export class FocusableDirective {
|
|
27
|
-
constructor(cellContext, hostElement, renderer) {
|
|
29
|
+
constructor(cellContext, hostElement, renderer, navigationService) {
|
|
28
30
|
this.cellContext = cellContext;
|
|
29
31
|
this.hostElement = hostElement;
|
|
30
32
|
this.renderer = renderer;
|
|
33
|
+
this.navigationService = navigationService;
|
|
31
34
|
this.active = true;
|
|
32
35
|
this._enabled = true;
|
|
33
36
|
if (this.cellContext) {
|
|
@@ -58,7 +61,7 @@ export class FocusableDirective {
|
|
|
58
61
|
return this._enabled;
|
|
59
62
|
}
|
|
60
63
|
ngAfterViewInit() {
|
|
61
|
-
if (!this.element) {
|
|
64
|
+
if (!this.element && this.navigationService.enabled) {
|
|
62
65
|
this.element = new DefaultFocusableElement(this.hostElement, this.renderer);
|
|
63
66
|
}
|
|
64
67
|
if (this.group && this.element) {
|
|
@@ -112,7 +115,7 @@ export class FocusableDirective {
|
|
|
112
115
|
this.element = element;
|
|
113
116
|
}
|
|
114
117
|
}
|
|
115
|
-
FocusableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FocusableDirective, deps: [{ token: CELL_CONTEXT, optional: true, skipSelf: true }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
118
|
+
FocusableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FocusableDirective, deps: [{ token: CELL_CONTEXT, optional: true, skipSelf: true }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.NavigationService, skipSelf: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
116
119
|
FocusableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: FocusableDirective, selector: "[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ", inputs: { enabled: ["kendoGridFocusable", "enabled"] }, ngImport: i0 });
|
|
117
120
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FocusableDirective, decorators: [{
|
|
118
121
|
type: Directive,
|
|
@@ -132,7 +135,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
132
135
|
args: [CELL_CONTEXT]
|
|
133
136
|
}, {
|
|
134
137
|
type: SkipSelf
|
|
135
|
-
}] }, { type: i0.ElementRef }, { type: i0.Renderer2 }
|
|
138
|
+
}] }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.NavigationService, decorators: [{
|
|
139
|
+
type: SkipSelf
|
|
140
|
+
}] }]; }, propDecorators: { enabled: [{
|
|
136
141
|
type: Input,
|
|
137
142
|
args: ['kendoGridFocusable']
|
|
138
143
|
}] } });
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-grid',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
13
|
-
version: '15.0.2-develop.
|
|
12
|
+
publishDate: 1707920390,
|
|
13
|
+
version: '15.0.2-develop.7',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -2968,10 +2968,11 @@ const EMPTY_CELL_CONTEXT = {};
|
|
|
2968
2968
|
* ```
|
|
2969
2969
|
*/
|
|
2970
2970
|
class FocusableDirective {
|
|
2971
|
-
constructor(cellContext, hostElement, renderer) {
|
|
2971
|
+
constructor(cellContext, hostElement, renderer, navigationService) {
|
|
2972
2972
|
this.cellContext = cellContext;
|
|
2973
2973
|
this.hostElement = hostElement;
|
|
2974
2974
|
this.renderer = renderer;
|
|
2975
|
+
this.navigationService = navigationService;
|
|
2975
2976
|
this.active = true;
|
|
2976
2977
|
this._enabled = true;
|
|
2977
2978
|
if (this.cellContext) {
|
|
@@ -3002,7 +3003,7 @@ class FocusableDirective {
|
|
|
3002
3003
|
return this._enabled;
|
|
3003
3004
|
}
|
|
3004
3005
|
ngAfterViewInit() {
|
|
3005
|
-
if (!this.element) {
|
|
3006
|
+
if (!this.element && this.navigationService.enabled) {
|
|
3006
3007
|
this.element = new DefaultFocusableElement(this.hostElement, this.renderer);
|
|
3007
3008
|
}
|
|
3008
3009
|
if (this.group && this.element) {
|
|
@@ -3056,7 +3057,7 @@ class FocusableDirective {
|
|
|
3056
3057
|
this.element = element;
|
|
3057
3058
|
}
|
|
3058
3059
|
}
|
|
3059
|
-
FocusableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FocusableDirective, deps: [{ token: CELL_CONTEXT, optional: true, skipSelf: true }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3060
|
+
FocusableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FocusableDirective, deps: [{ token: CELL_CONTEXT, optional: true, skipSelf: true }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: NavigationService, skipSelf: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3060
3061
|
FocusableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: FocusableDirective, selector: "[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ", inputs: { enabled: ["kendoGridFocusable", "enabled"] }, ngImport: i0 });
|
|
3061
3062
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FocusableDirective, decorators: [{
|
|
3062
3063
|
type: Directive,
|
|
@@ -3077,7 +3078,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
3077
3078
|
args: [CELL_CONTEXT]
|
|
3078
3079
|
}, {
|
|
3079
3080
|
type: SkipSelf
|
|
3080
|
-
}] }, { type: i0.ElementRef }, { type: i0.Renderer2 }
|
|
3081
|
+
}] }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: NavigationService, decorators: [{
|
|
3082
|
+
type: SkipSelf
|
|
3083
|
+
}] }];
|
|
3081
3084
|
}, propDecorators: { enabled: [{
|
|
3082
3085
|
type: Input,
|
|
3083
3086
|
args: ['kendoGridFocusable']
|
|
@@ -4532,8 +4535,8 @@ const packageMetadata = {
|
|
|
4532
4535
|
name: '@progress/kendo-angular-grid',
|
|
4533
4536
|
productName: 'Kendo UI for Angular',
|
|
4534
4537
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
4535
|
-
publishDate:
|
|
4536
|
-
version: '15.0.2-develop.
|
|
4538
|
+
publishDate: 1707920390,
|
|
4539
|
+
version: '15.0.2-develop.7',
|
|
4537
4540
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
4538
4541
|
};
|
|
4539
4542
|
|
|
@@ -521,10 +521,11 @@ const EMPTY_CELL_CONTEXT = {};
|
|
|
521
521
|
* ```
|
|
522
522
|
*/
|
|
523
523
|
class FocusableDirective {
|
|
524
|
-
constructor(cellContext, hostElement, renderer) {
|
|
524
|
+
constructor(cellContext, hostElement, renderer, navigationService) {
|
|
525
525
|
this.cellContext = cellContext;
|
|
526
526
|
this.hostElement = hostElement;
|
|
527
527
|
this.renderer = renderer;
|
|
528
|
+
this.navigationService = navigationService;
|
|
528
529
|
this.active = true;
|
|
529
530
|
this._enabled = true;
|
|
530
531
|
if (this.cellContext) {
|
|
@@ -555,7 +556,7 @@ class FocusableDirective {
|
|
|
555
556
|
return this._enabled;
|
|
556
557
|
}
|
|
557
558
|
ngAfterViewInit() {
|
|
558
|
-
if (!this.element) {
|
|
559
|
+
if (!this.element && this.navigationService.enabled) {
|
|
559
560
|
this.element = new DefaultFocusableElement(this.hostElement, this.renderer);
|
|
560
561
|
}
|
|
561
562
|
if (this.group && this.element) {
|
|
@@ -609,7 +610,7 @@ class FocusableDirective {
|
|
|
609
610
|
this.element = element;
|
|
610
611
|
}
|
|
611
612
|
}
|
|
612
|
-
FocusableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FocusableDirective, deps: [{ token: CELL_CONTEXT, optional: true, skipSelf: true }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
613
|
+
FocusableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FocusableDirective, deps: [{ token: CELL_CONTEXT, optional: true, skipSelf: true }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: NavigationService, skipSelf: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
613
614
|
FocusableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: FocusableDirective, selector: "[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ", inputs: { enabled: ["kendoGridFocusable", "enabled"] }, ngImport: i0 });
|
|
614
615
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FocusableDirective, decorators: [{
|
|
615
616
|
type: Directive,
|
|
@@ -629,7 +630,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
629
630
|
args: [CELL_CONTEXT]
|
|
630
631
|
}, {
|
|
631
632
|
type: SkipSelf
|
|
632
|
-
}] }, { type: i0.ElementRef }, { type: i0.Renderer2 }
|
|
633
|
+
}] }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: NavigationService, decorators: [{
|
|
634
|
+
type: SkipSelf
|
|
635
|
+
}] }]; }, propDecorators: { enabled: [{
|
|
633
636
|
type: Input,
|
|
634
637
|
args: ['kendoGridFocusable']
|
|
635
638
|
}] } });
|
|
@@ -4500,8 +4503,8 @@ const packageMetadata = {
|
|
|
4500
4503
|
name: '@progress/kendo-angular-grid',
|
|
4501
4504
|
productName: 'Kendo UI for Angular',
|
|
4502
4505
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
4503
|
-
publishDate:
|
|
4504
|
-
version: '15.0.2-develop.
|
|
4506
|
+
publishDate: 1707920390,
|
|
4507
|
+
version: '15.0.2-develop.7',
|
|
4505
4508
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
4506
4509
|
};
|
|
4507
4510
|
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import { AfterViewInit, ElementRef, OnDestroy, Renderer2 } from '@angular/core';
|
|
6
6
|
import { FocusableElement } from './focusable-element.interface';
|
|
7
7
|
import { CellContext } from '../rendering/common/cell-context';
|
|
8
|
+
import { NavigationService } from './navigation.service';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
/**
|
|
10
11
|
* A directive that controls the way focusable elements receive
|
|
@@ -27,6 +28,7 @@ export declare class FocusableDirective implements FocusableElement, AfterViewIn
|
|
|
27
28
|
private cellContext;
|
|
28
29
|
private hostElement;
|
|
29
30
|
private renderer;
|
|
31
|
+
private navigationService;
|
|
30
32
|
private active;
|
|
31
33
|
private group;
|
|
32
34
|
private element;
|
|
@@ -36,7 +38,7 @@ export declare class FocusableDirective implements FocusableElement, AfterViewIn
|
|
|
36
38
|
*/
|
|
37
39
|
set enabled(value: any);
|
|
38
40
|
get enabled(): any;
|
|
39
|
-
constructor(cellContext: CellContext, hostElement: ElementRef, renderer: Renderer2);
|
|
41
|
+
constructor(cellContext: CellContext, hostElement: ElementRef, renderer: Renderer2, navigationService: NavigationService);
|
|
40
42
|
ngAfterViewInit(): void;
|
|
41
43
|
ngOnDestroy(): void;
|
|
42
44
|
/**
|
|
@@ -63,6 +65,6 @@ export declare class FocusableDirective implements FocusableElement, AfterViewIn
|
|
|
63
65
|
* @hidden
|
|
64
66
|
*/
|
|
65
67
|
registerElement(element: FocusableElement): void;
|
|
66
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FocusableDirective, [{ optional: true; skipSelf: true; }, null, null]>;
|
|
68
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FocusableDirective, [{ optional: true; skipSelf: true; }, null, null, { skipSelf: true; }]>;
|
|
67
69
|
static ɵdir: i0.ɵɵDirectiveDeclaration<FocusableDirective, "[kendoGridFocusable], [kendoGridEditCommand], [kendoGridRemoveCommand], [kendoGridSaveCommand], [kendoGridCancelCommand], [kendoGridSelectionCheckbox] ", never, { "enabled": "kendoGridFocusable"; }, {}, never>;
|
|
68
70
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-grid",
|
|
3
|
-
"version": "15.0.2-develop.
|
|
3
|
+
"version": "15.0.2-develop.7",
|
|
4
4
|
"description": "Kendo UI Grid for Angular - high performance data grid with paging, filtering, virtualization, CRUD, and more.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -33,26 +33,26 @@
|
|
|
33
33
|
"@progress/kendo-data-query": "^1.0.0",
|
|
34
34
|
"@progress/kendo-drawing": "^1.19.0",
|
|
35
35
|
"@progress/kendo-licensing": "^1.0.2",
|
|
36
|
-
"@progress/kendo-angular-buttons": "15.0.2-develop.
|
|
37
|
-
"@progress/kendo-angular-common": "15.0.2-develop.
|
|
38
|
-
"@progress/kendo-angular-dateinputs": "15.0.2-develop.
|
|
39
|
-
"@progress/kendo-angular-layout": "15.0.2-develop.
|
|
40
|
-
"@progress/kendo-angular-dropdowns": "15.0.2-develop.
|
|
41
|
-
"@progress/kendo-angular-excel-export": "15.0.2-develop.
|
|
42
|
-
"@progress/kendo-angular-icons": "15.0.2-develop.
|
|
43
|
-
"@progress/kendo-angular-inputs": "15.0.2-develop.
|
|
44
|
-
"@progress/kendo-angular-intl": "15.0.2-develop.
|
|
45
|
-
"@progress/kendo-angular-l10n": "15.0.2-develop.
|
|
46
|
-
"@progress/kendo-angular-label": "15.0.2-develop.
|
|
47
|
-
"@progress/kendo-angular-pdf-export": "15.0.2-develop.
|
|
48
|
-
"@progress/kendo-angular-popup": "15.0.2-develop.
|
|
49
|
-
"@progress/kendo-angular-utils": "15.0.2-develop.
|
|
36
|
+
"@progress/kendo-angular-buttons": "15.0.2-develop.7",
|
|
37
|
+
"@progress/kendo-angular-common": "15.0.2-develop.7",
|
|
38
|
+
"@progress/kendo-angular-dateinputs": "15.0.2-develop.7",
|
|
39
|
+
"@progress/kendo-angular-layout": "15.0.2-develop.7",
|
|
40
|
+
"@progress/kendo-angular-dropdowns": "15.0.2-develop.7",
|
|
41
|
+
"@progress/kendo-angular-excel-export": "15.0.2-develop.7",
|
|
42
|
+
"@progress/kendo-angular-icons": "15.0.2-develop.7",
|
|
43
|
+
"@progress/kendo-angular-inputs": "15.0.2-develop.7",
|
|
44
|
+
"@progress/kendo-angular-intl": "15.0.2-develop.7",
|
|
45
|
+
"@progress/kendo-angular-l10n": "15.0.2-develop.7",
|
|
46
|
+
"@progress/kendo-angular-label": "15.0.2-develop.7",
|
|
47
|
+
"@progress/kendo-angular-pdf-export": "15.0.2-develop.7",
|
|
48
|
+
"@progress/kendo-angular-popup": "15.0.2-develop.7",
|
|
49
|
+
"@progress/kendo-angular-utils": "15.0.2-develop.7",
|
|
50
50
|
"rxjs": "^6.5.3 || ^7.0.0",
|
|
51
|
-
"@progress/kendo-angular-spreadsheet": "15.0.2-develop.
|
|
51
|
+
"@progress/kendo-angular-spreadsheet": "15.0.2-develop.7"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"tslib": "^2.3.1",
|
|
55
|
-
"@progress/kendo-angular-schematics": "15.0.2-develop.
|
|
55
|
+
"@progress/kendo-angular-schematics": "15.0.2-develop.7",
|
|
56
56
|
"@progress/kendo-common": "^0.2.0",
|
|
57
57
|
"@progress/kendo-file-saver": "^1.0.0"
|
|
58
58
|
},
|
|
@@ -4,13 +4,13 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
4
4
|
function default_1(options) {
|
|
5
5
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'GridModule', package: 'grid', peerDependencies: {
|
|
6
6
|
// peer dep of the dropdowns
|
|
7
|
-
'@progress/kendo-angular-treeview': '15.0.2-develop.
|
|
7
|
+
'@progress/kendo-angular-treeview': '15.0.2-develop.7',
|
|
8
8
|
// peer dependency of kendo-angular-inputs
|
|
9
|
-
'@progress/kendo-angular-dialog': '15.0.2-develop.
|
|
9
|
+
'@progress/kendo-angular-dialog': '15.0.2-develop.7',
|
|
10
10
|
// peer dependency of kendo-angular-icons
|
|
11
11
|
'@progress/kendo-svg-icons': '^2.0.0',
|
|
12
12
|
// peer dependency of kendo-angular-layout
|
|
13
|
-
'@progress/kendo-angular-progressbar': '15.0.2-develop.
|
|
13
|
+
'@progress/kendo-angular-progressbar': '15.0.2-develop.7'
|
|
14
14
|
} });
|
|
15
15
|
return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
|
|
16
16
|
}
|