@progress/kendo-angular-layout 17.0.0-develop.3 → 17.0.0-develop.30

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 (241) hide show
  1. package/README.md +42 -27
  2. package/avatar/avatar.component.d.ts +1 -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/shape.d.ts +2 -2
  7. package/avatar/models/size.d.ts +1 -1
  8. package/avatar/models/theme-color.d.ts +1 -1
  9. package/card/card-actions.component.d.ts +1 -1
  10. package/card/card.component.d.ts +1 -1
  11. package/card/directives/card-separator.directive.d.ts +1 -1
  12. package/card/models/actions-layout.d.ts +1 -1
  13. package/common/direction.d.ts +1 -1
  14. package/common/orientation.d.ts +1 -1
  15. package/drawer/drawer.component.d.ts +1 -1
  16. package/drawer/item.component.d.ts +1 -1
  17. package/drawer/list.component.d.ts +1 -1
  18. package/drawer/models/drawer-item-expand.interface.d.ts +1 -1
  19. package/drawer/models/mode.d.ts +1 -1
  20. package/drawer/models/position.d.ts +1 -1
  21. package/{esm2020 → esm2022}/avatar/avatar.component.mjs +61 -25
  22. package/{esm2020 → esm2022}/avatar/l10n/custom-messages.component.mjs +9 -8
  23. package/{esm2020 → esm2022}/avatar/l10n/localized-messages.directive.mjs +9 -8
  24. package/{esm2020 → esm2022}/avatar/l10n/messages.mjs +7 -3
  25. package/{esm2020 → esm2022}/avatar.module.mjs +4 -4
  26. package/{esm2020 → esm2022}/card/card-actions.component.mjs +37 -31
  27. package/{esm2020 → esm2022}/card/card-body.component.mjs +5 -7
  28. package/{esm2020 → esm2022}/card/card-footer.component.mjs +5 -7
  29. package/{esm2020 → esm2022}/card/card-header.component.mjs +5 -7
  30. package/{esm2020 → esm2022}/card/card.component.mjs +40 -34
  31. package/{esm2020 → esm2022}/card/directives/card-media.directive.mjs +4 -6
  32. package/{esm2020 → esm2022}/card/directives/card-separator.directive.mjs +16 -14
  33. package/{esm2020 → esm2022}/card/directives/card-subtitle.directive.mjs +4 -6
  34. package/{esm2020 → esm2022}/card/directives/card-title.directive.mjs +4 -6
  35. package/{esm2020 → esm2022}/card/models/card-action.mjs +12 -0
  36. package/{esm2020 → esm2022}/card.module.mjs +4 -4
  37. package/{esm2020 → esm2022}/common/preventable-event.mjs +7 -7
  38. package/{esm2020 → esm2022}/drawer/drawer-container.component.mjs +28 -18
  39. package/{esm2020 → esm2022}/drawer/drawer-content.component.mjs +6 -7
  40. package/{esm2020 → esm2022}/drawer/drawer.component.mjs +132 -106
  41. package/{esm2020 → esm2022}/drawer/drawer.service.mjs +10 -10
  42. package/{esm2020 → esm2022}/drawer/events/drawer-list-select.event.mjs +12 -0
  43. package/{esm2020 → esm2022}/drawer/events/select-event.mjs +16 -0
  44. package/{esm2020 → esm2022}/drawer/item.component.mjs +22 -11
  45. package/{esm2020 → esm2022}/drawer/list.component.mjs +14 -6
  46. package/{esm2020 → esm2022}/drawer/template-directives/drawer-template.directive.mjs +4 -3
  47. package/{esm2020 → esm2022}/drawer/template-directives/footer-template.directive.mjs +4 -3
  48. package/{esm2020 → esm2022}/drawer/template-directives/header-template.directive.mjs +4 -3
  49. package/{esm2020 → esm2022}/drawer/template-directives/item-template.directive.mjs +4 -3
  50. package/{esm2020 → esm2022}/drawer.module.mjs +4 -4
  51. package/{esm2020 → esm2022}/expansionpanel/events/action-event.mjs +4 -0
  52. package/{esm2020 → esm2022}/expansionpanel/expansionpanel-title.directive.mjs +4 -3
  53. package/{esm2020 → esm2022}/expansionpanel/expansionpanel.component.mjs +103 -81
  54. package/{esm2020 → esm2022}/expansionpanel.module.mjs +4 -4
  55. package/{esm2020 → esm2022}/gridlayout.module.mjs +4 -4
  56. package/{esm2020 → esm2022}/layout.module.mjs +4 -4
  57. package/{esm2020 → esm2022}/layouts/grid-layout.component.mjs +57 -26
  58. package/{esm2020 → esm2022}/layouts/gridlayout-item.component.mjs +26 -4
  59. package/{esm2020 → esm2022}/layouts/stack-layout.component.mjs +40 -35
  60. package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
  61. package/{esm2020 → esm2022}/panelbar/events/collapse-event.mjs +4 -0
  62. package/{esm2020 → esm2022}/panelbar/events/expand-event.mjs +4 -0
  63. package/{esm2020 → esm2022}/panelbar/events/item-click-event.mjs +8 -0
  64. package/{esm2020 → esm2022}/panelbar/events/select-event.mjs +4 -0
  65. package/{esm2020 → esm2022}/panelbar/events/state-change-event.mjs +4 -0
  66. package/{esm2020 → esm2022}/panelbar/panelbar-content.directive.mjs +4 -3
  67. package/{esm2020 → esm2022}/panelbar/panelbar-item-template.directive.mjs +4 -3
  68. package/{esm2020 → esm2022}/panelbar/panelbar-item-title.directive.mjs +4 -3
  69. package/{esm2020 → esm2022}/panelbar/panelbar-item.component.mjs +99 -64
  70. package/{esm2020 → esm2022}/panelbar/panelbar.component.mjs +109 -98
  71. package/{esm2020 → esm2022}/panelbar/panelbar.service.mjs +23 -13
  72. package/{esm2020 → esm2022}/panelbar.module.mjs +4 -4
  73. package/{esm2020 → esm2022}/splitter/splitter-bar.component.mjs +68 -28
  74. package/esm2022/splitter/splitter-pane.component.mjs +262 -0
  75. package/{esm2020 → esm2022}/splitter/splitter.component.mjs +98 -40
  76. package/{esm2020 → esm2022}/splitter/splitter.service.mjs +69 -28
  77. package/{esm2020 → esm2022}/splitter.module.mjs +4 -4
  78. package/{esm2020 → esm2022}/stacklayout.module.mjs +4 -4
  79. package/{esm2020 → esm2022}/stepper/events/activate-event.mjs +16 -0
  80. package/{esm2020 → esm2022}/stepper/list.component.mjs +23 -5
  81. package/{esm2020 → esm2022}/stepper/localization/custom-messages.component.mjs +9 -8
  82. package/{esm2020 → esm2022}/stepper/localization/localized-messages.directive.mjs +9 -8
  83. package/{esm2020 → esm2022}/stepper/localization/messages.mjs +7 -3
  84. package/{esm2020 → esm2022}/stepper/step.component.mjs +25 -8
  85. package/{esm2020 → esm2022}/stepper/stepper.component.mjs +109 -68
  86. package/{esm2020 → esm2022}/stepper/stepper.service.mjs +30 -9
  87. package/{esm2020 → esm2022}/stepper/template-directives/indicator-template.directive.mjs +4 -3
  88. package/{esm2020 → esm2022}/stepper/template-directives/label-template.directive.mjs +4 -3
  89. package/{esm2020 → esm2022}/stepper/template-directives/step-template.directive.mjs +4 -3
  90. package/{esm2020 → esm2022}/stepper.module.mjs +4 -4
  91. package/{esm2020 → esm2022}/tabstrip/directives/tab-content.directive.mjs +4 -3
  92. package/{esm2020 → esm2022}/tabstrip/directives/tab-title.directive.mjs +4 -3
  93. package/{esm2020 → esm2022}/tabstrip/directives/tab.directive.mjs +4 -3
  94. package/{esm2020 → esm2022}/tabstrip/events/select-event.mjs +2 -0
  95. package/{esm2020 → esm2022}/tabstrip/events/tabclose-event.mjs +2 -0
  96. package/{esm2020 → esm2022}/tabstrip/events/tabscroll-event.mjs +4 -0
  97. package/{esm2020 → esm2022}/tabstrip/localization/custom-messages.component.mjs +9 -8
  98. package/{esm2020 → esm2022}/tabstrip/localization/localized-messages.directive.mjs +9 -8
  99. package/{esm2020 → esm2022}/tabstrip/localization/messages.mjs +15 -3
  100. package/esm2022/tabstrip/models/tabstrip-tab.component.mjs +117 -0
  101. package/{esm2020 → esm2022}/tabstrip/rendering/tab.component.mjs +25 -17
  102. package/{esm2020 → esm2022}/tabstrip/scrollable-button.component.mjs +33 -27
  103. package/{esm2020 → esm2022}/tabstrip/tabstrip-scroll.service.mjs +11 -9
  104. package/{esm2020 → esm2022}/tabstrip/tabstrip.component.mjs +150 -106
  105. package/{esm2020 → esm2022}/tabstrip/tabstrip.service.mjs +6 -3
  106. package/{esm2020 → esm2022}/tabstrip.module.mjs +4 -4
  107. package/{esm2020 → esm2022}/tilelayout/dragging-service.mjs +39 -18
  108. package/{esm2020 → esm2022}/tilelayout/keyboard-navigation.service.mjs +9 -4
  109. package/{esm2020 → esm2022}/tilelayout/reorder-event.mjs +8 -0
  110. package/{esm2020 → esm2022}/tilelayout/resize-event.mjs +6 -0
  111. package/{esm2020 → esm2022}/tilelayout/tilelayout-item-body.component.mjs +6 -8
  112. package/{esm2020 → esm2022}/tilelayout/tilelayout-item-header.component.mjs +11 -9
  113. package/{esm2020 → esm2022}/tilelayout/tilelayout-item.component.mjs +78 -48
  114. package/{esm2020 → esm2022}/tilelayout/tilelayout-resize-handle.directive.mjs +7 -3
  115. package/{esm2020 → esm2022}/tilelayout/tilelayout.component.mjs +101 -88
  116. package/{esm2020 → esm2022}/tilelayout.module.mjs +4 -4
  117. package/{esm2020 → esm2022}/timeline/localization/custom-messages.component.mjs +9 -8
  118. package/{esm2020 → esm2022}/timeline/localization/localized-messages.directive.mjs +9 -8
  119. package/{esm2020 → esm2022}/timeline/localization/messages.mjs +11 -3
  120. package/{esm2020 → esm2022}/timeline/templates/timeline-card-actions.directive.mjs +4 -3
  121. package/{esm2020 → esm2022}/timeline/templates/timeline-card-body.directive.mjs +4 -3
  122. package/{esm2020 → esm2022}/timeline/templates/timeline-card-header.directive.mjs +4 -3
  123. package/{esm2020 → esm2022}/timeline/timeline-card.component.mjs +49 -34
  124. package/{esm2020 → esm2022}/timeline/timeline-horizontal.component.mjs +75 -46
  125. package/{esm2020 → esm2022}/timeline/timeline-vertical.component.mjs +20 -6
  126. package/{esm2020 → esm2022}/timeline/timeline.component.mjs +108 -68
  127. package/{esm2020 → esm2022}/timeline/timeline.service.mjs +4 -3
  128. package/{esm2020 → esm2022}/timeline.module.mjs +4 -4
  129. package/expansionpanel/events/action-event.d.ts +1 -1
  130. package/expansionpanel/expansionpanel.component.d.ts +1 -1
  131. package/{fesm2020 → fesm2022}/progress-kendo-angular-layout.mjs +2668 -1733
  132. package/layouts/grid-layout.component.d.ts +1 -1
  133. package/layouts/gridlayout-item.component.d.ts +1 -1
  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 +1 -1
  137. package/package.json +16 -22
  138. package/panelbar/panelbar-item.component.d.ts +1 -1
  139. package/panelbar/panelbar.component.d.ts +1 -1
  140. package/splitter/splitter-bar.component.d.ts +13 -1
  141. package/splitter/splitter-pane.component.d.ts +23 -4
  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 +3 -1
  161. package/tilelayout/models/flowmode.type.d.ts +1 -1
  162. package/tilelayout/tilelayout-item-header.component.d.ts +1 -1
  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 +1 -1
  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/fesm2015/progress-kendo-angular-layout.mjs +0 -12374
  176. /package/{esm2020 → esm2022}/avatar/models/fill.mjs +0 -0
  177. /package/{esm2020 → esm2022}/avatar/models/models.mjs +0 -0
  178. /package/{esm2020 → esm2022}/avatar/models/rounded.mjs +0 -0
  179. /package/{esm2020 → esm2022}/avatar/models/shape.mjs +0 -0
  180. /package/{esm2020 → esm2022}/avatar/models/size.mjs +0 -0
  181. /package/{esm2020 → esm2022}/avatar/models/theme-color.mjs +0 -0
  182. /package/{esm2020 → esm2022}/card/models/actions-layout.mjs +0 -0
  183. /package/{esm2020 → esm2022}/common/direction.mjs +0 -0
  184. /package/{esm2020 → esm2022}/common/dom-queries.mjs +0 -0
  185. /package/{esm2020 → esm2022}/common/orientation.mjs +0 -0
  186. /package/{esm2020 → esm2022}/common/styling-classes.mjs +0 -0
  187. /package/{esm2020 → esm2022}/common/util.mjs +0 -0
  188. /package/{esm2020 → esm2022}/directives.mjs +0 -0
  189. /package/{esm2020 → esm2022}/drawer/animations.mjs +0 -0
  190. /package/{esm2020 → esm2022}/drawer/models/constants.mjs +0 -0
  191. /package/{esm2020 → esm2022}/drawer/models/drawer-animation.interface.mjs +0 -0
  192. /package/{esm2020 → esm2022}/drawer/models/drawer-item-expand.interface.mjs +0 -0
  193. /package/{esm2020 → esm2022}/drawer/models/drawer-item.interface.mjs +0 -0
  194. /package/{esm2020 → esm2022}/drawer/models/drawer-view-item.interface.mjs +0 -0
  195. /package/{esm2020 → esm2022}/drawer/models/mode.mjs +0 -0
  196. /package/{esm2020 → esm2022}/drawer/models/position.mjs +0 -0
  197. /package/{esm2020 → esm2022}/drawer/template-directives.mjs +0 -0
  198. /package/{esm2020 → esm2022}/drawer/types.mjs +0 -0
  199. /package/{esm2020 → esm2022}/drawer/util.mjs +0 -0
  200. /package/{esm2020 → esm2022}/expansionpanel/animations.mjs +0 -0
  201. /package/{esm2020 → esm2022}/index.mjs +0 -0
  202. /package/{esm2020 → esm2022}/layouts/models/gridlayout-gap-settings.mjs +0 -0
  203. /package/{esm2020 → esm2022}/layouts/models/gridlayout-row-col-size.mjs +0 -0
  204. /package/{esm2020 → esm2022}/layouts/models/layout-align-settings.mjs +0 -0
  205. /package/{esm2020 → esm2022}/layouts/models/layout-horizontal-align.mjs +0 -0
  206. /package/{esm2020 → esm2022}/layouts/models/layout-vertical-align.mjs +0 -0
  207. /package/{esm2020 → esm2022}/layouts/models.mjs +0 -0
  208. /package/{esm2020 → esm2022}/layouts/util.mjs +0 -0
  209. /package/{esm2020 → esm2022}/panelbar/events.mjs +0 -0
  210. /package/{esm2020 → esm2022}/panelbar/panelbar-expand-mode.mjs +0 -0
  211. /package/{esm2020 → esm2022}/panelbar/panelbar-item-model.mjs +0 -0
  212. /package/{esm2020 → esm2022}/progress-kendo-angular-layout.mjs +0 -0
  213. /package/{esm2020 → esm2022}/splitter/util.mjs +0 -0
  214. /package/{esm2020 → esm2022}/stepper/models/constants.mjs +0 -0
  215. /package/{esm2020 → esm2022}/stepper/models/orientation.mjs +0 -0
  216. /package/{esm2020 → esm2022}/stepper/models/step-predicate.mjs +0 -0
  217. /package/{esm2020 → esm2022}/stepper/models/step-type.mjs +0 -0
  218. /package/{esm2020 → esm2022}/stepper/models/stepper-step.interface.mjs +0 -0
  219. /package/{esm2020 → esm2022}/stepper/template-directives.mjs +0 -0
  220. /package/{esm2020 → esm2022}/stepper/types.mjs +0 -0
  221. /package/{esm2020 → esm2022}/tabstrip/constants.mjs +0 -0
  222. /package/{esm2020 → esm2022}/tabstrip/events.mjs +0 -0
  223. /package/{esm2020 → esm2022}/tabstrip/models/button-state-change.mjs +0 -0
  224. /package/{esm2020 → esm2022}/tabstrip/models/scroll-button-type.mjs +0 -0
  225. /package/{esm2020 → esm2022}/tabstrip/models/scroll-buttons-visibility.mjs +0 -0
  226. /package/{esm2020 → esm2022}/tabstrip/models/scrollable-settings.mjs +0 -0
  227. /package/{esm2020 → esm2022}/tabstrip/models/tab-alignment.mjs +0 -0
  228. /package/{esm2020 → esm2022}/tabstrip/models/tab-position.mjs +0 -0
  229. /package/{esm2020 → esm2022}/tabstrip/util.mjs +0 -0
  230. /package/{esm2020 → esm2022}/tilelayout/constants.mjs +0 -0
  231. /package/{esm2020 → esm2022}/tilelayout/models/dragging-config.interface.mjs +0 -0
  232. /package/{esm2020 → esm2022}/tilelayout/models/flowmode.type.mjs +0 -0
  233. /package/{esm2020 → esm2022}/tilelayout/models/gap.interface.mjs +0 -0
  234. /package/{esm2020 → esm2022}/tilelayout/models/navigation.interface.mjs +0 -0
  235. /package/{esm2020 → esm2022}/tilelayout/util.mjs +0 -0
  236. /package/{esm2020 → esm2022}/timeline/events/navigation-direction.mjs +0 -0
  237. /package/{esm2020 → esm2022}/timeline/models/anchor-target.mjs +0 -0
  238. /package/{esm2020 → esm2022}/timeline/models/default-model-fields.mjs +0 -0
  239. /package/{esm2020 → esm2022}/timeline/models/model-fields.mjs +0 -0
  240. /package/{esm2020 → esm2022}/timeline/models/timeline-event.mjs +0 -0
  241. /package/{esm2020 → esm2022}/timeline/util.mjs +0 -0
@@ -0,0 +1,117 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { Component, Input, ContentChildren, QueryList } from '@angular/core';
6
+ import { TabContentDirective } from '../directives/tab-content.directive';
7
+ import { TabTitleDirective } from '../directives/tab-title.directive';
8
+ import { TabTemplateDirective } from '../directives/tab.directive';
9
+ import * as i0 from "@angular/core";
10
+ /**
11
+ * Represents the tab component of the TabStrip.
12
+ */
13
+ export class TabStripTabComponent {
14
+ /**
15
+ * Sets the tab title ([see example](slug:tabs_tabstrip#toc-tab-titles)).
16
+ */
17
+ title;
18
+ /**
19
+ * Used to disable a tab ([see example]({% slug tabs_tabstrip %}#toc-disabled-tabs)).
20
+ *
21
+ * Defaults to `false`.
22
+ */
23
+ disabled = false;
24
+ /**
25
+ * The CSS classes that will be rendered on the `tab` element.
26
+ * Supports the type of values that are supported by [ngClass](link:site.data.urls.angular['ngclassapi']).
27
+ */
28
+ cssClass;
29
+ /**
30
+ * The CSS styles that will be rendered on the `tab` element.
31
+ * Supports the type of values that are supported by [ngStyle](link:site.data.urls.angular['ngstyleapi']).
32
+ */
33
+ cssStyle;
34
+ /**
35
+ * Determines which tab will be selected upon the initial loading of the TabStrip
36
+ * ([see example](slug:tabs_tabstrip#toc-selected-tab)).
37
+ */
38
+ selected;
39
+ /**
40
+ * When set to `true`, a close button will be rendered inside the tab.
41
+ * This option overrides the value of the TabStrip `closable` option.
42
+ */
43
+ closable;
44
+ /**
45
+ * Defines the name for an existing font icon in the Kendo UI theme for the close icon.
46
+ * This option overrides the value of the TabStrip `closeIcon` option.
47
+ */
48
+ closeIcon;
49
+ /**
50
+ * Allows the usage of custom icons by defining a custom CSS class, or multiple classes separated by spaces.
51
+ * This option overrides the value of the TabStrip `closeIcon` option.
52
+ */
53
+ closeIconClass;
54
+ /**
55
+ * Defines an SVGIcon to be rendered for the close icon.
56
+ * The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
57
+ */
58
+ closeSVGIcon;
59
+ get tabContent() {
60
+ return this._tabContent.first;
61
+ }
62
+ get tabTitle() {
63
+ return this._tabTitleDirective.first;
64
+ }
65
+ get tabTemplate() {
66
+ return this._tabDirective.first;
67
+ }
68
+ _tabDirective = new QueryList();
69
+ _tabContent = new QueryList();
70
+ // guards against nested tabstrip components; `descendants` is not defined by default;
71
+ _tabTitleDirective;
72
+ /**
73
+ * @hidden
74
+ *
75
+ * Currently only disabled tabs can be focused. Otherwise they will be
76
+ * immediately selected
77
+ */
78
+ focused = false;
79
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TabStripTabComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
80
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TabStripTabComponent, isStandalone: true, selector: "kendo-tabstrip-tab", inputs: { title: "title", disabled: "disabled", cssClass: "cssClass", cssStyle: "cssStyle", selected: "selected", closable: "closable", closeIcon: "closeIcon", closeIconClass: "closeIconClass", closeSVGIcon: "closeSVGIcon" }, queries: [{ propertyName: "_tabDirective", predicate: TabTemplateDirective }, { propertyName: "_tabContent", predicate: TabContentDirective }, { propertyName: "_tabTitleDirective", predicate: TabTitleDirective }], exportAs: ["kendoTabStripTab"], ngImport: i0, template: ``, isInline: true });
81
+ }
82
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TabStripTabComponent, decorators: [{
83
+ type: Component,
84
+ args: [{
85
+ exportAs: 'kendoTabStripTab',
86
+ selector: 'kendo-tabstrip-tab',
87
+ template: ``,
88
+ standalone: true
89
+ }]
90
+ }], propDecorators: { title: [{
91
+ type: Input
92
+ }], disabled: [{
93
+ type: Input
94
+ }], cssClass: [{
95
+ type: Input
96
+ }], cssStyle: [{
97
+ type: Input
98
+ }], selected: [{
99
+ type: Input
100
+ }], closable: [{
101
+ type: Input
102
+ }], closeIcon: [{
103
+ type: Input
104
+ }], closeIconClass: [{
105
+ type: Input
106
+ }], closeSVGIcon: [{
107
+ type: Input
108
+ }], _tabDirective: [{
109
+ type: ContentChildren,
110
+ args: [TabTemplateDirective]
111
+ }], _tabContent: [{
112
+ type: ContentChildren,
113
+ args: [TabContentDirective]
114
+ }], _tabTitleDirective: [{
115
+ type: ContentChildren,
116
+ args: [TabTitleDirective]
117
+ }] } });
@@ -15,11 +15,15 @@ import * as i1 from "@progress/kendo-angular-l10n";
15
15
  * @hidden
16
16
  */
17
17
  export class TabComponent {
18
- constructor(localization) {
19
- this.localization = localization;
20
- this.tabClose = new EventEmitter();
21
- this.hostClasses = true;
22
- }
18
+ localization;
19
+ tab;
20
+ index;
21
+ tabStripClosable;
22
+ tabStripCloseIcon;
23
+ customTabstripCloseIcon;
24
+ closeSVGIcon;
25
+ tabClose = new EventEmitter();
26
+ hostClasses = true;
23
27
  get activeClass() {
24
28
  return this.tab.selected;
25
29
  }
@@ -32,6 +36,9 @@ export class TabComponent {
32
36
  get tabIndex() {
33
37
  return this.tab.selected || this.tab.focused ? 0 : -1;
34
38
  }
39
+ constructor(localization) {
40
+ this.localization = localization;
41
+ }
35
42
  get tabClosable() {
36
43
  if (this.tab.closable !== undefined) {
37
44
  return this.tab.closable;
@@ -73,13 +80,14 @@ export class TabComponent {
73
80
  const closeArgs = new TabCloseEvent(index, this.tab);
74
81
  this.tabClose.emit(closeArgs);
75
82
  }
76
- }
77
- TabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TabComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
78
- TabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TabComponent, isStandalone: true, selector: "[kendoTabStripTab]", inputs: { tab: "tab", index: "index", tabStripClosable: "tabStripClosable", tabStripCloseIcon: "tabStripCloseIcon", customTabstripCloseIcon: "customTabstripCloseIcon", closeSVGIcon: "closeSVGIcon" }, outputs: { tabClose: "tabClose" }, host: { properties: { "class.k-item": "this.hostClasses", "class.k-tabstrip-item": "this.hostClasses", "attr.aria-selected": "this.activeClass", "class.k-active": "this.activeClass", "attr.aria-disabled": "this.disabledClass", "class.k-disabled": "this.disabledClass", "class.k-focus": "this.focusedClass", "attr.tabindex": "this.tabIndex" } }, ngImport: i0, template: `
83
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TabComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
84
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TabComponent, isStandalone: true, selector: "[kendoTabStripTab]", inputs: { tab: "tab", index: "index", tabStripClosable: "tabStripClosable", tabStripCloseIcon: "tabStripCloseIcon", customTabstripCloseIcon: "customTabstripCloseIcon", closeSVGIcon: "closeSVGIcon" }, outputs: { tabClose: "tabClose" }, host: { properties: { "class.k-item": "this.hostClasses", "attr.aria-selected": "this.activeClass", "class.k-active": "this.activeClass", "attr.aria-disabled": "this.disabledClass", "class.k-disabled": "this.disabledClass", "class.k-focus": "this.focusedClass", "attr.tabindex": "this.tabIndex" } }, ngImport: i0, template: `
79
85
  <ng-container *ngIf="!tab.tabTemplate; else tabTemplate">
80
- <span class="k-link" *ngIf="!tab.tabTitle">{{ tab.title }}</span>
86
+ <span class="k-link" *ngIf="!tab.tabTitle">
87
+ <span class="k-link-text">{{ tab.title }}</span>
88
+ </span>
81
89
  <span class="k-link" *ngIf="tab.tabTitle">
82
- <ng-template [ngTemplateOutlet]="tab.tabTitle?.templateRef">
90
+ <ng-template [ngTemplateOutlet]="tab.tabTitle.templateRef">
83
91
  </ng-template>
84
92
  </span>
85
93
  </ng-container>
@@ -101,17 +109,20 @@ TabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
101
109
  (click)="closeTab(index)"
102
110
  class="k-remove-tab k-icon-button"
103
111
  ></button>
104
- `, 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: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
105
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TabComponent, decorators: [{
112
+ `, 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: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
113
+ }
114
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TabComponent, decorators: [{
106
115
  type: Component,
107
116
  args: [{
108
117
  // eslint-disable-next-line @angular-eslint/component-selector
109
118
  selector: '[kendoTabStripTab]',
110
119
  template: `
111
120
  <ng-container *ngIf="!tab.tabTemplate; else tabTemplate">
112
- <span class="k-link" *ngIf="!tab.tabTitle">{{ tab.title }}</span>
121
+ <span class="k-link" *ngIf="!tab.tabTitle">
122
+ <span class="k-link-text">{{ tab.title }}</span>
123
+ </span>
113
124
  <span class="k-link" *ngIf="tab.tabTitle">
114
- <ng-template [ngTemplateOutlet]="tab.tabTitle?.templateRef">
125
+ <ng-template [ngTemplateOutlet]="tab.tabTitle.templateRef">
115
126
  </ng-template>
116
127
  </span>
117
128
  </ng-container>
@@ -154,9 +165,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
154
165
  }], hostClasses: [{
155
166
  type: HostBinding,
156
167
  args: ['class.k-item']
157
- }, {
158
- type: HostBinding,
159
- args: ['class.k-tabstrip-item']
160
168
  }], activeClass: [{
161
169
  type: HostBinding,
162
170
  args: ['attr.aria-selected']
@@ -17,35 +17,21 @@ import * as i1 from "@progress/kendo-angular-l10n";
17
17
  * @hidden
18
18
  */
19
19
  export class TabStripScrollableButtonComponent {
20
- constructor(host, renderer, ngZone, localization) {
21
- this.host = host;
22
- this.renderer = renderer;
23
- this.ngZone = ngZone;
24
- this.localization = localization;
25
- this.prev = false;
26
- this.tabScroll = new EventEmitter();
27
- this.onClick = new EventEmitter();
28
- this.caretAltLeftIcon = caretAltLeftIcon;
29
- this.caretAltRightIcon = caretAltRightIcon;
30
- this.caretAltUpIcon = caretAltUpIcon;
31
- this.caretAltDownIcon = caretAltDownIcon;
32
- this.subs = new Subscription();
33
- this.clickHandler = (scrollEvent) => {
34
- const tabStripScrollEvent = this.emitScrollEvent(scrollEvent);
35
- const isTabStripScrollEventPrevented = tabStripScrollEvent.isDefaultPrevented();
36
- if (isTabStripScrollEventPrevented) {
37
- return;
38
- }
39
- const buttonType = this.prev ? 'prev' : 'next';
40
- this.onClick.emit(buttonType);
41
- };
42
- }
20
+ host;
21
+ renderer;
22
+ ngZone;
23
+ localization;
43
24
  get prevClass() {
44
25
  return this.prev;
45
26
  }
46
27
  get nextClass() {
47
28
  return !this.prev;
48
29
  }
30
+ prev = false;
31
+ tabPosition;
32
+ scrollable;
33
+ tabScroll = new EventEmitter();
34
+ onClick = new EventEmitter();
49
35
  get hostBoundingClientRect() {
50
36
  return this.host.nativeElement.getBoundingClientRect();
51
37
  }
@@ -58,6 +44,17 @@ export class TabStripScrollableButtonComponent {
58
44
  get svgIcon() {
59
45
  return this.scrollButtonSVGIcon;
60
46
  }
47
+ caretAltLeftIcon = caretAltLeftIcon;
48
+ caretAltRightIcon = caretAltRightIcon;
49
+ caretAltUpIcon = caretAltUpIcon;
50
+ caretAltDownIcon = caretAltDownIcon;
51
+ subs = new Subscription();
52
+ constructor(host, renderer, ngZone, localization) {
53
+ this.host = host;
54
+ this.renderer = renderer;
55
+ this.ngZone = ngZone;
56
+ this.localization = localization;
57
+ }
61
58
  ngAfterViewInit() {
62
59
  this.ngZone.runOutsideAngular(() => {
63
60
  this.subs.add(this.renderer.listen(this.host.nativeElement, 'click', this.clickHandler));
@@ -69,6 +66,15 @@ export class TabStripScrollableButtonComponent {
69
66
  toggle(show) {
70
67
  this.renderer[show ? 'removeClass' : 'addClass'](this.host.nativeElement, HIDDEN_CLASS);
71
68
  }
69
+ clickHandler = (scrollEvent) => {
70
+ const tabStripScrollEvent = this.emitScrollEvent(scrollEvent);
71
+ const isTabStripScrollEventPrevented = tabStripScrollEvent.isDefaultPrevented();
72
+ if (isTabStripScrollEventPrevented) {
73
+ return;
74
+ }
75
+ const buttonType = this.prev ? 'prev' : 'next';
76
+ this.onClick.emit(buttonType);
77
+ };
72
78
  get scrollButtonIconClass() {
73
79
  const defaultPrevIcon = isTablistHorizontal(this.tabPosition) ?
74
80
  !this.localization.rtl ?
@@ -129,9 +135,8 @@ export class TabStripScrollableButtonComponent {
129
135
  this.tabScroll.emit(scrollEvent);
130
136
  return scrollEvent;
131
137
  }
132
- }
133
- TabStripScrollableButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TabStripScrollableButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
134
- TabStripScrollableButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TabStripScrollableButtonComponent, isStandalone: true, selector: "[kendoTabStripScrollableButton]", inputs: { prev: "prev", tabPosition: "tabPosition", scrollable: "scrollable" }, outputs: { tabScroll: "tabScroll", onClick: "onClick" }, host: { properties: { "class.k-tabstrip-prev": "this.prevClass", "class.k-tabstrip-next": "this.nextClass" } }, ngImport: i0, template: `
138
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TabStripScrollableButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
139
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TabStripScrollableButtonComponent, isStandalone: true, selector: "[kendoTabStripScrollableButton]", inputs: { prev: "prev", tabPosition: "tabPosition", scrollable: "scrollable" }, outputs: { tabScroll: "tabScroll", onClick: "onClick" }, host: { properties: { "class.k-tabstrip-prev": "this.prevClass", "class.k-tabstrip-next": "this.nextClass" } }, ngImport: i0, template: `
135
140
  <kendo-icon-wrapper
136
141
  [name]="iconClass"
137
142
  [customFontClass]="customIconClass"
@@ -140,7 +145,8 @@ TabStripScrollableButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion
140
145
  >
141
146
  </kendo-icon-wrapper>
142
147
  `, isInline: true, dependencies: [{ kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
143
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TabStripScrollableButtonComponent, decorators: [{
148
+ }
149
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TabStripScrollableButtonComponent, decorators: [{
144
150
  type: Component,
145
151
  args: [{
146
152
  template: `
@@ -12,12 +12,10 @@ import * as i0 from "@angular/core";
12
12
  * @hidden
13
13
  */
14
14
  export class ScrollService {
15
- constructor(ngZone) {
16
- this.ngZone = ngZone;
17
- this.position = 0;
18
- this.scrollButtonActiveStateChange = new Subject();
19
- this.isDisabled = (buttonType) => this.owner[`${buttonType}ScrollButton`].host.nativeElement.classList.contains('k-disabled');
20
- }
15
+ ngZone;
16
+ owner;
17
+ position = 0;
18
+ scrollButtonActiveStateChange = new Subject();
21
19
  get tablistElement() {
22
20
  return this.owner.tablist.nativeElement;
23
21
  }
@@ -49,6 +47,9 @@ export class ScrollService {
49
47
  const nextSize = isTablistHorizontal(this.owner.tabPosition) ? nextRect.width : nextRect.height;
50
48
  return prevSize + nextSize;
51
49
  }
50
+ constructor(ngZone) {
51
+ this.ngZone = ngZone;
52
+ }
52
53
  toggleScrollButtonsState() {
53
54
  const tabStrip = this.owner;
54
55
  if (!tabStrip.hasScrollButtons) {
@@ -171,9 +172,10 @@ export class ScrollService {
171
172
  toggleButtonActiveState(buttonType, active) {
172
173
  this.scrollButtonActiveStateChange.next({ buttonType, active });
173
174
  }
175
+ isDisabled = (buttonType) => this.owner[`${buttonType}ScrollButton`].host.nativeElement.classList.contains('k-disabled');
176
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ScrollService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
177
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ScrollService });
174
178
  }
175
- ScrollService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ScrollService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
176
- ScrollService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ScrollService });
177
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ScrollService, decorators: [{
179
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ScrollService, decorators: [{
178
180
  type: Injectable
179
181
  }], ctorParameters: function () { return [{ type: i0.NgZone }]; } });