@progress/kendo-angular-layout 6.5.2 → 7.0.0-dev.202204150742

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 (628) hide show
  1. package/{dist/es2015/avatar → avatar}/avatar.component.d.ts +22 -16
  2. package/{dist/es2015/avatar → avatar}/models/fill.d.ts +1 -1
  3. package/{dist/es2015/avatar → avatar}/models/models.d.ts +0 -0
  4. package/{dist/es2015/avatar → avatar}/models/rounded.d.ts +1 -1
  5. package/{dist/es2015/avatar → avatar}/models/shape.d.ts +0 -0
  6. package/{dist/es2015/avatar → avatar}/models/size.d.ts +1 -1
  7. package/{dist/es2015/avatar → avatar}/models/theme-color.d.ts +1 -1
  8. package/avatar.module.d.ts +16 -0
  9. package/bundles/kendo-angular-layout.umd.js +5 -0
  10. package/{dist/es2015/card → card}/card-actions.component.d.ts +16 -9
  11. package/card/card-body.component.d.ts +13 -0
  12. package/{dist/es2015/card → card}/card-footer.component.d.ts +3 -0
  13. package/{dist/es2015/card → card}/card-header.component.d.ts +3 -0
  14. package/{dist/es2015/card → card}/card.component.d.ts +6 -3
  15. package/{dist/es2015/card → card}/directives/card-media.directive.d.ts +3 -0
  16. package/{dist/es2015/card → card}/directives/card-separator.directive.d.ts +5 -2
  17. package/{dist/es2015/card → card}/directives/card-subtitle.directive.d.ts +3 -0
  18. package/{dist/es2015/card → card}/directives/card-title.directive.d.ts +3 -0
  19. package/{dist/es2015/card → card}/models/actions-layout.d.ts +0 -0
  20. package/{dist/es2015/card → card}/models/card-action.d.ts +0 -0
  21. package/card.module.d.ts +24 -0
  22. package/{dist/es2015/common → common}/direction.d.ts +0 -0
  23. package/{dist/es2015/common → common}/dom-queries.d.ts +0 -0
  24. package/{dist/es2015/common → common}/orientation.d.ts +0 -0
  25. package/{dist/es2015/common → common}/preventable-event.d.ts +0 -0
  26. package/{dist/es2015/common → common}/styling-classes.d.ts +0 -0
  27. package/{dist/es2015/common → common}/util.d.ts +4 -4
  28. package/{dist/es2015/drawer → drawer}/animations.d.ts +0 -0
  29. package/{dist/es2015/drawer → drawer}/drawer-container.component.d.ts +9 -6
  30. package/{dist/es2015/drawer → drawer}/drawer-content.component.d.ts +3 -0
  31. package/{dist/es2015/drawer → drawer}/drawer.component.d.ts +17 -8
  32. package/{dist/es2015/drawer → drawer}/drawer.service.d.ts +3 -1
  33. package/drawer/events/drawer-list-select.event.d.ts +26 -0
  34. package/{dist/es2015/drawer → drawer}/events/select-event.d.ts +6 -2
  35. package/{dist/es2015/drawer → drawer}/item.component.d.ts +7 -4
  36. package/{dist/es2015/drawer → drawer}/list.component.d.ts +6 -1
  37. package/{dist/es2015/drawer → drawer}/models/constants.d.ts +0 -0
  38. package/{dist/es2015/drawer → drawer}/models/drawer-animation.interface.d.ts +1 -1
  39. package/{dist/es2015/drawer → drawer}/models/drawer-item.interface.d.ts +0 -0
  40. package/{dist/es2015/drawer → drawer}/models/mode.d.ts +0 -0
  41. package/{dist/es2015/drawer → drawer}/models/position.d.ts +0 -0
  42. package/{dist/es2015/drawer → drawer}/template-directives/drawer-template.directive.d.ts +3 -0
  43. package/{dist/es2015/drawer → drawer}/template-directives/footer-template.directive.d.ts +3 -0
  44. package/{dist/es2015/drawer → drawer}/template-directives/header-template.directive.d.ts +3 -0
  45. package/{dist/es2015/drawer → drawer}/template-directives/item-template.directive.d.ts +3 -0
  46. package/{dist/es2015/drawer → drawer}/template-directives.d.ts +0 -0
  47. package/{dist/es2015/drawer → drawer}/types.d.ts +0 -0
  48. package/{dist/es2015/drawer → drawer}/util.d.ts +0 -0
  49. package/drawer.module.d.ts +24 -0
  50. package/{dist/es2015 → esm2015}/avatar/avatar.component.js +97 -115
  51. package/{dist/es → esm2015}/avatar/models/fill.js +1 -0
  52. package/{dist/es/layouts → esm2015/avatar/models}/models.js +5 -0
  53. package/{dist/es2015 → esm2015}/avatar/models/rounded.js +1 -0
  54. package/{dist/es2015 → esm2015}/avatar/models/shape.js +1 -0
  55. package/{dist/es → esm2015}/avatar/models/size.js +1 -0
  56. package/{dist/es → esm2015}/avatar/models/theme-color.js +1 -0
  57. package/esm2015/avatar.module.js +31 -0
  58. package/esm2015/card/card-actions.component.js +145 -0
  59. package/esm2015/card/card-body.component.js +30 -0
  60. package/esm2015/card/card-footer.component.js +30 -0
  61. package/esm2015/card/card-header.component.js +30 -0
  62. package/esm2015/card/card.component.js +101 -0
  63. package/esm2015/card/directives/card-media.directive.js +25 -0
  64. package/esm2015/card/directives/card-separator.directive.js +52 -0
  65. package/esm2015/card/directives/card-subtitle.directive.js +25 -0
  66. package/esm2015/card/directives/card-title.directive.js +25 -0
  67. package/{dist/es → esm2015}/card/models/actions-layout.js +1 -0
  68. package/{dist/es2015 → esm2015}/card/models/card-action.js +0 -0
  69. package/{dist/es2015 → esm2015}/card.module.js +28 -11
  70. package/{dist/es → esm2015}/common/direction.js +1 -0
  71. package/{dist/es2015 → esm2015}/common/dom-queries.js +0 -3
  72. package/{dist/es → esm2015}/common/orientation.js +1 -0
  73. package/{dist/es2015 → esm2015}/common/preventable-event.js +0 -0
  74. package/{dist/es → esm2015}/common/styling-classes.js +1 -0
  75. package/{dist/es2015 → esm2015}/common/util.js +7 -9
  76. package/{dist/es2015 → esm2015}/drawer/animations.js +0 -0
  77. package/esm2015/drawer/drawer-container.component.js +109 -0
  78. package/esm2015/drawer/drawer-content.component.js +31 -0
  79. package/{dist/es2015 → esm2015}/drawer/drawer.component.js +124 -124
  80. package/{dist/es2015 → esm2015}/drawer/drawer.service.js +8 -20
  81. package/esm2015/drawer/events/drawer-list-select.event.js +17 -0
  82. package/esm2015/drawer/events/select-event.js +17 -0
  83. package/esm2015/drawer/item.component.js +121 -0
  84. package/{dist/es2015 → esm2015}/drawer/list.component.js +32 -34
  85. package/{dist/es2015 → esm2015}/drawer/models/constants.js +0 -0
  86. package/{dist/es → esm2015}/drawer/models/drawer-animation.interface.js +1 -0
  87. package/{dist/es → esm2015}/drawer/models/drawer-item.interface.js +1 -0
  88. package/{dist/es → esm2015}/drawer/models/mode.js +1 -0
  89. package/{dist/es → esm2015}/drawer/models/position.js +1 -0
  90. package/esm2015/drawer/template-directives/drawer-template.directive.js +28 -0
  91. package/esm2015/drawer/template-directives/footer-template.directive.js +26 -0
  92. package/esm2015/drawer/template-directives/header-template.directive.js +26 -0
  93. package/esm2015/drawer/template-directives/item-template.directive.js +26 -0
  94. package/{dist/es → esm2015}/drawer/template-directives.js +0 -0
  95. package/{dist/es → esm2015}/drawer/types.js +1 -0
  96. package/{dist/es2015 → esm2015}/drawer/util.js +0 -0
  97. package/{dist/es2015 → esm2015}/drawer.module.js +25 -11
  98. package/{dist/es2015 → esm2015}/expansionpanel/animations.js +0 -0
  99. package/esm2015/expansionpanel/events/action-event.js +17 -0
  100. package/esm2015/expansionpanel/expansionpanel-title.directive.js +27 -0
  101. package/{dist/es2015 → esm2015}/expansionpanel/expansionpanel.component.js +112 -119
  102. package/esm2015/expansionpanel.module.js +36 -0
  103. package/esm2015/gridlayout.module.js +35 -0
  104. package/esm2015/kendo-angular-layout.js +8 -0
  105. package/{dist/es2015 → esm2015}/layout.module.js +44 -21
  106. package/{dist/es2015 → esm2015}/layouts/grid-layout.component.js +44 -48
  107. package/esm2015/layouts/gridlayout-item.component.js +47 -0
  108. package/{dist/es → esm2015}/layouts/models/gridlayout-gap-settings.js +1 -0
  109. package/{dist/es → esm2015}/layouts/models/gridlayout-row-col-size.js +1 -0
  110. package/{dist/es → esm2015}/layouts/models/layout-align-settings.js +1 -0
  111. package/{dist/es → esm2015}/layouts/models/layout-horizontal-align.js +1 -0
  112. package/{dist/es → esm2015}/layouts/models/layout-vertical-align.js +1 -0
  113. package/{dist/es2015/layouts/models.d.ts → esm2015/layouts/models.js} +0 -0
  114. package/{dist/es2015 → esm2015}/layouts/stack-layout.component.js +48 -54
  115. package/{dist/es2015 → esm2015}/layouts/util.js +0 -0
  116. package/{dist/es → esm2015}/main.js +5 -0
  117. package/{dist/es2015 → esm2015}/package-metadata.js +1 -1
  118. package/{dist/es2015/expansionpanel/events/action-event.js → esm2015/panelbar/events/collapse-event.js} +2 -2
  119. package/{dist/es2015/stepper/events/activate-event.js → esm2015/panelbar/events/expand-event.js} +2 -2
  120. package/{dist/es2015/drawer → esm2015/panelbar}/events/select-event.js +2 -2
  121. package/{dist/es/stepper/models/constants.js → esm2015/panelbar/events/state-change-event.js} +3 -2
  122. package/{dist/es2015/tabstrip → esm2015/panelbar}/events.js +4 -2
  123. package/esm2015/panelbar/panelbar-content.directive.js +23 -0
  124. package/{dist/es → esm2015}/panelbar/panelbar-expand-mode.js +0 -0
  125. package/{dist/es → esm2015}/panelbar/panelbar-item-model.js +1 -0
  126. package/esm2015/panelbar/panelbar-item-template.directive.js +24 -0
  127. package/{dist/es2015 → esm2015}/panelbar/panelbar-item-title.directive.js +14 -12
  128. package/esm2015/panelbar/panelbar-item.component.js +582 -0
  129. package/{dist/es2015 → esm2015}/panelbar/panelbar.component.js +248 -173
  130. package/{dist/es2015 → esm2015}/panelbar/panelbar.service.js +8 -8
  131. package/{dist/es2015 → esm2015}/panelbar.module.js +22 -11
  132. package/{dist/es2015 → esm2015}/splitter/splitter-bar.component.js +60 -81
  133. package/{dist/es2015 → esm2015}/splitter/splitter-pane.component.js +53 -84
  134. package/{dist/es2015 → esm2015}/splitter/splitter.component.js +84 -69
  135. package/{dist/es2015 → esm2015}/splitter/splitter.service.js +9 -9
  136. package/{dist/es2015 → esm2015}/splitter.module.js +21 -12
  137. package/esm2015/stacklayout.module.js +31 -0
  138. package/esm2015/stepper/events/activate-event.js +17 -0
  139. package/esm2015/stepper/list.component.js +145 -0
  140. package/esm2015/stepper/localization/custom-messages.component.js +41 -0
  141. package/esm2015/stepper/localization/localized-messages.directive.js +38 -0
  142. package/esm2015/stepper/localization/messages.js +23 -0
  143. package/{dist/es2015 → esm2015}/stepper/models/constants.js +0 -0
  144. package/{dist/es → esm2015}/stepper/models/orientation.js +1 -0
  145. package/{dist/es → esm2015}/stepper/models/step-predicate.js +1 -0
  146. package/{dist/es → esm2015}/stepper/models/step-type.js +1 -0
  147. package/{dist/es → esm2015}/stepper/models/stepper-step.interface.js +1 -0
  148. package/{dist/es2015 → esm2015}/stepper/step.component.js +88 -66
  149. package/{dist/es2015 → esm2015}/stepper/stepper.component.js +141 -103
  150. package/{dist/es2015 → esm2015}/stepper/stepper.service.js +25 -14
  151. package/esm2015/stepper/template-directives/indicator-template.directive.js +26 -0
  152. package/esm2015/stepper/template-directives/label-template.directive.js +26 -0
  153. package/esm2015/stepper/template-directives/step-template.directive.js +26 -0
  154. package/{dist/es → esm2015}/stepper/template-directives.js +0 -0
  155. package/{dist/es → esm2015}/stepper/types.js +1 -0
  156. package/{dist/es2015 → esm2015}/stepper.module.js +22 -11
  157. package/{dist/es2015 → esm2015}/tabstrip/constants.js +0 -0
  158. package/{dist/es2015 → esm2015}/tabstrip/directives/tab-content.directive.js +12 -11
  159. package/{dist/es2015 → esm2015}/tabstrip/directives/tab-title.directive.js +12 -11
  160. package/{dist/es2015 → esm2015}/tabstrip/events/select-event.js +0 -0
  161. package/{dist/es2015 → esm2015}/tabstrip/events/tabclose-event.js +0 -0
  162. package/{dist/es2015 → esm2015}/tabstrip/events/tabscroll-event.js +8 -1
  163. package/{dist/es → esm2015}/tabstrip/events.js +0 -0
  164. package/esm2015/tabstrip/localization/custom-messages.component.js +41 -0
  165. package/esm2015/tabstrip/localization/localized-messages.directive.js +36 -0
  166. package/esm2015/tabstrip/localization/messages.js +23 -0
  167. package/{dist/es → esm2015}/tabstrip/models/button-state-change.js +1 -0
  168. package/{dist/es/avatar/models/models.js → esm2015/tabstrip/models/scroll-button-type.js} +1 -0
  169. package/{dist/es → esm2015}/tabstrip/models/scroll-buttons-visibility.js +1 -0
  170. package/{dist/es2015 → esm2015}/tabstrip/models/scrollable-settings.js +0 -2
  171. package/{dist/es → esm2015}/tabstrip/models/tab-alignment.js +1 -0
  172. package/{dist/es → esm2015}/tabstrip/models/tab-position.js +1 -0
  173. package/esm2015/tabstrip/models/tabstrip-tab.component.js +65 -0
  174. package/esm2015/tabstrip/rendering/tab.component.js +123 -0
  175. package/esm2015/tabstrip/scrollable-button.component.js +123 -0
  176. package/{dist/es2015 → esm2015}/tabstrip/tabstrip-scroll.service.js +16 -36
  177. package/{dist/es2015 → esm2015}/tabstrip/tabstrip.component.js +237 -149
  178. package/{dist/es2015 → esm2015}/tabstrip/tabstrip.service.js +11 -16
  179. package/{dist/es2015 → esm2015}/tabstrip/util.js +0 -0
  180. package/{dist/es2015 → esm2015}/tabstrip.module.js +26 -11
  181. package/{dist/es2015 → esm2015}/tilelayout/constants.js +0 -0
  182. package/{dist/es2015 → esm2015}/tilelayout/dragging-service.js +10 -12
  183. package/{dist/es → esm2015}/tilelayout/models/dragging-config.interface.js +1 -0
  184. package/{dist/es → esm2015}/tilelayout/models/flowmode.type.js +1 -0
  185. package/{dist/es → esm2015}/tilelayout/models/gap.interface.js +1 -0
  186. package/{dist/es2015 → esm2015}/tilelayout/reorder-event.js +1 -1
  187. package/{dist/es2015 → esm2015}/tilelayout/resize-event.js +1 -1
  188. package/esm2015/tilelayout/tilelayout-item-body.component.js +37 -0
  189. package/esm2015/tilelayout/tilelayout-item-header.component.js +52 -0
  190. package/{dist/es2015 → esm2015}/tilelayout/tilelayout-item.component.js +81 -76
  191. package/{dist/es2015 → esm2015}/tilelayout/tilelayout-resize-handle.directive.js +16 -20
  192. package/{dist/es2015 → esm2015}/tilelayout/tilelayout.component.js +79 -84
  193. package/{dist/es2015 → esm2015}/tilelayout/util.js +0 -0
  194. package/{dist/es2015 → esm2015}/tilelayout.module.js +22 -11
  195. package/{dist/es2015/expansionpanel → expansionpanel}/animations.d.ts +0 -0
  196. package/{dist/es2015/expansionpanel → expansionpanel}/events/action-event.d.ts +5 -1
  197. package/{dist/es2015/expansionpanel → expansionpanel}/expansionpanel-title.directive.d.ts +3 -0
  198. package/{dist/es2015/expansionpanel → expansionpanel}/expansionpanel.component.d.ts +9 -5
  199. package/expansionpanel.module.d.ts +18 -0
  200. package/{dist/fesm2015/index.js → fesm2015/kendo-angular-layout.js} +5420 -4961
  201. package/gridlayout.module.d.ts +17 -0
  202. package/{dist/es2015/card/card-body.component.d.ts → kendo-angular-layout.d.ts} +3 -4
  203. package/{dist/es2015/layout.module.d.ts → layout.module.d.ts} +15 -0
  204. package/{dist/es2015/layouts → layouts}/grid-layout.component.d.ts +7 -3
  205. package/{dist/es2015/layouts → layouts}/gridlayout-item.component.d.ts +3 -0
  206. package/{dist/es2015/layouts → layouts}/models/gridlayout-gap-settings.d.ts +0 -0
  207. package/{dist/es2015/layouts → layouts}/models/gridlayout-row-col-size.d.ts +0 -0
  208. package/{dist/es2015/layouts → layouts}/models/layout-align-settings.d.ts +0 -0
  209. package/{dist/es2015/layouts → layouts}/models/layout-horizontal-align.d.ts +0 -0
  210. package/{dist/es2015/layouts → layouts}/models/layout-vertical-align.d.ts +0 -0
  211. package/{dist/es/avatar/models/shape.js → layouts/models.d.ts} +6 -0
  212. package/{dist/es2015/layouts → layouts}/stack-layout.component.d.ts +9 -5
  213. package/{dist/es2015/layouts → layouts}/util.d.ts +3 -3
  214. package/{dist/es2015/main.d.ts → main.d.ts} +4 -0
  215. package/{dist/es2015/package-metadata.d.ts → package-metadata.d.ts} +0 -0
  216. package/package.json +44 -132
  217. package/panelbar/events/collapse-event.d.ts +15 -0
  218. package/panelbar/events/expand-event.d.ts +15 -0
  219. package/panelbar/events/select-event.d.ts +15 -0
  220. package/{dist/es2015/avatar.module.d.ts → panelbar/events/state-change-event.d.ts} +7 -3
  221. package/{dist/es/avatar/models/rounded.js → panelbar/events.d.ts} +4 -0
  222. package/{dist/es2015/panelbar → panelbar}/panelbar-content.directive.d.ts +3 -0
  223. package/{dist/es2015/panelbar → panelbar}/panelbar-expand-mode.d.ts +0 -0
  224. package/{dist/es2015/panelbar → panelbar}/panelbar-item-model.d.ts +0 -0
  225. package/{dist/es2015/panelbar → panelbar}/panelbar-item-template.directive.d.ts +3 -0
  226. package/{dist/es2015/panelbar → panelbar}/panelbar-item-title.directive.d.ts +3 -0
  227. package/{dist/es2015/panelbar → panelbar}/panelbar-item.component.d.ts +17 -13
  228. package/{dist/es2015/panelbar → panelbar}/panelbar.component.d.ts +38 -10
  229. package/{dist/es2015/panelbar → panelbar}/panelbar.service.d.ts +3 -0
  230. package/panelbar.module.d.ts +27 -0
  231. package/schematics/ngAdd/index.js +5 -2
  232. package/schematics/ngAdd/index.js.map +1 -1
  233. package/{dist/es2015/splitter → splitter}/splitter-bar.component.d.ts +8 -5
  234. package/{dist/es2015/splitter → splitter}/splitter-pane.component.d.ts +13 -8
  235. package/{dist/es2015/splitter → splitter}/splitter.component.d.ts +9 -6
  236. package/{dist/es2015/splitter → splitter}/splitter.service.d.ts +3 -0
  237. package/splitter.module.d.ts +23 -0
  238. package/{dist/es2015/stacklayout.module.d.ts → stacklayout.module.d.ts} +6 -0
  239. package/{dist/es2015/stepper → stepper}/events/activate-event.d.ts +6 -2
  240. package/{dist/es2015/stepper → stepper}/list.component.d.ts +9 -6
  241. package/{dist/es2015/stepper → stepper}/localization/custom-messages.component.d.ts +4 -1
  242. package/{dist/es2015/stepper → stepper}/localization/localized-messages.directive.d.ts +3 -0
  243. package/{dist/es2015/stepper → stepper}/localization/messages.d.ts +3 -0
  244. package/{dist/es2015/stepper → stepper}/models/constants.d.ts +0 -0
  245. package/{dist/es2015/stepper → stepper}/models/orientation.d.ts +0 -0
  246. package/{dist/es2015/stepper → stepper}/models/step-predicate.d.ts +0 -0
  247. package/{dist/es2015/stepper → stepper}/models/step-type.d.ts +0 -0
  248. package/{dist/es2015/stepper → stepper}/models/stepper-step.interface.d.ts +0 -0
  249. package/{dist/es2015/stepper → stepper}/step.component.d.ts +16 -13
  250. package/{dist/es2015/stepper → stepper}/stepper.component.d.ts +22 -9
  251. package/{dist/es2015/stepper → stepper}/stepper.service.d.ts +6 -4
  252. package/{dist/es2015/stepper → stepper}/template-directives/indicator-template.directive.d.ts +3 -0
  253. package/{dist/es2015/stepper → stepper}/template-directives/label-template.directive.d.ts +3 -0
  254. package/{dist/es2015/stepper → stepper}/template-directives/step-template.directive.d.ts +3 -0
  255. package/{dist/es2015/stepper → stepper}/template-directives.d.ts +0 -0
  256. package/{dist/es2015/stepper → stepper}/types.d.ts +0 -0
  257. package/stepper.module.d.ts +24 -0
  258. package/{dist/es2015/tabstrip → tabstrip}/constants.d.ts +0 -0
  259. package/{dist/es2015/tabstrip → tabstrip}/directives/tab-content.directive.d.ts +3 -0
  260. package/{dist/es2015/tabstrip → tabstrip}/directives/tab-title.directive.d.ts +3 -0
  261. package/{dist/es2015/tabstrip → tabstrip}/events/select-event.d.ts +0 -0
  262. package/{dist/es2015/tabstrip → tabstrip}/events/tabclose-event.d.ts +0 -0
  263. package/{dist/es2015/tabstrip → tabstrip}/events/tabscroll-event.d.ts +5 -1
  264. package/{dist/es2015/tabstrip → tabstrip}/events.d.ts +0 -0
  265. package/{dist/es2015/tabstrip → tabstrip}/localization/custom-messages.component.d.ts +4 -1
  266. package/{dist/es2015/tabstrip → tabstrip}/localization/localized-messages.directive.d.ts +3 -0
  267. package/{dist/es2015/tabstrip → tabstrip}/localization/messages.d.ts +3 -0
  268. package/{dist/es2015/tabstrip → tabstrip}/models/button-state-change.d.ts +0 -0
  269. package/{dist/es/drawer/models/constants.js → tabstrip/models/scroll-button-type.d.ts} +1 -1
  270. package/{dist/es2015/tabstrip → tabstrip}/models/scroll-buttons-visibility.d.ts +0 -0
  271. package/{dist/es2015/tabstrip → tabstrip}/models/scrollable-settings.d.ts +0 -0
  272. package/{dist/es2015/tabstrip → tabstrip}/models/tab-alignment.d.ts +0 -0
  273. package/{dist/es2015/tabstrip → tabstrip}/models/tab-position.d.ts +0 -0
  274. package/{dist/es2015/tabstrip → tabstrip}/models/tabstrip-tab.component.d.ts +5 -2
  275. package/tabstrip/rendering/tab.component.d.ts +32 -0
  276. package/tabstrip/scrollable-button.component.d.ts +38 -0
  277. package/{dist/es2015/tabstrip → tabstrip}/tabstrip-scroll.service.d.ts +9 -11
  278. package/{dist/es2015/tabstrip → tabstrip}/tabstrip.component.d.ts +25 -15
  279. package/{dist/es2015/tabstrip → tabstrip}/tabstrip.service.d.ts +3 -1
  280. package/{dist/es2015/tabstrip → tabstrip}/util.d.ts +0 -0
  281. package/tabstrip.module.d.ts +30 -0
  282. package/{dist/es2015/tilelayout → tilelayout}/constants.d.ts +0 -0
  283. package/{dist/es2015/tilelayout → tilelayout}/dragging-service.d.ts +7 -4
  284. package/{dist/es2015/tilelayout → tilelayout}/models/dragging-config.interface.d.ts +0 -0
  285. package/{dist/es2015/tilelayout → tilelayout}/models/flowmode.type.d.ts +0 -0
  286. package/{dist/es2015/tilelayout → tilelayout}/models/gap.interface.d.ts +0 -0
  287. package/{dist/es2015/tilelayout → tilelayout}/reorder-event.d.ts +1 -1
  288. package/{dist/es2015/tilelayout → tilelayout}/resize-event.d.ts +1 -1
  289. package/{dist/es2015/tilelayout → tilelayout}/tilelayout-item-body.component.d.ts +3 -0
  290. package/{dist/es2015/tilelayout → tilelayout}/tilelayout-item-header.component.d.ts +11 -5
  291. package/{dist/es2015/tilelayout → tilelayout}/tilelayout-item.component.d.ts +14 -5
  292. package/{dist/es2015/tilelayout → tilelayout}/tilelayout-resize-handle.directive.d.ts +3 -0
  293. package/{dist/es2015/tilelayout → tilelayout}/tilelayout.component.d.ts +10 -6
  294. package/{dist/es2015/tilelayout → tilelayout}/util.d.ts +0 -0
  295. package/tilelayout.module.d.ts +26 -0
  296. package/dist/cdn/js/kendo-angular-layout.js +0 -20
  297. package/dist/cdn/main.js +0 -5
  298. package/dist/es/avatar/avatar.component.js +0 -357
  299. package/dist/es/avatar.module.js +0 -29
  300. package/dist/es/card/card-actions.component.js +0 -151
  301. package/dist/es/card/card-body.component.js +0 -26
  302. package/dist/es/card/card-footer.component.js +0 -26
  303. package/dist/es/card/card-header.component.js +0 -26
  304. package/dist/es/card/card.component.js +0 -114
  305. package/dist/es/card/directives/card-media.directive.js +0 -25
  306. package/dist/es/card/directives/card-separator.directive.js +0 -66
  307. package/dist/es/card/directives/card-subtitle.directive.js +0 -25
  308. package/dist/es/card/directives/card-title.directive.js +0 -25
  309. package/dist/es/card/models/card-action.js +0 -13
  310. package/dist/es/card.module.js +0 -47
  311. package/dist/es/common/dom-queries.js +0 -52
  312. package/dist/es/common/preventable-event.js +0 -36
  313. package/dist/es/common/util.js +0 -91
  314. package/dist/es/drawer/animations.js +0 -146
  315. package/dist/es/drawer/drawer-container.component.js +0 -133
  316. package/dist/es/drawer/drawer-content.component.js +0 -28
  317. package/dist/es/drawer/drawer.component.js +0 -405
  318. package/dist/es/drawer/drawer.service.js +0 -45
  319. package/dist/es/drawer/events/select-event.js +0 -17
  320. package/dist/es/drawer/item.component.js +0 -123
  321. package/dist/es/drawer/list.component.js +0 -119
  322. package/dist/es/drawer/template-directives/drawer-template.directive.js +0 -27
  323. package/dist/es/drawer/template-directives/footer-template.directive.js +0 -25
  324. package/dist/es/drawer/template-directives/header-template.directive.js +0 -25
  325. package/dist/es/drawer/template-directives/item-template.directive.js +0 -25
  326. package/dist/es/drawer/util.js +0 -16
  327. package/dist/es/drawer.module.js +0 -45
  328. package/dist/es/expansionpanel/animations.js +0 -23
  329. package/dist/es/expansionpanel/events/action-event.js +0 -17
  330. package/dist/es/expansionpanel/expansionpanel-title.directive.js +0 -26
  331. package/dist/es/expansionpanel/expansionpanel.component.js +0 -441
  332. package/dist/es/expansionpanel.module.js +0 -32
  333. package/dist/es/gridlayout.module.js +0 -31
  334. package/dist/es/index.js +0 -29
  335. package/dist/es/layout.module.js +0 -71
  336. package/dist/es/layouts/grid-layout.component.js +0 -155
  337. package/dist/es/layouts/gridlayout-item.component.js +0 -52
  338. package/dist/es/layouts/stack-layout.component.js +0 -171
  339. package/dist/es/layouts/util.js +0 -102
  340. package/dist/es/package-metadata.js +0 -15
  341. package/dist/es/panelbar/panelbar-content.directive.js +0 -23
  342. package/dist/es/panelbar/panelbar-item-template.directive.js +0 -23
  343. package/dist/es/panelbar/panelbar-item-title.directive.js +0 -46
  344. package/dist/es/panelbar/panelbar-item.component.js +0 -455
  345. package/dist/es/panelbar/panelbar.component.js +0 -557
  346. package/dist/es/panelbar/panelbar.service.js +0 -43
  347. package/dist/es/panelbar.module.js +0 -44
  348. package/dist/es/splitter/splitter-bar.component.js +0 -282
  349. package/dist/es/splitter/splitter-pane.component.js +0 -270
  350. package/dist/es/splitter/splitter.component.js +0 -226
  351. package/dist/es/splitter/splitter.service.js +0 -153
  352. package/dist/es/splitter.module.js +0 -42
  353. package/dist/es/stacklayout.module.js +0 -29
  354. package/dist/es/stepper/events/activate-event.js +0 -17
  355. package/dist/es/stepper/list.component.js +0 -144
  356. package/dist/es/stepper/localization/custom-messages.component.js +0 -44
  357. package/dist/es/stepper/localization/localized-messages.directive.js +0 -35
  358. package/dist/es/stepper/localization/messages.js +0 -22
  359. package/dist/es/stepper/step.component.js +0 -272
  360. package/dist/es/stepper/stepper.component.js +0 -328
  361. package/dist/es/stepper/stepper.service.js +0 -161
  362. package/dist/es/stepper/template-directives/indicator-template.directive.js +0 -25
  363. package/dist/es/stepper/template-directives/label-template.directive.js +0 -25
  364. package/dist/es/stepper/template-directives/step-template.directive.js +0 -25
  365. package/dist/es/stepper.module.js +0 -47
  366. package/dist/es/tabstrip/constants.js +0 -33
  367. package/dist/es/tabstrip/directives/tab-content.directive.js +0 -49
  368. package/dist/es/tabstrip/directives/tab-title.directive.js +0 -54
  369. package/dist/es/tabstrip/events/select-event.js +0 -26
  370. package/dist/es/tabstrip/events/tabclose-event.js +0 -22
  371. package/dist/es/tabstrip/events/tabscroll-event.js +0 -19
  372. package/dist/es/tabstrip/localization/custom-messages.component.js +0 -44
  373. package/dist/es/tabstrip/localization/localized-messages.directive.js +0 -35
  374. package/dist/es/tabstrip/localization/messages.js +0 -22
  375. package/dist/es/tabstrip/models/scrollable-settings.js +0 -28
  376. package/dist/es/tabstrip/models/tabstrip-tab.component.js +0 -88
  377. package/dist/es/tabstrip/rendering/tab.component.js +0 -131
  378. package/dist/es/tabstrip/scrollable-button.component.js +0 -131
  379. package/dist/es/tabstrip/tabstrip-scroll.service.js +0 -226
  380. package/dist/es/tabstrip/tabstrip.component.js +0 -529
  381. package/dist/es/tabstrip/tabstrip.service.js +0 -158
  382. package/dist/es/tabstrip/util.js +0 -111
  383. package/dist/es/tabstrip.module.js +0 -51
  384. package/dist/es/tilelayout/constants.js +0 -70
  385. package/dist/es/tilelayout/dragging-service.js +0 -430
  386. package/dist/es/tilelayout/preventable-event.js +0 -29
  387. package/dist/es/tilelayout/reorder-event.js +0 -39
  388. package/dist/es/tilelayout/resize-event.js +0 -35
  389. package/dist/es/tilelayout/tilelayout-item-body.component.js +0 -32
  390. package/dist/es/tilelayout/tilelayout-item-header.component.js +0 -55
  391. package/dist/es/tilelayout/tilelayout-item.component.js +0 -198
  392. package/dist/es/tilelayout/tilelayout-resize-handle.directive.js +0 -61
  393. package/dist/es/tilelayout/tilelayout.component.js +0 -344
  394. package/dist/es/tilelayout/util.js +0 -88
  395. package/dist/es/tilelayout.module.js +0 -43
  396. package/dist/es2015/avatar/models/fill.js +0 -4
  397. package/dist/es2015/avatar/models/models.js +0 -4
  398. package/dist/es2015/avatar/models/size.js +0 -4
  399. package/dist/es2015/avatar/models/theme-color.js +0 -4
  400. package/dist/es2015/avatar.module.js +0 -28
  401. package/dist/es2015/card/card-actions.component.js +0 -146
  402. package/dist/es2015/card/card-body.component.js +0 -30
  403. package/dist/es2015/card/card-footer.component.js +0 -30
  404. package/dist/es2015/card/card-header.component.js +0 -30
  405. package/dist/es2015/card/card.component.js +0 -101
  406. package/dist/es2015/card/directives/card-media.directive.js +0 -27
  407. package/dist/es2015/card/directives/card-separator.directive.js +0 -60
  408. package/dist/es2015/card/directives/card-subtitle.directive.js +0 -27
  409. package/dist/es2015/card/directives/card-title.directive.js +0 -27
  410. package/dist/es2015/card/models/actions-layout.js +0 -4
  411. package/dist/es2015/card.module.d.ts +0 -10
  412. package/dist/es2015/common/direction.js +0 -4
  413. package/dist/es2015/common/orientation.js +0 -4
  414. package/dist/es2015/common/styling-classes.js +0 -4
  415. package/dist/es2015/drawer/drawer-container.component.js +0 -109
  416. package/dist/es2015/drawer/drawer-content.component.js +0 -29
  417. package/dist/es2015/drawer/item.component.js +0 -121
  418. package/dist/es2015/drawer/models/drawer-animation.interface.js +0 -4
  419. package/dist/es2015/drawer/models/drawer-item.interface.js +0 -4
  420. package/dist/es2015/drawer/models/mode.js +0 -4
  421. package/dist/es2015/drawer/models/position.js +0 -4
  422. package/dist/es2015/drawer/template-directives/drawer-template.directive.js +0 -26
  423. package/dist/es2015/drawer/template-directives/footer-template.directive.js +0 -24
  424. package/dist/es2015/drawer/template-directives/header-template.directive.js +0 -24
  425. package/dist/es2015/drawer/template-directives/item-template.directive.js +0 -24
  426. package/dist/es2015/drawer/template-directives.js +0 -8
  427. package/dist/es2015/drawer/types.js +0 -4
  428. package/dist/es2015/drawer.module.d.ts +0 -10
  429. package/dist/es2015/expansionpanel/expansionpanel-title.directive.js +0 -25
  430. package/dist/es2015/expansionpanel.module.d.ts +0 -10
  431. package/dist/es2015/expansionpanel.module.js +0 -31
  432. package/dist/es2015/gridlayout.module.d.ts +0 -10
  433. package/dist/es2015/gridlayout.module.js +0 -30
  434. package/dist/es2015/index.d.ts +0 -29
  435. package/dist/es2015/index.js +0 -29
  436. package/dist/es2015/index.metadata.json +0 -1
  437. package/dist/es2015/layouts/gridlayout-item.component.js +0 -53
  438. package/dist/es2015/layouts/models/gridlayout-gap-settings.js +0 -4
  439. package/dist/es2015/layouts/models/gridlayout-row-col-size.js +0 -4
  440. package/dist/es2015/layouts/models/layout-align-settings.js +0 -4
  441. package/dist/es2015/layouts/models/layout-horizontal-align.js +0 -4
  442. package/dist/es2015/layouts/models/layout-vertical-align.js +0 -4
  443. package/dist/es2015/layouts/models.js +0 -4
  444. package/dist/es2015/main.js +0 -72
  445. package/dist/es2015/panelbar/panelbar-content.directive.js +0 -22
  446. package/dist/es2015/panelbar/panelbar-expand-mode.js +0 -30
  447. package/dist/es2015/panelbar/panelbar-item-model.js +0 -4
  448. package/dist/es2015/panelbar/panelbar-item-template.directive.js +0 -22
  449. package/dist/es2015/panelbar/panelbar-item.component.js +0 -492
  450. package/dist/es2015/panelbar.module.d.ts +0 -17
  451. package/dist/es2015/splitter.module.d.ts +0 -14
  452. package/dist/es2015/stacklayout.module.js +0 -28
  453. package/dist/es2015/stepper/list.component.js +0 -161
  454. package/dist/es2015/stepper/localization/custom-messages.component.js +0 -36
  455. package/dist/es2015/stepper/localization/localized-messages.directive.js +0 -33
  456. package/dist/es2015/stepper/localization/messages.js +0 -16
  457. package/dist/es2015/stepper/models/orientation.js +0 -4
  458. package/dist/es2015/stepper/models/step-predicate.js +0 -4
  459. package/dist/es2015/stepper/models/step-type.js +0 -4
  460. package/dist/es2015/stepper/models/stepper-step.interface.js +0 -4
  461. package/dist/es2015/stepper/template-directives/indicator-template.directive.js +0 -24
  462. package/dist/es2015/stepper/template-directives/label-template.directive.js +0 -24
  463. package/dist/es2015/stepper/template-directives/step-template.directive.js +0 -24
  464. package/dist/es2015/stepper/template-directives.js +0 -7
  465. package/dist/es2015/stepper/types.js +0 -4
  466. package/dist/es2015/stepper.module.d.ts +0 -10
  467. package/dist/es2015/tabstrip/localization/custom-messages.component.js +0 -36
  468. package/dist/es2015/tabstrip/localization/localized-messages.directive.js +0 -31
  469. package/dist/es2015/tabstrip/localization/messages.js +0 -16
  470. package/dist/es2015/tabstrip/models/button-state-change.js +0 -4
  471. package/dist/es2015/tabstrip/models/scroll-buttons-visibility.js +0 -4
  472. package/dist/es2015/tabstrip/models/tab-alignment.js +0 -4
  473. package/dist/es2015/tabstrip/models/tab-position.js +0 -4
  474. package/dist/es2015/tabstrip/models/tabstrip-tab.component.js +0 -82
  475. package/dist/es2015/tabstrip/rendering/tab.component.d.ts +0 -28
  476. package/dist/es2015/tabstrip/rendering/tab.component.js +0 -116
  477. package/dist/es2015/tabstrip/scrollable-button.component.d.ts +0 -29
  478. package/dist/es2015/tabstrip/scrollable-button.component.js +0 -110
  479. package/dist/es2015/tabstrip.module.d.ts +0 -16
  480. package/dist/es2015/tilelayout/models/dragging-config.interface.js +0 -4
  481. package/dist/es2015/tilelayout/models/flowmode.type.js +0 -4
  482. package/dist/es2015/tilelayout/models/gap.interface.js +0 -4
  483. package/dist/es2015/tilelayout/preventable-event.d.ts +0 -21
  484. package/dist/es2015/tilelayout/preventable-event.js +0 -27
  485. package/dist/es2015/tilelayout/tilelayout-item-body.component.js +0 -36
  486. package/dist/es2015/tilelayout/tilelayout-item-header.component.js +0 -48
  487. package/dist/es2015/tilelayout.module.d.ts +0 -16
  488. package/dist/fesm5/index.js +0 -9179
  489. package/dist/npm/avatar/avatar.component.js +0 -359
  490. package/dist/npm/avatar/models/fill.js +0 -6
  491. package/dist/npm/avatar/models/models.js +0 -6
  492. package/dist/npm/avatar/models/rounded.js +0 -6
  493. package/dist/npm/avatar/models/shape.js +0 -6
  494. package/dist/npm/avatar/models/size.js +0 -6
  495. package/dist/npm/avatar/models/theme-color.js +0 -6
  496. package/dist/npm/avatar.module.js +0 -31
  497. package/dist/npm/card/card-actions.component.js +0 -153
  498. package/dist/npm/card/card-body.component.js +0 -28
  499. package/dist/npm/card/card-footer.component.js +0 -28
  500. package/dist/npm/card/card-header.component.js +0 -28
  501. package/dist/npm/card/card.component.js +0 -116
  502. package/dist/npm/card/directives/card-media.directive.js +0 -27
  503. package/dist/npm/card/directives/card-separator.directive.js +0 -68
  504. package/dist/npm/card/directives/card-subtitle.directive.js +0 -27
  505. package/dist/npm/card/directives/card-title.directive.js +0 -27
  506. package/dist/npm/card/models/actions-layout.js +0 -6
  507. package/dist/npm/card/models/card-action.js +0 -15
  508. package/dist/npm/card.module.js +0 -49
  509. package/dist/npm/common/direction.js +0 -6
  510. package/dist/npm/common/dom-queries.js +0 -55
  511. package/dist/npm/common/orientation.js +0 -6
  512. package/dist/npm/common/preventable-event.js +0 -38
  513. package/dist/npm/common/styling-classes.js +0 -6
  514. package/dist/npm/common/util.js +0 -93
  515. package/dist/npm/drawer/animations.js +0 -150
  516. package/dist/npm/drawer/drawer-container.component.js +0 -135
  517. package/dist/npm/drawer/drawer-content.component.js +0 -30
  518. package/dist/npm/drawer/drawer.component.js +0 -407
  519. package/dist/npm/drawer/drawer.service.js +0 -47
  520. package/dist/npm/drawer/events/select-event.js +0 -19
  521. package/dist/npm/drawer/item.component.js +0 -125
  522. package/dist/npm/drawer/list.component.js +0 -121
  523. package/dist/npm/drawer/models/constants.js +0 -10
  524. package/dist/npm/drawer/models/drawer-animation.interface.js +0 -6
  525. package/dist/npm/drawer/models/drawer-item.interface.js +0 -6
  526. package/dist/npm/drawer/models/mode.js +0 -6
  527. package/dist/npm/drawer/models/position.js +0 -6
  528. package/dist/npm/drawer/template-directives/drawer-template.directive.js +0 -29
  529. package/dist/npm/drawer/template-directives/footer-template.directive.js +0 -27
  530. package/dist/npm/drawer/template-directives/header-template.directive.js +0 -27
  531. package/dist/npm/drawer/template-directives/item-template.directive.js +0 -27
  532. package/dist/npm/drawer/template-directives.js +0 -14
  533. package/dist/npm/drawer/types.js +0 -6
  534. package/dist/npm/drawer/util.js +0 -18
  535. package/dist/npm/drawer.module.js +0 -47
  536. package/dist/npm/expansionpanel/animations.js +0 -27
  537. package/dist/npm/expansionpanel/events/action-event.js +0 -19
  538. package/dist/npm/expansionpanel/expansionpanel-title.directive.js +0 -28
  539. package/dist/npm/expansionpanel/expansionpanel.component.js +0 -443
  540. package/dist/npm/expansionpanel.module.js +0 -34
  541. package/dist/npm/gridlayout.module.js +0 -33
  542. package/dist/npm/index.js +0 -53
  543. package/dist/npm/layout.module.js +0 -73
  544. package/dist/npm/layouts/grid-layout.component.js +0 -157
  545. package/dist/npm/layouts/gridlayout-item.component.js +0 -54
  546. package/dist/npm/layouts/models/gridlayout-gap-settings.js +0 -6
  547. package/dist/npm/layouts/models/gridlayout-row-col-size.js +0 -6
  548. package/dist/npm/layouts/models/layout-align-settings.js +0 -6
  549. package/dist/npm/layouts/models/layout-horizontal-align.js +0 -6
  550. package/dist/npm/layouts/models/layout-vertical-align.js +0 -6
  551. package/dist/npm/layouts/models.js +0 -6
  552. package/dist/npm/layouts/stack-layout.component.js +0 -173
  553. package/dist/npm/layouts/util.js +0 -104
  554. package/dist/npm/main.js +0 -132
  555. package/dist/npm/package-metadata.js +0 -17
  556. package/dist/npm/panelbar/panelbar-content.directive.js +0 -25
  557. package/dist/npm/panelbar/panelbar-expand-mode.js +0 -32
  558. package/dist/npm/panelbar/panelbar-item-model.js +0 -6
  559. package/dist/npm/panelbar/panelbar-item-template.directive.js +0 -25
  560. package/dist/npm/panelbar/panelbar-item-title.directive.js +0 -48
  561. package/dist/npm/panelbar/panelbar-item.component.js +0 -457
  562. package/dist/npm/panelbar/panelbar.component.js +0 -559
  563. package/dist/npm/panelbar/panelbar.service.js +0 -45
  564. package/dist/npm/panelbar.module.js +0 -46
  565. package/dist/npm/splitter/splitter-bar.component.js +0 -287
  566. package/dist/npm/splitter/splitter-pane.component.js +0 -272
  567. package/dist/npm/splitter/splitter.component.js +0 -228
  568. package/dist/npm/splitter/splitter.service.js +0 -155
  569. package/dist/npm/splitter.module.js +0 -44
  570. package/dist/npm/stacklayout.module.js +0 -31
  571. package/dist/npm/stepper/events/activate-event.js +0 -19
  572. package/dist/npm/stepper/list.component.js +0 -146
  573. package/dist/npm/stepper/localization/custom-messages.component.js +0 -46
  574. package/dist/npm/stepper/localization/localized-messages.directive.js +0 -37
  575. package/dist/npm/stepper/localization/messages.js +0 -24
  576. package/dist/npm/stepper/models/constants.js +0 -10
  577. package/dist/npm/stepper/models/orientation.js +0 -6
  578. package/dist/npm/stepper/models/step-predicate.js +0 -6
  579. package/dist/npm/stepper/models/step-type.js +0 -6
  580. package/dist/npm/stepper/models/stepper-step.interface.js +0 -6
  581. package/dist/npm/stepper/step.component.js +0 -274
  582. package/dist/npm/stepper/stepper.component.js +0 -330
  583. package/dist/npm/stepper/stepper.service.js +0 -163
  584. package/dist/npm/stepper/template-directives/indicator-template.directive.js +0 -27
  585. package/dist/npm/stepper/template-directives/label-template.directive.js +0 -27
  586. package/dist/npm/stepper/template-directives/step-template.directive.js +0 -27
  587. package/dist/npm/stepper/template-directives.js +0 -12
  588. package/dist/npm/stepper/types.js +0 -6
  589. package/dist/npm/stepper.module.js +0 -49
  590. package/dist/npm/tabstrip/constants.js +0 -35
  591. package/dist/npm/tabstrip/directives/tab-content.directive.js +0 -51
  592. package/dist/npm/tabstrip/directives/tab-title.directive.js +0 -56
  593. package/dist/npm/tabstrip/events/select-event.js +0 -28
  594. package/dist/npm/tabstrip/events/tabclose-event.js +0 -24
  595. package/dist/npm/tabstrip/events/tabscroll-event.js +0 -21
  596. package/dist/npm/tabstrip/events.js +0 -10
  597. package/dist/npm/tabstrip/localization/custom-messages.component.js +0 -46
  598. package/dist/npm/tabstrip/localization/localized-messages.directive.js +0 -37
  599. package/dist/npm/tabstrip/localization/messages.js +0 -24
  600. package/dist/npm/tabstrip/models/button-state-change.js +0 -6
  601. package/dist/npm/tabstrip/models/scroll-buttons-visibility.js +0 -6
  602. package/dist/npm/tabstrip/models/scrollable-settings.js +0 -30
  603. package/dist/npm/tabstrip/models/tab-alignment.js +0 -6
  604. package/dist/npm/tabstrip/models/tab-position.js +0 -6
  605. package/dist/npm/tabstrip/models/tabstrip-tab.component.js +0 -90
  606. package/dist/npm/tabstrip/rendering/tab.component.js +0 -133
  607. package/dist/npm/tabstrip/scrollable-button.component.js +0 -133
  608. package/dist/npm/tabstrip/tabstrip-scroll.service.js +0 -228
  609. package/dist/npm/tabstrip/tabstrip.component.js +0 -531
  610. package/dist/npm/tabstrip/tabstrip.service.js +0 -160
  611. package/dist/npm/tabstrip/util.js +0 -113
  612. package/dist/npm/tabstrip.module.js +0 -53
  613. package/dist/npm/tilelayout/constants.js +0 -72
  614. package/dist/npm/tilelayout/dragging-service.js +0 -432
  615. package/dist/npm/tilelayout/models/dragging-config.interface.js +0 -6
  616. package/dist/npm/tilelayout/models/flowmode.type.js +0 -6
  617. package/dist/npm/tilelayout/models/gap.interface.js +0 -6
  618. package/dist/npm/tilelayout/preventable-event.js +0 -31
  619. package/dist/npm/tilelayout/reorder-event.js +0 -41
  620. package/dist/npm/tilelayout/resize-event.js +0 -37
  621. package/dist/npm/tilelayout/tilelayout-item-body.component.js +0 -34
  622. package/dist/npm/tilelayout/tilelayout-item-header.component.js +0 -57
  623. package/dist/npm/tilelayout/tilelayout-item.component.js +0 -200
  624. package/dist/npm/tilelayout/tilelayout-resize-handle.directive.js +0 -63
  625. package/dist/npm/tilelayout/tilelayout.component.js +0 -346
  626. package/dist/npm/tilelayout/util.js +0 -90
  627. package/dist/npm/tilelayout.module.js +0 -45
  628. package/dist/systemjs/kendo-angular-layout.js +0 -5
@@ -1,133 +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
- import * as tslib_1 from "tslib";
6
- import { Component, HostBinding, ContentChild } from '@angular/core';
7
- import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
8
- import { DrawerComponent } from './drawer.component';
9
- import { isPresent } from '../common/util';
10
- /**
11
- * Serves as a container for the [Kendo UI Drawer component for Angular]({% slug overview_drawer %}) and its content.
12
- */
13
- var DrawerContainerComponent = /** @class */ (function () {
14
- function DrawerContainerComponent(localizationService) {
15
- var _this = this;
16
- this.localizationService = localizationService;
17
- this.rtl = false;
18
- this.dynamicRTLSubscription = this.localizationService.changes.subscribe(function (_a) {
19
- var rtl = _a.rtl;
20
- _this.rtl = rtl;
21
- _this.direction = _this.rtl ? 'rtl' : 'ltr';
22
- });
23
- }
24
- Object.defineProperty(DrawerContainerComponent.prototype, "hostClass", {
25
- get: function () {
26
- return true;
27
- },
28
- enumerable: true,
29
- configurable: true
30
- });
31
- Object.defineProperty(DrawerContainerComponent.prototype, "overlayClass", {
32
- get: function () {
33
- return this.drawer.mode === 'overlay';
34
- },
35
- enumerable: true,
36
- configurable: true
37
- });
38
- Object.defineProperty(DrawerContainerComponent.prototype, "miniClass", {
39
- get: function () {
40
- return this.drawer.mini;
41
- },
42
- enumerable: true,
43
- configurable: true
44
- });
45
- Object.defineProperty(DrawerContainerComponent.prototype, "pushClass", {
46
- get: function () {
47
- return this.drawer.mode === 'push';
48
- },
49
- enumerable: true,
50
- configurable: true
51
- });
52
- Object.defineProperty(DrawerContainerComponent.prototype, "isExpandedClass", {
53
- get: function () {
54
- return this.drawer.expanded;
55
- },
56
- enumerable: true,
57
- configurable: true
58
- });
59
- DrawerContainerComponent.prototype.ngOnDestroy = function () {
60
- if (this.dynamicRTLSubscription) {
61
- this.dynamicRTLSubscription.unsubscribe();
62
- }
63
- };
64
- Object.defineProperty(DrawerContainerComponent.prototype, "overlay", {
65
- /**
66
- * @hidden
67
- */
68
- get: function () {
69
- return isPresent(this.drawer) &&
70
- this.drawer.expanded &&
71
- this.drawer.mode === 'overlay';
72
- },
73
- enumerable: true,
74
- configurable: true
75
- });
76
- /**
77
- * @hidden
78
- */
79
- DrawerContainerComponent.prototype.closeDrawer = function () {
80
- if (this.overlay && this.drawer.autoCollapse) {
81
- this.drawer.toggle(false);
82
- }
83
- };
84
- tslib_1.__decorate([
85
- HostBinding('class.k-drawer-container'),
86
- tslib_1.__metadata("design:type", Boolean),
87
- tslib_1.__metadata("design:paramtypes", [])
88
- ], DrawerContainerComponent.prototype, "hostClass", null);
89
- tslib_1.__decorate([
90
- HostBinding('class.k-drawer-overlay'),
91
- tslib_1.__metadata("design:type", Boolean),
92
- tslib_1.__metadata("design:paramtypes", [])
93
- ], DrawerContainerComponent.prototype, "overlayClass", null);
94
- tslib_1.__decorate([
95
- HostBinding('class.k-drawer-mini'),
96
- tslib_1.__metadata("design:type", Boolean),
97
- tslib_1.__metadata("design:paramtypes", [])
98
- ], DrawerContainerComponent.prototype, "miniClass", null);
99
- tslib_1.__decorate([
100
- HostBinding('class.k-drawer-push'),
101
- tslib_1.__metadata("design:type", Boolean),
102
- tslib_1.__metadata("design:paramtypes", [])
103
- ], DrawerContainerComponent.prototype, "pushClass", null);
104
- tslib_1.__decorate([
105
- HostBinding('class.k-drawer-expanded'),
106
- tslib_1.__metadata("design:type", Boolean),
107
- tslib_1.__metadata("design:paramtypes", [])
108
- ], DrawerContainerComponent.prototype, "isExpandedClass", null);
109
- tslib_1.__decorate([
110
- HostBinding('attr.dir'),
111
- tslib_1.__metadata("design:type", String)
112
- ], DrawerContainerComponent.prototype, "direction", void 0);
113
- tslib_1.__decorate([
114
- ContentChild(DrawerComponent, { static: false }),
115
- tslib_1.__metadata("design:type", DrawerComponent)
116
- ], DrawerContainerComponent.prototype, "drawer", void 0);
117
- DrawerContainerComponent = tslib_1.__decorate([
118
- Component({
119
- selector: 'kendo-drawer-container',
120
- providers: [
121
- LocalizationService,
122
- {
123
- provide: L10N_PREFIX,
124
- useValue: 'kendo.drawer.container'
125
- }
126
- ],
127
- template: "\n <div class=\"k-overlay\" *ngIf=\"overlay\" (click)=\"closeDrawer()\"></div>\n <ng-content></ng-content>\n "
128
- }),
129
- tslib_1.__metadata("design:paramtypes", [LocalizationService])
130
- ], DrawerContainerComponent);
131
- return DrawerContainerComponent;
132
- }());
133
- export { DrawerContainerComponent };
@@ -1,28 +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
- import * as tslib_1 from "tslib";
6
- import { Component, HostBinding, ViewEncapsulation } from '@angular/core';
7
- /**
8
- * Represents the content of the [Kendo UI Drawer component for Angular]({% slug overview_drawer %}).
9
- */
10
- var DrawerContentComponent = /** @class */ (function () {
11
- function DrawerContentComponent() {
12
- this.hostClasses = true;
13
- }
14
- tslib_1.__decorate([
15
- HostBinding('class.k-drawer-content'),
16
- tslib_1.__metadata("design:type", Boolean)
17
- ], DrawerContentComponent.prototype, "hostClasses", void 0);
18
- DrawerContentComponent = tslib_1.__decorate([
19
- Component({
20
- selector: 'kendo-drawer-content',
21
- template: "\n <ng-content></ng-content>\n ",
22
- encapsulation: ViewEncapsulation.None
23
- }),
24
- tslib_1.__metadata("design:paramtypes", [])
25
- ], DrawerContentComponent);
26
- return DrawerContentComponent;
27
- }());
28
- export { DrawerContentComponent };
@@ -1,405 +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
- import * as tslib_1 from "tslib";
6
- import { Component, ContentChild, ElementRef, EventEmitter, HostBinding, Input, Output } from '@angular/core';
7
- import { validatePackage } from '@progress/kendo-licensing';
8
- import { packageMetadata } from '../package-metadata';
9
- import { DrawerTemplateDirective, DrawerItemTemplateDirective, DrawerHeaderTemplateDirective, DrawerFooterTemplateDirective } from './template-directives';
10
- import { isPresent } from '../common/util';
11
- import { AnimationBuilder } from '@angular/animations';
12
- import { collapseAnimation, expandAnimation } from './animations';
13
- import { take } from 'rxjs/operators';
14
- import { DrawerService } from './drawer.service';
15
- import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
16
- var DEFAULT_ANIMATION = { type: 'slide', duration: 200 };
17
- /**
18
- * Represents the [Kendo UI Drawer component for Angular]({% slug overview_drawer %}).
19
- *
20
- * @example
21
- * ```ts-preview
22
- * _@Component({
23
- * selector: 'my-app',
24
- * template: `
25
- * <kendo-drawer-container>
26
- * <kendo-drawer #drawer
27
- * [items]="items"
28
- * mode="overlay"
29
- * [(expanded)]="expanded">
30
- * </kendo-drawer>
31
- * <kendo-drawer-content>
32
- * <button class="k-button" (click)="drawer.toggle()">Open the Drawer</button>
33
- * </kendo-drawer-content>
34
- * </kendo-drawer-container>
35
- * `
36
- * })
37
- * class AppComponent {
38
- * public expanded = false;
39
- *
40
- * public items: any[] = [
41
- * { text: 'Inbox', icon: 'k-i-inbox' },
42
- * { text: 'Notifications', icon: 'k-i-bell' },
43
- * { text: 'Date', icon: 'k-i-calendar' }
44
- * ];
45
- * }
46
- * ```
47
- */
48
- var DrawerComponent = /** @class */ (function () {
49
- function DrawerComponent(element, builder, localizationService, drawerService) {
50
- var _this = this;
51
- this.element = element;
52
- this.builder = builder;
53
- this.localizationService = localizationService;
54
- this.drawerService = drawerService;
55
- this.hostClasses = true;
56
- /**
57
- * Specifies the mode in which the Drawer will be displayed.
58
- *
59
- * The possible values are:
60
- * * (Default) `overlay`
61
- * * `push`
62
- */
63
- this.mode = 'overlay';
64
- /**
65
- * Specifies the position of the Drawer
66
- * ([see example]({% slug positioning_drawer %})).
67
- *
68
- * The possible values are:
69
- * * (Default) `start`
70
- * * `end`
71
- */
72
- this.position = 'start';
73
- /**
74
- * Enables the mini (compact) view of the Drawer which is displayed when the component is collapsed
75
- * ([see example]({% slug expandmodespositions_drawer %}#toc-mini-view)).
76
- */
77
- this.mini = false;
78
- /**
79
- * Specifies the state of the Drawer.
80
- */
81
- this.expanded = false;
82
- /**
83
- * Defines the width of the Drawer when it is expanded.
84
- * Defaults to `240`.
85
- */
86
- this.width = 240;
87
- /**
88
- * Defines the width of the Drawer when the mini view is enabled
89
- * and the component is collapsed. Defaults to `60`.
90
- */
91
- this.miniWidth = 50;
92
- /**
93
- * Specifies if the Drawer will be automatically collapsed when an item
94
- * or the overlay is clicked. Defaults to `true`.
95
- */
96
- this.autoCollapse = true;
97
- /**
98
- * Specifies the animation settings of the Drawer.
99
- * ([see example]({% slug interaction_drawer %}#toc-toggling-between-states)).
100
- *
101
- * The possible values are:
102
- * * Boolean
103
- * * (Default) `true`
104
- * * `false`
105
- * * `DrawerAnimation`
106
- * * (Default) `type?: 'slide'`
107
- * * `duration`&mdash;Accepts a number in milliseconds. Defaults to `300ms`.
108
- */
109
- this.animation = DEFAULT_ANIMATION;
110
- /**
111
- * Fires when the Drawer is expanded and its animation is complete.
112
- */
113
- this.expand = new EventEmitter();
114
- /**
115
- * Fires when the Drawer is collapsed and its animation is complete.
116
- */
117
- this.collapse = new EventEmitter();
118
- /**
119
- * Fires when a Drawer item is selected. This event is preventable.
120
- */
121
- this.select = new EventEmitter();
122
- /**
123
- * Fires when the `expanded` property of the component was updated.
124
- * Used to provide a two-way binding for the `expanded` property.
125
- */
126
- this.expandedChange = new EventEmitter();
127
- this.animationEnd = new EventEmitter();
128
- this.rtl = false;
129
- this._items = [];
130
- validatePackage(packageMetadata);
131
- this.dynamicRTLSubscription = this.localizationService.changes.subscribe(function (_a) {
132
- var rtl = _a.rtl;
133
- _this.rtl = rtl;
134
- _this.direction = _this.rtl ? 'rtl' : 'ltr';
135
- });
136
- this.drawerService.owner = this;
137
- }
138
- Object.defineProperty(DrawerComponent.prototype, "startPositionClass", {
139
- get: function () {
140
- return this.position === 'start';
141
- },
142
- enumerable: true,
143
- configurable: true
144
- });
145
- Object.defineProperty(DrawerComponent.prototype, "endPositionClass", {
146
- get: function () {
147
- return this.position === 'end';
148
- },
149
- enumerable: true,
150
- configurable: true
151
- });
152
- Object.defineProperty(DrawerComponent.prototype, "overlayTransofrmStyles", {
153
- get: function () {
154
- if (this.mode === 'push') {
155
- return;
156
- }
157
- if (this.expanded || this.minimized) {
158
- return "translateX(0px)";
159
- }
160
- return "translateX(-100%)";
161
- },
162
- enumerable: true,
163
- configurable: true
164
- });
165
- Object.defineProperty(DrawerComponent.prototype, "flexStyles", {
166
- get: function () {
167
- if (this.mode === 'overlay') {
168
- return;
169
- }
170
- if (!this.expanded && !this.minimized) {
171
- return 0;
172
- }
173
- return this.drawerWidth;
174
- },
175
- enumerable: true,
176
- configurable: true
177
- });
178
- Object.defineProperty(DrawerComponent.prototype, "items", {
179
- get: function () {
180
- return this._items;
181
- },
182
- /**
183
- * The collection of items that will be rendered in the Drawer.
184
- */
185
- set: function (items) {
186
- if (isPresent(items)) {
187
- this._items = items;
188
- this.drawerService.initSelection();
189
- }
190
- },
191
- enumerable: true,
192
- configurable: true
193
- });
194
- DrawerComponent.prototype.ngOnDestroy = function () {
195
- if (this.dynamicRTLSubscription) {
196
- this.dynamicRTLSubscription.unsubscribe();
197
- }
198
- };
199
- Object.defineProperty(DrawerComponent.prototype, "minimized", {
200
- /**
201
- * @hidden
202
- */
203
- get: function () {
204
- return this.mini && !this.expanded;
205
- },
206
- enumerable: true,
207
- configurable: true
208
- });
209
- Object.defineProperty(DrawerComponent.prototype, "drawerWidth", {
210
- /**
211
- * @hidden
212
- */
213
- get: function () {
214
- return this.minimized ? this.miniWidth : this.width;
215
- },
216
- enumerable: true,
217
- configurable: true
218
- });
219
- /**
220
- * Toggles the visibility of the Drawer.
221
- *
222
- * @param expanded? - Boolean. Specifies if the Drawer will be expanded or collapsed.
223
- */
224
- DrawerComponent.prototype.toggle = function (expanded) {
225
- var _this = this;
226
- var previous = this.expanded;
227
- var current = isPresent(expanded) ? expanded : !previous;
228
- if (current === previous) {
229
- return;
230
- }
231
- if (current === true) {
232
- this.setExpanded(true);
233
- }
234
- else if (current === false && !this.animation) {
235
- this.setExpanded(false);
236
- }
237
- if (this.animation) {
238
- this.animationEnd.pipe(take(1))
239
- .subscribe(function () { _this.onAnimationEnd(current); });
240
- this.animate(current);
241
- }
242
- else {
243
- this[current ? 'expand' : 'collapse'].emit();
244
- }
245
- };
246
- DrawerComponent.prototype.onAnimationEnd = function (currentExpanded) {
247
- if (currentExpanded) {
248
- this.expand.emit();
249
- }
250
- else {
251
- this.setExpanded(false);
252
- this.collapse.emit();
253
- }
254
- };
255
- DrawerComponent.prototype.setExpanded = function (value) {
256
- this.expanded = value;
257
- this.expandedChange.emit(value);
258
- };
259
- DrawerComponent.prototype.animate = function (expanded) {
260
- var settings = {
261
- mode: this.mode,
262
- mini: this.mini,
263
- miniWidth: this.miniWidth,
264
- width: this.width,
265
- rtl: this.rtl,
266
- position: this.position,
267
- animation: (typeof this.animation !== 'boolean') ? this.animation : DEFAULT_ANIMATION
268
- };
269
- var animation = expanded ? expandAnimation(settings) : collapseAnimation(settings);
270
- var player = this.createPlayer(animation, this.element.nativeElement);
271
- player.play();
272
- };
273
- DrawerComponent.prototype.createPlayer = function (animation, animatedElement) {
274
- var _this = this;
275
- var factory = this.builder.build(animation);
276
- var player = factory.create(animatedElement);
277
- player.onDone(function () {
278
- if (player) {
279
- _this.animationEnd.emit();
280
- player.destroy();
281
- player = null;
282
- }
283
- });
284
- return player;
285
- };
286
- tslib_1.__decorate([
287
- HostBinding('class.k-widget'),
288
- HostBinding('class.k-drawer'),
289
- tslib_1.__metadata("design:type", Boolean)
290
- ], DrawerComponent.prototype, "hostClasses", void 0);
291
- tslib_1.__decorate([
292
- HostBinding('class.k-drawer-start'),
293
- tslib_1.__metadata("design:type", Boolean),
294
- tslib_1.__metadata("design:paramtypes", [])
295
- ], DrawerComponent.prototype, "startPositionClass", null);
296
- tslib_1.__decorate([
297
- HostBinding('class.k-drawer-end'),
298
- tslib_1.__metadata("design:type", Boolean),
299
- tslib_1.__metadata("design:paramtypes", [])
300
- ], DrawerComponent.prototype, "endPositionClass", null);
301
- tslib_1.__decorate([
302
- HostBinding('style.transform'),
303
- tslib_1.__metadata("design:type", String),
304
- tslib_1.__metadata("design:paramtypes", [])
305
- ], DrawerComponent.prototype, "overlayTransofrmStyles", null);
306
- tslib_1.__decorate([
307
- HostBinding('style.flexBasis.px'),
308
- tslib_1.__metadata("design:type", Number),
309
- tslib_1.__metadata("design:paramtypes", [])
310
- ], DrawerComponent.prototype, "flexStyles", null);
311
- tslib_1.__decorate([
312
- Input(),
313
- tslib_1.__metadata("design:type", String)
314
- ], DrawerComponent.prototype, "mode", void 0);
315
- tslib_1.__decorate([
316
- Input(),
317
- tslib_1.__metadata("design:type", String)
318
- ], DrawerComponent.prototype, "position", void 0);
319
- tslib_1.__decorate([
320
- Input(),
321
- tslib_1.__metadata("design:type", Boolean)
322
- ], DrawerComponent.prototype, "mini", void 0);
323
- tslib_1.__decorate([
324
- Input(),
325
- tslib_1.__metadata("design:type", Boolean)
326
- ], DrawerComponent.prototype, "expanded", void 0);
327
- tslib_1.__decorate([
328
- Input(),
329
- tslib_1.__metadata("design:type", Number)
330
- ], DrawerComponent.prototype, "width", void 0);
331
- tslib_1.__decorate([
332
- Input(),
333
- tslib_1.__metadata("design:type", Number)
334
- ], DrawerComponent.prototype, "miniWidth", void 0);
335
- tslib_1.__decorate([
336
- Input(),
337
- tslib_1.__metadata("design:type", Boolean)
338
- ], DrawerComponent.prototype, "autoCollapse", void 0);
339
- tslib_1.__decorate([
340
- Input(),
341
- tslib_1.__metadata("design:type", Array),
342
- tslib_1.__metadata("design:paramtypes", [Array])
343
- ], DrawerComponent.prototype, "items", null);
344
- tslib_1.__decorate([
345
- HostBinding('attr.dir'),
346
- tslib_1.__metadata("design:type", String)
347
- ], DrawerComponent.prototype, "direction", void 0);
348
- tslib_1.__decorate([
349
- Input(),
350
- tslib_1.__metadata("design:type", Object)
351
- ], DrawerComponent.prototype, "animation", void 0);
352
- tslib_1.__decorate([
353
- Output(),
354
- tslib_1.__metadata("design:type", EventEmitter)
355
- ], DrawerComponent.prototype, "expand", void 0);
356
- tslib_1.__decorate([
357
- Output(),
358
- tslib_1.__metadata("design:type", EventEmitter)
359
- ], DrawerComponent.prototype, "collapse", void 0);
360
- tslib_1.__decorate([
361
- Output(),
362
- tslib_1.__metadata("design:type", EventEmitter)
363
- ], DrawerComponent.prototype, "select", void 0);
364
- tslib_1.__decorate([
365
- Output(),
366
- tslib_1.__metadata("design:type", EventEmitter)
367
- ], DrawerComponent.prototype, "expandedChange", void 0);
368
- tslib_1.__decorate([
369
- ContentChild(DrawerTemplateDirective, { static: false }),
370
- tslib_1.__metadata("design:type", DrawerTemplateDirective)
371
- ], DrawerComponent.prototype, "drawerTemplate", void 0);
372
- tslib_1.__decorate([
373
- ContentChild(DrawerFooterTemplateDirective, { static: false }),
374
- tslib_1.__metadata("design:type", DrawerFooterTemplateDirective)
375
- ], DrawerComponent.prototype, "footerTemplate", void 0);
376
- tslib_1.__decorate([
377
- ContentChild(DrawerHeaderTemplateDirective, { static: false }),
378
- tslib_1.__metadata("design:type", DrawerHeaderTemplateDirective)
379
- ], DrawerComponent.prototype, "headerTemplate", void 0);
380
- tslib_1.__decorate([
381
- ContentChild(DrawerItemTemplateDirective, { static: false }),
382
- tslib_1.__metadata("design:type", DrawerItemTemplateDirective)
383
- ], DrawerComponent.prototype, "itemTemplate", void 0);
384
- DrawerComponent = tslib_1.__decorate([
385
- Component({
386
- exportAs: 'kendoDrawer',
387
- providers: [
388
- LocalizationService,
389
- DrawerService,
390
- {
391
- provide: L10N_PREFIX,
392
- useValue: 'kendo.drawer'
393
- }
394
- ],
395
- selector: 'kendo-drawer',
396
- template: "\n <div class=\"k-drawer-wrapper\" *ngIf=\"expanded || mini\" [style.width.px]=\"drawerWidth\">\n <ng-container *ngIf=\"!drawerTemplate\">\n <ng-template *ngIf=\"headerTemplate\"\n [ngTemplateOutlet]=\"headerTemplate?.templateRef\">\n </ng-template>\n\n <ul kendoDrawerList\n [items]=\"items\" [mini]=\"mini\" [expanded]=\"expanded\"\n [itemTemplate]=\"itemTemplate?.templateRef\"\n class=\"k-drawer-items\">\n </ul>\n\n <ng-template *ngIf=\"footerTemplate\"\n [ngTemplateOutlet]=\"footerTemplate?.templateRef\">\n </ng-template>\n </ng-container>\n\n <ng-template *ngIf=\"drawerTemplate\"\n [ngTemplateOutlet]=\"drawerTemplate?.templateRef\">\n </ng-template>\n </div>\n "
397
- }),
398
- tslib_1.__metadata("design:paramtypes", [ElementRef,
399
- AnimationBuilder,
400
- LocalizationService,
401
- DrawerService])
402
- ], DrawerComponent);
403
- return DrawerComponent;
404
- }());
405
- export { DrawerComponent };
@@ -1,45 +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
- import * as tslib_1 from "tslib";
6
- import { Injectable } from '@angular/core';
7
- import { hasObservers } from '@progress/kendo-angular-common';
8
- import { DrawerSelectEvent } from './events/select-event';
9
- /**
10
- * @hidden
11
- */
12
- var DrawerService = /** @class */ (function () {
13
- function DrawerService() {
14
- this.selectedIndices = [];
15
- }
16
- DrawerService.prototype.emit = function (event, args) {
17
- var drawer = this.owner;
18
- var eventArgs = new DrawerSelectEvent(tslib_1.__assign({}, args, { sender: drawer }));
19
- if (hasObservers(drawer[event])) {
20
- drawer[event].emit(eventArgs);
21
- }
22
- return eventArgs.isDefaultPrevented();
23
- };
24
- DrawerService.prototype.onSelect = function (selectedIdx) {
25
- this.selectedIndices = [selectedIdx];
26
- var drawer = this.owner;
27
- if (drawer.autoCollapse && !drawer.minimized) {
28
- drawer.toggle(false);
29
- }
30
- };
31
- DrawerService.prototype.initSelection = function () {
32
- var items = this.owner.items;
33
- this.selectedIndices = [];
34
- for (var i = 0; i < items.length; i++) {
35
- if (items[i].selected) {
36
- this.selectedIndices.push(i);
37
- }
38
- }
39
- };
40
- DrawerService = tslib_1.__decorate([
41
- Injectable()
42
- ], DrawerService);
43
- return DrawerService;
44
- }());
45
- export { DrawerService };
@@ -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
- import * as tslib_1 from "tslib";
6
- import { PreventableEvent } from '../../common/preventable-event';
7
- /**
8
- * Arguments for the `select` event of the Drawer.
9
- */
10
- var DrawerSelectEvent = /** @class */ (function (_super) {
11
- tslib_1.__extends(DrawerSelectEvent, _super);
12
- function DrawerSelectEvent() {
13
- return _super !== null && _super.apply(this, arguments) || this;
14
- }
15
- return DrawerSelectEvent;
16
- }(PreventableEvent));
17
- export { DrawerSelectEvent };