@progress/kendo-angular-grid 11.0.0-develop.101 → 11.0.0-develop.103

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.
Files changed (48) hide show
  1. package/column-menu/column-chooser.component.d.ts +8 -2
  2. package/column-menu/column-menu-autosize-all.component.d.ts +2 -0
  3. package/column-menu/column-menu-autosize.component.d.ts +2 -0
  4. package/column-menu/column-menu-chooser.component.d.ts +2 -0
  5. package/column-menu/column-menu-filter.component.d.ts +2 -0
  6. package/column-menu/column-menu-item.component.d.ts +7 -2
  7. package/column-menu/column-menu-lock.component.d.ts +4 -0
  8. package/column-menu/column-menu-position.component.d.ts +2 -0
  9. package/column-menu/column-menu-sort.component.d.ts +3 -0
  10. package/column-menu/column-menu-stick.component.d.ts +4 -0
  11. package/column-menu/column-menu.component.d.ts +2 -0
  12. package/column-menu/column-menu.module.d.ts +2 -1
  13. package/esm2020/column-menu/column-chooser.component.mjs +21 -13
  14. package/esm2020/column-menu/column-menu-autosize-all.component.mjs +7 -5
  15. package/esm2020/column-menu/column-menu-autosize.component.mjs +7 -5
  16. package/esm2020/column-menu/column-menu-chooser.component.mjs +5 -1
  17. package/esm2020/column-menu/column-menu-filter.component.mjs +5 -1
  18. package/esm2020/column-menu/column-menu-item.component.mjs +15 -13
  19. package/esm2020/column-menu/column-menu-lock.component.mjs +9 -1
  20. package/esm2020/column-menu/column-menu-position.component.mjs +5 -1
  21. package/esm2020/column-menu/column-menu-sort.component.mjs +8 -1
  22. package/esm2020/column-menu/column-menu-stick.component.mjs +21 -5
  23. package/esm2020/column-menu/column-menu.component.mjs +21 -14
  24. package/esm2020/column-menu/column-menu.module.mjs +4 -3
  25. package/esm2020/dragdrop/draggable-column.directive.mjs +2 -2
  26. package/esm2020/excel/excel-command.directive.mjs +6 -4
  27. package/esm2020/filtering/cell/filter-cell-operators.component.mjs +4 -0
  28. package/esm2020/filtering/menu/filter-menu.component.mjs +11 -4
  29. package/esm2020/grouping/group-header.component.mjs +17 -9
  30. package/esm2020/grouping/group-panel.component.mjs +6 -0
  31. package/esm2020/package-metadata.mjs +1 -1
  32. package/esm2020/pager/pager-next-buttons.component.mjs +7 -0
  33. package/esm2020/pager/pager-prev-buttons.component.mjs +7 -0
  34. package/esm2020/rendering/constants.mjs +1 -1
  35. package/esm2020/rendering/header/header.component.mjs +31 -25
  36. package/esm2020/rendering/table-body.component.mjs +28 -14
  37. package/fesm2015/progress-kendo-angular-grid.mjs +192 -91
  38. package/fesm2020/progress-kendo-angular-grid.mjs +192 -91
  39. package/filtering/cell/filter-cell-operators.component.d.ts +2 -0
  40. package/filtering/menu/filter-menu.component.d.ts +2 -0
  41. package/grouping/group-header.component.d.ts +3 -0
  42. package/grouping/group-panel.component.d.ts +2 -0
  43. package/package.json +14 -14
  44. package/pager/pager-next-buttons.component.d.ts +3 -0
  45. package/pager/pager-prev-buttons.component.d.ts +3 -0
  46. package/rendering/constants.d.ts +1 -1
  47. package/rendering/header/header.component.d.ts +4 -2
  48. package/rendering/table-body.component.d.ts +5 -1
@@ -7,6 +7,7 @@ import { Component, ChangeDetectionStrategy, ChangeDetectorRef } from '@angular/
7
7
  import { PagerContextService } from "./pager-context.service";
8
8
  import { PagerElementComponent } from './pager-element.component';
9
9
  import { LocalizationService } from '@progress/kendo-angular-l10n';
10
+ import { caretAltLeftIcon, caretAltToLeftIcon } from '@progress/kendo-svg-icons';
10
11
  import * as i0 from "@angular/core";
11
12
  import * as i1 from "@progress/kendo-angular-l10n";
12
13
  import * as i2 from "./pager-context.service";
@@ -20,6 +21,8 @@ export class PagerPrevButtonsComponent extends PagerElementComponent {
20
21
  constructor(localization, pagerContext, cd, navigationService) {
21
22
  super(localization, pagerContext, cd);
22
23
  this.navigationService = navigationService;
24
+ this.caretAltLeftIcon = caretAltLeftIcon;
25
+ this.caretAltToLeftIcon = caretAltToLeftIcon;
23
26
  }
24
27
  /**
25
28
  * @hidden
@@ -49,6 +52,7 @@ PagerPrevButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
49
52
  (click)="currentPage !== 1 ? changePage(0) : false"
50
53
  role="button"
51
54
  icon="caret-alt-to-left"
55
+ [svgIcon]="caretAltToLeftIcon"
52
56
  class="k-pager-nav k-pager-first"
53
57
  [disabled]="disabled"
54
58
  fillMode="flat"
@@ -62,6 +66,7 @@ PagerPrevButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
62
66
  class="k-pager-nav"
63
67
  [disabled]="disabled"
64
68
  icon="caret-alt-left"
69
+ [svgIcon]="caretAltLeftIcon"
65
70
  fillMode="flat"
66
71
  rounded="none"
67
72
  [size]="size"
@@ -85,6 +90,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
85
90
  (click)="currentPage !== 1 ? changePage(0) : false"
86
91
  role="button"
87
92
  icon="caret-alt-to-left"
93
+ [svgIcon]="caretAltToLeftIcon"
88
94
  class="k-pager-nav k-pager-first"
89
95
  [disabled]="disabled"
90
96
  fillMode="flat"
@@ -98,6 +104,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
98
104
  class="k-pager-nav"
99
105
  [disabled]="disabled"
100
106
  icon="caret-alt-left"
107
+ [svgIcon]="caretAltLeftIcon"
101
108
  fillMode="flat"
102
109
  rounded="none"
103
110
  [size]="size"
@@ -13,7 +13,7 @@ export const NON_DATA_ROW_CLASSES = 'k-grouping-row k-group-footer k-detail-row
13
13
  /**
14
14
  * @hidden
15
15
  */
16
- export const IGNORE_TARGET_CLASSSES = 'k-icon';
16
+ export const IGNORE_TARGET_CLASSSES = 'k-icon k-svg-icon';
17
17
  /**
18
18
  * @hidden
19
19
  */
@@ -28,6 +28,7 @@ import { hasItems } from '../../column-menu/utils';
28
28
  import { closestInScope, isFocusable } from '../common/dom-queries';
29
29
  import { FilterMenuComponent } from '../../filtering/menu/filter-menu.component';
30
30
  import { ColumnMenuComponent } from '../../column-menu/column-menu.component';
31
+ import { sortAscSmallIcon, sortDescSmallIcon } from '@progress/kendo-svg-icons';
31
32
  import * as i0 from "@angular/core";
32
33
  import * as i1 from "../../common/single-popup.service";
33
34
  import * as i2 from "../../dragdrop/drag-hint.service";
@@ -39,17 +40,18 @@ import * as i7 from "@progress/kendo-angular-l10n";
39
40
  import * as i8 from "./../../common/column-info.service";
40
41
  import * as i9 from "../../filtering/menu/filter-menu.component";
41
42
  import * as i10 from "../../column-menu/column-menu.component";
42
- import * as i11 from "../../filtering/filter-row.component";
43
- import * as i12 from "@angular/common";
44
- import * as i13 from "../../navigation/logical-row.directive";
45
- import * as i14 from "../../navigation/logical-cell.directive";
46
- import * as i15 from "../../dragdrop/drop-target.directive";
47
- import * as i16 from "@progress/kendo-angular-common";
48
- import * as i17 from "../../dragdrop/draggable-column.directive";
49
- import * as i18 from "../common/template-context.directive";
50
- import * as i19 from "../../selection/selectall-checkbox.directive";
51
- import * as i20 from "../../navigation/focusable.directive";
52
- import * as i21 from "../../column-resizing/column-handle.directive";
43
+ import * as i11 from "@progress/kendo-angular-icons";
44
+ import * as i12 from "../../filtering/filter-row.component";
45
+ import * as i13 from "@angular/common";
46
+ import * as i14 from "../../navigation/logical-row.directive";
47
+ import * as i15 from "../../navigation/logical-cell.directive";
48
+ import * as i16 from "../../dragdrop/drop-target.directive";
49
+ import * as i17 from "@progress/kendo-angular-common";
50
+ import * as i18 from "../../dragdrop/draggable-column.directive";
51
+ import * as i19 from "../common/template-context.directive";
52
+ import * as i20 from "../../selection/selectall-checkbox.directive";
53
+ import * as i21 from "../../navigation/focusable.directive";
54
+ import * as i22 from "../../column-resizing/column-handle.directive";
53
55
  const mergeObjects = (...args) => Object.assign.apply(null, [{}].concat(args));
54
56
  const directions = initialDirection => initialDirection === "asc" ? ["asc", "desc"] : ["desc", "asc"];
55
57
  /**
@@ -99,6 +101,8 @@ export class HeaderComponent {
99
101
  this.sortedFields = {};
100
102
  this.hostClass = true;
101
103
  this.dropTargets = new QueryList();
104
+ this.sortAscSmallIcon = sortAscSmallIcon;
105
+ this.sortDescSmallIcon = sortDescSmallIcon;
102
106
  this.subscription = new Subscription();
103
107
  }
104
108
  get headerClass() {
@@ -167,14 +171,6 @@ export class HeaderComponent {
167
171
  .findIndex(x => x.field === field)
168
172
  + 1;
169
173
  }
170
- sortIcon(field) {
171
- const state = this.sortDescriptor(field);
172
- return {
173
- 'k-icon': isPresent(state.dir),
174
- 'k-i-sort-desc-small': state.dir === "desc",
175
- 'k-i-sort-asc-small': state.dir === "asc"
176
- };
177
- }
178
174
  sortState(column) {
179
175
  if (!this.isSortable(column)) {
180
176
  return;
@@ -332,12 +328,12 @@ export class HeaderComponent {
332
328
  isColumnGroupComponent(column) {
333
329
  return isColumnGroupComponent(column);
334
330
  }
335
- get columnLevels() {
336
- return new Array((this.totalColumnLevels || 0) + 1);
337
- }
338
331
  sortDescriptor(field) {
339
332
  return this.sort.find(item => item.field === field) || { field };
340
333
  }
334
+ get columnLevels() {
335
+ return new Array((this.totalColumnLevels || 0) + 1);
336
+ }
341
337
  get leafColumns() {
342
338
  return this._leafColumns;
343
339
  }
@@ -527,7 +523,12 @@ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
527
523
  <span class="k-column-title">{{column.displayTitle}}</span>
528
524
  </ng-container>
529
525
  <span class="k-sort-icon">
530
- <span role="note" [attr.aria-label]="sortableLabel" [ngClass]="sortIcon(getColumnComponent(column).field)"></span>
526
+ <kendo-icon-wrapper
527
+ *ngIf="sortDescriptor(getColumnComponent(column).field).dir"
528
+ role="note" [attr.aria-label]="sortableLabel"
529
+ name="sort-{{sortDescriptor(getColumnComponent(column).field).dir}}-small"
530
+ [svgIcon]="sortDescriptor(getColumnComponent(column).field).dir === 'asc' ? sortAscSmallIcon : sortDescSmallIcon"
531
+ ></kendo-icon-wrapper>
531
532
  </span>
532
533
  <span *ngIf="showSortNumbering(getColumnComponent(column))" class="k-sort-order">{{sortOrder(getColumnComponent(column).field)}}</span>
533
534
  </span>
@@ -642,7 +643,7 @@ HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
642
643
  [logicalSlaveCellsCount]="unlockedColumnsCount"
643
644
  ></tr>
644
645
  </ng-container>
645
- `, isInline: true, components: [{ type: i9.FilterMenuComponent, selector: "kendo-grid-filter-menu", inputs: ["column", "filter", "tabIndex"] }, { type: i10.ColumnMenuComponent, selector: "kendo-grid-column-menu", inputs: ["standalone", "column", "settings", "sort", "filter", "sortable", "columnMenuTemplate", "tabIndex"] }, { type: i11.FilterRowComponent, selector: "[kendoGridFilterRow]", inputs: ["columns", "filter", "groups", "detailTemplate", "logicalRowIndex", "lockedColumnsCount"] }], directives: [{ type: i12.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i13.LogicalRowDirective, selector: "[kendoGridLogicalRow]", inputs: ["logicalRowIndex", "logicalSlaveRow", "logicalCellsCount", "logicalSlaveCellsCount", "dataRowIndex", "dataItem"] }, { type: i12.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i14.LogicalCellDirective, selector: "[kendoGridLogicalCell]", inputs: ["logicalColIndex", "logicalRowIndex", "logicalSlaveCell", "colIndex", "colSpan", "rowSpan", "groupItem", "dataRowIndex", "dataItem", "detailExpandCell", "headerLabelText"] }, { type: i15.DropTargetDirective, selector: "[kendoDropTarget]", inputs: ["context"], outputs: ["enter", "leave", "drop"] }, { type: i16.DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }, { type: i17.DraggableColumnDirective, selector: "[kendoDraggableColumn]", inputs: ["context", "enableDrag"], outputs: ["drag"] }, { type: i12.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i12.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i18.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i19.SelectAllCheckboxDirective, selector: "[kendoGridSelectAllCheckbox]", inputs: ["state"], outputs: ["selectAllChange"] }, { type: i20.FocusableDirective, selector: "[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ", inputs: ["kendoGridFocusable"] }, { type: i21.ColumnHandleDirective, selector: "[kendoGridColumnHandle]", inputs: ["columns", "column"] }] });
646
+ `, isInline: true, components: [{ type: i9.FilterMenuComponent, selector: "kendo-grid-filter-menu", inputs: ["column", "filter", "tabIndex"] }, { type: i10.ColumnMenuComponent, selector: "kendo-grid-column-menu", inputs: ["standalone", "column", "settings", "sort", "filter", "sortable", "columnMenuTemplate", "tabIndex"] }, { type: i11.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { type: i12.FilterRowComponent, selector: "[kendoGridFilterRow]", inputs: ["columns", "filter", "groups", "detailTemplate", "logicalRowIndex", "lockedColumnsCount"] }], directives: [{ type: i13.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i14.LogicalRowDirective, selector: "[kendoGridLogicalRow]", inputs: ["logicalRowIndex", "logicalSlaveRow", "logicalCellsCount", "logicalSlaveCellsCount", "dataRowIndex", "dataItem"] }, { type: i13.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i15.LogicalCellDirective, selector: "[kendoGridLogicalCell]", inputs: ["logicalColIndex", "logicalRowIndex", "logicalSlaveCell", "colIndex", "colSpan", "rowSpan", "groupItem", "dataRowIndex", "dataItem", "detailExpandCell", "headerLabelText"] }, { type: i16.DropTargetDirective, selector: "[kendoDropTarget]", inputs: ["context"], outputs: ["enter", "leave", "drop"] }, { type: i17.DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }, { type: i18.DraggableColumnDirective, selector: "[kendoDraggableColumn]", inputs: ["context", "enableDrag"], outputs: ["drag"] }, { type: i13.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i13.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i19.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i20.SelectAllCheckboxDirective, selector: "[kendoGridSelectAllCheckbox]", inputs: ["state"], outputs: ["selectAllChange"] }, { type: i21.FocusableDirective, selector: "[kendoGridFocusable],\n [kendoGridEditCommand],\n [kendoGridRemoveCommand],\n [kendoGridSaveCommand],\n [kendoGridCancelCommand],\n [kendoGridSelectionCheckbox]\n ", inputs: ["kendoGridFocusable"] }, { type: i22.ColumnHandleDirective, selector: "[kendoGridColumnHandle]", inputs: ["columns", "column"] }] });
646
647
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HeaderComponent, decorators: [{
647
648
  type: Component,
648
649
  args: [{
@@ -751,7 +752,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
751
752
  <span class="k-column-title">{{column.displayTitle}}</span>
752
753
  </ng-container>
753
754
  <span class="k-sort-icon">
754
- <span role="note" [attr.aria-label]="sortableLabel" [ngClass]="sortIcon(getColumnComponent(column).field)"></span>
755
+ <kendo-icon-wrapper
756
+ *ngIf="sortDescriptor(getColumnComponent(column).field).dir"
757
+ role="note" [attr.aria-label]="sortableLabel"
758
+ name="sort-{{sortDescriptor(getColumnComponent(column).field).dir}}-small"
759
+ [svgIcon]="sortDescriptor(getColumnComponent(column).field).dir === 'asc' ? sortAscSmallIcon : sortDescSmallIcon"
760
+ ></kendo-icon-wrapper>
755
761
  </span>
756
762
  <span *ngIf="showSortNumbering(getColumnComponent(column))" class="k-sort-order">{{sortOrder(getColumnComponent(column).field)}}</span>
757
763
  </span>
@@ -23,6 +23,7 @@ import { defaultTrackBy } from '../common/default-track-by';
23
23
  import { DetailsService } from './details/details.service';
24
24
  import { NON_DATA_CELL_CLASSES, NON_DATA_ROW_CLASSES, IGNORE_TARGET_CLASSSES, IGNORE_CONTAINER_CLASSES } from './constants';
25
25
  import { CellSelectionService } from '../selection/cell-selection.service';
26
+ import { minusIcon, plusIcon } from '@progress/kendo-svg-icons';
26
27
  import * as i0 from "@angular/core";
27
28
  import * as i1 from "./details/details.service";
28
29
  import * as i2 from "../grouping/groups.service";
@@ -36,11 +37,12 @@ import * as i9 from "../common/column-info.service";
36
37
  import * as i10 from "../navigation/navigation.service";
37
38
  import * as i11 from "./cell.component";
38
39
  import * as i12 from "../grouping/group-header.component";
39
- import * as i13 from "@progress/kendo-angular-common";
40
- import * as i14 from "@angular/common";
41
- import * as i15 from "../navigation/logical-row.directive";
42
- import * as i16 from "../navigation/logical-cell.directive";
43
- import * as i17 from "./common/template-context.directive";
40
+ import * as i13 from "@progress/kendo-angular-icons";
41
+ import * as i14 from "@progress/kendo-angular-common";
42
+ import * as i15 from "@angular/common";
43
+ import * as i16 from "../navigation/logical-row.directive";
44
+ import * as i17 from "../navigation/logical-cell.directive";
45
+ import * as i18 from "./common/template-context.directive";
44
46
  const columnCellIndex = (cell, cells) => {
45
47
  let cellIndex = 0;
46
48
  for (let idx = 0; idx < cells.length; idx++) {
@@ -81,6 +83,8 @@ export class TableBodyComponent {
81
83
  this.totalColumnsCount = 0;
82
84
  this.trackBy = defaultTrackBy;
83
85
  this.hostClass = true;
86
+ this.minusIcon = minusIcon;
87
+ this.plusIcon = plusIcon;
84
88
  this.rowClass = () => null;
85
89
  this.cellKeydownSubscription = this.navigationService.cellKeydown.subscribe((args) => this.cellKeydownHandler(args));
86
90
  this.trackByWrapper = this.trackByWrapper.bind(this);
@@ -104,9 +108,13 @@ export class TableBodyComponent {
104
108
  isExpanded(viewItem) {
105
109
  return this.detailsService.isExpanded(viewItem.index, viewItem.data);
106
110
  }
107
- detailButtonStyles(viewItem) {
111
+ detailButtonIconName(viewItem) {
108
112
  const expanded = this.isExpanded(viewItem);
109
- return expanded ? 'k-i-minus' : 'k-i-plus';
113
+ return expanded ? 'minus' : 'plus';
114
+ }
115
+ detailButtonSvgIcon(viewItem) {
116
+ const expanded = this.isExpanded(viewItem);
117
+ return expanded ? this.minusIcon : this.plusIcon;
110
118
  }
111
119
  detailButtonTitle(viewItem) {
112
120
  const messageKey = this.isExpanded(viewItem) ? 'detailCollapse' : 'detailExpand';
@@ -482,12 +490,15 @@ TableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
482
490
  [detailExpandCell]="true"
483
491
  aria-selected="false"
484
492
  role="gridcell">
485
- <a class="k-icon"
493
+ <a
486
494
  *ngIf="detailTemplate.showIf(item.data, $any(item).index)"
487
- [ngClass]="detailButtonStyles(item)"
488
495
  [attr.title]="detailButtonTitle(item)"
489
496
  [attr.aria-label]="detailButtonTitle(item)"
490
- href="#" tabindex="-1" (click)="toggleRow($any(item).index, item.data)"></a>
497
+ href="#" tabindex="-1" (click)="toggleRow($any(item).index, item.data)">
498
+ <kendo-icon-wrapper
499
+ [name]="detailButtonIconName(item)"
500
+ [svgIcon]="detailButtonSvgIcon(item)"></kendo-icon-wrapper>
501
+ </a>
491
502
  </td>
492
503
  <td
493
504
  kendoGridCell
@@ -598,7 +609,7 @@ TableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
598
609
  </tr>
599
610
  </ng-container>
600
611
  <kendo-resize-sensor *ngIf="rowSticky" (resize)="resizeHandler()"></kendo-resize-sensor>
601
- `, isInline: true, components: [{ type: i11.CellComponent, selector: "[kendoGridCell]", inputs: ["column", "columnIndex", "isNew", "isLoading", "isVirtual", "loadingTemplate", "rowIndex", "dataItem"] }, { type: i12.GroupHeaderComponent, selector: "[kendoGridGroupHeader]", inputs: ["rowIndex", "logicalRowIndex", "item", "skipGroupDecoration", "hasDetails", "totalColumnsCount", "hasGroupHeaderColumn", "groupHeaderColumns", "columns", "groups"] }, { type: i13.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: i14.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i15.LogicalRowDirective, selector: "[kendoGridLogicalRow]", inputs: ["logicalRowIndex", "logicalSlaveRow", "logicalCellsCount", "logicalSlaveCellsCount", "dataRowIndex", "dataItem"] }, { type: i14.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i16.LogicalCellDirective, selector: "[kendoGridLogicalCell]", inputs: ["logicalColIndex", "logicalRowIndex", "logicalSlaveCell", "colIndex", "colSpan", "rowSpan", "groupItem", "dataRowIndex", "dataItem", "detailExpandCell", "headerLabelText"] }, { type: i14.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i14.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i17.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i14.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
612
+ `, isInline: true, components: [{ type: i11.CellComponent, selector: "[kendoGridCell]", inputs: ["column", "columnIndex", "isNew", "isLoading", "isVirtual", "loadingTemplate", "rowIndex", "dataItem"] }, { type: i12.GroupHeaderComponent, selector: "[kendoGridGroupHeader]", inputs: ["rowIndex", "logicalRowIndex", "item", "skipGroupDecoration", "hasDetails", "totalColumnsCount", "hasGroupHeaderColumn", "groupHeaderColumns", "columns", "groups"] }, { type: i13.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { type: i14.ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], directives: [{ type: i15.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i16.LogicalRowDirective, selector: "[kendoGridLogicalRow]", inputs: ["logicalRowIndex", "logicalSlaveRow", "logicalCellsCount", "logicalSlaveCellsCount", "dataRowIndex", "dataItem"] }, { type: i15.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i17.LogicalCellDirective, selector: "[kendoGridLogicalCell]", inputs: ["logicalColIndex", "logicalRowIndex", "logicalSlaveCell", "colIndex", "colSpan", "rowSpan", "groupItem", "dataRowIndex", "dataItem", "detailExpandCell", "headerLabelText"] }, { type: i15.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i15.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i18.TemplateContextDirective, selector: "[templateContext]", inputs: ["templateContext"] }, { type: i15.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
602
613
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TableBodyComponent, decorators: [{
603
614
  type: Component,
604
615
  args: [{
@@ -704,12 +715,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
704
715
  [detailExpandCell]="true"
705
716
  aria-selected="false"
706
717
  role="gridcell">
707
- <a class="k-icon"
718
+ <a
708
719
  *ngIf="detailTemplate.showIf(item.data, $any(item).index)"
709
- [ngClass]="detailButtonStyles(item)"
710
720
  [attr.title]="detailButtonTitle(item)"
711
721
  [attr.aria-label]="detailButtonTitle(item)"
712
- href="#" tabindex="-1" (click)="toggleRow($any(item).index, item.data)"></a>
722
+ href="#" tabindex="-1" (click)="toggleRow($any(item).index, item.data)">
723
+ <kendo-icon-wrapper
724
+ [name]="detailButtonIconName(item)"
725
+ [svgIcon]="detailButtonSvgIcon(item)"></kendo-icon-wrapper>
726
+ </a>
713
727
  </td>
714
728
  <td
715
729
  kendoGridCell