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

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 +7 -17
  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 +8 -25
  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 +173 -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 +4097 -4025
  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 +60 -65
  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
@@ -32,14 +32,6 @@ import { RemoveCommandDirective } from './editing/remove-command.directive';
32
32
  import { AddCommandDirective } from './editing/add-command.directive';
33
33
  import { FooterTemplateDirective } from './rendering/footer-template.directive';
34
34
  import { HeaderTemplateDirective } from './rendering/header/header-template.directive';
35
- import { PagerComponent } from './pager/pager.component';
36
- import { PagerPrevButtonsComponent } from './pager/pager-prev-buttons.component';
37
- import { PagerNextButtonsComponent } from './pager/pager-next-buttons.component';
38
- import { PagerNumericButtonsComponent } from './pager/pager-numeric-buttons.component';
39
- import { PagerInputComponent } from './pager/pager-input.component';
40
- import { PagerInfoComponent } from './pager/pager-info.component';
41
- import { PagerPageSizesComponent } from './pager/pager-page-sizes.component';
42
- import { PagerTemplateDirective } from './pager/pager-template.directive';
43
35
  import { FilterRowComponent } from './filtering/filter-row.component';
44
36
  import { FilterCellComponent } from './filtering/cell/filter-cell.component';
45
37
  import { FilterCellTemplateDirective } from './filtering/cell/filter-cell-template.directive';
@@ -108,6 +100,9 @@ import { HeaderComponent } from './rendering/header/header.component';
108
100
  import { ColumnHandleDirective } from './column-resizing/column-handle.directive';
109
101
  import { CellComponent } from './rendering/cell.component';
110
102
  import { BooleanFilterRadioButtonDirective } from './filtering/menu/filter-radio-button.directive';
103
+ import { AddCommandToolbarDirective } from './editing/add-command-tool.directive';
104
+ import { ExcelCommandToolbarDirective } from './excel/excel-command-tool.directive';
105
+ import { PDFCommandToolbarDirective } from './pdf/pdf-command-tool.directive';
111
106
  /**
112
107
  * @hidden
113
108
  * Utility array that contains the former Shared module exports
@@ -143,6 +138,7 @@ export const BODY_EXPORTS = [
143
138
  SaveCommandDirective,
144
139
  RemoveCommandDirective,
145
140
  AddCommandDirective,
141
+ AddCommandToolbarDirective,
146
142
  FooterTemplateDirective
147
143
  ];
148
144
  /**
@@ -154,20 +150,6 @@ export const HEADER_EXPORTS = [
154
150
  HeaderTemplateDirective,
155
151
  ColumnHandleDirective
156
152
  ];
157
- /**
158
- * @hidden
159
- * Utility array that contains the former Pager module exports
160
- */
161
- export const PAGER_EXPORTS = [
162
- PagerComponent,
163
- PagerPrevButtonsComponent,
164
- PagerNextButtonsComponent,
165
- PagerNumericButtonsComponent,
166
- PagerInputComponent,
167
- PagerInfoComponent,
168
- PagerPageSizesComponent,
169
- PagerTemplateDirective
170
- ];
171
153
  /**
172
154
  * @hidden
173
155
  * Utility array that contains the former SharedFilter module exports
@@ -252,7 +234,8 @@ export const COLUMN_MENU_EXPORTS = [
252
234
  */
253
235
  export const EXCEL_EXPORTS = [
254
236
  ExcelComponent,
255
- ExcelCommandDirective
237
+ ExcelCommandDirective,
238
+ ExcelCommandToolbarDirective
256
239
  ];
257
240
  /**
258
241
  * @hidden
@@ -262,7 +245,8 @@ export const PDF_EXPORTS = [
262
245
  PDFComponent,
263
246
  PDFMarginComponent,
264
247
  PDFCommandDirective,
265
- PDFTemplateDirective
248
+ PDFTemplateDirective,
249
+ PDFCommandToolbarDirective
266
250
  ];
267
251
  /**
268
252
  * Utility array that contains all `@progress/kendo-angular-treelist` related components and directives
@@ -284,7 +268,6 @@ export const KENDO_TREELIST = [
284
268
  ...SHARED_EXPORTS,
285
269
  ...BODY_EXPORTS,
286
270
  ...HEADER_EXPORTS,
287
- ...PAGER_EXPORTS,
288
271
  ...ROW_FILTER_EXPORTS,
289
272
  ...FILTER_MENU_EXPORTS,
290
273
  ...COLUMN_MENU_EXPORTS
@@ -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 }]; } });
@@ -37,6 +37,25 @@ const hideThenShow = (element, cont) => {
37
37
  * @hidden
38
38
  */
39
39
  export class DraggableColumnDirective {
40
+ draggable;
41
+ element;
42
+ zone;
43
+ service;
44
+ hint;
45
+ cue;
46
+ nav;
47
+ renderer;
48
+ context = {};
49
+ set enableDrag(enabled) {
50
+ this.enabled = enabled;
51
+ this.updateTouchAction();
52
+ }
53
+ drag = new EventEmitter();
54
+ get hostClass() {
55
+ return this.enabled;
56
+ }
57
+ subscriptions = new Subscription();
58
+ enabled;
40
59
  constructor(draggable, element, zone, service, hint, cue, nav, renderer) {
41
60
  this.draggable = draggable;
42
61
  this.element = element;
@@ -46,16 +65,6 @@ export class DraggableColumnDirective {
46
65
  this.cue = cue;
47
66
  this.nav = nav;
48
67
  this.renderer = renderer;
49
- this.context = {};
50
- this.drag = new EventEmitter();
51
- this.subscriptions = new Subscription();
52
- }
53
- set enableDrag(enabled) {
54
- this.enabled = enabled;
55
- this.updateTouchAction();
56
- }
57
- get hostClass() {
58
- return this.enabled;
59
68
  }
60
69
  ngOnInit() {
61
70
  this.subscriptions.add(this.zone.runOutsideAngular(() => this.draggable.kendoPress.pipe(filter(_ => this.enabled), filter(({ originalEvent: { target } }) => target === this.element.nativeElement || skipButtons(target)), tap((e) => {
@@ -109,10 +118,10 @@ export class DraggableColumnDirective {
109
118
  }
110
119
  this.renderer.setStyle(this.element.nativeElement, 'touch-action', this.enabled ? 'none' : '');
111
120
  }
121
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DraggableColumnDirective, deps: [{ token: i1.DraggableDirective, host: true }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i2.DragAndDropService }, { token: i3.DragHintService }, { token: i4.DropCueService }, { token: i5.NavigationService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
122
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: DraggableColumnDirective, isStandalone: true, selector: "[kendoDraggableColumn]", inputs: { context: "context", enableDrag: "enableDrag" }, outputs: { drag: "drag" }, host: { properties: { "class.k-grid-draggable-header": "this.hostClass" } }, ngImport: i0 });
112
123
  }
113
- DraggableColumnDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DraggableColumnDirective, deps: [{ token: i1.DraggableDirective, host: true }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i2.DragAndDropService }, { token: i3.DragHintService }, { token: i4.DropCueService }, { token: i5.NavigationService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
114
- DraggableColumnDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DraggableColumnDirective, isStandalone: true, selector: "[kendoDraggableColumn]", inputs: { context: "context", enableDrag: "enableDrag" }, outputs: { drag: "drag" }, host: { properties: { "class.k-grid-draggable-header": "this.hostClass" } }, ngImport: i0 });
115
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DraggableColumnDirective, decorators: [{
124
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DraggableColumnDirective, decorators: [{
116
125
  type: Directive,
117
126
  args: [{
118
127
  selector: '[kendoDraggableColumn]',
@@ -10,6 +10,7 @@ import * as i0 from "@angular/core";
10
10
  * @hidden
11
11
  */
12
12
  export class DropCueService {
13
+ dom;
13
14
  create() {
14
15
  if (!isDocumentAvailable()) {
15
16
  return;
@@ -37,9 +38,9 @@ export class DropCueService {
37
38
  const width = this.dom.offsetWidth / 2;
38
39
  this.dom.style.left = left - width + 'px';
39
40
  }
41
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DropCueService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
42
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DropCueService });
40
43
  }
41
- DropCueService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropCueService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
42
- DropCueService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropCueService });
43
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropCueService, decorators: [{
44
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DropCueService, decorators: [{
44
45
  type: Injectable
45
46
  }] });
@@ -12,14 +12,16 @@ import * as i1 from "./drag-and-drop.service";
12
12
  * @hidden
13
13
  */
14
14
  export class DropTargetDirective {
15
+ element;
16
+ service;
17
+ context = {};
18
+ enter = new EventEmitter();
19
+ leave = new EventEmitter();
20
+ drop = new EventEmitter();
21
+ subscriptions = new Subscription();
15
22
  constructor(element, service) {
16
23
  this.element = element;
17
24
  this.service = service;
18
- this.context = {};
19
- this.enter = new EventEmitter();
20
- this.leave = new EventEmitter();
21
- this.drop = new EventEmitter();
22
- this.subscriptions = new Subscription();
23
25
  }
24
26
  ngOnInit() {
25
27
  this.service.add(this);
@@ -49,10 +51,10 @@ export class DropTargetDirective {
49
51
  draggable: e.draggable
50
52
  };
51
53
  }
54
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DropTargetDirective, deps: [{ token: i0.ElementRef }, { token: i1.DragAndDropService }], target: i0.ɵɵFactoryTarget.Directive });
55
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: DropTargetDirective, isStandalone: true, selector: "[kendoDropTarget]", inputs: { context: "context" }, outputs: { enter: "enter", leave: "leave", drop: "drop" }, ngImport: i0 });
52
56
  }
53
- DropTargetDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropTargetDirective, deps: [{ token: i0.ElementRef }, { token: i1.DragAndDropService }], target: i0.ɵɵFactoryTarget.Directive });
54
- DropTargetDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DropTargetDirective, isStandalone: true, selector: "[kendoDropTarget]", inputs: { context: "context" }, outputs: { enter: "enter", leave: "leave", drop: "drop" }, ngImport: i0 });
55
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropTargetDirective, decorators: [{
57
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DropTargetDirective, decorators: [{
56
58
  type: Directive,
57
59
  args: [{
58
60
  selector: '[kendoDropTarget]',
@@ -0,0 +1,63 @@
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 { Directive } from '@angular/core';
6
+ import { EditService } from './edit.service';
7
+ import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
8
+ import { Subscription } from 'rxjs';
9
+ import { plusIcon } from '@progress/kendo-svg-icons';
10
+ import * as i0 from "@angular/core";
11
+ import * as i1 from "./edit.service";
12
+ import * as i2 from "@progress/kendo-angular-toolbar";
13
+ /**
14
+ * Represents the command for adding a new item to the TreeList.
15
+ * You can apply this directive to any `kendo-toolbar-button` element inside a
16
+ * ToolbarComponent used in the TreeList.
17
+ *
18
+ * When the user clicks the toolbar button that is associated with the directive, the
19
+ * [add]({% slug api_treelist_treelistcomponent %}#toc-add) event is triggered.
20
+ *
21
+ * @example
22
+ * ```html-no-run
23
+ * <kendo-grid>
24
+ * <kendo-toolbar>
25
+ * <kendo-toolbar-button text="Add new" kendoTreeListAddTool></kendo-toolbar-button>
26
+ * </kendo-toolbar>
27
+ * </kendo-grid>
28
+ * ```
29
+ */
30
+ export class AddCommandToolbarDirective {
31
+ editService;
32
+ host;
33
+ clickSub = new Subscription();
34
+ constructor(editService, host) {
35
+ this.editService = editService;
36
+ this.host = host;
37
+ }
38
+ ngOnInit() {
39
+ this.clickSub = this.host.click.subscribe(e => this.onClick(e));
40
+ this.host.className = 'k-grid-add-command';
41
+ this.host.svgIcon = plusIcon;
42
+ this.host.icon = 'plus';
43
+ }
44
+ ngOnDestroy() {
45
+ this.clickSub.unsubscribe();
46
+ }
47
+ /**
48
+ * @hidden
49
+ */
50
+ onClick(e) {
51
+ e.preventDefault();
52
+ this.editService.beginAdd();
53
+ }
54
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AddCommandToolbarDirective, deps: [{ token: i1.EditService }, { token: i2.ToolBarButtonComponent }], target: i0.ɵɵFactoryTarget.Directive });
55
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: AddCommandToolbarDirective, isStandalone: true, selector: "[kendoTreeListAddTool]", ngImport: i0 });
56
+ }
57
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AddCommandToolbarDirective, decorators: [{
58
+ type: Directive,
59
+ args: [{
60
+ selector: '[kendoTreeListAddTool]',
61
+ standalone: true
62
+ }]
63
+ }], ctorParameters: function () { return [{ type: i1.EditService }, { type: i2.ToolBarButtonComponent }]; } });
@@ -36,17 +36,20 @@ import * as i2 from "@progress/kendo-angular-l10n";
36
36
  * ```
37
37
  */
38
38
  export class AddCommandDirective extends BaseCommandDirective {
39
+ /**
40
+ * The `cellContext` provided to the template.
41
+ */
42
+ cellContext;
43
+ commandClass = true;
44
+ readVisible = true;
39
45
  constructor(editService, element, renderer, localization, ngZone) {
40
46
  super(editService, element, renderer, localization, ngZone);
41
- this.commandClass = true;
42
- this.readVisible = true;
43
47
  }
44
48
  onClick() {
45
49
  this.editService.beginAdd(this.dataItem);
46
50
  }
47
- }
48
- AddCommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AddCommandDirective, deps: [{ token: i1.EditService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
49
- AddCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: AddCommandDirective, isStandalone: true, selector: "[kendoTreeListAddCommand]", inputs: { cellContext: ["kendoTreeListAddCommand", "cellContext"] }, host: { properties: { "class.k-grid-add-command": "this.commandClass" } }, usesInheritance: true, ngImport: i0, template: `
51
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AddCommandDirective, deps: [{ token: i1.EditService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
52
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AddCommandDirective, isStandalone: true, selector: "[kendoTreeListAddCommand]", inputs: { cellContext: ["kendoTreeListAddCommand", "cellContext"] }, host: { properties: { "class.k-grid-add-command": "this.commandClass" } }, usesInheritance: true, ngImport: i0, template: `
50
53
  <kendo-icon-wrapper
51
54
  *ngIf="icon || svgIcon"
52
55
  innerCssClass="k-button-icon"
@@ -58,7 +61,8 @@ AddCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
58
61
  <span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
59
62
  <span class="k-button-text"><ng-content></ng-content></span>
60
63
  `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
61
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AddCommandDirective, decorators: [{
64
+ }
65
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AddCommandDirective, decorators: [{
62
66
  type: Component,
63
67
  args: [{
64
68
  selector: '[kendoTreeListAddCommand]',
@@ -15,10 +15,7 @@ import * as i2 from "@progress/kendo-angular-l10n";
15
15
  * @hidden
16
16
  */
17
17
  export class BaseCommandDirective extends Button {
18
- constructor(editService, element, renderer, localization, ngZone) {
19
- super(element, renderer, null, localization, ngZone);
20
- this.editService = editService;
21
- }
18
+ editService;
22
19
  /**
23
20
  * @hidden
24
21
  */
@@ -42,9 +39,12 @@ export class BaseCommandDirective extends Button {
42
39
  e.preventDefault();
43
40
  this.onClick();
44
41
  }
45
- }
46
- BaseCommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BaseCommandDirective, deps: [{ token: i1.EditService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
47
- BaseCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: BaseCommandDirective, isStandalone: true, selector: "[kendoTreeListBaseCommand]", host: { listeners: { "click": "clickHandler($event)" }, properties: { "style.display": "this.visible" } }, usesInheritance: true, ngImport: i0, template: `
42
+ constructor(editService, element, renderer, localization, ngZone) {
43
+ super(element, renderer, null, localization, ngZone);
44
+ this.editService = editService;
45
+ }
46
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BaseCommandDirective, deps: [{ token: i1.EditService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
47
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: BaseCommandDirective, isStandalone: true, selector: "[kendoTreeListBaseCommand]", host: { listeners: { "click": "clickHandler($event)" }, properties: { "style.display": "this.visible" } }, usesInheritance: true, ngImport: i0, template: `
48
48
  <kendo-icon-wrapper
49
49
  *ngIf="icon || svgIcon"
50
50
  innerCssClass="k-button-icon"
@@ -56,7 +56,8 @@ BaseCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
56
56
  <span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
57
57
  <span class="k-button-text"><ng-content></ng-content></span>
58
58
  `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
59
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BaseCommandDirective, decorators: [{
59
+ }
60
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BaseCommandDirective, decorators: [{
60
61
  type: Component,
61
62
  args: [{
62
63
  selector: '[kendoTreeListBaseCommand]',
@@ -33,10 +33,14 @@ import * as i2 from "@progress/kendo-angular-l10n";
33
33
  * ```
34
34
  */
35
35
  export class CancelCommandDirective extends BaseCommandDirective {
36
+ /**
37
+ * The `cellContext` provided to the template.
38
+ */
39
+ cellContext;
40
+ commandClass = true;
41
+ readVisible = false;
36
42
  constructor(editService, element, renderer, localization, ngZone) {
37
43
  super(editService, element, renderer, localization, ngZone);
38
- this.commandClass = true;
39
- this.readVisible = false;
40
44
  }
41
45
  onClick() {
42
46
  if (this.cellContext) {
@@ -44,9 +48,8 @@ export class CancelCommandDirective extends BaseCommandDirective {
44
48
  this.editService.endEdit(viewItem.data, viewItem.isNew);
45
49
  }
46
50
  }
47
- }
48
- CancelCommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CancelCommandDirective, deps: [{ token: i1.EditService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
49
- CancelCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CancelCommandDirective, isStandalone: true, selector: "[kendoTreeListCancelCommand]", inputs: { cellContext: ["kendoTreeListCancelCommand", "cellContext"] }, host: { properties: { "class.k-grid-cancel-command": "this.commandClass" } }, usesInheritance: true, ngImport: i0, template: `
51
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CancelCommandDirective, deps: [{ token: i1.EditService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
52
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CancelCommandDirective, isStandalone: true, selector: "[kendoTreeListCancelCommand]", inputs: { cellContext: ["kendoTreeListCancelCommand", "cellContext"] }, host: { properties: { "class.k-grid-cancel-command": "this.commandClass" } }, usesInheritance: true, ngImport: i0, template: `
50
53
  <kendo-icon-wrapper
51
54
  *ngIf="icon || svgIcon"
52
55
  innerCssClass="k-button-icon"
@@ -58,7 +61,8 @@ CancelCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
58
61
  <span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
59
62
  <span class="k-button-text"><ng-content></ng-content></span>
60
63
  `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
61
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CancelCommandDirective, decorators: [{
64
+ }
65
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CancelCommandDirective, decorators: [{
62
66
  type: Component,
63
67
  args: [{
64
68
  selector: '[kendoTreeListCancelCommand]',
@@ -7,12 +7,28 @@ import { PreventableEvent } from '../common/preventable-event';
7
7
  * Arguments for the `cellClose` event.
8
8
  */
9
9
  export class CellCloseEvent extends PreventableEvent {
10
+ isNew;
11
+ dataItem;
12
+ sender;
13
+ /**
14
+ * @hidden
15
+ */
16
+ action = 'cellClose';
17
+ /**
18
+ * The TreeList column that will be closed.
19
+ */
20
+ column;
21
+ /**
22
+ * The [`FormGroup`](link:site.data.urls.angular['formgroupapi']) that is used to edit the cell which will be closed.
23
+ */
24
+ formGroup;
25
+ /**
26
+ * The DOM event that caused the `cellClose` event.
27
+ * May not be present if `cellClose` was caused by an API call.
28
+ */
29
+ originalEvent;
10
30
  constructor(options) {
11
31
  super();
12
- /**
13
- * @hidden
14
- */
15
- this.action = 'cellClose';
16
32
  Object.assign(this, options);
17
33
  }
18
34
  }
@@ -34,19 +34,22 @@ import * as i2 from "@progress/kendo-angular-l10n";
34
34
  *
35
35
  */
36
36
  export class EditCommandDirective extends BaseCommandDirective {
37
+ /**
38
+ * The `cellContext` provided to the template.
39
+ */
40
+ cellContext;
41
+ commandClass = true;
42
+ readVisible = true;
37
43
  constructor(editService, element, renderer, localization, ngZone) {
38
44
  super(editService, element, renderer, localization, ngZone);
39
- this.commandClass = true;
40
- this.readVisible = true;
41
45
  }
42
46
  onClick() {
43
47
  if (this.cellContext) {
44
48
  this.editService.beginEdit(this.dataItem);
45
49
  }
46
50
  }
47
- }
48
- EditCommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditCommandDirective, deps: [{ token: i1.EditService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
49
- EditCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: EditCommandDirective, isStandalone: true, selector: "[kendoTreeListEditCommand]", inputs: { cellContext: ["kendoTreeListEditCommand", "cellContext"] }, host: { properties: { "class.k-grid-edit-command": "this.commandClass" } }, usesInheritance: true, ngImport: i0, template: `
51
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditCommandDirective, deps: [{ token: i1.EditService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
52
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EditCommandDirective, isStandalone: true, selector: "[kendoTreeListEditCommand]", inputs: { cellContext: ["kendoTreeListEditCommand", "cellContext"] }, host: { properties: { "class.k-grid-edit-command": "this.commandClass" } }, usesInheritance: true, ngImport: i0, template: `
50
53
  <kendo-icon-wrapper
51
54
  *ngIf="icon || svgIcon"
52
55
  innerCssClass="k-button-icon"
@@ -58,7 +61,8 @@ EditCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
58
61
  <span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
59
62
  <span class="k-button-text"><ng-content></ng-content></span>
60
63
  `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
61
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditCommandDirective, decorators: [{
64
+ }
65
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditCommandDirective, decorators: [{
62
66
  type: Component,
63
67
  args: [{
64
68
  selector: '[kendoTreeListEditCommand]',
@@ -29,13 +29,14 @@ import * as i0 from "@angular/core";
29
29
  * ```
30
30
  */
31
31
  export class EditTemplateDirective {
32
+ templateRef;
32
33
  constructor(templateRef) {
33
34
  this.templateRef = templateRef;
34
35
  }
36
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
37
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditTemplateDirective, isStandalone: true, selector: "[kendoTreeListEditTemplate]", ngImport: i0 });
35
38
  }
36
- EditTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
37
- EditTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditTemplateDirective, isStandalone: true, selector: "[kendoTreeListEditTemplate]", ngImport: i0 });
38
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditTemplateDirective, decorators: [{
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditTemplateDirective, decorators: [{
39
40
  type: Directive,
40
41
  args: [{
41
42
  selector: '[kendoTreeListEditTemplate]',
@@ -13,20 +13,25 @@ const identity = item => item;
13
13
  * @hidden
14
14
  */
15
15
  export class EditService {
16
+ ngZone;
17
+ changes = new EventEmitter();
18
+ changed;
19
+ get newItemGroup() {
20
+ return this.newItem ? this.newItem.group : null;
21
+ }
22
+ newItem;
23
+ idGetter = identity;
24
+ // Maps IDs to edited rows
25
+ edited = new Map();
26
+ keepEditCell = false;
27
+ keepCellTimeout;
28
+ column;
29
+ closingCell = false;
30
+ changedSource = new Subject();
16
31
  constructor(ngZone) {
17
32
  this.ngZone = ngZone;
18
- this.changes = new EventEmitter();
19
- this.idGetter = identity;
20
- // Maps IDs to edited rows
21
- this.edited = new Map();
22
- this.keepEditCell = false;
23
- this.closingCell = false;
24
- this.changedSource = new Subject();
25
33
  this.changed = this.changedSource.asObservable().pipe(switchMap(() => this.ngZone.onStable.asObservable().pipe(take(1))));
26
34
  }
27
- get newItemGroup() {
28
- return this.newItem ? this.newItem.group : null;
29
- }
30
35
  editRow(dataItem, group = undefined) {
31
36
  this.edited.set(this.idGetter(dataItem), {
32
37
  group,
@@ -161,9 +166,9 @@ export class EditService {
161
166
  return this.edited.values().next().value;
162
167
  }
163
168
  }
169
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
170
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditService });
164
171
  }
165
- EditService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
166
- EditService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditService });
167
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditService, decorators: [{
172
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditService, decorators: [{
168
173
  type: Injectable
169
174
  }], ctorParameters: function () { return [{ type: i0.NgZone }]; } });