@eui/ecl 22.0.0-alpha.39 → 22.0.0-alpha.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 +28 -0
- package/docs/components/EclAddToCalendarComponent.html +42 -3
- package/docs/components/EclAnimatedNumbersComponent.html +42 -3
- package/docs/components/EclAnimatedNumbersItemComponent.html +42 -3
- package/docs/components/EclAppComponent.html +26 -3
- package/docs/components/EclBannerComponent.html +42 -3
- package/docs/components/EclBlockquoteComponent.html +42 -3
- package/docs/components/EclBreadcrumbComponent.html +104 -4
- package/docs/components/EclBreadcrumbSegmentComponent.html +26 -3
- package/docs/components/EclButtonComponent.html +42 -3
- package/docs/components/EclCardBodyComponent.html +42 -3
- package/docs/components/EclCardComponent.html +42 -3
- package/docs/components/EclCarouselComponent.html +26 -3
- package/docs/components/EclCarouselItemComponent.html +26 -3
- package/docs/components/EclCategoryFilterComponent.html +42 -3
- package/docs/components/EclCategoryFilterItemComponent.html +26 -3
- package/docs/components/EclCategoryFilterListComponent.html +42 -3
- package/docs/components/EclCheckboxHelpComponent.html +42 -3
- package/docs/components/EclCheckboxLabelComponent.html +42 -3
- package/docs/components/EclContentBlockComponent.html +42 -3
- package/docs/components/EclContentItemComponent.html +42 -3
- package/docs/components/EclDateBlockComponent.html +42 -3
- package/docs/components/EclDescriptionListDefinitionComponent.html +42 -3
- package/docs/components/EclExpandableComponent.html +21 -58
- package/docs/components/EclFactFiguresComponent.html +42 -3
- package/docs/components/EclFactFiguresItemComponent.html +42 -3
- package/docs/components/EclFactFiguresViewAllComponent.html +42 -3
- package/docs/components/EclFeaturedComponent.html +42 -3
- package/docs/components/EclFeaturedItemComponent.html +42 -3
- package/docs/components/EclFeaturedItemDescriptionComponent.html +42 -3
- package/docs/components/EclFileComponent.html +26 -3
- package/docs/components/EclFileItemComponent.html +42 -3
- package/docs/components/EclFileItemsComponent.html +26 -3
- package/docs/components/EclFileListsComponent.html +42 -3
- package/docs/components/EclFormGroupComponent.html +42 -3
- package/docs/components/EclFormLabelComponent.html +42 -3
- package/docs/components/EclGalleryComponent.html +26 -3
- package/docs/components/EclGalleryItemComponent.html +26 -3
- package/docs/components/EclHighlightBoxComponent.html +42 -3
- package/docs/components/EclHighlightedSearchComponent.html +26 -3
- package/docs/components/EclInpageNavigationComponent.html +26 -3
- package/docs/components/EclInpageNavigationItemComponent.html +26 -3
- package/docs/components/EclLayoutWrapperComponent.html +42 -3
- package/docs/components/EclListIllustrationComponent.html +42 -3
- package/docs/components/EclListIllustrationItemComponent.html +42 -3
- package/docs/components/EclLoadingIndicatorComponent.html +42 -3
- package/docs/components/EclMediaContainerComponent.html +42 -3
- package/docs/components/EclMegaMenuComponent.html +26 -3
- package/docs/components/EclMegaMenuFeaturedComponent.html +42 -3
- package/docs/components/EclMegaMenuInfoComponent.html +42 -3
- package/docs/components/EclMegaMenuItemComponent.html +26 -3
- package/docs/components/EclMegaMenuSubitemComponent.html +26 -3
- package/docs/components/EclMenuComponent.html +26 -3
- package/docs/components/EclMenuItemComponent.html +26 -3
- package/docs/components/EclMenuMegaComponent.html +26 -3
- package/docs/components/EclMenuMegaItemComponent.html +26 -3
- package/docs/components/EclModalBodyComponent.html +42 -3
- package/docs/components/EclModalComponent.html +26 -3
- package/docs/components/EclModalFooterComponent.html +42 -3
- package/docs/components/EclModalHeaderComponent.html +26 -3
- package/docs/components/EclMultiselectComponent.html +26 -3
- package/docs/components/EclMultiselectDropdownComponent.html +27 -4
- package/docs/components/EclMultiselectInputComponent.html +26 -3
- package/docs/components/EclMultiselectOptgroupComponent.html +42 -3
- package/docs/components/EclMultiselectOptionComponent.html +26 -3
- package/docs/components/EclNavigationListComponent.html +42 -3
- package/docs/components/EclNavigationListItemComponent.html +42 -3
- package/docs/components/EclNewsTickerComponent.html +26 -3
- package/docs/components/EclNewsTickerItemComponent.html +26 -3
- package/docs/components/EclNotificationComponent.html +26 -3
- package/docs/components/EclPageHeaderComponent.html +42 -3
- package/docs/components/EclPageHeaderDescriptionContainerComponent.html +42 -3
- package/docs/components/EclPageHeaderExpandableComponent.html +42 -3
- package/docs/components/EclPageHeaderSectionComponent.html +42 -3
- package/docs/components/EclPageHeaderSectionInfoComponent.html +42 -3
- package/docs/components/EclPaginationComponent.html +26 -3
- package/docs/components/EclPaginationItemComponent.html +26 -3
- package/docs/components/EclPopoverComponent.html +26 -3
- package/docs/components/EclQuizCardComponent.html +26 -3
- package/docs/components/EclQuizComponent.html +42 -3
- package/docs/components/EclRadioHelpComponent.html +26 -3
- package/docs/components/EclRadioLabelComponent.html +26 -3
- package/docs/components/EclRangeBubbleComponent.html +42 -3
- package/docs/components/EclRangeValueComponent.html +42 -3
- package/docs/components/EclRatingFieldComponent.html +21 -21
- package/docs/components/EclSearchFormComponent.html +26 -3
- package/docs/components/EclSelectContainerComponent.html +26 -3
- package/docs/components/EclSiteFooterComponent.html +42 -3
- package/docs/components/EclSiteFooterCoownerComponent.html +42 -3
- package/docs/components/EclSiteFooterCoreComponent.html +42 -3
- package/docs/components/EclSiteFooterFeedbackComponent.html +42 -3
- package/docs/components/EclSiteFooterFixedContentEUComponent.html +42 -3
- package/docs/components/EclSiteFooterRowCommonComponent.html +42 -3
- package/docs/components/EclSiteHeaderActionComponent.html +42 -3
- package/docs/components/EclSiteHeaderBannerTopComponent.html +42 -3
- package/docs/components/EclSiteHeaderComponent.html +26 -3
- package/docs/components/EclSiteHeaderCustomActionComponent.html +42 -3
- package/docs/components/EclSiteHeaderEnvironmentComponent.html +42 -3
- package/docs/components/EclSiteHeaderLanguageComponent.html +26 -3
- package/docs/components/EclSiteHeaderLanguagePopoverComponent.html +26 -3
- package/docs/components/EclSiteHeaderLoginComponent.html +26 -3
- package/docs/components/EclSiteHeaderNotificationComponent.html +42 -3
- package/docs/components/EclSiteHeaderSearchComponent.html +26 -3
- package/docs/components/EclSloganTickerComponent.html +42 -3
- package/docs/components/EclSocialMediaFollowComponent.html +42 -3
- package/docs/components/EclSocialMediaFollowItemComponent.html +26 -3
- package/docs/components/EclSplashPageComponent.html +27 -29
- package/docs/components/EclSplashPageLanguageCategoryComponent.html +27 -34
- package/docs/components/EclSplashPageLanguageContainerComponent.html +27 -34
- package/docs/components/EclSplashPageLanguageLinkComponent.html +39 -45
- package/docs/components/EclSpotlightComponent.html +28 -31
- package/docs/components/EclSpotlightLinkComponent.html +27 -29
- package/docs/components/EclStickyContainerComponent.html +26 -70
- package/docs/components/EclStoryCardComponent.html +27 -4
- package/docs/components/EclStoryCardGridDetailsComponent.html +42 -3
- package/docs/components/EclStoryCardItemComponent.html +26 -3
- package/docs/components/EclTabComponent.html +40 -310
- package/docs/components/EclTabLabelComponent.html +42 -3
- package/docs/components/EclTableSortButtonComponent.html +23 -73
- package/docs/components/EclTabsComponent.html +27 -1619
- package/docs/components/EclTagComponent.html +26 -3
- package/docs/components/EclTextMediaComponent.html +42 -3
- package/docs/components/EclTimelineComponent.html +42 -3
- package/docs/components/EclTimelineItemComponent.html +26 -3
- package/docs/components/EclTimelineItemTogglerComponent.html +26 -3
- package/docs/directives/ECLBaseDirective.html +42 -3
- package/docs/directives/ECLClickOutsideDirective.html +26 -3
- package/docs/directives/EclBannerDescriptionDirective.html +42 -3
- package/docs/directives/EclBannerDescriptionLinkDirective.html +42 -3
- package/docs/directives/EclBannerDescriptionTextDirective.html +42 -3
- package/docs/directives/EclBannerImageDirective.html +42 -3
- package/docs/directives/EclBannerPictureDirective.html +42 -3
- package/docs/directives/EclBannerTitleDirective.html +42 -3
- package/docs/directives/EclBannerTitleLinkDirective.html +42 -3
- package/docs/directives/EclBannerTitleTextDirective.html +42 -3
- package/docs/directives/EclBannerVideoDirective.html +42 -3
- package/docs/directives/EclBlockquoteImageDirective.html +42 -3
- package/docs/directives/EclBlockquotePictureDirective.html +42 -3
- package/docs/directives/EclBreadcrumbContainerDirective.html +42 -3
- package/docs/directives/EclButtonLabelDirective.html +42 -3
- package/docs/directives/EclCardImageDirective.html +42 -3
- package/docs/directives/EclCardPictureDirective.html +42 -3
- package/docs/directives/EclCheckboxDirective.html +42 -3
- package/docs/directives/EclCheckboxInputDirective.html +42 -3
- package/docs/directives/EclContainerDirective.html +42 -3
- package/docs/directives/EclContentBlockDescriptionDirective.html +42 -3
- package/docs/directives/EclContentBlockLabelDirective.html +42 -3
- package/docs/directives/EclContentBlockLabelsDirective.html +42 -3
- package/docs/directives/EclContentBlockLinkDirective.html +42 -3
- package/docs/directives/EclContentBlockLinksContainerDirective.html +42 -3
- package/docs/directives/EclContentBlockLinksDirective.html +42 -3
- package/docs/directives/EclContentBlockListContainerDirective.html +42 -3
- package/docs/directives/EclContentBlockListDirective.html +42 -3
- package/docs/directives/EclContentBlockPrimaryMetaDirective.html +42 -3
- package/docs/directives/EclContentBlockPrimaryMetasDirective.html +42 -3
- package/docs/directives/EclContentBlockSecondaryMetaDirective.html +42 -3
- package/docs/directives/EclContentBlockSecondaryMetaIconDirective.html +42 -3
- package/docs/directives/EclContentBlockSecondaryMetaLabelDirective.html +42 -3
- package/docs/directives/EclContentBlockSecondaryMetasDirective.html +42 -3
- package/docs/directives/EclContentBlockTagDirective.html +42 -3
- package/docs/directives/EclContentBlockTagsDirective.html +42 -3
- package/docs/directives/EclContentBlockTitleDirective.html +42 -3
- package/docs/directives/EclContentItemImageDirective.html +42 -3
- package/docs/directives/EclContentItemPictureDirective.html +42 -3
- package/docs/directives/EclDescriptionListDefinitionItemDirective.html +42 -3
- package/docs/directives/EclDescriptionListDefinitionListDirective.html +42 -3
- package/docs/directives/EclDescriptionListDirective.html +42 -3
- package/docs/directives/EclDescriptionListTermDirective.html +42 -3
- package/docs/directives/EclDividerDirective.html +42 -3
- package/docs/directives/EclFactFiguresDescriptionDirective.html +42 -3
- package/docs/directives/EclFeaturedItemLinkDirective.html +42 -3
- package/docs/directives/EclFeaturedMediaAnchorDirective.html +42 -3
- package/docs/directives/EclFeedbackMessageDirective.html +42 -3
- package/docs/directives/EclFileDownloadDirective.html +42 -3
- package/docs/directives/EclFileImageDirective.html +42 -3
- package/docs/directives/EclFileMetaDirective.html +42 -3
- package/docs/directives/EclFilePictureDirective.html +42 -3
- package/docs/directives/EclFilePreviewDirective.html +42 -3
- package/docs/directives/EclFileTitleDirective.html +42 -3
- package/docs/directives/EclFileTranslationDownloadDirective.html +42 -3
- package/docs/directives/EclFileUploadDirective.html +26 -3
- package/docs/directives/EclGalleryMediaDirective.html +42 -3
- package/docs/directives/EclGalleryPictureDirective.html +42 -3
- package/docs/directives/EclGalleryThumbnailDirective.html +42 -3
- package/docs/directives/EclHelpBlockDirective.html +42 -3
- package/docs/directives/EclHiddenDirective.html +42 -3
- package/docs/directives/EclInpageNavigationListDirective.html +42 -3
- package/docs/directives/EclLabelDirective.html +42 -3
- package/docs/directives/EclLinkDirective.html +42 -3
- package/docs/directives/EclLinkLabelDirective.html +42 -3
- package/docs/directives/EclListIllustrationIconDirective.html +42 -3
- package/docs/directives/EclListIllustrationImageDirective.html +42 -3
- package/docs/directives/EclListIllustrationPictureDirective.html +42 -3
- package/docs/directives/EclLoadingIndicatorOverlayDirective.html +42 -3
- package/docs/directives/EclMediaContainerCaptionDirective.html +42 -3
- package/docs/directives/EclMediaContainerCreditDirective.html +42 -3
- package/docs/directives/EclMediaContainerIframeDirective.html +42 -3
- package/docs/directives/EclMediaContainerItemAudioDescriptionDirective.html +42 -3
- package/docs/directives/EclMediaContainerItemDirective.html +42 -3
- package/docs/directives/EclMediaContainerPictureDirective.html +42 -3
- package/docs/directives/EclMegaMenuContainerDirective.html +42 -3
- package/docs/directives/EclMegaMenuFeaturedImageDirective.html +42 -3
- package/docs/directives/EclMegaMenuFeaturedListDirective.html +42 -3
- package/docs/directives/EclMegaMenuFeaturedListItemDescriptionDirective.html +42 -3
- package/docs/directives/EclMegaMenuFeaturedListItemDirective.html +42 -3
- package/docs/directives/EclMegaMenuFeaturedPictureDirective.html +42 -3
- package/docs/directives/EclMegaMenuListDirective.html +42 -3
- package/docs/directives/EclMegaMenuSpacerDirective.html +42 -3
- package/docs/directives/EclMegaMenuSublistDirective.html +26 -3
- package/docs/directives/EclModalBodyFixedContentDirective.html +42 -3
- package/docs/directives/EclModalCloseDirective.html +26 -3
- package/docs/directives/EclModalTriggerDirective.html +42 -3
- package/docs/directives/EclMultiselectOptionDirective.html +42 -3
- package/docs/directives/EclNavigationListImageDirective.html +42 -3
- package/docs/directives/EclNavigationListPictureDirective.html +42 -3
- package/docs/directives/EclNewsTickerIconDirective.html +42 -3
- package/docs/directives/EclNotificationTitleDirective.html +42 -3
- package/docs/directives/EclOrderedListDirective.html +42 -3
- package/docs/directives/EclOrderedListItemDirective.html +42 -3
- package/docs/directives/EclPageHeaderBackgroundImageDirective.html +42 -3
- package/docs/directives/EclPageHeaderBackgroundPictureDirective.html +42 -3
- package/docs/directives/EclPageHeaderContainerDirective.html +42 -3
- package/docs/directives/EclPageHeaderDescriptionDirective.html +42 -3
- package/docs/directives/EclPageHeaderDescriptionPictureDirective.html +42 -3
- package/docs/directives/EclPageHeaderDescriptionThumbnailDirective.html +42 -3
- package/docs/directives/EclPageHeaderExpandableHeaderDirective.html +42 -3
- package/docs/directives/EclPageHeaderInfoDirective.html +42 -3
- package/docs/directives/EclPageHeaderMetaDirective.html +42 -3
- package/docs/directives/EclPageHeaderMetaItemDirective.html +42 -3
- package/docs/directives/EclPageHeaderTitleDirective.html +42 -3
- package/docs/directives/EclPaginationListDirective.html +42 -3
- package/docs/directives/EclPopoverContentDirective.html +42 -3
- package/docs/directives/EclPopoverToggleDirective.html +26 -3
- package/docs/directives/EclRadioDirective.html +42 -3
- package/docs/directives/EclRadioInputDirective.html +42 -3
- package/docs/directives/EclRangeDirective.html +26 -3
- package/docs/directives/EclSelectDirective.html +42 -3
- package/docs/directives/EclSiteFooterColumnDirective.html +42 -3
- package/docs/directives/EclSiteFooterCoownerItemDirective.html +42 -3
- package/docs/directives/EclSiteFooterCoownerListDirective.html +42 -3
- package/docs/directives/EclSiteFooterDescriptionDirective.html +42 -3
- package/docs/directives/EclSiteFooterDescriptionNameDirective.html +42 -3
- package/docs/directives/EclSiteFooterListDirective.html +42 -3
- package/docs/directives/EclSiteFooterListItemDirective.html +42 -3
- package/docs/directives/EclSiteFooterRowDirective.html +42 -3
- package/docs/directives/EclSiteFooterSectionDirective.html +42 -3
- package/docs/directives/EclSiteFooterSocialMediaDirective.html +42 -3
- package/docs/directives/EclSiteFooterTitleDirective.html +42 -3
- package/docs/directives/EclSiteFooterTitleLinkDirective.html +42 -3
- package/docs/directives/EclSiteHeaderCtaDirective.html +42 -3
- package/docs/directives/EclSiteHeaderCustomActionContentDirective.html +42 -3
- package/docs/directives/EclSiteHeaderCustomActionLinkDirective.html +26 -3
- package/docs/directives/EclSiteHeaderCustomActionTitleDirective.html +42 -3
- package/docs/directives/EclSiteHeaderImageDirective.html +42 -3
- package/docs/directives/EclSiteHeaderLinkDirective.html +42 -3
- package/docs/directives/EclSiteHeaderLoginDescriptionDirective.html +42 -3
- package/docs/directives/EclSiteHeaderLoginSeparatorDirective.html +42 -3
- package/docs/directives/EclSiteHeaderPictureDirective.html +42 -3
- package/docs/directives/EclSocialMediaFollowLinkDirective.html +42 -3
- package/docs/directives/EclSplashPageLanguageItemDirective.html +21 -98
- package/docs/directives/EclSplashPageLanguageListDirective.html +21 -98
- package/docs/directives/EclSplashPageLogoImageDirective.html +23 -29
- package/docs/directives/EclSplashPageLogoLinkDirective.html +23 -29
- package/docs/directives/EclSplashPagePictureDirective.html +23 -29
- package/docs/directives/EclSpotlightImageDirective.html +21 -98
- package/docs/directives/EclSpotlightPictureDirective.html +21 -98
- package/docs/directives/EclStoryCardLinkDirective.html +42 -3
- package/docs/directives/EclStoryCardListDirective.html +42 -3
- package/docs/directives/EclStoryCardPictureDirective.html +42 -3
- package/docs/directives/EclTableBodyDirective.html +35 -29
- package/docs/directives/EclTableCaptionDirective.html +33 -98
- package/docs/directives/EclTableCellDirective.html +35 -29
- package/docs/directives/EclTableCellGroupDirective.html +35 -29
- package/docs/directives/EclTableDirective.html +33 -53
- package/docs/directives/EclTableHeadDirective.html +23 -42
- package/docs/directives/EclTableHeaderDirective.html +49 -130
- package/docs/directives/EclTableResponsiveDirective.html +35 -29
- package/docs/directives/EclTableRowDirective.html +35 -29
- package/docs/directives/EclTagIconExternalDirective.html +42 -3
- package/docs/directives/EclTagSetDirective.html +42 -3
- package/docs/directives/EclTagSetItemDirective.html +42 -3
- package/docs/directives/EclTextAreaDirective.html +42 -3
- package/docs/directives/EclTextInputDirective.html +42 -3
- package/docs/directives/EclTimelineItemLabelDirective.html +42 -3
- package/docs/directives/EclTimelineItemTitleDirective.html +42 -3
- package/docs/directives/EclTimelineSetDirective.html +42 -3
- package/docs/directives/EclUnorderedListDirective.html +42 -3
- package/docs/directives/EclUnorderedListItemDirective.html +42 -3
- package/docs/js/search/search_index.js +2 -2
- package/docs/json/ECLBaseDirective.md +5 -2
- package/docs/json/ECLClickOutsideDirective.md +3 -2
- package/docs/json/EclAddToCalendarComponent.md +5 -2
- package/docs/json/EclAnimatedNumbersComponent.md +5 -2
- package/docs/json/EclAnimatedNumbersItemComponent.md +5 -2
- package/docs/json/EclAppComponent.md +3 -2
- package/docs/json/EclBannerComponent.md +5 -2
- package/docs/json/EclBannerDescriptionDirective.md +5 -2
- package/docs/json/EclBannerDescriptionLinkDirective.md +5 -2
- package/docs/json/EclBannerDescriptionTextDirective.md +5 -2
- package/docs/json/EclBannerImageDirective.md +5 -2
- package/docs/json/EclBannerPictureDirective.md +5 -2
- package/docs/json/EclBannerTitleDirective.md +5 -2
- package/docs/json/EclBannerTitleLinkDirective.md +5 -2
- package/docs/json/EclBannerTitleTextDirective.md +5 -2
- package/docs/json/EclBannerVideoDirective.md +5 -2
- package/docs/json/EclBlockquoteComponent.md +5 -2
- package/docs/json/EclBlockquoteImageDirective.md +5 -2
- package/docs/json/EclBlockquotePictureDirective.md +5 -2
- package/docs/json/EclBreadcrumbComponent.md +7 -2
- package/docs/json/EclBreadcrumbContainerDirective.md +5 -2
- package/docs/json/EclBreadcrumbSegmentComponent.md +3 -2
- package/docs/json/EclButtonComponent.md +5 -2
- package/docs/json/EclButtonLabelDirective.md +5 -2
- package/docs/json/EclCardBodyComponent.md +5 -2
- package/docs/json/EclCardComponent.md +5 -2
- package/docs/json/EclCardImageDirective.md +5 -2
- package/docs/json/EclCardPictureDirective.md +5 -2
- package/docs/json/EclCarouselComponent.md +3 -2
- package/docs/json/EclCarouselItemComponent.md +3 -2
- package/docs/json/EclCategoryFilterComponent.md +5 -2
- package/docs/json/EclCategoryFilterItemComponent.md +3 -2
- package/docs/json/EclCategoryFilterListComponent.md +5 -2
- package/docs/json/EclCheckboxDirective.md +5 -2
- package/docs/json/EclCheckboxHelpComponent.md +5 -2
- package/docs/json/EclCheckboxInputDirective.md +5 -2
- package/docs/json/EclCheckboxLabelComponent.md +5 -2
- package/docs/json/EclContainerDirective.md +5 -2
- package/docs/json/EclContentBlockComponent.md +5 -2
- package/docs/json/EclContentBlockDescriptionDirective.md +5 -2
- package/docs/json/EclContentBlockLabelDirective.md +5 -2
- package/docs/json/EclContentBlockLabelsDirective.md +5 -2
- package/docs/json/EclContentBlockLinkDirective.md +5 -2
- package/docs/json/EclContentBlockLinksContainerDirective.md +5 -2
- package/docs/json/EclContentBlockLinksDirective.md +5 -2
- package/docs/json/EclContentBlockListContainerDirective.md +5 -2
- package/docs/json/EclContentBlockListDirective.md +5 -2
- package/docs/json/EclContentBlockPrimaryMetaDirective.md +5 -2
- package/docs/json/EclContentBlockPrimaryMetasDirective.md +5 -2
- package/docs/json/EclContentBlockSecondaryMetaDirective.md +5 -2
- package/docs/json/EclContentBlockSecondaryMetaIconDirective.md +5 -2
- package/docs/json/EclContentBlockSecondaryMetaLabelDirective.md +5 -2
- package/docs/json/EclContentBlockSecondaryMetasDirective.md +5 -2
- package/docs/json/EclContentBlockTagDirective.md +5 -2
- package/docs/json/EclContentBlockTagsDirective.md +5 -2
- package/docs/json/EclContentBlockTitleDirective.md +5 -2
- package/docs/json/EclContentItemComponent.md +5 -2
- package/docs/json/EclContentItemImageDirective.md +5 -2
- package/docs/json/EclContentItemPictureDirective.md +5 -2
- package/docs/json/EclDateBlockComponent.md +5 -2
- package/docs/json/EclDescriptionListDefinitionComponent.md +5 -2
- package/docs/json/EclDescriptionListDefinitionItemDirective.md +5 -2
- package/docs/json/EclDescriptionListDefinitionListDirective.md +5 -2
- package/docs/json/EclDescriptionListDirective.md +5 -2
- package/docs/json/EclDescriptionListTermDirective.md +5 -2
- package/docs/json/EclDividerDirective.md +5 -2
- package/docs/json/EclExpandableComponent.md +5 -6
- package/docs/json/EclFactFiguresComponent.md +5 -2
- package/docs/json/EclFactFiguresDescriptionDirective.md +5 -2
- package/docs/json/EclFactFiguresItemComponent.md +5 -2
- package/docs/json/EclFactFiguresViewAllComponent.md +5 -2
- package/docs/json/EclFeaturedComponent.md +5 -2
- package/docs/json/EclFeaturedItemComponent.md +5 -2
- package/docs/json/EclFeaturedItemDescriptionComponent.md +5 -2
- package/docs/json/EclFeaturedItemLinkDirective.md +5 -2
- package/docs/json/EclFeaturedMediaAnchorDirective.md +5 -2
- package/docs/json/EclFeedbackMessageDirective.md +5 -2
- package/docs/json/EclFileComponent.md +3 -2
- package/docs/json/EclFileDownloadDirective.md +5 -2
- package/docs/json/EclFileImageDirective.md +5 -2
- package/docs/json/EclFileItemComponent.md +5 -2
- package/docs/json/EclFileItemsComponent.md +3 -2
- package/docs/json/EclFileListsComponent.md +5 -2
- package/docs/json/EclFileMetaDirective.md +5 -2
- package/docs/json/EclFilePictureDirective.md +5 -2
- package/docs/json/EclFilePreviewDirective.md +5 -2
- package/docs/json/EclFileTitleDirective.md +5 -2
- package/docs/json/EclFileTranslationDownloadDirective.md +5 -2
- package/docs/json/EclFileUploadDirective.md +3 -2
- package/docs/json/EclFormGroupComponent.md +5 -2
- package/docs/json/EclFormLabelComponent.md +5 -2
- package/docs/json/EclGalleryComponent.md +3 -2
- package/docs/json/EclGalleryItemComponent.md +3 -2
- package/docs/json/EclGalleryMediaDirective.md +5 -2
- package/docs/json/EclGalleryPictureDirective.md +5 -2
- package/docs/json/EclGalleryThumbnailDirective.md +5 -2
- package/docs/json/EclHelpBlockDirective.md +5 -2
- package/docs/json/EclHiddenDirective.md +5 -2
- package/docs/json/EclHighlightBoxComponent.md +5 -2
- package/docs/json/EclHighlightedSearchComponent.md +3 -2
- package/docs/json/EclInpageNavigationComponent.md +3 -2
- package/docs/json/EclInpageNavigationItemComponent.md +3 -2
- package/docs/json/EclInpageNavigationListDirective.md +5 -2
- package/docs/json/EclLabelDirective.md +5 -2
- package/docs/json/EclLayoutWrapperComponent.md +5 -2
- package/docs/json/EclLinkDirective.md +5 -2
- package/docs/json/EclLinkLabelDirective.md +5 -2
- package/docs/json/EclListIllustrationComponent.md +5 -2
- package/docs/json/EclListIllustrationIconDirective.md +5 -2
- package/docs/json/EclListIllustrationImageDirective.md +5 -2
- package/docs/json/EclListIllustrationItemComponent.md +5 -2
- package/docs/json/EclListIllustrationPictureDirective.md +5 -2
- package/docs/json/EclLoadingIndicatorComponent.md +5 -2
- package/docs/json/EclLoadingIndicatorOverlayDirective.md +5 -2
- package/docs/json/EclMediaContainerCaptionDirective.md +5 -2
- package/docs/json/EclMediaContainerComponent.md +5 -2
- package/docs/json/EclMediaContainerCreditDirective.md +5 -2
- package/docs/json/EclMediaContainerIframeDirective.md +5 -2
- package/docs/json/EclMediaContainerItemAudioDescriptionDirective.md +5 -2
- package/docs/json/EclMediaContainerItemDirective.md +5 -2
- package/docs/json/EclMediaContainerPictureDirective.md +5 -2
- package/docs/json/EclMegaMenuComponent.md +3 -2
- package/docs/json/EclMegaMenuContainerDirective.md +5 -2
- package/docs/json/EclMegaMenuFeaturedComponent.md +5 -2
- package/docs/json/EclMegaMenuFeaturedImageDirective.md +5 -2
- package/docs/json/EclMegaMenuFeaturedListDirective.md +5 -2
- package/docs/json/EclMegaMenuFeaturedListItemDescriptionDirective.md +5 -2
- package/docs/json/EclMegaMenuFeaturedListItemDirective.md +5 -2
- package/docs/json/EclMegaMenuFeaturedPictureDirective.md +5 -2
- package/docs/json/EclMegaMenuInfoComponent.md +5 -2
- package/docs/json/EclMegaMenuItemComponent.md +3 -2
- package/docs/json/EclMegaMenuListDirective.md +5 -2
- package/docs/json/EclMegaMenuSpacerDirective.md +5 -2
- package/docs/json/EclMegaMenuSubitemComponent.md +3 -2
- package/docs/json/EclMegaMenuSublistDirective.md +3 -2
- package/docs/json/EclMenuComponent.md +3 -2
- package/docs/json/EclMenuItemComponent.md +3 -2
- package/docs/json/EclMenuMegaComponent.md +3 -2
- package/docs/json/EclMenuMegaItemComponent.md +3 -2
- package/docs/json/EclModalBodyComponent.md +5 -2
- package/docs/json/EclModalBodyFixedContentDirective.md +5 -2
- package/docs/json/EclModalCloseDirective.md +3 -2
- package/docs/json/EclModalComponent.md +3 -2
- package/docs/json/EclModalFooterComponent.md +5 -2
- package/docs/json/EclModalHeaderComponent.md +3 -2
- package/docs/json/EclModalTriggerDirective.md +5 -2
- package/docs/json/EclMultiselectComponent.md +3 -2
- package/docs/json/EclMultiselectDropdownComponent.md +3 -2
- package/docs/json/EclMultiselectInputComponent.md +3 -2
- package/docs/json/EclMultiselectOptgroupComponent.md +5 -2
- package/docs/json/EclMultiselectOptionComponent.md +3 -2
- package/docs/json/EclMultiselectOptionDirective.md +5 -2
- package/docs/json/EclNavigationListComponent.md +5 -2
- package/docs/json/EclNavigationListImageDirective.md +5 -2
- package/docs/json/EclNavigationListItemComponent.md +5 -2
- package/docs/json/EclNavigationListPictureDirective.md +5 -2
- package/docs/json/EclNewsTickerComponent.md +3 -2
- package/docs/json/EclNewsTickerIconDirective.md +5 -2
- package/docs/json/EclNewsTickerItemComponent.md +3 -2
- package/docs/json/EclNotificationComponent.md +3 -2
- package/docs/json/EclNotificationTitleDirective.md +5 -2
- package/docs/json/EclOrderedListDirective.md +5 -2
- package/docs/json/EclOrderedListItemDirective.md +5 -2
- package/docs/json/EclPageHeaderBackgroundImageDirective.md +5 -2
- package/docs/json/EclPageHeaderBackgroundPictureDirective.md +5 -2
- package/docs/json/EclPageHeaderComponent.md +5 -2
- package/docs/json/EclPageHeaderContainerDirective.md +5 -2
- package/docs/json/EclPageHeaderDescriptionContainerComponent.md +5 -2
- package/docs/json/EclPageHeaderDescriptionDirective.md +5 -2
- package/docs/json/EclPageHeaderDescriptionPictureDirective.md +5 -2
- package/docs/json/EclPageHeaderDescriptionThumbnailDirective.md +5 -2
- package/docs/json/EclPageHeaderExpandableComponent.md +5 -2
- package/docs/json/EclPageHeaderExpandableHeaderDirective.md +5 -2
- package/docs/json/EclPageHeaderInfoDirective.md +5 -2
- package/docs/json/EclPageHeaderMetaDirective.md +5 -2
- package/docs/json/EclPageHeaderMetaItemDirective.md +5 -2
- package/docs/json/EclPageHeaderSectionComponent.md +5 -2
- package/docs/json/EclPageHeaderSectionInfoComponent.md +5 -2
- package/docs/json/EclPageHeaderTitleDirective.md +5 -2
- package/docs/json/EclPaginationComponent.md +3 -2
- package/docs/json/EclPaginationItemComponent.md +3 -2
- package/docs/json/EclPaginationListDirective.md +5 -2
- package/docs/json/EclPopoverComponent.md +3 -2
- package/docs/json/EclPopoverContentDirective.md +5 -2
- package/docs/json/EclPopoverToggleDirective.md +3 -2
- package/docs/json/EclQuizCardComponent.md +3 -2
- package/docs/json/EclQuizComponent.md +5 -2
- package/docs/json/EclRadioDirective.md +5 -2
- package/docs/json/EclRadioHelpComponent.md +3 -2
- package/docs/json/EclRadioInputDirective.md +5 -2
- package/docs/json/EclRadioLabelComponent.md +3 -2
- package/docs/json/EclRangeBubbleComponent.md +5 -2
- package/docs/json/EclRangeDirective.md +3 -2
- package/docs/json/EclRangeValueComponent.md +5 -2
- package/docs/json/EclRatingFieldComponent.md +4 -4
- package/docs/json/EclSearchFormComponent.md +3 -2
- package/docs/json/EclSelectContainerComponent.md +3 -2
- package/docs/json/EclSelectDirective.md +5 -2
- package/docs/json/EclSiteFooterColumnDirective.md +5 -2
- package/docs/json/EclSiteFooterComponent.md +5 -2
- package/docs/json/EclSiteFooterCoownerComponent.md +5 -2
- package/docs/json/EclSiteFooterCoownerItemDirective.md +5 -2
- package/docs/json/EclSiteFooterCoownerListDirective.md +5 -2
- package/docs/json/EclSiteFooterCoreComponent.md +5 -2
- package/docs/json/EclSiteFooterDescriptionDirective.md +5 -2
- package/docs/json/EclSiteFooterDescriptionNameDirective.md +5 -2
- package/docs/json/EclSiteFooterFeedbackComponent.md +5 -2
- package/docs/json/EclSiteFooterFixedContentEUComponent.md +5 -2
- package/docs/json/EclSiteFooterListDirective.md +5 -2
- package/docs/json/EclSiteFooterListItemDirective.md +5 -2
- package/docs/json/EclSiteFooterRowCommonComponent.md +5 -2
- package/docs/json/EclSiteFooterRowDirective.md +5 -2
- package/docs/json/EclSiteFooterSectionDirective.md +5 -2
- package/docs/json/EclSiteFooterSocialMediaDirective.md +5 -2
- package/docs/json/EclSiteFooterTitleDirective.md +5 -2
- package/docs/json/EclSiteFooterTitleLinkDirective.md +5 -2
- package/docs/json/EclSiteHeaderActionComponent.md +5 -2
- package/docs/json/EclSiteHeaderBannerTopComponent.md +5 -2
- package/docs/json/EclSiteHeaderComponent.md +3 -2
- package/docs/json/EclSiteHeaderCtaDirective.md +5 -2
- package/docs/json/EclSiteHeaderCustomActionComponent.md +3 -2
- package/docs/json/EclSiteHeaderCustomActionContentDirective.md +5 -2
- package/docs/json/EclSiteHeaderCustomActionLinkDirective.md +3 -2
- package/docs/json/EclSiteHeaderCustomActionTitleDirective.md +5 -2
- package/docs/json/EclSiteHeaderEnvironmentComponent.md +5 -2
- package/docs/json/EclSiteHeaderImageDirective.md +5 -2
- package/docs/json/EclSiteHeaderLanguageComponent.md +3 -2
- package/docs/json/EclSiteHeaderLanguagePopoverComponent.md +3 -2
- package/docs/json/EclSiteHeaderLinkDirective.md +5 -2
- package/docs/json/EclSiteHeaderLoginComponent.md +3 -2
- package/docs/json/EclSiteHeaderLoginDescriptionDirective.md +5 -2
- package/docs/json/EclSiteHeaderLoginSeparatorDirective.md +5 -2
- package/docs/json/EclSiteHeaderNotificationComponent.md +5 -2
- package/docs/json/EclSiteHeaderPictureDirective.md +5 -2
- package/docs/json/EclSiteHeaderSearchComponent.md +3 -2
- package/docs/json/EclSloganTickerComponent.md +5 -2
- package/docs/json/EclSocialMediaFollowComponent.md +5 -2
- package/docs/json/EclSocialMediaFollowItemComponent.md +3 -2
- package/docs/json/EclSocialMediaFollowLinkDirective.md +5 -2
- package/docs/json/EclSplashPageComponent.md +5 -2
- package/docs/json/EclSplashPageLanguageCategoryComponent.md +5 -2
- package/docs/json/EclSplashPageLanguageContainerComponent.md +5 -2
- package/docs/json/EclSplashPageLanguageItemDirective.md +5 -2
- package/docs/json/EclSplashPageLanguageLinkComponent.md +5 -2
- package/docs/json/EclSplashPageLanguageListDirective.md +5 -2
- package/docs/json/EclSplashPageLogoImageDirective.md +5 -2
- package/docs/json/EclSplashPageLogoLinkDirective.md +5 -2
- package/docs/json/EclSplashPagePictureDirective.md +5 -2
- package/docs/json/EclSpotlightComponent.md +5 -2
- package/docs/json/EclSpotlightImageDirective.md +5 -2
- package/docs/json/EclSpotlightLinkComponent.md +5 -2
- package/docs/json/EclSpotlightPictureDirective.md +5 -2
- package/docs/json/EclStickyContainerComponent.md +7 -4
- package/docs/json/EclStoryCardComponent.md +3 -2
- package/docs/json/EclStoryCardGridDetailsComponent.md +5 -2
- package/docs/json/EclStoryCardItemComponent.md +3 -2
- package/docs/json/EclStoryCardLinkDirective.md +5 -2
- package/docs/json/EclStoryCardListDirective.md +5 -2
- package/docs/json/EclStoryCardPictureDirective.md +5 -2
- package/docs/json/EclTabComponent.md +5 -4
- package/docs/json/EclTabLabelComponent.md +5 -2
- package/docs/json/EclTableBodyDirective.md +7 -2
- package/docs/json/EclTableCaptionDirective.md +7 -2
- package/docs/json/EclTableCellDirective.md +7 -2
- package/docs/json/EclTableCellGroupDirective.md +7 -2
- package/docs/json/EclTableDirective.md +5 -4
- package/docs/json/EclTableHeadDirective.md +5 -2
- package/docs/json/EclTableHeaderDirective.md +9 -5
- package/docs/json/EclTableResponsiveDirective.md +7 -2
- package/docs/json/EclTableRowDirective.md +7 -2
- package/docs/json/EclTableSortButtonComponent.md +5 -2
- package/docs/json/EclTabsComponent.md +3 -2
- package/docs/json/EclTagComponent.md +3 -2
- package/docs/json/EclTagIconExternalDirective.md +5 -2
- package/docs/json/EclTagSetDirective.md +5 -2
- package/docs/json/EclTagSetItemDirective.md +5 -2
- package/docs/json/EclTextAreaDirective.md +5 -2
- package/docs/json/EclTextInputDirective.md +5 -2
- package/docs/json/EclTextMediaComponent.md +5 -2
- package/docs/json/EclTimelineComponent.md +5 -2
- package/docs/json/EclTimelineItemComponent.md +3 -2
- package/docs/json/EclTimelineItemLabelDirective.md +5 -2
- package/docs/json/EclTimelineItemTitleDirective.md +5 -2
- package/docs/json/EclTimelineItemTogglerComponent.md +3 -2
- package/docs/json/EclTimelineSetDirective.md +5 -2
- package/docs/json/EclUnorderedListDirective.md +5 -2
- package/docs/json/EclUnorderedListItemDirective.md +5 -2
- package/docs/json/documentation.json +15953 -6451
- package/docs/llms.txt +1633 -931
- package/docs/properties.html +1 -1
- package/fesm2022/eui-ecl-components-ecl-banner.mjs +1 -1
- package/fesm2022/eui-ecl-components-ecl-banner.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-breadcrumb.mjs +14 -3
- package/fesm2022/eui-ecl-components-ecl-breadcrumb.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-content-item.mjs +2 -2
- package/fesm2022/eui-ecl-components-ecl-content-item.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-expandable.mjs +22 -20
- package/fesm2022/eui-ecl-components-ecl-expandable.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-fact-figures.mjs +2 -2
- package/fesm2022/eui-ecl-components-ecl-fact-figures.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-featured.mjs +1 -1
- package/fesm2022/eui-ecl-components-ecl-featured.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-media-container.mjs +1 -1
- package/fesm2022/eui-ecl-components-ecl-media-container.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-mega-menu.mjs +2 -2
- package/fesm2022/eui-ecl-components-ecl-mega-menu.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-menu.mjs +2 -2
- package/fesm2022/eui-ecl-components-ecl-menu.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-modal.mjs +1 -1
- package/fesm2022/eui-ecl-components-ecl-modal.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-multiselect.mjs +2 -2
- package/fesm2022/eui-ecl-components-ecl-multiselect.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-navigation-list.mjs +1 -1
- package/fesm2022/eui-ecl-components-ecl-navigation-list.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-news-ticker.mjs +9 -4
- package/fesm2022/eui-ecl-components-ecl-news-ticker.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-notification.mjs +1 -1
- package/fesm2022/eui-ecl-components-ecl-notification.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-page-header.mjs +2 -2
- package/fesm2022/eui-ecl-components-ecl-page-header.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-rating-field.mjs +17 -9
- package/fesm2022/eui-ecl-components-ecl-rating-field.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-site-footer.mjs +2 -2
- package/fesm2022/eui-ecl-components-ecl-site-footer.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-splash-page.mjs +67 -86
- package/fesm2022/eui-ecl-components-ecl-splash-page.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-spotlight.mjs +21 -37
- package/fesm2022/eui-ecl-components-ecl-spotlight.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-sticky-container.mjs +10 -15
- package/fesm2022/eui-ecl-components-ecl-sticky-container.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-story-card.mjs +13 -18
- package/fesm2022/eui-ecl-components-ecl-story-card.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-table.mjs +195 -209
- package/fesm2022/eui-ecl-components-ecl-table.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-tabs.mjs +213 -261
- package/fesm2022/eui-ecl-components-ecl-tabs.mjs.map +1 -1
- package/fesm2022/eui-ecl-core.mjs +15 -17
- package/fesm2022/eui-ecl-core.mjs.map +1 -1
- package/package.json +1 -1
- package/types/eui-ecl-components-ecl-breadcrumb.d.ts +10 -1
- package/types/eui-ecl-components-ecl-breadcrumb.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-expandable.d.ts +14 -10
- package/types/eui-ecl-components-ecl-expandable.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-news-ticker.d.ts +1 -0
- package/types/eui-ecl-components-ecl-news-ticker.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-rating-field.d.ts +10 -2
- package/types/eui-ecl-components-ecl-rating-field.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-splash-page.d.ts +4 -17
- package/types/eui-ecl-components-ecl-splash-page.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-spotlight.d.ts +0 -8
- package/types/eui-ecl-components-ecl-spotlight.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-sticky-container.d.ts +4 -4
- package/types/eui-ecl-components-ecl-sticky-container.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-story-card.d.ts +7 -7
- package/types/eui-ecl-components-ecl-story-card.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-table.d.ts +85 -53
- package/types/eui-ecl-components-ecl-table.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-tabs.d.ts +90 -120
- package/types/eui-ecl-components-ecl-tabs.d.ts.map +1 -1
- package/types/eui-ecl-core.d.ts +4 -5
- package/types/eui-ecl-core.d.ts.map +1 -1
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject,
|
|
3
|
-
import {
|
|
4
|
-
import { takeUntil } from 'rxjs/operators';
|
|
2
|
+
import { inject, Component, input, booleanAttribute, linkedSignal, output, contentChildren, forwardRef, effect, Directive, ElementRef, ViewContainerRef, Renderer2, afterNextRender, ChangeDetectorRef } from '@angular/core';
|
|
3
|
+
import { Subscription } from 'rxjs';
|
|
5
4
|
import { ECLBaseDirective, EclThemeService, EclBaseEvent } from '@eui/ecl/core';
|
|
6
5
|
import { AsyncPipe } from '@angular/common';
|
|
7
6
|
import * as i1 from '@eui/ecl/components/ecl-icon';
|
|
@@ -32,18 +31,15 @@ class EclTableSortButtonComponent extends ECLBaseDirective {
|
|
|
32
31
|
return [super.getCssClasses('ecl-table__arrow')].join(' ').trim();
|
|
33
32
|
}
|
|
34
33
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EclTableSortButtonComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
35
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.2", type: EclTableSortButtonComponent, isStandalone: true, selector: "button[eclTableSortButton]", host: { properties: { "attr.aria-label": "
|
|
34
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.2", type: EclTableSortButtonComponent, isStandalone: true, selector: "button[eclTableSortButton]", host: { properties: { "attr.aria-label": "ariaLabel", "class": "cssClasses" } }, usesInheritance: true, ngImport: i0, template: "<ecl-icon icon=\"solid-arrow\" class=\"ecl-table__icon ecl-table__icon-up\" [size]=\"(eclThemeService.isEC$ | async) ? 'xs' : 'm'\"> </ecl-icon>\n<ecl-icon icon=\"solid-arrow\" class=\"ecl-table__icon ecl-table__icon-down\" [size]=\"(eclThemeService.isEC$ | async) ? 'xs' : 'm'\"> </ecl-icon>\n", dependencies: [{ kind: "component", type: i1.EclIconComponent, selector: "ecl-icon", inputs: ["iconSet", "icon", "size", "color", "transform", "ariaLabelledby", "role", "title", "ariaHidden", "focusable", "isFlipHorizontal"] }, { kind: "pipe", type: AsyncPipe, name: "async" }] }); }
|
|
36
35
|
}
|
|
37
36
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EclTableSortButtonComponent, decorators: [{
|
|
38
37
|
type: Component,
|
|
39
|
-
args: [{ selector: 'button[eclTableSortButton]', imports: [...EUI_ECL_ICON, AsyncPipe],
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
type: HostBinding,
|
|
45
|
-
args: ['class']
|
|
46
|
-
}] } });
|
|
38
|
+
args: [{ selector: 'button[eclTableSortButton]', imports: [...EUI_ECL_ICON, AsyncPipe], host: {
|
|
39
|
+
'[attr.aria-label]': 'ariaLabel',
|
|
40
|
+
'[class]': 'cssClasses',
|
|
41
|
+
}, template: "<ecl-icon icon=\"solid-arrow\" class=\"ecl-table__icon ecl-table__icon-up\" [size]=\"(eclThemeService.isEC$ | async) ? 'xs' : 'm'\"> </ecl-icon>\n<ecl-icon icon=\"solid-arrow\" class=\"ecl-table__icon ecl-table__icon-down\" [size]=\"(eclThemeService.isEC$ | async) ? 'xs' : 'm'\"> </ecl-icon>\n" }]
|
|
42
|
+
}] });
|
|
47
43
|
|
|
48
44
|
/**
|
|
49
45
|
* Event emitted when the table sort order changes.
|
|
@@ -85,7 +81,7 @@ class EclTableDirective extends ECLBaseDirective {
|
|
|
85
81
|
* Computed list of CSS classes for the host element.
|
|
86
82
|
*/
|
|
87
83
|
get cssClasses() {
|
|
88
|
-
return [super.getCssClasses('ecl-table'), this.isZebra() ? 'ecl-table--zebra' : '', this.
|
|
84
|
+
return [super.getCssClasses('ecl-table'), this.isZebra() ? 'ecl-table--zebra' : '', this.isSimpleTable() ? 'ecl-table--simple' : ''].join(' ').trim();
|
|
89
85
|
}
|
|
90
86
|
constructor() {
|
|
91
87
|
super();
|
|
@@ -94,29 +90,63 @@ class EclTableDirective extends ECLBaseDirective {
|
|
|
94
90
|
*/
|
|
95
91
|
this.isZebra = input(false, { ...(ngDevMode ? { debugName: "isZebra" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
96
92
|
/**
|
|
97
|
-
*
|
|
98
|
-
*
|
|
93
|
+
* Opts out of the enhanced mobile layout and applies the "simple" table variant
|
|
94
|
+
* by adding the `ecl-table--simple` class.
|
|
95
|
+
*
|
|
96
|
+
* This only affects narrow (mobile) viewports; on desktop both variants render as
|
|
97
|
+
* a standard table, so this input is effectively a no-op there.
|
|
98
|
+
* - Default (enhanced): on mobile each row collapses into a stacked, card-like layout
|
|
99
|
+
* that uses the `eclTableCellHeader` value as the label for each cell.
|
|
100
|
+
* - Simple: on mobile the table keeps its native structure and scrolls horizontally
|
|
101
|
+
* inside the responsive wrapper instead of collapsing.
|
|
102
|
+
*
|
|
103
|
+
* Automatically enabled if no header is detected, since the enhanced mobile layout
|
|
104
|
+
* has no header labels to project onto the cells.
|
|
99
105
|
*/
|
|
100
|
-
this.isSimple = false;
|
|
106
|
+
this.isSimple = input(false, { ...(ngDevMode ? { debugName: "isSimple" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
107
|
+
/**
|
|
108
|
+
* Writable internal "simple" state, seeded from the `isSimple` input.
|
|
109
|
+
* May be forced to `true` internally when no header is detected.
|
|
110
|
+
*/
|
|
111
|
+
this.isSimpleTable = linkedSignal(() => this.isSimple(), /* @ts-ignore */
|
|
112
|
+
...(ngDevMode ? [{ debugName: "isSimpleTable" }] : /* istanbul ignore next */ []));
|
|
113
|
+
/**
|
|
114
|
+
* The HTML ID attribute of the table. If not provided, a UUID is generated.
|
|
115
|
+
*/
|
|
116
|
+
this.id = input(/* @ts-ignore */
|
|
117
|
+
...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
|
|
118
|
+
/**
|
|
119
|
+
* Writable internal id, seeded from the `id` input and falling back to a
|
|
120
|
+
* generated UUID when none is provided.
|
|
121
|
+
*/
|
|
122
|
+
this.tableId = linkedSignal(() => this.id(), /* @ts-ignore */
|
|
123
|
+
...(ngDevMode ? [{ debugName: "tableId" }] : /* istanbul ignore next */ []));
|
|
101
124
|
/**
|
|
102
125
|
* Emits an event when a column sort is triggered.
|
|
103
126
|
*/
|
|
104
|
-
this.sort =
|
|
127
|
+
this.sort = output();
|
|
105
128
|
/**
|
|
106
129
|
* List of header directives detected in the content.
|
|
107
130
|
*/
|
|
108
131
|
this.eclTableHeaders = contentChildren(forwardRef(() => EclTableHeaderDirective), { ...(ngDevMode ? { debugName: "eclTableHeaders" } : /* istanbul ignore next */ {}), descendants: true });
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
132
|
+
// Re-emit each header's sort event through the table's own `sort` output.
|
|
133
|
+
// Re-subscribes whenever the set of headers changes, disposing the previous
|
|
134
|
+
// subscriptions so removed headers don't leak.
|
|
135
|
+
effect((onCleanup) => {
|
|
136
|
+
const subscription = new Subscription();
|
|
137
|
+
this.eclTableHeaders().forEach((header) => {
|
|
138
|
+
subscription.add(header.sort.subscribe((evt) => this.sort.emit(evt)));
|
|
139
|
+
});
|
|
140
|
+
onCleanup(() => subscription.unsubscribe());
|
|
141
|
+
});
|
|
112
142
|
}
|
|
113
143
|
/**
|
|
114
144
|
* Lifecycle hook that runs on component initialization.
|
|
115
145
|
* Generates a unique ID if none is provided.
|
|
116
146
|
*/
|
|
117
147
|
ngOnInit() {
|
|
118
|
-
if (!this.
|
|
119
|
-
this.
|
|
148
|
+
if (!this.tableId()) {
|
|
149
|
+
this.tableId.set(crypto.randomUUID());
|
|
120
150
|
}
|
|
121
151
|
}
|
|
122
152
|
/**
|
|
@@ -127,55 +157,30 @@ class EclTableDirective extends ECLBaseDirective {
|
|
|
127
157
|
this.convertToSimpleVariant();
|
|
128
158
|
}
|
|
129
159
|
/**
|
|
130
|
-
*
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
diff.forEachAddedItem((change) => {
|
|
136
|
-
change.item.sort.pipe(takeUntil(this.destroy$)).subscribe((evt) => {
|
|
137
|
-
this.sort.emit(evt);
|
|
138
|
-
});
|
|
139
|
-
});
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
/**
|
|
143
|
-
* Cleans up subscriptions on destroy to prevent memory leaks.
|
|
144
|
-
*/
|
|
145
|
-
ngOnDestroy() {
|
|
146
|
-
this.destroy$.next(true);
|
|
147
|
-
this.destroy$.unsubscribe();
|
|
148
|
-
}
|
|
149
|
-
/**
|
|
150
|
-
* Sets the table to "simple" variant if no header directives are found.
|
|
160
|
+
* Forces the "simple" variant when no header directives are found.
|
|
161
|
+
*
|
|
162
|
+
* The enhanced mobile layout relies on header cells to supply the per-cell labels
|
|
163
|
+
* (via `eclTableCellHeader`); without headers there is nothing to project, so the
|
|
164
|
+
* table falls back to the simple (horizontal-scroll) variant on mobile.
|
|
151
165
|
*/
|
|
152
166
|
convertToSimpleVariant() {
|
|
153
167
|
if (this.eclTableHeaders().length === 0) {
|
|
154
|
-
this.
|
|
168
|
+
this.isSimpleTable.set(true);
|
|
155
169
|
}
|
|
156
170
|
}
|
|
157
171
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EclTableDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
158
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "22.1.2", type: EclTableDirective, isStandalone: true, selector: "[eclTable]", inputs: { isZebra: { classPropertyName: "isZebra", publicName: "isZebra", isSignal: true, isRequired: false, transformFunction: null }, isSimple: { classPropertyName: "isSimple", publicName: "isSimple", isSignal:
|
|
172
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "22.1.2", type: EclTableDirective, isStandalone: true, selector: "[eclTable]", inputs: { isZebra: { classPropertyName: "isZebra", publicName: "isZebra", isSignal: true, isRequired: false, transformFunction: null }, isSimple: { classPropertyName: "isSimple", publicName: "isSimple", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { sort: "sort" }, host: { properties: { "attr.id": "tableId()", "class": "cssClasses" } }, queries: [{ propertyName: "eclTableHeaders", predicate: i0.forwardRef(() => EclTableHeaderDirective), descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0 }); }
|
|
159
173
|
}
|
|
160
174
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EclTableDirective, decorators: [{
|
|
161
175
|
type: Directive,
|
|
162
176
|
args: [{
|
|
163
177
|
selector: '[eclTable]',
|
|
178
|
+
host: {
|
|
179
|
+
'[attr.id]': 'tableId()',
|
|
180
|
+
'[class]': 'cssClasses',
|
|
181
|
+
},
|
|
164
182
|
}]
|
|
165
|
-
}], ctorParameters: () => [], propDecorators: { isZebra: [{ type: i0.Input, args: [{ isSignal: true, alias: "isZebra", required: false }] }], isSimple: [{
|
|
166
|
-
type: Input,
|
|
167
|
-
args: [{ transform: booleanAttribute }]
|
|
168
|
-
}], id: [{
|
|
169
|
-
type: Input
|
|
170
|
-
}, {
|
|
171
|
-
type: HostBinding,
|
|
172
|
-
args: ['attr.id']
|
|
173
|
-
}], cssClasses: [{
|
|
174
|
-
type: HostBinding,
|
|
175
|
-
args: ['class']
|
|
176
|
-
}], sort: [{
|
|
177
|
-
type: Output
|
|
178
|
-
}], eclTableHeaders: [{ type: i0.ContentChildren, args: [forwardRef(() => EclTableHeaderDirective), { ...{ descendants: true }, isSignal: true }] }] } });
|
|
183
|
+
}], ctorParameters: () => [], propDecorators: { isZebra: [{ type: i0.Input, args: [{ isSignal: true, alias: "isZebra", required: false }] }], isSimple: [{ type: i0.Input, args: [{ isSignal: true, alias: "isSimple", required: false }] }], id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], sort: [{ type: i0.Output, args: ["sort"] }], eclTableHeaders: [{ type: i0.ContentChildren, args: [forwardRef(() => EclTableHeaderDirective), { ...{ descendants: true }, isSignal: true }] }] } });
|
|
179
184
|
/**
|
|
180
185
|
* Directive applied to `<thead>` elements inside a table.
|
|
181
186
|
* Detects header changes and manages ARIA attributes.
|
|
@@ -193,51 +198,48 @@ class EclTableHeadDirective extends ECLBaseDirective {
|
|
|
193
198
|
* List of header directives under this head element.
|
|
194
199
|
*/
|
|
195
200
|
this.eclTableHeaders = contentChildren(forwardRef(() => EclTableHeaderDirective), { ...(ngDevMode ? { debugName: "eclTableHeaders" } : /* istanbul ignore next */ {}), descendants: true });
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
diff.forEachAddedItem((change) => {
|
|
207
|
-
change.item.sort.pipe(takeUntil(this.destroy$)).subscribe((evt) => {
|
|
208
|
-
this.eclTableHeaders().forEach((th) => {
|
|
209
|
-
th.removeAriaSort();
|
|
210
|
-
});
|
|
211
|
-
});
|
|
201
|
+
// When any header is sorted, reset the `aria-sort` state on every header so
|
|
202
|
+
// only the active column reports a sort direction. Re-subscribes whenever the
|
|
203
|
+
// set of headers changes, disposing the previous subscriptions.
|
|
204
|
+
effect((onCleanup) => {
|
|
205
|
+
const headers = this.eclTableHeaders();
|
|
206
|
+
const subscription = new Subscription();
|
|
207
|
+
headers.forEach((header) => {
|
|
208
|
+
subscription.add(header.sort.subscribe(() => {
|
|
209
|
+
headers.forEach((th) => th.removeAriaSort());
|
|
210
|
+
}));
|
|
212
211
|
});
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
/**
|
|
216
|
-
* Cleans up subscriptions on destroy to prevent memory leaks.
|
|
217
|
-
*/
|
|
218
|
-
ngOnDestroy() {
|
|
219
|
-
this.destroy$.next(true);
|
|
220
|
-
this.destroy$.unsubscribe();
|
|
212
|
+
onCleanup(() => subscription.unsubscribe());
|
|
213
|
+
});
|
|
221
214
|
}
|
|
222
215
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EclTableHeadDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
223
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "22.1.2", type: EclTableHeadDirective, isStandalone: true, selector: "[eclTableHead]", host: { properties: { "class": "
|
|
216
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "22.1.2", type: EclTableHeadDirective, isStandalone: true, selector: "[eclTableHead]", host: { properties: { "class": "cssClasses" } }, queries: [{ propertyName: "eclTableHeaders", predicate: i0.forwardRef(() => EclTableHeaderDirective), descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0 }); }
|
|
224
217
|
}
|
|
225
218
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EclTableHeadDirective, decorators: [{
|
|
226
219
|
type: Directive,
|
|
227
220
|
args: [{
|
|
228
221
|
selector: '[eclTableHead]',
|
|
222
|
+
host: {
|
|
223
|
+
'[class]': 'cssClasses',
|
|
224
|
+
},
|
|
229
225
|
}]
|
|
230
|
-
}], ctorParameters: () => [], propDecorators: {
|
|
231
|
-
type: HostBinding,
|
|
232
|
-
args: ['class']
|
|
233
|
-
}], eclTableHeaders: [{ type: i0.ContentChildren, args: [forwardRef(() => EclTableHeaderDirective), { ...{ descendants: true }, isSignal: true }] }] } });
|
|
226
|
+
}], ctorParameters: () => [], propDecorators: { eclTableHeaders: [{ type: i0.ContentChildren, args: [forwardRef(() => EclTableHeaderDirective), { ...{ descendants: true }, isSignal: true }] }] } });
|
|
234
227
|
/**
|
|
235
228
|
* Directive representing a single table header cell in an ECL table.
|
|
236
229
|
* Supports sorting functionality and accessibility attributes.
|
|
237
230
|
*/
|
|
238
231
|
class EclTableHeaderDirective extends ECLBaseDirective {
|
|
232
|
+
get ariaSort() {
|
|
233
|
+
return this.sortOrder ?? 'none';
|
|
234
|
+
}
|
|
235
|
+
/**
|
|
236
|
+
* Computes the CSS classes applied to the header element.
|
|
237
|
+
*/
|
|
238
|
+
get cssClasses() {
|
|
239
|
+
return [super.getCssClasses('ecl-table__header')].join(' ').trim();
|
|
240
|
+
}
|
|
239
241
|
constructor() {
|
|
240
|
-
super(
|
|
242
|
+
super();
|
|
241
243
|
/**
|
|
242
244
|
* Current sort order of the column (`ascending`, `descending`, or `null`).
|
|
243
245
|
* This sets the `aria-sort` attribute used for accessibility.
|
|
@@ -247,50 +249,57 @@ class EclTableHeaderDirective extends ECLBaseDirective {
|
|
|
247
249
|
* Enables sorting on the header. Also sets the `data-ecl-table-sort-toggle` attribute.
|
|
248
250
|
* Acts as the unique identifier for the column when sorting.
|
|
249
251
|
*/
|
|
250
|
-
this.eclSortable = null
|
|
252
|
+
this.eclSortable = input(null, /* @ts-ignore */
|
|
253
|
+
...(ngDevMode ? [{ debugName: "eclSortable" }] : /* istanbul ignore next */ []));
|
|
251
254
|
/**
|
|
252
255
|
* Scope of the table header. Default is `col`. Sets the `scope` attribute.
|
|
253
256
|
*/
|
|
254
|
-
this.scope = 'col'
|
|
257
|
+
this.scope = input('col', /* @ts-ignore */
|
|
258
|
+
...(ngDevMode ? [{ debugName: "scope" }] : /* istanbul ignore next */ []));
|
|
259
|
+
/**
|
|
260
|
+
* HTML `id` attribute of the table header cell. If not provided, a UUID will be generated.
|
|
261
|
+
*/
|
|
262
|
+
this.id = input(/* @ts-ignore */
|
|
263
|
+
...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
|
|
264
|
+
/**
|
|
265
|
+
* Writable internal id, seeded from the `id` input and falling back to a
|
|
266
|
+
* generated UUID when none is provided.
|
|
267
|
+
*/
|
|
268
|
+
this.headerId = linkedSignal(() => this.id(), /* @ts-ignore */
|
|
269
|
+
...(ngDevMode ? [{ debugName: "headerId" }] : /* istanbul ignore next */ []));
|
|
255
270
|
/**
|
|
256
271
|
* Aria-label for the sort button that will be injected into the header cell.
|
|
272
|
+
*
|
|
273
|
+
* When provided, the value is used verbatim: it is NOT translated and is NOT
|
|
274
|
+
* updated as the sort direction changes. The consumer is responsible for passing
|
|
275
|
+
* an already-localized string (e.g. `[sortButtonAriaLabel]="'my.key' | translate"`).
|
|
276
|
+
*
|
|
277
|
+
* When omitted, the directive manages the label internally and translates it via
|
|
278
|
+
* the `ecl.table.SORT-LABEL.*` keys, updating it on each sort toggle.
|
|
257
279
|
*/
|
|
258
280
|
this.sortButtonAriaLabel = input(undefined, /* @ts-ignore */
|
|
259
281
|
...(ngDevMode ? [{ debugName: "sortButtonAriaLabel" }] : /* istanbul ignore next */ []));
|
|
260
282
|
/**
|
|
261
283
|
* Emits an `EclSortTableEvent` when the header is clicked and sorting is triggered.
|
|
262
284
|
*/
|
|
263
|
-
this.sort =
|
|
285
|
+
this.sort = output();
|
|
264
286
|
this.el = inject(ElementRef);
|
|
265
287
|
this.viewContainerRef = inject(ViewContainerRef);
|
|
266
288
|
this.renderer = inject(Renderer2);
|
|
267
289
|
this.translateService = inject(TranslateService);
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
}
|
|
272
|
-
/**
|
|
273
|
-
* Computes the CSS classes applied to the header element.
|
|
274
|
-
*/
|
|
275
|
-
get cssClasses() {
|
|
276
|
-
return [super.getCssClasses('ecl-table__header')].join(' ').trim();
|
|
290
|
+
// Inject the sort button after the next render. `afterNextRender` only runs in
|
|
291
|
+
// the browser, so the button is created client-side (never during SSR).
|
|
292
|
+
afterNextRender(() => this.initSortButtons());
|
|
277
293
|
}
|
|
278
294
|
/**
|
|
279
295
|
* Lifecycle hook that runs on component initialization.
|
|
280
296
|
* Generates a unique `id` if not already defined.
|
|
281
297
|
*/
|
|
282
298
|
ngOnInit() {
|
|
283
|
-
if (!this.
|
|
284
|
-
this.
|
|
299
|
+
if (!this.headerId()) {
|
|
300
|
+
this.headerId.set(crypto.randomUUID());
|
|
285
301
|
}
|
|
286
302
|
}
|
|
287
|
-
/**
|
|
288
|
-
* Lifecycle hook that runs after the view is initialized.
|
|
289
|
-
* Injects the sort button into the header cell if sorting is enabled.
|
|
290
|
-
*/
|
|
291
|
-
ngAfterContentInit() {
|
|
292
|
-
this.initSortButtons();
|
|
293
|
-
}
|
|
294
303
|
/**
|
|
295
304
|
* Clears the `aria-sort` attribute, used to visually and semantically reset previous sort state.
|
|
296
305
|
*
|
|
@@ -307,7 +316,7 @@ class EclTableHeaderDirective extends ECLBaseDirective {
|
|
|
307
316
|
* Click triggers 1 -> asc sorting, 2 -> desc sorting then 3 -> initial sorting
|
|
308
317
|
*/
|
|
309
318
|
onClick(evt) {
|
|
310
|
-
if (this.eclSortable) {
|
|
319
|
+
if (this.eclSortable()) {
|
|
311
320
|
switch (this.sortOrder) {
|
|
312
321
|
case null: {
|
|
313
322
|
this.sortOrder = SortOrder.ASCENDING;
|
|
@@ -325,11 +334,11 @@ class EclTableHeaderDirective extends ECLBaseDirective {
|
|
|
325
334
|
break;
|
|
326
335
|
}
|
|
327
336
|
}
|
|
328
|
-
this.sort.emit(new EclSortTableEvent(this.sortOrder, this.eclSortable));
|
|
337
|
+
this.sort.emit(new EclSortTableEvent(this.sortOrder, this.eclSortable()));
|
|
329
338
|
}
|
|
330
339
|
}
|
|
331
340
|
changeButtonAriaLabel(newAriaLabel) {
|
|
332
|
-
if (!this.sortButtonAriaLabel()) {
|
|
341
|
+
if (!this.sortButtonAriaLabel() && this.containerComponentRef) {
|
|
333
342
|
this.containerComponentRef.instance.ariaLabel = newAriaLabel;
|
|
334
343
|
}
|
|
335
344
|
}
|
|
@@ -338,55 +347,35 @@ class EclTableHeaderDirective extends ECLBaseDirective {
|
|
|
338
347
|
* Optionally sets the button's `aria-label` if provided.
|
|
339
348
|
*/
|
|
340
349
|
initSortButtons() {
|
|
341
|
-
if (this.eclSortable) {
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
}
|
|
352
|
-
});
|
|
350
|
+
if (this.eclSortable()) {
|
|
351
|
+
this.containerComponentRef = this.viewContainerRef.createComponent(EclTableSortButtonComponent);
|
|
352
|
+
this.renderer.appendChild(this.el.nativeElement, this.containerComponentRef.location.nativeElement);
|
|
353
|
+
const sortButtonAriaLabel = this.sortButtonAriaLabel();
|
|
354
|
+
if (sortButtonAriaLabel) {
|
|
355
|
+
this.containerComponentRef.instance.ariaLabel = sortButtonAriaLabel;
|
|
356
|
+
}
|
|
357
|
+
else {
|
|
358
|
+
this.containerComponentRef.instance.ariaLabel = this.translateService.instant('ecl.table.SORT-LABEL.default');
|
|
359
|
+
}
|
|
353
360
|
}
|
|
354
361
|
}
|
|
355
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EclTableHeaderDirective, deps:
|
|
356
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.2", type: EclTableHeaderDirective, isStandalone: true, selector: "[eclTableHeader]", inputs: { eclSortable: { classPropertyName: "eclSortable", publicName: "eclSortable", isSignal:
|
|
362
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EclTableHeaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
363
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.2", type: EclTableHeaderDirective, isStandalone: true, selector: "[eclTableHeader]", inputs: { eclSortable: { classPropertyName: "eclSortable", publicName: "eclSortable", isSignal: true, isRequired: false, transformFunction: null }, scope: { classPropertyName: "scope", publicName: "scope", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, sortButtonAriaLabel: { classPropertyName: "sortButtonAriaLabel", publicName: "sortButtonAriaLabel", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { sort: "sort" }, host: { listeners: { "click": "onClick($event)" }, properties: { "attr.aria-sort": "ariaSort", "attr.data-ecl-table-sort-toggle": "eclSortable()", "attr.scope": "scope()", "attr.id": "headerId()", "class": "cssClasses" } }, usesInheritance: true, ngImport: i0 }); }
|
|
357
364
|
}
|
|
358
365
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EclTableHeaderDirective, decorators: [{
|
|
359
366
|
type: Directive,
|
|
360
367
|
args: [{
|
|
361
368
|
selector: '[eclTableHeader]',
|
|
369
|
+
host: {
|
|
370
|
+
'[attr.aria-sort]': 'ariaSort',
|
|
371
|
+
'[attr.data-ecl-table-sort-toggle]': 'eclSortable()',
|
|
372
|
+
'[attr.scope]': 'scope()',
|
|
373
|
+
'[attr.id]': 'headerId()',
|
|
374
|
+
'[class]': 'cssClasses',
|
|
375
|
+
'(click)': 'onClick($event)',
|
|
376
|
+
},
|
|
362
377
|
}]
|
|
363
|
-
}], propDecorators: {
|
|
364
|
-
type: HostBinding,
|
|
365
|
-
args: ['attr.aria-sort']
|
|
366
|
-
}], eclSortable: [{
|
|
367
|
-
type: Input
|
|
368
|
-
}, {
|
|
369
|
-
type: HostBinding,
|
|
370
|
-
args: ['attr.data-ecl-table-sort-toggle']
|
|
371
|
-
}], scope: [{
|
|
372
|
-
type: Input
|
|
373
|
-
}, {
|
|
374
|
-
type: HostBinding,
|
|
375
|
-
args: ['attr.scope']
|
|
376
|
-
}], id: [{
|
|
377
|
-
type: Input
|
|
378
|
-
}, {
|
|
379
|
-
type: HostBinding,
|
|
380
|
-
args: ['attr.id']
|
|
381
|
-
}], sortButtonAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "sortButtonAriaLabel", required: false }] }], cssClasses: [{
|
|
382
|
-
type: HostBinding,
|
|
383
|
-
args: ['class']
|
|
384
|
-
}], sort: [{
|
|
385
|
-
type: Output
|
|
386
|
-
}], onClick: [{
|
|
387
|
-
type: HostListener,
|
|
388
|
-
args: ['click', ['$event']]
|
|
389
|
-
}] } });
|
|
378
|
+
}], ctorParameters: () => [], propDecorators: { eclSortable: [{ type: i0.Input, args: [{ isSignal: true, alias: "eclSortable", required: false }] }], scope: [{ type: i0.Input, args: [{ isSignal: true, alias: "scope", required: false }] }], id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], sortButtonAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "sortButtonAriaLabel", required: false }] }], sort: [{ type: i0.Output, args: ["sort"] }] } });
|
|
390
379
|
/**
|
|
391
380
|
* Directive for applying ECL row styling to a table row element.
|
|
392
381
|
*/
|
|
@@ -398,17 +387,17 @@ class EclTableRowDirective extends ECLBaseDirective {
|
|
|
398
387
|
return [super.getCssClasses('ecl-table__row')].join(' ').trim();
|
|
399
388
|
}
|
|
400
389
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EclTableRowDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
401
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.2", type: EclTableRowDirective, isStandalone: true, selector: "[eclTableRow]", host: { properties: { "class": "
|
|
390
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.2", type: EclTableRowDirective, isStandalone: true, selector: "[eclTableRow]", host: { properties: { "class": "cssClasses" } }, usesInheritance: true, ngImport: i0 }); }
|
|
402
391
|
}
|
|
403
392
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EclTableRowDirective, decorators: [{
|
|
404
393
|
type: Directive,
|
|
405
394
|
args: [{
|
|
406
395
|
selector: '[eclTableRow]',
|
|
396
|
+
host: {
|
|
397
|
+
'[class]': 'cssClasses',
|
|
398
|
+
},
|
|
407
399
|
}]
|
|
408
|
-
}]
|
|
409
|
-
type: HostBinding,
|
|
410
|
-
args: ['class']
|
|
411
|
-
}] } });
|
|
400
|
+
}] });
|
|
412
401
|
/**
|
|
413
402
|
* Directive for applying ECL body styling to a table body element.
|
|
414
403
|
*/
|
|
@@ -420,62 +409,70 @@ class EclTableBodyDirective extends ECLBaseDirective {
|
|
|
420
409
|
return [super.getCssClasses('ecl-table__body')].join(' ').trim();
|
|
421
410
|
}
|
|
422
411
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EclTableBodyDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
423
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.2", type: EclTableBodyDirective, isStandalone: true, selector: "[eclTableBody]", host: { properties: { "class": "
|
|
412
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.2", type: EclTableBodyDirective, isStandalone: true, selector: "[eclTableBody]", host: { properties: { "class": "cssClasses" } }, usesInheritance: true, ngImport: i0 }); }
|
|
424
413
|
}
|
|
425
414
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EclTableBodyDirective, decorators: [{
|
|
426
415
|
type: Directive,
|
|
427
416
|
args: [{
|
|
428
417
|
selector: '[eclTableBody]',
|
|
418
|
+
host: {
|
|
419
|
+
'[class]': 'cssClasses',
|
|
420
|
+
},
|
|
429
421
|
}]
|
|
430
|
-
}]
|
|
431
|
-
type: HostBinding,
|
|
432
|
-
args: ['class']
|
|
433
|
-
}] } });
|
|
422
|
+
}] });
|
|
434
423
|
/**
|
|
435
424
|
* Directive for styling individual table cells in the ECL table.
|
|
436
425
|
*/
|
|
437
426
|
class EclTableCellDirective extends ECLBaseDirective {
|
|
438
427
|
constructor() {
|
|
439
428
|
super(...arguments);
|
|
429
|
+
/**
|
|
430
|
+
* Provides a reference to the related table header.
|
|
431
|
+
* Sets the `data-ecl-table-header` attribute for accessibility or responsive behavior.
|
|
432
|
+
*/
|
|
433
|
+
this.eclTableCellHeader = input(/* @ts-ignore */
|
|
434
|
+
...(ngDevMode ? [undefined, { debugName: "eclTableCellHeader" }] : /* istanbul ignore next */ []));
|
|
440
435
|
/**
|
|
441
436
|
* If `true`, applies additional group styling to the cell.
|
|
442
437
|
*/
|
|
443
|
-
this.isGroup = false;
|
|
438
|
+
this.isGroup = input(false, { ...(ngDevMode ? { debugName: "isGroup" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
444
439
|
}
|
|
445
440
|
/**
|
|
446
441
|
* Computes and applies appropriate CSS classes for the table cell.
|
|
447
442
|
*/
|
|
448
443
|
get cssClasses() {
|
|
449
|
-
return [super.getCssClasses('ecl-table__cell'), this.isGroup ? 'ecl-table__cell--group' : ''].join(' ').trim();
|
|
444
|
+
return [super.getCssClasses('ecl-table__cell'), this.isGroup() ? 'ecl-table__cell--group' : ''].join(' ').trim();
|
|
450
445
|
}
|
|
451
446
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EclTableCellDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
452
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
447
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.2", type: EclTableCellDirective, isStandalone: true, selector: "[eclTableCell]", inputs: { eclTableCellHeader: { classPropertyName: "eclTableCellHeader", publicName: "eclTableCellHeader", isSignal: true, isRequired: false, transformFunction: null }, isGroup: { classPropertyName: "isGroup", publicName: "isGroup", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.data-ecl-table-header": "eclTableCellHeader()", "class": "cssClasses" } }, usesInheritance: true, ngImport: i0 }); }
|
|
453
448
|
}
|
|
454
449
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EclTableCellDirective, decorators: [{
|
|
455
450
|
type: Directive,
|
|
456
451
|
args: [{
|
|
457
452
|
selector: '[eclTableCell]',
|
|
453
|
+
host: {
|
|
454
|
+
'[attr.data-ecl-table-header]': 'eclTableCellHeader()',
|
|
455
|
+
'[class]': 'cssClasses',
|
|
456
|
+
},
|
|
458
457
|
}]
|
|
459
|
-
}], propDecorators: { eclTableCellHeader: [{
|
|
460
|
-
type: Input
|
|
461
|
-
}, {
|
|
462
|
-
type: HostBinding,
|
|
463
|
-
args: ['attr.data-ecl-table-header']
|
|
464
|
-
}], isGroup: [{
|
|
465
|
-
type: Input
|
|
466
|
-
}, {
|
|
467
|
-
type: HostBinding,
|
|
468
|
-
args: ['class.ecl-table__cell--group']
|
|
469
|
-
}], cssClasses: [{
|
|
470
|
-
type: HostBinding,
|
|
471
|
-
args: ['class']
|
|
472
|
-
}] } });
|
|
458
|
+
}], propDecorators: { eclTableCellHeader: [{ type: i0.Input, args: [{ isSignal: true, alias: "eclTableCellHeader", required: false }] }], isGroup: [{ type: i0.Input, args: [{ isSignal: true, alias: "isGroup", required: false }] }] } });
|
|
473
459
|
/**
|
|
474
460
|
* Directive used to group multiple table cells under a shared header group.
|
|
475
461
|
*/
|
|
476
462
|
class EclTableCellGroupDirective extends ECLBaseDirective {
|
|
477
463
|
constructor() {
|
|
478
464
|
super(...arguments);
|
|
465
|
+
/**
|
|
466
|
+
* Sets the `data-ecl-table-header-group` attribute to link to a header group.
|
|
467
|
+
*/
|
|
468
|
+
this.eclTableCellGroup = input(/* @ts-ignore */
|
|
469
|
+
...(ngDevMode ? [undefined, { debugName: "eclTableCellGroup" }] : /* istanbul ignore next */ []));
|
|
470
|
+
/**
|
|
471
|
+
* Writable internal group value, seeded from the `eclTableCellGroup` input.
|
|
472
|
+
* An empty string is normalized to `null` so the attribute is omitted.
|
|
473
|
+
*/
|
|
474
|
+
this.cellGroup = linkedSignal(() => this.eclTableCellGroup(), /* @ts-ignore */
|
|
475
|
+
...(ngDevMode ? [{ debugName: "cellGroup" }] : /* istanbul ignore next */ []));
|
|
479
476
|
this.cd = inject(ChangeDetectorRef);
|
|
480
477
|
}
|
|
481
478
|
/**
|
|
@@ -488,26 +485,22 @@ class EclTableCellGroupDirective extends ECLBaseDirective {
|
|
|
488
485
|
* Ensures `data-ecl-table-header-group` is not empty and triggers change detection.
|
|
489
486
|
*/
|
|
490
487
|
ngAfterViewInit() {
|
|
491
|
-
this.
|
|
488
|
+
this.cellGroup.set(this.cellGroup() !== '' ? this.cellGroup() : null);
|
|
492
489
|
this.cd.detectChanges();
|
|
493
490
|
}
|
|
494
491
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EclTableCellGroupDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
495
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
492
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.2", type: EclTableCellGroupDirective, isStandalone: true, selector: "[eclTableCellGroup]", inputs: { eclTableCellGroup: { classPropertyName: "eclTableCellGroup", publicName: "eclTableCellGroup", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.data-ecl-table-header-group": "cellGroup()", "class": "cssClasses" } }, usesInheritance: true, ngImport: i0 }); }
|
|
496
493
|
}
|
|
497
494
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EclTableCellGroupDirective, decorators: [{
|
|
498
495
|
type: Directive,
|
|
499
496
|
args: [{
|
|
500
497
|
selector: '[eclTableCellGroup]',
|
|
498
|
+
host: {
|
|
499
|
+
'[attr.data-ecl-table-header-group]': 'cellGroup()',
|
|
500
|
+
'[class]': 'cssClasses',
|
|
501
|
+
},
|
|
501
502
|
}]
|
|
502
|
-
}], propDecorators: { eclTableCellGroup: [{
|
|
503
|
-
type: Input
|
|
504
|
-
}, {
|
|
505
|
-
type: HostBinding,
|
|
506
|
-
args: ['attr.data-ecl-table-header-group']
|
|
507
|
-
}], cssClasses: [{
|
|
508
|
-
type: HostBinding,
|
|
509
|
-
args: ['class']
|
|
510
|
-
}] } });
|
|
503
|
+
}], propDecorators: { eclTableCellGroup: [{ type: i0.Input, args: [{ isSignal: true, alias: "eclTableCellGroup", required: false }] }] } });
|
|
511
504
|
/**
|
|
512
505
|
* Directive for applying ECL responsive wrapper to a table container.
|
|
513
506
|
*/
|
|
@@ -519,40 +512,33 @@ class EclTableResponsiveDirective extends ECLBaseDirective {
|
|
|
519
512
|
return [super.getCssClasses('ecl-table-responsive')].join(' ').trim();
|
|
520
513
|
}
|
|
521
514
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EclTableResponsiveDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
522
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.2", type: EclTableResponsiveDirective, isStandalone: true, selector: "[eclTableResponsive]", host: { properties: { "class": "
|
|
515
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.2", type: EclTableResponsiveDirective, isStandalone: true, selector: "[eclTableResponsive]", host: { properties: { "class": "cssClasses" } }, usesInheritance: true, ngImport: i0 }); }
|
|
523
516
|
}
|
|
524
517
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EclTableResponsiveDirective, decorators: [{
|
|
525
518
|
type: Directive,
|
|
526
519
|
args: [{
|
|
527
520
|
selector: '[eclTableResponsive]',
|
|
521
|
+
host: {
|
|
522
|
+
'[class]': 'cssClasses',
|
|
523
|
+
},
|
|
528
524
|
}]
|
|
529
|
-
}]
|
|
530
|
-
type: HostBinding,
|
|
531
|
-
args: ['class']
|
|
532
|
-
}] } });
|
|
525
|
+
}] });
|
|
533
526
|
/**
|
|
534
527
|
* Directive for applying styling to a table caption element.
|
|
535
528
|
*/
|
|
536
529
|
class EclTableCaptionDirective extends ECLBaseDirective {
|
|
537
|
-
constructor() {
|
|
538
|
-
super(...arguments);
|
|
539
|
-
/**
|
|
540
|
-
* Applies the `ecl-table__caption` class to the caption.
|
|
541
|
-
*/
|
|
542
|
-
this.hasClass = true;
|
|
543
|
-
}
|
|
544
530
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EclTableCaptionDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
545
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.2", type: EclTableCaptionDirective, isStandalone: true, selector: "caption[eclTableCaption]", host: { properties: { "class.ecl-table__caption": "
|
|
531
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.2", type: EclTableCaptionDirective, isStandalone: true, selector: "caption[eclTableCaption]", host: { properties: { "class.ecl-table__caption": "true" } }, usesInheritance: true, ngImport: i0 }); }
|
|
546
532
|
}
|
|
547
533
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: EclTableCaptionDirective, decorators: [{
|
|
548
534
|
type: Directive,
|
|
549
535
|
args: [{
|
|
550
536
|
selector: 'caption[eclTableCaption]',
|
|
537
|
+
host: {
|
|
538
|
+
'[class.ecl-table__caption]': 'true',
|
|
539
|
+
},
|
|
551
540
|
}]
|
|
552
|
-
}]
|
|
553
|
-
type: HostBinding,
|
|
554
|
-
args: ['class.ecl-table__caption']
|
|
555
|
-
}] } });
|
|
541
|
+
}] });
|
|
556
542
|
|
|
557
543
|
const EUI_ECL_TABLE = [
|
|
558
544
|
EclTableCaptionDirective,
|