@progress/kendo-angular-treelist 17.0.0-develop.3 → 17.0.0-develop.30

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 (384) 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 +1 -1
  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/common/provider.service.d.ts +0 -1
  22. package/common/remove-confirmation.d.ts +1 -1
  23. package/data/treelist-item.interface.d.ts +1 -1
  24. package/directives.d.ts +7 -4
  25. package/dragdrop/context-types.d.ts +1 -1
  26. package/dragdrop/draggable-column.directive.d.ts +1 -1
  27. package/dragdrop/drop-target.directive.d.ts +1 -1
  28. package/editing/add-command-tool.directive.d.ts +38 -0
  29. package/editing/add-command.directive.d.ts +1 -1
  30. package/editing/cancel-command.directive.d.ts +1 -1
  31. package/editing/cancel-event-args.interface.d.ts +1 -1
  32. package/editing/edit-command.directive.d.ts +1 -1
  33. package/editing/edit.service.d.ts +3 -3
  34. package/editing/remove-command.directive.d.ts +1 -1
  35. package/editing/save-command.directive.d.ts +1 -1
  36. package/editing-directives/create-form-group-args.interface.d.ts +1 -1
  37. package/editing-directives/editing-directive-base.d.ts +1 -1
  38. package/editing-directives/in-cell-editing.directive.d.ts +1 -1
  39. package/editing-directives/reactive-editing.directive.d.ts +1 -1
  40. package/editing-directives/row-editing-directive-base.d.ts +0 -1
  41. package/editing-directives/template-editing.directive.d.ts +1 -2
  42. package/{esm2020 → esm2022}/binding-directives/base-binding.directive.mjs +17 -13
  43. package/{esm2020 → esm2022}/binding-directives/data-bound-tree-component.mjs +3 -3
  44. package/{esm2020 → esm2022}/binding-directives/flat-binding.directive.mjs +29 -21
  45. package/{esm2020 → esm2022}/binding-directives/hierarchy-binding.directive.mjs +26 -19
  46. package/{esm2020 → esm2022}/column-menu/column-chooser.component.mjs +27 -19
  47. package/{esm2020 → esm2022}/column-menu/column-list.component.mjs +28 -16
  48. package/{esm2020 → esm2022}/column-menu/column-locked-change-event.mjs +4 -0
  49. package/{esm2020 → esm2022}/column-menu/column-menu-chooser.component.mjs +28 -25
  50. package/{esm2020 → esm2022}/column-menu/column-menu-filter.component.mjs +23 -22
  51. package/{esm2020 → esm2022}/column-menu/column-menu-item-base.mjs +9 -6
  52. package/{esm2020 → esm2022}/column-menu/column-menu-item-content-template.directive.mjs +4 -3
  53. package/{esm2020 → esm2022}/column-menu/column-menu-item.component.mjs +67 -42
  54. package/{esm2020 → esm2022}/column-menu/column-menu-lock.component.mjs +9 -6
  55. package/{esm2020 → esm2022}/column-menu/column-menu-sort.component.mjs +8 -6
  56. package/{esm2020 → esm2022}/column-menu/column-menu-template.directive.mjs +4 -3
  57. package/{esm2020 → esm2022}/column-menu/column-menu.component.mjs +49 -25
  58. package/{esm2020 → esm2022}/column-menu/column-menu.service.mjs +23 -9
  59. package/{esm2020 → esm2022}/column-menu/column-visibility-change-event.mjs +4 -0
  60. package/{esm2020 → esm2022}/column-resizing/column-handle.directive.mjs +21 -14
  61. package/{esm2020 → esm2022}/column-resizing/column-resizing.service.mjs +8 -8
  62. package/{esm2020 → esm2022}/column-resizing/table.directive.mjs +17 -8
  63. package/{esm2020 → esm2022}/columns/checkbox-column.component.mjs +27 -12
  64. package/{esm2020 → esm2022}/columns/column-base.mjs +140 -72
  65. package/{esm2020 → esm2022}/columns/column-group.component.mjs +24 -20
  66. package/{esm2020 → esm2022}/columns/column-list.mjs +4 -3
  67. package/{esm2020 → esm2022}/columns/column.component.mjs +56 -38
  68. package/{esm2020 → esm2022}/columns/columns-container.mjs +14 -13
  69. package/{esm2020 → esm2022}/columns/command-column.component.mjs +11 -9
  70. package/{esm2020 → esm2022}/columns/rowreorder-column.component.mjs +13 -12
  71. package/{esm2020 → esm2022}/columns/span-column.component.mjs +64 -29
  72. package/{esm2020 → esm2022}/common/column-info.service.mjs +8 -9
  73. package/esm2022/common/dom-events.service.mjs +24 -0
  74. package/{esm2020 → esm2022}/common/id.service.mjs +4 -3
  75. package/{esm2020 → esm2022}/common/option-changes.service.mjs +5 -7
  76. package/{esm2020 → esm2022}/common/preventable-event.mjs +1 -3
  77. package/{esm2020 → esm2022}/common/provider.service.mjs +8 -6
  78. package/{esm2020 → esm2022}/common/single-popup.service.mjs +19 -8
  79. package/{esm2020 → esm2022}/common/sort.service.mjs +1 -3
  80. package/{esm2020 → esm2022}/data/change-notification.service.mjs +6 -4
  81. package/{esm2020 → esm2022}/data/data.collection.mjs +45 -23
  82. package/{esm2020 → esm2022}/directives.mjs +8 -2
  83. package/{esm2020 → esm2022}/dragdrop/column-reorder-event.mjs +14 -0
  84. package/{esm2020 → esm2022}/dragdrop/column-reorder.service.mjs +4 -6
  85. package/{esm2020 → esm2022}/dragdrop/drag-and-drop.service.mjs +6 -8
  86. package/{esm2020 → esm2022}/dragdrop/drag-hint.service.mjs +7 -4
  87. package/{esm2020 → esm2022}/dragdrop/draggable-column.directive.mjs +22 -13
  88. package/{esm2020 → esm2022}/dragdrop/drop-cue.service.mjs +4 -3
  89. package/{esm2020 → esm2022}/dragdrop/drop-target.directive.mjs +10 -8
  90. package/esm2022/editing/add-command-tool.directive.mjs +63 -0
  91. package/{esm2020 → esm2022}/editing/add-command.directive.mjs +10 -6
  92. package/{esm2020 → esm2022}/editing/base-command.directive.mjs +9 -8
  93. package/{esm2020 → esm2022}/editing/cancel-command.directive.mjs +10 -6
  94. package/{esm2020 → esm2022}/editing/cell-close-event.mjs +20 -4
  95. package/{esm2020 → esm2022}/editing/edit-command.directive.mjs +10 -6
  96. package/{esm2020 → esm2022}/editing/edit-template.directive.mjs +4 -3
  97. package/{esm2020 → esm2022}/editing/edit.service.mjs +18 -13
  98. package/{esm2020 → esm2022}/editing/remove-command.directive.mjs +10 -6
  99. package/{esm2020 → esm2022}/editing/save-command.directive.mjs +10 -6
  100. package/{esm2020 → esm2022}/editing-directives/editing-directive-base.mjs +17 -7
  101. package/{esm2020 → esm2022}/editing-directives/flat-edit.service.mjs +1 -0
  102. package/{esm2020 → esm2022}/editing-directives/hierarchy-edit.service.mjs +1 -0
  103. package/{esm2020 → esm2022}/editing-directives/in-cell-editing.directive.mjs +8 -3
  104. package/{esm2020 → esm2022}/editing-directives/reactive-editing.directive.mjs +8 -3
  105. package/{esm2020 → esm2022}/editing-directives/row-editing-directive-base.mjs +3 -3
  106. package/{esm2020 → esm2022}/editing-directives/template-editing.directive.mjs +9 -3
  107. package/esm2022/excel/excel-command-tool.directive.mjs +66 -0
  108. package/{esm2020 → esm2022}/excel/excel-command.directive.mjs +10 -9
  109. package/{esm2020 → esm2022}/excel/excel-export-event.mjs +1 -0
  110. package/{esm2020 → esm2022}/excel/excel.component.mjs +71 -22
  111. package/{esm2020 → esm2022}/excel/excel.module.mjs +5 -4
  112. package/{esm2020 → esm2022}/excel/excel.service.mjs +7 -8
  113. package/{esm2020 → esm2022}/expand-state/expand-event.mjs +12 -0
  114. package/{esm2020 → esm2022}/expand-state/expand-state.service.mjs +5 -7
  115. package/{esm2020 → esm2022}/expand-state/expandable-tree-component.mjs +3 -3
  116. package/{esm2020 → esm2022}/expand-state/expandable.directive.mjs +23 -19
  117. package/{esm2020 → esm2022}/filtering/base-filter-cell.component.mjs +18 -7
  118. package/{esm2020 → esm2022}/filtering/boolean-filter.component.mjs +31 -24
  119. package/{esm2020 → esm2022}/filtering/cell/autocomplete-filter-cell.component.mjs +15 -13
  120. package/{esm2020 → esm2022}/filtering/cell/boolean-filter-cell.component.mjs +5 -4
  121. package/{esm2020 → esm2022}/filtering/cell/date-filter-cell.component.mjs +11 -10
  122. package/{esm2020 → esm2022}/filtering/cell/filter-cell-host.directive.mjs +3 -3
  123. package/{esm2020 → esm2022}/filtering/cell/filter-cell-operators.component.mjs +54 -34
  124. package/{esm2020 → esm2022}/filtering/cell/filter-cell-template.directive.mjs +4 -3
  125. package/{esm2020 → esm2022}/filtering/cell/filter-cell-wrapper.component.mjs +8 -8
  126. package/{esm2020 → esm2022}/filtering/cell/filter-cell.component.mjs +11 -8
  127. package/{esm2020 → esm2022}/filtering/cell/numeric-filter-cell.component.mjs +23 -17
  128. package/esm2022/filtering/cell/row-filtering.module.mjs +77 -0
  129. package/{esm2020 → esm2022}/filtering/cell/string-filter-cell.component.mjs +23 -18
  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 +22 -15
  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/esm2022/filtering/menu/filter-menu.module.mjs +80 -0
  145. package/{esm2020 → esm2022}/filtering/menu/filter-radio-button.directive.mjs +7 -3
  146. package/{esm2020 → esm2022}/filtering/menu/numeric-filter-menu-input.component.mjs +43 -17
  147. package/{esm2020 → esm2022}/filtering/menu/numeric-filter-menu.component.mjs +32 -31
  148. package/{esm2020 → esm2022}/filtering/menu/string-filter-menu-input.component.mjs +12 -5
  149. package/{esm2020 → esm2022}/filtering/menu/string-filter-menu.component.mjs +32 -21
  150. package/{esm2020 → esm2022}/filtering/numeric-filter.component.mjs +51 -28
  151. package/{esm2020 → esm2022}/filtering/operators/after-eq-filter-operator.component.mjs +8 -8
  152. package/{esm2020 → esm2022}/filtering/operators/after-filter-operator.component.mjs +8 -8
  153. package/{esm2020 → esm2022}/filtering/operators/before-eq-filter-operator.component.mjs +8 -8
  154. package/{esm2020 → esm2022}/filtering/operators/before-filter-operator.component.mjs +8 -8
  155. package/{esm2020 → esm2022}/filtering/operators/contains-filter-operator.component.mjs +8 -8
  156. package/{esm2020 → esm2022}/filtering/operators/ends-with-filter-operator.component.mjs +8 -8
  157. package/{esm2020 → esm2022}/filtering/operators/eq-filter-operator.component.mjs +8 -8
  158. package/{esm2020 → esm2022}/filtering/operators/filter-operator.base.mjs +15 -10
  159. package/{esm2020 → esm2022}/filtering/operators/gt-filter-operator.component.mjs +8 -8
  160. package/{esm2020 → esm2022}/filtering/operators/gte-filter-operator.component.mjs +8 -8
  161. package/{esm2020 → esm2022}/filtering/operators/is-empty-filter-operator.component.mjs +8 -8
  162. package/{esm2020 → esm2022}/filtering/operators/is-not-empty-filter-operator.component.mjs +8 -8
  163. package/{esm2020 → esm2022}/filtering/operators/is-not-null-filter-operator.component.mjs +8 -8
  164. package/{esm2020 → esm2022}/filtering/operators/isnull-filter-operator.component.mjs +8 -8
  165. package/{esm2020 → esm2022}/filtering/operators/lt-filter-operator.component.mjs +8 -8
  166. package/{esm2020 → esm2022}/filtering/operators/lte-filter-operator.component.mjs +8 -8
  167. package/{esm2020 → esm2022}/filtering/operators/neq-filter-operator.component.mjs +8 -8
  168. package/{esm2020 → esm2022}/filtering/operators/not-contains-filter-operator.component.mjs +8 -8
  169. package/{esm2020 → esm2022}/filtering/operators/starts-with-filter-operator.component.mjs +8 -8
  170. package/{esm2020 → esm2022}/filtering/shared-filtering.module.mjs +18 -18
  171. package/{esm2020 → esm2022}/filtering/string-filter.component.mjs +20 -15
  172. package/{esm2020 → esm2022}/index.mjs +3 -0
  173. package/{esm2020 → esm2022}/layout/browser-support.service.mjs +7 -4
  174. package/{esm2020 → esm2022}/layout/resizable.directive.mjs +16 -10
  175. package/{esm2020 → esm2022}/layout/resize.service.mjs +6 -8
  176. package/{esm2020 → esm2022}/layout/responsive.service.mjs +7 -9
  177. package/{esm2020 → esm2022}/localization/custom-messages.component.mjs +9 -8
  178. package/{esm2020 → esm2022}/localization/localized-messages.directive.mjs +9 -8
  179. package/esm2022/localization/messages.mjs +410 -0
  180. package/{esm2020 → esm2022}/navigation/default-focusable-element.mjs +8 -5
  181. package/{esm2020 → esm2022}/navigation/focus-group.mjs +12 -11
  182. package/{esm2020 → esm2022}/navigation/focus-root.mjs +5 -4
  183. package/{esm2020 → esm2022}/navigation/focusable.directive.mjs +18 -10
  184. package/{esm2020 → esm2022}/navigation/item-map.mjs +2 -4
  185. package/{esm2020 → esm2022}/navigation/logical-cell.directive.mjs +35 -22
  186. package/{esm2020 → esm2022}/navigation/logical-row.directive.mjs +19 -13
  187. package/{esm2020 → esm2022}/navigation/model-cell.mjs +11 -0
  188. package/{esm2020 → esm2022}/navigation/navigation-cursor.mjs +10 -8
  189. package/{esm2020 → esm2022}/navigation/navigation-metadata.mjs +13 -6
  190. package/{esm2020 → esm2022}/navigation/navigation-model.mjs +1 -3
  191. package/{esm2020 → esm2022}/navigation/navigation.service.mjs +44 -24
  192. package/{esm2020 → esm2022}/navigation/treelist-focusable-element.mjs +1 -0
  193. package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
  194. package/{esm2020 → esm2022}/pager/pager-context.service.mjs +6 -4
  195. package/{esm2020 → esm2022}/pager/pager-element.component.mjs +24 -16
  196. package/{esm2020 → esm2022}/pager/pager-info.component.mjs +8 -7
  197. package/{esm2020 → esm2022}/pager/pager-input.component.mjs +43 -39
  198. package/{esm2020 → esm2022}/pager/pager-next-buttons.component.mjs +14 -9
  199. package/{esm2020 → esm2022}/pager/pager-numeric-buttons.component.mjs +19 -9
  200. package/{esm2020 → esm2022}/pager/pager-page-sizes.component.mjs +12 -10
  201. package/{esm2020 → esm2022}/pager/pager-prev-buttons.component.mjs +6 -5
  202. package/{esm2020 → esm2022}/pager/pager-template.directive.mjs +4 -3
  203. package/{esm2020 → esm2022}/pager/pager.component.mjs +84 -70
  204. package/esm2022/pager/pager.module.mjs +43 -0
  205. package/esm2022/pdf/pdf-command-tool.directive.mjs +66 -0
  206. package/{esm2020 → esm2022}/pdf/pdf-command.directive.mjs +10 -9
  207. package/{esm2020 → esm2022}/pdf/pdf-margin.component.mjs +3 -3
  208. package/{esm2020 → esm2022}/pdf/pdf-template.directive.mjs +3 -3
  209. package/{esm2020 → esm2022}/pdf/pdf.component.mjs +24 -4
  210. package/{esm2020 → esm2022}/pdf/pdf.module.mjs +6 -5
  211. package/{esm2020 → esm2022}/pdf/pdf.service.mjs +8 -9
  212. package/{esm2020 → esm2022}/pdf/treelist-query.mjs +4 -0
  213. package/esm2022/rendering/body.module.mjs +41 -0
  214. package/{esm2020 → esm2022}/rendering/cell-template.directive.mjs +4 -3
  215. package/{esm2020 → esm2022}/rendering/cell.component.mjs +41 -25
  216. package/{esm2020 → esm2022}/rendering/common/col-group.component.mjs +5 -7
  217. package/{esm2020 → esm2022}/rendering/common/field-accessor.pipe.mjs +4 -3
  218. package/{esm2020 → esm2022}/rendering/common/level-items.pipe.mjs +3 -3
  219. package/{esm2020 → esm2022}/rendering/common/loading.component.mjs +9 -8
  220. package/{esm2020 → esm2022}/rendering/common/spacer.component.mjs +11 -6
  221. package/{esm2020 → esm2022}/rendering/footer-template.directive.mjs +4 -3
  222. package/{esm2020 → esm2022}/rendering/header/header-template.directive.mjs +4 -3
  223. package/{esm2020 → esm2022}/rendering/header/header.component.mjs +47 -28
  224. package/{esm2020 → esm2022}/rendering/header/header.module.mjs +4 -4
  225. package/{esm2020 → esm2022}/rendering/list.component.mjs +80 -40
  226. package/{esm2020 → esm2022}/rendering/no-records-template.directive.mjs +4 -3
  227. package/{esm2020 → esm2022}/rendering/table-body.component.mjs +45 -19
  228. package/{esm2020 → esm2022}/rendering/toolbar/toolbar-focusable.directive.mjs +9 -7
  229. package/{esm2020 → esm2022}/rendering/toolbar/toolbar-navigation.service.mjs +9 -8
  230. package/{esm2020 → esm2022}/rendering/toolbar/toolbar-template.directive.mjs +10 -8
  231. package/{esm2020 → esm2022}/rendering/toolbar/toolbar.component.mjs +18 -13
  232. package/{esm2020 → esm2022}/row-reordering/flat-reorder.service.mjs +3 -3
  233. package/{esm2020 → esm2022}/row-reordering/hierarchical-reorder.service.mjs +3 -3
  234. package/{esm2020 → esm2022}/row-reordering/row-reorder.service.mjs +14 -9
  235. package/{esm2020 → esm2022}/scrolling/row-height.service.mjs +2 -0
  236. package/{esm2020 → esm2022}/scrolling/scroll-request.service.mjs +4 -6
  237. package/{esm2020 → esm2022}/scrolling/scroll-sync.service.mjs +10 -8
  238. package/{esm2020 → esm2022}/scrolling/scroller.service.mjs +12 -2
  239. package/{esm2020 → esm2022}/scrolling/suspend.service.mjs +4 -6
  240. package/{esm2020 → esm2022}/selection/marquee.directive.mjs +18 -7
  241. package/{esm2020 → esm2022}/selection/selectable.directive.mjs +23 -17
  242. package/{esm2020 → esm2022}/selection/selection-change-event.mjs +12 -0
  243. package/{esm2020 → esm2022}/selection/selection-state.mjs +2 -6
  244. package/{esm2020 → esm2022}/selection/selection.service.mjs +15 -14
  245. package/{esm2020 → esm2022}/shared.module.mjs +4 -4
  246. package/{esm2020 → esm2022}/treelist.component.mjs +474 -394
  247. package/esm2022/treelist.module.mjs +178 -0
  248. package/excel/excel-command-tool.directive.d.ts +41 -0
  249. package/excel/excel.component.d.ts +1 -1
  250. package/excel/excel.module.d.ts +3 -2
  251. package/expand-state/expandable.directive.d.ts +1 -1
  252. package/{fesm2020 → fesm2022}/progress-kendo-angular-treelist.mjs +4012 -2474
  253. package/filtering/base-filter-cell.component.d.ts +5 -1
  254. package/filtering/boolean-filter.component.d.ts +2 -7
  255. package/filtering/cell/autocomplete-filter-cell.component.d.ts +2 -7
  256. package/filtering/cell/date-filter-cell.component.d.ts +1 -1
  257. package/filtering/cell/filter-cell-operators.component.d.ts +1 -1
  258. package/filtering/cell/filter-cell-wrapper.component.d.ts +1 -1
  259. package/filtering/cell/filter-cell.component.d.ts +1 -1
  260. package/filtering/cell/numeric-filter-cell.component.d.ts +1 -1
  261. package/filtering/cell/string-filter-cell.component.d.ts +1 -1
  262. package/filtering/date-filter.component.d.ts +2 -11
  263. package/filtering/filter-host.directive.d.ts +2 -2
  264. package/filtering/filter-input-wrapper.component.d.ts +1 -2
  265. package/filtering/filter-input.directive.d.ts +1 -1
  266. package/filtering/filter-row.component.d.ts +1 -2
  267. package/filtering/filterable.d.ts +1 -1
  268. package/filtering/menu/boolean-filter-menu.component.d.ts +1 -1
  269. package/filtering/menu/date-filter-menu-input.component.d.ts +1 -1
  270. package/filtering/menu/date-filter-menu.component.d.ts +1 -7
  271. package/filtering/menu/filter-menu-container.component.d.ts +1 -1
  272. package/filtering/menu/filter-menu-host.directive.d.ts +1 -1
  273. package/filtering/menu/filter-menu-input-wrapper.component.d.ts +1 -1
  274. package/filtering/menu/filter-menu.component.d.ts +1 -4
  275. package/filtering/menu/filter-radio-button.directive.d.ts +1 -1
  276. package/filtering/menu/numeric-filter-menu-input.component.d.ts +1 -1
  277. package/filtering/menu/numeric-filter-menu.component.d.ts +1 -7
  278. package/filtering/menu/string-filter-menu-input.component.d.ts +1 -1
  279. package/filtering/menu/string-filter-menu.component.d.ts +1 -7
  280. package/filtering/numeric-filter.component.d.ts +2 -11
  281. package/filtering/operators/filter-operator.base.d.ts +1 -1
  282. package/filtering/string-filter.component.d.ts +2 -11
  283. package/index.d.ts +3 -0
  284. package/layout/resizable.directive.d.ts +1 -1
  285. package/localization/messages.d.ts +1 -1
  286. package/navigation/focusable.directive.d.ts +1 -1
  287. package/navigation/logical-cell.directive.d.ts +1 -1
  288. package/navigation/logical-row.directive.d.ts +1 -1
  289. package/package.json +26 -31
  290. package/pager/pager-context.service.d.ts +1 -1
  291. package/pager/pager-next-buttons.component.d.ts +1 -1
  292. package/pager/pager-numeric-buttons.component.d.ts +1 -1
  293. package/pager/pager-page-sizes.component.d.ts +1 -1
  294. package/pager/pager-settings.d.ts +1 -1
  295. package/pager/pager.component.d.ts +1 -1
  296. package/pdf/pdf-command-tool.directive.d.ts +41 -0
  297. package/pdf/pdf-margin.interface.d.ts +1 -1
  298. package/pdf/pdf.component.d.ts +1 -7
  299. package/pdf/pdf.module.d.ts +3 -2
  300. package/rendering/body.module.d.ts +6 -5
  301. package/rendering/cell.component.d.ts +2 -1
  302. package/rendering/common/col-group.component.d.ts +1 -1
  303. package/rendering/common/row-class.d.ts +2 -2
  304. package/rendering/common/spacer.component.d.ts +1 -1
  305. package/rendering/header/header.component.d.ts +1 -1
  306. package/rendering/list.component.d.ts +1 -1
  307. package/rendering/table-body.component.d.ts +1 -1
  308. package/rendering/toolbar/toolbar-template.directive.d.ts +1 -1
  309. package/rendering/toolbar/toolbar.component.d.ts +1 -1
  310. package/row-reordering/types.d.ts +1 -1
  311. package/schematics/ngAdd/index.js +3 -3
  312. package/scrolling/scroll-sync.service.d.ts +1 -1
  313. package/scrolling/scroller.service.d.ts +1 -1
  314. package/scrolling/scrollmode.d.ts +1 -1
  315. package/selection/is-selected.d.ts +1 -1
  316. package/selection/selectable.directive.d.ts +1 -1
  317. package/treelist.component.d.ts +1 -1
  318. package/treelist.module.d.ts +67 -65
  319. package/utils.d.ts +1 -1
  320. package/esm2020/common/dom-events.service.mjs +0 -26
  321. package/esm2020/filtering/cell/row-filtering.module.mjs +0 -77
  322. package/esm2020/filtering/menu/filter-menu.module.mjs +0 -80
  323. package/esm2020/localization/messages.mjs +0 -138
  324. package/esm2020/pager/pager.module.mjs +0 -43
  325. package/esm2020/rendering/body.module.mjs +0 -40
  326. package/esm2020/treelist.module.mjs +0 -176
  327. package/fesm2015/progress-kendo-angular-treelist.mjs +0 -21537
  328. /package/{esm2020 → esm2022}/column-menu/column-menu-settings.interface.mjs +0 -0
  329. /package/{esm2020 → esm2022}/column-menu/utils.mjs +0 -0
  330. /package/{esm2020 → esm2022}/column-resizing/column-resize.interface.mjs +0 -0
  331. /package/{esm2020 → esm2022}/columns/column-common.mjs +0 -0
  332. /package/{esm2020 → esm2022}/columns/sort-settings.mjs +0 -0
  333. /package/{esm2020 → esm2022}/common/cell-click-event-args.interface.mjs +0 -0
  334. /package/{esm2020 → esm2022}/common/create-form-group.mjs +0 -0
  335. /package/{esm2020 → esm2022}/common/default-track-by.mjs +0 -0
  336. /package/{esm2020 → esm2022}/common/filter-descriptor-differ.mjs +0 -0
  337. /package/{esm2020 → esm2022}/common/filter-operator.interface.mjs +0 -0
  338. /package/{esm2020 → esm2022}/common/remove-confirmation.mjs +0 -0
  339. /package/{esm2020 → esm2022}/constants.mjs +0 -0
  340. /package/{esm2020 → esm2022}/data/change-event-args.interface.mjs +0 -0
  341. /package/{esm2020 → esm2022}/data/data-item.interface.mjs +0 -0
  342. /package/{esm2020 → esm2022}/data/treelist-item.interface.mjs +0 -0
  343. /package/{esm2020 → esm2022}/dragdrop/column-reorder-config.mjs +0 -0
  344. /package/{esm2020 → esm2022}/dragdrop/common.mjs +0 -0
  345. /package/{esm2020 → esm2022}/dragdrop/context-types.mjs +0 -0
  346. /package/{esm2020 → esm2022}/editing/add-event-args.interface.mjs +0 -0
  347. /package/{esm2020 → esm2022}/editing/cancel-event-args.interface.mjs +0 -0
  348. /package/{esm2020 → esm2022}/editing/edit-event-args.interface.mjs +0 -0
  349. /package/{esm2020 → esm2022}/editing/remove-event-args.interface.mjs +0 -0
  350. /package/{esm2020 → esm2022}/editing/save-event-args.interface.mjs +0 -0
  351. /package/{esm2020 → esm2022}/editing-directives/create-form-group-args.interface.mjs +0 -0
  352. /package/{esm2020 → esm2022}/editing-directives/edit-service.interface.mjs +0 -0
  353. /package/{esm2020 → esm2022}/editing-directives/local-edit.service.mjs +0 -0
  354. /package/{esm2020 → esm2022}/editing-directives/utils.mjs +0 -0
  355. /package/{esm2020 → esm2022}/excel/excel-export-data.interface.mjs +0 -0
  356. /package/{esm2020 → esm2022}/filtering/cell/filter-cell-component.factory.mjs +0 -0
  357. /package/{esm2020 → esm2022}/filtering/filter-component.interface.mjs +0 -0
  358. /package/{esm2020 → esm2022}/filtering/filterable.mjs +0 -0
  359. /package/{esm2020 → esm2022}/filtering/menu/filter-menu-component.factory.mjs +0 -0
  360. /package/{esm2020 → esm2022}/layout/row-sync.mjs +0 -0
  361. /package/{esm2020 → esm2022}/navigation/focusable-element.interface.mjs +0 -0
  362. /package/{esm2020 → esm2022}/navigation/logical-cell.interface.mjs +0 -0
  363. /package/{esm2020 → esm2022}/navigation/logical-row.interface.mjs +0 -0
  364. /package/{esm2020 → esm2022}/navigation/navigation-cell.interface.mjs +0 -0
  365. /package/{esm2020 → esm2022}/navigation/navigation-change.interface.mjs +0 -0
  366. /package/{esm2020 → esm2022}/navigation/navigation-mode.mjs +0 -0
  367. /package/{esm2020 → esm2022}/navigation/navigation-row.interface.mjs +0 -0
  368. /package/{esm2020 → esm2022}/pager/pager-settings.mjs +0 -0
  369. /package/{esm2020 → esm2022}/pager/pagesize-item.interface.mjs +0 -0
  370. /package/{esm2020 → esm2022}/pdf/export-element.mjs +0 -0
  371. /package/{esm2020 → esm2022}/pdf/pdf-export-event.mjs +0 -0
  372. /package/{esm2020 → esm2022}/pdf/pdf-margin.interface.mjs +0 -0
  373. /package/{esm2020 → esm2022}/progress-kendo-angular-treelist.mjs +0 -0
  374. /package/{esm2020 → esm2022}/rendering/common/dom-queries.mjs +0 -0
  375. /package/{esm2020 → esm2022}/rendering/common/row-class.mjs +0 -0
  376. /package/{esm2020 → esm2022}/rendering/constants.mjs +0 -0
  377. /package/{esm2020 → esm2022}/row-reordering/types.mjs +0 -0
  378. /package/{esm2020 → esm2022}/row-reordering/utils.mjs +0 -0
  379. /package/{esm2020 → esm2022}/scrolling/content-scroll-event.mjs +0 -0
  380. /package/{esm2020 → esm2022}/scrolling/scroll-bottom-event.mjs +0 -0
  381. /package/{esm2020 → esm2022}/scrolling/scrollmode.mjs +0 -0
  382. /package/{esm2020 → esm2022}/selection/is-selected.mjs +0 -0
  383. /package/{esm2020 → esm2022}/selection/selectable-settings.mjs +0 -0
  384. /package/{esm2020 → esm2022}/utils.mjs +0 -0
@@ -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
  }
@@ -108,6 +108,9 @@ import { HeaderComponent } from './rendering/header/header.component';
108
108
  import { ColumnHandleDirective } from './column-resizing/column-handle.directive';
109
109
  import { CellComponent } from './rendering/cell.component';
110
110
  import { BooleanFilterRadioButtonDirective } from './filtering/menu/filter-radio-button.directive';
111
+ import { AddCommandToolbarDirective } from './editing/add-command-tool.directive';
112
+ import { ExcelCommandToolbarDirective } from './excel/excel-command-tool.directive';
113
+ import { PDFCommandToolbarDirective } from './pdf/pdf-command-tool.directive';
111
114
  /**
112
115
  * @hidden
113
116
  * Utility array that contains the former Shared module exports
@@ -143,6 +146,7 @@ export const BODY_EXPORTS = [
143
146
  SaveCommandDirective,
144
147
  RemoveCommandDirective,
145
148
  AddCommandDirective,
149
+ AddCommandToolbarDirective,
146
150
  FooterTemplateDirective
147
151
  ];
148
152
  /**
@@ -252,7 +256,8 @@ export const COLUMN_MENU_EXPORTS = [
252
256
  */
253
257
  export const EXCEL_EXPORTS = [
254
258
  ExcelComponent,
255
- ExcelCommandDirective
259
+ ExcelCommandDirective,
260
+ ExcelCommandToolbarDirective
256
261
  ];
257
262
  /**
258
263
  * @hidden
@@ -262,7 +267,8 @@ export const PDF_EXPORTS = [
262
267
  PDFComponent,
263
268
  PDFMarginComponent,
264
269
  PDFCommandDirective,
265
- PDFTemplateDirective
270
+ PDFTemplateDirective,
271
+ PDFCommandToolbarDirective
266
272
  ];
267
273
  /**
268
274
  * Utility array that contains all `@progress/kendo-angular-treelist` related components and directives
@@ -7,6 +7,20 @@ import { PreventableEvent } from '../common/preventable-event';
7
7
  * Arguments for the `columnReorder` event.
8
8
  */
9
9
  export class ColumnReorderEvent extends PreventableEvent {
10
+ /**
11
+ * The reordered column.
12
+ */
13
+ column;
14
+ /**
15
+ * The new index of the column.
16
+ * Relative to the collection of columns.
17
+ */
18
+ newIndex;
19
+ /**
20
+ * The original index of the column before reordering.
21
+ * Relative to the collection of columns.
22
+ */
23
+ oldIndex;
10
24
  /**
11
25
  * @hidden
12
26
  */
@@ -8,15 +8,13 @@ import * as i0 from "@angular/core";
8
8
  * @hidden
9
9
  */
10
10
  export class ColumnReorderService {
11
- constructor() {
12
- this.changes = new EventEmitter();
13
- }
11
+ changes = new EventEmitter();
14
12
  reorder(e) {
15
13
  this.changes.emit(e);
16
14
  }
15
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnReorderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
16
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnReorderService });
17
17
  }
18
- ColumnReorderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColumnReorderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
19
- ColumnReorderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColumnReorderService });
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColumnReorderService, decorators: [{
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnReorderService, decorators: [{
21
19
  type: Injectable
22
20
  }] });
@@ -9,11 +9,9 @@ import * as i0 from "@angular/core";
9
9
  * @hidden
10
10
  */
11
11
  export class DragAndDropService {
12
- constructor() {
13
- this.changes = new EventEmitter();
14
- this.register = [];
15
- this.lastTarget = null;
16
- }
12
+ changes = new EventEmitter();
13
+ register = [];
14
+ lastTarget = null;
17
15
  add(target) {
18
16
  this.register.push(target);
19
17
  }
@@ -54,9 +52,9 @@ export class DragAndDropService {
54
52
  const comparer = contains.bind(null, element);
55
53
  return this.register.find(({ element: { nativeElement } }) => comparer(nativeElement));
56
54
  }
55
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DragAndDropService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
56
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DragAndDropService });
57
57
  }
58
- DragAndDropService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DragAndDropService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
59
- DragAndDropService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DragAndDropService });
60
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DragAndDropService, decorators: [{
58
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DragAndDropService, decorators: [{
61
59
  type: Injectable
62
60
  }] });
@@ -65,10 +65,13 @@ const fontIconsMarkup = (safeTitle) => `
65
65
  * @hidden
66
66
  */
67
67
  export class DragHintService {
68
+ santizer;
69
+ iconsService;
70
+ dom;
71
+ cancelIcon = cancelIcon;
68
72
  constructor(santizer, iconsService) {
69
73
  this.santizer = santizer;
70
74
  this.iconsService = iconsService;
71
- this.cancelIcon = cancelIcon;
72
75
  }
73
76
  create(title) {
74
77
  if (!isDocumentAvailable()) {
@@ -118,9 +121,9 @@ export class DragHintService {
118
121
  get isSVG() {
119
122
  return (this.iconsService.iconSettings?.type || this.iconsService.changes.value.type) === 'svg';
120
123
  }
124
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DragHintService, deps: [{ token: i1.DomSanitizer }, { token: i2.IconsService }], target: i0.ɵɵFactoryTarget.Injectable });
125
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DragHintService });
121
126
  }
122
- DragHintService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DragHintService, deps: [{ token: i1.DomSanitizer }, { token: i2.IconsService }], target: i0.ɵɵFactoryTarget.Injectable });
123
- DragHintService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DragHintService });
124
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DragHintService, decorators: [{
127
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DragHintService, decorators: [{
125
128
  type: Injectable
126
129
  }], ctorParameters: function () { return [{ type: i1.DomSanitizer }, { type: i2.IconsService }]; } });