@progress/kendo-angular-grid 17.0.0-develop.43 → 17.0.0-develop.46

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.
@@ -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: 1730967877,
13
- version: '17.0.0-develop.43',
12
+ publishDate: 1730993221,
13
+ version: '17.0.0-develop.46',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
15
15
  };
@@ -2,7 +2,7 @@
2
2
  * Copyright © 2024 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 { Directive, Input, Output, EventEmitter, NgZone, Host, Optional } from '@angular/core';
5
+ import { Directive, Input, Output, EventEmitter, NgZone, Host, Optional, Renderer2, ElementRef } from '@angular/core';
6
6
  import { SelectionService } from './selection.service';
7
7
  import { isPresent } from '../utils';
8
8
  import { hasObservers } from '@progress/kendo-angular-common';
@@ -30,6 +30,8 @@ export class SelectAllCheckboxDirective {
30
30
  selectionService;
31
31
  cellSelectionService;
32
32
  ngZone;
33
+ element;
34
+ renderer;
33
35
  checkbox;
34
36
  /**
35
37
  * Explicitly overrides the state of the select-all checkbox.
@@ -41,6 +43,7 @@ export class SelectAllCheckboxDirective {
41
43
  */
42
44
  selectAllChange = new EventEmitter();
43
45
  destroyClick;
46
+ checkboxChange;
44
47
  stateSet = false;
45
48
  ngAfterContentChecked() {
46
49
  this.setState();
@@ -48,27 +51,38 @@ export class SelectAllCheckboxDirective {
48
51
  ngOnChanges() {
49
52
  this.stateSet = true;
50
53
  }
51
- constructor(selectionService, cellSelectionService, ngZone, checkbox) {
54
+ constructor(selectionService, cellSelectionService, ngZone, element, renderer, checkbox) {
52
55
  this.selectionService = selectionService;
53
56
  this.cellSelectionService = cellSelectionService;
54
57
  this.ngZone = ngZone;
58
+ this.element = element;
59
+ this.renderer = renderer;
55
60
  this.checkbox = checkbox;
56
61
  this.ngZone.runOutsideAngular(() => {
57
- this.destroyClick = this.checkbox.checkedStateChange.subscribe(this.onClick.bind(this));
62
+ if (this.checkbox) {
63
+ this.checkboxChange = this.checkbox.checkedStateChange.subscribe(this.onClick.bind(this));
64
+ }
65
+ else {
66
+ this.destroyClick = this.renderer.listen(this.element.nativeElement, 'click', this.onClick.bind(this));
67
+ }
58
68
  });
59
69
  }
60
70
  ngOnDestroy() {
71
+ if (this.checkboxChange) {
72
+ this.checkboxChange.unsubscribe();
73
+ }
61
74
  if (this.destroyClick) {
62
- this.destroyClick.unsubscribe();
75
+ this.destroyClick();
63
76
  }
64
77
  }
65
78
  /**
66
79
  * @hidden
67
80
  */
68
81
  onClick() {
69
- const uncheckedState = this.checkbox.checkedState === 'indeterminate' ? 'indeterminate' : 'unchecked';
70
- const checkboxState = this.checkbox.checkedState ? 'checked' : uncheckedState;
71
- const isChecked = this.selectionService.hasNonSelectable ? !this.selectionService.selectAllChecked : this.checkbox.checkedState === true;
82
+ const isIndeterminateState = this.checkbox?.checkedState === 'indeterminate' || this.element.nativeElement.indeterminate;
83
+ const isCheckedState = this.checkbox?.checkedState === true || this.element.nativeElement.checked;
84
+ const checkboxState = isCheckedState ? 'checked' : isIndeterminateState ? 'indeterminate' : 'unchecked';
85
+ const isChecked = this.selectionService.hasNonSelectable ? !this.selectionService.selectAllChecked : isCheckedState;
72
86
  const options = this.selectionService.options;
73
87
  const enabledAndMultiple = options.enabled && options.mode === 'multiple' && !this.cellSelectionService.active;
74
88
  const shouldEmitSelectAll = hasObservers(this.selectAllChange);
@@ -88,7 +102,14 @@ export class SelectAllCheckboxDirective {
88
102
  */
89
103
  setState() {
90
104
  const state = this.stateSet ? this.stateToBool() : this.selectionService.selectAllState;
91
- this.checkbox.checkedState = isPresent(state) ? state : 'indeterminate';
105
+ if (this.checkbox) {
106
+ this.checkbox.checkedState = isPresent(state) ? state : 'indeterminate';
107
+ }
108
+ else {
109
+ const elem = this.element.nativeElement;
110
+ this.renderer.setProperty(elem, 'indeterminate', !isPresent(state));
111
+ this.renderer.setProperty(elem, 'checked', isPresent(state) ? state : false);
112
+ }
92
113
  }
93
114
  /**
94
115
  * @hidden
@@ -103,7 +124,7 @@ export class SelectAllCheckboxDirective {
103
124
  return undefined;
104
125
  }
105
126
  }
106
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectAllCheckboxDirective, deps: [{ token: i1.SelectionService }, { token: i2.CellSelectionService }, { token: i0.NgZone }, { token: i3.CheckBoxComponent, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
127
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectAllCheckboxDirective, deps: [{ token: i1.SelectionService }, { token: i2.CellSelectionService }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i3.CheckBoxComponent, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
107
128
  static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: SelectAllCheckboxDirective, isStandalone: true, selector: "[kendoGridSelectAllCheckbox]", inputs: { state: "state" }, outputs: { selectAllChange: "selectAllChange" }, usesOnChanges: true, ngImport: i0 });
108
129
  }
109
130
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectAllCheckboxDirective, decorators: [{
@@ -112,7 +133,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
112
133
  selector: '[kendoGridSelectAllCheckbox]',
113
134
  standalone: true
114
135
  }]
115
- }], ctorParameters: function () { return [{ type: i1.SelectionService }, { type: i2.CellSelectionService }, { type: i0.NgZone }, { type: i3.CheckBoxComponent, decorators: [{
136
+ }], ctorParameters: function () { return [{ type: i1.SelectionService }, { type: i2.CellSelectionService }, { type: i0.NgZone }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i3.CheckBoxComponent, decorators: [{
116
137
  type: Host
117
138
  }, {
118
139
  type: Optional
@@ -16,7 +16,7 @@ import * as i4 from "@progress/kendo-angular-inputs";
16
16
  /**
17
17
  * Represents the row-selection checkbox of the Grid. The directive expects the
18
18
  * index of the current row as an input parameter. Inside the [`CellTemplateDirective`](slug:api_grid_celltemplatedirective), apply the
19
- * `kendoGridSelectionCheckbox` to an `<input type="checkbox"/>` element. When the user clicks the checkbox that is associated
19
+ * `kendoGridSelectionCheckbox` to a `<kendo-checkbox></kendo-checkbox>` or an `<input type="checkbox"/>` element. When the user clicks the checkbox that is associated
20
20
  * with the directive, a [selectionChange](slug:api_grid_gridcomponent#toc-selectionChange)
21
21
  * event is triggered.
22
22
  *
@@ -105,7 +105,12 @@ export class SelectionCheckboxDirective {
105
105
  */
106
106
  setCheckedState() {
107
107
  const isSelected = this.selectionService.nonSelectableRows.has(this.itemIndex) ? false : this.selectionService.isSelected(this.itemIndex);
108
- this.checkbox.checkedState = isSelected;
108
+ if (this.checkbox) {
109
+ this.checkbox.checkedState = isSelected;
110
+ }
111
+ else {
112
+ this.renderer.setProperty(this.el.nativeElement, 'checked', isSelected);
113
+ }
109
114
  }
110
115
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectionCheckboxDirective, deps: [{ token: i1.SelectionService }, { token: i2.CellSelectionService }, { token: i3.CellSelectionAggregateService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i4.CheckBoxComponent, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
111
116
  static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: SelectionCheckboxDirective, isStandalone: true, selector: "[kendoGridSelectionCheckbox]", inputs: { itemIndex: ["kendoGridSelectionCheckbox", "itemIndex"] }, ngImport: i0 });
@@ -15756,6 +15756,8 @@ class SelectAllCheckboxDirective {
15756
15756
  selectionService;
15757
15757
  cellSelectionService;
15758
15758
  ngZone;
15759
+ element;
15760
+ renderer;
15759
15761
  checkbox;
15760
15762
  /**
15761
15763
  * Explicitly overrides the state of the select-all checkbox.
@@ -15767,6 +15769,7 @@ class SelectAllCheckboxDirective {
15767
15769
  */
15768
15770
  selectAllChange = new EventEmitter();
15769
15771
  destroyClick;
15772
+ checkboxChange;
15770
15773
  stateSet = false;
15771
15774
  ngAfterContentChecked() {
15772
15775
  this.setState();
@@ -15774,27 +15777,38 @@ class SelectAllCheckboxDirective {
15774
15777
  ngOnChanges() {
15775
15778
  this.stateSet = true;
15776
15779
  }
15777
- constructor(selectionService, cellSelectionService, ngZone, checkbox) {
15780
+ constructor(selectionService, cellSelectionService, ngZone, element, renderer, checkbox) {
15778
15781
  this.selectionService = selectionService;
15779
15782
  this.cellSelectionService = cellSelectionService;
15780
15783
  this.ngZone = ngZone;
15784
+ this.element = element;
15785
+ this.renderer = renderer;
15781
15786
  this.checkbox = checkbox;
15782
15787
  this.ngZone.runOutsideAngular(() => {
15783
- this.destroyClick = this.checkbox.checkedStateChange.subscribe(this.onClick.bind(this));
15788
+ if (this.checkbox) {
15789
+ this.checkboxChange = this.checkbox.checkedStateChange.subscribe(this.onClick.bind(this));
15790
+ }
15791
+ else {
15792
+ this.destroyClick = this.renderer.listen(this.element.nativeElement, 'click', this.onClick.bind(this));
15793
+ }
15784
15794
  });
15785
15795
  }
15786
15796
  ngOnDestroy() {
15797
+ if (this.checkboxChange) {
15798
+ this.checkboxChange.unsubscribe();
15799
+ }
15787
15800
  if (this.destroyClick) {
15788
- this.destroyClick.unsubscribe();
15801
+ this.destroyClick();
15789
15802
  }
15790
15803
  }
15791
15804
  /**
15792
15805
  * @hidden
15793
15806
  */
15794
15807
  onClick() {
15795
- const uncheckedState = this.checkbox.checkedState === 'indeterminate' ? 'indeterminate' : 'unchecked';
15796
- const checkboxState = this.checkbox.checkedState ? 'checked' : uncheckedState;
15797
- const isChecked = this.selectionService.hasNonSelectable ? !this.selectionService.selectAllChecked : this.checkbox.checkedState === true;
15808
+ const isIndeterminateState = this.checkbox?.checkedState === 'indeterminate' || this.element.nativeElement.indeterminate;
15809
+ const isCheckedState = this.checkbox?.checkedState === true || this.element.nativeElement.checked;
15810
+ const checkboxState = isCheckedState ? 'checked' : isIndeterminateState ? 'indeterminate' : 'unchecked';
15811
+ const isChecked = this.selectionService.hasNonSelectable ? !this.selectionService.selectAllChecked : isCheckedState;
15798
15812
  const options = this.selectionService.options;
15799
15813
  const enabledAndMultiple = options.enabled && options.mode === 'multiple' && !this.cellSelectionService.active;
15800
15814
  const shouldEmitSelectAll = hasObservers(this.selectAllChange);
@@ -15814,7 +15828,14 @@ class SelectAllCheckboxDirective {
15814
15828
  */
15815
15829
  setState() {
15816
15830
  const state = this.stateSet ? this.stateToBool() : this.selectionService.selectAllState;
15817
- this.checkbox.checkedState = isPresent(state) ? state : 'indeterminate';
15831
+ if (this.checkbox) {
15832
+ this.checkbox.checkedState = isPresent(state) ? state : 'indeterminate';
15833
+ }
15834
+ else {
15835
+ const elem = this.element.nativeElement;
15836
+ this.renderer.setProperty(elem, 'indeterminate', !isPresent(state));
15837
+ this.renderer.setProperty(elem, 'checked', isPresent(state) ? state : false);
15838
+ }
15818
15839
  }
15819
15840
  /**
15820
15841
  * @hidden
@@ -15829,7 +15850,7 @@ class SelectAllCheckboxDirective {
15829
15850
  return undefined;
15830
15851
  }
15831
15852
  }
15832
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectAllCheckboxDirective, deps: [{ token: SelectionService }, { token: CellSelectionService }, { token: i0.NgZone }, { token: i3.CheckBoxComponent, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
15853
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectAllCheckboxDirective, deps: [{ token: SelectionService }, { token: CellSelectionService }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i3.CheckBoxComponent, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
15833
15854
  static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: SelectAllCheckboxDirective, isStandalone: true, selector: "[kendoGridSelectAllCheckbox]", inputs: { state: "state" }, outputs: { selectAllChange: "selectAllChange" }, usesOnChanges: true, ngImport: i0 });
15834
15855
  }
15835
15856
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectAllCheckboxDirective, decorators: [{
@@ -15838,7 +15859,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
15838
15859
  selector: '[kendoGridSelectAllCheckbox]',
15839
15860
  standalone: true
15840
15861
  }]
15841
- }], ctorParameters: function () { return [{ type: SelectionService }, { type: CellSelectionService }, { type: i0.NgZone }, { type: i3.CheckBoxComponent, decorators: [{
15862
+ }], ctorParameters: function () { return [{ type: SelectionService }, { type: CellSelectionService }, { type: i0.NgZone }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i3.CheckBoxComponent, decorators: [{
15842
15863
  type: Host
15843
15864
  }, {
15844
15865
  type: Optional
@@ -17106,7 +17127,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
17106
17127
  /**
17107
17128
  * Represents the row-selection checkbox of the Grid. The directive expects the
17108
17129
  * index of the current row as an input parameter. Inside the [`CellTemplateDirective`](slug:api_grid_celltemplatedirective), apply the
17109
- * `kendoGridSelectionCheckbox` to an `<input type="checkbox"/>` element. When the user clicks the checkbox that is associated
17130
+ * `kendoGridSelectionCheckbox` to a `<kendo-checkbox></kendo-checkbox>` or an `<input type="checkbox"/>` element. When the user clicks the checkbox that is associated
17110
17131
  * with the directive, a [selectionChange](slug:api_grid_gridcomponent#toc-selectionChange)
17111
17132
  * event is triggered.
17112
17133
  *
@@ -17195,7 +17216,12 @@ class SelectionCheckboxDirective {
17195
17216
  */
17196
17217
  setCheckedState() {
17197
17218
  const isSelected = this.selectionService.nonSelectableRows.has(this.itemIndex) ? false : this.selectionService.isSelected(this.itemIndex);
17198
- this.checkbox.checkedState = isSelected;
17219
+ if (this.checkbox) {
17220
+ this.checkbox.checkedState = isSelected;
17221
+ }
17222
+ else {
17223
+ this.renderer.setProperty(this.el.nativeElement, 'checked', isSelected);
17224
+ }
17199
17225
  }
17200
17226
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectionCheckboxDirective, deps: [{ token: SelectionService }, { token: CellSelectionService }, { token: CellSelectionAggregateService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i3.CheckBoxComponent, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
17201
17227
  static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: SelectionCheckboxDirective, isStandalone: true, selector: "[kendoGridSelectionCheckbox]", inputs: { itemIndex: ["kendoGridSelectionCheckbox", "itemIndex"] }, ngImport: i0 });
@@ -19182,8 +19208,8 @@ const packageMetadata = {
19182
19208
  name: '@progress/kendo-angular-grid',
19183
19209
  productName: 'Kendo UI for Angular',
19184
19210
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
19185
- publishDate: 1730967877,
19186
- version: '17.0.0-develop.43',
19211
+ publishDate: 1730993221,
19212
+ version: '17.0.0-develop.46',
19187
19213
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
19188
19214
  };
19189
19215
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-grid",
3
- "version": "17.0.0-develop.43",
3
+ "version": "17.0.0-develop.46",
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,27 +33,27 @@
33
33
  "@progress/kendo-data-query": "^1.0.0",
34
34
  "@progress/kendo-drawing": "^1.21.0",
35
35
  "@progress/kendo-licensing": "^1.0.2",
36
- "@progress/kendo-angular-buttons": "17.0.0-develop.43",
37
- "@progress/kendo-angular-common": "17.0.0-develop.43",
38
- "@progress/kendo-angular-dateinputs": "17.0.0-develop.43",
39
- "@progress/kendo-angular-layout": "17.0.0-develop.43",
40
- "@progress/kendo-angular-dropdowns": "17.0.0-develop.43",
41
- "@progress/kendo-angular-excel-export": "17.0.0-develop.43",
42
- "@progress/kendo-angular-icons": "17.0.0-develop.43",
43
- "@progress/kendo-angular-inputs": "17.0.0-develop.43",
44
- "@progress/kendo-angular-intl": "17.0.0-develop.43",
45
- "@progress/kendo-angular-l10n": "17.0.0-develop.43",
46
- "@progress/kendo-angular-label": "17.0.0-develop.43",
47
- "@progress/kendo-angular-pager": "17.0.0-develop.43",
48
- "@progress/kendo-angular-pdf-export": "17.0.0-develop.43",
49
- "@progress/kendo-angular-popup": "17.0.0-develop.43",
50
- "@progress/kendo-angular-toolbar": "17.0.0-develop.43",
51
- "@progress/kendo-angular-utils": "17.0.0-develop.43",
36
+ "@progress/kendo-angular-buttons": "17.0.0-develop.46",
37
+ "@progress/kendo-angular-common": "17.0.0-develop.46",
38
+ "@progress/kendo-angular-dateinputs": "17.0.0-develop.46",
39
+ "@progress/kendo-angular-layout": "17.0.0-develop.46",
40
+ "@progress/kendo-angular-dropdowns": "17.0.0-develop.46",
41
+ "@progress/kendo-angular-excel-export": "17.0.0-develop.46",
42
+ "@progress/kendo-angular-icons": "17.0.0-develop.46",
43
+ "@progress/kendo-angular-inputs": "17.0.0-develop.46",
44
+ "@progress/kendo-angular-intl": "17.0.0-develop.46",
45
+ "@progress/kendo-angular-l10n": "17.0.0-develop.46",
46
+ "@progress/kendo-angular-label": "17.0.0-develop.46",
47
+ "@progress/kendo-angular-pager": "17.0.0-develop.46",
48
+ "@progress/kendo-angular-pdf-export": "17.0.0-develop.46",
49
+ "@progress/kendo-angular-popup": "17.0.0-develop.46",
50
+ "@progress/kendo-angular-toolbar": "17.0.0-develop.46",
51
+ "@progress/kendo-angular-utils": "17.0.0-develop.46",
52
52
  "rxjs": "^6.5.3 || ^7.0.0"
53
53
  },
54
54
  "dependencies": {
55
55
  "tslib": "^2.3.1",
56
- "@progress/kendo-angular-schematics": "17.0.0-develop.43",
56
+ "@progress/kendo-angular-schematics": "17.0.0-develop.46",
57
57
  "@progress/kendo-common": "^1.0.1",
58
58
  "@progress/kendo-file-saver": "^1.0.0"
59
59
  },
@@ -4,14 +4,14 @@ 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 deps of the dropdowns
7
- '@progress/kendo-angular-treeview': '17.0.0-develop.43',
8
- '@progress/kendo-angular-navigation': '17.0.0-develop.43',
7
+ '@progress/kendo-angular-treeview': '17.0.0-develop.46',
8
+ '@progress/kendo-angular-navigation': '17.0.0-develop.46',
9
9
  // peer dependency of kendo-angular-inputs
10
- '@progress/kendo-angular-dialog': '17.0.0-develop.43',
10
+ '@progress/kendo-angular-dialog': '17.0.0-develop.46',
11
11
  // peer dependency of kendo-angular-icons
12
- '@progress/kendo-svg-icons': '^3.0.0',
12
+ '@progress/kendo-svg-icons': '^4.0.0',
13
13
  // peer dependency of kendo-angular-layout
14
- '@progress/kendo-angular-progressbar': '17.0.0-develop.43'
14
+ '@progress/kendo-angular-progressbar': '17.0.0-develop.46'
15
15
  } });
16
16
  return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
17
17
  }
@@ -2,7 +2,7 @@
2
2
  * Copyright © 2024 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 { OnDestroy, AfterContentChecked, OnChanges, EventEmitter, NgZone } from '@angular/core';
5
+ import { OnDestroy, AfterContentChecked, OnChanges, EventEmitter, NgZone, Renderer2, ElementRef } from '@angular/core';
6
6
  import { SelectionService } from './selection.service';
7
7
  import { SelectAllCheckboxState } from './types';
8
8
  import { CellSelectionService } from './cell-selection.service';
@@ -26,6 +26,8 @@ export declare class SelectAllCheckboxDirective implements AfterContentChecked,
26
26
  private selectionService;
27
27
  private cellSelectionService;
28
28
  private ngZone;
29
+ private element;
30
+ private renderer;
29
31
  private checkbox;
30
32
  /**
31
33
  * Explicitly overrides the state of the select-all checkbox.
@@ -37,10 +39,11 @@ export declare class SelectAllCheckboxDirective implements AfterContentChecked,
37
39
  */
38
40
  selectAllChange: EventEmitter<SelectAllCheckboxState>;
39
41
  private destroyClick;
42
+ private checkboxChange;
40
43
  private stateSet;
41
44
  ngAfterContentChecked(): void;
42
45
  ngOnChanges(): void;
43
- constructor(selectionService: SelectionService, cellSelectionService: CellSelectionService, ngZone: NgZone, checkbox: CheckBoxComponent);
46
+ constructor(selectionService: SelectionService, cellSelectionService: CellSelectionService, ngZone: NgZone, element: ElementRef, renderer: Renderer2, checkbox: CheckBoxComponent);
44
47
  ngOnDestroy(): void;
45
48
  /**
46
49
  * @hidden
@@ -54,6 +57,6 @@ export declare class SelectAllCheckboxDirective implements AfterContentChecked,
54
57
  * @hidden
55
58
  */
56
59
  private stateToBool;
57
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectAllCheckboxDirective, [null, null, null, { optional: true; host: true; }]>;
60
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectAllCheckboxDirective, [null, null, null, null, null, { optional: true; host: true; }]>;
58
61
  static ɵdir: i0.ɵɵDirectiveDeclaration<SelectAllCheckboxDirective, "[kendoGridSelectAllCheckbox]", never, { "state": { "alias": "state"; "required": false; }; }, { "selectAllChange": "selectAllChange"; }, never, never, true, never>;
59
62
  }
@@ -11,7 +11,7 @@ import * as i0 from "@angular/core";
11
11
  /**
12
12
  * Represents the row-selection checkbox of the Grid. The directive expects the
13
13
  * index of the current row as an input parameter. Inside the [`CellTemplateDirective`](slug:api_grid_celltemplatedirective), apply the
14
- * `kendoGridSelectionCheckbox` to an `<input type="checkbox"/>` element. When the user clicks the checkbox that is associated
14
+ * `kendoGridSelectionCheckbox` to a `<kendo-checkbox></kendo-checkbox>` or an `<input type="checkbox"/>` element. When the user clicks the checkbox that is associated
15
15
  * with the directive, a [selectionChange](slug:api_grid_gridcomponent#toc-selectionChange)
16
16
  * event is triggered.
17
17
  *