@eui/ecl 21.0.0-alpha.14 → 21.0.0-alpha.16

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 (239) hide show
  1. package/components/ecl-banner/index.d.ts +8 -4
  2. package/components/ecl-banner/index.d.ts.map +1 -1
  3. package/components/ecl-featured/index.d.ts +1 -1
  4. package/components/ecl-featured/index.d.ts.map +1 -1
  5. package/components/ecl-gallery/index.d.ts +1 -1
  6. package/components/ecl-gallery/index.d.ts.map +1 -1
  7. package/components/ecl-link/index.d.ts +6 -6
  8. package/components/ecl-link/index.d.ts.map +1 -1
  9. package/components/ecl-mega-menu/index.d.ts +1 -1
  10. package/components/ecl-mega-menu/index.d.ts.map +1 -1
  11. package/components/ecl-menu/index.d.ts.map +1 -1
  12. package/components/ecl-multiselect/index.d.ts +2 -2
  13. package/components/ecl-popover/index.d.ts +1 -1
  14. package/components/ecl-popover/index.d.ts.map +1 -1
  15. package/components/ecl-site-footer/index.d.ts.map +1 -1
  16. package/components/ecl-site-header/index.d.ts +1 -1
  17. package/docs/changelog.html +207 -0
  18. package/docs/components/EclAccordionComponent.html +2 -2
  19. package/docs/components/EclAccordionItemComponent.html +2 -2
  20. package/docs/components/EclAppComponent.html +1 -1
  21. package/docs/components/EclBannerComponent.html +4 -4
  22. package/docs/components/EclBlockquoteComponent.html +1 -1
  23. package/docs/components/EclBreadcrumbComponent.html +3 -8
  24. package/docs/components/EclBreadcrumbSegmentComponent.html +5 -4
  25. package/docs/components/EclButtonComponent.html +2 -2
  26. package/docs/components/EclCardBodyComponent.html +1 -1
  27. package/docs/components/EclCardComponent.html +1 -1
  28. package/docs/components/EclCarouselComponent.html +1 -1
  29. package/docs/components/EclCarouselItemComponent.html +1 -1
  30. package/docs/components/EclCategoryFilterComponent.html +1 -1
  31. package/docs/components/EclCategoryFilterItemComponent.html +2 -2
  32. package/docs/components/EclCategoryFilterListComponent.html +1 -1
  33. package/docs/components/EclCheckboxHelpComponent.html +1 -1
  34. package/docs/components/EclCheckboxLabelComponent.html +2 -2
  35. package/docs/components/EclContentBlockComponent.html +1 -1
  36. package/docs/components/EclContentItemComponent.html +1 -1
  37. package/docs/components/EclDateBlockComponent.html +1 -1
  38. package/docs/components/EclDescriptionListDefinitionComponent.html +2 -2
  39. package/docs/components/EclExpandableComponent.html +3 -3
  40. package/docs/components/EclFactFiguresComponent.html +1 -1
  41. package/docs/components/EclFactFiguresDescriptionComponent.html +1 -1
  42. package/docs/components/EclFactFiguresItemComponent.html +1 -1
  43. package/docs/components/EclFactFiguresTitleComponent.html +1 -1
  44. package/docs/components/EclFactFiguresValueComponent.html +1 -1
  45. package/docs/components/EclFactFiguresViewAllComponent.html +1 -1
  46. package/docs/components/EclFeaturedComponent.html +1 -1
  47. package/docs/components/EclFeaturedItemComponent.html +1 -1
  48. package/docs/components/EclFeaturedItemDescriptionComponent.html +1 -1
  49. package/docs/components/EclFeaturedItemFooterComponent.html +1 -1
  50. package/docs/components/EclFileComponent.html +3 -3
  51. package/docs/components/EclFileItemComponent.html +1 -1
  52. package/docs/components/EclFileItemsComponent.html +3 -3
  53. package/docs/components/EclFileTaxonomyComponent.html +1 -1
  54. package/docs/components/EclFormGroupComponent.html +1 -1
  55. package/docs/components/EclFormLabelComponent.html +1 -1
  56. package/docs/components/EclGalleryComponent.html +8 -47
  57. package/docs/components/EclGalleryFooterComponent.html +2 -2
  58. package/docs/components/EclGalleryItemComponent.html +2 -2
  59. package/docs/components/EclIconComponent.html +1 -1
  60. package/docs/components/EclInpageNavigationComponent.html +2 -2
  61. package/docs/components/EclInpageNavigationItemComponent.html +2 -2
  62. package/docs/components/EclListIllustrationComponent.html +1 -1
  63. package/docs/components/EclListIllustrationItemComponent.html +1 -1
  64. package/docs/components/EclLoadingIndicatorComponent.html +1 -1
  65. package/docs/components/EclMediaContainerComponent.html +3 -3
  66. package/docs/components/EclMegaMenuComponent.html +3 -3
  67. package/docs/components/EclMegaMenuFeaturedComponent.html +1 -1
  68. package/docs/components/EclMegaMenuInfoComponent.html +1 -1
  69. package/docs/components/EclMegaMenuItemComponent.html +6 -5
  70. package/docs/components/EclMegaMenuSubitemComponent.html +6 -5
  71. package/docs/components/EclMenuComponent.html +3 -3
  72. package/docs/components/EclMenuItemComponent.html +6 -5
  73. package/docs/components/EclMenuMegaComponent.html +1 -1
  74. package/docs/components/EclMenuMegaItemComponent.html +2 -2
  75. package/docs/components/EclModalBodyComponent.html +1 -1
  76. package/docs/components/EclModalComponent.html +1 -1
  77. package/docs/components/EclModalFooterComponent.html +1 -1
  78. package/docs/components/EclModalHeaderComponent.html +3 -3
  79. package/docs/components/EclMultiselectComponent.html +1 -1
  80. package/docs/components/EclMultiselectDropdownComponent.html +6 -41
  81. package/docs/components/EclMultiselectInputComponent.html +3 -3
  82. package/docs/components/EclMultiselectOptgroupComponent.html +1 -1
  83. package/docs/components/EclMultiselectOptionComponent.html +1 -1
  84. package/docs/components/EclNavigationListComponent.html +1 -1
  85. package/docs/components/EclNavigationListItemComponent.html +1 -1
  86. package/docs/components/EclNewsTickerComponent.html +3 -3
  87. package/docs/components/EclNewsTickerItemComponent.html +1 -1
  88. package/docs/components/EclNotificationComponent.html +3 -3
  89. package/docs/components/EclPageHeaderComponent.html +1 -1
  90. package/docs/components/EclPaginationComponent.html +1 -1
  91. package/docs/components/EclPaginationItemComponent.html +5 -4
  92. package/docs/components/EclPopoverComponent.html +8 -53
  93. package/docs/components/EclRadioHelpComponent.html +1 -1
  94. package/docs/components/EclRadioLabelComponent.html +1 -1
  95. package/docs/components/EclRangeBubbleComponent.html +1 -1
  96. package/docs/components/EclRangeValueComponent.html +1 -1
  97. package/docs/components/EclRatingFieldComponent.html +2 -2
  98. package/docs/components/EclSearchFormComponent.html +3 -3
  99. package/docs/components/EclSelectContainerComponent.html +3 -3
  100. package/docs/components/EclSiteFooterComponent.html +1 -1
  101. package/docs/components/EclSiteFooterFixedContentECComponent.html +4 -2
  102. package/docs/components/EclSiteFooterFixedContentEUComponent.html +2 -2
  103. package/docs/components/EclSiteHeaderActionComponent.html +1 -1
  104. package/docs/components/EclSiteHeaderBannerTopComponent.html +1 -1
  105. package/docs/components/EclSiteHeaderComponent.html +2 -2
  106. package/docs/components/EclSiteHeaderCustomActionComponent.html +3 -3
  107. package/docs/components/EclSiteHeaderEnvironmentComponent.html +1 -1
  108. package/docs/components/EclSiteHeaderLanguageComponent.html +2 -2
  109. package/docs/components/EclSiteHeaderLanguagePopoverComponent.html +5 -10
  110. package/docs/components/EclSiteHeaderLoginComponent.html +2 -2
  111. package/docs/components/EclSiteHeaderNotificationComponent.html +1 -1
  112. package/docs/components/EclSiteHeaderSearchComponent.html +3 -3
  113. package/docs/components/EclSocialMediaFollowComponent.html +1 -1
  114. package/docs/components/EclSocialMediaFollowItemComponent.html +5 -4
  115. package/docs/components/EclSocialMediaShareComponent.html +1 -1
  116. package/docs/components/EclSocialMediaShareItemComponent.html +3 -3
  117. package/docs/components/EclSplashPageComponent.html +1 -1
  118. package/docs/components/EclSplashPageLanguageCategoryComponent.html +1 -1
  119. package/docs/components/EclSplashPageLanguageContainerComponent.html +1 -1
  120. package/docs/components/EclSplashPageLanguageLinkComponent.html +1 -1
  121. package/docs/components/EclStickyContainerComponent.html +1 -1
  122. package/docs/components/EclTabComponent.html +2 -2
  123. package/docs/components/EclTabLabelComponent.html +1 -1
  124. package/docs/components/EclTabMoreComponent.html +1 -1
  125. package/docs/components/EclTableSortButtonComponent.html +2 -2
  126. package/docs/components/EclTabsComponent.html +3 -3
  127. package/docs/components/EclTagComponent.html +2 -2
  128. package/docs/components/EclTimelineComponent.html +1 -1
  129. package/docs/components/EclTimelineItemComponent.html +3 -3
  130. package/docs/components/EclTimelineItemTogglerComponent.html +1 -1
  131. package/docs/directives/{EclIndicatorDirective-1.html → EclLinkIndicatorDirective.html} +2 -2
  132. package/docs/directives/EclRangeDirective.html +2 -2
  133. package/docs/js/menu-wc.js +12 -12
  134. package/docs/js/menu-wc_es5.js +1 -1
  135. package/docs/js/search/search_index.js +2 -2
  136. package/docs/miscellaneous/variables.html +68 -66
  137. package/docs/modules/EclAllModule.html +0 -360
  138. package/docs/modules/EclLinkModule.html +6 -3
  139. package/docs/properties.html +1 -1
  140. package/fesm2022/eui-ecl-components-ecl-accordion.mjs +13 -13
  141. package/fesm2022/eui-ecl-components-ecl-accordion.mjs.map +1 -1
  142. package/fesm2022/eui-ecl-components-ecl-app.mjs +7 -7
  143. package/fesm2022/eui-ecl-components-ecl-banner.mjs +89 -76
  144. package/fesm2022/eui-ecl-components-ecl-banner.mjs.map +1 -1
  145. package/fesm2022/eui-ecl-components-ecl-blockquote.mjs +13 -13
  146. package/fesm2022/eui-ecl-components-ecl-breadcrumb.mjs +22 -23
  147. package/fesm2022/eui-ecl-components-ecl-breadcrumb.mjs.map +1 -1
  148. package/fesm2022/eui-ecl-components-ecl-button.mjs +18 -18
  149. package/fesm2022/eui-ecl-components-ecl-button.mjs.map +1 -1
  150. package/fesm2022/eui-ecl-components-ecl-card.mjs +16 -16
  151. package/fesm2022/eui-ecl-components-ecl-carousel.mjs +10 -10
  152. package/fesm2022/eui-ecl-components-ecl-category-filter.mjs +15 -15
  153. package/fesm2022/eui-ecl-components-ecl-category-filter.mjs.map +1 -1
  154. package/fesm2022/eui-ecl-components-ecl-checkbox.mjs +18 -18
  155. package/fesm2022/eui-ecl-components-ecl-checkbox.mjs.map +1 -1
  156. package/fesm2022/eui-ecl-components-ecl-content-block.mjs +58 -58
  157. package/fesm2022/eui-ecl-components-ecl-content-item.mjs +13 -13
  158. package/fesm2022/eui-ecl-components-ecl-date-block.mjs +7 -7
  159. package/fesm2022/eui-ecl-components-ecl-date-picker.mjs +7 -7
  160. package/fesm2022/eui-ecl-components-ecl-expandable.mjs +10 -10
  161. package/fesm2022/eui-ecl-components-ecl-expandable.mjs.map +1 -1
  162. package/fesm2022/eui-ecl-components-ecl-fact-figures.mjs +22 -22
  163. package/fesm2022/eui-ecl-components-ecl-featured.mjs +28 -26
  164. package/fesm2022/eui-ecl-components-ecl-featured.mjs.map +1 -1
  165. package/fesm2022/eui-ecl-components-ecl-feedback-message.mjs +7 -7
  166. package/fesm2022/eui-ecl-components-ecl-file-upload.mjs +7 -7
  167. package/fesm2022/eui-ecl-components-ecl-file.mjs +41 -43
  168. package/fesm2022/eui-ecl-components-ecl-file.mjs.map +1 -1
  169. package/fesm2022/eui-ecl-components-ecl-form-group.mjs +7 -7
  170. package/fesm2022/eui-ecl-components-ecl-form-label.mjs +10 -10
  171. package/fesm2022/eui-ecl-components-ecl-gallery.mjs +32 -30
  172. package/fesm2022/eui-ecl-components-ecl-gallery.mjs.map +1 -1
  173. package/fesm2022/eui-ecl-components-ecl-help-block.mjs +7 -7
  174. package/fesm2022/eui-ecl-components-ecl-icon.mjs +7 -7
  175. package/fesm2022/eui-ecl-components-ecl-inpage-navigation.mjs +20 -20
  176. package/fesm2022/eui-ecl-components-ecl-inpage-navigation.mjs.map +1 -1
  177. package/fesm2022/eui-ecl-components-ecl-label.mjs +7 -7
  178. package/fesm2022/eui-ecl-components-ecl-link.mjs +21 -21
  179. package/fesm2022/eui-ecl-components-ecl-link.mjs.map +1 -1
  180. package/fesm2022/eui-ecl-components-ecl-list-illustration.mjs +19 -19
  181. package/fesm2022/eui-ecl-components-ecl-list.mjs +33 -33
  182. package/fesm2022/eui-ecl-components-ecl-list.mjs.map +1 -1
  183. package/fesm2022/eui-ecl-components-ecl-loading-indicator.mjs +13 -13
  184. package/fesm2022/eui-ecl-components-ecl-media-container.mjs +22 -22
  185. package/fesm2022/eui-ecl-components-ecl-media-container.mjs.map +1 -1
  186. package/fesm2022/eui-ecl-components-ecl-mega-menu.mjs +61 -62
  187. package/fesm2022/eui-ecl-components-ecl-mega-menu.mjs.map +1 -1
  188. package/fesm2022/eui-ecl-components-ecl-menu.mjs +26 -28
  189. package/fesm2022/eui-ecl-components-ecl-menu.mjs.map +1 -1
  190. package/fesm2022/eui-ecl-components-ecl-modal.mjs +29 -29
  191. package/fesm2022/eui-ecl-components-ecl-modal.mjs.map +1 -1
  192. package/fesm2022/eui-ecl-components-ecl-multiselect.mjs +34 -34
  193. package/fesm2022/eui-ecl-components-ecl-multiselect.mjs.map +1 -1
  194. package/fesm2022/eui-ecl-components-ecl-navigation-list.mjs +16 -16
  195. package/fesm2022/eui-ecl-components-ecl-news-ticker.mjs +17 -17
  196. package/fesm2022/eui-ecl-components-ecl-news-ticker.mjs.map +1 -1
  197. package/fesm2022/eui-ecl-components-ecl-notification.mjs +14 -14
  198. package/fesm2022/eui-ecl-components-ecl-notification.mjs.map +1 -1
  199. package/fesm2022/eui-ecl-components-ecl-page-header.mjs +37 -37
  200. package/fesm2022/eui-ecl-components-ecl-pagination.mjs +20 -21
  201. package/fesm2022/eui-ecl-components-ecl-pagination.mjs.map +1 -1
  202. package/fesm2022/eui-ecl-components-ecl-popover.mjs +21 -21
  203. package/fesm2022/eui-ecl-components-ecl-popover.mjs.map +1 -1
  204. package/fesm2022/eui-ecl-components-ecl-radio.mjs +16 -16
  205. package/fesm2022/eui-ecl-components-ecl-range.mjs +14 -14
  206. package/fesm2022/eui-ecl-components-ecl-range.mjs.map +1 -1
  207. package/fesm2022/eui-ecl-components-ecl-rating-field.mjs +9 -9
  208. package/fesm2022/eui-ecl-components-ecl-rating-field.mjs.map +1 -1
  209. package/fesm2022/eui-ecl-components-ecl-search-form.mjs +10 -10
  210. package/fesm2022/eui-ecl-components-ecl-search-form.mjs.map +1 -1
  211. package/fesm2022/eui-ecl-components-ecl-select.mjs +14 -14
  212. package/fesm2022/eui-ecl-components-ecl-select.mjs.map +1 -1
  213. package/fesm2022/eui-ecl-components-ecl-separator.mjs +7 -7
  214. package/fesm2022/eui-ecl-components-ecl-site-footer.mjs +65 -64
  215. package/fesm2022/eui-ecl-components-ecl-site-footer.mjs.map +1 -1
  216. package/fesm2022/eui-ecl-components-ecl-site-header.mjs +75 -75
  217. package/fesm2022/eui-ecl-components-ecl-site-header.mjs.map +1 -1
  218. package/fesm2022/eui-ecl-components-ecl-social-media-follow.mjs +17 -18
  219. package/fesm2022/eui-ecl-components-ecl-social-media-follow.mjs.map +1 -1
  220. package/fesm2022/eui-ecl-components-ecl-social-media-share.mjs +16 -16
  221. package/fesm2022/eui-ecl-components-ecl-social-media-share.mjs.map +1 -1
  222. package/fesm2022/eui-ecl-components-ecl-splash-page.mjs +31 -31
  223. package/fesm2022/eui-ecl-components-ecl-sticky-container.mjs +7 -7
  224. package/fesm2022/eui-ecl-components-ecl-table.mjs +36 -36
  225. package/fesm2022/eui-ecl-components-ecl-table.mjs.map +1 -1
  226. package/fesm2022/eui-ecl-components-ecl-tabs.mjs +21 -21
  227. package/fesm2022/eui-ecl-components-ecl-tabs.mjs.map +1 -1
  228. package/fesm2022/eui-ecl-components-ecl-tag.mjs +18 -18
  229. package/fesm2022/eui-ecl-components-ecl-tag.mjs.map +1 -1
  230. package/fesm2022/eui-ecl-components-ecl-text-area.mjs +7 -7
  231. package/fesm2022/eui-ecl-components-ecl-text-input.mjs +7 -7
  232. package/fesm2022/eui-ecl-components-ecl-timeline.mjs +22 -22
  233. package/fesm2022/eui-ecl-components-ecl-timeline.mjs.map +1 -1
  234. package/fesm2022/eui-ecl-core.mjs +25 -25
  235. package/fesm2022/eui-ecl-shared.mjs +3 -3
  236. package/fesm2022/eui-ecl.mjs +184 -304
  237. package/fesm2022/eui-ecl.mjs.map +1 -1
  238. package/index.d.ts +1 -1
  239. package/package.json +17 -17
@@ -4,14 +4,16 @@ import * as i2 from '@ngx-translate/core';
4
4
  import { TranslateModule } from '@ngx-translate/core';
5
5
  import { EclBaseEvent, ECLBaseDirective } from '@eui/ecl/core';
6
6
  import * as i1 from '@eui/ecl/components/ecl-button';
7
- import { EclButtonModule } from '@eui/ecl/components/ecl-button';
7
+ import { EUI_ECL_BUTTON } from '@eui/ecl/components/ecl-button';
8
8
  import { DomSanitizer } from '@angular/platform-browser';
9
9
  import * as i1$1 from '@eui/ecl/components/ecl-icon';
10
- import { EclIconModule } from '@eui/ecl/components/ecl-icon';
10
+ import { EUI_ECL_ICON } from '@eui/ecl/components/ecl-icon';
11
11
  import { BreakpointObserver, Breakpoints } from '@angular/cdk/layout';
12
12
  import { isPlatformBrowser, NgTemplateOutlet } from '@angular/common';
13
13
  import { Subject, delay } from 'rxjs';
14
14
  import { takeUntil } from 'rxjs/operators';
15
+ import * as i3 from '@eui/ecl/components/ecl-link';
16
+ import { EUI_ECL_LINK } from '@eui/ecl/components/ecl-link';
15
17
 
16
18
  class EclGalleryShowEvent extends EclBaseEvent {
17
19
  }
@@ -87,12 +89,12 @@ class EclGalleryFooterComponent {
87
89
  this._isExpanded = !this._isExpanded;
88
90
  this.toggleItems.next(new EclGalleryToggleItemsEvent(this.isExpanded));
89
91
  }
90
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.1", ngImport: i0, type: EclGalleryFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
91
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.0-next.1", type: EclGalleryFooterComponent, isStandalone: true, selector: "ecl-gallery-footer", inputs: { infoId: "infoId" }, outputs: { toggleItems: "toggleItems" }, host: { properties: { "class.ecl-gallery__footer": "this.hasClass" } }, ngImport: i0, template: "<div class=\"ecl-gallery__info\">\n <div class=\"ecl-gallery__info-total\" [id]=\"infoId\">\n <strong>{{ itemsCount }}</strong>{{ 'ecl.gallery.MEDIA-FILES-COUNT' | translate }}\n </div>\n @if(isShowToggleBtn) {\n @if(!isExpanded) {\n <button [attr.aria-describedby]=\"infoId\" eclButton variant=\"ghost\" class=\"ecl-gallery__view-all\"\n (click)=\"onToggle()\">\n {{ 'ecl.gallery.VIEW-ALL' | translate }}\n </button>\n } @else {\n <button [attr.aria-describedby]=\"infoId\" eclButton variant=\"ghost\" class=\"ecl-gallery__view-all\"\n (click)=\"onToggle()\">\n {{ 'ecl.common.COLLAPSE' | translate }}\n </button>\n }\n }\n</div>\n<hr class=\"ecl-gallery__footer-divider\" />\n<div class=\"ecl-gallery__footer-link\">\n <ng-content></ng-content>\n</div>", dependencies: [{ kind: "ngmodule", type: TranslateModule }, { kind: "ngmodule", type: EclButtonModule }, { kind: "component", type: i1.EclButtonComponent, selector: "button[eclButton], button[ecl-button], a[eclButton]", inputs: ["isIconOnly", "variant", "containerStyleClass"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }] }); }
92
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: EclGalleryFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
93
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.0-next.3", type: EclGalleryFooterComponent, isStandalone: true, selector: "ecl-gallery-footer", inputs: { infoId: "infoId" }, outputs: { toggleItems: "toggleItems" }, host: { properties: { "class.ecl-gallery__footer": "this.hasClass" } }, ngImport: i0, template: "<div class=\"ecl-gallery__info\">\n <div class=\"ecl-gallery__info-total\" [id]=\"infoId\">\n <strong>{{ itemsCount }}</strong>{{ 'ecl.gallery.MEDIA-FILES-COUNT' | translate }}\n </div>\n @if(isShowToggleBtn) {\n @if(!isExpanded) {\n <button [attr.aria-describedby]=\"infoId\" eclButton variant=\"ghost\" class=\"ecl-gallery__view-all\"\n (click)=\"onToggle()\">\n {{ 'ecl.gallery.VIEW-ALL' | translate }}\n </button>\n } @else {\n <button [attr.aria-describedby]=\"infoId\" eclButton variant=\"ghost\" class=\"ecl-gallery__view-all\"\n (click)=\"onToggle()\">\n {{ 'ecl.common.COLLAPSE' | translate }}\n </button>\n }\n }\n</div>\n<hr class=\"ecl-gallery__footer-divider\" />\n<div class=\"ecl-gallery__footer-link\">\n <ng-content></ng-content>\n</div>", dependencies: [{ kind: "ngmodule", type: TranslateModule }, { kind: "component", type: i1.EclButtonComponent, selector: "button[eclButton], button[ecl-button], a[eclButton]", inputs: ["isIconOnly", "variant", "containerStyleClass"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }] }); }
92
94
  }
93
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.1", ngImport: i0, type: EclGalleryFooterComponent, decorators: [{
95
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: EclGalleryFooterComponent, decorators: [{
94
96
  type: Component,
95
- args: [{ selector: 'ecl-gallery-footer', imports: [TranslateModule, EclButtonModule], template: "<div class=\"ecl-gallery__info\">\n <div class=\"ecl-gallery__info-total\" [id]=\"infoId\">\n <strong>{{ itemsCount }}</strong>{{ 'ecl.gallery.MEDIA-FILES-COUNT' | translate }}\n </div>\n @if(isShowToggleBtn) {\n @if(!isExpanded) {\n <button [attr.aria-describedby]=\"infoId\" eclButton variant=\"ghost\" class=\"ecl-gallery__view-all\"\n (click)=\"onToggle()\">\n {{ 'ecl.gallery.VIEW-ALL' | translate }}\n </button>\n } @else {\n <button [attr.aria-describedby]=\"infoId\" eclButton variant=\"ghost\" class=\"ecl-gallery__view-all\"\n (click)=\"onToggle()\">\n {{ 'ecl.common.COLLAPSE' | translate }}\n </button>\n }\n }\n</div>\n<hr class=\"ecl-gallery__footer-divider\" />\n<div class=\"ecl-gallery__footer-link\">\n <ng-content></ng-content>\n</div>" }]
97
+ args: [{ selector: 'ecl-gallery-footer', imports: [TranslateModule, ...EUI_ECL_BUTTON], template: "<div class=\"ecl-gallery__info\">\n <div class=\"ecl-gallery__info-total\" [id]=\"infoId\">\n <strong>{{ itemsCount }}</strong>{{ 'ecl.gallery.MEDIA-FILES-COUNT' | translate }}\n </div>\n @if(isShowToggleBtn) {\n @if(!isExpanded) {\n <button [attr.aria-describedby]=\"infoId\" eclButton variant=\"ghost\" class=\"ecl-gallery__view-all\"\n (click)=\"onToggle()\">\n {{ 'ecl.gallery.VIEW-ALL' | translate }}\n </button>\n } @else {\n <button [attr.aria-describedby]=\"infoId\" eclButton variant=\"ghost\" class=\"ecl-gallery__view-all\"\n (click)=\"onToggle()\">\n {{ 'ecl.common.COLLAPSE' | translate }}\n </button>\n }\n }\n</div>\n<hr class=\"ecl-gallery__footer-divider\" />\n<div class=\"ecl-gallery__footer-link\">\n <ng-content></ng-content>\n</div>" }]
96
98
  }], propDecorators: { hasClass: [{
97
99
  type: HostBinding,
98
100
  args: ['class.ecl-gallery__footer']
@@ -168,10 +170,10 @@ class EclGalleryMediaDirective extends ECLBaseDirective {
168
170
  getHostElement() {
169
171
  return this.el.nativeElement;
170
172
  }
171
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.1", ngImport: i0, type: EclGalleryMediaDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
172
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "21.0.0-next.1", 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 }); }
173
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: EclGalleryMediaDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
174
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "21.0.0-next.3", 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 }); }
173
175
  }
174
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.1", ngImport: i0, type: EclGalleryMediaDirective, decorators: [{
176
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: EclGalleryMediaDirective, decorators: [{
175
177
  type: Directive,
176
178
  args: [{
177
179
  selector: '[eclGalleryMedia], [eclGalleryImage]',
@@ -233,10 +235,10 @@ class EclGalleryPictureDirective extends ECLBaseDirective {
233
235
  getHostElement() {
234
236
  return this.el.nativeElement;
235
237
  }
236
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.1", ngImport: i0, type: EclGalleryPictureDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
237
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.0-next.1", type: EclGalleryPictureDirective, isStandalone: true, selector: "picture[eclGalleryPicture]", host: { properties: { "class": "this.cssClasses" } }, usesInheritance: true, ngImport: i0 }); }
238
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: EclGalleryPictureDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
239
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.0-next.3", type: EclGalleryPictureDirective, isStandalone: true, selector: "picture[eclGalleryPicture]", host: { properties: { "class": "this.cssClasses" } }, usesInheritance: true, ngImport: i0 }); }
238
240
  }
239
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.1", ngImport: i0, type: EclGalleryPictureDirective, decorators: [{
241
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: EclGalleryPictureDirective, decorators: [{
240
242
  type: Directive,
241
243
  args: [{
242
244
  selector: 'picture[eclGalleryPicture]',
@@ -256,10 +258,10 @@ class EclGalleryThumbnailDirective extends ECLBaseDirective {
256
258
  get cssClasses() {
257
259
  return [super.getCssClasses('ecl-picture ecl-gallery__thumbnail')].join(' ').trim();
258
260
  }
259
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.1", ngImport: i0, type: EclGalleryThumbnailDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
260
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "21.0.0-next.1", type: EclGalleryThumbnailDirective, isStandalone: true, selector: "picture[eclGalleryThumbnail]", inputs: { hasZoom: ["hasZoom", "hasZoom", booleanAttribute] }, host: { properties: { "class": "this.cssClasses", "class.ecl-picture--zoom": "this.hasZoom" } }, usesInheritance: true, ngImport: i0 }); }
261
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: EclGalleryThumbnailDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
262
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "21.0.0-next.3", type: EclGalleryThumbnailDirective, isStandalone: true, selector: "picture[eclGalleryThumbnail]", inputs: { hasZoom: ["hasZoom", "hasZoom", booleanAttribute] }, host: { properties: { "class": "this.cssClasses", "class.ecl-picture--zoom": "this.hasZoom" } }, usesInheritance: true, ngImport: i0 }); }
261
263
  }
262
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.1", ngImport: i0, type: EclGalleryThumbnailDirective, decorators: [{
264
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: EclGalleryThumbnailDirective, decorators: [{
263
265
  type: Directive,
264
266
  args: [{
265
267
  selector: 'picture[eclGalleryThumbnail]',
@@ -372,12 +374,12 @@ class EclGalleryItemComponent extends ECLBaseDirective {
372
374
  onFocus() {
373
375
  this.renderer.selectRootElement(this.el.nativeElement.children[0], true).focus();
374
376
  }
375
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.1", ngImport: i0, type: EclGalleryItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
376
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.0-next.1", type: EclGalleryItemComponent, isStandalone: true, selector: "ecl-gallery-item", inputs: { isShareable: ["isShareable", "isShareable", booleanAttribute], mediaType: "mediaType", src: "src", meta: "meta", description: "description", srVideoAudioDescription: "srVideoAudioDescription", icon: "icon", title: "title", itemId: "itemId" }, 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: "galleryThumbnail", first: true, predicate: EclGalleryThumbnailDirective, 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 <figure class=\"ecl-gallery__image-container\">\n @if(mediaType !== 'image') {\n <div class=\"ecl-gallery__item-icon-wrapper\">\n <ecl-icon isInverted class=\"ecl-gallery__item-icon ecl-icon--inverted\" icon=\"play-filled\" size=\"l\"></ecl-icon>\n </div>\n } \n @if(hasGalleryThumbnail) { <!-- TODO: to be removed in v19. Thumbnail should be added by user. -->\n <picture class=\"ecl-picture ecl-gallery__thumbnail\">\n @for(el of galleryPicture?.sources; track el.srcset ) {\n <source [attr.srcset]=\"el.srcset\" [attr.media]=\" el.media\">\n }\n <img class=\"ecl-gallery__image\"\n [attr.src]=\"galleryPicture?.img.src\"\n [attr.alt]=\"galleryPicture?.img.alt\" />\n </picture>\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: "ngmodule", type: EclIconModule }, { kind: "component", type: i1$1.EclIconComponent, selector: "ecl-icon", inputs: ["iconSet", "icon", "size", "color", "transform", "ariaLabelledby", "role", "title", "ariaHidden", "focusable", "isFlipHorizontal"] }] }); }
377
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: EclGalleryItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
378
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.0-next.3", type: EclGalleryItemComponent, isStandalone: true, selector: "ecl-gallery-item", inputs: { isShareable: ["isShareable", "isShareable", booleanAttribute], mediaType: "mediaType", src: "src", meta: "meta", description: "description", srVideoAudioDescription: "srVideoAudioDescription", icon: "icon", title: "title", itemId: "itemId" }, 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: "galleryThumbnail", first: true, predicate: EclGalleryThumbnailDirective, 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 <figure class=\"ecl-gallery__image-container\">\n @if(mediaType !== 'image') {\n <div class=\"ecl-gallery__item-icon-wrapper\">\n <ecl-icon isInverted class=\"ecl-gallery__item-icon ecl-icon--inverted\" icon=\"play-filled\" size=\"l\"></ecl-icon>\n </div>\n } \n @if(hasGalleryThumbnail) { <!-- TODO: to be removed in v19. Thumbnail should be added by user. -->\n <picture class=\"ecl-picture ecl-gallery__thumbnail\">\n @for(el of galleryPicture?.sources; track el.srcset ) {\n <source [attr.srcset]=\"el.srcset\" [attr.media]=\" el.media\">\n }\n <img class=\"ecl-gallery__image\"\n [attr.src]=\"galleryPicture?.img.src\"\n [attr.alt]=\"galleryPicture?.img.alt\" />\n </picture>\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"] }] }); }
377
379
  }
378
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.1", ngImport: i0, type: EclGalleryItemComponent, decorators: [{
380
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: EclGalleryItemComponent, decorators: [{
379
381
  type: Component,
380
- args: [{ selector: 'ecl-gallery-item', imports: [EclIconModule], template: "<a [href]=\"src\" class=\"ecl-gallery__item-link\" [class.ecl-gallery__item__link--frozen]=\"isNoOverlay\" [id]=\"itemId\">\n <figure class=\"ecl-gallery__image-container\">\n @if(mediaType !== 'image') {\n <div class=\"ecl-gallery__item-icon-wrapper\">\n <ecl-icon isInverted class=\"ecl-gallery__item-icon ecl-icon--inverted\" icon=\"play-filled\" size=\"l\"></ecl-icon>\n </div>\n } \n @if(hasGalleryThumbnail) { <!-- TODO: to be removed in v19. Thumbnail should be added by user. -->\n <picture class=\"ecl-picture ecl-gallery__thumbnail\">\n @for(el of galleryPicture?.sources; track el.srcset ) {\n <source [attr.srcset]=\"el.srcset\" [attr.media]=\" el.media\">\n }\n <img class=\"ecl-gallery__image\"\n [attr.src]=\"galleryPicture?.img.src\"\n [attr.alt]=\"galleryPicture?.img.alt\" />\n </picture>\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>" }]
382
+ 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 <figure class=\"ecl-gallery__image-container\">\n @if(mediaType !== 'image') {\n <div class=\"ecl-gallery__item-icon-wrapper\">\n <ecl-icon isInverted class=\"ecl-gallery__item-icon ecl-icon--inverted\" icon=\"play-filled\" size=\"l\"></ecl-icon>\n </div>\n } \n @if(hasGalleryThumbnail) { <!-- TODO: to be removed in v19. Thumbnail should be added by user. -->\n <picture class=\"ecl-picture ecl-gallery__thumbnail\">\n @for(el of galleryPicture?.sources; track el.srcset ) {\n <source [attr.srcset]=\"el.srcset\" [attr.media]=\" el.media\">\n }\n <img class=\"ecl-gallery__image\"\n [attr.src]=\"galleryPicture?.img.src\"\n [attr.alt]=\"galleryPicture?.img.alt\" />\n </picture>\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>" }]
381
383
  }], propDecorators: { isShareable: [{
382
384
  type: Input,
383
385
  args: [{ transform: booleanAttribute }]
@@ -585,7 +587,7 @@ class EclGalleryComponent extends ECLBaseDirective {
585
587
  * On pressing 'esc' key - close the item dialog and emit 'hide' event.
586
588
  * @param event
587
589
  */
588
- onEscapeKeydownHandler(event) {
590
+ onEscapeKeydownHandler() {
589
591
  this.isDialogVisible = false;
590
592
  this.hide.next(new EclGalleryHideEvent());
591
593
  }
@@ -720,12 +722,12 @@ class EclGalleryComponent extends ECLBaseDirective {
720
722
  getVisibleItems() {
721
723
  return this.galleryItems.filter((item, cnt) => cnt < this.maxVisibleItems);
722
724
  }
723
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.1", ngImport: i0, type: EclGalleryComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
724
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.0-next.1", 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($event)", "window:resize": "iframeResize($event)" }, 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=\"ghost\">\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\">\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: "ngmodule", type: TranslateModule }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: EclButtonModule }, { kind: "component", type: i1.EclButtonComponent, selector: "button[eclButton], button[ecl-button], a[eclButton]", inputs: ["isIconOnly", "variant", "containerStyleClass"] }, { kind: "directive", type: i1.EclButtonLabelDirective, selector: "[eclButtonLabel]" }, { kind: "ngmodule", type: EclIconModule }, { kind: "component", type: i1$1.EclIconComponent, selector: "ecl-icon", inputs: ["iconSet", "icon", "size", "color", "transform", "ariaLabelledby", "role", "title", "ariaHidden", "focusable", "isFlipHorizontal"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }] }); }
725
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: EclGalleryComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
726
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.0-next.3", 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()", "window:resize": "iframeResize()" }, 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=\"ghost\">\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\">\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: "ngmodule", type: TranslateModule }, { 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", "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: ["isInverted", "isIconOnly", "isNoVisited", "variant"] }, { kind: "directive", type: i3.EclLinkLabelDirective, selector: "[eclLinkLabel]" }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }] }); }
725
727
  }
726
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.1", ngImport: i0, type: EclGalleryComponent, decorators: [{
728
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: EclGalleryComponent, decorators: [{
727
729
  type: Component,
728
- args: [{ selector: 'ecl-gallery', imports: [TranslateModule, NgTemplateOutlet, EclButtonModule, EclIconModule], 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=\"ghost\">\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\">\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"] }]
730
+ args: [{ selector: 'ecl-gallery', imports: [TranslateModule, 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=\"ghost\">\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\">\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"] }]
729
731
  }], propDecorators: { isOpenInFullScreenPossible: [{
730
732
  type: Input,
731
733
  args: [{ transform: booleanAttribute }]
@@ -787,10 +789,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.1",
787
789
  args: ['attr.role']
788
790
  }], onEscapeKeydownHandler: [{
789
791
  type: HostListener,
790
- args: ['document:keydown.escape', ['$event']]
792
+ args: ['document:keydown.escape']
791
793
  }], iframeResize: [{
792
794
  type: HostListener,
793
- args: ['window:resize', ['$event']]
795
+ args: ['window:resize']
794
796
  }] } });
795
797
 
796
798
  const COMPONENTS = [
@@ -807,8 +809,8 @@ const COMPONENTS = [
807
809
  * @deprecated Use {@link EUI_ECL_GALLERY} instead.
808
810
  */
809
811
  class EclGalleryModule {
810
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.1", ngImport: i0, type: EclGalleryModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
811
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.0-next.1", ngImport: i0, type: EclGalleryModule, imports: [EclGalleryComponent,
812
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: EclGalleryModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
813
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.0-next.3", ngImport: i0, type: EclGalleryModule, imports: [EclGalleryComponent,
812
814
  EclGalleryFooterComponent,
813
815
  EclGalleryItemComponent,
814
816
  EclGalleryMediaDirective,
@@ -819,11 +821,11 @@ class EclGalleryModule {
819
821
  EclGalleryMediaDirective,
820
822
  EclGalleryPictureDirective,
821
823
  EclGalleryThumbnailDirective] }); }
822
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.0-next.1", ngImport: i0, type: EclGalleryModule, imports: [EclGalleryComponent,
824
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: EclGalleryModule, imports: [EclGalleryComponent,
823
825
  EclGalleryFooterComponent,
824
826
  EclGalleryItemComponent] }); }
825
827
  }
826
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.1", ngImport: i0, type: EclGalleryModule, decorators: [{
828
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.3", ngImport: i0, type: EclGalleryModule, decorators: [{
827
829
  type: NgModule,
828
830
  args: [{
829
831
  imports: [...COMPONENTS],