@progress/kendo-angular-grid 6.0.0-dev.202201141020 → 6.0.0-dev.202201191529
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 +2 -2
- package/dist/cdn/main.js +1 -1
- package/dist/es/column-menu/column-chooser.component.js +1 -1
- package/dist/es/column-menu/column-list.component.js +1 -1
- package/dist/es/dragdrop/draggable-column.directive.js +3 -3
- package/dist/es/filtering/cell/filter-cell-operators.component.js +1 -1
- package/dist/es/filtering/cell/string-filter-cell.component.js +1 -1
- package/dist/es/filtering/filter-input.directive.js +2 -1
- package/dist/es/filtering/menu/boolean-filter-menu.component.js +1 -1
- package/dist/es/filtering/menu/filter-menu-container.component.js +1 -1
- package/dist/es/filtering/menu/string-filter-menu-input.component.js +1 -1
- package/dist/es/grid.component.js +4 -5
- package/dist/es/grouping/group-indicator.component.js +1 -1
- package/dist/es/navigation/focusable.directive.js +5 -5
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/pager/pager-numeric-buttons.component.js +1 -1
- package/dist/es/pager/pager.component.js +0 -5
- package/dist/es/pdf/export-element.js +1 -1
- package/dist/es/rendering/cell.component.js +1 -1
- package/dist/es/rendering/constants.js +1 -1
- package/dist/es/rendering/header/header.component.js +1 -1
- package/dist/es/rendering/toolbar/toolbar-template.directive.js +4 -4
- package/dist/es2015/column-menu/column-chooser.component.js +2 -2
- package/dist/es2015/column-menu/column-list.component.js +3 -3
- package/dist/es2015/dragdrop/draggable-column.directive.js +3 -3
- package/dist/es2015/filtering/cell/filter-cell-operators.component.js +3 -3
- package/dist/es2015/filtering/cell/string-filter-cell.component.js +1 -1
- package/dist/es2015/filtering/filter-input.directive.js +2 -1
- package/dist/es2015/filtering/menu/boolean-filter-menu.component.js +1 -1
- package/dist/es2015/filtering/menu/filter-menu-container.component.js +2 -2
- package/dist/es2015/filtering/menu/string-filter-menu-input.component.js +1 -1
- package/dist/es2015/grid.component.d.ts +4 -4
- package/dist/es2015/grid.component.js +4 -5
- package/dist/es2015/grouping/group-indicator.component.js +2 -2
- package/dist/es2015/index.metadata.json +1 -1
- package/dist/es2015/navigation/focusable.directive.d.ts +5 -5
- package/dist/es2015/navigation/focusable.directive.js +5 -5
- package/dist/es2015/package-metadata.js +1 -1
- package/dist/es2015/pager/pager-numeric-buttons.component.js +1 -1
- package/dist/es2015/pager/pager.component.d.ts +0 -1
- package/dist/es2015/pager/pager.component.js +0 -5
- package/dist/es2015/pdf/export-element.js +1 -1
- package/dist/es2015/rendering/cell.component.js +3 -3
- package/dist/es2015/rendering/constants.d.ts +1 -1
- package/dist/es2015/rendering/constants.js +1 -1
- package/dist/es2015/rendering/header/header.component.js +1 -1
- package/dist/es2015/rendering/toolbar/toolbar-template.directive.d.ts +4 -4
- package/dist/es2015/rendering/toolbar/toolbar-template.directive.js +4 -4
- package/dist/fesm2015/index.js +41 -46
- package/dist/fesm5/index.js +32 -37
- package/dist/npm/column-menu/column-chooser.component.js +1 -1
- package/dist/npm/column-menu/column-list.component.js +1 -1
- package/dist/npm/dragdrop/draggable-column.directive.js +3 -3
- package/dist/npm/filtering/cell/filter-cell-operators.component.js +1 -1
- package/dist/npm/filtering/cell/string-filter-cell.component.js +1 -1
- package/dist/npm/filtering/filter-input.directive.js +2 -1
- package/dist/npm/filtering/menu/boolean-filter-menu.component.js +1 -1
- package/dist/npm/filtering/menu/filter-menu-container.component.js +1 -1
- package/dist/npm/filtering/menu/string-filter-menu-input.component.js +1 -1
- package/dist/npm/grid.component.js +4 -5
- package/dist/npm/grouping/group-indicator.component.js +1 -1
- package/dist/npm/navigation/focusable.directive.js +5 -5
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/pager/pager-numeric-buttons.component.js +1 -1
- package/dist/npm/pager/pager.component.js +0 -5
- package/dist/npm/pdf/export-element.js +1 -1
- package/dist/npm/rendering/cell.component.js +1 -1
- package/dist/npm/rendering/constants.js +1 -1
- package/dist/npm/rendering/header/header.component.js +1 -1
- package/dist/npm/rendering/toolbar/toolbar-template.directive.js +4 -4
- package/dist/systemjs/kendo-angular-grid.js +1 -1
- package/package.json +14 -14
|
@@ -14,7 +14,7 @@ import { CellContext } from '../rendering/common/cell-context';
|
|
|
14
14
|
* _@Component({
|
|
15
15
|
* selector: 'my-app',
|
|
16
16
|
* template: `
|
|
17
|
-
* <input type="text"
|
|
17
|
+
* <input type="text" placeholder="Tab stop #0" style="margin-bottom: 8px;" />
|
|
18
18
|
* <kendo-grid [data]="data" [navigable]="true">
|
|
19
19
|
* <kendo-grid-column field="ProductID" title="Product ID" width="100">
|
|
20
20
|
* </kendo-grid-column>
|
|
@@ -23,18 +23,18 @@ import { CellContext } from '../rendering/common/cell-context';
|
|
|
23
23
|
* <kendo-grid-column>
|
|
24
24
|
* <ng-template kendoGridCellTemplate let-dataItem>
|
|
25
25
|
* <!-- The first focusable element will be focused when pressing Enter on the cell -->
|
|
26
|
-
* <input type="text"
|
|
27
|
-
* <button
|
|
26
|
+
* <input type="text" kendoGridFocusable [value]="dataItem.ProductName" style="margin-right: 8px;" />
|
|
27
|
+
* <button kendoGridFocusable>Update</button>
|
|
28
28
|
* </ng-template>
|
|
29
29
|
* </kendo-grid-column>
|
|
30
30
|
* <kendo-grid-column width="100">
|
|
31
31
|
* <ng-template kendoGridCellTemplate>
|
|
32
32
|
* <!-- A single focusable element will be focused during navigation -->
|
|
33
|
-
* <button
|
|
33
|
+
* <button kendoGridFocusable>Delete</button>
|
|
34
34
|
* </ng-template>
|
|
35
35
|
* </kendo-grid-column>
|
|
36
36
|
* </kendo-grid>
|
|
37
|
-
* <input type="text"
|
|
37
|
+
* <input type="text" placeholder="Tab stop #2" style="margin-top: 8px;" />
|
|
38
38
|
* `
|
|
39
39
|
* })
|
|
40
40
|
*
|
|
@@ -15,7 +15,7 @@ import { CELL_CONTEXT } from '../rendering/common/cell-context';
|
|
|
15
15
|
* _@Component({
|
|
16
16
|
* selector: 'my-app',
|
|
17
17
|
* template: `
|
|
18
|
-
* <input type="text"
|
|
18
|
+
* <input type="text" placeholder="Tab stop #0" style="margin-bottom: 8px;" />
|
|
19
19
|
* <kendo-grid [data]="data" [navigable]="true">
|
|
20
20
|
* <kendo-grid-column field="ProductID" title="Product ID" width="100">
|
|
21
21
|
* </kendo-grid-column>
|
|
@@ -24,18 +24,18 @@ import { CELL_CONTEXT } from '../rendering/common/cell-context';
|
|
|
24
24
|
* <kendo-grid-column>
|
|
25
25
|
* <ng-template kendoGridCellTemplate let-dataItem>
|
|
26
26
|
* <!-- The first focusable element will be focused when pressing Enter on the cell -->
|
|
27
|
-
* <input type="text"
|
|
28
|
-
* <button
|
|
27
|
+
* <input type="text" kendoGridFocusable [value]="dataItem.ProductName" style="margin-right: 8px;" />
|
|
28
|
+
* <button kendoGridFocusable>Update</button>
|
|
29
29
|
* </ng-template>
|
|
30
30
|
* </kendo-grid-column>
|
|
31
31
|
* <kendo-grid-column width="100">
|
|
32
32
|
* <ng-template kendoGridCellTemplate>
|
|
33
33
|
* <!-- A single focusable element will be focused during navigation -->
|
|
34
|
-
* <button
|
|
34
|
+
* <button kendoGridFocusable>Delete</button>
|
|
35
35
|
* </ng-template>
|
|
36
36
|
* </kendo-grid-column>
|
|
37
37
|
* </kendo-grid>
|
|
38
|
-
* <input type="text"
|
|
38
|
+
* <input type="text" placeholder="Tab stop #2" style="margin-top: 8px;" />
|
|
39
39
|
* `
|
|
40
40
|
* })
|
|
41
41
|
*
|
|
@@ -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: 1642605543,
|
|
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
|
};
|
|
@@ -97,7 +97,7 @@ PagerNumericButtonsComponent = tslib_1.__decorate([
|
|
|
97
97
|
selector: 'kendo-pager-numeric-buttons',
|
|
98
98
|
template: `
|
|
99
99
|
<select
|
|
100
|
-
class="k-
|
|
100
|
+
class="k-dropdownlist k-pager-nav"
|
|
101
101
|
kendoGridFocusable
|
|
102
102
|
tabindex="0"
|
|
103
103
|
[value]="(currentPage).toString()"
|
|
@@ -33,7 +33,6 @@ export declare class PagerComponent implements OnChanges, OnInit, OnDestroy {
|
|
|
33
33
|
pageChange: EventEmitter<PageChangeEvent>;
|
|
34
34
|
pagerWrapClass: boolean;
|
|
35
35
|
gridPagerClass: boolean;
|
|
36
|
-
widgetClass: boolean;
|
|
37
36
|
settings: PagerSettings;
|
|
38
37
|
private subscriptions;
|
|
39
38
|
private _templateContext;
|
|
@@ -36,7 +36,6 @@ let PagerComponent = class PagerComponent {
|
|
|
36
36
|
this.pageChange = new EventEmitter();
|
|
37
37
|
this.pagerWrapClass = true;
|
|
38
38
|
this.gridPagerClass = true;
|
|
39
|
-
this.widgetClass = true;
|
|
40
39
|
this.settings = normalize({});
|
|
41
40
|
this.subscriptions = new Subscription();
|
|
42
41
|
this._templateContext = {};
|
|
@@ -251,10 +250,6 @@ tslib_1.__decorate([
|
|
|
251
250
|
HostBinding('class.k-grid-pager'),
|
|
252
251
|
tslib_1.__metadata("design:type", Boolean)
|
|
253
252
|
], PagerComponent.prototype, "gridPagerClass", void 0);
|
|
254
|
-
tslib_1.__decorate([
|
|
255
|
-
HostBinding('class.k-widget'),
|
|
256
|
-
tslib_1.__metadata("design:type", Boolean)
|
|
257
|
-
], PagerComponent.prototype, "widgetClass", void 0);
|
|
258
253
|
tslib_1.__decorate([
|
|
259
254
|
HostBinding('class.k-state-focused'),
|
|
260
255
|
tslib_1.__metadata("design:type", Boolean),
|
|
@@ -34,7 +34,7 @@ const appendNodes = (element, nodes) => {
|
|
|
34
34
|
const ɵ0 = appendNodes;
|
|
35
35
|
const wrapTable = (table) => {
|
|
36
36
|
const wrapper = document.createElement('div');
|
|
37
|
-
wrapper.className = 'k-
|
|
37
|
+
wrapper.className = 'k-grid';
|
|
38
38
|
wrapper.appendChild(table);
|
|
39
39
|
return wrapper;
|
|
40
40
|
};
|
|
@@ -189,7 +189,7 @@ CellComponent = tslib_1.__decorate([
|
|
|
189
189
|
<ng-template [ngIf]="isBoundColumn">{{ dataItem | valueOf: column.field: column.format}}</ng-template>
|
|
190
190
|
<ng-template [ngIf]="isCheckboxColumn && !isNew">
|
|
191
191
|
<input
|
|
192
|
-
class="k-checkbox"
|
|
192
|
+
class="k-checkbox k-checkbox-md k-rounded-md"
|
|
193
193
|
[kendoGridSelectionCheckbox]="rowIndex"
|
|
194
194
|
[attr.id]="selectionCheckboxId"
|
|
195
195
|
[attr.aria-label]="selectionCheckboxLabel" />
|
|
@@ -228,7 +228,7 @@ CellComponent = tslib_1.__decorate([
|
|
|
228
228
|
<input
|
|
229
229
|
*ngSwitchCase="'boolean'"
|
|
230
230
|
type="checkbox"
|
|
231
|
-
class="k-checkbox"
|
|
231
|
+
class="k-checkbox k-checkbox-md k-rounded-md"
|
|
232
232
|
[formControl]="formGroup.get(column.field)"
|
|
233
233
|
kendoGridFocusable
|
|
234
234
|
/>
|
|
@@ -236,7 +236,7 @@ CellComponent = tslib_1.__decorate([
|
|
|
236
236
|
<input
|
|
237
237
|
*ngSwitchDefault
|
|
238
238
|
type="text"
|
|
239
|
-
class="k-textbox"
|
|
239
|
+
class="k-textbox k-input k-rounded-md"
|
|
240
240
|
[formControl]="formGroup.get(column.field)"
|
|
241
241
|
kendoGridFocusable
|
|
242
242
|
/>
|
|
@@ -603,7 +603,7 @@ HeaderComponent = tslib_1.__decorate([
|
|
|
603
603
|
|
|
604
604
|
<ng-template [ngIf]="isCheckboxColumn(column) && !column.headerTemplateRef && column.showSelectAll">
|
|
605
605
|
<input
|
|
606
|
-
class="k-checkbox"
|
|
606
|
+
class="k-checkbox k-checkbox-md k-rounded-md"
|
|
607
607
|
[attr.id]="selectAllCheckboxId()"
|
|
608
608
|
[attr.aria-label]="selectAllCheckboxLabel"
|
|
609
609
|
kendoGridSelectAllCheckbox
|
|
@@ -16,16 +16,16 @@ import { TemplateRef } from '@angular/core';
|
|
|
16
16
|
* selector: 'my-app',
|
|
17
17
|
* template: `
|
|
18
18
|
* <div class="example-config">
|
|
19
|
-
* <input type="radio" id="top" name="position"
|
|
19
|
+
* <input type="radio" id="top" name="position" value="top" checked (click)="positionChange($event)"/>
|
|
20
20
|
* <label class="k-radio-label" for="top">Top</label><br/>
|
|
21
|
-
* <input type="radio" id="bottom" name="position"
|
|
21
|
+
* <input type="radio" id="bottom" name="position" value="bottom" (click)="positionChange($event)"/>
|
|
22
22
|
* <label class="k-radio-label" for="bottom">Bottom</label><br/>
|
|
23
|
-
* <input type="radio" id="both" name="position" value="both"
|
|
23
|
+
* <input type="radio" id="both" name="position" value="both" (click)="positionChange($event)"/>
|
|
24
24
|
* <label class="k-radio-label" for="both">Both</label><br/>
|
|
25
25
|
* </div>
|
|
26
26
|
* <kendo-grid [data]="gridData" style="height: 200px">
|
|
27
27
|
* <ng-template kendoGridToolbarTemplate [position]="position" let-position="position">
|
|
28
|
-
* <button (click)="onClick()"
|
|
28
|
+
* <button (click)="onClick()">Custom action</button>
|
|
29
29
|
* </ng-template>
|
|
30
30
|
* <kendo-grid-column field="ProductName">
|
|
31
31
|
* </kendo-grid-column>
|
|
@@ -17,16 +17,16 @@ import { Directive, TemplateRef, Optional, Input } from '@angular/core';
|
|
|
17
17
|
* selector: 'my-app',
|
|
18
18
|
* template: `
|
|
19
19
|
* <div class="example-config">
|
|
20
|
-
* <input type="radio" id="top" name="position"
|
|
20
|
+
* <input type="radio" id="top" name="position" value="top" checked (click)="positionChange($event)"/>
|
|
21
21
|
* <label class="k-radio-label" for="top">Top</label><br/>
|
|
22
|
-
* <input type="radio" id="bottom" name="position"
|
|
22
|
+
* <input type="radio" id="bottom" name="position" value="bottom" (click)="positionChange($event)"/>
|
|
23
23
|
* <label class="k-radio-label" for="bottom">Bottom</label><br/>
|
|
24
|
-
* <input type="radio" id="both" name="position" value="both"
|
|
24
|
+
* <input type="radio" id="both" name="position" value="both" (click)="positionChange($event)"/>
|
|
25
25
|
* <label class="k-radio-label" for="both">Both</label><br/>
|
|
26
26
|
* </div>
|
|
27
27
|
* <kendo-grid [data]="gridData" style="height: 200px">
|
|
28
28
|
* <ng-template kendoGridToolbarTemplate [position]="position" let-position="position">
|
|
29
|
-
* <button (click)="onClick()"
|
|
29
|
+
* <button (click)="onClick()">Custom action</button>
|
|
30
30
|
* </ng-template>
|
|
31
31
|
* <kendo-grid-column field="ProductName">
|
|
32
32
|
* </kendo-grid-column>
|
package/dist/fesm2015/index.js
CHANGED
|
@@ -487,7 +487,7 @@ const EMPTY_CELL_CONTEXT = {};
|
|
|
487
487
|
* _@Component({
|
|
488
488
|
* selector: 'my-app',
|
|
489
489
|
* template: `
|
|
490
|
-
* <input type="text"
|
|
490
|
+
* <input type="text" placeholder="Tab stop #0" style="margin-bottom: 8px;" />
|
|
491
491
|
* <kendo-grid [data]="data" [navigable]="true">
|
|
492
492
|
* <kendo-grid-column field="ProductID" title="Product ID" width="100">
|
|
493
493
|
* </kendo-grid-column>
|
|
@@ -496,18 +496,18 @@ const EMPTY_CELL_CONTEXT = {};
|
|
|
496
496
|
* <kendo-grid-column>
|
|
497
497
|
* <ng-template kendoGridCellTemplate let-dataItem>
|
|
498
498
|
* <!-- The first focusable element will be focused when pressing Enter on the cell -->
|
|
499
|
-
* <input type="text"
|
|
500
|
-
* <button
|
|
499
|
+
* <input type="text" kendoGridFocusable [value]="dataItem.ProductName" style="margin-right: 8px;" />
|
|
500
|
+
* <button kendoGridFocusable>Update</button>
|
|
501
501
|
* </ng-template>
|
|
502
502
|
* </kendo-grid-column>
|
|
503
503
|
* <kendo-grid-column width="100">
|
|
504
504
|
* <ng-template kendoGridCellTemplate>
|
|
505
505
|
* <!-- A single focusable element will be focused during navigation -->
|
|
506
|
-
* <button
|
|
506
|
+
* <button kendoGridFocusable>Delete</button>
|
|
507
507
|
* </ng-template>
|
|
508
508
|
* </kendo-grid-column>
|
|
509
509
|
* </kendo-grid>
|
|
510
|
-
* <input type="text"
|
|
510
|
+
* <input type="text" placeholder="Tab stop #2" style="margin-top: 8px;" />
|
|
511
511
|
* `
|
|
512
512
|
* })
|
|
513
513
|
*
|
|
@@ -2831,7 +2831,7 @@ const packageMetadata = {
|
|
|
2831
2831
|
name: '@progress/kendo-angular-grid',
|
|
2832
2832
|
productName: 'Kendo UI for Angular',
|
|
2833
2833
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
2834
|
-
publishDate:
|
|
2834
|
+
publishDate: 1642605543,
|
|
2835
2835
|
version: '',
|
|
2836
2836
|
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'
|
|
2837
2837
|
};
|
|
@@ -5591,16 +5591,16 @@ ExcelService = __decorate([
|
|
|
5591
5591
|
* selector: 'my-app',
|
|
5592
5592
|
* template: `
|
|
5593
5593
|
* <div class="example-config">
|
|
5594
|
-
* <input type="radio" id="top" name="position"
|
|
5594
|
+
* <input type="radio" id="top" name="position" value="top" checked (click)="positionChange($event)"/>
|
|
5595
5595
|
* <label class="k-radio-label" for="top">Top</label><br/>
|
|
5596
|
-
* <input type="radio" id="bottom" name="position"
|
|
5596
|
+
* <input type="radio" id="bottom" name="position" value="bottom" (click)="positionChange($event)"/>
|
|
5597
5597
|
* <label class="k-radio-label" for="bottom">Bottom</label><br/>
|
|
5598
|
-
* <input type="radio" id="both" name="position" value="both"
|
|
5598
|
+
* <input type="radio" id="both" name="position" value="both" (click)="positionChange($event)"/>
|
|
5599
5599
|
* <label class="k-radio-label" for="both">Both</label><br/>
|
|
5600
5600
|
* </div>
|
|
5601
5601
|
* <kendo-grid [data]="gridData" style="height: 200px">
|
|
5602
5602
|
* <ng-template kendoGridToolbarTemplate [position]="position" let-position="position">
|
|
5603
|
-
* <button (click)="onClick()"
|
|
5603
|
+
* <button (click)="onClick()">Custom action</button>
|
|
5604
5604
|
* </ng-template>
|
|
5605
5605
|
* <kendo-grid-column field="ProductName">
|
|
5606
5606
|
* </kendo-grid-column>
|
|
@@ -7603,7 +7603,7 @@ let GridComponent = class GridComponent {
|
|
|
7603
7603
|
* [resizable]="true"
|
|
7604
7604
|
* style="height: 300px">
|
|
7605
7605
|
* <ng-template kendoGridToolbarTemplate>
|
|
7606
|
-
* <button
|
|
7606
|
+
* <button kendoButton (click)="grid.autoFitColumn(groupColumn)">
|
|
7607
7607
|
* Auto-fit the group column
|
|
7608
7608
|
* </button>
|
|
7609
7609
|
* </ng-template>
|
|
@@ -7669,10 +7669,10 @@ let GridComponent = class GridComponent {
|
|
|
7669
7669
|
* [resizable]="true"
|
|
7670
7670
|
* style="height: 300px">
|
|
7671
7671
|
* <ng-template kendoGridToolbarTemplate>
|
|
7672
|
-
* <button
|
|
7672
|
+
* <button kendoButton (click)="grid.autoFitColumns([firstColumn, lastColumn])">
|
|
7673
7673
|
* Auto-fit the first and last column
|
|
7674
7674
|
* </button>
|
|
7675
|
-
* <button
|
|
7675
|
+
* <button kendoButton (click)="grid.autoFitColumns()">
|
|
7676
7676
|
* Auto-fit all columns
|
|
7677
7677
|
* </button>
|
|
7678
7678
|
* </ng-template>
|
|
@@ -7845,7 +7845,7 @@ let GridComponent = class GridComponent {
|
|
|
7845
7845
|
* [reorderable]="true"
|
|
7846
7846
|
* style="height: 300px">
|
|
7847
7847
|
* <ng-template kendoGridToolbarTemplate>
|
|
7848
|
-
* <button
|
|
7848
|
+
* <button kendoButton
|
|
7849
7849
|
* (click)="grid.reorderColumn(groupColumn, 2, { before: true })">
|
|
7850
7850
|
* Move the group column before the last one.
|
|
7851
7851
|
* </button>
|
|
@@ -8682,7 +8682,6 @@ __decorate([
|
|
|
8682
8682
|
__metadata("design:paramtypes", [])
|
|
8683
8683
|
], GridComponent.prototype, "dir", null);
|
|
8684
8684
|
__decorate([
|
|
8685
|
-
HostBinding('class.k-widget'),
|
|
8686
8685
|
HostBinding('class.k-grid'),
|
|
8687
8686
|
__metadata("design:type", Boolean),
|
|
8688
8687
|
__metadata("design:paramtypes", [])
|
|
@@ -9471,7 +9470,7 @@ const IGNORE_TARGET_CLASSSES = 'k-icon';
|
|
|
9471
9470
|
/**
|
|
9472
9471
|
* @hidden
|
|
9473
9472
|
*/
|
|
9474
|
-
const IGNORE_CONTAINER_CLASSES = 'k-
|
|
9473
|
+
const IGNORE_CONTAINER_CLASSES = 'k-grid k-grid-ignore-click';
|
|
9475
9474
|
|
|
9476
9475
|
const elementAt = (index, elements, elementOffset) => {
|
|
9477
9476
|
for (let idx = 0, elementIdx = 0; idx < elements.length; idx++) {
|
|
@@ -11728,7 +11727,8 @@ let FilterInputDirective = class FilterInputDirective {
|
|
|
11728
11727
|
addAriaAttributes() {
|
|
11729
11728
|
const ariaValue = this.columnLabel;
|
|
11730
11729
|
if (this.kendoInput && this.kendoInput.focusableId && isDocumentAvailable()) {
|
|
11731
|
-
const focusableElement = this.element.nativeElement.querySelector(`#${this.kendoInput.focusableId}`)
|
|
11730
|
+
const focusableElement = this.element.nativeElement.querySelector(`#${this.kendoInput.focusableId}`) ||
|
|
11731
|
+
this.element.nativeElement;
|
|
11732
11732
|
this.renderer.setAttribute(focusableElement, 'aria-label', ariaValue);
|
|
11733
11733
|
}
|
|
11734
11734
|
else {
|
|
@@ -12064,7 +12064,7 @@ StringFilterCellComponent = __decorate([
|
|
|
12064
12064
|
[defaultOperator]="operator"
|
|
12065
12065
|
[showOperators]="showOperators">
|
|
12066
12066
|
<input
|
|
12067
|
-
|
|
12067
|
+
kendoTextBox
|
|
12068
12068
|
kendoGridFocusable
|
|
12069
12069
|
kendoFilterInput
|
|
12070
12070
|
[columnLabel]="columnLabel"
|
|
@@ -12201,12 +12201,12 @@ FilterCellOperatorsComponent = __decorate([
|
|
|
12201
12201
|
</kendo-dropdownlist>
|
|
12202
12202
|
<button type="button"
|
|
12203
12203
|
kendoGridFocusable
|
|
12204
|
-
|
|
12205
|
-
class="k-button k-button-icon"
|
|
12204
|
+
*ngIf="showButton"
|
|
12205
|
+
class="k-button k-button-solid-base k-button-solid k-button-md k-rounded-md k-button-rectangle k-icon-button"
|
|
12206
12206
|
[title]="clearText"
|
|
12207
12207
|
(click)="clearClick()"
|
|
12208
12208
|
(keydown)="clearKeydown($event)">
|
|
12209
|
-
<span class="k-icon k-i-filter-clear"></span>
|
|
12209
|
+
<span class="k-icon k-button-icon k-i-filter-clear"></span>
|
|
12210
12210
|
</button>
|
|
12211
12211
|
`
|
|
12212
12212
|
}),
|
|
@@ -14143,7 +14143,6 @@ let PagerComponent = class PagerComponent {
|
|
|
14143
14143
|
this.pageChange = new EventEmitter();
|
|
14144
14144
|
this.pagerWrapClass = true;
|
|
14145
14145
|
this.gridPagerClass = true;
|
|
14146
|
-
this.widgetClass = true;
|
|
14147
14146
|
this.settings = normalize({});
|
|
14148
14147
|
this.subscriptions = new Subscription();
|
|
14149
14148
|
this._templateContext = {};
|
|
@@ -14358,10 +14357,6 @@ __decorate([
|
|
|
14358
14357
|
HostBinding('class.k-grid-pager'),
|
|
14359
14358
|
__metadata("design:type", Boolean)
|
|
14360
14359
|
], PagerComponent.prototype, "gridPagerClass", void 0);
|
|
14361
|
-
__decorate([
|
|
14362
|
-
HostBinding('class.k-widget'),
|
|
14363
|
-
__metadata("design:type", Boolean)
|
|
14364
|
-
], PagerComponent.prototype, "widgetClass", void 0);
|
|
14365
14360
|
__decorate([
|
|
14366
14361
|
HostBinding('class.k-state-focused'),
|
|
14367
14362
|
__metadata("design:type", Boolean),
|
|
@@ -14795,7 +14790,7 @@ PagerNumericButtonsComponent = __decorate([
|
|
|
14795
14790
|
selector: 'kendo-pager-numeric-buttons',
|
|
14796
14791
|
template: `
|
|
14797
14792
|
<select
|
|
14798
|
-
class="k-
|
|
14793
|
+
class="k-dropdownlist k-pager-nav"
|
|
14799
14794
|
kendoGridFocusable
|
|
14800
14795
|
tabindex="0"
|
|
14801
14796
|
[value]="(currentPage).toString()"
|
|
@@ -15822,8 +15817,8 @@ GroupIndicatorComponent = __decorate([
|
|
|
15822
15817
|
[class.k-i-sort-asc-sm]="dir === 'asc'"
|
|
15823
15818
|
[class.k-i-sort-desc-sm]="dir === 'desc'"></span>
|
|
15824
15819
|
{{groupTitle}}</a>
|
|
15825
|
-
<a class="k-button k-button-icon k-
|
|
15826
|
-
<span class="k-icon k-i-group-delete"></span>
|
|
15820
|
+
<a class="k-button k-button-flat-base k-button-flat k-icon-button k-button-md k-rounded-md k-button-rectangle k-icon-button" tabindex="-1" (click)="removeDescriptor()">
|
|
15821
|
+
<span class="k-button-icon k-icon k-i-group-delete"></span>
|
|
15827
15822
|
</a>
|
|
15828
15823
|
`
|
|
15829
15824
|
})
|
|
@@ -15836,9 +15831,9 @@ GroupIndicatorComponent = __decorate([
|
|
|
15836
15831
|
*/
|
|
15837
15832
|
const preventOnDblClick = release => mouseDown => of(mouseDown).pipe(delay(150), takeUntil(release));
|
|
15838
15833
|
const hasClass = className => el => new RegExp(`(^| )${className}( |$)`).test(el.className);
|
|
15839
|
-
const isDeleteButton = or(hasClass(
|
|
15840
|
-
const isSortIcon = or(hasClass(
|
|
15841
|
-
const skipButtons = and(not(isDeleteButton), not(isSortIcon), not(isFocusableWithTabKey), not(matchesNodeName(
|
|
15834
|
+
const isDeleteButton = or(hasClass('k-i-group-delete'), hasClass('k-icon-button'));
|
|
15835
|
+
const isSortIcon = or(hasClass('k-i-sort-asc-sm'), hasClass('k-i-sort-desc-sm'));
|
|
15836
|
+
const skipButtons = and(not(isDeleteButton), not(isSortIcon), not(isFocusableWithTabKey), not(matchesNodeName('label')));
|
|
15842
15837
|
const elementUnderCursor = ({ clientX, clientY }) => document.elementFromPoint(clientX, clientY);
|
|
15843
15838
|
const hideThenShow = (element, cont) => {
|
|
15844
15839
|
element.style.display = 'none';
|
|
@@ -17001,7 +16996,7 @@ HeaderComponent = __decorate([
|
|
|
17001
16996
|
|
|
17002
16997
|
<ng-template [ngIf]="isCheckboxColumn(column) && !column.headerTemplateRef && column.showSelectAll">
|
|
17003
16998
|
<input
|
|
17004
|
-
class="k-checkbox"
|
|
16999
|
+
class="k-checkbox k-checkbox-md k-rounded-md"
|
|
17005
17000
|
[attr.id]="selectAllCheckboxId()"
|
|
17006
17001
|
[attr.aria-label]="selectAllCheckboxLabel"
|
|
17007
17002
|
kendoGridSelectAllCheckbox
|
|
@@ -17607,11 +17602,11 @@ FilterMenuContainerComponent = __decorate([
|
|
|
17607
17602
|
<button
|
|
17608
17603
|
#resetButton
|
|
17609
17604
|
type="reset"
|
|
17610
|
-
class="k-button"
|
|
17605
|
+
class="k-button k-button-solid-base k-button-solid k-button-md k-rounded-md k-button-rectangle"
|
|
17611
17606
|
(keydown.tab)="onTab($event, 'reset')">{{clearText}}</button>
|
|
17612
17607
|
<button #filterButton
|
|
17613
17608
|
type="submit"
|
|
17614
|
-
class="k-button k-primary"
|
|
17609
|
+
class="k-button k-button-solid-primary k-button-solid k-button-md k-rounded-md k-button-rectangle"
|
|
17615
17610
|
[disabled]="disabled"
|
|
17616
17611
|
(keydown.tab)="onTab($event, 'filter')">{{filterText}}</button>
|
|
17617
17612
|
</div>
|
|
@@ -17796,7 +17791,7 @@ StringFilterMenuInputComponent = __decorate([
|
|
|
17796
17791
|
[menuTabbingService]="menuTabbingService"
|
|
17797
17792
|
>
|
|
17798
17793
|
<input
|
|
17799
|
-
|
|
17794
|
+
kendoTextBox
|
|
17800
17795
|
kendoFilterInput
|
|
17801
17796
|
[columnLabel]="columnLabel"
|
|
17802
17797
|
[filterDelay]="0"
|
|
@@ -18445,7 +18440,7 @@ BooleanFilterMenuComponent = __decorate([
|
|
|
18445
18440
|
[columnLabel]="columnLabel"
|
|
18446
18441
|
#input
|
|
18447
18442
|
[name]="idPrefix"
|
|
18448
|
-
|
|
18443
|
+
kendoRadioButton
|
|
18449
18444
|
[checked]="isSelected(item.value)"
|
|
18450
18445
|
[attr.id]="radioId(item.value)"
|
|
18451
18446
|
(change)="onChange(item.value, input)"
|
|
@@ -18933,12 +18928,12 @@ ColumnListComponent = __decorate([
|
|
|
18933
18928
|
template: `
|
|
18934
18929
|
<div class="k-column-list">
|
|
18935
18930
|
<label *ngFor="let column of columns; let index = index;" class='k-column-list-item'>
|
|
18936
|
-
<input class="k-checkbox" type="checkbox" [attr.data-index]="index" [checked]="!column.hidden" [disabled]="isDisabled(column)" /><span class="k-checkbox-label">{{ column.displayTitle }}</span>
|
|
18931
|
+
<input class="k-checkbox k-checkbox-md k-rounded-md" type="checkbox" [attr.data-index]="index" [checked]="!column.hidden" [disabled]="isDisabled(column)" /><span class="k-checkbox-label">{{ column.displayTitle }}</span>
|
|
18937
18932
|
</label>
|
|
18938
18933
|
</div>
|
|
18939
18934
|
<div [ngClass]="actionsClass" *ngIf="!autoSync">
|
|
18940
|
-
<button type="button" class="k-button" (click)="cancelChanges()">{{ resetText }}</button>
|
|
18941
|
-
<button #applyButton type="button" (keydown.tab)="onTab($event)" class="k-button k-primary" (click)="applyChanges()">{{ applyText }}</button>
|
|
18935
|
+
<button type="button" class="k-button k-button-solid-base k-button-solid k-button-md k-rounded-md k-button-rectangle" (click)="cancelChanges()">{{ resetText }}</button>
|
|
18936
|
+
<button #applyButton type="button" (keydown.tab)="onTab($event)" class="k-button k-button-solid-primary k-button-solid k-button-md k-rounded-md k-button-rectangle" (click)="applyChanges()">{{ applyText }}</button>
|
|
18942
18937
|
</div>
|
|
18943
18938
|
`
|
|
18944
18939
|
}),
|
|
@@ -19068,9 +19063,9 @@ ColumnChooserComponent = __decorate([
|
|
|
19068
19063
|
<button #anchor
|
|
19069
19064
|
type="button"
|
|
19070
19065
|
(click)="toggle(anchor, template)"
|
|
19071
|
-
class="k-button k-
|
|
19066
|
+
class="k-button k-button-flat-base k-button-flat k-icon-button k-button-md k-rounded-md k-button-rectangle k-icon-button"
|
|
19072
19067
|
[attr.title]="localization.get('columns')">
|
|
19073
|
-
<span class="k-icon k-i-columns"></span>
|
|
19068
|
+
<span class="k-button-icon k-icon k-i-columns"></span>
|
|
19074
19069
|
</button>
|
|
19075
19070
|
<ng-template #template>
|
|
19076
19071
|
<span class='k-column-chooser-title'>{{ localization.get('columns') }}</span>
|
|
@@ -21395,7 +21390,7 @@ CellComponent = __decorate([
|
|
|
21395
21390
|
<ng-template [ngIf]="isBoundColumn">{{ dataItem | valueOf: column.field: column.format}}</ng-template>
|
|
21396
21391
|
<ng-template [ngIf]="isCheckboxColumn && !isNew">
|
|
21397
21392
|
<input
|
|
21398
|
-
class="k-checkbox"
|
|
21393
|
+
class="k-checkbox k-checkbox-md k-rounded-md"
|
|
21399
21394
|
[kendoGridSelectionCheckbox]="rowIndex"
|
|
21400
21395
|
[attr.id]="selectionCheckboxId"
|
|
21401
21396
|
[attr.aria-label]="selectionCheckboxLabel" />
|
|
@@ -21434,7 +21429,7 @@ CellComponent = __decorate([
|
|
|
21434
21429
|
<input
|
|
21435
21430
|
*ngSwitchCase="'boolean'"
|
|
21436
21431
|
type="checkbox"
|
|
21437
|
-
class="k-checkbox"
|
|
21432
|
+
class="k-checkbox k-checkbox-md k-rounded-md"
|
|
21438
21433
|
[formControl]="formGroup.get(column.field)"
|
|
21439
21434
|
kendoGridFocusable
|
|
21440
21435
|
/>
|
|
@@ -21442,7 +21437,7 @@ CellComponent = __decorate([
|
|
|
21442
21437
|
<input
|
|
21443
21438
|
*ngSwitchDefault
|
|
21444
21439
|
type="text"
|
|
21445
|
-
class="k-textbox"
|
|
21440
|
+
class="k-textbox k-input k-rounded-md"
|
|
21446
21441
|
[formControl]="formGroup.get(column.field)"
|
|
21447
21442
|
kendoGridFocusable
|
|
21448
21443
|
/>
|
|
@@ -22934,7 +22929,7 @@ const appendNodes = (element, nodes) => {
|
|
|
22934
22929
|
};
|
|
22935
22930
|
const wrapTable = (table) => {
|
|
22936
22931
|
const wrapper = document.createElement('div');
|
|
22937
|
-
wrapper.className = 'k-
|
|
22932
|
+
wrapper.className = 'k-grid';
|
|
22938
22933
|
wrapper.appendChild(table);
|
|
22939
22934
|
return wrapper;
|
|
22940
22935
|
};
|