@progress/kendo-angular-grid 18.5.0-develop.9 → 18.5.0
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/column-menu/column-chooser-tool.directive.d.ts +57 -0
- package/column-menu/column-list.component.d.ts +2 -0
- package/directives.d.ts +5 -4
- package/esm2022/column-menu/column-chooser-tool.directive.mjs +172 -0
- package/esm2022/column-menu/column-list.component.mjs +17 -9
- package/esm2022/directives.mjs +3 -0
- package/esm2022/grid.component.mjs +2 -2
- package/esm2022/grid.module.mjs +41 -40
- package/esm2022/index.mjs +2 -0
- package/esm2022/localization/messages.mjs +1 -1
- package/esm2022/package-metadata.mjs +2 -2
- package/fesm2022/progress-kendo-angular-grid.mjs +203 -39
- package/grid.module.d.ts +41 -40
- package/index.d.ts +2 -0
- package/localization/messages.d.ts +1 -1
- package/package.json +19 -19
- package/schematics/ngAdd/index.js +4 -4
|
@@ -0,0 +1,57 @@
|
|
|
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 { NgZone, Renderer2, AfterViewInit, OnInit, OnDestroy } from '@angular/core';
|
|
6
|
+
import { PopupService } from '@progress/kendo-angular-popup';
|
|
7
|
+
import { RefreshService, ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
8
|
+
import { ContextService } from '../common/provider.service';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
/**
|
|
11
|
+
* Represents the `column-chooser` toolbar tool of the Grid.
|
|
12
|
+
* You can apply this directive to any `kendo-toolbar-button` element inside a
|
|
13
|
+
* ToolbarComponent used in the Grid.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```html-no-run
|
|
17
|
+
* <kendo-grid>
|
|
18
|
+
* <kendo-toolbar>
|
|
19
|
+
* <kendo-toolbar-button kendoGridColumnChooserTool></kendo-toolbar-button>
|
|
20
|
+
* </kendo-toolbar>
|
|
21
|
+
* </kendo-grid>
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
export declare class ColumnChooserToolbarDirective implements OnInit, AfterViewInit, OnDestroy {
|
|
25
|
+
private renderer;
|
|
26
|
+
private popupSerivce;
|
|
27
|
+
host: ToolBarButtonComponent;
|
|
28
|
+
private ctx;
|
|
29
|
+
private zone;
|
|
30
|
+
private refresh;
|
|
31
|
+
/**
|
|
32
|
+
* Specifies if the changes in the visibility of the column will be immediately applied.
|
|
33
|
+
*
|
|
34
|
+
* @default false
|
|
35
|
+
*/
|
|
36
|
+
autoSync: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Specifies if all columns can be hidden.
|
|
39
|
+
*
|
|
40
|
+
* @default true
|
|
41
|
+
*/
|
|
42
|
+
allowHideAll: boolean;
|
|
43
|
+
private popupRef;
|
|
44
|
+
private subs;
|
|
45
|
+
private nextId;
|
|
46
|
+
constructor(renderer: Renderer2, popupSerivce: PopupService, host: ToolBarButtonComponent, ctx: ContextService, zone: NgZone, refresh: RefreshService);
|
|
47
|
+
ngOnInit(): void;
|
|
48
|
+
ngAfterViewInit(): void;
|
|
49
|
+
ngOnDestroy(): void;
|
|
50
|
+
/**
|
|
51
|
+
* @hidden
|
|
52
|
+
*/
|
|
53
|
+
onClick(e: any): void;
|
|
54
|
+
private closePopup;
|
|
55
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnChooserToolbarDirective, never>;
|
|
56
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ColumnChooserToolbarDirective, "[kendoGridColumnChooserTool]", never, { "autoSync": { "alias": "autoSync"; "required": false; }; "allowHideAll": { "alias": "allowHideAll"; "required": false; }; }, {}, never, never, true, never>;
|
|
57
|
+
}
|
|
@@ -14,6 +14,8 @@ export declare class ColumnListComponent implements OnInit, OnDestroy {
|
|
|
14
14
|
private ngZone;
|
|
15
15
|
private renderer;
|
|
16
16
|
private listNavigationService;
|
|
17
|
+
checkIcon: import("@progress/kendo-svg-icons").SVGIcon;
|
|
18
|
+
arrowRotateCcwIcon: import("@progress/kendo-svg-icons").SVGIcon;
|
|
17
19
|
className: boolean;
|
|
18
20
|
reset: EventEmitter<any>;
|
|
19
21
|
apply: EventEmitter<any>;
|
package/directives.d.ts
CHANGED
|
@@ -68,6 +68,7 @@ import { StringFilterCellComponent } from "./filtering/cell/string-filter-cell.c
|
|
|
68
68
|
import { FilterRowComponent } from "./filtering/filter-row.component";
|
|
69
69
|
import { ColumnMenuChooserItemCheckedDirective } from "./column-menu/column-chooser-item-checked.directive";
|
|
70
70
|
import { ColumnChooserComponent } from "./column-menu/column-chooser.component";
|
|
71
|
+
import { ColumnChooserToolbarDirective } from "./column-menu/column-chooser-tool.directive";
|
|
71
72
|
import { ColumnListComponent } from "./column-menu/column-list.component";
|
|
72
73
|
import { ColumnMenuAutoSizeAllColumnsComponent } from "./column-menu/column-menu-autosize-all.component";
|
|
73
74
|
import { ColumnMenuAutoSizeColumnComponent } from "./column-menu/column-menu-autosize.component";
|
|
@@ -198,13 +199,13 @@ export declare const KENDO_GRID_FILTER_ROW: readonly [typeof FilterRowComponent,
|
|
|
198
199
|
*
|
|
199
200
|
* Utility array that contains the former ColumnMenu module declarations
|
|
200
201
|
*/
|
|
201
|
-
export declare const KENDO_GRID_COLUMN_MENU_DECLARATIONS: readonly [typeof ColumnMenuChooserItemCheckedDirective, typeof ColumnListComponent, typeof ColumnChooserComponent, typeof ColumnMenuChooserComponent, typeof ColumnMenuFilterComponent, typeof ColumnMenuItemComponent, typeof ColumnMenuItemContentTemplateDirective, typeof ColumnMenuSortComponent, typeof ColumnMenuComponent, typeof ColumnMenuLockComponent, typeof ColumnMenuTemplateDirective, typeof ColumnMenuContainerComponent, typeof ColumnMenuItemDirective, typeof ColumnMenuStickComponent, typeof ColumnMenuPositionComponent, typeof ColumnMenuAutoSizeColumnComponent, typeof ColumnMenuAutoSizeAllColumnsComponent];
|
|
202
|
+
export declare const KENDO_GRID_COLUMN_MENU_DECLARATIONS: readonly [typeof ColumnMenuChooserItemCheckedDirective, typeof ColumnListComponent, typeof ColumnChooserComponent, typeof ColumnChooserToolbarDirective, typeof ColumnMenuChooserComponent, typeof ColumnMenuFilterComponent, typeof ColumnMenuItemComponent, typeof ColumnMenuItemContentTemplateDirective, typeof ColumnMenuSortComponent, typeof ColumnMenuComponent, typeof ColumnMenuLockComponent, typeof ColumnMenuTemplateDirective, typeof ColumnMenuContainerComponent, typeof ColumnMenuItemDirective, typeof ColumnMenuStickComponent, typeof ColumnMenuPositionComponent, typeof ColumnMenuAutoSizeColumnComponent, typeof ColumnMenuAutoSizeAllColumnsComponent];
|
|
202
203
|
/**
|
|
203
204
|
* @hidden
|
|
204
205
|
*
|
|
205
206
|
* Utility array that contains the former ColumnMenu module exports
|
|
206
207
|
*/
|
|
207
|
-
export declare const KENDO_GRID_COLUMN_MENU_EXPORTS: readonly [typeof ColumnChooserComponent, 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];
|
|
208
|
+
export declare const KENDO_GRID_COLUMN_MENU_EXPORTS: readonly [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];
|
|
208
209
|
/**
|
|
209
210
|
* @hidden
|
|
210
211
|
*/
|
|
@@ -232,7 +233,7 @@ export declare const KENDO_GRID_DECLARATIONS: readonly [typeof GridComponent, ty
|
|
|
232
233
|
*
|
|
233
234
|
* Utility array that contains the Grid module exports
|
|
234
235
|
*/
|
|
235
|
-
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 CellLoadingTemplateDirective, typeof LoadingTemplateDirective, typeof RowReorderColumnComponent, 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 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];
|
|
236
|
+
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 CellLoadingTemplateDirective, typeof LoadingTemplateDirective, typeof RowReorderColumnComponent, 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];
|
|
236
237
|
/**
|
|
237
238
|
* @hidden
|
|
238
239
|
*
|
|
@@ -248,4 +249,4 @@ export declare const KENDO_GRID_PDF_EXPORT: readonly [typeof PDFComponent, typeo
|
|
|
248
249
|
/**
|
|
249
250
|
* Utility array that contains all `Grid` related components and directives
|
|
250
251
|
*/
|
|
251
|
-
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 CellLoadingTemplateDirective, typeof LoadingTemplateDirective, typeof RowReorderColumnComponent, 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 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 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];
|
|
252
|
+
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 CellLoadingTemplateDirective, typeof LoadingTemplateDirective, typeof RowReorderColumnComponent, 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 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];
|
|
@@ -0,0 +1,172 @@
|
|
|
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, NgZone, Input, Renderer2 } from '@angular/core';
|
|
6
|
+
import { PopupService } from '@progress/kendo-angular-popup';
|
|
7
|
+
import { RefreshService, ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
8
|
+
import { ColumnListComponent } from './column-list.component';
|
|
9
|
+
import { closest, isPresent } from '@progress/kendo-angular-common';
|
|
10
|
+
import { Subscription } from 'rxjs';
|
|
11
|
+
import { columnsIcon } from '@progress/kendo-svg-icons';
|
|
12
|
+
import { ContextService } from '../common/provider.service';
|
|
13
|
+
import { filter, take } from 'rxjs/operators';
|
|
14
|
+
import * as i0 from "@angular/core";
|
|
15
|
+
import * as i1 from "@progress/kendo-angular-popup";
|
|
16
|
+
import * as i2 from "@progress/kendo-angular-toolbar";
|
|
17
|
+
import * as i3 from "../common/provider.service";
|
|
18
|
+
let incrementingId = 0;
|
|
19
|
+
/**
|
|
20
|
+
* Represents the `column-chooser` toolbar tool of the Grid.
|
|
21
|
+
* You can apply this directive to any `kendo-toolbar-button` element inside a
|
|
22
|
+
* ToolbarComponent used in the Grid.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* ```html-no-run
|
|
26
|
+
* <kendo-grid>
|
|
27
|
+
* <kendo-toolbar>
|
|
28
|
+
* <kendo-toolbar-button kendoGridColumnChooserTool></kendo-toolbar-button>
|
|
29
|
+
* </kendo-toolbar>
|
|
30
|
+
* </kendo-grid>
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
export class ColumnChooserToolbarDirective {
|
|
34
|
+
renderer;
|
|
35
|
+
popupSerivce;
|
|
36
|
+
host;
|
|
37
|
+
ctx;
|
|
38
|
+
zone;
|
|
39
|
+
refresh;
|
|
40
|
+
/**
|
|
41
|
+
* Specifies if the changes in the visibility of the column will be immediately applied.
|
|
42
|
+
*
|
|
43
|
+
* @default false
|
|
44
|
+
*/
|
|
45
|
+
autoSync = false;
|
|
46
|
+
/**
|
|
47
|
+
* Specifies if all columns can be hidden.
|
|
48
|
+
*
|
|
49
|
+
* @default true
|
|
50
|
+
*/
|
|
51
|
+
allowHideAll = true;
|
|
52
|
+
popupRef;
|
|
53
|
+
subs = new Subscription();
|
|
54
|
+
nextId = incrementingId++;
|
|
55
|
+
constructor(renderer, popupSerivce, host, ctx, zone, refresh) {
|
|
56
|
+
this.renderer = renderer;
|
|
57
|
+
this.popupSerivce = popupSerivce;
|
|
58
|
+
this.host = host;
|
|
59
|
+
this.ctx = ctx;
|
|
60
|
+
this.zone = zone;
|
|
61
|
+
this.refresh = refresh;
|
|
62
|
+
}
|
|
63
|
+
ngOnInit() {
|
|
64
|
+
this.subs.add(this.host.click.subscribe(e => this.onClick(e)));
|
|
65
|
+
const hasToolbarIcon = isPresent(this.host.toolbarOptions.icon) && this.host.toolbarOptions.icon !== '';
|
|
66
|
+
const hasOverflowIcon = isPresent(this.host.overflowOptions.icon) && this.host.overflowOptions.icon !== '';
|
|
67
|
+
const hasIcon = hasToolbarIcon && hasOverflowIcon;
|
|
68
|
+
const hasSvgIcon = isPresent(this.host.toolbarOptions.svgIcon) && isPresent(this.host.overflowOptions.svgIcon);
|
|
69
|
+
if (!hasIcon) {
|
|
70
|
+
this.host.icon = 'columns';
|
|
71
|
+
}
|
|
72
|
+
if (!hasSvgIcon) {
|
|
73
|
+
this.host.svgIcon = columnsIcon;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
ngAfterViewInit() {
|
|
77
|
+
const hasText = isPresent(this.host.text);
|
|
78
|
+
if (!hasText) {
|
|
79
|
+
this.zone.onStable.pipe(take(1)).subscribe(() => {
|
|
80
|
+
this.host.text = this.ctx.localization.get(`columns`);
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
this.host.toolbarButtonElement.nativeElement.setAttribute('aria-haspopup', 'dialog');
|
|
84
|
+
this.host.toolbarButtonElement.nativeElement.setAttribute('aria-expanded', 'false');
|
|
85
|
+
this.host.toolbarButtonElement.nativeElement.setAttribute('title', this.ctx.localization.get('columns'));
|
|
86
|
+
this.subs.add(this.refresh.onRefresh.pipe(filter((tool) => tool === this.host)).subscribe((tool) => {
|
|
87
|
+
if (tool.overflows && this.popupRef) {
|
|
88
|
+
this.popupRef.close();
|
|
89
|
+
}
|
|
90
|
+
}));
|
|
91
|
+
}
|
|
92
|
+
ngOnDestroy() {
|
|
93
|
+
this.subs.unsubscribe();
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* @hidden
|
|
97
|
+
*/
|
|
98
|
+
onClick(e) {
|
|
99
|
+
e.preventDefault();
|
|
100
|
+
if (!this.popupRef) {
|
|
101
|
+
if (!this.host.overflows) {
|
|
102
|
+
const direction = this.ctx.localization.rtl ? 'right' : 'left';
|
|
103
|
+
this.popupRef = this.popupSerivce.open({
|
|
104
|
+
anchor: this.host.toolbarButtonElement,
|
|
105
|
+
content: ColumnListComponent,
|
|
106
|
+
positionMode: 'absolute',
|
|
107
|
+
anchorAlign: { vertical: 'bottom', horizontal: direction },
|
|
108
|
+
popupAlign: { vertical: 'top', horizontal: direction }
|
|
109
|
+
});
|
|
110
|
+
const popupElement = this.popupRef.popupElement;
|
|
111
|
+
const popupId = `k-column-chooser-tool-${this.nextId}-popup`;
|
|
112
|
+
const popupAriaElement = popupElement.querySelector('.k-popup');
|
|
113
|
+
this.zone.runOutsideAngular(() => {
|
|
114
|
+
this.renderer.listen(popupAriaElement, 'keydown', (e) => {
|
|
115
|
+
if (e.key === 'Escape') {
|
|
116
|
+
this.closePopup(true);
|
|
117
|
+
}
|
|
118
|
+
});
|
|
119
|
+
});
|
|
120
|
+
this.renderer.setAttribute(popupElement, 'dir', this.ctx.localization.rtl ? 'rtl' : 'ltr');
|
|
121
|
+
this.renderer.setAttribute(popupAriaElement, 'id', popupId);
|
|
122
|
+
this.renderer.setAttribute(popupAriaElement, 'role', 'dialog');
|
|
123
|
+
this.host.toolbarButtonElement.nativeElement.setAttribute('aria-expanded', 'true');
|
|
124
|
+
this.host.toolbarButtonElement.nativeElement.setAttribute('aria-controls', popupId);
|
|
125
|
+
const columnList = this.popupRef.content.instance;
|
|
126
|
+
columnList.isLast = true;
|
|
127
|
+
columnList.autoSync = this.autoSync;
|
|
128
|
+
columnList.allowHideAll = this.allowHideAll;
|
|
129
|
+
columnList.applyText = this.ctx.localization.get('columnsApply');
|
|
130
|
+
columnList.resetText = this.ctx.localization.get('columnsReset');
|
|
131
|
+
columnList.columns = this.ctx.grid.columns;
|
|
132
|
+
columnList.ariaLabel = this.ctx.localization.get('columns');
|
|
133
|
+
this.subs.add(this.popupRef.popup.instance.anchorViewportLeave.subscribe(() => {
|
|
134
|
+
this.closePopup(true);
|
|
135
|
+
}));
|
|
136
|
+
this.subs.add(columnList.apply.subscribe(() => {
|
|
137
|
+
this.closePopup();
|
|
138
|
+
}));
|
|
139
|
+
this.zone.runOutsideAngular(() => this.renderer.listen('document', 'click', ({ target }) => {
|
|
140
|
+
if (this.popupRef && !closest(target, node => node === this.popupRef.popupElement || node === this.host.toolbarButtonElement.nativeElement)) {
|
|
141
|
+
this.zone.run(() => {
|
|
142
|
+
this.closePopup();
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
}));
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
else {
|
|
149
|
+
this.closePopup();
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
closePopup(focusAnchor = false) {
|
|
153
|
+
this.popupRef.close();
|
|
154
|
+
this.popupRef = null;
|
|
155
|
+
this.host.toolbarButtonElement.nativeElement.setAttribute('aria-expanded', 'false');
|
|
156
|
+
this.host.toolbarButtonElement.nativeElement.removeAttribute('aria-controls');
|
|
157
|
+
focusAnchor && this.host.toolbarButtonElement.nativeElement.focus();
|
|
158
|
+
}
|
|
159
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnChooserToolbarDirective, deps: [{ token: i0.Renderer2 }, { token: i1.PopupService }, { token: i2.ToolBarButtonComponent }, { token: i3.ContextService }, { token: i0.NgZone }, { token: i2.RefreshService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
160
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ColumnChooserToolbarDirective, isStandalone: true, selector: "[kendoGridColumnChooserTool]", inputs: { autoSync: "autoSync", allowHideAll: "allowHideAll" }, ngImport: i0 });
|
|
161
|
+
}
|
|
162
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnChooserToolbarDirective, decorators: [{
|
|
163
|
+
type: Directive,
|
|
164
|
+
args: [{
|
|
165
|
+
selector: '[kendoGridColumnChooserTool]',
|
|
166
|
+
standalone: true
|
|
167
|
+
}]
|
|
168
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i1.PopupService }, { type: i2.ToolBarButtonComponent }, { type: i3.ContextService }, { type: i0.NgZone }, { type: i2.RefreshService }]; }, propDecorators: { autoSync: [{
|
|
169
|
+
type: Input
|
|
170
|
+
}], allowHideAll: [{
|
|
171
|
+
type: Input
|
|
172
|
+
}] } });
|
|
@@ -11,6 +11,8 @@ import { Subscription } from 'rxjs';
|
|
|
11
11
|
import { NgFor, NgIf, NgClass } from '@angular/common';
|
|
12
12
|
import { CheckBoxComponent } from '@progress/kendo-angular-inputs';
|
|
13
13
|
import { take } from 'rxjs/operators';
|
|
14
|
+
import { arrowRotateCcwIcon, checkIcon } from '@progress/kendo-svg-icons';
|
|
15
|
+
import { ButtonDirective } from '@progress/kendo-angular-buttons';
|
|
14
16
|
import * as i0 from "@angular/core";
|
|
15
17
|
import * as i1 from "./column-list-kb-nav.service";
|
|
16
18
|
/**
|
|
@@ -21,6 +23,8 @@ export class ColumnListComponent {
|
|
|
21
23
|
ngZone;
|
|
22
24
|
renderer;
|
|
23
25
|
listNavigationService;
|
|
26
|
+
checkIcon = checkIcon;
|
|
27
|
+
arrowRotateCcwIcon = arrowRotateCcwIcon;
|
|
24
28
|
className = true;
|
|
25
29
|
reset = new EventEmitter();
|
|
26
30
|
apply = new EventEmitter();
|
|
@@ -74,9 +78,11 @@ export class ColumnListComponent {
|
|
|
74
78
|
});
|
|
75
79
|
}
|
|
76
80
|
ngAfterViewInit() {
|
|
77
|
-
this.
|
|
78
|
-
|
|
79
|
-
|
|
81
|
+
this.ngZone.onStable.pipe(take(1)).subscribe(() => {
|
|
82
|
+
this.listNavigationService.items = this.options.toArray();
|
|
83
|
+
this.listNavigationService.toggle(0, true);
|
|
84
|
+
this.updateDisabled();
|
|
85
|
+
});
|
|
80
86
|
}
|
|
81
87
|
ngOnChanges(changes) {
|
|
82
88
|
if (!this.service) {
|
|
@@ -268,21 +274,22 @@ export class ColumnListComponent {
|
|
|
268
274
|
<div [ngClass]="actionsClass" *ngIf="!autoSync">
|
|
269
275
|
<button
|
|
270
276
|
#applyButton
|
|
277
|
+
kendoButton
|
|
271
278
|
type="button"
|
|
272
|
-
|
|
279
|
+
themeColor="primary"
|
|
273
280
|
(click)="applyChanges()"
|
|
274
281
|
(keydown.enter)="$event.preventDefault(); $event.stopPropagation(); applyChanges();"
|
|
275
282
|
(keydown.space)="$event.preventDefault(); $event.stopPropagation(); applyChanges();">{{ applyText }}</button>
|
|
276
283
|
<button
|
|
277
284
|
#resetButton
|
|
285
|
+
kendoButton
|
|
278
286
|
type="button"
|
|
279
287
|
(keydown.tab)="onTab($event)"
|
|
280
|
-
class="k-button k-button-solid-base k-button-solid k-button-md k-rounded-md k-button-rectangle"
|
|
281
288
|
(click)="cancelChanges()"
|
|
282
289
|
(keydown.enter)="$event.preventDefault(); $event.stopPropagation(); cancelChanges();"
|
|
283
290
|
(keydown.space)="$event.preventDefault(); $event.stopPropagation(); cancelChanges();">{{ resetText }}</button>
|
|
284
291
|
</div>
|
|
285
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: ColumnMenuChooserItemCheckedDirective, selector: "[kendoColumnMenuChooserItemChecked]", inputs: ["kendoColumnMenuChooserItemChecked"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: CheckBoxComponent, selector: "kendo-checkbox", inputs: ["checkedState", "rounded"], outputs: ["checkedStateChange"], exportAs: ["kendoCheckBox"] }] });
|
|
292
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: ColumnMenuChooserItemCheckedDirective, selector: "[kendoColumnMenuChooserItemChecked]", inputs: ["kendoColumnMenuChooserItemChecked"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: CheckBoxComponent, selector: "kendo-checkbox", inputs: ["checkedState", "rounded"], outputs: ["checkedStateChange"], exportAs: ["kendoCheckBox"] }, { kind: "component", type: ButtonDirective, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
286
293
|
}
|
|
287
294
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnListComponent, decorators: [{
|
|
288
295
|
type: Component,
|
|
@@ -312,23 +319,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
312
319
|
<div [ngClass]="actionsClass" *ngIf="!autoSync">
|
|
313
320
|
<button
|
|
314
321
|
#applyButton
|
|
322
|
+
kendoButton
|
|
315
323
|
type="button"
|
|
316
|
-
|
|
324
|
+
themeColor="primary"
|
|
317
325
|
(click)="applyChanges()"
|
|
318
326
|
(keydown.enter)="$event.preventDefault(); $event.stopPropagation(); applyChanges();"
|
|
319
327
|
(keydown.space)="$event.preventDefault(); $event.stopPropagation(); applyChanges();">{{ applyText }}</button>
|
|
320
328
|
<button
|
|
321
329
|
#resetButton
|
|
330
|
+
kendoButton
|
|
322
331
|
type="button"
|
|
323
332
|
(keydown.tab)="onTab($event)"
|
|
324
|
-
class="k-button k-button-solid-base k-button-solid k-button-md k-rounded-md k-button-rectangle"
|
|
325
333
|
(click)="cancelChanges()"
|
|
326
334
|
(keydown.enter)="$event.preventDefault(); $event.stopPropagation(); cancelChanges();"
|
|
327
335
|
(keydown.space)="$event.preventDefault(); $event.stopPropagation(); cancelChanges();">{{ resetText }}</button>
|
|
328
336
|
</div>
|
|
329
337
|
`,
|
|
330
338
|
standalone: true,
|
|
331
|
-
imports: [NgFor, ColumnMenuChooserItemCheckedDirective, NgIf, NgClass, CheckBoxComponent]
|
|
339
|
+
imports: [NgFor, ColumnMenuChooserItemCheckedDirective, NgIf, NgClass, CheckBoxComponent, ButtonDirective]
|
|
332
340
|
}]
|
|
333
341
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i1.ColumnListKeyboardNavigation }]; }, propDecorators: { className: [{
|
|
334
342
|
type: HostBinding,
|
package/esm2022/directives.mjs
CHANGED
|
@@ -73,6 +73,7 @@ import { FilterRowComponent } from "./filtering/filter-row.component";
|
|
|
73
73
|
// COLUMN MENU
|
|
74
74
|
import { ColumnMenuChooserItemCheckedDirective } from "./column-menu/column-chooser-item-checked.directive";
|
|
75
75
|
import { ColumnChooserComponent } from "./column-menu/column-chooser.component";
|
|
76
|
+
import { ColumnChooserToolbarDirective } from "./column-menu/column-chooser-tool.directive";
|
|
76
77
|
import { ColumnListComponent } from "./column-menu/column-list.component";
|
|
77
78
|
import { ColumnMenuAutoSizeAllColumnsComponent } from "./column-menu/column-menu-autosize-all.component";
|
|
78
79
|
import { ColumnMenuAutoSizeColumnComponent } from "./column-menu/column-menu-autosize.component";
|
|
@@ -290,6 +291,7 @@ export const KENDO_GRID_COLUMN_MENU_DECLARATIONS = [
|
|
|
290
291
|
ColumnMenuChooserItemCheckedDirective,
|
|
291
292
|
ColumnListComponent,
|
|
292
293
|
ColumnChooserComponent,
|
|
294
|
+
ColumnChooserToolbarDirective,
|
|
293
295
|
ColumnMenuChooserComponent,
|
|
294
296
|
ColumnMenuFilterComponent,
|
|
295
297
|
ColumnMenuItemComponent,
|
|
@@ -312,6 +314,7 @@ export const KENDO_GRID_COLUMN_MENU_DECLARATIONS = [
|
|
|
312
314
|
*/
|
|
313
315
|
export const KENDO_GRID_COLUMN_MENU_EXPORTS = [
|
|
314
316
|
ColumnChooserComponent,
|
|
317
|
+
ColumnChooserToolbarDirective,
|
|
315
318
|
ColumnMenuFilterComponent,
|
|
316
319
|
ColumnMenuItemComponent,
|
|
317
320
|
ColumnMenuItemContentTemplateDirective,
|
|
@@ -2391,7 +2391,7 @@ export class GridComponent {
|
|
|
2391
2391
|
i18n-columnMenu="kendo.grid.columnMenu|The title of the column menu icon"
|
|
2392
2392
|
columnMenu="{{ '{columnName} Column Menu' }}"
|
|
2393
2393
|
|
|
2394
|
-
i18n-columns="kendo.grid.columns|The text
|
|
2394
|
+
i18n-columns="kendo.grid.columns|The text for the Grid Column Chooser and Column Chooser toolbar tool"
|
|
2395
2395
|
columns="Columns"
|
|
2396
2396
|
|
|
2397
2397
|
i18n-lock="kendo.grid.lock|The text shown in the column menu for the lock item"
|
|
@@ -3133,7 +3133,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
3133
3133
|
i18n-columnMenu="kendo.grid.columnMenu|The title of the column menu icon"
|
|
3134
3134
|
columnMenu="{{ '{columnName} Column Menu' }}"
|
|
3135
3135
|
|
|
3136
|
-
i18n-columns="kendo.grid.columns|The text
|
|
3136
|
+
i18n-columns="kendo.grid.columns|The text for the Grid Column Chooser and Column Chooser toolbar tool"
|
|
3137
3137
|
columns="Columns"
|
|
3138
3138
|
|
|
3139
3139
|
i18n-lock="kendo.grid.lock|The text shown in the column menu for the lock item"
|
package/esm2022/grid.module.mjs
CHANGED
|
@@ -105,44 +105,45 @@ import * as i89 from "./filtering/menu/filter-radio-button.directive";
|
|
|
105
105
|
import * as i90 from "./column-menu/column-chooser-item-checked.directive";
|
|
106
106
|
import * as i91 from "./column-menu/column-list.component";
|
|
107
107
|
import * as i92 from "./column-menu/column-chooser.component";
|
|
108
|
-
import * as i93 from "./column-menu/column-
|
|
109
|
-
import * as i94 from "./column-menu/column-menu-
|
|
110
|
-
import * as i95 from "./column-menu/column-menu-
|
|
111
|
-
import * as i96 from "./column-menu/column-menu-item
|
|
112
|
-
import * as i97 from "./column-menu/column-menu-
|
|
113
|
-
import * as i98 from "./column-menu/column-menu.component";
|
|
114
|
-
import * as i99 from "./column-menu/column-menu
|
|
115
|
-
import * as i100 from "./column-menu/column-menu-
|
|
116
|
-
import * as i101 from "./column-menu/column-menu-
|
|
117
|
-
import * as i102 from "./column-menu/column-menu-
|
|
118
|
-
import * as i103 from "./column-menu/column-menu-
|
|
119
|
-
import * as i104 from "./column-menu/column-menu-
|
|
120
|
-
import * as i105 from "./column-menu/column-menu-
|
|
121
|
-
import * as i106 from "./column-menu/column-menu-autosize
|
|
122
|
-
import * as i107 from "./
|
|
123
|
-
import * as i108 from "./
|
|
124
|
-
import * as i109 from "./rendering/
|
|
125
|
-
import * as i110 from "./
|
|
126
|
-
import * as i111 from "./localization/
|
|
127
|
-
import * as i112 from "./
|
|
128
|
-
import * as i113 from "./
|
|
129
|
-
import * as i114 from "./
|
|
130
|
-
import * as i115 from "./
|
|
131
|
-
import * as i116 from "./editing-directives/
|
|
132
|
-
import * as i117 from "./editing-directives/
|
|
133
|
-
import * as i118 from "./editing-directives/
|
|
134
|
-
import * as i119 from "./
|
|
135
|
-
import * as i120 from "./rendering/
|
|
136
|
-
import * as i121 from "./
|
|
137
|
-
import * as i122 from "./
|
|
138
|
-
import * as i123 from "./
|
|
139
|
-
import * as i124 from "./rendering/
|
|
140
|
-
import * as i125 from "./
|
|
141
|
-
import * as i126 from "./aggregates/status-bar
|
|
142
|
-
import * as i127 from "./
|
|
143
|
-
import * as i128 from "./
|
|
144
|
-
import * as i129 from "./editing/form/
|
|
145
|
-
import * as i130 from "./editing/form/form
|
|
108
|
+
import * as i93 from "./column-menu/column-chooser-tool.directive";
|
|
109
|
+
import * as i94 from "./column-menu/column-menu-chooser.component";
|
|
110
|
+
import * as i95 from "./column-menu/column-menu-filter.component";
|
|
111
|
+
import * as i96 from "./column-menu/column-menu-item.component";
|
|
112
|
+
import * as i97 from "./column-menu/column-menu-item-content-template.directive";
|
|
113
|
+
import * as i98 from "./column-menu/column-menu-sort.component";
|
|
114
|
+
import * as i99 from "./column-menu/column-menu.component";
|
|
115
|
+
import * as i100 from "./column-menu/column-menu-lock.component";
|
|
116
|
+
import * as i101 from "./column-menu/column-menu-template.directive";
|
|
117
|
+
import * as i102 from "./column-menu/column-menu-container.component";
|
|
118
|
+
import * as i103 from "./column-menu/column-menu-item.directive";
|
|
119
|
+
import * as i104 from "./column-menu/column-menu-stick.component";
|
|
120
|
+
import * as i105 from "./column-menu/column-menu-position.component";
|
|
121
|
+
import * as i106 from "./column-menu/column-menu-autosize.component";
|
|
122
|
+
import * as i107 from "./column-menu/column-menu-autosize-all.component";
|
|
123
|
+
import * as i108 from "./grid.component";
|
|
124
|
+
import * as i109 from "./rendering/list.component";
|
|
125
|
+
import * as i110 from "./rendering/toolbar/toolbar.component";
|
|
126
|
+
import * as i111 from "./localization/localized-messages.directive";
|
|
127
|
+
import * as i112 from "./localization/custom-messages.component";
|
|
128
|
+
import * as i113 from "./databinding.directive";
|
|
129
|
+
import * as i114 from "./rendering/toolbar/toolbar-template.directive";
|
|
130
|
+
import * as i115 from "./selection/selection.directive";
|
|
131
|
+
import * as i116 from "./editing-directives/template-editing.directive";
|
|
132
|
+
import * as i117 from "./editing-directives/reactive-editing.directive";
|
|
133
|
+
import * as i118 from "./editing-directives/in-cell-editing.directive";
|
|
134
|
+
import * as i119 from "./editing-directives/external-editing.directive";
|
|
135
|
+
import * as i120 from "./rendering/details-expand.directive";
|
|
136
|
+
import * as i121 from "./rendering/groups-expand.directive";
|
|
137
|
+
import * as i122 from "./grouping/group-scroll-binding.directive";
|
|
138
|
+
import * as i123 from "./selection/marquee.directive";
|
|
139
|
+
import * as i124 from "./rendering/common/spacer.component";
|
|
140
|
+
import * as i125 from "./rendering/toolbar/toolbar-focusable.directive";
|
|
141
|
+
import * as i126 from "./aggregates/status-bar.component";
|
|
142
|
+
import * as i127 from "./aggregates/status-bar-template.directive";
|
|
143
|
+
import * as i128 from "./common/clipboard.directive";
|
|
144
|
+
import * as i129 from "./editing/form/form.component";
|
|
145
|
+
import * as i130 from "./editing/form/dialog-form.component";
|
|
146
|
+
import * as i131 from "./editing/form/form-formfield.component";
|
|
146
147
|
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
147
148
|
/**
|
|
148
149
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
@@ -167,7 +168,7 @@ import * as i130 from "./editing/form/form-formfield.component";
|
|
|
167
168
|
*/
|
|
168
169
|
export class GridModule {
|
|
169
170
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GridModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
170
|
-
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.CellLoadingTemplateDirective, i37.LoadingTemplateDirective, i38.RowReorderColumnComponent, i39.HeaderComponent, i40.HeaderTemplateDirective, i41.ColumnHandleDirective, i42.SelectAllCheckboxDirective, i43.FooterComponent, i44.CustomMessagesComponent, i44.PagerFocusableDirective, i44.PagerInfoComponent, i44.PagerInputComponent, i44.PagerNextButtonsComponent, i44.PagerNumericButtonsComponent, i44.PagerPageSizesComponent, i44.PagerPrevButtonsComponent, i44.PagerTemplateDirective, i44.PagerComponent, i44.PagerSpacerComponent, i45.ToolBarComponent, i45.ToolbarCustomMessagesComponent, i45.ToolBarButtonComponent, i45.ToolBarButtonGroupComponent, i45.ToolBarDropDownButtonComponent, i45.ToolBarSeparatorComponent, i45.ToolBarSpacerComponent, i45.ToolBarSplitButtonComponent, i45.ToolBarToolComponent, i46.FilterRowComponent, i47.FilterCellComponent, i48.FilterCellTemplateDirective, i49.StringFilterCellComponent, i50.NumericFilterCellComponent, i51.AutoCompleteFilterCellComponent, i52.BooleanFilterCellComponent, i53.FilterCellHostDirective, i54.FilterCellWrapperComponent, i55.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, i56.FilterCellOperatorsComponent, i57.ContainsFilterOperatorComponent, i58.DoesNotContainFilterOperatorComponent, i59.EndsWithFilterOperatorComponent, i60.EqualFilterOperatorComponent, i61.IsEmptyFilterOperatorComponent, i62.IsNotEmptyFilterOperatorComponent, i63.IsNotNullFilterOperatorComponent, i64.IsNullFilterOperatorComponent, i65.NotEqualFilterOperatorComponent, i66.StartsWithFilterOperatorComponent, i67.GreaterFilterOperatorComponent, i68.GreaterOrEqualToFilterOperatorComponent, i69.LessFilterOperatorComponent, i70.LessOrEqualToFilterOperatorComponent, i71.AfterFilterOperatorComponent, i72.AfterEqFilterOperatorComponent, i73.BeforeEqFilterOperatorComponent, i74.BeforeFilterOperatorComponent, i75.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, i56.FilterCellOperatorsComponent, i57.ContainsFilterOperatorComponent, i58.DoesNotContainFilterOperatorComponent, i59.EndsWithFilterOperatorComponent, i60.EqualFilterOperatorComponent, i61.IsEmptyFilterOperatorComponent, i62.IsNotEmptyFilterOperatorComponent, i63.IsNotNullFilterOperatorComponent, i64.IsNullFilterOperatorComponent, i65.NotEqualFilterOperatorComponent, i66.StartsWithFilterOperatorComponent, i67.GreaterFilterOperatorComponent, i68.GreaterOrEqualToFilterOperatorComponent, i69.LessFilterOperatorComponent, i70.LessOrEqualToFilterOperatorComponent, i71.AfterFilterOperatorComponent, i72.AfterEqFilterOperatorComponent, i73.BeforeEqFilterOperatorComponent, i74.BeforeFilterOperatorComponent, i75.FilterInputDirective, i76.FilterMenuComponent, i77.FilterMenuContainerComponent, i78.FilterMenuInputWrapperComponent, i79.StringFilterMenuInputComponent, i80.StringFilterMenuComponent, i81.FilterMenuTemplateDirective, i82.NumericFilterMenuComponent, i83.NumericFilterMenuInputComponent, i84.DateFilterMenuInputComponent, i85.DateFilterMenuComponent, i86.FilterMenuHostDirective, i87.BooleanFilterMenuComponent, i88.FilterMenuDropDownListDirective, i89.BooleanFilterRadioButtonDirective, i90.ColumnMenuChooserItemCheckedDirective, i91.ColumnListComponent, i92.ColumnChooserComponent, i93.ColumnMenuChooserComponent, i94.ColumnMenuFilterComponent, i95.ColumnMenuItemComponent, i96.ColumnMenuItemContentTemplateDirective, i97.ColumnMenuSortComponent, i98.ColumnMenuComponent, i99.ColumnMenuLockComponent, i100.ColumnMenuTemplateDirective, i101.ColumnMenuContainerComponent, i102.ColumnMenuItemDirective, i103.ColumnMenuStickComponent, i104.ColumnMenuPositionComponent, i105.ColumnMenuAutoSizeColumnComponent, i106.ColumnMenuAutoSizeAllColumnsComponent, i107.GridComponent, i108.ListComponent, i109.ToolbarComponent, i110.LocalizedMessagesDirective, i111.CustomMessagesComponent, i112.DataBindingDirective, i113.ToolbarTemplateDirective, i114.SelectionDirective, i115.TemplateEditingDirective, i116.ReactiveEditingDirective, i117.InCellEditingDirective, i118.ExternalEditingDirective, i119.ExpandDetailsDirective, i120.ExpandGroupDirective, i121.GroupBindingDirective, i122.GridMarqueeDirective, i123.GridSpacerComponent, i124.GridToolbarFocusableDirective, i125.StatusBarComponent, i126.StatusBarTemplateDirective, i127.GridClipboardDirective, i128.FormComponent, i129.DialogFormComponent, i130.FormFormFieldComponent, i45.ToolBarComponent, i45.ToolbarCustomMessagesComponent, i45.ToolBarButtonComponent, i45.ToolBarButtonGroupComponent, i45.ToolBarDropDownButtonComponent, i45.ToolBarSeparatorComponent, i45.ToolBarSpacerComponent, i45.ToolBarSplitButtonComponent, i45.ToolBarToolComponent, TableDirective], exports: [i107.GridComponent, i113.ToolbarTemplateDirective, i109.ToolbarComponent, i123.GridSpacerComponent, i126.StatusBarTemplateDirective, i112.DataBindingDirective, i114.SelectionDirective, i111.CustomMessagesComponent, i121.GroupBindingDirective, i115.TemplateEditingDirective, i116.ReactiveEditingDirective, i117.InCellEditingDirective, i118.ExternalEditingDirective, i119.ExpandDetailsDirective, i120.ExpandGroupDirective, i124.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.CellLoadingTemplateDirective, i37.LoadingTemplateDirective, i38.RowReorderColumnComponent, i39.HeaderComponent, i40.HeaderTemplateDirective, i41.ColumnHandleDirective, i42.SelectAllCheckboxDirective, i46.FilterRowComponent, i47.FilterCellComponent, i48.FilterCellTemplateDirective, i49.StringFilterCellComponent, i50.NumericFilterCellComponent, i51.AutoCompleteFilterCellComponent, i52.BooleanFilterCellComponent, i53.FilterCellHostDirective, i54.FilterCellWrapperComponent, i55.DateFilterCellComponent, i56.FilterCellOperatorsComponent, i57.ContainsFilterOperatorComponent, i58.DoesNotContainFilterOperatorComponent, i59.EndsWithFilterOperatorComponent, i60.EqualFilterOperatorComponent, i61.IsEmptyFilterOperatorComponent, i62.IsNotEmptyFilterOperatorComponent, i63.IsNotNullFilterOperatorComponent, i64.IsNullFilterOperatorComponent, i65.NotEqualFilterOperatorComponent, i66.StartsWithFilterOperatorComponent, i67.GreaterFilterOperatorComponent, i68.GreaterOrEqualToFilterOperatorComponent, i69.LessFilterOperatorComponent, i70.LessOrEqualToFilterOperatorComponent, i71.AfterFilterOperatorComponent, i72.AfterEqFilterOperatorComponent, i73.BeforeEqFilterOperatorComponent, i74.BeforeFilterOperatorComponent, i76.FilterMenuComponent, i77.FilterMenuContainerComponent, i78.FilterMenuInputWrapperComponent, i79.StringFilterMenuInputComponent, i80.StringFilterMenuComponent, i81.FilterMenuTemplateDirective, i82.NumericFilterMenuComponent, i83.NumericFilterMenuInputComponent, i84.DateFilterMenuInputComponent, i85.DateFilterMenuComponent, i86.FilterMenuHostDirective, i87.BooleanFilterMenuComponent, i88.FilterMenuDropDownListDirective, i89.BooleanFilterRadioButtonDirective, i92.ColumnChooserComponent, i94.ColumnMenuFilterComponent, i95.ColumnMenuItemComponent, i96.ColumnMenuItemContentTemplateDirective, i97.ColumnMenuSortComponent, i99.ColumnMenuLockComponent, i103.ColumnMenuStickComponent, i104.ColumnMenuPositionComponent, i93.ColumnMenuChooserComponent, i100.ColumnMenuTemplateDirective, i101.ColumnMenuContainerComponent, i102.ColumnMenuItemDirective, i98.ColumnMenuComponent, i105.ColumnMenuAutoSizeColumnComponent, i106.ColumnMenuAutoSizeAllColumnsComponent, i127.GridClipboardDirective, i45.ToolBarComponent, i45.ToolbarCustomMessagesComponent, i45.ToolBarButtonComponent, i45.ToolBarButtonGroupComponent, i45.ToolBarDropDownButtonComponent, i45.ToolBarSeparatorComponent, i45.ToolBarSpacerComponent, i45.ToolBarSplitButtonComponent, i45.ToolBarToolComponent, i44.CustomMessagesComponent, i44.PagerFocusableDirective, i44.PagerInfoComponent, i44.PagerInputComponent, i44.PagerNextButtonsComponent, i44.PagerNumericButtonsComponent, i44.PagerPageSizesComponent, i44.PagerPrevButtonsComponent, i44.PagerTemplateDirective, i44.PagerComponent, i44.PagerSpacerComponent] });
|
|
171
|
+
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.CellLoadingTemplateDirective, i37.LoadingTemplateDirective, i38.RowReorderColumnComponent, i39.HeaderComponent, i40.HeaderTemplateDirective, i41.ColumnHandleDirective, i42.SelectAllCheckboxDirective, i43.FooterComponent, i44.CustomMessagesComponent, i44.PagerFocusableDirective, i44.PagerInfoComponent, i44.PagerInputComponent, i44.PagerNextButtonsComponent, i44.PagerNumericButtonsComponent, i44.PagerPageSizesComponent, i44.PagerPrevButtonsComponent, i44.PagerTemplateDirective, i44.PagerComponent, i44.PagerSpacerComponent, i45.ToolBarComponent, i45.ToolbarCustomMessagesComponent, i45.ToolBarButtonComponent, i45.ToolBarButtonGroupComponent, i45.ToolBarDropDownButtonComponent, i45.ToolBarSeparatorComponent, i45.ToolBarSpacerComponent, i45.ToolBarSplitButtonComponent, i45.ToolBarToolComponent, i46.FilterRowComponent, i47.FilterCellComponent, i48.FilterCellTemplateDirective, i49.StringFilterCellComponent, i50.NumericFilterCellComponent, i51.AutoCompleteFilterCellComponent, i52.BooleanFilterCellComponent, i53.FilterCellHostDirective, i54.FilterCellWrapperComponent, i55.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, i56.FilterCellOperatorsComponent, i57.ContainsFilterOperatorComponent, i58.DoesNotContainFilterOperatorComponent, i59.EndsWithFilterOperatorComponent, i60.EqualFilterOperatorComponent, i61.IsEmptyFilterOperatorComponent, i62.IsNotEmptyFilterOperatorComponent, i63.IsNotNullFilterOperatorComponent, i64.IsNullFilterOperatorComponent, i65.NotEqualFilterOperatorComponent, i66.StartsWithFilterOperatorComponent, i67.GreaterFilterOperatorComponent, i68.GreaterOrEqualToFilterOperatorComponent, i69.LessFilterOperatorComponent, i70.LessOrEqualToFilterOperatorComponent, i71.AfterFilterOperatorComponent, i72.AfterEqFilterOperatorComponent, i73.BeforeEqFilterOperatorComponent, i74.BeforeFilterOperatorComponent, i75.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, i56.FilterCellOperatorsComponent, i57.ContainsFilterOperatorComponent, i58.DoesNotContainFilterOperatorComponent, i59.EndsWithFilterOperatorComponent, i60.EqualFilterOperatorComponent, i61.IsEmptyFilterOperatorComponent, i62.IsNotEmptyFilterOperatorComponent, i63.IsNotNullFilterOperatorComponent, i64.IsNullFilterOperatorComponent, i65.NotEqualFilterOperatorComponent, i66.StartsWithFilterOperatorComponent, i67.GreaterFilterOperatorComponent, i68.GreaterOrEqualToFilterOperatorComponent, i69.LessFilterOperatorComponent, i70.LessOrEqualToFilterOperatorComponent, i71.AfterFilterOperatorComponent, i72.AfterEqFilterOperatorComponent, i73.BeforeEqFilterOperatorComponent, i74.BeforeFilterOperatorComponent, i75.FilterInputDirective, i76.FilterMenuComponent, i77.FilterMenuContainerComponent, i78.FilterMenuInputWrapperComponent, i79.StringFilterMenuInputComponent, i80.StringFilterMenuComponent, i81.FilterMenuTemplateDirective, i82.NumericFilterMenuComponent, i83.NumericFilterMenuInputComponent, i84.DateFilterMenuInputComponent, i85.DateFilterMenuComponent, i86.FilterMenuHostDirective, i87.BooleanFilterMenuComponent, i88.FilterMenuDropDownListDirective, i89.BooleanFilterRadioButtonDirective, i90.ColumnMenuChooserItemCheckedDirective, i91.ColumnListComponent, i92.ColumnChooserComponent, i93.ColumnChooserToolbarDirective, i94.ColumnMenuChooserComponent, i95.ColumnMenuFilterComponent, i96.ColumnMenuItemComponent, i97.ColumnMenuItemContentTemplateDirective, i98.ColumnMenuSortComponent, i99.ColumnMenuComponent, i100.ColumnMenuLockComponent, i101.ColumnMenuTemplateDirective, i102.ColumnMenuContainerComponent, i103.ColumnMenuItemDirective, i104.ColumnMenuStickComponent, i105.ColumnMenuPositionComponent, i106.ColumnMenuAutoSizeColumnComponent, i107.ColumnMenuAutoSizeAllColumnsComponent, i108.GridComponent, i109.ListComponent, i110.ToolbarComponent, i111.LocalizedMessagesDirective, i112.CustomMessagesComponent, i113.DataBindingDirective, i114.ToolbarTemplateDirective, i115.SelectionDirective, i116.TemplateEditingDirective, i117.ReactiveEditingDirective, i118.InCellEditingDirective, i119.ExternalEditingDirective, i120.ExpandDetailsDirective, i121.ExpandGroupDirective, i122.GroupBindingDirective, i123.GridMarqueeDirective, i124.GridSpacerComponent, i125.GridToolbarFocusableDirective, i126.StatusBarComponent, i127.StatusBarTemplateDirective, i128.GridClipboardDirective, i129.FormComponent, i130.DialogFormComponent, i131.FormFormFieldComponent, i45.ToolBarComponent, i45.ToolbarCustomMessagesComponent, i45.ToolBarButtonComponent, i45.ToolBarButtonGroupComponent, i45.ToolBarDropDownButtonComponent, i45.ToolBarSeparatorComponent, i45.ToolBarSpacerComponent, i45.ToolBarSplitButtonComponent, i45.ToolBarToolComponent, TableDirective], exports: [i108.GridComponent, i114.ToolbarTemplateDirective, i110.ToolbarComponent, i124.GridSpacerComponent, i127.StatusBarTemplateDirective, i113.DataBindingDirective, i115.SelectionDirective, i112.CustomMessagesComponent, i122.GroupBindingDirective, i116.TemplateEditingDirective, i117.ReactiveEditingDirective, i118.InCellEditingDirective, i119.ExternalEditingDirective, i120.ExpandDetailsDirective, i121.ExpandGroupDirective, i125.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.CellLoadingTemplateDirective, i37.LoadingTemplateDirective, i38.RowReorderColumnComponent, i39.HeaderComponent, i40.HeaderTemplateDirective, i41.ColumnHandleDirective, i42.SelectAllCheckboxDirective, i46.FilterRowComponent, i47.FilterCellComponent, i48.FilterCellTemplateDirective, i49.StringFilterCellComponent, i50.NumericFilterCellComponent, i51.AutoCompleteFilterCellComponent, i52.BooleanFilterCellComponent, i53.FilterCellHostDirective, i54.FilterCellWrapperComponent, i55.DateFilterCellComponent, i56.FilterCellOperatorsComponent, i57.ContainsFilterOperatorComponent, i58.DoesNotContainFilterOperatorComponent, i59.EndsWithFilterOperatorComponent, i60.EqualFilterOperatorComponent, i61.IsEmptyFilterOperatorComponent, i62.IsNotEmptyFilterOperatorComponent, i63.IsNotNullFilterOperatorComponent, i64.IsNullFilterOperatorComponent, i65.NotEqualFilterOperatorComponent, i66.StartsWithFilterOperatorComponent, i67.GreaterFilterOperatorComponent, i68.GreaterOrEqualToFilterOperatorComponent, i69.LessFilterOperatorComponent, i70.LessOrEqualToFilterOperatorComponent, i71.AfterFilterOperatorComponent, i72.AfterEqFilterOperatorComponent, i73.BeforeEqFilterOperatorComponent, i74.BeforeFilterOperatorComponent, i76.FilterMenuComponent, i77.FilterMenuContainerComponent, i78.FilterMenuInputWrapperComponent, i79.StringFilterMenuInputComponent, i80.StringFilterMenuComponent, i81.FilterMenuTemplateDirective, i82.NumericFilterMenuComponent, i83.NumericFilterMenuInputComponent, i84.DateFilterMenuInputComponent, i85.DateFilterMenuComponent, i86.FilterMenuHostDirective, i87.BooleanFilterMenuComponent, i88.FilterMenuDropDownListDirective, i89.BooleanFilterRadioButtonDirective, i92.ColumnChooserComponent, i93.ColumnChooserToolbarDirective, i95.ColumnMenuFilterComponent, i96.ColumnMenuItemComponent, i97.ColumnMenuItemContentTemplateDirective, i98.ColumnMenuSortComponent, i100.ColumnMenuLockComponent, i104.ColumnMenuStickComponent, i105.ColumnMenuPositionComponent, i94.ColumnMenuChooserComponent, i101.ColumnMenuTemplateDirective, i102.ColumnMenuContainerComponent, i103.ColumnMenuItemDirective, i99.ColumnMenuComponent, i106.ColumnMenuAutoSizeColumnComponent, i107.ColumnMenuAutoSizeAllColumnsComponent, i128.GridClipboardDirective, i45.ToolBarComponent, i45.ToolbarCustomMessagesComponent, i45.ToolBarButtonComponent, i45.ToolBarButtonGroupComponent, i45.ToolBarDropDownButtonComponent, i45.ToolBarSeparatorComponent, i45.ToolBarSpacerComponent, i45.ToolBarSplitButtonComponent, i45.ToolBarToolComponent, i44.CustomMessagesComponent, i44.PagerFocusableDirective, i44.PagerInfoComponent, i44.PagerInputComponent, i44.PagerNextButtonsComponent, i44.PagerNumericButtonsComponent, i44.PagerPageSizesComponent, i44.PagerPrevButtonsComponent, i44.PagerTemplateDirective, i44.PagerComponent, i44.PagerSpacerComponent] });
|
|
171
172
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GridModule, providers: [
|
|
172
173
|
PopupService,
|
|
173
174
|
ResizeBatchService,
|
|
@@ -182,7 +183,7 @@ export class GridModule {
|
|
|
182
183
|
MonthViewService,
|
|
183
184
|
YearViewService,
|
|
184
185
|
NavigationService
|
|
185
|
-
], imports: [i4.GroupHeaderComponent, i5.GroupPanelComponent, i27.TableBodyComponent, i29.CellComponent, i30.EditCommandDirective, i31.CancelCommandDirective, i32.SaveCommandDirective, i33.RemoveCommandDirective, i34.AddCommandDirective, i39.HeaderComponent, i44.CustomMessagesComponent, i44.PagerInfoComponent, i44.PagerInputComponent, i44.PagerNextButtonsComponent, i44.PagerNumericButtonsComponent, i44.PagerPageSizesComponent, i44.PagerPrevButtonsComponent, i44.PagerComponent, i44.PagerSpacerComponent, i45.ToolBarComponent, i45.ToolbarCustomMessagesComponent, i45.ToolBarButtonComponent, i45.ToolBarButtonGroupComponent, i45.ToolBarDropDownButtonComponent, i45.ToolBarSeparatorComponent, i45.ToolBarSpacerComponent, i45.ToolBarSplitButtonComponent, i49.StringFilterCellComponent, i50.NumericFilterCellComponent, i51.AutoCompleteFilterCellComponent, i52.BooleanFilterCellComponent, i54.FilterCellWrapperComponent, i55.DateFilterCellComponent, i56.FilterCellOperatorsComponent, i56.FilterCellOperatorsComponent, i76.FilterMenuComponent, i77.FilterMenuContainerComponent, i78.FilterMenuInputWrapperComponent, i79.StringFilterMenuInputComponent, i80.StringFilterMenuComponent, i82.NumericFilterMenuComponent, i83.NumericFilterMenuInputComponent, i84.DateFilterMenuInputComponent, i85.DateFilterMenuComponent, i87.BooleanFilterMenuComponent, i91.ColumnListComponent, i92.ColumnChooserComponent,
|
|
186
|
+
], imports: [i4.GroupHeaderComponent, i5.GroupPanelComponent, i27.TableBodyComponent, i29.CellComponent, i30.EditCommandDirective, i31.CancelCommandDirective, i32.SaveCommandDirective, i33.RemoveCommandDirective, i34.AddCommandDirective, i39.HeaderComponent, i44.CustomMessagesComponent, i44.PagerInfoComponent, i44.PagerInputComponent, i44.PagerNextButtonsComponent, i44.PagerNumericButtonsComponent, i44.PagerPageSizesComponent, i44.PagerPrevButtonsComponent, i44.PagerComponent, i44.PagerSpacerComponent, i45.ToolBarComponent, i45.ToolbarCustomMessagesComponent, i45.ToolBarButtonComponent, i45.ToolBarButtonGroupComponent, i45.ToolBarDropDownButtonComponent, i45.ToolBarSeparatorComponent, i45.ToolBarSpacerComponent, i45.ToolBarSplitButtonComponent, i49.StringFilterCellComponent, i50.NumericFilterCellComponent, i51.AutoCompleteFilterCellComponent, i52.BooleanFilterCellComponent, i54.FilterCellWrapperComponent, i55.DateFilterCellComponent, i56.FilterCellOperatorsComponent, i56.FilterCellOperatorsComponent, i76.FilterMenuComponent, i77.FilterMenuContainerComponent, i78.FilterMenuInputWrapperComponent, i79.StringFilterMenuInputComponent, i80.StringFilterMenuComponent, i82.NumericFilterMenuComponent, i83.NumericFilterMenuInputComponent, i84.DateFilterMenuInputComponent, i85.DateFilterMenuComponent, i87.BooleanFilterMenuComponent, i91.ColumnListComponent, i92.ColumnChooserComponent, i94.ColumnMenuChooserComponent, i95.ColumnMenuFilterComponent, i96.ColumnMenuItemComponent, i98.ColumnMenuSortComponent, i99.ColumnMenuComponent, i100.ColumnMenuLockComponent, i104.ColumnMenuStickComponent, i105.ColumnMenuPositionComponent, i106.ColumnMenuAutoSizeColumnComponent, i107.ColumnMenuAutoSizeAllColumnsComponent, i108.GridComponent, i109.ListComponent, i129.FormComponent, i130.DialogFormComponent, i131.FormFormFieldComponent, i45.ToolBarComponent, i45.ToolbarCustomMessagesComponent, i45.ToolBarButtonComponent, i45.ToolBarButtonGroupComponent, i45.ToolBarDropDownButtonComponent, i45.ToolBarSeparatorComponent, i45.ToolBarSpacerComponent, i45.ToolBarSplitButtonComponent] });
|
|
186
187
|
}
|
|
187
188
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GridModule, decorators: [{
|
|
188
189
|
type: NgModule,
|
package/esm2022/index.mjs
CHANGED
|
@@ -40,6 +40,7 @@ export { RowReorderService } from './row-reordering/row-reorder.service';
|
|
|
40
40
|
export { DragAndDropService } from './dragdrop/drag-and-drop.service';
|
|
41
41
|
export { DragHintService } from './dragdrop/drag-hint.service';
|
|
42
42
|
export { DropCueService } from './dragdrop/drop-cue.service';
|
|
43
|
+
export { EditService as EditServiceClass } from './editing/edit.service';
|
|
43
44
|
export { NumericFilterComponent } from './filtering/numeric-filter.component';
|
|
44
45
|
export { StringFilterComponent } from './filtering/string-filter.component';
|
|
45
46
|
export { GroupInfoService } from './grouping/group-info.service';
|
|
@@ -152,6 +153,7 @@ export { SaveCommandDirective } from './editing/save-command.directive';
|
|
|
152
153
|
export { RemoveCommandDirective } from './editing/remove-command.directive';
|
|
153
154
|
export { AddCommandDirective } from './editing/add-command.directive';
|
|
154
155
|
export { AddCommandToolbarDirective } from './editing/add-command-tool.directive';
|
|
156
|
+
export { ColumnChooserToolbarDirective } from './column-menu/column-chooser-tool.directive';
|
|
155
157
|
export { EditingDirectiveBase } from './editing-directives/editing-directive-base';
|
|
156
158
|
export { RowEditingDirectiveBase } from './editing-directives/row-editing-directive-base';
|
|
157
159
|
export { CellComponent } from './rendering/cell.component';
|