@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
@@ -18,21 +18,22 @@ const reset = (...lists) => {
18
18
  * @hidden
19
19
  */
20
20
  export class ColumnsContainer {
21
+ columns;
22
+ allColumns = new QueryList();
23
+ leafColumns = new QueryList();
24
+ lockedColumns = new QueryList();
25
+ nonLockedColumns = new QueryList();
26
+ lockedLeafColumns = new QueryList();
27
+ nonLockedLeafColumns = new QueryList();
28
+ totalLevels = 0;
29
+ changes = new EventEmitter();
30
+ leafColumnsToRender = [];
31
+ lockedColumnsToRender = [];
32
+ nonLockedColumnsToRender = [];
33
+ hasFooter = false;
34
+ unlockedWidth = 0;
21
35
  constructor(columns) {
22
36
  this.columns = columns;
23
- this.allColumns = new QueryList();
24
- this.leafColumns = new QueryList();
25
- this.lockedColumns = new QueryList();
26
- this.nonLockedColumns = new QueryList();
27
- this.lockedLeafColumns = new QueryList();
28
- this.nonLockedLeafColumns = new QueryList();
29
- this.totalLevels = 0;
30
- this.changes = new EventEmitter();
31
- this.leafColumnsToRender = [];
32
- this.lockedColumnsToRender = [];
33
- this.nonLockedColumnsToRender = [];
34
- this.hasFooter = false;
35
- this.unlockedWidth = 0;
36
37
  }
37
38
  refresh() {
38
39
  const currentLevels = this.totalLevels;
@@ -35,23 +35,25 @@ import * as i2 from "../common/option-changes.service";
35
35
  * ```
36
36
  */
37
37
  export class CommandColumnComponent extends ColumnBase {
38
+ parent;
39
+ template;
40
+ isCommand = true;
38
41
  constructor(parent, optionChanges) {
39
42
  super(parent, optionChanges);
40
43
  this.parent = parent;
41
- this.isCommand = true;
42
44
  }
43
45
  get templateRef() {
44
46
  return this.template ? this.template.templateRef : undefined;
45
47
  }
48
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CommandColumnComponent, deps: [{ token: i1.ColumnBase, host: true, optional: true, skipSelf: true }, { token: i2.OptionChangesService }], target: i0.ɵɵFactoryTarget.Component });
49
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CommandColumnComponent, isStandalone: true, selector: "kendo-treelist-command-column", providers: [
50
+ {
51
+ provide: ColumnBase,
52
+ useExisting: forwardRef(() => CommandColumnComponent)
53
+ }
54
+ ], queries: [{ propertyName: "template", first: true, predicate: CellTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
46
55
  }
47
- CommandColumnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CommandColumnComponent, deps: [{ token: i1.ColumnBase, host: true, optional: true, skipSelf: true }, { token: i2.OptionChangesService }], target: i0.ɵɵFactoryTarget.Component });
48
- CommandColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CommandColumnComponent, isStandalone: true, selector: "kendo-treelist-command-column", providers: [
49
- {
50
- provide: ColumnBase,
51
- useExisting: forwardRef(() => CommandColumnComponent)
52
- }
53
- ], queries: [{ propertyName: "template", first: true, predicate: CellTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
54
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CommandColumnComponent, decorators: [{
56
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CommandColumnComponent, decorators: [{
55
57
  type: Component,
56
58
  args: [{
57
59
  providers: [
@@ -10,23 +10,24 @@ import * as i1 from "./column-base";
10
10
  * Represents the drag handle for reordering rows in the TreeList.
11
11
  */
12
12
  export class RowReorderColumnComponent extends ColumnBase {
13
+ parent;
14
+ /**
15
+ * @hidden
16
+ */
17
+ isRowReorderColumn = true;
13
18
  constructor(parent) {
14
19
  super(parent);
15
20
  this.parent = parent;
16
- /**
17
- * @hidden
18
- */
19
- this.isRowReorderColumn = true;
20
21
  }
22
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RowReorderColumnComponent, deps: [{ token: i1.ColumnBase, host: true, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component });
23
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: RowReorderColumnComponent, isStandalone: true, selector: "kendo-treelist-rowreorder-column", providers: [
24
+ {
25
+ provide: ColumnBase,
26
+ useExisting: forwardRef(() => RowReorderColumnComponent)
27
+ }
28
+ ], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
21
29
  }
22
- RowReorderColumnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RowReorderColumnComponent, deps: [{ token: i1.ColumnBase, host: true, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component });
23
- RowReorderColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: RowReorderColumnComponent, isStandalone: true, selector: "kendo-treelist-rowreorder-column", providers: [
24
- {
25
- provide: ColumnBase,
26
- useExisting: forwardRef(() => RowReorderColumnComponent)
27
- }
28
- ], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RowReorderColumnComponent, decorators: [{
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RowReorderColumnComponent, decorators: [{
30
31
  type: Component,
31
32
  args: [{
32
33
  providers: [
@@ -37,27 +37,45 @@ export function isSpanColumnComponent(column) {
37
37
  * ```
38
38
  */
39
39
  export class SpanColumnComponent extends ColumnBase {
40
- constructor(parent, optionChanges) {
41
- super(parent, optionChanges);
42
- /*
43
- * @hidden
44
- */
45
- this.isSpanColumn = true;
46
- this.template = new QueryList();
47
- this.editTemplate = new QueryList();
48
- /**
49
- * @hidden
50
- */
51
- this.childColumns = new QueryList();
52
- /**
53
- * @hidden
54
- */
55
- this.includeInChooser = false;
56
- this._editable = true;
57
- if (parent && parent.isSpanColumn) {
58
- throw new Error('SpanColumn cannot be nested inside another SpanColumn');
59
- }
60
- }
40
+ /**
41
+ * Defines whether the expanded indicator should be rendered in the column.
42
+ * @default false
43
+ */
44
+ expandable;
45
+ /*
46
+ * @hidden
47
+ */
48
+ isSpanColumn = true;
49
+ /**
50
+ * @hidden
51
+ */
52
+ title;
53
+ /**
54
+ * @hidden
55
+ */
56
+ headerClass;
57
+ /**
58
+ * @hidden
59
+ */
60
+ footerClass;
61
+ /**
62
+ * @hidden
63
+ */
64
+ headerStyle;
65
+ /**
66
+ * @hidden
67
+ */
68
+ footerStyle;
69
+ template = new QueryList();
70
+ editTemplate = new QueryList();
71
+ /**
72
+ * @hidden
73
+ */
74
+ childColumns = new QueryList();
75
+ /**
76
+ * @hidden
77
+ */
78
+ includeInChooser = false;
61
79
  /**
62
80
  * Defines whether the edit template of the column will be rendered. The default value is `false`.
63
81
  *
@@ -85,6 +103,13 @@ export class SpanColumnComponent extends ColumnBase {
85
103
  get leafIndex() {
86
104
  return this.childColumns.first.leafIndex;
87
105
  }
106
+ _editable = true;
107
+ constructor(parent, optionChanges) {
108
+ super(parent, optionChanges);
109
+ if (parent && parent.isSpanColumn) {
110
+ throw new Error('SpanColumn cannot be nested inside another SpanColumn');
111
+ }
112
+ }
88
113
  /**
89
114
  * @hidden
90
115
  */
@@ -126,15 +151,15 @@ export class SpanColumnComponent extends ColumnBase {
126
151
  get hasChildren() {
127
152
  return this.childColumns.length > 0;
128
153
  }
154
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SpanColumnComponent, deps: [{ token: i1.ColumnBase, host: true, optional: true, skipSelf: true }, { token: i2.OptionChangesService }], target: i0.ɵɵFactoryTarget.Component });
155
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SpanColumnComponent, isStandalone: true, selector: "kendo-treelist-span-column", inputs: { expandable: "expandable", title: "title", headerClass: "headerClass", footerClass: "footerClass", headerStyle: "headerStyle", footerStyle: "footerStyle", editable: "editable", locked: "locked" }, providers: [
156
+ {
157
+ provide: ColumnBase,
158
+ useExisting: forwardRef(() => SpanColumnComponent)
159
+ }
160
+ ], queries: [{ propertyName: "template", predicate: CellTemplateDirective }, { propertyName: "editTemplate", predicate: EditTemplateDirective }, { propertyName: "childColumns", predicate: ColumnComponent }], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
129
161
  }
130
- SpanColumnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SpanColumnComponent, deps: [{ token: i1.ColumnBase, host: true, optional: true, skipSelf: true }, { token: i2.OptionChangesService }], target: i0.ɵɵFactoryTarget.Component });
131
- SpanColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SpanColumnComponent, isStandalone: true, selector: "kendo-treelist-span-column", inputs: { expandable: "expandable", editable: "editable", locked: "locked" }, providers: [
132
- {
133
- provide: ColumnBase,
134
- useExisting: forwardRef(() => SpanColumnComponent)
135
- }
136
- ], queries: [{ propertyName: "template", predicate: CellTemplateDirective }, { propertyName: "editTemplate", predicate: EditTemplateDirective }, { propertyName: "childColumns", predicate: ColumnComponent }], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
137
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SpanColumnComponent, decorators: [{
162
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SpanColumnComponent, decorators: [{
138
163
  type: Component,
139
164
  args: [{
140
165
  providers: [
@@ -155,6 +180,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
155
180
  type: Optional
156
181
  }] }, { type: i2.OptionChangesService }]; }, propDecorators: { expandable: [{
157
182
  type: Input
183
+ }], title: [{
184
+ type: Input
185
+ }], headerClass: [{
186
+ type: Input
187
+ }], footerClass: [{
188
+ type: Input
189
+ }], headerStyle: [{
190
+ type: Input
191
+ }], footerStyle: [{
192
+ type: Input
158
193
  }], template: [{
159
194
  type: ContentChildren,
160
195
  args: [CellTemplateDirective, { descendants: false }]
@@ -11,12 +11,11 @@ import * as i0 from "@angular/core";
11
11
  * @hidden
12
12
  */
13
13
  export class ColumnInfoService {
14
- constructor() {
15
- this.visibilityChange = new EventEmitter();
16
- this.lockedChange = new EventEmitter();
17
- this.columnRangeChange = new EventEmitter();
18
- this.columnsContainer = new ColumnsContainer(() => []);
19
- }
14
+ visibilityChange = new EventEmitter();
15
+ lockedChange = new EventEmitter();
16
+ columnRangeChange = new EventEmitter();
17
+ columnsContainer = new ColumnsContainer(() => []);
18
+ list;
20
19
  get lockedLeafColumns() {
21
20
  return this.columnsContainer.lockedLeafColumns;
22
21
  }
@@ -47,9 +46,9 @@ export class ColumnInfoService {
47
46
  changeLocked(columns) {
48
47
  this.lockedChange.emit(columns);
49
48
  }
49
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnInfoService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
50
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnInfoService });
50
51
  }
51
- ColumnInfoService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColumnInfoService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
52
- ColumnInfoService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColumnInfoService });
53
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColumnInfoService, decorators: [{
52
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnInfoService, decorators: [{
54
53
  type: Injectable
55
54
  }] });
@@ -0,0 +1,24 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { Injectable, EventEmitter } from '@angular/core';
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * @hidden
9
+ */
10
+ export class DomEventsService {
11
+ cellClick = new EventEmitter();
12
+ cellMousedown = new EventEmitter();
13
+ click = new EventEmitter();
14
+ keydown = new EventEmitter();
15
+ focus = new EventEmitter();
16
+ focusIn = new EventEmitter();
17
+ focusOut = new EventEmitter();
18
+ windowBlur = new EventEmitter();
19
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DomEventsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
20
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DomEventsService });
21
+ }
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DomEventsService, decorators: [{
23
+ type: Injectable
24
+ }] });
@@ -10,15 +10,16 @@ let sequence = 0;
10
10
  * @hidden
11
11
  */
12
12
  export class IdService {
13
+ prefix;
13
14
  constructor() {
14
15
  this.prefix = `k-treelist${sequence++}`;
15
16
  }
16
17
  cellId(rowIndex, colIndex) {
17
18
  return `${this.prefix}-r${rowIndex}c${colIndex}`;
18
19
  }
20
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IdService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
21
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IdService });
19
22
  }
20
- IdService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IdService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
21
- IdService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IdService });
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IdService, decorators: [{
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IdService, decorators: [{
23
24
  type: Injectable
24
25
  }], ctorParameters: function () { return []; } });
@@ -8,19 +8,17 @@ import * as i0 from "@angular/core";
8
8
  * @hidden
9
9
  */
10
10
  export class OptionChangesService {
11
- constructor() {
12
- this.columns = new EventEmitter();
13
- this.options = new EventEmitter();
14
- }
11
+ columns = new EventEmitter();
12
+ options = new EventEmitter();
15
13
  optionChanged() {
16
14
  this.options.emit();
17
15
  }
18
16
  columnChanged() {
19
17
  this.columns.emit();
20
18
  }
19
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: OptionChangesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
20
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: OptionChangesService });
21
21
  }
22
- OptionChangesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: OptionChangesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
23
- OptionChangesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: OptionChangesService });
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: OptionChangesService, decorators: [{
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: OptionChangesService, decorators: [{
25
23
  type: Injectable
26
24
  }] });
@@ -6,9 +6,7 @@
6
6
  * @hidden
7
7
  */
8
8
  export class PreventableEvent {
9
- constructor() {
10
- this.prevented = false;
11
- }
9
+ prevented = false;
12
10
  /**
13
11
  * Prevents the default action for a specified event.
14
12
  * In this way, the source component suppresses
@@ -15,14 +15,16 @@ import * as i0 from "@angular/core";
15
15
  * and a avoids dependency cycles between components.
16
16
  */
17
17
  export class ContextService {
18
+ treelist;
19
+ topToolbarNavigation;
20
+ bottomToolbarNavigation;
18
21
  constructor(renderer) {
19
- this.renderer = renderer;
20
- this.topToolbarNavigation = new TreeListToolbarNavigationService(this.renderer);
21
- this.bottomToolbarNavigation = new TreeListToolbarNavigationService(this.renderer);
22
+ this.topToolbarNavigation = new TreeListToolbarNavigationService(renderer);
23
+ this.bottomToolbarNavigation = new TreeListToolbarNavigationService(renderer);
22
24
  }
25
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ContextService, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Injectable });
26
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ContextService });
23
27
  }
24
- ContextService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContextService, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Injectable });
25
- ContextService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContextService });
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContextService, decorators: [{
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ContextService, decorators: [{
27
29
  type: Injectable
28
30
  }], ctorParameters: function () { return [{ type: i0.Renderer2 }]; } });
@@ -28,6 +28,10 @@ const contains = (node, predicate) => {
28
28
  * Arguments for the `close` event of the filter and column-menu popup.
29
29
  */
30
30
  export class PopupCloseEvent extends PreventableEvent {
31
+ /**
32
+ * The original DOM event that causes the popup to close.
33
+ */
34
+ originalEvent;
31
35
  /**
32
36
  * @hidden
33
37
  */
@@ -42,6 +46,18 @@ const DEFAULT_POPUP_CLASS = 'k-grid-filter-popup';
42
46
  * ([see example]({% slug filter_menu_treelist %}#toc-filter-menu-with-popup)).
43
47
  */
44
48
  export class SinglePopupService {
49
+ popupService;
50
+ renderer;
51
+ ngZone;
52
+ localization;
53
+ /**
54
+ * Fires when the filter or column menus are about to close because the user clicked outside their popups.
55
+ * Used to prevent the popup from closing.
56
+ */
57
+ onClose = new Subject();
58
+ removeClick;
59
+ popupRef;
60
+ scrollSubscription;
45
61
  /**
46
62
  * @hidden
47
63
  */
@@ -50,11 +66,6 @@ export class SinglePopupService {
50
66
  this.renderer = renderer;
51
67
  this.ngZone = ngZone;
52
68
  this.localization = localization;
53
- /**
54
- * Fires when the filter or column menus are about to close because the user clicked outside their popups.
55
- * Used to prevent the popup from closing.
56
- */
57
- this.onClose = new Subject();
58
69
  this.scrollSubscription = scrollSyncService.changes.pipe(skip(1)).subscribe(() => this.destroy());
59
70
  }
60
71
  /**
@@ -112,9 +123,9 @@ export class SinglePopupService {
112
123
  }
113
124
  }));
114
125
  }
126
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SinglePopupService, deps: [{ token: i1.PopupService }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i2.ScrollSyncService }, { token: i3.LocalizationService }], target: i0.ɵɵFactoryTarget.Injectable });
127
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SinglePopupService });
115
128
  }
116
- SinglePopupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SinglePopupService, deps: [{ token: i1.PopupService }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i2.ScrollSyncService }, { token: i3.LocalizationService }], target: i0.ɵɵFactoryTarget.Injectable });
117
- SinglePopupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SinglePopupService });
118
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SinglePopupService, decorators: [{
129
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SinglePopupService, decorators: [{
119
130
  type: Injectable
120
131
  }], ctorParameters: function () { return [{ type: i1.PopupService }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i2.ScrollSyncService }, { type: i3.LocalizationService }]; } });
@@ -7,9 +7,7 @@ import { Subject } from 'rxjs';
7
7
  * @hidden
8
8
  */
9
9
  export class SortService {
10
- constructor() {
11
- this.changes = new Subject();
12
- }
10
+ changes = new Subject();
13
11
  sort(value) {
14
12
  this.changes.next(value);
15
13
  }
@@ -9,9 +9,11 @@ import * as i0 from "@angular/core";
9
9
  * @hidden
10
10
  */
11
11
  export class ChangeNotificationService {
12
+ ngZone;
13
+ changes = new EventEmitter();
14
+ subscription;
12
15
  constructor(ngZone) {
13
16
  this.ngZone = ngZone;
14
- this.changes = new EventEmitter();
15
17
  }
16
18
  notify() {
17
19
  if (!this.subscription || this.subscription.closed) {
@@ -20,9 +22,9 @@ export class ChangeNotificationService {
20
22
  .subscribe(() => this.changes.emit());
21
23
  }
22
24
  }
25
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ChangeNotificationService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
26
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ChangeNotificationService });
23
27
  }
24
- ChangeNotificationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChangeNotificationService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
25
- ChangeNotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChangeNotificationService });
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChangeNotificationService, decorators: [{
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ChangeNotificationService, decorators: [{
27
29
  type: Injectable
28
30
  }], ctorParameters: function () { return [{ type: i0.NgZone }]; } });
@@ -44,11 +44,10 @@ function loadView(view, subject) {
44
44
  }
45
45
  const LOADING = 'loading';
46
46
  class ViewRange {
47
- constructor(skip, pageSize, pageable) {
48
- this.skip = skip;
49
- this.pageSize = pageSize;
50
- this.pageable = pageable;
51
- }
47
+ skip;
48
+ pageSize;
49
+ pageable;
50
+ expandAll;
52
51
  static create(options) {
53
52
  const { skip, pageSize, pageable, isVirtual } = options;
54
53
  let rangeType = ViewRange;
@@ -62,6 +61,11 @@ class ViewRange {
62
61
  }
63
62
  return new rangeType(skip, pageSize, pageable);
64
63
  }
64
+ constructor(skip, pageSize, pageable) {
65
+ this.skip = skip;
66
+ this.pageSize = pageSize;
67
+ this.pageable = pageable;
68
+ }
65
69
  inRange(_index, _rowIndex) {
66
70
  return true;
67
71
  }
@@ -76,9 +80,9 @@ function isPagerSettings(pageable) {
76
80
  return typeof pageable === 'object';
77
81
  }
78
82
  class PagerRange extends ViewRange {
83
+ expandAll = true;
79
84
  constructor(skip, pageSize, pageable) {
80
85
  super(skip, pageSize, pageable);
81
- this.expandAll = true;
82
86
  if (isPagerSettings(pageable)) {
83
87
  this.expandAll = pageable.countChildren !== false;
84
88
  }
@@ -110,14 +114,26 @@ class VirtualRange extends ViewRange {
110
114
  * @hidden
111
115
  */
112
116
  export class ViewItemFactory {
117
+ expandState;
118
+ editState;
119
+ selectionState;
120
+ loaded;
121
+ fieldAccessor;
122
+ observables = [];
123
+ rowIndex = 0;
124
+ rootLevel;
125
+ fetchChildren;
126
+ hasChildren;
127
+ idGetter;
128
+ hasFooter;
129
+ viewRange;
130
+ offsetFirst;
113
131
  constructor(expandState, editState, selectionState, loaded, fieldAccessor, rootItem) {
114
132
  this.expandState = expandState;
115
133
  this.editState = editState;
116
134
  this.selectionState = selectionState;
117
135
  this.loaded = loaded;
118
136
  this.fieldAccessor = fieldAccessor;
119
- this.observables = [];
120
- this.rowIndex = 0;
121
137
  const options = this.fieldAccessor();
122
138
  this.fetchChildren = options.fetchChildren;
123
139
  this.hasChildren = options.hasChildren;
@@ -276,21 +292,21 @@ export class ViewItemFactory {
276
292
  * @hidden
277
293
  */
278
294
  export class ViewCollection {
279
- constructor(fieldAccessor, expandState, editState, selectionState) {
280
- this.fieldAccessor = fieldAccessor;
281
- this.expandState = expandState;
282
- this.editState = editState;
283
- this.selectionState = selectionState;
284
- this.childrenLoaded = new EventEmitter();
285
- this.dataLoaded = new EventEmitter();
286
- this.resetPage = new EventEmitter();
287
- this.total = 0;
288
- this.totalVisible = 0;
289
- this.loaded = new Map();
290
- this.loading = false;
291
- this._totalRows = 0;
292
- this.loadingCount = 0;
293
- }
295
+ fieldAccessor;
296
+ expandState;
297
+ editState;
298
+ selectionState;
299
+ childrenLoaded = new EventEmitter();
300
+ dataLoaded = new EventEmitter();
301
+ resetPage = new EventEmitter();
302
+ total = 0;
303
+ totalVisible = 0;
304
+ loaded = new Map();
305
+ loading = false;
306
+ _totalRows = 0;
307
+ loadingCount = 0;
308
+ childrenSubscription;
309
+ _data;
294
310
  static loadView(options) {
295
311
  const subject = new BehaviorSubject(null);
296
312
  const viewFields = () => Object.assign({
@@ -318,6 +334,12 @@ export class ViewCollection {
318
334
  }
319
335
  return this._data;
320
336
  }
337
+ constructor(fieldAccessor, expandState, editState, selectionState) {
338
+ this.fieldAccessor = fieldAccessor;
339
+ this.expandState = expandState;
340
+ this.editState = editState;
341
+ this.selectionState = selectionState;
342
+ }
321
343
  get length() {
322
344
  return this.data.length;
323
345
  }