@eui/ecl 21.0.0-alpha.3 → 21.0.0-alpha.31

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 (631) hide show
  1. package/assets/i18n-ecl/bg.json +1 -0
  2. package/assets/i18n-ecl/cs.json +1 -0
  3. package/assets/i18n-ecl/da.json +1 -0
  4. package/assets/i18n-ecl/de.json +1 -0
  5. package/assets/i18n-ecl/el.json +1 -0
  6. package/assets/i18n-ecl/en.json +1 -0
  7. package/assets/i18n-ecl/es.json +1 -0
  8. package/assets/i18n-ecl/et.json +1 -0
  9. package/assets/i18n-ecl/fi.json +1 -0
  10. package/assets/i18n-ecl/fr.json +1 -0
  11. package/assets/i18n-ecl/ga.json +1 -0
  12. package/assets/i18n-ecl/hr.json +1 -0
  13. package/assets/i18n-ecl/hu.json +1 -0
  14. package/assets/i18n-ecl/it.json +1 -0
  15. package/assets/i18n-ecl/lt.json +1 -0
  16. package/assets/i18n-ecl/lv.json +1 -0
  17. package/assets/i18n-ecl/mt.json +1 -0
  18. package/assets/i18n-ecl/nl.json +1 -0
  19. package/assets/i18n-ecl/pl.json +1 -0
  20. package/assets/i18n-ecl/pt.json +1 -0
  21. package/assets/i18n-ecl/ro.json +1 -0
  22. package/assets/i18n-ecl/sk.json +1 -0
  23. package/assets/i18n-ecl/sl.json +1 -0
  24. package/assets/i18n-ecl/sv.json +1 -0
  25. package/components/ecl-banner/index.d.ts +13 -4
  26. package/components/ecl-banner/index.d.ts.map +1 -1
  27. package/components/ecl-carousel/index.d.ts +1 -0
  28. package/components/ecl-carousel/index.d.ts.map +1 -1
  29. package/components/ecl-featured/index.d.ts +1 -1
  30. package/components/ecl-featured/index.d.ts.map +1 -1
  31. package/components/ecl-gallery/index.d.ts +1 -1
  32. package/components/ecl-gallery/index.d.ts.map +1 -1
  33. package/components/ecl-link/index.d.ts +6 -6
  34. package/components/ecl-link/index.d.ts.map +1 -1
  35. package/components/ecl-mega-menu/index.d.ts +2 -1
  36. package/components/ecl-mega-menu/index.d.ts.map +1 -1
  37. package/components/ecl-menu/index.d.ts +7 -1
  38. package/components/ecl-menu/index.d.ts.map +1 -1
  39. package/components/ecl-multiselect/index.d.ts +2 -2
  40. package/components/ecl-pagination/index.d.ts +1 -0
  41. package/components/ecl-pagination/index.d.ts.map +1 -1
  42. package/components/ecl-popover/index.d.ts +1 -1
  43. package/components/ecl-popover/index.d.ts.map +1 -1
  44. package/components/ecl-site-footer/index.d.ts +55 -32
  45. package/components/ecl-site-footer/index.d.ts.map +1 -1
  46. package/components/ecl-site-header/index.d.ts +1 -3
  47. package/components/ecl-site-header/index.d.ts.map +1 -1
  48. package/components/ecl-social-media-follow/index.d.ts +3 -1
  49. package/components/ecl-social-media-follow/index.d.ts.map +1 -1
  50. package/components/ecl-tabs/index.d.ts +5 -1
  51. package/components/ecl-tabs/index.d.ts.map +1 -1
  52. package/core/index.d.ts +7 -1
  53. package/core/index.d.ts.map +1 -1
  54. package/docs/changelog.html +427 -7760
  55. package/docs/classes/EclAccordionToggleEvent.html +18 -0
  56. package/docs/classes/EclAppLanguageDismissEvent.html +18 -0
  57. package/docs/classes/EclAreaChangeEvent.html +18 -0
  58. package/docs/classes/EclBaseEvent.html +18 -0
  59. package/docs/classes/EclBreadcrumbSegmentClickEvent.html +18 -0
  60. package/docs/classes/EclCategoryFilterItemSelectEvent.html +18 -0
  61. package/docs/classes/EclDatePickerDatePickedEvent.html +18 -0
  62. package/docs/classes/EclDomEvent.html +18 -0
  63. package/docs/classes/EclExpandableToggleEvent.html +18 -0
  64. package/docs/classes/EclFileItemsToggleEvent.html +18 -0
  65. package/docs/classes/EclFileUploadFileSelectedEvent.html +18 -0
  66. package/docs/classes/EclGalleryFullScreenEvent.html +18 -0
  67. package/docs/classes/EclGalleryHideEvent.html +18 -0
  68. package/docs/classes/EclGalleryItemClickEvent.html +18 -0
  69. package/docs/classes/EclGalleryItemEvent.html +18 -0
  70. package/docs/classes/EclGalleryMediaSource.html +18 -0
  71. package/docs/classes/EclGalleryMediaTrack.html +18 -0
  72. package/docs/classes/EclGalleryPictureImage.html +18 -0
  73. package/docs/classes/EclGalleryPictureSource.html +18 -0
  74. package/docs/classes/EclGalleryShareEvent.html +18 -0
  75. package/docs/classes/EclGalleryShowEvent.html +18 -0
  76. package/docs/classes/EclGalleryToggleItemsEvent.html +18 -0
  77. package/docs/classes/EclInpageNavigationItemClickEvent.html +18 -0
  78. package/docs/classes/EclInpageNavigationSectionEnterEvent.html +18 -0
  79. package/docs/classes/EclLanguageService.html +18 -0
  80. package/docs/classes/EclMenuItemCaretEvent.html +18 -0
  81. package/docs/classes/EclMenuItemFocusEvent.html +18 -0
  82. package/docs/classes/EclMenuItemHoverEvent.html +18 -0
  83. package/docs/classes/EclMenuItemHoverOutEvent.html +18 -0
  84. package/docs/classes/EclMenuItemKeydownEvent.html +18 -0
  85. package/docs/classes/EclMenuItemParentFocusEvent.html +18 -0
  86. package/docs/classes/EclMenuItemSelectEvent.html +18 -0
  87. package/docs/classes/EclModalCloseEvent.html +18 -0
  88. package/docs/classes/EclModalOpenEvent.html +18 -0
  89. package/docs/classes/EclMultiselectMainInputClickEvent.html +18 -0
  90. package/docs/classes/EclMultiselectOptionClickEvent.html +18 -0
  91. package/docs/classes/EclMultiselectOptionKeydownEvent.html +18 -0
  92. package/docs/classes/EclNewsTickerItemEvent.html +18 -0
  93. package/docs/classes/EclNotificationCloseEvent.html +18 -0
  94. package/docs/classes/EclPaginationEvent.html +18 -0
  95. package/docs/classes/EclPaginationItemClickEvent.html +18 -0
  96. package/docs/classes/EclRangeEvent.html +18 -0
  97. package/docs/classes/EclRatingChangeEvent.html +18 -0
  98. package/docs/classes/EclSearchFormEvent.html +18 -0
  99. package/docs/classes/EclSiteHeaderLanguageClickEvent.html +18 -0
  100. package/docs/classes/EclSiteHeaderLanguageCloseEvent.html +18 -0
  101. package/docs/classes/EclSiteHeaderLanguageSelectedEvent.html +18 -0
  102. package/docs/classes/EclSiteHeaderLoginBoxToggleEvent.html +18 -0
  103. package/docs/classes/EclSiteHeaderLoginEvent.html +18 -0
  104. package/docs/classes/EclSiteHeaderLogoClickEvent.html +18 -0
  105. package/docs/classes/EclSiteHeaderSearchEvent.html +18 -0
  106. package/docs/classes/EclSiteHeaderSearchToggleEvent.html +18 -0
  107. package/docs/classes/EclSlideEvent.html +18 -0
  108. package/docs/classes/EclSocialMediaFollowItemClickEvent.html +18 -0
  109. package/docs/classes/EclSocialMediaShareItemClickEvent.html +18 -0
  110. package/docs/classes/EclSortTableEvent.html +18 -0
  111. package/docs/classes/EclTabSelectEvent.html +18 -0
  112. package/docs/classes/EclTagRemoveEvent.html +18 -0
  113. package/docs/classes/EclTimelineItemToggleEvent.html +18 -0
  114. package/docs/components/EclAccordionComponent.html +21 -3
  115. package/docs/components/EclAccordionItemComponent.html +22 -4
  116. package/docs/components/EclAppComponent.html +20 -2
  117. package/docs/components/EclBannerComponent.html +136 -6
  118. package/docs/components/EclBlockquoteComponent.html +20 -2
  119. package/docs/components/EclBreadcrumbComponent.html +22 -9
  120. package/docs/components/EclBreadcrumbSegmentComponent.html +24 -5
  121. package/docs/components/EclButtonComponent.html +21 -3
  122. package/docs/components/EclCardBodyComponent.html +20 -2
  123. package/docs/components/EclCardComponent.html +20 -2
  124. package/docs/components/EclCarouselComponent.html +101 -2
  125. package/docs/components/EclCarouselItemComponent.html +20 -2
  126. package/docs/components/EclCategoryFilterComponent.html +20 -2
  127. package/docs/components/EclCategoryFilterItemComponent.html +21 -3
  128. package/docs/components/EclCategoryFilterListComponent.html +20 -2
  129. package/docs/components/EclCheckboxHelpComponent.html +20 -2
  130. package/docs/components/EclCheckboxLabelComponent.html +21 -3
  131. package/docs/components/EclContentBlockComponent.html +20 -2
  132. package/docs/components/EclContentItemComponent.html +20 -2
  133. package/docs/components/EclDateBlockComponent.html +20 -2
  134. package/docs/components/EclDescriptionListDefinitionComponent.html +21 -3
  135. package/docs/components/EclExpandableComponent.html +22 -4
  136. package/docs/components/EclFactFiguresComponent.html +20 -2
  137. package/docs/components/EclFactFiguresDescriptionComponent.html +20 -2
  138. package/docs/components/EclFactFiguresItemComponent.html +20 -2
  139. package/docs/components/EclFactFiguresTitleComponent.html +20 -2
  140. package/docs/components/EclFactFiguresValueComponent.html +20 -2
  141. package/docs/components/EclFactFiguresViewAllComponent.html +20 -2
  142. package/docs/components/EclFeaturedComponent.html +20 -2
  143. package/docs/components/EclFeaturedItemComponent.html +20 -2
  144. package/docs/components/EclFeaturedItemDescriptionComponent.html +20 -2
  145. package/docs/components/EclFeaturedItemFooterComponent.html +20 -2
  146. package/docs/components/EclFileComponent.html +22 -4
  147. package/docs/components/EclFileItemComponent.html +20 -2
  148. package/docs/components/EclFileItemsComponent.html +22 -4
  149. package/docs/components/EclFileTaxonomyComponent.html +20 -2
  150. package/docs/components/EclFormGroupComponent.html +20 -2
  151. package/docs/components/EclFormLabelComponent.html +20 -2
  152. package/docs/components/EclGalleryComponent.html +27 -48
  153. package/docs/components/EclGalleryFooterComponent.html +21 -3
  154. package/docs/components/EclGalleryItemComponent.html +21 -3
  155. package/docs/components/EclIconComponent.html +20 -2
  156. package/docs/components/EclInpageNavigationComponent.html +21 -3
  157. package/docs/components/EclInpageNavigationItemComponent.html +21 -3
  158. package/docs/components/EclListIllustrationComponent.html +20 -2
  159. package/docs/components/EclListIllustrationItemComponent.html +20 -2
  160. package/docs/components/EclLoadingIndicatorComponent.html +20 -2
  161. package/docs/components/EclMediaContainerComponent.html +22 -4
  162. package/docs/components/EclMegaMenuComponent.html +47 -25
  163. package/docs/components/EclMegaMenuFeaturedComponent.html +20 -2
  164. package/docs/components/EclMegaMenuInfoComponent.html +20 -2
  165. package/docs/components/EclMegaMenuItemComponent.html +25 -6
  166. package/docs/components/EclMegaMenuSubitemComponent.html +25 -6
  167. package/docs/components/EclMenuComponent.html +195 -37
  168. package/docs/components/EclMenuItemComponent.html +25 -6
  169. package/docs/components/EclMenuMegaComponent.html +20 -2
  170. package/docs/components/EclMenuMegaItemComponent.html +21 -3
  171. package/docs/components/EclModalBodyComponent.html +20 -2
  172. package/docs/components/EclModalComponent.html +20 -2
  173. package/docs/components/EclModalFooterComponent.html +20 -2
  174. package/docs/components/EclModalHeaderComponent.html +22 -4
  175. package/docs/components/EclMultiselectComponent.html +21 -5
  176. package/docs/components/EclMultiselectDropdownComponent.html +26 -45
  177. package/docs/components/EclMultiselectInputComponent.html +22 -4
  178. package/docs/components/EclMultiselectOptgroupComponent.html +20 -2
  179. package/docs/components/EclMultiselectOptionComponent.html +20 -2
  180. package/docs/components/EclNavigationListComponent.html +20 -2
  181. package/docs/components/EclNavigationListItemComponent.html +20 -2
  182. package/docs/components/EclNewsTickerComponent.html +22 -4
  183. package/docs/components/EclNewsTickerItemComponent.html +20 -2
  184. package/docs/components/EclNotificationComponent.html +22 -4
  185. package/docs/components/EclPageHeaderComponent.html +20 -2
  186. package/docs/components/EclPaginationComponent.html +20 -2
  187. package/docs/components/EclPaginationItemComponent.html +50 -6
  188. package/docs/components/EclPopoverComponent.html +27 -54
  189. package/docs/components/EclRadioHelpComponent.html +20 -2
  190. package/docs/components/EclRadioLabelComponent.html +20 -2
  191. package/docs/components/EclRangeBubbleComponent.html +20 -2
  192. package/docs/components/EclRangeValueComponent.html +20 -2
  193. package/docs/components/EclRatingFieldComponent.html +21 -3
  194. package/docs/components/EclSearchFormComponent.html +22 -4
  195. package/docs/components/EclSelectContainerComponent.html +22 -4
  196. package/docs/components/EclSiteFooterComponent.html +65 -5
  197. package/docs/components/EclSiteFooterCoreComponent.html +575 -0
  198. package/docs/components/EclSiteFooterFixedContentEUComponent.html +21 -3
  199. package/docs/components/EclSiteFooterRowCommonComponent.html +647 -0
  200. package/docs/components/EclSiteHeaderActionComponent.html +20 -2
  201. package/docs/components/EclSiteHeaderBannerTopComponent.html +20 -2
  202. package/docs/components/EclSiteHeaderComponent.html +22 -4
  203. package/docs/components/EclSiteHeaderCustomActionComponent.html +22 -4
  204. package/docs/components/EclSiteHeaderEnvironmentComponent.html +20 -2
  205. package/docs/components/EclSiteHeaderLanguageComponent.html +21 -3
  206. package/docs/components/EclSiteHeaderLanguagePopoverComponent.html +24 -11
  207. package/docs/components/EclSiteHeaderLoginComponent.html +21 -3
  208. package/docs/components/EclSiteHeaderNotificationComponent.html +20 -2
  209. package/docs/components/EclSiteHeaderSearchComponent.html +22 -4
  210. package/docs/components/EclSocialMediaFollowComponent.html +20 -2
  211. package/docs/components/EclSocialMediaFollowItemComponent.html +38 -6
  212. package/docs/components/EclSocialMediaShareComponent.html +20 -2
  213. package/docs/components/EclSocialMediaShareItemComponent.html +22 -4
  214. package/docs/components/EclSplashPageComponent.html +20 -2
  215. package/docs/components/EclSplashPageLanguageCategoryComponent.html +20 -2
  216. package/docs/components/EclSplashPageLanguageContainerComponent.html +20 -2
  217. package/docs/components/EclSplashPageLanguageLinkComponent.html +20 -2
  218. package/docs/components/EclStickyContainerComponent.html +20 -2
  219. package/docs/components/EclTabComponent.html +47 -4
  220. package/docs/components/EclTabLabelComponent.html +20 -2
  221. package/docs/components/EclTabMoreComponent.html +20 -2
  222. package/docs/components/EclTableSortButtonComponent.html +21 -3
  223. package/docs/components/EclTabsComponent.html +22 -4
  224. package/docs/components/EclTagComponent.html +21 -3
  225. package/docs/components/EclTimelineComponent.html +20 -2
  226. package/docs/components/EclTimelineItemComponent.html +22 -4
  227. package/docs/components/EclTimelineItemTogglerComponent.html +20 -2
  228. package/docs/dependencies.html +18 -0
  229. package/docs/directives/ECLBaseDirective.html +18 -0
  230. package/docs/directives/ECLClickOutsideDirective.html +18 -0
  231. package/docs/directives/ECLFormLabelOptionalDirective.html +18 -0
  232. package/docs/directives/EclBannerDescriptionDirective.html +18 -0
  233. package/docs/directives/EclBannerDescriptionLinkDirective.html +18 -0
  234. package/docs/directives/EclBannerDescriptionTextDirective.html +18 -0
  235. package/docs/directives/EclBannerImageDirective.html +18 -0
  236. package/docs/directives/EclBannerPictureDirective.html +18 -0
  237. package/docs/directives/EclBannerTitleDirective.html +18 -0
  238. package/docs/directives/EclBannerTitleLinkDirective.html +18 -0
  239. package/docs/directives/EclBannerTitleTextDirective.html +18 -0
  240. package/docs/directives/EclBannerVideoDirective.html +18 -0
  241. package/docs/directives/EclBlockquoteImageDirective.html +18 -0
  242. package/docs/directives/EclBlockquotePictureDirective.html +18 -0
  243. package/docs/directives/EclBreadcrumbContainerDirective.html +18 -0
  244. package/docs/directives/EclButtonIconContainerDirective.html +18 -0
  245. package/docs/directives/EclButtonLabelDirective.html +18 -0
  246. package/docs/directives/EclCardImageDirective.html +18 -0
  247. package/docs/directives/EclCardPictureDirective.html +18 -0
  248. package/docs/directives/EclCheckboxDirective.html +18 -0
  249. package/docs/directives/EclCheckboxInputDirective.html +18 -0
  250. package/docs/directives/EclContentBlockDescriptionDirective.html +18 -0
  251. package/docs/directives/EclContentBlockLabelDirective.html +18 -0
  252. package/docs/directives/EclContentBlockLabelsDirective.html +18 -0
  253. package/docs/directives/EclContentBlockLinkDirective.html +18 -0
  254. package/docs/directives/EclContentBlockLinksContainerDirective.html +18 -0
  255. package/docs/directives/EclContentBlockLinksDirective.html +18 -0
  256. package/docs/directives/EclContentBlockListContainerDirective.html +18 -0
  257. package/docs/directives/EclContentBlockListDirective.html +18 -0
  258. package/docs/directives/EclContentBlockPrimaryMetaDirective.html +18 -0
  259. package/docs/directives/EclContentBlockPrimaryMetasDirective.html +18 -0
  260. package/docs/directives/EclContentBlockSecondaryMetaDirective.html +18 -0
  261. package/docs/directives/EclContentBlockSecondaryMetaIconDirective.html +18 -0
  262. package/docs/directives/EclContentBlockSecondaryMetaLabelDirective.html +18 -0
  263. package/docs/directives/EclContentBlockSecondaryMetasDirective.html +18 -0
  264. package/docs/directives/EclContentBlockTagDirective.html +18 -0
  265. package/docs/directives/EclContentBlockTagsDirective.html +18 -0
  266. package/docs/directives/EclContentBlockTitleDirective.html +18 -0
  267. package/docs/directives/EclContentItemImageDirective.html +18 -0
  268. package/docs/directives/EclContentItemPictureDirective.html +18 -0
  269. package/docs/directives/EclDatePickerDirective.html +18 -0
  270. package/docs/directives/EclDescriptionListDefinitionItemDirective.html +18 -0
  271. package/docs/directives/EclDescriptionListDefinitionListDirective.html +18 -0
  272. package/docs/directives/EclDescriptionListDirective.html +18 -0
  273. package/docs/directives/EclDescriptionListTermDirective.html +18 -0
  274. package/docs/directives/EclFeaturedItemFooterLinkDirective.html +18 -0
  275. package/docs/directives/EclFeaturedItemFooterPictureDirective.html +18 -0
  276. package/docs/directives/EclFeaturedItemLinkDirective.html +18 -0
  277. package/docs/directives/EclFeedbackMessageDirective.html +18 -0
  278. package/docs/directives/EclFileDownloadDirective.html +18 -0
  279. package/docs/directives/EclFileImageDirective.html +18 -0
  280. package/docs/directives/EclFilePictureDirective.html +18 -0
  281. package/docs/directives/EclFilePreviewDirective.html +18 -0
  282. package/docs/directives/EclFileTitleDirective.html +18 -0
  283. package/docs/directives/EclFileTranslationDownloadDirective.html +18 -0
  284. package/docs/directives/EclFileUploadDirective.html +18 -0
  285. package/docs/directives/EclGalleryMediaDirective.html +18 -0
  286. package/docs/directives/EclGalleryPictureDirective.html +18 -0
  287. package/docs/directives/EclGalleryThumbnailDirective.html +18 -0
  288. package/docs/directives/EclHelpBlockDirective.html +18 -0
  289. package/docs/directives/EclHiddenDirective.html +18 -0
  290. package/docs/directives/EclIndicatorDirective.html +18 -0
  291. package/docs/directives/EclInpageNavigationListDirective.html +18 -0
  292. package/docs/directives/EclLabelDirective.html +18 -0
  293. package/docs/directives/EclLinkDirective.html +18 -0
  294. package/docs/directives/EclLinkIconContainerDirective.html +18 -0
  295. package/docs/directives/{EclIndicatorDirective-1.html → EclLinkIndicatorDirective.html} +20 -2
  296. package/docs/directives/EclLinkLabelDirective.html +18 -0
  297. package/docs/directives/EclListIllustrationIconDirective.html +18 -0
  298. package/docs/directives/EclListIllustrationImageDirective.html +18 -0
  299. package/docs/directives/EclListIllustrationPictureDirective.html +18 -0
  300. package/docs/directives/EclLoadingIndicatorLabelDirective.html +18 -0
  301. package/docs/directives/EclLoadingIndicatorOverlayDirective.html +18 -0
  302. package/docs/directives/EclMediaContainerIframeDirective.html +18 -0
  303. package/docs/directives/EclMediaContainerItemAudioDescriptionDirective.html +18 -0
  304. package/docs/directives/EclMediaContainerItemDirective.html +18 -0
  305. package/docs/directives/EclMediaContainerPictureDirective.html +18 -0
  306. package/docs/directives/EclMegaMenuContainerDirective.html +18 -0
  307. package/docs/directives/EclMegaMenuFeaturedImageDirective.html +18 -0
  308. package/docs/directives/EclMegaMenuFeaturedListDirective.html +18 -0
  309. package/docs/directives/EclMegaMenuFeaturedListItemDirective.html +18 -0
  310. package/docs/directives/EclMegaMenuFeaturedPictureDirective.html +18 -0
  311. package/docs/directives/EclMegaMenuListDirective.html +18 -0
  312. package/docs/directives/EclMegaMenuSpacerDirective.html +18 -0
  313. package/docs/directives/EclMegaMenuSublistDirective.html +18 -0
  314. package/docs/directives/EclModalBodyFixedContentDirective.html +18 -0
  315. package/docs/directives/EclModalCloseDirective.html +18 -0
  316. package/docs/directives/EclModalTriggerDirective.html +18 -0
  317. package/docs/directives/EclMultiselectOptionDirective.html +18 -0
  318. package/docs/directives/EclNavigationListImageDirective.html +18 -0
  319. package/docs/directives/EclNavigationListPictureDirective.html +18 -0
  320. package/docs/directives/EclNewsTickerIconDirective.html +18 -0
  321. package/docs/directives/EclNotificationTitleDirective.html +18 -0
  322. package/docs/directives/EclOrderedListDirective.html +18 -0
  323. package/docs/directives/EclOrderedListItemDirective.html +18 -0
  324. package/docs/directives/EclPageHeaderBackgroundImageDirective.html +18 -0
  325. package/docs/directives/EclPageHeaderBackgroundPictureDirective.html +18 -0
  326. package/docs/directives/EclPageHeaderDescriptionContainerDirective.html +18 -0
  327. package/docs/directives/EclPageHeaderDescriptionDirective.html +18 -0
  328. package/docs/directives/EclPageHeaderDescriptionPictureDirective.html +18 -0
  329. package/docs/directives/EclPageHeaderDescriptionThumbnailDirective.html +18 -0
  330. package/docs/directives/EclPageHeaderInfoDirective.html +18 -0
  331. package/docs/directives/EclPageHeaderMetaDirective.html +18 -0
  332. package/docs/directives/EclPageHeaderMetaItemDirective.html +18 -0
  333. package/docs/directives/EclPageHeaderTitleDirective.html +18 -0
  334. package/docs/directives/EclPaginationListDirective.html +18 -0
  335. package/docs/directives/EclPopoverContentDirective.html +18 -0
  336. package/docs/directives/EclPopoverToggleDirective.html +18 -0
  337. package/docs/directives/EclRadioDirective.html +18 -0
  338. package/docs/directives/EclRadioInputDirective.html +18 -0
  339. package/docs/directives/EclRangeDirective.html +20 -2
  340. package/docs/directives/EclSelectDirective.html +18 -0
  341. package/docs/directives/EclSeparatorDirective.html +18 -0
  342. package/docs/directives/EclSiteFooterColumnDirective.html +19 -1
  343. package/docs/directives/EclSiteFooterDescriptionDirective.html +18 -0
  344. package/docs/directives/EclSiteFooterLinkDirective.html +18 -0
  345. package/docs/directives/EclSiteFooterListDirective.html +18 -0
  346. package/docs/directives/EclSiteFooterListItemDirective.html +18 -0
  347. package/docs/directives/EclSiteFooterLogoDirective.html +18 -0
  348. package/docs/directives/EclSiteFooterLogoImageDirective.html +18 -0
  349. package/docs/directives/EclSiteFooterLogoItemDirective.html +18 -0
  350. package/docs/directives/EclSiteFooterLogoLinkDirective.html +18 -0
  351. package/docs/directives/EclSiteFooterLogoListDirective.html +18 -0
  352. package/docs/directives/EclSiteFooterPictureDirective.html +18 -0
  353. package/docs/directives/EclSiteFooterRowDirective.html +19 -1
  354. package/docs/directives/EclSiteFooterSectionDirective.html +359 -8
  355. package/docs/directives/{EclSiteFooterContentDirective.html → EclSiteFooterSocialMediaDirective.html} +28 -18
  356. package/docs/directives/EclSiteFooterTitleDirective.html +18 -0
  357. package/docs/directives/EclSiteFooterTitleLinkDirective.html +18 -0
  358. package/docs/directives/EclSiteHeaderCtaDirective.html +18 -0
  359. package/docs/directives/EclSiteHeaderCustomActionContentDirective.html +18 -0
  360. package/docs/directives/EclSiteHeaderCustomActionLinkDirective.html +18 -0
  361. package/docs/directives/EclSiteHeaderCustomActionTitleDirective.html +18 -0
  362. package/docs/directives/EclSiteHeaderImageDirective.html +18 -0
  363. package/docs/directives/EclSiteHeaderLinkDirective.html +18 -0
  364. package/docs/directives/EclSiteHeaderLoginDescriptionDirective.html +18 -0
  365. package/docs/directives/EclSiteHeaderLoginSeparatorDirective.html +18 -0
  366. package/docs/directives/EclSiteHeaderPictureDirective.html +18 -0
  367. package/docs/directives/EclSocialMediaFollowLinkDirective.html +18 -0
  368. package/docs/directives/EclSocialMediaShareLinkDirective.html +18 -0
  369. package/docs/directives/EclSplashPageLanguageItemDirective.html +18 -0
  370. package/docs/directives/EclSplashPageLanguageListDirective.html +18 -0
  371. package/docs/directives/EclSplashPageLogoImageDirective.html +18 -0
  372. package/docs/directives/EclSplashPageLogoLinkDirective.html +18 -0
  373. package/docs/directives/EclSplashPagePictureDirective.html +18 -0
  374. package/docs/directives/EclTableBodyDirective.html +18 -0
  375. package/docs/directives/EclTableCaptionDirective.html +18 -0
  376. package/docs/directives/EclTableCellDirective.html +18 -0
  377. package/docs/directives/EclTableCellGroupDirective.html +18 -0
  378. package/docs/directives/EclTableDirective.html +18 -0
  379. package/docs/directives/EclTableHeadDirective.html +18 -0
  380. package/docs/directives/EclTableHeaderDirective.html +18 -0
  381. package/docs/directives/EclTableResponsiveDirective.html +18 -0
  382. package/docs/directives/EclTableRowDirective.html +18 -0
  383. package/docs/directives/EclTagIconExternalDirective.html +18 -0
  384. package/docs/directives/EclTagSetDirective.html +18 -0
  385. package/docs/directives/EclTagSetItemDirective.html +18 -0
  386. package/docs/directives/EclTextAreaDirective.html +18 -0
  387. package/docs/directives/EclTextInputDirective.html +18 -0
  388. package/docs/directives/EclTimelineItemLabelDirective.html +18 -0
  389. package/docs/directives/EclTimelineItemTitleDirective.html +18 -0
  390. package/docs/directives/EclUnorderedListDirective.html +18 -0
  391. package/docs/directives/EclUnorderedListItemDirective.html +18 -0
  392. package/docs/index.html +20 -2
  393. package/docs/injectables/EclAreaDataService.html +18 -0
  394. package/docs/injectables/EclDefaultLanguageService.html +18 -0
  395. package/docs/injectables/EclHeaderMenuComunicationService.html +18 -0
  396. package/docs/injectables/EclInpageNavigationService.html +18 -0
  397. package/docs/injectables/EclMegaMenuDataService.html +18 -0
  398. package/docs/injectables/EclMegaMenuService.html +18 -0
  399. package/docs/injectables/EclRtlService.html +18 -0
  400. package/docs/injectables/EclThemeService.html +18 -0
  401. package/docs/injectables/EclUserDeviceService.html +18 -0
  402. package/docs/interfaces/EclBreadcrumb.html +18 -0
  403. package/docs/interfaces/EclCarouselItem.html +18 -0
  404. package/docs/interfaces/EclCategoryFilterItem.html +18 -0
  405. package/docs/interfaces/EclFileUpload.html +18 -0
  406. package/docs/interfaces/EclGalleryItem.html +18 -0
  407. package/docs/interfaces/EclLanguage.html +18 -0
  408. package/docs/interfaces/EclMegaMenuItem.html +18 -0
  409. package/docs/interfaces/EclMenuItem.html +18 -0
  410. package/docs/interfaces/EclModalResult.html +18 -0
  411. package/docs/interfaces/EclMultiselectOption.html +18 -0
  412. package/docs/interfaces/EclTab.html +18 -0
  413. package/docs/js/libs/bootstrap-native.js +1 -1
  414. package/docs/js/libs/jszip.min.js +13 -0
  415. package/docs/js/libs/svg-pan-zoom.min.js +3 -3
  416. package/docs/js/libs/tablesort.min.js +3 -3
  417. package/docs/js/libs/tablesort.number.min.js +3 -3
  418. package/docs/js/menu-wc.js +55 -39
  419. package/docs/js/menu-wc_es5.js +1 -1
  420. package/docs/js/routes/routes_index.js +1 -0
  421. package/docs/js/routes.js +15 -8
  422. package/docs/js/search/search_index.js +2 -2
  423. package/docs/license.html +20 -2
  424. package/docs/miscellaneous/enumerations.html +18 -0
  425. package/docs/miscellaneous/functions.html +280 -0
  426. package/docs/miscellaneous/variables.html +155 -72
  427. package/docs/modules/EclAccordionModule.html +18 -0
  428. package/docs/modules/EclAllModule.html +27 -360
  429. package/docs/modules/EclAppModule.html +18 -0
  430. package/docs/modules/EclBannerModule.html +18 -0
  431. package/docs/modules/EclBlockquoteModule.html +18 -0
  432. package/docs/modules/EclBreadcrumbModule.html +18 -0
  433. package/docs/modules/EclButtonModule.html +18 -0
  434. package/docs/modules/EclCardModule.html +18 -0
  435. package/docs/modules/EclCarouselModule.html +18 -0
  436. package/docs/modules/EclCategoryFilterModule.html +18 -0
  437. package/docs/modules/EclCheckboxModule.html +18 -0
  438. package/docs/modules/EclContentBlockModule.html +18 -0
  439. package/docs/modules/EclContentItemModule.html +18 -0
  440. package/docs/modules/EclDateBlockModule.html +18 -0
  441. package/docs/modules/EclDatePickerModule.html +18 -0
  442. package/docs/modules/EclExpandableModule.html +18 -0
  443. package/docs/modules/EclFactFiguresModule.html +18 -0
  444. package/docs/modules/EclFeaturedModule.html +18 -0
  445. package/docs/modules/EclFeedbackMessageModule.html +18 -0
  446. package/docs/modules/EclFileModule.html +18 -0
  447. package/docs/modules/EclFileUploadModule.html +18 -0
  448. package/docs/modules/EclFormGroupModule.html +18 -0
  449. package/docs/modules/EclFormLabelModule.html +18 -0
  450. package/docs/modules/EclGalleryModule.html +18 -0
  451. package/docs/modules/EclHelpBlockModule.html +18 -0
  452. package/docs/modules/EclHiddenModule.html +18 -0
  453. package/docs/modules/EclIconModule.html +18 -0
  454. package/docs/modules/EclInpageNavigationModule.html +18 -0
  455. package/docs/modules/EclLabelModule.html +18 -0
  456. package/docs/modules/EclLinkModule.html +24 -3
  457. package/docs/modules/EclListIllustrationModule.html +18 -0
  458. package/docs/modules/EclListModule.html +18 -0
  459. package/docs/modules/EclLoadingIndicatorModule.html +18 -0
  460. package/docs/modules/EclMediaContainerModule.html +18 -0
  461. package/docs/modules/EclMegaMenuModule.html +18 -0
  462. package/docs/modules/EclMenuModule.html +18 -0
  463. package/docs/modules/EclModalModule.html +18 -0
  464. package/docs/modules/EclMultiselectModule.html +18 -0
  465. package/docs/modules/EclNavigationListModule.html +18 -0
  466. package/docs/modules/EclNewsTickerModule.html +18 -0
  467. package/docs/modules/EclNotificationModule.html +18 -0
  468. package/docs/modules/EclPageHeaderModule.html +18 -0
  469. package/docs/modules/EclPaginationModule.html +18 -0
  470. package/docs/modules/EclPopoverModule.html +18 -0
  471. package/docs/modules/EclRadioModule.html +18 -0
  472. package/docs/modules/EclRangeModule.html +18 -0
  473. package/docs/modules/EclRatingFieldModule.html +18 -0
  474. package/docs/modules/EclSearchFormModule.html +18 -0
  475. package/docs/modules/EclSelectModule.html +18 -0
  476. package/docs/modules/EclSeparatorModule.html +18 -0
  477. package/docs/modules/EclSiteFooterModule.html +18 -0
  478. package/docs/modules/EclSiteHeaderModule.html +18 -0
  479. package/docs/modules/EclSocialMediaFollowModule.html +18 -0
  480. package/docs/modules/EclSocialMediaShareModule.html +18 -0
  481. package/docs/modules/EclSplashPageModule.html +18 -0
  482. package/docs/modules/EclStickyContainerModule.html +18 -0
  483. package/docs/modules/EclTableModule.html +18 -0
  484. package/docs/modules/EclTabsModule.html +18 -0
  485. package/docs/modules/EclTagModule.html +18 -0
  486. package/docs/modules/EclTextAreaModule.html +18 -0
  487. package/docs/modules/EclTextInputModule.html +18 -0
  488. package/docs/modules/EclTimelineModule.html +18 -0
  489. package/docs/modules.html +18 -0
  490. package/docs/overview.html +29 -1
  491. package/docs/pipes/BoldTextPipe.html +18 -0
  492. package/docs/properties.html +19 -1
  493. package/docs/routes.html +204 -0
  494. package/docs/template-playground/default-templates.json +192 -0
  495. package/docs/template-playground/hbs-render.service.ts +212 -0
  496. package/docs/template-playground/main.ts +9 -0
  497. package/docs/template-playground/template-editor.service.ts +173 -0
  498. package/docs/template-playground/template-playground.component.ts +614 -0
  499. package/docs/template-playground/template-playground.module.ts +29 -0
  500. package/docs/template-playground/zip-export.service.ts +86 -0
  501. package/docs/template-playground-app/app.js +1389 -0
  502. package/docs/template-playground-app/index.html +462 -0
  503. package/fesm2022/eui-ecl-components-ecl-accordion.mjs +14 -14
  504. package/fesm2022/eui-ecl-components-ecl-accordion.mjs.map +1 -1
  505. package/fesm2022/eui-ecl-components-ecl-app.mjs +7 -7
  506. package/fesm2022/eui-ecl-components-ecl-app.mjs.map +1 -1
  507. package/fesm2022/eui-ecl-components-ecl-banner.mjs +109 -81
  508. package/fesm2022/eui-ecl-components-ecl-banner.mjs.map +1 -1
  509. package/fesm2022/eui-ecl-components-ecl-blockquote.mjs +13 -13
  510. package/fesm2022/eui-ecl-components-ecl-blockquote.mjs.map +1 -1
  511. package/fesm2022/eui-ecl-components-ecl-breadcrumb.mjs +22 -23
  512. package/fesm2022/eui-ecl-components-ecl-breadcrumb.mjs.map +1 -1
  513. package/fesm2022/eui-ecl-components-ecl-button.mjs +18 -18
  514. package/fesm2022/eui-ecl-components-ecl-button.mjs.map +1 -1
  515. package/fesm2022/eui-ecl-components-ecl-card.mjs +16 -16
  516. package/fesm2022/eui-ecl-components-ecl-card.mjs.map +1 -1
  517. package/fesm2022/eui-ecl-components-ecl-carousel.mjs +53 -31
  518. package/fesm2022/eui-ecl-components-ecl-carousel.mjs.map +1 -1
  519. package/fesm2022/eui-ecl-components-ecl-category-filter.mjs +15 -15
  520. package/fesm2022/eui-ecl-components-ecl-category-filter.mjs.map +1 -1
  521. package/fesm2022/eui-ecl-components-ecl-checkbox.mjs +18 -18
  522. package/fesm2022/eui-ecl-components-ecl-checkbox.mjs.map +1 -1
  523. package/fesm2022/eui-ecl-components-ecl-content-block.mjs +58 -58
  524. package/fesm2022/eui-ecl-components-ecl-content-block.mjs.map +1 -1
  525. package/fesm2022/eui-ecl-components-ecl-content-item.mjs +13 -13
  526. package/fesm2022/eui-ecl-components-ecl-content-item.mjs.map +1 -1
  527. package/fesm2022/eui-ecl-components-ecl-date-block.mjs +7 -7
  528. package/fesm2022/eui-ecl-components-ecl-date-block.mjs.map +1 -1
  529. package/fesm2022/eui-ecl-components-ecl-date-picker.mjs +7 -7
  530. package/fesm2022/eui-ecl-components-ecl-date-picker.mjs.map +1 -1
  531. package/fesm2022/eui-ecl-components-ecl-expandable.mjs +10 -10
  532. package/fesm2022/eui-ecl-components-ecl-expandable.mjs.map +1 -1
  533. package/fesm2022/eui-ecl-components-ecl-fact-figures.mjs +22 -22
  534. package/fesm2022/eui-ecl-components-ecl-fact-figures.mjs.map +1 -1
  535. package/fesm2022/eui-ecl-components-ecl-featured.mjs +28 -26
  536. package/fesm2022/eui-ecl-components-ecl-featured.mjs.map +1 -1
  537. package/fesm2022/eui-ecl-components-ecl-feedback-message.mjs +7 -7
  538. package/fesm2022/eui-ecl-components-ecl-feedback-message.mjs.map +1 -1
  539. package/fesm2022/eui-ecl-components-ecl-file-upload.mjs +7 -7
  540. package/fesm2022/eui-ecl-components-ecl-file-upload.mjs.map +1 -1
  541. package/fesm2022/eui-ecl-components-ecl-file.mjs +41 -43
  542. package/fesm2022/eui-ecl-components-ecl-file.mjs.map +1 -1
  543. package/fesm2022/eui-ecl-components-ecl-form-group.mjs +7 -7
  544. package/fesm2022/eui-ecl-components-ecl-form-group.mjs.map +1 -1
  545. package/fesm2022/eui-ecl-components-ecl-form-label.mjs +10 -10
  546. package/fesm2022/eui-ecl-components-ecl-form-label.mjs.map +1 -1
  547. package/fesm2022/eui-ecl-components-ecl-gallery.mjs +32 -30
  548. package/fesm2022/eui-ecl-components-ecl-gallery.mjs.map +1 -1
  549. package/fesm2022/eui-ecl-components-ecl-help-block.mjs +7 -7
  550. package/fesm2022/eui-ecl-components-ecl-help-block.mjs.map +1 -1
  551. package/fesm2022/eui-ecl-components-ecl-icon.mjs +7 -7
  552. package/fesm2022/eui-ecl-components-ecl-icon.mjs.map +1 -1
  553. package/fesm2022/eui-ecl-components-ecl-inpage-navigation.mjs +20 -20
  554. package/fesm2022/eui-ecl-components-ecl-inpage-navigation.mjs.map +1 -1
  555. package/fesm2022/eui-ecl-components-ecl-label.mjs +7 -7
  556. package/fesm2022/eui-ecl-components-ecl-label.mjs.map +1 -1
  557. package/fesm2022/eui-ecl-components-ecl-link.mjs +21 -21
  558. package/fesm2022/eui-ecl-components-ecl-link.mjs.map +1 -1
  559. package/fesm2022/eui-ecl-components-ecl-list-illustration.mjs +19 -19
  560. package/fesm2022/eui-ecl-components-ecl-list-illustration.mjs.map +1 -1
  561. package/fesm2022/eui-ecl-components-ecl-list.mjs +33 -33
  562. package/fesm2022/eui-ecl-components-ecl-list.mjs.map +1 -1
  563. package/fesm2022/eui-ecl-components-ecl-loading-indicator.mjs +13 -13
  564. package/fesm2022/eui-ecl-components-ecl-loading-indicator.mjs.map +1 -1
  565. package/fesm2022/eui-ecl-components-ecl-media-container.mjs +22 -22
  566. package/fesm2022/eui-ecl-components-ecl-media-container.mjs.map +1 -1
  567. package/fesm2022/eui-ecl-components-ecl-mega-menu.mjs +66 -64
  568. package/fesm2022/eui-ecl-components-ecl-mega-menu.mjs.map +1 -1
  569. package/fesm2022/eui-ecl-components-ecl-menu.mjs +54 -37
  570. package/fesm2022/eui-ecl-components-ecl-menu.mjs.map +1 -1
  571. package/fesm2022/eui-ecl-components-ecl-modal.mjs +29 -29
  572. package/fesm2022/eui-ecl-components-ecl-modal.mjs.map +1 -1
  573. package/fesm2022/eui-ecl-components-ecl-multiselect.mjs +34 -34
  574. package/fesm2022/eui-ecl-components-ecl-multiselect.mjs.map +1 -1
  575. package/fesm2022/eui-ecl-components-ecl-navigation-list.mjs +16 -16
  576. package/fesm2022/eui-ecl-components-ecl-navigation-list.mjs.map +1 -1
  577. package/fesm2022/eui-ecl-components-ecl-news-ticker.mjs +17 -17
  578. package/fesm2022/eui-ecl-components-ecl-news-ticker.mjs.map +1 -1
  579. package/fesm2022/eui-ecl-components-ecl-notification.mjs +14 -14
  580. package/fesm2022/eui-ecl-components-ecl-notification.mjs.map +1 -1
  581. package/fesm2022/eui-ecl-components-ecl-page-header.mjs +37 -37
  582. package/fesm2022/eui-ecl-components-ecl-page-header.mjs.map +1 -1
  583. package/fesm2022/eui-ecl-components-ecl-pagination.mjs +27 -21
  584. package/fesm2022/eui-ecl-components-ecl-pagination.mjs.map +1 -1
  585. package/fesm2022/eui-ecl-components-ecl-popover.mjs +21 -21
  586. package/fesm2022/eui-ecl-components-ecl-popover.mjs.map +1 -1
  587. package/fesm2022/eui-ecl-components-ecl-radio.mjs +16 -16
  588. package/fesm2022/eui-ecl-components-ecl-radio.mjs.map +1 -1
  589. package/fesm2022/eui-ecl-components-ecl-range.mjs +14 -14
  590. package/fesm2022/eui-ecl-components-ecl-range.mjs.map +1 -1
  591. package/fesm2022/eui-ecl-components-ecl-rating-field.mjs +9 -9
  592. package/fesm2022/eui-ecl-components-ecl-rating-field.mjs.map +1 -1
  593. package/fesm2022/eui-ecl-components-ecl-search-form.mjs +10 -10
  594. package/fesm2022/eui-ecl-components-ecl-search-form.mjs.map +1 -1
  595. package/fesm2022/eui-ecl-components-ecl-select.mjs +14 -14
  596. package/fesm2022/eui-ecl-components-ecl-select.mjs.map +1 -1
  597. package/fesm2022/eui-ecl-components-ecl-separator.mjs +7 -7
  598. package/fesm2022/eui-ecl-components-ecl-separator.mjs.map +1 -1
  599. package/fesm2022/eui-ecl-components-ecl-site-footer.mjs +273 -204
  600. package/fesm2022/eui-ecl-components-ecl-site-footer.mjs.map +1 -1
  601. package/fesm2022/eui-ecl-components-ecl-site-header.mjs +100 -106
  602. package/fesm2022/eui-ecl-components-ecl-site-header.mjs.map +1 -1
  603. package/fesm2022/eui-ecl-components-ecl-social-media-follow.mjs +21 -19
  604. package/fesm2022/eui-ecl-components-ecl-social-media-follow.mjs.map +1 -1
  605. package/fesm2022/eui-ecl-components-ecl-social-media-share.mjs +16 -16
  606. package/fesm2022/eui-ecl-components-ecl-social-media-share.mjs.map +1 -1
  607. package/fesm2022/eui-ecl-components-ecl-splash-page.mjs +31 -31
  608. package/fesm2022/eui-ecl-components-ecl-splash-page.mjs.map +1 -1
  609. package/fesm2022/eui-ecl-components-ecl-sticky-container.mjs +7 -7
  610. package/fesm2022/eui-ecl-components-ecl-sticky-container.mjs.map +1 -1
  611. package/fesm2022/eui-ecl-components-ecl-table.mjs +36 -36
  612. package/fesm2022/eui-ecl-components-ecl-table.mjs.map +1 -1
  613. package/fesm2022/eui-ecl-components-ecl-tabs.mjs +26 -24
  614. package/fesm2022/eui-ecl-components-ecl-tabs.mjs.map +1 -1
  615. package/fesm2022/eui-ecl-components-ecl-tag.mjs +18 -18
  616. package/fesm2022/eui-ecl-components-ecl-tag.mjs.map +1 -1
  617. package/fesm2022/eui-ecl-components-ecl-text-area.mjs +7 -7
  618. package/fesm2022/eui-ecl-components-ecl-text-area.mjs.map +1 -1
  619. package/fesm2022/eui-ecl-components-ecl-text-input.mjs +7 -7
  620. package/fesm2022/eui-ecl-components-ecl-text-input.mjs.map +1 -1
  621. package/fesm2022/eui-ecl-components-ecl-timeline.mjs +22 -22
  622. package/fesm2022/eui-ecl-components-ecl-timeline.mjs.map +1 -1
  623. package/fesm2022/eui-ecl-core.mjs +165 -151
  624. package/fesm2022/eui-ecl-core.mjs.map +1 -1
  625. package/fesm2022/eui-ecl-shared.mjs +3 -3
  626. package/fesm2022/eui-ecl-shared.mjs.map +1 -1
  627. package/fesm2022/eui-ecl.mjs +184 -304
  628. package/fesm2022/eui-ecl.mjs.map +1 -1
  629. package/index.d.ts +1 -1
  630. package/package.json +53 -54
  631. package/docs/components/EclSiteFooterFixedContentECComponent.html +0 -571
@@ -29,10 +29,10 @@ class EclFeaturedComponent extends ECLBaseDirective {
29
29
  console.warn('"simple" variant is deprecated and will be removed in the next version (v20).');
30
30
  }
31
31
  }
32
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclFeaturedComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
33
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", type: EclFeaturedComponent, isStandalone: true, selector: "ecl-featured", inputs: { position: "position", variant: "variant" }, host: { properties: { "attr.role": "this.role", "class": "this.cssClasses" } }, usesInheritance: true, ngImport: i0, template: "<div class=\"ecl-featured-item__container\" [class.ecl-featured-item__container--right]=\"position === 'right'\">\n <ng-content></ng-content>\n</div>\n<ng-content select=\"[eclFeaturedItemFooter]\"></ng-content>" }); }
32
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclFeaturedComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
33
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.0-next.5", type: EclFeaturedComponent, isStandalone: true, selector: "ecl-featured", inputs: { position: "position", variant: "variant" }, host: { properties: { "attr.role": "this.role", "class": "this.cssClasses" } }, usesInheritance: true, ngImport: i0, template: "<div class=\"ecl-featured-item__container\" [class.ecl-featured-item__container--right]=\"position === 'right'\">\n <ng-content></ng-content>\n</div>\n<ng-content select=\"[eclFeaturedItemFooter]\"></ng-content>" }); }
34
34
  }
35
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclFeaturedComponent, decorators: [{
35
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclFeaturedComponent, decorators: [{
36
36
  type: Component,
37
37
  args: [{ selector: 'ecl-featured', template: "<div class=\"ecl-featured-item__container\" [class.ecl-featured-item__container--right]=\"position === 'right'\">\n <ng-content></ng-content>\n</div>\n<ng-content select=\"[eclFeaturedItemFooter]\"></ng-content>" }]
38
38
  }], propDecorators: { position: [{
@@ -64,10 +64,10 @@ class EclFeaturedItemComponent extends ECLBaseDirective {
64
64
  this.mediaContainer.class = 'ecl-featured-item__media_container';
65
65
  }
66
66
  }
67
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclFeaturedItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
68
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: EclFeaturedItemComponent, isStandalone: true, selector: "ecl-featured-item", inputs: { eclTitle: "eclTitle" }, host: { properties: { "class.ecl-featured-item__item": "this.className" } }, queries: [{ propertyName: "mediaContainer", first: true, predicate: EclMediaContainerComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "@if(hasTitle) {\n <div class=\"ecl-featured-item__title\">\n <span class=\"ecl-featured-item__title-content\">{{ eclTitle }}</span>\n </div>\n}\n<ng-content></ng-content>\n", styles: [":host{display:block}\n"] }); }
67
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclFeaturedItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
68
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.0-next.5", type: EclFeaturedItemComponent, isStandalone: true, selector: "ecl-featured-item", inputs: { eclTitle: "eclTitle" }, host: { properties: { "class.ecl-featured-item__item": "this.className" } }, queries: [{ propertyName: "mediaContainer", first: true, predicate: EclMediaContainerComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "@if(hasTitle) {\n <div class=\"ecl-featured-item__title\">\n <span class=\"ecl-featured-item__title-content\">{{ eclTitle }}</span>\n </div>\n}\n<ng-content></ng-content>\n", styles: [":host{display:block}\n"] }); }
69
69
  }
70
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclFeaturedItemComponent, decorators: [{
70
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclFeaturedItemComponent, decorators: [{
71
71
  type: Component,
72
72
  args: [{ selector: 'ecl-featured-item', template: "@if(hasTitle) {\n <div class=\"ecl-featured-item__title\">\n <span class=\"ecl-featured-item__title-content\">{{ eclTitle }}</span>\n </div>\n}\n<ng-content></ng-content>\n", styles: [":host{display:block}\n"] }]
73
73
  }], propDecorators: { eclTitle: [{
@@ -89,10 +89,10 @@ class EclFeaturedItemDescriptionComponent extends ECLBaseDirective {
89
89
  super(...arguments);
90
90
  this.className = true;
91
91
  }
92
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclFeaturedItemDescriptionComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
93
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", type: EclFeaturedItemDescriptionComponent, isStandalone: true, selector: "ecl-featured-item-description", host: { properties: { "class.ecl-featured-item__description": "this.className" } }, usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"] }); }
92
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclFeaturedItemDescriptionComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
93
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.0-next.5", type: EclFeaturedItemDescriptionComponent, isStandalone: true, selector: "ecl-featured-item-description", host: { properties: { "class.ecl-featured-item__description": "this.className" } }, usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"] }); }
94
94
  }
95
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclFeaturedItemDescriptionComponent, decorators: [{
95
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclFeaturedItemDescriptionComponent, decorators: [{
96
96
  type: Component,
97
97
  args: [{ selector: 'ecl-featured-item-description', template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"] }]
98
98
  }], propDecorators: { className: [{
@@ -108,10 +108,10 @@ class EclFeaturedItemFooterComponent extends ECLBaseDirective {
108
108
  super(...arguments);
109
109
  this.className = true;
110
110
  }
111
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclFeaturedItemFooterComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
112
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", type: EclFeaturedItemFooterComponent, isStandalone: true, selector: "[eclFeaturedItemFooter]", host: { properties: { "class.ecl-featured-item__footer": "this.className" } }, usesInheritance: true, ngImport: i0, template: "<div class=\"ecl-featured-item__footer-content\">\n <div class=\"ecl-featured-item__footer-description\">\n <ng-content></ng-content>\n </div>\n <ng-content select=\"[eclFeaturedItemFooterLink]\"></ng-content>\n</div>\n<ng-content select=\"[eclFeaturedItemFooterPicture]\"></ng-content>" }); }
111
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclFeaturedItemFooterComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
112
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.0-next.5", type: EclFeaturedItemFooterComponent, isStandalone: true, selector: "[eclFeaturedItemFooter]", host: { properties: { "class.ecl-featured-item__footer": "this.className" } }, usesInheritance: true, ngImport: i0, template: "<div class=\"ecl-featured-item__footer-content\">\n <div class=\"ecl-featured-item__footer-description\">\n <ng-content></ng-content>\n </div>\n <ng-content select=\"[eclFeaturedItemFooterLink]\"></ng-content>\n</div>\n<ng-content select=\"[eclFeaturedItemFooterPicture]\"></ng-content>" }); }
113
113
  }
114
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclFeaturedItemFooterComponent, decorators: [{
114
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclFeaturedItemFooterComponent, decorators: [{
115
115
  type: Component,
116
116
  args: [{ selector: '[eclFeaturedItemFooter]', template: "<div class=\"ecl-featured-item__footer-content\">\n <div class=\"ecl-featured-item__footer-description\">\n <ng-content></ng-content>\n </div>\n <ng-content select=\"[eclFeaturedItemFooterLink]\"></ng-content>\n</div>\n<ng-content select=\"[eclFeaturedItemFooterPicture]\"></ng-content>" }]
117
117
  }], propDecorators: { className: [{
@@ -127,10 +127,10 @@ class EclFeaturedItemLinkDirective extends ECLBaseDirective {
127
127
  super(...arguments);
128
128
  this.className = true;
129
129
  }
130
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclFeaturedItemLinkDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
131
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.6", type: EclFeaturedItemLinkDirective, isStandalone: true, selector: "[eclFeaturedItemLink]", host: { properties: { "class.ecl-featured-item__link": "this.className" } }, usesInheritance: true, ngImport: i0 }); }
130
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclFeaturedItemLinkDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
131
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.0-next.5", type: EclFeaturedItemLinkDirective, isStandalone: true, selector: "[eclFeaturedItemLink]", host: { properties: { "class.ecl-featured-item__link": "this.className" } }, usesInheritance: true, ngImport: i0 }); }
132
132
  }
133
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclFeaturedItemLinkDirective, decorators: [{
133
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclFeaturedItemLinkDirective, decorators: [{
134
134
  type: Directive,
135
135
  args: [{
136
136
  selector: '[eclFeaturedItemLink]',
@@ -147,10 +147,10 @@ class EclFeaturedItemFooterLinkDirective extends ECLBaseDirective {
147
147
  super(...arguments);
148
148
  this.className = true;
149
149
  }
150
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclFeaturedItemFooterLinkDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
151
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.6", type: EclFeaturedItemFooterLinkDirective, isStandalone: true, selector: "[eclFeaturedItemFooterLink]", host: { properties: { "class.ecl-featured-item__footer-link": "this.className" } }, usesInheritance: true, ngImport: i0 }); }
150
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclFeaturedItemFooterLinkDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
151
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.0-next.5", type: EclFeaturedItemFooterLinkDirective, isStandalone: true, selector: "[eclFeaturedItemFooterLink]", host: { properties: { "class.ecl-featured-item__footer-link": "this.className" } }, usesInheritance: true, ngImport: i0 }); }
152
152
  }
153
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclFeaturedItemFooterLinkDirective, decorators: [{
153
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclFeaturedItemFooterLinkDirective, decorators: [{
154
154
  type: Directive,
155
155
  args: [{
156
156
  selector: '[eclFeaturedItemFooterLink]',
@@ -166,10 +166,10 @@ class EclFeaturedItemFooterPictureDirective extends ECLBaseDirective {
166
166
  get cssClasses() {
167
167
  return [super.getCssClasses('ecl-picture ecl-featured-item__footer-picture')].join(' ').trim();
168
168
  }
169
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclFeaturedItemFooterPictureDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
170
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.6", type: EclFeaturedItemFooterPictureDirective, isStandalone: true, selector: "picture[eclFeaturedItemFooterPicture]", host: { properties: { "class": "this.cssClasses" } }, usesInheritance: true, ngImport: i0 }); }
169
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclFeaturedItemFooterPictureDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
170
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.0-next.5", type: EclFeaturedItemFooterPictureDirective, isStandalone: true, selector: "picture[eclFeaturedItemFooterPicture]", host: { properties: { "class": "this.cssClasses" } }, usesInheritance: true, ngImport: i0 }); }
171
171
  }
172
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclFeaturedItemFooterPictureDirective, decorators: [{
172
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclFeaturedItemFooterPictureDirective, decorators: [{
173
173
  type: Directive,
174
174
  args: [{
175
175
  selector: 'picture[eclFeaturedItemFooterPicture]',
@@ -195,8 +195,8 @@ const COMPONENTS = [
195
195
  * @deprecated Use {@link EUI_ECL_FEATURED} instead.
196
196
  */
197
197
  class EclFeaturedModule {
198
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclFeaturedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
199
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: EclFeaturedModule, imports: [EclFeaturedComponent,
198
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclFeaturedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
199
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclFeaturedModule, imports: [EclFeaturedComponent,
200
200
  EclFeaturedItemComponent,
201
201
  EclFeaturedItemLinkDirective,
202
202
  EclFeaturedItemDescriptionComponent,
@@ -209,9 +209,9 @@ class EclFeaturedModule {
209
209
  EclFeaturedItemFooterPictureDirective,
210
210
  EclFeaturedItemFooterLinkDirective,
211
211
  EclFeaturedItemFooterComponent] }); }
212
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclFeaturedModule }); }
212
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclFeaturedModule }); }
213
213
  }
214
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclFeaturedModule, decorators: [{
214
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclFeaturedModule, decorators: [{
215
215
  type: NgModule,
216
216
  args: [{
217
217
  imports: [...COMPONENTS],
@@ -222,9 +222,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
222
222
  const EUI_ECL_FEATURED = [
223
223
  EclFeaturedComponent,
224
224
  EclFeaturedItemComponent,
225
+ EclFeaturedItemLinkDirective,
225
226
  EclFeaturedItemDescriptionComponent,
227
+ EclFeaturedItemFooterPictureDirective,
228
+ EclFeaturedItemFooterLinkDirective,
226
229
  EclFeaturedItemFooterComponent,
227
- EclFeaturedItemLinkDirective,
228
230
  ];
229
231
 
230
232
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"eui-ecl-components-ecl-featured.mjs","sources":["../../components/ecl-featured/ecl-featured.component.ts","../../components/ecl-featured/ecl-featured.component.html","../../components/ecl-featured/ecl-featured-item.component.ts","../../components/ecl-featured/ecl-featured-item.component.html","../../components/ecl-featured/ecl-featured-item-description.component.ts","../../components/ecl-featured/ecl-featured-item-description.component.html","../../components/ecl-featured/ecl-featured-item-footer.component.ts","../../components/ecl-featured/ecl-featured-item-footer.component.html","../../components/ecl-featured/ecl-featured-item-link.directive.ts","../../components/ecl-featured/ecl-featured.module.ts","../../components/ecl-featured/index.ts","../../components/ecl-featured/eui-ecl-components-ecl-featured.ts"],"sourcesContent":["import { Component, HostBinding, Input, OnInit } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Custom ECL component, that adds visual support to a piece of content. Uses <ecl-media-container>.\n */\n@Component({\n selector: 'ecl-featured',\n templateUrl: './ecl-featured.component.html',\n})\nexport class EclFeaturedComponent extends ECLBaseDirective implements OnInit {\n /**\n * The position of the image in the component. Can be 'left' or 'right'. The default value is 'left'.\n */\n @Input() position: 'left' | 'right' = 'left';\n // TODO: variant 'simple' is deprecated and will be removed in v20\n /**\n * 'highligh' varian, applies class to make more stand out appearance of the component.\n */\n @Input() variant: 'highlight' | 'simple';\n\n @HostBinding('attr.role') role = 'article';\n\n /**\n * Adds specific classes to the component.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [\n super.getCssClasses('ecl-featured-item'),\n this.variant ?`ecl-featured-item--${this.variant}`: '',\n ].join(' ').trim();\n }\n\n ngOnInit(): void {\n if (this.variant === 'simple') {\n console.warn('\"simple\" variant is deprecated and will be removed in the next version (v20).');\n }\n }\n}\n","<div class=\"ecl-featured-item__container\" [class.ecl-featured-item__container--right]=\"position === 'right'\">\n <ng-content></ng-content>\n</div>\n<ng-content select=\"[eclFeaturedItemFooter]\"></ng-content>","import { AfterContentInit, Component, ContentChild, HostBinding, Input } from '@angular/core';\nimport { EclMediaContainerComponent } from '@eui/ecl/components/ecl-media-container';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Container for the text part - title and description of the <ecl-featured> component.\n */\n@Component({\n selector: 'ecl-featured-item',\n templateUrl: './ecl-featured-item.component.html',\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n})\nexport class EclFeaturedItemComponent extends ECLBaseDirective implements AfterContentInit {\n @Input() eclTitle = '';\n @ContentChild(EclMediaContainerComponent) mediaContainer: EclMediaContainerComponent;\n @HostBinding('class.ecl-featured-item__item') className = true;\n\n get hasTitle(): boolean {\n return this.eclTitle !== '';\n }\n\n ngAfterContentInit(): void {\n if (this.mediaContainer) {\n this.mediaContainer.class = 'ecl-featured-item__media_container';\n }\n }\n}\n","@if(hasTitle) {\n <div class=\"ecl-featured-item__title\">\n <span class=\"ecl-featured-item__title-content\">{{ eclTitle }}</span>\n </div>\n}\n<ng-content></ng-content>\n","import { Component, HostBinding } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Applies specific additional class to style <ecl-featured-item-description> component, as a part of the\n * <ecl-featured> component.\n */\n@Component({\n selector: 'ecl-featured-item-description',\n templateUrl: './ecl-featured-item-description.component.html',\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n})\nexport class EclFeaturedItemDescriptionComponent extends ECLBaseDirective {\n @HostBinding('class.ecl-featured-item__description') className = true;\n}\n","<ng-content></ng-content>\n","import { Component, HostBinding } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Applies specific additional class to style <ecl-featured-item-footer> component.\n */\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: '[eclFeaturedItemFooter]',\n templateUrl: './ecl-featured-item-footer.component.html',\n})\nexport class EclFeaturedItemFooterComponent extends ECLBaseDirective {\n @HostBinding('class.ecl-featured-item__footer') className = true;\n}\n","<div class=\"ecl-featured-item__footer-content\">\n <div class=\"ecl-featured-item__footer-description\">\n <ng-content></ng-content>\n </div>\n <ng-content select=\"[eclFeaturedItemFooterLink]\"></ng-content>\n</div>\n<ng-content select=\"[eclFeaturedItemFooterPicture]\"></ng-content>","import { Directive, HostBinding } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Applies specific additional class for the eclLink directive, used in <ecl-featured-item> construction.\n */\n@Directive({\n selector: '[eclFeaturedItemLink]',\n})\nexport class EclFeaturedItemLinkDirective extends ECLBaseDirective {\n @HostBinding('class.ecl-featured-item__link') className = true;\n}\n\n/**\n * Applies specific additional class for the eclLink directive, used in <ecl-featured-item-footer>.\n */\n@Directive({\n selector: '[eclFeaturedItemFooterLink]',\n})\nexport class EclFeaturedItemFooterLinkDirective extends ECLBaseDirective {\n @HostBinding('class.ecl-featured-item__footer-link') className = true;\n}\n\n/**\n * Applies specific additional class for the <picture> element, used in <ecl-featured-item-footer>.\n */\n@Directive({\n selector: 'picture[eclFeaturedItemFooterPicture]',\n})\nexport class EclFeaturedItemFooterPictureDirective extends ECLBaseDirective {\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-picture ecl-featured-item__footer-picture')].join(' ').trim();\n }\n}\n","import { NgModule } from '@angular/core';\nimport { EclFeaturedComponent } from './ecl-featured.component';\nimport { EclFeaturedItemComponent } from './ecl-featured-item.component';\nimport { EclFeaturedItemLinkDirective, EclFeaturedItemFooterPictureDirective, EclFeaturedItemFooterLinkDirective } from './ecl-featured-item-link.directive';\nimport { EclFeaturedItemDescriptionComponent } from './ecl-featured-item-description.component';\nimport { EclFeaturedItemFooterComponent } from './ecl-featured-item-footer.component';\n\nconst COMPONENTS = [\n EclFeaturedComponent,\n EclFeaturedItemComponent,\n EclFeaturedItemLinkDirective,\n EclFeaturedItemDescriptionComponent,\n EclFeaturedItemFooterPictureDirective,\n EclFeaturedItemFooterLinkDirective,\n EclFeaturedItemFooterComponent,\n];\n\n/**\n * @description\n * Module that provides the EclFeatured component and its dependencies.\n *\n * @deprecated Use {@link EUI_ECL_FEATURED} instead.\n */\n@NgModule({\n imports: [...COMPONENTS],\n exports: [...COMPONENTS],\n})\nexport class EclFeaturedModule {}","import { EclFeaturedComponent } from './ecl-featured.component';\nimport { EclFeaturedItemComponent } from './ecl-featured-item.component';\nimport { EclFeaturedItemDescriptionComponent } from './ecl-featured-item-description.component';\nimport { EclFeaturedItemFooterComponent } from './ecl-featured-item-footer.component';\nimport { EclFeaturedItemLinkDirective } from './ecl-featured-item-link.directive';\n\nexport * from './ecl-featured.module';\nexport * from './ecl-featured.component';\nexport * from './ecl-featured-item.component';\nexport * from './ecl-featured-item-description.component';\nexport * from './ecl-featured-item-footer.component';\nexport * from './ecl-featured-item-link.directive';\n\nexport const EUI_ECL_FEATURED = [\n EclFeaturedComponent,\n EclFeaturedItemComponent,\n EclFeaturedItemDescriptionComponent,\n EclFeaturedItemFooterComponent,\n EclFeaturedItemLinkDirective,\n] as const;","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAGA;;AAEG;AAKG,MAAO,oBAAqB,SAAQ,gBAAgB,CAAA;AAJ1D,IAAA,WAAA,GAAA;;AAKI;;AAEG;QACM,IAAA,CAAA,QAAQ,GAAqB,MAAM;QAOlB,IAAA,CAAA,IAAI,GAAG,SAAS;AAkB7C,IAAA;AAhBG;;AAEG;AACH,IAAA,IACI,UAAU,GAAA;QACV,OAAO;AACH,YAAA,KAAK,CAAC,aAAa,CAAC,mBAAmB,CAAC;AACxC,YAAA,IAAI,CAAC,OAAO,GAAE,CAAA,mBAAA,EAAsB,IAAI,CAAC,OAAO,CAAA,CAAE,GAAE,EAAE;AACzD,SAAA,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE;IACtB;IAEA,QAAQ,GAAA;AACJ,QAAA,IAAI,IAAI,CAAC,OAAO,KAAK,QAAQ,EAAE;AAC3B,YAAA,OAAO,CAAC,IAAI,CAAC,+EAA+E,CAAC;QACjG;IACJ;8GA5BS,oBAAoB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAApB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,oBAAoB,qOCVjC,wNAG0D,EAAA,CAAA,CAAA;;2FDO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,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAjB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,YAnB5B,oBAAoB;YACpB,wBAAwB;YACxB,4BAA4B;YAC5B,mCAAmC;YACnC,qCAAqC;YACrC,kCAAkC;AAClC,YAAA,8BAA8B,aAN9B,oBAAoB;YACpB,wBAAwB;YACxB,4BAA4B;YAC5B,mCAAmC;YACnC,qCAAqC;YACrC,kCAAkC;YAClC,8BAA8B,CAAA,EAAA,CAAA,CAAA;+GAanB,iBAAiB,EAAA,CAAA,CAAA;;2FAAjB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAJ7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AACxB,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AACzB,iBAAA;;;ACbM,MAAM,gBAAgB,GAAG;IAC9B,oBAAoB;IACpB,wBAAwB;IACxB,mCAAmC;IACnC,8BAA8B;IAC9B,4BAA4B;;;AClB9B;;AAEG;;;;"}
1
+ {"version":3,"file":"eui-ecl-components-ecl-featured.mjs","sources":["../../components/ecl-featured/ecl-featured.component.ts","../../components/ecl-featured/ecl-featured.component.html","../../components/ecl-featured/ecl-featured-item.component.ts","../../components/ecl-featured/ecl-featured-item.component.html","../../components/ecl-featured/ecl-featured-item-description.component.ts","../../components/ecl-featured/ecl-featured-item-description.component.html","../../components/ecl-featured/ecl-featured-item-footer.component.ts","../../components/ecl-featured/ecl-featured-item-footer.component.html","../../components/ecl-featured/ecl-featured-item-link.directive.ts","../../components/ecl-featured/ecl-featured.module.ts","../../components/ecl-featured/index.ts","../../components/ecl-featured/eui-ecl-components-ecl-featured.ts"],"sourcesContent":["import { Component, HostBinding, Input, OnInit } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Custom ECL component, that adds visual support to a piece of content. Uses <ecl-media-container>.\n */\n@Component({\n selector: 'ecl-featured',\n templateUrl: './ecl-featured.component.html',\n})\nexport class EclFeaturedComponent extends ECLBaseDirective implements OnInit {\n /**\n * The position of the image in the component. Can be 'left' or 'right'. The default value is 'left'.\n */\n @Input() position: 'left' | 'right' = 'left';\n // TODO: variant 'simple' is deprecated and will be removed in v20\n /**\n * 'highligh' varian, applies class to make more stand out appearance of the component.\n */\n @Input() variant: 'highlight' | 'simple';\n\n @HostBinding('attr.role') role = 'article';\n\n /**\n * Adds specific classes to the component.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [\n super.getCssClasses('ecl-featured-item'),\n this.variant ?`ecl-featured-item--${this.variant}`: '',\n ].join(' ').trim();\n }\n\n ngOnInit(): void {\n if (this.variant === 'simple') {\n console.warn('\"simple\" variant is deprecated and will be removed in the next version (v20).');\n }\n }\n}\n","<div class=\"ecl-featured-item__container\" [class.ecl-featured-item__container--right]=\"position === 'right'\">\n <ng-content></ng-content>\n</div>\n<ng-content select=\"[eclFeaturedItemFooter]\"></ng-content>","import { AfterContentInit, Component, ContentChild, HostBinding, Input } from '@angular/core';\nimport { EclMediaContainerComponent } from '@eui/ecl/components/ecl-media-container';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Container for the text part - title and description of the <ecl-featured> component.\n */\n@Component({\n selector: 'ecl-featured-item',\n templateUrl: './ecl-featured-item.component.html',\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n})\nexport class EclFeaturedItemComponent extends ECLBaseDirective implements AfterContentInit {\n @Input() eclTitle = '';\n @ContentChild(EclMediaContainerComponent) mediaContainer: EclMediaContainerComponent;\n @HostBinding('class.ecl-featured-item__item') className = true;\n\n get hasTitle(): boolean {\n return this.eclTitle !== '';\n }\n\n ngAfterContentInit(): void {\n if (this.mediaContainer) {\n this.mediaContainer.class = 'ecl-featured-item__media_container';\n }\n }\n}\n","@if(hasTitle) {\n <div class=\"ecl-featured-item__title\">\n <span class=\"ecl-featured-item__title-content\">{{ eclTitle }}</span>\n </div>\n}\n<ng-content></ng-content>\n","import { Component, HostBinding } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Applies specific additional class to style <ecl-featured-item-description> component, as a part of the\n * <ecl-featured> component.\n */\n@Component({\n selector: 'ecl-featured-item-description',\n templateUrl: './ecl-featured-item-description.component.html',\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n})\nexport class EclFeaturedItemDescriptionComponent extends ECLBaseDirective {\n @HostBinding('class.ecl-featured-item__description') className = true;\n}\n","<ng-content></ng-content>\n","import { Component, HostBinding } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Applies specific additional class to style <ecl-featured-item-footer> component.\n */\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: '[eclFeaturedItemFooter]',\n templateUrl: './ecl-featured-item-footer.component.html',\n})\nexport class EclFeaturedItemFooterComponent extends ECLBaseDirective {\n @HostBinding('class.ecl-featured-item__footer') className = true;\n}\n","<div class=\"ecl-featured-item__footer-content\">\n <div class=\"ecl-featured-item__footer-description\">\n <ng-content></ng-content>\n </div>\n <ng-content select=\"[eclFeaturedItemFooterLink]\"></ng-content>\n</div>\n<ng-content select=\"[eclFeaturedItemFooterPicture]\"></ng-content>","import { Directive, HostBinding } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Applies specific additional class for the eclLink directive, used in <ecl-featured-item> construction.\n */\n@Directive({\n selector: '[eclFeaturedItemLink]',\n})\nexport class EclFeaturedItemLinkDirective extends ECLBaseDirective {\n @HostBinding('class.ecl-featured-item__link') className = true;\n}\n\n/**\n * Applies specific additional class for the eclLink directive, used in <ecl-featured-item-footer>.\n */\n@Directive({\n selector: '[eclFeaturedItemFooterLink]',\n})\nexport class EclFeaturedItemFooterLinkDirective extends ECLBaseDirective {\n @HostBinding('class.ecl-featured-item__footer-link') className = true;\n}\n\n/**\n * Applies specific additional class for the <picture> element, used in <ecl-featured-item-footer>.\n */\n@Directive({\n selector: 'picture[eclFeaturedItemFooterPicture]',\n})\nexport class EclFeaturedItemFooterPictureDirective extends ECLBaseDirective {\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-picture ecl-featured-item__footer-picture')].join(' ').trim();\n }\n}\n","import { NgModule } from '@angular/core';\nimport { EclFeaturedComponent } from './ecl-featured.component';\nimport { EclFeaturedItemComponent } from './ecl-featured-item.component';\nimport { EclFeaturedItemLinkDirective, EclFeaturedItemFooterPictureDirective, EclFeaturedItemFooterLinkDirective } from './ecl-featured-item-link.directive';\nimport { EclFeaturedItemDescriptionComponent } from './ecl-featured-item-description.component';\nimport { EclFeaturedItemFooterComponent } from './ecl-featured-item-footer.component';\n\nconst COMPONENTS = [\n EclFeaturedComponent,\n EclFeaturedItemComponent,\n EclFeaturedItemLinkDirective,\n EclFeaturedItemDescriptionComponent,\n EclFeaturedItemFooterPictureDirective,\n EclFeaturedItemFooterLinkDirective,\n EclFeaturedItemFooterComponent,\n];\n\n/**\n * @description\n * Module that provides the EclFeatured component and its dependencies.\n *\n * @deprecated Use {@link EUI_ECL_FEATURED} instead.\n */\n@NgModule({\n imports: [...COMPONENTS],\n exports: [...COMPONENTS],\n})\nexport class EclFeaturedModule {}","import { EclFeaturedComponent } from './ecl-featured.component';\nimport { EclFeaturedItemComponent } from './ecl-featured-item.component';\nimport { EclFeaturedItemDescriptionComponent } from './ecl-featured-item-description.component';\nimport { EclFeaturedItemFooterComponent } from './ecl-featured-item-footer.component';\nimport { EclFeaturedItemFooterLinkDirective, EclFeaturedItemFooterPictureDirective, EclFeaturedItemLinkDirective } from './ecl-featured-item-link.directive';\n\nexport * from './ecl-featured.module';\nexport * from './ecl-featured.component';\nexport * from './ecl-featured-item.component';\nexport * from './ecl-featured-item-description.component';\nexport * from './ecl-featured-item-footer.component';\nexport * from './ecl-featured-item-link.directive';\n\nexport const EUI_ECL_FEATURED = [\n EclFeaturedComponent,\n EclFeaturedItemComponent,\n EclFeaturedItemLinkDirective,\n EclFeaturedItemDescriptionComponent,\n EclFeaturedItemFooterPictureDirective,\n EclFeaturedItemFooterLinkDirective,\n EclFeaturedItemFooterComponent,\n] as const;","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAGA;;AAEG;AAKG,MAAO,oBAAqB,SAAQ,gBAAgB,CAAA;AAJ1D,IAAA,WAAA,GAAA;;AAKI;;AAEG;QACM,IAAA,CAAA,QAAQ,GAAqB,MAAM;QAOlB,IAAA,CAAA,IAAI,GAAG,SAAS;AAkB7C,IAAA;AAhBG;;AAEG;AACH,IAAA,IACI,UAAU,GAAA;QACV,OAAO;AACH,YAAA,KAAK,CAAC,aAAa,CAAC,mBAAmB,CAAC;AACxC,YAAA,IAAI,CAAC,OAAO,GAAE,CAAA,mBAAA,EAAsB,IAAI,CAAC,OAAO,CAAA,CAAE,GAAE,EAAE;AACzD,SAAA,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE;IACtB;IAEA,QAAQ,GAAA;AACJ,QAAA,IAAI,IAAI,CAAC,OAAO,KAAK,QAAQ,EAAE;AAC3B,YAAA,OAAO,CAAC,IAAI,CAAC,+EAA+E,CAAC;QACjG;IACJ;qHA5BS,oBAAoB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAApB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,eAAA,EAAA,IAAA,EAAA,oBAAoB,qOCVjC,wNAG0D,EAAA,CAAA,CAAA;;kGDO7C,oBAAoB,EAAA,UAAA,EAAA,CAAA;kB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AAA,EAAA,CAAA,CAAA;AAAjB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,eAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,YAnB5B,oBAAoB;YACpB,wBAAwB;YACxB,4BAA4B;YAC5B,mCAAmC;YACnC,qCAAqC;YACrC,kCAAkC;AAClC,YAAA,8BAA8B,aAN9B,oBAAoB;YACpB,wBAAwB;YACxB,4BAA4B;YAC5B,mCAAmC;YACnC,qCAAqC;YACrC,kCAAkC;YAClC,8BAA8B,CAAA,EAAA,CAAA,CAAA;sHAanB,iBAAiB,EAAA,CAAA,CAAA;;kGAAjB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAJ7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AACxB,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AACzB,iBAAA;;;ACbM,MAAM,gBAAgB,GAAG;IAC5B,oBAAoB;IACpB,wBAAwB;IACxB,4BAA4B;IAC5B,mCAAmC;IACnC,qCAAqC;IACrC,kCAAkC;IAClC,8BAA8B;;;ACpBlC;;AAEG;;;;"}
@@ -29,10 +29,10 @@ class EclFeedbackMessageDirective extends ECLBaseDirective {
29
29
  });
30
30
  }
31
31
  }
32
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclFeedbackMessageDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
33
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.6", type: EclFeedbackMessageDirective, isStandalone: true, selector: "[eclFeedbackMessage]", host: { properties: { "class": "this.cssClasses" } }, queries: [{ propertyName: "eclIconComponents", predicate: i0.forwardRef(() => EclIconComponent) }], usesInheritance: true, ngImport: i0 }); }
32
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclFeedbackMessageDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
33
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.0-next.5", type: EclFeedbackMessageDirective, isStandalone: true, selector: "[eclFeedbackMessage]", host: { properties: { "class": "this.cssClasses" } }, queries: [{ propertyName: "eclIconComponents", predicate: i0.forwardRef(() => EclIconComponent) }], usesInheritance: true, ngImport: i0 }); }
34
34
  }
35
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclFeedbackMessageDirective, decorators: [{
35
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclFeedbackMessageDirective, decorators: [{
36
36
  type: Directive,
37
37
  args: [{
38
38
  selector: '[eclFeedbackMessage]',
@@ -51,11 +51,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
51
51
  * @deprecated Use {@link EUI_ECL_FEEDBACK_MESSAGE} instead.
52
52
  */
53
53
  class EclFeedbackMessageModule {
54
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclFeedbackMessageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
55
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: EclFeedbackMessageModule, imports: [EclFeedbackMessageDirective], exports: [EclFeedbackMessageDirective] }); }
56
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclFeedbackMessageModule }); }
54
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclFeedbackMessageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
55
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclFeedbackMessageModule, imports: [EclFeedbackMessageDirective], exports: [EclFeedbackMessageDirective] }); }
56
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclFeedbackMessageModule }); }
57
57
  }
58
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclFeedbackMessageModule, decorators: [{
58
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclFeedbackMessageModule, decorators: [{
59
59
  type: NgModule,
60
60
  args: [{
61
61
  imports: [EclFeedbackMessageDirective],
@@ -1 +1 @@
1
- {"version":3,"file":"eui-ecl-components-ecl-feedback-message.mjs","sources":["../../components/ecl-feedback-message/ecl-feedback-message.directive.ts","../../components/ecl-feedback-message/ecl-feedback-message.module.ts","../../components/ecl-feedback-message/index.ts","../../components/ecl-feedback-message/eui-ecl-components-ecl-feedback-message.ts"],"sourcesContent":["import { AfterContentInit, ContentChildren, Directive, forwardRef, HostBinding, QueryList } from '@angular/core';\nimport { EclIconComponent } from '@eui/ecl/components/ecl-icon';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Directive that renders a feedback message following the ECL design system.\n * It automatically styles its content and nested icon components accordingly.\n *\n * Should be applied to a container element that wraps a feedback message.\n */\n@Directive({\n selector: '[eclFeedbackMessage]',\n})\nexport class EclFeedbackMessageDirective extends ECLBaseDirective implements AfterContentInit {\n /**\n * Applies the appropriate ECL feedback message CSS class to the host element.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-feedback-message')].join(' ').trim();\n }\n\n /**\n * Queries all nested `EclIconComponent` instances inside the host element.\n * These icons will receive the `ecl-feedback-message__icon` styling class.\n */\n @ContentChildren(forwardRef(() => EclIconComponent)) eclIconComponents: QueryList<EclIconComponent>;\n\n /**\n * Lifecycle hook that runs after content (e.g. projected icons) is initialized.\n * Adds the `ecl-feedback-message__icon` CSS class to each nested icon component.\n */\n ngAfterContentInit(): void {\n if (this.eclIconComponents) {\n setTimeout(() => {\n this.eclIconComponents.forEach((icn) => {\n icn.baseDirective.class = [icn.baseDirective.class, 'ecl-feedback-message__icon'].join(' ');\n });\n });\n }\n }\n}\n","import { NgModule } from '@angular/core';\nimport { EclFeedbackMessageDirective } from './ecl-feedback-message.directive';\n\n/**\n * Module that provides the EclFeedbackMessage directive.\n *\n * @deprecated Use {@link EUI_ECL_FEEDBACK_MESSAGE} instead.\n */\n@NgModule({\n imports: [EclFeedbackMessageDirective],\n exports: [EclFeedbackMessageDirective],\n})\nexport class EclFeedbackMessageModule {}\n","import { EclFeedbackMessageDirective } from './ecl-feedback-message.directive';\n\nexport * from './ecl-feedback-message.module';\nexport * from './ecl-feedback-message.directive';\n\nexport const EUI_ECL_FEEDBACK_MESSAGE = [\n EclFeedbackMessageDirective,\n] as const;","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAIA;;;;;AAKG;AAIG,MAAO,2BAA4B,SAAQ,gBAAgB,CAAA;AAC7D;;AAEG;AACH,IAAA,IACI,UAAU,GAAA;AACV,QAAA,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,sBAAsB,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE;IACzE;AAQA;;;AAGG;IACH,kBAAkB,GAAA;AACd,QAAA,IAAI,IAAI,CAAC,iBAAiB,EAAE;YACxB,UAAU,CAAC,MAAK;gBACZ,IAAI,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC,GAAG,KAAI;AACnC,oBAAA,GAAG,CAAC,aAAa,CAAC,KAAK,GAAG,CAAC,GAAG,CAAC,aAAa,CAAC,KAAK,EAAE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AM,wBAAwB,GAAG;IACpC,2BAA2B;;;ACN/B;;AAEG;;;;"}
1
+ {"version":3,"file":"eui-ecl-components-ecl-feedback-message.mjs","sources":["../../components/ecl-feedback-message/ecl-feedback-message.directive.ts","../../components/ecl-feedback-message/ecl-feedback-message.module.ts","../../components/ecl-feedback-message/index.ts","../../components/ecl-feedback-message/eui-ecl-components-ecl-feedback-message.ts"],"sourcesContent":["import { AfterContentInit, ContentChildren, Directive, forwardRef, HostBinding, QueryList } from '@angular/core';\nimport { EclIconComponent } from '@eui/ecl/components/ecl-icon';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Directive that renders a feedback message following the ECL design system.\n * It automatically styles its content and nested icon components accordingly.\n *\n * Should be applied to a container element that wraps a feedback message.\n */\n@Directive({\n selector: '[eclFeedbackMessage]',\n})\nexport class EclFeedbackMessageDirective extends ECLBaseDirective implements AfterContentInit {\n /**\n * Applies the appropriate ECL feedback message CSS class to the host element.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-feedback-message')].join(' ').trim();\n }\n\n /**\n * Queries all nested `EclIconComponent` instances inside the host element.\n * These icons will receive the `ecl-feedback-message__icon` styling class.\n */\n @ContentChildren(forwardRef(() => EclIconComponent)) eclIconComponents: QueryList<EclIconComponent>;\n\n /**\n * Lifecycle hook that runs after content (e.g. projected icons) is initialized.\n * Adds the `ecl-feedback-message__icon` CSS class to each nested icon component.\n */\n ngAfterContentInit(): void {\n if (this.eclIconComponents) {\n setTimeout(() => {\n this.eclIconComponents.forEach((icn) => {\n icn.baseDirective.class = [icn.baseDirective.class, 'ecl-feedback-message__icon'].join(' ');\n });\n });\n }\n }\n}\n","import { NgModule } from '@angular/core';\nimport { EclFeedbackMessageDirective } from './ecl-feedback-message.directive';\n\n/**\n * Module that provides the EclFeedbackMessage directive.\n *\n * @deprecated Use {@link EUI_ECL_FEEDBACK_MESSAGE} instead.\n */\n@NgModule({\n imports: [EclFeedbackMessageDirective],\n exports: [EclFeedbackMessageDirective],\n})\nexport class EclFeedbackMessageModule {}\n","import { EclFeedbackMessageDirective } from './ecl-feedback-message.directive';\n\nexport * from './ecl-feedback-message.module';\nexport * from './ecl-feedback-message.directive';\n\nexport const EUI_ECL_FEEDBACK_MESSAGE = [\n EclFeedbackMessageDirective,\n] as const;","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAIA;;;;;AAKG;AAIG,MAAO,2BAA4B,SAAQ,gBAAgB,CAAA;AAC7D;;AAEG;AACH,IAAA,IACI,UAAU,GAAA;AACV,QAAA,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,sBAAsB,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE;IACzE;AAQA;;;AAGG;IACH,kBAAkB,GAAA;AACd,QAAA,IAAI,IAAI,CAAC,iBAAiB,EAAE;YACxB,UAAU,CAAC,MAAK;gBACZ,IAAI,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC,GAAG,KAAI;AACnC,oBAAA,GAAG,CAAC,aAAa,CAAC,KAAK,GAAG,CAAC,GAAG,CAAC,aAAa,CAAC,KAAK,EAAE,4BAA4B,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC;AAC/F,gBAAA,CAAC,CAAC;AACN,YAAA,CAAC,CAAC;QACN;IACJ;qHA3BS,2BAA2B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA3B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,eAAA,EAAA,IAAA,EAAA,2BAA2B,4LAaF,gBAAgB,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;kGAbzC,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBAHvC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,sBAAsB;AACnC,iBAAA;8BAMO,UAAU,EAAA,CAAA;sBADb,WAAW;uBAAC,OAAO;gBASiC,iBAAiB,EAAA,CAAA;sBAArE,eAAe;AAAC,gBAAA,IAAA,EAAA,CAAA,UAAU,CAAC,MAAM,gBAAgB,CAAC;;;ACvBvD;;;;AAIG;MAKU,wBAAwB,CAAA;qHAAxB,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;sHAAxB,wBAAwB,EAAA,OAAA,EAAA,CAHvB,2BAA2B,CAAA,EAAA,OAAA,EAAA,CAC3B,2BAA2B,CAAA,EAAA,CAAA,CAAA;sHAE5B,wBAAwB,EAAA,CAAA,CAAA;;kGAAxB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAJpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,2BAA2B,CAAC;oBACtC,OAAO,EAAE,CAAC,2BAA2B,CAAC;AACzC,iBAAA;;;ACNM,MAAM,wBAAwB,GAAG;IACpC,2BAA2B;;;ACN/B;;AAEG;;;;"}
@@ -225,10 +225,10 @@ class EclFileUploadDirective extends ECLBaseDirective {
225
225
  const i = Math.floor(Math.log(bytes) / Math.log(k));
226
226
  return `${parseFloat((bytes / k ** i).toFixed(dm))} ${sizes[i]}`;
227
227
  }
228
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclFileUploadDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
229
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.1.6", type: EclFileUploadDirective, isStandalone: true, selector: "[eclFileUpload]", inputs: { variant: "variant", isInvalid: "isInvalid", id: "id", disabled: ["disabled", "disabled", booleanAttribute], multiple: ["multiple", "multiple", booleanAttribute] }, outputs: { filesSelected: "filesSelected" }, host: { listeners: { "click": "onClick($event)", "change": "onFilesSelected($event)" }, properties: { "attr.id": "this.id", "attr.disabled": "this.disabled", "attr.multiple": "this.multiple", "attr.type": "this.type", "class": "this.cssClasses", "class.ecl-file-upload--invalid": "this.invalidState" } }, usesInheritance: true, ngImport: i0 }); }
228
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclFileUploadDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
229
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "21.0.0-next.5", type: EclFileUploadDirective, isStandalone: true, selector: "[eclFileUpload]", inputs: { variant: "variant", isInvalid: "isInvalid", id: "id", disabled: ["disabled", "disabled", booleanAttribute], multiple: ["multiple", "multiple", booleanAttribute] }, outputs: { filesSelected: "filesSelected" }, host: { listeners: { "click": "onClick($event)", "change": "onFilesSelected($event)" }, properties: { "attr.id": "this.id", "attr.disabled": "this.disabled", "attr.multiple": "this.multiple", "attr.type": "this.type", "class": "this.cssClasses", "class.ecl-file-upload--invalid": "this.invalidState" } }, usesInheritance: true, ngImport: i0 }); }
230
230
  }
231
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclFileUploadDirective, decorators: [{
231
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclFileUploadDirective, decorators: [{
232
232
  type: Directive,
233
233
  args: [{
234
234
  selector: '[eclFileUpload]',
@@ -279,11 +279,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
279
279
  * @deprecated Use {@link EUI_ECL_FILE_UPLOAD} instead.
280
280
  */
281
281
  class EclFileUploadModule {
282
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclFileUploadModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
283
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: EclFileUploadModule, imports: [EclFileUploadDirective], exports: [EclFileUploadDirective] }); }
284
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclFileUploadModule }); }
282
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclFileUploadModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
283
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclFileUploadModule, imports: [EclFileUploadDirective], exports: [EclFileUploadDirective] }); }
284
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclFileUploadModule }); }
285
285
  }
286
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclFileUploadModule, decorators: [{
286
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclFileUploadModule, decorators: [{
287
287
  type: NgModule,
288
288
  args: [{
289
289
  imports: [EclFileUploadDirective],
@@ -1 +1 @@
1
- {"version":3,"file":"eui-ecl-components-ecl-file-upload.mjs","sources":["../../components/ecl-file-upload/events/ecl-file-upload-file-selected.event.ts","../../components/ecl-file-upload/ecl-file-upload.directive.ts","../../components/ecl-file-upload/ecl-file-upload.module.ts","../../components/ecl-file-upload/index.ts","../../components/ecl-file-upload/eui-ecl-components-ecl-file-upload.ts"],"sourcesContent":["import { EclBaseEvent } from '@eui/ecl/core';\nimport { EclFileUpload } from '../models/ecl-file-upload.model';\n\n/**\n * Custom event emitted by the ECL file upload directive\n * when one or more files are selected.\n */\nexport class EclFileUploadFileSelectedEvent extends EclBaseEvent {\n /**\n * List of selected files.\n * Each file includes its name, extension, and formatted size.\n */\n constructor(public files: Array<EclFileUpload>) {\n super();\n }\n}\n","import { isPlatformBrowser } from '@angular/common';\nimport {\n Directive,\n DoCheck,\n ElementRef,\n EventEmitter,\n HostBinding,\n HostListener,\n inject,\n Input,\n OnDestroy,\n OnInit,\n Output,\n PLATFORM_ID,\n Renderer2,\n booleanAttribute,\n} from '@angular/core';\nimport { NgControl } from '@angular/forms';\nimport { TranslateService } from '@ngx-translate/core';\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclFileUpload } from './models/ecl-file-upload.model';\nimport { EclFileUploadFileSelectedEvent } from './events/ecl-file-upload-file-selected.event';\n\n/**\n * Directive that enhances a native input[type=file] with ECL-compliant styling and behavior.\n * Supports multiple file selection, dynamic file list rendering, translations and validation state.\n */\n@Directive({\n selector: '[eclFileUpload]',\n})\nexport class EclFileUploadDirective extends ECLBaseDirective implements OnInit, OnDestroy, DoCheck {\n protected ngControl = inject(NgControl, { optional: true, self: true });\n\n /**\n * Variant of the component's appearance. Currently unused. Default: `'default'`.\n */\n @Input() variant = 'default';\n\n /**\n * Marks the component as invalid (if not using Angular form validation).\n */\n @Input() isInvalid = false;\n\n /**\n * ID attribute applied to the native file input.\n */\n @Input() @HostBinding('attr.id') id: string;\n\n /**\n * Whether the component is disabled.\n */\n @Input({ transform: booleanAttribute })\n @HostBinding('attr.disabled')\n disabled: boolean;\n\n /**\n * Allows selecting multiple files.\n */\n @Input({ transform: booleanAttribute })\n @HostBinding('attr.multiple')\n multiple: boolean;\n\n /**\n * Event emitted when files are selected.\n */\n @Output() filesSelected = new EventEmitter<EclFileUploadFileSelectedEvent>();\n\n /**\n * Host binding to define input type as 'file'.\n */\n @HostBinding('attr.type') type = 'file';\n\n private fileListEl: HTMLElement;\n\n private files: EclFileUpload[] = [];\n private buttonEl: HTMLElement;\n private labelEl: HTMLElement;\n private destroy$: Subject<boolean> = new Subject<boolean>();\n private readonly SPAN_BUTTON_CONVERSION_CLASSES = ['ecl-button', 'ecl-button--primary', 'ecl-file-upload__button'];\n private el = inject(ElementRef);\n private translate = inject(TranslateService);\n private renderer = inject(Renderer2);\n private platformId = inject(PLATFORM_ID);\n\n /**\n * Applies the base `ecl-file-upload` class to the host element.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-file-upload')].join(' ').trim();\n }\n\n /**\n * Returns `true` if component should be displayed as invalid.\n * Prioritizes Angular form control status over `isInvalid` input.\n */\n @HostBinding('class.ecl-file-upload--invalid')\n get invalidState(): boolean {\n if (this.ngControl) {\n return this.ngControl.status === 'INVALID' && this.ngControl.touched;\n } else {\n return this.isInvalid;\n }\n }\n\n /**\n * Initializes component structure and translation subscription (browser-only).\n */\n ngOnInit(): void {\n if (isPlatformBrowser(this.platformId)) {\n this.createDOMStructure();\n this.handleTranslations();\n }\n }\n\n /**\n * Clean up resources and RxJS subscriptions.\n */\n ngOnDestroy(): void {\n this.destroy$.next(true);\n this.destroy$.unsubscribe();\n }\n\n /**\n * Checks component state during change detection to toggle the disabled state of internal elements.\n */\n ngDoCheck(): void {\n if (this.disabled) {\n this.renderer.setAttribute(this.buttonEl, 'disabled', 'true');\n } else {\n this.renderer.removeAttribute(this.buttonEl, 'disabled');\n }\n }\n\n /**\n * Prevents file dialog from opening when component is disabled.\n * @param evt Click event on the input element.\n */\n @HostListener('click', ['$event']) onClick(evt: Event): void {\n if (this.disabled) {\n evt.preventDefault();\n }\n }\n\n /**\n * Handles file selection and emits a structured file selection event.\n * @param evt Change event from input.\n */\n @HostListener('change', ['$event']) onFilesSelected(evt: Event): void {\n const inputElement: HTMLInputElement = evt.target as HTMLInputElement;\n const fileList: FileList = inputElement.files;\n this.files = this.getFileModels(fileList);\n\n const fileEvent = new EclFileUploadFileSelectedEvent(this.files);\n this.filesSelected.next(fileEvent);\n\n if (!fileEvent.defaultPrevented) {\n this.handleTranslations();\n this.updateListItemsDOM(this.files);\n }\n }\n\n private handleTranslations(): void {\n const uploadButtonLabelKey = this.geti18nUploadButtonLabelKey();\n\n this.translate\n .stream(uploadButtonLabelKey)\n .pipe(takeUntil(this.destroy$))\n .subscribe((translation: string) => {\n if (this.buttonEl) {\n this.renderer.setProperty(this.buttonEl, 'textContent', translation);\n }\n });\n }\n\n private geti18nUploadButtonLabelKey(): string {\n let key = '';\n\n if (this.files && this.files.length !== 0) {\n if (this.multiple) {\n key = 'ecl.file-upload.REPLACE-FILES';\n } else {\n key = 'ecl.file-upload.REPLACE-FILE';\n }\n } else {\n if (this.multiple) {\n key = 'ecl.file-upload.CHOOSE-FILES';\n } else {\n key = 'ecl.file-upload.CHOOSE-FILE';\n }\n }\n\n return key;\n }\n\n private updateListItemsDOM(files: EclFileUpload[]): void {\n this.renderer.setProperty(this.fileListEl, 'textContent', '');\n files.forEach((file) => {\n const item = this.createFileListItemDOMElement(file);\n this.renderer.appendChild(this.fileListEl, item);\n });\n }\n\n private createDOMStructure(): void {\n const labelEl = this.createLabelDOMElement();\n const hostEl = this.getHostDOMElement();\n const fileListEl = this.createFileListDOMElement();\n\n hostEl.insertAdjacentElement('afterend', fileListEl);\n hostEl.insertAdjacentElement('afterend', labelEl);\n\n this.fileListEl = fileListEl;\n }\n\n private getHostDOMElement(): HTMLInputElement {\n return this.el.nativeElement;\n }\n\n private createLabelDOMElement(): HTMLElement {\n this.buttonEl = this.renderer.createElement('span');\n this.addClasses(this.buttonEl, this.SPAN_BUTTON_CONVERSION_CLASSES);\n\n this.labelEl = this.renderer.createElement('label');\n this.renderer.setAttribute(this.labelEl, 'for', this.id);\n this.renderer.addClass(this.labelEl, 'ecl-file-upload__button-container');\n\n this.renderer.appendChild(this.labelEl, this.buttonEl);\n\n return this.labelEl;\n }\n\n private addClasses(element: HTMLElement, classes: string[] ): void {\n classes.forEach(className=> this.renderer.addClass(element, className) )\n }\n\n private createFileListDOMElement(): HTMLElement {\n const element = this.renderer.createElement('ul');\n this.renderer.addClass(element,'ecl-file-upload__list');\n this.renderer.setAttribute(element,'aria-live','polite');\n\n return element;\n }\n\n private createFileListItemDOMElement(fileUpload: EclFileUpload): HTMLElement {\n const liElement = this.renderer.createElement('li');\n this.renderer.addClass(liElement,'ecl-file-upload__item');\n\n const fileNameElement = this.renderer.createElement('span');\n const fileName = this.renderer.createText(fileUpload.name);\n this.renderer.appendChild(fileNameElement, fileName);\n\n this.renderer.addClass( fileNameElement,'ecl-file-upload__item-name' );\n\n const fileMetaElement = this.renderer.createElement('span');\n\n const fileMetaElementText = this.renderer.createText(`(${fileUpload.size} - ${fileUpload.extension})`);\n this.renderer.appendChild(fileMetaElement, fileMetaElementText);\n this.renderer.addClass(fileMetaElement, 'ecl-file-upload__item-meta');\n\n this.renderer.appendChild(liElement, fileNameElement);\n this.renderer.appendChild(liElement, fileMetaElement);\n\n return liElement;\n }\n\n private getFileModels(fileList: FileList): Array<EclFileUpload> {\n return Array.from(fileList).map((f) => ({\n name: f.name,\n extension: this.getFilenameExtension(f.name),\n size: this.formatBytes(f.size),\n }));\n }\n\n private getFilenameExtension(filename: string): string {\n return filename.split('.').pop();\n }\n\n private formatBytes(bytes, decimals = 2): string {\n if (bytes === 0) {\n return '0 Bytes';\n }\n\n const k = 1024;\n const dm = decimals < 0 ? 0 : decimals;\n const sizes = ['Bytes', 'kB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'];\n\n const i = Math.floor(Math.log(bytes) / Math.log(k));\n\n return `${parseFloat((bytes / k ** i).toFixed(dm))} ${sizes[i]}`;\n }\n}\n","import { NgModule } from '@angular/core';\nimport { EclFileUploadDirective } from './ecl-file-upload.directive';\n\n/**\n * Module that provides the EclFileUpload directive.\n *\n * @deprecated Use {@link EUI_ECL_FILE_UPLOAD} instead.\n */\n@NgModule({\n imports: [EclFileUploadDirective],\n exports: [EclFileUploadDirective],\n})\nexport class EclFileUploadModule {}\n","import { EclFileUploadDirective } from './ecl-file-upload.directive';\n\nexport * from './ecl-file-upload.module';\nexport * from './ecl-file-upload.directive';\nexport * from './models/ecl-file-upload.model';\nexport * from './events/ecl-file-upload-file-selected.event';\n\nexport const EUI_ECL_FILE_UPLOAD = [\n EclFileUploadDirective,\n] as const;","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAGA;;;AAGG;AACG,MAAO,8BAA+B,SAAQ,YAAY,CAAA;AAC5D;;;AAGG;AACH,IAAA,WAAA,CAAmB,KAA2B,EAAA;AAC1C,QAAA,KAAK,EAAE;QADQ,IAAA,CAAA,KAAK,GAAL,KAAK;IAExB;AACH;;ACUD;;;AAGG;AAIG,MAAO,sBAAuB,SAAQ,gBAAgB,CAAA;AAH5D,IAAA,WAAA,GAAA;;AAIc,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;AAEvE;;AAEG;QACM,IAAA,CAAA,OAAO,GAAG,SAAS;AAE5B;;AAEG;QACM,IAAA,CAAA,SAAS,GAAG,KAAK;AAqB1B;;AAEG;AACO,QAAA,IAAA,CAAA,aAAa,GAAG,IAAI,YAAY,EAAkC;AAE5E;;AAEG;QACuB,IAAA,CAAA,IAAI,GAAG,MAAM;QAI/B,IAAA,CAAA,KAAK,GAAoB,EAAE;AAG3B,QAAA,IAAA,CAAA,QAAQ,GAAqB,IAAI,OAAO,EAAW;QAC1C,IAAA,CAAA,8BAA8B,GAAG,CAAC,YAAY,EAAE,qBAAqB,EAAE,yBAAyB,CAAC;AAC1G,QAAA,IAAA,CAAA,EAAE,GAAG,MAAM,CAAC,UAAU,CAAC;AACvB,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,gBAAgB,CAAC;AACpC,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,SAAS,CAAC;AAC5B,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AAC,sBAAsB,CAAC;AACpC,iBAAA;;;ACJM,MAAM,mBAAmB,GAAG;IAC/B,sBAAsB;;;ACR1B;;AAEG;;;;"}
1
+ {"version":3,"file":"eui-ecl-components-ecl-file-upload.mjs","sources":["../../components/ecl-file-upload/events/ecl-file-upload-file-selected.event.ts","../../components/ecl-file-upload/ecl-file-upload.directive.ts","../../components/ecl-file-upload/ecl-file-upload.module.ts","../../components/ecl-file-upload/index.ts","../../components/ecl-file-upload/eui-ecl-components-ecl-file-upload.ts"],"sourcesContent":["import { EclBaseEvent } from '@eui/ecl/core';\nimport { EclFileUpload } from '../models/ecl-file-upload.model';\n\n/**\n * Custom event emitted by the ECL file upload directive\n * when one or more files are selected.\n */\nexport class EclFileUploadFileSelectedEvent extends EclBaseEvent {\n /**\n * List of selected files.\n * Each file includes its name, extension, and formatted size.\n */\n constructor(public files: Array<EclFileUpload>) {\n super();\n }\n}\n","import { isPlatformBrowser } from '@angular/common';\nimport {\n Directive,\n DoCheck,\n ElementRef,\n EventEmitter,\n HostBinding,\n HostListener,\n inject,\n Input,\n OnDestroy,\n OnInit,\n Output,\n PLATFORM_ID,\n Renderer2,\n booleanAttribute,\n} from '@angular/core';\nimport { NgControl } from '@angular/forms';\nimport { TranslateService } from '@ngx-translate/core';\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclFileUpload } from './models/ecl-file-upload.model';\nimport { EclFileUploadFileSelectedEvent } from './events/ecl-file-upload-file-selected.event';\n\n/**\n * Directive that enhances a native input[type=file] with ECL-compliant styling and behavior.\n * Supports multiple file selection, dynamic file list rendering, translations and validation state.\n */\n@Directive({\n selector: '[eclFileUpload]',\n})\nexport class EclFileUploadDirective extends ECLBaseDirective implements OnInit, OnDestroy, DoCheck {\n protected ngControl = inject(NgControl, { optional: true, self: true });\n\n /**\n * Variant of the component's appearance. Currently unused. Default: `'default'`.\n */\n @Input() variant = 'default';\n\n /**\n * Marks the component as invalid (if not using Angular form validation).\n */\n @Input() isInvalid = false;\n\n /**\n * ID attribute applied to the native file input.\n */\n @Input() @HostBinding('attr.id') id: string;\n\n /**\n * Whether the component is disabled.\n */\n @Input({ transform: booleanAttribute })\n @HostBinding('attr.disabled')\n disabled: boolean;\n\n /**\n * Allows selecting multiple files.\n */\n @Input({ transform: booleanAttribute })\n @HostBinding('attr.multiple')\n multiple: boolean;\n\n /**\n * Event emitted when files are selected.\n */\n @Output() filesSelected = new EventEmitter<EclFileUploadFileSelectedEvent>();\n\n /**\n * Host binding to define input type as 'file'.\n */\n @HostBinding('attr.type') type = 'file';\n\n private fileListEl: HTMLElement;\n\n private files: EclFileUpload[] = [];\n private buttonEl: HTMLElement;\n private labelEl: HTMLElement;\n private destroy$: Subject<boolean> = new Subject<boolean>();\n private readonly SPAN_BUTTON_CONVERSION_CLASSES = ['ecl-button', 'ecl-button--primary', 'ecl-file-upload__button'];\n private el = inject(ElementRef);\n private translate = inject(TranslateService);\n private renderer = inject(Renderer2);\n private platformId = inject(PLATFORM_ID);\n\n /**\n * Applies the base `ecl-file-upload` class to the host element.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-file-upload')].join(' ').trim();\n }\n\n /**\n * Returns `true` if component should be displayed as invalid.\n * Prioritizes Angular form control status over `isInvalid` input.\n */\n @HostBinding('class.ecl-file-upload--invalid')\n get invalidState(): boolean {\n if (this.ngControl) {\n return this.ngControl.status === 'INVALID' && this.ngControl.touched;\n } else {\n return this.isInvalid;\n }\n }\n\n /**\n * Initializes component structure and translation subscription (browser-only).\n */\n ngOnInit(): void {\n if (isPlatformBrowser(this.platformId)) {\n this.createDOMStructure();\n this.handleTranslations();\n }\n }\n\n /**\n * Clean up resources and RxJS subscriptions.\n */\n ngOnDestroy(): void {\n this.destroy$.next(true);\n this.destroy$.unsubscribe();\n }\n\n /**\n * Checks component state during change detection to toggle the disabled state of internal elements.\n */\n ngDoCheck(): void {\n if (this.disabled) {\n this.renderer.setAttribute(this.buttonEl, 'disabled', 'true');\n } else {\n this.renderer.removeAttribute(this.buttonEl, 'disabled');\n }\n }\n\n /**\n * Prevents file dialog from opening when component is disabled.\n * @param evt Click event on the input element.\n */\n @HostListener('click', ['$event']) onClick(evt: Event): void {\n if (this.disabled) {\n evt.preventDefault();\n }\n }\n\n /**\n * Handles file selection and emits a structured file selection event.\n * @param evt Change event from input.\n */\n @HostListener('change', ['$event']) onFilesSelected(evt: Event): void {\n const inputElement: HTMLInputElement = evt.target as HTMLInputElement;\n const fileList: FileList = inputElement.files;\n this.files = this.getFileModels(fileList);\n\n const fileEvent = new EclFileUploadFileSelectedEvent(this.files);\n this.filesSelected.next(fileEvent);\n\n if (!fileEvent.defaultPrevented) {\n this.handleTranslations();\n this.updateListItemsDOM(this.files);\n }\n }\n\n private handleTranslations(): void {\n const uploadButtonLabelKey = this.geti18nUploadButtonLabelKey();\n\n this.translate\n .stream(uploadButtonLabelKey)\n .pipe(takeUntil(this.destroy$))\n .subscribe((translation: string) => {\n if (this.buttonEl) {\n this.renderer.setProperty(this.buttonEl, 'textContent', translation);\n }\n });\n }\n\n private geti18nUploadButtonLabelKey(): string {\n let key = '';\n\n if (this.files && this.files.length !== 0) {\n if (this.multiple) {\n key = 'ecl.file-upload.REPLACE-FILES';\n } else {\n key = 'ecl.file-upload.REPLACE-FILE';\n }\n } else {\n if (this.multiple) {\n key = 'ecl.file-upload.CHOOSE-FILES';\n } else {\n key = 'ecl.file-upload.CHOOSE-FILE';\n }\n }\n\n return key;\n }\n\n private updateListItemsDOM(files: EclFileUpload[]): void {\n this.renderer.setProperty(this.fileListEl, 'textContent', '');\n files.forEach((file) => {\n const item = this.createFileListItemDOMElement(file);\n this.renderer.appendChild(this.fileListEl, item);\n });\n }\n\n private createDOMStructure(): void {\n const labelEl = this.createLabelDOMElement();\n const hostEl = this.getHostDOMElement();\n const fileListEl = this.createFileListDOMElement();\n\n hostEl.insertAdjacentElement('afterend', fileListEl);\n hostEl.insertAdjacentElement('afterend', labelEl);\n\n this.fileListEl = fileListEl;\n }\n\n private getHostDOMElement(): HTMLInputElement {\n return this.el.nativeElement;\n }\n\n private createLabelDOMElement(): HTMLElement {\n this.buttonEl = this.renderer.createElement('span');\n this.addClasses(this.buttonEl, this.SPAN_BUTTON_CONVERSION_CLASSES);\n\n this.labelEl = this.renderer.createElement('label');\n this.renderer.setAttribute(this.labelEl, 'for', this.id);\n this.renderer.addClass(this.labelEl, 'ecl-file-upload__button-container');\n\n this.renderer.appendChild(this.labelEl, this.buttonEl);\n\n return this.labelEl;\n }\n\n private addClasses(element: HTMLElement, classes: string[] ): void {\n classes.forEach(className=> this.renderer.addClass(element, className) )\n }\n\n private createFileListDOMElement(): HTMLElement {\n const element = this.renderer.createElement('ul');\n this.renderer.addClass(element,'ecl-file-upload__list');\n this.renderer.setAttribute(element,'aria-live','polite');\n\n return element;\n }\n\n private createFileListItemDOMElement(fileUpload: EclFileUpload): HTMLElement {\n const liElement = this.renderer.createElement('li');\n this.renderer.addClass(liElement,'ecl-file-upload__item');\n\n const fileNameElement = this.renderer.createElement('span');\n const fileName = this.renderer.createText(fileUpload.name);\n this.renderer.appendChild(fileNameElement, fileName);\n\n this.renderer.addClass( fileNameElement,'ecl-file-upload__item-name' );\n\n const fileMetaElement = this.renderer.createElement('span');\n\n const fileMetaElementText = this.renderer.createText(`(${fileUpload.size} - ${fileUpload.extension})`);\n this.renderer.appendChild(fileMetaElement, fileMetaElementText);\n this.renderer.addClass(fileMetaElement, 'ecl-file-upload__item-meta');\n\n this.renderer.appendChild(liElement, fileNameElement);\n this.renderer.appendChild(liElement, fileMetaElement);\n\n return liElement;\n }\n\n private getFileModels(fileList: FileList): Array<EclFileUpload> {\n return Array.from(fileList).map((f) => ({\n name: f.name,\n extension: this.getFilenameExtension(f.name),\n size: this.formatBytes(f.size),\n }));\n }\n\n private getFilenameExtension(filename: string): string {\n return filename.split('.').pop();\n }\n\n private formatBytes(bytes, decimals = 2): string {\n if (bytes === 0) {\n return '0 Bytes';\n }\n\n const k = 1024;\n const dm = decimals < 0 ? 0 : decimals;\n const sizes = ['Bytes', 'kB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'];\n\n const i = Math.floor(Math.log(bytes) / Math.log(k));\n\n return `${parseFloat((bytes / k ** i).toFixed(dm))} ${sizes[i]}`;\n }\n}\n","import { NgModule } from '@angular/core';\nimport { EclFileUploadDirective } from './ecl-file-upload.directive';\n\n/**\n * Module that provides the EclFileUpload directive.\n *\n * @deprecated Use {@link EUI_ECL_FILE_UPLOAD} instead.\n */\n@NgModule({\n imports: [EclFileUploadDirective],\n exports: [EclFileUploadDirective],\n})\nexport class EclFileUploadModule {}\n","import { EclFileUploadDirective } from './ecl-file-upload.directive';\n\nexport * from './ecl-file-upload.module';\nexport * from './ecl-file-upload.directive';\nexport * from './models/ecl-file-upload.model';\nexport * from './events/ecl-file-upload-file-selected.event';\n\nexport const EUI_ECL_FILE_UPLOAD = [\n EclFileUploadDirective,\n] as const;","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAGA;;;AAGG;AACG,MAAO,8BAA+B,SAAQ,YAAY,CAAA;AAC5D;;;AAGG;AACH,IAAA,WAAA,CAAmB,KAA2B,EAAA;AAC1C,QAAA,KAAK,EAAE;QADQ,IAAA,CAAA,KAAK,GAAL,KAAK;IAExB;AACH;;ACUD;;;AAGG;AAIG,MAAO,sBAAuB,SAAQ,gBAAgB,CAAA;AAH5D,IAAA,WAAA,GAAA;;AAIc,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;AAEvE;;AAEG;QACM,IAAA,CAAA,OAAO,GAAG,SAAS;AAE5B;;AAEG;QACM,IAAA,CAAA,SAAS,GAAG,KAAK;AAqB1B;;AAEG;AACO,QAAA,IAAA,CAAA,aAAa,GAAG,IAAI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