@progress/kendo-angular-treelist 24.2.2 → 25.0.0-develop.12

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 (257) hide show
  1. package/fesm2022/progress-kendo-angular-treelist.mjs +540 -536
  2. package/index.d.ts +8735 -170
  3. package/package-metadata.mjs +2 -2
  4. package/package.json +23 -23
  5. package/schematics/ngAdd/index.js +3 -3
  6. package/binding-directives/base-binding.directive.d.ts +0 -72
  7. package/binding-directives/data-bound-tree-component.d.ts +0 -59
  8. package/binding-directives/flat-binding.directive.d.ts +0 -49
  9. package/binding-directives/hierarchy-binding.directive.d.ts +0 -48
  10. package/column-menu/column-chooser-item-checked.directive.d.ts +0 -21
  11. package/column-menu/column-chooser.component.d.ts +0 -68
  12. package/column-menu/column-list-kb-nav.service.d.ts +0 -22
  13. package/column-menu/column-list.component.d.ts +0 -61
  14. package/column-menu/column-locked-change-event.d.ts +0 -20
  15. package/column-menu/column-menu-autosize-all.component.d.ts +0 -37
  16. package/column-menu/column-menu-autosize.component.d.ts +0 -41
  17. package/column-menu/column-menu-chooser.component.d.ts +0 -71
  18. package/column-menu/column-menu-container.component.d.ts +0 -21
  19. package/column-menu/column-menu-expandable-item.interface.d.ts +0 -15
  20. package/column-menu/column-menu-filter.component.d.ts +0 -65
  21. package/column-menu/column-menu-item-base.d.ts +0 -25
  22. package/column-menu/column-menu-item-content-template.directive.d.ts +0 -32
  23. package/column-menu/column-menu-item.component.d.ts +0 -80
  24. package/column-menu/column-menu-item.directive.d.ts +0 -67
  25. package/column-menu/column-menu-lock.component.d.ts +0 -49
  26. package/column-menu/column-menu-settings.interface.d.ts +0 -45
  27. package/column-menu/column-menu-sort.component.d.ts +0 -44
  28. package/column-menu/column-menu-template.directive.d.ts +0 -36
  29. package/column-menu/column-menu.component.d.ts +0 -139
  30. package/column-menu/column-menu.service.d.ts +0 -63
  31. package/column-menu/column-visibility-change-event.d.ts +0 -18
  32. package/column-menu/utils.d.ts +0 -37
  33. package/column-resizing/column-handle.directive.d.ts +0 -41
  34. package/column-resizing/column-resize.interface.d.ts +0 -59
  35. package/column-resizing/column-resizing.service.d.ts +0 -34
  36. package/column-resizing/table.directive.d.ts +0 -33
  37. package/columns/checkbox-column.component.d.ts +0 -45
  38. package/columns/column-base.d.ts +0 -238
  39. package/columns/column-common.d.ts +0 -53
  40. package/columns/column-group.component.d.ts +0 -61
  41. package/columns/column-list.d.ts +0 -21
  42. package/columns/column.component.d.ts +0 -94
  43. package/columns/columns-container.d.ts +0 -27
  44. package/columns/command-column.component.d.ts +0 -42
  45. package/columns/rowreorder-column.component.d.ts +0 -27
  46. package/columns/sort-settings.d.ts +0 -49
  47. package/columns/span-column.component.d.ts +0 -119
  48. package/common/cell-click-event-args.interface.d.ts +0 -50
  49. package/common/column-info.service.d.ts +0 -30
  50. package/common/create-form-group.d.ts +0 -11
  51. package/common/default-track-by.d.ts +0 -9
  52. package/common/dom-events.service.d.ts +0 -21
  53. package/common/error-messages.d.ts +0 -8
  54. package/common/filter-descriptor-differ.d.ts +0 -13
  55. package/common/filter-operator.interface.d.ts +0 -11
  56. package/common/id.service.d.ts +0 -18
  57. package/common/option-changes.service.d.ts +0 -17
  58. package/common/pager-settings.d.ts +0 -65
  59. package/common/preventable-event.d.ts +0 -24
  60. package/common/provider.service.d.ts +0 -27
  61. package/common/remove-confirmation.d.ts +0 -9
  62. package/common/single-popup.service.d.ts +0 -60
  63. package/common/sort.service.d.ts +0 -13
  64. package/data/change-event-args.interface.d.ts +0 -31
  65. package/data/change-notification.service.d.ts +0 -18
  66. package/data/data-item.interface.d.ts +0 -25
  67. package/data/data.collection.d.ts +0 -133
  68. package/data/treelist-item.interface.d.ts +0 -10
  69. package/directives.d.ts +0 -159
  70. package/dragdrop/column-reorder-config.d.ts +0 -14
  71. package/dragdrop/column-reorder-event.d.ts +0 -27
  72. package/dragdrop/column-reorder.service.d.ts +0 -15
  73. package/dragdrop/common.d.ts +0 -38
  74. package/dragdrop/context-types.d.ts +0 -16
  75. package/dragdrop/drag-and-drop.service.d.ts +0 -23
  76. package/dragdrop/drag-hint.service.d.ts +0 -34
  77. package/dragdrop/draggable-column.directive.d.ts +0 -40
  78. package/dragdrop/drop-cue.service.d.ts +0 -18
  79. package/dragdrop/drop-target.directive.d.ts +0 -26
  80. package/editing/add-command-tool.directive.d.ts +0 -35
  81. package/editing/add-command.directive.d.ts +0 -41
  82. package/editing/add-event-args.interface.d.ts +0 -15
  83. package/editing/base-command.directive.d.ts +0 -31
  84. package/editing/cancel-command.directive.d.ts +0 -39
  85. package/editing/cancel-event-args.interface.d.ts +0 -9
  86. package/editing/cell-close-event.d.ts +0 -33
  87. package/editing/edit-command.directive.d.ts +0 -39
  88. package/editing/edit-event-args.interface.d.ts +0 -23
  89. package/editing/edit-template.directive.d.ts +0 -34
  90. package/editing/edit.service.d.ts +0 -78
  91. package/editing/remove-command.directive.d.ts +0 -39
  92. package/editing/remove-event-args.interface.d.ts +0 -15
  93. package/editing/save-command.directive.d.ts +0 -39
  94. package/editing/save-event-args.interface.d.ts +0 -20
  95. package/editing-directives/create-form-group-args.interface.d.ts +0 -9
  96. package/editing-directives/edit-service.interface.d.ts +0 -34
  97. package/editing-directives/editing-directive-base.d.ts +0 -59
  98. package/editing-directives/flat-edit.service.d.ts +0 -15
  99. package/editing-directives/hierarchy-edit.service.d.ts +0 -15
  100. package/editing-directives/in-cell-editing.directive.d.ts +0 -41
  101. package/editing-directives/local-edit.service.d.ts +0 -15
  102. package/editing-directives/reactive-editing.directive.d.ts +0 -34
  103. package/editing-directives/row-editing-directive-base.d.ts +0 -20
  104. package/editing-directives/template-editing.directive.d.ts +0 -36
  105. package/editing-directives/utils.d.ts +0 -13
  106. package/excel/excel-command-tool.directive.d.ts +0 -39
  107. package/excel/excel-command.directive.d.ts +0 -37
  108. package/excel/excel-export-data.interface.d.ts +0 -22
  109. package/excel/excel-export-event.d.ts +0 -12
  110. package/excel/excel.component.d.ts +0 -98
  111. package/excel/excel.module.d.ts +0 -33
  112. package/excel/excel.service.d.ts +0 -19
  113. package/expand-state/expand-event.d.ts +0 -27
  114. package/expand-state/expand-state.service.d.ts +0 -22
  115. package/expand-state/expandable-tree-component.d.ts +0 -32
  116. package/expand-state/expandable.directive.d.ts +0 -58
  117. package/filtering/base-filter-cell.component.d.ts +0 -78
  118. package/filtering/boolean-filter.component.d.ts +0 -57
  119. package/filtering/cell/autocomplete-filter-cell.component.d.ts +0 -32
  120. package/filtering/cell/boolean-filter-cell.component.d.ts +0 -41
  121. package/filtering/cell/date-filter-cell.component.d.ts +0 -46
  122. package/filtering/cell/filter-cell-component.factory.d.ts +0 -12
  123. package/filtering/cell/filter-cell-host.directive.d.ts +0 -17
  124. package/filtering/cell/filter-cell-operators.component.d.ts +0 -112
  125. package/filtering/cell/filter-cell-template.directive.d.ts +0 -35
  126. package/filtering/cell/filter-cell-wrapper.component.d.ts +0 -21
  127. package/filtering/cell/filter-cell.component.d.ts +0 -25
  128. package/filtering/cell/numeric-filter-cell.component.d.ts +0 -57
  129. package/filtering/cell/string-filter-cell.component.d.ts +0 -52
  130. package/filtering/date-filter.component.d.ts +0 -111
  131. package/filtering/filter-component.interface.d.ts +0 -13
  132. package/filtering/filter-host.directive.d.ts +0 -35
  133. package/filtering/filter-input-wrapper.component.d.ts +0 -39
  134. package/filtering/filter-input.directive.d.ts +0 -35
  135. package/filtering/filter-row.component.d.ts +0 -24
  136. package/filtering/filter.service.d.ts +0 -32
  137. package/filtering/filterable.d.ts +0 -30
  138. package/filtering/menu/boolean-filter-menu.component.d.ts +0 -77
  139. package/filtering/menu/date-filter-menu-input.component.d.ts +0 -49
  140. package/filtering/menu/date-filter-menu.component.d.ts +0 -65
  141. package/filtering/menu/filter-menu-component.factory.d.ts +0 -12
  142. package/filtering/menu/filter-menu-container.component.d.ts +0 -73
  143. package/filtering/menu/filter-menu-dropdownlist.directive.d.ts +0 -19
  144. package/filtering/menu/filter-menu-host.directive.d.ts +0 -22
  145. package/filtering/menu/filter-menu-input-wrapper.component.d.ts +0 -48
  146. package/filtering/menu/filter-menu-template.directive.d.ts +0 -32
  147. package/filtering/menu/filter-menu.component.d.ts +0 -61
  148. package/filtering/menu/filter-radio-button.directive.d.ts +0 -19
  149. package/filtering/menu/menu-tabbing.service.d.ts +0 -18
  150. package/filtering/menu/numeric-filter-menu-input.component.d.ts +0 -43
  151. package/filtering/menu/numeric-filter-menu.component.d.ts +0 -82
  152. package/filtering/menu/string-filter-menu-input.component.d.ts +0 -32
  153. package/filtering/menu/string-filter-menu.component.d.ts +0 -76
  154. package/filtering/numeric-filter.component.d.ts +0 -85
  155. package/filtering/operators/after-eq-filter-operator.component.d.ts +0 -49
  156. package/filtering/operators/after-filter-operator.component.d.ts +0 -49
  157. package/filtering/operators/before-eq-filter-operator.component.d.ts +0 -49
  158. package/filtering/operators/before-filter-operator.component.d.ts +0 -49
  159. package/filtering/operators/contains-filter-operator.component.d.ts +0 -43
  160. package/filtering/operators/ends-with-filter-operator.component.d.ts +0 -43
  161. package/filtering/operators/eq-filter-operator.component.d.ts +0 -91
  162. package/filtering/operators/filter-operator.base.d.ts +0 -44
  163. package/filtering/operators/gt-filter-operator.component.d.ts +0 -42
  164. package/filtering/operators/gte-filter-operator.component.d.ts +0 -42
  165. package/filtering/operators/is-empty-filter-operator.component.d.ts +0 -43
  166. package/filtering/operators/is-not-empty-filter-operator.component.d.ts +0 -43
  167. package/filtering/operators/is-not-null-filter-operator.component.d.ts +0 -91
  168. package/filtering/operators/isnull-filter-operator.component.d.ts +0 -91
  169. package/filtering/operators/lt-filter-operator.component.d.ts +0 -42
  170. package/filtering/operators/lte-filter-operator.component.d.ts +0 -42
  171. package/filtering/operators/neq-filter-operator.component.d.ts +0 -91
  172. package/filtering/operators/not-contains-filter-operator.component.d.ts +0 -43
  173. package/filtering/operators/starts-with-filter-operator.component.d.ts +0 -43
  174. package/filtering/string-filter.component.d.ts +0 -47
  175. package/layout/resizable.directive.d.ts +0 -28
  176. package/layout/resize.service.d.ts +0 -18
  177. package/layout/responsive.service.d.ts +0 -20
  178. package/layout/row-sync.d.ts +0 -8
  179. package/localization/custom-messages.component.d.ts +0 -27
  180. package/localization/localized-messages.directive.d.ts +0 -16
  181. package/localization/messages.d.ts +0 -377
  182. package/navigation/default-focusable-element.d.ts +0 -22
  183. package/navigation/focus-group.d.ts +0 -67
  184. package/navigation/focus-root.d.ts +0 -25
  185. package/navigation/focusable-element.interface.d.ts +0 -34
  186. package/navigation/focusable.directive.d.ts +0 -89
  187. package/navigation/item-map.d.ts +0 -19
  188. package/navigation/logical-cell.directive.d.ts +0 -53
  189. package/navigation/logical-cell.interface.d.ts +0 -19
  190. package/navigation/logical-row.directive.d.ts +0 -37
  191. package/navigation/logical-row.interface.d.ts +0 -14
  192. package/navigation/model-cell.d.ts +0 -25
  193. package/navigation/navigation-cell.interface.d.ts +0 -59
  194. package/navigation/navigation-change.interface.d.ts +0 -13
  195. package/navigation/navigation-cursor.d.ts +0 -48
  196. package/navigation/navigation-metadata.d.ts +0 -20
  197. package/navigation/navigation-mode.d.ts +0 -43
  198. package/navigation/navigation-model.d.ts +0 -27
  199. package/navigation/navigation-row.interface.d.ts +0 -34
  200. package/navigation/navigation.service.d.ts +0 -116
  201. package/navigation/treelist-focusable-element.d.ts +0 -18
  202. package/package-metadata.d.ts +0 -9
  203. package/pdf/export-element.d.ts +0 -10
  204. package/pdf/pdf-command-tool.directive.d.ts +0 -43
  205. package/pdf/pdf-command.directive.d.ts +0 -41
  206. package/pdf/pdf-export-event.d.ts +0 -16
  207. package/pdf/pdf-margin.component.d.ts +0 -24
  208. package/pdf/pdf-margin.interface.d.ts +0 -9
  209. package/pdf/pdf-template.directive.d.ts +0 -34
  210. package/pdf/pdf.component.d.ts +0 -76
  211. package/pdf/pdf.module.d.ts +0 -36
  212. package/pdf/pdf.service.d.ts +0 -24
  213. package/pdf/treelist-query.d.ts +0 -26
  214. package/rendering/cell-template.directive.d.ts +0 -38
  215. package/rendering/cell.component.d.ts +0 -64
  216. package/rendering/common/col-group.component.d.ts +0 -17
  217. package/rendering/common/dom-queries.d.ts +0 -64
  218. package/rendering/common/field-accessor.pipe.d.ts +0 -18
  219. package/rendering/common/level-items.pipe.d.ts +0 -14
  220. package/rendering/common/loading.component.d.ts +0 -17
  221. package/rendering/common/row-class.d.ts +0 -37
  222. package/rendering/common/spacer.component.d.ts +0 -36
  223. package/rendering/constants.d.ts +0 -28
  224. package/rendering/footer-template.directive.d.ts +0 -34
  225. package/rendering/header/header-template.directive.d.ts +0 -34
  226. package/rendering/header/header.component.d.ts +0 -138
  227. package/rendering/header/select-all-checkbox.directive.d.ts +0 -23
  228. package/rendering/list.component.d.ts +0 -138
  229. package/rendering/no-records-template.directive.d.ts +0 -29
  230. package/rendering/table-body.component.d.ts +0 -101
  231. package/rendering/toolbar/toolbar-focusable.directive.d.ts +0 -42
  232. package/rendering/toolbar/toolbar-navigation.service.d.ts +0 -21
  233. package/rendering/toolbar/toolbar-template.directive.d.ts +0 -37
  234. package/rendering/toolbar/toolbar.component.d.ts +0 -30
  235. package/row-reordering/flat-reorder.service.d.ts +0 -16
  236. package/row-reordering/hierarchical-reorder.service.d.ts +0 -16
  237. package/row-reordering/row-reorder.service.d.ts +0 -72
  238. package/row-reordering/types.d.ts +0 -42
  239. package/row-reordering/utils.d.ts +0 -85
  240. package/scrolling/content-scroll-event.d.ts +0 -43
  241. package/scrolling/row-height.service.d.ts +0 -15
  242. package/scrolling/scroll-bottom-event.d.ts +0 -16
  243. package/scrolling/scroll-request.service.d.ts +0 -28
  244. package/scrolling/scroll-sync.service.d.ts +0 -36
  245. package/scrolling/scroller.service.d.ts +0 -49
  246. package/scrolling/scrollmode.d.ts +0 -18
  247. package/scrolling/suspend.service.d.ts +0 -13
  248. package/selection/is-selected.d.ts +0 -17
  249. package/selection/marquee.directive.d.ts +0 -38
  250. package/selection/selectable-settings.d.ts +0 -44
  251. package/selection/selectable.directive.d.ts +0 -87
  252. package/selection/selection-change-event.d.ts +0 -44
  253. package/selection/selection-state.d.ts +0 -34
  254. package/selection/selection.service.d.ts +0 -53
  255. package/treelist.component.d.ts +0 -808
  256. package/treelist.module.d.ts +0 -137
  257. package/utils.d.ts +0 -80
@@ -1,41 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 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, Renderer2, NgZone } from '@angular/core';
6
- import { LocalizationService } from '@progress/kendo-angular-l10n';
7
- import { EditService } from './edit.service';
8
- import { BaseCommandDirective } from './base-command.directive';
9
- import * as i0 from "@angular/core";
10
- /**
11
- * Represents the command for adding a new item to the TreeList. Apply this directive to any `button` element inside a [`ToolbarTemplate`](https://www.telerik.com/kendo-angular-ui/components/treelist/toolbar/toolbar-template) or inside a [`CommandColumnComponent`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/commandcolumncomponent).
12
- *
13
- * When the user clicks a button with this directive, the [`add`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#add) event is triggered ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/editing/custom-editors)).
14
- *
15
- * The button with `kendoTreeListAddCommand` is automatically hidden when the row is in edit mode.
16
- *
17
- * When used in the command column, the directive takes the `cellContext` from the cell template as input.
18
- *
19
- * @example
20
- * ```html
21
- * <kendo-treelist ...>
22
- * <kendo-treelist-command-column title="command">
23
- * <ng-template kendoTreeListCellTemplate let-cellContext="cellContext">
24
- * <button [kendoTreeListAddCommand]="cellContext" class="k-primary">Edit</button>
25
- * </ng-template>
26
- * </kendo-treelist-command-column>
27
- * </kendo-treelist>
28
- * ```
29
- */
30
- export declare class AddCommandDirective extends BaseCommandDirective {
31
- /**
32
- * Provides the `cellContext` to the template.
33
- */
34
- cellContext: any;
35
- commandClass: boolean;
36
- protected readVisible: boolean;
37
- constructor(editService: EditService, element: ElementRef, renderer: Renderer2, localization: LocalizationService, ngZone: NgZone);
38
- protected onClick(): void;
39
- static ɵfac: i0.ɵɵFactoryDeclaration<AddCommandDirective, never>;
40
- static ɵcmp: i0.ɵɵComponentDeclaration<AddCommandDirective, "[kendoTreeListAddCommand]", never, { "cellContext": { "alias": "kendoTreeListAddCommand"; "required": false; }; }, {}, never, ["*"], true, never>;
41
- }
@@ -1,15 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { EditEvent } from "./edit-event-args.interface";
6
- /**
7
- * Provides arguments for the `add` event. Use this interface to access the parent data item when adding a new row to the TreeList.
8
- *
9
- */
10
- export interface AddEvent extends EditEvent {
11
- /**
12
- * Specifies the data item of the parent row, if any.
13
- */
14
- parent: any;
15
- }
@@ -1,31 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 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, Renderer2, NgZone } from '@angular/core';
6
- import { Button } from '@progress/kendo-angular-buttons';
7
- import { LocalizationService } from '@progress/kendo-angular-l10n';
8
- import { EditService } from './edit.service';
9
- import * as i0 from "@angular/core";
10
- /**
11
- * @hidden
12
- */
13
- export declare abstract class BaseCommandDirective extends Button {
14
- protected editService: EditService;
15
- /**
16
- * @hidden
17
- */
18
- get visible(): string;
19
- abstract cellContext: any;
20
- protected abstract readVisible: boolean;
21
- protected abstract onClick(): void;
22
- protected get isEdited(): boolean;
23
- protected get dataItem(): boolean;
24
- /**
25
- * @hidden
26
- */
27
- clickHandler(e: any): void;
28
- constructor(editService: EditService, element: ElementRef, renderer: Renderer2, localization: LocalizationService, ngZone: NgZone);
29
- static ɵfac: i0.ɵɵFactoryDeclaration<BaseCommandDirective, never>;
30
- static ɵcmp: i0.ɵɵComponentDeclaration<BaseCommandDirective, "[kendoTreeListBaseCommand]", never, {}, {}, never, ["*"], true, never>;
31
- }
@@ -1,39 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 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, Renderer2, NgZone } from '@angular/core';
6
- import { LocalizationService } from '@progress/kendo-angular-l10n';
7
- import { EditService } from './edit.service';
8
- import { BaseCommandDirective } from './base-command.directive';
9
- import * as i0 from "@angular/core";
10
- /**
11
- * Represents the `cancel` command of the TreeList. Apply this directive to any `button` element inside a [`CommandColumnComponent`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/commandcolumncomponent).
12
- *
13
- * When the user clicks a button with this directive, the [`cancel`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#cancel) event is triggered ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/editing/custom-editors)).
14
- *
15
- * The button with `kendoTreeListCancelCommand` is automatically hidden when the row is not in edit mode. The directive takes the `cellContext` from the cell template as input.
16
- *
17
- * @example
18
- * ```html
19
- * <kendo-treelist ...>
20
- * <kendo-treelist-command-column title="command">
21
- * <ng-template kendoTreeListCellTemplate let-cellContext="cellContext">
22
- * <button [kendoTreeListCancelCommand]="cellContext">Cancel changes</button>
23
- * </ng-template>
24
- * </kendo-treelist-command-column>
25
- * </kendo-treelist>
26
- * ```
27
- */
28
- export declare class CancelCommandDirective extends BaseCommandDirective {
29
- /**
30
- * Provides the `cellContext` to the template.
31
- */
32
- cellContext: any;
33
- commandClass: boolean;
34
- protected readVisible: boolean;
35
- constructor(editService: EditService, element: ElementRef, renderer: Renderer2, localization: LocalizationService, ngZone: NgZone);
36
- protected onClick(): void;
37
- static ɵfac: i0.ɵɵFactoryDeclaration<CancelCommandDirective, never>;
38
- static ɵcmp: i0.ɵɵComponentDeclaration<CancelCommandDirective, "[kendoTreeListCancelCommand]", never, { "cellContext": { "alias": "kendoTreeListCancelCommand"; "required": false; }; }, {}, never, ["*"], true, never>;
39
- }
@@ -1,9 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { SaveEvent } from "./save-event-args.interface";
6
- /**
7
- * Provides arguments for the `cancel` event. Use this type to access the event data when cancelling editing in the TreeList. [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/editing/inline-editing#cancelling-editing).
8
- */
9
- export type CancelEvent = SaveEvent;
@@ -1,33 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { PreventableEvent } from '../common/preventable-event';
6
- import { EditEvent } from "./edit-event-args.interface";
7
- import type { TreeListComponent } from "../treelist.component";
8
- /**
9
- * Provides arguments for the `cellClose` event.
10
- *
11
- */
12
- export declare class CellCloseEvent extends PreventableEvent implements EditEvent {
13
- isNew: boolean;
14
- dataItem: any;
15
- sender: TreeListComponent;
16
- /**
17
- * @hidden
18
- */
19
- action: string;
20
- /**
21
- * Specifies the TreeList column that will be closed.
22
- */
23
- column: any;
24
- /**
25
- * Provides the [`FormGroup`](link:site.data.urls.angular['formgroupapi']) used to edit the cell that will be closed.
26
- */
27
- formGroup: any;
28
- /**
29
- * Provides the DOM event that caused the `cellClose` event. May not be present if `cellClose` was caused by an API call.
30
- */
31
- originalEvent: any;
32
- constructor(options: any);
33
- }
@@ -1,39 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 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, Renderer2, NgZone } from '@angular/core';
6
- import { LocalizationService } from '@progress/kendo-angular-l10n';
7
- import { EditService } from './edit.service';
8
- import { BaseCommandDirective } from './base-command.directive';
9
- import * as i0 from "@angular/core";
10
- /**
11
- * Represents the `edit` command of the TreeList. Apply this directive to any `button` element inside a [`CommandColumnComponent`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/commandcolumncomponent).
12
- *
13
- * When the user clicks a button with this directive, the [`edit`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#edit) event is triggered ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/editing/custom-editors)).
14
- *
15
- * The button with `kendoTreeListEditCommand` is automatically hidden when the row is in edit mode. The directive takes the `cellContext` from the cell template as input.
16
- *
17
- * @example
18
- * ```html
19
- * <kendo-treelist ...>
20
- * <kendo-treelist-command-column title="command">
21
- * <ng-template kendoTreeListCellTemplate let-cellContext="cellContext">
22
- * <button [kendoTreeListEditCommand]="cellContext">Edit</button>
23
- * </ng-template>
24
- * </kendo-treelist-command-column>
25
- * </kendo-treelist>
26
- * ```
27
- */
28
- export declare class EditCommandDirective extends BaseCommandDirective {
29
- /**
30
- * Provides the `cellContext` to the template.
31
- */
32
- cellContext: any;
33
- commandClass: boolean;
34
- protected readVisible: boolean;
35
- constructor(editService: EditService, element: ElementRef, renderer: Renderer2, localization: LocalizationService, ngZone: NgZone);
36
- protected onClick(): void;
37
- static ɵfac: i0.ɵɵFactoryDeclaration<EditCommandDirective, never>;
38
- static ɵcmp: i0.ɵɵComponentDeclaration<EditCommandDirective, "[kendoTreeListEditCommand]", never, { "cellContext": { "alias": "kendoTreeListEditCommand"; "required": false; }; }, {}, never, ["*"], true, never>;
39
- }
@@ -1,23 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import type { TreeListComponent } from "../treelist.component";
6
- /**
7
- * Provides arguments for the [`edit`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#edit) event. Use this interface to access the data item, its state, and the TreeList component instance when editing a row.
8
- *
9
- */
10
- export interface EditEvent {
11
- /**
12
- * Specifies the data item.
13
- */
14
- dataItem: any;
15
- /**
16
- * Indicates if the data item is new or existing.
17
- */
18
- isNew: boolean;
19
- /**
20
- * Provides the `TreeListComponent` instance.
21
- */
22
- sender: TreeListComponent;
23
- }
@@ -1,34 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { TemplateRef } from '@angular/core';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * Represents the column edit-cell template of the TreeList ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/editing/inline-editing)). Use this directive to customize the content of edited cells. To define the cell template, nest an `<ng-template>` tag with the `kendoTreeListEditTemplate` directive inside a `<kendo-treelist-column>` tag.
9
- *
10
- * The template context contains the following fields:
11
- * - `column`&mdash;The current column instance.
12
- * - `dataItem`&mdash;The current data item.
13
- * - `cellContext`&mdash;An object used to pass context information to built-in directives.
14
- * - `formGroup`&mdash;The current [`FormGroup`](link:site.data.urls.angular['formgroupapi']). If you use the TreeList inside [Template-Driven Forms](link:site.data.urls.angular['forms']), `formGroup` is `undefined`.
15
- * - `isNew`&mdash;The state of the current item.
16
- * - `rowIndex`&mdash;The current row index. If inside a new item row, `rowIndex` is `-1`.
17
- *
18
- * @example
19
- * ```html
20
- * <kendo-treelist ...>
21
- * <kendo-treelist-command-column title="command">
22
- * <ng-template kendoTreeListEditTemplate let-rowIndex="rowIndex">
23
- * {{rowIndex}}
24
- * </ng-template>
25
- * </kendo-treelist-command-column>
26
- * </kendo-treelist>
27
- * ```
28
- */
29
- export declare class EditTemplateDirective {
30
- templateRef: TemplateRef<any>;
31
- constructor(templateRef: TemplateRef<any>);
32
- static ɵfac: i0.ɵɵFactoryDeclaration<EditTemplateDirective, [{ optional: true; }]>;
33
- static ɵdir: i0.ɵɵDirectiveDeclaration<EditTemplateDirective, "[kendoTreeListEditTemplate]", never, {}, {}, never, never, true, never>;
34
- }
@@ -1,78 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 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, NgZone } from '@angular/core';
6
- import { FormGroup } from '@angular/forms';
7
- import { Observable } from 'rxjs';
8
- import { EditState } from '../data/data.collection';
9
- import * as i0 from "@angular/core";
10
- /**
11
- * @hidden
12
- */
13
- export type Entity = {
14
- index: number;
15
- group: any;
16
- };
17
- /**
18
- * @hidden
19
- */
20
- export type CommandAction = 'edit' | 'remove' | 'cancel' | 'save' | 'add';
21
- /**
22
- * @hidden
23
- */
24
- export type CommandEvent = {
25
- action: CommandAction;
26
- formGroup?: FormGroup;
27
- isNew?: boolean;
28
- dataItem?: number;
29
- parent?: any;
30
- };
31
- interface EditedItem {
32
- group: FormGroup;
33
- item: any;
34
- }
35
- /**
36
- * @hidden
37
- */
38
- export declare class EditService implements EditState {
39
- ngZone: NgZone;
40
- changes: EventEmitter<CommandEvent>;
41
- changed: Observable<any>;
42
- get newItemGroup(): FormGroup;
43
- newItem: any;
44
- idGetter: any;
45
- private edited;
46
- private keepEditCell;
47
- private keepCellTimeout;
48
- private column;
49
- private closingCell;
50
- private changedSource;
51
- constructor(ngZone: NgZone);
52
- editRow(dataItem: any, group?: any): void;
53
- addRow(parent: any, group?: any): void;
54
- editCell(item: any, column: any, group?: any): void;
55
- isEditing(): boolean;
56
- isEdited(dataItem: any): boolean;
57
- isEditingCell(): boolean;
58
- isEditingColumn(column: any): boolean;
59
- isEditedColumn(column: any): boolean;
60
- hasNew(parent?: any): boolean;
61
- get newDataItem(): any;
62
- close(item: any, isNew?: boolean): void;
63
- closeCell(originalEvent?: any): boolean;
64
- cancelCell(): void;
65
- shouldCloseCell(): boolean;
66
- preventCellClose(): void;
67
- context(dataItem: any): EditedItem;
68
- beginEdit(item: any): void;
69
- beginAdd(parent?: any): void;
70
- endEdit(dataItem: any, isNew: boolean): void;
71
- save(item: any, isNew: boolean): void;
72
- remove(dataItem: any, parent?: any): void;
73
- private onChanged;
74
- private get first();
75
- static ɵfac: i0.ɵɵFactoryDeclaration<EditService, never>;
76
- static ɵprov: i0.ɵɵInjectableDeclaration<EditService>;
77
- }
78
- export {};
@@ -1,39 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 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, Renderer2, NgZone } from '@angular/core';
6
- import { LocalizationService } from '@progress/kendo-angular-l10n';
7
- import { EditService } from './edit.service';
8
- import { BaseCommandDirective } from './base-command.directive';
9
- import * as i0 from "@angular/core";
10
- /**
11
- * Represents the `remove` command of the TreeList. Apply this directive to any `button` element inside a [`CommandColumnComponent`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/commandcolumncomponent).
12
- *
13
- * When the user clicks a button with this directive, the [`remove` event](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#remove) is triggered ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/editing/inline-editing)).
14
- *
15
- * The button with `kendoTreeListRemoveCommand` is automatically hidden when the row is in edit mode. The directive takes the `cellContext` from the cell template as input.
16
- *
17
- * @example
18
- * ```html
19
- * <kendo-treelist ...>
20
- * <kendo-treelist-command-column title="command">
21
- * <ng-template kendoTreeListCellTemplate let-cellContext="cellContext">
22
- * <button [kendoTreeListRemoveCommand]="cellContext">Remove row</button>
23
- * </ng-template>
24
- * </kendo-treelist-command-column>
25
- * </kendo-treelist>
26
- * ```
27
- */
28
- export declare class RemoveCommandDirective extends BaseCommandDirective {
29
- /**
30
- * Provides the `cellContext` to the template.
31
- */
32
- cellContext: any;
33
- commandClass: boolean;
34
- protected readVisible: boolean;
35
- constructor(editService: EditService, element: ElementRef, renderer: Renderer2, localization: LocalizationService, ngZone: NgZone);
36
- protected onClick(): void;
37
- static ɵfac: i0.ɵɵFactoryDeclaration<RemoveCommandDirective, never>;
38
- static ɵcmp: i0.ɵɵComponentDeclaration<RemoveCommandDirective, "[kendoTreeListRemoveCommand]", never, { "cellContext": { "alias": "kendoTreeListRemoveCommand"; "required": false; }; }, {}, never, ["*"], true, never>;
39
- }
@@ -1,15 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { EditEvent } from "./edit-event-args.interface";
6
- /**
7
- * Provides arguments for the [`remove`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#remove) event. Use this interface to access the parent data item when removing a row from the TreeList.
8
- *
9
- */
10
- export interface RemoveEvent extends EditEvent {
11
- /**
12
- * Specifies the data item of the parent row, if any.
13
- */
14
- parent: any;
15
- }
@@ -1,39 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 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, Renderer2, NgZone } from '@angular/core';
6
- import { LocalizationService } from '@progress/kendo-angular-l10n';
7
- import { EditService } from './edit.service';
8
- import { BaseCommandDirective } from './base-command.directive';
9
- import * as i0 from "@angular/core";
10
- /**
11
- * Represents the `save` command of the TreeList. Apply this directive to any `button` element inside a [`CommandColumnComponent`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/commandcolumncomponent).
12
- *
13
- * When the user clicks a button with this directive, the [`save`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#save) event is triggered ([see example](https://www.telerik.com/kendo-angular-ui/components/treelist/editing)).
14
- *
15
- * The button with `kendoTreeListSaveCommand` is automatically hidden when the row is not in edit mode. The directive takes the `cellContext` from the cell template as input.
16
- *
17
- * @example
18
- * ```html
19
- * <kendo-treelist ...>
20
- * <kendo-treelist-command-column title="command">
21
- * <ng-template kendoTreeListCellTemplate let-cellContext="cellContext">
22
- * <button [kendoTreeListSaveCommand]="cellContext">Save changes</button>
23
- * </ng-template>
24
- * </kendo-treelist-command-column>
25
- * </kendo-treelist>
26
- * ```
27
- */
28
- export declare class SaveCommandDirective extends BaseCommandDirective {
29
- /**
30
- * Provides the `cellContext` to the template.
31
- */
32
- cellContext: any;
33
- commandClass: boolean;
34
- protected readVisible: boolean;
35
- constructor(editService: EditService, element: ElementRef, renderer: Renderer2, localization: LocalizationService, ngZone: NgZone);
36
- protected onClick(): void;
37
- static ɵfac: i0.ɵɵFactoryDeclaration<SaveCommandDirective, never>;
38
- static ɵcmp: i0.ɵɵComponentDeclaration<SaveCommandDirective, "[kendoTreeListSaveCommand]", never, { "cellContext": { "alias": "kendoTreeListSaveCommand"; "required": false; }; }, {}, never, ["*"], true, never>;
39
- }
@@ -1,20 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { EditEvent } from "./edit-event-args.interface";
6
- import { FormGroup } from "@angular/forms";
7
- /**
8
- * Provides arguments for the [`save`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#save) event. Use this interface to access the form group and parent data item when saving a row in the TreeList.
9
- *
10
- */
11
- export interface SaveEvent extends EditEvent {
12
- /**
13
- * Specifies the edited `formGroup` instance.
14
- */
15
- formGroup: FormGroup;
16
- /**
17
- * Specifies the data item of the parent row, if any.
18
- */
19
- parent: any;
20
- }
@@ -1,9 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { EditEvent } from "../editing/edit-event-args.interface";
6
- /**
7
- * The argument passed to the `createFormGroup` function.
8
- */
9
- export type CreateFormGroupArgs = EditEvent;
@@ -1,34 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- /**
6
- * The interface for the `editService` that you can set to the
7
- * [editing directives](https://www.telerik.com/kendo-angular-ui/components/treelist/editing/custom-editing-service) of the TreeList.
8
- */
9
- export interface EditService {
10
- /**
11
- * Creates a new item.
12
- * @param item The item to create.
13
- * @param parent The parent item, if any.
14
- * @param id The unique identifier, if any.
15
- */
16
- create(item: any, parent?: any, id?: any): void;
17
- /**
18
- * Updates the items for an existing item.
19
- * @param item The item to update.
20
- */
21
- update(item: any): void;
22
- /**
23
- * Removes an existing item.
24
- * @param item The item to remove.
25
- * @param parent The parent item, if any.
26
- */
27
- remove(item: any, parent?: any): void;
28
- /**
29
- * Sets new values to an item.
30
- * @param target The item to update.
31
- * @param source The values to assign.
32
- */
33
- assignValues(target: any, source: any): void;
34
- }
@@ -1,59 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { OnInit, OnDestroy } from '@angular/core';
6
- import { EditService } from './edit-service.interface';
7
- import { Subscription } from 'rxjs';
8
- import { RemoveConfirmationCallback } from '../common/remove-confirmation';
9
- import { TreeListComponent } from '../treelist.component';
10
- import * as i0 from "@angular/core";
11
- /**
12
- * @hidden
13
- */
14
- export declare abstract class EditingDirectiveBase implements OnInit, OnDestroy {
15
- protected treelist: TreeListComponent;
16
- /**
17
- * The edit service that handles the operations.
18
- */
19
- set editService(value: EditService);
20
- get editService(): EditService;
21
- /**
22
- * Gets or sets a function that determines the unique identifier
23
- * for new items. The function receives the `item` and its `parent` as parameters
24
- * and must return an ID.
25
- */
26
- set newItemId(callback: (item: any, parent?: any) => any);
27
- get newItemId(): (item: any, parent?: any) => any;
28
- /**
29
- * A function that confirms if the `dataItem` will be removed.
30
- */
31
- removeConfirmation: RemoveConfirmationCallback;
32
- protected subscriptions: Subscription;
33
- protected userEditService: EditService;
34
- protected isNew: boolean;
35
- protected parent: any;
36
- protected dataItem: any;
37
- protected idCallback: any;
38
- protected abstract createModel(args: any): any;
39
- protected abstract saveModel(args: any): any;
40
- constructor(treelist: TreeListComponent);
41
- /**
42
- * @hidden
43
- */
44
- ngOnInit(): void;
45
- /**
46
- * @hidden
47
- */
48
- ngOnDestroy(): void;
49
- protected get defaultEditService(): EditService;
50
- protected addHandler({ parent }: any): void;
51
- protected saveHandler(args: any): void;
52
- protected cancelHandler(args: any): void;
53
- protected removeHandler({ dataItem, parent }: any): void;
54
- protected closeEditor(args?: any): void;
55
- protected clean(): void;
56
- protected onStateChange(): void;
57
- static ɵfac: i0.ɵɵFactoryDeclaration<EditingDirectiveBase, never>;
58
- static ɵdir: i0.ɵɵDirectiveDeclaration<EditingDirectiveBase, never, never, { "editService": { "alias": "editService"; "required": false; }; "newItemId": { "alias": "newItemId"; "required": false; }; "removeConfirmation": { "alias": "removeConfirmation"; "required": false; }; }, {}, never, never, true, never>;
59
- }
@@ -1,15 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { LocalEditService } from './local-edit.service';
6
- /**
7
- * @hidden
8
- */
9
- export declare class FlatEditService extends LocalEditService {
10
- private bindingDirective;
11
- constructor(bindingDirective: any);
12
- create(item: any, parent?: any, id?: any): void;
13
- update(_item: any): void;
14
- remove(item: any, _parent?: any): void;
15
- }
@@ -1,15 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { LocalEditService } from './local-edit.service';
6
- /**
7
- * @hidden
8
- */
9
- export declare class HierarchyEditService extends LocalEditService {
10
- private bindingDirective;
11
- constructor(bindingDirective: any);
12
- create(item: any, parent?: any, _id?: any): void;
13
- update(_item: any): void;
14
- remove(item: any, parent?: any): void;
15
- }