@progress/kendo-angular-treelist 17.0.0-develop.21 → 17.0.0-develop.22

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 (373) hide show
  1. package/binding-directives/base-binding.directive.d.ts +1 -1
  2. package/binding-directives/flat-binding.directive.d.ts +1 -1
  3. package/binding-directives/hierarchy-binding.directive.d.ts +1 -1
  4. package/column-menu/column-chooser.component.d.ts +1 -1
  5. package/column-menu/column-list.component.d.ts +1 -1
  6. package/column-menu/column-menu-chooser.component.d.ts +1 -1
  7. package/column-menu/column-menu-filter.component.d.ts +1 -1
  8. package/column-menu/column-menu-item-base.d.ts +1 -1
  9. package/column-menu/column-menu-item.component.d.ts +1 -1
  10. package/column-menu/column-menu.component.d.ts +1 -1
  11. package/column-resizing/column-handle.directive.d.ts +1 -1
  12. package/column-resizing/column-resize.interface.d.ts +3 -3
  13. package/column-resizing/table.directive.d.ts +1 -1
  14. package/columns/checkbox-column.component.d.ts +1 -1
  15. package/columns/column-base.d.ts +1 -1
  16. package/columns/column.component.d.ts +1 -1
  17. package/columns/sort-settings.d.ts +2 -2
  18. package/columns/span-column.component.d.ts +13 -13
  19. package/common/create-form-group.d.ts +1 -1
  20. package/common/provider.service.d.ts +0 -1
  21. package/common/remove-confirmation.d.ts +1 -1
  22. package/data/treelist-item.interface.d.ts +1 -1
  23. package/dragdrop/context-types.d.ts +1 -1
  24. package/dragdrop/draggable-column.directive.d.ts +1 -1
  25. package/dragdrop/drop-target.directive.d.ts +1 -1
  26. package/editing/add-command.directive.d.ts +1 -1
  27. package/editing/cancel-command.directive.d.ts +1 -1
  28. package/editing/cancel-event-args.interface.d.ts +1 -1
  29. package/editing/edit-command.directive.d.ts +1 -1
  30. package/editing/edit.service.d.ts +3 -3
  31. package/editing/remove-command.directive.d.ts +1 -1
  32. package/editing/save-command.directive.d.ts +1 -1
  33. package/editing-directives/create-form-group-args.interface.d.ts +1 -1
  34. package/editing-directives/editing-directive-base.d.ts +1 -1
  35. package/editing-directives/in-cell-editing.directive.d.ts +1 -1
  36. package/editing-directives/reactive-editing.directive.d.ts +1 -1
  37. package/editing-directives/row-editing-directive-base.d.ts +0 -1
  38. package/editing-directives/template-editing.directive.d.ts +1 -2
  39. package/{esm2020 → esm2022}/binding-directives/base-binding.directive.mjs +17 -13
  40. package/{esm2020 → esm2022}/binding-directives/data-bound-tree-component.mjs +3 -3
  41. package/{esm2020 → esm2022}/binding-directives/flat-binding.directive.mjs +29 -21
  42. package/{esm2020 → esm2022}/binding-directives/hierarchy-binding.directive.mjs +26 -19
  43. package/{esm2020 → esm2022}/column-menu/column-chooser.component.mjs +26 -18
  44. package/{esm2020 → esm2022}/column-menu/column-list.component.mjs +28 -16
  45. package/{esm2020 → esm2022}/column-menu/column-locked-change-event.mjs +4 -0
  46. package/{esm2020 → esm2022}/column-menu/column-menu-chooser.component.mjs +28 -25
  47. package/{esm2020 → esm2022}/column-menu/column-menu-filter.component.mjs +23 -22
  48. package/{esm2020 → esm2022}/column-menu/column-menu-item-base.mjs +9 -6
  49. package/{esm2020 → esm2022}/column-menu/column-menu-item-content-template.directive.mjs +4 -3
  50. package/{esm2020 → esm2022}/column-menu/column-menu-item.component.mjs +67 -42
  51. package/{esm2020 → esm2022}/column-menu/column-menu-lock.component.mjs +9 -6
  52. package/{esm2020 → esm2022}/column-menu/column-menu-sort.component.mjs +8 -6
  53. package/{esm2020 → esm2022}/column-menu/column-menu-template.directive.mjs +4 -3
  54. package/{esm2020 → esm2022}/column-menu/column-menu.component.mjs +49 -25
  55. package/{esm2020 → esm2022}/column-menu/column-menu.service.mjs +23 -9
  56. package/{esm2020 → esm2022}/column-menu/column-visibility-change-event.mjs +4 -0
  57. package/{esm2020 → esm2022}/column-resizing/column-handle.directive.mjs +21 -14
  58. package/{esm2020 → esm2022}/column-resizing/column-resizing.service.mjs +8 -8
  59. package/{esm2020 → esm2022}/column-resizing/table.directive.mjs +17 -8
  60. package/{esm2020 → esm2022}/columns/checkbox-column.component.mjs +27 -12
  61. package/{esm2020 → esm2022}/columns/column-base.mjs +140 -72
  62. package/{esm2020 → esm2022}/columns/column-group.component.mjs +24 -20
  63. package/{esm2020 → esm2022}/columns/column-list.mjs +4 -3
  64. package/{esm2020 → esm2022}/columns/column.component.mjs +56 -38
  65. package/{esm2020 → esm2022}/columns/columns-container.mjs +14 -13
  66. package/{esm2020 → esm2022}/columns/command-column.component.mjs +11 -9
  67. package/{esm2020 → esm2022}/columns/rowreorder-column.component.mjs +13 -12
  68. package/{esm2020 → esm2022}/columns/span-column.component.mjs +64 -29
  69. package/{esm2020 → esm2022}/common/column-info.service.mjs +8 -9
  70. package/esm2022/common/dom-events.service.mjs +24 -0
  71. package/{esm2020 → esm2022}/common/id.service.mjs +4 -3
  72. package/{esm2020 → esm2022}/common/option-changes.service.mjs +5 -7
  73. package/{esm2020 → esm2022}/common/preventable-event.mjs +1 -3
  74. package/{esm2020 → esm2022}/common/provider.service.mjs +8 -6
  75. package/{esm2020 → esm2022}/common/single-popup.service.mjs +19 -8
  76. package/{esm2020 → esm2022}/common/sort.service.mjs +1 -3
  77. package/{esm2020 → esm2022}/data/change-notification.service.mjs +6 -4
  78. package/{esm2020 → esm2022}/data/data.collection.mjs +45 -23
  79. package/{esm2020 → esm2022}/dragdrop/column-reorder-event.mjs +14 -0
  80. package/{esm2020 → esm2022}/dragdrop/column-reorder.service.mjs +4 -6
  81. package/{esm2020 → esm2022}/dragdrop/drag-and-drop.service.mjs +6 -8
  82. package/{esm2020 → esm2022}/dragdrop/drag-hint.service.mjs +7 -4
  83. package/{esm2020 → esm2022}/dragdrop/draggable-column.directive.mjs +22 -13
  84. package/{esm2020 → esm2022}/dragdrop/drop-cue.service.mjs +4 -3
  85. package/{esm2020 → esm2022}/dragdrop/drop-target.directive.mjs +10 -8
  86. package/{esm2020 → esm2022}/editing/add-command-tool.directive.mjs +6 -4
  87. package/{esm2020 → esm2022}/editing/add-command.directive.mjs +10 -6
  88. package/{esm2020 → esm2022}/editing/base-command.directive.mjs +9 -8
  89. package/{esm2020 → esm2022}/editing/cancel-command.directive.mjs +10 -6
  90. package/{esm2020 → esm2022}/editing/cell-close-event.mjs +20 -4
  91. package/{esm2020 → esm2022}/editing/edit-command.directive.mjs +10 -6
  92. package/{esm2020 → esm2022}/editing/edit-template.directive.mjs +4 -3
  93. package/{esm2020 → esm2022}/editing/edit.service.mjs +18 -13
  94. package/{esm2020 → esm2022}/editing/remove-command.directive.mjs +10 -6
  95. package/{esm2020 → esm2022}/editing/save-command.directive.mjs +10 -6
  96. package/{esm2020 → esm2022}/editing-directives/editing-directive-base.mjs +17 -7
  97. package/{esm2020 → esm2022}/editing-directives/flat-edit.service.mjs +1 -0
  98. package/{esm2020 → esm2022}/editing-directives/hierarchy-edit.service.mjs +1 -0
  99. package/{esm2020 → esm2022}/editing-directives/in-cell-editing.directive.mjs +8 -3
  100. package/{esm2020 → esm2022}/editing-directives/reactive-editing.directive.mjs +8 -3
  101. package/{esm2020 → esm2022}/editing-directives/row-editing-directive-base.mjs +3 -3
  102. package/{esm2020 → esm2022}/editing-directives/template-editing.directive.mjs +9 -3
  103. package/{esm2020 → esm2022}/excel/excel-command-tool.directive.mjs +6 -4
  104. package/{esm2020 → esm2022}/excel/excel-command.directive.mjs +10 -9
  105. package/{esm2020 → esm2022}/excel/excel-export-event.mjs +1 -0
  106. package/{esm2020 → esm2022}/excel/excel.component.mjs +71 -22
  107. package/{esm2020 → esm2022}/excel/excel.module.mjs +4 -4
  108. package/{esm2020 → esm2022}/excel/excel.service.mjs +7 -8
  109. package/{esm2020 → esm2022}/expand-state/expand-event.mjs +12 -0
  110. package/{esm2020 → esm2022}/expand-state/expand-state.service.mjs +5 -7
  111. package/{esm2020 → esm2022}/expand-state/expandable-tree-component.mjs +3 -3
  112. package/{esm2020 → esm2022}/expand-state/expandable.directive.mjs +23 -19
  113. package/{esm2020 → esm2022}/filtering/base-filter-cell.component.mjs +18 -7
  114. package/{esm2020 → esm2022}/filtering/boolean-filter.component.mjs +31 -24
  115. package/{esm2020 → esm2022}/filtering/cell/autocomplete-filter-cell.component.mjs +15 -13
  116. package/{esm2020 → esm2022}/filtering/cell/boolean-filter-cell.component.mjs +5 -4
  117. package/{esm2020 → esm2022}/filtering/cell/date-filter-cell.component.mjs +11 -10
  118. package/{esm2020 → esm2022}/filtering/cell/filter-cell-host.directive.mjs +3 -3
  119. package/{esm2020 → esm2022}/filtering/cell/filter-cell-operators.component.mjs +53 -33
  120. package/{esm2020 → esm2022}/filtering/cell/filter-cell-template.directive.mjs +4 -3
  121. package/{esm2020 → esm2022}/filtering/cell/filter-cell-wrapper.component.mjs +8 -8
  122. package/{esm2020 → esm2022}/filtering/cell/filter-cell.component.mjs +11 -8
  123. package/{esm2020 → esm2022}/filtering/cell/numeric-filter-cell.component.mjs +23 -17
  124. package/esm2022/filtering/cell/row-filtering.module.mjs +77 -0
  125. package/{esm2020 → esm2022}/filtering/cell/string-filter-cell.component.mjs +23 -18
  126. package/{esm2020 → esm2022}/filtering/date-filter.component.mjs +64 -39
  127. package/{esm2020 → esm2022}/filtering/filter-host.directive.mjs +8 -3
  128. package/{esm2020 → esm2022}/filtering/filter-input-wrapper.component.mjs +11 -8
  129. package/{esm2020 → esm2022}/filtering/filter-input.directive.mjs +21 -13
  130. package/{esm2020 → esm2022}/filtering/filter-row.component.mjs +11 -8
  131. package/{esm2020 → esm2022}/filtering/filter.service.mjs +7 -9
  132. package/{esm2020 → esm2022}/filtering/menu/boolean-filter-menu.component.mjs +22 -15
  133. package/{esm2020 → esm2022}/filtering/menu/date-filter-menu-input.component.mjs +21 -5
  134. package/{esm2020 → esm2022}/filtering/menu/date-filter-menu.component.mjs +22 -21
  135. package/{esm2020 → esm2022}/filtering/menu/filter-menu-container.component.mjs +28 -16
  136. package/{esm2020 → esm2022}/filtering/menu/filter-menu-host.directive.mjs +4 -3
  137. package/{esm2020 → esm2022}/filtering/menu/filter-menu-input-wrapper.component.mjs +9 -7
  138. package/{esm2020 → esm2022}/filtering/menu/filter-menu-template.directive.mjs +4 -3
  139. package/{esm2020 → esm2022}/filtering/menu/filter-menu.component.mjs +20 -8
  140. package/esm2022/filtering/menu/filter-menu.module.mjs +80 -0
  141. package/{esm2020 → esm2022}/filtering/menu/filter-radio-button.directive.mjs +7 -3
  142. package/{esm2020 → esm2022}/filtering/menu/numeric-filter-menu-input.component.mjs +43 -17
  143. package/{esm2020 → esm2022}/filtering/menu/numeric-filter-menu.component.mjs +32 -31
  144. package/{esm2020 → esm2022}/filtering/menu/string-filter-menu-input.component.mjs +12 -5
  145. package/{esm2020 → esm2022}/filtering/menu/string-filter-menu.component.mjs +32 -21
  146. package/{esm2020 → esm2022}/filtering/numeric-filter.component.mjs +51 -28
  147. package/{esm2020 → esm2022}/filtering/operators/after-eq-filter-operator.component.mjs +8 -8
  148. package/{esm2020 → esm2022}/filtering/operators/after-filter-operator.component.mjs +8 -8
  149. package/{esm2020 → esm2022}/filtering/operators/before-eq-filter-operator.component.mjs +8 -8
  150. package/{esm2020 → esm2022}/filtering/operators/before-filter-operator.component.mjs +8 -8
  151. package/{esm2020 → esm2022}/filtering/operators/contains-filter-operator.component.mjs +8 -8
  152. package/{esm2020 → esm2022}/filtering/operators/ends-with-filter-operator.component.mjs +8 -8
  153. package/{esm2020 → esm2022}/filtering/operators/eq-filter-operator.component.mjs +8 -8
  154. package/{esm2020 → esm2022}/filtering/operators/filter-operator.base.mjs +15 -10
  155. package/{esm2020 → esm2022}/filtering/operators/gt-filter-operator.component.mjs +8 -8
  156. package/{esm2020 → esm2022}/filtering/operators/gte-filter-operator.component.mjs +8 -8
  157. package/{esm2020 → esm2022}/filtering/operators/is-empty-filter-operator.component.mjs +8 -8
  158. package/{esm2020 → esm2022}/filtering/operators/is-not-empty-filter-operator.component.mjs +8 -8
  159. package/{esm2020 → esm2022}/filtering/operators/is-not-null-filter-operator.component.mjs +8 -8
  160. package/{esm2020 → esm2022}/filtering/operators/isnull-filter-operator.component.mjs +8 -8
  161. package/{esm2020 → esm2022}/filtering/operators/lt-filter-operator.component.mjs +8 -8
  162. package/{esm2020 → esm2022}/filtering/operators/lte-filter-operator.component.mjs +8 -8
  163. package/{esm2020 → esm2022}/filtering/operators/neq-filter-operator.component.mjs +8 -8
  164. package/{esm2020 → esm2022}/filtering/operators/not-contains-filter-operator.component.mjs +8 -8
  165. package/{esm2020 → esm2022}/filtering/operators/starts-with-filter-operator.component.mjs +8 -8
  166. package/{esm2020 → esm2022}/filtering/shared-filtering.module.mjs +18 -18
  167. package/{esm2020 → esm2022}/filtering/string-filter.component.mjs +20 -15
  168. package/{esm2020 → esm2022}/layout/browser-support.service.mjs +7 -4
  169. package/{esm2020 → esm2022}/layout/resizable.directive.mjs +16 -10
  170. package/{esm2020 → esm2022}/layout/resize.service.mjs +6 -8
  171. package/{esm2020 → esm2022}/layout/responsive.service.mjs +7 -9
  172. package/{esm2020 → esm2022}/localization/custom-messages.component.mjs +9 -8
  173. package/{esm2020 → esm2022}/localization/localized-messages.directive.mjs +9 -8
  174. package/esm2022/localization/messages.mjs +410 -0
  175. package/{esm2020 → esm2022}/navigation/default-focusable-element.mjs +8 -5
  176. package/{esm2020 → esm2022}/navigation/focus-group.mjs +12 -11
  177. package/{esm2020 → esm2022}/navigation/focus-root.mjs +5 -4
  178. package/{esm2020 → esm2022}/navigation/focusable.directive.mjs +18 -10
  179. package/{esm2020 → esm2022}/navigation/item-map.mjs +2 -4
  180. package/{esm2020 → esm2022}/navigation/logical-cell.directive.mjs +35 -22
  181. package/{esm2020 → esm2022}/navigation/logical-row.directive.mjs +19 -13
  182. package/{esm2020 → esm2022}/navigation/model-cell.mjs +11 -0
  183. package/{esm2020 → esm2022}/navigation/navigation-cursor.mjs +10 -8
  184. package/{esm2020 → esm2022}/navigation/navigation-metadata.mjs +13 -6
  185. package/{esm2020 → esm2022}/navigation/navigation-model.mjs +1 -3
  186. package/{esm2020 → esm2022}/navigation/navigation.service.mjs +44 -24
  187. package/{esm2020 → esm2022}/navigation/treelist-focusable-element.mjs +1 -0
  188. package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
  189. package/{esm2020 → esm2022}/pager/pager-context.service.mjs +6 -4
  190. package/{esm2020 → esm2022}/pager/pager-element.component.mjs +24 -16
  191. package/{esm2020 → esm2022}/pager/pager-info.component.mjs +8 -7
  192. package/{esm2020 → esm2022}/pager/pager-input.component.mjs +43 -39
  193. package/{esm2020 → esm2022}/pager/pager-next-buttons.component.mjs +13 -8
  194. package/{esm2020 → esm2022}/pager/pager-numeric-buttons.component.mjs +18 -8
  195. package/{esm2020 → esm2022}/pager/pager-page-sizes.component.mjs +12 -10
  196. package/{esm2020 → esm2022}/pager/pager-prev-buttons.component.mjs +5 -4
  197. package/{esm2020 → esm2022}/pager/pager-template.directive.mjs +4 -3
  198. package/{esm2020 → esm2022}/pager/pager.component.mjs +84 -70
  199. package/esm2022/pager/pager.module.mjs +43 -0
  200. package/{esm2020 → esm2022}/pdf/pdf-command-tool.directive.mjs +6 -4
  201. package/{esm2020 → esm2022}/pdf/pdf-command.directive.mjs +10 -9
  202. package/{esm2020 → esm2022}/pdf/pdf-margin.component.mjs +3 -3
  203. package/{esm2020 → esm2022}/pdf/pdf-template.directive.mjs +3 -3
  204. package/{esm2020 → esm2022}/pdf/pdf.component.mjs +24 -4
  205. package/{esm2020 → esm2022}/pdf/pdf.module.mjs +4 -4
  206. package/{esm2020 → esm2022}/pdf/pdf.service.mjs +8 -9
  207. package/{esm2020 → esm2022}/pdf/treelist-query.mjs +4 -0
  208. package/{esm2020 → esm2022}/rendering/body.module.mjs +4 -4
  209. package/{esm2020 → esm2022}/rendering/cell-template.directive.mjs +4 -3
  210. package/{esm2020 → esm2022}/rendering/cell.component.mjs +38 -25
  211. package/{esm2020 → esm2022}/rendering/common/col-group.component.mjs +5 -7
  212. package/{esm2020 → esm2022}/rendering/common/field-accessor.pipe.mjs +4 -3
  213. package/{esm2020 → esm2022}/rendering/common/level-items.pipe.mjs +3 -3
  214. package/{esm2020 → esm2022}/rendering/common/loading.component.mjs +9 -8
  215. package/{esm2020 → esm2022}/rendering/common/spacer.component.mjs +11 -6
  216. package/{esm2020 → esm2022}/rendering/footer-template.directive.mjs +4 -3
  217. package/{esm2020 → esm2022}/rendering/header/header-template.directive.mjs +4 -3
  218. package/{esm2020 → esm2022}/rendering/header/header.component.mjs +47 -28
  219. package/{esm2020 → esm2022}/rendering/header/header.module.mjs +4 -4
  220. package/{esm2020 → esm2022}/rendering/list.component.mjs +80 -40
  221. package/{esm2020 → esm2022}/rendering/no-records-template.directive.mjs +4 -3
  222. package/{esm2020 → esm2022}/rendering/table-body.component.mjs +42 -18
  223. package/{esm2020 → esm2022}/rendering/toolbar/toolbar-focusable.directive.mjs +9 -7
  224. package/{esm2020 → esm2022}/rendering/toolbar/toolbar-navigation.service.mjs +9 -8
  225. package/{esm2020 → esm2022}/rendering/toolbar/toolbar-template.directive.mjs +10 -8
  226. package/{esm2020 → esm2022}/rendering/toolbar/toolbar.component.mjs +18 -13
  227. package/{esm2020 → esm2022}/row-reordering/flat-reorder.service.mjs +3 -3
  228. package/{esm2020 → esm2022}/row-reordering/hierarchical-reorder.service.mjs +3 -3
  229. package/{esm2020 → esm2022}/row-reordering/row-reorder.service.mjs +14 -9
  230. package/{esm2020 → esm2022}/scrolling/row-height.service.mjs +2 -0
  231. package/{esm2020 → esm2022}/scrolling/scroll-request.service.mjs +4 -6
  232. package/{esm2020 → esm2022}/scrolling/scroll-sync.service.mjs +10 -8
  233. package/{esm2020 → esm2022}/scrolling/scroller.service.mjs +12 -2
  234. package/{esm2020 → esm2022}/scrolling/suspend.service.mjs +4 -6
  235. package/{esm2020 → esm2022}/selection/marquee.directive.mjs +18 -7
  236. package/{esm2020 → esm2022}/selection/selectable.directive.mjs +23 -17
  237. package/{esm2020 → esm2022}/selection/selection-change-event.mjs +12 -0
  238. package/{esm2020 → esm2022}/selection/selection-state.mjs +2 -6
  239. package/{esm2020 → esm2022}/selection/selection.service.mjs +15 -14
  240. package/{esm2020 → esm2022}/shared.module.mjs +4 -4
  241. package/{esm2020 → esm2022}/treelist.component.mjs +462 -390
  242. package/esm2022/treelist.module.mjs +178 -0
  243. package/excel/excel.component.d.ts +1 -1
  244. package/expand-state/expandable.directive.d.ts +1 -1
  245. package/{fesm2020 → fesm2022}/progress-kendo-angular-treelist.mjs +3819 -2455
  246. package/filtering/base-filter-cell.component.d.ts +5 -1
  247. package/filtering/boolean-filter.component.d.ts +2 -7
  248. package/filtering/cell/autocomplete-filter-cell.component.d.ts +2 -7
  249. package/filtering/cell/date-filter-cell.component.d.ts +1 -1
  250. package/filtering/cell/filter-cell-operators.component.d.ts +1 -1
  251. package/filtering/cell/filter-cell-wrapper.component.d.ts +1 -1
  252. package/filtering/cell/filter-cell.component.d.ts +1 -1
  253. package/filtering/cell/numeric-filter-cell.component.d.ts +1 -1
  254. package/filtering/cell/string-filter-cell.component.d.ts +1 -1
  255. package/filtering/date-filter.component.d.ts +2 -11
  256. package/filtering/filter-host.directive.d.ts +2 -2
  257. package/filtering/filter-input-wrapper.component.d.ts +1 -2
  258. package/filtering/filter-input.directive.d.ts +1 -1
  259. package/filtering/filter-row.component.d.ts +1 -2
  260. package/filtering/filterable.d.ts +1 -1
  261. package/filtering/menu/boolean-filter-menu.component.d.ts +1 -1
  262. package/filtering/menu/date-filter-menu-input.component.d.ts +1 -1
  263. package/filtering/menu/date-filter-menu.component.d.ts +1 -7
  264. package/filtering/menu/filter-menu-container.component.d.ts +1 -1
  265. package/filtering/menu/filter-menu-host.directive.d.ts +1 -1
  266. package/filtering/menu/filter-menu-input-wrapper.component.d.ts +1 -1
  267. package/filtering/menu/filter-menu.component.d.ts +1 -4
  268. package/filtering/menu/filter-radio-button.directive.d.ts +1 -1
  269. package/filtering/menu/numeric-filter-menu-input.component.d.ts +1 -1
  270. package/filtering/menu/numeric-filter-menu.component.d.ts +1 -7
  271. package/filtering/menu/string-filter-menu-input.component.d.ts +1 -1
  272. package/filtering/menu/string-filter-menu.component.d.ts +1 -7
  273. package/filtering/numeric-filter.component.d.ts +2 -11
  274. package/filtering/operators/filter-operator.base.d.ts +1 -1
  275. package/filtering/string-filter.component.d.ts +2 -11
  276. package/layout/resizable.directive.d.ts +1 -1
  277. package/localization/messages.d.ts +1 -1
  278. package/navigation/focusable.directive.d.ts +1 -1
  279. package/navigation/logical-cell.directive.d.ts +1 -1
  280. package/navigation/logical-row.directive.d.ts +1 -1
  281. package/package.json +25 -31
  282. package/pager/pager-context.service.d.ts +1 -1
  283. package/pager/pager-next-buttons.component.d.ts +1 -1
  284. package/pager/pager-numeric-buttons.component.d.ts +1 -1
  285. package/pager/pager-page-sizes.component.d.ts +1 -1
  286. package/pager/pager-settings.d.ts +1 -1
  287. package/pager/pager.component.d.ts +1 -1
  288. package/pdf/pdf-margin.interface.d.ts +1 -1
  289. package/pdf/pdf.component.d.ts +1 -7
  290. package/rendering/cell.component.d.ts +1 -1
  291. package/rendering/common/col-group.component.d.ts +1 -1
  292. package/rendering/common/row-class.d.ts +2 -2
  293. package/rendering/common/spacer.component.d.ts +1 -1
  294. package/rendering/header/header.component.d.ts +1 -1
  295. package/rendering/list.component.d.ts +1 -1
  296. package/rendering/table-body.component.d.ts +1 -1
  297. package/rendering/toolbar/toolbar-template.directive.d.ts +1 -1
  298. package/rendering/toolbar/toolbar.component.d.ts +1 -1
  299. package/row-reordering/types.d.ts +1 -1
  300. package/schematics/ngAdd/index.js +3 -3
  301. package/scrolling/scroll-sync.service.d.ts +1 -1
  302. package/scrolling/scroller.service.d.ts +1 -1
  303. package/scrolling/scrollmode.d.ts +1 -1
  304. package/selection/is-selected.d.ts +1 -1
  305. package/selection/selectable.directive.d.ts +1 -1
  306. package/treelist.component.d.ts +1 -1
  307. package/utils.d.ts +1 -1
  308. package/esm2020/common/dom-events.service.mjs +0 -26
  309. package/esm2020/filtering/cell/row-filtering.module.mjs +0 -77
  310. package/esm2020/filtering/menu/filter-menu.module.mjs +0 -80
  311. package/esm2020/localization/messages.mjs +0 -138
  312. package/esm2020/pager/pager.module.mjs +0 -43
  313. package/esm2020/treelist.module.mjs +0 -178
  314. package/fesm2015/progress-kendo-angular-treelist.mjs +0 -21713
  315. /package/{esm2020 → esm2022}/column-menu/column-menu-settings.interface.mjs +0 -0
  316. /package/{esm2020 → esm2022}/column-menu/utils.mjs +0 -0
  317. /package/{esm2020 → esm2022}/column-resizing/column-resize.interface.mjs +0 -0
  318. /package/{esm2020 → esm2022}/columns/column-common.mjs +0 -0
  319. /package/{esm2020 → esm2022}/columns/sort-settings.mjs +0 -0
  320. /package/{esm2020 → esm2022}/common/cell-click-event-args.interface.mjs +0 -0
  321. /package/{esm2020 → esm2022}/common/create-form-group.mjs +0 -0
  322. /package/{esm2020 → esm2022}/common/default-track-by.mjs +0 -0
  323. /package/{esm2020 → esm2022}/common/filter-descriptor-differ.mjs +0 -0
  324. /package/{esm2020 → esm2022}/common/filter-operator.interface.mjs +0 -0
  325. /package/{esm2020 → esm2022}/common/remove-confirmation.mjs +0 -0
  326. /package/{esm2020 → esm2022}/constants.mjs +0 -0
  327. /package/{esm2020 → esm2022}/data/change-event-args.interface.mjs +0 -0
  328. /package/{esm2020 → esm2022}/data/data-item.interface.mjs +0 -0
  329. /package/{esm2020 → esm2022}/data/treelist-item.interface.mjs +0 -0
  330. /package/{esm2020 → esm2022}/directives.mjs +0 -0
  331. /package/{esm2020 → esm2022}/dragdrop/column-reorder-config.mjs +0 -0
  332. /package/{esm2020 → esm2022}/dragdrop/common.mjs +0 -0
  333. /package/{esm2020 → esm2022}/dragdrop/context-types.mjs +0 -0
  334. /package/{esm2020 → esm2022}/editing/add-event-args.interface.mjs +0 -0
  335. /package/{esm2020 → esm2022}/editing/cancel-event-args.interface.mjs +0 -0
  336. /package/{esm2020 → esm2022}/editing/edit-event-args.interface.mjs +0 -0
  337. /package/{esm2020 → esm2022}/editing/remove-event-args.interface.mjs +0 -0
  338. /package/{esm2020 → esm2022}/editing/save-event-args.interface.mjs +0 -0
  339. /package/{esm2020 → esm2022}/editing-directives/create-form-group-args.interface.mjs +0 -0
  340. /package/{esm2020 → esm2022}/editing-directives/edit-service.interface.mjs +0 -0
  341. /package/{esm2020 → esm2022}/editing-directives/local-edit.service.mjs +0 -0
  342. /package/{esm2020 → esm2022}/editing-directives/utils.mjs +0 -0
  343. /package/{esm2020 → esm2022}/excel/excel-export-data.interface.mjs +0 -0
  344. /package/{esm2020 → esm2022}/filtering/cell/filter-cell-component.factory.mjs +0 -0
  345. /package/{esm2020 → esm2022}/filtering/filter-component.interface.mjs +0 -0
  346. /package/{esm2020 → esm2022}/filtering/filterable.mjs +0 -0
  347. /package/{esm2020 → esm2022}/filtering/menu/filter-menu-component.factory.mjs +0 -0
  348. /package/{esm2020 → esm2022}/index.mjs +0 -0
  349. /package/{esm2020 → esm2022}/layout/row-sync.mjs +0 -0
  350. /package/{esm2020 → esm2022}/navigation/focusable-element.interface.mjs +0 -0
  351. /package/{esm2020 → esm2022}/navigation/logical-cell.interface.mjs +0 -0
  352. /package/{esm2020 → esm2022}/navigation/logical-row.interface.mjs +0 -0
  353. /package/{esm2020 → esm2022}/navigation/navigation-cell.interface.mjs +0 -0
  354. /package/{esm2020 → esm2022}/navigation/navigation-change.interface.mjs +0 -0
  355. /package/{esm2020 → esm2022}/navigation/navigation-mode.mjs +0 -0
  356. /package/{esm2020 → esm2022}/navigation/navigation-row.interface.mjs +0 -0
  357. /package/{esm2020 → esm2022}/pager/pager-settings.mjs +0 -0
  358. /package/{esm2020 → esm2022}/pager/pagesize-item.interface.mjs +0 -0
  359. /package/{esm2020 → esm2022}/pdf/export-element.mjs +0 -0
  360. /package/{esm2020 → esm2022}/pdf/pdf-export-event.mjs +0 -0
  361. /package/{esm2020 → esm2022}/pdf/pdf-margin.interface.mjs +0 -0
  362. /package/{esm2020 → esm2022}/progress-kendo-angular-treelist.mjs +0 -0
  363. /package/{esm2020 → esm2022}/rendering/common/dom-queries.mjs +0 -0
  364. /package/{esm2020 → esm2022}/rendering/common/row-class.mjs +0 -0
  365. /package/{esm2020 → esm2022}/rendering/constants.mjs +0 -0
  366. /package/{esm2020 → esm2022}/row-reordering/types.mjs +0 -0
  367. /package/{esm2020 → esm2022}/row-reordering/utils.mjs +0 -0
  368. /package/{esm2020 → esm2022}/scrolling/content-scroll-event.mjs +0 -0
  369. /package/{esm2020 → esm2022}/scrolling/scroll-bottom-event.mjs +0 -0
  370. /package/{esm2020 → esm2022}/scrolling/scrollmode.mjs +0 -0
  371. /package/{esm2020 → esm2022}/selection/is-selected.mjs +0 -0
  372. /package/{esm2020 → esm2022}/selection/selectable-settings.mjs +0 -0
  373. /package/{esm2020 → esm2022}/utils.mjs +0 -0
@@ -22,13 +22,14 @@ import * as i0 from "@angular/core";
22
22
  * ```
23
23
  */
24
24
  export class NoRecordsTemplateDirective {
25
+ templateRef;
25
26
  constructor(templateRef) {
26
27
  this.templateRef = templateRef;
27
28
  }
29
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NoRecordsTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
30
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: NoRecordsTemplateDirective, isStandalone: true, selector: "[kendoTreeListNoRecordsTemplate]", ngImport: i0 });
28
31
  }
29
- NoRecordsTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NoRecordsTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
30
- NoRecordsTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NoRecordsTemplateDirective, isStandalone: true, selector: "[kendoTreeListNoRecordsTemplate]", ngImport: i0 });
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NoRecordsTemplateDirective, decorators: [{
32
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NoRecordsTemplateDirective, decorators: [{
32
33
  type: Directive,
33
34
  args: [{
34
35
  selector: '[kendoTreeListNoRecordsTemplate]',
@@ -46,6 +46,43 @@ const columnCellIndex = (cell, cells) => {
46
46
  * @hidden
47
47
  */
48
48
  export class TableBodyComponent {
49
+ changeNotification;
50
+ editService;
51
+ localization;
52
+ ngZone;
53
+ renderer;
54
+ element;
55
+ domEvents;
56
+ columnInfoService;
57
+ navigationService;
58
+ expandState;
59
+ selection;
60
+ hostClass = true;
61
+ columns = [];
62
+ allColumns;
63
+ noRecordsTemplate;
64
+ view;
65
+ skip = 0;
66
+ filterable;
67
+ noRecordsText;
68
+ isLocked = false;
69
+ lockedColumnsCount = 0;
70
+ totalColumnsCount = 0;
71
+ virtualColumns;
72
+ expandIcons;
73
+ trackBy = defaultTrackBy;
74
+ totalColumns;
75
+ noneIcon = {
76
+ name: 'none',
77
+ content: '',
78
+ viewBox: '0 0 24 24'
79
+ };
80
+ clickSubscription;
81
+ l10nSubscription;
82
+ cellKeydownSubscription;
83
+ clickTimeout;
84
+ headerOffset;
85
+ rowClass = () => null;
49
86
  constructor(changeNotification, editService, localization, ngZone, renderer, element, domEvents, columnInfoService, navigationService, expandState, selection) {
50
87
  this.changeNotification = changeNotification;
51
88
  this.editService = editService;
@@ -58,23 +95,10 @@ export class TableBodyComponent {
58
95
  this.navigationService = navigationService;
59
96
  this.expandState = expandState;
60
97
  this.selection = selection;
61
- this.hostClass = true;
62
- this.columns = [];
63
- this.skip = 0;
64
- this.noRecordsText = this.localization.get('noRecords');
65
- this.isLocked = false;
66
- this.lockedColumnsCount = 0;
67
- this.totalColumnsCount = 0;
68
- this.trackBy = defaultTrackBy;
69
- this.noneIcon = {
70
- name: 'none',
71
- content: '',
72
- viewBox: '0 0 24 24'
73
- };
74
- this.rowClass = () => null;
75
98
  this.cellKeydownSubscription = this.navigationService.cellKeydown.subscribe((args) => this.cellKeydownHandler(args));
76
99
  this.trackByWrapper = this.trackByWrapper.bind(this);
77
100
  this.trackByColumns = this.trackByColumns.bind(this);
101
+ this.noRecordsText = this.localization.get('noRecords');
78
102
  this.selection.registerTable(this);
79
103
  }
80
104
  get newDataItem() {
@@ -348,9 +372,8 @@ export class TableBodyComponent {
348
372
  const viewItem = this.view.at(viewIndex);
349
373
  return viewItem;
350
374
  }
351
- }
352
- TableBodyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TableBodyComponent, deps: [{ token: i1.ChangeNotificationService }, { token: i2.EditService }, { token: i3.LocalizationService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i4.DomEventsService }, { token: i5.ColumnInfoService }, { token: i6.NavigationService }, { token: i7.ExpandStateService }, { token: i8.SelectionService }], target: i0.ɵɵFactoryTarget.Component });
353
- TableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TableBodyComponent, isStandalone: true, selector: "[kendoTreeListTableBody]", inputs: { columns: "columns", allColumns: "allColumns", noRecordsTemplate: "noRecordsTemplate", view: "view", skip: "skip", filterable: "filterable", noRecordsText: "noRecordsText", isLocked: "isLocked", lockedColumnsCount: "lockedColumnsCount", totalColumnsCount: "totalColumnsCount", virtualColumns: "virtualColumns", expandIcons: "expandIcons", trackBy: "trackBy", totalColumns: "totalColumns", rowClass: "rowClass" }, host: { properties: { "class.k-table-tbody": "this.hostClass" } }, usesOnChanges: true, ngImport: i0, template: `
375
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TableBodyComponent, deps: [{ token: i1.ChangeNotificationService }, { token: i2.EditService }, { token: i3.LocalizationService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i4.DomEventsService }, { token: i5.ColumnInfoService }, { token: i6.NavigationService }, { token: i7.ExpandStateService }, { token: i8.SelectionService }], target: i0.ɵɵFactoryTarget.Component });
376
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TableBodyComponent, isStandalone: true, selector: "[kendoTreeListTableBody]", inputs: { columns: "columns", allColumns: "allColumns", noRecordsTemplate: "noRecordsTemplate", view: "view", skip: "skip", filterable: "filterable", noRecordsText: "noRecordsText", isLocked: "isLocked", lockedColumnsCount: "lockedColumnsCount", totalColumnsCount: "totalColumnsCount", virtualColumns: "virtualColumns", expandIcons: "expandIcons", trackBy: "trackBy", totalColumns: "totalColumns", rowClass: "rowClass" }, host: { properties: { "class.k-table-tbody": "this.hostClass" } }, usesOnChanges: true, ngImport: i0, template: `
354
377
  <tr *ngIf="!hasData" class="k-grid-norecords">
355
378
  <td [attr.colspan]="colSpan" class="k-table-td">
356
379
  <ng-container *ngIf="noRecordsTemplate?.templateRef" [ngTemplateOutlet]="noRecordsTemplate.templateRef">
@@ -450,7 +473,8 @@ TableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
450
473
  </tr>
451
474
  </ng-container>
452
475
  `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: LogicalRowDirective, selector: "[kendoTreeListLogicalRow]", inputs: ["logicalRowIndex", "logicalSlaveRow", "logicalCellsCount", "logicalSlaveCellsCount", "dataRowIndex", "dataItem", "isNew", "totalColumns"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: CellComponent, selector: "[kendoTreeListCell]", inputs: ["column", "columnIndex", "isNew", "level", "hasChildren", "isExpanded", "loading", "expandIcons", "rowIndex", "selected", "dataItem", "viewItem"] }, { kind: "directive", type: LogicalCellDirective, selector: "[kendoTreeListLogicalCell]", inputs: ["logicalColIndex", "logicalRowIndex", "logicalSlaveCell", "column", "colIndex", "colSpan", "rowSpan", "dataRowIndex", "dataItem", "expandable"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "pipe", type: LevelItemsPipe, name: "levelItems" }] });
453
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TableBodyComponent, decorators: [{
476
+ }
477
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TableBodyComponent, decorators: [{
454
478
  type: Component,
455
479
  args: [{
456
480
  selector: '[kendoTreeListTableBody]',
@@ -12,10 +12,8 @@ import * as i1 from "../../common/provider.service";
12
12
  * keyboard navigation.
13
13
  */
14
14
  export class TreeListToolbarFocusableDirective {
15
- constructor(host, ctx) {
16
- this.host = host;
17
- this.ctx = ctx;
18
- }
15
+ host;
16
+ ctx;
19
17
  /**
20
18
  * @hidden
21
19
  */
@@ -28,6 +26,10 @@ export class TreeListToolbarFocusableDirective {
28
26
  get toolbarPosition() {
29
27
  return isDocumentAvailable() && this.host.nativeElement.closest('.k-toolbar')?.getAttribute('position');
30
28
  }
29
+ constructor(host, ctx) {
30
+ this.host = host;
31
+ this.ctx = ctx;
32
+ }
31
33
  ngAfterViewInit() {
32
34
  if (!isDocumentAvailable() || !this.toolbarPosition) {
33
35
  return;
@@ -43,10 +45,10 @@ export class TreeListToolbarFocusableDirective {
43
45
  this.ctx[`${this.toolbarPosition}ToolbarNavigation`].navigableElements = elements.filter(el => el !== this.element);
44
46
  this.ctx[`${this.toolbarPosition}ToolbarNavigation`].notify();
45
47
  }
48
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TreeListToolbarFocusableDirective, deps: [{ token: i0.ElementRef }, { token: i1.ContextService }], target: i0.ɵɵFactoryTarget.Directive });
49
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TreeListToolbarFocusableDirective, isStandalone: true, selector: "\n [kendoTreeListToolbarFocusable],\n [kendoTreeListAddCommand],\n [kendoTreeListCancelCommand],\n [kendoTreeListEditCommand],\n [kendoTreeListRemoveCommand],\n [kendoTreeListSaveCommand],\n [kendoTreeListExcelCommand],\n [kendoTreeListPDFCommand]\n ", ngImport: i0 });
46
50
  }
47
- TreeListToolbarFocusableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TreeListToolbarFocusableDirective, deps: [{ token: i0.ElementRef }, { token: i1.ContextService }], target: i0.ɵɵFactoryTarget.Directive });
48
- TreeListToolbarFocusableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TreeListToolbarFocusableDirective, isStandalone: true, selector: "\n [kendoTreeListToolbarFocusable],\n [kendoTreeListAddCommand],\n [kendoTreeListCancelCommand],\n [kendoTreeListEditCommand],\n [kendoTreeListRemoveCommand],\n [kendoTreeListSaveCommand],\n [kendoTreeListExcelCommand],\n [kendoTreeListPDFCommand]\n ", ngImport: i0 });
49
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TreeListToolbarFocusableDirective, decorators: [{
51
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TreeListToolbarFocusableDirective, decorators: [{
50
52
  type: Directive,
51
53
  args: [{
52
54
  selector: `
@@ -9,11 +9,10 @@ import * as i0 from "@angular/core";
9
9
  * @hidden
10
10
  */
11
11
  export class TreeListToolbarNavigationService {
12
- constructor(renderer) {
13
- this.renderer = renderer;
14
- this.navigableElements = [];
15
- this.currentActiveIndex = 0;
16
- this.defaultFocusableSelector = `
12
+ renderer;
13
+ navigableElements = [];
14
+ currentActiveIndex = 0;
15
+ defaultFocusableSelector = `
17
16
  [kendoTreeListToolbarFocusable],
18
17
  [kendoTreeListAddCommand],
19
18
  [kendoTreeListCancelCommand],
@@ -23,6 +22,8 @@ export class TreeListToolbarNavigationService {
23
22
  [kendoTreeListExcelCommand],
24
23
  [kendoTreeListPDFCommand]
25
24
  `;
25
+ constructor(renderer) {
26
+ this.renderer = renderer;
26
27
  }
27
28
  notify() {
28
29
  // ensure focusable elements are in the same order as in the DOM
@@ -45,9 +46,9 @@ export class TreeListToolbarNavigationService {
45
46
  this.navigableElements[this.currentActiveIndex].focus();
46
47
  }
47
48
  }
49
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TreeListToolbarNavigationService, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Injectable });
50
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TreeListToolbarNavigationService });
48
51
  }
49
- TreeListToolbarNavigationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TreeListToolbarNavigationService, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Injectable });
50
- TreeListToolbarNavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TreeListToolbarNavigationService });
51
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TreeListToolbarNavigationService, decorators: [{
52
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TreeListToolbarNavigationService, decorators: [{
52
53
  type: Injectable
53
54
  }], ctorParameters: function () { return [{ type: i0.Renderer2 }]; } });
@@ -24,11 +24,9 @@ import * as i1 from "../../common/option-changes.service";
24
24
  * ```
25
25
  */
26
26
  export class ToolbarTemplateDirective {
27
- constructor(templateRef, optionChanges) {
28
- this.templateRef = templateRef;
29
- this.optionChanges = optionChanges;
30
- this._position = "top";
31
- }
27
+ templateRef;
28
+ optionChanges;
29
+ _position = "top";
32
30
  /**
33
31
  * The position of the toolbar ([see example](slug:toolbartemplate_treelist#toc-setting-the-toolbar-position)).
34
32
  * The group panel or header and the second one below the pager.
@@ -41,10 +39,14 @@ export class ToolbarTemplateDirective {
41
39
  get position() {
42
40
  return this._position;
43
41
  }
42
+ constructor(templateRef, optionChanges) {
43
+ this.templateRef = templateRef;
44
+ this.optionChanges = optionChanges;
45
+ }
46
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToolbarTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }, { token: i1.OptionChangesService }], target: i0.ɵɵFactoryTarget.Directive });
47
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ToolbarTemplateDirective, isStandalone: true, selector: "[kendoTreeListToolbarTemplate]", inputs: { position: "position" }, ngImport: i0 });
44
48
  }
45
- ToolbarTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }, { token: i1.OptionChangesService }], target: i0.ɵɵFactoryTarget.Directive });
46
- ToolbarTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ToolbarTemplateDirective, isStandalone: true, selector: "[kendoTreeListToolbarTemplate]", inputs: { position: "position" }, ngImport: i0 });
47
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarTemplateDirective, decorators: [{
49
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToolbarTemplateDirective, decorators: [{
48
50
  type: Directive,
49
51
  args: [{
50
52
  selector: '[kendoTreeListToolbarTemplate]',
@@ -14,21 +14,26 @@ import * as i1 from "./../../common/provider.service";
14
14
  * @hidden
15
15
  */
16
16
  export class ToolbarComponent {
17
- constructor(elem, renderer, ctx) {
18
- this.elem = elem;
19
- this.renderer = renderer;
20
- this.ctx = ctx;
21
- this.hostRole = 'toolbar';
22
- this.context = {};
23
- this.subs = new Subscription();
24
- this.navigationService = this.ctx[`${this.elem.nativeElement.getAttribute('position')}ToolbarNavigation`];
25
- }
17
+ elem;
18
+ renderer;
19
+ ctx;
20
+ hostRole = 'toolbar';
21
+ context = {};
26
22
  set position(value) {
27
23
  this.context.position = value;
28
24
  }
25
+ navigable;
29
26
  get toolbarTemplateRef() {
30
27
  return this.ctx.treelist.toolbarTemplate ? this.ctx.treelist.toolbarTemplate.templateRef : undefined;
31
28
  }
29
+ subs = new Subscription();
30
+ navigationService;
31
+ constructor(elem, renderer, ctx) {
32
+ this.elem = elem;
33
+ this.renderer = renderer;
34
+ this.ctx = ctx;
35
+ this.navigationService = this.ctx[`${this.elem.nativeElement.getAttribute('position')}ToolbarNavigation`];
36
+ }
32
37
  ngAfterViewInit() {
33
38
  const element = this.elem.nativeElement;
34
39
  this.subs.add(this.renderer.listen(element, 'keydown', event => this.onKeyDown(event)));
@@ -55,9 +60,8 @@ export class ToolbarComponent {
55
60
  }
56
61
  this.navigationService.updateFocus();
57
62
  }
58
- }
59
- ToolbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.ContextService }], target: i0.ɵɵFactoryTarget.Component });
60
- ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ToolbarComponent, isStandalone: true, selector: "kendo-treelist-toolbar", inputs: { position: "position", navigable: "navigable" }, host: { properties: { "attr.role": "this.hostRole" } }, ngImport: i0, template: `
63
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToolbarComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.ContextService }], target: i0.ɵɵFactoryTarget.Component });
64
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ToolbarComponent, isStandalone: true, selector: "kendo-treelist-toolbar", inputs: { position: "position", navigable: "navigable" }, host: { properties: { "attr.role": "this.hostRole" } }, ngImport: i0, template: `
61
65
  <ng-template
62
66
  *ngIf="toolbarTemplateRef"
63
67
  [ngTemplateOutlet]="toolbarTemplateRef"
@@ -65,7 +69,8 @@ ToolbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versi
65
69
  >
66
70
  </ng-template>
67
71
  `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
68
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ToolbarComponent, decorators: [{
72
+ }
73
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToolbarComponent, decorators: [{
69
74
  type: Component,
70
75
  args: [{
71
76
  selector: 'kendo-treelist-toolbar',
@@ -40,9 +40,9 @@ export class FlatRowReorderService extends RowReorderService {
40
40
  }
41
41
  collection.splice(dropTargetIdx, 0, draggedDataItem);
42
42
  }
43
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FlatRowReorderService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
44
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FlatRowReorderService });
43
45
  }
44
- FlatRowReorderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FlatRowReorderService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
45
- FlatRowReorderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FlatRowReorderService });
46
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FlatRowReorderService, decorators: [{
46
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FlatRowReorderService, decorators: [{
47
47
  type: Injectable
48
48
  }] });
@@ -47,9 +47,9 @@ export class HierarchicalRowReorderService extends RowReorderService {
47
47
  dropTargetItem[field].unshift(draggedItem);
48
48
  }
49
49
  }
50
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HierarchicalRowReorderService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
51
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HierarchicalRowReorderService });
50
52
  }
51
- HierarchicalRowReorderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HierarchicalRowReorderService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
52
- HierarchicalRowReorderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HierarchicalRowReorderService });
53
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HierarchicalRowReorderService, decorators: [{
53
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HierarchicalRowReorderService, decorators: [{
54
54
  type: Injectable
55
55
  }] });
@@ -10,14 +10,19 @@ import * as i0 from "@angular/core";
10
10
  * @hidden
11
11
  */
12
12
  export class RowReorderService {
13
+ renderer;
14
+ defaultSelectors = defaultSelectors;
15
+ dragTarget = null;
16
+ dropTarget = null;
17
+ view;
18
+ bindingDirective;
19
+ offsetY;
20
+ dropIndicator;
21
+ lastDropPosition = dropPosition.forbidden;
22
+ hintElement = null;
23
+ rowReorder = new EventEmitter();
13
24
  constructor(renderer) {
14
25
  this.renderer = renderer;
15
- this.defaultSelectors = defaultSelectors;
16
- this.dragTarget = null;
17
- this.dropTarget = null;
18
- this.lastDropPosition = dropPosition.forbidden;
19
- this.hintElement = null;
20
- this.rowReorder = new EventEmitter();
21
26
  }
22
27
  press(ev) {
23
28
  this.dragTarget = ev.dragTarget;
@@ -213,10 +218,10 @@ export class RowReorderService {
213
218
  this.renderer.removeStyle(this.dropIndicator, 'display');
214
219
  }
215
220
  }
221
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RowReorderService, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Injectable });
222
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RowReorderService });
216
223
  }
217
- RowReorderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RowReorderService, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Injectable });
218
- RowReorderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RowReorderService });
219
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RowReorderService, decorators: [{
224
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RowReorderService, decorators: [{
220
225
  type: Injectable
221
226
  }], ctorParameters: function () { return [{ type: i0.Renderer2 }]; }, propDecorators: { rowReorder: [{
222
227
  type: Output
@@ -6,6 +6,8 @@
6
6
  * @hidden
7
7
  */
8
8
  export class RowHeightService {
9
+ total;
10
+ rowHeight;
9
11
  constructor(total = 0, rowHeight) {
10
12
  this.total = total;
11
13
  this.rowHeight = rowHeight;
@@ -9,15 +9,13 @@ import * as i0 from "@angular/core";
9
9
  * @hidden
10
10
  */
11
11
  export class ScrollRequestService {
12
- constructor() {
13
- this.requests = new Subject();
14
- }
12
+ requests = new Subject();
15
13
  scrollTo(request) {
16
14
  this.requests.next(request);
17
15
  }
16
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ScrollRequestService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
17
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ScrollRequestService });
18
18
  }
19
- ScrollRequestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ScrollRequestService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
20
- ScrollRequestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ScrollRequestService });
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ScrollRequestService, decorators: [{
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ScrollRequestService, decorators: [{
22
20
  type: Injectable
23
21
  }] });
@@ -10,13 +10,15 @@ import * as i0 from "@angular/core";
10
10
  * @hidden
11
11
  */
12
12
  export class ScrollSyncService {
13
+ ngZone;
14
+ changes = new Subject();
15
+ elements = [];
16
+ source;
17
+ subscriptions = new Subscription();
18
+ headerSubscription = new Subscription();
19
+ bodySubscription = new Subscription();
13
20
  constructor(ngZone) {
14
21
  this.ngZone = ngZone;
15
- this.changes = new Subject();
16
- this.elements = [];
17
- this.subscriptions = new Subscription();
18
- this.headerSubscription = new Subscription();
19
- this.bodySubscription = new Subscription();
20
22
  this.subscriptions.add(this.changes.subscribe(args => this.scrollLeft(args)));
21
23
  }
22
24
  registerEmitter(el, sourceType) {
@@ -70,9 +72,9 @@ export class ScrollSyncService {
70
72
  this.elements.splice(index, 1);
71
73
  }
72
74
  }
75
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ScrollSyncService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
76
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ScrollSyncService });
73
77
  }
74
- ScrollSyncService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ScrollSyncService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
75
- ScrollSyncService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ScrollSyncService });
76
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ScrollSyncService, decorators: [{
78
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ScrollSyncService, decorators: [{
77
79
  type: Injectable
78
80
  }], ctorParameters: function () { return [{ type: i0.NgZone }]; } });
@@ -7,6 +7,7 @@ import { Observable, BehaviorSubject } from 'rxjs';
7
7
  * @hidden
8
8
  */
9
9
  export class ScrollAction {
10
+ offset;
10
11
  constructor(offset) {
11
12
  this.offset = offset;
12
13
  }
@@ -15,6 +16,8 @@ export class ScrollAction {
15
16
  * @hidden
16
17
  */
17
18
  export class PageAction {
19
+ skip;
20
+ take;
18
21
  constructor(skip, take) {
19
22
  this.skip = skip;
20
23
  this.take = take;
@@ -30,10 +33,17 @@ const SCROLL_BOTTOM_THRESHOLD = 1;
30
33
  * @hidden
31
34
  */
32
35
  export class ScrollerService {
36
+ scrollObservable;
37
+ firstLoaded = 0;
38
+ lastLoaded;
39
+ lastScrollTop = 0;
40
+ take;
41
+ total;
42
+ rowHeightService;
43
+ scrollSubscription;
44
+ subscription;
33
45
  constructor(scrollObservable) {
34
46
  this.scrollObservable = scrollObservable;
35
- this.firstLoaded = 0;
36
- this.lastScrollTop = 0;
37
47
  }
38
48
  create(rowHeightService, skip, take, total, scrollTop = 0) {
39
49
  this.rowHeightService = rowHeightService;
@@ -8,12 +8,10 @@ import * as i0 from "@angular/core";
8
8
  * @hidden
9
9
  */
10
10
  export class SuspendService {
11
- constructor() {
12
- this.scroll = false;
13
- }
11
+ scroll = false;
12
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SuspendService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
13
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SuspendService });
14
14
  }
15
- SuspendService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SuspendService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
16
- SuspendService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SuspendService });
17
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SuspendService, decorators: [{
15
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SuspendService, decorators: [{
18
16
  type: Injectable
19
17
  }] });
@@ -26,17 +26,28 @@ const elementUnderCursor = ({ clientX, clientY }) => document && document.elemen
26
26
  * @hidden
27
27
  */
28
28
  export class MarqueeDirective {
29
+ draggable;
30
+ selection;
31
+ changeDetector;
32
+ get userSelection() {
33
+ return this.selection.enableMarquee ? 'none' : null;
34
+ }
35
+ // possibly add snap
36
+ pressArgs;
37
+ marqueeElement;
38
+ pressTarget;
39
+ currentTarget;
40
+ selectionSelected;
41
+ state;
42
+ subscriptions;
43
+ selectionStarted = false;
29
44
  constructor(draggable, selection, changeDetector) {
30
45
  this.draggable = draggable;
31
46
  this.selection = selection;
32
47
  this.changeDetector = changeDetector;
33
- this.selectionStarted = false;
34
48
  this.cellSelected = this.cellSelected.bind(this);
35
49
  this.rowSelected = this.rowSelected.bind(this);
36
50
  }
37
- get userSelection() {
38
- return this.selection.enableMarquee ? 'none' : null;
39
- }
40
51
  ngOnInit() {
41
52
  // handle esc
42
53
  // trigger cancel
@@ -170,10 +181,10 @@ export class MarqueeDirective {
170
181
  document.body.appendChild(this.marqueeElement);
171
182
  }
172
183
  }
184
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MarqueeDirective, deps: [{ token: i1.DraggableDirective }, { token: i2.SelectionService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
185
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: MarqueeDirective, isStandalone: true, selector: "[kendoTreeListSelectionMarquee]", host: { properties: { "style.user-select": "this.userSelection" } }, ngImport: i0 });
173
186
  }
174
- MarqueeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MarqueeDirective, deps: [{ token: i1.DraggableDirective }, { token: i2.SelectionService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
175
- MarqueeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: MarqueeDirective, isStandalone: true, selector: "[kendoTreeListSelectionMarquee]", host: { properties: { "style.user-select": "this.userSelection" } }, ngImport: i0 });
176
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MarqueeDirective, decorators: [{
187
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MarqueeDirective, decorators: [{
177
188
  type: Directive,
178
189
  args: [{
179
190
  selector: '[kendoTreeListSelectionMarquee]',
@@ -14,20 +14,7 @@ const defaultColumnKeyGetter = (_column, columnIndex) => columnIndex;
14
14
  * A directive which controls the selection state. [See example](slug:selection_treelist).
15
15
  */
16
16
  export class SelectableDirective {
17
- constructor(treelist) {
18
- this.treelist = treelist;
19
- /**
20
- * Fires when the selected items are changed.
21
- */
22
- this.selectedItemsChange = new EventEmitter();
23
- this.state = new RowSelectionState();
24
- this._selectedItems = [];
25
- this.cellSelected = this.cellSelected.bind(this);
26
- this.rowSelected = this.rowSelected.bind(this);
27
- this.selectionChange = this.selectionChange.bind(this);
28
- this.updateColumnIndices = this.updateColumnIndices.bind(this);
29
- this.treelist.selectable = this.selectable = true;
30
- }
17
+ treelist;
31
18
  /**
32
19
  * @hidden
33
20
  */
@@ -65,6 +52,10 @@ export class SelectableDirective {
65
52
  }
66
53
  this._selectedItems = value;
67
54
  }
55
+ /**
56
+ * Fires when the selected items are changed.
57
+ */
58
+ selectedItemsChange = new EventEmitter();
68
59
  /**
69
60
  * The field name or a function that specify the dataItems key.
70
61
  */
@@ -93,6 +84,21 @@ export class SelectableDirective {
93
84
  get columnKeyGetter() {
94
85
  return this._columnKeyGetter || defaultColumnKeyGetter;
95
86
  }
87
+ subscriptions;
88
+ state = new RowSelectionState();
89
+ _settings;
90
+ lastChange;
91
+ _columnKeyGetter;
92
+ _keyGetter;
93
+ _selectedItems = [];
94
+ constructor(treelist) {
95
+ this.treelist = treelist;
96
+ this.cellSelected = this.cellSelected.bind(this);
97
+ this.rowSelected = this.rowSelected.bind(this);
98
+ this.selectionChange = this.selectionChange.bind(this);
99
+ this.updateColumnIndices = this.updateColumnIndices.bind(this);
100
+ this.treelist.selectable = this.selectable = true;
101
+ }
96
102
  ngOnDestroy() {
97
103
  this.unsubscribeSelection();
98
104
  }
@@ -164,10 +170,10 @@ export class SelectableDirective {
164
170
  get leafColumns() {
165
171
  return this.treelist.lockedLeafColumns.toArray().concat(this.treelist.nonLockedLeafColumns.toArray());
166
172
  }
173
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectableDirective, deps: [{ token: i1.TreeListComponent }], target: i0.ɵɵFactoryTarget.Directive });
174
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: SelectableDirective, isStandalone: true, selector: "[kendoTreeListSelectable]", inputs: { selectable: "selectable", selectedItems: "selectedItems", itemKey: "itemKey", columnKey: "columnKey" }, outputs: { selectedItemsChange: "selectedItemsChange" }, exportAs: ["kendoTreeListSelectable"], ngImport: i0 });
167
175
  }
168
- SelectableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SelectableDirective, deps: [{ token: i1.TreeListComponent }], target: i0.ɵɵFactoryTarget.Directive });
169
- SelectableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: SelectableDirective, isStandalone: true, selector: "[kendoTreeListSelectable]", inputs: { selectable: "selectable", selectedItems: "selectedItems", itemKey: "itemKey", columnKey: "columnKey" }, outputs: { selectedItemsChange: "selectedItemsChange" }, exportAs: ["kendoTreeListSelectable"], ngImport: i0 });
170
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SelectableDirective, decorators: [{
176
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectableDirective, decorators: [{
171
177
  type: Directive,
172
178
  args: [{
173
179
  exportAs: 'kendoTreeListSelectable',
@@ -6,6 +6,18 @@
6
6
  * Arguments for the TreeList `selectionChange` event.
7
7
  */
8
8
  export class SelectionChangeEvent {
9
+ /**
10
+ * Specifies how was the selection changed
11
+ */
12
+ action;
13
+ /**
14
+ * Specifies which items were changed.
15
+ */
16
+ items;
17
+ /**
18
+ * The TreeList component that triggered the event.
19
+ */
20
+ sender;
9
21
  /**
10
22
  * @hidden
11
23
  */
@@ -6,9 +6,7 @@
6
6
  * @hidden
7
7
  */
8
8
  export class RowSelectionState {
9
- constructor() {
10
- this.keys = new Set();
11
- }
9
+ keys = new Set();
12
10
  clear() {
13
11
  this.keys.clear();
14
12
  }
@@ -39,9 +37,7 @@ export class RowSelectionState {
39
37
  * @hidden
40
38
  */
41
39
  export class CellSelectionState {
42
- constructor() {
43
- this.keys = new Map();
44
- }
40
+ keys = new Map();
45
41
  clear() {
46
42
  this.keys.clear();
47
43
  }