@progress/kendo-angular-layout 6.5.2 → 7.0.0-next.202203231147

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 (619) hide show
  1. package/{dist/es2015/avatar → avatar}/avatar.component.d.ts +18 -11
  2. package/{dist/es2015/avatar → avatar}/models/fill.d.ts +0 -0
  3. package/{dist/es2015/avatar → avatar}/models/models.d.ts +0 -0
  4. package/{dist/es2015/avatar → avatar}/models/rounded.d.ts +0 -0
  5. package/{dist/es2015/avatar → avatar}/models/shape.d.ts +0 -0
  6. package/{dist/es2015/avatar → avatar}/models/size.d.ts +0 -0
  7. package/{dist/es2015/avatar → avatar}/models/theme-color.d.ts +0 -0
  8. package/{dist/es2015/avatar.module.d.ts → avatar.module.d.ts} +6 -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/{dist/es2015/card → card}/card-body.component.d.ts +3 -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}/styling-classes.d.ts +0 -0
  26. package/{dist/es2015/common → common}/util.d.ts +4 -4
  27. package/{dist/es2015/drawer → drawer}/animations.d.ts +0 -0
  28. package/{dist/es2015/drawer → drawer}/drawer-container.component.d.ts +9 -6
  29. package/{dist/es2015/drawer → drawer}/drawer-content.component.d.ts +3 -0
  30. package/{dist/es2015/drawer → drawer}/drawer.component.d.ts +17 -8
  31. package/{dist/es2015/drawer → drawer}/drawer.service.d.ts +3 -1
  32. package/drawer/events/drawer-list-select.event.d.ts +26 -0
  33. package/{dist/es2015/drawer → drawer}/events/select-event.d.ts +6 -2
  34. package/{dist/es2015/drawer → drawer}/item.component.d.ts +7 -4
  35. package/{dist/es2015/drawer → drawer}/list.component.d.ts +6 -1
  36. package/{dist/es2015/drawer → drawer}/models/constants.d.ts +0 -0
  37. package/{dist/es2015/drawer → drawer}/models/drawer-animation.interface.d.ts +1 -1
  38. package/{dist/es2015/drawer → drawer}/models/drawer-item.interface.d.ts +0 -0
  39. package/{dist/es2015/drawer → drawer}/models/mode.d.ts +0 -0
  40. package/{dist/es2015/drawer → drawer}/models/position.d.ts +0 -0
  41. package/{dist/es2015/drawer → drawer}/template-directives/drawer-template.directive.d.ts +3 -0
  42. package/{dist/es2015/drawer → drawer}/template-directives/footer-template.directive.d.ts +3 -0
  43. package/{dist/es2015/drawer → drawer}/template-directives/header-template.directive.d.ts +3 -0
  44. package/{dist/es2015/drawer → drawer}/template-directives/item-template.directive.d.ts +3 -0
  45. package/{dist/es2015/drawer → drawer}/template-directives.d.ts +0 -0
  46. package/{dist/es2015/drawer → drawer}/types.d.ts +0 -0
  47. package/{dist/es2015/drawer → drawer}/util.d.ts +0 -0
  48. package/drawer.module.d.ts +24 -0
  49. package/{dist/es2015 → esm2015}/avatar/avatar.component.js +73 -98
  50. package/{dist/es → esm2015}/avatar/models/fill.js +1 -0
  51. package/{dist/es/layouts → esm2015/avatar/models}/models.js +5 -0
  52. package/{dist/es2015 → esm2015}/avatar/models/rounded.js +1 -0
  53. package/{dist/es2015 → esm2015}/avatar/models/shape.js +1 -0
  54. package/{dist/es → esm2015}/avatar/models/size.js +1 -0
  55. package/{dist/es → esm2015}/avatar/models/theme-color.js +1 -0
  56. package/esm2015/avatar.module.js +31 -0
  57. package/esm2015/card/card-actions.component.js +145 -0
  58. package/esm2015/card/card-body.component.js +30 -0
  59. package/esm2015/card/card-footer.component.js +30 -0
  60. package/esm2015/card/card-header.component.js +30 -0
  61. package/esm2015/card/card.component.js +101 -0
  62. package/esm2015/card/directives/card-media.directive.js +25 -0
  63. package/esm2015/card/directives/card-separator.directive.js +52 -0
  64. package/esm2015/card/directives/card-subtitle.directive.js +25 -0
  65. package/esm2015/card/directives/card-title.directive.js +25 -0
  66. package/{dist/es → esm2015}/card/models/actions-layout.js +1 -0
  67. package/{dist/es2015 → esm2015}/card/models/card-action.js +0 -0
  68. package/{dist/es2015 → esm2015}/card.module.js +28 -11
  69. package/{dist/es → esm2015}/common/direction.js +1 -0
  70. package/{dist/es2015 → esm2015}/common/dom-queries.js +0 -3
  71. package/{dist/es → esm2015}/common/orientation.js +1 -0
  72. package/{dist/es → esm2015}/common/styling-classes.js +1 -0
  73. package/{dist/es2015 → esm2015}/common/util.js +4 -6
  74. package/{dist/es2015 → esm2015}/drawer/animations.js +0 -0
  75. package/esm2015/drawer/drawer-container.component.js +109 -0
  76. package/esm2015/drawer/drawer-content.component.js +31 -0
  77. package/{dist/es2015 → esm2015}/drawer/drawer.component.js +124 -124
  78. package/{dist/es2015 → esm2015}/drawer/drawer.service.js +8 -20
  79. package/esm2015/drawer/events/drawer-list-select.event.js +17 -0
  80. package/{dist/es2015 → esm2015}/drawer/events/select-event.js +8 -1
  81. package/esm2015/drawer/item.component.js +121 -0
  82. package/{dist/es2015 → esm2015}/drawer/list.component.js +32 -34
  83. package/{dist/es2015 → esm2015}/drawer/models/constants.js +0 -0
  84. package/{dist/es → esm2015}/drawer/models/drawer-animation.interface.js +1 -0
  85. package/{dist/es → esm2015}/drawer/models/drawer-item.interface.js +1 -0
  86. package/{dist/es → esm2015}/drawer/models/mode.js +1 -0
  87. package/{dist/es → esm2015}/drawer/models/position.js +1 -0
  88. package/esm2015/drawer/template-directives/drawer-template.directive.js +28 -0
  89. package/esm2015/drawer/template-directives/footer-template.directive.js +26 -0
  90. package/esm2015/drawer/template-directives/header-template.directive.js +26 -0
  91. package/esm2015/drawer/template-directives/item-template.directive.js +26 -0
  92. package/{dist/es → esm2015}/drawer/template-directives.js +0 -0
  93. package/{dist/es → esm2015}/drawer/types.js +1 -0
  94. package/{dist/es2015 → esm2015}/drawer/util.js +0 -0
  95. package/{dist/es2015 → esm2015}/drawer.module.js +25 -11
  96. package/{dist/es2015 → esm2015}/expansionpanel/animations.js +0 -0
  97. package/{dist/es2015 → esm2015}/expansionpanel/events/action-event.js +8 -1
  98. package/esm2015/expansionpanel/expansionpanel-title.directive.js +27 -0
  99. package/{dist/es2015 → esm2015}/expansionpanel/expansionpanel.component.js +112 -119
  100. package/esm2015/expansionpanel.module.js +36 -0
  101. package/esm2015/gridlayout.module.js +35 -0
  102. package/esm2015/kendo-angular-layout.js +8 -0
  103. package/{dist/es2015 → esm2015}/layout.module.js +44 -21
  104. package/{dist/es2015 → esm2015}/layouts/grid-layout.component.js +44 -48
  105. package/esm2015/layouts/gridlayout-item.component.js +47 -0
  106. package/{dist/es → esm2015}/layouts/models/gridlayout-gap-settings.js +1 -0
  107. package/{dist/es → esm2015}/layouts/models/gridlayout-row-col-size.js +1 -0
  108. package/{dist/es → esm2015}/layouts/models/layout-align-settings.js +1 -0
  109. package/{dist/es → esm2015}/layouts/models/layout-horizontal-align.js +1 -0
  110. package/{dist/es → esm2015}/layouts/models/layout-vertical-align.js +1 -0
  111. package/{dist/es2015/layouts/models.d.ts → esm2015/layouts/models.js} +0 -0
  112. package/{dist/es2015 → esm2015}/layouts/stack-layout.component.js +48 -54
  113. package/{dist/es2015 → esm2015}/layouts/util.js +0 -0
  114. package/{dist/es → esm2015}/main.js +4 -0
  115. package/{dist/es2015 → esm2015}/package-metadata.js +1 -1
  116. package/esm2015/panelbar/panelbar-content.directive.js +23 -0
  117. package/{dist/es → esm2015}/panelbar/panelbar-expand-mode.js +0 -0
  118. package/{dist/es → esm2015}/panelbar/panelbar-item-model.js +1 -0
  119. package/esm2015/panelbar/panelbar-item-template.directive.js +24 -0
  120. package/{dist/es2015 → esm2015}/panelbar/panelbar-item-title.directive.js +14 -12
  121. package/{dist/es2015 → esm2015}/panelbar/panelbar-item.component.js +218 -158
  122. package/{dist/es2015 → esm2015}/panelbar/panelbar.component.js +116 -131
  123. package/{dist/es2015 → esm2015}/panelbar/panelbar.service.js +8 -8
  124. package/{dist/es2015 → esm2015}/panelbar.module.js +22 -11
  125. package/{dist/es2015 → esm2015}/splitter/splitter-bar.component.js +60 -81
  126. package/{dist/es2015 → esm2015}/splitter/splitter-pane.component.js +53 -84
  127. package/{dist/es2015 → esm2015}/splitter/splitter.component.js +84 -69
  128. package/{dist/es2015 → esm2015}/splitter/splitter.service.js +9 -9
  129. package/{dist/es2015 → esm2015}/splitter.module.js +21 -12
  130. package/esm2015/stacklayout.module.js +31 -0
  131. package/{dist/es2015 → esm2015}/stepper/events/activate-event.js +8 -1
  132. package/esm2015/stepper/list.component.js +145 -0
  133. package/esm2015/stepper/localization/custom-messages.component.js +41 -0
  134. package/esm2015/stepper/localization/localized-messages.directive.js +38 -0
  135. package/esm2015/stepper/localization/messages.js +23 -0
  136. package/{dist/es2015 → esm2015}/stepper/models/constants.js +0 -0
  137. package/{dist/es → esm2015}/stepper/models/orientation.js +1 -0
  138. package/{dist/es → esm2015}/stepper/models/step-predicate.js +1 -0
  139. package/{dist/es → esm2015}/stepper/models/step-type.js +1 -0
  140. package/{dist/es → esm2015}/stepper/models/stepper-step.interface.js +1 -0
  141. package/{dist/es2015 → esm2015}/stepper/step.component.js +88 -66
  142. package/{dist/es2015 → esm2015}/stepper/stepper.component.js +141 -103
  143. package/{dist/es2015 → esm2015}/stepper/stepper.service.js +25 -14
  144. package/esm2015/stepper/template-directives/indicator-template.directive.js +26 -0
  145. package/esm2015/stepper/template-directives/label-template.directive.js +26 -0
  146. package/esm2015/stepper/template-directives/step-template.directive.js +26 -0
  147. package/{dist/es → esm2015}/stepper/template-directives.js +0 -0
  148. package/{dist/es → esm2015}/stepper/types.js +1 -0
  149. package/{dist/es2015 → esm2015}/stepper.module.js +22 -11
  150. package/{dist/es2015 → esm2015}/tabstrip/constants.js +0 -0
  151. package/{dist/es2015 → esm2015}/tabstrip/directives/tab-content.directive.js +12 -11
  152. package/{dist/es2015 → esm2015}/tabstrip/directives/tab-title.directive.js +12 -11
  153. package/{dist/es2015 → esm2015}/tabstrip/events/select-event.js +0 -0
  154. package/{dist/es2015 → esm2015}/tabstrip/events/tabclose-event.js +0 -0
  155. package/{dist/es2015 → esm2015}/tabstrip/events/tabscroll-event.js +8 -1
  156. package/{dist/es → esm2015}/tabstrip/events.js +0 -0
  157. package/esm2015/tabstrip/localization/custom-messages.component.js +41 -0
  158. package/esm2015/tabstrip/localization/localized-messages.directive.js +36 -0
  159. package/esm2015/tabstrip/localization/messages.js +23 -0
  160. package/{dist/es → esm2015}/tabstrip/models/button-state-change.js +1 -0
  161. package/{dist/es/avatar/models/models.js → esm2015/tabstrip/models/scroll-button-type.js} +1 -0
  162. package/{dist/es → esm2015}/tabstrip/models/scroll-buttons-visibility.js +1 -0
  163. package/{dist/es2015 → esm2015}/tabstrip/models/scrollable-settings.js +0 -2
  164. package/{dist/es → esm2015}/tabstrip/models/tab-alignment.js +1 -0
  165. package/{dist/es → esm2015}/tabstrip/models/tab-position.js +1 -0
  166. package/esm2015/tabstrip/models/tabstrip-tab.component.js +65 -0
  167. package/esm2015/tabstrip/rendering/tab.component.js +123 -0
  168. package/esm2015/tabstrip/scrollable-button.component.js +123 -0
  169. package/{dist/es2015 → esm2015}/tabstrip/tabstrip-scroll.service.js +16 -36
  170. package/{dist/es2015 → esm2015}/tabstrip/tabstrip.component.js +237 -149
  171. package/{dist/es2015 → esm2015}/tabstrip/tabstrip.service.js +11 -16
  172. package/{dist/es2015 → esm2015}/tabstrip/util.js +0 -0
  173. package/{dist/es2015 → esm2015}/tabstrip.module.js +26 -11
  174. package/{dist/es2015 → esm2015}/tilelayout/constants.js +0 -0
  175. package/{dist/es2015 → esm2015}/tilelayout/dragging-service.js +10 -12
  176. package/{dist/es → esm2015}/tilelayout/models/dragging-config.interface.js +1 -0
  177. package/{dist/es → esm2015}/tilelayout/models/flowmode.type.js +1 -0
  178. package/{dist/es → esm2015}/tilelayout/models/gap.interface.js +1 -0
  179. package/{dist/es2015 → esm2015}/tilelayout/reorder-event.js +1 -1
  180. package/{dist/es2015 → esm2015}/tilelayout/resize-event.js +1 -1
  181. package/esm2015/tilelayout/tilelayout-item-body.component.js +37 -0
  182. package/esm2015/tilelayout/tilelayout-item-header.component.js +52 -0
  183. package/{dist/es2015 → esm2015}/tilelayout/tilelayout-item.component.js +81 -76
  184. package/{dist/es2015 → esm2015}/tilelayout/tilelayout-resize-handle.directive.js +16 -20
  185. package/{dist/es2015 → esm2015}/tilelayout/tilelayout.component.js +79 -84
  186. package/{dist/es2015 → esm2015}/tilelayout/util.js +0 -0
  187. package/{dist/es2015 → esm2015}/tilelayout.module.js +22 -11
  188. package/{dist/es2015/expansionpanel → expansionpanel}/animations.d.ts +0 -0
  189. package/{dist/es2015/expansionpanel → expansionpanel}/events/action-event.d.ts +5 -1
  190. package/{dist/es2015/expansionpanel → expansionpanel}/expansionpanel-title.directive.d.ts +3 -0
  191. package/{dist/es2015/expansionpanel → expansionpanel}/expansionpanel.component.d.ts +9 -5
  192. package/expansionpanel.module.d.ts +18 -0
  193. package/{dist/fesm2015/index.js → fesm2015/kendo-angular-layout.js} +5166 -4888
  194. package/gridlayout.module.d.ts +17 -0
  195. package/{dist/es/stepper/models/constants.js → kendo-angular-layout.d.ts} +3 -2
  196. package/{dist/es2015/layout.module.d.ts → layout.module.d.ts} +15 -0
  197. package/{dist/es2015/layouts → layouts}/grid-layout.component.d.ts +7 -3
  198. package/{dist/es2015/layouts → layouts}/gridlayout-item.component.d.ts +3 -0
  199. package/{dist/es2015/layouts → layouts}/models/gridlayout-gap-settings.d.ts +0 -0
  200. package/{dist/es2015/layouts → layouts}/models/gridlayout-row-col-size.d.ts +0 -0
  201. package/{dist/es2015/layouts → layouts}/models/layout-align-settings.d.ts +0 -0
  202. package/{dist/es2015/layouts → layouts}/models/layout-horizontal-align.d.ts +0 -0
  203. package/{dist/es2015/layouts → layouts}/models/layout-vertical-align.d.ts +0 -0
  204. package/{dist/es/avatar/models/shape.js → layouts/models.d.ts} +6 -0
  205. package/{dist/es2015/layouts → layouts}/stack-layout.component.d.ts +9 -5
  206. package/{dist/es2015/layouts → layouts}/util.d.ts +3 -3
  207. package/{dist/es2015/main.d.ts → main.d.ts} +3 -0
  208. package/{dist/es2015/package-metadata.d.ts → package-metadata.d.ts} +0 -0
  209. package/package.json +43 -131
  210. package/{dist/es2015/panelbar → panelbar}/panelbar-content.directive.d.ts +3 -0
  211. package/{dist/es2015/panelbar → panelbar}/panelbar-expand-mode.d.ts +0 -0
  212. package/{dist/es2015/panelbar → panelbar}/panelbar-item-model.d.ts +0 -0
  213. package/{dist/es2015/panelbar → panelbar}/panelbar-item-template.directive.d.ts +3 -0
  214. package/{dist/es2015/panelbar → panelbar}/panelbar-item-title.directive.d.ts +3 -0
  215. package/{dist/es2015/panelbar → panelbar}/panelbar-item.component.d.ts +17 -13
  216. package/{dist/es2015/panelbar → panelbar}/panelbar.component.d.ts +13 -8
  217. package/{dist/es2015/panelbar → panelbar}/panelbar.service.d.ts +3 -0
  218. package/panelbar.module.d.ts +27 -0
  219. package/schematics/ngAdd/index.js +5 -2
  220. package/schematics/ngAdd/index.js.map +1 -1
  221. package/{dist/es2015/splitter → splitter}/splitter-bar.component.d.ts +8 -5
  222. package/{dist/es2015/splitter → splitter}/splitter-pane.component.d.ts +13 -8
  223. package/{dist/es2015/splitter → splitter}/splitter.component.d.ts +9 -6
  224. package/{dist/es2015/splitter → splitter}/splitter.service.d.ts +3 -0
  225. package/splitter.module.d.ts +23 -0
  226. package/{dist/es2015/stacklayout.module.d.ts → stacklayout.module.d.ts} +6 -0
  227. package/{dist/es2015/stepper → stepper}/events/activate-event.d.ts +6 -2
  228. package/{dist/es2015/stepper → stepper}/list.component.d.ts +9 -6
  229. package/{dist/es2015/stepper → stepper}/localization/custom-messages.component.d.ts +4 -1
  230. package/{dist/es2015/stepper → stepper}/localization/localized-messages.directive.d.ts +3 -0
  231. package/{dist/es2015/stepper → stepper}/localization/messages.d.ts +3 -0
  232. package/{dist/es2015/stepper → stepper}/models/constants.d.ts +0 -0
  233. package/{dist/es2015/stepper → stepper}/models/orientation.d.ts +0 -0
  234. package/{dist/es2015/stepper → stepper}/models/step-predicate.d.ts +0 -0
  235. package/{dist/es2015/stepper → stepper}/models/step-type.d.ts +0 -0
  236. package/{dist/es2015/stepper → stepper}/models/stepper-step.interface.d.ts +0 -0
  237. package/{dist/es2015/stepper → stepper}/step.component.d.ts +16 -13
  238. package/{dist/es2015/stepper → stepper}/stepper.component.d.ts +22 -9
  239. package/{dist/es2015/stepper → stepper}/stepper.service.d.ts +6 -4
  240. package/{dist/es2015/stepper → stepper}/template-directives/indicator-template.directive.d.ts +3 -0
  241. package/{dist/es2015/stepper → stepper}/template-directives/label-template.directive.d.ts +3 -0
  242. package/{dist/es2015/stepper → stepper}/template-directives/step-template.directive.d.ts +3 -0
  243. package/{dist/es2015/stepper → stepper}/template-directives.d.ts +0 -0
  244. package/{dist/es2015/stepper → stepper}/types.d.ts +0 -0
  245. package/stepper.module.d.ts +24 -0
  246. package/{dist/es2015/tabstrip → tabstrip}/constants.d.ts +0 -0
  247. package/{dist/es2015/tabstrip → tabstrip}/directives/tab-content.directive.d.ts +3 -0
  248. package/{dist/es2015/tabstrip → tabstrip}/directives/tab-title.directive.d.ts +3 -0
  249. package/{dist/es2015/tabstrip → tabstrip}/events/select-event.d.ts +0 -0
  250. package/{dist/es2015/tabstrip → tabstrip}/events/tabclose-event.d.ts +0 -0
  251. package/{dist/es2015/tabstrip → tabstrip}/events/tabscroll-event.d.ts +5 -1
  252. package/{dist/es2015/tabstrip → tabstrip}/events.d.ts +0 -0
  253. package/{dist/es2015/tabstrip → tabstrip}/localization/custom-messages.component.d.ts +4 -1
  254. package/{dist/es2015/tabstrip → tabstrip}/localization/localized-messages.directive.d.ts +3 -0
  255. package/{dist/es2015/tabstrip → tabstrip}/localization/messages.d.ts +3 -0
  256. package/{dist/es2015/tabstrip → tabstrip}/models/button-state-change.d.ts +0 -0
  257. package/{dist/es/drawer/models/constants.js → tabstrip/models/scroll-button-type.d.ts} +1 -1
  258. package/{dist/es2015/tabstrip → tabstrip}/models/scroll-buttons-visibility.d.ts +0 -0
  259. package/{dist/es2015/tabstrip → tabstrip}/models/scrollable-settings.d.ts +0 -0
  260. package/{dist/es2015/tabstrip → tabstrip}/models/tab-alignment.d.ts +0 -0
  261. package/{dist/es2015/tabstrip → tabstrip}/models/tab-position.d.ts +0 -0
  262. package/{dist/es2015/tabstrip → tabstrip}/models/tabstrip-tab.component.d.ts +5 -2
  263. package/tabstrip/rendering/tab.component.d.ts +32 -0
  264. package/tabstrip/scrollable-button.component.d.ts +38 -0
  265. package/{dist/es2015/tabstrip → tabstrip}/tabstrip-scroll.service.d.ts +9 -11
  266. package/{dist/es2015/tabstrip → tabstrip}/tabstrip.component.d.ts +25 -15
  267. package/{dist/es2015/tabstrip → tabstrip}/tabstrip.service.d.ts +3 -1
  268. package/{dist/es2015/tabstrip → tabstrip}/util.d.ts +0 -0
  269. package/tabstrip.module.d.ts +30 -0
  270. package/{dist/es2015/tilelayout → tilelayout}/constants.d.ts +0 -0
  271. package/{dist/es2015/tilelayout → tilelayout}/dragging-service.d.ts +7 -4
  272. package/{dist/es2015/tilelayout → tilelayout}/models/dragging-config.interface.d.ts +0 -0
  273. package/{dist/es2015/tilelayout → tilelayout}/models/flowmode.type.d.ts +0 -0
  274. package/{dist/es2015/tilelayout → tilelayout}/models/gap.interface.d.ts +0 -0
  275. package/{dist/es2015/tilelayout → tilelayout}/reorder-event.d.ts +1 -1
  276. package/{dist/es2015/tilelayout → tilelayout}/resize-event.d.ts +1 -1
  277. package/{dist/es2015/tilelayout → tilelayout}/tilelayout-item-body.component.d.ts +3 -0
  278. package/{dist/es2015/tilelayout → tilelayout}/tilelayout-item-header.component.d.ts +11 -5
  279. package/{dist/es2015/tilelayout → tilelayout}/tilelayout-item.component.d.ts +14 -5
  280. package/{dist/es2015/tilelayout → tilelayout}/tilelayout-resize-handle.directive.d.ts +3 -0
  281. package/{dist/es2015/tilelayout → tilelayout}/tilelayout.component.d.ts +10 -6
  282. package/{dist/es2015/tilelayout → tilelayout}/util.d.ts +0 -0
  283. package/tilelayout.module.d.ts +26 -0
  284. package/dist/cdn/js/kendo-angular-layout.js +0 -20
  285. package/dist/cdn/main.js +0 -5
  286. package/dist/es/avatar/avatar.component.js +0 -357
  287. package/dist/es/avatar/models/rounded.js +0 -4
  288. package/dist/es/avatar.module.js +0 -29
  289. package/dist/es/card/card-actions.component.js +0 -151
  290. package/dist/es/card/card-body.component.js +0 -26
  291. package/dist/es/card/card-footer.component.js +0 -26
  292. package/dist/es/card/card-header.component.js +0 -26
  293. package/dist/es/card/card.component.js +0 -114
  294. package/dist/es/card/directives/card-media.directive.js +0 -25
  295. package/dist/es/card/directives/card-separator.directive.js +0 -66
  296. package/dist/es/card/directives/card-subtitle.directive.js +0 -25
  297. package/dist/es/card/directives/card-title.directive.js +0 -25
  298. package/dist/es/card/models/card-action.js +0 -13
  299. package/dist/es/card.module.js +0 -47
  300. package/dist/es/common/dom-queries.js +0 -52
  301. package/dist/es/common/preventable-event.js +0 -36
  302. package/dist/es/common/util.js +0 -91
  303. package/dist/es/drawer/animations.js +0 -146
  304. package/dist/es/drawer/drawer-container.component.js +0 -133
  305. package/dist/es/drawer/drawer-content.component.js +0 -28
  306. package/dist/es/drawer/drawer.component.js +0 -405
  307. package/dist/es/drawer/drawer.service.js +0 -45
  308. package/dist/es/drawer/events/select-event.js +0 -17
  309. package/dist/es/drawer/item.component.js +0 -123
  310. package/dist/es/drawer/list.component.js +0 -119
  311. package/dist/es/drawer/template-directives/drawer-template.directive.js +0 -27
  312. package/dist/es/drawer/template-directives/footer-template.directive.js +0 -25
  313. package/dist/es/drawer/template-directives/header-template.directive.js +0 -25
  314. package/dist/es/drawer/template-directives/item-template.directive.js +0 -25
  315. package/dist/es/drawer/util.js +0 -16
  316. package/dist/es/drawer.module.js +0 -45
  317. package/dist/es/expansionpanel/animations.js +0 -23
  318. package/dist/es/expansionpanel/events/action-event.js +0 -17
  319. package/dist/es/expansionpanel/expansionpanel-title.directive.js +0 -26
  320. package/dist/es/expansionpanel/expansionpanel.component.js +0 -441
  321. package/dist/es/expansionpanel.module.js +0 -32
  322. package/dist/es/gridlayout.module.js +0 -31
  323. package/dist/es/index.js +0 -29
  324. package/dist/es/layout.module.js +0 -71
  325. package/dist/es/layouts/grid-layout.component.js +0 -155
  326. package/dist/es/layouts/gridlayout-item.component.js +0 -52
  327. package/dist/es/layouts/stack-layout.component.js +0 -171
  328. package/dist/es/layouts/util.js +0 -102
  329. package/dist/es/package-metadata.js +0 -15
  330. package/dist/es/panelbar/panelbar-content.directive.js +0 -23
  331. package/dist/es/panelbar/panelbar-item-template.directive.js +0 -23
  332. package/dist/es/panelbar/panelbar-item-title.directive.js +0 -46
  333. package/dist/es/panelbar/panelbar-item.component.js +0 -455
  334. package/dist/es/panelbar/panelbar.component.js +0 -557
  335. package/dist/es/panelbar/panelbar.service.js +0 -43
  336. package/dist/es/panelbar.module.js +0 -44
  337. package/dist/es/splitter/splitter-bar.component.js +0 -282
  338. package/dist/es/splitter/splitter-pane.component.js +0 -270
  339. package/dist/es/splitter/splitter.component.js +0 -226
  340. package/dist/es/splitter/splitter.service.js +0 -153
  341. package/dist/es/splitter.module.js +0 -42
  342. package/dist/es/stacklayout.module.js +0 -29
  343. package/dist/es/stepper/events/activate-event.js +0 -17
  344. package/dist/es/stepper/list.component.js +0 -144
  345. package/dist/es/stepper/localization/custom-messages.component.js +0 -44
  346. package/dist/es/stepper/localization/localized-messages.directive.js +0 -35
  347. package/dist/es/stepper/localization/messages.js +0 -22
  348. package/dist/es/stepper/step.component.js +0 -272
  349. package/dist/es/stepper/stepper.component.js +0 -328
  350. package/dist/es/stepper/stepper.service.js +0 -161
  351. package/dist/es/stepper/template-directives/indicator-template.directive.js +0 -25
  352. package/dist/es/stepper/template-directives/label-template.directive.js +0 -25
  353. package/dist/es/stepper/template-directives/step-template.directive.js +0 -25
  354. package/dist/es/stepper.module.js +0 -47
  355. package/dist/es/tabstrip/constants.js +0 -33
  356. package/dist/es/tabstrip/directives/tab-content.directive.js +0 -49
  357. package/dist/es/tabstrip/directives/tab-title.directive.js +0 -54
  358. package/dist/es/tabstrip/events/select-event.js +0 -26
  359. package/dist/es/tabstrip/events/tabclose-event.js +0 -22
  360. package/dist/es/tabstrip/events/tabscroll-event.js +0 -19
  361. package/dist/es/tabstrip/localization/custom-messages.component.js +0 -44
  362. package/dist/es/tabstrip/localization/localized-messages.directive.js +0 -35
  363. package/dist/es/tabstrip/localization/messages.js +0 -22
  364. package/dist/es/tabstrip/models/scrollable-settings.js +0 -28
  365. package/dist/es/tabstrip/models/tabstrip-tab.component.js +0 -88
  366. package/dist/es/tabstrip/rendering/tab.component.js +0 -131
  367. package/dist/es/tabstrip/scrollable-button.component.js +0 -131
  368. package/dist/es/tabstrip/tabstrip-scroll.service.js +0 -226
  369. package/dist/es/tabstrip/tabstrip.component.js +0 -529
  370. package/dist/es/tabstrip/tabstrip.service.js +0 -158
  371. package/dist/es/tabstrip/util.js +0 -111
  372. package/dist/es/tabstrip.module.js +0 -51
  373. package/dist/es/tilelayout/constants.js +0 -70
  374. package/dist/es/tilelayout/dragging-service.js +0 -430
  375. package/dist/es/tilelayout/preventable-event.js +0 -29
  376. package/dist/es/tilelayout/reorder-event.js +0 -39
  377. package/dist/es/tilelayout/resize-event.js +0 -35
  378. package/dist/es/tilelayout/tilelayout-item-body.component.js +0 -32
  379. package/dist/es/tilelayout/tilelayout-item-header.component.js +0 -55
  380. package/dist/es/tilelayout/tilelayout-item.component.js +0 -198
  381. package/dist/es/tilelayout/tilelayout-resize-handle.directive.js +0 -61
  382. package/dist/es/tilelayout/tilelayout.component.js +0 -344
  383. package/dist/es/tilelayout/util.js +0 -88
  384. package/dist/es/tilelayout.module.js +0 -43
  385. package/dist/es2015/avatar/models/fill.js +0 -4
  386. package/dist/es2015/avatar/models/models.js +0 -4
  387. package/dist/es2015/avatar/models/size.js +0 -4
  388. package/dist/es2015/avatar/models/theme-color.js +0 -4
  389. package/dist/es2015/avatar.module.js +0 -28
  390. package/dist/es2015/card/card-actions.component.js +0 -146
  391. package/dist/es2015/card/card-body.component.js +0 -30
  392. package/dist/es2015/card/card-footer.component.js +0 -30
  393. package/dist/es2015/card/card-header.component.js +0 -30
  394. package/dist/es2015/card/card.component.js +0 -101
  395. package/dist/es2015/card/directives/card-media.directive.js +0 -27
  396. package/dist/es2015/card/directives/card-separator.directive.js +0 -60
  397. package/dist/es2015/card/directives/card-subtitle.directive.js +0 -27
  398. package/dist/es2015/card/directives/card-title.directive.js +0 -27
  399. package/dist/es2015/card/models/actions-layout.js +0 -4
  400. package/dist/es2015/card.module.d.ts +0 -10
  401. package/dist/es2015/common/direction.js +0 -4
  402. package/dist/es2015/common/orientation.js +0 -4
  403. package/dist/es2015/common/preventable-event.d.ts +0 -28
  404. package/dist/es2015/common/preventable-event.js +0 -34
  405. package/dist/es2015/common/styling-classes.js +0 -4
  406. package/dist/es2015/drawer/drawer-container.component.js +0 -109
  407. package/dist/es2015/drawer/drawer-content.component.js +0 -29
  408. package/dist/es2015/drawer/item.component.js +0 -121
  409. package/dist/es2015/drawer/models/drawer-animation.interface.js +0 -4
  410. package/dist/es2015/drawer/models/drawer-item.interface.js +0 -4
  411. package/dist/es2015/drawer/models/mode.js +0 -4
  412. package/dist/es2015/drawer/models/position.js +0 -4
  413. package/dist/es2015/drawer/template-directives/drawer-template.directive.js +0 -26
  414. package/dist/es2015/drawer/template-directives/footer-template.directive.js +0 -24
  415. package/dist/es2015/drawer/template-directives/header-template.directive.js +0 -24
  416. package/dist/es2015/drawer/template-directives/item-template.directive.js +0 -24
  417. package/dist/es2015/drawer/template-directives.js +0 -8
  418. package/dist/es2015/drawer/types.js +0 -4
  419. package/dist/es2015/drawer.module.d.ts +0 -10
  420. package/dist/es2015/expansionpanel/expansionpanel-title.directive.js +0 -25
  421. package/dist/es2015/expansionpanel.module.d.ts +0 -10
  422. package/dist/es2015/expansionpanel.module.js +0 -31
  423. package/dist/es2015/gridlayout.module.d.ts +0 -10
  424. package/dist/es2015/gridlayout.module.js +0 -30
  425. package/dist/es2015/index.d.ts +0 -29
  426. package/dist/es2015/index.js +0 -29
  427. package/dist/es2015/index.metadata.json +0 -1
  428. package/dist/es2015/layouts/gridlayout-item.component.js +0 -53
  429. package/dist/es2015/layouts/models/gridlayout-gap-settings.js +0 -4
  430. package/dist/es2015/layouts/models/gridlayout-row-col-size.js +0 -4
  431. package/dist/es2015/layouts/models/layout-align-settings.js +0 -4
  432. package/dist/es2015/layouts/models/layout-horizontal-align.js +0 -4
  433. package/dist/es2015/layouts/models/layout-vertical-align.js +0 -4
  434. package/dist/es2015/layouts/models.js +0 -4
  435. package/dist/es2015/main.js +0 -72
  436. package/dist/es2015/panelbar/panelbar-content.directive.js +0 -22
  437. package/dist/es2015/panelbar/panelbar-expand-mode.js +0 -30
  438. package/dist/es2015/panelbar/panelbar-item-model.js +0 -4
  439. package/dist/es2015/panelbar/panelbar-item-template.directive.js +0 -22
  440. package/dist/es2015/panelbar.module.d.ts +0 -17
  441. package/dist/es2015/splitter.module.d.ts +0 -14
  442. package/dist/es2015/stacklayout.module.js +0 -28
  443. package/dist/es2015/stepper/list.component.js +0 -161
  444. package/dist/es2015/stepper/localization/custom-messages.component.js +0 -36
  445. package/dist/es2015/stepper/localization/localized-messages.directive.js +0 -33
  446. package/dist/es2015/stepper/localization/messages.js +0 -16
  447. package/dist/es2015/stepper/models/orientation.js +0 -4
  448. package/dist/es2015/stepper/models/step-predicate.js +0 -4
  449. package/dist/es2015/stepper/models/step-type.js +0 -4
  450. package/dist/es2015/stepper/models/stepper-step.interface.js +0 -4
  451. package/dist/es2015/stepper/template-directives/indicator-template.directive.js +0 -24
  452. package/dist/es2015/stepper/template-directives/label-template.directive.js +0 -24
  453. package/dist/es2015/stepper/template-directives/step-template.directive.js +0 -24
  454. package/dist/es2015/stepper/template-directives.js +0 -7
  455. package/dist/es2015/stepper/types.js +0 -4
  456. package/dist/es2015/stepper.module.d.ts +0 -10
  457. package/dist/es2015/tabstrip/events.js +0 -6
  458. package/dist/es2015/tabstrip/localization/custom-messages.component.js +0 -36
  459. package/dist/es2015/tabstrip/localization/localized-messages.directive.js +0 -31
  460. package/dist/es2015/tabstrip/localization/messages.js +0 -16
  461. package/dist/es2015/tabstrip/models/button-state-change.js +0 -4
  462. package/dist/es2015/tabstrip/models/scroll-buttons-visibility.js +0 -4
  463. package/dist/es2015/tabstrip/models/tab-alignment.js +0 -4
  464. package/dist/es2015/tabstrip/models/tab-position.js +0 -4
  465. package/dist/es2015/tabstrip/models/tabstrip-tab.component.js +0 -82
  466. package/dist/es2015/tabstrip/rendering/tab.component.d.ts +0 -28
  467. package/dist/es2015/tabstrip/rendering/tab.component.js +0 -116
  468. package/dist/es2015/tabstrip/scrollable-button.component.d.ts +0 -29
  469. package/dist/es2015/tabstrip/scrollable-button.component.js +0 -110
  470. package/dist/es2015/tabstrip.module.d.ts +0 -16
  471. package/dist/es2015/tilelayout/models/dragging-config.interface.js +0 -4
  472. package/dist/es2015/tilelayout/models/flowmode.type.js +0 -4
  473. package/dist/es2015/tilelayout/models/gap.interface.js +0 -4
  474. package/dist/es2015/tilelayout/preventable-event.d.ts +0 -21
  475. package/dist/es2015/tilelayout/preventable-event.js +0 -27
  476. package/dist/es2015/tilelayout/tilelayout-item-body.component.js +0 -36
  477. package/dist/es2015/tilelayout/tilelayout-item-header.component.js +0 -48
  478. package/dist/es2015/tilelayout.module.d.ts +0 -16
  479. package/dist/fesm5/index.js +0 -9179
  480. package/dist/npm/avatar/avatar.component.js +0 -359
  481. package/dist/npm/avatar/models/fill.js +0 -6
  482. package/dist/npm/avatar/models/models.js +0 -6
  483. package/dist/npm/avatar/models/rounded.js +0 -6
  484. package/dist/npm/avatar/models/shape.js +0 -6
  485. package/dist/npm/avatar/models/size.js +0 -6
  486. package/dist/npm/avatar/models/theme-color.js +0 -6
  487. package/dist/npm/avatar.module.js +0 -31
  488. package/dist/npm/card/card-actions.component.js +0 -153
  489. package/dist/npm/card/card-body.component.js +0 -28
  490. package/dist/npm/card/card-footer.component.js +0 -28
  491. package/dist/npm/card/card-header.component.js +0 -28
  492. package/dist/npm/card/card.component.js +0 -116
  493. package/dist/npm/card/directives/card-media.directive.js +0 -27
  494. package/dist/npm/card/directives/card-separator.directive.js +0 -68
  495. package/dist/npm/card/directives/card-subtitle.directive.js +0 -27
  496. package/dist/npm/card/directives/card-title.directive.js +0 -27
  497. package/dist/npm/card/models/actions-layout.js +0 -6
  498. package/dist/npm/card/models/card-action.js +0 -15
  499. package/dist/npm/card.module.js +0 -49
  500. package/dist/npm/common/direction.js +0 -6
  501. package/dist/npm/common/dom-queries.js +0 -55
  502. package/dist/npm/common/orientation.js +0 -6
  503. package/dist/npm/common/preventable-event.js +0 -38
  504. package/dist/npm/common/styling-classes.js +0 -6
  505. package/dist/npm/common/util.js +0 -93
  506. package/dist/npm/drawer/animations.js +0 -150
  507. package/dist/npm/drawer/drawer-container.component.js +0 -135
  508. package/dist/npm/drawer/drawer-content.component.js +0 -30
  509. package/dist/npm/drawer/drawer.component.js +0 -407
  510. package/dist/npm/drawer/drawer.service.js +0 -47
  511. package/dist/npm/drawer/events/select-event.js +0 -19
  512. package/dist/npm/drawer/item.component.js +0 -125
  513. package/dist/npm/drawer/list.component.js +0 -121
  514. package/dist/npm/drawer/models/constants.js +0 -10
  515. package/dist/npm/drawer/models/drawer-animation.interface.js +0 -6
  516. package/dist/npm/drawer/models/drawer-item.interface.js +0 -6
  517. package/dist/npm/drawer/models/mode.js +0 -6
  518. package/dist/npm/drawer/models/position.js +0 -6
  519. package/dist/npm/drawer/template-directives/drawer-template.directive.js +0 -29
  520. package/dist/npm/drawer/template-directives/footer-template.directive.js +0 -27
  521. package/dist/npm/drawer/template-directives/header-template.directive.js +0 -27
  522. package/dist/npm/drawer/template-directives/item-template.directive.js +0 -27
  523. package/dist/npm/drawer/template-directives.js +0 -14
  524. package/dist/npm/drawer/types.js +0 -6
  525. package/dist/npm/drawer/util.js +0 -18
  526. package/dist/npm/drawer.module.js +0 -47
  527. package/dist/npm/expansionpanel/animations.js +0 -27
  528. package/dist/npm/expansionpanel/events/action-event.js +0 -19
  529. package/dist/npm/expansionpanel/expansionpanel-title.directive.js +0 -28
  530. package/dist/npm/expansionpanel/expansionpanel.component.js +0 -443
  531. package/dist/npm/expansionpanel.module.js +0 -34
  532. package/dist/npm/gridlayout.module.js +0 -33
  533. package/dist/npm/index.js +0 -53
  534. package/dist/npm/layout.module.js +0 -73
  535. package/dist/npm/layouts/grid-layout.component.js +0 -157
  536. package/dist/npm/layouts/gridlayout-item.component.js +0 -54
  537. package/dist/npm/layouts/models/gridlayout-gap-settings.js +0 -6
  538. package/dist/npm/layouts/models/gridlayout-row-col-size.js +0 -6
  539. package/dist/npm/layouts/models/layout-align-settings.js +0 -6
  540. package/dist/npm/layouts/models/layout-horizontal-align.js +0 -6
  541. package/dist/npm/layouts/models/layout-vertical-align.js +0 -6
  542. package/dist/npm/layouts/models.js +0 -6
  543. package/dist/npm/layouts/stack-layout.component.js +0 -173
  544. package/dist/npm/layouts/util.js +0 -104
  545. package/dist/npm/main.js +0 -132
  546. package/dist/npm/package-metadata.js +0 -17
  547. package/dist/npm/panelbar/panelbar-content.directive.js +0 -25
  548. package/dist/npm/panelbar/panelbar-expand-mode.js +0 -32
  549. package/dist/npm/panelbar/panelbar-item-model.js +0 -6
  550. package/dist/npm/panelbar/panelbar-item-template.directive.js +0 -25
  551. package/dist/npm/panelbar/panelbar-item-title.directive.js +0 -48
  552. package/dist/npm/panelbar/panelbar-item.component.js +0 -457
  553. package/dist/npm/panelbar/panelbar.component.js +0 -559
  554. package/dist/npm/panelbar/panelbar.service.js +0 -45
  555. package/dist/npm/panelbar.module.js +0 -46
  556. package/dist/npm/splitter/splitter-bar.component.js +0 -287
  557. package/dist/npm/splitter/splitter-pane.component.js +0 -272
  558. package/dist/npm/splitter/splitter.component.js +0 -228
  559. package/dist/npm/splitter/splitter.service.js +0 -155
  560. package/dist/npm/splitter.module.js +0 -44
  561. package/dist/npm/stacklayout.module.js +0 -31
  562. package/dist/npm/stepper/events/activate-event.js +0 -19
  563. package/dist/npm/stepper/list.component.js +0 -146
  564. package/dist/npm/stepper/localization/custom-messages.component.js +0 -46
  565. package/dist/npm/stepper/localization/localized-messages.directive.js +0 -37
  566. package/dist/npm/stepper/localization/messages.js +0 -24
  567. package/dist/npm/stepper/models/constants.js +0 -10
  568. package/dist/npm/stepper/models/orientation.js +0 -6
  569. package/dist/npm/stepper/models/step-predicate.js +0 -6
  570. package/dist/npm/stepper/models/step-type.js +0 -6
  571. package/dist/npm/stepper/models/stepper-step.interface.js +0 -6
  572. package/dist/npm/stepper/step.component.js +0 -274
  573. package/dist/npm/stepper/stepper.component.js +0 -330
  574. package/dist/npm/stepper/stepper.service.js +0 -163
  575. package/dist/npm/stepper/template-directives/indicator-template.directive.js +0 -27
  576. package/dist/npm/stepper/template-directives/label-template.directive.js +0 -27
  577. package/dist/npm/stepper/template-directives/step-template.directive.js +0 -27
  578. package/dist/npm/stepper/template-directives.js +0 -12
  579. package/dist/npm/stepper/types.js +0 -6
  580. package/dist/npm/stepper.module.js +0 -49
  581. package/dist/npm/tabstrip/constants.js +0 -35
  582. package/dist/npm/tabstrip/directives/tab-content.directive.js +0 -51
  583. package/dist/npm/tabstrip/directives/tab-title.directive.js +0 -56
  584. package/dist/npm/tabstrip/events/select-event.js +0 -28
  585. package/dist/npm/tabstrip/events/tabclose-event.js +0 -24
  586. package/dist/npm/tabstrip/events/tabscroll-event.js +0 -21
  587. package/dist/npm/tabstrip/events.js +0 -10
  588. package/dist/npm/tabstrip/localization/custom-messages.component.js +0 -46
  589. package/dist/npm/tabstrip/localization/localized-messages.directive.js +0 -37
  590. package/dist/npm/tabstrip/localization/messages.js +0 -24
  591. package/dist/npm/tabstrip/models/button-state-change.js +0 -6
  592. package/dist/npm/tabstrip/models/scroll-buttons-visibility.js +0 -6
  593. package/dist/npm/tabstrip/models/scrollable-settings.js +0 -30
  594. package/dist/npm/tabstrip/models/tab-alignment.js +0 -6
  595. package/dist/npm/tabstrip/models/tab-position.js +0 -6
  596. package/dist/npm/tabstrip/models/tabstrip-tab.component.js +0 -90
  597. package/dist/npm/tabstrip/rendering/tab.component.js +0 -133
  598. package/dist/npm/tabstrip/scrollable-button.component.js +0 -133
  599. package/dist/npm/tabstrip/tabstrip-scroll.service.js +0 -228
  600. package/dist/npm/tabstrip/tabstrip.component.js +0 -531
  601. package/dist/npm/tabstrip/tabstrip.service.js +0 -160
  602. package/dist/npm/tabstrip/util.js +0 -113
  603. package/dist/npm/tabstrip.module.js +0 -53
  604. package/dist/npm/tilelayout/constants.js +0 -72
  605. package/dist/npm/tilelayout/dragging-service.js +0 -432
  606. package/dist/npm/tilelayout/models/dragging-config.interface.js +0 -6
  607. package/dist/npm/tilelayout/models/flowmode.type.js +0 -6
  608. package/dist/npm/tilelayout/models/gap.interface.js +0 -6
  609. package/dist/npm/tilelayout/preventable-event.js +0 -31
  610. package/dist/npm/tilelayout/reorder-event.js +0 -41
  611. package/dist/npm/tilelayout/resize-event.js +0 -37
  612. package/dist/npm/tilelayout/tilelayout-item-body.component.js +0 -34
  613. package/dist/npm/tilelayout/tilelayout-item-header.component.js +0 -57
  614. package/dist/npm/tilelayout/tilelayout-item.component.js +0 -200
  615. package/dist/npm/tilelayout/tilelayout-resize-handle.directive.js +0 -63
  616. package/dist/npm/tilelayout/tilelayout.component.js +0 -346
  617. package/dist/npm/tilelayout/util.js +0 -90
  618. package/dist/npm/tilelayout.module.js +0 -45
  619. package/dist/systemjs/kendo-angular-layout.js +0 -5
@@ -1,344 +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, Input, Output, EventEmitter, ContentChildren, QueryList, ElementRef, Renderer2, NgZone, ViewChild } from '@angular/core';
7
- import { TileLayoutDraggingService } from './dragging-service';
8
- import { Subscription } from 'rxjs';
9
- import Draggable from '@telerik/kendo-draggable';
10
- import { TileLayoutItemComponent } from './tilelayout-item.component';
11
- import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
12
- import { hasObservers } from '@progress/kendo-angular-common';
13
- import { validatePackage } from '@progress/kendo-licensing';
14
- import { packageMetadata } from '../package-metadata';
15
- import { isPresent } from '../common/util';
16
- var autoFlowClasses = {
17
- column: 'k-grid-flow-col',
18
- row: 'k-grid-flow-row',
19
- 'column-dense': 'k-grid-flow-col-dense',
20
- 'row-dense': 'k-grid-flow-row-dense'
21
- };
22
- /**
23
- * Represents the [Kendo UI TileLayout component for Angular]({% slug overview_tilelayout %})
24
- */
25
- var TileLayoutComponent = /** @class */ (function () {
26
- function TileLayoutComponent(elem, renderer, localization, draggingService, zone) {
27
- this.elem = elem;
28
- this.renderer = renderer;
29
- this.localization = localization;
30
- this.draggingService = draggingService;
31
- this.zone = zone;
32
- /**
33
- * Defines the number of columns ([see example]({% slug tiles_tilelayout %}#toc-tile-size-and-position)).
34
- * @default 1
35
- */
36
- this.columns = 1;
37
- /**
38
- * Determines the width of the columns. Numeric values are treated as pixels ([see example]({% slug tiles_tilelayout %}#toc-tile-size-and-position)).
39
- * @default '1fr'
40
- */
41
- this.columnWidth = '1fr';
42
- /**
43
- * Determines whether the reordering functionality will be enabled ([see example]({% slug reordering_tilelayout %})).
44
- * @default false
45
- */
46
- this.reorderable = false;
47
- /**
48
- * Determines whether the resizing functionality will be enabled ([see example]({% slug resizing_tilelayout %})).
49
- * @default false
50
- */
51
- this.resizable = false;
52
- /**
53
- * Determines the height of the rows. Numeric values are treated as pixels ([see example]({% slug tiles_tilelayout %}#toc-tile-size-and-position)).
54
- * @default '1fr'
55
- */
56
- this.rowHeight = '1fr';
57
- /**
58
- * Controls how the auto-placement algorithm works, specifying exactly how auto-placed items are flowed in the TileLayout ([see example]({% slug tiles_autoflow_tilelayout %})).
59
- * For further reference, check the [grid-auto-flow CSS article](https://developer.mozilla.org/en-US/docs/Web/CSS/grid-auto-flow).
60
- *
61
- * The possible values are:
62
- * * (Default) `column`
63
- * * `row`
64
- * * `row dense`
65
- * * `column dense`
66
- * * `none`
67
- *
68
- */
69
- this.autoFlow = 'column';
70
- /**
71
- * Fires when the user completes the reordering of the item ([see example]({% slug overview_tilelayout %}#toc-events)).
72
- * This event is preventable. If you cancel it, the item will not be reordered.
73
- */
74
- this.reorder = new EventEmitter();
75
- /**
76
- * Fires when the user completes the resizing of the item ([see example]({% slug overview_tilelayout %}#toc-events)).
77
- * This event is preventable. If you cancel it, the item will not be resized.
78
- */
79
- this.resize = new EventEmitter();
80
- this.hostClass = true;
81
- this.subs = new Subscription();
82
- this._gap = {
83
- rows: 16,
84
- columns: 16
85
- };
86
- validatePackage(packageMetadata);
87
- }
88
- Object.defineProperty(TileLayoutComponent.prototype, "gap", {
89
- get: function () {
90
- return this._gap;
91
- },
92
- /**
93
- * The numeric values which determine the spacing in pixels between the layout items horizontally and vertically.
94
- * Properties:
95
- * * rows - the vertical spacing. Numeric values are treated as pixels. Defaults to `16`.
96
- * * columns - the horizontal spacing. Numeric values are treated as pixels. Defaults to `16`.
97
- *
98
- * When bound to a single numeric value, it will be set to both `rows` and `columns` properties.
99
- */
100
- set: function (value) {
101
- this._gap = (typeof value === 'number') ? { rows: value, columns: value } : Object.assign(this._gap, value);
102
- },
103
- enumerable: true,
104
- configurable: true
105
- });
106
- Object.defineProperty(TileLayoutComponent.prototype, "gapStyle", {
107
- get: function () {
108
- return this.gap.rows + "px " + this.gap.columns + "px";
109
- },
110
- enumerable: true,
111
- configurable: true
112
- });
113
- Object.defineProperty(TileLayoutComponent.prototype, "currentColStart", {
114
- get: function () {
115
- return this.draggingService.colStart;
116
- },
117
- enumerable: true,
118
- configurable: true
119
- });
120
- Object.defineProperty(TileLayoutComponent.prototype, "currentRowStart", {
121
- get: function () {
122
- return this.draggingService.rowStart;
123
- },
124
- enumerable: true,
125
- configurable: true
126
- });
127
- Object.defineProperty(TileLayoutComponent.prototype, "draggedItemWrapper", {
128
- get: function () {
129
- return this.draggingService.itemWrapper;
130
- },
131
- enumerable: true,
132
- configurable: true
133
- });
134
- Object.defineProperty(TileLayoutComponent.prototype, "targetOrder", {
135
- get: function () {
136
- return this.draggingService.order;
137
- },
138
- enumerable: true,
139
- configurable: true
140
- });
141
- TileLayoutComponent.prototype.ngOnInit = function () {
142
- var _this = this;
143
- this.applyColStyling();
144
- this.applyRowStyling();
145
- this.draggingService.reorderable.next(this.reorderable);
146
- this.draggingService.resizable.next(this.resizable);
147
- if (hasObservers(this.reorder)) {
148
- this.subs.add(this.draggingService.reorder.subscribe(function (e) { return _this.reorder.emit(e); }));
149
- }
150
- if (hasObservers(this.resize)) {
151
- this.subs.add(this.draggingService.resize.subscribe(function (e) { return _this.resize.emit(e); }));
152
- }
153
- this.subs.add(this.draggingService.reorderable.subscribe(function (reorderable) {
154
- if (reorderable && !_this.draggable) {
155
- _this.initializeDraggable();
156
- }
157
- }));
158
- this.subs.add(this.draggingService.resizable.subscribe(function (resizable) {
159
- if (resizable && !_this.draggable) {
160
- _this.initializeDraggable();
161
- }
162
- }));
163
- this.subs.add(this.localization.changes.subscribe(function (_a) {
164
- var rtl = _a.rtl;
165
- _this.direction = rtl ? 'rtl' : 'ltr';
166
- }));
167
- };
168
- TileLayoutComponent.prototype.ngAfterViewInit = function () {
169
- var _this = this;
170
- this.draggingService.tileLayoutSettings = this.draggingServiceConfig();
171
- this.applyAutoFlow(null, autoFlowClasses[this.autoFlow]);
172
- this.items.changes.subscribe(function () {
173
- _this.setItemsOrder();
174
- _this.draggingService.tileLayoutSettings.items = _this.items.toArray();
175
- });
176
- };
177
- TileLayoutComponent.prototype.ngAfterContentInit = function () {
178
- this.setItemsOrder();
179
- };
180
- TileLayoutComponent.prototype.ngOnChanges = function (changes) {
181
- if (changes.columns || changes.columnWidth) {
182
- this.applyColStyling();
183
- }
184
- if (changes.rowHeight) {
185
- this.applyRowStyling();
186
- }
187
- if (changes.reorderable) {
188
- this.draggingService.reorderable.next(changes.reorderable.currentValue);
189
- }
190
- if (changes.resizable) {
191
- this.draggingService.resizable.next(changes.resizable.currentValue);
192
- }
193
- if (changes.gap || changes.autoFlow || changes.columns) {
194
- this.draggingService.tileLayoutSettings = this.draggingServiceConfig();
195
- if (changes.autoFlow) {
196
- this.applyAutoFlow(autoFlowClasses[changes.autoFlow.previousValue] || '', autoFlowClasses[changes.autoFlow.currentValue]);
197
- }
198
- }
199
- };
200
- TileLayoutComponent.prototype.ngOnDestroy = function () {
201
- if (this.draggable) {
202
- this.draggable.destroy();
203
- }
204
- this.subs.unsubscribe();
205
- };
206
- TileLayoutComponent.prototype.handlePress = function (_a) {
207
- var originalEvent = _a.originalEvent;
208
- this.draggingService.handlePress(originalEvent);
209
- };
210
- TileLayoutComponent.prototype.handleDrag = function (_a) {
211
- var originalEvent = _a.originalEvent;
212
- this.draggingService.handleDrag(originalEvent);
213
- };
214
- TileLayoutComponent.prototype.handleRelease = function (_a) {
215
- var originalEvent = _a.originalEvent;
216
- this.draggingService.handleRelease(originalEvent);
217
- };
218
- TileLayoutComponent.prototype.applyColStyling = function () {
219
- var colWidth = typeof this.columnWidth === 'number' ? this.columnWidth + "px" : this.columnWidth;
220
- var gridTemplateColumnsStyle = "repeat(" + this.columns + ", " + colWidth + ")";
221
- this.renderer.setStyle(this.elem.nativeElement, 'grid-template-columns', gridTemplateColumnsStyle);
222
- };
223
- TileLayoutComponent.prototype.applyRowStyling = function () {
224
- var rowHeight = typeof this.rowHeight === 'number' ? this.rowHeight + "px" : this.rowHeight;
225
- var gridAutoRowsStyle = "" + rowHeight;
226
- this.renderer.setStyle(this.elem.nativeElement, 'grid-auto-rows', gridAutoRowsStyle);
227
- };
228
- TileLayoutComponent.prototype.draggingServiceConfig = function () {
229
- return {
230
- tileLayoutElement: this.elem ? this.elem.nativeElement : undefined,
231
- hintElement: this.hint ? this.hint.nativeElement : undefined,
232
- gap: this.gap,
233
- columns: this.columns,
234
- autoFlow: this.autoFlow,
235
- items: this.items ? this.items.toArray() : []
236
- };
237
- };
238
- TileLayoutComponent.prototype.initializeDraggable = function () {
239
- var _this = this;
240
- this.draggable = new Draggable({
241
- press: this.handlePress.bind(this),
242
- drag: this.handleDrag.bind(this),
243
- release: this.handleRelease.bind(this)
244
- });
245
- this.zone.runOutsideAngular(function () { return _this.draggable.bindTo(_this.elem.nativeElement); });
246
- };
247
- TileLayoutComponent.prototype.applyAutoFlow = function (classToRemove, classToAdd) {
248
- var element = this.elem.nativeElement;
249
- if (classToRemove) {
250
- this.renderer.removeClass(element, classToRemove);
251
- }
252
- if (this.autoFlow !== 'none' && isPresent(classToAdd)) {
253
- this.renderer.addClass(element, classToAdd);
254
- }
255
- };
256
- TileLayoutComponent.prototype.setItemsOrder = function () {
257
- this.items.forEach(function (item, index) {
258
- if (!isPresent(item.order)) {
259
- item.order = index;
260
- }
261
- });
262
- };
263
- tslib_1.__decorate([
264
- Input(),
265
- tslib_1.__metadata("design:type", Number)
266
- ], TileLayoutComponent.prototype, "columns", void 0);
267
- tslib_1.__decorate([
268
- Input(),
269
- tslib_1.__metadata("design:type", Object)
270
- ], TileLayoutComponent.prototype, "columnWidth", void 0);
271
- tslib_1.__decorate([
272
- Input(),
273
- tslib_1.__metadata("design:type", Object),
274
- tslib_1.__metadata("design:paramtypes", [Object])
275
- ], TileLayoutComponent.prototype, "gap", null);
276
- tslib_1.__decorate([
277
- Input(),
278
- tslib_1.__metadata("design:type", Boolean)
279
- ], TileLayoutComponent.prototype, "reorderable", void 0);
280
- tslib_1.__decorate([
281
- Input(),
282
- tslib_1.__metadata("design:type", Boolean)
283
- ], TileLayoutComponent.prototype, "resizable", void 0);
284
- tslib_1.__decorate([
285
- Input(),
286
- tslib_1.__metadata("design:type", Object)
287
- ], TileLayoutComponent.prototype, "rowHeight", void 0);
288
- tslib_1.__decorate([
289
- Input(),
290
- tslib_1.__metadata("design:type", String)
291
- ], TileLayoutComponent.prototype, "autoFlow", void 0);
292
- tslib_1.__decorate([
293
- Output(),
294
- tslib_1.__metadata("design:type", EventEmitter)
295
- ], TileLayoutComponent.prototype, "reorder", void 0);
296
- tslib_1.__decorate([
297
- Output(),
298
- tslib_1.__metadata("design:type", EventEmitter)
299
- ], TileLayoutComponent.prototype, "resize", void 0);
300
- tslib_1.__decorate([
301
- HostBinding('class.k-widget'),
302
- HostBinding('class.k-tilelayout'),
303
- tslib_1.__metadata("design:type", Boolean)
304
- ], TileLayoutComponent.prototype, "hostClass", void 0);
305
- tslib_1.__decorate([
306
- HostBinding('style.gap'),
307
- HostBinding('style.padding'),
308
- tslib_1.__metadata("design:type", String),
309
- tslib_1.__metadata("design:paramtypes", [])
310
- ], TileLayoutComponent.prototype, "gapStyle", null);
311
- tslib_1.__decorate([
312
- HostBinding('attr.dir'),
313
- tslib_1.__metadata("design:type", String)
314
- ], TileLayoutComponent.prototype, "direction", void 0);
315
- tslib_1.__decorate([
316
- ContentChildren(TileLayoutItemComponent),
317
- tslib_1.__metadata("design:type", QueryList)
318
- ], TileLayoutComponent.prototype, "items", void 0);
319
- tslib_1.__decorate([
320
- ViewChild('hint', { static: false }),
321
- tslib_1.__metadata("design:type", ElementRef)
322
- ], TileLayoutComponent.prototype, "hint", void 0);
323
- TileLayoutComponent = tslib_1.__decorate([
324
- Component({
325
- selector: 'kendo-tilelayout',
326
- providers: [
327
- LocalizationService,
328
- TileLayoutDraggingService,
329
- {
330
- provide: L10N_PREFIX,
331
- useValue: 'kendo.tilelayout.component'
332
- }
333
- ],
334
- template: "\n <ng-content></ng-content>\n <div #hint class=\"k-layout-item-hint k-layout-item-hint-reorder\"\n [style.display]=\"'none'\"\n [style.order]=\"targetOrder\"\n [style.gridColumnEnd]=\"draggedItemWrapper?.style.gridColumnEnd\"\n [style.gridRowEnd]=\"draggedItemWrapper?.style.gridRowEnd\"\n [style.gridColumnStart]=\"currentColStart\"\n [style.gridRowStart]=\"currentRowStart\"\n [style.zIndex]=\"'1'\"></div>\n "
335
- }),
336
- tslib_1.__metadata("design:paramtypes", [ElementRef,
337
- Renderer2,
338
- LocalizationService,
339
- TileLayoutDraggingService,
340
- NgZone])
341
- ], TileLayoutComponent);
342
- return TileLayoutComponent;
343
- }());
344
- export { TileLayoutComponent };
@@ -1,88 +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 { isDocumentAvailable } from '@progress/kendo-angular-common';
6
- import { isPresent } from '../common/util';
7
- /**
8
- * @hidden
9
- */
10
- export var normalizeValue = function (value) {
11
- return value ? +value : undefined;
12
- };
13
- /**
14
- * @hidden
15
- */
16
- export var isRowItemPresent = function (items) {
17
- return items.some(function (item) { return isPresent(item.row); });
18
- };
19
- /**
20
- * @hidden
21
- */
22
- export var propsChanged = function (initialProps, newProps) {
23
- for (var i = 0; i < initialProps.length; i++) {
24
- if (initialProps[i] !== newProps[i]) {
25
- return true;
26
- }
27
- }
28
- return false;
29
- };
30
- /**
31
- * @hidden
32
- *
33
- * Extracts the event target from the viewport coords. Required for touch devices
34
- * where the `event.target` of a `pointermove` event is always the initially dragged item.
35
- */
36
- export var getDropTarget = function (event) {
37
- if (!(isDocumentAvailable() && isPresent(document.elementsFromPoint))) {
38
- return [event.target];
39
- }
40
- return document.elementsFromPoint(event.clientX, event.clientY)
41
- .filter(function (item) { return item.classList && (item.classList.contains('k-tilelayout-item') || item.classList.contains('k-layout-item-hint')); });
42
- };
43
- /**
44
- * @hidden
45
- */
46
- export var setElementStyles = function (renderer, elem, styles) {
47
- var props = Object.keys(styles);
48
- props.forEach(function (p) {
49
- renderer.setStyle(elem, p, styles[p]);
50
- });
51
- };
52
- /**
53
- * @hidden
54
- */
55
- export var calculateCellFromPosition = function (coordinates, tileLayoutElement, gap, cellSize, columns, rtl) {
56
- if (rtl === void 0) { rtl = false; }
57
- var tileLayoutRect = tileLayoutElement.getBoundingClientRect();
58
- var totalRows = (tileLayoutRect.height - gap.rows) / (cellSize.height + gap.rows);
59
- var distanceFromTop = coordinates.y - tileLayoutRect.y;
60
- var distanceFromLeft = coordinates.x - tileLayoutRect.x;
61
- var distanceFromRight = tileLayoutRect.right - coordinates.x;
62
- var distanceToCellWidthRatio = Math.floor((rtl ? distanceFromRight : distanceFromLeft) / (gap.columns + cellSize.width));
63
- var cappedColumnPosition = Math.min(distanceToCellWidthRatio + 1, columns);
64
- var distanceToCellHeightRatio = Math.floor(distanceFromTop / (gap.rows + cellSize.height));
65
- var cappedRowPosition = Math.min(distanceToCellHeightRatio + 1, totalRows);
66
- var col = Math.max(cappedColumnPosition, 0);
67
- var row = Math.max(cappedRowPosition, 0);
68
- return {
69
- row: row, col: col
70
- };
71
- };
72
- /**
73
- * @hidden
74
- */
75
- export var calculateOrderFromCell = function (row, col, items, draggedItem, tileLayoutElement, gap, cellSize, columns) {
76
- var order = 0;
77
- items.forEach(function (item) {
78
- var rect = item.elem.nativeElement.getBoundingClientRect();
79
- var start = calculateCellFromPosition({
80
- x: rect.x,
81
- y: rect.y
82
- }, tileLayoutElement, gap, cellSize, columns);
83
- if (item !== draggedItem && ((start.row === row && start.col < col) || start.row < row)) {
84
- order++;
85
- }
86
- });
87
- return order;
88
- };
@@ -1,43 +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 { NgModule } from '@angular/core';
7
- import { CommonModule } from '@angular/common';
8
- import { TileLayoutComponent } from './tilelayout/tilelayout.component';
9
- import { TileLayoutItemComponent } from './tilelayout/tilelayout-item.component';
10
- import { TileLayoutItemHeaderComponent } from './tilelayout/tilelayout-item-header.component';
11
- import { TileLayoutItemBodyComponent } from './tilelayout/tilelayout-item-body.component';
12
- import { TileLayoutResizeHandleDirective } from './tilelayout/tilelayout-resize-handle.directive';
13
- var exportedModules = [
14
- TileLayoutComponent,
15
- TileLayoutItemComponent,
16
- TileLayoutItemHeaderComponent,
17
- TileLayoutItemBodyComponent,
18
- TileLayoutResizeHandleDirective
19
- ];
20
- var declarations = exportedModules.slice();
21
- /**
22
- * Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
23
- * definition for the TileLayout component.
24
- *
25
- * The module registers:
26
- * - `TileLayoutComponent`&mdash;The `TileLayoutComponent` component class.
27
- * - `TileLayoutItemComponent`&mdash;The `TileLayoutItemComponent` component class.
28
- * - `TileLayoutItemHeaderComponent`&mdash;The `TileLayoutItemHeaderComponent` component class.
29
- * - `TileLayoutItemBodyComponent`&mdash;The `TileLayoutItemBodyComponent` component class.
30
- */
31
- var TileLayoutModule = /** @class */ (function () {
32
- function TileLayoutModule() {
33
- }
34
- TileLayoutModule = tslib_1.__decorate([
35
- NgModule({
36
- declarations: [declarations],
37
- exports: [exportedModules],
38
- imports: [CommonModule]
39
- })
40
- ], TileLayoutModule);
41
- return TileLayoutModule;
42
- }());
43
- export { TileLayoutModule };
@@ -1,4 +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
- *-------------------------------------------------------------------------------------------*/
@@ -1,4 +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
- *-------------------------------------------------------------------------------------------*/
@@ -1,4 +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
- *-------------------------------------------------------------------------------------------*/
@@ -1,4 +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
- *-------------------------------------------------------------------------------------------*/
@@ -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 { NgModule } from '@angular/core';
7
- import { CommonModule } from '@angular/common';
8
- import { AvatarComponent } from './avatar/avatar.component';
9
- const exportedModules = [
10
- AvatarComponent
11
- ];
12
- const declarations = [
13
- ...exportedModules
14
- ];
15
- /**
16
- * Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
17
- * definition for the Avatar component.
18
- */
19
- let AvatarModule = class AvatarModule {
20
- };
21
- AvatarModule = tslib_1.__decorate([
22
- NgModule({
23
- declarations: [declarations],
24
- exports: [exportedModules],
25
- imports: [CommonModule]
26
- })
27
- ], AvatarModule);
28
- export { AvatarModule };
@@ -1,146 +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, EventEmitter, HostBinding, Input, Output, TemplateRef } from '@angular/core';
7
- /**
8
- * Specifies the action buttons of the Card.
9
- * * ([see example]({% slug actions_card %})).
10
- */
11
- let CardActionsComponent = class CardActionsComponent {
12
- /**
13
- * Specifies the action buttons of the Card.
14
- * * ([see example]({% slug actions_card %})).
15
- */
16
- constructor() {
17
- this.hostClass = true;
18
- /**
19
- * Specifies the layout of the Card action buttons.
20
- *
21
- * * The possible values are:
22
- * * (Default) `horizontal`
23
- * * `vertical`
24
- *
25
- */
26
- this.orientation = 'horizontal';
27
- /**
28
- * Specifies the layout of the Card action buttons.
29
- *
30
- * The possible values are:
31
- * * (Default) `start`
32
- * * `center`
33
- * * `end`
34
- * * `stretched`
35
- *
36
- */
37
- this.layout = 'start';
38
- /**
39
- * Fires when the user clicks an action button.
40
- */
41
- this.action = new EventEmitter();
42
- }
43
- get stretchedClass() {
44
- return this.layout === 'stretched';
45
- }
46
- get startClass() {
47
- return this.layout === 'start';
48
- }
49
- get endClass() {
50
- return this.layout === 'end';
51
- }
52
- get centerClass() {
53
- return this.layout === 'center';
54
- }
55
- get verticalClass() {
56
- return this.orientation === 'vertical';
57
- }
58
- get horizontalClass() {
59
- return this.orientation === 'horizontal';
60
- }
61
- /**
62
- * @hidden
63
- */
64
- onClick(action) {
65
- this.action.emit(action);
66
- }
67
- /**
68
- * @hidden
69
- */
70
- actionTemplate() {
71
- return this.actions instanceof TemplateRef;
72
- }
73
- };
74
- tslib_1.__decorate([
75
- HostBinding('class.k-card-actions'),
76
- tslib_1.__metadata("design:type", Boolean)
77
- ], CardActionsComponent.prototype, "hostClass", void 0);
78
- tslib_1.__decorate([
79
- HostBinding('class.k-card-actions-stretched'),
80
- tslib_1.__metadata("design:type", Boolean),
81
- tslib_1.__metadata("design:paramtypes", [])
82
- ], CardActionsComponent.prototype, "stretchedClass", null);
83
- tslib_1.__decorate([
84
- HostBinding('class.k-card-actions-start'),
85
- tslib_1.__metadata("design:type", Boolean),
86
- tslib_1.__metadata("design:paramtypes", [])
87
- ], CardActionsComponent.prototype, "startClass", null);
88
- tslib_1.__decorate([
89
- HostBinding('class.k-card-actions-end'),
90
- tslib_1.__metadata("design:type", Boolean),
91
- tslib_1.__metadata("design:paramtypes", [])
92
- ], CardActionsComponent.prototype, "endClass", null);
93
- tslib_1.__decorate([
94
- HostBinding('class.k-card-actions-center'),
95
- tslib_1.__metadata("design:type", Boolean),
96
- tslib_1.__metadata("design:paramtypes", [])
97
- ], CardActionsComponent.prototype, "centerClass", null);
98
- tslib_1.__decorate([
99
- HostBinding('class.k-card-actions-vertical'),
100
- tslib_1.__metadata("design:type", Boolean),
101
- tslib_1.__metadata("design:paramtypes", [])
102
- ], CardActionsComponent.prototype, "verticalClass", null);
103
- tslib_1.__decorate([
104
- HostBinding('class.k-card-actions-horizontal'),
105
- tslib_1.__metadata("design:type", Boolean),
106
- tslib_1.__metadata("design:paramtypes", [])
107
- ], CardActionsComponent.prototype, "horizontalClass", null);
108
- tslib_1.__decorate([
109
- Input(),
110
- tslib_1.__metadata("design:type", String)
111
- ], CardActionsComponent.prototype, "orientation", void 0);
112
- tslib_1.__decorate([
113
- Input(),
114
- tslib_1.__metadata("design:type", String)
115
- ], CardActionsComponent.prototype, "layout", void 0);
116
- tslib_1.__decorate([
117
- Input(),
118
- tslib_1.__metadata("design:type", Object)
119
- ], CardActionsComponent.prototype, "actions", void 0);
120
- tslib_1.__decorate([
121
- Output(),
122
- tslib_1.__metadata("design:type", EventEmitter)
123
- ], CardActionsComponent.prototype, "action", void 0);
124
- CardActionsComponent = tslib_1.__decorate([
125
- Component({
126
- selector: 'kendo-card-actions',
127
- template: `
128
- <ng-content *ngIf="!actions"></ng-content>
129
-
130
- <ng-container *ngIf="!actionTemplate()">
131
- <button type="button"
132
- class="k-button"
133
- [class.k-primary]="action.primary"
134
- [class.k-flat]="action.flat"
135
- (click)="onClick(action)"
136
- *ngFor="let action of actions"
137
- >
138
- {{ action.text }}
139
- </button>
140
- </ng-container>
141
-
142
- <ng-template [ngTemplateOutlet]="actions" *ngIf="actionTemplate()"></ng-template>
143
- `
144
- })
145
- ], CardActionsComponent);
146
- export { CardActionsComponent };