@progress/kendo-angular-grid 16.8.0 → 16.9.0-develop.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/grid.component.mjs +488 -488
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/rendering/header/header.component.mjs +9 -9
- package/fesm2015/progress-kendo-angular-grid.mjs +499 -499
- package/fesm2020/progress-kendo-angular-grid.mjs +499 -499
- package/package.json +16 -16
- package/rendering/header/header.component.d.ts +1 -1
- package/schematics/ngAdd/index.js +4 -4
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-grid',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
13
|
-
version: '16.
|
|
12
|
+
publishDate: 1724927337,
|
|
13
|
+
version: '16.9.0-develop.10',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -210,7 +210,7 @@ export class HeaderComponent {
|
|
|
210
210
|
+ 1;
|
|
211
211
|
}
|
|
212
212
|
sortState(column) {
|
|
213
|
-
if (!this.
|
|
213
|
+
if (!this.isInteractive(column, 'sortable')) {
|
|
214
214
|
return;
|
|
215
215
|
}
|
|
216
216
|
const state = this.sortDescriptor(column.field);
|
|
@@ -322,9 +322,9 @@ export class HeaderComponent {
|
|
|
322
322
|
const groupable = this.isGroupable(column);
|
|
323
323
|
return groupable || canReorder;
|
|
324
324
|
}
|
|
325
|
-
|
|
325
|
+
isInteractive(column, prop) {
|
|
326
326
|
return !isNullOrEmptyString(column.field)
|
|
327
|
-
&& isTruthy(this
|
|
327
|
+
&& isTruthy(this[prop]) && isTruthy(column[prop]);
|
|
328
328
|
}
|
|
329
329
|
isCheckboxColumn(column) {
|
|
330
330
|
return isCheckboxColumn(column) && !column.templateRef;
|
|
@@ -507,9 +507,9 @@ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
|
|
|
507
507
|
[attr.aria-expanded]="isNavigable && (showFilterMenu || showColumnMenu(column)) ? false : undefined"
|
|
508
508
|
[attr.aria-keyshortcuts]="isNavigable ? 'Alt + ArrowDown' : undefined">
|
|
509
509
|
|
|
510
|
-
<ng-container *ngIf="!
|
|
510
|
+
<ng-container *ngIf="!isInteractive(getColumnComponent(column), 'sortable')">
|
|
511
511
|
<span class="k-cell-inner">
|
|
512
|
-
<span class="k-link
|
|
512
|
+
<span class="k-link" [class.!k-cursor-default]="!isInteractive(getColumnComponent(column), 'groupable') && !isInteractive(getColumnComponent(column), 'reorderable')">
|
|
513
513
|
<ng-template
|
|
514
514
|
[templateContext]="{
|
|
515
515
|
templateRef: column.headerTemplateRef,
|
|
@@ -541,7 +541,7 @@ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
|
|
|
541
541
|
</span>
|
|
542
542
|
</ng-container>
|
|
543
543
|
|
|
544
|
-
<ng-container *ngIf="
|
|
544
|
+
<ng-container *ngIf="isInteractive(getColumnComponent(column), 'sortable')">
|
|
545
545
|
<span class="k-cell-inner">
|
|
546
546
|
<span #link class="k-link" (click)="onSortClick(getColumnComponent(column), $event, link)">
|
|
547
547
|
<ng-template
|
|
@@ -733,9 +733,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
733
733
|
[attr.aria-expanded]="isNavigable && (showFilterMenu || showColumnMenu(column)) ? false : undefined"
|
|
734
734
|
[attr.aria-keyshortcuts]="isNavigable ? 'Alt + ArrowDown' : undefined">
|
|
735
735
|
|
|
736
|
-
<ng-container *ngIf="!
|
|
736
|
+
<ng-container *ngIf="!isInteractive(getColumnComponent(column), 'sortable')">
|
|
737
737
|
<span class="k-cell-inner">
|
|
738
|
-
<span class="k-link
|
|
738
|
+
<span class="k-link" [class.!k-cursor-default]="!isInteractive(getColumnComponent(column), 'groupable') && !isInteractive(getColumnComponent(column), 'reorderable')">
|
|
739
739
|
<ng-template
|
|
740
740
|
[templateContext]="{
|
|
741
741
|
templateRef: column.headerTemplateRef,
|
|
@@ -767,7 +767,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
767
767
|
</span>
|
|
768
768
|
</ng-container>
|
|
769
769
|
|
|
770
|
-
<ng-container *ngIf="
|
|
770
|
+
<ng-container *ngIf="isInteractive(getColumnComponent(column), 'sortable')">
|
|
771
771
|
<span class="k-cell-inner">
|
|
772
772
|
<span #link class="k-link" (click)="onSortClick(getColumnComponent(column), $event, link)">
|
|
773
773
|
<ng-template
|