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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (631) hide show
  1. package/assets/i18n-ecl/bg.json +1 -0
  2. package/assets/i18n-ecl/cs.json +1 -0
  3. package/assets/i18n-ecl/da.json +1 -0
  4. package/assets/i18n-ecl/de.json +1 -0
  5. package/assets/i18n-ecl/el.json +1 -0
  6. package/assets/i18n-ecl/en.json +1 -0
  7. package/assets/i18n-ecl/es.json +1 -0
  8. package/assets/i18n-ecl/et.json +1 -0
  9. package/assets/i18n-ecl/fi.json +1 -0
  10. package/assets/i18n-ecl/fr.json +1 -0
  11. package/assets/i18n-ecl/ga.json +1 -0
  12. package/assets/i18n-ecl/hr.json +1 -0
  13. package/assets/i18n-ecl/hu.json +1 -0
  14. package/assets/i18n-ecl/it.json +1 -0
  15. package/assets/i18n-ecl/lt.json +1 -0
  16. package/assets/i18n-ecl/lv.json +1 -0
  17. package/assets/i18n-ecl/mt.json +1 -0
  18. package/assets/i18n-ecl/nl.json +1 -0
  19. package/assets/i18n-ecl/pl.json +1 -0
  20. package/assets/i18n-ecl/pt.json +1 -0
  21. package/assets/i18n-ecl/ro.json +1 -0
  22. package/assets/i18n-ecl/sk.json +1 -0
  23. package/assets/i18n-ecl/sl.json +1 -0
  24. package/assets/i18n-ecl/sv.json +1 -0
  25. package/components/ecl-banner/index.d.ts +13 -4
  26. package/components/ecl-banner/index.d.ts.map +1 -1
  27. package/components/ecl-carousel/index.d.ts +1 -0
  28. package/components/ecl-carousel/index.d.ts.map +1 -1
  29. package/components/ecl-featured/index.d.ts +1 -1
  30. package/components/ecl-featured/index.d.ts.map +1 -1
  31. package/components/ecl-gallery/index.d.ts +1 -1
  32. package/components/ecl-gallery/index.d.ts.map +1 -1
  33. package/components/ecl-link/index.d.ts +6 -6
  34. package/components/ecl-link/index.d.ts.map +1 -1
  35. package/components/ecl-mega-menu/index.d.ts +2 -1
  36. package/components/ecl-mega-menu/index.d.ts.map +1 -1
  37. package/components/ecl-menu/index.d.ts +7 -1
  38. package/components/ecl-menu/index.d.ts.map +1 -1
  39. package/components/ecl-multiselect/index.d.ts +2 -2
  40. package/components/ecl-pagination/index.d.ts +1 -0
  41. package/components/ecl-pagination/index.d.ts.map +1 -1
  42. package/components/ecl-popover/index.d.ts +1 -1
  43. package/components/ecl-popover/index.d.ts.map +1 -1
  44. package/components/ecl-site-footer/index.d.ts +55 -32
  45. package/components/ecl-site-footer/index.d.ts.map +1 -1
  46. package/components/ecl-site-header/index.d.ts +1 -3
  47. package/components/ecl-site-header/index.d.ts.map +1 -1
  48. package/components/ecl-social-media-follow/index.d.ts +3 -1
  49. package/components/ecl-social-media-follow/index.d.ts.map +1 -1
  50. package/components/ecl-tabs/index.d.ts +5 -1
  51. package/components/ecl-tabs/index.d.ts.map +1 -1
  52. package/core/index.d.ts +7 -1
  53. package/core/index.d.ts.map +1 -1
  54. package/docs/changelog.html +427 -7760
  55. package/docs/classes/EclAccordionToggleEvent.html +18 -0
  56. package/docs/classes/EclAppLanguageDismissEvent.html +18 -0
  57. package/docs/classes/EclAreaChangeEvent.html +18 -0
  58. package/docs/classes/EclBaseEvent.html +18 -0
  59. package/docs/classes/EclBreadcrumbSegmentClickEvent.html +18 -0
  60. package/docs/classes/EclCategoryFilterItemSelectEvent.html +18 -0
  61. package/docs/classes/EclDatePickerDatePickedEvent.html +18 -0
  62. package/docs/classes/EclDomEvent.html +18 -0
  63. package/docs/classes/EclExpandableToggleEvent.html +18 -0
  64. package/docs/classes/EclFileItemsToggleEvent.html +18 -0
  65. package/docs/classes/EclFileUploadFileSelectedEvent.html +18 -0
  66. package/docs/classes/EclGalleryFullScreenEvent.html +18 -0
  67. package/docs/classes/EclGalleryHideEvent.html +18 -0
  68. package/docs/classes/EclGalleryItemClickEvent.html +18 -0
  69. package/docs/classes/EclGalleryItemEvent.html +18 -0
  70. package/docs/classes/EclGalleryMediaSource.html +18 -0
  71. package/docs/classes/EclGalleryMediaTrack.html +18 -0
  72. package/docs/classes/EclGalleryPictureImage.html +18 -0
  73. package/docs/classes/EclGalleryPictureSource.html +18 -0
  74. package/docs/classes/EclGalleryShareEvent.html +18 -0
  75. package/docs/classes/EclGalleryShowEvent.html +18 -0
  76. package/docs/classes/EclGalleryToggleItemsEvent.html +18 -0
  77. package/docs/classes/EclInpageNavigationItemClickEvent.html +18 -0
  78. package/docs/classes/EclInpageNavigationSectionEnterEvent.html +18 -0
  79. package/docs/classes/EclLanguageService.html +18 -0
  80. package/docs/classes/EclMenuItemCaretEvent.html +18 -0
  81. package/docs/classes/EclMenuItemFocusEvent.html +18 -0
  82. package/docs/classes/EclMenuItemHoverEvent.html +18 -0
  83. package/docs/classes/EclMenuItemHoverOutEvent.html +18 -0
  84. package/docs/classes/EclMenuItemKeydownEvent.html +18 -0
  85. package/docs/classes/EclMenuItemParentFocusEvent.html +18 -0
  86. package/docs/classes/EclMenuItemSelectEvent.html +18 -0
  87. package/docs/classes/EclModalCloseEvent.html +18 -0
  88. package/docs/classes/EclModalOpenEvent.html +18 -0
  89. package/docs/classes/EclMultiselectMainInputClickEvent.html +18 -0
  90. package/docs/classes/EclMultiselectOptionClickEvent.html +18 -0
  91. package/docs/classes/EclMultiselectOptionKeydownEvent.html +18 -0
  92. package/docs/classes/EclNewsTickerItemEvent.html +18 -0
  93. package/docs/classes/EclNotificationCloseEvent.html +18 -0
  94. package/docs/classes/EclPaginationEvent.html +18 -0
  95. package/docs/classes/EclPaginationItemClickEvent.html +18 -0
  96. package/docs/classes/EclRangeEvent.html +18 -0
  97. package/docs/classes/EclRatingChangeEvent.html +18 -0
  98. package/docs/classes/EclSearchFormEvent.html +18 -0
  99. package/docs/classes/EclSiteHeaderLanguageClickEvent.html +18 -0
  100. package/docs/classes/EclSiteHeaderLanguageCloseEvent.html +18 -0
  101. package/docs/classes/EclSiteHeaderLanguageSelectedEvent.html +18 -0
  102. package/docs/classes/EclSiteHeaderLoginBoxToggleEvent.html +18 -0
  103. package/docs/classes/EclSiteHeaderLoginEvent.html +18 -0
  104. package/docs/classes/EclSiteHeaderLogoClickEvent.html +18 -0
  105. package/docs/classes/EclSiteHeaderSearchEvent.html +18 -0
  106. package/docs/classes/EclSiteHeaderSearchToggleEvent.html +18 -0
  107. package/docs/classes/EclSlideEvent.html +18 -0
  108. package/docs/classes/EclSocialMediaFollowItemClickEvent.html +18 -0
  109. package/docs/classes/EclSocialMediaShareItemClickEvent.html +18 -0
  110. package/docs/classes/EclSortTableEvent.html +18 -0
  111. package/docs/classes/EclTabSelectEvent.html +18 -0
  112. package/docs/classes/EclTagRemoveEvent.html +18 -0
  113. package/docs/classes/EclTimelineItemToggleEvent.html +18 -0
  114. package/docs/components/EclAccordionComponent.html +21 -3
  115. package/docs/components/EclAccordionItemComponent.html +22 -4
  116. package/docs/components/EclAppComponent.html +20 -2
  117. package/docs/components/EclBannerComponent.html +136 -6
  118. package/docs/components/EclBlockquoteComponent.html +20 -2
  119. package/docs/components/EclBreadcrumbComponent.html +22 -9
  120. package/docs/components/EclBreadcrumbSegmentComponent.html +24 -5
  121. package/docs/components/EclButtonComponent.html +21 -3
  122. package/docs/components/EclCardBodyComponent.html +20 -2
  123. package/docs/components/EclCardComponent.html +20 -2
  124. package/docs/components/EclCarouselComponent.html +101 -2
  125. package/docs/components/EclCarouselItemComponent.html +20 -2
  126. package/docs/components/EclCategoryFilterComponent.html +20 -2
  127. package/docs/components/EclCategoryFilterItemComponent.html +21 -3
  128. package/docs/components/EclCategoryFilterListComponent.html +20 -2
  129. package/docs/components/EclCheckboxHelpComponent.html +20 -2
  130. package/docs/components/EclCheckboxLabelComponent.html +21 -3
  131. package/docs/components/EclContentBlockComponent.html +20 -2
  132. package/docs/components/EclContentItemComponent.html +20 -2
  133. package/docs/components/EclDateBlockComponent.html +20 -2
  134. package/docs/components/EclDescriptionListDefinitionComponent.html +21 -3
  135. package/docs/components/EclExpandableComponent.html +22 -4
  136. package/docs/components/EclFactFiguresComponent.html +20 -2
  137. package/docs/components/EclFactFiguresDescriptionComponent.html +20 -2
  138. package/docs/components/EclFactFiguresItemComponent.html +20 -2
  139. package/docs/components/EclFactFiguresTitleComponent.html +20 -2
  140. package/docs/components/EclFactFiguresValueComponent.html +20 -2
  141. package/docs/components/EclFactFiguresViewAllComponent.html +20 -2
  142. package/docs/components/EclFeaturedComponent.html +20 -2
  143. package/docs/components/EclFeaturedItemComponent.html +20 -2
  144. package/docs/components/EclFeaturedItemDescriptionComponent.html +20 -2
  145. package/docs/components/EclFeaturedItemFooterComponent.html +20 -2
  146. package/docs/components/EclFileComponent.html +22 -4
  147. package/docs/components/EclFileItemComponent.html +20 -2
  148. package/docs/components/EclFileItemsComponent.html +22 -4
  149. package/docs/components/EclFileTaxonomyComponent.html +20 -2
  150. package/docs/components/EclFormGroupComponent.html +20 -2
  151. package/docs/components/EclFormLabelComponent.html +20 -2
  152. package/docs/components/EclGalleryComponent.html +27 -48
  153. package/docs/components/EclGalleryFooterComponent.html +21 -3
  154. package/docs/components/EclGalleryItemComponent.html +21 -3
  155. package/docs/components/EclIconComponent.html +20 -2
  156. package/docs/components/EclInpageNavigationComponent.html +21 -3
  157. package/docs/components/EclInpageNavigationItemComponent.html +21 -3
  158. package/docs/components/EclListIllustrationComponent.html +20 -2
  159. package/docs/components/EclListIllustrationItemComponent.html +20 -2
  160. package/docs/components/EclLoadingIndicatorComponent.html +20 -2
  161. package/docs/components/EclMediaContainerComponent.html +22 -4
  162. package/docs/components/EclMegaMenuComponent.html +47 -25
  163. package/docs/components/EclMegaMenuFeaturedComponent.html +20 -2
  164. package/docs/components/EclMegaMenuInfoComponent.html +20 -2
  165. package/docs/components/EclMegaMenuItemComponent.html +25 -6
  166. package/docs/components/EclMegaMenuSubitemComponent.html +25 -6
  167. package/docs/components/EclMenuComponent.html +195 -37
  168. package/docs/components/EclMenuItemComponent.html +25 -6
  169. package/docs/components/EclMenuMegaComponent.html +20 -2
  170. package/docs/components/EclMenuMegaItemComponent.html +21 -3
  171. package/docs/components/EclModalBodyComponent.html +20 -2
  172. package/docs/components/EclModalComponent.html +20 -2
  173. package/docs/components/EclModalFooterComponent.html +20 -2
  174. package/docs/components/EclModalHeaderComponent.html +22 -4
  175. package/docs/components/EclMultiselectComponent.html +21 -5
  176. package/docs/components/EclMultiselectDropdownComponent.html +26 -45
  177. package/docs/components/EclMultiselectInputComponent.html +22 -4
  178. package/docs/components/EclMultiselectOptgroupComponent.html +20 -2
  179. package/docs/components/EclMultiselectOptionComponent.html +20 -2
  180. package/docs/components/EclNavigationListComponent.html +20 -2
  181. package/docs/components/EclNavigationListItemComponent.html +20 -2
  182. package/docs/components/EclNewsTickerComponent.html +22 -4
  183. package/docs/components/EclNewsTickerItemComponent.html +20 -2
  184. package/docs/components/EclNotificationComponent.html +22 -4
  185. package/docs/components/EclPageHeaderComponent.html +20 -2
  186. package/docs/components/EclPaginationComponent.html +20 -2
  187. package/docs/components/EclPaginationItemComponent.html +50 -6
  188. package/docs/components/EclPopoverComponent.html +27 -54
  189. package/docs/components/EclRadioHelpComponent.html +20 -2
  190. package/docs/components/EclRadioLabelComponent.html +20 -2
  191. package/docs/components/EclRangeBubbleComponent.html +20 -2
  192. package/docs/components/EclRangeValueComponent.html +20 -2
  193. package/docs/components/EclRatingFieldComponent.html +21 -3
  194. package/docs/components/EclSearchFormComponent.html +22 -4
  195. package/docs/components/EclSelectContainerComponent.html +22 -4
  196. package/docs/components/EclSiteFooterComponent.html +65 -5
  197. package/docs/components/EclSiteFooterCoreComponent.html +575 -0
  198. package/docs/components/EclSiteFooterFixedContentEUComponent.html +21 -3
  199. package/docs/components/EclSiteFooterRowCommonComponent.html +647 -0
  200. package/docs/components/EclSiteHeaderActionComponent.html +20 -2
  201. package/docs/components/EclSiteHeaderBannerTopComponent.html +20 -2
  202. package/docs/components/EclSiteHeaderComponent.html +22 -4
  203. package/docs/components/EclSiteHeaderCustomActionComponent.html +22 -4
  204. package/docs/components/EclSiteHeaderEnvironmentComponent.html +20 -2
  205. package/docs/components/EclSiteHeaderLanguageComponent.html +21 -3
  206. package/docs/components/EclSiteHeaderLanguagePopoverComponent.html +24 -11
  207. package/docs/components/EclSiteHeaderLoginComponent.html +21 -3
  208. package/docs/components/EclSiteHeaderNotificationComponent.html +20 -2
  209. package/docs/components/EclSiteHeaderSearchComponent.html +22 -4
  210. package/docs/components/EclSocialMediaFollowComponent.html +20 -2
  211. package/docs/components/EclSocialMediaFollowItemComponent.html +38 -6
  212. package/docs/components/EclSocialMediaShareComponent.html +20 -2
  213. package/docs/components/EclSocialMediaShareItemComponent.html +22 -4
  214. package/docs/components/EclSplashPageComponent.html +20 -2
  215. package/docs/components/EclSplashPageLanguageCategoryComponent.html +20 -2
  216. package/docs/components/EclSplashPageLanguageContainerComponent.html +20 -2
  217. package/docs/components/EclSplashPageLanguageLinkComponent.html +20 -2
  218. package/docs/components/EclStickyContainerComponent.html +20 -2
  219. package/docs/components/EclTabComponent.html +47 -4
  220. package/docs/components/EclTabLabelComponent.html +20 -2
  221. package/docs/components/EclTabMoreComponent.html +20 -2
  222. package/docs/components/EclTableSortButtonComponent.html +21 -3
  223. package/docs/components/EclTabsComponent.html +22 -4
  224. package/docs/components/EclTagComponent.html +21 -3
  225. package/docs/components/EclTimelineComponent.html +20 -2
  226. package/docs/components/EclTimelineItemComponent.html +22 -4
  227. package/docs/components/EclTimelineItemTogglerComponent.html +20 -2
  228. package/docs/dependencies.html +18 -0
  229. package/docs/directives/ECLBaseDirective.html +18 -0
  230. package/docs/directives/ECLClickOutsideDirective.html +18 -0
  231. package/docs/directives/ECLFormLabelOptionalDirective.html +18 -0
  232. package/docs/directives/EclBannerDescriptionDirective.html +18 -0
  233. package/docs/directives/EclBannerDescriptionLinkDirective.html +18 -0
  234. package/docs/directives/EclBannerDescriptionTextDirective.html +18 -0
  235. package/docs/directives/EclBannerImageDirective.html +18 -0
  236. package/docs/directives/EclBannerPictureDirective.html +18 -0
  237. package/docs/directives/EclBannerTitleDirective.html +18 -0
  238. package/docs/directives/EclBannerTitleLinkDirective.html +18 -0
  239. package/docs/directives/EclBannerTitleTextDirective.html +18 -0
  240. package/docs/directives/EclBannerVideoDirective.html +18 -0
  241. package/docs/directives/EclBlockquoteImageDirective.html +18 -0
  242. package/docs/directives/EclBlockquotePictureDirective.html +18 -0
  243. package/docs/directives/EclBreadcrumbContainerDirective.html +18 -0
  244. package/docs/directives/EclButtonIconContainerDirective.html +18 -0
  245. package/docs/directives/EclButtonLabelDirective.html +18 -0
  246. package/docs/directives/EclCardImageDirective.html +18 -0
  247. package/docs/directives/EclCardPictureDirective.html +18 -0
  248. package/docs/directives/EclCheckboxDirective.html +18 -0
  249. package/docs/directives/EclCheckboxInputDirective.html +18 -0
  250. package/docs/directives/EclContentBlockDescriptionDirective.html +18 -0
  251. package/docs/directives/EclContentBlockLabelDirective.html +18 -0
  252. package/docs/directives/EclContentBlockLabelsDirective.html +18 -0
  253. package/docs/directives/EclContentBlockLinkDirective.html +18 -0
  254. package/docs/directives/EclContentBlockLinksContainerDirective.html +18 -0
  255. package/docs/directives/EclContentBlockLinksDirective.html +18 -0
  256. package/docs/directives/EclContentBlockListContainerDirective.html +18 -0
  257. package/docs/directives/EclContentBlockListDirective.html +18 -0
  258. package/docs/directives/EclContentBlockPrimaryMetaDirective.html +18 -0
  259. package/docs/directives/EclContentBlockPrimaryMetasDirective.html +18 -0
  260. package/docs/directives/EclContentBlockSecondaryMetaDirective.html +18 -0
  261. package/docs/directives/EclContentBlockSecondaryMetaIconDirective.html +18 -0
  262. package/docs/directives/EclContentBlockSecondaryMetaLabelDirective.html +18 -0
  263. package/docs/directives/EclContentBlockSecondaryMetasDirective.html +18 -0
  264. package/docs/directives/EclContentBlockTagDirective.html +18 -0
  265. package/docs/directives/EclContentBlockTagsDirective.html +18 -0
  266. package/docs/directives/EclContentBlockTitleDirective.html +18 -0
  267. package/docs/directives/EclContentItemImageDirective.html +18 -0
  268. package/docs/directives/EclContentItemPictureDirective.html +18 -0
  269. package/docs/directives/EclDatePickerDirective.html +18 -0
  270. package/docs/directives/EclDescriptionListDefinitionItemDirective.html +18 -0
  271. package/docs/directives/EclDescriptionListDefinitionListDirective.html +18 -0
  272. package/docs/directives/EclDescriptionListDirective.html +18 -0
  273. package/docs/directives/EclDescriptionListTermDirective.html +18 -0
  274. package/docs/directives/EclFeaturedItemFooterLinkDirective.html +18 -0
  275. package/docs/directives/EclFeaturedItemFooterPictureDirective.html +18 -0
  276. package/docs/directives/EclFeaturedItemLinkDirective.html +18 -0
  277. package/docs/directives/EclFeedbackMessageDirective.html +18 -0
  278. package/docs/directives/EclFileDownloadDirective.html +18 -0
  279. package/docs/directives/EclFileImageDirective.html +18 -0
  280. package/docs/directives/EclFilePictureDirective.html +18 -0
  281. package/docs/directives/EclFilePreviewDirective.html +18 -0
  282. package/docs/directives/EclFileTitleDirective.html +18 -0
  283. package/docs/directives/EclFileTranslationDownloadDirective.html +18 -0
  284. package/docs/directives/EclFileUploadDirective.html +18 -0
  285. package/docs/directives/EclGalleryMediaDirective.html +18 -0
  286. package/docs/directives/EclGalleryPictureDirective.html +18 -0
  287. package/docs/directives/EclGalleryThumbnailDirective.html +18 -0
  288. package/docs/directives/EclHelpBlockDirective.html +18 -0
  289. package/docs/directives/EclHiddenDirective.html +18 -0
  290. package/docs/directives/EclIndicatorDirective.html +18 -0
  291. package/docs/directives/EclInpageNavigationListDirective.html +18 -0
  292. package/docs/directives/EclLabelDirective.html +18 -0
  293. package/docs/directives/EclLinkDirective.html +18 -0
  294. package/docs/directives/EclLinkIconContainerDirective.html +18 -0
  295. package/docs/directives/{EclIndicatorDirective-1.html → EclLinkIndicatorDirective.html} +20 -2
  296. package/docs/directives/EclLinkLabelDirective.html +18 -0
  297. package/docs/directives/EclListIllustrationIconDirective.html +18 -0
  298. package/docs/directives/EclListIllustrationImageDirective.html +18 -0
  299. package/docs/directives/EclListIllustrationPictureDirective.html +18 -0
  300. package/docs/directives/EclLoadingIndicatorLabelDirective.html +18 -0
  301. package/docs/directives/EclLoadingIndicatorOverlayDirective.html +18 -0
  302. package/docs/directives/EclMediaContainerIframeDirective.html +18 -0
  303. package/docs/directives/EclMediaContainerItemAudioDescriptionDirective.html +18 -0
  304. package/docs/directives/EclMediaContainerItemDirective.html +18 -0
  305. package/docs/directives/EclMediaContainerPictureDirective.html +18 -0
  306. package/docs/directives/EclMegaMenuContainerDirective.html +18 -0
  307. package/docs/directives/EclMegaMenuFeaturedImageDirective.html +18 -0
  308. package/docs/directives/EclMegaMenuFeaturedListDirective.html +18 -0
  309. package/docs/directives/EclMegaMenuFeaturedListItemDirective.html +18 -0
  310. package/docs/directives/EclMegaMenuFeaturedPictureDirective.html +18 -0
  311. package/docs/directives/EclMegaMenuListDirective.html +18 -0
  312. package/docs/directives/EclMegaMenuSpacerDirective.html +18 -0
  313. package/docs/directives/EclMegaMenuSublistDirective.html +18 -0
  314. package/docs/directives/EclModalBodyFixedContentDirective.html +18 -0
  315. package/docs/directives/EclModalCloseDirective.html +18 -0
  316. package/docs/directives/EclModalTriggerDirective.html +18 -0
  317. package/docs/directives/EclMultiselectOptionDirective.html +18 -0
  318. package/docs/directives/EclNavigationListImageDirective.html +18 -0
  319. package/docs/directives/EclNavigationListPictureDirective.html +18 -0
  320. package/docs/directives/EclNewsTickerIconDirective.html +18 -0
  321. package/docs/directives/EclNotificationTitleDirective.html +18 -0
  322. package/docs/directives/EclOrderedListDirective.html +18 -0
  323. package/docs/directives/EclOrderedListItemDirective.html +18 -0
  324. package/docs/directives/EclPageHeaderBackgroundImageDirective.html +18 -0
  325. package/docs/directives/EclPageHeaderBackgroundPictureDirective.html +18 -0
  326. package/docs/directives/EclPageHeaderDescriptionContainerDirective.html +18 -0
  327. package/docs/directives/EclPageHeaderDescriptionDirective.html +18 -0
  328. package/docs/directives/EclPageHeaderDescriptionPictureDirective.html +18 -0
  329. package/docs/directives/EclPageHeaderDescriptionThumbnailDirective.html +18 -0
  330. package/docs/directives/EclPageHeaderInfoDirective.html +18 -0
  331. package/docs/directives/EclPageHeaderMetaDirective.html +18 -0
  332. package/docs/directives/EclPageHeaderMetaItemDirective.html +18 -0
  333. package/docs/directives/EclPageHeaderTitleDirective.html +18 -0
  334. package/docs/directives/EclPaginationListDirective.html +18 -0
  335. package/docs/directives/EclPopoverContentDirective.html +18 -0
  336. package/docs/directives/EclPopoverToggleDirective.html +18 -0
  337. package/docs/directives/EclRadioDirective.html +18 -0
  338. package/docs/directives/EclRadioInputDirective.html +18 -0
  339. package/docs/directives/EclRangeDirective.html +20 -2
  340. package/docs/directives/EclSelectDirective.html +18 -0
  341. package/docs/directives/EclSeparatorDirective.html +18 -0
  342. package/docs/directives/EclSiteFooterColumnDirective.html +19 -1
  343. package/docs/directives/EclSiteFooterDescriptionDirective.html +18 -0
  344. package/docs/directives/EclSiteFooterLinkDirective.html +18 -0
  345. package/docs/directives/EclSiteFooterListDirective.html +18 -0
  346. package/docs/directives/EclSiteFooterListItemDirective.html +18 -0
  347. package/docs/directives/EclSiteFooterLogoDirective.html +18 -0
  348. package/docs/directives/EclSiteFooterLogoImageDirective.html +18 -0
  349. package/docs/directives/EclSiteFooterLogoItemDirective.html +18 -0
  350. package/docs/directives/EclSiteFooterLogoLinkDirective.html +18 -0
  351. package/docs/directives/EclSiteFooterLogoListDirective.html +18 -0
  352. package/docs/directives/EclSiteFooterPictureDirective.html +18 -0
  353. package/docs/directives/EclSiteFooterRowDirective.html +19 -1
  354. package/docs/directives/EclSiteFooterSectionDirective.html +359 -8
  355. package/docs/directives/{EclSiteFooterContentDirective.html → EclSiteFooterSocialMediaDirective.html} +28 -18
  356. package/docs/directives/EclSiteFooterTitleDirective.html +18 -0
  357. package/docs/directives/EclSiteFooterTitleLinkDirective.html +18 -0
  358. package/docs/directives/EclSiteHeaderCtaDirective.html +18 -0
  359. package/docs/directives/EclSiteHeaderCustomActionContentDirective.html +18 -0
  360. package/docs/directives/EclSiteHeaderCustomActionLinkDirective.html +18 -0
  361. package/docs/directives/EclSiteHeaderCustomActionTitleDirective.html +18 -0
  362. package/docs/directives/EclSiteHeaderImageDirective.html +18 -0
  363. package/docs/directives/EclSiteHeaderLinkDirective.html +18 -0
  364. package/docs/directives/EclSiteHeaderLoginDescriptionDirective.html +18 -0
  365. package/docs/directives/EclSiteHeaderLoginSeparatorDirective.html +18 -0
  366. package/docs/directives/EclSiteHeaderPictureDirective.html +18 -0
  367. package/docs/directives/EclSocialMediaFollowLinkDirective.html +18 -0
  368. package/docs/directives/EclSocialMediaShareLinkDirective.html +18 -0
  369. package/docs/directives/EclSplashPageLanguageItemDirective.html +18 -0
  370. package/docs/directives/EclSplashPageLanguageListDirective.html +18 -0
  371. package/docs/directives/EclSplashPageLogoImageDirective.html +18 -0
  372. package/docs/directives/EclSplashPageLogoLinkDirective.html +18 -0
  373. package/docs/directives/EclSplashPagePictureDirective.html +18 -0
  374. package/docs/directives/EclTableBodyDirective.html +18 -0
  375. package/docs/directives/EclTableCaptionDirective.html +18 -0
  376. package/docs/directives/EclTableCellDirective.html +18 -0
  377. package/docs/directives/EclTableCellGroupDirective.html +18 -0
  378. package/docs/directives/EclTableDirective.html +18 -0
  379. package/docs/directives/EclTableHeadDirective.html +18 -0
  380. package/docs/directives/EclTableHeaderDirective.html +18 -0
  381. package/docs/directives/EclTableResponsiveDirective.html +18 -0
  382. package/docs/directives/EclTableRowDirective.html +18 -0
  383. package/docs/directives/EclTagIconExternalDirective.html +18 -0
  384. package/docs/directives/EclTagSetDirective.html +18 -0
  385. package/docs/directives/EclTagSetItemDirective.html +18 -0
  386. package/docs/directives/EclTextAreaDirective.html +18 -0
  387. package/docs/directives/EclTextInputDirective.html +18 -0
  388. package/docs/directives/EclTimelineItemLabelDirective.html +18 -0
  389. package/docs/directives/EclTimelineItemTitleDirective.html +18 -0
  390. package/docs/directives/EclUnorderedListDirective.html +18 -0
  391. package/docs/directives/EclUnorderedListItemDirective.html +18 -0
  392. package/docs/index.html +20 -2
  393. package/docs/injectables/EclAreaDataService.html +18 -0
  394. package/docs/injectables/EclDefaultLanguageService.html +18 -0
  395. package/docs/injectables/EclHeaderMenuComunicationService.html +18 -0
  396. package/docs/injectables/EclInpageNavigationService.html +18 -0
  397. package/docs/injectables/EclMegaMenuDataService.html +18 -0
  398. package/docs/injectables/EclMegaMenuService.html +18 -0
  399. package/docs/injectables/EclRtlService.html +18 -0
  400. package/docs/injectables/EclThemeService.html +18 -0
  401. package/docs/injectables/EclUserDeviceService.html +18 -0
  402. package/docs/interfaces/EclBreadcrumb.html +18 -0
  403. package/docs/interfaces/EclCarouselItem.html +18 -0
  404. package/docs/interfaces/EclCategoryFilterItem.html +18 -0
  405. package/docs/interfaces/EclFileUpload.html +18 -0
  406. package/docs/interfaces/EclGalleryItem.html +18 -0
  407. package/docs/interfaces/EclLanguage.html +18 -0
  408. package/docs/interfaces/EclMegaMenuItem.html +18 -0
  409. package/docs/interfaces/EclMenuItem.html +18 -0
  410. package/docs/interfaces/EclModalResult.html +18 -0
  411. package/docs/interfaces/EclMultiselectOption.html +18 -0
  412. package/docs/interfaces/EclTab.html +18 -0
  413. package/docs/js/libs/bootstrap-native.js +1 -1
  414. package/docs/js/libs/jszip.min.js +13 -0
  415. package/docs/js/libs/svg-pan-zoom.min.js +3 -3
  416. package/docs/js/libs/tablesort.min.js +3 -3
  417. package/docs/js/libs/tablesort.number.min.js +3 -3
  418. package/docs/js/menu-wc.js +55 -39
  419. package/docs/js/menu-wc_es5.js +1 -1
  420. package/docs/js/routes/routes_index.js +1 -0
  421. package/docs/js/routes.js +15 -8
  422. package/docs/js/search/search_index.js +2 -2
  423. package/docs/license.html +20 -2
  424. package/docs/miscellaneous/enumerations.html +18 -0
  425. package/docs/miscellaneous/functions.html +280 -0
  426. package/docs/miscellaneous/variables.html +155 -72
  427. package/docs/modules/EclAccordionModule.html +18 -0
  428. package/docs/modules/EclAllModule.html +27 -360
  429. package/docs/modules/EclAppModule.html +18 -0
  430. package/docs/modules/EclBannerModule.html +18 -0
  431. package/docs/modules/EclBlockquoteModule.html +18 -0
  432. package/docs/modules/EclBreadcrumbModule.html +18 -0
  433. package/docs/modules/EclButtonModule.html +18 -0
  434. package/docs/modules/EclCardModule.html +18 -0
  435. package/docs/modules/EclCarouselModule.html +18 -0
  436. package/docs/modules/EclCategoryFilterModule.html +18 -0
  437. package/docs/modules/EclCheckboxModule.html +18 -0
  438. package/docs/modules/EclContentBlockModule.html +18 -0
  439. package/docs/modules/EclContentItemModule.html +18 -0
  440. package/docs/modules/EclDateBlockModule.html +18 -0
  441. package/docs/modules/EclDatePickerModule.html +18 -0
  442. package/docs/modules/EclExpandableModule.html +18 -0
  443. package/docs/modules/EclFactFiguresModule.html +18 -0
  444. package/docs/modules/EclFeaturedModule.html +18 -0
  445. package/docs/modules/EclFeedbackMessageModule.html +18 -0
  446. package/docs/modules/EclFileModule.html +18 -0
  447. package/docs/modules/EclFileUploadModule.html +18 -0
  448. package/docs/modules/EclFormGroupModule.html +18 -0
  449. package/docs/modules/EclFormLabelModule.html +18 -0
  450. package/docs/modules/EclGalleryModule.html +18 -0
  451. package/docs/modules/EclHelpBlockModule.html +18 -0
  452. package/docs/modules/EclHiddenModule.html +18 -0
  453. package/docs/modules/EclIconModule.html +18 -0
  454. package/docs/modules/EclInpageNavigationModule.html +18 -0
  455. package/docs/modules/EclLabelModule.html +18 -0
  456. package/docs/modules/EclLinkModule.html +24 -3
  457. package/docs/modules/EclListIllustrationModule.html +18 -0
  458. package/docs/modules/EclListModule.html +18 -0
  459. package/docs/modules/EclLoadingIndicatorModule.html +18 -0
  460. package/docs/modules/EclMediaContainerModule.html +18 -0
  461. package/docs/modules/EclMegaMenuModule.html +18 -0
  462. package/docs/modules/EclMenuModule.html +18 -0
  463. package/docs/modules/EclModalModule.html +18 -0
  464. package/docs/modules/EclMultiselectModule.html +18 -0
  465. package/docs/modules/EclNavigationListModule.html +18 -0
  466. package/docs/modules/EclNewsTickerModule.html +18 -0
  467. package/docs/modules/EclNotificationModule.html +18 -0
  468. package/docs/modules/EclPageHeaderModule.html +18 -0
  469. package/docs/modules/EclPaginationModule.html +18 -0
  470. package/docs/modules/EclPopoverModule.html +18 -0
  471. package/docs/modules/EclRadioModule.html +18 -0
  472. package/docs/modules/EclRangeModule.html +18 -0
  473. package/docs/modules/EclRatingFieldModule.html +18 -0
  474. package/docs/modules/EclSearchFormModule.html +18 -0
  475. package/docs/modules/EclSelectModule.html +18 -0
  476. package/docs/modules/EclSeparatorModule.html +18 -0
  477. package/docs/modules/EclSiteFooterModule.html +18 -0
  478. package/docs/modules/EclSiteHeaderModule.html +18 -0
  479. package/docs/modules/EclSocialMediaFollowModule.html +18 -0
  480. package/docs/modules/EclSocialMediaShareModule.html +18 -0
  481. package/docs/modules/EclSplashPageModule.html +18 -0
  482. package/docs/modules/EclStickyContainerModule.html +18 -0
  483. package/docs/modules/EclTableModule.html +18 -0
  484. package/docs/modules/EclTabsModule.html +18 -0
  485. package/docs/modules/EclTagModule.html +18 -0
  486. package/docs/modules/EclTextAreaModule.html +18 -0
  487. package/docs/modules/EclTextInputModule.html +18 -0
  488. package/docs/modules/EclTimelineModule.html +18 -0
  489. package/docs/modules.html +18 -0
  490. package/docs/overview.html +29 -1
  491. package/docs/pipes/BoldTextPipe.html +18 -0
  492. package/docs/properties.html +19 -1
  493. package/docs/routes.html +204 -0
  494. package/docs/template-playground/default-templates.json +192 -0
  495. package/docs/template-playground/hbs-render.service.ts +212 -0
  496. package/docs/template-playground/main.ts +9 -0
  497. package/docs/template-playground/template-editor.service.ts +173 -0
  498. package/docs/template-playground/template-playground.component.ts +614 -0
  499. package/docs/template-playground/template-playground.module.ts +29 -0
  500. package/docs/template-playground/zip-export.service.ts +86 -0
  501. package/docs/template-playground-app/app.js +1389 -0
  502. package/docs/template-playground-app/index.html +462 -0
  503. package/fesm2022/eui-ecl-components-ecl-accordion.mjs +14 -14
  504. package/fesm2022/eui-ecl-components-ecl-accordion.mjs.map +1 -1
  505. package/fesm2022/eui-ecl-components-ecl-app.mjs +7 -7
  506. package/fesm2022/eui-ecl-components-ecl-app.mjs.map +1 -1
  507. package/fesm2022/eui-ecl-components-ecl-banner.mjs +109 -81
  508. package/fesm2022/eui-ecl-components-ecl-banner.mjs.map +1 -1
  509. package/fesm2022/eui-ecl-components-ecl-blockquote.mjs +13 -13
  510. package/fesm2022/eui-ecl-components-ecl-blockquote.mjs.map +1 -1
  511. package/fesm2022/eui-ecl-components-ecl-breadcrumb.mjs +22 -23
  512. package/fesm2022/eui-ecl-components-ecl-breadcrumb.mjs.map +1 -1
  513. package/fesm2022/eui-ecl-components-ecl-button.mjs +18 -18
  514. package/fesm2022/eui-ecl-components-ecl-button.mjs.map +1 -1
  515. package/fesm2022/eui-ecl-components-ecl-card.mjs +16 -16
  516. package/fesm2022/eui-ecl-components-ecl-card.mjs.map +1 -1
  517. package/fesm2022/eui-ecl-components-ecl-carousel.mjs +53 -31
  518. package/fesm2022/eui-ecl-components-ecl-carousel.mjs.map +1 -1
  519. package/fesm2022/eui-ecl-components-ecl-category-filter.mjs +15 -15
  520. package/fesm2022/eui-ecl-components-ecl-category-filter.mjs.map +1 -1
  521. package/fesm2022/eui-ecl-components-ecl-checkbox.mjs +18 -18
  522. package/fesm2022/eui-ecl-components-ecl-checkbox.mjs.map +1 -1
  523. package/fesm2022/eui-ecl-components-ecl-content-block.mjs +58 -58
  524. package/fesm2022/eui-ecl-components-ecl-content-block.mjs.map +1 -1
  525. package/fesm2022/eui-ecl-components-ecl-content-item.mjs +13 -13
  526. package/fesm2022/eui-ecl-components-ecl-content-item.mjs.map +1 -1
  527. package/fesm2022/eui-ecl-components-ecl-date-block.mjs +7 -7
  528. package/fesm2022/eui-ecl-components-ecl-date-block.mjs.map +1 -1
  529. package/fesm2022/eui-ecl-components-ecl-date-picker.mjs +7 -7
  530. package/fesm2022/eui-ecl-components-ecl-date-picker.mjs.map +1 -1
  531. package/fesm2022/eui-ecl-components-ecl-expandable.mjs +10 -10
  532. package/fesm2022/eui-ecl-components-ecl-expandable.mjs.map +1 -1
  533. package/fesm2022/eui-ecl-components-ecl-fact-figures.mjs +22 -22
  534. package/fesm2022/eui-ecl-components-ecl-fact-figures.mjs.map +1 -1
  535. package/fesm2022/eui-ecl-components-ecl-featured.mjs +28 -26
  536. package/fesm2022/eui-ecl-components-ecl-featured.mjs.map +1 -1
  537. package/fesm2022/eui-ecl-components-ecl-feedback-message.mjs +7 -7
  538. package/fesm2022/eui-ecl-components-ecl-feedback-message.mjs.map +1 -1
  539. package/fesm2022/eui-ecl-components-ecl-file-upload.mjs +7 -7
  540. package/fesm2022/eui-ecl-components-ecl-file-upload.mjs.map +1 -1
  541. package/fesm2022/eui-ecl-components-ecl-file.mjs +41 -43
  542. package/fesm2022/eui-ecl-components-ecl-file.mjs.map +1 -1
  543. package/fesm2022/eui-ecl-components-ecl-form-group.mjs +7 -7
  544. package/fesm2022/eui-ecl-components-ecl-form-group.mjs.map +1 -1
  545. package/fesm2022/eui-ecl-components-ecl-form-label.mjs +10 -10
  546. package/fesm2022/eui-ecl-components-ecl-form-label.mjs.map +1 -1
  547. package/fesm2022/eui-ecl-components-ecl-gallery.mjs +32 -30
  548. package/fesm2022/eui-ecl-components-ecl-gallery.mjs.map +1 -1
  549. package/fesm2022/eui-ecl-components-ecl-help-block.mjs +7 -7
  550. package/fesm2022/eui-ecl-components-ecl-help-block.mjs.map +1 -1
  551. package/fesm2022/eui-ecl-components-ecl-icon.mjs +7 -7
  552. package/fesm2022/eui-ecl-components-ecl-icon.mjs.map +1 -1
  553. package/fesm2022/eui-ecl-components-ecl-inpage-navigation.mjs +20 -20
  554. package/fesm2022/eui-ecl-components-ecl-inpage-navigation.mjs.map +1 -1
  555. package/fesm2022/eui-ecl-components-ecl-label.mjs +7 -7
  556. package/fesm2022/eui-ecl-components-ecl-label.mjs.map +1 -1
  557. package/fesm2022/eui-ecl-components-ecl-link.mjs +21 -21
  558. package/fesm2022/eui-ecl-components-ecl-link.mjs.map +1 -1
  559. package/fesm2022/eui-ecl-components-ecl-list-illustration.mjs +19 -19
  560. package/fesm2022/eui-ecl-components-ecl-list-illustration.mjs.map +1 -1
  561. package/fesm2022/eui-ecl-components-ecl-list.mjs +33 -33
  562. package/fesm2022/eui-ecl-components-ecl-list.mjs.map +1 -1
  563. package/fesm2022/eui-ecl-components-ecl-loading-indicator.mjs +13 -13
  564. package/fesm2022/eui-ecl-components-ecl-loading-indicator.mjs.map +1 -1
  565. package/fesm2022/eui-ecl-components-ecl-media-container.mjs +22 -22
  566. package/fesm2022/eui-ecl-components-ecl-media-container.mjs.map +1 -1
  567. package/fesm2022/eui-ecl-components-ecl-mega-menu.mjs +66 -64
  568. package/fesm2022/eui-ecl-components-ecl-mega-menu.mjs.map +1 -1
  569. package/fesm2022/eui-ecl-components-ecl-menu.mjs +54 -37
  570. package/fesm2022/eui-ecl-components-ecl-menu.mjs.map +1 -1
  571. package/fesm2022/eui-ecl-components-ecl-modal.mjs +29 -29
  572. package/fesm2022/eui-ecl-components-ecl-modal.mjs.map +1 -1
  573. package/fesm2022/eui-ecl-components-ecl-multiselect.mjs +34 -34
  574. package/fesm2022/eui-ecl-components-ecl-multiselect.mjs.map +1 -1
  575. package/fesm2022/eui-ecl-components-ecl-navigation-list.mjs +16 -16
  576. package/fesm2022/eui-ecl-components-ecl-navigation-list.mjs.map +1 -1
  577. package/fesm2022/eui-ecl-components-ecl-news-ticker.mjs +17 -17
  578. package/fesm2022/eui-ecl-components-ecl-news-ticker.mjs.map +1 -1
  579. package/fesm2022/eui-ecl-components-ecl-notification.mjs +14 -14
  580. package/fesm2022/eui-ecl-components-ecl-notification.mjs.map +1 -1
  581. package/fesm2022/eui-ecl-components-ecl-page-header.mjs +37 -37
  582. package/fesm2022/eui-ecl-components-ecl-page-header.mjs.map +1 -1
  583. package/fesm2022/eui-ecl-components-ecl-pagination.mjs +27 -21
  584. package/fesm2022/eui-ecl-components-ecl-pagination.mjs.map +1 -1
  585. package/fesm2022/eui-ecl-components-ecl-popover.mjs +21 -21
  586. package/fesm2022/eui-ecl-components-ecl-popover.mjs.map +1 -1
  587. package/fesm2022/eui-ecl-components-ecl-radio.mjs +16 -16
  588. package/fesm2022/eui-ecl-components-ecl-radio.mjs.map +1 -1
  589. package/fesm2022/eui-ecl-components-ecl-range.mjs +14 -14
  590. package/fesm2022/eui-ecl-components-ecl-range.mjs.map +1 -1
  591. package/fesm2022/eui-ecl-components-ecl-rating-field.mjs +9 -9
  592. package/fesm2022/eui-ecl-components-ecl-rating-field.mjs.map +1 -1
  593. package/fesm2022/eui-ecl-components-ecl-search-form.mjs +10 -10
  594. package/fesm2022/eui-ecl-components-ecl-search-form.mjs.map +1 -1
  595. package/fesm2022/eui-ecl-components-ecl-select.mjs +14 -14
  596. package/fesm2022/eui-ecl-components-ecl-select.mjs.map +1 -1
  597. package/fesm2022/eui-ecl-components-ecl-separator.mjs +7 -7
  598. package/fesm2022/eui-ecl-components-ecl-separator.mjs.map +1 -1
  599. package/fesm2022/eui-ecl-components-ecl-site-footer.mjs +273 -204
  600. package/fesm2022/eui-ecl-components-ecl-site-footer.mjs.map +1 -1
  601. package/fesm2022/eui-ecl-components-ecl-site-header.mjs +100 -106
  602. package/fesm2022/eui-ecl-components-ecl-site-header.mjs.map +1 -1
  603. package/fesm2022/eui-ecl-components-ecl-social-media-follow.mjs +21 -19
  604. package/fesm2022/eui-ecl-components-ecl-social-media-follow.mjs.map +1 -1
  605. package/fesm2022/eui-ecl-components-ecl-social-media-share.mjs +16 -16
  606. package/fesm2022/eui-ecl-components-ecl-social-media-share.mjs.map +1 -1
  607. package/fesm2022/eui-ecl-components-ecl-splash-page.mjs +31 -31
  608. package/fesm2022/eui-ecl-components-ecl-splash-page.mjs.map +1 -1
  609. package/fesm2022/eui-ecl-components-ecl-sticky-container.mjs +7 -7
  610. package/fesm2022/eui-ecl-components-ecl-sticky-container.mjs.map +1 -1
  611. package/fesm2022/eui-ecl-components-ecl-table.mjs +36 -36
  612. package/fesm2022/eui-ecl-components-ecl-table.mjs.map +1 -1
  613. package/fesm2022/eui-ecl-components-ecl-tabs.mjs +26 -24
  614. package/fesm2022/eui-ecl-components-ecl-tabs.mjs.map +1 -1
  615. package/fesm2022/eui-ecl-components-ecl-tag.mjs +18 -18
  616. package/fesm2022/eui-ecl-components-ecl-tag.mjs.map +1 -1
  617. package/fesm2022/eui-ecl-components-ecl-text-area.mjs +7 -7
  618. package/fesm2022/eui-ecl-components-ecl-text-area.mjs.map +1 -1
  619. package/fesm2022/eui-ecl-components-ecl-text-input.mjs +7 -7
  620. package/fesm2022/eui-ecl-components-ecl-text-input.mjs.map +1 -1
  621. package/fesm2022/eui-ecl-components-ecl-timeline.mjs +22 -22
  622. package/fesm2022/eui-ecl-components-ecl-timeline.mjs.map +1 -1
  623. package/fesm2022/eui-ecl-core.mjs +165 -151
  624. package/fesm2022/eui-ecl-core.mjs.map +1 -1
  625. package/fesm2022/eui-ecl-shared.mjs +3 -3
  626. package/fesm2022/eui-ecl-shared.mjs.map +1 -1
  627. package/fesm2022/eui-ecl.mjs +184 -304
  628. package/fesm2022/eui-ecl.mjs.map +1 -1
  629. package/index.d.ts +1 -1
  630. package/package.json +53 -54
  631. package/docs/components/EclSiteFooterFixedContentECComponent.html +0 -571
@@ -77,10 +77,10 @@ class EclDateBlockComponent extends ECLBaseDirective {
77
77
  return null;
78
78
  }
79
79
  }
80
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclDateBlockComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
81
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", type: EclDateBlockComponent, isStandalone: true, selector: "time[eclDateBlock]", inputs: { date: "date", dateFormat: "dateFormat", variant: "variant", day: "day", month: "month", monthTitle: "monthTitle", year: "year", datetime: "datetime" }, host: { properties: { "class": "this.cssClasses", "attr.datetime": "this.datetime" } }, providers: [TranslateService], usesInheritance: true, ngImport: i0, template: "<span class=\"ecl-date-block__daytime\">{{ datetime || (date | date: dateFormat) }}</span>\n<span class=\"ecl-date-block__day\" aria-hidden=\"true\">{{ day || (date | date: 'd') }}</span>\n<abbr [title]=\"monthTitle || month || (date | date: 'MMMM' : '' : locale)\" class=\"ecl-date-block__month\" aria-hidden=\"true\">\n {{ month || (date | date: 'MMM' : '' : locale) }}\n</abbr>\n<span class=\"ecl-date-block__year\" aria-hidden=\"true\">{{ year || (date | date: 'yyyy') }}</span>\n", dependencies: [{ kind: "pipe", type: DatePipe, name: "date" }] }); }
80
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclDateBlockComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
81
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.0-next.5", type: EclDateBlockComponent, isStandalone: true, selector: "time[eclDateBlock]", inputs: { date: "date", dateFormat: "dateFormat", variant: "variant", day: "day", month: "month", monthTitle: "monthTitle", year: "year", datetime: "datetime" }, host: { properties: { "class": "this.cssClasses", "attr.datetime": "this.datetime" } }, providers: [TranslateService], usesInheritance: true, ngImport: i0, template: "<span class=\"ecl-date-block__daytime\">{{ datetime || (date | date: dateFormat) }}</span>\n<span class=\"ecl-date-block__day\" aria-hidden=\"true\">{{ day || (date | date: 'd') }}</span>\n<abbr [title]=\"monthTitle || month || (date | date: 'MMMM' : '' : locale)\" class=\"ecl-date-block__month\" aria-hidden=\"true\">\n {{ month || (date | date: 'MMM' : '' : locale) }}\n</abbr>\n<span class=\"ecl-date-block__year\" aria-hidden=\"true\">{{ year || (date | date: 'yyyy') }}</span>\n", dependencies: [{ kind: "pipe", type: DatePipe, name: "date" }] }); }
82
82
  }
83
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclDateBlockComponent, decorators: [{
83
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclDateBlockComponent, decorators: [{
84
84
  type: Component,
85
85
  args: [{ selector: 'time[eclDateBlock]', imports: [DatePipe], providers: [TranslateService], template: "<span class=\"ecl-date-block__daytime\">{{ datetime || (date | date: dateFormat) }}</span>\n<span class=\"ecl-date-block__day\" aria-hidden=\"true\">{{ day || (date | date: 'd') }}</span>\n<abbr [title]=\"monthTitle || month || (date | date: 'MMMM' : '' : locale)\" class=\"ecl-date-block__month\" aria-hidden=\"true\">\n {{ month || (date | date: 'MMM' : '' : locale) }}\n</abbr>\n<span class=\"ecl-date-block__year\" aria-hidden=\"true\">{{ year || (date | date: 'yyyy') }}</span>\n" }]
86
86
  }], ctorParameters: () => [], propDecorators: { date: [{
@@ -113,11 +113,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
113
113
  * @deprecated Use {@link EUI_ECL_DATE_BLOCK} instead.
114
114
  */
115
115
  class EclDateBlockModule {
116
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclDateBlockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
117
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: EclDateBlockModule, imports: [EclDateBlockComponent], exports: [EclDateBlockComponent] }); }
118
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclDateBlockModule }); }
116
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclDateBlockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
117
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclDateBlockModule, imports: [EclDateBlockComponent], exports: [EclDateBlockComponent] }); }
118
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclDateBlockModule }); }
119
119
  }
120
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclDateBlockModule, decorators: [{
120
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclDateBlockModule, decorators: [{
121
121
  type: NgModule,
122
122
  args: [{
123
123
  imports: [EclDateBlockComponent],
@@ -1 +1 @@
1
- {"version":3,"file":"eui-ecl-components-ecl-date-block.mjs","sources":["../../components/ecl-date-block/ecl-date-block.component.ts","../../components/ecl-date-block/ecl-date-block.component.html","../../components/ecl-date-block/ecl-date-block.module.ts","../../components/ecl-date-block/index.ts","../../components/ecl-date-block/eui-ecl-components-ecl-date-block.ts"],"sourcesContent":["import { formatDate, DatePipe } from '@angular/common';\nimport { Component, Input, HostBinding, inject } from '@angular/core';\nimport '@angular/common/locales/global/bg';\nimport '@angular/common/locales/global/da';\nimport '@angular/common/locales/global/en';\nimport '@angular/common/locales/global/et';\nimport '@angular/common/locales/global/fr';\nimport '@angular/common/locales/global/hr';\nimport '@angular/common/locales/global/lv';\nimport '@angular/common/locales/global/hu';\nimport '@angular/common/locales/global/nl';\nimport '@angular/common/locales/global/pt';\nimport '@angular/common/locales/global/sk';\nimport '@angular/common/locales/global/fi';\nimport '@angular/common/locales/global/cs';\nimport '@angular/common/locales/global/de';\nimport '@angular/common/locales/global/el';\nimport '@angular/common/locales/global/es';\nimport '@angular/common/locales/global/ga';\nimport '@angular/common/locales/global/it';\nimport '@angular/common/locales/global/lt';\nimport '@angular/common/locales/global/mt';\nimport '@angular/common/locales/global/pl';\nimport '@angular/common/locales/global/ro';\nimport '@angular/common/locales/global/sl';\nimport '@angular/common/locales/global/sv';\nimport { TranslateService } from '@ngx-translate/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Component used to display a formatted date in a styled time element.\n * Designed for use within content components such as content blocks or items.\n */\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'time[eclDateBlock]',\n templateUrl: './ecl-date-block.component.html',\n imports: [DatePipe],\n providers: [TranslateService],\n})\nexport class EclDateBlockComponent extends ECLBaseDirective {\n /**\n * The date to be displayed. If not null, it's used to generate the `datetime` attribute and visual output.\n */\n @Input() date: Date;\n\n /**\n * The format to be used when rendering the date string (Angular DatePipe format).\n * Default is `'dd/M/yyyy'`.\n */\n @Input() dateFormat = 'dd/M/yyyy';\n\n /**\n * Optional visual variant of the date block. Can be:\n * - `'ongoing'`: for ongoing events\n * - `'past'`: for past events\n * This changes styling only.\n */\n @Input() variant: 'ongoing' | 'past' = null;\n\n /**\n * Explicit string for day part of the date (optional).\n * Used when date is not set or overridden manually.\n */\n @Input() day: string;\n\n /**\n * Explicit string for month part of the date (optional).\n * Used when date is not set or overridden manually.\n */\n @Input() month: string;\n\n /**\n * Explicit string used as an accessible or verbose label for the month (optional).\n */\n @Input() monthTitle: string;\n\n /**\n * Explicit string for year part of the date (optional).\n * Used when date is not set or overridden manually.\n */\n @Input() year: string;\n\n locale = 'en';\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-date-block'), this.variant ? `ecl-date-block--${this.variant}` : ''].join(' ').trim();\n }\n\n /**\n * Sets the `datetime` attribute of the `<time>` element.\n * If not provided, it is derived from `date` and `dateFormat`.\n */\n @Input()\n @HostBinding('attr.datetime')\n get datetime(): string {\n return this.getDatetime();\n }\n set datetime(value) {\n this._datetime = value;\n }\n private _datetime: string = null;\n private translateService = inject(TranslateService);\n\n constructor() {\n super();\n const translateService = this.translateService;\n\n this.locale = translateService.currentLang;\n }\n\n private getDatetime(): string {\n return this._datetime || this.getFormattedDate(this.date, this.dateFormat);\n }\n\n private getFormattedDate(date: Date, dateFormat: string): string {\n if (date) {\n return formatDate(date, dateFormat, this.translateService.currentLang);\n } else {\n return null;\n }\n }\n}\n","<span class=\"ecl-date-block__daytime\">{{ datetime || (date | date: dateFormat) }}</span>\n<span class=\"ecl-date-block__day\" aria-hidden=\"true\">{{ day || (date | date: 'd') }}</span>\n<abbr [title]=\"monthTitle || month || (date | date: 'MMMM' : '' : locale)\" class=\"ecl-date-block__month\" aria-hidden=\"true\">\n {{ month || (date | date: 'MMM' : '' : locale) }}\n</abbr>\n<span class=\"ecl-date-block__year\" aria-hidden=\"true\">{{ year || (date | date: 'yyyy') }}</span>\n","import { NgModule } from '@angular/core';\nimport { EclDateBlockComponent } from './ecl-date-block.component';\n\n/**\n * Module that provides the EclDateBlock component.\n *\n * @deprecated Use {@link EUI_ECL_DATE_BLOCK} instead.\n */\n@NgModule({\n imports: [EclDateBlockComponent],\n exports: [EclDateBlockComponent],\n})\nexport class EclDateBlockModule {}\n","import { EclDateBlockComponent } from './ecl-date-block.component';\n\nexport * from './ecl-date-block.module';\nexport * from './ecl-date-block.component';\n\nexport const EUI_ECL_DATE_BLOCK = [\n EclDateBlockComponent,\n] as const;","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BA;;;AAGG;AAQG,MAAO,qBAAsB,SAAQ,gBAAgB,CAAA;AA4CvD,IAAA,IACI,UAAU,GAAA;AACV,QAAA,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,EAAE,IAAI,CAAC,OAAO,GAAG,CAAA,gBAAA,EAAmB,IAAI,CAAC,OAAO,CAAA,CAAE,GAAG,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE;IAC1H;AAEA;;;AAGG;AACH,IAAA,IAEI,QAAQ,GAAA;AACR,QAAA,OAAO,IAAI,CAAC,WAAW,EAAE;IAC7B;IACA,IAAI,QAAQ,CAAC,KAAK,EAAA;AACd,QAAA,IAAI,CAAC,SAAS,GAAG,KAAK;IAC1B;AAIA,IAAA,WAAA,GAAA;AACI,QAAA,KAAK,EAAE;AA3DX;;;AAGG;QACM,IAA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B,CAAC,QAAQ,CAAC,EAAA,SAAA,EACR,CAAC,gBAAgB,CAAC,EAAA,QAAA,EAAA,yeAAA,EAAA;wDAMpB,IAAI,EAAA,CAAA;sBAAZ;gBAMQ,UAAU,EAAA,CAAA;sBAAlB;gBAQQ,OAAO,EAAA,CAAA;sBAAf;gBAMQ,GAAG,EAAA,CAAA;sBAAX;gBAMQ,KAAK,EAAA,CAAA;sBAAb;gBAKQ,UAAU,EAAA,CAAA;sBAAlB;gBAMQ,IAAI,EAAA,CAAA;sBAAZ;gBAIG,UAAU,EAAA,CAAA;sBADb,WAAW;uBAAC,OAAO;gBAWhB,QAAQ,EAAA,CAAA;sBAFX;;sBACA,WAAW;uBAAC,eAAe;;;AE3FhC;;;;AAIG;MAKU,kBAAkB,CAAA;8GAAlB,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAAlB,kBAAkB,EAAA,OAAA,EAAA,CAHjB,qBAAqB,CAAA,EAAA,OAAA,EAAA,CACrB,qBAAqB,CAAA,EAAA,CAAA,CAAA;+GAEtB,kBAAkB,EAAA,CAAA,CAAA;;2FAAlB,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAJ9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,qBAAqB,CAAC;oBAChC,OAAO,EAAE,CAAC,qBAAqB,CAAC;AACnC,iBAAA;;;ACNM,MAAM,kBAAkB,GAAG;IAC9B,qBAAqB;;;ACNzB;;AAEG;;;;"}
1
+ {"version":3,"file":"eui-ecl-components-ecl-date-block.mjs","sources":["../../components/ecl-date-block/ecl-date-block.component.ts","../../components/ecl-date-block/ecl-date-block.component.html","../../components/ecl-date-block/ecl-date-block.module.ts","../../components/ecl-date-block/index.ts","../../components/ecl-date-block/eui-ecl-components-ecl-date-block.ts"],"sourcesContent":["import { formatDate, DatePipe } from '@angular/common';\nimport { Component, Input, HostBinding, inject } from '@angular/core';\nimport '@angular/common/locales/global/bg';\nimport '@angular/common/locales/global/da';\nimport '@angular/common/locales/global/en';\nimport '@angular/common/locales/global/et';\nimport '@angular/common/locales/global/fr';\nimport '@angular/common/locales/global/hr';\nimport '@angular/common/locales/global/lv';\nimport '@angular/common/locales/global/hu';\nimport '@angular/common/locales/global/nl';\nimport '@angular/common/locales/global/pt';\nimport '@angular/common/locales/global/sk';\nimport '@angular/common/locales/global/fi';\nimport '@angular/common/locales/global/cs';\nimport '@angular/common/locales/global/de';\nimport '@angular/common/locales/global/el';\nimport '@angular/common/locales/global/es';\nimport '@angular/common/locales/global/ga';\nimport '@angular/common/locales/global/it';\nimport '@angular/common/locales/global/lt';\nimport '@angular/common/locales/global/mt';\nimport '@angular/common/locales/global/pl';\nimport '@angular/common/locales/global/ro';\nimport '@angular/common/locales/global/sl';\nimport '@angular/common/locales/global/sv';\nimport { TranslateService } from '@ngx-translate/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Component used to display a formatted date in a styled time element.\n * Designed for use within content components such as content blocks or items.\n */\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'time[eclDateBlock]',\n templateUrl: './ecl-date-block.component.html',\n imports: [DatePipe],\n providers: [TranslateService],\n})\nexport class EclDateBlockComponent extends ECLBaseDirective {\n /**\n * The date to be displayed. If not null, it's used to generate the `datetime` attribute and visual output.\n */\n @Input() date: Date;\n\n /**\n * The format to be used when rendering the date string (Angular DatePipe format).\n * Default is `'dd/M/yyyy'`.\n */\n @Input() dateFormat = 'dd/M/yyyy';\n\n /**\n * Optional visual variant of the date block. Can be:\n * - `'ongoing'`: for ongoing events\n * - `'past'`: for past events\n * This changes styling only.\n */\n @Input() variant: 'ongoing' | 'past' = null;\n\n /**\n * Explicit string for day part of the date (optional).\n * Used when date is not set or overridden manually.\n */\n @Input() day: string;\n\n /**\n * Explicit string for month part of the date (optional).\n * Used when date is not set or overridden manually.\n */\n @Input() month: string;\n\n /**\n * Explicit string used as an accessible or verbose label for the month (optional).\n */\n @Input() monthTitle: string;\n\n /**\n * Explicit string for year part of the date (optional).\n * Used when date is not set or overridden manually.\n */\n @Input() year: string;\n\n locale = 'en';\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-date-block'), this.variant ? `ecl-date-block--${this.variant}` : ''].join(' ').trim();\n }\n\n /**\n * Sets the `datetime` attribute of the `<time>` element.\n * If not provided, it is derived from `date` and `dateFormat`.\n */\n @Input()\n @HostBinding('attr.datetime')\n get datetime(): string {\n return this.getDatetime();\n }\n set datetime(value) {\n this._datetime = value;\n }\n private _datetime: string = null;\n private translateService = inject(TranslateService);\n\n constructor() {\n super();\n const translateService = this.translateService;\n\n this.locale = translateService.currentLang;\n }\n\n private getDatetime(): string {\n return this._datetime || this.getFormattedDate(this.date, this.dateFormat);\n }\n\n private getFormattedDate(date: Date, dateFormat: string): string {\n if (date) {\n return formatDate(date, dateFormat, this.translateService.currentLang);\n } else {\n return null;\n }\n }\n}\n","<span class=\"ecl-date-block__daytime\">{{ datetime || (date | date: dateFormat) }}</span>\n<span class=\"ecl-date-block__day\" aria-hidden=\"true\">{{ day || (date | date: 'd') }}</span>\n<abbr [title]=\"monthTitle || month || (date | date: 'MMMM' : '' : locale)\" class=\"ecl-date-block__month\" aria-hidden=\"true\">\n {{ month || (date | date: 'MMM' : '' : locale) }}\n</abbr>\n<span class=\"ecl-date-block__year\" aria-hidden=\"true\">{{ year || (date | date: 'yyyy') }}</span>\n","import { NgModule } from '@angular/core';\nimport { EclDateBlockComponent } from './ecl-date-block.component';\n\n/**\n * Module that provides the EclDateBlock component.\n *\n * @deprecated Use {@link EUI_ECL_DATE_BLOCK} instead.\n */\n@NgModule({\n imports: [EclDateBlockComponent],\n exports: [EclDateBlockComponent],\n})\nexport class EclDateBlockModule {}\n","import { EclDateBlockComponent } from './ecl-date-block.component';\n\nexport * from './ecl-date-block.module';\nexport * from './ecl-date-block.component';\n\nexport const EUI_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A,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;sHAAlB,kBAAkB,EAAA,OAAA,EAAA,CAHjB,qBAAqB,CAAA,EAAA,OAAA,EAAA,CACrB,qBAAqB,CAAA,EAAA,CAAA,CAAA;sHAEtB,kBAAkB,EAAA,CAAA,CAAA;;kGAAlB,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAJ9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,qBAAqB,CAAC;oBAChC,OAAO,EAAE,CAAC,qBAAqB,CAAC;AACnC,iBAAA;;;ACNM,MAAM,kBAAkB,GAAG;IAC9B,qBAAqB;;;ACNzB;;AAEG;;;;"}
@@ -284,10 +284,10 @@ class EclDatePickerDirective extends ECLBaseDirective {
284
284
  this.picker = undefined;
285
285
  }
286
286
  }
287
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclDatePickerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
288
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.6", type: EclDatePickerDirective, isStandalone: true, selector: "input[eclDatePicker]", inputs: { yearRange: "yearRange", format: "format" }, outputs: { datePicked: "datePicked" }, host: { listeners: { "click": "onClick()", "blur": "onBlur()" }, properties: { "attr.type": "this.type", "class": "this.cssClasses", "attr.disabled": "this.isDisabled" } }, providers: [ECL_DATE_PICKER_VALUE_ACCESSOR], usesInheritance: true, ngImport: i0 }); }
287
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclDatePickerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
288
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.0-next.5", type: EclDatePickerDirective, isStandalone: true, selector: "input[eclDatePicker]", inputs: { yearRange: "yearRange", format: "format" }, outputs: { datePicked: "datePicked" }, host: { listeners: { "click": "onClick()", "blur": "onBlur()" }, properties: { "attr.type": "this.type", "class": "this.cssClasses", "attr.disabled": "this.isDisabled" } }, providers: [ECL_DATE_PICKER_VALUE_ACCESSOR], usesInheritance: true, ngImport: i0 }); }
289
289
  }
290
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclDatePickerDirective, decorators: [{
290
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclDatePickerDirective, decorators: [{
291
291
  type: Directive,
292
292
  args: [{
293
293
  selector: 'input[eclDatePicker]',
@@ -322,11 +322,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
322
322
  * @deprecated Use {@link EUI_ECL_DATE_PICKER} instead.
323
323
  */
324
324
  class EclDatePickerModule {
325
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclDatePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
326
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: EclDatePickerModule, imports: [EclDatePickerDirective], exports: [EclDatePickerDirective] }); }
327
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclDatePickerModule }); }
325
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclDatePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
326
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclDatePickerModule, imports: [EclDatePickerDirective], exports: [EclDatePickerDirective] }); }
327
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclDatePickerModule }); }
328
328
  }
329
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclDatePickerModule, decorators: [{
329
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclDatePickerModule, decorators: [{
330
330
  type: NgModule,
331
331
  args: [{
332
332
  imports: [EclDatePickerDirective],
@@ -1 +1 @@
1
- {"version":3,"file":"eui-ecl-components-ecl-date-picker.mjs","sources":["../../components/ecl-date-picker/events/ecl-date-picker-date-picked.event.ts","../../components/ecl-date-picker/ecl-date-picker.directive.ts","../../components/ecl-date-picker/ecl-date-picker.module.ts","../../components/ecl-date-picker/index.ts","../../components/ecl-date-picker/eui-ecl-components-ecl-date-picker.ts"],"sourcesContent":["import { EclBaseEvent } from '@eui/ecl/core';\n\n/**\n * Custom event emitted by the ECL date picker when a date is selected.\n */\nexport class EclDatePickerDatePickedEvent extends EclBaseEvent {\n\tconstructor(public date: Date) {\n\t\tsuper();\n\t}\n}\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { isPlatformBrowser } from '@angular/common';\nimport {\n Directive,\n ElementRef,\n EventEmitter,\n HostBinding,\n HostListener,\n inject,\n Input,\n OnDestroy,\n OnInit,\n Output,\n PLATFORM_ID,\n Provider,\n Renderer2,\n ViewContainerRef,\n forwardRef,\n} from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { LangChangeEvent, TranslateService } from '@ngx-translate/core';\nimport type Pikaday from 'pikaday';\nimport { Subject, debounceTime, fromEvent, takeUntil } from 'rxjs';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclIconComponent } from '@eui/ecl/components/ecl-icon';\nimport { EclDatePickerDatePickedEvent } from './events/ecl-date-picker-date-picked.event';\nimport { EclRtlService } from '@eui/ecl/core';\n\n/**\n * Default i18n values for the Pikaday calendar component.\n */\nconst pikadayDefaultI18n = {\n previousMonth: 'Previous Month',\n nextMonth: 'Next Month',\n months: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],\n weekdays: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],\n weekdaysShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],\n};\n\n/**\n * Value accessor provider for Angular reactive and template-driven forms.\n */\nexport const ECL_DATE_PICKER_VALUE_ACCESSOR: Provider = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => EclDatePickerDirective),\n multi: true,\n};\n\nconst noop = (): void => {\n /** empty */\n};\n\n/**\n * Directive that enhances a native input element with an ECL-compliant date picker.\n * Integrates Pikaday with support for localization (i18n), RTL layout, and responsive behavior.\n */\n@Directive({\n selector: 'input[eclDatePicker]',\n providers: [ECL_DATE_PICKER_VALUE_ACCESSOR],\n})\nexport class EclDatePickerDirective extends ECLBaseDirective implements OnInit, ControlValueAccessor, OnDestroy {\n protected translateService = inject(TranslateService);\n\n /**\n * Number of years to show in the year dropdown.\n */\n @Input() yearRange = 40;\n\n /**\n * Date format string used to display and parse dates.\n * Follows the format syntax supported by Pikaday.\n */\n @Input() format = 'DD-MM-YYYY';\n\n /**\n * Sets the type attribute of the host input element to 'text'.\n */\n @HostBinding('attr.type') type = 'text';\n\n /**\n * Binds base ECL CSS classes to the host input element.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-datepicker__field')].join(' ').trim();\n }\n\n /**\n * Emits an event when a date is selected.\n */\n @Output() datePicked = new EventEmitter<EclDatePickerDatePickedEvent>();\n\n /**\n * Binds the 'disabled' attribute to the host element.\n * Accepts `null` or an empty string.\n */\n @HostBinding('attr.disabled')\n isDisabled = null;\n\n private picker: Pikaday;\n private destroy$: Subject<boolean> = new Subject<boolean>();\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private onChange: (_: any) => void = noop;\n private onTouched: () => void = noop;\n\n private hostEl: HTMLInputElement;\n private hostParentEl: HTMLElement;\n private hostWrapperEl: HTMLElement;\n private eclIconComponentEl: HTMLElement;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private value: any;\n private isRtl = false;\n private readonly DEBOUNCE_TIME = 100;\n private readonly MOBILE_BREAKPOINT = 768;\n private el = inject(ElementRef);\n private viewContainerRef = inject(ViewContainerRef);\n private eclRtlService = inject(EclRtlService);\n private renderer = inject(Renderer2);\n private platformId = inject(PLATFORM_ID);\n\n constructor() {\n super();\n if (isPlatformBrowser(this.platformId)) {\n this.handlei18nEvents();\n this.handleRtlChangeState();\n this.handleResize();\n }\n }\n\n /**\n * Initializes the Pikaday instance and applies markup when running in browser.\n */\n ngOnInit(): void {\n if (isPlatformBrowser(this.platformId)) {\n this.initPikaday().then(() => {\n this.handleMarkup();\n });\n }\n }\n\n /**\n * Cleans up subscriptions and event handlers on destroy.\n */\n ngOnDestroy(): void {\n this.destroy$.next(true);\n this.destroy$.unsubscribe();\n }\n\n /**\n * Marks the input as touched when clicked.\n */\n @HostListener('click')\n onClick(): void {\n this.onTouched();\n }\n\n /**\n * On blur, checks input value and emits appropriate change.\n */\n @HostListener('blur')\n onBlur(): void {\n const textFieldValue: string = this.hostEl.value;\n\n if (textFieldValue) {\n this.onChange(this.picker?.getDate());\n } else {\n this.onChange(null);\n }\n }\n\n /**\n * Writes a new value from the form model into the view or (if needed) DOM property.\n * Required by ControlValueAccessor interface.\n *\n * @param value - The value to be written into the input.\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n writeValue(value: any): void {\n this.value = value;\n if (this.picker) {\n this.picker.setDate(value);\n }\n }\n\n /**\n * Sets the disabled state of the component.\n * Called by Angular forms when the control status changes.\n *\n * @param isDisabled - Boolean indicating whether the input should be disabled.\n */\n setDisabledState(isDisabled: boolean): void {\n this.isDisabled = isDisabled || null;\n }\n\n /**\n * Registers a callback function that should be called when the control's value changes in the UI.\n * Required by ControlValueAccessor interface.\n *\n * @param fn - The callback function.\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n registerOnChange(fn: any): void {\n this.onChange = fn;\n }\n\n /**\n * Registers a callback function that should be called when the control is touched.\n * Required by ControlValueAccessor interface.\n *\n * @param fn - The callback function.\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n registerOnTouched(fn: any): void {\n this.onTouched = fn;\n }\n\n private async initPikaday(): Promise<void> {\n const i18nKey = 'ecl.date-picker.PIKADAY';\n let i18nTranslation = this.translateService.instant(i18nKey);\n const isRTL = this.isRtl;\n const position = isRTL ? 'bottom right' : 'bottom left';\n\n if (!i18nTranslation || i18nTranslation === i18nKey) {\n i18nTranslation = pikadayDefaultI18n;\n }\n\n // Dynamically import Pikaday when the component initializes\n try {\n const { default: Pikaday } = await import('pikaday');\n\n // Initialize Pikaday after it is imported\n this.picker = new Pikaday({\n field: this.el.nativeElement,\n format: this.format,\n theme: 'ecl-datepicker-theme',\n yearRange: this.yearRange,\n reposition: false,\n i18n: i18nTranslation,\n isRTL,\n position,\n showDaysInNextAndPreviousMonths: true,\n enableSelectionDaysInNextAndPreviousMonths: true,\n onSelect: this.onSelectDate.bind(this),\n onOpen: (): void => this.setPikadayElementStyles(this.picker.el),\n });\n this.picker.setDate(this.value);\n } catch (error) {\n console.error('Error importing Pikaday', error);\n }\n }\n\n private handlei18nEvents(): void {\n this.translateService.onLangChange.pipe(takeUntil(this.destroy$))\n .subscribe((langChangeEvent: LangChangeEvent) => {\n this.value = this.picker.getDate();\n this.destroyPikaday();\n this.initPikaday().then();\n });\n }\n\n private handleRtlChangeState(): void {\n this.eclRtlService.currentRtlState$.pipe(takeUntil(this.destroy$)).subscribe((rtlState) => {\n this.isRtl = rtlState;\n if (this.picker) {\n this.value = this.picker.getDate();\n this.destroyPikaday();\n this.initPikaday().then();\n }\n });\n }\n\n private handleResize(): void {\n fromEvent(window, 'resize')\n .pipe(debounceTime(this.DEBOUNCE_TIME), takeUntil(this.destroy$))\n .subscribe(() => {\n this.setPikadayElementStyles(this.picker.el);\n })\n }\n\n private setPikadayElementStyles(element: HTMLElement): void {\n // Extend picker size on mobile\n const vw = Math.max(document.documentElement.clientWidth || 0, window.innerWidth || 0);\n const inputParentElRect = this.hostWrapperEl.getBoundingClientRect();\n //mobile_mode\n if (vw < this.MOBILE_BREAKPOINT) {\n element.style.right = `${vw - inputParentElRect.right}px`;\n element.style.left = `${inputParentElRect.left}px`;\n } else if ( this.isRtl) {\n element.style.right = `${vw - inputParentElRect.right}px`;\n element.style.left = 'auto';\n } else {\n element.style.right = 'auto';\n element.style.left = `${inputParentElRect.left}px`;\n }\n }\n\n private onSelectDate(date: Date): void {\n this.datePicked.next(new EclDatePickerDatePickedEvent(date));\n this.onChange(date);\n }\n\n private handleMarkup(): void {\n this.hostEl = this.getHostElement();\n this.hostParentEl = this.getHostParentElement(this.hostEl);\n this.hostWrapperEl = this.createHostWrapperContainer();\n this.eclIconComponentEl = this.createIconComponent();\n\n if (this.hostParentEl != null) {\n this.hostParentEl.replaceChild(this.hostWrapperEl, this.hostEl);\n this.renderer.appendChild(this.hostWrapperEl, this.hostEl);\n this.renderer.appendChild(this.hostWrapperEl, this.eclIconComponentEl);\n }\n }\n\n private getHostElement(): HTMLInputElement {\n return this.el.nativeElement;\n }\n\n private getHostParentElement(hostEl: HTMLInputElement): HTMLElement {\n return this.renderer.parentNode(hostEl);\n }\n\n private createHostWrapperContainer(): HTMLElement {\n const wrapperContainer = this.renderer.createElement('div');\n this.renderer.addClass(wrapperContainer, 'ecl-datepicker');\n\n return wrapperContainer;\n }\n\n private createIconComponent(): HTMLElement {\n const eclIconComponent = this.viewContainerRef.createComponent(EclIconComponent);\n eclIconComponent.instance.size = 'xs';\n eclIconComponent.instance.icon = 'calendar';\n eclIconComponent.instance.baseDirective.class = 'ecl-datepicker__icon';\n\n return eclIconComponent.location.nativeElement;\n }\n\n private destroyPikaday(): void {\n if (this.picker) {\n this.picker.destroy();\n this.picker = undefined;\n }\n }\n}\n","import { NgModule } from '@angular/core';\nimport { EclDatePickerDirective } from './ecl-date-picker.directive';\n\n/**\n * Module that provides the EclDatePicker directive.\n *\n * @deprecated Use {@link EUI_ECL_DATE_PICKER} instead.\n */\n@NgModule({\n imports: [EclDatePickerDirective],\n exports: [EclDatePickerDirective],\n})\nexport class EclDatePickerModule {}\n","import { EclDatePickerDirective } from './ecl-date-picker.directive';\n\nexport * from './ecl-date-picker.module';\nexport * from './ecl-date-picker.directive';\nexport * from './events/ecl-date-picker-date-picked.event';\n\nexport const EUI_ECL_DATE_PICKER = [\n EclDatePickerDirective,\n] as const;","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAEA;;AAEG;AACG,MAAO,4BAA6B,SAAQ,YAAY,CAAA;AAC7D,IAAA,WAAA,CAAmB,IAAU,EAAA;AAC5B,QAAA,KAAK,EAAE;QADW,IAAA,CAAA,IAAI,GAAJ,IAAI;IAEvB;AACA;;ACTD;AA4BA;;AAEG;AACH,MAAM,kBAAkB,GAAG;AACvB,IAAA,aAAa,EAAE,gBAAgB;AAC/B,IAAA,SAAS,EAAE,YAAY;IACvB,MAAM,EAAE,CAAC,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,CAAC;AAClI,IAAA,QAAQ,EAAE,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,WAAW,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,CAAC;AACxF,IAAA,aAAa,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC;CACnE;AAED;;AAEG;AACI,MAAM,8BAA8B,GAAa;AACpD,IAAA,OAAO,EAAE,iBAAiB;AAC1B,IAAA,WAAW,EAAE,UAAU,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;;AC7JxB;;;;AAIG;MAKU,mBAAmB,CAAA;8GAAnB,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAAnB,mBAAmB,EAAA,OAAA,EAAA,CAHlB,sBAAsB,CAAA,EAAA,OAAA,EAAA,CACtB,sBAAsB,CAAA,EAAA,CAAA,CAAA;+GAEvB,mBAAmB,EAAA,CAAA,CAAA;;2FAAnB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAJ/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,sBAAsB,CAAC;oBACjC,OAAO,EAAE,CAAC,sBAAsB,CAAC;AACpC,iBAAA;;;ACLM,MAAM,mBAAmB,GAAG;IAC/B,sBAAsB;;;ACP1B;;AAEG;;;;"}
1
+ {"version":3,"file":"eui-ecl-components-ecl-date-picker.mjs","sources":["../../components/ecl-date-picker/events/ecl-date-picker-date-picked.event.ts","../../components/ecl-date-picker/ecl-date-picker.directive.ts","../../components/ecl-date-picker/ecl-date-picker.module.ts","../../components/ecl-date-picker/index.ts","../../components/ecl-date-picker/eui-ecl-components-ecl-date-picker.ts"],"sourcesContent":["import { EclBaseEvent } from '@eui/ecl/core';\n\n/**\n * Custom event emitted by the ECL date picker when a date is selected.\n */\nexport class EclDatePickerDatePickedEvent extends EclBaseEvent {\n\tconstructor(public date: Date) {\n\t\tsuper();\n\t}\n}\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { isPlatformBrowser } from '@angular/common';\nimport {\n Directive,\n ElementRef,\n EventEmitter,\n HostBinding,\n HostListener,\n inject,\n Input,\n OnDestroy,\n OnInit,\n Output,\n PLATFORM_ID,\n Provider,\n Renderer2,\n ViewContainerRef,\n forwardRef,\n} from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { LangChangeEvent, TranslateService } from '@ngx-translate/core';\nimport type Pikaday from 'pikaday';\nimport { Subject, debounceTime, fromEvent, takeUntil } from 'rxjs';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclIconComponent } from '@eui/ecl/components/ecl-icon';\nimport { EclDatePickerDatePickedEvent } from './events/ecl-date-picker-date-picked.event';\nimport { EclRtlService } from '@eui/ecl/core';\n\n/**\n * Default i18n values for the Pikaday calendar component.\n */\nconst pikadayDefaultI18n = {\n previousMonth: 'Previous Month',\n nextMonth: 'Next Month',\n months: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],\n weekdays: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],\n weekdaysShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],\n};\n\n/**\n * Value accessor provider for Angular reactive and template-driven forms.\n */\nexport const ECL_DATE_PICKER_VALUE_ACCESSOR: Provider = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => EclDatePickerDirective),\n multi: true,\n};\n\nconst noop = (): void => {\n /** empty */\n};\n\n/**\n * Directive that enhances a native input element with an ECL-compliant date picker.\n * Integrates Pikaday with support for localization (i18n), RTL layout, and responsive behavior.\n */\n@Directive({\n selector: 'input[eclDatePicker]',\n providers: [ECL_DATE_PICKER_VALUE_ACCESSOR],\n})\nexport class EclDatePickerDirective extends ECLBaseDirective implements OnInit, ControlValueAccessor, OnDestroy {\n protected translateService = inject(TranslateService);\n\n /**\n * Number of years to show in the year dropdown.\n */\n @Input() yearRange = 40;\n\n /**\n * Date format string used to display and parse dates.\n * Follows the format syntax supported by Pikaday.\n */\n @Input() format = 'DD-MM-YYYY';\n\n /**\n * Sets the type attribute of the host input element to 'text'.\n */\n @HostBinding('attr.type') type = 'text';\n\n /**\n * Binds base ECL CSS classes to the host input element.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-datepicker__field')].join(' ').trim();\n }\n\n /**\n * Emits an event when a date is selected.\n */\n @Output() datePicked = new EventEmitter<EclDatePickerDatePickedEvent>();\n\n /**\n * Binds the 'disabled' attribute to the host element.\n * Accepts `null` or an empty string.\n */\n @HostBinding('attr.disabled')\n isDisabled = null;\n\n private picker: Pikaday;\n private destroy$: Subject<boolean> = new Subject<boolean>();\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private onChange: (_: any) => void = noop;\n private onTouched: () => void = noop;\n\n private hostEl: HTMLInputElement;\n private hostParentEl: HTMLElement;\n private hostWrapperEl: HTMLElement;\n private eclIconComponentEl: HTMLElement;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private value: any;\n private isRtl = false;\n private readonly DEBOUNCE_TIME = 100;\n private readonly MOBILE_BREAKPOINT = 768;\n private el = inject(ElementRef);\n private viewContainerRef = inject(ViewContainerRef);\n private eclRtlService = inject(EclRtlService);\n private renderer = inject(Renderer2);\n private platformId = inject(PLATFORM_ID);\n\n constructor() {\n super();\n if (isPlatformBrowser(this.platformId)) {\n this.handlei18nEvents();\n this.handleRtlChangeState();\n this.handleResize();\n }\n }\n\n /**\n * Initializes the Pikaday instance and applies markup when running in browser.\n */\n ngOnInit(): void {\n if (isPlatformBrowser(this.platformId)) {\n this.initPikaday().then(() => {\n this.handleMarkup();\n });\n }\n }\n\n /**\n * Cleans up subscriptions and event handlers on destroy.\n */\n ngOnDestroy(): void {\n this.destroy$.next(true);\n this.destroy$.unsubscribe();\n }\n\n /**\n * Marks the input as touched when clicked.\n */\n @HostListener('click')\n onClick(): void {\n this.onTouched();\n }\n\n /**\n * On blur, checks input value and emits appropriate change.\n */\n @HostListener('blur')\n onBlur(): void {\n const textFieldValue: string = this.hostEl.value;\n\n if (textFieldValue) {\n this.onChange(this.picker?.getDate());\n } else {\n this.onChange(null);\n }\n }\n\n /**\n * Writes a new value from the form model into the view or (if needed) DOM property.\n * Required by ControlValueAccessor interface.\n *\n * @param value - The value to be written into the input.\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n writeValue(value: any): void {\n this.value = value;\n if (this.picker) {\n this.picker.setDate(value);\n }\n }\n\n /**\n * Sets the disabled state of the component.\n * Called by Angular forms when the control status changes.\n *\n * @param isDisabled - Boolean indicating whether the input should be disabled.\n */\n setDisabledState(isDisabled: boolean): void {\n this.isDisabled = isDisabled || null;\n }\n\n /**\n * Registers a callback function that should be called when the control's value changes in the UI.\n * Required by ControlValueAccessor interface.\n *\n * @param fn - The callback function.\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n registerOnChange(fn: any): void {\n this.onChange = fn;\n }\n\n /**\n * Registers a callback function that should be called when the control is touched.\n * Required by ControlValueAccessor interface.\n *\n * @param fn - The callback function.\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n registerOnTouched(fn: any): void {\n this.onTouched = fn;\n }\n\n private async initPikaday(): Promise<void> {\n const i18nKey = 'ecl.date-picker.PIKADAY';\n let i18nTranslation = this.translateService.instant(i18nKey);\n const isRTL = this.isRtl;\n const position = isRTL ? 'bottom right' : 'bottom left';\n\n if (!i18nTranslation || i18nTranslation === i18nKey) {\n i18nTranslation = pikadayDefaultI18n;\n }\n\n // Dynamically import Pikaday when the component initializes\n try {\n const { default: Pikaday } = await import('pikaday');\n\n // Initialize Pikaday after it is imported\n this.picker = new Pikaday({\n field: this.el.nativeElement,\n format: this.format,\n theme: 'ecl-datepicker-theme',\n yearRange: this.yearRange,\n reposition: false,\n i18n: i18nTranslation,\n isRTL,\n position,\n showDaysInNextAndPreviousMonths: true,\n enableSelectionDaysInNextAndPreviousMonths: true,\n onSelect: this.onSelectDate.bind(this),\n onOpen: (): void => this.setPikadayElementStyles(this.picker.el),\n });\n this.picker.setDate(this.value);\n } catch (error) {\n console.error('Error importing Pikaday', error);\n }\n }\n\n private handlei18nEvents(): void {\n this.translateService.onLangChange.pipe(takeUntil(this.destroy$))\n .subscribe((langChangeEvent: LangChangeEvent) => {\n this.value = this.picker.getDate();\n this.destroyPikaday();\n this.initPikaday().then();\n });\n }\n\n private handleRtlChangeState(): void {\n this.eclRtlService.currentRtlState$.pipe(takeUntil(this.destroy$)).subscribe((rtlState) => {\n this.isRtl = rtlState;\n if (this.picker) {\n this.value = this.picker.getDate();\n this.destroyPikaday();\n this.initPikaday().then();\n }\n });\n }\n\n private handleResize(): void {\n fromEvent(window, 'resize')\n .pipe(debounceTime(this.DEBOUNCE_TIME), takeUntil(this.destroy$))\n .subscribe(() => {\n this.setPikadayElementStyles(this.picker.el);\n })\n }\n\n private setPikadayElementStyles(element: HTMLElement): void {\n // Extend picker size on mobile\n const vw = Math.max(document.documentElement.clientWidth || 0, window.innerWidth || 0);\n const inputParentElRect = this.hostWrapperEl.getBoundingClientRect();\n //mobile_mode\n if (vw < this.MOBILE_BREAKPOINT) {\n element.style.right = `${vw - inputParentElRect.right}px`;\n element.style.left = `${inputParentElRect.left}px`;\n } else if ( this.isRtl) {\n element.style.right = `${vw - inputParentElRect.right}px`;\n element.style.left = 'auto';\n } else {\n element.style.right = 'auto';\n element.style.left = `${inputParentElRect.left}px`;\n }\n }\n\n private onSelectDate(date: Date): void {\n this.datePicked.next(new EclDatePickerDatePickedEvent(date));\n this.onChange(date);\n }\n\n private handleMarkup(): void {\n this.hostEl = this.getHostElement();\n this.hostParentEl = this.getHostParentElement(this.hostEl);\n this.hostWrapperEl = this.createHostWrapperContainer();\n this.eclIconComponentEl = this.createIconComponent();\n\n if (this.hostParentEl != null) {\n this.hostParentEl.replaceChild(this.hostWrapperEl, this.hostEl);\n this.renderer.appendChild(this.hostWrapperEl, this.hostEl);\n this.renderer.appendChild(this.hostWrapperEl, this.eclIconComponentEl);\n }\n }\n\n private getHostElement(): HTMLInputElement {\n return this.el.nativeElement;\n }\n\n private getHostParentElement(hostEl: HTMLInputElement): HTMLElement {\n return this.renderer.parentNode(hostEl);\n }\n\n private createHostWrapperContainer(): HTMLElement {\n const wrapperContainer = this.renderer.createElement('div');\n this.renderer.addClass(wrapperContainer, 'ecl-datepicker');\n\n return wrapperContainer;\n }\n\n private createIconComponent(): HTMLElement {\n const eclIconComponent = this.viewContainerRef.createComponent(EclIconComponent);\n eclIconComponent.instance.size = 'xs';\n eclIconComponent.instance.icon = 'calendar';\n eclIconComponent.instance.baseDirective.class = 'ecl-datepicker__icon';\n\n return eclIconComponent.location.nativeElement;\n }\n\n private destroyPikaday(): void {\n if (this.picker) {\n this.picker.destroy();\n this.picker = undefined;\n }\n }\n}\n","import { NgModule } from '@angular/core';\nimport { EclDatePickerDirective } from './ecl-date-picker.directive';\n\n/**\n * Module that provides the EclDatePicker directive.\n *\n * @deprecated Use {@link EUI_ECL_DATE_PICKER} instead.\n */\n@NgModule({\n imports: [EclDatePickerDirective],\n exports: [EclDatePickerDirective],\n})\nexport class EclDatePickerModule {}\n","import { EclDatePickerDirective } from './ecl-date-picker.directive';\n\nexport * from './ecl-date-picker.module';\nexport * from './ecl-date-picker.directive';\nexport * from './events/ecl-date-picker-date-picked.event';\n\nexport const EUI_ECL_DATE_PICKER = [\n EclDatePickerDirective,\n] as const;","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAEA;;AAEG;AACG,MAAO,4BAA6B,SAAQ,YAAY,CAAA;AAC7D,IAAA,WAAA,CAAmB,IAAU,EAAA;AAC5B,QAAA,KAAK,EAAE;QADW,IAAA,CAAA,IAAI,GAAJ,IAAI;IAEvB;AACA;;ACTD;AA4BA;;AAEG;AACH,MAAM,kBAAkB,GAAG;AACvB,IAAA,aAAa,EAAE,gBAAgB;AAC/B,IAAA,SAAS,EAAE,YAAY;IACvB,MAAM,EAAE,CAAC,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,CAAC;AAClI,IAAA,QAAQ,EAAE,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,WAAW,EAAE,UAA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W;uBAAC,WAAW;gBAMpB,UAAU,EAAA,CAAA;sBADb,WAAW;uBAAC,OAAO;gBAQV,UAAU,EAAA,CAAA;sBAAnB;gBAOD,UAAU,EAAA,CAAA;sBADT,WAAW;uBAAC,eAAe;gBAyD5B,OAAO,EAAA,CAAA;sBADN,YAAY;uBAAC,OAAO;gBASrB,MAAM,EAAA,CAAA;sBADL,YAAY;uBAAC,MAAM;;;AC7JxB;;;;AAIG;MAKU,mBAAmB,CAAA;qHAAnB,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;sHAAnB,mBAAmB,EAAA,OAAA,EAAA,CAHlB,sBAAsB,CAAA,EAAA,OAAA,EAAA,CACtB,sBAAsB,CAAA,EAAA,CAAA,CAAA;sHAEvB,mBAAmB,EAAA,CAAA,CAAA;;kGAAnB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAJ/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,sBAAsB,CAAC;oBACjC,OAAO,EAAE,CAAC,sBAAsB,CAAC;AACpC,iBAAA;;;ACLM,MAAM,mBAAmB,GAAG;IAC/B,sBAAsB;;;ACP1B;;AAEG;;;;"}
@@ -1,9 +1,9 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { EventEmitter, booleanAttribute, Output, Input, HostBinding, Component, NgModule } from '@angular/core';
3
3
  import * as i1 from '@eui/ecl/components/ecl-button';
4
- import { EclButtonModule } from '@eui/ecl/components/ecl-button';
4
+ import { EUI_ECL_BUTTON } from '@eui/ecl/components/ecl-button';
5
5
  import * as i2 from '@eui/ecl/components/ecl-icon';
6
- import { EclIconModule } from '@eui/ecl/components/ecl-icon';
6
+ import { EUI_ECL_ICON } from '@eui/ecl/components/ecl-icon';
7
7
  import { EclBaseEvent, ECLBaseDirective } from '@eui/ecl/core';
8
8
  import * as i3 from '@ngx-translate/core';
9
9
  import { TranslateModule } from '@ngx-translate/core';
@@ -64,12 +64,12 @@ class EclExpandableComponent extends ECLBaseDirective {
64
64
  this.isExpanded = nextExpandedState;
65
65
  }
66
66
  }
67
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclExpandableComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
68
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: EclExpandableComponent, isStandalone: true, selector: "ecl-expandable", inputs: { isExpanded: ["isExpanded", "isExpanded", booleanAttribute], collapsedLabel: "collapsedLabel", expandedLabel: "expandedLabel" }, outputs: { toggle: "toggle" }, host: { properties: { "class": "this.cssClasses" } }, usesInheritance: true, ngImport: i0, template: "<button\n eclButton\n variant=\"ghost\"\n type=\"button\"\n class=\"ecl-expandable__toggle\"\n [attr.aria-expanded]=\"isExpanded\"\n (click)=\"onButtonClick()\">\n <span eclButtonLabel>\n @if (isExpanded) {\n {{ expandedLabel || 'ecl.common.COLLAPSE' | translate }}\n } @else {\n {{ collapsedLabel || 'ecl.common.EXPAND' | translate }}\n }\n </span>\n <ecl-icon icon=\"corner-arrow\" size=\"fluid\" transform=\"rotate-180\"></ecl-icon>\n</button>\n<div class=\"ecl-expandable__content\" [hidden]=\"!isExpanded\">\n <ng-content></ng-content>\n</div>\n", styles: [":host{display:block}\n"], dependencies: [{ kind: "ngmodule", type: EclButtonModule }, { kind: "component", type: i1.EclButtonComponent, selector: "button[eclButton], button[ecl-button], a[eclButton]", inputs: ["isIconOnly", "variant", "containerStyleClass"] }, { kind: "directive", type: i1.EclButtonLabelDirective, selector: "[eclButtonLabel]" }, { kind: "ngmodule", type: EclIconModule }, { kind: "component", type: i2.EclIconComponent, selector: "ecl-icon", inputs: ["iconSet", "icon", "size", "color", "transform", "ariaLabelledby", "role", "title", "ariaHidden", "focusable", "isFlipHorizontal"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }] }); }
67
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclExpandableComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
68
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.0-next.5", type: EclExpandableComponent, isStandalone: true, selector: "ecl-expandable", inputs: { isExpanded: ["isExpanded", "isExpanded", booleanAttribute], collapsedLabel: "collapsedLabel", expandedLabel: "expandedLabel" }, outputs: { toggle: "toggle" }, host: { properties: { "class": "this.cssClasses" } }, usesInheritance: true, ngImport: i0, template: "<button\n eclButton\n variant=\"ghost\"\n type=\"button\"\n class=\"ecl-expandable__toggle\"\n [attr.aria-expanded]=\"isExpanded\"\n (click)=\"onButtonClick()\">\n <span eclButtonLabel>\n @if (isExpanded) {\n {{ expandedLabel || 'ecl.common.COLLAPSE' | translate }}\n } @else {\n {{ collapsedLabel || 'ecl.common.EXPAND' | translate }}\n }\n </span>\n <ecl-icon icon=\"corner-arrow\" size=\"fluid\" transform=\"rotate-180\"></ecl-icon>\n</button>\n<div class=\"ecl-expandable__content\" [hidden]=\"!isExpanded\">\n <ng-content></ng-content>\n</div>\n", styles: [":host{display:block}\n"], dependencies: [{ kind: "component", type: i1.EclButtonComponent, selector: "button[eclButton], button[ecl-button], a[eclButton]", inputs: ["isIconOnly", "variant", "containerStyleClass"] }, { kind: "directive", type: i1.EclButtonLabelDirective, selector: "[eclButtonLabel]" }, { kind: "component", type: i2.EclIconComponent, selector: "ecl-icon", inputs: ["iconSet", "icon", "size", "color", "transform", "ariaLabelledby", "role", "title", "ariaHidden", "focusable", "isFlipHorizontal"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }] }); }
69
69
  }
70
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclExpandableComponent, decorators: [{
70
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclExpandableComponent, decorators: [{
71
71
  type: Component,
72
- args: [{ selector: 'ecl-expandable', imports: [EclButtonModule, EclIconModule, TranslateModule], template: "<button\n eclButton\n variant=\"ghost\"\n type=\"button\"\n class=\"ecl-expandable__toggle\"\n [attr.aria-expanded]=\"isExpanded\"\n (click)=\"onButtonClick()\">\n <span eclButtonLabel>\n @if (isExpanded) {\n {{ expandedLabel || 'ecl.common.COLLAPSE' | translate }}\n } @else {\n {{ collapsedLabel || 'ecl.common.EXPAND' | translate }}\n }\n </span>\n <ecl-icon icon=\"corner-arrow\" size=\"fluid\" transform=\"rotate-180\"></ecl-icon>\n</button>\n<div class=\"ecl-expandable__content\" [hidden]=\"!isExpanded\">\n <ng-content></ng-content>\n</div>\n", styles: [":host{display:block}\n"] }]
72
+ args: [{ selector: 'ecl-expandable', imports: [...EUI_ECL_BUTTON, ...EUI_ECL_ICON, TranslateModule], template: "<button\n eclButton\n variant=\"ghost\"\n type=\"button\"\n class=\"ecl-expandable__toggle\"\n [attr.aria-expanded]=\"isExpanded\"\n (click)=\"onButtonClick()\">\n <span eclButtonLabel>\n @if (isExpanded) {\n {{ expandedLabel || 'ecl.common.COLLAPSE' | translate }}\n } @else {\n {{ collapsedLabel || 'ecl.common.EXPAND' | translate }}\n }\n </span>\n <ecl-icon icon=\"corner-arrow\" size=\"fluid\" transform=\"rotate-180\"></ecl-icon>\n</button>\n<div class=\"ecl-expandable__content\" [hidden]=\"!isExpanded\">\n <ng-content></ng-content>\n</div>\n", styles: [":host{display:block}\n"] }]
73
73
  }], propDecorators: { cssClasses: [{
74
74
  type: HostBinding,
75
75
  args: ['class']
@@ -90,11 +90,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
90
90
  * @deprecated Use {@link EUI_ECL_EXPANDABLE} instead.
91
91
  */
92
92
  class EclExpandableModule {
93
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclExpandableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
94
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: EclExpandableModule, imports: [EclExpandableComponent], exports: [EclExpandableComponent] }); }
95
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclExpandableModule, imports: [EclExpandableComponent] }); }
93
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclExpandableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
94
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclExpandableModule, imports: [EclExpandableComponent], exports: [EclExpandableComponent] }); }
95
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclExpandableModule, imports: [EclExpandableComponent] }); }
96
96
  }
97
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclExpandableModule, decorators: [{
97
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclExpandableModule, decorators: [{
98
98
  type: NgModule,
99
99
  args: [{
100
100
  imports: [EclExpandableComponent],
@@ -1 +1 @@
1
- {"version":3,"file":"eui-ecl-components-ecl-expandable.mjs","sources":["../../components/ecl-expandable/ecl-expandable.component.ts","../../components/ecl-expandable/ecl-expandable.component.html","../../components/ecl-expandable/ecl-expandable.module.ts","../../components/ecl-expandable/index.ts","../../components/ecl-expandable/eui-ecl-components-ecl-expandable.ts"],"sourcesContent":["import { Component, Input, OnInit, Output, EventEmitter, HostBinding, booleanAttribute } from '@angular/core';\nimport { EclButtonModule } from '@eui/ecl/components/ecl-button';\nimport { EclIconModule } from '@eui/ecl/components/ecl-icon';\nimport { EclBaseEvent } from '@eui/ecl/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { TranslateModule } from '@ngx-translate/core';\n\n/**\n * Event emitted when the expandable is toggled.\n * Contains the next expanded state.\n */\nexport class EclExpandableToggleEvent extends EclBaseEvent {\n constructor(public isExpanded: boolean) {\n super();\n }\n}\n\n/**\n * Expandable component used to toggle visibility of additional content.\n * It displays a toggle button with configurable labels and emits an event on toggle.\n */\n@Component({\n selector: 'ecl-expandable',\n templateUrl: './ecl-expandable.component.html',\n imports: [EclButtonModule, EclIconModule, TranslateModule], // TODO: replace with EUI_ECL_NAME\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n})\nexport class EclExpandableComponent extends ECLBaseDirective implements OnInit {\n /**\n * Applies the expandable base CSS class to the host element.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-expandable')].join(' ').trim();\n }\n\n /**\n * Whether the expandable content is currently expanded.\n * Default is `false`.\n */\n @Input({ transform: booleanAttribute }) isExpanded = false;\n\n /**\n * The label to display when the content is collapsed.\n */\n @Input() collapsedLabel: string;\n\n /**\n * The label to display when the content is expanded.\n * If not set, `collapsedLabel` will be used as fallback.\n */\n @Input() expandedLabel: string;\n\n /**\n * Event emitted when the expandable is toggled.\n * Consumers can prevent default behavior by calling `event.preventDefault()`.\n */\n // eslint-disable-next-line\n @Output() toggle = new EventEmitter<EclExpandableToggleEvent>();\n\n /**\n * Initializes the component.\n * If `expandedLabel` is not provided, it falls back to `collapsedLabel`.\n */\n ngOnInit(): void {\n if (!this.expandedLabel) {\n this.expandedLabel = this.collapsedLabel;\n }\n }\n\n /**\n * Handles click on the toggle button.\n * Emits a toggle event and updates the expanded state unless prevented.\n */\n onButtonClick(): void {\n const nextExpandedState = !this.isExpanded;\n const event = new EclExpandableToggleEvent(nextExpandedState);\n\n this.toggle.next(event);\n\n if (!event.defaultPrevented) {\n this.isExpanded = nextExpandedState;\n }\n }\n}\n","<button\n eclButton\n variant=\"ghost\"\n type=\"button\"\n class=\"ecl-expandable__toggle\"\n [attr.aria-expanded]=\"isExpanded\"\n (click)=\"onButtonClick()\">\n <span eclButtonLabel>\n @if (isExpanded) {\n {{ expandedLabel || 'ecl.common.COLLAPSE' | translate }}\n } @else {\n {{ collapsedLabel || 'ecl.common.EXPAND' | translate }}\n }\n </span>\n <ecl-icon icon=\"corner-arrow\" size=\"fluid\" transform=\"rotate-180\"></ecl-icon>\n</button>\n<div class=\"ecl-expandable__content\" [hidden]=\"!isExpanded\">\n <ng-content></ng-content>\n</div>\n","import { NgModule } from '@angular/core';\nimport { EclExpandableComponent } from './ecl-expandable.component';\n\n/**\n * Module that provides the EclExpandable component and its dependencies.\n *\n * @deprecated Use {@link EUI_ECL_EXPANDABLE} instead.\n */\n@NgModule({\n imports: [EclExpandableComponent],\n exports: [EclExpandableComponent],\n})\nexport class EclExpandableModule {}\n","import { EclExpandableComponent } from './ecl-expandable.component';\n\nexport * from './ecl-expandable.module';\nexport * from './ecl-expandable.component';\n\nexport const EUI_ECL_EXPANDABLE = [\n EclExpandableComponent,\n] as const;","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AAOA;;;AAGG;AACG,MAAO,wBAAyB,SAAQ,YAAY,CAAA;AACxD,IAAA,WAAA,CAAmB,UAAmB,EAAA;AACpC,QAAA,KAAK,EAAE;QADU,IAAA,CAAA,UAAU,GAAV,UAAU;IAE7B;AACD;AAED;;;AAGG;AAaG,MAAO,sBAAuB,SAAQ,gBAAgB,CAAA;AAZ5D,IAAA,WAAA,GAAA;;AAqBE;;;AAGG;QACqC,IAAA,CAAA,UAAU,GAAG,KAAK;AAa1D;;;AAGG;;AAEO,QAAA,IAAA,CAAA,MAAM,GAAG,IAAI,YAAY,EAA4B;AA0BhE,IAAA;AAxDC;;AAEG;AACH,I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,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAAnB,mBAAmB,EAAA,OAAA,EAAA,CAHlB,sBAAsB,CAAA,EAAA,OAAA,EAAA,CACtB,sBAAsB,CAAA,EAAA,CAAA,CAAA;AAEvB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,YAHlB,sBAAsB,CAAA,EAAA,CAAA,CAAA;;2FAGvB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAJ/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,sBAAsB,CAAC;oBACjC,OAAO,EAAE,CAAC,sBAAsB,CAAC;AACpC,iBAAA;;;ACNM,MAAM,kBAAkB,GAAG;IAC9B,sBAAsB;;;ACN1B;;AAEG;;;;"}
1
+ {"version":3,"file":"eui-ecl-components-ecl-expandable.mjs","sources":["../../components/ecl-expandable/ecl-expandable.component.ts","../../components/ecl-expandable/ecl-expandable.component.html","../../components/ecl-expandable/ecl-expandable.module.ts","../../components/ecl-expandable/index.ts","../../components/ecl-expandable/eui-ecl-components-ecl-expandable.ts"],"sourcesContent":["import { Component, Input, OnInit, Output, EventEmitter, HostBinding, booleanAttribute } from '@angular/core';\nimport { EUI_ECL_BUTTON } from '@eui/ecl/components/ecl-button';\nimport { EUI_ECL_ICON } from '@eui/ecl/components/ecl-icon';\nimport { EclBaseEvent } from '@eui/ecl/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { TranslateModule } from '@ngx-translate/core';\n\n/**\n * Event emitted when the expandable is toggled.\n * Contains the next expanded state.\n */\nexport class EclExpandableToggleEvent extends EclBaseEvent {\n constructor(public isExpanded: boolean) {\n super();\n }\n}\n\n/**\n * Expandable component used to toggle visibility of additional content.\n * It displays a toggle button with configurable labels and emits an event on toggle.\n */\n@Component({\n selector: 'ecl-expandable',\n templateUrl: './ecl-expandable.component.html',\n imports: [...EUI_ECL_BUTTON, ...EUI_ECL_ICON, TranslateModule],\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n})\nexport class EclExpandableComponent extends ECLBaseDirective implements OnInit {\n /**\n * Applies the expandable base CSS class to the host element.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-expandable')].join(' ').trim();\n }\n\n /**\n * Whether the expandable content is currently expanded.\n * Default is `false`.\n */\n @Input({ transform: booleanAttribute }) isExpanded = false;\n\n /**\n * The label to display when the content is collapsed.\n */\n @Input() collapsedLabel: string;\n\n /**\n * The label to display when the content is expanded.\n * If not set, `collapsedLabel` will be used as fallback.\n */\n @Input() expandedLabel: string;\n\n /**\n * Event emitted when the expandable is toggled.\n * Consumers can prevent default behavior by calling `event.preventDefault()`.\n */\n // eslint-disable-next-line\n @Output() toggle = new EventEmitter<EclExpandableToggleEvent>();\n\n /**\n * Initializes the component.\n * If `expandedLabel` is not provided, it falls back to `collapsedLabel`.\n */\n ngOnInit(): void {\n if (!this.expandedLabel) {\n this.expandedLabel = this.collapsedLabel;\n }\n }\n\n /**\n * Handles click on the toggle button.\n * Emits a toggle event and updates the expanded state unless prevented.\n */\n onButtonClick(): void {\n const nextExpandedState = !this.isExpanded;\n const event = new EclExpandableToggleEvent(nextExpandedState);\n\n this.toggle.next(event);\n\n if (!event.defaultPrevented) {\n this.isExpanded = nextExpandedState;\n }\n }\n}\n","<button\n eclButton\n variant=\"ghost\"\n type=\"button\"\n class=\"ecl-expandable__toggle\"\n [attr.aria-expanded]=\"isExpanded\"\n (click)=\"onButtonClick()\">\n <span eclButtonLabel>\n @if (isExpanded) {\n {{ expandedLabel || 'ecl.common.COLLAPSE' | translate }}\n } @else {\n {{ collapsedLabel || 'ecl.common.EXPAND' | translate }}\n }\n </span>\n <ecl-icon icon=\"corner-arrow\" size=\"fluid\" transform=\"rotate-180\"></ecl-icon>\n</button>\n<div class=\"ecl-expandable__content\" [hidden]=\"!isExpanded\">\n <ng-content></ng-content>\n</div>\n","import { NgModule } from '@angular/core';\nimport { EclExpandableComponent } from './ecl-expandable.component';\n\n/**\n * Module that provides the EclExpandable component and its dependencies.\n *\n * @deprecated Use {@link EUI_ECL_EXPANDABLE} instead.\n */\n@NgModule({\n imports: [EclExpandableComponent],\n exports: [EclExpandableComponent],\n})\nexport class EclExpandableModule {}\n","import { EclExpandableComponent } from './ecl-expandable.component';\n\nexport * from './ecl-expandable.module';\nexport * from './ecl-expandable.component';\n\nexport const EUI_ECL_EXPANDABLE = [\n EclExpandableComponent,\n] as const;","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AAOA;;;AAGG;AACG,MAAO,wBAAyB,SAAQ,YAAY,CAAA;AACxD,IAAA,WAAA,CAAmB,UAAmB,EAAA;AACpC,QAAA,KAAK,EAAE;QADU,IAAA,CAAA,UAAU,GAAV,UAAU;IAE7B;AACD;AAED;;;AAGG;AAaG,MAAO,sBAAuB,SAAQ,gBAAgB,CAAA;AAZ5D,IAAA,WAAA,GAAA;;AAqBE;;;AAGG;QACqC,IAAA,CAAA,UAAU,GAAG,KAAK;AAa1D;;;AAGG;;AAEO,QAAA,IAAA,CAAA,MAAM,GAAG,IAAI,YAAY,EAA4B;AA0BhE,IAAA;AAxDC;;AAEG;AACH,IAAA,IACI,UAAU,GAAA;AACZ,QAAA,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE;IACjE;AA0BA;;;AAGG;IACH,QAAQ,GAAA;AACN,QAAA,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE;AACvB,YAAA,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,cAAc;QAC1C;IACF;AAEA;;;AAGG;IACH,aAAa,GAAA;AACX,QAAA,MAAM,iBAAiB,GAAG,CAAC,I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,EAAA;8BAc1D,UAAU,EAAA,CAAA;sBADb,WAAW;uBAAC,OAAO;gBASoB,UAAU,EAAA,CAAA;sBAAjD,KAAK;uBAAC,EAAE,SAAS,EAAE,gBAAgB,EAAE;gBAK7B,cAAc,EAAA,CAAA;sBAAtB;gBAMQ,aAAa,EAAA,CAAA;sBAArB;gBAOS,MAAM,EAAA,CAAA;sBAAf;;;AE7DH;;;;AAIG;MAKU,mBAAmB,CAAA;qHAAnB,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;sHAAnB,mBAAmB,EAAA,OAAA,EAAA,CAHlB,sBAAsB,CAAA,EAAA,OAAA,EAAA,CACtB,sBAAsB,CAAA,EAAA,CAAA,CAAA;AAEvB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,eAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,YAHlB,sBAAsB,CAAA,EAAA,CAAA,CAAA;;kGAGvB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAJ/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,sBAAsB,CAAC;oBACjC,OAAO,EAAE,CAAC,sBAAsB,CAAC;AACpC,iBAAA;;;ACNM,MAAM,kBAAkB,GAAG;IAC9B,sBAAsB;;;ACN1B;;AAEG;;;;"}
@@ -39,10 +39,10 @@ class EclFactFiguresComponent extends ECLBaseDirective {
39
39
  this.fontSize === 'm' ? 'ecl-fact-figures--font-m' : '',
40
40
  `ecl-fact-figures--col-${this.columns}`].join(' ').trim();
41
41
  }
42
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclFactFiguresComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
43
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.1.6", 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" } }, 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"] }); }
42
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclFactFiguresComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
43
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "21.0.0-next.5", 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" } }, 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"] }); }
44
44
  }
45
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclFactFiguresComponent, decorators: [{
45
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclFactFiguresComponent, decorators: [{
46
46
  type: Component,
47
47
  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"] }]
48
48
  }], propDecorators: { cssClasses: [{
@@ -82,10 +82,10 @@ class EclFactFiguresItemComponent extends ECLBaseDirective {
82
82
  });
83
83
  }
84
84
  }
85
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclFactFiguresItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
86
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", 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" }); }
85
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclFactFiguresItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
86
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.0-next.5", 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" }); }
87
87
  }
88
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclFactFiguresItemComponent, decorators: [{
88
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclFactFiguresItemComponent, decorators: [{
89
89
  type: Component,
90
90
  args: [{ selector: 'ecl-fact-figures-item', template: "<ng-content></ng-content>\n" }]
91
91
  }], propDecorators: { cssClasses: [{
@@ -116,10 +116,10 @@ class EclFactFiguresViewAllComponent extends ECLBaseDirective {
116
116
  this.eclLink.class = [this.eclLink.class, 'ecl-fact-figures__view-all-link'].join(' ');
117
117
  }
118
118
  }
119
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclFactFiguresViewAllComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
120
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", 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"] }); }
119
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclFactFiguresViewAllComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
120
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.0-next.5", 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"] }); }
121
121
  }
122
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclFactFiguresViewAllComponent, decorators: [{
122
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclFactFiguresViewAllComponent, decorators: [{
123
123
  type: Component,
124
124
  args: [{ selector: 'ecl-fact-figures-view-all', template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"] }]
125
125
  }], propDecorators: { cssClasses: [{
@@ -141,10 +141,10 @@ class EclFactFiguresDescriptionComponent extends ECLBaseDirective {
141
141
  get cssClasses() {
142
142
  return [super.getCssClasses('ecl-fact-figures__description')].join(' ').trim();
143
143
  }
144
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclFactFiguresDescriptionComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
145
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", 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"] }); }
144
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclFactFiguresDescriptionComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
145
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.0-next.5", 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"] }); }
146
146
  }
147
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclFactFiguresDescriptionComponent, decorators: [{
147
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclFactFiguresDescriptionComponent, decorators: [{
148
148
  type: Component,
149
149
  args: [{ selector: 'ecl-fact-figures-description', template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"] }]
150
150
  }], propDecorators: { cssClasses: [{
@@ -162,10 +162,10 @@ class EclFactFiguresTitleComponent extends ECLBaseDirective {
162
162
  get cssClasses() {
163
163
  return [super.getCssClasses('ecl-fact-figures__title')].join(' ').trim();
164
164
  }
165
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclFactFiguresTitleComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
166
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", 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"] }); }
165
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclFactFiguresTitleComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
166
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.0-next.5", 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"] }); }
167
167
  }
168
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclFactFiguresTitleComponent, decorators: [{
168
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclFactFiguresTitleComponent, decorators: [{
169
169
  type: Component,
170
170
  args: [{ selector: 'ecl-fact-figures-title', template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"] }]
171
171
  }], propDecorators: { cssClasses: [{
@@ -183,10 +183,10 @@ class EclFactFiguresValueComponent extends ECLBaseDirective {
183
183
  get cssClasses() {
184
184
  return [super.getCssClasses('ecl-fact-figures__value')].join(' ').trim();
185
185
  }
186
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclFactFiguresValueComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
187
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", 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"] }); }
186
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclFactFiguresValueComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
187
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.0-next.5", 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"] }); }
188
188
  }
189
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclFactFiguresValueComponent, decorators: [{
189
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclFactFiguresValueComponent, decorators: [{
190
190
  type: Component,
191
191
  args: [{ selector: 'ecl-fact-figures-value', template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"] }]
192
192
  }], propDecorators: { cssClasses: [{
@@ -200,8 +200,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
200
200
  * @deprecated Use {@link EUI_ECL_FACT_FIGURES} instead.
201
201
  */
202
202
  class EclFactFiguresModule {
203
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclFactFiguresModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
204
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: EclFactFiguresModule, imports: [EclFactFiguresComponent,
203
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclFactFiguresModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
204
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclFactFiguresModule, imports: [EclFactFiguresComponent,
205
205
  EclFactFiguresItemComponent,
206
206
  EclFactFiguresViewAllComponent,
207
207
  EclFactFiguresDescriptionComponent,
@@ -212,9 +212,9 @@ class EclFactFiguresModule {
212
212
  EclFactFiguresDescriptionComponent,
213
213
  EclFactFiguresTitleComponent,
214
214
  EclFactFiguresValueComponent] }); }
215
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclFactFiguresModule }); }
215
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclFactFiguresModule }); }
216
216
  }
217
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EclFactFiguresModule, decorators: [{
217
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-next.5", ngImport: i0, type: EclFactFiguresModule, decorators: [{
218
218
  type: NgModule,
219
219
  args: [{
220
220
  imports: [
@@ -1 +1 @@
1
- {"version":3,"file":"eui-ecl-components-ecl-fact-figures.mjs","sources":["../../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-item.component.ts","../../components/ecl-fact-figures/ecl-fact-figures-item.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 { Component, Input, HostBinding, booleanAttribute } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\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 /**\n * Sets the CSS classes for the component, including layout and font size modifiers.\n * Automatically adds:\n * - `ecl-fact-figures--font-m` when `fontSize` is `'m'`\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 this.fontSize === 'm' ? 'ecl-fact-figures--font-m' : '',\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","<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, 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 { 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,\n] as const;","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAGA;;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AA,EAAA,CAAA,CAAA;AAApB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,YAhBzB,uBAAuB;YACvB,2BAA2B;YAC3B,8BAA8B;YAC9B,kCAAkC;YAClC,4BAA4B;AAC5B,YAAA,4BAA4B,aAG5B,uBAAuB;YACvB,2BAA2B;YAC3B,8BAA8B;YAC9B,kCAAkC;YAClC,4BAA4B;YAC5B,4BAA4B,CAAA,EAAA,CAAA,CAAA;+GAGvB,oBAAoB,EAAA,CAAA,CAAA;;2FAApB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAlBhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE;wBACL,uBAAuB;wBACvB,2BAA2B;wBAC3B,8BAA8B;wBAC9B,kCAAkC;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.component.ts","../../components/ecl-fact-figures/ecl-fact-figures.component.html","../../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-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 { Component, Input, HostBinding, booleanAttribute } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\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 /**\n * Sets the CSS classes for the component, including layout and font size modifiers.\n * Automatically adds:\n * - `ecl-fact-figures--font-m` when `fontSize` is `'m'`\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 this.fontSize === 'm' ? 'ecl-fact-figures--font-m' : '',\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","<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, 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 { 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,\n] as const;","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAGA;;;AAGG;AAYG,MAAO,uBAAwB,SAAQ,gBAAgB,CAAA;AAX7D,IAAA,WAAA,GAAA;;AAyBE;;;AAGG;QACM,IAAA,CAAA,OAAO,GAAG,GAAG;AAEtB;;;;AAIG;QACM,IAAA,CAAA,QAAQ,GAAc,GAAG;AAElC;;;AAGG;QAGH,IAAA,CAAA,UAAU,GAAG,KAAK;AACnB,IAAA;AAjCC;;;;;AAKG;AACH,IAAA,IACI,UAAU,GAAA;AACZ,QAAA,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,kBAAkB,CAAC;YAC7C,IAAI,CAAC,QAAQ,KAAK,GAAG,GAAG,0BAA0B,GAAG,EAAE;AACvD,YAAA,CAAA,sBAAA,EAAyB,IAAI,CAAC,OAAO,CAAA,CAAE,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE;IAC7D;qHAZW,uBAAuB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;yGAAvB,uBAAuB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,MAAA,EAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,UAAA,EAAA,UAAA,EAAA,CAAA,YAAA,EAAA,YAAA,EA+Bd,gBAAgB,CAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,OAAA,EAAA,iBAAA,EAAA,kCAAA,EAAA,iBAAA,EAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECjDtC,oJAKA,EAAA,MAAA,E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