@eui/ecl 22.0.0-alpha.71 → 22.0.0-alpha.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/changelog.html +31 -0
- package/docs/classes/EclFileUploadFileSelectedEvent.html +3 -3
- package/docs/components/EclAccordionSummaryComponent.html +1 -1
- package/docs/components/EclAnimatedNumbersComponent.html +5 -5
- package/docs/components/EclAnimatedNumbersItemComponent.html +8 -8
- package/docs/components/EclBannerComponent.html +1 -1
- package/docs/components/EclBreadcrumbComponent.html +7 -7
- package/docs/components/EclBreadcrumbSegmentComponent.html +6 -6
- package/docs/components/EclInpageNavigationItemComponent.html +2 -2
- package/docs/components/EclMenuComponent.html +0 -4
- package/docs/components/EclNotificationComponent.html +1 -1
- package/docs/components/EclPageHeaderComponent.html +3 -3
- package/docs/components/EclPageHeaderDescriptionContainerComponent.html +1 -1
- package/docs/components/EclPageSummaryComponent.html +1 -1
- package/docs/components/EclPaginationItemComponent.html +5 -5
- package/docs/components/EclQuizCardComponent.html +1 -1
- package/docs/components/EclSiteFooterComponent.html +2 -2
- package/docs/directives/EclCheckboxDirective.html +3 -3
- package/docs/directives/EclDatePickerDuetDirective.html +4 -4
- package/docs/directives/EclSelectDirective.html +1 -1
- package/docs/js/search/search_index.js +2 -2
- package/docs/json/EclAccordionSummaryComponent.md +1 -1
- package/docs/json/EclAnimatedNumbersComponent.md +5 -5
- package/docs/json/EclAnimatedNumbersItemComponent.md +8 -8
- package/docs/json/EclBannerComponent.md +1 -1
- package/docs/json/EclBreadcrumbComponent.md +6 -6
- package/docs/json/EclBreadcrumbSegmentComponent.md +6 -6
- package/docs/json/EclCheckboxDirective.md +3 -3
- package/docs/json/EclDatePickerDuetDirective.md +4 -4
- package/docs/json/EclInpageNavigationItemComponent.md +2 -2
- package/docs/json/EclNotificationComponent.md +1 -1
- package/docs/json/EclPageHeaderComponent.md +3 -3
- package/docs/json/EclPageHeaderDescriptionContainerComponent.md +1 -1
- package/docs/json/EclPageSummaryComponent.md +1 -1
- package/docs/json/EclPaginationItemComponent.md +5 -5
- package/docs/json/EclQuizCardComponent.md +1 -1
- package/docs/json/EclSelectDirective.md +1 -1
- package/docs/json/EclSiteFooterComponent.md +2 -2
- package/docs/json/documentation.json +988 -1006
- package/docs/llms.txt +23 -23
- package/docs/properties.html +1 -1
- package/fesm2022/eui-ecl-components-ecl-accordion.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-add-to-calendar.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-animated-numbers.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-banner.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-breadcrumb.mjs +1 -1
- package/fesm2022/eui-ecl-components-ecl-breadcrumb.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-button.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-card.mjs +1 -1
- package/fesm2022/eui-ecl-components-ecl-card.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-carousel.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-category-filter.mjs +6 -6
- package/fesm2022/eui-ecl-components-ecl-category-filter.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-checkbox.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-content-block.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-date-block.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-date-picker.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-divider.mjs +1 -1
- package/fesm2022/eui-ecl-components-ecl-divider.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-fact-figures.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-featured.mjs +4 -4
- package/fesm2022/eui-ecl-components-ecl-featured.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-file-upload.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-gallery.mjs +1 -1
- package/fesm2022/eui-ecl-components-ecl-gallery.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-highlighted-search.mjs +3 -3
- package/fesm2022/eui-ecl-components-ecl-highlighted-search.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-inpage-navigation.mjs +3 -3
- package/fesm2022/eui-ecl-components-ecl-inpage-navigation.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-list-illustration.mjs +3 -3
- package/fesm2022/eui-ecl-components-ecl-list-illustration.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-list.mjs +5 -5
- package/fesm2022/eui-ecl-components-ecl-list.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-mega-menu.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-menu.mjs +1 -2
- package/fesm2022/eui-ecl-components-ecl-menu.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-news-ticker.mjs +1 -1
- package/fesm2022/eui-ecl-components-ecl-news-ticker.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-notification.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-page-header.mjs +12 -12
- package/fesm2022/eui-ecl-components-ecl-page-header.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-page-information.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-page-summary.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-pagination.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-popover.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-quiz.mjs +1 -1
- package/fesm2022/eui-ecl-components-ecl-quiz.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-radio.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-range.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-select.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-site-footer.mjs +1 -1
- package/fesm2022/eui-ecl-components-ecl-site-footer.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-slider.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-slogan-ticker.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-spotlight.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-story-card.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-tabs.mjs +1 -1
- package/fesm2022/eui-ecl-components-ecl-tabs.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-tag.mjs +1 -1
- package/fesm2022/eui-ecl-components-ecl-tag.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-text-media.mjs.map +1 -1
- package/fesm2022/eui-ecl-components-ecl-timeline.mjs +1 -1
- package/fesm2022/eui-ecl-components-ecl-timeline.mjs.map +1 -1
- package/package.json +1 -1
- package/types/eui-ecl-components-ecl-accordion.d.ts +1 -1
- package/types/eui-ecl-components-ecl-accordion.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-animated-numbers.d.ts +13 -13
- package/types/eui-ecl-components-ecl-animated-numbers.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-banner.d.ts +1 -1
- package/types/eui-ecl-components-ecl-breadcrumb.d.ts +12 -12
- package/types/eui-ecl-components-ecl-breadcrumb.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-button.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-carousel.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-category-filter.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-checkbox.d.ts +3 -3
- package/types/eui-ecl-components-ecl-checkbox.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-date-block.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-date-picker.d.ts +4 -4
- package/types/eui-ecl-components-ecl-date-picker.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-file-upload.d.ts +2 -2
- package/types/eui-ecl-components-ecl-file-upload.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-inpage-navigation.d.ts +2 -2
- package/types/eui-ecl-components-ecl-inpage-navigation.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-mega-menu.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-menu.d.ts +1 -2
- package/types/eui-ecl-components-ecl-menu.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-news-ticker.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-notification.d.ts +1 -1
- package/types/eui-ecl-components-ecl-notification.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-page-header.d.ts +4 -4
- package/types/eui-ecl-components-ecl-page-header.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-page-summary.d.ts +1 -1
- package/types/eui-ecl-components-ecl-page-summary.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-pagination.d.ts +5 -5
- package/types/eui-ecl-components-ecl-pagination.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-popover.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-quiz.d.ts +1 -1
- package/types/eui-ecl-components-ecl-quiz.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-radio.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-range.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-select.d.ts +2 -2
- package/types/eui-ecl-components-ecl-select.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-site-footer.d.ts +2 -2
- package/types/eui-ecl-components-ecl-site-footer.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-slider.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-slogan-ticker.d.ts +1 -1
- package/types/eui-ecl-components-ecl-slogan-ticker.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-spotlight.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-story-card.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-tabs.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-text-media.d.ts.map +1 -1
- package/types/eui-ecl-components-ecl-timeline.d.ts.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eui-ecl-components-ecl-inpage-navigation.mjs","names":["i1","takeUntil"],"sources":["../../components/ecl-inpage-navigation/ecl-inpage-navigation-item.component.ts","../../components/ecl-inpage-navigation/ecl-inpage-navigation-item.component.html","../../components/ecl-inpage-navigation/services/ecl-inpage-navigation.service.ts","../../components/ecl-inpage-navigation/ecl-inpage-navigation-list.directive.ts","../../components/ecl-inpage-navigation/ecl-inpage-navigation.component.ts","../../components/ecl-inpage-navigation/ecl-inpage-navigation.component.html","../../components/ecl-inpage-navigation/index.ts"],"sourcesContent":["import { Component, inject, PLATFORM_ID, DOCUMENT, input, model, output, viewChild } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclBaseEvent } from '@eui/ecl/core';\nimport { EclLinkDirective, EUI_ECL_LINK } from '@eui/ecl/components/ecl-link';\nimport { isPlatformBrowser } from '@angular/common';\n\n/**\n * Emitted when the user clicks an in-page navigation item to scroll to a section.\n *\n * @param sectionElementId The `id` of the target page section element.\n */\nexport class EclInpageNavigationItemClickEvent extends EclBaseEvent {\n constructor(public sectionElementId: string) {\n super();\n }\n}\n/**\n * Single navigation item inside an `ecl-inpage-navigation` list.\n * Renders an anchor link that, when activated, scrolls the page to the associated section.\n * Apply as `li[eclInpageNavigationItem]`.\n *\n * - `label` — visible link text; `sectionId` — the `id` of the target section element.\n * - `isActive` (two-way model) — true when this section is the currently active one.\n * - Keyboard outputs: `itemArrowUp`, `itemArrowDown`, `itemTab`, `itemEnter` for parent-managed keyboard navigation.\n * - `itemClick` emits `EclInpageNavigationItemClickEvent` with the `sectionElementId`.\n */\n@Component({\n selector: 'li[eclInpageNavigationItem]',\n templateUrl: './ecl-inpage-navigation-item.component.html',\n imports: [...EUI_ECL_LINK],\n styles: [\n `\n :host {\n display: list-item;\n }\n `,\n ],\n host: {\n 'class': 'ecl-inpage-navigation__item',\n 'role': 'listitem',\n '[class.ecl-inpage-navigation__item--active]': 'isActive()',\n },\n})\nexport class EclInpageNavigationItemComponent extends ECLBaseDirective {\n /**\n * Visible label text of the navigation link.\n */\n readonly label = input<string>();\n /** ID of the target page section element that this item links to. */\n readonly sectionId = input<string>();\n /** Two-way model indicating whether this item represents the currently active section. */\n readonly isActive = model<boolean | undefined>(undefined);\n\n /**\n * Emitted when the user clicks the item link.\n * Payload carries `sectionElementId` for the parent to act on.\n */\n readonly itemClick = output<EclInpageNavigationItemClickEvent>();\n /** Emitted when the user presses the arrow-up key on the item link. */\n readonly itemArrowUp = output();\n /** Emitted when the user presses the arrow-down key on the item link. */\n readonly itemArrowDown = output();\n /** Emitted when the user presses Tab while the item link is focused. */\n readonly itemTab = output<Event>();\n /** Emitted when the user presses Enter while the item link is focused. */\n readonly itemEnter = output();\n\n readonly link = viewChild(EclLinkDirective);\n private readonly platformId = inject(PLATFORM_ID);\n private readonly doc = inject(DOCUMENT);\n\n onItemClick(evt: MouseEvent): void {\n const event = new EclInpageNavigationItemClickEvent(this.sectionId()!);\n this.itemClick.emit(event);\n\n evt.preventDefault();\n }\n\n /**\n * Returns the page section element associated with this navigation item.\n * @returns The `HTMLElement` matching `#sectionId`, or `null` if not found or running server-side.\n */\n get sectionElement(): HTMLElement | null {\n if (!isPlatformBrowser(this.platformId)) return null;\n return this.doc.querySelector<HTMLElement>(`#${this.sectionId()}`);\n }\n\n onArrowUp(evt: Event): void {\n evt.preventDefault();\n this.itemArrowUp.emit()\n }\n\n onArrowDown(evt: Event): void {\n evt.preventDefault();\n this.itemArrowDown.emit();\n }\n\n onTab(evt: Event): void {\n this.itemTab.emit(evt);\n }\n\n onFocus(): void{\n this.link()?.onFocus();\n }\n\n onEnter(evt: Event): void {\n evt.preventDefault();\n evt.stopPropagation();\n this.itemEnter.emit();\n }\n}\n","<a eclLink (click)=\"onItemClick($event)\" href=\"#\" class=\"ecl-inpage-navigation__link\"\n (keydown.arrowUp)=\"onArrowUp($event)\" (keydown.arrowDown)=\"onArrowDown($event)\" (keydown.enter)=\"onEnter($event)\"\n (keydown.tab)=\"onTab($event)\">\n {{ label() }}\n</a>\n","import { Injectable } from '@angular/core';\nimport { Observable, Subject } from 'rxjs';\n\n@Injectable({ providedIn: 'root' })\nexport class EclInpageNavigationService {\n\n\tpublic eclInpageNavigationExpanded$: Observable<boolean>;\n\tprivate eclInpageNavigationExpanded: Subject<boolean> = new Subject<boolean>();\n\n\tconstructor() {\n this.eclInpageNavigationExpanded$ = this.eclInpageNavigationExpanded.asObservable();\n\t}\n\n\t/**\n\t * When user clicks on arrow down button in mobile view.\n\t * @param isExpanded\n\t */\n eclInpageNavigationToggle(isExpanded: boolean): void {\n\t\tthis.eclInpageNavigationExpanded.next(isExpanded);\n\t}\n}\n","import { AfterContentInit, Directive, ElementRef, OnDestroy, inject, signal } from '@angular/core';\nimport { Subject, takeUntil } from 'rxjs';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclInpageNavigationService } from './services/ecl-inpage-navigation.service';\n\n/**\n * The `<ul>` container for navigation item links inside an `ecl-inpage-navigation` component.\n * Apply as `ul[eclInpageNavigationList]`; the directive adds `ecl-inpage-navigation__list` styling\n * and manages mobile-view visibility and animated `max-height` in response to the toggle service.\n *\n * - `isVisible` is set by `EclInpageNavigationService` when the mobile dropdown is expanded.\n * - `maxHeight` is set programmatically by the parent to animate the list height.\n */\n@Directive({\n selector: 'ul[eclInpageNavigationList]',\n host: {\n 'class': 'ecl-inpage-navigation__list',\n '[class.ecl-inpage-navigation__list--visible]': 'isVisible()',\n '[style.max-height.px]': 'maxHeight()',\n },\n\n})\nexport class EclInpageNavigationListDirective extends ECLBaseDirective implements AfterContentInit, OnDestroy {\n el = inject(ElementRef);\n\n /**\n * Whether the list is visible in the mobile dropdown.\n * Controlled by `EclInpageNavigationService`.\n */\n readonly isVisible = signal<boolean>(false);\n maxHeight = signal<number | null>(null);\n\n private destroy$: Subject<boolean> = new Subject<boolean>();\n private eclInpageNavigationService = inject(EclInpageNavigationService);\n\n ngAfterContentInit(): void {\n this.eclInpageNavigationService.eclInpageNavigationExpanded$.pipe(takeUntil(this.destroy$)).subscribe((value: boolean) => {\n this.isVisible.set(value);\n });\n }\n\n ngOnDestroy(): void {\n this.destroy$.next(true);\n this.destroy$.unsubscribe();\n }\n}\n","import { BreakpointObserver, Breakpoints } from '@angular/cdk/layout';\nimport { ScrollDispatcher, ViewportRuler } from '@angular/cdk/scrolling';\nimport { isPlatformBrowser } from '@angular/common';\nimport { AfterViewInit, ChangeDetectorRef, Component, DOCUMENT, DoCheck, ElementRef, IterableDiffer, IterableDiffers, NgZone, OnDestroy, OnInit, PLATFORM_ID, afterNextRender, contentChild, contentChildren, inject, input, numberAttribute, output, viewChild } from '@angular/core';\nimport { outputToObservable } from '@angular/core/rxjs-interop';\nimport { EUI_ECL_ICON } from '@eui/ecl/components/ecl-icon';\nimport { EUI_ECL_STICKY_CONTAINER } from '@eui/ecl/components/ecl-sticky-container';\nimport { ECLBaseDirective, EclBaseEvent, EclRtlService, EclThemeService } from '@eui/ecl/core';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\nimport { EclInpageNavigationItemComponent } from './ecl-inpage-navigation-item.component';\nimport { EclInpageNavigationListDirective } from './ecl-inpage-navigation-list.directive';\nimport { EclInpageNavigationService } from './services/ecl-inpage-navigation.service';\n\n/** Event emitted by `EclInpageNavigationComponent` when a new page section becomes active on scroll. */\nexport class EclInpageNavigationSectionEnterEvent extends EclBaseEvent {\n constructor(public sectionId: string) {\n super();\n }\n}\n\n/**\n * Vertical in-page navigation menu that lists anchor links to `H2` headings on long content pages.\n * Fixed on the left on desktop; collapses to a sticky top-bar dropdown on mobile. Highlights the\n * active section on scroll, and supports smooth scrolling with an optional top offset.\n *\n * - `eclTitle` — heading displayed above the navigation list.\n * - `offsetTop` — scroll offset in pixels (e.g. to clear a sticky header).\n * - `marginTop` / `marginBottom` — used to calculate the component's sticky position.\n * - `sectionEnter` emits `EclInpageNavigationSectionEnterEvent` when a new section becomes active on scroll.\n * - Compose with `li[eclInpageNavigationItem]` children inside a `ul[eclInpageNavigationList]`.\n */\n@Component({\n selector: 'ecl-inpage-navigation',\n templateUrl: './ecl-inpage-navigation.component.html',\n imports: [TranslatePipe, ...EUI_ECL_STICKY_CONTAINER, ...EUI_ECL_ICON],\n styles: [\n `\n @media (min-width: 996px) {\n .ecl-inpage-navigation__list {\n display: block !important;\n }\n }\n `,\n ],\n})\nexport class EclInpageNavigationComponent extends ECLBaseDirective implements OnInit, AfterViewInit, OnDestroy, DoCheck {\n eclThemeService = inject(EclThemeService);\n\n /** Optional heading text displayed at the top of the navigation panel. */\n readonly eclTitle = input<string>();\n /**\n * Top margin (px) for sticky position calculation.\n */\n readonly marginTop = input<number>();\n /** Bottom margin (px) for sticky position calculation. */\n readonly marginBottom = input<number>();\n /**\n * Offset from the top of the viewport (px) used when scrolling to a section,\n * e.g. to clear a sticky header.\n */\n readonly offsetTop = input<number, unknown>(undefined, { transform: numberAttribute });\n readonly togglerButton = viewChild<ElementRef<HTMLButtonElement>>('togglerButton');\n readonly toggleWrapper = viewChild<ElementRef<HTMLDivElement>>('toggleWrapper');\n readonly navTittle = viewChild<ElementRef<HTMLDivElement>>('navTittle');\n /**\n * Emitted when scrolling causes a new section to become active.\n * Payload contains the `sectionId` of the newly active section.\n */\n readonly sectionEnter = output<EclInpageNavigationSectionEnterEvent>();\n\n readonly eclNavigationLinkItems = contentChildren(EclInpageNavigationItemComponent, { descendants: true });\n readonly eclNavigationList = contentChild(EclInpageNavigationListDirective);\n\n /**\n * Whether the mobile dropdown toggle button is currently expanded.\n */\n isButtonExpanded = false;\n currentSectionElement: HTMLElement | null = null;\n public isRtl = false;\n public listMaxHeight = 0;\n private destroy$: Subject<boolean> = new Subject<boolean>();\n private differ: IterableDiffer<EclInpageNavigationItemComponent>;\n private isMobileBreakpoint = false;\n private MIN_DISTANCE_TOP = 10;\n /**\n * Extra spacing (px) kept between the sticky toggler and the target heading when scrolling to a section on mobile,\n * so the heading is not flush against the toggler. Mirrors the spacing buffer used by the vanilla ECL\n * `scroll-margin-top` rule (trigger height + spacing).\n */\n private readonly MOBILE_SCROLL_SPACING = 16;\n private readonly ICON_SIZE_EC_THEME = '2xs';\n private readonly ICON_SIZE_EU_THEME = 's';\n private readonly TABLET_BREAKPOINT = 996;\n private intersectionObserver?: IntersectionObserver;\n private eclRtlService = inject(EclRtlService);\n private differs = inject(IterableDiffers);\n private scrollDispatcher: ScrollDispatcher = inject(ScrollDispatcher);\n private zone = inject(NgZone);\n private cdkBreakpointObserver = inject(BreakpointObserver);\n private viewportRuler = inject(ViewportRuler);\n private eclInpageNavigationService = inject(EclInpageNavigationService);\n private cdr = inject(ChangeDetectorRef);\n private readonly platformId = inject(PLATFORM_ID);\n private readonly doc = inject(DOCUMENT);\n private readonly win = this.doc.defaultView; // Window | null\n private readonly isBrowser = isPlatformBrowser(this.platformId);\n\n constructor() {\n super();\n this.differ = this.differs.find([]).create();\n afterNextRender(() => {\n this.zone.run(() => this.setListHeight());\n });\n }\n\n ngOnInit(): void {\n this.handleRtlChangeState();\n }\n\n ngAfterViewInit() {\n if (!this.isBrowser) return;\n\n this.subscribeToCDKScrollEvent();\n this.observeBreakpointChanges();\n this.viewportRuler.change(300)\n .pipe(takeUntil(this.destroy$))\n .subscribe(() => this.zone.run(() => this.setListHeight()));\n\n const togglerButton = this.togglerButton();\n if (typeof IntersectionObserver !== 'undefined' && togglerButton?.nativeElement) {\n this.intersectionObserver = new IntersectionObserver(() => this.setListHeight());\n this.intersectionObserver.observe(togglerButton.nativeElement);\n }\n }\n\n get hasNavigationList(): boolean {\n return !!this.eclNavigationList();\n }\n\n get currentNavigationLinkItem(): EclInpageNavigationItemComponent | undefined {\n return this.eclNavigationLinkItems().find((item) => item.sectionElement === this.currentSectionElement);\n }\n\n /**\n * the size of the arrow-down icon, used in mobile view. There are different sizes for EC and EU themes.\n */\n get sizeIcon(): string {\n if (this.eclThemeService.isECTheme()) {\n return this.ICON_SIZE_EC_THEME;\n } else {\n return this.ICON_SIZE_EU_THEME;\n }\n }\n\n get hasActiveSection(): boolean {\n return !!this.currentSectionElement;\n }\n\n ngDoCheck(): void {\n const diff = this.differ.diff(this.eclNavigationLinkItems());\n if (diff) {\n diff.forEachItem((item) => {\n this.connectItemEvents(item.item);\n });\n }\n }\n\n ngOnDestroy(): void {\n this.destroy$.next(true);\n this.destroy$.unsubscribe();\n const togglerButton = this.togglerButton();\n if (this.intersectionObserver && togglerButton?.nativeElement) {\n this.intersectionObserver.unobserve(togglerButton.nativeElement);\n this.intersectionObserver.disconnect();\n }\n }\n\n /**\n * On mobile view - handle the dropdown toggle.\n */\n onExpandButtonClick(): void {\n this.setButtonExpanded(!this.isButtonExpanded);\n }\n\n /**\n * Single entry point for changing the dropdown expanded state. Keeps the local flag (used for the button's\n * aria-expanded) and the shared service state (that drives the list's visibility class) in sync.\n */\n private setButtonExpanded(isExpanded: boolean): void {\n this.isButtonExpanded = isExpanded;\n this.eclInpageNavigationService.eclInpageNavigationToggle(isExpanded);\n }\n\n /**\n * Dropdown keyboard navigation on mobile view.\n * @param evt\n */\n onExpandButtonKeydown(evt: Event): void {\n switch ((evt as KeyboardEvent).key) {\n case 'Tab':\n this.onExpandButtonTab(evt);\n break;\n case 'ArrowDown':\n this.onExpandButtonArrowDown(evt);\n break;\n default:\n break;\n }\n }\n\n private handleRtlChangeState(): void {\n this.eclRtlService.currentRtlState$.pipe(takeUntil(this.destroy$)).subscribe((rtlState) => {\n this.isRtl = rtlState;\n });\n }\n\n /**\n * Set the height of the list with the navigation items in px. So in case the full list cannot be displayed, a scroll will appear.\n */\n private setListHeight(): void {\n if (!this.isBrowser) return;\n const eclNavigationList = this.eclNavigationList();\n if (!eclNavigationList) return;\n if (!this.win) return;\n\n const viewportHeight = this.win.innerHeight;\n const viewportWidth = this.win.innerWidth;\n let topPosition = 0;\n\n if (viewportWidth < this.TABLET_BREAKPOINT) {\n const toggleWrapper = this.toggleWrapper()?.nativeElement;\n if (toggleWrapper) {\n const styles = this.win.getComputedStyle(toggleWrapper);\n topPosition =\n toggleWrapper.getBoundingClientRect().bottom +\n parseFloat(styles.marginBottom || '0');\n }\n } else if (this.eclTitle()) {\n const titleEl = this.navTittle()?.nativeElement;\n if (titleEl) topPosition = titleEl.getBoundingClientRect().bottom;\n } else {\n const listEl = eclNavigationList?.el?.nativeElement;\n if (listEl) topPosition = listEl.getBoundingClientRect().top;\n }\n\n const availableSpace = viewportHeight - topPosition;\n if (availableSpace > 0) {\n this.listMaxHeight = availableSpace;\n eclNavigationList.maxHeight.set(this.listMaxHeight);\n }\n }\n\n private onExpandButtonArrowDown(evt: Event): void {\n evt.preventDefault();\n this.setButtonExpanded(true);\n this.eclNavigationLinkItems().at(0)?.onFocus();\n }\n\n private onExpandButtonTab(evt: Event): void {\n if ((evt as KeyboardEvent).shiftKey) {\n evt.preventDefault();\n this.eclNavigationLinkItems().at(this.eclNavigationLinkItems().length - 1)?.onFocus();\n }\n }\n\n private connectItemEvents(item: EclInpageNavigationItemComponent): void {\n outputToObservable(item.itemArrowDown).pipe(takeUntil(this.destroy$)).subscribe(() => {\n this.onItemArrowDown(item);\n });\n\n outputToObservable(item.itemArrowUp).pipe(takeUntil(this.destroy$)).subscribe(() => {\n this.onItemArrowUp(item);\n });\n\n outputToObservable(item.itemTab).pipe(takeUntil(this.destroy$)).subscribe((evt) => {\n this.onItemTab(item, evt);\n });\n\n outputToObservable(item.itemEnter).pipe(takeUntil(this.destroy$)).subscribe(() => {\n this.onItemEnter(item);\n });\n\n outputToObservable(item.itemClick).pipe(takeUntil(this.destroy$)).subscribe(() => {\n this.selectNavigationItem(item.sectionElement);\n if (item.sectionElement) {\n this.scrollToSection(item.sectionElement);\n item.sectionElement.focus();\n }\n this.setButtonExpanded(false);\n });\n }\n\n private onItemEnter(item: EclInpageNavigationItemComponent): void {\n this.selectNavigationItem(item.sectionElement);\n if (item.sectionElement) {\n this.scrollToSection(item.sectionElement);\n if (item.sectionElement.tabIndex === -1) {\n item.sectionElement.tabIndex = 0;\n item.sectionElement.focus();\n item.sectionElement.tabIndex = -1;\n }\n }\n this.setButtonExpanded(false);\n }\n\n /**\n * Scrolls the target section into view. On desktop this is a plain scrollIntoView() (unchanged behaviour). On\n * mobile the in-page navigation toggler is sticky at the top, so a top-aligned scroll would hide the heading\n * underneath it; we therefore set `scroll-margin-top` on the target (sticky toggler height + spacing buffer) and\n * let scrollIntoView() honour it. Using scroll-margin-top instead of a manual window.scrollTo() keeps this working\n * regardless of which element is the actual scroll container (window or a nested scrollable wrapper).\n */\n private scrollToSection(sectionElement: HTMLElement): void {\n if (!this.isBrowser) return;\n const offset = this.getMobileScrollOffset();\n sectionElement.style.scrollMarginTop = offset > 0 ? `${offset}px` : '';\n sectionElement.scrollIntoView();\n }\n\n /**\n * The offset (px) applied on mobile so that a scrolled-to heading clears the sticky toggler: the toggler height\n * plus a spacing buffer. Returns 0 on desktop (no sticky toggler). Shared by the scroll logic and the scroll-spy\n * so the heading lands exactly where the spy expects it, keeping the active item in sync after a click.\n */\n private getMobileScrollOffset(): number {\n if (!this.isMobileBreakpoint) return 0;\n const toggleWrapper = this.toggleWrapper()?.nativeElement;\n if (!toggleWrapper) return 0;\n return toggleWrapper.getBoundingClientRect().height + this.MOBILE_SCROLL_SPACING;\n }\n\n private onItemArrowDown(item: EclInpageNavigationItemComponent): void {\n const index = this.eclNavigationLinkItems().indexOf(item);\n const eclNavigationLinkItems = this.eclNavigationLinkItems();\n if (index !== eclNavigationLinkItems.length - 1) {\n eclNavigationLinkItems.at(index + 1)?.onFocus();\n }\n }\n\n private onItemArrowUp(item: EclInpageNavigationItemComponent): void {\n const index = this.eclNavigationLinkItems().indexOf(item);\n if (index !== 0) {\n this.eclNavigationLinkItems().at(index - 1)?.onFocus();\n } else {\n const togglerButton = this.togglerButton();\n if (this.isMobileBreakpoint && togglerButton) {\n this.setButtonExpanded(false);\n togglerButton.nativeElement.focus();\n }\n }\n }\n\n private onItemTab(item: EclInpageNavigationItemComponent, evt: Event): void {\n if (this.isMobileBreakpoint) {\n if (!(evt as KeyboardEvent).shiftKey) {\n const index = this.eclNavigationLinkItems().indexOf(item);\n if (index === this.eclNavigationLinkItems().length - 1) {\n evt.preventDefault();\n this.togglerButton()?.nativeElement.focus();\n }\n }\n }\n }\n\n private subscribeToCDKScrollEvent(): void {\n if (!this.isBrowser) return;\n\n this.scrollDispatcher\n .scrolled()\n .pipe(takeUntil(this.destroy$))\n .subscribe(() => {\n this.zone.run(() => {\n const ids = this.eclNavigationLinkItems().map((item) => item.sectionId());\n\n const sectionElements = ids\n .map((id) => this.doc.querySelector<HTMLElement>(`#${id}`))\n .filter((el): el is HTMLElement => !!el);\n\n this.handleNavigationLinksHighlight(sectionElements);\n this.setListHeight();\n });\n });\n }\n\n private selectNavigationItem(itemElement: HTMLElement | null): void {\n this.eclNavigationLinkItems().forEach((it) => {\n it.isActive.set(it.sectionElement === itemElement);\n });\n this.cdr.markForCheck();\n }\n\n private handleNavigationLinksHighlight(sectionElements: HTMLElement[]): void {\n const currentSectionElement = this.findActiveSectionElement(sectionElements);\n\n if (currentSectionElement !== this.currentSectionElement) {\n this.currentSectionElement = currentSectionElement;\n if (currentSectionElement) this.selectNavigationItem(currentSectionElement);\n\n const sectionId = this.currentNavigationLinkItem?.sectionId();\n this.sectionEnter.emit(new EclInpageNavigationSectionEnterEvent(sectionId!));\n }\n }\n\n private findActiveSectionElement(sectionElements: HTMLElement[]): HTMLElement | null {\n if (!this.isBrowser || !this.win) return null;\n\n let currentSection: HTMLElement | null = null;\n // On mobile the heading is scrolled to sit just below the sticky toggler, so the spy must use that same\n // offset; otherwise it would highlight the previous section. The extra MIN_DISTANCE_TOP is a cushion so a\n // heading that lands right on the boundary (sub-pixel rounding) is still treated as \"reached\". On desktop\n // keep the original threshold.\n const offset = this.isMobileBreakpoint\n ? this.getMobileScrollOffset() + this.MIN_DISTANCE_TOP\n : this.MIN_DISTANCE_TOP + (this.offsetTop() ?? 0);\n\n const isNearBottom =\n this.win.innerHeight + this.win.scrollY >=\n this.doc.documentElement.scrollHeight - 10;\n\n for (const sectionElement of sectionElements) {\n const rect = sectionElement.getBoundingClientRect();\n const isAboveOffset = rect.top <= offset;\n const isVisibleInViewport = rect.top < this.win.innerHeight;\n\n if (isAboveOffset || (isVisibleInViewport && isNearBottom)) {\n currentSection = sectionElement;\n }\n }\n\n return currentSection;\n }\n\n private observeBreakpointChanges(): void {\n this.cdkBreakpointObserver\n .observe([Breakpoints.Handset, Breakpoints.Tablet, Breakpoints.Small])\n .pipe(takeUntil(this.destroy$))\n .subscribe((result) => {\n this.isMobileBreakpoint = result.matches;\n });\n }\n}\n","<ecl-sticky-container [marginTop]=\"marginTop()\" [marginBottom]=\"marginBottom()\">\n <nav aria-labelledby=\"ecl-inpage-navigation-default\" class=\"ecl-inpage-navigation\"\n [class.ecl-inpage-navigation--visible]=\"hasActiveSection\" [class.ecl-inpage-navigation--rtl]=\"isRtl\">\n <div #navTittle id=\"ecl-inpage-navigation-default\" class=\"ecl-inpage-navigation__title\">\n {{ eclTitle() || 'ecl.inpage-navigation.PAGE-CONTENTS' | translate }}\n </div>\n <div class=\"ecl-inpage-navigation__body\">\n <div #toggleWrapper class=\"ecl-inpage-navigation__trigger-wrapper\">\n <button #togglerButton id=\"ecl-inpage-navigation-default-trigger\" type=\"button\"\n class=\"ecl-inpage-navigation__trigger\" aria-controls=\"ecl-inpage-navigation-list\"\n [attr.aria-expanded]=\"isButtonExpanded\" (click)=\"onExpandButtonClick()\"\n (keydown)=\"onExpandButtonKeydown($event)\">\n <span class=\"ecl-inpage-navigation__trigger-current\">\n {{ currentNavigationLinkItem?.label() }}\n </span>\n <ecl-icon icon=\"corner-arrow\" [size]=\"sizeIcon\" transform=\"rotate-180\"\n class=\"ecl-inpage-navigation__trigger-icon\" title=\"Show full page table of contents\">\n </ecl-icon>\n </button>\n </div>\n <ng-content></ng-content>\n </div>\n </nav>\n</ecl-sticky-container>","import { EclInpageNavigationItemComponent } from './ecl-inpage-navigation-item.component';\nimport { EclInpageNavigationListDirective } from './ecl-inpage-navigation-list.directive';\nimport { EclInpageNavigationComponent } from './ecl-inpage-navigation.component';\n\nexport * from './ecl-inpage-navigation.component';\nexport * from './ecl-inpage-navigation-item.component';\nexport * from './ecl-inpage-navigation-list.directive';\nexport * from './services/ecl-inpage-navigation.service';\n\nexport const EUI_ECL_INPAGE_NAVIGATION = [\n EclInpageNavigationComponent, EclInpageNavigationItemComponent, EclInpageNavigationListDirective,\n] as const;"],"mappings":";;;;;;;;;;;;;;;;AAWA,IAAa,oCAAb,cAAuD,aAAY;CAC/D,YAAmB,kBAAwB;EACvC,MAAK;EADU,KAAA,mBAAA;CAEnB;AACH;AA4BD,IAAa,mCAAb,MAAa,yCAAyC,iBAAgB;CAjBtE,cAAA;;EAqBa,KAAA,QAAQ,MAAe,GAAA,YAAA,CAAA,QAAA,EAAA,WAAA,QAAA,CAAA,+BAAA,CAAA,CAAA;EAEvB,KAAA,YAAY,MAAe,GAAA,YAAA,CAAA,QAAA,EAAA,WAAA,YAAA,CAAA,+BAAA,CAAA,CAAA;EAE3B,KAAA,WAAW,MAA2B,QAAU,GAAA,YAAA,CAAA,EAAA,WAAA,WAAA,CAAA,+BAAA,CAAA,CAAA;EAMhD,KAAA,YAAY,OAAM;EAElB,KAAA,cAAc,OAAM;EAEpB,KAAA,gBAAgB,OAAM;EAEtB,KAAA,UAAU,OAAM;EAEhB,KAAA,YAAY,OAAM;EAElB,KAAA,OAAO,UAAU,kBAAiB,GAAA,YAAA,CAAA,EAAA,WAAA,OAAA,CAAA,+BAAA,CAAA,CAAA;EAC1B,KAAA,aAAa,OAAO,WAAW;EAC/B,KAAA,MAAM,OAAO,QAAQ;CAyCzC;CAvCG,YAAY,KAAe;EACvB,MAAM,QAAQ,IAAI,kCAAkC,KAAK,UAAS,CAAG;EACrE,KAAK,UAAU,KAAK,KAAK;EAEzB,IAAI,eAAc;CACtB;CAMA,IAAI,i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A,CAAA;EAAA,eAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,iBAAe,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,eAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAClB,iBAAe,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,WAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CACnB,aAAW,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,cAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,cAAA;EAAA,CAAA;EAAA,wBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,GAAA,iBAOpB,gCAAgC,GAAA;IAAI,aAAa;IAAM,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,mBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,GAAA,iBAC/D,gCAAgC,GAAA,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;CAAA;AAAA,CAAA;AEhE9E,MAAa,4BAA4B;CACrC;CAA8B;CAAkC;AAC1D"}
|
|
1
|
+
{"version":3,"file":"eui-ecl-components-ecl-inpage-navigation.mjs","names":["i1","takeUntil"],"sources":["../../components/ecl-inpage-navigation/ecl-inpage-navigation-item.component.ts","../../components/ecl-inpage-navigation/ecl-inpage-navigation-item.component.html","../../components/ecl-inpage-navigation/services/ecl-inpage-navigation.service.ts","../../components/ecl-inpage-navigation/ecl-inpage-navigation-list.directive.ts","../../components/ecl-inpage-navigation/ecl-inpage-navigation.component.ts","../../components/ecl-inpage-navigation/ecl-inpage-navigation.component.html","../../components/ecl-inpage-navigation/index.ts"],"sourcesContent":["import { Component, inject, PLATFORM_ID, DOCUMENT, input, model, output, viewChild } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclBaseEvent } from '@eui/ecl/core';\nimport { EclLinkDirective, EUI_ECL_LINK } from '@eui/ecl/components/ecl-link';\nimport { isPlatformBrowser } from '@angular/common';\n\n/**\n * Emitted when the user clicks an in-page navigation item to scroll to a section.\n *\n * @param sectionElementId The `id` of the target page section element.\n */\nexport class EclInpageNavigationItemClickEvent extends EclBaseEvent {\n constructor(public sectionElementId: string) {\n super();\n }\n}\n/**\n * Single navigation item inside an `ecl-inpage-navigation` list.\n * Renders an anchor link that, when activated, scrolls the page to the associated section.\n * Apply as `li[eclInpageNavigationItem]`.\n *\n * - `label` — visible link text; `sectionId` — the `id` of the target section element.\n * - `isActive` (two-way model) — true when this section is the currently active one.\n * - Keyboard outputs: `itemArrowUp`, `itemArrowDown`, `itemTab`, `itemEnter` for parent-managed keyboard navigation.\n * - `itemClick` emits `EclInpageNavigationItemClickEvent` with the `sectionElementId`.\n */\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'li[eclInpageNavigationItem]',\n templateUrl: './ecl-inpage-navigation-item.component.html',\n imports: [...EUI_ECL_LINK],\n styles: [\n `\n :host {\n display: list-item;\n }\n `,\n ],\n host: {\n class: 'ecl-inpage-navigation__item',\n role: 'listitem',\n '[class.ecl-inpage-navigation__item--active]': 'isActive()',\n },\n})\nexport class EclInpageNavigationItemComponent extends ECLBaseDirective {\n /**\n * Visible label text of the navigation link.\n */\n readonly label = input<string>();\n /** ID of the target page section element that this item links to. */\n readonly sectionId = input<string>();\n /** Two-way model indicating whether this item represents the currently active section. */\n readonly isActive = model<boolean | undefined>(undefined);\n\n /**\n * Emitted when the user clicks the item link.\n * Payload carries `sectionElementId` for the parent to act on.\n */\n readonly itemClick = output<EclInpageNavigationItemClickEvent>();\n /** Emitted when the user presses the arrow-up key on the item link. */\n readonly itemArrowUp = output();\n /** Emitted when the user presses the arrow-down key on the item link. */\n readonly itemArrowDown = output();\n /** Emitted when the user presses Tab while the item link is focused. */\n readonly itemTab = output<Event>();\n /** Emitted when the user presses Enter while the item link is focused. */\n readonly itemEnter = output();\n\n readonly link = viewChild(EclLinkDirective);\n private readonly platformId = inject(PLATFORM_ID);\n private readonly doc = inject(DOCUMENT);\n\n onItemClick(evt: MouseEvent): void {\n const event = new EclInpageNavigationItemClickEvent(this.sectionId()!);\n this.itemClick.emit(event);\n\n evt.preventDefault();\n }\n\n /**\n * Returns the page section element associated with this navigation item.\n * @returns The `HTMLElement` matching `#sectionId`, or `null` if not found or running server-side.\n */\n get sectionElement(): HTMLElement | null {\n if (!isPlatformBrowser(this.platformId)) return null;\n return this.doc.querySelector<HTMLElement>(`#${this.sectionId()}`);\n }\n\n onArrowUp(evt: Event): void {\n evt.preventDefault();\n this.itemArrowUp.emit()\n }\n\n onArrowDown(evt: Event): void {\n evt.preventDefault();\n this.itemArrowDown.emit();\n }\n\n onTab(evt: Event): void {\n this.itemTab.emit(evt);\n }\n\n onFocus(): void{\n this.link()?.onFocus();\n }\n\n onEnter(evt: Event): void {\n evt.preventDefault();\n evt.stopPropagation();\n this.itemEnter.emit();\n }\n}\n","<a eclLink (click)=\"onItemClick($event)\" href=\"#\" class=\"ecl-inpage-navigation__link\"\n (keydown.arrowUp)=\"onArrowUp($event)\" (keydown.arrowDown)=\"onArrowDown($event)\" (keydown.enter)=\"onEnter($event)\"\n (keydown.tab)=\"onTab($event)\">\n {{ label() }}\n</a>\n","import { Injectable } from '@angular/core';\nimport { Observable, Subject } from 'rxjs';\n\n@Injectable({ providedIn: 'root' })\nexport class EclInpageNavigationService {\n\n\tpublic eclInpageNavigationExpanded$: Observable<boolean>;\n\tprivate eclInpageNavigationExpanded: Subject<boolean> = new Subject<boolean>();\n\n\tconstructor() {\n this.eclInpageNavigationExpanded$ = this.eclInpageNavigationExpanded.asObservable();\n\t}\n\n\t/**\n\t * When user clicks on arrow down button in mobile view.\n\t * @param isExpanded\n\t */\n eclInpageNavigationToggle(isExpanded: boolean): void {\n\t\tthis.eclInpageNavigationExpanded.next(isExpanded);\n\t}\n}\n","import { AfterContentInit, Directive, ElementRef, OnDestroy, inject, signal } from '@angular/core';\nimport { Subject, takeUntil } from 'rxjs';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclInpageNavigationService } from './services/ecl-inpage-navigation.service';\n\n/**\n * The `<ul>` container for navigation item links inside an `ecl-inpage-navigation` component.\n * Apply as `ul[eclInpageNavigationList]`; the directive adds `ecl-inpage-navigation__list` styling\n * and manages mobile-view visibility and animated `max-height` in response to the toggle service.\n *\n * - `isVisible` is set by `EclInpageNavigationService` when the mobile dropdown is expanded.\n * - `maxHeight` is set programmatically by the parent to animate the list height.\n */\n@Directive({\n selector: 'ul[eclInpageNavigationList]',\n host: {\n class: 'ecl-inpage-navigation__list',\n '[class.ecl-inpage-navigation__list--visible]': 'isVisible()',\n '[style.max-height.px]': 'maxHeight()',\n },\n\n})\nexport class EclInpageNavigationListDirective extends ECLBaseDirective implements AfterContentInit, OnDestroy {\n el = inject(ElementRef);\n\n /**\n * Whether the list is visible in the mobile dropdown.\n * Controlled by `EclInpageNavigationService`.\n */\n readonly isVisible = signal<boolean>(false);\n maxHeight = signal<number | null>(null);\n\n private destroy$: Subject<boolean> = new Subject<boolean>();\n private eclInpageNavigationService = inject(EclInpageNavigationService);\n\n ngAfterContentInit(): void {\n this.eclInpageNavigationService.eclInpageNavigationExpanded$.pipe(takeUntil(this.destroy$)).subscribe((value: boolean) => {\n this.isVisible.set(value);\n });\n }\n\n ngOnDestroy(): void {\n this.destroy$.next(true);\n this.destroy$.unsubscribe();\n }\n}\n","import { BreakpointObserver, Breakpoints } from '@angular/cdk/layout';\nimport { ScrollDispatcher, ViewportRuler } from '@angular/cdk/scrolling';\nimport { isPlatformBrowser } from '@angular/common';\nimport { AfterViewInit, ChangeDetectorRef, Component, DOCUMENT, DoCheck, ElementRef, IterableDiffer, IterableDiffers, NgZone, OnDestroy, OnInit, PLATFORM_ID, afterNextRender, contentChild, contentChildren, inject, input, numberAttribute, output, viewChild } from '@angular/core';\nimport { outputToObservable } from '@angular/core/rxjs-interop';\nimport { EUI_ECL_ICON } from '@eui/ecl/components/ecl-icon';\nimport { EUI_ECL_STICKY_CONTAINER } from '@eui/ecl/components/ecl-sticky-container';\nimport { ECLBaseDirective, EclBaseEvent, EclRtlService, EclThemeService } from '@eui/ecl/core';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { Subject } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\nimport { EclInpageNavigationItemComponent } from './ecl-inpage-navigation-item.component';\nimport { EclInpageNavigationListDirective } from './ecl-inpage-navigation-list.directive';\nimport { EclInpageNavigationService } from './services/ecl-inpage-navigation.service';\n\n/** Event emitted by `EclInpageNavigationComponent` when a new page section becomes active on scroll. */\nexport class EclInpageNavigationSectionEnterEvent extends EclBaseEvent {\n constructor(public sectionId: string) {\n super();\n }\n}\n\n/**\n * Vertical in-page navigation menu that lists anchor links to `H2` headings on long content pages.\n * Fixed on the left on desktop; collapses to a sticky top-bar dropdown on mobile. Highlights the\n * active section on scroll, and supports smooth scrolling with an optional top offset.\n *\n * - `eclTitle` — heading displayed above the navigation list.\n * - `offsetTop` — scroll offset in pixels (e.g. to clear a sticky header).\n * - `marginTop` / `marginBottom` — used to calculate the component's sticky position.\n * - `sectionEnter` emits `EclInpageNavigationSectionEnterEvent` when a new section becomes active on scroll.\n * - Compose with `li[eclInpageNavigationItem]` children inside a `ul[eclInpageNavigationList]`.\n */\n@Component({\n selector: 'ecl-inpage-navigation',\n templateUrl: './ecl-inpage-navigation.component.html',\n imports: [TranslatePipe, ...EUI_ECL_STICKY_CONTAINER, ...EUI_ECL_ICON],\n styles: [\n `\n @media (min-width: 996px) {\n .ecl-inpage-navigation__list {\n display: block !important;\n }\n }\n `,\n ],\n})\nexport class EclInpageNavigationComponent extends ECLBaseDirective implements OnInit, AfterViewInit, OnDestroy, DoCheck {\n eclThemeService = inject(EclThemeService);\n\n /** Optional heading text displayed at the top of the navigation panel. */\n readonly eclTitle = input<string>();\n /**\n * Top margin (px) for sticky position calculation.\n */\n readonly marginTop = input<number>();\n /** Bottom margin (px) for sticky position calculation. */\n readonly marginBottom = input<number>();\n /**\n * Offset from the top of the viewport (px) used when scrolling to a section,\n * e.g. to clear a sticky header.\n */\n readonly offsetTop = input<number, unknown>(undefined, { transform: numberAttribute });\n readonly togglerButton = viewChild<ElementRef<HTMLButtonElement>>('togglerButton');\n readonly toggleWrapper = viewChild<ElementRef<HTMLDivElement>>('toggleWrapper');\n readonly navTittle = viewChild<ElementRef<HTMLDivElement>>('navTittle');\n /**\n * Emitted when scrolling causes a new section to become active.\n * Payload contains the `sectionId` of the newly active section.\n */\n readonly sectionEnter = output<EclInpageNavigationSectionEnterEvent>();\n\n readonly eclNavigationLinkItems = contentChildren(EclInpageNavigationItemComponent, { descendants: true });\n readonly eclNavigationList = contentChild(EclInpageNavigationListDirective);\n\n /**\n * Whether the mobile dropdown toggle button is currently expanded.\n */\n isButtonExpanded = false;\n currentSectionElement: HTMLElement | null = null;\n public isRtl = false;\n public listMaxHeight = 0;\n private destroy$: Subject<boolean> = new Subject<boolean>();\n private differ: IterableDiffer<EclInpageNavigationItemComponent>;\n private isMobileBreakpoint = false;\n private MIN_DISTANCE_TOP = 10;\n /**\n * Extra spacing (px) kept between the sticky toggler and the target heading when scrolling to a section on mobile,\n * so the heading is not flush against the toggler. Mirrors the spacing buffer used by the vanilla ECL\n * `scroll-margin-top` rule (trigger height + spacing).\n */\n private readonly MOBILE_SCROLL_SPACING = 16;\n private readonly ICON_SIZE_EC_THEME = '2xs';\n private readonly ICON_SIZE_EU_THEME = 's';\n private readonly TABLET_BREAKPOINT = 996;\n private intersectionObserver?: IntersectionObserver;\n private eclRtlService = inject(EclRtlService);\n private differs = inject(IterableDiffers);\n private scrollDispatcher: ScrollDispatcher = inject(ScrollDispatcher);\n private zone = inject(NgZone);\n private cdkBreakpointObserver = inject(BreakpointObserver);\n private viewportRuler = inject(ViewportRuler);\n private eclInpageNavigationService = inject(EclInpageNavigationService);\n private cdr = inject(ChangeDetectorRef);\n private readonly platformId = inject(PLATFORM_ID);\n private readonly doc = inject(DOCUMENT);\n private readonly win = this.doc.defaultView; // Window | null\n private readonly isBrowser = isPlatformBrowser(this.platformId);\n\n constructor() {\n super();\n this.differ = this.differs.find([]).create();\n afterNextRender(() => {\n this.zone.run(() => this.setListHeight());\n });\n }\n\n ngOnInit(): void {\n this.handleRtlChangeState();\n }\n\n ngAfterViewInit() {\n if (!this.isBrowser) return;\n\n this.subscribeToCDKScrollEvent();\n this.observeBreakpointChanges();\n this.viewportRuler.change(300)\n .pipe(takeUntil(this.destroy$))\n .subscribe(() => this.zone.run(() => this.setListHeight()));\n\n const togglerButton = this.togglerButton();\n if (typeof IntersectionObserver !== 'undefined' && togglerButton?.nativeElement) {\n this.intersectionObserver = new IntersectionObserver(() => this.setListHeight());\n this.intersectionObserver.observe(togglerButton.nativeElement);\n }\n }\n\n get hasNavigationList(): boolean {\n return !!this.eclNavigationList();\n }\n\n get currentNavigationLinkItem(): EclInpageNavigationItemComponent | undefined {\n return this.eclNavigationLinkItems().find((item) => item.sectionElement === this.currentSectionElement);\n }\n\n /**\n * the size of the arrow-down icon, used in mobile view. There are different sizes for EC and EU themes.\n */\n get sizeIcon(): string {\n if (this.eclThemeService.isECTheme()) {\n return this.ICON_SIZE_EC_THEME;\n } else {\n return this.ICON_SIZE_EU_THEME;\n }\n }\n\n get hasActiveSection(): boolean {\n return !!this.currentSectionElement;\n }\n\n ngDoCheck(): void {\n const diff = this.differ.diff(this.eclNavigationLinkItems());\n if (diff) {\n diff.forEachItem((item) => {\n this.connectItemEvents(item.item);\n });\n }\n }\n\n ngOnDestroy(): void {\n this.destroy$.next(true);\n this.destroy$.unsubscribe();\n const togglerButton = this.togglerButton();\n if (this.intersectionObserver && togglerButton?.nativeElement) {\n this.intersectionObserver.unobserve(togglerButton.nativeElement);\n this.intersectionObserver.disconnect();\n }\n }\n\n /**\n * On mobile view - handle the dropdown toggle.\n */\n onExpandButtonClick(): void {\n this.setButtonExpanded(!this.isButtonExpanded);\n }\n\n /**\n * Single entry point for changing the dropdown expanded state. Keeps the local flag (used for the button's\n * aria-expanded) and the shared service state (that drives the list's visibility class) in sync.\n */\n private setButtonExpanded(isExpanded: boolean): void {\n this.isButtonExpanded = isExpanded;\n this.eclInpageNavigationService.eclInpageNavigationToggle(isExpanded);\n }\n\n /**\n * Dropdown keyboard navigation on mobile view.\n * @param evt\n */\n onExpandButtonKeydown(evt: Event): void {\n switch ((evt as KeyboardEvent).key) {\n case 'Tab':\n this.onExpandButtonTab(evt);\n break;\n case 'ArrowDown':\n this.onExpandButtonArrowDown(evt);\n break;\n default:\n break;\n }\n }\n\n private handleRtlChangeState(): void {\n this.eclRtlService.currentRtlState$.pipe(takeUntil(this.destroy$)).subscribe((rtlState) => {\n this.isRtl = rtlState;\n });\n }\n\n /**\n * Set the height of the list with the navigation items in px. So in case the full list cannot be displayed, a scroll will appear.\n */\n private setListHeight(): void {\n if (!this.isBrowser) return;\n const eclNavigationList = this.eclNavigationList();\n if (!eclNavigationList) return;\n if (!this.win) return;\n\n const viewportHeight = this.win.innerHeight;\n const viewportWidth = this.win.innerWidth;\n let topPosition = 0;\n\n if (viewportWidth < this.TABLET_BREAKPOINT) {\n const toggleWrapper = this.toggleWrapper()?.nativeElement;\n if (toggleWrapper) {\n const styles = this.win.getComputedStyle(toggleWrapper);\n topPosition =\n toggleWrapper.getBoundingClientRect().bottom +\n parseFloat(styles.marginBottom || '0');\n }\n } else if (this.eclTitle()) {\n const titleEl = this.navTittle()?.nativeElement;\n if (titleEl) topPosition = titleEl.getBoundingClientRect().bottom;\n } else {\n const listEl = eclNavigationList?.el?.nativeElement;\n if (listEl) topPosition = listEl.getBoundingClientRect().top;\n }\n\n const availableSpace = viewportHeight - topPosition;\n if (availableSpace > 0) {\n this.listMaxHeight = availableSpace;\n eclNavigationList.maxHeight.set(this.listMaxHeight);\n }\n }\n\n private onExpandButtonArrowDown(evt: Event): void {\n evt.preventDefault();\n this.setButtonExpanded(true);\n this.eclNavigationLinkItems().at(0)?.onFocus();\n }\n\n private onExpandButtonTab(evt: Event): void {\n if ((evt as KeyboardEvent).shiftKey) {\n evt.preventDefault();\n this.eclNavigationLinkItems().at(this.eclNavigationLinkItems().length - 1)?.onFocus();\n }\n }\n\n private connectItemEvents(item: EclInpageNavigationItemComponent): void {\n outputToObservable(item.itemArrowDown).pipe(takeUntil(this.destroy$)).subscribe(() => {\n this.onItemArrowDown(item);\n });\n\n outputToObservable(item.itemArrowUp).pipe(takeUntil(this.destroy$)).subscribe(() => {\n this.onItemArrowUp(item);\n });\n\n outputToObservable(item.itemTab).pipe(takeUntil(this.destroy$)).subscribe((evt) => {\n this.onItemTab(item, evt);\n });\n\n outputToObservable(item.itemEnter).pipe(takeUntil(this.destroy$)).subscribe(() => {\n this.onItemEnter(item);\n });\n\n outputToObservable(item.itemClick).pipe(takeUntil(this.destroy$)).subscribe(() => {\n this.selectNavigationItem(item.sectionElement);\n if (item.sectionElement) {\n this.scrollToSection(item.sectionElement);\n item.sectionElement.focus();\n }\n this.setButtonExpanded(false);\n });\n }\n\n private onItemEnter(item: EclInpageNavigationItemComponent): void {\n this.selectNavigationItem(item.sectionElement);\n if (item.sectionElement) {\n this.scrollToSection(item.sectionElement);\n if (item.sectionElement.tabIndex === -1) {\n item.sectionElement.tabIndex = 0;\n item.sectionElement.focus();\n item.sectionElement.tabIndex = -1;\n }\n }\n this.setButtonExpanded(false);\n }\n\n /**\n * Scrolls the target section into view. On desktop this is a plain scrollIntoView() (unchanged behaviour). On\n * mobile the in-page navigation toggler is sticky at the top, so a top-aligned scroll would hide the heading\n * underneath it; we therefore set `scroll-margin-top` on the target (sticky toggler height + spacing buffer) and\n * let scrollIntoView() honour it. Using scroll-margin-top instead of a manual window.scrollTo() keeps this working\n * regardless of which element is the actual scroll container (window or a nested scrollable wrapper).\n */\n private scrollToSection(sectionElement: HTMLElement): void {\n if (!this.isBrowser) return;\n const offset = this.getMobileScrollOffset();\n sectionElement.style.scrollMarginTop = offset > 0 ? `${offset}px` : '';\n sectionElement.scrollIntoView();\n }\n\n /**\n * The offset (px) applied on mobile so that a scrolled-to heading clears the sticky toggler: the toggler height\n * plus a spacing buffer. Returns 0 on desktop (no sticky toggler). Shared by the scroll logic and the scroll-spy\n * so the heading lands exactly where the spy expects it, keeping the active item in sync after a click.\n */\n private getMobileScrollOffset(): number {\n if (!this.isMobileBreakpoint) return 0;\n const toggleWrapper = this.toggleWrapper()?.nativeElement;\n if (!toggleWrapper) return 0;\n return toggleWrapper.getBoundingClientRect().height + this.MOBILE_SCROLL_SPACING;\n }\n\n private onItemArrowDown(item: EclInpageNavigationItemComponent): void {\n const index = this.eclNavigationLinkItems().indexOf(item);\n const eclNavigationLinkItems = this.eclNavigationLinkItems();\n if (index !== eclNavigationLinkItems.length - 1) {\n eclNavigationLinkItems.at(index + 1)?.onFocus();\n }\n }\n\n private onItemArrowUp(item: EclInpageNavigationItemComponent): void {\n const index = this.eclNavigationLinkItems().indexOf(item);\n if (index !== 0) {\n this.eclNavigationLinkItems().at(index - 1)?.onFocus();\n } else {\n const togglerButton = this.togglerButton();\n if (this.isMobileBreakpoint && togglerButton) {\n this.setButtonExpanded(false);\n togglerButton.nativeElement.focus();\n }\n }\n }\n\n private onItemTab(item: EclInpageNavigationItemComponent, evt: Event): void {\n if (this.isMobileBreakpoint) {\n if (!(evt as KeyboardEvent).shiftKey) {\n const index = this.eclNavigationLinkItems().indexOf(item);\n if (index === this.eclNavigationLinkItems().length - 1) {\n evt.preventDefault();\n this.togglerButton()?.nativeElement.focus();\n }\n }\n }\n }\n\n private subscribeToCDKScrollEvent(): void {\n if (!this.isBrowser) return;\n\n this.scrollDispatcher\n .scrolled()\n .pipe(takeUntil(this.destroy$))\n .subscribe(() => {\n this.zone.run(() => {\n const ids = this.eclNavigationLinkItems().map((item) => item.sectionId());\n\n const sectionElements = ids\n .map((id) => this.doc.querySelector<HTMLElement>(`#${id}`))\n .filter((el): el is HTMLElement => !!el);\n\n this.handleNavigationLinksHighlight(sectionElements);\n this.setListHeight();\n });\n });\n }\n\n private selectNavigationItem(itemElement: HTMLElement | null): void {\n this.eclNavigationLinkItems().forEach((it) => {\n it.isActive.set(it.sectionElement === itemElement);\n });\n this.cdr.markForCheck();\n }\n\n private handleNavigationLinksHighlight(sectionElements: HTMLElement[]): void {\n const currentSectionElement = this.findActiveSectionElement(sectionElements);\n\n if (currentSectionElement !== this.currentSectionElement) {\n this.currentSectionElement = currentSectionElement;\n if (currentSectionElement) this.selectNavigationItem(currentSectionElement);\n\n const sectionId = this.currentNavigationLinkItem?.sectionId();\n this.sectionEnter.emit(new EclInpageNavigationSectionEnterEvent(sectionId!));\n }\n }\n\n private findActiveSectionElement(sectionElements: HTMLElement[]): HTMLElement | null {\n if (!this.isBrowser || !this.win) return null;\n\n let currentSection: HTMLElement | null = null;\n // On mobile the heading is scrolled to sit just below the sticky toggler, so the spy must use that same\n // offset; otherwise it would highlight the previous section. The extra MIN_DISTANCE_TOP is a cushion so a\n // heading that lands right on the boundary (sub-pixel rounding) is still treated as \"reached\". On desktop\n // keep the original threshold.\n const offset = this.isMobileBreakpoint\n ? this.getMobileScrollOffset() + this.MIN_DISTANCE_TOP\n : this.MIN_DISTANCE_TOP + (this.offsetTop() ?? 0);\n\n const isNearBottom =\n this.win.innerHeight + this.win.scrollY >=\n this.doc.documentElement.scrollHeight - 10;\n\n for (const sectionElement of sectionElements) {\n const rect = sectionElement.getBoundingClientRect();\n const isAboveOffset = rect.top <= offset;\n const isVisibleInViewport = rect.top < this.win.innerHeight;\n\n if (isAboveOffset || (isVisibleInViewport && isNearBottom)) {\n currentSection = sectionElement;\n }\n }\n\n return currentSection;\n }\n\n private observeBreakpointChanges(): void {\n this.cdkBreakpointObserver\n .observe([Breakpoints.Handset, Breakpoints.Tablet, Breakpoints.Small])\n .pipe(takeUntil(this.destroy$))\n .subscribe((result) => {\n this.isMobileBreakpoint = result.matches;\n });\n }\n}\n","<ecl-sticky-container [marginTop]=\"marginTop()\" [marginBottom]=\"marginBottom()\">\n <nav aria-labelledby=\"ecl-inpage-navigation-default\" class=\"ecl-inpage-navigation\"\n [class.ecl-inpage-navigation--visible]=\"hasActiveSection\" [class.ecl-inpage-navigation--rtl]=\"isRtl\">\n <div #navTittle id=\"ecl-inpage-navigation-default\" class=\"ecl-inpage-navigation__title\">\n {{ eclTitle() || 'ecl.inpage-navigation.PAGE-CONTENTS' | translate }}\n </div>\n <div class=\"ecl-inpage-navigation__body\">\n <div #toggleWrapper class=\"ecl-inpage-navigation__trigger-wrapper\">\n <button #togglerButton id=\"ecl-inpage-navigation-default-trigger\" type=\"button\"\n class=\"ecl-inpage-navigation__trigger\" aria-controls=\"ecl-inpage-navigation-list\"\n [attr.aria-expanded]=\"isButtonExpanded\" (click)=\"onExpandButtonClick()\"\n (keydown)=\"onExpandButtonKeydown($event)\">\n <span class=\"ecl-inpage-navigation__trigger-current\">\n {{ currentNavigationLinkItem?.label() }}\n </span>\n <ecl-icon icon=\"corner-arrow\" [size]=\"sizeIcon\" transform=\"rotate-180\"\n class=\"ecl-inpage-navigation__trigger-icon\" title=\"Show full page table of contents\">\n </ecl-icon>\n </button>\n </div>\n <ng-content></ng-content>\n </div>\n </nav>\n</ecl-sticky-container>","import { EclInpageNavigationItemComponent } from './ecl-inpage-navigation-item.component';\nimport { EclInpageNavigationListDirective } from './ecl-inpage-navigation-list.directive';\nimport { EclInpageNavigationComponent } from './ecl-inpage-navigation.component';\n\nexport * from './ecl-inpage-navigation.component';\nexport * from './ecl-inpage-navigation-item.component';\nexport * from './ecl-inpage-navigation-list.directive';\nexport * from './services/ecl-inpage-navigation.service';\n\nexport const EUI_ECL_INPAGE_NAVIGATION = [\n EclInpageNavigationComponent, EclInpageNavigationItemComponent, EclInpageNavigationListDirective,\n] as const;"],"mappings":";;;;;;;;;;;;;;;;AAWA,IAAa,oCAAb,cAAuD,aAAY;CAC/D,YAAmB,kBAAwB;EACvC,MAAK;EADU,KAAA,mBAAA;CAEnB;AACH;AA6BD,IAAa,mCAAb,MAAa,yCAAyC,iBAAgB;CAlBtE,cAAA;;EAsBa,KAAA,QAAQ,MAAe,G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,MAAA,CAAA,GAAA,iBAC/D,gCAAgC,GAAA,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;CAAA;AAAA,CAAA;AEhE9E,MAAa,4BAA4B;CACrC;CAA8B;CAAkC;AAC1D"}
|
|
@@ -35,7 +35,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
35
35
|
type: Directive,
|
|
36
36
|
args: [{
|
|
37
37
|
selector: "[eclListIllustrationIcon]",
|
|
38
|
-
host: {
|
|
38
|
+
host: { class: "ecl-list-illustration__icon" }
|
|
39
39
|
}]
|
|
40
40
|
}]
|
|
41
41
|
});
|
|
@@ -257,8 +257,8 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
257
257
|
args: [{
|
|
258
258
|
selector: "ecl-list-illustration-item, li[eclListIllustrationItem]",
|
|
259
259
|
host: {
|
|
260
|
-
|
|
261
|
-
|
|
260
|
+
class: "ecl-list-illustration__item",
|
|
261
|
+
role: "listitem"
|
|
262
262
|
},
|
|
263
263
|
template: "<div class=\"ecl-list-illustration__item-content\" [class.ecl-list-illustration__item-content--row]=\"isVerticalPicture()\"\n [class.ecl-list-illustration__divider]=\"hasDivider()\">\n <ng-content select=\"[eclListIllustrationImage],[eclListIllustrationPicture],[eclListIllustrationIcon]\"></ng-content>\n <div class=\"ecl-list-illustration__detail\">\n @if (hasTitle() || hasValue()) {\n <div class=\"ecl-list-illustration__title-container\">\n @if (hasValue()) {\n <div class=\"ecl-list-illustration__value\">{{ eclValue() }}</div>\n }\n <div class=\"ecl-list-illustration__title\">{{ eclTitle() }}</div>\n </div>\n }\n\n <div class=\"ecl-list-illustration__description\">\n <ng-content></ng-content>\n </div>\n </div>\n</div>"
|
|
264
264
|
}]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eui-ecl-components-ecl-list-illustration.mjs","names":[],"sources":["../../components/ecl-list-illustration/ecl-list-illustration-icon.directive.ts","../../components/ecl-list-illustration/ecl-list-illustration-picture.directive.ts","../../components/ecl-list-illustration/ecl-list-illustration-item.component.ts","../../components/ecl-list-illustration/ecl-list-illustration-item.component.html","../../components/ecl-list-illustration/ecl-list-illustration.component.ts","../../components/ecl-list-illustration/ecl-list-illustration.component.html","../../components/ecl-list-illustration/index.ts"],"sourcesContent":["import { Directive } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Directive representing an icon within an ECL illustration list item.\n *\n * Applies the correct ECL class for list item icons.\n */\n@Directive({\n selector: '[eclListIllustrationIcon]',\n host: {\n 'class': 'ecl-list-illustration__icon',\n },\n})\nexport class EclListIllustrationIconDirective extends ECLBaseDirective {}\n","import { Directive, booleanAttribute, forwardRef, AfterContentInit, input, contentChild, computed, signal } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Styles a `<picture>` element inside an ECL illustration list item.\n * Adds `ecl-picture ecl-list-illustration__picture` and an optional square modifier.\n * Propagates `isSquare` to the nested `img[eclListIllustrationImage]` after content initialisation.\n *\n * - `isSquare` — when `true`, forces square aspect-ratio styling on both the picture and its image.\n */\n@Directive({\n selector: 'picture[eclListIllustrationPicture]',\n host: {\n '[class]': 'cssClasses()',\n },\n})\nexport class EclListIllustrationPictureDirective extends ECLBaseDirective implements AfterContentInit {\n\n /**\n * If true, image is styled with square dimensions.\n */\n readonly isSquare = input(false, { transform: booleanAttribute });\n\n readonly eclIllustrationImage = contentChild.required(forwardRef(() => EclListIllustrationImageDirective));\n\n /**\n * Applies the base ECL picture classes for list illustration pictures.\n */\n protected readonly cssClasses = computed<string>(() =>\n [super.getCssClasses('ecl-picture ecl-list-illustration__picture'),\n this.isSquare() ? 'ecl-list-illustration__picture--square' : '',\n ].join(' ').trim());\n\n ngAfterContentInit(): void {\n this.eclIllustrationImage().isSquare.set(this.isSquare());\n }\n}\n\n/**\n * Styles an `<img>` element inside an ECL illustration list picture.\n * Adds `ecl-list-illustration__image` plus optional square and size modifier classes.\n *\n * - `isSquare` — set programmatically by the parent `EclListIllustrationPictureDirective`.\n * - `size` — `'s'`, `'m'` (default), `'l'`; applied only when `isSquare` is `true`.\n */\n@Directive({\n selector: 'img[eclListIllustrationImage]',\n host: {\n '[class]': 'cssClasses()',\n },\n})\nexport class EclListIllustrationImageDirective extends ECLBaseDirective {\n /**\n * If true, image is styled with square dimensions.\n */\n readonly isSquare = signal(false);\n\n /**\n * Defines the size variant of the image.\n * Possible values: `'s'`, `'m'`, `'l'`.\n */\n readonly size = input<'s' | 'm' | 'l'>('m');\n\n /**\n * Computes the appropriate ECL CSS classes for the image.\n */\n protected readonly cssClasses = computed<string>(() =>\n [\n super.getCssClasses('ecl-list-illustration__image'),\n this.isSquare() ? 'ecl-list-illustration__image--square' : '',\n this.isSquare() ? `ecl-list-illustration__image--${this.size()}` : '',\n ]\n .join(' ')\n .trim());\n}\n","import {\n Component,\n computed,\n forwardRef,\n Signal,\n signal,\n input,\n contentChild,\n} from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclListIllustrationIconDirective } from './ecl-list-illustration-icon.directive';\nimport { EclListIllustrationPictureDirective } from './ecl-list-illustration-picture.directive';\n\n/**\n * A single item in an ECL illustration list, containing an optional title, value, and illustration media.\n * Apply as `ecl-list-illustration-item` or `li[eclListIllustrationItem]`; adds `ecl-list-illustration__item`.\n *\n * - `eclTitle` — item heading text; `eclValue` — item value text.\n * - Content projection: `[eclListIllustrationIcon]` for icon variant; `picture[eclListIllustrationPicture]` for picture variant.\n * - `isVerticalPicture` and `hasDivider` are set programmatically by the parent `EclListIllustrationComponent`.\n */\n@Component({\n selector: 'ecl-list-illustration-item, li[eclListIllustrationItem]',\n templateUrl: './ecl-list-illustration-item.component.html',\n host: {\n 'class': 'ecl-list-illustration__item',\n 'role': 'listitem',\n },\n})\nexport class EclListIllustrationItemComponent extends ECLBaseDirective {\n /** Title text displayed as the item heading. */\n readonly eclTitle = input('');\n\n /** Value text displayed below the title. */\n readonly eclValue = input('');\n\n readonly eclIllustrationIcon = contentChild(forwardRef(() => EclListIllustrationIconDirective));\n\n readonly eclIllustrationPicture = contentChild(forwardRef(() => EclListIllustrationPictureDirective));\n\n /** A special class needs to be added, for vertical lists with picture. */\n isVerticalPicture = signal(false);\n\n /** A special class needs to be added, if an icon list has dividers between items. */\n hasDivider = signal(false);\n\n hasPicture: Signal<boolean> = computed(() => this.eclIllustrationPicture() !== undefined);\n\n /**\n * `true` if the item has a title text or a projected icon — used by the template to control layout.\n */\n readonly hasTitle = computed(() => Boolean(this.eclTitle()) || this.eclIllustrationIcon() !== undefined);\n\n /**\n * `true` if `eclValue` is non-empty — used by the template to conditionally render the value.\n */\n readonly hasValue = computed(() => Boolean(this.eclValue()));\n}\n","<div class=\"ecl-list-illustration__item-content\" [class.ecl-list-illustration__item-content--row]=\"isVerticalPicture()\"\n [class.ecl-list-illustration__divider]=\"hasDivider()\">\n <ng-content select=\"[eclListIllustrationImage],[eclListIllustrationPicture],[eclListIllustrationIcon]\"></ng-content>\n <div class=\"ecl-list-illustration__detail\">\n @if (hasTitle() || hasValue()) {\n <div class=\"ecl-list-illustration__title-container\">\n @if (hasValue()) {\n <div class=\"ecl-list-illustration__value\">{{ eclValue() }}</div>\n }\n <div class=\"ecl-list-illustration__title\">{{ eclTitle() }}</div>\n </div>\n }\n\n <div class=\"ecl-list-illustration__description\">\n <ng-content></ng-content>\n </div>\n </div>\n</div>","import { Component, booleanAttribute, numberAttribute, afterNextRender, inject, forwardRef, AfterContentInit, Signal, computed, input, effect, signal, contentChildren } from '@angular/core';\nimport { BreakpointObserver } from '@angular/cdk/layout';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclListIllustrationItemComponent } from './ecl-list-illustration-item.component';\n\n/**\n * Renders an ECL illustration list — a list of items where each entry can include a picture or icon\n * alongside a title and value, following ECL design standards.\n * Supports zebra-striped rows, responsive horizontal grid columns, icon-list and number-list variants,\n * centred content, and inline icon layout.\n *\n * - Variant axis: `variant` — `'icon-list'`, `'number-list'`, or `null` (default illustration layout).\n * - Grid: `horizontalColumns` > 0 activates a CSS grid; `isZebra` alternates background colours.\n * - Typography: `fontSize` — `'m'` or `'l'` (default); `isCentered` centres content.\n * - `hasDividers` adds dividers between items in `'icon-list'` variant.\n * - `counterStart` sets the starting value for a number-list counter.\n * - Compose with `ecl-list-illustration-item` or `li[eclListIllustrationItem]` children.\n */\n@Component({\n selector: 'ecl-list-illustration, ul[eclListIllustration], ol[eclListIllustration]',\n templateUrl: './ecl-list-illustration.component.html',\n host: {\n '[attr.role]': 'role',\n '[class]': 'cssClasses()',\n '[style.display]': 'elementDisplayStyle()',\n '[style.--ecl-list-illustration-counter-start]': 'counterStartStyle',\n '[attr.start]': 'startAttr',\n },\n})\nexport class EclListIllustrationComponent extends ECLBaseDirective implements AfterContentInit {\n /**\n * Enables zebra style (alternating background colors for list items).\n */\n readonly isZebra = input(false, { transform: booleanAttribute });\n\n /**\n * Number of horizontal columns. If greater than `0`, items are displayed in a grid layout.\n */\n horizontalColumns = input(0, { transform: numberAttribute });\n\n /**\n * Font size for list item content. `'m'` — medium; `'l'` — large (default).\n */\n readonly fontSize = input<'m' | 'l'>('l');\n\n /** When `true`, centres all item content horizontally. */\n readonly isCentered = input(false, { transform: booleanAttribute });\n\n /** When `true`, places the icon on the same row as the title (icon-list variant). */\n readonly isIconInline = input(false, { transform: booleanAttribute });\n\n /** Visual variant of the list. `'icon-list'` — icon-led items; `'number-list'` — numbered items; `null` — default picture layout. */\n readonly variant = input<'icon-list' | 'number-list' | null>(null);\n\n /** Adds dividers between items in the `'icon-list'` variant. */\n readonly hasDividers = input(false, { transform: booleanAttribute });\n\n /** Starting counter value for `'number-list'` variant. `null` uses CSS counter default. */\n counterStart = input<number | null, unknown>(null, { transform: numberAttribute });\n\n readonly eclIllustrationItems = contentChildren(forwardRef(() => EclListIllustrationItemComponent));\n\n /**\n * Applies ARIA role for list elements.\n */\n role = 'list';\n\n /**\n * CSS classes applied to the host based on the current inputs.\n */\n protected readonly cssClasses = computed<string>(() =>\n [\n super.getCssClasses('ecl-list-illustration'),\n this.isZebra() ? 'ecl-list-illustration--zebra' : '',\n this.horizontalColumns() > 0 ? `ecl-list-illustration--col-${this.horizontalColumns()}` : '',\n this.fontSize() === 'm' ? 'ecl-list-illustration--font-m' : '',\n this.isCentered() ? 'ecl-list-illustration--centered' : '',\n this.isIconInline() ? 'ecl-list-illustration--icon-inline' : '',\n this.variant() === 'icon-list' ? 'ecl-list-illustration--icon-list' : '',\n this.variant() === 'number-list' ? 'ecl-list-illustration--number-list ecl-list-illustration--number-list-reset': '',\n ]\n .join(' ')\n .trim());\n\n /**\n * Controls `display` style of the host element based on breakpoint and column count.\n */\n elementDisplayStyle = computed(() =>\n this.horizontalColumns() > 0 && this.isTabletBreakpoint() ? null : 'block'\n );\n\n counterStartStyle = '';\n\n startAttr: string | null = null;\n\n private isTabletBreakpoint = signal(false);\n private cdkBreakpointObserver = inject(BreakpointObserver);\n\n constructor() {\n super();\n afterNextRender(() => {\n this.observeBreakpointChanges();\n });\n effect(() => {\n const value = this.counterStart();\n const stringValue = value != null ? `${value}` : null;\n\n this.startAttr = stringValue;\n this.counterStartStyle = stringValue ?? '';\n });\n }\n\n ngAfterContentInit(): void {\n if (this.horizontalColumns() === 0) {\n this.eclIllustrationItems()?.forEach(item => {\n if (item.hasPicture()) item.isVerticalPicture.set(true);\n });\n }\n\n if (this.variant() === 'icon-list' && this.hasDividers()) {\n this.eclIllustrationItems()?.forEach(item => {\n item.hasDivider.set(true);\n });\n }\n }\n\n private observeBreakpointChanges(): void {\n this.cdkBreakpointObserver\n .observe(['(min-width: 768px)'])\n .subscribe((result) => {\n this.isTabletBreakpoint.set(result.matches);\n });\n }\n}\n","<ng-content></ng-content>","import { EclListIllustrationIconDirective } from './ecl-list-illustration-icon.directive';\nimport { EclListIllustrationItemComponent } from './ecl-list-illustration-item.component';\nimport { EclListIllustrationImageDirective, EclListIllustrationPictureDirective } from './ecl-list-illustration-picture.directive';\nimport { EclListIllustrationComponent } from './ecl-list-illustration.component';\n\nexport * from './ecl-list-illustration-item.component';\nexport * from './ecl-list-illustration-icon.directive';\nexport * from './ecl-list-illustration-picture.directive';\nexport * from './ecl-list-illustration.component';\n\nexport const EUI_ECL_LIST_ILUSTRATION = [\n EclListIllustrationComponent,\n EclListIllustrationItemComponent,\n EclListIllustrationIconDirective,\n EclListIllustrationPictureDirective,\n EclListIllustrationImageDirective,\n] as const;"],"mappings":";;;;AAcA,IAAa,mCAAb,MAAa,yCAAyC,iBAAgB;CAAzD;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAgC,MAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAAhC;EAAA,KAAA,OAAA,GAAA,qBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,MAAA;GAAgC,cAAA;GAAA,UAAA;GAAA,MAAA,EAAA,gBAAA,8BAAA;GAAA,iBAAA;GAAA,UAAA;EAAA,CAAA;CAAA;;AAAhC,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAgC,YAAA,CAAA;EAN5C,MAAA;EAAU,MAAA,CAAA;GACP,UAAU;GACV,MAAM,EACF,SAAS,8BACZ;EACJ,CAAA;;;ACGD,IAAa,sCAAb,MAAa,4CAA4C,iBAAgB;CANzE,cAAA;;EAWa,KAAA,WAAW,MAAM,OAAK;GAAA,GAAA,YAAA,EAAA,WAAA,WAAA,+BAAA,CAAA;GAAI,WAAW;EAAgB,CAAA;EAErD,KAAA,uBAAuB,aAAa,SAAS,iBAAiB,iCAAiC,GAAE,GAAA,YAAA,CAAA,EAAA,WAAA,uBAAA,CAAA,+BAAA,CAAA,CAAA;EAKvF,KAAA,aAAa,eAC5B,CAAC,MAAM,cAAc,4CAA4C,GAC7D,KAAK,SAAQ,IAAK,2CAA2C,EAChE,CAAA,CAAC,KAAK,GAAG,CAAC,CAAC,KAAI,GAAG,GAAA,YAAA,CAAA,EAAA,W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AAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,mBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,UAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,YAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,cAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,SAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,aAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,cAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,sBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,iBAAiB,gCAAgC,GAAC,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;CAAA;AAAA,CAAA;AElDtG,MAAa,2BAA2B;CACpC;CACA;CACA;CACA;CACA;AACM"}
|
|
1
|
+
{"version":3,"file":"eui-ecl-components-ecl-list-illustration.mjs","names":[],"sources":["../../components/ecl-list-illustration/ecl-list-illustration-icon.directive.ts","../../components/ecl-list-illustration/ecl-list-illustration-picture.directive.ts","../../components/ecl-list-illustration/ecl-list-illustration-item.component.ts","../../components/ecl-list-illustration/ecl-list-illustration-item.component.html","../../components/ecl-list-illustration/ecl-list-illustration.component.ts","../../components/ecl-list-illustration/ecl-list-illustration.component.html","../../components/ecl-list-illustration/index.ts"],"sourcesContent":["import { Directive } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Directive representing an icon within an ECL illustration list item.\n *\n * Applies the correct ECL class for list item icons.\n */\n@Directive({\n selector: '[eclListIllustrationIcon]',\n host: {\n class: 'ecl-list-illustration__icon',\n },\n})\nexport class EclListIllustrationIconDirective extends ECLBaseDirective {}\n","import { Directive, booleanAttribute, forwardRef, AfterContentInit, input, contentChild, computed, signal } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Styles a `<picture>` element inside an ECL illustration list item.\n * Adds `ecl-picture ecl-list-illustration__picture` and an optional square modifier.\n * Propagates `isSquare` to the nested `img[eclListIllustrationImage]` after content initialisation.\n *\n * - `isSquare` — when `true`, forces square aspect-ratio styling on both the picture and its image.\n */\n@Directive({\n selector: 'picture[eclListIllustrationPicture]',\n host: {\n '[class]': 'cssClasses()',\n },\n})\nexport class EclListIllustrationPictureDirective extends ECLBaseDirective implements AfterContentInit {\n\n /**\n * If true, image is styled with square dimensions.\n */\n readonly isSquare = input(false, { transform: booleanAttribute });\n\n readonly eclIllustrationImage = contentChild.required(forwardRef(() => EclListIllustrationImageDirective));\n\n /**\n * Applies the base ECL picture classes for list illustration pictures.\n */\n protected readonly cssClasses = computed<string>(() =>\n [super.getCssClasses('ecl-picture ecl-list-illustration__picture'),\n this.isSquare() ? 'ecl-list-illustration__picture--square' : '',\n ].join(' ').trim());\n\n ngAfterContentInit(): void {\n this.eclIllustrationImage().isSquare.set(this.isSquare());\n }\n}\n\n/**\n * Styles an `<img>` element inside an ECL illustration list picture.\n * Adds `ecl-list-illustration__image` plus optional square and size modifier classes.\n *\n * - `isSquare` — set programmatically by the parent `EclListIllustrationPictureDirective`.\n * - `size` — `'s'`, `'m'` (default), `'l'`; applied only when `isSquare` is `true`.\n */\n@Directive({\n selector: 'img[eclListIllustrationImage]',\n host: {\n '[class]': 'cssClasses()',\n },\n})\nexport class EclListIllustrationImageDirective extends ECLBaseDirective {\n /**\n * If true, image is styled with square dimensions.\n */\n readonly isSquare = signal(false);\n\n /**\n * Defines the size variant of the image.\n * Possible values: `'s'`, `'m'`, `'l'`.\n */\n readonly size = input<'s' | 'm' | 'l'>('m');\n\n /**\n * Computes the appropriate ECL CSS classes for the image.\n */\n protected readonly cssClasses = computed<string>(() =>\n [\n super.getCssClasses('ecl-list-illustration__image'),\n this.isSquare() ? 'ecl-list-illustration__image--square' : '',\n this.isSquare() ? `ecl-list-illustration__image--${this.size()}` : '',\n ]\n .join(' ')\n .trim());\n}\n","import {\n Component,\n computed,\n forwardRef,\n Signal,\n signal,\n input,\n contentChild,\n} from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclListIllustrationIconDirective } from './ecl-list-illustration-icon.directive';\nimport { EclListIllustrationPictureDirective } from './ecl-list-illustration-picture.directive';\n\n/**\n * A single item in an ECL illustration list, containing an optional title, value, and illustration media.\n * Apply as `ecl-list-illustration-item` or `li[eclListIllustrationItem]`; adds `ecl-list-illustration__item`.\n *\n * - `eclTitle` — item heading text; `eclValue` — item value text.\n * - Content projection: `[eclListIllustrationIcon]` for icon variant; `picture[eclListIllustrationPicture]` for picture variant.\n * - `isVerticalPicture` and `hasDivider` are set programmatically by the parent `EclListIllustrationComponent`.\n */\n@Component({\n selector: 'ecl-list-illustration-item, li[eclListIllustrationItem]',\n templateUrl: './ecl-list-illustration-item.component.html',\n host: {\n class: 'ecl-list-illustration__item',\n role: 'listitem',\n },\n})\nexport class EclListIllustrationItemComponent extends ECLBaseDirective {\n /** Title text displayed as the item heading. */\n readonly eclTitle = input('');\n\n /** Value text displayed below the title. */\n readonly eclValue = input('');\n\n readonly eclIllustrationIcon = contentChild(forwardRef(() => EclListIllustrationIconDirective));\n\n readonly eclIllustrationPicture = contentChild(forwardRef(() => EclListIllustrationPictureDirective));\n\n /** A special class needs to be added, for vertical lists with picture. */\n isVerticalPicture = signal(false);\n\n /** A special class needs to be added, if an icon list has dividers between items. */\n hasDivider = signal(false);\n\n hasPicture: Signal<boolean> = computed(() => this.eclIllustrationPicture() !== undefined);\n\n /**\n * `true` if the item has a title text or a projected icon — used by the template to control layout.\n */\n readonly hasTitle = computed(() => Boolean(this.eclTitle()) || this.eclIllustrationIcon() !== undefined);\n\n /**\n * `true` if `eclValue` is non-empty — used by the template to conditionally render the value.\n */\n readonly hasValue = computed(() => Boolean(this.eclValue()));\n}\n","<div class=\"ecl-list-illustration__item-content\" [class.ecl-list-illustration__item-content--row]=\"isVerticalPicture()\"\n [class.ecl-list-illustration__divider]=\"hasDivider()\">\n <ng-content select=\"[eclListIllustrationImage],[eclListIllustrationPicture],[eclListIllustrationIcon]\"></ng-content>\n <div class=\"ecl-list-illustration__detail\">\n @if (hasTitle() || hasValue()) {\n <div class=\"ecl-list-illustration__title-container\">\n @if (hasValue()) {\n <div class=\"ecl-list-illustration__value\">{{ eclValue() }}</div>\n }\n <div class=\"ecl-list-illustration__title\">{{ eclTitle() }}</div>\n </div>\n }\n\n <div class=\"ecl-list-illustration__description\">\n <ng-content></ng-content>\n </div>\n </div>\n</div>","import { Component, booleanAttribute, numberAttribute, afterNextRender, inject, forwardRef, AfterContentInit, Signal, computed, input, effect, signal, contentChildren } from '@angular/core';\nimport { BreakpointObserver } from '@angular/cdk/layout';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclListIllustrationItemComponent } from './ecl-list-illustration-item.component';\n\n/**\n * Renders an ECL illustration list — a list of items where each entry can include a picture or icon\n * alongside a title and value, following ECL design standards.\n * Supports zebra-striped rows, responsive horizontal grid columns, icon-list and number-list variants,\n * centred content, and inline icon layout.\n *\n * - Variant axis: `variant` — `'icon-list'`, `'number-list'`, or `null` (default illustration layout).\n * - Grid: `horizontalColumns` > 0 activates a CSS grid; `isZebra` alternates background colours.\n * - Typography: `fontSize` — `'m'` or `'l'` (default); `isCentered` centres content.\n * - `hasDividers` adds dividers between items in `'icon-list'` variant.\n * - `counterStart` sets the starting value for a number-list counter.\n * - Compose with `ecl-list-illustration-item` or `li[eclListIllustrationItem]` children.\n */\n@Component({\n selector: 'ecl-list-illustration, ul[eclListIllustration], ol[eclListIllustration]',\n templateUrl: './ecl-list-illustration.component.html',\n host: {\n '[attr.role]': 'role',\n '[class]': 'cssClasses()',\n '[style.display]': 'elementDisplayStyle()',\n '[style.--ecl-list-illustration-counter-start]': 'counterStartStyle',\n '[attr.start]': 'startAttr',\n },\n})\nexport class EclListIllustrationComponent extends ECLBaseDirective implements AfterContentInit {\n /**\n * Enables zebra style (alternating background colors for list items).\n */\n readonly isZebra = input(false, { transform: booleanAttribute });\n\n /**\n * Number of horizontal columns. If greater than `0`, items are displayed in a grid layout.\n */\n horizontalColumns = input(0, { transform: numberAttribute });\n\n /**\n * Font size for list item content. `'m'` — medium; `'l'` — large (default).\n */\n readonly fontSize = input<'m' | 'l'>('l');\n\n /** When `true`, centres all item content horizontally. */\n readonly isCentered = input(false, { transform: booleanAttribute });\n\n /** When `true`, places the icon on the same row as the title (icon-list variant). */\n readonly isIconInline = input(false, { transform: booleanAttribute });\n\n /** Visual variant of the list. `'icon-list'` — icon-led items; `'number-list'` — numbered items; `null` — default picture layout. */\n readonly variant = input<'icon-list' | 'number-list' | null>(null);\n\n /** Adds dividers between items in the `'icon-list'` variant. */\n readonly hasDividers = input(false, { transform: booleanAttribute });\n\n /** Starting counter value for `'number-list'` variant. `null` uses CSS counter default. */\n counterStart = input<number | null, unknown>(null, { transform: numberAttribute });\n\n readonly eclIllustrationItems = contentChildren(forwardRef(() => EclListIllustrationItemComponent));\n\n /**\n * Applies ARIA role for list elements.\n */\n role = 'list';\n\n /**\n * CSS classes applied to the host based on the current inputs.\n */\n protected readonly cssClasses = computed<string>(() =>\n [\n super.getCssClasses('ecl-list-illustration'),\n this.isZebra() ? 'ecl-list-illustration--zebra' : '',\n this.horizontalColumns() > 0 ? `ecl-list-illustration--col-${this.horizontalColumns()}` : '',\n this.fontSize() === 'm' ? 'ecl-list-illustration--font-m' : '',\n this.isCentered() ? 'ecl-list-illustration--centered' : '',\n this.isIconInline() ? 'ecl-list-illustration--icon-inline' : '',\n this.variant() === 'icon-list' ? 'ecl-list-illustration--icon-list' : '',\n this.variant() === 'number-list' ? 'ecl-list-illustration--number-list ecl-list-illustration--number-list-reset': '',\n ]\n .join(' ')\n .trim());\n\n /**\n * Controls `display` style of the host element based on breakpoint and column count.\n */\n elementDisplayStyle = computed(() =>\n this.horizontalColumns() > 0 && this.isTabletBreakpoint() ? null : 'block'\n );\n\n counterStartStyle = '';\n\n startAttr: string | null = null;\n\n private isTabletBreakpoint = signal(false);\n private cdkBreakpointObserver = inject(BreakpointObserver);\n\n constructor() {\n super();\n afterNextRender(() => {\n this.observeBreakpointChanges();\n });\n effect(() => {\n const value = this.counterStart();\n const stringValue = value != null ? `${value}` : null;\n\n this.startAttr = stringValue;\n this.counterStartStyle = stringValue ?? '';\n });\n }\n\n ngAfterContentInit(): void {\n if (this.horizontalColumns() === 0) {\n this.eclIllustrationItems()?.forEach(item => {\n if (item.hasPicture()) item.isVerticalPicture.set(true);\n });\n }\n\n if (this.variant() === 'icon-list' && this.hasDividers()) {\n this.eclIllustrationItems()?.forEach(item => {\n item.hasDivider.set(true);\n });\n }\n }\n\n private observeBreakpointChanges(): void {\n this.cdkBreakpointObserver\n .observe(['(min-width: 768px)'])\n .subscribe((result) => {\n this.isTabletBreakpoint.set(result.matches);\n });\n }\n}\n","<ng-content></ng-content>","import { EclListIllustrationIconDirective } from './ecl-list-illustration-icon.directive';\nimport { EclListIllustrationItemComponent } from './ecl-list-illustration-item.component';\nimport { EclListIllustrationImageDirective, EclListIllustrationPictureDirective } from './ecl-list-illustration-picture.directive';\nimport { EclListIllustrationComponent } from './ecl-list-illustration.component';\n\nexport * from './ecl-list-illustration-item.component';\nexport * from './ecl-list-illustration-icon.directive';\nexport * from './ecl-list-illustration-picture.directive';\nexport * from './ecl-list-illustration.component';\n\nexport const EUI_ECL_LIST_ILUSTRATION = [\n EclListIllustrationComponent,\n EclListIllustrationItemComponent,\n EclListIllustrationIconDirective,\n EclListIllustrationPictureDirective,\n EclListIllustrationImageDirective,\n] as const;"],"mappings":";;;;AAcA,IAAa,mCAAb,MAAa,yCAAyC,iBAAgB;CAAzD;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAgC,MAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAAhC;EAAA,KAAA,OAAA,GAAA,qBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,MAAA;GAAgC,cAAA;GAAA,UAAA;GAAA,MAAA,EAAA,gBAAA,8BAAA;GAAA,iBAAA;GAAA,UAAA;EAAA,CAAA;CAAA;;AAAhC,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAgC,YAAA,CAAA;EAN5C,MAAA;EAAU,MAAA,CAAA;GACP,UAAU;GACV,MAAM,EACF,OAAO,8BACV;EACJ,CAAA;;;ACGD,IAAa,sCAAb,MAAa,4CAA4C,iBAAgB;CANzE,cAAA;;EAWa,KAAA,WAAW,MAAM,OAAK;GAAA,GAAA,YAAA,EAAA,WAAA,WAAA,+BAAA,CAAA;GAAI,WAAW;EAAgB,CAAA;EAErD,KAAA,uBAAuB,aAAa,SAAS,iBAAiB,iCAAiC,GAAE,GAAA,YAAA,CAAA,EAAA,WAAA,uBAAA,CAAA,+BAAA,CAAA,CAAA;EAKvF,KAAA,aAAa,eAC5B,CAAC,MAAM,cAAc,4CAA4C,GAC7D,KAAK,SAAQ,IAAK,2CAA2C,EAChE,CAAA,CAAC,KAAK,GAAG,CAAC,CAAC,KAAI,GAAG,GAAA,YAAA,CAAA,E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
|
307
|
+
host: { class: "ecl-ordered-list" }
|
|
308
308
|
}]
|
|
309
309
|
}]
|
|
310
310
|
});
|
|
@@ -341,7 +341,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
341
341
|
type: Directive,
|
|
342
342
|
args: [{
|
|
343
343
|
selector: "[eclOrderedListItem]",
|
|
344
|
-
host: {
|
|
344
|
+
host: { class: "ecl-ordered-list__item" }
|
|
345
345
|
}]
|
|
346
346
|
}]
|
|
347
347
|
});
|
|
@@ -412,7 +412,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
412
412
|
args: [{
|
|
413
413
|
selector: "[eclUnorderedList]",
|
|
414
414
|
host: {
|
|
415
|
-
|
|
415
|
+
class: "ecl-unordered-list",
|
|
416
416
|
"[class.ecl-unordered-list--divider]": "isDivider()",
|
|
417
417
|
"[class.ecl-unordered-list--no-marker]": "isNoMarker()"
|
|
418
418
|
}
|
|
@@ -470,7 +470,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
470
470
|
type: Directive,
|
|
471
471
|
args: [{
|
|
472
472
|
selector: "[eclUnorderedListItem]",
|
|
473
|
-
host: {
|
|
473
|
+
host: { class: "ecl-unordered-list__item" }
|
|
474
474
|
}]
|
|
475
475
|
}]
|
|
476
476
|
});
|
|
@@ -611,7 +611,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
611
611
|
type: Directive,
|
|
612
612
|
args: [{
|
|
613
613
|
selector: "[eclDescriptionListTerm]",
|
|
614
|
-
host: {
|
|
614
|
+
host: { class: "ecl-description-list__term" }
|
|
615
615
|
}]
|
|
616
616
|
}]
|
|
617
617
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eui-ecl-components-ecl-list.mjs","names":[],"sources":["../../components/ecl-list/ecl-description-list-definition-item.directive.ts","../../components/ecl-list/ecl-description-list-definition/ecl-description-list-definition.component.ts","../../components/ecl-list/ecl-description-list-definition/ecl-description-list-definition.component.html","../../components/ecl-list/ecl-list.directive.ts","../../components/ecl-list/index.ts"],"sourcesContent":["import { computed, Directive, ElementRef, inject, Renderer2, effect, signal } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Represents a single item in an ECL description list definition, supporting \"see all\" visibility control.\n * Applies `ecl-description-list__definition-item` plus hidden and last-visible modifier classes\n * driven by signals set programmatically by the parent `EclDescriptionListDefinitionComponent`.\n *\n * - `isHidden` — when `true`, adds the hidden modifier to collapse the item beyond the visible limit.\n * - `isLastVisible` — when `true`, adds the last-visible modifier for CSS styling of the boundary item.\n */\n@Directive({\n selector: '[eclDescriptionListDefinitionItem]',\n host: {\n '[class]': 'cssClasses()',\n },\n})\nexport class EclDescriptionListDefinitionItemDirective extends ECLBaseDirective {\n /**\n * Internal state used to hide the item when exceeding the visible limit.\n */\n readonly isHidden = signal(false);\n\n /**\n * Indicates whether this is the last item visible before the \"see all\" action is triggered.\n */\n readonly isLastVisible = signal(false);\n\n private readonly elementRef = inject(ElementRef<HTMLElement>);\n private readonly renderer = inject(Renderer2);\n\n /**\n * Applies appropriate ECL classes based on visibility state.\n */\n protected readonly cssClasses = computed<string>(() =>\n [\n super.getCssClasses('ecl-description-list__definition-item'),\n this.isHidden() ? 'ecl-description-list__definition-item--hidden' : '',\n this.isLastVisible() ? 'ecl-description-list__definition-item--last-visible' : '',\n ].join(' '));\n\n constructor() {\n super();\n // Mirror upstream ECL: definition items are made programmatically focusable\n // (without entering the tab order) so focus can be moved to the first revealed\n // item after \"show more\". The inherited `tabindex` input (from ECLBaseDirective)\n // takes precedence when the consumer provides one; otherwise default to -1.\n effect(() => {\n if (this.tabindex() === undefined) {\n this.renderer.setAttribute(this.elementRef.nativeElement, 'tabindex', '-1');\n }\n });\n }\n\n /**\n * Moves focus to this item.\n * If the item contains a focusable element, focus that directly.\n * Otherwise, focus the item host itself (made focusable via `tabindex=\"-1\"`).\n *\n * The DOM query is used deliberately: focusability is a DOM-level concept\n * (anchors, buttons, inputs, author-set tabindex) that a content-child\n * directive query cannot express for arbitrary projected content.\n */\n focus(): void {\n const itemEl: HTMLElement = this.elementRef.nativeElement;\n const focusableChild = itemEl.querySelector(\n 'a[href], button, input, [tabindex]:not([tabindex=\"-1\"])',\n ) as HTMLElement | null;\n (focusableChild ?? itemEl).focus();\n }\n}\n\n/**\n * Container for the items in an ECL description list definition.\n * Apply `[eclDescriptionListDefinitionList]` to a `<ul>` element; adds `ecl-description-list__definition-list`.\n */\n@Directive({\n selector: '[eclDescriptionListDefinitionList]',\n host: {\n class: 'ecl-description-list__definition-list',\n },\n})\nexport class EclDescriptionListDefinitionListDirective extends ECLBaseDirective {}\n","import {\n ApplicationRef,\n Component,\n DestroyRef,\n ElementRef,\n EmbeddedViewRef,\n Injector,\n TemplateRef,\n afterNextRender,\n computed,\n contentChildren,\n effect,\n inject,\n input,\n signal,\n viewChild,\n} from '@angular/core';\n\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclDescriptionListDefinitionItemDirective } from '../ecl-description-list-definition-item.directive';\nimport { TranslatePipe } from '@ngx-translate/core';\n\n/**\n * Renders the definition (`<dd>`) part of an ECL description list item with optional variant styling\n * and collapsible \"see all\" behaviour when `maxVisibleItems` is set.\n * Apply `[eclDescriptionListDefinition]` to a `<dd>` element; the component manages item visibility\n * and inserts a \"see all\" link into the projected `<ul[eclDescriptionListDefinitionList]>` via controlled DOM manipulation.\n *\n * - Variant axis: `variant` — `'link'`, `'inline'`, `'taxonomy'`, `'tag'`, or `null` (default).\n * - `maxVisibleItems` — controlled by the parent `EclDescriptionListDirective`; `null` shows all items.\n * - `isSeeAllNeeded` (computed signal) — true when the item count exceeds `maxVisibleItems`.\n * - `onShowAllItems` expands all items, removes the \"see all\" link from the DOM and moves focus to the first revealed item.\n */\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: '[eclDescriptionListDefinition]',\n templateUrl: './ecl-description-list-definition.component.html',\n imports: [TranslatePipe],\n host: {\n '[class]': 'cssClasses()',\n },\n})\nexport class EclDescriptionListDefinitionComponent extends ECLBaseDirective {\n\n /**\n * Visual variant of the definition.\n * - `'link'` — definitions are styled as links.\n * - `'inline'` — compact inline layout.\n * - `'taxonomy'` — taxonomy tag styling.\n * - `'tag'` — tag-chip styling.\n * - `null` (default) — default definition styling.\n */\n variant = input<'link' | 'inline' | 'taxonomy' | 'tag' | null>(null);\n\n /**\n * Maximum number of items to display before inserting a \"see all\" link.\n * Propagated from the parent `EclDescriptionListDirective`; `null` means show all.\n */\n maxVisibleItems = signal<number | null>(null);\n\n private readonly eclListItems = contentChildren(EclDescriptionListDefinitionItemDirective, {\n descendants: true,\n });\n\n private readonly seeMoreTpl = viewChild.required<TemplateRef<unknown>>('seeMoreTpl');\n\n private readonly host = inject(ElementRef<HTMLElement>);\n private readonly appRef = inject(ApplicationRef);\n private readonly destroyRef = inject(DestroyRef);\n private readonly injector = inject(Injector);\n\n private seeMoreView?: EmbeddedViewRef<unknown>;\n private isAppended = false;\n\n protected readonly cssClasses = computed<string>(() => {\n const v = this.variant();\n return [\n super.getCssClasses('ecl-description-list__definition'),\n v ? `ecl-description-list__definition--${v}` : '',\n ].join(' ');\n });\n /**\n * Signal indicating whether the DOM is ready for manipulation.\n * Set to true after first render to ensure the projected <ul> exists before\n * the see-more link is inserted into it. Defers DOM writes in the effect.\n */\n private readonly isDomReady = signal(false);\n \n /**\n * Computed signal that returns the total number of list items.\n */\n private readonly currentItemsNumber = computed(() => this.eclListItems().length);\n\n /**\n * Computed signal that determines if \"See all\" link should be shown.\n * Returns true when maxVisibleItems is set and less than total items.\n */\n private readonly isSeeAllNeeded = computed(() => {\n const max = this.maxVisibleItems();\n const total = this.currentItemsNumber();\n return !!max && total > 0 && max < total;\n });\n\n constructor() {\n super();\n // Mark DOM ready AFTER first render (projected <ul> will exist)\n afterNextRender(() => this.isDomReady.set(true));\n\n // The \"See more\" link must render as a sibling <li> INSIDE the consumer-authored\n // <ul eclDescriptionListDefinitionList>, because ECL's CSS targets it as a direct\n // child of that list. Angular has no declarative way to project content into an\n // element the consumer owns (ng-content only projects into this component's own\n // template), so the link is inserted into the projected <ul> via controlled DOM\n // manipulation. This is intentional: keeping the natural <ul><li> markup in the\n // consumer template is preferred over an API that would force bare <li> authoring.\n //\n // This effect keeps two things in sync with reactive state:\n // 1. Per-item visibility (isHidden / isLastVisible signals) based on maxVisibleItems.\n // 2. Presence of the \"See more\" <li> in the projected <ul>, driven by hasSeeAll().\n // DOM writes are deferred until domReady() so the projected <ul> exists.\n effect(() => {\n const items = this.eclListItems();\n // If DOM not ready yet, only do state updates (no DOM querying/appending)\n const isDomReady = this.isDomReady();\n\n if (!this.isSeeAllNeeded()) {\n // show all items\n items.forEach((it) => {\n it.isHidden.set(false);\n it.isLastVisible.set(false);\n });\n\n if (isDomReady) this.removeSeeMoreFromDom();\n return;\n }\n\n // \"See all\" needed → hide beyond max\n const max = this.maxVisibleItems()!;\n items.forEach((it, idx) => {\n it.isHidden.set(idx >= max);\n it.isLastVisible.set(false);\n });\n const last = items[max - 1];\n if (last) last.isLastVisible.set(true);\n\n if (isDomReady) this.ensureSeeMoreInsideProjectedUl();\n });\n\n this.destroyRef.onDestroy(() => this.removeSeeMoreFromDom());\n }\n\n /**\n * Handles the \"Show all items\" link click event.\n * Expands all hidden items, removes the \"See all\" link from DOM and moves\n * focus to the first revealed item.\n * @param evt The click event; `preventDefault()` is called on it.\n */\n onShowAllItems(evt: Event): void {\n evt.preventDefault();\n\n // Capture the first currently-hidden item before revealing everything,\n // so we can move focus to it afterwards.\n const firstHiddenItem = this.eclListItems().find((item) => item.isHidden()) ?? null;\n\n this.showAllInternal();\n this.removeSeeMoreFromDom();\n\n // Move focus to the first revealed item. Revealing clears `isHidden`,\n // but the `--hidden` class (display:none) is only removed on the next\n // change-detection/render pass. Focusing a still-hidden element is a\n // no-op, so defer the focus until after the item is actually visible.\n if (firstHiddenItem) {\n afterNextRender(() => firstHiddenItem.focus(), { injector: this.injector });\n }\n }\n\n /**\n * Shows all items by setting isHidden to false for all items.\n */\n private showAllInternal(): void {\n const items = this.eclListItems();\n items.forEach((item) => item.isHidden.set(false));\n items.forEach((item) => item.isLastVisible.set(false));\n }\n\n /**\n * Ensures the \"See all\" link is appended inside the projected <ul> element.\n * Creates and attaches the embedded view if needed.\n */\n private ensureSeeMoreInsideProjectedUl(): void {\n if (!this.isSeeAllNeeded()) return;\n\n const ul = this.findProjectedUl();\n if (!ul) return;\n\n // If it's already in there (e.g. reruns), do nothing\n if (ul.querySelector(':scope > li.ecl-description-list__see_more')) return;\n\n // Create the embedded view once and append its root <li> into the projected <ul>\n if (!this.seeMoreView) {\n this.seeMoreView = this.seeMoreTpl().createEmbeddedView({});\n this.appRef.attachView(this.seeMoreView);\n this.seeMoreView.detectChanges();\n }\n\n const [liNode] = this.seeMoreView.rootNodes as HTMLElement[];\n if (liNode && !this.isAppended) {\n ul.appendChild(liNode);\n this.isAppended = true;\n } else if (liNode && liNode.parentElement !== ul) {\n // if it was moved/removed, re-append\n ul.appendChild(liNode);\n }\n }\n\n /**\n * Removes the \"See all\" link from the DOM and cleans up the embedded view.\n */\n private removeSeeMoreFromDom(): void {\n const ul = this.findProjectedUl();\n ul?.querySelector(':scope > li.ecl-description-list__see_more')?.remove();\n\n this.isAppended = false;\n\n if (this.seeMoreView) {\n this.appRef.detachView(this.seeMoreView);\n this.seeMoreView.destroy();\n this.seeMoreView = undefined;\n }\n }\n\n /**\n * Finds the projected <ul> element with eclDescriptionListDefinitionList directive.\n * Returns null if not found.\n */\n private findProjectedUl(): HTMLUListElement | null {\n // The consumer-authored list carries the eclDescriptionListDefinitionList directive.\n return this.host.nativeElement.querySelector(\n 'ul[eclDescriptionListDefinitionList]'\n ) as HTMLUListElement | null;\n }\n}","<ng-content></ng-content>\n\n<ng-template #seeMoreTpl>\n <li class=\"ecl-description-list__see_more\">\n <button type=\"button\" class=\"ecl-link ecl-link--standalone\" (click)=\"onShowAllItems($event)\">\n {{ 'ecl.SHOW-MORE-ITEMS' | translate }}\n </button>\n </li>\n</ng-template>","import { AfterContentInit, ChangeDetectorRef, Directive, booleanAttribute, numberAttribute, inject, input, contentChildren, computed } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclDescriptionListDefinitionComponent } from './ecl-description-list-definition/ecl-description-list-definition.component';\n\n/**\n * Applies ECL ordered list styling to a `<ol>` element following ECL design standards.\n * Adds the `ecl-ordered-list` CSS class to the host element.\n */\n@Directive({\n selector: '[eclOrderedList]',\n host: {\n 'class': 'ecl-ordered-list',\n },\n})\nexport class EclOrderedListDirective extends ECLBaseDirective {}\n\n/**\n * Applies ECL ordered list item styling to an `<li>` element.\n * Adds the `ecl-ordered-list__item` CSS class to the host element.\n */\n@Directive({\n selector: '[eclOrderedListItem]',\n host: {\n 'class': 'ecl-ordered-list__item',\n },\n})\nexport class EclOrderedListItemDirective extends ECLBaseDirective {}\n\n/**\n * Applies ECL unordered list styling to a `<ul>` element following ECL design standards.\n * Supports optional dividers between items and a no-marker variant.\n *\n * - `isDivider` — adds `ecl-unordered-list--divider` for visual separators between items.\n * - `isNoMarker` — adds `ecl-unordered-list--no-marker` to remove bullet points.\n */\n@Directive({\n selector: '[eclUnorderedList]',\n host: {\n 'class': 'ecl-unordered-list',\n '[class.ecl-unordered-list--divider]': 'isDivider()',\n '[class.ecl-unordered-list--no-marker]': 'isNoMarker()',\n },\n})\nexport class EclUnorderedListDirective extends ECLBaseDirective {\n /**\n * Adds a divider between list items.\n */\n readonly isDivider = input(false, { transform: booleanAttribute });\n\n /**\n * Removes markers from list items.\n */\n readonly isNoMarker = input(false, { transform: booleanAttribute });\n}\n\n/**\n * Applies ECL unordered list item styling to an `<li>` element.\n * Adds the `ecl-unordered-list__item` CSS class to the host element.\n */\n@Directive({\n selector: '[eclUnorderedListItem]',\n host: {\n 'class': 'ecl-unordered-list__item',\n },\n})\nexport class EclUnorderedListItemDirective extends ECLBaseDirective {}\n\n/**\n * Applies ECL description list styling to a `<dl>` element following ECL design standards.\n * Supports horizontal layout and a `maxVisibleItems` limit that is propagated to nested\n * `[eclDescriptionListDefinition]` components to enable \"see all\" collapsing.\n *\n * - `isHorizontal` — adds `ecl-description-list--horizontal` for side-by-side term/definition layout.\n * - `maxVisibleItems` — passed to each child definition component; `0` means show all (default).\n */\n@Directive({\n selector: '[eclDescriptionList]',\n host: {\n '[class]': 'cssClasses()',\n '[class.ecl-description-list--horizontal]': 'isHorizontal()',\n },\n})\nexport class EclDescriptionListDirective extends ECLBaseDirective implements AfterContentInit {\n /**\n * Enables horizontal layout.\n */\n readonly isHorizontal = input(false, { transform: booleanAttribute });\n\n /**\n * Maximum number of visible items before collapsing.\n * Applied to nested `eclDescriptionListDefinition` components.\n * Works for both vertical and horizontal lists.\n */\n readonly maxVisibleItems = input(0, { transform: numberAttribute });\n\n readonly eclListItems = contentChildren(EclDescriptionListDefinitionComponent);\n\n /**\n * Applies the base ECL class for description lists.\n */\n protected readonly cssClasses = computed<string>(() => super.getCssClasses('ecl-description-list'));\n\n private cd = inject(ChangeDetectorRef);\n\n /**\n * Assigns `maxVisibleItems` to each child `[eclDescriptionListDefinition]` component\n * when a positive limit is set. Applies to both horizontal and non-horizontal lists,\n * mirroring upstream ECL.\n */\n ngAfterContentInit(): void {\n if (this.maxVisibleItems() > 0) {\n this.eclListItems().forEach((item) => (item.maxVisibleItems.set(this.maxVisibleItems())));\n }\n this.cd.detectChanges();\n }\n}\n\n/**\n * Applies ECL description list term styling to a `<dt>` element.\n * Adds the `ecl-description-list__term` CSS class to the host element.\n */\n@Directive({\n selector: '[eclDescriptionListTerm]',\n host: {\n 'class': 'ecl-description-list__term',\n },\n})\nexport class EclDescriptionListTermDirective extends ECLBaseDirective {}\n","import { EclDescriptionListDefinitionItemDirective, EclDescriptionListDefinitionListDirective } from './ecl-description-list-definition-item.directive';\nimport { EclDescriptionListDefinitionComponent } from './ecl-description-list-definition/ecl-description-list-definition.component';\nimport {\n EclDescriptionListDirective,\n EclDescriptionListTermDirective,\n EclOrderedListDirective,\n EclOrderedListItemDirective,\n EclUnorderedListDirective,\n EclUnorderedListItemDirective,\n} from './ecl-list.directive';\n\nexport * from './ecl-list.directive';\nexport * from './ecl-description-list-definition-item.directive';\nexport * from './ecl-description-list-definition/ecl-description-list-definition.component';\n\nexport const EUI_ECL_LIST = [\n EclOrderedListDirective,\n EclOrderedListItemDirective,\n EclUnorderedListDirective,\n EclUnorderedListItemDirective,\n EclDescriptionListDirective,\n EclDescriptionListTermDirective,\n EclDescriptionListDefinitionComponent,\n EclDescriptionListDefinitionItemDirective,\n EclDescriptionListDefinitionListDirective,\n] as const;"],"mappings":";;;;AAiBA,IAAa,4CAAb,MAAa,kDAAkD,iBAAgB;CAwB3E,cAAA;EACI,MAAK;EArBA,KAAA,WAAW,OAAO,OAAM,GAAA,YAAA,CAAA,EAAA,WAAA,WAAA,CAAA,+BAAA,CAAA,CAAA;EAKxB,KAAA,gBAAgB,OAAO,OAAM,GAAA,YAAA,CAAA,EAAA,WAAA,gBAAA,CAAA,+BAAA,CAAA,CAAA;EAErB,KAAA,aAAa,OAAO,UAAuB;EAC3C,KAAA,WAAW,OAAO,SAAS;EAKzB,KAAA,aAAa,eAC5B;GACI,MAAM,cAAc,uCAAuC;GAC3D,KAAK,SAAQ,IAAK,kDAAkD;GACpE,KAAK,cAAa,IAAK,wDAAwD;EAClF,CAAA,CAAC,KAAK,GAAG,GAAE,GAAA,YAAA,CAAA,EAAA,WAAA,aAAA,CAAA,+BAAA,CAAA,CAAA;EAQZ,aAAY;GACR,IAAI,KAAK,SAAQ,MAAO,QACpB,KAAK,SAAS,aAAa,KAAK,WAAW,eAAe,YAAY,IAAI;EAElF,CAAC;CACL;CAWA,QAAK;EACD,MAAM,SAAsB,KAAK,WAAW;EAI5C,CAHuB,OAAO,cAC1B,2DAEH,KAAkB,OAAA,CAAQ,MAAK;CACpC;CApDS;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAyC,MAAA,CAAA;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AAxD;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAA+B,MAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAA/B;EAAA,KAAA,OAAA,GAAA,qBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,MAAA;GAA+B,cAAA;GAAA,UAAA;GAAA,MAAA,EAAA,gBAAA,6BAAA;GAAA,iBAAA;GAAA,UAAA;EAAA,CAAA;CAAA;;AAA/B,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAA+B,YAAA,CAAA;EAN3C,MAAA;EAAU,MAAA,CAAA;GACP,UAAU;GACV,MAAM,EACF,SAAS,6BACZ;EACJ,CAAA;;;AC/GD,MAAa,eAAe;CACxB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACM"}
|
|
1
|
+
{"version":3,"file":"eui-ecl-components-ecl-list.mjs","names":[],"sources":["../../components/ecl-list/ecl-description-list-definition-item.directive.ts","../../components/ecl-list/ecl-description-list-definition/ecl-description-list-definition.component.ts","../../components/ecl-list/ecl-description-list-definition/ecl-description-list-definition.component.html","../../components/ecl-list/ecl-list.directive.ts","../../components/ecl-list/index.ts"],"sourcesContent":["import { computed, Directive, ElementRef, inject, Renderer2, effect, signal } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Represents a single item in an ECL description list definition, supporting \"see all\" visibility control.\n * Applies `ecl-description-list__definition-item` plus hidden and last-visible modifier classes\n * driven by signals set programmatically by the parent `EclDescriptionListDefinitionComponent`.\n *\n * - `isHidden` — when `true`, adds the hidden modifier to collapse the item beyond the visible limit.\n * - `isLastVisible` — when `true`, adds the last-visible modifier for CSS styling of the boundary item.\n */\n@Directive({\n selector: '[eclDescriptionListDefinitionItem]',\n host: {\n '[class]': 'cssClasses()',\n },\n})\nexport class EclDescriptionListDefinitionItemDirective extends ECLBaseDirective {\n /**\n * Internal state used to hide the item when exceeding the visible limit.\n */\n readonly isHidden = signal(false);\n\n /**\n * Indicates whether this is the last item visible before the \"see all\" action is triggered.\n */\n readonly isLastVisible = signal(false);\n\n private readonly elementRef = inject(ElementRef<HTMLElement>);\n private readonly renderer = inject(Renderer2);\n\n /**\n * Applies appropriate ECL classes based on visibility state.\n */\n protected readonly cssClasses = computed<string>(() =>\n [\n super.getCssClasses('ecl-description-list__definition-item'),\n this.isHidden() ? 'ecl-description-list__definition-item--hidden' : '',\n this.isLastVisible() ? 'ecl-description-list__definition-item--last-visible' : '',\n ].join(' '));\n\n constructor() {\n super();\n // Mirror upstream ECL: definition items are made programmatically focusable\n // (without entering the tab order) so focus can be moved to the first revealed\n // item after \"show more\". The inherited `tabindex` input (from ECLBaseDirective)\n // takes precedence when the consumer provides one; otherwise default to -1.\n effect(() => {\n if (this.tabindex() === undefined) {\n this.renderer.setAttribute(this.elementRef.nativeElement, 'tabindex', '-1');\n }\n });\n }\n\n /**\n * Moves focus to this item.\n * If the item contains a focusable element, focus that directly.\n * Otherwise, focus the item host itself (made focusable via `tabindex=\"-1\"`).\n *\n * The DOM query is used deliberately: focusability is a DOM-level concept\n * (anchors, buttons, inputs, author-set tabindex) that a content-child\n * directive query cannot express for arbitrary projected content.\n */\n focus(): void {\n const itemEl: HTMLElement = this.elementRef.nativeElement;\n const focusableChild = itemEl.querySelector(\n 'a[href], button, input, [tabindex]:not([tabindex=\"-1\"])',\n ) as HTMLElement | null;\n (focusableChild ?? itemEl).focus();\n }\n}\n\n/**\n * Container for the items in an ECL description list definition.\n * Apply `[eclDescriptionListDefinitionList]` to a `<ul>` element; adds `ecl-description-list__definition-list`.\n */\n@Directive({\n selector: '[eclDescriptionListDefinitionList]',\n host: {\n class: 'ecl-description-list__definition-list',\n },\n})\nexport class EclDescriptionListDefinitionListDirective extends ECLBaseDirective {}\n","import {\n ApplicationRef,\n Component,\n DestroyRef,\n ElementRef,\n EmbeddedViewRef,\n Injector,\n TemplateRef,\n afterNextRender,\n computed,\n contentChildren,\n effect,\n inject,\n input,\n signal,\n viewChild,\n} from '@angular/core';\n\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclDescriptionListDefinitionItemDirective } from '../ecl-description-list-definition-item.directive';\nimport { TranslatePipe } from '@ngx-translate/core';\n\n/**\n * Renders the definition (`<dd>`) part of an ECL description list item with optional variant styling\n * and collapsible \"see all\" behaviour when `maxVisibleItems` is set.\n * Apply `[eclDescriptionListDefinition]` to a `<dd>` element; the component manages item visibility\n * and inserts a \"see all\" link into the projected `<ul[eclDescriptionListDefinitionList]>` via controlled DOM manipulation.\n *\n * - Variant axis: `variant` — `'link'`, `'inline'`, `'taxonomy'`, `'tag'`, or `null` (default).\n * - `maxVisibleItems` — controlled by the parent `EclDescriptionListDirective`; `null` shows all items.\n * - `isSeeAllNeeded` (computed signal) — true when the item count exceeds `maxVisibleItems`.\n * - `onShowAllItems` expands all items, removes the \"see all\" link from the DOM and moves focus to the first revealed item.\n */\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: '[eclDescriptionListDefinition]',\n templateUrl: './ecl-description-list-definition.component.html',\n imports: [TranslatePipe],\n host: {\n '[class]': 'cssClasses()',\n },\n})\nexport class EclDescriptionListDefinitionComponent extends ECLBaseDirective {\n\n /**\n * Visual variant of the definition.\n * - `'link'` — definitions are styled as links.\n * - `'inline'` — compact inline layout.\n * - `'taxonomy'` — taxonomy tag styling.\n * - `'tag'` — tag-chip styling.\n * - `null` (default) — default definition styling.\n */\n variant = input<'link' | 'inline' | 'taxonomy' | 'tag' | null>(null);\n\n /**\n * Maximum number of items to display before inserting a \"see all\" link.\n * Propagated from the parent `EclDescriptionListDirective`; `null` means show all.\n */\n maxVisibleItems = signal<number | null>(null);\n\n private readonly eclListItems = contentChildren(EclDescriptionListDefinitionItemDirective, {\n descendants: true,\n });\n\n private readonly seeMoreTpl = viewChild.required<TemplateRef<unknown>>('seeMoreTpl');\n\n private readonly host = inject(ElementRef<HTMLElement>);\n private readonly appRef = inject(ApplicationRef);\n private readonly destroyRef = inject(DestroyRef);\n private readonly injector = inject(Injector);\n\n private seeMoreView?: EmbeddedViewRef<unknown>;\n private isAppended = false;\n\n protected readonly cssClasses = computed<string>(() => {\n const v = this.variant();\n return [\n super.getCssClasses('ecl-description-list__definition'),\n v ? `ecl-description-list__definition--${v}` : '',\n ].join(' ');\n });\n /**\n * Signal indicating whether the DOM is ready for manipulation.\n * Set to true after first render to ensure the projected <ul> exists before\n * the see-more link is inserted into it. Defers DOM writes in the effect.\n */\n private readonly isDomReady = signal(false);\n \n /**\n * Computed signal that returns the total number of list items.\n */\n private readonly currentItemsNumber = computed(() => this.eclListItems().length);\n\n /**\n * Computed signal that determines if \"See all\" link should be shown.\n * Returns true when maxVisibleItems is set and less than total items.\n */\n private readonly isSeeAllNeeded = computed(() => {\n const max = this.maxVisibleItems();\n const total = this.currentItemsNumber();\n return !!max && total > 0 && max < total;\n });\n\n constructor() {\n super();\n // Mark DOM ready AFTER first render (projected <ul> will exist)\n afterNextRender(() => this.isDomReady.set(true));\n\n // The \"See more\" link must render as a sibling <li> INSIDE the consumer-authored\n // <ul eclDescriptionListDefinitionList>, because ECL's CSS targets it as a direct\n // child of that list. Angular has no declarative way to project content into an\n // element the consumer owns (ng-content only projects into this component's own\n // template), so the link is inserted into the projected <ul> via controlled DOM\n // manipulation. This is intentional: keeping the natural <ul><li> markup in the\n // consumer template is preferred over an API that would force bare <li> authoring.\n //\n // This effect keeps two things in sync with reactive state:\n // 1. Per-item visibility (isHidden / isLastVisible signals) based on maxVisibleItems.\n // 2. Presence of the \"See more\" <li> in the projected <ul>, driven by hasSeeAll().\n // DOM writes are deferred until domReady() so the projected <ul> exists.\n effect(() => {\n const items = this.eclListItems();\n // If DOM not ready yet, only do state updates (no DOM querying/appending)\n const isDomReady = this.isDomReady();\n\n if (!this.isSeeAllNeeded()) {\n // show all items\n items.forEach((it) => {\n it.isHidden.set(false);\n it.isLastVisible.set(false);\n });\n\n if (isDomReady) this.removeSeeMoreFromDom();\n return;\n }\n\n // \"See all\" needed → hide beyond max\n const max = this.maxVisibleItems()!;\n items.forEach((it, idx) => {\n it.isHidden.set(idx >= max);\n it.isLastVisible.set(false);\n });\n const last = items[max - 1];\n if (last) last.isLastVisible.set(true);\n\n if (isDomReady) this.ensureSeeMoreInsideProjectedUl();\n });\n\n this.destroyRef.onDestroy(() => this.removeSeeMoreFromDom());\n }\n\n /**\n * Handles the \"Show all items\" link click event.\n * Expands all hidden items, removes the \"See all\" link from DOM and moves\n * focus to the first revealed item.\n * @param evt The click event; `preventDefault()` is called on it.\n */\n onShowAllItems(evt: Event): void {\n evt.preventDefault();\n\n // Capture the first currently-hidden item before revealing everything,\n // so we can move focus to it afterwards.\n const firstHiddenItem = this.eclListItems().find((item) => item.isHidden()) ?? null;\n\n this.showAllInternal();\n this.removeSeeMoreFromDom();\n\n // Move focus to the first revealed item. Revealing clears `isHidden`,\n // but the `--hidden` class (display:none) is only removed on the next\n // change-detection/render pass. Focusing a still-hidden element is a\n // no-op, so defer the focus until after the item is actually visible.\n if (firstHiddenItem) {\n afterNextRender(() => firstHiddenItem.focus(), { injector: this.injector });\n }\n }\n\n /**\n * Shows all items by setting isHidden to false for all items.\n */\n private showAllInternal(): void {\n const items = this.eclListItems();\n items.forEach((item) => item.isHidden.set(false));\n items.forEach((item) => item.isLastVisible.set(false));\n }\n\n /**\n * Ensures the \"See all\" link is appended inside the projected <ul> element.\n * Creates and attaches the embedded view if needed.\n */\n private ensureSeeMoreInsideProjectedUl(): void {\n if (!this.isSeeAllNeeded()) return;\n\n const ul = this.findProjectedUl();\n if (!ul) return;\n\n // If it's already in there (e.g. reruns), do nothing\n if (ul.querySelector(':scope > li.ecl-description-list__see_more')) return;\n\n // Create the embedded view once and append its root <li> into the projected <ul>\n if (!this.seeMoreView) {\n this.seeMoreView = this.seeMoreTpl().createEmbeddedView({});\n this.appRef.attachView(this.seeMoreView);\n this.seeMoreView.detectChanges();\n }\n\n const [liNode] = this.seeMoreView.rootNodes as HTMLElement[];\n if (liNode && !this.isAppended) {\n ul.appendChild(liNode);\n this.isAppended = true;\n } else if (liNode && liNode.parentElement !== ul) {\n // if it was moved/removed, re-append\n ul.appendChild(liNode);\n }\n }\n\n /**\n * Removes the \"See all\" link from the DOM and cleans up the embedded view.\n */\n private removeSeeMoreFromDom(): void {\n const ul = this.findProjectedUl();\n ul?.querySelector(':scope > li.ecl-description-list__see_more')?.remove();\n\n this.isAppended = false;\n\n if (this.seeMoreView) {\n this.appRef.detachView(this.seeMoreView);\n this.seeMoreView.destroy();\n this.seeMoreView = undefined;\n }\n }\n\n /**\n * Finds the projected <ul> element with eclDescriptionListDefinitionList directive.\n * Returns null if not found.\n */\n private findProjectedUl(): HTMLUListElement | null {\n // The consumer-authored list carries the eclDescriptionListDefinitionList directive.\n return this.host.nativeElement.querySelector(\n 'ul[eclDescriptionListDefinitionList]'\n ) as HTMLUListElement | null;\n }\n}","<ng-content></ng-content>\n\n<ng-template #seeMoreTpl>\n <li class=\"ecl-description-list__see_more\">\n <button type=\"button\" class=\"ecl-link ecl-link--standalone\" (click)=\"onShowAllItems($event)\">\n {{ 'ecl.SHOW-MORE-ITEMS' | translate }}\n </button>\n </li>\n</ng-template>","import { AfterContentInit, ChangeDetectorRef, Directive, booleanAttribute, numberAttribute, inject, input, contentChildren, computed } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclDescriptionListDefinitionComponent } from './ecl-description-list-definition/ecl-description-list-definition.component';\n\n/**\n * Applies ECL ordered list styling to a `<ol>` element following ECL design standards.\n * Adds the `ecl-ordered-list` CSS class to the host element.\n */\n@Directive({\n selector: '[eclOrderedList]',\n host: {\n class: 'ecl-ordered-list',\n },\n})\nexport class EclOrderedListDirective extends ECLBaseDirective {}\n\n/**\n * Applies ECL ordered list item styling to an `<li>` element.\n * Adds the `ecl-ordered-list__item` CSS class to the host element.\n */\n@Directive({\n selector: '[eclOrderedListItem]',\n host: {\n class: 'ecl-ordered-list__item',\n },\n})\nexport class EclOrderedListItemDirective extends ECLBaseDirective {}\n\n/**\n * Applies ECL unordered list styling to a `<ul>` element following ECL design standards.\n * Supports optional dividers between items and a no-marker variant.\n *\n * - `isDivider` — adds `ecl-unordered-list--divider` for visual separators between items.\n * - `isNoMarker` — adds `ecl-unordered-list--no-marker` to remove bullet points.\n */\n@Directive({\n selector: '[eclUnorderedList]',\n host: {\n class: 'ecl-unordered-list',\n '[class.ecl-unordered-list--divider]': 'isDivider()',\n '[class.ecl-unordered-list--no-marker]': 'isNoMarker()',\n },\n})\nexport class EclUnorderedListDirective extends ECLBaseDirective {\n /**\n * Adds a divider between list items.\n */\n readonly isDivider = input(false, { transform: booleanAttribute });\n\n /**\n * Removes markers from list items.\n */\n readonly isNoMarker = input(false, { transform: booleanAttribute });\n}\n\n/**\n * Applies ECL unordered list item styling to an `<li>` element.\n * Adds the `ecl-unordered-list__item` CSS class to the host element.\n */\n@Directive({\n selector: '[eclUnorderedListItem]',\n host: {\n class: 'ecl-unordered-list__item',\n },\n})\nexport class EclUnorderedListItemDirective extends ECLBaseDirective {}\n\n/**\n * Applies ECL description list styling to a `<dl>` element following ECL design standards.\n * Supports horizontal layout and a `maxVisibleItems` limit that is propagated to nested\n * `[eclDescriptionListDefinition]` components to enable \"see all\" collapsing.\n *\n * - `isHorizontal` — adds `ecl-description-list--horizontal` for side-by-side term/definition layout.\n * - `maxVisibleItems` — passed to each child definition component; `0` means show all (default).\n */\n@Directive({\n selector: '[eclDescriptionList]',\n host: {\n '[class]': 'cssClasses()',\n '[class.ecl-description-list--horizontal]': 'isHorizontal()',\n },\n})\nexport class EclDescriptionListDirective extends ECLBaseDirective implements AfterContentInit {\n /**\n * Enables horizontal layout.\n */\n readonly isHorizontal = input(false, { transform: booleanAttribute });\n\n /**\n * Maximum number of visible items before collapsing.\n * Applied to nested `eclDescriptionListDefinition` components.\n * Works for both vertical and horizontal lists.\n */\n readonly maxVisibleItems = input(0, { transform: numberAttribute });\n\n readonly eclListItems = contentChildren(EclDescriptionListDefinitionComponent);\n\n /**\n * Applies the base ECL class for description lists.\n */\n protected readonly cssClasses = computed<string>(() => super.getCssClasses('ecl-description-list'));\n\n private cd = inject(ChangeDetectorRef);\n\n /**\n * Assigns `maxVisibleItems` to each child `[eclDescriptionListDefinition]` component\n * when a positive limit is set. Applies to both horizontal and non-horizontal lists,\n * mirroring upstream ECL.\n */\n ngAfterContentInit(): void {\n if (this.maxVisibleItems() > 0) {\n this.eclListItems().forEach((item) => (item.maxVisibleItems.set(this.maxVisibleItems())));\n }\n this.cd.detectChanges();\n }\n}\n\n/**\n * Applies ECL description list term styling to a `<dt>` element.\n * Adds the `ecl-description-list__term` CSS class to the host element.\n */\n@Directive({\n selector: '[eclDescriptionListTerm]',\n host: {\n class: 'ecl-description-list__term',\n },\n})\nexport class EclDescriptionListTermDirective extends ECLBaseDirective {}\n","import { EclDescriptionListDefinitionItemDirective, EclDescriptionListDefinitionListDirective } from './ecl-description-list-definition-item.directive';\nimport { EclDescriptionListDefinitionComponent } from './ecl-description-list-definition/ecl-description-list-definition.component';\nimport {\n EclDescriptionListDirective,\n EclDescriptionListTermDirective,\n EclOrderedListDirective,\n EclOrderedListItemDirective,\n EclUnorderedListDirective,\n EclUnorderedListItemDirective,\n} from './ecl-list.directive';\n\nexport * from './ecl-list.directive';\nexport * from './ecl-description-list-definition-item.directive';\nexport * from './ecl-description-list-definition/ecl-description-list-definition.component';\n\nexport const EUI_ECL_LIST = [\n EclOrderedListDirective,\n EclOrderedListItemDirective,\n EclUnorderedListDirective,\n EclUnorderedListItemDirective,\n EclDescriptionListDirective,\n EclDescriptionListTermDirective,\n EclDescriptionListDefinitionComponent,\n EclDescriptionListDefinitionItemDirective,\n EclDescriptionListDefinitionListDirective,\n] as const;"],"mappings":";;;;AAiBA,IAAa,4CAAb,MAAa,kDAAkD,iBAAgB;CAwB3E,cAAA;EACI,MAAK;EArBA,KAAA,WAAW,OAAO,OAAM,GAAA,YAAA,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