@progress/kendo-angular-grid 19.0.0-develop.9 → 19.0.1-develop.1
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/adaptiveness/adaptive-mode.d.ts +12 -0
- package/adaptiveness/adaptive-renderer.component.d.ts +89 -0
- package/codemods/template-transformer/index.js +94 -0
- package/codemods/utils.js +553 -0
- package/codemods/v19/grid-kendogridgroupbinding.js +51 -0
- package/column-menu/column-chooser.component.d.ts +4 -0
- package/column-menu/column-list.component.d.ts +10 -3
- package/column-menu/column-menu-item.component.d.ts +48 -3
- package/column-menu/column-menu-item.directive.d.ts +5 -2
- package/column-menu/column-menu.component.d.ts +4 -2
- package/columns/column-base.d.ts +5 -0
- package/columns/span-column.component.d.ts +2 -2
- package/common/adaptiveness.service.d.ts +50 -0
- package/common/single-popup.service.d.ts +3 -1
- package/common/toolbar-tool-base.directive.d.ts +26 -0
- package/directives.d.ts +13 -5
- package/editing/add-command-tool.directive.d.ts +7 -6
- package/editing/cancel-command-tool.directive.d.ts +38 -0
- package/editing/edit-command-tool.directive.d.ts +38 -0
- package/editing/edit.service.d.ts +1 -1
- package/editing/remove-command-tool.directive.d.ts +39 -0
- package/editing/save-command-tool.directive.d.ts +38 -0
- package/editing/toolbar-editing-tool-base.directive.d.ts +29 -0
- package/editing-directives/editing-directive-base.d.ts +4 -1
- package/editing-directives/external-editing.directive.d.ts +3 -1
- package/esm2022/adaptiveness/adaptive-mode.mjs +5 -0
- package/esm2022/adaptiveness/adaptive-renderer.component.mjs +1197 -0
- package/esm2022/column-menu/column-chooser.component.mjs +13 -11
- package/esm2022/column-menu/column-list.component.mjs +51 -8
- package/esm2022/column-menu/column-menu-autosize-all.component.mjs +1 -1
- package/esm2022/column-menu/column-menu-autosize.component.mjs +1 -1
- package/esm2022/column-menu/column-menu-chooser.component.mjs +1 -1
- package/esm2022/column-menu/column-menu-container.component.mjs +1 -1
- package/esm2022/column-menu/column-menu-filter.component.mjs +1 -1
- package/esm2022/column-menu/column-menu-item.component.mjs +123 -12
- package/esm2022/column-menu/column-menu-item.directive.mjs +14 -5
- package/esm2022/column-menu/column-menu-lock.component.mjs +1 -1
- package/esm2022/column-menu/column-menu-position.component.mjs +1 -1
- package/esm2022/column-menu/column-menu-sort.component.mjs +1 -1
- package/esm2022/column-menu/column-menu-stick.component.mjs +1 -1
- package/esm2022/column-menu/column-menu.component.mjs +68 -44
- package/esm2022/column-resizing/column-handle.directive.mjs +2 -2
- package/esm2022/columns/column-base.mjs +9 -0
- package/esm2022/columns/columns-container.mjs +1 -1
- package/esm2022/columns/span-column.component.mjs +9 -9
- package/esm2022/common/adaptiveness.service.mjs +72 -0
- package/esm2022/common/single-popup.service.mjs +9 -3
- package/esm2022/common/toolbar-tool-base.directive.mjs +81 -0
- package/esm2022/directives.mjs +21 -4
- package/esm2022/editing/add-command-tool.directive.mjs +12 -15
- package/esm2022/editing/cancel-command-tool.directive.mjs +64 -0
- package/esm2022/editing/edit-command-tool.directive.mjs +59 -0
- package/esm2022/editing/remove-command-tool.directive.mjs +60 -0
- package/esm2022/editing/remove-command.directive.mjs +1 -0
- package/esm2022/editing/save-command-tool.directive.mjs +64 -0
- package/esm2022/editing/toolbar-editing-tool-base.directive.mjs +94 -0
- package/esm2022/editing-directives/editing-directive-base.mjs +5 -2
- package/esm2022/editing-directives/external-editing.directive.mjs +28 -14
- package/esm2022/excel/excel-command-tool.directive.mjs +12 -17
- package/esm2022/filtering/filter-input.directive.mjs +14 -2
- package/esm2022/filtering/menu/boolean-filter-menu.component.mjs +4 -2
- package/esm2022/filtering/menu/date-filter-menu-input.component.mjs +4 -0
- package/esm2022/filtering/menu/date-filter-menu.component.mjs +6 -0
- package/esm2022/filtering/menu/filter-menu-container.component.mjs +24 -10
- package/esm2022/filtering/menu/filter-menu-input-wrapper.component.mjs +26 -4
- package/esm2022/filtering/menu/filter-menu.component.mjs +44 -29
- package/esm2022/filtering/menu/numeric-filter-menu-input.component.mjs +2 -0
- package/esm2022/filtering/menu/numeric-filter-menu.component.mjs +6 -0
- package/esm2022/filtering/menu/string-filter-menu-input.component.mjs +2 -0
- package/esm2022/filtering/menu/string-filter-menu.component.mjs +10 -1
- package/esm2022/grid.component.mjs +376 -82
- package/esm2022/grid.module.mjs +115 -101
- package/esm2022/index.mjs +11 -1
- package/esm2022/localization/messages.mjs +128 -2
- package/esm2022/navigation/toolbar-tool-name.mjs +17 -0
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/pdf/pdf-command-tool.directive.mjs +12 -15
- package/esm2022/rendering/cell.component.mjs +3 -3
- package/esm2022/rendering/header/header.component.mjs +1 -1
- package/esm2022/rendering/list.component.mjs +1 -1
- package/esm2022/rendering/table-body.component.mjs +1 -1
- package/esm2022/rendering/toolbar/tools/column-chooser-tool.directive.mjs +210 -0
- package/esm2022/rendering/toolbar/tools/filter-command-tool.directive.mjs +69 -34
- package/esm2022/rendering/toolbar/tools/filter-tool-wrapper.component.mjs +29 -8
- package/esm2022/rendering/toolbar/tools/filter-toolbar-tool.component.mjs +78 -8
- package/esm2022/rendering/toolbar/tools/group-command-tool.directive.mjs +206 -0
- package/esm2022/rendering/toolbar/tools/group-toolbar-tool.component.mjs +425 -0
- package/esm2022/rendering/toolbar/tools/sort-command-tool.directive.mjs +54 -20
- package/esm2022/rendering/toolbar/tools/sort-toolbar-tool.component.mjs +24 -8
- package/esm2022/selection/selection.service.mjs +11 -0
- package/esm2022/state-management/grid-state.models.mjs +26 -0
- package/esm2022/state-management/redo-command-tool.mjs +66 -0
- package/esm2022/state-management/undo-command-tool.mjs +66 -0
- package/esm2022/state-management/undo-redo.directive.mjs +178 -0
- package/esm2022/state-management/undo-redo.service.mjs +22 -0
- package/esm2022/state-management/undo-redo.stack.mjs +232 -0
- package/esm2022/utils.mjs +13 -13
- package/excel/excel-command-tool.directive.d.ts +5 -5
- package/fesm2022/progress-kendo-angular-grid.mjs +7384 -3773
- package/filtering/filter-input.directive.d.ts +1 -0
- package/filtering/menu/date-filter-menu-input.component.d.ts +1 -1
- package/filtering/menu/filter-menu-container.component.d.ts +15 -4
- package/filtering/menu/filter-menu-input-wrapper.component.d.ts +8 -3
- package/filtering/menu/filter-menu.component.d.ts +6 -3
- package/filtering/menu/numeric-filter-menu-input.component.d.ts +1 -1
- package/filtering/menu/string-filter-menu-input.component.d.ts +1 -1
- package/filtering/menu/string-filter-menu.component.d.ts +1 -0
- package/grid.component.d.ts +86 -33
- package/grid.module.d.ts +108 -100
- package/index.d.ts +10 -1
- package/localization/messages.d.ts +86 -2
- package/navigation/toolbar-tool-name.d.ts +17 -0
- package/package.json +35 -20
- package/pdf/pdf-command-tool.directive.d.ts +6 -5
- package/rendering/cell.component.d.ts +1 -1
- package/{column-menu → rendering/toolbar/tools}/column-chooser-tool.directive.d.ts +18 -6
- package/rendering/toolbar/tools/filter-command-tool.directive.d.ts +10 -1
- package/rendering/toolbar/tools/filter-tool-wrapper.component.d.ts +6 -5
- package/rendering/toolbar/tools/filter-toolbar-tool.component.d.ts +11 -2
- package/rendering/toolbar/tools/group-command-tool.directive.d.ts +51 -0
- package/rendering/toolbar/tools/group-toolbar-tool.component.d.ts +61 -0
- package/rendering/toolbar/tools/sort-command-tool.directive.d.ts +10 -1
- package/rendering/toolbar/tools/sort-toolbar-tool.component.d.ts +5 -1
- package/schematics/ngAdd/index.js +4 -4
- package/selection/selection.service.d.ts +1 -0
- package/state-management/grid-state.models.d.ts +58 -0
- package/state-management/redo-command-tool.d.ts +38 -0
- package/state-management/undo-command-tool.d.ts +38 -0
- package/state-management/undo-redo.directive.d.ts +51 -0
- package/state-management/undo-redo.service.d.ts +19 -0
- package/state-management/undo-redo.stack.d.ts +104 -0
- package/utils.d.ts +11 -5
- package/esm2022/column-menu/column-chooser-tool.directive.mjs +0 -172
|
@@ -2,8 +2,11 @@
|
|
|
2
2
|
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { ChangeDetectorRef, NgZone } from '@angular/core';
|
|
5
6
|
import { PDFService } from './pdf.service';
|
|
6
7
|
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
8
|
+
import { ContextService } from '../common/provider.service';
|
|
9
|
+
import { ToolbarToolBase } from '../common/toolbar-tool-base.directive';
|
|
7
10
|
import * as i0 from "@angular/core";
|
|
8
11
|
/**
|
|
9
12
|
* Represents the `export-to-PDF` toolbar tool of the Grid.
|
|
@@ -25,13 +28,11 @@ import * as i0 from "@angular/core";
|
|
|
25
28
|
* </kendo-grid>
|
|
26
29
|
* ```
|
|
27
30
|
*/
|
|
28
|
-
export declare class PDFCommandToolbarDirective {
|
|
31
|
+
export declare class PDFCommandToolbarDirective extends ToolbarToolBase {
|
|
29
32
|
private pdfService;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
constructor(pdfService: PDFService, host: ToolBarButtonComponent);
|
|
33
|
+
host: ToolBarButtonComponent;
|
|
34
|
+
constructor(pdfService: PDFService, host: ToolBarButtonComponent, ctx: ContextService, zone: NgZone, cdr: ChangeDetectorRef);
|
|
33
35
|
ngOnInit(): void;
|
|
34
|
-
ngOnDestroy(): void;
|
|
35
36
|
/**
|
|
36
37
|
* @hidden
|
|
37
38
|
*/
|
|
@@ -44,7 +44,7 @@ export declare class CellComponent implements DoCheck {
|
|
|
44
44
|
get selectionCheckboxId(): string;
|
|
45
45
|
get selectionCheckboxLabel(): string;
|
|
46
46
|
get isSpanColumn(): boolean;
|
|
47
|
-
get
|
|
47
|
+
get children(): ColumnComponent[];
|
|
48
48
|
get isRowReorderColumn(): boolean;
|
|
49
49
|
get isRowSelectable(): boolean;
|
|
50
50
|
private _rowIndex;
|
|
@@ -2,10 +2,13 @@
|
|
|
2
2
|
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { NgZone, Renderer2, AfterViewInit, OnInit, OnDestroy } from '@angular/core';
|
|
5
|
+
import { NgZone, Renderer2, AfterViewInit, OnInit, OnDestroy, ChangeDetectorRef } from '@angular/core';
|
|
6
6
|
import { PopupService } from '@progress/kendo-angular-popup';
|
|
7
7
|
import { RefreshService, ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
8
|
-
import { ContextService } from '
|
|
8
|
+
import { ContextService } from '../../../common/provider.service';
|
|
9
|
+
import { AdaptiveGridService } from '../../../common/adaptiveness.service';
|
|
10
|
+
import { ColumnInfoService } from '../../../common/column-info.service';
|
|
11
|
+
import { ToolbarToolBase } from '../../../common/toolbar-tool-base.directive';
|
|
9
12
|
import * as i0 from "@angular/core";
|
|
10
13
|
/**
|
|
11
14
|
* Represents the `column-chooser` toolbar tool of the Grid.
|
|
@@ -21,13 +24,15 @@ import * as i0 from "@angular/core";
|
|
|
21
24
|
* </kendo-grid>
|
|
22
25
|
* ```
|
|
23
26
|
*/
|
|
24
|
-
export declare class ColumnChooserToolbarDirective implements OnInit, AfterViewInit, OnDestroy {
|
|
27
|
+
export declare class ColumnChooserToolbarDirective extends ToolbarToolBase implements OnInit, AfterViewInit, OnDestroy {
|
|
25
28
|
private renderer;
|
|
26
29
|
private popupSerivce;
|
|
27
30
|
host: ToolBarButtonComponent;
|
|
28
|
-
|
|
29
|
-
|
|
31
|
+
ctx: ContextService;
|
|
32
|
+
zone: NgZone;
|
|
30
33
|
private refresh;
|
|
34
|
+
private adaptiveGridService;
|
|
35
|
+
private columnInfoService;
|
|
31
36
|
/**
|
|
32
37
|
* Specifies if the changes in the visibility of the column will be immediately applied.
|
|
33
38
|
*
|
|
@@ -40,10 +45,15 @@ export declare class ColumnChooserToolbarDirective implements OnInit, AfterViewI
|
|
|
40
45
|
* @default true
|
|
41
46
|
*/
|
|
42
47
|
allowHideAll: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* @hidden
|
|
50
|
+
*/
|
|
51
|
+
get columns(): any;
|
|
43
52
|
private popupRef;
|
|
44
53
|
private subs;
|
|
54
|
+
private actionSheetCloseSub;
|
|
45
55
|
private nextId;
|
|
46
|
-
constructor(renderer: Renderer2, popupSerivce: PopupService, host: ToolBarButtonComponent, ctx: ContextService, zone: NgZone, refresh: RefreshService);
|
|
56
|
+
constructor(renderer: Renderer2, popupSerivce: PopupService, host: ToolBarButtonComponent, ctx: ContextService, zone: NgZone, refresh: RefreshService, adaptiveGridService: AdaptiveGridService, columnInfoService: ColumnInfoService, cdr: ChangeDetectorRef);
|
|
47
57
|
ngOnInit(): void;
|
|
48
58
|
ngAfterViewInit(): void;
|
|
49
59
|
ngOnDestroy(): void;
|
|
@@ -51,7 +61,9 @@ export declare class ColumnChooserToolbarDirective implements OnInit, AfterViewI
|
|
|
51
61
|
* @hidden
|
|
52
62
|
*/
|
|
53
63
|
onClick(e: any): void;
|
|
64
|
+
private togglePopup;
|
|
54
65
|
private closePopup;
|
|
66
|
+
private get buttonElement();
|
|
55
67
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnChooserToolbarDirective, never>;
|
|
56
68
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ColumnChooserToolbarDirective, "[kendoGridColumnChooserTool]", never, { "autoSync": { "alias": "autoSync"; "required": false; }; "allowHideAll": { "alias": "allowHideAll"; "required": false; }; }, {}, never, never, true, never>;
|
|
57
69
|
}
|
|
@@ -8,6 +8,8 @@ import { PopupService } from '@progress/kendo-angular-popup';
|
|
|
8
8
|
import { ContextService } from '../../../common/provider.service';
|
|
9
9
|
import { ColumnInfoService } from '../../../common/column-info.service';
|
|
10
10
|
import { FilterService } from '../../../filtering/filter.service';
|
|
11
|
+
import { AdaptiveGridService } from '../../../common/adaptiveness.service';
|
|
12
|
+
import { CompositeFilterDescriptor } from '@progress/kendo-data-query';
|
|
11
13
|
import * as i0 from "@angular/core";
|
|
12
14
|
/**
|
|
13
15
|
* Represents the toolbar tool for filtering columns of the Grid.
|
|
@@ -34,12 +36,18 @@ export declare class FilterCommandToolbarDirective implements AfterViewInit, OnD
|
|
|
34
36
|
private columnInfoService;
|
|
35
37
|
private ngZone;
|
|
36
38
|
private renderer;
|
|
39
|
+
private adaptiveGridService;
|
|
37
40
|
private popupRef;
|
|
38
41
|
private nextId;
|
|
39
42
|
private toolSubs;
|
|
40
43
|
private popupSubs;
|
|
44
|
+
private actionSheetCloseSub;
|
|
41
45
|
private removeClickListener;
|
|
42
|
-
|
|
46
|
+
/**
|
|
47
|
+
* @hidden
|
|
48
|
+
*/
|
|
49
|
+
isFilterApplied(filter: CompositeFilterDescriptor): boolean;
|
|
50
|
+
constructor(host: ToolBarButtonComponent, popupService: PopupService, ctx: ContextService, filterService: FilterService, columnInfoService: ColumnInfoService, ngZone: NgZone, renderer: Renderer2, adaptiveGridService: AdaptiveGridService);
|
|
43
51
|
ngOnInit(): void;
|
|
44
52
|
ngAfterViewInit(): void;
|
|
45
53
|
ngOnDestroy(): void;
|
|
@@ -48,6 +56,7 @@ export declare class FilterCommandToolbarDirective implements AfterViewInit, OnD
|
|
|
48
56
|
private setPopupAttributes;
|
|
49
57
|
private initPopupProperties;
|
|
50
58
|
private closePopup;
|
|
59
|
+
private get buttonElement();
|
|
51
60
|
static ɵfac: i0.ɵɵFactoryDeclaration<FilterCommandToolbarDirective, never>;
|
|
52
61
|
static ɵdir: i0.ɵɵDirectiveDeclaration<FilterCommandToolbarDirective, "[kendoGridFilterTool]", never, {}, {}, never, never, true, never>;
|
|
53
62
|
}
|
|
@@ -18,20 +18,21 @@ export declare class FilterToolWrapperComponent {
|
|
|
18
18
|
container: ViewContainerRef;
|
|
19
19
|
wrapperClasses: boolean;
|
|
20
20
|
onEscKeyDown(event: KeyboardEvent): void;
|
|
21
|
+
onClick(event: any): void;
|
|
21
22
|
close: EventEmitter<any>;
|
|
22
23
|
hostButton: ToolBarButtonComponent;
|
|
23
24
|
clearIcon: SVGIcon;
|
|
24
25
|
columnInfoService: ColumnInfoService;
|
|
25
|
-
private popupRef;
|
|
26
|
-
private filter;
|
|
27
|
-
private subscriptions;
|
|
28
|
-
private _ctx;
|
|
29
26
|
set ctx(ctx: ContextService);
|
|
30
27
|
get ctx(): ContextService;
|
|
31
|
-
private _filterService;
|
|
32
28
|
set filterService(filterService: FilterService);
|
|
33
29
|
get filterService(): FilterService;
|
|
34
30
|
columnMenuService: ColumnMenuService;
|
|
31
|
+
private popupRef;
|
|
32
|
+
private filter;
|
|
33
|
+
private subscriptions;
|
|
34
|
+
private _ctx;
|
|
35
|
+
private _filterService;
|
|
35
36
|
constructor(injector: Injector);
|
|
36
37
|
ngOnDestroy(): void;
|
|
37
38
|
clear(): void;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { AfterViewInit, ElementRef, EventEmitter, OnDestroy, QueryList } from '@angular/core';
|
|
5
|
+
import { AfterViewInit, ElementRef, EventEmitter, NgZone, OnDestroy, QueryList } from '@angular/core';
|
|
6
6
|
import { ContextService } from '../../../common/provider.service';
|
|
7
7
|
import { ColumnBase } from '../../../columns/column-base';
|
|
8
8
|
import { ColumnComponent } from '../../../columns/column.component';
|
|
@@ -11,6 +11,7 @@ import { FilterService } from '../../../filtering/filter.service';
|
|
|
11
11
|
import { ColumnMenuService } from '../../../column-menu/column-menu.service';
|
|
12
12
|
import { ColumnMenuItemComponent } from '../../../column-menu/column-menu-item.component';
|
|
13
13
|
import { ColumnInfoService } from '../../../common/column-info.service';
|
|
14
|
+
import { AdaptiveGridService } from '../../../common/adaptiveness.service';
|
|
14
15
|
import * as i0 from "@angular/core";
|
|
15
16
|
/**
|
|
16
17
|
* @hidden
|
|
@@ -20,6 +21,8 @@ export declare class FilterToolbarToolComponent implements AfterViewInit, OnDest
|
|
|
20
21
|
private filterService;
|
|
21
22
|
private ctx;
|
|
22
23
|
private columnInfoService;
|
|
24
|
+
private ngZone;
|
|
25
|
+
adaptiveGridService: AdaptiveGridService;
|
|
23
26
|
filterItems: QueryList<ElementRef>;
|
|
24
27
|
menuItems: QueryList<ColumnMenuItemComponent>;
|
|
25
28
|
filterContainers: QueryList<FilterMenuContainerComponent>;
|
|
@@ -30,11 +33,17 @@ export declare class FilterToolbarToolComponent implements AfterViewInit, OnDest
|
|
|
30
33
|
columnMenuService: ColumnMenuService;
|
|
31
34
|
columns: Array<ColumnBase>;
|
|
32
35
|
filter: any;
|
|
36
|
+
isFilterApplied(column: any): boolean;
|
|
37
|
+
isItemFocused(filterItem: ColumnMenuItemComponent): boolean;
|
|
38
|
+
onItemFocus(item: ColumnMenuItemComponent): void;
|
|
39
|
+
onItemFocusOut(): void;
|
|
40
|
+
private currentFocusedItem;
|
|
33
41
|
private subscriptions;
|
|
34
|
-
constructor(element: ElementRef, filterService: FilterService, ctx: ContextService, columnInfoService: ColumnInfoService);
|
|
42
|
+
constructor(element: ElementRef, filterService: FilterService, ctx: ContextService, columnInfoService: ColumnInfoService, ngZone: NgZone, adaptiveGridService: AdaptiveGridService);
|
|
35
43
|
ngOnInit(): void;
|
|
36
44
|
ngAfterViewInit(): void;
|
|
37
45
|
ngOnDestroy(): void;
|
|
46
|
+
navigateView(column: any): void;
|
|
38
47
|
getColumnComponent(column: ColumnBase): ColumnComponent;
|
|
39
48
|
handleClose(filterItem: ColumnMenuItemComponent): void;
|
|
40
49
|
toggleItem(event: any, index: number): void;
|
|
@@ -0,0 +1,51 @@
|
|
|
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 { AfterViewInit, NgZone, OnDestroy, Renderer2 } from '@angular/core';
|
|
6
|
+
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
7
|
+
import { PopupService } from '@progress/kendo-angular-popup';
|
|
8
|
+
import { ContextService } from '../../../common/provider.service';
|
|
9
|
+
import { AdaptiveGridService } from '../../../common/adaptiveness.service';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
/**
|
|
12
|
+
* Represents the toolbar tool for grouping columns of the Grid.
|
|
13
|
+
* You can apply this directive to any `kendo-toolbar-button` element inside a
|
|
14
|
+
* ToolbarComponent used in the Grid.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```html-no-run
|
|
18
|
+
* <kendo-grid>
|
|
19
|
+
* <kendo-toolbar>
|
|
20
|
+
* <kendo-toolbar-button text="Group" kendoGridGroupTool></kendo-toolbar-button>
|
|
21
|
+
* </kendo-toolbar>
|
|
22
|
+
* </kendo-grid>
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export declare class GroupCommandToolbarDirective implements AfterViewInit, OnDestroy {
|
|
26
|
+
private host;
|
|
27
|
+
private popupService;
|
|
28
|
+
private ctx;
|
|
29
|
+
private ngZone;
|
|
30
|
+
private renderer;
|
|
31
|
+
private adaptiveGridService;
|
|
32
|
+
private popupRef;
|
|
33
|
+
private nextId;
|
|
34
|
+
private toolSubs;
|
|
35
|
+
private popupSubs;
|
|
36
|
+
private actionSheetCloseSub;
|
|
37
|
+
private removeClickListener;
|
|
38
|
+
constructor(host: ToolBarButtonComponent, popupService: PopupService, ctx: ContextService, ngZone: NgZone, renderer: Renderer2, adaptiveGridService: AdaptiveGridService);
|
|
39
|
+
ngOnInit(): void;
|
|
40
|
+
ngAfterViewInit(): void;
|
|
41
|
+
ngOnDestroy(): void;
|
|
42
|
+
private onClick;
|
|
43
|
+
private openPopup;
|
|
44
|
+
private setPopupAttributes;
|
|
45
|
+
private initPopupProperties;
|
|
46
|
+
private closePopup;
|
|
47
|
+
private get buttonElement();
|
|
48
|
+
private isGroupingApplied;
|
|
49
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GroupCommandToolbarDirective, never>;
|
|
50
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<GroupCommandToolbarDirective, "[kendoGridGroupTool]", never, {}, {}, never, never, true, never>;
|
|
51
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
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 { ElementRef, EventEmitter, QueryList, NgZone, OnDestroy } from '@angular/core';
|
|
6
|
+
import { ContextService } from '../../../common/provider.service';
|
|
7
|
+
import { ColumnBase } from '../../../columns/column-base';
|
|
8
|
+
import { ColumnComponent } from '../../../columns/column.component';
|
|
9
|
+
import { GroupDescriptor } from '@progress/kendo-data-query';
|
|
10
|
+
import { IconSize, SVGIcon } from '@progress/kendo-angular-icons';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
/**
|
|
13
|
+
* @hidden
|
|
14
|
+
*/
|
|
15
|
+
export declare class GroupToolbarToolComponent implements OnDestroy {
|
|
16
|
+
element: ElementRef;
|
|
17
|
+
private ngZone;
|
|
18
|
+
hostClass: boolean;
|
|
19
|
+
get lgClass(): boolean;
|
|
20
|
+
get mdClass(): boolean;
|
|
21
|
+
onEscKeyDown(event: KeyboardEvent): void;
|
|
22
|
+
set groupItems(items: QueryList<ElementRef>);
|
|
23
|
+
get groupItems(): QueryList<ElementRef>;
|
|
24
|
+
private _groupItems;
|
|
25
|
+
adaptive: boolean;
|
|
26
|
+
close: EventEmitter<any>;
|
|
27
|
+
groupClear: EventEmitter<any>;
|
|
28
|
+
currentFocusedItemIndex: number;
|
|
29
|
+
group: Array<GroupDescriptor>;
|
|
30
|
+
columns: Array<ColumnBase>;
|
|
31
|
+
iconSize: IconSize;
|
|
32
|
+
upIcon: SVGIcon;
|
|
33
|
+
downIcon: SVGIcon;
|
|
34
|
+
removeIcon: SVGIcon;
|
|
35
|
+
addIcon: SVGIcon;
|
|
36
|
+
clearIcon: SVGIcon;
|
|
37
|
+
private _ctx;
|
|
38
|
+
set ctx(ctx: ContextService);
|
|
39
|
+
get ctx(): ContextService;
|
|
40
|
+
groupedColumns: any[];
|
|
41
|
+
ungroupedColumns: any[];
|
|
42
|
+
private subscription;
|
|
43
|
+
private hostButton;
|
|
44
|
+
constructor(element: ElementRef, ngZone: NgZone);
|
|
45
|
+
ngOnInit(): void;
|
|
46
|
+
ngOnDestroy(): void;
|
|
47
|
+
addGroup(column: ColumnBase, ev: any): void;
|
|
48
|
+
removeGroup(column: ColumnBase, ev: any): void;
|
|
49
|
+
moveGroupUp(column: ColumnBase, ev: any): void;
|
|
50
|
+
moveGroupDown(column: ColumnBase, ev: any): void;
|
|
51
|
+
clear(): void;
|
|
52
|
+
getColumnComponent(column: ColumnBase): ColumnComponent;
|
|
53
|
+
onItemFocus(groupIndex: number | null, index: number): void;
|
|
54
|
+
handleGroupedKeydown(column: ColumnBase, index: number, ev: any): void;
|
|
55
|
+
handleUngroupedKeydown(column: ColumnBase, index: number, ev: any): void;
|
|
56
|
+
private updateGroupedColumns;
|
|
57
|
+
private navigateToNextItem;
|
|
58
|
+
private navigateToPreviousItem;
|
|
59
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GroupToolbarToolComponent, never>;
|
|
60
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GroupToolbarToolComponent, "kendo-group-toolbar-tool", never, { "adaptive": { "alias": "adaptive"; "required": false; }; }, { "close": "close"; "groupClear": "groupClear"; }, never, never, true, never>;
|
|
61
|
+
}
|
|
@@ -8,6 +8,8 @@ import { PopupService } from '@progress/kendo-angular-popup';
|
|
|
8
8
|
import { ContextService } from '../../../common/provider.service';
|
|
9
9
|
import { SortService } from '../../../common/sort.service';
|
|
10
10
|
import { ColumnInfoService } from '../../../common/column-info.service';
|
|
11
|
+
import { AdaptiveGridService } from '../../../common/adaptiveness.service';
|
|
12
|
+
import { SortDescriptor } from '@progress/kendo-data-query';
|
|
11
13
|
import * as i0 from "@angular/core";
|
|
12
14
|
/**
|
|
13
15
|
* Represents the toolbar tool for sorting columns of the Grid.
|
|
@@ -34,12 +36,18 @@ export declare class SortCommandToolbarDirective implements AfterViewInit, OnDes
|
|
|
34
36
|
private columnInfoService;
|
|
35
37
|
private ngZone;
|
|
36
38
|
private renderer;
|
|
39
|
+
private adaptiveGridService;
|
|
37
40
|
private popupRef;
|
|
38
41
|
private nextId;
|
|
39
42
|
private toolSubs;
|
|
40
43
|
private popupSubs;
|
|
44
|
+
private actionSheetCloseSub;
|
|
41
45
|
private removeClickListener;
|
|
42
|
-
|
|
46
|
+
/**
|
|
47
|
+
* @hidden
|
|
48
|
+
*/
|
|
49
|
+
isSortingApplied(sort: SortDescriptor[]): boolean;
|
|
50
|
+
constructor(host: ToolBarButtonComponent, popupService: PopupService, ctx: ContextService, sortService: SortService, columnInfoService: ColumnInfoService, ngZone: NgZone, renderer: Renderer2, adaptiveGridService: AdaptiveGridService);
|
|
43
51
|
ngOnInit(): void;
|
|
44
52
|
ngAfterViewInit(): void;
|
|
45
53
|
ngOnDestroy(): void;
|
|
@@ -48,6 +56,7 @@ export declare class SortCommandToolbarDirective implements AfterViewInit, OnDes
|
|
|
48
56
|
private setPopupAttributes;
|
|
49
57
|
private initPopupProperties;
|
|
50
58
|
private closePopup;
|
|
59
|
+
private get buttonElement();
|
|
51
60
|
static ɵfac: i0.ɵɵFactoryDeclaration<SortCommandToolbarDirective, never>;
|
|
52
61
|
static ɵdir: i0.ɵɵDirectiveDeclaration<SortCommandToolbarDirective, "[kendoGridSortTool]", never, {}, {}, never, never, true, never>;
|
|
53
62
|
}
|
|
@@ -11,6 +11,10 @@ import { SortDescriptor } from '@progress/kendo-data-query';
|
|
|
11
11
|
import { SVGIcon } from '@progress/kendo-angular-icons';
|
|
12
12
|
import { ColumnInfoService } from '../../../common/column-info.service';
|
|
13
13
|
import * as i0 from "@angular/core";
|
|
14
|
+
/**
|
|
15
|
+
* @hidden
|
|
16
|
+
*/
|
|
17
|
+
export declare const directions: (initialDirection: any) => string[];
|
|
14
18
|
/**
|
|
15
19
|
* @hidden
|
|
16
20
|
*/
|
|
@@ -41,7 +45,7 @@ export declare class SortToolbarToolComponent implements AfterViewInit, OnDestro
|
|
|
41
45
|
constructor(element: ElementRef, ngZone: NgZone);
|
|
42
46
|
ngAfterViewInit(): void;
|
|
43
47
|
ngOnDestroy(): void;
|
|
44
|
-
toggleSort(column: ColumnBase): void;
|
|
48
|
+
toggleSort(column: ColumnBase, ev: any): void;
|
|
45
49
|
getColumnComponent(column: ColumnBase): ColumnComponent;
|
|
46
50
|
sortDescriptor(field: string): SortDescriptor;
|
|
47
51
|
getDescriptor(column: ColumnBase): SortDescriptor[];
|
|
@@ -4,14 +4,14 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
4
4
|
function default_1(options) {
|
|
5
5
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'GridModule', package: 'grid', peerDependencies: {
|
|
6
6
|
// peer deps of the dropdowns
|
|
7
|
-
'@progress/kendo-angular-treeview': '19.0.
|
|
8
|
-
'@progress/kendo-angular-navigation': '19.0.
|
|
7
|
+
'@progress/kendo-angular-treeview': '19.0.1-develop.1',
|
|
8
|
+
'@progress/kendo-angular-navigation': '19.0.1-develop.1',
|
|
9
9
|
// peer dependency of kendo-angular-inputs
|
|
10
|
-
'@progress/kendo-angular-dialog': '19.0.
|
|
10
|
+
'@progress/kendo-angular-dialog': '19.0.1-develop.1',
|
|
11
11
|
// peer dependency of kendo-angular-icons
|
|
12
12
|
'@progress/kendo-svg-icons': '^4.0.0',
|
|
13
13
|
// peer dependency of kendo-angular-layout
|
|
14
|
-
'@progress/kendo-angular-progressbar': '19.0.
|
|
14
|
+
'@progress/kendo-angular-progressbar': '19.0.1-develop.1'
|
|
15
15
|
} });
|
|
16
16
|
return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
|
|
17
17
|
}
|
|
@@ -70,6 +70,7 @@ export declare class SelectionService implements OnDestroy {
|
|
|
70
70
|
addSubscriptions(): void;
|
|
71
71
|
private getIterator;
|
|
72
72
|
private removeSubscriptions;
|
|
73
|
+
private syncCurrentSelection;
|
|
73
74
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectionService, never>;
|
|
74
75
|
static ɵprov: i0.ɵɵInjectableDeclaration<SelectionService>;
|
|
75
76
|
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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 { State } from "@progress/kendo-data-query";
|
|
6
|
+
import { GridDataResult } from "../data/data.collection";
|
|
7
|
+
import { PreventableEvent } from "@progress/kendo-angular-common";
|
|
8
|
+
/**
|
|
9
|
+
* Represent the state of each Grid column that can be changed by the user.
|
|
10
|
+
*/
|
|
11
|
+
export interface ColumnState {
|
|
12
|
+
/**
|
|
13
|
+
* The column identifier that is unique in the scope of its `GridComponent` owner.
|
|
14
|
+
*/
|
|
15
|
+
id: string;
|
|
16
|
+
/**
|
|
17
|
+
* The column width in pixels.
|
|
18
|
+
*/
|
|
19
|
+
width?: number;
|
|
20
|
+
/**
|
|
21
|
+
* The column visibility.
|
|
22
|
+
*/
|
|
23
|
+
hidden?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* The column locked state.
|
|
26
|
+
*/
|
|
27
|
+
locked?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* The column sticky state.
|
|
30
|
+
*/
|
|
31
|
+
sticky?: boolean;
|
|
32
|
+
orderIndex?: number;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* The state of the grid component.
|
|
36
|
+
* It includes the current `State`, data, and columns state.
|
|
37
|
+
*/
|
|
38
|
+
export interface GridState extends State {
|
|
39
|
+
columnsState?: ColumnState[];
|
|
40
|
+
currentData?: Array<any> | GridDataResult | null;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Arguments for the `undo` and `redo` events.
|
|
44
|
+
*/
|
|
45
|
+
export declare class UndoRedoEvent extends PreventableEvent {
|
|
46
|
+
/**
|
|
47
|
+
* The event data of the original action that triggered the state change.
|
|
48
|
+
*/
|
|
49
|
+
readonly originalEvent: any;
|
|
50
|
+
/**
|
|
51
|
+
* The grid state and rendered data at the time of the action.
|
|
52
|
+
*/
|
|
53
|
+
readonly gridState: GridState;
|
|
54
|
+
/**
|
|
55
|
+
* @hidden
|
|
56
|
+
*/
|
|
57
|
+
constructor({ originalEvent, gridState }: any);
|
|
58
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
6
|
+
import { UndoRedoService } from './undo-redo.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* Represents the command for triggering the redo action in the Grid.
|
|
10
|
+
* You can apply this directive to any `kendo-toolbar-button` element inside a
|
|
11
|
+
* ToolbarComponent used in the Grid.
|
|
12
|
+
*
|
|
13
|
+
* When the user clicks the toolbar button that is associated with the directive, the
|
|
14
|
+
* [redo]({% slug api_grid_undoredodirective %}#toc-redo) event is triggered.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```html-no-run
|
|
18
|
+
* <kendo-grid>
|
|
19
|
+
* <kendo-toolbar>
|
|
20
|
+
* <kendo-toolbar-button kendoGridRedoTool></kendo-toolbar-button>
|
|
21
|
+
* </kendo-toolbar>
|
|
22
|
+
* </kendo-grid>
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export declare class RedoCommandToolbarDirective {
|
|
26
|
+
private undoRedoService;
|
|
27
|
+
private host;
|
|
28
|
+
private subs;
|
|
29
|
+
constructor(undoRedoService: UndoRedoService, host: ToolBarButtonComponent);
|
|
30
|
+
ngOnInit(): void;
|
|
31
|
+
ngOnDestroy(): void;
|
|
32
|
+
/**
|
|
33
|
+
* @hidden
|
|
34
|
+
*/
|
|
35
|
+
onClick(e: any): void;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RedoCommandToolbarDirective, never>;
|
|
37
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RedoCommandToolbarDirective, "[kendoGridRedoTool]", never, {}, {}, never, never, true, never>;
|
|
38
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
6
|
+
import { UndoRedoService } from './undo-redo.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* Represents the command for triggering the undo action in the Grid.
|
|
10
|
+
* You can apply this directive to any `kendo-toolbar-button` element inside a
|
|
11
|
+
* ToolbarComponent used in the Grid.
|
|
12
|
+
*
|
|
13
|
+
* When the user clicks the toolbar button that is associated with the directive, the
|
|
14
|
+
* [undo]({% slug api_grid_undoredodirective %}#toc-undo) event is triggered.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```html-no-run
|
|
18
|
+
* <kendo-grid>
|
|
19
|
+
* <kendo-toolbar>
|
|
20
|
+
* <kendo-toolbar-button kendoGridUndoTool></kendo-toolbar-button>
|
|
21
|
+
* </kendo-toolbar>
|
|
22
|
+
* </kendo-grid>
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export declare class UndoCommandToolbarDirective {
|
|
26
|
+
private undoRedoService;
|
|
27
|
+
private host;
|
|
28
|
+
private subs;
|
|
29
|
+
constructor(undoRedoService: UndoRedoService, host: ToolBarButtonComponent);
|
|
30
|
+
ngOnInit(): void;
|
|
31
|
+
ngOnDestroy(): void;
|
|
32
|
+
/**
|
|
33
|
+
* @hidden
|
|
34
|
+
*/
|
|
35
|
+
onClick(e: any): void;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UndoCommandToolbarDirective, never>;
|
|
37
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UndoCommandToolbarDirective, "[kendoGridUndoTool]", never, {}, {}, never, never, true, never>;
|
|
38
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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 { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
6
|
+
import { GridComponent } from '../grid.component';
|
|
7
|
+
import { UndoRedoEvent } from './grid-state.models';
|
|
8
|
+
import { EditService } from '../editing/edit.service';
|
|
9
|
+
import { UndoRedoService } from './undo-redo.service';
|
|
10
|
+
import { ChangeNotificationService } from '../data/change-notification.service';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
export declare class UndoRedoDirective implements OnInit, OnDestroy {
|
|
13
|
+
private host;
|
|
14
|
+
private editService;
|
|
15
|
+
private undoRedoService;
|
|
16
|
+
private changeNotification;
|
|
17
|
+
/**
|
|
18
|
+
* Determines the maximum number of actions to keep in the undo-redo stack.
|
|
19
|
+
* @default 10
|
|
20
|
+
*/
|
|
21
|
+
maxStoredStates: number;
|
|
22
|
+
/**
|
|
23
|
+
* Fires when undo action is performed. Exposes the state of the grid that will be applied.
|
|
24
|
+
*/
|
|
25
|
+
onUndo: EventEmitter<UndoRedoEvent>;
|
|
26
|
+
/**
|
|
27
|
+
* Fires when undo action is performed. Exposes the state of the grid that will be applied.
|
|
28
|
+
*/
|
|
29
|
+
onRedo: EventEmitter<UndoRedoEvent>;
|
|
30
|
+
/**
|
|
31
|
+
* Returns an array of all undo-redo actions that are currently in the stack.
|
|
32
|
+
*/
|
|
33
|
+
get undoRedoItems(): UndoRedoEvent[];
|
|
34
|
+
private stack;
|
|
35
|
+
private subs;
|
|
36
|
+
private addToState;
|
|
37
|
+
constructor(host: GridComponent, editService: EditService, undoRedoService: UndoRedoService, changeNotification: ChangeNotificationService);
|
|
38
|
+
ngOnInit(): void;
|
|
39
|
+
ngOnDestroy(): void;
|
|
40
|
+
/**
|
|
41
|
+
* Re-applies the last action, reverted by the `undo` method.
|
|
42
|
+
*/
|
|
43
|
+
redo(): void;
|
|
44
|
+
/**
|
|
45
|
+
* Reverts the last user action.
|
|
46
|
+
*/
|
|
47
|
+
undo(): void;
|
|
48
|
+
private updateUndoRedoDisabled;
|
|
49
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UndoRedoDirective, never>;
|
|
50
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UndoRedoDirective, "[kendoGridUndoRedo]", ["kendoGridUndoRedo"], { "maxStoredStates": { "alias": "maxStoredStates"; "required": false; }; }, { "onUndo": "undo"; "onRedo": "redo"; }, never, never, true, never>;
|
|
51
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
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 { Subject } from 'rxjs';
|
|
6
|
+
import { GridState } from './grid-state.models';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export declare class UndoRedoService {
|
|
12
|
+
originalEvent: any;
|
|
13
|
+
onUndo: Subject<undefined>;
|
|
14
|
+
onRedo: Subject<undefined>;
|
|
15
|
+
stackEndReached: Subject<'start' | 'end' | false>;
|
|
16
|
+
setState: Subject<GridState>;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UndoRedoService, never>;
|
|
18
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UndoRedoService>;
|
|
19
|
+
}
|