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

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 +36 -104
  142. package/schematics/ngAdd/index.js +5 -2
  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
@@ -2,13 +2,13 @@
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 tslib_1 from "tslib";
6
5
  import { Directive, EventEmitter, Input, Output } from '@angular/core';
7
- import { ExpandableComponent } from './expandable-component';
8
6
  import { Subscription, merge } from 'rxjs';
9
7
  import { map } from 'rxjs/operators';
10
8
  import { isArrayWithAtLeastOneItem, isBoolean, sameValues } from './utils';
11
9
  import { isChanged } from '@progress/kendo-angular-common';
10
+ import * as i0 from "@angular/core";
11
+ import * as i1 from "./expandable-component";
12
12
  const DEFAULT_FILTER_EXPAND_SETTINGS = {
13
13
  maxAutoExpandResults: -1,
14
14
  expandMatches: false,
@@ -18,7 +18,7 @@ const DEFAULT_FILTER_EXPAND_SETTINGS = {
18
18
  * A directive which manages the expanded state of the TreeView.
19
19
  * ([see example]({% slug expandedstate_treeview %})).
20
20
  */
21
- let ExpandDirective = class ExpandDirective {
21
+ export class ExpandDirective {
22
22
  constructor(component) {
23
23
  this.component = component;
24
24
  /**
@@ -77,7 +77,7 @@ let ExpandDirective = class ExpandDirective {
77
77
  this.component.isExpanded = value;
78
78
  }
79
79
  get filterExpandSettings() {
80
- const settings = isBoolean(this.expandOnFilter) ? { enabled: this.expandOnFilter } : Object.assign({}, this.expandOnFilter, { enabled: true });
80
+ const settings = isBoolean(this.expandOnFilter) ? { enabled: this.expandOnFilter } : Object.assign(Object.assign({}, this.expandOnFilter), { enabled: true });
81
81
  return Object.assign({}, DEFAULT_FILTER_EXPAND_SETTINGS, settings);
82
82
  }
83
83
  ngOnChanges(changes) {
@@ -175,30 +175,21 @@ let ExpandDirective = class ExpandDirective {
175
175
  this.lastChange = Array.from(this.state);
176
176
  this.expandedKeysChange.emit(this.lastChange);
177
177
  }
178
- };
179
- tslib_1.__decorate([
180
- Input(),
181
- tslib_1.__metadata("design:type", Function),
182
- tslib_1.__metadata("design:paramtypes", [Function])
183
- ], ExpandDirective.prototype, "isExpanded", null);
184
- tslib_1.__decorate([
185
- Input("expandBy"),
186
- tslib_1.__metadata("design:type", Object)
187
- ], ExpandDirective.prototype, "expandKey", void 0);
188
- tslib_1.__decorate([
189
- Input(),
190
- tslib_1.__metadata("design:type", Object)
191
- ], ExpandDirective.prototype, "expandOnFilter", void 0);
192
- tslib_1.__decorate([
193
- Output(),
194
- tslib_1.__metadata("design:type", EventEmitter)
195
- ], ExpandDirective.prototype, "expandedKeysChange", void 0);
196
- tslib_1.__decorate([
197
- Input(),
198
- tslib_1.__metadata("design:type", Array)
199
- ], ExpandDirective.prototype, "expandedKeys", void 0);
200
- ExpandDirective = tslib_1.__decorate([
201
- Directive({ selector: '[kendoTreeViewExpandable]' }),
202
- tslib_1.__metadata("design:paramtypes", [ExpandableComponent])
203
- ], ExpandDirective);
204
- export { ExpandDirective };
178
+ }
179
+ ExpandDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ExpandDirective, deps: [{ token: i1.ExpandableComponent }], target: i0.ɵɵFactoryTarget.Directive });
180
+ ExpandDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: ExpandDirective, selector: "[kendoTreeViewExpandable]", inputs: { isExpanded: "isExpanded", expandKey: ["expandBy", "expandKey"], expandOnFilter: "expandOnFilter", expandedKeys: "expandedKeys" }, outputs: { expandedKeysChange: "expandedKeysChange" }, usesOnChanges: true, ngImport: i0 });
181
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ExpandDirective, decorators: [{
182
+ type: Directive,
183
+ args: [{ selector: '[kendoTreeViewExpandable]' }]
184
+ }], ctorParameters: function () { return [{ type: i1.ExpandableComponent }]; }, propDecorators: { isExpanded: [{
185
+ type: Input
186
+ }], expandKey: [{
187
+ type: Input,
188
+ args: ["expandBy"]
189
+ }], expandOnFilter: [{
190
+ type: Input
191
+ }], expandedKeysChange: [{
192
+ type: Output
193
+ }], expandedKeys: [{
194
+ type: Input
195
+ }] } });
@@ -0,0 +1,19 @@
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 { Injectable } from '@angular/core';
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * @hidden
9
+ *
10
+ * An injection token used by the expand-directive to interface with
11
+ * the TreeView or the DropDownTree components.
12
+ */
13
+ export class ExpandableComponent {
14
+ }
15
+ ExpandableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ExpandableComponent, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
16
+ ExpandableComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ExpandableComponent });
17
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ExpandableComponent, decorators: [{
18
+ type: Injectable
19
+ }] });
@@ -2,3 +2,4 @@
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
+ export {};
@@ -2,3 +2,4 @@
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
+ export {};
@@ -2,10 +2,11 @@
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 tslib_1 from "tslib";
6
- import { Input } from "@angular/core";
5
+ import { Directive, Input } from "@angular/core";
7
6
  import { DEFAULT_FILTER_SETTINGS } from "./treeview-filter-settings";
8
7
  import { filterTree, isPresent } from "./utils";
8
+ import * as i0 from "@angular/core";
9
+ import * as i1 from "./data-bound-component";
9
10
  /**
10
11
  * @hidden
11
12
  */
@@ -19,7 +20,7 @@ export class FilteringBase {
19
20
  * The settings which are applied when performing a filter on the component's data.
20
21
  */
21
22
  set filterSettings(settings) {
22
- this._filterSettings = Object.assign({}, DEFAULT_FILTER_SETTINGS, settings);
23
+ this._filterSettings = Object.assign(Object.assign({}, DEFAULT_FILTER_SETTINGS), settings);
23
24
  }
24
25
  get filterSettings() {
25
26
  return this._filterSettings;
@@ -71,13 +72,12 @@ export class FilteringBase {
71
72
  });
72
73
  }
73
74
  }
74
- tslib_1.__decorate([
75
- Input(),
76
- tslib_1.__metadata("design:type", Object),
77
- tslib_1.__metadata("design:paramtypes", [Object])
78
- ], FilteringBase.prototype, "filterSettings", null);
79
- tslib_1.__decorate([
80
- Input(),
81
- tslib_1.__metadata("design:type", String),
82
- tslib_1.__metadata("design:paramtypes", [String])
83
- ], FilteringBase.prototype, "filter", null);
75
+ FilteringBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FilteringBase, deps: [{ token: i1.DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
76
+ FilteringBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FilteringBase, inputs: { filterSettings: "filterSettings", filter: "filter" }, ngImport: i0 });
77
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FilteringBase, decorators: [{
78
+ type: Directive
79
+ }], ctorParameters: function () { return [{ type: i1.DataBoundComponent }]; }, propDecorators: { filterSettings: [{
80
+ type: Input
81
+ }], filter: [{
82
+ type: Input
83
+ }] } });
@@ -2,19 +2,18 @@
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 tslib_1 from "tslib";
6
5
  import { anyChanged, isChanged } from '@progress/kendo-angular-common';
7
6
  import { Directive, Input } from '@angular/core';
8
7
  import { getter } from '@progress/kendo-common';
9
8
  import { of } from 'rxjs';
10
9
  import { compose } from './funcs';
11
- import { DataBoundComponent } from './data-bound-component';
12
10
  import { isBlank, isNullOrEmptyString, isPresent, isArrayWithAtLeastOneItem } from './utils';
13
11
  import { FlatEditingService } from "./drag-and-drop/editing-services/flat-editing.service";
14
12
  import { IndexBuilderService } from './index-builder.service';
15
13
  import { FilteringBase } from './filtering-base';
14
+ import * as i0 from "@angular/core";
15
+ import * as i1 from "./data-bound-component";
16
16
  const findChildren = (prop, nodes, value) => nodes.filter((x) => prop(x) === value);
17
- const ɵ0 = findChildren;
18
17
  const indexBuilder = new IndexBuilderService();
19
18
  const mapToTree = (currentLevelNodes, allNodes, parentIdField, idField, parent = null, parentIndex = '') => {
20
19
  if (!isArrayWithAtLeastOneItem(currentLevelNodes)) {
@@ -32,11 +31,10 @@ const mapToTree = (currentLevelNodes, allNodes, parentIdField, idField, parent =
32
31
  return wrapper;
33
32
  });
34
33
  };
35
- const ɵ1 = mapToTree;
36
34
  /**
37
35
  * A directive which encapsulates the retrieval of the child nodes.
38
36
  */
39
- let FlatDataBindingDirective = class FlatDataBindingDirective extends FilteringBase {
37
+ export class FlatDataBindingDirective extends FilteringBase {
40
38
  constructor(component) {
41
39
  super(component);
42
40
  this.component = component;
@@ -102,32 +100,20 @@ let FlatDataBindingDirective = class FlatDataBindingDirective extends FilteringB
102
100
  this.component.preloadChildNodes();
103
101
  }
104
102
  }
105
- };
106
- tslib_1.__decorate([
107
- Input(),
108
- tslib_1.__metadata("design:type", Array),
109
- tslib_1.__metadata("design:paramtypes", [Array])
110
- ], FlatDataBindingDirective.prototype, "nodes", null);
111
- tslib_1.__decorate([
112
- Input(),
113
- tslib_1.__metadata("design:type", String)
114
- ], FlatDataBindingDirective.prototype, "parentIdField", void 0);
115
- tslib_1.__decorate([
116
- Input(),
117
- tslib_1.__metadata("design:type", String)
118
- ], FlatDataBindingDirective.prototype, "idField", void 0);
119
- tslib_1.__decorate([
120
- Input(),
121
- tslib_1.__metadata("design:type", Boolean)
122
- ], FlatDataBindingDirective.prototype, "loadOnDemand", void 0);
123
- tslib_1.__decorate([
124
- Input(),
125
- tslib_1.__metadata("design:type", Function),
126
- tslib_1.__metadata("design:paramtypes", [Function])
127
- ], FlatDataBindingDirective.prototype, "isVisible", null);
128
- FlatDataBindingDirective = tslib_1.__decorate([
129
- Directive({ selector: "[kendoTreeViewFlatDataBinding]" }),
130
- tslib_1.__metadata("design:paramtypes", [DataBoundComponent])
131
- ], FlatDataBindingDirective);
132
- export { FlatDataBindingDirective };
133
- export { ɵ0, ɵ1 };
103
+ }
104
+ FlatDataBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FlatDataBindingDirective, deps: [{ token: i1.DataBoundComponent }], target: i0.ɵɵFactoryTarget.Directive });
105
+ FlatDataBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FlatDataBindingDirective, selector: "[kendoTreeViewFlatDataBinding]", inputs: { nodes: "nodes", parentIdField: "parentIdField", idField: "idField", loadOnDemand: "loadOnDemand", isVisible: "isVisible" }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
106
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FlatDataBindingDirective, decorators: [{
107
+ type: Directive,
108
+ args: [{ selector: "[kendoTreeViewFlatDataBinding]" }]
109
+ }], ctorParameters: function () { return [{ type: i1.DataBoundComponent }]; }, propDecorators: { nodes: [{
110
+ type: Input
111
+ }], parentIdField: [{
112
+ type: Input
113
+ }], idField: [{
114
+ type: Input
115
+ }], loadOnDemand: [{
116
+ type: Input
117
+ }], isVisible: [{
118
+ type: Input
119
+ }] } });
File without changes
@@ -2,18 +2,18 @@
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 tslib_1 from "tslib";
6
5
  import { Directive, Input, Optional, Host } from '@angular/core';
7
6
  import { getter } from '@progress/kendo-common';
8
7
  import { anyChanged, isChanged } from '@progress/kendo-angular-common';
9
- import { DataBoundComponent } from './data-bound-component';
10
8
  import { isArrayWithAtLeastOneItem, isPresent } from './utils';
11
9
  import { of } from 'rxjs';
12
10
  import { HierarchyEditingService } from './drag-and-drop/editing-services/hierarchy-editing.service';
13
- import { DragAndDropDirective } from './drag-and-drop/drag-and-drop.directive';
14
11
  import { isVisible } from './default-callbacks';
15
12
  import { IndexBuilderService } from './index-builder.service';
16
13
  import { FilteringBase } from './filtering-base';
14
+ import * as i0 from "@angular/core";
15
+ import * as i1 from "./data-bound-component";
16
+ import * as i2 from "./drag-and-drop/drag-and-drop.directive";
17
17
  const indexBuilder = new IndexBuilderService();
18
18
  const mapToWrappers = (currentLevelNodes, childrenField, parent = null, parentIndex = '') => {
19
19
  if (!isArrayWithAtLeastOneItem(currentLevelNodes)) {
@@ -31,11 +31,10 @@ const mapToWrappers = (currentLevelNodes, childrenField, parent = null, parentIn
31
31
  return wrapper;
32
32
  });
33
33
  };
34
- const ɵ0 = mapToWrappers;
35
34
  /**
36
35
  * A directive which encapsulates the retrieval of child nodes.
37
36
  */
38
- let HierarchyBindingDirective = class HierarchyBindingDirective extends FilteringBase {
37
+ export class HierarchyBindingDirective extends FilteringBase {
39
38
  constructor(component, dragAndDropDirective) {
40
39
  super(component);
41
40
  this.component = component;
@@ -104,31 +103,22 @@ let HierarchyBindingDirective = class HierarchyBindingDirective extends Filterin
104
103
  this.component.preloadChildNodes();
105
104
  }
106
105
  }
107
- };
108
- tslib_1.__decorate([
109
- Input(),
110
- tslib_1.__metadata("design:type", String),
111
- tslib_1.__metadata("design:paramtypes", [String])
112
- ], HierarchyBindingDirective.prototype, "childrenField", null);
113
- tslib_1.__decorate([
114
- Input(),
115
- tslib_1.__metadata("design:type", Array),
116
- tslib_1.__metadata("design:paramtypes", [Array])
117
- ], HierarchyBindingDirective.prototype, "nodes", null);
118
- tslib_1.__decorate([
119
- Input(),
120
- tslib_1.__metadata("design:type", Function),
121
- tslib_1.__metadata("design:paramtypes", [Function])
122
- ], HierarchyBindingDirective.prototype, "isVisible", null);
123
- tslib_1.__decorate([
124
- Input(),
125
- tslib_1.__metadata("design:type", Boolean)
126
- ], HierarchyBindingDirective.prototype, "loadOnDemand", void 0);
127
- HierarchyBindingDirective = tslib_1.__decorate([
128
- Directive({ selector: '[kendoTreeViewHierarchyBinding]' }),
129
- tslib_1.__param(1, Optional()), tslib_1.__param(1, Host()),
130
- tslib_1.__metadata("design:paramtypes", [DataBoundComponent,
131
- DragAndDropDirective])
132
- ], HierarchyBindingDirective);
133
- export { HierarchyBindingDirective };
134
- export { ɵ0 };
106
+ }
107
+ HierarchyBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: HierarchyBindingDirective, deps: [{ token: i1.DataBoundComponent }, { token: i2.DragAndDropDirective, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
108
+ HierarchyBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: HierarchyBindingDirective, selector: "[kendoTreeViewHierarchyBinding]", inputs: { childrenField: "childrenField", nodes: "nodes", isVisible: "isVisible", loadOnDemand: "loadOnDemand" }, usesInheritance: true, usesOnChanges: true, ngImport: i0 });
109
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: HierarchyBindingDirective, decorators: [{
110
+ type: Directive,
111
+ args: [{ selector: '[kendoTreeViewHierarchyBinding]' }]
112
+ }], ctorParameters: function () { return [{ type: i1.DataBoundComponent }, { type: i2.DragAndDropDirective, decorators: [{
113
+ type: Optional
114
+ }, {
115
+ type: Host
116
+ }] }]; }, propDecorators: { childrenField: [{
117
+ type: Input
118
+ }], nodes: [{
119
+ type: Input
120
+ }], isVisible: [{
121
+ type: Input
122
+ }], loadOnDemand: [{
123
+ type: Input
124
+ }] } });
@@ -2,15 +2,12 @@
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 tslib_1 from "tslib";
6
5
  import { Injectable } from '@angular/core';
6
+ import * as i0 from "@angular/core";
7
7
  /**
8
8
  * @hidden
9
9
  */
10
- let IndexBuilderService = class IndexBuilderService {
11
- /**
12
- * @hidden
13
- */
10
+ export class IndexBuilderService {
14
11
  constructor() {
15
12
  this.INDEX_SEPARATOR = '_';
16
13
  }
@@ -30,8 +27,9 @@ let IndexBuilderService = class IndexBuilderService {
30
27
  level(index) {
31
28
  return index.split(this.INDEX_SEPARATOR).length;
32
29
  }
33
- };
34
- IndexBuilderService = tslib_1.__decorate([
35
- Injectable()
36
- ], IndexBuilderService);
37
- export { IndexBuilderService };
30
+ }
31
+ IndexBuilderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IndexBuilderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
32
+ IndexBuilderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IndexBuilderService });
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IndexBuilderService, decorators: [{
34
+ type: Injectable
35
+ }] });
@@ -3,7 +3,6 @@
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 declare class SharedModule {
9
- }
8
+ export * from './main';
@@ -0,0 +1,31 @@
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 { Optional, Directive } from "@angular/core";
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * Represents the template for the TreeView load more buttons.
9
+ * To define a button template, nest an `<ng-template>`
10
+ * tag with the `kendoTreeViewLoadMoreButtonTemplate` directive inside a `<kendo-treeview>` tag
11
+ * ([see example]({% slug loadmorebutton_treeview %}#toc-button-template)).
12
+ *
13
+ * The hierarchical index of the load more button node is available as a context variable:
14
+ *
15
+ * - `let-index="index"` (`string`)
16
+ */
17
+ export class LoadMoreButtonTemplateDirective {
18
+ constructor(templateRef) {
19
+ this.templateRef = templateRef;
20
+ }
21
+ }
22
+ LoadMoreButtonTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LoadMoreButtonTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
23
+ LoadMoreButtonTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: LoadMoreButtonTemplateDirective, selector: "[kendoTreeViewLoadMoreButtonTemplate]", ngImport: i0 });
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LoadMoreButtonTemplateDirective, decorators: [{
25
+ type: Directive,
26
+ args: [{
27
+ selector: '[kendoTreeViewLoadMoreButtonTemplate]'
28
+ }]
29
+ }], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
30
+ type: Optional
31
+ }] }]; } });
@@ -2,3 +2,4 @@
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
+ export {};
@@ -2,17 +2,17 @@
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 tslib_1 from "tslib";
6
5
  import { Directive, Input, isDevMode } from '@angular/core';
7
6
  import { guid } from '@progress/kendo-angular-common';
8
- import { TreeViewComponent } from '../treeview.component';
9
7
  import { isPresent } from '../utils';
8
+ import * as i0 from "@angular/core";
9
+ import * as i1 from "../treeview.component";
10
10
  const LOAD_MORE_DOC_LINK = 'http://www.telerik.com/kendo-angular-ui/components/treeview/load-more-button/';
11
11
  /**
12
12
  * A directive that enables the display of only a limited amount of nodes per level
13
13
  * ([see example]({% slug loadmorebutton_treeview %})).
14
14
  */
15
- let LoadMoreDirective = class LoadMoreDirective {
15
+ export class LoadMoreDirective {
16
16
  constructor(treeview) {
17
17
  this.treeview = treeview;
18
18
  /**
@@ -82,28 +82,21 @@ let LoadMoreDirective = class LoadMoreDirective {
82
82
  getInitalPageSize() {
83
83
  return this.pageSize;
84
84
  }
85
- };
86
- tslib_1.__decorate([
87
- Input('kendoTreeViewLoadMore'),
88
- tslib_1.__metadata("design:type", Object),
89
- tslib_1.__metadata("design:paramtypes", [Object])
90
- ], LoadMoreDirective.prototype, "loadMoreNodes", null);
91
- tslib_1.__decorate([
92
- Input(),
93
- tslib_1.__metadata("design:type", Number)
94
- ], LoadMoreDirective.prototype, "pageSize", void 0);
95
- tslib_1.__decorate([
96
- Input(),
97
- tslib_1.__metadata("design:type", Number)
98
- ], LoadMoreDirective.prototype, "totalRootNodes", void 0);
99
- tslib_1.__decorate([
100
- Input(),
101
- tslib_1.__metadata("design:type", String)
102
- ], LoadMoreDirective.prototype, "totalField", void 0);
103
- LoadMoreDirective = tslib_1.__decorate([
104
- Directive({
105
- selector: '[kendoTreeViewLoadMore]'
106
- }),
107
- tslib_1.__metadata("design:paramtypes", [TreeViewComponent])
108
- ], LoadMoreDirective);
109
- export { LoadMoreDirective };
85
+ }
86
+ LoadMoreDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LoadMoreDirective, deps: [{ token: i1.TreeViewComponent }], target: i0.ɵɵFactoryTarget.Directive });
87
+ LoadMoreDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: LoadMoreDirective, selector: "[kendoTreeViewLoadMore]", inputs: { loadMoreNodes: ["kendoTreeViewLoadMore", "loadMoreNodes"], pageSize: "pageSize", totalRootNodes: "totalRootNodes", totalField: "totalField" }, usesOnChanges: true, ngImport: i0 });
88
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LoadMoreDirective, decorators: [{
89
+ type: Directive,
90
+ args: [{
91
+ selector: '[kendoTreeViewLoadMore]'
92
+ }]
93
+ }], ctorParameters: function () { return [{ type: i1.TreeViewComponent }]; }, propDecorators: { loadMoreNodes: [{
94
+ type: Input,
95
+ args: ['kendoTreeViewLoadMore']
96
+ }], pageSize: [{
97
+ type: Input
98
+ }], totalRootNodes: [{
99
+ type: Input
100
+ }], totalField: [{
101
+ type: Input
102
+ }] } });
@@ -2,3 +2,4 @@
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
+ export {};
@@ -2,16 +2,16 @@
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 tslib_1 from "tslib";
6
- import { Directive, ChangeDetectorRef, HostBinding, Input } from '@angular/core';
7
- import { ExpandStateService } from './expand-state.service';
8
- import { LoadingNotificationService } from './loading-notification.service';
5
+ import { Directive, HostBinding, Input } from '@angular/core';
9
6
  import { of } from 'rxjs';
10
7
  import { delay, filter, switchMap, takeUntil, tap } from 'rxjs/operators';
8
+ import * as i0 from "@angular/core";
9
+ import * as i1 from "./expand-state.service";
10
+ import * as i2 from "./loading-notification.service";
11
11
  /**
12
12
  * @hidden
13
13
  */
14
- let LoadingIndicatorDirective = class LoadingIndicatorDirective {
14
+ export class LoadingIndicatorDirective {
15
15
  constructor(expandService, loadingService, cd) {
16
16
  this.expandService = expandService;
17
17
  this.loadingService = loadingService;
@@ -44,20 +44,16 @@ let LoadingIndicatorDirective = class LoadingIndicatorDirective {
44
44
  this.subscription.unsubscribe();
45
45
  }
46
46
  }
47
- };
48
- tslib_1.__decorate([
49
- HostBinding("class.k-i-loading"),
50
- tslib_1.__metadata("design:type", Boolean),
51
- tslib_1.__metadata("design:paramtypes", [Boolean])
52
- ], LoadingIndicatorDirective.prototype, "loading", null);
53
- tslib_1.__decorate([
54
- Input("kendoTreeViewLoading"),
55
- tslib_1.__metadata("design:type", String)
56
- ], LoadingIndicatorDirective.prototype, "index", void 0);
57
- LoadingIndicatorDirective = tslib_1.__decorate([
58
- Directive({ selector: '[kendoTreeViewLoading]' }),
59
- tslib_1.__metadata("design:paramtypes", [ExpandStateService,
60
- LoadingNotificationService,
61
- ChangeDetectorRef])
62
- ], LoadingIndicatorDirective);
63
- export { LoadingIndicatorDirective };
47
+ }
48
+ LoadingIndicatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LoadingIndicatorDirective, deps: [{ token: i1.ExpandStateService }, { token: i2.LoadingNotificationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
49
+ LoadingIndicatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: LoadingIndicatorDirective, selector: "[kendoTreeViewLoading]", inputs: { index: ["kendoTreeViewLoading", "index"] }, host: { properties: { "class.k-i-loading": "this.loading" } }, ngImport: i0 });
50
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LoadingIndicatorDirective, decorators: [{
51
+ type: Directive,
52
+ args: [{ selector: '[kendoTreeViewLoading]' }]
53
+ }], ctorParameters: function () { return [{ type: i1.ExpandStateService }, { type: i2.LoadingNotificationService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { loading: [{
54
+ type: HostBinding,
55
+ args: ["class.k-i-loading"]
56
+ }], index: [{
57
+ type: Input,
58
+ args: ["kendoTreeViewLoading"]
59
+ }] } });
@@ -0,0 +1,23 @@
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 { Injectable } from "@angular/core";
6
+ import { Subject } from "rxjs";
7
+ import * as i0 from "@angular/core";
8
+ /**
9
+ * @hidden
10
+ */
11
+ export class LoadingNotificationService {
12
+ constructor() {
13
+ this.changes = new Subject();
14
+ }
15
+ notifyLoaded(index) {
16
+ this.changes.next(index);
17
+ }
18
+ }
19
+ LoadingNotificationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LoadingNotificationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
20
+ LoadingNotificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LoadingNotificationService });
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LoadingNotificationService, decorators: [{
22
+ type: Injectable
23
+ }] });
File without changes
@@ -2,3 +2,4 @@
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
+ export {};
@@ -5,9 +5,7 @@
5
5
  import { IndexBuilderService } from '../index-builder.service';
6
6
  import { isPresent } from '../utils';
7
7
  const safe = node => (node || {});
8
- const ɵ0 = safe;
9
8
  const safeChildren = node => (safe(node).children || []);
10
- const ɵ1 = safeChildren;
11
9
  const lastVisibleNode = (nodes) => {
12
10
  if (!Array.isArray(nodes) || nodes.length === 0) {
13
11
  return null;
@@ -22,7 +20,6 @@ const lastVisibleNode = (nodes) => {
22
20
  }
23
21
  return null;
24
22
  };
25
- const ɵ2 = lastVisibleNode;
26
23
  /**
27
24
  * @hidden
28
25
  */
@@ -155,4 +152,3 @@ export class NavigationModel {
155
152
  return this.visibleSibling(parent, offset);
156
153
  }
157
154
  }
158
- export { ɵ0, ɵ1, ɵ2 };
@@ -2,3 +2,4 @@
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
+ export {};