@progress/kendo-angular-grid 19.3.0-develop.16 → 19.3.0-develop.18

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.
@@ -8,6 +8,7 @@ import type { GridComponent } from '../grid.component';
8
8
  import { GridToolbarNavigationService } from '../rendering/toolbar/toolbar-navigation.service';
9
9
  import type { GroupBindingDirective } from '../grouping/group-scroll-binding.directive';
10
10
  import type { DataBindingDirective } from '../databinding.directive';
11
+ import { HighlightDirective } from '../highlight/highlight.directive';
11
12
  import * as i0 from "@angular/core";
12
13
  /**
13
14
  * @hidden
@@ -26,6 +27,7 @@ export declare class ContextService {
26
27
  bottomToolbarNavigation: GridToolbarNavigationService;
27
28
  navigable: boolean;
28
29
  dataBindingDirective: DataBindingDirective | GroupBindingDirective;
30
+ highlightDirective: HighlightDirective;
29
31
  constructor(renderer: Renderer2, localization: LocalizationService);
30
32
  static ɵfac: i0.ɵɵFactoryDeclaration<ContextService, never>;
31
33
  static ɵprov: i0.ɵɵInjectableDeclaration<ContextService>;
@@ -9,6 +9,7 @@ import { GridItem } from './grid-item.interface';
9
9
  import { DetailsService } from '../rendering/details/details.service';
10
10
  import { ColumnBase } from '../columns/column-base';
11
11
  import { DetailTemplateDirective } from '../rendering/details/detail-template.directive';
12
+ import { ContextService } from '../common/provider.service';
12
13
  import * as i0 from "@angular/core";
13
14
  /**
14
15
  * @hidden
@@ -17,9 +18,10 @@ export declare class DataMappingService {
17
18
  private rowspanService;
18
19
  private groupsService;
19
20
  private detailsService;
21
+ private ctx;
20
22
  private recalculateRowspan;
21
23
  private dataArray;
22
- constructor(rowspanService: RowspanService, groupsService: GroupsService, detailsService: DetailsService);
24
+ constructor(rowspanService: RowspanService, groupsService: GroupsService, detailsService: DetailsService, ctx: ContextService);
23
25
  private isGroup;
24
26
  /**
25
27
  * Maps the data to the Grid row items, applying rowspan and detail row logic.
package/directives.d.ts CHANGED
@@ -150,6 +150,7 @@ import { SaveCommandToolbarDirective } from "./editing/save-command-tool.directi
150
150
  import { RemoveCommandToolbarDirective } from "./editing/remove-command-tool.directive";
151
151
  import { CancelCommandToolbarDirective } from "./editing/cancel-command-tool.directive";
152
152
  import { GroupCommandToolbarDirective } from "./rendering/toolbar/tools/group-command-tool.directive";
153
+ import { HighlightDirective } from "./highlight/highlight.directive";
153
154
  /**
154
155
  * @hidden
155
156
  *
@@ -237,13 +238,13 @@ export declare const KENDO_GRID_BODY_EXPORTS: readonly [typeof CommandColumnComp
237
238
  *
238
239
  * Utility array that contains the Grid module declarations
239
240
  */
240
- export declare const KENDO_GRID_DECLARATIONS: readonly [typeof GridComponent, typeof ListComponent, typeof ToolbarComponent, typeof LocalizedMessagesDirective, typeof CustomMessagesComponent, typeof DataBindingDirective, typeof ToolbarTemplateDirective, typeof SelectionDirective, typeof TemplateEditingDirective, typeof ReactiveEditingDirective, typeof InCellEditingDirective, typeof ExternalEditingDirective, typeof ExpandDetailsDirective, typeof ExpandGroupDirective, typeof GroupBindingDirective, typeof GridMarqueeDirective, typeof GridSpacerComponent, typeof GridToolbarFocusableDirective, typeof StatusBarComponent, typeof StatusBarTemplateDirective, typeof GridClipboardDirective, typeof FormComponent, typeof DialogFormComponent, typeof FormFormFieldComponent, typeof UndoRedoDirective];
241
+ export declare const KENDO_GRID_DECLARATIONS: readonly [typeof GridComponent, typeof ListComponent, typeof ToolbarComponent, typeof LocalizedMessagesDirective, typeof CustomMessagesComponent, typeof DataBindingDirective, typeof ToolbarTemplateDirective, typeof SelectionDirective, typeof HighlightDirective, typeof TemplateEditingDirective, typeof ReactiveEditingDirective, typeof InCellEditingDirective, typeof ExternalEditingDirective, typeof ExpandDetailsDirective, typeof ExpandGroupDirective, typeof GroupBindingDirective, typeof GridMarqueeDirective, typeof GridSpacerComponent, typeof GridToolbarFocusableDirective, typeof StatusBarComponent, typeof StatusBarTemplateDirective, typeof GridClipboardDirective, typeof FormComponent, typeof DialogFormComponent, typeof FormFormFieldComponent, typeof UndoRedoDirective];
241
242
  /**
242
243
  * @hidden
243
244
  *
244
245
  * Utility array that contains the Grid module exports
245
246
  */
246
- export declare const KENDO_GRID_EXPORTS: readonly [typeof GridComponent, typeof ToolbarTemplateDirective, typeof ToolbarComponent, typeof GridSpacerComponent, typeof StatusBarTemplateDirective, typeof DataBindingDirective, typeof SelectionDirective, typeof CustomMessagesComponent, typeof GroupBindingDirective, typeof TemplateEditingDirective, typeof ReactiveEditingDirective, typeof InCellEditingDirective, typeof ExternalEditingDirective, typeof ExpandDetailsDirective, typeof ExpandGroupDirective, typeof GridToolbarFocusableDirective, typeof GroupHeaderTemplateDirective, typeof GroupHeaderColumnTemplateDirective, typeof GroupFooterTemplateDirective, typeof GroupHeaderComponent, typeof GroupPanelComponent, typeof ColumnComponent, typeof ColumnGroupComponent, typeof LogicalCellDirective, typeof LogicalRowDirective, typeof FocusableDirective, typeof FooterTemplateDirective, typeof ColGroupComponent, typeof ResizableContainerDirective, typeof TemplateContextDirective, typeof FieldAccessorPipe, typeof DetailTemplateDirective, typeof SpanColumnComponent, typeof LoadingComponent, typeof GridTableDirective, typeof CommandColumnComponent, typeof CheckboxColumnComponent, typeof SelectionCheckboxDirective, typeof CellTemplateDirective, typeof EditTemplateDirective, typeof RowDragHandleTemplateDirective, typeof RowDragHintTemplateDirective, typeof TableBodyComponent, typeof NoRecordsTemplateDirective, typeof CellComponent, typeof EditCommandDirective, typeof CancelCommandDirective, typeof SaveCommandDirective, typeof RemoveCommandDirective, typeof AddCommandDirective, typeof AddCommandToolbarDirective, typeof EditCommandToolbarDirective, typeof SaveCommandToolbarDirective, typeof RemoveCommandToolbarDirective, typeof CancelCommandToolbarDirective, typeof CellLoadingTemplateDirective, typeof LoadingTemplateDirective, typeof RowReorderColumnComponent, typeof SortCommandToolbarDirective, typeof FilterCommandToolbarDirective, typeof GroupCommandToolbarDirective, typeof HeaderComponent, typeof HeaderTemplateDirective, typeof ColumnHandleDirective, typeof SelectAllCheckboxDirective, typeof FilterRowComponent, typeof FilterCellComponent, typeof FilterCellTemplateDirective, typeof StringFilterCellComponent, typeof NumericFilterCellComponent, typeof AutoCompleteFilterCellComponent, typeof BooleanFilterCellComponent, typeof FilterCellHostDirective, typeof FilterCellWrapperComponent, typeof DateFilterCellComponent, typeof FilterCellOperatorsComponent, typeof ContainsFilterOperatorComponent, typeof DoesNotContainFilterOperatorComponent, typeof EndsWithFilterOperatorComponent, typeof EqualFilterOperatorComponent, typeof IsEmptyFilterOperatorComponent, typeof IsNotEmptyFilterOperatorComponent, typeof IsNotNullFilterOperatorComponent, typeof IsNullFilterOperatorComponent, typeof NotEqualFilterOperatorComponent, typeof StartsWithFilterOperatorComponent, typeof GreaterFilterOperatorComponent, typeof GreaterOrEqualToFilterOperatorComponent, typeof LessFilterOperatorComponent, typeof LessOrEqualToFilterOperatorComponent, typeof AfterFilterOperatorComponent, typeof AfterEqFilterOperatorComponent, typeof BeforeEqFilterOperatorComponent, typeof BeforeFilterOperatorComponent, typeof FilterMenuComponent, typeof FilterMenuContainerComponent, typeof FilterMenuInputWrapperComponent, typeof StringFilterMenuInputComponent, typeof StringFilterMenuComponent, typeof FilterMenuTemplateDirective, typeof NumericFilterMenuComponent, typeof NumericFilterMenuInputComponent, typeof DateFilterMenuInputComponent, typeof DateFilterMenuComponent, typeof FilterMenuHostDirective, typeof BooleanFilterMenuComponent, typeof FilterMenuDropDownListDirective, typeof BooleanFilterRadioButtonDirective, typeof ColumnChooserComponent, typeof ColumnChooserToolbarDirective, typeof ColumnMenuFilterComponent, typeof ColumnMenuItemComponent, typeof ColumnMenuItemContentTemplateDirective, typeof ColumnMenuSortComponent, typeof ColumnMenuLockComponent, typeof ColumnMenuStickComponent, typeof ColumnMenuPositionComponent, typeof ColumnMenuChooserComponent, typeof ColumnMenuTemplateDirective, typeof ColumnMenuContainerComponent, typeof ColumnMenuItemDirective, typeof ColumnMenuComponent, typeof ColumnMenuAutoSizeColumnComponent, typeof ColumnMenuAutoSizeAllColumnsComponent, typeof GridClipboardDirective, typeof UndoRedoDirective, typeof UndoCommandToolbarDirective, typeof RedoCommandToolbarDirective];
247
+ export declare const KENDO_GRID_EXPORTS: readonly [typeof GridComponent, typeof ToolbarTemplateDirective, typeof ToolbarComponent, typeof GridSpacerComponent, typeof StatusBarTemplateDirective, typeof DataBindingDirective, typeof SelectionDirective, typeof HighlightDirective, typeof CustomMessagesComponent, typeof GroupBindingDirective, typeof TemplateEditingDirective, typeof ReactiveEditingDirective, typeof InCellEditingDirective, typeof ExternalEditingDirective, typeof ExpandDetailsDirective, typeof ExpandGroupDirective, typeof GridToolbarFocusableDirective, typeof GroupHeaderTemplateDirective, typeof GroupHeaderColumnTemplateDirective, typeof GroupFooterTemplateDirective, typeof GroupHeaderComponent, typeof GroupPanelComponent, typeof ColumnComponent, typeof ColumnGroupComponent, typeof LogicalCellDirective, typeof LogicalRowDirective, typeof FocusableDirective, typeof FooterTemplateDirective, typeof ColGroupComponent, typeof ResizableContainerDirective, typeof TemplateContextDirective, typeof FieldAccessorPipe, typeof DetailTemplateDirective, typeof SpanColumnComponent, typeof LoadingComponent, typeof GridTableDirective, typeof CommandColumnComponent, typeof CheckboxColumnComponent, typeof SelectionCheckboxDirective, typeof CellTemplateDirective, typeof EditTemplateDirective, typeof RowDragHandleTemplateDirective, typeof RowDragHintTemplateDirective, typeof TableBodyComponent, typeof NoRecordsTemplateDirective, typeof CellComponent, typeof EditCommandDirective, typeof CancelCommandDirective, typeof SaveCommandDirective, typeof RemoveCommandDirective, typeof AddCommandDirective, typeof AddCommandToolbarDirective, typeof EditCommandToolbarDirective, typeof SaveCommandToolbarDirective, typeof RemoveCommandToolbarDirective, typeof CancelCommandToolbarDirective, typeof CellLoadingTemplateDirective, typeof LoadingTemplateDirective, typeof RowReorderColumnComponent, typeof SortCommandToolbarDirective, typeof FilterCommandToolbarDirective, typeof GroupCommandToolbarDirective, typeof HeaderComponent, typeof HeaderTemplateDirective, typeof ColumnHandleDirective, typeof SelectAllCheckboxDirective, typeof FilterRowComponent, typeof FilterCellComponent, typeof FilterCellTemplateDirective, typeof StringFilterCellComponent, typeof NumericFilterCellComponent, typeof AutoCompleteFilterCellComponent, typeof BooleanFilterCellComponent, typeof FilterCellHostDirective, typeof FilterCellWrapperComponent, typeof DateFilterCellComponent, typeof FilterCellOperatorsComponent, typeof ContainsFilterOperatorComponent, typeof DoesNotContainFilterOperatorComponent, typeof EndsWithFilterOperatorComponent, typeof EqualFilterOperatorComponent, typeof IsEmptyFilterOperatorComponent, typeof IsNotEmptyFilterOperatorComponent, typeof IsNotNullFilterOperatorComponent, typeof IsNullFilterOperatorComponent, typeof NotEqualFilterOperatorComponent, typeof StartsWithFilterOperatorComponent, typeof GreaterFilterOperatorComponent, typeof GreaterOrEqualToFilterOperatorComponent, typeof LessFilterOperatorComponent, typeof LessOrEqualToFilterOperatorComponent, typeof AfterFilterOperatorComponent, typeof AfterEqFilterOperatorComponent, typeof BeforeEqFilterOperatorComponent, typeof BeforeFilterOperatorComponent, typeof FilterMenuComponent, typeof FilterMenuContainerComponent, typeof FilterMenuInputWrapperComponent, typeof StringFilterMenuInputComponent, typeof StringFilterMenuComponent, typeof FilterMenuTemplateDirective, typeof NumericFilterMenuComponent, typeof NumericFilterMenuInputComponent, typeof DateFilterMenuInputComponent, typeof DateFilterMenuComponent, typeof FilterMenuHostDirective, typeof BooleanFilterMenuComponent, typeof FilterMenuDropDownListDirective, typeof BooleanFilterRadioButtonDirective, typeof ColumnChooserComponent, typeof ColumnChooserToolbarDirective, typeof ColumnMenuFilterComponent, typeof ColumnMenuItemComponent, typeof ColumnMenuItemContentTemplateDirective, typeof ColumnMenuSortComponent, typeof ColumnMenuLockComponent, typeof ColumnMenuStickComponent, typeof ColumnMenuPositionComponent, typeof ColumnMenuChooserComponent, typeof ColumnMenuTemplateDirective, typeof ColumnMenuContainerComponent, typeof ColumnMenuItemDirective, typeof ColumnMenuComponent, typeof ColumnMenuAutoSizeColumnComponent, typeof ColumnMenuAutoSizeAllColumnsComponent, typeof GridClipboardDirective, typeof UndoRedoDirective, typeof UndoCommandToolbarDirective, typeof RedoCommandToolbarDirective];
247
248
  /**
248
249
  * @hidden
249
250
  *
@@ -268,4 +269,4 @@ export declare const KENDO_GRID_PDF_EXPORT: readonly [typeof PDFComponent, typeo
268
269
  * export class AppModule {}
269
270
  * ```
270
271
  */
271
- export declare const KENDO_GRID: readonly [typeof GridComponent, typeof ToolbarTemplateDirective, typeof ToolbarComponent, typeof GridSpacerComponent, typeof StatusBarTemplateDirective, typeof DataBindingDirective, typeof SelectionDirective, typeof CustomMessagesComponent, typeof GroupBindingDirective, typeof TemplateEditingDirective, typeof ReactiveEditingDirective, typeof InCellEditingDirective, typeof ExternalEditingDirective, typeof ExpandDetailsDirective, typeof ExpandGroupDirective, typeof GridToolbarFocusableDirective, typeof GroupHeaderTemplateDirective, typeof GroupHeaderColumnTemplateDirective, typeof GroupFooterTemplateDirective, typeof GroupHeaderComponent, typeof GroupPanelComponent, typeof ColumnComponent, typeof ColumnGroupComponent, typeof LogicalCellDirective, typeof LogicalRowDirective, typeof FocusableDirective, typeof FooterTemplateDirective, typeof ColGroupComponent, typeof ResizableContainerDirective, typeof TemplateContextDirective, typeof FieldAccessorPipe, typeof DetailTemplateDirective, typeof SpanColumnComponent, typeof LoadingComponent, typeof GridTableDirective, typeof CommandColumnComponent, typeof CheckboxColumnComponent, typeof SelectionCheckboxDirective, typeof CellTemplateDirective, typeof EditTemplateDirective, typeof RowDragHandleTemplateDirective, typeof RowDragHintTemplateDirective, typeof TableBodyComponent, typeof NoRecordsTemplateDirective, typeof CellComponent, typeof EditCommandDirective, typeof CancelCommandDirective, typeof SaveCommandDirective, typeof RemoveCommandDirective, typeof AddCommandDirective, typeof AddCommandToolbarDirective, typeof EditCommandToolbarDirective, typeof SaveCommandToolbarDirective, typeof RemoveCommandToolbarDirective, typeof CancelCommandToolbarDirective, typeof CellLoadingTemplateDirective, typeof LoadingTemplateDirective, typeof RowReorderColumnComponent, typeof SortCommandToolbarDirective, typeof FilterCommandToolbarDirective, typeof GroupCommandToolbarDirective, typeof HeaderComponent, typeof HeaderTemplateDirective, typeof ColumnHandleDirective, typeof SelectAllCheckboxDirective, typeof FilterRowComponent, typeof FilterCellComponent, typeof FilterCellTemplateDirective, typeof StringFilterCellComponent, typeof NumericFilterCellComponent, typeof AutoCompleteFilterCellComponent, typeof BooleanFilterCellComponent, typeof FilterCellHostDirective, typeof FilterCellWrapperComponent, typeof DateFilterCellComponent, typeof FilterCellOperatorsComponent, typeof ContainsFilterOperatorComponent, typeof DoesNotContainFilterOperatorComponent, typeof EndsWithFilterOperatorComponent, typeof EqualFilterOperatorComponent, typeof IsEmptyFilterOperatorComponent, typeof IsNotEmptyFilterOperatorComponent, typeof IsNotNullFilterOperatorComponent, typeof IsNullFilterOperatorComponent, typeof NotEqualFilterOperatorComponent, typeof StartsWithFilterOperatorComponent, typeof GreaterFilterOperatorComponent, typeof GreaterOrEqualToFilterOperatorComponent, typeof LessFilterOperatorComponent, typeof LessOrEqualToFilterOperatorComponent, typeof AfterFilterOperatorComponent, typeof AfterEqFilterOperatorComponent, typeof BeforeEqFilterOperatorComponent, typeof BeforeFilterOperatorComponent, typeof FilterMenuComponent, typeof FilterMenuContainerComponent, typeof FilterMenuInputWrapperComponent, typeof StringFilterMenuInputComponent, typeof StringFilterMenuComponent, typeof FilterMenuTemplateDirective, typeof NumericFilterMenuComponent, typeof NumericFilterMenuInputComponent, typeof DateFilterMenuInputComponent, typeof DateFilterMenuComponent, typeof FilterMenuHostDirective, typeof BooleanFilterMenuComponent, typeof FilterMenuDropDownListDirective, typeof BooleanFilterRadioButtonDirective, typeof ColumnChooserComponent, typeof ColumnChooserToolbarDirective, typeof ColumnMenuFilterComponent, typeof ColumnMenuItemComponent, typeof ColumnMenuItemContentTemplateDirective, typeof ColumnMenuSortComponent, typeof ColumnMenuLockComponent, typeof ColumnMenuStickComponent, typeof ColumnMenuPositionComponent, typeof ColumnMenuChooserComponent, typeof ColumnMenuTemplateDirective, typeof ColumnMenuContainerComponent, typeof ColumnMenuItemDirective, typeof ColumnMenuComponent, typeof ColumnMenuAutoSizeColumnComponent, typeof ColumnMenuAutoSizeAllColumnsComponent, typeof GridClipboardDirective, typeof UndoRedoDirective, typeof UndoCommandToolbarDirective, typeof RedoCommandToolbarDirective, typeof ExcelComponent, typeof ExcelCommandDirective, typeof ExcelCommandToolbarDirective, typeof ExcelColumnComponent, typeof ExcelColumnGroupComponent, typeof ExcelFooterTemplateDirective, typeof ExcelGroupFooterTemplateDirective, typeof ExcelGroupHeaderColumnTemplateDirective, typeof ExcelGroupHeaderTemplateDirective, typeof PDFComponent, typeof PDFMarginComponent, typeof PDFCommandDirective, typeof PDFTemplateDirective, typeof PDFCommandToolbarDirective];
272
+ export declare const KENDO_GRID: readonly [typeof GridComponent, typeof ToolbarTemplateDirective, typeof ToolbarComponent, typeof GridSpacerComponent, typeof StatusBarTemplateDirective, typeof DataBindingDirective, typeof SelectionDirective, typeof HighlightDirective, typeof CustomMessagesComponent, typeof GroupBindingDirective, typeof TemplateEditingDirective, typeof ReactiveEditingDirective, typeof InCellEditingDirective, typeof ExternalEditingDirective, typeof ExpandDetailsDirective, typeof ExpandGroupDirective, typeof GridToolbarFocusableDirective, typeof GroupHeaderTemplateDirective, typeof GroupHeaderColumnTemplateDirective, typeof GroupFooterTemplateDirective, typeof GroupHeaderComponent, typeof GroupPanelComponent, typeof ColumnComponent, typeof ColumnGroupComponent, typeof LogicalCellDirective, typeof LogicalRowDirective, typeof FocusableDirective, typeof FooterTemplateDirective, typeof ColGroupComponent, typeof ResizableContainerDirective, typeof TemplateContextDirective, typeof FieldAccessorPipe, typeof DetailTemplateDirective, typeof SpanColumnComponent, typeof LoadingComponent, typeof GridTableDirective, typeof CommandColumnComponent, typeof CheckboxColumnComponent, typeof SelectionCheckboxDirective, typeof CellTemplateDirective, typeof EditTemplateDirective, typeof RowDragHandleTemplateDirective, typeof RowDragHintTemplateDirective, typeof TableBodyComponent, typeof NoRecordsTemplateDirective, typeof CellComponent, typeof EditCommandDirective, typeof CancelCommandDirective, typeof SaveCommandDirective, typeof RemoveCommandDirective, typeof AddCommandDirective, typeof AddCommandToolbarDirective, typeof EditCommandToolbarDirective, typeof SaveCommandToolbarDirective, typeof RemoveCommandToolbarDirective, typeof CancelCommandToolbarDirective, typeof CellLoadingTemplateDirective, typeof LoadingTemplateDirective, typeof RowReorderColumnComponent, typeof SortCommandToolbarDirective, typeof FilterCommandToolbarDirective, typeof GroupCommandToolbarDirective, typeof HeaderComponent, typeof HeaderTemplateDirective, typeof ColumnHandleDirective, typeof SelectAllCheckboxDirective, typeof FilterRowComponent, typeof FilterCellComponent, typeof FilterCellTemplateDirective, typeof StringFilterCellComponent, typeof NumericFilterCellComponent, typeof AutoCompleteFilterCellComponent, typeof BooleanFilterCellComponent, typeof FilterCellHostDirective, typeof FilterCellWrapperComponent, typeof DateFilterCellComponent, typeof FilterCellOperatorsComponent, typeof ContainsFilterOperatorComponent, typeof DoesNotContainFilterOperatorComponent, typeof EndsWithFilterOperatorComponent, typeof EqualFilterOperatorComponent, typeof IsEmptyFilterOperatorComponent, typeof IsNotEmptyFilterOperatorComponent, typeof IsNotNullFilterOperatorComponent, typeof IsNullFilterOperatorComponent, typeof NotEqualFilterOperatorComponent, typeof StartsWithFilterOperatorComponent, typeof GreaterFilterOperatorComponent, typeof GreaterOrEqualToFilterOperatorComponent, typeof LessFilterOperatorComponent, typeof LessOrEqualToFilterOperatorComponent, typeof AfterFilterOperatorComponent, typeof AfterEqFilterOperatorComponent, typeof BeforeEqFilterOperatorComponent, typeof BeforeFilterOperatorComponent, typeof FilterMenuComponent, typeof FilterMenuContainerComponent, typeof FilterMenuInputWrapperComponent, typeof StringFilterMenuInputComponent, typeof StringFilterMenuComponent, typeof FilterMenuTemplateDirective, typeof NumericFilterMenuComponent, typeof NumericFilterMenuInputComponent, typeof DateFilterMenuInputComponent, typeof DateFilterMenuComponent, typeof FilterMenuHostDirective, typeof BooleanFilterMenuComponent, typeof FilterMenuDropDownListDirective, typeof BooleanFilterRadioButtonDirective, typeof ColumnChooserComponent, typeof ColumnChooserToolbarDirective, typeof ColumnMenuFilterComponent, typeof ColumnMenuItemComponent, typeof ColumnMenuItemContentTemplateDirective, typeof ColumnMenuSortComponent, typeof ColumnMenuLockComponent, typeof ColumnMenuStickComponent, typeof ColumnMenuPositionComponent, typeof ColumnMenuChooserComponent, typeof ColumnMenuTemplateDirective, typeof ColumnMenuContainerComponent, typeof ColumnMenuItemDirective, typeof ColumnMenuComponent, typeof ColumnMenuAutoSizeColumnComponent, typeof ColumnMenuAutoSizeAllColumnsComponent, typeof GridClipboardDirective, typeof UndoRedoDirective, typeof UndoCommandToolbarDirective, typeof RedoCommandToolbarDirective, typeof ExcelComponent, typeof ExcelCommandDirective, typeof ExcelCommandToolbarDirective, typeof ExcelColumnComponent, typeof ExcelColumnGroupComponent, typeof ExcelFooterTemplateDirective, typeof ExcelGroupFooterTemplateDirective, typeof ExcelGroupHeaderColumnTemplateDirective, typeof ExcelGroupHeaderTemplateDirective, typeof PDFComponent, typeof PDFMarginComponent, typeof PDFCommandDirective, typeof PDFTemplateDirective, typeof PDFCommandToolbarDirective];
@@ -24,6 +24,7 @@ export class ContextService {
24
24
  bottomToolbarNavigation;
25
25
  navigable;
26
26
  dataBindingDirective;
27
+ highlightDirective;
27
28
  constructor(renderer, localization) {
28
29
  this.renderer = renderer;
29
30
  this.localization = localization;
@@ -6,10 +6,13 @@ import { Injectable } from '@angular/core';
6
6
  import { RowspanService } from '../rendering/rowspan.service';
7
7
  import { GroupsService } from '../grouping/groups.service';
8
8
  import { DetailsService } from '../rendering/details/details.service';
9
+ import { ContextService } from '../common/provider.service';
10
+ import { isPresent } from '@progress/kendo-angular-common';
9
11
  import * as i0 from "@angular/core";
10
12
  import * as i1 from "../rendering/rowspan.service";
11
13
  import * as i2 from "../grouping/groups.service";
12
14
  import * as i3 from "../rendering/details/details.service";
15
+ import * as i4 from "../common/provider.service";
13
16
  /**
14
17
  * @hidden
15
18
  */
@@ -17,12 +20,14 @@ export class DataMappingService {
17
20
  rowspanService;
18
21
  groupsService;
19
22
  detailsService;
23
+ ctx;
20
24
  recalculateRowspan = true;
21
25
  dataArray = null;
22
- constructor(rowspanService, groupsService, detailsService) {
26
+ constructor(rowspanService, groupsService, detailsService, ctx) {
23
27
  this.rowspanService = rowspanService;
24
28
  this.groupsService = groupsService;
25
29
  this.detailsService = detailsService;
30
+ this.ctx = ctx;
26
31
  }
27
32
  isGroup(item) {
28
33
  return item.type === 'group';
@@ -52,8 +57,14 @@ export class DataMappingService {
52
57
  dataItem: item
53
58
  }, column, i, data) : 1;
54
59
  }
60
+ if (isPresent(this.ctx.highlightDirective)) {
61
+ cell.isHighlighted = this.ctx.highlightDirective.isCellHighlighted(item, column, i);
62
+ }
55
63
  item.cells.push(cell);
56
64
  }
65
+ if (isPresent(this.ctx.highlightDirective)) {
66
+ item.isHighlighted = this.ctx.highlightDirective.isRowHighlighted(item);
67
+ }
57
68
  }
58
69
  result.push(item);
59
70
  }
@@ -117,9 +128,9 @@ export class DataMappingService {
117
128
  }
118
129
  return rowspan;
119
130
  }
120
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DataMappingService, deps: [{ token: i1.RowspanService }, { token: i2.GroupsService }, { token: i3.DetailsService }], target: i0.ɵɵFactoryTarget.Injectable });
131
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DataMappingService, deps: [{ token: i1.RowspanService }, { token: i2.GroupsService }, { token: i3.DetailsService }, { token: i4.ContextService }], target: i0.ɵɵFactoryTarget.Injectable });
121
132
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DataMappingService });
122
133
  }
123
134
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DataMappingService, decorators: [{
124
135
  type: Injectable
125
- }], ctorParameters: function () { return [{ type: i1.RowspanService }, { type: i2.GroupsService }, { type: i3.DetailsService }]; } });
136
+ }], ctorParameters: function () { return [{ type: i1.RowspanService }, { type: i2.GroupsService }, { type: i3.DetailsService }, { type: i4.ContextService }]; } });
@@ -158,6 +158,7 @@ import { SaveCommandToolbarDirective } from "./editing/save-command-tool.directi
158
158
  import { RemoveCommandToolbarDirective } from "./editing/remove-command-tool.directive";
159
159
  import { CancelCommandToolbarDirective } from "./editing/cancel-command-tool.directive";
160
160
  import { GroupCommandToolbarDirective } from "./rendering/toolbar/tools/group-command-tool.directive";
161
+ import { HighlightDirective } from "./highlight/highlight.directive";
161
162
  /**
162
163
  * @hidden
163
164
  *
@@ -402,6 +403,7 @@ export const KENDO_GRID_DECLARATIONS = [
402
403
  DataBindingDirective,
403
404
  ToolbarTemplateDirective,
404
405
  SelectionDirective,
406
+ HighlightDirective,
405
407
  TemplateEditingDirective,
406
408
  ReactiveEditingDirective,
407
409
  InCellEditingDirective,
@@ -433,6 +435,7 @@ export const KENDO_GRID_EXPORTS = [
433
435
  StatusBarTemplateDirective,
434
436
  DataBindingDirective,
435
437
  SelectionDirective,
438
+ HighlightDirective,
436
439
  CustomMessagesComponent,
437
440
  GroupBindingDirective,
438
441
  TemplateEditingDirective,
@@ -137,25 +137,26 @@ import * as i119 from "./localization/custom-messages.component";
137
137
  import * as i120 from "./databinding.directive";
138
138
  import * as i121 from "./rendering/toolbar/toolbar-template.directive";
139
139
  import * as i122 from "./selection/selection.directive";
140
- import * as i123 from "./editing-directives/template-editing.directive";
141
- import * as i124 from "./editing-directives/reactive-editing.directive";
142
- import * as i125 from "./editing-directives/in-cell-editing.directive";
143
- import * as i126 from "./editing-directives/external-editing.directive";
144
- import * as i127 from "./rendering/details-expand.directive";
145
- import * as i128 from "./rendering/groups-expand.directive";
146
- import * as i129 from "./grouping/group-scroll-binding.directive";
147
- import * as i130 from "./selection/marquee.directive";
148
- import * as i131 from "./rendering/common/spacer.component";
149
- import * as i132 from "./rendering/toolbar/toolbar-focusable.directive";
150
- import * as i133 from "./aggregates/status-bar.component";
151
- import * as i134 from "./aggregates/status-bar-template.directive";
152
- import * as i135 from "./common/clipboard.directive";
153
- import * as i136 from "./editing/form/form.component";
154
- import * as i137 from "./editing/form/dialog-form.component";
155
- import * as i138 from "./editing/form/form-formfield.component";
156
- import * as i139 from "./state-management/undo-redo.directive";
157
- import * as i140 from "./state-management/undo-command-tool";
158
- import * as i141 from "./state-management/redo-command-tool";
140
+ import * as i123 from "./highlight/highlight.directive";
141
+ import * as i124 from "./editing-directives/template-editing.directive";
142
+ import * as i125 from "./editing-directives/reactive-editing.directive";
143
+ import * as i126 from "./editing-directives/in-cell-editing.directive";
144
+ import * as i127 from "./editing-directives/external-editing.directive";
145
+ import * as i128 from "./rendering/details-expand.directive";
146
+ import * as i129 from "./rendering/groups-expand.directive";
147
+ import * as i130 from "./grouping/group-scroll-binding.directive";
148
+ import * as i131 from "./selection/marquee.directive";
149
+ import * as i132 from "./rendering/common/spacer.component";
150
+ import * as i133 from "./rendering/toolbar/toolbar-focusable.directive";
151
+ import * as i134 from "./aggregates/status-bar.component";
152
+ import * as i135 from "./aggregates/status-bar-template.directive";
153
+ import * as i136 from "./common/clipboard.directive";
154
+ import * as i137 from "./editing/form/form.component";
155
+ import * as i138 from "./editing/form/dialog-form.component";
156
+ import * as i139 from "./editing/form/form-formfield.component";
157
+ import * as i140 from "./state-management/undo-redo.directive";
158
+ import * as i141 from "./state-management/undo-command-tool";
159
+ import * as i142 from "./state-management/redo-command-tool";
159
160
  // IMPORTANT: NgModule export kept for backwards compatibility
160
161
  /**
161
162
  * Defines the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) for the Grid component.
@@ -181,9 +182,9 @@ import * as i141 from "./state-management/redo-command-tool";
181
182
  */
182
183
  export class GridModule {
183
184
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GridModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
184
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: GridModule, imports: [i1.GroupHeaderTemplateDirective, i2.GroupHeaderColumnTemplateDirective, i3.GroupFooterTemplateDirective, i4.GroupHeaderComponent, i5.GroupPanelComponent, i6.ColumnComponent, i7.ColumnGroupComponent, i8.LogicalCellDirective, i9.LogicalRowDirective, i10.FocusableDirective, i11.FooterTemplateDirective, i12.ColGroupComponent, i13.ResizableContainerDirective, i14.TemplateContextDirective, i15.FieldAccessorPipe, i16.DetailTemplateDirective, i17.SpanColumnComponent, i18.LoadingComponent, i19.GridTableDirective, i20.CommandColumnComponent, i21.CheckboxColumnComponent, i22.SelectionCheckboxDirective, i23.CellTemplateDirective, i24.EditTemplateDirective, i25.RowDragHandleTemplateDirective, i26.RowDragHintTemplateDirective, i27.TableBodyComponent, i28.NoRecordsTemplateDirective, i29.CellComponent, i30.EditCommandDirective, i31.CancelCommandDirective, i32.SaveCommandDirective, i33.RemoveCommandDirective, i34.AddCommandDirective, i35.AddCommandToolbarDirective, i36.EditCommandToolbarDirective, i37.SaveCommandToolbarDirective, i38.RemoveCommandToolbarDirective, i39.CancelCommandToolbarDirective, i40.CellLoadingTemplateDirective, i41.LoadingTemplateDirective, i42.RowReorderColumnComponent, i43.SortCommandToolbarDirective, i44.FilterCommandToolbarDirective, i45.GroupCommandToolbarDirective, i46.HeaderComponent, i47.HeaderTemplateDirective, i48.ColumnHandleDirective, i49.SelectAllCheckboxDirective, i50.FooterComponent, i51.CustomMessagesComponent, i51.PagerFocusableDirective, i51.PagerInfoComponent, i51.PagerInputComponent, i51.PagerNextButtonsComponent, i51.PagerNumericButtonsComponent, i51.PagerPageSizesComponent, i51.PagerPrevButtonsComponent, i51.PagerTemplateDirective, i51.PagerComponent, i51.PagerSpacerComponent, i52.ToolBarComponent, i52.ToolbarCustomMessagesComponent, i52.ToolBarButtonComponent, i52.ToolBarButtonGroupComponent, i52.ToolBarDropDownButtonComponent, i52.ToolBarSeparatorComponent, i52.ToolBarSpacerComponent, i52.ToolBarSplitButtonComponent, i52.ToolBarToolComponent, i53.FilterRowComponent, i54.FilterCellComponent, i55.FilterCellTemplateDirective, i56.StringFilterCellComponent, i57.NumericFilterCellComponent, i58.AutoCompleteFilterCellComponent, i59.BooleanFilterCellComponent, i60.FilterCellHostDirective, i61.FilterCellWrapperComponent, i62.DateFilterCellComponent, i6.ColumnComponent, i7.ColumnGroupComponent, i8.LogicalCellDirective, i9.LogicalRowDirective, i10.FocusableDirective, i11.FooterTemplateDirective, i12.ColGroupComponent, i13.ResizableContainerDirective, i14.TemplateContextDirective, i15.FieldAccessorPipe, i16.DetailTemplateDirective, i17.SpanColumnComponent, i18.LoadingComponent, i19.GridTableDirective, i63.FilterCellOperatorsComponent, i64.ContainsFilterOperatorComponent, i65.DoesNotContainFilterOperatorComponent, i66.EndsWithFilterOperatorComponent, i67.EqualFilterOperatorComponent, i68.IsEmptyFilterOperatorComponent, i69.IsNotEmptyFilterOperatorComponent, i70.IsNotNullFilterOperatorComponent, i71.IsNullFilterOperatorComponent, i72.NotEqualFilterOperatorComponent, i73.StartsWithFilterOperatorComponent, i74.GreaterFilterOperatorComponent, i75.GreaterOrEqualToFilterOperatorComponent, i76.LessFilterOperatorComponent, i77.LessOrEqualToFilterOperatorComponent, i78.AfterFilterOperatorComponent, i79.AfterEqFilterOperatorComponent, i80.BeforeEqFilterOperatorComponent, i81.BeforeFilterOperatorComponent, i82.FilterInputDirective, i6.ColumnComponent, i7.ColumnGroupComponent, i8.LogicalCellDirective, i9.LogicalRowDirective, i10.FocusableDirective, i11.FooterTemplateDirective, i12.ColGroupComponent, i13.ResizableContainerDirective, i14.TemplateContextDirective, i15.FieldAccessorPipe, i16.DetailTemplateDirective, i17.SpanColumnComponent, i18.LoadingComponent, i19.GridTableDirective, i63.FilterCellOperatorsComponent, i64.ContainsFilterOperatorComponent, i65.DoesNotContainFilterOperatorComponent, i66.EndsWithFilterOperatorComponent, i67.EqualFilterOperatorComponent, i68.IsEmptyFilterOperatorComponent, i69.IsNotEmptyFilterOperatorComponent, i70.IsNotNullFilterOperatorComponent, i71.IsNullFilterOperatorComponent, i72.NotEqualFilterOperatorComponent, i73.StartsWithFilterOperatorComponent, i74.GreaterFilterOperatorComponent, i75.GreaterOrEqualToFilterOperatorComponent, i76.LessFilterOperatorComponent, i77.LessOrEqualToFilterOperatorComponent, i78.AfterFilterOperatorComponent, i79.AfterEqFilterOperatorComponent, i80.BeforeEqFilterOperatorComponent, i81.BeforeFilterOperatorComponent, i82.FilterInputDirective, i83.FilterMenuComponent, i84.FilterMenuContainerComponent, i85.FilterMenuInputWrapperComponent, i86.StringFilterMenuInputComponent, i87.StringFilterMenuComponent, i88.FilterMenuTemplateDirective, i89.NumericFilterMenuComponent, i90.NumericFilterMenuInputComponent, i91.DateFilterMenuInputComponent, i92.DateFilterMenuComponent, i93.FilterMenuHostDirective, i94.BooleanFilterMenuComponent, i95.FilterMenuDropDownListDirective, i96.BooleanFilterRadioButtonDirective, i97.ColumnMenuChooserItemCheckedDirective, i98.ColumnListComponent, i99.ColumnChooserComponent, i100.ColumnChooserToolbarDirective, i101.ColumnMenuChooserComponent, i102.ColumnMenuFilterComponent, i103.ColumnMenuItemComponent, i104.ColumnMenuItemContentTemplateDirective, i105.ColumnMenuSortComponent, i106.ColumnMenuComponent, i107.ColumnMenuLockComponent, i108.ColumnMenuTemplateDirective, i109.ColumnMenuContainerComponent, i110.ColumnMenuItemDirective, i111.ColumnMenuStickComponent, i112.ColumnMenuPositionComponent, i113.ColumnMenuAutoSizeColumnComponent, i114.ColumnMenuAutoSizeAllColumnsComponent, i115.GridComponent, i116.ListComponent, i117.ToolbarComponent, i118.LocalizedMessagesDirective, i119.CustomMessagesComponent, i120.DataBindingDirective, i121.ToolbarTemplateDirective, i122.SelectionDirective, i123.TemplateEditingDirective, i124.ReactiveEditingDirective, i125.InCellEditingDirective, i126.ExternalEditingDirective, i127.ExpandDetailsDirective, i128.ExpandGroupDirective, i129.GroupBindingDirective, i130.GridMarqueeDirective, i131.GridSpacerComponent, i132.GridToolbarFocusableDirective, i133.StatusBarComponent, i134.StatusBarTemplateDirective, i135.GridClipboardDirective, i136.FormComponent, i137.DialogFormComponent, i138.FormFormFieldComponent, i139.UndoRedoDirective, i52.ToolBarComponent, i52.ToolbarCustomMessagesComponent, i52.ToolBarButtonComponent, i52.ToolBarButtonGroupComponent, i52.ToolBarDropDownButtonComponent, i52.ToolBarSeparatorComponent, i52.ToolBarSpacerComponent, i52.ToolBarSplitButtonComponent, i52.ToolBarToolComponent, TableDirective,
185
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: GridModule, imports: [i1.GroupHeaderTemplateDirective, i2.GroupHeaderColumnTemplateDirective, i3.GroupFooterTemplateDirective, i4.GroupHeaderComponent, i5.GroupPanelComponent, i6.ColumnComponent, i7.ColumnGroupComponent, i8.LogicalCellDirective, i9.LogicalRowDirective, i10.FocusableDirective, i11.FooterTemplateDirective, i12.ColGroupComponent, i13.ResizableContainerDirective, i14.TemplateContextDirective, i15.FieldAccessorPipe, i16.DetailTemplateDirective, i17.SpanColumnComponent, i18.LoadingComponent, i19.GridTableDirective, i20.CommandColumnComponent, i21.CheckboxColumnComponent, i22.SelectionCheckboxDirective, i23.CellTemplateDirective, i24.EditTemplateDirective, i25.RowDragHandleTemplateDirective, i26.RowDragHintTemplateDirective, i27.TableBodyComponent, i28.NoRecordsTemplateDirective, i29.CellComponent, i30.EditCommandDirective, i31.CancelCommandDirective, i32.SaveCommandDirective, i33.RemoveCommandDirective, i34.AddCommandDirective, i35.AddCommandToolbarDirective, i36.EditCommandToolbarDirective, i37.SaveCommandToolbarDirective, i38.RemoveCommandToolbarDirective, i39.CancelCommandToolbarDirective, i40.CellLoadingTemplateDirective, i41.LoadingTemplateDirective, i42.RowReorderColumnComponent, i43.SortCommandToolbarDirective, i44.FilterCommandToolbarDirective, i45.GroupCommandToolbarDirective, i46.HeaderComponent, i47.HeaderTemplateDirective, i48.ColumnHandleDirective, i49.SelectAllCheckboxDirective, i50.FooterComponent, i51.CustomMessagesComponent, i51.PagerFocusableDirective, i51.PagerInfoComponent, i51.PagerInputComponent, i51.PagerNextButtonsComponent, i51.PagerNumericButtonsComponent, i51.PagerPageSizesComponent, i51.PagerPrevButtonsComponent, i51.PagerTemplateDirective, i51.PagerComponent, i51.PagerSpacerComponent, i52.ToolBarComponent, i52.ToolbarCustomMessagesComponent, i52.ToolBarButtonComponent, i52.ToolBarButtonGroupComponent, i52.ToolBarDropDownButtonComponent, i52.ToolBarSeparatorComponent, i52.ToolBarSpacerComponent, i52.ToolBarSplitButtonComponent, i52.ToolBarToolComponent, i53.FilterRowComponent, i54.FilterCellComponent, i55.FilterCellTemplateDirective, i56.StringFilterCellComponent, i57.NumericFilterCellComponent, i58.AutoCompleteFilterCellComponent, i59.BooleanFilterCellComponent, i60.FilterCellHostDirective, i61.FilterCellWrapperComponent, i62.DateFilterCellComponent, i6.ColumnComponent, i7.ColumnGroupComponent, i8.LogicalCellDirective, i9.LogicalRowDirective, i10.FocusableDirective, i11.FooterTemplateDirective, i12.ColGroupComponent, i13.ResizableContainerDirective, i14.TemplateContextDirective, i15.FieldAccessorPipe, i16.DetailTemplateDirective, i17.SpanColumnComponent, i18.LoadingComponent, i19.GridTableDirective, i63.FilterCellOperatorsComponent, i64.ContainsFilterOperatorComponent, i65.DoesNotContainFilterOperatorComponent, i66.EndsWithFilterOperatorComponent, i67.EqualFilterOperatorComponent, i68.IsEmptyFilterOperatorComponent, i69.IsNotEmptyFilterOperatorComponent, i70.IsNotNullFilterOperatorComponent, i71.IsNullFilterOperatorComponent, i72.NotEqualFilterOperatorComponent, i73.StartsWithFilterOperatorComponent, i74.GreaterFilterOperatorComponent, i75.GreaterOrEqualToFilterOperatorComponent, i76.LessFilterOperatorComponent, i77.LessOrEqualToFilterOperatorComponent, i78.AfterFilterOperatorComponent, i79.AfterEqFilterOperatorComponent, i80.BeforeEqFilterOperatorComponent, i81.BeforeFilterOperatorComponent, i82.FilterInputDirective, i6.ColumnComponent, i7.ColumnGroupComponent, i8.LogicalCellDirective, i9.LogicalRowDirective, i10.FocusableDirective, i11.FooterTemplateDirective, i12.ColGroupComponent, i13.ResizableContainerDirective, i14.TemplateContextDirective, i15.FieldAccessorPipe, i16.DetailTemplateDirective, i17.SpanColumnComponent, i18.LoadingComponent, i19.GridTableDirective, i63.FilterCellOperatorsComponent, i64.ContainsFilterOperatorComponent, i65.DoesNotContainFilterOperatorComponent, i66.EndsWithFilterOperatorComponent, i67.EqualFilterOperatorComponent, i68.IsEmptyFilterOperatorComponent, i69.IsNotEmptyFilterOperatorComponent, i70.IsNotNullFilterOperatorComponent, i71.IsNullFilterOperatorComponent, i72.NotEqualFilterOperatorComponent, i73.StartsWithFilterOperatorComponent, i74.GreaterFilterOperatorComponent, i75.GreaterOrEqualToFilterOperatorComponent, i76.LessFilterOperatorComponent, i77.LessOrEqualToFilterOperatorComponent, i78.AfterFilterOperatorComponent, i79.AfterEqFilterOperatorComponent, i80.BeforeEqFilterOperatorComponent, i81.BeforeFilterOperatorComponent, i82.FilterInputDirective, i83.FilterMenuComponent, i84.FilterMenuContainerComponent, i85.FilterMenuInputWrapperComponent, i86.StringFilterMenuInputComponent, i87.StringFilterMenuComponent, i88.FilterMenuTemplateDirective, i89.NumericFilterMenuComponent, i90.NumericFilterMenuInputComponent, i91.DateFilterMenuInputComponent, i92.DateFilterMenuComponent, i93.FilterMenuHostDirective, i94.BooleanFilterMenuComponent, i95.FilterMenuDropDownListDirective, i96.BooleanFilterRadioButtonDirective, i97.ColumnMenuChooserItemCheckedDirective, i98.ColumnListComponent, i99.ColumnChooserComponent, i100.ColumnChooserToolbarDirective, i101.ColumnMenuChooserComponent, i102.ColumnMenuFilterComponent, i103.ColumnMenuItemComponent, i104.ColumnMenuItemContentTemplateDirective, i105.ColumnMenuSortComponent, i106.ColumnMenuComponent, i107.ColumnMenuLockComponent, i108.ColumnMenuTemplateDirective, i109.ColumnMenuContainerComponent, i110.ColumnMenuItemDirective, i111.ColumnMenuStickComponent, i112.ColumnMenuPositionComponent, i113.ColumnMenuAutoSizeColumnComponent, i114.ColumnMenuAutoSizeAllColumnsComponent, i115.GridComponent, i116.ListComponent, i117.ToolbarComponent, i118.LocalizedMessagesDirective, i119.CustomMessagesComponent, i120.DataBindingDirective, i121.ToolbarTemplateDirective, i122.SelectionDirective, i123.HighlightDirective, i124.TemplateEditingDirective, i125.ReactiveEditingDirective, i126.InCellEditingDirective, i127.ExternalEditingDirective, i128.ExpandDetailsDirective, i129.ExpandGroupDirective, i130.GroupBindingDirective, i131.GridMarqueeDirective, i132.GridSpacerComponent, i133.GridToolbarFocusableDirective, i134.StatusBarComponent, i135.StatusBarTemplateDirective, i136.GridClipboardDirective, i137.FormComponent, i138.DialogFormComponent, i139.FormFormFieldComponent, i140.UndoRedoDirective, i52.ToolBarComponent, i52.ToolbarCustomMessagesComponent, i52.ToolBarButtonComponent, i52.ToolBarButtonGroupComponent, i52.ToolBarDropDownButtonComponent, i52.ToolBarSeparatorComponent, i52.ToolBarSpacerComponent, i52.ToolBarSplitButtonComponent, i52.ToolBarToolComponent, TableDirective,
185
186
  UndoCommandToolbarDirective,
186
- RedoCommandToolbarDirective], exports: [i115.GridComponent, i121.ToolbarTemplateDirective, i117.ToolbarComponent, i131.GridSpacerComponent, i134.StatusBarTemplateDirective, i120.DataBindingDirective, i122.SelectionDirective, i119.CustomMessagesComponent, i129.GroupBindingDirective, i123.TemplateEditingDirective, i124.ReactiveEditingDirective, i125.InCellEditingDirective, i126.ExternalEditingDirective, i127.ExpandDetailsDirective, i128.ExpandGroupDirective, i132.GridToolbarFocusableDirective, i1.GroupHeaderTemplateDirective, i2.GroupHeaderColumnTemplateDirective, i3.GroupFooterTemplateDirective, i4.GroupHeaderComponent, i5.GroupPanelComponent, i6.ColumnComponent, i7.ColumnGroupComponent, i8.LogicalCellDirective, i9.LogicalRowDirective, i10.FocusableDirective, i11.FooterTemplateDirective, i12.ColGroupComponent, i13.ResizableContainerDirective, i14.TemplateContextDirective, i15.FieldAccessorPipe, i16.DetailTemplateDirective, i17.SpanColumnComponent, i18.LoadingComponent, i19.GridTableDirective, i20.CommandColumnComponent, i21.CheckboxColumnComponent, i22.SelectionCheckboxDirective, i23.CellTemplateDirective, i24.EditTemplateDirective, i25.RowDragHandleTemplateDirective, i26.RowDragHintTemplateDirective, i27.TableBodyComponent, i28.NoRecordsTemplateDirective, i29.CellComponent, i30.EditCommandDirective, i31.CancelCommandDirective, i32.SaveCommandDirective, i33.RemoveCommandDirective, i34.AddCommandDirective, i35.AddCommandToolbarDirective, i36.EditCommandToolbarDirective, i37.SaveCommandToolbarDirective, i38.RemoveCommandToolbarDirective, i39.CancelCommandToolbarDirective, i40.CellLoadingTemplateDirective, i41.LoadingTemplateDirective, i42.RowReorderColumnComponent, i43.SortCommandToolbarDirective, i44.FilterCommandToolbarDirective, i45.GroupCommandToolbarDirective, i46.HeaderComponent, i47.HeaderTemplateDirective, i48.ColumnHandleDirective, i49.SelectAllCheckboxDirective, i53.FilterRowComponent, i54.FilterCellComponent, i55.FilterCellTemplateDirective, i56.StringFilterCellComponent, i57.NumericFilterCellComponent, i58.AutoCompleteFilterCellComponent, i59.BooleanFilterCellComponent, i60.FilterCellHostDirective, i61.FilterCellWrapperComponent, i62.DateFilterCellComponent, i63.FilterCellOperatorsComponent, i64.ContainsFilterOperatorComponent, i65.DoesNotContainFilterOperatorComponent, i66.EndsWithFilterOperatorComponent, i67.EqualFilterOperatorComponent, i68.IsEmptyFilterOperatorComponent, i69.IsNotEmptyFilterOperatorComponent, i70.IsNotNullFilterOperatorComponent, i71.IsNullFilterOperatorComponent, i72.NotEqualFilterOperatorComponent, i73.StartsWithFilterOperatorComponent, i74.GreaterFilterOperatorComponent, i75.GreaterOrEqualToFilterOperatorComponent, i76.LessFilterOperatorComponent, i77.LessOrEqualToFilterOperatorComponent, i78.AfterFilterOperatorComponent, i79.AfterEqFilterOperatorComponent, i80.BeforeEqFilterOperatorComponent, i81.BeforeFilterOperatorComponent, i83.FilterMenuComponent, i84.FilterMenuContainerComponent, i85.FilterMenuInputWrapperComponent, i86.StringFilterMenuInputComponent, i87.StringFilterMenuComponent, i88.FilterMenuTemplateDirective, i89.NumericFilterMenuComponent, i90.NumericFilterMenuInputComponent, i91.DateFilterMenuInputComponent, i92.DateFilterMenuComponent, i93.FilterMenuHostDirective, i94.BooleanFilterMenuComponent, i95.FilterMenuDropDownListDirective, i96.BooleanFilterRadioButtonDirective, i99.ColumnChooserComponent, i100.ColumnChooserToolbarDirective, i102.ColumnMenuFilterComponent, i103.ColumnMenuItemComponent, i104.ColumnMenuItemContentTemplateDirective, i105.ColumnMenuSortComponent, i107.ColumnMenuLockComponent, i111.ColumnMenuStickComponent, i112.ColumnMenuPositionComponent, i101.ColumnMenuChooserComponent, i108.ColumnMenuTemplateDirective, i109.ColumnMenuContainerComponent, i110.ColumnMenuItemDirective, i106.ColumnMenuComponent, i113.ColumnMenuAutoSizeColumnComponent, i114.ColumnMenuAutoSizeAllColumnsComponent, i135.GridClipboardDirective, i139.UndoRedoDirective, i140.UndoCommandToolbarDirective, i141.RedoCommandToolbarDirective, i52.ToolBarComponent, i52.ToolbarCustomMessagesComponent, i52.ToolBarButtonComponent, i52.ToolBarButtonGroupComponent, i52.ToolBarDropDownButtonComponent, i52.ToolBarSeparatorComponent, i52.ToolBarSpacerComponent, i52.ToolBarSplitButtonComponent, i52.ToolBarToolComponent, i51.CustomMessagesComponent, i51.PagerFocusableDirective, i51.PagerInfoComponent, i51.PagerInputComponent, i51.PagerNextButtonsComponent, i51.PagerNumericButtonsComponent, i51.PagerPageSizesComponent, i51.PagerPrevButtonsComponent, i51.PagerTemplateDirective, i51.PagerComponent, i51.PagerSpacerComponent] });
187
+ RedoCommandToolbarDirective], exports: [i115.GridComponent, i121.ToolbarTemplateDirective, i117.ToolbarComponent, i132.GridSpacerComponent, i135.StatusBarTemplateDirective, i120.DataBindingDirective, i122.SelectionDirective, i123.HighlightDirective, i119.CustomMessagesComponent, i130.GroupBindingDirective, i124.TemplateEditingDirective, i125.ReactiveEditingDirective, i126.InCellEditingDirective, i127.ExternalEditingDirective, i128.ExpandDetailsDirective, i129.ExpandGroupDirective, i133.GridToolbarFocusableDirective, i1.GroupHeaderTemplateDirective, i2.GroupHeaderColumnTemplateDirective, i3.GroupFooterTemplateDirective, i4.GroupHeaderComponent, i5.GroupPanelComponent, i6.ColumnComponent, i7.ColumnGroupComponent, i8.LogicalCellDirective, i9.LogicalRowDirective, i10.FocusableDirective, i11.FooterTemplateDirective, i12.ColGroupComponent, i13.ResizableContainerDirective, i14.TemplateContextDirective, i15.FieldAccessorPipe, i16.DetailTemplateDirective, i17.SpanColumnComponent, i18.LoadingComponent, i19.GridTableDirective, i20.CommandColumnComponent, i21.CheckboxColumnComponent, i22.SelectionCheckboxDirective, i23.CellTemplateDirective, i24.EditTemplateDirective, i25.RowDragHandleTemplateDirective, i26.RowDragHintTemplateDirective, i27.TableBodyComponent, i28.NoRecordsTemplateDirective, i29.CellComponent, i30.EditCommandDirective, i31.CancelCommandDirective, i32.SaveCommandDirective, i33.RemoveCommandDirective, i34.AddCommandDirective, i35.AddCommandToolbarDirective, i36.EditCommandToolbarDirective, i37.SaveCommandToolbarDirective, i38.RemoveCommandToolbarDirective, i39.CancelCommandToolbarDirective, i40.CellLoadingTemplateDirective, i41.LoadingTemplateDirective, i42.RowReorderColumnComponent, i43.SortCommandToolbarDirective, i44.FilterCommandToolbarDirective, i45.GroupCommandToolbarDirective, i46.HeaderComponent, i47.HeaderTemplateDirective, i48.ColumnHandleDirective, i49.SelectAllCheckboxDirective, i53.FilterRowComponent, i54.FilterCellComponent, i55.FilterCellTemplateDirective, i56.StringFilterCellComponent, i57.NumericFilterCellComponent, i58.AutoCompleteFilterCellComponent, i59.BooleanFilterCellComponent, i60.FilterCellHostDirective, i61.FilterCellWrapperComponent, i62.DateFilterCellComponent, i63.FilterCellOperatorsComponent, i64.ContainsFilterOperatorComponent, i65.DoesNotContainFilterOperatorComponent, i66.EndsWithFilterOperatorComponent, i67.EqualFilterOperatorComponent, i68.IsEmptyFilterOperatorComponent, i69.IsNotEmptyFilterOperatorComponent, i70.IsNotNullFilterOperatorComponent, i71.IsNullFilterOperatorComponent, i72.NotEqualFilterOperatorComponent, i73.StartsWithFilterOperatorComponent, i74.GreaterFilterOperatorComponent, i75.GreaterOrEqualToFilterOperatorComponent, i76.LessFilterOperatorComponent, i77.LessOrEqualToFilterOperatorComponent, i78.AfterFilterOperatorComponent, i79.AfterEqFilterOperatorComponent, i80.BeforeEqFilterOperatorComponent, i81.BeforeFilterOperatorComponent, i83.FilterMenuComponent, i84.FilterMenuContainerComponent, i85.FilterMenuInputWrapperComponent, i86.StringFilterMenuInputComponent, i87.StringFilterMenuComponent, i88.FilterMenuTemplateDirective, i89.NumericFilterMenuComponent, i90.NumericFilterMenuInputComponent, i91.DateFilterMenuInputComponent, i92.DateFilterMenuComponent, i93.FilterMenuHostDirective, i94.BooleanFilterMenuComponent, i95.FilterMenuDropDownListDirective, i96.BooleanFilterRadioButtonDirective, i99.ColumnChooserComponent, i100.ColumnChooserToolbarDirective, i102.ColumnMenuFilterComponent, i103.ColumnMenuItemComponent, i104.ColumnMenuItemContentTemplateDirective, i105.ColumnMenuSortComponent, i107.ColumnMenuLockComponent, i111.ColumnMenuStickComponent, i112.ColumnMenuPositionComponent, i101.ColumnMenuChooserComponent, i108.ColumnMenuTemplateDirective, i109.ColumnMenuContainerComponent, i110.ColumnMenuItemDirective, i106.ColumnMenuComponent, i113.ColumnMenuAutoSizeColumnComponent, i114.ColumnMenuAutoSizeAllColumnsComponent, i136.GridClipboardDirective, i140.UndoRedoDirective, i141.UndoCommandToolbarDirective, i142.RedoCommandToolbarDirective, i52.ToolBarComponent, i52.ToolbarCustomMessagesComponent, i52.ToolBarButtonComponent, i52.ToolBarButtonGroupComponent, i52.ToolBarDropDownButtonComponent, i52.ToolBarSeparatorComponent, i52.ToolBarSpacerComponent, i52.ToolBarSplitButtonComponent, i52.ToolBarToolComponent, i51.CustomMessagesComponent, i51.PagerFocusableDirective, i51.PagerInfoComponent, i51.PagerInputComponent, i51.PagerNextButtonsComponent, i51.PagerNumericButtonsComponent, i51.PagerPageSizesComponent, i51.PagerPrevButtonsComponent, i51.PagerTemplateDirective, i51.PagerComponent, i51.PagerSpacerComponent] });
187
188
  static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GridModule, providers: [
188
189
  PopupService,
189
190
  ResizeBatchService,
@@ -198,7 +199,7 @@ export class GridModule {
198
199
  MonthViewService,
199
200
  YearViewService,
200
201
  NavigationService
201
- ], imports: [i4.GroupHeaderComponent, i5.GroupPanelComponent, i27.TableBodyComponent, i29.CellComponent, i30.EditCommandDirective, i31.CancelCommandDirective, i32.SaveCommandDirective, i33.RemoveCommandDirective, i34.AddCommandDirective, i46.HeaderComponent, i51.CustomMessagesComponent, i51.PagerInfoComponent, i51.PagerInputComponent, i51.PagerNextButtonsComponent, i51.PagerNumericButtonsComponent, i51.PagerPageSizesComponent, i51.PagerPrevButtonsComponent, i51.PagerComponent, i51.PagerSpacerComponent, i52.ToolBarComponent, i52.ToolbarCustomMessagesComponent, i52.ToolBarButtonComponent, i52.ToolBarButtonGroupComponent, i52.ToolBarDropDownButtonComponent, i52.ToolBarSeparatorComponent, i52.ToolBarSpacerComponent, i52.ToolBarSplitButtonComponent, i56.StringFilterCellComponent, i57.NumericFilterCellComponent, i58.AutoCompleteFilterCellComponent, i59.BooleanFilterCellComponent, i61.FilterCellWrapperComponent, i62.DateFilterCellComponent, i63.FilterCellOperatorsComponent, i63.FilterCellOperatorsComponent, i83.FilterMenuComponent, i84.FilterMenuContainerComponent, i85.FilterMenuInputWrapperComponent, i86.StringFilterMenuInputComponent, i87.StringFilterMenuComponent, i89.NumericFilterMenuComponent, i90.NumericFilterMenuInputComponent, i91.DateFilterMenuInputComponent, i92.DateFilterMenuComponent, i94.BooleanFilterMenuComponent, i98.ColumnListComponent, i99.ColumnChooserComponent, i101.ColumnMenuChooserComponent, i102.ColumnMenuFilterComponent, i103.ColumnMenuItemComponent, i105.ColumnMenuSortComponent, i106.ColumnMenuComponent, i107.ColumnMenuLockComponent, i111.ColumnMenuStickComponent, i112.ColumnMenuPositionComponent, i113.ColumnMenuAutoSizeColumnComponent, i114.ColumnMenuAutoSizeAllColumnsComponent, i115.GridComponent, i116.ListComponent, i136.FormComponent, i137.DialogFormComponent, i138.FormFormFieldComponent, i52.ToolBarComponent, i52.ToolbarCustomMessagesComponent, i52.ToolBarButtonComponent, i52.ToolBarButtonGroupComponent, i52.ToolBarDropDownButtonComponent, i52.ToolBarSeparatorComponent, i52.ToolBarSpacerComponent, i52.ToolBarSplitButtonComponent] });
202
+ ], imports: [i4.GroupHeaderComponent, i5.GroupPanelComponent, i27.TableBodyComponent, i29.CellComponent, i30.EditCommandDirective, i31.CancelCommandDirective, i32.SaveCommandDirective, i33.RemoveCommandDirective, i34.AddCommandDirective, i46.HeaderComponent, i51.CustomMessagesComponent, i51.PagerInfoComponent, i51.PagerInputComponent, i51.PagerNextButtonsComponent, i51.PagerNumericButtonsComponent, i51.PagerPageSizesComponent, i51.PagerPrevButtonsComponent, i51.PagerComponent, i51.PagerSpacerComponent, i52.ToolBarComponent, i52.ToolbarCustomMessagesComponent, i52.ToolBarButtonComponent, i52.ToolBarButtonGroupComponent, i52.ToolBarDropDownButtonComponent, i52.ToolBarSeparatorComponent, i52.ToolBarSpacerComponent, i52.ToolBarSplitButtonComponent, i56.StringFilterCellComponent, i57.NumericFilterCellComponent, i58.AutoCompleteFilterCellComponent, i59.BooleanFilterCellComponent, i61.FilterCellWrapperComponent, i62.DateFilterCellComponent, i63.FilterCellOperatorsComponent, i63.FilterCellOperatorsComponent, i83.FilterMenuComponent, i84.FilterMenuContainerComponent, i85.FilterMenuInputWrapperComponent, i86.StringFilterMenuInputComponent, i87.StringFilterMenuComponent, i89.NumericFilterMenuComponent, i90.NumericFilterMenuInputComponent, i91.DateFilterMenuInputComponent, i92.DateFilterMenuComponent, i94.BooleanFilterMenuComponent, i98.ColumnListComponent, i99.ColumnChooserComponent, i101.ColumnMenuChooserComponent, i102.ColumnMenuFilterComponent, i103.ColumnMenuItemComponent, i105.ColumnMenuSortComponent, i106.ColumnMenuComponent, i107.ColumnMenuLockComponent, i111.ColumnMenuStickComponent, i112.ColumnMenuPositionComponent, i113.ColumnMenuAutoSizeColumnComponent, i114.ColumnMenuAutoSizeAllColumnsComponent, i115.GridComponent, i116.ListComponent, i137.FormComponent, i138.DialogFormComponent, i139.FormFormFieldComponent, i52.ToolBarComponent, i52.ToolbarCustomMessagesComponent, i52.ToolBarButtonComponent, i52.ToolBarButtonGroupComponent, i52.ToolBarDropDownButtonComponent, i52.ToolBarSeparatorComponent, i52.ToolBarSpacerComponent, i52.ToolBarSplitButtonComponent] });
202
203
  }
203
204
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GridModule, decorators: [{
204
205
  type: NgModule,
@@ -0,0 +1,5 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ export {};
@@ -0,0 +1,132 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { Directive, Input } from '@angular/core';
6
+ import { ContextService } from '../common/provider.service';
7
+ import { isPresent } from '@progress/kendo-angular-common';
8
+ import { PairSet } from '../selection/pair-set';
9
+ import * as i0 from "@angular/core";
10
+ import * as i1 from "../common/provider.service";
11
+ /**
12
+ * Stores the row and cell highlight state of the Grid.
13
+ *
14
+ * @example
15
+ * ```typescript
16
+ * <kendo-grid kendoGridHighlight="ProductID"></kendo-grid>
17
+ *
18
+ * <kendo-grid [kendoGridHighlight]="myKey"></kendo-grid>
19
+ * ```
20
+ * @remarks
21
+ * Applied to: {@link GridComponent}.
22
+ */
23
+ export class HighlightDirective {
24
+ ctx;
25
+ /**
26
+ * Stores the highlighted items keys.
27
+ * @default []
28
+ */
29
+ highlightedKeys = [];
30
+ /**
31
+ * Sets the item key to store in `highlightedKeys`. The Grid uses the row index as the default item key.
32
+ */
33
+ highlightItemKey;
34
+ /**
35
+ * Sets the column key for a data cell. The Grid uses the column index as the default column key.
36
+ */
37
+ highlightColumnKey;
38
+ rowHighlightState = new Set();
39
+ cellHighlightState = new PairSet();
40
+ constructor(ctx) {
41
+ this.ctx = ctx;
42
+ this.ctx.highlightDirective = this;
43
+ }
44
+ ngOnChanges(changes) {
45
+ if (isPresent(changes['highlightedKeys'])) {
46
+ this.setState(this.highlightedKeys);
47
+ }
48
+ }
49
+ ngOnDestroy() {
50
+ this.reset();
51
+ this.ctx.highlightDirective = null;
52
+ }
53
+ /**
54
+ * @hidden
55
+ */
56
+ isRowHighlighted(row) {
57
+ return this.rowHighlightState.has(this.getItemKey(row));
58
+ }
59
+ /**
60
+ * @hidden
61
+ */
62
+ isCellHighlighted(row, column, colIndex) {
63
+ const highlightItem = this.getHighlightItem(row, column, colIndex);
64
+ return this.cellHighlightState.has(highlightItem.itemKey, highlightItem.columnKey);
65
+ }
66
+ getItemKey(row) {
67
+ if (this.highlightItemKey) {
68
+ if (typeof this.highlightItemKey === "string") {
69
+ return row.data?.[this.highlightItemKey];
70
+ }
71
+ if (typeof this.highlightItemKey === "function") {
72
+ return this.highlightItemKey(row);
73
+ }
74
+ }
75
+ return row.index;
76
+ }
77
+ getHighlightItem(row, col, colIndex) {
78
+ const itemIdentifiers = {};
79
+ itemIdentifiers.itemKey = this.getItemKey(row);
80
+ if (!isPresent(col) && !isPresent(colIndex)) {
81
+ return itemIdentifiers;
82
+ }
83
+ if (this.highlightColumnKey) {
84
+ if (typeof this.highlightColumnKey === "string") {
85
+ itemIdentifiers.columnKey = row.dataItem[this.highlightColumnKey];
86
+ }
87
+ if (typeof this.highlightColumnKey === "function") {
88
+ itemIdentifiers.columnKey = this.highlightColumnKey(col, colIndex);
89
+ }
90
+ }
91
+ return {
92
+ itemKey: itemIdentifiers.itemKey,
93
+ columnKey: itemIdentifiers.columnKey ? itemIdentifiers.columnKey : colIndex
94
+ };
95
+ }
96
+ setState(highlightedKeys) {
97
+ this.reset();
98
+ if (!highlightedKeys || highlightedKeys.length === 0) {
99
+ return;
100
+ }
101
+ const rowHighlights = highlightedKeys.filter(item => !isPresent(item.columnKey));
102
+ const cellHighlights = highlightedKeys.filter(item => isPresent(item.columnKey));
103
+ if (cellHighlights.length > 0) {
104
+ this.cellHighlightState = new PairSet(cellHighlights, 'itemKey', 'columnKey');
105
+ }
106
+ if (rowHighlights.length > 0) {
107
+ rowHighlights.forEach(item => {
108
+ this.rowHighlightState.add(item.itemKey);
109
+ });
110
+ }
111
+ }
112
+ reset() {
113
+ this.rowHighlightState.clear();
114
+ this.cellHighlightState.clear();
115
+ }
116
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HighlightDirective, deps: [{ token: i1.ContextService }], target: i0.ɵɵFactoryTarget.Directive });
117
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: HighlightDirective, isStandalone: true, selector: "[kendoGridHighlight]", inputs: { highlightedKeys: "highlightedKeys", highlightItemKey: ["kendoGridHighlight", "highlightItemKey"], highlightColumnKey: "highlightColumnKey" }, usesOnChanges: true, ngImport: i0 });
118
+ }
119
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HighlightDirective, decorators: [{
120
+ type: Directive,
121
+ args: [{
122
+ selector: '[kendoGridHighlight]',
123
+ standalone: true
124
+ }]
125
+ }], ctorParameters: function () { return [{ type: i1.ContextService }]; }, propDecorators: { highlightedKeys: [{
126
+ type: Input
127
+ }], highlightItemKey: [{
128
+ type: Input,
129
+ args: ["kendoGridHighlight"]
130
+ }], highlightColumnKey: [{
131
+ type: Input
132
+ }] } });
package/esm2022/index.mjs CHANGED
@@ -153,6 +153,7 @@ export * from './state-management/grid-state.models';
153
153
  export { UndoRedoDirective } from './state-management/undo-redo.directive';
154
154
  export { UndoCommandToolbarDirective } from './state-management/undo-command-tool';
155
155
  export { RedoCommandToolbarDirective } from './state-management/redo-command-tool';
156
+ export { HighlightDirective } from './highlight/highlight.directive';
156
157
  // addresses error NG3001: Unsupported private class
157
158
  export { ColumnMenuTemplateDirective } from './column-menu/column-menu-template.directive';
158
159
  export { EditCommandDirective } from './editing/edit-command.directive';
@@ -10,7 +10,7 @@ export const packageMetadata = {
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCode: 'KENDOUIANGULAR',
12
12
  productCodes: ['KENDOUIANGULAR'],
13
- publishDate: 1753435952,
14
- version: '19.3.0-develop.16',
13
+ publishDate: 1753975210,
14
+ version: '19.3.0-develop.18',
15
15
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
16
16
  };
@@ -526,7 +526,8 @@ export class TableBodyComponent {
526
526
  [class.k-grid-edit-row]="isEditingRow($any(item).index)"
527
527
  [attr.aria-selected]="lockedColumnsCount < 1 ? isSelectable({ dataItem: item.data, index: $any(item).index }) && isRowSelected(item) : undefined"
528
528
  [attr.data-kendo-grid-item-index]="$any(item).index"
529
- [class.k-selected]="isSelectable({ dataItem: item.data, index: $any(item).index }) && isRowSelected(item)">
529
+ [class.k-selected]="isSelectable({ dataItem: item.data, index: $any(item).index }) && isRowSelected(item)"
530
+ [class.k-highlighted]="item.isHighlighted">
530
531
  <ng-container *ngIf="!skipGroupDecoration">
531
532
  <td class="k-group-cell k-table-td k-table-group-td" *ngFor="let g of groups" role="presentation"></td>
532
533
  </ng-container>
@@ -578,7 +579,8 @@ export class TableBodyComponent {
578
579
  [class.k-grid-edit-cell]="isEditingCell($any(item).index, column)"
579
580
  [ngStyle]="column.sticky ? addStickyColumnStyles(column) : column.style"
580
581
  [attr.colspan]="column.colspan"
581
- [class.k-selected]="isSelectable && cellSelectionService.isCellSelected(item, column)">
582
+ [class.k-selected]="isSelectable && cellSelectionService.isCellSelected(item, column)"
583
+ [class.k-highlighted]="item.cells[lockedColumnsCount + columnIndex]?.isHighlighted">
582
584
  </td>
583
585
  </ng-container>
584
586
  </tr>
@@ -746,7 +748,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
746
748
  [class.k-grid-edit-row]="isEditingRow($any(item).index)"
747
749
  [attr.aria-selected]="lockedColumnsCount < 1 ? isSelectable({ dataItem: item.data, index: $any(item).index }) && isRowSelected(item) : undefined"
748
750
  [attr.data-kendo-grid-item-index]="$any(item).index"
749
- [class.k-selected]="isSelectable({ dataItem: item.data, index: $any(item).index }) && isRowSelected(item)">
751
+ [class.k-selected]="isSelectable({ dataItem: item.data, index: $any(item).index }) && isRowSelected(item)"
752
+ [class.k-highlighted]="item.isHighlighted">
750
753
  <ng-container *ngIf="!skipGroupDecoration">
751
754
  <td class="k-group-cell k-table-td k-table-group-td" *ngFor="let g of groups" role="presentation"></td>
752
755
  </ng-container>
@@ -798,7 +801,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
798
801
  [class.k-grid-edit-cell]="isEditingCell($any(item).index, column)"
799
802
  [ngStyle]="column.sticky ? addStickyColumnStyles(column) : column.style"
800
803
  [attr.colspan]="column.colspan"
801
- [class.k-selected]="isSelectable && cellSelectionService.isCellSelected(item, column)">
804
+ [class.k-selected]="isSelectable && cellSelectionService.isCellSelected(item, column)"
805
+ [class.k-highlighted]="item.cells[lockedColumnsCount + columnIndex]?.isHighlighted">
802
806
  </td>
803
807
  </ng-container>
804
808
  </tr>