@eui/ecl 19.3.0-snapshot-1749041696283 → 19.3.0-snapshot-1749064223062
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/ecl-accordion/ecl-accordion-item.component.d.ts +24 -0
- package/components/ecl-accordion/ecl-accordion-item.component.d.ts.map +1 -1
- package/components/ecl-accordion/ecl-accordion.component.d.ts +19 -0
- package/components/ecl-accordion/ecl-accordion.component.d.ts.map +1 -1
- package/components/ecl-banner/ecl-banner-description.directive.d.ts +9 -0
- package/components/ecl-banner/ecl-banner-description.directive.d.ts.map +1 -1
- package/components/ecl-banner/ecl-banner-picture.directive.d.ts +11 -0
- package/components/ecl-banner/ecl-banner-picture.directive.d.ts.map +1 -1
- package/components/ecl-banner/ecl-banner-title.directive.d.ts +12 -0
- package/components/ecl-banner/ecl-banner-title.directive.d.ts.map +1 -1
- package/components/ecl-banner/ecl-banner-video.directive.d.ts +10 -0
- package/components/ecl-banner/ecl-banner-video.directive.d.ts.map +1 -1
- package/components/ecl-banner/ecl-banner.component.d.ts +66 -0
- package/components/ecl-banner/ecl-banner.component.d.ts.map +1 -1
- package/components/ecl-blockquote/ecl-blockquote-picture.directive.d.ts +14 -0
- package/components/ecl-blockquote/ecl-blockquote-picture.directive.d.ts.map +1 -1
- package/components/ecl-blockquote/ecl-blockquote.component.d.ts +29 -0
- package/components/ecl-blockquote/ecl-blockquote.component.d.ts.map +1 -1
- package/components/ecl-button/ecl-button-label.directive.d.ts +21 -0
- package/components/ecl-button/ecl-button-label.directive.d.ts.map +1 -1
- package/components/ecl-button/ecl-button.component.d.ts +43 -0
- package/components/ecl-button/ecl-button.component.d.ts.map +1 -1
- package/components/ecl-card/ecl-card-body.component.d.ts +7 -0
- package/components/ecl-card/ecl-card-body.component.d.ts.map +1 -1
- package/components/ecl-card/ecl-card-picture.directive.d.ts +17 -0
- package/components/ecl-card/ecl-card-picture.directive.d.ts.map +1 -1
- package/components/ecl-card/ecl-card.component.d.ts +27 -0
- package/components/ecl-card/ecl-card.component.d.ts.map +1 -1
- package/components/ecl-carousel/ecl-carousel-item.component.d.ts +42 -0
- package/components/ecl-carousel/ecl-carousel-item.component.d.ts.map +1 -1
- package/components/ecl-carousel/ecl-carousel.component.d.ts +224 -0
- package/components/ecl-carousel/ecl-carousel.component.d.ts.map +1 -1
- package/components/ecl-category-filter/ecl-category-filter/ecl-category-filter.component.d.ts +14 -0
- package/components/ecl-category-filter/ecl-category-filter/ecl-category-filter.component.d.ts.map +1 -1
- package/components/ecl-category-filter/ecl-category-filter-list/ecl-category-filter-item.component.d.ts +56 -0
- package/components/ecl-category-filter/ecl-category-filter-list/ecl-category-filter-item.component.d.ts.map +1 -1
- package/components/ecl-category-filter/ecl-category-filter-list/ecl-category-filter-list.component.d.ts +28 -0
- package/components/ecl-category-filter/ecl-category-filter-list/ecl-category-filter-list.component.d.ts.map +1 -1
- package/components/ecl-category-filter/events/ecl-category-filter-item-select.event.d.ts +7 -0
- package/components/ecl-category-filter/events/ecl-category-filter-item-select.event.d.ts.map +1 -1
- package/components/ecl-content-block/ecl-content-block-elements.directive.d.ts +106 -0
- package/components/ecl-content-block/ecl-content-block-elements.directive.d.ts.map +1 -1
- package/components/ecl-content-block/ecl-content-block.component.d.ts +8 -0
- package/components/ecl-content-block/ecl-content-block.component.d.ts.map +1 -1
- package/components/ecl-content-item/ecl-content-item-image.directive.d.ts +29 -0
- package/components/ecl-content-item/ecl-content-item-image.directive.d.ts.map +1 -1
- package/components/ecl-content-item/ecl-content-item.component.d.ts +40 -0
- package/components/ecl-content-item/ecl-content-item.component.d.ts.map +1 -1
- package/components/ecl-date-block/ecl-date-block.component.d.ts +36 -0
- package/components/ecl-date-block/ecl-date-block.component.d.ts.map +1 -1
- package/components/ecl-expandable/ecl-expandable.component.d.ts +34 -0
- package/components/ecl-expandable/ecl-expandable.component.d.ts.map +1 -1
- package/components/ecl-fact-figures/ecl-fact-figures-description.component.d.ts +7 -0
- package/components/ecl-fact-figures/ecl-fact-figures-description.component.d.ts.map +1 -1
- package/components/ecl-fact-figures/ecl-fact-figures-item.component.d.ts +15 -0
- package/components/ecl-fact-figures/ecl-fact-figures-item.component.d.ts.map +1 -1
- package/components/ecl-fact-figures/ecl-fact-figures-title.component.d.ts +6 -0
- package/components/ecl-fact-figures/ecl-fact-figures-title.component.d.ts.map +1 -1
- package/components/ecl-fact-figures/ecl-fact-figures-value.component.d.ts +6 -0
- package/components/ecl-fact-figures/ecl-fact-figures-value.component.d.ts.map +1 -1
- package/components/ecl-fact-figures/ecl-fact-figures-view-all.component.d.ts +15 -0
- package/components/ecl-fact-figures/ecl-fact-figures-view-all.component.d.ts.map +1 -1
- package/components/ecl-fact-figures/ecl-fact-figures.component.d.ts +23 -0
- package/components/ecl-fact-figures/ecl-fact-figures.component.d.ts.map +1 -1
- package/components/ecl-file/ecl-file-download.directive.d.ts +23 -0
- package/components/ecl-file/ecl-file-download.directive.d.ts.map +1 -1
- package/components/ecl-file/ecl-file-item/ecl-file-item.component.d.ts +36 -0
- package/components/ecl-file/ecl-file-item/ecl-file-item.component.d.ts.map +1 -1
- package/components/ecl-file/ecl-file-items/ecl-file-items.component.d.ts +29 -0
- package/components/ecl-file/ecl-file-items/ecl-file-items.component.d.ts.map +1 -1
- package/components/ecl-file/ecl-file-picture.directive.d.ts +23 -0
- package/components/ecl-file/ecl-file-picture.directive.d.ts.map +1 -1
- package/components/ecl-file/ecl-file-taxonomy/ecl-file-taxonomy.component.d.ts +6 -0
- package/components/ecl-file/ecl-file-taxonomy/ecl-file-taxonomy.component.d.ts.map +1 -1
- package/components/ecl-file/ecl-file.component.d.ts +35 -0
- package/components/ecl-file/ecl-file.component.d.ts.map +1 -1
- package/components/ecl-icon/ecl-icon.component.d.ts +51 -0
- package/components/ecl-icon/ecl-icon.component.d.ts.map +1 -1
- package/components/ecl-label/ecl-label.directive.d.ts +20 -0
- package/components/ecl-label/ecl-label.directive.d.ts.map +1 -1
- package/components/ecl-list/ecl-description-list-definition/ecl-description-list-definition.component.d.ts +35 -0
- package/components/ecl-list/ecl-description-list-definition/ecl-description-list-definition.component.d.ts.map +1 -1
- package/components/ecl-list/ecl-description-list-definition-item.directive.d.ts +22 -0
- package/components/ecl-list/ecl-description-list-definition-item.directive.d.ts.map +1 -1
- package/components/ecl-list/ecl-list.directive.d.ts +57 -0
- package/components/ecl-list/ecl-list.directive.d.ts.map +1 -1
- package/components/ecl-list-illustration/ecl-list-illustration-icon.directive.d.ts +8 -0
- package/components/ecl-list-illustration/ecl-list-illustration-icon.directive.d.ts.map +1 -1
- package/components/ecl-list-illustration/ecl-list-illustration-item.component.d.ts +23 -0
- package/components/ecl-list-illustration/ecl-list-illustration-item.component.d.ts.map +1 -1
- package/components/ecl-list-illustration/ecl-list-illustration-picture.directive.d.ts +23 -0
- package/components/ecl-list-illustration/ecl-list-illustration-picture.directive.d.ts.map +1 -1
- package/components/ecl-list-illustration/ecl-list-illustration.component.d.ts +26 -0
- package/components/ecl-list-illustration/ecl-list-illustration.component.d.ts.map +1 -1
- package/components/ecl-loading-indicator/ecl-loading-indicator-label.directive.d.ts +8 -0
- package/components/ecl-loading-indicator/ecl-loading-indicator-label.directive.d.ts.map +1 -1
- package/components/ecl-loading-indicator/ecl-loading-indicator-overlay.directive.d.ts +8 -0
- package/components/ecl-loading-indicator/ecl-loading-indicator-overlay.directive.d.ts.map +1 -1
- package/components/ecl-loading-indicator/ecl-loading-indicator.component.d.ts +39 -1
- package/components/ecl-loading-indicator/ecl-loading-indicator.component.d.ts.map +1 -1
- package/components/ecl-modal/ecl-modal-body-fixed.directive.d.ts +8 -0
- package/components/ecl-modal/ecl-modal-body-fixed.directive.d.ts.map +1 -1
- package/components/ecl-modal/ecl-modal-body.component.d.ts +11 -0
- package/components/ecl-modal/ecl-modal-body.component.d.ts.map +1 -1
- package/components/ecl-modal/ecl-modal-close.directive.d.ts +17 -0
- package/components/ecl-modal/ecl-modal-close.directive.d.ts.map +1 -1
- package/components/ecl-modal/ecl-modal-footer.component.d.ts +16 -0
- package/components/ecl-modal/ecl-modal-footer.component.d.ts.map +1 -1
- package/components/ecl-modal/ecl-modal-header.component.d.ts +41 -0
- package/components/ecl-modal/ecl-modal-header.component.d.ts.map +1 -1
- package/components/ecl-modal/ecl-modal-trigger.directive.d.ts +9 -0
- package/components/ecl-modal/ecl-modal-trigger.directive.d.ts.map +1 -1
- package/components/ecl-modal/ecl-modal.component.d.ts +68 -0
- package/components/ecl-modal/ecl-modal.component.d.ts.map +1 -1
- package/components/ecl-news-ticker/ecl-news-ticker-icon.directive.d.ts +6 -0
- package/components/ecl-news-ticker/ecl-news-ticker-icon.directive.d.ts.map +1 -1
- package/components/ecl-news-ticker/ecl-news-ticker-item.component.d.ts +27 -0
- package/components/ecl-news-ticker/ecl-news-ticker-item.component.d.ts.map +1 -1
- package/components/ecl-news-ticker/ecl-news-ticker.component.d.ts +77 -0
- package/components/ecl-news-ticker/ecl-news-ticker.component.d.ts.map +1 -1
- package/components/ecl-notification/ecl-notification-title.directive.d.ts +7 -0
- package/components/ecl-notification/ecl-notification-title.directive.d.ts.map +1 -1
- package/components/ecl-notification/ecl-notification.component.d.ts +42 -0
- package/components/ecl-notification/ecl-notification.component.d.ts.map +1 -1
- package/components/ecl-notification/events/ecl-notification-close.event.d.ts +5 -0
- package/components/ecl-notification/events/ecl-notification-close.event.d.ts.map +1 -1
- package/components/ecl-popover/ecl-popover-content.directive.d.ts +8 -0
- package/components/ecl-popover/ecl-popover-content.directive.d.ts.map +1 -1
- package/components/ecl-popover/ecl-popover-toggle.directive.d.ts +27 -0
- package/components/ecl-popover/ecl-popover-toggle.directive.d.ts.map +1 -1
- package/components/ecl-popover/ecl-popover.component.d.ts +46 -0
- package/components/ecl-popover/ecl-popover.component.d.ts.map +1 -1
- package/components/ecl-separator/ecl-separator.directive.d.ts +7 -0
- package/components/ecl-separator/ecl-separator.directive.d.ts.map +1 -1
- package/docs/classes/EclCategoryFilterItemSelectEvent.html +19 -0
- package/docs/classes/EclExpandableToggleEvent.html +8 -0
- package/docs/classes/EclNotificationCloseEvent.html +8 -0
- package/docs/components/EclAccordionComponent.html +25 -0
- package/docs/components/EclAccordionItemComponent.html +40 -0
- package/docs/components/EclBannerComponent.html +114 -0
- package/docs/components/EclBlockquoteComponent.html +50 -0
- package/docs/components/EclButtonComponent.html +87 -0
- package/docs/components/EclCardBodyComponent.html +25 -0
- package/docs/components/EclCardComponent.html +55 -0
- package/docs/components/EclCarouselComponent.html +179 -1
- package/docs/components/EclCarouselItemComponent.html +132 -0
- package/docs/components/EclCategoryFilterComponent.html +39 -0
- package/docs/components/EclCategoryFilterItemComponent.html +160 -0
- package/docs/components/EclCategoryFilterListComponent.html +84 -0
- package/docs/components/EclContentBlockComponent.html +27 -0
- package/docs/components/EclContentItemComponent.html +75 -0
- package/docs/components/EclDateBlockComponent.html +78 -0
- package/docs/components/EclDescriptionListDefinitionComponent.html +61 -0
- package/docs/components/EclExpandableComponent.html +59 -4
- package/docs/components/EclFactFiguresComponent.html +63 -4
- package/docs/components/EclFactFiguresDescriptionComponent.html +29 -4
- package/docs/components/EclFactFiguresItemComponent.html +32 -0
- package/docs/components/EclFactFiguresTitleComponent.html +28 -4
- package/docs/components/EclFactFiguresValueComponent.html +28 -4
- package/docs/components/EclFactFiguresViewAllComponent.html +36 -4
- package/docs/components/EclFileComponent.html +85 -0
- package/docs/components/EclFileItemComponent.html +88 -0
- package/docs/components/EclFileItemsComponent.html +55 -0
- package/docs/components/EclFileTaxonomyComponent.html +24 -0
- package/docs/components/EclIconComponent.html +101 -0
- package/docs/components/EclListIllustrationComponent.html +77 -0
- package/docs/components/EclListIllustrationItemComponent.html +66 -0
- package/docs/components/EclLoadingIndicatorComponent.html +75 -0
- package/docs/components/EclModalBodyComponent.html +31 -0
- package/docs/components/EclModalComponent.html +118 -0
- package/docs/components/EclModalFooterComponent.html +31 -0
- package/docs/components/EclModalHeaderComponent.html +58 -0
- package/docs/components/EclNewsTickerComponent.html +118 -0
- package/docs/components/EclNewsTickerItemComponent.html +86 -0
- package/docs/components/EclNotificationComponent.html +117 -0
- package/docs/components/EclPopoverComponent.html +90 -0
- package/docs/dependencies.html +2 -2
- package/docs/directives/EclBannerDescriptionDirective.html +7 -0
- package/docs/directives/EclBannerDescriptionLinkDirective.html +7 -0
- package/docs/directives/EclBannerDescriptionTextDirective.html +7 -0
- package/docs/directives/EclBannerImageDirective.html +10 -0
- package/docs/directives/EclBannerPictureDirective.html +8 -0
- package/docs/directives/EclBannerTitleDirective.html +8 -0
- package/docs/directives/EclBannerTitleLinkDirective.html +8 -0
- package/docs/directives/EclBannerTitleTextDirective.html +8 -0
- package/docs/directives/EclBannerVideoDirective.html +22 -0
- package/docs/directives/EclBlockquoteImageDirective.html +25 -0
- package/docs/directives/EclBlockquotePictureDirective.html +25 -0
- package/docs/directives/EclButtonIconContainerDirective.html +20 -0
- package/docs/directives/EclButtonLabelDirective.html +25 -0
- package/docs/directives/EclCardImageDirective.html +25 -0
- package/docs/directives/EclCardPictureDirective.html +31 -0
- package/docs/directives/EclContentBlockDescriptionDirective.html +24 -0
- package/docs/directives/EclContentBlockLabelDirective.html +24 -0
- package/docs/directives/EclContentBlockLabelsDirective.html +24 -0
- package/docs/directives/EclContentBlockLinkDirective.html +24 -0
- package/docs/directives/EclContentBlockLinksContainerDirective.html +24 -0
- package/docs/directives/EclContentBlockLinksDirective.html +24 -0
- package/docs/directives/EclContentBlockListContainerDirective.html +24 -0
- package/docs/directives/EclContentBlockListDirective.html +24 -0
- package/docs/directives/EclContentBlockPrimaryMetaDirective.html +24 -0
- package/docs/directives/EclContentBlockPrimaryMetasDirective.html +24 -0
- package/docs/directives/EclContentBlockSecondaryMetaDirective.html +24 -0
- package/docs/directives/EclContentBlockSecondaryMetaIconDirective.html +24 -0
- package/docs/directives/EclContentBlockSecondaryMetaLabelDirective.html +24 -0
- package/docs/directives/EclContentBlockSecondaryMetasDirective.html +24 -0
- package/docs/directives/EclContentBlockTagDirective.html +24 -0
- package/docs/directives/EclContentBlockTagsDirective.html +24 -0
- package/docs/directives/EclContentBlockTitleDirective.html +31 -0
- package/docs/directives/EclContentItemImageDirective.html +27 -0
- package/docs/directives/EclContentItemPictureDirective.html +46 -0
- package/docs/directives/EclDescriptionListDefinitionItemDirective.html +37 -0
- package/docs/directives/EclDescriptionListDefinitionListDirective.html +20 -0
- package/docs/directives/EclDescriptionListDirective.html +39 -0
- package/docs/directives/EclDescriptionListTermDirective.html +19 -0
- package/docs/directives/EclFileDownloadDirective.html +19 -0
- package/docs/directives/EclFileImageDirective.html +20 -0
- package/docs/directives/EclFilePictureDirective.html +25 -0
- package/docs/directives/EclFilePreviewDirective.html +32 -0
- package/docs/directives/EclFileTitleDirective.html +25 -0
- package/docs/directives/EclFileTranslationDownloadDirective.html +20 -0
- package/docs/directives/EclIndicatorDirective.html +20 -0
- package/docs/directives/EclLabelDirective.html +40 -0
- package/docs/directives/EclListIllustrationIconDirective.html +20 -0
- package/docs/directives/EclListIllustrationImageDirective.html +38 -0
- package/docs/directives/EclListIllustrationPictureDirective.html +25 -0
- package/docs/directives/EclLoadingIndicatorLabelDirective.html +20 -0
- package/docs/directives/EclLoadingIndicatorOverlayDirective.html +25 -0
- package/docs/directives/EclModalBodyFixedContentDirective.html +20 -0
- package/docs/directives/EclModalCloseDirective.html +35 -0
- package/docs/directives/EclModalTriggerDirective.html +22 -0
- package/docs/directives/EclNewsTickerIconDirective.html +19 -0
- package/docs/directives/EclNotificationTitleDirective.html +25 -0
- package/docs/directives/EclOrderedListDirective.html +19 -0
- package/docs/directives/EclOrderedListItemDirective.html +19 -0
- package/docs/directives/EclPopoverContentDirective.html +25 -0
- package/docs/directives/EclPopoverToggleDirective.html +62 -0
- package/docs/directives/EclSeparatorDirective.html +20 -0
- package/docs/directives/EclUnorderedListDirective.html +32 -0
- package/docs/directives/EclUnorderedListItemDirective.html +19 -0
- package/docs/js/search/search_index.js +2 -2
- package/fesm2022/eui-ecl-components-ecl-accordion.mjs +39 -0
- package/fesm2022/eui-ecl-components-ecl-accordion.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-banner.mjs +108 -0
- package/fesm2022/eui-ecl-components-ecl-banner.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-blockquote.mjs +39 -0
- package/fesm2022/eui-ecl-components-ecl-blockquote.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-button.mjs +53 -0
- package/fesm2022/eui-ecl-components-ecl-button.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-card.mjs +42 -0
- package/fesm2022/eui-ecl-components-ecl-card.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-carousel.mjs +221 -0
- package/fesm2022/eui-ecl-components-ecl-carousel.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-category-filter.mjs +85 -0
- package/fesm2022/eui-ecl-components-ecl-category-filter.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-content-block.mjs +111 -0
- package/fesm2022/eui-ecl-components-ecl-content-block.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-content-item.mjs +50 -0
- package/fesm2022/eui-ecl-components-ecl-content-item.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-date-block.mjs +18 -0
- package/fesm2022/eui-ecl-components-ecl-date-block.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-expandable.mjs +27 -0
- package/fesm2022/eui-ecl-components-ecl-expandable.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-fact-figures.mjs +64 -0
- package/fesm2022/eui-ecl-components-ecl-fact-figures.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-file.mjs +108 -3
- package/fesm2022/eui-ecl-components-ecl-file.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-icon.mjs +32 -0
- package/fesm2022/eui-ecl-components-ecl-icon.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-label.mjs +20 -0
- package/fesm2022/eui-ecl-components-ecl-label.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-list-illustration.mjs +80 -0
- package/fesm2022/eui-ecl-components-ecl-list-illustration.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-list.mjs +102 -0
- package/fesm2022/eui-ecl-components-ecl-list.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-loading-indicator.mjs +59 -5
- package/fesm2022/eui-ecl-components-ecl-loading-indicator.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-modal.mjs +132 -0
- package/fesm2022/eui-ecl-components-ecl-modal.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-news-ticker.mjs +89 -0
- package/fesm2022/eui-ecl-components-ecl-news-ticker.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-notification.mjs +51 -0
- package/fesm2022/eui-ecl-components-ecl-notification.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-popover.mjs +69 -1
- package/fesm2022/eui-ecl-components-ecl-popover.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-separator.mjs +7 -0
- package/fesm2022/eui-ecl-components-ecl-separator.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -5,7 +5,14 @@ import { CommonModule } from '@angular/common';
|
|
|
5
5
|
import { EclIconComponent, EclIconModule } from '@eui/ecl/components/ecl-icon';
|
|
6
6
|
import { ECLBaseDirective } from '@eui/ecl/core';
|
|
7
7
|
|
|
8
|
+
/**
|
|
9
|
+
* Directive for labeling content inside the ECL Button.
|
|
10
|
+
* Automatically applies the `ecl-button__label` CSS class.
|
|
11
|
+
*/
|
|
8
12
|
class EclButtonLabelDirective extends ECLBaseDirective {
|
|
13
|
+
/**
|
|
14
|
+
* Returns the CSS classes to apply for the button label.
|
|
15
|
+
*/
|
|
9
16
|
get cssClasses() {
|
|
10
17
|
return [super.getCssClasses('ecl-button__label')].join(' ').trim();
|
|
11
18
|
}
|
|
@@ -22,8 +29,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImpo
|
|
|
22
29
|
type: HostBinding,
|
|
23
30
|
args: ['class']
|
|
24
31
|
}] } });
|
|
32
|
+
/**
|
|
33
|
+
* Directive for indicating special content inside the ECL Button.
|
|
34
|
+
* Automatically applies the `ecl-indicator` CSS class.
|
|
35
|
+
*/
|
|
25
36
|
class EclIndicatorDirective {
|
|
26
37
|
constructor() {
|
|
38
|
+
/**
|
|
39
|
+
* Applies the `ecl-indicator` CSS class.
|
|
40
|
+
*/
|
|
27
41
|
this.hasClass = true;
|
|
28
42
|
}
|
|
29
43
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: EclIndicatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
@@ -39,8 +53,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImpo
|
|
|
39
53
|
type: HostBinding,
|
|
40
54
|
args: ['class.ecl-indicator']
|
|
41
55
|
}] } });
|
|
56
|
+
/**
|
|
57
|
+
* Directive for the icon container inside the ECL Button.
|
|
58
|
+
* Automatically applies the `ecl-button__icon-container` CSS class.
|
|
59
|
+
*/
|
|
42
60
|
class EclButtonIconContainerDirective {
|
|
43
61
|
constructor() {
|
|
62
|
+
/**
|
|
63
|
+
* Applies the `ecl-button__icon-container` CSS class.
|
|
64
|
+
*/
|
|
44
65
|
this.hasClass = true;
|
|
45
66
|
}
|
|
46
67
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.12", ngImport: i0, type: EclButtonIconContainerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
@@ -57,23 +78,52 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImpo
|
|
|
57
78
|
args: ['class.ecl-button__icon-container']
|
|
58
79
|
}] } });
|
|
59
80
|
|
|
81
|
+
/**
|
|
82
|
+
* Button component based on ECL design system.
|
|
83
|
+
* Can render as a `<button>` or `<a>` element depending on usage.
|
|
84
|
+
* Supports multiple visual variants and optional icon/indicator content.
|
|
85
|
+
*/
|
|
60
86
|
class EclButtonComponent extends ECLBaseDirective {
|
|
87
|
+
/**
|
|
88
|
+
* Computes the full set of CSS classes to apply to the button element.
|
|
89
|
+
*/
|
|
61
90
|
get cssClasses() {
|
|
62
91
|
return [super.getCssClasses('ecl-button'), `ecl-button--${this.variant}`,
|
|
63
92
|
this.isIconOnly ? 'ecl-button--icon-only' : ''].join(' ').trim();
|
|
64
93
|
}
|
|
94
|
+
/**
|
|
95
|
+
* Indicates whether the button contains an icon.
|
|
96
|
+
* Used internally for styling logic.
|
|
97
|
+
*/
|
|
65
98
|
get hasIcon() {
|
|
66
99
|
return this.iconComponents.length > 0;
|
|
67
100
|
}
|
|
101
|
+
/**
|
|
102
|
+
* Indicates whether the button contains an indicator element.
|
|
103
|
+
* Used internally for styling logic.
|
|
104
|
+
*/
|
|
68
105
|
get hasIndicator() {
|
|
69
106
|
return !!this.indicator;
|
|
70
107
|
}
|
|
71
108
|
constructor(el) {
|
|
72
109
|
super();
|
|
73
110
|
this.el = el;
|
|
111
|
+
/**
|
|
112
|
+
* Whether the button should be styled as icon-only.
|
|
113
|
+
* When true, the `ecl-button--icon-only` class is applied.
|
|
114
|
+
*/
|
|
74
115
|
this.isIconOnly = false;
|
|
116
|
+
/**
|
|
117
|
+
* Visual variant of the button.
|
|
118
|
+
* Can be 'primary', 'secondary', 'tertiary', 'cta', 'ghost', or 'ghost-inverted'.
|
|
119
|
+
* Defaults to 'primary'.
|
|
120
|
+
*/
|
|
75
121
|
this.variant = 'primary';
|
|
76
122
|
}
|
|
123
|
+
/**
|
|
124
|
+
* Lifecycle hook triggered after content is projected.
|
|
125
|
+
* Assigns a button-specific class to projected icon components.
|
|
126
|
+
*/
|
|
77
127
|
ngAfterViewInit() {
|
|
78
128
|
if (this.iconComponents) {
|
|
79
129
|
setTimeout(() => {
|
|
@@ -83,6 +133,9 @@ class EclButtonComponent extends ECLBaseDirective {
|
|
|
83
133
|
});
|
|
84
134
|
}
|
|
85
135
|
}
|
|
136
|
+
/**
|
|
137
|
+
* Manually focuses the button element.
|
|
138
|
+
*/
|
|
86
139
|
onFocus() {
|
|
87
140
|
this.el.nativeElement.focus();
|
|
88
141
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eui-ecl-components-ecl-button.mjs","sources":["../../components/ecl-button/ecl-button-label.directive.ts","../../components/ecl-button/ecl-button.component.ts","../../components/ecl-button/ecl-button.component.html","../../components/ecl-button/ecl-button.module.ts","../../components/ecl-button/eui-ecl-components-ecl-button.ts"],"sourcesContent":["import { Directive, HostBinding } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n@Directive({\n selector: '[eclButtonLabel]',\n standalone: false,\n})\nexport class EclButtonLabelDirective extends ECLBaseDirective {\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-button__label')].join(' ').trim();\n }\n}\n\n@Directive({\n selector: '[eclIndicator]',\n standalone: false,\n})\nexport class EclIndicatorDirective {\n @HostBinding('class.ecl-indicator') hasClass = true;\n}\n\n@Directive({\n selector: '[eclButtonIconContainer]',\n standalone: false,\n})\nexport class EclButtonIconContainerDirective {\n @HostBinding('class.ecl-button__icon-container') hasClass = true;\n}\n","import { booleanAttribute, Component, ContentChildren, ElementRef, forwardRef, HostBinding, Input, QueryList,\n AfterViewInit, \n ContentChild } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclIconComponent } from '@eui/ecl/components/ecl-icon';\nimport { EclIndicatorDirective } from './ecl-button-label.directive';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'button[eclButton], button[ecl-button], a[eclButton]',\n templateUrl: './ecl-button.component.html',\n standalone: false,\n})\nexport class EclButtonComponent extends ECLBaseDirective implements AfterViewInit {\n\n @Input({ transform: booleanAttribute }) isIconOnly = false;\n @Input() variant: 'primary' | 'secondary' | 'tertiary' | 'cta' | 'ghost' | 'ghost-inverted' = 'primary';\n @Input() containerStyleClass: string;\n\n @ContentChildren(forwardRef(() => EclIconComponent)) iconComponents: QueryList<EclIconComponent>;\n @ContentChild(forwardRef(() => EclIndicatorDirective)) indicator: EclIndicatorDirective;\n\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-button'), `ecl-button--${this.variant}`,\n this.isIconOnly ? 'ecl-button--icon-only' : ''].join(' ').trim();\n }\n\n get hasIcon(): boolean {\n return this.iconComponents.length > 0;\n }\n\n get hasIndicator(): boolean {\n return !!this.indicator;\n }\n\n constructor(public el: ElementRef) {\n super();\n }\n\n ngAfterViewInit(): void {\n if (this.iconComponents) {\n setTimeout(() => {\n this.iconComponents.forEach((icn) => {\n icn.baseDirective.class = 'ecl-button__icon';\n });\n });\n }\n }\n\n onFocus(): void {\n this.el.nativeElement.focus();\n }\n}\n","@if (hasIcon) {\n<span class=\"ecl-button__container {{ containerStyleClass }}\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n</span>\n}\n@else {\n<ng-container *ngTemplateOutlet=\"content\"></ng-container>\n}\n<ng-template #content>\n <ng-content></ng-content>\n</ng-template>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { EclIconModule } from '@eui/ecl/components/ecl-icon';\nimport { EclButtonComponent } from './ecl-button.component';\nimport { EclButtonIconContainerDirective, EclButtonLabelDirective, EclIndicatorDirective } from './ecl-button-label.directive';\n\n@NgModule({\n imports: [CommonModule, EclIconModule],\n exports: [EclButtonComponent, EclButtonLabelDirective, EclIndicatorDirective, EclButtonIconContainerDirective],\n declarations: [EclButtonComponent, EclButtonLabelDirective, EclIndicatorDirective, EclButtonIconContainerDirective],\n})\nexport class EclButtonModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAOM,MAAO,uBAAwB,SAAQ,gBAAgB,CAAA;AACzD,IAAA,IAC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L3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,aAAa,CAAC;oBACtC,OAAO,EAAE,CAAC,kBAAkB,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,+BAA+B,CAAC;oBAC9G,YAAY,EAAE,CAAC,kBAAkB,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,+BAA+B,CAAC;AACtH,iBAAA;;;ACVD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"eui-ecl-components-ecl-button.mjs","sources":["../../components/ecl-button/ecl-button-label.directive.ts","../../components/ecl-button/ecl-button.component.ts","../../components/ecl-button/ecl-button.component.html","../../components/ecl-button/ecl-button.module.ts","../../components/ecl-button/eui-ecl-components-ecl-button.ts"],"sourcesContent":["import { Directive, HostBinding } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Directive for labeling content inside the ECL Button.\n * Automatically applies the `ecl-button__label` CSS class.\n */\n@Directive({\n selector: '[eclButtonLabel]',\n standalone: false,\n})\nexport class EclButtonLabelDirective extends ECLBaseDirective {\n /**\n * Returns the CSS classes to apply for the button label.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-button__label')].join(' ').trim();\n }\n}\n\n/**\n * Directive for indicating special content inside the ECL Button.\n * Automatically applies the `ecl-indicator` CSS class.\n */\n@Directive({\n selector: '[eclIndicator]',\n standalone: false,\n})\nexport class EclIndicatorDirective {\n /**\n * Applies the `ecl-indicator` CSS class.\n */\n @HostBinding('class.ecl-indicator') hasClass = true;\n}\n\n/**\n * Directive for the icon container inside the ECL Button.\n * Automatically applies the `ecl-button__icon-container` CSS class.\n */\n@Directive({\n selector: '[eclButtonIconContainer]',\n standalone: false,\n})\nexport class EclButtonIconContainerDirective {\n /**\n * Applies the `ecl-button__icon-container` CSS class.\n */\n @HostBinding('class.ecl-button__icon-container') hasClass = true;\n}\n","import {\n booleanAttribute,\n Component,\n ContentChildren,\n ElementRef,\n forwardRef,\n HostBinding,\n Input,\n QueryList,\n AfterViewInit,\n ContentChild,\n} from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclIconComponent } from '@eui/ecl/components/ecl-icon';\nimport { EclIndicatorDirective } from './ecl-button-label.directive';\n\n/**\n * Button component based on ECL design system.\n * Can render as a `<button>` or `<a>` element depending on usage.\n * Supports multiple visual variants and optional icon/indicator content.\n */\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'button[eclButton], button[ecl-button], a[eclButton]',\n templateUrl: './ecl-button.component.html',\n standalone: false,\n})\nexport class EclButtonComponent extends ECLBaseDirective implements AfterViewInit {\n\n /**\n * Whether the button should be styled as icon-only.\n * When true, the `ecl-button--icon-only` class is applied.\n */\n @Input({ transform: booleanAttribute }) isIconOnly = false;\n\n /**\n * Visual variant of the button.\n * Can be 'primary', 'secondary', 'tertiary', 'cta', 'ghost', or 'ghost-inverted'.\n * Defaults to 'primary'.\n */\n @Input() variant: 'primary' | 'secondary' | 'tertiary' | 'cta' | 'ghost' | 'ghost-inverted' = 'primary';\n\n /**\n * Optional additional class to apply to the button container.\n */\n @Input() containerStyleClass: string;\n\n /**\n * List of projected icon components inside the button.\n * Used internally to detect presence of icons.\n */\n @ContentChildren(forwardRef(() => EclIconComponent)) iconComponents: QueryList<EclIconComponent>;\n\n /**\n * Projected indicator element inside the button (e.g., for loading or notification).\n * Used internally to detect its presence.\n */\n @ContentChild(forwardRef(() => EclIndicatorDirective)) indicator: EclIndicatorDirective;\n\n /**\n * Computes the full set of CSS classes to apply to the button element.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-button'), `ecl-button--${this.variant}`,\n this.isIconOnly ? 'ecl-button--icon-only' : ''].join(' ').trim();\n }\n\n /**\n * Indicates whether the button contains an icon.\n * Used internally for styling logic.\n */\n get hasIcon(): boolean {\n return this.iconComponents.length > 0;\n }\n\n /**\n * Indicates whether the button contains an indicator element.\n * Used internally for styling logic.\n */\n get hasIndicator(): boolean {\n return !!this.indicator;\n }\n\n constructor(public el: ElementRef) {\n super();\n }\n\n /**\n * Lifecycle hook triggered after content is projected.\n * Assigns a button-specific class to projected icon components.\n */\n ngAfterViewInit(): void {\n if (this.iconComponents) {\n setTimeout(() => {\n this.iconComponents.forEach((icn) => {\n icn.baseDirective.class = 'ecl-button__icon';\n });\n });\n }\n }\n\n /**\n * Manually focuses the button element.\n */\n onFocus(): void {\n this.el.nativeElement.focus();\n }\n}\n","@if (hasIcon) {\n<span class=\"ecl-button__container {{ containerStyleClass }}\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n</span>\n}\n@else {\n<ng-container *ngTemplateOutlet=\"content\"></ng-container>\n}\n<ng-template #content>\n <ng-content></ng-content>\n</ng-template>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { EclIconModule } from '@eui/ecl/components/ecl-icon';\nimport { EclButtonComponent } from './ecl-button.component';\nimport { EclButtonIconContainerDirective, EclButtonLabelDirective, EclIndicatorDirective } from './ecl-button-label.directive';\n\n@NgModule({\n imports: [CommonModule, EclIconModule],\n exports: [EclButtonComponent, EclButtonLabelDirective, EclIndicatorDirective, EclButtonIconContainerDirective],\n declarations: [EclButtonComponent, EclButtonLabelDirective, EclIndicatorDirective, EclButtonIconContainerDirective],\n})\nexport class EclButtonModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAGA;;;AAGG;AAKG,MAAO,uBAAwB,SAAQ,gBAAgB,CAAA;AACzD;;AAEG;AACH,IAAA,IACI,UAAU,GAAA;AACV,QAAA,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,mBAAmB,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE;;+GAN7D,uBAAuB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAA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A,OAAO,EAAE,CAAC,YAAY,EAAE,aAAa,CAAC;oBACtC,OAAO,EAAE,CAAC,kBAAkB,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,+BAA+B,CAAC;oBAC9G,YAAY,EAAE,CAAC,kBAAkB,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,+BAA+B,CAAC;AACtH,iBAAA;;;ACVD;;AAEG;;;;"}
|
|
@@ -7,7 +7,14 @@ import { EclLabelModule } from '@eui/ecl/components/ecl-label';
|
|
|
7
7
|
import { ECLBaseDirective } from '@eui/ecl/core';
|
|
8
8
|
import { EclContentBlockComponent, EclContentBlockTitleDirective } from '@eui/ecl/components/ecl-content-block';
|
|
9
9
|
|
|
10
|
+
/**
|
|
11
|
+
* Card body component based on the ECL design system.
|
|
12
|
+
* Provides a wrapper for the main content area of the card.
|
|
13
|
+
*/
|
|
10
14
|
class EclCardBodyComponent extends ECLBaseDirective {
|
|
15
|
+
/**
|
|
16
|
+
* Computes and returns the CSS class string for the card body element.
|
|
17
|
+
*/
|
|
11
18
|
get cssClasses() {
|
|
12
19
|
return [super.getCssClasses('ecl-card__body')].join(' ').trim();
|
|
13
20
|
}
|
|
@@ -22,11 +29,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImpo
|
|
|
22
29
|
args: ['class']
|
|
23
30
|
}] } });
|
|
24
31
|
|
|
32
|
+
/**
|
|
33
|
+
* Directive for the picture element used in ECL Card.
|
|
34
|
+
* Applies required ECL CSS classes and optionally enables zoom effect.
|
|
35
|
+
*/
|
|
25
36
|
class EclCardPictureDirective extends ECLBaseDirective {
|
|
26
37
|
constructor() {
|
|
27
38
|
super(...arguments);
|
|
39
|
+
/**
|
|
40
|
+
* When true, adds the `ecl-picture--zoom` class to enable zoom styling.
|
|
41
|
+
*/
|
|
28
42
|
this.hasZoom = false;
|
|
29
43
|
}
|
|
44
|
+
/**
|
|
45
|
+
* Returns the set of CSS classes to apply to the picture element.
|
|
46
|
+
*/
|
|
30
47
|
get cssClasses() {
|
|
31
48
|
return [super.getCssClasses('ecl-picture ecl-card__picture')].join(' ').trim();
|
|
32
49
|
}
|
|
@@ -49,7 +66,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImpo
|
|
|
49
66
|
type: HostBinding,
|
|
50
67
|
args: ['class.ecl-picture--zoom']
|
|
51
68
|
}] } });
|
|
69
|
+
/**
|
|
70
|
+
* Directive for the image element used in ECL Card.
|
|
71
|
+
* Applies the ECL-specific image class for card usage.
|
|
72
|
+
*/
|
|
52
73
|
class EclCardImageDirective extends ECLBaseDirective {
|
|
74
|
+
/**
|
|
75
|
+
* Returns the CSS classes to apply to the image element.
|
|
76
|
+
*/
|
|
53
77
|
get cssClasses() {
|
|
54
78
|
return [super.getCssClasses('ecl-card__image')].join(' ').trim();
|
|
55
79
|
}
|
|
@@ -71,21 +95,39 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImpo
|
|
|
71
95
|
args: ['class']
|
|
72
96
|
}] } });
|
|
73
97
|
|
|
98
|
+
/**
|
|
99
|
+
* Card component based on the ECL design system.
|
|
100
|
+
* Combines image, title, and content block areas into a unified card layout.
|
|
101
|
+
*/
|
|
74
102
|
class EclCardComponent extends ECLBaseDirective {
|
|
103
|
+
/**
|
|
104
|
+
* Computes and returns the CSS class string for the card container.
|
|
105
|
+
*/
|
|
75
106
|
get cssClasses() {
|
|
76
107
|
return [super.getCssClasses('ecl-card')].join(' ').trim();
|
|
77
108
|
}
|
|
78
109
|
constructor(renderer) {
|
|
79
110
|
super();
|
|
80
111
|
this.renderer = renderer;
|
|
112
|
+
/**
|
|
113
|
+
* Sets the ARIA role for the card.
|
|
114
|
+
*/
|
|
81
115
|
this.role = 'article';
|
|
82
116
|
}
|
|
117
|
+
/**
|
|
118
|
+
* Lifecycle hook triggered after view initialization.
|
|
119
|
+
* Applies additional styling and attaches interaction between image and title link.
|
|
120
|
+
*/
|
|
83
121
|
ngAfterViewInit() {
|
|
84
122
|
this.attachClickEventToImage();
|
|
85
123
|
if (this.eclContentBlock) {
|
|
86
124
|
setTimeout(() => this.eclContentBlock.class = 'ecl-card__content-block');
|
|
87
125
|
}
|
|
88
126
|
}
|
|
127
|
+
/**
|
|
128
|
+
* Adds a click listener to the projected image element.
|
|
129
|
+
* When clicked, triggers the title link click handler if available.
|
|
130
|
+
*/
|
|
89
131
|
attachClickEventToImage() {
|
|
90
132
|
if (this.eclContentBlockTitle && this.eclContentBlockTitle.eclLink) {
|
|
91
133
|
if (this.eclCardImage) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eui-ecl-components-ecl-card.mjs","sources":["../../components/ecl-card/ecl-card-body.component.ts","../../components/ecl-card/ecl-card-body.component.html","../../components/ecl-card/ecl-card-picture.directive.ts","../../components/ecl-card/ecl-card.component.ts","../../components/ecl-card/ecl-card.component.html","../../components/ecl-card/ecl-card.module.ts","../../components/ecl-card/eui-ecl-components-ecl-card.ts"],"sourcesContent":["import { Component, HostBinding } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n@Component({\n selector: 'ecl-card-body',\n templateUrl: './ecl-card-body.component.html',\n standalone: false,\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n})\nexport class EclCardBodyComponent extends ECLBaseDirective {\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-card__body')].join(' ').trim();\n }\n}\n","<ng-content></ng-content>\n","import { Directive, HostBinding, ElementRef, Input, booleanAttribute } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n@Directive({\n selector: 'picture[eclCardPicture]',\n standalone: false,\n})\nexport class EclCardPictureDirective extends ECLBaseDirective {\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-picture ecl-card__picture')].join(' ').trim();\n }\n\n @Input({ transform: booleanAttribute }) @HostBinding('class.ecl-picture--zoom') hasZoom = false;\n}\n\n@Directive({\n selector: 'img[eclCardImage]',\n standalone: false,\n})\nexport class EclCardImageDirective extends ECLBaseDirective {\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-card__image')].join(' ').trim();\n }\n\n constructor(public el: ElementRef) {\n super();\n }\n}\n","import { Component, HostBinding, ContentChild, Renderer2, AfterViewInit, forwardRef } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclContentBlockComponent, EclContentBlockTitleDirective } from '@eui/ecl/components/ecl-content-block';\nimport { EclCardImageDirective } from './ecl-card-picture.directive';\n\n@Component({\n selector: 'ecl-card',\n templateUrl: './ecl-card.component.html',\n standalone: false,\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n})\nexport class EclCardComponent extends ECLBaseDirective implements AfterViewInit {\n @HostBinding('attr.role') role = 'article';\n\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-card')].join(' ').trim();\n }\n\n @ContentChild(forwardRef(() => EclContentBlockComponent), { descendants: true }) eclContentBlock: EclContentBlockComponent;\n @ContentChild(forwardRef(() => EclContentBlockTitleDirective), { descendants: true }) eclContentBlockTitle: EclContentBlockTitleDirective;\n @ContentChild(forwardRef(() => EclCardImageDirective), { descendants: true }) eclCardImage: EclCardImageDirective;\n\n constructor(private renderer: Renderer2) {\n super();\n }\n\n ngAfterViewInit(): void {\n this.attachClickEventToImage();\n\n if (this.eclContentBlock) {\n setTimeout(() => this.eclContentBlock.class = 'ecl-card__content-block');\n }\n }\n\n private attachClickEventToImage(): void {\n if (this.eclContentBlockTitle && this.eclContentBlockTitle.eclLink) {\n if (this.eclCardImage) {\n this.renderer.setStyle(this.eclCardImage.el.nativeElement, 'cursor', 'pointer');\n this.renderer.listen(this.eclCardImage.el.nativeElement, 'click', () => {\n this.eclContentBlockTitle.eclLink.onClick();\n });\n }\n }\n }\n}\n","<ng-content></ng-content>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { RouterModule } from '@angular/router';\nimport { EclIconModule } from '@eui/ecl/components/ecl-icon';\nimport { EclLabelModule } from '@eui/ecl/components/ecl-label';\nimport { EclCardBodyComponent } from './ecl-card-body.component';\nimport { EclCardComponent } from './ecl-card.component';\nimport { EclCardPictureDirective, EclCardImageDirective } from './ecl-card-picture.directive';\n\nconst COMPONENTS = [EclCardComponent, EclCardBodyComponent, EclCardPictureDirective, EclCardImageDirective];\n@NgModule({\n imports: [CommonModule, RouterModule, EclIconModule, EclLabelModule],\n exports: [...COMPONENTS],\n declarations: [...COMPONENTS],\n})\nexport class EclCardModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAeM,MAAO,oBAAqB,SAAQ,gBAAgB,CAAA;AACtD,IAAA,IACI,UAAU,GAAA;AACV,QAAA,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE;;+GAH1D,oBAAoB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAApB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,oBAAoB,uJCfjC,6BACA,EAAA,MAAA,EAAA,CAAA,wBAAA,CAAA,EAAA,CAAA,CAAA;;4FDca,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAZhC,SAAS;AACI,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,eAAe,cAEb,KAAK,EAAA,QAAA,EAAA,6BAAA,EAAA,MAAA,EAAA,CAAA,wBAAA,CAAA,EAAA;8BAWb,UAAU,EAAA,CAAA;sBADb,WAAW;uBAAC,OAAO;;;AETlB,MAAO,uBAAwB,SAAQ,gBAAgB,CAAA;AAJ7D,IAA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AAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,cAAc,CAAC;AACpE,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AACxB,oBAAA,YAAY,EAAE,CAAC,GAAG,UAAU,CAAC;AAChC,iBAAA;;;ACdD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"eui-ecl-components-ecl-card.mjs","sources":["../../components/ecl-card/ecl-card-body.component.ts","../../components/ecl-card/ecl-card-body.component.html","../../components/ecl-card/ecl-card-picture.directive.ts","../../components/ecl-card/ecl-card.component.ts","../../components/ecl-card/ecl-card.component.html","../../components/ecl-card/ecl-card.module.ts","../../components/ecl-card/eui-ecl-components-ecl-card.ts"],"sourcesContent":["import { Component, HostBinding } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Card body component based on the ECL design system.\n * Provides a wrapper for the main content area of the card.\n */\n@Component({\n selector: 'ecl-card-body',\n templateUrl: './ecl-card-body.component.html',\n standalone: false,\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n})\nexport class EclCardBodyComponent extends ECLBaseDirective {\n /**\n * Computes and returns the CSS class string for the card body element.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-card__body')].join(' ').trim();\n }\n}\n","<ng-content></ng-content>\n","import { Directive, HostBinding, ElementRef, Input, booleanAttribute } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Directive for the picture element used in ECL Card.\n * Applies required ECL CSS classes and optionally enables zoom effect.\n */\n@Directive({\n selector: 'picture[eclCardPicture]',\n standalone: false,\n})\nexport class EclCardPictureDirective extends ECLBaseDirective {\n /**\n * Returns the set of CSS classes to apply to the picture element.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-picture ecl-card__picture')].join(' ').trim();\n }\n\n /**\n * When true, adds the `ecl-picture--zoom` class to enable zoom styling.\n */\n @Input({ transform: booleanAttribute }) @HostBinding('class.ecl-picture--zoom') hasZoom = false;\n}\n\n/**\n * Directive for the image element used in ECL Card.\n * Applies the ECL-specific image class for card usage.\n */\n@Directive({\n selector: 'img[eclCardImage]',\n standalone: false,\n})\nexport class EclCardImageDirective extends ECLBaseDirective {\n /**\n * Returns the CSS classes to apply to the image element.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-card__image')].join(' ').trim();\n }\n\n constructor(public el: ElementRef) {\n super();\n }\n}\n","import { Component, HostBinding, ContentChild, Renderer2, AfterViewInit, forwardRef } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclContentBlockComponent, EclContentBlockTitleDirective } from '@eui/ecl/components/ecl-content-block';\nimport { EclCardImageDirective } from './ecl-card-picture.directive';\n\n/**\n * Card component based on the ECL design system.\n * Combines image, title, and content block areas into a unified card layout.\n */\n@Component({\n selector: 'ecl-card',\n templateUrl: './ecl-card.component.html',\n standalone: false,\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n})\nexport class EclCardComponent extends ECLBaseDirective implements AfterViewInit {\n /**\n * Sets the ARIA role for the card.\n */\n @HostBinding('attr.role') role = 'article';\n\n /**\n * Computes and returns the CSS class string for the card container.\n */\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-card')].join(' ').trim();\n }\n\n /**\n * Projected ECL content block inside the card.\n */\n @ContentChild(forwardRef(() => EclContentBlockComponent), { descendants: true }) eclContentBlock: EclContentBlockComponent;\n\n /**\n * Projected content block title directive inside the card.\n */\n @ContentChild(forwardRef(() => EclContentBlockTitleDirective), { descendants: true }) eclContentBlockTitle: EclContentBlockTitleDirective;\n\n /**\n * Projected image directive inside the card.\n */\n @ContentChild(forwardRef(() => EclCardImageDirective), { descendants: true }) eclCardImage: EclCardImageDirective;\n\n constructor(private renderer: Renderer2) {\n super();\n }\n\n /**\n * Lifecycle hook triggered after view initialization.\n * Applies additional styling and attaches interaction between image and title link.\n */\n ngAfterViewInit(): void {\n this.attachClickEventToImage();\n\n if (this.eclContentBlock) {\n setTimeout(() => this.eclContentBlock.class = 'ecl-card__content-block');\n }\n }\n\n /**\n * Adds a click listener to the projected image element.\n * When clicked, triggers the title link click handler if available.\n */\n private attachClickEventToImage(): void {\n if (this.eclContentBlockTitle && this.eclContentBlockTitle.eclLink) {\n if (this.eclCardImage) {\n this.renderer.setStyle(this.eclCardImage.el.nativeElement, 'cursor', 'pointer');\n this.renderer.listen(this.eclCardImage.el.nativeElement, 'click', () => {\n this.eclContentBlockTitle.eclLink.onClick();\n });\n }\n }\n }\n}\n","<ng-content></ng-content>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { RouterModule } from '@angular/router';\nimport { EclIconModule } from '@eui/ecl/components/ecl-icon';\nimport { EclLabelModule } from '@eui/ecl/components/ecl-label';\nimport { EclCardBodyComponent } from './ecl-card-body.component';\nimport { EclCardComponent } from './ecl-card.component';\nimport { EclCardPictureDirective, EclCardImageDirective } from './ecl-card-picture.directive';\n\nconst COMPONENTS = [EclCardComponent, EclCardBodyComponent, EclCardPictureDirective, EclCardImageDirective];\n@NgModule({\n imports: [CommonModule, RouterModule, EclIconModule, EclLabelModule],\n exports: [...COMPONENTS],\n declarations: [...COMPONENTS],\n})\nexport class EclCardModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAGA;;;AAGG;AAaG,MAAO,oBAAqB,SAAQ,gBAAgB,CAAA;AACtD;;AAEG;AACH,IAAA,IACI,UAAU,GAAA;AACV,QAAA,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE;;+GAN1D,oBAAoB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAApB,IAAA,SAA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