@progress/kendo-angular-treeview 6.0.2 → 7.0.0-dev.202204191141

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 (328) hide show
  1. package/bundles/kendo-angular-treeview.umd.js +5 -0
  2. package/{dist/es2015/check-mode.d.ts → check-mode.d.ts} +0 -0
  3. package/{dist/es2015/check.directive.d.ts → check.directive.d.ts} +5 -2
  4. package/{dist/es2015/checkable-settings.d.ts → checkable-settings.d.ts} +0 -0
  5. package/{dist/es2015/checkbox → checkbox}/checkbox.component.d.ts +7 -4
  6. package/{dist/es2015/checkbox → checkbox}/checkbox.module.d.ts +5 -0
  7. package/{dist/es2015/checkbox → checkbox}/checked-state.d.ts +0 -0
  8. package/{dist/es2015/data-bound-component.d.ts → data-bound-component.d.ts} +3 -0
  9. package/{dist/es2015/data-change-notification.service.d.ts → data-change-notification.service.d.ts} +0 -0
  10. package/{dist/es2015/default-callbacks.d.ts → default-callbacks.d.ts} +0 -0
  11. package/{dist/es2015/disable.directive.d.ts → disable.directive.d.ts} +4 -1
  12. package/{dist/es2015/drag-and-drop → drag-and-drop}/drag-and-drop-editing.directive.d.ts +4 -1
  13. package/{dist/es2015/drag-and-drop → drag-and-drop}/drag-and-drop-utils.d.ts +0 -0
  14. package/{dist/es2015/drag-and-drop → drag-and-drop}/drag-and-drop.directive.d.ts +4 -1
  15. package/{dist/es2015/drag-and-drop → drag-and-drop}/drag-clue/drag-clue-template.directive.d.ts +3 -0
  16. package/{dist/es2015/drag-and-drop → drag-and-drop}/drag-clue/drag-clue.component.d.ts +4 -1
  17. package/{dist/es2015/drag-and-drop → drag-and-drop}/drag-clue/drag-clue.service.d.ts +3 -0
  18. package/{dist/es2015/drag-and-drop → drag-and-drop}/drop-hint/drop-hint-template.directive.d.ts +3 -0
  19. package/{dist/es2015/drag-and-drop → drag-and-drop}/drop-hint/drop-hint.component.d.ts +3 -0
  20. package/{dist/es2015/drag-and-drop → drag-and-drop}/drop-hint/drop-hint.service.d.ts +3 -0
  21. package/{dist/es2015/drag-and-drop → drag-and-drop}/editing-services/drag-and-drop-asset.service.d.ts +6 -2
  22. package/{dist/es2015/drag-and-drop → drag-and-drop}/editing-services/flat-editing.service.d.ts +0 -0
  23. package/{dist/es2015/drag-and-drop → drag-and-drop}/editing-services/hierarchy-editing.service.d.ts +0 -0
  24. package/{dist/es2015/drag-and-drop → drag-and-drop}/models/drop-action.d.ts +0 -0
  25. package/{dist/es2015/drag-and-drop → drag-and-drop}/models/drop-position.d.ts +0 -0
  26. package/{dist/es2015/drag-and-drop → drag-and-drop}/models/editing-service.d.ts +0 -0
  27. package/{dist/es2015/drag-and-drop → drag-and-drop}/models/preventable-event.d.ts +0 -0
  28. package/{dist/es2015/drag-and-drop → drag-and-drop}/models/scroll-direction.d.ts +0 -0
  29. package/{dist/es2015/drag-and-drop → drag-and-drop}/models/scroll-settings.d.ts +0 -0
  30. package/{dist/es2015/drag-and-drop → drag-and-drop}/models/tree-item-filter-state.d.ts +0 -0
  31. package/{dist/es2015/drag-and-drop → drag-and-drop}/models/treeitem-add-remove-args.d.ts +0 -0
  32. package/{dist/es2015/drag-and-drop → drag-and-drop}/models/treeitem-drag-event.d.ts +2 -0
  33. package/{dist/es2015/drag-and-drop → drag-and-drop}/models/treeitem-drag-start-event.d.ts +0 -0
  34. package/{dist/es2015/drag-and-drop → drag-and-drop}/models/treeitem-drop-event.d.ts +0 -0
  35. package/{dist/es2015/drag-and-drop → drag-and-drop}/models.d.ts +0 -0
  36. package/{dist/es2015 → esm2015}/check-mode.js +1 -0
  37. package/{dist/es2015 → esm2015}/check.directive.js +23 -35
  38. package/{dist/es → esm2015}/checkable-settings.js +1 -0
  39. package/{dist/es2015 → esm2015}/checkbox/checkbox.component.js +47 -51
  40. package/esm2015/checkbox/checkbox.module.js +27 -0
  41. package/{dist/es2015 → esm2015}/checkbox/checked-state.js +1 -0
  42. package/esm2015/data-bound-component.js +19 -0
  43. package/{dist/es2015 → esm2015}/data-change-notification.service.js +0 -0
  44. package/{dist/es2015 → esm2015}/default-callbacks.js +0 -0
  45. package/{dist/es2015 → esm2015}/disable.directive.js +18 -24
  46. package/{dist/es2015 → esm2015}/drag-and-drop/drag-and-drop-editing.directive.js +14 -16
  47. package/{dist/es2015 → esm2015}/drag-and-drop/drag-and-drop-utils.js +7 -11
  48. package/{dist/es2015 → esm2015}/drag-and-drop/drag-and-drop.directive.js +48 -51
  49. package/{dist/es2015 → esm2015}/drag-and-drop/drag-clue/drag-clue-template.directive.js +14 -12
  50. package/esm2015/drag-and-drop/drag-clue/drag-clue.component.js +85 -0
  51. package/{dist/es2015 → esm2015}/drag-and-drop/drag-clue/drag-clue.service.js +9 -9
  52. package/{dist/es2015 → esm2015}/drag-and-drop/drop-hint/drop-hint-template.directive.js +14 -12
  53. package/esm2015/drag-and-drop/drop-hint/drop-hint.component.js +79 -0
  54. package/{dist/es2015 → esm2015}/drag-and-drop/drop-hint/drop-hint.service.js +9 -9
  55. package/{dist/es2015 → esm2015}/drag-and-drop/editing-services/drag-and-drop-asset.service.js +7 -0
  56. package/{dist/es2015 → esm2015}/drag-and-drop/editing-services/flat-editing.service.js +0 -0
  57. package/{dist/es2015 → esm2015}/drag-and-drop/editing-services/hierarchy-editing.service.js +0 -0
  58. package/{dist/es → esm2015}/drag-and-drop/models/drop-action.js +0 -0
  59. package/{dist/es → esm2015}/drag-and-drop/models/drop-position.js +0 -0
  60. package/{dist/es2015 → esm2015}/drag-and-drop/models/editing-service.js +1 -0
  61. package/{dist/es2015 → esm2015}/drag-and-drop/models/preventable-event.js +0 -0
  62. package/{dist/es → esm2015}/drag-and-drop/models/scroll-direction.js +0 -0
  63. package/{dist/es → esm2015}/drag-and-drop/models/scroll-settings.js +1 -0
  64. package/{dist/es → esm2015}/drag-and-drop/models/tree-item-filter-state.js +1 -0
  65. package/{dist/es → esm2015}/drag-and-drop/models/treeitem-add-remove-args.js +1 -0
  66. package/{dist/es2015 → esm2015}/drag-and-drop/models/treeitem-drag-event.js +2 -0
  67. package/{dist/es2015 → esm2015}/drag-and-drop/models/treeitem-drag-start-event.js +0 -0
  68. package/{dist/es2015 → esm2015}/drag-and-drop/models/treeitem-drop-event.js +0 -0
  69. package/{dist/es → esm2015}/drag-and-drop/models.js +3 -0
  70. package/{dist/es2015 → esm2015}/expand-state.service.js +8 -10
  71. package/{dist/es2015 → esm2015}/expand.directive.js +22 -31
  72. package/esm2015/expandable-component.js +19 -0
  73. package/{dist/es → esm2015}/filter-expand-settings.interface.js +1 -0
  74. package/{dist/es → esm2015}/filter-state.interface.js +1 -0
  75. package/{dist/es2015 → esm2015}/filtering-base.js +13 -13
  76. package/{dist/es2015 → esm2015}/flat-binding.directive.js +20 -34
  77. package/{dist/es2015 → esm2015}/funcs.js +0 -0
  78. package/{dist/es2015 → esm2015}/hierarchy-binding.directive.js +23 -33
  79. package/{dist/es2015 → esm2015}/index-builder.service.js +8 -10
  80. package/{dist/es2015/shared.module.d.ts → esm2015/kendo-angular-treeview.js} +2 -3
  81. package/esm2015/load-more/load-more-button-template.directive.js +31 -0
  82. package/{dist/es → esm2015}/load-more/load-more-request-args.js +1 -0
  83. package/{dist/es2015 → esm2015}/load-more/load-more-utils.js +0 -0
  84. package/{dist/es2015 → esm2015}/load-more/load-more.directive.js +21 -28
  85. package/{dist/es → esm2015}/load-more/load-more.service.js +1 -0
  86. package/{dist/es2015 → esm2015}/loading-indicator.directive.js +18 -22
  87. package/esm2015/loading-notification.service.js +23 -0
  88. package/{dist/es → esm2015}/main.js +0 -0
  89. package/{dist/es → esm2015}/navigation/navigation-item.interface.js +1 -0
  90. package/{dist/es2015 → esm2015}/navigation/navigation-model.js +0 -4
  91. package/{dist/es → esm2015}/navigation/navigation-state.interface.js +1 -0
  92. package/{dist/es2015 → esm2015}/navigation/navigation.service.js +9 -9
  93. package/{dist/es2015 → esm2015}/node-children.service.js +8 -10
  94. package/{dist/es → esm2015}/node-click-event.interface.js +1 -0
  95. package/{dist/es2015 → esm2015}/node-template.directive.js +14 -12
  96. package/{dist/es2015 → esm2015}/package-metadata.js +1 -1
  97. package/{dist/es2015 → esm2015}/selection/select.directive.js +25 -35
  98. package/{dist/es → esm2015}/selection/selectable-settings.js +1 -0
  99. package/{dist/es → esm2015}/selection/selection-mode.js +1 -0
  100. package/{dist/es2015 → esm2015}/selection/selection.service.js +8 -10
  101. package/{dist/es2015 → esm2015}/shared.module.js +63 -16
  102. package/{dist/es → esm2015}/size.js +1 -0
  103. package/{dist/es → esm2015}/treeitem-lookup.interface.js +1 -0
  104. package/{dist/es → esm2015}/treeitem.interface.js +1 -0
  105. package/{dist/es2015 → esm2015}/treeview-filter-settings.js +0 -0
  106. package/{dist/es2015 → esm2015}/treeview-group.component.js +264 -135
  107. package/{dist/es2015 → esm2015}/treeview-item-content.directive.js +20 -30
  108. package/{dist/es2015 → esm2015}/treeview-item.directive.js +43 -81
  109. package/{dist/es2015 → esm2015}/treeview-lookup.service.js +8 -10
  110. package/{dist/es2015 → esm2015}/treeview.component.js +173 -213
  111. package/{dist/es2015 → esm2015}/treeview.module.js +26 -10
  112. package/{dist/es2015 → esm2015}/utils.js +6 -12
  113. package/{dist/es2015/expand-state.service.d.ts → expand-state.service.d.ts} +3 -0
  114. package/{dist/es2015/expand.directive.d.ts → expand.directive.d.ts} +5 -2
  115. package/{dist/es2015/expandable-component.d.ts → expandable-component.d.ts} +3 -0
  116. package/{dist/fesm2015/index.js → fesm2015/kendo-angular-treeview.js} +3415 -3313
  117. package/{dist/es2015/filter-expand-settings.interface.d.ts → filter-expand-settings.interface.d.ts} +0 -0
  118. package/{dist/es2015/filter-state.interface.d.ts → filter-state.interface.d.ts} +0 -0
  119. package/{dist/es2015/filtering-base.d.ts → filtering-base.d.ts} +6 -2
  120. package/{dist/es2015/flat-binding.directive.d.ts → flat-binding.directive.d.ts} +5 -2
  121. package/{dist/es2015/funcs.d.ts → funcs.d.ts} +0 -0
  122. package/{dist/es2015/hierarchy-binding.directive.d.ts → hierarchy-binding.directive.d.ts} +10 -6
  123. package/{dist/es2015/index-builder.service.d.ts → index-builder.service.d.ts} +3 -0
  124. package/{dist/es/treeview-filter-settings.js → kendo-angular-treeview.d.ts} +3 -6
  125. package/{dist/es2015/load-more → load-more}/load-more-button-template.directive.d.ts +3 -0
  126. package/{dist/es2015/load-more → load-more}/load-more-request-args.d.ts +0 -0
  127. package/{dist/es2015/load-more → load-more}/load-more-utils.d.ts +0 -0
  128. package/{dist/es2015/load-more → load-more}/load-more.directive.d.ts +4 -1
  129. package/{dist/es2015/load-more → load-more}/load-more.service.d.ts +0 -0
  130. package/{dist/es2015/loading-indicator.directive.d.ts → loading-indicator.directive.d.ts} +5 -1
  131. package/{dist/es2015/loading-notification.service.d.ts → loading-notification.service.d.ts} +3 -0
  132. package/{dist/es2015/main.d.ts → main.d.ts} +0 -0
  133. package/{dist/es2015/navigation → navigation}/navigation-item.interface.d.ts +0 -0
  134. package/{dist/es2015/navigation → navigation}/navigation-model.d.ts +0 -0
  135. package/{dist/es2015/navigation → navigation}/navigation-state.interface.d.ts +0 -0
  136. package/{dist/es2015/navigation → navigation}/navigation.service.d.ts +9 -5
  137. package/{dist/es2015/node-children.service.d.ts → node-children.service.d.ts} +3 -0
  138. package/{dist/es2015/node-click-event.interface.d.ts → node-click-event.interface.d.ts} +0 -0
  139. package/{dist/es2015/node-template.directive.d.ts → node-template.directive.d.ts} +3 -0
  140. package/{dist/es2015/package-metadata.d.ts → package-metadata.d.ts} +0 -0
  141. package/package.json +32 -102
  142. package/schematics/ngAdd/index.js +7 -4
  143. package/schematics/ngAdd/index.js.map +1 -1
  144. package/{dist/es2015/selection → selection}/select.directive.d.ts +6 -3
  145. package/{dist/es2015/selection → selection}/selectable-settings.d.ts +0 -0
  146. package/{dist/es2015/selection → selection}/selection-mode.d.ts +0 -0
  147. package/{dist/es2015/selection → selection}/selection.service.d.ts +3 -0
  148. package/shared.module.d.ts +36 -0
  149. package/size.d.ts +8 -0
  150. package/{dist/es2015/treeitem-lookup.interface.d.ts → treeitem-lookup.interface.d.ts} +0 -0
  151. package/{dist/es2015/treeitem.interface.d.ts → treeitem.interface.d.ts} +0 -0
  152. package/{dist/es2015/treeview-filter-settings.d.ts → treeview-filter-settings.d.ts} +0 -0
  153. package/{dist/es2015/treeview-group.component.d.ts → treeview-group.component.d.ts} +16 -7
  154. package/{dist/es2015/treeview-item-content.directive.d.ts → treeview-item-content.directive.d.ts} +3 -0
  155. package/{dist/es2015/treeview-item.directive.d.ts → treeview-item.directive.d.ts} +11 -6
  156. package/{dist/es2015/treeview-lookup.service.d.ts → treeview-lookup.service.d.ts} +3 -0
  157. package/{dist/es2015/treeview.component.d.ts → treeview.component.d.ts} +26 -15
  158. package/treeview.module.d.ts +28 -0
  159. package/{dist/es2015/utils.d.ts → utils.d.ts} +1 -1
  160. package/dist/cdn/js/kendo-angular-treeview.js +0 -20
  161. package/dist/cdn/main.js +0 -5
  162. package/dist/es/check-mode.js +0 -4
  163. package/dist/es/check.directive.js +0 -282
  164. package/dist/es/checkbox/checkbox.component.js +0 -127
  165. package/dist/es/checkbox/checkbox.module.js +0 -27
  166. package/dist/es/checkbox/checked-state.js +0 -4
  167. package/dist/es/data-bound-component.js +0 -21
  168. package/dist/es/data-change-notification.service.js +0 -18
  169. package/dist/es/default-callbacks.js +0 -32
  170. package/dist/es/disable.directive.js +0 -71
  171. package/dist/es/drag-and-drop/drag-and-drop-editing.directive.js +0 -65
  172. package/dist/es/drag-and-drop/drag-and-drop-utils.js +0 -274
  173. package/dist/es/drag-and-drop/drag-and-drop.directive.js +0 -334
  174. package/dist/es/drag-and-drop/drag-clue/drag-clue-template.directive.js +0 -34
  175. package/dist/es/drag-and-drop/drag-clue/drag-clue.component.js +0 -54
  176. package/dist/es/drag-and-drop/drag-clue/drag-clue.service.js +0 -132
  177. package/dist/es/drag-and-drop/drop-hint/drop-hint-template.directive.js +0 -31
  178. package/dist/es/drag-and-drop/drop-hint/drop-hint.component.js +0 -43
  179. package/dist/es/drag-and-drop/drop-hint/drop-hint.service.js +0 -46
  180. package/dist/es/drag-and-drop/editing-services/drag-and-drop-asset.service.js +0 -53
  181. package/dist/es/drag-and-drop/editing-services/flat-editing.service.js +0 -145
  182. package/dist/es/drag-and-drop/editing-services/hierarchy-editing.service.js +0 -90
  183. package/dist/es/drag-and-drop/models/editing-service.js +0 -4
  184. package/dist/es/drag-and-drop/models/preventable-event.js +0 -29
  185. package/dist/es/drag-and-drop/models/treeitem-drag-event.js +0 -14
  186. package/dist/es/drag-and-drop/models/treeitem-drag-start-event.js +0 -22
  187. package/dist/es/drag-and-drop/models/treeitem-drop-event.js +0 -36
  188. package/dist/es/expand-state.service.js +0 -26
  189. package/dist/es/expand.directive.js +0 -219
  190. package/dist/es/expandable-component.js +0 -21
  191. package/dist/es/filtering-base.js +0 -95
  192. package/dist/es/flat-binding.directive.js +0 -151
  193. package/dist/es/funcs.js +0 -15
  194. package/dist/es/hierarchy-binding.directive.js +0 -152
  195. package/dist/es/index-builder.service.js +0 -38
  196. package/dist/es/index.js +0 -30
  197. package/dist/es/load-more/load-more-button-template.directive.js +0 -30
  198. package/dist/es/load-more/load-more-utils.js +0 -35
  199. package/dist/es/load-more/load-more.directive.js +0 -114
  200. package/dist/es/loading-indicator.directive.js +0 -76
  201. package/dist/es/loading-notification.service.js +0 -23
  202. package/dist/es/navigation/navigation-model.js +0 -162
  203. package/dist/es/navigation/navigation.service.js +0 -243
  204. package/dist/es/node-children.service.js +0 -23
  205. package/dist/es/node-template.directive.js +0 -74
  206. package/dist/es/package-metadata.js +0 -15
  207. package/dist/es/selection/select.directive.js +0 -152
  208. package/dist/es/selection/selection.service.js +0 -34
  209. package/dist/es/shared.module.js +0 -75
  210. package/dist/es/treeview-group.component.js +0 -393
  211. package/dist/es/treeview-item-content.directive.js +0 -85
  212. package/dist/es/treeview-item.directive.js +0 -306
  213. package/dist/es/treeview-lookup.service.js +0 -93
  214. package/dist/es/treeview.component.js +0 -853
  215. package/dist/es/treeview.module.js +0 -52
  216. package/dist/es/utils.js +0 -311
  217. package/dist/es2015/checkable-settings.js +0 -4
  218. package/dist/es2015/checkbox/checkbox.module.js +0 -24
  219. package/dist/es2015/data-bound-component.js +0 -18
  220. package/dist/es2015/drag-and-drop/drag-clue/drag-clue.component.js +0 -66
  221. package/dist/es2015/drag-and-drop/drop-hint/drop-hint.component.js +0 -61
  222. package/dist/es2015/drag-and-drop/models/drop-action.js +0 -17
  223. package/dist/es2015/drag-and-drop/models/drop-position.js +0 -13
  224. package/dist/es2015/drag-and-drop/models/scroll-direction.js +0 -12
  225. package/dist/es2015/drag-and-drop/models/scroll-settings.js +0 -4
  226. package/dist/es2015/drag-and-drop/models/tree-item-filter-state.js +0 -4
  227. package/dist/es2015/drag-and-drop/models/treeitem-add-remove-args.js +0 -4
  228. package/dist/es2015/drag-and-drop/models.js +0 -11
  229. package/dist/es2015/expandable-component.js +0 -18
  230. package/dist/es2015/filter-expand-settings.interface.js +0 -4
  231. package/dist/es2015/filter-state.interface.js +0 -4
  232. package/dist/es2015/index.d.ts +0 -30
  233. package/dist/es2015/index.js +0 -30
  234. package/dist/es2015/index.metadata.json +0 -1
  235. package/dist/es2015/load-more/load-more-button-template.directive.js +0 -29
  236. package/dist/es2015/load-more/load-more-request-args.js +0 -4
  237. package/dist/es2015/load-more/load-more.service.js +0 -4
  238. package/dist/es2015/loading-notification.service.js +0 -25
  239. package/dist/es2015/main.js +0 -26
  240. package/dist/es2015/navigation/navigation-item.interface.js +0 -4
  241. package/dist/es2015/navigation/navigation-state.interface.js +0 -4
  242. package/dist/es2015/node-click-event.interface.js +0 -4
  243. package/dist/es2015/selection/selectable-settings.js +0 -4
  244. package/dist/es2015/selection/selection-mode.js +0 -4
  245. package/dist/es2015/size.d.ts +0 -14
  246. package/dist/es2015/size.js +0 -4
  247. package/dist/es2015/treeitem-lookup.interface.js +0 -4
  248. package/dist/es2015/treeitem.interface.js +0 -4
  249. package/dist/es2015/treeview.module.d.ts +0 -9
  250. package/dist/fesm5/index.js +0 -5426
  251. package/dist/npm/check-mode.js +0 -6
  252. package/dist/npm/check.directive.js +0 -285
  253. package/dist/npm/checkable-settings.js +0 -6
  254. package/dist/npm/checkbox/checkbox.component.js +0 -129
  255. package/dist/npm/checkbox/checkbox.module.js +0 -29
  256. package/dist/npm/checkbox/checked-state.js +0 -6
  257. package/dist/npm/data-bound-component.js +0 -23
  258. package/dist/npm/data-change-notification.service.js +0 -20
  259. package/dist/npm/default-callbacks.js +0 -34
  260. package/dist/npm/disable.directive.js +0 -73
  261. package/dist/npm/drag-and-drop/drag-and-drop-editing.directive.js +0 -67
  262. package/dist/npm/drag-and-drop/drag-and-drop-utils.js +0 -278
  263. package/dist/npm/drag-and-drop/drag-and-drop.directive.js +0 -336
  264. package/dist/npm/drag-and-drop/drag-clue/drag-clue-template.directive.js +0 -36
  265. package/dist/npm/drag-and-drop/drag-clue/drag-clue.component.js +0 -56
  266. package/dist/npm/drag-and-drop/drag-clue/drag-clue.service.js +0 -134
  267. package/dist/npm/drag-and-drop/drop-hint/drop-hint-template.directive.js +0 -33
  268. package/dist/npm/drag-and-drop/drop-hint/drop-hint.component.js +0 -45
  269. package/dist/npm/drag-and-drop/drop-hint/drop-hint.service.js +0 -48
  270. package/dist/npm/drag-and-drop/editing-services/drag-and-drop-asset.service.js +0 -55
  271. package/dist/npm/drag-and-drop/editing-services/flat-editing.service.js +0 -147
  272. package/dist/npm/drag-and-drop/editing-services/hierarchy-editing.service.js +0 -92
  273. package/dist/npm/drag-and-drop/models/drop-action.js +0 -19
  274. package/dist/npm/drag-and-drop/models/drop-position.js +0 -15
  275. package/dist/npm/drag-and-drop/models/editing-service.js +0 -6
  276. package/dist/npm/drag-and-drop/models/preventable-event.js +0 -31
  277. package/dist/npm/drag-and-drop/models/scroll-direction.js +0 -14
  278. package/dist/npm/drag-and-drop/models/scroll-settings.js +0 -6
  279. package/dist/npm/drag-and-drop/models/tree-item-filter-state.js +0 -6
  280. package/dist/npm/drag-and-drop/models/treeitem-add-remove-args.js +0 -6
  281. package/dist/npm/drag-and-drop/models/treeitem-drag-event.js +0 -16
  282. package/dist/npm/drag-and-drop/models/treeitem-drag-start-event.js +0 -24
  283. package/dist/npm/drag-and-drop/models/treeitem-drop-event.js +0 -38
  284. package/dist/npm/drag-and-drop/models.js +0 -14
  285. package/dist/npm/expand-state.service.js +0 -28
  286. package/dist/npm/expand.directive.js +0 -221
  287. package/dist/npm/expandable-component.js +0 -23
  288. package/dist/npm/filter-expand-settings.interface.js +0 -6
  289. package/dist/npm/filter-state.interface.js +0 -6
  290. package/dist/npm/filtering-base.js +0 -97
  291. package/dist/npm/flat-binding.directive.js +0 -154
  292. package/dist/npm/funcs.js +0 -17
  293. package/dist/npm/hierarchy-binding.directive.js +0 -154
  294. package/dist/npm/index-builder.service.js +0 -40
  295. package/dist/npm/index.js +0 -55
  296. package/dist/npm/load-more/load-more-button-template.directive.js +0 -32
  297. package/dist/npm/load-more/load-more-request-args.js +0 -6
  298. package/dist/npm/load-more/load-more-utils.js +0 -37
  299. package/dist/npm/load-more/load-more.directive.js +0 -116
  300. package/dist/npm/load-more/load-more.service.js +0 -6
  301. package/dist/npm/loading-indicator.directive.js +0 -78
  302. package/dist/npm/loading-notification.service.js +0 -25
  303. package/dist/npm/main.js +0 -50
  304. package/dist/npm/navigation/navigation-item.interface.js +0 -6
  305. package/dist/npm/navigation/navigation-model.js +0 -166
  306. package/dist/npm/navigation/navigation-state.interface.js +0 -6
  307. package/dist/npm/navigation/navigation.service.js +0 -245
  308. package/dist/npm/node-children.service.js +0 -25
  309. package/dist/npm/node-click-event.interface.js +0 -6
  310. package/dist/npm/node-template.directive.js +0 -76
  311. package/dist/npm/package-metadata.js +0 -17
  312. package/dist/npm/selection/select.directive.js +0 -154
  313. package/dist/npm/selection/selectable-settings.js +0 -6
  314. package/dist/npm/selection/selection-mode.js +0 -6
  315. package/dist/npm/selection/selection.service.js +0 -36
  316. package/dist/npm/shared.module.js +0 -77
  317. package/dist/npm/size.js +0 -6
  318. package/dist/npm/treeitem-lookup.interface.js +0 -6
  319. package/dist/npm/treeitem.interface.js +0 -6
  320. package/dist/npm/treeview-filter-settings.js +0 -14
  321. package/dist/npm/treeview-group.component.js +0 -395
  322. package/dist/npm/treeview-item-content.directive.js +0 -87
  323. package/dist/npm/treeview-item.directive.js +0 -308
  324. package/dist/npm/treeview-lookup.service.js +0 -95
  325. package/dist/npm/treeview.component.js +0 -855
  326. package/dist/npm/treeview.module.js +0 -54
  327. package/dist/npm/utils.js +0 -322
  328. package/dist/systemjs/kendo-angular-treeview.js +0 -5
@@ -5,6 +5,7 @@
5
5
  import { DataBoundComponent } from "./data-bound-component";
6
6
  import { TreeItemFilterState } from "./drag-and-drop/models/tree-item-filter-state";
7
7
  import { TreeViewFilterSettings } from "./treeview-filter-settings";
8
+ import * as i0 from "@angular/core";
8
9
  /**
9
10
  * @hidden
10
11
  */
@@ -18,12 +19,13 @@ export declare abstract class FilteringBase {
18
19
  /**
19
20
  * The settings which are applied when performing a filter on the component's data.
20
21
  */
21
- filterSettings: TreeViewFilterSettings;
22
+ set filterSettings(settings: TreeViewFilterSettings);
23
+ get filterSettings(): TreeViewFilterSettings;
22
24
  private _filterSettings;
23
25
  /**
24
26
  * Applies a filter and changes the visibility of the component's nodes accordingly.
25
27
  */
26
- filter: string;
28
+ set filter(term: string);
27
29
  constructor(component: DataBoundComponent);
28
30
  /**
29
31
  * @hidden
@@ -31,4 +33,6 @@ export declare abstract class FilteringBase {
31
33
  handleFilterChange(term: string): void;
32
34
  protected updateVisibleNodes(items: TreeItemFilterState[]): void;
33
35
  protected resetNodesVisibility(items: TreeItemFilterState[]): void;
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<FilteringBase, never>;
37
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FilteringBase, never, never, { "filterSettings": "filterSettings"; "filter": "filter"; }, {}, never>;
34
38
  }
@@ -5,6 +5,7 @@
5
5
  import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
6
6
  import { DataBoundComponent } from './data-bound-component';
7
7
  import { FilteringBase } from './filtering-base';
8
+ import * as i0 from "@angular/core";
8
9
  /**
9
10
  * A directive which encapsulates the retrieval of the child nodes.
10
11
  */
@@ -13,7 +14,7 @@ export declare class FlatDataBindingDirective extends FilteringBase implements O
13
14
  /**
14
15
  * The nodes which will be displayed by the TreeView.
15
16
  */
16
- nodes: any[];
17
+ set nodes(values: any[]);
17
18
  /**
18
19
  * Represents the parent field whose value will be matched with the parent node.
19
20
  */
@@ -30,7 +31,7 @@ export declare class FlatDataBindingDirective extends FilteringBase implements O
30
31
  * @hidden
31
32
  * A callback which determines whether a TreeView node should be rendered as hidden.
32
33
  */
33
- isVisible: (item: object, index: string) => boolean;
34
+ set isVisible(fn: (item: object, index: string) => boolean);
34
35
  /**
35
36
  * @hidden
36
37
  */
@@ -44,4 +45,6 @@ export declare class FlatDataBindingDirective extends FilteringBase implements O
44
45
  * @hidden
45
46
  */
46
47
  ngOnChanges(changes: SimpleChanges): void;
48
+ static ɵfac: i0.ɵɵFactoryDeclaration<FlatDataBindingDirective, never>;
49
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FlatDataBindingDirective, "[kendoTreeViewFlatDataBinding]", never, { "nodes": "nodes"; "parentIdField": "parentIdField"; "idField": "idField"; "loadOnDemand": "loadOnDemand"; "isVisible": "isVisible"; }, {}, never>;
47
50
  }
File without changes
@@ -6,6 +6,7 @@ import { OnInit, SimpleChanges } from '@angular/core';
6
6
  import { DataBoundComponent } from './data-bound-component';
7
7
  import { DragAndDropDirective } from './drag-and-drop/drag-and-drop.directive';
8
8
  import { FilteringBase } from './filtering-base';
9
+ import * as i0 from "@angular/core";
9
10
  /**
10
11
  * A directive which encapsulates the retrieval of child nodes.
11
12
  */
@@ -15,19 +16,20 @@ export declare class HierarchyBindingDirective extends FilteringBase implements
15
16
  /**
16
17
  * The field name which holds the data items of the child component.
17
18
  */
18
- /**
19
- * The field name which holds the data items of the child component.
20
- */
21
- childrenField: string;
19
+ set childrenField(value: string);
22
20
  /**
23
21
  * The nodes which will be displayed by the TreeView.
24
22
  */
25
- nodes: any[];
23
+ set nodes(values: any[]);
26
24
  /**
27
25
  * @hidden
28
26
  * A callback which determines whether a TreeView node should be rendered as hidden.
29
27
  */
30
- isVisible: (item: object, index: string) => boolean;
28
+ set isVisible(fn: (item: object, index: string) => boolean);
29
+ /**
30
+ * The field name which holds the data items of the child component.
31
+ */
32
+ get childrenField(): string;
31
33
  /**
32
34
  * @hidden
33
35
  */
@@ -37,4 +39,6 @@ export declare class HierarchyBindingDirective extends FilteringBase implements
37
39
  constructor(component: DataBoundComponent, dragAndDropDirective?: DragAndDropDirective);
38
40
  ngOnInit(): void;
39
41
  ngOnChanges(changes: SimpleChanges): void;
42
+ static ɵfac: i0.ɵɵFactoryDeclaration<HierarchyBindingDirective, [null, { optional: true; host: true; }]>;
43
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HierarchyBindingDirective, "[kendoTreeViewHierarchyBinding]", never, { "childrenField": "childrenField"; "nodes": "nodes"; "isVisible": "isVisible"; "loadOnDemand": "loadOnDemand"; }, {}, never>;
40
44
  }
@@ -2,6 +2,7 @@
2
2
  * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
+ import * as i0 from "@angular/core";
5
6
  /**
6
7
  * @hidden
7
8
  */
@@ -11,4 +12,6 @@ export declare class IndexBuilderService {
11
12
  indexForLevel(index: string, level: number): string;
12
13
  lastLevelIndex(index?: string): number;
13
14
  level(index: string): number;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<IndexBuilderService, never>;
16
+ static ɵprov: i0.ɵɵInjectableDeclaration<IndexBuilderService>;
14
17
  }
@@ -3,10 +3,7 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
6
- * @hidden
6
+ * Generated bundle index. Do not edit.
7
7
  */
8
- export var DEFAULT_FILTER_SETTINGS = {
9
- operator: 'contains',
10
- ignoreCase: true,
11
- mode: "lenient"
12
- };
8
+ /// <amd-module name="@progress/kendo-angular-treeview" />
9
+ export * from './main';
@@ -3,6 +3,7 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { TemplateRef } from "@angular/core";
6
+ import * as i0 from "@angular/core";
6
7
  /**
7
8
  * Represents the template for the TreeView load more buttons.
8
9
  * To define a button template, nest an `<ng-template>`
@@ -16,4 +17,6 @@ import { TemplateRef } from "@angular/core";
16
17
  export declare class LoadMoreButtonTemplateDirective {
17
18
  templateRef: TemplateRef<any>;
18
19
  constructor(templateRef: TemplateRef<any>);
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<LoadMoreButtonTemplateDirective, [{ optional: true; }]>;
21
+ static ɵdir: i0.ɵɵDirectiveDeclaration<LoadMoreButtonTemplateDirective, "[kendoTreeViewLoadMoreButtonTemplate]", never, {}, {}, never>;
19
22
  }
@@ -5,6 +5,7 @@
5
5
  import { Observable } from 'rxjs';
6
6
  import { TreeViewComponent } from '../treeview.component';
7
7
  import { LoadMoreRequestArgs } from './load-more-request-args';
8
+ import * as i0 from "@angular/core";
8
9
  /**
9
10
  * A directive that enables the display of only a limited amount of nodes per level
10
11
  * ([see example]({% slug loadmorebutton_treeview %})).
@@ -16,7 +17,7 @@ export declare class LoadMoreDirective {
16
17
  * Providing a function is only required when additional nodes are fetched on demand
17
18
  * ([see example]({% slug loadmorebutton_treeview %}#toc-remote-data)).
18
19
  */
19
- loadMoreNodes: ((loadMoreArgs: LoadMoreRequestArgs) => Observable<any[]>) | string;
20
+ set loadMoreNodes(loadMoreNodes: ((loadMoreArgs: LoadMoreRequestArgs) => Observable<any[]>) | string);
20
21
  /**
21
22
  * Specifies the initial number of nodes that will be rendered on each level.
22
23
  * Every time the load more button is clicked, the data item page size will be incremented with this number.
@@ -49,4 +50,6 @@ export declare class LoadMoreDirective {
49
50
  private setGroupSize;
50
51
  private getTotalNodesCount;
51
52
  private getInitalPageSize;
53
+ static ɵfac: i0.ɵɵFactoryDeclaration<LoadMoreDirective, never>;
54
+ static ɵdir: i0.ɵɵDirectiveDeclaration<LoadMoreDirective, "[kendoTreeViewLoadMore]", never, { "loadMoreNodes": "kendoTreeViewLoadMore"; "pageSize": "pageSize"; "totalRootNodes": "totalRootNodes"; "totalField": "totalField"; }, {}, never>;
52
55
  }
@@ -5,6 +5,7 @@
5
5
  import { ChangeDetectorRef, OnInit, OnDestroy } from '@angular/core';
6
6
  import { ExpandStateService } from './expand-state.service';
7
7
  import { LoadingNotificationService } from './loading-notification.service';
8
+ import * as i0 from "@angular/core";
8
9
  /**
9
10
  * @hidden
10
11
  */
@@ -12,11 +13,14 @@ export declare class LoadingIndicatorDirective implements OnInit, OnDestroy {
12
13
  protected expandService: ExpandStateService;
13
14
  protected loadingService: LoadingNotificationService;
14
15
  protected cd: ChangeDetectorRef;
15
- loading: boolean;
16
+ get loading(): boolean;
17
+ set loading(value: boolean);
16
18
  index: string;
17
19
  private _loading;
18
20
  private subscription;
19
21
  constructor(expandService: ExpandStateService, loadingService: LoadingNotificationService, cd: ChangeDetectorRef);
20
22
  ngOnInit(): void;
21
23
  ngOnDestroy(): void;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<LoadingIndicatorDirective, never>;
25
+ static ɵdir: i0.ɵɵDirectiveDeclaration<LoadingIndicatorDirective, "[kendoTreeViewLoading]", never, { "index": "kendoTreeViewLoading"; }, {}, never>;
22
26
  }
@@ -3,10 +3,13 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Subject } from "rxjs";
6
+ import * as i0 from "@angular/core";
6
7
  /**
7
8
  * @hidden
8
9
  */
9
10
  export declare class LoadingNotificationService {
10
11
  changes: Subject<string>;
11
12
  notifyLoaded(index: string): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<LoadingNotificationService, never>;
14
+ static ɵprov: i0.ɵɵInjectableDeclaration<LoadingNotificationService>;
12
15
  }
File without changes
@@ -7,6 +7,7 @@ import { Subject } from 'rxjs';
7
7
  import { NavigationItem } from './navigation-item.interface';
8
8
  import { NavigationModel } from './navigation-model';
9
9
  import { NavigationState } from './navigation-state.interface';
10
+ import * as i0 from "@angular/core";
10
11
  /**
11
12
  * @hidden
12
13
  */
@@ -18,7 +19,8 @@ export declare class NavigationService {
18
19
  readonly selects: Subject<string>;
19
20
  readonly loadMore: Subject<string>;
20
21
  navigable: boolean;
21
- model: NavigationModel;
22
+ get model(): NavigationModel;
23
+ set model(model: NavigationModel);
22
24
  actions: {
23
25
  [x: string]: Function;
24
26
  };
@@ -26,10 +28,10 @@ export declare class NavigationService {
26
28
  private isFocused;
27
29
  private shouldScroll;
28
30
  private _model;
29
- private readonly activeIndex;
30
- private readonly isActiveExpanded;
31
- private readonly isLoadMoreButton;
32
- readonly focusableItem: NavigationItem;
31
+ private get activeIndex();
32
+ private get isActiveExpanded();
33
+ private get isLoadMoreButton();
34
+ get focusableItem(): NavigationItem;
33
35
  constructor(localization: LocalizationService);
34
36
  activate(item: NavigationItem, shouldScroll?: boolean): void;
35
37
  activateParent(index: string): void;
@@ -54,4 +56,6 @@ export declare class NavigationService {
54
56
  private navigationState;
55
57
  private handleEnter;
56
58
  private handleSpace;
59
+ static ɵfac: i0.ɵɵFactoryDeclaration<NavigationService, never>;
60
+ static ɵprov: i0.ɵɵInjectableDeclaration<NavigationService>;
57
61
  }
@@ -4,6 +4,7 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Subject } from "rxjs";
6
6
  import { TreeItem } from './treeitem.interface';
7
+ import * as i0 from "@angular/core";
7
8
  /**
8
9
  * @hidden
9
10
  */
@@ -13,4 +14,6 @@ export declare class NodeChildrenService {
13
14
  children: TreeItem[];
14
15
  }>;
15
16
  childrenLoaded(item: TreeItem, children: TreeItem[]): void;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<NodeChildrenService, never>;
18
+ static ɵprov: i0.ɵɵInjectableDeclaration<NodeChildrenService>;
16
19
  }
@@ -3,6 +3,7 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { TemplateRef } from "@angular/core";
6
+ import * as i0 from "@angular/core";
6
7
  /**
7
8
  * Represents the template for the TreeView nodes ([more information and example]({% slug nodetemplate_treeview %})).
8
9
  * The template helps to customize the content of the nodes. To define the node template, nest an `<ng-template>`
@@ -60,4 +61,6 @@ import { TemplateRef } from "@angular/core";
60
61
  export declare class NodeTemplateDirective {
61
62
  templateRef: TemplateRef<any>;
62
63
  constructor(templateRef: TemplateRef<any>);
64
+ static ɵfac: i0.ɵɵFactoryDeclaration<NodeTemplateDirective, [{ optional: true; }]>;
65
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NodeTemplateDirective, "[kendoTreeViewNodeTemplate]", never, {}, {}, never>;
63
66
  }
package/package.json CHANGED
@@ -1,100 +1,41 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-treeview",
3
+ "version": "7.0.0-dev.202204191141",
3
4
  "description": "Kendo UI TreeView for Angular",
4
- "author": "Progress",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
- "version": "6.0.2",
7
- "main": "dist/npm/index.js",
8
- "module": "dist/fesm5/index.js",
9
- "es2015": "dist/fesm2015/index.js",
10
- "esm5": "dist/es/index.js",
11
- "esm2015": "dist/es2015/index.js",
12
- "jsnext:main": "dist/es/index.js",
13
- "typings": "dist/es2015/index.d.ts",
14
- "jsdelivr": "dist/cdn/main.js",
15
- "unpkg": "dist/cdn/main.js",
16
- "sideEffects": false,
17
- "scripts": {
18
- "test": "jest",
19
- "test:watch": "jest --watch",
20
- "test:ci": "ci-angular-test",
21
- "start": "gulp start",
22
- "e2e:ci": "ci-angular-e2e",
23
- "lint": "gulp lint && gulp lint-docs",
24
- "api-check": "gulp api-check",
25
- "build-package": "gulp build-package",
26
- "semantic-release": "semantic-release pre && semantic-prerelease publish --public && semantic-release post"
6
+ "author": "Progress",
7
+ "homepage": "https://www.telerik.com/kendo-angular-ui/components/",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/telerik/kendo-angular-treeview.git"
11
+ },
12
+ "bugs": {
13
+ "url": "https://github.com/telerik/kendo-angular"
27
14
  },
28
15
  "keywords": [
29
- "Kendo UI",
30
16
  "Angular",
17
+ "Kendo UI",
31
18
  "Progress",
32
19
  "TreeView"
33
20
  ],
34
- "peerDependencies": {
35
- "@angular/animations": "8 - 13",
36
- "@angular/common": "8 - 13",
37
- "@angular/core": "8 - 13",
38
- "@progress/kendo-angular-common": "^2.0.0",
39
- "@progress/kendo-angular-inputs": "^8.0.0",
40
- "@progress/kendo-angular-l10n": "^3.0.0",
41
- "@progress/kendo-licensing": "^1.1.1",
42
- "rxjs": "^6.4.0 || ^7.0.0"
21
+ "@progress": {
22
+ "friendlyName": "TreeView"
43
23
  },
44
24
  "dependencies": {
45
- "@progress/kendo-schematics": "^2.0.0",
46
- "tslib": "^1.9.0",
25
+ "@progress/kendo-common": "^0.2.0",
26
+ "@progress/kendo-schematics": "^3.0.0",
47
27
  "@telerik/kendo-draggable": "^2.0.0",
48
- "@progress/kendo-common": "^0.2.0"
28
+ "tslib": "^2.3.1"
49
29
  },
50
- "devDependencies": {
51
- "@angular-devkit/core": "^8.2.0",
52
- "@angular-devkit/schematics": "^8.2.0",
53
- "@angular/animations": "^8.2.0",
54
- "@angular/common": "^8.2.0",
55
- "@angular/compiler": "^8.2.0",
56
- "@angular/compiler-cli": "^8.2.0",
57
- "@angular/core": "^8.2.0",
58
- "@angular/forms": "^8.2.0",
59
- "@angular/platform-browser": "^8.2.0",
60
- "@angular/platform-browser-dynamic": "^8.2.0",
61
- "@angular/platform-server": "^8.2.0",
62
- "@angular/router": "^8.2.0",
63
- "@progress/kendo-angular-buttons": "^7.0.0",
64
- "@progress/kendo-angular-common": "^2.0.0",
65
- "@progress/kendo-angular-dialog": "^5.0.0",
66
- "@progress/kendo-angular-e2e": "^2.2.0",
67
- "@progress/kendo-angular-inputs": "^8.0.0",
68
- "@progress/kendo-angular-dropdowns": "dev",
69
- "@progress/kendo-angular-intl": "^3.0.0",
70
- "@progress/kendo-angular-jest-preset": "^2.0.0",
71
- "@progress/kendo-angular-l10n": "^3.0.0",
72
- "@progress/kendo-angular-label": "^3.0.0",
73
- "@progress/kendo-angular-popup": "^4.0.0",
74
- "@progress/kendo-angular-tasks": "cdn-bundle-v18",
75
- "@progress/kendo-drawing": "^1.9.3",
76
- "@progress/kendo-licensing": "^1.1.0",
77
- "@progress/kendo-theme-bootstrap": "^5.0.0",
78
- "@progress/kendo-theme-default": "^5.0.0",
79
- "@progress/kendo-theme-material": "^5.0.0",
80
- "@telerik/semantic-prerelease": "^1.0.0",
81
- "@types/jest": "^21.1.8",
82
- "@types/node": "ts3.4",
83
- "@types/zone.js": "0.0.27",
84
- "codelyzer": "^5.0.0",
85
- "core-js": "^2.2.2",
86
- "cz-conventional-changelog": "^1.1.5",
87
- "ghooks": "^1.0.3",
88
- "gulp": "^4.0.0",
89
- "jest-cli": "^21.2.1",
90
- "jest-junit": "^8.0.0",
91
- "rxjs": "~6.4.0",
92
- "rxjs-tslint-rules": "^4.23.1",
93
- "semantic-release": "^6.3.6",
94
- "tslint": "^5.20.1",
95
- "typescript": "~3.4.5",
96
- "validate-commit-msg": "^1.1.1",
97
- "zone.js": "~0.9.1"
30
+ "peerDependencies": {
31
+ "@angular/animations": "12 - 14",
32
+ "@angular/common": "12 - 14",
33
+ "@angular/core": "12 - 14",
34
+ "@progress/kendo-angular-common": "^3.0.0",
35
+ "@progress/kendo-angular-inputs": "^9.0.0",
36
+ "@progress/kendo-angular-l10n": "^4.0.0",
37
+ "@progress/kendo-licensing": "^1.1.1",
38
+ "rxjs": "^6.5.3 || ^7.0.0"
98
39
  },
99
40
  "config": {
100
41
  "commitizen": {
@@ -119,20 +60,7 @@
119
60
  "maxSubjectLength": 100
120
61
  }
121
62
  },
122
- "jest": {
123
- "preset": "@progress/kendo-angular-jest-preset"
124
- },
125
- "repository": {
126
- "type": "git",
127
- "url": "https://github.com/telerik/kendo-angular-treeview.git"
128
- },
129
- "bugs": {
130
- "url": "https://github.com/telerik/kendo-angular"
131
- },
132
- "@progress": {
133
- "friendlyName": "TreeView"
134
- },
135
- "homepage": "https://www.telerik.com/kendo-angular-ui/components/",
63
+ "schematics": "./schematics/collection.json",
136
64
  "release": {
137
65
  "debug": false,
138
66
  "branchTags": {
@@ -147,9 +75,11 @@
147
75
  "verifyConditions": "@telerik/semantic-prerelease/verifyConditions",
148
76
  "verifyRelease": "@telerik/semantic-prerelease/verifyRelease"
149
77
  },
150
- "schematics": "./schematics/collection.json",
151
- "files": [
152
- "dist",
153
- "schematics"
154
- ]
78
+ "main": "bundles/kendo-angular-treeview.umd.js",
79
+ "module": "fesm2015/kendo-angular-treeview.js",
80
+ "es2015": "fesm2015/kendo-angular-treeview.js",
81
+ "esm2015": "esm2015/kendo-angular-treeview.js",
82
+ "fesm2015": "fesm2015/kendo-angular-treeview.js",
83
+ "typings": "kendo-angular-treeview.d.ts",
84
+ "sideEffects": false
155
85
  }
@@ -1,14 +1,17 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
1
5
  "use strict";
2
6
  Object.defineProperty(exports, "__esModule", { value: true });
3
7
  const schematics_1 = require("@angular-devkit/schematics");
4
8
  function default_1(options) {
5
- const finalOptions = Object.assign({}, options, { mainNgModule: 'TreeViewModule', package: 'treeview', peerDependencies: {
9
+ const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'TreeViewModule', package: 'treeview', peerDependencies: {
6
10
  // Peers of kendo-angular-inputs
7
- "@progress/kendo-angular-intl": "^3.0.0",
8
- "@progress/kendo-angular-popup": "^4.0.0",
11
+ "@progress/kendo-angular-intl": "^4.0.0",
12
+ "@progress/kendo-angular-popup": "^5.0.0",
9
13
  "@progress/kendo-drawing": "^1.9.3"
10
14
  } });
11
15
  return schematics_1.externalSchematic('@progress/kendo-schematics', 'ng-add', finalOptions);
12
16
  }
13
17
  exports.default = default_1;
14
- //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../tooling/schematics/ngAdd/index.ts"],"names":[],"mappings":";;AAAA,2DAKqC;AAErC,mBAAyB,OAAY;IACjC,MAAM,YAAY,qBACX,OAAO,IACV,YAAY,EAAE,gBAAgB,EAC9B,OAAO,EAAE,UAAU,EACnB,gBAAgB,EAAE;YACd,gCAAgC;YAChC,8BAA8B,EAAE,QAAQ;YACxC,+BAA+B,EAAE,QAAQ;YACzC,yBAAyB,EAAE,QAAQ;SACtC,GACJ,CAAC;IAEF,OAAO,8BAAiB,CAAC,4BAA4B,EAAE,QAAQ,EAAE,YAAY,CAAC,CAAC;AACnF,CAAC;AAdD,4BAcC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../tooling/schematics/ngAdd/index.ts"],"names":[],"mappings":";;AAAA,2DAKqC;AAErC,mBAAyB,OAAY;IACjC,MAAM,YAAY,mCACX,OAAO,KACV,YAAY,EAAE,gBAAgB,EAC9B,OAAO,EAAE,UAAU,EACnB,gBAAgB,EAAE;YACd,gCAAgC;YAChC,8BAA8B,EAAE,QAAQ;YACxC,+BAA+B,EAAE,QAAQ;YACzC,yBAAyB,EAAE,QAAQ;SACtC,GACJ,CAAC;IAEF,OAAO,8BAAiB,CAAC,4BAA4B,EAAE,QAAQ,EAAE,YAAY,CAAC,CAAC;AACnF,CAAC;AAdD,4BAcC"}
@@ -7,6 +7,7 @@ import { TreeViewComponent } from '../treeview.component';
7
7
  import { SelectableSettings } from './selectable-settings';
8
8
  import { Subscription } from 'rxjs';
9
9
  import { TreeItem } from '../treeitem.interface';
10
+ import * as i0 from "@angular/core";
10
11
  /**
11
12
  * A directive which manages the in-memory selection state of the TreeView node
12
13
  * ([see example]({% slug selection_treeview %})).
@@ -16,7 +17,7 @@ export declare class SelectDirective implements OnDestroy, OnChanges {
16
17
  /**
17
18
  * @hidden
18
19
  */
19
- isSelected: (item: object, index: string) => boolean;
20
+ set isSelected(value: (item: object, index: string) => boolean);
20
21
  /**
21
22
  * Defines the item key that will be stored in the `selectedKeys` collection.
22
23
  */
@@ -35,9 +36,9 @@ export declare class SelectDirective implements OnDestroy, OnChanges {
35
36
  * Fires when the `selectedKeys` collection was updated.
36
37
  */
37
38
  selectedKeysChange: EventEmitter<any[]>;
38
- readonly getAriaMultiselectable: boolean;
39
+ get getAriaMultiselectable(): boolean;
39
40
  protected subscriptions: Subscription;
40
- private readonly options;
41
+ private get options();
41
42
  private selectActions;
42
43
  /**
43
44
  * Reflectes the internal `selectedKeys` state.
@@ -55,4 +56,6 @@ export declare class SelectDirective implements OnDestroy, OnChanges {
55
56
  protected selectSingle(node: any): void;
56
57
  protected selectMultiple(node: any): void;
57
58
  private notify;
59
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectDirective, never>;
60
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SelectDirective, "[kendoTreeViewSelectable]", never, { "isSelected": "isSelected"; "selectKey": "selectBy"; "selection": "kendoTreeViewSelectable"; "selectedKeys": "selectedKeys"; }, { "selectedKeysChange": "selectedKeysChange"; }, never>;
58
61
  }
@@ -3,6 +3,7 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Subject } from "rxjs";
6
+ import * as i0 from "@angular/core";
6
7
  /**
7
8
  * @hidden
8
9
  */
@@ -15,4 +16,6 @@ export declare class SelectionService {
15
16
  isFirstSelected(index: string): boolean;
16
17
  setFirstSelected(index: string, selected: boolean): void;
17
18
  select(index: string, dataItem: any): void;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectionService, never>;
20
+ static ɵprov: i0.ɵɵInjectableDeclaration<SelectionService>;
18
21
  }
@@ -0,0 +1,36 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "./treeview.component";
7
+ import * as i2 from "./treeview-group.component";
8
+ import * as i3 from "./treeview-item.directive";
9
+ import * as i4 from "./treeview-item-content.directive";
10
+ import * as i5 from "./node-template.directive";
11
+ import * as i6 from "./check.directive";
12
+ import * as i7 from "./disable.directive";
13
+ import * as i8 from "./expand.directive";
14
+ import * as i9 from "./selection/select.directive";
15
+ import * as i10 from "./hierarchy-binding.directive";
16
+ import * as i11 from "./loading-indicator.directive";
17
+ import * as i12 from "./flat-binding.directive";
18
+ import * as i13 from "./drag-and-drop/drag-and-drop.directive";
19
+ import * as i14 from "./drag-and-drop/drag-clue/drag-clue-template.directive";
20
+ import * as i15 from "./drag-and-drop/drag-clue/drag-clue.component";
21
+ import * as i16 from "./drag-and-drop/drop-hint/drop-hint-template.directive";
22
+ import * as i17 from "./drag-and-drop/drop-hint/drop-hint.component";
23
+ import * as i18 from "./drag-and-drop/drag-and-drop-editing.directive";
24
+ import * as i19 from "./load-more/load-more.directive";
25
+ import * as i20 from "./load-more/load-more-button-template.directive";
26
+ import * as i21 from "@angular/common";
27
+ import * as i22 from "./checkbox/checkbox.module";
28
+ import * as i23 from "@progress/kendo-angular-inputs";
29
+ /**
30
+ * @hidden
31
+ */
32
+ export declare class SharedModule {
33
+ static ɵfac: i0.ɵɵFactoryDeclaration<SharedModule, never>;
34
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, [typeof i1.TreeViewComponent, typeof i2.TreeViewGroupComponent, typeof i3.TreeViewItemDirective, typeof i4.TreeViewItemContentDirective, typeof i5.NodeTemplateDirective, typeof i6.CheckDirective, typeof i7.DisableDirective, typeof i8.ExpandDirective, typeof i9.SelectDirective, typeof i10.HierarchyBindingDirective, typeof i11.LoadingIndicatorDirective, typeof i12.FlatDataBindingDirective, typeof i13.DragAndDropDirective, typeof i14.DragClueTemplateDirective, typeof i15.DragClueComponent, typeof i16.DropHintTemplateDirective, typeof i17.DropHintComponent, typeof i18.DragAndDropEditingDirective, typeof i19.LoadMoreDirective, typeof i20.LoadMoreButtonTemplateDirective], [typeof i21.CommonModule, typeof i22.CheckBoxModule, typeof i23.InputsModule], [typeof i1.TreeViewComponent, typeof i2.TreeViewGroupComponent, typeof i3.TreeViewItemDirective, typeof i4.TreeViewItemContentDirective, typeof i5.NodeTemplateDirective, typeof i6.CheckDirective, typeof i7.DisableDirective, typeof i8.ExpandDirective, typeof i9.SelectDirective, typeof i10.HierarchyBindingDirective, typeof i11.LoadingIndicatorDirective, typeof i12.FlatDataBindingDirective, typeof i13.DragAndDropDirective, typeof i14.DragClueTemplateDirective, typeof i15.DragClueComponent, typeof i16.DropHintTemplateDirective, typeof i17.DropHintComponent, typeof i18.DragAndDropEditingDirective, typeof i19.LoadMoreDirective, typeof i20.LoadMoreButtonTemplateDirective]>;
35
+ static ɵinj: i0.ɵɵInjectorDeclaration<SharedModule>;
36
+ }
package/size.d.ts ADDED
@@ -0,0 +1,8 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ /**
6
+ * Represents the possible size options of the TreeView.
7
+ */
8
+ export declare type TreeViewSize = 'none' | 'small' | 'medium' | 'large';