@progress/kendo-angular-layout 17.0.0-develop.8 → 17.0.0

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 (242) hide show
  1. package/avatar/avatar.component.d.ts +1 -1
  2. package/avatar/l10n/messages.d.ts +1 -1
  3. package/avatar/models/fill.d.ts +1 -1
  4. package/avatar/models/rounded.d.ts +1 -1
  5. package/avatar/models/shape.d.ts +2 -2
  6. package/avatar/models/size.d.ts +1 -1
  7. package/avatar/models/theme-color.d.ts +1 -1
  8. package/card/card-actions.component.d.ts +1 -1
  9. package/card/card.component.d.ts +1 -1
  10. package/card/directives/card-separator.directive.d.ts +1 -1
  11. package/card/models/actions-layout.d.ts +1 -1
  12. package/common/direction.d.ts +1 -1
  13. package/common/orientation.d.ts +1 -1
  14. package/drawer/drawer.component.d.ts +1 -1
  15. package/drawer/item.component.d.ts +1 -1
  16. package/drawer/list.component.d.ts +1 -1
  17. package/drawer/models/drawer-item-expand.interface.d.ts +1 -1
  18. package/drawer/models/mode.d.ts +1 -1
  19. package/drawer/models/position.d.ts +1 -1
  20. package/{esm2020 → esm2022}/avatar/avatar.component.mjs +61 -25
  21. package/{esm2020 → esm2022}/avatar/l10n/custom-messages.component.mjs +9 -8
  22. package/{esm2020 → esm2022}/avatar/l10n/localized-messages.directive.mjs +9 -8
  23. package/{esm2020 → esm2022}/avatar/l10n/messages.mjs +7 -3
  24. package/{esm2020 → esm2022}/avatar.module.mjs +4 -4
  25. package/{esm2020 → esm2022}/card/card-actions.component.mjs +37 -31
  26. package/{esm2020 → esm2022}/card/card-body.component.mjs +5 -7
  27. package/{esm2020 → esm2022}/card/card-footer.component.mjs +5 -7
  28. package/{esm2020 → esm2022}/card/card-header.component.mjs +5 -7
  29. package/{esm2020 → esm2022}/card/card.component.mjs +40 -34
  30. package/{esm2020 → esm2022}/card/directives/card-media.directive.mjs +4 -6
  31. package/{esm2020 → esm2022}/card/directives/card-separator.directive.mjs +16 -14
  32. package/{esm2020 → esm2022}/card/directives/card-subtitle.directive.mjs +4 -6
  33. package/{esm2020 → esm2022}/card/directives/card-title.directive.mjs +4 -6
  34. package/{esm2020 → esm2022}/card/models/card-action.mjs +12 -0
  35. package/{esm2020 → esm2022}/card.module.mjs +4 -4
  36. package/{esm2020 → esm2022}/common/preventable-event.mjs +7 -7
  37. package/{esm2020 → esm2022}/drawer/drawer-container.component.mjs +28 -18
  38. package/{esm2020 → esm2022}/drawer/drawer-content.component.mjs +6 -7
  39. package/{esm2020 → esm2022}/drawer/drawer.component.mjs +132 -106
  40. package/{esm2020 → esm2022}/drawer/drawer.service.mjs +10 -10
  41. package/{esm2020 → esm2022}/drawer/events/drawer-list-select.event.mjs +12 -0
  42. package/{esm2020 → esm2022}/drawer/events/select-event.mjs +16 -0
  43. package/{esm2020 → esm2022}/drawer/item.component.mjs +22 -11
  44. package/{esm2020 → esm2022}/drawer/list.component.mjs +14 -6
  45. package/{esm2020 → esm2022}/drawer/template-directives/drawer-template.directive.mjs +4 -3
  46. package/{esm2020 → esm2022}/drawer/template-directives/footer-template.directive.mjs +4 -3
  47. package/{esm2020 → esm2022}/drawer/template-directives/header-template.directive.mjs +4 -3
  48. package/{esm2020 → esm2022}/drawer/template-directives/item-template.directive.mjs +4 -3
  49. package/{esm2020 → esm2022}/drawer.module.mjs +4 -4
  50. package/{esm2020 → esm2022}/expansionpanel/events/action-event.mjs +4 -0
  51. package/{esm2020 → esm2022}/expansionpanel/expansionpanel-title.directive.mjs +4 -3
  52. package/{esm2020 → esm2022}/expansionpanel/expansionpanel.component.mjs +103 -81
  53. package/{esm2020 → esm2022}/expansionpanel.module.mjs +4 -4
  54. package/{esm2020 → esm2022}/gridlayout.module.mjs +4 -4
  55. package/{esm2020 → esm2022}/layout.module.mjs +4 -4
  56. package/{esm2020 → esm2022}/layouts/grid-layout.component.mjs +57 -26
  57. package/{esm2020 → esm2022}/layouts/gridlayout-item.component.mjs +26 -4
  58. package/{esm2020 → esm2022}/layouts/stack-layout.component.mjs +40 -35
  59. package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
  60. package/{esm2020 → esm2022}/panelbar/events/collapse-event.mjs +4 -0
  61. package/{esm2020 → esm2022}/panelbar/events/expand-event.mjs +4 -0
  62. package/{esm2020 → esm2022}/panelbar/events/item-click-event.mjs +8 -0
  63. package/{esm2020 → esm2022}/panelbar/events/select-event.mjs +4 -0
  64. package/{esm2020 → esm2022}/panelbar/events/state-change-event.mjs +4 -0
  65. package/{esm2020 → esm2022}/panelbar/panelbar-content.directive.mjs +4 -3
  66. package/{esm2020 → esm2022}/panelbar/panelbar-item-template.directive.mjs +4 -3
  67. package/{esm2020 → esm2022}/panelbar/panelbar-item-title.directive.mjs +4 -3
  68. package/{esm2020 → esm2022}/panelbar/panelbar-item.component.mjs +101 -66
  69. package/{esm2020 → esm2022}/panelbar/panelbar.component.mjs +109 -98
  70. package/{esm2020 → esm2022}/panelbar/panelbar.service.mjs +23 -13
  71. package/{esm2020 → esm2022}/panelbar.module.mjs +4 -4
  72. package/{esm2020 → esm2022}/splitter/splitter-bar.component.mjs +68 -28
  73. package/esm2022/splitter/splitter-pane.component.mjs +267 -0
  74. package/{esm2020 → esm2022}/splitter/splitter.component.mjs +98 -40
  75. package/{esm2020 → esm2022}/splitter/splitter.service.mjs +69 -28
  76. package/{esm2020 → esm2022}/splitter.module.mjs +4 -4
  77. package/{esm2020 → esm2022}/stacklayout.module.mjs +4 -4
  78. package/{esm2020 → esm2022}/stepper/events/activate-event.mjs +16 -0
  79. package/{esm2020 → esm2022}/stepper/list.component.mjs +23 -5
  80. package/{esm2020 → esm2022}/stepper/localization/custom-messages.component.mjs +9 -8
  81. package/{esm2020 → esm2022}/stepper/localization/localized-messages.directive.mjs +9 -8
  82. package/{esm2020 → esm2022}/stepper/localization/messages.mjs +7 -3
  83. package/{esm2020 → esm2022}/stepper/step.component.mjs +25 -8
  84. package/{esm2020 → esm2022}/stepper/stepper.component.mjs +111 -70
  85. package/{esm2020 → esm2022}/stepper/stepper.service.mjs +30 -9
  86. package/{esm2020 → esm2022}/stepper/template-directives/indicator-template.directive.mjs +4 -3
  87. package/{esm2020 → esm2022}/stepper/template-directives/label-template.directive.mjs +4 -3
  88. package/{esm2020 → esm2022}/stepper/template-directives/step-template.directive.mjs +4 -3
  89. package/{esm2020 → esm2022}/stepper.module.mjs +4 -4
  90. package/{esm2020 → esm2022}/tabstrip/directives/tab-content.directive.mjs +4 -3
  91. package/{esm2020 → esm2022}/tabstrip/directives/tab-title.directive.mjs +4 -3
  92. package/{esm2020 → esm2022}/tabstrip/directives/tab.directive.mjs +4 -3
  93. package/{esm2020 → esm2022}/tabstrip/events/select-event.mjs +2 -0
  94. package/{esm2020 → esm2022}/tabstrip/events/tabclose-event.mjs +2 -0
  95. package/{esm2020 → esm2022}/tabstrip/events/tabscroll-event.mjs +4 -0
  96. package/{esm2020 → esm2022}/tabstrip/localization/custom-messages.component.mjs +9 -8
  97. package/{esm2020 → esm2022}/tabstrip/localization/localized-messages.directive.mjs +9 -8
  98. package/{esm2020 → esm2022}/tabstrip/localization/messages.mjs +15 -3
  99. package/esm2022/tabstrip/models/tabstrip-tab.component.mjs +117 -0
  100. package/{esm2020 → esm2022}/tabstrip/rendering/tab.component.mjs +16 -9
  101. package/{esm2020 → esm2022}/tabstrip/scrollable-button.component.mjs +33 -27
  102. package/{esm2020 → esm2022}/tabstrip/tabstrip-scroll.service.mjs +11 -9
  103. package/{esm2020 → esm2022}/tabstrip/tabstrip.component.mjs +145 -111
  104. package/{esm2020 → esm2022}/tabstrip/tabstrip.service.mjs +6 -3
  105. package/{esm2020 → esm2022}/tabstrip.module.mjs +4 -4
  106. package/{esm2020 → esm2022}/tilelayout/dragging-service.mjs +39 -24
  107. package/{esm2020 → esm2022}/tilelayout/keyboard-navigation.service.mjs +9 -4
  108. package/{esm2020 → esm2022}/tilelayout/reorder-event.mjs +8 -0
  109. package/{esm2020 → esm2022}/tilelayout/resize-event.mjs +6 -0
  110. package/{esm2020 → esm2022}/tilelayout/tilelayout-item-body.component.mjs +6 -8
  111. package/esm2022/tilelayout/tilelayout-item-header.component.mjs +33 -0
  112. package/{esm2020 → esm2022}/tilelayout/tilelayout-item.component.mjs +85 -58
  113. package/{esm2020 → esm2022}/tilelayout/tilelayout-resize-handle.directive.mjs +7 -3
  114. package/{esm2020 → esm2022}/tilelayout/tilelayout.component.mjs +103 -93
  115. package/{esm2020 → esm2022}/tilelayout.module.mjs +4 -4
  116. package/{esm2020 → esm2022}/timeline/localization/custom-messages.component.mjs +9 -8
  117. package/{esm2020 → esm2022}/timeline/localization/localized-messages.directive.mjs +9 -8
  118. package/{esm2020 → esm2022}/timeline/localization/messages.mjs +11 -3
  119. package/{esm2020 → esm2022}/timeline/templates/timeline-card-actions.directive.mjs +4 -3
  120. package/{esm2020 → esm2022}/timeline/templates/timeline-card-body.directive.mjs +4 -3
  121. package/{esm2020 → esm2022}/timeline/templates/timeline-card-header.directive.mjs +4 -3
  122. package/{esm2020 → esm2022}/timeline/timeline-card.component.mjs +48 -33
  123. package/{esm2020 → esm2022}/timeline/timeline-horizontal.component.mjs +85 -55
  124. package/{esm2020 → esm2022}/timeline/timeline-vertical.component.mjs +20 -6
  125. package/{esm2020 → esm2022}/timeline/timeline.component.mjs +108 -68
  126. package/{esm2020 → esm2022}/timeline/timeline.service.mjs +4 -3
  127. package/{esm2020 → esm2022}/timeline.module.mjs +4 -4
  128. package/expansionpanel/events/action-event.d.ts +1 -1
  129. package/expansionpanel/expansionpanel.component.d.ts +1 -1
  130. package/{fesm2020 → fesm2022}/progress-kendo-angular-layout.mjs +2672 -1777
  131. package/layouts/grid-layout.component.d.ts +1 -1
  132. package/layouts/gridlayout-item.component.d.ts +1 -1
  133. package/layouts/models/layout-horizontal-align.d.ts +1 -1
  134. package/layouts/models/layout-vertical-align.d.ts +1 -1
  135. package/layouts/stack-layout.component.d.ts +1 -1
  136. package/package.json +16 -22
  137. package/panelbar/panelbar-item.component.d.ts +1 -1
  138. package/panelbar/panelbar.component.d.ts +1 -1
  139. package/schematics/ngAdd/index.js +1 -1
  140. package/splitter/splitter-bar.component.d.ts +13 -1
  141. package/splitter/splitter-pane.component.d.ts +26 -6
  142. package/splitter/splitter.component.d.ts +12 -4
  143. package/splitter/splitter.service.d.ts +7 -2
  144. package/stepper/list.component.d.ts +1 -1
  145. package/stepper/localization/messages.d.ts +1 -1
  146. package/stepper/models/orientation.d.ts +1 -1
  147. package/stepper/models/step-predicate.d.ts +1 -1
  148. package/stepper/models/step-type.d.ts +1 -1
  149. package/stepper/step.component.d.ts +1 -1
  150. package/stepper/stepper.component.d.ts +1 -1
  151. package/tabstrip/localization/messages.d.ts +1 -1
  152. package/tabstrip/models/button-state-change.d.ts +1 -1
  153. package/tabstrip/models/scroll-button-type.d.ts +1 -1
  154. package/tabstrip/models/scroll-buttons-visibility.d.ts +1 -1
  155. package/tabstrip/models/tab-alignment.d.ts +1 -1
  156. package/tabstrip/models/tab-position.d.ts +1 -1
  157. package/tabstrip/models/tabstrip-tab.component.d.ts +1 -1
  158. package/tabstrip/rendering/tab.component.d.ts +1 -1
  159. package/tabstrip/scrollable-button.component.d.ts +1 -1
  160. package/tabstrip/tabstrip.component.d.ts +1 -1
  161. package/tilelayout/models/flowmode.type.d.ts +1 -1
  162. package/tilelayout/tilelayout-item-header.component.d.ts +1 -9
  163. package/tilelayout/tilelayout-item.component.d.ts +1 -1
  164. package/tilelayout/tilelayout-resize-handle.directive.d.ts +1 -1
  165. package/tilelayout/tilelayout.component.d.ts +1 -1
  166. package/timeline/events/navigation-direction.d.ts +1 -1
  167. package/timeline/localization/messages.d.ts +1 -1
  168. package/timeline/models/anchor-target.d.ts +1 -1
  169. package/timeline/timeline-card.component.d.ts +1 -1
  170. package/timeline/timeline-horizontal.component.d.ts +2 -2
  171. package/timeline/timeline-vertical.component.d.ts +1 -1
  172. package/timeline/timeline.component.d.ts +1 -1
  173. package/esm2020/splitter/splitter-pane.component.mjs +0 -222
  174. package/esm2020/tabstrip/models/tabstrip-tab.component.mjs +0 -78
  175. package/esm2020/tilelayout/tilelayout-item-header.component.mjs +0 -53
  176. package/fesm2015/progress-kendo-angular-layout.mjs +0 -12385
  177. /package/{esm2020 → esm2022}/avatar/models/fill.mjs +0 -0
  178. /package/{esm2020 → esm2022}/avatar/models/models.mjs +0 -0
  179. /package/{esm2020 → esm2022}/avatar/models/rounded.mjs +0 -0
  180. /package/{esm2020 → esm2022}/avatar/models/shape.mjs +0 -0
  181. /package/{esm2020 → esm2022}/avatar/models/size.mjs +0 -0
  182. /package/{esm2020 → esm2022}/avatar/models/theme-color.mjs +0 -0
  183. /package/{esm2020 → esm2022}/card/models/actions-layout.mjs +0 -0
  184. /package/{esm2020 → esm2022}/common/direction.mjs +0 -0
  185. /package/{esm2020 → esm2022}/common/dom-queries.mjs +0 -0
  186. /package/{esm2020 → esm2022}/common/orientation.mjs +0 -0
  187. /package/{esm2020 → esm2022}/common/styling-classes.mjs +0 -0
  188. /package/{esm2020 → esm2022}/common/util.mjs +0 -0
  189. /package/{esm2020 → esm2022}/directives.mjs +0 -0
  190. /package/{esm2020 → esm2022}/drawer/animations.mjs +0 -0
  191. /package/{esm2020 → esm2022}/drawer/models/constants.mjs +0 -0
  192. /package/{esm2020 → esm2022}/drawer/models/drawer-animation.interface.mjs +0 -0
  193. /package/{esm2020 → esm2022}/drawer/models/drawer-item-expand.interface.mjs +0 -0
  194. /package/{esm2020 → esm2022}/drawer/models/drawer-item.interface.mjs +0 -0
  195. /package/{esm2020 → esm2022}/drawer/models/drawer-view-item.interface.mjs +0 -0
  196. /package/{esm2020 → esm2022}/drawer/models/mode.mjs +0 -0
  197. /package/{esm2020 → esm2022}/drawer/models/position.mjs +0 -0
  198. /package/{esm2020 → esm2022}/drawer/template-directives.mjs +0 -0
  199. /package/{esm2020 → esm2022}/drawer/types.mjs +0 -0
  200. /package/{esm2020 → esm2022}/drawer/util.mjs +0 -0
  201. /package/{esm2020 → esm2022}/expansionpanel/animations.mjs +0 -0
  202. /package/{esm2020 → esm2022}/index.mjs +0 -0
  203. /package/{esm2020 → esm2022}/layouts/models/gridlayout-gap-settings.mjs +0 -0
  204. /package/{esm2020 → esm2022}/layouts/models/gridlayout-row-col-size.mjs +0 -0
  205. /package/{esm2020 → esm2022}/layouts/models/layout-align-settings.mjs +0 -0
  206. /package/{esm2020 → esm2022}/layouts/models/layout-horizontal-align.mjs +0 -0
  207. /package/{esm2020 → esm2022}/layouts/models/layout-vertical-align.mjs +0 -0
  208. /package/{esm2020 → esm2022}/layouts/models.mjs +0 -0
  209. /package/{esm2020 → esm2022}/layouts/util.mjs +0 -0
  210. /package/{esm2020 → esm2022}/panelbar/events.mjs +0 -0
  211. /package/{esm2020 → esm2022}/panelbar/panelbar-expand-mode.mjs +0 -0
  212. /package/{esm2020 → esm2022}/panelbar/panelbar-item-model.mjs +0 -0
  213. /package/{esm2020 → esm2022}/progress-kendo-angular-layout.mjs +0 -0
  214. /package/{esm2020 → esm2022}/splitter/util.mjs +0 -0
  215. /package/{esm2020 → esm2022}/stepper/models/constants.mjs +0 -0
  216. /package/{esm2020 → esm2022}/stepper/models/orientation.mjs +0 -0
  217. /package/{esm2020 → esm2022}/stepper/models/step-predicate.mjs +0 -0
  218. /package/{esm2020 → esm2022}/stepper/models/step-type.mjs +0 -0
  219. /package/{esm2020 → esm2022}/stepper/models/stepper-step.interface.mjs +0 -0
  220. /package/{esm2020 → esm2022}/stepper/template-directives.mjs +0 -0
  221. /package/{esm2020 → esm2022}/stepper/types.mjs +0 -0
  222. /package/{esm2020 → esm2022}/tabstrip/constants.mjs +0 -0
  223. /package/{esm2020 → esm2022}/tabstrip/events.mjs +0 -0
  224. /package/{esm2020 → esm2022}/tabstrip/models/button-state-change.mjs +0 -0
  225. /package/{esm2020 → esm2022}/tabstrip/models/scroll-button-type.mjs +0 -0
  226. /package/{esm2020 → esm2022}/tabstrip/models/scroll-buttons-visibility.mjs +0 -0
  227. /package/{esm2020 → esm2022}/tabstrip/models/scrollable-settings.mjs +0 -0
  228. /package/{esm2020 → esm2022}/tabstrip/models/tab-alignment.mjs +0 -0
  229. /package/{esm2020 → esm2022}/tabstrip/models/tab-position.mjs +0 -0
  230. /package/{esm2020 → esm2022}/tabstrip/util.mjs +0 -0
  231. /package/{esm2020 → esm2022}/tilelayout/constants.mjs +0 -0
  232. /package/{esm2020 → esm2022}/tilelayout/models/dragging-config.interface.mjs +0 -0
  233. /package/{esm2020 → esm2022}/tilelayout/models/flowmode.type.mjs +0 -0
  234. /package/{esm2020 → esm2022}/tilelayout/models/gap.interface.mjs +0 -0
  235. /package/{esm2020 → esm2022}/tilelayout/models/navigation.interface.mjs +0 -0
  236. /package/{esm2020 → esm2022}/tilelayout/util.mjs +0 -0
  237. /package/{esm2020 → esm2022}/timeline/events/navigation-direction.mjs +0 -0
  238. /package/{esm2020 → esm2022}/timeline/models/anchor-target.mjs +0 -0
  239. /package/{esm2020 → esm2022}/timeline/models/default-model-fields.mjs +0 -0
  240. /package/{esm2020 → esm2022}/timeline/models/model-fields.mjs +0 -0
  241. /package/{esm2020 → esm2022}/timeline/models/timeline-event.mjs +0 -0
  242. /package/{esm2020 → esm2022}/timeline/util.mjs +0 -0
@@ -12,30 +12,8 @@ import * as i1 from "@progress/kendo-angular-l10n";
12
12
  * Represents the [Kendo UI Card component for Angular]({% slug overview_card %})
13
13
  */
14
14
  export class CardComponent {
15
- constructor(localizationService) {
16
- this.localizationService = localizationService;
17
- this.hostClass = true;
18
- /**
19
- * Specifies the layout of the Card content.
20
- *
21
- * The possible values are:
22
- * * (Default) `vertical`
23
- * * `horizontal`
24
- *
25
- */
26
- this.orientation = 'vertical';
27
- /**
28
- * Defines the width of the Card.
29
- * Defaults to `285px`.
30
- */
31
- this.width = '285px';
32
- this.rtl = false;
33
- validatePackage(packageMetadata);
34
- this.dynamicRTLSubscription = this.localizationService.changes.subscribe(({ rtl }) => {
35
- this.rtl = rtl;
36
- this.direction = this.rtl ? 'rtl' : 'ltr';
37
- });
38
- }
15
+ localizationService;
16
+ hostClass = true;
39
17
  get widthStyle() {
40
18
  return this.width;
41
19
  }
@@ -45,23 +23,51 @@ export class CardComponent {
45
23
  get horizontal() {
46
24
  return this.orientation === 'horizontal';
47
25
  }
26
+ /**
27
+ * @hidden
28
+ */
29
+ direction;
30
+ /**
31
+ * Specifies the layout of the Card content.
32
+ *
33
+ * The possible values are:
34
+ * * (Default) `vertical`
35
+ * * `horizontal`
36
+ *
37
+ */
38
+ orientation = 'vertical';
39
+ /**
40
+ * Defines the width of the Card.
41
+ * Defaults to `285px`.
42
+ */
43
+ width = '285px';
44
+ dynamicRTLSubscription;
45
+ rtl = false;
46
+ constructor(localizationService) {
47
+ this.localizationService = localizationService;
48
+ validatePackage(packageMetadata);
49
+ this.dynamicRTLSubscription = this.localizationService.changes.subscribe(({ rtl }) => {
50
+ this.rtl = rtl;
51
+ this.direction = this.rtl ? 'rtl' : 'ltr';
52
+ });
53
+ }
48
54
  ngOnDestroy() {
49
55
  if (this.dynamicRTLSubscription) {
50
56
  this.dynamicRTLSubscription.unsubscribe();
51
57
  }
52
58
  }
53
- }
54
- CardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CardComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
55
- CardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CardComponent, isStandalone: true, selector: "kendo-card", inputs: { orientation: "orientation", width: "width" }, host: { properties: { "class.k-card": "this.hostClass", "style.width": "this.widthStyle", "class.k-card-vertical": "this.vertical", "class.k-card-horizontal": "this.horizontal", "attr.dir": "this.direction" } }, providers: [
56
- LocalizationService,
57
- {
58
- provide: L10N_PREFIX,
59
- useValue: 'kendo.card.component'
60
- }
61
- ], ngImport: i0, template: `
59
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CardComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
60
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: CardComponent, isStandalone: true, selector: "kendo-card", inputs: { orientation: "orientation", width: "width" }, host: { properties: { "class.k-card": "this.hostClass", "style.width": "this.widthStyle", "class.k-card-vertical": "this.vertical", "class.k-card-horizontal": "this.horizontal", "attr.dir": "this.direction" } }, providers: [
61
+ LocalizationService,
62
+ {
63
+ provide: L10N_PREFIX,
64
+ useValue: 'kendo.card.component'
65
+ }
66
+ ], ngImport: i0, template: `
62
67
  <ng-content></ng-content>
63
68
  `, isInline: true });
64
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CardComponent, decorators: [{
69
+ }
70
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CardComponent, decorators: [{
65
71
  type: Component,
66
72
  args: [{
67
73
  selector: 'kendo-card',
@@ -8,13 +8,11 @@ import * as i0 from "@angular/core";
8
8
  * Specifies any media that will be displayed and aligned in the Card.
9
9
  */
10
10
  export class CardMediaDirective {
11
- constructor() {
12
- this.hostClass = true;
13
- }
11
+ hostClass = true;
12
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CardMediaDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
13
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: CardMediaDirective, isStandalone: true, selector: "[kendoCardMedia]", host: { properties: { "class.k-card-media": "this.hostClass" } }, ngImport: i0 });
14
14
  }
15
- CardMediaDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CardMediaDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
16
- CardMediaDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CardMediaDirective, isStandalone: true, selector: "[kendoCardMedia]", host: { properties: { "class.k-card-media": "this.hostClass" } }, ngImport: i0 });
17
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CardMediaDirective, decorators: [{
15
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CardMediaDirective, decorators: [{
18
16
  type: Directive,
19
17
  args: [{
20
18
  selector: '[kendoCardMedia]',
@@ -8,27 +8,29 @@ import * as i0 from "@angular/core";
8
8
  * Specifies a separator in the content of the Card.
9
9
  */
10
10
  export class CardSeparatorDirective {
11
- constructor() {
12
- this.hostClass = true;
13
- /**
14
- * Specifies the orientation of the Card separator.
15
- *
16
- * The possible values are:
17
- * (Default) `horizontal`
18
- * `vertical`
19
- */
20
- this.orientation = 'horizontal';
21
- }
11
+ hostClass = true;
22
12
  get verticalClass() {
23
13
  return this.orientation === 'vertical';
24
14
  }
25
15
  get horizontalClass() {
26
16
  return this.orientation === 'horizontal';
27
17
  }
18
+ /**
19
+ * Sets the color of the Card separator.
20
+ */
21
+ color;
22
+ /**
23
+ * Specifies the orientation of the Card separator.
24
+ *
25
+ * The possible values are:
26
+ * (Default) `horizontal`
27
+ * `vertical`
28
+ */
29
+ orientation = 'horizontal';
30
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CardSeparatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
31
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: CardSeparatorDirective, isStandalone: true, selector: "[kendoCardSeparator]", inputs: { color: "color", orientation: "orientation" }, host: { properties: { "class.k-card-separator": "this.hostClass", "class.k-separator-vertical": "this.verticalClass", "class.k-separator-horizontal": "this.horizontalClass", "style.color": "this.color" } }, ngImport: i0 });
28
32
  }
29
- CardSeparatorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CardSeparatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
30
- CardSeparatorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CardSeparatorDirective, isStandalone: true, selector: "[kendoCardSeparator]", inputs: { color: "color", orientation: "orientation" }, host: { properties: { "class.k-card-separator": "this.hostClass", "class.k-separator-vertical": "this.verticalClass", "class.k-separator-horizontal": "this.horizontalClass", "style.color": "this.color" } }, ngImport: i0 });
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CardSeparatorDirective, decorators: [{
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CardSeparatorDirective, decorators: [{
32
34
  type: Directive,
33
35
  args: [{
34
36
  selector: '[kendoCardSeparator]',
@@ -8,13 +8,11 @@ import * as i0 from "@angular/core";
8
8
  * Specifies the text and styles for the subtitle of the Card.
9
9
  */
10
10
  export class CardSubtitleDirective {
11
- constructor() {
12
- this.hostClass = true;
13
- }
11
+ hostClass = true;
12
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CardSubtitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
13
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: CardSubtitleDirective, isStandalone: true, selector: "[kendoCardSubtitle]", host: { properties: { "class.k-card-subtitle": "this.hostClass" } }, ngImport: i0 });
14
14
  }
15
- CardSubtitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CardSubtitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
16
- CardSubtitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CardSubtitleDirective, isStandalone: true, selector: "[kendoCardSubtitle]", host: { properties: { "class.k-card-subtitle": "this.hostClass" } }, ngImport: i0 });
17
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CardSubtitleDirective, decorators: [{
15
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CardSubtitleDirective, decorators: [{
18
16
  type: Directive,
19
17
  args: [{
20
18
  selector: '[kendoCardSubtitle]',
@@ -8,13 +8,11 @@ import * as i0 from "@angular/core";
8
8
  * Specifies the text and styles for the title of the Card.
9
9
  */
10
10
  export class CardTitleDirective {
11
- constructor() {
12
- this.hostClass = true;
13
- }
11
+ hostClass = true;
12
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CardTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
13
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: CardTitleDirective, isStandalone: true, selector: "[kendoCardTitle]", host: { properties: { "class.k-card-title": "this.hostClass" } }, ngImport: i0 });
14
14
  }
15
- CardTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CardTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
16
- CardTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CardTitleDirective, isStandalone: true, selector: "[kendoCardTitle]", host: { properties: { "class.k-card-title": "this.hostClass" } }, ngImport: i0 });
17
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CardTitleDirective, decorators: [{
15
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CardTitleDirective, decorators: [{
18
16
  type: Directive,
19
17
  args: [{
20
18
  selector: '[kendoCardTitle]',
@@ -6,4 +6,16 @@
6
6
  * The settings of the Card action buttons.
7
7
  */
8
8
  export class CardAction {
9
+ /**
10
+ * Determines if the action button is styled as a primary button.
11
+ */
12
+ primary;
13
+ /**
14
+ * Determines if the action button is styled as a flat button.
15
+ */
16
+ flat;
17
+ /**
18
+ * The text of the action button.
19
+ */
20
+ text;
9
21
  }
@@ -20,11 +20,11 @@ import * as i9 from "./card/directives/card-title.directive";
20
20
  * definition for the Card component.
21
21
  */
22
22
  export class CardModule {
23
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
24
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: CardModule, imports: [i1.CardComponent, i2.CardActionsComponent, i3.CardBodyComponent, i4.CardFooterComponent, i5.CardHeaderComponent, i6.CardMediaDirective, i7.CardSeparatorDirective, i8.CardSubtitleDirective, i9.CardTitleDirective], exports: [i1.CardComponent, i2.CardActionsComponent, i3.CardBodyComponent, i4.CardFooterComponent, i5.CardHeaderComponent, i6.CardMediaDirective, i7.CardSeparatorDirective, i8.CardSubtitleDirective, i9.CardTitleDirective] });
25
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CardModule });
23
26
  }
24
- CardModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
25
- CardModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: CardModule, imports: [i1.CardComponent, i2.CardActionsComponent, i3.CardBodyComponent, i4.CardFooterComponent, i5.CardHeaderComponent, i6.CardMediaDirective, i7.CardSeparatorDirective, i8.CardSubtitleDirective, i9.CardTitleDirective], exports: [i1.CardComponent, i2.CardActionsComponent, i3.CardBodyComponent, i4.CardFooterComponent, i5.CardHeaderComponent, i6.CardMediaDirective, i7.CardSeparatorDirective, i8.CardSubtitleDirective, i9.CardTitleDirective] });
26
- CardModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CardModule, imports: [i1.CardComponent, i2.CardActionsComponent, i3.CardBodyComponent, i4.CardFooterComponent, i5.CardHeaderComponent] });
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CardModule, decorators: [{
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CardModule, decorators: [{
28
28
  type: NgModule,
29
29
  args: [{
30
30
  exports: [...KENDO_CARD],
@@ -6,13 +6,7 @@
6
6
  * @hidden
7
7
  */
8
8
  export class PreventableEvent {
9
- /**
10
- * @hidden
11
- */
12
- constructor(args) {
13
- this.prevented = false;
14
- Object.assign(this, args);
15
- }
9
+ prevented = false;
16
10
  /**
17
11
  * Prevents the default action for a specified event.
18
12
  * In this way, the source component suppresses
@@ -31,4 +25,10 @@ export class PreventableEvent {
31
25
  isDefaultPrevented() {
32
26
  return this.prevented;
33
27
  }
28
+ /**
29
+ * @hidden
30
+ */
31
+ constructor(args) {
32
+ Object.assign(this, args);
33
+ }
34
34
  }
@@ -13,14 +13,7 @@ import * as i1 from "@progress/kendo-angular-l10n";
13
13
  * Serves as a container for the [Kendo UI Drawer component for Angular]({% slug overview_drawer %}) and its content.
14
14
  */
15
15
  export class DrawerContainerComponent {
16
- constructor(localizationService) {
17
- this.localizationService = localizationService;
18
- this.rtl = false;
19
- this.dynamicRTLSubscription = this.localizationService.changes.subscribe(({ rtl }) => {
20
- this.rtl = rtl;
21
- this.direction = this.rtl ? 'rtl' : 'ltr';
22
- });
23
- }
16
+ localizationService;
24
17
  get hostClass() {
25
18
  return true;
26
19
  }
@@ -36,6 +29,23 @@ export class DrawerContainerComponent {
36
29
  get isExpandedClass() {
37
30
  return this.drawer.expanded;
38
31
  }
32
+ /**
33
+ * @hidden
34
+ */
35
+ direction;
36
+ /**
37
+ * @hidden
38
+ */
39
+ drawer;
40
+ dynamicRTLSubscription;
41
+ rtl = false;
42
+ constructor(localizationService) {
43
+ this.localizationService = localizationService;
44
+ this.dynamicRTLSubscription = this.localizationService.changes.subscribe(({ rtl }) => {
45
+ this.rtl = rtl;
46
+ this.direction = this.rtl ? 'rtl' : 'ltr';
47
+ });
48
+ }
39
49
  ngOnDestroy() {
40
50
  if (this.dynamicRTLSubscription) {
41
51
  this.dynamicRTLSubscription.unsubscribe();
@@ -57,19 +67,19 @@ export class DrawerContainerComponent {
57
67
  this.drawer.toggle(false);
58
68
  }
59
69
  }
60
- }
61
- DrawerContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DrawerContainerComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
62
- DrawerContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DrawerContainerComponent, isStandalone: true, selector: "kendo-drawer-container", host: { properties: { "class.k-drawer-container": "this.hostClass", "class.k-drawer-overlay": "this.overlayClass", "class.k-drawer-mini": "this.miniClass", "class.k-drawer-push": "this.pushClass", "class.k-drawer-expanded": "this.isExpandedClass", "attr.dir": "this.direction" } }, providers: [
63
- LocalizationService,
64
- {
65
- provide: L10N_PREFIX,
66
- useValue: 'kendo.drawer.container'
67
- }
68
- ], queries: [{ propertyName: "drawer", first: true, predicate: DrawerComponent, descendants: true }], ngImport: i0, template: `
70
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DrawerContainerComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
71
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DrawerContainerComponent, isStandalone: true, selector: "kendo-drawer-container", host: { properties: { "class.k-drawer-container": "this.hostClass", "class.k-drawer-overlay": "this.overlayClass", "class.k-drawer-mini": "this.miniClass", "class.k-drawer-push": "this.pushClass", "class.k-drawer-expanded": "this.isExpandedClass", "attr.dir": "this.direction" } }, providers: [
72
+ LocalizationService,
73
+ {
74
+ provide: L10N_PREFIX,
75
+ useValue: 'kendo.drawer.container'
76
+ }
77
+ ], queries: [{ propertyName: "drawer", first: true, predicate: DrawerComponent, descendants: true }], ngImport: i0, template: `
69
78
  <div class="k-overlay" *ngIf="overlay" (click)="closeDrawer()"></div>
70
79
  <ng-content></ng-content>
71
80
  `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
72
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DrawerContainerComponent, decorators: [{
81
+ }
82
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DrawerContainerComponent, decorators: [{
73
83
  type: Component,
74
84
  args: [{
75
85
  selector: 'kendo-drawer-container',
@@ -8,15 +8,14 @@ import * as i0 from "@angular/core";
8
8
  * Represents the content of the [Kendo UI Drawer component for Angular]({% slug overview_drawer %}).
9
9
  */
10
10
  export class DrawerContentComponent {
11
- constructor() {
12
- this.hostClasses = true;
13
- }
14
- }
15
- DrawerContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DrawerContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
16
- DrawerContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DrawerContentComponent, isStandalone: true, selector: "kendo-drawer-content", host: { properties: { "class.k-drawer-content": "this.hostClasses" } }, ngImport: i0, template: `
11
+ hostClasses = true;
12
+ constructor() { }
13
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DrawerContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
14
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DrawerContentComponent, isStandalone: true, selector: "kendo-drawer-content", host: { properties: { "class.k-drawer-content": "this.hostClasses" } }, ngImport: i0, template: `
17
15
  <ng-content></ng-content>
18
16
  `, isInline: true, encapsulation: i0.ViewEncapsulation.None });
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DrawerContentComponent, decorators: [{
17
+ }
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DrawerContentComponent, decorators: [{
20
19
  type: Component,
21
20
  args: [{
22
21
  selector: 'kendo-drawer-content',
@@ -53,101 +53,11 @@ const DEFAULT_ANIMATION = { type: 'slide', duration: 200 };
53
53
  * ```
54
54
  */
55
55
  export class DrawerComponent {
56
- constructor(element, builder, localizationService, drawerService) {
57
- this.element = element;
58
- this.builder = builder;
59
- this.localizationService = localizationService;
60
- this.drawerService = drawerService;
61
- this.hostClasses = true;
62
- /**
63
- * Specifies the mode in which the Drawer will be displayed.
64
- *
65
- * The possible values are:
66
- * * (Default) `overlay`
67
- * * `push`
68
- */
69
- this.mode = 'overlay';
70
- /**
71
- * Specifies the position of the Drawer
72
- * ([see example]({% slug positioning_drawer %})).
73
- *
74
- * The possible values are:
75
- * * (Default) `start`
76
- * * `end`
77
- */
78
- this.position = 'start';
79
- /**
80
- * Enables the mini (compact) view of the Drawer which is displayed when the component is collapsed
81
- * ([see example]({% slug expandmodespositions_drawer %}#toc-mini-view)).
82
- */
83
- this.mini = false;
84
- /**
85
- * Specifies the state of the Drawer.
86
- */
87
- this.expanded = false;
88
- /**
89
- * Defines the width of the Drawer when it is expanded.
90
- * Defaults to `240`.
91
- */
92
- this.width = 240;
93
- /**
94
- * Defines the width of the Drawer when the mini view is enabled
95
- * and the component is collapsed. Defaults to `60`.
96
- */
97
- this.miniWidth = 50;
98
- /**
99
- * Specifies if the Drawer will be automatically collapsed when an item
100
- * or the overlay is clicked. Defaults to `true`.
101
- */
102
- this.autoCollapse = true;
103
- /**
104
- * The collection of items that will be rendered in the Drawer.
105
- */
106
- this.items = [];
107
- /**
108
- * Specifies the animation settings of the Drawer.
109
- * ([see example]({% slug interaction_drawer %}#toc-toggling-between-states)).
110
- *
111
- * The possible values are:
112
- * * Boolean
113
- * * (Default) `true`
114
- * * `false`
115
- * * `DrawerAnimation`
116
- * * (Default) `type?: 'slide'`
117
- * * `duration`&mdash;Accepts a number in milliseconds. Defaults to `300ms`.
118
- */
119
- this.animation = DEFAULT_ANIMATION;
120
- /**
121
- * Fires when the Drawer is expanded and its animation is complete.
122
- */
123
- this.expand = new EventEmitter();
124
- /**
125
- * Fires when the Drawer is collapsed and its animation is complete.
126
- */
127
- this.collapse = new EventEmitter();
128
- /**
129
- * Fires when a Drawer item is selected. This event is preventable.
130
- */
131
- this.select = new EventEmitter();
132
- /**
133
- * Fires when the `expanded` property of the component was updated.
134
- * Used to provide a two-way binding for the `expanded` property.
135
- */
136
- this.expandedChange = new EventEmitter();
137
- /**
138
- * @hidden
139
- */
140
- this.showLicenseWatermark = false;
141
- this.animationEnd = new EventEmitter();
142
- this.rtl = false;
143
- const isValid = validatePackage(packageMetadata);
144
- this.showLicenseWatermark = shouldShowValidationUI(isValid);
145
- this.dynamicRTLSubscription = this.localizationService.changes.subscribe(({ rtl }) => {
146
- this.rtl = rtl;
147
- this.direction = this.rtl ? 'rtl' : 'ltr';
148
- });
149
- this.drawerService.owner = this;
150
- }
56
+ element;
57
+ builder;
58
+ localizationService;
59
+ drawerService;
60
+ hostClasses = true;
151
61
  get startPositionClass() {
152
62
  return this.position === 'start';
153
63
  }
@@ -172,6 +82,51 @@ export class DrawerComponent {
172
82
  }
173
83
  return this.drawerWidth;
174
84
  }
85
+ /**
86
+ * Specifies the mode in which the Drawer will be displayed.
87
+ *
88
+ * The possible values are:
89
+ * * (Default) `overlay`
90
+ * * `push`
91
+ */
92
+ mode = 'overlay';
93
+ /**
94
+ * Specifies the position of the Drawer
95
+ * ([see example]({% slug positioning_drawer %})).
96
+ *
97
+ * The possible values are:
98
+ * * (Default) `start`
99
+ * * `end`
100
+ */
101
+ position = 'start';
102
+ /**
103
+ * Enables the mini (compact) view of the Drawer which is displayed when the component is collapsed
104
+ * ([see example]({% slug expandmodespositions_drawer %}#toc-mini-view)).
105
+ */
106
+ mini = false;
107
+ /**
108
+ * Specifies the state of the Drawer.
109
+ */
110
+ expanded = false;
111
+ /**
112
+ * Defines the width of the Drawer when it is expanded.
113
+ * Defaults to `240`.
114
+ */
115
+ width = 240;
116
+ /**
117
+ * Defines the width of the Drawer when the mini view is enabled
118
+ * and the component is collapsed. Defaults to `60`.
119
+ */
120
+ miniWidth = 50;
121
+ /**
122
+ * Specifies if the Drawer will be automatically collapsed when an item
123
+ * or the overlay is clicked. Defaults to `true`.
124
+ */
125
+ autoCollapse = true;
126
+ /**
127
+ * The collection of items that will be rendered in the Drawer.
128
+ */
129
+ items = [];
175
130
  /**
176
131
  * Defines a callback function which determines if an item should be expanded.
177
132
  */
@@ -184,6 +139,77 @@ export class DrawerComponent {
184
139
  get isItemExpanded() {
185
140
  return this.drawerService.isItemExpanded;
186
141
  }
142
+ /**
143
+ * @hidden
144
+ */
145
+ direction;
146
+ /**
147
+ * Specifies the animation settings of the Drawer.
148
+ * ([see example]({% slug interaction_drawer %}#toc-toggling-between-states)).
149
+ *
150
+ * The possible values are:
151
+ * * Boolean
152
+ * * (Default) `true`
153
+ * * `false`
154
+ * * `DrawerAnimation`
155
+ * * (Default) `type?: 'slide'`
156
+ * * `duration`&mdash;Accepts a number in milliseconds. Defaults to `300ms`.
157
+ */
158
+ animation = DEFAULT_ANIMATION;
159
+ /**
160
+ * Fires when the Drawer is expanded and its animation is complete.
161
+ */
162
+ expand = new EventEmitter();
163
+ /**
164
+ * Fires when the Drawer is collapsed and its animation is complete.
165
+ */
166
+ collapse = new EventEmitter();
167
+ /**
168
+ * Fires when a Drawer item is selected. This event is preventable.
169
+ */
170
+ select = new EventEmitter();
171
+ /**
172
+ * Fires when the `expanded` property of the component was updated.
173
+ * Used to provide a two-way binding for the `expanded` property.
174
+ */
175
+ expandedChange = new EventEmitter();
176
+ /**
177
+ * @hidden
178
+ */
179
+ drawerTemplate;
180
+ /**
181
+ * @hidden
182
+ */
183
+ footerTemplate;
184
+ /**
185
+ * @hidden
186
+ */
187
+ headerTemplate;
188
+ /**
189
+ * @hidden
190
+ */
191
+ itemTemplate;
192
+ /**
193
+ * @hidden
194
+ */
195
+ showLicenseWatermark = false;
196
+ viewItems;
197
+ animationEnd = new EventEmitter();
198
+ dynamicRTLSubscription;
199
+ rtl = false;
200
+ constructor(element, builder, localizationService, drawerService) {
201
+ this.element = element;
202
+ this.builder = builder;
203
+ this.localizationService = localizationService;
204
+ this.drawerService = drawerService;
205
+ const isValid = validatePackage(packageMetadata);
206
+ this.showLicenseWatermark = shouldShowValidationUI(isValid);
207
+ this.dynamicRTLSubscription = this.localizationService.changes.subscribe(({ rtl }) => {
208
+ this.rtl = rtl;
209
+ this.direction = this.rtl ? 'rtl' : 'ltr';
210
+ });
211
+ this.drawerService.owner = this;
212
+ }
187
213
  ngOnChanges(changes) {
188
214
  if (changes && changes['items']) {
189
215
  this.drawerService.resetSelection();
@@ -279,16 +305,15 @@ export class DrawerComponent {
279
305
  });
280
306
  return player;
281
307
  }
282
- }
283
- DrawerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DrawerComponent, deps: [{ token: i0.ElementRef }, { token: i1.AnimationBuilder }, { token: i2.LocalizationService }, { token: i3.DrawerService }], target: i0.ɵɵFactoryTarget.Component });
284
- DrawerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DrawerComponent, isStandalone: true, selector: "kendo-drawer", inputs: { mode: "mode", position: "position", mini: "mini", expanded: "expanded", width: "width", miniWidth: "miniWidth", autoCollapse: "autoCollapse", items: "items", isItemExpanded: "isItemExpanded", animation: "animation" }, outputs: { expand: "expand", collapse: "collapse", select: "select", expandedChange: "expandedChange" }, host: { properties: { "class.k-drawer": "this.hostClasses", "class.k-drawer-start": "this.startPositionClass", "class.k-drawer-end": "this.endPositionClass", "style.transform": "this.overlayTransofrmStyles", "style.flexBasis.px": "this.flexStyles", "attr.dir": "this.direction" } }, providers: [
285
- LocalizationService,
286
- DrawerService,
287
- {
288
- provide: L10N_PREFIX,
289
- useValue: 'kendo.drawer'
290
- }
291
- ], queries: [{ propertyName: "drawerTemplate", first: true, predicate: DrawerTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: DrawerFooterTemplateDirective, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: DrawerHeaderTemplateDirective, descendants: true }, { propertyName: "itemTemplate", first: true, predicate: DrawerItemTemplateDirective, descendants: true }], exportAs: ["kendoDrawer"], usesOnChanges: true, ngImport: i0, template: `
308
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DrawerComponent, deps: [{ token: i0.ElementRef }, { token: i1.AnimationBuilder }, { token: i2.LocalizationService }, { token: i3.DrawerService }], target: i0.ɵɵFactoryTarget.Component });
309
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DrawerComponent, isStandalone: true, selector: "kendo-drawer", inputs: { mode: "mode", position: "position", mini: "mini", expanded: "expanded", width: "width", miniWidth: "miniWidth", autoCollapse: "autoCollapse", items: "items", isItemExpanded: "isItemExpanded", animation: "animation" }, outputs: { expand: "expand", collapse: "collapse", select: "select", expandedChange: "expandedChange" }, host: { properties: { "class.k-drawer": "this.hostClasses", "class.k-drawer-start": "this.startPositionClass", "class.k-drawer-end": "this.endPositionClass", "style.transform": "this.overlayTransofrmStyles", "style.flexBasis.px": "this.flexStyles", "attr.dir": "this.direction" } }, providers: [
310
+ LocalizationService,
311
+ DrawerService,
312
+ {
313
+ provide: L10N_PREFIX,
314
+ useValue: 'kendo.drawer'
315
+ }
316
+ ], queries: [{ propertyName: "drawerTemplate", first: true, predicate: DrawerTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: DrawerFooterTemplateDirective, descendants: true }, { propertyName: "headerTemplate", first: true, predicate: DrawerHeaderTemplateDirective, descendants: true }, { propertyName: "itemTemplate", first: true, predicate: DrawerItemTemplateDirective, descendants: true }], exportAs: ["kendoDrawer"], usesOnChanges: true, ngImport: i0, template: `
292
317
  <div class="k-drawer-wrapper" *ngIf="expanded || mini" [style.width.px]="drawerWidth">
293
318
  <ng-container *ngIf="!drawerTemplate">
294
319
  <ng-template *ngIf="headerTemplate"
@@ -318,7 +343,8 @@ DrawerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
318
343
 
319
344
  <div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
320
345
  `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: DrawerListComponent, selector: "[kendoDrawerList]", inputs: ["itemTemplate", "mini", "expanded", "view"], outputs: ["select"] }, { kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]" }] });
321
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DrawerComponent, decorators: [{
346
+ }
347
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DrawerComponent, decorators: [{
322
348
  type: Component,
323
349
  args: [{
324
350
  exportAs: 'kendoDrawer',