@eui/ecl 19.3.1 → 19.3.2-snapshot-1752652198707
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/components/ecl-app/ecl-app.component.d.ts +10 -0
- package/components/ecl-app/ecl-app.component.d.ts.map +1 -1
- package/components/ecl-breadcrumb/ecl-breadcrumb-container.directive.d.ts +6 -0
- package/components/ecl-breadcrumb/ecl-breadcrumb-container.directive.d.ts.map +1 -1
- package/components/ecl-breadcrumb/ecl-breadcrumb-segment.component.d.ts +39 -0
- package/components/ecl-breadcrumb/ecl-breadcrumb-segment.component.d.ts.map +1 -1
- package/components/ecl-breadcrumb/ecl-breadcrumb.component.d.ts +42 -0
- package/components/ecl-breadcrumb/ecl-breadcrumb.component.d.ts.map +1 -1
- package/components/ecl-breadcrumb/events/ecl-breadcrumb-segment-click.event.d.ts +3 -0
- package/components/ecl-breadcrumb/events/ecl-breadcrumb-segment-click.event.d.ts.map +1 -1
- package/components/ecl-media-container/ecl-media-container-iframe.directive.d.ts +3 -0
- package/components/ecl-media-container/ecl-media-container-iframe.directive.d.ts.map +1 -1
- package/components/ecl-media-container/ecl-media-container-item-audio-description.directive.d.ts +3 -0
- package/components/ecl-media-container/ecl-media-container-item-audio-description.directive.d.ts.map +1 -1
- package/components/ecl-media-container/ecl-media-container-item.directive.d.ts +3 -0
- package/components/ecl-media-container/ecl-media-container-item.directive.d.ts.map +1 -1
- package/components/ecl-media-container/ecl-media-container-picture.directive.d.ts +3 -0
- package/components/ecl-media-container/ecl-media-container-picture.directive.d.ts.map +1 -1
- package/components/ecl-media-container/ecl-media-container.component.d.ts +15 -0
- package/components/ecl-media-container/ecl-media-container.component.d.ts.map +1 -1
- package/components/ecl-menu/ecl-menu/ecl-menu-item.component.d.ts +68 -0
- package/components/ecl-menu/ecl-menu/ecl-menu-item.component.d.ts.map +1 -1
- package/components/ecl-menu/ecl-menu/ecl-menu.component.d.ts +69 -5
- package/components/ecl-menu/ecl-menu/ecl-menu.component.d.ts.map +1 -1
- package/components/ecl-menu/ecl-menu-mega/ecl-menu-mega-item.component.d.ts +32 -0
- package/components/ecl-menu/ecl-menu-mega/ecl-menu-mega-item.component.d.ts.map +1 -1
- package/components/ecl-menu/ecl-menu-mega/ecl-menu-mega.component.d.ts +13 -0
- package/components/ecl-menu/ecl-menu-mega/ecl-menu-mega.component.d.ts.map +1 -1
- package/components/ecl-multiselect/ecl-multiselect-dropdown/ecl-multiselect-dropdown.component.d.ts +97 -0
- package/components/ecl-multiselect/ecl-multiselect-dropdown/ecl-multiselect-dropdown.component.d.ts.map +1 -1
- package/components/ecl-multiselect/ecl-multiselect-input/ecl-multiselect-input.component.d.ts +74 -0
- package/components/ecl-multiselect/ecl-multiselect-input/ecl-multiselect-input.component.d.ts.map +1 -1
- package/components/ecl-multiselect/ecl-multiselect-optgroup/ecl-multiselect-optgroup.component.d.ts +10 -0
- package/components/ecl-multiselect/ecl-multiselect-optgroup/ecl-multiselect-optgroup.component.d.ts.map +1 -1
- package/components/ecl-multiselect/ecl-multiselect-option/ecl-multiselect-option.component.d.ts +42 -0
- package/components/ecl-multiselect/ecl-multiselect-option/ecl-multiselect-option.component.d.ts.map +1 -1
- package/components/ecl-multiselect/ecl-multiselect-option.directive.d.ts +28 -0
- package/components/ecl-multiselect/ecl-multiselect-option.directive.d.ts.map +1 -1
- package/components/ecl-multiselect/ecl-multiselect.component.d.ts +45 -0
- package/components/ecl-multiselect/ecl-multiselect.component.d.ts.map +1 -1
- package/components/ecl-navigation-list/ecl-navigation-list-item.component.d.ts +9 -0
- package/components/ecl-navigation-list/ecl-navigation-list-item.component.d.ts.map +1 -1
- package/components/ecl-navigation-list/ecl-navigation-list-picture.directive.d.ts +6 -0
- package/components/ecl-navigation-list/ecl-navigation-list-picture.directive.d.ts.map +1 -1
- package/components/ecl-navigation-list/ecl-navigation-list.component.d.ts +13 -0
- package/components/ecl-navigation-list/ecl-navigation-list.component.d.ts.map +1 -1
- package/components/ecl-page-header/ecl-page-header-background.directive.d.ts +16 -0
- package/components/ecl-page-header/ecl-page-header-background.directive.d.ts.map +1 -1
- package/components/ecl-page-header/ecl-page-header-description.directive.d.ts +33 -1
- package/components/ecl-page-header/ecl-page-header-description.directive.d.ts.map +1 -1
- package/components/ecl-page-header/ecl-page-header-info.directive.d.ts +8 -0
- package/components/ecl-page-header/ecl-page-header-info.directive.d.ts.map +1 -1
- package/components/ecl-page-header/ecl-page-header-meta.directive.d.ts +16 -0
- package/components/ecl-page-header/ecl-page-header-meta.directive.d.ts.map +1 -1
- package/components/ecl-page-header/ecl-page-header-title.directive.d.ts +14 -0
- package/components/ecl-page-header/ecl-page-header-title.directive.d.ts.map +1 -1
- package/components/ecl-page-header/ecl-page-header.component.d.ts +21 -0
- package/components/ecl-page-header/ecl-page-header.component.d.ts.map +1 -1
- package/components/ecl-pagination/ecl-pagination-item.component.d.ts +63 -0
- package/components/ecl-pagination/ecl-pagination-item.component.d.ts.map +1 -1
- package/components/ecl-pagination/ecl-pagination-list.directive.d.ts +7 -0
- package/components/ecl-pagination/ecl-pagination-list.directive.d.ts.map +1 -1
- package/components/ecl-pagination/ecl-pagination.component.d.ts +65 -0
- package/components/ecl-pagination/ecl-pagination.component.d.ts.map +1 -1
- package/components/ecl-pagination/events/ecl-pagination.event.d.ts +22 -1
- package/components/ecl-pagination/events/ecl-pagination.event.d.ts.map +1 -1
- package/components/ecl-radio/ecl-radio-help.component.d.ts +13 -0
- package/components/ecl-radio/ecl-radio-help.component.d.ts.map +1 -1
- package/components/ecl-radio/ecl-radio-input.directive.d.ts +30 -1
- package/components/ecl-radio/ecl-radio-input.directive.d.ts.map +1 -1
- package/components/ecl-radio/ecl-radio-label.component.d.ts +16 -0
- package/components/ecl-radio/ecl-radio-label.component.d.ts.map +1 -1
- package/components/ecl-radio/ecl-radio.directive.d.ts +31 -0
- package/components/ecl-radio/ecl-radio.directive.d.ts.map +1 -1
- package/components/ecl-range/ecl-range-bubble.component.d.ts +22 -0
- package/components/ecl-range/ecl-range-bubble.component.d.ts.map +1 -1
- package/components/ecl-range/ecl-range-value.component.d.ts +14 -0
- package/components/ecl-range/ecl-range-value.component.d.ts.map +1 -1
- package/components/ecl-range/ecl-range.directive.d.ts +42 -0
- package/components/ecl-range/ecl-range.directive.d.ts.map +1 -1
- package/components/ecl-range/events/ecl-range.event.d.ts +7 -0
- package/components/ecl-range/events/ecl-range.event.d.ts.map +1 -1
- package/components/ecl-site-footer/ecl-footer-elements/ec/ecl-site-footer-fixed-content.d.ts +16 -0
- package/components/ecl-site-footer/ecl-footer-elements/ec/ecl-site-footer-fixed-content.d.ts.map +1 -1
- package/components/ecl-site-footer/ecl-footer-elements/ecl-site-footer-column.directive.d.ts +10 -0
- package/components/ecl-site-footer/ecl-footer-elements/ecl-site-footer-column.directive.d.ts.map +1 -1
- package/components/ecl-site-footer/ecl-footer-elements/ecl-site-footer-description.directive.d.ts +3 -0
- package/components/ecl-site-footer/ecl-footer-elements/ecl-site-footer-description.directive.d.ts.map +1 -1
- package/components/ecl-site-footer/ecl-footer-elements/ecl-site-footer-link.directive.d.ts +12 -0
- package/components/ecl-site-footer/ecl-footer-elements/ecl-site-footer-link.directive.d.ts.map +1 -1
- package/components/ecl-site-footer/ecl-footer-elements/ecl-site-footer-list.directive.d.ts +15 -0
- package/components/ecl-site-footer/ecl-footer-elements/ecl-site-footer-list.directive.d.ts.map +1 -1
- package/components/ecl-site-footer/ecl-footer-elements/ecl-site-footer-section.directive.d.ts +9 -0
- package/components/ecl-site-footer/ecl-footer-elements/ecl-site-footer-section.directive.d.ts.map +1 -1
- package/components/ecl-site-footer/ecl-footer-elements/ecl-site-footer-title.directive.d.ts +6 -0
- package/components/ecl-site-footer/ecl-footer-elements/ecl-site-footer-title.directive.d.ts.map +1 -1
- package/components/ecl-site-footer/ecl-footer-elements/eu/ecl-site-footer-fixed-content.d.ts +16 -0
- package/components/ecl-site-footer/ecl-footer-elements/eu/ecl-site-footer-fixed-content.d.ts.map +1 -1
- package/components/ecl-site-footer/ecl-site-footer.component.d.ts +14 -0
- package/components/ecl-site-footer/ecl-site-footer.component.d.ts.map +1 -1
- package/components/ecl-site-header/action/ecl-site-header-action.component.d.ts +3 -0
- package/components/ecl-site-header/action/ecl-site-header-action.component.d.ts.map +1 -1
- package/components/ecl-site-header/banner-top/ecl-site-header-banner-top.component.d.ts +3 -0
- package/components/ecl-site-header/banner-top/ecl-site-header-banner-top.component.d.ts.map +1 -1
- package/components/ecl-site-header/cta/ecl-site-header-cta.directive.d.ts +4 -0
- package/components/ecl-site-header/cta/ecl-site-header-cta.directive.d.ts.map +1 -1
- package/components/ecl-site-header/custom-action/ecl-site-header-custom-action.component.d.ts +17 -4
- package/components/ecl-site-header/custom-action/ecl-site-header-custom-action.component.d.ts.map +1 -1
- package/components/ecl-site-header/ecl-site-header-environment/ecl-site-header-environment.component.d.ts +4 -0
- package/components/ecl-site-header/ecl-site-header-environment/ecl-site-header-environment.component.d.ts.map +1 -1
- package/components/ecl-site-header/ecl-site-header.component.d.ts +32 -0
- package/components/ecl-site-header/ecl-site-header.component.d.ts.map +1 -1
- package/components/ecl-site-header/language/ecl-site-header-language-popover.component.d.ts +50 -0
- package/components/ecl-site-header/language/ecl-site-header-language-popover.component.d.ts.map +1 -1
- package/components/ecl-site-header/language/ecl-site-header-language.component.d.ts +54 -0
- package/components/ecl-site-header/language/ecl-site-header-language.component.d.ts.map +1 -1
- package/components/ecl-site-header/login/ecl-site-header-login-details.directive.d.ts +7 -0
- package/components/ecl-site-header/login/ecl-site-header-login-details.directive.d.ts.map +1 -1
- package/components/ecl-site-header/login/ecl-site-header-login.component.d.ts +19 -0
- package/components/ecl-site-header/login/ecl-site-header-login.component.d.ts.map +1 -1
- package/components/ecl-site-header/notification/ecl-site-header-notification.component.d.ts +4 -0
- package/components/ecl-site-header/notification/ecl-site-header-notification.component.d.ts.map +1 -1
- package/components/ecl-site-header/picture/ecl-site-header-picture.directive.d.ts +9 -0
- package/components/ecl-site-header/picture/ecl-site-header-picture.directive.d.ts.map +1 -1
- package/components/ecl-site-header/search/ecl-site-header-search.component.d.ts +17 -0
- package/components/ecl-site-header/search/ecl-site-header-search.component.d.ts.map +1 -1
- package/components/ecl-site-header/services/ecl-area-data.service.d.ts +8 -0
- package/components/ecl-site-header/services/ecl-area-data.service.d.ts.map +1 -1
- package/components/ecl-tabs/ecl-tab-label.component.d.ts +7 -0
- package/components/ecl-tabs/ecl-tab-label.component.d.ts.map +1 -1
- package/components/ecl-tabs/ecl-tab-more.component.d.ts +11 -1
- package/components/ecl-tabs/ecl-tab-more.component.d.ts.map +1 -1
- package/components/ecl-tabs/ecl-tab.component.d.ts +65 -0
- package/components/ecl-tabs/ecl-tab.component.d.ts.map +1 -1
- package/components/ecl-tabs/ecl-tabs.component.d.ts +116 -0
- package/components/ecl-tabs/ecl-tabs.component.d.ts.map +1 -1
- package/components/ecl-tabs/events/ecl-tab-select.event.d.ts +8 -0
- package/components/ecl-tabs/events/ecl-tab-select.event.d.ts.map +1 -1
- package/docs/classes/EclAppLanguageDismissEvent.html +7 -0
- package/docs/classes/EclBreadcrumbSegmentClickEvent.html +7 -0
- package/docs/classes/EclPaginationEvent.html +22 -0
- package/docs/classes/EclPaginationItemClickEvent.html +7 -0
- package/docs/classes/EclRangeEvent.html +10 -0
- package/docs/classes/EclTabSelectEvent.html +10 -0
- package/docs/components/EclAccordionComponent.html +1 -1
- package/docs/components/EclAccordionItemComponent.html +1 -1
- package/docs/components/EclAppComponent.html +15 -1
- package/docs/components/EclBannerComponent.html +1 -1
- package/docs/components/EclBlockquoteComponent.html +1 -1
- package/docs/components/EclBreadcrumbComponent.html +112 -1
- package/docs/components/EclBreadcrumbSegmentComponent.html +99 -1
- package/docs/components/EclButtonComponent.html +1 -1
- package/docs/components/EclCardBodyComponent.html +1 -1
- package/docs/components/EclCardComponent.html +1 -1
- package/docs/components/EclCarouselComponent.html +1 -1
- package/docs/components/EclCarouselItemComponent.html +1 -1
- package/docs/components/EclCategoryFilterComponent.html +1 -1
- package/docs/components/EclCategoryFilterItemComponent.html +1 -1
- package/docs/components/EclCategoryFilterListComponent.html +1 -1
- package/docs/components/EclCheckboxHelpComponent.html +1 -1
- package/docs/components/EclCheckboxLabelComponent.html +1 -1
- package/docs/components/EclContentBlockComponent.html +1 -1
- package/docs/components/EclContentItemComponent.html +1 -1
- package/docs/components/EclDateBlockComponent.html +1 -1
- package/docs/components/EclDescriptionListDefinitionComponent.html +1 -1
- package/docs/components/EclExpandableComponent.html +1 -1
- package/docs/components/EclFactFiguresComponent.html +1 -1
- package/docs/components/EclFactFiguresDescriptionComponent.html +1 -1
- package/docs/components/EclFactFiguresItemComponent.html +1 -1
- package/docs/components/EclFactFiguresTitleComponent.html +1 -1
- package/docs/components/EclFactFiguresValueComponent.html +1 -1
- package/docs/components/EclFactFiguresViewAllComponent.html +1 -1
- package/docs/components/EclFeaturedComponent.html +1 -1
- package/docs/components/EclFeaturedItemComponent.html +1 -1
- package/docs/components/EclFeaturedItemDescriptionComponent.html +1 -1
- package/docs/components/EclFeaturedItemFooterComponent.html +1 -1
- package/docs/components/EclFileComponent.html +1 -1
- package/docs/components/EclFileItemComponent.html +1 -1
- package/docs/components/EclFileItemsComponent.html +1 -1
- package/docs/components/EclFileTaxonomyComponent.html +1 -1
- package/docs/components/EclFormGroupComponent.html +1 -1
- package/docs/components/EclFormLabelComponent.html +1 -1
- package/docs/components/EclGalleryComponent.html +1 -1
- package/docs/components/EclGalleryFooterComponent.html +1 -1
- package/docs/components/EclGalleryItemComponent.html +1 -1
- package/docs/components/EclIconComponent.html +1 -1
- package/docs/components/EclInpageNavigationComponent.html +1 -1
- package/docs/components/EclInpageNavigationItemComponent.html +1 -1
- package/docs/components/EclListIllustrationComponent.html +1 -1
- package/docs/components/EclListIllustrationItemComponent.html +1 -1
- package/docs/components/EclLoadingIndicatorComponent.html +1 -1
- package/docs/components/EclMediaContainerComponent.html +35 -1
- package/docs/components/EclMegaMenuComponent.html +1 -1
- package/docs/components/EclMegaMenuFeaturedComponent.html +1 -1
- package/docs/components/EclMegaMenuInfoComponent.html +1 -1
- package/docs/components/EclMegaMenuItemComponent.html +1 -1
- package/docs/components/EclMegaMenuSubitemComponent.html +1 -1
- package/docs/components/EclMenuComponent.html +121 -49
- package/docs/components/EclMenuItemComponent.html +95 -1
- package/docs/components/EclMenuMegaComponent.html +27 -1
- package/docs/components/EclMenuMegaItemComponent.html +63 -1
- package/docs/components/EclModalBodyComponent.html +1 -1
- package/docs/components/EclModalComponent.html +1 -1
- package/docs/components/EclModalFooterComponent.html +1 -1
- package/docs/components/EclModalHeaderComponent.html +1 -1
- package/docs/components/EclMultiselectComponent.html +118 -1
- package/docs/components/EclMultiselectDropdownComponent.html +205 -1
- package/docs/components/EclMultiselectInputComponent.html +172 -1
- package/docs/components/EclMultiselectOptgroupComponent.html +32 -1
- package/docs/components/EclMultiselectOptionComponent.html +83 -1
- package/docs/components/EclNavigationListComponent.html +27 -1
- package/docs/components/EclNavigationListItemComponent.html +26 -1
- package/docs/components/EclNewsTickerComponent.html +1 -1
- package/docs/components/EclNewsTickerItemComponent.html +1 -1
- package/docs/components/EclNotificationComponent.html +1 -1
- package/docs/components/EclPageHeaderComponent.html +52 -1
- package/docs/components/EclPaginationComponent.html +110 -1
- package/docs/components/EclPaginationItemComponent.html +112 -1
- package/docs/components/EclPopoverComponent.html +1 -1
- package/docs/components/EclRadioHelpComponent.html +35 -1
- package/docs/components/EclRadioLabelComponent.html +41 -1
- package/docs/components/EclRangeBubbleComponent.html +57 -1
- package/docs/components/EclRangeValueComponent.html +40 -1
- package/docs/components/EclRatingFieldComponent.html +1 -1
- package/docs/components/EclSearchFormComponent.html +1 -1
- package/docs/components/EclSelectContainerComponent.html +1 -1
- package/docs/components/EclSiteFooterComponent.html +34 -1
- package/docs/components/EclSiteFooterFixedContentECComponent.html +33 -1
- package/docs/components/EclSiteFooterFixedContentEUComponent.html +33 -1
- package/docs/components/EclSiteHeaderActionComponent.html +8 -1
- package/docs/components/EclSiteHeaderBannerTopComponent.html +8 -1
- package/docs/components/EclSiteHeaderComponent.html +59 -2
- package/docs/components/EclSiteHeaderCustomActionComponent.html +35 -55
- package/docs/components/EclSiteHeaderEnvironmentComponent.html +9 -1
- package/docs/components/EclSiteHeaderLanguageComponent.html +95 -1
- package/docs/components/EclSiteHeaderLanguagePopoverComponent.html +105 -1
- package/docs/components/EclSiteHeaderLoginComponent.html +34 -1
- package/docs/components/EclSiteHeaderNotificationComponent.html +9 -1
- package/docs/components/EclSiteHeaderSearchComponent.html +37 -1
- package/docs/components/EclSocialMediaFollowComponent.html +1 -1
- package/docs/components/EclSocialMediaFollowItemComponent.html +1 -1
- package/docs/components/EclSocialMediaShareComponent.html +1 -1
- package/docs/components/EclSocialMediaShareItemComponent.html +1 -1
- package/docs/components/EclSplashPageComponent.html +1 -1
- package/docs/components/EclSplashPageLanguageCategoryComponent.html +1 -1
- package/docs/components/EclSplashPageLanguageContainerComponent.html +1 -1
- package/docs/components/EclSplashPageLanguageLinkComponent.html +1 -1
- package/docs/components/EclStickyContainerComponent.html +1 -1
- package/docs/components/EclTabComponent.html +123 -1
- package/docs/components/EclTabLabelComponent.html +11 -1
- package/docs/components/EclTabMoreComponent.html +36 -2
- package/docs/components/EclTableSortButtonComponent.html +1 -1
- package/docs/components/EclTabsComponent.html +200 -1
- package/docs/components/EclTagComponent.html +1 -1
- package/docs/components/EclTimelineComponent.html +1 -1
- package/docs/components/EclTimelineItemComponent.html +1 -1
- package/docs/components/EclTimelineItemTogglerComponent.html +1 -1
- package/docs/dependencies.html +2 -2
- package/docs/directives/EclBreadcrumbContainerDirective.html +19 -0
- package/docs/directives/EclMediaContainerIframeDirective.html +7 -0
- package/docs/directives/EclMediaContainerItemAudioDescriptionDirective.html +7 -0
- package/docs/directives/EclMediaContainerItemDirective.html +7 -0
- package/docs/directives/EclMediaContainerPictureDirective.html +7 -0
- package/docs/directives/EclMultiselectOptionDirective.html +85 -0
- package/docs/directives/EclNavigationListImageDirective.html +7 -0
- package/docs/directives/EclNavigationListPictureDirective.html +7 -0
- package/docs/directives/EclPageHeaderBackgroundImageDirective.html +19 -0
- package/docs/directives/EclPageHeaderBackgroundPictureDirective.html +19 -0
- package/docs/directives/EclPageHeaderDescriptionContainerDirective.html +19 -0
- package/docs/directives/EclPageHeaderDescriptionDirective.html +19 -0
- package/docs/directives/EclPageHeaderDescriptionPictureDirective.html +19 -0
- package/docs/directives/EclPageHeaderDescriptionThumbnailDirective.html +20 -1
- package/docs/directives/EclPageHeaderInfoDirective.html +19 -0
- package/docs/directives/EclPageHeaderMetaDirective.html +19 -0
- package/docs/directives/EclPageHeaderMetaItemDirective.html +19 -0
- package/docs/directives/EclPageHeaderTitleDirective.html +34 -0
- package/docs/directives/EclPaginationListDirective.html +20 -0
- package/docs/directives/EclRadioDirective.html +60 -0
- package/docs/directives/EclRadioInputDirective.html +36 -0
- package/docs/directives/EclRangeDirective.html +92 -0
- package/docs/directives/EclSiteFooterColumnDirective.html +7 -0
- package/docs/directives/EclSiteFooterContentDirective.html +21 -6
- package/docs/directives/EclSiteFooterDescriptionDirective.html +7 -0
- package/docs/directives/EclSiteFooterLinkDirective.html +7 -0
- package/docs/directives/EclSiteFooterListDirective.html +7 -0
- package/docs/directives/EclSiteFooterListItemDirective.html +7 -0
- package/docs/directives/EclSiteFooterLogoDirective.html +9 -1
- package/docs/directives/EclSiteFooterLogoImageDirective.html +7 -0
- package/docs/directives/EclSiteFooterLogoItemDirective.html +9 -1
- package/docs/directives/EclSiteFooterLogoLinkDirective.html +7 -0
- package/docs/directives/EclSiteFooterLogoListDirective.html +9 -1
- package/docs/directives/EclSiteFooterPictureDirective.html +7 -0
- package/docs/directives/EclSiteFooterRowDirective.html +7 -0
- package/docs/directives/EclSiteFooterSectionDirective.html +14 -1
- package/docs/directives/EclSiteFooterTitleDirective.html +7 -0
- package/docs/directives/EclSiteFooterTitleLinkDirective.html +7 -0
- package/docs/directives/EclSiteHeaderCtaDirective.html +8 -0
- package/docs/directives/EclSiteHeaderImageDirective.html +7 -0
- package/docs/directives/EclSiteHeaderLinkDirective.html +7 -0
- package/docs/directives/EclSiteHeaderLoginDescriptionDirective.html +7 -0
- package/docs/directives/EclSiteHeaderLoginSeparatorDirective.html +8 -0
- package/docs/directives/EclSiteHeaderPictureDirective.html +7 -0
- package/docs/injectables/EclAreaDataService.html +10 -0
- package/docs/js/menu-wc.js +4 -4
- package/docs/js/menu-wc_es5.js +1 -1
- package/docs/js/search/search_index.js +2 -2
- package/fesm2022/eui-ecl-components-ecl-accordion.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-app.mjs +11 -0
- package/fesm2022/eui-ecl-components-ecl-app.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-banner.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-blockquote.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-breadcrumb.mjs +82 -2
- package/fesm2022/eui-ecl-components-ecl-breadcrumb.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-button.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-card.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-carousel.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-category-filter.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-checkbox.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-content-block.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-content-item.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-date-block.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-date-picker.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-expandable.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-fact-figures.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-featured.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-feedback-message.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-file-upload.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-file.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-form-group.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-form-label.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-gallery.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-help-block.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-icon.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-inpage-navigation.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-label.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-link.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-list-illustration.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-list.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-loading-indicator.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-media-container.mjs +29 -0
- package/fesm2022/eui-ecl-components-ecl-media-container.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-mega-menu.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-menu.mjs +152 -18
- package/fesm2022/eui-ecl-components-ecl-menu.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-modal.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-multiselect.mjs +270 -1
- package/fesm2022/eui-ecl-components-ecl-multiselect.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-navigation-list.mjs +27 -0
- package/fesm2022/eui-ecl-components-ecl-navigation-list.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-news-ticker.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-notification.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-page-header.mjs +107 -3
- package/fesm2022/eui-ecl-components-ecl-page-header.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-pagination.mjs +127 -1
- package/fesm2022/eui-ecl-components-ecl-pagination.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-popover.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-radio.mjs +71 -1
- package/fesm2022/eui-ecl-components-ecl-radio.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-range.mjs +68 -1
- package/fesm2022/eui-ecl-components-ecl-range.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-rating-field.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-search-form.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-select.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-separator.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-site-footer.mjs +85 -2
- package/fesm2022/eui-ecl-components-ecl-site-footer.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-site-header.mjs +182 -10
- package/fesm2022/eui-ecl-components-ecl-site-header.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-social-media-follow.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-social-media-share.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-splash-page.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-sticky-container.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-table.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-tabs.mjs +177 -1
- package/fesm2022/eui-ecl-components-ecl-tabs.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-tag.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-text-area.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-text-input.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-timeline.mjs.map +1 -1
- package/fesm2022/eui-ecl-core.mjs.map +1 -1
- package/fesm2022/eui-ecl-shared.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -6,19 +6,18 @@ import * as i1$1 from '@angular/cdk/layout';
|
|
|
6
6
|
import { Breakpoints, LayoutModule } from '@angular/cdk/layout';
|
|
7
7
|
import * as i2 from '@angular/router';
|
|
8
8
|
import { RouterModule } from '@angular/router';
|
|
9
|
-
import * as
|
|
9
|
+
import * as i5 from '@ngx-translate/core';
|
|
10
10
|
import { TranslateModule } from '@ngx-translate/core';
|
|
11
|
-
import * as i4
|
|
11
|
+
import * as i4 from '@eui/ecl/components/ecl-link';
|
|
12
12
|
import { EclLinkDirective, EclLinkModule } from '@eui/ecl/components/ecl-link';
|
|
13
|
-
import * as i3 from '@eui/ecl/components/ecl-icon';
|
|
13
|
+
import * as i3$1 from '@eui/ecl/components/ecl-icon';
|
|
14
14
|
import { EclIconComponent, EclIconModule } from '@eui/ecl/components/ecl-icon';
|
|
15
|
-
import * as
|
|
15
|
+
import * as i3 from '@eui/ecl/components/ecl-button';
|
|
16
16
|
import { EclButtonComponent, EclButtonModule } from '@eui/ecl/components/ecl-button';
|
|
17
17
|
import { Subject, of } from 'rxjs';
|
|
18
18
|
import { mergeWith, takeUntil } from 'rxjs/operators';
|
|
19
19
|
import * as i2$1 from '@eui/ecl/core';
|
|
20
20
|
import { EclDomEvent, ECLBaseDirective, KeyCode } from '@eui/ecl/core';
|
|
21
|
-
import * as i3$1 from '@eui/ecl/shared';
|
|
22
21
|
|
|
23
22
|
class EclMenuItemSelectEvent extends EclDomEvent {
|
|
24
23
|
constructor(menuItem, domEvent = null) {
|
|
@@ -68,6 +67,10 @@ class EclMenuItemParentFocusEvent {
|
|
|
68
67
|
}
|
|
69
68
|
}
|
|
70
69
|
|
|
70
|
+
/**
|
|
71
|
+
* This component represents a sub-menu item, that is on the second level of the ecl-menu.
|
|
72
|
+
* Adds some custom styling and functionality.
|
|
73
|
+
*/
|
|
71
74
|
class EclMenuMegaItemComponent extends ECLBaseDirective {
|
|
72
75
|
constructor(renderer) {
|
|
73
76
|
super();
|
|
@@ -79,8 +82,14 @@ class EclMenuMegaItemComponent extends ECLBaseDirective {
|
|
|
79
82
|
this.href = '';
|
|
80
83
|
this.target = '';
|
|
81
84
|
this.cmpClass = true;
|
|
85
|
+
/**
|
|
86
|
+
* The default role of the DOM element is 'listitem', should not be changed.
|
|
87
|
+
*/
|
|
82
88
|
this.role = 'listitem';
|
|
83
89
|
this.isCurrent = false;
|
|
90
|
+
/**
|
|
91
|
+
* An additional item, that represents a link.
|
|
92
|
+
*/
|
|
84
93
|
this.isSeeAll = false;
|
|
85
94
|
this.menuItemSelect = new EventEmitter();
|
|
86
95
|
this.menuItemKeydown = new EventEmitter();
|
|
@@ -92,6 +101,10 @@ class EclMenuMegaItemComponent extends ECLBaseDirective {
|
|
|
92
101
|
this.manageContentChildren();
|
|
93
102
|
this.setExtraAttributesForLink(this.megaMenuLink?.nativeElement, this.linkExtraAttributes);
|
|
94
103
|
}
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @param evt This event is emited, when the menu item is clicked.
|
|
107
|
+
*/
|
|
95
108
|
onItemClick(evt) {
|
|
96
109
|
this.menuItemSelect.next(new EclMenuItemSelectEvent(this, evt));
|
|
97
110
|
if (!this.href) {
|
|
@@ -101,9 +114,15 @@ class EclMenuMegaItemComponent extends ECLBaseDirective {
|
|
|
101
114
|
onHostClick(evt) {
|
|
102
115
|
evt.stopPropagation();
|
|
103
116
|
}
|
|
117
|
+
/**
|
|
118
|
+
* When the item is the current active item, the 'aria-current' attribute is set to 'page'.
|
|
119
|
+
*/
|
|
104
120
|
get ariaCurrent() {
|
|
105
121
|
return this.isCurrent ? 'page' : null;
|
|
106
122
|
}
|
|
123
|
+
/**
|
|
124
|
+
* Focus should be set on the underlying <a> element.
|
|
125
|
+
*/
|
|
107
126
|
onFocus() {
|
|
108
127
|
this.megaMenuLink.nativeElement.focus();
|
|
109
128
|
}
|
|
@@ -113,6 +132,9 @@ class EclMenuMegaItemComponent extends ECLBaseDirective {
|
|
|
113
132
|
}
|
|
114
133
|
this.menuItemKeydown.next(new EclMenuItemKeydownEvent(this, evt));
|
|
115
134
|
}
|
|
135
|
+
/**
|
|
136
|
+
* Adds specific classes to content children (icons or links).
|
|
137
|
+
*/
|
|
116
138
|
manageContentChildren() {
|
|
117
139
|
if (this.iconComponents) {
|
|
118
140
|
setTimeout(() => {
|
|
@@ -196,6 +218,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
|
|
|
196
218
|
args: ['click', ['$event']]
|
|
197
219
|
}] } });
|
|
198
220
|
|
|
221
|
+
/**
|
|
222
|
+
* This component acts as a wrapper for the second level of menu items, that are children of one root item.
|
|
223
|
+
* Provides functionality for some common events like keyboard navigation and manages relations between sub items.
|
|
224
|
+
*/
|
|
199
225
|
class EclMenuMegaComponent extends ECLBaseDirective {
|
|
200
226
|
get cssClasses() {
|
|
201
227
|
return [super.getCssClasses('ecl-menu__mega')].join(' ');
|
|
@@ -207,13 +233,20 @@ class EclMenuMegaComponent extends ECLBaseDirective {
|
|
|
207
233
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
208
234
|
this.isRtlDisplay = false;
|
|
209
235
|
this.menuItemSelect = new EventEmitter();
|
|
236
|
+
/**
|
|
237
|
+
* Used in keyboard navigation, when focus has to be moved to the parent item.
|
|
238
|
+
*/
|
|
210
239
|
this.menuMegaItemParentFocus = new EventEmitter();
|
|
240
|
+
/**
|
|
241
|
+
* Used when kyboard navigation with TAB reaches the last sub item.
|
|
242
|
+
*/
|
|
211
243
|
this.menuMegaLastItemTab = new EventEmitter();
|
|
212
244
|
this.destroy$ = new Subject();
|
|
213
245
|
this.differ = this.differs.find([]).create();
|
|
214
246
|
}
|
|
215
247
|
ngAfterContentInit() {
|
|
216
248
|
this.diff = this.differ.diff(this.eclMenuMegaItems);
|
|
249
|
+
// Subscribe to the events of each new added item.
|
|
217
250
|
this.createContentChildrenMenuObservable().subscribe(this.onMenuItemChanges.bind(this));
|
|
218
251
|
}
|
|
219
252
|
ngOnDestroy() {
|
|
@@ -347,6 +380,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
|
|
|
347
380
|
args: ['class']
|
|
348
381
|
}] } });
|
|
349
382
|
|
|
383
|
+
/**
|
|
384
|
+
* This component represents a root menu item. Adds styling and functionality to menu item.
|
|
385
|
+
*/
|
|
350
386
|
class EclMenuItemComponent extends ECLBaseDirective {
|
|
351
387
|
get cssClasses() {
|
|
352
388
|
return [
|
|
@@ -385,18 +421,34 @@ class EclMenuItemComponent extends ECLBaseDirective {
|
|
|
385
421
|
this.href = '';
|
|
386
422
|
this.target = '';
|
|
387
423
|
this.isCurrent = false;
|
|
424
|
+
/**
|
|
425
|
+
* Set to 'true', when item has more than 13 chidren and the overlay needs to use the full available space.
|
|
426
|
+
*/
|
|
388
427
|
this.isFull = false;
|
|
389
428
|
this.isHovered = false;
|
|
390
429
|
this.isMobileBreakpoint = false;
|
|
430
|
+
/**
|
|
431
|
+
* Used when menu has overlay, to show if the item is currently displayed.
|
|
432
|
+
*/
|
|
391
433
|
this.isVisible = true;
|
|
434
|
+
/**
|
|
435
|
+
* The default role of the item is 'listitem' and should not be changed.
|
|
436
|
+
*/
|
|
392
437
|
this.role = 'listitem';
|
|
393
438
|
this.menuItemSelect = new EventEmitter();
|
|
394
439
|
this.menuItemCaret = new EventEmitter();
|
|
440
|
+
/**
|
|
441
|
+
* Event that is emited on clicking the caret button to expand item's children in mobile mode.
|
|
442
|
+
*/
|
|
395
443
|
this.menuItemHover = new EventEmitter();
|
|
396
444
|
this.menuItemHoverOut = new EventEmitter();
|
|
397
445
|
this.menuMegaItemSelect = new EventEmitter();
|
|
398
446
|
this.menuItemFocus = new EventEmitter();
|
|
399
447
|
this.menuItemKeydown = new EventEmitter();
|
|
448
|
+
/**
|
|
449
|
+
* This event is emited when the keyboard nav reaches the last item in mobile view.
|
|
450
|
+
* Then the next focused element should be the 'close' btn.
|
|
451
|
+
*/
|
|
400
452
|
this.menuMegaLastItemTab = new EventEmitter();
|
|
401
453
|
this.destroy$ = new Subject();
|
|
402
454
|
afterNextRender(() => {
|
|
@@ -411,6 +463,7 @@ class EclMenuItemComponent extends ECLBaseDirective {
|
|
|
411
463
|
this.menuItemHoverOut.next(new EclMenuItemHoverOutEvent(this, evt));
|
|
412
464
|
}
|
|
413
465
|
ngAfterContentInit() {
|
|
466
|
+
// Subscibe to submenu component events.
|
|
414
467
|
if (this.submenu) {
|
|
415
468
|
this.submenu.menuItemSelect.pipe(takeUntil(this.destroy$)).subscribe((it) => {
|
|
416
469
|
this.menuMegaItemSelect.next(new EclMenuItemSelectEvent(it.menuItem, it.domEvent));
|
|
@@ -444,14 +497,25 @@ class EclMenuItemComponent extends ECLBaseDirective {
|
|
|
444
497
|
evt.stopPropagation();
|
|
445
498
|
}
|
|
446
499
|
}
|
|
500
|
+
/**
|
|
501
|
+
* When clicking the caret button, to expand item's children. Used in mobile view.
|
|
502
|
+
* @param evt
|
|
503
|
+
*/
|
|
447
504
|
onItemCaretClick(evt) {
|
|
448
505
|
this.menuItemCaret.next(new EclMenuItemCaretEvent(this, evt));
|
|
449
506
|
}
|
|
507
|
+
/**
|
|
508
|
+
* Manages the state when the item is focused, when navigating with keyboard and the navigation is coming from the submenu.
|
|
509
|
+
*/
|
|
450
510
|
onFocusFromSubmenu() {
|
|
451
511
|
this.onButtonFocus();
|
|
452
512
|
this.isHovered = false;
|
|
453
513
|
this.isExpanded = false;
|
|
454
514
|
}
|
|
515
|
+
/**
|
|
516
|
+
* Manages the state when the item is focused, when navigating with keyboard and the navigation is coming from
|
|
517
|
+
* the next root menu item.
|
|
518
|
+
*/
|
|
455
519
|
onFocusFromNext() {
|
|
456
520
|
if (this.menuButton) {
|
|
457
521
|
this.onButtonFocus();
|
|
@@ -460,9 +524,17 @@ class EclMenuItemComponent extends ECLBaseDirective {
|
|
|
460
524
|
this.onLinkFocus();
|
|
461
525
|
}
|
|
462
526
|
}
|
|
527
|
+
/**
|
|
528
|
+
* Manages the state when the item is focused, when navigating with keyboard and the navigation is coming from
|
|
529
|
+
* the previous root menu item.
|
|
530
|
+
*/
|
|
463
531
|
onFocusFromPrev() {
|
|
464
532
|
this.onLinkFocus();
|
|
465
533
|
}
|
|
534
|
+
/**
|
|
535
|
+
* Manages the keyboard navigation when the current element is the button of the menu item.
|
|
536
|
+
* @param evt
|
|
537
|
+
*/
|
|
466
538
|
onButtonKeydown(evt) {
|
|
467
539
|
switch (evt.key) {
|
|
468
540
|
case KeyCode.ARROW_DOWN: {
|
|
@@ -509,6 +581,10 @@ class EclMenuItemComponent extends ECLBaseDirective {
|
|
|
509
581
|
}
|
|
510
582
|
}
|
|
511
583
|
}
|
|
584
|
+
/**
|
|
585
|
+
* Manages the keyboard navigation when the current element is the <a> tag of the menu item.
|
|
586
|
+
* @param evt
|
|
587
|
+
*/
|
|
512
588
|
onLinkKeydown(evt) {
|
|
513
589
|
switch (evt.key) {
|
|
514
590
|
case KeyCode.ARROW_DOWN: {
|
|
@@ -546,6 +622,13 @@ class EclMenuItemComponent extends ECLBaseDirective {
|
|
|
546
622
|
}
|
|
547
623
|
}
|
|
548
624
|
}
|
|
625
|
+
/**
|
|
626
|
+
* This method calculates height and width of an item, depending the maximum of lines(rows) allowed.
|
|
627
|
+
* Depends on the 'maxLines' property of the parent menu component.
|
|
628
|
+
* @param maxLines - property that sets the maximum possible lines in a menu item.
|
|
629
|
+
* @param isMobileBreakpoint
|
|
630
|
+
* @returns
|
|
631
|
+
*/
|
|
549
632
|
checkMenuItem(maxLines, isMobileBreakpoint) {
|
|
550
633
|
if (maxLines < 1)
|
|
551
634
|
return;
|
|
@@ -592,6 +675,13 @@ class EclMenuItemComponent extends ECLBaseDirective {
|
|
|
592
675
|
getMenuItemLinkMaxHeight(linkStyle, maxLines) {
|
|
593
676
|
return parseInt(linkStyle.lineHeight, 10) * maxLines + parseInt(linkStyle.paddingTop, 10) + parseInt(linkStyle.paddingBottom, 10);
|
|
594
677
|
}
|
|
678
|
+
/**
|
|
679
|
+
* Calculates width of a menu item, depending on maximum lines of text allowed.
|
|
680
|
+
* @param currentLink
|
|
681
|
+
* @param maxLines
|
|
682
|
+
* @param linkStyle
|
|
683
|
+
* @returns
|
|
684
|
+
*/
|
|
595
685
|
changeMenuItemLinkWidth(currentLink, maxLines, linkStyle) {
|
|
596
686
|
this.renderer.setStyle(currentLink, 'white-space', 'nowrap');
|
|
597
687
|
const linkWidth = currentLink.offsetWidth;
|
|
@@ -653,7 +743,7 @@ class EclMenuItemComponent extends ECLBaseDirective {
|
|
|
653
743
|
});
|
|
654
744
|
}
|
|
655
745
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: EclMenuItemComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1$1.BreakpointObserver }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
656
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: EclMenuItemComponent, isStandalone: false, selector: "ecl-menu-item", inputs: { id: "id", label: "label", toggleAriaLabel: "toggleAriaLabel", routerLink: "routerLink", queryParams: "queryParams", queryParamsHandling: "queryParamsHandling", href: "href", target: "target", isCurrent: "isCurrent", linkExtraAttributes: "linkExtraAttributes" }, outputs: { menuItemSelect: "menuItemSelect", menuItemCaret: "menuItemCaret", menuItemHover: "menuItemHover", menuItemHoverOut: "menuItemHoverOut", menuMegaItemSelect: "menuMegaItemSelect", menuItemFocus: "menuItemFocus", menuItemKeydown: "menuItemKeydown", menuMegaLastItemTab: "menuMegaLastItemTab" }, host: { listeners: { "mouseenter": "onItemMouseEnter($event)", "mouseleave": "onItemMouseLeave($event)" }, properties: { "attr.role": "this.role", "class": "this.cssClasses", "class.ecl-menu__item--has-children": "this.hasEclChildrenDataAttribute", "attr.aria-haspopup": "this.hasEclChildrenDataAttribute", "attr.aria-expanded": "this.isAriaExpanded" } }, queries: [{ propertyName: "submenu", first: true, predicate: i0.forwardRef(() => EclMenuMegaComponent), descendants: true }], viewQueries: [{ propertyName: "menuLink", first: true, predicate: ["menuLink"], descendants: true }, { propertyName: "menuButton", first: true, predicate: EclButtonComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "@if (href) {\n <a eclLink\n #menuLink\n variant=\"standalone\"\n [href]=\"href\"\n [target]=\"target\"\n class=\"ecl-menu__link\"\n [class.ecl-menu__link--current]=\"isCurrent\"\n [attr.aria-current]=\"ariaCurrent\"\n (focus)=\"onItemFocus($event)\"\n (click)=\"onItemClick($event)\"\n (keydown)=\"onLinkKeydown($event)\">\n {{ label }}\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </a>\n} @else {\n <a eclLink\n #menuLink\n variant=\"standalone\"\n [attr.tabindex]=\"tabindex || 0\"\n [routerLink]=\"routerLink\"\n [queryParams]=\"queryParams\"\n [queryParamsHandling]=\"queryParamsHandling\"\n class=\"ecl-menu__link\"\n [class.ecl-menu__link--current]=\"isCurrent\"\n [attr.aria-current]=\"ariaCurrent\"\n (focus)=\"onItemFocus($event)\"\n (click)=\"onItemClick($event)\"\n (keydown)=\"onLinkKeydown($event)\">\n {{ label }}\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </a>\n}\n\n@if (hasChildren) {\n @if (isMobileBreakpoint) {\n <button\n eclButton\n isIconOnly\n variant=\"ghost\"\n class=\"ecl-menu__button-caret\"\n type=\"button\"\n [attr.aria-label]=\"toggleAriaLabel || 'Access item children'\"\n (click)=\"onItemCaretClick($event)\"\n (keydown)=\"onButtonKeydown($event)\">\n <ecl-icon icon=\"corner-arrow\" size=\"xs\" transform=\"rotate-180\" class=\"ecl-button__icon\"></ecl-icon>\n </button>\n } @else {\n <button\n eclButton\n isIconOnly\n variant=\"ghost\"\n class=\"ecl-menu__button-caret\"\n type=\"button\"\n [attr.aria-label]=\"toggleAriaLabel || 'Access item children'\"\n [attr.aria-expanded]=\"isAriaExpanded\"\n (keydown)=\"onButtonKeydown($event)\">\n <ecl-icon icon=\"corner-arrow\" size=\"xs\" transform=\"rotate-180\" class=\"ecl-button__icon\"></ecl-icon>\n </button>\n }\n}\n\n<ng-content select=\"ecl-menu-mega\"></ng-content>\n\n<ng-template #content>\n <ng-content></ng-content>\n</ng-template>\n", dependencies: [{ kind: "component", type:
|
|
746
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: EclMenuItemComponent, isStandalone: false, selector: "ecl-menu-item", inputs: { id: "id", label: "label", toggleAriaLabel: "toggleAriaLabel", routerLink: "routerLink", queryParams: "queryParams", queryParamsHandling: "queryParamsHandling", href: "href", target: "target", isCurrent: "isCurrent", linkExtraAttributes: "linkExtraAttributes" }, outputs: { menuItemSelect: "menuItemSelect", menuItemCaret: "menuItemCaret", menuItemHover: "menuItemHover", menuItemHoverOut: "menuItemHoverOut", menuMegaItemSelect: "menuMegaItemSelect", menuItemFocus: "menuItemFocus", menuItemKeydown: "menuItemKeydown", menuMegaLastItemTab: "menuMegaLastItemTab" }, host: { listeners: { "mouseenter": "onItemMouseEnter($event)", "mouseleave": "onItemMouseLeave($event)" }, properties: { "attr.role": "this.role", "class": "this.cssClasses", "class.ecl-menu__item--has-children": "this.hasEclChildrenDataAttribute", "attr.aria-haspopup": "this.hasEclChildrenDataAttribute", "attr.aria-expanded": "this.isAriaExpanded" } }, queries: [{ propertyName: "submenu", first: true, predicate: i0.forwardRef(() => EclMenuMegaComponent), descendants: true }], viewQueries: [{ propertyName: "menuLink", first: true, predicate: ["menuLink"], descendants: true }, { propertyName: "menuButton", first: true, predicate: EclButtonComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "@if (href) {\n <a eclLink\n #menuLink\n variant=\"standalone\"\n [href]=\"href\"\n [target]=\"target\"\n class=\"ecl-menu__link\"\n [class.ecl-menu__link--current]=\"isCurrent\"\n [attr.aria-current]=\"ariaCurrent\"\n (focus)=\"onItemFocus($event)\"\n (click)=\"onItemClick($event)\"\n (keydown)=\"onLinkKeydown($event)\">\n {{ label }}\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </a>\n} @else {\n <a eclLink\n #menuLink\n variant=\"standalone\"\n [attr.tabindex]=\"tabindex || 0\"\n [routerLink]=\"routerLink\"\n [queryParams]=\"queryParams\"\n [queryParamsHandling]=\"queryParamsHandling\"\n class=\"ecl-menu__link\"\n [class.ecl-menu__link--current]=\"isCurrent\"\n [attr.aria-current]=\"ariaCurrent\"\n (focus)=\"onItemFocus($event)\"\n (click)=\"onItemClick($event)\"\n (keydown)=\"onLinkKeydown($event)\">\n {{ label }}\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </a>\n}\n\n@if (hasChildren) {\n @if (isMobileBreakpoint) {\n <button\n eclButton\n isIconOnly\n variant=\"ghost\"\n class=\"ecl-menu__button-caret\"\n type=\"button\"\n [attr.aria-label]=\"toggleAriaLabel || 'Access item children'\"\n (click)=\"onItemCaretClick($event)\"\n (keydown)=\"onButtonKeydown($event)\">\n <ecl-icon icon=\"corner-arrow\" size=\"xs\" transform=\"rotate-180\" class=\"ecl-button__icon\"></ecl-icon>\n </button>\n } @else {\n <button\n eclButton\n isIconOnly\n variant=\"ghost\"\n class=\"ecl-menu__button-caret\"\n type=\"button\"\n [attr.aria-label]=\"toggleAriaLabel || 'Access item children'\"\n [attr.aria-expanded]=\"isAriaExpanded\"\n (keydown)=\"onButtonKeydown($event)\">\n <ecl-icon icon=\"corner-arrow\" size=\"xs\" transform=\"rotate-180\" class=\"ecl-button__icon\"></ecl-icon>\n </button>\n }\n}\n\n<ng-content select=\"ecl-menu-mega\"></ng-content>\n\n<ng-template #content>\n <ng-content></ng-content>\n</ng-template>\n", dependencies: [{ kind: "component", type: i3.EclButtonComponent, selector: "button[eclButton], button[ecl-button], a[eclButton]", inputs: ["isIconOnly", "variant", "containerStyleClass"] }, { kind: "component", type: i3$1.EclIconComponent, selector: "ecl-icon", inputs: ["iconSet", "icon", "size", "color", "transform", "ariaLabelledby", "role", "title", "ariaHidden", "focusable", "isFlipHorizontal"] }, { kind: "directive", type: i4.EclLinkDirective, selector: "[eclLink]", inputs: ["isInverted", "isIconOnly", "isNoVisited", "variant"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
657
747
|
}
|
|
658
748
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: EclMenuItemComponent, decorators: [{
|
|
659
749
|
type: Component,
|
|
@@ -726,6 +816,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
|
|
|
726
816
|
args: ['mouseleave', ['$event']]
|
|
727
817
|
}] } });
|
|
728
818
|
|
|
819
|
+
/**
|
|
820
|
+
* The horizontal menu is used as a primary navigation and it can display up to 2 levels.
|
|
821
|
+
* It directs users to the pages where they need to visit.
|
|
822
|
+
*/
|
|
729
823
|
class EclMenuComponent extends ECLBaseDirective {
|
|
730
824
|
get cssClasses() {
|
|
731
825
|
return [
|
|
@@ -734,7 +828,7 @@ class EclMenuComponent extends ECLBaseDirective {
|
|
|
734
828
|
this.isRtl ? 'ecl-menu--rtl' : '',
|
|
735
829
|
].join(' ');
|
|
736
830
|
}
|
|
737
|
-
constructor(el, differs, cdkBreakpointObserver, renderer, eclRtlService, eclUserDeviceService,
|
|
831
|
+
constructor(el, differs, cdkBreakpointObserver, renderer, eclRtlService, eclUserDeviceService, platformId) {
|
|
738
832
|
super();
|
|
739
833
|
this.el = el;
|
|
740
834
|
this.differs = differs;
|
|
@@ -742,12 +836,18 @@ class EclMenuComponent extends ECLBaseDirective {
|
|
|
742
836
|
this.renderer = renderer;
|
|
743
837
|
this.eclRtlService = eclRtlService;
|
|
744
838
|
this.eclUserDeviceService = eclUserDeviceService;
|
|
745
|
-
this.eclHeaderMenuComunicationService = eclHeaderMenuComunicationService;
|
|
746
839
|
this.platformId = platformId;
|
|
840
|
+
/**
|
|
841
|
+
* Adds some additional styling for the menu items' labels.
|
|
842
|
+
* Depending on that value, the labels can drop on 2-3 lines, if they are longer.
|
|
843
|
+
*/
|
|
747
844
|
this.maxLines = 0;
|
|
748
845
|
this.menuItemSelect = new EventEmitter();
|
|
749
846
|
this.openHamburgerMenu = new EventEmitter();
|
|
750
847
|
this.isHamburgerMenuOpened = false;
|
|
848
|
+
/**
|
|
849
|
+
* The default role is 'navigation', should not be changed.
|
|
850
|
+
*/
|
|
751
851
|
this.role = 'navigation';
|
|
752
852
|
this.isTablet = false;
|
|
753
853
|
this.isMenuHidden = false;
|
|
@@ -755,6 +855,9 @@ class EclMenuComponent extends ECLBaseDirective {
|
|
|
755
855
|
this.hasOverflow = false;
|
|
756
856
|
this.isShowPrevBtn = false;
|
|
757
857
|
this.isShowNextBtn = false;
|
|
858
|
+
/**
|
|
859
|
+
* Show/hide the specific class for the 'previous' and 'next' buttons.
|
|
860
|
+
*/
|
|
758
861
|
this.isPrevBtnCurrentClass = false;
|
|
759
862
|
this.menuListStyleRight = 'auto';
|
|
760
863
|
this.menuListStyleLeft = 'auto';
|
|
@@ -767,9 +870,6 @@ class EclMenuComponent extends ECLBaseDirective {
|
|
|
767
870
|
this.TIMEOUT_INTERVAL = 150;
|
|
768
871
|
this.differ = this.differs.find([]).create();
|
|
769
872
|
afterNextRender(() => {
|
|
770
|
-
eclHeaderMenuComunicationService.bottomSpaceY$.pipe(takeUntil(this.destroy$)).subscribe(value => {
|
|
771
|
-
this.parentHeaderBottomSpaceY = value;
|
|
772
|
-
});
|
|
773
873
|
clearTimeout(this.resizeTimer);
|
|
774
874
|
this.observeElementSizeChanges();
|
|
775
875
|
this.resizeTimer = setTimeout(() => {
|
|
@@ -779,6 +879,10 @@ class EclMenuComponent extends ECLBaseDirective {
|
|
|
779
879
|
this.checkIsTabletDevice();
|
|
780
880
|
});
|
|
781
881
|
}
|
|
882
|
+
/**
|
|
883
|
+
* On 'esc' key clicked - close/hide any open menus.
|
|
884
|
+
* @param event
|
|
885
|
+
*/
|
|
782
886
|
keyEvent(event) {
|
|
783
887
|
if (event.key === 'Escape') {
|
|
784
888
|
this.closeRootMenu();
|
|
@@ -794,6 +898,7 @@ class EclMenuComponent extends ECLBaseDirective {
|
|
|
794
898
|
}
|
|
795
899
|
}
|
|
796
900
|
ngAfterContentInit() {
|
|
901
|
+
// Subscribe to all menu items' events.
|
|
797
902
|
this.observeRootMenuItemsChanges();
|
|
798
903
|
}
|
|
799
904
|
ngOnDestroy() {
|
|
@@ -802,19 +907,25 @@ class EclMenuComponent extends ECLBaseDirective {
|
|
|
802
907
|
this.hammertime?.off('swipeleft');
|
|
803
908
|
this.hammertime?.off('swiperight');
|
|
804
909
|
}
|
|
910
|
+
/**
|
|
911
|
+
* Swipe left gesture handling
|
|
912
|
+
*/
|
|
805
913
|
onSwipeLeft() {
|
|
806
914
|
if (this.isMobileBreakpoint) {
|
|
807
915
|
this.onOpenHamburgerMenu();
|
|
808
916
|
}
|
|
809
917
|
}
|
|
918
|
+
/**
|
|
919
|
+
* Swipe right gesture handling
|
|
920
|
+
*/
|
|
810
921
|
onSwipeRight() {
|
|
811
922
|
if (this.isMobileBreakpoint) {
|
|
812
923
|
this.onCloseHamburgerMenu();
|
|
813
924
|
}
|
|
814
925
|
}
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
926
|
+
/**
|
|
927
|
+
* Manages state on open/close button click, used in mobile view.
|
|
928
|
+
*/
|
|
818
929
|
onMenuOpenCloseClick(evt) {
|
|
819
930
|
if (this.isHamburgerMenuOpened) {
|
|
820
931
|
this.onCloseHamburgerMenu();
|
|
@@ -824,19 +935,31 @@ class EclMenuComponent extends ECLBaseDirective {
|
|
|
824
935
|
}
|
|
825
936
|
evt.preventDefault();
|
|
826
937
|
}
|
|
938
|
+
/**
|
|
939
|
+
* Manages state on close button click, used in mobile view, in EU theme.
|
|
940
|
+
*/
|
|
827
941
|
onMenuCloseClick(evt) {
|
|
828
942
|
this.onCloseHamburgerMenu();
|
|
829
943
|
this.closeRootMenu();
|
|
830
944
|
evt.preventDefault();
|
|
831
945
|
}
|
|
946
|
+
/**
|
|
947
|
+
* Manages state on back button click, used in mobile view.
|
|
948
|
+
*/
|
|
832
949
|
onMenuBackClick(evt) {
|
|
833
950
|
this.closeRootMenu();
|
|
834
951
|
evt.preventDefault();
|
|
835
952
|
}
|
|
953
|
+
/**
|
|
954
|
+
* Manages state on 'previous' button click. Used in desktop view. Slides the items and shows the previous hidden items.
|
|
955
|
+
*/
|
|
836
956
|
onPrevBtnClick() {
|
|
837
957
|
this.slideMenuInitialState();
|
|
838
958
|
this.refreshDisplay();
|
|
839
959
|
}
|
|
960
|
+
/**
|
|
961
|
+
* Manages state on 'next' button click. Used in desktop view. Slides the items and shows the next hidden items.
|
|
962
|
+
*/
|
|
840
963
|
onNextBtnClick() {
|
|
841
964
|
this.isShowPrevBtn = true;
|
|
842
965
|
this.isShowNextBtn = false;
|
|
@@ -848,6 +971,11 @@ class EclMenuComponent extends ECLBaseDirective {
|
|
|
848
971
|
}
|
|
849
972
|
this.refreshDisplay();
|
|
850
973
|
}
|
|
974
|
+
/**
|
|
975
|
+
* Postions overlay, depending on parent header position.
|
|
976
|
+
* This method is called from parent header, which uses the menu for navigation.
|
|
977
|
+
* @param bottomSpaceY
|
|
978
|
+
*/
|
|
851
979
|
positionMenuOverlay(bottomSpaceY) {
|
|
852
980
|
if (this.isMobileBreakpoint && bottomSpaceY) {
|
|
853
981
|
this.overlayStyleTop = bottomSpaceY;
|
|
@@ -926,6 +1054,9 @@ class EclMenuComponent extends ECLBaseDirective {
|
|
|
926
1054
|
this.manageOverflowBeginning();
|
|
927
1055
|
}
|
|
928
1056
|
}
|
|
1057
|
+
/**
|
|
1058
|
+
* Manage items visibility when using overlfow. For both rtl and ltr cases.
|
|
1059
|
+
*/
|
|
929
1060
|
manageOverflowBeginning() {
|
|
930
1061
|
if (this.isRtl) {
|
|
931
1062
|
this.eclRootMenuItems
|
|
@@ -939,6 +1070,9 @@ class EclMenuComponent extends ECLBaseDirective {
|
|
|
939
1070
|
.forEach((el) => (el.isVisible = true));
|
|
940
1071
|
}
|
|
941
1072
|
}
|
|
1073
|
+
/**
|
|
1074
|
+
* Manage items visibility when using overlfow, with the 'next' button. For both rtl and ltr cases.
|
|
1075
|
+
*/
|
|
942
1076
|
manageOverflowEnd() {
|
|
943
1077
|
this.isShowNextBtn = true;
|
|
944
1078
|
if (this.isRtl) {
|
|
@@ -1318,13 +1452,13 @@ class EclMenuComponent extends ECLBaseDirective {
|
|
|
1318
1452
|
}
|
|
1319
1453
|
});
|
|
1320
1454
|
}
|
|
1321
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: EclMenuComponent, deps: [{ token: i0.ElementRef }, { token: i0.IterableDiffers }, { token: i1$1.BreakpointObserver }, { token: i0.Renderer2 }, { token: i2$1.EclRtlService }, { token: i2$1.EclUserDeviceService }, { token:
|
|
1322
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: EclMenuComponent, isStandalone: false, selector: "ecl-menu", inputs: { maxLines: ["maxLines", "maxLines", numberAttribute] }, outputs: { menuItemSelect: "menuItemSelect", openHamburgerMenu: "openHamburgerMenu" }, host: { listeners: { "keydown": "keyEvent($event)" }, properties: { "class": "this.cssClasses", "attr.aria-expanded": "this.isHamburgerMenuOpened", "attr.role": "this.role", "class.ecl-menu--forced-mobile": "this.isTablet", "class.ecl-menu--forced-close": "this.isMenuHidden" } }, queries: [{ propertyName: "eclRootMenuItems", predicate: EclMenuItemComponent }], viewQueries: [{ propertyName: "innerSection", first: true, predicate: ["innerSection"], descendants: true }, { propertyName: "itemsList", first: true, predicate: ["itemsList"], descendants: true }, { propertyName: "btnPrevious", first: true, predicate: ["btnPrevious"], descendants: true }, { propertyName: "btnNext", first: true, predicate: ["btnNext"], descendants: true }, { propertyName: "openCloseButton", first: true, predicate: ["openCloseButton"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"ecl-menu__overlay\"
|
|
1455
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: EclMenuComponent, deps: [{ token: i0.ElementRef }, { token: i0.IterableDiffers }, { token: i1$1.BreakpointObserver }, { token: i0.Renderer2 }, { token: i2$1.EclRtlService }, { token: i2$1.EclUserDeviceService }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1456
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: EclMenuComponent, isStandalone: false, selector: "ecl-menu", inputs: { maxLines: ["maxLines", "maxLines", numberAttribute] }, outputs: { menuItemSelect: "menuItemSelect", openHamburgerMenu: "openHamburgerMenu" }, host: { listeners: { "keydown": "keyEvent($event)" }, properties: { "class": "this.cssClasses", "attr.aria-expanded": "this.isHamburgerMenuOpened", "attr.role": "this.role", "class.ecl-menu--forced-mobile": "this.isTablet", "class.ecl-menu--forced-close": "this.isMenuHidden" } }, queries: [{ propertyName: "eclRootMenuItems", predicate: EclMenuItemComponent }], viewQueries: [{ propertyName: "innerSection", first: true, predicate: ["innerSection"], descendants: true }, { propertyName: "itemsList", first: true, predicate: ["itemsList"], descendants: true }, { propertyName: "btnPrevious", first: true, predicate: ["btnPrevious"], descendants: true }, { propertyName: "btnNext", first: true, predicate: ["btnNext"], descendants: true }, { propertyName: "openCloseButton", first: true, predicate: ["openCloseButton"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"ecl-menu__overlay\" [style.top.px]=\"overlayStyleTop\"></div>\n<div class=\"ecl-container ecl-menu__container\">\n <button #openCloseButton eclButton isIconOnly variant=\"tertiary\" type=\"button\" class=\"ecl-menu__open\"\n (click)=\"onMenuOpenCloseClick($event)\" [attr.aria-expanded]=\"isHamburgerMenuOpened\">\n <ecl-icon icon=\"hamburger\" size=\"m\"></ecl-icon>\n <ecl-icon icon=\"close\" size=\"m\"></ecl-icon>\n @if (isHamburgerMenuOpened) {\n <span eclButtonLabel>{{ 'ecl.common.CLOSE' | translate }}</span>\n } @else {\n <span eclButtonLabel>{{ 'ecl.menu.MENU' | translate }}</span>\n }\n </button>\n\n <section\n class=\"ecl-menu__inner\"\n #innerSection\n [class.ecl-menu__inner--expanded]=\"isMenuExpandedInMobile\"\n [class.ecl-menu__inner--has-overflow]=\"hasOverflow\"\n aria-label=\"Menu\" [style.top.px]=\"innerStyleTop\">\n <header class=\"ecl-menu__inner-header\">\n <button\n eclButton\n variant=\"ghost\"\n class=\"ecl-menu__close\"\n containerStyleClass=\"ecl-menu__close-container\"\n (click)=\"onMenuCloseClick($event)\">\n <span eclButtonLabel>{{ 'ecl.common.CLOSE' | translate }}</span>\n <ecl-icon icon=\"close\" size=\"s\"></ecl-icon>\n </button>\n\n <div class=\"ecl-menu__title\">{{ 'ecl.menu.MENU' | translate }}</div>\n\n <button eclButton variant=\"ghost\" class=\"ecl-menu__back\" (click)=\"onMenuBackClick($event)\">\n <ecl-icon icon=\"corner-arrow\" size=\"s\" transform=\"rotate-270\"></ecl-icon>\n <span eclButtonLabel>{{ 'ecl.common.BACK' | translate }}</span>\n </button>\n </header>\n <button\n eclButton\n #btnPrevious\n tabindex=\"-1\"\n variant=\"ghost\"\n isIconOnly\n class=\"ecl-menu__item ecl-menu__items-previous\"\n [class.ecl-menu__item--current]=\"isPrevBtnCurrentClass\"\n [style.display]=\"isShowPrevBtn ? 'flex' : 'none'\"\n (click)=\"onPrevBtnClick()\">\n <ecl-icon icon=\"corner-arrow\" size=\"s\" transform=\"rotate-270\"></ecl-icon>\n <span eclButtonLabel class=\"ecl-u-sr-only\">{{ 'ecl.common.PREVIOUS' | translate }}</span>\n </button>\n <button\n eclButton\n #btnNext\n variant=\"ghost\"\n tabindex=\"-1\"\n isIconOnly\n class=\"ecl-menu__item ecl-menu__items-next\"\n [class.ecl-menu__item--current]=\"!isPrevBtnCurrentClass\"\n [style.display]=\"isShowNextBtn ? 'flex' : 'none'\"\n (click)=\"onNextBtnClick()\">\n <ecl-icon icon=\"corner-arrow\" size=\"s\" transform=\"rotate-90\"></ecl-icon>\n <span eclButtonLabel class=\"ecl-u-sr-only\">{{ 'ecl.common.NEXT' | translate }}</span>\n </button>\n <ul class=\"ecl-menu__list\" #itemsList [style.right]=\"menuListStyleRight\" [style.left]=\"menuListStyleLeft\">\n <ng-content></ng-content>\n </ul>\n </section>\n</div>\n", styles: [":host{display:block}\n"], dependencies: [{ kind: "component", type: i3.EclButtonComponent, selector: "button[eclButton], button[ecl-button], a[eclButton]", inputs: ["isIconOnly", "variant", "containerStyleClass"] }, { kind: "directive", type: i3.EclButtonLabelDirective, selector: "[eclButtonLabel]" }, { kind: "component", type: i3$1.EclIconComponent, selector: "ecl-icon", inputs: ["iconSet", "icon", "size", "color", "transform", "ariaLabelledby", "role", "title", "ariaHidden", "focusable", "isFlipHorizontal"] }, { kind: "pipe", type: i5.TranslatePipe, name: "translate" }] }); }
|
|
1323
1457
|
}
|
|
1324
1458
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: EclMenuComponent, decorators: [{
|
|
1325
1459
|
type: Component,
|
|
1326
|
-
args: [{ selector: 'ecl-menu', standalone: false, template: "<div class=\"ecl-menu__overlay\"
|
|
1327
|
-
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.IterableDiffers }, { type: i1$1.BreakpointObserver }, { type: i0.Renderer2 }, { type: i2$1.EclRtlService }, { type: i2$1.EclUserDeviceService }, { type:
|
|
1460
|
+
args: [{ selector: 'ecl-menu', standalone: false, template: "<div class=\"ecl-menu__overlay\" [style.top.px]=\"overlayStyleTop\"></div>\n<div class=\"ecl-container ecl-menu__container\">\n <button #openCloseButton eclButton isIconOnly variant=\"tertiary\" type=\"button\" class=\"ecl-menu__open\"\n (click)=\"onMenuOpenCloseClick($event)\" [attr.aria-expanded]=\"isHamburgerMenuOpened\">\n <ecl-icon icon=\"hamburger\" size=\"m\"></ecl-icon>\n <ecl-icon icon=\"close\" size=\"m\"></ecl-icon>\n @if (isHamburgerMenuOpened) {\n <span eclButtonLabel>{{ 'ecl.common.CLOSE' | translate }}</span>\n } @else {\n <span eclButtonLabel>{{ 'ecl.menu.MENU' | translate }}</span>\n }\n </button>\n\n <section\n class=\"ecl-menu__inner\"\n #innerSection\n [class.ecl-menu__inner--expanded]=\"isMenuExpandedInMobile\"\n [class.ecl-menu__inner--has-overflow]=\"hasOverflow\"\n aria-label=\"Menu\" [style.top.px]=\"innerStyleTop\">\n <header class=\"ecl-menu__inner-header\">\n <button\n eclButton\n variant=\"ghost\"\n class=\"ecl-menu__close\"\n containerStyleClass=\"ecl-menu__close-container\"\n (click)=\"onMenuCloseClick($event)\">\n <span eclButtonLabel>{{ 'ecl.common.CLOSE' | translate }}</span>\n <ecl-icon icon=\"close\" size=\"s\"></ecl-icon>\n </button>\n\n <div class=\"ecl-menu__title\">{{ 'ecl.menu.MENU' | translate }}</div>\n\n <button eclButton variant=\"ghost\" class=\"ecl-menu__back\" (click)=\"onMenuBackClick($event)\">\n <ecl-icon icon=\"corner-arrow\" size=\"s\" transform=\"rotate-270\"></ecl-icon>\n <span eclButtonLabel>{{ 'ecl.common.BACK' | translate }}</span>\n </button>\n </header>\n <button\n eclButton\n #btnPrevious\n tabindex=\"-1\"\n variant=\"ghost\"\n isIconOnly\n class=\"ecl-menu__item ecl-menu__items-previous\"\n [class.ecl-menu__item--current]=\"isPrevBtnCurrentClass\"\n [style.display]=\"isShowPrevBtn ? 'flex' : 'none'\"\n (click)=\"onPrevBtnClick()\">\n <ecl-icon icon=\"corner-arrow\" size=\"s\" transform=\"rotate-270\"></ecl-icon>\n <span eclButtonLabel class=\"ecl-u-sr-only\">{{ 'ecl.common.PREVIOUS' | translate }}</span>\n </button>\n <button\n eclButton\n #btnNext\n variant=\"ghost\"\n tabindex=\"-1\"\n isIconOnly\n class=\"ecl-menu__item ecl-menu__items-next\"\n [class.ecl-menu__item--current]=\"!isPrevBtnCurrentClass\"\n [style.display]=\"isShowNextBtn ? 'flex' : 'none'\"\n (click)=\"onNextBtnClick()\">\n <ecl-icon icon=\"corner-arrow\" size=\"s\" transform=\"rotate-90\"></ecl-icon>\n <span eclButtonLabel class=\"ecl-u-sr-only\">{{ 'ecl.common.NEXT' | translate }}</span>\n </button>\n <ul class=\"ecl-menu__list\" #itemsList [style.right]=\"menuListStyleRight\" [style.left]=\"menuListStyleLeft\">\n <ng-content></ng-content>\n </ul>\n </section>\n</div>\n", styles: [":host{display:block}\n"] }]
|
|
1461
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.IterableDiffers }, { type: i1$1.BreakpointObserver }, { type: i0.Renderer2 }, { type: i2$1.EclRtlService }, { type: i2$1.EclUserDeviceService }, { type: undefined, decorators: [{
|
|
1328
1462
|
type: Inject,
|
|
1329
1463
|
args: [PLATFORM_ID]
|
|
1330
1464
|
}] }], propDecorators: { maxLines: [{
|