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

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
@@ -31,13 +31,14 @@ import * as i0 from "@angular/core";
31
31
  * ```
32
32
  */
33
33
  export class ColumnMenuTemplateDirective {
34
+ templateRef;
34
35
  constructor(templateRef) {
35
36
  this.templateRef = templateRef;
36
37
  }
38
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnMenuTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
39
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ColumnMenuTemplateDirective, isStandalone: true, selector: "[kendoTreeListColumnMenuTemplate]", ngImport: i0 });
37
40
  }
38
- ColumnMenuTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColumnMenuTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
39
- ColumnMenuTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ColumnMenuTemplateDirective, isStandalone: true, selector: "[kendoTreeListColumnMenuTemplate]", ngImport: i0 });
40
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColumnMenuTemplateDirective, decorators: [{
41
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnMenuTemplateDirective, decorators: [{
41
42
  type: Directive,
42
43
  args: [{
43
44
  selector: '[kendoTreeListColumnMenuTemplate]',
@@ -24,32 +24,56 @@ const POPUP_CLASSES = 'k-grid-columnmenu-popup k-column-menu';
24
24
  * Represents the [column menu]({% slug columnmenu_treelist %}) component of the TreeList.
25
25
  */
26
26
  export class ColumnMenuComponent {
27
+ popupService;
28
+ localization;
29
+ service;
30
+ cdr;
31
+ /**
32
+ * @hidden
33
+ */
34
+ standalone = true;
35
+ /**
36
+ * The TreeList column instance to control with the menu.
37
+ */
38
+ column;
39
+ /**
40
+ * The settings for the Column Menu.
41
+ */
42
+ settings = {};
43
+ /**
44
+ * The descriptors by which the data will be sorted.
45
+ * Typically bound to the same value as [TreeListComponent.sort]({% slug api_treelist_treelistcomponent %}#toc-sort).
46
+ */
47
+ sort;
48
+ /**
49
+ * The descriptor by which the data will be filtered.
50
+ * Typically bound to the same value as [TreeListComponent.filter]({% slug api_treelist_treelistcomponent %}#toc-filter).
51
+ */
52
+ filter;
53
+ /**
54
+ * @hidden
55
+ */
56
+ sortable = true;
57
+ /**
58
+ * @hidden
59
+ */
60
+ columnMenuTemplate;
61
+ /**
62
+ * @hidden
63
+ */
64
+ expandedFilter = false;
65
+ /**
66
+ * @hidden
67
+ */
68
+ expandedColumns = false;
69
+ moreVerticalIcon = moreVerticalIcon;
70
+ popupRef;
71
+ closeSubscription;
27
72
  constructor(popupService, localization, service, cdr) {
28
73
  this.popupService = popupService;
29
74
  this.localization = localization;
30
75
  this.service = service;
31
76
  this.cdr = cdr;
32
- /**
33
- * @hidden
34
- */
35
- this.standalone = true;
36
- /**
37
- * The settings for the Column Menu.
38
- */
39
- this.settings = {};
40
- /**
41
- * @hidden
42
- */
43
- this.sortable = true;
44
- /**
45
- * @hidden
46
- */
47
- this.expandedFilter = false;
48
- /**
49
- * @hidden
50
- */
51
- this.expandedColumns = false;
52
- this.moreVerticalIcon = moreVerticalIcon;
53
77
  this.closeSubscription = service.closeMenu.subscribe(this.close.bind(this));
54
78
  }
55
79
  /**
@@ -124,9 +148,8 @@ export class ColumnMenuComponent {
124
148
  this.expandedFilter = true;
125
149
  this.expandedColumns = false;
126
150
  }
127
- }
128
- ColumnMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColumnMenuComponent, deps: [{ token: i1.SinglePopupService }, { token: i2.LocalizationService }, { token: i3.ColumnMenuService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
129
- ColumnMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ColumnMenuComponent, isStandalone: true, selector: "kendo-treelist-column-menu", inputs: { standalone: "standalone", column: "column", settings: "settings", sort: "sort", filter: "filter", sortable: "sortable", columnMenuTemplate: "columnMenuTemplate" }, host: { properties: { "class.k-grid-column-menu-standalone": "this.standalone" } }, providers: [ColumnMenuService], usesOnChanges: true, ngImport: i0, template: `
151
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnMenuComponent, deps: [{ token: i1.SinglePopupService }, { token: i2.LocalizationService }, { token: i3.ColumnMenuService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
152
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ColumnMenuComponent, isStandalone: true, selector: "kendo-treelist-column-menu", inputs: { standalone: "standalone", column: "column", settings: "settings", sort: "sort", filter: "filter", sortable: "sortable", columnMenuTemplate: "columnMenuTemplate" }, host: { properties: { "class.k-grid-column-menu-standalone": "this.standalone" } }, providers: [ColumnMenuService], usesOnChanges: true, ngImport: i0, template: `
130
153
  <a #anchor
131
154
  class="k-grid-column-menu k-grid-header-menu"
132
155
  [ngClass]="{ 'k-active': isActive }"
@@ -156,7 +179,8 @@ ColumnMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
156
179
  </kendo-treelist-columnmenu-filter>
157
180
  </ng-template>
158
181
  `, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ColumnMenuSortComponent, selector: "kendo-treelist-columnmenu-sort" }, { kind: "component", type: ColumnMenuLockComponent, selector: "kendo-treelist-columnmenu-lock" }, { kind: "component", type: ColumnMenuChooserComponent, selector: "kendo-treelist-columnmenu-chooser", inputs: ["expanded"], outputs: ["expand", "collapse"] }, { kind: "component", type: ColumnMenuFilterComponent, selector: "kendo-treelist-columnmenu-filter", inputs: ["expanded"], outputs: ["expand", "collapse"] }] });
159
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColumnMenuComponent, decorators: [{
182
+ }
183
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnMenuComponent, decorators: [{
160
184
  type: Component,
161
185
  args: [{
162
186
  providers: [ColumnMenuService],
@@ -21,21 +21,35 @@ import * as i0 from "@angular/core";
21
21
  * ```
22
22
  */
23
23
  export class ColumnMenuService {
24
- constructor() {
25
- /**
26
- * @hidden
27
- */
28
- this.closeMenu = new EventEmitter();
29
- }
24
+ /**
25
+ * @hidden
26
+ */
27
+ closeMenu = new EventEmitter();
28
+ /**
29
+ * @hidden
30
+ */
31
+ column;
32
+ /**
33
+ * @hidden
34
+ */
35
+ sort;
36
+ /**
37
+ * @hidden
38
+ */
39
+ filter;
40
+ /**
41
+ * @hidden
42
+ */
43
+ sortable;
30
44
  /**
31
45
  * Closes the column menu.
32
46
  */
33
47
  close() {
34
48
  this.closeMenu.emit();
35
49
  }
50
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnMenuService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
51
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnMenuService });
36
52
  }
37
- ColumnMenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColumnMenuService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
38
- ColumnMenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColumnMenuService });
39
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColumnMenuService, decorators: [{
53
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnMenuService, decorators: [{
40
54
  type: Injectable
41
55
  }] });
@@ -6,6 +6,10 @@
6
6
  * Arguments for the `columnVisibilityChange` event.
7
7
  */
8
8
  export class ColumnVisibilityChangeEvent {
9
+ /**
10
+ * The columns whose visibility is changed.
11
+ */
12
+ columns;
9
13
  /**
10
14
  * @hidden
11
15
  */
@@ -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: [{