@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.
@@ -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: 1724742021,
13
- version: '16.8.0',
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.isSortable(column)) {
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
- isSortable(column) {
325
+ isInteractive(column, prop) {
326
326
  return !isNullOrEmptyString(column.field)
327
- && isTruthy(this.sortable) && isTruthy(column.sortable);
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="!isSortable(getColumnComponent(column))">
510
+ <ng-container *ngIf="!isInteractive(getColumnComponent(column), 'sortable')">
511
511
  <span class="k-cell-inner">
512
- <span class="k-link !k-cursor-default">
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="isSortable(getColumnComponent(column))">
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="!isSortable(getColumnComponent(column))">
736
+ <ng-container *ngIf="!isInteractive(getColumnComponent(column), 'sortable')">
737
737
  <span class="k-cell-inner">
738
- <span class="k-link !k-cursor-default">
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="isSortable(getColumnComponent(column))">
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