@eui/ecl 22.0.0-alpha.69 → 22.0.0-alpha.70

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 (244) hide show
  1. package/docs/changelog.html +10 -0
  2. package/docs/classes/EclDomEvent.html +2 -0
  3. package/docs/classes/EclGalleryMediaSource.html +2 -2
  4. package/docs/classes/EclGalleryMediaTrack.html +4 -4
  5. package/docs/classes/EclGalleryPictureImage.html +3 -3
  6. package/docs/classes/EclGalleryPictureSource.html +2 -2
  7. package/docs/classes/EclLanguageService.html +1 -1
  8. package/docs/classes/EclMenuItemCaretEvent.html +16 -12
  9. package/docs/classes/EclMenuItemFocusEvent.html +16 -12
  10. package/docs/classes/EclMenuItemHoverEvent.html +16 -12
  11. package/docs/classes/EclMenuItemHoverOutEvent.html +16 -12
  12. package/docs/classes/EclMenuItemKeydownEvent.html +16 -12
  13. package/docs/classes/EclMenuItemSelectEvent.html +16 -12
  14. package/docs/classes/EclSortTableEvent.html +3 -3
  15. package/docs/components/EclBlockquoteComponent.html +0 -5
  16. package/docs/components/EclBreadcrumbComponent.html +1 -6
  17. package/docs/components/EclBreadcrumbSegmentComponent.html +1 -1
  18. package/docs/components/EclCategoryFilterComponent.html +0 -5
  19. package/docs/components/EclCategoryFilterItemComponent.html +1 -6
  20. package/docs/components/EclDateBlockComponent.html +2 -27
  21. package/docs/components/EclExpandableComponent.html +0 -10
  22. package/docs/components/EclFeaturedComponent.html +0 -5
  23. package/docs/components/EclGalleryFooterComponent.html +1 -6
  24. package/docs/components/EclGalleryItemComponent.html +2 -37
  25. package/docs/components/EclIconComponent.html +0 -15
  26. package/docs/components/EclInpageNavigationComponent.html +5 -15
  27. package/docs/components/EclInpageNavigationItemComponent.html +2 -12
  28. package/docs/components/EclMegaMenuComponent.html +2 -2
  29. package/docs/components/EclMegaMenuFeaturedComponent.html +0 -10
  30. package/docs/components/EclMegaMenuInfoComponent.html +0 -10
  31. package/docs/components/EclMegaMenuItemComponent.html +2 -12
  32. package/docs/components/EclMegaMenuSubitemComponent.html +2 -17
  33. package/docs/components/EclMenuItemComponent.html +4 -24
  34. package/docs/components/EclMenuMegaItemComponent.html +2 -17
  35. package/docs/components/EclModalHeaderComponent.html +1 -1
  36. package/docs/components/EclMultiselectComponent.html +3 -18
  37. package/docs/components/EclMultiselectDropdownComponent.html +1 -1
  38. package/docs/components/EclMultiselectInputComponent.html +3 -18
  39. package/docs/components/EclMultiselectOptgroupComponent.html +0 -5
  40. package/docs/components/EclNewsTickerComponent.html +1 -1
  41. package/docs/components/EclNewsTickerItemComponent.html +1 -1
  42. package/docs/components/EclNotificationComponent.html +0 -5
  43. package/docs/components/EclPaginationComponent.html +4 -4
  44. package/docs/components/EclPaginationItemComponent.html +3 -13
  45. package/docs/components/EclRatingFieldComponent.html +1 -1
  46. package/docs/components/EclSearchFormComponent.html +3 -13
  47. package/docs/components/EclSelectContainerComponent.html +4 -4
  48. package/docs/components/EclSiteFooterCoownerComponent.html +1 -1
  49. package/docs/components/EclSiteFooterCoreComponent.html +0 -5
  50. package/docs/components/EclSiteFooterFeedbackComponent.html +1 -1
  51. package/docs/components/EclSiteFooterFixedContentEUComponent.html +0 -10
  52. package/docs/components/EclSiteFooterRowCommonComponent.html +0 -5
  53. package/docs/components/EclSiteHeaderLanguagePopoverComponent.html +0 -30
  54. package/docs/components/EclSiteHeaderSearchComponent.html +0 -10
  55. package/docs/components/EclSocialMediaFollowComponent.html +0 -5
  56. package/docs/components/EclSocialMediaFollowItemComponent.html +1 -6
  57. package/docs/components/EclSplashPageLanguageLinkComponent.html +1 -1
  58. package/docs/components/EclStickyContainerComponent.html +2 -2
  59. package/docs/components/EclTagComponent.html +0 -5
  60. package/docs/components/EclTimelineItemComponent.html +0 -5
  61. package/docs/directives/ECLClickOutsideDirective.html +2 -2
  62. package/docs/directives/EclFileUploadDirective.html +0 -5
  63. package/docs/directives/EclGalleryMediaDirective.html +0 -5
  64. package/docs/directives/EclMediaContainerItemDirective.html +0 -5
  65. package/docs/directives/EclModalCloseDirective.html +6 -0
  66. package/docs/directives/EclMultiselectOptionDirective.html +0 -10
  67. package/docs/directives/EclSelectDirective.html +0 -5
  68. package/docs/directives/EclSiteHeaderCustomActionLinkDirective.html +1 -1
  69. package/docs/directives/EclTableHeaderDirective.html +1 -6
  70. package/docs/interfaces/EclGalleryItem.html +6 -6
  71. package/docs/interfaces/EclMenuItem.html +4 -4
  72. package/docs/js/search/search_index.js +2 -2
  73. package/docs/json/EclBreadcrumbComponent.md +1 -1
  74. package/docs/json/EclBreadcrumbSegmentComponent.md +1 -1
  75. package/docs/json/EclCategoryFilterItemComponent.md +1 -1
  76. package/docs/json/EclDateBlockComponent.md +2 -2
  77. package/docs/json/EclInpageNavigationItemComponent.md +2 -2
  78. package/docs/json/EclMegaMenuItemComponent.md +2 -2
  79. package/docs/json/EclMegaMenuSubitemComponent.md +2 -2
  80. package/docs/json/EclMenuItemComponent.md +2 -2
  81. package/docs/json/EclMenuMegaItemComponent.md +2 -2
  82. package/docs/json/EclModalCloseDirective.md +1 -1
  83. package/docs/json/EclMultiselectComponent.md +3 -3
  84. package/docs/json/EclMultiselectInputComponent.md +3 -3
  85. package/docs/json/EclPaginationItemComponent.md +2 -2
  86. package/docs/json/EclSearchFormComponent.md +2 -2
  87. package/docs/json/EclSelectContainerComponent.md +4 -4
  88. package/docs/json/EclSiteFooterCoownerComponent.md +1 -1
  89. package/docs/json/EclSiteFooterFeedbackComponent.md +1 -1
  90. package/docs/json/EclSocialMediaFollowItemComponent.md +1 -1
  91. package/docs/json/EclStickyContainerComponent.md +2 -2
  92. package/docs/json/EclTableHeaderDirective.md +1 -1
  93. package/docs/json/documentation.json +752 -813
  94. package/docs/llms.txt +150 -150
  95. package/docs/miscellaneous/functions.html +1 -5
  96. package/docs/properties.html +1 -1
  97. package/fesm2022/eui-ecl-components-ecl-banner.mjs +6 -5
  98. package/fesm2022/eui-ecl-components-ecl-banner.mjs.map +1 -1
  99. package/fesm2022/eui-ecl-components-ecl-blockquote.mjs +1 -1
  100. package/fesm2022/eui-ecl-components-ecl-blockquote.mjs.map +1 -1
  101. package/fesm2022/eui-ecl-components-ecl-breadcrumb.mjs +11 -6
  102. package/fesm2022/eui-ecl-components-ecl-breadcrumb.mjs.map +1 -1
  103. package/fesm2022/eui-ecl-components-ecl-category-filter.mjs +4 -3
  104. package/fesm2022/eui-ecl-components-ecl-category-filter.mjs.map +1 -1
  105. package/fesm2022/eui-ecl-components-ecl-date-block.mjs +7 -7
  106. package/fesm2022/eui-ecl-components-ecl-date-block.mjs.map +1 -1
  107. package/fesm2022/eui-ecl-components-ecl-expandable.mjs +2 -2
  108. package/fesm2022/eui-ecl-components-ecl-expandable.mjs.map +1 -1
  109. package/fesm2022/eui-ecl-components-ecl-featured.mjs +3 -2
  110. package/fesm2022/eui-ecl-components-ecl-featured.mjs.map +1 -1
  111. package/fesm2022/eui-ecl-components-ecl-file-upload.mjs +5 -5
  112. package/fesm2022/eui-ecl-components-ecl-file-upload.mjs.map +1 -1
  113. package/fesm2022/eui-ecl-components-ecl-gallery.mjs +23 -15
  114. package/fesm2022/eui-ecl-components-ecl-gallery.mjs.map +1 -1
  115. package/fesm2022/eui-ecl-components-ecl-icon.mjs +3 -3
  116. package/fesm2022/eui-ecl-components-ecl-icon.mjs.map +1 -1
  117. package/fesm2022/eui-ecl-components-ecl-inpage-navigation.mjs +13 -12
  118. package/fesm2022/eui-ecl-components-ecl-inpage-navigation.mjs.map +1 -1
  119. package/fesm2022/eui-ecl-components-ecl-media-container.mjs +7 -6
  120. package/fesm2022/eui-ecl-components-ecl-media-container.mjs.map +1 -1
  121. package/fesm2022/eui-ecl-components-ecl-mega-menu.mjs +26 -26
  122. package/fesm2022/eui-ecl-components-ecl-mega-menu.mjs.map +1 -1
  123. package/fesm2022/eui-ecl-components-ecl-menu.mjs +20 -23
  124. package/fesm2022/eui-ecl-components-ecl-menu.mjs.map +1 -1
  125. package/fesm2022/eui-ecl-components-ecl-modal.mjs +12 -8
  126. package/fesm2022/eui-ecl-components-ecl-modal.mjs.map +1 -1
  127. package/fesm2022/eui-ecl-components-ecl-multiselect.mjs +12 -12
  128. package/fesm2022/eui-ecl-components-ecl-multiselect.mjs.map +1 -1
  129. package/fesm2022/eui-ecl-components-ecl-news-ticker.mjs +13 -8
  130. package/fesm2022/eui-ecl-components-ecl-news-ticker.mjs.map +1 -1
  131. package/fesm2022/eui-ecl-components-ecl-notification.mjs +1 -1
  132. package/fesm2022/eui-ecl-components-ecl-notification.mjs.map +1 -1
  133. package/fesm2022/eui-ecl-components-ecl-pagination.mjs +13 -9
  134. package/fesm2022/eui-ecl-components-ecl-pagination.mjs.map +1 -1
  135. package/fesm2022/eui-ecl-components-ecl-popover.mjs +0 -1
  136. package/fesm2022/eui-ecl-components-ecl-popover.mjs.map +1 -1
  137. package/fesm2022/eui-ecl-components-ecl-quiz.mjs +4 -4
  138. package/fesm2022/eui-ecl-components-ecl-quiz.mjs.map +1 -1
  139. package/fesm2022/eui-ecl-components-ecl-radio.mjs +1 -1
  140. package/fesm2022/eui-ecl-components-ecl-radio.mjs.map +1 -1
  141. package/fesm2022/eui-ecl-components-ecl-range.mjs +2 -2
  142. package/fesm2022/eui-ecl-components-ecl-range.mjs.map +1 -1
  143. package/fesm2022/eui-ecl-components-ecl-rating-field.mjs.map +1 -1
  144. package/fesm2022/eui-ecl-components-ecl-search-form.mjs +4 -4
  145. package/fesm2022/eui-ecl-components-ecl-search-form.mjs.map +1 -1
  146. package/fesm2022/eui-ecl-components-ecl-select.mjs +2 -2
  147. package/fesm2022/eui-ecl-components-ecl-select.mjs.map +1 -1
  148. package/fesm2022/eui-ecl-components-ecl-site-footer.mjs +5 -5
  149. package/fesm2022/eui-ecl-components-ecl-site-footer.mjs.map +1 -1
  150. package/fesm2022/eui-ecl-components-ecl-site-header.mjs +40 -27
  151. package/fesm2022/eui-ecl-components-ecl-site-header.mjs.map +1 -1
  152. package/fesm2022/eui-ecl-components-ecl-slogan-ticker.mjs +2 -2
  153. package/fesm2022/eui-ecl-components-ecl-slogan-ticker.mjs.map +1 -1
  154. package/fesm2022/eui-ecl-components-ecl-social-media-follow.mjs +2 -2
  155. package/fesm2022/eui-ecl-components-ecl-social-media-follow.mjs.map +1 -1
  156. package/fesm2022/eui-ecl-components-ecl-splash-page.mjs.map +1 -1
  157. package/fesm2022/eui-ecl-components-ecl-spotlight.mjs +5 -3
  158. package/fesm2022/eui-ecl-components-ecl-spotlight.mjs.map +1 -1
  159. package/fesm2022/eui-ecl-components-ecl-sticky-container.mjs.map +1 -1
  160. package/fesm2022/eui-ecl-components-ecl-story-card.mjs +1 -1
  161. package/fesm2022/eui-ecl-components-ecl-story-card.mjs.map +1 -1
  162. package/fesm2022/eui-ecl-components-ecl-table.mjs +2 -2
  163. package/fesm2022/eui-ecl-components-ecl-table.mjs.map +1 -1
  164. package/fesm2022/eui-ecl-components-ecl-tabs.mjs +6 -4
  165. package/fesm2022/eui-ecl-components-ecl-tabs.mjs.map +1 -1
  166. package/fesm2022/eui-ecl-components-ecl-tag.mjs +2 -2
  167. package/fesm2022/eui-ecl-components-ecl-tag.mjs.map +1 -1
  168. package/fesm2022/eui-ecl-components-ecl-text-area.mjs +1 -1
  169. package/fesm2022/eui-ecl-components-ecl-text-area.mjs.map +1 -1
  170. package/fesm2022/eui-ecl-components-ecl-timeline.mjs +1 -1
  171. package/fesm2022/eui-ecl-components-ecl-timeline.mjs.map +1 -1
  172. package/fesm2022/eui-ecl-components-ecl-tooltip.mjs +1 -1
  173. package/fesm2022/eui-ecl-components-ecl-tooltip.mjs.map +1 -1
  174. package/fesm2022/eui-ecl-core.mjs +7 -3
  175. package/fesm2022/eui-ecl-core.mjs.map +1 -1
  176. package/package.json +1 -1
  177. package/types/eui-ecl-components-ecl-add-to-calendar.d.ts +4 -4
  178. package/types/eui-ecl-components-ecl-animated-numbers.d.ts +7 -7
  179. package/types/eui-ecl-components-ecl-app.d.ts +3 -3
  180. package/types/eui-ecl-components-ecl-banner.d.ts +9 -9
  181. package/types/eui-ecl-components-ecl-banner.d.ts.map +1 -1
  182. package/types/eui-ecl-components-ecl-blockquote.d.ts +2 -2
  183. package/types/eui-ecl-components-ecl-breadcrumb.d.ts +7 -7
  184. package/types/eui-ecl-components-ecl-breadcrumb.d.ts.map +1 -1
  185. package/types/eui-ecl-components-ecl-button.d.ts +1 -1
  186. package/types/eui-ecl-components-ecl-carousel.d.ts +5 -5
  187. package/types/eui-ecl-components-ecl-category-filter.d.ts +6 -6
  188. package/types/eui-ecl-components-ecl-checkbox.d.ts +1 -1
  189. package/types/eui-ecl-components-ecl-content-block.d.ts +1 -1
  190. package/types/eui-ecl-components-ecl-date-block.d.ts +8 -8
  191. package/types/eui-ecl-components-ecl-date-picker.d.ts +1 -1
  192. package/types/eui-ecl-components-ecl-expandable.d.ts +3 -3
  193. package/types/eui-ecl-components-ecl-fact-figures.d.ts +3 -3
  194. package/types/eui-ecl-components-ecl-featured.d.ts +7 -7
  195. package/types/eui-ecl-components-ecl-file-upload.d.ts +4 -4
  196. package/types/eui-ecl-components-ecl-file.d.ts +15 -15
  197. package/types/eui-ecl-components-ecl-gallery.d.ts +36 -36
  198. package/types/eui-ecl-components-ecl-gallery.d.ts.map +1 -1
  199. package/types/eui-ecl-components-ecl-icon.d.ts +9 -9
  200. package/types/eui-ecl-components-ecl-inpage-navigation.d.ts +15 -15
  201. package/types/eui-ecl-components-ecl-layout-wrapper.d.ts +1 -1
  202. package/types/eui-ecl-components-ecl-link.d.ts +2 -2
  203. package/types/eui-ecl-components-ecl-list-illustration.d.ts +3 -3
  204. package/types/eui-ecl-components-ecl-list.d.ts +2 -2
  205. package/types/eui-ecl-components-ecl-media-container.d.ts +10 -10
  206. package/types/eui-ecl-components-ecl-media-container.d.ts.map +1 -1
  207. package/types/eui-ecl-components-ecl-mega-menu.d.ts +36 -36
  208. package/types/eui-ecl-components-ecl-mega-menu.d.ts.map +1 -1
  209. package/types/eui-ecl-components-ecl-menu.d.ts +36 -42
  210. package/types/eui-ecl-components-ecl-menu.d.ts.map +1 -1
  211. package/types/eui-ecl-components-ecl-modal.d.ts +9 -8
  212. package/types/eui-ecl-components-ecl-modal.d.ts.map +1 -1
  213. package/types/eui-ecl-components-ecl-multiselect.d.ts +21 -21
  214. package/types/eui-ecl-components-ecl-news-ticker.d.ts +10 -10
  215. package/types/eui-ecl-components-ecl-news-ticker.d.ts.map +1 -1
  216. package/types/eui-ecl-components-ecl-notification.d.ts +2 -2
  217. package/types/eui-ecl-components-ecl-page-header.d.ts +2 -2
  218. package/types/eui-ecl-components-ecl-page-summary.d.ts +2 -2
  219. package/types/eui-ecl-components-ecl-pagination.d.ts +12 -11
  220. package/types/eui-ecl-components-ecl-pagination.d.ts.map +1 -1
  221. package/types/eui-ecl-components-ecl-popover.d.ts +3 -3
  222. package/types/eui-ecl-components-ecl-quiz.d.ts +3 -3
  223. package/types/eui-ecl-components-ecl-radio.d.ts +2 -2
  224. package/types/eui-ecl-components-ecl-range.d.ts +3 -3
  225. package/types/eui-ecl-components-ecl-rating-field.d.ts +2 -2
  226. package/types/eui-ecl-components-ecl-search-form.d.ts +4 -4
  227. package/types/eui-ecl-components-ecl-select.d.ts +5 -5
  228. package/types/eui-ecl-components-ecl-site-footer.d.ts +7 -7
  229. package/types/eui-ecl-components-ecl-site-header.d.ts +32 -32
  230. package/types/eui-ecl-components-ecl-site-header.d.ts.map +1 -1
  231. package/types/eui-ecl-components-ecl-slogan-ticker.d.ts +4 -4
  232. package/types/eui-ecl-components-ecl-social-media-follow.d.ts +5 -5
  233. package/types/eui-ecl-components-ecl-splash-page.d.ts +4 -4
  234. package/types/eui-ecl-components-ecl-spotlight.d.ts +2 -2
  235. package/types/eui-ecl-components-ecl-sticky-container.d.ts +2 -2
  236. package/types/eui-ecl-components-ecl-story-card.d.ts +2 -2
  237. package/types/eui-ecl-components-ecl-table.d.ts +13 -13
  238. package/types/eui-ecl-components-ecl-tabs.d.ts +4 -4
  239. package/types/eui-ecl-components-ecl-tabs.d.ts.map +1 -1
  240. package/types/eui-ecl-components-ecl-tag.d.ts +1 -1
  241. package/types/eui-ecl-components-ecl-text-input.d.ts +1 -1
  242. package/types/eui-ecl-components-ecl-timeline.d.ts +1 -1
  243. package/types/eui-ecl-core.d.ts +7 -7
  244. package/types/eui-ecl-core.d.ts.map +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"eui-ecl-components-ecl-story-card.mjs","names":[],"sources":["../../components/ecl-story-card/ecl-story-card-directives.ts","../../components/ecl-story-card/ecl-story-card-item/ecl-story-card-item.component.ts","../../components/ecl-story-card/ecl-story-card-item/ecl-story-card-item.component.html","../../components/ecl-story-card/ecl-story-card-grid-details/ecl-story-card-grid-details.component.ts","../../components/ecl-story-card/ecl-story-card-grid-details/ecl-story-card-grid-details.component.html","../../components/ecl-story-card/ecl-story-card.component.ts","../../components/ecl-story-card/ecl-story-card.component.html","../../components/ecl-story-card/index.ts"],"sourcesContent":["import { Directive } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Directive applied to the <ul> element that holds the story card items.\n * Adds the grid container class and tablist role.\n */\n@Directive({\n selector: 'ul[eclStoryCardList]',\n host: {\n role: 'tablist',\n '[class]': 'getCssClasses(\"ecl-story-card__grid-container\")',\n },\n})\nexport class EclStoryCardListDirective extends ECLBaseDirective {}\n\n/**\n * Directive applied to <picture> elements inside a story card item.\n * Adds the ECL picture classes.\n */\n@Directive({\n selector: 'picture[eclStoryCardPicture]',\n host: {\n '[class]': 'getCssClasses(\"ecl-picture ecl-story-card__picture\")',\n },\n})\nexport class EclStoryCardPictureDirective extends ECLBaseDirective {}\n\n/**\n * Directive applied to <a> elements inside story card grid details.\n * Adds the ECL link classes for the \"Read more\" link.\n */\n@Directive({\n selector: '[eclStoryCardLink]',\n host: {\n '[class]': 'getCssClasses(\"ecl-link ecl-link--standalone ecl-link--icon ecl-story-card__link\")',\n },\n})\nexport class EclStoryCardLinkDirective extends ECLBaseDirective {}\n","import {\n ChangeDetectionStrategy,\n Component,\n computed,\n contentChild,\n ElementRef,\n input,\n output,\n signal,\n viewChild,\n} from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclStoryCardPictureDirective } from '../ecl-story-card-directives';\n\n/**\n * Individual grid item (tab role) within the ECL Story Card desktop accordion.\n * Applied to `<li>` elements inside `ul[eclStoryCardList]`.\n * Renders the accordion tab button with the loading bar animation.\n * For the mobile carousel, the parent `EclStoryCardComponent` clones the projected\n * `picture[eclStoryCardPicture]` into the carousel slide via `pictureRef`.\n *\n * - Selector: `li[eclStoryCardItem]`.\n * - `gridTitle` is the short label shown in the tab button.\n * - `isExpanded`, `isAutoPlaying`, `index`, `tabId`, and `panelId` are writable signals\n * set by the parent `EclStoryCardComponent` during grid setup.\n * - Emits `itemClick` (with item index) when the tab button is clicked.\n * - Emits `loadingBarAnimationEnd` when the autoplay loading bar animation finishes.\n */\n@Component({\n selector: 'li[eclStoryCardItem]',\n templateUrl: './ecl-story-card-item.component.html',\n host: {\n role: 'presentation',\n '[class]': 'cssClasses()',\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EclStoryCardItemComponent extends ECLBaseDirective {\n\n /** Short title displayed in the accordion tab button. */\n readonly gridTitle = input<string>('');\n\n /** Whether this item is currently expanded/selected. Set by the parent `EclStoryCardComponent`. */\n readonly isExpanded = signal(false);\n\n /** Whether autoplay is active for this item (controls the loading bar animation). Set by parent. */\n readonly isAutoPlaying = signal(false);\n\n /** Zero-based index of this item in the list. Set by parent. */\n readonly index = signal(0);\n\n /** Generated ID for the tab button element. Set by parent. */\n readonly tabId = signal('');\n\n /** ID of the controlled `tabpanel` (`eclStoryCardGridDetails`). Set by parent. */\n readonly panelId = signal('');\n\n /** Emitted when the tab button is clicked; payload is this item's index. */\n readonly itemClick = output<number>();\n\n /** Emitted when the loading bar CSS animation ends, signalling to advance to the next item. */\n readonly loadingBarAnimationEnd = output<void>();\n\n /**\n * Emitted when a keydown occurs on the tab button. The parent story card\n * orchestrates keyboard navigation (arrows, Home, End) across all items.\n */\n readonly keydownTab = output<KeyboardEvent>();\n\n /** Reference to the projected `picture[eclStoryCardPicture]` element for cloning into the mobile carousel. */\n readonly pictureRef = contentChild(EclStoryCardPictureDirective, { read: ElementRef });\n\n private readonly buttonRef = viewChild<ElementRef<HTMLButtonElement>>('tabButton');\n\n readonly cssClasses = computed(() => [\n super.getCssClasses('ecl-story-card__grid-item'),\n this.isExpanded() ? 'ecl-story-card__grid-item--expanded' : '',\n ].join(' ').trim());\n\n /** Move focus to this item's tab button. Called by the parent during keyboard navigation. */\n focusButton(): void {\n this.buttonRef()?.nativeElement.focus();\n }\n\n protected onButtonClick(): void {\n this.itemClick.emit(this.index());\n }\n\n protected onAnimationEnd(): void {\n this.loadingBarAnimationEnd.emit();\n }\n\n protected onKeydown(event: KeyboardEvent): void {\n this.keydownTab.emit(event);\n }\n}\n","<button class=\"ecl-story-card__grid-card\"\n #tabButton\n type=\"button\"\n [attr.id]=\"tabId()\"\n role=\"tab\"\n [attr.aria-selected]=\"isExpanded()\"\n [attr.aria-controls]=\"panelId()\"\n [attr.tabindex]=\"isExpanded() ? 0 : -1\"\n (click)=\"onButtonClick()\"\n (keydown)=\"onKeydown($event)\">\n <div class=\"ecl-story-card__grid-image\">\n <ng-content select=\"picture[eclStoryCardPicture]\"></ng-content>\n <div class=\"ecl-story-card__grid-loading-bar\">\n <div class=\"ecl-story-card__grid-loading-bar-completion\"\n [class.is-paused]=\"!isExpanded() || !isAutoPlaying()\"\n (animationend)=\"onAnimationEnd()\">\n </div>\n </div>\n </div>\n <div class=\"ecl-story-card__grid-title-wrapper\">\n @if (gridTitle()) {\n <div class=\"ecl-story-card__grid-title\">{{ gridTitle() }}</div>\n }\n </div>\n</button>\n","import {\n ChangeDetectionStrategy,\n Component,\n contentChild,\n effect,\n ElementRef,\n input,\n signal,\n} from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclStoryCardLinkDirective } from '../ecl-story-card-directives';\n\n/**\n * Details panel sub-component (`tabpanel` role) within the ECL Story Card grid accordion.\n * Renders the expanded content for a selected story or testimonial item:\n * title, description, and an optional projected read-more link.\n * For the `'testimonial'` variant, additional `author`, `role`, and `source` inputs are shown.\n *\n * - Selector: `[eclStoryCardGridDetails]`.\n * - `isActive`, `isTestimonial`, `index`, `panelId`, and `tabId` are writable signals\n * set by the parent `EclStoryCardComponent` during grid setup.\n * - `linkRef` is a `contentChild` query used by the parent to clone the link into the mobile carousel.\n */\n@Component({\n selector: '[eclStoryCardGridDetails]',\n templateUrl: './ecl-story-card-grid-details.component.html',\n host: {\n '[class]': 'getCssClasses(\"ecl-story-card__grid-details\")',\n '[attr.id]': 'panelId()',\n '[attr.role]': '\"tabpanel\"',\n '[attr.aria-labelledby]': 'tabId()',\n '[attr.tabindex]': 'isActive() ? 0 : -1',\n '[hidden]': '!isActive()',\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EclStoryCardGridDetailsComponent extends ECLBaseDirective {\n\n /** Optional teaser label shown above the title. Hidden by CSS in the testimonial variant. */\n readonly teaserLabel = input<string>('');\n\n /** Title shown in the details panel. */\n readonly eclTitle = input<string>('');\n\n /** Description shown in the details panel. */\n readonly description = input<string>('');\n\n /** Author name for the testimonial variant. */\n readonly author = input<string>('');\n\n /** Author role/position for the testimonial variant. */\n readonly role = input<string>('');\n\n /** Publication source for the testimonial variant. */\n readonly source = input<string>('');\n\n /** Whether this panel is currently visible. Set by the parent `EclStoryCardComponent`. */\n readonly isActive = signal(false);\n\n /** Whether the parent story card is in the `'testimonial'` variant. Set by parent. */\n readonly isTestimonial = signal(false);\n\n /** Zero-based index of this panel. Set by parent. */\n readonly index = signal(0);\n\n /** Generated panel `id`. Set by parent. */\n readonly panelId = signal('');\n\n /** `id` of the controlling tab button. Set by parent. */\n readonly tabId = signal('');\n\n /** Reference to the projected `[eclStoryCardLink]` element for cloning into the mobile carousel. */\n readonly linkRef = contentChild(EclStoryCardLinkDirective, { read: ElementRef });\n\n constructor() {\n super();\n\n // Associate the \"Read more\" link with its corresponding tab so assistive\n // technologies announce the tab label as context for the link.\n // Set before the parent clones the link into the carousel slide.\n effect(() => {\n const link = this.linkRef();\n const tabId = this.tabId();\n if (link && tabId) {\n link.nativeElement.setAttribute('aria-describedby', tabId);\n }\n });\n }\n}\n","<article class=\"ecl-story-card__grid-details-content\">\n <div class=\"ecl-story-card__content\">\n @if (isTestimonial()) {\n <div class=\"ecl-story-card__content-icon\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"22\" height=\"45\" viewBox=\"0 0 22 45\" fill=\"none\">\n <path d=\"M0 0H22V23.3143L0 44.5714V0Z\" fill=\"currentColor\"/>\n </svg>\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"22\" height=\"45\" viewBox=\"0 0 22 45\" fill=\"none\">\n <path d=\"M0 0H22V23.3143L0 44.5714V0Z\" fill=\"currentColor\"/>\n </svg>\n </div>\n }\n @if (teaserLabel()) {\n <div class=\"ecl-story-card__teaser-label\">{{ teaserLabel() }}</div>\n }\n @if (eclTitle()) {\n <div class=\"ecl-story-card__card-title\">{{ eclTitle() }}</div>\n }\n @if (author() || role() || source()) {\n <div class=\"ecl-story-card__testimonial\">\n @if (author()) {\n <span class=\"ecl-story-card__author\">{{ author() }}</span>\n }\n @if (role()) {\n <span class=\"ecl-story-card__role\">{{ role() }}</span>\n }\n @if (source()) {\n <cite class=\"ecl-story-card__source\">{{ source() }}</cite>\n }\n </div>\n }\n @if (description()) {\n <div class=\"ecl-story-card__card-description\">{{ description() }}</div>\n }\n <ng-content select=\"[eclStoryCardLink]\"></ng-content>\n </div>\n</article>\n","import {\n afterNextRender,\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n computed,\n contentChildren,\n effect,\n ElementRef,\n inject,\n input,\n OnDestroy,\n output,\n signal,\n untracked,\n viewChild,\n viewChildren,\n} from '@angular/core';\nimport { EUI_ECL_SLIDER } from '@eui/ecl/components/ecl-slider';\nimport { ECLBaseDirective, EclRtlService, KeyCode } from '@eui/ecl/core';\nimport { TranslatePipe, TranslateService } from '@ngx-translate/core';\nimport { EmblaCarouselDirective } from 'embla-carousel-angular';\nimport { Subject, takeUntil } from 'rxjs';\nimport { outputToObservable, toSignal } from '@angular/core/rxjs-interop';\n\nimport { EclStoryCardItemComponent } from './ecl-story-card-item/ecl-story-card-item.component';\nimport { EclStoryCardGridDetailsComponent } from './ecl-story-card-grid-details/ecl-story-card-grid-details.component';\nimport { EmblaCarouselType, EmblaEventType } from 'embla-carousel';\n\nexport interface EclStoryCardSelectionEvent {\n index: number;\n}\n\n/**\n * ECL Story Card component that presents a collection of stories or testimonials in a\n * desktop grid-accordion with autoplay and a mobile Embla carousel.\n * On desktop, projected `li[eclStoryCardItem]` items form a tab/tabpanel accordion;\n * on mobile the same items are cloned into a carousel automatically.\n *\n * - Selector: `section[eclStoryCard]`.\n * - `variant`: `'story'` (default) or `'testimonial'`.\n * - `isAutoplay` enables auto-advancing through grid items. `autoplayDelay` sets the interval (ms, default 10000).\n * - All internal IDs derive from `eclId` (alias `id`); a UUID is generated when omitted.\n * - Emits `selectionChange` whenever the active grid item changes.\n * - Structural composition: `ul[eclStoryCardList]` > `li[eclStoryCardItem]` + `[eclStoryCardGridDetails]`\n * with `picture[eclStoryCardPicture]` and `[eclStoryCardLink]` projected inside each.\n */\n@Component({\n selector: 'section[eclStoryCard]',\n templateUrl: './ecl-story-card.component.html',\n host: {\n '[id]': 'componentId()',\n '[class]': 'cssClasses()',\n '[style.--ecl-story-card-slide-duration]': 'slideDuration()',\n },\n imports: [\n TranslatePipe,\n ...EUI_ECL_SLIDER,\n EmblaCarouselDirective,\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EclStoryCardComponent extends ECLBaseDirective implements OnDestroy {\n\n /** Title displayed in the story card header. */\n readonly eclTitle = input<string>('');\n\n /** Description text displayed below the title. */\n readonly eclDescription = input<string>('');\n\n /** Variant of the story card: `'story'` (default) or `'testimonial'`. */\n readonly variant = input<'story' | 'testimonial'>('story');\n\n /** When `true`, enables autoplay for the desktop grid accordion. */\n readonly isAutoplay = input(false, { transform: booleanAttribute });\n\n /** Autoplay slide duration in milliseconds. Default: `10000`. */\n readonly autoplayDelay = input<number>(10000);\n\n /** HTML `id` for the component; all internal IDs derive from it. Auto-generated when omitted. */\n readonly eclId = input<string>('', { alias: 'id' });\n\n /** Emitted when the active grid item index changes. Payload: `{ index: number }`. */\n readonly selectionChange = output<EclStoryCardSelectionEvent>();\n\n private readonly eclRtlService = inject(EclRtlService);\n private readonly translate = inject(TranslateService);\n\n private readonly generatedId = `story-card-${crypto.randomUUID().slice(0, 8)}`;\n protected readonly componentId = computed(() => this.eclId() || this.generatedId);\n\n /** Current RTL state, derived reactively from the RTL service. */\n private readonly isRtl = toSignal(this.eclRtlService.currentRtlState$, { initialValue: false });\n\n /** Embla carousel options. Direction tracks the RTL state reactively. */\n protected readonly emblaOptions = computed<{ loop: boolean; direction: 'ltr' | 'rtl' }>(() => ({\n loop: true,\n direction: this.isRtl() ? 'rtl' : 'ltr',\n }));\n\n /** Subscribed Embla events. */\n protected readonly subscribeToEvents: EmblaEventType[] = ['select', 'init', 'reInit'];\n\n /** Current carousel snap index. */\n protected readonly activeSlideIndex = signal(0);\n\n /** Total number of items. */\n protected readonly totalSlides = computed(() => this.items().length);\n\n /** Previous button disabled state (carousel). */\n protected readonly prevDisabled = signal(false);\n\n /** Next button disabled state (carousel). */\n protected readonly nextDisabled = signal(false);\n\n /** Currently expanded grid item index. */\n protected readonly expandedIndex = signal(0);\n\n /** Whether grid autoplay is currently playing. */\n protected readonly isAutoPlaying = signal(false);\n\n protected readonly items = contentChildren(EclStoryCardItemComponent, { descendants: true });\n\n protected readonly detailsPanels = contentChildren(EclStoryCardGridDetailsComponent, { descendants: true });\n\n private readonly emblaRef = viewChild(EmblaCarouselDirective);\n private readonly carouselImageWrappers = viewChildren<ElementRef>('carouselImageWrapper');\n private readonly carouselContentWrappers = viewChildren<ElementRef>('carouselContentWrapper');\n\n private readonly setupTeardown$ = new Subject<void>();\n private emblaApi: EmblaCarouselType | undefined;\n\n constructor() {\n super();\n afterNextRender(() => {\n setTimeout(() => this.clonePicturesToCarousel());\n });\n\n effect(() => {\n const itemsArray = this.items();\n const detailsArray = this.detailsPanels();\n\n untracked(() => {\n this.setupGrid(itemsArray, detailsArray);\n });\n });\n }\n\n readonly cssClasses = computed(() => [\n super.getCssClasses('ecl-story-card'),\n this.eclDescription() ? 'ecl-story-card--has-description' : '',\n this.variant() === 'testimonial' ? 'ecl-story-card--testimonial' : '',\n ].join(' ').trim());\n\n readonly slideDuration = computed(() => `${this.autoplayDelay()}ms`);\n\n ngOnDestroy(): void {\n this.setupTeardown$.next();\n this.setupTeardown$.complete();\n }\n\n /**\n * Configures the grid accordion: assigns IDs, indices, and initial state\n * to each item and details panel, subscribes to item interaction events,\n * and starts autoplay if enabled.\n */\n private setupGrid(\n itemsArray: readonly EclStoryCardItemComponent[],\n detailsArray: readonly EclStoryCardGridDetailsComponent[],\n ): void {\n this.setupTeardown$.next();\n const id = this.componentId();\n\n itemsArray.forEach((item, i) => {\n item.index.set(i);\n item.tabId.set(`${id}-tab-${i}`);\n item.panelId.set(`${id}-details-${i}`);\n item.isExpanded.set(i === this.expandedIndex());\n item.isAutoPlaying.set(this.isAutoPlaying());\n\n outputToObservable(item.itemClick).pipe(\n takeUntil(this.setupTeardown$),\n ).subscribe((index: number) => this.onGridItemClick(index));\n\n outputToObservable(item.loadingBarAnimationEnd).pipe(\n takeUntil(this.setupTeardown$),\n ).subscribe(() => this.onLoadingBarAnimationEnd());\n\n outputToObservable(item.keydownTab).pipe(\n takeUntil(this.setupTeardown$),\n ).subscribe((event: KeyboardEvent) => this.onGridItemKeydown(event, i));\n });\n\n detailsArray.forEach((panel, i) => {\n panel.index.set(i);\n panel.panelId.set(`${id}-details-${i}`);\n panel.tabId.set(`${id}-tab-${i}`);\n panel.isActive.set(i === this.expandedIndex());\n panel.isTestimonial.set(this.variant() === 'testimonial');\n });\n\n if (this.isAutoplay()) {\n this.playAutoplay();\n }\n }\n\n /** Set the expanded grid item by index. */\n private setGridItem(index: number): void {\n const itemsArray = this.items();\n const detailsArray = this.detailsPanels();\n if (itemsArray.length === 0) return;\n\n const nextIndex = ((index % itemsArray.length) + itemsArray.length) % itemsArray.length;\n\n itemsArray.forEach((item, i) => {\n item.isExpanded.set(i === nextIndex);\n item.isAutoPlaying.set(this.isAutoPlaying());\n });\n\n detailsArray.forEach((panel, i) => {\n panel.isActive.set(i === nextIndex);\n });\n\n this.expandedIndex.set(nextIndex);\n this.selectionChange.emit({ index: nextIndex });\n }\n\n /** Handle click on a grid item button. */\n private onGridItemClick(index: number): void {\n const itemsArray = this.items();\n const isCurrentlyExpanded = itemsArray[index]?.isExpanded();\n\n if (isCurrentlyExpanded && !this.isAutoPlaying()) {\n this.playAutoplay();\n } else {\n this.pauseAutoplay();\n }\n\n this.setGridItem(index);\n }\n\n /** Go to the previous grid item. */\n protected onGridPrevClick(): void {\n this.setGridItem(this.expandedIndex() - 1);\n }\n\n /** Go to the next grid item. */\n protected onGridNextClick(): void {\n this.setGridItem(this.expandedIndex() + 1);\n }\n\n /**\n * Orchestrates keyboard navigation across the grid tablist (WAI-ARIA tabs\n * pattern). Moves focus only; selection still happens on click/Enter.\n *\n * - ArrowRight: focus the next tab, wrapping to the first.\n * - ArrowLeft: focus the previous tab, wrapping to the last.\n * - Home: focus the first tab.\n * - End: focus the last tab.\n *\n * @param event the originating keydown from the focused item's button\n * @param index the index of the item that emitted the event\n */\n private onGridItemKeydown(event: KeyboardEvent, index: number): void {\n const itemsArray = this.items();\n const count = itemsArray.length;\n if (count === 0) {\n return;\n }\n\n let targetIndex: number | null = null;\n\n switch (event.key) {\n case KeyCode.ARROW_RIGHT:\n targetIndex = (index + 1) % count;\n break;\n case KeyCode.ARROW_LEFT:\n targetIndex = (index - 1 + count) % count;\n break;\n case KeyCode.HOME:\n targetIndex = 0;\n break;\n case KeyCode.END:\n targetIndex = count - 1;\n break;\n default:\n return;\n }\n\n event.preventDefault();\n itemsArray[targetIndex]?.focusButton();\n }\n\n /** Handle animation end on the loading bar (advance to next). */\n private onLoadingBarAnimationEnd(): void {\n if (this.isAutoPlaying()) {\n this.setGridItem(this.expandedIndex() + 1);\n }\n }\n\n /** Start autoplay. */\n protected playAutoplay(): void {\n if (this.items().length < 2) return;\n this.isAutoPlaying.set(true);\n this.items().forEach(item => item.isAutoPlaying.set(true));\n }\n\n protected pauseAutoplay(): void {\n this.isAutoPlaying.set(false);\n this.items().forEach(item => item.isAutoPlaying.set(false));\n }\n\n /** Play button click. */\n protected onPlayClick(): void {\n this.playAutoplay();\n }\n\n /** Pause button click. */\n protected onPauseClick(): void {\n this.pauseAutoplay();\n }\n\n /** Clone each item's projected picture and link into the corresponding carousel slide. */\n private clonePicturesToCarousel(): void {\n const imageWrappers = this.carouselImageWrappers();\n const contentWrappers = this.carouselContentWrappers();\n const itemsArray = this.items();\n const detailsArray = this.detailsPanels();\n\n itemsArray.forEach((item, i) => {\n const pictureEl = item.pictureRef();\n if (pictureEl && imageWrappers[i]) {\n const clone = pictureEl.nativeElement.cloneNode(true) as HTMLElement;\n imageWrappers[i].nativeElement.appendChild(clone);\n }\n });\n\n detailsArray.forEach((panel, i) => {\n const linkEl = panel.linkRef();\n if (linkEl && contentWrappers[i]) {\n const clone = linkEl.nativeElement.cloneNode(true) as HTMLElement;\n contentWrappers[i].nativeElement.appendChild(clone);\n }\n });\n }\n\n protected onEmblaChange(eventName: string): void {\n if (!this.emblaApi) {\n this.emblaApi = this.emblaRef()?.emblaApi;\n }\n if (!this.emblaApi) return;\n\n if (eventName === 'select' || eventName === 'init' || eventName === 'reInit') {\n this.syncCarouselState();\n }\n }\n\n /** Sync carousel state from Embla API. */\n private syncCarouselState(): void {\n if (!this.emblaApi) return;\n\n this.activeSlideIndex.set(this.emblaApi.selectedScrollSnap());\n this.prevDisabled.set(!this.emblaApi.canScrollPrev());\n this.nextDisabled.set(!this.emblaApi.canScrollNext());\n }\n\n /** Navigate carousel to previous slide. */\n protected onCarouselPrevClick(): void {\n this.emblaRef()?.scrollPrev();\n }\n\n /** Navigate carousel to next slide. */\n protected onCarouselNextClick(): void {\n this.emblaRef()?.scrollNext();\n }\n\n /** Navigate carousel to a specific slide. */\n protected goToSlide(index: number): void {\n this.emblaRef()?.scrollTo(index);\n }\n\n /** Returns dot indices for rendering. */\n protected getDotIndices(): number[] {\n return Array.from({ length: this.totalSlides() }, (_, i) => i);\n }\n\n /**\n * Pre-translated accessible label for each carousel dot, passed to the shared\n * slider pager. Translated here since the pager receives plain strings.\n */\n protected readonly dotAriaLabels = computed<string[]>(() => {\n const total = this.totalSlides();\n return Array.from({ length: total }, (_unused, dotIndex) =>\n this.translate.instant('ecl.story-card.GO-TO-SLIDE', {\n current: dotIndex + 1,\n total,\n }),\n );\n });\n}\n","@if (eclTitle() || eclDescription()) {\n<div class=\"ecl-story-card__header\">\n @if (eclTitle()) {\n <div class=\"ecl-story-card__title\">{{ eclTitle() }}</div>\n }\n @if (eclDescription()) {\n <div class=\"ecl-story-card__description\">{{ eclDescription() }}</div>\n }\n</div>\n}\n\n<!-- Mobile: Embla Carousel (auto-generated from items + details) -->\n<div class=\"ecl-story-card__carousel\">\n <div class=\"ecl-story-card__carousel-viewport\"\n role=\"region\"\n [attr.aria-label]=\"'ecl.story-card.SLIDER-LABEL' | translate\"\n emblaCarousel\n [options]=\"emblaOptions()\"\n [subscribeToEvents]=\"subscribeToEvents\"\n (emblaChange)=\"onEmblaChange($event)\">\n <ul class=\"ecl-story-card__carousel-container\">\n @for (item of items(); track i; let i = $index) {\n <li class=\"ecl-story-card__carousel-slide\"\n [attr.aria-hidden]=\"i !== activeSlideIndex() ? true : null\">\n <article class=\"ecl-story-card__card\">\n <div class=\"ecl-story-card__image-wrapper\" #carouselImageWrapper>\n </div>\n <div class=\"ecl-story-card__content\" #carouselContentWrapper>\n @if (detailsPanels()[i]; as panel) {\n @if (panel.teaserLabel()) {\n <div class=\"ecl-story-card__teaser-label\">{{ panel.teaserLabel() }}</div>\n }\n @if (panel.eclTitle()) {\n <div class=\"ecl-story-card__card-title\">{{ panel.eclTitle() }}</div>\n }\n @if (panel.description()) {\n <div class=\"ecl-story-card__card-description\">{{ panel.description() }}</div>\n }\n }\n </div>\n </article>\n </li>\n }\n </ul>\n </div>\n\n <!-- Carousel Controls -->\n @if (totalSlides() > 1) {\n <ecl-slider-pager\n class=\"ecl-story-card__pager\"\n variant=\"dots\"\n size=\"s\"\n prevExtraClasses=\"ecl-story-card__prev\"\n nextExtraClasses=\"ecl-story-card__next\"\n dotsExtraClasses=\"ecl-story-card__dots\"\n dotExtraClasses=\"ecl-story-card__dot\"\n [activeIndex]=\"activeSlideIndex()\"\n [isPrevDisabled]=\"prevDisabled()\"\n [isNextDisabled]=\"nextDisabled()\"\n [dotIndices]=\"getDotIndices()\"\n [dotAriaLabels]=\"dotAriaLabels()\"\n (prev)=\"onCarouselPrevClick()\"\n (next)=\"onCarouselNextClick()\"\n (goTo)=\"goToSlide($event)\">\n </ecl-slider-pager>\n }\n</div>\n\n<!-- Desktop: Grid with Accordion (user-authored content projected here) -->\n<div class=\"ecl-story-card__grid\">\n <!-- Grid Controls -->\n @if (totalSlides() > 1) {\n <ecl-slider-pager\n class=\"ecl-story-card__grid-controls\"\n variant=\"play-pause\"\n size=\"l\"\n [isPlaying]=\"isAutoPlaying()\"\n prevExtraClasses=\"ecl-story-card__grid-prev\"\n nextExtraClasses=\"ecl-story-card__grid-next\"\n playExtraClasses=\"ecl-story-card__grid-play\"\n pauseExtraClasses=\"ecl-story-card__grid-pause\"\n (prev)=\"onGridPrevClick()\"\n (next)=\"onGridNextClick()\"\n (play)=\"onPlayClick()\"\n (pause)=\"onPauseClick()\">\n </ecl-slider-pager>\n }\n\n <ng-content select=\"ul[eclStoryCardList]\"></ng-content>\n <ng-content select=\"[eclStoryCardGridDetails]\"></ng-content>\n</div>\n","import { EclStoryCardComponent } from './ecl-story-card.component';\nimport { EclStoryCardItemComponent } from './ecl-story-card-item/ecl-story-card-item.component';\nimport { EclStoryCardGridDetailsComponent } from './ecl-story-card-grid-details/ecl-story-card-grid-details.component';\nimport {\n EclStoryCardListDirective,\n EclStoryCardPictureDirective,\n EclStoryCardLinkDirective,\n} from './ecl-story-card-directives';\n\nexport * from './ecl-story-card.component';\nexport * from './ecl-story-card-item/ecl-story-card-item.component';\nexport * from './ecl-story-card-grid-details/ecl-story-card-grid-details.component';\nexport * from './ecl-story-card-directives';\n\nexport const EUI_ECL_STORY_CARD = [\n EclStoryCardComponent,\n EclStoryCardItemComponent,\n EclStoryCardGridDetailsComponent,\n EclStoryCardListDirective,\n EclStoryCardPictureDirective,\n EclStoryCardLinkDirective,\n] as const;\n"],"mappings":";;;;;;;;;AAcA,IAAa,4BAAb,MAAa,kCAAkC,iBAAgB;CAAlD;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAyB,MAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAAzB;EAAA,KAAA,OAAA,GAAA,qBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,MAAA;GAAyB,cAAA;GAAA,UAAA;GAAA,MAAA;IAAA,YAAA,EAAA,QAAA,UAAA;IAAA,YAAA,EAAA,SAAA,oDAAA;GAAA;GAAA,iBAAA;GAAA,UAAA;EAAA,CAAA;CAAA;;AAAzB,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAyB,YAAA,CAAA;EAPrC,MAAA;EAAU,MAAA,CAAA;GACP,UAAU;GACV,MAAM;IACF,MAAM;IACN,WAAW;GACd;EACJ,CAAA;;;AAaD,IAAa,+BAAb,MAAa,qCAAqC,iBAAgB;CAArD;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAA4B,MAAA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AAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,iBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,iBAAA;EAAA,CAAA;EAAA,OAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,GAAA,iBAAA,yBAAyB,GAAA;IAAI,aAAa;IAAM,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,eAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,GAAA,iBAExC,gCAAgC,GAAA;IAAI,aAAa;IAAM,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,UAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,GAAA,iBAEpE,sBAAsB,GAAA,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,uBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CACM,wBAAsB,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,yBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CACpB,0BAAwB,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;CAAA;AAAA,CAAA;AEjHhG,MAAa,qBAAqB;CAC9B;CACA;CACA;CACA;CACA;CACA;AACM"}
1
+ {"version":3,"file":"eui-ecl-components-ecl-story-card.mjs","names":[],"sources":["../../components/ecl-story-card/ecl-story-card-directives.ts","../../components/ecl-story-card/ecl-story-card-item/ecl-story-card-item.component.ts","../../components/ecl-story-card/ecl-story-card-item/ecl-story-card-item.component.html","../../components/ecl-story-card/ecl-story-card-grid-details/ecl-story-card-grid-details.component.ts","../../components/ecl-story-card/ecl-story-card-grid-details/ecl-story-card-grid-details.component.html","../../components/ecl-story-card/ecl-story-card.component.ts","../../components/ecl-story-card/ecl-story-card.component.html","../../components/ecl-story-card/index.ts"],"sourcesContent":["import { Directive } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Directive applied to the <ul> element that holds the story card items.\n * Adds the grid container class and tablist role.\n */\n@Directive({\n selector: 'ul[eclStoryCardList]',\n host: {\n role: 'tablist',\n '[class]': 'getCssClasses(\"ecl-story-card__grid-container\")',\n },\n})\nexport class EclStoryCardListDirective extends ECLBaseDirective {}\n\n/**\n * Directive applied to <picture> elements inside a story card item.\n * Adds the ECL picture classes.\n */\n@Directive({\n selector: 'picture[eclStoryCardPicture]',\n host: {\n '[class]': 'getCssClasses(\"ecl-picture ecl-story-card__picture\")',\n },\n})\nexport class EclStoryCardPictureDirective extends ECLBaseDirective {}\n\n/**\n * Directive applied to <a> elements inside story card grid details.\n * Adds the ECL link classes for the \"Read more\" link.\n */\n@Directive({\n selector: '[eclStoryCardLink]',\n host: {\n '[class]': 'getCssClasses(\"ecl-link ecl-link--standalone ecl-link--icon ecl-story-card__link\")',\n },\n})\nexport class EclStoryCardLinkDirective extends ECLBaseDirective {}\n","import {\n ChangeDetectionStrategy,\n Component,\n computed,\n contentChild,\n ElementRef,\n input,\n output,\n signal,\n viewChild,\n} from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclStoryCardPictureDirective } from '../ecl-story-card-directives';\n\n/**\n * Individual grid item (tab role) within the ECL Story Card desktop accordion.\n * Applied to `<li>` elements inside `ul[eclStoryCardList]`.\n * Renders the accordion tab button with the loading bar animation.\n * For the mobile carousel, the parent `EclStoryCardComponent` clones the projected\n * `picture[eclStoryCardPicture]` into the carousel slide via `pictureRef`.\n *\n * - Selector: `li[eclStoryCardItem]`.\n * - `gridTitle` is the short label shown in the tab button.\n * - `isExpanded`, `isAutoPlaying`, `index`, `tabId`, and `panelId` are writable signals\n * set by the parent `EclStoryCardComponent` during grid setup.\n * - Emits `itemClick` (with item index) when the tab button is clicked.\n * - Emits `loadingBarAnimationEnd` when the autoplay loading bar animation finishes.\n */\n@Component({\n selector: 'li[eclStoryCardItem]',\n templateUrl: './ecl-story-card-item.component.html',\n host: {\n role: 'presentation',\n '[class]': 'cssClasses()',\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EclStoryCardItemComponent extends ECLBaseDirective {\n\n /** Short title displayed in the accordion tab button. */\n readonly gridTitle = input<string>('');\n\n /** Whether this item is currently expanded/selected. Set by the parent `EclStoryCardComponent`. */\n readonly isExpanded = signal(false);\n\n /** Whether autoplay is active for this item (controls the loading bar animation). Set by parent. */\n readonly isAutoPlaying = signal(false);\n\n /** Zero-based index of this item in the list. Set by parent. */\n readonly index = signal(0);\n\n /** Generated ID for the tab button element. Set by parent. */\n readonly tabId = signal('');\n\n /** ID of the controlled `tabpanel` (`eclStoryCardGridDetails`). Set by parent. */\n readonly panelId = signal('');\n\n /** Emitted when the tab button is clicked; payload is this item's index. */\n readonly itemClick = output<number>();\n\n /** Emitted when the loading bar CSS animation ends, signalling to advance to the next item. */\n readonly loadingBarAnimationEnd = output<void>();\n\n /**\n * Emitted when a keydown occurs on the tab button. The parent story card\n * orchestrates keyboard navigation (arrows, Home, End) across all items.\n */\n readonly keydownTab = output<KeyboardEvent>();\n\n /** Reference to the projected `picture[eclStoryCardPicture]` element for cloning into the mobile carousel. */\n readonly pictureRef = contentChild(EclStoryCardPictureDirective, { read: ElementRef });\n\n private readonly buttonRef = viewChild<ElementRef<HTMLButtonElement>>('tabButton');\n\n readonly cssClasses = computed(() => [\n super.getCssClasses('ecl-story-card__grid-item'),\n this.isExpanded() ? 'ecl-story-card__grid-item--expanded' : '',\n ].join(' ').trim());\n\n /** Move focus to this item's tab button. Called by the parent during keyboard navigation. */\n focusButton(): void {\n this.buttonRef()?.nativeElement.focus();\n }\n\n protected onButtonClick(): void {\n this.itemClick.emit(this.index());\n }\n\n protected onAnimationEnd(): void {\n this.loadingBarAnimationEnd.emit();\n }\n\n protected onKeydown(event: KeyboardEvent): void {\n this.keydownTab.emit(event);\n }\n}\n","<button class=\"ecl-story-card__grid-card\"\n #tabButton\n type=\"button\"\n [attr.id]=\"tabId()\"\n role=\"tab\"\n [attr.aria-selected]=\"isExpanded()\"\n [attr.aria-controls]=\"panelId()\"\n [attr.tabindex]=\"isExpanded() ? 0 : -1\"\n (click)=\"onButtonClick()\"\n (keydown)=\"onKeydown($event)\">\n <div class=\"ecl-story-card__grid-image\">\n <ng-content select=\"picture[eclStoryCardPicture]\"></ng-content>\n <div class=\"ecl-story-card__grid-loading-bar\">\n <div class=\"ecl-story-card__grid-loading-bar-completion\"\n [class.is-paused]=\"!isExpanded() || !isAutoPlaying()\"\n (animationend)=\"onAnimationEnd()\">\n </div>\n </div>\n </div>\n <div class=\"ecl-story-card__grid-title-wrapper\">\n @if (gridTitle()) {\n <div class=\"ecl-story-card__grid-title\">{{ gridTitle() }}</div>\n }\n </div>\n</button>\n","import {\n ChangeDetectionStrategy,\n Component,\n contentChild,\n effect,\n ElementRef,\n input,\n signal,\n} from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclStoryCardLinkDirective } from '../ecl-story-card-directives';\n\n/**\n * Details panel sub-component (`tabpanel` role) within the ECL Story Card grid accordion.\n * Renders the expanded content for a selected story or testimonial item:\n * title, description, and an optional projected read-more link.\n * For the `'testimonial'` variant, additional `author`, `role`, and `source` inputs are shown.\n *\n * - Selector: `[eclStoryCardGridDetails]`.\n * - `isActive`, `isTestimonial`, `index`, `panelId`, and `tabId` are writable signals\n * set by the parent `EclStoryCardComponent` during grid setup.\n * - `linkRef` is a `contentChild` query used by the parent to clone the link into the mobile carousel.\n */\n@Component({\n selector: '[eclStoryCardGridDetails]',\n templateUrl: './ecl-story-card-grid-details.component.html',\n host: {\n '[class]': 'getCssClasses(\"ecl-story-card__grid-details\")',\n '[attr.id]': 'panelId()',\n '[attr.role]': '\"tabpanel\"',\n '[attr.aria-labelledby]': 'tabId()',\n '[attr.tabindex]': 'isActive() ? 0 : -1',\n '[hidden]': '!isActive()',\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EclStoryCardGridDetailsComponent extends ECLBaseDirective {\n\n /** Optional teaser label shown above the title. Hidden by CSS in the testimonial variant. */\n readonly teaserLabel = input<string>('');\n\n /** Title shown in the details panel. */\n readonly eclTitle = input<string>('');\n\n /** Description shown in the details panel. */\n readonly description = input<string>('');\n\n /** Author name for the testimonial variant. */\n readonly author = input<string>('');\n\n /** Author role/position for the testimonial variant. */\n readonly role = input<string>('');\n\n /** Publication source for the testimonial variant. */\n readonly source = input<string>('');\n\n /** Whether this panel is currently visible. Set by the parent `EclStoryCardComponent`. */\n readonly isActive = signal(false);\n\n /** Whether the parent story card is in the `'testimonial'` variant. Set by parent. */\n readonly isTestimonial = signal(false);\n\n /** Zero-based index of this panel. Set by parent. */\n readonly index = signal(0);\n\n /** Generated panel `id`. Set by parent. */\n readonly panelId = signal('');\n\n /** `id` of the controlling tab button. Set by parent. */\n readonly tabId = signal('');\n\n /** Reference to the projected `[eclStoryCardLink]` element for cloning into the mobile carousel. */\n readonly linkRef = contentChild(EclStoryCardLinkDirective, { read: ElementRef });\n\n constructor() {\n super();\n\n // Associate the \"Read more\" link with its corresponding tab so assistive\n // technologies announce the tab label as context for the link.\n // Set before the parent clones the link into the carousel slide.\n effect(() => {\n const link = this.linkRef();\n const tabId = this.tabId();\n if (link && tabId) {\n link.nativeElement.setAttribute('aria-describedby', tabId);\n }\n });\n }\n}\n","<article class=\"ecl-story-card__grid-details-content\">\n <div class=\"ecl-story-card__content\">\n @if (isTestimonial()) {\n <div class=\"ecl-story-card__content-icon\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"22\" height=\"45\" viewBox=\"0 0 22 45\" fill=\"none\">\n <path d=\"M0 0H22V23.3143L0 44.5714V0Z\" fill=\"currentColor\"/>\n </svg>\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"22\" height=\"45\" viewBox=\"0 0 22 45\" fill=\"none\">\n <path d=\"M0 0H22V23.3143L0 44.5714V0Z\" fill=\"currentColor\"/>\n </svg>\n </div>\n }\n @if (teaserLabel()) {\n <div class=\"ecl-story-card__teaser-label\">{{ teaserLabel() }}</div>\n }\n @if (eclTitle()) {\n <div class=\"ecl-story-card__card-title\">{{ eclTitle() }}</div>\n }\n @if (author() || role() || source()) {\n <div class=\"ecl-story-card__testimonial\">\n @if (author()) {\n <span class=\"ecl-story-card__author\">{{ author() }}</span>\n }\n @if (role()) {\n <span class=\"ecl-story-card__role\">{{ role() }}</span>\n }\n @if (source()) {\n <cite class=\"ecl-story-card__source\">{{ source() }}</cite>\n }\n </div>\n }\n @if (description()) {\n <div class=\"ecl-story-card__card-description\">{{ description() }}</div>\n }\n <ng-content select=\"[eclStoryCardLink]\"></ng-content>\n </div>\n</article>\n","import {\n afterNextRender,\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n computed,\n contentChildren,\n effect,\n ElementRef,\n inject,\n input,\n OnDestroy,\n output,\n signal,\n untracked,\n viewChild,\n viewChildren,\n} from '@angular/core';\nimport { EUI_ECL_SLIDER } from '@eui/ecl/components/ecl-slider';\nimport { ECLBaseDirective, EclRtlService, KeyCode } from '@eui/ecl/core';\nimport { TranslatePipe, TranslateService } from '@ngx-translate/core';\nimport { EmblaCarouselDirective } from 'embla-carousel-angular';\nimport { Subject, takeUntil } from 'rxjs';\nimport { outputToObservable, toSignal } from '@angular/core/rxjs-interop';\n\nimport { EclStoryCardItemComponent } from './ecl-story-card-item/ecl-story-card-item.component';\nimport { EclStoryCardGridDetailsComponent } from './ecl-story-card-grid-details/ecl-story-card-grid-details.component';\nimport { EmblaCarouselType, EmblaEventType } from 'embla-carousel';\n\nexport interface EclStoryCardSelectionEvent {\n index: number;\n}\n\n/**\n * ECL Story Card component that presents a collection of stories or testimonials in a\n * desktop grid-accordion with autoplay and a mobile Embla carousel.\n * On desktop, projected `li[eclStoryCardItem]` items form a tab/tabpanel accordion;\n * on mobile the same items are cloned into a carousel automatically.\n *\n * - Selector: `section[eclStoryCard]`.\n * - `variant`: `'story'` (default) or `'testimonial'`.\n * - `isAutoplay` enables auto-advancing through grid items. `autoplayDelay` sets the interval (ms, default 10000).\n * - All internal IDs derive from `eclId` (alias `id`); a UUID is generated when omitted.\n * - Emits `selectionChange` whenever the active grid item changes.\n * - Structural composition: `ul[eclStoryCardList]` > `li[eclStoryCardItem]` + `[eclStoryCardGridDetails]`\n * with `picture[eclStoryCardPicture]` and `[eclStoryCardLink]` projected inside each.\n */\n@Component({\n selector: 'section[eclStoryCard]',\n templateUrl: './ecl-story-card.component.html',\n host: {\n '[id]': 'componentId()',\n '[class]': 'cssClasses()',\n '[style.--ecl-story-card-slide-duration]': 'slideDuration()',\n },\n imports: [\n TranslatePipe,\n ...EUI_ECL_SLIDER,\n EmblaCarouselDirective,\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EclStoryCardComponent extends ECLBaseDirective implements OnDestroy {\n\n /** Title displayed in the story card header. */\n readonly eclTitle = input<string>('');\n\n /** Description text displayed below the title. */\n readonly eclDescription = input<string>('');\n\n /** Variant of the story card: `'story'` (default) or `'testimonial'`. */\n readonly variant = input<'story' | 'testimonial'>('story');\n\n /** When `true`, enables autoplay for the desktop grid accordion. */\n readonly isAutoplay = input(false, { transform: booleanAttribute });\n\n /** Autoplay slide duration in milliseconds. Default: `10000`. */\n readonly autoplayDelay = input<number>(10000);\n\n /** HTML `id` for the component; all internal IDs derive from it. Auto-generated when omitted. */\n readonly eclId = input<string>('', { alias: 'id' });\n\n /** Emitted when the active grid item index changes. Payload: `{ index: number }`. */\n readonly selectionChange = output<EclStoryCardSelectionEvent>();\n\n private readonly eclRtlService = inject(EclRtlService);\n private readonly translate = inject(TranslateService);\n\n private readonly generatedId = `story-card-${crypto.randomUUID().slice(0, 8)}`;\n protected readonly componentId = computed(() => this.eclId() || this.generatedId);\n\n /** Current RTL state, derived reactively from the RTL service. */\n private readonly isRtl = toSignal(this.eclRtlService.currentRtlState$, { initialValue: false });\n\n /** Embla carousel options. Direction tracks the RTL state reactively. */\n protected readonly emblaOptions = computed<{ loop: boolean; direction: 'ltr' | 'rtl' }>(() => ({\n loop: true,\n direction: this.isRtl() ? 'rtl' : 'ltr',\n }));\n\n /** Subscribed Embla events. */\n protected readonly subscribeToEvents: EmblaEventType[] = ['select', 'init', 'reInit'];\n\n /** Current carousel snap index. */\n protected readonly activeSlideIndex = signal(0);\n\n /** Total number of items. */\n protected readonly totalSlides = computed(() => this.items().length);\n\n /** Previous button disabled state (carousel). */\n protected readonly prevDisabled = signal(false);\n\n /** Next button disabled state (carousel). */\n protected readonly nextDisabled = signal(false);\n\n /** Currently expanded grid item index. */\n protected readonly expandedIndex = signal(0);\n\n /** Whether grid autoplay is currently playing. */\n protected readonly isAutoPlaying = signal(false);\n\n protected readonly items = contentChildren(EclStoryCardItemComponent, { descendants: true });\n\n protected readonly detailsPanels = contentChildren(EclStoryCardGridDetailsComponent, { descendants: true });\n\n private readonly emblaRef = viewChild(EmblaCarouselDirective);\n private readonly carouselImageWrappers = viewChildren<ElementRef>('carouselImageWrapper');\n private readonly carouselContentWrappers = viewChildren<ElementRef>('carouselContentWrapper');\n\n private readonly setupTeardown$ = new Subject<void>();\n private emblaApi: EmblaCarouselType | undefined;\n\n constructor() {\n super();\n afterNextRender(() => {\n setTimeout(() => this.clonePicturesToCarousel());\n });\n\n effect(() => {\n const itemsArray = this.items();\n const detailsArray = this.detailsPanels();\n\n untracked(() => {\n this.setupGrid(itemsArray, detailsArray);\n });\n });\n }\n\n readonly cssClasses = computed(() => [\n super.getCssClasses('ecl-story-card'),\n this.eclDescription() ? 'ecl-story-card--has-description' : '',\n this.variant() === 'testimonial' ? 'ecl-story-card--testimonial' : '',\n ].join(' ').trim());\n\n readonly slideDuration = computed(() => `${this.autoplayDelay()}ms`);\n\n ngOnDestroy(): void {\n this.setupTeardown$.next();\n this.setupTeardown$.complete();\n }\n\n /**\n * Configures the grid accordion: assigns IDs, indices, and initial state\n * to each item and details panel, subscribes to item interaction events,\n * and starts autoplay if enabled.\n */\n private setupGrid(\n itemsArray: readonly EclStoryCardItemComponent[],\n detailsArray: readonly EclStoryCardGridDetailsComponent[],\n ): void {\n this.setupTeardown$.next();\n const id = this.componentId();\n\n itemsArray.forEach((item, i) => {\n item.index.set(i);\n item.tabId.set(`${id}-tab-${i}`);\n item.panelId.set(`${id}-details-${i}`);\n item.isExpanded.set(i === this.expandedIndex());\n item.isAutoPlaying.set(this.isAutoPlaying());\n\n outputToObservable(item.itemClick).pipe(\n takeUntil(this.setupTeardown$),\n ).subscribe((index: number) => this.onGridItemClick(index));\n\n outputToObservable(item.loadingBarAnimationEnd).pipe(\n takeUntil(this.setupTeardown$),\n ).subscribe(() => this.onLoadingBarAnimationEnd());\n\n outputToObservable(item.keydownTab).pipe(\n takeUntil(this.setupTeardown$),\n ).subscribe((event: KeyboardEvent) => this.onGridItemKeydown(event, i));\n });\n\n detailsArray.forEach((panel, i) => {\n panel.index.set(i);\n panel.panelId.set(`${id}-details-${i}`);\n panel.tabId.set(`${id}-tab-${i}`);\n panel.isActive.set(i === this.expandedIndex());\n panel.isTestimonial.set(this.variant() === 'testimonial');\n });\n\n if (this.isAutoplay()) {\n this.playAutoplay();\n }\n }\n\n /** Set the expanded grid item by index. */\n private setGridItem(index: number): void {\n const itemsArray = this.items();\n const detailsArray = this.detailsPanels();\n if (itemsArray.length === 0) return;\n\n const nextIndex = ((index % itemsArray.length) + itemsArray.length) % itemsArray.length;\n\n itemsArray.forEach((item, i) => {\n item.isExpanded.set(i === nextIndex);\n item.isAutoPlaying.set(this.isAutoPlaying());\n });\n\n detailsArray.forEach((panel, i) => {\n panel.isActive.set(i === nextIndex);\n });\n\n this.expandedIndex.set(nextIndex);\n this.selectionChange.emit({ index: nextIndex });\n }\n\n /** Handle click on a grid item button. */\n private onGridItemClick(index: number): void {\n const itemsArray = this.items();\n const isCurrentlyExpanded = itemsArray[index]?.isExpanded();\n\n if (isCurrentlyExpanded && !this.isAutoPlaying()) {\n this.playAutoplay();\n } else {\n this.pauseAutoplay();\n }\n\n this.setGridItem(index);\n }\n\n /** Go to the previous grid item. */\n protected onGridPrevClick(): void {\n this.setGridItem(this.expandedIndex() - 1);\n }\n\n /** Go to the next grid item. */\n protected onGridNextClick(): void {\n this.setGridItem(this.expandedIndex() + 1);\n }\n\n /**\n * Orchestrates keyboard navigation across the grid tablist (WAI-ARIA tabs\n * pattern). Moves focus only; selection still happens on click/Enter.\n *\n * - ArrowRight: focus the next tab, wrapping to the first.\n * - ArrowLeft: focus the previous tab, wrapping to the last.\n * - Home: focus the first tab.\n * - End: focus the last tab.\n *\n * @param event the originating keydown from the focused item's button\n * @param index the index of the item that emitted the event\n */\n private onGridItemKeydown(event: KeyboardEvent, index: number): void {\n const itemsArray = this.items();\n const count = itemsArray.length;\n if (count === 0) {\n return;\n }\n\n let targetIndex: number | null = null;\n\n switch (event.key) {\n case KeyCode.ARROW_RIGHT:\n targetIndex = (index + 1) % count;\n break;\n case KeyCode.ARROW_LEFT:\n targetIndex = (index - 1 + count) % count;\n break;\n case KeyCode.HOME:\n targetIndex = 0;\n break;\n case KeyCode.END:\n targetIndex = count - 1;\n break;\n default:\n return;\n }\n\n event.preventDefault();\n itemsArray[targetIndex]?.focusButton();\n }\n\n /** Handle animation end on the loading bar (advance to next). */\n private onLoadingBarAnimationEnd(): void {\n if (this.isAutoPlaying()) {\n this.setGridItem(this.expandedIndex() + 1);\n }\n }\n\n /** Start autoplay. */\n protected playAutoplay(): void {\n if (this.items().length < 2) return;\n this.isAutoPlaying.set(true);\n this.items().forEach(item => item.isAutoPlaying.set(true));\n }\n\n protected pauseAutoplay(): void {\n this.isAutoPlaying.set(false);\n this.items().forEach(item => item.isAutoPlaying.set(false));\n }\n\n /** Play button click. */\n protected onPlayClick(): void {\n this.playAutoplay();\n }\n\n /** Pause button click. */\n protected onPauseClick(): void {\n this.pauseAutoplay();\n }\n\n /** Clone each item's projected picture and link into the corresponding carousel slide. */\n private clonePicturesToCarousel(): void {\n const imageWrappers = this.carouselImageWrappers();\n const contentWrappers = this.carouselContentWrappers();\n const itemsArray = this.items();\n const detailsArray = this.detailsPanels();\n\n itemsArray.forEach((item, i) => {\n const pictureEl = item.pictureRef();\n if (pictureEl && imageWrappers[i]) {\n const clone = pictureEl.nativeElement.cloneNode(true) as HTMLElement;\n imageWrappers[i].nativeElement.appendChild(clone);\n }\n });\n\n detailsArray.forEach((panel, i) => {\n const linkEl = panel.linkRef();\n if (linkEl && contentWrappers[i]) {\n const clone = linkEl.nativeElement.cloneNode(true) as HTMLElement;\n contentWrappers[i].nativeElement.appendChild(clone);\n }\n });\n }\n\n protected onEmblaChange(eventName: string): void {\n if (!this.emblaApi) {\n this.emblaApi = this.emblaRef()?.emblaApi ?? undefined;\n }\n if (!this.emblaApi) return;\n\n if (eventName === 'select' || eventName === 'init' || eventName === 'reInit') {\n this.syncCarouselState();\n }\n }\n\n /** Sync carousel state from Embla API. */\n private syncCarouselState(): void {\n if (!this.emblaApi) return;\n\n this.activeSlideIndex.set(this.emblaApi.selectedScrollSnap());\n this.prevDisabled.set(!this.emblaApi.canScrollPrev());\n this.nextDisabled.set(!this.emblaApi.canScrollNext());\n }\n\n /** Navigate carousel to previous slide. */\n protected onCarouselPrevClick(): void {\n this.emblaRef()?.scrollPrev();\n }\n\n /** Navigate carousel to next slide. */\n protected onCarouselNextClick(): void {\n this.emblaRef()?.scrollNext();\n }\n\n /** Navigate carousel to a specific slide. */\n protected goToSlide(index: number): void {\n this.emblaRef()?.scrollTo(index);\n }\n\n /** Returns dot indices for rendering. */\n protected getDotIndices(): number[] {\n return Array.from({ length: this.totalSlides() }, (_, i) => i);\n }\n\n /**\n * Pre-translated accessible label for each carousel dot, passed to the shared\n * slider pager. Translated here since the pager receives plain strings.\n */\n protected readonly dotAriaLabels = computed<string[]>(() => {\n const total = this.totalSlides();\n return Array.from({ length: total }, (_unused, dotIndex) =>\n this.translate.instant('ecl.story-card.GO-TO-SLIDE', {\n current: dotIndex + 1,\n total,\n }),\n );\n });\n}\n","@if (eclTitle() || eclDescription()) {\n<div class=\"ecl-story-card__header\">\n @if (eclTitle()) {\n <div class=\"ecl-story-card__title\">{{ eclTitle() }}</div>\n }\n @if (eclDescription()) {\n <div class=\"ecl-story-card__description\">{{ eclDescription() }}</div>\n }\n</div>\n}\n\n<!-- Mobile: Embla Carousel (auto-generated from items + details) -->\n<div class=\"ecl-story-card__carousel\">\n <div class=\"ecl-story-card__carousel-viewport\"\n role=\"region\"\n [attr.aria-label]=\"'ecl.story-card.SLIDER-LABEL' | translate\"\n emblaCarousel\n [options]=\"emblaOptions()\"\n [subscribeToEvents]=\"subscribeToEvents\"\n (emblaChange)=\"onEmblaChange($event)\">\n <ul class=\"ecl-story-card__carousel-container\">\n @for (item of items(); track i; let i = $index) {\n <li class=\"ecl-story-card__carousel-slide\"\n [attr.aria-hidden]=\"i !== activeSlideIndex() ? true : null\">\n <article class=\"ecl-story-card__card\">\n <div class=\"ecl-story-card__image-wrapper\" #carouselImageWrapper>\n </div>\n <div class=\"ecl-story-card__content\" #carouselContentWrapper>\n @if (detailsPanels()[i]; as panel) {\n @if (panel.teaserLabel()) {\n <div class=\"ecl-story-card__teaser-label\">{{ panel.teaserLabel() }}</div>\n }\n @if (panel.eclTitle()) {\n <div class=\"ecl-story-card__card-title\">{{ panel.eclTitle() }}</div>\n }\n @if (panel.description()) {\n <div class=\"ecl-story-card__card-description\">{{ panel.description() }}</div>\n }\n }\n </div>\n </article>\n </li>\n }\n </ul>\n </div>\n\n <!-- Carousel Controls -->\n @if (totalSlides() > 1) {\n <ecl-slider-pager\n class=\"ecl-story-card__pager\"\n variant=\"dots\"\n size=\"s\"\n prevExtraClasses=\"ecl-story-card__prev\"\n nextExtraClasses=\"ecl-story-card__next\"\n dotsExtraClasses=\"ecl-story-card__dots\"\n dotExtraClasses=\"ecl-story-card__dot\"\n [activeIndex]=\"activeSlideIndex()\"\n [isPrevDisabled]=\"prevDisabled()\"\n [isNextDisabled]=\"nextDisabled()\"\n [dotIndices]=\"getDotIndices()\"\n [dotAriaLabels]=\"dotAriaLabels()\"\n (prev)=\"onCarouselPrevClick()\"\n (next)=\"onCarouselNextClick()\"\n (goTo)=\"goToSlide($event)\">\n </ecl-slider-pager>\n }\n</div>\n\n<!-- Desktop: Grid with Accordion (user-authored content projected here) -->\n<div class=\"ecl-story-card__grid\">\n <!-- Grid Controls -->\n @if (totalSlides() > 1) {\n <ecl-slider-pager\n class=\"ecl-story-card__grid-controls\"\n variant=\"play-pause\"\n size=\"l\"\n [isPlaying]=\"isAutoPlaying()\"\n prevExtraClasses=\"ecl-story-card__grid-prev\"\n nextExtraClasses=\"ecl-story-card__grid-next\"\n playExtraClasses=\"ecl-story-card__grid-play\"\n pauseExtraClasses=\"ecl-story-card__grid-pause\"\n (prev)=\"onGridPrevClick()\"\n (next)=\"onGridNextClick()\"\n (play)=\"onPlayClick()\"\n (pause)=\"onPauseClick()\">\n </ecl-slider-pager>\n }\n\n <ng-content select=\"ul[eclStoryCardList]\"></ng-content>\n <ng-content select=\"[eclStoryCardGridDetails]\"></ng-content>\n</div>\n","import { EclStoryCardComponent } from './ecl-story-card.component';\nimport { EclStoryCardItemComponent } from './ecl-story-card-item/ecl-story-card-item.component';\nimport { EclStoryCardGridDetailsComponent } from './ecl-story-card-grid-details/ecl-story-card-grid-details.component';\nimport {\n EclStoryCardListDirective,\n EclStoryCardPictureDirective,\n EclStoryCardLinkDirective,\n} from './ecl-story-card-directives';\n\nexport * from './ecl-story-card.component';\nexport * from './ecl-story-card-item/ecl-story-card-item.component';\nexport * from './ecl-story-card-grid-details/ecl-story-card-grid-details.component';\nexport * from './ecl-story-card-directives';\n\nexport const EUI_ECL_STORY_CARD = [\n EclStoryCardComponent,\n EclStoryCardItemComponent,\n EclStoryCardGridDetailsComponent,\n EclStoryCardListDirective,\n EclStoryCardPictureDirective,\n EclStoryCardLinkDirective,\n] as const;\n"],"mappings":";;;;;;;;;AAcA,IAAa,4BAAb,MAAa,kCAAkC,iBAAgB;CAAlD;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAyB,MAAA;GAAA,Q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AAA;GAAA,MAAA,CACpB,0BAAwB,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;CAAA;AAAA,CAAA;AEjHhG,MAAa,qBAAqB;CAC9B;CACA;CACA;CACA;CACA;CACA;AACM"}
@@ -397,7 +397,7 @@ var EclTableHeaderDirective = class EclTableHeaderDirective extends ECLBaseDirec
397
397
  this.scope = input("col", ...ngDevMode ? [{ debugName: "scope" }] : /* istanbul ignore next */ []);
398
398
  this.id = input(...ngDevMode ? [void 0, { debugName: "id" }] : /* istanbul ignore next */ []);
399
399
  this.headerId = linkedSignal(() => this.id(), ...ngDevMode ? [{ debugName: "headerId" }] : /* istanbul ignore next */ []);
400
- this.sortButtonAriaLabel = input(void 0, ...ngDevMode ? [{ debugName: "sortButtonAriaLabel" }] : /* istanbul ignore next */ []);
400
+ this.sortButtonAriaLabel = input(...ngDevMode ? [void 0, { debugName: "sortButtonAriaLabel" }] : /* istanbul ignore next */ []);
401
401
  this.filterLabel = input(...ngDevMode ? [void 0, { debugName: "filterLabel" }] : /* istanbul ignore next */ []);
402
402
  this.cssClasses = computed(() => super.getCssClasses("ecl-table__header"), ...ngDevMode ? [{ debugName: "cssClasses" }] : /* istanbul ignore next */ []);
403
403
  this.sort = output();
@@ -831,7 +831,7 @@ var EclTableCellGroupDirective = class EclTableCellGroupDirective extends ECLBas
831
831
  this.cd = inject(ChangeDetectorRef);
832
832
  }
833
833
  ngAfterViewInit() {
834
- this.cellGroup.set(this.cellGroup() !== "" ? this.cellGroup() : null);
834
+ this.cellGroup.set(this.cellGroup() !== "" ? this.cellGroup() : void 0);
835
835
  this.cd.detectChanges();
836
836
  }
837
837
  static {
@@ -1 +1 @@
1
- {"version":3,"file":"eui-ecl-components-ecl-table.mjs","names":[],"sources":["../../components/ecl-table/ecl-table-sort-button.component.ts","../../components/ecl-table/ecl-table-sort-button.component.html","../../components/ecl-table/events/ecl-sort-table.event.ts","../../components/ecl-table/events/ecl-filter-table.event.ts","../../components/ecl-table/ecl-table.directive.ts","../../components/ecl-table/index.ts"],"sourcesContent":["import { Component, computed, inject } from '@angular/core';\nimport { AsyncPipe } from '@angular/common';\nimport { EclThemeService } from '@eui/ecl/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EUI_ECL_ICON } from '@eui/ecl/components/ecl-icon';\n\n/**\n * Internal sort button rendered inside sortable `EclTableHeaderDirective` cells.\n * Provides an ECL-styled arrow icon and an `aria-label` for screen-reader accessibility.\n * Created and appended programmatically by `EclTableHeaderDirective`; not used in templates directly.\n *\n * - Selector: `button[eclTableSortButton]`.\n * - `ariaLabel` defaults to `'Sort table'` and is updated by the parent header directive\n * on each sort cycle using the `ecl.table.SORT-LABEL.*` translation keys.\n */\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'button[eclTableSortButton]',\n templateUrl: './ecl-table-sort-button.component.html',\n imports: [...EUI_ECL_ICON, AsyncPipe],\n host: {\n '[attr.aria-label]': 'ariaLabel',\n '[class]': 'cssClasses()',\n },\n})\nexport class EclTableSortButtonComponent extends ECLBaseDirective {\n eclThemeService = inject(EclThemeService);\n\n /**\n * Accessibility label describing the button's function.\n * This value is bound to the `aria-label` attribute.\n */\n ariaLabel = 'Sort table';\n\n /**\n * CSS classes applied to the host element.\n * Includes ECL base table sort arrow styling.\n */\n protected readonly cssClasses = computed<string>(() =>\n super.getCssClasses('ecl-table__arrow'));\n}\n","<ecl-icon icon=\"solid-arrow\" class=\"ecl-table__icon ecl-table__icon-up\" [size]=\"(eclThemeService.isEC$ | async) ? 'xs' : 'm'\"> </ecl-icon>\n<ecl-icon icon=\"solid-arrow\" class=\"ecl-table__icon ecl-table__icon-down\" [size]=\"(eclThemeService.isEC$ | async) ? 'xs' : 'm'\"> </ecl-icon>\n","import { EclBaseEvent } from '@eui/ecl/core';\nimport { SortOrder } from '../ecl-table.directive';\n\n/**\n * Event emitted when the table sort order changes.\n *\n * Extends the base ECL event to provide sorting-specific information.\n */\nexport class EclSortTableEvent extends EclBaseEvent {\n constructor(\n /**\n * The order in which the table is currently sorted.\n * Can be 'ascending', 'descending', or null (unsorted).\n */\n public sortOrder: SortOrder,\n\n /**\n * The identifier of the column that triggered the sort event.\n */\n public columnId: string,\n ) {\n super();\n }\n}\n","import { EclBaseEvent } from '@eui/ecl/core';\n\n/**\n * Event emitted when a table column filter value changes.\n *\n * Extends the base ECL event to provide filtering-specific information.\n */\nexport class EclFilterTableEvent extends EclBaseEvent {\n constructor(\n /**\n * The current keyword typed in the column filter field (trimmed).\n * Empty string means the column filter is cleared.\n */\n public keyword: string,\n\n /**\n * The identifier of the column that triggered the filter event.\n */\n public columnId: string,\n ) {\n super();\n }\n}\n","import {\n AfterContentInit,\n Directive,\n ElementRef,\n forwardRef,\n ViewContainerRef,\n booleanAttribute,\n Renderer2,\n AfterViewInit,\n ChangeDetectorRef,\n computed,\n OnInit,\n inject,\n ComponentRef,\n afterNextRender,\n effect,\n input,\n output,\n linkedSignal,\n contentChildren,\n} from '@angular/core';\nimport { Subscription } from 'rxjs';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclTableSortButtonComponent } from './ecl-table-sort-button.component';\nimport { EclSortTableEvent } from './events/ecl-sort-table.event';\nimport { EclFilterTableEvent } from './events/ecl-filter-table.event';\nimport { TranslateService } from '@ngx-translate/core';\n\n/**\n * Enum representing the sort order of a column.\n */\nexport enum SortOrder {\n DESCENDING = 'descending',\n ASCENDING = 'ascending',\n}\n\n/**\n * Directive for styling and managing ECL-compliant tables.\n * Applies ECL table classes to the host element and coordinates column-level sort events\n * by aggregating `sort` outputs from projected `EclTableHeaderDirective` children.\n *\n * - Selector: `[eclTable]`.\n * - `isZebra` adds alternating row shading (`ecl-table--zebra`).\n * - `isSimple` opts out of the enhanced mobile layout in favour of horizontal scrolling (`ecl-table--simple`).\n * Automatically forced to `true` when no header directives are projected.\n * - `id` sets the HTML `id` attribute; a UUID is generated when omitted.\n * - Emits `sort` (`EclSortTableEvent`) whenever a sortable column header is clicked.\n * - Companion directives: `[eclTableHead]`, `[eclTableHeader]`, `[eclTableRow]`, `[eclTableBody]`,\n * `[eclTableCell]`, `[eclTableCellGroup]`, `[eclTableResponsive]`, `caption[eclTableCaption]`.\n */\n@Directive({\n selector: '[eclTable]',\n host: {\n '[attr.id]': 'tableId()',\n '[class]': 'cssClasses()',\n },\n})\nexport class EclTableDirective extends ECLBaseDirective implements OnInit, AfterContentInit {\n /**\n * Applies zebra striping to the table rows by adding the `ecl-table--zebra` class if true.\n */\n readonly isZebra = input(false, { transform: booleanAttribute });\n\n /**\n * Opts out of the enhanced mobile layout and applies the \"simple\" table variant\n * by adding the `ecl-table--simple` class.\n *\n * This only affects narrow (mobile) viewports; on desktop both variants render as\n * a standard table, so this input is effectively a no-op there.\n * - Default (enhanced): on mobile each row collapses into a stacked, card-like layout\n * that uses the `eclTableCellHeader` value as the label for each cell.\n * - Simple: on mobile the table keeps its native structure and scrolls horizontally\n * inside the responsive wrapper instead of collapsing.\n *\n * Automatically enabled if no header is detected, since the enhanced mobile layout\n * has no header labels to project onto the cells.\n */\n readonly isSimple = input(false, { transform: booleanAttribute });\n\n /**\n * Writable internal \"simple\" state, seeded from the `isSimple` input.\n * May be forced to `true` internally when no header is detected.\n */\n private isSimpleTable = linkedSignal(() => this.isSimple());\n\n /**\n * The HTML ID attribute of the table. If not provided, a UUID is generated.\n */\n readonly id = input<string>();\n\n /**\n * Writable internal id, seeded from the `id` input and falling back to a\n * generated UUID when none is provided.\n */\n protected tableId = linkedSignal(() => this.id());\n\n /**\n * Computed list of CSS classes for the host element.\n */\n protected readonly cssClasses = computed<string>(() =>\n [super.getCssClasses('ecl-table'), this.isZebra() ? 'ecl-table--zebra' : '', this.isSimpleTable() ? 'ecl-table--simple' : ''].join(' ').trim());\n\n /**\n * Emits an event when a column sort is triggered.\n */\n readonly sort = output<EclSortTableEvent>();\n\n /**\n * Emits an event when a column filter value changes.\n */\n readonly filter = output<EclFilterTableEvent>();\n\n /**\n * List of header directives detected in the content.\n */\n readonly eclTableHeaders = contentChildren(forwardRef(() => EclTableHeaderDirective), { descendants: true });\n\n private el = inject(ElementRef);\n\n /** Current keyword for each filterable column, keyed by column identifier. */\n private activeFilters = new Map<string, string>();\n\n constructor() {\n super();\n\n // Re-emit each header's sort and filter events through the table's own outputs.\n // Re-subscribes whenever the set of headers changes, disposing the previous\n // subscriptions so removed headers don't leak.\n effect((onCleanup) => {\n const subscription = new Subscription();\n this.eclTableHeaders().forEach((header) => {\n subscription.add(header.sort.subscribe((evt) => this.sort.emit(evt)));\n subscription.add(\n header.filter.subscribe((evt) => {\n this.applyFilter(evt);\n this.filter.emit(evt);\n }),\n );\n });\n onCleanup(() => subscription.unsubscribe());\n });\n }\n\n /**\n * Lifecycle hook that runs on component initialization.\n * Generates a unique ID if none is provided.\n */\n ngOnInit(): void {\n if (!this.tableId()) {\n this.tableId.set(crypto.randomUUID());\n }\n }\n\n /**\n * Lifecycle hook that runs after content is fully initialized.\n * Determines if the table should be rendered in \"simple\" mode.\n */\n ngAfterContentInit(): void {\n this.convertToSimpleVariant();\n }\n\n /**\n * Forces the \"simple\" variant when no header directives are found.\n *\n * The enhanced mobile layout relies on header cells to supply the per-cell labels\n * (via `eclTableCellHeader`); without headers there is nothing to project, so the\n * table falls back to the simple (horizontal-scroll) variant on mobile.\n */\n private convertToSimpleVariant(): void {\n if (this.eclTableHeaders().length === 0) {\n this.isSimpleTable.set(true);\n }\n }\n\n /**\n * Applies the built-in row filtering.\n *\n * Records the latest keyword for the column that emitted the event, then shows/hides\n * every body row: a row stays visible only if it matches every active column filter\n * (case-insensitive substring). Rows are toggled via the native `hidden` attribute.\n */\n private applyFilter(evt: EclFilterTableEvent): void {\n if (evt.keyword) {\n this.activeFilters.set(evt.columnId, evt.keyword.toLowerCase());\n } else {\n this.activeFilters.delete(evt.columnId);\n }\n\n const table: HTMLTableElement = this.el.nativeElement;\n const tbody = table.querySelector('tbody');\n if (!tbody) {\n return;\n }\n\n const columnIndexes = this.mapColumnIndexes(table);\n const rows = Array.from(tbody.rows);\n\n rows.forEach((row) => {\n const isVisible = [...this.activeFilters.entries()].every(([columnId, keyword]) => {\n const colIndex = columnIndexes.get(columnId);\n if (colIndex === undefined) {\n return true;\n }\n const cell = row.cells[colIndex];\n return !!cell && cell.textContent.toLowerCase().includes(keyword);\n });\n row.hidden = !isVisible;\n });\n }\n\n /**\n * Maps every sortable/filterable column identifier to its actual column index in the\n * `<thead>`, taking `rowspan` and `colspan` into account so filter inputs line up with\n * body cells.\n *\n * Column ids come from the header directive instances (not DOM attributes), so a cell's\n * identifier is resolved by matching the DOM cell to its `EclTableHeaderDirective` by\n * element identity.\n */\n private mapColumnIndexes(table: HTMLTableElement): Map<string, number> {\n const columnIndexes = new Map<string, number>();\n const thead = table.querySelector('thead');\n if (!thead) {\n return columnIndexes;\n }\n\n // Index the header directives by their host element for O(1) lookup.\n const headerByElement = new Map<HTMLElement, EclTableHeaderDirective>();\n this.eclTableHeaders().forEach((header) => {\n headerByElement.set(header.hostElement, header);\n });\n\n const rowSpans: number[] = [];\n Array.from(thead.rows).forEach((row) => {\n let col = 0;\n Array.from(row.cells).forEach((cell) => {\n while (rowSpans[col] > 0) {\n col += 1;\n }\n\n const columnId = headerByElement.get(cell as HTMLElement)?.columnId;\n if (columnId) {\n columnIndexes.set(columnId, col);\n }\n\n const colspan = Number(cell.getAttribute('colspan')) || 1;\n const rowspan = Number(cell.getAttribute('rowspan')) || 1;\n for (let i = col; i < col + colspan; i += 1) {\n rowSpans[i] = rowspan;\n }\n col += colspan;\n });\n\n for (let i = 0; i < rowSpans.length; i += 1) {\n if (rowSpans[i] > 0) {\n rowSpans[i] -= 1;\n }\n }\n });\n\n return columnIndexes;\n }\n}\n\n/**\n * Directive applied to `<thead>` elements inside a table.\n * Detects header changes and manages ARIA attributes.\n */\n@Directive({\n selector: '[eclTableHead]',\n host: {\n '[class]': 'cssClasses()',\n },\n})\nexport class EclTableHeadDirective extends ECLBaseDirective {\n /**\n * Applies the ECL head class to the element.\n */\n protected readonly cssClasses = computed<string>(() =>\n super.getCssClasses('ecl-table__head'));\n\n /**\n * List of header directives under this head element.\n */\n readonly eclTableHeaders = contentChildren(forwardRef(() => EclTableHeaderDirective), { descendants: true });\n\n constructor() {\n super();\n\n // When any header is sorted, reset the `aria-sort` state on every header so\n // only the active column reports a sort direction. Re-subscribes whenever the\n // set of headers changes, disposing the previous subscriptions.\n effect((onCleanup) => {\n const headers = this.eclTableHeaders();\n const subscription = new Subscription();\n headers.forEach((header) => {\n subscription.add(\n header.sort.subscribe(() => {\n headers.forEach((th) => th.removeAriaSort());\n }),\n );\n });\n onCleanup(() => subscription.unsubscribe());\n });\n }\n}\n\n/**\n * Directive representing a single table header cell in an ECL table.\n * Supports sorting functionality and accessibility attributes.\n */\n@Directive({\n selector: '[eclTableHeader]',\n host: {\n '[attr.aria-sort]': 'ariaSort',\n '[attr.data-ecl-table-sort-toggle]': 'eclSortable()',\n '[attr.scope]': 'scope()',\n '[attr.id]': 'headerId()',\n '[class]': 'cssClasses()',\n '[class.ecl-table__header--sortable]': 'isSortable',\n '[class.ecl-table__header--filterable]': 'isFilterable',\n '(click)': 'onClick($event)',\n },\n})\nexport class EclTableHeaderDirective extends ECLBaseDirective implements OnInit {\n /**\n * Current sort order of the column (`ascending`, `descending`, or `null`).\n * This sets the `aria-sort` attribute used for accessibility.\n */\n sortOrder: SortOrder | null = null;\n\n get ariaSort(): SortOrder | 'none' {\n return this.sortOrder ?? 'none';\n }\n\n /**\n * Enables sorting on the header. Also sets the `data-ecl-table-sort-toggle` attribute.\n * Acts as the unique identifier for the column when sorting.\n */\n readonly eclSortable = input<string>(null);\n\n /**\n * Enables filtering on the header.\n * Acts as the unique identifier for the column when filtering.\n */\n readonly eclFilterable = input<string | null>(null);\n\n /**\n * Scope of the table header. Default is `col`. Sets the `scope` attribute.\n */\n readonly scope = input('col');\n\n /**\n * HTML `id` attribute of the table header cell. If not provided, a UUID will be generated.\n */\n readonly id = input<string>();\n\n /**\n * Writable internal id, seeded from the `id` input and falling back to a\n * generated UUID when none is provided.\n */\n protected headerId = linkedSignal(() => this.id());\n\n /**\n * Aria-label for the sort button that will be injected into the header cell.\n *\n * When provided, the value is used verbatim: it is NOT translated and is NOT\n * updated as the sort direction changes. The consumer is responsible for passing\n * an already-localized string (e.g. `[sortButtonAriaLabel]=\"'my.key' | translate\"`).\n *\n * When omitted, the directive manages the label internally and translates it via\n * the `ecl.table.SORT-LABEL.*` keys, updating it on each sort toggle.\n */\n readonly sortButtonAriaLabel = input<string>(undefined);\n\n /**\n * Visible label for the filter field that will be injected into the header cell.\n * The label is rendered screen-reader-only by the ECL styles.\n * Falls back to the `ecl.table.FILTER-LABEL` translation when not provided.\n */\n readonly filterLabel = input<string>();\n\n /**\n * Applies the `ecl-table__header--sortable` modifier when the header is sortable.\n */\n get isSortable(): boolean {\n return !!this.eclSortable();\n }\n\n /**\n * Applies the `ecl-table__header--filterable` modifier when the header is filterable.\n */\n get isFilterable(): boolean {\n return !!this.eclFilterable();\n }\n\n /**\n * Computes the CSS classes applied to the header element.\n */\n protected readonly cssClasses = computed<string>(() =>\n super.getCssClasses('ecl-table__header'));\n\n /**\n * Emits an `EclSortTableEvent` when the header is clicked and sorting is triggered.\n */\n readonly sort = output<EclSortTableEvent>();\n\n /**\n * Emits an `EclFilterTableEvent` when the column's filter field value changes.\n */\n readonly filter = output<EclFilterTableEvent>();\n\n private containerComponentRef: ComponentRef<EclTableSortButtonComponent>;\n private el = inject(ElementRef);\n private viewContainerRef = inject(ViewContainerRef);\n private renderer = inject(Renderer2);\n private translateService = inject(TranslateService);\n\n /** Debounce timer for filter input changes. */\n private filterTimer: ReturnType<typeof setTimeout>;\n\n /**\n * The native `<th>` element this directive is attached to.\n * Used by the parent table to map a header to its column index.\n */\n get hostElement(): HTMLElement {\n return this.el.nativeElement;\n }\n\n /**\n * Column identifier used by the parent table to key sort/filter state.\n * Prefers the filter id, falling back to the sort id.\n */\n get columnId(): string | null {\n return this.eclFilterable() ?? this.eclSortable();\n }\n\n constructor() {\n super();\n\n // Inject the sort button and filter field after the next render. `afterNextRender`\n // only runs in the browser, so the DOM is manipulated client-side (never during SSR).\n afterNextRender(() => {\n this.initSortButtons();\n this.initFilterField();\n });\n }\n\n /**\n * Lifecycle hook that runs on component initialization.\n * Generates a unique `id` if not already defined.\n */\n ngOnInit(): void {\n if (!this.headerId()) {\n this.headerId.set(crypto.randomUUID());\n }\n }\n\n /**\n * Clears the `aria-sort` attribute, used to visually and semantically reset previous sort state.\n *\n * Remove the dark arrow for current sorting from prev sorted column\n */\n removeAriaSort(): void {\n this.renderer.setAttribute(this.el.nativeElement, 'aria-sort', 'none');\n }\n\n /**\n * Handles click events on the header.\n * Cycles through sort orders: `null` -> `ascending` -> `descending` -> `null`.\n * Emits a `EclSortTableEvent` with the updated sort state and column identifier.\n *\n * Click triggers 1 -> asc sorting, 2 -> desc sorting then 3 -> initial sorting\n */\n onClick(evt: Event): void {\n // Clicking inside the filter field must not trigger sorting.\n if ((evt.target as HTMLElement)?.closest('.ecl-table__filter')) {\n return;\n }\n if (this.eclSortable()) {\n switch (this.sortOrder) {\n case null: {\n this.sortOrder = SortOrder.ASCENDING;\n this.changeButtonAriaLabel(this.translateService.instant('ecl.table.SORT-LABEL.ascending'));\n break;\n }\n case SortOrder.ASCENDING: {\n this.sortOrder = SortOrder.DESCENDING;\n this.changeButtonAriaLabel(this.translateService.instant('ecl.table.SORT-LABEL.descending'));\n break;\n }\n case SortOrder.DESCENDING: {\n this.sortOrder = null;\n this.changeButtonAriaLabel(this.translateService.instant('ecl.table.SORT-LABEL.default'));\n break;\n }\n }\n\n this.sort.emit(new EclSortTableEvent(this.sortOrder, this.eclSortable()));\n }\n }\n\n private changeButtonAriaLabel(newAriaLabel: string): void {\n if (!this.sortButtonAriaLabel() && this.containerComponentRef) {\n this.containerComponentRef.instance.ariaLabel = newAriaLabel;\n }\n }\n\n /**\n * Creates (or returns the existing) `.ecl-table__header-inner` wrapper used to lay out the\n * header content. On first call the header's current content is moved into a nested\n * `.ecl-table__header-label`, so the sort arrow can live inside the label and the filter\n * field can be appended underneath, matching the upstream ECL markup.\n */\n private getOrCreateHeaderInner(): HTMLElement {\n const host: HTMLElement = this.el.nativeElement;\n let inner: HTMLElement = host.querySelector(':scope > .ecl-table__header-inner');\n if (!inner) {\n inner = this.renderer.createElement('span');\n this.renderer.addClass(inner, 'ecl-table__header-inner');\n\n const label = this.renderer.createElement('span');\n this.renderer.addClass(label, 'ecl-table__header-label');\n while (host.firstChild) {\n this.renderer.appendChild(label, host.firstChild);\n }\n this.renderer.appendChild(inner, label);\n\n this.renderer.appendChild(host, inner);\n }\n return inner;\n }\n\n /**\n * Dynamically creates and appends the sort button to the header's label wrapper.\n * Optionally sets the button's `aria-label` if provided.\n */\n private initSortButtons(): void {\n if (this.eclSortable()) {\n const inner = this.getOrCreateHeaderInner();\n const label = inner.querySelector('.ecl-table__header-label');\n\n this.containerComponentRef = this.viewContainerRef.createComponent(EclTableSortButtonComponent);\n this.renderer.appendChild(label, this.containerComponentRef.location.nativeElement);\n const sortButtonAriaLabel = this.sortButtonAriaLabel();\n if (sortButtonAriaLabel) {\n this.containerComponentRef.instance.ariaLabel = sortButtonAriaLabel;\n } else {\n this.containerComponentRef.instance.ariaLabel = this.translateService.instant('ecl.table.SORT-LABEL.default');\n }\n }\n }\n\n /**\n * Dynamically creates and appends a column filter field to the header's inner wrapper\n * when filtering is enabled. Emits an `EclFilterTableEvent` (debounced) on input.\n */\n private initFilterField(): void {\n if (this.eclFilterable()) {\n const inner = this.getOrCreateHeaderInner();\n const label = this.filterLabel() ?? this.translateService.instant('ecl.table.FILTER-LABEL');\n const inputId = `${this.headerId()}-filter`;\n\n const wrapper = this.renderer.createElement('span');\n this.renderer.addClass(wrapper, 'ecl-table__filter');\n\n const labelEl = this.renderer.createElement('label');\n this.renderer.addClass(labelEl, 'ecl-table__filter-label');\n this.renderer.setAttribute(labelEl, 'for', inputId);\n this.renderer.appendChild(labelEl, this.renderer.createText(label));\n this.renderer.appendChild(wrapper, labelEl);\n\n const input = this.renderer.createElement('input');\n this.renderer.setAttribute(input, 'type', 'search');\n this.renderer.setAttribute(input, 'id', inputId);\n this.renderer.addClass(input, 'ecl-table__filter-input');\n this.renderer.addClass(input, 'ecl-text-input');\n this.renderer.listen(input, 'input', (event: Event) => this.onFilterInput((event.target as HTMLInputElement).value));\n this.renderer.appendChild(wrapper, input);\n\n this.renderer.appendChild(inner, wrapper);\n }\n }\n\n /**\n * Debounced handler for the column filter field; emits the trimmed keyword.\n */\n private onFilterInput(value: string): void {\n clearTimeout(this.filterTimer);\n this.filterTimer = setTimeout(() => {\n this.filter.emit(new EclFilterTableEvent(value.trim(), this.eclFilterable()));\n }, 300);\n }\n}\n\n/**\n * Directive for applying ECL row styling to a table row element.\n */\n@Directive({\n selector: '[eclTableRow]',\n host: {\n '[class]': 'cssClasses()',\n },\n})\nexport class EclTableRowDirective extends ECLBaseDirective {\n /**\n * Applies `ecl-table__row` class to the table row.\n */\n protected readonly cssClasses = computed<string>(() =>\n super.getCssClasses('ecl-table__row'));\n}\n\n/**\n * Directive for applying ECL body styling to a table body element.\n */\n@Directive({\n selector: '[eclTableBody]',\n host: {\n '[class]': 'cssClasses()',\n },\n})\nexport class EclTableBodyDirective extends ECLBaseDirective {\n /**\n * Applies `ecl-table__body` class to the table body.\n */\n protected readonly cssClasses = computed<string>(() =>\n super.getCssClasses('ecl-table__body'));\n}\n\n/**\n * Directive for styling individual table cells in the ECL table.\n */\n@Directive({\n selector: '[eclTableCell]',\n host: {\n '[attr.data-ecl-table-header]': 'eclTableCellHeader()',\n '[class]': 'cssClasses()',\n },\n})\nexport class EclTableCellDirective extends ECLBaseDirective {\n /**\n * Provides a reference to the related table header.\n * Sets the `data-ecl-table-header` attribute for accessibility or responsive behavior.\n */\n readonly eclTableCellHeader = input<string>();\n\n /**\n * If `true`, applies additional group styling to the cell.\n */\n readonly isGroup = input(false, { transform: booleanAttribute });\n\n /**\n * Computes and applies appropriate CSS classes for the table cell.\n */\n protected readonly cssClasses = computed<string>(() =>\n [super.getCssClasses('ecl-table__cell'), this.isGroup() ? 'ecl-table__cell--group' : ''].join(' ').trim());\n}\n\n/**\n * Directive used to group multiple table cells under a shared header group.\n */\n@Directive({\n selector: '[eclTableCellGroup]',\n host: {\n '[attr.data-ecl-table-header-group]': 'cellGroup()',\n '[class]': 'cssClasses()',\n },\n})\nexport class EclTableCellGroupDirective extends ECLBaseDirective implements AfterViewInit {\n /**\n * Sets the `data-ecl-table-header-group` attribute to link to a header group.\n */\n readonly eclTableCellGroup = input<string>();\n\n /**\n * Writable internal group value, seeded from the `eclTableCellGroup` input.\n * An empty string is normalized to `null` so the attribute is omitted.\n */\n protected cellGroup = linkedSignal(() => this.eclTableCellGroup());\n\n /**\n * Applies the group-specific cell class.\n */\n protected readonly cssClasses = computed<string>(() =>\n super.getCssClasses('ecl-table__cell--group'));\n\n private cd = inject(ChangeDetectorRef);\n /**\n * Ensures `data-ecl-table-header-group` is not empty and triggers change detection.\n */\n ngAfterViewInit(): void {\n this.cellGroup.set(this.cellGroup() !== '' ? this.cellGroup() : null);\n this.cd.detectChanges();\n }\n}\n\n/**\n * Directive for applying ECL responsive wrapper to a table container.\n */\n@Directive({\n selector: '[eclTableResponsive]',\n host: {\n '[class]': 'cssClasses()',\n },\n})\nexport class EclTableResponsiveDirective extends ECLBaseDirective {\n /**\n * Applies the `ecl-table-responsive` class.\n */\n protected readonly cssClasses = computed<string>(() =>\n super.getCssClasses('ecl-table-responsive'));\n}\n\n/**\n * Directive for applying styling to a table caption element.\n */\n@Directive({\n selector: 'caption[eclTableCaption]',\n host: {\n '[class.ecl-table__caption]': 'true',\n },\n})\nexport class EclTableCaptionDirective extends ECLBaseDirective {}\n","import {\n EclTableDirective,\n EclTableHeadDirective,\n EclTableHeaderDirective,\n EclTableRowDirective,\n EclTableBodyDirective,\n EclTableCellDirective,\n EclTableCellGroupDirective,\n EclTableResponsiveDirective,\n EclTableCaptionDirective,\n} from './ecl-table.directive';\nimport { EclTableSortButtonComponent } from './ecl-table-sort-button.component';\n\nexport * from './ecl-table.directive';\nexport * from './ecl-table-sort-button.component';\nexport * from './events/ecl-sort-table.event';\nexport * from './events/ecl-filter-table.event';\n\nexport const EUI_ECL_TABLE = [\n EclTableCaptionDirective,\n EclTableDirective,\n EclTableHeadDirective,\n EclTableHeaderDirective,\n EclTableRowDirective,\n EclTableBodyDirective,\n EclTableCellDirective,\n EclTableCellGroupDirective,\n EclTableSortButtonComponent,\n EclTableResponsiveDirective,\n] as const;"],"mappings":";;;;;;;;AAyBA,IAAa,8BAAb,MAAa,oCAAoC,iBAAgB;CAVjE,cAAA;;EAWI,KAAA,kBAAkB,OAAO,eAAe;EAMxC,KAAA,YAAY;EAMO,KAAA,aAAa,eAC5B,MAAM,cAAc,kBAAkB,GAAE,GAAA,YAAA,CAAA,EAAA,WAAA,aAAA,CAAA,+BAAA,CAAA,CAAA;CAC/C;CAfY;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAA2B,MAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAA3B;EAAA,KAAA,OAAA,GAAA,qBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,MAAA;GAA2B,cAAA;GAAA,UAAA;GAAA,MAAA,EAAA,YAAA;IAAA,mBAAA;IAAA,SAAA;GAAA,EAAA;GAAA,iBAAA;GAAA,UAAA;GAAA,UCzBxC;GAEA,cAAA,CAAA;IAAA,MAAA;IAAA,MAAA,GAAA;IAAA,UAAA;IAAA,QAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;IAAA;GAAA,GAAA;IAAA,MAAA;IAAA,MDiB+B;IAAS,MAAA;GAAA,CAAA;EAAA,CAAA;CAAA;;AAM3B,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAA2B,YAAA,CAAA;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,GAAA,gBAAA;EAAA,CAAA;CAAA;CAA3B;EAAA,KAAA,OAAA,GAAA,qBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,MAAA;GAA2B,cAAA;GAAA,UAAA;GAAA,MAAA,EAAA,YAAA,EAAA,SAAA,eAAA,EAAA;GAAA,iBAAA;GAAA,UAAA;EAAA,CAAA;CAAA;;AAA3B,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAA2B,YAAA,CAAA;EANvC,MAAA;EAAU,MAAA,CAAA;GACP,UAAU;GACV,MAAM,EACF,WAAW,eACd;EACJ,CAAA;;;AAkBD,IAAa,2BAAb,MAAa,iCAAiC,iBAAgB;CAAjD;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAwB,MAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAAxB;EAAA,KAAA,OAAA,GAAA,qBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,MAAA;GAAwB,cAAA;GAAA,UAAA;GAAA,MAAA,EAAA,YAAA,EAAA,4BAAA,OAAA,EAAA;GAAA,iBAAA;GAAA,UAAA;EAAA,CAAA;CAAA;;AAAxB,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAwB,YAAA,CAAA;EANpC,MAAA;EAAU,MAAA,CAAA;GACP,UAAU;GACV,MAAM,EACF,8BAA8B,OACjC;EACJ,CAAA;;;AC/rBD,MAAa,gBAAgB;CACzB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACM"}
1
+ {"version":3,"file":"eui-ecl-components-ecl-table.mjs","names":[],"sources":["../../components/ecl-table/ecl-table-sort-button.component.ts","../../components/ecl-table/ecl-table-sort-button.component.html","../../components/ecl-table/events/ecl-sort-table.event.ts","../../components/ecl-table/events/ecl-filter-table.event.ts","../../components/ecl-table/ecl-table.directive.ts","../../components/ecl-table/index.ts"],"sourcesContent":["import { Component, computed, inject } from '@angular/core';\nimport { AsyncPipe } from '@angular/common';\nimport { EclThemeService } from '@eui/ecl/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EUI_ECL_ICON } from '@eui/ecl/components/ecl-icon';\n\n/**\n * Internal sort button rendered inside sortable `EclTableHeaderDirective` cells.\n * Provides an ECL-styled arrow icon and an `aria-label` for screen-reader accessibility.\n * Created and appended programmatically by `EclTableHeaderDirective`; not used in templates directly.\n *\n * - Selector: `button[eclTableSortButton]`.\n * - `ariaLabel` defaults to `'Sort table'` and is updated by the parent header directive\n * on each sort cycle using the `ecl.table.SORT-LABEL.*` translation keys.\n */\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'button[eclTableSortButton]',\n templateUrl: './ecl-table-sort-button.component.html',\n imports: [...EUI_ECL_ICON, AsyncPipe],\n host: {\n '[attr.aria-label]': 'ariaLabel',\n '[class]': 'cssClasses()',\n },\n})\nexport class EclTableSortButtonComponent extends ECLBaseDirective {\n eclThemeService = inject(EclThemeService);\n\n /**\n * Accessibility label describing the button's function.\n * This value is bound to the `aria-label` attribute.\n */\n ariaLabel = 'Sort table';\n\n /**\n * CSS classes applied to the host element.\n * Includes ECL base table sort arrow styling.\n */\n protected readonly cssClasses = computed<string>(() =>\n super.getCssClasses('ecl-table__arrow'));\n}\n","<ecl-icon icon=\"solid-arrow\" class=\"ecl-table__icon ecl-table__icon-up\" [size]=\"(eclThemeService.isEC$ | async) ? 'xs' : 'm'\"> </ecl-icon>\n<ecl-icon icon=\"solid-arrow\" class=\"ecl-table__icon ecl-table__icon-down\" [size]=\"(eclThemeService.isEC$ | async) ? 'xs' : 'm'\"> </ecl-icon>\n","import { EclBaseEvent } from '@eui/ecl/core';\nimport { SortOrder } from '../ecl-table.directive';\n\n/**\n * Event emitted when the table sort order changes.\n *\n * Extends the base ECL event to provide sorting-specific information.\n */\nexport class EclSortTableEvent extends EclBaseEvent {\n constructor(\n /**\n * The order in which the table is currently sorted.\n * Can be 'ascending', 'descending', or null (unsorted).\n */\n public sortOrder: SortOrder | null,\n\n /**\n * The identifier of the column that triggered the sort event.\n */\n public columnId: string,\n ) {\n super();\n }\n}\n","import { EclBaseEvent } from '@eui/ecl/core';\n\n/**\n * Event emitted when a table column filter value changes.\n *\n * Extends the base ECL event to provide filtering-specific information.\n */\nexport class EclFilterTableEvent extends EclBaseEvent {\n constructor(\n /**\n * The current keyword typed in the column filter field (trimmed).\n * Empty string means the column filter is cleared.\n */\n public keyword: string,\n\n /**\n * The identifier of the column that triggered the filter event.\n */\n public columnId: string,\n ) {\n super();\n }\n}\n","import {\n AfterContentInit,\n Directive,\n ElementRef,\n forwardRef,\n ViewContainerRef,\n booleanAttribute,\n Renderer2,\n AfterViewInit,\n ChangeDetectorRef,\n computed,\n OnInit,\n inject,\n ComponentRef,\n afterNextRender,\n effect,\n input,\n output,\n linkedSignal,\n contentChildren,\n} from '@angular/core';\nimport { Subscription } from 'rxjs';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclTableSortButtonComponent } from './ecl-table-sort-button.component';\nimport { EclSortTableEvent } from './events/ecl-sort-table.event';\nimport { EclFilterTableEvent } from './events/ecl-filter-table.event';\nimport { TranslateService } from '@ngx-translate/core';\n\n/**\n * Enum representing the sort order of a column.\n */\nexport enum SortOrder {\n DESCENDING = 'descending',\n ASCENDING = 'ascending',\n}\n\n/**\n * Directive for styling and managing ECL-compliant tables.\n * Applies ECL table classes to the host element and coordinates column-level sort events\n * by aggregating `sort` outputs from projected `EclTableHeaderDirective` children.\n *\n * - Selector: `[eclTable]`.\n * - `isZebra` adds alternating row shading (`ecl-table--zebra`).\n * - `isSimple` opts out of the enhanced mobile layout in favour of horizontal scrolling (`ecl-table--simple`).\n * Automatically forced to `true` when no header directives are projected.\n * - `id` sets the HTML `id` attribute; a UUID is generated when omitted.\n * - Emits `sort` (`EclSortTableEvent`) whenever a sortable column header is clicked.\n * - Companion directives: `[eclTableHead]`, `[eclTableHeader]`, `[eclTableRow]`, `[eclTableBody]`,\n * `[eclTableCell]`, `[eclTableCellGroup]`, `[eclTableResponsive]`, `caption[eclTableCaption]`.\n */\n@Directive({\n selector: '[eclTable]',\n host: {\n '[attr.id]': 'tableId()',\n '[class]': 'cssClasses()',\n },\n})\nexport class EclTableDirective extends ECLBaseDirective implements OnInit, AfterContentInit {\n /**\n * Applies zebra striping to the table rows by adding the `ecl-table--zebra` class if true.\n */\n readonly isZebra = input(false, { transform: booleanAttribute });\n\n /**\n * Opts out of the enhanced mobile layout and applies the \"simple\" table variant\n * by adding the `ecl-table--simple` class.\n *\n * This only affects narrow (mobile) viewports; on desktop both variants render as\n * a standard table, so this input is effectively a no-op there.\n * - Default (enhanced): on mobile each row collapses into a stacked, card-like layout\n * that uses the `eclTableCellHeader` value as the label for each cell.\n * - Simple: on mobile the table keeps its native structure and scrolls horizontally\n * inside the responsive wrapper instead of collapsing.\n *\n * Automatically enabled if no header is detected, since the enhanced mobile layout\n * has no header labels to project onto the cells.\n */\n readonly isSimple = input(false, { transform: booleanAttribute });\n\n /**\n * Writable internal \"simple\" state, seeded from the `isSimple` input.\n * May be forced to `true` internally when no header is detected.\n */\n private isSimpleTable = linkedSignal(() => this.isSimple());\n\n /**\n * The HTML ID attribute of the table. If not provided, a UUID is generated.\n */\n readonly id = input<string>();\n\n /**\n * Writable internal id, seeded from the `id` input and falling back to a\n * generated UUID when none is provided.\n */\n protected tableId = linkedSignal(() => this.id());\n\n /**\n * Computed list of CSS classes for the host element.\n */\n protected readonly cssClasses = computed<string>(() =>\n [super.getCssClasses('ecl-table'), this.isZebra() ? 'ecl-table--zebra' : '', this.isSimpleTable() ? 'ecl-table--simple' : ''].join(' ').trim());\n\n /**\n * Emits an event when a column sort is triggered.\n */\n readonly sort = output<EclSortTableEvent>();\n\n /**\n * Emits an event when a column filter value changes.\n */\n readonly filter = output<EclFilterTableEvent>();\n\n /**\n * List of header directives detected in the content.\n */\n readonly eclTableHeaders = contentChildren(forwardRef(() => EclTableHeaderDirective), { descendants: true });\n\n private el = inject(ElementRef);\n\n /** Current keyword for each filterable column, keyed by column identifier. */\n private activeFilters = new Map<string, string>();\n\n constructor() {\n super();\n\n // Re-emit each header's sort and filter events through the table's own outputs.\n // Re-subscribes whenever the set of headers changes, disposing the previous\n // subscriptions so removed headers don't leak.\n effect((onCleanup) => {\n const subscription = new Subscription();\n this.eclTableHeaders().forEach((header) => {\n subscription.add(header.sort.subscribe((evt: EclSortTableEvent) => this.sort.emit(evt)));\n subscription.add(\n header.filter.subscribe((evt: EclFilterTableEvent) => {\n this.applyFilter(evt);\n this.filter.emit(evt);\n }),\n );\n });\n onCleanup(() => subscription.unsubscribe());\n });\n }\n\n /**\n * Lifecycle hook that runs on component initialization.\n * Generates a unique ID if none is provided.\n */\n ngOnInit(): void {\n if (!this.tableId()) {\n this.tableId.set(crypto.randomUUID());\n }\n }\n\n /**\n * Lifecycle hook that runs after content is fully initialized.\n * Determines if the table should be rendered in \"simple\" mode.\n */\n ngAfterContentInit(): void {\n this.convertToSimpleVariant();\n }\n\n /**\n * Forces the \"simple\" variant when no header directives are found.\n *\n * The enhanced mobile layout relies on header cells to supply the per-cell labels\n * (via `eclTableCellHeader`); without headers there is nothing to project, so the\n * table falls back to the simple (horizontal-scroll) variant on mobile.\n */\n private convertToSimpleVariant(): void {\n if (this.eclTableHeaders().length === 0) {\n this.isSimpleTable.set(true);\n }\n }\n\n /**\n * Applies the built-in row filtering.\n *\n * Records the latest keyword for the column that emitted the event, then shows/hides\n * every body row: a row stays visible only if it matches every active column filter\n * (case-insensitive substring). Rows are toggled via the native `hidden` attribute.\n */\n private applyFilter(evt: EclFilterTableEvent): void {\n if (evt.keyword) {\n this.activeFilters.set(evt.columnId, evt.keyword.toLowerCase());\n } else {\n this.activeFilters.delete(evt.columnId);\n }\n\n const table: HTMLTableElement = this.el.nativeElement;\n const tbody = table.querySelector('tbody');\n if (!tbody) {\n return;\n }\n\n const columnIndexes = this.mapColumnIndexes(table);\n const rows = Array.from(tbody.rows);\n\n rows.forEach((row) => {\n const isVisible = [...this.activeFilters.entries()].every(([columnId, keyword]) => {\n const colIndex = columnIndexes.get(columnId);\n if (colIndex === undefined) {\n return true;\n }\n const cell = row.cells[colIndex];\n return !!cell && cell.textContent.toLowerCase().includes(keyword);\n });\n row.hidden = !isVisible;\n });\n }\n\n /**\n * Maps every sortable/filterable column identifier to its actual column index in the\n * `<thead>`, taking `rowspan` and `colspan` into account so filter inputs line up with\n * body cells.\n *\n * Column ids come from the header directive instances (not DOM attributes), so a cell's\n * identifier is resolved by matching the DOM cell to its `EclTableHeaderDirective` by\n * element identity.\n */\n private mapColumnIndexes(table: HTMLTableElement): Map<string, number> {\n const columnIndexes = new Map<string, number>();\n const thead = table.querySelector('thead');\n if (!thead) {\n return columnIndexes;\n }\n\n // Index the header directives by their host element for O(1) lookup.\n const headerByElement = new Map<HTMLElement, EclTableHeaderDirective>();\n this.eclTableHeaders().forEach((header) => {\n headerByElement.set(header.hostElement, header);\n });\n\n const rowSpans: number[] = [];\n Array.from(thead.rows).forEach((row) => {\n let col = 0;\n Array.from(row.cells).forEach((cell) => {\n while (rowSpans[col] > 0) {\n col += 1;\n }\n\n const columnId = headerByElement.get(cell as HTMLElement)?.columnId;\n if (columnId) {\n columnIndexes.set(columnId, col);\n }\n\n const colspan = Number(cell.getAttribute('colspan')) || 1;\n const rowspan = Number(cell.getAttribute('rowspan')) || 1;\n for (let i = col; i < col + colspan; i += 1) {\n rowSpans[i] = rowspan;\n }\n col += colspan;\n });\n\n for (let i = 0; i < rowSpans.length; i += 1) {\n if (rowSpans[i] > 0) {\n rowSpans[i] -= 1;\n }\n }\n });\n\n return columnIndexes;\n }\n}\n\n/**\n * Directive applied to `<thead>` elements inside a table.\n * Detects header changes and manages ARIA attributes.\n */\n@Directive({\n selector: '[eclTableHead]',\n host: {\n '[class]': 'cssClasses()',\n },\n})\nexport class EclTableHeadDirective extends ECLBaseDirective {\n /**\n * Applies the ECL head class to the element.\n */\n protected readonly cssClasses = computed<string>(() =>\n super.getCssClasses('ecl-table__head'));\n\n /**\n * List of header directives under this head element.\n */\n readonly eclTableHeaders = contentChildren(forwardRef(() => EclTableHeaderDirective), { descendants: true });\n\n constructor() {\n super();\n\n // When any header is sorted, reset the `aria-sort` state on every header so\n // only the active column reports a sort direction. Re-subscribes whenever the\n // set of headers changes, disposing the previous subscriptions.\n effect((onCleanup) => {\n const headers = this.eclTableHeaders();\n const subscription = new Subscription();\n headers.forEach((header) => {\n subscription.add(\n header.sort.subscribe(() => {\n headers.forEach((th) => th.removeAriaSort());\n }),\n );\n });\n onCleanup(() => subscription.unsubscribe());\n });\n }\n}\n\n/**\n * Directive representing a single table header cell in an ECL table.\n * Supports sorting functionality and accessibility attributes.\n */\n@Directive({\n selector: '[eclTableHeader]',\n host: {\n '[attr.aria-sort]': 'ariaSort',\n '[attr.data-ecl-table-sort-toggle]': 'eclSortable()',\n '[attr.scope]': 'scope()',\n '[attr.id]': 'headerId()',\n '[class]': 'cssClasses()',\n '[class.ecl-table__header--sortable]': 'isSortable',\n '[class.ecl-table__header--filterable]': 'isFilterable',\n '(click)': 'onClick($event)',\n },\n})\nexport class EclTableHeaderDirective extends ECLBaseDirective implements OnInit {\n /**\n * Current sort order of the column (`ascending`, `descending`, or `null`).\n * This sets the `aria-sort` attribute used for accessibility.\n */\n sortOrder: SortOrder | null = null;\n\n get ariaSort(): SortOrder | 'none' {\n return this.sortOrder ?? 'none';\n }\n\n /**\n * Enables sorting on the header. Also sets the `data-ecl-table-sort-toggle` attribute.\n * Acts as the unique identifier for the column when sorting.\n */\n readonly eclSortable = input<string | null>(null);\n\n /**\n * Enables filtering on the header.\n * Acts as the unique identifier for the column when filtering.\n */\n readonly eclFilterable = input<string | null>(null);\n\n /**\n * Scope of the table header. Default is `col`. Sets the `scope` attribute.\n */\n readonly scope = input('col');\n\n /**\n * HTML `id` attribute of the table header cell. If not provided, a UUID will be generated.\n */\n readonly id = input<string>();\n\n /**\n * Writable internal id, seeded from the `id` input and falling back to a\n * generated UUID when none is provided.\n */\n protected headerId = linkedSignal(() => this.id());\n\n /**\n * Aria-label for the sort button that will be injected into the header cell.\n *\n * When provided, the value is used verbatim: it is NOT translated and is NOT\n * updated as the sort direction changes. The consumer is responsible for passing\n * an already-localized string (e.g. `[sortButtonAriaLabel]=\"'my.key' | translate\"`).\n *\n * When omitted, the directive manages the label internally and translates it via\n * the `ecl.table.SORT-LABEL.*` keys, updating it on each sort toggle.\n */\n readonly sortButtonAriaLabel = input<string>();\n\n /**\n * Visible label for the filter field that will be injected into the header cell.\n * The label is rendered screen-reader-only by the ECL styles.\n * Falls back to the `ecl.table.FILTER-LABEL` translation when not provided.\n */\n readonly filterLabel = input<string>();\n\n /**\n * Applies the `ecl-table__header--sortable` modifier when the header is sortable.\n */\n get isSortable(): boolean {\n return !!this.eclSortable();\n }\n\n /**\n * Applies the `ecl-table__header--filterable` modifier when the header is filterable.\n */\n get isFilterable(): boolean {\n return !!this.eclFilterable();\n }\n\n /**\n * Computes the CSS classes applied to the header element.\n */\n protected readonly cssClasses = computed<string>(() =>\n super.getCssClasses('ecl-table__header'));\n\n /**\n * Emits an `EclSortTableEvent` when the header is clicked and sorting is triggered.\n */\n readonly sort = output<EclSortTableEvent>();\n\n /**\n * Emits an `EclFilterTableEvent` when the column's filter field value changes.\n */\n readonly filter = output<EclFilterTableEvent>();\n\n private containerComponentRef: ComponentRef<EclTableSortButtonComponent> | undefined;\n private el = inject(ElementRef);\n private viewContainerRef = inject(ViewContainerRef);\n private renderer = inject(Renderer2);\n private translateService = inject(TranslateService);\n\n /** Debounce timer for filter input changes. */\n private filterTimer: ReturnType<typeof setTimeout> | undefined;\n\n /**\n * The native `<th>` element this directive is attached to.\n * Used by the parent table to map a header to its column index.\n */\n get hostElement(): HTMLElement {\n return this.el.nativeElement;\n }\n\n /**\n * Column identifier used by the parent table to key sort/filter state.\n * Prefers the filter id, falling back to the sort id.\n */\n get columnId(): string | null {\n return this.eclFilterable() ?? this.eclSortable();\n }\n\n constructor() {\n super();\n\n // Inject the sort button and filter field after the next render. `afterNextRender`\n // only runs in the browser, so the DOM is manipulated client-side (never during SSR).\n afterNextRender(() => {\n this.initSortButtons();\n this.initFilterField();\n });\n }\n\n /**\n * Lifecycle hook that runs on component initialization.\n * Generates a unique `id` if not already defined.\n */\n ngOnInit(): void {\n if (!this.headerId()) {\n this.headerId.set(crypto.randomUUID());\n }\n }\n\n /**\n * Clears the `aria-sort` attribute, used to visually and semantically reset previous sort state.\n *\n * Remove the dark arrow for current sorting from prev sorted column\n */\n removeAriaSort(): void {\n this.renderer.setAttribute(this.el.nativeElement, 'aria-sort', 'none');\n }\n\n /**\n * Handles click events on the header.\n * Cycles through sort orders: `null` -> `ascending` -> `descending` -> `null`.\n * Emits a `EclSortTableEvent` with the updated sort state and column identifier.\n *\n * Click triggers 1 -> asc sorting, 2 -> desc sorting then 3 -> initial sorting\n */\n onClick(evt: Event): void {\n // Clicking inside the filter field must not trigger sorting.\n if ((evt.target as HTMLElement)?.closest('.ecl-table__filter')) {\n return;\n }\n if (this.eclSortable()) {\n switch (this.sortOrder) {\n case null: {\n this.sortOrder = SortOrder.ASCENDING;\n this.changeButtonAriaLabel(this.translateService.instant('ecl.table.SORT-LABEL.ascending'));\n break;\n }\n case SortOrder.ASCENDING: {\n this.sortOrder = SortOrder.DESCENDING;\n this.changeButtonAriaLabel(this.translateService.instant('ecl.table.SORT-LABEL.descending'));\n break;\n }\n case SortOrder.DESCENDING: {\n this.sortOrder = null;\n this.changeButtonAriaLabel(this.translateService.instant('ecl.table.SORT-LABEL.default'));\n break;\n }\n }\n\n this.sort.emit(new EclSortTableEvent(this.sortOrder, this.eclSortable()!));\n }\n }\n\n private changeButtonAriaLabel(newAriaLabel: string): void {\n if (!this.sortButtonAriaLabel() && this.containerComponentRef) {\n this.containerComponentRef.instance.ariaLabel = newAriaLabel;\n }\n }\n\n /**\n * Creates (or returns the existing) `.ecl-table__header-inner` wrapper used to lay out the\n * header content. On first call the header's current content is moved into a nested\n * `.ecl-table__header-label`, so the sort arrow can live inside the label and the filter\n * field can be appended underneath, matching the upstream ECL markup.\n */\n private getOrCreateHeaderInner(): HTMLElement {\n const host: HTMLElement = this.el.nativeElement;\n let inner: HTMLElement | null = host.querySelector(':scope > .ecl-table__header-inner');\n if (!inner) {\n inner = this.renderer.createElement('span');\n this.renderer.addClass(inner, 'ecl-table__header-inner');\n\n const label = this.renderer.createElement('span');\n this.renderer.addClass(label, 'ecl-table__header-label');\n while (host.firstChild) {\n this.renderer.appendChild(label, host.firstChild);\n }\n this.renderer.appendChild(inner, label);\n\n this.renderer.appendChild(host, inner);\n }\n return inner as HTMLElement;\n }\n\n /**\n * Dynamically creates and appends the sort button to the header's label wrapper.\n * Optionally sets the button's `aria-label` if provided.\n */\n private initSortButtons(): void {\n if (this.eclSortable()) {\n const inner = this.getOrCreateHeaderInner();\n const label = inner.querySelector('.ecl-table__header-label');\n\n this.containerComponentRef = this.viewContainerRef.createComponent(EclTableSortButtonComponent);\n this.renderer.appendChild(label, this.containerComponentRef.location.nativeElement);\n const sortButtonAriaLabel = this.sortButtonAriaLabel();\n if (sortButtonAriaLabel) {\n this.containerComponentRef.instance.ariaLabel = sortButtonAriaLabel;\n } else {\n this.containerComponentRef.instance.ariaLabel = this.translateService.instant('ecl.table.SORT-LABEL.default');\n }\n }\n }\n\n /**\n * Dynamically creates and appends a column filter field to the header's inner wrapper\n * when filtering is enabled. Emits an `EclFilterTableEvent` (debounced) on input.\n */\n private initFilterField(): void {\n if (this.eclFilterable()) {\n const inner = this.getOrCreateHeaderInner();\n const label = this.filterLabel() ?? this.translateService.instant('ecl.table.FILTER-LABEL');\n const inputId = `${this.headerId()}-filter`;\n\n const wrapper = this.renderer.createElement('span');\n this.renderer.addClass(wrapper, 'ecl-table__filter');\n\n const labelEl = this.renderer.createElement('label');\n this.renderer.addClass(labelEl, 'ecl-table__filter-label');\n this.renderer.setAttribute(labelEl, 'for', inputId);\n this.renderer.appendChild(labelEl, this.renderer.createText(label));\n this.renderer.appendChild(wrapper, labelEl);\n\n const input = this.renderer.createElement('input');\n this.renderer.setAttribute(input, 'type', 'search');\n this.renderer.setAttribute(input, 'id', inputId);\n this.renderer.addClass(input, 'ecl-table__filter-input');\n this.renderer.addClass(input, 'ecl-text-input');\n this.renderer.listen(input, 'input', (event: Event) => this.onFilterInput((event.target as HTMLInputElement).value));\n this.renderer.appendChild(wrapper, input);\n\n this.renderer.appendChild(inner, wrapper);\n }\n }\n\n /**\n * Debounced handler for the column filter field; emits the trimmed keyword.\n */\n private onFilterInput(value: string): void {\n clearTimeout(this.filterTimer);\n this.filterTimer = setTimeout(() => {\n this.filter.emit(new EclFilterTableEvent(value.trim(), this.eclFilterable()!));\n }, 300);\n }\n}\n\n/**\n * Directive for applying ECL row styling to a table row element.\n */\n@Directive({\n selector: '[eclTableRow]',\n host: {\n '[class]': 'cssClasses()',\n },\n})\nexport class EclTableRowDirective extends ECLBaseDirective {\n /**\n * Applies `ecl-table__row` class to the table row.\n */\n protected readonly cssClasses = computed<string>(() =>\n super.getCssClasses('ecl-table__row'));\n}\n\n/**\n * Directive for applying ECL body styling to a table body element.\n */\n@Directive({\n selector: '[eclTableBody]',\n host: {\n '[class]': 'cssClasses()',\n },\n})\nexport class EclTableBodyDirective extends ECLBaseDirective {\n /**\n * Applies `ecl-table__body` class to the table body.\n */\n protected readonly cssClasses = computed<string>(() =>\n super.getCssClasses('ecl-table__body'));\n}\n\n/**\n * Directive for styling individual table cells in the ECL table.\n */\n@Directive({\n selector: '[eclTableCell]',\n host: {\n '[attr.data-ecl-table-header]': 'eclTableCellHeader()',\n '[class]': 'cssClasses()',\n },\n})\nexport class EclTableCellDirective extends ECLBaseDirective {\n /**\n * Provides a reference to the related table header.\n * Sets the `data-ecl-table-header` attribute for accessibility or responsive behavior.\n */\n readonly eclTableCellHeader = input<string>();\n\n /**\n * If `true`, applies additional group styling to the cell.\n */\n readonly isGroup = input(false, { transform: booleanAttribute });\n\n /**\n * Computes and applies appropriate CSS classes for the table cell.\n */\n protected readonly cssClasses = computed<string>(() =>\n [super.getCssClasses('ecl-table__cell'), this.isGroup() ? 'ecl-table__cell--group' : ''].join(' ').trim());\n}\n\n/**\n * Directive used to group multiple table cells under a shared header group.\n */\n@Directive({\n selector: '[eclTableCellGroup]',\n host: {\n '[attr.data-ecl-table-header-group]': 'cellGroup()',\n '[class]': 'cssClasses()',\n },\n})\nexport class EclTableCellGroupDirective extends ECLBaseDirective implements AfterViewInit {\n /**\n * Sets the `data-ecl-table-header-group` attribute to link to a header group.\n */\n readonly eclTableCellGroup = input<string>();\n\n /**\n * Writable internal group value, seeded from the `eclTableCellGroup` input.\n * An empty string is normalized to `null` so the attribute is omitted.\n */\n protected cellGroup = linkedSignal(() => this.eclTableCellGroup());\n\n /**\n * Applies the group-specific cell class.\n */\n protected readonly cssClasses = computed<string>(() =>\n super.getCssClasses('ecl-table__cell--group'));\n\n private cd = inject(ChangeDetectorRef);\n /**\n * Ensures `data-ecl-table-header-group` is not empty and triggers change detection.\n */\n ngAfterViewInit(): void {\n this.cellGroup.set(this.cellGroup() !== '' ? this.cellGroup() : undefined);\n this.cd.detectChanges();\n }\n}\n\n/**\n * Directive for applying ECL responsive wrapper to a table container.\n */\n@Directive({\n selector: '[eclTableResponsive]',\n host: {\n '[class]': 'cssClasses()',\n },\n})\nexport class EclTableResponsiveDirective extends ECLBaseDirective {\n /**\n * Applies the `ecl-table-responsive` class.\n */\n protected readonly cssClasses = computed<string>(() =>\n super.getCssClasses('ecl-table-responsive'));\n}\n\n/**\n * Directive for applying styling to a table caption element.\n */\n@Directive({\n selector: 'caption[eclTableCaption]',\n host: {\n '[class.ecl-table__caption]': 'true',\n },\n})\nexport class EclTableCaptionDirective extends ECLBaseDirective {}\n","import {\n EclTableDirective,\n EclTableHeadDirective,\n EclTableHeaderDirective,\n EclTableRowDirective,\n EclTableBodyDirective,\n EclTableCellDirective,\n EclTableCellGroupDirective,\n EclTableResponsiveDirective,\n EclTableCaptionDirective,\n} from './ecl-table.directive';\nimport { EclTableSortButtonComponent } from './ecl-table-sort-button.component';\n\nexport * from './ecl-table.directive';\nexport * from './ecl-table-sort-button.component';\nexport * from './events/ecl-sort-table.event';\nexport * from './events/ecl-filter-table.event';\n\nexport const EUI_ECL_TABLE = [\n EclTableCaptionDirective,\n EclTableDirective,\n EclTableHeadDirective,\n EclTableHeaderDirective,\n EclTableRowDirective,\n EclTableBodyDirective,\n EclTableCellDirective,\n EclTableCellGroupDirective,\n EclTableSortButtonComponent,\n EclTableResponsiveDirective,\n] as const;"],"mappings":";;;;;;;;AAyBA,IAAa,8BAAb,MAAa,oCAAoC,iBAAgB;CAVjE,cAAA;;EAWI,KAAA,kBAAkB,OAAO,eAAe;EAMxC,KAAA,YAAY;EAMO,KAAA,aAAa,eAC5B,MAAM,cAAc,kBAAkB,GAAE,GAAA,YAAA,CAAA,EAAA,WAAA,aAAA,CAAA,+BAAA,CAAA,CAAA;CAC/C;CAfY;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAA2B,MAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAA3B;EAAA,KAAA,OAAA,GAAA,qBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,MAAA;GAA2B,cAAA;GAAA,UAAA;GAAA,MAAA,EAAA,YAAA;IAAA,mBAAA;IAAA,SAAA;GAAA,EAAA;GAAA,iBAAA;GAAA,UAAA;GAAA,UCzBxC;GAEA,cAAA,CAAA;IAAA,MAAA;IAAA,MAAA,GAAA;IAAA,UAAA;IAAA,QAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;KAAA;IAAA;GAAA,GAAA;IAAA,MAAA;IAAA,MDiB+B;IAAS,MAAA;GAAA,CAAA;EAAA,CAAA;CAAA;;AAM3B,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA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A,UAAA;GAAA,MAAA;GAA2B,MAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAA3B;EAAA,KAAA,OAAA,GAAA,qBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,MAAA;GAA2B,cAAA;GAAA,UAAA;GAAA,MAAA,EAAA,YAAA,EAAA,SAAA,eAAA,EAAA;GAAA,iBAAA;GAAA,UAAA;EAAA,CAAA;CAAA;;AAA3B,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAA2B,YAAA,CAAA;EANvC,MAAA;EAAU,MAAA,CAAA;GACP,UAAU;GACV,MAAM,EACF,WAAW,eACd;EACJ,CAAA;;;AAkBD,IAAa,2BAAb,MAAa,iCAAiC,iBAAgB;CAAjD;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAwB,MAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAAxB;EAAA,KAAA,OAAA,GAAA,qBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,MAAA;GAAwB,cAAA;GAAA,UAAA;GAAA,MAAA,EAAA,YAAA,EAAA,4BAAA,OAAA,EAAA;GAAA,iBAAA;GAAA,UAAA;EAAA,CAAA;CAAA;;AAAxB,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAwB,YAAA,CAAA;EANpC,MAAA;EAAU,MAAA,CAAA;GACP,UAAU;GACV,MAAM,EACF,8BAA8B,OACjC;EACJ,CAAA;;;AC/rBD,MAAa,gBAAgB;CACzB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACM"}
@@ -83,6 +83,7 @@ var EclTabComponent = class EclTabComponent extends ECLBaseDirective {
83
83
  this.generatedId = signal(crypto.randomUUID(), ...ngDevMode ? [{ debugName: "generatedId" }] : /* istanbul ignore next */ []);
84
84
  this.elementRef = inject(ElementRef);
85
85
  this.isFirstCall = true;
86
+ this.width = 0;
86
87
  effect(() => {
87
88
  this._isActive.set(this.isActive());
88
89
  });
@@ -91,10 +92,10 @@ var EclTabComponent = class EclTabComponent extends ECLBaseDirective {
91
92
  return this.elementRef?.nativeElement;
92
93
  }
93
94
  ngAfterViewInit() {
94
- this.tabLabel = this.label().el.nativeElement.innerHTML;
95
+ this.tabLabel = this.label()?.el.nativeElement.innerHTML;
95
96
  }
96
97
  getTabLabel() {
97
- return this.label().el.nativeElement.innerHTML;
98
+ return this.label()?.el.nativeElement.innerHTML;
98
99
  }
99
100
  getWidth() {
100
101
  if (this.isFirstCall) {
@@ -104,10 +105,10 @@ var EclTabComponent = class EclTabComponent extends ECLBaseDirective {
104
105
  return this.width;
105
106
  }
106
107
  onFocus() {
107
- this.link().onFocus();
108
+ this.link()?.onFocus();
108
109
  }
109
110
  onBlur() {
110
- this.link().onBlur();
111
+ this.link()?.onBlur();
111
112
  }
112
113
  onTabClick() {
113
114
  this.selectTab.emit(new EclTabSelectEvent(this));
@@ -326,6 +327,7 @@ var EclTabsComponent = class EclTabsComponent extends ECLBaseDirective {
326
327
  this.destroyRef = inject(DestroyRef);
327
328
  this.tabsChanges$ = toObservable(this.tabs);
328
329
  this.tabSubscriptions = /* @__PURE__ */ new Map();
330
+ this.diff = null;
329
331
  this.isRtl = false;
330
332
  this.TIMEOUT_INTERVAL = 0;
331
333
  this.differ = this.differs.find([]).create();