@eui/ecl 23.0.0-alpha.3 → 23.0.0-alpha.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (312) hide show
  1. package/docs/changelog.html +77 -0
  2. package/docs/components/EclAddToCalendarComponent.html +7 -62
  3. package/docs/components/EclAnimatedNumbersComponent.html +0 -39
  4. package/docs/components/EclAppComponent.html +12 -72
  5. package/docs/components/EclBannerComponent.html +46 -46
  6. package/docs/components/EclBlockquoteComponent.html +6 -1
  7. package/docs/components/EclCarouselComponent.html +5 -0
  8. package/docs/components/EclCategoryFilterComponent.html +5 -0
  9. package/docs/components/EclCategoryFilterItemComponent.html +15 -10
  10. package/docs/components/EclCheckboxLabelComponent.html +1 -1
  11. package/docs/components/EclContentItemComponent.html +4 -0
  12. package/docs/components/EclDateBlockComponent.html +43 -18
  13. package/docs/components/EclExpandableComponent.html +63 -1
  14. package/docs/components/EclFeaturedComponent.html +46 -37
  15. package/docs/components/EclFileComponent.html +19 -14
  16. package/docs/components/EclFileItemsComponent.html +31 -1
  17. package/docs/components/EclFormLabelComponent.html +1 -1
  18. package/docs/components/EclGalleryComponent.html +29 -29
  19. package/docs/components/EclGalleryItemComponent.html +47 -47
  20. package/docs/components/EclIconComponent.html +158 -48
  21. package/docs/components/EclInpageNavigationComponent.html +21 -1
  22. package/docs/components/EclInpageNavigationItemComponent.html +39 -1
  23. package/docs/components/EclListIllustrationComponent.html +47 -47
  24. package/docs/components/EclListIllustrationItemComponent.html +1 -1
  25. package/docs/components/EclMediaContainerComponent.html +20 -20
  26. package/docs/components/EclMegaMenuFeaturedComponent.html +6 -1
  27. package/docs/components/EclMegaMenuInfoComponent.html +11 -1
  28. package/docs/components/EclMegaMenuItemComponent.html +44 -34
  29. package/docs/components/EclMegaMenuSubitemComponent.html +46 -31
  30. package/docs/components/EclMenuItemComponent.html +12 -2
  31. package/docs/components/EclMenuMegaItemComponent.html +8 -3
  32. package/docs/components/EclMultiselectComponent.html +56 -56
  33. package/docs/components/EclMultiselectDropdownComponent.html +1 -1
  34. package/docs/components/EclMultiselectOptgroupComponent.html +6 -1
  35. package/docs/components/EclNavigationListItemComponent.html +1 -1
  36. package/docs/components/EclNotificationComponent.html +32 -1
  37. package/docs/components/EclPaginationItemComponent.html +84 -59
  38. package/docs/components/EclRatingFieldComponent.html +98 -2
  39. package/docs/components/EclSearchFormComponent.html +41 -1
  40. package/docs/components/EclSelectContainerComponent.html +116 -1
  41. package/docs/components/EclSiteFooterComponent.html +1 -1
  42. package/docs/components/EclSiteFooterCoreComponent.html +6 -1
  43. package/docs/components/EclSiteFooterFixedContentEUComponent.html +16 -1
  44. package/docs/components/EclSiteFooterRowCommonComponent.html +6 -1
  45. package/docs/components/EclSiteHeaderComponent.html +27 -27
  46. package/docs/components/EclSiteHeaderLanguagePopoverComponent.html +96 -86
  47. package/docs/components/EclSiteHeaderLoginComponent.html +1 -1
  48. package/docs/components/EclSiteHeaderSearchComponent.html +20 -10
  49. package/docs/components/EclSocialMediaFollowComponent.html +7 -2
  50. package/docs/components/EclSocialMediaFollowItemComponent.html +40 -25
  51. package/docs/components/EclSplashPageLanguageCategoryComponent.html +6 -1
  52. package/docs/components/EclSplashPageLanguageContainerComponent.html +6 -1
  53. package/docs/components/EclSplashPageLanguageLinkComponent.html +6 -1
  54. package/docs/components/EclTabComponent.html +50 -20
  55. package/docs/components/EclTabsComponent.html +1 -1
  56. package/docs/components/EclTagComponent.html +6 -1
  57. package/docs/components/EclTimelineComponent.html +4 -169
  58. package/docs/components/EclTimelineItemComponent.html +104 -1
  59. package/docs/directives/EclAccordionDirective.html +9 -99
  60. package/docs/directives/EclFileTitleDirective.html +5 -0
  61. package/docs/directives/EclFileUploadDirective.html +120 -0
  62. package/docs/directives/EclGalleryMediaDirective.html +5 -0
  63. package/docs/directives/EclMediaContainerIframeDirective.html +9 -11
  64. package/docs/directives/EclMediaContainerItemDirective.html +5 -0
  65. package/docs/directives/EclMultiselectOptionDirective.html +20 -10
  66. package/docs/directives/EclRadioDirective.html +18 -13
  67. package/docs/directives/EclSelectDirective.html +40 -0
  68. package/docs/directives/EclSiteFooterListDirective.html +5 -104
  69. package/docs/directives/EclSiteFooterSectionDirective.html +1 -1
  70. package/docs/directives/EclSiteFooterTitleDirective.html +29 -0
  71. package/docs/directives/EclTableHeaderDirective.html +5 -0
  72. package/docs/directives/EclTextMediaMediaAnchorDirective.html +1 -1
  73. package/docs/js/search/search_index.js +2 -2
  74. package/docs/json/EclAddToCalendarComponent.md +1 -1
  75. package/docs/json/EclBannerComponent.md +7 -7
  76. package/docs/json/EclCategoryFilterItemComponent.md +1 -1
  77. package/docs/json/EclDateBlockComponent.md +1 -1
  78. package/docs/json/EclExpandableComponent.md +2 -0
  79. package/docs/json/EclFeaturedComponent.md +3 -3
  80. package/docs/json/EclFileComponent.md +1 -1
  81. package/docs/json/EclFileItemsComponent.md +1 -0
  82. package/docs/json/EclGalleryComponent.md +4 -4
  83. package/docs/json/EclGalleryItemComponent.md +2 -2
  84. package/docs/json/EclIconComponent.md +4 -4
  85. package/docs/json/EclInpageNavigationItemComponent.md +1 -0
  86. package/docs/json/EclListIllustrationComponent.md +3 -3
  87. package/docs/json/EclMediaContainerComponent.md +1 -1
  88. package/docs/json/EclMediaContainerIframeDirective.md +2 -2
  89. package/docs/json/EclMegaMenuItemComponent.md +2 -2
  90. package/docs/json/EclMegaMenuSubitemComponent.md +3 -3
  91. package/docs/json/EclMenuItemComponent.md +1 -1
  92. package/docs/json/EclMenuMegaItemComponent.md +1 -1
  93. package/docs/json/EclMultiselectComponent.md +3 -3
  94. package/docs/json/EclMultiselectOptionDirective.md +1 -1
  95. package/docs/json/EclNavigationListItemComponent.md +1 -1
  96. package/docs/json/EclNotificationComponent.md +1 -0
  97. package/docs/json/EclPaginationItemComponent.md +3 -3
  98. package/docs/json/EclRadioDirective.md +1 -1
  99. package/docs/json/EclRatingFieldComponent.md +1 -0
  100. package/docs/json/EclSearchFormComponent.md +1 -0
  101. package/docs/json/EclSelectContainerComponent.md +6 -0
  102. package/docs/json/EclSiteFooterSectionDirective.md +1 -1
  103. package/docs/json/EclSiteHeaderComponent.md +2 -2
  104. package/docs/json/EclSiteHeaderLanguagePopoverComponent.md +6 -6
  105. package/docs/json/EclSiteHeaderSearchComponent.md +1 -1
  106. package/docs/json/EclSocialMediaFollowComponent.md +1 -1
  107. package/docs/json/EclSocialMediaFollowItemComponent.md +4 -4
  108. package/docs/json/EclTabComponent.md +2 -1
  109. package/docs/json/EclTagComponent.md +1 -1
  110. package/docs/json/EclTextMediaMediaAnchorDirective.md +1 -1
  111. package/docs/json/EclTimelineItemComponent.md +1 -0
  112. package/docs/json/documentation.json +4188 -2895
  113. package/docs/llms.txt +152 -136
  114. package/docs/properties.html +1 -1
  115. package/fesm2022/eui-ecl-components-ecl-accordion.mjs +5 -15
  116. package/fesm2022/eui-ecl-components-ecl-accordion.mjs.map +1 -1
  117. package/fesm2022/eui-ecl-components-ecl-add-to-calendar.mjs +9 -7
  118. package/fesm2022/eui-ecl-components-ecl-add-to-calendar.mjs.map +1 -1
  119. package/fesm2022/eui-ecl-components-ecl-animated-numbers.mjs +2 -2
  120. package/fesm2022/eui-ecl-components-ecl-animated-numbers.mjs.map +1 -1
  121. package/fesm2022/eui-ecl-components-ecl-app.mjs +13 -14
  122. package/fesm2022/eui-ecl-components-ecl-app.mjs.map +1 -1
  123. package/fesm2022/eui-ecl-components-ecl-banner.mjs +27 -37
  124. package/fesm2022/eui-ecl-components-ecl-banner.mjs.map +1 -1
  125. package/fesm2022/eui-ecl-components-ecl-blockquote.mjs +11 -7
  126. package/fesm2022/eui-ecl-components-ecl-blockquote.mjs.map +1 -1
  127. package/fesm2022/eui-ecl-components-ecl-card.mjs +7 -10
  128. package/fesm2022/eui-ecl-components-ecl-card.mjs.map +1 -1
  129. package/fesm2022/eui-ecl-components-ecl-carousel.mjs +14 -18
  130. package/fesm2022/eui-ecl-components-ecl-carousel.mjs.map +1 -1
  131. package/fesm2022/eui-ecl-components-ecl-category-filter.mjs +21 -13
  132. package/fesm2022/eui-ecl-components-ecl-category-filter.mjs.map +1 -1
  133. package/fesm2022/eui-ecl-components-ecl-checkbox.mjs +5 -8
  134. package/fesm2022/eui-ecl-components-ecl-checkbox.mjs.map +1 -1
  135. package/fesm2022/eui-ecl-components-ecl-content-item.mjs +18 -26
  136. package/fesm2022/eui-ecl-components-ecl-content-item.mjs.map +1 -1
  137. package/fesm2022/eui-ecl-components-ecl-date-block.mjs +39 -22
  138. package/fesm2022/eui-ecl-components-ecl-date-block.mjs.map +1 -1
  139. package/fesm2022/eui-ecl-components-ecl-expandable.mjs +21 -16
  140. package/fesm2022/eui-ecl-components-ecl-expandable.mjs.map +1 -1
  141. package/fesm2022/eui-ecl-components-ecl-featured.mjs +17 -18
  142. package/fesm2022/eui-ecl-components-ecl-featured.mjs.map +1 -1
  143. package/fesm2022/eui-ecl-components-ecl-file-upload.mjs +25 -23
  144. package/fesm2022/eui-ecl-components-ecl-file-upload.mjs.map +1 -1
  145. package/fesm2022/eui-ecl-components-ecl-file.mjs +27 -20
  146. package/fesm2022/eui-ecl-components-ecl-file.mjs.map +1 -1
  147. package/fesm2022/eui-ecl-components-ecl-form-label.mjs +6 -12
  148. package/fesm2022/eui-ecl-components-ecl-form-label.mjs.map +1 -1
  149. package/fesm2022/eui-ecl-components-ecl-gallery.mjs +44 -71
  150. package/fesm2022/eui-ecl-components-ecl-gallery.mjs.map +1 -1
  151. package/fesm2022/eui-ecl-components-ecl-help-block.mjs +5 -8
  152. package/fesm2022/eui-ecl-components-ecl-help-block.mjs.map +1 -1
  153. package/fesm2022/eui-ecl-components-ecl-icon.mjs +50 -39
  154. package/fesm2022/eui-ecl-components-ecl-icon.mjs.map +1 -1
  155. package/fesm2022/eui-ecl-components-ecl-inpage-navigation.mjs +38 -32
  156. package/fesm2022/eui-ecl-components-ecl-inpage-navigation.mjs.map +1 -1
  157. package/fesm2022/eui-ecl-components-ecl-label.mjs +6 -7
  158. package/fesm2022/eui-ecl-components-ecl-label.mjs.map +1 -1
  159. package/fesm2022/eui-ecl-components-ecl-list-illustration.mjs +37 -57
  160. package/fesm2022/eui-ecl-components-ecl-list-illustration.mjs.map +1 -1
  161. package/fesm2022/eui-ecl-components-ecl-loading-indicator.mjs +13 -21
  162. package/fesm2022/eui-ecl-components-ecl-loading-indicator.mjs.map +1 -1
  163. package/fesm2022/eui-ecl-components-ecl-media-container.mjs +22 -27
  164. package/fesm2022/eui-ecl-components-ecl-media-container.mjs.map +1 -1
  165. package/fesm2022/eui-ecl-components-ecl-mega-menu.mjs +67 -73
  166. package/fesm2022/eui-ecl-components-ecl-mega-menu.mjs.map +1 -1
  167. package/fesm2022/eui-ecl-components-ecl-menu.mjs +46 -51
  168. package/fesm2022/eui-ecl-components-ecl-menu.mjs.map +1 -1
  169. package/fesm2022/eui-ecl-components-ecl-multiselect.mjs +52 -43
  170. package/fesm2022/eui-ecl-components-ecl-multiselect.mjs.map +1 -1
  171. package/fesm2022/eui-ecl-components-ecl-navigation-list.mjs +13 -19
  172. package/fesm2022/eui-ecl-components-ecl-navigation-list.mjs.map +1 -1
  173. package/fesm2022/eui-ecl-components-ecl-news-ticker.mjs +6 -9
  174. package/fesm2022/eui-ecl-components-ecl-news-ticker.mjs.map +1 -1
  175. package/fesm2022/eui-ecl-components-ecl-notification.mjs +19 -21
  176. package/fesm2022/eui-ecl-components-ecl-notification.mjs.map +1 -1
  177. package/fesm2022/eui-ecl-components-ecl-page-header.mjs +5 -8
  178. package/fesm2022/eui-ecl-components-ecl-page-header.mjs.map +1 -1
  179. package/fesm2022/eui-ecl-components-ecl-pagination.mjs +57 -64
  180. package/fesm2022/eui-ecl-components-ecl-pagination.mjs.map +1 -1
  181. package/fesm2022/eui-ecl-components-ecl-radio.mjs +8 -7
  182. package/fesm2022/eui-ecl-components-ecl-radio.mjs.map +1 -1
  183. package/fesm2022/eui-ecl-components-ecl-rating-field.mjs +35 -27
  184. package/fesm2022/eui-ecl-components-ecl-rating-field.mjs.map +1 -1
  185. package/fesm2022/eui-ecl-components-ecl-search-form.mjs +23 -23
  186. package/fesm2022/eui-ecl-components-ecl-search-form.mjs.map +1 -1
  187. package/fesm2022/eui-ecl-components-ecl-select.mjs +31 -40
  188. package/fesm2022/eui-ecl-components-ecl-select.mjs.map +1 -1
  189. package/fesm2022/eui-ecl-components-ecl-site-footer.mjs +71 -70
  190. package/fesm2022/eui-ecl-components-ecl-site-footer.mjs.map +1 -1
  191. package/fesm2022/eui-ecl-components-ecl-site-header.mjs +44 -55
  192. package/fesm2022/eui-ecl-components-ecl-site-header.mjs.map +1 -1
  193. package/fesm2022/eui-ecl-components-ecl-social-media-follow.mjs +27 -36
  194. package/fesm2022/eui-ecl-components-ecl-social-media-follow.mjs.map +1 -1
  195. package/fesm2022/eui-ecl-components-ecl-splash-page.mjs +38 -18
  196. package/fesm2022/eui-ecl-components-ecl-splash-page.mjs.map +1 -1
  197. package/fesm2022/eui-ecl-components-ecl-sticky-container.mjs +11 -16
  198. package/fesm2022/eui-ecl-components-ecl-sticky-container.mjs.map +1 -1
  199. package/fesm2022/eui-ecl-components-ecl-table.mjs +16 -15
  200. package/fesm2022/eui-ecl-components-ecl-table.mjs.map +1 -1
  201. package/fesm2022/eui-ecl-components-ecl-tabs.mjs +32 -34
  202. package/fesm2022/eui-ecl-components-ecl-tabs.mjs.map +1 -1
  203. package/fesm2022/eui-ecl-components-ecl-tag.mjs +14 -12
  204. package/fesm2022/eui-ecl-components-ecl-tag.mjs.map +1 -1
  205. package/fesm2022/eui-ecl-components-ecl-text-area.mjs +9 -12
  206. package/fesm2022/eui-ecl-components-ecl-text-area.mjs.map +1 -1
  207. package/fesm2022/eui-ecl-components-ecl-text-input.mjs +15 -19
  208. package/fesm2022/eui-ecl-components-ecl-text-input.mjs.map +1 -1
  209. package/fesm2022/eui-ecl-components-ecl-text-media.mjs +5 -8
  210. package/fesm2022/eui-ecl-components-ecl-text-media.mjs.map +1 -1
  211. package/fesm2022/eui-ecl-components-ecl-timeline.mjs +40 -59
  212. package/fesm2022/eui-ecl-components-ecl-timeline.mjs.map +1 -1
  213. package/fesm2022/eui-ecl-core.mjs.map +1 -1
  214. package/package.json +8 -3
  215. package/types/eui-ecl-components-ecl-accordion.d.ts +2 -10
  216. package/types/eui-ecl-components-ecl-accordion.d.ts.map +1 -1
  217. package/types/eui-ecl-components-ecl-add-to-calendar.d.ts +4 -1
  218. package/types/eui-ecl-components-ecl-add-to-calendar.d.ts.map +1 -1
  219. package/types/eui-ecl-components-ecl-animated-numbers.d.ts +1 -1
  220. package/types/eui-ecl-components-ecl-animated-numbers.d.ts.map +1 -1
  221. package/types/eui-ecl-components-ecl-app.d.ts +6 -6
  222. package/types/eui-ecl-components-ecl-app.d.ts.map +1 -1
  223. package/types/eui-ecl-components-ecl-banner.d.ts +9 -10
  224. package/types/eui-ecl-components-ecl-banner.d.ts.map +1 -1
  225. package/types/eui-ecl-components-ecl-blockquote.d.ts +2 -2
  226. package/types/eui-ecl-components-ecl-blockquote.d.ts.map +1 -1
  227. package/types/eui-ecl-components-ecl-card.d.ts +2 -3
  228. package/types/eui-ecl-components-ecl-card.d.ts.map +1 -1
  229. package/types/eui-ecl-components-ecl-carousel.d.ts +10 -12
  230. package/types/eui-ecl-components-ecl-carousel.d.ts.map +1 -1
  231. package/types/eui-ecl-components-ecl-category-filter.d.ts +4 -4
  232. package/types/eui-ecl-components-ecl-category-filter.d.ts.map +1 -1
  233. package/types/eui-ecl-components-ecl-checkbox.d.ts +2 -3
  234. package/types/eui-ecl-components-ecl-checkbox.d.ts.map +1 -1
  235. package/types/eui-ecl-components-ecl-content-item.d.ts +8 -10
  236. package/types/eui-ecl-components-ecl-content-item.d.ts.map +1 -1
  237. package/types/eui-ecl-components-ecl-date-block.d.ts +10 -10
  238. package/types/eui-ecl-components-ecl-date-block.d.ts.map +1 -1
  239. package/types/eui-ecl-components-ecl-expandable.d.ts +7 -8
  240. package/types/eui-ecl-components-ecl-expandable.d.ts.map +1 -1
  241. package/types/eui-ecl-components-ecl-featured.d.ts +4 -5
  242. package/types/eui-ecl-components-ecl-featured.d.ts.map +1 -1
  243. package/types/eui-ecl-components-ecl-file-upload.d.ts +9 -11
  244. package/types/eui-ecl-components-ecl-file-upload.d.ts.map +1 -1
  245. package/types/eui-ecl-components-ecl-file.d.ts +7 -8
  246. package/types/eui-ecl-components-ecl-file.d.ts.map +1 -1
  247. package/types/eui-ecl-components-ecl-form-label.d.ts +3 -5
  248. package/types/eui-ecl-components-ecl-form-label.d.ts.map +1 -1
  249. package/types/eui-ecl-components-ecl-gallery.d.ts +32 -41
  250. package/types/eui-ecl-components-ecl-gallery.d.ts.map +1 -1
  251. package/types/eui-ecl-components-ecl-help-block.d.ts +3 -4
  252. package/types/eui-ecl-components-ecl-help-block.d.ts.map +1 -1
  253. package/types/eui-ecl-components-ecl-icon.d.ts +17 -12
  254. package/types/eui-ecl-components-ecl-icon.d.ts.map +1 -1
  255. package/types/eui-ecl-components-ecl-inpage-navigation.d.ts +18 -19
  256. package/types/eui-ecl-components-ecl-inpage-navigation.d.ts.map +1 -1
  257. package/types/eui-ecl-components-ecl-label.d.ts +3 -3
  258. package/types/eui-ecl-components-ecl-label.d.ts.map +1 -1
  259. package/types/eui-ecl-components-ecl-list-illustration.d.ts +25 -30
  260. package/types/eui-ecl-components-ecl-list-illustration.d.ts.map +1 -1
  261. package/types/eui-ecl-components-ecl-loading-indicator.d.ts +6 -8
  262. package/types/eui-ecl-components-ecl-loading-indicator.d.ts.map +1 -1
  263. package/types/eui-ecl-components-ecl-media-container.d.ts +9 -11
  264. package/types/eui-ecl-components-ecl-media-container.d.ts.map +1 -1
  265. package/types/eui-ecl-components-ecl-mega-menu.d.ts +25 -28
  266. package/types/eui-ecl-components-ecl-mega-menu.d.ts.map +1 -1
  267. package/types/eui-ecl-components-ecl-menu.d.ts +26 -31
  268. package/types/eui-ecl-components-ecl-menu.d.ts.map +1 -1
  269. package/types/eui-ecl-components-ecl-multiselect.d.ts +13 -13
  270. package/types/eui-ecl-components-ecl-multiselect.d.ts.map +1 -1
  271. package/types/eui-ecl-components-ecl-navigation-list.d.ts +5 -7
  272. package/types/eui-ecl-components-ecl-navigation-list.d.ts.map +1 -1
  273. package/types/eui-ecl-components-ecl-news-ticker.d.ts +2 -3
  274. package/types/eui-ecl-components-ecl-news-ticker.d.ts.map +1 -1
  275. package/types/eui-ecl-components-ecl-notification.d.ts +17 -19
  276. package/types/eui-ecl-components-ecl-notification.d.ts.map +1 -1
  277. package/types/eui-ecl-components-ecl-page-header.d.ts +2 -3
  278. package/types/eui-ecl-components-ecl-page-header.d.ts.map +1 -1
  279. package/types/eui-ecl-components-ecl-pagination.d.ts +22 -29
  280. package/types/eui-ecl-components-ecl-pagination.d.ts.map +1 -1
  281. package/types/eui-ecl-components-ecl-radio.d.ts +2 -3
  282. package/types/eui-ecl-components-ecl-radio.d.ts.map +1 -1
  283. package/types/eui-ecl-components-ecl-rating-field.d.ts +12 -12
  284. package/types/eui-ecl-components-ecl-rating-field.d.ts.map +1 -1
  285. package/types/eui-ecl-components-ecl-search-form.d.ts +10 -10
  286. package/types/eui-ecl-components-ecl-search-form.d.ts.map +1 -1
  287. package/types/eui-ecl-components-ecl-select.d.ts +13 -17
  288. package/types/eui-ecl-components-ecl-select.d.ts.map +1 -1
  289. package/types/eui-ecl-components-ecl-site-footer.d.ts +22 -27
  290. package/types/eui-ecl-components-ecl-site-footer.d.ts.map +1 -1
  291. package/types/eui-ecl-components-ecl-site-header.d.ts +16 -18
  292. package/types/eui-ecl-components-ecl-site-header.d.ts.map +1 -1
  293. package/types/eui-ecl-components-ecl-social-media-follow.d.ts +21 -23
  294. package/types/eui-ecl-components-ecl-social-media-follow.d.ts.map +1 -1
  295. package/types/eui-ecl-components-ecl-splash-page.d.ts +6 -6
  296. package/types/eui-ecl-components-ecl-splash-page.d.ts.map +1 -1
  297. package/types/eui-ecl-components-ecl-sticky-container.d.ts +6 -7
  298. package/types/eui-ecl-components-ecl-sticky-container.d.ts.map +1 -1
  299. package/types/eui-ecl-components-ecl-table.d.ts +4 -5
  300. package/types/eui-ecl-components-ecl-table.d.ts.map +1 -1
  301. package/types/eui-ecl-components-ecl-tabs.d.ts +5 -6
  302. package/types/eui-ecl-components-ecl-tabs.d.ts.map +1 -1
  303. package/types/eui-ecl-components-ecl-tag.d.ts +3 -4
  304. package/types/eui-ecl-components-ecl-tag.d.ts.map +1 -1
  305. package/types/eui-ecl-components-ecl-text-area.d.ts +5 -6
  306. package/types/eui-ecl-components-ecl-text-area.d.ts.map +1 -1
  307. package/types/eui-ecl-components-ecl-text-input.d.ts +6 -7
  308. package/types/eui-ecl-components-ecl-text-input.d.ts.map +1 -1
  309. package/types/eui-ecl-components-ecl-text-media.d.ts +2 -2
  310. package/types/eui-ecl-components-ecl-text-media.d.ts.map +1 -1
  311. package/types/eui-ecl-components-ecl-timeline.d.ts +8 -17
  312. package/types/eui-ecl-components-ecl-timeline.d.ts.map +1 -1
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { EventEmitter, Output, Input, HostBinding, Component, inject, ElementRef, afterNextRender, booleanAttribute, Directive, ChangeDetectorRef, input, Renderer2, HostListener, ContentChild, output, PLATFORM_ID, DOCUMENT, numberAttribute, ViewChild, ContentChildren } from '@angular/core';
2
+ import { EventEmitter, Output, Input, HostBinding, Component, input, booleanAttribute, inject, ElementRef, afterNextRender, Directive, ChangeDetectorRef, Renderer2, HostListener, ContentChild, numberAttribute, output, PLATFORM_ID, DOCUMENT, ViewChild, ContentChildren } from '@angular/core';
3
3
  import { TranslatePipe } from '@ngx-translate/core';
4
4
  import { EclBaseEvent, ECLBaseDirective } from '@eui/ecl/core';
5
5
  import * as i1 from '@eui/ecl/components/ecl-button';
@@ -121,15 +121,20 @@ class EclGalleryMediaDirective extends ECLBaseDirective {
121
121
  get cssClasses() {
122
122
  return [
123
123
  super.getCssClasses('ecl-gallery__image'),
124
- this.hasZoom && this.isVideo ? 'ecl-video--zoom' : '',
124
+ this.hasZoom() && this.isVideo ? 'ecl-video--zoom' : '',
125
125
  ].join(' ').trim();
126
126
  }
127
127
  constructor() {
128
128
  super();
129
+ /**
130
+ * To be used when there is no thimbnail added. Instead the 'poster' attribute in the <video> element is used
131
+ */
132
+ this.poster = input(undefined, /* @ts-ignore */
133
+ ...(ngDevMode ? [{ debugName: "poster" }] : /* istanbul ignore next */ []));
129
134
  /**
130
135
  * When this is true, on mousehover the image will be zoomed.
131
136
  */
132
- this.hasZoom = false;
137
+ this.hasZoom = input(false, { ...(ngDevMode ? { debugName: "hasZoom" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
133
138
  this.sources = [];
134
139
  this.tracks = [];
135
140
  this.isVideo = false;
@@ -170,19 +175,14 @@ class EclGalleryMediaDirective extends ECLBaseDirective {
170
175
  return this.el.nativeElement;
171
176
  }
172
177
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EclGalleryMediaDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
173
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "22.0.5", type: EclGalleryMediaDirective, isStandalone: true, selector: "[eclGalleryMedia], [eclGalleryImage]", inputs: { poster: "poster", hasZoom: ["hasZoom", "hasZoom", booleanAttribute] }, host: { properties: { "class": "this.cssClasses", "class.ecl-video": "this.isVideo" } }, usesInheritance: true, ngImport: i0 }); }
178
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.0.5", type: EclGalleryMediaDirective, isStandalone: true, selector: "[eclGalleryMedia], [eclGalleryImage]", inputs: { poster: { classPropertyName: "poster", publicName: "poster", isSignal: true, isRequired: false, transformFunction: null }, hasZoom: { classPropertyName: "hasZoom", publicName: "hasZoom", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "this.cssClasses", "class.ecl-video": "this.isVideo" } }, usesInheritance: true, ngImport: i0 }); }
174
179
  }
175
180
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EclGalleryMediaDirective, decorators: [{
176
181
  type: Directive,
177
182
  args: [{
178
183
  selector: '[eclGalleryMedia], [eclGalleryImage]',
179
184
  }]
180
- }], ctorParameters: () => [], propDecorators: { poster: [{
181
- type: Input
182
- }], hasZoom: [{
183
- type: Input,
184
- args: [{ transform: booleanAttribute }]
185
- }], cssClasses: [{
185
+ }], ctorParameters: () => [], propDecorators: { poster: [{ type: i0.Input, args: [{ isSignal: true, alias: "poster", required: false }] }], hasZoom: [{ type: i0.Input, args: [{ isSignal: true, alias: "hasZoom", required: false }] }], cssClasses: [{
186
186
  type: HostBinding,
187
187
  args: ['class']
188
188
  }], isVideo: [{
@@ -285,8 +285,9 @@ class EclGalleryItemComponent extends ECLBaseDirective {
285
285
  /**
286
286
  * Can this item be shared, i.e. show/hide share button.
287
287
  */
288
- this.isShareable = true;
289
- this.mediaType = 'image';
288
+ this.isShareable = input(true, { ...(ngDevMode ? { debugName: "isShareable" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
289
+ this.mediaType = input('image', /* @ts-ignore */
290
+ ...(ngDevMode ? [{ debugName: "mediaType" }] : /* istanbul ignore next */ []));
290
291
  this.ariaLabel = input(null, /* @ts-ignore */
291
292
  ...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
292
293
  this.itemClick = new EventEmitter();
@@ -343,16 +344,16 @@ class EclGalleryItemComponent extends ECLBaseDirective {
343
344
  this._isNoOverlay = value;
344
345
  }
345
346
  get isImage() {
346
- return this.mediaType === 'image';
347
+ return this.mediaType() === 'image';
347
348
  }
348
349
  get isVideo() {
349
- return this.mediaType === 'video';
350
+ return this.mediaType() === 'video';
350
351
  }
351
352
  get isExternalVideo() {
352
- return this.mediaType === 'externalVideo';
353
+ return this.mediaType() === 'externalVideo';
353
354
  }
354
355
  get isOpenInFullScreenPossible() {
355
- return this.mediaType !== 'externalVideo';
356
+ return this.mediaType() !== 'externalVideo';
356
357
  }
357
358
  /**
358
359
  * Creates id for the title
@@ -364,17 +365,12 @@ class EclGalleryItemComponent extends ECLBaseDirective {
364
365
  this.renderer.selectRootElement(this.el.nativeElement.children[0], true).focus();
365
366
  }
366
367
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EclGalleryItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
367
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.5", type: EclGalleryItemComponent, isStandalone: true, selector: "ecl-gallery-item", inputs: { isShareable: { classPropertyName: "isShareable", publicName: "isShareable", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, mediaType: { classPropertyName: "mediaType", publicName: "mediaType", isSignal: false, isRequired: false, transformFunction: null }, src: { classPropertyName: "src", publicName: "src", isSignal: false, isRequired: false, transformFunction: null }, meta: { classPropertyName: "meta", publicName: "meta", isSignal: false, isRequired: false, transformFunction: null }, description: { classPropertyName: "description", publicName: "description", isSignal: false, isRequired: false, transformFunction: null }, srVideoAudioDescription: { classPropertyName: "srVideoAudioDescription", publicName: "srVideoAudioDescription", isSignal: false, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: false, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: false, isRequired: false, transformFunction: null }, itemId: { classPropertyName: "itemId", publicName: "itemId", isSignal: false, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { itemClick: "itemClick" }, host: { listeners: { "click": "onItemClick($event)" }, properties: { "class": "this.cssClasses", "attr.role": "this.role" } }, queries: [{ propertyName: "mediaChild", first: true, predicate: EclGalleryMediaDirective, descendants: true }, { propertyName: "galleryPicture", first: true, predicate: EclGalleryPictureDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: "<a [href]=\"src\" class=\"ecl-gallery__item-link\" [class.ecl-gallery__item__link--frozen]=\"isNoOverlay\" [id]=\"itemId\"\n [attr.aria-label]=\"ariaLabel()\">\n <figure class=\"ecl-gallery__image-container\">\n <div class=\"ecl-gallery__icon-zoom-wrapper\">\n <ecl-icon class=\"ecl-gallery__icon-zoom\" icon=\"fullscreen\" size=\"s\"></ecl-icon>\n </div>\n @if(mediaType !== 'image') {\n <div class=\"ecl-gallery__item-icon-wrapper\">\n <ecl-icon isInverted class=\"ecl-gallery__item-icon\" icon=\"play\" size=\"s\"></ecl-icon>\n </div>\n } \n <ng-content select=\"[eclGalleryPicture], [eclGalleryThumbnail], [eclGalleryMedia], [eclGalleryImage]\"></ng-content>\n <figcaption class=\"ecl-gallery__description\">\n @if(title) {\n <span class=\"ecl-gallery__title\" [id]=\"titleId\">{{title}}</span>\n }\n @if(description) {\n <span class=\"ecl-gallery__caption\">{{ description }}</span>\n }\n @if(icon) {\n <ecl-icon class=\"ecl-gallery__description-icon\" [icon]=\"icon\"></ecl-icon>\n }\n <span class=\"ecl-gallery__meta\">\n {{ meta }}\n </span>\n </figcaption>\n </figure>\n</a>", dependencies: [{ kind: "component", type: i1$1.EclIconComponent, selector: "ecl-icon", inputs: ["iconSet", "icon", "size", "color", "transform", "ariaLabelledby", "role", "title", "ariaHidden", "focusable", "isFlipHorizontal"] }] }); }
368
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.5", type: EclGalleryItemComponent, isStandalone: true, selector: "ecl-gallery-item", inputs: { isShareable: { classPropertyName: "isShareable", publicName: "isShareable", isSignal: true, isRequired: false, transformFunction: null }, mediaType: { classPropertyName: "mediaType", publicName: "mediaType", isSignal: true, isRequired: false, transformFunction: null }, src: { classPropertyName: "src", publicName: "src", isSignal: false, isRequired: false, transformFunction: null }, meta: { classPropertyName: "meta", publicName: "meta", isSignal: false, isRequired: false, transformFunction: null }, description: { classPropertyName: "description", publicName: "description", isSignal: false, isRequired: false, transformFunction: null }, srVideoAudioDescription: { classPropertyName: "srVideoAudioDescription", publicName: "srVideoAudioDescription", isSignal: false, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: false, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: false, isRequired: false, transformFunction: null }, itemId: { classPropertyName: "itemId", publicName: "itemId", isSignal: false, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { itemClick: "itemClick" }, host: { listeners: { "click": "onItemClick($event)" }, properties: { "class": "this.cssClasses", "attr.role": "this.role" } }, queries: [{ propertyName: "mediaChild", first: true, predicate: EclGalleryMediaDirective, descendants: true }, { propertyName: "galleryPicture", first: true, predicate: EclGalleryPictureDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: "<a [href]=\"src\" class=\"ecl-gallery__item-link\" [class.ecl-gallery__item__link--frozen]=\"isNoOverlay\" [id]=\"itemId\"\n [attr.aria-label]=\"ariaLabel()\">\n <figure class=\"ecl-gallery__image-container\">\n <div class=\"ecl-gallery__icon-zoom-wrapper\">\n <ecl-icon class=\"ecl-gallery__icon-zoom\" icon=\"fullscreen\" size=\"s\"></ecl-icon>\n </div>\n @if(mediaType() !== 'image') {\n <div class=\"ecl-gallery__item-icon-wrapper\">\n <ecl-icon isInverted class=\"ecl-gallery__item-icon\" icon=\"play\" size=\"s\"></ecl-icon>\n </div>\n } \n <ng-content select=\"[eclGalleryPicture], [eclGalleryThumbnail], [eclGalleryMedia], [eclGalleryImage]\"></ng-content>\n <figcaption class=\"ecl-gallery__description\">\n @if(title) {\n <span class=\"ecl-gallery__title\" [id]=\"titleId\">{{title}}</span>\n }\n @if(description) {\n <span class=\"ecl-gallery__caption\">{{ description }}</span>\n }\n @if(icon) {\n <ecl-icon class=\"ecl-gallery__description-icon\" [icon]=\"icon\"></ecl-icon>\n }\n <span class=\"ecl-gallery__meta\">\n {{ meta }}\n </span>\n </figcaption>\n </figure>\n</a>", dependencies: [{ kind: "component", type: i1$1.EclIconComponent, selector: "ecl-icon", inputs: ["iconSet", "icon", "size", "color", "transform", "ariaLabelledby", "role", "title", "ariaHidden", "focusable", "isFlipHorizontal"] }] }); }
368
369
  }
369
370
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EclGalleryItemComponent, decorators: [{
370
371
  type: Component,
371
- args: [{ selector: 'ecl-gallery-item', imports: [...EUI_ECL_ICON], template: "<a [href]=\"src\" class=\"ecl-gallery__item-link\" [class.ecl-gallery__item__link--frozen]=\"isNoOverlay\" [id]=\"itemId\"\n [attr.aria-label]=\"ariaLabel()\">\n <figure class=\"ecl-gallery__image-container\">\n <div class=\"ecl-gallery__icon-zoom-wrapper\">\n <ecl-icon class=\"ecl-gallery__icon-zoom\" icon=\"fullscreen\" size=\"s\"></ecl-icon>\n </div>\n @if(mediaType !== 'image') {\n <div class=\"ecl-gallery__item-icon-wrapper\">\n <ecl-icon isInverted class=\"ecl-gallery__item-icon\" icon=\"play\" size=\"s\"></ecl-icon>\n </div>\n } \n <ng-content select=\"[eclGalleryPicture], [eclGalleryThumbnail], [eclGalleryMedia], [eclGalleryImage]\"></ng-content>\n <figcaption class=\"ecl-gallery__description\">\n @if(title) {\n <span class=\"ecl-gallery__title\" [id]=\"titleId\">{{title}}</span>\n }\n @if(description) {\n <span class=\"ecl-gallery__caption\">{{ description }}</span>\n }\n @if(icon) {\n <ecl-icon class=\"ecl-gallery__description-icon\" [icon]=\"icon\"></ecl-icon>\n }\n <span class=\"ecl-gallery__meta\">\n {{ meta }}\n </span>\n </figcaption>\n </figure>\n</a>" }]
372
- }], propDecorators: { isShareable: [{
373
- type: Input,
374
- args: [{ transform: booleanAttribute }]
375
- }], mediaType: [{
376
- type: Input
377
- }], src: [{
372
+ args: [{ selector: 'ecl-gallery-item', imports: [...EUI_ECL_ICON], template: "<a [href]=\"src\" class=\"ecl-gallery__item-link\" [class.ecl-gallery__item__link--frozen]=\"isNoOverlay\" [id]=\"itemId\"\n [attr.aria-label]=\"ariaLabel()\">\n <figure class=\"ecl-gallery__image-container\">\n <div class=\"ecl-gallery__icon-zoom-wrapper\">\n <ecl-icon class=\"ecl-gallery__icon-zoom\" icon=\"fullscreen\" size=\"s\"></ecl-icon>\n </div>\n @if(mediaType() !== 'image') {\n <div class=\"ecl-gallery__item-icon-wrapper\">\n <ecl-icon isInverted class=\"ecl-gallery__item-icon\" icon=\"play\" size=\"s\"></ecl-icon>\n </div>\n } \n <ng-content select=\"[eclGalleryPicture], [eclGalleryThumbnail], [eclGalleryMedia], [eclGalleryImage]\"></ng-content>\n <figcaption class=\"ecl-gallery__description\">\n @if(title) {\n <span class=\"ecl-gallery__title\" [id]=\"titleId\">{{title}}</span>\n }\n @if(description) {\n <span class=\"ecl-gallery__caption\">{{ description }}</span>\n }\n @if(icon) {\n <ecl-icon class=\"ecl-gallery__description-icon\" [icon]=\"icon\"></ecl-icon>\n }\n <span class=\"ecl-gallery__meta\">\n {{ meta }}\n </span>\n </figcaption>\n </figure>\n</a>" }]
373
+ }], propDecorators: { isShareable: [{ type: i0.Input, args: [{ isSignal: true, alias: "isShareable", required: false }] }], mediaType: [{ type: i0.Input, args: [{ isSignal: true, alias: "mediaType", required: false }] }], src: [{
378
374
  type: Input
379
375
  }], meta: [{
380
376
  type: Input
@@ -414,37 +410,39 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImpor
414
410
  class EclGalleryComponent extends ECLBaseDirective {
415
411
  constructor() {
416
412
  super(...arguments);
417
- this.isOpenInFullScreenPossible = true;
413
+ this.isOpenInFullScreenPossible = input(true, { ...(ngDevMode ? { debugName: "isOpenInFullScreenPossible" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
418
414
  /**
419
415
  * If the items in the gallery can be shared. I.e. if the link for sharing will be present for each item.
420
416
  */
421
- this.isShareable = true;
417
+ this.isShareable = input(true, { ...(ngDevMode ? { debugName: "isShareable" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
422
418
  /**
423
419
  * If set to true, the gallery will have 100 view width.
424
420
  */
425
- this.isFullWidth = false;
421
+ this.isFullWidth = input(false, { ...(ngDevMode ? { debugName: "isFullWidth" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
426
422
  /**
427
423
  * If set to true, no overlay will be displayed when user clicks on an image.
428
424
  */
429
- this.isNoOverlay = false;
425
+ this.isNoOverlay = input(false, { ...(ngDevMode ? { debugName: "isNoOverlay" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
430
426
  /**
431
427
  * If set to false, no title will be displayed when user hover on a gallery item.
432
428
  */
433
- this.isShowTitleOnHover = true;
429
+ this.isShowTitleOnHover = input(true, { ...(ngDevMode ? { debugName: "isShowTitleOnHover" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
434
430
  /**
435
431
  * If set to true, a specific class will be applied, so the gallery thumbnails are displayed as a grid, all with same size.
436
432
  */
437
- this.isGrid = false;
438
- this.columns = 3;
433
+ this.isGrid = input(false, { ...(ngDevMode ? { debugName: "isGrid" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
434
+ this.columns = input(3, { ...(ngDevMode ? { debugName: "columns" } : /* istanbul ignore next */ {}), transform: numberAttribute });
439
435
  /**
440
436
  * This property can be used with 'isGrid' property set to true. By default gridTemplate is 0 and all the thimbnails have same size.
441
437
  * If another template value is set, some additional formatting is applied and the thumbnails will have different sizes.
442
438
  */
443
- this.gridTemplate = '0';
439
+ this.gridTemplate = input('0', /* @ts-ignore */
440
+ ...(ngDevMode ? [{ debugName: "gridTemplate" }] : /* istanbul ignore next */ []));
444
441
  /**
445
442
  * The ratio that will be applied to the gallery thumbnails.
446
443
  */
447
- this.ratio = '3-2';
444
+ this.ratio = input('3-2', /* @ts-ignore */
445
+ ...(ngDevMode ? [{ debugName: "ratio" }] : /* istanbul ignore next */ []));
448
446
  /**
449
447
  * Emits event when user clicks on an item to expand it.
450
448
  */
@@ -487,12 +485,12 @@ class EclGalleryComponent extends ECLBaseDirective {
487
485
  */
488
486
  get cssClasses() {
489
487
  return [super.getCssClasses('ecl-gallery'),
490
- this.isFullWidth ? 'ecl-gallery--full-width' : '',
491
- this.isGrid ? 'ecl-gallery--grid' : '',
492
- this.isGrid && this.gridTemplate === '0' ? `ecl-gallery--col-${this.columns}` : '',
493
- this.isGrid ? `ecl-gallery--template-${this.gridTemplate}` : '',
494
- this.isGrid ? `ecl-gallery--ratio-${this.ratio}` : '',
495
- !this.isShowTitleOnHover ? 'ecl-gallery--no-hover' : '',
488
+ this.isFullWidth() ? 'ecl-gallery--full-width' : '',
489
+ this.isGrid() ? 'ecl-gallery--grid' : '',
490
+ this.isGrid() && this.gridTemplate() === '0' ? `ecl-gallery--col-${this.columns()}` : '',
491
+ this.isGrid() ? `ecl-gallery--template-${this.gridTemplate()}` : '',
492
+ this.isGrid() ? `ecl-gallery--ratio-${this.ratio()}` : '',
493
+ !this.isShowTitleOnHover() ? 'ecl-gallery--no-hover' : '',
496
494
  ].join(' ').trim();
497
495
  }
498
496
  ngAfterViewInit() {
@@ -520,7 +518,7 @@ class EclGalleryComponent extends ECLBaseDirective {
520
518
  }
521
519
  });
522
520
  }
523
- if (!this.isNoOverlay) {
521
+ if (!this.isNoOverlay()) {
524
522
  // For each item, subscribe to 'itemClick' event.
525
523
  this.galleryItems.forEach((item) => {
526
524
  item.itemClick.pipe(takeUntil(this.destroy$)).subscribe((_) => {
@@ -589,10 +587,10 @@ class EclGalleryComponent extends ECLBaseDirective {
589
587
  evt.preventDefault();
590
588
  }
591
589
  canBeOpenInFullScreen() {
592
- return this.isOpenInFullScreenPossible && this.item?.isOpenInFullScreenPossible;
590
+ return this.isOpenInFullScreenPossible() && this.item?.isOpenInFullScreenPossible;
593
591
  }
594
592
  canBeShared() {
595
- return this.isShareable && this.item?.isShareable;
593
+ return this.isShareable() && this.item?.isShareable();
596
594
  }
597
595
  getIframeWidth() {
598
596
  return this.iframeWidth;
@@ -710,40 +708,15 @@ class EclGalleryComponent extends ECLBaseDirective {
710
708
  return this.galleryItems.filter((item, cnt) => cnt < this.maxVisibleItems);
711
709
  }
712
710
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EclGalleryComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
713
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.5", type: EclGalleryComponent, isStandalone: true, selector: "ecl-gallery", inputs: { isOpenInFullScreenPossible: ["isOpenInFullScreenPossible", "isOpenInFullScreenPossible", booleanAttribute], isShareable: ["isShareable", "isShareable", booleanAttribute], isFullWidth: ["isFullWidth", "isFullWidth", booleanAttribute], isNoOverlay: ["isNoOverlay", "isNoOverlay", booleanAttribute], isShowTitleOnHover: ["isShowTitleOnHover", "isShowTitleOnHover", booleanAttribute], maxVisibleItems: ["maxVisibleItems", "maxVisibleItems", numberAttribute], isGrid: ["isGrid", "isGrid", booleanAttribute], columns: ["columns", "columns", numberAttribute], gridTemplate: "gridTemplate", ratio: "ratio" }, outputs: { show: "show", hide: "hide", openFullScreen: "openFullScreen", share: "share", itemSwitch: "itemSwitch" }, host: { listeners: { "document:keydown.escape": "onEscapeKeydownHandler()" }, properties: { "class": "this.cssClasses", "attr.role": "this.role" } }, queries: [{ propertyName: "galleryFooter", first: true, predicate: EclGalleryFooterComponent, descendants: true }, { propertyName: "galleryItems", predicate: EclGalleryItemComponent }], viewQueries: [{ propertyName: "overlayChild", first: true, predicate: ["overlay"], descendants: true }, { propertyName: "headerChild", first: true, predicate: ["header"], descendants: true }, { propertyName: "footerChild", first: true, predicate: ["footer"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<ul class=\"ecl-gallery__list\">\n <ng-content></ng-content>\n</ul>\n\n<ng-content select=\"ecl-gallery-footer\"></ng-content>\n\n<dialog #overlay [attr.open]=\"isDialogVisible || null\" class=\"ecl-gallery__overlay\"\n [attr.aria-label]=\"'ecl.gallery.FULL-SIZE-DISPLAY' | translate\">\n <header #header class=\"ecl-gallery__close\">\n <button (click)=\"onClose($event)\" eclButton class=\"ecl-gallery__close-button\" isIconOnly variant=\"tertiary\" eclStyle=\"inverted\">\n <span eclButtonLabel>\n {{ 'ecl.common.CLOSE' | translate }}\n </span>\n <ecl-icon icon=\"close\" size=\"m\"></ecl-icon>\n </button>\n </header>\n <section class=\"ecl-gallery__slider\">\n <div class=\"ecl-gallery__slider-media-container\">\n @if(item?.isExternalVideo) {\n <div class=\"ecl-gallery__slider-embed\">\n @if (item?.srVideoAudioDescription) {\n <div class=\"ecl-gallery__slider-embed-audio\">{{item?.srVideoAudioDescription}}</div>\n }\n <iframe [src]=\"item?.getUrlExternalVideo()\" [style.width.px]=\"getIframeWidth()\"\n [style.height.px]=\"getIframeHeight()\" [attr.title]=\"item.title + ' - Video player'\" frameborder=\"0\">\n </iframe>\n </div>\n }\n @if(item?.isImage) {\n <picture class=\"ecl-picture ecl-gallery__picture ecl-gallery__slider-image\">\n @for(el of item.galleryPicture?.sources; track el.srcset) {\n <source [attr.srcset]=\"el.srcset\" [attr.media]=\" el.media\">\n }\n <img [attr.alt]=\"item?.galleryPicture?.img.alt || null\"\n [src]=\"item?.galleryPicture?.img.src\"\n [attr.loading]=\"item?.galleryPicture?.img.loading || null\" />\n </picture>\n }\n @if(item?.isVideo) {\n <video controls=\"controls\" class=\"ecl-gallery__slider-video\" [attr.aria-label]=\"item.title + ' - Video player'\"\n [attr.poster]=\"item.mediaChild?.poster\" playsinline>\n @for (el of item.mediaChild?.sources; track el.src) {\n <source [attr.src]=\"el.src\" [attr.type]=\"el.type\" />\n }\n @for (elem of item.mediaChild?.tracks; track elem.src) {\n <track [attr.src]=\"elem.src\" [attr.kind]=\"elem.kind\" [attr.srcLang]=\"elem.srcLang\"\n [attr.label]=\"elem.label\" />\n }\n </video>\n }\n </div>\n </section>\n <footer #footer class=\"ecl-gallery__detail\">\n <div class=\"ecl-container\">\n <div class=\"ecl-gallery__detail-container\">\n <div class=\"ecl-gallery__pager\">\n <div class=\"ecl-gallery__detail-counter\">\n <span>{{ itemIndex }}</span> {{ 'ecl.common.OF' | translate }} <span>{{ itemsCount }}</span>\n </div>\n <div class=\"ecl-gallery__controls\">\n <button eclButton class=\"ecl-gallery__slider-previous\" variant=\"tertiary\" isIconOnly\n (click)=\"onPrevious($event)\">\n <ecl-icon icon=\"corner-arrow\" size=\"m\" transform=\"rotate-270\"></ecl-icon>\n <span eclButtonLabel>\n {{ 'ecl.common.PREVIOUS' | translate }}\n </span>\n </button>\n <button eclButton class=\"ecl-gallery__slider-next\" variant=\"tertiary\" isIconOnly\n (click)=\"onNext($event)\">\n <span eclButtonLabel>\n {{ 'ecl.common.NEXT' | translate }}\n </span>\n <ecl-icon icon=\"corner-arrow\" size=\"m\" transform=\"rotate-90\"></ecl-icon>\n </button>\n </div>\n </div>\n <div class=\"ecl-gallery__detail-actions\">\n <ng-container *ngTemplateOutlet=\"links\"></ng-container>\n </div>\n </div>\n <div class=\"ecl-gallery__detail-description\">\n @if(isMobile) {\n <div class=\"ecl-gallery__detail-actions-mobile\">\n <ng-container *ngTemplateOutlet=\"links\"></ng-container>\n </div>\n }\n @if(item?.title) {\n <span class=\"ecl-gallery__title\" [id]=\"item?.itemId\">{{ item?.title }}</span>\n }\n @if(item?.description) {\n <span class=\"ecl-gallery__caption\">{{ item?.description }}</span>\n }\n @if(item?.meta) {\n <span class=\"ecl-gallery__meta\">{{ item?.meta }}</span>\n }\n </div>\n </div>\n </footer>\n</dialog>\n\n<ng-template #links>\n @if(canBeOpenInFullScreen()) {\n <a eclLink [attr.aria-describedby]=\"item?.titleId\" variant=\"standalone\"\n class=\"ecl-gallery__download\" [href]=\"item?.getDownloadLink()\" target=\"_blank\"\n (click)=\"onFullScreenOpen($event)\" isInverted>\n <span eclLinkLabel>{{ 'ecl.gallery.VIEW-ORIGINAL' | translate }}</span>\n <ecl-icon icon=\"fullscreen\" size=\"fluid\" focusable=\"false\"></ecl-icon>\n </a>\n }\n @if(canBeShared()) {\n <a [attr.aria-describedby]=\"item?.titleId\" eclLink variant=\"standalone\" isInverted\n class=\"ecl-gallery__share\" href=\"\" (click)=\"onShare($event)\">\n <span eclLinkLabel>{{ 'ecl.common.SHARE' | translate }}</span>\n <ecl-icon icon=\"share\" size=\"fluid\" focusable=\"false\"></ecl-icon>\n </a>\n }\n</ng-template>", styles: [":host{display:block}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i1.EclButtonComponent, selector: "button[eclButton], button[ecl-button], a[eclButton]", inputs: ["isIconOnly", "variant", "eclStyle", "size", "containerStyleClass"] }, { kind: "directive", type: i1.EclButtonLabelDirective, selector: "[eclButtonLabel]" }, { kind: "component", type: i1$1.EclIconComponent, selector: "ecl-icon", inputs: ["iconSet", "icon", "size", "color", "transform", "ariaLabelledby", "role", "title", "ariaHidden", "focusable", "isFlipHorizontal"] }, { kind: "directive", type: i3.EclLinkDirective, selector: "[eclLink]", inputs: ["extraAttributes", "isInverted", "isIconOnly", "isHighlight", "isNoVisited", "isBranded", "variant"] }, { kind: "directive", type: i3.EclLinkLabelDirective, selector: "[eclLinkLabel]" }, { kind: "pipe", type: TranslatePipe, name: "translate" }] }); }
711
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.5", type: EclGalleryComponent, isStandalone: true, selector: "ecl-gallery", inputs: { isOpenInFullScreenPossible: { classPropertyName: "isOpenInFullScreenPossible", publicName: "isOpenInFullScreenPossible", isSignal: true, isRequired: false, transformFunction: null }, isShareable: { classPropertyName: "isShareable", publicName: "isShareable", isSignal: true, isRequired: false, transformFunction: null }, isFullWidth: { classPropertyName: "isFullWidth", publicName: "isFullWidth", isSignal: true, isRequired: false, transformFunction: null }, isNoOverlay: { classPropertyName: "isNoOverlay", publicName: "isNoOverlay", isSignal: true, isRequired: false, transformFunction: null }, isShowTitleOnHover: { classPropertyName: "isShowTitleOnHover", publicName: "isShowTitleOnHover", isSignal: true, isRequired: false, transformFunction: null }, maxVisibleItems: { classPropertyName: "maxVisibleItems", publicName: "maxVisibleItems", isSignal: false, isRequired: false, transformFunction: numberAttribute }, isGrid: { classPropertyName: "isGrid", publicName: "isGrid", isSignal: true, isRequired: false, transformFunction: null }, columns: { classPropertyName: "columns", publicName: "columns", isSignal: true, isRequired: false, transformFunction: null }, gridTemplate: { classPropertyName: "gridTemplate", publicName: "gridTemplate", isSignal: true, isRequired: false, transformFunction: null }, ratio: { classPropertyName: "ratio", publicName: "ratio", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { show: "show", hide: "hide", openFullScreen: "openFullScreen", share: "share", itemSwitch: "itemSwitch" }, host: { listeners: { "document:keydown.escape": "onEscapeKeydownHandler()" }, properties: { "class": "this.cssClasses", "attr.role": "this.role" } }, queries: [{ propertyName: "galleryFooter", first: true, predicate: EclGalleryFooterComponent, descendants: true }, { propertyName: "galleryItems", predicate: EclGalleryItemComponent }], viewQueries: [{ propertyName: "overlayChild", first: true, predicate: ["overlay"], descendants: true }, { propertyName: "headerChild", first: true, predicate: ["header"], descendants: true }, { propertyName: "footerChild", first: true, predicate: ["footer"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<ul class=\"ecl-gallery__list\">\n <ng-content></ng-content>\n</ul>\n\n<ng-content select=\"ecl-gallery-footer\"></ng-content>\n\n<dialog #overlay [attr.open]=\"isDialogVisible || null\" class=\"ecl-gallery__overlay\"\n [attr.aria-label]=\"'ecl.gallery.FULL-SIZE-DISPLAY' | translate\">\n <header #header class=\"ecl-gallery__close\">\n <button (click)=\"onClose($event)\" eclButton class=\"ecl-gallery__close-button\" isIconOnly variant=\"tertiary\" eclStyle=\"inverted\">\n <span eclButtonLabel>\n {{ 'ecl.common.CLOSE' | translate }}\n </span>\n <ecl-icon icon=\"close\" size=\"m\"></ecl-icon>\n </button>\n </header>\n <section class=\"ecl-gallery__slider\">\n <div class=\"ecl-gallery__slider-media-container\">\n @if(item?.isExternalVideo) {\n <div class=\"ecl-gallery__slider-embed\">\n @if (item?.srVideoAudioDescription) {\n <div class=\"ecl-gallery__slider-embed-audio\">{{item?.srVideoAudioDescription}}</div>\n }\n <iframe [src]=\"item?.getUrlExternalVideo()\" [style.width.px]=\"getIframeWidth()\"\n [style.height.px]=\"getIframeHeight()\" [attr.title]=\"item.title + ' - Video player'\" frameborder=\"0\">\n </iframe>\n </div>\n }\n @if(item?.isImage) {\n <picture class=\"ecl-picture ecl-gallery__picture ecl-gallery__slider-image\">\n @for(el of item.galleryPicture?.sources; track el.srcset) {\n <source [attr.srcset]=\"el.srcset\" [attr.media]=\" el.media\">\n }\n <img [attr.alt]=\"item?.galleryPicture?.img.alt || null\"\n [src]=\"item?.galleryPicture?.img.src\"\n [attr.loading]=\"item?.galleryPicture?.img.loading || null\" />\n </picture>\n }\n @if(item?.isVideo) {\n <video controls=\"controls\" class=\"ecl-gallery__slider-video\" [attr.aria-label]=\"item.title + ' - Video player'\"\n [attr.poster]=\"item.mediaChild?.poster()\" playsinline>\n @for (el of item.mediaChild?.sources; track el.src) {\n <source [attr.src]=\"el.src\" [attr.type]=\"el.type\" />\n }\n @for (elem of item.mediaChild?.tracks; track elem.src) {\n <track [attr.src]=\"elem.src\" [attr.kind]=\"elem.kind\" [attr.srcLang]=\"elem.srcLang\"\n [attr.label]=\"elem.label\" />\n }\n </video>\n }\n </div>\n </section>\n <footer #footer class=\"ecl-gallery__detail\">\n <div class=\"ecl-container\">\n <div class=\"ecl-gallery__detail-container\">\n <div class=\"ecl-gallery__pager\">\n <div class=\"ecl-gallery__detail-counter\">\n <span>{{ itemIndex }}</span> {{ 'ecl.common.OF' | translate }} <span>{{ itemsCount }}</span>\n </div>\n <div class=\"ecl-gallery__controls\">\n <button eclButton class=\"ecl-gallery__slider-previous\" variant=\"tertiary\" isIconOnly\n (click)=\"onPrevious($event)\">\n <ecl-icon icon=\"corner-arrow\" size=\"m\" transform=\"rotate-270\"></ecl-icon>\n <span eclButtonLabel>\n {{ 'ecl.common.PREVIOUS' | translate }}\n </span>\n </button>\n <button eclButton class=\"ecl-gallery__slider-next\" variant=\"tertiary\" isIconOnly\n (click)=\"onNext($event)\">\n <span eclButtonLabel>\n {{ 'ecl.common.NEXT' | translate }}\n </span>\n <ecl-icon icon=\"corner-arrow\" size=\"m\" transform=\"rotate-90\"></ecl-icon>\n </button>\n </div>\n </div>\n <div class=\"ecl-gallery__detail-actions\">\n <ng-container *ngTemplateOutlet=\"links\"></ng-container>\n </div>\n </div>\n <div class=\"ecl-gallery__detail-description\">\n @if(isMobile) {\n <div class=\"ecl-gallery__detail-actions-mobile\">\n <ng-container *ngTemplateOutlet=\"links\"></ng-container>\n </div>\n }\n @if(item?.title) {\n <span class=\"ecl-gallery__title\" [id]=\"item?.itemId\">{{ item?.title }}</span>\n }\n @if(item?.description) {\n <span class=\"ecl-gallery__caption\">{{ item?.description }}</span>\n }\n @if(item?.meta) {\n <span class=\"ecl-gallery__meta\">{{ item?.meta }}</span>\n }\n </div>\n </div>\n </footer>\n</dialog>\n\n<ng-template #links>\n @if(canBeOpenInFullScreen()) {\n <a eclLink [attr.aria-describedby]=\"item?.titleId\" variant=\"standalone\"\n class=\"ecl-gallery__download\" [href]=\"item?.getDownloadLink()\" target=\"_blank\"\n (click)=\"onFullScreenOpen($event)\" isInverted>\n <span eclLinkLabel>{{ 'ecl.gallery.VIEW-ORIGINAL' | translate }}</span>\n <ecl-icon icon=\"fullscreen\" size=\"fluid\" focusable=\"false\"></ecl-icon>\n </a>\n }\n @if(canBeShared()) {\n <a [attr.aria-describedby]=\"item?.titleId\" eclLink variant=\"standalone\" isInverted\n class=\"ecl-gallery__share\" href=\"\" (click)=\"onShare($event)\">\n <span eclLinkLabel>{{ 'ecl.common.SHARE' | translate }}</span>\n <ecl-icon icon=\"share\" size=\"fluid\" focusable=\"false\"></ecl-icon>\n </a>\n }\n</ng-template>", styles: [":host{display:block}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i1.EclButtonComponent, selector: "button[eclButton], button[ecl-button], a[eclButton]", inputs: ["isIconOnly", "variant", "eclStyle", "size", "containerStyleClass"] }, { kind: "directive", type: i1.EclButtonLabelDirective, selector: "[eclButtonLabel]" }, { kind: "component", type: i1$1.EclIconComponent, selector: "ecl-icon", inputs: ["iconSet", "icon", "size", "color", "transform", "ariaLabelledby", "role", "title", "ariaHidden", "focusable", "isFlipHorizontal"] }, { kind: "directive", type: i3.EclLinkDirective, selector: "[eclLink]", inputs: ["extraAttributes", "isInverted", "isIconOnly", "isHighlight", "isNoVisited", "isBranded", "variant"] }, { kind: "directive", type: i3.EclLinkLabelDirective, selector: "[eclLinkLabel]" }, { kind: "pipe", type: TranslatePipe, name: "translate" }] }); }
714
712
  }
715
713
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EclGalleryComponent, decorators: [{
716
714
  type: Component,
717
- args: [{ selector: 'ecl-gallery', imports: [TranslatePipe, NgTemplateOutlet, ...EUI_ECL_BUTTON, ...EUI_ECL_ICON, ...EUI_ECL_LINK], template: "<ul class=\"ecl-gallery__list\">\n <ng-content></ng-content>\n</ul>\n\n<ng-content select=\"ecl-gallery-footer\"></ng-content>\n\n<dialog #overlay [attr.open]=\"isDialogVisible || null\" class=\"ecl-gallery__overlay\"\n [attr.aria-label]=\"'ecl.gallery.FULL-SIZE-DISPLAY' | translate\">\n <header #header class=\"ecl-gallery__close\">\n <button (click)=\"onClose($event)\" eclButton class=\"ecl-gallery__close-button\" isIconOnly variant=\"tertiary\" eclStyle=\"inverted\">\n <span eclButtonLabel>\n {{ 'ecl.common.CLOSE' | translate }}\n </span>\n <ecl-icon icon=\"close\" size=\"m\"></ecl-icon>\n </button>\n </header>\n <section class=\"ecl-gallery__slider\">\n <div class=\"ecl-gallery__slider-media-container\">\n @if(item?.isExternalVideo) {\n <div class=\"ecl-gallery__slider-embed\">\n @if (item?.srVideoAudioDescription) {\n <div class=\"ecl-gallery__slider-embed-audio\">{{item?.srVideoAudioDescription}}</div>\n }\n <iframe [src]=\"item?.getUrlExternalVideo()\" [style.width.px]=\"getIframeWidth()\"\n [style.height.px]=\"getIframeHeight()\" [attr.title]=\"item.title + ' - Video player'\" frameborder=\"0\">\n </iframe>\n </div>\n }\n @if(item?.isImage) {\n <picture class=\"ecl-picture ecl-gallery__picture ecl-gallery__slider-image\">\n @for(el of item.galleryPicture?.sources; track el.srcset) {\n <source [attr.srcset]=\"el.srcset\" [attr.media]=\" el.media\">\n }\n <img [attr.alt]=\"item?.galleryPicture?.img.alt || null\"\n [src]=\"item?.galleryPicture?.img.src\"\n [attr.loading]=\"item?.galleryPicture?.img.loading || null\" />\n </picture>\n }\n @if(item?.isVideo) {\n <video controls=\"controls\" class=\"ecl-gallery__slider-video\" [attr.aria-label]=\"item.title + ' - Video player'\"\n [attr.poster]=\"item.mediaChild?.poster\" playsinline>\n @for (el of item.mediaChild?.sources; track el.src) {\n <source [attr.src]=\"el.src\" [attr.type]=\"el.type\" />\n }\n @for (elem of item.mediaChild?.tracks; track elem.src) {\n <track [attr.src]=\"elem.src\" [attr.kind]=\"elem.kind\" [attr.srcLang]=\"elem.srcLang\"\n [attr.label]=\"elem.label\" />\n }\n </video>\n }\n </div>\n </section>\n <footer #footer class=\"ecl-gallery__detail\">\n <div class=\"ecl-container\">\n <div class=\"ecl-gallery__detail-container\">\n <div class=\"ecl-gallery__pager\">\n <div class=\"ecl-gallery__detail-counter\">\n <span>{{ itemIndex }}</span> {{ 'ecl.common.OF' | translate }} <span>{{ itemsCount }}</span>\n </div>\n <div class=\"ecl-gallery__controls\">\n <button eclButton class=\"ecl-gallery__slider-previous\" variant=\"tertiary\" isIconOnly\n (click)=\"onPrevious($event)\">\n <ecl-icon icon=\"corner-arrow\" size=\"m\" transform=\"rotate-270\"></ecl-icon>\n <span eclButtonLabel>\n {{ 'ecl.common.PREVIOUS' | translate }}\n </span>\n </button>\n <button eclButton class=\"ecl-gallery__slider-next\" variant=\"tertiary\" isIconOnly\n (click)=\"onNext($event)\">\n <span eclButtonLabel>\n {{ 'ecl.common.NEXT' | translate }}\n </span>\n <ecl-icon icon=\"corner-arrow\" size=\"m\" transform=\"rotate-90\"></ecl-icon>\n </button>\n </div>\n </div>\n <div class=\"ecl-gallery__detail-actions\">\n <ng-container *ngTemplateOutlet=\"links\"></ng-container>\n </div>\n </div>\n <div class=\"ecl-gallery__detail-description\">\n @if(isMobile) {\n <div class=\"ecl-gallery__detail-actions-mobile\">\n <ng-container *ngTemplateOutlet=\"links\"></ng-container>\n </div>\n }\n @if(item?.title) {\n <span class=\"ecl-gallery__title\" [id]=\"item?.itemId\">{{ item?.title }}</span>\n }\n @if(item?.description) {\n <span class=\"ecl-gallery__caption\">{{ item?.description }}</span>\n }\n @if(item?.meta) {\n <span class=\"ecl-gallery__meta\">{{ item?.meta }}</span>\n }\n </div>\n </div>\n </footer>\n</dialog>\n\n<ng-template #links>\n @if(canBeOpenInFullScreen()) {\n <a eclLink [attr.aria-describedby]=\"item?.titleId\" variant=\"standalone\"\n class=\"ecl-gallery__download\" [href]=\"item?.getDownloadLink()\" target=\"_blank\"\n (click)=\"onFullScreenOpen($event)\" isInverted>\n <span eclLinkLabel>{{ 'ecl.gallery.VIEW-ORIGINAL' | translate }}</span>\n <ecl-icon icon=\"fullscreen\" size=\"fluid\" focusable=\"false\"></ecl-icon>\n </a>\n }\n @if(canBeShared()) {\n <a [attr.aria-describedby]=\"item?.titleId\" eclLink variant=\"standalone\" isInverted\n class=\"ecl-gallery__share\" href=\"\" (click)=\"onShare($event)\">\n <span eclLinkLabel>{{ 'ecl.common.SHARE' | translate }}</span>\n <ecl-icon icon=\"share\" size=\"fluid\" focusable=\"false\"></ecl-icon>\n </a>\n }\n</ng-template>", styles: [":host{display:block}\n"] }]
718
- }], propDecorators: { isOpenInFullScreenPossible: [{
719
- type: Input,
720
- args: [{ transform: booleanAttribute }]
721
- }], isShareable: [{
722
- type: Input,
723
- args: [{ transform: booleanAttribute }]
724
- }], isFullWidth: [{
725
- type: Input,
726
- args: [{ transform: booleanAttribute }]
727
- }], isNoOverlay: [{
728
- type: Input,
729
- args: [{ transform: booleanAttribute }]
730
- }], isShowTitleOnHover: [{
731
- type: Input,
732
- args: [{ transform: booleanAttribute }]
733
- }], maxVisibleItems: [{
715
+ args: [{ selector: 'ecl-gallery', imports: [TranslatePipe, NgTemplateOutlet, ...EUI_ECL_BUTTON, ...EUI_ECL_ICON, ...EUI_ECL_LINK], template: "<ul class=\"ecl-gallery__list\">\n <ng-content></ng-content>\n</ul>\n\n<ng-content select=\"ecl-gallery-footer\"></ng-content>\n\n<dialog #overlay [attr.open]=\"isDialogVisible || null\" class=\"ecl-gallery__overlay\"\n [attr.aria-label]=\"'ecl.gallery.FULL-SIZE-DISPLAY' | translate\">\n <header #header class=\"ecl-gallery__close\">\n <button (click)=\"onClose($event)\" eclButton class=\"ecl-gallery__close-button\" isIconOnly variant=\"tertiary\" eclStyle=\"inverted\">\n <span eclButtonLabel>\n {{ 'ecl.common.CLOSE' | translate }}\n </span>\n <ecl-icon icon=\"close\" size=\"m\"></ecl-icon>\n </button>\n </header>\n <section class=\"ecl-gallery__slider\">\n <div class=\"ecl-gallery__slider-media-container\">\n @if(item?.isExternalVideo) {\n <div class=\"ecl-gallery__slider-embed\">\n @if (item?.srVideoAudioDescription) {\n <div class=\"ecl-gallery__slider-embed-audio\">{{item?.srVideoAudioDescription}}</div>\n }\n <iframe [src]=\"item?.getUrlExternalVideo()\" [style.width.px]=\"getIframeWidth()\"\n [style.height.px]=\"getIframeHeight()\" [attr.title]=\"item.title + ' - Video player'\" frameborder=\"0\">\n </iframe>\n </div>\n }\n @if(item?.isImage) {\n <picture class=\"ecl-picture ecl-gallery__picture ecl-gallery__slider-image\">\n @for(el of item.galleryPicture?.sources; track el.srcset) {\n <source [attr.srcset]=\"el.srcset\" [attr.media]=\" el.media\">\n }\n <img [attr.alt]=\"item?.galleryPicture?.img.alt || null\"\n [src]=\"item?.galleryPicture?.img.src\"\n [attr.loading]=\"item?.galleryPicture?.img.loading || null\" />\n </picture>\n }\n @if(item?.isVideo) {\n <video controls=\"controls\" class=\"ecl-gallery__slider-video\" [attr.aria-label]=\"item.title + ' - Video player'\"\n [attr.poster]=\"item.mediaChild?.poster()\" playsinline>\n @for (el of item.mediaChild?.sources; track el.src) {\n <source [attr.src]=\"el.src\" [attr.type]=\"el.type\" />\n }\n @for (elem of item.mediaChild?.tracks; track elem.src) {\n <track [attr.src]=\"elem.src\" [attr.kind]=\"elem.kind\" [attr.srcLang]=\"elem.srcLang\"\n [attr.label]=\"elem.label\" />\n }\n </video>\n }\n </div>\n </section>\n <footer #footer class=\"ecl-gallery__detail\">\n <div class=\"ecl-container\">\n <div class=\"ecl-gallery__detail-container\">\n <div class=\"ecl-gallery__pager\">\n <div class=\"ecl-gallery__detail-counter\">\n <span>{{ itemIndex }}</span> {{ 'ecl.common.OF' | translate }} <span>{{ itemsCount }}</span>\n </div>\n <div class=\"ecl-gallery__controls\">\n <button eclButton class=\"ecl-gallery__slider-previous\" variant=\"tertiary\" isIconOnly\n (click)=\"onPrevious($event)\">\n <ecl-icon icon=\"corner-arrow\" size=\"m\" transform=\"rotate-270\"></ecl-icon>\n <span eclButtonLabel>\n {{ 'ecl.common.PREVIOUS' | translate }}\n </span>\n </button>\n <button eclButton class=\"ecl-gallery__slider-next\" variant=\"tertiary\" isIconOnly\n (click)=\"onNext($event)\">\n <span eclButtonLabel>\n {{ 'ecl.common.NEXT' | translate }}\n </span>\n <ecl-icon icon=\"corner-arrow\" size=\"m\" transform=\"rotate-90\"></ecl-icon>\n </button>\n </div>\n </div>\n <div class=\"ecl-gallery__detail-actions\">\n <ng-container *ngTemplateOutlet=\"links\"></ng-container>\n </div>\n </div>\n <div class=\"ecl-gallery__detail-description\">\n @if(isMobile) {\n <div class=\"ecl-gallery__detail-actions-mobile\">\n <ng-container *ngTemplateOutlet=\"links\"></ng-container>\n </div>\n }\n @if(item?.title) {\n <span class=\"ecl-gallery__title\" [id]=\"item?.itemId\">{{ item?.title }}</span>\n }\n @if(item?.description) {\n <span class=\"ecl-gallery__caption\">{{ item?.description }}</span>\n }\n @if(item?.meta) {\n <span class=\"ecl-gallery__meta\">{{ item?.meta }}</span>\n }\n </div>\n </div>\n </footer>\n</dialog>\n\n<ng-template #links>\n @if(canBeOpenInFullScreen()) {\n <a eclLink [attr.aria-describedby]=\"item?.titleId\" variant=\"standalone\"\n class=\"ecl-gallery__download\" [href]=\"item?.getDownloadLink()\" target=\"_blank\"\n (click)=\"onFullScreenOpen($event)\" isInverted>\n <span eclLinkLabel>{{ 'ecl.gallery.VIEW-ORIGINAL' | translate }}</span>\n <ecl-icon icon=\"fullscreen\" size=\"fluid\" focusable=\"false\"></ecl-icon>\n </a>\n }\n @if(canBeShared()) {\n <a [attr.aria-describedby]=\"item?.titleId\" eclLink variant=\"standalone\" isInverted\n class=\"ecl-gallery__share\" href=\"\" (click)=\"onShare($event)\">\n <span eclLinkLabel>{{ 'ecl.common.SHARE' | translate }}</span>\n <ecl-icon icon=\"share\" size=\"fluid\" focusable=\"false\"></ecl-icon>\n </a>\n }\n</ng-template>", styles: [":host{display:block}\n"] }]
716
+ }], propDecorators: { isOpenInFullScreenPossible: [{ type: i0.Input, args: [{ isSignal: true, alias: "isOpenInFullScreenPossible", required: false }] }], isShareable: [{ type: i0.Input, args: [{ isSignal: true, alias: "isShareable", required: false }] }], isFullWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "isFullWidth", required: false }] }], isNoOverlay: [{ type: i0.Input, args: [{ isSignal: true, alias: "isNoOverlay", required: false }] }], isShowTitleOnHover: [{ type: i0.Input, args: [{ isSignal: true, alias: "isShowTitleOnHover", required: false }] }], maxVisibleItems: [{
734
717
  type: Input,
735
718
  args: [{ transform: numberAttribute }]
736
- }], isGrid: [{
737
- type: Input,
738
- args: [{ transform: booleanAttribute }]
739
- }], columns: [{
740
- type: Input,
741
- args: [{ transform: numberAttribute }]
742
- }], gridTemplate: [{
743
- type: Input
744
- }], ratio: [{
745
- type: Input
746
- }], show: [{ type: i0.Output, args: ["show"] }], hide: [{ type: i0.Output, args: ["hide"] }], openFullScreen: [{ type: i0.Output, args: ["openFullScreen"] }], share: [{ type: i0.Output, args: ["share"] }], itemSwitch: [{ type: i0.Output, args: ["itemSwitch"] }], galleryItems: [{
719
+ }], isGrid: [{ type: i0.Input, args: [{ isSignal: true, alias: "isGrid", required: false }] }], columns: [{ type: i0.Input, args: [{ isSignal: true, alias: "columns", required: false }] }], gridTemplate: [{ type: i0.Input, args: [{ isSignal: true, alias: "gridTemplate", required: false }] }], ratio: [{ type: i0.Input, args: [{ isSignal: true, alias: "ratio", required: false }] }], show: [{ type: i0.Output, args: ["show"] }], hide: [{ type: i0.Output, args: ["hide"] }], openFullScreen: [{ type: i0.Output, args: ["openFullScreen"] }], share: [{ type: i0.Output, args: ["share"] }], itemSwitch: [{ type: i0.Output, args: ["itemSwitch"] }], galleryItems: [{
747
720
  type: ContentChildren,
748
721
  args: [EclGalleryItemComponent]
749
722
  }], galleryFooter: [{