@eui/ecl 21.0.0-next.3 → 21.0.0-next.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 (436) hide show
  1. package/docs/changelog.html +715 -0
  2. package/docs/components/EclAccordionComponent.html +2 -2
  3. package/docs/components/EclAccordionItemComponent.html +2 -2
  4. package/docs/components/EclAppComponent.html +2 -2
  5. package/docs/components/EclBannerComponent.html +2 -2
  6. package/docs/components/EclBlockquoteComponent.html +2 -2
  7. package/docs/components/EclBreadcrumbComponent.html +5 -45
  8. package/docs/components/EclBreadcrumbSegmentComponent.html +4 -4
  9. package/docs/components/EclButtonComponent.html +2 -2
  10. package/docs/components/EclCardBodyComponent.html +2 -2
  11. package/docs/components/EclCardComponent.html +2 -2
  12. package/docs/components/EclCarouselComponent.html +2 -2
  13. package/docs/components/EclCarouselItemComponent.html +2 -2
  14. package/docs/components/EclCategoryFilterComponent.html +2 -2
  15. package/docs/components/EclCategoryFilterItemComponent.html +2 -2
  16. package/docs/components/EclCategoryFilterListComponent.html +2 -2
  17. package/docs/components/EclCheckboxHelpComponent.html +2 -2
  18. package/docs/components/EclCheckboxLabelComponent.html +2 -2
  19. package/docs/components/EclContentBlockComponent.html +2 -2
  20. package/docs/components/EclContentItemComponent.html +2 -2
  21. package/docs/components/EclDateBlockComponent.html +2 -2
  22. package/docs/components/EclDescriptionListDefinitionComponent.html +2 -2
  23. package/docs/components/EclExpandableComponent.html +2 -2
  24. package/docs/components/EclFactFiguresComponent.html +2 -2
  25. package/docs/components/EclFactFiguresItemComponent.html +2 -2
  26. package/docs/components/EclFactFiguresViewAllComponent.html +2 -2
  27. package/docs/components/EclFeaturedComponent.html +2 -2
  28. package/docs/components/EclFeaturedItemComponent.html +2 -2
  29. package/docs/components/EclFeaturedItemDescriptionComponent.html +2 -2
  30. package/docs/components/EclFileComponent.html +2 -2
  31. package/docs/components/EclFileItemComponent.html +2 -2
  32. package/docs/components/EclFileItemsComponent.html +2 -2
  33. package/docs/components/EclFileTaxonomyComponent.html +2 -2
  34. package/docs/components/EclFormGroupComponent.html +2 -2
  35. package/docs/components/EclFormLabelComponent.html +3 -3
  36. package/docs/components/EclGalleryComponent.html +2 -2
  37. package/docs/components/EclGalleryFooterComponent.html +2 -2
  38. package/docs/components/EclGalleryItemComponent.html +3 -70
  39. package/docs/components/EclIconComponent.html +2 -2
  40. package/docs/components/EclInpageNavigationComponent.html +4 -45
  41. package/docs/components/EclInpageNavigationItemComponent.html +3 -3
  42. package/docs/components/EclListIllustrationComponent.html +2 -2
  43. package/docs/components/EclListIllustrationItemComponent.html +2 -2
  44. package/docs/components/EclLoadingIndicatorComponent.html +2 -2
  45. package/docs/components/EclMediaContainerComponent.html +2 -2
  46. package/docs/components/EclMegaMenuComponent.html +2 -2
  47. package/docs/components/EclMegaMenuFeaturedComponent.html +2 -2
  48. package/docs/components/EclMegaMenuInfoComponent.html +2 -2
  49. package/docs/components/EclMegaMenuItemComponent.html +2 -2
  50. package/docs/components/EclMegaMenuSubitemComponent.html +2 -26
  51. package/docs/components/EclMenuComponent.html +2 -2
  52. package/docs/components/EclMenuItemComponent.html +2 -2
  53. package/docs/components/EclMenuMegaComponent.html +2 -2
  54. package/docs/components/EclMenuMegaItemComponent.html +2 -2
  55. package/docs/components/EclModalBodyComponent.html +3 -39
  56. package/docs/components/EclModalComponent.html +2 -2
  57. package/docs/components/EclModalFooterComponent.html +2 -2
  58. package/docs/components/EclModalHeaderComponent.html +2 -2
  59. package/docs/components/EclMultiselectComponent.html +2 -2
  60. package/docs/components/EclMultiselectDropdownComponent.html +2 -2
  61. package/docs/components/EclMultiselectInputComponent.html +2 -2
  62. package/docs/components/EclMultiselectOptgroupComponent.html +2 -2
  63. package/docs/components/EclMultiselectOptionComponent.html +3 -3
  64. package/docs/components/EclNavigationListComponent.html +2 -2
  65. package/docs/components/EclNavigationListItemComponent.html +2 -2
  66. package/docs/components/EclNewsTickerComponent.html +2 -2
  67. package/docs/components/EclNewsTickerItemComponent.html +2 -2
  68. package/docs/components/EclNotificationComponent.html +51 -3
  69. package/docs/components/EclPageHeaderComponent.html +2 -2
  70. package/docs/components/EclPageHeaderExpandableComponent.html +2 -3
  71. package/docs/components/EclPaginationComponent.html +2 -2
  72. package/docs/components/EclPaginationItemComponent.html +3 -3
  73. package/docs/components/EclPopoverComponent.html +8 -37
  74. package/docs/components/EclRadioHelpComponent.html +2 -2
  75. package/docs/components/EclRadioLabelComponent.html +2 -2
  76. package/docs/components/EclRangeBubbleComponent.html +2 -2
  77. package/docs/components/EclRangeValueComponent.html +2 -2
  78. package/docs/components/EclRatingFieldComponent.html +2 -2
  79. package/docs/components/EclSearchFormComponent.html +7 -7
  80. package/docs/components/EclSelectContainerComponent.html +2 -2
  81. package/docs/components/EclSiteFooterComponent.html +16 -3
  82. package/docs/components/{EclTabMoreComponent.html → EclSiteFooterCoownerComponent.html} +15 -49
  83. package/docs/components/EclSiteFooterCoreComponent.html +2 -2
  84. package/docs/components/EclSiteFooterFixedContentEUComponent.html +3 -3
  85. package/docs/components/EclSiteFooterRowCommonComponent.html +2 -2
  86. package/docs/components/EclSiteHeaderActionComponent.html +2 -2
  87. package/docs/components/EclSiteHeaderBannerTopComponent.html +2 -2
  88. package/docs/components/EclSiteHeaderComponent.html +2 -21
  89. package/docs/components/EclSiteHeaderCustomActionComponent.html +2 -2
  90. package/docs/components/EclSiteHeaderEnvironmentComponent.html +2 -2
  91. package/docs/components/EclSiteHeaderLanguageComponent.html +2 -2
  92. package/docs/components/EclSiteHeaderLanguagePopoverComponent.html +3 -3
  93. package/docs/components/EclSiteHeaderLoginComponent.html +2 -2
  94. package/docs/components/EclSiteHeaderNotificationComponent.html +2 -2
  95. package/docs/components/EclSiteHeaderSearchComponent.html +6 -6
  96. package/docs/components/EclSocialMediaFollowComponent.html +2 -2
  97. package/docs/components/EclSocialMediaFollowItemComponent.html +22 -3
  98. package/docs/components/EclSplashPageComponent.html +2 -2
  99. package/docs/components/EclSplashPageLanguageCategoryComponent.html +2 -2
  100. package/docs/components/EclSplashPageLanguageContainerComponent.html +2 -2
  101. package/docs/components/EclSplashPageLanguageLinkComponent.html +2 -2
  102. package/docs/components/EclSpotlightComponent.html +2 -2
  103. package/docs/components/EclSpotlightLinkComponent.html +2 -2
  104. package/docs/components/EclStickyContainerComponent.html +2 -2
  105. package/docs/components/EclTabComponent.html +3 -5
  106. package/docs/components/EclTabLabelComponent.html +2 -2
  107. package/docs/components/EclTableSortButtonComponent.html +2 -2
  108. package/docs/components/EclTabsComponent.html +3 -5
  109. package/docs/components/EclTagComponent.html +2 -2
  110. package/docs/components/EclTimelineComponent.html +2 -2
  111. package/docs/components/EclTimelineItemComponent.html +2 -2
  112. package/docs/components/EclTimelineItemTogglerComponent.html +2 -2
  113. package/docs/directives/EclBreadcrumbContainerDirective.html +0 -23
  114. package/docs/directives/EclFeedbackHiddenDirective.html +379 -0
  115. package/docs/{modules/EclFormLabelModule.html → directives/EclHelpHiddenDirective.html} +163 -57
  116. package/docs/directives/EclLinkDirective.html +132 -12
  117. package/docs/{modules/EclNotificationModule.html → directives/EclNotificationIconDirective.html} +163 -57
  118. package/docs/directives/{EclSiteFooterLogoListDirective.html → EclNotificationLinkDirective.html} +46 -162
  119. package/docs/directives/{EclSiteFooterLogoDirective.html → EclSiteFooterCoownerItemDirective.html} +60 -34
  120. package/docs/directives/{EclSiteFooterLogoItemDirective.html → EclSiteFooterCoownerListDirective.html} +41 -169
  121. package/docs/directives/EclSiteFooterListDirective.html +0 -19
  122. package/docs/directives/EclSiteFooterSectionDirective.html +0 -96
  123. package/docs/js/menu-wc.js +26 -2384
  124. package/docs/js/menu-wc_es5.js +1 -1
  125. package/docs/js/search/search_index.js +2 -2
  126. package/docs/miscellaneous/variables.html +206 -1469
  127. package/docs/modules.html +2 -722
  128. package/docs/overview.html +2 -2
  129. package/docs/properties.html +1 -1
  130. package/fesm2022/eui-ecl-components-ecl-accordion.mjs +8 -27
  131. package/fesm2022/eui-ecl-components-ecl-accordion.mjs.map +1 -1
  132. package/fesm2022/eui-ecl-components-ecl-app.mjs +5 -23
  133. package/fesm2022/eui-ecl-components-ecl-app.mjs.map +1 -1
  134. package/fesm2022/eui-ecl-components-ecl-banner.mjs +32 -81
  135. package/fesm2022/eui-ecl-components-ecl-banner.mjs.map +1 -1
  136. package/fesm2022/eui-ecl-components-ecl-blockquote.mjs +11 -30
  137. package/fesm2022/eui-ecl-components-ecl-blockquote.mjs.map +1 -1
  138. package/fesm2022/eui-ecl-components-ecl-breadcrumb.mjs +15 -42
  139. package/fesm2022/eui-ecl-components-ecl-breadcrumb.mjs.map +1 -1
  140. package/fesm2022/eui-ecl-components-ecl-button.mjs +14 -34
  141. package/fesm2022/eui-ecl-components-ecl-button.mjs.map +1 -1
  142. package/fesm2022/eui-ecl-components-ecl-card.mjs +14 -45
  143. package/fesm2022/eui-ecl-components-ecl-card.mjs.map +1 -1
  144. package/fesm2022/eui-ecl-components-ecl-carousel.mjs +8 -27
  145. package/fesm2022/eui-ecl-components-ecl-carousel.mjs.map +1 -1
  146. package/fesm2022/eui-ecl-components-ecl-category-filter.mjs +11 -30
  147. package/fesm2022/eui-ecl-components-ecl-category-filter.mjs.map +1 -1
  148. package/fesm2022/eui-ecl-components-ecl-checkbox.mjs +15 -34
  149. package/fesm2022/eui-ecl-components-ecl-checkbox.mjs.map +1 -1
  150. package/fesm2022/eui-ecl-components-ecl-content-block.mjs +56 -128
  151. package/fesm2022/eui-ecl-components-ecl-content-block.mjs.map +1 -1
  152. package/fesm2022/eui-ecl-components-ecl-content-item.mjs +11 -30
  153. package/fesm2022/eui-ecl-components-ecl-content-item.mjs.map +1 -1
  154. package/fesm2022/eui-ecl-components-ecl-date-block.mjs +5 -23
  155. package/fesm2022/eui-ecl-components-ecl-date-block.mjs.map +1 -1
  156. package/fesm2022/eui-ecl-components-ecl-date-picker.mjs +5 -23
  157. package/fesm2022/eui-ecl-components-ecl-date-picker.mjs.map +1 -1
  158. package/fesm2022/eui-ecl-components-ecl-divider.mjs +6 -24
  159. package/fesm2022/eui-ecl-components-ecl-divider.mjs.map +1 -1
  160. package/fesm2022/eui-ecl-components-ecl-expandable.mjs +5 -23
  161. package/fesm2022/eui-ecl-components-ecl-expandable.mjs.map +1 -1
  162. package/fesm2022/eui-ecl-components-ecl-fact-figures.mjs +16 -50
  163. package/fesm2022/eui-ecl-components-ecl-fact-figures.mjs.map +1 -1
  164. package/fesm2022/eui-ecl-components-ecl-featured.mjs +14 -47
  165. package/fesm2022/eui-ecl-components-ecl-featured.mjs.map +1 -1
  166. package/fesm2022/eui-ecl-components-ecl-feedback-message.mjs +5 -23
  167. package/fesm2022/eui-ecl-components-ecl-feedback-message.mjs.map +1 -1
  168. package/fesm2022/eui-ecl-components-ecl-file-upload.mjs +5 -23
  169. package/fesm2022/eui-ecl-components-ecl-file-upload.mjs.map +1 -1
  170. package/fesm2022/eui-ecl-components-ecl-file.mjs +32 -81
  171. package/fesm2022/eui-ecl-components-ecl-file.mjs.map +1 -1
  172. package/fesm2022/eui-ecl-components-ecl-form-group.mjs +5 -23
  173. package/fesm2022/eui-ecl-components-ecl-form-group.mjs.map +1 -1
  174. package/fesm2022/eui-ecl-components-ecl-form-label.mjs +51 -22
  175. package/fesm2022/eui-ecl-components-ecl-form-label.mjs.map +1 -1
  176. package/fesm2022/eui-ecl-components-ecl-gallery.mjs +21 -75
  177. package/fesm2022/eui-ecl-components-ecl-gallery.mjs.map +1 -1
  178. package/fesm2022/eui-ecl-components-ecl-help-block.mjs +5 -23
  179. package/fesm2022/eui-ecl-components-ecl-help-block.mjs.map +1 -1
  180. package/fesm2022/eui-ecl-components-ecl-icon.mjs +5 -23
  181. package/fesm2022/eui-ecl-components-ecl-icon.mjs.map +1 -1
  182. package/fesm2022/eui-ecl-components-ecl-inpage-navigation.mjs +24 -51
  183. package/fesm2022/eui-ecl-components-ecl-inpage-navigation.mjs.map +1 -1
  184. package/fesm2022/eui-ecl-components-ecl-label.mjs +5 -23
  185. package/fesm2022/eui-ecl-components-ecl-label.mjs.map +1 -1
  186. package/fesm2022/eui-ecl-components-ecl-link.mjs +44 -41
  187. package/fesm2022/eui-ecl-components-ecl-link.mjs.map +1 -1
  188. package/fesm2022/eui-ecl-components-ecl-list-illustration.mjs +22 -55
  189. package/fesm2022/eui-ecl-components-ecl-list-illustration.mjs.map +1 -1
  190. package/fesm2022/eui-ecl-components-ecl-list.mjs +29 -74
  191. package/fesm2022/eui-ecl-components-ecl-list.mjs.map +1 -1
  192. package/fesm2022/eui-ecl-components-ecl-loading-indicator.mjs +11 -30
  193. package/fesm2022/eui-ecl-components-ecl-loading-indicator.mjs.map +1 -1
  194. package/fesm2022/eui-ecl-components-ecl-media-container.mjs +17 -50
  195. package/fesm2022/eui-ecl-components-ecl-media-container.mjs.map +1 -1
  196. package/fesm2022/eui-ecl-components-ecl-mega-menu.mjs +50 -112
  197. package/fesm2022/eui-ecl-components-ecl-mega-menu.mjs.map +1 -1
  198. package/fesm2022/eui-ecl-components-ecl-menu.mjs +14 -33
  199. package/fesm2022/eui-ecl-components-ecl-menu.mjs.map +1 -1
  200. package/fesm2022/eui-ecl-components-ecl-modal.mjs +26 -81
  201. package/fesm2022/eui-ecl-components-ecl-modal.mjs.map +1 -1
  202. package/fesm2022/eui-ecl-components-ecl-multiselect.mjs +25 -66
  203. package/fesm2022/eui-ecl-components-ecl-multiselect.mjs.map +1 -1
  204. package/fesm2022/eui-ecl-components-ecl-navigation-list.mjs +14 -44
  205. package/fesm2022/eui-ecl-components-ecl-navigation-list.mjs.map +1 -1
  206. package/fesm2022/eui-ecl-components-ecl-news-ticker.mjs +11 -39
  207. package/fesm2022/eui-ecl-components-ecl-news-ticker.mjs.map +1 -1
  208. package/fesm2022/eui-ecl-components-ecl-notification.mjs +86 -50
  209. package/fesm2022/eui-ecl-components-ecl-notification.mjs.map +1 -1
  210. package/fesm2022/eui-ecl-components-ecl-page-header.mjs +44 -101
  211. package/fesm2022/eui-ecl-components-ecl-page-header.mjs.map +1 -1
  212. package/fesm2022/eui-ecl-components-ecl-pagination.mjs +12 -32
  213. package/fesm2022/eui-ecl-components-ecl-pagination.mjs.map +1 -1
  214. package/fesm2022/eui-ecl-components-ecl-popover.mjs +16 -44
  215. package/fesm2022/eui-ecl-components-ecl-popover.mjs.map +1 -1
  216. package/fesm2022/eui-ecl-components-ecl-radio.mjs +14 -32
  217. package/fesm2022/eui-ecl-components-ecl-radio.mjs.map +1 -1
  218. package/fesm2022/eui-ecl-components-ecl-range.mjs +11 -30
  219. package/fesm2022/eui-ecl-components-ecl-range.mjs.map +1 -1
  220. package/fesm2022/eui-ecl-components-ecl-rating-field.mjs +5 -23
  221. package/fesm2022/eui-ecl-components-ecl-rating-field.mjs.map +1 -1
  222. package/fesm2022/eui-ecl-components-ecl-search-form.mjs +12 -32
  223. package/fesm2022/eui-ecl-components-ecl-search-form.mjs.map +1 -1
  224. package/fesm2022/eui-ecl-components-ecl-select.mjs +8 -33
  225. package/fesm2022/eui-ecl-components-ecl-select.mjs.map +1 -1
  226. package/fesm2022/eui-ecl-components-ecl-site-footer.mjs +150 -260
  227. package/fesm2022/eui-ecl-components-ecl-site-footer.mjs.map +1 -1
  228. package/fesm2022/eui-ecl-components-ecl-site-header.mjs +73 -157
  229. package/fesm2022/eui-ecl-components-ecl-site-header.mjs.map +1 -1
  230. package/fesm2022/eui-ecl-components-ecl-social-media-follow.mjs +14 -32
  231. package/fesm2022/eui-ecl-components-ecl-social-media-follow.mjs.map +1 -1
  232. package/fesm2022/eui-ecl-components-ecl-splash-page.mjs +29 -74
  233. package/fesm2022/eui-ecl-components-ecl-splash-page.mjs.map +1 -1
  234. package/fesm2022/eui-ecl-components-ecl-spotlight.mjs +21 -21
  235. package/fesm2022/eui-ecl-components-ecl-spotlight.mjs.map +1 -1
  236. package/fesm2022/eui-ecl-components-ecl-sticky-container.mjs +5 -23
  237. package/fesm2022/eui-ecl-components-ecl-sticky-container.mjs.map +1 -1
  238. package/fesm2022/eui-ecl-components-ecl-table.mjs +32 -80
  239. package/fesm2022/eui-ecl-components-ecl-table.mjs.map +1 -1
  240. package/fesm2022/eui-ecl-components-ecl-tabs.mjs +14 -77
  241. package/fesm2022/eui-ecl-components-ecl-tabs.mjs.map +1 -1
  242. package/fesm2022/eui-ecl-components-ecl-tag.mjs +14 -33
  243. package/fesm2022/eui-ecl-components-ecl-tag.mjs.map +1 -1
  244. package/fesm2022/eui-ecl-components-ecl-text-area.mjs +5 -24
  245. package/fesm2022/eui-ecl-components-ecl-text-area.mjs.map +1 -1
  246. package/fesm2022/eui-ecl-components-ecl-text-input.mjs +5 -24
  247. package/fesm2022/eui-ecl-components-ecl-text-input.mjs.map +1 -1
  248. package/fesm2022/eui-ecl-components-ecl-timeline.mjs +20 -62
  249. package/fesm2022/eui-ecl-components-ecl-timeline.mjs.map +1 -1
  250. package/fesm2022/eui-ecl-core.mjs +25 -62
  251. package/fesm2022/eui-ecl-core.mjs.map +1 -1
  252. package/fesm2022/eui-ecl-shared.mjs +3 -3
  253. package/fesm2022/eui-ecl-shared.mjs.map +1 -1
  254. package/fesm2022/eui-ecl.mjs +1 -203
  255. package/fesm2022/eui-ecl.mjs.map +1 -1
  256. package/package.json +17 -17
  257. package/types/eui-ecl-components-ecl-accordion.d.ts +1 -13
  258. package/types/eui-ecl-components-ecl-accordion.d.ts.map +1 -1
  259. package/types/eui-ecl-components-ecl-app.d.ts +2 -13
  260. package/types/eui-ecl-components-ecl-app.d.ts.map +1 -1
  261. package/types/eui-ecl-components-ecl-banner.d.ts +1 -13
  262. package/types/eui-ecl-components-ecl-banner.d.ts.map +1 -1
  263. package/types/eui-ecl-components-ecl-blockquote.d.ts +1 -13
  264. package/types/eui-ecl-components-ecl-blockquote.d.ts.map +1 -1
  265. package/types/eui-ecl-components-ecl-breadcrumb.d.ts +11 -27
  266. package/types/eui-ecl-components-ecl-breadcrumb.d.ts.map +1 -1
  267. package/types/eui-ecl-components-ecl-button.d.ts +1 -13
  268. package/types/eui-ecl-components-ecl-button.d.ts.map +1 -1
  269. package/types/eui-ecl-components-ecl-card.d.ts +1 -13
  270. package/types/eui-ecl-components-ecl-card.d.ts.map +1 -1
  271. package/types/eui-ecl-components-ecl-carousel.d.ts +1 -13
  272. package/types/eui-ecl-components-ecl-carousel.d.ts.map +1 -1
  273. package/types/eui-ecl-components-ecl-category-filter.d.ts +1 -13
  274. package/types/eui-ecl-components-ecl-category-filter.d.ts.map +1 -1
  275. package/types/eui-ecl-components-ecl-checkbox.d.ts +1 -12
  276. package/types/eui-ecl-components-ecl-checkbox.d.ts.map +1 -1
  277. package/types/eui-ecl-components-ecl-content-block.d.ts +1 -12
  278. package/types/eui-ecl-components-ecl-content-block.d.ts.map +1 -1
  279. package/types/eui-ecl-components-ecl-content-item.d.ts +1 -12
  280. package/types/eui-ecl-components-ecl-content-item.d.ts.map +1 -1
  281. package/types/eui-ecl-components-ecl-date-block.d.ts +1 -12
  282. package/types/eui-ecl-components-ecl-date-block.d.ts.map +1 -1
  283. package/types/eui-ecl-components-ecl-date-picker.d.ts +2 -13
  284. package/types/eui-ecl-components-ecl-date-picker.d.ts.map +1 -1
  285. package/types/eui-ecl-components-ecl-divider.d.ts +1 -12
  286. package/types/eui-ecl-components-ecl-divider.d.ts.map +1 -1
  287. package/types/eui-ecl-components-ecl-expandable.d.ts +2 -13
  288. package/types/eui-ecl-components-ecl-expandable.d.ts.map +1 -1
  289. package/types/eui-ecl-components-ecl-fact-figures.d.ts +1 -12
  290. package/types/eui-ecl-components-ecl-fact-figures.d.ts.map +1 -1
  291. package/types/eui-ecl-components-ecl-featured.d.ts +1 -13
  292. package/types/eui-ecl-components-ecl-featured.d.ts.map +1 -1
  293. package/types/eui-ecl-components-ecl-feedback-message.d.ts +1 -12
  294. package/types/eui-ecl-components-ecl-feedback-message.d.ts.map +1 -1
  295. package/types/eui-ecl-components-ecl-file-upload.d.ts +1 -12
  296. package/types/eui-ecl-components-ecl-file-upload.d.ts.map +1 -1
  297. package/types/eui-ecl-components-ecl-file.d.ts +1 -12
  298. package/types/eui-ecl-components-ecl-file.d.ts.map +1 -1
  299. package/types/eui-ecl-components-ecl-form-group.d.ts +1 -12
  300. package/types/eui-ecl-components-ecl-form-group.d.ts.map +1 -1
  301. package/types/eui-ecl-components-ecl-form-label.d.ts +24 -10
  302. package/types/eui-ecl-components-ecl-form-label.d.ts.map +1 -1
  303. package/types/eui-ecl-components-ecl-gallery.d.ts +3 -20
  304. package/types/eui-ecl-components-ecl-gallery.d.ts.map +1 -1
  305. package/types/eui-ecl-components-ecl-help-block.d.ts +1 -12
  306. package/types/eui-ecl-components-ecl-help-block.d.ts.map +1 -1
  307. package/types/eui-ecl-components-ecl-icon.d.ts +1 -12
  308. package/types/eui-ecl-components-ecl-icon.d.ts.map +1 -1
  309. package/types/eui-ecl-components-ecl-inpage-navigation.d.ts +2 -17
  310. package/types/eui-ecl-components-ecl-inpage-navigation.d.ts.map +1 -1
  311. package/types/eui-ecl-components-ecl-label.d.ts +1 -12
  312. package/types/eui-ecl-components-ecl-label.d.ts.map +1 -1
  313. package/types/eui-ecl-components-ecl-link.d.ts +17 -16
  314. package/types/eui-ecl-components-ecl-link.d.ts.map +1 -1
  315. package/types/eui-ecl-components-ecl-list-illustration.d.ts +1 -12
  316. package/types/eui-ecl-components-ecl-list-illustration.d.ts.map +1 -1
  317. package/types/eui-ecl-components-ecl-list.d.ts +1 -12
  318. package/types/eui-ecl-components-ecl-list.d.ts.map +1 -1
  319. package/types/eui-ecl-components-ecl-loading-indicator.d.ts +1 -13
  320. package/types/eui-ecl-components-ecl-loading-indicator.d.ts.map +1 -1
  321. package/types/eui-ecl-components-ecl-media-container.d.ts +1 -12
  322. package/types/eui-ecl-components-ecl-media-container.d.ts.map +1 -1
  323. package/types/eui-ecl-components-ecl-mega-menu.d.ts +1 -13
  324. package/types/eui-ecl-components-ecl-mega-menu.d.ts.map +1 -1
  325. package/types/eui-ecl-components-ecl-menu.d.ts +1 -12
  326. package/types/eui-ecl-components-ecl-menu.d.ts.map +1 -1
  327. package/types/eui-ecl-components-ecl-modal.d.ts +2 -19
  328. package/types/eui-ecl-components-ecl-modal.d.ts.map +1 -1
  329. package/types/eui-ecl-components-ecl-multiselect.d.ts +1 -12
  330. package/types/eui-ecl-components-ecl-multiselect.d.ts.map +1 -1
  331. package/types/eui-ecl-components-ecl-navigation-list.d.ts +1 -12
  332. package/types/eui-ecl-components-ecl-navigation-list.d.ts.map +1 -1
  333. package/types/eui-ecl-components-ecl-news-ticker.d.ts +1 -13
  334. package/types/eui-ecl-components-ecl-news-ticker.d.ts.map +1 -1
  335. package/types/eui-ecl-components-ecl-notification.d.ts +45 -29
  336. package/types/eui-ecl-components-ecl-notification.d.ts.map +1 -1
  337. package/types/eui-ecl-components-ecl-page-header.d.ts +1 -12
  338. package/types/eui-ecl-components-ecl-page-header.d.ts.map +1 -1
  339. package/types/eui-ecl-components-ecl-pagination.d.ts +3 -14
  340. package/types/eui-ecl-components-ecl-pagination.d.ts.map +1 -1
  341. package/types/eui-ecl-components-ecl-popover.d.ts +5 -17
  342. package/types/eui-ecl-components-ecl-popover.d.ts.map +1 -1
  343. package/types/eui-ecl-components-ecl-radio.d.ts +1 -12
  344. package/types/eui-ecl-components-ecl-radio.d.ts.map +1 -1
  345. package/types/eui-ecl-components-ecl-range.d.ts +1 -12
  346. package/types/eui-ecl-components-ecl-range.d.ts.map +1 -1
  347. package/types/eui-ecl-components-ecl-rating-field.d.ts +2 -13
  348. package/types/eui-ecl-components-ecl-rating-field.d.ts.map +1 -1
  349. package/types/eui-ecl-components-ecl-search-form.d.ts +4 -15
  350. package/types/eui-ecl-components-ecl-search-form.d.ts.map +1 -1
  351. package/types/eui-ecl-components-ecl-select.d.ts +1 -13
  352. package/types/eui-ecl-components-ecl-select.d.ts.map +1 -1
  353. package/types/eui-ecl-components-ecl-site-footer.d.ts +42 -63
  354. package/types/eui-ecl-components-ecl-site-footer.d.ts.map +1 -1
  355. package/types/eui-ecl-components-ecl-site-header.d.ts +4 -19
  356. package/types/eui-ecl-components-ecl-site-header.d.ts.map +1 -1
  357. package/types/eui-ecl-components-ecl-social-media-follow.d.ts +6 -13
  358. package/types/eui-ecl-components-ecl-social-media-follow.d.ts.map +1 -1
  359. package/types/eui-ecl-components-ecl-splash-page.d.ts +1 -12
  360. package/types/eui-ecl-components-ecl-splash-page.d.ts.map +1 -1
  361. package/types/eui-ecl-components-ecl-sticky-container.d.ts +1 -12
  362. package/types/eui-ecl-components-ecl-sticky-container.d.ts.map +1 -1
  363. package/types/eui-ecl-components-ecl-table.d.ts +1 -12
  364. package/types/eui-ecl-components-ecl-table.d.ts.map +1 -1
  365. package/types/eui-ecl-components-ecl-tabs.d.ts +4 -42
  366. package/types/eui-ecl-components-ecl-tabs.d.ts.map +1 -1
  367. package/types/eui-ecl-components-ecl-tag.d.ts +1 -12
  368. package/types/eui-ecl-components-ecl-tag.d.ts.map +1 -1
  369. package/types/eui-ecl-components-ecl-text-area.d.ts +1 -13
  370. package/types/eui-ecl-components-ecl-text-area.d.ts.map +1 -1
  371. package/types/eui-ecl-components-ecl-text-input.d.ts +1 -13
  372. package/types/eui-ecl-components-ecl-text-input.d.ts.map +1 -1
  373. package/types/eui-ecl-components-ecl-timeline.d.ts +1 -12
  374. package/types/eui-ecl-components-ecl-timeline.d.ts.map +1 -1
  375. package/types/eui-ecl-core.d.ts +0 -3
  376. package/types/eui-ecl-core.d.ts.map +1 -1
  377. package/types/eui-ecl.d.ts +1 -69
  378. package/types/eui-ecl.d.ts.map +1 -1
  379. package/docs/modules/EclAccordionModule.html +0 -273
  380. package/docs/modules/EclAllModule.html +0 -261
  381. package/docs/modules/EclAppModule.html +0 -267
  382. package/docs/modules/EclBannerModule.html +0 -321
  383. package/docs/modules/EclBlockquoteModule.html +0 -279
  384. package/docs/modules/EclBreadcrumbModule.html +0 -321
  385. package/docs/modules/EclButtonModule.html +0 -285
  386. package/docs/modules/EclCardModule.html +0 -321
  387. package/docs/modules/EclCarouselModule.html +0 -273
  388. package/docs/modules/EclCategoryFilterModule.html +0 -279
  389. package/docs/modules/EclCheckboxModule.html +0 -321
  390. package/docs/modules/EclContentBlockModule.html +0 -321
  391. package/docs/modules/EclContentItemModule.html +0 -321
  392. package/docs/modules/EclDateBlockModule.html +0 -267
  393. package/docs/modules/EclDatePickerModule.html +0 -267
  394. package/docs/modules/EclDividerModule.html +0 -267
  395. package/docs/modules/EclExpandableModule.html +0 -267
  396. package/docs/modules/EclFactFiguresModule.html +0 -285
  397. package/docs/modules/EclFeaturedModule.html +0 -321
  398. package/docs/modules/EclFeedbackMessageModule.html +0 -267
  399. package/docs/modules/EclFileModule.html +0 -321
  400. package/docs/modules/EclFileUploadModule.html +0 -267
  401. package/docs/modules/EclFormGroupModule.html +0 -267
  402. package/docs/modules/EclGalleryModule.html +0 -321
  403. package/docs/modules/EclHelpBlockModule.html +0 -267
  404. package/docs/modules/EclIconModule.html +0 -267
  405. package/docs/modules/EclInpageNavigationModule.html +0 -321
  406. package/docs/modules/EclLabelModule.html +0 -267
  407. package/docs/modules/EclLinkModule.html +0 -285
  408. package/docs/modules/EclListIllustrationModule.html +0 -321
  409. package/docs/modules/EclListModule.html +0 -321
  410. package/docs/modules/EclLoadingIndicatorModule.html +0 -279
  411. package/docs/modules/EclMediaContainerModule.html +0 -321
  412. package/docs/modules/EclMegaMenuModule.html +0 -321
  413. package/docs/modules/EclMenuModule.html +0 -321
  414. package/docs/modules/EclModalModule.html +0 -321
  415. package/docs/modules/EclMultiselectModule.html +0 -321
  416. package/docs/modules/EclNavigationListModule.html +0 -321
  417. package/docs/modules/EclNewsTickerModule.html +0 -321
  418. package/docs/modules/EclPageHeaderModule.html +0 -321
  419. package/docs/modules/EclPaginationModule.html +0 -321
  420. package/docs/modules/EclPopoverModule.html +0 -321
  421. package/docs/modules/EclRadioModule.html +0 -285
  422. package/docs/modules/EclRangeModule.html +0 -321
  423. package/docs/modules/EclRatingFieldModule.html +0 -267
  424. package/docs/modules/EclSearchFormModule.html +0 -267
  425. package/docs/modules/EclSelectModule.html +0 -321
  426. package/docs/modules/EclSiteFooterModule.html +0 -321
  427. package/docs/modules/EclSiteHeaderModule.html +0 -321
  428. package/docs/modules/EclSocialMediaFollowModule.html +0 -321
  429. package/docs/modules/EclSplashPageModule.html +0 -321
  430. package/docs/modules/EclStickyContainerModule.html +0 -267
  431. package/docs/modules/EclTableModule.html +0 -321
  432. package/docs/modules/EclTabsModule.html +0 -321
  433. package/docs/modules/EclTagModule.html +0 -321
  434. package/docs/modules/EclTextAreaModule.html +0 -267
  435. package/docs/modules/EclTextInputModule.html +0 -267
  436. package/docs/modules/EclTimelineModule.html +0 -297
@@ -1,6 +1,6 @@
1
1
  import { isPlatformBrowser } from '@angular/common';
2
2
  import * as i0 from '@angular/core';
3
- import { inject, EventEmitter, ElementRef, Renderer2, PLATFORM_ID, booleanAttribute, HostListener, HostBinding, Output, Input, Directive, NgModule } from '@angular/core';
3
+ import { inject, EventEmitter, ElementRef, Renderer2, PLATFORM_ID, booleanAttribute, HostListener, HostBinding, Output, Input, Directive } from '@angular/core';
4
4
  import { NgControl } from '@angular/forms';
5
5
  import { TranslateService } from '@ngx-translate/core';
6
6
  import { Subject } from 'rxjs';
@@ -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: "21.0.0-rc.2", ngImport: i0, type: EclFileUploadDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
229
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "21.0.0-rc.2", 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.1", ngImport: i0, type: EclFileUploadDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
229
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "21.0.1", 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: "21.0.0-rc.2", ngImport: i0, type: EclFileUploadDirective, decorators: [{
231
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: EclFileUploadDirective, decorators: [{
232
232
  type: Directive,
233
233
  args: [{
234
234
  selector: '[eclFileUpload]',
@@ -273,24 +273,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ng
273
273
  args: ['change', ['$event']]
274
274
  }] } });
275
275
 
276
- /**
277
- * Module that provides the EclFileUpload directive.
278
- *
279
- * @deprecated Use {@link EUI_ECL_FILE_UPLOAD} instead.
280
- */
281
- class EclFileUploadModule {
282
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFileUploadModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
283
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFileUploadModule, imports: [EclFileUploadDirective], exports: [EclFileUploadDirective] }); }
284
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFileUploadModule }); }
285
- }
286
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFileUploadModule, decorators: [{
287
- type: NgModule,
288
- args: [{
289
- imports: [EclFileUploadDirective],
290
- exports: [EclFileUploadDirective],
291
- }]
292
- }] });
293
-
294
276
  const EUI_ECL_FILE_UPLOAD = [
295
277
  EclFileUploadDirective,
296
278
  ];
@@ -299,5 +281,5 @@ const EUI_ECL_FILE_UPLOAD = [
299
281
  * Generated bundle index. Do not edit.
300
282
  */
301
283
 
302
- export { EUI_ECL_FILE_UPLOAD, EclFileUploadDirective, EclFileUploadFileSelectedEvent, EclFileUploadModule };
284
+ export { EUI_ECL_FILE_UPLOAD, EclFileUploadDirective, EclFileUploadFileSelectedEvent };
303
285
  //# sourceMappingURL=eui-ecl-components-ecl-file-upload.mjs.map
@@ -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,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,WAAW,CAAC;AA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EAAE,iBAAiB;AAC9B,iBAAA;;sBAOI;;sBAKA;;sBAKA;;sBAAS,WAAW;uBAAC,SAAS;;sBAK9B,KAAK;uBAAC,EAAE,SAAS,EAAE,gBAAgB,EAAE;;sBACrC,WAAW;uBAAC,eAAe;;sBAM3B,KAAK;uBAAC,EAAE,SAAS,EAAE,gBAAgB,EAAE;;sBACrC,WAAW;uBAAC,eAAe;;sBAM3B;;sBAKA,WAAW;uBAAC,WAAW;;sBAiBvB,WAAW;uBAAC,OAAO;;sBASnB,WAAW;uBAAC,gCAAgC;;sBA0C5C,YAAY;uBAAC,OAAO,EAAE,CAAC,QAAQ,CAAC;;sBAUhC,YAAY;uBAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC;;;ACnJtC;;;;AAIG;MAKU,mBAAmB,CAAA;mHAAnB,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;oHAAnB,mBAAmB,EAAA,OAAA,EAAA,CAHlB,sBAAsB,CAAA,EAAA,OAAA,EAAA,CACtB,sBAAsB,CAAA,EAAA,CAAA,CAAA;oHAEvB,mBAAmB,EAAA,CAAA,CAAA;;gGAAnB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAJ/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,sBAAsB,CAAC;oBACjC,OAAO,EAAE,CAAC,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/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 { EclFileUploadDirective } from './ecl-file-upload.directive';\n\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_UPL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AAE,SAAS,EAAE,gBAAgB,EAAE;;sBACrC,WAAW;uBAAC,eAAe;;sBAM3B,KAAK;uBAAC,EAAE,SAAS,EAAE,gBAAgB,EAAE;;sBACrC,WAAW;uBAAC,eAAe;;sBAM3B;;sBAKA,WAAW;uBAAC,WAAW;;sBAiBvB,WAAW;uBAAC,OAAO;;sBASnB,WAAW;uBAAC,gCAAgC;;sBA0C5C,YAAY;uBAAC,OAAO,EAAE,CAAC,QAAQ,CAAC;;sBAUhC,YAAY;uBAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC;;;AChJ/B,MAAM,mBAAmB,GAAG;IAC/B,sBAAsB;;;ACP1B;;AAEG;;;;"}
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { HostBinding, Directive, Input, inject, ContentChild, Component, booleanAttribute, EventEmitter, ContentChildren, Output, NgModule } from '@angular/core';
2
+ import { HostBinding, Directive, Input, inject, ContentChild, Component, booleanAttribute, EventEmitter, ContentChildren, Output } from '@angular/core';
3
3
  import { ECLBaseDirective, EclThemeService, EclBaseEvent } from '@eui/ecl/core';
4
4
  import * as i1 from '@eui/ecl/components/ecl-icon';
5
5
  import { EUI_ECL_ICON } from '@eui/ecl/components/ecl-icon';
@@ -22,10 +22,10 @@ class EclFileTranslationDownloadDirective extends ECLBaseDirective {
22
22
  */
23
23
  this.className = true;
24
24
  }
25
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFileTranslationDownloadDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
26
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.0-rc.2", type: EclFileTranslationDownloadDirective, isStandalone: true, selector: "[eclFileTranslationDownload]", host: { properties: { "class.ecl-file__translation-download": "this.className" } }, usesInheritance: true, ngImport: i0 }); }
25
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: EclFileTranslationDownloadDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
26
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.1", type: EclFileTranslationDownloadDirective, isStandalone: true, selector: "[eclFileTranslationDownload]", host: { properties: { "class.ecl-file__translation-download": "this.className" } }, usesInheritance: true, ngImport: i0 }); }
27
27
  }
28
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFileTranslationDownloadDirective, decorators: [{
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: EclFileTranslationDownloadDirective, decorators: [{
29
29
  type: Directive,
30
30
  args: [{
31
31
  selector: '[eclFileTranslationDownload]',
@@ -45,10 +45,10 @@ class EclFileDownloadDirective extends ECLBaseDirective {
45
45
  */
46
46
  this.className = true;
47
47
  }
48
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFileDownloadDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
49
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.0-rc.2", type: EclFileDownloadDirective, isStandalone: true, selector: "[eclFileDownload]", host: { properties: { "class.ecl-file__download": "this.className" } }, usesInheritance: true, ngImport: i0 }); }
48
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: EclFileDownloadDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
49
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.1", type: EclFileDownloadDirective, isStandalone: true, selector: "[eclFileDownload]", host: { properties: { "class.ecl-file__download": "this.className" } }, usesInheritance: true, ngImport: i0 }); }
50
50
  }
51
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFileDownloadDirective, decorators: [{
51
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: EclFileDownloadDirective, decorators: [{
52
52
  type: Directive,
53
53
  args: [{
54
54
  selector: '[eclFileDownload]',
@@ -73,10 +73,10 @@ class EclFilePreviewDirective extends ECLBaseDirective {
73
73
  */
74
74
  this.hasClassStandalone = true;
75
75
  }
76
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFilePreviewDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
77
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.0-rc.2", type: EclFilePreviewDirective, isStandalone: true, selector: "[eclFilePreview]", host: { properties: { "style.margin-inline-end.px": "24", "class.ecl-link": "this.hasClass", "class.ecl-link--standalone": "this.hasClassStandalone" } }, usesInheritance: true, ngImport: i0 }); }
76
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: EclFilePreviewDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
77
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.1", type: EclFilePreviewDirective, isStandalone: true, selector: "[eclFilePreview]", host: { properties: { "style.margin-inline-end.px": "24", "class.ecl-link": "this.hasClass", "class.ecl-link--standalone": "this.hasClassStandalone" } }, usesInheritance: true, ngImport: i0 }); }
78
78
  }
79
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFilePreviewDirective, decorators: [{
79
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: EclFilePreviewDirective, decorators: [{
80
80
  type: Directive,
81
81
  args: [{
82
82
  selector: '[eclFilePreview]',
@@ -103,10 +103,10 @@ class EclFilePictureDirective extends ECLBaseDirective {
103
103
  get cssClasses() {
104
104
  return [super.getCssClasses('ecl-picture ecl-file__picture')].join(' ').trim();
105
105
  }
106
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFilePictureDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
107
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.0-rc.2", type: EclFilePictureDirective, isStandalone: true, selector: "picture[eclFilePicture]", host: { properties: { "class": "this.cssClasses" } }, usesInheritance: true, ngImport: i0 }); }
106
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: EclFilePictureDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
107
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.1", type: EclFilePictureDirective, isStandalone: true, selector: "picture[eclFilePicture]", host: { properties: { "class": "this.cssClasses" } }, usesInheritance: true, ngImport: i0 }); }
108
108
  }
109
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFilePictureDirective, decorators: [{
109
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: EclFilePictureDirective, decorators: [{
110
110
  type: Directive,
111
111
  args: [{
112
112
  selector: 'picture[eclFilePicture]',
@@ -127,10 +127,10 @@ class EclFileImageDirective extends ECLBaseDirective {
127
127
  */
128
128
  this.className = true;
129
129
  }
130
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFileImageDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
131
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.0-rc.2", type: EclFileImageDirective, isStandalone: true, selector: "img[eclFileImage]", host: { properties: { "class.ecl-file__image": "this.className" } }, usesInheritance: true, ngImport: i0 }); }
130
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: EclFileImageDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
131
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.1", type: EclFileImageDirective, isStandalone: true, selector: "img[eclFileImage]", host: { properties: { "class.ecl-file__image": "this.className" } }, usesInheritance: true, ngImport: i0 }); }
132
132
  }
133
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFileImageDirective, decorators: [{
133
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: EclFileImageDirective, decorators: [{
134
134
  type: Directive,
135
135
  args: [{
136
136
  selector: 'img[eclFileImage]',
@@ -150,10 +150,10 @@ class EclFileTitleDirective extends ECLBaseDirective {
150
150
  */
151
151
  this.className = true;
152
152
  }
153
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFileTitleDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
154
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.0-rc.2", type: EclFileTitleDirective, isStandalone: true, selector: "[eclFileTitle]", inputs: { id: "id" }, host: { properties: { "class.ecl-file__title": "this.className" } }, usesInheritance: true, ngImport: i0 }); }
153
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: EclFileTitleDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
154
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.1", type: EclFileTitleDirective, isStandalone: true, selector: "[eclFileTitle]", inputs: { id: "id" }, host: { properties: { "class.ecl-file__title": "this.className" } }, usesInheritance: true, ngImport: i0 }); }
155
155
  }
156
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFileTitleDirective, decorators: [{
156
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: EclFileTitleDirective, decorators: [{
157
157
  type: Directive,
158
158
  args: [{
159
159
  selector: '[eclFileTitle]',
@@ -187,10 +187,10 @@ class EclFileComponent extends ECLBaseDirective {
187
187
  get isThumbnail() {
188
188
  return !!this.eclPictureContent;
189
189
  }
190
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFileComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
191
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.0-rc.2", type: EclFileComponent, isStandalone: true, selector: "ecl-file", inputs: { description: "description", id: "id", langId: "langId", labelInfo: "labelInfo", language: "language", detailMeta: "detailMeta", meta: "meta" }, host: { properties: { "class": "this.cssClasses" } }, queries: [{ propertyName: "eclPictureContent", first: true, predicate: EclFilePictureDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"ecl-file__container\">\n @if(!isThumbnail) {\n @if(eclThemeService.isECTheme()) {\n <ecl-icon icon=\"file\" class=\"ecl-file__icon\" size=\"2xl\"></ecl-icon>\n } @else {\n <ecl-icon icon=\"file\" class=\"ecl-file__icon\" size=\"m\"></ecl-icon>\n }\n } @else {\n <ng-content select=\"[eclFilePicture]\"></ng-content>\n }\n <div class=\"ecl-file__info\">\n @if(labelInfo) {\n <div class=\"ecl-file__label\">\n <span eclLabel variant=\"highlight\">{{ labelInfo }}</span>\n </div>\n }\n @if(detailMeta) {\n <ul class=\"ecl-file__detail-meta\">\n @for (el of detailMeta; track el) {\n <li class=\"ecl-file__detail-meta-item\" >{{ el }}</li>\n }\n </ul>\n }\n <ng-content select=\"[eclFileTitle]\"></ng-content>\n @if(description) {\n <div class=\"ecl-file__description\">{{ description }}</div>\n }\n <ng-content select=\"ecl-file-taxonomy\"></ng-content>\n </div>\n\n </div>\n <div class=\"ecl-file__footer\">\n <div class=\"ecl-file__language\" [id]=\"langId\">{{ language }}</div>\n <div class=\"ecl-file__meta\">{{ meta }}</div>\n <div class=\"ecl-file__action\">\n <ng-content select=\"[eclFilePreview]\"></ng-content>\n <ng-content select=\"[eclFileDownload]\"></ng-content>\n </div>\n </div>\n<ng-content></ng-content>\n", styles: [":host{display:block}\n"], dependencies: [{ kind: "component", type: i1.EclIconComponent, selector: "ecl-icon", inputs: ["iconSet", "icon", "size", "color", "transform", "ariaLabelledby", "role", "title", "ariaHidden", "focusable", "isFlipHorizontal"] }, { kind: "directive", type: i2.EclLabelDirective, selector: "[eclLabel]", inputs: ["variant"] }] }); }
190
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: EclFileComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
191
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.1", type: EclFileComponent, isStandalone: true, selector: "ecl-file", inputs: { description: "description", id: "id", langId: "langId", labelInfo: "labelInfo", language: "language", detailMeta: "detailMeta", meta: "meta" }, host: { properties: { "class": "this.cssClasses" } }, queries: [{ propertyName: "eclPictureContent", first: true, predicate: EclFilePictureDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"ecl-file__container\">\n @if(!isThumbnail) {\n @if(eclThemeService.isECTheme()) {\n <ecl-icon icon=\"file\" class=\"ecl-file__icon\" size=\"2xl\"></ecl-icon>\n } @else {\n <ecl-icon icon=\"file\" class=\"ecl-file__icon\" size=\"m\"></ecl-icon>\n }\n } @else {\n <ng-content select=\"[eclFilePicture]\"></ng-content>\n }\n <div class=\"ecl-file__info\">\n @if(labelInfo) {\n <div class=\"ecl-file__label\">\n <span eclLabel variant=\"highlight\">{{ labelInfo }}</span>\n </div>\n }\n @if(detailMeta) {\n <ul class=\"ecl-file__detail-meta\">\n @for (el of detailMeta; track el) {\n <li class=\"ecl-file__detail-meta-item\" >{{ el }}</li>\n }\n </ul>\n }\n <ng-content select=\"[eclFileTitle]\"></ng-content>\n @if(description) {\n <div class=\"ecl-file__description\">{{ description }}</div>\n }\n <ng-content select=\"ecl-file-taxonomy\"></ng-content>\n </div>\n\n </div>\n <div class=\"ecl-file__footer\">\n <div class=\"ecl-file__language\" [id]=\"langId\">{{ language }}</div>\n <div class=\"ecl-file__meta\">{{ meta }}</div>\n <div class=\"ecl-file__action\">\n <ng-content select=\"[eclFilePreview]\"></ng-content>\n <ng-content select=\"[eclFileDownload]\"></ng-content>\n </div>\n </div>\n<ng-content></ng-content>\n", styles: [":host{display:block}\n"], dependencies: [{ kind: "component", type: i1.EclIconComponent, selector: "ecl-icon", inputs: ["iconSet", "icon", "size", "color", "transform", "ariaLabelledby", "role", "title", "ariaHidden", "focusable", "isFlipHorizontal"] }, { kind: "directive", type: i2.EclLabelDirective, selector: "[eclLabel]", inputs: ["variant"] }] }); }
192
192
  }
193
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFileComponent, decorators: [{
193
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: EclFileComponent, decorators: [{
194
194
  type: Component,
195
195
  args: [{ selector: 'ecl-file', imports: [
196
196
  ...EUI_ECL_ICON,
@@ -251,10 +251,10 @@ class EclFileItemComponent extends ECLBaseDirective {
251
251
  get isThumbnail() {
252
252
  return this.eclFileComponent && this.eclFileComponent.isThumbnail;
253
253
  }
254
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFileItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
255
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.0-rc.2", type: EclFileItemComponent, isStandalone: true, selector: "ecl-file-item", inputs: { isDescription: ["isDescription", "isDescription", booleanAttribute], eclTitle: "eclTitle", titleId: "titleId", meta: "meta", label: "label", langDetail: "langDetail" }, host: { properties: { "class": "this.cssClasses", "attr.role": "this.role" } }, usesInheritance: true, ngImport: i0, template: "@if (isDescription) {\n <ng-content></ng-content>\n} @else {\n <div class=\"ecl-file__translation-info\">\n <div class=\"ecl-file__translation-title\" [id]=\"titleId\" [attr.lang]=\"langDetail\">{{ eclTitle }}</div>\n <div class=\"ecl-file__translation-meta\">{{ meta }}</div>\n </div>\n <div class=\"ecl-file__translation-action\">\n <ng-content select=\"[eclFilePreview]\"></ng-content>\n <ng-content select=\"[eclFileTranslationDownload]\"></ng-content>\n </div>\n}\n" }); }
254
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: EclFileItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
255
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.1", type: EclFileItemComponent, isStandalone: true, selector: "ecl-file-item", inputs: { isDescription: ["isDescription", "isDescription", booleanAttribute], eclTitle: "eclTitle", titleId: "titleId", meta: "meta", label: "label", langDetail: "langDetail" }, host: { properties: { "class": "this.cssClasses", "attr.role": "this.role" } }, usesInheritance: true, ngImport: i0, template: "@if (isDescription) {\n <ng-content></ng-content>\n} @else {\n <div class=\"ecl-file__translation-info\">\n <div class=\"ecl-file__translation-title\" [id]=\"titleId\" [attr.lang]=\"langDetail\">{{ eclTitle }}</div>\n <div class=\"ecl-file__translation-meta\">{{ meta }}</div>\n </div>\n <div class=\"ecl-file__translation-action\">\n <ng-content select=\"[eclFilePreview]\"></ng-content>\n <ng-content select=\"[eclFileTranslationDownload]\"></ng-content>\n </div>\n}\n" }); }
256
256
  }
257
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFileItemComponent, decorators: [{
257
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: EclFileItemComponent, decorators: [{
258
258
  type: Component,
259
259
  args: [{ selector: 'ecl-file-item', template: "@if (isDescription) {\n <ng-content></ng-content>\n} @else {\n <div class=\"ecl-file__translation-info\">\n <div class=\"ecl-file__translation-title\" [id]=\"titleId\" [attr.lang]=\"langDetail\">{{ eclTitle }}</div>\n <div class=\"ecl-file__translation-meta\">{{ meta }}</div>\n </div>\n <div class=\"ecl-file__translation-action\">\n <ng-content select=\"[eclFilePreview]\"></ng-content>\n <ng-content select=\"[eclFileTranslationDownload]\"></ng-content>\n </div>\n}\n" }]
260
260
  }], propDecorators: { isDescription: [{
@@ -329,10 +329,10 @@ class EclFileItemsComponent extends ECLBaseDirective {
329
329
  this.isExpanded = nextExpandedState;
330
330
  }
331
331
  }
332
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFileItemsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
333
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "21.0.0-rc.2", type: EclFileItemsComponent, isStandalone: true, selector: "ecl-file-items", inputs: { label: "label", isExpanded: ["isExpanded", "isExpanded", booleanAttribute] }, outputs: { toggle: "toggle" }, host: { properties: { "class": "this.cssClasses" } }, queries: [{ propertyName: "items", predicate: EclFileItemComponent }], usesInheritance: true, ngImport: i0, template: "<button eclButton variant=\"tertiary\" class=\"ecl-file__translation-toggle\" [attr.aria-expanded]=\"isExpanded\" (click)=\"onToggleClick($event)\">\n <span eclButtonLabel>\n {{ label || 'ecl.file.OTHER-LANGUAGES' | translate: { count: getItemsCount() } }}\n </span>\n <ecl-icon icon=\"corner-arrow\" transform=\"rotate-180\"></ecl-icon>\n</button>\n<ul class=\"ecl-file__translation-list\">\n <ng-content></ng-content>\n</ul>\n", dependencies: [{ kind: "component", type: i1$1.EclButtonComponent, selector: "button[eclButton], button[ecl-button], a[eclButton]", inputs: ["isIconOnly", "variant", "eclStyle", "size", "containerStyleClass"] }, { kind: "directive", type: i1$1.EclButtonLabelDirective, selector: "[eclButtonLabel]" }, { kind: "component", type: i1.EclIconComponent, selector: "ecl-icon", inputs: ["iconSet", "icon", "size", "color", "transform", "ariaLabelledby", "role", "title", "ariaHidden", "focusable", "isFlipHorizontal"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }] }); }
332
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: EclFileItemsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
333
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "21.0.1", type: EclFileItemsComponent, isStandalone: true, selector: "ecl-file-items", inputs: { label: "label", isExpanded: ["isExpanded", "isExpanded", booleanAttribute] }, outputs: { toggle: "toggle" }, host: { properties: { "class": "this.cssClasses" } }, queries: [{ propertyName: "items", predicate: EclFileItemComponent }], usesInheritance: true, ngImport: i0, template: "<button eclButton variant=\"tertiary\" class=\"ecl-file__translation-toggle\" [attr.aria-expanded]=\"isExpanded\" (click)=\"onToggleClick($event)\">\n <span eclButtonLabel>\n {{ label || 'ecl.file.OTHER-LANGUAGES' | translate: { count: getItemsCount() } }}\n </span>\n <ecl-icon icon=\"corner-arrow\" transform=\"rotate-180\"></ecl-icon>\n</button>\n<ul class=\"ecl-file__translation-list\">\n <ng-content></ng-content>\n</ul>\n", dependencies: [{ kind: "component", type: i1$1.EclButtonComponent, selector: "button[eclButton], button[ecl-button], a[eclButton]", inputs: ["isIconOnly", "variant", "eclStyle", "size", "containerStyleClass"] }, { kind: "directive", type: i1$1.EclButtonLabelDirective, selector: "[eclButtonLabel]" }, { kind: "component", type: i1.EclIconComponent, selector: "ecl-icon", inputs: ["iconSet", "icon", "size", "color", "transform", "ariaLabelledby", "role", "title", "ariaHidden", "focusable", "isFlipHorizontal"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }] }); }
334
334
  }
335
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFileItemsComponent, decorators: [{
335
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: EclFileItemsComponent, decorators: [{
336
336
  type: Component,
337
337
  args: [{ selector: 'ecl-file-items', imports: [
338
338
  ...EUI_ECL_BUTTON,
@@ -364,10 +364,10 @@ class EclFileTaxonomyComponent extends ECLBaseDirective {
364
364
  get cssClasses() {
365
365
  return [super.getCssClasses('ecl-file__taxonomy')].join(' ').trim();
366
366
  }
367
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFileTaxonomyComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
368
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.0-rc.2", type: EclFileTaxonomyComponent, isStandalone: true, selector: "ecl-file-taxonomy", host: { properties: { "class": "this.cssClasses" } }, usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n" }); }
367
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: EclFileTaxonomyComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
368
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.1", type: EclFileTaxonomyComponent, isStandalone: true, selector: "ecl-file-taxonomy", host: { properties: { "class": "this.cssClasses" } }, usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n" }); }
369
369
  }
370
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFileTaxonomyComponent, decorators: [{
370
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: EclFileTaxonomyComponent, decorators: [{
371
371
  type: Component,
372
372
  args: [{ selector: 'ecl-file-taxonomy', template: "<ng-content></ng-content>\n" }]
373
373
  }], propDecorators: { cssClasses: [{
@@ -375,55 +375,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ng
375
375
  args: ['class']
376
376
  }] } });
377
377
 
378
- const COMPONENTS = [
379
- EclFileComponent,
380
- EclFileDownloadDirective,
381
- EclFileItemsComponent,
382
- EclFileItemComponent,
383
- EclFileTaxonomyComponent,
384
- EclFileTitleDirective,
385
- EclFileTranslationDownloadDirective,
386
- EclFilePictureDirective,
387
- EclFileImageDirective,
388
- EclFilePreviewDirective,
389
- ];
390
- /**
391
- * Module that provides the EclFile component and its dependencies.
392
- *
393
- * @deprecated Use {@link EUI_ECL_FILE} instead.
394
- */
395
- class EclFileModule {
396
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFileModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
397
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFileModule, imports: [EclFileComponent,
398
- EclFileDownloadDirective,
399
- EclFileItemsComponent,
400
- EclFileItemComponent,
401
- EclFileTaxonomyComponent,
402
- EclFileTitleDirective,
403
- EclFileTranslationDownloadDirective,
404
- EclFilePictureDirective,
405
- EclFileImageDirective,
406
- EclFilePreviewDirective], exports: [EclFileComponent,
407
- EclFileDownloadDirective,
408
- EclFileItemsComponent,
409
- EclFileItemComponent,
410
- EclFileTaxonomyComponent,
411
- EclFileTitleDirective,
412
- EclFileTranslationDownloadDirective,
413
- EclFilePictureDirective,
414
- EclFileImageDirective,
415
- EclFilePreviewDirective] }); }
416
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFileModule, imports: [EclFileComponent,
417
- EclFileItemsComponent] }); }
418
- }
419
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFileModule, decorators: [{
420
- type: NgModule,
421
- args: [{
422
- imports: [...COMPONENTS],
423
- exports: [...COMPONENTS],
424
- }]
425
- }] });
426
-
427
378
  const EUI_ECL_FILE = [
428
379
  EclFileComponent,
429
380
  EclFileDownloadDirective,
@@ -441,5 +392,5 @@ const EUI_ECL_FILE = [
441
392
  * Generated bundle index. Do not edit.
442
393
  */
443
394
 
444
- export { EUI_ECL_FILE, EclFileComponent, EclFileDownloadDirective, EclFileImageDirective, EclFileItemComponent, EclFileItemsComponent, EclFileItemsToggleEvent, EclFileModule, EclFilePictureDirective, EclFilePreviewDirective, EclFileTaxonomyComponent, EclFileTitleDirective, EclFileTranslationDownloadDirective };
395
+ export { EUI_ECL_FILE, EclFileComponent, EclFileDownloadDirective, EclFileImageDirective, EclFileItemComponent, EclFileItemsComponent, EclFileItemsToggleEvent, EclFilePictureDirective, EclFilePreviewDirective, EclFileTaxonomyComponent, EclFileTitleDirective, EclFileTranslationDownloadDirective };
445
396
  //# sourceMappingURL=eui-ecl-components-ecl-file.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"eui-ecl-components-ecl-file.mjs","sources":["../../components/ecl-file/ecl-file-download.directive.ts","../../components/ecl-file/ecl-file-picture.directive.ts","../../components/ecl-file/ecl-file.component.ts","../../components/ecl-file/ecl-file.component.html","../../components/ecl-file/ecl-file-item/ecl-file-item.component.ts","../../components/ecl-file/ecl-file-item/ecl-file-item.component.html","../../components/ecl-file/events/ecl-file-items-toggle.event.ts","../../components/ecl-file/ecl-file-items/ecl-file-items.component.ts","../../components/ecl-file/ecl-file-items/ecl-file-items.component.html","../../components/ecl-file/ecl-file-taxonomy/ecl-file-taxonomy.component.ts","../../components/ecl-file/ecl-file-taxonomy/ecl-file-taxonomy.component.html","../../components/ecl-file/ecl-file.module.ts","../../components/ecl-file/index.ts","../../components/ecl-file/eui-ecl-components-ecl-file.ts"],"sourcesContent":["import { Directive, HostBinding } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Directive to apply the correct styling class for a translation download link\n * inside a file component.\n */\n@Directive({\n selector: '[eclFileTranslationDownload]',\n})\nexport class EclFileTranslationDownloadDirective extends ECLBaseDirective {\n\n /**\n * Applies the ECL translation download class to the host element.\n */\n @HostBinding('class.ecl-file__translation-download') className = true;\n}\n\n/**\n * Directive to apply the correct styling class for a standard file download link.\n */\n@Directive({\n selector: '[eclFileDownload]',\n})\nexport class EclFileDownloadDirective extends ECLBaseDirective {\n\n /**\n * Applies the ECL download class to the host element.\n */\n @HostBinding('class.ecl-file__download') className = true;\n}\n\n/**\n * Directive to style a file preview link.\n * Adds spacing and ECL link classes for standalone appearance.\n */\n@Directive({\n selector: '[eclFilePreview]',\n host: {\n '[style.margin-inline-end.px]': '24',\n },\n})\nexport class EclFilePreviewDirective extends ECLBaseDirective {\n\n /**\n * Applies ECL link class to the host element.\n */\n @HostBinding('class.ecl-link') hasClass = true;\n\n /**\n * Applies the standalone variant of the ECL link class to the host element.\n */\n @HostBinding('class.ecl-link--standalone') hasClassStandalone = true;\n}\n","import { Directive, HostBinding, Input } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Directive to style a <picture> element used in an ECL file component.\n * Adds ECL-specific picture and file picture classes.\n */\n@Directive({\n selector: 'picture[eclFilePicture]',\n})\nexport class EclFilePictureDirective extends ECLBaseDirective {\n\n /**\n * Applies ECL picture styling classes to the host element.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-picture ecl-file__picture')].join(' ').trim();\n }\n}\n\n/**\n * Directive to style an <img> element inside an ECL file component.\n * Adds the ECL-specific image class.\n */\n@Directive({\n selector: 'img[eclFileImage]',\n})\nexport class EclFileImageDirective extends ECLBaseDirective {\n\n /**\n * Applies the ECL image class to the host element.\n */\n @HostBinding('class.ecl-file__image') className = true;\n}\n\n/**\n * Directive to style a title element in an ECL file component.\n */\n@Directive({\n selector: '[eclFileTitle]',\n})\nexport class EclFileTitleDirective extends ECLBaseDirective {\n\n /**\n * Applies the ECL file title class to the host element.\n */\n @HostBinding('class.ecl-file__title') className = true;\n\n /**\n * ID attribute for the title element.\n */\n @Input() id: string;\n}\n","import {\n Component,\n ContentChild,\n HostBinding,\n Input,\n inject,\n} from '@angular/core';\nimport { EUI_ECL_ICON } from '@eui/ecl/components/ecl-icon';\nimport { EUI_ECL_LABEL } from '@eui/ecl/components/ecl-label';\nimport { ECLBaseDirective, EclThemeService } from '@eui/ecl/core';\nimport { EclFilePictureDirective } from './ecl-file-picture.directive';\n\n/**\n * Component representing a file item with optional metadata, description,\n * and image (thumbnail) support.\n */\n@Component({\n selector: 'ecl-file',\n templateUrl: './ecl-file.component.html',\n imports: [\n ...EUI_ECL_ICON,\n ...EUI_ECL_LABEL,\n ],\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n})\nexport class EclFileComponent extends ECLBaseDirective {\n eclThemeService = inject(EclThemeService);\n\n /**\n * Host element CSS classes based on theme and content.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-file'), this.isThumbnail ? 'ecl-file--thumbnail' : ''].join(' ').trim();\n }\n\n /**\n * Optional description displayed under the file title.\n */\n @Input() description: string;\n\n /**\n * Optional ID for the file component, useful for accessibility or referencing.\n */\n @Input() id: string;\n\n /**\n * Optional language ID (e.g., for translation or accessibility attributes).\n */\n @Input() langId: string;\n\n /**\n * Additional label shown next to the language label, e.g. file type or status.\n */\n @Input() labelInfo: string;\n\n /**\n * Language indicator string (e.g. \"EN\", \"FR\") used in the label.\n */\n @Input() language: string;\n\n /**\n * Additional details displayed in the file component (e.g. file size, date).\n */\n @Input() detailMeta: string[];\n\n /**\n * Main metadata displayed for the file (e.g. format, license).\n */\n @Input() meta: string;\n\n /**\n * Optional image directive projected via content slot, used for thumbnails.\n */\n @ContentChild(EclFilePictureDirective) eclPictureContent: EclFilePictureDirective;\n\n /**\n * Determines whether the file has an associated thumbnail.\n * Returns true if an `EclFilePictureDirective` is present in projected content.\n */\n get isThumbnail(): boolean {\n return !!this.eclPictureContent;\n }\n}\n","<div class=\"ecl-file__container\">\n @if(!isThumbnail) {\n @if(eclThemeService.isECTheme()) {\n <ecl-icon icon=\"file\" class=\"ecl-file__icon\" size=\"2xl\"></ecl-icon>\n } @else {\n <ecl-icon icon=\"file\" class=\"ecl-file__icon\" size=\"m\"></ecl-icon>\n }\n } @else {\n <ng-content select=\"[eclFilePicture]\"></ng-content>\n }\n <div class=\"ecl-file__info\">\n @if(labelInfo) {\n <div class=\"ecl-file__label\">\n <span eclLabel variant=\"highlight\">{{ labelInfo }}</span>\n </div>\n }\n @if(detailMeta) {\n <ul class=\"ecl-file__detail-meta\">\n @for (el of detailMeta; track el) {\n <li class=\"ecl-file__detail-meta-item\" >{{ el }}</li>\n }\n </ul>\n }\n <ng-content select=\"[eclFileTitle]\"></ng-content>\n @if(description) {\n <div class=\"ecl-file__description\">{{ description }}</div>\n }\n <ng-content select=\"ecl-file-taxonomy\"></ng-content>\n </div>\n\n </div>\n <div class=\"ecl-file__footer\">\n <div class=\"ecl-file__language\" [id]=\"langId\">{{ language }}</div>\n <div class=\"ecl-file__meta\">{{ meta }}</div>\n <div class=\"ecl-file__action\">\n <ng-content select=\"[eclFilePreview]\"></ng-content>\n <ng-content select=\"[eclFileDownload]\"></ng-content>\n </div>\n </div>\n<ng-content></ng-content>\n","import { Component, HostBinding, Input, booleanAttribute, inject } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclFileComponent } from '../ecl-file.component';\n\n/**\n * Component representing a single file translation or descriptive item\n * inside the main ECL File component.\n */\n@Component({\n selector: 'ecl-file-item',\n templateUrl: './ecl-file-item.component.html',\n})\nexport class EclFileItemComponent extends ECLBaseDirective {\n /**\n * Indicates whether the item is a description block rather than a translation.\n * Adds the `ecl-file__translation-description` class when true.\n */\n @Input({ transform: booleanAttribute }) isDescription = false;\n\n /**\n * Title text of the file item.\n */\n @Input() eclTitle: string;\n\n /**\n * ID applied to the title element for accessibility.\n */\n @Input() titleId: string;\n\n /**\n * Additional metadata for the item (e.g., file size, type).\n */\n @Input() meta: string;\n\n /**\n * Language label displayed next to the title (e.g., \"FR\", \"EN\").\n */\n @Input() label: string;\n\n /**\n * Supplementary language detail displayed below the language label.\n */\n @Input() langDetail: string;\n\n /**\n * Host CSS classes for the item, based on the content and state.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [\n super.getCssClasses('ecl-file__translation-item'),\n this.isDescription ? 'ecl-file__translation-description' : '',\n ].join(' ').trim();\n }\n\n /**\n * ARIA role attribute set to 'listitem' for accessibility.\n */\n @HostBinding('attr.role') role = 'listitem';\n private eclFileComponent = inject(EclFileComponent);\n\n /**\n * Indicates whether the parent `EclFileComponent` has a thumbnail image.\n */\n get isThumbnail(): boolean {\n return this.eclFileComponent && this.eclFileComponent.isThumbnail;\n }\n}\n","@if (isDescription) {\n <ng-content></ng-content>\n} @else {\n <div class=\"ecl-file__translation-info\">\n <div class=\"ecl-file__translation-title\" [id]=\"titleId\" [attr.lang]=\"langDetail\">{{ eclTitle }}</div>\n <div class=\"ecl-file__translation-meta\">{{ meta }}</div>\n </div>\n <div class=\"ecl-file__translation-action\">\n <ng-content select=\"[eclFilePreview]\"></ng-content>\n <ng-content select=\"[eclFileTranslationDownload]\"></ng-content>\n </div>\n}\n","import { EclBaseEvent } from '@eui/ecl/core';\n\nexport class EclFileItemsToggleEvent extends EclBaseEvent {\n constructor(public isExpanded: boolean) {\n super();\n }\n}","import { Component, Input, ContentChildren, QueryList, Output, EventEmitter, HostBinding, booleanAttribute } from '@angular/core';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclFileItemComponent } from '../ecl-file-item/ecl-file-item.component';\nimport { EclFileItemsToggleEvent } from '../events/ecl-file-items-toggle.event';\nimport { EUI_ECL_ICON } from '@eui/ecl/components/ecl-icon';\nimport { EUI_ECL_BUTTON } from '@eui/ecl/components/ecl-button';\n\n/**\n * Component representing a container for file item translations within an ECL File component.\n * It can be expanded or collapsed, and emits an event when toggled.\n */\n@Component({\n selector: 'ecl-file-items',\n templateUrl: './ecl-file-items.component.html',\n imports: [\n ...EUI_ECL_BUTTON,\n ...EUI_ECL_ICON,\n TranslateModule,\n ],\n})\nexport class EclFileItemsComponent extends ECLBaseDirective {\n\n /**\n * CSS classes applied to the host element.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-file__translation-container')].join(' ').trim();\n }\n\n /**\n * Label displayed above the translations list.\n */\n @Input() label: string;\n\n /**\n * Whether the list is initially expanded.\n */\n @Input({ transform: booleanAttribute }) isExpanded = false;\n\n /**\n * Emits a toggle event when the translations list is expanded or collapsed.\n * \n * @remarks\n * Consumers can call `preventDefault()` on the event to cancel the toggle.\n */\n // eslint-disable-next-line\n @Output() toggle = new EventEmitter<EclFileItemsToggleEvent>();\n\n /**\n * Content-projected list of translation items (excluding description blocks).\n */\n @ContentChildren(EclFileItemComponent) items: QueryList<EclFileItemComponent>;\n\n /**\n * Returns the number of translation items excluding description entries.\n */\n getItemsCount(): number {\n return this.items.filter((item) => !item.isDescription).length;\n }\n\n /**\n * Toggles the expansion state of the translation list.\n * Emits `toggle` event and updates `isExpanded` if not prevented.\n */\n onToggleClick(evt: MouseEvent): void {\n const nextExpandedState = !this.isExpanded;\n const event = new EclFileItemsToggleEvent(nextExpandedState);\n\n this.toggle.next(event);\n\n if (!event.defaultPrevented) {\n this.isExpanded = nextExpandedState;\n }\n }\n}\n","<button eclButton variant=\"tertiary\" class=\"ecl-file__translation-toggle\" [attr.aria-expanded]=\"isExpanded\" (click)=\"onToggleClick($event)\">\n <span eclButtonLabel>\n {{ label || 'ecl.file.OTHER-LANGUAGES' | translate: { count: getItemsCount() } }}\n </span>\n <ecl-icon icon=\"corner-arrow\" transform=\"rotate-180\"></ecl-icon>\n</button>\n<ul class=\"ecl-file__translation-list\">\n <ng-content></ng-content>\n</ul>\n","import { Component, HostBinding } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Component representing the taxonomy section of a file in the ECL File component.\n */\n@Component({\n selector: 'ecl-file-taxonomy',\n templateUrl: './ecl-file-taxonomy.component.html',\n})\nexport class EclFileTaxonomyComponent extends ECLBaseDirective {\n\n /**\n * CSS classes applied to the host element.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-file__taxonomy')].join(' ').trim();\n }\n}\n","<ng-content></ng-content>\n","import { NgModule } from '@angular/core';\nimport { EclFileDownloadDirective, EclFilePreviewDirective, EclFileTranslationDownloadDirective } from './ecl-file-download.directive';\nimport { EclFileItemComponent } from './ecl-file-item/ecl-file-item.component';\nimport { EclFileItemsComponent } from './ecl-file-items/ecl-file-items.component';\nimport { EclFileImageDirective, EclFilePictureDirective, EclFileTitleDirective } from './ecl-file-picture.directive';\nimport { EclFileTaxonomyComponent } from './ecl-file-taxonomy/ecl-file-taxonomy.component';\nimport { EclFileComponent } from './ecl-file.component';\n\nconst COMPONENTS = [\n EclFileComponent,\n EclFileDownloadDirective,\n EclFileItemsComponent,\n EclFileItemComponent,\n EclFileTaxonomyComponent,\n EclFileTitleDirective,\n EclFileTranslationDownloadDirective,\n EclFilePictureDirective,\n EclFileImageDirective,\n EclFilePreviewDirective,\n];\n\n/**\n * Module that provides the EclFile component and its dependencies.\n *\n * @deprecated Use {@link EUI_ECL_FILE} instead.\n */\n@NgModule({\n imports: [...COMPONENTS],\n exports: [...COMPONENTS],\n})\nexport class EclFileModule {}\n","import { EclFileDownloadDirective, EclFilePreviewDirective, EclFileTranslationDownloadDirective } from './ecl-file-download.directive';\nimport { EclFileItemComponent } from './ecl-file-item/ecl-file-item.component';\nimport { EclFileItemsComponent } from './ecl-file-items/ecl-file-items.component';\nimport { EclFileImageDirective, EclFilePictureDirective, EclFileTitleDirective } from './ecl-file-picture.directive';\nimport { EclFileTaxonomyComponent } from './ecl-file-taxonomy/ecl-file-taxonomy.component';\nimport { EclFileComponent } from './ecl-file.component';\n\nexport * from './ecl-file.module';\nexport * from './ecl-file.component';\nexport * from './ecl-file-items/ecl-file-items.component';\nexport * from './ecl-file-item/ecl-file-item.component';\nexport * from './ecl-file-download.directive';\nexport * from './ecl-file-taxonomy/ecl-file-taxonomy.component';\nexport * from './ecl-file-picture.directive';\nexport * from './events/ecl-file-items-toggle.event';\n\nexport const EUI_ECL_FILE = [\n EclFileComponent,\n EclFileDownloadDirective,\n EclFileItemsComponent,\n EclFileItemComponent,\n EclFileTaxonomyComponent,\n EclFileTitleDirective,\n EclFileTranslationDownloadDirective,\n EclFilePictureDirective,\n EclFileImageDirective,\n EclFilePreviewDirective,\n] as const;","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;AAGA;;;AAGG;AAIG,MAAO,mCAAoC,SAAQ,gBAAgB,CAAA;AAHzE,IAAA,WAAA,GAAA;;AAKI;;AAEG;QACkD,IAAA,CAAA,SAAS,GAAG,IAAI;AACxE,IAAA;mHANY,mCAAmC,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;uGAAnC,mCAAmC,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,8BAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,sCAAA,EAAA,gBAAA,EAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;gGAAnC,mCAAmC,EAAA,UAAA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;IACrB,uBAAuB;;;AC1B3B;;AAEG;;;;"}
1
+ {"version":3,"file":"eui-ecl-components-ecl-file.mjs","sources":["../../components/ecl-file/ecl-file-download.directive.ts","../../components/ecl-file/ecl-file-picture.directive.ts","../../components/ecl-file/ecl-file.component.ts","../../components/ecl-file/ecl-file.component.html","../../components/ecl-file/ecl-file-item/ecl-file-item.component.ts","../../components/ecl-file/ecl-file-item/ecl-file-item.component.html","../../components/ecl-file/events/ecl-file-items-toggle.event.ts","../../components/ecl-file/ecl-file-items/ecl-file-items.component.ts","../../components/ecl-file/ecl-file-items/ecl-file-items.component.html","../../components/ecl-file/ecl-file-taxonomy/ecl-file-taxonomy.component.ts","../../components/ecl-file/ecl-file-taxonomy/ecl-file-taxonomy.component.html","../../components/ecl-file/index.ts","../../components/ecl-file/eui-ecl-components-ecl-file.ts"],"sourcesContent":["import { Directive, HostBinding } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Directive to apply the correct styling class for a translation download link\n * inside a file component.\n */\n@Directive({\n selector: '[eclFileTranslationDownload]',\n})\nexport class EclFileTranslationDownloadDirective extends ECLBaseDirective {\n\n /**\n * Applies the ECL translation download class to the host element.\n */\n @HostBinding('class.ecl-file__translation-download') className = true;\n}\n\n/**\n * Directive to apply the correct styling class for a standard file download link.\n */\n@Directive({\n selector: '[eclFileDownload]',\n})\nexport class EclFileDownloadDirective extends ECLBaseDirective {\n\n /**\n * Applies the ECL download class to the host element.\n */\n @HostBinding('class.ecl-file__download') className = true;\n}\n\n/**\n * Directive to style a file preview link.\n * Adds spacing and ECL link classes for standalone appearance.\n */\n@Directive({\n selector: '[eclFilePreview]',\n host: {\n '[style.margin-inline-end.px]': '24',\n },\n})\nexport class EclFilePreviewDirective extends ECLBaseDirective {\n\n /**\n * Applies ECL link class to the host element.\n */\n @HostBinding('class.ecl-link') hasClass = true;\n\n /**\n * Applies the standalone variant of the ECL link class to the host element.\n */\n @HostBinding('class.ecl-link--standalone') hasClassStandalone = true;\n}\n","import { Directive, HostBinding, Input } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Directive to style a <picture> element used in an ECL file component.\n * Adds ECL-specific picture and file picture classes.\n */\n@Directive({\n selector: 'picture[eclFilePicture]',\n})\nexport class EclFilePictureDirective extends ECLBaseDirective {\n\n /**\n * Applies ECL picture styling classes to the host element.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-picture ecl-file__picture')].join(' ').trim();\n }\n}\n\n/**\n * Directive to style an <img> element inside an ECL file component.\n * Adds the ECL-specific image class.\n */\n@Directive({\n selector: 'img[eclFileImage]',\n})\nexport class EclFileImageDirective extends ECLBaseDirective {\n\n /**\n * Applies the ECL image class to the host element.\n */\n @HostBinding('class.ecl-file__image') className = true;\n}\n\n/**\n * Directive to style a title element in an ECL file component.\n */\n@Directive({\n selector: '[eclFileTitle]',\n})\nexport class EclFileTitleDirective extends ECLBaseDirective {\n\n /**\n * Applies the ECL file title class to the host element.\n */\n @HostBinding('class.ecl-file__title') className = true;\n\n /**\n * ID attribute for the title element.\n */\n @Input() id: string;\n}\n","import {\n Component,\n ContentChild,\n HostBinding,\n Input,\n inject,\n} from '@angular/core';\nimport { EUI_ECL_ICON } from '@eui/ecl/components/ecl-icon';\nimport { EUI_ECL_LABEL } from '@eui/ecl/components/ecl-label';\nimport { ECLBaseDirective, EclThemeService } from '@eui/ecl/core';\nimport { EclFilePictureDirective } from './ecl-file-picture.directive';\n\n/**\n * Component representing a file item with optional metadata, description,\n * and image (thumbnail) support.\n */\n@Component({\n selector: 'ecl-file',\n templateUrl: './ecl-file.component.html',\n imports: [\n ...EUI_ECL_ICON,\n ...EUI_ECL_LABEL,\n ],\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n})\nexport class EclFileComponent extends ECLBaseDirective {\n eclThemeService = inject(EclThemeService);\n\n /**\n * Host element CSS classes based on theme and content.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-file'), this.isThumbnail ? 'ecl-file--thumbnail' : ''].join(' ').trim();\n }\n\n /**\n * Optional description displayed under the file title.\n */\n @Input() description: string;\n\n /**\n * Optional ID for the file component, useful for accessibility or referencing.\n */\n @Input() id: string;\n\n /**\n * Optional language ID (e.g., for translation or accessibility attributes).\n */\n @Input() langId: string;\n\n /**\n * Additional label shown next to the language label, e.g. file type or status.\n */\n @Input() labelInfo: string;\n\n /**\n * Language indicator string (e.g. \"EN\", \"FR\") used in the label.\n */\n @Input() language: string;\n\n /**\n * Additional details displayed in the file component (e.g. file size, date).\n */\n @Input() detailMeta: string[];\n\n /**\n * Main metadata displayed for the file (e.g. format, license).\n */\n @Input() meta: string;\n\n /**\n * Optional image directive projected via content slot, used for thumbnails.\n */\n @ContentChild(EclFilePictureDirective) eclPictureContent: EclFilePictureDirective;\n\n /**\n * Determines whether the file has an associated thumbnail.\n * Returns true if an `EclFilePictureDirective` is present in projected content.\n */\n get isThumbnail(): boolean {\n return !!this.eclPictureContent;\n }\n}\n","<div class=\"ecl-file__container\">\n @if(!isThumbnail) {\n @if(eclThemeService.isECTheme()) {\n <ecl-icon icon=\"file\" class=\"ecl-file__icon\" size=\"2xl\"></ecl-icon>\n } @else {\n <ecl-icon icon=\"file\" class=\"ecl-file__icon\" size=\"m\"></ecl-icon>\n }\n } @else {\n <ng-content select=\"[eclFilePicture]\"></ng-content>\n }\n <div class=\"ecl-file__info\">\n @if(labelInfo) {\n <div class=\"ecl-file__label\">\n <span eclLabel variant=\"highlight\">{{ labelInfo }}</span>\n </div>\n }\n @if(detailMeta) {\n <ul class=\"ecl-file__detail-meta\">\n @for (el of detailMeta; track el) {\n <li class=\"ecl-file__detail-meta-item\" >{{ el }}</li>\n }\n </ul>\n }\n <ng-content select=\"[eclFileTitle]\"></ng-content>\n @if(description) {\n <div class=\"ecl-file__description\">{{ description }}</div>\n }\n <ng-content select=\"ecl-file-taxonomy\"></ng-content>\n </div>\n\n </div>\n <div class=\"ecl-file__footer\">\n <div class=\"ecl-file__language\" [id]=\"langId\">{{ language }}</div>\n <div class=\"ecl-file__meta\">{{ meta }}</div>\n <div class=\"ecl-file__action\">\n <ng-content select=\"[eclFilePreview]\"></ng-content>\n <ng-content select=\"[eclFileDownload]\"></ng-content>\n </div>\n </div>\n<ng-content></ng-content>\n","import { Component, HostBinding, Input, booleanAttribute, inject } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclFileComponent } from '../ecl-file.component';\n\n/**\n * Component representing a single file translation or descriptive item\n * inside the main ECL File component.\n */\n@Component({\n selector: 'ecl-file-item',\n templateUrl: './ecl-file-item.component.html',\n})\nexport class EclFileItemComponent extends ECLBaseDirective {\n /**\n * Indicates whether the item is a description block rather than a translation.\n * Adds the `ecl-file__translation-description` class when true.\n */\n @Input({ transform: booleanAttribute }) isDescription = false;\n\n /**\n * Title text of the file item.\n */\n @Input() eclTitle: string;\n\n /**\n * ID applied to the title element for accessibility.\n */\n @Input() titleId: string;\n\n /**\n * Additional metadata for the item (e.g., file size, type).\n */\n @Input() meta: string;\n\n /**\n * Language label displayed next to the title (e.g., \"FR\", \"EN\").\n */\n @Input() label: string;\n\n /**\n * Supplementary language detail displayed below the language label.\n */\n @Input() langDetail: string;\n\n /**\n * Host CSS classes for the item, based on the content and state.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [\n super.getCssClasses('ecl-file__translation-item'),\n this.isDescription ? 'ecl-file__translation-description' : '',\n ].join(' ').trim();\n }\n\n /**\n * ARIA role attribute set to 'listitem' for accessibility.\n */\n @HostBinding('attr.role') role = 'listitem';\n private eclFileComponent = inject(EclFileComponent);\n\n /**\n * Indicates whether the parent `EclFileComponent` has a thumbnail image.\n */\n get isThumbnail(): boolean {\n return this.eclFileComponent && this.eclFileComponent.isThumbnail;\n }\n}\n","@if (isDescription) {\n <ng-content></ng-content>\n} @else {\n <div class=\"ecl-file__translation-info\">\n <div class=\"ecl-file__translation-title\" [id]=\"titleId\" [attr.lang]=\"langDetail\">{{ eclTitle }}</div>\n <div class=\"ecl-file__translation-meta\">{{ meta }}</div>\n </div>\n <div class=\"ecl-file__translation-action\">\n <ng-content select=\"[eclFilePreview]\"></ng-content>\n <ng-content select=\"[eclFileTranslationDownload]\"></ng-content>\n </div>\n}\n","import { EclBaseEvent } from '@eui/ecl/core';\n\nexport class EclFileItemsToggleEvent extends EclBaseEvent {\n constructor(public isExpanded: boolean) {\n super();\n }\n}","import { Component, Input, ContentChildren, QueryList, Output, EventEmitter, HostBinding, booleanAttribute } from '@angular/core';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclFileItemComponent } from '../ecl-file-item/ecl-file-item.component';\nimport { EclFileItemsToggleEvent } from '../events/ecl-file-items-toggle.event';\nimport { EUI_ECL_ICON } from '@eui/ecl/components/ecl-icon';\nimport { EUI_ECL_BUTTON } from '@eui/ecl/components/ecl-button';\n\n/**\n * Component representing a container for file item translations within an ECL File component.\n * It can be expanded or collapsed, and emits an event when toggled.\n */\n@Component({\n selector: 'ecl-file-items',\n templateUrl: './ecl-file-items.component.html',\n imports: [\n ...EUI_ECL_BUTTON,\n ...EUI_ECL_ICON,\n TranslateModule,\n ],\n})\nexport class EclFileItemsComponent extends ECLBaseDirective {\n\n /**\n * CSS classes applied to the host element.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-file__translation-container')].join(' ').trim();\n }\n\n /**\n * Label displayed above the translations list.\n */\n @Input() label: string;\n\n /**\n * Whether the list is initially expanded.\n */\n @Input({ transform: booleanAttribute }) isExpanded = false;\n\n /**\n * Emits a toggle event when the translations list is expanded or collapsed.\n * \n * @remarks\n * Consumers can call `preventDefault()` on the event to cancel the toggle.\n */\n // eslint-disable-next-line\n @Output() toggle = new EventEmitter<EclFileItemsToggleEvent>();\n\n /**\n * Content-projected list of translation items (excluding description blocks).\n */\n @ContentChildren(EclFileItemComponent) items: QueryList<EclFileItemComponent>;\n\n /**\n * Returns the number of translation items excluding description entries.\n */\n getItemsCount(): number {\n return this.items.filter((item) => !item.isDescription).length;\n }\n\n /**\n * Toggles the expansion state of the translation list.\n * Emits `toggle` event and updates `isExpanded` if not prevented.\n */\n onToggleClick(evt: MouseEvent): void {\n const nextExpandedState = !this.isExpanded;\n const event = new EclFileItemsToggleEvent(nextExpandedState);\n\n this.toggle.next(event);\n\n if (!event.defaultPrevented) {\n this.isExpanded = nextExpandedState;\n }\n }\n}\n","<button eclButton variant=\"tertiary\" class=\"ecl-file__translation-toggle\" [attr.aria-expanded]=\"isExpanded\" (click)=\"onToggleClick($event)\">\n <span eclButtonLabel>\n {{ label || 'ecl.file.OTHER-LANGUAGES' | translate: { count: getItemsCount() } }}\n </span>\n <ecl-icon icon=\"corner-arrow\" transform=\"rotate-180\"></ecl-icon>\n</button>\n<ul class=\"ecl-file__translation-list\">\n <ng-content></ng-content>\n</ul>\n","import { Component, HostBinding } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Component representing the taxonomy section of a file in the ECL File component.\n */\n@Component({\n selector: 'ecl-file-taxonomy',\n templateUrl: './ecl-file-taxonomy.component.html',\n})\nexport class EclFileTaxonomyComponent extends ECLBaseDirective {\n\n /**\n * CSS classes applied to the host element.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-file__taxonomy')].join(' ').trim();\n }\n}\n","<ng-content></ng-content>\n","import { EclFileDownloadDirective, EclFilePreviewDirective, EclFileTranslationDownloadDirective } from './ecl-file-download.directive';\nimport { EclFileItemComponent } from './ecl-file-item/ecl-file-item.component';\nimport { EclFileItemsComponent } from './ecl-file-items/ecl-file-items.component';\nimport { EclFileImageDirective, EclFilePictureDirective, EclFileTitleDirective } from './ecl-file-picture.directive';\nimport { EclFileTaxonomyComponent } from './ecl-file-taxonomy/ecl-file-taxonomy.component';\nimport { EclFileComponent } from './ecl-file.component';\n\nexport * from './ecl-file.component';\nexport * from './ecl-file-items/ecl-file-items.component';\nexport * from './ecl-file-item/ecl-file-item.component';\nexport * from './ecl-file-download.directive';\nexport * from './ecl-file-taxonomy/ecl-file-taxonomy.component';\nexport * from './ecl-file-picture.directive';\nexport * from './events/ecl-file-items-toggle.event';\n\nexport const EUI_ECL_FILE = [\n EclFileComponent,\n EclFileDownloadDirective,\n EclFileItemsComponent,\n EclFileItemComponent,\n EclFileTaxonomyComponent,\n EclFileTitleDirective,\n EclFileTranslationDownloadDirective,\n EclFilePictureDirective,\n EclFileImageDirective,\n EclFilePreviewDirective,\n] as const;","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;AAGA;;;AAGG;AAIG,MAAO,mCAAoC,SAAQ,gBAAgB,CAAA;AAHzE,IAAA,WAAA,GAAA;;AAKI;;AAEG;QACkD,IAAA,CAAA,SAAS,GAAG,IAAI;AACxE,IAAA;8GANY,mCAAmC,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAnC,mCAAmC,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,8BAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,sCAAA,EAAA,gBAAA,EAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAnC,mCAAmC,EAAA,UAAA,EAAA,CAAA;kBAH/C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,8BAA8B;AAC3C,iBAAA;;sBAMI,WAAW;uBAAC,sCAAsC;;AAGvD;;AAEG;AAIG,MAAO,wBAAyB,SAAQ,gBAAgB,CAAA;AAH9D,IAAA,WAAA,GAAA;;AAKI;;AAEG;QACsC,IAAA,CAAA,SAAS,GAAG,IAAI;AAC5D,IAAA;8GANY,wBAAwB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA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WAAW;uBAAC,OAAO;;sBAQnB;;sBAKA,KAAK;uBAAC,EAAE,SAAS,EAAE,gBAAgB,EAAE;;sBASrC;;sBAKA,eAAe;uBAAC,oBAAoB;;;AElDzC;;AAEG;AAKG,MAAO,wBAAyB,SAAQ,gBAAgB,CAAA;AAE1D;;AAEG;AACH,IAAA,IACI,UAAU,GAAA;AACV,QAAA,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,oBAAoB,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE;IACvE;8GARS,wBAAwB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAxB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,wBAAwB,0JCVrC,6BACA,EAAA,CAAA,CAAA;;2FDSa,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAJpC,SAAS;+BACI,mBAAmB,EAAA,QAAA,EAAA,6BAAA,EAAA;;sBAQ5B,WAAW;uBAAC,OAAO;;;AEAjB,MAAM,YAAY,GAAG;IACxB,gBAAgB;IAChB,wBAAwB;IACxB,qBAAqB;IACrB,oBAAoB;IACpB,wBAAwB;IACxB,qBAAqB;IACrB,mCAAmC;IACnC,uBAAuB;IACvB,qBAAqB;IACrB,uBAAuB;;;ACzB3B;;AAEG;;;;"}
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { HostBinding, forwardRef, ContentChildren, Component, NgModule } from '@angular/core';
2
+ import { HostBinding, forwardRef, ContentChildren, Component } from '@angular/core';
3
3
  import { ECLBaseDirective } from '@eui/ecl/core';
4
4
  import { EclRangeDirective } from '@eui/ecl/components/ecl-range';
5
5
 
@@ -25,10 +25,10 @@ class EclFormGroupComponent extends ECLBaseDirective {
25
25
  get hasEclRange() {
26
26
  return this.eclRange.length > 0 || null;
27
27
  }
28
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFormGroupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
29
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.0-rc.2", type: EclFormGroupComponent, isStandalone: true, selector: "[eclFormGroup], ecl-form-group", host: { properties: { "class": "this.cssClasses", "attr.data-ecl-range": "this.hasEclRange" } }, queries: [{ propertyName: "eclRange", predicate: i0.forwardRef(() => EclRangeDirective), descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n" }); }
28
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: EclFormGroupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
29
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.1", type: EclFormGroupComponent, isStandalone: true, selector: "[eclFormGroup], ecl-form-group", host: { properties: { "class": "this.cssClasses", "attr.data-ecl-range": "this.hasEclRange" } }, queries: [{ propertyName: "eclRange", predicate: i0.forwardRef(() => EclRangeDirective), descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n" }); }
30
30
  }
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFormGroupComponent, decorators: [{
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: EclFormGroupComponent, decorators: [{
32
32
  type: Component,
33
33
  args: [{ selector: '[eclFormGroup], ecl-form-group', template: "<ng-content></ng-content>\n" }]
34
34
  }], propDecorators: { eclRange: [{
@@ -42,24 +42,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ng
42
42
  args: ['attr.data-ecl-range']
43
43
  }] } });
44
44
 
45
- /**
46
- * Module that provides the EclFormGroup component.
47
- *
48
- * @deprecated Use {@link EUI_ECL_FORM_GROUP} instead.
49
- */
50
- class EclFormGroupModule {
51
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFormGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
52
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFormGroupModule, imports: [EclFormGroupComponent], exports: [EclFormGroupComponent] }); }
53
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFormGroupModule }); }
54
- }
55
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFormGroupModule, decorators: [{
56
- type: NgModule,
57
- args: [{
58
- imports: [EclFormGroupComponent],
59
- exports: [EclFormGroupComponent],
60
- }]
61
- }] });
62
-
63
45
  const EUI_ECL_FORM_GROUP = [
64
46
  EclFormGroupComponent,
65
47
  ];
@@ -68,5 +50,5 @@ const EUI_ECL_FORM_GROUP = [
68
50
  * Generated bundle index. Do not edit.
69
51
  */
70
52
 
71
- export { EUI_ECL_FORM_GROUP, EclFormGroupComponent, EclFormGroupModule };
53
+ export { EUI_ECL_FORM_GROUP, EclFormGroupComponent };
72
54
  //# sourceMappingURL=eui-ecl-components-ecl-form-group.mjs.map