@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-site-header.mjs","names":["i3","i4","takeUntil","i1","i2","i3","ARROW_SIZE","i3","ARROW_SIZE","RESIZE_DEBOUNCE","i2","i3","i5","i6","i1"],"sources":["../../components/ecl-site-header/action/ecl-site-header-action.component.ts","../../components/ecl-site-header/action/ecl-site-header-action.component.html","../../components/ecl-site-header/cta/ecl-site-header-cta.directive.ts","../../components/ecl-site-header/custom-action/ecl-site-header-custom-action.directive.ts","../../components/ecl-site-header/custom-action/ecl-site-header-custom-action.component.ts","../../components/ecl-site-header/custom-action/ecl-site-header-custom-action.component.html","../../components/ecl-site-header/ecl-site-header-environment/ecl-site-header-environment.component.ts","../../components/ecl-site-header/events/ecl-site-header-login.event.ts","../../components/ecl-site-header/events/ecl-site-header-language.event.ts","../../components/ecl-site-header/events/ecl-site-header-logo.event.ts","../../components/ecl-site-header/events/ecl-site-header-search.event.ts","../../components/ecl-site-header/events/ecl-area-change.event.ts","../../components/ecl-site-header/language/ecl-site-header-language-popover.component.ts","../../components/ecl-site-header/language/ecl-site-header-language-popover.component.html","../../components/ecl-site-header/language/ecl-site-header-language.component.ts","../../components/ecl-site-header/language/ecl-site-header-language.component.html","../../components/ecl-site-header/login/ecl-site-header-login.component.ts","../../components/ecl-site-header/login/ecl-site-header-login.component.html","../../components/ecl-site-header/login/ecl-site-header-login-details.directive.ts","../../components/ecl-site-header/notification/ecl-site-header-notification.component.ts","../../components/ecl-site-header/notification/ecl-site-header-notification.component.html","../../components/ecl-site-header/picture/ecl-site-header-picture.directive.ts","../../components/ecl-site-header/search/ecl-site-header-search.component.ts","../../components/ecl-site-header/search/ecl-site-header-search.component.html","../../components/ecl-site-header/services/ecl-area-data.service.ts","../../components/ecl-site-header/ecl-site-header.component.ts","../../components/ecl-site-header/ecl-site-header.component.html","../../components/ecl-site-header/index.ts"],"sourcesContent":["import { Component } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Container element for the header's interactive action bar: holds custom-action,\n * login, language-switcher, and search sub-components. Applies `ecl-site-header__action`.\n */\n// TODO: maybe could be part of the header, and we don't need this component?\n@Component({\n selector: 'ecl-site-header-action',\n templateUrl: './ecl-site-header-action.component.html',\n host: {\n class: 'ecl-site-header__action',\n },\n})\nexport class EclSiteHeaderActionComponent extends ECLBaseDirective {}\n","<ng-content select=\"[eclSiteHeaderCustomAction]\"></ng-content>\n<ng-content select=\"ecl-site-header-login\"></ng-content>\n<ng-content select=\"ecl-site-header-language\"></ng-content>\n<ng-content select=\"ecl-site-header-search\"></ng-content>\n","import { Directive } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Directive that marks an element as a call-to-action link inside the site header.\n * Applies `ecl-site-header__cta` and is used in harmonised and standardised header variants.\n */\n@Directive({\n selector: '[eclSiteHeaderCta]',\n host: {\n class: 'ecl-site-header__cta',\n },\n})\nexport class EclSiteHeaderCtaDirective extends ECLBaseDirective {}\n","import { isPlatformBrowser } from '@angular/common';\nimport { AfterContentInit, Directive, PLATFORM_ID, contentChild, forwardRef, inject, input, model, output } from '@angular/core';\nimport { EclIconComponent } from '@eui/ecl/components/ecl-icon';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Toggle-link directive for the custom action slot in the ECL site header.\n * Applied to an `<a>` element, it renders as a tertiary icon-only button that\n * either navigates (when `href`/`routerLink` are set) or opens/closes the custom\n * action overlay (when acting purely as a toggle).\n *\n * - Selector: `a[eclSiteHeaderCustomActionLink]`.\n * - Emits `customActionOverlayToggle` with the new `isOverlayExpanded` boolean when toggled.\n * - `isOverlayExpanded` is public so the parent `EclSiteHeaderCustomActionComponent` can reset it.\n * - Adds `ecl-site-header__icon` to any projected `EclIconComponent` child.\n */\n@Directive({\n selector: 'a[eclSiteHeaderCustomActionLink]',\n host: {\n class: 'ecl-site-header__custom-action-toggle ecl-button ecl-button--tertiary ecl-button--neutral ecl-button--icon-only',\n '[attr.aria-expanded]': 'isOverlayExpanded',\n '[attr.aria-controls]': 'ariaControls',\n '[attr.aria-haspopup]': 'ariaHasPopup',\n '[attr.href]': 'href()',\n '[attr.routerLink]': 'routerLink()',\n '(click)': 'onClick($event)',\n },\n})\nexport class EclSiteHeaderCustomActionLinkDirective extends ECLBaseDirective implements AfterContentInit {\n /** Optional href. When a real URL is provided the element navigates instead of toggling the overlay. */\n readonly href = model<string>();\n /** Optional router link. When provided the element navigates instead of toggling the overlay. */\n readonly routerLink = input<string>();\n\n /** Emitted when the toggle is activated; payload is the new `isOverlayExpanded` state. */\n readonly customActionOverlayToggle = output<boolean>();\n\n /**\n * Whether the overlay is currently expanded.\n * Public so the parent `EclSiteHeaderCustomActionComponent` can reset it on close.\n */\n isOverlayExpanded : boolean;\n\n protected ariaControls : string;\n\n protected ariaHasPopup : string;\n\n private readonly eclIconComponent = contentChild<EclIconComponent>(forwardRef(() => EclIconComponent), { descendants: true });\n private readonly ARIA_CONTROLS = 'custom-action-overlay';\n private readonly platformId = inject(PLATFORM_ID);\n\n ngAfterContentInit(): void {\n if (!isPlatformBrowser(this.platformId)) return;\n if (this.eclIconComponent()) {\n this.eclIconComponent().addExtraClass('ecl-site-header__icon');\n }\n if (!this.hasLink()) {\n this.href.set('#');\n this.isOverlayExpanded = false;\n this.ariaControls = this.ARIA_CONTROLS;\n this.ariaHasPopup = 'dialog';\n }\n }\n\n onClick(evt: Event): void {\n if (!this.hasLink()) {\n this.isOverlayExpanded = !this.isOverlayExpanded;\n evt.preventDefault();\n this.customActionOverlayToggle.emit(this.isOverlayExpanded);\n }\n }\n\n /** Returns `true` when the link element has a real navigation target (non-empty `href` or `routerLink`). */\n hasLink(): boolean {\n return (!!this.href() && this.href() !== '#') || !!this.routerLink();\n }\n}\n\n/**\n * Directive applied to the `<div>` container that holds the custom action overlay content.\n * Applies the `ecl-site-header__custom-action-content` class.\n */\n@Directive({\n selector: 'div[eclSiteHeaderCustomActionContent]',\n host: {\n class: 'ecl-site-header__custom-action-content',\n },\n})\nexport class EclSiteHeaderCustomActionContentDirective extends ECLBaseDirective {}\n\n/**\n * Directive applied to the `<div>` title element inside the custom action overlay.\n * Applies `ecl-site-header__custom-action-title` and sets the element's `id` attribute\n * (default `'custom-action-overlay-title'`) for `aria-labelledby` wiring.\n */\n@Directive({\n selector: 'div[eclSiteHeaderCustomActionTitle]',\n host: {\n class: 'ecl-site-header__custom-action-title',\n '[attr.id]': 'id()',\n },\n})\nexport class EclSiteHeaderCustomActionTitleDirective extends ECLBaseDirective {\n /** ID set on the host element. Used by the overlay's `aria-labelledby` attribute. Default: `'custom-action-overlay-title'`. */\n readonly id = input('custom-action-overlay-title');\n}","import { Component, AfterContentInit, OnDestroy, contentChild } from '@angular/core';\nimport { outputToObservable } from '@angular/core/rxjs-interop';\nimport { A11yModule } from '@angular/cdk/a11y';\nimport { ECLBaseDirective, ECLClickOutsideDirective } from '@eui/ecl/core';\nimport { EclSiteHeaderCustomActionLinkDirective, EclSiteHeaderCustomActionTitleDirective } from './ecl-site-header-custom-action.directive';\nimport { takeUntil, Subject } from 'rxjs';\nimport { EUI_ECL_BUTTON } from '@eui/ecl/components/ecl-button';\nimport { EUI_ECL_ICON } from '@eui/ecl/components/ecl-icon';\n\n/**\n * Component that provides a custom action slot in the ECL site header.\n * Appears before the login, language, and search actions. Contains a toggle button\n * (via `EclSiteHeaderCustomActionLinkDirective`) that opens a dropdown overlay with\n * arbitrary projected content.\n *\n * - Selector: `div[eclSiteHeaderCustomAction]`.\n * - Closes the dropdown on click-outside (`ECLClickOutsideDirective`) and on the Escape key.\n * - Requires a projected `a[eclSiteHeaderCustomActionLink]` as the toggle trigger.\n * - The dropdown title ID is read from a projected `div[eclSiteHeaderCustomActionTitle]`\n * to set `aria-labelledby` on the overlay.\n */\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'div[eclSiteHeaderCustomAction]',\n templateUrl: './ecl-site-header-custom-action.component.html',\n imports: [A11yModule, ...EUI_ECL_BUTTON, ...EUI_ECL_ICON],\n hostDirectives: [\n {\n directive: ECLClickOutsideDirective,\n outputs: ['eclClickOutside'],\n },\n ],\n host: {\n class: 'ecl-site-header__custom-action',\n '(eclClickOutside)': 'onClickOutsideHandler()',\n '(document:keydown.escape)': 'onEscapeKeydownHandler()',\n },\n})\nexport class EclSiteHeaderCustomActionComponent extends ECLBaseDirective implements AfterContentInit, OnDestroy {\n /**\n * Used to expand/collapse the dropdown, if any.\n */\n protected isOverlayExpanded = false;\n protected titleId: string;\n\n private readonly title = contentChild(EclSiteHeaderCustomActionTitleDirective);\n private readonly eclSiteHeaderCustomActionLink = contentChild(EclSiteHeaderCustomActionLinkDirective);\n private destroy$: Subject<boolean> = new Subject<boolean>();\n\n ngAfterContentInit(): void {\n const title = this.title();\n if (title) {\n this.titleId = title.id();\n }\n\n // Subscribe to link output, which toggles the dropdown.\n const eclSiteHeaderCustomActionLink = this.eclSiteHeaderCustomActionLink();\n if (eclSiteHeaderCustomActionLink) {\n outputToObservable(eclSiteHeaderCustomActionLink.customActionOverlayToggle).pipe(takeUntil(this.destroy$)).subscribe((isExpanded) => {\n this.isOverlayExpanded = isExpanded;\n })\n }\n }\n\n ngOnDestroy(): void {\n this.destroy$.next(true);\n this.destroy$.unsubscribe();\n }\n\n /** Closes the overlay programmatically. Called internally on click-outside and Escape key. */\n onCustomActionOverlayClose(): void {\n this.isOverlayExpanded = false;\n const eclSiteHeaderCustomActionLink = this.eclSiteHeaderCustomActionLink();\n if (!eclSiteHeaderCustomActionLink.hasLink()) eclSiteHeaderCustomActionLink.isOverlayExpanded = false;\n }\n\n /**\n * Close the overlay, when clicking outside of it.\n */\n onClickOutsideHandler(): void {\n this.onCustomActionOverlayClose();\n }\n\n /**\n * Close the overlay with ESC key.\n */\n onEscapeKeydownHandler(): void {\n this.onCustomActionOverlayClose();\n }\n}\n","<ng-content select=\"[eclSiteHeaderCustomActionLink]\"></ng-content>\n@if (isOverlayExpanded) {\n <div class=\"ecl-site-header__custom-action-overlay\" id=\"custom-action-overlay\" role=\"dialog\" [attr.aria-labelledby]=\"titleId\" cdkTrapFocus cdkTrapFocusAutoCapture>\n <div class=\"ecl-site-header__custom-action-header\">\n <ng-content select=\"[eclSiteHeaderCustomActionTitle]\"></ng-content>\n <button eclButton variant=\"tertiary\" isIconOnly class=\"ecl-site-header__custom-action-close\" (click)=\"onCustomActionOverlayClose()\">\n <span eclButtonLabel>Close</span>\n <ecl-icon icon=\"close\" size=\"m\"></ecl-icon>\n </button>\n </div>\n <ng-content select=\"[eclSiteHeaderCustomActionContent]\"></ng-content>\n </div>\n}\n","import { BreakpointObserver } from '@angular/cdk/layout';\nimport { Component, computed, ElementRef, OnDestroy, Renderer2, afterNextRender, inject } from '@angular/core';\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Component that displays the current deployment environment label (e.g. `'develop'`,\n * `'acceptance'`) overlaid on the EU/EC logo area in the site header.\n * Applies a rotated, semi-transparent error-background badge over its parent element.\n * Hides itself during print via CSS. Adapts layout between mobile and desktop breakpoints.\n *\n * - Selector: `[eclSiteHeaderEnvironment]` — applied as an attribute on any host element.\n * - Uses `ECLBaseDirective` CSS class infrastructure for the host binding.\n * - Projected text content is the environment label shown to users.\n */\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: '[eclSiteHeaderEnvironment]',\n template: '<ng-content></ng-content>',\n styles: [\n `\n :host {\n position: absolute;\n width: 100%;\n font-size: 1.3rem;\n padding: 0.3rem;\n opacity: 0.6;\n text-align: center;\n transform: rotate(-10deg);\n }\n @media print {\n :host {\n display: none;\n }\n }\n `,\n ],\n host: {\n '[class]': 'cssClasses()',\n },\n})\nexport class EclSiteHeaderEnvironmentComponent extends ECLBaseDirective implements OnDestroy {\n private el = inject(ElementRef);\n private cdkBreakpointObserver = inject(BreakpointObserver);\n private renderer = inject(Renderer2);\n\n protected readonly cssClasses = computed<string>(() =>\n [super.getCssClasses(''), 'ecl-u-type-xl ecl-u-bg-error ecl-u-type-color-white'].join(' '));\n private destroy$: Subject<boolean> = new Subject<boolean>();\n private isMobile = false;\n private parentEl: HTMLElement;\n\n constructor() {\n super();\n afterNextRender(() => {\n const el: HTMLElement = this.el.nativeElement;\n this.parentEl = this.renderer.parentNode(el);\n\n if (this.parentEl) {\n this.renderer.setStyle(this.parentEl, 'display', 'flex');\n this.renderer.setStyle(this.parentEl, 'alignItems', 'center');\n this.renderer.setStyle(this.parentEl, 'position', 'relative');\n }\n this.observeBreakpointChanges();\n });\n }\n\n ngOnDestroy(): void {\n this.destroy$.next(true);\n this.destroy$.unsubscribe();\n }\n\n private observeBreakpointChanges(): void {\n this.cdkBreakpointObserver\n .observe(['(max-width: 480px)'])\n .pipe(takeUntil(this.destroy$))\n .subscribe((result) => {\n this.isMobile = result.matches;\n if (this.isMobile) {\n this.manageMobile();\n } else {\n this.manageDesktop();\n }\n });\n }\n\n private manageMobile(): void {\n if (this.parentEl) {\n this.renderer.setStyle(this.parentEl, 'display', 'block');\n this.renderer.setStyle(this.el.nativeElement, 'width', 'unset');\n }\n }\n\n private manageDesktop(): void {\n if (this.parentEl) {\n this.renderer.setStyle(this.parentEl, 'display', 'flex');\n this.renderer.setStyle(this.el.nativeElement, 'width', '100%');\n }\n }\n}\n","import { EclBaseEvent } from '@eui/ecl/core';\n\n/** Emitted when the user clicks the login button in the ECL site header. */\nexport class EclSiteHeaderLoginEvent extends EclBaseEvent {}\n\n/**\n * Emitted when the login box in the ECL site header is opened or closed.\n *\n * @param isOpen `true` when the login box is now open; `false` when closed.\n */\nexport class EclSiteHeaderLoginBoxToggleEvent extends EclBaseEvent {\n constructor(public isOpen: boolean) {\n super();\n }\n}","import { EclBaseEvent } from '@eui/ecl/core';\nimport { EuiLanguage } from '@eui/core';\n\n/** Emitted when the user clicks the language switcher button in the ECL site header. */\nexport class EclSiteHeaderLanguageClickEvent extends EclBaseEvent {}\n\n/**\n * Emitted when the user selects a language from the ECL site header language switcher.\n *\n * @param language The `EuiLanguage` that the user selected.\n */\nexport class EclSiteHeaderLanguageSelectedEvent extends EclBaseEvent {\n constructor(public language: EuiLanguage) {\n super();\n }\n}\n\n/** Emitted when the language switcher panel in the ECL site header is closed. */\nexport class EclSiteHeaderLanguageCloseEvent extends EclBaseEvent {}","import { EclBaseEvent } from '@eui/ecl/core';\n\n/** Emitted when the user clicks the site logo in the ECL site header. */\nexport class EclSiteHeaderLogoClickEvent extends EclBaseEvent {}","import { EclBaseEvent } from '@eui/ecl/core';\n\n/**\n * Emitted when the user submits a search query from the ECL site header search field.\n *\n * @param keyword The search term entered by the user.\n */\nexport class EclSiteHeaderSearchEvent extends EclBaseEvent {\n constructor(public keyword: string) {\n super();\n }\n}\n\n/**\n * Emitted when the search panel in the ECL site header is opened or closed.\n *\n * @param isOpen `true` when the search panel is now open; `false` when closed.\n */\nexport class EclSiteHeaderSearchToggleEvent extends EclBaseEvent {\n constructor(public isOpen: boolean) {\n super();\n }\n}","\n/**\n * Emitted when the content area dimensions change in the ECL site header (e.g. on resize).\n * Carries the new pixel measurements of the header content region.\n */\nexport class EclAreaChangeEvent {\n private readonly _width: number;\n private readonly _left: number;\n private readonly _right: number;\n\n constructor(width: number, left: number, right: number) {\n this._width = width;\n this._left = left;\n this._right = right;\n }\n\n get width(): number {\n return this._width;\n }\n\n get left(): number {\n return this._left;\n }\n\n get right(): number {\n return this._right;\n }\n}","import { ScrollDispatcher } from '@angular/cdk/scrolling';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { Component, DOCUMENT, ElementRef, NgZone, OnDestroy, afterNextRender, booleanAttribute, computed, inject, output, input, viewChild } from '@angular/core';\nimport { auditTime, fromEvent, Subject, takeUntil } from 'rxjs';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { EuiLanguage } from '@eui/base';\nimport { EclThemeService } from '@eui/ecl/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclSiteHeaderLanguageCloseEvent, EclSiteHeaderLanguageSelectedEvent } from '../events';\nimport { EUI_ECL_BUTTON } from '@eui/ecl/components/ecl-button';\nimport { EUI_ECL_ICON } from '@eui/ecl/components/ecl-icon';\nimport { EUI_ECL_LINK } from '@eui/ecl/components/ecl-link';\n\n/**\n * Language-selection popover dialog rendered by `EclSiteHeaderLanguageComponent`.\n * Lists all configured application languages grouped into EU and non-EU columns.\n * Positioning (push-right, push-left, full-width, stacked columns) is driven by\n * inputs set by the parent component after each open/resize/RTL change.\n *\n * - Selector: `ecl-site-header-language-popover`.\n * - Emits `languageClosed` when the close button is activated.\n * - Emits `languageSelected` when a language link is clicked.\n * - `setLanguageContentMaxHeight` is called by the parent to clamp the scrollable\n * content area to the available viewport height.\n * - `el` (ElementRef) is public so the parent can take layout measurements.\n */\n@Component({\n selector: 'ecl-site-header-language-popover',\n templateUrl: './ecl-site-header-language-popover.component.html',\n imports: [TranslatePipe, NgTemplateOutlet, ...EUI_ECL_BUTTON, ...EUI_ECL_ICON, ...EUI_ECL_LINK],\n host: {\n // The role of the dialog is 'dialog'. Should not be changed.\n role: 'dialog',\n 'aria-labelledby': 'ecl-site-header__language-title',\n '[class]': 'cssClasses()',\n '[style.display]': 'display',\n '[style.right.px]': 'rightPosition()',\n '[style.left.px]': 'leftPosition()',\n '[style.--ecl-overlay-arrow-position]': 'languageArrowPosition()',\n '[attr.aria-modal]': 'isModal',\n '[attr.hidden]': 'isDropdownHidden',\n },\n})\nexport class EclSiteHeaderLanguagePopoverComponent extends ECLBaseDirective implements OnDestroy {\n /**\n * Host element reference. Read by the parent `ecl-site-header-language` to take positioning measurements.\n */\n readonly el = inject(ElementRef);\n\n /** Active language code, used to highlight the current selection in the list. */\n readonly languageCode = input<string>(undefined);\n /** Array of EU languages to render in the EU-languages column group. */\n readonly euLanguages = input<EuiLanguage[]>([]);\n /** Array of non-EU languages to render in the non-EU column group. */\n readonly nonEuLanguages = input<EuiLanguage[]>([]);\n /**\n * Number of columns for the EU languages group.\n * Calculated by the parent `ecl-site-header-language` based on list length.\n */\n readonly euColumnsCount = input<number>(undefined);\n /**\n * Number of columns for the non-EU languages group.\n * Calculated by the parent `ecl-site-header-language` based on list length.\n */\n readonly nonEuColumnsCount = input<number>(undefined);\n /** When `true`, hides the popover. Controlled by the parent. */\n readonly isHidden = input(false, { transform: booleanAttribute });\n /** When `true`, shifts the popover to the right to align with the container edge. Controlled by the parent. */\n readonly isPushRight = input(false, { transform: booleanAttribute });\n /** When `true`, shifts the popover to the left to align with the container edge. Controlled by the parent. */\n readonly isPushLeft = input(false, { transform: booleanAttribute });\n /** When `true`, stacks the EU and non-EU language lists vertically. Controlled by the parent. */\n readonly isStack = input(false, { transform: booleanAttribute });\n /** When `true`, stretches the popover to the full viewport width (mobile). Controlled by the parent. */\n readonly isFull = input(false, { transform: booleanAttribute });\n /** Right offset in pixels for popover positioning. Set by the parent. */\n readonly rightPosition = input<number>(undefined);\n /** Left offset in pixels for popover positioning. Set by the parent. */\n readonly leftPosition = input<number>(undefined);\n /** CSS value for the `--ecl-overlay-arrow-position` custom property. Set by the parent. */\n readonly languageArrowPosition = input<string>(undefined);\n\n /** Emitted when the popover close button is activated. */\n readonly languageClosed = output<EclSiteHeaderLanguageCloseEvent>();\n /** Emitted when a language link is clicked; payload contains the selected `EuiLanguage`. */\n readonly languageSelected = output<EclSiteHeaderLanguageSelectedEvent>();\n\n protected readonly eclThemeService = inject(EclThemeService);\n /**\n * The div, that wraps all the languages.\n */\n protected readonly languageContent = viewChild<ElementRef>('languageContent');\n protected languageContentMaxHeight: number;\n\n private destroy$: Subject<boolean> = new Subject<boolean>();\n private readonly scrollDispatcher = inject(ScrollDispatcher);\n private readonly zone = inject(NgZone);\n private readonly document = inject<Document>(DOCUMENT);\n private readonly window = this.document.defaultView; // Window | null\n\n constructor() {\n super();\n afterNextRender(() => {\n this.subscribeToCDKScrollEvent();\n fromEvent(this.window, 'resize').pipe(\n auditTime(50),\n takeUntil(this.destroy$)).subscribe(() => {\n // Calculate the height after resize. If the window is too small -> scroll should appear.\n setTimeout(() => this.setLanguageContentMaxHeight());\n });\n });\n }\n\n protected readonly cssClasses = computed<string>(() =>\n [\n super.getCssClasses('ecl-site-header__language-container'),\n this.isPushRight() ? 'ecl-site-header__language-container--push-right' : '',\n this.isPushLeft() ? 'ecl-site-header__language-container--push-left' : '',\n this.isFull() ? 'ecl-site-header__language-container--full' : '',\n ]\n .join(' ')\n .trim(),\n );\n\n protected get display(): string {\n return this.isHidden() ? 'none' : 'block';\n }\n\n protected get isModal(): boolean | undefined {\n return !this.isHidden() || undefined;\n }\n\n protected get isDropdownHidden(): boolean | undefined {\n return this.isHidden() || undefined;\n }\n\n ngOnDestroy(): void {\n this.destroy$.next(true);\n this.destroy$.unsubscribe();\n }\n\n onCloseClick(): void {\n this.languageClosed.emit(new EclSiteHeaderLanguageCloseEvent());\n }\n\n onLanguageClick(language: EuiLanguage, evt: MouseEvent): void {\n this.languageSelected.emit(new EclSiteHeaderLanguageSelectedEvent(language));\n\n evt.preventDefault();\n }\n\n /**\n * Set the max-height property of the component. It is calculated depending on the viewport.\n */\n setLanguageContentMaxHeight(): void {\n const viewportHeight = this.window.innerHeight;\n const languageContent = this.languageContent();\n if (languageContent) {\n const listTop = languageContent.nativeElement.getBoundingClientRect().top;\n const availableSpace = viewportHeight - listTop;\n if (availableSpace > 0) {\n this.languageContentMaxHeight = availableSpace;\n }\n }\n }\n\n private subscribeToCDKScrollEvent(): void {\n this.scrollDispatcher.scrolled().pipe(takeUntil(this.destroy$)).subscribe(() => {\n this.zone.run(() => {\n this.setLanguageContentMaxHeight();\n });\n });\n }\n}\n","<div class=\"ecl-site-header__language-header\">\n <div class=\"ecl-site-header__language-title\">\n {{ 'ecl.language-list.SELECT-LANGUAGE' | translate }}\n </div>\n <button eclButton variant=\"tertiary\" eclStyle=\"neutral\" isIconOnly class=\"ecl-site-header__language-close\" (click)=\"onCloseClick()\">\n <span class=\"ecl-button__container\">\n <span class=\"ecl-button__label\">\n {{ 'ecl.common.CLOSE' | translate }}\n </span>\n <ecl-icon icon=\"close\" size=\"m\"></ecl-icon>\n </span>\n </button>\n</div>\n\n<div #languageContent class=\"ecl-site-header__language-content\" [style.max-height.px]=\"languageContentMaxHeight\"\n [class.ecl-site-header__language-content--stack]=\"isStack()\">\n @if (euLanguages().length) {\n <div class=\"ecl-site-header__language-category ecl-site-header__language-category--{{ euColumnsCount() }}-col\">\n <div class=\"ecl-site-header__language-category-title\">\n {{ 'ecl.language-list.EU-LANGUAGES' | translate }}\n </div>\n @if (euLanguages().length === 1) {\n <div class=\"ecl-site-header__language-list\" [attr.translate]=\"'no'\">\n <div class=\"ecl-site-header__language-item\">\n <ng-container [ngTemplateOutlet]=\"languageLink\" [ngTemplateOutletContext]=\"{ $implicit: euLanguages()[0] }\"></ng-container>\n </div>\n </div>\n } @else {\n <ul class=\"ecl-site-header__language-list\" [attr.translate]=\"'no'\">\n @for (item of euLanguages(); track item.code) {\n <li class=\"ecl-site-header__language-item\">\n <ng-container [ngTemplateOutlet]=\"languageLink\" [ngTemplateOutletContext]=\"{ $implicit: item }\"></ng-container>\n </li>\n }\n </ul>\n }\n </div>\n }\n @if (nonEuLanguages().length) {\n <div class=\"ecl-site-header__language-category ecl-site-header__language-category--{{ nonEuColumnsCount() }}-col\">\n <div class=\"ecl-site-header__language-category-title\">\n {{ 'ecl.language-list.NON-EU-LANGUAGES' | translate }}\n </div>\n @if (nonEuLanguages().length === 1) {\n <div class=\"ecl-site-header__language-list\" [attr.translate]=\"'no'\">\n <div class=\"ecl-site-header__language-item\">\n <ng-container [ngTemplateOutlet]=\"languageLink\" [ngTemplateOutletContext]=\"{ $implicit: nonEuLanguages()[0] }\"></ng-container>\n </div>\n </div>\n } @else {\n <ul class=\"ecl-site-header__language-list\" [attr.translate]=\"'no'\">\n @for (item of nonEuLanguages(); track item.code) {\n <li class=\"ecl-site-header__language-item\">\n <ng-container [ngTemplateOutlet]=\"languageLink\" [ngTemplateOutletContext]=\"{ $implicit: item }\"></ng-container>\n </li>\n }\n </ul>\n }\n </div>\n }\n</div>\n\n<ng-template #languageLink let-item>\n <a\n eclLink\n href=\"#\"\n variant=\"standalone\"\n [lang]=\"item.code\"\n [hreflang]=\"item.code\"\n class=\"ecl-site-header__language-link\"\n [class.ecl-site-header__language-link--active]=\"item.code === languageCode()\"\n (click)=\"onLanguageClick(item, $event)\">\n <span class=\"ecl-site-header__language-link-code\">{{ item.code }}</span>\n <span class=\"ecl-site-header__language-link-label\">{{ item.label }}</span>\n </a>\n</ng-template>\n","import {\n AfterViewInit,\n Component,\n computed,\n DOCUMENT,\n ElementRef,\n inject,\n OnDestroy,\n OnInit,\n output,\n viewChild,\n} from '@angular/core';\nimport { UpperCasePipe } from '@angular/common';\nimport { A11yModule } from '@angular/cdk/a11y';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { EuiEuLanguages, GLOBAL_CONFIG_TOKEN, GlobalConfig, I18nService } from '@eui/core';\nimport { EuiLanguage } from '@eui/base';\nimport { ECLBaseDirective, ECLClickOutsideDirective, EclRtlService, EclThemeService } from '@eui/ecl/core';\nimport { debounceTime, fromEvent, Subject, takeUntil } from 'rxjs';\nimport { EclSiteHeaderLanguageClickEvent, EclSiteHeaderLanguageCloseEvent, EclSiteHeaderLanguageSelectedEvent } from '../events';\nimport { EclSiteHeaderLanguagePopoverComponent } from './ecl-site-header-language-popover.component';\nimport { EUI_ECL_ICON } from '@eui/ecl/components/ecl-icon';\n\n/** Half the arrow's own width, matching ECL's `arrowSize`. */\nconst ARROW_SIZE = '0.5rem';\n\n/**\n * Language-switcher sub-component for the ECL site header.\n * Displays the current language as a toggle button; when activated it opens a popover\n * listing all languages configured for the site (EU and non-EU groups).\n *\n * - Selector: `ecl-site-header-language`.\n * - Emits `languageClick` when the current-language toggle is activated.\n * - Emits `languageSelected` when the user picks a language from the dropdown.\n * - Popover positioning (push-left, push-right, full-width, stack) mirrors ECL's\n * `updateOverlayPosition` logic and updates on resize and RTL direction changes.\n * - Closes on click-outside (`ECLClickOutsideDirective`) and on the Escape key.\n * - `languageCode` is public so the parent `ecl-site-header` can read and write it directly.\n */\n@Component({\n selector: 'ecl-site-header-language',\n templateUrl: './ecl-site-header-language.component.html',\n imports: [A11yModule, TranslatePipe, UpperCasePipe, ...EUI_ECL_ICON, EclSiteHeaderLanguagePopoverComponent],\n hostDirectives: [\n {\n directive: ECLClickOutsideDirective,\n outputs: ['eclClickOutside'],\n },\n ],\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n host: {\n '[class]': 'cssClasses()',\n '(eclClickOutside)': 'onClickOutside()',\n '(document:keydown.escape)': 'onEscapeKeydownHandler()',\n },\n})\nexport class EclSiteHeaderLanguageComponent extends ECLBaseDirective implements OnInit, AfterViewInit, OnDestroy {\n /**\n * Emitted when the current-language link is clicked (toggling the dropdown open/closed).\n */\n readonly languageClick = output<EclSiteHeaderLanguageClickEvent>();\n /**\n * Emitted when the user selects a language from the dropdown.\n * Payload contains the selected `EuiLanguage`.\n */\n readonly languageSelected = output<EclSiteHeaderLanguageSelectedEvent>();\n\n /**\n * Current active language code (e.g. `'en'`, `'fr'`).\n * Read and written by the parent `ecl-site-header`.\n */\n languageCode = 'en';\n\n protected readonly eclThemeService = inject(EclThemeService);\n protected readonly config = inject<GlobalConfig>(GLOBAL_CONFIG_TOKEN, { optional: true });\n protected readonly i18nService = inject(I18nService);\n\n protected isLanguagesDropdownVisible = false;\n /**\n * This property is used for dropdown positioning on the screen.\n */\n protected isPushRight: boolean;\n /**\n * This property is used for dropdown positioning on the screen.\n */\n protected isPushLeft: boolean;\n /**\n * This property is used for dropdown positioning on the screen.\n */\n protected isStack: boolean;\n /**\n * This property is used for dropdown positioning on the screen.\n */\n protected isFull: boolean;\n /**\n * This property is used for dropdown positioning on the screen.\n */\n protected languageArrowPosition: string;\n protected rightPosition: number;\n protected leftPosition: number;\n /**\n * Array of EU languages, that can be selected for the current site.\n */\n protected euLanguages: EuiLanguage[] = [];\n /**\n * Array of non-EU languages, that can be selected for the current site.\n */\n protected nonEuLanguages: EuiLanguage[] = [];\n protected euColumnsCount = 1;\n protected nonEuColumnsCount = 1;\n\n /**\n * The language popover, that shows all available languages (configured in the config file of the current site).\n */\n private readonly languagePopover = viewChild(EclSiteHeaderLanguagePopoverComponent);\n /**\n * The link to open the popover dialog.\n */\n private readonly languageLinkElement = viewChild('languageLink', { read: ElementRef });\n\n private readonly MOBILE_BREAKPOINT = 768;\n private readonly LANGUAGE_MAX_COLUMNS = 8;\n private readonly RESIZE_DEBOUNCE = 200;\n private destroy$: Subject<boolean> = new Subject<boolean>();\n private _languages: EuiLanguage[] = [];\n private isRtl = false;\n private readonly eclRtlService = inject(EclRtlService);\n private readonly el = inject(ElementRef);\n private readonly document = inject<Document>(DOCUMENT);\n private readonly window = this.document.defaultView; // Window | null\n\n protected readonly cssClasses = computed<string>(() => super.getCssClasses('ecl-site-header__language'));\n\n ngOnInit(): void {\n this.handleRtlChangeState();\n }\n\n /**\n * After view is initialized -> set up resize repositioning and initialize languages, that are configured in the config file\n * of the current site.\n */\n ngAfterViewInit(): void {\n this.handleResize();\n this.handleInitialConfiguredLanguages();\n }\n\n ngOnDestroy(): void {\n this.destroy$.next(true);\n this.destroy$.complete();\n }\n\n protected getLanguageLabel(): string {\n return `${EuiEuLanguages.getLanguageByCode(this.languageCode)?.label} - ${this.languageCode.toUpperCase()}`;\n }\n\n /**\n * Toggle the language dropdown when clicking the link, showing the current language.\n * @param evt\n */\n protected onLanguageClick(evt: Event): void {\n this.isLanguagesDropdownVisible = !this.isLanguagesDropdownVisible;\n if (!this.isLanguagesDropdownVisible) {\n setTimeout(() => this.resetPositioning());\n }\n\n // If the dropdown is visible, we set the max-height of the dropdown, so that it can be scrolled.\n if (this.isLanguagesDropdownVisible) {\n setTimeout(() => this.languagePopover().setLanguageContentMaxHeight());\n // Position the popover and its arrow after the popover is rendered and reflowed.\n // Matches ECL's updateOverlayPosition call in toggleOverlay.\n requestAnimationFrame(() => this.calculatePopoverPosition());\n }\n this.languageClick.emit(new EclSiteHeaderLanguageClickEvent());\n\n evt.preventDefault();\n }\n\n protected onLanguageClosed(evt: EclSiteHeaderLanguageCloseEvent): void {\n this.isLanguagesDropdownVisible = false;\n }\n\n protected onLanguageSelected(evt: EclSiteHeaderLanguageSelectedEvent): void {\n this.languageCode = evt.language.code;\n this.updateCurrentLanguage(evt.language.code);\n this.isLanguagesDropdownVisible = false;\n this.languageSelected.emit(new EclSiteHeaderLanguageSelectedEvent(evt.language));\n }\n\n /**\n * Close the dropdown, when clicking outside of the component.\n */\n protected onClickOutside(): void {\n this.isLanguagesDropdownVisible = false;\n }\n\n /**\n * Close the dropdown, when pressing ESC key.\n */\n protected onEscapeKeydownHandler(): void {\n this.isLanguagesDropdownVisible = false;\n }\n\n hasLanguageCodes(): boolean {\n return this._languages && this._languages.length > 0;\n }\n\n private handleRtlChangeState(): void {\n this.eclRtlService.currentRtlState$.pipe(takeUntil(this.destroy$)).subscribe((rtlState) => {\n this.isRtl = rtlState;\n if (this.isLanguagesDropdownVisible) {\n this.calculatePopoverPosition();\n }\n });\n }\n\n /**\n * Calculate the number of columns for EU and non-EU languages, depending on languages' count.\n */\n private updateLanguages(): void {\n\n this.euLanguages = this._languages.filter((item) => EuiEuLanguages.isEuLanguage(item.code));\n\n this.nonEuLanguages = this._languages.filter((item) => !EuiEuLanguages.isEuLanguage(item.code));\n\n this.euColumnsCount = Math.ceil(this.euLanguages.length / this.LANGUAGE_MAX_COLUMNS);\n\n this.nonEuColumnsCount = Math.ceil(this.nonEuLanguages.length / this.LANGUAGE_MAX_COLUMNS);\n }\n\n /**\n * Clears every positioning flag/offset so a fresh calculation (or a close) starts from a known state.\n */\n private resetPositioning(): void {\n this.isFull = false;\n this.isStack = false;\n this.isPushRight = false;\n this.isPushLeft = false;\n this.rightPosition = undefined;\n this.leftPosition = undefined;\n this.languageArrowPosition = undefined;\n }\n\n /**\n * Positions the language popover and its arrow, matching ECL's updateOverlayPosition.\n * The container is the site-header top area (ECL's '[data-ecl-site-header-top]'), resolved from\n * the DOM rather than a shared service so the measurement is taken at the right time (on open/resize).\n */\n private calculatePopoverPosition(): void {\n if (!this.isLanguagesDropdownVisible || !this.hasLanguageCodes()) return;\n\n const container = this.el.nativeElement.closest('.ecl-site-header__top') as HTMLElement | null;\n const languagePopover = this.languagePopover();\n if (!container || !languagePopover) return;\n\n const toggleButtonRect = this.languageLinkElement().nativeElement.getBoundingClientRect();\n const popoverRect = languagePopover.el.nativeElement.getBoundingClientRect();\n const containerRect = container.getBoundingClientRect();\n const screenWidth = this.window.innerWidth;\n const clientWidth = Math.max(this.document.documentElement.clientWidth || 0, this.window.innerWidth || 0);\n\n this.resetPositioning();\n\n // Stack the EU / non-EU lists when the popover is wider than the container.\n if (popoverRect.width > containerRect.width) {\n this.isStack = true;\n if (this.nonEuLanguages.length) {\n this.nonEuColumnsCount = Math.max(this.euColumnsCount, this.nonEuColumnsCount);\n }\n }\n\n // Mobile: the popover is full width. The arrow is anchored from the box's right edge,\n // so the offset is measured against popoverRect.right. Exclusive with push-right/left,\n // matching ECL's updateOverlayPosition (mobile branch returns early).\n if (clientWidth < this.MOBILE_BREAKPOINT) {\n const arrowOffset = popoverRect.right - toggleButtonRect.right + toggleButtonRect.width / 2;\n this.isFull = true;\n this.languageArrowPosition = `calc(${arrowOffset}px - ${ARROW_SIZE})`;\n return;\n }\n\n // RTL: popover overflows the left edge -> push it right against the container's left edge.\n if (this.isRtl && popoverRect.left < 0) {\n const arrowOffset = toggleButtonRect.right - containerRect.left - toggleButtonRect.width / 2;\n this.isPushLeft = true;\n this.leftPosition = -toggleButtonRect.left + containerRect.left;\n this.languageArrowPosition = `${arrowOffset}px`;\n } else if (!this.isRtl && popoverRect.right > screenWidth) {\n // LTR: popover overflows the right edge -> push it left against the container's right edge.\n const arrowOffset = containerRect.right - toggleButtonRect.right + toggleButtonRect.width / 2;\n this.isPushRight = true;\n this.rightPosition = -containerRect.right + toggleButtonRect.right;\n this.languageArrowPosition = `calc(${arrowOffset}px - ${ARROW_SIZE})`;\n }\n }\n\n /**\n * On window resize -> reposition the popover, but only while it is open.\n * Debounced for performance, matching ECL's handleResize.\n */\n private handleResize(): void {\n const win = this.window;\n if (!win) return;\n fromEvent(win, 'resize')\n .pipe(debounceTime(this.RESIZE_DEBOUNCE), takeUntil(this.destroy$))\n .subscribe(() => {\n if (this.isLanguagesDropdownVisible) {\n this.calculatePopoverPosition();\n }\n });\n }\n\n private getConfiguredLanguages(): void {\n const languages: string[] = this.config?.i18n?.i18nService?.languages.map(lang => {\n return (typeof lang !== 'string') ? (lang as EuiLanguage).code : lang\n }) || [];\n this._languages = EuiEuLanguages.getAllLanguagesByCodes(languages);\n\n if (this.config?.i18n?.i18nService?.defaultLanguage) {\n this.languageCode = this.config?.i18n?.i18nService?.defaultLanguage;\n } else {\n if (this._languages && this._languages.length > 0) {\n this.languageCode = this._languages[0].code;\n }\n }\n }\n\n private updateCurrentLanguage(lang: string): void {\n this.i18nService.updateState({\n activeLang: lang,\n });\n }\n\n private handleInitialConfiguredLanguages(): void {\n setTimeout(() => {\n if (this._languages === undefined || this._languages.length === 0) {\n this.getConfiguredLanguages();\n }\n this.updateLanguages();\n });\n }\n}\n","<button\n type=\"button\"\n #languageLink\n class=\"ecl-button ecl-button--tertiary ecl-button--neutral ecl-site-header__language-selector\"\n aria-controls=\"language-list-overlay\"\n aria-haspopup=\"dialog\"\n [attr.aria-label]=\"'ecl.language-list.SELECT-LANGUAGE-EXT' | translate: { currentLang: getLanguageLabel() }\"\n [attr.aria-expanded]=\"isLanguagesDropdownVisible\"\n (click)=\"onLanguageClick($event)\"\n (keydown.space)=\"onLanguageClick($event)\">\n <span class=\"ecl-site-header__language-icon\">\n <ecl-icon icon=\"global\" size=\"m\" class=\"ecl-site-header__icon\"></ecl-icon>\n </span>\n {{ languageCode | uppercase }}\n</button>\n@if(hasLanguageCodes() && isLanguagesDropdownVisible) {\n<ecl-site-header-language-popover\n #languagePopover\n cdkTrapFocus\n cdkTrapFocusAutoCapture\n id=\"language-list-overlay\"\n [languageCode]=\"languageCode\"\n [euLanguages]=\"euLanguages\"\n [nonEuLanguages]=\"nonEuLanguages\"\n [euColumnsCount]=\"euColumnsCount\"\n [nonEuColumnsCount]=\"nonEuColumnsCount\"\n [isStack]=\"isStack\"\n [isPushRight]=\"isPushRight\"\n [isPushLeft] = \"isPushLeft\"\n [isFull]=\"isFull\"\n [rightPosition]=\"rightPosition\"\n [leftPosition]=\"leftPosition\"\n [languageArrowPosition]=\"languageArrowPosition\"\n (languageSelected)=\"onLanguageSelected($event)\"\n (languageClosed)=\"onLanguageClosed($event)\">\n</ecl-site-header-language-popover>\n}","import { Component, DOCUMENT, ElementRef, OnChanges, OnDestroy, SimpleChanges, afterNextRender, booleanAttribute, inject, signal, output, input, viewChild } from '@angular/core';\nimport { Subject, debounceTime, fromEvent, takeUntil } from 'rxjs';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { ECLBaseDirective, ECLClickOutsideDirective } from '@eui/ecl/core';\nimport { EclRtlService } from '@eui/ecl/core';\nimport { EclSiteHeaderLoginBoxToggleEvent, EclSiteHeaderLoginEvent } from '../events';\nimport { EUI_ECL_ICON } from '@eui/ecl/components/ecl-icon';\nimport { EUI_ECL_BUTTON } from '@eui/ecl/components/ecl-button';\n\n/** Half the arrow's own width, matching ECL's `arrowSize`. */\nconst ARROW_SIZE = '0.5rem';\n/** Debounce for the resize recomputation, matching ECL's `handleResize`. */\nconst RESIZE_DEBOUNCE = 200;\n\n/**\n * Login/logout sub-component for the harmonised ECL site header.\n * Shows a toggle button that opens a login details popover; when `isLoggedIn` is `true`,\n * the button toggles the logged-in user details dropdown instead.\n *\n * - Selector: `ecl-site-header-login`.\n * - Emits `login` when the unauthenticated login link is activated.\n * - Emits `loginBoxToggle` when the details popover is opened or closed.\n * - The popover arrow is repositioned on resize and RTL direction changes,\n * mirroring ECL vanilla's `setLoginArrow` logic.\n * - Closes automatically on click-outside (`ECLClickOutsideDirective`).\n * - `isLoginBoxActive` is public so the parent `ecl-site-header` can reset it\n * when the search box opens.\n */\n@Component({\n selector: 'ecl-site-header-login',\n templateUrl: './ecl-site-header-login.component.html',\n imports: [TranslatePipe, ...EUI_ECL_ICON, ...EUI_ECL_BUTTON],\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n hostDirectives: [\n {\n directive: ECLClickOutsideDirective,\n outputs: ['eclClickOutside'],\n },\n ],\n host: {\n class: 'ecl-site-header__login-container',\n '(eclClickOutside)': 'onClickOutside()',\n },\n})\nexport class EclSiteHeaderLoginComponent extends ECLBaseDirective implements OnChanges, OnDestroy {\n /** Whether the user is currently logged in. Controls which button is rendered. */\n readonly isLoggedIn = input(false, { transform: booleanAttribute });\n\n /** Emitted when the unauthenticated login link is activated. */\n readonly login = output<EclSiteHeaderLoginEvent>();\n /** Emitted when the login details popover is opened or closed; payload indicates the new open state. */\n readonly loginBoxToggle = output<EclSiteHeaderLoginBoxToggleEvent>();\n\n /**\n * Whether the login popover is currently open. Public so the parent\n * `ecl-site-header` can reset it directly when the search box opens.\n */\n isLoginBoxActive = false;\n\n /**\n * The position of the arrow of the popover, when in mobile (full-width) mode.\n */\n protected readonly loginArrowPosition = signal<string | undefined>(undefined);\n\n /**\n * The login link element from the view, i.e. the login button (the toggle).\n */\n private readonly loginLinkElement = viewChild('loginLink', { read: ElementRef });\n /**\n * The login box element from the view, i.e. the dropdown the arrow points at.\n */\n private readonly loginBoxElement = viewChild('loginBox', { read: ElementRef });\n\n private readonly destroy$: Subject<boolean> = new Subject<boolean>();\n private readonly eclRtlService = inject(EclRtlService);\n private readonly document = inject<Document>(DOCUMENT);\n private readonly window = this.document.defaultView;\n\n constructor() {\n super();\n afterNextRender(() => {\n // Recompute the arrow only while the box is open.\n this.eclRtlService.currentRtlState$.pipe(debounceTime(50), takeUntil(this.destroy$)).subscribe(() => {\n if (this.isLoginBoxActive) this.setLoginArrow();\n });\n if (this.window) {\n fromEvent(this.window, 'resize').pipe(debounceTime(RESIZE_DEBOUNCE), takeUntil(this.destroy$)).subscribe(() => {\n if (this.isLoginBoxActive) this.setLoginArrow();\n });\n }\n });\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n const isLoggedInChange = changes.isLoggedIn;\n if (isLoggedInChange && isLoggedInChange.previousValue === true) {\n this.isLoginBoxActive = false;\n }\n }\n\n ngOnDestroy(): void {\n this.destroy$.next(true);\n this.destroy$.unsubscribe();\n }\n\n /**\n * Close the login popover on click outside.\n */\n protected onClickOutside(): void {\n this.onLoginBoxClose();\n }\n\n /**\n * @returns classes for the login popover.\n */\n protected getLoginBoxCssClasses(): string {\n return ['ecl-site-header__login-box', this.isLoginBoxActive ? 'ecl-site-header__login-box--active' : ''].join(' ');\n }\n\n protected onLoginClick(evt: MouseEvent): void {\n const event = new EclSiteHeaderLoginEvent();\n this.login.emit(event);\n evt.preventDefault();\n }\n\n protected onLoginBoxToggle(evt: MouseEvent): void {\n this.isLoginBoxActive = !this.isLoginBoxActive;\n const event = new EclSiteHeaderLoginBoxToggleEvent(this.isLoginBoxActive);\n this.loginBoxToggle.emit(event);\n evt.preventDefault();\n\n if (this.isLoginBoxActive) {\n // Measure after the '--active' class is applied and the box reflows to full width.\n this.window?.requestAnimationFrame(() => this.setLoginArrow());\n }\n }\n\n private onLoginBoxClose(): void {\n if (this.isLoginBoxActive) {\n this.isLoginBoxActive = false;\n const event = new EclSiteHeaderLoginBoxToggleEvent(this.isLoginBoxActive);\n this.loginBoxToggle.emit(event);\n this.loginArrowPosition.set(undefined);\n }\n }\n\n /**\n * Position the dropdown arrow so it points at the toggle button.\n * The arrow only exists on the mobile full-width dropdown, so the calculation is gated on the box\n * spanning (almost) the full viewport width. The offset is relative to the box's own left edge.\n * Mirrors ECL's 'setLoginArrow' in site-header.js.\n */\n private setLoginArrow(): void {\n const loginBoxRect = this.loginBoxElement()?.nativeElement.getBoundingClientRect();\n const toggleButtonRect = this.loginLinkElement()?.nativeElement.getBoundingClientRect();\n if (!loginBoxRect || !toggleButtonRect) return;\n\n const clientWidth = this.document.documentElement.clientWidth;\n if (loginBoxRect.width >= clientWidth - 1) {\n const arrowOffset = toggleButtonRect.left - loginBoxRect.left + toggleButtonRect.width / 2;\n this.loginArrowPosition.set(`calc(${arrowOffset}px - ${ARROW_SIZE})`);\n } else {\n this.loginArrowPosition.set(undefined);\n }\n }\n}\n","@if (isLoggedIn()) {\n <button\n #loginLink\n eclButton\n type=\"button\"\n variant=\"tertiary\"\n eclStyle=\"neutral\"\n class=\"ecl-site-header__login-toggle\"\n data-ecl-login-toggle\n aria-controls=\"login-box-id\"\n aria-haspopup=\"dialog\"\n [attr.aria-expanded]=\"isLoginBoxActive\"\n (click)=\"onLoginBoxToggle($event)\">\n <ecl-icon icon=\"logged-in\" size=\"m\" class=\"ecl-site-header__icon\"></ecl-icon>\n <span eclButtonLabel>{{ 'ecl.site-header.LOGGED-IN' | translate }}</span>\n </button>\n <div\n #loginBox\n id=\"login-box-id\"\n role=\"dialog\"\n [style]=\"{'--ecl-login-arrow-position': loginArrowPosition()}\"\n class=\"{{ getLoginBoxCssClasses() }}\">\n <ng-content></ng-content>\n </div>\n} @else {\n <button\n eclButton\n type=\"button\"\n variant=\"tertiary\"\n eclStyle=\"neutral\"\n class=\"ecl-site-header__login-toggle\"\n data-ecl-login-toggle\n [attr.aria-expanded]=\"isLoginBoxActive\"\n (click)=\"onLoginClick($event)\">\n <ecl-icon icon=\"log-in\" size=\"m\" class=\"ecl-site-header__icon\"></ecl-icon>\n <span eclButtonLabel>{{ 'ecl.site-header.LOGIN' | translate }}</span>\n </button>\n}\n","import { Directive } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Directive that applies `ecl-site-header__login-description` to an element\n * containing the logged-in user description inside the login dropdown.\n */\n@Directive({\n selector: '[eclSiteHeaderLoginDescription]',\n host: {\n class: 'ecl-site-header__login-description',\n },\n})\nexport class EclSiteHeaderLoginDescriptionDirective extends ECLBaseDirective {}\n\n/**\n * Directive that applies `ecl-site-header__login-separator` to a horizontal rule\n * that visually separates the user description from the logout link in the login dropdown.\n */\n@Directive({\n selector: '[eclSiteHeaderLoginSeparator]',\n host: {\n class: 'ecl-site-header__login-separator',\n },\n})\nexport class EclSiteHeaderLoginSeparatorDirective extends ECLBaseDirective {}\n","import { Component, computed } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Component that wraps an `ecl-notification` when it is embedded in the site header.\n * Applies `ecl-site-header__notification` and exposes `onHide`/`onShow` methods so the\n * parent header can suppress the notification while the mega-menu is open on mobile.\n */\n@Component({\n selector: 'ecl-site-header-notification',\n templateUrl: 'ecl-site-header-notification.component.html',\n host: {\n '[class]': 'cssClasses()',\n '[style.display]': 'display',\n },\n})\nexport class EclSiteHeaderNotificationComponent extends ECLBaseDirective {\n protected display = '';\n\n protected readonly cssClasses = computed<string>(() =>\n super.getCssClasses('ecl-site-header__notification'));\n\n /** Hides the notification by setting `display: none` on the host. */\n onHide(): void {\n this.display = 'none';\n }\n\n /** Restores the notification by removing the `display: none` style. */\n onShow(): void {\n this.display = '';\n }\n}\n","<div class=\"ecl-container\">\n <ng-content></ng-content>\n</div>\n","import { computed, Directive, signal } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Directive that applies ECL picture classes (`ecl-site-header__picture ecl-picture`)\n * to a `<picture>` element used as the header logo wrapper.\n */\n@Directive({\n selector: '[eclSiteHeaderPicture]',\n host: {\n class: 'ecl-site-header__picture ecl-picture',\n },\n})\nexport class EclSiteHeaderPictureDirective extends ECLBaseDirective {}\n\n/**\n * Directive that applies `ecl-site-header__logo-image` and the size modifier class\n * (`ecl-site-header__logo-image--s/m/l`) to an `<img>` element used as the header logo.\n * The `logoSize` signal is set by the parent `EclSiteHeaderComponent` via `ngAfterContentInit`.\n */\n@Directive({\n selector: '[eclSiteHeaderImage]',\n host: {\n '[class]': 'cssClasses()',\n },\n})\nexport class EclSiteHeaderImageDirective extends ECLBaseDirective {\n readonly logoSize = signal<string>('m');\n\n protected readonly cssClasses = computed<string>(() =>\n [\n super.getCssClasses('ecl-site-header__logo-image'),\n `ecl-site-header__logo-image--${this.logoSize()}`,\n ].join(' ').trim());\n}\n\n/**\n * Directive that applies `ecl-link ecl-link--standalone ecl-site-header__logo-link`\n * to an `<a>` element used as the logo hyperlink in the site header.\n */\n@Directive({\n selector: '[eclSiteHeaderLink]',\n host: {\n class: 'ecl-link ecl-link--standalone ecl-site-header__logo-link',\n },\n})\nexport class EclSiteHeaderLinkDirective extends ECLBaseDirective {}\n","import { isPlatformBrowser } from '@angular/common';\nimport { A11yModule } from '@angular/cdk/a11y';\nimport { AfterViewInit, Component, DOCUMENT, ElementRef, forwardRef, HostListener, inject, OnDestroy, PLATFORM_ID, Provider, output, input, model, signal, viewChild } from '@angular/core';\nimport { ControlValueAccessor, FormsModule, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { EUI_ECL_BUTTON } from '@eui/ecl/components/ecl-button';\nimport { EUI_ECL_ICON } from '@eui/ecl/components/ecl-icon';\nimport { EclSearchFormEvent, EUI_ECL_SEARCH_FORM } from '@eui/ecl/components/ecl-search-form';\nimport { ECLBaseDirective, ECLClickOutsideDirective, EclRtlService } from '@eui/ecl/core';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { debounceTime, fromEvent, Subject, takeUntil } from 'rxjs';\nimport { EclSiteHeaderSearchEvent, EclSiteHeaderSearchToggleEvent } from '../events';\n\nexport const ECL_SITE_HEADER_SEARCH_VALUE_ACCESSOR: Provider = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => EclSiteHeaderSearchComponent),\n multi: true,\n};\n\nconst noop = (): void => {\n /** empty*/\n};\n\n/** Half the arrow's own width, matching ECL's `arrowSize`. */\nconst ARROW_SIZE = '0.5rem';\n/** Debounce for the resize recomputation, matching ECL's `handleResize`. */\nconst RESIZE_DEBOUNCE = 200;\n\n/**\n * Search sub-component for the ECL site header.\n * Renders a toggle button that expands a search form dropdown; implements\n * `ControlValueAccessor` so the search input value can be bound with `ngModel`\n * or a Reactive Form control.\n *\n * - Selector: `ecl-site-header-search`.\n * - Two-way `searchInputText` model binding holds the current search query.\n * - Emits `searchEvent` when the user submits the search form.\n * - Emits `searchToggle` when the search dropdown opens or closes.\n * - The dropdown arrow is repositioned on resize and RTL direction changes,\n * mirroring ECL's `setSearchArrow` logic.\n * - Closes on click-outside (`ECLClickOutsideDirective`).\n * - `isSearchBoxActive` is public so the parent `ecl-site-header` can reset it\n * when the login box opens.\n */\n@Component({\n selector: 'ecl-site-header-search',\n templateUrl: './ecl-site-header-search.component.html',\n imports: [A11yModule, FormsModule, TranslatePipe, ...EUI_ECL_SEARCH_FORM, ...EUI_ECL_ICON, ...EUI_ECL_BUTTON],\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n providers: [ECL_SITE_HEADER_SEARCH_VALUE_ACCESSOR],\n hostDirectives: [\n {\n directive: ECLClickOutsideDirective,\n outputs: ['eclClickOutside'],\n },\n ],\n host: {\n class: 'ecl-site-header__search-container',\n // The default role of the component is 'search', should not be changed.\n role: 'search',\n '(eclClickOutside)': 'onClickOutside()',\n },\n})\nexport class EclSiteHeaderSearchComponent extends ECLBaseDirective implements ControlValueAccessor, AfterViewInit, OnDestroy {\n /** Two-way binding for the current search input text value. */\n readonly searchInputText = model<string>();\n /** Placeholder text for the search input field. */\n readonly searchInputPlaceholder = input<string>(undefined);\n /** Accessible label for the search submit button. */\n readonly searchButtonLabel = input<string>(undefined);\n\n /** Emitted when the user submits the search form; payload contains the search keyword. */\n readonly searchEvent = output<EclSiteHeaderSearchEvent>();\n /** Emitted when the search dropdown opens or closes; payload contains the new open state. */\n readonly searchToggle = output<EclSiteHeaderSearchToggleEvent>();\n\n /**\n * Whether the search dropdown is currently open. Public so the parent\n * `ecl-site-header` can reset it directly when the login box opens.\n */\n isSearchBoxActive = false;\n\n /**\n * Unique id of the search dialog, referenced by the toggle's `aria-controls`.\n * Generated per instance so multiple site headers on one page cannot produce\n * duplicate ids (ECL hardcodes this; we generate it to stay collision-safe).\n */\n readonly dialogId = `ecl-site-header-search-form-dialog-${crypto.randomUUID()}`;\n\n /** Unique id of the search input, used to wire the dialog's `aria-labelledby`. */\n readonly searchInputId = `ecl-site-header-search-input-${crypto.randomUUID()}`;\n\n /**\n * The arrow position of the search dropdown, when in mobile (full-width) mode.\n */\n protected readonly searchArrowPosition = signal<string | undefined>(undefined);\n\n /**\n * The search link element from the view, i.e. the search button (the toggle).\n */\n private readonly searchLinkElement = viewChild('searchLink', { read: ElementRef });\n /**\n * The search form element from the view, i.e. the dropdown box the arrow points from.\n */\n private readonly searchFormElement = viewChild('searchForm', { read: ElementRef });\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private onChange: (_: any) => void = noop;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private onTouched: (_: any) => void = noop;\n\n private destroy$: Subject<boolean> = new Subject<boolean>();\n private readonly eclRtlService = inject(EclRtlService);\n private readonly platformId = inject(PLATFORM_ID);\n private readonly document = inject<Document>(DOCUMENT);\n private readonly window = this.document.defaultView; // Window | null\n\n ngAfterViewInit(): void {\n if (!isPlatformBrowser(this.platformId)) return;\n\n // Recompute while open on resize (debounced, matching ECL's handleResize).\n if (this.window) {\n fromEvent(this.window, 'resize')\n .pipe(debounceTime(RESIZE_DEBOUNCE), takeUntil(this.destroy$))\n .subscribe(() => this.setSearchArrow());\n }\n\n // Recompute while open on RTL direction change.\n this.eclRtlService.currentRtlState$.pipe(debounceTime(50), takeUntil(this.destroy$)).subscribe(() => this.setSearchArrow());\n }\n\n ngOnDestroy(): void {\n this.destroy$.next(true);\n this.destroy$.complete();\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n writeValue(value: any): void {\n this.searchInputText.set(value);\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n registerOnChange(fn: any): void {\n this.onChange = fn;\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n registerOnTouched(fn: any): void {\n this.onTouched = fn;\n }\n\n /**\n * Close the search dropdown on click outside, matching ECL's `handleClickGlobal`.\n */\n protected onClickOutside(): void {\n this.closeSearchBox();\n }\n\n /**\n * Close the search dialog on Escape and return focus to the toggle button.\n * Mirrors the ECL reference behaviour (FRONT-5415).\n */\n @HostListener('document:keydown.escape')\n onEscapeKeydown(): void {\n if (!this.isSearchBoxActive) {\n return;\n }\n this.isSearchBoxActive = false;\n this.searchToggle.emit(new EclSiteHeaderSearchToggleEvent(false));\n this.searchLinkElement()?.nativeElement.focus();\n }\n\n protected onSearch(evt: EclSearchFormEvent): boolean {\n this.searchEvent.emit(new EclSiteHeaderSearchEvent(evt.keyword));\n this.onChange(evt.keyword);\n return false;\n }\n\n protected onSearchBoxToggle(evt: MouseEvent): void {\n this.isSearchBoxActive = !this.isSearchBoxActive;\n const event = new EclSiteHeaderSearchToggleEvent(this.isSearchBoxActive);\n this.searchToggle.emit(event);\n evt.preventDefault();\n\n // Measure after the `--active` class is applied and the box reflows to\n // full width (matching ECL's toggleSearch -> setSearchArrow order).\n if (this.isSearchBoxActive) {\n this.window?.requestAnimationFrame(() => this.setSearchArrow());\n }\n }\n\n /**\n *\n * @returns The classes for the ecl search form.\n */\n protected getSearchBoxCssClasses(): string {\n return ['ecl-site-header__search', this.isSearchBoxActive ? 'ecl-site-header__search--active' : ''].join(' ');\n }\n\n protected onModelChange(newValue: string): void {\n this.searchInputText.set(newValue);\n this.onChange(newValue);\n }\n\n private closeSearchBox(): void {\n if (!this.isSearchBoxActive) return;\n\n this.isSearchBoxActive = false;\n this.searchToggle.emit(new EclSiteHeaderSearchToggleEvent(this.isSearchBoxActive));\n this.searchArrowPosition.set(undefined);\n }\n\n /**\n * Positions the dropdown arrow so it points at the center of the search toggle button.\n * Mirrors ECL's `setSearchArrow`: the arrow position is an offset relative to the\n * search form's own left edge, and it only applies to the mobile full-width dropdown\n * (`searchFormRect.width >= clientWidth - 1`, the `- 1` absorbing subpixel rounding).\n */\n private setSearchArrow(): void {\n if (!this.isSearchBoxActive) return;\n\n const searchFormRect = this.searchFormElement()?.nativeElement.getBoundingClientRect();\n const toggleButtonRect = this.searchLinkElement()?.nativeElement.getBoundingClientRect();\n if (!searchFormRect || !toggleButtonRect) return;\n\n const clientWidth = this.document.documentElement.clientWidth;\n if (searchFormRect.width >= clientWidth - 1) {\n const arrowOffset = toggleButtonRect.left - searchFormRect.left + toggleButtonRect.width / 2;\n this.searchArrowPosition.set(`calc(${arrowOffset}px - ${ARROW_SIZE})`);\n } else {\n this.searchArrowPosition.set(undefined);\n }\n }\n}\n","<button\n #searchLink\n eclButton\n type=\"button\"\n variant=\"tertiary\"\n eclStyle=\"neutral\"\n isIconOnly\n class=\"ecl-site-header__search-toggle\"\n data-ecl-search-toggle=\"true\"\n [attr.aria-controls]=\"dialogId\"\n aria-haspopup=\"dialog\"\n [attr.aria-expanded]=\"isSearchBoxActive\"\n (click)=\"onSearchBoxToggle($event)\">\n <span eclButtonLabel>{{ 'ecl.common.SEARCH' | translate }}</span>\n <ecl-icon icon=\"search\" size=\"m\" class=\"ecl-site-header__icon\"></ecl-icon>\n</button>\n\n<div\n class=\"ecl-site-header__search-dialog\"\n role=\"dialog\"\n aria-modal=\"true\"\n [id]=\"dialogId\"\n [attr.aria-labelledby]=\"searchInputId + '-label'\"\n [cdkTrapFocus]=\"isSearchBoxActive\"\n [cdkTrapFocusAutoCapture]=\"isSearchBoxActive\">\n <ecl-search-form\n #searchForm\n [inputId]=\"searchInputId\"\n [style]=\"{'--ecl-search-arrow-position': searchArrowPosition()}\"\n (searchEvent)=\"onSearch($event)\"\n [placeholder]=\"searchInputPlaceholder()\"\n (ngModelChange)=\"onModelChange($event)\"\n [ngModel]=\"searchInputText()\"\n [searchButtonLabel]=\"searchButtonLabel()\"\n [class]=\"getSearchBoxCssClasses()\">\n </ecl-search-form>\n</div>\n","import { Injectable } from '@angular/core';\nimport { Observable, Subject } from 'rxjs';\nimport { EclAreaChangeEvent } from '../events/ecl-area-change.event';\n\n/**\n * This class is used for methods, that serve for communication between the components in ecl-side-header.\n */\n@Injectable({ providedIn: 'root' })\nexport class EclAreaDataService {\n\n public dataSubject$: Observable<EclAreaChangeEvent>;\n private dataSubject: Subject<EclAreaChangeEvent> = new Subject<EclAreaChangeEvent>();\n\n constructor() {\n this.dataSubject$ = this.dataSubject.asObservable();\n }\n\n /**\n\t * When header is resized, some of it's chidren parameters for positioning on the screen need to be recalculated.\n\t * This event publishes the new site header position, so that the chidren can adjust their position accordingly.\n\t * @param event\n\t */\n publishEvent(event: EclAreaChangeEvent): void {\n this.dataSubject.next(event);\n }\n}","import { BreakpointObserver } from '@angular/cdk/layout';\nimport { AsyncPipe, isPlatformBrowser } from '@angular/common';\nimport { AfterContentInit, Component, computed, ElementRef, OnDestroy, PLATFORM_ID, afterNextRender, booleanAttribute, forwardRef, inject, output, input, model, signal, viewChild, contentChild } from '@angular/core';\nimport { outputToObservable } from '@angular/core/rxjs-interop';\nimport { I18nService } from '@eui/core';\nimport { EUI_ECL_LINK } from '@eui/ecl/components/ecl-link';\nimport { EclMegaMenuComponent } from '@eui/ecl/components/ecl-mega-menu';\nimport { EclMenuComponent } from '@eui/ecl/components/ecl-menu';\nimport { ECLBaseDirective, EclRtlService, EclThemeService, logoLanguageCode } from '@eui/ecl/core';\nimport { EclHeaderMenuComunicationService } from '@eui/ecl/shared';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { Subject, takeUntil } from 'rxjs';\nimport { EclSiteHeaderLanguageClickEvent, EclSiteHeaderLogoClickEvent } from './events';\nimport { EclAreaChangeEvent } from './events/ecl-area-change.event';\nimport { EclSiteHeaderLanguageComponent } from './language';\nimport { EclSiteHeaderLoginComponent } from './login';\nimport { EclSiteHeaderNotificationComponent } from './notification';\nimport { EclSiteHeaderImageDirective, EclSiteHeaderLinkDirective, EclSiteHeaderPictureDirective } from './picture';\nimport { EclSiteHeaderSearchComponent } from './search';\nimport { EclAreaDataService } from './services/ecl-area-data.service';\n\n/**\n * ECL-compliant site header component providing the top-of-page structure\n * common to corporate, standardised, and harmonised EC/EU websites.\n * Hosts the institution logo, optional site name, language switcher, login, search,\n * notification banner, CTA link, and the main or mega-menu navigation.\n *\n * - Selector: `ecl-site-header`.\n * - Layout variant is determined by which sub-components are projected: `ecl-site-header-login`,\n * `ecl-site-header-language`, `ecl-site-header-search`, `ecl-menu`, `ecl-mega-menu`,\n * `ecl-site-header-notification`.\n * - Logo size is controlled by `logoSize` (`'s'`, `'m'`, `'l'`).\n * - Two-way binding on `languageCode` keeps the header in sync with the active application language.\n * - Emits `logoClick` when the EC logo is activated and `languageClick` when the language toggle is used.\n * - RTL layout is applied automatically via `EclRtlService`.\n */\n@Component({\n selector: 'ecl-site-header',\n templateUrl: './ecl-site-header.component.html',\n imports: [AsyncPipe, TranslatePipe, ...EUI_ECL_LINK, EclSiteHeaderPictureDirective],\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n host: {\n '[class]': 'cssClasses()',\n },\n})\nexport class EclSiteHeaderComponent extends ECLBaseDirective implements AfterContentInit, OnDestroy {\n /**\n * Optional site name displayed in the header next to the logo.\n */\n readonly siteName = input<string>();\n /**\n * Two-way binding for the active language code (e.g. `'en'`, `'fr'`). Default is `'en'`.\n */\n readonly languageCode = model('en');\n /**\n * Size of the institution logo: `'s'`, `'m'` (default), or `'l'`.\n */\n readonly logoSize = input<'s' | 'm' | 'l'>('m');\n /**\n * When `true`, the site name is displayed only on mobile viewports.\n */\n readonly isSiteNameMobileOnly = input(false, { transform: booleanAttribute });\n\n /** Emitted when the EC institution logo is clicked. */\n readonly logoClick = output<EclSiteHeaderLogoClickEvent>();\n /** Emitted when the language toggle link is clicked. */\n readonly languageClick = output<EclSiteHeaderLanguageClickEvent>();\n\n readonly topContainerElement = viewChild<ElementRef>('topContainer');\n readonly siteHeaderHeader = viewChild<ElementRef>('siteHeaderHeader');\n readonly bannerHeader = viewChild<ElementRef>('bannerHeader');\n readonly eclLoginComponent = contentChild(EclSiteHeaderLoginComponent);\n readonly eclMenuComponent = contentChild(EclMenuComponent);\n readonly eclMegaMenuComponent = contentChild(EclMegaMenuComponent);\n readonly eclSearchComponent = contentChild(EclSiteHeaderSearchComponent);\n readonly eclLanguageComponent = contentChild(EclSiteHeaderLanguageComponent);\n readonly eclNotificationComponent = contentChild(EclSiteHeaderNotificationComponent);\n readonly eclHeaderLink = contentChild(forwardRef(() => EclSiteHeaderLinkDirective));\n readonly eclHeaderImage = contentChild(forwardRef(() => EclSiteHeaderImageDirective));\n\n protected readonly eclThemeService = inject(EclThemeService);\n protected readonly i18nService = inject(I18nService);\n protected destroy$: Subject<boolean> = new Subject<boolean>();\n\n private readonly isEclMegaMenuOpen = signal(false);\n private readonly isEclMegaMenuStart = signal(false);\n private isMobileBreakpoint = false;\n private readonly isRtl = signal(false);\n private readonly TIMEOUT_INTERVAL = 100;\n private readonly eclRtlService = inject(EclRtlService);\n private readonly eclHeaderMenuComunicationService = inject(EclHeaderMenuComunicationService);\n private readonly eclAreaDataService = inject(EclAreaDataService);\n private readonly cdkBreakpointObserver = inject(BreakpointObserver);\n private readonly el = inject(ElementRef);\n private readonly platformId = inject(PLATFORM_ID);\n\n /**\n * Adds specific classes to the main element. Depending , logo size, menu and menu status, rtl status.\n */\n protected readonly cssClasses = computed<string>(() =>\n [\n super.getCssClasses('ecl-site-header'),\n `ecl-site-header-with-logo-${this.logoSize()}`,\n this.eclMenuComponent() ? 'ecl-site-header--has-menu' : '',\n this.eclMegaMenuComponent() ? 'ecl-site-header--has-mega-menu' : '',\n this.isEclMegaMenuOpen() ? 'ecl-site-header--open-menu' : '',\n this.isEclMegaMenuStart() ? 'ecl-site-header--open-menu-start' : '',\n this.isRtl() ? 'ecl-site-header--rtl' : '',\n ].join(' ').trim());\n\n constructor() {\n super();\n\n afterNextRender(() => {\n this.observeBreakpointChanges();\n this.subscribeToMegaMenuEvents();\n // Observe size changes of the component, for some child components size need to be also adjusted accordingly.\n new ResizeObserver(() => {\n setTimeout(() => {\n this.sendResizeEventToChildComponents();\n }, this.TIMEOUT_INTERVAL)\n }).observe(this.topContainerElement().nativeElement)\n });\n }\n\n /**\n * Subscibe to some child components' events.\n */\n ngAfterContentInit(): void {\n if (!isPlatformBrowser(this.platformId)) return;\n\n this.handleRtlChangeState();\n this.handleLanguageChangeState();\n const eclHeaderImage = this.eclHeaderImage();\n if (eclHeaderImage) {\n eclHeaderImage.logoSize.set(this.logoSize());\n }\n\n const eclLoginComponent = this.eclLoginComponent();\n const eclSearchComponent = this.eclSearchComponent();\n if (eclLoginComponent && eclSearchComponent) {\n outputToObservable(eclLoginComponent.loginBoxToggle).pipe(takeUntil(this.destroy$)).subscribe((evt) => {\n this.eclSearchComponent().isSearchBoxActive = false;\n this.sendResizeEventToChildComponents();\n });\n\n outputToObservable(eclSearchComponent.searchToggle).pipe(takeUntil(this.destroy$)).subscribe((evt) => {\n this.eclLoginComponent().isLoginBoxActive = false;\n this.sendResizeEventToChildComponents();\n });\n }\n\n const eclLanguageComponent = this.eclLanguageComponent();\n if (eclLanguageComponent) {\n outputToObservable(eclLanguageComponent.languageClick).pipe(takeUntil(this.destroy$)).subscribe((evt) => {\n this.languageClick.emit(new EclSiteHeaderLanguageClickEvent());\n this.sendResizeEventToChildComponents();\n });\n\n outputToObservable(eclLanguageComponent.languageSelected).pipe(takeUntil(this.destroy$)).subscribe((evt) => {\n this.languageCode.set(evt.language?.code);\n });\n }\n\n if (eclLanguageComponent) {\n this.languageCode.set(eclLanguageComponent?.languageCode);\n }\n\n const eclMenuComponent = this.eclMenuComponent();\n if (eclMenuComponent) {\n outputToObservable(eclMenuComponent.openHamburgerMenu).pipe(takeUntil(this.destroy$)).subscribe(() => {\n this.positionMenu();\n });\n }\n }\n\n ngOnDestroy(): void {\n this.destroy$.next(true);\n this.destroy$.unsubscribe();\n }\n\n /**\n * This method is used, when current language is not present for our available logo collection.\n * In this case, a default logo is returned.\n */\n get partOfLogoName(): string {\n return logoLanguageCode(this.languageCode());\n }\n\n onECLogoClick(evt: MouseEvent): void {\n const event = new EclSiteHeaderLogoClickEvent();\n this.logoClick.emit(event);\n if (event.defaultPrevented) {\n evt.preventDefault();\n }\n }\n\n hasCustomLink(): boolean {\n return !!this.eclHeaderLink();\n }\n\n private handleRtlChangeState(): void {\n this.eclRtlService.currentRtlState$.pipe(takeUntil(this.destroy$)).subscribe((rtlState) => {\n this.isRtl.set(rtlState);\n });\n }\n\n /**\n * Some child components need position and size to be set according to the parent site-header. So we share some site-header's measurements\n * via the 'eclAreaDataService'.\n */\n private sendResizeEventToChildComponents(): void {\n const topContainerElement = this.topContainerElement();\n if (topContainerElement.nativeElement.getBoundingClientRect().width !== undefined) {\n const topContainerRect = topContainerElement.nativeElement.getBoundingClientRect();\n const siteHeaderAreaChangeEvent = new EclAreaChangeEvent(\n topContainerRect.width,\n topContainerRect.left,\n topContainerRect.right);\n\n this.eclAreaDataService.publishEvent(siteHeaderAreaChangeEvent);\n }\n }\n\n private subscribeToMegaMenuEvents(): void {\n this.eclHeaderMenuComunicationService.isMobileObjectOpen$.pipe(takeUntil(this.destroy$)).subscribe(isExpanded => {\n if (this.isMobileBreakpoint) {\n this.isEclMegaMenuStart.set(isExpanded);\n this.isEclMegaMenuOpen.set(isExpanded);\n }\n if (isExpanded) {\n const bottomSpaceY = this.el.nativeElement.getBoundingClientRect().bottom;\n this.eclMegaMenuComponent().positionMenuOverlay(bottomSpaceY);\n }\n });\n\n this.eclHeaderMenuComunicationService.isObjectExpanded$.pipe(takeUntil(this.destroy$)).subscribe(isExpanded => {\n if (this.isMobileBreakpoint) {\n if (isExpanded) {\n this.onMegaMenuItemExpandMobile();\n } else {\n this.onMegaMenuItemCollapseMobile();\n }\n } else {\n this.isEclMegaMenuOpen.set(isExpanded);\n if (isExpanded) {\n const bottomSpaceY = this.el.nativeElement.getBoundingClientRect().bottom;\n this.eclMegaMenuComponent().positionMenuOverlay(bottomSpaceY);\n }\n }\n });\n }\n\n private onMegaMenuItemExpandMobile(): void {\n this.isEclMegaMenuStart.set(false);\n const eclNotificationComponent = this.eclNotificationComponent();\n if (eclNotificationComponent) {\n eclNotificationComponent.onHide();\n }\n const bannerHeader = this.bannerHeader();\n if (bannerHeader) {\n bannerHeader.nativeElement.style.display = 'none';\n }\n const bottomSpaceY = this.siteHeaderHeader().nativeElement.getBoundingClientRect().bottom;\n this.eclMegaMenuComponent().positionMenuOverlay(bottomSpaceY);\n }\n\n private onMegaMenuItemCollapseMobile(): void {\n this.isEclMegaMenuStart.set(true);\n const eclNotificationComponent = this.eclNotificationComponent();\n if (eclNotificationComponent) {\n eclNotificationComponent.onShow();\n }\n const bannerHeader = this.bannerHeader();\n if (bannerHeader) {\n bannerHeader.nativeElement.style.display = '';\n }\n const bottomSpaceY = this.el.nativeElement.getBoundingClientRect().bottom;\n this.eclMegaMenuComponent().positionMenuOverlay(bottomSpaceY);\n }\n\n private observeBreakpointChanges(): void {\n this.cdkBreakpointObserver\n .observe(['(max-width: 996px)'])\n .pipe(takeUntil(this.destroy$))\n .subscribe((result) => {\n this.isMobileBreakpoint = result.matches;\n });\n }\n\n private positionMenu(): void {\n const bottomSpaceY = this.siteHeaderHeader().nativeElement.getBoundingClientRect().bottom;\n this.eclMenuComponent().positionMenuOverlay(bottomSpaceY);\n }\n\n private handleLanguageChangeState(): void {\n this.i18nService.getState().pipe(takeUntil(this.destroy$)).subscribe((lang) => {\n this.languageCode.set(lang.activeLang);\n const eclLanguageComponent = this.eclLanguageComponent();\n if (eclLanguageComponent) {\n eclLanguageComponent.languageCode = lang.activeLang;\n }\n });\n }\n}\n","<div class=\"ecl-site-header__background\">\n <div class=\"ecl-site-header__header\" #siteHeaderHeader>\n <div class=\"ecl-site-header__container ecl-container\">\n <div #topContainer class=\"ecl-site-header__top\">\n @if(hasCustomLink()) {\n <ng-content select=\"[eclSiteHeaderLink]\"></ng-content>\n } @else {\n <a eclLink variant=\"standalone\" class=\"ecl-site-header__logo-link\"\n href=\"https://commission.europa.eu/index_{{ languageCode() }}\" (click)=\"onECLogoClick($event)\"\n [attr.aria-label]=\"'ecl.footer.EUROPEAN-COMMISSION' | translate\"\n style=\"display: flex; align-items: center; position: relative;\">\n <ng-content select=\"[eclSiteHeaderEnvironment]\" media=\"(min-width: 1140px)\"></ng-content>\n\n @if (eclThemeService.isEC$ | async) {\n <picture eclSiteHeaderPicture\n [attr.title]=\"'ecl.footer.EUROPEAN-COMMISSION' | translate\">\n <source\n srcset=\"./assets/images/ecl/logo/ec/positive/logo-ec--{{ partOfLogoName }}.svg\"\n media=\"(min-width: 415px)\" />\n <img class=\"ecl-site-header__logo-image ecl-site-header__logo-image--{{logoSize()}}\"\n src=\"./assets/images/ecl/logo/ec/logo-ec--mute.svg\"\n [attr.alt]=\"'ecl.footer.EUROPEAN-COMMISSION' | translate\" />\n </picture>\n }\n @if (eclThemeService.isEU$ | async) {\n <picture eclSiteHeaderPicture\n [attr.title]=\"'ecl.footer.EUROPEAN-UNION' | translate\">\n <source\n srcset=\"./assets/images/ecl/logo/eu/standard-version/positive/logo-eu--{{ partOfLogoName }}.svg\"\n media=\"(min-width: 415px)\" />\n <img class=\"ecl-site-header__logo-image ecl-site-header__logo-image--{{logoSize()}}\"\n src=\"./assets/images/ecl/logo/eu/condensed-version/positive/logo-eu--{{ partOfLogoName }}.svg\"\n alt=\"European Union\" />\n </picture>\n }\n </a>\n }\n <ng-content select=\"ecl-site-header-action\"></ng-content>\n </div>\n </div>\n </div>\n <ng-content select=\"ecl-site-header-notification\"></ng-content>\n</div>\n\n@if (siteName()) {\n <div class=\"ecl-site-header__banner\" #bannerHeader [class.ecl-site-header__site-name--mobile-only]=\"isSiteNameMobileOnly()\">\n <div class=\"ecl-container\">\n <div class=\"ecl-site-header__site-name\">{{ siteName() }}</div>\n <ng-content select=\"[eclSiteHeaderCta]\"></ng-content>\n </div>\n </div>\n}\n\n<ng-content select=\"ecl-menu\"></ng-content>\n<ng-content select=\"[eclMegaMenu]\"></ng-content>\n","import { EclSiteHeaderActionComponent } from './action';\nimport { EclSiteHeaderCtaDirective } from './cta';\nimport { EclSiteHeaderCustomActionComponent } from './custom-action';\nimport { EclSiteHeaderCustomActionContentDirective, EclSiteHeaderCustomActionLinkDirective, EclSiteHeaderCustomActionTitleDirective } from './custom-action/ecl-site-header-custom-action.directive';\nimport { EclSiteHeaderEnvironmentComponent } from './ecl-site-header-environment';\nimport { EclSiteHeaderComponent } from './ecl-site-header.component';\nimport { EclSiteHeaderLanguageComponent, EclSiteHeaderLanguagePopoverComponent } from './language';\nimport {\n EclSiteHeaderLoginComponent,\n EclSiteHeaderLoginDescriptionDirective,\n EclSiteHeaderLoginSeparatorDirective,\n} from './login';\nimport { EclSiteHeaderNotificationComponent } from './notification';\nimport { EclSiteHeaderImageDirective, EclSiteHeaderLinkDirective, EclSiteHeaderPictureDirective } from './picture';\nimport { EclSiteHeaderSearchComponent } from './search';\n\nexport * from './ecl-site-header.component';\nexport * from './action/index';\nexport * from './language/index';\nexport * from './login/index';\nexport * from './search/index';\nexport * from './cta/index';\nexport * from './notification/index';\nexport * from './ecl-site-header-environment/index';\nexport * from './picture/index';\nexport * from './events/index';\nexport * from './custom-action/index';\n\nexport const EUI_ECL_SITE_HEADER = [\n EclSiteHeaderComponent,\n EclSiteHeaderActionComponent,\n EclSiteHeaderCustomActionComponent,\n EclSiteHeaderCustomActionContentDirective,\n EclSiteHeaderCustomActionLinkDirective,\n EclSiteHeaderCustomActionTitleDirective,\n EclSiteHeaderLoginComponent,\n EclSiteHeaderLoginDescriptionDirective,\n EclSiteHeaderLoginSeparatorDirective,\n EclSiteHeaderLanguageComponent,\n EclSiteHeaderLanguagePopoverComponent,\n EclSiteHeaderSearchComponent,\n EclSiteHeaderEnvironmentComponent,\n EclSiteHeaderNotificationComponent,\n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,CAAA;CAAA;AAAA,CAAA;AExDxF,MAAa,sBAAsB;CAC/B;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACM"}
1
+ {"version":3,"file":"eui-ecl-components-ecl-site-header.mjs","names":["i3","i4","takeUntil","i1","i2","i3","ARROW_SIZE","i3","ARROW_SIZE","RESIZE_DEBOUNCE","i2","i3","i5","i6","i1"],"sources":["../../components/ecl-site-header/action/ecl-site-header-action.component.ts","../../components/ecl-site-header/action/ecl-site-header-action.component.html","../../components/ecl-site-header/cta/ecl-site-header-cta.directive.ts","../../components/ecl-site-header/custom-action/ecl-site-header-custom-action.directive.ts","../../components/ecl-site-header/custom-action/ecl-site-header-custom-action.component.ts","../../components/ecl-site-header/custom-action/ecl-site-header-custom-action.component.html","../../components/ecl-site-header/ecl-site-header-environment/ecl-site-header-environment.component.ts","../../components/ecl-site-header/events/ecl-site-header-login.event.ts","../../components/ecl-site-header/events/ecl-site-header-language.event.ts","../../components/ecl-site-header/events/ecl-site-header-logo.event.ts","../../components/ecl-site-header/events/ecl-site-header-search.event.ts","../../components/ecl-site-header/events/ecl-area-change.event.ts","../../components/ecl-site-header/language/ecl-site-header-language-popover.component.ts","../../components/ecl-site-header/language/ecl-site-header-language-popover.component.html","../../components/ecl-site-header/language/ecl-site-header-language.component.ts","../../components/ecl-site-header/language/ecl-site-header-language.component.html","../../components/ecl-site-header/login/ecl-site-header-login.component.ts","../../components/ecl-site-header/login/ecl-site-header-login.component.html","../../components/ecl-site-header/login/ecl-site-header-login-details.directive.ts","../../components/ecl-site-header/notification/ecl-site-header-notification.component.ts","../../components/ecl-site-header/notification/ecl-site-header-notification.component.html","../../components/ecl-site-header/picture/ecl-site-header-picture.directive.ts","../../components/ecl-site-header/search/ecl-site-header-search.component.ts","../../components/ecl-site-header/search/ecl-site-header-search.component.html","../../components/ecl-site-header/services/ecl-area-data.service.ts","../../components/ecl-site-header/ecl-site-header.component.ts","../../components/ecl-site-header/ecl-site-header.component.html","../../components/ecl-site-header/index.ts"],"sourcesContent":["import { Component } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Container element for the header's interactive action bar: holds custom-action,\n * login, language-switcher, and search sub-components. Applies `ecl-site-header__action`.\n */\n// TODO: maybe could be part of the header, and we don't need this component?\n@Component({\n selector: 'ecl-site-header-action',\n templateUrl: './ecl-site-header-action.component.html',\n host: {\n class: 'ecl-site-header__action',\n },\n})\nexport class EclSiteHeaderActionComponent extends ECLBaseDirective {}\n","<ng-content select=\"[eclSiteHeaderCustomAction]\"></ng-content>\n<ng-content select=\"ecl-site-header-login\"></ng-content>\n<ng-content select=\"ecl-site-header-language\"></ng-content>\n<ng-content select=\"ecl-site-header-search\"></ng-content>\n","import { Directive } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Directive that marks an element as a call-to-action link inside the site header.\n * Applies `ecl-site-header__cta` and is used in harmonised and standardised header variants.\n */\n@Directive({\n selector: '[eclSiteHeaderCta]',\n host: {\n class: 'ecl-site-header__cta',\n },\n})\nexport class EclSiteHeaderCtaDirective extends ECLBaseDirective {}\n","import { isPlatformBrowser } from '@angular/common';\nimport { AfterContentInit, Directive, PLATFORM_ID, contentChild, forwardRef, inject, input, model, output } from '@angular/core';\nimport { EclIconComponent } from '@eui/ecl/components/ecl-icon';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Toggle-link directive for the custom action slot in the ECL site header.\n * Applied to an `<a>` element, it renders as a tertiary icon-only button that\n * either navigates (when `href`/`routerLink` are set) or opens/closes the custom\n * action overlay (when acting purely as a toggle).\n *\n * - Selector: `a[eclSiteHeaderCustomActionLink]`.\n * - Emits `customActionOverlayToggle` with the new `isOverlayExpanded` boolean when toggled.\n * - `isOverlayExpanded` is public so the parent `EclSiteHeaderCustomActionComponent` can reset it.\n * - Adds `ecl-site-header__icon` to any projected `EclIconComponent` child.\n */\n@Directive({\n selector: 'a[eclSiteHeaderCustomActionLink]',\n host: {\n class: 'ecl-site-header__custom-action-toggle ecl-button ecl-button--tertiary ecl-button--neutral ecl-button--icon-only',\n '[attr.aria-expanded]': 'isOverlayExpanded',\n '[attr.aria-controls]': 'ariaControls',\n '[attr.aria-haspopup]': 'ariaHasPopup',\n '[attr.href]': 'href()',\n '[attr.routerLink]': 'routerLink()',\n '(click)': 'onClick($event)',\n },\n})\nexport class EclSiteHeaderCustomActionLinkDirective extends ECLBaseDirective implements AfterContentInit {\n /** Optional href. When a real URL is provided the element navigates instead of toggling the overlay. */\n readonly href = model<string>();\n /** Optional router link. When provided the element navigates instead of toggling the overlay. */\n readonly routerLink = input<string>();\n\n /** Emitted when the toggle is activated; payload is the new `isOverlayExpanded` state. */\n readonly customActionOverlayToggle = output<boolean>();\n\n /**\n * Whether the overlay is currently expanded.\n * Public so the parent `EclSiteHeaderCustomActionComponent` can reset it on close.\n */\n isOverlayExpanded: boolean | undefined;\n\n protected ariaControls: string | undefined;\n\n protected ariaHasPopup: string | undefined;\n\n private readonly eclIconComponent = contentChild<EclIconComponent>(forwardRef(() => EclIconComponent), { descendants: true });\n private readonly ARIA_CONTROLS = 'custom-action-overlay';\n private readonly platformId = inject(PLATFORM_ID);\n\n ngAfterContentInit(): void {\n if (!isPlatformBrowser(this.platformId)) return;\n this.eclIconComponent()?.addExtraClass('ecl-site-header__icon');\n if (!this.hasLink()) {\n this.href.set('#');\n this.isOverlayExpanded = false;\n this.ariaControls = this.ARIA_CONTROLS;\n this.ariaHasPopup = 'dialog';\n }\n }\n\n onClick(evt: Event): void {\n if (!this.hasLink()) {\n this.isOverlayExpanded = !this.isOverlayExpanded;\n evt.preventDefault();\n this.customActionOverlayToggle.emit(this.isOverlayExpanded);\n }\n }\n\n /** Returns `true` when the link element has a real navigation target (non-empty `href` or `routerLink`). */\n hasLink(): boolean {\n return (!!this.href() && this.href() !== '#') || !!this.routerLink();\n }\n}\n\n/**\n * Directive applied to the `<div>` container that holds the custom action overlay content.\n * Applies the `ecl-site-header__custom-action-content` class.\n */\n@Directive({\n selector: 'div[eclSiteHeaderCustomActionContent]',\n host: {\n class: 'ecl-site-header__custom-action-content',\n },\n})\nexport class EclSiteHeaderCustomActionContentDirective extends ECLBaseDirective {}\n\n/**\n * Directive applied to the `<div>` title element inside the custom action overlay.\n * Applies `ecl-site-header__custom-action-title` and sets the element's `id` attribute\n * (default `'custom-action-overlay-title'`) for `aria-labelledby` wiring.\n */\n@Directive({\n selector: 'div[eclSiteHeaderCustomActionTitle]',\n host: {\n class: 'ecl-site-header__custom-action-title',\n '[attr.id]': 'id()',\n },\n})\nexport class EclSiteHeaderCustomActionTitleDirective extends ECLBaseDirective {\n /** ID set on the host element. Used by the overlay's `aria-labelledby` attribute. Default: `'custom-action-overlay-title'`. */\n readonly id = input('custom-action-overlay-title');\n}\n","import { Component, AfterContentInit, OnDestroy, contentChild } from '@angular/core';\nimport { outputToObservable } from '@angular/core/rxjs-interop';\nimport { A11yModule } from '@angular/cdk/a11y';\nimport { ECLBaseDirective, ECLClickOutsideDirective } from '@eui/ecl/core';\nimport { EclSiteHeaderCustomActionLinkDirective, EclSiteHeaderCustomActionTitleDirective } from './ecl-site-header-custom-action.directive';\nimport { takeUntil, Subject } from 'rxjs';\nimport { EUI_ECL_BUTTON } from '@eui/ecl/components/ecl-button';\nimport { EUI_ECL_ICON } from '@eui/ecl/components/ecl-icon';\n\n/**\n * Component that provides a custom action slot in the ECL site header.\n * Appears before the login, language, and search actions. Contains a toggle button\n * (via `EclSiteHeaderCustomActionLinkDirective`) that opens a dropdown overlay with\n * arbitrary projected content.\n *\n * - Selector: `div[eclSiteHeaderCustomAction]`.\n * - Closes the dropdown on click-outside (`ECLClickOutsideDirective`) and on the Escape key.\n * - Requires a projected `a[eclSiteHeaderCustomActionLink]` as the toggle trigger.\n * - The dropdown title ID is read from a projected `div[eclSiteHeaderCustomActionTitle]`\n * to set `aria-labelledby` on the overlay.\n */\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'div[eclSiteHeaderCustomAction]',\n templateUrl: './ecl-site-header-custom-action.component.html',\n imports: [A11yModule, ...EUI_ECL_BUTTON, ...EUI_ECL_ICON],\n hostDirectives: [\n {\n directive: ECLClickOutsideDirective,\n outputs: ['eclClickOutside'],\n },\n ],\n host: {\n class: 'ecl-site-header__custom-action',\n '(eclClickOutside)': 'onClickOutsideHandler()',\n '(document:keydown.escape)': 'onEscapeKeydownHandler()',\n },\n})\nexport class EclSiteHeaderCustomActionComponent extends ECLBaseDirective implements AfterContentInit, OnDestroy {\n /**\n * Used to expand/collapse the dropdown, if any.\n */\n protected isOverlayExpanded = false;\n protected titleId: string | undefined;\n\n private readonly title = contentChild(EclSiteHeaderCustomActionTitleDirective);\n private readonly eclSiteHeaderCustomActionLink = contentChild(EclSiteHeaderCustomActionLinkDirective);\n private destroy$: Subject<boolean> = new Subject<boolean>();\n\n ngAfterContentInit(): void {\n const title = this.title();\n if (title) {\n this.titleId = title.id();\n }\n\n // Subscribe to link output, which toggles the dropdown.\n const eclSiteHeaderCustomActionLink = this.eclSiteHeaderCustomActionLink();\n if (eclSiteHeaderCustomActionLink) {\n outputToObservable(eclSiteHeaderCustomActionLink.customActionOverlayToggle).pipe(takeUntil(this.destroy$)).subscribe((isExpanded) => {\n this.isOverlayExpanded = isExpanded;\n })\n }\n }\n\n ngOnDestroy(): void {\n this.destroy$.next(true);\n this.destroy$.unsubscribe();\n }\n\n /** Closes the overlay programmatically. Called internally on click-outside and Escape key. */\n onCustomActionOverlayClose(): void {\n this.isOverlayExpanded = false;\n const eclSiteHeaderCustomActionLink = this.eclSiteHeaderCustomActionLink();\n if (eclSiteHeaderCustomActionLink && !eclSiteHeaderCustomActionLink.hasLink()) {\n eclSiteHeaderCustomActionLink.isOverlayExpanded = false;\n }\n }\n\n /**\n * Close the overlay, when clicking outside of it.\n */\n onClickOutsideHandler(): void {\n this.onCustomActionOverlayClose();\n }\n\n /**\n * Close the overlay with ESC key.\n */\n onEscapeKeydownHandler(): void {\n this.onCustomActionOverlayClose();\n }\n}\n","<ng-content select=\"[eclSiteHeaderCustomActionLink]\"></ng-content>\n@if (isOverlayExpanded) {\n <div class=\"ecl-site-header__custom-action-overlay\" id=\"custom-action-overlay\" role=\"dialog\" [attr.aria-labelledby]=\"titleId\" cdkTrapFocus cdkTrapFocusAutoCapture>\n <div class=\"ecl-site-header__custom-action-header\">\n <ng-content select=\"[eclSiteHeaderCustomActionTitle]\"></ng-content>\n <button eclButton variant=\"tertiary\" isIconOnly class=\"ecl-site-header__custom-action-close\" (click)=\"onCustomActionOverlayClose()\">\n <span eclButtonLabel>Close</span>\n <ecl-icon icon=\"close\" size=\"m\"></ecl-icon>\n </button>\n </div>\n <ng-content select=\"[eclSiteHeaderCustomActionContent]\"></ng-content>\n </div>\n}\n","import { BreakpointObserver } from '@angular/cdk/layout';\nimport { Component, computed, ElementRef, OnDestroy, Renderer2, afterNextRender, inject } from '@angular/core';\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Component that displays the current deployment environment label (e.g. `'develop'`,\n * `'acceptance'`) overlaid on the EU/EC logo area in the site header.\n * Applies a rotated, semi-transparent error-background badge over its parent element.\n * Hides itself during print via CSS. Adapts layout between mobile and desktop breakpoints.\n *\n * - Selector: `[eclSiteHeaderEnvironment]` — applied as an attribute on any host element.\n * - Uses `ECLBaseDirective` CSS class infrastructure for the host binding.\n * - Projected text content is the environment label shown to users.\n */\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: '[eclSiteHeaderEnvironment]',\n template: '<ng-content></ng-content>',\n styles: [\n `\n :host {\n position: absolute;\n width: 100%;\n font-size: 1.3rem;\n padding: 0.3rem;\n opacity: 0.6;\n text-align: center;\n transform: rotate(-10deg);\n }\n @media print {\n :host {\n display: none;\n }\n }\n `,\n ],\n host: {\n '[class]': 'cssClasses()',\n },\n})\nexport class EclSiteHeaderEnvironmentComponent extends ECLBaseDirective implements OnDestroy {\n private el = inject(ElementRef);\n private cdkBreakpointObserver = inject(BreakpointObserver);\n private renderer = inject(Renderer2);\n\n protected readonly cssClasses = computed<string>(() =>\n [super.getCssClasses(''), 'ecl-u-type-xl ecl-u-bg-error ecl-u-type-color-white'].join(' '));\n private destroy$: Subject<boolean> = new Subject<boolean>();\n private isMobile = false;\n private parentEl: HTMLElement | undefined;\n\n constructor() {\n super();\n afterNextRender(() => {\n const el: HTMLElement = this.el.nativeElement;\n this.parentEl = this.renderer.parentNode(el);\n\n if (this.parentEl) {\n this.renderer.setStyle(this.parentEl, 'display', 'flex');\n this.renderer.setStyle(this.parentEl, 'alignItems', 'center');\n this.renderer.setStyle(this.parentEl, 'position', 'relative');\n }\n this.observeBreakpointChanges();\n });\n }\n\n ngOnDestroy(): void {\n this.destroy$.next(true);\n this.destroy$.unsubscribe();\n }\n\n private observeBreakpointChanges(): void {\n this.cdkBreakpointObserver\n .observe(['(max-width: 480px)'])\n .pipe(takeUntil(this.destroy$))\n .subscribe((result) => {\n this.isMobile = result.matches;\n if (this.isMobile) {\n this.manageMobile();\n } else {\n this.manageDesktop();\n }\n });\n }\n\n private manageMobile(): void {\n if (this.parentEl) {\n this.renderer.setStyle(this.parentEl, 'display', 'block');\n this.renderer.setStyle(this.el.nativeElement, 'width', 'unset');\n }\n }\n\n private manageDesktop(): void {\n if (this.parentEl) {\n this.renderer.setStyle(this.parentEl, 'display', 'flex');\n this.renderer.setStyle(this.el.nativeElement, 'width', '100%');\n }\n }\n}\n","import { EclBaseEvent } from '@eui/ecl/core';\n\n/** Emitted when the user clicks the login button in the ECL site header. */\nexport class EclSiteHeaderLoginEvent extends EclBaseEvent {}\n\n/**\n * Emitted when the login box in the ECL site header is opened or closed.\n *\n * @param isOpen `true` when the login box is now open; `false` when closed.\n */\nexport class EclSiteHeaderLoginBoxToggleEvent extends EclBaseEvent {\n constructor(public isOpen: boolean) {\n super();\n }\n}","import { EclBaseEvent } from '@eui/ecl/core';\nimport { EuiLanguage } from '@eui/core';\n\n/** Emitted when the user clicks the language switcher button in the ECL site header. */\nexport class EclSiteHeaderLanguageClickEvent extends EclBaseEvent {}\n\n/**\n * Emitted when the user selects a language from the ECL site header language switcher.\n *\n * @param language The `EuiLanguage` that the user selected.\n */\nexport class EclSiteHeaderLanguageSelectedEvent extends EclBaseEvent {\n constructor(public language: EuiLanguage) {\n super();\n }\n}\n\n/** Emitted when the language switcher panel in the ECL site header is closed. */\nexport class EclSiteHeaderLanguageCloseEvent extends EclBaseEvent {}","import { EclBaseEvent } from '@eui/ecl/core';\n\n/** Emitted when the user clicks the site logo in the ECL site header. */\nexport class EclSiteHeaderLogoClickEvent extends EclBaseEvent {}","import { EclBaseEvent } from '@eui/ecl/core';\n\n/**\n * Emitted when the user submits a search query from the ECL site header search field.\n *\n * @param keyword The search term entered by the user.\n */\nexport class EclSiteHeaderSearchEvent extends EclBaseEvent {\n constructor(public keyword: string) {\n super();\n }\n}\n\n/**\n * Emitted when the search panel in the ECL site header is opened or closed.\n *\n * @param isOpen `true` when the search panel is now open; `false` when closed.\n */\nexport class EclSiteHeaderSearchToggleEvent extends EclBaseEvent {\n constructor(public isOpen: boolean) {\n super();\n }\n}","\n/**\n * Emitted when the content area dimensions change in the ECL site header (e.g. on resize).\n * Carries the new pixel measurements of the header content region.\n */\nexport class EclAreaChangeEvent {\n private readonly _width: number;\n private readonly _left: number;\n private readonly _right: number;\n\n constructor(width: number, left: number, right: number) {\n this._width = width;\n this._left = left;\n this._right = right;\n }\n\n get width(): number {\n return this._width;\n }\n\n get left(): number {\n return this._left;\n }\n\n get right(): number {\n return this._right;\n }\n}","import { ScrollDispatcher } from '@angular/cdk/scrolling';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { Component, DOCUMENT, ElementRef, NgZone, OnDestroy, afterNextRender, booleanAttribute, computed, inject, output, input, viewChild } from '@angular/core';\nimport { auditTime, fromEvent, Subject, takeUntil } from 'rxjs';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { EuiLanguage } from '@eui/base';\nimport { EclThemeService } from '@eui/ecl/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclSiteHeaderLanguageCloseEvent, EclSiteHeaderLanguageSelectedEvent } from '../events';\nimport { EUI_ECL_BUTTON } from '@eui/ecl/components/ecl-button';\nimport { EUI_ECL_ICON } from '@eui/ecl/components/ecl-icon';\nimport { EUI_ECL_LINK } from '@eui/ecl/components/ecl-link';\n\n/**\n * Language-selection popover dialog rendered by `EclSiteHeaderLanguageComponent`.\n * Lists all configured application languages grouped into EU and non-EU columns.\n * Positioning (push-right, push-left, full-width, stacked columns) is driven by\n * inputs set by the parent component after each open/resize/RTL change.\n *\n * - Selector: `ecl-site-header-language-popover`.\n * - Emits `languageClosed` when the close button is activated.\n * - Emits `languageSelected` when a language link is clicked.\n * - `setLanguageContentMaxHeight` is called by the parent to clamp the scrollable\n * content area to the available viewport height.\n * - `el` (ElementRef) is public so the parent can take layout measurements.\n */\n@Component({\n selector: 'ecl-site-header-language-popover',\n templateUrl: './ecl-site-header-language-popover.component.html',\n imports: [TranslatePipe, NgTemplateOutlet, ...EUI_ECL_BUTTON, ...EUI_ECL_ICON, ...EUI_ECL_LINK],\n host: {\n // The role of the dialog is 'dialog'. Should not be changed.\n role: 'dialog',\n 'aria-labelledby': 'ecl-site-header__language-title',\n '[class]': 'cssClasses()',\n '[style.display]': 'display',\n '[style.right.px]': 'rightPosition()',\n '[style.left.px]': 'leftPosition()',\n '[style.--ecl-overlay-arrow-position]': 'languageArrowPosition()',\n '[attr.aria-modal]': 'isModal',\n '[attr.hidden]': 'isDropdownHidden',\n },\n})\nexport class EclSiteHeaderLanguagePopoverComponent extends ECLBaseDirective implements OnDestroy {\n /**\n * Host element reference. Read by the parent `ecl-site-header-language` to take positioning measurements.\n */\n readonly el = inject(ElementRef);\n\n /** Active language code, used to highlight the current selection in the list. */\n readonly languageCode = input<string>();\n /** Array of EU languages to render in the EU-languages column group. */\n readonly euLanguages = input<EuiLanguage[]>([]);\n /** Array of non-EU languages to render in the non-EU column group. */\n readonly nonEuLanguages = input<EuiLanguage[]>([]);\n /**\n * Number of columns for the EU languages group.\n * Calculated by the parent `ecl-site-header-language` based on list length.\n */\n readonly euColumnsCount = input<number>();\n /**\n * Number of columns for the non-EU languages group.\n * Calculated by the parent `ecl-site-header-language` based on list length.\n */\n readonly nonEuColumnsCount = input<number>();\n /** When `true`, hides the popover. Controlled by the parent. */\n readonly isHidden = input(false, { transform: booleanAttribute });\n /** When `true`, shifts the popover to the right to align with the container edge. Controlled by the parent. */\n readonly isPushRight = input(false, { transform: booleanAttribute });\n /** When `true`, shifts the popover to the left to align with the container edge. Controlled by the parent. */\n readonly isPushLeft = input(false, { transform: booleanAttribute });\n /** When `true`, stacks the EU and non-EU language lists vertically. Controlled by the parent. */\n readonly isStack = input(false, { transform: booleanAttribute });\n /** When `true`, stretches the popover to the full viewport width (mobile). Controlled by the parent. */\n readonly isFull = input(false, { transform: booleanAttribute });\n /** Right offset in pixels for popover positioning. Set by the parent. */\n readonly rightPosition = input<number>();\n /** Left offset in pixels for popover positioning. Set by the parent. */\n readonly leftPosition = input<number>();\n /** CSS value for the `--ecl-overlay-arrow-position` custom property. Set by the parent. */\n readonly languageArrowPosition = input<string>();\n\n /** Emitted when the popover close button is activated. */\n readonly languageClosed = output<EclSiteHeaderLanguageCloseEvent>();\n /** Emitted when a language link is clicked; payload contains the selected `EuiLanguage`. */\n readonly languageSelected = output<EclSiteHeaderLanguageSelectedEvent>();\n\n protected readonly eclThemeService = inject(EclThemeService);\n /**\n * The div, that wraps all the languages.\n */\n protected readonly languageContent = viewChild<ElementRef>('languageContent');\n protected languageContentMaxHeight!: number;\n\n private destroy$: Subject<boolean> = new Subject<boolean>();\n private readonly scrollDispatcher = inject(ScrollDispatcher);\n private readonly zone = inject(NgZone);\n private readonly document = inject<Document>(DOCUMENT);\n private readonly window = this.document.defaultView; // Window | null\n\n constructor() {\n super();\n afterNextRender(() => {\n this.subscribeToCDKScrollEvent();\n fromEvent(this.window as Window, 'resize').pipe(\n auditTime(50),\n takeUntil(this.destroy$)).subscribe(() => {\n // Calculate the height after resize. If the window is too small -> scroll should appear.\n setTimeout(() => this.setLanguageContentMaxHeight());\n });\n });\n }\n\n protected readonly cssClasses = computed<string>(() =>\n [\n super.getCssClasses('ecl-site-header__language-container'),\n this.isPushRight() ? 'ecl-site-header__language-container--push-right' : '',\n this.isPushLeft() ? 'ecl-site-header__language-container--push-left' : '',\n this.isFull() ? 'ecl-site-header__language-container--full' : '',\n ]\n .join(' ')\n .trim(),\n );\n\n protected get display(): string {\n return this.isHidden() ? 'none' : 'block';\n }\n\n protected get isModal(): boolean | undefined {\n return !this.isHidden() || undefined;\n }\n\n protected get isDropdownHidden(): boolean | undefined {\n return this.isHidden() || undefined;\n }\n\n ngOnDestroy(): void {\n this.destroy$.next(true);\n this.destroy$.unsubscribe();\n }\n\n onCloseClick(): void {\n this.languageClosed.emit(new EclSiteHeaderLanguageCloseEvent());\n }\n\n onLanguageClick(language: EuiLanguage, evt: MouseEvent): void {\n this.languageSelected.emit(new EclSiteHeaderLanguageSelectedEvent(language));\n\n evt.preventDefault();\n }\n\n /**\n * Set the max-height property of the component. It is calculated depending on the viewport.\n */\n setLanguageContentMaxHeight(): void {\n const viewportHeight = (this.window as Window).innerHeight;\n const languageContent = this.languageContent();\n if (languageContent) {\n const listTop = languageContent.nativeElement.getBoundingClientRect().top;\n const availableSpace = viewportHeight - listTop;\n if (availableSpace > 0) {\n this.languageContentMaxHeight = availableSpace;\n }\n }\n }\n\n private subscribeToCDKScrollEvent(): void {\n this.scrollDispatcher.scrolled().pipe(takeUntil(this.destroy$)).subscribe(() => {\n this.zone.run(() => {\n this.setLanguageContentMaxHeight();\n });\n });\n }\n}\n","<div class=\"ecl-site-header__language-header\">\n <div class=\"ecl-site-header__language-title\">\n {{ 'ecl.language-list.SELECT-LANGUAGE' | translate }}\n </div>\n <button eclButton variant=\"tertiary\" eclStyle=\"neutral\" isIconOnly class=\"ecl-site-header__language-close\" (click)=\"onCloseClick()\">\n <span class=\"ecl-button__container\">\n <span class=\"ecl-button__label\">\n {{ 'ecl.common.CLOSE' | translate }}\n </span>\n <ecl-icon icon=\"close\" size=\"m\"></ecl-icon>\n </span>\n </button>\n</div>\n\n<div #languageContent class=\"ecl-site-header__language-content\" [style.max-height.px]=\"languageContentMaxHeight\"\n [class.ecl-site-header__language-content--stack]=\"isStack()\">\n @if (euLanguages().length) {\n <div class=\"ecl-site-header__language-category ecl-site-header__language-category--{{ euColumnsCount() }}-col\">\n <div class=\"ecl-site-header__language-category-title\">\n {{ 'ecl.language-list.EU-LANGUAGES' | translate }}\n </div>\n @if (euLanguages().length === 1) {\n <div class=\"ecl-site-header__language-list\" [attr.translate]=\"'no'\">\n <div class=\"ecl-site-header__language-item\">\n <ng-container [ngTemplateOutlet]=\"languageLink\" [ngTemplateOutletContext]=\"{ $implicit: euLanguages()[0] }\"></ng-container>\n </div>\n </div>\n } @else {\n <ul class=\"ecl-site-header__language-list\" [attr.translate]=\"'no'\">\n @for (item of euLanguages(); track item.code) {\n <li class=\"ecl-site-header__language-item\">\n <ng-container [ngTemplateOutlet]=\"languageLink\" [ngTemplateOutletContext]=\"{ $implicit: item }\"></ng-container>\n </li>\n }\n </ul>\n }\n </div>\n }\n @if (nonEuLanguages().length) {\n <div class=\"ecl-site-header__language-category ecl-site-header__language-category--{{ nonEuColumnsCount() }}-col\">\n <div class=\"ecl-site-header__language-category-title\">\n {{ 'ecl.language-list.NON-EU-LANGUAGES' | translate }}\n </div>\n @if (nonEuLanguages().length === 1) {\n <div class=\"ecl-site-header__language-list\" [attr.translate]=\"'no'\">\n <div class=\"ecl-site-header__language-item\">\n <ng-container [ngTemplateOutlet]=\"languageLink\" [ngTemplateOutletContext]=\"{ $implicit: nonEuLanguages()[0] }\"></ng-container>\n </div>\n </div>\n } @else {\n <ul class=\"ecl-site-header__language-list\" [attr.translate]=\"'no'\">\n @for (item of nonEuLanguages(); track item.code) {\n <li class=\"ecl-site-header__language-item\">\n <ng-container [ngTemplateOutlet]=\"languageLink\" [ngTemplateOutletContext]=\"{ $implicit: item }\"></ng-container>\n </li>\n }\n </ul>\n }\n </div>\n }\n</div>\n\n<ng-template #languageLink let-item>\n <a\n eclLink\n href=\"#\"\n variant=\"standalone\"\n [lang]=\"item.code\"\n [hreflang]=\"item.code\"\n class=\"ecl-site-header__language-link\"\n [class.ecl-site-header__language-link--active]=\"item.code === languageCode()\"\n (click)=\"onLanguageClick(item, $event)\">\n <span class=\"ecl-site-header__language-link-code\">{{ item.code }}</span>\n <span class=\"ecl-site-header__language-link-label\">{{ item.label }}</span>\n </a>\n</ng-template>\n","import {\n AfterViewInit,\n Component,\n computed,\n DOCUMENT,\n ElementRef,\n inject,\n OnDestroy,\n OnInit,\n output,\n viewChild,\n} from '@angular/core';\nimport { UpperCasePipe } from '@angular/common';\nimport { A11yModule } from '@angular/cdk/a11y';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { EuiEuLanguages, GLOBAL_CONFIG_TOKEN, GlobalConfig, I18nService } from '@eui/core';\nimport { EuiLanguage } from '@eui/base';\nimport { ECLBaseDirective, ECLClickOutsideDirective, EclRtlService, EclThemeService } from '@eui/ecl/core';\nimport { debounceTime, fromEvent, Subject, takeUntil } from 'rxjs';\nimport { EclSiteHeaderLanguageClickEvent, EclSiteHeaderLanguageCloseEvent, EclSiteHeaderLanguageSelectedEvent } from '../events';\nimport { EclSiteHeaderLanguagePopoverComponent } from './ecl-site-header-language-popover.component';\nimport { EUI_ECL_ICON } from '@eui/ecl/components/ecl-icon';\n\n/** Half the arrow's own width, matching ECL's `arrowSize`. */\nconst ARROW_SIZE = '0.5rem';\n\n/**\n * Language-switcher sub-component for the ECL site header.\n * Displays the current language as a toggle button; when activated it opens a popover\n * listing all languages configured for the site (EU and non-EU groups).\n *\n * - Selector: `ecl-site-header-language`.\n * - Emits `languageClick` when the current-language toggle is activated.\n * - Emits `languageSelected` when the user picks a language from the dropdown.\n * - Popover positioning (push-left, push-right, full-width, stack) mirrors ECL's\n * `updateOverlayPosition` logic and updates on resize and RTL direction changes.\n * - Closes on click-outside (`ECLClickOutsideDirective`) and on the Escape key.\n * - `languageCode` is public so the parent `ecl-site-header` can read and write it directly.\n */\n@Component({\n selector: 'ecl-site-header-language',\n templateUrl: './ecl-site-header-language.component.html',\n imports: [A11yModule, TranslatePipe, UpperCasePipe, ...EUI_ECL_ICON, EclSiteHeaderLanguagePopoverComponent],\n hostDirectives: [\n {\n directive: ECLClickOutsideDirective,\n outputs: ['eclClickOutside'],\n },\n ],\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n host: {\n '[class]': 'cssClasses()',\n '(eclClickOutside)': 'onClickOutside()',\n '(document:keydown.escape)': 'onEscapeKeydownHandler()',\n },\n})\nexport class EclSiteHeaderLanguageComponent extends ECLBaseDirective implements OnInit, AfterViewInit, OnDestroy {\n /**\n * Emitted when the current-language link is clicked (toggling the dropdown open/closed).\n */\n readonly languageClick = output<EclSiteHeaderLanguageClickEvent>();\n /**\n * Emitted when the user selects a language from the dropdown.\n * Payload contains the selected `EuiLanguage`.\n */\n readonly languageSelected = output<EclSiteHeaderLanguageSelectedEvent>();\n\n /**\n * Current active language code (e.g. `'en'`, `'fr'`).\n * Read and written by the parent `ecl-site-header`.\n */\n languageCode = 'en';\n\n protected readonly eclThemeService = inject(EclThemeService);\n protected readonly config = inject<GlobalConfig>(GLOBAL_CONFIG_TOKEN, { optional: true });\n protected readonly i18nService = inject(I18nService);\n\n protected isLanguagesDropdownVisible = false;\n /**\n * This property is used for dropdown positioning on the screen.\n */\n protected isPushRight = false;\n /**\n * This property is used for dropdown positioning on the screen.\n */\n protected isPushLeft = false;\n /**\n * This property is used for dropdown positioning on the screen.\n */\n protected isStack = false;\n /**\n * This property is used for dropdown positioning on the screen.\n */\n protected isFull = false;\n /**\n * This property is used for dropdown positioning on the screen.\n */\n protected languageArrowPosition: string | undefined;\n protected rightPosition: number | undefined;\n protected leftPosition: number | undefined;\n /**\n * Array of EU languages, that can be selected for the current site.\n */\n protected euLanguages: EuiLanguage[] = [];\n /**\n * Array of non-EU languages, that can be selected for the current site.\n */\n protected nonEuLanguages: EuiLanguage[] = [];\n protected euColumnsCount = 1;\n protected nonEuColumnsCount = 1;\n\n /**\n * The language popover, that shows all available languages (configured in the config file of the current site).\n */\n private readonly languagePopover = viewChild(EclSiteHeaderLanguagePopoverComponent);\n /**\n * The link to open the popover dialog.\n */\n private readonly languageLinkElement = viewChild('languageLink', { read: ElementRef });\n\n private readonly MOBILE_BREAKPOINT = 768;\n private readonly LANGUAGE_MAX_COLUMNS = 8;\n private readonly RESIZE_DEBOUNCE = 200;\n private destroy$: Subject<boolean> = new Subject<boolean>();\n private _languages: EuiLanguage[] = [];\n private isRtl = false;\n private readonly eclRtlService = inject(EclRtlService);\n private readonly el = inject(ElementRef);\n private readonly document = inject<Document>(DOCUMENT);\n private readonly window = this.document.defaultView; // Window | null\n\n protected readonly cssClasses = computed<string>(() => super.getCssClasses('ecl-site-header__language'));\n\n ngOnInit(): void {\n this.handleRtlChangeState();\n }\n\n /**\n * After view is initialized -> set up resize repositioning and initialize languages, that are configured in the config file\n * of the current site.\n */\n ngAfterViewInit(): void {\n this.handleResize();\n this.handleInitialConfiguredLanguages();\n }\n\n ngOnDestroy(): void {\n this.destroy$.next(true);\n this.destroy$.complete();\n }\n\n protected getLanguageLabel(): string {\n return `${EuiEuLanguages.getLanguageByCode(this.languageCode)?.label} - ${this.languageCode.toUpperCase()}`;\n }\n\n /**\n * Toggle the language dropdown when clicking the link, showing the current language.\n * @param evt\n */\n protected onLanguageClick(evt: Event): void {\n this.isLanguagesDropdownVisible = !this.isLanguagesDropdownVisible;\n if (!this.isLanguagesDropdownVisible) {\n setTimeout(() => this.resetPositioning());\n }\n\n // If the dropdown is visible, we set the max-height of the dropdown, so that it can be scrolled.\n if (this.isLanguagesDropdownVisible) {\n setTimeout(() => this.languagePopover()?.setLanguageContentMaxHeight());\n // Position the popover and its arrow after the popover is rendered and reflowed.\n // Matches ECL's updateOverlayPosition call in toggleOverlay.\n requestAnimationFrame(() => this.calculatePopoverPosition());\n }\n this.languageClick.emit(new EclSiteHeaderLanguageClickEvent());\n\n evt.preventDefault();\n }\n\n protected onLanguageClosed(evt: EclSiteHeaderLanguageCloseEvent): void {\n this.isLanguagesDropdownVisible = false;\n }\n\n protected onLanguageSelected(evt: EclSiteHeaderLanguageSelectedEvent): void {\n this.languageCode = evt.language.code;\n this.updateCurrentLanguage(evt.language.code);\n this.isLanguagesDropdownVisible = false;\n this.languageSelected.emit(new EclSiteHeaderLanguageSelectedEvent(evt.language));\n }\n\n /**\n * Close the dropdown, when clicking outside of the component.\n */\n protected onClickOutside(): void {\n this.isLanguagesDropdownVisible = false;\n }\n\n /**\n * Close the dropdown, when pressing ESC key.\n */\n protected onEscapeKeydownHandler(): void {\n this.isLanguagesDropdownVisible = false;\n }\n\n hasLanguageCodes(): boolean {\n return this._languages && this._languages.length > 0;\n }\n\n private handleRtlChangeState(): void {\n this.eclRtlService.currentRtlState$.pipe(takeUntil(this.destroy$)).subscribe((rtlState) => {\n this.isRtl = rtlState;\n if (this.isLanguagesDropdownVisible) {\n this.calculatePopoverPosition();\n }\n });\n }\n\n /**\n * Calculate the number of columns for EU and non-EU languages, depending on languages' count.\n */\n private updateLanguages(): void {\n\n this.euLanguages = this._languages.filter((item) => EuiEuLanguages.isEuLanguage(item.code));\n\n this.nonEuLanguages = this._languages.filter((item) => !EuiEuLanguages.isEuLanguage(item.code));\n\n this.euColumnsCount = Math.ceil(this.euLanguages.length / this.LANGUAGE_MAX_COLUMNS);\n\n this.nonEuColumnsCount = Math.ceil(this.nonEuLanguages.length / this.LANGUAGE_MAX_COLUMNS);\n }\n\n /**\n * Clears every positioning flag/offset so a fresh calculation (or a close) starts from a known state.\n */\n private resetPositioning(): void {\n this.isFull = false;\n this.isStack = false;\n this.isPushRight = false;\n this.isPushLeft = false;\n this.rightPosition = undefined;\n this.leftPosition = undefined;\n this.languageArrowPosition = undefined;\n }\n\n /**\n * Positions the language popover and its arrow, matching ECL's updateOverlayPosition.\n * The container is the site-header top area (ECL's '[data-ecl-site-header-top]'), resolved from\n * the DOM rather than a shared service so the measurement is taken at the right time (on open/resize).\n */\n private calculatePopoverPosition(): void {\n if (!this.isLanguagesDropdownVisible || !this.hasLanguageCodes()) return;\n\n const container = this.el.nativeElement.closest('.ecl-site-header__top') as HTMLElement | null;\n const languagePopover = this.languagePopover();\n if (!container || !languagePopover) return;\n\n const languageLinkElement = this.languageLinkElement();\n const win = this.window;\n if (!languageLinkElement || !win) return;\n const toggleButtonRect = languageLinkElement.nativeElement.getBoundingClientRect();\n const popoverRect = languagePopover.el.nativeElement.getBoundingClientRect();\n const containerRect = container.getBoundingClientRect();\n const screenWidth = win.innerWidth;\n const clientWidth = Math.max(this.document.documentElement.clientWidth || 0, win.innerWidth || 0);\n\n this.resetPositioning();\n\n // Stack the EU / non-EU lists when the popover is wider than the container.\n if (popoverRect.width > containerRect.width) {\n this.isStack = true;\n if (this.nonEuLanguages.length) {\n this.nonEuColumnsCount = Math.max(this.euColumnsCount, this.nonEuColumnsCount);\n }\n }\n\n // Mobile: the popover is full width. The arrow is anchored from the box's right edge,\n // so the offset is measured against popoverRect.right. Exclusive with push-right/left,\n // matching ECL's updateOverlayPosition (mobile branch returns early).\n if (clientWidth < this.MOBILE_BREAKPOINT) {\n const arrowOffset = popoverRect.right - toggleButtonRect.right + toggleButtonRect.width / 2;\n this.isFull = true;\n this.languageArrowPosition = `calc(${arrowOffset}px - ${ARROW_SIZE})`;\n return;\n }\n\n // RTL: popover overflows the left edge -> push it right against the container's left edge.\n if (this.isRtl && popoverRect.left < 0) {\n const arrowOffset = toggleButtonRect.right - containerRect.left - toggleButtonRect.width / 2;\n this.isPushLeft = true;\n this.leftPosition = -toggleButtonRect.left + containerRect.left;\n this.languageArrowPosition = `${arrowOffset}px`;\n } else if (!this.isRtl && popoverRect.right > screenWidth) {\n // LTR: popover overflows the right edge -> push it left against the container's right edge.\n const arrowOffset = containerRect.right - toggleButtonRect.right + toggleButtonRect.width / 2;\n this.isPushRight = true;\n this.rightPosition = -containerRect.right + toggleButtonRect.right;\n this.languageArrowPosition = `calc(${arrowOffset}px - ${ARROW_SIZE})`;\n }\n }\n\n /**\n * On window resize -> reposition the popover, but only while it is open.\n * Debounced for performance, matching ECL's handleResize.\n */\n private handleResize(): void {\n const win = this.window;\n if (!win) return;\n fromEvent(win, 'resize')\n .pipe(debounceTime(this.RESIZE_DEBOUNCE), takeUntil(this.destroy$))\n .subscribe(() => {\n if (this.isLanguagesDropdownVisible) {\n this.calculatePopoverPosition();\n }\n });\n }\n\n private getConfiguredLanguages(): void {\n const languages: string[] = this.config?.i18n?.i18nService?.languages?.map(lang => {\n return (typeof lang !== 'string') ? (lang as EuiLanguage).code : lang\n }) || [];\n this._languages = EuiEuLanguages.getAllLanguagesByCodes(languages);\n\n if (this.config?.i18n?.i18nService?.defaultLanguage) {\n this.languageCode = this.config?.i18n?.i18nService?.defaultLanguage;\n } else {\n if (this._languages && this._languages.length > 0) {\n this.languageCode = this._languages[0].code;\n }\n }\n }\n\n private updateCurrentLanguage(lang: string): void {\n this.i18nService.updateState({\n activeLang: lang,\n });\n }\n\n private handleInitialConfiguredLanguages(): void {\n setTimeout(() => {\n if (this._languages === undefined || this._languages.length === 0) {\n this.getConfiguredLanguages();\n }\n this.updateLanguages();\n });\n }\n}\n","<button\n type=\"button\"\n #languageLink\n class=\"ecl-button ecl-button--tertiary ecl-button--neutral ecl-site-header__language-selector\"\n aria-controls=\"language-list-overlay\"\n aria-haspopup=\"dialog\"\n [attr.aria-label]=\"'ecl.language-list.SELECT-LANGUAGE-EXT' | translate: { currentLang: getLanguageLabel() }\"\n [attr.aria-expanded]=\"isLanguagesDropdownVisible\"\n (click)=\"onLanguageClick($event)\"\n (keydown.space)=\"onLanguageClick($event)\">\n <span class=\"ecl-site-header__language-icon\">\n <ecl-icon icon=\"global\" size=\"m\" class=\"ecl-site-header__icon\"></ecl-icon>\n </span>\n {{ languageCode | uppercase }}\n</button>\n@if(hasLanguageCodes() && isLanguagesDropdownVisible) {\n<ecl-site-header-language-popover\n #languagePopover\n cdkTrapFocus\n cdkTrapFocusAutoCapture\n id=\"language-list-overlay\"\n [languageCode]=\"languageCode\"\n [euLanguages]=\"euLanguages\"\n [nonEuLanguages]=\"nonEuLanguages\"\n [euColumnsCount]=\"euColumnsCount\"\n [nonEuColumnsCount]=\"nonEuColumnsCount\"\n [isStack]=\"isStack\"\n [isPushRight]=\"isPushRight\"\n [isPushLeft] = \"isPushLeft\"\n [isFull]=\"isFull\"\n [rightPosition]=\"rightPosition\"\n [leftPosition]=\"leftPosition\"\n [languageArrowPosition]=\"languageArrowPosition\"\n (languageSelected)=\"onLanguageSelected($event)\"\n (languageClosed)=\"onLanguageClosed($event)\">\n</ecl-site-header-language-popover>\n}","import { Component, DOCUMENT, ElementRef, OnChanges, OnDestroy, SimpleChanges, afterNextRender, booleanAttribute, inject, signal, output, input, viewChild } from '@angular/core';\nimport { Subject, debounceTime, fromEvent, takeUntil } from 'rxjs';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { ECLBaseDirective, ECLClickOutsideDirective } from '@eui/ecl/core';\nimport { EclRtlService } from '@eui/ecl/core';\nimport { EclSiteHeaderLoginBoxToggleEvent, EclSiteHeaderLoginEvent } from '../events';\nimport { EUI_ECL_ICON } from '@eui/ecl/components/ecl-icon';\nimport { EUI_ECL_BUTTON } from '@eui/ecl/components/ecl-button';\n\n/** Half the arrow's own width, matching ECL's `arrowSize`. */\nconst ARROW_SIZE = '0.5rem';\n/** Debounce for the resize recomputation, matching ECL's `handleResize`. */\nconst RESIZE_DEBOUNCE = 200;\n\n/**\n * Login/logout sub-component for the harmonised ECL site header.\n * Shows a toggle button that opens a login details popover; when `isLoggedIn` is `true`,\n * the button toggles the logged-in user details dropdown instead.\n *\n * - Selector: `ecl-site-header-login`.\n * - Emits `login` when the unauthenticated login link is activated.\n * - Emits `loginBoxToggle` when the details popover is opened or closed.\n * - The popover arrow is repositioned on resize and RTL direction changes,\n * mirroring ECL vanilla's `setLoginArrow` logic.\n * - Closes automatically on click-outside (`ECLClickOutsideDirective`).\n * - `isLoginBoxActive` is public so the parent `ecl-site-header` can reset it\n * when the search box opens.\n */\n@Component({\n selector: 'ecl-site-header-login',\n templateUrl: './ecl-site-header-login.component.html',\n imports: [TranslatePipe, ...EUI_ECL_ICON, ...EUI_ECL_BUTTON],\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n hostDirectives: [\n {\n directive: ECLClickOutsideDirective,\n outputs: ['eclClickOutside'],\n },\n ],\n host: {\n class: 'ecl-site-header__login-container',\n '(eclClickOutside)': 'onClickOutside()',\n },\n})\nexport class EclSiteHeaderLoginComponent extends ECLBaseDirective implements OnChanges, OnDestroy {\n /** Whether the user is currently logged in. Controls which button is rendered. */\n readonly isLoggedIn = input(false, { transform: booleanAttribute });\n\n /** Emitted when the unauthenticated login link is activated. */\n readonly login = output<EclSiteHeaderLoginEvent>();\n /** Emitted when the login details popover is opened or closed; payload indicates the new open state. */\n readonly loginBoxToggle = output<EclSiteHeaderLoginBoxToggleEvent>();\n\n /**\n * Whether the login popover is currently open. Public so the parent\n * `ecl-site-header` can reset it directly when the search box opens.\n */\n isLoginBoxActive = false;\n\n /**\n * The position of the arrow of the popover, when in mobile (full-width) mode.\n */\n protected readonly loginArrowPosition = signal<string | undefined>(undefined);\n\n /**\n * The login link element from the view, i.e. the login button (the toggle).\n */\n private readonly loginLinkElement = viewChild('loginLink', { read: ElementRef });\n /**\n * The login box element from the view, i.e. the dropdown the arrow points at.\n */\n private readonly loginBoxElement = viewChild('loginBox', { read: ElementRef });\n\n private readonly destroy$: Subject<boolean> = new Subject<boolean>();\n private readonly eclRtlService = inject(EclRtlService);\n private readonly document = inject<Document>(DOCUMENT);\n private readonly window = this.document.defaultView;\n\n constructor() {\n super();\n afterNextRender(() => {\n // Recompute the arrow only while the box is open.\n this.eclRtlService.currentRtlState$.pipe(debounceTime(50), takeUntil(this.destroy$)).subscribe(() => {\n if (this.isLoginBoxActive) this.setLoginArrow();\n });\n if (this.window) {\n fromEvent(this.window, 'resize').pipe(debounceTime(RESIZE_DEBOUNCE), takeUntil(this.destroy$)).subscribe(() => {\n if (this.isLoginBoxActive) this.setLoginArrow();\n });\n }\n });\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n const isLoggedInChange = changes['isLoggedIn'];\n if (isLoggedInChange && isLoggedInChange.previousValue === true) {\n this.isLoginBoxActive = false;\n }\n }\n\n ngOnDestroy(): void {\n this.destroy$.next(true);\n this.destroy$.unsubscribe();\n }\n\n /**\n * Close the login popover on click outside.\n */\n protected onClickOutside(): void {\n this.onLoginBoxClose();\n }\n\n /**\n * @returns classes for the login popover.\n */\n protected getLoginBoxCssClasses(): string {\n return ['ecl-site-header__login-box', this.isLoginBoxActive ? 'ecl-site-header__login-box--active' : ''].join(' ');\n }\n\n protected onLoginClick(evt: MouseEvent): void {\n const event = new EclSiteHeaderLoginEvent();\n this.login.emit(event);\n evt.preventDefault();\n }\n\n protected onLoginBoxToggle(evt: MouseEvent): void {\n this.isLoginBoxActive = !this.isLoginBoxActive;\n const event = new EclSiteHeaderLoginBoxToggleEvent(this.isLoginBoxActive);\n this.loginBoxToggle.emit(event);\n evt.preventDefault();\n\n if (this.isLoginBoxActive) {\n // Measure after the '--active' class is applied and the box reflows to full width.\n this.window?.requestAnimationFrame(() => this.setLoginArrow());\n }\n }\n\n private onLoginBoxClose(): void {\n if (this.isLoginBoxActive) {\n this.isLoginBoxActive = false;\n const event = new EclSiteHeaderLoginBoxToggleEvent(this.isLoginBoxActive);\n this.loginBoxToggle.emit(event);\n this.loginArrowPosition.set(undefined);\n }\n }\n\n /**\n * Position the dropdown arrow so it points at the toggle button.\n * The arrow only exists on the mobile full-width dropdown, so the calculation is gated on the box\n * spanning (almost) the full viewport width. The offset is relative to the box's own left edge.\n * Mirrors ECL's 'setLoginArrow' in site-header.js.\n */\n private setLoginArrow(): void {\n const loginBoxRect = this.loginBoxElement()?.nativeElement.getBoundingClientRect();\n const toggleButtonRect = this.loginLinkElement()?.nativeElement.getBoundingClientRect();\n if (!loginBoxRect || !toggleButtonRect) return;\n\n const clientWidth = this.document.documentElement.clientWidth;\n if (loginBoxRect.width >= clientWidth - 1) {\n const arrowOffset = toggleButtonRect.left - loginBoxRect.left + toggleButtonRect.width / 2;\n this.loginArrowPosition.set(`calc(${arrowOffset}px - ${ARROW_SIZE})`);\n } else {\n this.loginArrowPosition.set(undefined);\n }\n }\n}\n","@if (isLoggedIn()) {\n <button\n #loginLink\n eclButton\n type=\"button\"\n variant=\"tertiary\"\n eclStyle=\"neutral\"\n class=\"ecl-site-header__login-toggle\"\n data-ecl-login-toggle\n aria-controls=\"login-box-id\"\n aria-haspopup=\"dialog\"\n [attr.aria-expanded]=\"isLoginBoxActive\"\n (click)=\"onLoginBoxToggle($event)\">\n <ecl-icon icon=\"logged-in\" size=\"m\" class=\"ecl-site-header__icon\"></ecl-icon>\n <span eclButtonLabel>{{ 'ecl.site-header.LOGGED-IN' | translate }}</span>\n </button>\n <div\n #loginBox\n id=\"login-box-id\"\n role=\"dialog\"\n [style]=\"{'--ecl-login-arrow-position': loginArrowPosition()}\"\n class=\"{{ getLoginBoxCssClasses() }}\">\n <ng-content></ng-content>\n </div>\n} @else {\n <button\n eclButton\n type=\"button\"\n variant=\"tertiary\"\n eclStyle=\"neutral\"\n class=\"ecl-site-header__login-toggle\"\n data-ecl-login-toggle\n [attr.aria-expanded]=\"isLoginBoxActive\"\n (click)=\"onLoginClick($event)\">\n <ecl-icon icon=\"log-in\" size=\"m\" class=\"ecl-site-header__icon\"></ecl-icon>\n <span eclButtonLabel>{{ 'ecl.site-header.LOGIN' | translate }}</span>\n </button>\n}\n","import { Directive } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Directive that applies `ecl-site-header__login-description` to an element\n * containing the logged-in user description inside the login dropdown.\n */\n@Directive({\n selector: '[eclSiteHeaderLoginDescription]',\n host: {\n class: 'ecl-site-header__login-description',\n },\n})\nexport class EclSiteHeaderLoginDescriptionDirective extends ECLBaseDirective {}\n\n/**\n * Directive that applies `ecl-site-header__login-separator` to a horizontal rule\n * that visually separates the user description from the logout link in the login dropdown.\n */\n@Directive({\n selector: '[eclSiteHeaderLoginSeparator]',\n host: {\n class: 'ecl-site-header__login-separator',\n },\n})\nexport class EclSiteHeaderLoginSeparatorDirective extends ECLBaseDirective {}\n","import { Component, computed } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Component that wraps an `ecl-notification` when it is embedded in the site header.\n * Applies `ecl-site-header__notification` and exposes `onHide`/`onShow` methods so the\n * parent header can suppress the notification while the mega-menu is open on mobile.\n */\n@Component({\n selector: 'ecl-site-header-notification',\n templateUrl: 'ecl-site-header-notification.component.html',\n host: {\n '[class]': 'cssClasses()',\n '[style.display]': 'display',\n },\n})\nexport class EclSiteHeaderNotificationComponent extends ECLBaseDirective {\n protected display = '';\n\n protected readonly cssClasses = computed<string>(() =>\n super.getCssClasses('ecl-site-header__notification'));\n\n /** Hides the notification by setting `display: none` on the host. */\n onHide(): void {\n this.display = 'none';\n }\n\n /** Restores the notification by removing the `display: none` style. */\n onShow(): void {\n this.display = '';\n }\n}\n","<div class=\"ecl-container\">\n <ng-content></ng-content>\n</div>\n","import { computed, Directive, signal } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Directive that applies ECL picture classes (`ecl-site-header__picture ecl-picture`)\n * to a `<picture>` element used as the header logo wrapper.\n */\n@Directive({\n selector: '[eclSiteHeaderPicture]',\n host: {\n class: 'ecl-site-header__picture ecl-picture',\n },\n})\nexport class EclSiteHeaderPictureDirective extends ECLBaseDirective {}\n\n/**\n * Directive that applies `ecl-site-header__logo-image` and the size modifier class\n * (`ecl-site-header__logo-image--s/m/l`) to an `<img>` element used as the header logo.\n * The `logoSize` signal is set by the parent `EclSiteHeaderComponent` via `ngAfterContentInit`.\n */\n@Directive({\n selector: '[eclSiteHeaderImage]',\n host: {\n '[class]': 'cssClasses()',\n },\n})\nexport class EclSiteHeaderImageDirective extends ECLBaseDirective {\n readonly logoSize = signal<string>('m');\n\n protected readonly cssClasses = computed<string>(() =>\n [\n super.getCssClasses('ecl-site-header__logo-image'),\n `ecl-site-header__logo-image--${this.logoSize()}`,\n ].join(' ').trim());\n}\n\n/**\n * Directive that applies `ecl-link ecl-link--standalone ecl-site-header__logo-link`\n * to an `<a>` element used as the logo hyperlink in the site header.\n */\n@Directive({\n selector: '[eclSiteHeaderLink]',\n host: {\n class: 'ecl-link ecl-link--standalone ecl-site-header__logo-link',\n },\n})\nexport class EclSiteHeaderLinkDirective extends ECLBaseDirective {}\n","import { isPlatformBrowser } from '@angular/common';\nimport { A11yModule } from '@angular/cdk/a11y';\nimport { AfterViewInit, Component, DOCUMENT, ElementRef, forwardRef, HostListener, inject, OnDestroy, PLATFORM_ID, Provider, output, input, model, signal, viewChild } from '@angular/core';\nimport { ControlValueAccessor, FormsModule, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { EUI_ECL_BUTTON } from '@eui/ecl/components/ecl-button';\nimport { EUI_ECL_ICON } from '@eui/ecl/components/ecl-icon';\nimport { EclSearchFormEvent, EUI_ECL_SEARCH_FORM } from '@eui/ecl/components/ecl-search-form';\nimport { ECLBaseDirective, ECLClickOutsideDirective, EclRtlService } from '@eui/ecl/core';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { debounceTime, fromEvent, Subject, takeUntil } from 'rxjs';\nimport { EclSiteHeaderSearchEvent, EclSiteHeaderSearchToggleEvent } from '../events';\n\nexport const ECL_SITE_HEADER_SEARCH_VALUE_ACCESSOR: Provider = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => EclSiteHeaderSearchComponent),\n multi: true,\n};\n\nconst noop = (): void => {\n /** empty*/\n};\n\n/** Half the arrow's own width, matching ECL's `arrowSize`. */\nconst ARROW_SIZE = '0.5rem';\n/** Debounce for the resize recomputation, matching ECL's `handleResize`. */\nconst RESIZE_DEBOUNCE = 200;\n\n/**\n * Search sub-component for the ECL site header.\n * Renders a toggle button that expands a search form dropdown; implements\n * `ControlValueAccessor` so the search input value can be bound with `ngModel`\n * or a Reactive Form control.\n *\n * - Selector: `ecl-site-header-search`.\n * - Two-way `searchInputText` model binding holds the current search query.\n * - Emits `searchEvent` when the user submits the search form.\n * - Emits `searchToggle` when the search dropdown opens or closes.\n * - The dropdown arrow is repositioned on resize and RTL direction changes,\n * mirroring ECL's `setSearchArrow` logic.\n * - Closes on click-outside (`ECLClickOutsideDirective`).\n * - `isSearchBoxActive` is public so the parent `ecl-site-header` can reset it\n * when the login box opens.\n */\n@Component({\n selector: 'ecl-site-header-search',\n templateUrl: './ecl-site-header-search.component.html',\n imports: [A11yModule, FormsModule, TranslatePipe, ...EUI_ECL_SEARCH_FORM, ...EUI_ECL_ICON, ...EUI_ECL_BUTTON],\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n providers: [ECL_SITE_HEADER_SEARCH_VALUE_ACCESSOR],\n hostDirectives: [\n {\n directive: ECLClickOutsideDirective,\n outputs: ['eclClickOutside'],\n },\n ],\n host: {\n class: 'ecl-site-header__search-container',\n // The default role of the component is 'search', should not be changed.\n role: 'search',\n '(eclClickOutside)': 'onClickOutside()',\n },\n})\nexport class EclSiteHeaderSearchComponent extends ECLBaseDirective implements ControlValueAccessor, AfterViewInit, OnDestroy {\n /** Two-way binding for the current search input text value. */\n readonly searchInputText = model<string>();\n /** Placeholder text for the search input field. */\n readonly searchInputPlaceholder = input<string>();\n /** Accessible label for the search submit button. */\n readonly searchButtonLabel = input<string>();\n\n /** Emitted when the user submits the search form; payload contains the search keyword. */\n readonly searchEvent = output<EclSiteHeaderSearchEvent>();\n /** Emitted when the search dropdown opens or closes; payload contains the new open state. */\n readonly searchToggle = output<EclSiteHeaderSearchToggleEvent>();\n\n /**\n * Whether the search dropdown is currently open. Public so the parent\n * `ecl-site-header` can reset it directly when the login box opens.\n */\n isSearchBoxActive = false;\n\n /**\n * Unique id of the search dialog, referenced by the toggle's `aria-controls`.\n * Generated per instance so multiple site headers on one page cannot produce\n * duplicate ids (ECL hardcodes this; we generate it to stay collision-safe).\n */\n readonly dialogId = `ecl-site-header-search-form-dialog-${crypto.randomUUID()}`;\n\n /** Unique id of the search input, used to wire the dialog's `aria-labelledby`. */\n readonly searchInputId = `ecl-site-header-search-input-${crypto.randomUUID()}`;\n\n /**\n * The arrow position of the search dropdown, when in mobile (full-width) mode.\n */\n protected readonly searchArrowPosition = signal<string | undefined>(undefined);\n\n /**\n * The search link element from the view, i.e. the search button (the toggle).\n */\n private readonly searchLinkElement = viewChild('searchLink', { read: ElementRef });\n /**\n * The search form element from the view, i.e. the dropdown box the arrow points from.\n */\n private readonly searchFormElement = viewChild('searchForm', { read: ElementRef });\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private onChange: (_: any) => void = noop;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private onTouched: (_: any) => void = noop;\n\n private destroy$: Subject<boolean> = new Subject<boolean>();\n private readonly eclRtlService = inject(EclRtlService);\n private readonly platformId = inject(PLATFORM_ID);\n private readonly document = inject<Document>(DOCUMENT);\n private readonly window = this.document.defaultView; // Window | null\n\n ngAfterViewInit(): void {\n if (!isPlatformBrowser(this.platformId)) return;\n\n // Recompute while open on resize (debounced, matching ECL's handleResize).\n if (this.window) {\n fromEvent(this.window, 'resize')\n .pipe(debounceTime(RESIZE_DEBOUNCE), takeUntil(this.destroy$))\n .subscribe(() => this.setSearchArrow());\n }\n\n // Recompute while open on RTL direction change.\n this.eclRtlService.currentRtlState$.pipe(debounceTime(50), takeUntil(this.destroy$)).subscribe(() => this.setSearchArrow());\n }\n\n ngOnDestroy(): void {\n this.destroy$.next(true);\n this.destroy$.complete();\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n writeValue(value: any): void {\n this.searchInputText.set(value);\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n registerOnChange(fn: any): void {\n this.onChange = fn;\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n registerOnTouched(fn: any): void {\n this.onTouched = fn;\n }\n\n /**\n * Close the search dropdown on click outside, matching ECL's `handleClickGlobal`.\n */\n protected onClickOutside(): void {\n this.closeSearchBox();\n }\n\n /**\n * Close the search dialog on Escape and return focus to the toggle button.\n * Mirrors the ECL reference behaviour (FRONT-5415).\n */\n @HostListener('document:keydown.escape')\n onEscapeKeydown(): void {\n if (!this.isSearchBoxActive) {\n return;\n }\n this.isSearchBoxActive = false;\n this.searchToggle.emit(new EclSiteHeaderSearchToggleEvent(false));\n this.searchLinkElement()?.nativeElement.focus();\n }\n\n protected onSearch(evt: EclSearchFormEvent): boolean {\n this.searchEvent.emit(new EclSiteHeaderSearchEvent(evt.keyword));\n this.onChange(evt.keyword);\n return false;\n }\n\n protected onSearchBoxToggle(evt: MouseEvent): void {\n this.isSearchBoxActive = !this.isSearchBoxActive;\n const event = new EclSiteHeaderSearchToggleEvent(this.isSearchBoxActive);\n this.searchToggle.emit(event);\n evt.preventDefault();\n\n // Measure after the `--active` class is applied and the box reflows to\n // full width (matching ECL's toggleSearch -> setSearchArrow order).\n if (this.isSearchBoxActive) {\n this.window?.requestAnimationFrame(() => this.setSearchArrow());\n }\n }\n\n /**\n *\n * @returns The classes for the ecl search form.\n */\n protected getSearchBoxCssClasses(): string {\n return ['ecl-site-header__search', this.isSearchBoxActive ? 'ecl-site-header__search--active' : ''].join(' ');\n }\n\n protected onModelChange(newValue: string): void {\n this.searchInputText.set(newValue);\n this.onChange(newValue);\n }\n\n private closeSearchBox(): void {\n if (!this.isSearchBoxActive) return;\n\n this.isSearchBoxActive = false;\n this.searchToggle.emit(new EclSiteHeaderSearchToggleEvent(this.isSearchBoxActive));\n this.searchArrowPosition.set(undefined);\n }\n\n /**\n * Positions the dropdown arrow so it points at the center of the search toggle button.\n * Mirrors ECL's `setSearchArrow`: the arrow position is an offset relative to the\n * search form's own left edge, and it only applies to the mobile full-width dropdown\n * (`searchFormRect.width >= clientWidth - 1`, the `- 1` absorbing subpixel rounding).\n */\n private setSearchArrow(): void {\n if (!this.isSearchBoxActive) return;\n\n const searchFormRect = this.searchFormElement()?.nativeElement.getBoundingClientRect();\n const toggleButtonRect = this.searchLinkElement()?.nativeElement.getBoundingClientRect();\n if (!searchFormRect || !toggleButtonRect) return;\n\n const clientWidth = this.document.documentElement.clientWidth;\n if (searchFormRect.width >= clientWidth - 1) {\n const arrowOffset = toggleButtonRect.left - searchFormRect.left + toggleButtonRect.width / 2;\n this.searchArrowPosition.set(`calc(${arrowOffset}px - ${ARROW_SIZE})`);\n } else {\n this.searchArrowPosition.set(undefined);\n }\n }\n}\n","<button\n #searchLink\n eclButton\n type=\"button\"\n variant=\"tertiary\"\n eclStyle=\"neutral\"\n isIconOnly\n class=\"ecl-site-header__search-toggle\"\n data-ecl-search-toggle=\"true\"\n [attr.aria-controls]=\"dialogId\"\n aria-haspopup=\"dialog\"\n [attr.aria-expanded]=\"isSearchBoxActive\"\n (click)=\"onSearchBoxToggle($event)\">\n <span eclButtonLabel>{{ 'ecl.common.SEARCH' | translate }}</span>\n <ecl-icon icon=\"search\" size=\"m\" class=\"ecl-site-header__icon\"></ecl-icon>\n</button>\n\n<div\n class=\"ecl-site-header__search-dialog\"\n role=\"dialog\"\n aria-modal=\"true\"\n [id]=\"dialogId\"\n [attr.aria-labelledby]=\"searchInputId + '-label'\"\n [cdkTrapFocus]=\"isSearchBoxActive\"\n [cdkTrapFocusAutoCapture]=\"isSearchBoxActive\">\n <ecl-search-form\n #searchForm\n [inputId]=\"searchInputId\"\n [style]=\"{'--ecl-search-arrow-position': searchArrowPosition()}\"\n (searchEvent)=\"onSearch($event)\"\n [placeholder]=\"searchInputPlaceholder()\"\n (ngModelChange)=\"onModelChange($event)\"\n [ngModel]=\"searchInputText()\"\n [searchButtonLabel]=\"searchButtonLabel()\"\n [class]=\"getSearchBoxCssClasses()\">\n </ecl-search-form>\n</div>\n","import { Injectable } from '@angular/core';\nimport { Observable, Subject } from 'rxjs';\nimport { EclAreaChangeEvent } from '../events/ecl-area-change.event';\n\n/**\n * This class is used for methods, that serve for communication between the components in ecl-side-header.\n */\n@Injectable({ providedIn: 'root' })\nexport class EclAreaDataService {\n\n public dataSubject$: Observable<EclAreaChangeEvent>;\n private dataSubject: Subject<EclAreaChangeEvent> = new Subject<EclAreaChangeEvent>();\n\n constructor() {\n this.dataSubject$ = this.dataSubject.asObservable();\n }\n\n /**\n\t * When header is resized, some of it's chidren parameters for positioning on the screen need to be recalculated.\n\t * This event publishes the new site header position, so that the chidren can adjust their position accordingly.\n\t * @param event\n\t */\n publishEvent(event: EclAreaChangeEvent): void {\n this.dataSubject.next(event);\n }\n}","import { BreakpointObserver } from '@angular/cdk/layout';\nimport { AsyncPipe, isPlatformBrowser } from '@angular/common';\nimport { AfterContentInit, Component, computed, ElementRef, OnDestroy, PLATFORM_ID, afterNextRender, booleanAttribute, forwardRef, inject, output, input, model, signal, viewChild, contentChild } from '@angular/core';\nimport { outputToObservable } from '@angular/core/rxjs-interop';\nimport { I18nService } from '@eui/core';\nimport { EUI_ECL_LINK } from '@eui/ecl/components/ecl-link';\nimport { EclMegaMenuComponent } from '@eui/ecl/components/ecl-mega-menu';\nimport { EclMenuComponent } from '@eui/ecl/components/ecl-menu';\nimport { ECLBaseDirective, EclRtlService, EclThemeService, logoLanguageCode } from '@eui/ecl/core';\nimport { EclHeaderMenuComunicationService } from '@eui/ecl/shared';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { Subject, takeUntil } from 'rxjs';\nimport { EclSiteHeaderLanguageClickEvent, EclSiteHeaderLogoClickEvent } from './events';\nimport { EclAreaChangeEvent } from './events/ecl-area-change.event';\nimport { EclSiteHeaderLanguageComponent } from './language';\nimport { EclSiteHeaderLoginComponent } from './login';\nimport { EclSiteHeaderNotificationComponent } from './notification';\nimport { EclSiteHeaderImageDirective, EclSiteHeaderLinkDirective, EclSiteHeaderPictureDirective } from './picture';\nimport { EclSiteHeaderSearchComponent } from './search';\nimport { EclAreaDataService } from './services/ecl-area-data.service';\n\n/**\n * ECL-compliant site header component providing the top-of-page structure\n * common to corporate, standardised, and harmonised EC/EU websites.\n * Hosts the institution logo, optional site name, language switcher, login, search,\n * notification banner, CTA link, and the main or mega-menu navigation.\n *\n * - Selector: `ecl-site-header`.\n * - Layout variant is determined by which sub-components are projected: `ecl-site-header-login`,\n * `ecl-site-header-language`, `ecl-site-header-search`, `ecl-menu`, `ecl-mega-menu`,\n * `ecl-site-header-notification`.\n * - Logo size is controlled by `logoSize` (`'s'`, `'m'`, `'l'`).\n * - Two-way binding on `languageCode` keeps the header in sync with the active application language.\n * - Emits `logoClick` when the EC logo is activated and `languageClick` when the language toggle is used.\n * - RTL layout is applied automatically via `EclRtlService`.\n */\n@Component({\n selector: 'ecl-site-header',\n templateUrl: './ecl-site-header.component.html',\n imports: [AsyncPipe, TranslatePipe, ...EUI_ECL_LINK, EclSiteHeaderPictureDirective],\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n host: {\n '[class]': 'cssClasses()',\n },\n})\nexport class EclSiteHeaderComponent extends ECLBaseDirective implements AfterContentInit, OnDestroy {\n /**\n * Optional site name displayed in the header next to the logo.\n */\n readonly siteName = input<string>();\n /**\n * Two-way binding for the active language code (e.g. `'en'`, `'fr'`). Default is `'en'`.\n */\n readonly languageCode = model('en');\n /**\n * Size of the institution logo: `'s'`, `'m'` (default), or `'l'`.\n */\n readonly logoSize = input<'s' | 'm' | 'l'>('m');\n /**\n * When `true`, the site name is displayed only on mobile viewports.\n */\n readonly isSiteNameMobileOnly = input(false, { transform: booleanAttribute });\n\n /** Emitted when the EC institution logo is clicked. */\n readonly logoClick = output<EclSiteHeaderLogoClickEvent>();\n /** Emitted when the language toggle link is clicked. */\n readonly languageClick = output<EclSiteHeaderLanguageClickEvent>();\n\n readonly topContainerElement = viewChild<ElementRef>('topContainer');\n readonly siteHeaderHeader = viewChild<ElementRef>('siteHeaderHeader');\n readonly bannerHeader = viewChild<ElementRef>('bannerHeader');\n readonly eclLoginComponent = contentChild(EclSiteHeaderLoginComponent);\n readonly eclMenuComponent = contentChild(EclMenuComponent);\n readonly eclMegaMenuComponent = contentChild(EclMegaMenuComponent);\n readonly eclSearchComponent = contentChild(EclSiteHeaderSearchComponent);\n readonly eclLanguageComponent = contentChild(EclSiteHeaderLanguageComponent);\n readonly eclNotificationComponent = contentChild(EclSiteHeaderNotificationComponent);\n readonly eclHeaderLink = contentChild(forwardRef(() => EclSiteHeaderLinkDirective));\n readonly eclHeaderImage = contentChild(forwardRef(() => EclSiteHeaderImageDirective));\n\n protected readonly eclThemeService = inject(EclThemeService);\n protected readonly i18nService = inject(I18nService);\n protected destroy$: Subject<boolean> = new Subject<boolean>();\n\n private readonly isEclMegaMenuOpen = signal(false);\n private readonly isEclMegaMenuStart = signal(false);\n private isMobileBreakpoint = false;\n private readonly isRtl = signal(false);\n private readonly TIMEOUT_INTERVAL = 100;\n private readonly eclRtlService = inject(EclRtlService);\n private readonly eclHeaderMenuComunicationService = inject(EclHeaderMenuComunicationService);\n private readonly eclAreaDataService = inject(EclAreaDataService);\n private readonly cdkBreakpointObserver = inject(BreakpointObserver);\n private readonly el = inject(ElementRef);\n private readonly platformId = inject(PLATFORM_ID);\n\n /**\n * Adds specific classes to the main element. Depending , logo size, menu and menu status, rtl status.\n */\n protected readonly cssClasses = computed<string>(() =>\n [\n super.getCssClasses('ecl-site-header'),\n `ecl-site-header-with-logo-${this.logoSize()}`,\n this.eclMenuComponent() ? 'ecl-site-header--has-menu' : '',\n this.eclMegaMenuComponent() ? 'ecl-site-header--has-mega-menu' : '',\n this.isEclMegaMenuOpen() ? 'ecl-site-header--open-menu' : '',\n this.isEclMegaMenuStart() ? 'ecl-site-header--open-menu-start' : '',\n this.isRtl() ? 'ecl-site-header--rtl' : '',\n ].join(' ').trim());\n\n constructor() {\n super();\n\n afterNextRender(() => {\n this.observeBreakpointChanges();\n this.subscribeToMegaMenuEvents();\n // Observe size changes of the component, for some child components size need to be also adjusted accordingly.\n const topContainer = this.topContainerElement()?.nativeElement;\n if (!topContainer) return;\n new ResizeObserver(() => {\n setTimeout(() => {\n this.sendResizeEventToChildComponents();\n }, this.TIMEOUT_INTERVAL)\n }).observe(topContainer);\n });\n }\n\n /**\n * Subscibe to some child components' events.\n */\n ngAfterContentInit(): void {\n if (!isPlatformBrowser(this.platformId)) return;\n\n this.handleRtlChangeState();\n this.handleLanguageChangeState();\n const eclHeaderImage = this.eclHeaderImage();\n if (eclHeaderImage) {\n eclHeaderImage.logoSize.set(this.logoSize());\n }\n\n const eclLoginComponent = this.eclLoginComponent();\n const eclSearchComponent = this.eclSearchComponent();\n if (eclLoginComponent && eclSearchComponent) {\n outputToObservable(eclLoginComponent.loginBoxToggle).pipe(takeUntil(this.destroy$)).subscribe((evt) => {\n const search = this.eclSearchComponent();\n if (search) {\n search.isSearchBoxActive = false;\n };\n this.sendResizeEventToChildComponents();\n });\n\n outputToObservable(eclSearchComponent.searchToggle).pipe(takeUntil(this.destroy$)).subscribe((evt) => {\n const login = this.eclLoginComponent();\n if (login) {\n login.isLoginBoxActive = false;\n };\n this.sendResizeEventToChildComponents();\n });\n }\n\n const eclLanguageComponent = this.eclLanguageComponent();\n if (eclLanguageComponent) {\n outputToObservable(eclLanguageComponent.languageClick).pipe(takeUntil(this.destroy$)).subscribe((evt) => {\n this.languageClick.emit(new EclSiteHeaderLanguageClickEvent());\n this.sendResizeEventToChildComponents();\n });\n\n outputToObservable(eclLanguageComponent.languageSelected).pipe(takeUntil(this.destroy$)).subscribe((evt) => {\n this.languageCode.set(evt.language?.code);\n });\n }\n\n if (eclLanguageComponent) {\n this.languageCode.set(eclLanguageComponent?.languageCode);\n }\n\n const eclMenuComponent = this.eclMenuComponent();\n if (eclMenuComponent) {\n outputToObservable(eclMenuComponent.openHamburgerMenu).pipe(takeUntil(this.destroy$)).subscribe(() => {\n this.positionMenu();\n });\n }\n }\n\n ngOnDestroy(): void {\n this.destroy$.next(true);\n this.destroy$.unsubscribe();\n }\n\n /**\n * This method is used, when current language is not present for our available logo collection.\n * In this case, a default logo is returned.\n */\n get partOfLogoName(): string {\n return logoLanguageCode(this.languageCode());\n }\n\n onECLogoClick(evt: MouseEvent): void {\n const event = new EclSiteHeaderLogoClickEvent();\n this.logoClick.emit(event);\n if (event.defaultPrevented) {\n evt.preventDefault();\n }\n }\n\n hasCustomLink(): boolean {\n return !!this.eclHeaderLink();\n }\n\n private handleRtlChangeState(): void {\n this.eclRtlService.currentRtlState$.pipe(takeUntil(this.destroy$)).subscribe((rtlState) => {\n this.isRtl.set(rtlState);\n });\n }\n\n /**\n * Some child components need position and size to be set according to the parent site-header. So we share some site-header's measurements\n * via the 'eclAreaDataService'.\n */\n private sendResizeEventToChildComponents(): void {\n const topContainerElement = this.topContainerElement();\n if (topContainerElement && topContainerElement.nativeElement.getBoundingClientRect().width !== undefined) {\n const topContainerRect = topContainerElement.nativeElement.getBoundingClientRect();\n const siteHeaderAreaChangeEvent = new EclAreaChangeEvent(\n topContainerRect.width,\n topContainerRect.left,\n topContainerRect.right);\n\n this.eclAreaDataService.publishEvent(siteHeaderAreaChangeEvent);\n }\n }\n\n private subscribeToMegaMenuEvents(): void {\n this.eclHeaderMenuComunicationService.isMobileObjectOpen$.pipe(takeUntil(this.destroy$)).subscribe(isExpanded => {\n if (this.isMobileBreakpoint) {\n this.isEclMegaMenuStart.set(isExpanded);\n this.isEclMegaMenuOpen.set(isExpanded);\n }\n if (isExpanded) {\n const bottomSpaceY = this.el.nativeElement.getBoundingClientRect().bottom;\n this.eclMegaMenuComponent()?.positionMenuOverlay(bottomSpaceY);\n }\n });\n\n this.eclHeaderMenuComunicationService.isObjectExpanded$.pipe(takeUntil(this.destroy$)).subscribe(isExpanded => {\n if (this.isMobileBreakpoint) {\n if (isExpanded) {\n this.onMegaMenuItemExpandMobile();\n } else {\n this.onMegaMenuItemCollapseMobile();\n }\n } else {\n this.isEclMegaMenuOpen.set(isExpanded);\n if (isExpanded) {\n const bottomSpaceY = this.el.nativeElement.getBoundingClientRect().bottom;\n this.eclMegaMenuComponent()?.positionMenuOverlay(bottomSpaceY);\n }\n }\n });\n }\n\n private onMegaMenuItemExpandMobile(): void {\n this.isEclMegaMenuStart.set(false);\n const eclNotificationComponent = this.eclNotificationComponent();\n if (eclNotificationComponent) {\n eclNotificationComponent.onHide();\n }\n const bannerHeader = this.bannerHeader();\n if (bannerHeader) {\n bannerHeader.nativeElement.style.display = 'none';\n }\n const bottomSpaceY = this.siteHeaderHeader()?.nativeElement.getBoundingClientRect().bottom;\n if (bottomSpaceY === undefined) return;\n this.eclMegaMenuComponent()?.positionMenuOverlay(bottomSpaceY);\n }\n\n private onMegaMenuItemCollapseMobile(): void {\n this.isEclMegaMenuStart.set(true);\n const eclNotificationComponent = this.eclNotificationComponent();\n if (eclNotificationComponent) {\n eclNotificationComponent.onShow();\n }\n const bannerHeader = this.bannerHeader();\n if (bannerHeader) {\n bannerHeader.nativeElement.style.display = '';\n }\n const bottomSpaceY = this.el.nativeElement.getBoundingClientRect().bottom;\n this.eclMegaMenuComponent()?.positionMenuOverlay(bottomSpaceY);\n }\n\n private observeBreakpointChanges(): void {\n this.cdkBreakpointObserver\n .observe(['(max-width: 996px)'])\n .pipe(takeUntil(this.destroy$))\n .subscribe((result) => {\n this.isMobileBreakpoint = result.matches;\n });\n }\n\n private positionMenu(): void {\n const bottomSpaceY = this.siteHeaderHeader()?.nativeElement.getBoundingClientRect().bottom;\n if (bottomSpaceY === undefined) return;\n this.eclMenuComponent()?.positionMenuOverlay(bottomSpaceY);\n }\n\n private handleLanguageChangeState(): void {\n this.i18nService.getState().pipe(takeUntil(this.destroy$)).subscribe((lang) => {\n this.languageCode.set(lang.activeLang);\n const eclLanguageComponent = this.eclLanguageComponent();\n if (eclLanguageComponent) {\n eclLanguageComponent.languageCode = lang.activeLang;\n }\n });\n }\n}\n","<div class=\"ecl-site-header__background\">\n <div class=\"ecl-site-header__header\" #siteHeaderHeader>\n <div class=\"ecl-site-header__container ecl-container\">\n <div #topContainer class=\"ecl-site-header__top\">\n @if(hasCustomLink()) {\n <ng-content select=\"[eclSiteHeaderLink]\"></ng-content>\n } @else {\n <a eclLink variant=\"standalone\" class=\"ecl-site-header__logo-link\"\n href=\"https://commission.europa.eu/index_{{ languageCode() }}\" (click)=\"onECLogoClick($event)\"\n [attr.aria-label]=\"'ecl.footer.EUROPEAN-COMMISSION' | translate\"\n style=\"display: flex; align-items: center; position: relative;\">\n <ng-content select=\"[eclSiteHeaderEnvironment]\" media=\"(min-width: 1140px)\"></ng-content>\n\n @if (eclThemeService.isEC$ | async) {\n <picture eclSiteHeaderPicture\n [attr.title]=\"'ecl.footer.EUROPEAN-COMMISSION' | translate\">\n <source\n srcset=\"./assets/images/ecl/logo/ec/positive/logo-ec--{{ partOfLogoName }}.svg\"\n media=\"(min-width: 415px)\" />\n <img class=\"ecl-site-header__logo-image ecl-site-header__logo-image--{{logoSize()}}\"\n src=\"./assets/images/ecl/logo/ec/logo-ec--mute.svg\"\n [attr.alt]=\"'ecl.footer.EUROPEAN-COMMISSION' | translate\" />\n </picture>\n }\n @if (eclThemeService.isEU$ | async) {\n <picture eclSiteHeaderPicture\n [attr.title]=\"'ecl.footer.EUROPEAN-UNION' | translate\">\n <source\n srcset=\"./assets/images/ecl/logo/eu/standard-version/positive/logo-eu--{{ partOfLogoName }}.svg\"\n media=\"(min-width: 415px)\" />\n <img class=\"ecl-site-header__logo-image ecl-site-header__logo-image--{{logoSize()}}\"\n src=\"./assets/images/ecl/logo/eu/condensed-version/positive/logo-eu--{{ partOfLogoName }}.svg\"\n alt=\"European Union\" />\n </picture>\n }\n </a>\n }\n <ng-content select=\"ecl-site-header-action\"></ng-content>\n </div>\n </div>\n </div>\n <ng-content select=\"ecl-site-header-notification\"></ng-content>\n</div>\n\n@if (siteName()) {\n <div class=\"ecl-site-header__banner\" #bannerHeader [class.ecl-site-header__site-name--mobile-only]=\"isSiteNameMobileOnly()\">\n <div class=\"ecl-container\">\n <div class=\"ecl-site-header__site-name\">{{ siteName() }}</div>\n <ng-content select=\"[eclSiteHeaderCta]\"></ng-content>\n </div>\n </div>\n}\n\n<ng-content select=\"ecl-menu\"></ng-content>\n<ng-content select=\"[eclMegaMenu]\"></ng-content>\n","import { EclSiteHeaderActionComponent } from './action';\nimport { EclSiteHeaderCtaDirective } from './cta';\nimport { EclSiteHeaderCustomActionComponent } from './custom-action';\nimport { EclSiteHeaderCustomActionContentDirective, EclSiteHeaderCustomActionLinkDirective, EclSiteHeaderCustomActionTitleDirective } from './custom-action/ecl-site-header-custom-action.directive';\nimport { EclSiteHeaderEnvironmentComponent } from './ecl-site-header-environment';\nimport { EclSiteHeaderComponent } from './ecl-site-header.component';\nimport { EclSiteHeaderLanguageComponent, EclSiteHeaderLanguagePopoverComponent } from './language';\nimport {\n EclSiteHeaderLoginComponent,\n EclSiteHeaderLoginDescriptionDirective,\n EclSiteHeaderLoginSeparatorDirective,\n} from './login';\nimport { EclSiteHeaderNotificationComponent } from './notification';\nimport { EclSiteHeaderImageDirective, EclSiteHeaderLinkDirective, EclSiteHeaderPictureDirective } from './picture';\nimport { EclSiteHeaderSearchComponent } from './search';\n\nexport * from './ecl-site-header.component';\nexport * from './action/index';\nexport * from './language/index';\nexport * from './login/index';\nexport * from './search/index';\nexport * from './cta/index';\nexport * from './notification/index';\nexport * from './ecl-site-header-environment/index';\nexport * from './picture/index';\nexport * from './events/index';\nexport * from './custom-action/index';\n\nexport const EUI_ECL_SITE_HEADER = [\n EclSiteHeaderComponent,\n EclSiteHeaderActionComponent,\n EclSiteHeaderCustomActionComponent,\n EclSiteHeaderCustomActionContentDirective,\n EclSiteHeaderCustomActionLinkDirective,\n EclSiteHeaderCustomActionTitleDirective,\n EclSiteHeaderLoginComponent,\n EclSiteHeaderLoginDescriptionDirective,\n EclSiteHeaderLoginSeparatorDirective,\n EclSiteHeaderLanguageComponent,\n EclSiteHeaderLanguagePopoverComponent,\n EclSiteHeaderSearchComponent,\n EclSiteHeaderEnvironmentComponent,\n EclSiteHeaderNotificationComponent,\n EclSiteHeaderCtaDirective,\n EclSiteHeaderImageDirective,\n EclSiteHeaderPictureDirective,\n EclSiteHeaderLinkDirective,\n] as const;"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAeA,IAAa,+BAAb,MAAa,qCAAqC,iBAAgB;CAArD;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAA4B,MAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAA5B;EAAA,KAAA,OAAA,GAAA,qBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,MAAA;GAA4B,cAAA;GAAA,UAAA;GAAA,MAAA,EAAA,gBAAA,0BAAA;GAAA,iBAAA;GAAA,UAAA;GAAA,UCfzC;EAIA,CAAA;CAAA;;ADWa,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAA4B,YAAA,CAAA;EAPxC,MAAA;EACa,MAAA,CAAA;GAAA,UAAA;GAAwB,MAE5B,EACF,OAAO,0BACV;GAAA,UAAA;EAAA,CAAA;;;AEAL,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,EAAA,gBAAA,uBAAA;GAAA,iBAAA;GAAA,UAAA;EAAA,CAAA;CAAA;;AAAzB,GAAA,yBAAA;CAAA,YAAA;CAAA,SAA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