@progress/kendo-angular-layout 19.1.2-develop.3 → 19.1.2-develop.5

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 (197) hide show
  1. package/avatar/avatar.component.d.ts +43 -47
  2. package/avatar/l10n/custom-messages.component.d.ts +9 -1
  3. package/avatar/l10n/messages.d.ts +1 -1
  4. package/avatar/models/fill.d.ts +1 -1
  5. package/avatar/models/rounded.d.ts +1 -1
  6. package/avatar/models/size.d.ts +1 -1
  7. package/avatar/models/theme-color.d.ts +1 -1
  8. package/avatar.module.d.ts +14 -2
  9. package/card/card-actions.component.d.ts +16 -15
  10. package/card/card-body.component.d.ts +9 -1
  11. package/card/card-footer.component.d.ts +9 -1
  12. package/card/card-header.component.d.ts +10 -1
  13. package/card/card.component.d.ts +19 -6
  14. package/card/directives/card-media.directive.d.ts +10 -1
  15. package/card/directives/card-separator.directive.d.ts +10 -4
  16. package/card/directives/card-subtitle.directive.d.ts +8 -1
  17. package/card/directives/card-title.directive.d.ts +8 -1
  18. package/card/models/actions-layout.d.ts +1 -8
  19. package/card/models/card-action.d.ts +4 -4
  20. package/card.module.d.ts +14 -2
  21. package/codemods/utils.js +0 -3
  22. package/common/orientation.d.ts +1 -1
  23. package/common/preventable-event.d.ts +3 -6
  24. package/directives.d.ts +13 -13
  25. package/drawer/drawer-container.component.d.ts +13 -1
  26. package/drawer/drawer-content.component.d.ts +9 -1
  27. package/drawer/drawer.component.d.ts +48 -47
  28. package/drawer/events/select-event.d.ts +5 -5
  29. package/drawer/models/drawer-animation.interface.d.ts +1 -2
  30. package/drawer/models/drawer-item-expand.interface.d.ts +1 -1
  31. package/drawer/models/drawer-item.interface.d.ts +15 -17
  32. package/drawer/models/mode.d.ts +4 -3
  33. package/drawer/models/position.d.ts +1 -6
  34. package/drawer/template-directives/drawer-template.directive.d.ts +18 -5
  35. package/drawer/template-directives/footer-template.directive.d.ts +11 -3
  36. package/drawer/template-directives/header-template.directive.d.ts +11 -3
  37. package/drawer/template-directives/item-template.directive.d.ts +19 -3
  38. package/drawer.module.d.ts +14 -2
  39. package/esm2022/avatar/avatar.component.mjs +43 -47
  40. package/esm2022/avatar/l10n/custom-messages.component.mjs +9 -1
  41. package/esm2022/avatar/l10n/messages.mjs +1 -1
  42. package/esm2022/avatar.module.mjs +14 -2
  43. package/esm2022/card/card-actions.component.mjs +16 -15
  44. package/esm2022/card/card-body.component.mjs +9 -1
  45. package/esm2022/card/card-footer.component.mjs +9 -1
  46. package/esm2022/card/card-header.component.mjs +10 -1
  47. package/esm2022/card/card.component.mjs +19 -6
  48. package/esm2022/card/directives/card-media.directive.mjs +10 -1
  49. package/esm2022/card/directives/card-separator.directive.mjs +10 -4
  50. package/esm2022/card/directives/card-subtitle.directive.mjs +8 -1
  51. package/esm2022/card/directives/card-title.directive.mjs +8 -1
  52. package/esm2022/card/models/card-action.mjs +4 -4
  53. package/esm2022/card.module.mjs +14 -2
  54. package/esm2022/common/preventable-event.mjs +3 -6
  55. package/esm2022/directives.mjs +13 -13
  56. package/esm2022/drawer/drawer-container.component.mjs +13 -1
  57. package/esm2022/drawer/drawer-content.component.mjs +9 -1
  58. package/esm2022/drawer/drawer.component.mjs +48 -47
  59. package/esm2022/drawer/events/select-event.mjs +5 -5
  60. package/esm2022/drawer/template-directives/drawer-template.directive.mjs +18 -5
  61. package/esm2022/drawer/template-directives/footer-template.directive.mjs +11 -3
  62. package/esm2022/drawer/template-directives/header-template.directive.mjs +11 -3
  63. package/esm2022/drawer/template-directives/item-template.directive.mjs +19 -3
  64. package/esm2022/drawer.module.mjs +14 -2
  65. package/esm2022/expansionpanel/events/action-event.mjs +2 -2
  66. package/esm2022/expansionpanel/expansionpanel-title.directive.mjs +12 -3
  67. package/esm2022/expansionpanel/expansionpanel.component.mjs +20 -27
  68. package/esm2022/expansionpanel.module.mjs +14 -2
  69. package/esm2022/gridlayout.module.mjs +14 -2
  70. package/esm2022/layout.module.mjs +10 -21
  71. package/esm2022/layouts/grid-layout.component.mjs +24 -17
  72. package/esm2022/layouts/gridlayout-item.component.mjs +16 -4
  73. package/esm2022/layouts/stack-layout.component.mjs +15 -6
  74. package/esm2022/package-metadata.mjs +2 -2
  75. package/esm2022/panelbar/events/collapse-event.mjs +2 -2
  76. package/esm2022/panelbar/events/expand-event.mjs +2 -2
  77. package/esm2022/panelbar/events/item-click-event.mjs +3 -3
  78. package/esm2022/panelbar/events/select-event.mjs +2 -2
  79. package/esm2022/panelbar/events/state-change-event.mjs +2 -2
  80. package/esm2022/panelbar/panelbar-content.directive.mjs +12 -1
  81. package/esm2022/panelbar/panelbar-expand-mode.mjs +3 -4
  82. package/esm2022/panelbar/panelbar-item-template.directive.mjs +12 -1
  83. package/esm2022/panelbar/panelbar-item-title.directive.mjs +12 -19
  84. package/esm2022/panelbar/panelbar-item.component.mjs +26 -11
  85. package/esm2022/panelbar/panelbar.component.mjs +40 -17
  86. package/esm2022/panelbar.module.mjs +13 -8
  87. package/esm2022/splitter/splitter-pane.component.mjs +40 -20
  88. package/esm2022/splitter/splitter.component.mjs +25 -41
  89. package/esm2022/splitter.module.mjs +13 -5
  90. package/esm2022/stacklayout.module.mjs +14 -2
  91. package/esm2022/stepper/events/activate-event.mjs +5 -5
  92. package/esm2022/stepper/localization/custom-messages.component.mjs +9 -1
  93. package/esm2022/stepper/localization/messages.mjs +1 -1
  94. package/esm2022/stepper/stepper.component.mjs +32 -39
  95. package/esm2022/stepper/stepper.service.mjs +4 -4
  96. package/esm2022/stepper/template-directives/indicator-template.directive.mjs +10 -1
  97. package/esm2022/stepper/template-directives/label-template.directive.mjs +10 -1
  98. package/esm2022/stepper/template-directives/step-template.directive.mjs +12 -1
  99. package/esm2022/stepper.module.mjs +14 -2
  100. package/esm2022/tabstrip/directives/tab-content.directive.mjs +12 -24
  101. package/esm2022/tabstrip/directives/tab-title.directive.mjs +10 -29
  102. package/esm2022/tabstrip/events/select-event.mjs +3 -1
  103. package/esm2022/tabstrip/events/tabclose-event.mjs +2 -1
  104. package/esm2022/tabstrip/events/tabscroll-event.mjs +2 -2
  105. package/esm2022/tabstrip/localization/custom-messages.component.mjs +11 -2
  106. package/esm2022/tabstrip/localization/messages.mjs +3 -3
  107. package/esm2022/tabstrip/models/tabstrip-tab.component.mjs +30 -17
  108. package/esm2022/tabstrip/tabstrip.component.mjs +49 -37
  109. package/esm2022/tabstrip.module.mjs +13 -7
  110. package/esm2022/tilelayout/reorder-event.mjs +3 -2
  111. package/esm2022/tilelayout/resize-event.mjs +3 -2
  112. package/esm2022/tilelayout/tilelayout-item-body.component.mjs +10 -1
  113. package/esm2022/tilelayout/tilelayout-item-header.component.mjs +12 -2
  114. package/esm2022/tilelayout/tilelayout-item.component.mjs +20 -10
  115. package/esm2022/tilelayout/tilelayout.component.mjs +31 -26
  116. package/esm2022/tilelayout.module.mjs +13 -7
  117. package/esm2022/timeline/templates/timeline-card-actions.directive.mjs +11 -2
  118. package/esm2022/timeline/templates/timeline-card-body.directive.mjs +11 -2
  119. package/esm2022/timeline/templates/timeline-card-header.directive.mjs +12 -2
  120. package/esm2022/timeline/timeline.component.mjs +3 -0
  121. package/esm2022/timeline.module.mjs +13 -4
  122. package/expansionpanel/events/action-event.d.ts +3 -3
  123. package/expansionpanel/expansionpanel-title.directive.d.ts +12 -3
  124. package/expansionpanel/expansionpanel.component.d.ts +20 -27
  125. package/expansionpanel.module.d.ts +14 -2
  126. package/fesm2022/progress-kendo-angular-layout.mjs +1072 -641
  127. package/gridlayout.module.d.ts +14 -2
  128. package/layout.module.d.ts +10 -21
  129. package/layouts/grid-layout.component.d.ts +24 -17
  130. package/layouts/gridlayout-item.component.d.ts +16 -4
  131. package/layouts/models/gridlayout-gap-settings.d.ts +3 -3
  132. package/layouts/models/gridlayout-row-col-size.d.ts +4 -4
  133. package/layouts/models/layout-align-settings.d.ts +3 -3
  134. package/layouts/models/layout-horizontal-align.d.ts +1 -1
  135. package/layouts/models/layout-vertical-align.d.ts +1 -1
  136. package/layouts/stack-layout.component.d.ts +15 -6
  137. package/package.json +11 -10
  138. package/panelbar/events/collapse-event.d.ts +2 -2
  139. package/panelbar/events/expand-event.d.ts +2 -2
  140. package/panelbar/events/item-click-event.d.ts +3 -3
  141. package/panelbar/events/select-event.d.ts +2 -2
  142. package/panelbar/events/state-change-event.d.ts +2 -2
  143. package/panelbar/panelbar-content.directive.d.ts +12 -1
  144. package/panelbar/panelbar-expand-mode.d.ts +3 -4
  145. package/panelbar/panelbar-item-model.d.ts +6 -6
  146. package/panelbar/panelbar-item-template.directive.d.ts +12 -1
  147. package/panelbar/panelbar-item-title.directive.d.ts +12 -19
  148. package/panelbar/panelbar-item.component.d.ts +24 -9
  149. package/panelbar/panelbar.component.d.ts +40 -17
  150. package/panelbar.module.d.ts +13 -8
  151. package/splitter/splitter-pane.component.d.ts +40 -20
  152. package/splitter/splitter.component.d.ts +24 -40
  153. package/splitter.module.d.ts +13 -5
  154. package/stacklayout.module.d.ts +14 -2
  155. package/stepper/events/activate-event.d.ts +5 -5
  156. package/stepper/localization/custom-messages.component.d.ts +9 -1
  157. package/stepper/localization/messages.d.ts +1 -1
  158. package/stepper/models/orientation.d.ts +1 -3
  159. package/stepper/models/step-predicate.d.ts +5 -6
  160. package/stepper/models/step-type.d.ts +1 -4
  161. package/stepper/models/stepper-step.interface.d.ts +12 -12
  162. package/stepper/stepper.component.d.ts +32 -39
  163. package/stepper/template-directives/indicator-template.directive.d.ts +10 -1
  164. package/stepper/template-directives/label-template.directive.d.ts +10 -1
  165. package/stepper/template-directives/step-template.directive.d.ts +12 -1
  166. package/stepper.module.d.ts +14 -2
  167. package/tabstrip/directives/tab-content.directive.d.ts +12 -24
  168. package/tabstrip/directives/tab-title.directive.d.ts +10 -29
  169. package/tabstrip/events/select-event.d.ts +3 -1
  170. package/tabstrip/events/tabclose-event.d.ts +2 -1
  171. package/tabstrip/events/tabscroll-event.d.ts +2 -2
  172. package/tabstrip/localization/custom-messages.component.d.ts +11 -2
  173. package/tabstrip/localization/messages.d.ts +3 -3
  174. package/tabstrip/models/scroll-buttons-visibility.d.ts +1 -1
  175. package/tabstrip/models/scrollable-settings.d.ts +17 -22
  176. package/tabstrip/models/size.d.ts +1 -1
  177. package/tabstrip/models/tab-alignment.d.ts +1 -1
  178. package/tabstrip/models/tab-position.d.ts +1 -1
  179. package/tabstrip/models/tabstrip-tab.component.d.ts +30 -17
  180. package/tabstrip/tabstrip.component.d.ts +41 -29
  181. package/tabstrip.module.d.ts +13 -7
  182. package/tilelayout/models/flowmode.type.d.ts +7 -8
  183. package/tilelayout/models/gap.interface.d.ts +3 -5
  184. package/tilelayout/reorder-event.d.ts +3 -2
  185. package/tilelayout/resize-event.d.ts +3 -2
  186. package/tilelayout/tilelayout-item-body.component.d.ts +10 -1
  187. package/tilelayout/tilelayout-item-header.component.d.ts +12 -2
  188. package/tilelayout/tilelayout-item.component.d.ts +20 -10
  189. package/tilelayout/tilelayout.component.d.ts +31 -26
  190. package/tilelayout.module.d.ts +13 -7
  191. package/timeline/events/navigation-direction.d.ts +6 -0
  192. package/timeline/models/anchor-target.d.ts +6 -0
  193. package/timeline/templates/timeline-card-actions.directive.d.ts +11 -2
  194. package/timeline/templates/timeline-card-body.directive.d.ts +11 -2
  195. package/timeline/templates/timeline-card-header.directive.d.ts +12 -2
  196. package/timeline/timeline.component.d.ts +3 -0
  197. package/timeline.module.d.ts +13 -4
@@ -5,7 +5,15 @@
5
5
  import { Component, HostBinding, ViewEncapsulation } from '@angular/core';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
- * Represents the content of the [Kendo UI Drawer component for Angular]({% slug overview_drawer %}).
8
+ * Defines the content of the Drawer component.
9
+ *
10
+ * @example
11
+ * ```html
12
+ * <kendo-drawer-content>
13
+ * <h1>Main Content Area</h1>
14
+ * <p>Your application content goes here.</p>
15
+ * </kendo-drawer-content>
16
+ * ```
9
17
  */
10
18
  export class DrawerContentComponent {
11
19
  hostClasses = true;
@@ -23,32 +23,31 @@ import * as i3 from "./drawer.service";
23
23
  const DEFAULT_ANIMATION = { type: 'slide', duration: 200 };
24
24
  /**
25
25
  * Represents the [Kendo UI Drawer component for Angular]({% slug overview_drawer %}).
26
+ * Provides a dismissible or permanently visible panel for navigation in responsive web applications.
26
27
  *
27
28
  * @example
28
- * ```ts-preview
29
- * _@Component({
30
- * selector: 'my-app',
31
- * template: `
32
- * <kendo-drawer-container>
33
- * <kendo-drawer #drawer
34
- * [items]="items"
35
- * mode="overlay"
36
- * [(expanded)]="expanded">
37
- * </kendo-drawer>
38
- * <kendo-drawer-content>
39
- * <button class="k-button" (click)="drawer.toggle()">Open the Drawer</button>
40
- * </kendo-drawer-content>
41
- * </kendo-drawer-container>
42
- * `
29
+ * ```typescript
30
+ * @Component({
31
+ * selector: 'my-app',
32
+ * template: `
33
+ * <kendo-drawer-container>
34
+ * <kendo-drawer #drawer
35
+ * [items]="items"
36
+ * mode="overlay"
37
+ * [(expanded)]="expanded">
38
+ * </kendo-drawer>
39
+ * <kendo-drawer-content>
40
+ * <button class="k-button" (click)="drawer.toggle()">Open the Drawer</button>
41
+ * </kendo-drawer-content>
42
+ * </kendo-drawer-container>
43
+ * `
43
44
  * })
44
45
  * class AppComponent {
45
- * public expanded = false;
46
- *
47
- * public items: any[] = [
48
- * { text: 'Inbox', icon: 'k-i-inbox' },
49
- * { text: 'Notifications', icon: 'k-i-bell' },
50
- * { text: 'Date', icon: 'k-i-calendar' }
51
- * ];
46
+ * public expanded = false;
47
+ * public items = [
48
+ * { text: 'Inbox', icon: 'inbox' },
49
+ * { text: 'Notifications', icon: 'bell' }
50
+ * ];
52
51
  * }
53
52
  * ```
54
53
  */
@@ -83,52 +82,58 @@ export class DrawerComponent {
83
82
  return this.drawerWidth;
84
83
  }
85
84
  /**
86
- * Specifies the mode in which the Drawer will be displayed.
85
+ * Specifies the mode in which the Drawer displays.
87
86
  *
88
- * The possible values are:
89
- * * (Default) `overlay`
90
- * * `push`
87
+ * @default 'overlay'
91
88
  */
92
89
  mode = 'overlay';
93
90
  /**
94
91
  * Specifies the position of the Drawer
95
92
  * ([see example]({% slug positioning_drawer %})).
96
93
  *
97
- * The possible values are:
98
- * * (Default) `start`
99
- * * `end`
94
+ * @default 'start'
100
95
  */
101
96
  position = 'start';
102
97
  /**
103
- * Enables the mini (compact) view of the Drawer which is displayed when the component is collapsed
98
+ * Enables the mini (compact) view of the Drawer which displays when the component is collapsed
104
99
  * ([see example]({% slug expandmodespositions_drawer %}#toc-mini-view)).
100
+ *
101
+ * @default false
105
102
  */
106
103
  mini = false;
107
104
  /**
108
105
  * Specifies the state of the Drawer.
106
+ *
107
+ * @default false
109
108
  */
110
109
  expanded = false;
111
110
  /**
112
111
  * Defines the width of the Drawer when it is expanded.
113
- * Defaults to `240`.
112
+ *
113
+ * @default 240
114
114
  */
115
115
  width = 240;
116
116
  /**
117
- * Defines the width of the Drawer when the mini view is enabled
118
- * and the component is collapsed. Defaults to `60`.
117
+ * Defines the width of the Drawer when the mini view is enabled and the component is collapsed.
118
+ *
119
+ * @default 50
119
120
  */
120
121
  miniWidth = 50;
121
122
  /**
122
- * Specifies if the Drawer will be automatically collapsed when an item
123
- * or the overlay is clicked. Defaults to `true`.
123
+ * Specifies if the Drawer automatically collapses when an item or the overlay is clicked.
124
+ *
125
+ * @default true
124
126
  */
125
127
  autoCollapse = true;
126
128
  /**
127
- * The collection of items that will be rendered in the Drawer.
129
+ * Defines the collection of items that render in the Drawer.
130
+ *
131
+ * @default []
128
132
  */
129
133
  items = [];
130
134
  /**
131
135
  * Defines a callback function which determines if an item should be expanded.
136
+ * This is useful for hierarchical data structures where the expansion state of an item depends on its parent or other items.
132
137
  */
133
138
  set isItemExpanded(fn) {
134
139
  if (isDevMode && isPresent(fn) && typeof fn !== 'function') {
@@ -144,16 +149,10 @@ export class DrawerComponent {
144
149
  */
145
150
  direction;
146
151
  /**
147
- * Specifies the animation settings of the Drawer.
152
+ * Specifies the animation settings of the Drawer
148
153
  * ([see example]({% slug interaction_drawer %}#toc-toggling-between-states)).
149
154
  *
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`.
155
+ * @default { type: 'slide', duration: 200 }
157
156
  */
158
157
  animation = DEFAULT_ANIMATION;
159
158
  /**
@@ -165,11 +164,12 @@ export class DrawerComponent {
165
164
  */
166
165
  collapse = new EventEmitter();
167
166
  /**
168
- * Fires when a Drawer item is selected. This event is preventable.
167
+ * Fires when an item in the Drawer is selected.
168
+ * This event is preventable.
169
169
  */
170
170
  select = new EventEmitter();
171
171
  /**
172
- * Fires when the `expanded` property of the component was updated.
172
+ * Fires when the `expanded` property of the component is updated.
173
173
  * Used to provide a two-way binding for the `expanded` property.
174
174
  */
175
175
  expandedChange = new EventEmitter();
@@ -236,8 +236,9 @@ export class DrawerComponent {
236
236
  }
237
237
  /**
238
238
  * Toggles the visibility of the Drawer.
239
+ * If the `expanded` parameter is not provided, the Drawer will toggle between expanded and collapsed states.
239
240
  *
240
- * @param expanded? - Boolean. Specifies if the Drawer will be expanded or collapsed.
241
+ * @param expanded Specifies if the Drawer will be expanded or collapsed.
241
242
  */
242
243
  toggle(expanded) {
243
244
  const previous = this.expanded;
@@ -4,23 +4,23 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { PreventableEvent } from '@progress/kendo-angular-common';
6
6
  /**
7
- * Arguments for the `select` event of the Drawer.
7
+ * Defines the arguments for the `select` event of the Drawer.
8
8
  */
9
9
  export class DrawerSelectEvent extends PreventableEvent {
10
10
  /**
11
- * The index of the selected item in the `items` collection.
11
+ * Defines the index of the selected item in the `items` collection.
12
12
  */
13
13
  index;
14
14
  /**
15
- * The selected Drawer item.
15
+ * Defines the selected Drawer item.
16
16
  */
17
17
  item;
18
18
  /**
19
- * The DOM event that triggered the selection.
19
+ * Defines the DOM event that triggered the selection.
20
20
  */
21
21
  originalEvent;
22
22
  /**
23
- * The Drawer that triggered the event.
23
+ * Defines the Drawer that triggered the event.
24
24
  */
25
25
  sender;
26
26
  /**
@@ -5,11 +5,24 @@
5
5
  import { Directive, Optional, TemplateRef } from '@angular/core';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
- * Represents a template that defines the content of the Drawer.
9
- * To define the template, nest an `<ng-template>` tag
10
- * with the `kendoDrawerTemplate` directive inside the `<kendo-drawer>` tag.
11
- * Using this template directive will override all other templates,
12
- * for example, `kendoDrawerHeaderTemplate` and `kendoDrawerItemTemplate`.
8
+ * Defines a template that specifies the content of the Drawer.
9
+ * To define the template, nest an `<ng-template>` tag with the `kendoDrawerTemplate` directive inside the `<kendo-drawer>` tag.
10
+ * Using this template directive overrides all other templates, for example, `kendoDrawerHeaderTemplate` and `kendoDrawerItemTemplate`.
11
+ *
12
+ * @example
13
+ * ```html
14
+ * <kendo-drawer>
15
+ * <ng-template kendoDrawerTemplate>
16
+ * <div class="custom-drawer-content">
17
+ * <h3>Custom Drawer</h3>
18
+ * <ul>
19
+ * <li>Custom Item 1</li>
20
+ * <li>Custom Item 2</li>
21
+ * </ul>
22
+ * </div>
23
+ * </ng-template>
24
+ * </kendo-drawer>
25
+ * ```
13
26
  */
14
27
  export class DrawerTemplateDirective {
15
28
  templateRef;
@@ -5,9 +5,17 @@
5
5
  import { Directive, Optional, TemplateRef } from '@angular/core';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
- * Represents a template that defines the footer content of the Drawer.
9
- * To define the template, nest an `<ng-template>` tag
10
- * with the `kendoDrawerFooterTemplate` directive inside the `<kendo-drawer>` tag.
8
+ * Defines a template that specifies the footer content of the Drawer.
9
+ * To define the template, nest an `<ng-template>` tag with the `kendoDrawerFooterTemplate` directive inside the `<kendo-drawer>` tag.
10
+ *
11
+ * @example
12
+ * ```html
13
+ * <kendo-drawer>
14
+ * <ng-template kendoDrawerFooterTemplate>
15
+ * <p>© 2023 Company Name</p>
16
+ * </ng-template>
17
+ * </kendo-drawer>
18
+ * ```
11
19
  */
12
20
  export class DrawerFooterTemplateDirective {
13
21
  templateRef;
@@ -5,9 +5,17 @@
5
5
  import { Directive, Optional, TemplateRef } from '@angular/core';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
- * Represents a template that defines the header content of the Drawer.
9
- * To define the template, nest an `<ng-template>` tag
10
- * with the `kendoDrawerHeaderTemplate` directive inside the `<kendo-drawer>` tag.
8
+ * Defines a template that specifies the header content of the Drawer.
9
+ * To define the template, nest an `<ng-template>` tag with the `kendoDrawerHeaderTemplate` directive inside the `<kendo-drawer>` tag.
10
+ *
11
+ * @example
12
+ * ```html
13
+ * <kendo-drawer>
14
+ * <ng-template kendoDrawerHeaderTemplate>
15
+ * <h3>Navigation Menu</h3>
16
+ * </ng-template>
17
+ * </kendo-drawer>
18
+ * ```
11
19
  */
12
20
  export class DrawerHeaderTemplateDirective {
13
21
  templateRef;
@@ -5,9 +5,25 @@
5
5
  import { Directive, Optional, TemplateRef } from '@angular/core';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
- * Represents a template that defines the item content of the Drawer.
9
- * To define the template, nest an `<ng-template>` tag
10
- * with the `kendoDrawerItemTemplate` directive inside the `<kendo-drawer>` tag.
8
+ * Defines a template that specifies the item content of the Drawer.
9
+ * To define the template, nest an `<ng-template>` tag with the `kendoDrawerItemTemplate` directive inside the `<kendo-drawer>` tag.
10
+ *
11
+ * The `let-item` context variable provides access to the item data.
12
+ *
13
+ * For the Hierarchical Drawer, the `kendoDrawerItemTemplate` directive provides additional context fields:
14
+ *
15
+ * * `level`&mdash;A number that indicates the nesting level of the current item. Use the `let-level="level"` syntax to access the nesting level.
16
+ * * `hasChildren`&mdash;A boolean that indicates whether the current item has nested items. Use the `let-hasChildren="hasChildren"` syntax to access the value.
17
+ * * `isItemExpanded`&mdash;A boolean that holds information about the expanded state of the current item, which indicates whether its children are visible or not. Use the `let-isItemExpanded="isItemExpanded"` syntax to access the value of the expanded state.
18
+ *
19
+ * @example
20
+ * ```html
21
+ * <kendo-drawer>
22
+ * <ng-template kendoDrawerItemTemplate let-item>
23
+ * <span class="custom-item">{{ item.text }}</span>
24
+ * </ng-template>
25
+ * </kendo-drawer>
26
+ * ```
11
27
  */
12
28
  export class DrawerItemTemplateDirective {
13
29
  templateRef;
@@ -14,8 +14,20 @@ import * as i6 from "./drawer/template-directives/header-template.directive";
14
14
  import * as i7 from "./drawer/template-directives/item-template.directive";
15
15
  // IMPORTANT: NgModule export kept for backwards compatibility
16
16
  /**
17
- * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
18
- * definition for the Drawer component.
17
+ * Defines the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) for the Drawer component.
18
+ *
19
+ * Use this module to add the Drawer component to your NgModule-based Angular application.
20
+ *
21
+ * @example
22
+ * ```typescript
23
+ * import { DrawerModule } from '@progress/kendo-angular-layout';
24
+ * import { NgModule } from '@angular/core';
25
+ *
26
+ * @NgModule({
27
+ * imports: [DrawerModule]
28
+ * })
29
+ * export class AppModule { }
30
+ * ```
19
31
  */
20
32
  export class DrawerModule {
21
33
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DrawerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
@@ -4,11 +4,11 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { PreventableEvent } from "@progress/kendo-angular-common";
6
6
  /**
7
- * Arguments for the `action` event of the ExpansionPanel.
7
+ * Defines the arguments for the `action` event of the ExpansionPanel.
8
8
  */
9
9
  export class ExpansionPanelActionEvent extends PreventableEvent {
10
10
  /**
11
- * The action that will take place upon interaction with the ExpansionPanel.
11
+ * Defines the action that takes place upon interaction with the ExpansionPanel.
12
12
  */
13
13
  action;
14
14
  /**
@@ -5,10 +5,19 @@
5
5
  import { Directive, Optional, TemplateRef } from '@angular/core';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
- * Represents a template that defines the content of the ExpansionPanel title.
9
- * To define the template, nest an `<ng-template>` tag
10
- * with the `kendoExpansionPanelTitleDirective` directive inside the `<kendo-expansionpanel>` tag.
8
+ * Defines a template that specifies the content of the ExpansionPanel title.
9
+ * To define the template, nest an `<ng-template>` tag with the `kendoExpansionPanelTitleDirective` directive inside the `<kendo-expansionpanel>` tag
11
10
  * ([see example]({% slug title_expansionpanel %}#toc-title-template)).
11
+ *
12
+ * @example
13
+ * ```html
14
+ * <kendo-expansionpanel>
15
+ * <ng-template kendoExpansionPanelTitleDirective>
16
+ * <h3>Custom Title</h3>
17
+ * </ng-template>
18
+ * <p>Panel content</p>
19
+ * </kendo-expansionpanel>
20
+ * ```
12
21
  */
13
22
  export class ExpansionPanelTitleDirective {
14
23
  templateRef;
@@ -24,19 +24,16 @@ import * as i2 from "@angular/animations";
24
24
  const DEFAULT_DURATION = 200;
25
25
  const CONTENT_HIDDEN_CLASS = 'k-hidden';
26
26
  /**
27
- * Represents the [Kendo UI ExpansionPanel component for Angular]({% slug overview_expansionpanel %}).
27
+ * Represents the Kendo UI ExpansionPanel component for Angular. Provides an expandable and collapsible content container with customizable header and animation ([see overview]({% slug overview_expansionpanel %})).
28
28
  *
29
29
  * @example
30
- * ```ts-preview
31
- * _@Component({
32
- * selector: 'my-app',
33
- * template: `
34
- * <kendo-expansionpanel title="Chile" subtitle="South America">
35
- * There are various theories about the origin of the word Chile.
36
- * </kendo-expansionpanel>
37
- * `
38
- * })
39
- * class AppComponent {}
30
+ * ```html
31
+ * <kendo-expansionpanel
32
+ * title="Chile"
33
+ * subtitle="South America"
34
+ * [expanded]="isExpanded">
35
+ * There are various theories about the origin of the word Chile.
36
+ * </kendo-expansionpanel>
40
37
  * ```
41
38
  */
42
39
  export class ExpansionPanelComponent {
@@ -51,7 +48,7 @@ export class ExpansionPanelComponent {
51
48
  */
52
49
  title = '';
53
50
  /**
54
- * Specifies the secondary text in the header of the ExpansionPanel, which is rendered next to the collapse/expand icon
51
+ * Specifies the secondary text in the header of the ExpansionPanel, which renders next to the collapse/expand icon
55
52
  * ([see example](slug:title_expansionpanel#toc-titles-and-subtitles)).
56
53
  */
57
54
  subtitle = '';
@@ -63,7 +60,7 @@ export class ExpansionPanelComponent {
63
60
  */
64
61
  disabled = false;
65
62
  /**
66
- * Specifies whether the ExpansionPanel is expanded. The property supports two-way binding.
63
+ * Specifies whether the ExpansionPanel is expanded. The property supports two-way binding
67
64
  * ([see example]({% slug interaction_expansionpanel %}#toc-setting-the-initial-state)).
68
65
  *
69
66
  * @default false
@@ -84,8 +81,8 @@ export class ExpansionPanelComponent {
84
81
  return this._expanded;
85
82
  }
86
83
  /**
87
- * Defines an SVGIcon for the expanded state of the component.
88
- * The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
84
+ * Defines an SVG icon for the expanded state of the component.
85
+ * You can use either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
89
86
  */
90
87
  set svgExpandIcon(icon) {
91
88
  if (isDevMode() && icon && this.expandIcon) {
@@ -97,8 +94,8 @@ export class ExpansionPanelComponent {
97
94
  return this._svgExpandIcon;
98
95
  }
99
96
  /**
100
- * Defines an SVGIcon for the collapsed state of the component.
101
- * The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
97
+ * Defines an SVG icon for the collapsed state of the component.
98
+ * You can use either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
102
99
  */
103
100
  set svgCollapseIcon(icon) {
104
101
  if (isDevMode() && icon && this.collapseIcon) {
@@ -110,12 +107,12 @@ export class ExpansionPanelComponent {
110
107
  return this._svgCollapseIcon;
111
108
  }
112
109
  /**
113
- * Sets a custom icon via css class(es), for the collapsed state of the component
110
+ * Sets a custom icon via CSS class(es) for the collapsed state of the component
114
111
  * ([see example]({% slug icons_expansionpanel %}#toc-icons)).
115
112
  */
116
113
  expandIcon;
117
114
  /**
118
- * Sets a custom icon via css class(es), for the expanded state of the component
115
+ * Sets a custom icon via CSS class(es) for the expanded state of the component
119
116
  * ([see example]({% slug icons_expansionpanel %}#toc-icons)).
120
117
  */
121
118
  collapseIcon;
@@ -123,11 +120,7 @@ export class ExpansionPanelComponent {
123
120
  * Specifies the animation settings of the ExpansionPanel
124
121
  * ([see example]({% slug animations_expansionpanel %})).
125
122
  *
126
- * The possible values are:
127
- * * Boolean
128
- * * (Default) `true` Numeric values represent duration. Default duration is 200ms.
129
- * * false
130
- * * Number
123
+ * @default true
131
124
  */
132
125
  animation = true;
133
126
  /**
@@ -142,12 +135,12 @@ export class ExpansionPanelComponent {
142
135
  */
143
136
  action = new EventEmitter();
144
137
  /**
145
- * Fires when the ExpansionPanel is expanded. If there is animation it will fire when the animation is complete
138
+ * Fires when the ExpansionPanel is expanded. If there is animation it fires when the animation is complete
146
139
  * ([see example](slug:events_expansionpanel)).
147
140
  */
148
141
  expand = new EventEmitter();
149
142
  /**
150
- * Fires when the ExpansionPanel is collapsed. If there is animation it will fire when the animation is complete
143
+ * Fires when the ExpansionPanel is collapsed. If there is animation it fires when the animation is complete
151
144
  * ([see example](slug:events_expansionpanel)).
152
145
  */
153
146
  collapse = new EventEmitter();
@@ -287,7 +280,7 @@ export class ExpansionPanelComponent {
287
280
  * Toggles the visibility of the ExpansionPanel
288
281
  * ([see example](slug:interaction_expansionpanel#toggling-between-states)).
289
282
  *
290
- * @param expanded? - Boolean. Specifies, whether the ExpansionPanel will be expanded or collapsed.
283
+ * @param expanded Specifies whether the ExpansionPanel will be expanded or collapsed.
291
284
  */
292
285
  toggle(expanded) {
293
286
  const previous = this.expanded;
@@ -9,8 +9,20 @@ import * as i1 from "./expansionpanel/expansionpanel.component";
9
9
  import * as i2 from "./expansionpanel/expansionpanel-title.directive";
10
10
  // IMPORTANT: NgModule export kept for backwards compatibility
11
11
  /**
12
- * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
13
- * definition for the ExpansionPanel component.
12
+ * Defines the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) for the ExpansionPanel component.
13
+ *
14
+ * Use this module to add the ExpansionPanel component to your NgModule-based Angular application.
15
+ *
16
+ * @example
17
+ * ```typescript
18
+ * import { ExpansionPanelModule } from '@progress/kendo-angular-layout';
19
+ * import { NgModule } from '@angular/core';
20
+ *
21
+ * @NgModule({
22
+ * imports: [ExpansionPanelModule]
23
+ * })
24
+ * export class AppModule { }
25
+ * ```
14
26
  */
15
27
  export class ExpansionPanelModule {
16
28
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ExpansionPanelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
@@ -9,8 +9,20 @@ import * as i1 from "./layouts/grid-layout.component";
9
9
  import * as i2 from "./layouts/gridlayout-item.component";
10
10
  // IMPORTANT: NgModule export kept for backwards compatibility
11
11
  /**
12
- * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
13
- * definition for the GridLayout component.
12
+ * Defines the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) for the GridLayout component.
13
+ *
14
+ * Use this module to add the GridLayout component to your NgModule-based Angular application.
15
+ *
16
+ * @example
17
+ * ```typescript
18
+ * import { GridLayoutModule } from '@progress/kendo-angular-layout';
19
+ * import { NgModule } from '@angular/core';
20
+ *
21
+ * @NgModule({
22
+ * imports: [GridLayoutModule]
23
+ * })
24
+ * export class AppModule { }
25
+ * ```
14
26
  */
15
27
  export class GridLayoutModule {
16
28
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GridLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
@@ -56,34 +56,23 @@ import * as i48 from "./timeline/templates/timeline-card-body.directive";
56
56
  import * as i49 from "./timeline/templates/timeline-card-header.directive";
57
57
  // IMPORTANT: NgModule export kept for backwards compatibility
58
58
  /**
59
- * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
60
- * definition for the Layout components.
59
+ * Defines the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) for the Layout components.
61
60
  *
62
- * @example
61
+ * Use this module to add all Layout package components to your NgModule-based Angular application.
63
62
  *
64
- * ```ts-no-run
65
- * // Import the Layout module
63
+ * @example
64
+ * ```typescript
66
65
  * import { LayoutModule } from '@progress/kendo-angular-layout';
67
- *
68
- * // The browser platform with a compiler
69
- * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
70
- *
71
66
  * import { NgModule } from '@angular/core';
72
- *
73
- * // Import the app component
67
+ * import { BrowserModule } from '@angular/platform-browser';
74
68
  * import { AppComponent } from './app.component';
75
69
  *
76
- * // Define the app module
77
- * _@NgModule({
78
- * declarations: [AppComponent], // declare app component
79
- * imports: [BrowserModule, LayoutModule], // import Layout module
80
- * bootstrap: [AppComponent]
70
+ * @NgModule({
71
+ * declarations: [AppComponent],
72
+ * imports: [BrowserModule, LayoutModule],
73
+ * bootstrap: [AppComponent]
81
74
  * })
82
- * export class AppModule {}
83
- *
84
- * // Compile and launch the module
85
- * platformBrowserDynamic().bootstrapModule(AppModule);
86
- *
75
+ * export class AppModule { }
87
76
  * ```
88
77
  */
89
78
  export class LayoutModule {