@progress/kendo-angular-grid 19.2.0-develop.14 → 19.2.0-develop.2

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.
@@ -138,7 +138,6 @@ export declare class ListComponent implements OnInit, OnDestroy, AfterViewInit,
138
138
  lockedScroll(): void;
139
139
  lockedMousewheel(args: any): void;
140
140
  lockedKeydown(args: any): void;
141
- updateViewportColumns(range?: any): void;
142
141
  private detailExpand;
143
142
  private attachContainerScroll;
144
143
  private createScroller;
@@ -154,6 +153,7 @@ export declare class ListComponent implements OnInit, OnDestroy, AfterViewInit,
154
153
  private cleanupScroller;
155
154
  private initResizeService;
156
155
  private syncContainerHeight;
156
+ private updateViewportColumns;
157
157
  private handleColumnScroll;
158
158
  private updateColumnViewport;
159
159
  private calculateViewportColumns;
@@ -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.2.0-develop.14',
8
- '@progress/kendo-angular-navigation': '19.2.0-develop.14',
7
+ '@progress/kendo-angular-treeview': '19.2.0-develop.2',
8
+ '@progress/kendo-angular-navigation': '19.2.0-develop.2',
9
9
  // peer dependency of kendo-angular-inputs
10
- '@progress/kendo-angular-dialog': '19.2.0-develop.14',
10
+ '@progress/kendo-angular-dialog': '19.2.0-develop.2',
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.2.0-develop.14'
14
+ '@progress/kendo-angular-progressbar': '19.2.0-develop.2'
15
15
  } });
16
16
  return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
17
17
  }
@@ -59,7 +59,7 @@ export declare class SelectionService implements OnDestroy {
59
59
  toggleByIndex(index: number): any;
60
60
  select(item: any): any;
61
61
  deselect(removedItem: any): void;
62
- addAllTo(item: any, ctrlKey: boolean, preserveSelection?: boolean, shiftKey?: boolean): any;
62
+ addAllTo(item: any, ctrlKey: boolean, preserveSelection?: boolean): any;
63
63
  updateAll(selectAllChecked: boolean): void;
64
64
  selectRange(startIndex: number, endIndex: number, preserveSelection: boolean, existingSelections?: any[]): any;
65
65
  get selectAllState(): any;
@@ -8,8 +8,6 @@ import { UndoRedoEvent } from './grid-state.models';
8
8
  import { EditService } from '../editing/edit.service';
9
9
  import { UndoRedoService } from './undo-redo.service';
10
10
  import { ChangeNotificationService } from '../data/change-notification.service';
11
- import { ContextService } from '../common/provider.service';
12
- import { LocalDataChangesService } from '../editing/local-data-changes.service';
13
11
  import * as i0 from "@angular/core";
14
12
  /**
15
13
  * Represents the directive that manages undo-redo operations in the Grid.
@@ -27,17 +25,11 @@ export declare class UndoRedoDirective implements OnInit, OnDestroy {
27
25
  private editService;
28
26
  private undoRedoService;
29
27
  private changeNotification;
30
- private ctx?;
31
- private localDataChangesService?;
32
28
  /**
33
29
  * Sets the maximum number of actions to keep in the undo-redo stack.
34
30
  * @default 10
35
31
  */
36
32
  maxStoredStates: number;
37
- /**
38
- * Defines the property name of the data item unique key that will be used to identify the items when performing undo-redo actions.
39
- */
40
- itemIdKey: string | undefined;
41
33
  /**
42
34
  * Fires when you perform the undo action. Provides the Grid state to apply.
43
35
  */
@@ -53,9 +45,8 @@ export declare class UndoRedoDirective implements OnInit, OnDestroy {
53
45
  private stack;
54
46
  private subs;
55
47
  private addToState;
56
- constructor(host: GridComponent, editService: EditService, undoRedoService: UndoRedoService, changeNotification: ChangeNotificationService, ctx?: ContextService, localDataChangesService?: LocalDataChangesService);
48
+ constructor(host: GridComponent, editService: EditService, undoRedoService: UndoRedoService, changeNotification: ChangeNotificationService);
57
49
  ngOnInit(): void;
58
- ngAfterViewInit(): void;
59
50
  ngOnDestroy(): void;
60
51
  /**
61
52
  * Re-applies the last action that you reverted with the `undo` method.
@@ -66,8 +57,6 @@ export declare class UndoRedoDirective implements OnInit, OnDestroy {
66
57
  */
67
58
  undo(): void;
68
59
  private updateUndoRedoDisabled;
69
- private getGridDataItems;
70
- private isDataStateChangeEvent;
71
60
  static ɵfac: i0.ɵɵFactoryDeclaration<UndoRedoDirective, never>;
72
- static ɵdir: i0.ɵɵDirectiveDeclaration<UndoRedoDirective, "[kendoGridUndoRedo]", ["kendoGridUndoRedo"], { "maxStoredStates": { "alias": "maxStoredStates"; "required": false; }; "itemIdKey": { "alias": "itemIdKey"; "required": false; }; }, { "onUndo": "undo"; "onRedo": "redo"; }, never, never, true, never>;
61
+ static ɵdir: i0.ɵɵDirectiveDeclaration<UndoRedoDirective, "[kendoGridUndoRedo]", ["kendoGridUndoRedo"], { "maxStoredStates": { "alias": "maxStoredStates"; "required": false; }; }, { "onUndo": "undo"; "onRedo": "redo"; }, never, never, true, never>;
73
62
  }
@@ -3,6 +3,7 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Subject } from 'rxjs';
6
+ import { GridState } from './grid-state.models';
6
7
  import * as i0 from "@angular/core";
7
8
  /**
8
9
  * @hidden
@@ -12,6 +13,7 @@ export declare class UndoRedoService {
12
13
  onUndo: Subject<undefined>;
13
14
  onRedo: Subject<undefined>;
14
15
  stackEndReached: Subject<'start' | 'end' | false>;
16
+ setState: Subject<GridState>;
15
17
  static ɵfac: i0.ɵɵFactoryDeclaration<UndoRedoService, never>;
16
18
  static ɵprov: i0.ɵɵInjectableDeclaration<UndoRedoService>;
17
19
  }
@@ -74,8 +74,6 @@ export declare class UndoRedoStack<T> {
74
74
  * @returns The previous state or null if can't undo
75
75
  */
76
76
  undo(): T | null;
77
- peekNext(): T | null;
78
- peekPrev(): T | null;
79
77
  /**
80
78
  * Performs a redo operation, moving to the next state
81
79
  * @returns The next state or null if can't redo