@eui/ecl 22.0.0-alpha.63 → 22.0.0-alpha.65

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.
@@ -13,13 +13,9 @@ a styled label that can reflect the radio's state.
13
13
  **Selector:** `[eclRadioLabel]`
14
14
 
15
15
  ## Inputs
16
- - **isDisabled**: `boolean` - Adds styling for a disabled state. Exposed as a model so the parent `eclRadio` directive can synchronize the disabled state onto the label.
17
- - **isInvalid**: `boolean` - Adds styling for an invalid state. Exposed as a model so the parent `eclRadio` directive can synchronize the invalid state onto the label.
18
16
  - **class**: `string` -
19
17
  - **e2eAttr**: `string` -
20
18
  - **tabindex**: `undefined` -
21
19
 
22
20
  ## Outputs
23
- - **isDisabled**: `boolean` - Adds styling for a disabled state. Exposed as a model so the parent `eclRadio` directive can synchronize the disabled state onto the label.
24
- - **isInvalid**: `boolean` - Adds styling for an invalid state. Exposed as a model so the parent `eclRadio` directive can synchronize the invalid state onto the label.
25
21
  - **class**: `string` -
@@ -87783,7 +87783,7 @@
87783
87783
  },
87784
87784
  {
87785
87785
  "name": "EclRadioLabelComponent",
87786
- "id": "component-EclRadioLabelComponent-9aa62ac298d3143d520f7cbf6627ce222264180014bafb1cbf089703b582cb556cf332bdba1d3c28b210d8ce8dc62532ee8a96642944c4bd84d2e403e3058907",
87786
+ "id": "component-EclRadioLabelComponent-bcf4b3f4fe7d0d7c1dce6b2c298ce96ea85cfbe5257d88d992bd43720cc3bfdaf484603fe9261eb640ba4c4a8a28478e64718323b0daf963edae25e0ac41c0c1",
87787
87787
  "file": "packages/ecl/components/ecl-radio/ecl-radio-label.component.ts",
87788
87788
  "encapsulation": [
87789
87789
  "ViewEncapsulation.None"
@@ -87803,40 +87803,6 @@
87803
87803
  "viewProviders": [],
87804
87804
  "hostDirectives": [],
87805
87805
  "inputsClass": [
87806
- {
87807
- "name": "isDisabled",
87808
- "coverageIgnore": false,
87809
- "defaultValue": "false",
87810
- "deprecated": false,
87811
- "deprecationMessage": "",
87812
- "type": "boolean",
87813
- "indexKey": "",
87814
- "optional": false,
87815
- "description": "<p>Adds styling for a disabled state.</p>\n<p>Exposed as a model so the parent <code>eclRadio</code> directive can synchronize\nthe disabled state onto the label.</p>\n",
87816
- "line": 34,
87817
- "rawdescription": "\n\nAdds styling for a disabled state.\n\nExposed as a model so the parent `eclRadio` directive can synchronize\nthe disabled state onto the label.\n",
87818
- "modifierKind": [
87819
- 148
87820
- ],
87821
- "required": false
87822
- },
87823
- {
87824
- "name": "isInvalid",
87825
- "coverageIgnore": false,
87826
- "defaultValue": "false",
87827
- "deprecated": false,
87828
- "deprecationMessage": "",
87829
- "type": "boolean",
87830
- "indexKey": "",
87831
- "optional": false,
87832
- "description": "<p>Adds styling for an invalid state.</p>\n<p>Exposed as a model so the parent <code>eclRadio</code> directive can synchronize\nthe invalid state onto the label.</p>\n",
87833
- "line": 26,
87834
- "rawdescription": "\n\nAdds styling for an invalid state.\n\nExposed as a model so the parent `eclRadio` directive can synchronize\nthe invalid state onto the label.\n",
87835
- "modifierKind": [
87836
- 148
87837
- ],
87838
- "required": false
87839
- },
87840
87806
  {
87841
87807
  "name": "class",
87842
87808
  "coverageIgnore": false,
@@ -87897,40 +87863,6 @@
87897
87863
  }
87898
87864
  ],
87899
87865
  "outputsClass": [
87900
- {
87901
- "name": "isDisabled",
87902
- "coverageIgnore": false,
87903
- "defaultValue": "false",
87904
- "deprecated": false,
87905
- "deprecationMessage": "",
87906
- "type": "boolean",
87907
- "indexKey": "",
87908
- "optional": false,
87909
- "description": "<p>Adds styling for a disabled state.</p>\n<p>Exposed as a model so the parent <code>eclRadio</code> directive can synchronize\nthe disabled state onto the label.</p>\n",
87910
- "line": 34,
87911
- "rawdescription": "\n\nAdds styling for a disabled state.\n\nExposed as a model so the parent `eclRadio` directive can synchronize\nthe disabled state onto the label.\n",
87912
- "modifierKind": [
87913
- 148
87914
- ],
87915
- "required": false
87916
- },
87917
- {
87918
- "name": "isInvalid",
87919
- "coverageIgnore": false,
87920
- "defaultValue": "false",
87921
- "deprecated": false,
87922
- "deprecationMessage": "",
87923
- "type": "boolean",
87924
- "indexKey": "",
87925
- "optional": false,
87926
- "description": "<p>Adds styling for an invalid state.</p>\n<p>Exposed as a model so the parent <code>eclRadio</code> directive can synchronize\nthe invalid state onto the label.</p>\n",
87927
- "line": 26,
87928
- "rawdescription": "\n\nAdds styling for an invalid state.\n\nExposed as a model so the parent `eclRadio` directive can synchronize\nthe invalid state onto the label.\n",
87929
- "modifierKind": [
87930
- 148
87931
- ],
87932
- "required": false
87933
- },
87934
87866
  {
87935
87867
  "name": "class",
87936
87868
  "coverageIgnore": false,
@@ -87963,12 +87895,44 @@
87963
87895
  "indexKey": "",
87964
87896
  "optional": false,
87965
87897
  "description": "<p>Returns the CSS classes applied to the host element.\nIncludes the base <code>ecl-radio__label</code> class.</p>\n",
87966
- "line": 40,
87898
+ "line": 42,
87967
87899
  "rawdescription": "\n\nReturns the CSS classes applied to the host element.\nIncludes the base `ecl-radio__label` class.\n",
87968
87900
  "modifierKind": [
87969
87901
  124,
87970
87902
  148
87971
87903
  ]
87904
+ },
87905
+ {
87906
+ "name": "isDisabled",
87907
+ "coverageIgnore": false,
87908
+ "defaultValue": "signal(false)",
87909
+ "deprecated": false,
87910
+ "deprecationMessage": "",
87911
+ "type": "unknown",
87912
+ "indexKey": "",
87913
+ "optional": false,
87914
+ "description": "<p>Adds styling for a disabled state.</p>\n<p>Internal writable state propagated from the parent <code>eclRadio</code> directive,\nwhich owns the disabled state and pushes it onto the label. Not intended to\nbe bound directly on the label; set the state on the parent <code>eclRadio</code>.</p>\n",
87915
+ "line": 36,
87916
+ "rawdescription": "\n\nAdds styling for a disabled state.\n\nInternal writable state propagated from the parent `eclRadio` directive,\nwhich owns the disabled state and pushes it onto the label. Not intended to\nbe bound directly on the label; set the state on the parent `eclRadio`.\n",
87917
+ "modifierKind": [
87918
+ 148
87919
+ ]
87920
+ },
87921
+ {
87922
+ "name": "isInvalid",
87923
+ "coverageIgnore": false,
87924
+ "defaultValue": "signal(false)",
87925
+ "deprecated": false,
87926
+ "deprecationMessage": "",
87927
+ "type": "unknown",
87928
+ "indexKey": "",
87929
+ "optional": false,
87930
+ "description": "<p>Adds styling for an invalid state.</p>\n<p>Internal writable state propagated from the parent <code>eclRadio</code> directive,\nwhich owns the invalid state and pushes it onto the label. Not intended to\nbe bound directly on the label; set the state on the parent <code>eclRadio</code>.</p>\n",
87931
+ "line": 27,
87932
+ "rawdescription": "\n\nAdds styling for an invalid state.\n\nInternal writable state propagated from the parent `eclRadio` directive,\nwhich owns the invalid state and pushes it onto the label. Not intended to\nbe bound directly on the label; set the state on the parent `eclRadio`.\n",
87933
+ "modifierKind": [
87934
+ 148
87935
+ ]
87972
87936
  }
87973
87937
  ],
87974
87938
  "methodsClass": [
@@ -88048,14 +88012,14 @@
88048
88012
  "description": "<p>Component representing a label for an ECL radio button.</p>\n<p>Used inside an element with the [eclRadio] directive to provide\na styled label that can reflect the radio&#39;s state.</p>\n",
88049
88013
  "rawdescription": "\n\nComponent representing a label for an ECL radio button.\n\nUsed inside an element with the [eclRadio] directive to provide\na styled label that can reflect the radio's state.\n",
88050
88014
  "type": "component",
88051
- "sourceCode": "import { Component, computed, ViewEncapsulation, model } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Component representing a label for an ECL radio button.\n *\n * Used inside an element with the [eclRadio] directive to provide\n * a styled label that can reflect the radio's state.\n */\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: '[eclRadioLabel]',\n templateUrl: './ecl-radio-label.component.html',\n encapsulation: ViewEncapsulation.None,\n host: {\n '[class]': 'cssClasses()',\n },\n})\nexport class EclRadioLabelComponent extends ECLBaseDirective {\n /**\n * Adds styling for an invalid state.\n *\n * Exposed as a model so the parent `eclRadio` directive can synchronize\n * the invalid state onto the label.\n */\n readonly isInvalid = model(false);\n\n /**\n * Adds styling for a disabled state.\n *\n * Exposed as a model so the parent `eclRadio` directive can synchronize\n * the disabled state onto the label.\n */\n readonly isDisabled = model(false);\n\n /**\n * Returns the CSS classes applied to the host element.\n * Includes the base `ecl-radio__label` class.\n */\n protected readonly cssClasses = computed<string>(() =>\n super.getCssClasses('ecl-radio__label'));\n}\n",
88015
+ "sourceCode": "import { Component, computed, ViewEncapsulation, signal } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Component representing a label for an ECL radio button.\n *\n * Used inside an element with the [eclRadio] directive to provide\n * a styled label that can reflect the radio's state.\n */\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: '[eclRadioLabel]',\n templateUrl: './ecl-radio-label.component.html',\n encapsulation: ViewEncapsulation.None,\n host: {\n '[class]': 'cssClasses()',\n },\n})\nexport class EclRadioLabelComponent extends ECLBaseDirective {\n /**\n * Adds styling for an invalid state.\n *\n * Internal writable state propagated from the parent `eclRadio` directive,\n * which owns the invalid state and pushes it onto the label. Not intended to\n * be bound directly on the label; set the state on the parent `eclRadio`.\n */\n readonly isInvalid = signal(false);\n\n /**\n * Adds styling for a disabled state.\n *\n * Internal writable state propagated from the parent `eclRadio` directive,\n * which owns the disabled state and pushes it onto the label. Not intended to\n * be bound directly on the label; set the state on the parent `eclRadio`.\n */\n readonly isDisabled = signal(false);\n\n /**\n * Returns the CSS classes applied to the host element.\n * Includes the base `ecl-radio__label` class.\n */\n protected readonly cssClasses = computed<string>(() =>\n super.getCssClasses('ecl-radio__label'));\n}\n",
88052
88016
  "assetsDirs": [],
88053
88017
  "styleUrlsData": "",
88054
88018
  "stylesData": "",
88055
88019
  "jsdoctags": [
88056
88020
  {
88057
- "pos": 130,
88058
- "end": 320,
88021
+ "pos": 131,
88022
+ "end": 321,
88059
88023
  "kind": 321,
88060
88024
  "id": 0,
88061
88025
  "flags": 16777216,
package/docs/llms.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  # eui documentation
2
2
 
3
- > Generated by compodoc 2.0.0 at 2026-11-11T11:41:26.556Z, llm-md export.
3
+ > Generated by compodoc 2.0.0 at 2026-11-12T11:53:24.387Z, llm-md export.
4
4
 
5
5
  ## Modules
6
6
 
@@ -2355,17 +2355,17 @@ Selector: `[eclRadioLabel]`
2355
2355
  Description: Component representing a label for an ECL radio button. Used inside an element with the \[eclRadio\] directive to provide a styled label that can reflect the radio's state.
2356
2356
 
2357
2357
  Inputs:
2358
- - `isDisabled: boolean = false` — Adds styling for a disabled state. Exposed as a model so the parent eclRadio directive can synchronize the disabled state onto the label.
2359
- - `isInvalid: boolean = false` — Adds styling for an invalid state. Exposed as a model so the parent eclRadio directive can synchronize the invalid state onto the label.
2360
2358
  - `class: string = ''`
2361
2359
  - `e2eAttr: string`
2362
2360
  - `tabindex = undefined`
2363
2361
 
2364
2362
  Outputs:
2365
- - `isDisabled: boolean = false` — Adds styling for a disabled state. Exposed as a model so the parent eclRadio directive can synchronize the disabled state onto the label.
2366
- - `isInvalid: boolean = false` — Adds styling for an invalid state. Exposed as a model so the parent eclRadio directive can synchronize the invalid state onto the label.
2367
2363
  - `class: string = ''`
2368
2364
 
2365
+ Properties:
2366
+ - `isDisabled: unknown = signal(false)` — Adds styling for a disabled state. Internal writable state propagated from the parent eclRadio directive, which owns the disabled state and pushes it onto the label. Not intended to be bound directly on the label; set the state on the parent eclRadio .
2367
+ - `isInvalid: unknown = signal(false)` — Adds styling for an invalid state. Internal writable state propagated from the parent eclRadio directive, which owns the invalid state and pushes it onto the label. Not intended to be bound directly on the label; set the state on the parent eclRadio .
2368
+
2369
2369
  Methods:
2370
2370
  - `getCssClasses(rootClass: string): string` — Merges the mandatory ECL root class with the consumer-supplied class model value. Call this inside a sub-class's \[class\] host binding computed signal.
2371
2371
 
@@ -128,7 +128,7 @@
128
128
  </ol>
129
129
  <ul class="properties-list">
130
130
  <li>
131
- <b>Version</b> : 22.0.0-alpha.63</li>
131
+ <b>Version</b> : 22.0.0-alpha.65</li>
132
132
  </ul>
133
133
 
134
134
 
@@ -1 +1 @@
1
- {"version":3,"file":"eui-ecl-components-ecl-banner.mjs","names":[],"sources":["../../components/ecl-banner/ecl-banner-picture.directive.ts","../../components/ecl-banner/ecl-banner-video.directive.ts","../../components/ecl-banner/ecl-banner.component.ts","../../components/ecl-banner/ecl-banner.component.html","../../components/ecl-banner/ecl-banner-title.directive.ts","../../components/ecl-banner/ecl-banner-description.directive.ts","../../components/ecl-banner/index.ts"],"sourcesContent":["import { Directive, ElementRef, inject, input, computed } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Directive applied to the `<picture>` element within an `EclBannerComponent`.\n * Applies `ecl-picture ecl-banner__picture` CSS classes to the host element.\n */\n@Directive({\n selector: 'picture[eclBannerPicture]',\n host: {\n '[class]': 'cssClasses()',\n },\n})\nexport class EclBannerPictureDirective extends ECLBaseDirective {\n protected readonly cssClasses = computed<string>(() =>\n super.getCssClasses('ecl-picture ecl-banner__picture'));\n}\n\n/**\n * Directive applied to the `<img>` element inside an `EclBannerComponent`.\n * Applies the `ecl-banner__image` class and exposes the element reference.\n * Use `eclImageAnchor` to control the focal point of the image via the\n * `--ecl-image-anchor` CSS custom property.\n */\n@Directive({\n selector: 'img[eclBannerImage]',\n host: {\n class: 'ecl-banner__image',\n '[style.--ecl-image-anchor]': 'cssAnchor()',\n },\n})\nexport class EclBannerImageDirective extends ECLBaseDirective {\n el = inject(ElementRef);\n\n /**\n * Sets the image anchor point via the `--ecl-image-anchor` CSS custom property.\n * Accepts values 'center', 'top left', 'bottom right', '20% 20%'.\n */\n eclImageAnchor = input<'center' | 'top left' | 'bottom right' | '20% 20%'>();\n\n readonly cssAnchor = computed(() => {\n const value = this.eclImageAnchor();\n return value || null;\n });\n}\n","import { Directive, ElementRef, inject } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Directive applied to the `<video>` element used inside an `EclBannerComponent`.\n * Applies `ecl-video ecl-banner__video` classes to the host element and exposes the\n * element reference so the parent banner can control play/pause programmatically.\n */\n@Directive({\n selector: 'video[eclBannerVideo]',\n host: {\n class: 'ecl-video ecl-banner__video',\n },\n})\nexport class EclBannerVideoDirective extends ECLBaseDirective {\n el = inject(ElementRef);\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n AfterContentInit,\n Component,\n DOCUMENT,\n ElementRef,\n OnDestroy,\n Renderer2,\n afterNextRender,\n booleanAttribute,\n computed,\n forwardRef,\n inject,\n input,\n signal,\n contentChildren,\n contentChild,\n viewChild,\n} from '@angular/core';\nimport { EuiAppShellService } from '@eui/core';\nimport { EUI_ECL_BUTTON, EclButtonComponent } from '@eui/ecl/components/ecl-button';\nimport { EUI_ECL_ICON } from '@eui/ecl/components/ecl-icon';\nimport { EclLinkDirective } from '@eui/ecl/components/ecl-link';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { Subject, debounceTime, delay, distinctUntilChanged, fromEvent, map, takeUntil } from 'rxjs';\nimport { EclBannerImageDirective } from './ecl-banner-picture.directive';\nimport { EclBannerVideoDirective } from './ecl-banner-video.directive';\n\nconst enum DefaultRatio {\n XS = '6/1',\n S = '5/1',\n M = '4/1',\n L = '3/1',\n}\n\n/**\n * Banner component following the ECL design system, combining image or video media with\n * a content box that supports title, description, and call-to-action links.\n * Manages its own height to maintain the configured aspect ratio and reacts to\n * viewport resize and breakpoint changes.\n *\n * - Selector: `ecl-banner`.\n * - Media slots: project `picture[eclBannerPicture]` for images or `video[eclBannerVideo]` for\n * auto-playing muted video; detected via `hasImage` / `hasVideo` / `hasMedia`.\n * - Content slots: `[eclBannerTitle]` / `[eclBannerTitleText]` / `[eclBannerTitleLink]`,\n * `[eclBannerDescription]` / `[eclBannerDescriptionText]` / `[eclBannerDescriptionLink]`.\n * - CTA links: project `EclLinkDirective` elements — they are automatically decorated with\n * `ecl-banner__link-cta`.\n * - `eclSize` (`'xs'`|`'s'`|`'m'`|`'l'`) controls the aspect ratio; default `'m'`.\n * - `horizontalAlignment` (`'left'`|`'center'`|`'right'`) and `verticalAlignment`\n * (`'top'`|`'center'`|`'bottom'`) position the content box.\n * - `fontColor`, `fontSize`, `fontWeight`, `boxBackground` customise the content box appearance.\n * - Video play/pause is handled internally; `isPlaying` signal tracks playback state.\n * - `calculateHeight()` is public so a parent carousel can force height recalculation.\n */\n@Component({\n selector: 'ecl-banner',\n templateUrl: './ecl-banner.component.html',\n imports: [\n ...EUI_ECL_ICON,\n ...EUI_ECL_BUTTON,\n NgTemplateOutlet,\n ],\n host: {\n '[class]': 'cssClasses()',\n '[style.--banner-footer-height.px]': 'bannerFooterHeight()',\n },\n})\nexport class EclBannerComponent extends ECLBaseDirective implements AfterContentInit, OnDestroy {\n el = inject(ElementRef);\n /**\n * Defines the size of the banner. Affects its height-to-width aspect ratio.\n * Allowed values: 'xs' | 's' | 'm' | 'l'.\n * Default: 'm'.\n */\n readonly eclSize = input<'xs' | 's' | 'm' | 'l' | string>('m');\n\n /**\n * Defines the color of the font inside the banner content box.\n * Allowed values: 'light' | 'dark'.\n * Default: 'dark'.\n */\n readonly fontColor = input<'light' | 'dark' | string>('dark');\n\n /**\n * Defines the font size inside the banner content box.\n * Allowed values: 'm' | 'l'.\n * Default: 'm'.\n */\n readonly fontSize = input<'s' | 'm' | 'l' | string>('m');\n\n /** Font weight applied to the banner content box text. Default is `'light'`. */\n fontWeight = input<'light' | 'bold'>('light');\n\n /**\n * Defines the background color of the banner content box.\n * Allowed values: 'none' | 'light' | 'dark'.\n * Default: 'light'.\n */\n readonly boxBackground = input<'none' | 'light' | 'dark' | string>('light');\n\n /**\n * Sets the horizontal alignment of the content inside the banner.\n * Allowed values: 'left' | 'center' | 'right'.\n * Default: 'left'.\n */\n readonly horizontalAlignment = input<'right' | 'left' | 'center' | string>('left');\n\n /**\n * Sets the vertical alignment of the content inside the banner.\n * Allowed values: 'top' | 'center' | 'bottom'.\n * Default: 'center'.\n */\n readonly verticalAlignment = input<'top' | 'center' | 'bottom' | string>('center');\n\n /**\n * Sets the copyright text displayed in the banner.\n */\n readonly copyright = input('');\n\n /**\n * When true, the banner stretches to full width of its container.\n * Default: false.\n */\n readonly isFullWidth = input(false, { transform: booleanAttribute });\n\n /** When true, renders a dark overlay over the banner media. */\n hasOverlay = input(false, { transform: booleanAttribute });\n\n readonly eclLinkComponents = contentChildren(forwardRef(() => EclLinkDirective));\n readonly eclBannerImage = contentChild(EclBannerImageDirective);\n readonly eclBannerVideo = contentChild(EclBannerVideoDirective);\n\n readonly bannerFooter = viewChild<ElementRef>('bannerFooter');\n readonly bannerContainer = viewChild<ElementRef>('bannerContainer');\n readonly playBtn = viewChild<EclButtonComponent>('playBtn');\n readonly pauseBtn = viewChild<EclButtonComponent>('pauseBtn');\n\n readonly bannerFooterHeight = signal<number | null>(null);\n\n protected readonly cssClasses = computed<string>(() =>\n [\n super.getCssClasses('ecl-banner'),\n `ecl-banner--${this.eclSize()}`,\n `ecl-banner--font-${this.fontSize()}`,\n `ecl-banner--box-bg-${this.boxBackground()}`,\n `ecl-banner--h-${this.horizontalAlignment()}`,\n `ecl-banner--v-${this.verticalAlignment()}`,\n `ecl-banner--color-${this.fontColor()}`,\n `ecl-banner--font-weight-${this.fontWeight()}`,\n this.isFullWidth() ? 'ecl-banner--full-width' : '',\n !this.hasMedia ? 'ecl-banner--no-media' : '',\n this.hasOverlay() ? 'ecl-banner--overlay' : '',\n ]\n .join(' ')\n .trim());\n\n /**\n * When true, the banner's own height management is disabled.\n * Used by the carousel to prevent height conflicts.\n */\n skipHeightManagement = false;\n isPlaying = signal(true);\n private destroy$: Subject<boolean> = new Subject<boolean>();\n private breakpoint = 996;\n private bannerVPadding = 8;\n private readonly TIMEOUT_INTERVAL = 200;\n private renderer = inject(Renderer2);\n private appShell = inject(EuiAppShellService);\n private maxIterations = 10;\n private readonly document = inject<Document>(DOCUMENT);\n private readonly window = this.document.defaultView; // Window | null\n\n constructor() {\n super();\n afterNextRender(() => {\n this.observeBreakpointChanges();\n this.checkViewport();\n fromEvent(this.window, 'resize').pipe(\n debounceTime(this.TIMEOUT_INTERVAL),\n takeUntil(this.destroy$)).subscribe(() => {\n this.checkViewport();\n });\n });\n }\n\n ngAfterContentInit(): void {\n const eclLinkComponents = this.eclLinkComponents();\n if (eclLinkComponents) {\n eclLinkComponents.forEach((link) => {\n link.class.set('ecl-banner__link-cta');\n });\n }\n\n if (this.hasVideo) {\n const videoEl : HTMLVideoElement = this.eclBannerVideo().el.nativeElement;\n videoEl.addEventListener('play', () => {\n this.isPlaying.set(true);\n });\n videoEl.addEventListener('pause', () => {\n this.isPlaying.set(false);\n });\n this.renderer.setProperty(videoEl, 'muted', true);\n this.renderer.setProperty(videoEl, 'loop', true);\n this.renderer.setProperty(videoEl, 'autoplay', true);\n this.renderer.removeAttribute(videoEl, 'controls');\n }\n }\n\n ngOnDestroy(): void {\n this.destroy$.next(true);\n this.destroy$.unsubscribe();\n }\n\n /**\n * Indicates whether the banner contains at least one call-to-action link.\n */\n get hasCtaLink(): boolean {\n return this.eclLinkComponents().length > 0;\n }\n\n /**\n * Indicates whether the banner contains an image.\n */\n get hasImage(): boolean {\n return !!this.eclBannerImage();\n }\n\n /**\n * Indicates whether the banner contains a video.\n */\n get hasVideo(): boolean {\n return !!this.eclBannerVideo();\n }\n\n /**\n * Indicates whether the banner contains any media (image or video).\n */\n get hasMedia(): boolean {\n return this.hasImage || this.hasVideo;\n }\n\n /**\n * Handles keyboard activation (Enter key) to play video.\n * Moves focus to pause button after playing starts.\n */\n onKeydownEnterPlay(): void {\n this.onVideoPlay();\n setTimeout(() => this.pauseBtn().onFocus());\n }\n\n /**\n * Handles keyboard activation (Enter key) to pause video.\n * Moves focus to play button after pausing.\n */\n onKeydownEnterPause(): void {\n this.onVideoPause();\n setTimeout(() => this.playBtn().onFocus());\n }\n\n /**\n * Plays the embedded banner video.\n * Triggered via interaction (e.g., button).\n */\n onVideoPlay(): void {\n const videoEl : HTMLVideoElement = this.eclBannerVideo().el.nativeElement;\n videoEl.play();\n }\n\n /**\n * Pauses the embedded banner video.\n * Triggered via interaction (e.g., button).\n */\n onVideoPause(): void {\n const videoEl : HTMLVideoElement = this.eclBannerVideo().el.nativeElement;\n videoEl.pause();\n }\n\n /**\n * Triggers the banner's height calculation.\n * Used by the carousel to force height recalculation before measuring.\n */\n public calculateHeight(): void {\n if (window.innerWidth > this.breakpoint) {\n this.setBannerHeight();\n } else {\n this.resetBannerHeight();\n }\n }\n\n private checkViewport() {\n if (this.skipHeightManagement) return;\n this.calculateHeight();\n }\n\n private waitForAspectRatioToBeDefined(attemptCounter: number) {\n attemptCounter = attemptCounter + 1;\n const aspectRatio = window.getComputedStyle(this.el.nativeElement).getPropertyValue('--css-aspect-ratio');\n\n if (\n (typeof aspectRatio === 'undefined' || aspectRatio === '') &&\n this.maxIterations > attemptCounter\n ) {\n setTimeout(() => this.waitForAspectRatioToBeDefined(attemptCounter), 100);\n } else {\n this.setHeight(aspectRatio || this.getDefaultRatio());\n }\n }\n\n private setBannerHeight(): void {\n if (this.hasMedia) {\n const aspectRatio = window.getComputedStyle(this.el.nativeElement).getPropertyValue('--css-aspect-ratio');\n if (aspectRatio) {\n this.setHeight(aspectRatio);\n } else {\n this.waitForAspectRatioToBeDefined(0);\n }\n } else {\n this.setHeight(this.getDefaultRatio());\n }\n }\n\n private setHeight(ratio: string) {\n const bannerContainer = this.bannerContainer();\n if (bannerContainer) {\n const bannerHeight = bannerContainer.nativeElement.offsetHeight + 2*this.bannerVPadding;\n const bannerWidth = parseInt(window.getComputedStyle(this.el.nativeElement).getPropertyValue('width'), 10);\n const [denominator, numerator] = ratio.split('/').map(Number);\n const currentHeight = (bannerWidth * numerator) / denominator;\n if (bannerHeight > currentHeight) {\n this.renderer.setStyle(this.el.nativeElement, 'aspect-ratio', 'auto');\n this.renderer.setStyle(this.el.nativeElement, 'height', `${bannerHeight}px`);\n } else {\n this.resetBannerHeight();\n }\n }\n\n // Add margin to the banner container when there is a footer\n // This is needed to keep the vertical alignment\n const bannerFooter = this.bannerFooter();\n if (bannerFooter) {\n this.bannerFooterHeight.set(bannerFooter.nativeElement.offsetHeight);\n }\n }\n\n private resetBannerHeight(): void {\n // remove aspect-ratio\n this.renderer.removeStyle(this.el.nativeElement, 'aspect-ratio');\n\n // set height to auto\n this.renderer.setStyle(this.el.nativeElement, 'height', 'auto');\n\n // update footer height if bannerFooter exists\n const bannerFooter = this.bannerFooter();\n if (bannerFooter) {\n this.bannerFooterHeight.set(bannerFooter.nativeElement.offsetHeight);\n }\n }\n\n private getDefaultRatio(): string {\n switch(this.eclSize()) {\n case 'xs': {\n return DefaultRatio.XS;\n }\n case 's': {\n return DefaultRatio.S;\n }\n case 'l': {\n return DefaultRatio.L;\n }\n default: {\n return DefaultRatio.M;\n }\n }\n }\n\n private observeBreakpointChanges(): void {\n this.appShell.getState<any>('breakpoints')\n .pipe(\n map(bp => !!(bp?.isMobile || bp?.isTablet)), // xs/sm/md (< 996px)\n distinctUntilChanged(),\n delay(this.TIMEOUT_INTERVAL),\n takeUntil(this.destroy$),\n )\n .subscribe((isBelowLg) => {\n if (!isBelowLg && !this.skipHeightManagement) {\n this.setBannerHeight();\n }\n });\n }\n}\n","@if(hasImage) {\n<figure class=\"ecl-banner__picture-container\">\n <ng-content select=\"[eclBannerPicture]\"></ng-content>\n @if(copyright()) {\n <ng-container *ngTemplateOutlet=\"bannerFooterTemplate\"></ng-container>\n }\n</figure>\n}\n\n@if(hasVideo) {\n<div class=\"ecl-banner__video-container\">\n <ng-content select=\"[eclBannerVideo]\"></ng-content>\n @if(copyright()) {\n <ng-container *ngTemplateOutlet=\"bannerFooterTemplate\"></ng-container>\n }\n <button #playBtn eclButton variant=\"tertiary\" isIconOnly class=\"ecl-banner__play\" (click)=\"onVideoPlay()\"\n [style.display]=\"isPlaying() ? 'none' : 'flex'\" (keydown.enter)=\"onKeydownEnterPlay()\">\n <span eclButtonLabel>Play video</span>\n <ecl-icon icon=\"play-outline\" size=\"m\"></ecl-icon>\n </button>\n <button #pauseBtn eclButton variant=\"tertiary\" isIconOnly class=\"ecl-banner__pause\" (click)=\"onVideoPause()\"\n [style.display]=\"isPlaying() ? 'flex' : 'none'\" (keydown.enter)=\"onKeydownEnterPause()\">\n <span eclButtonLabel>Pause video</span>\n <ecl-icon icon=\"pause-outline\" size=\"m\"></ecl-icon>\n </button>\n</div>\n}\n<div class=\"ecl-container ecl-banner__info\">\n <div #bannerContainer class=\"ecl-banner__container \">\n <div class=\"ecl-banner__content\">\n <ng-content select=\"[eclBannerTitle]\"></ng-content>\n <ng-content select=\"[eclBannerDescription]\"></ng-content>\n @if (hasCtaLink) {\n <div class=\"ecl-banner__cta\">\n <ng-content select=\"[eclLink]\"></ng-content>\n </div>\n }\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n\n<ng-template #bannerFooterTemplate>\n <footer #bannerFooter class=\"ecl-banner__credit\"><div class=\"ecl-container\">© {{copyright()}}</div></footer>\n</ng-template>","import { Directive } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Directive applied to the banner title container element.\n * Applies the `ecl-banner__title` class to the host element.\n */\n@Directive({\n selector: '[eclBannerTitle]',\n host: {\n class: 'ecl-banner__title',\n },\n})\nexport class EclBannerTitleDirective extends ECLBaseDirective {\n}\n\n/**\n * Directive applied to the text element within the banner title.\n * Applies the `ecl-banner__title-text` class to the host element.\n */\n@Directive({\n selector: '[eclBannerTitleText]',\n host: {\n class: 'ecl-banner__title-text',\n },\n})\nexport class EclBannerTitleTextDirective extends ECLBaseDirective {\n}\n\n/**\n * Directive applied to the link element within the banner title.\n * Applies `ecl-link ecl-banner__title-link` classes to the host element.\n */\n@Directive({\n selector: '[eclBannerTitleLink]',\n host: {\n class: 'ecl-link ecl-banner__title-link',\n },\n})\nexport class EclBannerTitleLinkDirective extends ECLBaseDirective {\n}\n","import { Directive } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Directive for the main banner description container inside an `EclBannerComponent`.\n * Applies the `ecl-banner__description` class to the host element.\n */\n@Directive({\n selector: '[eclBannerDescription]',\n host: {\n class: 'ecl-banner__description',\n },\n})\nexport class EclBannerDescriptionDirective extends ECLBaseDirective {\n}\n\n/**\n * Directive for the textual content inside the banner description container.\n * Applies the `ecl-banner__description-text` class.\n */\n@Directive({\n selector: '[eclBannerDescriptionText]',\n host: {\n class: 'ecl-banner__description-text',\n },\n})\nexport class EclBannerDescriptionTextDirective extends ECLBaseDirective {\n}\n\n/**\n * Directive for a link inside the banner description container.\n * Applies `ecl-link ecl-banner__description-link` classes to the host element.\n */\n@Directive({\n selector: '[eclBannerDescriptionLink]',\n host: {\n class: 'ecl-link ecl-banner__description-link',\n },\n})\nexport class EclBannerDescriptionLinkDirective extends ECLBaseDirective {\n}\n","import { EclBannerComponent } from './ecl-banner.component';\nimport { EclBannerTitleDirective, EclBannerTitleTextDirective, EclBannerTitleLinkDirective } from './ecl-banner-title.directive';\nimport { EclBannerDescriptionDirective, EclBannerDescriptionTextDirective, EclBannerDescriptionLinkDirective } from './ecl-banner-description.directive';\nimport { EclBannerImageDirective, EclBannerPictureDirective } from './ecl-banner-picture.directive';\nimport { EclBannerVideoDirective } from './ecl-banner-video.directive';\n\nexport * from './ecl-banner.component';\nexport * from './ecl-banner-title.directive';\nexport * from './ecl-banner-description.directive';\nexport * from './ecl-banner-picture.directive';\nexport * from './ecl-banner-video.directive';\n\nexport const EUI_ECL_BANNER = [\n EclBannerComponent,\n EclBannerTitleDirective,\n EclBannerTitleTextDirective,\n EclBannerTitleLinkDirective,\n EclBannerDescriptionDirective,\n EclBannerDescriptionTextDirective,\n EclBannerDescriptionLinkDirective,\n EclBannerPictureDirective,\n EclBannerImageDirective,\n EclBannerVideoDirective,\n] as const;\n"],"mappings":";;;;;;;;;;;AAaA,IAAa,4BAAb,MAAa,kCAAkC,iBAAgB;CAN/D,cAAA;;EAOuB,KAAA,aAAa,eAC5B,MAAM,cAAc,iCAAiC,GAAE,GAAA,YAAA,CAAA,EAAA,WAAA,aAAA,CAAA,+BAAA,CAAA,CAAA;CAC9D;CAHY;E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A;GAAA,MAAA,EAAA,gBAAA,+BAAA;GAAA,iBAAA;GAAA,UAAA;EAAA,CAAA;CAAA;;AAAjC,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAiC,YAAA,CAAA;EAN7C,MAAA;EAAU,MAAA,CAAA;GACP,UAAU;GACV,MAAM,EACF,OAAO,+BACV;EACJ,CAAA;;;AAcD,IAAa,oCAAb,MAAa,0CAA0C,iBAAgB;CAA1D;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAiC,MAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAAjC;EAAA,KAAA,OAAA,GAAA,qBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,MAAA;GAAiC,cAAA;GAAA,UAAA;GAAA,MAAA,EAAA,gBAAA,wCAAA;GAAA,iBAAA;GAAA,UAAA;EAAA,CAAA;CAAA;;AAAjC,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAiC,YAAA,CAAA;EAN7C,MAAA;EAAU,MAAA,CAAA;GACP,UAAU;GACV,MAAM,EACF,OAAO,wCACV;EACJ,CAAA;;;AC1BD,MAAa,iBAAiB;CAC5B;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACQ"}
1
+ {"version":3,"file":"eui-ecl-components-ecl-banner.mjs","names":[],"sources":["../../components/ecl-banner/ecl-banner-picture.directive.ts","../../components/ecl-banner/ecl-banner-video.directive.ts","../../components/ecl-banner/ecl-banner.component.ts","../../components/ecl-banner/ecl-banner.component.html","../../components/ecl-banner/ecl-banner-title.directive.ts","../../components/ecl-banner/ecl-banner-description.directive.ts","../../components/ecl-banner/index.ts"],"sourcesContent":["import { Directive, ElementRef, inject, input, computed } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Directive applied to the `<picture>` element within an `EclBannerComponent`.\n * Applies `ecl-picture ecl-banner__picture` CSS classes to the host element.\n */\n@Directive({\n selector: 'picture[eclBannerPicture]',\n host: {\n '[class]': 'cssClasses()',\n },\n})\nexport class EclBannerPictureDirective extends ECLBaseDirective {\n protected readonly cssClasses = computed<string>(() =>\n super.getCssClasses('ecl-picture ecl-banner__picture'));\n}\n\n/**\n * Directive applied to the `<img>` element inside an `EclBannerComponent`.\n * Applies the `ecl-banner__image` class and exposes the element reference.\n * Use `eclImageAnchor` to control the focal point of the image via the\n * `--ecl-image-anchor` CSS custom property.\n */\n@Directive({\n selector: 'img[eclBannerImage]',\n host: {\n class: 'ecl-banner__image',\n '[style.--ecl-image-anchor]': 'cssAnchor()',\n },\n})\nexport class EclBannerImageDirective extends ECLBaseDirective {\n el = inject(ElementRef);\n\n /**\n * Sets the image anchor point via the `--ecl-image-anchor` CSS custom property.\n * Accepts values 'center', 'top left', 'bottom right', '20% 20%'.\n */\n eclImageAnchor = input<'center' | 'top left' | 'bottom right' | '20% 20%'>();\n\n readonly cssAnchor = computed(() => {\n const value = this.eclImageAnchor();\n return value || null;\n });\n}\n","import { Directive, ElementRef, inject } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Directive applied to the `<video>` element used inside an `EclBannerComponent`.\n * Applies `ecl-video ecl-banner__video` classes to the host element and exposes the\n * element reference so the parent banner can control play/pause programmatically.\n */\n@Directive({\n selector: 'video[eclBannerVideo]',\n host: {\n class: 'ecl-video ecl-banner__video',\n },\n})\nexport class EclBannerVideoDirective extends ECLBaseDirective {\n el = inject(ElementRef);\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n AfterContentInit,\n Component,\n DOCUMENT,\n ElementRef,\n OnDestroy,\n Renderer2,\n afterNextRender,\n booleanAttribute,\n computed,\n forwardRef,\n inject,\n input,\n signal,\n contentChildren,\n contentChild,\n viewChild,\n} from '@angular/core';\nimport { EuiAppShellService } from '@eui/core';\nimport { EUI_ECL_BUTTON, EclButtonComponent } from '@eui/ecl/components/ecl-button';\nimport { EUI_ECL_ICON } from '@eui/ecl/components/ecl-icon';\nimport { EclLinkDirective } from '@eui/ecl/components/ecl-link';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { Subject, debounceTime, delay, distinctUntilChanged, fromEvent, map, takeUntil } from 'rxjs';\nimport { EclBannerImageDirective } from './ecl-banner-picture.directive';\nimport { EclBannerVideoDirective } from './ecl-banner-video.directive';\n\nconst enum DefaultRatio {\n XS = '6/1',\n S = '5/1',\n M = '4/1',\n L = '3/1',\n}\n\n/**\n * Banner component following the ECL design system, combining image or video media with\n * a content box that supports title, description, and call-to-action links.\n * Manages its own height to maintain the configured aspect ratio and reacts to\n * viewport resize and breakpoint changes.\n *\n * - Selector: `ecl-banner`.\n * - Media slots: project `picture[eclBannerPicture]` for images or `video[eclBannerVideo]` for\n * auto-playing muted video; detected via `hasImage` / `hasVideo` / `hasMedia`.\n * - Content slots: `[eclBannerTitle]` / `[eclBannerTitleText]` / `[eclBannerTitleLink]`,\n * `[eclBannerDescription]` / `[eclBannerDescriptionText]` / `[eclBannerDescriptionLink]`.\n * - CTA links: project `EclLinkDirective` elements — they are automatically decorated with\n * `ecl-banner__link-cta`.\n * - `eclSize` (`'xs'`|`'s'`|`'m'`|`'l'`) controls the aspect ratio; default `'m'`.\n * - `horizontalAlignment` (`'left'`|`'center'`|`'right'`) and `verticalAlignment`\n * (`'top'`|`'center'`|`'bottom'`) position the content box.\n * - `fontColor`, `fontSize`, `fontWeight`, `boxBackground` customise the content box appearance.\n * - Video play/pause is handled internally; `isPlaying` signal tracks playback state.\n * - `calculateHeight()` is public so a parent carousel can force height recalculation.\n */\n@Component({\n selector: 'ecl-banner',\n templateUrl: './ecl-banner.component.html',\n imports: [\n ...EUI_ECL_ICON,\n ...EUI_ECL_BUTTON,\n NgTemplateOutlet,\n ],\n host: {\n '[class]': 'cssClasses()',\n '[style.--banner-footer-height.px]': 'bannerFooterHeight()',\n },\n})\nexport class EclBannerComponent extends ECLBaseDirective implements AfterContentInit, OnDestroy {\n el = inject(ElementRef);\n /**\n * Defines the size of the banner. Affects its height-to-width aspect ratio.\n * Allowed values: 'xs' | 's' | 'm' | 'l'.\n * Default: 'm'.\n */\n readonly eclSize = input<'xs' | 's' | 'm' | 'l' | string>('m');\n\n /**\n * Defines the color of the font inside the banner content box.\n * Allowed values: 'light' | 'dark'.\n * Default: 'dark'.\n */\n readonly fontColor = input<'light' | 'dark' | string>('dark');\n\n /**\n * Defines the font size inside the banner content box.\n * Allowed values: 'm' | 'l'.\n * Default: 'm'.\n */\n readonly fontSize = input<'s' | 'm' | 'l' | string>('m');\n\n /** Font weight applied to the banner content box text. Default is `'light'`. */\n fontWeight = input<'light' | 'bold'>('light');\n\n /**\n * Defines the background color of the banner content box.\n * Allowed values: 'none' | 'light' | 'dark'.\n * Default: 'light'.\n */\n readonly boxBackground = input<'none' | 'light' | 'dark' | string>('light');\n\n /**\n * Sets the horizontal alignment of the content inside the banner.\n * Allowed values: 'left' | 'center' | 'right'.\n * Default: 'left'.\n */\n readonly horizontalAlignment = input<'right' | 'left' | 'center' | string>('left');\n\n /**\n * Sets the vertical alignment of the content inside the banner.\n * Allowed values: 'top' | 'center' | 'bottom'.\n * Default: 'center'.\n */\n readonly verticalAlignment = input<'top' | 'center' | 'bottom' | string>('center');\n\n /**\n * Sets the copyright text displayed in the banner.\n */\n readonly copyright = input('');\n\n /**\n * When true, the banner stretches to full width of its container.\n * Default: false.\n */\n readonly isFullWidth = input(false, { transform: booleanAttribute });\n\n /** When true, renders a dark overlay over the banner media. */\n hasOverlay = input(false, { transform: booleanAttribute });\n\n readonly eclLinkComponents = contentChildren(forwardRef(() => EclLinkDirective));\n readonly eclBannerImage = contentChild(EclBannerImageDirective);\n readonly eclBannerVideo = contentChild(EclBannerVideoDirective);\n\n readonly bannerFooter = viewChild<ElementRef>('bannerFooter');\n readonly bannerContainer = viewChild<ElementRef>('bannerContainer');\n readonly playBtn = viewChild<EclButtonComponent>('playBtn');\n readonly pauseBtn = viewChild<EclButtonComponent>('pauseBtn');\n\n readonly bannerFooterHeight = signal<number | null>(null);\n\n protected readonly cssClasses = computed<string>(() =>\n [\n super.getCssClasses('ecl-banner'),\n `ecl-banner--${this.eclSize()}`,\n `ecl-banner--font-${this.fontSize()}`,\n `ecl-banner--box-bg-${this.boxBackground()}`,\n `ecl-banner--h-${this.horizontalAlignment()}`,\n `ecl-banner--v-${this.verticalAlignment()}`,\n `ecl-banner--color-${this.fontColor()}`,\n `ecl-banner--font-weight-${this.fontWeight()}`,\n this.isFullWidth() ? 'ecl-banner--full-width' : '',\n !this.hasMedia ? 'ecl-banner--no-media' : '',\n this.hasOverlay() ? 'ecl-banner--overlay' : '',\n ]\n .join(' ')\n .trim());\n\n /**\n * When true, the banner's own height management is disabled.\n * Used by the carousel to prevent height conflicts.\n */\n skipHeightManagement = false;\n isPlaying = signal(true);\n private destroy$: Subject<boolean> = new Subject<boolean>();\n private breakpoint = 996;\n private bannerVPadding = 8;\n private readonly TIMEOUT_INTERVAL = 200;\n private renderer = inject(Renderer2);\n private appShell = inject(EuiAppShellService);\n private maxIterations = 10;\n private readonly document = inject<Document>(DOCUMENT);\n private readonly window = this.document.defaultView; // Window | null\n\n constructor() {\n super();\n afterNextRender(() => {\n this.observeBreakpointChanges();\n this.checkViewport();\n fromEvent(this.window, 'resize').pipe(\n debounceTime(this.TIMEOUT_INTERVAL),\n takeUntil(this.destroy$)).subscribe(() => {\n this.checkViewport();\n });\n });\n }\n\n ngAfterContentInit(): void {\n const eclLinkComponents = this.eclLinkComponents();\n if (eclLinkComponents) {\n eclLinkComponents.forEach((link) => {\n link.class.set('ecl-banner__link-cta');\n });\n }\n\n if (this.hasVideo) {\n const videoEl : HTMLVideoElement = this.eclBannerVideo().el.nativeElement;\n videoEl.addEventListener('play', () => {\n this.isPlaying.set(true);\n });\n videoEl.addEventListener('pause', () => {\n this.isPlaying.set(false);\n });\n this.renderer.setProperty(videoEl, 'muted', true);\n this.renderer.setProperty(videoEl, 'loop', true);\n this.renderer.setProperty(videoEl, 'autoplay', true);\n this.renderer.removeAttribute(videoEl, 'controls');\n }\n }\n\n ngOnDestroy(): void {\n this.destroy$.next(true);\n this.destroy$.unsubscribe();\n }\n\n /**\n * Indicates whether the banner contains at least one call-to-action link.\n */\n get hasCtaLink(): boolean {\n return this.eclLinkComponents().length > 0;\n }\n\n /**\n * Indicates whether the banner contains an image.\n */\n get hasImage(): boolean {\n return !!this.eclBannerImage();\n }\n\n /**\n * Indicates whether the banner contains a video.\n */\n get hasVideo(): boolean {\n return !!this.eclBannerVideo();\n }\n\n /**\n * Indicates whether the banner contains any media (image or video).\n */\n get hasMedia(): boolean {\n return this.hasImage || this.hasVideo;\n }\n\n /**\n * Handles keyboard activation (Enter key) to play video.\n * Moves focus to pause button after playing starts.\n */\n onKeydownEnterPlay(): void {\n this.onVideoPlay();\n setTimeout(() => this.pauseBtn().onFocus());\n }\n\n /**\n * Handles keyboard activation (Enter key) to pause video.\n * Moves focus to play button after pausing.\n */\n onKeydownEnterPause(): void {\n this.onVideoPause();\n setTimeout(() => this.playBtn().onFocus());\n }\n\n /**\n * Plays the embedded banner video.\n * Triggered via interaction (e.g., button).\n */\n onVideoPlay(): void {\n const videoEl : HTMLVideoElement = this.eclBannerVideo().el.nativeElement;\n videoEl.play();\n }\n\n /**\n * Pauses the embedded banner video.\n * Triggered via interaction (e.g., button).\n */\n onVideoPause(): void {\n const videoEl : HTMLVideoElement = this.eclBannerVideo().el.nativeElement;\n videoEl.pause();\n }\n\n /**\n * Triggers the banner's height calculation.\n * Used by the carousel to force height recalculation before measuring.\n */\n public calculateHeight(): void {\n if (window.innerWidth > this.breakpoint) {\n this.setBannerHeight();\n } else {\n this.resetBannerHeight();\n }\n }\n\n private checkViewport() {\n if (this.skipHeightManagement) return;\n this.calculateHeight();\n }\n\n private waitForAspectRatioToBeDefined(attemptCounter: number) {\n attemptCounter = attemptCounter + 1;\n const aspectRatio = window.getComputedStyle(this.el.nativeElement).getPropertyValue('--css-aspect-ratio');\n\n if (\n (typeof aspectRatio === 'undefined' || aspectRatio === '') &&\n this.maxIterations > attemptCounter\n ) {\n setTimeout(() => this.waitForAspectRatioToBeDefined(attemptCounter), 100);\n } else {\n this.setHeight(aspectRatio || this.getDefaultRatio());\n }\n }\n\n private setBannerHeight(): void {\n if (this.hasMedia) {\n const aspectRatio = window.getComputedStyle(this.el.nativeElement).getPropertyValue('--css-aspect-ratio');\n if (aspectRatio) {\n this.setHeight(aspectRatio);\n } else {\n this.waitForAspectRatioToBeDefined(0);\n }\n } else {\n this.setHeight(this.getDefaultRatio());\n }\n }\n\n private setHeight(ratio: string) {\n const bannerContainer = this.bannerContainer();\n if (bannerContainer) {\n const bannerHeight = bannerContainer.nativeElement.offsetHeight + 2*this.bannerVPadding;\n const bannerWidth = parseInt(window.getComputedStyle(this.el.nativeElement).getPropertyValue('width'), 10);\n const [denominator, numerator] = ratio.split('/').map(Number);\n const currentHeight = (bannerWidth * numerator) / denominator;\n if (bannerHeight > currentHeight) {\n this.renderer.setStyle(this.el.nativeElement, 'aspect-ratio', 'auto');\n this.renderer.setStyle(this.el.nativeElement, 'height', `${bannerHeight}px`);\n } else {\n this.resetBannerHeight();\n }\n }\n\n // Add margin to the banner container when there is a footer\n // This is needed to keep the vertical alignment\n const bannerFooter = this.bannerFooter();\n if (bannerFooter) {\n this.bannerFooterHeight.set(bannerFooter.nativeElement.offsetHeight);\n }\n }\n\n private resetBannerHeight(): void {\n // remove aspect-ratio\n this.renderer.removeStyle(this.el.nativeElement, 'aspect-ratio');\n\n // set height to auto\n this.renderer.setStyle(this.el.nativeElement, 'height', 'auto');\n\n // update footer height if bannerFooter exists\n const bannerFooter = this.bannerFooter();\n if (bannerFooter) {\n this.bannerFooterHeight.set(bannerFooter.nativeElement.offsetHeight);\n }\n }\n\n private getDefaultRatio(): string {\n switch(this.eclSize()) {\n case 'xs': {\n return DefaultRatio.XS;\n }\n case 's': {\n return DefaultRatio.S;\n }\n case 'l': {\n return DefaultRatio.L;\n }\n default: {\n return DefaultRatio.M;\n }\n }\n }\n\n private observeBreakpointChanges(): void {\n this.appShell.getState<any>('breakpoints')\n .pipe(\n map(bp => !!(bp?.isMobile || bp?.isTablet)), // xs/sm/md (< 996px)\n distinctUntilChanged(),\n delay(this.TIMEOUT_INTERVAL),\n takeUntil(this.destroy$),\n )\n .subscribe((isBelowLg) => {\n if (!isBelowLg && !this.skipHeightManagement) {\n this.setBannerHeight();\n }\n });\n }\n}\n","@if(hasImage) {\n<figure class=\"ecl-banner__picture-container\">\n <ng-content select=\"[eclBannerPicture]\"></ng-content>\n @if(copyright()) {\n <ng-container *ngTemplateOutlet=\"bannerFooterTemplate\"></ng-container>\n }\n</figure>\n}\n\n@if(hasVideo) {\n<div class=\"ecl-banner__video-container\">\n <ng-content select=\"[eclBannerVideo]\"></ng-content>\n @if(copyright()) {\n <ng-container *ngTemplateOutlet=\"bannerFooterTemplate\"></ng-container>\n }\n <button #playBtn eclButton variant=\"tertiary\" isIconOnly class=\"ecl-banner__play\" (click)=\"onVideoPlay()\"\n [style.display]=\"isPlaying() ? 'none' : 'flex'\" (keydown.enter)=\"onKeydownEnterPlay()\">\n <span eclButtonLabel>Play video</span>\n <ecl-icon icon=\"play-outline\" size=\"m\"></ecl-icon>\n </button>\n <button #pauseBtn eclButton variant=\"tertiary\" isIconOnly class=\"ecl-banner__pause\" (click)=\"onVideoPause()\"\n [style.display]=\"isPlaying() ? 'flex' : 'none'\" (keydown.enter)=\"onKeydownEnterPause()\">\n <span eclButtonLabel>Pause video</span>\n <ecl-icon icon=\"pause-outline\" size=\"m\"></ecl-icon>\n </button>\n</div>\n}\n<div class=\"ecl-container ecl-banner__info\">\n <div #bannerContainer class=\"ecl-banner__container \">\n <div class=\"ecl-banner__content\">\n <ng-content select=\"[eclBannerTitle]\"></ng-content>\n <ng-content select=\"[eclBannerDescription]\"></ng-content>\n @if (hasCtaLink) {\n <div class=\"ecl-banner__cta\">\n <ng-content select=\"[eclLink]\"></ng-content>\n </div>\n }\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n\n<ng-template #bannerFooterTemplate>\n <footer #bannerFooter class=\"ecl-banner__credit\"><div class=\"ecl-container\">© {{copyright()}}</div></footer>\n</ng-template>","import { Directive } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Directive applied to the banner title container element.\n * Applies the `ecl-banner__title` class to the host element.\n */\n@Directive({\n selector: '[eclBannerTitle]',\n host: {\n class: 'ecl-banner__title',\n },\n})\nexport class EclBannerTitleDirective extends ECLBaseDirective {\n}\n\n/**\n * Directive applied to the text element within the banner title.\n * Applies the `ecl-banner__title-text` class to the host element.\n */\n@Directive({\n selector: '[eclBannerTitleText]',\n host: {\n class: 'ecl-banner__title-text',\n },\n})\nexport class EclBannerTitleTextDirective extends ECLBaseDirective {\n}\n\n/**\n * Directive applied to the link element within the banner title.\n * Applies `ecl-link ecl-banner__title-link` classes to the host element.\n */\n@Directive({\n selector: '[eclBannerTitleLink]',\n host: {\n class: 'ecl-link ecl-banner__title-link',\n },\n})\nexport class EclBannerTitleLinkDirective extends ECLBaseDirective {\n}\n","import { Directive } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/**\n * Directive for the main banner description container inside an `EclBannerComponent`.\n * Applies the `ecl-banner__description` class to the host element.\n */\n@Directive({\n selector: '[eclBannerDescription]',\n host: {\n class: 'ecl-banner__description',\n },\n})\nexport class EclBannerDescriptionDirective extends ECLBaseDirective {\n}\n\n/**\n * Directive for the textual content inside the banner description container.\n * Applies the `ecl-banner__description-text` class.\n */\n@Directive({\n selector: '[eclBannerDescriptionText]',\n host: {\n class: 'ecl-banner__description-text',\n },\n})\nexport class EclBannerDescriptionTextDirective extends ECLBaseDirective {\n}\n\n/**\n * Directive for a link inside the banner description container.\n * Applies `ecl-link ecl-banner__description-link` classes to the host element.\n */\n@Directive({\n selector: '[eclBannerDescriptionLink]',\n host: {\n class: 'ecl-link ecl-banner__description-link',\n },\n})\nexport class EclBannerDescriptionLinkDirective extends ECLBaseDirective {\n}\n","import { EclBannerComponent } from './ecl-banner.component';\nimport { EclBannerTitleDirective, EclBannerTitleTextDirective, EclBannerTitleLinkDirective } from './ecl-banner-title.directive';\nimport { EclBannerDescriptionDirective, EclBannerDescriptionTextDirective, EclBannerDescriptionLinkDirective } from './ecl-banner-description.directive';\nimport { EclBannerImageDirective, EclBannerPictureDirective } from './ecl-banner-picture.directive';\nimport { EclBannerVideoDirective } from './ecl-banner-video.directive';\n\nexport * from './ecl-banner.component';\nexport * from './ecl-banner-title.directive';\nexport * from './ecl-banner-description.directive';\nexport * from './ecl-banner-picture.directive';\nexport * from './ecl-banner-video.directive';\n\nexport const EUI_ECL_BANNER = [\n EclBannerComponent,\n EclBannerTitleDirective,\n EclBannerTitleTextDirective,\n EclBannerTitleLinkDirective,\n EclBannerDescriptionDirective,\n EclBannerDescriptionTextDirective,\n EclBannerDescriptionLinkDirective,\n EclBannerPictureDirective,\n EclBannerImageDirective,\n EclBannerVideoDirective,\n] as const;\n"],"mappings":";;;;;;;;;;;AAaA,IAAa,4BAAb,MAAa,kCAAkC,iBAAgB;CAN/D,cAAA;;EAOuB,KAAA,aAAa,eAC5B,MAAM,cAAc,iCAAiC,GAAE,GAAA,YAAA,CAAA,EAAA,WAAA,aAAA,CAAA,+BAAA,CAAA,CAAA;CAC9D;CAHY;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAyB,MAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAAzB;EAAA,KAAA,OAAA,GAAA,qBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,MAAA;GAAyB,cAAA;GAAA,UAAA;GAAA,MAAA,EAAA,YAAA,EAAA,SAAA,eAAA,EAAA;GAAA,iBAAA;GAAA,UAAA;EAAA,CAAA;CAAA;;AAAzB,GAAA,yBAAA;CAAA,YAAA;CA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