@eui/ecl 21.0.0-next.9 → 21.0.0-rc.1
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 +863 -0
- package/docs/components/EclAccordionComponent.html +9 -3
- package/docs/components/EclAccordionItemComponent.html +9 -3
- package/docs/components/EclAppComponent.html +3 -3
- package/docs/components/EclBannerComponent.html +17 -5
- package/docs/components/EclBlockquoteComponent.html +3 -3
- package/docs/components/EclBreadcrumbComponent.html +12 -46
- package/docs/components/EclBreadcrumbSegmentComponent.html +10 -4
- package/docs/components/EclButtonComponent.html +9 -3
- package/docs/components/EclCardBodyComponent.html +3 -3
- package/docs/components/EclCardComponent.html +3 -3
- package/docs/components/EclCarouselComponent.html +31 -5
- package/docs/components/EclCarouselItemComponent.html +9 -3
- package/docs/components/EclCategoryFilterComponent.html +9 -3
- package/docs/components/EclCategoryFilterItemComponent.html +21 -5
- package/docs/components/EclCategoryFilterListComponent.html +9 -5
- package/docs/components/EclCheckboxHelpComponent.html +3 -3
- package/docs/components/EclCheckboxLabelComponent.html +3 -3
- package/docs/components/EclContentBlockComponent.html +3 -3
- package/docs/components/EclContentItemComponent.html +3 -3
- package/docs/components/EclDateBlockComponent.html +8 -6
- package/docs/components/EclDescriptionListDefinitionComponent.html +3 -5
- package/docs/components/EclExpandableComponent.html +3 -3
- package/docs/components/EclFactFiguresComponent.html +3 -3
- package/docs/components/EclFactFiguresItemComponent.html +3 -3
- package/docs/components/EclFactFiguresViewAllComponent.html +3 -3
- package/docs/components/EclFeaturedComponent.html +9 -3
- package/docs/components/EclFeaturedItemComponent.html +9 -3
- package/docs/components/EclFeaturedItemDescriptionComponent.html +9 -3
- package/docs/components/EclFileComponent.html +9 -3
- package/docs/components/EclFileItemComponent.html +3 -3
- package/docs/components/EclFileItemsComponent.html +3 -3
- package/docs/components/EclFileTaxonomyComponent.html +3 -3
- package/docs/components/EclFormGroupComponent.html +3 -3
- package/docs/components/EclFormLabelComponent.html +10 -4
- package/docs/components/EclGalleryComponent.html +15 -3
- package/docs/components/EclGalleryFooterComponent.html +9 -9
- package/docs/components/EclGalleryItemComponent.html +4 -75
- package/docs/components/EclIconComponent.html +15 -3
- package/docs/components/EclInpageNavigationComponent.html +19 -42
- package/docs/components/EclInpageNavigationItemComponent.html +10 -4
- package/docs/components/EclListIllustrationComponent.html +3 -3
- package/docs/components/EclListIllustrationItemComponent.html +21 -3
- package/docs/components/EclLoadingIndicatorComponent.html +3 -3
- package/docs/components/EclMediaContainerComponent.html +9 -3
- package/docs/components/EclMegaMenuComponent.html +56 -4
- package/docs/components/EclMegaMenuFeaturedComponent.html +9 -3
- package/docs/components/EclMegaMenuInfoComponent.html +9 -3
- package/docs/components/EclMegaMenuItemComponent.html +39 -3
- package/docs/components/EclMegaMenuSubitemComponent.html +18 -24
- package/docs/components/EclMenuComponent.html +51 -3
- package/docs/components/EclMenuItemComponent.html +33 -3
- package/docs/components/EclMenuMegaComponent.html +9 -3
- package/docs/components/EclMenuMegaItemComponent.html +21 -3
- package/docs/components/EclModalBodyComponent.html +4 -40
- package/docs/components/EclModalComponent.html +9 -5
- package/docs/components/EclModalFooterComponent.html +3 -3
- package/docs/components/EclModalHeaderComponent.html +9 -3
- package/docs/components/EclMultiselectComponent.html +9 -13
- package/docs/components/EclMultiselectDropdownComponent.html +27 -7
- package/docs/components/EclMultiselectInputComponent.html +3 -3
- package/docs/components/EclMultiselectOptgroupComponent.html +3 -3
- package/docs/components/EclMultiselectOptionComponent.html +10 -8
- package/docs/components/EclNavigationListComponent.html +3 -3
- package/docs/components/EclNavigationListItemComponent.html +9 -3
- package/docs/components/EclNewsTickerComponent.html +15 -5
- package/docs/components/EclNewsTickerItemComponent.html +9 -5
- package/docs/components/EclNotificationComponent.html +70 -4
- package/docs/components/EclPageHeaderComponent.html +3 -3
- package/docs/components/EclPageHeaderExpandableComponent.html +15 -4
- package/docs/components/EclPaginationComponent.html +15 -3
- package/docs/components/EclPaginationItemComponent.html +10 -4
- package/docs/components/EclPopoverComponent.html +9 -38
- package/docs/components/EclRadioHelpComponent.html +3 -3
- package/docs/components/EclRadioLabelComponent.html +3 -3
- package/docs/components/EclRangeBubbleComponent.html +15 -3
- package/docs/components/EclRangeValueComponent.html +3 -3
- package/docs/components/EclRatingFieldComponent.html +3 -3
- package/docs/components/EclSearchFormComponent.html +8 -8
- package/docs/components/EclSelectContainerComponent.html +3 -3
- package/docs/components/EclSiteFooterComponent.html +23 -4
- package/docs/components/{EclTabMoreComponent.html → EclSiteFooterCoownerComponent.html} +16 -50
- package/docs/components/EclSiteFooterCoreComponent.html +3 -3
- package/docs/components/EclSiteFooterFixedContentEUComponent.html +4 -4
- package/docs/components/EclSiteFooterRowCommonComponent.html +3 -3
- package/docs/components/EclSiteHeaderActionComponent.html +3 -3
- package/docs/components/EclSiteHeaderBannerTopComponent.html +9 -3
- package/docs/components/EclSiteHeaderComponent.html +9 -22
- package/docs/components/EclSiteHeaderCustomActionComponent.html +9 -3
- package/docs/components/EclSiteHeaderEnvironmentComponent.html +3 -3
- package/docs/components/EclSiteHeaderLanguageComponent.html +9 -3
- package/docs/components/EclSiteHeaderLanguagePopoverComponent.html +10 -4
- package/docs/components/EclSiteHeaderLoginComponent.html +9 -3
- package/docs/components/EclSiteHeaderNotificationComponent.html +3 -3
- package/docs/components/EclSiteHeaderSearchComponent.html +13 -7
- package/docs/components/EclSocialMediaFollowComponent.html +3 -3
- package/docs/components/EclSocialMediaFollowItemComponent.html +34 -5
- package/docs/components/EclSplashPageComponent.html +3 -3
- package/docs/components/EclSplashPageLanguageCategoryComponent.html +3 -3
- package/docs/components/EclSplashPageLanguageContainerComponent.html +3 -3
- package/docs/components/EclSplashPageLanguageLinkComponent.html +3 -3
- package/docs/components/EclSpotlightComponent.html +9 -3
- package/docs/components/EclSpotlightLinkComponent.html +21 -3
- package/docs/components/EclStickyContainerComponent.html +3 -3
- package/docs/components/EclTabComponent.html +10 -6
- package/docs/components/EclTabLabelComponent.html +9 -3
- package/docs/components/EclTableSortButtonComponent.html +9 -3
- package/docs/components/EclTabsComponent.html +46 -74
- package/docs/components/EclTagComponent.html +15 -3
- package/docs/components/EclTimelineComponent.html +3 -3
- package/docs/components/EclTimelineItemComponent.html +3 -3
- package/docs/components/EclTimelineItemTogglerComponent.html +3 -3
- package/docs/directives/ECLClickOutsideDirective.html +5 -1
- package/docs/directives/ECLFormLabelOptionalDirective.html +6 -0
- package/docs/directives/EclBannerDescriptionLinkDirective.html +6 -0
- package/docs/directives/EclBannerImageDirective.html +12 -0
- package/docs/directives/EclBannerTitleLinkDirective.html +6 -0
- package/docs/directives/EclBannerVideoDirective.html +6 -0
- package/docs/directives/EclBreadcrumbContainerDirective.html +6 -23
- package/docs/directives/EclButtonIconContainerDirective.html +6 -0
- package/docs/directives/EclCardImageDirective.html +6 -0
- package/docs/directives/EclCheckboxInputDirective.html +6 -0
- package/docs/directives/EclContentItemImageDirective.html +6 -0
- package/docs/directives/EclDescriptionListDefinitionItemDirective.html +12 -0
- package/docs/directives/EclDescriptionListDefinitionListDirective.html +6 -0
- package/docs/directives/EclDescriptionListTermDirective.html +6 -0
- package/docs/directives/EclDividerDirective.html +6 -0
- package/docs/directives/EclFeaturedItemLinkDirective.html +6 -2
- package/docs/directives/EclFeedbackHiddenDirective.html +385 -0
- package/docs/directives/EclFileDownloadDirective.html +6 -0
- package/docs/directives/EclFileImageDirective.html +6 -0
- package/docs/directives/EclFilePreviewDirective.html +12 -0
- package/docs/directives/EclFileTitleDirective.html +6 -0
- package/docs/directives/EclFileTranslationDownloadDirective.html +6 -0
- package/docs/directives/EclGalleryMediaDirective.html +6 -0
- package/docs/directives/EclGalleryPictureDirective.html +6 -0
- package/docs/{modules/EclFormLabelModule.html → directives/EclHelpHiddenDirective.html} +169 -57
- package/docs/directives/EclIndicatorDirective.html +6 -0
- package/docs/directives/EclInpageNavigationListDirective.html +18 -0
- package/docs/directives/EclLinkDirective.html +150 -8
- package/docs/directives/EclLinkIconContainerDirective.html +6 -0
- package/docs/directives/EclLinkIndicatorDirective.html +6 -0
- package/docs/directives/EclListIllustrationIconDirective.html +6 -0
- package/docs/directives/EclListIllustrationImageDirective.html +6 -0
- package/docs/directives/EclLoadingIndicatorLabelDirective.html +6 -0
- package/docs/directives/EclMediaContainerIframeDirective.html +6 -0
- package/docs/directives/EclMediaContainerItemDirective.html +12 -0
- package/docs/directives/EclMegaMenuContainerDirective.html +6 -0
- package/docs/directives/EclMegaMenuFeaturedImageDirective.html +6 -0
- package/docs/directives/EclMegaMenuFeaturedListDirective.html +6 -0
- package/docs/directives/EclMegaMenuFeaturedListItemDescriptionDirective.html +6 -0
- package/docs/directives/EclMegaMenuFeaturedListItemDirective.html +6 -0
- package/docs/directives/EclMegaMenuListDirective.html +6 -0
- package/docs/directives/EclMegaMenuSpacerDirective.html +6 -0
- package/docs/directives/EclMegaMenuSublistDirective.html +18 -0
- package/docs/directives/EclModalBodyFixedContentDirective.html +6 -0
- package/docs/directives/EclMultiselectOptionDirective.html +11 -5
- package/docs/directives/EclNewsTickerIconDirective.html +6 -0
- package/docs/{modules/EclNotificationModule.html → directives/EclNotificationIconDirective.html} +169 -57
- package/docs/directives/{EclSiteFooterLogoListDirective.html → EclNotificationLinkDirective.html} +57 -161
- package/docs/directives/EclOrderedListDirective.html +6 -0
- package/docs/directives/EclOrderedListItemDirective.html +6 -0
- package/docs/directives/EclPaginationListDirective.html +6 -0
- package/docs/directives/EclPopoverToggleDirective.html +12 -0
- package/docs/directives/EclRadioInputDirective.html +6 -0
- package/docs/directives/EclSiteFooterColumnDirective.html +6 -0
- package/docs/directives/{EclSiteFooterLogoDirective.html → EclSiteFooterCoownerItemDirective.html} +63 -31
- package/docs/directives/{EclSiteFooterLogoItemDirective.html → EclSiteFooterCoownerListDirective.html} +50 -166
- package/docs/directives/EclSiteFooterDescriptionDirective.html +6 -0
- package/docs/directives/EclSiteFooterDescriptionNameDirective.html +6 -0
- package/docs/directives/EclSiteFooterLinkDirective.html +6 -0
- package/docs/directives/EclSiteFooterListDirective.html +6 -19
- package/docs/directives/EclSiteFooterListItemDirective.html +6 -0
- package/docs/directives/EclSiteFooterLogoImageDirective.html +6 -0
- package/docs/directives/EclSiteFooterLogoLinkDirective.html +6 -0
- package/docs/directives/EclSiteFooterRowDirective.html +6 -0
- package/docs/directives/EclSiteFooterSectionDirective.html +0 -96
- package/docs/directives/EclSiteFooterSocialMediaDirective.html +6 -0
- package/docs/directives/EclSiteFooterTitleDirective.html +6 -0
- package/docs/directives/EclSiteFooterTitleLinkDirective.html +6 -0
- package/docs/directives/EclSiteHeaderCtaDirective.html +6 -0
- package/docs/directives/EclSiteHeaderCustomActionContentDirective.html +6 -0
- package/docs/directives/EclSiteHeaderCustomActionTitleDirective.html +6 -0
- package/docs/directives/EclSpotlightImageDirective.html +6 -0
- package/docs/directives/EclTableCaptionDirective.html +6 -0
- package/docs/directives/EclTagSetItemDirective.html +6 -0
- package/docs/directives/EclTimelineSetDirective.html +6 -0
- package/docs/directives/EclUnorderedListDirective.html +6 -0
- package/docs/directives/EclUnorderedListItemDirective.html +6 -0
- package/docs/injectables/EclRtlService.html +6 -0
- package/docs/js/libs/bootstrap-native.js +1 -1
- package/docs/js/libs/vis-network.min.js +78 -0
- package/docs/js/menu-wc.js +53 -2401
- package/docs/js/menu-wc_es5.js +1 -1
- package/docs/js/search/search_index.js +2 -2
- package/docs/miscellaneous/functions.html +5 -1
- package/docs/miscellaneous/variables.html +534 -1395
- package/docs/modules.html +2 -722
- package/docs/overview.html +2 -2
- package/docs/properties.html +1 -1
- package/fesm2022/eui-ecl-components-ecl-accordion.mjs +8 -27
- package/fesm2022/eui-ecl-components-ecl-accordion.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-app.mjs +5 -23
- package/fesm2022/eui-ecl-components-ecl-app.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-banner.mjs +36 -85
- package/fesm2022/eui-ecl-components-ecl-banner.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-blockquote.mjs +11 -30
- package/fesm2022/eui-ecl-components-ecl-blockquote.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-breadcrumb.mjs +15 -42
- package/fesm2022/eui-ecl-components-ecl-breadcrumb.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-button.mjs +14 -34
- package/fesm2022/eui-ecl-components-ecl-button.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-card.mjs +14 -45
- package/fesm2022/eui-ecl-components-ecl-card.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-carousel.mjs +8 -27
- package/fesm2022/eui-ecl-components-ecl-carousel.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-category-filter.mjs +11 -30
- package/fesm2022/eui-ecl-components-ecl-category-filter.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-checkbox.mjs +15 -34
- package/fesm2022/eui-ecl-components-ecl-checkbox.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-content-block.mjs +56 -128
- package/fesm2022/eui-ecl-components-ecl-content-block.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-content-item.mjs +11 -30
- package/fesm2022/eui-ecl-components-ecl-content-item.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-date-block.mjs +5 -23
- package/fesm2022/eui-ecl-components-ecl-date-block.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-date-picker.mjs +5 -23
- package/fesm2022/eui-ecl-components-ecl-date-picker.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-divider.mjs +6 -24
- package/fesm2022/eui-ecl-components-ecl-divider.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-expandable.mjs +5 -23
- package/fesm2022/eui-ecl-components-ecl-expandable.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-fact-figures.mjs +14 -48
- package/fesm2022/eui-ecl-components-ecl-fact-figures.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-featured.mjs +14 -47
- package/fesm2022/eui-ecl-components-ecl-featured.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-feedback-message.mjs +5 -23
- package/fesm2022/eui-ecl-components-ecl-feedback-message.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-file-upload.mjs +5 -23
- package/fesm2022/eui-ecl-components-ecl-file-upload.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-file.mjs +32 -81
- package/fesm2022/eui-ecl-components-ecl-file.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-form-group.mjs +5 -23
- package/fesm2022/eui-ecl-components-ecl-form-group.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-form-label.mjs +51 -22
- package/fesm2022/eui-ecl-components-ecl-form-label.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-gallery.mjs +21 -75
- package/fesm2022/eui-ecl-components-ecl-gallery.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-help-block.mjs +5 -23
- package/fesm2022/eui-ecl-components-ecl-help-block.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-icon.mjs +5 -23
- package/fesm2022/eui-ecl-components-ecl-icon.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-inpage-navigation.mjs +24 -51
- package/fesm2022/eui-ecl-components-ecl-inpage-navigation.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-label.mjs +5 -23
- package/fesm2022/eui-ecl-components-ecl-label.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-link.mjs +44 -41
- package/fesm2022/eui-ecl-components-ecl-link.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-list-illustration.mjs +18 -51
- package/fesm2022/eui-ecl-components-ecl-list-illustration.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-list.mjs +29 -74
- package/fesm2022/eui-ecl-components-ecl-list.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-loading-indicator.mjs +11 -30
- package/fesm2022/eui-ecl-components-ecl-loading-indicator.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-media-container.mjs +17 -50
- package/fesm2022/eui-ecl-components-ecl-media-container.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-mega-menu.mjs +50 -112
- package/fesm2022/eui-ecl-components-ecl-mega-menu.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-menu.mjs +14 -33
- package/fesm2022/eui-ecl-components-ecl-menu.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-modal.mjs +25 -80
- package/fesm2022/eui-ecl-components-ecl-modal.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-multiselect.mjs +27 -66
- package/fesm2022/eui-ecl-components-ecl-multiselect.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-navigation-list.mjs +14 -44
- package/fesm2022/eui-ecl-components-ecl-navigation-list.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-news-ticker.mjs +11 -39
- package/fesm2022/eui-ecl-components-ecl-news-ticker.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-notification.mjs +86 -50
- package/fesm2022/eui-ecl-components-ecl-notification.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-page-header.mjs +43 -100
- package/fesm2022/eui-ecl-components-ecl-page-header.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-pagination.mjs +12 -32
- package/fesm2022/eui-ecl-components-ecl-pagination.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-popover.mjs +16 -44
- package/fesm2022/eui-ecl-components-ecl-popover.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-radio.mjs +14 -32
- package/fesm2022/eui-ecl-components-ecl-radio.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-range.mjs +11 -30
- package/fesm2022/eui-ecl-components-ecl-range.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-rating-field.mjs +5 -23
- package/fesm2022/eui-ecl-components-ecl-rating-field.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-search-form.mjs +12 -32
- package/fesm2022/eui-ecl-components-ecl-search-form.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-select.mjs +8 -33
- package/fesm2022/eui-ecl-components-ecl-select.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-site-footer.mjs +150 -260
- package/fesm2022/eui-ecl-components-ecl-site-footer.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-site-header.mjs +73 -157
- package/fesm2022/eui-ecl-components-ecl-site-header.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-social-media-follow.mjs +14 -32
- package/fesm2022/eui-ecl-components-ecl-social-media-follow.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-splash-page.mjs +29 -74
- package/fesm2022/eui-ecl-components-ecl-splash-page.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-spotlight.mjs +13 -13
- package/fesm2022/eui-ecl-components-ecl-spotlight.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-sticky-container.mjs +5 -23
- package/fesm2022/eui-ecl-components-ecl-sticky-container.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-table.mjs +32 -80
- package/fesm2022/eui-ecl-components-ecl-table.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-tabs.mjs +56 -129
- package/fesm2022/eui-ecl-components-ecl-tabs.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-tag.mjs +14 -33
- package/fesm2022/eui-ecl-components-ecl-tag.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-text-area.mjs +5 -24
- package/fesm2022/eui-ecl-components-ecl-text-area.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-text-input.mjs +5 -24
- package/fesm2022/eui-ecl-components-ecl-text-input.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-timeline.mjs +20 -62
- package/fesm2022/eui-ecl-components-ecl-timeline.mjs.map +1 -1
- package/fesm2022/eui-ecl-core.mjs +25 -62
- package/fesm2022/eui-ecl-core.mjs.map +1 -1
- package/fesm2022/eui-ecl-shared.mjs +3 -3
- package/fesm2022/eui-ecl-shared.mjs.map +1 -1
- package/fesm2022/eui-ecl.mjs +1 -203
- package/fesm2022/eui-ecl.mjs.map +1 -1
- package/package.json +17 -17
- package/types/eui-ecl-components-ecl-accordion.d.ts +1 -13
- package/types/eui-ecl-components-ecl-accordion.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-app.d.ts +2 -13
- package/types/eui-ecl-components-ecl-app.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-banner.d.ts +2 -14
- package/types/eui-ecl-components-ecl-banner.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-blockquote.d.ts +1 -13
- package/types/eui-ecl-components-ecl-blockquote.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-breadcrumb.d.ts +11 -27
- package/types/eui-ecl-components-ecl-breadcrumb.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-button.d.ts +1 -13
- package/types/eui-ecl-components-ecl-button.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-card.d.ts +1 -13
- package/types/eui-ecl-components-ecl-card.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-carousel.d.ts +1 -13
- package/types/eui-ecl-components-ecl-carousel.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-category-filter.d.ts +1 -13
- package/types/eui-ecl-components-ecl-category-filter.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-checkbox.d.ts +1 -12
- package/types/eui-ecl-components-ecl-checkbox.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-content-block.d.ts +1 -12
- package/types/eui-ecl-components-ecl-content-block.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-content-item.d.ts +1 -12
- package/types/eui-ecl-components-ecl-content-item.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-date-block.d.ts +1 -12
- package/types/eui-ecl-components-ecl-date-block.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-date-picker.d.ts +2 -13
- package/types/eui-ecl-components-ecl-date-picker.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-divider.d.ts +1 -12
- package/types/eui-ecl-components-ecl-divider.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-expandable.d.ts +2 -13
- package/types/eui-ecl-components-ecl-expandable.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-fact-figures.d.ts +1 -12
- package/types/eui-ecl-components-ecl-fact-figures.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-featured.d.ts +1 -13
- package/types/eui-ecl-components-ecl-featured.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-feedback-message.d.ts +1 -12
- package/types/eui-ecl-components-ecl-feedback-message.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-file-upload.d.ts +1 -12
- package/types/eui-ecl-components-ecl-file-upload.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-file.d.ts +1 -12
- package/types/eui-ecl-components-ecl-file.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-form-group.d.ts +1 -12
- package/types/eui-ecl-components-ecl-form-group.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-form-label.d.ts +24 -10
- package/types/eui-ecl-components-ecl-form-label.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-gallery.d.ts +3 -20
- package/types/eui-ecl-components-ecl-gallery.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-help-block.d.ts +1 -12
- package/types/eui-ecl-components-ecl-help-block.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-icon.d.ts +1 -12
- package/types/eui-ecl-components-ecl-icon.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-inpage-navigation.d.ts +2 -17
- package/types/eui-ecl-components-ecl-inpage-navigation.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-label.d.ts +1 -12
- package/types/eui-ecl-components-ecl-label.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-link.d.ts +17 -16
- package/types/eui-ecl-components-ecl-link.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-list-illustration.d.ts +1 -12
- package/types/eui-ecl-components-ecl-list-illustration.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-list.d.ts +1 -12
- package/types/eui-ecl-components-ecl-list.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-loading-indicator.d.ts +1 -13
- package/types/eui-ecl-components-ecl-loading-indicator.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-media-container.d.ts +1 -12
- package/types/eui-ecl-components-ecl-media-container.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-mega-menu.d.ts +1 -13
- package/types/eui-ecl-components-ecl-mega-menu.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-menu.d.ts +1 -12
- package/types/eui-ecl-components-ecl-menu.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-modal.d.ts +2 -19
- package/types/eui-ecl-components-ecl-modal.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-multiselect.d.ts +1 -12
- package/types/eui-ecl-components-ecl-multiselect.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-navigation-list.d.ts +1 -12
- package/types/eui-ecl-components-ecl-navigation-list.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-news-ticker.d.ts +1 -13
- package/types/eui-ecl-components-ecl-news-ticker.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-notification.d.ts +45 -29
- package/types/eui-ecl-components-ecl-notification.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-page-header.d.ts +1 -12
- package/types/eui-ecl-components-ecl-page-header.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-pagination.d.ts +3 -14
- package/types/eui-ecl-components-ecl-pagination.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-popover.d.ts +5 -17
- package/types/eui-ecl-components-ecl-popover.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-radio.d.ts +1 -12
- package/types/eui-ecl-components-ecl-radio.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-range.d.ts +1 -12
- package/types/eui-ecl-components-ecl-range.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-rating-field.d.ts +2 -13
- package/types/eui-ecl-components-ecl-rating-field.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-search-form.d.ts +4 -15
- package/types/eui-ecl-components-ecl-search-form.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-select.d.ts +1 -13
- package/types/eui-ecl-components-ecl-select.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-site-footer.d.ts +42 -63
- package/types/eui-ecl-components-ecl-site-footer.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-site-header.d.ts +4 -19
- package/types/eui-ecl-components-ecl-site-header.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-social-media-follow.d.ts +6 -13
- package/types/eui-ecl-components-ecl-social-media-follow.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-splash-page.d.ts +1 -12
- package/types/eui-ecl-components-ecl-splash-page.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-sticky-container.d.ts +1 -12
- package/types/eui-ecl-components-ecl-sticky-container.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-table.d.ts +1 -12
- package/types/eui-ecl-components-ecl-table.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-tabs.d.ts +4 -46
- package/types/eui-ecl-components-ecl-tabs.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-tag.d.ts +1 -12
- package/types/eui-ecl-components-ecl-tag.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-text-area.d.ts +1 -13
- package/types/eui-ecl-components-ecl-text-area.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-text-input.d.ts +1 -13
- package/types/eui-ecl-components-ecl-text-input.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-timeline.d.ts +1 -12
- package/types/eui-ecl-components-ecl-timeline.d.ts.map +1 -1
- package/types/eui-ecl-core.d.ts +0 -3
- package/types/eui-ecl-core.d.ts.map +1 -1
- package/types/eui-ecl.d.ts +1 -69
- package/types/eui-ecl.d.ts.map +1 -1
- package/docs/js/libs/vis.min.js +0 -47
- package/docs/modules/EclAccordionModule.html +0 -273
- package/docs/modules/EclAllModule.html +0 -261
- package/docs/modules/EclAppModule.html +0 -267
- package/docs/modules/EclBannerModule.html +0 -321
- package/docs/modules/EclBlockquoteModule.html +0 -279
- package/docs/modules/EclBreadcrumbModule.html +0 -321
- package/docs/modules/EclButtonModule.html +0 -285
- package/docs/modules/EclCardModule.html +0 -321
- package/docs/modules/EclCarouselModule.html +0 -273
- package/docs/modules/EclCategoryFilterModule.html +0 -279
- package/docs/modules/EclCheckboxModule.html +0 -321
- package/docs/modules/EclContentBlockModule.html +0 -321
- package/docs/modules/EclContentItemModule.html +0 -321
- package/docs/modules/EclDateBlockModule.html +0 -267
- package/docs/modules/EclDatePickerModule.html +0 -267
- package/docs/modules/EclDividerModule.html +0 -267
- package/docs/modules/EclExpandableModule.html +0 -267
- package/docs/modules/EclFactFiguresModule.html +0 -285
- package/docs/modules/EclFeaturedModule.html +0 -321
- package/docs/modules/EclFeedbackMessageModule.html +0 -267
- package/docs/modules/EclFileModule.html +0 -321
- package/docs/modules/EclFileUploadModule.html +0 -267
- package/docs/modules/EclFormGroupModule.html +0 -267
- package/docs/modules/EclGalleryModule.html +0 -321
- package/docs/modules/EclHelpBlockModule.html +0 -267
- package/docs/modules/EclIconModule.html +0 -267
- package/docs/modules/EclInpageNavigationModule.html +0 -321
- package/docs/modules/EclLabelModule.html +0 -267
- package/docs/modules/EclLinkModule.html +0 -285
- package/docs/modules/EclListIllustrationModule.html +0 -321
- package/docs/modules/EclListModule.html +0 -321
- package/docs/modules/EclLoadingIndicatorModule.html +0 -279
- package/docs/modules/EclMediaContainerModule.html +0 -321
- package/docs/modules/EclMegaMenuModule.html +0 -321
- package/docs/modules/EclMenuModule.html +0 -321
- package/docs/modules/EclModalModule.html +0 -321
- package/docs/modules/EclMultiselectModule.html +0 -321
- package/docs/modules/EclNavigationListModule.html +0 -321
- package/docs/modules/EclNewsTickerModule.html +0 -321
- package/docs/modules/EclPageHeaderModule.html +0 -321
- package/docs/modules/EclPaginationModule.html +0 -321
- package/docs/modules/EclPopoverModule.html +0 -321
- package/docs/modules/EclRadioModule.html +0 -285
- package/docs/modules/EclRangeModule.html +0 -321
- package/docs/modules/EclRatingFieldModule.html +0 -267
- package/docs/modules/EclSearchFormModule.html +0 -267
- package/docs/modules/EclSelectModule.html +0 -321
- package/docs/modules/EclSiteFooterModule.html +0 -321
- package/docs/modules/EclSiteHeaderModule.html +0 -321
- package/docs/modules/EclSocialMediaFollowModule.html +0 -321
- package/docs/modules/EclSplashPageModule.html +0 -321
- package/docs/modules/EclStickyContainerModule.html +0 -267
- package/docs/modules/EclTableModule.html +0 -321
- package/docs/modules/EclTabsModule.html +0 -321
- package/docs/modules/EclTagModule.html +0 -321
- package/docs/modules/EclTextAreaModule.html +0 -267
- package/docs/modules/EclTextInputModule.html +0 -267
- package/docs/modules/EclTimelineModule.html +0 -297
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eui-ecl-components-ecl-content-block.mjs","sources":["../../components/ecl-content-block/ecl-content-block-elements.directive.ts","../../components/ecl-content-block/ecl-content-block.component.ts","../../components/ecl-content-block/ecl-content-block.component.html","../../components/ecl-content-block/ecl-content-block.module.ts","../../components/ecl-content-block/index.ts","../../components/ecl-content-block/eui-ecl-components-ecl-content-block.ts"],"sourcesContent":["import { Directive, HostBinding, ContentChild } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclLinkDirective } from '@eui/ecl/components/ecl-link';\n\n/**\n * Directive representing the title of a content block.\n * Automatically applies the corresponding ECL class.\n */\n@Directive({\n selector: '[eclContentBlockTitle]',\n})\nexport class EclContentBlockTitleDirective extends ECLBaseDirective {\n /**\n * Adds the ECL CSS class for the content block title.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__title')].join(' ').trim();\n }\n\n /**\n * Optional child ECL link directive nested inside the title.\n */\n @ContentChild(EclLinkDirective, { descendants: true }) eclLink: EclLinkDirective;\n}\n\n/**\n * Directive for the description section of the content block.\n */\n@Directive({\n selector: '[eclContentBlockDescription]',\n})\nexport class EclContentBlockDescriptionDirective extends ECLBaseDirective {\n /**\n * Adds the ECL CSS class for the content block description.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__description')].join(' ').trim();\n }\n}\n\n/**\n * Directive for the container that wraps multiple labels in a content block.\n */\n@Directive({\n selector: '[eclContentBlockLabels]',\n})\nexport class EclContentBlockLabelsDirective extends ECLBaseDirective {\n /**\n * Adds the ECL CSS class for the label container.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__label-container')].join(' ').trim();\n }\n}\n\n/**\n * Directive representing a single label inside a content block.\n */\n@Directive({\n selector: '[eclContentBlockLabel]',\n})\nexport class EclContentBlockLabelDirective extends ECLBaseDirective {\n /**\n * Adds the ECL CSS class for a label item.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__label-item')].join(' ').trim();\n }\n}\n\n/**\n * Directive for the primary metadata container in a content block.\n */\n@Directive({\n selector: '[eclContentBlockPrimaryMetas]',\n})\nexport class EclContentBlockPrimaryMetasDirective extends ECLBaseDirective {\n /**\n * Adds the ECL CSS class for the primary metadata container.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__primary-meta-container')].join(' ').trim();\n }\n}\n\n/**\n * Directive for a single primary metadata item in a content block.\n */\n@Directive({\n selector: '[eclContentBlockPrimaryMeta]',\n})\nexport class EclContentBlockPrimaryMetaDirective extends ECLBaseDirective {\n /**\n * Adds the ECL CSS class for a primary metadata item.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__primary-meta-item')].join(' ').trim();\n }\n}\n\n/**\n * Directive for the secondary metadata container in a content block.\n */\n@Directive({\n selector: '[eclContentBlockSecondaryMetas]',\n})\nexport class EclContentBlockSecondaryMetasDirective extends ECLBaseDirective {\n /**\n * Adds the ECL CSS class for the secondary metadata container.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__secondary-meta-container')].join(' ').trim();\n }\n}\n\n/**\n * Directive for a single secondary metadata item in a content block.\n */\n@Directive({\n selector: '[eclContentBlockSecondaryMeta]',\n})\nexport class EclContentBlockSecondaryMetaDirective extends ECLBaseDirective {\n /**\n * Adds the ECL CSS class for a secondary metadata item.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__secondary-meta-item')].join(' ').trim();\n }\n}\n\n/**\n * Directive for the label element of a secondary metadata item.\n */\n@Directive({\n selector: '[eclContentBlockSecondaryMetaLabel]',\n})\nexport class EclContentBlockSecondaryMetaLabelDirective extends ECLBaseDirective {\n /**\n * Adds the ECL CSS class for a secondary metadata label.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__secondary-meta-label')].join(' ').trim();\n }\n}\n\n/**\n * Directive for the icon element of a secondary metadata item.\n */\n@Directive({\n selector: '[eclContentBlockSecondaryMetaIcon]',\n})\nexport class EclContentBlockSecondaryMetaIconDirective extends ECLBaseDirective {\n /**\n * Adds the ECL CSS class for a secondary metadata icon.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__secondary-meta-icon')].join(' ').trim();\n }\n}\n\n/**\n * Directive for the container holding tags inside a content block.\n */\n@Directive({\n selector: '[eclContentBlockTags]',\n})\nexport class EclContentBlockTagsDirective extends ECLBaseDirective {\n /**\n * Adds the ECL CSS class for the tag container.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__tag-container')].join(' ').trim();\n }\n}\n\n/**\n * Directive for a single tag item inside a content block.\n */\n@Directive({\n selector: '[eclContentBlockTag]',\n})\nexport class EclContentBlockTagDirective extends ECLBaseDirective {\n /**\n * Adds the ECL CSS class for a tag item.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__tag-item')].join(' ').trim();\n }\n}\n\n/**\n * Directive for the container that wraps link elements.\n */\n@Directive({\n selector: '[eclContentBlockLinksContainer]',\n})\nexport class EclContentBlockLinksContainerDirective extends ECLBaseDirective {\n /**\n * Adds the ECL CSS class for the links container.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__link-container')].join(' ').trim();\n }\n}\n\n/**\n * Directive for the list of links inside a content block.\n */\n@Directive({\n selector: '[eclContentBlockLinks]',\n})\nexport class EclContentBlockLinksDirective extends ECLBaseDirective {\n /**\n * Adds the ECL CSS class for the link list.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__link-list')].join(' ').trim();\n }\n}\n\n/**\n * Directive for a single link inside a content block.\n */\n@Directive({\n selector: '[eclContentBlockLink]',\n})\nexport class EclContentBlockLinkDirective extends ECLBaseDirective {\n /**\n * Adds the ECL CSS class for a single link item.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__link-item')].join(' ').trim();\n }\n}\n\n/**\n * Directive for the container holding a list inside a content block.\n */\n@Directive({\n selector: '[eclContentBlockListContainer]',\n\n})\nexport class EclContentBlockListContainerDirective extends ECLBaseDirective {\n /**\n * Adds the ECL CSS class for the list container.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__list-container')].join(' ').trim();\n }\n}\n\n/**\n * Directive for a list element inside a content block.\n */\n@Directive({\n selector: '[eclContentBlockList]',\n})\nexport class EclContentBlockListDirective extends ECLBaseDirective {\n /**\n * Adds the ECL CSS class for a list.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__list')].join(' ').trim();\n }\n}\n","import { Component, HostBinding } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Component representing a content block, based on the ECL design system.\n * Serves as a container for structured content such as titles, texts, and links.\n */\n@Component({\n selector: 'ecl-content-block',\n templateUrl: './ecl-content-block.component.html',\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n})\nexport class EclContentBlockComponent extends ECLBaseDirective {\n /**\n * Binds the component's root CSS classes.\n * Adds the `ecl-content-block` class by default.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block')].join(' ').trim();\n }\n}\n","<ng-content></ng-content>\n","import { NgModule } from '@angular/core';\nimport {\n EclContentBlockDescriptionDirective,\n EclContentBlockLabelDirective,\n EclContentBlockLabelsDirective,\n EclContentBlockLinkDirective,\n EclContentBlockLinksContainerDirective,\n EclContentBlockLinksDirective,\n EclContentBlockListContainerDirective,\n EclContentBlockListDirective,\n EclContentBlockPrimaryMetaDirective,\n EclContentBlockPrimaryMetasDirective,\n EclContentBlockSecondaryMetaDirective,\n EclContentBlockSecondaryMetaIconDirective,\n EclContentBlockSecondaryMetaLabelDirective,\n EclContentBlockSecondaryMetasDirective,\n EclContentBlockTagDirective,\n EclContentBlockTagsDirective,\n EclContentBlockTitleDirective,\n} from './ecl-content-block-elements.directive';\nimport { EclContentBlockComponent } from './ecl-content-block.component';\n\nconst COMPONENTS = [\n EclContentBlockComponent,\n EclContentBlockTitleDirective,\n EclContentBlockDescriptionDirective,\n EclContentBlockLabelsDirective,\n EclContentBlockLabelDirective,\n EclContentBlockPrimaryMetasDirective,\n EclContentBlockPrimaryMetaDirective,\n EclContentBlockSecondaryMetasDirective,\n EclContentBlockSecondaryMetaDirective,\n EclContentBlockSecondaryMetaLabelDirective,\n EclContentBlockSecondaryMetaIconDirective,\n EclContentBlockTagsDirective,\n EclContentBlockTagDirective,\n EclContentBlockLinksContainerDirective,\n EclContentBlockLinksDirective,\n EclContentBlockLinkDirective,\n EclContentBlockListContainerDirective,\n EclContentBlockListDirective,\n];\n\n/**\n * Module that provides the EclContentBlock component and its dependencies.\n *\n * @deprecated Use {@link EUI_ECL_CONTENT_BLOCK} instead.\n */\n@NgModule({\n imports: [...COMPONENTS],\n exports: [...COMPONENTS],\n})\nexport class EclContentBlockModule {}\n","import {\n EclContentBlockDescriptionDirective,\n EclContentBlockLabelDirective,\n EclContentBlockLabelsDirective,\n EclContentBlockLinkDirective,\n EclContentBlockLinksContainerDirective,\n EclContentBlockLinksDirective,\n EclContentBlockListContainerDirective,\n EclContentBlockListDirective,\n EclContentBlockPrimaryMetaDirective,\n EclContentBlockPrimaryMetasDirective,\n EclContentBlockSecondaryMetaDirective,\n EclContentBlockSecondaryMetaIconDirective,\n EclContentBlockSecondaryMetaLabelDirective,\n EclContentBlockSecondaryMetasDirective,\n EclContentBlockTagDirective,\n EclContentBlockTagsDirective,\n EclContentBlockTitleDirective,\n} from './ecl-content-block-elements.directive';\nimport { EclContentBlockComponent } from './ecl-content-block.component';\n\nexport * from './ecl-content-block.module';\nexport * from './ecl-content-block.component';\nexport * from './ecl-content-block-elements.directive';\n\nexport const EUI_ECL_CONTENT_BLOCK = [\n EclContentBlockDescriptionDirective,\n EclContentBlockLabelDirective,\n EclContentBlockLabelsDirective,\n EclContentBlockLinkDirective,\n EclContentBlockLinksContainerDirective,\n EclContentBlockLinksDirective,\n EclContentBlockListContainerDirective,\n EclContentBlockListDirective,\n EclContentBlockPrimaryMetaDirective,\n EclContentBlockPrimaryMetasDirective,\n EclContentBlockSecondaryMetaDirective,\n EclContentBlockSecondaryMetaIconDirective,\n EclContentBlockSecondaryMetaLabelDirective,\n EclContentBlockSecondaryMetasDirective,\n EclContentBlockTagDirective,\n EclContentBlockTagsDirective,\n EclContentBlockTitleDirective,\n EclContentBlockComponent,\n] as const;","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAIA;;;AAGG;AAIG,MAAO,6BAA8B,SAAQ,gBAAgB,CAAA;AACjE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C,8BAA8B;YAC9B,6BAA6B;YAC7B,oCAAoC;YACpC,mCAAmC;YACnC,sCAAsC;YACtC,qCAAqC;YACrC,0CAA0C;YAC1C,yCAAyC;YACzC,4BAA4B;YAC5B,2BAA2B;YAC3B,sCAAsC;YACtC,6BAA6B;YAC7B,4BAA4B;YAC5B,qCAAqC;YACrC,4BAA4B,CAAA,EAAA,CAAA,CAAA;oHAYnB,qBAAqB,EAAA,CAAA,CAAA;;gGAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAJjC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AACxB,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AAC3B,iBAAA;;;AC1BM,MAAM,qBAAqB,GAAG;IACjC,mCAAmC;IACnC,6BAA6B;IAC7B,8BAA8B;IAC9B,4BAA4B;IAC5B,sCAAsC;IACtC,6BAA6B;IAC7B,qCAAqC;IACrC,4BAA4B;IAC5B,mCAAmC;IACnC,oCAAoC;IACpC,qCAAqC;IACrC,yCAAyC;IACzC,0CAA0C;IAC1C,sCAAsC;IACtC,2BAA2B;IAC3B,4BAA4B;IAC5B,6BAA6B;IAC7B,wBAAwB;;;AC3C5B;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"eui-ecl-components-ecl-content-block.mjs","sources":["../../components/ecl-content-block/ecl-content-block-elements.directive.ts","../../components/ecl-content-block/ecl-content-block.component.ts","../../components/ecl-content-block/ecl-content-block.component.html","../../components/ecl-content-block/index.ts","../../components/ecl-content-block/eui-ecl-components-ecl-content-block.ts"],"sourcesContent":["import { Directive, HostBinding, ContentChild } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclLinkDirective } from '@eui/ecl/components/ecl-link';\n\n/**\n * Directive representing the title of a content block.\n * Automatically applies the corresponding ECL class.\n */\n@Directive({\n selector: '[eclContentBlockTitle]',\n})\nexport class EclContentBlockTitleDirective extends ECLBaseDirective {\n /**\n * Adds the ECL CSS class for the content block title.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__title')].join(' ').trim();\n }\n\n /**\n * Optional child ECL link directive nested inside the title.\n */\n @ContentChild(EclLinkDirective, { descendants: true }) eclLink: EclLinkDirective;\n}\n\n/**\n * Directive for the description section of the content block.\n */\n@Directive({\n selector: '[eclContentBlockDescription]',\n})\nexport class EclContentBlockDescriptionDirective extends ECLBaseDirective {\n /**\n * Adds the ECL CSS class for the content block description.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__description')].join(' ').trim();\n }\n}\n\n/**\n * Directive for the container that wraps multiple labels in a content block.\n */\n@Directive({\n selector: '[eclContentBlockLabels]',\n})\nexport class EclContentBlockLabelsDirective extends ECLBaseDirective {\n /**\n * Adds the ECL CSS class for the label container.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__label-container')].join(' ').trim();\n }\n}\n\n/**\n * Directive representing a single label inside a content block.\n */\n@Directive({\n selector: '[eclContentBlockLabel]',\n})\nexport class EclContentBlockLabelDirective extends ECLBaseDirective {\n /**\n * Adds the ECL CSS class for a label item.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__label-item')].join(' ').trim();\n }\n}\n\n/**\n * Directive for the primary metadata container in a content block.\n */\n@Directive({\n selector: '[eclContentBlockPrimaryMetas]',\n})\nexport class EclContentBlockPrimaryMetasDirective extends ECLBaseDirective {\n /**\n * Adds the ECL CSS class for the primary metadata container.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__primary-meta-container')].join(' ').trim();\n }\n}\n\n/**\n * Directive for a single primary metadata item in a content block.\n */\n@Directive({\n selector: '[eclContentBlockPrimaryMeta]',\n})\nexport class EclContentBlockPrimaryMetaDirective extends ECLBaseDirective {\n /**\n * Adds the ECL CSS class for a primary metadata item.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__primary-meta-item')].join(' ').trim();\n }\n}\n\n/**\n * Directive for the secondary metadata container in a content block.\n */\n@Directive({\n selector: '[eclContentBlockSecondaryMetas]',\n})\nexport class EclContentBlockSecondaryMetasDirective extends ECLBaseDirective {\n /**\n * Adds the ECL CSS class for the secondary metadata container.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__secondary-meta-container')].join(' ').trim();\n }\n}\n\n/**\n * Directive for a single secondary metadata item in a content block.\n */\n@Directive({\n selector: '[eclContentBlockSecondaryMeta]',\n})\nexport class EclContentBlockSecondaryMetaDirective extends ECLBaseDirective {\n /**\n * Adds the ECL CSS class for a secondary metadata item.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__secondary-meta-item')].join(' ').trim();\n }\n}\n\n/**\n * Directive for the label element of a secondary metadata item.\n */\n@Directive({\n selector: '[eclContentBlockSecondaryMetaLabel]',\n})\nexport class EclContentBlockSecondaryMetaLabelDirective extends ECLBaseDirective {\n /**\n * Adds the ECL CSS class for a secondary metadata label.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__secondary-meta-label')].join(' ').trim();\n }\n}\n\n/**\n * Directive for the icon element of a secondary metadata item.\n */\n@Directive({\n selector: '[eclContentBlockSecondaryMetaIcon]',\n})\nexport class EclContentBlockSecondaryMetaIconDirective extends ECLBaseDirective {\n /**\n * Adds the ECL CSS class for a secondary metadata icon.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__secondary-meta-icon')].join(' ').trim();\n }\n}\n\n/**\n * Directive for the container holding tags inside a content block.\n */\n@Directive({\n selector: '[eclContentBlockTags]',\n})\nexport class EclContentBlockTagsDirective extends ECLBaseDirective {\n /**\n * Adds the ECL CSS class for the tag container.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__tag-container')].join(' ').trim();\n }\n}\n\n/**\n * Directive for a single tag item inside a content block.\n */\n@Directive({\n selector: '[eclContentBlockTag]',\n})\nexport class EclContentBlockTagDirective extends ECLBaseDirective {\n /**\n * Adds the ECL CSS class for a tag item.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__tag-item')].join(' ').trim();\n }\n}\n\n/**\n * Directive for the container that wraps link elements.\n */\n@Directive({\n selector: '[eclContentBlockLinksContainer]',\n})\nexport class EclContentBlockLinksContainerDirective extends ECLBaseDirective {\n /**\n * Adds the ECL CSS class for the links container.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__link-container')].join(' ').trim();\n }\n}\n\n/**\n * Directive for the list of links inside a content block.\n */\n@Directive({\n selector: '[eclContentBlockLinks]',\n})\nexport class EclContentBlockLinksDirective extends ECLBaseDirective {\n /**\n * Adds the ECL CSS class for the link list.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__link-list')].join(' ').trim();\n }\n}\n\n/**\n * Directive for a single link inside a content block.\n */\n@Directive({\n selector: '[eclContentBlockLink]',\n})\nexport class EclContentBlockLinkDirective extends ECLBaseDirective {\n /**\n * Adds the ECL CSS class for a single link item.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__link-item')].join(' ').trim();\n }\n}\n\n/**\n * Directive for the container holding a list inside a content block.\n */\n@Directive({\n selector: '[eclContentBlockListContainer]',\n\n})\nexport class EclContentBlockListContainerDirective extends ECLBaseDirective {\n /**\n * Adds the ECL CSS class for the list container.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__list-container')].join(' ').trim();\n }\n}\n\n/**\n * Directive for a list element inside a content block.\n */\n@Directive({\n selector: '[eclContentBlockList]',\n})\nexport class EclContentBlockListDirective extends ECLBaseDirective {\n /**\n * Adds the ECL CSS class for a list.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__list')].join(' ').trim();\n }\n}\n","import { Component, HostBinding } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Component representing a content block, based on the ECL design system.\n * Serves as a container for structured content such as titles, texts, and links.\n */\n@Component({\n selector: 'ecl-content-block',\n templateUrl: './ecl-content-block.component.html',\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n})\nexport class EclContentBlockComponent extends ECLBaseDirective {\n /**\n * Binds the component's root CSS classes.\n * Adds the `ecl-content-block` class by default.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block')].join(' ').trim();\n }\n}\n","<ng-content></ng-content>\n","import {\n EclContentBlockDescriptionDirective,\n EclContentBlockLabelDirective,\n EclContentBlockLabelsDirective,\n EclContentBlockLinkDirective,\n EclContentBlockLinksContainerDirective,\n EclContentBlockLinksDirective,\n EclContentBlockListContainerDirective,\n EclContentBlockListDirective,\n EclContentBlockPrimaryMetaDirective,\n EclContentBlockPrimaryMetasDirective,\n EclContentBlockSecondaryMetaDirective,\n EclContentBlockSecondaryMetaIconDirective,\n EclContentBlockSecondaryMetaLabelDirective,\n EclContentBlockSecondaryMetasDirective,\n EclContentBlockTagDirective,\n EclContentBlockTagsDirective,\n EclContentBlockTitleDirective,\n} from './ecl-content-block-elements.directive';\nimport { EclContentBlockComponent } from './ecl-content-block.component';\n\nexport * from './ecl-content-block.component';\nexport * from './ecl-content-block-elements.directive';\n\nexport const EUI_ECL_CONTENT_BLOCK = [\n EclContentBlockDescriptionDirective,\n EclContentBlockLabelDirective,\n EclContentBlockLabelsDirective,\n EclContentBlockLinkDirective,\n EclContentBlockLinksContainerDirective,\n EclContentBlockLinksDirective,\n EclContentBlockListContainerDirective,\n EclContentBlockListDirective,\n EclContentBlockPrimaryMetaDirective,\n EclContentBlockPrimaryMetasDirective,\n EclContentBlockSecondaryMetaDirective,\n EclContentBlockSecondaryMetaIconDirective,\n EclContentBlockSecondaryMetaLabelDirective,\n EclContentBlockSecondaryMetasDirective,\n EclContentBlockTagDirective,\n EclContentBlockTagsDirective,\n EclContentBlockTitleDirective,\n EclContentBlockComponent,\n] as const;","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAIA;;;AAGG;AAIG,MAAO,6BAA8B,SAAQ,gBAAgB,CAAA;AACjE;;AAEG;AACH,IAAA,IACI,UAAU,GAAA;AACZ,QAAA,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,0BAA0B,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE;IAC3E;8GAPW,6BAA6B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA7B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,6BAA6B,6KAY1B,gBAAgB,EAAA,WAAA,EAAA,IAAA,EAAA,CAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAZnB,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBAHzC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,wBAAwB;AACnC,iBAAA;;sBAKE,WAAW;uBAAC,OAAO;;sBAQnB,YAAY;AAAC,gBAAA,IAAA,EAAA,CAAA,gBAAgB,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE;;AAGvD;;AAEG;AAIG,MAAO,mCAAoC,SAAQ,gBAAgB,CAAA;AACvE;;AAEG;AACH,IAAA,IACI,UAAU,GAAA;AACZ,QAAA,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,gCAAgC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,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,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE;IACtE;8GARS,wBAAwB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAxB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,wBAAwB,0JClBrC,6BACA,EAAA,MAAA,EAAA,CAAA,wBAAA,CAAA,EAAA,CAAA,CAAA;;2FDiBa,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAXpC,SAAS;+BACI,mBAAmB,EAAA,QAAA,EAAA,6BAAA,EAAA,MAAA,EAAA,CAAA,wBAAA,CAAA,EAAA;;sBAe5B,WAAW;uBAAC,OAAO;;;AECjB,MAAM,qBAAqB,GAAG;IACjC,mCAAmC;IACnC,6BAA6B;IAC7B,8BAA8B;IAC9B,4BAA4B;IAC5B,sCAAsC;IACtC,6BAA6B;IAC7B,qCAAqC;IACrC,4BAA4B;IAC5B,mCAAmC;IACnC,oCAAoC;IACpC,qCAAqC;IACrC,yCAAyC;IACzC,0CAA0C;IAC1C,sCAAsC;IACtC,2BAA2B;IAC3B,4BAA4B;IAC5B,6BAA6B;IAC7B,wBAAwB;;;AC1C5B;;AAEG;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { booleanAttribute, HostBinding, Input, Directive, inject, ElementRef, Renderer2, forwardRef, ContentChild, Component
|
|
2
|
+
import { booleanAttribute, HostBinding, Input, Directive, inject, ElementRef, Renderer2, forwardRef, ContentChild, Component } from '@angular/core';
|
|
3
3
|
import { ECLBaseDirective } from '@eui/ecl/core';
|
|
4
4
|
import { EclContentBlockComponent, EclContentBlockTitleDirective } from '@eui/ecl/components/ecl-content-block';
|
|
5
5
|
import { EclDateBlockComponent } from '@eui/ecl/components/ecl-date-block';
|
|
@@ -39,10 +39,10 @@ class EclContentItemPictureDirective extends ECLBaseDirective {
|
|
|
39
39
|
.join(' ')
|
|
40
40
|
.trim();
|
|
41
41
|
}
|
|
42
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
43
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "21.0.
|
|
42
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: EclContentItemPictureDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
43
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "21.0.3", type: EclContentItemPictureDirective, isStandalone: true, selector: "[eclContentItemPicture]", inputs: { size: "size", position: "position", hasZoom: ["hasZoom", "hasZoom", booleanAttribute] }, host: { properties: { "class.ecl-picture--zoom": "this.hasZoom", "class": "this.cssClasses" } }, usesInheritance: true, ngImport: i0 }); }
|
|
44
44
|
}
|
|
45
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: EclContentItemPictureDirective, decorators: [{
|
|
46
46
|
type: Directive,
|
|
47
47
|
args: [{
|
|
48
48
|
selector: '[eclContentItemPicture]',
|
|
@@ -76,10 +76,10 @@ class EclContentItemImageDirective extends ECLBaseDirective {
|
|
|
76
76
|
get cssClasses() {
|
|
77
77
|
return [super.getCssClasses('ecl-content-item__image')].join(' ').trim();
|
|
78
78
|
}
|
|
79
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
80
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.
|
|
79
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: EclContentItemImageDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
80
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.3", type: EclContentItemImageDirective, isStandalone: true, selector: "[eclContentItemImage]", host: { properties: { "class": "this.cssClasses" } }, usesInheritance: true, ngImport: i0 }); }
|
|
81
81
|
}
|
|
82
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
82
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: EclContentItemImageDirective, decorators: [{
|
|
83
83
|
type: Directive,
|
|
84
84
|
args: [{
|
|
85
85
|
selector: '[eclContentItemImage]',
|
|
@@ -148,10 +148,10 @@ class EclContentItemComponent extends ECLBaseDirective {
|
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
152
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "21.0.
|
|
151
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: EclContentItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
152
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "21.0.3", type: EclContentItemComponent, isStandalone: true, selector: "ecl-content-item", inputs: { hasDivider: ["hasDivider", "hasDivider", booleanAttribute] }, host: { properties: { "attr.role": "this.role", "class": "this.cssClasses" } }, queries: [{ propertyName: "eclContentBlock", first: true, predicate: i0.forwardRef(() => EclContentBlockComponent), descendants: true }, { propertyName: "eclDateBlock", first: true, predicate: i0.forwardRef(() => EclDateBlockComponent), descendants: true }, { propertyName: "eclContentItemPicture", first: true, predicate: i0.forwardRef(() => EclContentItemPictureDirective), descendants: true }, { propertyName: "eclContentBlockTitle", first: true, predicate: i0.forwardRef(() => EclContentBlockTitleDirective), descendants: true }, { propertyName: "eclContentItemImage", first: true, predicate: i0.forwardRef(() => EclContentItemImageDirective), descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n" }); }
|
|
153
153
|
}
|
|
154
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
154
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: EclContentItemComponent, decorators: [{
|
|
155
155
|
type: Component,
|
|
156
156
|
args: [{ selector: 'ecl-content-item', template: "<ng-content></ng-content>\n" }]
|
|
157
157
|
}], propDecorators: { hasDivider: [{
|
|
@@ -180,25 +180,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ng
|
|
|
180
180
|
args: ['class']
|
|
181
181
|
}] } });
|
|
182
182
|
|
|
183
|
-
const COMPONENTS = [EclContentItemComponent, EclContentItemImageDirective, EclContentItemPictureDirective];
|
|
184
|
-
/**
|
|
185
|
-
* Module that provides the EclContentItem component and its dependencies.
|
|
186
|
-
*
|
|
187
|
-
* @deprecated Use {@link EUI_ECL_CONTENT_ITEM} instead.
|
|
188
|
-
*/
|
|
189
|
-
class EclContentItemModule {
|
|
190
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclContentItemModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
191
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclContentItemModule, imports: [EclContentItemComponent, EclContentItemImageDirective, EclContentItemPictureDirective], exports: [EclContentItemComponent, EclContentItemImageDirective, EclContentItemPictureDirective] }); }
|
|
192
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclContentItemModule }); }
|
|
193
|
-
}
|
|
194
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclContentItemModule, decorators: [{
|
|
195
|
-
type: NgModule,
|
|
196
|
-
args: [{
|
|
197
|
-
imports: [...COMPONENTS],
|
|
198
|
-
exports: [...COMPONENTS],
|
|
199
|
-
}]
|
|
200
|
-
}] });
|
|
201
|
-
|
|
202
183
|
const EUI_ECL_CONTENT_ITEM = [
|
|
203
184
|
EclContentItemImageDirective, EclContentItemPictureDirective,
|
|
204
185
|
EclContentItemComponent,
|
|
@@ -208,5 +189,5 @@ const EUI_ECL_CONTENT_ITEM = [
|
|
|
208
189
|
* Generated bundle index. Do not edit.
|
|
209
190
|
*/
|
|
210
191
|
|
|
211
|
-
export { EUI_ECL_CONTENT_ITEM, EclContentItemComponent, EclContentItemImageDirective,
|
|
192
|
+
export { EUI_ECL_CONTENT_ITEM, EclContentItemComponent, EclContentItemImageDirective, EclContentItemPictureDirective };
|
|
212
193
|
//# sourceMappingURL=eui-ecl-components-ecl-content-item.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eui-ecl-components-ecl-content-item.mjs","sources":["../../components/ecl-content-item/ecl-content-item-image.directive.ts","../../components/ecl-content-item/ecl-content-item.component.ts","../../components/ecl-content-item/ecl-content-item.component.html","../../components/ecl-content-item/ecl-content-item.module.ts","../../components/ecl-content-item/index.ts","../../components/ecl-content-item/eui-ecl-components-ecl-content-item.ts"],"sourcesContent":["import { Directive, HostBinding, Input, ElementRef, booleanAttribute, inject } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Directive used to style and configure the image container (e.g., picture) within a content item.\n * It allows adjusting size, position, and zoom behavior of the image block.\n */\n@Directive({\n selector: '[eclContentItemPicture]',\n})\nexport class EclContentItemPictureDirective extends ECLBaseDirective {\n /**\n * Controls the size of the picture. Default is 'large'.\n * Accepted values: 'small' | 'large'\n */\n @Input() size: 'small' | 'large' = 'large';\n\n /**\n * Defines the position of the picture relative to the content.\n * Accepted values: 'left' | 'right' | 'top'\n * Default is 'left'.\n */\n @Input() position: 'left' | 'right' | 'top' = 'left';\n\n /**\n * If true, enables a zoom effect on hover.\n */\n @Input({ transform: booleanAttribute }) @HostBinding('class.ecl-picture--zoom') hasZoom = false;\n\n /**\n * Computed CSS classes for the host element based on size and position.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [\n super.getCssClasses('ecl-content-item__picture ecl-picture'),\n `ecl-content-item__picture--${this.size}`,\n `ecl-content-item__picture--${this.position}`,\n ]\n .join(' ')\n .trim();\n }\n}\n\n/**\n * Directive used for styling the inner image element inside the content item.\n * Also used programmatically for interaction bindings.\n */\n@Directive({\n selector: '[eclContentItemImage]',\n})\nexport class EclContentItemImageDirective extends ECLBaseDirective {\n el = inject(ElementRef);\n\n /**\n * Computed CSS classes for the host image element.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-item__image')].join(' ').trim();\n }\n}\n","import {\n AfterContentInit,\n booleanAttribute,\n Component,\n ContentChild,\n forwardRef,\n HostBinding,\n Input,\n Renderer2,\n inject,\n } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclContentBlockComponent, EclContentBlockTitleDirective } from '@eui/ecl/components/ecl-content-block';\nimport { EclDateBlockComponent } from '@eui/ecl/components/ecl-date-block';\nimport { EclContentItemImageDirective, EclContentItemPictureDirective } from './ecl-content-item-image.directive';\n\n@Component({\n selector: 'ecl-content-item',\n templateUrl: './ecl-content-item.component.html',\n})\nexport class EclContentItemComponent extends ECLBaseDirective implements AfterContentInit {\n /**\n * Whether to display a divider below the content item.\n * When true, the component will have a visual divider applied.\n * Default is false.\n */\n @Input({ transform: booleanAttribute }) hasDivider = false;\n\n /**\n * Reference to projected content block.\n * Used to apply internal styling and structure.\n */\n @ContentChild(forwardRef(() => EclContentBlockComponent)) eclContentBlock: EclContentBlockComponent;\n\n /**\n * Reference to projected date block component.\n * Used to set styling and determine layout mode.\n */\n @ContentChild(forwardRef(() => EclDateBlockComponent)) eclDateBlock: EclDateBlockComponent;\n\n /**\n * Reference to projected picture directive, used to determine layout mode (stacked).\n */\n @ContentChild(forwardRef(() => EclContentItemPictureDirective)) eclContentItemPicture: EclContentItemPictureDirective;\n\n /**\n * Reference to projected title directive inside the content block.\n * Used for linking behavior.\n */\n @ContentChild(forwardRef(() => EclContentBlockTitleDirective), { descendants: true }) eclContentBlockTitle: EclContentBlockTitleDirective;\n\n /**\n * Reference to projected image directive.\n * Used to bind interaction behavior (click propagation).\n */\n @ContentChild(forwardRef(() => EclContentItemImageDirective), { descendants: true }) eclContentItemImage: EclContentItemImageDirective;\n\n /**\n * ARIA role attribute for the host element.\n * Set to \"article\" to denote standalone content.\n */\n @HostBinding('attr.role') role = 'article';\n\n /**\n * Computes the CSS class string applied to the host element,\n * depending on layout and configuration options.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-item'),\n this.isStack ? 'ecl-content-item--stack' : '',\n this.isInline ? 'ecl-content-item--inline' : '',\n this.hasDivider ? 'ecl-content-item--divider' : '' ].join(' ').trim();\n }\n\n private isStack = false;\n private isInline = false;\n private renderer = inject(Renderer2);\n\n /**\n * Lifecycle hook called after content projection.\n * Sets layout flags and attaches interactivity behavior to image and title.\n */\n ngAfterContentInit(): void {\n if (this.eclContentBlock) {\n this.eclContentBlock.class = 'ecl-content-item__content-block';\n }\n\n if (this.eclDateBlock) {\n this.eclDateBlock.class = 'ecl-content-item__date';\n this.isInline = true;\n }\n\n if (this.eclContentItemPicture && this.eclContentItemPicture.position === 'top') {\n this.isStack = true;\n }\n\n this.attachClickEventToImage();\n }\n\n /**\n * Attaches click behavior to image so it triggers the link defined in the title.\n * Only applies when both image and linked title are available.\n */\n private attachClickEventToImage(): void {\n if (this.eclContentBlockTitle && this.eclContentBlockTitle.eclLink) {\n if (this.eclContentItemImage) {\n this.renderer.setStyle(this.eclContentItemImage.el.nativeElement, 'cursor', 'pointer');\n this.renderer.listen(this.eclContentItemImage.el.nativeElement, 'click', () => {\n this.eclContentBlockTitle.eclLink.onClick();\n });\n }\n }\n }\n}\n","<ng-content></ng-content>\n","import { NgModule } from '@angular/core';\nimport { EclContentItemImageDirective, EclContentItemPictureDirective } from './ecl-content-item-image.directive';\nimport { EclContentItemComponent } from './ecl-content-item.component';\n\nconst COMPONENTS = [EclContentItemComponent, EclContentItemImageDirective, EclContentItemPictureDirective];\n\n/**\n * Module that provides the EclContentItem component and its dependencies.\n *\n * @deprecated Use {@link EUI_ECL_CONTENT_ITEM} instead.\n */\n@NgModule({\n imports: [...COMPONENTS],\n exports: [...COMPONENTS],\n})\nexport class EclContentItemModule {}\n","import { EclContentItemImageDirective, EclContentItemPictureDirective } from './ecl-content-item-image.directive';\nimport { EclContentItemComponent } from './ecl-content-item.component';\n\nexport * from './ecl-content-item-image.directive';\nexport * from './ecl-content-item.component';\nexport * from './ecl-content-item.module';\n\nexport const EUI_ECL_CONTENT_ITEM = [\n EclContentItemImageDirective, EclContentItemPictureDirective,\n EclContentItemComponent,\n] as const;","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAGA;;;AAGG;AAIG,MAAO,8BAA+B,SAAQ,gBAAgB,CAAA;AAHpE,IAAA,WAAA,GAAA;;AAII;;;AAGG;QACM,IAAA,CAAA,IAAI,GAAsB,OAAO;AAE1C;;;;AAIG;QACM,IAAA,CAAA,QAAQ,GAA6B,MAAM;AAEpD;;AAEG;QAC6E,IAAA,CAAA,OAAO,GAAG,KAAK;AAelG,IAAA;AAbG;;AAEG;AACH,IAAA,IACI,UAAU,GAAA;QACV,OAAO;AACH,YAAA,KAAK,CAAC,aAAa,CAAC,uCAAuC,CAAC;YAC5D,CAAA,2BAAA,EAA8B,IAAI,CAAC,IAAI,CAAA,C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,MAAM,6BAA6B,CAAC,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE;;sBAMnF,YAAY;uBAAC,UAAU,CAAC,MAAM,4BAA4B,CAAC,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE;;sBAMlF,WAAW;uBAAC,WAAW;;sBAMvB,WAAW;uBAAC,OAAO;;;AE/DxB,MAAM,UAAU,GAAG,CAAC,uBAAuB,EAAE,4BAA4B,EAAE,8BAA8B,CAAC;AAE1G;;;;AAIG;MAKU,oBAAoB,CAAA;mHAApB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;oHAApB,oBAAoB,EAAA,OAAA,EAAA,CAXb,uBAAuB,EAAE,4BAA4B,EAAE,8BAA8B,CAAA,EAAA,OAAA,EAAA,CAArF,uBAAuB,EAAE,4BAA4B,EAAE,8BAA8B,CAAA,EAAA,CAAA,CAAA;oHAW5F,oBAAoB,EAAA,CAAA,CAAA;;gGAApB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAJhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AACxB,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AAC3B,iBAAA;;;ACPM,MAAM,oBAAoB,GAAG;AAChC,IAAA,4BAA4B,EAAE,8BAA8B;IAC5D,uBAAuB;;;ACT3B;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"eui-ecl-components-ecl-content-item.mjs","sources":["../../components/ecl-content-item/ecl-content-item-image.directive.ts","../../components/ecl-content-item/ecl-content-item.component.ts","../../components/ecl-content-item/ecl-content-item.component.html","../../components/ecl-content-item/index.ts","../../components/ecl-content-item/eui-ecl-components-ecl-content-item.ts"],"sourcesContent":["import { Directive, HostBinding, Input, ElementRef, booleanAttribute, inject } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Directive used to style and configure the image container (e.g., picture) within a content item.\n * It allows adjusting size, position, and zoom behavior of the image block.\n */\n@Directive({\n selector: '[eclContentItemPicture]',\n})\nexport class EclContentItemPictureDirective extends ECLBaseDirective {\n /**\n * Controls the size of the picture. Default is 'large'.\n * Accepted values: 'small' | 'large'\n */\n @Input() size: 'small' | 'large' = 'large';\n\n /**\n * Defines the position of the picture relative to the content.\n * Accepted values: 'left' | 'right' | 'top'\n * Default is 'left'.\n */\n @Input() position: 'left' | 'right' | 'top' = 'left';\n\n /**\n * If true, enables a zoom effect on hover.\n */\n @Input({ transform: booleanAttribute }) @HostBinding('class.ecl-picture--zoom') hasZoom = false;\n\n /**\n * Computed CSS classes for the host element based on size and position.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [\n super.getCssClasses('ecl-content-item__picture ecl-picture'),\n `ecl-content-item__picture--${this.size}`,\n `ecl-content-item__picture--${this.position}`,\n ]\n .join(' ')\n .trim();\n }\n}\n\n/**\n * Directive used for styling the inner image element inside the content item.\n * Also used programmatically for interaction bindings.\n */\n@Directive({\n selector: '[eclContentItemImage]',\n})\nexport class EclContentItemImageDirective extends ECLBaseDirective {\n el = inject(ElementRef);\n\n /**\n * Computed CSS classes for the host image element.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-item__image')].join(' ').trim();\n }\n}\n","import {\n AfterContentInit,\n booleanAttribute,\n Component,\n ContentChild,\n forwardRef,\n HostBinding,\n Input,\n Renderer2,\n inject,\n } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclContentBlockComponent, EclContentBlockTitleDirective } from '@eui/ecl/components/ecl-content-block';\nimport { EclDateBlockComponent } from '@eui/ecl/components/ecl-date-block';\nimport { EclContentItemImageDirective, EclContentItemPictureDirective } from './ecl-content-item-image.directive';\n\n@Component({\n selector: 'ecl-content-item',\n templateUrl: './ecl-content-item.component.html',\n})\nexport class EclContentItemComponent extends ECLBaseDirective implements AfterContentInit {\n /**\n * Whether to display a divider below the content item.\n * When true, the component will have a visual divider applied.\n * Default is false.\n */\n @Input({ transform: booleanAttribute }) hasDivider = false;\n\n /**\n * Reference to projected content block.\n * Used to apply internal styling and structure.\n */\n @ContentChild(forwardRef(() => EclContentBlockComponent)) eclContentBlock: EclContentBlockComponent;\n\n /**\n * Reference to projected date block component.\n * Used to set styling and determine layout mode.\n */\n @ContentChild(forwardRef(() => EclDateBlockComponent)) eclDateBlock: EclDateBlockComponent;\n\n /**\n * Reference to projected picture directive, used to determine layout mode (stacked).\n */\n @ContentChild(forwardRef(() => EclContentItemPictureDirective)) eclContentItemPicture: EclContentItemPictureDirective;\n\n /**\n * Reference to projected title directive inside the content block.\n * Used for linking behavior.\n */\n @ContentChild(forwardRef(() => EclContentBlockTitleDirective), { descendants: true }) eclContentBlockTitle: EclContentBlockTitleDirective;\n\n /**\n * Reference to projected image directive.\n * Used to bind interaction behavior (click propagation).\n */\n @ContentChild(forwardRef(() => EclContentItemImageDirective), { descendants: true }) eclContentItemImage: EclContentItemImageDirective;\n\n /**\n * ARIA role attribute for the host element.\n * Set to \"article\" to denote standalone content.\n */\n @HostBinding('attr.role') role = 'article';\n\n /**\n * Computes the CSS class string applied to the host element,\n * depending on layout and configuration options.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-item'),\n this.isStack ? 'ecl-content-item--stack' : '',\n this.isInline ? 'ecl-content-item--inline' : '',\n this.hasDivider ? 'ecl-content-item--divider' : '' ].join(' ').trim();\n }\n\n private isStack = false;\n private isInline = false;\n private renderer = inject(Renderer2);\n\n /**\n * Lifecycle hook called after content projection.\n * Sets layout flags and attaches interactivity behavior to image and title.\n */\n ngAfterContentInit(): void {\n if (this.eclContentBlock) {\n this.eclContentBlock.class = 'ecl-content-item__content-block';\n }\n\n if (this.eclDateBlock) {\n this.eclDateBlock.class = 'ecl-content-item__date';\n this.isInline = true;\n }\n\n if (this.eclContentItemPicture && this.eclContentItemPicture.position === 'top') {\n this.isStack = true;\n }\n\n this.attachClickEventToImage();\n }\n\n /**\n * Attaches click behavior to image so it triggers the link defined in the title.\n * Only applies when both image and linked title are available.\n */\n private attachClickEventToImage(): void {\n if (this.eclContentBlockTitle && this.eclContentBlockTitle.eclLink) {\n if (this.eclContentItemImage) {\n this.renderer.setStyle(this.eclContentItemImage.el.nativeElement, 'cursor', 'pointer');\n this.renderer.listen(this.eclContentItemImage.el.nativeElement, 'click', () => {\n this.eclContentBlockTitle.eclLink.onClick();\n });\n }\n }\n }\n}\n","<ng-content></ng-content>\n","import { EclContentItemImageDirective, EclContentItemPictureDirective } from './ecl-content-item-image.directive';\nimport { EclContentItemComponent } from './ecl-content-item.component';\n\nexport * from './ecl-content-item-image.directive';\nexport * from './ecl-content-item.component';\n\nexport const EUI_ECL_CONTENT_ITEM = [\n EclContentItemImageDirective, EclContentItemPictureDirective,\n EclContentItemComponent,\n] as const;","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAGA;;;AAGG;AAIG,MAAO,8BAA+B,SAAQ,gBAAgB,CAAA;AAHpE,IAAA,WAAA,GAAA;;AAII;;;AAGG;QACM,IAAA,CAAA,IAAI,GAAsB,OAAO;AAE1C;;;;AAIG;QACM,IAAA,CAAA,QAAQ,GAA6B,MAAM;AAEpD;;AAEG;QAC6E,IAAA,CAAA,OAAO,GAAG,KAAK;AAelG,IAAA;AAbG;;AAEG;AACH,IAAA,IACI,UAAU,GAAA;QACV,OAAO;AACH,YAAA,KAAK,CAAC,aAAa,CAAC,uCAAuC,CAAC;YAC5D,CAAA,2BAAA,EAA8B,IAAI,CAAC,IAAI,CAAA,CAAE;YACzC,CAAA,2BAAA,EAA8B,IAAI,CAAC,QAAQ,CAAA,CAAE;AAChD;aACI,IAAI,CAAC,GAAG;AACR,aAAA,IAAI,EAAE;IACf;8GA/BS,8BAA8B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAA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uBAAC,OAAO;;;AE7DjB,MAAM,oBAAoB,GAAG;AAChC,IAAA,4BAA4B,EAAE,8BAA8B;IAC5D,uBAAuB;;;ACR3B;;AAEG;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { formatDate, DatePipe } from '@angular/common';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { inject, Input, HostBinding, Component
|
|
3
|
+
import { inject, Input, HostBinding, Component } from '@angular/core';
|
|
4
4
|
import '@angular/common/locales/global/bg';
|
|
5
5
|
import '@angular/common/locales/global/da';
|
|
6
6
|
import '@angular/common/locales/global/en';
|
|
@@ -77,10 +77,10 @@ class EclDateBlockComponent extends ECLBaseDirective {
|
|
|
77
77
|
return null;
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
81
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.
|
|
80
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: EclDateBlockComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
81
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.3", type: EclDateBlockComponent, isStandalone: true, selector: "time[eclDateBlock]", inputs: { date: "date", dateFormat: "dateFormat", variant: "variant", day: "day", month: "month", monthTitle: "monthTitle", year: "year", datetime: "datetime" }, host: { properties: { "class": "this.cssClasses", "attr.datetime": "this.datetime" } }, providers: [TranslateService], usesInheritance: true, ngImport: i0, template: "<span class=\"ecl-date-block__daytime\">{{ datetime || (date | date: dateFormat) }}</span>\n<span class=\"ecl-date-block__day\" aria-hidden=\"true\">{{ day || (date | date: 'd') }}</span>\n<abbr [title]=\"monthTitle || month || (date | date: 'MMMM' : '' : locale)\" class=\"ecl-date-block__month\" aria-hidden=\"true\">\n {{ month || (date | date: 'MMM' : '' : locale) }}\n</abbr>\n<span class=\"ecl-date-block__year\" aria-hidden=\"true\">{{ year || (date | date: 'yyyy') }}</span>\n", dependencies: [{ kind: "pipe", type: DatePipe, name: "date" }] }); }
|
|
82
82
|
}
|
|
83
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
83
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: EclDateBlockComponent, decorators: [{
|
|
84
84
|
type: Component,
|
|
85
85
|
args: [{ selector: 'time[eclDateBlock]', imports: [DatePipe], providers: [TranslateService], template: "<span class=\"ecl-date-block__daytime\">{{ datetime || (date | date: dateFormat) }}</span>\n<span class=\"ecl-date-block__day\" aria-hidden=\"true\">{{ day || (date | date: 'd') }}</span>\n<abbr [title]=\"monthTitle || month || (date | date: 'MMMM' : '' : locale)\" class=\"ecl-date-block__month\" aria-hidden=\"true\">\n {{ month || (date | date: 'MMM' : '' : locale) }}\n</abbr>\n<span class=\"ecl-date-block__year\" aria-hidden=\"true\">{{ year || (date | date: 'yyyy') }}</span>\n" }]
|
|
86
86
|
}], ctorParameters: () => [], propDecorators: { date: [{
|
|
@@ -107,24 +107,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ng
|
|
|
107
107
|
args: ['attr.datetime']
|
|
108
108
|
}] } });
|
|
109
109
|
|
|
110
|
-
/**
|
|
111
|
-
* Module that provides the EclDateBlock component.
|
|
112
|
-
*
|
|
113
|
-
* @deprecated Use {@link EUI_ECL_DATE_BLOCK} instead.
|
|
114
|
-
*/
|
|
115
|
-
class EclDateBlockModule {
|
|
116
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclDateBlockModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
117
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclDateBlockModule, imports: [EclDateBlockComponent], exports: [EclDateBlockComponent] }); }
|
|
118
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclDateBlockModule }); }
|
|
119
|
-
}
|
|
120
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclDateBlockModule, decorators: [{
|
|
121
|
-
type: NgModule,
|
|
122
|
-
args: [{
|
|
123
|
-
imports: [EclDateBlockComponent],
|
|
124
|
-
exports: [EclDateBlockComponent],
|
|
125
|
-
}]
|
|
126
|
-
}] });
|
|
127
|
-
|
|
128
110
|
const EUI_ECL_DATE_BLOCK = [
|
|
129
111
|
EclDateBlockComponent,
|
|
130
112
|
];
|
|
@@ -133,5 +115,5 @@ const EUI_ECL_DATE_BLOCK = [
|
|
|
133
115
|
* Generated bundle index. Do not edit.
|
|
134
116
|
*/
|
|
135
117
|
|
|
136
|
-
export { EUI_ECL_DATE_BLOCK, EclDateBlockComponent
|
|
118
|
+
export { EUI_ECL_DATE_BLOCK, EclDateBlockComponent };
|
|
137
119
|
//# sourceMappingURL=eui-ecl-components-ecl-date-block.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eui-ecl-components-ecl-date-block.mjs","sources":["../../components/ecl-date-block/ecl-date-block.component.ts","../../components/ecl-date-block/ecl-date-block.component.html","../../components/ecl-date-block/
|
|
1
|
+
{"version":3,"file":"eui-ecl-components-ecl-date-block.mjs","sources":["../../components/ecl-date-block/ecl-date-block.component.ts","../../components/ecl-date-block/ecl-date-block.component.html","../../components/ecl-date-block/index.ts","../../components/ecl-date-block/eui-ecl-components-ecl-date-block.ts"],"sourcesContent":["import { formatDate, DatePipe } from '@angular/common';\nimport { Component, Input, HostBinding, inject } from '@angular/core';\nimport '@angular/common/locales/global/bg';\nimport '@angular/common/locales/global/da';\nimport '@angular/common/locales/global/en';\nimport '@angular/common/locales/global/et';\nimport '@angular/common/locales/global/fr';\nimport '@angular/common/locales/global/hr';\nimport '@angular/common/locales/global/lv';\nimport '@angular/common/locales/global/hu';\nimport '@angular/common/locales/global/nl';\nimport '@angular/common/locales/global/pt';\nimport '@angular/common/locales/global/sk';\nimport '@angular/common/locales/global/fi';\nimport '@angular/common/locales/global/cs';\nimport '@angular/common/locales/global/de';\nimport '@angular/common/locales/global/el';\nimport '@angular/common/locales/global/es';\nimport '@angular/common/locales/global/ga';\nimport '@angular/common/locales/global/it';\nimport '@angular/common/locales/global/lt';\nimport '@angular/common/locales/global/mt';\nimport '@angular/common/locales/global/pl';\nimport '@angular/common/locales/global/ro';\nimport '@angular/common/locales/global/sl';\nimport '@angular/common/locales/global/sv';\nimport { TranslateService } from '@ngx-translate/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Component used to display a formatted date in a styled time element.\n * Designed for use within content components such as content blocks or items.\n */\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'time[eclDateBlock]',\n templateUrl: './ecl-date-block.component.html',\n imports: [DatePipe],\n providers: [TranslateService],\n})\nexport class EclDateBlockComponent extends ECLBaseDirective {\n /**\n * The date to be displayed. If not null, it's used to generate the `datetime` attribute and visual output.\n */\n @Input() date: Date;\n\n /**\n * The format to be used when rendering the date string (Angular DatePipe format).\n * Default is `'dd/M/yyyy'`.\n */\n @Input() dateFormat = 'dd/M/yyyy';\n\n /**\n * Optional visual variant of the date block. Can be:\n * - `'ongoing'`: for ongoing events\n * - `'past'`: for past events\n * This changes styling only.\n */\n @Input() variant: 'ongoing' | 'past' = null;\n\n /**\n * Explicit string for day part of the date (optional).\n * Used when date is not set or overridden manually.\n */\n @Input() day: string;\n\n /**\n * Explicit string for month part of the date (optional).\n * Used when date is not set or overridden manually.\n */\n @Input() month: string;\n\n /**\n * Explicit string used as an accessible or verbose label for the month (optional).\n */\n @Input() monthTitle: string;\n\n /**\n * Explicit string for year part of the date (optional).\n * Used when date is not set or overridden manually.\n */\n @Input() year: string;\n\n locale = 'en';\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-date-block'), this.variant ? `ecl-date-block--${this.variant}` : ''].join(' ').trim();\n }\n\n /**\n * Sets the `datetime` attribute of the `<time>` element.\n * If not provided, it is derived from `date` and `dateFormat`.\n */\n @Input()\n @HostBinding('attr.datetime')\n get datetime(): string {\n return this.getDatetime();\n }\n set datetime(value) {\n this._datetime = value;\n }\n private _datetime: string = null;\n private translateService = inject(TranslateService);\n\n constructor() {\n super();\n const translateService = this.translateService;\n\n this.locale = translateService.currentLang;\n }\n\n private getDatetime(): string {\n return this._datetime || this.getFormattedDate(this.date, this.dateFormat);\n }\n\n private getFormattedDate(date: Date, dateFormat: string): string {\n if (date) {\n return formatDate(date, dateFormat, this.translateService.currentLang);\n } else {\n return null;\n }\n }\n}\n","<span class=\"ecl-date-block__daytime\">{{ datetime || (date | date: dateFormat) }}</span>\n<span class=\"ecl-date-block__day\" aria-hidden=\"true\">{{ day || (date | date: 'd') }}</span>\n<abbr [title]=\"monthTitle || month || (date | date: 'MMMM' : '' : locale)\" class=\"ecl-date-block__month\" aria-hidden=\"true\">\n {{ month || (date | date: 'MMM' : '' : locale) }}\n</abbr>\n<span class=\"ecl-date-block__year\" aria-hidden=\"true\">{{ year || (date | date: 'yyyy') }}</span>\n","import { EclDateBlockComponent } from './ecl-date-block.component';\n\nexport * from './ecl-date-block.component';\n\nexport const EUI_ECL_DATE_BLOCK = [\n EclDateBlockComponent,\n] as const;","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BA;;;AAGG;AAQG,MAAO,qBAAsB,SAAQ,gBAAgB,CAAA;AA4CvD,IAAA,IACI,UAAU,GAAA;AACV,QAAA,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,gBAAgB,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AAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,qBAAqB,2TAFnB,CAAC,gBAAgB,CAAC,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECtCjC,yeAMA,uCD+Bc,QAAQ,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;2FAGT,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAPjC,SAAS;AAEI,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,oBAAoB,WAErB,CAAC,QAAQ,CAAC,EAAA,SAAA,EACR,CAAC,gBAAgB,CAAC,EAAA,QAAA,EAAA,yeAAA,EAAA;;sBAM5B;;sBAMA;;sBAQA;;sBAMA;;sBAMA;;sBAKA;;sBAMA;;sBAGA,WAAW;uBAAC,OAAO;;sBASnB;;sBACA,WAAW;uBAAC,eAAe;;;AE1FzB,MAAM,kBAAkB,GAAG;IAC9B,qBAAqB;;;ACLzB;;AAEG;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isPlatformBrowser } from '@angular/common';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { forwardRef, inject, EventEmitter, ElementRef, ViewContainerRef, Renderer2, PLATFORM_ID, HostListener, HostBinding, Output, Input, Directive
|
|
3
|
+
import { forwardRef, inject, EventEmitter, ElementRef, ViewContainerRef, Renderer2, PLATFORM_ID, HostListener, HostBinding, Output, Input, Directive } from '@angular/core';
|
|
4
4
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
5
5
|
import { TranslateService } from '@ngx-translate/core';
|
|
6
6
|
import { Subject, takeUntil, fromEvent, debounceTime } from 'rxjs';
|
|
@@ -284,10 +284,10 @@ class EclDatePickerDirective extends ECLBaseDirective {
|
|
|
284
284
|
this.picker = undefined;
|
|
285
285
|
}
|
|
286
286
|
}
|
|
287
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
288
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.
|
|
287
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: EclDatePickerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
288
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.3", type: EclDatePickerDirective, isStandalone: true, selector: "input[eclDatePicker]", inputs: { yearRange: "yearRange", format: "format" }, outputs: { datePicked: "datePicked" }, host: { listeners: { "click": "onClick()", "blur": "onBlur()" }, properties: { "attr.type": "this.type", "class": "this.cssClasses", "attr.disabled": "this.isDisabled" } }, providers: [ECL_DATE_PICKER_VALUE_ACCESSOR], usesInheritance: true, ngImport: i0 }); }
|
|
289
289
|
}
|
|
290
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
290
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: EclDatePickerDirective, decorators: [{
|
|
291
291
|
type: Directive,
|
|
292
292
|
args: [{
|
|
293
293
|
selector: 'input[eclDatePicker]',
|
|
@@ -316,24 +316,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ng
|
|
|
316
316
|
args: ['blur']
|
|
317
317
|
}] } });
|
|
318
318
|
|
|
319
|
-
/**
|
|
320
|
-
* Module that provides the EclDatePicker directive.
|
|
321
|
-
*
|
|
322
|
-
* @deprecated Use {@link EUI_ECL_DATE_PICKER} instead.
|
|
323
|
-
*/
|
|
324
|
-
class EclDatePickerModule {
|
|
325
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclDatePickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
326
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclDatePickerModule, imports: [EclDatePickerDirective], exports: [EclDatePickerDirective] }); }
|
|
327
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclDatePickerModule }); }
|
|
328
|
-
}
|
|
329
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclDatePickerModule, decorators: [{
|
|
330
|
-
type: NgModule,
|
|
331
|
-
args: [{
|
|
332
|
-
imports: [EclDatePickerDirective],
|
|
333
|
-
exports: [EclDatePickerDirective],
|
|
334
|
-
}]
|
|
335
|
-
}] });
|
|
336
|
-
|
|
337
319
|
const EUI_ECL_DATE_PICKER = [
|
|
338
320
|
EclDatePickerDirective,
|
|
339
321
|
];
|
|
@@ -342,5 +324,5 @@ const EUI_ECL_DATE_PICKER = [
|
|
|
342
324
|
* Generated bundle index. Do not edit.
|
|
343
325
|
*/
|
|
344
326
|
|
|
345
|
-
export { ECL_DATE_PICKER_VALUE_ACCESSOR, EUI_ECL_DATE_PICKER, EclDatePickerDatePickedEvent, EclDatePickerDirective
|
|
327
|
+
export { ECL_DATE_PICKER_VALUE_ACCESSOR, EUI_ECL_DATE_PICKER, EclDatePickerDatePickedEvent, EclDatePickerDirective };
|
|
346
328
|
//# sourceMappingURL=eui-ecl-components-ecl-date-picker.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eui-ecl-components-ecl-date-picker.mjs","sources":["../../components/ecl-date-picker/events/ecl-date-picker-date-picked.event.ts","../../components/ecl-date-picker/ecl-date-picker.directive.ts","../../components/ecl-date-picker/ecl-date-picker.module.ts","../../components/ecl-date-picker/index.ts","../../components/ecl-date-picker/eui-ecl-components-ecl-date-picker.ts"],"sourcesContent":["import { EclBaseEvent } from '@eui/ecl/core';\n\n/**\n * Custom event emitted by the ECL date picker when a date is selected.\n */\nexport class EclDatePickerDatePickedEvent extends EclBaseEvent {\n\tconstructor(public date: Date) {\n\t\tsuper();\n\t}\n}\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { isPlatformBrowser } from '@angular/common';\nimport {\n Directive,\n ElementRef,\n EventEmitter,\n HostBinding,\n HostListener,\n inject,\n Input,\n OnDestroy,\n OnInit,\n Output,\n PLATFORM_ID,\n Provider,\n Renderer2,\n ViewContainerRef,\n forwardRef,\n} from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { LangChangeEvent, TranslateService } from '@ngx-translate/core';\nimport type Pikaday from 'pikaday';\nimport { Subject, debounceTime, fromEvent, takeUntil } from 'rxjs';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclIconComponent } from '@eui/ecl/components/ecl-icon';\nimport { EclDatePickerDatePickedEvent } from './events/ecl-date-picker-date-picked.event';\nimport { EclRtlService } from '@eui/ecl/core';\n\n/**\n * Default i18n values for the Pikaday calendar component.\n */\nconst pikadayDefaultI18n = {\n previousMonth: 'Previous Month',\n nextMonth: 'Next Month',\n months: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],\n weekdays: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],\n weekdaysShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],\n};\n\n/**\n * Value accessor provider for Angular reactive and template-driven forms.\n */\nexport const ECL_DATE_PICKER_VALUE_ACCESSOR: Provider = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => EclDatePickerDirective),\n multi: true,\n};\n\nconst noop = (): void => {\n /** empty */\n};\n\n/**\n * Directive that enhances a native input element with an ECL-compliant date picker.\n * Integrates Pikaday with support for localization (i18n), RTL layout, and responsive behavior.\n */\n@Directive({\n selector: 'input[eclDatePicker]',\n providers: [ECL_DATE_PICKER_VALUE_ACCESSOR],\n})\nexport class EclDatePickerDirective extends ECLBaseDirective implements OnInit, ControlValueAccessor, OnDestroy {\n protected translateService = inject(TranslateService);\n\n /**\n * Number of years to show in the year dropdown.\n */\n @Input() yearRange = 40;\n\n /**\n * Date format string used to display and parse dates.\n * Follows the format syntax supported by Pikaday.\n */\n @Input() format = 'DD-MM-YYYY';\n\n /**\n * Sets the type attribute of the host input element to 'text'.\n */\n @HostBinding('attr.type') type = 'text';\n\n /**\n * Binds base ECL CSS classes to the host input element.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-datepicker__field')].join(' ').trim();\n }\n\n /**\n * Emits an event when a date is selected.\n */\n @Output() datePicked = new EventEmitter<EclDatePickerDatePickedEvent>();\n\n /**\n * Binds the 'disabled' attribute to the host element.\n * Accepts `null` or an empty string.\n */\n @HostBinding('attr.disabled')\n isDisabled = null;\n\n private picker: Pikaday;\n private destroy$: Subject<boolean> = new Subject<boolean>();\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private onChange: (_: any) => void = noop;\n private onTouched: () => void = noop;\n\n private hostEl: HTMLInputElement;\n private hostParentEl: HTMLElement;\n private hostWrapperEl: HTMLElement;\n private eclIconComponentEl: HTMLElement;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private value: any;\n private isRtl = false;\n private readonly DEBOUNCE_TIME = 100;\n private readonly MOBILE_BREAKPOINT = 768;\n private el = inject(ElementRef);\n private viewContainerRef = inject(ViewContainerRef);\n private eclRtlService = inject(EclRtlService);\n private renderer = inject(Renderer2);\n private platformId = inject(PLATFORM_ID);\n\n constructor() {\n super();\n if (isPlatformBrowser(this.platformId)) {\n this.handlei18nEvents();\n this.handleRtlChangeState();\n this.handleResize();\n }\n }\n\n /**\n * Initializes the Pikaday instance and applies markup when running in browser.\n */\n ngOnInit(): void {\n if (isPlatformBrowser(this.platformId)) {\n this.initPikaday().then(() => {\n this.handleMarkup();\n });\n }\n }\n\n /**\n * Cleans up subscriptions and event handlers on destroy.\n */\n ngOnDestroy(): void {\n this.destroy$.next(true);\n this.destroy$.unsubscribe();\n }\n\n /**\n * Marks the input as touched when clicked.\n */\n @HostListener('click')\n onClick(): void {\n this.onTouched();\n }\n\n /**\n * On blur, checks input value and emits appropriate change.\n */\n @HostListener('blur')\n onBlur(): void {\n const textFieldValue: string = this.hostEl.value;\n\n if (textFieldValue) {\n this.onChange(this.picker?.getDate());\n } else {\n this.onChange(null);\n }\n }\n\n /**\n * Writes a new value from the form model into the view or (if needed) DOM property.\n * Required by ControlValueAccessor interface.\n *\n * @param value - The value to be written into the input.\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n writeValue(value: any): void {\n this.value = value;\n if (this.picker) {\n this.picker.setDate(value);\n }\n }\n\n /**\n * Sets the disabled state of the component.\n * Called by Angular forms when the control status changes.\n *\n * @param isDisabled - Boolean indicating whether the input should be disabled.\n */\n setDisabledState(isDisabled: boolean): void {\n this.isDisabled = isDisabled || null;\n }\n\n /**\n * Registers a callback function that should be called when the control's value changes in the UI.\n * Required by ControlValueAccessor interface.\n *\n * @param fn - The callback function.\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n registerOnChange(fn: any): void {\n this.onChange = fn;\n }\n\n /**\n * Registers a callback function that should be called when the control is touched.\n * Required by ControlValueAccessor interface.\n *\n * @param fn - The callback function.\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n registerOnTouched(fn: any): void {\n this.onTouched = fn;\n }\n\n private async initPikaday(): Promise<void> {\n const i18nKey = 'ecl.date-picker.PIKADAY';\n let i18nTranslation = this.translateService.instant(i18nKey);\n const isRTL = this.isRtl;\n const position = isRTL ? 'bottom right' : 'bottom left';\n\n if (!i18nTranslation || i18nTranslation === i18nKey) {\n i18nTranslation = pikadayDefaultI18n;\n }\n\n // Dynamically import Pikaday when the component initializes\n try {\n const { default: Pikaday } = await import('pikaday');\n\n // Initialize Pikaday after it is imported\n this.picker = new Pikaday({\n field: this.el.nativeElement,\n format: this.format,\n theme: 'ecl-datepicker-theme',\n yearRange: this.yearRange,\n reposition: false,\n i18n: i18nTranslation,\n isRTL,\n position,\n showDaysInNextAndPreviousMonths: true,\n enableSelectionDaysInNextAndPreviousMonths: true,\n onSelect: this.onSelectDate.bind(this),\n onOpen: (): void => this.setPikadayElementStyles(this.picker.el),\n });\n this.picker.setDate(this.value);\n } catch (error) {\n console.error('Error importing Pikaday', error);\n }\n }\n\n private handlei18nEvents(): void {\n this.translateService.onLangChange.pipe(takeUntil(this.destroy$))\n .subscribe((langChangeEvent: LangChangeEvent) => {\n this.value = this.picker.getDate();\n this.destroyPikaday();\n this.initPikaday().then();\n });\n }\n\n private handleRtlChangeState(): void {\n this.eclRtlService.currentRtlState$.pipe(takeUntil(this.destroy$)).subscribe((rtlState) => {\n this.isRtl = rtlState;\n if (this.picker) {\n this.value = this.picker.getDate();\n this.destroyPikaday();\n this.initPikaday().then();\n }\n });\n }\n\n private handleResize(): void {\n fromEvent(window, 'resize')\n .pipe(debounceTime(this.DEBOUNCE_TIME), takeUntil(this.destroy$))\n .subscribe(() => {\n this.setPikadayElementStyles(this.picker.el);\n })\n }\n\n private setPikadayElementStyles(element: HTMLElement): void {\n // Extend picker size on mobile\n const vw = Math.max(document.documentElement.clientWidth || 0, window.innerWidth || 0);\n const inputParentElRect = this.hostWrapperEl.getBoundingClientRect();\n //mobile_mode\n if (vw < this.MOBILE_BREAKPOINT) {\n element.style.right = `${vw - inputParentElRect.right}px`;\n element.style.left = `${inputParentElRect.left}px`;\n } else if ( this.isRtl) {\n element.style.right = `${vw - inputParentElRect.right}px`;\n element.style.left = 'auto';\n } else {\n element.style.right = 'auto';\n element.style.left = `${inputParentElRect.left}px`;\n }\n }\n\n private onSelectDate(date: Date): void {\n this.datePicked.next(new EclDatePickerDatePickedEvent(date));\n this.onChange(date);\n }\n\n private handleMarkup(): void {\n this.hostEl = this.getHostElement();\n this.hostParentEl = this.getHostParentElement(this.hostEl);\n this.hostWrapperEl = this.createHostWrapperContainer();\n this.eclIconComponentEl = this.createIconComponent();\n\n if (this.hostParentEl != null) {\n this.hostParentEl.replaceChild(this.hostWrapperEl, this.hostEl);\n this.renderer.appendChild(this.hostWrapperEl, this.hostEl);\n this.renderer.appendChild(this.hostWrapperEl, this.eclIconComponentEl);\n }\n }\n\n private getHostElement(): HTMLInputElement {\n return this.el.nativeElement;\n }\n\n private getHostParentElement(hostEl: HTMLInputElement): HTMLElement {\n return this.renderer.parentNode(hostEl);\n }\n\n private createHostWrapperContainer(): HTMLElement {\n const wrapperContainer = this.renderer.createElement('div');\n this.renderer.addClass(wrapperContainer, 'ecl-datepicker');\n\n return wrapperContainer;\n }\n\n private createIconComponent(): HTMLElement {\n const eclIconComponent = this.viewContainerRef.createComponent(EclIconComponent);\n eclIconComponent.instance.size = 'xs';\n eclIconComponent.instance.icon = 'calendar';\n eclIconComponent.instance.baseDirective.class = 'ecl-datepicker__icon';\n\n return eclIconComponent.location.nativeElement;\n }\n\n private destroyPikaday(): void {\n if (this.picker) {\n this.picker.destroy();\n this.picker = undefined;\n }\n }\n}\n","import { NgModule } from '@angular/core';\nimport { EclDatePickerDirective } from './ecl-date-picker.directive';\n\n/**\n * Module that provides the EclDatePicker directive.\n *\n * @deprecated Use {@link EUI_ECL_DATE_PICKER} instead.\n */\n@NgModule({\n imports: [EclDatePickerDirective],\n exports: [EclDatePickerDirective],\n})\nexport class EclDatePickerModule {}\n","import { EclDatePickerDirective } from './ecl-date-picker.directive';\n\nexport * from './ecl-date-picker.module';\nexport * from './ecl-date-picker.directive';\nexport * from './events/ecl-date-picker-date-picked.event';\n\nexport const EUI_ECL_DATE_PICKER = [\n EclDatePickerDirective,\n] as const;","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAEA;;AAEG;AACG,MAAO,4BAA6B,SAAQ,YAAY,CAAA;AAC7D,IAA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,WAAA,EAAA,WAAA,EAAA,OAAA,EAAA,iBAAA,EAAA,eAAA,EAAA,iBAAA,EAAA,EAAA,EAAA,SAAA,EAFpB,CAAC,8BAA8B,CAAC,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;gGAElC,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAJlC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,sBAAsB;oBAChC,SAAS,EAAE,CAAC,8BAA8B,CAAC;AAC9C,iBAAA;;sBAOI;;sBAMA;;sBAKA,WAAW;uBAAC,WAAW;;sBAKvB,WAAW;uBAAC,OAAO;;sBAQnB;;sBAMA,WAAW;uBAAC,eAAe;;sBAwD3B,YAAY;uBAAC,OAAO;;sBAQpB,YAAY;uBAAC,MAAM;;;AC7JxB;;;;AAIG;MAKU,mBAAmB,CAAA;mHAAnB,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;oHAAnB,mBAAmB,EAAA,OAAA,EAAA,CAHlB,sBAAsB,CAAA,EAAA,OAAA,EAAA,CACtB,sBAAsB,CAAA,EAAA,CAAA,CAAA;oHAEvB,mBAAmB,EAAA,CAAA,CAAA;;gGAAnB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAJ/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,sBAAsB,CAAC;oBACjC,OAAO,EAAE,CAAC,sBAAsB,CAAC;AACpC,iBAAA;;;ACLM,MAAM,mBAAmB,GAAG;IAC/B,sBAAsB;;;ACP1B;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"eui-ecl-components-ecl-date-picker.mjs","sources":["../../components/ecl-date-picker/events/ecl-date-picker-date-picked.event.ts","../../components/ecl-date-picker/ecl-date-picker.directive.ts","../../components/ecl-date-picker/index.ts","../../components/ecl-date-picker/eui-ecl-components-ecl-date-picker.ts"],"sourcesContent":["import { EclBaseEvent } from '@eui/ecl/core';\n\n/**\n * Custom event emitted by the ECL date picker when a date is selected.\n */\nexport class EclDatePickerDatePickedEvent extends EclBaseEvent {\n\tconstructor(public date: Date) {\n\t\tsuper();\n\t}\n}\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { isPlatformBrowser } from '@angular/common';\nimport {\n Directive,\n ElementRef,\n EventEmitter,\n HostBinding,\n HostListener,\n inject,\n Input,\n OnDestroy,\n OnInit,\n Output,\n PLATFORM_ID,\n Provider,\n Renderer2,\n ViewContainerRef,\n forwardRef,\n} from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { LangChangeEvent, TranslateService } from '@ngx-translate/core';\nimport type Pikaday from 'pikaday';\nimport { Subject, debounceTime, fromEvent, takeUntil } from 'rxjs';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclIconComponent } from '@eui/ecl/components/ecl-icon';\nimport { EclDatePickerDatePickedEvent } from './events/ecl-date-picker-date-picked.event';\nimport { EclRtlService } from '@eui/ecl/core';\n\n/**\n * Default i18n values for the Pikaday calendar component.\n */\nconst pikadayDefaultI18n = {\n previousMonth: 'Previous Month',\n nextMonth: 'Next Month',\n months: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],\n weekdays: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],\n weekdaysShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],\n};\n\n/**\n * Value accessor provider for Angular reactive and template-driven forms.\n */\nexport const ECL_DATE_PICKER_VALUE_ACCESSOR: Provider = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => EclDatePickerDirective),\n multi: true,\n};\n\nconst noop = (): void => {\n /** empty */\n};\n\n/**\n * Directive that enhances a native input element with an ECL-compliant date picker.\n * Integrates Pikaday with support for localization (i18n), RTL layout, and responsive behavior.\n */\n@Directive({\n selector: 'input[eclDatePicker]',\n providers: [ECL_DATE_PICKER_VALUE_ACCESSOR],\n})\nexport class EclDatePickerDirective extends ECLBaseDirective implements OnInit, ControlValueAccessor, OnDestroy {\n protected translateService = inject(TranslateService);\n\n /**\n * Number of years to show in the year dropdown.\n */\n @Input() yearRange = 40;\n\n /**\n * Date format string used to display and parse dates.\n * Follows the format syntax supported by Pikaday.\n */\n @Input() format = 'DD-MM-YYYY';\n\n /**\n * Sets the type attribute of the host input element to 'text'.\n */\n @HostBinding('attr.type') type = 'text';\n\n /**\n * Binds base ECL CSS classes to the host input element.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-datepicker__field')].join(' ').trim();\n }\n\n /**\n * Emits an event when a date is selected.\n */\n @Output() datePicked = new EventEmitter<EclDatePickerDatePickedEvent>();\n\n /**\n * Binds the 'disabled' attribute to the host element.\n * Accepts `null` or an empty string.\n */\n @HostBinding('attr.disabled')\n isDisabled = null;\n\n private picker: Pikaday;\n private destroy$: Subject<boolean> = new Subject<boolean>();\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private onChange: (_: any) => void = noop;\n private onTouched: () => void = noop;\n\n private hostEl: HTMLInputElement;\n private hostParentEl: HTMLElement;\n private hostWrapperEl: HTMLElement;\n private eclIconComponentEl: HTMLElement;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n private value: any;\n private isRtl = false;\n private readonly DEBOUNCE_TIME = 100;\n private readonly MOBILE_BREAKPOINT = 768;\n private el = inject(ElementRef);\n private viewContainerRef = inject(ViewContainerRef);\n private eclRtlService = inject(EclRtlService);\n private renderer = inject(Renderer2);\n private platformId = inject(PLATFORM_ID);\n\n constructor() {\n super();\n if (isPlatformBrowser(this.platformId)) {\n this.handlei18nEvents();\n this.handleRtlChangeState();\n this.handleResize();\n }\n }\n\n /**\n * Initializes the Pikaday instance and applies markup when running in browser.\n */\n ngOnInit(): void {\n if (isPlatformBrowser(this.platformId)) {\n this.initPikaday().then(() => {\n this.handleMarkup();\n });\n }\n }\n\n /**\n * Cleans up subscriptions and event handlers on destroy.\n */\n ngOnDestroy(): void {\n this.destroy$.next(true);\n this.destroy$.unsubscribe();\n }\n\n /**\n * Marks the input as touched when clicked.\n */\n @HostListener('click')\n onClick(): void {\n this.onTouched();\n }\n\n /**\n * On blur, checks input value and emits appropriate change.\n */\n @HostListener('blur')\n onBlur(): void {\n const textFieldValue: string = this.hostEl.value;\n\n if (textFieldValue) {\n this.onChange(this.picker?.getDate());\n } else {\n this.onChange(null);\n }\n }\n\n /**\n * Writes a new value from the form model into the view or (if needed) DOM property.\n * Required by ControlValueAccessor interface.\n *\n * @param value - The value to be written into the input.\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n writeValue(value: any): void {\n this.value = value;\n if (this.picker) {\n this.picker.setDate(value);\n }\n }\n\n /**\n * Sets the disabled state of the component.\n * Called by Angular forms when the control status changes.\n *\n * @param isDisabled - Boolean indicating whether the input should be disabled.\n */\n setDisabledState(isDisabled: boolean): void {\n this.isDisabled = isDisabled || null;\n }\n\n /**\n * Registers a callback function that should be called when the control's value changes in the UI.\n * Required by ControlValueAccessor interface.\n *\n * @param fn - The callback function.\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n registerOnChange(fn: any): void {\n this.onChange = fn;\n }\n\n /**\n * Registers a callback function that should be called when the control is touched.\n * Required by ControlValueAccessor interface.\n *\n * @param fn - The callback function.\n */\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n registerOnTouched(fn: any): void {\n this.onTouched = fn;\n }\n\n private async initPikaday(): Promise<void> {\n const i18nKey = 'ecl.date-picker.PIKADAY';\n let i18nTranslation = this.translateService.instant(i18nKey);\n const isRTL = this.isRtl;\n const position = isRTL ? 'bottom right' : 'bottom left';\n\n if (!i18nTranslation || i18nTranslation === i18nKey) {\n i18nTranslation = pikadayDefaultI18n;\n }\n\n // Dynamically import Pikaday when the component initializes\n try {\n const { default: Pikaday } = await import('pikaday');\n\n // Initialize Pikaday after it is imported\n this.picker = new Pikaday({\n field: this.el.nativeElement,\n format: this.format,\n theme: 'ecl-datepicker-theme',\n yearRange: this.yearRange,\n reposition: false,\n i18n: i18nTranslation,\n isRTL,\n position,\n showDaysInNextAndPreviousMonths: true,\n enableSelectionDaysInNextAndPreviousMonths: true,\n onSelect: this.onSelectDate.bind(this),\n onOpen: (): void => this.setPikadayElementStyles(this.picker.el),\n });\n this.picker.setDate(this.value);\n } catch (error) {\n console.error('Error importing Pikaday', error);\n }\n }\n\n private handlei18nEvents(): void {\n this.translateService.onLangChange.pipe(takeUntil(this.destroy$))\n .subscribe((langChangeEvent: LangChangeEvent) => {\n this.value = this.picker.getDate();\n this.destroyPikaday();\n this.initPikaday().then();\n });\n }\n\n private handleRtlChangeState(): void {\n this.eclRtlService.currentRtlState$.pipe(takeUntil(this.destroy$)).subscribe((rtlState) => {\n this.isRtl = rtlState;\n if (this.picker) {\n this.value = this.picker.getDate();\n this.destroyPikaday();\n this.initPikaday().then();\n }\n });\n }\n\n private handleResize(): void {\n fromEvent(window, 'resize')\n .pipe(debounceTime(this.DEBOUNCE_TIME), takeUntil(this.destroy$))\n .subscribe(() => {\n this.setPikadayElementStyles(this.picker.el);\n })\n }\n\n private setPikadayElementStyles(element: HTMLElement): void {\n // Extend picker size on mobile\n const vw = Math.max(document.documentElement.clientWidth || 0, window.innerWidth || 0);\n const inputParentElRect = this.hostWrapperEl.getBoundingClientRect();\n //mobile_mode\n if (vw < this.MOBILE_BREAKPOINT) {\n element.style.right = `${vw - inputParentElRect.right}px`;\n element.style.left = `${inputParentElRect.left}px`;\n } else if ( this.isRtl) {\n element.style.right = `${vw - inputParentElRect.right}px`;\n element.style.left = 'auto';\n } else {\n element.style.right = 'auto';\n element.style.left = `${inputParentElRect.left}px`;\n }\n }\n\n private onSelectDate(date: Date): void {\n this.datePicked.next(new EclDatePickerDatePickedEvent(date));\n this.onChange(date);\n }\n\n private handleMarkup(): void {\n this.hostEl = this.getHostElement();\n this.hostParentEl = this.getHostParentElement(this.hostEl);\n this.hostWrapperEl = this.createHostWrapperContainer();\n this.eclIconComponentEl = this.createIconComponent();\n\n if (this.hostParentEl != null) {\n this.hostParentEl.replaceChild(this.hostWrapperEl, this.hostEl);\n this.renderer.appendChild(this.hostWrapperEl, this.hostEl);\n this.renderer.appendChild(this.hostWrapperEl, this.eclIconComponentEl);\n }\n }\n\n private getHostElement(): HTMLInputElement {\n return this.el.nativeElement;\n }\n\n private getHostParentElement(hostEl: HTMLInputElement): HTMLElement {\n return this.renderer.parentNode(hostEl);\n }\n\n private createHostWrapperContainer(): HTMLElement {\n const wrapperContainer = this.renderer.createElement('div');\n this.renderer.addClass(wrapperContainer, 'ecl-datepicker');\n\n return wrapperContainer;\n }\n\n private createIconComponent(): HTMLElement {\n const eclIconComponent = this.viewContainerRef.createComponent(EclIconComponent);\n eclIconComponent.instance.size = 'xs';\n eclIconComponent.instance.icon = 'calendar';\n eclIconComponent.instance.baseDirective.class = 'ecl-datepicker__icon';\n\n return eclIconComponent.location.nativeElement;\n }\n\n private destroyPikaday(): void {\n if (this.picker) {\n this.picker.destroy();\n this.picker = undefined;\n }\n }\n}\n","import { EclDatePickerDirective } from './ecl-date-picker.directive';\n\nexport * from './ecl-date-picker.directive';\nexport * from './events/ecl-date-picker-date-picked.event';\n\nexport const EUI_ECL_DATE_PICKER = [\n EclDatePickerDirective,\n] as const;","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAEA;;AAEG;AACG,MAAO,4BAA6B,SAAQ,YAAY,CAAA;AAC7D,IAAA,WAAA,CAAmB,IAAU,EAAA;AAC5B,QAAA,KAAK,EAAE;QADW,IAAA,CAAA,IAAI,GAAJ,IAAI;IAEvB;AACA;;ACTD;AA4BA;;AAEG;AACH,MAAM,kBAAkB,GAAG;AACvB,IAAA,aAAa,EAAE,gBAAgB;AAC/B,IAA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AElC,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAJlC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,sBAAsB;oBAChC,SAAS,EAAE,CAAC,8BAA8B,CAAC;AAC9C,iBAAA;;sBAOI;;sBAMA;;sBAKA,WAAW;uBAAC,WAAW;;sBAKvB,WAAW;uBAAC,OAAO;;sBAQnB;;sBAMA,WAAW;uBAAC,eAAe;;sBAwD3B,YAAY;uBAAC,OAAO;;sBAQpB,YAAY;uBAAC,MAAM;;;AC3JjB,MAAM,mBAAmB,GAAG;IAC/B,sBAAsB;;;ACN1B;;AAEG;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { HostBinding, Directive
|
|
2
|
+
import { HostBinding, Directive } from '@angular/core';
|
|
3
3
|
import { ECLBaseDirective } from '@eui/ecl/core';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -14,37 +14,19 @@ class EclDividerDirective extends ECLBaseDirective {
|
|
|
14
14
|
*/
|
|
15
15
|
this.hasClass = true;
|
|
16
16
|
}
|
|
17
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.
|
|
18
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.
|
|
17
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: EclDividerDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
18
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.3", type: EclDividerDirective, isStandalone: true, selector: "hr[eclDivider]", host: { properties: { "class.ecl-separator": "this.hasClass" } }, usesInheritance: true, ngImport: i0 }); }
|
|
19
19
|
}
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.3", ngImport: i0, type: EclDividerDirective, decorators: [{
|
|
21
21
|
type: Directive,
|
|
22
22
|
args: [{
|
|
23
|
-
selector: 'hr[eclDivider]',
|
|
23
|
+
selector: 'hr[eclDivider]',
|
|
24
24
|
}]
|
|
25
25
|
}], propDecorators: { hasClass: [{
|
|
26
26
|
type: HostBinding,
|
|
27
27
|
args: ['class.ecl-separator']
|
|
28
28
|
}] } });
|
|
29
29
|
|
|
30
|
-
/**
|
|
31
|
-
* Module that provides the EclDivider directive.
|
|
32
|
-
*
|
|
33
|
-
* @deprecated Use {@link EUI_ECL_DIVIDER} instead.
|
|
34
|
-
*/
|
|
35
|
-
class EclDividerModule {
|
|
36
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclDividerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
37
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclDividerModule, imports: [EclDividerDirective], exports: [EclDividerDirective] }); }
|
|
38
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclDividerModule }); }
|
|
39
|
-
}
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.0-rc.2", ngImport: i0, type: EclDividerModule, decorators: [{
|
|
41
|
-
type: NgModule,
|
|
42
|
-
args: [{
|
|
43
|
-
imports: [EclDividerDirective],
|
|
44
|
-
exports: [EclDividerDirective],
|
|
45
|
-
}]
|
|
46
|
-
}] });
|
|
47
|
-
|
|
48
30
|
const EUI_ECL_DIVIDER = [
|
|
49
31
|
EclDividerDirective,
|
|
50
32
|
];
|
|
@@ -53,5 +35,5 @@ const EUI_ECL_DIVIDER = [
|
|
|
53
35
|
* Generated bundle index. Do not edit.
|
|
54
36
|
*/
|
|
55
37
|
|
|
56
|
-
export { EUI_ECL_DIVIDER, EclDividerDirective
|
|
38
|
+
export { EUI_ECL_DIVIDER, EclDividerDirective };
|
|
57
39
|
//# sourceMappingURL=eui-ecl-components-ecl-divider.mjs.map
|