@progress/kendo-angular-grid 19.0.0-develop.2 → 19.0.0-develop.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (129) hide show
  1. package/adaptiveness/adaptive-mode.d.ts +12 -0
  2. package/adaptiveness/adaptive-renderer.component.d.ts +84 -0
  3. package/column-menu/column-chooser.component.d.ts +4 -0
  4. package/column-menu/column-list.component.d.ts +9 -3
  5. package/column-menu/column-menu-item.component.d.ts +38 -2
  6. package/column-menu/column-menu-item.directive.d.ts +5 -2
  7. package/column-menu/column-menu.component.d.ts +4 -2
  8. package/columns/column-base.d.ts +5 -0
  9. package/columns/span-column.component.d.ts +2 -2
  10. package/common/adaptiveness.service.d.ts +50 -0
  11. package/common/single-popup.service.d.ts +3 -1
  12. package/common/toolbar-tool-base.directive.d.ts +26 -0
  13. package/directives.d.ts +12 -5
  14. package/dragdrop/drag-hint.service.d.ts +3 -2
  15. package/editing/add-command-tool.directive.d.ts +7 -6
  16. package/editing/cancel-command-tool.directive.d.ts +38 -0
  17. package/editing/edit-command-tool.directive.d.ts +38 -0
  18. package/editing/edit.service.d.ts +1 -1
  19. package/editing/remove-command-tool.directive.d.ts +39 -0
  20. package/editing/save-command-tool.directive.d.ts +38 -0
  21. package/editing/toolbar-editing-tool-base.directive.d.ts +29 -0
  22. package/editing-directives/external-editing.directive.d.ts +3 -1
  23. package/esm2022/adaptiveness/adaptive-mode.mjs +5 -0
  24. package/esm2022/adaptiveness/adaptive-renderer.component.mjs +1106 -0
  25. package/esm2022/column-menu/column-chooser.component.mjs +13 -11
  26. package/esm2022/column-menu/column-list.component.mjs +43 -8
  27. package/esm2022/column-menu/column-menu-autosize-all.component.mjs +1 -1
  28. package/esm2022/column-menu/column-menu-autosize.component.mjs +1 -1
  29. package/esm2022/column-menu/column-menu-chooser.component.mjs +1 -1
  30. package/esm2022/column-menu/column-menu-container.component.mjs +1 -1
  31. package/esm2022/column-menu/column-menu-filter.component.mjs +1 -1
  32. package/esm2022/column-menu/column-menu-item.component.mjs +106 -11
  33. package/esm2022/column-menu/column-menu-item.directive.mjs +14 -5
  34. package/esm2022/column-menu/column-menu-lock.component.mjs +1 -1
  35. package/esm2022/column-menu/column-menu-position.component.mjs +1 -1
  36. package/esm2022/column-menu/column-menu-sort.component.mjs +1 -1
  37. package/esm2022/column-menu/column-menu-stick.component.mjs +1 -1
  38. package/esm2022/column-menu/column-menu.component.mjs +68 -44
  39. package/esm2022/column-resizing/column-handle.directive.mjs +2 -2
  40. package/esm2022/columns/column-base.mjs +9 -0
  41. package/esm2022/columns/columns-container.mjs +1 -1
  42. package/esm2022/columns/span-column.component.mjs +9 -9
  43. package/esm2022/common/adaptiveness.service.mjs +72 -0
  44. package/esm2022/common/single-popup.service.mjs +9 -3
  45. package/esm2022/common/toolbar-tool-base.directive.mjs +81 -0
  46. package/esm2022/directives.mjs +18 -3
  47. package/esm2022/dragdrop/drag-hint.service.mjs +7 -4
  48. package/esm2022/editing/add-command-tool.directive.mjs +12 -15
  49. package/esm2022/editing/cancel-command-tool.directive.mjs +64 -0
  50. package/esm2022/editing/edit-command-tool.directive.mjs +59 -0
  51. package/esm2022/editing/form/form-formfield.component.mjs +1 -1
  52. package/esm2022/editing/remove-command-tool.directive.mjs +60 -0
  53. package/esm2022/editing/remove-command.directive.mjs +1 -0
  54. package/esm2022/editing/save-command-tool.directive.mjs +64 -0
  55. package/esm2022/editing/toolbar-editing-tool-base.directive.mjs +89 -0
  56. package/esm2022/editing-directives/external-editing.directive.mjs +28 -14
  57. package/esm2022/excel/excel-command-tool.directive.mjs +12 -17
  58. package/esm2022/filtering/cell/autocomplete-filter-cell.component.mjs +1 -1
  59. package/esm2022/filtering/cell/boolean-filter-cell.component.mjs +1 -1
  60. package/esm2022/filtering/cell/date-filter-cell.component.mjs +1 -1
  61. package/esm2022/filtering/cell/filter-cell-operators.component.mjs +1 -1
  62. package/esm2022/filtering/filter-input.directive.mjs +14 -2
  63. package/esm2022/filtering/menu/boolean-filter-menu.component.mjs +2 -2
  64. package/esm2022/filtering/menu/date-filter-menu-input.component.mjs +3 -1
  65. package/esm2022/filtering/menu/date-filter-menu.component.mjs +5 -1
  66. package/esm2022/filtering/menu/filter-menu-container.component.mjs +21 -10
  67. package/esm2022/filtering/menu/filter-menu-input-wrapper.component.mjs +25 -5
  68. package/esm2022/filtering/menu/filter-menu.component.mjs +44 -29
  69. package/esm2022/filtering/menu/numeric-filter-menu.component.mjs +5 -1
  70. package/esm2022/filtering/menu/string-filter-menu.component.mjs +5 -1
  71. package/esm2022/grid.component.mjs +291 -55
  72. package/esm2022/grid.module.mjs +114 -101
  73. package/esm2022/index.mjs +10 -1
  74. package/esm2022/localization/messages.mjs +104 -2
  75. package/esm2022/navigation/navigation.service.mjs +1 -1
  76. package/esm2022/navigation/toolbar-tool-name.mjs +17 -0
  77. package/esm2022/package-metadata.mjs +2 -2
  78. package/esm2022/pdf/pdf-command-tool.directive.mjs +12 -15
  79. package/esm2022/rendering/cell.component.mjs +4 -4
  80. package/esm2022/rendering/header/header.component.mjs +1 -1
  81. package/esm2022/rendering/list.component.mjs +1 -1
  82. package/esm2022/rendering/table-body.component.mjs +11 -3
  83. package/esm2022/rendering/toolbar/tools/column-chooser-tool.directive.mjs +201 -0
  84. package/esm2022/rendering/toolbar/tools/filter-command-tool.directive.mjs +49 -33
  85. package/esm2022/rendering/toolbar/tools/filter-tool-wrapper.component.mjs +28 -8
  86. package/esm2022/rendering/toolbar/tools/filter-toolbar-tool.component.mjs +26 -4
  87. package/esm2022/rendering/toolbar/tools/sort-command-tool.directive.mjs +33 -17
  88. package/esm2022/rendering/toolbar/tools/sort-toolbar-tool.component.mjs +24 -8
  89. package/esm2022/row-reordering/row-reorder.service.mjs +15 -0
  90. package/esm2022/selection/selection.service.mjs +11 -0
  91. package/esm2022/state-management/grid-state.models.mjs +26 -0
  92. package/esm2022/state-management/redo-command-tool.mjs +66 -0
  93. package/esm2022/state-management/undo-command-tool.mjs +66 -0
  94. package/esm2022/state-management/undo-redo.directive.mjs +178 -0
  95. package/esm2022/state-management/undo-redo.service.mjs +22 -0
  96. package/esm2022/state-management/undo-redo.stack.mjs +232 -0
  97. package/esm2022/utils.mjs +13 -13
  98. package/excel/excel-command-tool.directive.d.ts +5 -5
  99. package/fesm2022/progress-kendo-angular-grid.mjs +4066 -1351
  100. package/filtering/filter-input.directive.d.ts +1 -0
  101. package/filtering/menu/date-filter-menu-input.component.d.ts +1 -1
  102. package/filtering/menu/filter-menu-container.component.d.ts +14 -4
  103. package/filtering/menu/filter-menu-input-wrapper.component.d.ts +8 -3
  104. package/filtering/menu/filter-menu.component.d.ts +6 -3
  105. package/grid.component.d.ts +71 -21
  106. package/grid.module.d.ts +107 -100
  107. package/index.d.ts +9 -1
  108. package/localization/messages.d.ts +70 -2
  109. package/navigation/toolbar-tool-name.d.ts +17 -0
  110. package/package.json +21 -20
  111. package/pdf/pdf-command-tool.directive.d.ts +6 -5
  112. package/rendering/cell.component.d.ts +1 -1
  113. package/{column-menu → rendering/toolbar/tools}/column-chooser-tool.directive.d.ts +17 -6
  114. package/rendering/toolbar/tools/filter-command-tool.directive.d.ts +4 -1
  115. package/rendering/toolbar/tools/filter-tool-wrapper.component.d.ts +6 -5
  116. package/rendering/toolbar/tools/filter-toolbar-tool.component.d.ts +4 -1
  117. package/rendering/toolbar/tools/sort-command-tool.directive.d.ts +4 -1
  118. package/rendering/toolbar/tools/sort-toolbar-tool.component.d.ts +5 -1
  119. package/row-reordering/row-reorder.service.d.ts +2 -0
  120. package/schematics/ngAdd/index.js +4 -4
  121. package/selection/selection.service.d.ts +1 -0
  122. package/state-management/grid-state.models.d.ts +58 -0
  123. package/state-management/redo-command-tool.d.ts +38 -0
  124. package/state-management/undo-command-tool.d.ts +38 -0
  125. package/state-management/undo-redo.directive.d.ts +51 -0
  126. package/state-management/undo-redo.service.d.ts +19 -0
  127. package/state-management/undo-redo.stack.d.ts +104 -0
  128. package/utils.d.ts +11 -5
  129. package/esm2022/column-menu/column-chooser-tool.directive.mjs +0 -172
@@ -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 { ChangeDetectorRef, NgZone } from '@angular/core';
6
+ import { EditService } from './edit.service';
7
+ import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
8
+ import { SelectionService } from '../selection/selection.service';
9
+ import { ContextService } from '../common/provider.service';
10
+ import { ToolbarEditingToolBase } from './toolbar-editing-tool-base.directive';
11
+ import * as i0 from "@angular/core";
12
+ /**
13
+ * Represents the `edit` command in the Grid.
14
+ * You can apply this directive to any `kendo-toolbar-button` element inside a
15
+ * ToolbarComponent used in the Grid.
16
+ *
17
+ * When the user clicks the toolbar button that is associated with the directive, the
18
+ * [edit]({% slug api_grid_gridcomponent %}#toc-edit) event is triggered.
19
+ *
20
+ * @example
21
+ * ```html-no-run
22
+ * <kendo-grid>
23
+ * <kendo-toolbar>
24
+ * <kendo-toolbar-button text="Edit" kendoGridEditTool></kendo-toolbar-button>
25
+ * </kendo-toolbar>
26
+ * </kendo-grid>
27
+ * ```
28
+ */
29
+ export declare class EditCommandToolbarDirective extends ToolbarEditingToolBase {
30
+ editService: EditService;
31
+ constructor(editService: EditService, host: ToolBarButtonComponent, selection: SelectionService, ctx: ContextService, zone: NgZone, cdr: ChangeDetectorRef);
32
+ /**
33
+ * @hidden
34
+ */
35
+ onClick(e: any): void;
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditCommandToolbarDirective, never>;
37
+ static ɵdir: i0.ɵɵDirectiveDeclaration<EditCommandToolbarDirective, "[kendoGridEditTool]", never, {}, {}, never, never, true, never>;
38
+ }
@@ -33,7 +33,7 @@ export declare class EditService {
33
33
  ngZone: NgZone;
34
34
  changes: EventEmitter<CommandEvent>;
35
35
  changed: Observable<any>;
36
- private editedIndices;
36
+ editedIndices: Entity[];
37
37
  private newItemGroup;
38
38
  private keepEditCell;
39
39
  private keepCellTimeout;
@@ -0,0 +1,39 @@
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 { ChangeDetectorRef, NgZone } from '@angular/core';
6
+ import { EditService } from './edit.service';
7
+ import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
8
+ import { SelectionService } from '../selection/selection.service';
9
+ import { ContextService } from '../common/provider.service';
10
+ import { ToolbarEditingToolBase } from './toolbar-editing-tool-base.directive';
11
+ import * as i0 from "@angular/core";
12
+ /**
13
+ * Represents the `remove` command in the Grid.
14
+ * You can apply this directive to any `kendo-toolbar-button` element inside a
15
+ * ToolbarComponent used in the Grid.
16
+ *
17
+ * When the user clicks the toolbar button that is associated with the directive, the
18
+ * [remove]({% slug api_grid_gridcomponent %}#toc-remove) event is triggered.
19
+ *
20
+ * @example
21
+ * ```html-no-run
22
+ * <kendo-grid>
23
+ * <kendo-toolbar>
24
+ * <kendo-toolbar-button text="Remove row" kendoGridRemoveTool></kendo-toolbar-button>
25
+ * </kendo-toolbar>
26
+ * </kendo-grid>
27
+ * ```
28
+ */
29
+ export declare class RemoveCommandToolbarDirective extends ToolbarEditingToolBase {
30
+ editService: EditService;
31
+ selection: SelectionService;
32
+ constructor(editService: EditService, host: ToolBarButtonComponent, selection: SelectionService, ctx: ContextService, zone: NgZone, cdr: ChangeDetectorRef);
33
+ /**
34
+ * @hidden
35
+ */
36
+ onClick(e: any): void;
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<RemoveCommandToolbarDirective, never>;
38
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RemoveCommandToolbarDirective, "[kendoGridRemoveTool]", never, {}, {}, never, never, true, never>;
39
+ }
@@ -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 { ChangeDetectorRef, NgZone } from '@angular/core';
6
+ import { EditService } from './edit.service';
7
+ import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
8
+ import { SelectionService } from '../selection/selection.service';
9
+ import { ContextService } from '../common/provider.service';
10
+ import { ToolbarEditingToolBase } from './toolbar-editing-tool-base.directive';
11
+ import * as i0 from "@angular/core";
12
+ /**
13
+ * Represents the `save` command in the Grid.
14
+ * You can apply this directive to any `kendo-toolbar-button` element inside a
15
+ * ToolbarComponent used in the Grid.
16
+ *
17
+ * When the user clicks the toolbar button that is associated with the directive, the
18
+ * [save]({% slug api_grid_gridcomponent %}#toc-save) event is triggered.
19
+ *
20
+ * @example
21
+ * ```html-no-run
22
+ * <kendo-grid>
23
+ * <kendo-toolbar>
24
+ * <kendo-toolbar-button text="Save" kendoGridSaveTool></kendo-toolbar-button>
25
+ * </kendo-toolbar>
26
+ * </kendo-grid>
27
+ * ```
28
+ */
29
+ export declare class SaveCommandToolbarDirective extends ToolbarEditingToolBase {
30
+ editService: EditService;
31
+ constructor(editService: EditService, host: ToolBarButtonComponent, selection: SelectionService, ctx: ContextService, zone: NgZone, cdr: ChangeDetectorRef);
32
+ /**
33
+ * @hidden
34
+ */
35
+ onClick(e: any): void;
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<SaveCommandToolbarDirective, never>;
37
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SaveCommandToolbarDirective, "[kendoGridSaveTool]", never, {}, {}, never, never, true, never>;
38
+ }
@@ -0,0 +1,29 @@
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 { ChangeDetectorRef, DoCheck, NgZone } from '@angular/core';
6
+ import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
7
+ import { SelectionService } from '../selection/selection.service';
8
+ import { EditService } from '../editing/edit.service';
9
+ import { ContextService } from '../common/provider.service';
10
+ import { ToolbarToolBase } from '../common/toolbar-tool-base.directive';
11
+ import * as i0 from "@angular/core";
12
+ /**
13
+ * @hidden
14
+ */
15
+ export declare abstract class ToolbarEditingToolBase extends ToolbarToolBase implements DoCheck {
16
+ host: ToolBarButtonComponent;
17
+ commandName: string;
18
+ ctx: ContextService;
19
+ editService?: EditService;
20
+ selection?: SelectionService;
21
+ private isEdited;
22
+ private lastToolState;
23
+ constructor(host: ToolBarButtonComponent, commandName: string, ctx: ContextService, zone: NgZone, cdr: ChangeDetectorRef, editService?: EditService, selection?: SelectionService);
24
+ ngDoCheck(): void;
25
+ get lastSelectionIndex(): number;
26
+ get isSelectionPresent(): boolean;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarEditingToolBase, never>;
28
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ToolbarEditingToolBase, never, never, {}, {}, never, never, false, never>;
29
+ }
@@ -9,6 +9,7 @@ import { EditingDirectiveBase } from './editing-directive-base';
9
9
  import { FormDialogSettings, FormSettings } from '../editing/form';
10
10
  import { FormGroup } from '@angular/forms';
11
11
  import { EditEvent } from '../editing/edit-event-args.interface';
12
+ import { AdaptiveGridService } from '../common/adaptiveness.service';
12
13
  import * as i0 from "@angular/core";
13
14
  /**
14
15
  * A directive which encapsulates the editing operations of the Grid when using the
@@ -17,6 +18,7 @@ import * as i0 from "@angular/core";
17
18
  export declare class ExternalEditingDirective extends EditingDirectiveBase {
18
19
  protected grid: GridComponent;
19
20
  protected localDataChangesService: LocalDataChangesService;
21
+ private adaptiveGridService;
20
22
  /**
21
23
  * The function that creates the `FormGroup` for the edited model.
22
24
  */
@@ -29,7 +31,7 @@ export declare class ExternalEditingDirective extends EditingDirectiveBase {
29
31
  * Allows you to customize the Dialog that contains the edit form.
30
32
  */
31
33
  dialogSettings: FormDialogSettings;
32
- constructor(grid: GridComponent, localDataChangesService: LocalDataChangesService);
34
+ constructor(grid: GridComponent, localDataChangesService: LocalDataChangesService, adaptiveGridService: AdaptiveGridService);
33
35
  ngOnInit(): void;
34
36
  /**
35
37
  * @hidden
@@ -0,0 +1,5 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ export {};