@progress/kendo-angular-treelist 17.0.0-develop.4 → 17.0.0-develop.40

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 (394) hide show
  1. package/README.md +48 -19
  2. package/binding-directives/base-binding.directive.d.ts +1 -1
  3. package/binding-directives/flat-binding.directive.d.ts +1 -1
  4. package/binding-directives/hierarchy-binding.directive.d.ts +1 -1
  5. package/column-menu/column-chooser.component.d.ts +1 -1
  6. package/column-menu/column-list.component.d.ts +2 -2
  7. package/column-menu/column-menu-chooser.component.d.ts +1 -1
  8. package/column-menu/column-menu-filter.component.d.ts +1 -1
  9. package/column-menu/column-menu-item-base.d.ts +1 -1
  10. package/column-menu/column-menu-item.component.d.ts +1 -1
  11. package/column-menu/column-menu.component.d.ts +1 -1
  12. package/column-resizing/column-handle.directive.d.ts +1 -1
  13. package/column-resizing/column-resize.interface.d.ts +3 -3
  14. package/column-resizing/table.directive.d.ts +1 -1
  15. package/columns/checkbox-column.component.d.ts +1 -1
  16. package/columns/column-base.d.ts +1 -1
  17. package/columns/column.component.d.ts +1 -1
  18. package/columns/sort-settings.d.ts +2 -2
  19. package/columns/span-column.component.d.ts +13 -13
  20. package/common/create-form-group.d.ts +1 -1
  21. package/{pager → common}/pager-settings.d.ts +1 -1
  22. package/common/provider.service.d.ts +0 -1
  23. package/common/remove-confirmation.d.ts +1 -1
  24. package/data/treelist-item.interface.d.ts +1 -1
  25. package/directives.d.ts +10 -20
  26. package/dragdrop/context-types.d.ts +1 -1
  27. package/dragdrop/draggable-column.directive.d.ts +1 -1
  28. package/dragdrop/drop-target.directive.d.ts +1 -1
  29. package/editing/add-command-tool.directive.d.ts +38 -0
  30. package/editing/add-command.directive.d.ts +1 -1
  31. package/editing/cancel-command.directive.d.ts +1 -1
  32. package/editing/cancel-event-args.interface.d.ts +1 -1
  33. package/editing/edit-command.directive.d.ts +1 -1
  34. package/editing/edit.service.d.ts +3 -3
  35. package/editing/remove-command.directive.d.ts +1 -1
  36. package/editing/save-command.directive.d.ts +1 -1
  37. package/editing-directives/create-form-group-args.interface.d.ts +1 -1
  38. package/editing-directives/editing-directive-base.d.ts +1 -1
  39. package/editing-directives/in-cell-editing.directive.d.ts +1 -1
  40. package/editing-directives/reactive-editing.directive.d.ts +1 -1
  41. package/editing-directives/row-editing-directive-base.d.ts +0 -1
  42. package/editing-directives/template-editing.directive.d.ts +1 -2
  43. package/{esm2020 → esm2022}/binding-directives/base-binding.directive.mjs +17 -13
  44. package/{esm2020 → esm2022}/binding-directives/data-bound-tree-component.mjs +3 -3
  45. package/{esm2020 → esm2022}/binding-directives/flat-binding.directive.mjs +29 -21
  46. package/{esm2020 → esm2022}/binding-directives/hierarchy-binding.directive.mjs +26 -19
  47. package/{esm2020 → esm2022}/column-menu/column-chooser.component.mjs +27 -19
  48. package/{esm2020 → esm2022}/column-menu/column-list.component.mjs +71 -59
  49. package/{esm2020 → esm2022}/column-menu/column-locked-change-event.mjs +4 -0
  50. package/{esm2020 → esm2022}/column-menu/column-menu-chooser.component.mjs +28 -25
  51. package/{esm2020 → esm2022}/column-menu/column-menu-filter.component.mjs +23 -22
  52. package/{esm2020 → esm2022}/column-menu/column-menu-item-base.mjs +9 -6
  53. package/{esm2020 → esm2022}/column-menu/column-menu-item-content-template.directive.mjs +4 -3
  54. package/{esm2020 → esm2022}/column-menu/column-menu-item.component.mjs +67 -42
  55. package/{esm2020 → esm2022}/column-menu/column-menu-lock.component.mjs +9 -6
  56. package/{esm2020 → esm2022}/column-menu/column-menu-sort.component.mjs +8 -6
  57. package/{esm2020 → esm2022}/column-menu/column-menu-template.directive.mjs +4 -3
  58. package/{esm2020 → esm2022}/column-menu/column-menu.component.mjs +49 -25
  59. package/{esm2020 → esm2022}/column-menu/column-menu.service.mjs +23 -9
  60. package/{esm2020 → esm2022}/column-menu/column-visibility-change-event.mjs +4 -0
  61. package/{esm2020 → esm2022}/column-resizing/column-handle.directive.mjs +21 -14
  62. package/{esm2020 → esm2022}/column-resizing/column-resizing.service.mjs +8 -8
  63. package/{esm2020 → esm2022}/column-resizing/table.directive.mjs +17 -8
  64. package/{esm2020 → esm2022}/columns/checkbox-column.component.mjs +27 -12
  65. package/{esm2020 → esm2022}/columns/column-base.mjs +140 -72
  66. package/{esm2020 → esm2022}/columns/column-group.component.mjs +24 -20
  67. package/{esm2020 → esm2022}/columns/column-list.mjs +4 -3
  68. package/{esm2020 → esm2022}/columns/column.component.mjs +56 -38
  69. package/{esm2020 → esm2022}/columns/columns-container.mjs +14 -13
  70. package/{esm2020 → esm2022}/columns/command-column.component.mjs +11 -9
  71. package/{esm2020 → esm2022}/columns/rowreorder-column.component.mjs +13 -12
  72. package/{esm2020 → esm2022}/columns/span-column.component.mjs +64 -29
  73. package/{esm2020 → esm2022}/common/column-info.service.mjs +8 -9
  74. package/esm2022/common/dom-events.service.mjs +24 -0
  75. package/{esm2020 → esm2022}/common/id.service.mjs +4 -3
  76. package/{esm2020 → esm2022}/common/option-changes.service.mjs +5 -7
  77. package/{esm2020 → esm2022}/common/preventable-event.mjs +1 -3
  78. package/{esm2020 → esm2022}/common/provider.service.mjs +8 -6
  79. package/{esm2020 → esm2022}/common/single-popup.service.mjs +19 -8
  80. package/{esm2020 → esm2022}/common/sort.service.mjs +1 -3
  81. package/{esm2020 → esm2022}/data/change-notification.service.mjs +6 -4
  82. package/{esm2020 → esm2022}/data/data.collection.mjs +45 -23
  83. package/{esm2020 → esm2022}/directives.mjs +11 -26
  84. package/{esm2020 → esm2022}/dragdrop/column-reorder-event.mjs +14 -0
  85. package/{esm2020 → esm2022}/dragdrop/column-reorder.service.mjs +4 -6
  86. package/{esm2020 → esm2022}/dragdrop/drag-and-drop.service.mjs +6 -8
  87. package/{esm2020 → esm2022}/dragdrop/drag-hint.service.mjs +7 -4
  88. package/{esm2020 → esm2022}/dragdrop/draggable-column.directive.mjs +22 -13
  89. package/{esm2020 → esm2022}/dragdrop/drop-cue.service.mjs +4 -3
  90. package/{esm2020 → esm2022}/dragdrop/drop-target.directive.mjs +10 -8
  91. package/esm2022/editing/add-command-tool.directive.mjs +63 -0
  92. package/{esm2020 → esm2022}/editing/add-command.directive.mjs +10 -6
  93. package/{esm2020 → esm2022}/editing/base-command.directive.mjs +9 -8
  94. package/{esm2020 → esm2022}/editing/cancel-command.directive.mjs +10 -6
  95. package/{esm2020 → esm2022}/editing/cell-close-event.mjs +20 -4
  96. package/{esm2020 → esm2022}/editing/edit-command.directive.mjs +10 -6
  97. package/{esm2020 → esm2022}/editing/edit-template.directive.mjs +4 -3
  98. package/{esm2020 → esm2022}/editing/edit.service.mjs +18 -13
  99. package/{esm2020 → esm2022}/editing/remove-command.directive.mjs +10 -6
  100. package/{esm2020 → esm2022}/editing/save-command.directive.mjs +10 -6
  101. package/{esm2020 → esm2022}/editing-directives/editing-directive-base.mjs +17 -7
  102. package/{esm2020 → esm2022}/editing-directives/flat-edit.service.mjs +1 -0
  103. package/{esm2020 → esm2022}/editing-directives/hierarchy-edit.service.mjs +1 -0
  104. package/{esm2020 → esm2022}/editing-directives/in-cell-editing.directive.mjs +8 -3
  105. package/{esm2020 → esm2022}/editing-directives/reactive-editing.directive.mjs +8 -3
  106. package/{esm2020 → esm2022}/editing-directives/row-editing-directive-base.mjs +3 -3
  107. package/{esm2020 → esm2022}/editing-directives/template-editing.directive.mjs +9 -3
  108. package/esm2022/excel/excel-command-tool.directive.mjs +66 -0
  109. package/{esm2020 → esm2022}/excel/excel-command.directive.mjs +10 -9
  110. package/{esm2020 → esm2022}/excel/excel-export-event.mjs +1 -0
  111. package/{esm2020 → esm2022}/excel/excel.component.mjs +71 -22
  112. package/{esm2020 → esm2022}/excel/excel.module.mjs +5 -4
  113. package/{esm2020 → esm2022}/excel/excel.service.mjs +7 -8
  114. package/{esm2020 → esm2022}/expand-state/expand-event.mjs +12 -0
  115. package/{esm2020 → esm2022}/expand-state/expand-state.service.mjs +5 -7
  116. package/{esm2020 → esm2022}/expand-state/expandable-tree-component.mjs +3 -3
  117. package/{esm2020 → esm2022}/expand-state/expandable.directive.mjs +23 -19
  118. package/{esm2020 → esm2022}/filtering/base-filter-cell.component.mjs +18 -7
  119. package/{esm2020 → esm2022}/filtering/boolean-filter.component.mjs +33 -29
  120. package/{esm2020 → esm2022}/filtering/cell/autocomplete-filter-cell.component.mjs +15 -13
  121. package/{esm2020 → esm2022}/filtering/cell/boolean-filter-cell.component.mjs +5 -4
  122. package/{esm2020 → esm2022}/filtering/cell/date-filter-cell.component.mjs +11 -10
  123. package/{esm2020 → esm2022}/filtering/cell/filter-cell-host.directive.mjs +3 -3
  124. package/{esm2020 → esm2022}/filtering/cell/filter-cell-operators.component.mjs +54 -34
  125. package/{esm2020 → esm2022}/filtering/cell/filter-cell-template.directive.mjs +4 -3
  126. package/{esm2020 → esm2022}/filtering/cell/filter-cell-wrapper.component.mjs +8 -8
  127. package/{esm2020 → esm2022}/filtering/cell/filter-cell.component.mjs +11 -8
  128. package/{esm2020 → esm2022}/filtering/cell/numeric-filter-cell.component.mjs +23 -17
  129. package/{esm2020 → esm2022}/filtering/cell/string-filter-cell.component.mjs +34 -28
  130. package/{esm2020 → esm2022}/filtering/date-filter.component.mjs +64 -39
  131. package/{esm2020 → esm2022}/filtering/filter-host.directive.mjs +8 -3
  132. package/{esm2020 → esm2022}/filtering/filter-input-wrapper.component.mjs +11 -8
  133. package/{esm2020 → esm2022}/filtering/filter-input.directive.mjs +21 -13
  134. package/{esm2020 → esm2022}/filtering/filter-row.component.mjs +11 -8
  135. package/{esm2020 → esm2022}/filtering/filter.service.mjs +7 -9
  136. package/{esm2020 → esm2022}/filtering/menu/boolean-filter-menu.component.mjs +33 -26
  137. package/{esm2020 → esm2022}/filtering/menu/date-filter-menu-input.component.mjs +21 -5
  138. package/{esm2020 → esm2022}/filtering/menu/date-filter-menu.component.mjs +22 -21
  139. package/{esm2020 → esm2022}/filtering/menu/filter-menu-container.component.mjs +28 -16
  140. package/{esm2020 → esm2022}/filtering/menu/filter-menu-host.directive.mjs +4 -3
  141. package/{esm2020 → esm2022}/filtering/menu/filter-menu-input-wrapper.component.mjs +9 -7
  142. package/{esm2020 → esm2022}/filtering/menu/filter-menu-template.directive.mjs +4 -3
  143. package/{esm2020 → esm2022}/filtering/menu/filter-menu.component.mjs +20 -8
  144. package/{esm2020 → esm2022}/filtering/menu/filter-radio-button.directive.mjs +7 -3
  145. package/{esm2020 → esm2022}/filtering/menu/numeric-filter-menu-input.component.mjs +43 -17
  146. package/{esm2020 → esm2022}/filtering/menu/numeric-filter-menu.component.mjs +32 -31
  147. package/{esm2020 → esm2022}/filtering/menu/string-filter-menu-input.component.mjs +23 -16
  148. package/{esm2020 → esm2022}/filtering/menu/string-filter-menu.component.mjs +32 -21
  149. package/{esm2020 → esm2022}/filtering/numeric-filter.component.mjs +51 -28
  150. package/{esm2020 → esm2022}/filtering/operators/after-eq-filter-operator.component.mjs +8 -8
  151. package/{esm2020 → esm2022}/filtering/operators/after-filter-operator.component.mjs +8 -8
  152. package/{esm2020 → esm2022}/filtering/operators/before-eq-filter-operator.component.mjs +8 -8
  153. package/{esm2020 → esm2022}/filtering/operators/before-filter-operator.component.mjs +8 -8
  154. package/{esm2020 → esm2022}/filtering/operators/contains-filter-operator.component.mjs +8 -8
  155. package/{esm2020 → esm2022}/filtering/operators/ends-with-filter-operator.component.mjs +8 -8
  156. package/{esm2020 → esm2022}/filtering/operators/eq-filter-operator.component.mjs +8 -8
  157. package/{esm2020 → esm2022}/filtering/operators/filter-operator.base.mjs +15 -10
  158. package/{esm2020 → esm2022}/filtering/operators/gt-filter-operator.component.mjs +8 -8
  159. package/{esm2020 → esm2022}/filtering/operators/gte-filter-operator.component.mjs +8 -8
  160. package/{esm2020 → esm2022}/filtering/operators/is-empty-filter-operator.component.mjs +8 -8
  161. package/{esm2020 → esm2022}/filtering/operators/is-not-empty-filter-operator.component.mjs +8 -8
  162. package/{esm2020 → esm2022}/filtering/operators/is-not-null-filter-operator.component.mjs +8 -8
  163. package/{esm2020 → esm2022}/filtering/operators/isnull-filter-operator.component.mjs +8 -8
  164. package/{esm2020 → esm2022}/filtering/operators/lt-filter-operator.component.mjs +8 -8
  165. package/{esm2020 → esm2022}/filtering/operators/lte-filter-operator.component.mjs +8 -8
  166. package/{esm2020 → esm2022}/filtering/operators/neq-filter-operator.component.mjs +8 -8
  167. package/{esm2020 → esm2022}/filtering/operators/not-contains-filter-operator.component.mjs +8 -8
  168. package/{esm2020 → esm2022}/filtering/operators/starts-with-filter-operator.component.mjs +8 -8
  169. package/{esm2020 → esm2022}/filtering/string-filter.component.mjs +20 -15
  170. package/{esm2020 → esm2022}/index.mjs +3 -15
  171. package/{esm2020 → esm2022}/layout/browser-support.service.mjs +7 -4
  172. package/{esm2020 → esm2022}/layout/resizable.directive.mjs +16 -10
  173. package/{esm2020 → esm2022}/layout/resize.service.mjs +6 -8
  174. package/{esm2020 → esm2022}/layout/responsive.service.mjs +7 -9
  175. package/{esm2020 → esm2022}/localization/custom-messages.component.mjs +9 -8
  176. package/{esm2020 → esm2022}/localization/localized-messages.directive.mjs +9 -8
  177. package/esm2022/localization/messages.mjs +416 -0
  178. package/{esm2020 → esm2022}/navigation/default-focusable-element.mjs +10 -6
  179. package/{esm2020 → esm2022}/navigation/focus-group.mjs +12 -11
  180. package/{esm2020 → esm2022}/navigation/focus-root.mjs +5 -4
  181. package/{esm2020 → esm2022}/navigation/focusable.directive.mjs +18 -10
  182. package/{esm2020 → esm2022}/navigation/item-map.mjs +2 -4
  183. package/{esm2020 → esm2022}/navigation/logical-cell.directive.mjs +35 -22
  184. package/{esm2020 → esm2022}/navigation/logical-row.directive.mjs +19 -13
  185. package/{esm2020 → esm2022}/navigation/model-cell.mjs +11 -0
  186. package/{esm2020 → esm2022}/navigation/navigation-cursor.mjs +10 -8
  187. package/{esm2020 → esm2022}/navigation/navigation-metadata.mjs +13 -6
  188. package/{esm2020 → esm2022}/navigation/navigation-model.mjs +1 -3
  189. package/{esm2020 → esm2022}/navigation/navigation.service.mjs +46 -26
  190. package/{esm2020 → esm2022}/navigation/treelist-focusable-element.mjs +1 -0
  191. package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
  192. package/esm2022/pdf/pdf-command-tool.directive.mjs +66 -0
  193. package/{esm2020 → esm2022}/pdf/pdf-command.directive.mjs +10 -9
  194. package/{esm2020 → esm2022}/pdf/pdf-margin.component.mjs +3 -3
  195. package/{esm2020 → esm2022}/pdf/pdf-template.directive.mjs +3 -3
  196. package/{esm2020 → esm2022}/pdf/pdf.component.mjs +24 -4
  197. package/{esm2020 → esm2022}/pdf/pdf.module.mjs +6 -5
  198. package/{esm2020 → esm2022}/pdf/pdf.service.mjs +8 -9
  199. package/{esm2020 → esm2022}/pdf/treelist-query.mjs +4 -0
  200. package/{esm2020 → esm2022}/rendering/cell-template.directive.mjs +4 -3
  201. package/{esm2020 → esm2022}/rendering/cell.component.mjs +60 -54
  202. package/{esm2020 → esm2022}/rendering/common/col-group.component.mjs +5 -7
  203. package/{esm2020 → esm2022}/rendering/common/field-accessor.pipe.mjs +4 -3
  204. package/{esm2020 → esm2022}/rendering/common/level-items.pipe.mjs +3 -3
  205. package/{esm2020 → esm2022}/rendering/common/loading.component.mjs +9 -8
  206. package/{esm2020 → esm2022}/rendering/common/spacer.component.mjs +12 -7
  207. package/{esm2020 → esm2022}/rendering/footer-template.directive.mjs +4 -3
  208. package/{esm2020 → esm2022}/rendering/header/header-template.directive.mjs +4 -3
  209. package/{esm2020 → esm2022}/rendering/header/header.component.mjs +62 -44
  210. package/{esm2020 → esm2022}/rendering/list.component.mjs +84 -44
  211. package/{esm2020 → esm2022}/rendering/no-records-template.directive.mjs +4 -3
  212. package/{esm2020 → esm2022}/rendering/table-body.component.mjs +48 -21
  213. package/{esm2020 → esm2022}/rendering/toolbar/toolbar-focusable.directive.mjs +9 -7
  214. package/{esm2020 → esm2022}/rendering/toolbar/toolbar-navigation.service.mjs +9 -8
  215. package/{esm2020 → esm2022}/rendering/toolbar/toolbar-template.directive.mjs +10 -8
  216. package/{esm2020 → esm2022}/rendering/toolbar/toolbar.component.mjs +18 -13
  217. package/{esm2020 → esm2022}/row-reordering/flat-reorder.service.mjs +3 -3
  218. package/{esm2020 → esm2022}/row-reordering/hierarchical-reorder.service.mjs +3 -3
  219. package/{esm2020 → esm2022}/row-reordering/row-reorder.service.mjs +14 -9
  220. package/{esm2020 → esm2022}/scrolling/row-height.service.mjs +2 -0
  221. package/{esm2020 → esm2022}/scrolling/scroll-request.service.mjs +4 -6
  222. package/{esm2020 → esm2022}/scrolling/scroll-sync.service.mjs +10 -8
  223. package/{esm2020 → esm2022}/scrolling/scroller.service.mjs +12 -2
  224. package/{esm2020 → esm2022}/scrolling/suspend.service.mjs +4 -6
  225. package/{esm2020 → esm2022}/selection/marquee.directive.mjs +18 -7
  226. package/{esm2020 → esm2022}/selection/selectable.directive.mjs +23 -17
  227. package/{esm2020 → esm2022}/selection/selection-change-event.mjs +12 -0
  228. package/{esm2020 → esm2022}/selection/selection-state.mjs +2 -6
  229. package/{esm2020 → esm2022}/selection/selection.service.mjs +16 -14
  230. package/{esm2020 → esm2022}/treelist.component.mjs +619 -420
  231. package/esm2022/treelist.module.mjs +172 -0
  232. package/excel/excel-command-tool.directive.d.ts +41 -0
  233. package/excel/excel.component.d.ts +1 -1
  234. package/excel/excel.module.d.ts +3 -2
  235. package/expand-state/expandable.directive.d.ts +1 -1
  236. package/{fesm2020 → fesm2022}/progress-kendo-angular-treelist.mjs +4099 -4026
  237. package/filtering/base-filter-cell.component.d.ts +5 -1
  238. package/filtering/boolean-filter.component.d.ts +2 -7
  239. package/filtering/cell/autocomplete-filter-cell.component.d.ts +2 -7
  240. package/filtering/cell/date-filter-cell.component.d.ts +1 -1
  241. package/filtering/cell/filter-cell-operators.component.d.ts +1 -1
  242. package/filtering/cell/filter-cell-wrapper.component.d.ts +1 -1
  243. package/filtering/cell/filter-cell.component.d.ts +1 -1
  244. package/filtering/cell/numeric-filter-cell.component.d.ts +1 -1
  245. package/filtering/cell/string-filter-cell.component.d.ts +1 -1
  246. package/filtering/date-filter.component.d.ts +2 -11
  247. package/filtering/filter-host.directive.d.ts +2 -2
  248. package/filtering/filter-input-wrapper.component.d.ts +1 -2
  249. package/filtering/filter-input.directive.d.ts +1 -1
  250. package/filtering/filter-row.component.d.ts +1 -2
  251. package/filtering/filterable.d.ts +1 -1
  252. package/filtering/menu/boolean-filter-menu.component.d.ts +1 -1
  253. package/filtering/menu/date-filter-menu-input.component.d.ts +1 -1
  254. package/filtering/menu/date-filter-menu.component.d.ts +1 -7
  255. package/filtering/menu/filter-menu-container.component.d.ts +1 -1
  256. package/filtering/menu/filter-menu-host.directive.d.ts +1 -1
  257. package/filtering/menu/filter-menu-input-wrapper.component.d.ts +1 -1
  258. package/filtering/menu/filter-menu.component.d.ts +1 -4
  259. package/filtering/menu/filter-radio-button.directive.d.ts +1 -1
  260. package/filtering/menu/numeric-filter-menu-input.component.d.ts +1 -1
  261. package/filtering/menu/numeric-filter-menu.component.d.ts +1 -7
  262. package/filtering/menu/string-filter-menu-input.component.d.ts +1 -1
  263. package/filtering/menu/string-filter-menu.component.d.ts +1 -7
  264. package/filtering/numeric-filter.component.d.ts +2 -11
  265. package/filtering/operators/filter-operator.base.d.ts +1 -1
  266. package/filtering/string-filter.component.d.ts +2 -11
  267. package/index.d.ts +4 -17
  268. package/layout/resizable.directive.d.ts +1 -1
  269. package/localization/messages.d.ts +6 -2
  270. package/navigation/focusable.directive.d.ts +1 -1
  271. package/navigation/logical-cell.directive.d.ts +1 -1
  272. package/navigation/logical-row.directive.d.ts +1 -1
  273. package/navigation/navigation.service.d.ts +1 -1
  274. package/package.json +27 -32
  275. package/pdf/pdf-command-tool.directive.d.ts +41 -0
  276. package/pdf/pdf-margin.interface.d.ts +1 -1
  277. package/pdf/pdf.component.d.ts +1 -7
  278. package/pdf/pdf.module.d.ts +3 -2
  279. package/rendering/cell.component.d.ts +2 -1
  280. package/rendering/common/col-group.component.d.ts +1 -1
  281. package/rendering/common/row-class.d.ts +2 -2
  282. package/rendering/common/spacer.component.d.ts +1 -1
  283. package/rendering/header/header.component.d.ts +2 -2
  284. package/rendering/list.component.d.ts +1 -1
  285. package/rendering/table-body.component.d.ts +1 -1
  286. package/rendering/toolbar/toolbar-template.directive.d.ts +1 -1
  287. package/rendering/toolbar/toolbar.component.d.ts +1 -1
  288. package/row-reordering/types.d.ts +1 -1
  289. package/schematics/ngAdd/index.js +3 -3
  290. package/scrolling/scroll-sync.service.d.ts +1 -1
  291. package/scrolling/scroller.service.d.ts +1 -1
  292. package/scrolling/scrollmode.d.ts +1 -1
  293. package/selection/is-selected.d.ts +1 -1
  294. package/selection/selectable.directive.d.ts +1 -1
  295. package/treelist.component.d.ts +4 -3
  296. package/treelist.module.d.ts +70 -75
  297. package/utils.d.ts +1 -1
  298. package/constants.d.ts +0 -12
  299. package/esm2020/common/dom-events.service.mjs +0 -26
  300. package/esm2020/constants.mjs +0 -12
  301. package/esm2020/filtering/cell/row-filtering.module.mjs +0 -77
  302. package/esm2020/filtering/menu/filter-menu.module.mjs +0 -80
  303. package/esm2020/filtering/shared-filtering.module.mjs +0 -94
  304. package/esm2020/localization/messages.mjs +0 -138
  305. package/esm2020/pager/pager-context.service.mjs +0 -42
  306. package/esm2020/pager/pager-element.component.mjs +0 -103
  307. package/esm2020/pager/pager-info.component.mjs +0 -75
  308. package/esm2020/pager/pager-input.component.mjs +0 -144
  309. package/esm2020/pager/pager-next-buttons.component.mjs +0 -126
  310. package/esm2020/pager/pager-numeric-buttons.component.mjs +0 -244
  311. package/esm2020/pager/pager-page-sizes.component.mjs +0 -139
  312. package/esm2020/pager/pager-prev-buttons.component.mjs +0 -126
  313. package/esm2020/pager/pager-template.directive.mjs +0 -48
  314. package/esm2020/pager/pager.component.mjs +0 -415
  315. package/esm2020/pager/pager.module.mjs +0 -43
  316. package/esm2020/pager/pagesize-item.interface.mjs +0 -5
  317. package/esm2020/rendering/body.module.mjs +0 -40
  318. package/esm2020/rendering/header/header.module.mjs +0 -94
  319. package/esm2020/shared.module.mjs +0 -41
  320. package/esm2020/treelist.module.mjs +0 -176
  321. package/fesm2015/progress-kendo-angular-treelist.mjs +0 -21537
  322. package/filtering/cell/row-filtering.module.d.ts +0 -57
  323. package/filtering/menu/filter-menu.module.d.ts +0 -60
  324. package/filtering/shared-filtering.module.d.ts +0 -52
  325. package/pager/pager-context.service.d.ts +0 -32
  326. package/pager/pager-element.component.d.ts +0 -74
  327. package/pager/pager-info.component.d.ts +0 -43
  328. package/pager/pager-input.component.d.ts +0 -45
  329. package/pager/pager-next-buttons.component.d.ts +0 -36
  330. package/pager/pager-numeric-buttons.component.d.ts +0 -52
  331. package/pager/pager-page-sizes.component.d.ts +0 -48
  332. package/pager/pager-prev-buttons.component.d.ts +0 -32
  333. package/pager/pager-template.directive.d.ts +0 -38
  334. package/pager/pager.component.d.ts +0 -73
  335. package/pager/pager.module.d.ts +0 -27
  336. package/pager/pagesize-item.interface.d.ts +0 -14
  337. package/rendering/body.module.d.ts +0 -28
  338. package/rendering/header/header.module.d.ts +0 -84
  339. package/shared.module.d.ts +0 -29
  340. /package/{esm2020 → esm2022}/column-menu/column-menu-settings.interface.mjs +0 -0
  341. /package/{esm2020 → esm2022}/column-menu/utils.mjs +0 -0
  342. /package/{esm2020 → esm2022}/column-resizing/column-resize.interface.mjs +0 -0
  343. /package/{esm2020 → esm2022}/columns/column-common.mjs +0 -0
  344. /package/{esm2020 → esm2022}/columns/sort-settings.mjs +0 -0
  345. /package/{esm2020 → esm2022}/common/cell-click-event-args.interface.mjs +0 -0
  346. /package/{esm2020 → esm2022}/common/create-form-group.mjs +0 -0
  347. /package/{esm2020 → esm2022}/common/default-track-by.mjs +0 -0
  348. /package/{esm2020 → esm2022}/common/filter-descriptor-differ.mjs +0 -0
  349. /package/{esm2020 → esm2022}/common/filter-operator.interface.mjs +0 -0
  350. /package/{esm2020/pager → esm2022/common}/pager-settings.mjs +0 -0
  351. /package/{esm2020 → esm2022}/common/remove-confirmation.mjs +0 -0
  352. /package/{esm2020 → esm2022}/data/change-event-args.interface.mjs +0 -0
  353. /package/{esm2020 → esm2022}/data/data-item.interface.mjs +0 -0
  354. /package/{esm2020 → esm2022}/data/treelist-item.interface.mjs +0 -0
  355. /package/{esm2020 → esm2022}/dragdrop/column-reorder-config.mjs +0 -0
  356. /package/{esm2020 → esm2022}/dragdrop/common.mjs +0 -0
  357. /package/{esm2020 → esm2022}/dragdrop/context-types.mjs +0 -0
  358. /package/{esm2020 → esm2022}/editing/add-event-args.interface.mjs +0 -0
  359. /package/{esm2020 → esm2022}/editing/cancel-event-args.interface.mjs +0 -0
  360. /package/{esm2020 → esm2022}/editing/edit-event-args.interface.mjs +0 -0
  361. /package/{esm2020 → esm2022}/editing/remove-event-args.interface.mjs +0 -0
  362. /package/{esm2020 → esm2022}/editing/save-event-args.interface.mjs +0 -0
  363. /package/{esm2020 → esm2022}/editing-directives/create-form-group-args.interface.mjs +0 -0
  364. /package/{esm2020 → esm2022}/editing-directives/edit-service.interface.mjs +0 -0
  365. /package/{esm2020 → esm2022}/editing-directives/local-edit.service.mjs +0 -0
  366. /package/{esm2020 → esm2022}/editing-directives/utils.mjs +0 -0
  367. /package/{esm2020 → esm2022}/excel/excel-export-data.interface.mjs +0 -0
  368. /package/{esm2020 → esm2022}/filtering/cell/filter-cell-component.factory.mjs +0 -0
  369. /package/{esm2020 → esm2022}/filtering/filter-component.interface.mjs +0 -0
  370. /package/{esm2020 → esm2022}/filtering/filterable.mjs +0 -0
  371. /package/{esm2020 → esm2022}/filtering/menu/filter-menu-component.factory.mjs +0 -0
  372. /package/{esm2020 → esm2022}/layout/row-sync.mjs +0 -0
  373. /package/{esm2020 → esm2022}/navigation/focusable-element.interface.mjs +0 -0
  374. /package/{esm2020 → esm2022}/navigation/logical-cell.interface.mjs +0 -0
  375. /package/{esm2020 → esm2022}/navigation/logical-row.interface.mjs +0 -0
  376. /package/{esm2020 → esm2022}/navigation/navigation-cell.interface.mjs +0 -0
  377. /package/{esm2020 → esm2022}/navigation/navigation-change.interface.mjs +0 -0
  378. /package/{esm2020 → esm2022}/navigation/navigation-mode.mjs +0 -0
  379. /package/{esm2020 → esm2022}/navigation/navigation-row.interface.mjs +0 -0
  380. /package/{esm2020 → esm2022}/pdf/export-element.mjs +0 -0
  381. /package/{esm2020 → esm2022}/pdf/pdf-export-event.mjs +0 -0
  382. /package/{esm2020 → esm2022}/pdf/pdf-margin.interface.mjs +0 -0
  383. /package/{esm2020 → esm2022}/progress-kendo-angular-treelist.mjs +0 -0
  384. /package/{esm2020 → esm2022}/rendering/common/dom-queries.mjs +0 -0
  385. /package/{esm2020 → esm2022}/rendering/common/row-class.mjs +0 -0
  386. /package/{esm2020 → esm2022}/rendering/constants.mjs +0 -0
  387. /package/{esm2020 → esm2022}/row-reordering/types.mjs +0 -0
  388. /package/{esm2020 → esm2022}/row-reordering/utils.mjs +0 -0
  389. /package/{esm2020 → esm2022}/scrolling/content-scroll-event.mjs +0 -0
  390. /package/{esm2020 → esm2022}/scrolling/scroll-bottom-event.mjs +0 -0
  391. /package/{esm2020 → esm2022}/scrolling/scrollmode.mjs +0 -0
  392. /package/{esm2020 → esm2022}/selection/is-selected.mjs +0 -0
  393. /package/{esm2020 → esm2022}/selection/selectable-settings.mjs +0 -0
  394. /package/{esm2020 → esm2022}/utils.mjs +0 -0
@@ -85,17 +85,14 @@ const indexOf = (target, list) => {
85
85
  * @hidden
86
86
  */
87
87
  export class ColumnHandleDirective {
88
- constructor(draggable, element, service, zone, cdr, localization) {
89
- this.draggable = draggable;
90
- this.element = element;
91
- this.service = service;
92
- this.zone = zone;
93
- this.cdr = cdr;
94
- this.localization = localization;
95
- this.columns = [];
96
- this.subscriptions = new Subscription();
97
- this.rtl = false;
98
- }
88
+ draggable;
89
+ element;
90
+ service;
91
+ zone;
92
+ cdr;
93
+ localization;
94
+ columns = [];
95
+ column;
99
96
  get visible() {
100
97
  return this.column.resizable ? 'block' : 'none';
101
98
  }
@@ -105,6 +102,8 @@ export class ColumnHandleDirective {
105
102
  get rightStyle() {
106
103
  return isTruthy(this.rtl) ? null : 0;
107
104
  }
105
+ subscriptions = new Subscription();
106
+ rtl = false;
108
107
  autoFit() {
109
108
  const allLeafs = allLeafColumns(this.columns);
110
109
  const currentLeafs = leafColumns([this.column]).filter(column => isTruthy(column.resizable));
@@ -124,6 +123,14 @@ export class ColumnHandleDirective {
124
123
  currentLeafs.forEach(column => column.width = 0);
125
124
  this.service.measureColumns(columnInfo);
126
125
  }
126
+ constructor(draggable, element, service, zone, cdr, localization) {
127
+ this.draggable = draggable;
128
+ this.element = element;
129
+ this.service = service;
130
+ this.zone = zone;
131
+ this.cdr = cdr;
132
+ this.localization = localization;
133
+ }
127
134
  ngOnInit() {
128
135
  const service = this.service.changes.pipe(filter(() => this.column.resizable), filter(e => isPresent(e.columns.find(column => column === this.column))));
129
136
  this.subscriptions.add(service.pipe(filter(e => e.type === 'start'))
@@ -189,10 +196,10 @@ export class ColumnHandleDirective {
189
196
  columnsForLevel(level) {
190
197
  return columnsToRender(this.columns ? this.columns.filter(column => column.level === level) : []);
191
198
  }
199
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnHandleDirective, deps: [{ token: i1.DraggableDirective, host: true }, { token: i0.ElementRef }, { token: i2.ColumnResizingService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i3.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
200
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ColumnHandleDirective, isStandalone: true, selector: "[kendoTreeListColumnHandle]", inputs: { columns: "columns", column: "column" }, host: { listeners: { "dblclick": "autoFit()" }, properties: { "style.display": "this.visible", "style.left": "this.leftStyle", "style.right": "this.rightStyle" } }, ngImport: i0 });
192
201
  }
193
- ColumnHandleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColumnHandleDirective, deps: [{ token: i1.DraggableDirective, host: true }, { token: i0.ElementRef }, { token: i2.ColumnResizingService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i3.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
194
- ColumnHandleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ColumnHandleDirective, isStandalone: true, selector: "[kendoTreeListColumnHandle]", inputs: { columns: "columns", column: "column" }, host: { listeners: { "dblclick": "autoFit()" }, properties: { "style.display": "this.visible", "style.left": "this.leftStyle", "style.right": "this.rightStyle" } }, ngImport: i0 });
195
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColumnHandleDirective, decorators: [{
202
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnHandleDirective, decorators: [{
196
203
  type: Directive,
197
204
  args: [{
198
205
  selector: '[kendoTreeListColumnHandle]',
@@ -22,11 +22,11 @@ const resizeArgs = (column, extra) => Object.assign({
22
22
  * @hidden
23
23
  */
24
24
  export class ColumnResizingService {
25
- constructor() {
26
- this.changes = new EventEmitter();
27
- this.tables = [];
28
- this.batch = null;
29
- }
25
+ changes = new EventEmitter();
26
+ column;
27
+ resizedColumns;
28
+ tables = [];
29
+ batch = null;
30
30
  start(column) {
31
31
  this.trackColumns(column);
32
32
  const columns = (this.column.isColumnGroup ? [column] : [])
@@ -132,10 +132,10 @@ export class ColumnResizingService {
132
132
  });
133
133
  this.batch = null;
134
134
  }
135
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnResizingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
136
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnResizingService, providedIn: 'root' });
135
137
  }
136
- ColumnResizingService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColumnResizingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
137
- ColumnResizingService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColumnResizingService, providedIn: 'root' });
138
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColumnResizingService, decorators: [{
138
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnResizingService, decorators: [{
139
139
  type: Injectable,
140
140
  args: [{
141
141
  providedIn: 'root'
@@ -37,17 +37,26 @@ const pipe = (...fns) => data => fns.reduce((state, fn) => state ? fn(state) : 0
37
37
  * @hidden
38
38
  */
39
39
  export class TableDirective {
40
+ element;
41
+ renderer;
42
+ service;
43
+ zone;
44
+ cdr;
45
+ locked = false;
46
+ virtualColumns;
47
+ get minWidth() {
48
+ return this.firstResize ? 0 : null;
49
+ }
50
+ originalWidth;
51
+ firstResize = false;
52
+ subscription;
53
+ autoFitSubscription;
40
54
  constructor(element, renderer, service, zone, cdr) {
41
55
  this.element = element;
42
56
  this.renderer = renderer;
43
57
  this.service = service;
44
58
  this.zone = zone;
45
59
  this.cdr = cdr;
46
- this.locked = false;
47
- this.firstResize = false;
48
- }
49
- get minWidth() {
50
- return this.firstResize ? 0 : null;
51
60
  }
52
61
  ngOnInit() {
53
62
  const obs = this.service
@@ -102,10 +111,10 @@ export class TableDirective {
102
111
  }
103
112
  return Math.max(header, data);
104
113
  }
114
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TableDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.ColumnResizingService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
115
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TableDirective, isStandalone: true, selector: "[kendoTreeListResizableTable]", inputs: { locked: "locked", virtualColumns: "virtualColumns" }, host: { properties: { "style.min-width": "this.minWidth" } }, ngImport: i0 });
105
116
  }
106
- TableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TableDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.ColumnResizingService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
107
- TableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TableDirective, isStandalone: true, selector: "[kendoTreeListResizableTable]", inputs: { locked: "locked", virtualColumns: "virtualColumns" }, host: { properties: { "style.min-width": "this.minWidth" } }, ngImport: i0 });
108
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TableDirective, decorators: [{
117
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TableDirective, decorators: [{
109
118
  type: Directive,
110
119
  args: [{
111
120
  selector: '[kendoTreeListResizableTable]',
@@ -11,26 +11,41 @@ import * as i1 from "./column-base";
11
11
  * Represents the checkbox for selecting rows in the TreeList. [See example](slug:treelist_row_selection#toc-select-all-checkbox).
12
12
  */
13
13
  export class CheckboxColumnComponent extends ColumnBase {
14
+ parent;
15
+ /**
16
+ * Determines whether a select-all checkbox will be displayed in the header.
17
+ */
18
+ showSelectAll;
19
+ /**
20
+ * Determines whether checkbox click should select / unselect all children
21
+ */
22
+ checkChildren;
23
+ /**
24
+ * Defines whether the expanded indicator should be rendered in the column.
25
+ * @default false
26
+ */
27
+ expandable;
28
+ /*
29
+ * @hidden
30
+ */
31
+ isCheckboxColumn = true;
32
+ template;
14
33
  constructor(parent) {
15
34
  super(parent);
16
35
  this.parent = parent;
17
- /*
18
- * @hidden
19
- */
20
- this.isCheckboxColumn = true;
21
36
  }
22
37
  get templateRef() {
23
38
  return this.template ? this.template.templateRef : undefined;
24
39
  }
40
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CheckboxColumnComponent, deps: [{ token: i1.ColumnBase, host: true, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component });
41
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CheckboxColumnComponent, isStandalone: true, selector: "kendo-treelist-checkbox-column", inputs: { showSelectAll: "showSelectAll", checkChildren: "checkChildren", expandable: "expandable" }, providers: [
42
+ {
43
+ provide: ColumnBase,
44
+ useExisting: forwardRef(() => CheckboxColumnComponent)
45
+ }
46
+ ], queries: [{ propertyName: "template", first: true, predicate: CellTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
25
47
  }
26
- CheckboxColumnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CheckboxColumnComponent, deps: [{ token: i1.ColumnBase, host: true, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component });
27
- CheckboxColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CheckboxColumnComponent, isStandalone: true, selector: "kendo-treelist-checkbox-column", inputs: { showSelectAll: "showSelectAll", checkChildren: "checkChildren", expandable: "expandable" }, providers: [
28
- {
29
- provide: ColumnBase,
30
- useExisting: forwardRef(() => CheckboxColumnComponent)
31
- }
32
- ], queries: [{ propertyName: "template", first: true, predicate: CellTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CheckboxColumnComponent, decorators: [{
48
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CheckboxColumnComponent, decorators: [{
34
49
  type: Component,
35
50
  args: [{
36
51
  providers: [
@@ -26,78 +26,18 @@ const isColumnContainer = column => column.isColumnGroup || isSpanColumn(column)
26
26
  * The base class for the column components of the TreeList.
27
27
  */
28
28
  export class ColumnBase {
29
+ parent;
30
+ optionChanges;
29
31
  /**
30
32
  * @hidden
31
33
  */
32
- constructor(parent, optionChanges) {
33
- this.parent = parent;
34
- this.optionChanges = optionChanges;
35
- /**
36
- * @hidden
37
- */
38
- this.matchesMedia = true;
39
- /**
40
- * The column index after reordering.
41
- * The orderIndex` is a read-only property. Setting this field does not affect column order.
42
- * @default 0
43
- */
44
- this.orderIndex = 0;
45
- /**
46
- * @hidden
47
- */
48
- this.isColumnGroup = false;
49
- /**
50
- * @hidden
51
- */
52
- this.isSpanColumn = false;
53
- /**
54
- * Indicates whether the column is resizable.
55
- * @default true
56
- */
57
- this.resizable = true;
58
- /**
59
- * Indicates whether the column is reorderable.
60
- * @default true
61
- */
62
- this.reorderable = true;
63
- /**
64
- * The width (in pixels) below which the user is not able to resize the column by using the UI.
65
- * @default 10
66
- */
67
- this.minResizableWidth = 10;
68
- this._locked = false;
69
- /**
70
- * Specifies if the column can be locked or unlocked from the column menu or by reordering the columns.
71
- * @default true
72
- */
73
- this.lockable = true;
74
- /**
75
- * Specifies if the column menu will be shown for the column.
76
- * @default true
77
- */
78
- this.columnMenu = true;
79
- /**
80
- * Specifies if the column will be included in the column-chooser list.
81
- * @default true
82
- */
83
- this.includeInChooser = true;
84
- /**
85
- * Allows setting the `role` attribute for the table cells (excluding the footer and header ones) of the column.
86
- * @default "gridcell"
87
- */
88
- this.tableCellsRole = 'gridcell';
89
- /**
90
- * @hidden
91
- */
92
- this.headerTemplates = new QueryList();
93
- /**
94
- * @hidden
95
- */
96
- this.columnMenuTemplates = new QueryList();
97
- if (parent && !isColumnContainer(parent)) {
98
- throw new Error('Columns can be nested only inside ColumnGroupComponent');
99
- }
100
- }
34
+ matchesMedia = true;
35
+ /**
36
+ * The column index after reordering.
37
+ * The orderIndex` is a read-only property. Setting this field does not affect column order.
38
+ * @default 0
39
+ */
40
+ orderIndex = 0;
101
41
  /**
102
42
  * @hidden
103
43
  */
@@ -110,6 +50,34 @@ export class ColumnBase {
110
50
  get leafIndex() {
111
51
  return this._leafIndex;
112
52
  }
53
+ _leafIndex;
54
+ /**
55
+ * @hidden
56
+ */
57
+ isColumnGroup = false;
58
+ /**
59
+ * @hidden
60
+ */
61
+ isSpanColumn = false;
62
+ /**
63
+ * Indicates whether the column is resizable.
64
+ * @default true
65
+ */
66
+ resizable = true;
67
+ /**
68
+ * Indicates whether the column is reorderable.
69
+ * @default true
70
+ */
71
+ reorderable = true;
72
+ /**
73
+ * The width (in pixels) below which the user is not able to resize the column by using the UI.
74
+ * @default 10
75
+ */
76
+ minResizableWidth = 10;
77
+ /**
78
+ * The title of the column.
79
+ */
80
+ title;
113
81
  /**
114
82
  * The width of the column (in pixels).
115
83
  */
@@ -117,6 +85,10 @@ export class ColumnBase {
117
85
  this._width = parseInt(value, 10);
118
86
  }
119
87
  get width() { return this._width; }
88
+ /**
89
+ * Indicates whether the column will be resized during initialization so that it fits its header and row content.
90
+ */
91
+ autoSize;
120
92
  /**
121
93
  * Toggles the locked (frozen) state of the columns ([more information and example](slug:locked_columns_treelist)).
122
94
  *
@@ -128,6 +100,91 @@ export class ColumnBase {
128
100
  get locked() {
129
101
  return this._locked;
130
102
  }
103
+ _locked = false;
104
+ /**
105
+ * Sets the visibility of the column ([see example](slug:hidden_columns_treelist#toc-using-the-built-in-options)).
106
+ *
107
+ * @default false
108
+ */
109
+ hidden;
110
+ /**
111
+ * Sets the condition that needs to be satisfied for a column to remain visible ([see example](slug:responsive_treelist#toc-columns)).
112
+ * If you set the `hidden` property, the behavior of `media` is overridden.
113
+ */
114
+ media;
115
+ /**
116
+ * Specifies if the column can be locked or unlocked from the column menu or by reordering the columns.
117
+ * @default true
118
+ */
119
+ lockable = true;
120
+ /**
121
+ * Specifies if the column menu will be shown for the column.
122
+ * @default true
123
+ */
124
+ columnMenu = true;
125
+ /**
126
+ * Specifies if the column will be included in the column-chooser list.
127
+ * @default true
128
+ */
129
+ includeInChooser = true;
130
+ /**
131
+ * Allows setting the `role` attribute for the table cells (excluding the footer and header ones) of the column.
132
+ * @default "gridcell"
133
+ */
134
+ tableCellsRole = 'gridcell';
135
+ /**
136
+ * Sets the custom styles for the table cells (excluding the footer and header ones) of the column. Under the hood,
137
+ * to apply the property, the `style` option uses the
138
+ * [NgStyle](link:site.data.urls.angular['ngstyleapi']) directive. [See example](slug:styling_treelist_columns).
139
+ */
140
+ style;
141
+ /**
142
+ * Sets the custom styles for the header cell of the column. Under the hood, to apply the property,
143
+ * the `headerStyle` option uses the
144
+ * [NgStyle](link:site.data.urls.angular['ngstyleapi']) directive. [See example](slug:styling_treelist_columns).
145
+ */
146
+ headerStyle;
147
+ /**
148
+ * Sets the custom styles for the footer cell of the column. Under the hood, to apply the property,
149
+ * the `footerStyle` option uses the
150
+ * [NgStyle](link:site.data.urls.angular['ngstyleapi']) directive. [See example](slug:styling_treelist_columns).
151
+ */
152
+ footerStyle;
153
+ /**
154
+ * Sets the custom CSS classes to the column cells. Under the hood, to apply the property, the `class` option uses the
155
+ * [NgClass](link:site.data.urls.angular['ngclassapi']) directive.
156
+ * To customize header and footer column cells, use the [`headerClass`]({% slug api_treelist_columncomponent %}#toc-headerclass)
157
+ * and [`footerClass`]({% slug api_treelist_columncomponent %}#toc-footerclass) inputs.
158
+ */
159
+ cssClass;
160
+ /**
161
+ * Sets the custom CSS classes to the column header cell. Under the hood, to apply the property,
162
+ * the `headerClass` option uses the
163
+ * [NgClass](link:site.data.urls.angular['ngclassapi']) directive. [See example](slug:styling_treelist_columns).
164
+ */
165
+ headerClass;
166
+ /**
167
+ * Sets the custom CSS classes to the column footer cell. Under the hood, to apply the property,
168
+ * the `footerClass` option uses the
169
+ * [NgClass](link:site.data.urls.angular['ngclassapi']) directive. [See example](slug:styling_treelist_columns).
170
+ */
171
+ footerClass;
172
+ /**
173
+ * @hidden
174
+ */
175
+ headerTemplates = new QueryList();
176
+ /**
177
+ * @hidden
178
+ */
179
+ footerTemplate;
180
+ /**
181
+ * @hidden
182
+ */
183
+ columnMenuTemplates = new QueryList();
184
+ /**
185
+ * @hidden
186
+ */
187
+ resizeStartWidth;
131
188
  /**
132
189
  * @hidden
133
190
  */
@@ -143,6 +200,7 @@ export class ColumnBase {
143
200
  get isLocked() {
144
201
  return this.parent ? this.parent.isLocked : this.locked;
145
202
  }
203
+ _width;
146
204
  /**
147
205
  * @hidden
148
206
  */
@@ -193,15 +251,25 @@ export class ColumnBase {
193
251
  get isEditable() {
194
252
  return false;
195
253
  }
254
+ /**
255
+ * @hidden
256
+ */
257
+ constructor(parent, optionChanges) {
258
+ this.parent = parent;
259
+ this.optionChanges = optionChanges;
260
+ if (parent && !isColumnContainer(parent)) {
261
+ throw new Error('Columns can be nested only inside ColumnGroupComponent');
262
+ }
263
+ }
196
264
  ngOnChanges(_changes) {
197
265
  if (this.optionChanges) {
198
266
  this.optionChanges.columnChanged();
199
267
  }
200
268
  }
269
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnBase, deps: [{ token: ColumnBase }, { token: i1.OptionChangesService }], target: i0.ɵɵFactoryTarget.Directive });
270
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ColumnBase, inputs: { resizable: "resizable", reorderable: "reorderable", minResizableWidth: "minResizableWidth", title: "title", width: "width", autoSize: "autoSize", locked: "locked", hidden: "hidden", media: "media", lockable: "lockable", columnMenu: "columnMenu", includeInChooser: "includeInChooser", tableCellsRole: "tableCellsRole", style: "style", headerStyle: "headerStyle", footerStyle: "footerStyle", cssClass: ["class", "cssClass"], headerClass: "headerClass", footerClass: "footerClass" }, queries: [{ propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }, { propertyName: "headerTemplates", predicate: HeaderTemplateDirective }, { propertyName: "columnMenuTemplates", predicate: ColumnMenuTemplateDirective }], usesOnChanges: true, ngImport: i0 });
201
271
  }
202
- ColumnBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColumnBase, deps: [{ token: ColumnBase }, { token: i1.OptionChangesService }], target: i0.ɵɵFactoryTarget.Directive });
203
- ColumnBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ColumnBase, inputs: { resizable: "resizable", reorderable: "reorderable", minResizableWidth: "minResizableWidth", title: "title", width: "width", autoSize: "autoSize", locked: "locked", hidden: "hidden", media: "media", lockable: "lockable", columnMenu: "columnMenu", includeInChooser: "includeInChooser", tableCellsRole: "tableCellsRole", style: "style", headerStyle: "headerStyle", footerStyle: "footerStyle", cssClass: ["class", "cssClass"], headerClass: "headerClass", footerClass: "footerClass" }, queries: [{ propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }, { propertyName: "headerTemplates", predicate: HeaderTemplateDirective }, { propertyName: "columnMenuTemplates", predicate: ColumnMenuTemplateDirective }], usesOnChanges: true, ngImport: i0 });
204
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColumnBase, decorators: [{
272
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnBase, decorators: [{
205
273
  type: Directive,
206
274
  args: [{}]
207
275
  }], ctorParameters: function () { return [{ type: ColumnBase }, { type: i1.OptionChangesService }]; }, propDecorators: { resizable: [{
@@ -30,20 +30,24 @@ export function isColumnGroupComponent(column) {
30
30
  * ```
31
31
  */
32
32
  export class ColumnGroupComponent extends ColumnBase {
33
+ /**
34
+ * @hidden
35
+ */
36
+ includeInChooser = false;
37
+ /**
38
+ * @hidden
39
+ */
40
+ isColumnGroup = true;
41
+ /**
42
+ * @hidden
43
+ */
44
+ minResizableWidth = 10;
45
+ /**
46
+ * @hidden
47
+ */
48
+ children;
33
49
  constructor(parent, optionChanges) {
34
50
  super(parent, optionChanges);
35
- /**
36
- * @hidden
37
- */
38
- this.includeInChooser = false;
39
- /**
40
- * @hidden
41
- */
42
- this.isColumnGroup = true;
43
- /**
44
- * @hidden
45
- */
46
- this.minResizableWidth = 10;
47
51
  if (parent && parent.isSpanColumn) {
48
52
  throw new Error('ColumnGroupComponent cannot be nested inside SpanColumnComponent');
49
53
  }
@@ -79,15 +83,15 @@ export class ColumnGroupComponent extends ColumnBase {
79
83
  get firstChild() {
80
84
  return this.children.find(column => column !== this);
81
85
  }
86
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnGroupComponent, deps: [{ token: i1.ColumnBase, host: true, optional: true, skipSelf: true }, { token: i2.OptionChangesService }], target: i0.ɵɵFactoryTarget.Component });
87
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ColumnGroupComponent, isStandalone: true, selector: "kendo-treelist-column-group", providers: [
88
+ {
89
+ provide: ColumnBase,
90
+ useExisting: forwardRef(() => ColumnGroupComponent)
91
+ }
92
+ ], queries: [{ propertyName: "children", predicate: ColumnBase }], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
82
93
  }
83
- ColumnGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColumnGroupComponent, deps: [{ token: i1.ColumnBase, host: true, optional: true, skipSelf: true }, { token: i2.OptionChangesService }], target: i0.ɵɵFactoryTarget.Component });
84
- ColumnGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ColumnGroupComponent, isStandalone: true, selector: "kendo-treelist-column-group", providers: [
85
- {
86
- provide: ColumnBase,
87
- useExisting: forwardRef(() => ColumnGroupComponent)
88
- }
89
- ], queries: [{ propertyName: "children", predicate: ColumnBase }], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
90
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColumnGroupComponent, decorators: [{
94
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnGroupComponent, decorators: [{
91
95
  type: Component,
92
96
  args: [{
93
97
  providers: [
@@ -43,12 +43,13 @@ const filterHierarchy = (list, predicate) => {
43
43
  * @hidden
44
44
  */
45
45
  export class ColumnList {
46
- constructor(columns) {
47
- this.columns = columns;
48
- }
46
+ columns;
49
47
  static empty() {
50
48
  return new ColumnList(new QueryList());
51
49
  }
50
+ constructor(columns) {
51
+ this.columns = columns;
52
+ }
52
53
  forEach(callback) {
53
54
  forEachColumn(this.columns, callback);
54
55
  }
@@ -31,38 +31,56 @@ export function isColumnComponent(column) {
31
31
  * ```
32
32
  */
33
33
  export class ColumnComponent extends ColumnBase {
34
+ /**
35
+ * Defines whether the expanded indicator should be rendered in the column.
36
+ * @default false
37
+ */
38
+ expandable;
39
+ /**
40
+ * The field to which the column is bound.
41
+ */
42
+ field;
43
+ /**
44
+ * The format that is applied to the value before it is displayed. For more information on the supported date and number formats,
45
+ * refer to the [Column Formats](slug:formats_columns_treelist) documentation article.
46
+ */
47
+ format;
48
+ /**
49
+ * Allows the column headers to be clicked and the `sortChange` event emitted.
50
+ * You have to handle the `sortChange` event yourself and sort the data.
51
+ */
52
+ sortable = true;
53
+ /**
54
+ * Defines the editor type ([see example]({% slug editing_reactive_forms_treelist %}#toc-setup)).
55
+ * Used when the column enters the edit mode. [See example](slug:editing_reactive_forms_treelist).
56
+ *
57
+ * @default 'text'
58
+ */
59
+ editor = 'text';
60
+ /**
61
+ * Defines the filter type that is displayed inside the filter row.
62
+ *
63
+ * @default 'text'
64
+ */
65
+ filter = 'text';
66
+ /**
67
+ * Defines if a filter UI will be displayed for this column.
68
+ *
69
+ * @default true
70
+ */
71
+ filterable = true;
72
+ /**
73
+ * Defines whether the column is editable.
74
+ *
75
+ * @default true
76
+ */
77
+ editable = true;
78
+ template;
79
+ editTemplate;
80
+ filterCellTemplate;
81
+ filterMenuTemplate;
34
82
  constructor(parent, optionChanges) {
35
83
  super(parent, optionChanges);
36
- /**
37
- * Allows the column headers to be clicked and the `sortChange` event emitted.
38
- * You have to handle the `sortChange` event yourself and sort the data.
39
- */
40
- this.sortable = true;
41
- /**
42
- * Defines the editor type ([see example]({% slug editing_reactive_forms_treelist %}#toc-setup)).
43
- * Used when the column enters the edit mode. [See example](slug:editing_reactive_forms_treelist).
44
- *
45
- * @default 'text'
46
- */
47
- this.editor = 'text';
48
- /**
49
- * Defines the filter type that is displayed inside the filter row.
50
- *
51
- * @default 'text'
52
- */
53
- this.filter = 'text';
54
- /**
55
- * Defines if a filter UI will be displayed for this column.
56
- *
57
- * @default true
58
- */
59
- this.filterable = true;
60
- /**
61
- * Defines whether the column is editable.
62
- *
63
- * @default true
64
- */
65
- this.editable = true;
66
84
  }
67
85
  get templateRef() {
68
86
  return this.template ? this.template.templateRef : undefined;
@@ -85,15 +103,15 @@ export class ColumnComponent extends ColumnBase {
85
103
  get isEditable() {
86
104
  return this.editable !== false;
87
105
  }
106
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnComponent, deps: [{ token: i1.ColumnBase, host: true, optional: true, skipSelf: true }, { token: i2.OptionChangesService }], target: i0.ɵɵFactoryTarget.Component });
107
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ColumnComponent, isStandalone: true, selector: "kendo-treelist-column", inputs: { expandable: "expandable", field: "field", format: "format", sortable: "sortable", editor: "editor", filter: "filter", filterable: "filterable", editable: "editable" }, providers: [
108
+ {
109
+ provide: ColumnBase,
110
+ useExisting: forwardRef(() => ColumnComponent)
111
+ }
112
+ ], queries: [{ propertyName: "template", first: true, predicate: CellTemplateDirective, descendants: true }, { propertyName: "editTemplate", first: true, predicate: EditTemplateDirective, descendants: true }, { propertyName: "filterCellTemplate", first: true, predicate: FilterCellTemplateDirective, descendants: true }, { propertyName: "filterMenuTemplate", first: true, predicate: FilterMenuTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
88
113
  }
89
- ColumnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColumnComponent, deps: [{ token: i1.ColumnBase, host: true, optional: true, skipSelf: true }, { token: i2.OptionChangesService }], target: i0.ɵɵFactoryTarget.Component });
90
- ColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ColumnComponent, isStandalone: true, selector: "kendo-treelist-column", inputs: { expandable: "expandable", field: "field", format: "format", sortable: "sortable", editor: "editor", filter: "filter", filterable: "filterable", editable: "editable" }, providers: [
91
- {
92
- provide: ColumnBase,
93
- useExisting: forwardRef(() => ColumnComponent)
94
- }
95
- ], queries: [{ propertyName: "template", first: true, predicate: CellTemplateDirective, descendants: true }, { propertyName: "editTemplate", first: true, predicate: EditTemplateDirective, descendants: true }, { propertyName: "filterCellTemplate", first: true, predicate: FilterCellTemplateDirective, descendants: true }, { propertyName: "filterMenuTemplate", first: true, predicate: FilterMenuTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
96
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColumnComponent, decorators: [{
114
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnComponent, decorators: [{
97
115
  type: Component,
98
116
  args: [{
99
117
  providers: [