@progress/kendo-angular-treeview 6.0.3-dev.202203091032 → 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
@@ -1,245 +0,0 @@
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
- "use strict";
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- var tslib_1 = require("tslib");
8
- var core_1 = require("@angular/core");
9
- var kendo_angular_common_1 = require("@progress/kendo-angular-common");
10
- var kendo_angular_l10n_1 = require("@progress/kendo-angular-l10n");
11
- var rxjs_1 = require("rxjs");
12
- var navigation_model_1 = require("./navigation-model");
13
- var utils_1 = require("../utils");
14
- /**
15
- * @hidden
16
- */
17
- var NavigationService = /** @class */ (function () {
18
- function NavigationService(localization) {
19
- var _this = this;
20
- var _a;
21
- this.localization = localization;
22
- this.expands = new rxjs_1.Subject();
23
- this.moves = new rxjs_1.Subject();
24
- this.checks = new rxjs_1.Subject();
25
- this.selects = new rxjs_1.Subject();
26
- this.loadMore = new rxjs_1.Subject();
27
- this.navigable = true;
28
- this.actions = (_a = {},
29
- _a[kendo_angular_common_1.Keys.ArrowUp] = function () { return _this.activate(_this.model.findVisiblePrev(_this.focusableItem), true); },
30
- _a[kendo_angular_common_1.Keys.ArrowDown] = function () { return _this.activate(_this.model.findVisibleNext(_this.focusableItem), true); },
31
- _a[kendo_angular_common_1.Keys.ArrowLeft] = function () { return !_this.isLoadMoreButton && (_this.expand({
32
- expand: _this.localization.rtl,
33
- intercept: _this.localization.rtl ? _this.moveToFirstVisibleChild : _this.moveToParent
34
- })); },
35
- _a[kendo_angular_common_1.Keys.ArrowRight] = function () { return !_this.isLoadMoreButton && (_this.expand({
36
- expand: !_this.localization.rtl,
37
- intercept: _this.localization.rtl ? _this.moveToParent : _this.moveToFirstVisibleChild
38
- })); },
39
- _a[kendo_angular_common_1.Keys.Home] = function () { return _this.activate(_this.model.firstVisibleNode(), true); },
40
- _a[kendo_angular_common_1.Keys.End] = function () { return _this.activate(_this.model.lastVisibleNode(), true); },
41
- _a[kendo_angular_common_1.Keys.Enter] = function () { return _this.handleEnter(); },
42
- _a[kendo_angular_common_1.Keys.Space] = function () { return _this.handleSpace(); },
43
- _a);
44
- this.isFocused = false;
45
- this.shouldScroll = false;
46
- this._model = new navigation_model_1.NavigationModel();
47
- this.moveToFirstVisibleChild = this.moveToFirstVisibleChild.bind(this);
48
- this.moveToParent = this.moveToParent.bind(this);
49
- }
50
- Object.defineProperty(NavigationService.prototype, "model", {
51
- get: function () {
52
- return this._model;
53
- },
54
- set: function (model) {
55
- this._model = model;
56
- },
57
- enumerable: true,
58
- configurable: true
59
- });
60
- Object.defineProperty(NavigationService.prototype, "activeIndex", {
61
- get: function () {
62
- return utils_1.nodeIndex(this.activeItem) || null;
63
- },
64
- enumerable: true,
65
- configurable: true
66
- });
67
- Object.defineProperty(NavigationService.prototype, "isActiveExpanded", {
68
- get: function () {
69
- return this.activeItem && this.activeItem.children.length > 0;
70
- },
71
- enumerable: true,
72
- configurable: true
73
- });
74
- Object.defineProperty(NavigationService.prototype, "isLoadMoreButton", {
75
- get: function () {
76
- return this.activeItem && this.activeItem.loadMoreButton;
77
- },
78
- enumerable: true,
79
- configurable: true
80
- });
81
- Object.defineProperty(NavigationService.prototype, "focusableItem", {
82
- get: function () {
83
- return this.activeItem || this.model.firstFocusableNode();
84
- },
85
- enumerable: true,
86
- configurable: true
87
- });
88
- NavigationService.prototype.activate = function (item, shouldScroll) {
89
- if (shouldScroll === void 0) { shouldScroll = false; }
90
- if (!this.navigable || !item || this.isActive(utils_1.nodeIndex(item))) {
91
- return;
92
- }
93
- this.isFocused = true;
94
- this.activeItem = item || this.activeItem;
95
- this.shouldScroll = shouldScroll;
96
- this.notifyMove();
97
- };
98
- NavigationService.prototype.activateParent = function (index) {
99
- this.activate(this.model.findParent(index));
100
- };
101
- NavigationService.prototype.activateIndex = function (index) {
102
- if (!index) {
103
- return;
104
- }
105
- this.activate(this.model.findNode(index));
106
- };
107
- NavigationService.prototype.activateClosest = function (index) {
108
- if (!index || utils_1.nodeIndex(this.focusableItem) !== index) {
109
- return;
110
- }
111
- this.activeItem = this.model.closestNode(index);
112
- this.notifyMove();
113
- };
114
- NavigationService.prototype.activateFocusable = function () {
115
- if (this.activeItem) {
116
- return;
117
- }
118
- this.activeItem = this.model.firstVisibleNode();
119
- this.notifyMove();
120
- };
121
- NavigationService.prototype.deactivate = function () {
122
- if (!this.navigable || !this.isFocused) {
123
- return;
124
- }
125
- this.isFocused = false;
126
- this.notifyMove();
127
- };
128
- NavigationService.prototype.checkIndex = function (index) {
129
- if (!this.isDisabled(index)) {
130
- this.checks.next(index);
131
- }
132
- };
133
- NavigationService.prototype.selectIndex = function (index) {
134
- if (!this.isDisabled(index)) {
135
- this.selects.next(index);
136
- }
137
- };
138
- NavigationService.prototype.notifyLoadMore = function (index) {
139
- if (!utils_1.isPresent(index)) {
140
- return;
141
- }
142
- this.loadMore.next(index);
143
- };
144
- NavigationService.prototype.isActive = function (index) {
145
- if (!index) {
146
- return false;
147
- }
148
- return this.isFocused && this.activeIndex === index;
149
- };
150
- NavigationService.prototype.isFocusable = function (index) {
151
- return utils_1.nodeIndex(this.focusableItem) === index;
152
- };
153
- NavigationService.prototype.isDisabled = function (index) {
154
- return this.model.findNode(index).disabled;
155
- };
156
- NavigationService.prototype.registerItem = function (id, index, disabled, loadMoreButton, visible) {
157
- if (loadMoreButton === void 0) { loadMoreButton = false; }
158
- if (visible === void 0) { visible = true; }
159
- var itemAtIndex = this.model.findNode(index);
160
- if (utils_1.isPresent(itemAtIndex)) {
161
- this.model.unregisterItem(itemAtIndex.id, itemAtIndex.index);
162
- if (this.isActive(index)) {
163
- this.deactivate();
164
- }
165
- }
166
- this.model.registerItem(id, index, disabled, loadMoreButton, visible);
167
- };
168
- NavigationService.prototype.unregisterItem = function (id, index) {
169
- if (this.isActive(index)) {
170
- this.activateParent(index);
171
- }
172
- this.model.unregisterItem(id, index);
173
- };
174
- NavigationService.prototype.move = function (e) {
175
- if (!this.navigable) {
176
- return;
177
- }
178
- var moveAction = this.actions[e.keyCode];
179
- if (!moveAction) {
180
- return;
181
- }
182
- moveAction();
183
- e.preventDefault();
184
- };
185
- NavigationService.prototype.expand = function (_a) {
186
- var expand = _a.expand, intercept = _a.intercept;
187
- var index = utils_1.nodeIndex(this.activeItem);
188
- if (!index || intercept(index)) {
189
- return;
190
- }
191
- this.notifyExpand(expand);
192
- };
193
- NavigationService.prototype.moveToParent = function () {
194
- if (this.isActiveExpanded) {
195
- return false;
196
- }
197
- this.activate(this.model.findParent(utils_1.nodeIndex(this.activeItem)));
198
- return true;
199
- };
200
- NavigationService.prototype.moveToFirstVisibleChild = function () {
201
- if (!this.isActiveExpanded) {
202
- return false;
203
- }
204
- this.activate(this.model.findVisibleChild(utils_1.nodeIndex(this.activeItem)));
205
- return true;
206
- };
207
- NavigationService.prototype.notifyExpand = function (expand) {
208
- this.expands.next(this.navigationState(expand));
209
- };
210
- NavigationService.prototype.notifyMove = function () {
211
- this.moves.next(this.navigationState());
212
- };
213
- NavigationService.prototype.navigationState = function (expand) {
214
- if (expand === void 0) { expand = false; }
215
- return ({ expand: expand, index: this.activeIndex, isFocused: this.isFocused, shouldScroll: this.shouldScroll });
216
- };
217
- NavigationService.prototype.handleEnter = function () {
218
- if (!this.navigable) {
219
- return;
220
- }
221
- if (this.isLoadMoreButton) {
222
- this.notifyLoadMore(this.activeIndex);
223
- }
224
- else {
225
- this.selectIndex(this.activeIndex);
226
- }
227
- };
228
- NavigationService.prototype.handleSpace = function () {
229
- if (!this.navigable) {
230
- return;
231
- }
232
- if (this.isLoadMoreButton) {
233
- this.notifyLoadMore(this.activeIndex);
234
- }
235
- else {
236
- this.checkIndex(this.activeIndex);
237
- }
238
- };
239
- NavigationService = tslib_1.__decorate([
240
- core_1.Injectable(),
241
- tslib_1.__metadata("design:paramtypes", [kendo_angular_l10n_1.LocalizationService])
242
- ], NavigationService);
243
- return NavigationService;
244
- }());
245
- exports.NavigationService = NavigationService;
@@ -1,25 +0,0 @@
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
- "use strict";
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- var tslib_1 = require("tslib");
8
- var core_1 = require("@angular/core");
9
- var rxjs_1 = require("rxjs");
10
- /**
11
- * @hidden
12
- */
13
- var NodeChildrenService = /** @class */ (function () {
14
- function NodeChildrenService() {
15
- this.changes = new rxjs_1.Subject();
16
- }
17
- NodeChildrenService.prototype.childrenLoaded = function (item, children) {
18
- this.changes.next({ item: item, children: children });
19
- };
20
- NodeChildrenService = tslib_1.__decorate([
21
- core_1.Injectable()
22
- ], NodeChildrenService);
23
- return NodeChildrenService;
24
- }());
25
- exports.NodeChildrenService = NodeChildrenService;
@@ -1,6 +0,0 @@
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
- "use strict";
6
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,76 +0,0 @@
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
- "use strict";
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- var tslib_1 = require("tslib");
8
- var core_1 = require("@angular/core");
9
- /**
10
- * Represents the template for the TreeView nodes ([more information and example]({% slug nodetemplate_treeview %})).
11
- * The template helps to customize the content of the nodes. To define the node template, nest an `<ng-template>`
12
- * tag with the `kendoTreeViewNodeTemplate` directive inside a `<kendo-treeview>` tag.
13
- *
14
- *
15
- * The node data item and its hierarchical index are available as context variables:
16
- *
17
- * - `let-dataItem` (`any`) - available as implicit context variable
18
- * - `let-index="index"` (`string`)
19
- *
20
- *
21
- * @example
22
- * ```ts
23
- *
24
- * import { Component } from '@angular/core';
25
- * @Component({
26
- * selector: 'my-app',
27
- * template: `
28
- * <kendo-treeview
29
- * [nodes]="data"
30
- * kendoTreeViewExpandable
31
- *
32
- * kendoTreeViewHierarchyBinding
33
- * childrenField="items">
34
- * <ng-template kendoTreeViewNodeTemplate let-dataItem let-index="index">
35
- * <span [style.fontWeight]="dataItem.items ? 'bolder': 'normal' ">{{ index }}: {{ dataItem.text }}</span>
36
- * </ng-template>
37
- * </kendo-treeview>
38
- * `
39
- * })
40
- * export class AppComponent {
41
- * public data: any[] = [
42
- * {
43
- * text: "Inbox",
44
- * items: [{ text: "Read Mail" }]
45
- * },
46
- * {
47
- * text: "Drafts"
48
- * },
49
- * {
50
- * text: "Search Folders",
51
- * items: [
52
- * { text: "Categorized Mail" },
53
- * { text: "Large Mail" },
54
- * { text: "Unread Mail"}
55
- * ]
56
- * },
57
- * { text: "Settings" }
58
- * ];
59
- * }
60
- *
61
- * ```
62
- */
63
- var NodeTemplateDirective = /** @class */ (function () {
64
- function NodeTemplateDirective(templateRef) {
65
- this.templateRef = templateRef;
66
- }
67
- NodeTemplateDirective = tslib_1.__decorate([
68
- core_1.Directive({
69
- selector: '[kendoTreeViewNodeTemplate]'
70
- }),
71
- tslib_1.__param(0, core_1.Optional()),
72
- tslib_1.__metadata("design:paramtypes", [core_1.TemplateRef])
73
- ], NodeTemplateDirective);
74
- return NodeTemplateDirective;
75
- }());
76
- exports.NodeTemplateDirective = NodeTemplateDirective;
@@ -1,17 +0,0 @@
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
- "use strict";
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- /**
8
- * @hidden
9
- */
10
- exports.packageMetadata = {
11
- name: '@progress/kendo-angular-treeview',
12
- productName: 'Kendo UI for Angular',
13
- productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
14
- publishDate: 1646821842,
15
- version: '',
16
- licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
17
- };
@@ -1,154 +0,0 @@
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
- "use strict";
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- var tslib_1 = require("tslib");
8
- var core_1 = require("@angular/core");
9
- var treeview_component_1 = require("../treeview.component");
10
- var utils_1 = require("../utils");
11
- var rxjs_1 = require("rxjs");
12
- var kendo_angular_common_1 = require("@progress/kendo-angular-common");
13
- /**
14
- * A directive which manages the in-memory selection state of the TreeView node
15
- * ([see example]({% slug selection_treeview %})).
16
- */
17
- var SelectDirective = /** @class */ (function () {
18
- function SelectDirective(treeView) {
19
- var _this = this;
20
- this.treeView = treeView;
21
- /**
22
- * Fires when the `selectedKeys` collection was updated.
23
- */
24
- this.selectedKeysChange = new core_1.EventEmitter();
25
- this.subscriptions = new rxjs_1.Subscription();
26
- this.selectActions = {
27
- 'multiple': function (e) { return _this.selectMultiple(e); },
28
- 'single': function (e) { return _this.selectSingle(e); }
29
- };
30
- /**
31
- * Reflectes the internal `selectedKeys` state.
32
- */
33
- this.state = new Set();
34
- this.subscriptions.add(this.treeView.selectionChange.subscribe(this.select.bind(this)));
35
- this.treeView.isSelected = function (dataItem, index) { return (_this.state.has(_this.itemKey({ dataItem: dataItem, index: index }))); };
36
- }
37
- Object.defineProperty(SelectDirective.prototype, "isSelected", {
38
- /**
39
- * @hidden
40
- */
41
- set: function (value) {
42
- this.treeView.isSelected = value;
43
- },
44
- enumerable: true,
45
- configurable: true
46
- });
47
- Object.defineProperty(SelectDirective.prototype, "getAriaMultiselectable", {
48
- get: function () {
49
- return this.options.mode === 'multiple';
50
- },
51
- enumerable: true,
52
- configurable: true
53
- });
54
- Object.defineProperty(SelectDirective.prototype, "options", {
55
- get: function () {
56
- var defaultOptions = {
57
- enabled: true,
58
- mode: 'single'
59
- };
60
- if (!utils_1.isPresent(this.selection) || typeof this.selection === 'string') {
61
- return defaultOptions;
62
- }
63
- var selectionSettings = utils_1.isBoolean(this.selection) ? { enabled: this.selection } : this.selection;
64
- return Object.assign(defaultOptions, selectionSettings);
65
- },
66
- enumerable: true,
67
- configurable: true
68
- });
69
- SelectDirective.prototype.ngOnChanges = function (changes) {
70
- if (kendo_angular_common_1.isChanged('selectedKeys', changes, false) && changes.selectedKeys.currentValue !== this.lastChange) {
71
- this.state = new Set(changes.selectedKeys.currentValue);
72
- }
73
- };
74
- SelectDirective.prototype.ngOnDestroy = function () {
75
- this.subscriptions.unsubscribe();
76
- };
77
- SelectDirective.prototype.itemKey = function (e) {
78
- if (!this.selectKey) {
79
- return e.index;
80
- }
81
- if (typeof this.selectKey === 'string') {
82
- return e.dataItem[this.selectKey];
83
- }
84
- if (typeof this.selectKey === 'function') {
85
- return this.selectKey(e);
86
- }
87
- };
88
- SelectDirective.prototype.select = function (e) {
89
- var _a = this.options, enabled = _a.enabled, mode = _a.mode;
90
- var performSelection = this.selectActions[mode] || utils_1.noop;
91
- if (!enabled) {
92
- return;
93
- }
94
- performSelection(e);
95
- };
96
- SelectDirective.prototype.selectSingle = function (node) {
97
- var key = this.itemKey(node);
98
- if (!this.state.has(key)) {
99
- this.state.clear();
100
- this.state.add(key);
101
- this.notify();
102
- }
103
- };
104
- SelectDirective.prototype.selectMultiple = function (node) {
105
- var key = this.itemKey(node);
106
- var isSelected = this.state.has(key);
107
- if (!utils_1.isPresent(key)) {
108
- return;
109
- }
110
- if (isSelected) {
111
- this.state.delete(key);
112
- }
113
- else {
114
- this.state.add(key);
115
- }
116
- this.notify();
117
- };
118
- SelectDirective.prototype.notify = function () {
119
- this.lastChange = Array.from(this.state);
120
- this.selectedKeysChange.emit(this.lastChange);
121
- };
122
- tslib_1.__decorate([
123
- core_1.Input(),
124
- tslib_1.__metadata("design:type", Function),
125
- tslib_1.__metadata("design:paramtypes", [Function])
126
- ], SelectDirective.prototype, "isSelected", null);
127
- tslib_1.__decorate([
128
- core_1.Input('selectBy'),
129
- tslib_1.__metadata("design:type", Object)
130
- ], SelectDirective.prototype, "selectKey", void 0);
131
- tslib_1.__decorate([
132
- core_1.Input('kendoTreeViewSelectable'),
133
- tslib_1.__metadata("design:type", Object)
134
- ], SelectDirective.prototype, "selection", void 0);
135
- tslib_1.__decorate([
136
- core_1.Input(),
137
- tslib_1.__metadata("design:type", Array)
138
- ], SelectDirective.prototype, "selectedKeys", void 0);
139
- tslib_1.__decorate([
140
- core_1.Output(),
141
- tslib_1.__metadata("design:type", core_1.EventEmitter)
142
- ], SelectDirective.prototype, "selectedKeysChange", void 0);
143
- tslib_1.__decorate([
144
- core_1.HostBinding('attr.aria-multiselectable'),
145
- tslib_1.__metadata("design:type", Boolean),
146
- tslib_1.__metadata("design:paramtypes", [])
147
- ], SelectDirective.prototype, "getAriaMultiselectable", null);
148
- SelectDirective = tslib_1.__decorate([
149
- core_1.Directive({ selector: '[kendoTreeViewSelectable]' }),
150
- tslib_1.__metadata("design:paramtypes", [treeview_component_1.TreeViewComponent])
151
- ], SelectDirective);
152
- return SelectDirective;
153
- }());
154
- exports.SelectDirective = SelectDirective;
@@ -1,6 +0,0 @@
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
- "use strict";
6
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +0,0 @@
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
- "use strict";
6
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,36 +0,0 @@
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
- "use strict";
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- var tslib_1 = require("tslib");
8
- var core_1 = require("@angular/core");
9
- var rxjs_1 = require("rxjs");
10
- /**
11
- * @hidden
12
- */
13
- var SelectionService = /** @class */ (function () {
14
- function SelectionService() {
15
- this.changes = new rxjs_1.Subject();
16
- }
17
- SelectionService.prototype.isFirstSelected = function (index) {
18
- return this.firstIndex === index;
19
- };
20
- SelectionService.prototype.setFirstSelected = function (index, selected) {
21
- if (this.firstIndex === index && selected === false) {
22
- this.firstIndex = null;
23
- }
24
- else if (!this.firstIndex && selected) {
25
- this.firstIndex = index;
26
- }
27
- };
28
- SelectionService.prototype.select = function (index, dataItem) {
29
- this.changes.next({ dataItem: dataItem, index: index });
30
- };
31
- SelectionService = tslib_1.__decorate([
32
- core_1.Injectable()
33
- ], SelectionService);
34
- return SelectionService;
35
- }());
36
- exports.SelectionService = SelectionService;
@@ -1,77 +0,0 @@
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
- "use strict";
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- var tslib_1 = require("tslib");
8
- var core_1 = require("@angular/core");
9
- var treeview_component_1 = require("./treeview.component");
10
- var treeview_group_component_1 = require("./treeview-group.component");
11
- var common_1 = require("@angular/common");
12
- var node_template_directive_1 = require("./node-template.directive");
13
- var check_directive_1 = require("./check.directive");
14
- var disable_directive_1 = require("./disable.directive");
15
- var expand_directive_1 = require("./expand.directive");
16
- var select_directive_1 = require("./selection/select.directive");
17
- var hierarchy_binding_directive_1 = require("./hierarchy-binding.directive");
18
- var loading_indicator_directive_1 = require("./loading-indicator.directive");
19
- var flat_binding_directive_1 = require("./flat-binding.directive");
20
- var treeview_item_directive_1 = require("./treeview-item.directive");
21
- var treeview_item_content_directive_1 = require("./treeview-item-content.directive");
22
- var checkbox_module_1 = require("./checkbox/checkbox.module");
23
- var drag_and_drop_directive_1 = require("./drag-and-drop/drag-and-drop.directive");
24
- var drag_clue_template_directive_1 = require("./drag-and-drop/drag-clue/drag-clue-template.directive");
25
- var drop_hint_template_directive_1 = require("./drag-and-drop/drop-hint/drop-hint-template.directive");
26
- var drag_clue_component_1 = require("./drag-and-drop/drag-clue/drag-clue.component");
27
- var drop_hint_component_1 = require("./drag-and-drop/drop-hint/drop-hint.component");
28
- var drag_and_drop_editing_directive_1 = require("./drag-and-drop/drag-and-drop-editing.directive");
29
- var load_more_directive_1 = require("./load-more/load-more.directive");
30
- var load_more_button_template_directive_1 = require("./load-more/load-more-button-template.directive");
31
- var kendo_angular_inputs_1 = require("@progress/kendo-angular-inputs");
32
- var COMPONENT_DIRECTIVES = [
33
- treeview_component_1.TreeViewComponent,
34
- treeview_group_component_1.TreeViewGroupComponent,
35
- treeview_item_directive_1.TreeViewItemDirective,
36
- treeview_item_content_directive_1.TreeViewItemContentDirective,
37
- node_template_directive_1.NodeTemplateDirective,
38
- check_directive_1.CheckDirective,
39
- disable_directive_1.DisableDirective,
40
- expand_directive_1.ExpandDirective,
41
- select_directive_1.SelectDirective,
42
- hierarchy_binding_directive_1.HierarchyBindingDirective,
43
- loading_indicator_directive_1.LoadingIndicatorDirective,
44
- flat_binding_directive_1.FlatDataBindingDirective,
45
- drag_and_drop_directive_1.DragAndDropDirective,
46
- drag_clue_template_directive_1.DragClueTemplateDirective,
47
- drag_clue_component_1.DragClueComponent,
48
- drop_hint_template_directive_1.DropHintTemplateDirective,
49
- drop_hint_component_1.DropHintComponent,
50
- drag_and_drop_editing_directive_1.DragAndDropEditingDirective,
51
- load_more_directive_1.LoadMoreDirective,
52
- load_more_button_template_directive_1.LoadMoreButtonTemplateDirective
53
- ];
54
- /**
55
- * @hidden
56
- */
57
- var SharedModule = /** @class */ (function () {
58
- function SharedModule() {
59
- }
60
- SharedModule = tslib_1.__decorate([
61
- core_1.NgModule({
62
- declarations: [COMPONENT_DIRECTIVES],
63
- exports: [COMPONENT_DIRECTIVES],
64
- imports: [
65
- common_1.CommonModule,
66
- checkbox_module_1.CheckBoxModule,
67
- kendo_angular_inputs_1.InputsModule
68
- ],
69
- entryComponents: [
70
- drag_clue_component_1.DragClueComponent,
71
- drop_hint_component_1.DropHintComponent
72
- ]
73
- })
74
- ], SharedModule);
75
- return SharedModule;
76
- }());
77
- exports.SharedModule = SharedModule;
package/dist/npm/size.js DELETED
@@ -1,6 +0,0 @@
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
- "use strict";
6
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +0,0 @@
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
- "use strict";
6
- Object.defineProperty(exports, "__esModule", { value: true });