@progress/kendo-angular-treelist 24.2.2-develop.9 → 25.0.0-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.
Files changed (257) hide show
  1. package/fesm2022/progress-kendo-angular-treelist.mjs +513 -513
  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,72 +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 { DragTargetPressEvent, DragTargetDragEvent, DropTargetEvent } from '@progress/kendo-angular-utils';
6
- import { EventEmitter, Renderer2 } from '@angular/core';
7
- import { DropPosition, RowReorderEvent } from './types';
8
- import { SVGIcon } from '@progress/kendo-svg-icons';
9
- import { ColumnList } from '../columns/column-list';
10
- import * as i0 from "@angular/core";
11
- /**
12
- * @hidden
13
- */
14
- export declare class RowReorderService {
15
- private renderer;
16
- defaultSelectors: {
17
- handle: string;
18
- dragTarget: string;
19
- dropTarget: string;
20
- };
21
- dragTarget: HTMLElement;
22
- dropTarget: HTMLElement;
23
- view: any;
24
- bindingDirective: any;
25
- private offsetY;
26
- private dropIndicator;
27
- private lastDropPosition;
28
- private hintElement;
29
- rowReorder: EventEmitter<RowReorderEvent>;
30
- constructor(renderer: Renderer2);
31
- ngOnDestroy(): void;
32
- press(ev: DragTargetPressEvent): void;
33
- dragStart(): void;
34
- drag(ev: DragTargetDragEvent): void;
35
- dragEnter(ev: DropTargetEvent): void;
36
- dragLeave(): void;
37
- dragEnd(): void;
38
- drop(): void;
39
- get hintIcon(): string;
40
- get hintSVGIcon(): SVGIcon;
41
- getDefaultHintText(columns: ColumnList, data: any): string;
42
- rowReorderArgs(dragRow: HTMLElement, dropRow: HTMLElement, data: Array<any>): RowReorderEvent;
43
- isOverChild(_item: any): boolean;
44
- reorderRows(_ev: RowReorderEvent, _collection: Array<any>, _field?: string): void;
45
- /**
46
- * Triggers row reordering programmatically via keyboard shortcut.
47
- * @param dragRowIndex - The index of the row to move
48
- * @param dropRowIndex - The index of the target row
49
- * @param dropPosition - The position relative to the target row ('before' or 'after')
50
- * @param data - The data array (view)
51
- */
52
- reorderViaKeyboard(dragRowIndex: number, dropRowIndex: number, dropPosition: DropPosition, data: Array<any>): void;
53
- private createVirtualRowElement;
54
- get parentIdField(): string;
55
- get idField(): string;
56
- get childrenField(): string;
57
- get data(): any[];
58
- private getDragRowPerElement;
59
- private createDropIndicator;
60
- private destroyDropIndicator;
61
- private destroyHintElement;
62
- private decorateHint;
63
- private positionDropIndicator;
64
- private decorateDropIndicator;
65
- private getDropPosition;
66
- private updateDropIndicatorPosition;
67
- private shouldHideDropIndicator;
68
- private hide;
69
- private show;
70
- static ɵfac: i0.ɵɵFactoryDeclaration<RowReorderService, never>;
71
- static ɵprov: i0.ɵɵInjectableDeclaration<RowReorderService>;
72
- }
@@ -1,42 +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 arguments for the `rowReorder` event.
7
- */
8
- export interface RowReorderEvent {
9
- /**
10
- * The rows that are currently dragged and the data associated with them.
11
- */
12
- draggedRows: DragRow[];
13
- /**
14
- * The row over which the dragged rows are dropped.
15
- */
16
- dropTargetRow?: DragRow;
17
- /**
18
- * The drop position of the dragged row.
19
- */
20
- dropPosition: DropPosition;
21
- }
22
- /**
23
- * Represents a reorderable data row with an associated data item.
24
- */
25
- export interface DragRow {
26
- /**
27
- * The row data item.
28
- */
29
- dataItem: any;
30
- /**
31
- * The data row index.
32
- */
33
- rowIndex: number;
34
- /**
35
- * The row HTML element.
36
- */
37
- element: HTMLElement;
38
- }
39
- /**
40
- * Specifies the drop position for row reordering.
41
- */
42
- export type DropPosition = 'before' | 'after' | 'over' | 'forbidden';
@@ -1,85 +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
- * @hidden
7
- */
8
- export declare const isNextSibling: (dropTarget: HTMLElement, dragTarget: HTMLElement) => boolean;
9
- /**
10
- * @hidden
11
- */
12
- export declare const isPreviousSibling: (dropTarget: HTMLElement, dragTarget: HTMLElement) => boolean;
13
- /**
14
- * @hidden
15
- */
16
- export declare function getOffset(element: any): {
17
- top: number;
18
- left: number;
19
- };
20
- /**
21
- * @hidden
22
- */
23
- export declare const hintIcons: {
24
- forbidden: string;
25
- before: string;
26
- after: string;
27
- over: string;
28
- };
29
- /**
30
- * @hidden
31
- */
32
- export declare const hintSVGIcons: {
33
- forbidden: import("@progress/kendo-svg-icons").SVGIcon;
34
- before: import("@progress/kendo-svg-icons").SVGIcon;
35
- after: import("@progress/kendo-svg-icons").SVGIcon;
36
- over: import("@progress/kendo-svg-icons").SVGIcon;
37
- };
38
- /**
39
- * @hidden
40
- */
41
- export declare const dropPosition: {
42
- forbidden: string;
43
- before: string;
44
- after: string;
45
- over: string;
46
- };
47
- /**
48
- * @hidden
49
- */
50
- export declare const hintStyles: {
51
- zIndex: string;
52
- display: string;
53
- position: string;
54
- };
55
- /**
56
- * @hidden
57
- */
58
- export declare const hintClasses: string[];
59
- /**
60
- * @hidden
61
- */
62
- export declare const dropIndicatorStyles: {
63
- zIndex: string;
64
- position: string;
65
- };
66
- /**
67
- * @hidden
68
- */
69
- export declare const dropIndicatorClasses: string[];
70
- /**
71
- * @hidden
72
- */
73
- export declare const defaultSelectors: {
74
- handle: string;
75
- dragTarget: string;
76
- dropTarget: string;
77
- };
78
- /**
79
- * @hidden
80
- */
81
- export declare const rowIndexAttr = "data-treelist-view-index";
82
- /**
83
- * @hidden
84
- */
85
- export declare const findParent: (collection: Array<any>, searchItem: any, field: string) => any;
@@ -1,43 +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
- * Arguments for the [`contentScroll`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#contentscroll) event.
7
- *
8
- * Use this event to get information about the scroll position and visible rows or columns in the TreeList.
9
- */
10
- export interface ContentScrollEvent {
11
- /**
12
- * The scroll left position.
13
- */
14
- scrollLeft: number;
15
- /**
16
- * The scroll top position.
17
- */
18
- scrollTop: number;
19
- /**
20
- * The index of the first row visible in the viewport.
21
- * Available only if the treelist is configured for virtual scrolling.
22
- *
23
- * @hidden
24
- */
25
- startRow: number;
26
- /**
27
- * The index of the last row visible in the viewport.
28
- * Available only if the treelist is configured for virtual scrolling.
29
- *
30
- * @hidden
31
- */
32
- endRow: number;
33
- /**
34
- * The index of the first column visible in the viewport.
35
- * Available only if the `virtualColumns` option is set to true.
36
- */
37
- startColumn: number;
38
- /**
39
- * The index of the last column visible in the viewport.
40
- * Available only if the `virtualColumns` option is set to true.
41
- */
42
- endColumn: number;
43
- }
@@ -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
- /**
6
- * @hidden
7
- */
8
- export declare class RowHeightService {
9
- private total;
10
- private rowHeight;
11
- constructor(total: number, rowHeight: number);
12
- index(position: number): number;
13
- offset(rowIndex: number): number;
14
- totalHeight(): number;
15
- }
@@ -1,16 +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 { TreeListComponent } from "../treelist.component";
6
- /**
7
- * Arguments for the [`scrollBottom`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#scrollbottom) event. [See example](https://www.telerik.com/kendo-angular-ui/components/grid/scroll-modes#endless-scrolling).
8
- *
9
- * Use this event to get the TreeListComponent instance when the user scrolls to the bottom.
10
- */
11
- export interface ScrollBottomEvent {
12
- /**
13
- * The instance of the TreeListComponent.
14
- */
15
- sender: TreeListComponent;
16
- }
@@ -1,28 +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 { Subject } from 'rxjs';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * Arguments for the scrollTo method. Specifies the row or column to which the TreeList should scroll.
9
- */
10
- export interface ScrollRequest {
11
- /**
12
- * The row index to which the TreeList should scroll, considering 0 as the first row.
13
- */
14
- row?: number;
15
- /**
16
- * The column index to which the TreeList should scroll, considering 0 as the first column.
17
- */
18
- column?: number;
19
- }
20
- /**
21
- * @hidden
22
- */
23
- export declare class ScrollRequestService {
24
- requests: Subject<ScrollRequest>;
25
- scrollTo(request: ScrollRequest): void;
26
- static ɵfac: i0.ɵɵFactoryDeclaration<ScrollRequestService, never>;
27
- static ɵprov: i0.ɵɵInjectableDeclaration<ScrollRequestService>;
28
- }
@@ -1,36 +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 { NgZone } from '@angular/core';
6
- import { Subject } from 'rxjs';
7
- import * as i0 from "@angular/core";
8
- /**
9
- * @hidden
10
- */
11
- export type ScrollSyncEvent = {
12
- scrollLeft: number;
13
- sourceType: string;
14
- };
15
- /**
16
- * @hidden
17
- */
18
- export declare class ScrollSyncService {
19
- private ngZone;
20
- changes: Subject<ScrollSyncEvent>;
21
- private elements;
22
- private source;
23
- private subscriptions;
24
- private headerSubscription;
25
- private bodySubscription;
26
- constructor(ngZone: NgZone);
27
- registerEmitter(el: any, sourceType: "body" | "header" | "footer"): void;
28
- /**
29
- * destroy
30
- */
31
- destroy(): void;
32
- private scrollLeft;
33
- private unregister;
34
- static ɵfac: i0.ɵɵFactoryDeclaration<ScrollSyncService, never>;
35
- static ɵprov: i0.ɵɵInjectableDeclaration<ScrollSyncService>;
36
- }
@@ -1,49 +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 { Observable, Observer } from 'rxjs';
6
- import { RowHeightService } from './row-height.service';
7
- /**
8
- * @hidden
9
- */
10
- export declare class ScrollAction {
11
- offset: number;
12
- constructor(offset: number);
13
- }
14
- /**
15
- * @hidden
16
- */
17
- export declare class PageAction {
18
- skip: number;
19
- take: number;
20
- constructor(skip: number, take: number);
21
- }
22
- /**
23
- * @hidden
24
- */
25
- export declare class ScrollBottomAction {
26
- }
27
- /**
28
- * @hidden
29
- */
30
- export type Action = ScrollAction | ScrollBottomAction | PageAction;
31
- /**
32
- * @hidden
33
- */
34
- export declare class ScrollerService {
35
- private scrollObservable;
36
- private firstLoaded;
37
- private lastLoaded;
38
- private lastScrollTop;
39
- private take;
40
- private total;
41
- private rowHeightService;
42
- private scrollSubscription;
43
- private subscription;
44
- constructor(scrollObservable: Observable<any>);
45
- create(rowHeightService: RowHeightService, skip: number, take: number, total: number, scrollTop?: number): Observable<Action>;
46
- destroy(): void;
47
- protected onScroll({ scrollTop, offsetHeight, scrollHeight, clientHeight }: any, observer: Observer<Action>): void;
48
- private unsubscribe;
49
- }
@@ -1,18 +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 scroll mode of the TreeList.
7
- *
8
- * The available values are:
9
- * - `none`&mdash;Scrollbars are hidden. The TreeList cannot be scrolled.
10
- * - `scrollable`&mdash;Displays scrollbars in TreeList.
11
- * - `virtual`&mdash;Enables the [virtual scroll mode](https://www.telerik.com/kendo-angular-ui/components/treelist/scroll-modes/virtual) of the TreeList.
12
- *
13
- * @example
14
- * ```html
15
- * <kendo-treelist scrollable="scrollable"></kendo-treelist>
16
- * ```
17
- */
18
- export type ScrollMode = 'none' | 'scrollable' | 'virtual';
@@ -1,13 +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 * as i0 from "@angular/core";
6
- /**
7
- * @hidden
8
- */
9
- export declare class SuspendService {
10
- scroll: boolean;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<SuspendService, never>;
12
- static ɵprov: i0.ɵɵInjectableDeclaration<SuspendService>;
13
- }
@@ -1,17 +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 { ColumnBase } from '../columns/column-base';
6
- /**
7
- * Represents the callback used by the [`isSelected`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#isSelected) property.
8
- * Use this function to determine if a data item is selected.
9
- *
10
- * @example
11
- * ```ts
12
- * public isSelected(dataItem: any, column?: ColumnBase, columnIndex?: number): boolean {
13
- * return dataItem.selected;
14
- * }
15
- * ```
16
- */
17
- export type IsSelectedFn = (dataItem: any, column?: ColumnBase, columnIndex?: number) => boolean;
@@ -1,38 +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 { ChangeDetectorRef } from '@angular/core';
6
- import { DraggableDirective } from '@progress/kendo-angular-common';
7
- import { SelectionService } from './selection.service';
8
- import * as i0 from "@angular/core";
9
- /**
10
- * @hidden
11
- */
12
- export declare class MarqueeDirective {
13
- private draggable;
14
- private selection;
15
- private changeDetector;
16
- get userSelection(): string;
17
- private pressArgs;
18
- private marqueeElement;
19
- private pressTarget;
20
- private currentTarget;
21
- private selectionSelected;
22
- private state;
23
- private subscriptions;
24
- private selectionStarted;
25
- constructor(draggable: DraggableDirective, selection: SelectionService, changeDetector: ChangeDetectorRef);
26
- ngOnInit(): void;
27
- ngOnDestroy(): void;
28
- private cellSelected;
29
- private rowSelected;
30
- private start;
31
- private moveMarquee;
32
- private endSelection;
33
- private clean;
34
- private targetArgs;
35
- private initMarquee;
36
- static ɵfac: i0.ɵɵFactoryDeclaration<MarqueeDirective, never>;
37
- static ɵdir: i0.ɵɵDirectiveDeclaration<MarqueeDirective, "[kendoTreeListSelectionMarquee]", never, {}, {}, never, never, true, never>;
38
- }
@@ -1,44 +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 settings for the selection functionality of the TreeList. [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/selection#setup).
7
- */
8
- export interface SelectableSettings {
9
- /**
10
- * Specifies the selection mode.
11
- */
12
- mode?: 'cell' | 'row';
13
- /**
14
- * Specifies if multiple selection is enabled.
15
- */
16
- multiple?: boolean;
17
- /**
18
- * Specifies the drag selection options.
19
- */
20
- drag?: boolean | {
21
- snap: boolean;
22
- };
23
- /**
24
- * Specifies if the selection functionality is enabled.
25
- * Setting this option to `false` stops all selection-related functionality.
26
- * The end user cannot select or deselect rows or cells.
27
- * Items in the [selectedItems](https://www.telerik.com/kendo-angular-ui/components/treelist/api/selectabledirective#selecteditems) collection are not rendered as selected.
28
- * The [isSelected](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#isselected) callback is ignored.
29
- */
30
- enabled?: boolean;
31
- /**
32
- * Determines if the selection is performed only through clicking a checkbox.
33
- * If enabled, clicking the row itself does not select the row.
34
- * Applicable if at least one checkbox column is present.
35
- */
36
- checkboxOnly?: boolean;
37
- /**
38
- * Setting this option to `true` prevents the end user from selecting and deselecting items.
39
- * When the selection functionality is enabled and `readonly` is set to `true`,
40
- * programmatic selection is still possible by using the [selectedItems](https://www.telerik.com/kendo-angular-ui/components/treelist/api/selectabledirective#selecteditems) collection
41
- * or the [isSelected](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#isselected) callback.
42
- */
43
- readonly?: boolean;
44
- }
@@ -1,87 +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 { OnDestroy, EventEmitter } from '@angular/core';
6
- import { TreeListComponent } from '../treelist.component';
7
- import { SelectionService } from './selection.service';
8
- import * as i0 from "@angular/core";
9
- /**
10
- * The [`kendoTreeListSelectable`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/selectabledirective) state items.
11
- */
12
- export interface SelectionItem {
13
- /**
14
- * The key that identifies the selected item.
15
- */
16
- itemKey: any;
17
- /**
18
- * The key that identifies the selected item column. Available in `cell` selection mode.
19
- */
20
- columnKey?: any;
21
- }
22
- /**
23
- * A directive which controls the selection state. [See example](https://www.telerik.com/kendo-angular-ui/components/treelist/selection).
24
- *
25
- * @example
26
- * ```html
27
- * <kendo-treelist
28
- * [kendoTreeListSelectable]="{ mode: 'row' }"
29
- * [selectedItems]="selectedItems">
30
- * <kendo-treelist-column field="name" title="Name"></kendo-treelist-column>
31
- * <kendo-treelist-column field="age" title="Age"></kendo-treelist-column>
32
- * </kendo-treelist>
33
- * ```
34
- * @remarks
35
- * Applied to: {@link TreeListComponent}.
36
- */
37
- export declare class SelectableDirective implements OnDestroy {
38
- private treelist;
39
- private selectionService;
40
- /**
41
- * @hidden
42
- */
43
- set selectable(value: any);
44
- /**
45
- * Specifies the selected items.
46
- */
47
- set selectedItems(value: SelectionItem[]);
48
- /**
49
- * Fires when the selected items are changed.
50
- */
51
- selectedItemsChange: EventEmitter<SelectionItem[]>;
52
- /**
53
- * The field name or a function that specify the dataItems key.
54
- */
55
- set itemKey(value: string | ((dataItem: any) => any));
56
- /**
57
- * The field name or a function that specify the columns key.
58
- */
59
- set columnKey(value: string | ((column: any, columnIndex: number) => any));
60
- protected get keyGetter(): any;
61
- protected get columnKeyGetter(): any;
62
- protected subscriptions: any;
63
- protected state: any;
64
- protected _settings: any;
65
- protected lastChange: any[];
66
- protected _columnKeyGetter: any;
67
- protected _keyGetter: any;
68
- private _selectedItems;
69
- constructor(treelist: TreeListComponent, selectionService: SelectionService);
70
- ngOnDestroy(): void;
71
- /**
72
- * @hidden
73
- */
74
- protected cellSelected(dataItem: any, column: any, columnIndex: number): boolean;
75
- /**
76
- * @hidden
77
- */
78
- protected rowSelected(dataItem: any): boolean;
79
- protected selectionChange({ action, items }: any): void;
80
- protected emitSelectedItemsChange(): void;
81
- private subscribeSelection;
82
- private unsubscribeSelection;
83
- private updateColumnIndices;
84
- private get leafColumns();
85
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectableDirective, never>;
86
- static ɵdir: i0.ɵɵDirectiveDeclaration<SelectableDirective, "[kendoTreeListSelectable]", ["kendoTreeListSelectable"], { "selectable": { "alias": "selectable"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "itemKey": { "alias": "itemKey"; "required": false; }; "columnKey": { "alias": "columnKey"; "required": false; }; }, { "selectedItemsChange": "selectedItemsChange"; }, never, never, true, never>;
87
- }
@@ -1,44 +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
- import { ColumnBase } from '../columns/column-base';
7
- /**
8
- * The items specified with the [`SelectionChangeEvent`](https://www.telerik.com/kendo-angular-ui/components/treelist/api/treelistcomponent#selectionchange).
9
- */
10
- export interface SelectionChangeItem {
11
- /**
12
- * The changed selection dataItem.
13
- */
14
- dataItem: any;
15
- /**
16
- * The changed selection column. Available only in `cell` selection mode.
17
- */
18
- column?: ColumnBase;
19
- /**
20
- * The changed selection column index. Available only in `cell` selection mode.
21
- */
22
- columnIndex?: number;
23
- }
24
- /**
25
- * Arguments for the TreeList `selectionChange` event.
26
- */
27
- export declare class SelectionChangeEvent {
28
- /**
29
- * Specifies how the selection was changed.
30
- */
31
- action: 'select' | 'add' | 'remove';
32
- /**
33
- * Specifies which items were changed.
34
- */
35
- items: SelectionChangeItem[];
36
- /**
37
- * The TreeList component that triggered the event.
38
- */
39
- sender: TreeListComponent;
40
- /**
41
- * @hidden
42
- */
43
- constructor(action: any, items: SelectionChangeItem[]);
44
- }