@progress/kendo-angular-treelist 17.0.0-develop.9 → 17.0.1-develop.1

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 (393) hide show
  1. package/binding-directives/base-binding.directive.d.ts +1 -1
  2. package/binding-directives/flat-binding.directive.d.ts +1 -1
  3. package/binding-directives/hierarchy-binding.directive.d.ts +1 -1
  4. package/column-menu/column-chooser.component.d.ts +1 -1
  5. package/column-menu/column-list.component.d.ts +2 -2
  6. package/column-menu/column-menu-chooser.component.d.ts +1 -1
  7. package/column-menu/column-menu-filter.component.d.ts +1 -1
  8. package/column-menu/column-menu-item-base.d.ts +1 -1
  9. package/column-menu/column-menu-item.component.d.ts +1 -1
  10. package/column-menu/column-menu.component.d.ts +1 -1
  11. package/column-resizing/column-handle.directive.d.ts +1 -1
  12. package/column-resizing/column-resize.interface.d.ts +3 -3
  13. package/column-resizing/table.directive.d.ts +1 -1
  14. package/columns/checkbox-column.component.d.ts +1 -1
  15. package/columns/column-base.d.ts +1 -1
  16. package/columns/column.component.d.ts +1 -1
  17. package/columns/sort-settings.d.ts +2 -2
  18. package/columns/span-column.component.d.ts +13 -13
  19. package/common/create-form-group.d.ts +1 -1
  20. package/{pager → common}/pager-settings.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 -17
  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 +26 -18
  47. package/{esm2020 → esm2022}/column-menu/column-list.component.mjs +71 -59
  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 -25
  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 +33 -29
  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 +53 -33
  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/{esm2020 → esm2022}/filtering/cell/string-filter-cell.component.mjs +34 -28
  129. package/{esm2020 → esm2022}/filtering/date-filter.component.mjs +64 -39
  130. package/{esm2020 → esm2022}/filtering/filter-host.directive.mjs +8 -3
  131. package/{esm2020 → esm2022}/filtering/filter-input-wrapper.component.mjs +11 -8
  132. package/{esm2020 → esm2022}/filtering/filter-input.directive.mjs +21 -13
  133. package/{esm2020 → esm2022}/filtering/filter-row.component.mjs +11 -8
  134. package/{esm2020 → esm2022}/filtering/filter.service.mjs +7 -9
  135. package/{esm2020 → esm2022}/filtering/menu/boolean-filter-menu.component.mjs +33 -26
  136. package/{esm2020 → esm2022}/filtering/menu/date-filter-menu-input.component.mjs +21 -5
  137. package/{esm2020 → esm2022}/filtering/menu/date-filter-menu.component.mjs +22 -21
  138. package/{esm2020 → esm2022}/filtering/menu/filter-menu-container.component.mjs +28 -16
  139. package/{esm2020 → esm2022}/filtering/menu/filter-menu-host.directive.mjs +4 -3
  140. package/{esm2020 → esm2022}/filtering/menu/filter-menu-input-wrapper.component.mjs +9 -7
  141. package/{esm2020 → esm2022}/filtering/menu/filter-menu-template.directive.mjs +4 -3
  142. package/{esm2020 → esm2022}/filtering/menu/filter-menu.component.mjs +20 -8
  143. package/{esm2020 → esm2022}/filtering/menu/filter-radio-button.directive.mjs +7 -3
  144. package/{esm2020 → esm2022}/filtering/menu/numeric-filter-menu-input.component.mjs +43 -17
  145. package/{esm2020 → esm2022}/filtering/menu/numeric-filter-menu.component.mjs +32 -31
  146. package/{esm2020 → esm2022}/filtering/menu/string-filter-menu-input.component.mjs +23 -16
  147. package/{esm2020 → esm2022}/filtering/menu/string-filter-menu.component.mjs +32 -21
  148. package/{esm2020 → esm2022}/filtering/numeric-filter.component.mjs +51 -28
  149. package/{esm2020 → esm2022}/filtering/operators/after-eq-filter-operator.component.mjs +8 -8
  150. package/{esm2020 → esm2022}/filtering/operators/after-filter-operator.component.mjs +8 -8
  151. package/{esm2020 → esm2022}/filtering/operators/before-eq-filter-operator.component.mjs +8 -8
  152. package/{esm2020 → esm2022}/filtering/operators/before-filter-operator.component.mjs +8 -8
  153. package/{esm2020 → esm2022}/filtering/operators/contains-filter-operator.component.mjs +8 -8
  154. package/{esm2020 → esm2022}/filtering/operators/ends-with-filter-operator.component.mjs +8 -8
  155. package/{esm2020 → esm2022}/filtering/operators/eq-filter-operator.component.mjs +8 -8
  156. package/{esm2020 → esm2022}/filtering/operators/filter-operator.base.mjs +15 -10
  157. package/{esm2020 → esm2022}/filtering/operators/gt-filter-operator.component.mjs +8 -8
  158. package/{esm2020 → esm2022}/filtering/operators/gte-filter-operator.component.mjs +8 -8
  159. package/{esm2020 → esm2022}/filtering/operators/is-empty-filter-operator.component.mjs +8 -8
  160. package/{esm2020 → esm2022}/filtering/operators/is-not-empty-filter-operator.component.mjs +8 -8
  161. package/{esm2020 → esm2022}/filtering/operators/is-not-null-filter-operator.component.mjs +8 -8
  162. package/{esm2020 → esm2022}/filtering/operators/isnull-filter-operator.component.mjs +8 -8
  163. package/{esm2020 → esm2022}/filtering/operators/lt-filter-operator.component.mjs +8 -8
  164. package/{esm2020 → esm2022}/filtering/operators/lte-filter-operator.component.mjs +8 -8
  165. package/{esm2020 → esm2022}/filtering/operators/neq-filter-operator.component.mjs +8 -8
  166. package/{esm2020 → esm2022}/filtering/operators/not-contains-filter-operator.component.mjs +8 -8
  167. package/{esm2020 → esm2022}/filtering/operators/starts-with-filter-operator.component.mjs +8 -8
  168. package/{esm2020 → esm2022}/filtering/string-filter.component.mjs +20 -15
  169. package/{esm2020 → esm2022}/index.mjs +3 -15
  170. package/{esm2020 → esm2022}/layout/browser-support.service.mjs +7 -4
  171. package/{esm2020 → esm2022}/layout/resizable.directive.mjs +16 -10
  172. package/{esm2020 → esm2022}/layout/resize.service.mjs +6 -8
  173. package/{esm2020 → esm2022}/layout/responsive.service.mjs +7 -9
  174. package/{esm2020 → esm2022}/localization/custom-messages.component.mjs +9 -8
  175. package/{esm2020 → esm2022}/localization/localized-messages.directive.mjs +9 -8
  176. package/esm2022/localization/messages.mjs +416 -0
  177. package/{esm2020 → esm2022}/navigation/default-focusable-element.mjs +10 -6
  178. package/{esm2020 → esm2022}/navigation/focus-group.mjs +12 -11
  179. package/{esm2020 → esm2022}/navigation/focus-root.mjs +5 -4
  180. package/{esm2020 → esm2022}/navigation/focusable.directive.mjs +18 -10
  181. package/{esm2020 → esm2022}/navigation/item-map.mjs +2 -4
  182. package/{esm2020 → esm2022}/navigation/logical-cell.directive.mjs +35 -22
  183. package/{esm2020 → esm2022}/navigation/logical-row.directive.mjs +19 -13
  184. package/{esm2020 → esm2022}/navigation/model-cell.mjs +11 -0
  185. package/{esm2020 → esm2022}/navigation/navigation-cursor.mjs +10 -8
  186. package/{esm2020 → esm2022}/navigation/navigation-metadata.mjs +13 -6
  187. package/{esm2020 → esm2022}/navigation/navigation-model.mjs +1 -3
  188. package/{esm2020 → esm2022}/navigation/navigation.service.mjs +46 -26
  189. package/{esm2020 → esm2022}/navigation/treelist-focusable-element.mjs +1 -0
  190. package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
  191. package/esm2022/pdf/pdf-command-tool.directive.mjs +66 -0
  192. package/{esm2020 → esm2022}/pdf/pdf-command.directive.mjs +10 -9
  193. package/{esm2020 → esm2022}/pdf/pdf-margin.component.mjs +3 -3
  194. package/{esm2020 → esm2022}/pdf/pdf-template.directive.mjs +3 -3
  195. package/{esm2020 → esm2022}/pdf/pdf.component.mjs +24 -4
  196. package/{esm2020 → esm2022}/pdf/pdf.module.mjs +6 -5
  197. package/{esm2020 → esm2022}/pdf/pdf.service.mjs +8 -9
  198. package/{esm2020 → esm2022}/pdf/treelist-query.mjs +4 -0
  199. package/{esm2020 → esm2022}/rendering/cell-template.directive.mjs +4 -3
  200. package/{esm2020 → esm2022}/rendering/cell.component.mjs +60 -54
  201. package/{esm2020 → esm2022}/rendering/common/col-group.component.mjs +5 -7
  202. package/{esm2020 → esm2022}/rendering/common/field-accessor.pipe.mjs +4 -3
  203. package/{esm2020 → esm2022}/rendering/common/level-items.pipe.mjs +3 -3
  204. package/{esm2020 → esm2022}/rendering/common/loading.component.mjs +9 -8
  205. package/{esm2020 → esm2022}/rendering/common/spacer.component.mjs +12 -7
  206. package/{esm2020 → esm2022}/rendering/footer-template.directive.mjs +4 -3
  207. package/{esm2020 → esm2022}/rendering/header/header-template.directive.mjs +4 -3
  208. package/{esm2020 → esm2022}/rendering/header/header.component.mjs +62 -44
  209. package/{esm2020 → esm2022}/rendering/list.component.mjs +85 -45
  210. package/{esm2020 → esm2022}/rendering/no-records-template.directive.mjs +4 -3
  211. package/{esm2020 → esm2022}/rendering/table-body.component.mjs +48 -21
  212. package/{esm2020 → esm2022}/rendering/toolbar/toolbar-focusable.directive.mjs +9 -7
  213. package/{esm2020 → esm2022}/rendering/toolbar/toolbar-navigation.service.mjs +9 -8
  214. package/{esm2020 → esm2022}/rendering/toolbar/toolbar-template.directive.mjs +10 -8
  215. package/{esm2020 → esm2022}/rendering/toolbar/toolbar.component.mjs +18 -13
  216. package/{esm2020 → esm2022}/row-reordering/flat-reorder.service.mjs +3 -3
  217. package/{esm2020 → esm2022}/row-reordering/hierarchical-reorder.service.mjs +3 -3
  218. package/{esm2020 → esm2022}/row-reordering/row-reorder.service.mjs +14 -9
  219. package/{esm2020 → esm2022}/scrolling/row-height.service.mjs +2 -0
  220. package/{esm2020 → esm2022}/scrolling/scroll-request.service.mjs +4 -6
  221. package/{esm2020 → esm2022}/scrolling/scroll-sync.service.mjs +10 -8
  222. package/{esm2020 → esm2022}/scrolling/scroller.service.mjs +12 -2
  223. package/{esm2020 → esm2022}/scrolling/suspend.service.mjs +4 -6
  224. package/{esm2020 → esm2022}/selection/marquee.directive.mjs +18 -7
  225. package/{esm2020 → esm2022}/selection/selectable.directive.mjs +23 -17
  226. package/{esm2020 → esm2022}/selection/selection-change-event.mjs +12 -0
  227. package/{esm2020 → esm2022}/selection/selection-state.mjs +2 -6
  228. package/{esm2020 → esm2022}/selection/selection.service.mjs +15 -14
  229. package/{esm2020 → esm2022}/treelist.component.mjs +619 -420
  230. package/esm2022/treelist.module.mjs +173 -0
  231. package/excel/excel-command-tool.directive.d.ts +41 -0
  232. package/excel/excel.component.d.ts +1 -1
  233. package/excel/excel.module.d.ts +3 -2
  234. package/expand-state/expandable.directive.d.ts +1 -1
  235. package/{fesm2020 → fesm2022}/progress-kendo-angular-treelist.mjs +4095 -4024
  236. package/filtering/base-filter-cell.component.d.ts +5 -1
  237. package/filtering/boolean-filter.component.d.ts +2 -7
  238. package/filtering/cell/autocomplete-filter-cell.component.d.ts +2 -7
  239. package/filtering/cell/date-filter-cell.component.d.ts +1 -1
  240. package/filtering/cell/filter-cell-operators.component.d.ts +1 -1
  241. package/filtering/cell/filter-cell-wrapper.component.d.ts +1 -1
  242. package/filtering/cell/filter-cell.component.d.ts +1 -1
  243. package/filtering/cell/numeric-filter-cell.component.d.ts +1 -1
  244. package/filtering/cell/string-filter-cell.component.d.ts +1 -1
  245. package/filtering/date-filter.component.d.ts +2 -11
  246. package/filtering/filter-host.directive.d.ts +2 -2
  247. package/filtering/filter-input-wrapper.component.d.ts +1 -2
  248. package/filtering/filter-input.directive.d.ts +1 -1
  249. package/filtering/filter-row.component.d.ts +1 -2
  250. package/filtering/filterable.d.ts +1 -1
  251. package/filtering/menu/boolean-filter-menu.component.d.ts +1 -1
  252. package/filtering/menu/date-filter-menu-input.component.d.ts +1 -1
  253. package/filtering/menu/date-filter-menu.component.d.ts +1 -7
  254. package/filtering/menu/filter-menu-container.component.d.ts +1 -1
  255. package/filtering/menu/filter-menu-host.directive.d.ts +1 -1
  256. package/filtering/menu/filter-menu-input-wrapper.component.d.ts +1 -1
  257. package/filtering/menu/filter-menu.component.d.ts +1 -4
  258. package/filtering/menu/filter-radio-button.directive.d.ts +1 -1
  259. package/filtering/menu/numeric-filter-menu-input.component.d.ts +1 -1
  260. package/filtering/menu/numeric-filter-menu.component.d.ts +1 -7
  261. package/filtering/menu/string-filter-menu-input.component.d.ts +1 -1
  262. package/filtering/menu/string-filter-menu.component.d.ts +1 -7
  263. package/filtering/numeric-filter.component.d.ts +2 -11
  264. package/filtering/operators/filter-operator.base.d.ts +1 -1
  265. package/filtering/string-filter.component.d.ts +2 -11
  266. package/index.d.ts +4 -17
  267. package/layout/resizable.directive.d.ts +1 -1
  268. package/localization/messages.d.ts +6 -2
  269. package/navigation/focusable.directive.d.ts +1 -1
  270. package/navigation/logical-cell.directive.d.ts +1 -1
  271. package/navigation/logical-row.directive.d.ts +1 -1
  272. package/navigation/navigation.service.d.ts +1 -1
  273. package/package.json +27 -32
  274. package/pdf/pdf-command-tool.directive.d.ts +41 -0
  275. package/pdf/pdf-margin.interface.d.ts +1 -1
  276. package/pdf/pdf.component.d.ts +1 -7
  277. package/pdf/pdf.module.d.ts +3 -2
  278. package/rendering/cell.component.d.ts +2 -1
  279. package/rendering/common/col-group.component.d.ts +1 -1
  280. package/rendering/common/row-class.d.ts +2 -2
  281. package/rendering/common/spacer.component.d.ts +1 -1
  282. package/rendering/header/header.component.d.ts +2 -2
  283. package/rendering/list.component.d.ts +1 -1
  284. package/rendering/table-body.component.d.ts +1 -1
  285. package/rendering/toolbar/toolbar-template.directive.d.ts +1 -1
  286. package/rendering/toolbar/toolbar.component.d.ts +1 -1
  287. package/row-reordering/types.d.ts +1 -1
  288. package/schematics/ngAdd/index.js +4 -4
  289. package/scrolling/scroll-sync.service.d.ts +1 -1
  290. package/scrolling/scroller.service.d.ts +1 -1
  291. package/scrolling/scrollmode.d.ts +1 -1
  292. package/selection/is-selected.d.ts +1 -1
  293. package/selection/selectable.directive.d.ts +1 -1
  294. package/treelist.component.d.ts +4 -3
  295. package/treelist.module.d.ts +60 -65
  296. package/utils.d.ts +1 -1
  297. package/constants.d.ts +0 -12
  298. package/esm2020/common/dom-events.service.mjs +0 -26
  299. package/esm2020/constants.mjs +0 -12
  300. package/esm2020/filtering/cell/row-filtering.module.mjs +0 -77
  301. package/esm2020/filtering/menu/filter-menu.module.mjs +0 -80
  302. package/esm2020/filtering/shared-filtering.module.mjs +0 -94
  303. package/esm2020/localization/messages.mjs +0 -138
  304. package/esm2020/pager/pager-context.service.mjs +0 -42
  305. package/esm2020/pager/pager-element.component.mjs +0 -103
  306. package/esm2020/pager/pager-info.component.mjs +0 -75
  307. package/esm2020/pager/pager-input.component.mjs +0 -144
  308. package/esm2020/pager/pager-next-buttons.component.mjs +0 -126
  309. package/esm2020/pager/pager-numeric-buttons.component.mjs +0 -244
  310. package/esm2020/pager/pager-page-sizes.component.mjs +0 -139
  311. package/esm2020/pager/pager-prev-buttons.component.mjs +0 -126
  312. package/esm2020/pager/pager-template.directive.mjs +0 -48
  313. package/esm2020/pager/pager.component.mjs +0 -415
  314. package/esm2020/pager/pager.module.mjs +0 -43
  315. package/esm2020/pager/pagesize-item.interface.mjs +0 -5
  316. package/esm2020/rendering/body.module.mjs +0 -40
  317. package/esm2020/rendering/header/header.module.mjs +0 -94
  318. package/esm2020/shared.module.mjs +0 -41
  319. package/esm2020/treelist.module.mjs +0 -176
  320. package/fesm2015/progress-kendo-angular-treelist.mjs +0 -21537
  321. package/filtering/cell/row-filtering.module.d.ts +0 -57
  322. package/filtering/menu/filter-menu.module.d.ts +0 -60
  323. package/filtering/shared-filtering.module.d.ts +0 -52
  324. package/pager/pager-context.service.d.ts +0 -32
  325. package/pager/pager-element.component.d.ts +0 -74
  326. package/pager/pager-info.component.d.ts +0 -43
  327. package/pager/pager-input.component.d.ts +0 -45
  328. package/pager/pager-next-buttons.component.d.ts +0 -36
  329. package/pager/pager-numeric-buttons.component.d.ts +0 -52
  330. package/pager/pager-page-sizes.component.d.ts +0 -48
  331. package/pager/pager-prev-buttons.component.d.ts +0 -32
  332. package/pager/pager-template.directive.d.ts +0 -38
  333. package/pager/pager.component.d.ts +0 -73
  334. package/pager/pager.module.d.ts +0 -27
  335. package/pager/pagesize-item.interface.d.ts +0 -14
  336. package/rendering/body.module.d.ts +0 -28
  337. package/rendering/header/header.module.d.ts +0 -84
  338. package/shared.module.d.ts +0 -29
  339. /package/{esm2020 → esm2022}/column-menu/column-menu-settings.interface.mjs +0 -0
  340. /package/{esm2020 → esm2022}/column-menu/utils.mjs +0 -0
  341. /package/{esm2020 → esm2022}/column-resizing/column-resize.interface.mjs +0 -0
  342. /package/{esm2020 → esm2022}/columns/column-common.mjs +0 -0
  343. /package/{esm2020 → esm2022}/columns/sort-settings.mjs +0 -0
  344. /package/{esm2020 → esm2022}/common/cell-click-event-args.interface.mjs +0 -0
  345. /package/{esm2020 → esm2022}/common/create-form-group.mjs +0 -0
  346. /package/{esm2020 → esm2022}/common/default-track-by.mjs +0 -0
  347. /package/{esm2020 → esm2022}/common/filter-descriptor-differ.mjs +0 -0
  348. /package/{esm2020 → esm2022}/common/filter-operator.interface.mjs +0 -0
  349. /package/{esm2020/pager → esm2022/common}/pager-settings.mjs +0 -0
  350. /package/{esm2020 → esm2022}/common/remove-confirmation.mjs +0 -0
  351. /package/{esm2020 → esm2022}/data/change-event-args.interface.mjs +0 -0
  352. /package/{esm2020 → esm2022}/data/data-item.interface.mjs +0 -0
  353. /package/{esm2020 → esm2022}/data/treelist-item.interface.mjs +0 -0
  354. /package/{esm2020 → esm2022}/dragdrop/column-reorder-config.mjs +0 -0
  355. /package/{esm2020 → esm2022}/dragdrop/common.mjs +0 -0
  356. /package/{esm2020 → esm2022}/dragdrop/context-types.mjs +0 -0
  357. /package/{esm2020 → esm2022}/editing/add-event-args.interface.mjs +0 -0
  358. /package/{esm2020 → esm2022}/editing/cancel-event-args.interface.mjs +0 -0
  359. /package/{esm2020 → esm2022}/editing/edit-event-args.interface.mjs +0 -0
  360. /package/{esm2020 → esm2022}/editing/remove-event-args.interface.mjs +0 -0
  361. /package/{esm2020 → esm2022}/editing/save-event-args.interface.mjs +0 -0
  362. /package/{esm2020 → esm2022}/editing-directives/create-form-group-args.interface.mjs +0 -0
  363. /package/{esm2020 → esm2022}/editing-directives/edit-service.interface.mjs +0 -0
  364. /package/{esm2020 → esm2022}/editing-directives/local-edit.service.mjs +0 -0
  365. /package/{esm2020 → esm2022}/editing-directives/utils.mjs +0 -0
  366. /package/{esm2020 → esm2022}/excel/excel-export-data.interface.mjs +0 -0
  367. /package/{esm2020 → esm2022}/filtering/cell/filter-cell-component.factory.mjs +0 -0
  368. /package/{esm2020 → esm2022}/filtering/filter-component.interface.mjs +0 -0
  369. /package/{esm2020 → esm2022}/filtering/filterable.mjs +0 -0
  370. /package/{esm2020 → esm2022}/filtering/menu/filter-menu-component.factory.mjs +0 -0
  371. /package/{esm2020 → esm2022}/layout/row-sync.mjs +0 -0
  372. /package/{esm2020 → esm2022}/navigation/focusable-element.interface.mjs +0 -0
  373. /package/{esm2020 → esm2022}/navigation/logical-cell.interface.mjs +0 -0
  374. /package/{esm2020 → esm2022}/navigation/logical-row.interface.mjs +0 -0
  375. /package/{esm2020 → esm2022}/navigation/navigation-cell.interface.mjs +0 -0
  376. /package/{esm2020 → esm2022}/navigation/navigation-change.interface.mjs +0 -0
  377. /package/{esm2020 → esm2022}/navigation/navigation-mode.mjs +0 -0
  378. /package/{esm2020 → esm2022}/navigation/navigation-row.interface.mjs +0 -0
  379. /package/{esm2020 → esm2022}/pdf/export-element.mjs +0 -0
  380. /package/{esm2020 → esm2022}/pdf/pdf-export-event.mjs +0 -0
  381. /package/{esm2020 → esm2022}/pdf/pdf-margin.interface.mjs +0 -0
  382. /package/{esm2020 → esm2022}/progress-kendo-angular-treelist.mjs +0 -0
  383. /package/{esm2020 → esm2022}/rendering/common/dom-queries.mjs +0 -0
  384. /package/{esm2020 → esm2022}/rendering/common/row-class.mjs +0 -0
  385. /package/{esm2020 → esm2022}/rendering/constants.mjs +0 -0
  386. /package/{esm2020 → esm2022}/row-reordering/types.mjs +0 -0
  387. /package/{esm2020 → esm2022}/row-reordering/utils.mjs +0 -0
  388. /package/{esm2020 → esm2022}/scrolling/content-scroll-event.mjs +0 -0
  389. /package/{esm2020 → esm2022}/scrolling/scroll-bottom-event.mjs +0 -0
  390. /package/{esm2020 → esm2022}/scrolling/scrollmode.mjs +0 -0
  391. /package/{esm2020 → esm2022}/selection/is-selected.mjs +0 -0
  392. /package/{esm2020 → esm2022}/selection/selectable-settings.mjs +0 -0
  393. /package/{esm2020 → esm2022}/utils.mjs +0 -0
@@ -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 }]; } });
@@ -33,19 +33,22 @@ import * as i2 from "@progress/kendo-angular-l10n";
33
33
  * ```
34
34
  */
35
35
  export class RemoveCommandDirective extends BaseCommandDirective {
36
+ /**
37
+ * The `cellContext` provided to the template.
38
+ */
39
+ cellContext;
40
+ commandClass = true;
41
+ readVisible = true;
36
42
  constructor(editService, element, renderer, localization, ngZone) {
37
43
  super(editService, element, renderer, localization, ngZone);
38
- this.commandClass = true;
39
- this.readVisible = true;
40
44
  }
41
45
  onClick() {
42
46
  if (this.cellContext) {
43
47
  this.editService.remove(this.dataItem, (this.cellContext.viewItem.parent || {}).data);
44
48
  }
45
49
  }
46
- }
47
- RemoveCommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RemoveCommandDirective, deps: [{ token: i1.EditService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
48
- RemoveCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: RemoveCommandDirective, isStandalone: true, selector: "[kendoTreeListRemoveCommand]", inputs: { cellContext: ["kendoTreeListRemoveCommand", "cellContext"] }, host: { properties: { "class.k-grid-remove-command": "this.commandClass" } }, usesInheritance: true, ngImport: i0, template: `
50
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RemoveCommandDirective, deps: [{ token: i1.EditService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
51
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: RemoveCommandDirective, isStandalone: true, selector: "[kendoTreeListRemoveCommand]", inputs: { cellContext: ["kendoTreeListRemoveCommand", "cellContext"] }, host: { properties: { "class.k-grid-remove-command": "this.commandClass" } }, usesInheritance: true, ngImport: i0, template: `
49
52
  <kendo-icon-wrapper
50
53
  *ngIf="icon || svgIcon"
51
54
  innerCssClass="k-button-icon"
@@ -57,7 +60,8 @@ RemoveCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
57
60
  <span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
58
61
  <span class="k-button-text"><ng-content></ng-content></span>
59
62
  `, 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"] }] });
60
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RemoveCommandDirective, decorators: [{
63
+ }
64
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RemoveCommandDirective, decorators: [{
61
65
  type: Component,
62
66
  args: [{
63
67
  selector: '[kendoTreeListRemoveCommand]',
@@ -33,19 +33,22 @@ import * as i2 from "@progress/kendo-angular-l10n";
33
33
  * ```
34
34
  */
35
35
  export class SaveCommandDirective 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) {
43
47
  this.editService.save(this.dataItem, this.cellContext.viewItem.isNew);
44
48
  }
45
49
  }
46
- }
47
- SaveCommandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SaveCommandDirective, deps: [{ token: i1.EditService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
48
- SaveCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SaveCommandDirective, isStandalone: true, selector: "[kendoTreeListSaveCommand]", inputs: { cellContext: ["kendoTreeListSaveCommand", "cellContext"] }, host: { properties: { "class.k-grid-save-command": "this.commandClass" } }, usesInheritance: true, ngImport: i0, template: `
50
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SaveCommandDirective, deps: [{ token: i1.EditService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
51
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SaveCommandDirective, isStandalone: true, selector: "[kendoTreeListSaveCommand]", inputs: { cellContext: ["kendoTreeListSaveCommand", "cellContext"] }, host: { properties: { "class.k-grid-save-command": "this.commandClass" } }, usesInheritance: true, ngImport: i0, template: `
49
52
  <kendo-icon-wrapper
50
53
  *ngIf="icon || svgIcon"
51
54
  innerCssClass="k-button-icon"
@@ -57,7 +60,8 @@ SaveCommandDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
57
60
  <span *ngIf="iconClass" class="k-button-icon" [ngClass]="iconClass"></span>
58
61
  <span class="k-button-text"><ng-content></ng-content></span>
59
62
  `, 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"] }] });
60
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SaveCommandDirective, decorators: [{
63
+ }
64
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SaveCommandDirective, decorators: [{
61
65
  type: Component,
62
66
  args: [{
63
67
  selector: '[kendoTreeListSaveCommand]',
@@ -12,10 +12,7 @@ import * as i1 from "../treelist.component";
12
12
  * @hidden
13
13
  */
14
14
  export class EditingDirectiveBase {
15
- constructor(treelist) {
16
- this.treelist = treelist;
17
- this.subscriptions = new Subscription();
18
- }
15
+ treelist;
19
16
  /**
20
17
  * The edit service that will handle the operations.
21
18
  */
@@ -36,6 +33,19 @@ export class EditingDirectiveBase {
36
33
  get newItemId() {
37
34
  return this.idCallback;
38
35
  }
36
+ /**
37
+ * A function that is called to confirm if the `dataItem` will be removed.
38
+ */
39
+ removeConfirmation;
40
+ subscriptions = new Subscription();
41
+ userEditService;
42
+ isNew;
43
+ parent;
44
+ dataItem;
45
+ idCallback;
46
+ constructor(treelist) {
47
+ this.treelist = treelist;
48
+ }
39
49
  /**
40
50
  * @hidden
41
51
  */
@@ -112,10 +122,10 @@ export class EditingDirectiveBase {
112
122
  onStateChange() {
113
123
  this.closeEditor();
114
124
  }
125
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditingDirectiveBase, deps: [{ token: i1.TreeListComponent }], target: i0.ɵɵFactoryTarget.Directive });
126
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditingDirectiveBase, inputs: { editService: "editService", newItemId: "newItemId", removeConfirmation: "removeConfirmation" }, ngImport: i0 });
115
127
  }
116
- EditingDirectiveBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditingDirectiveBase, deps: [{ token: i1.TreeListComponent }], target: i0.ɵɵFactoryTarget.Directive });
117
- EditingDirectiveBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditingDirectiveBase, inputs: { editService: "editService", newItemId: "newItemId", removeConfirmation: "removeConfirmation" }, ngImport: i0 });
118
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditingDirectiveBase, decorators: [{
128
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditingDirectiveBase, decorators: [{
119
129
  type: Directive,
120
130
  args: [{}]
121
131
  }], ctorParameters: function () { return [{ type: i1.TreeListComponent }]; }, propDecorators: { editService: [{
@@ -10,6 +10,7 @@ import { insertNewItem } from './utils';
10
10
  * @hidden
11
11
  */
12
12
  export class FlatEditService extends LocalEditService {
13
+ bindingDirective;
13
14
  constructor(bindingDirective) {
14
15
  super();
15
16
  this.bindingDirective = bindingDirective;
@@ -8,6 +8,7 @@ import { insertNewItem } from './utils';
8
8
  * @hidden
9
9
  */
10
10
  export class HierarchyEditService extends LocalEditService {
11
+ bindingDirective;
11
12
  constructor(bindingDirective) {
12
13
  super();
13
14
  this.bindingDirective = bindingDirective;
@@ -13,6 +13,11 @@ import * as i1 from "../treelist.component";
13
13
  * editing with Reactive Forms ([see example](slug:editing_directives_treelist#toc-in-cell-editing-directive)).
14
14
  */
15
15
  export class InCellEditingDirective extends EditingDirectiveBase {
16
+ treelist;
17
+ /**
18
+ * The function that creates the `FormGroup` for the edited model.
19
+ */
20
+ createFormGroup;
16
21
  constructor(treelist) {
17
22
  super(treelist);
18
23
  this.treelist = treelist;
@@ -58,10 +63,10 @@ export class InCellEditingDirective extends EditingDirectiveBase {
58
63
  this.editService.update(dataItem);
59
64
  }
60
65
  }
66
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: InCellEditingDirective, deps: [{ token: i1.TreeListComponent }], target: i0.ɵɵFactoryTarget.Directive });
67
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: InCellEditingDirective, isStandalone: true, selector: "[kendoTreeListInCellEditing]", inputs: { createFormGroup: ["kendoTreeListInCellEditing", "createFormGroup"] }, exportAs: ["kendoTreeListInCellEditing"], usesInheritance: true, ngImport: i0 });
61
68
  }
62
- InCellEditingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: InCellEditingDirective, deps: [{ token: i1.TreeListComponent }], target: i0.ɵɵFactoryTarget.Directive });
63
- InCellEditingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: InCellEditingDirective, isStandalone: true, selector: "[kendoTreeListInCellEditing]", inputs: { createFormGroup: ["kendoTreeListInCellEditing", "createFormGroup"] }, exportAs: ["kendoTreeListInCellEditing"], usesInheritance: true, ngImport: i0 });
64
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: InCellEditingDirective, decorators: [{
69
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: InCellEditingDirective, decorators: [{
65
70
  type: Directive,
66
71
  args: [{
67
72
  exportAs: 'kendoTreeListInCellEditing',