@progress/kendo-angular-grid 7.2.2 → 7.2.4-dev.202207260908
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/bundles/kendo-angular-grid.umd.js +1 -1
- package/column-menu/column-menu-settings.interface.d.ts +0 -2
- package/esm2015/column-menu/column-menu-item.component.js +4 -4
- package/esm2015/column-menu/column-menu.component.js +2 -2
- package/esm2015/filtering/menu/filter-menu.component.js +2 -2
- package/esm2015/grid.component.js +4 -4
- package/esm2015/main.js +1 -0
- package/esm2015/navigation/logical-cell.directive.js +2 -2
- package/esm2015/package-metadata.js +1 -1
- package/esm2015/pager/pager-next-buttons.component.js +4 -4
- package/esm2015/pager/pager-numeric-buttons.component.js +4 -4
- package/esm2015/pager/pager-prev-buttons.component.js +4 -4
- package/esm2015/pager/pager.component.js +2 -2
- package/esm2015/rendering/table-body.component.js +4 -4
- package/fesm2015/kendo-angular-grid.js +34 -34
- package/main.d.ts +1 -0
- package/package.json +1 -1
|
@@ -7,7 +7,6 @@ import { ExpandableColumnMenuItem } from "./column-menu-expandable-item.interfac
|
|
|
7
7
|
* The settings of the column menu in the Grid component.
|
|
8
8
|
*
|
|
9
9
|
* @example
|
|
10
|
-
* {% meta height:300 %}
|
|
11
10
|
* ```ts-preview
|
|
12
11
|
*
|
|
13
12
|
* _@Component({
|
|
@@ -25,7 +24,6 @@ import { ExpandableColumnMenuItem } from "./column-menu-expandable-item.interfac
|
|
|
25
24
|
* }
|
|
26
25
|
*
|
|
27
26
|
* ```
|
|
28
|
-
* {% endmeta %}
|
|
29
27
|
*/
|
|
30
28
|
export interface ColumnMenuSettings {
|
|
31
29
|
/**
|
|
@@ -85,8 +85,8 @@ ColumnMenuItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
85
85
|
class="k-columnmenu-item"
|
|
86
86
|
(click)="onClick($event)"
|
|
87
87
|
(keydown.enter)="onClick($event)"
|
|
88
|
-
[class.k-
|
|
89
|
-
[class.k-
|
|
88
|
+
[class.k-selected]="selected"
|
|
89
|
+
[class.k-disabled]="disabled"
|
|
90
90
|
role="button"
|
|
91
91
|
[attr.aria-expanded]="expanded">
|
|
92
92
|
<span *ngIf="icon" class="k-icon" [ngClass]="iconClass">
|
|
@@ -152,8 +152,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
152
152
|
class="k-columnmenu-item"
|
|
153
153
|
(click)="onClick($event)"
|
|
154
154
|
(keydown.enter)="onClick($event)"
|
|
155
|
-
[class.k-
|
|
156
|
-
[class.k-
|
|
155
|
+
[class.k-selected]="selected"
|
|
156
|
+
[class.k-disabled]="disabled"
|
|
157
157
|
role="button"
|
|
158
158
|
[attr.aria-expanded]="expanded">
|
|
159
159
|
<span *ngIf="icon" class="k-icon" [ngClass]="iconClass">
|
|
@@ -168,7 +168,7 @@ ColumnMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
168
168
|
], viewQueries: [{ propertyName: "anchor", first: true, predicate: ["anchor"], descendants: true, static: true }, { propertyName: "template", first: true, predicate: ["template"], descendants: true, read: TemplateRef, static: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
169
169
|
<a #anchor
|
|
170
170
|
class="k-grid-column-menu k-grid-filter"
|
|
171
|
-
[ngClass]="{ 'k-
|
|
171
|
+
[ngClass]="{ 'k-active': isActive }"
|
|
172
172
|
(click)="toggle($event, anchor, template)"
|
|
173
173
|
(keydown.enter)="$event.stopImmediatePropagation()"
|
|
174
174
|
href="#"
|
|
@@ -229,7 +229,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
229
229
|
template: `
|
|
230
230
|
<a #anchor
|
|
231
231
|
class="k-grid-column-menu k-grid-filter"
|
|
232
|
-
[ngClass]="{ 'k-
|
|
232
|
+
[ngClass]="{ 'k-active': isActive }"
|
|
233
233
|
(click)="toggle($event, anchor, template)"
|
|
234
234
|
(keydown.enter)="$event.stopImmediatePropagation()"
|
|
235
235
|
href="#"
|
|
@@ -59,7 +59,7 @@ export class FilterMenuComponent {
|
|
|
59
59
|
FilterMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FilterMenuComponent, deps: [{ token: i1.FilterService }, { token: i2.SinglePopupService }, { token: i3.LocalizationService }, { token: i4.NavigationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
60
60
|
FilterMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FilterMenuComponent, selector: "kendo-grid-filter-menu", inputs: { column: "column", filter: "filter", tabIndex: "tabIndex" }, viewQueries: [{ propertyName: "anchor", first: true, predicate: ["anchor"], descendants: true, static: true }, { propertyName: "template", first: true, predicate: ["template"], descendants: true, read: TemplateRef, static: true }], ngImport: i0, template: `
|
|
61
61
|
<a #anchor
|
|
62
|
-
[ngClass]="{'k-grid-filter':true, 'k-
|
|
62
|
+
[ngClass]="{'k-grid-filter':true, 'k-active': hasFilters}"
|
|
63
63
|
[tabindex]="tabIndex"
|
|
64
64
|
(click)="toggle(anchor, template)"
|
|
65
65
|
(keydown.enter)="$event.stopImmediatePropagation()"
|
|
@@ -84,7 +84,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
84
84
|
selector: 'kendo-grid-filter-menu',
|
|
85
85
|
template: `
|
|
86
86
|
<a #anchor
|
|
87
|
-
[ngClass]="{'k-grid-filter':true, 'k-
|
|
87
|
+
[ngClass]="{'k-grid-filter':true, 'k-active': hasFilters}"
|
|
88
88
|
[tabindex]="tabIndex"
|
|
89
89
|
(click)="toggle(anchor, template)"
|
|
90
90
|
(keydown.enter)="$event.stopImmediatePropagation()"
|
|
@@ -661,7 +661,7 @@ export class GridComponent {
|
|
|
661
661
|
* ```
|
|
662
662
|
*/
|
|
663
663
|
set rowClass(fn) {
|
|
664
|
-
if (isDevMode && typeof fn !== 'function') {
|
|
664
|
+
if (isDevMode() && typeof fn !== 'function') {
|
|
665
665
|
throw new Error(`rowClass must be a function, but received ${JSON.stringify(fn)}.`);
|
|
666
666
|
}
|
|
667
667
|
this._rowClass = fn;
|
|
@@ -674,7 +674,7 @@ export class GridComponent {
|
|
|
674
674
|
* and determines whether the row will be sticky, i.e. always visible after scrolling.
|
|
675
675
|
*/
|
|
676
676
|
set rowSticky(fn) {
|
|
677
|
-
if (isDevMode && isPresent(fn) && typeof fn !== 'function') {
|
|
677
|
+
if (isDevMode() && isPresent(fn) && typeof fn !== 'function') {
|
|
678
678
|
throw new Error(`rowSticky must be a function, but received ${JSON.stringify(fn)}.`);
|
|
679
679
|
}
|
|
680
680
|
if (isPresent(fn)) {
|
|
@@ -690,7 +690,7 @@ export class GridComponent {
|
|
|
690
690
|
* Determines whether the row will be selected.
|
|
691
691
|
*/
|
|
692
692
|
set rowSelected(fn) {
|
|
693
|
-
if (isDevMode && typeof fn !== 'function') {
|
|
693
|
+
if (isDevMode() && typeof fn !== 'function') {
|
|
694
694
|
throw new Error(`rowSelected must be a function, but received ${JSON.stringify(fn)}.`);
|
|
695
695
|
}
|
|
696
696
|
this._rowSelected = fn;
|
|
@@ -707,7 +707,7 @@ export class GridComponent {
|
|
|
707
707
|
* as part of a change detection cycle. ([see example]({% slug grid_selection_custom %}#toc-setting-the-selected-cells))
|
|
708
708
|
*/
|
|
709
709
|
set cellSelected(fn) {
|
|
710
|
-
if (isDevMode && typeof fn !== 'function') {
|
|
710
|
+
if (isDevMode() && typeof fn !== 'function') {
|
|
711
711
|
throw new Error(`cellSelected must be a function, but received ${JSON.stringify(fn)}.`);
|
|
712
712
|
}
|
|
713
713
|
this._cellSelected = fn;
|
package/esm2015/main.js
CHANGED
|
@@ -36,6 +36,7 @@ export { NoRecordsTemplateDirective } from './rendering/no-records-template.dire
|
|
|
36
36
|
export { DataBindingDirective } from './databinding.directive';
|
|
37
37
|
export { SelectionDirective } from './selection/selection.directive';
|
|
38
38
|
export { FilterService } from './filtering/filter.service';
|
|
39
|
+
export { ContextService } from './common/provider.service';
|
|
39
40
|
export { LocalDataChangesService } from './editing/local-data-changes.service';
|
|
40
41
|
export { FilterCellTemplateDirective } from './filtering/cell/filter-cell-template.directive';
|
|
41
42
|
export { FilterCellComponent } from './filtering/cell/filter-cell.component';
|
|
@@ -102,14 +102,14 @@ export class LogicalCellDirective {
|
|
|
102
102
|
if (!this.logicalSlaveCell && this.navigationService.autoFocusCell(this.logicalColIndex, this.logicalColIndex + this.colSpan - 1)) {
|
|
103
103
|
this.microtask(() => this.isFocused() && el.focus());
|
|
104
104
|
}
|
|
105
|
-
this.renderer.addClass(el, 'k-
|
|
105
|
+
this.renderer.addClass(el, 'k-focus');
|
|
106
106
|
}
|
|
107
107
|
if (this.headerLabelText) {
|
|
108
108
|
el.setAttribute('aria-label', '');
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
else {
|
|
112
|
-
this.renderer.removeClass(el, 'k-
|
|
112
|
+
this.renderer.removeClass(el, 'k-focus');
|
|
113
113
|
if (this.headerLabelText) {
|
|
114
114
|
el.setAttribute('aria-label', this.headerLabelText);
|
|
115
115
|
}
|
|
@@ -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:
|
|
12
|
+
publishDate: 1658826275,
|
|
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
|
};
|
|
@@ -47,7 +47,7 @@ PagerNextButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
47
47
|
[ngClass]="{
|
|
48
48
|
'k-link': true,
|
|
49
49
|
'k-pager-nav': true,
|
|
50
|
-
'k-
|
|
50
|
+
'k-disabled': disabled,
|
|
51
51
|
'': true
|
|
52
52
|
}">
|
|
53
53
|
<span role="note" [attr.aria-label]="textFor('pagerNextPage')"
|
|
@@ -67,7 +67,7 @@ PagerNextButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
67
67
|
[ngClass]="{
|
|
68
68
|
'k-link': true,
|
|
69
69
|
'k-pager-nav': true,
|
|
70
|
-
'k-
|
|
70
|
+
'k-disabled': disabled,
|
|
71
71
|
'k-pager-last': true
|
|
72
72
|
}">
|
|
73
73
|
<span role="note" [attr.aria-label]="textFor('pagerLastPage')"
|
|
@@ -94,7 +94,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
94
94
|
[ngClass]="{
|
|
95
95
|
'k-link': true,
|
|
96
96
|
'k-pager-nav': true,
|
|
97
|
-
'k-
|
|
97
|
+
'k-disabled': disabled,
|
|
98
98
|
'': true
|
|
99
99
|
}">
|
|
100
100
|
<span role="note" [attr.aria-label]="textFor('pagerNextPage')"
|
|
@@ -114,7 +114,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
114
114
|
[ngClass]="{
|
|
115
115
|
'k-link': true,
|
|
116
116
|
'k-pager-nav': true,
|
|
117
|
-
'k-
|
|
117
|
+
'k-disabled': disabled,
|
|
118
118
|
'k-pager-last': true
|
|
119
119
|
}">
|
|
120
120
|
<span role="note" [attr.aria-label]="textFor('pagerLastPage')"
|
|
@@ -103,7 +103,7 @@ PagerNumericButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
|
|
|
103
103
|
[selected]="num === currentPage"
|
|
104
104
|
[attr.aria-label]="pageLabel(num)"
|
|
105
105
|
[attr.aria-current]="currentPage === num ? 'page' : undefined"
|
|
106
|
-
[ngClass]="{'k-link': true, 'k-
|
|
106
|
+
[ngClass]="{'k-link': true, 'k-selected':currentPage === num}">
|
|
107
107
|
{{num}}
|
|
108
108
|
</option>
|
|
109
109
|
<option *ngIf="end < totalPages"
|
|
@@ -130,7 +130,7 @@ PagerNumericButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
|
|
|
130
130
|
tabindex="0"
|
|
131
131
|
role="button"
|
|
132
132
|
[attr.aria-label]="pageLabel(num)"
|
|
133
|
-
[ngClass]="{'k-link': true, 'k-
|
|
133
|
+
[ngClass]="{'k-link': true, 'k-selected':currentPage === num, 'k-pager-nav': true}"
|
|
134
134
|
(click)="changePage(num - 1)"
|
|
135
135
|
(keydown.enter)="changePage(num - 1)">
|
|
136
136
|
{{num}}
|
|
@@ -170,7 +170,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
170
170
|
[selected]="num === currentPage"
|
|
171
171
|
[attr.aria-label]="pageLabel(num)"
|
|
172
172
|
[attr.aria-current]="currentPage === num ? 'page' : undefined"
|
|
173
|
-
[ngClass]="{'k-link': true, 'k-
|
|
173
|
+
[ngClass]="{'k-link': true, 'k-selected':currentPage === num}">
|
|
174
174
|
{{num}}
|
|
175
175
|
</option>
|
|
176
176
|
<option *ngIf="end < totalPages"
|
|
@@ -197,7 +197,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
197
197
|
tabindex="0"
|
|
198
198
|
role="button"
|
|
199
199
|
[attr.aria-label]="pageLabel(num)"
|
|
200
|
-
[ngClass]="{'k-link': true, 'k-
|
|
200
|
+
[ngClass]="{'k-link': true, 'k-selected':currentPage === num, 'k-pager-nav': true}"
|
|
201
201
|
(click)="changePage(num - 1)"
|
|
202
202
|
(keydown.enter)="changePage(num - 1)">
|
|
203
203
|
{{num}}
|
|
@@ -46,7 +46,7 @@ PagerPrevButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
46
46
|
[ngClass]="{
|
|
47
47
|
'k-link': true,
|
|
48
48
|
'k-pager-nav': true,
|
|
49
|
-
'k-
|
|
49
|
+
'k-disabled': disabled,
|
|
50
50
|
'k-pager-first': true
|
|
51
51
|
}">
|
|
52
52
|
<span role="note"
|
|
@@ -66,7 +66,7 @@ PagerPrevButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
66
66
|
[ngClass]="{
|
|
67
67
|
'k-link': true,
|
|
68
68
|
'k-pager-nav': true,
|
|
69
|
-
'k-
|
|
69
|
+
'k-disabled': disabled,
|
|
70
70
|
'': true
|
|
71
71
|
}">
|
|
72
72
|
<span role="note"
|
|
@@ -93,7 +93,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
93
93
|
[ngClass]="{
|
|
94
94
|
'k-link': true,
|
|
95
95
|
'k-pager-nav': true,
|
|
96
|
-
'k-
|
|
96
|
+
'k-disabled': disabled,
|
|
97
97
|
'k-pager-first': true
|
|
98
98
|
}">
|
|
99
99
|
<span role="note"
|
|
@@ -113,7 +113,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
113
113
|
[ngClass]="{
|
|
114
114
|
'k-link': true,
|
|
115
115
|
'k-pager-nav': true,
|
|
116
|
-
'k-
|
|
116
|
+
'k-disabled': disabled,
|
|
117
117
|
'': true
|
|
118
118
|
}">
|
|
119
119
|
<span role="note"
|
|
@@ -229,7 +229,7 @@ export class PagerComponent {
|
|
|
229
229
|
}
|
|
230
230
|
}
|
|
231
231
|
PagerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: PagerComponent, deps: [{ token: i1.PagerContextService }, { token: i2.NavigationService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i3.LocalizationService }, { token: CELL_CONTEXT, optional: true }, { token: i4.FocusRoot }, { token: i5.FocusGroup }], target: i0.ɵɵFactoryTarget.Component });
|
|
232
|
-
PagerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: PagerComponent, selector: "kendo-pager", inputs: { total: "total", skip: "skip", pageSize: "pageSize", options: "options", template: "template" }, outputs: { pageChange: "pageChange" }, host: { listeners: { "focusin": "onFocusIn($event)", "focusout": "onFocusOut()", "keydown.escape": "onEscape()", "keydown.enter": "onEnter($event)", "keydown.arrowleft": "navigateToPreviousPage($event)", "keydown.pageup": "navigateToPreviousPage($event)", "keydown.arrowright": "navigateToNextPage($event)", "keydown.pagedown": "navigateToNextPage($event)", "keydown.home": "navigateToFirstPage($event)", "keydown.end": "navigateToLastPage($event)" }, properties: { "class.k-pager-wrap": "this.pagerWrapClass", "class.k-grid-pager": "this.gridPagerClass", "class.k-
|
|
232
|
+
PagerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: PagerComponent, selector: "kendo-pager", inputs: { total: "total", skip: "skip", pageSize: "pageSize", options: "options", template: "template" }, outputs: { pageChange: "pageChange" }, host: { listeners: { "focusin": "onFocusIn($event)", "focusout": "onFocusOut()", "keydown.escape": "onEscape()", "keydown.enter": "onEnter($event)", "keydown.arrowleft": "navigateToPreviousPage($event)", "keydown.pageup": "navigateToPreviousPage($event)", "keydown.arrowright": "navigateToNextPage($event)", "keydown.pagedown": "navigateToNextPage($event)", "keydown.home": "navigateToFirstPage($event)", "keydown.end": "navigateToLastPage($event)" }, properties: { "class.k-pager-wrap": "this.pagerWrapClass", "class.k-grid-pager": "this.gridPagerClass", "class.k-focus": "this.isFocused", "attr.aria-label": "this.pagerAriaLabel" } }, providers: [{
|
|
233
233
|
provide: FOCUS_ROOT_ACTIVE,
|
|
234
234
|
useValue: true
|
|
235
235
|
}, {
|
|
@@ -356,7 +356,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
356
356
|
args: ['class.k-grid-pager']
|
|
357
357
|
}], isFocused: [{
|
|
358
358
|
type: HostBinding,
|
|
359
|
-
args: ['class.k-
|
|
359
|
+
args: ['class.k-focus']
|
|
360
360
|
}], pagerAriaLabel: [{
|
|
361
361
|
type: HostBinding,
|
|
362
362
|
args: ['attr.aria-label']
|
|
@@ -445,7 +445,7 @@ TableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
445
445
|
[class.k-master-row]="detailTemplate?.templateRef"
|
|
446
446
|
[class.k-grid-edit-row]="isEditingRow($any(item).index)"
|
|
447
447
|
[attr.data-kendo-grid-item-index]="$any(item).index"
|
|
448
|
-
[class.k-
|
|
448
|
+
[class.k-selected]="isSelectable() && isRowSelected(item)">
|
|
449
449
|
<ng-container *ngIf="!skipGroupDecoration">
|
|
450
450
|
<td class="k-group-cell" *ngFor="let g of groups" role="presentation"></td>
|
|
451
451
|
</ng-container>
|
|
@@ -492,7 +492,7 @@ TableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
492
492
|
[class.k-grid-edit-cell]="isEditingCell($any(item).index, column)"
|
|
493
493
|
[ngStyle]="column.sticky ? addStickyColumnStyles(column) : column.style"
|
|
494
494
|
[attr.colspan]="column.colspan"
|
|
495
|
-
[class.k-
|
|
495
|
+
[class.k-selected]="isSelectable && cellSelectionService.isCellSelected(item, column)"
|
|
496
496
|
*ngFor="let column of columns; let columnIndex = index; trackBy: trackByColumns;">
|
|
497
497
|
</td>
|
|
498
498
|
</tr>
|
|
@@ -664,7 +664,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
664
664
|
[class.k-master-row]="detailTemplate?.templateRef"
|
|
665
665
|
[class.k-grid-edit-row]="isEditingRow($any(item).index)"
|
|
666
666
|
[attr.data-kendo-grid-item-index]="$any(item).index"
|
|
667
|
-
[class.k-
|
|
667
|
+
[class.k-selected]="isSelectable() && isRowSelected(item)">
|
|
668
668
|
<ng-container *ngIf="!skipGroupDecoration">
|
|
669
669
|
<td class="k-group-cell" *ngFor="let g of groups" role="presentation"></td>
|
|
670
670
|
</ng-container>
|
|
@@ -711,7 +711,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
711
711
|
[class.k-grid-edit-cell]="isEditingCell($any(item).index, column)"
|
|
712
712
|
[ngStyle]="column.sticky ? addStickyColumnStyles(column) : column.style"
|
|
713
713
|
[attr.colspan]="column.colspan"
|
|
714
|
-
[class.k-
|
|
714
|
+
[class.k-selected]="isSelectable && cellSelectionService.isCellSelected(item, column)"
|
|
715
715
|
*ngFor="let column of columns; let columnIndex = index; trackBy: trackByColumns;">
|
|
716
716
|
</td>
|
|
717
717
|
</tr>
|
|
@@ -2835,7 +2835,7 @@ const packageMetadata = {
|
|
|
2835
2835
|
name: '@progress/kendo-angular-grid',
|
|
2836
2836
|
productName: 'Kendo UI for Angular',
|
|
2837
2837
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
2838
|
-
publishDate:
|
|
2838
|
+
publishDate: 1658826275,
|
|
2839
2839
|
version: '',
|
|
2840
2840
|
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'
|
|
2841
2841
|
};
|
|
@@ -6799,7 +6799,7 @@ PagerPrevButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
6799
6799
|
[ngClass]="{
|
|
6800
6800
|
'k-link': true,
|
|
6801
6801
|
'k-pager-nav': true,
|
|
6802
|
-
'k-
|
|
6802
|
+
'k-disabled': disabled,
|
|
6803
6803
|
'k-pager-first': true
|
|
6804
6804
|
}">
|
|
6805
6805
|
<span role="note"
|
|
@@ -6819,7 +6819,7 @@ PagerPrevButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
6819
6819
|
[ngClass]="{
|
|
6820
6820
|
'k-link': true,
|
|
6821
6821
|
'k-pager-nav': true,
|
|
6822
|
-
'k-
|
|
6822
|
+
'k-disabled': disabled,
|
|
6823
6823
|
'': true
|
|
6824
6824
|
}">
|
|
6825
6825
|
<span role="note"
|
|
@@ -6846,7 +6846,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
6846
6846
|
[ngClass]="{
|
|
6847
6847
|
'k-link': true,
|
|
6848
6848
|
'k-pager-nav': true,
|
|
6849
|
-
'k-
|
|
6849
|
+
'k-disabled': disabled,
|
|
6850
6850
|
'k-pager-first': true
|
|
6851
6851
|
}">
|
|
6852
6852
|
<span role="note"
|
|
@@ -6866,7 +6866,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
6866
6866
|
[ngClass]="{
|
|
6867
6867
|
'k-link': true,
|
|
6868
6868
|
'k-pager-nav': true,
|
|
6869
|
-
'k-
|
|
6869
|
+
'k-disabled': disabled,
|
|
6870
6870
|
'': true
|
|
6871
6871
|
}">
|
|
6872
6872
|
<span role="note"
|
|
@@ -6975,7 +6975,7 @@ PagerNumericButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
|
|
|
6975
6975
|
[selected]="num === currentPage"
|
|
6976
6976
|
[attr.aria-label]="pageLabel(num)"
|
|
6977
6977
|
[attr.aria-current]="currentPage === num ? 'page' : undefined"
|
|
6978
|
-
[ngClass]="{'k-link': true, 'k-
|
|
6978
|
+
[ngClass]="{'k-link': true, 'k-selected':currentPage === num}">
|
|
6979
6979
|
{{num}}
|
|
6980
6980
|
</option>
|
|
6981
6981
|
<option *ngIf="end < totalPages"
|
|
@@ -7002,7 +7002,7 @@ PagerNumericButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12
|
|
|
7002
7002
|
tabindex="0"
|
|
7003
7003
|
role="button"
|
|
7004
7004
|
[attr.aria-label]="pageLabel(num)"
|
|
7005
|
-
[ngClass]="{'k-link': true, 'k-
|
|
7005
|
+
[ngClass]="{'k-link': true, 'k-selected':currentPage === num, 'k-pager-nav': true}"
|
|
7006
7006
|
(click)="changePage(num - 1)"
|
|
7007
7007
|
(keydown.enter)="changePage(num - 1)">
|
|
7008
7008
|
{{num}}
|
|
@@ -7042,7 +7042,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
7042
7042
|
[selected]="num === currentPage"
|
|
7043
7043
|
[attr.aria-label]="pageLabel(num)"
|
|
7044
7044
|
[attr.aria-current]="currentPage === num ? 'page' : undefined"
|
|
7045
|
-
[ngClass]="{'k-link': true, 'k-
|
|
7045
|
+
[ngClass]="{'k-link': true, 'k-selected':currentPage === num}">
|
|
7046
7046
|
{{num}}
|
|
7047
7047
|
</option>
|
|
7048
7048
|
<option *ngIf="end < totalPages"
|
|
@@ -7069,7 +7069,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
7069
7069
|
tabindex="0"
|
|
7070
7070
|
role="button"
|
|
7071
7071
|
[attr.aria-label]="pageLabel(num)"
|
|
7072
|
-
[ngClass]="{'k-link': true, 'k-
|
|
7072
|
+
[ngClass]="{'k-link': true, 'k-selected':currentPage === num, 'k-pager-nav': true}"
|
|
7073
7073
|
(click)="changePage(num - 1)"
|
|
7074
7074
|
(keydown.enter)="changePage(num - 1)">
|
|
7075
7075
|
{{num}}
|
|
@@ -7323,7 +7323,7 @@ PagerNextButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
7323
7323
|
[ngClass]="{
|
|
7324
7324
|
'k-link': true,
|
|
7325
7325
|
'k-pager-nav': true,
|
|
7326
|
-
'k-
|
|
7326
|
+
'k-disabled': disabled,
|
|
7327
7327
|
'': true
|
|
7328
7328
|
}">
|
|
7329
7329
|
<span role="note" [attr.aria-label]="textFor('pagerNextPage')"
|
|
@@ -7343,7 +7343,7 @@ PagerNextButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
|
|
|
7343
7343
|
[ngClass]="{
|
|
7344
7344
|
'k-link': true,
|
|
7345
7345
|
'k-pager-nav': true,
|
|
7346
|
-
'k-
|
|
7346
|
+
'k-disabled': disabled,
|
|
7347
7347
|
'k-pager-last': true
|
|
7348
7348
|
}">
|
|
7349
7349
|
<span role="note" [attr.aria-label]="textFor('pagerLastPage')"
|
|
@@ -7370,7 +7370,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
7370
7370
|
[ngClass]="{
|
|
7371
7371
|
'k-link': true,
|
|
7372
7372
|
'k-pager-nav': true,
|
|
7373
|
-
'k-
|
|
7373
|
+
'k-disabled': disabled,
|
|
7374
7374
|
'': true
|
|
7375
7375
|
}">
|
|
7376
7376
|
<span role="note" [attr.aria-label]="textFor('pagerNextPage')"
|
|
@@ -7390,7 +7390,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
7390
7390
|
[ngClass]="{
|
|
7391
7391
|
'k-link': true,
|
|
7392
7392
|
'k-pager-nav': true,
|
|
7393
|
-
'k-
|
|
7393
|
+
'k-disabled': disabled,
|
|
7394
7394
|
'k-pager-last': true
|
|
7395
7395
|
}">
|
|
7396
7396
|
<span role="note" [attr.aria-label]="textFor('pagerLastPage')"
|
|
@@ -7912,7 +7912,7 @@ class PagerComponent {
|
|
|
7912
7912
|
}
|
|
7913
7913
|
}
|
|
7914
7914
|
PagerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: PagerComponent, deps: [{ token: PagerContextService }, { token: NavigationService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i1.LocalizationService }, { token: CELL_CONTEXT, optional: true }, { token: FocusRoot }, { token: FocusGroup }], target: i0.ɵɵFactoryTarget.Component });
|
|
7915
|
-
PagerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: PagerComponent, selector: "kendo-pager", inputs: { total: "total", skip: "skip", pageSize: "pageSize", options: "options", template: "template" }, outputs: { pageChange: "pageChange" }, host: { listeners: { "focusin": "onFocusIn($event)", "focusout": "onFocusOut()", "keydown.escape": "onEscape()", "keydown.enter": "onEnter($event)", "keydown.arrowleft": "navigateToPreviousPage($event)", "keydown.pageup": "navigateToPreviousPage($event)", "keydown.arrowright": "navigateToNextPage($event)", "keydown.pagedown": "navigateToNextPage($event)", "keydown.home": "navigateToFirstPage($event)", "keydown.end": "navigateToLastPage($event)" }, properties: { "class.k-pager-wrap": "this.pagerWrapClass", "class.k-grid-pager": "this.gridPagerClass", "class.k-
|
|
7915
|
+
PagerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: PagerComponent, selector: "kendo-pager", inputs: { total: "total", skip: "skip", pageSize: "pageSize", options: "options", template: "template" }, outputs: { pageChange: "pageChange" }, host: { listeners: { "focusin": "onFocusIn($event)", "focusout": "onFocusOut()", "keydown.escape": "onEscape()", "keydown.enter": "onEnter($event)", "keydown.arrowleft": "navigateToPreviousPage($event)", "keydown.pageup": "navigateToPreviousPage($event)", "keydown.arrowright": "navigateToNextPage($event)", "keydown.pagedown": "navigateToNextPage($event)", "keydown.home": "navigateToFirstPage($event)", "keydown.end": "navigateToLastPage($event)" }, properties: { "class.k-pager-wrap": "this.pagerWrapClass", "class.k-grid-pager": "this.gridPagerClass", "class.k-focus": "this.isFocused", "attr.aria-label": "this.pagerAriaLabel" } }, providers: [{
|
|
7916
7916
|
provide: FOCUS_ROOT_ACTIVE,
|
|
7917
7917
|
useValue: true
|
|
7918
7918
|
}, {
|
|
@@ -8039,7 +8039,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
8039
8039
|
args: ['class.k-grid-pager']
|
|
8040
8040
|
}], isFocused: [{
|
|
8041
8041
|
type: HostBinding,
|
|
8042
|
-
args: ['class.k-
|
|
8042
|
+
args: ['class.k-focus']
|
|
8043
8043
|
}], pagerAriaLabel: [{
|
|
8044
8044
|
type: HostBinding,
|
|
8045
8045
|
args: ['attr.aria-label']
|
|
@@ -11024,7 +11024,7 @@ class FilterMenuComponent {
|
|
|
11024
11024
|
FilterMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FilterMenuComponent, deps: [{ token: FilterService }, { token: SinglePopupService }, { token: i1.LocalizationService }, { token: NavigationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
11025
11025
|
FilterMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FilterMenuComponent, selector: "kendo-grid-filter-menu", inputs: { column: "column", filter: "filter", tabIndex: "tabIndex" }, viewQueries: [{ propertyName: "anchor", first: true, predicate: ["anchor"], descendants: true, static: true }, { propertyName: "template", first: true, predicate: ["template"], descendants: true, read: TemplateRef, static: true }], ngImport: i0, template: `
|
|
11026
11026
|
<a #anchor
|
|
11027
|
-
[ngClass]="{'k-grid-filter':true, 'k-
|
|
11027
|
+
[ngClass]="{'k-grid-filter':true, 'k-active': hasFilters}"
|
|
11028
11028
|
[tabindex]="tabIndex"
|
|
11029
11029
|
(click)="toggle(anchor, template)"
|
|
11030
11030
|
(keydown.enter)="$event.stopImmediatePropagation()"
|
|
@@ -11049,7 +11049,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
11049
11049
|
selector: 'kendo-grid-filter-menu',
|
|
11050
11050
|
template: `
|
|
11051
11051
|
<a #anchor
|
|
11052
|
-
[ngClass]="{'k-grid-filter':true, 'k-
|
|
11052
|
+
[ngClass]="{'k-grid-filter':true, 'k-active': hasFilters}"
|
|
11053
11053
|
[tabindex]="tabIndex"
|
|
11054
11054
|
(click)="toggle(anchor, template)"
|
|
11055
11055
|
(keydown.enter)="$event.stopImmediatePropagation()"
|
|
@@ -11297,8 +11297,8 @@ ColumnMenuItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
11297
11297
|
class="k-columnmenu-item"
|
|
11298
11298
|
(click)="onClick($event)"
|
|
11299
11299
|
(keydown.enter)="onClick($event)"
|
|
11300
|
-
[class.k-
|
|
11301
|
-
[class.k-
|
|
11300
|
+
[class.k-selected]="selected"
|
|
11301
|
+
[class.k-disabled]="disabled"
|
|
11302
11302
|
role="button"
|
|
11303
11303
|
[attr.aria-expanded]="expanded">
|
|
11304
11304
|
<span *ngIf="icon" class="k-icon" [ngClass]="iconClass">
|
|
@@ -11364,8 +11364,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
11364
11364
|
class="k-columnmenu-item"
|
|
11365
11365
|
(click)="onClick($event)"
|
|
11366
11366
|
(keydown.enter)="onClick($event)"
|
|
11367
|
-
[class.k-
|
|
11368
|
-
[class.k-
|
|
11367
|
+
[class.k-selected]="selected"
|
|
11368
|
+
[class.k-disabled]="disabled"
|
|
11369
11369
|
role="button"
|
|
11370
11370
|
[attr.aria-expanded]="expanded">
|
|
11371
11371
|
<span *ngIf="icon" class="k-icon" [ngClass]="iconClass">
|
|
@@ -12627,7 +12627,7 @@ ColumnMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
12627
12627
|
], viewQueries: [{ propertyName: "anchor", first: true, predicate: ["anchor"], descendants: true, static: true }, { propertyName: "template", first: true, predicate: ["template"], descendants: true, read: TemplateRef, static: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
12628
12628
|
<a #anchor
|
|
12629
12629
|
class="k-grid-column-menu k-grid-filter"
|
|
12630
|
-
[ngClass]="{ 'k-
|
|
12630
|
+
[ngClass]="{ 'k-active': isActive }"
|
|
12631
12631
|
(click)="toggle($event, anchor, template)"
|
|
12632
12632
|
(keydown.enter)="$event.stopImmediatePropagation()"
|
|
12633
12633
|
href="#"
|
|
@@ -12688,7 +12688,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
12688
12688
|
template: `
|
|
12689
12689
|
<a #anchor
|
|
12690
12690
|
class="k-grid-column-menu k-grid-filter"
|
|
12691
|
-
[ngClass]="{ 'k-
|
|
12691
|
+
[ngClass]="{ 'k-active': isActive }"
|
|
12692
12692
|
(click)="toggle($event, anchor, template)"
|
|
12693
12693
|
(keydown.enter)="$event.stopImmediatePropagation()"
|
|
12694
12694
|
href="#"
|
|
@@ -13572,14 +13572,14 @@ class LogicalCellDirective {
|
|
|
13572
13572
|
if (!this.logicalSlaveCell && this.navigationService.autoFocusCell(this.logicalColIndex, this.logicalColIndex + this.colSpan - 1)) {
|
|
13573
13573
|
this.microtask(() => this.isFocused() && el.focus());
|
|
13574
13574
|
}
|
|
13575
|
-
this.renderer.addClass(el, 'k-
|
|
13575
|
+
this.renderer.addClass(el, 'k-focus');
|
|
13576
13576
|
}
|
|
13577
13577
|
if (this.headerLabelText) {
|
|
13578
13578
|
el.setAttribute('aria-label', '');
|
|
13579
13579
|
}
|
|
13580
13580
|
}
|
|
13581
13581
|
else {
|
|
13582
|
-
this.renderer.removeClass(el, 'k-
|
|
13582
|
+
this.renderer.removeClass(el, 'k-focus');
|
|
13583
13583
|
if (this.headerLabelText) {
|
|
13584
13584
|
el.setAttribute('aria-label', this.headerLabelText);
|
|
13585
13585
|
}
|
|
@@ -16383,7 +16383,7 @@ TableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
16383
16383
|
[class.k-master-row]="detailTemplate?.templateRef"
|
|
16384
16384
|
[class.k-grid-edit-row]="isEditingRow($any(item).index)"
|
|
16385
16385
|
[attr.data-kendo-grid-item-index]="$any(item).index"
|
|
16386
|
-
[class.k-
|
|
16386
|
+
[class.k-selected]="isSelectable() && isRowSelected(item)">
|
|
16387
16387
|
<ng-container *ngIf="!skipGroupDecoration">
|
|
16388
16388
|
<td class="k-group-cell" *ngFor="let g of groups" role="presentation"></td>
|
|
16389
16389
|
</ng-container>
|
|
@@ -16430,7 +16430,7 @@ TableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
16430
16430
|
[class.k-grid-edit-cell]="isEditingCell($any(item).index, column)"
|
|
16431
16431
|
[ngStyle]="column.sticky ? addStickyColumnStyles(column) : column.style"
|
|
16432
16432
|
[attr.colspan]="column.colspan"
|
|
16433
|
-
[class.k-
|
|
16433
|
+
[class.k-selected]="isSelectable && cellSelectionService.isCellSelected(item, column)"
|
|
16434
16434
|
*ngFor="let column of columns; let columnIndex = index; trackBy: trackByColumns;">
|
|
16435
16435
|
</td>
|
|
16436
16436
|
</tr>
|
|
@@ -16602,7 +16602,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
16602
16602
|
[class.k-master-row]="detailTemplate?.templateRef"
|
|
16603
16603
|
[class.k-grid-edit-row]="isEditingRow($any(item).index)"
|
|
16604
16604
|
[attr.data-kendo-grid-item-index]="$any(item).index"
|
|
16605
|
-
[class.k-
|
|
16605
|
+
[class.k-selected]="isSelectable() && isRowSelected(item)">
|
|
16606
16606
|
<ng-container *ngIf="!skipGroupDecoration">
|
|
16607
16607
|
<td class="k-group-cell" *ngFor="let g of groups" role="presentation"></td>
|
|
16608
16608
|
</ng-container>
|
|
@@ -16649,7 +16649,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
16649
16649
|
[class.k-grid-edit-cell]="isEditingCell($any(item).index, column)"
|
|
16650
16650
|
[ngStyle]="column.sticky ? addStickyColumnStyles(column) : column.style"
|
|
16651
16651
|
[attr.colspan]="column.colspan"
|
|
16652
|
-
[class.k-
|
|
16652
|
+
[class.k-selected]="isSelectable && cellSelectionService.isCellSelected(item, column)"
|
|
16653
16653
|
*ngFor="let column of columns; let columnIndex = index; trackBy: trackByColumns;">
|
|
16654
16654
|
</td>
|
|
16655
16655
|
</tr>
|
|
@@ -18672,7 +18672,7 @@ class GridComponent {
|
|
|
18672
18672
|
* ```
|
|
18673
18673
|
*/
|
|
18674
18674
|
set rowClass(fn) {
|
|
18675
|
-
if (isDevMode && typeof fn !== 'function') {
|
|
18675
|
+
if (isDevMode() && typeof fn !== 'function') {
|
|
18676
18676
|
throw new Error(`rowClass must be a function, but received ${JSON.stringify(fn)}.`);
|
|
18677
18677
|
}
|
|
18678
18678
|
this._rowClass = fn;
|
|
@@ -18685,7 +18685,7 @@ class GridComponent {
|
|
|
18685
18685
|
* and determines whether the row will be sticky, i.e. always visible after scrolling.
|
|
18686
18686
|
*/
|
|
18687
18687
|
set rowSticky(fn) {
|
|
18688
|
-
if (isDevMode && isPresent(fn) && typeof fn !== 'function') {
|
|
18688
|
+
if (isDevMode() && isPresent(fn) && typeof fn !== 'function') {
|
|
18689
18689
|
throw new Error(`rowSticky must be a function, but received ${JSON.stringify(fn)}.`);
|
|
18690
18690
|
}
|
|
18691
18691
|
if (isPresent(fn)) {
|
|
@@ -18701,7 +18701,7 @@ class GridComponent {
|
|
|
18701
18701
|
* Determines whether the row will be selected.
|
|
18702
18702
|
*/
|
|
18703
18703
|
set rowSelected(fn) {
|
|
18704
|
-
if (isDevMode && typeof fn !== 'function') {
|
|
18704
|
+
if (isDevMode() && typeof fn !== 'function') {
|
|
18705
18705
|
throw new Error(`rowSelected must be a function, but received ${JSON.stringify(fn)}.`);
|
|
18706
18706
|
}
|
|
18707
18707
|
this._rowSelected = fn;
|
|
@@ -18718,7 +18718,7 @@ class GridComponent {
|
|
|
18718
18718
|
* as part of a change detection cycle. ([see example]({% slug grid_selection_custom %}#toc-setting-the-selected-cells))
|
|
18719
18719
|
*/
|
|
18720
18720
|
set cellSelected(fn) {
|
|
18721
|
-
if (isDevMode && typeof fn !== 'function') {
|
|
18721
|
+
if (isDevMode() && typeof fn !== 'function') {
|
|
18722
18722
|
throw new Error(`cellSelected must be a function, but received ${JSON.stringify(fn)}.`);
|
|
18723
18723
|
}
|
|
18724
18724
|
this._cellSelected = fn;
|
|
@@ -25382,5 +25382,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
25382
25382
|
* Generated bundle index. Do not edit.
|
|
25383
25383
|
*/
|
|
25384
25384
|
|
|
25385
|
-
export { AddCommandDirective, AfterEqFilterOperatorComponent, AfterFilterOperatorComponent, AutoCompleteFilterCellComponent, BaseFilterCellComponent, BeforeEqFilterOperatorComponent, BeforeFilterOperatorComponent, BodyModule, BooleanFilterCellComponent, BooleanFilterComponent, BooleanFilterMenuComponent, BooleanFilterRadioButtonDirective, CancelCommandDirective, CellCloseEvent, CellComponent, CellLoadingTemplateDirective, CellTemplateDirective, CheckboxColumnComponent, ColGroupComponent, ColumnBase, ColumnChooserComponent, ColumnComponent, ColumnGroupComponent, ColumnHandleDirective, ColumnInfoService, ColumnLockedChangeEvent, ColumnMenuChooserComponent, ColumnMenuComponent, ColumnMenuContainerComponent, ColumnMenuFilterComponent, ColumnMenuItemComponent, ColumnMenuItemContentTemplateDirective, ColumnMenuItemDirective, ColumnMenuLockComponent, ColumnMenuPositionComponent, ColumnMenuSortComponent, ColumnMenuStickComponent, ColumnMenuTemplateDirective, ColumnReorderEvent, ColumnStickyChangeEvent, ColumnVisibilityChangeEvent, ColumnsContainer, CommandColumnComponent, ContainsFilterOperatorComponent, CustomMessagesComponent, DataBindingDirective, DateFilterCellComponent, DateFilterComponent, DateFilterMenuComponent, DateFilterMenuInputComponent, DetailCollapseEvent, DetailExpandEvent, DetailTemplateDirective, DoesNotContainFilterOperatorComponent, EditCommandDirective, EditTemplateDirective, EditingDirectiveBase, EndsWithFilterOperatorComponent, EqualFilterOperatorComponent, ExcelCommandDirective, ExcelComponent, ExcelExportEvent, ExcelModule, ExcelService, ExpandDetailsDirective, ExpandGroupDirective, FieldAccessorPipe, FilterCellComponent, FilterCellHostDirective, FilterCellOperatorsComponent, FilterCellTemplateDirective, FilterCellWrapperComponent, FilterInputDirective, FilterMenuComponent, FilterMenuContainerComponent, FilterMenuDropDownListDirective, FilterMenuHostDirective, FilterMenuInputWrapperComponent, FilterMenuModule, FilterMenuTemplateDirective, FilterRowComponent, FilterService, FocusableDirective, FooterComponent, FooterModule, FooterTemplateDirective, GreaterFilterOperatorComponent, GreaterOrEqualToFilterOperatorComponent, GridComponent, GridModule, GridSpacerComponent, GroupBindingDirective, GroupFooterTemplateDirective, GroupHeaderColumnTemplateDirective, GroupHeaderComponent, GroupHeaderTemplateDirective, GroupIndicatorComponent, GroupModule, GroupPanelComponent, HeaderComponent, HeaderModule, HeaderTemplateDirective, InCellEditingDirective, IsEmptyFilterOperatorComponent, IsNotEmptyFilterOperatorComponent, IsNotNullFilterOperatorComponent, IsNullFilterOperatorComponent, LessFilterOperatorComponent, LessOrEqualToFilterOperatorComponent, ListComponent, LoadingComponent, LoadingTemplateDirective, LocalDataChangesService, LogicalCellDirective, LogicalRowDirective, MenuTabbingService, NoRecordsTemplateDirective, NotEqualFilterOperatorComponent, NumericFilterCellComponent, NumericFilterMenuComponent, NumericFilterMenuInputComponent, PDFCommandDirective, PDFComponent, PDFMarginComponent, PDFModule, PDFService, PDFTemplateDirective, PagerComponent, PagerDropDownListDirective, PagerInfoComponent, PagerInputComponent, PagerInputDirective, PagerModule, PagerNextButtonsComponent, PagerNumericButtonsComponent, PagerPageSizesComponent, PagerPrevButtonsComponent, PagerTemplateDirective, PopupCloseEvent, ReactiveEditingDirective, RemoveCommandDirective, ResizableContainerDirective, RowEditingDirectiveBase, RowFilterModule, SaveCommandDirective, SelectAllCheckboxDirective, SelectionCheckboxDirective, SelectionDirective, SharedFilterModule, SharedModule, SinglePopupService, Skip, SpanColumnComponent, StartsWithFilterOperatorComponent, StringFilterCellComponent, StringFilterMenuComponent, StringFilterMenuInputComponent, SuspendService, TableBodyComponent, TableDirective, TemplateContextDirective, TemplateEditingDirective, ToolbarComponent, ToolbarTemplateDirective, count, defaultTrackBy, hasFilterMenu, hasFilterRow, isFilterable, slice };
|
|
25385
|
+
export { AddCommandDirective, AfterEqFilterOperatorComponent, AfterFilterOperatorComponent, AutoCompleteFilterCellComponent, BaseFilterCellComponent, BeforeEqFilterOperatorComponent, BeforeFilterOperatorComponent, BodyModule, BooleanFilterCellComponent, BooleanFilterComponent, BooleanFilterMenuComponent, BooleanFilterRadioButtonDirective, CancelCommandDirective, CellCloseEvent, CellComponent, CellLoadingTemplateDirective, CellTemplateDirective, CheckboxColumnComponent, ColGroupComponent, ColumnBase, ColumnChooserComponent, ColumnComponent, ColumnGroupComponent, ColumnHandleDirective, ColumnInfoService, ColumnLockedChangeEvent, ColumnMenuChooserComponent, ColumnMenuComponent, ColumnMenuContainerComponent, ColumnMenuFilterComponent, ColumnMenuItemComponent, ColumnMenuItemContentTemplateDirective, ColumnMenuItemDirective, ColumnMenuLockComponent, ColumnMenuPositionComponent, ColumnMenuSortComponent, ColumnMenuStickComponent, ColumnMenuTemplateDirective, ColumnReorderEvent, ColumnStickyChangeEvent, ColumnVisibilityChangeEvent, ColumnsContainer, CommandColumnComponent, ContainsFilterOperatorComponent, ContextService, CustomMessagesComponent, DataBindingDirective, DateFilterCellComponent, DateFilterComponent, DateFilterMenuComponent, DateFilterMenuInputComponent, DetailCollapseEvent, DetailExpandEvent, DetailTemplateDirective, DoesNotContainFilterOperatorComponent, EditCommandDirective, EditTemplateDirective, EditingDirectiveBase, EndsWithFilterOperatorComponent, EqualFilterOperatorComponent, ExcelCommandDirective, ExcelComponent, ExcelExportEvent, ExcelModule, ExcelService, ExpandDetailsDirective, ExpandGroupDirective, FieldAccessorPipe, FilterCellComponent, FilterCellHostDirective, FilterCellOperatorsComponent, FilterCellTemplateDirective, FilterCellWrapperComponent, FilterInputDirective, FilterMenuComponent, FilterMenuContainerComponent, FilterMenuDropDownListDirective, FilterMenuHostDirective, FilterMenuInputWrapperComponent, FilterMenuModule, FilterMenuTemplateDirective, FilterRowComponent, FilterService, FocusableDirective, FooterComponent, FooterModule, FooterTemplateDirective, GreaterFilterOperatorComponent, GreaterOrEqualToFilterOperatorComponent, GridComponent, GridModule, GridSpacerComponent, GroupBindingDirective, GroupFooterTemplateDirective, GroupHeaderColumnTemplateDirective, GroupHeaderComponent, GroupHeaderTemplateDirective, GroupIndicatorComponent, GroupModule, GroupPanelComponent, HeaderComponent, HeaderModule, HeaderTemplateDirective, InCellEditingDirective, IsEmptyFilterOperatorComponent, IsNotEmptyFilterOperatorComponent, IsNotNullFilterOperatorComponent, IsNullFilterOperatorComponent, LessFilterOperatorComponent, LessOrEqualToFilterOperatorComponent, ListComponent, LoadingComponent, LoadingTemplateDirective, LocalDataChangesService, LogicalCellDirective, LogicalRowDirective, MenuTabbingService, NoRecordsTemplateDirective, NotEqualFilterOperatorComponent, NumericFilterCellComponent, NumericFilterMenuComponent, NumericFilterMenuInputComponent, PDFCommandDirective, PDFComponent, PDFMarginComponent, PDFModule, PDFService, PDFTemplateDirective, PagerComponent, PagerDropDownListDirective, PagerInfoComponent, PagerInputComponent, PagerInputDirective, PagerModule, PagerNextButtonsComponent, PagerNumericButtonsComponent, PagerPageSizesComponent, PagerPrevButtonsComponent, PagerTemplateDirective, PopupCloseEvent, ReactiveEditingDirective, RemoveCommandDirective, ResizableContainerDirective, RowEditingDirectiveBase, RowFilterModule, SaveCommandDirective, SelectAllCheckboxDirective, SelectionCheckboxDirective, SelectionDirective, SharedFilterModule, SharedModule, SinglePopupService, Skip, SpanColumnComponent, StartsWithFilterOperatorComponent, StringFilterCellComponent, StringFilterMenuComponent, StringFilterMenuInputComponent, SuspendService, TableBodyComponent, TableDirective, TemplateContextDirective, TemplateEditingDirective, ToolbarComponent, ToolbarTemplateDirective, count, defaultTrackBy, hasFilterMenu, hasFilterRow, isFilterable, slice };
|
|
25386
25386
|
|
package/main.d.ts
CHANGED
|
@@ -50,6 +50,7 @@ export { NoRecordsTemplateDirective } from './rendering/no-records-template.dire
|
|
|
50
50
|
export { DataBindingDirective } from './databinding.directive';
|
|
51
51
|
export { SelectionDirective } from './selection/selection.directive';
|
|
52
52
|
export { FilterService } from './filtering/filter.service';
|
|
53
|
+
export { ContextService } from './common/provider.service';
|
|
53
54
|
export { LocalDataChangesService } from './editing/local-data-changes.service';
|
|
54
55
|
export { FilterCellTemplateDirective } from './filtering/cell/filter-cell-template.directive';
|
|
55
56
|
export { FilterCellComponent } from './filtering/cell/filter-cell.component';
|