@progress/kendo-angular-grid 19.3.0-develop.2 → 19.3.0-develop.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/aggregates/status-bar.component.d.ts +1 -0
- package/common/provider.service.d.ts +2 -0
- package/data/data-mapping.service.d.ts +3 -1
- package/directives.d.ts +4 -3
- package/esm2022/adaptiveness/adaptive-renderer.component.mjs +1 -2
- package/esm2022/aggregates/status-bar.component.mjs +5 -1
- package/esm2022/column-menu/column-list.component.mjs +10 -10
- package/esm2022/column-menu/column-menu.component.mjs +1 -1
- package/esm2022/common/provider.service.mjs +1 -0
- package/esm2022/data/data-mapping.service.mjs +14 -3
- package/esm2022/directives.mjs +3 -0
- package/esm2022/editing/form/form-formfield.component.mjs +2 -2
- package/esm2022/editing-directives/in-cell-editing.directive.mjs +1 -0
- package/esm2022/filtering/cell/boolean-filter-cell.component.mjs +1 -1
- package/esm2022/filtering/cell/date-filter-cell.component.mjs +1 -1
- package/esm2022/filtering/cell/filter-cell-operators.component.mjs +1 -2
- package/esm2022/filtering/cell/numeric-filter-cell.component.mjs +1 -1
- package/esm2022/filtering/cell/string-filter-cell.component.mjs +1 -1
- package/esm2022/filtering/filter-row.component.mjs +1 -1
- package/esm2022/filtering/menu/boolean-filter-menu.component.mjs +1 -2
- package/esm2022/filtering/menu/date-filter-menu-input.component.mjs +1 -1
- package/esm2022/filtering/menu/date-filter-menu.component.mjs +1 -1
- package/esm2022/filtering/menu/filter-menu-input-wrapper.component.mjs +1 -1
- package/esm2022/filtering/menu/filter-menu.component.mjs +1 -1
- package/esm2022/filtering/menu/numeric-filter-menu-input.component.mjs +1 -1
- package/esm2022/filtering/menu/numeric-filter-menu.component.mjs +1 -1
- package/esm2022/filtering/menu/string-filter-menu-input.component.mjs +1 -1
- package/esm2022/filtering/menu/string-filter-menu.component.mjs +1 -1
- package/esm2022/grid.component.mjs +9 -4
- package/esm2022/grid.module.mjs +23 -22
- package/esm2022/grouping/group-panel.component.mjs +7 -3
- package/esm2022/highlight/highlight-item.mjs +5 -0
- package/esm2022/highlight/highlight.directive.mjs +132 -0
- package/esm2022/index.mjs +1 -0
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/rendering/list.component.mjs +1 -1
- package/esm2022/rendering/table-body.component.mjs +8 -4
- package/esm2022/selection/pair-set.mjs +87 -10
- package/esm2022/utils.mjs +0 -4
- package/fesm2022/progress-kendo-angular-grid.mjs +271 -46
- package/grid.component.d.ts +4 -0
- package/grid.module.d.ts +22 -21
- package/highlight/highlight-item.d.ts +17 -0
- package/highlight/highlight.directive.d.ts +56 -0
- package/index.d.ts +2 -0
- package/package.json +21 -21
- package/rendering/cell.component.d.ts +2 -2
- package/rendering/table-body.component.d.ts +1 -0
- package/schematics/ngAdd/index.js +4 -4
- package/selection/pair-set.d.ts +36 -8
- package/utils.d.ts +0 -4
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
import { Component, Input } from '@angular/core';
|
|
6
6
|
import { ColumnComponent } from "../../columns/column.component";
|
|
7
7
|
import { FilterService } from '../filter.service';
|
|
8
|
-
import { replaceMessagePlaceholder } from '../../utils';
|
|
9
8
|
import { MenuTabbingService } from './menu-tabbing.service';
|
|
10
9
|
import { ContextService } from '../../common/provider.service';
|
|
11
10
|
import { FilterInputDirective } from '../filter-input.directive';
|
|
12
11
|
import { FormsModule } from '@angular/forms';
|
|
13
12
|
import { FilterMenuInputWrapperComponent } from './filter-menu-input-wrapper.component';
|
|
14
13
|
import { TextBoxComponent } from '@progress/kendo-angular-inputs';
|
|
14
|
+
import { replaceMessagePlaceholder } from '@progress/kendo-angular-common';
|
|
15
15
|
import * as i0 from "@angular/core";
|
|
16
16
|
import * as i1 from "../../common/provider.service";
|
|
17
17
|
import * as i2 from "@angular/forms";
|
|
@@ -7,12 +7,12 @@ import { Component, Input, HostBinding } from '@angular/core';
|
|
|
7
7
|
import { StringFilterComponent } from '../string-filter.component';
|
|
8
8
|
import { FilterService } from '../filter.service';
|
|
9
9
|
import { setFilter, logicOperators } from '../base-filter-cell.component';
|
|
10
|
-
import { replaceMessagePlaceholder } from '../../utils';
|
|
11
10
|
import { ContextService } from '../../common/provider.service';
|
|
12
11
|
import { FilterMenuDropDownListDirective } from './filter-menu-dropdownlist.directive';
|
|
13
12
|
import { NgIf } from '@angular/common';
|
|
14
13
|
import { StringFilterMenuInputComponent } from './string-filter-menu-input.component';
|
|
15
14
|
import { DropDownListComponent } from '@progress/kendo-angular-dropdowns';
|
|
15
|
+
import { replaceMessagePlaceholder } from '@progress/kendo-angular-common';
|
|
16
16
|
import * as i0 from "@angular/core";
|
|
17
17
|
import * as i1 from "../../common/provider.service";
|
|
18
18
|
/**
|
|
@@ -71,7 +71,7 @@ import { CellLoadingTemplateDirective } from './rendering/cell-loading.template.
|
|
|
71
71
|
import { ContextService } from './common/provider.service';
|
|
72
72
|
import { LoadingTemplateDirective } from './rendering/loading-template.directive';
|
|
73
73
|
import { SizingOptionsService } from './layout/sizing-options.service';
|
|
74
|
-
import { DraggableDirective, WatermarkOverlayComponent, guid, shouldShowValidationUI } from '@progress/kendo-angular-common';
|
|
74
|
+
import { DraggableDirective, WatermarkOverlayComponent, guid, shouldShowValidationUI, getLicenseMessage } from '@progress/kendo-angular-common';
|
|
75
75
|
import { DragTargetContainerDirective, DropTargetContainerDirective } from '@progress/kendo-angular-utils';
|
|
76
76
|
import { RowReorderService } from './row-reordering/row-reorder.service';
|
|
77
77
|
import { StatusBarTemplateDirective } from './aggregates/status-bar-template.directive';
|
|
@@ -973,6 +973,10 @@ export class GridComponent {
|
|
|
973
973
|
selectionDirective = false;
|
|
974
974
|
ariaRootId = `k-${guid()}`;
|
|
975
975
|
showLicenseWatermark = false;
|
|
976
|
+
/**
|
|
977
|
+
* @hidden
|
|
978
|
+
*/
|
|
979
|
+
licenseMessage;
|
|
976
980
|
columnsContainer = new ColumnsContainer(() => this.columnList.filterHierarchy(column => {
|
|
977
981
|
if (!isUniversal()) {
|
|
978
982
|
column.matchesMedia = this.matchesMedia(column);
|
|
@@ -1176,6 +1180,7 @@ export class GridComponent {
|
|
|
1176
1180
|
this.rowReorderService = rowReorderService;
|
|
1177
1181
|
this.dataMappingService = dataMappingService;
|
|
1178
1182
|
const isValid = validatePackage(packageMetadata);
|
|
1183
|
+
this.licenseMessage = getLicenseMessage(packageMetadata);
|
|
1179
1184
|
this.showLicenseWatermark = shouldShowValidationUI(isValid);
|
|
1180
1185
|
this.ctx.grid = this;
|
|
1181
1186
|
this.groupChange = new ZoneAwareEventEmitter(this.ngZone);
|
|
@@ -3144,8 +3149,8 @@ export class GridComponent {
|
|
|
3144
3149
|
|
|
3145
3150
|
<kendo-grid-adaptive-renderer *ngIf="isAdaptiveModeEnabled"></kendo-grid-adaptive-renderer>
|
|
3146
3151
|
|
|
3147
|
-
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
|
|
3148
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoGridLocalizedMessages]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: GridToolbarComponent, selector: "kendo-grid-toolbar", inputs: ["position", "size", "navigable"] }, { kind: "component", type: GroupPanelComponent, selector: "kendo-grid-group-panel", inputs: ["text", "navigable", "groups"], outputs: ["change"] }, { kind: "directive", type: TableDirective, selector: "[kendoGridResizableTable]", inputs: ["locked", "virtualColumns"] }, { kind: "directive", type: GridTableDirective, selector: "[kendoGridTable]", inputs: ["size"] }, { kind: "component", type: ColGroupComponent, selector: "[kendoGridColGroup]", inputs: ["columns", "groups", "detailTemplate", "sort"] }, { kind: "component", type: HeaderComponent, selector: "[kendoGridHeader]", inputs: ["totalColumnLevels", "columns", "groups", "detailTemplate", "scrollable", "filterable", "sort", "filter", "sortable", "groupable", "lockedColumnsCount", "resizable", "reorderable", "columnMenu", "columnMenuTemplate", "totalColumnsCount", "totalColumns", "tabIndex", "size"] }, { kind: "directive", type: ResizableContainerDirective, selector: "[kendoGridResizableContainer]", inputs: ["lockedWidth", "kendoGridResizableContainer"] }, { kind: "component", type: ListComponent, selector: "kendo-grid-list", inputs: ["data", "groups", "total", "rowHeight", "detailRowHeight", "take", "skip", "columns", "detailTemplate", "noRecordsTemplate", "selectable", "groupable", "filterable", "rowClass", "rowSticky", "loading", "trackBy", "virtualColumns", "isVirtual", "cellLoadingTemplate", "loadingTemplate", "sort", "size"], outputs: ["contentScroll", "pageChange", "scrollBottom"] }, { kind: "directive", type: DragTargetContainerDirective, selector: "[kendoDragTargetContainer]", inputs: ["hint", "dragTargetFilter", "dragHandle", "dragDelay", "threshold", "dragTargetId", "dragData", "dragDisabled", "mode", "cursorStyle", "hintContext"], outputs: ["onDragReady", "onPress", "onDragStart", "onDrag", "onRelease", "onDragEnd"], exportAs: ["kendoDragTargetContainer"] }, { kind: "directive", type: DropTargetContainerDirective, selector: "[kendoDropTargetContainer]", inputs: ["dropTargetFilter", "dropDisabled"], outputs: ["onDragEnter", "onDragOver", "onDragLeave", "onDrop"], exportAs: ["kendoDropTargetContainer"] }, { kind: "directive", type: DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }, { kind: "directive", type: GridMarqueeDirective, selector: "[kendoGridSelectionMarquee]" }, { kind: "component", type: FooterComponent, selector: "[kendoGridFooter]", inputs: ["columns", "groups", "detailTemplate", "scrollable", "lockedColumnsCount", "logicalRowIndex", "totalColumns", "totalColumnsCount"] }, { kind: "component", type: TableBodyComponent, selector: "[kendoGridTableBody]", inputs: ["columns", "allColumns", "groups", "detailTemplate", "noRecordsTemplate", "rowsToRender", "skip", "selectable", "filterable", "noRecordsText", "isLocked", "isLoading", "isVirtual", "cellLoadingTemplate", "skipGroupDecoration", "lockedColumnsCount", "totalColumnsCount", "virtualColumns", "trackBy", "rowSticky", "totalColumns", "rowClass"] }, { kind: "component", type: LoadingComponent, selector: "[kendoGridLoading]", inputs: ["loadingTemplate"] }, { kind: "component", type: StatusBarComponent, selector: "kendo-grid-status-bar", inputs: ["statusBarTemplate"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]" }, { kind: "component", type: i27.CustomMessagesComponent, selector: "kendo-datapager-messages, kendo-pager-messages" }, { kind: "component", type: i27.PagerInfoComponent, selector: "kendo-datapager-info, kendo-pager-info" }, { kind: "component", type: i27.PagerInputComponent, selector: "kendo-datapager-input, kendo-pager-input", inputs: ["showPageText", "size"] }, { kind: "component", type: i27.PagerNextButtonsComponent, selector: "kendo-datapager-next-buttons, kendo-pager-next-buttons", inputs: ["size"] }, { kind: "component", type: i27.PagerNumericButtonsComponent, selector: "kendo-datapager-numeric-buttons, kendo-pager-numeric-buttons", inputs: ["buttonCount", "size"] }, { kind: "component", type: i27.PagerPageSizesComponent, selector: "kendo-datapager-page-sizes, kendo-pager-page-sizes", inputs: ["showItemsText", "pageSizes", "size", "adaptiveMode"] }, { kind: "component", type: i27.PagerPrevButtonsComponent, selector: "kendo-datapager-prev-buttons, kendo-pager-prev-buttons", inputs: ["size"] }, { kind: "directive", type: i27.PagerTemplateDirective, selector: "[kendoDataPagerTemplate], [kendoPagerTemplate]" }, { kind: "component", type: i27.PagerComponent, selector: "kendo-datapager, kendo-pager", inputs: ["externalTemplate", "total", "skip", "pageSize", "buttonCount", "info", "type", "pageSizeValues", "previousNext", "navigable", "size", "responsive", "adaptiveMode"], outputs: ["pageChange", "pageSizeChange", "pagerInputVisibilityChange", "pageTextVisibilityChange", "itemsTextVisibilityChange"], exportAs: ["kendoDataPager", "kendoPager"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: AdaptiveRendererComponent, selector: "kendo-grid-adaptive-renderer" }], encapsulation: i0.ViewEncapsulation.None });
|
|
3152
|
+
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark" [licenseMessage]="licenseMessage"></div>
|
|
3153
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoGridLocalizedMessages]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: GridToolbarComponent, selector: "kendo-grid-toolbar", inputs: ["position", "size", "navigable"] }, { kind: "component", type: GroupPanelComponent, selector: "kendo-grid-group-panel", inputs: ["text", "navigable", "groups"], outputs: ["change"] }, { kind: "directive", type: TableDirective, selector: "[kendoGridResizableTable]", inputs: ["locked", "virtualColumns"] }, { kind: "directive", type: GridTableDirective, selector: "[kendoGridTable]", inputs: ["size"] }, { kind: "component", type: ColGroupComponent, selector: "[kendoGridColGroup]", inputs: ["columns", "groups", "detailTemplate", "sort"] }, { kind: "component", type: HeaderComponent, selector: "[kendoGridHeader]", inputs: ["totalColumnLevels", "columns", "groups", "detailTemplate", "scrollable", "filterable", "sort", "filter", "sortable", "groupable", "lockedColumnsCount", "resizable", "reorderable", "columnMenu", "columnMenuTemplate", "totalColumnsCount", "totalColumns", "tabIndex", "size"] }, { kind: "directive", type: ResizableContainerDirective, selector: "[kendoGridResizableContainer]", inputs: ["lockedWidth", "kendoGridResizableContainer"] }, { kind: "component", type: ListComponent, selector: "kendo-grid-list", inputs: ["data", "groups", "total", "rowHeight", "detailRowHeight", "take", "skip", "columns", "detailTemplate", "noRecordsTemplate", "selectable", "groupable", "filterable", "rowClass", "rowSticky", "loading", "trackBy", "virtualColumns", "isVirtual", "cellLoadingTemplate", "loadingTemplate", "sort", "size"], outputs: ["contentScroll", "pageChange", "scrollBottom"] }, { kind: "directive", type: DragTargetContainerDirective, selector: "[kendoDragTargetContainer]", inputs: ["hint", "dragTargetFilter", "dragHandle", "dragDelay", "threshold", "dragTargetId", "dragData", "dragDisabled", "mode", "cursorStyle", "hintContext"], outputs: ["onDragReady", "onPress", "onDragStart", "onDrag", "onRelease", "onDragEnd"], exportAs: ["kendoDragTargetContainer"] }, { kind: "directive", type: DropTargetContainerDirective, selector: "[kendoDropTargetContainer]", inputs: ["dropTargetFilter", "dropDisabled"], outputs: ["onDragEnter", "onDragOver", "onDragLeave", "onDrop"], exportAs: ["kendoDropTargetContainer"] }, { kind: "directive", type: DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }, { kind: "directive", type: GridMarqueeDirective, selector: "[kendoGridSelectionMarquee]" }, { kind: "component", type: FooterComponent, selector: "[kendoGridFooter]", inputs: ["columns", "groups", "detailTemplate", "scrollable", "lockedColumnsCount", "logicalRowIndex", "totalColumns", "totalColumnsCount"] }, { kind: "component", type: TableBodyComponent, selector: "[kendoGridTableBody]", inputs: ["columns", "allColumns", "groups", "detailTemplate", "noRecordsTemplate", "rowsToRender", "skip", "selectable", "filterable", "noRecordsText", "isLocked", "isLoading", "isVirtual", "cellLoadingTemplate", "skipGroupDecoration", "lockedColumnsCount", "totalColumnsCount", "virtualColumns", "trackBy", "rowSticky", "totalColumns", "rowClass"] }, { kind: "component", type: LoadingComponent, selector: "[kendoGridLoading]", inputs: ["loadingTemplate"] }, { kind: "component", type: StatusBarComponent, selector: "kendo-grid-status-bar", inputs: ["statusBarTemplate"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]", inputs: ["licenseMessage"] }, { kind: "component", type: i27.CustomMessagesComponent, selector: "kendo-datapager-messages, kendo-pager-messages" }, { kind: "component", type: i27.PagerInfoComponent, selector: "kendo-datapager-info, kendo-pager-info" }, { kind: "component", type: i27.PagerInputComponent, selector: "kendo-datapager-input, kendo-pager-input", inputs: ["showPageText", "size"] }, { kind: "component", type: i27.PagerNextButtonsComponent, selector: "kendo-datapager-next-buttons, kendo-pager-next-buttons", inputs: ["size"] }, { kind: "component", type: i27.PagerNumericButtonsComponent, selector: "kendo-datapager-numeric-buttons, kendo-pager-numeric-buttons", inputs: ["buttonCount", "size"] }, { kind: "component", type: i27.PagerPageSizesComponent, selector: "kendo-datapager-page-sizes, kendo-pager-page-sizes", inputs: ["showItemsText", "pageSizes", "size", "adaptiveMode"] }, { kind: "component", type: i27.PagerPrevButtonsComponent, selector: "kendo-datapager-prev-buttons, kendo-pager-prev-buttons", inputs: ["size"] }, { kind: "directive", type: i27.PagerTemplateDirective, selector: "[kendoDataPagerTemplate], [kendoPagerTemplate]" }, { kind: "component", type: i27.PagerComponent, selector: "kendo-datapager, kendo-pager", inputs: ["externalTemplate", "total", "skip", "pageSize", "buttonCount", "info", "type", "pageSizeValues", "previousNext", "navigable", "size", "responsive", "adaptiveMode"], outputs: ["pageChange", "pageSizeChange", "pagerInputVisibilityChange", "pageTextVisibilityChange", "itemsTextVisibilityChange"], exportAs: ["kendoDataPager", "kendoPager"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: AdaptiveRendererComponent, selector: "kendo-grid-adaptive-renderer" }], encapsulation: i0.ViewEncapsulation.None });
|
|
3149
3154
|
}
|
|
3150
3155
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GridComponent, decorators: [{
|
|
3151
3156
|
type: Component,
|
|
@@ -3970,7 +3975,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
3970
3975
|
|
|
3971
3976
|
<kendo-grid-adaptive-renderer *ngIf="isAdaptiveModeEnabled"></kendo-grid-adaptive-renderer>
|
|
3972
3977
|
|
|
3973
|
-
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
|
|
3978
|
+
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark" [licenseMessage]="licenseMessage"></div>
|
|
3974
3979
|
`,
|
|
3975
3980
|
standalone: true,
|
|
3976
3981
|
imports: [
|
package/esm2022/grid.module.mjs
CHANGED
|
@@ -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 "./
|
|
141
|
-
import * as i124 from "./editing-directives/
|
|
142
|
-
import * as i125 from "./editing-directives/
|
|
143
|
-
import * as i126 from "./editing-directives/
|
|
144
|
-
import * as i127 from "./
|
|
145
|
-
import * as i128 from "./rendering/
|
|
146
|
-
import * as i129 from "./
|
|
147
|
-
import * as i130 from "./
|
|
148
|
-
import * as i131 from "./
|
|
149
|
-
import * as i132 from "./rendering/
|
|
150
|
-
import * as i133 from "./
|
|
151
|
-
import * as i134 from "./aggregates/status-bar
|
|
152
|
-
import * as i135 from "./
|
|
153
|
-
import * as i136 from "./
|
|
154
|
-
import * as i137 from "./editing/form/
|
|
155
|
-
import * as i138 from "./editing/form/form
|
|
156
|
-
import * as i139 from "./
|
|
157
|
-
import * as i140 from "./state-management/undo-
|
|
158
|
-
import * as i141 from "./state-management/
|
|
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.
|
|
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,
|
|
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,
|
|
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,
|
|
@@ -303,7 +303,9 @@ export class GroupPanelComponent {
|
|
|
303
303
|
<kendo-chiplist
|
|
304
304
|
*ngIf="groups.length !== 0"
|
|
305
305
|
[navigable]="navigable"
|
|
306
|
-
role="none"
|
|
306
|
+
role="none"
|
|
307
|
+
[orientation]="null"
|
|
308
|
+
>
|
|
307
309
|
<kendo-chip
|
|
308
310
|
*ngFor="let group of groups; let index = index; let first = first; let last = last;"
|
|
309
311
|
#chip
|
|
@@ -366,7 +368,7 @@ export class GroupPanelComponent {
|
|
|
366
368
|
</li>
|
|
367
369
|
</ul>
|
|
368
370
|
</ng-template>
|
|
369
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: DropTargetDirective, selector: "[kendoDropTarget]", inputs: ["context"], outputs: ["enter", "leave", "drop"] }, { kind: "component", type: ChipListComponent, selector: "kendo-chiplist, kendo-chip-list", inputs: ["selection", "size", "role", "navigable"], outputs: ["selectedChange", "remove"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: ChipComponent, selector: "kendo-chip", inputs: ["label", "icon", "svgIcon", "iconClass", "avatarSettings", "selected", "removable", "removeIcon", "removeSvgIcon", "hasMenu", "menuIcon", "menuSvgIcon", "disabled", "size", "rounded", "fillMode", "themeColor"], outputs: ["remove", "menuToggle", "contentClick"] }, { kind: "directive", type: DraggableColumnDirective, selector: "[kendoDraggableColumn]", inputs: ["context", "enableDrag"], outputs: ["drag"] }, { kind: "directive", type: DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
371
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: DropTargetDirective, selector: "[kendoDropTarget]", inputs: ["context"], outputs: ["enter", "leave", "drop"] }, { kind: "component", type: ChipListComponent, selector: "kendo-chiplist, kendo-chip-list", inputs: ["orientation", "selection", "size", "role", "navigable"], outputs: ["selectedChange", "remove"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: ChipComponent, selector: "kendo-chip", inputs: ["label", "icon", "svgIcon", "iconClass", "avatarSettings", "selected", "removable", "removeIcon", "removeSvgIcon", "hasMenu", "menuIcon", "menuSvgIcon", "disabled", "size", "rounded", "fillMode", "themeColor"], outputs: ["remove", "menuToggle", "contentClick"] }, { kind: "directive", type: DraggableColumnDirective, selector: "[kendoDraggableColumn]", inputs: ["context", "enableDrag"], outputs: ["drag"] }, { kind: "directive", type: DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
370
372
|
}
|
|
371
373
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GroupPanelComponent, decorators: [{
|
|
372
374
|
type: Component,
|
|
@@ -388,7 +390,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
388
390
|
<kendo-chiplist
|
|
389
391
|
*ngIf="groups.length !== 0"
|
|
390
392
|
[navigable]="navigable"
|
|
391
|
-
role="none"
|
|
393
|
+
role="none"
|
|
394
|
+
[orientation]="null"
|
|
395
|
+
>
|
|
392
396
|
<kendo-chip
|
|
393
397
|
*ngFor="let group of groups; let index = index; let first = first; let last = last;"
|
|
394
398
|
#chip
|
|
@@ -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:
|
|
14
|
-
version: '19.3.0-develop.
|
|
13
|
+
publishDate: 1754293844,
|
|
14
|
+
version: '19.3.0-develop.20',
|
|
15
15
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
16
16
|
};
|
|
@@ -270,7 +270,7 @@ export class ListComponent {
|
|
|
270
270
|
if (this.virtualColumns && (!this.viewportColumns || this.viewportWidthChange())) {
|
|
271
271
|
this.updateViewportColumns();
|
|
272
272
|
}
|
|
273
|
-
const shouldCalculatePageSize = isDocumentAvailable() && this.isVirtual && this.ctx.grid && !this.ctx.grid.pageSize;
|
|
273
|
+
const shouldCalculatePageSize = isDocumentAvailable() && this.isVirtual && this.ctx.grid && !isPresent(this.ctx.grid.pageSize);
|
|
274
274
|
if (shouldCalculatePageSize) {
|
|
275
275
|
const calculatedPageSize = this.calcVirtualPageSize();
|
|
276
276
|
if (calculatedPageSize > 0) {
|
|
@@ -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>
|