@progress/kendo-angular-layout 17.0.0-develop.9 → 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
@@ -27,63 +27,7 @@ const DEFAULT_DATE_FORMAT = 'MMMM dd, yyyy';
27
27
  * Represents the [Kendo UI Timeline component for Angular]({% slug overview_timeline %}).
28
28
  */
29
29
  export class TimelineComponent {
30
- constructor(timelineService) {
31
- this.timelineService = timelineService;
32
- /**
33
- * Specifies the orientation of the axis.
34
- *
35
- * @default 'vertical'
36
- */
37
- this.orientation = 'vertical';
38
- /**
39
- * Specifies whether to render events alternatingly on both sides of the axis.
40
- * Applicable when `orientation` is set to `vertical`.
41
- *
42
- * @default false
43
- */
44
- this.alterMode = false;
45
- /**
46
- * Specifies whether the event cards can be collapsed.
47
- *
48
- * @default true
49
- */
50
- this.collapsibleEvents = true;
51
- /**
52
- * Specifies whether the user can use dedicated shortcuts to interact with the Timeline.
53
- *
54
- * @default true
55
- */
56
- this.navigable = true;
57
- /**
58
- * Specifies whether an event's date label will be visible.
59
- *
60
- * @default true
61
- */
62
- this.showDateLabels = true;
63
- this.hostClass = true;
64
- /**
65
- * Fires when a card is toggled.
66
- * This event is supported only in `vertical` mode.
67
- */
68
- this.onToggle = new EventEmitter();
69
- /**
70
- * Fires when a card's action is clicked.
71
- */
72
- this.onActionClick = new EventEmitter();
73
- /**
74
- * Fires when the left or right arrow is clicked.
75
- * This event is supported only in `horizontal` mode.
76
- */
77
- this.onNavigate = new EventEmitter();
78
- this._events = [];
79
- this._modelFields = defaultModelFields;
80
- this._eventWidth = DEFAULT_EVENT_WIDTH;
81
- this._eventHeight = DEFAULT_EVENT_HEIGHT;
82
- this._dateFormat = DEFAULT_DATE_FORMAT;
83
- this.originalData = [];
84
- this.subscriptions = new Subscription();
85
- this.timelineService.timeline = this;
86
- }
30
+ timelineService;
87
31
  /**
88
32
  * An array of event instances which will be shown by the Timeline.
89
33
  */
@@ -121,6 +65,44 @@ export class TimelineComponent {
121
65
  get modelFields() {
122
66
  return this._modelFields;
123
67
  }
68
+ /**
69
+ * Specifies the orientation of the axis.
70
+ *
71
+ * @default 'vertical'
72
+ */
73
+ orientation = 'vertical';
74
+ /**
75
+ * Specifies whether to render events alternatingly on both sides of the axis.
76
+ * Applicable when `orientation` is set to `vertical`.
77
+ *
78
+ * @default false
79
+ */
80
+ alterMode = false;
81
+ /**
82
+ * Specifies whether the event cards can be collapsed.
83
+ *
84
+ * @default true
85
+ */
86
+ collapsibleEvents = true;
87
+ /**
88
+ * Specifies whether the user can use dedicated shortcuts to interact with the Timeline.
89
+ *
90
+ * @default true
91
+ */
92
+ navigable = true;
93
+ /**
94
+ * Specifies whether an event's date label will be visible.
95
+ *
96
+ * @default true
97
+ */
98
+ showDateLabels = true;
99
+ /**
100
+ * Specifies the time for sliding to the next event in `horizontal` mode and the time for collapsing the event in `vertical` mode.
101
+ * The default animation duration values are `300ms` for `horizontal` mode and `400ms` for `vertical` mode.
102
+ *
103
+ * @default true
104
+ */
105
+ animation;
124
106
  /**
125
107
  * Sets a specific width for the event.
126
108
  * This setting is supported only in `vertical` mode.
@@ -183,6 +165,7 @@ export class TimelineComponent {
183
165
  get dateFormat() {
184
166
  return this._dateFormat;
185
167
  }
168
+ hostClass = true;
186
169
  get verticalClass() {
187
170
  return this.orientation === 'vertical';
188
171
  }
@@ -195,6 +178,63 @@ export class TimelineComponent {
195
178
  get collapsibleClass() {
196
179
  return this.collapsibleEvents === true && this.orientation === 'vertical';
197
180
  }
181
+ /**
182
+ * @hidden
183
+ */
184
+ timelineHorizontal;
185
+ /**
186
+ * @hidden
187
+ */
188
+ timelineVertical;
189
+ /**
190
+ * @hidden
191
+ */
192
+ cardHeaderTemplate;
193
+ /**
194
+ * @hidden
195
+ */
196
+ cardBodyTemplate;
197
+ /**
198
+ * @hidden
199
+ */
200
+ cardActionsTemplate;
201
+ /**
202
+ * Fires when a card is toggled.
203
+ * This event is supported only in `vertical` mode.
204
+ */
205
+ onToggle = new EventEmitter();
206
+ /**
207
+ * Fires when a card's action is clicked.
208
+ */
209
+ onActionClick = new EventEmitter();
210
+ /**
211
+ * Fires when the left or right arrow is clicked.
212
+ * This event is supported only in `horizontal` mode.
213
+ */
214
+ onNavigate = new EventEmitter();
215
+ /**
216
+ * @hidden
217
+ */
218
+ headerTemplate;
219
+ /**
220
+ * @hidden
221
+ */
222
+ bodyTemplate;
223
+ /**
224
+ * @hidden
225
+ */
226
+ actionsTemplate;
227
+ _events = [];
228
+ _modelFields = defaultModelFields;
229
+ _eventWidth = DEFAULT_EVENT_WIDTH;
230
+ _eventHeight = DEFAULT_EVENT_HEIGHT;
231
+ _dateFormat = DEFAULT_DATE_FORMAT;
232
+ originalData = [];
233
+ subscriptions = new Subscription();
234
+ constructor(timelineService) {
235
+ this.timelineService = timelineService;
236
+ this.timelineService.timeline = this;
237
+ }
198
238
  ngAfterContentInit() {
199
239
  this.initTemplates();
200
240
  }
@@ -250,16 +290,15 @@ export class TimelineComponent {
250
290
  this.actionsTemplate = this.cardActionsTemplate?.first || null;
251
291
  }));
252
292
  }
253
- }
254
- TimelineComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineComponent, deps: [{ token: i1.TimelineService }], target: i0.ɵɵFactoryTarget.Component });
255
- TimelineComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TimelineComponent, isStandalone: true, selector: "kendo-timeline", inputs: { events: "events", modelFields: "modelFields", orientation: "orientation", alterMode: "alterMode", collapsibleEvents: "collapsibleEvents", navigable: "navigable", showDateLabels: "showDateLabels", animation: "animation", eventWidth: "eventWidth", eventHeight: "eventHeight", dateFormat: "dateFormat" }, outputs: { onToggle: "onToggle", onActionClick: "onActionClick", onNavigate: "onNavigate" }, host: { properties: { "class.k-timeline": "this.hostClass", "class.k-timeline-vertical": "this.verticalClass", "class.k-timeline-horizontal": "this.horizontalClass", "class.k-timeline-alternating": "this.alternatingClass", "class.k-timeline-collapsible": "this.collapsibleClass" } }, providers: [
256
- TimelineService,
257
- LocalizationService,
258
- {
259
- provide: L10N_PREFIX,
260
- useValue: 'kendo.timeline'
261
- }
262
- ], queries: [{ propertyName: "cardHeaderTemplate", predicate: TimelineCardHeaderTemplateDirective }, { propertyName: "cardBodyTemplate", predicate: TimelineCardBodyTemplateDirective }, { propertyName: "cardActionsTemplate", predicate: TimelineCardActionsTemplateDirective }], viewQueries: [{ propertyName: "timelineHorizontal", first: true, predicate: TimelineHorizontalComponent, descendants: true }, { propertyName: "timelineVertical", first: true, predicate: TimelineVerticalComponent, descendants: true }], exportAs: ["kendoTimeline"], ngImport: i0, template: `
293
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimelineComponent, deps: [{ token: i1.TimelineService }], target: i0.ɵɵFactoryTarget.Component });
294
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TimelineComponent, isStandalone: true, selector: "kendo-timeline", inputs: { events: "events", modelFields: "modelFields", orientation: "orientation", alterMode: "alterMode", collapsibleEvents: "collapsibleEvents", navigable: "navigable", showDateLabels: "showDateLabels", animation: "animation", eventWidth: "eventWidth", eventHeight: "eventHeight", dateFormat: "dateFormat" }, outputs: { onToggle: "onToggle", onActionClick: "onActionClick", onNavigate: "onNavigate" }, host: { properties: { "class.k-timeline": "this.hostClass", "class.k-timeline-vertical": "this.verticalClass", "class.k-timeline-horizontal": "this.horizontalClass", "class.k-timeline-alternating": "this.alternatingClass", "class.k-timeline-collapsible": "this.collapsibleClass" } }, providers: [
295
+ TimelineService,
296
+ LocalizationService,
297
+ {
298
+ provide: L10N_PREFIX,
299
+ useValue: 'kendo.timeline'
300
+ }
301
+ ], queries: [{ propertyName: "cardHeaderTemplate", predicate: TimelineCardHeaderTemplateDirective }, { propertyName: "cardBodyTemplate", predicate: TimelineCardBodyTemplateDirective }, { propertyName: "cardActionsTemplate", predicate: TimelineCardActionsTemplateDirective }], viewQueries: [{ propertyName: "timelineHorizontal", first: true, predicate: TimelineHorizontalComponent, descendants: true }, { propertyName: "timelineVertical", first: true, predicate: TimelineVerticalComponent, descendants: true }], exportAs: ["kendoTimeline"], ngImport: i0, template: `
263
302
  <ng-container kendoTimelineLocalizedMessages
264
303
  i18n-previous="kendo.timeline.previous|The title of the previous button in horizontal orientation."
265
304
  previous="previous"
@@ -300,7 +339,8 @@ TimelineComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
300
339
  >
301
340
  </kendo-timeline-horizontal>
302
341
  `, isInline: true, dependencies: [{ kind: "directive", type: LocalizedTimelineMessagesDirective, selector: "[kendoTimelineLocalizedMessages]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: TimelineVerticalComponent, selector: "kendo-timeline-vertical", inputs: ["events", "alterMode", "collapsibleEvents", "navigable", "showDateLabels", "animationDuration", "eventWidth", "dateFormat", "headerTemplate", "bodyTemplate", "actionsTemplate"], exportAs: ["kendoTimelineVertical"] }, { kind: "component", type: TimelineHorizontalComponent, selector: "kendo-timeline-horizontal", inputs: ["events", "alterMode", "collapsibleEvents", "navigable", "showDateLabels", "animationDuration", "eventHeight", "dateFormat", "headerTemplate", "bodyTemplate", "actionsTemplate"], exportAs: ["kendoTimelineHorizontal"] }] });
303
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineComponent, decorators: [{
342
+ }
343
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimelineComponent, decorators: [{
304
344
  type: Component,
305
345
  args: [{
306
346
  providers: [
@@ -8,6 +8,7 @@ import * as i0 from "@angular/core";
8
8
  * @hidden
9
9
  */
10
10
  export class TimelineService {
11
+ timeline;
11
12
  onToggle(event) {
12
13
  if (this.timeline) {
13
14
  this.timeline['onToggle']?.emit(event);
@@ -23,9 +24,9 @@ export class TimelineService {
23
24
  this.timeline['onNavigate']?.emit(event);
24
25
  }
25
26
  }
27
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimelineService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
28
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimelineService });
26
29
  }
27
- TimelineService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
28
- TimelineService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineService });
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineService, decorators: [{
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimelineService, decorators: [{
30
31
  type: Injectable
31
32
  }] });
@@ -19,11 +19,11 @@ import * as i5 from "./timeline/templates/timeline-card-header.directive";
19
19
  * - `TimelineComponent`&mdash;The `TimelineComponent` component class.
20
20
  */
21
21
  export class TimelineModule {
22
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimelineModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
23
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: TimelineModule, imports: [i1.TimelineComponent, i2.TimelineCustomMessagesComponent, i3.TimelineCardActionsTemplateDirective, i4.TimelineCardBodyTemplateDirective, i5.TimelineCardHeaderTemplateDirective], exports: [i1.TimelineComponent, i2.TimelineCustomMessagesComponent, i3.TimelineCardActionsTemplateDirective, i4.TimelineCardBodyTemplateDirective, i5.TimelineCardHeaderTemplateDirective] });
24
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimelineModule, imports: [i1.TimelineComponent] });
22
25
  }
23
- TimelineModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
24
- TimelineModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TimelineModule, imports: [i1.TimelineComponent, i2.TimelineCustomMessagesComponent, i3.TimelineCardActionsTemplateDirective, i4.TimelineCardBodyTemplateDirective, i5.TimelineCardHeaderTemplateDirective], exports: [i1.TimelineComponent, i2.TimelineCustomMessagesComponent, i3.TimelineCardActionsTemplateDirective, i4.TimelineCardBodyTemplateDirective, i5.TimelineCardHeaderTemplateDirective] });
25
- TimelineModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineModule, imports: [i1.TimelineComponent, i2.TimelineCustomMessagesComponent] });
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TimelineModule, decorators: [{
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TimelineModule, decorators: [{
27
27
  type: NgModule,
28
28
  args: [{
29
29
  exports: [...KENDO_TIMELINE],
@@ -6,7 +6,7 @@ import { PreventableEvent } from "@progress/kendo-angular-common";
6
6
  /**
7
7
  * The type of the action that will take place upon interaction with the ExpansionPanel.
8
8
  */
9
- export declare type ExpansionPanelAction = 'expand' | 'collapse';
9
+ export type ExpansionPanelAction = 'expand' | 'collapse';
10
10
  /**
11
11
  * Arguments for the `action` event of the ExpansionPanel.
12
12
  */
@@ -176,5 +176,5 @@ export declare class ExpansionPanelComponent implements OnInit, AfterViewInit, O
176
176
  private addContentHiddenClass;
177
177
  private removeContentHiddenClass;
178
178
  static ɵfac: i0.ɵɵFactoryDeclaration<ExpansionPanelComponent, never>;
179
- static ɵcmp: i0.ɵɵComponentDeclaration<ExpansionPanelComponent, "kendo-expansionpanel", ["kendoExpansionPanel"], { "title": "title"; "subtitle": "subtitle"; "disabled": "disabled"; "expanded": "expanded"; "svgExpandIcon": "svgExpandIcon"; "svgCollapseIcon": "svgCollapseIcon"; "expandIcon": "expandIcon"; "collapseIcon": "collapseIcon"; "animation": "animation"; }, { "expandedChange": "expandedChange"; "action": "action"; "expand": "expand"; "collapse": "collapse"; }, ["titleTemplate"], ["*"], true, never>;
179
+ static ɵcmp: i0.ɵɵComponentDeclaration<ExpansionPanelComponent, "kendo-expansionpanel", ["kendoExpansionPanel"], { "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "expanded": { "alias": "expanded"; "required": false; }; "svgExpandIcon": { "alias": "svgExpandIcon"; "required": false; }; "svgCollapseIcon": { "alias": "svgCollapseIcon"; "required": false; }; "expandIcon": { "alias": "expandIcon"; "required": false; }; "collapseIcon": { "alias": "collapseIcon"; "required": false; }; "animation": { "alias": "animation"; "required": false; }; }, { "expandedChange": "expandedChange"; "action": "action"; "expand": "expand"; "collapse": "collapse"; }, ["titleTemplate"], ["*"], true, never>;
180
180
  }