@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
|
@@ -4,7 +4,14 @@ import { ContentChild, HostBinding, Directive, Component, NgModule } from '@angu
|
|
|
4
4
|
import { ECLBaseDirective } from '@eui/ecl/core';
|
|
5
5
|
import { EclLinkDirective } from '@eui/ecl/components/ecl-link';
|
|
6
6
|
|
|
7
|
+
/**
|
|
8
|
+
* Directive representing the title of a content block.
|
|
9
|
+
* Automatically applies the corresponding ECL class.
|
|
10
|
+
*/
|
|
7
11
|
class EclContentBlockTitleDirective extends ECLBaseDirective {
|
|
12
|
+
/**
|
|
13
|
+
* Adds the ECL CSS class for the content block title.
|
|
14
|
+
*/
|
|
8
15
|
get cssClasses() {
|
|
9
16
|
return [super.getCssClasses('ecl-content-block__title')].join(' ').trim();
|
|
10
17
|
}
|
|
@@ -24,7 +31,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImpo
|
|
|
24
31
|
type: ContentChild,
|
|
25
32
|
args: [EclLinkDirective, { descendants: true }]
|
|
26
33
|
}] } });
|
|
34
|
+
/**
|
|
35
|
+
* Directive for the description section of the content block.
|
|
36
|
+
*/
|
|
27
37
|
class EclContentBlockDescriptionDirective extends ECLBaseDirective {
|
|
38
|
+
/**
|
|
39
|
+
* Adds the ECL CSS class for the content block description.
|
|
40
|
+
*/
|
|
28
41
|
get cssClasses() {
|
|
29
42
|
return [super.getCssClasses('ecl-content-block__description')].join(' ').trim();
|
|
30
43
|
}
|
|
@@ -41,7 +54,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImpo
|
|
|
41
54
|
type: HostBinding,
|
|
42
55
|
args: ['class']
|
|
43
56
|
}] } });
|
|
57
|
+
/**
|
|
58
|
+
* Directive for the container that wraps multiple labels in a content block.
|
|
59
|
+
*/
|
|
44
60
|
class EclContentBlockLabelsDirective extends ECLBaseDirective {
|
|
61
|
+
/**
|
|
62
|
+
* Adds the ECL CSS class for the label container.
|
|
63
|
+
*/
|
|
45
64
|
get cssClasses() {
|
|
46
65
|
return [super.getCssClasses('ecl-content-block__label-container')].join(' ').trim();
|
|
47
66
|
}
|
|
@@ -58,7 +77,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImpo
|
|
|
58
77
|
type: HostBinding,
|
|
59
78
|
args: ['class']
|
|
60
79
|
}] } });
|
|
80
|
+
/**
|
|
81
|
+
* Directive representing a single label inside a content block.
|
|
82
|
+
*/
|
|
61
83
|
class EclContentBlockLabelDirective extends ECLBaseDirective {
|
|
84
|
+
/**
|
|
85
|
+
* Adds the ECL CSS class for a label item.
|
|
86
|
+
*/
|
|
62
87
|
get cssClasses() {
|
|
63
88
|
return [super.getCssClasses('ecl-content-block__label-item')].join(' ').trim();
|
|
64
89
|
}
|
|
@@ -75,7 +100,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImpo
|
|
|
75
100
|
type: HostBinding,
|
|
76
101
|
args: ['class']
|
|
77
102
|
}] } });
|
|
103
|
+
/**
|
|
104
|
+
* Directive for the primary metadata container in a content block.
|
|
105
|
+
*/
|
|
78
106
|
class EclContentBlockPrimaryMetasDirective extends ECLBaseDirective {
|
|
107
|
+
/**
|
|
108
|
+
* Adds the ECL CSS class for the primary metadata container.
|
|
109
|
+
*/
|
|
79
110
|
get cssClasses() {
|
|
80
111
|
return [super.getCssClasses('ecl-content-block__primary-meta-container')].join(' ').trim();
|
|
81
112
|
}
|
|
@@ -92,7 +123,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImpo
|
|
|
92
123
|
type: HostBinding,
|
|
93
124
|
args: ['class']
|
|
94
125
|
}] } });
|
|
126
|
+
/**
|
|
127
|
+
* Directive for a single primary metadata item in a content block.
|
|
128
|
+
*/
|
|
95
129
|
class EclContentBlockPrimaryMetaDirective extends ECLBaseDirective {
|
|
130
|
+
/**
|
|
131
|
+
* Adds the ECL CSS class for a primary metadata item.
|
|
132
|
+
*/
|
|
96
133
|
get cssClasses() {
|
|
97
134
|
return [super.getCssClasses('ecl-content-block__primary-meta-item')].join(' ').trim();
|
|
98
135
|
}
|
|
@@ -109,7 +146,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImpo
|
|
|
109
146
|
type: HostBinding,
|
|
110
147
|
args: ['class']
|
|
111
148
|
}] } });
|
|
149
|
+
/**
|
|
150
|
+
* Directive for the secondary metadata container in a content block.
|
|
151
|
+
*/
|
|
112
152
|
class EclContentBlockSecondaryMetasDirective extends ECLBaseDirective {
|
|
153
|
+
/**
|
|
154
|
+
* Adds the ECL CSS class for the secondary metadata container.
|
|
155
|
+
*/
|
|
113
156
|
get cssClasses() {
|
|
114
157
|
return [super.getCssClasses('ecl-content-block__secondary-meta-container')].join(' ').trim();
|
|
115
158
|
}
|
|
@@ -126,7 +169,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImpo
|
|
|
126
169
|
type: HostBinding,
|
|
127
170
|
args: ['class']
|
|
128
171
|
}] } });
|
|
172
|
+
/**
|
|
173
|
+
* Directive for a single secondary metadata item in a content block.
|
|
174
|
+
*/
|
|
129
175
|
class EclContentBlockSecondaryMetaDirective extends ECLBaseDirective {
|
|
176
|
+
/**
|
|
177
|
+
* Adds the ECL CSS class for a secondary metadata item.
|
|
178
|
+
*/
|
|
130
179
|
get cssClasses() {
|
|
131
180
|
return [super.getCssClasses('ecl-content-block__secondary-meta-item')].join(' ').trim();
|
|
132
181
|
}
|
|
@@ -143,7 +192,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImpo
|
|
|
143
192
|
type: HostBinding,
|
|
144
193
|
args: ['class']
|
|
145
194
|
}] } });
|
|
195
|
+
/**
|
|
196
|
+
* Directive for the label element of a secondary metadata item.
|
|
197
|
+
*/
|
|
146
198
|
class EclContentBlockSecondaryMetaLabelDirective extends ECLBaseDirective {
|
|
199
|
+
/**
|
|
200
|
+
* Adds the ECL CSS class for a secondary metadata label.
|
|
201
|
+
*/
|
|
147
202
|
get cssClasses() {
|
|
148
203
|
return [super.getCssClasses('ecl-content-block__secondary-meta-label')].join(' ').trim();
|
|
149
204
|
}
|
|
@@ -160,7 +215,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImpo
|
|
|
160
215
|
type: HostBinding,
|
|
161
216
|
args: ['class']
|
|
162
217
|
}] } });
|
|
218
|
+
/**
|
|
219
|
+
* Directive for the icon element of a secondary metadata item.
|
|
220
|
+
*/
|
|
163
221
|
class EclContentBlockSecondaryMetaIconDirective extends ECLBaseDirective {
|
|
222
|
+
/**
|
|
223
|
+
* Adds the ECL CSS class for a secondary metadata icon.
|
|
224
|
+
*/
|
|
164
225
|
get cssClasses() {
|
|
165
226
|
return [super.getCssClasses('ecl-content-block__secondary-meta-icon')].join(' ').trim();
|
|
166
227
|
}
|
|
@@ -177,7 +238,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImpo
|
|
|
177
238
|
type: HostBinding,
|
|
178
239
|
args: ['class']
|
|
179
240
|
}] } });
|
|
241
|
+
/**
|
|
242
|
+
* Directive for the container holding tags inside a content block.
|
|
243
|
+
*/
|
|
180
244
|
class EclContentBlockTagsDirective extends ECLBaseDirective {
|
|
245
|
+
/**
|
|
246
|
+
* Adds the ECL CSS class for the tag container.
|
|
247
|
+
*/
|
|
181
248
|
get cssClasses() {
|
|
182
249
|
return [super.getCssClasses('ecl-content-block__tag-container')].join(' ').trim();
|
|
183
250
|
}
|
|
@@ -194,7 +261,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImpo
|
|
|
194
261
|
type: HostBinding,
|
|
195
262
|
args: ['class']
|
|
196
263
|
}] } });
|
|
264
|
+
/**
|
|
265
|
+
* Directive for a single tag item inside a content block.
|
|
266
|
+
*/
|
|
197
267
|
class EclContentBlockTagDirective extends ECLBaseDirective {
|
|
268
|
+
/**
|
|
269
|
+
* Adds the ECL CSS class for a tag item.
|
|
270
|
+
*/
|
|
198
271
|
get cssClasses() {
|
|
199
272
|
return [super.getCssClasses('ecl-content-block__tag-item')].join(' ').trim();
|
|
200
273
|
}
|
|
@@ -211,7 +284,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImpo
|
|
|
211
284
|
type: HostBinding,
|
|
212
285
|
args: ['class']
|
|
213
286
|
}] } });
|
|
287
|
+
/**
|
|
288
|
+
* Directive for the container that wraps link elements.
|
|
289
|
+
*/
|
|
214
290
|
class EclContentBlockLinksContainerDirective extends ECLBaseDirective {
|
|
291
|
+
/**
|
|
292
|
+
* Adds the ECL CSS class for the links container.
|
|
293
|
+
*/
|
|
215
294
|
get cssClasses() {
|
|
216
295
|
return [super.getCssClasses('ecl-content-block__link-container')].join(' ').trim();
|
|
217
296
|
}
|
|
@@ -228,7 +307,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImpo
|
|
|
228
307
|
type: HostBinding,
|
|
229
308
|
args: ['class']
|
|
230
309
|
}] } });
|
|
310
|
+
/**
|
|
311
|
+
* Directive for the list of links inside a content block.
|
|
312
|
+
*/
|
|
231
313
|
class EclContentBlockLinksDirective extends ECLBaseDirective {
|
|
314
|
+
/**
|
|
315
|
+
* Adds the ECL CSS class for the link list.
|
|
316
|
+
*/
|
|
232
317
|
get cssClasses() {
|
|
233
318
|
return [super.getCssClasses('ecl-content-block__link-list')].join(' ').trim();
|
|
234
319
|
}
|
|
@@ -245,7 +330,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImpo
|
|
|
245
330
|
type: HostBinding,
|
|
246
331
|
args: ['class']
|
|
247
332
|
}] } });
|
|
333
|
+
/**
|
|
334
|
+
* Directive for a single link inside a content block.
|
|
335
|
+
*/
|
|
248
336
|
class EclContentBlockLinkDirective extends ECLBaseDirective {
|
|
337
|
+
/**
|
|
338
|
+
* Adds the ECL CSS class for a single link item.
|
|
339
|
+
*/
|
|
249
340
|
get cssClasses() {
|
|
250
341
|
return [super.getCssClasses('ecl-content-block__link-item')].join(' ').trim();
|
|
251
342
|
}
|
|
@@ -262,7 +353,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImpo
|
|
|
262
353
|
type: HostBinding,
|
|
263
354
|
args: ['class']
|
|
264
355
|
}] } });
|
|
356
|
+
/**
|
|
357
|
+
* Directive for the container holding a list inside a content block.
|
|
358
|
+
*/
|
|
265
359
|
class EclContentBlockListContainerDirective extends ECLBaseDirective {
|
|
360
|
+
/**
|
|
361
|
+
* Adds the ECL CSS class for the list container.
|
|
362
|
+
*/
|
|
266
363
|
get cssClasses() {
|
|
267
364
|
return [super.getCssClasses('ecl-content-block__list-container')].join(' ').trim();
|
|
268
365
|
}
|
|
@@ -279,7 +376,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImpo
|
|
|
279
376
|
type: HostBinding,
|
|
280
377
|
args: ['class']
|
|
281
378
|
}] } });
|
|
379
|
+
/**
|
|
380
|
+
* Directive for a list element inside a content block.
|
|
381
|
+
*/
|
|
282
382
|
class EclContentBlockListDirective extends ECLBaseDirective {
|
|
383
|
+
/**
|
|
384
|
+
* Adds the ECL CSS class for a list.
|
|
385
|
+
*/
|
|
283
386
|
get cssClasses() {
|
|
284
387
|
return [super.getCssClasses('ecl-content-block__list')].join(' ').trim();
|
|
285
388
|
}
|
|
@@ -297,7 +400,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImpo
|
|
|
297
400
|
args: ['class']
|
|
298
401
|
}] } });
|
|
299
402
|
|
|
403
|
+
/**
|
|
404
|
+
* Component representing a content block, based on the ECL design system.
|
|
405
|
+
* Serves as a container for structured content such as titles, texts, and links.
|
|
406
|
+
*/
|
|
300
407
|
class EclContentBlockComponent extends ECLBaseDirective {
|
|
408
|
+
/**
|
|
409
|
+
* Binds the component's root CSS classes.
|
|
410
|
+
* Adds the `ecl-content-block` class by default.
|
|
411
|
+
*/
|
|
301
412
|
get cssClasses() {
|
|
302
413
|
return [super.getCssClasses('ecl-content-block')].join(' ').trim();
|
|
303
414
|
}
|
|
@@ -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/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@Directive({\n selector: '[eclContentBlockTitle]',\n standalone: false,\n})\nexport class EclContentBlockTitleDirective extends ECLBaseDirective {\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__title')].join(' ').trim();\n }\n\n @ContentChild(EclLinkDirective, { descendants: true }) eclLink: EclLinkDirective;\n}\n\n@Directive({\n selector: '[eclContentBlockDescription]',\n standalone: false,\n})\nexport class EclContentBlockDescriptionDirective extends ECLBaseDirective {\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__description')].join(' ').trim();\n }\n}\n\n@Directive({\n selector: '[eclContentBlockLabels]',\n standalone: false,\n})\nexport class EclContentBlockLabelsDirective extends ECLBaseDirective {\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__label-container')].join(' ').trim();\n }\n}\n\n@Directive({\n selector: '[eclContentBlockLabel]',\n standalone: false,\n})\nexport class EclContentBlockLabelDirective extends ECLBaseDirective {\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__label-item')].join(' ').trim();\n }\n}\n\n@Directive({\n selector: '[eclContentBlockPrimaryMetas]',\n standalone: false,\n})\nexport class EclContentBlockPrimaryMetasDirective extends ECLBaseDirective {\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__primary-meta-container')].join(' ').trim();\n }\n}\n\n@Directive({\n selector: '[eclContentBlockPrimaryMeta]',\n standalone: false,\n})\nexport class EclContentBlockPrimaryMetaDirective extends ECLBaseDirective {\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__primary-meta-item')].join(' ').trim();\n }\n}\n\n@Directive({\n selector: '[eclContentBlockSecondaryMetas]',\n standalone: false,\n})\nexport class EclContentBlockSecondaryMetasDirective extends ECLBaseDirective {\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__secondary-meta-container')].join(' ').trim();\n }\n}\n\n@Directive({\n selector: '[eclContentBlockSecondaryMeta]',\n standalone: false,\n})\nexport class EclContentBlockSecondaryMetaDirective extends ECLBaseDirective {\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__secondary-meta-item')].join(' ').trim();\n }\n}\n\n@Directive({\n selector: '[eclContentBlockSecondaryMetaLabel]',\n standalone: false,\n})\nexport class EclContentBlockSecondaryMetaLabelDirective extends ECLBaseDirective {\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__secondary-meta-label')].join(' ').trim();\n }\n}\n\n@Directive({\n selector: '[eclContentBlockSecondaryMetaIcon]',\n standalone: false,\n})\nexport class EclContentBlockSecondaryMetaIconDirective extends ECLBaseDirective {\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__secondary-meta-icon')].join(' ').trim();\n }\n}\n\n@Directive({\n selector: '[eclContentBlockTags]',\n standalone: false,\n})\nexport class EclContentBlockTagsDirective extends ECLBaseDirective {\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__tag-container')].join(' ').trim();\n }\n}\n\n@Directive({\n selector: '[eclContentBlockTag]',\n standalone: false,\n})\nexport class EclContentBlockTagDirective extends ECLBaseDirective {\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__tag-item')].join(' ').trim();\n }\n}\n\n@Directive({\n selector: '[eclContentBlockLinksContainer]',\n standalone: false,\n})\nexport class EclContentBlockLinksContainerDirective extends ECLBaseDirective {\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__link-container')].join(' ').trim();\n }\n}\n\n@Directive({\n selector: '[eclContentBlockLinks]',\n standalone: false,\n})\nexport class EclContentBlockLinksDirective extends ECLBaseDirective {\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__link-list')].join(' ').trim();\n }\n}\n\n@Directive({\n selector: '[eclContentBlockLink]',\n standalone: false,\n})\nexport class EclContentBlockLinkDirective extends ECLBaseDirective {\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__link-item')].join(' ').trim();\n }\n}\n\n@Directive({\n selector: '[eclContentBlockListContainer]',\n standalone: false,\n})\nexport class EclContentBlockListContainerDirective extends ECLBaseDirective {\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-block__list-container')].join(' ').trim();\n }\n}\n\n@Directive({\n selector: '[eclContentBlockList]',\n standalone: false,\n})\nexport class EclContentBlockListDirective extends ECLBaseDirective {\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@Component({\n selector: 'ecl-content-block',\n templateUrl: './ecl-content-block.component.html',\n standalone: false,\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n})\nexport class EclContentBlockComponent extends ECLBaseDirective {\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 { CommonModule } from '@angular/common';\nimport { 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@NgModule({\n imports: [CommonModule],\n exports: [...COMPONENTS],\n declarations: [...COMPONENTS],\n})\nexport class EclContentBlockModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAQM,MAAO,6BAA8B,SAAQ,gBAAgB,CAAA;AAC/D,IAAA,IACI,UAAU,GAAA;AACV,QAAA,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,0BAA0B,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE;;+GAHpE,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,SAAA,EAAA,IAAA,EAAA,6BAA6B,8KAMxB,gBAAgB,EAAA,WAAA,EAAA,IAAA,EAAA,CAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FANrB,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBAJzC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,wBAAwB;AAClC,oBAAA,UAAU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zC,4BAA4B;YAC5B,2BAA2B;YAC3B,sCAAsC;YACtC,6BAA6B;YAC7B,4BAA4B;YAC5B,qCAAqC;YACrC,4BAA4B,CAAA,EAAA,CAAA,CAAA;AAQnB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,qBAAqB,YAJpB,YAAY,CAAA,EAAA,CAAA,CAAA;;4FAIb,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBALjC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,YAAY,CAAC;AACvB,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AACxB,oBAAA,YAAY,EAAE,CAAC,GAAG,UAAU,CAAC;AAChC,iBAAA;;;AChDD;;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/ecl-content-block.module.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 standalone: false,\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 standalone: false,\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 standalone: false,\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 standalone: false,\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 standalone: false,\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 standalone: false,\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 standalone: false,\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 standalone: false,\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 standalone: false,\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 standalone: false,\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 standalone: false,\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 standalone: false,\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 standalone: false,\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 standalone: false,\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 standalone: false,\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 standalone: false,\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 standalone: false,\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 standalone: false,\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 { CommonModule } from '@angular/common';\nimport { 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@NgModule({\n imports: [CommonModule],\n exports: [...COMPONENTS],\n declarations: [...COMPONENTS],\n})\nexport class EclContentBlockModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAIA;;;AAGG;AAKG,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;;+GANhE,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,SAAA,EAAA,IAAA,EAAA,6BAA6B,8KAY1B,gBAAgB,EAAA,WAAA,EAAA,IAAA,EAAA,CAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAZnB,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBAJzC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,wBAAwB;AAClC,oBAAA,UAAU,EAAE,KAAK;AAClB,iBAAA;8BAMK,UAAU,EAAA,CAAA;sBADb,WAAW;uBAAC,OAAO;gBAQmC,OAAO,EAAA,CAAA;sBAA7D,YAAY;AAAC,gBAAA,IAAA,EAAA,CAAA,gBAAgB,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE;;AAGvD;;AAEG;AAKG,MAAO,mCAAoC,SAAQ,gBAAgB,CAAA;AACvE;;AAEG;AACH,IAAA,IACI,UAAU,GAAA;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BAA6B;YAC7B,mCAAmC;YACnC,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;AAQnB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,qBAAqB,YAJpB,YAAY,CAAA,EAAA,CAAA,CAAA;;4FAIb,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBALjC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,YAAY,CAAC;AACvB,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AACxB,oBAAA,YAAY,EAAE,CAAC,GAAG,UAAU,CAAC;AAChC,iBAAA;;;AChDD;;AAEG;;;;"}
|
|
@@ -6,13 +6,32 @@ import { EclDateBlockComponent } from '@eui/ecl/components/ecl-date-block';
|
|
|
6
6
|
import { CommonModule } from '@angular/common';
|
|
7
7
|
import { RouterModule } from '@angular/router';
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* Directive used to style and configure the image container (e.g., picture) within a content item.
|
|
11
|
+
* It allows adjusting size, position, and zoom behavior of the image block.
|
|
12
|
+
*/
|
|
9
13
|
class EclContentItemPictureDirective extends ECLBaseDirective {
|
|
10
14
|
constructor() {
|
|
11
15
|
super(...arguments);
|
|
16
|
+
/**
|
|
17
|
+
* Controls the size of the picture. Default is 'large'.
|
|
18
|
+
* Accepted values: 'small' | 'large'
|
|
19
|
+
*/
|
|
12
20
|
this.size = 'large';
|
|
21
|
+
/**
|
|
22
|
+
* Defines the position of the picture relative to the content.
|
|
23
|
+
* Accepted values: 'left' | 'right' | 'top'
|
|
24
|
+
* Default is 'left'.
|
|
25
|
+
*/
|
|
13
26
|
this.position = 'left';
|
|
27
|
+
/**
|
|
28
|
+
* If true, enables a zoom effect on hover.
|
|
29
|
+
*/
|
|
14
30
|
this.hasZoom = false;
|
|
15
31
|
}
|
|
32
|
+
/**
|
|
33
|
+
* Computed CSS classes for the host element based on size and position.
|
|
34
|
+
*/
|
|
16
35
|
get cssClasses() {
|
|
17
36
|
return [
|
|
18
37
|
super.getCssClasses('ecl-content-item__picture ecl-picture'),
|
|
@@ -45,10 +64,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImpo
|
|
|
45
64
|
type: HostBinding,
|
|
46
65
|
args: ['class']
|
|
47
66
|
}] } });
|
|
67
|
+
/**
|
|
68
|
+
* Directive used for styling the inner image element inside the content item.
|
|
69
|
+
* Also used programmatically for interaction bindings.
|
|
70
|
+
*/
|
|
48
71
|
class EclContentItemImageDirective extends ECLBaseDirective {
|
|
72
|
+
/**
|
|
73
|
+
* Computed CSS classes for the host image element.
|
|
74
|
+
*/
|
|
49
75
|
get cssClasses() {
|
|
50
76
|
return [super.getCssClasses('ecl-content-item__image')].join(' ').trim();
|
|
51
77
|
}
|
|
78
|
+
/**
|
|
79
|
+
* Reference to the DOM element of the image.
|
|
80
|
+
*/
|
|
52
81
|
constructor(el) {
|
|
53
82
|
super();
|
|
54
83
|
this.el = el;
|
|
@@ -68,6 +97,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImpo
|
|
|
68
97
|
}] } });
|
|
69
98
|
|
|
70
99
|
class EclContentItemComponent extends ECLBaseDirective {
|
|
100
|
+
/**
|
|
101
|
+
* Computes the CSS class string applied to the host element,
|
|
102
|
+
* depending on layout and configuration options.
|
|
103
|
+
*/
|
|
71
104
|
get cssClasses() {
|
|
72
105
|
return [super.getCssClasses('ecl-content-item'),
|
|
73
106
|
this.isStack ? 'ecl-content-item--stack' : '',
|
|
@@ -77,11 +110,24 @@ class EclContentItemComponent extends ECLBaseDirective {
|
|
|
77
110
|
constructor(renderer) {
|
|
78
111
|
super();
|
|
79
112
|
this.renderer = renderer;
|
|
113
|
+
/**
|
|
114
|
+
* Whether to display a divider below the content item.
|
|
115
|
+
* When true, the component will have a visual divider applied.
|
|
116
|
+
* Default is false.
|
|
117
|
+
*/
|
|
80
118
|
this.hasDivider = false;
|
|
119
|
+
/**
|
|
120
|
+
* ARIA role attribute for the host element.
|
|
121
|
+
* Set to "article" to denote standalone content.
|
|
122
|
+
*/
|
|
81
123
|
this.role = 'article';
|
|
82
124
|
this.isStack = false;
|
|
83
125
|
this.isInline = false;
|
|
84
126
|
}
|
|
127
|
+
/**
|
|
128
|
+
* Lifecycle hook called after content projection.
|
|
129
|
+
* Sets layout flags and attaches interactivity behavior to image and title.
|
|
130
|
+
*/
|
|
85
131
|
ngAfterContentInit() {
|
|
86
132
|
if (this.eclContentBlock) {
|
|
87
133
|
this.eclContentBlock.class = 'ecl-content-item__content-block';
|
|
@@ -95,6 +141,10 @@ class EclContentItemComponent extends ECLBaseDirective {
|
|
|
95
141
|
}
|
|
96
142
|
this.attachClickEventToImage();
|
|
97
143
|
}
|
|
144
|
+
/**
|
|
145
|
+
* Attaches click behavior to image so it triggers the link defined in the title.
|
|
146
|
+
* Only applies when both image and linked title are available.
|
|
147
|
+
*/
|
|
98
148
|
attachClickEventToImage() {
|
|
99
149
|
if (this.eclContentBlockTitle && this.eclContentBlockTitle.eclLink) {
|
|
100
150
|
if (this.eclContentItemImage) {
|
|
@@ -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/eui-ecl-components-ecl-content-item.ts"],"sourcesContent":["import { Directive, HostBinding, Input, ElementRef, booleanAttribute } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n@Directive({\n selector: '[eclContentItemPicture]',\n standalone: false,\n})\nexport class EclContentItemPictureDirective extends ECLBaseDirective {\n @Input() size: 'small' | 'large' = 'large';\n @Input() position: 'left' | 'right' | 'top' = 'left';\n @Input({ transform: booleanAttribute }) @HostBinding('class.ecl-picture--zoom') hasZoom = false;\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@Directive({\n selector: '[eclContentItemImage]',\n standalone: false,\n})\nexport class EclContentItemImageDirective extends ECLBaseDirective {\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-content-item__image')].join(' ').trim();\n }\n\n constructor(public el: ElementRef) {\n super();\n }\n}\n","import { AfterContentInit, booleanAttribute, Component, ContentChild, forwardRef, HostBinding, Input, Renderer2 } 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 standalone: false,\n})\nexport class EclContentItemComponent extends ECLBaseDirective implements AfterContentInit {\n @Input({ transform: booleanAttribute }) hasDivider = false;\n\n @ContentChild(forwardRef(() => EclContentBlockComponent)) eclContentBlock: EclContentBlockComponent;\n @ContentChild(forwardRef(() => EclDateBlockComponent)) eclDateBlock: EclDateBlockComponent;\n @ContentChild(forwardRef(() => EclContentItemPictureDirective)) eclContentItemPicture: EclContentItemPictureDirective;\n @ContentChild(forwardRef(() => EclContentBlockTitleDirective), { descendants: true }) eclContentBlockTitle: EclContentBlockTitleDirective;\n @ContentChild(forwardRef(() => EclContentItemImageDirective), { descendants: true }) eclContentItemImage: EclContentItemImageDirective;\n\n @HostBinding('attr.role') role = 'article';\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\n constructor(private renderer: Renderer2) {\n super();\n }\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 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 { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { RouterModule } from '@angular/router';\nimport { EclContentItemImageDirective, EclContentItemPictureDirective } from './ecl-content-item-image.directive';\nimport { EclContentItemComponent } from './ecl-content-item.component';\n\nconst COMPONENTS = [EclContentItemComponent, EclContentItemImageDirective, EclContentItemPictureDirective];\n\n@NgModule({\n imports: [CommonModule, RouterModule],\n exports: [...COMPONENTS],\n declarations: [...COMPONENTS],\n})\nexport class EclContentItemModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAO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EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,EAPb,YAAA,EAAA,CAAA,uBAAuB,EAAE,4BAA4B,EAAE,8BAA8B,CAAA,EAAA,OAAA,EAAA,CAG3F,YAAY,EAAE,YAAY,CAHpB,EAAA,OAAA,EAAA,CAAA,uBAAuB,EAAE,4BAA4B,EAAE,8BAA8B,CAAA,EAAA,CAAA,CAAA;gHAO5F,oBAAoB,EAAA,OAAA,EAAA,CAJnB,YAAY,EAAE,YAAY,CAAA,EAAA,CAAA,CAAA;;4FAI3B,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBALhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,CAAC;AACrC,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AACxB,oBAAA,YAAY,EAAE,CAAC,GAAG,UAAU,CAAC;AAChC,iBAAA;;;ACZD;;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/ecl-content-item.module.ts","../../components/ecl-content-item/eui-ecl-components-ecl-content-item.ts"],"sourcesContent":["import { Directive, HostBinding, Input, ElementRef, booleanAttribute } 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 standalone: false,\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 standalone: false,\n})\nexport class EclContentItemImageDirective extends ECLBaseDirective {\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 /**\n * Reference to the DOM element of the image.\n */\n constructor(public el: ElementRef) {\n super();\n }\n}\n","import { AfterContentInit, booleanAttribute, Component, ContentChild, forwardRef, HostBinding, Input, Renderer2 } 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 standalone: false,\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\n constructor(private renderer: Renderer2) {\n super();\n }\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 { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { RouterModule } from '@angular/router';\nimport { EclContentItemImageDirective, EclContentItemPictureDirective } from './ecl-content-item-image.directive';\nimport { EclContentItemComponent } from './ecl-content-item.component';\n\nconst COMPONENTS = [EclContentItemComponent, EclContentItemImageDirective, EclContentItemPictureDirective];\n\n@NgModule({\n imports: [CommonModule, RouterModule],\n exports: [...COMPONENTS],\n declarations: [...COMPONENTS],\n})\nexport class EclContentItemModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAGA;;;AAGG;AAKG,MAAO,8BAA+B,SAAQ,gBAAgB,CAAA;AAJpE,IAAA,WAAA,GAAA;;AAKI;;;AAGG;QACM,IAAI,CAAA,IAAA,GAAsB,OAAO;AAE1C;;;;AAIG;QACM,IAAQ,CAAA,QAAA,GAA6B,MAAM;AAEpD;;AAEG;QAC6E,IAAO,CAAA,OAAA,GAAG,KAAK;AAelG;AAbG;;AAEG;AACH,IAAA,IACI,UAAU,GAAA;QACV,OAAO;AACH,YAAA,KAAK,CAAC,aAAa,CAAC,uCAAuC,CAAC;YAC5D,CAA8B,2BAAA,EAAA,IAAI,CAAC,IAAI,CAAE,CAAA;YACzC,CAA8B,2BAAA,EAAA,IAAI,CAAC,QAAQ,CAAE,CAAA;AAChD;aACI,IAAI,CAAC,GAAG;AACR,aAAA,IAAI,EAAE;;+GA9BN,8BAA8B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA9B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAA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AY,EAAE,CAAC,GAAG,UAAU,CAAC;AAChC,iBAAA;;;ACZD;;AAEG;;;;"}
|
|
@@ -29,10 +29,18 @@ import { Input, HostBinding, Component, NgModule } from '@angular/core';
|
|
|
29
29
|
import { ECLBaseDirective } from '@eui/ecl/core';
|
|
30
30
|
import * as i1 from '@ngx-translate/core';
|
|
31
31
|
|
|
32
|
+
/**
|
|
33
|
+
* Component used to display a formatted date in a styled time element.
|
|
34
|
+
* Designed for use within content components such as content blocks or items.
|
|
35
|
+
*/
|
|
32
36
|
class EclDateBlockComponent extends ECLBaseDirective {
|
|
33
37
|
get cssClasses() {
|
|
34
38
|
return [super.getCssClasses('ecl-date-block'), this.variant ? `ecl-date-block--${this.variant}` : ''].join(' ').trim();
|
|
35
39
|
}
|
|
40
|
+
/**
|
|
41
|
+
* Sets the `datetime` attribute of the `<time>` element.
|
|
42
|
+
* If not provided, it is derived from `date` and `dateFormat`.
|
|
43
|
+
*/
|
|
36
44
|
get datetime() {
|
|
37
45
|
return this.getDatetime();
|
|
38
46
|
}
|
|
@@ -42,7 +50,17 @@ class EclDateBlockComponent extends ECLBaseDirective {
|
|
|
42
50
|
constructor(translateService) {
|
|
43
51
|
super();
|
|
44
52
|
this.translateService = translateService;
|
|
53
|
+
/**
|
|
54
|
+
* The format to be used when rendering the date string (Angular DatePipe format).
|
|
55
|
+
* Default is `'dd/M/yyyy'`.
|
|
56
|
+
*/
|
|
45
57
|
this.dateFormat = 'dd/M/yyyy';
|
|
58
|
+
/**
|
|
59
|
+
* Optional visual variant of the date block. Can be:
|
|
60
|
+
* - `'ongoing'`: for ongoing events
|
|
61
|
+
* - `'past'`: for past events
|
|
62
|
+
* This changes styling only.
|
|
63
|
+
*/
|
|
46
64
|
this.variant = null;
|
|
47
65
|
this.locale = 'en';
|
|
48
66
|
this._datetime = null;
|
|
@@ -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/ecl-date-block.module.ts","../../components/ecl-date-block/eui-ecl-components-ecl-date-block.ts"],"sourcesContent":["import { formatDate } from '@angular/common';\nimport { Component, Input, HostBinding } from '@angular/core';\nimport { TranslateService } from '@ngx-translate/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'time[eclDateBlock]',\n templateUrl: './ecl-date-block.component.html',\n standalone: false,\n})\nexport class EclDateBlockComponent extends ECLBaseDirective {\n @Input() date: Date;\n @Input() dateFormat = 'dd/M/yyyy';\n @Input() variant: 'ongoing' | 'past' = null;\n @Input() day: string;\n @Input() month: string;\n @Input() monthTitle: string;\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 @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\n constructor(private translateService: TranslateService) {\n super();\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 { CommonModule } from '@angular/common';\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 { NgModule } from '@angular/core';\nimport { EclDateBlockComponent } from './ecl-date-block.component';\n\n@NgModule({\n imports: [CommonModule],\n exports: [EclDateBlockComponent],\n declarations: [EclDateBlockComponent],\n})\nexport class EclDateBlockModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
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/ecl-date-block.module.ts","../../components/ecl-date-block/eui-ecl-components-ecl-date-block.ts"],"sourcesContent":["import { formatDate } from '@angular/common';\nimport { Component, Input, HostBinding } from '@angular/core';\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 standalone: false,\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\n constructor(private translateService: TranslateService) {\n super();\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 { CommonModule } from '@angular/common';\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 { NgModule } from '@angular/core';\nimport { EclDateBlockComponent } from './ecl-date-block.component';\n\n@NgModule({\n imports: [CommonModule],\n exports: [EclDateBlockComponent],\n declarations: [EclDateBlockComponent],\n})\nexport class EclDateBlockModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA;;;AAGG;AAOG,MAAO,qBAAsB,SAAQ,gBAAgB,CAAA;AA4CvD,IAAA,IACI,UAAU,GAAA;AACV,QAAA,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,EAAE,IAAI,CAAC,OAAO,GAAG,CAAmB,gBAAA,EAAA,IAAI,CAAC,OAAO,CAAE,CAAA,GAAG,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE;;AAG1H;;;AAGG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