@eui/ecl 21.0.0-next.1 → 21.0.0-next.10

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 (290) hide show
  1. package/assets/i18n-ecl/bg.json +1 -2
  2. package/assets/i18n-ecl/cs.json +1 -2
  3. package/assets/i18n-ecl/da.json +1 -2
  4. package/assets/i18n-ecl/de.json +1 -2
  5. package/assets/i18n-ecl/el.json +1 -2
  6. package/assets/i18n-ecl/en.json +1 -2
  7. package/assets/i18n-ecl/es.json +1 -2
  8. package/assets/i18n-ecl/et.json +1 -2
  9. package/assets/i18n-ecl/fi.json +1 -2
  10. package/assets/i18n-ecl/fr.json +1 -2
  11. package/assets/i18n-ecl/ga.json +1 -2
  12. package/assets/i18n-ecl/hr.json +1 -2
  13. package/assets/i18n-ecl/hu.json +1 -2
  14. package/assets/i18n-ecl/it.json +1 -2
  15. package/assets/i18n-ecl/lt.json +1 -2
  16. package/assets/i18n-ecl/lv.json +1 -2
  17. package/assets/i18n-ecl/mt.json +1 -2
  18. package/assets/i18n-ecl/nl.json +1 -2
  19. package/assets/i18n-ecl/pl.json +1 -2
  20. package/assets/i18n-ecl/pt.json +1 -2
  21. package/assets/i18n-ecl/ro.json +1 -2
  22. package/assets/i18n-ecl/sk.json +1 -2
  23. package/assets/i18n-ecl/sl.json +1 -2
  24. package/assets/i18n-ecl/sv.json +1 -2
  25. package/docs/changelog.html +280 -0
  26. package/docs/components/EclAccordionComponent.html +2 -2
  27. package/docs/components/EclAccordionItemComponent.html +2 -2
  28. package/docs/components/EclAppComponent.html +2 -2
  29. package/docs/components/EclBannerComponent.html +2 -2
  30. package/docs/components/EclBlockquoteComponent.html +2 -2
  31. package/docs/components/EclBreadcrumbComponent.html +2 -2
  32. package/docs/components/EclBreadcrumbSegmentComponent.html +3 -3
  33. package/docs/components/EclButtonComponent.html +2 -2
  34. package/docs/components/EclCardBodyComponent.html +2 -2
  35. package/docs/components/EclCardComponent.html +2 -2
  36. package/docs/components/EclCarouselComponent.html +2 -2
  37. package/docs/components/EclCarouselItemComponent.html +2 -2
  38. package/docs/components/EclCategoryFilterComponent.html +2 -2
  39. package/docs/components/EclCategoryFilterItemComponent.html +2 -2
  40. package/docs/components/EclCategoryFilterListComponent.html +2 -2
  41. package/docs/components/EclCheckboxHelpComponent.html +2 -2
  42. package/docs/components/EclCheckboxLabelComponent.html +2 -2
  43. package/docs/components/EclContentBlockComponent.html +2 -2
  44. package/docs/components/EclContentItemComponent.html +2 -2
  45. package/docs/components/EclDateBlockComponent.html +2 -2
  46. package/docs/components/EclDescriptionListDefinitionComponent.html +3 -3
  47. package/docs/components/EclExpandableComponent.html +2 -2
  48. package/docs/components/EclFactFiguresComponent.html +3 -3
  49. package/docs/components/EclFactFiguresItemComponent.html +42 -4
  50. package/docs/components/EclFactFiguresViewAllComponent.html +2 -2
  51. package/docs/components/EclFeaturedComponent.html +2 -2
  52. package/docs/components/EclFeaturedItemComponent.html +2 -2
  53. package/docs/components/EclFeaturedItemDescriptionComponent.html +2 -2
  54. package/docs/components/EclFileComponent.html +2 -2
  55. package/docs/components/EclFileItemComponent.html +2 -2
  56. package/docs/components/EclFileItemsComponent.html +2 -2
  57. package/docs/components/EclFileTaxonomyComponent.html +2 -2
  58. package/docs/components/EclFormGroupComponent.html +2 -2
  59. package/docs/components/EclFormLabelComponent.html +2 -2
  60. package/docs/components/EclGalleryComponent.html +2 -2
  61. package/docs/components/EclGalleryFooterComponent.html +3 -3
  62. package/docs/components/EclGalleryItemComponent.html +2 -2
  63. package/docs/components/EclIconComponent.html +2 -2
  64. package/docs/components/EclInpageNavigationComponent.html +2 -2
  65. package/docs/components/EclInpageNavigationItemComponent.html +2 -2
  66. package/docs/components/EclListIllustrationComponent.html +2 -2
  67. package/docs/components/EclListIllustrationItemComponent.html +2 -2
  68. package/docs/components/EclLoadingIndicatorComponent.html +2 -2
  69. package/docs/components/EclMediaContainerComponent.html +2 -2
  70. package/docs/components/EclMegaMenuComponent.html +2 -2
  71. package/docs/components/EclMegaMenuFeaturedComponent.html +2 -2
  72. package/docs/components/EclMegaMenuInfoComponent.html +2 -2
  73. package/docs/components/EclMegaMenuItemComponent.html +2 -2
  74. package/docs/components/EclMegaMenuSubitemComponent.html +2 -2
  75. package/docs/components/EclMenuComponent.html +2 -2
  76. package/docs/components/EclMenuItemComponent.html +2 -2
  77. package/docs/components/EclMenuMegaComponent.html +2 -2
  78. package/docs/components/EclMenuMegaItemComponent.html +2 -2
  79. package/docs/components/EclModalBodyComponent.html +3 -3
  80. package/docs/components/EclModalComponent.html +64 -36
  81. package/docs/components/EclModalFooterComponent.html +2 -2
  82. package/docs/components/EclModalHeaderComponent.html +3 -3
  83. package/docs/components/EclMultiselectComponent.html +2 -2
  84. package/docs/components/EclMultiselectDropdownComponent.html +2 -2
  85. package/docs/components/EclMultiselectInputComponent.html +2 -2
  86. package/docs/components/EclMultiselectOptgroupComponent.html +2 -2
  87. package/docs/components/EclMultiselectOptionComponent.html +2 -2
  88. package/docs/components/EclNavigationListComponent.html +2 -2
  89. package/docs/components/EclNavigationListItemComponent.html +2 -2
  90. package/docs/components/EclNewsTickerComponent.html +2 -2
  91. package/docs/components/EclNewsTickerItemComponent.html +2 -2
  92. package/docs/components/EclNotificationComponent.html +51 -3
  93. package/docs/components/EclPageHeaderComponent.html +3 -3
  94. package/docs/components/{EclFactFiguresTitleComponent.html → EclPageHeaderExpandableComponent.html} +118 -20
  95. package/docs/components/EclPaginationComponent.html +2 -2
  96. package/docs/components/EclPaginationItemComponent.html +2 -2
  97. package/docs/components/EclPopoverComponent.html +2 -2
  98. package/docs/components/EclRadioHelpComponent.html +2 -2
  99. package/docs/components/EclRadioLabelComponent.html +2 -2
  100. package/docs/components/EclRangeBubbleComponent.html +2 -2
  101. package/docs/components/EclRangeValueComponent.html +2 -2
  102. package/docs/components/EclRatingFieldComponent.html +3 -3
  103. package/docs/components/EclSearchFormComponent.html +2 -2
  104. package/docs/components/EclSelectContainerComponent.html +2 -2
  105. package/docs/components/EclSiteFooterComponent.html +2 -2
  106. package/docs/components/EclSiteFooterCoreComponent.html +2 -2
  107. package/docs/components/EclSiteFooterFixedContentEUComponent.html +2 -2
  108. package/docs/components/EclSiteFooterRowCommonComponent.html +2 -2
  109. package/docs/components/EclSiteHeaderActionComponent.html +2 -2
  110. package/docs/components/EclSiteHeaderBannerTopComponent.html +2 -2
  111. package/docs/components/EclSiteHeaderComponent.html +2 -2
  112. package/docs/components/EclSiteHeaderCustomActionComponent.html +2 -2
  113. package/docs/components/EclSiteHeaderEnvironmentComponent.html +2 -2
  114. package/docs/components/EclSiteHeaderLanguageComponent.html +2 -2
  115. package/docs/components/EclSiteHeaderLanguagePopoverComponent.html +2 -2
  116. package/docs/components/EclSiteHeaderLoginComponent.html +2 -2
  117. package/docs/components/EclSiteHeaderNotificationComponent.html +2 -2
  118. package/docs/components/EclSiteHeaderSearchComponent.html +2 -2
  119. package/docs/components/EclSocialMediaFollowComponent.html +2 -2
  120. package/docs/components/EclSocialMediaFollowItemComponent.html +2 -2
  121. package/docs/components/EclSplashPageComponent.html +2 -2
  122. package/docs/components/EclSplashPageLanguageCategoryComponent.html +2 -2
  123. package/docs/components/EclSplashPageLanguageContainerComponent.html +2 -2
  124. package/docs/components/EclSplashPageLanguageLinkComponent.html +2 -2
  125. package/docs/components/EclSpotlightComponent.html +2 -2
  126. package/docs/components/EclSpotlightLinkComponent.html +2 -2
  127. package/docs/components/EclStickyContainerComponent.html +2 -2
  128. package/docs/components/EclTabComponent.html +2 -2
  129. package/docs/components/EclTabLabelComponent.html +2 -2
  130. package/docs/components/EclTabMoreComponent.html +2 -2
  131. package/docs/components/EclTableSortButtonComponent.html +2 -2
  132. package/docs/components/EclTabsComponent.html +2 -2
  133. package/docs/components/EclTagComponent.html +2 -2
  134. package/docs/components/EclTimelineComponent.html +2 -2
  135. package/docs/components/EclTimelineItemComponent.html +2 -2
  136. package/docs/components/EclTimelineItemTogglerComponent.html +2 -2
  137. package/docs/directives/EclFactFiguresDescriptionDirective.html +520 -0
  138. package/docs/directives/EclLinkDirective.html +58 -28
  139. package/docs/directives/EclNotificationIconDirective.html +379 -0
  140. package/docs/directives/EclNotificationLinkDirective.html +407 -0
  141. package/docs/directives/EclPageHeaderExpandableHeaderDirective.html +519 -0
  142. package/docs/js/menu-wc.js +50 -33
  143. package/docs/js/menu-wc_es5.js +1 -1
  144. package/docs/js/search/search_index.js +2 -2
  145. package/docs/miscellaneous/variables.html +7 -3
  146. package/docs/modules/EclFactFiguresModule.html +2 -14
  147. package/docs/modules/EclNotificationModule.html +12 -0
  148. package/docs/overview.html +2 -2
  149. package/docs/properties.html +1 -1
  150. package/fesm2022/eui-ecl-components-ecl-accordion.mjs +10 -10
  151. package/fesm2022/eui-ecl-components-ecl-accordion.mjs.map +1 -1
  152. package/fesm2022/eui-ecl-components-ecl-app.mjs +7 -7
  153. package/fesm2022/eui-ecl-components-ecl-app.mjs.map +1 -1
  154. package/fesm2022/eui-ecl-components-ecl-banner.mjs +34 -34
  155. package/fesm2022/eui-ecl-components-ecl-banner.mjs.map +1 -1
  156. package/fesm2022/eui-ecl-components-ecl-blockquote.mjs +13 -13
  157. package/fesm2022/eui-ecl-components-ecl-blockquote.mjs.map +1 -1
  158. package/fesm2022/eui-ecl-components-ecl-breadcrumb.mjs +14 -14
  159. package/fesm2022/eui-ecl-components-ecl-breadcrumb.mjs.map +1 -1
  160. package/fesm2022/eui-ecl-components-ecl-button.mjs +16 -16
  161. package/fesm2022/eui-ecl-components-ecl-button.mjs.map +1 -1
  162. package/fesm2022/eui-ecl-components-ecl-card.mjs +16 -16
  163. package/fesm2022/eui-ecl-components-ecl-card.mjs.map +1 -1
  164. package/fesm2022/eui-ecl-components-ecl-carousel.mjs +10 -10
  165. package/fesm2022/eui-ecl-components-ecl-carousel.mjs.map +1 -1
  166. package/fesm2022/eui-ecl-components-ecl-category-filter.mjs +13 -13
  167. package/fesm2022/eui-ecl-components-ecl-category-filter.mjs.map +1 -1
  168. package/fesm2022/eui-ecl-components-ecl-checkbox.mjs +16 -16
  169. package/fesm2022/eui-ecl-components-ecl-checkbox.mjs.map +1 -1
  170. package/fesm2022/eui-ecl-components-ecl-content-block.mjs +58 -58
  171. package/fesm2022/eui-ecl-components-ecl-content-block.mjs.map +1 -1
  172. package/fesm2022/eui-ecl-components-ecl-content-item.mjs +13 -13
  173. package/fesm2022/eui-ecl-components-ecl-content-item.mjs.map +1 -1
  174. package/fesm2022/eui-ecl-components-ecl-date-block.mjs +7 -7
  175. package/fesm2022/eui-ecl-components-ecl-date-block.mjs.map +1 -1
  176. package/fesm2022/eui-ecl-components-ecl-date-picker.mjs +7 -7
  177. package/fesm2022/eui-ecl-components-ecl-date-picker.mjs.map +1 -1
  178. package/fesm2022/eui-ecl-components-ecl-divider.mjs +7 -7
  179. package/fesm2022/eui-ecl-components-ecl-divider.mjs.map +1 -1
  180. package/fesm2022/eui-ecl-components-ecl-expandable.mjs +7 -7
  181. package/fesm2022/eui-ecl-components-ecl-expandable.mjs.map +1 -1
  182. package/fesm2022/eui-ecl-components-ecl-fact-figures.mjs +37 -82
  183. package/fesm2022/eui-ecl-components-ecl-fact-figures.mjs.map +1 -1
  184. package/fesm2022/eui-ecl-components-ecl-featured.mjs +16 -16
  185. package/fesm2022/eui-ecl-components-ecl-featured.mjs.map +1 -1
  186. package/fesm2022/eui-ecl-components-ecl-feedback-message.mjs +7 -7
  187. package/fesm2022/eui-ecl-components-ecl-feedback-message.mjs.map +1 -1
  188. package/fesm2022/eui-ecl-components-ecl-file-upload.mjs +7 -7
  189. package/fesm2022/eui-ecl-components-ecl-file-upload.mjs.map +1 -1
  190. package/fesm2022/eui-ecl-components-ecl-file.mjs +34 -34
  191. package/fesm2022/eui-ecl-components-ecl-file.mjs.map +1 -1
  192. package/fesm2022/eui-ecl-components-ecl-form-group.mjs +7 -7
  193. package/fesm2022/eui-ecl-components-ecl-form-group.mjs.map +1 -1
  194. package/fesm2022/eui-ecl-components-ecl-form-label.mjs +10 -10
  195. package/fesm2022/eui-ecl-components-ecl-form-label.mjs.map +1 -1
  196. package/fesm2022/eui-ecl-components-ecl-gallery.mjs +23 -23
  197. package/fesm2022/eui-ecl-components-ecl-gallery.mjs.map +1 -1
  198. package/fesm2022/eui-ecl-components-ecl-help-block.mjs +7 -7
  199. package/fesm2022/eui-ecl-components-ecl-help-block.mjs.map +1 -1
  200. package/fesm2022/eui-ecl-components-ecl-icon.mjs +7 -7
  201. package/fesm2022/eui-ecl-components-ecl-icon.mjs.map +1 -1
  202. package/fesm2022/eui-ecl-components-ecl-inpage-navigation.mjs +16 -16
  203. package/fesm2022/eui-ecl-components-ecl-inpage-navigation.mjs.map +1 -1
  204. package/fesm2022/eui-ecl-components-ecl-label.mjs +7 -7
  205. package/fesm2022/eui-ecl-components-ecl-label.mjs.map +1 -1
  206. package/fesm2022/eui-ecl-components-ecl-link.mjs +34 -27
  207. package/fesm2022/eui-ecl-components-ecl-link.mjs.map +1 -1
  208. package/fesm2022/eui-ecl-components-ecl-list-illustration.mjs +19 -19
  209. package/fesm2022/eui-ecl-components-ecl-list-illustration.mjs.map +1 -1
  210. package/fesm2022/eui-ecl-components-ecl-list.mjs +32 -32
  211. package/fesm2022/eui-ecl-components-ecl-list.mjs.map +1 -1
  212. package/fesm2022/eui-ecl-components-ecl-loading-indicator.mjs +13 -13
  213. package/fesm2022/eui-ecl-components-ecl-loading-indicator.mjs.map +1 -1
  214. package/fesm2022/eui-ecl-components-ecl-media-container.mjs +19 -19
  215. package/fesm2022/eui-ecl-components-ecl-media-container.mjs.map +1 -1
  216. package/fesm2022/eui-ecl-components-ecl-mega-menu.mjs +52 -52
  217. package/fesm2022/eui-ecl-components-ecl-mega-menu.mjs.map +1 -1
  218. package/fesm2022/eui-ecl-components-ecl-menu.mjs +16 -16
  219. package/fesm2022/eui-ecl-components-ecl-menu.mjs.map +1 -1
  220. package/fesm2022/eui-ecl-components-ecl-modal.mjs +68 -67
  221. package/fesm2022/eui-ecl-components-ecl-modal.mjs.map +1 -1
  222. package/fesm2022/eui-ecl-components-ecl-multiselect.mjs +25 -25
  223. package/fesm2022/eui-ecl-components-ecl-multiselect.mjs.map +1 -1
  224. package/fesm2022/eui-ecl-components-ecl-navigation-list.mjs +16 -16
  225. package/fesm2022/eui-ecl-components-ecl-navigation-list.mjs.map +1 -1
  226. package/fesm2022/eui-ecl-components-ecl-news-ticker.mjs +13 -13
  227. package/fesm2022/eui-ecl-components-ecl-news-ticker.mjs.map +1 -1
  228. package/fesm2022/eui-ecl-components-ecl-notification.mjs +92 -37
  229. package/fesm2022/eui-ecl-components-ecl-notification.mjs.map +1 -1
  230. package/fesm2022/eui-ecl-components-ecl-page-header.mjs +110 -40
  231. package/fesm2022/eui-ecl-components-ecl-page-header.mjs.map +1 -1
  232. package/fesm2022/eui-ecl-components-ecl-pagination.mjs +13 -13
  233. package/fesm2022/eui-ecl-components-ecl-pagination.mjs.map +1 -1
  234. package/fesm2022/eui-ecl-components-ecl-popover.mjs +13 -13
  235. package/fesm2022/eui-ecl-components-ecl-popover.mjs.map +1 -1
  236. package/fesm2022/eui-ecl-components-ecl-radio.mjs +16 -16
  237. package/fesm2022/eui-ecl-components-ecl-radio.mjs.map +1 -1
  238. package/fesm2022/eui-ecl-components-ecl-range.mjs +13 -13
  239. package/fesm2022/eui-ecl-components-ecl-range.mjs.map +1 -1
  240. package/fesm2022/eui-ecl-components-ecl-rating-field.mjs +8 -8
  241. package/fesm2022/eui-ecl-components-ecl-rating-field.mjs.map +1 -1
  242. package/fesm2022/eui-ecl-components-ecl-search-form.mjs +7 -7
  243. package/fesm2022/eui-ecl-components-ecl-search-form.mjs.map +1 -1
  244. package/fesm2022/eui-ecl-components-ecl-select.mjs +10 -10
  245. package/fesm2022/eui-ecl-components-ecl-select.mjs.map +1 -1
  246. package/fesm2022/eui-ecl-components-ecl-site-footer.mjs +67 -67
  247. package/fesm2022/eui-ecl-components-ecl-site-footer.mjs.map +1 -1
  248. package/fesm2022/eui-ecl-components-ecl-site-header.mjs +64 -64
  249. package/fesm2022/eui-ecl-components-ecl-site-header.mjs.map +1 -1
  250. package/fesm2022/eui-ecl-components-ecl-social-media-follow.mjs +13 -13
  251. package/fesm2022/eui-ecl-components-ecl-social-media-follow.mjs.map +1 -1
  252. package/fesm2022/eui-ecl-components-ecl-splash-page.mjs +31 -31
  253. package/fesm2022/eui-ecl-components-ecl-splash-page.mjs.map +1 -1
  254. package/fesm2022/eui-ecl-components-ecl-spotlight.mjs +12 -12
  255. package/fesm2022/eui-ecl-components-ecl-spotlight.mjs.map +1 -1
  256. package/fesm2022/eui-ecl-components-ecl-sticky-container.mjs +7 -7
  257. package/fesm2022/eui-ecl-components-ecl-sticky-container.mjs.map +1 -1
  258. package/fesm2022/eui-ecl-components-ecl-table.mjs +34 -34
  259. package/fesm2022/eui-ecl-components-ecl-table.mjs.map +1 -1
  260. package/fesm2022/eui-ecl-components-ecl-tabs.mjs +16 -16
  261. package/fesm2022/eui-ecl-components-ecl-tabs.mjs.map +1 -1
  262. package/fesm2022/eui-ecl-components-ecl-tag.mjs +16 -16
  263. package/fesm2022/eui-ecl-components-ecl-tag.mjs.map +1 -1
  264. package/fesm2022/eui-ecl-components-ecl-text-area.mjs +7 -7
  265. package/fesm2022/eui-ecl-components-ecl-text-area.mjs.map +1 -1
  266. package/fesm2022/eui-ecl-components-ecl-text-input.mjs +7 -7
  267. package/fesm2022/eui-ecl-components-ecl-text-input.mjs.map +1 -1
  268. package/fesm2022/eui-ecl-components-ecl-timeline.mjs +22 -22
  269. package/fesm2022/eui-ecl-components-ecl-timeline.mjs.map +1 -1
  270. package/fesm2022/eui-ecl-core.mjs +25 -25
  271. package/fesm2022/eui-ecl-core.mjs.map +1 -1
  272. package/fesm2022/eui-ecl-shared.mjs +3 -3
  273. package/fesm2022/eui-ecl-shared.mjs.map +1 -1
  274. package/fesm2022/eui-ecl.mjs +4 -4
  275. package/fesm2022/eui-ecl.mjs.map +1 -1
  276. package/package.json +39 -39
  277. package/types/eui-ecl-components-ecl-fact-figures.d.ts +11 -33
  278. package/types/eui-ecl-components-ecl-fact-figures.d.ts.map +1 -1
  279. package/types/eui-ecl-components-ecl-icon.d.ts.map +1 -1
  280. package/types/eui-ecl-components-ecl-link.d.ts +12 -9
  281. package/types/eui-ecl-components-ecl-link.d.ts.map +1 -1
  282. package/types/eui-ecl-components-ecl-modal.d.ts +26 -25
  283. package/types/eui-ecl-components-ecl-modal.d.ts.map +1 -1
  284. package/types/eui-ecl-components-ecl-notification.d.ts +46 -18
  285. package/types/eui-ecl-components-ecl-notification.d.ts.map +1 -1
  286. package/types/eui-ecl-components-ecl-page-header.d.ts +31 -4
  287. package/types/eui-ecl-components-ecl-page-header.d.ts.map +1 -1
  288. package/types/eui-ecl.d.ts +1 -1
  289. package/docs/components/EclFactFiguresDescriptionComponent.html +0 -566
  290. package/docs/components/EclFactFiguresValueComponent.html +0 -565
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { ContentChildren, HostBinding, Component, inject, Renderer2, ElementRef, booleanAttribute, Input, ContentChild, NgModule } from '@angular/core';
2
+ import { input, ContentChildren, HostBinding, Component, inject, Renderer2, ElementRef, booleanAttribute, Input, ContentChild, Directive, NgModule } from '@angular/core';
3
3
  import { ECLBaseDirective } from '@eui/ecl/core';
4
4
  import { EclIconComponent } from '@eui/ecl/components/ecl-icon';
5
5
  import { EclLinkDirective } from '@eui/ecl/components/ecl-link';
@@ -9,6 +9,11 @@ import { EclLinkDirective } from '@eui/ecl/components/ecl-link';
9
9
  * Optionally handles embedded icons and applies appropriate styling.
10
10
  */
11
11
  class EclFactFiguresItemComponent extends ECLBaseDirective {
12
+ constructor() {
13
+ super(...arguments);
14
+ this.eclValue = input(...(ngDevMode ? [undefined, { debugName: "eclValue" }] : []));
15
+ this.eclTitle = input(...(ngDevMode ? [undefined, { debugName: "eclTitle" }] : []));
16
+ }
12
17
  /**
13
18
  * Applies the base class `ecl-fact-figures__item` to the host element.
14
19
  */
@@ -26,13 +31,13 @@ class EclFactFiguresItemComponent extends ECLBaseDirective {
26
31
  });
27
32
  }
28
33
  }
29
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFactFiguresItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
30
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.0-rc.2", type: EclFactFiguresItemComponent, isStandalone: true, selector: "ecl-fact-figures-item", host: { properties: { "class": "this.cssClasses" } }, queries: [{ propertyName: "eclIconComponents", predicate: EclIconComponent }], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n" }); }
34
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclFactFiguresItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
35
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.0", type: EclFactFiguresItemComponent, isStandalone: true, selector: "div[eclFactFiguresItem],ecl-fact-figures-item", inputs: { eclValue: { classPropertyName: "eclValue", publicName: "eclValue", isSignal: true, isRequired: false, transformFunction: null }, eclTitle: { classPropertyName: "eclTitle", publicName: "eclTitle", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "this.cssClasses" } }, queries: [{ propertyName: "eclIconComponents", predicate: EclIconComponent }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ecl-icon\"></ng-content>\n<div class=\"ecl-fact-figures__value\">{{ eclValue() }} <span class=\"ecl-fact-figures__title\">{{ eclTitle() }}</span></div>\n<ng-content select=\"ecl-icon\"></ng-content>\n<ng-content select=\"[eclFactFiguresDescription]\"></ng-content>" }); }
31
36
  }
32
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFactFiguresItemComponent, decorators: [{
37
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclFactFiguresItemComponent, decorators: [{
33
38
  type: Component,
34
- args: [{ selector: 'ecl-fact-figures-item', template: "<ng-content></ng-content>\n" }]
35
- }], propDecorators: { cssClasses: [{
39
+ args: [{ selector: 'div[eclFactFiguresItem],ecl-fact-figures-item', template: "<ng-content select=\"ecl-icon\"></ng-content>\n<div class=\"ecl-fact-figures__value\">{{ eclValue() }} <span class=\"ecl-fact-figures__title\">{{ eclTitle() }}</span></div>\n<ng-content select=\"ecl-icon\"></ng-content>\n<ng-content select=\"[eclFactFiguresDescription]\"></ng-content>" }]
40
+ }], propDecorators: { eclValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "eclValue", required: false }] }], eclTitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "eclTitle", required: false }] }], cssClasses: [{
36
41
  type: HostBinding,
37
42
  args: ['class']
38
43
  }], eclIconComponents: [{
@@ -94,12 +99,12 @@ class EclFactFiguresComponent extends ECLBaseDirective {
94
99
  }
95
100
  });
96
101
  }
97
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFactFiguresComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
98
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "21.0.0-rc.2", type: EclFactFiguresComponent, isStandalone: true, selector: "ecl-fact-figures", inputs: { columns: "columns", fontSize: "fontSize", isCentered: ["isCentered", "isCentered", booleanAttribute] }, host: { properties: { "class": "this.cssClasses", "class.ecl-fact-figures--centered": "this.isCentered" } }, queries: [{ propertyName: "items", predicate: EclFactFiguresItemComponent, read: ElementRef }], usesInheritance: true, ngImport: i0, template: "<div class=\"ecl-fact-figures__items\">\n <ng-content></ng-content>\n</div>\n\n<ng-content select=\"ecl-fact-figures-view-all\"></ng-content>\n", styles: [":host{display:block}\n"] }); }
102
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclFactFiguresComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
103
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "21.0.0", type: EclFactFiguresComponent, isStandalone: true, selector: "div[eclFactFigures], ecl-fact-figures", inputs: { columns: "columns", fontSize: "fontSize", isCentered: ["isCentered", "isCentered", booleanAttribute] }, host: { properties: { "class": "this.cssClasses", "class.ecl-fact-figures--centered": "this.isCentered" } }, queries: [{ propertyName: "items", predicate: EclFactFiguresItemComponent, read: ElementRef }], usesInheritance: true, ngImport: i0, template: "<div class=\"ecl-fact-figures__items\">\n <ng-content></ng-content>\n</div>\n\n<ng-content select=\"ecl-fact-figures-view-all\"></ng-content>\n", styles: [":host{display:block}\n"] }); }
99
104
  }
100
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFactFiguresComponent, decorators: [{
105
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclFactFiguresComponent, decorators: [{
101
106
  type: Component,
102
- args: [{ selector: 'ecl-fact-figures', template: "<div class=\"ecl-fact-figures__items\">\n <ng-content></ng-content>\n</div>\n\n<ng-content select=\"ecl-fact-figures-view-all\"></ng-content>\n", styles: [":host{display:block}\n"] }]
107
+ args: [{ selector: 'div[eclFactFigures], ecl-fact-figures', template: "<div class=\"ecl-fact-figures__items\">\n <ng-content></ng-content>\n</div>\n\n<ng-content select=\"ecl-fact-figures-view-all\"></ng-content>\n", styles: [":host{display:block}\n"] }]
103
108
  }], propDecorators: { items: [{
104
109
  type: ContentChildren,
105
110
  args: [EclFactFiguresItemComponent, { read: ElementRef }]
@@ -138,10 +143,10 @@ class EclFactFiguresViewAllComponent extends ECLBaseDirective {
138
143
  this.eclLink.class = [this.eclLink.class, 'ecl-fact-figures__view-all-link'].join(' ');
139
144
  }
140
145
  }
141
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFactFiguresViewAllComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
142
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.0-rc.2", type: EclFactFiguresViewAllComponent, isStandalone: true, selector: "ecl-fact-figures-view-all", host: { properties: { "class": "this.cssClasses" } }, queries: [{ propertyName: "eclLink", first: true, predicate: EclLinkDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"] }); }
146
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclFactFiguresViewAllComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
147
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.0", type: EclFactFiguresViewAllComponent, isStandalone: true, selector: "ecl-fact-figures-view-all", host: { properties: { "class": "this.cssClasses" } }, queries: [{ propertyName: "eclLink", first: true, predicate: EclLinkDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"] }); }
143
148
  }
144
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFactFiguresViewAllComponent, decorators: [{
149
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclFactFiguresViewAllComponent, decorators: [{
145
150
  type: Component,
146
151
  args: [{ selector: 'ecl-fact-figures-view-all', template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"] }]
147
152
  }], propDecorators: { cssClasses: [{
@@ -153,64 +158,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ng
153
158
  }] } });
154
159
 
155
160
  /**
156
- * Component representing the description text of a fact or figures section.
161
+ * Directive, representing the description text of a fact or figures section.
157
162
  * Typically used to provide contextual or supporting information.
158
163
  */
159
- class EclFactFiguresDescriptionComponent extends ECLBaseDirective {
164
+ class EclFactFiguresDescriptionDirective extends ECLBaseDirective {
160
165
  /**
161
166
  * Applies the base class `ecl-fact-figures__description` to the host element.
162
167
  */
163
168
  get cssClasses() {
164
169
  return [super.getCssClasses('ecl-fact-figures__description')].join(' ').trim();
165
170
  }
166
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFactFiguresDescriptionComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
167
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.0-rc.2", type: EclFactFiguresDescriptionComponent, isStandalone: true, selector: "ecl-fact-figures-description", host: { properties: { "class": "this.cssClasses" } }, usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"] }); }
168
- }
169
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFactFiguresDescriptionComponent, decorators: [{
170
- type: Component,
171
- args: [{ selector: 'ecl-fact-figures-description', template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"] }]
172
- }], propDecorators: { cssClasses: [{
173
- type: HostBinding,
174
- args: ['class']
175
- }] } });
176
-
177
- /**
178
- * Component representing the title section of a Fact & Figures item.
179
- */
180
- class EclFactFiguresTitleComponent extends ECLBaseDirective {
181
- /**
182
- * Applies the base class `ecl-fact-figures__title` to the host element.
183
- */
184
- get cssClasses() {
185
- return [super.getCssClasses('ecl-fact-figures__title')].join(' ').trim();
186
- }
187
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFactFiguresTitleComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
188
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.0-rc.2", type: EclFactFiguresTitleComponent, isStandalone: true, selector: "ecl-fact-figures-title", host: { properties: { "class": "this.cssClasses" } }, usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"] }); }
171
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclFactFiguresDescriptionDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
172
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.0", type: EclFactFiguresDescriptionDirective, isStandalone: true, selector: "div[eclFactFiguresDescription]", host: { properties: { "class": "this.cssClasses" } }, usesInheritance: true, ngImport: i0 }); }
189
173
  }
190
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFactFiguresTitleComponent, decorators: [{
191
- type: Component,
192
- args: [{ selector: 'ecl-fact-figures-title', template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"] }]
193
- }], propDecorators: { cssClasses: [{
194
- type: HostBinding,
195
- args: ['class']
196
- }] } });
197
-
198
- /**
199
- * Component representing the value section of a Fact & Figures item.
200
- */
201
- class EclFactFiguresValueComponent extends ECLBaseDirective {
202
- /**
203
- * Applies the base class `ecl-fact-figures__value` to the host element.
204
- */
205
- get cssClasses() {
206
- return [super.getCssClasses('ecl-fact-figures__value')].join(' ').trim();
207
- }
208
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFactFiguresValueComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
209
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.0-rc.2", type: EclFactFiguresValueComponent, isStandalone: true, selector: "ecl-fact-figures-value", host: { properties: { "class": "this.cssClasses" } }, usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"] }); }
210
- }
211
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFactFiguresValueComponent, decorators: [{
212
- type: Component,
213
- args: [{ selector: 'ecl-fact-figures-value', template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"] }]
174
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclFactFiguresDescriptionDirective, decorators: [{
175
+ type: Directive,
176
+ args: [{
177
+ selector: 'div[eclFactFiguresDescription]',
178
+ }]
214
179
  }], propDecorators: { cssClasses: [{
215
180
  type: HostBinding,
216
181
  args: ['class']
@@ -222,38 +187,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ng
222
187
  * @deprecated Use {@link EUI_ECL_FACT_FIGURES} instead.
223
188
  */
224
189
  class EclFactFiguresModule {
225
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFactFiguresModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
226
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFactFiguresModule, imports: [EclFactFiguresComponent,
190
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclFactFiguresModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
191
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.0", ngImport: i0, type: EclFactFiguresModule, imports: [EclFactFiguresComponent,
227
192
  EclFactFiguresItemComponent,
228
193
  EclFactFiguresViewAllComponent,
229
- EclFactFiguresDescriptionComponent,
230
- EclFactFiguresTitleComponent,
231
- EclFactFiguresValueComponent], exports: [EclFactFiguresComponent,
194
+ EclFactFiguresDescriptionDirective], exports: [EclFactFiguresComponent,
232
195
  EclFactFiguresItemComponent,
233
196
  EclFactFiguresViewAllComponent,
234
- EclFactFiguresDescriptionComponent,
235
- EclFactFiguresTitleComponent,
236
- EclFactFiguresValueComponent] }); }
237
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFactFiguresModule }); }
197
+ EclFactFiguresDescriptionDirective] }); }
198
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclFactFiguresModule }); }
238
199
  }
239
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFactFiguresModule, decorators: [{
200
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclFactFiguresModule, decorators: [{
240
201
  type: NgModule,
241
202
  args: [{
242
203
  imports: [
243
204
  EclFactFiguresComponent,
244
205
  EclFactFiguresItemComponent,
245
206
  EclFactFiguresViewAllComponent,
246
- EclFactFiguresDescriptionComponent,
247
- EclFactFiguresTitleComponent,
248
- EclFactFiguresValueComponent,
207
+ EclFactFiguresDescriptionDirective,
249
208
  ],
250
209
  exports: [
251
210
  EclFactFiguresComponent,
252
211
  EclFactFiguresItemComponent,
253
212
  EclFactFiguresViewAllComponent,
254
- EclFactFiguresDescriptionComponent,
255
- EclFactFiguresTitleComponent,
256
- EclFactFiguresValueComponent,
213
+ EclFactFiguresDescriptionDirective,
257
214
  ],
258
215
  }]
259
216
  }] });
@@ -262,14 +219,12 @@ const EUI_ECL_FACT_FIGURES = [
262
219
  EclFactFiguresComponent,
263
220
  EclFactFiguresItemComponent,
264
221
  EclFactFiguresViewAllComponent,
265
- EclFactFiguresDescriptionComponent,
266
- EclFactFiguresTitleComponent,
267
- EclFactFiguresValueComponent,
222
+ EclFactFiguresDescriptionDirective,
268
223
  ];
269
224
 
270
225
  /**
271
226
  * Generated bundle index. Do not edit.
272
227
  */
273
228
 
274
- export { EUI_ECL_FACT_FIGURES, EclFactFiguresComponent, EclFactFiguresDescriptionComponent, EclFactFiguresItemComponent, EclFactFiguresModule, EclFactFiguresTitleComponent, EclFactFiguresValueComponent, EclFactFiguresViewAllComponent };
229
+ export { EUI_ECL_FACT_FIGURES, EclFactFiguresComponent, EclFactFiguresDescriptionDirective, EclFactFiguresItemComponent, EclFactFiguresModule, EclFactFiguresViewAllComponent };
275
230
  //# sourceMappingURL=eui-ecl-components-ecl-fact-figures.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"eui-ecl-components-ecl-fact-figures.mjs","sources":["../../components/ecl-fact-figures/ecl-fact-figures-item.component.ts","../../components/ecl-fact-figures/ecl-fact-figures-item.component.html","../../components/ecl-fact-figures/ecl-fact-figures.component.ts","../../components/ecl-fact-figures/ecl-fact-figures.component.html","../../components/ecl-fact-figures/ecl-fact-figures-view-all.component.ts","../../components/ecl-fact-figures/ecl-fact-figures-view-all.component.html","../../components/ecl-fact-figures/ecl-fact-figures-description.component.ts","../../components/ecl-fact-figures/ecl-fact-figures-description.component.html","../../components/ecl-fact-figures/ecl-fact-figures-title.component.ts","../../components/ecl-fact-figures/ecl-fact-figures-title.component.html","../../components/ecl-fact-figures/ecl-fact-figures-value.component.ts","../../components/ecl-fact-figures/ecl-fact-figures-value.component.html","../../components/ecl-fact-figures/ecl-fact-figures.module.ts","../../components/ecl-fact-figures/index.ts","../../components/ecl-fact-figures/eui-ecl-components-ecl-fact-figures.ts"],"sourcesContent":["import { AfterContentInit, Component, ContentChildren, HostBinding, QueryList } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclIconComponent } from '@eui/ecl/components/ecl-icon';\n\n/**\n * Component representing a single item within the Fact & Figures block.\n * Optionally handles embedded icons and applies appropriate styling.\n */\n@Component({\n selector: 'ecl-fact-figures-item',\n templateUrl: './ecl-fact-figures-item.component.html',\n})\nexport class EclFactFiguresItemComponent extends ECLBaseDirective implements AfterContentInit {\n /**\n * Applies the base class `ecl-fact-figures__item` to the host element.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-fact-figures__item')].join(' ').trim();\n }\n\n /**\n * Query for any EclIconComponent children projected into the component.\n * These icons will receive an additional CSS class.\n */\n @ContentChildren(EclIconComponent) eclIconComponents: QueryList<EclIconComponent>;\n\n /**\n * Lifecycle hook that adds a CSS class to any EclIconComponent\n * found within the projected content.\n */\n ngAfterContentInit(): void {\n if (this.eclIconComponents) {\n this.eclIconComponents.forEach((eclIcon) => {\n eclIcon.baseDirective.class = [eclIcon.baseDirective.class, 'ecl-fact-figures__icon'].join(' ');\n });\n }\n }\n}\n","<ng-content></ng-content>\n","import {\n Component,\n Input,\n HostBinding,\n booleanAttribute,\n ContentChildren,\n ElementRef,\n QueryList,\n Renderer2,\n inject,\n} from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclFactFiguresItemComponent } from './ecl-fact-figures-item.component';\n\n/**\n * Main component for displaying a collection of fact and figure items\n * in a responsive, styled grid layout.\n */\n@Component({\n selector: 'ecl-fact-figures',\n templateUrl: './ecl-fact-figures.component.html',\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n})\nexport class EclFactFiguresComponent extends ECLBaseDirective {\n private renderer = inject(Renderer2);\n\n @ContentChildren(EclFactFiguresItemComponent, { read: ElementRef })\n items!: QueryList<ElementRef>;\n\n /**\n * Sets the CSS classes for the component, including layout and font size modifiers.\n * Automatically adds:\n * - `ecl-fact-figures--col-{n}` depending on the `columns` value\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-fact-figures'),\n `ecl-fact-figures--col-${this.columns}`].join(' ').trim();\n }\n\n /**\n * Number of columns in the layout (as string).\n * Default is `'3'`.\n */\n @Input() columns = '3';\n\n /**\n * Font size variant. Can be:\n * - `'m'` – medium (smaller text)\n * - `'l'` – large (default)\n */\n @Input() fontSize: 'm' | 'l' = 'l';\n\n /**\n * Whether the content should be centered.\n * Adds `ecl-fact-figures--centered` class when true.\n */\n @Input({ transform: booleanAttribute })\n @HostBinding('class.ecl-fact-figures--centered')\n isCentered = false;\n\n /**\n * After content init, mark the first item with `is-first` class\n * and add the `ecl-fact-figures__item--font-m` class to all items\n * if the fontSize input is set to 'm'.\n */\n ngAfterContentInit(): void {\n const elements = this.items?.toArray() ?? [];\n if (!elements.length) return;\n\n elements.forEach((el) => this.renderer.removeClass(el.nativeElement, 'is-first'));\n this.renderer.addClass(elements[0].nativeElement, 'is-first');\n\n elements.forEach(el => {\n if (this.fontSize === 'm') {\n this.renderer.addClass(el.nativeElement, 'ecl-fact-figures__item--font-m');\n } else {\n this.renderer.removeClass(el.nativeElement, 'ecl-fact-figures__item--font-m');\n }\n });\n }\n}\n","<div class=\"ecl-fact-figures__items\">\n <ng-content></ng-content>\n</div>\n\n<ng-content select=\"ecl-fact-figures-view-all\"></ng-content>\n","import { AfterContentInit, Component, ContentChild, HostBinding } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclLinkDirective } from '@eui/ecl/components/ecl-link';\n\n/**\n * Component representing the \"View all\" section in a Fact & Figures block.\n * Used to display a link that allows users to view additional content.\n */\n@Component({\n selector: 'ecl-fact-figures-view-all',\n templateUrl: './ecl-fact-figures-view-all.component.html',\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n})\nexport class EclFactFiguresViewAllComponent extends ECLBaseDirective implements AfterContentInit {\n /**\n * Applies the base class `ecl-fact-figures__view-all` to the host element.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-fact-figures__view-all')].join(' ').trim();\n }\n\n /**\n * Reference to the projected link directive inside the component.\n * Automatically decorated with a specific class upon initialization.\n */\n @ContentChild(EclLinkDirective) eclLink: EclLinkDirective;\n\n /**\n * Adds the `ecl-fact-figures__view-all-link` class to the projected link.\n * This ensures consistent styling within the view-all section.\n */\n ngAfterContentInit(): void {\n if (this.eclLink) {\n this.eclLink.class = [this.eclLink.class, 'ecl-fact-figures__view-all-link'].join(' ');\n }\n }\n}\n","<ng-content></ng-content>\n","import { Component, HostBinding } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Component representing the description text of a fact or figures section.\n * Typically used to provide contextual or supporting information.\n */\n@Component({\n selector: 'ecl-fact-figures-description',\n templateUrl: './ecl-fact-figures-description.component.html',\n\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n})\nexport class EclFactFiguresDescriptionComponent extends ECLBaseDirective {\n /**\n * Applies the base class `ecl-fact-figures__description` to the host element.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-fact-figures__description')].join(' ').trim();\n }\n}\n","<ng-content></ng-content>\n","import { Component, HostBinding } from '@angular/core';\n\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Component representing the title section of a Fact & Figures item.\n */\n@Component({\n selector: 'ecl-fact-figures-title',\n templateUrl: './ecl-fact-figures-title.component.html',\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n})\nexport class EclFactFiguresTitleComponent extends ECLBaseDirective {\n /**\n * Applies the base class `ecl-fact-figures__title` to the host element.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-fact-figures__title')].join(' ').trim();\n }\n}\n","<ng-content></ng-content>\n","import { Component, HostBinding } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Component representing the value section of a Fact & Figures item.\n */\n@Component({\n selector: 'ecl-fact-figures-value',\n templateUrl: './ecl-fact-figures-value.component.html',\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n})\nexport class EclFactFiguresValueComponent extends ECLBaseDirective {\n /**\n * Applies the base class `ecl-fact-figures__value` to the host element.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-fact-figures__value')].join(' ').trim();\n }\n}\n","<ng-content></ng-content>\n","import { NgModule } from '@angular/core';\nimport { EclFactFiguresDescriptionComponent } from './ecl-fact-figures-description.component';\nimport { EclFactFiguresItemComponent } from './ecl-fact-figures-item.component';\nimport { EclFactFiguresTitleComponent } from './ecl-fact-figures-title.component';\nimport { EclFactFiguresValueComponent } from './ecl-fact-figures-value.component';\nimport { EclFactFiguresViewAllComponent } from './ecl-fact-figures-view-all.component';\nimport { EclFactFiguresComponent } from './ecl-fact-figures.component';\n\n/**\n * Module that provides the EclFactFigures component and its dependencies.\n *\n * @deprecated Use {@link EUI_ECL_FACT_FIGURES} instead.\n */\n@NgModule({\n imports: [\n EclFactFiguresComponent,\n EclFactFiguresItemComponent,\n EclFactFiguresViewAllComponent,\n EclFactFiguresDescriptionComponent,\n EclFactFiguresTitleComponent,\n EclFactFiguresValueComponent,\n ],\n exports: [\n EclFactFiguresComponent,\n EclFactFiguresItemComponent,\n EclFactFiguresViewAllComponent,\n EclFactFiguresDescriptionComponent,\n EclFactFiguresTitleComponent,\n EclFactFiguresValueComponent,\n ],\n})\nexport class EclFactFiguresModule {}\n","import { EclFactFiguresComponent } from './ecl-fact-figures.component';\nimport { EclFactFiguresItemComponent } from './ecl-fact-figures-item.component';\nimport { EclFactFiguresViewAllComponent } from './ecl-fact-figures-view-all.component';\nimport { EclFactFiguresDescriptionComponent } from './ecl-fact-figures-description.component';\nimport { EclFactFiguresTitleComponent } from './ecl-fact-figures-title.component';\nimport { EclFactFiguresValueComponent } from './ecl-fact-figures-value.component';\n\nexport * from './ecl-fact-figures.module';\nexport * from './ecl-fact-figures.component';\nexport * from './ecl-fact-figures-description.component';\nexport * from './ecl-fact-figures-title.component';\nexport * from './ecl-fact-figures-value.component';\nexport * from './ecl-fact-figures-item.component';\nexport * from './ecl-fact-figures-view-all.component';\n\nexport const EUI_ECL_FACT_FIGURES = [\n EclFactFiguresComponent,\n EclFactFiguresItemComponent,\n EclFactFiguresViewAllComponent,\n EclFactFiguresDescriptionComponent,\n EclFactFiguresTitleComponent,\n EclFactFiguresValueComponent,\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AkC;wBAClC,4BAA4B;wBAC5B,4BAA4B;AAC/B,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACL,uBAAuB;wBACvB,2BAA2B;wBAC3B,8BAA8B;wBAC9B,kCAAkC;wBAClC,4BAA4B;wBAC5B,4BAA4B;AAC/B,qBAAA;AACJ,iBAAA;;;ACfM,MAAM,oBAAoB,GAAG;IAChC,uBAAuB;IACvB,2BAA2B;IAC3B,8BAA8B;IAC9B,kCAAkC;IAClC,4BAA4B;IAC5B,4BAA4B;;;ACrBhC;;AAEG;;;;"}
1
+ {"version":3,"file":"eui-ecl-components-ecl-fact-figures.mjs","sources":["../../components/ecl-fact-figures/ecl-fact-figures-item.component.ts","../../components/ecl-fact-figures/ecl-fact-figures-item.component.html","../../components/ecl-fact-figures/ecl-fact-figures.component.ts","../../components/ecl-fact-figures/ecl-fact-figures.component.html","../../components/ecl-fact-figures/ecl-fact-figures-view-all.component.ts","../../components/ecl-fact-figures/ecl-fact-figures-view-all.component.html","../../components/ecl-fact-figures/ecl-fact-figures-description.directive.ts","../../components/ecl-fact-figures/ecl-fact-figures.module.ts","../../components/ecl-fact-figures/index.ts","../../components/ecl-fact-figures/eui-ecl-components-ecl-fact-figures.ts"],"sourcesContent":["import { AfterContentInit, Component, ContentChildren, HostBinding, input, QueryList } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclIconComponent } from '@eui/ecl/components/ecl-icon';\n\n/**\n * Component representing a single item within the Fact & Figures block.\n * Optionally handles embedded icons and applies appropriate styling.\n */\n@Component({\n selector: 'div[eclFactFiguresItem],ecl-fact-figures-item',\n templateUrl: './ecl-fact-figures-item.component.html',\n})\nexport class EclFactFiguresItemComponent extends ECLBaseDirective implements AfterContentInit {\n\n eclValue = input<string>();\n\n eclTitle = input<string>();\n\n /**\n * Applies the base class `ecl-fact-figures__item` to the host element.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-fact-figures__item')].join(' ').trim();\n }\n\n /**\n * Query for any EclIconComponent children projected into the component.\n * These icons will receive an additional CSS class.\n */\n @ContentChildren(EclIconComponent) eclIconComponents: QueryList<EclIconComponent>;\n\n /**\n * Lifecycle hook that adds a CSS class to any EclIconComponent\n * found within the projected content.\n */\n ngAfterContentInit(): void {\n if (this.eclIconComponents) {\n this.eclIconComponents.forEach((eclIcon) => {\n eclIcon.baseDirective.class = [eclIcon.baseDirective.class, 'ecl-fact-figures__icon'].join(' ');\n });\n }\n }\n}\n","<ng-content select=\"ecl-icon\"></ng-content>\n<div class=\"ecl-fact-figures__value\">{{ eclValue() }} <span class=\"ecl-fact-figures__title\">{{ eclTitle() }}</span></div>\n<ng-content select=\"ecl-icon\"></ng-content>\n<ng-content select=\"[eclFactFiguresDescription]\"></ng-content>","import {\n Component,\n Input,\n HostBinding,\n booleanAttribute,\n ContentChildren,\n ElementRef,\n QueryList,\n Renderer2,\n inject,\n} from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclFactFiguresItemComponent } from './ecl-fact-figures-item.component';\n\n/**\n * Main component for displaying a collection of fact and figure items\n * in a responsive, styled grid layout.\n */\n@Component({\n selector: 'div[eclFactFigures], ecl-fact-figures',\n templateUrl: './ecl-fact-figures.component.html',\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n})\nexport class EclFactFiguresComponent extends ECLBaseDirective {\n private renderer = inject(Renderer2);\n\n @ContentChildren(EclFactFiguresItemComponent, { read: ElementRef })\n items!: QueryList<ElementRef>;\n\n /**\n * Sets the CSS classes for the component, including layout and font size modifiers.\n * Automatically adds:\n * - `ecl-fact-figures--col-{n}` depending on the `columns` value\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-fact-figures'),\n `ecl-fact-figures--col-${this.columns}`].join(' ').trim();\n }\n\n /**\n * Number of columns in the layout (as string).\n * Default is `'3'`.\n */\n @Input() columns = '3';\n\n /**\n * Font size variant. Can be:\n * - `'m'` – medium (smaller text)\n * - `'l'` – large (default)\n */\n @Input() fontSize: 'm' | 'l' = 'l';\n\n /**\n * Whether the content should be centered.\n * Adds `ecl-fact-figures--centered` class when true.\n */\n @Input({ transform: booleanAttribute })\n @HostBinding('class.ecl-fact-figures--centered')\n isCentered = false;\n\n /**\n * After content init, mark the first item with `is-first` class\n * and add the `ecl-fact-figures__item--font-m` class to all items\n * if the fontSize input is set to 'm'.\n */\n ngAfterContentInit(): void {\n const elements = this.items?.toArray() ?? [];\n if (!elements.length) return;\n\n elements.forEach((el) => this.renderer.removeClass(el.nativeElement, 'is-first'));\n this.renderer.addClass(elements[0].nativeElement, 'is-first');\n\n elements.forEach(el => {\n if (this.fontSize === 'm') {\n this.renderer.addClass(el.nativeElement, 'ecl-fact-figures__item--font-m');\n } else {\n this.renderer.removeClass(el.nativeElement, 'ecl-fact-figures__item--font-m');\n }\n });\n }\n}\n","<div class=\"ecl-fact-figures__items\">\n <ng-content></ng-content>\n</div>\n\n<ng-content select=\"ecl-fact-figures-view-all\"></ng-content>\n","import { AfterContentInit, Component, ContentChild, HostBinding } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclLinkDirective } from '@eui/ecl/components/ecl-link';\n\n/**\n * Component representing the \"View all\" section in a Fact & Figures block.\n * Used to display a link that allows users to view additional content.\n */\n@Component({\n selector: 'ecl-fact-figures-view-all',\n templateUrl: './ecl-fact-figures-view-all.component.html',\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n})\nexport class EclFactFiguresViewAllComponent extends ECLBaseDirective implements AfterContentInit {\n /**\n * Applies the base class `ecl-fact-figures__view-all` to the host element.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-fact-figures__view-all')].join(' ').trim();\n }\n\n /**\n * Reference to the projected link directive inside the component.\n * Automatically decorated with a specific class upon initialization.\n */\n @ContentChild(EclLinkDirective) eclLink: EclLinkDirective;\n\n /**\n * Adds the `ecl-fact-figures__view-all-link` class to the projected link.\n * This ensures consistent styling within the view-all section.\n */\n ngAfterContentInit(): void {\n if (this.eclLink) {\n this.eclLink.class = [this.eclLink.class, 'ecl-fact-figures__view-all-link'].join(' ');\n }\n }\n}\n","<ng-content></ng-content>\n","import { Directive, HostBinding } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Directive, representing the description text of a fact or figures section.\n * Typically used to provide contextual or supporting information.\n */\n@Directive({\n selector: 'div[eclFactFiguresDescription]',\n})\nexport class EclFactFiguresDescriptionDirective extends ECLBaseDirective {\n /**\n * Applies the base class `ecl-fact-figures__description` to the host element.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-fact-figures__description')].join(' ').trim();\n }\n}\n","import { NgModule } from '@angular/core';\nimport { EclFactFiguresDescriptionDirective } from './ecl-fact-figures-description.directive';\nimport { EclFactFiguresItemComponent } from './ecl-fact-figures-item.component';\nimport { EclFactFiguresViewAllComponent } from './ecl-fact-figures-view-all.component';\nimport { EclFactFiguresComponent } from './ecl-fact-figures.component';\n\n/**\n * Module that provides the EclFactFigures component and its dependencies.\n *\n * @deprecated Use {@link EUI_ECL_FACT_FIGURES} instead.\n */\n@NgModule({\n imports: [\n EclFactFiguresComponent,\n EclFactFiguresItemComponent,\n EclFactFiguresViewAllComponent,\n EclFactFiguresDescriptionDirective,\n ],\n exports: [\n EclFactFiguresComponent,\n EclFactFiguresItemComponent,\n EclFactFiguresViewAllComponent,\n EclFactFiguresDescriptionDirective,\n ],\n})\nexport class EclFactFiguresModule {}\n","import { EclFactFiguresComponent } from './ecl-fact-figures.component';\nimport { EclFactFiguresItemComponent } from './ecl-fact-figures-item.component';\nimport { EclFactFiguresViewAllComponent } from './ecl-fact-figures-view-all.component';\nimport { EclFactFiguresDescriptionDirective } from './ecl-fact-figures-description.directive';\n\nexport * from './ecl-fact-figures.module';\nexport * from './ecl-fact-figures.component';\nexport * from './ecl-fact-figures-description.directive';\nexport * from './ecl-fact-figures-item.component';\nexport * from './ecl-fact-figures-view-all.component';\n\nexport const EUI_ECL_FACT_FIGURES = [\n EclFactFiguresComponent,\n EclFactFiguresItemComponent,\n EclFactFiguresViewAllComponent,\n EclFactFiguresDescriptionDirective,\n] as const;","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAIA;;;AAGG;AAKG,MAAO,2BAA4B,SAAQ,gBAAgB,CAAA;AAJjE,IAAA,WAAA,GAAA;;QAME,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,UAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAU;QAE1B,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,UAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAU;AA2B3B,IAAA;AAzBC;;AAEG;AACH,IAAA,IACI,UAAU,GAAA;AACZ,QAAA,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,wBAAwB,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE;IACzE;AAQA;;;AAGG;IACH,kBAAkB,GAAA;AAChB,QAAA,IAAI,IAAI,CAAC,iBAAiB,EAAE;YAC1B,IAAI,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC,OAAO,KAAI;AACzC,gBAAA,OAAO,CAAC,aAAa,CAAC,KAAK,GAAG,CAAC,OAAO,CAAC,aAAa,CAAC,KAAK,EAAE,wBAAwB,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC;AACjG,YAAA,CAAC,CAAC;QACJ;IACF;8GA9BW,2BAA2B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAA3B,2BAA2B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,+CAAA,EAAA,MAAA,EAAA,E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AAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,YAZzB,uBAAuB;YACvB,2BAA2B;YAC3B,8BAA8B;AAC9B,YAAA,kCAAkC,aAGlC,uBAAuB;YACvB,2BAA2B;YAC3B,8BAA8B;YAC9B,kCAAkC,CAAA,EAAA,CAAA,CAAA;+GAG7B,oBAAoB,EAAA,CAAA,CAAA;;2FAApB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAdhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE;wBACL,uBAAuB;wBACvB,2BAA2B;wBAC3B,8BAA8B;wBAC9B,kCAAkC;AACrC,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACL,uBAAuB;wBACvB,2BAA2B;wBAC3B,8BAA8B;wBAC9B,kCAAkC;AACrC,qBAAA;AACJ,iBAAA;;;ACbM,MAAM,oBAAoB,GAAG;IAChC,uBAAuB;IACvB,2BAA2B;IAC3B,8BAA8B;IAC9B,kCAAkC;;;ACftC;;AAEG;;;;"}
@@ -29,10 +29,10 @@ class EclFeaturedComponent extends ECLBaseDirective {
29
29
  this.variant ? `ecl-featured-item--${this.variant}` : '',
30
30
  ].join(' ').trim();
31
31
  }
32
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFeaturedComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
33
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "21.0.0-rc.2", type: EclFeaturedComponent, isStandalone: true, selector: "ecl-featured", inputs: { position: "position", variant: "variant", isLinkHighlighted: ["isLinkHighlighted", "isLinkHighlighted", booleanAttribute] }, host: { properties: { "class.ecl-featured-item--link-highlighted": "this.isLinkHighlighted", "attr.role": "this.role", "class": "this.cssClasses" } }, usesInheritance: true, ngImport: i0, template: "<div class=\"ecl-featured-item__container\" [class.ecl-featured-item__container--right]=\"position === 'right'\">\n <ng-content></ng-content>\n</div>" }); }
32
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclFeaturedComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
33
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "21.0.0", type: EclFeaturedComponent, isStandalone: true, selector: "ecl-featured", inputs: { position: "position", variant: "variant", isLinkHighlighted: ["isLinkHighlighted", "isLinkHighlighted", booleanAttribute] }, host: { properties: { "class.ecl-featured-item--link-highlighted": "this.isLinkHighlighted", "attr.role": "this.role", "class": "this.cssClasses" } }, usesInheritance: true, ngImport: i0, template: "<div class=\"ecl-featured-item__container\" [class.ecl-featured-item__container--right]=\"position === 'right'\">\n <ng-content></ng-content>\n</div>" }); }
34
34
  }
35
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFeaturedComponent, decorators: [{
35
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclFeaturedComponent, decorators: [{
36
36
  type: Component,
37
37
  args: [{ selector: 'ecl-featured', template: "<div class=\"ecl-featured-item__container\" [class.ecl-featured-item__container--right]=\"position === 'right'\">\n <ng-content></ng-content>\n</div>" }]
38
38
  }], propDecorators: { position: [{
@@ -71,10 +71,10 @@ class EclFeaturedItemLinkDirective extends ECLBaseDirective {
71
71
  this.renderer = renderer;
72
72
  this.className = true;
73
73
  }
74
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFeaturedItemLinkDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
75
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.0-rc.2", type: EclFeaturedItemLinkDirective, isStandalone: true, selector: "[eclFeaturedItemLink]", inputs: { ariaDescribedBy: "ariaDescribedBy" }, host: { properties: { "class.ecl-featured-item__link": "this.className" } }, usesInheritance: true, ngImport: i0 }); }
74
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclFeaturedItemLinkDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
75
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.0", type: EclFeaturedItemLinkDirective, isStandalone: true, selector: "[eclFeaturedItemLink]", inputs: { ariaDescribedBy: "ariaDescribedBy" }, host: { properties: { "class.ecl-featured-item__link": "this.className" } }, usesInheritance: true, ngImport: i0 }); }
76
76
  }
77
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFeaturedItemLinkDirective, decorators: [{
77
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclFeaturedItemLinkDirective, decorators: [{
78
78
  type: Directive,
79
79
  args: [{
80
80
  selector: '[eclFeaturedItemLink]',
@@ -111,10 +111,10 @@ class EclFeaturedItemComponent extends ECLBaseDirective {
111
111
  });
112
112
  }
113
113
  }
114
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFeaturedItemComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
115
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.0-rc.2", type: EclFeaturedItemComponent, isStandalone: true, selector: "ecl-featured-item", inputs: { eclTitle: "eclTitle", id: "id" }, host: { properties: { "class.ecl-featured-item__item": "this.className" } }, queries: [{ propertyName: "mediaContainer", first: true, predicate: EclMediaContainerComponent, descendants: true }, { propertyName: "links", predicate: EclFeaturedItemLinkDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: "@if(hasTitle) {\n <div class=\"ecl-featured-item__title\" [attr.id]=\"id + '-title'\">\n {{ eclTitle }}\n </div>\n}\n<ng-content></ng-content>\n", styles: [":host{display:block}\n"] }); }
114
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclFeaturedItemComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
115
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.0", type: EclFeaturedItemComponent, isStandalone: true, selector: "ecl-featured-item", inputs: { eclTitle: "eclTitle", id: "id" }, host: { properties: { "class.ecl-featured-item__item": "this.className" } }, queries: [{ propertyName: "mediaContainer", first: true, predicate: EclMediaContainerComponent, descendants: true }, { propertyName: "links", predicate: EclFeaturedItemLinkDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: "@if(hasTitle) {\n <div class=\"ecl-featured-item__title\" [attr.id]=\"id + '-title'\">\n {{ eclTitle }}\n </div>\n}\n<ng-content></ng-content>\n", styles: [":host{display:block}\n"] }); }
116
116
  }
117
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFeaturedItemComponent, decorators: [{
117
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclFeaturedItemComponent, decorators: [{
118
118
  type: Component,
119
119
  args: [{ selector: 'ecl-featured-item', template: "@if(hasTitle) {\n <div class=\"ecl-featured-item__title\" [attr.id]=\"id + '-title'\">\n {{ eclTitle }}\n </div>\n}\n<ng-content></ng-content>\n", styles: [":host{display:block}\n"] }]
120
120
  }], ctorParameters: () => [{ type: i0.Renderer2 }], propDecorators: { eclTitle: [{
@@ -141,10 +141,10 @@ class EclFeaturedItemDescriptionComponent extends ECLBaseDirective {
141
141
  super(...arguments);
142
142
  this.className = true;
143
143
  }
144
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFeaturedItemDescriptionComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
145
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.0-rc.2", type: EclFeaturedItemDescriptionComponent, isStandalone: true, selector: "ecl-featured-item-description", host: { properties: { "class.ecl-featured-item__description": "this.className" } }, usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"] }); }
144
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclFeaturedItemDescriptionComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
145
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.0", type: EclFeaturedItemDescriptionComponent, isStandalone: true, selector: "ecl-featured-item-description", host: { properties: { "class.ecl-featured-item__description": "this.className" } }, usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"] }); }
146
146
  }
147
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFeaturedItemDescriptionComponent, decorators: [{
147
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclFeaturedItemDescriptionComponent, decorators: [{
148
148
  type: Component,
149
149
  args: [{ selector: 'ecl-featured-item-description', template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"] }]
150
150
  }], propDecorators: { className: [{
@@ -165,17 +165,17 @@ const COMPONENTS = [
165
165
  * @deprecated Use {@link EUI_ECL_FEATURED} instead.
166
166
  */
167
167
  class EclFeaturedModule {
168
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFeaturedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
169
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFeaturedModule, imports: [EclFeaturedComponent,
168
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclFeaturedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
169
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.0", ngImport: i0, type: EclFeaturedModule, imports: [EclFeaturedComponent,
170
170
  EclFeaturedItemComponent,
171
171
  EclFeaturedItemLinkDirective,
172
172
  EclFeaturedItemDescriptionComponent], exports: [EclFeaturedComponent,
173
173
  EclFeaturedItemComponent,
174
174
  EclFeaturedItemLinkDirective,
175
175
  EclFeaturedItemDescriptionComponent] }); }
176
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFeaturedModule }); }
176
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclFeaturedModule }); }
177
177
  }
178
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFeaturedModule, decorators: [{
178
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclFeaturedModule, decorators: [{
179
179
  type: NgModule,
180
180
  args: [{
181
181
  imports: [...COMPONENTS],
@@ -1 +1 @@
1
- {"version":3,"file":"eui-ecl-components-ecl-featured.mjs","sources":["../../components/ecl-featured/ecl-featured.component.ts","../../components/ecl-featured/ecl-featured.component.html","../../components/ecl-featured/ecl-featured-item-link.directive.ts","../../components/ecl-featured/ecl-featured-item.component.ts","../../components/ecl-featured/ecl-featured-item.component.html","../../components/ecl-featured/ecl-featured-item-description.component.ts","../../components/ecl-featured/ecl-featured-item-description.component.html","../../components/ecl-featured/ecl-featured.module.ts","../../components/ecl-featured/index.ts","../../components/ecl-featured/eui-ecl-components-ecl-featured.ts"],"sourcesContent":["import { booleanAttribute, Component, HostBinding, Input } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n// TODO: ecl-featured-item-footer and the associated directives are removed. Not used anymore. breaking change v21.\n/**\n * Custom ECL component, that adds visual support to a piece of content. Uses <ecl-media-container>.\n */\n@Component({\n selector: 'ecl-featured',\n templateUrl: './ecl-featured.component.html',\n})\nexport class EclFeaturedComponent extends ECLBaseDirective {\n /**\n * The position of the image in the component. Can be 'left' or 'right'. The default value is 'left'.\n */\n @Input() position: 'left' | 'right' = 'left';\n \n /**\n * 'highligh' varian, applies class to make more stand out appearance of the component.\n */\n @Input() variant: 'highlight'; // TODO: variant 'simple' is removed in v21 - breaking change\n\n // TODO: new parameter for v21 - for EC variant only\n /** Gives a different display for the link in highlighted mode */\n @Input({ transform: booleanAttribute }) @HostBinding('class.ecl-featured-item--link-highlighted') isLinkHighlighted = false;\n\n @HostBinding('attr.role') role = 'article';\n\n /**\n * Adds specific classes to the component.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [\n super.getCssClasses('ecl-featured-item'),\n this.variant ?`ecl-featured-item--${this.variant}`: '',\n ].join(' ').trim();\n }\n}\n","<div class=\"ecl-featured-item__container\" [class.ecl-featured-item__container--right]=\"position === 'right'\">\n <ng-content></ng-content>\n</div>","import { Directive, ElementRef, Input, Renderer2, HostBinding } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Applies specific additional class for the eclLink directive, used in <ecl-featured-item> construction.\n */\n@Directive({\n selector: '[eclFeaturedItemLink]',\n})\nexport class EclFeaturedItemLinkDirective extends ECLBaseDirective {\n @HostBinding('class.ecl-featured-item__link') className = true;\n\n @Input()\n set ariaDescribedBy(value: string | null) {\n if (value) {\n this.renderer.setAttribute(this.el.nativeElement, 'aria-describedby', value);\n } else {\n this.renderer.removeAttribute(this.el.nativeElement, 'aria-describedby');\n }\n }\n\n constructor(private el: ElementRef, private renderer: Renderer2) {\n super();\n }\n}\n","import { AfterContentInit, Component, ContentChild, ContentChildren, HostBinding, Input, QueryList, Renderer2, ElementRef } from '@angular/core';\nimport { EclMediaContainerComponent } from '@eui/ecl/components/ecl-media-container';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { uniqueId } from '@eui/core';\nimport { EclFeaturedItemLinkDirective } from './ecl-featured-item-link.directive';\n\n/**\n * Container for the text part - title and description of the <ecl-featured> component.\n */\n@Component({\n selector: 'ecl-featured-item',\n templateUrl: './ecl-featured-item.component.html',\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n})\nexport class EclFeaturedItemComponent extends ECLBaseDirective implements AfterContentInit {\n @Input() eclTitle = '';\n @Input() id: string = `ecl-featured-item-${uniqueId()}`;\n @ContentChild(EclMediaContainerComponent) mediaContainer: EclMediaContainerComponent;\n @ContentChildren(EclFeaturedItemLinkDirective, { descendants: true })\n links?: QueryList<EclFeaturedItemLinkDirective>;\n\n @HostBinding('class.ecl-featured-item__item') className = true;\n\n constructor(private renderer: Renderer2) {\n super();\n }\n\n get hasTitle(): boolean {\n return this.eclTitle !== '';\n }\n\n ngAfterContentInit(): void {\n if (this.mediaContainer) {\n this.mediaContainer.class = 'ecl-featured-item__media_container';\n }\n\n const describedBy = this.hasTitle ? `${this.id}-title` : null;\n if (describedBy && this.links) {\n this.links.forEach(link => {\n link.ariaDescribedBy = describedBy;\n });\n }\n }\n}\n","@if(hasTitle) {\n <div class=\"ecl-featured-item__title\" [attr.id]=\"id + '-title'\">\n {{ eclTitle }}\n </div>\n}\n<ng-content></ng-content>\n","import { Component, HostBinding } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Applies specific additional class to style <ecl-featured-item-description> component, as a part of the\n * <ecl-featured> component.\n */\n@Component({\n selector: 'ecl-featured-item-description',\n templateUrl: './ecl-featured-item-description.component.html',\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n})\nexport class EclFeaturedItemDescriptionComponent extends ECLBaseDirective {\n @HostBinding('class.ecl-featured-item__description') className = true;\n}\n","<ng-content></ng-content>\n","import { NgModule } from '@angular/core';\nimport { EclFeaturedComponent } from './ecl-featured.component';\nimport { EclFeaturedItemComponent } from './ecl-featured-item.component';\nimport { EclFeaturedItemLinkDirective } from './ecl-featured-item-link.directive';\nimport { EclFeaturedItemDescriptionComponent } from './ecl-featured-item-description.component';\n\nconst COMPONENTS = [\n EclFeaturedComponent,\n EclFeaturedItemComponent,\n EclFeaturedItemLinkDirective,\n EclFeaturedItemDescriptionComponent,\n];\n\n/**\n * @description\n * Module that provides the EclFeatured component and its dependencies.\n *\n * @deprecated Use {@link EUI_ECL_FEATURED} instead.\n */\n@NgModule({\n imports: [...COMPONENTS],\n exports: [...COMPONENTS],\n})\nexport class EclFeaturedModule {}","import { EclFeaturedComponent } from './ecl-featured.component';\nimport { EclFeaturedItemComponent } from './ecl-featured-item.component';\nimport { EclFeaturedItemDescriptionComponent } from './ecl-featured-item-description.component';\nimport { EclFeaturedItemLinkDirective } from './ecl-featured-item-link.directive';\n\nexport * from './ecl-featured.module';\nexport * from './ecl-featured.component';\nexport * from './ecl-featured-item.component';\nexport * from './ecl-featured-item-description.component';\nexport * from './ecl-featured-item-link.directive';\n\nexport const EUI_ECL_FEATURED = [\n EclFeaturedComponent,\n EclFeaturedItemComponent,\n EclFeaturedItemLinkDirective,\n EclFeaturedItemDescriptionComponent,\n] as const;","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAGA;AACA;;AAEG;AAKG,MAAO,oBAAqB,SAAQ,gBAAgB,CAAA;AAJ1D,IAAA,WAAA,GAAA;;AAKI;;AAEG;QACM,IAAA,CAAA,QAAQ,GAAqB,MAAM;;;QASs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ED;;;;;AAKG;MAKU,iBAAiB,CAAA;mHAAjB,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAjB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,aAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,YAhB5B,oBAAoB;YACpB,wBAAwB;YACxB,4BAA4B;AAC5B,YAAA,mCAAmC,aAHnC,oBAAoB;YACpB,wBAAwB;YACxB,4BAA4B;YAC5B,mCAAmC,CAAA,EAAA,CAAA,CAAA;oHAaxB,iBAAiB,EAAA,CAAA,CAAA;;gGAAjB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAJ7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AACxB,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AACzB,iBAAA;;;ACXM,MAAM,gBAAgB,GAAG;IAC5B,oBAAoB;IACpB,wBAAwB;IACxB,4BAA4B;IAC5B,mCAAmC;;;ACfvC;;AAEG;;;;"}
1
+ {"version":3,"file":"eui-ecl-components-ecl-featured.mjs","sources":["../../components/ecl-featured/ecl-featured.component.ts","../../components/ecl-featured/ecl-featured.component.html","../../components/ecl-featured/ecl-featured-item-link.directive.ts","../../components/ecl-featured/ecl-featured-item.component.ts","../../components/ecl-featured/ecl-featured-item.component.html","../../components/ecl-featured/ecl-featured-item-description.component.ts","../../components/ecl-featured/ecl-featured-item-description.component.html","../../components/ecl-featured/ecl-featured.module.ts","../../components/ecl-featured/index.ts","../../components/ecl-featured/eui-ecl-components-ecl-featured.ts"],"sourcesContent":["import { booleanAttribute, Component, HostBinding, Input } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n// TODO: ecl-featured-item-footer and the associated directives are removed. Not used anymore. breaking change v21.\n/**\n * Custom ECL component, that adds visual support to a piece of content. Uses <ecl-media-container>.\n */\n@Component({\n selector: 'ecl-featured',\n templateUrl: './ecl-featured.component.html',\n})\nexport class EclFeaturedComponent extends ECLBaseDirective {\n /**\n * The position of the image in the component. Can be 'left' or 'right'. The default value is 'left'.\n */\n @Input() position: 'left' | 'right' = 'left';\n \n /**\n * 'highligh' varian, applies class to make more stand out appearance of the component.\n */\n @Input() variant: 'highlight'; // TODO: variant 'simple' is removed in v21 - breaking change\n\n // TODO: new parameter for v21 - for EC variant only\n /** Gives a different display for the link in highlighted mode */\n @Input({ transform: booleanAttribute }) @HostBinding('class.ecl-featured-item--link-highlighted') isLinkHighlighted = false;\n\n @HostBinding('attr.role') role = 'article';\n\n /**\n * Adds specific classes to the component.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [\n super.getCssClasses('ecl-featured-item'),\n this.variant ?`ecl-featured-item--${this.variant}`: '',\n ].join(' ').trim();\n }\n}\n","<div class=\"ecl-featured-item__container\" [class.ecl-featured-item__container--right]=\"position === 'right'\">\n <ng-content></ng-content>\n</div>","import { Directive, ElementRef, Input, Renderer2, HostBinding } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Applies specific additional class for the eclLink directive, used in <ecl-featured-item> construction.\n */\n@Directive({\n selector: '[eclFeaturedItemLink]',\n})\nexport class EclFeaturedItemLinkDirective extends ECLBaseDirective {\n @HostBinding('class.ecl-featured-item__link') className = true;\n\n @Input()\n set ariaDescribedBy(value: string | null) {\n if (value) {\n this.renderer.setAttribute(this.el.nativeElement, 'aria-describedby', value);\n } else {\n this.renderer.removeAttribute(this.el.nativeElement, 'aria-describedby');\n }\n }\n\n constructor(private el: ElementRef, private renderer: Renderer2) {\n super();\n }\n}\n","import { AfterContentInit, Component, ContentChild, ContentChildren, HostBinding, Input, QueryList, Renderer2, ElementRef } from '@angular/core';\nimport { EclMediaContainerComponent } from '@eui/ecl/components/ecl-media-container';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { uniqueId } from '@eui/core';\nimport { EclFeaturedItemLinkDirective } from './ecl-featured-item-link.directive';\n\n/**\n * Container for the text part - title and description of the <ecl-featured> component.\n */\n@Component({\n selector: 'ecl-featured-item',\n templateUrl: './ecl-featured-item.component.html',\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n})\nexport class EclFeaturedItemComponent extends ECLBaseDirective implements AfterContentInit {\n @Input() eclTitle = '';\n @Input() id: string = `ecl-featured-item-${uniqueId()}`;\n @ContentChild(EclMediaContainerComponent) mediaContainer: EclMediaContainerComponent;\n @ContentChildren(EclFeaturedItemLinkDirective, { descendants: true })\n links?: QueryList<EclFeaturedItemLinkDirective>;\n\n @HostBinding('class.ecl-featured-item__item') className = true;\n\n constructor(private renderer: Renderer2) {\n super();\n }\n\n get hasTitle(): boolean {\n return this.eclTitle !== '';\n }\n\n ngAfterContentInit(): void {\n if (this.mediaContainer) {\n this.mediaContainer.class = 'ecl-featured-item__media_container';\n }\n\n const describedBy = this.hasTitle ? `${this.id}-title` : null;\n if (describedBy && this.links) {\n this.links.forEach(link => {\n link.ariaDescribedBy = describedBy;\n });\n }\n }\n}\n","@if(hasTitle) {\n <div class=\"ecl-featured-item__title\" [attr.id]=\"id + '-title'\">\n {{ eclTitle }}\n </div>\n}\n<ng-content></ng-content>\n","import { Component, HostBinding } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Applies specific additional class to style <ecl-featured-item-description> component, as a part of the\n * <ecl-featured> component.\n */\n@Component({\n selector: 'ecl-featured-item-description',\n templateUrl: './ecl-featured-item-description.component.html',\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n})\nexport class EclFeaturedItemDescriptionComponent extends ECLBaseDirective {\n @HostBinding('class.ecl-featured-item__description') className = true;\n}\n","<ng-content></ng-content>\n","import { NgModule } from '@angular/core';\nimport { EclFeaturedComponent } from './ecl-featured.component';\nimport { EclFeaturedItemComponent } from './ecl-featured-item.component';\nimport { EclFeaturedItemLinkDirective } from './ecl-featured-item-link.directive';\nimport { EclFeaturedItemDescriptionComponent } from './ecl-featured-item-description.component';\n\nconst COMPONENTS = [\n EclFeaturedComponent,\n EclFeaturedItemComponent,\n EclFeaturedItemLinkDirective,\n EclFeaturedItemDescriptionComponent,\n];\n\n/**\n * @description\n * Module that provides the EclFeatured component and its dependencies.\n *\n * @deprecated Use {@link EUI_ECL_FEATURED} instead.\n */\n@NgModule({\n imports: [...COMPONENTS],\n exports: [...COMPONENTS],\n})\nexport class EclFeaturedModule {}","import { EclFeaturedComponent } from './ecl-featured.component';\nimport { EclFeaturedItemComponent } from './ecl-featured-item.component';\nimport { EclFeaturedItemDescriptionComponent } from './ecl-featured-item-description.component';\nimport { EclFeaturedItemLinkDirective } from './ecl-featured-item-link.directive';\n\nexport * from './ecl-featured.module';\nexport * from './ecl-featured.component';\nexport * from './ecl-featured-item.component';\nexport * from './ecl-featured-item-description.component';\nexport * from './ecl-featured-item-link.directive';\n\nexport const EUI_ECL_FEATURED = [\n EclFeaturedComponent,\n EclFeaturedItemComponent,\n EclFeaturedItemLinkDirective,\n EclFeaturedItemDescriptionComponent,\n] as const;","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAGA;AACA;;AAEG;AAKG,MAAO,oBAAqB,SAAQ,gBAAgB,CAAA;AAJ1D,IAAA,WAAA,GAAA;;AAKI;;AAEG;QACM,IAAA,CAAA,QAAQ,GAAqB,MAAM;;;QASsD,IAAA,CAAA,iBAAiB,GAAG,KAAK;QAEjG,IAAA,CAAA,IAAI,GAAG,SAAS;AAY7C,IAAA;AAVG;;AAEG;AACH,IAAA,IACI,UAAU,GAAA;QACV,OAAO;AACH,YAAA,KAAK,CAAC,aAAa,CAAC,mBAAmB,CAAC;AACxC,YAAA,IAAI,CAAC,OAAO,GAAE,CAAA,mBAAA,EAAsB,IAAI,C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,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,YAhB5B,oBAAoB;YACpB,wBAAwB;YACxB,4BAA4B;AAC5B,YAAA,mCAAmC,aAHnC,oBAAoB;YACpB,wBAAwB;YACxB,4BAA4B;YAC5B,mCAAmC,CAAA,EAAA,CAAA,CAAA;+GAaxB,iBAAiB,EAAA,CAAA,CAAA;;2FAAjB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAJ7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AACxB,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AACzB,iBAAA;;;ACXM,MAAM,gBAAgB,GAAG;IAC5B,oBAAoB;IACpB,wBAAwB;IACxB,4BAA4B;IAC5B,mCAAmC;;;ACfvC;;AAEG;;;;"}
@@ -30,10 +30,10 @@ class EclFeedbackMessageDirective extends ECLBaseDirective {
30
30
  });
31
31
  }
32
32
  }
33
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFeedbackMessageDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
34
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.0-rc.2", type: EclFeedbackMessageDirective, isStandalone: true, selector: "[eclFeedbackMessage]", host: { properties: { "class": "this.cssClasses" } }, queries: [{ propertyName: "eclIconComponents", predicate: i0.forwardRef(() => EclIconComponent) }], usesInheritance: true, ngImport: i0 }); }
33
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclFeedbackMessageDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
34
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.0", type: EclFeedbackMessageDirective, isStandalone: true, selector: "[eclFeedbackMessage]", host: { properties: { "class": "this.cssClasses" } }, queries: [{ propertyName: "eclIconComponents", predicate: i0.forwardRef(() => EclIconComponent) }], usesInheritance: true, ngImport: i0 }); }
35
35
  }
36
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFeedbackMessageDirective, decorators: [{
36
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclFeedbackMessageDirective, decorators: [{
37
37
  type: Directive,
38
38
  args: [{
39
39
  selector: '[eclFeedbackMessage]',
@@ -52,11 +52,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ng
52
52
  * @deprecated Use {@link EUI_ECL_FEEDBACK_MESSAGE} instead.
53
53
  */
54
54
  class EclFeedbackMessageModule {
55
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFeedbackMessageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
56
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFeedbackMessageModule, imports: [EclFeedbackMessageDirective], exports: [EclFeedbackMessageDirective] }); }
57
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFeedbackMessageModule }); }
55
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclFeedbackMessageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
56
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.0", ngImport: i0, type: EclFeedbackMessageModule, imports: [EclFeedbackMessageDirective], exports: [EclFeedbackMessageDirective] }); }
57
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclFeedbackMessageModule }); }
58
58
  }
59
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFeedbackMessageModule, decorators: [{
59
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclFeedbackMessageModule, decorators: [{
60
60
  type: NgModule,
61
61
  args: [{
62
62
  imports: [EclFeedbackMessageDirective],
@@ -1 +1 @@
1
- {"version":3,"file":"eui-ecl-components-ecl-feedback-message.mjs","sources":["../../components/ecl-feedback-message/ecl-feedback-message.directive.ts","../../components/ecl-feedback-message/ecl-feedback-message.module.ts","../../components/ecl-feedback-message/index.ts","../../components/ecl-feedback-message/eui-ecl-components-ecl-feedback-message.ts"],"sourcesContent":["import { AfterContentInit, ContentChildren, Directive, forwardRef, HostBinding, QueryList } from '@angular/core';\nimport { EclIconComponent } from '@eui/ecl/components/ecl-icon';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n// TODO: check the look of this component after icons update.\n\n/**\n * Directive that renders a feedback message following the ECL design system.\n * It automatically styles its content and nested icon components accordingly.\n *\n * Should be applied to a container element that wraps a feedback message.\n */\n@Directive({\n selector: '[eclFeedbackMessage]',\n})\nexport class EclFeedbackMessageDirective extends ECLBaseDirective implements AfterContentInit {\n /**\n * Applies the appropriate ECL feedback message CSS class to the host element.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-feedback-message')].join(' ').trim();\n }\n\n /**\n * Queries all nested `EclIconComponent` instances inside the host element.\n * These icons will receive the `ecl-feedback-message__icon` styling class.\n */\n @ContentChildren(forwardRef(() => EclIconComponent)) eclIconComponents: QueryList<EclIconComponent>;\n\n /**\n * Lifecycle hook that runs after content (e.g. projected icons) is initialized.\n * Adds the `ecl-feedback-message__icon` CSS class to each nested icon component.\n */\n ngAfterContentInit(): void {\n if (this.eclIconComponents) {\n setTimeout(() => {\n this.eclIconComponents.forEach((icn) => {\n icn.baseDirective.class = [icn.baseDirective.class, 'ecl-feedback-message__icon'].join(' ');\n });\n });\n }\n }\n}\n","import { NgModule } from '@angular/core';\nimport { EclFeedbackMessageDirective } from './ecl-feedback-message.directive';\n\n/**\n * Module that provides the EclFeedbackMessage directive.\n *\n * @deprecated Use {@link EUI_ECL_FEEDBACK_MESSAGE} instead.\n */\n@NgModule({\n imports: [EclFeedbackMessageDirective],\n exports: [EclFeedbackMessageDirective],\n})\nexport class EclFeedbackMessageModule {}\n","import { EclFeedbackMessageDirective } from './ecl-feedback-message.directive';\n\nexport * from './ecl-feedback-message.module';\nexport * from './ecl-feedback-message.directive';\n\nexport const EUI_ECL_FEEDBACK_MESSAGE = [\n EclFeedbackMessageDirective,\n] as const;","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAIA;AAEA;;;;;AAKG;AAIG,MAAO,2BAA4B,SAAQ,gBAAgB,CAAA;AAC7D;;AAEG;AACH,IAAA,IACI,UAAU,GAAA;AACV,QAAA,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,sBAAsB,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE;IACzE;AAQA;;;AAGG;IACH,kBAAkB,GAAA;AACd,QAAA,IAAI,IAAI,CAAC,iBAAiB,EAAE;YACxB,UAAU,CAAC,MAAK;gBACZ,IAAI,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC,GAAG,KAAI;AACnC,oBAAA,GAAG,CAAC,aAAa,CAAC,KAAK,GAAG,CAAC,GAAG,CAAC,aAAa,CAAC,KAAK,EAAE,4BAA4B,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC;AAC/F,gBAAA,CAAC,CAAC;AACN,YAAA,CAAC,CAAC;QACN;IACJ;mHA3BS,2BAA2B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA3B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,aAAA,EAAA,IAAA,EAAA,2BAA2B,4LAaF,gBAAgB,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;gGAbzC,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBAHvC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,sBAAsB;AACnC,iBAAA;;sBAKI,WAAW;uBAAC,OAAO;;sBASnB,eAAe;AAAC,gBAAA,IAAA,EAAA,CAAA,UAAU,CAAC,MAAM,gBAAgB,CAAC;;;ACzBvD;;;;AAIG;MAKU,wBAAwB,CAAA;mHAAxB,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;oHAAxB,wBAAwB,EAAA,OAAA,EAAA,CAHvB,2BAA2B,CAAA,EAAA,OAAA,EAAA,CAC3B,2BAA2B,CAAA,EAAA,CAAA,CAAA;oHAE5B,wBAAwB,EAAA,CAAA,CAAA;;gGAAxB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAJpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,2BAA2B,CAAC;oBACtC,OAAO,EAAE,CAAC,2BAA2B,CAAC;AACzC,iBAAA;;;ACNM,MAAM,wBAAwB,GAAG;IACpC,2BAA2B;;;ACN/B;;AAEG;;;;"}
1
+ {"version":3,"file":"eui-ecl-components-ecl-feedback-message.mjs","sources":["../../components/ecl-feedback-message/ecl-feedback-message.directive.ts","../../components/ecl-feedback-message/ecl-feedback-message.module.ts","../../components/ecl-feedback-message/index.ts","../../components/ecl-feedback-message/eui-ecl-components-ecl-feedback-message.ts"],"sourcesContent":["import { AfterContentInit, ContentChildren, Directive, forwardRef, HostBinding, QueryList } from '@angular/core';\nimport { EclIconComponent } from '@eui/ecl/components/ecl-icon';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n// TODO: check the look of this component after icons update.\n\n/**\n * Directive that renders a feedback message following the ECL design system.\n * It automatically styles its content and nested icon components accordingly.\n *\n * Should be applied to a container element that wraps a feedback message.\n */\n@Directive({\n selector: '[eclFeedbackMessage]',\n})\nexport class EclFeedbackMessageDirective extends ECLBaseDirective implements AfterContentInit {\n /**\n * Applies the appropriate ECL feedback message CSS class to the host element.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-feedback-message')].join(' ').trim();\n }\n\n /**\n * Queries all nested `EclIconComponent` instances inside the host element.\n * These icons will receive the `ecl-feedback-message__icon` styling class.\n */\n @ContentChildren(forwardRef(() => EclIconComponent)) eclIconComponents: QueryList<EclIconComponent>;\n\n /**\n * Lifecycle hook that runs after content (e.g. projected icons) is initialized.\n * Adds the `ecl-feedback-message__icon` CSS class to each nested icon component.\n */\n ngAfterContentInit(): void {\n if (this.eclIconComponents) {\n setTimeout(() => {\n this.eclIconComponents.forEach((icn) => {\n icn.baseDirective.class = [icn.baseDirective.class, 'ecl-feedback-message__icon'].join(' ');\n });\n });\n }\n }\n}\n","import { NgModule } from '@angular/core';\nimport { EclFeedbackMessageDirective } from './ecl-feedback-message.directive';\n\n/**\n * Module that provides the EclFeedbackMessage directive.\n *\n * @deprecated Use {@link EUI_ECL_FEEDBACK_MESSAGE} instead.\n */\n@NgModule({\n imports: [EclFeedbackMessageDirective],\n exports: [EclFeedbackMessageDirective],\n})\nexport class EclFeedbackMessageModule {}\n","import { EclFeedbackMessageDirective } from './ecl-feedback-message.directive';\n\nexport * from './ecl-feedback-message.module';\nexport * from './ecl-feedback-message.directive';\n\nexport const EUI_ECL_FEEDBACK_MESSAGE = [\n EclFeedbackMessageDirective,\n] as const;","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],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8GAAxB,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAAxB,wBAAwB,EAAA,OAAA,EAAA,CAHvB,2BAA2B,CAAA,EAAA,OAAA,EAAA,CAC3B,2BAA2B,CAAA,EAAA,CAAA,CAAA;+GAE5B,wBAAwB,EAAA,CAAA,CAAA;;2FAAxB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAJpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,2BAA2B,CAAC;oBACtC,OAAO,EAAE,CAAC,2BAA2B,CAAC;AACzC,iBAAA;;;ACNM,MAAM,wBAAwB,GAAG;IACpC,2BAA2B;;;ACN/B;;AAEG;;;;"}
@@ -225,10 +225,10 @@ class EclFileUploadDirective extends ECLBaseDirective {
225
225
  const i = Math.floor(Math.log(bytes) / Math.log(k));
226
226
  return `${parseFloat((bytes / k ** i).toFixed(dm))} ${sizes[i]}`;
227
227
  }
228
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "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.0", ngImport: i0, type: EclFileUploadDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
229
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "21.0.0", 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.0", ngImport: i0, type: EclFileUploadDirective, decorators: [{
232
232
  type: Directive,
233
233
  args: [{
234
234
  selector: '[eclFileUpload]',
@@ -279,11 +279,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ng
279
279
  * @deprecated Use {@link EUI_ECL_FILE_UPLOAD} instead.
280
280
  */
281
281
  class EclFileUploadModule {
282
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "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 }); }
282
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclFileUploadModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
283
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.0", ngImport: i0, type: EclFileUploadModule, imports: [EclFileUploadDirective], exports: [EclFileUploadDirective] }); }
284
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclFileUploadModule }); }
285
285
  }
286
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclFileUploadModule, decorators: [{
286
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0", ngImport: i0, type: EclFileUploadModule, decorators: [{
287
287
  type: NgModule,
288
288
  args: [{
289
289
  imports: [EclFileUploadDirective],