@eui/ecl 21.0.0-next.4 → 21.0.0-next.40
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.
- package/docs/changelog.html +789 -0
- package/docs/components/EclAccordionComponent.html +9 -3
- package/docs/components/EclAccordionItemComponent.html +9 -3
- package/docs/components/EclAppComponent.html +3 -3
- package/docs/components/EclBannerComponent.html +17 -5
- package/docs/components/EclBlockquoteComponent.html +3 -3
- package/docs/components/EclBreadcrumbComponent.html +12 -46
- package/docs/components/EclBreadcrumbSegmentComponent.html +11 -5
- package/docs/components/EclButtonComponent.html +9 -3
- package/docs/components/EclCardBodyComponent.html +3 -3
- package/docs/components/EclCardComponent.html +3 -3
- package/docs/components/EclCarouselComponent.html +31 -5
- package/docs/components/EclCarouselItemComponent.html +9 -3
- package/docs/components/EclCategoryFilterComponent.html +9 -3
- package/docs/components/EclCategoryFilterItemComponent.html +21 -5
- package/docs/components/EclCategoryFilterListComponent.html +9 -5
- package/docs/components/EclCheckboxHelpComponent.html +3 -3
- package/docs/components/EclCheckboxLabelComponent.html +3 -3
- package/docs/components/EclContentBlockComponent.html +3 -3
- package/docs/components/EclContentItemComponent.html +3 -3
- package/docs/components/EclDateBlockComponent.html +8 -6
- package/docs/components/EclDescriptionListDefinitionComponent.html +3 -5
- package/docs/components/EclExpandableComponent.html +3 -3
- package/docs/components/EclFactFiguresComponent.html +3 -3
- package/docs/components/EclFactFiguresItemComponent.html +3 -3
- package/docs/components/EclFactFiguresViewAllComponent.html +3 -3
- package/docs/components/EclFeaturedComponent.html +9 -3
- package/docs/components/EclFeaturedItemComponent.html +9 -3
- package/docs/components/EclFeaturedItemDescriptionComponent.html +9 -3
- package/docs/components/EclFileComponent.html +9 -3
- package/docs/components/EclFileItemComponent.html +3 -3
- package/docs/components/EclFileItemsComponent.html +3 -3
- package/docs/components/EclFileTaxonomyComponent.html +3 -3
- package/docs/components/EclFormGroupComponent.html +3 -3
- package/docs/components/EclFormLabelComponent.html +10 -4
- package/docs/components/EclGalleryComponent.html +15 -3
- package/docs/components/EclGalleryFooterComponent.html +9 -9
- package/docs/components/EclGalleryItemComponent.html +4 -75
- package/docs/components/EclIconComponent.html +15 -3
- package/docs/components/EclInpageNavigationComponent.html +19 -42
- package/docs/components/EclInpageNavigationItemComponent.html +10 -4
- package/docs/components/EclListIllustrationComponent.html +3 -3
- package/docs/components/EclListIllustrationItemComponent.html +21 -3
- package/docs/components/EclLoadingIndicatorComponent.html +3 -3
- package/docs/components/EclMediaContainerComponent.html +9 -3
- package/docs/components/EclMegaMenuComponent.html +56 -4
- package/docs/components/EclMegaMenuFeaturedComponent.html +9 -3
- package/docs/components/EclMegaMenuInfoComponent.html +9 -3
- package/docs/components/EclMegaMenuItemComponent.html +39 -3
- package/docs/components/EclMegaMenuSubitemComponent.html +18 -24
- package/docs/components/EclMenuComponent.html +51 -3
- package/docs/components/EclMenuItemComponent.html +33 -3
- package/docs/components/EclMenuMegaComponent.html +9 -3
- package/docs/components/EclMenuMegaItemComponent.html +21 -3
- package/docs/components/EclModalBodyComponent.html +4 -40
- package/docs/components/EclModalComponent.html +9 -5
- package/docs/components/EclModalFooterComponent.html +3 -3
- package/docs/components/EclModalHeaderComponent.html +9 -3
- package/docs/components/EclMultiselectComponent.html +9 -13
- package/docs/components/EclMultiselectDropdownComponent.html +27 -7
- package/docs/components/EclMultiselectInputComponent.html +3 -3
- package/docs/components/EclMultiselectOptgroupComponent.html +3 -3
- package/docs/components/EclMultiselectOptionComponent.html +10 -8
- package/docs/components/EclNavigationListComponent.html +3 -3
- package/docs/components/EclNavigationListItemComponent.html +9 -3
- package/docs/components/EclNewsTickerComponent.html +15 -5
- package/docs/components/EclNewsTickerItemComponent.html +9 -5
- package/docs/components/EclNotificationComponent.html +70 -4
- package/docs/components/EclPageHeaderComponent.html +3 -3
- package/docs/components/EclPageHeaderExpandableComponent.html +15 -4
- package/docs/components/EclPaginationComponent.html +15 -3
- package/docs/components/EclPaginationItemComponent.html +10 -4
- package/docs/components/EclPopoverComponent.html +9 -38
- package/docs/components/EclRadioHelpComponent.html +3 -3
- package/docs/components/EclRadioLabelComponent.html +3 -3
- package/docs/components/EclRangeBubbleComponent.html +15 -3
- package/docs/components/EclRangeValueComponent.html +3 -3
- package/docs/components/EclRatingFieldComponent.html +3 -3
- package/docs/components/EclSearchFormComponent.html +8 -8
- package/docs/components/EclSelectContainerComponent.html +3 -3
- package/docs/components/EclSiteFooterComponent.html +23 -4
- package/docs/components/{EclTabMoreComponent.html → EclSiteFooterCoownerComponent.html} +16 -50
- package/docs/components/EclSiteFooterCoreComponent.html +3 -3
- package/docs/components/EclSiteFooterFixedContentEUComponent.html +4 -4
- package/docs/components/EclSiteFooterRowCommonComponent.html +3 -3
- package/docs/components/EclSiteHeaderActionComponent.html +3 -3
- package/docs/components/EclSiteHeaderBannerTopComponent.html +9 -3
- package/docs/components/EclSiteHeaderComponent.html +9 -22
- package/docs/components/EclSiteHeaderCustomActionComponent.html +9 -3
- package/docs/components/EclSiteHeaderEnvironmentComponent.html +3 -3
- package/docs/components/EclSiteHeaderLanguageComponent.html +9 -3
- package/docs/components/EclSiteHeaderLanguagePopoverComponent.html +10 -4
- package/docs/components/EclSiteHeaderLoginComponent.html +9 -3
- package/docs/components/EclSiteHeaderNotificationComponent.html +3 -3
- package/docs/components/EclSiteHeaderSearchComponent.html +13 -7
- package/docs/components/EclSocialMediaFollowComponent.html +3 -3
- package/docs/components/EclSocialMediaFollowItemComponent.html +34 -5
- package/docs/components/EclSplashPageComponent.html +3 -3
- package/docs/components/EclSplashPageLanguageCategoryComponent.html +3 -3
- package/docs/components/EclSplashPageLanguageContainerComponent.html +3 -3
- package/docs/components/EclSplashPageLanguageLinkComponent.html +3 -3
- package/docs/components/EclSpotlightComponent.html +9 -3
- package/docs/components/EclSpotlightLinkComponent.html +21 -3
- package/docs/components/EclStickyContainerComponent.html +3 -3
- package/docs/components/EclTabComponent.html +10 -6
- package/docs/components/EclTabLabelComponent.html +9 -3
- package/docs/components/EclTableSortButtonComponent.html +9 -3
- package/docs/components/EclTabsComponent.html +46 -8
- package/docs/components/EclTagComponent.html +15 -3
- package/docs/components/EclTimelineComponent.html +3 -3
- package/docs/components/EclTimelineItemComponent.html +3 -3
- package/docs/components/EclTimelineItemTogglerComponent.html +3 -3
- package/docs/directives/ECLClickOutsideDirective.html +5 -1
- package/docs/directives/ECLFormLabelOptionalDirective.html +6 -0
- package/docs/directives/EclBannerDescriptionLinkDirective.html +6 -0
- package/docs/directives/EclBannerImageDirective.html +12 -0
- package/docs/directives/EclBannerTitleLinkDirective.html +6 -0
- package/docs/directives/EclBannerVideoDirective.html +6 -0
- package/docs/directives/EclBreadcrumbContainerDirective.html +6 -23
- package/docs/directives/EclButtonIconContainerDirective.html +6 -0
- package/docs/directives/EclCardImageDirective.html +6 -0
- package/docs/directives/EclCheckboxInputDirective.html +6 -0
- package/docs/directives/EclContentItemImageDirective.html +6 -0
- package/docs/directives/EclDescriptionListDefinitionItemDirective.html +12 -0
- package/docs/directives/EclDescriptionListDefinitionListDirective.html +6 -0
- package/docs/directives/EclDescriptionListTermDirective.html +6 -0
- package/docs/directives/EclDividerDirective.html +6 -0
- package/docs/directives/EclFeaturedItemLinkDirective.html +6 -2
- package/docs/directives/EclFeedbackHiddenDirective.html +385 -0
- package/docs/directives/EclFileDownloadDirective.html +6 -0
- package/docs/directives/EclFileImageDirective.html +6 -0
- package/docs/directives/EclFilePreviewDirective.html +12 -0
- package/docs/directives/EclFileTitleDirective.html +6 -0
- package/docs/directives/EclFileTranslationDownloadDirective.html +6 -0
- package/docs/directives/EclGalleryMediaDirective.html +6 -0
- package/docs/directives/EclGalleryPictureDirective.html +6 -0
- package/docs/{modules/EclFormLabelModule.html → directives/EclHelpHiddenDirective.html} +169 -57
- package/docs/directives/EclIndicatorDirective.html +6 -0
- package/docs/directives/EclInpageNavigationListDirective.html +18 -0
- package/docs/directives/EclLinkDirective.html +150 -8
- package/docs/directives/EclLinkIconContainerDirective.html +6 -0
- package/docs/directives/EclLinkIndicatorDirective.html +6 -0
- package/docs/directives/EclListIllustrationIconDirective.html +6 -0
- package/docs/directives/EclListIllustrationImageDirective.html +6 -0
- package/docs/directives/EclLoadingIndicatorLabelDirective.html +6 -0
- package/docs/directives/EclMediaContainerIframeDirective.html +6 -0
- package/docs/directives/EclMediaContainerItemDirective.html +12 -0
- package/docs/directives/EclMegaMenuContainerDirective.html +6 -0
- package/docs/directives/EclMegaMenuFeaturedImageDirective.html +6 -0
- package/docs/directives/EclMegaMenuFeaturedListDirective.html +6 -0
- package/docs/directives/EclMegaMenuFeaturedListItemDescriptionDirective.html +6 -0
- package/docs/directives/EclMegaMenuFeaturedListItemDirective.html +6 -0
- package/docs/directives/EclMegaMenuListDirective.html +6 -0
- package/docs/directives/EclMegaMenuSpacerDirective.html +6 -0
- package/docs/directives/EclMegaMenuSublistDirective.html +18 -0
- package/docs/directives/EclModalBodyFixedContentDirective.html +6 -0
- package/docs/directives/EclMultiselectOptionDirective.html +11 -5
- package/docs/directives/EclNewsTickerIconDirective.html +6 -0
- package/docs/{modules/EclNotificationModule.html → directives/EclNotificationIconDirective.html} +169 -57
- package/docs/directives/{EclSiteFooterLogoListDirective.html → EclNotificationLinkDirective.html} +57 -161
- package/docs/directives/EclOrderedListDirective.html +6 -0
- package/docs/directives/EclOrderedListItemDirective.html +6 -0
- package/docs/directives/EclPaginationListDirective.html +6 -0
- package/docs/directives/EclPopoverToggleDirective.html +12 -0
- package/docs/directives/EclRadioInputDirective.html +6 -0
- package/docs/directives/EclSiteFooterColumnDirective.html +6 -0
- package/docs/directives/{EclSiteFooterLogoDirective.html → EclSiteFooterCoownerItemDirective.html} +63 -31
- package/docs/directives/{EclSiteFooterLogoItemDirective.html → EclSiteFooterCoownerListDirective.html} +50 -166
- package/docs/directives/EclSiteFooterDescriptionDirective.html +6 -0
- package/docs/directives/EclSiteFooterDescriptionNameDirective.html +6 -0
- package/docs/directives/EclSiteFooterLinkDirective.html +6 -0
- package/docs/directives/EclSiteFooterListDirective.html +6 -19
- package/docs/directives/EclSiteFooterListItemDirective.html +6 -0
- package/docs/directives/EclSiteFooterLogoImageDirective.html +6 -0
- package/docs/directives/EclSiteFooterLogoLinkDirective.html +6 -0
- package/docs/directives/EclSiteFooterRowDirective.html +6 -0
- package/docs/directives/EclSiteFooterSectionDirective.html +0 -96
- package/docs/directives/EclSiteFooterSocialMediaDirective.html +6 -0
- package/docs/directives/EclSiteFooterTitleDirective.html +6 -0
- package/docs/directives/EclSiteFooterTitleLinkDirective.html +6 -0
- package/docs/directives/EclSiteHeaderCtaDirective.html +6 -0
- package/docs/directives/EclSiteHeaderCustomActionContentDirective.html +6 -0
- package/docs/directives/EclSiteHeaderCustomActionTitleDirective.html +6 -0
- package/docs/directives/EclSpotlightImageDirective.html +6 -0
- package/docs/directives/EclTableCaptionDirective.html +6 -0
- package/docs/directives/EclTagSetItemDirective.html +6 -0
- package/docs/directives/EclTimelineSetDirective.html +6 -0
- package/docs/directives/EclUnorderedListDirective.html +6 -0
- package/docs/directives/EclUnorderedListItemDirective.html +6 -0
- package/docs/injectables/EclRtlService.html +6 -0
- package/docs/js/libs/bootstrap-native.js +1 -1
- package/docs/js/libs/vis-network.min.js +78 -0
- package/docs/js/menu-wc.js +53 -2401
- package/docs/js/menu-wc_es5.js +1 -1
- package/docs/js/search/search_index.js +2 -2
- package/docs/miscellaneous/functions.html +5 -1
- package/docs/miscellaneous/variables.html +534 -1395
- package/docs/modules.html +2 -722
- package/docs/overview.html +2 -2
- package/docs/properties.html +1 -1
- package/fesm2022/eui-ecl-components-ecl-accordion.mjs +8 -27
- package/fesm2022/eui-ecl-components-ecl-accordion.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-app.mjs +5 -23
- package/fesm2022/eui-ecl-components-ecl-app.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-banner.mjs +36 -85
- package/fesm2022/eui-ecl-components-ecl-banner.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-blockquote.mjs +11 -30
- package/fesm2022/eui-ecl-components-ecl-blockquote.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-breadcrumb.mjs +15 -42
- package/fesm2022/eui-ecl-components-ecl-breadcrumb.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-button.mjs +14 -34
- package/fesm2022/eui-ecl-components-ecl-button.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-card.mjs +14 -45
- package/fesm2022/eui-ecl-components-ecl-card.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-carousel.mjs +8 -27
- package/fesm2022/eui-ecl-components-ecl-carousel.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-category-filter.mjs +11 -30
- package/fesm2022/eui-ecl-components-ecl-category-filter.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-checkbox.mjs +15 -34
- package/fesm2022/eui-ecl-components-ecl-checkbox.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-content-block.mjs +56 -128
- package/fesm2022/eui-ecl-components-ecl-content-block.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-content-item.mjs +11 -30
- package/fesm2022/eui-ecl-components-ecl-content-item.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-date-block.mjs +5 -23
- package/fesm2022/eui-ecl-components-ecl-date-block.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-date-picker.mjs +5 -23
- package/fesm2022/eui-ecl-components-ecl-date-picker.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-divider.mjs +6 -24
- package/fesm2022/eui-ecl-components-ecl-divider.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-expandable.mjs +5 -23
- package/fesm2022/eui-ecl-components-ecl-expandable.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-fact-figures.mjs +16 -50
- package/fesm2022/eui-ecl-components-ecl-fact-figures.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-featured.mjs +14 -47
- package/fesm2022/eui-ecl-components-ecl-featured.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-feedback-message.mjs +5 -23
- package/fesm2022/eui-ecl-components-ecl-feedback-message.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-file-upload.mjs +5 -23
- package/fesm2022/eui-ecl-components-ecl-file-upload.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-file.mjs +32 -81
- package/fesm2022/eui-ecl-components-ecl-file.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-form-group.mjs +5 -23
- package/fesm2022/eui-ecl-components-ecl-form-group.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-form-label.mjs +51 -22
- package/fesm2022/eui-ecl-components-ecl-form-label.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-gallery.mjs +21 -75
- package/fesm2022/eui-ecl-components-ecl-gallery.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-help-block.mjs +5 -23
- package/fesm2022/eui-ecl-components-ecl-help-block.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-icon.mjs +5 -23
- package/fesm2022/eui-ecl-components-ecl-icon.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-inpage-navigation.mjs +24 -51
- package/fesm2022/eui-ecl-components-ecl-inpage-navigation.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-label.mjs +5 -23
- package/fesm2022/eui-ecl-components-ecl-label.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-link.mjs +44 -41
- package/fesm2022/eui-ecl-components-ecl-link.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-list-illustration.mjs +22 -55
- package/fesm2022/eui-ecl-components-ecl-list-illustration.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-list.mjs +29 -74
- package/fesm2022/eui-ecl-components-ecl-list.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-loading-indicator.mjs +11 -30
- package/fesm2022/eui-ecl-components-ecl-loading-indicator.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-media-container.mjs +17 -50
- package/fesm2022/eui-ecl-components-ecl-media-container.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-mega-menu.mjs +50 -112
- package/fesm2022/eui-ecl-components-ecl-mega-menu.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-menu.mjs +14 -33
- package/fesm2022/eui-ecl-components-ecl-menu.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-modal.mjs +26 -81
- package/fesm2022/eui-ecl-components-ecl-modal.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-multiselect.mjs +25 -66
- package/fesm2022/eui-ecl-components-ecl-multiselect.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-navigation-list.mjs +14 -44
- package/fesm2022/eui-ecl-components-ecl-navigation-list.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-news-ticker.mjs +11 -39
- package/fesm2022/eui-ecl-components-ecl-news-ticker.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-notification.mjs +86 -50
- package/fesm2022/eui-ecl-components-ecl-notification.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-page-header.mjs +44 -101
- package/fesm2022/eui-ecl-components-ecl-page-header.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-pagination.mjs +12 -32
- package/fesm2022/eui-ecl-components-ecl-pagination.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-popover.mjs +16 -44
- package/fesm2022/eui-ecl-components-ecl-popover.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-radio.mjs +14 -32
- package/fesm2022/eui-ecl-components-ecl-radio.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-range.mjs +11 -30
- package/fesm2022/eui-ecl-components-ecl-range.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-rating-field.mjs +5 -23
- package/fesm2022/eui-ecl-components-ecl-rating-field.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-search-form.mjs +12 -32
- package/fesm2022/eui-ecl-components-ecl-search-form.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-select.mjs +8 -33
- package/fesm2022/eui-ecl-components-ecl-select.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-site-footer.mjs +150 -260
- package/fesm2022/eui-ecl-components-ecl-site-footer.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-site-header.mjs +73 -157
- package/fesm2022/eui-ecl-components-ecl-site-header.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-social-media-follow.mjs +14 -32
- package/fesm2022/eui-ecl-components-ecl-social-media-follow.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-splash-page.mjs +29 -74
- package/fesm2022/eui-ecl-components-ecl-splash-page.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-spotlight.mjs +21 -21
- package/fesm2022/eui-ecl-components-ecl-spotlight.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-sticky-container.mjs +5 -23
- package/fesm2022/eui-ecl-components-ecl-sticky-container.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-table.mjs +32 -80
- package/fesm2022/eui-ecl-components-ecl-table.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-tabs.mjs +14 -77
- package/fesm2022/eui-ecl-components-ecl-tabs.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-tag.mjs +14 -33
- package/fesm2022/eui-ecl-components-ecl-tag.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-text-area.mjs +5 -24
- package/fesm2022/eui-ecl-components-ecl-text-area.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-text-input.mjs +5 -24
- package/fesm2022/eui-ecl-components-ecl-text-input.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-timeline.mjs +20 -62
- package/fesm2022/eui-ecl-components-ecl-timeline.mjs.map +1 -1
- package/fesm2022/eui-ecl-core.mjs +25 -62
- package/fesm2022/eui-ecl-core.mjs.map +1 -1
- package/fesm2022/eui-ecl-shared.mjs +3 -3
- package/fesm2022/eui-ecl-shared.mjs.map +1 -1
- package/fesm2022/eui-ecl.mjs +1 -203
- package/fesm2022/eui-ecl.mjs.map +1 -1
- package/package.json +40 -40
- package/types/eui-ecl-components-ecl-accordion.d.ts +1 -13
- package/types/eui-ecl-components-ecl-accordion.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-app.d.ts +2 -13
- package/types/eui-ecl-components-ecl-app.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-banner.d.ts +2 -14
- package/types/eui-ecl-components-ecl-banner.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-blockquote.d.ts +1 -13
- package/types/eui-ecl-components-ecl-blockquote.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-breadcrumb.d.ts +11 -27
- package/types/eui-ecl-components-ecl-breadcrumb.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-button.d.ts +1 -13
- package/types/eui-ecl-components-ecl-button.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-card.d.ts +1 -13
- package/types/eui-ecl-components-ecl-card.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-carousel.d.ts +1 -13
- package/types/eui-ecl-components-ecl-carousel.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-category-filter.d.ts +1 -13
- package/types/eui-ecl-components-ecl-category-filter.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-checkbox.d.ts +1 -12
- package/types/eui-ecl-components-ecl-checkbox.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-content-block.d.ts +1 -12
- package/types/eui-ecl-components-ecl-content-block.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-content-item.d.ts +1 -12
- package/types/eui-ecl-components-ecl-content-item.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-date-block.d.ts +1 -12
- package/types/eui-ecl-components-ecl-date-block.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-date-picker.d.ts +2 -13
- package/types/eui-ecl-components-ecl-date-picker.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-divider.d.ts +1 -12
- package/types/eui-ecl-components-ecl-divider.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-expandable.d.ts +2 -13
- package/types/eui-ecl-components-ecl-expandable.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-fact-figures.d.ts +1 -12
- package/types/eui-ecl-components-ecl-fact-figures.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-featured.d.ts +1 -13
- package/types/eui-ecl-components-ecl-featured.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-feedback-message.d.ts +1 -12
- package/types/eui-ecl-components-ecl-feedback-message.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-file-upload.d.ts +1 -12
- package/types/eui-ecl-components-ecl-file-upload.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-file.d.ts +1 -12
- package/types/eui-ecl-components-ecl-file.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-form-group.d.ts +1 -12
- package/types/eui-ecl-components-ecl-form-group.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-form-label.d.ts +24 -10
- package/types/eui-ecl-components-ecl-form-label.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-gallery.d.ts +3 -20
- package/types/eui-ecl-components-ecl-gallery.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-help-block.d.ts +1 -12
- package/types/eui-ecl-components-ecl-help-block.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-icon.d.ts +1 -12
- package/types/eui-ecl-components-ecl-icon.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-inpage-navigation.d.ts +2 -17
- package/types/eui-ecl-components-ecl-inpage-navigation.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-label.d.ts +1 -12
- package/types/eui-ecl-components-ecl-label.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-link.d.ts +17 -16
- package/types/eui-ecl-components-ecl-link.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-list-illustration.d.ts +1 -12
- package/types/eui-ecl-components-ecl-list-illustration.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-list.d.ts +1 -12
- package/types/eui-ecl-components-ecl-list.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-loading-indicator.d.ts +1 -13
- package/types/eui-ecl-components-ecl-loading-indicator.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-media-container.d.ts +1 -12
- package/types/eui-ecl-components-ecl-media-container.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-mega-menu.d.ts +1 -13
- package/types/eui-ecl-components-ecl-mega-menu.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-menu.d.ts +1 -12
- package/types/eui-ecl-components-ecl-menu.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-modal.d.ts +2 -19
- package/types/eui-ecl-components-ecl-modal.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-multiselect.d.ts +1 -12
- package/types/eui-ecl-components-ecl-multiselect.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-navigation-list.d.ts +1 -12
- package/types/eui-ecl-components-ecl-navigation-list.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-news-ticker.d.ts +1 -13
- package/types/eui-ecl-components-ecl-news-ticker.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-notification.d.ts +45 -29
- package/types/eui-ecl-components-ecl-notification.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-page-header.d.ts +1 -12
- package/types/eui-ecl-components-ecl-page-header.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-pagination.d.ts +3 -14
- package/types/eui-ecl-components-ecl-pagination.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-popover.d.ts +5 -17
- package/types/eui-ecl-components-ecl-popover.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-radio.d.ts +1 -12
- package/types/eui-ecl-components-ecl-radio.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-range.d.ts +1 -12
- package/types/eui-ecl-components-ecl-range.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-rating-field.d.ts +2 -13
- package/types/eui-ecl-components-ecl-rating-field.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-search-form.d.ts +4 -15
- package/types/eui-ecl-components-ecl-search-form.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-select.d.ts +1 -13
- package/types/eui-ecl-components-ecl-select.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-site-footer.d.ts +42 -63
- package/types/eui-ecl-components-ecl-site-footer.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-site-header.d.ts +4 -19
- package/types/eui-ecl-components-ecl-site-header.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-social-media-follow.d.ts +6 -13
- package/types/eui-ecl-components-ecl-social-media-follow.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-splash-page.d.ts +1 -12
- package/types/eui-ecl-components-ecl-splash-page.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-sticky-container.d.ts +1 -12
- package/types/eui-ecl-components-ecl-sticky-container.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-table.d.ts +1 -12
- package/types/eui-ecl-components-ecl-table.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-tabs.d.ts +4 -42
- package/types/eui-ecl-components-ecl-tabs.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-tag.d.ts +1 -12
- package/types/eui-ecl-components-ecl-tag.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-text-area.d.ts +1 -13
- package/types/eui-ecl-components-ecl-text-area.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-text-input.d.ts +1 -13
- package/types/eui-ecl-components-ecl-text-input.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-timeline.d.ts +1 -12
- package/types/eui-ecl-components-ecl-timeline.d.ts.map +1 -1
- package/types/eui-ecl-core.d.ts +0 -3
- package/types/eui-ecl-core.d.ts.map +1 -1
- package/types/eui-ecl.d.ts +1 -69
- package/types/eui-ecl.d.ts.map +1 -1
- package/docs/js/libs/vis.min.js +0 -47
- package/docs/modules/EclAccordionModule.html +0 -273
- package/docs/modules/EclAllModule.html +0 -261
- package/docs/modules/EclAppModule.html +0 -267
- package/docs/modules/EclBannerModule.html +0 -321
- package/docs/modules/EclBlockquoteModule.html +0 -279
- package/docs/modules/EclBreadcrumbModule.html +0 -321
- package/docs/modules/EclButtonModule.html +0 -285
- package/docs/modules/EclCardModule.html +0 -321
- package/docs/modules/EclCarouselModule.html +0 -273
- package/docs/modules/EclCategoryFilterModule.html +0 -279
- package/docs/modules/EclCheckboxModule.html +0 -321
- package/docs/modules/EclContentBlockModule.html +0 -321
- package/docs/modules/EclContentItemModule.html +0 -321
- package/docs/modules/EclDateBlockModule.html +0 -267
- package/docs/modules/EclDatePickerModule.html +0 -267
- package/docs/modules/EclDividerModule.html +0 -267
- package/docs/modules/EclExpandableModule.html +0 -267
- package/docs/modules/EclFactFiguresModule.html +0 -285
- package/docs/modules/EclFeaturedModule.html +0 -321
- package/docs/modules/EclFeedbackMessageModule.html +0 -267
- package/docs/modules/EclFileModule.html +0 -321
- package/docs/modules/EclFileUploadModule.html +0 -267
- package/docs/modules/EclFormGroupModule.html +0 -267
- package/docs/modules/EclGalleryModule.html +0 -321
- package/docs/modules/EclHelpBlockModule.html +0 -267
- package/docs/modules/EclIconModule.html +0 -267
- package/docs/modules/EclInpageNavigationModule.html +0 -321
- package/docs/modules/EclLabelModule.html +0 -267
- package/docs/modules/EclLinkModule.html +0 -285
- package/docs/modules/EclListIllustrationModule.html +0 -321
- package/docs/modules/EclListModule.html +0 -321
- package/docs/modules/EclLoadingIndicatorModule.html +0 -279
- package/docs/modules/EclMediaContainerModule.html +0 -321
- package/docs/modules/EclMegaMenuModule.html +0 -321
- package/docs/modules/EclMenuModule.html +0 -321
- package/docs/modules/EclModalModule.html +0 -321
- package/docs/modules/EclMultiselectModule.html +0 -321
- package/docs/modules/EclNavigationListModule.html +0 -321
- package/docs/modules/EclNewsTickerModule.html +0 -321
- package/docs/modules/EclPageHeaderModule.html +0 -321
- package/docs/modules/EclPaginationModule.html +0 -321
- package/docs/modules/EclPopoverModule.html +0 -321
- package/docs/modules/EclRadioModule.html +0 -285
- package/docs/modules/EclRangeModule.html +0 -321
- package/docs/modules/EclRatingFieldModule.html +0 -267
- package/docs/modules/EclSearchFormModule.html +0 -267
- package/docs/modules/EclSelectModule.html +0 -321
- package/docs/modules/EclSiteFooterModule.html +0 -321
- package/docs/modules/EclSiteHeaderModule.html +0 -321
- package/docs/modules/EclSocialMediaFollowModule.html +0 -321
- package/docs/modules/EclSplashPageModule.html +0 -321
- package/docs/modules/EclStickyContainerModule.html +0 -267
- package/docs/modules/EclTableModule.html +0 -321
- package/docs/modules/EclTabsModule.html +0 -321
- package/docs/modules/EclTagModule.html +0 -321
- package/docs/modules/EclTextAreaModule.html +0 -267
- package/docs/modules/EclTextInputModule.html +0 -267
- package/docs/modules/EclTimelineModule.html +0 -297
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eui-ecl-components-ecl-tag.mjs","sources":["../../components/ecl-tag/events/ecl-tag-remove.event.ts","../../components/ecl-tag/ecl-tag.component.ts","../../components/ecl-tag/ecl-tag.component.html","../../components/ecl-tag/ecl-tag-set.directive.ts","../../components/ecl-tag/ecl-tag-icon.directive.ts","../../components/ecl-tag/ecl-tag.module.ts","../../components/ecl-tag/index.ts","../../components/ecl-tag/eui-ecl-components-ecl-tag.ts"],"sourcesContent":["import { EclBaseEvent } from '@eui/ecl/core';\n\n/**\n * Event emitted when a tag is removed.\n */\nexport class EclTagRemoveEvent extends EclBaseEvent {}\n","import {\n Component,\n Input,\n HostBinding,\n Output,\n EventEmitter,\n booleanAttribute,\n ElementRef,\n afterNextRender,\n OnDestroy,\n inject,\n} from '@angular/core';\nimport { TitleCasePipe } from '@angular/common';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { Subject, fromEvent, takeUntil } from 'rxjs';\nimport { KeyCode } from '@eui/ecl/core';\nimport { EclTagRemoveEvent } from './events/ecl-tag-remove.event';\nimport { EUI_ECL_ICON } from '@eui/ecl/components/ecl-icon';\n\n@Component({\n selector: 'ecl-tag, [eclTag]',\n templateUrl: './ecl-tag.component.html',\n imports: [...EUI_ECL_ICON, TitleCasePipe],\n})\nexport class EclTagComponent extends ECLBaseDirective implements OnDestroy {\n /**\n * Defines the variant of the tag.\n * Currently only 'removable' is supported.\n */\n @Input() variant: 'removable';\n\n /**\n * Whether the tag content should be allowed to wrap onto multiple lines.\n * Set to false to force single-line display (adds `ecl-tag--nowrap` class).\n * Defaults to true.\n */\n @Input({ transform: booleanAttribute }) isWrapped = true;\n\n /**\n * Event emitted when the tag is removed.\n * Can be prevented by calling `preventDefault()` on the emitted event.\n */\n @Output() remove = new EventEmitter<EclTagRemoveEvent>();\n\n @HostBinding('style.display')\n get isHidden(): string | null {\n return this.isVisible ? null : 'none';\n }\n\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-tag'),\n this.variant ? `ecl-tag--${this.variant}` : '',\n this.isWrapped ? '' : 'ecl-tag--nowrap',\n ].join(' ').trim();\n }\n\n isVisible = true;\n title = 'dismiss';\n private el = inject(ElementRef);\n private destroy$: Subject<boolean> = new Subject<boolean>();\n\n constructor() {\n super();\n afterNextRender(() => {\n this.connectEvents();\n });\n }\n\n /**\n * Whether the tag is removable (based on the `variant` input).\n */\n get isRemovable(): boolean {\n return this.variant == 'removable';\n }\n\n /**\n * Lifecycle hook that cleans up subscriptions when the component is destroyed.\n */\n ngOnDestroy(): void {\n this.destroy$.next(null);\n this.destroy$.unsubscribe();\n }\n\n /**\n * Called when the tag’s remove button is clicked (or enter key pressed).\n * Emits the `remove` event. If not prevented, the tag is hidden.\n */\n onRemoveClick(): void {\n const event = new EclTagRemoveEvent();\n this.remove.next(event);\n\n if (!event.defaultPrevented) {\n this.isVisible = false;\n }\n }\n\n private connectEvents(): void {\n fromEvent(this.el.nativeElement, 'keydown')\n .pipe(takeUntil(this.destroy$))\n .subscribe((e: KeyboardEvent) => {\n if (this.isRemovable && e.key === KeyCode.ENTER) {\n this.onRemoveClick();\n }\n });\n }\n}\n","<ng-content></ng-content>\n@if(isRemovable) {\n <span class=\"ecl-tag__icon\" (click)=\"onRemoveClick()\">\n <ecl-icon icon=\"close-outline\" class=\"ecl-tag__icon-close\" [title]=\"title | titlecase\"></ecl-icon>\n</span>\n}\n","import { Directive, HostBinding } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Directive to style a container as a set of tags.\n * Adds the `ecl-tag-set` class to the host element.\n */\n@Directive({\n selector: '[eclTagSet]',\n})\nexport class EclTagSetDirective extends ECLBaseDirective {\n /**\n * CSS classes applied to the host element.\n * Adds `ecl-tag-set` to define the layout for a group of tags.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-tag-set')].join(' ').trim();\n }\n}\n\n/**\n * Directive to mark an element as an individual item in a tag set.\n * Adds the `ecl-tag-set__item` class to the host element.\n */\n@Directive({\n selector: '[eclTagSetItem]',\n})\nexport class EclTagSetItemDirective extends ECLBaseDirective {\n /**\n * Adds the `ecl-tag-set__item` CSS class to the host element.\n */\n @HostBinding('class.ecl-tag-set__item') hasClass = true;\n}\n","import { Directive, HostBinding } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Directive to apply external icon styling inside an ECL tag.\n * Adds specific CSS classes to render an \"external\" icon next to the tag content.\n */\n@Directive({\n selector: '[eclTagIconExternal]',\n})\nexport class EclTagIconExternalDirective extends ECLBaseDirective {\n /**\n * CSS classes applied to the host element.\n * Adds `ecl-tag__icon ecl-tag__icon--external` to display the icon correctly.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-tag__icon ecl-tag__icon--external')].join(' ').trim();\n }\n}\n","import { NgModule } from '@angular/core';\nimport { EclTagComponent } from './ecl-tag.component';\nimport { EclTagSetDirective, EclTagSetItemDirective } from './ecl-tag-set.directive';\nimport { EclTagIconExternalDirective } from './ecl-tag-icon.directive';\n\nconst COMPONENTS = [EclTagComponent, EclTagSetDirective, EclTagSetItemDirective, EclTagIconExternalDirective];\n/**\n * Module that provides the EclTag component and its dependencies.\n *\n * @deprecated Use {@link EUI_ECL_TAG} instead.\n */\n@NgModule({\n imports: [...COMPONENTS],\n exports: [...COMPONENTS],\n})\nexport class EclTagModule {}\n","import { EclTagComponent } from './ecl-tag.component';\nimport { EclTagSetDirective, EclTagSetItemDirective } from './ecl-tag-set.directive';\nimport { EclTagIconExternalDirective } from './ecl-tag-icon.directive';\n\nexport * from './ecl-tag.module';\nexport * from './ecl-tag.component';\nexport * from './ecl-tag-set.directive';\nexport * from './ecl-tag-icon.directive';\nexport * from './events/ecl-tag-remove.event';\n\nexport const EUI_ECL_TAG = [\n EclTagComponent, EclTagSetDirective, EclTagSetItemDirective, EclTagIconExternalDirective,\n] as const;","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAEA;;AAEG;AACG,MAAO,iBAAkB,SAAQ,YAAY,CAAA;AAAG;;ACmBhD,MAAO,eAAgB,SAAQ,gBAAgB,CAAA;AAoBjD,IAAA,IACI,QAAQ,GAAA;QACR,OAAO,IAAI,CAAC,SAAS,GAAG,IAAI,GAAG,MAAM;IACzC;AAEA,IAAA,IACI,UAAU,GAAA;AACV,QAAA,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,SAAS,CAAC;AAClC,YAAA,IAAI,CAAC,OAAO,GAAG,CAAA,SAAA,EAAY,IAAI,CAAC,OAAO,CAAA,CAAE,GAAG,EAAE;YAC9C,IAAI,CAAC,SAAS,GAAG,EAAE,GAAG,iBAAiB;AAC1C,SAAA,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE;IACtB;AA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A,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,aAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,YAAY,YAVL,eAAe,CAAA,EAAA,CAAA,CAAA;;gGAUtB,YAAY,EAAA,UAAA,EAAA,CAAA;kBAJxB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AACxB,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AAC3B,iBAAA;;;ACJM,MAAM,WAAW,GAAG;AACvB,IAAA,eAAe,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,2BAA2B;;;ACX5F;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"eui-ecl-components-ecl-tag.mjs","sources":["../../components/ecl-tag/events/ecl-tag-remove.event.ts","../../components/ecl-tag/ecl-tag.component.ts","../../components/ecl-tag/ecl-tag.component.html","../../components/ecl-tag/ecl-tag-set.directive.ts","../../components/ecl-tag/ecl-tag-icon.directive.ts","../../components/ecl-tag/index.ts","../../components/ecl-tag/eui-ecl-components-ecl-tag.ts"],"sourcesContent":["import { EclBaseEvent } from '@eui/ecl/core';\n\n/**\n * Event emitted when a tag is removed.\n */\nexport class EclTagRemoveEvent extends EclBaseEvent {}\n","import {\n Component,\n Input,\n HostBinding,\n Output,\n EventEmitter,\n booleanAttribute,\n ElementRef,\n afterNextRender,\n OnDestroy,\n inject,\n} from '@angular/core';\nimport { TitleCasePipe } from '@angular/common';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { Subject, fromEvent, takeUntil } from 'rxjs';\nimport { KeyCode } from '@eui/ecl/core';\nimport { EclTagRemoveEvent } from './events/ecl-tag-remove.event';\nimport { EUI_ECL_ICON } from '@eui/ecl/components/ecl-icon';\n\n@Component({\n selector: 'ecl-tag, [eclTag]',\n templateUrl: './ecl-tag.component.html',\n imports: [...EUI_ECL_ICON, TitleCasePipe],\n})\nexport class EclTagComponent extends ECLBaseDirective implements OnDestroy {\n /**\n * Defines the variant of the tag.\n * Currently only 'removable' is supported.\n */\n @Input() variant: 'removable';\n\n /**\n * Whether the tag content should be allowed to wrap onto multiple lines.\n * Set to false to force single-line display (adds `ecl-tag--nowrap` class).\n * Defaults to true.\n */\n @Input({ transform: booleanAttribute }) isWrapped = true;\n\n /**\n * Event emitted when the tag is removed.\n * Can be prevented by calling `preventDefault()` on the emitted event.\n */\n @Output() remove = new EventEmitter<EclTagRemoveEvent>();\n\n @HostBinding('style.display')\n get isHidden(): string | null {\n return this.isVisible ? null : 'none';\n }\n\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-tag'),\n this.variant ? `ecl-tag--${this.variant}` : '',\n this.isWrapped ? '' : 'ecl-tag--nowrap',\n ].join(' ').trim();\n }\n\n isVisible = true;\n title = 'dismiss';\n private el = inject(ElementRef);\n private destroy$: Subject<boolean> = new Subject<boolean>();\n\n constructor() {\n super();\n afterNextRender(() => {\n this.connectEvents();\n });\n }\n\n /**\n * Whether the tag is removable (based on the `variant` input).\n */\n get isRemovable(): boolean {\n return this.variant == 'removable';\n }\n\n /**\n * Lifecycle hook that cleans up subscriptions when the component is destroyed.\n */\n ngOnDestroy(): void {\n this.destroy$.next(null);\n this.destroy$.unsubscribe();\n }\n\n /**\n * Called when the tag’s remove button is clicked (or enter key pressed).\n * Emits the `remove` event. If not prevented, the tag is hidden.\n */\n onRemoveClick(): void {\n const event = new EclTagRemoveEvent();\n this.remove.next(event);\n\n if (!event.defaultPrevented) {\n this.isVisible = false;\n }\n }\n\n private connectEvents(): void {\n fromEvent(this.el.nativeElement, 'keydown')\n .pipe(takeUntil(this.destroy$))\n .subscribe((e: KeyboardEvent) => {\n if (this.isRemovable && e.key === KeyCode.ENTER) {\n this.onRemoveClick();\n }\n });\n }\n}\n","<ng-content></ng-content>\n@if(isRemovable) {\n <span class=\"ecl-tag__icon\" (click)=\"onRemoveClick()\">\n <ecl-icon icon=\"close-outline\" class=\"ecl-tag__icon-close\" [title]=\"title | titlecase\"></ecl-icon>\n</span>\n}\n","import { Directive, HostBinding } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Directive to style a container as a set of tags.\n * Adds the `ecl-tag-set` class to the host element.\n */\n@Directive({\n selector: '[eclTagSet]',\n})\nexport class EclTagSetDirective extends ECLBaseDirective {\n /**\n * CSS classes applied to the host element.\n * Adds `ecl-tag-set` to define the layout for a group of tags.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-tag-set')].join(' ').trim();\n }\n}\n\n/**\n * Directive to mark an element as an individual item in a tag set.\n * Adds the `ecl-tag-set__item` class to the host element.\n */\n@Directive({\n selector: '[eclTagSetItem]',\n})\nexport class EclTagSetItemDirective extends ECLBaseDirective {\n /**\n * Adds the `ecl-tag-set__item` CSS class to the host element.\n */\n @HostBinding('class.ecl-tag-set__item') hasClass = true;\n}\n","import { Directive, HostBinding } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Directive to apply external icon styling inside an ECL tag.\n * Adds specific CSS classes to render an \"external\" icon next to the tag content.\n */\n@Directive({\n selector: '[eclTagIconExternal]',\n})\nexport class EclTagIconExternalDirective extends ECLBaseDirective {\n /**\n * CSS classes applied to the host element.\n * Adds `ecl-tag__icon ecl-tag__icon--external` to display the icon correctly.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-tag__icon ecl-tag__icon--external')].join(' ').trim();\n }\n}\n","import { EclTagComponent } from './ecl-tag.component';\nimport { EclTagSetDirective, EclTagSetItemDirective } from './ecl-tag-set.directive';\nimport { EclTagIconExternalDirective } from './ecl-tag-icon.directive';\n\nexport * from './ecl-tag.component';\nexport * from './ecl-tag-set.directive';\nexport * from './ecl-tag-icon.directive';\nexport * from './events/ecl-tag-remove.event';\n\nexport const EUI_ECL_TAG = [\n EclTagComponent, EclTagSetDirective, EclTagSetItemDirective, EclTagIconExternalD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AAkB,EAAE,sBAAsB,EAAE,2BAA2B;;;ACV5F;;AAEG;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, booleanAttribute, HostBinding, Input, Directive
|
|
2
|
+
import { inject, booleanAttribute, HostBinding, Input, Directive } from '@angular/core';
|
|
3
3
|
import { NgControl } from '@angular/forms';
|
|
4
4
|
import { ECLBaseDirective } from '@eui/ecl/core';
|
|
5
5
|
|
|
@@ -33,10 +33,10 @@ class EclTextAreaDirective extends ECLBaseDirective {
|
|
|
33
33
|
return this.isInvalid;
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
37
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "21.0.
|
|
36
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.2", ngImport: i0, type: EclTextAreaDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
37
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "21.0.2", type: EclTextAreaDirective, isStandalone: true, selector: "textarea[eclTextArea]", inputs: { eclSize: "eclSize", isInvalid: ["isInvalid", "isInvalid", booleanAttribute] }, host: { properties: { "class": "this.cssClasses", "class.ecl-text-area--invalid": "this.invalidState" } }, usesInheritance: true, ngImport: i0 }); }
|
|
38
38
|
}
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.2", ngImport: i0, type: EclTextAreaDirective, decorators: [{
|
|
40
40
|
type: Directive,
|
|
41
41
|
args: [{
|
|
42
42
|
selector: 'textarea[eclTextArea]',
|
|
@@ -54,25 +54,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ng
|
|
|
54
54
|
args: ['class.ecl-text-area--invalid']
|
|
55
55
|
}] } });
|
|
56
56
|
|
|
57
|
-
/**
|
|
58
|
-
* @description
|
|
59
|
-
* Module that provides the EclTextArea directive and its dependencies.
|
|
60
|
-
*
|
|
61
|
-
* @deprecated Use {@link EUI_ECL_TEXT_AREA} instead.
|
|
62
|
-
*/
|
|
63
|
-
class EclTextAreaModule {
|
|
64
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclTextAreaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
65
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclTextAreaModule, imports: [EclTextAreaDirective], exports: [EclTextAreaDirective] }); }
|
|
66
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclTextAreaModule }); }
|
|
67
|
-
}
|
|
68
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclTextAreaModule, decorators: [{
|
|
69
|
-
type: NgModule,
|
|
70
|
-
args: [{
|
|
71
|
-
imports: [EclTextAreaDirective],
|
|
72
|
-
exports: [EclTextAreaDirective],
|
|
73
|
-
}]
|
|
74
|
-
}] });
|
|
75
|
-
|
|
76
57
|
const EUI_ECL_TEXT_AREA = [
|
|
77
58
|
EclTextAreaDirective,
|
|
78
59
|
];
|
|
@@ -81,5 +62,5 @@ const EUI_ECL_TEXT_AREA = [
|
|
|
81
62
|
* Generated bundle index. Do not edit.
|
|
82
63
|
*/
|
|
83
64
|
|
|
84
|
-
export { EUI_ECL_TEXT_AREA, EclTextAreaDirective
|
|
65
|
+
export { EUI_ECL_TEXT_AREA, EclTextAreaDirective };
|
|
85
66
|
//# sourceMappingURL=eui-ecl-components-ecl-text-area.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eui-ecl-components-ecl-text-area.mjs","sources":["../../components/ecl-text-area/ecl-text-area.directive.ts","../../components/ecl-text-area/
|
|
1
|
+
{"version":3,"file":"eui-ecl-components-ecl-text-area.mjs","sources":["../../components/ecl-text-area/ecl-text-area.directive.ts","../../components/ecl-text-area/index.ts","../../components/ecl-text-area/eui-ecl-components-ecl-text-area.ts"],"sourcesContent":["import { Directive, HostBinding, Input, booleanAttribute, inject } from '@angular/core';\nimport { NgControl } from '@angular/forms';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Directive to be used with <textarea> HTML component. Applies custom styles and formatting, that comply with the ECL standards.\n */\n@Directive({\n selector: 'textarea[eclTextArea]',\n})\nexport class EclTextAreaDirective extends ECLBaseDirective {\n /**\n * Width of the component, can be 's', 'm' or 'l'. Default value is 'm'.\n */\n @Input() eclSize = 'm';\n @Input({ transform: booleanAttribute }) isInvalid = false;\n\n /**\n * Adds specific classes for the component.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-text-area'), this.eclSize ? `ecl-text-area--${this.eclSize}` : ''].join(' ').trim();\n }\n\n /**\n * Adds 'ecl-text-area--invalid' class, depending on the invalid status of the component.\n */\n @HostBinding('class.ecl-text-area--invalid')\n get invalidState(): boolean {\n if (this.ngControl) {\n return this.ngControl.status === 'INVALID' && this.ngControl.touched;\n } else {\n return this.isInvalid;\n }\n }\n private ngControl = inject(NgControl, { optional: true, self: true });\n}\n","import { EclTextAreaDirective } from './ecl-text-area.directive';\n\nexport * from './ecl-text-area.directive';\n\nexport const EUI_ECL_TEXT_AREA = [\n EclTextAreaDirective,\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAIA;;AAEG;AAIG,MAAO,oBAAqB,SAAQ,gBAAgB,CAAA;AAH1D,IAAA,WAAA,GAAA;;AA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P,oBAAA,QAAQ,EAAE,uBAAuB;AACpC,iBAAA;;sBAKI;;sBACA,KAAK;uBAAC,EAAE,SAAS,EAAE,gBAAgB,EAAE;;sBAKrC,WAAW;uBAAC,OAAO;;sBAQnB,WAAW;uBAAC,8BAA8B;;;ACxBxC,MAAM,iBAAiB,GAAG;IAC/B,oBAAoB;;;ACLtB;;AAEG;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, booleanAttribute, HostBinding, Input, Directive
|
|
2
|
+
import { inject, booleanAttribute, HostBinding, Input, Directive } from '@angular/core';
|
|
3
3
|
import { NgControl } from '@angular/forms';
|
|
4
4
|
import { ECLBaseDirective } from '@eui/ecl/core';
|
|
5
5
|
|
|
@@ -37,10 +37,10 @@ class EclTextInputDirective extends ECLBaseDirective {
|
|
|
37
37
|
return this.isInvalid;
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
41
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "21.0.
|
|
40
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.2", ngImport: i0, type: EclTextInputDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
41
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "21.0.2", type: EclTextInputDirective, isStandalone: true, selector: "input[eclTextInput]", inputs: { type: "type", eclSize: "eclSize", isInvalid: ["isInvalid", "isInvalid", booleanAttribute] }, host: { properties: { "attr.type": "this.type", "class": "this.cssClasses", "class.ecl-text-input--invalid": "this.invalidState" } }, usesInheritance: true, ngImport: i0 }); }
|
|
42
42
|
}
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.2", ngImport: i0, type: EclTextInputDirective, decorators: [{
|
|
44
44
|
type: Directive,
|
|
45
45
|
args: [{
|
|
46
46
|
selector: 'input[eclTextInput]',
|
|
@@ -63,25 +63,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ng
|
|
|
63
63
|
args: ['class.ecl-text-input--invalid']
|
|
64
64
|
}] } });
|
|
65
65
|
|
|
66
|
-
/**
|
|
67
|
-
* @description
|
|
68
|
-
* Module that provides the EclTextInput directive and its dependencies.
|
|
69
|
-
*
|
|
70
|
-
* @deprecated Use {@link EUI_ECL_TEXT_INPUT} instead.
|
|
71
|
-
*/
|
|
72
|
-
class EclTextInputModule {
|
|
73
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclTextInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
74
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclTextInputModule, imports: [EclTextInputDirective], exports: [EclTextInputDirective] }); }
|
|
75
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclTextInputModule }); }
|
|
76
|
-
}
|
|
77
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclTextInputModule, decorators: [{
|
|
78
|
-
type: NgModule,
|
|
79
|
-
args: [{
|
|
80
|
-
imports: [EclTextInputDirective],
|
|
81
|
-
exports: [EclTextInputDirective],
|
|
82
|
-
}]
|
|
83
|
-
}] });
|
|
84
|
-
|
|
85
66
|
const EUI_ECL_TEXT_INPUT = [
|
|
86
67
|
EclTextInputDirective,
|
|
87
68
|
];
|
|
@@ -90,5 +71,5 @@ const EUI_ECL_TEXT_INPUT = [
|
|
|
90
71
|
* Generated bundle index. Do not edit.
|
|
91
72
|
*/
|
|
92
73
|
|
|
93
|
-
export { EUI_ECL_TEXT_INPUT, EclTextInputDirective
|
|
74
|
+
export { EUI_ECL_TEXT_INPUT, EclTextInputDirective };
|
|
94
75
|
//# sourceMappingURL=eui-ecl-components-ecl-text-input.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eui-ecl-components-ecl-text-input.mjs","sources":["../../components/ecl-text-input/ecl-text-input.directive.ts","../../components/ecl-text-input/
|
|
1
|
+
{"version":3,"file":"eui-ecl-components-ecl-text-input.mjs","sources":["../../components/ecl-text-input/ecl-text-input.directive.ts","../../components/ecl-text-input/index.ts","../../components/ecl-text-input/eui-ecl-components-ecl-text-input.ts"],"sourcesContent":["import { Directive, HostBinding, Input, booleanAttribute, inject } from '@angular/core';\nimport { NgControl } from '@angular/forms';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Directive, to be used with the HTMl element text <input>. Adds ECL compliant styling.\n */\n@Directive({\n selector: 'input[eclTextInput]',\n})\nexport class EclTextInputDirective extends ECLBaseDirective {\n protected ngControl = inject(NgControl, { optional: true, self: true });\n\n /**\n * This directive should be used with the input type 'text'.\n */\n @Input()\n @HostBinding('attr.type') type = 'text';\n\n /**\n * The size of the input width. Can be 's', 'm' or 'l'. Default value is 'm'.\n */\n @Input() eclSize = 'm';\n @Input({ transform: booleanAttribute }) isInvalid = false;\n\n /**\n * Adds ECL classes for the component.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-text-input'), this.eclSize ? `ecl-text-input--${this.eclSize}` : ''].join(' ').trim();\n }\n\n /**\n * Adds 'ecl-text-input--invalid' class, depending on the invalid status of the component.\n */\n @HostBinding('class.ecl-text-input--invalid')\n get invalidState(): boolean {\n if (this.ngControl) {\n return this.ngControl.status === 'INVALID' && this.ngControl.touched;\n } else {\n return this.isInvalid;\n }\n }\n}\n","import { EclTextInputDirective } from './ecl-text-input.directive';\n\nexport * from './ecl-text-input.directive';\n\nexport const EUI_ECL_TEXT_INPUT = [\n EclTextInputDirective,\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAIA;;AAEG;AAIG,MAAO,qBAAsB,SAAQ,gBAAgB,CAAA;AAH3D,IAAA,WAAA,GAAA;;AAIc,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;AAEvE;;AAEG;QAEuB,IAAA,CAAA,IAAI,GAAG,MAAM;AAEvC;;AAEG;QACM,IAAA,CAAA,OAAO,GAAG,GAAG;QACkB,IAAA,CAAA,SAAS,GAAG,KAAK;AAqB5D,IAAA;AAnBG;;AAEG;AACH,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;;AAEG;AACH,IAAA,IACI,YAAY,GAAA;AACZ,QAAA,IAAI,IAAI,CAAC,SAAS,EAAE;AAChB,YAAA,OAAO,IAAI,CAAC,SAAS,CAAC,MAAM,KAAK,SAAS,IAAI,IAAI,CAAC,SAAS,CAAC,OAAO;QACxE;aAAO;YACH,OAAO,IAAI,CAAC,SAAS;QACzB;IACJ;8GAjCS,qBAAqB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAArB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,qBAAqB,yIAaV,gBAAgB,CAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,WAAA,EAAA,WAAA,EAAA,OAAA,EAAA,iBAAA,EAAA,+BAAA,EAAA,mBAAA,EAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAb3B,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAHjC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,qBAAqB;AAClC,iBAAA;;sBAOI;;sBACA,WAAW;uBAAC,WAAW;;sBAKvB;;sBACA,KAAK;uBAAC,EAAE,SAAS,EAAE,gBAAgB,EAAE;;sBAKrC,WAAW;uBAAC,OAAO;;sBAQnB,WAAW;uBAAC,+BAA+B;;;AChCzC,MAAM,kBAAkB,GAAG;IAChC,qBAAqB;;;ACLvB;;AAEG;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { HostBinding, Directive, EventEmitter, HostListener, Output, Component, inject, Renderer2, ElementRef, booleanAttribute, ViewChild, Input, forwardRef, ContentChild, ViewEncapsulation, ContentChildren
|
|
2
|
+
import { HostBinding, Directive, EventEmitter, HostListener, Output, Component, inject, Renderer2, ElementRef, booleanAttribute, ViewChild, Input, forwardRef, ContentChild, ViewEncapsulation, ContentChildren } from '@angular/core';
|
|
3
3
|
import { ECLBaseDirective, EclBaseEvent } from '@eui/ecl/core';
|
|
4
4
|
import { NgTemplateOutlet } from '@angular/common';
|
|
5
5
|
import * as i2 from '@eui/ecl/components/ecl-button';
|
|
@@ -22,10 +22,10 @@ class EclTimelineItemLabelDirective extends ECLBaseDirective {
|
|
|
22
22
|
get cssClasses() {
|
|
23
23
|
return [super.getCssClasses('ecl-timeline__label')].join(' ').trim();
|
|
24
24
|
}
|
|
25
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
26
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.
|
|
25
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.2", ngImport: i0, type: EclTimelineItemLabelDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
26
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.2", type: EclTimelineItemLabelDirective, isStandalone: true, selector: "[eclTimelineItemLabel]", host: { properties: { "class": "this.cssClasses" } }, usesInheritance: true, ngImport: i0 }); }
|
|
27
27
|
}
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.2", ngImport: i0, type: EclTimelineItemLabelDirective, decorators: [{
|
|
29
29
|
type: Directive,
|
|
30
30
|
args: [{
|
|
31
31
|
selector: '[eclTimelineItemLabel]',
|
|
@@ -47,10 +47,10 @@ class EclTimelineItemTitleDirective extends ECLBaseDirective {
|
|
|
47
47
|
get cssClasses() {
|
|
48
48
|
return [super.getCssClasses('ecl-timeline__title')].join(' ').trim();
|
|
49
49
|
}
|
|
50
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
51
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.
|
|
50
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.2", ngImport: i0, type: EclTimelineItemTitleDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
51
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.2", type: EclTimelineItemTitleDirective, isStandalone: true, selector: "[eclTimelineItemTitle]", host: { properties: { "class": "this.cssClasses" } }, usesInheritance: true, ngImport: i0 }); }
|
|
52
52
|
}
|
|
53
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
53
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.2", ngImport: i0, type: EclTimelineItemTitleDirective, decorators: [{
|
|
54
54
|
type: Directive,
|
|
55
55
|
args: [{
|
|
56
56
|
selector: '[eclTimelineItemTitle]',
|
|
@@ -80,10 +80,10 @@ class EclTimelineItemTogglerComponent extends ECLBaseDirective {
|
|
|
80
80
|
onTogglerClick() {
|
|
81
81
|
this.toggle.emit();
|
|
82
82
|
}
|
|
83
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
84
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.
|
|
83
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.2", ngImport: i0, type: EclTimelineItemTogglerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
84
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.2", type: EclTimelineItemTogglerComponent, isStandalone: true, selector: "ecl-timeline-item-toggler, li[eclTimelineItemToggler]", outputs: { toggle: "toggle" }, host: { listeners: { "click": "onTogglerClick()" } }, usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n" }); }
|
|
85
85
|
}
|
|
86
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
86
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.2", ngImport: i0, type: EclTimelineItemTogglerComponent, decorators: [{
|
|
87
87
|
type: Component,
|
|
88
88
|
args: [{ selector: 'ecl-timeline-item-toggler, li[eclTimelineItemToggler]', template: "<ng-content></ng-content>\n" }]
|
|
89
89
|
}], propDecorators: { toggle: [{
|
|
@@ -231,10 +231,10 @@ class EclTimelineItemComponent extends ECLBaseDirective {
|
|
|
231
231
|
this.isTogglerExpanded = nextExpandedState;
|
|
232
232
|
}
|
|
233
233
|
}
|
|
234
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
235
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.
|
|
234
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.2", ngImport: i0, type: EclTimelineItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
235
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.2", type: EclTimelineItemComponent, isStandalone: true, selector: "ecl-timeline-item, li[eclTimelineItem]", inputs: { expandLabel: "expandLabel", collapseLabel: "collapseLabel", isHeadline: ["isHeadline", "isHeadline", booleanAttribute], isTogglerExpanded: ["isTogglerExpanded", "isTogglerExpanded", booleanAttribute], isCollapsed: ["isCollapsed", "isCollapsed", booleanAttribute], isToggler: ["isToggler", "isToggler", booleanAttribute], toggleGroup: "toggleGroup" }, outputs: { toggle: "toggle" }, host: { properties: { "class": "this.cssClasses", "class.ecl-timeline__item--collapsed": "this.isCollapsed", "class.ecl-timeline__item--toggle": "this.isToggler" } }, queries: [{ propertyName: "timelineItemToggler", first: true, predicate: i0.forwardRef(() => EclTimelineItemTogglerComponent), descendants: true }, { propertyName: "timelineTitle", first: true, predicate: i0.forwardRef(() => EclTimelineItemTitleDirective), descendants: true }, { propertyName: "eclLink", first: true, predicate: i0.forwardRef(() => EclLinkDirective), descendants: true }, { propertyName: "eclTimelineItemLabel", first: true, predicate: i0.forwardRef(() => EclTimelineItemLabelDirective), descendants: true, read: ElementRef }], viewQueries: [{ propertyName: "contentSlotRef", first: true, predicate: ["contentSlot"], descendants: true }], usesInheritance: true, ngImport: i0, template: "@if (isToggler) {\n <div class=\"ecl-timeline__content\">\n @if (hasDefaultToggler()) {\n <button eclButton (click)=\"onTogglerClick($event)\" variant=\"secondary\">\n @if (isShowExpandLabel) {\n <span eclButtonLabel> {{ expandLabel }} </span>\n }\n @if (isShowCollapseLabel) {\n <span eclButtonLabel> {{ collapseLabel }} </span>\n }\n <ecl-icon icon=\"corner-arrow\" size=\"fluid\" [transform]=\"!isTogglerExpanded ? 'rotate-180' : ''\"></ecl-icon>\n </button>\n }\n\n\n <ng-content select=\"ecl-timeline-item-toggler\"></ng-content>\n\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </div>\n}\n@else {\n <div class=\"ecl-timeline__tooltip\">\n <div class=\"ecl-timeline__tooltip-arrow\"></div>\n <ng-content select=\"[eclTimelineItemLabel]\"></ng-content>\n\n <ng-content select=\"[eclTimelineItemTitle]\"></ng-content>\n\n <div class=\"ecl-timeline__content\" #contentSlot>\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </div>\n </div>\n}\n\n<ng-template #content>\n <ng-content></ng-content>\n</ng-template>\n", styles: ["ecl-timeline-item{display:list-item}\n"], dependencies: [{ kind: "component", type: i1.EclIconComponent, selector: "ecl-icon", inputs: ["iconSet", "icon", "size", "color", "transform", "ariaLabelledby", "role", "title", "ariaHidden", "focusable", "isFlipHorizontal"] }, { kind: "component", type: i2.EclButtonComponent, selector: "button[eclButton], button[ecl-button], a[eclButton]", inputs: ["isIconOnly", "variant", "eclStyle", "size", "containerStyleClass"] }, { kind: "directive", type: i2.EclButtonLabelDirective, selector: "[eclButtonLabel]" }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
236
236
|
}
|
|
237
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
237
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.2", ngImport: i0, type: EclTimelineItemComponent, decorators: [{
|
|
238
238
|
type: Component,
|
|
239
239
|
args: [{ selector: 'ecl-timeline-item, li[eclTimelineItem]', imports: [...EUI_ECL_ICON, ...EUI_ECL_BUTTON, NgTemplateOutlet], encapsulation: ViewEncapsulation.None, template: "@if (isToggler) {\n <div class=\"ecl-timeline__content\">\n @if (hasDefaultToggler()) {\n <button eclButton (click)=\"onTogglerClick($event)\" variant=\"secondary\">\n @if (isShowExpandLabel) {\n <span eclButtonLabel> {{ expandLabel }} </span>\n }\n @if (isShowCollapseLabel) {\n <span eclButtonLabel> {{ collapseLabel }} </span>\n }\n <ecl-icon icon=\"corner-arrow\" size=\"fluid\" [transform]=\"!isTogglerExpanded ? 'rotate-180' : ''\"></ecl-icon>\n </button>\n }\n\n\n <ng-content select=\"ecl-timeline-item-toggler\"></ng-content>\n\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </div>\n}\n@else {\n <div class=\"ecl-timeline__tooltip\">\n <div class=\"ecl-timeline__tooltip-arrow\"></div>\n <ng-content select=\"[eclTimelineItemLabel]\"></ng-content>\n\n <ng-content select=\"[eclTimelineItemTitle]\"></ng-content>\n\n <div class=\"ecl-timeline__content\" #contentSlot>\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </div>\n </div>\n}\n\n<ng-template #content>\n <ng-content></ng-content>\n</ng-template>\n", styles: ["ecl-timeline-item{display:list-item}\n"] }]
|
|
240
240
|
}], propDecorators: { expandLabel: [{
|
|
@@ -291,10 +291,10 @@ class EclTimelineSetDirective extends ECLBaseDirective {
|
|
|
291
291
|
super(...arguments);
|
|
292
292
|
this.hasClass = true;
|
|
293
293
|
}
|
|
294
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
295
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.
|
|
294
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.2", ngImport: i0, type: EclTimelineSetDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
295
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.2", type: EclTimelineSetDirective, isStandalone: true, selector: "[eclTimelineSet]", host: { properties: { "class.ecl-timeline-set": "this.hasClass" } }, usesInheritance: true, ngImport: i0 }); }
|
|
296
296
|
}
|
|
297
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
297
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.2", ngImport: i0, type: EclTimelineSetDirective, decorators: [{
|
|
298
298
|
type: Directive,
|
|
299
299
|
args: [{
|
|
300
300
|
selector: '[eclTimelineSet]',
|
|
@@ -383,10 +383,10 @@ class EclTimelineComponent extends ECLBaseDirective {
|
|
|
383
383
|
this.isFirstExpandedLinkFocused = false;
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
387
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.
|
|
386
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.2", ngImport: i0, type: EclTimelineComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
387
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.2", type: EclTimelineComponent, isStandalone: true, selector: "ecl-timeline, ol[eclTimeline]", host: { properties: { "attr.role": "this.attrRole", "attr.data-ecl-timeline-expanded": "this.isExpanded", "class": "this.cssClasses" } }, queries: [{ propertyName: "timelineItems", predicate: i0.forwardRef(() => EclTimelineItemComponent) }], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"] }); }
|
|
388
388
|
}
|
|
389
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
389
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.2", ngImport: i0, type: EclTimelineComponent, decorators: [{
|
|
390
390
|
type: Component,
|
|
391
391
|
args: [{ selector: 'ecl-timeline, ol[eclTimeline]', template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"] }]
|
|
392
392
|
}], propDecorators: { attrRole: [{
|
|
@@ -403,48 +403,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ng
|
|
|
403
403
|
args: [forwardRef(() => EclTimelineItemComponent)]
|
|
404
404
|
}] } });
|
|
405
405
|
|
|
406
|
-
/**
|
|
407
|
-
* Module that provides the EclTimeline component and its dependencies.
|
|
408
|
-
*
|
|
409
|
-
* @deprecated Use {@link EUI_ECL_TIMELINE} instead.
|
|
410
|
-
*/
|
|
411
|
-
class EclTimelineModule {
|
|
412
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclTimelineModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
413
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclTimelineModule, imports: [EclTimelineComponent,
|
|
414
|
-
EclTimelineItemComponent,
|
|
415
|
-
EclTimelineItemTogglerComponent,
|
|
416
|
-
EclTimelineItemLabelDirective,
|
|
417
|
-
EclTimelineItemTitleDirective,
|
|
418
|
-
EclTimelineSetDirective], exports: [EclTimelineComponent,
|
|
419
|
-
EclTimelineItemComponent,
|
|
420
|
-
EclTimelineItemTogglerComponent,
|
|
421
|
-
EclTimelineItemLabelDirective,
|
|
422
|
-
EclTimelineItemTitleDirective,
|
|
423
|
-
EclTimelineSetDirective] }); }
|
|
424
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclTimelineModule, imports: [EclTimelineItemComponent] }); }
|
|
425
|
-
}
|
|
426
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclTimelineModule, decorators: [{
|
|
427
|
-
type: NgModule,
|
|
428
|
-
args: [{
|
|
429
|
-
imports: [
|
|
430
|
-
EclTimelineComponent,
|
|
431
|
-
EclTimelineItemComponent,
|
|
432
|
-
EclTimelineItemTogglerComponent,
|
|
433
|
-
EclTimelineItemLabelDirective,
|
|
434
|
-
EclTimelineItemTitleDirective,
|
|
435
|
-
EclTimelineSetDirective,
|
|
436
|
-
],
|
|
437
|
-
exports: [
|
|
438
|
-
EclTimelineComponent,
|
|
439
|
-
EclTimelineItemComponent,
|
|
440
|
-
EclTimelineItemTogglerComponent,
|
|
441
|
-
EclTimelineItemLabelDirective,
|
|
442
|
-
EclTimelineItemTitleDirective,
|
|
443
|
-
EclTimelineSetDirective,
|
|
444
|
-
],
|
|
445
|
-
}]
|
|
446
|
-
}] });
|
|
447
|
-
|
|
448
406
|
const EUI_ECL_TIMELINE = [
|
|
449
407
|
EclTimelineComponent,
|
|
450
408
|
EclTimelineItemComponent,
|
|
@@ -458,5 +416,5 @@ const EUI_ECL_TIMELINE = [
|
|
|
458
416
|
* Generated bundle index. Do not edit.
|
|
459
417
|
*/
|
|
460
418
|
|
|
461
|
-
export { EUI_ECL_TIMELINE, EclTimelineComponent, EclTimelineItemComponent, EclTimelineItemLabelDirective, EclTimelineItemTitleDirective, EclTimelineItemToggleEvent, EclTimelineItemTogglerComponent,
|
|
419
|
+
export { EUI_ECL_TIMELINE, EclTimelineComponent, EclTimelineItemComponent, EclTimelineItemLabelDirective, EclTimelineItemTitleDirective, EclTimelineItemToggleEvent, EclTimelineItemTogglerComponent, EclTimelineSetDirective };
|
|
462
420
|
//# sourceMappingURL=eui-ecl-components-ecl-timeline.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eui-ecl-components-ecl-timeline.mjs","sources":["../../components/ecl-timeline/ecl-timeline-item-label.directive.ts","../../components/ecl-timeline/ecl-timeline-item-title.directive.ts","../../components/ecl-timeline/ecl-timeline-item-toggler.component.ts","../../components/ecl-timeline/ecl-timeline-item-toggler.component.html","../../components/ecl-timeline/events/ecl-timeline-item-toggle.event.ts","../../components/ecl-timeline/ecl-timeline-item.component.ts","../../components/ecl-timeline/ecl-timeline-item.component.html","../../components/ecl-timeline/ecl-timeline-set.directive.ts","../../components/ecl-timeline/ecl-timeline.component.ts","../../components/ecl-timeline/ecl-timeline.component.html","../../components/ecl-timeline/ecl-timeline.module.ts","../../components/ecl-timeline/index.ts","../../components/ecl-timeline/eui-ecl-components-ecl-timeline.ts"],"sourcesContent":["import { Directive, HostBinding } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Directive that applies the `ecl-timeline__label` class to an element.\n * Used to mark the label section within a timeline item.\n */\n@Directive({\n selector: '[eclTimelineItemLabel]',\n})\nexport class EclTimelineItemLabelDirective extends ECLBaseDirective {\n /**\n * CSS classes applied to the host element.\n * Adds `ecl-timeline__label` to style the label area of the timeline item.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-timeline__label')].join(' ').trim();\n }\n}\n","import { Directive, HostBinding } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Directive that applies the `ecl-timeline__title` class to an element.\n * Used to mark the title section within a timeline item.\n */\n@Directive({\n selector: '[eclTimelineItemTitle]',\n})\nexport class EclTimelineItemTitleDirective extends ECLBaseDirective {\n /**\n * CSS classes applied to the host element.\n * Adds `ecl-timeline__title` to style the title area of the timeline item.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-timeline__title')].join(' ').trim();\n }\n}\n","import { Component, EventEmitter, HostListener, Output } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Component representing a toggler inside a timeline item.\n * Emits a `toggle` event when clicked.\n */\n@Component({\n selector: 'ecl-timeline-item-toggler, li[eclTimelineItemToggler]',\n templateUrl: 'ecl-timeline-item-toggler.component.html',\n})\nexport class EclTimelineItemTogglerComponent extends ECLBaseDirective {\n /**\n * Event emitted when the toggler is activated (clicked).\n * Used to trigger expand/collapse behavior in the parent timeline item.\n */\n // eslint-disable-next-line\n @Output() toggle: EventEmitter<void> = new EventEmitter();\n\n /**\n * Handles click events on the toggler element and emits the `toggle` event.\n */\n @HostListener('click')\n onTogglerClick(): void {\n this.toggle.emit();\n }\n}\n","<ng-content></ng-content>\n","import { EclBaseEvent } from '@eui/ecl/core';\n\n/**\n * Event emitted when a timeline item is toggled (expanded or collapsed).\n */\nexport class EclTimelineItemToggleEvent extends EclBaseEvent {\n constructor(\n /**\n * Indicates whether the item is expanded after the toggle.\n */\n public isExpanded: boolean,\n\n /**\n * Identifier of the toggle group this item belongs to.\n */\n public toggleGroup: string,\n ) {\n super();\n }\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n AfterContentInit,\n AfterViewChecked,\n booleanAttribute,\n Component,\n ContentChild,\n ElementRef,\n EventEmitter,\n forwardRef,\n HostBinding,\n inject,\n Input,\n OnDestroy,\n Output,\n Renderer2,\n ViewChild,\n ViewEncapsulation\n} from '@angular/core';\nimport { EUI_ECL_BUTTON } from '@eui/ecl/components/ecl-button';\nimport { EUI_ECL_ICON } from '@eui/ecl/components/ecl-icon';\nimport { EclLinkDirective } from '@eui/ecl/components/ecl-link';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\nimport { EclTimelineItemLabelDirective } from './ecl-timeline-item-label.directive';\nimport { EclTimelineItemTitleDirective } from './ecl-timeline-item-title.directive';\nimport { EclTimelineItemTogglerComponent } from './ecl-timeline-item-toggler.component';\nimport { EclTimelineItemToggleEvent } from './events/ecl-timeline-item-toggle.event';\n\n@Component({\n selector: 'ecl-timeline-item, li[eclTimelineItem]',\n templateUrl: 'ecl-timeline-item.component.html',\n imports: [...EUI_ECL_ICON, ...EUI_ECL_BUTTON, NgTemplateOutlet],\n styles: [\n `\n ecl-timeline-item {\n display: list-item;\n }\n `,\n ],\n encapsulation: ViewEncapsulation.None,\n})\nexport class EclTimelineItemComponent extends ECLBaseDirective implements AfterContentInit, AfterViewChecked, OnDestroy {\n /**\n * Text label shown when the item is collapsed and can be expanded.\n * Defaults to `'Expand'`.\n */\n @Input() expandLabel = 'Expand';\n\n /**\n * Text label shown when the item is expanded and can be collapsed.\n * Defaults to `'Collapse'`.\n */\n @Input() collapseLabel = 'Collapse';\n\n @Input({ transform: booleanAttribute }) isHeadline = false;\n\n /**\n * Indicates whether the toggler is initially expanded.\n * Used for toggler-type items.\n */\n @Input({ transform: booleanAttribute }) isTogglerExpanded = false;\n\n /**\n * Adds the `ecl-timeline__item` class to the host element.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [\n super.getCssClasses('ecl-timeline__item'),\n this.isHeadline ? 'ecl-timeline__item--headline' : '',\n ].join(' ');\n }\n\n // @HostBinding('attr.style') customStyle = '';\n\n /**\n * Reference to a projected custom toggler component.\n */\n @ContentChild(forwardRef(() => EclTimelineItemTogglerComponent))\n timelineItemToggler: EclTimelineItemTogglerComponent;\n\n @ContentChild(forwardRef(() => EclTimelineItemTitleDirective))\n timelineTitle: EclTimelineItemTitleDirective;\n\n /**\n * Reference to a projected ECL link, used for setting focus after toggle.\n */\n @ContentChild(forwardRef(() => EclLinkDirective)) eclLink: EclLinkDirective;\n\n /**\n * Reference to a projected label for the item. Used to set height, when item has no content and title.\n */\n @ContentChild(forwardRef(() => EclTimelineItemLabelDirective), { read: ElementRef }) eclTimelineItemLabel: ElementRef;\n\n /**\n * Whether the item is collapsed.\n * Adds the `ecl-timeline__item--collapsed` CSS class when true.\n */\n @Input({ transform: booleanAttribute }) @HostBinding('class.ecl-timeline__item--collapsed') isCollapsed = false;\n\n /**\n * Whether the item is a toggler (e.g. expands/collapses related items).\n * Adds the `ecl-timeline__item--toggle` CSS class when true.\n */\n @Input({ transform: booleanAttribute }) @HostBinding('class.ecl-timeline__item--toggle') isToggler = false;\n\n /**\n * Name of the toggle group that this item belongs to.\n * Used to coordinate collapsing/expanding related items.\n */\n @Input() toggleGroup: string;\n\n /**\n * Event emitted when the toggler is clicked.\n * Consumers can call `preventDefault()` on the event to cancel toggle behavior.\n */\n // eslint-disable-next-line\n @Output() toggle = new EventEmitter<EclTimelineItemToggleEvent>();\n\n @ViewChild('contentSlot')\n private contentSlotRef: ElementRef<HTMLElement>;\n private destroy$: Subject<boolean> = new Subject<boolean>();\n private hasContent = false;\n private hasHeight = false;\n private renderer = inject(Renderer2);\n private host = inject(ElementRef<HTMLElement>);\n\n ngAfterViewChecked(): void {\n if (!this.hasHeight) {\n setTimeout(() => {\n const node = this.contentSlotRef?.nativeElement;\n if (node) {\n this.hasContent =\n (node.textContent?.trim().length ?? 0) > 0 || node.children.length > 0;\n }\n if (!this.isToggler && !this.timelineTitle && !this.hasContent) {\n const labelHeight = this.eclTimelineItemLabel.nativeElement.getBoundingClientRect().height;\n this.hasHeight = labelHeight > 0;\n this.host.nativeElement.style.setProperty('--ecl-timeline-label-height', `${labelHeight}px`);\n this.renderer.setStyle(this.host.nativeElement, 'box-sizing', 'unset');\n }\n });\n }\n }\n\n /**\n * Lifecycle hook that sets up event subscriptions after content is initialized.\n */\n ngAfterContentInit(): void {\n if (this.timelineItemToggler) {\n this.timelineItemToggler.toggle.pipe(takeUntil(this.destroy$)).subscribe(() => {\n this.handleToggler();\n });\n }\n }\n\n /**\n * Lifecycle hook called on component destruction to clean up subscriptions.\n */\n ngOnDestroy(): void {\n this.destroy$.next(true);\n this.destroy$.unsubscribe();\n }\n\n /**\n * True if the expand label should be visible.\n */\n get isShowExpandLabel(): boolean {\n return !!this.expandLabel && !this.isTogglerExpanded;\n }\n\n /**\n * True if the collapse label should be visible.\n */\n get isShowCollapseLabel(): boolean {\n return !!this.collapseLabel && this.isTogglerExpanded;\n }\n\n /**\n * Checks whether the default toggler UI should be used.\n * Returns true if this is a toggler and no custom toggler component is projected.\n */\n hasDefaultToggler(): boolean {\n return this.isToggler && !this.timelineItemToggler;\n }\n\n /**\n * Handles click events from the default toggler element.\n *\n * @param evt The mouse click event.\n */\n onTogglerClick(evt: MouseEvent): void {\n this.handleToggler();\n }\n\n private handleToggler(): void {\n const nextExpandedState = !this.isTogglerExpanded;\n const event = new EclTimelineItemToggleEvent(nextExpandedState, this.toggleGroup);\n\n if (!event.defaultPrevented) {\n this.toggle.next(event);\n this.isTogglerExpanded = nextExpandedState;\n }\n }\n}\n","@if (isToggler) {\n <div class=\"ecl-timeline__content\">\n @if (hasDefaultToggler()) {\n <button eclButton (click)=\"onTogglerClick($event)\" variant=\"secondary\">\n @if (isShowExpandLabel) {\n <span eclButtonLabel> {{ expandLabel }} </span>\n }\n @if (isShowCollapseLabel) {\n <span eclButtonLabel> {{ collapseLabel }} </span>\n }\n <ecl-icon icon=\"corner-arrow\" size=\"fluid\" [transform]=\"!isTogglerExpanded ? 'rotate-180' : ''\"></ecl-icon>\n </button>\n }\n\n\n <ng-content select=\"ecl-timeline-item-toggler\"></ng-content>\n\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </div>\n}\n@else {\n <div class=\"ecl-timeline__tooltip\">\n <div class=\"ecl-timeline__tooltip-arrow\"></div>\n <ng-content select=\"[eclTimelineItemLabel]\"></ng-content>\n\n <ng-content select=\"[eclTimelineItemTitle]\"></ng-content>\n\n <div class=\"ecl-timeline__content\" #contentSlot>\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </div>\n </div>\n}\n\n<ng-template #content>\n <ng-content></ng-content>\n</ng-template>\n","import { Directive, HostBinding } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Directive that applies the `ecl-timeline-set` class to an element.\n */\n@Directive({\n selector: '[eclTimelineSet]',\n})\nexport class EclTimelineSetDirective extends ECLBaseDirective {\n\n @HostBinding('class.ecl-timeline-set') hasClass = true;\n}\n","import {\n Component,\n AfterContentInit,\n ContentChildren,\n forwardRef,\n QueryList,\n HostBinding,\n OnDestroy,\n} from '@angular/core';\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclTimelineItemComponent } from './ecl-timeline-item.component';\nimport { EclTimelineItemToggleEvent } from './events/ecl-timeline-item-toggle.event';\n\n@Component({\n selector: 'ecl-timeline, ol[eclTimeline]',\n templateUrl: 'ecl-timeline.component.html',\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n})\nexport class EclTimelineComponent extends ECLBaseDirective implements AfterContentInit, OnDestroy {\n /**\n * Sets the `role` attribute of the host element to `list`\n * for accessibility purposes.\n */\n @HostBinding('attr.role') attrRole = 'list';\n\n @HostBinding('attr.data-ecl-timeline-expanded') isExpanded: boolean | null = null;\n\n /**\n * Applies the `ecl-timeline` CSS class to the host element.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [\n super.getCssClasses('ecl-timeline'),\n this.hasHeadlineItem ? 'ecl-timeline--has-headline' : '',\n ].join(' ');\n }\n\n /**\n * List of projected `EclTimelineItemComponent` instances.\n * Collected using `@ContentChildren`.\n */\n @ContentChildren(forwardRef(() => EclTimelineItemComponent))\n timelineItems: QueryList<EclTimelineItemComponent>;\n\n private destroy$: Subject<boolean> = new Subject<boolean>();\n private isFirstExpandedLinkFocused = false;\n private hasHeadlineItem = false;\n\n /**\n * Lifecycle hook that is called after content (child components)\n * has been fully initialized.\n * \n * It sets up toggle event subscriptions for `isToggler` items and\n * collapses/expands related content items accordingly.\n */\n ngAfterContentInit(): void {\n this.timelineItems\n .filter((item) => item.isToggler)\n .forEach((it) => {\n it.toggle.pipe(takeUntil(this.destroy$)).subscribe((evt: EclTimelineItemToggleEvent) => {\n if (evt.isExpanded) {\n this.isExpanded = true;\n } else {\n this.isExpanded = null;\n }\n if (this.timelineItems && !evt.defaultPrevented) {\n this.timelineItems\n .filter((item) => item.toggleGroup === evt.toggleGroup)\n .filter((item) => !item.isToggler)\n .forEach((item) => {\n // item.isCollapsed = !item.isCollapsed;\n this.onFocusFirstExpandedLink(item);\n });\n }\n });\n });\n\n if (this.timelineItems?.find(item => item.isHeadline) !== undefined) this.hasHeadlineItem = true;\n }\n\n /**\n * Lifecycle hook called when the component is destroyed.\n * Cleans up subscriptions.\n */\n ngOnDestroy(): void {\n this.destroy$.next(true);\n this.destroy$.unsubscribe();\n }\n\n /**\n * Focuses the first link in the expanded timeline item,\n * ensuring it's only done once per toggle group interaction.\n *\n * @param item The timeline item to check and potentially focus.\n */\n onFocusFirstExpandedLink(item: EclTimelineItemComponent): void {\n if (!item.isCollapsed) {\n if (!this.isFirstExpandedLinkFocused && item.eclLink) {\n setTimeout(() => item.eclLink.onFocus());\n this.isFirstExpandedLinkFocused = true;\n }\n } else {\n this.isFirstExpandedLinkFocused = false;\n }\n }\n}\n","<ng-content></ng-content>\n","import { NgModule } from '@angular/core';\nimport { EclTimelineItemLabelDirective } from './ecl-timeline-item-label.directive';\nimport { EclTimelineItemTitleDirective } from './ecl-timeline-item-title.directive';\nimport { EclTimelineItemTogglerComponent } from './ecl-timeline-item-toggler.component';\nimport { EclTimelineItemComponent } from './ecl-timeline-item.component';\nimport { EclTimelineComponent } from './ecl-timeline.component';\nimport { EclTimelineSetDirective } from './ecl-timeline-set.directive';\n\n/**\n * Module that provides the EclTimeline component and its dependencies.\n *\n * @deprecated Use {@link EUI_ECL_TIMELINE} instead.\n */\n@NgModule({\n imports: [\n EclTimelineComponent,\n EclTimelineItemComponent,\n EclTimelineItemTogglerComponent,\n EclTimelineItemLabelDirective,\n EclTimelineItemTitleDirective,\n EclTimelineSetDirective,\n ],\n exports: [\n EclTimelineComponent,\n EclTimelineItemComponent,\n EclTimelineItemTogglerComponent,\n EclTimelineItemLabelDirective,\n EclTimelineItemTitleDirective,\n EclTimelineSetDirective,\n ],\n})\nexport class EclTimelineModule {}\n","import { EclTimelineItemLabelDirective } from './ecl-timeline-item-label.directive';\nimport { EclTimelineItemTitleDirective } from './ecl-timeline-item-title.directive';\nimport { EclTimelineItemTogglerComponent } from './ecl-timeline-item-toggler.component';\nimport { EclTimelineItemComponent } from './ecl-timeline-item.component';\nimport { EclTimelineSetDirective } from './ecl-timeline-set.directive';\nimport { EclTimelineComponent } from './ecl-timeline.component';\n\nexport * from './ecl-timeline.module';\nexport * from './ecl-timeline.component';\nexport * from './ecl-timeline-item.component';\nexport * from './ecl-timeline-item-label.directive';\nexport * from './ecl-timeline-item-title.directive';\nexport * from './ecl-timeline-item-toggler.component';\nexport * from './ecl-timeline-set.directive';\nexport * from './events/ecl-timeline-item-toggle.event';\n\nexport const EUI_ECL_TIMELINE = [\n EclTimelineComponent,\n EclTimelineItemComponent,\n EclTimelineItemTogglerComponent,\n EclTimelineItemLabelDirective,\n EclTimelineItemTitleDirective,\n EclTimelineSetDirective,\n] as const;","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;AAGA;;;AAGG;AAIG,MAAO,6BAA8B,SAAQ,gBAAgB,CAAA;AAC/D;;;AAGG;AACH,IAAA,IACI,UAAU,GAAA;AACV,QAAA,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,qBAAqB,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE;IACxE;mHARS,6BAA6B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;uGAA7B,6BAA6B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,wBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,OAAA,EAAA,iBAAA,EAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;gGAA7B,6BA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B;wBAC7B,6BAA6B;wBAC7B,uBAAuB;AAC1B,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACL,oBAAoB;wBACpB,wBAAwB;wBACxB,+BAA+B;wBAC/B,6BAA6B;wBAC7B,6BAA6B;wBAC7B,uBAAuB;AAC1B,qBAAA;AACJ,iBAAA;;;ACdM,MAAM,gBAAgB,GAAG;IAC5B,oBAAoB;IACpB,wBAAwB;IACxB,+BAA+B;IAC/B,6BAA6B;IAC7B,6BAA6B;IAC7B,uBAAuB;;;ACtB3B;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"eui-ecl-components-ecl-timeline.mjs","sources":["../../components/ecl-timeline/ecl-timeline-item-label.directive.ts","../../components/ecl-timeline/ecl-timeline-item-title.directive.ts","../../components/ecl-timeline/ecl-timeline-item-toggler.component.ts","../../components/ecl-timeline/ecl-timeline-item-toggler.component.html","../../components/ecl-timeline/events/ecl-timeline-item-toggle.event.ts","../../components/ecl-timeline/ecl-timeline-item.component.ts","../../components/ecl-timeline/ecl-timeline-item.component.html","../../components/ecl-timeline/ecl-timeline-set.directive.ts","../../components/ecl-timeline/ecl-timeline.component.ts","../../components/ecl-timeline/ecl-timeline.component.html","../../components/ecl-timeline/index.ts","../../components/ecl-timeline/eui-ecl-components-ecl-timeline.ts"],"sourcesContent":["import { Directive, HostBinding } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Directive that applies the `ecl-timeline__label` class to an element.\n * Used to mark the label section within a timeline item.\n */\n@Directive({\n selector: '[eclTimelineItemLabel]',\n})\nexport class EclTimelineItemLabelDirective extends ECLBaseDirective {\n /**\n * CSS classes applied to the host element.\n * Adds `ecl-timeline__label` to style the label area of the timeline item.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-timeline__label')].join(' ').trim();\n }\n}\n","import { Directive, HostBinding } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Directive that applies the `ecl-timeline__title` class to an element.\n * Used to mark the title section within a timeline item.\n */\n@Directive({\n selector: '[eclTimelineItemTitle]',\n})\nexport class EclTimelineItemTitleDirective extends ECLBaseDirective {\n /**\n * CSS classes applied to the host element.\n * Adds `ecl-timeline__title` to style the title area of the timeline item.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-timeline__title')].join(' ').trim();\n }\n}\n","import { Component, EventEmitter, HostListener, Output } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Component representing a toggler inside a timeline item.\n * Emits a `toggle` event when clicked.\n */\n@Component({\n selector: 'ecl-timeline-item-toggler, li[eclTimelineItemToggler]',\n templateUrl: 'ecl-timeline-item-toggler.component.html',\n})\nexport class EclTimelineItemTogglerComponent extends ECLBaseDirective {\n /**\n * Event emitted when the toggler is activated (clicked).\n * Used to trigger expand/collapse behavior in the parent timeline item.\n */\n // eslint-disable-next-line\n @Output() toggle: EventEmitter<void> = new EventEmitter();\n\n /**\n * Handles click events on the toggler element and emits the `toggle` event.\n */\n @HostListener('click')\n onTogglerClick(): void {\n this.toggle.emit();\n }\n}\n","<ng-content></ng-content>\n","import { EclBaseEvent } from '@eui/ecl/core';\n\n/**\n * Event emitted when a timeline item is toggled (expanded or collapsed).\n */\nexport class EclTimelineItemToggleEvent extends EclBaseEvent {\n constructor(\n /**\n * Indicates whether the item is expanded after the toggle.\n */\n public isExpanded: boolean,\n\n /**\n * Identifier of the toggle group this item belongs to.\n */\n public toggleGroup: string,\n ) {\n super();\n }\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n AfterContentInit,\n AfterViewChecked,\n booleanAttribute,\n Component,\n ContentChild,\n ElementRef,\n EventEmitter,\n forwardRef,\n HostBinding,\n inject,\n Input,\n OnDestroy,\n Output,\n Renderer2,\n ViewChild,\n ViewEncapsulation\n} from '@angular/core';\nimport { EUI_ECL_BUTTON } from '@eui/ecl/components/ecl-button';\nimport { EUI_ECL_ICON } from '@eui/ecl/components/ecl-icon';\nimport { EclLinkDirective } from '@eui/ecl/components/ecl-link';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\nimport { EclTimelineItemLabelDirective } from './ecl-timeline-item-label.directive';\nimport { EclTimelineItemTitleDirective } from './ecl-timeline-item-title.directive';\nimport { EclTimelineItemTogglerComponent } from './ecl-timeline-item-toggler.component';\nimport { EclTimelineItemToggleEvent } from './events/ecl-timeline-item-toggle.event';\n\n@Component({\n selector: 'ecl-timeline-item, li[eclTimelineItem]',\n templateUrl: 'ecl-timeline-item.component.html',\n imports: [...EUI_ECL_ICON, ...EUI_ECL_BUTTON, NgTemplateOutlet],\n styles: [\n `\n ecl-timeline-item {\n display: list-item;\n }\n `,\n ],\n encapsulation: ViewEncapsulation.None,\n})\nexport class EclTimelineItemComponent extends ECLBaseDirective implements AfterContentInit, AfterViewChecked, OnDestroy {\n /**\n * Text label shown when the item is collapsed and can be expanded.\n * Defaults to `'Expand'`.\n */\n @Input() expandLabel = 'Expand';\n\n /**\n * Text label shown when the item is expanded and can be collapsed.\n * Defaults to `'Collapse'`.\n */\n @Input() collapseLabel = 'Collapse';\n\n @Input({ transform: booleanAttribute }) isHeadline = false;\n\n /**\n * Indicates whether the toggler is initially expanded.\n * Used for toggler-type items.\n */\n @Input({ transform: booleanAttribute }) isTogglerExpanded = false;\n\n /**\n * Adds the `ecl-timeline__item` class to the host element.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [\n super.getCssClasses('ecl-timeline__item'),\n this.isHeadline ? 'ecl-timeline__item--headline' : '',\n ].join(' ');\n }\n\n // @HostBinding('attr.style') customStyle = '';\n\n /**\n * Reference to a projected custom toggler component.\n */\n @ContentChild(forwardRef(() => EclTimelineItemTogglerComponent))\n timelineItemToggler: EclTimelineItemTogglerComponent;\n\n @ContentChild(forwardRef(() => EclTimelineItemTitleDirective))\n timelineTitle: EclTimelineItemTitleDirective;\n\n /**\n * Reference to a projected ECL link, used for setting focus after toggle.\n */\n @ContentChild(forwardRef(() => EclLinkDirective)) eclLink: EclLinkDirective;\n\n /**\n * Reference to a projected label for the item. Used to set height, when item has no content and title.\n */\n @ContentChild(forwardRef(() => EclTimelineItemLabelDirective), { read: ElementRef }) eclTimelineItemLabel: ElementRef;\n\n /**\n * Whether the item is collapsed.\n * Adds the `ecl-timeline__item--collapsed` CSS class when true.\n */\n @Input({ transform: booleanAttribute }) @HostBinding('class.ecl-timeline__item--collapsed') isCollapsed = false;\n\n /**\n * Whether the item is a toggler (e.g. expands/collapses related items).\n * Adds the `ecl-timeline__item--toggle` CSS class when true.\n */\n @Input({ transform: booleanAttribute }) @HostBinding('class.ecl-timeline__item--toggle') isToggler = false;\n\n /**\n * Name of the toggle group that this item belongs to.\n * Used to coordinate collapsing/expanding related items.\n */\n @Input() toggleGroup: string;\n\n /**\n * Event emitted when the toggler is clicked.\n * Consumers can call `preventDefault()` on the event to cancel toggle behavior.\n */\n // eslint-disable-next-line\n @Output() toggle = new EventEmitter<EclTimelineItemToggleEvent>();\n\n @ViewChild('contentSlot')\n private contentSlotRef: ElementRef<HTMLElement>;\n private destroy$: Subject<boolean> = new Subject<boolean>();\n private hasContent = false;\n private hasHeight = false;\n private renderer = inject(Renderer2);\n private host = inject(ElementRef<HTMLElement>);\n\n ngAfterViewChecked(): void {\n if (!this.hasHeight) {\n setTimeout(() => {\n const node = this.contentSlotRef?.nativeElement;\n if (node) {\n this.hasContent =\n (node.textContent?.trim().length ?? 0) > 0 || node.children.length > 0;\n }\n if (!this.isToggler && !this.timelineTitle && !this.hasContent) {\n const labelHeight = this.eclTimelineItemLabel.nativeElement.getBoundingClientRect().height;\n this.hasHeight = labelHeight > 0;\n this.host.nativeElement.style.setProperty('--ecl-timeline-label-height', `${labelHeight}px`);\n this.renderer.setStyle(this.host.nativeElement, 'box-sizing', 'unset');\n }\n });\n }\n }\n\n /**\n * Lifecycle hook that sets up event subscriptions after content is initialized.\n */\n ngAfterContentInit(): void {\n if (this.timelineItemToggler) {\n this.timelineItemToggler.toggle.pipe(takeUntil(this.destroy$)).subscribe(() => {\n this.handleToggler();\n });\n }\n }\n\n /**\n * Lifecycle hook called on component destruction to clean up subscriptions.\n */\n ngOnDestroy(): void {\n this.destroy$.next(true);\n this.destroy$.unsubscribe();\n }\n\n /**\n * True if the expand label should be visible.\n */\n get isShowExpandLabel(): boolean {\n return !!this.expandLabel && !this.isTogglerExpanded;\n }\n\n /**\n * True if the collapse label should be visible.\n */\n get isShowCollapseLabel(): boolean {\n return !!this.collapseLabel && this.isTogglerExpanded;\n }\n\n /**\n * Checks whether the default toggler UI should be used.\n * Returns true if this is a toggler and no custom toggler component is projected.\n */\n hasDefaultToggler(): boolean {\n return this.isToggler && !this.timelineItemToggler;\n }\n\n /**\n * Handles click events from the default toggler element.\n *\n * @param evt The mouse click event.\n */\n onTogglerClick(evt: MouseEvent): void {\n this.handleToggler();\n }\n\n private handleToggler(): void {\n const nextExpandedState = !this.isTogglerExpanded;\n const event = new EclTimelineItemToggleEvent(nextExpandedState, this.toggleGroup);\n\n if (!event.defaultPrevented) {\n this.toggle.next(event);\n this.isTogglerExpanded = nextExpandedState;\n }\n }\n}\n","@if (isToggler) {\n <div class=\"ecl-timeline__content\">\n @if (hasDefaultToggler()) {\n <button eclButton (click)=\"onTogglerClick($event)\" variant=\"secondary\">\n @if (isShowExpandLabel) {\n <span eclButtonLabel> {{ expandLabel }} </span>\n }\n @if (isShowCollapseLabel) {\n <span eclButtonLabel> {{ collapseLabel }} </span>\n }\n <ecl-icon icon=\"corner-arrow\" size=\"fluid\" [transform]=\"!isTogglerExpanded ? 'rotate-180' : ''\"></ecl-icon>\n </button>\n }\n\n\n <ng-content select=\"ecl-timeline-item-toggler\"></ng-content>\n\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </div>\n}\n@else {\n <div class=\"ecl-timeline__tooltip\">\n <div class=\"ecl-timeline__tooltip-arrow\"></div>\n <ng-content select=\"[eclTimelineItemLabel]\"></ng-content>\n\n <ng-content select=\"[eclTimelineItemTitle]\"></ng-content>\n\n <div class=\"ecl-timeline__content\" #contentSlot>\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </div>\n </div>\n}\n\n<ng-template #content>\n <ng-content></ng-content>\n</ng-template>\n","import { Directive, HostBinding } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Directive that applies the `ecl-timeline-set` class to an element.\n */\n@Directive({\n selector: '[eclTimelineSet]',\n})\nexport class EclTimelineSetDirective extends ECLBaseDirective {\n\n @HostBinding('class.ecl-timeline-set') hasClass = true;\n}\n","import {\n Component,\n AfterContentInit,\n ContentChildren,\n forwardRef,\n QueryList,\n HostBinding,\n OnDestroy,\n} from '@angular/core';\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclTimelineItemComponent } from './ecl-timeline-item.component';\nimport { EclTimelineItemToggleEvent } from './events/ecl-timeline-item-toggle.event';\n\n@Component({\n selector: 'ecl-timeline, ol[eclTimeline]',\n templateUrl: 'ecl-timeline.component.html',\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n})\nexport class EclTimelineComponent extends ECLBaseDirective implements AfterContentInit, OnDestroy {\n /**\n * Sets the `role` attribute of the host element to `list`\n * for accessibility purposes.\n */\n @HostBinding('attr.role') attrRole = 'list';\n\n @HostBinding('attr.data-ecl-timeline-expanded') isExpanded: boolean | null = null;\n\n /**\n * Applies the `ecl-timeline` CSS class to the host element.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [\n super.getCssClasses('ecl-timeline'),\n this.hasHeadlineItem ? 'ecl-timeline--has-headline' : '',\n ].join(' ');\n }\n\n /**\n * List of projected `EclTimelineItemComponent` instances.\n * Collected using `@ContentChildren`.\n */\n @ContentChildren(forwardRef(() => EclTimelineItemComponent))\n timelineItems: QueryList<EclTimelineItemComponent>;\n\n private destroy$: Subject<boolean> = new Subject<boolean>();\n private isFirstExpandedLinkFocused = false;\n private hasHeadlineItem = false;\n\n /**\n * Lifecycle hook that is called after content (child components)\n * has been fully initialized.\n * \n * It sets up toggle event subscriptions for `isToggler` items and\n * collapses/expands related content items accordingly.\n */\n ngAfterContentInit(): void {\n this.timelineItems\n .filter((item) => item.isToggler)\n .forEach((it) => {\n it.toggle.pipe(takeUntil(this.destroy$)).subscribe((evt: EclTimelineItemToggleEvent) => {\n if (evt.isExpanded) {\n this.isExpanded = true;\n } else {\n this.isExpanded = null;\n }\n if (this.timelineItems && !evt.defaultPrevented) {\n this.timelineItems\n .filter((item) => item.toggleGroup === evt.toggleGroup)\n .filter((item) => !item.isToggler)\n .forEach((item) => {\n // item.isCollapsed = !item.isCollapsed;\n this.onFocusFirstExpandedLink(item);\n });\n }\n });\n });\n\n if (this.timelineItems?.find(item => item.isHeadline) !== undefined) this.hasHeadlineItem = true;\n }\n\n /**\n * Lifecycle hook called when the component is destroyed.\n * Cleans up subscriptions.\n */\n ngOnDestroy(): void {\n this.destroy$.next(true);\n this.destroy$.unsubscribe();\n }\n\n /**\n * Focuses the first link in the expanded timeline item,\n * ensuring it's only done once per toggle group interaction.\n *\n * @param item The timeline item to check and potentially focus.\n */\n onFocusFirstExpandedLink(item: EclTimelineItemComponent): void {\n if (!item.isCollapsed) {\n if (!this.isFirstExpandedLinkFocused && item.eclLink) {\n setTimeout(() => item.eclLink.onFocus());\n this.isFirstExpandedLinkFocused = true;\n }\n } else {\n this.isFirstExpandedLinkFocused = false;\n }\n }\n}\n","<ng-content></ng-content>\n","import { EclTimelineItemLabelDirective } from './ecl-timeline-item-label.directive';\nimport { EclTimelineItemTitleDirective } from './ecl-timeline-item-title.directive';\nimport { EclTimelineItemTogglerComponent } from './ecl-timeline-item-toggler.component';\nimport { EclTimelineItemComponent } from './ecl-timeline-item.component';\nimport { EclTimelineSetDirective } from './ecl-timeline-set.directive';\nimport { EclTimelineComponent } from './ecl-timeline.component';\n\nexport * from './ecl-timeline.component';\nexport * from './ecl-timeline-item.component';\nexport * from './ecl-timeline-item-label.directive';\nexport * from './ecl-timeline-item-title.directive';\nexport * from './ecl-timeline-item-toggler.component';\nexport * from './ecl-timeline-set.directive';\nexport * from './events/ecl-timeline-item-toggle.event';\n\nexport const EUI_ECL_TIMELINE = [\n EclTimelineComponent,\n EclTimelineItemComponent,\n EclTimelineItemTogglerComponent,\n EclTimelineItemLabelDirective,\n EclTimelineItemTitleDirective,\n EclTimelineSetDirective,\n] as const;","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;AAGA;;;AAGG;AAIG,MAAO,6BAA8B,SAAQ,gBAAgB,CAAA;AAC/D;;;AAGG;AACH,IAAA,IACI,UAAU,GAAA;AACV,QAAA,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,qBAAqB,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE;IACxE;8GARS,6BAA6B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAA7B,6BAA6B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,wBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,OAAA,EAAA,iBAAA,EAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAA7B,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBAHzC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,wBAAwB;AACrC,iBAAA;;sBAMI,WAAW;uBAAC,OAAO;;;ACZxB;;;AAGG;AAIG,MAAO,6BAA8B,SAAQ,gBAAgB,CAAA;AAC/D;;;AAGG;AACH,IAAA,IACI,UAAU,GAAA;AACV,QAAA,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,qBAAqB,CAAC,CAAC,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