@progress/kendo-angular-treelist 19.1.2-develop.4 → 19.1.2-develop.6

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 (244) hide show
  1. package/binding-directives/base-binding.directive.d.ts +6 -3
  2. package/binding-directives/flat-binding.directive.d.ts +7 -8
  3. package/binding-directives/hierarchy-binding.directive.d.ts +13 -6
  4. package/column-menu/column-chooser.component.d.ts +5 -8
  5. package/column-menu/column-locked-change-event.d.ts +4 -2
  6. package/column-menu/column-menu-autosize-all.component.d.ts +3 -5
  7. package/column-menu/column-menu-autosize.component.d.ts +5 -7
  8. package/column-menu/column-menu-chooser.component.d.ts +15 -6
  9. package/column-menu/column-menu-expandable-item.interface.d.ts +4 -3
  10. package/column-menu/column-menu-filter.component.d.ts +14 -4
  11. package/column-menu/column-menu-item-base.d.ts +1 -1
  12. package/column-menu/column-menu-item-content-template.directive.d.ts +3 -5
  13. package/column-menu/column-menu-item.component.d.ts +7 -10
  14. package/column-menu/column-menu-item.directive.d.ts +23 -1
  15. package/column-menu/column-menu-lock.component.d.ts +14 -4
  16. package/column-menu/column-menu-settings.interface.d.ts +5 -5
  17. package/column-menu/column-menu-sort.component.d.ts +12 -2
  18. package/column-menu/column-menu-template.directive.d.ts +3 -5
  19. package/column-menu/column-menu.component.d.ts +14 -2
  20. package/column-menu/column-menu.service.d.ts +1 -2
  21. package/column-menu/column-visibility-change-event.d.ts +2 -2
  22. package/column-resizing/column-resize.interface.d.ts +3 -2
  23. package/columns/checkbox-column.component.d.ts +16 -4
  24. package/columns/column-base.d.ts +15 -28
  25. package/columns/column-group.component.d.ts +1 -2
  26. package/columns/column.component.d.ts +22 -18
  27. package/columns/command-column.component.d.ts +3 -4
  28. package/columns/rowreorder-column.component.d.ts +9 -1
  29. package/columns/sort-settings.d.ts +5 -23
  30. package/columns/span-column.component.d.ts +11 -16
  31. package/common/cell-click-event-args.interface.d.ts +4 -3
  32. package/common/create-form-group.d.ts +2 -1
  33. package/common/pager-settings.d.ts +7 -8
  34. package/common/remove-confirmation.d.ts +1 -1
  35. package/common/single-popup.service.d.ts +7 -6
  36. package/data/change-event-args.interface.d.ts +6 -7
  37. package/data/data-item.interface.d.ts +5 -5
  38. package/data/data.collection.d.ts +4 -3
  39. package/data/treelist-item.interface.d.ts +2 -2
  40. package/directives.d.ts +10 -9
  41. package/dragdrop/column-reorder-config.d.ts +3 -2
  42. package/dragdrop/column-reorder-event.d.ts +4 -6
  43. package/editing/add-command-tool.directive.d.ts +9 -12
  44. package/editing/add-command.directive.d.ts +5 -9
  45. package/editing/add-event-args.interface.d.ts +3 -2
  46. package/editing/cancel-command.directive.d.ts +5 -8
  47. package/editing/cancel-event-args.interface.d.ts +1 -1
  48. package/editing/cell-close-event.d.ts +5 -5
  49. package/editing/edit-command.directive.d.ts +5 -9
  50. package/editing/edit-event-args.interface.d.ts +4 -3
  51. package/editing/edit-template.directive.d.ts +2 -4
  52. package/editing/remove-command.directive.d.ts +5 -8
  53. package/editing/remove-event-args.interface.d.ts +3 -2
  54. package/editing/save-command.directive.d.ts +5 -8
  55. package/editing/save-event-args.interface.d.ts +4 -3
  56. package/editing-directives/create-form-group-args.interface.d.ts +1 -1
  57. package/editing-directives/edit-service.interface.d.ts +13 -5
  58. package/editing-directives/editing-directive-base.d.ts +3 -3
  59. package/editing-directives/in-cell-editing.directive.d.ts +12 -2
  60. package/editing-directives/reactive-editing.directive.d.ts +12 -2
  61. package/editing-directives/template-editing.directive.d.ts +13 -3
  62. package/esm2022/binding-directives/base-binding.directive.mjs +6 -3
  63. package/esm2022/binding-directives/flat-binding.directive.mjs +7 -8
  64. package/esm2022/binding-directives/hierarchy-binding.directive.mjs +13 -6
  65. package/esm2022/column-menu/column-chooser.component.mjs +5 -8
  66. package/esm2022/column-menu/column-locked-change-event.mjs +4 -2
  67. package/esm2022/column-menu/column-menu-autosize-all.component.mjs +3 -5
  68. package/esm2022/column-menu/column-menu-autosize.component.mjs +5 -7
  69. package/esm2022/column-menu/column-menu-chooser.component.mjs +15 -6
  70. package/esm2022/column-menu/column-menu-filter.component.mjs +14 -4
  71. package/esm2022/column-menu/column-menu-item-base.mjs +1 -1
  72. package/esm2022/column-menu/column-menu-item-content-template.directive.mjs +3 -5
  73. package/esm2022/column-menu/column-menu-item.component.mjs +7 -10
  74. package/esm2022/column-menu/column-menu-item.directive.mjs +23 -1
  75. package/esm2022/column-menu/column-menu-lock.component.mjs +14 -4
  76. package/esm2022/column-menu/column-menu-sort.component.mjs +12 -2
  77. package/esm2022/column-menu/column-menu-template.directive.mjs +3 -5
  78. package/esm2022/column-menu/column-menu.component.mjs +14 -2
  79. package/esm2022/column-menu/column-menu.service.mjs +1 -2
  80. package/esm2022/column-menu/column-visibility-change-event.mjs +2 -2
  81. package/esm2022/columns/checkbox-column.component.mjs +16 -4
  82. package/esm2022/columns/column-base.mjs +15 -28
  83. package/esm2022/columns/column-group.component.mjs +1 -2
  84. package/esm2022/columns/column.component.mjs +22 -18
  85. package/esm2022/columns/command-column.component.mjs +3 -4
  86. package/esm2022/columns/rowreorder-column.component.mjs +9 -1
  87. package/esm2022/columns/span-column.component.mjs +11 -16
  88. package/esm2022/common/single-popup.service.mjs +7 -6
  89. package/esm2022/directives.mjs +10 -9
  90. package/esm2022/dragdrop/column-reorder-event.mjs +4 -6
  91. package/esm2022/editing/add-command-tool.directive.mjs +9 -12
  92. package/esm2022/editing/add-command.directive.mjs +5 -9
  93. package/esm2022/editing/cancel-command.directive.mjs +5 -8
  94. package/esm2022/editing/cell-close-event.mjs +5 -5
  95. package/esm2022/editing/edit-command.directive.mjs +5 -9
  96. package/esm2022/editing/edit-template.directive.mjs +2 -4
  97. package/esm2022/editing/remove-command.directive.mjs +5 -8
  98. package/esm2022/editing/save-command.directive.mjs +5 -8
  99. package/esm2022/editing-directives/editing-directive-base.mjs +3 -3
  100. package/esm2022/editing-directives/in-cell-editing.directive.mjs +12 -2
  101. package/esm2022/editing-directives/reactive-editing.directive.mjs +12 -2
  102. package/esm2022/editing-directives/template-editing.directive.mjs +13 -3
  103. package/esm2022/excel/excel-command-tool.directive.mjs +9 -11
  104. package/esm2022/excel/excel-command.directive.mjs +3 -7
  105. package/esm2022/excel/excel.component.mjs +22 -16
  106. package/esm2022/excel/excel.module.mjs +2 -2
  107. package/esm2022/expand-state/expand-event.mjs +3 -3
  108. package/esm2022/expand-state/expandable.directive.mjs +8 -5
  109. package/esm2022/filtering/base-filter-cell.component.mjs +3 -1
  110. package/esm2022/filtering/cell/boolean-filter-cell.component.mjs +1 -0
  111. package/esm2022/filtering/cell/date-filter-cell.component.mjs +5 -3
  112. package/esm2022/filtering/cell/filter-cell-operators.component.mjs +2 -1
  113. package/esm2022/filtering/cell/filter-cell-template.directive.mjs +18 -3
  114. package/esm2022/filtering/cell/numeric-filter-cell.component.mjs +7 -5
  115. package/esm2022/filtering/cell/string-filter-cell.component.mjs +7 -7
  116. package/esm2022/filtering/date-filter.component.mjs +8 -3
  117. package/esm2022/filtering/filter.service.mjs +2 -4
  118. package/esm2022/filtering/menu/boolean-filter-menu.component.mjs +3 -3
  119. package/esm2022/filtering/menu/date-filter-menu.component.mjs +6 -3
  120. package/esm2022/filtering/menu/filter-menu-template.directive.mjs +18 -2
  121. package/esm2022/filtering/menu/numeric-filter-menu.component.mjs +9 -5
  122. package/esm2022/filtering/menu/string-filter-menu.component.mjs +6 -4
  123. package/esm2022/filtering/numeric-filter.component.mjs +3 -3
  124. package/esm2022/filtering/operators/after-eq-filter-operator.component.mjs +27 -1
  125. package/esm2022/filtering/operators/after-filter-operator.component.mjs +27 -1
  126. package/esm2022/filtering/operators/before-eq-filter-operator.component.mjs +27 -1
  127. package/esm2022/filtering/operators/before-filter-operator.component.mjs +27 -1
  128. package/esm2022/filtering/operators/contains-filter-operator.component.mjs +28 -1
  129. package/esm2022/filtering/operators/ends-with-filter-operator.component.mjs +28 -1
  130. package/esm2022/filtering/operators/eq-filter-operator.component.mjs +76 -1
  131. package/esm2022/filtering/operators/filter-operator.base.mjs +1 -1
  132. package/esm2022/filtering/operators/gt-filter-operator.component.mjs +28 -2
  133. package/esm2022/filtering/operators/gte-filter-operator.component.mjs +27 -1
  134. package/esm2022/filtering/operators/is-empty-filter-operator.component.mjs +28 -1
  135. package/esm2022/filtering/operators/is-not-empty-filter-operator.component.mjs +28 -1
  136. package/esm2022/filtering/operators/is-not-null-filter-operator.component.mjs +76 -1
  137. package/esm2022/filtering/operators/isnull-filter-operator.component.mjs +76 -1
  138. package/esm2022/filtering/operators/lt-filter-operator.component.mjs +27 -1
  139. package/esm2022/filtering/operators/lte-filter-operator.component.mjs +28 -2
  140. package/esm2022/filtering/operators/neq-filter-operator.component.mjs +76 -1
  141. package/esm2022/filtering/operators/not-contains-filter-operator.component.mjs +28 -1
  142. package/esm2022/filtering/operators/starts-with-filter-operator.component.mjs +28 -1
  143. package/esm2022/filtering/string-filter.component.mjs +1 -1
  144. package/esm2022/localization/custom-messages.component.mjs +11 -2
  145. package/esm2022/navigation/focusable.directive.mjs +4 -4
  146. package/esm2022/package-metadata.mjs +2 -2
  147. package/esm2022/pdf/pdf-command-tool.directive.mjs +11 -9
  148. package/esm2022/pdf/pdf-command.directive.mjs +2 -2
  149. package/esm2022/pdf/pdf-export-event.mjs +3 -1
  150. package/esm2022/pdf/pdf-margin.component.mjs +10 -5
  151. package/esm2022/pdf/pdf-template.directive.mjs +2 -2
  152. package/esm2022/pdf/pdf.component.mjs +12 -2
  153. package/esm2022/pdf/pdf.module.mjs +6 -6
  154. package/esm2022/rendering/cell-template.directive.mjs +8 -9
  155. package/esm2022/rendering/common/spacer.component.mjs +16 -5
  156. package/esm2022/rendering/footer-template.directive.mjs +10 -12
  157. package/esm2022/rendering/header/header-template.directive.mjs +4 -4
  158. package/esm2022/rendering/no-records-template.directive.mjs +2 -2
  159. package/esm2022/rendering/toolbar/toolbar-focusable.directive.mjs +13 -2
  160. package/esm2022/rendering/toolbar/toolbar-template.directive.mjs +4 -6
  161. package/esm2022/selection/selectable.directive.mjs +12 -0
  162. package/esm2022/selection/selection-change-event.mjs +1 -1
  163. package/esm2022/treelist.component.mjs +145 -109
  164. package/esm2022/treelist.module.mjs +6 -8
  165. package/esm2022/utils.mjs +1 -1
  166. package/excel/excel-command-tool.directive.d.ts +9 -11
  167. package/excel/excel-command.directive.d.ts +3 -7
  168. package/excel/excel-export-data.interface.d.ts +4 -4
  169. package/excel/excel.component.d.ts +22 -16
  170. package/excel/excel.module.d.ts +2 -2
  171. package/expand-state/expand-event.d.ts +3 -3
  172. package/expand-state/expandable-tree-component.d.ts +4 -6
  173. package/expand-state/expandable.directive.d.ts +8 -5
  174. package/fesm2022/progress-kendo-angular-treelist.mjs +1470 -574
  175. package/filtering/base-filter-cell.component.d.ts +3 -1
  176. package/filtering/cell/boolean-filter-cell.component.d.ts +1 -0
  177. package/filtering/cell/date-filter-cell.component.d.ts +5 -3
  178. package/filtering/cell/filter-cell-operators.component.d.ts +2 -1
  179. package/filtering/cell/filter-cell-template.directive.d.ts +18 -3
  180. package/filtering/cell/numeric-filter-cell.component.d.ts +7 -5
  181. package/filtering/cell/string-filter-cell.component.d.ts +7 -7
  182. package/filtering/date-filter.component.d.ts +8 -3
  183. package/filtering/filter.service.d.ts +2 -4
  184. package/filtering/filterable.d.ts +3 -2
  185. package/filtering/menu/boolean-filter-menu.component.d.ts +3 -3
  186. package/filtering/menu/date-filter-menu.component.d.ts +6 -3
  187. package/filtering/menu/filter-menu-template.directive.d.ts +18 -2
  188. package/filtering/menu/numeric-filter-menu.component.d.ts +9 -5
  189. package/filtering/menu/string-filter-menu.component.d.ts +6 -4
  190. package/filtering/numeric-filter.component.d.ts +3 -3
  191. package/filtering/operators/after-eq-filter-operator.component.d.ts +27 -1
  192. package/filtering/operators/after-filter-operator.component.d.ts +27 -1
  193. package/filtering/operators/before-eq-filter-operator.component.d.ts +27 -1
  194. package/filtering/operators/before-filter-operator.component.d.ts +27 -1
  195. package/filtering/operators/contains-filter-operator.component.d.ts +28 -1
  196. package/filtering/operators/ends-with-filter-operator.component.d.ts +28 -1
  197. package/filtering/operators/eq-filter-operator.component.d.ts +76 -1
  198. package/filtering/operators/filter-operator.base.d.ts +1 -1
  199. package/filtering/operators/gt-filter-operator.component.d.ts +30 -0
  200. package/filtering/operators/gte-filter-operator.component.d.ts +27 -1
  201. package/filtering/operators/is-empty-filter-operator.component.d.ts +28 -1
  202. package/filtering/operators/is-not-empty-filter-operator.component.d.ts +28 -1
  203. package/filtering/operators/is-not-null-filter-operator.component.d.ts +76 -1
  204. package/filtering/operators/isnull-filter-operator.component.d.ts +76 -1
  205. package/filtering/operators/lt-filter-operator.component.d.ts +27 -1
  206. package/filtering/operators/lte-filter-operator.component.d.ts +30 -0
  207. package/filtering/operators/neq-filter-operator.component.d.ts +76 -1
  208. package/filtering/operators/not-contains-filter-operator.component.d.ts +28 -1
  209. package/filtering/operators/starts-with-filter-operator.component.d.ts +28 -1
  210. package/filtering/string-filter.component.d.ts +1 -1
  211. package/localization/custom-messages.component.d.ts +11 -2
  212. package/navigation/focusable-element.interface.d.ts +7 -11
  213. package/navigation/focusable.directive.d.ts +4 -4
  214. package/navigation/navigation-cell.interface.d.ts +5 -5
  215. package/navigation/navigation-row.interface.d.ts +4 -5
  216. package/package.json +18 -18
  217. package/pdf/pdf-command-tool.directive.d.ts +11 -9
  218. package/pdf/pdf-command.directive.d.ts +2 -2
  219. package/pdf/pdf-export-event.d.ts +3 -1
  220. package/pdf/pdf-margin.component.d.ts +10 -5
  221. package/pdf/pdf-margin.interface.d.ts +1 -1
  222. package/pdf/pdf-template.directive.d.ts +2 -2
  223. package/pdf/pdf.component.d.ts +12 -2
  224. package/pdf/pdf.module.d.ts +6 -6
  225. package/rendering/cell-template.directive.d.ts +8 -9
  226. package/rendering/common/row-class.d.ts +4 -7
  227. package/rendering/common/spacer.component.d.ts +16 -5
  228. package/rendering/footer-template.directive.d.ts +10 -12
  229. package/rendering/header/header-template.directive.d.ts +4 -4
  230. package/rendering/no-records-template.directive.d.ts +2 -2
  231. package/rendering/toolbar/toolbar-focusable.directive.d.ts +13 -2
  232. package/rendering/toolbar/toolbar-template.directive.d.ts +4 -6
  233. package/row-reordering/types.d.ts +4 -1
  234. package/schematics/ngAdd/index.js +3 -3
  235. package/scrolling/content-scroll-event.d.ts +2 -0
  236. package/scrolling/scroll-bottom-event.d.ts +2 -0
  237. package/scrolling/scroll-request.service.d.ts +3 -3
  238. package/scrolling/scrollmode.d.ts +3 -3
  239. package/selection/is-selected.d.ts +5 -4
  240. package/selection/selectable-settings.d.ts +6 -6
  241. package/selection/selectable.directive.d.ts +12 -0
  242. package/selection/selection-change-event.d.ts +2 -2
  243. package/treelist.component.d.ts +143 -107
  244. package/treelist.module.d.ts +6 -8
@@ -14,8 +14,8 @@ import * as i5 from "./pdf-command-tool.directive";
14
14
  import * as i6 from "@progress/kendo-angular-icons";
15
15
  // IMPORTANT: NgModule export kept for backwards compatibility
16
16
  /**
17
- * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
18
- * definition for the TreeList PDF component.
17
+ * Represents the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) definition for the TreeList PDF component.
18
+ * Use this module to enable PDF export features of the TreeList inside NgModule-based Angular application.
19
19
  *
20
20
  * @example
21
21
  *
@@ -25,10 +25,10 @@ import * as i6 from "@progress/kendo-angular-icons";
25
25
  * import { TreeListModule, PDFModule } from '@progress/kendo-angular-treelist';
26
26
  * import { AppComponent } from './app.component';
27
27
  *
28
- * _@NgModule({
29
- * declarations: [AppComponent],
30
- * imports: [BrowserModule, TreeListModule, PDFModule],
31
- * bootstrap: [AppComponent]
28
+ * @NgModule({
29
+ * declarations: [AppComponent],
30
+ * imports: [BrowserModule, TreeListModule, PDFModule],
31
+ * bootstrap: [AppComponent]
32
32
  * })
33
33
  * export class AppModule {}
34
34
  * ```
@@ -6,19 +6,18 @@ import { Directive, TemplateRef, Optional } from '@angular/core';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
8
  * Represents the column cell template of the TreeList ([more information and example]({% slug templates_columns_treelist %}#toc-cell-template)).
9
- * Helps to customize the content of the cells. To define the cell template, nest an `<ng-template>` tag
10
- * with the `kendoTreeListCellTemplate` directive inside a `<kendo-treelist-column>` tag.
9
+ * Use this directive to customize the content of the cells. To define the cell template, nest an `<ng-template>` tag with the `kendoTreeListCellTemplate` directive inside a `<kendo-treelist-column>` tag.
11
10
  *
12
- * The template context is set to the current data item and the following additional fields are passed:
13
- * - `columnIndex`&mdash;The current column index. Use it as an alias for a template variable by utilizing the `let-columnIndex="columnIndex"` syntax.
14
- * - `column`&mdash;The current column instance. Use it as an alias for a template variable by utilizing the `let-column="column"` syntax.
15
- * - `dataItem`&mdash;The current data item. Represents the default context that will be assigned to any template variable which utilizes the `let-x` syntax&mdash;for example, `let-dataItem`.
16
- * - `cellContext`&mdash;An object used to pass context information to built-in directives.
11
+ * The template context is set to the current data item and provides the following fields:
12
+ * - `columnIndex`&mdash;The current column index. Use as an alias for a template variable with `let-columnIndex="columnIndex"`.
13
+ * - `column`&mdash;The current column instance. Use as an alias for a template variable with `let-column="column"`.
14
+ * - `dataItem`&mdash;The current data item. Represents the default context for any template variable using `let-x` syntax, for example, `let-dataItem`.
15
+ * - `cellContext`&mdash;An object for passing context information to built-in directives.
17
16
  * - `hasChildren`&mdash;Specifies if the item has children.
18
17
  * - `isExpanded`&mdash;Specifies if the item is expanded.
19
18
  * - `level`&mdash;The hierarchy level of the item.
20
19
  * - `loading`&mdash;Specifies if the item children are currently loading.
21
- * - `rowIndex`&mdash;The current row index. Use it as an alias for a template variable by utilizing the `let-rowIndex="rowIndex"` syntax.
20
+ * - `rowIndex`&mdash;The current row index. Use it as an alias for a template variable with `let-rowIndex="rowIndex"`.
22
21
  *
23
22
  * @example
24
23
  * ```html
@@ -29,7 +28,7 @@ import * as i0 from "@angular/core";
29
28
  * </ng-template>
30
29
  * </kendo-treelist-column>
31
30
  * </kendo-treelist>
32
- *```
31
+ * ```
33
32
  */
34
33
  export class CellTemplateDirective {
35
34
  templateRef;
@@ -7,9 +7,20 @@ import { isPresent } from '../../utils';
7
7
  import * as i0 from "@angular/core";
8
8
  /**
9
9
  * Represents the Kendo UI TreeListSpacer component for Angular.
10
- * Used to give additional white space between the Pager inner elements,
11
- * and provides a way for customizing the spacer width.
12
- * It can also be used in any flex container within the TreeList. [See example](slug:toolbartemplate_treelist#toc-defining-the-spacing-between-toolbar-elements).
10
+ * Use this component to add extra white space between Pager inner elements or to customize the spacer width.
11
+ * You can also use it in any flex container within the TreeList. [See example](slug:toolbartemplate_treelist#toc-defining-the-spacing-between-toolbar-elements).
12
+ *
13
+ * @example
14
+ * ```html
15
+ * <kendo-treelist [data]="data" [fetchChildren]="fetchChildren" [hasChildren]="hasChildren">
16
+ * <ng-template kendoTreeListToolbarTemplate>
17
+ * <kendo-treelist-spacer></kendo-treelist-spacer>
18
+ * <button type="button" kendoTreeListExcelCommand [svgIcon]="fileExcelIcon"> Export to Excel </button>
19
+ * <kendo-treelist-spacer></kendo-treelist-spacer>
20
+ * </ng-template>
21
+ * <kendo-treelist-column field="ProductName" title="Product Name"></kendo-treelist-column>
22
+ * </kendo-treelist>
23
+ * ```
13
24
  */
14
25
  export class TreeListSpacerComponent {
15
26
  hostClass = true;
@@ -21,9 +32,9 @@ export class TreeListSpacerComponent {
21
32
  }
22
33
  /**
23
34
  * Specifies the width of the TreeListSpacer.
24
- * Accepts the [string values of the CSS `flex-basis` property](https://developer.mozilla.org/en-US/docs/Web/CSS/flex-basis).
35
+ * Accepts string values for the [CSS `flex-basis` property](https://developer.mozilla.org/en-US/docs/Web/CSS/flex-basis).
25
36
  *
26
- * If not set, the TreeListSpacer will take all the available space.
37
+ * If not set, the TreeListSpacer takes all available space.
27
38
  */
28
39
  width;
29
40
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TreeListSpacerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
@@ -5,19 +5,17 @@
5
5
  import { Directive, TemplateRef, Optional } from '@angular/core';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
- * Represents the column footer cell template of the TreeList
9
- * ([more information and example]({% slug templates_columns_treelist %}#toc-footer-template)).
10
- * Helps to customize the table footer cell for the column.
11
- * To define a footer template, nest an `<ng-template>` tag with the
12
- * `kendoTreeListFooterTemplate` directive inside the `<kendo-treelist-column>` tag.
8
+ * Represents the column footer cell template of the TreeList ([more information and example]({% slug templates_columns_treelist %}#toc-footer-template)).
9
+ * Use this directive to customize the table footer cell for the column.
10
+ * To define a footer template, nest an `<ng-template>` tag with the `kendoTreeListFooterTemplate` directive inside the `<kendo-treelist-column>` tag.
13
11
  *
14
- * The template context is set to the aggregate values and the following additional fields are passed:
15
- * * `aggregates`&mdash;The aggregates for the level items.
16
- * * `column`&mdash;Defines an instance of the [`ColumnComponent`]({% slug api_treelist_columncomponent %}) option.
17
- * * `columnIndex`&mdash;Defines the current column index.
18
- * * `field`&mdash;The name of the column field, if set.
19
- * * `items`&mdash;The data items on this level.
20
- * * `parentItem`&mdash;The parent data item; `null` for root level items.
12
+ * The template context is set to the aggregate values and provides the following fields:
13
+ * - `aggregates`&mdash;The aggregates for the level items.
14
+ * - `column`&mdash;Defines an instance of the [`ColumnComponent`]({% slug api_treelist_columncomponent %}) option.
15
+ * - `columnIndex`&mdash;Defines the current column index.
16
+ * - `field`&mdash;The name of the column field, if set.
17
+ * - `items`&mdash;The data items on this level.
18
+ * - `parentItem`&mdash;The parent data item; `null` for root level items.
21
19
  *
22
20
  * @example
23
21
  * ```html
@@ -7,13 +7,13 @@ import * as i0 from "@angular/core";
7
7
  /**
8
8
  * Represents the column header cell template of the TreeList
9
9
  * ([more information and example]({% slug templates_columns_treelist %}#toc-header-template)).
10
- * Helps to customize the table header cell for the column.
10
+ * Use this directive to customize the table header cell for the column.
11
11
  * To define a header template, nest an `<ng-template>` tag with the
12
12
  * [`kendoTreeListHeaderTemplate`]({% slug api_treelist_headertemplatedirective %}) directive inside the `<kendo-treelist-column>` tag.
13
13
  *
14
- * The template context is set to the current column and then the following additional fields are passed:
15
- * * `column`&mdash;Defines an instance of the [`ColumnComponent`]({% slug api_treelist_columncomponent %}) option.
16
- * * `columnIndex`&mdash;Defines the current column index.
14
+ * The template context is set to the current column and provides the following fields:
15
+ * - `column`&mdash;Defines an instance of the [`ColumnComponent`]({% slug api_treelist_columncomponent %}) option.
16
+ * - `columnIndex`&mdash;Defines the current column index.
17
17
  *
18
18
  * @example
19
19
  * ```html
@@ -5,7 +5,7 @@
5
5
  import { Directive, TemplateRef, Optional } from '@angular/core';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
- * Represents the no-records template of the TreeList ([see example](slug:norecordtemplate_treelist)). Provides an option to customize the
8
+ * Represents the no-records template of the TreeList ([see example](slug:norecordtemplate_treelist)). Use this directive to customize the
9
9
  * appearance of the item that is displayed when no data is present. To define the no-records template,
10
10
  * nest an `<ng-template>` tag with the `kendoTreeListNoRecordsTemplate` directive inside `<kendo-treelist>`.
11
11
  *
@@ -14,7 +14,7 @@ import * as i0 from "@angular/core";
14
14
  * @example
15
15
  * ```html
16
16
  * <kendo-treelist ... >
17
- * <kendo-treelist-column field="name" ></kendo-treelist-column>
17
+ * <kendo-treelist-column field="name"></kendo-treelist-column>
18
18
  * <ng-template kendoTreeListNoRecordsTemplate>
19
19
  * No data loaded.
20
20
  * </ng-template>
@@ -8,8 +8,19 @@ import { ContextService } from '../../common/provider.service';
8
8
  import * as i0 from "@angular/core";
9
9
  import * as i1 from "../../common/provider.service";
10
10
  /**
11
- * A directive applied to all toolbar elements that need to be a part of the TreeList
12
- * keyboard navigation.
11
+ * A directive for toolbar elements that need to be part of TreeList keyboard navigation.
12
+ * Use this directive to make toolbar elements focusable and accessible with the keyboard.
13
+ *
14
+ * @example
15
+ * ```html
16
+ * <kendo-treelist>
17
+ * <kendo-toolbar>
18
+ * <button kendoTreeListToolbarFocusable>Custom Button</button>
19
+ * <button kendoTreeListCancelCommand>Cancel</button>
20
+ * <button kendoTreeListEditCommand>Edit</button>
21
+ * </kendo-toolbar>
22
+ * </kendo-treelist>
23
+ * ```
13
24
  */
14
25
  export class TreeListToolbarFocusableDirective {
15
26
  host;
@@ -10,15 +10,13 @@ import * as i1 from "../../common/option-changes.service";
10
10
  * Represents the toolbar template of the TreeList ([see example](slug:toolbartemplate_treelist)).
11
11
  *
12
12
  * The template context has the following field:
13
- * - `position`&mdash;The position at which the toolbar template is rendered. The possible values are `top`, `bottom` and `both`.
13
+ * - `position`&mdash;The position at which the toolbar template is rendered. The possible values are `top`, `bottom`, and `both`.
14
14
  *
15
15
  * @example
16
16
  * ```html
17
17
  * <kendo-treelist ...>
18
18
  * <ng-template kendoTreeListToolbarTemplate>
19
- * <button kendoTreeListExcelCommand >
20
- * Export to Excel
21
- * </button>
19
+ * <button kendoTreeListExcelCommand>Export to Excel</button>
22
20
  * </ng-template>
23
21
  * </kendo-treelist>
24
22
  * ```
@@ -28,8 +26,8 @@ export class ToolbarTemplateDirective {
28
26
  optionChanges;
29
27
  _position = "top";
30
28
  /**
31
- * The position of the toolbar ([see example](slug:toolbartemplate_treelist#toc-setting-the-toolbar-position)).
32
- * The group panel or header and the second one below the pager.
29
+ * Sets the position of the toolbar. The value can be `top`, `bottom`, or `both`.
30
+ * Controls whether the toolbar appears above, below, or on both sides of the TreeList. [See example.](slug:toolbartemplate_treelist#toc-setting-the-toolbar-position)
33
31
  * @default 'top'
34
32
  */
35
33
  set position(position) {
@@ -14,6 +14,18 @@ import * as i2 from "./selection.service";
14
14
  const defaultColumnKeyGetter = (_column, columnIndex) => columnIndex;
15
15
  /**
16
16
  * A directive which controls the selection state. [See example](slug:selection_treelist).
17
+ *
18
+ * @example
19
+ * ```html
20
+ * <kendo-treelist
21
+ * [kendoTreeListSelectable]="{ mode: 'row' }"
22
+ * [selectedItems]="selectedItems">
23
+ * <kendo-treelist-column field="name" title="Name"></kendo-treelist-column>
24
+ * <kendo-treelist-column field="age" title="Age"></kendo-treelist-column>
25
+ * </kendo-treelist>
26
+ * ```
27
+ * @remarks
28
+ * Applied to: {@link TreeListComponent}.
17
29
  */
18
30
  export class SelectableDirective {
19
31
  treelist;
@@ -7,7 +7,7 @@
7
7
  */
8
8
  export class SelectionChangeEvent {
9
9
  /**
10
- * Specifies how was the selection changed
10
+ * Specifies how the selection was changed.
11
11
  */
12
12
  action;
13
13
  /**