@eui/ecl 22.0.0-alpha.67 → 22.0.0-alpha.69

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.
@@ -63480,7 +63480,7 @@
63480
63480
  },
63481
63481
  {
63482
63482
  "name": "EclGalleryItemComponent",
63483
- "id": "component-EclGalleryItemComponent-a4f705408cab42a125aef47795798a7b228e2519f933fe3aaba0d30803554176a790d6f89c0a3b4ce1eb713f3158fadfae35c0c081b01c9b6b6e15a616a4a7fe",
63483
+ "id": "component-EclGalleryItemComponent-c68d64331bea49e301d5baaa2f092fd1be0811825c65497d6a98c87b4b5cd4ae809c6b41b70af4f14b367ea6d29381a6a06c1f7b1de988b75732790930a060ef",
63484
63484
  "file": "packages/ecl/components/ecl-gallery/ecl-gallery-item.component.ts",
63485
63485
  "encapsulation": [],
63486
63486
  "entryComponents": [],
@@ -63955,7 +63955,7 @@
63955
63955
  "optional": false,
63956
63956
  "returnType": "string",
63957
63957
  "typeParameters": [],
63958
- "line": 151,
63958
+ "line": 146,
63959
63959
  "deprecated": false,
63960
63960
  "deprecationMessage": "",
63961
63961
  "rawdescription": "\n",
@@ -63968,7 +63968,7 @@
63968
63968
  "optional": false,
63969
63969
  "returnType": "SafeResourceUrl",
63970
63970
  "typeParameters": [],
63971
- "line": 155,
63971
+ "line": 150,
63972
63972
  "deprecated": false,
63973
63973
  "deprecationMessage": "",
63974
63974
  "rawdescription": "\n",
@@ -63994,7 +63994,7 @@
63994
63994
  "optional": false,
63995
63995
  "returnType": "void",
63996
63996
  "typeParameters": [],
63997
- "line": 159,
63997
+ "line": 154,
63998
63998
  "deprecated": false,
63999
63999
  "deprecationMessage": "",
64000
64000
  "rawdescription": "\n",
@@ -64016,7 +64016,7 @@
64016
64016
  "optional": false,
64017
64017
  "returnType": "void",
64018
64018
  "typeParameters": [],
64019
- "line": 163,
64019
+ "line": 158,
64020
64020
  "deprecated": false,
64021
64021
  "deprecationMessage": "",
64022
64022
  "rawdescription": "\n",
@@ -64118,14 +64118,14 @@
64118
64118
  "description": "<p>Represents a single media item — image, video, or external video — within an <code>ecl-gallery</code>.\nRenders the thumbnail in the gallery grid and exposes its data to the parent overlay.</p>\n<ul>\n<li><code>mediaType</code> — <code>&#39;image&#39;</code> (default), <code>&#39;video&#39;</code>, or <code>&#39;externalVideo&#39;</code> (iframe-embedded).</li>\n<li><code>src</code> is the original-resolution URL; used as the overlay / full-screen source.</li>\n<li><code>isShareable</code> controls whether the share button appears in the overlay for this item.</li>\n<li><code>itemClick</code> emits <code>EclGalleryItemClickEvent</code> when the thumbnail is clicked.</li>\n<li><code>isHidden</code> and <code>isNoOverlay</code> are set programmatically by the parent gallery component.</li>\n</ul>\n",
64119
64119
  "rawdescription": "\n\nRepresents a single media item — image, video, or external video — within an `ecl-gallery`.\nRenders the thumbnail in the gallery grid and exposes its data to the parent overlay.\n\n- `mediaType` — `'image'` (default), `'video'`, or `'externalVideo'` (iframe-embedded).\n- `src` is the original-resolution URL; used as the overlay / full-screen source.\n- `isShareable` controls whether the share button appears in the overlay for this item.\n- `itemClick` emits `EclGalleryItemClickEvent` when the thumbnail is clicked.\n- `isHidden` and `isNoOverlay` are set programmatically by the parent gallery component.\n",
64120
64120
  "type": "component",
64121
- "sourceCode": "import { Component, ElementRef, OnInit, Renderer2, booleanAttribute, computed, inject, input, output, signal, contentChild } from '@angular/core';\nimport { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';\nimport { EUI_ECL_ICON } from '@eui/ecl/components/ecl-icon';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport {\n EclGalleryMediaDirective,\n EclGalleryPictureDirective,\n} from './ecl-gallery-media.directive';\nimport { EclGalleryItemClickEvent } from './events';\nimport { EclGalleryItem } from './models/ecl-gallery-item.model';\n\n/**\n * Represents a single media item — image, video, or external video — within an `ecl-gallery`.\n * Renders the thumbnail in the gallery grid and exposes its data to the parent overlay.\n *\n * - `mediaType` — `'image'` (default), `'video'`, or `'externalVideo'` (iframe-embedded).\n * - `src` is the original-resolution URL; used as the overlay / full-screen source.\n * - `isShareable` controls whether the share button appears in the overlay for this item.\n * - `itemClick` emits `EclGalleryItemClickEvent` when the thumbnail is clicked.\n * - `isHidden` and `isNoOverlay` are set programmatically by the parent gallery component.\n */\n@Component({\n selector: 'ecl-gallery-item',\n templateUrl: './ecl-gallery-item.component.html',\n imports: [...EUI_ECL_ICON],\n host: {\n '[class]': 'cssClasses()',\n '[attr.role]': 'role',\n '(click)': 'onItemClick($event)',\n },\n})\nexport class EclGalleryItemComponent extends ECLBaseDirective implements EclGalleryItem, OnInit {\n /**\n * Can this item be shared, i.e. show/hide share button.\n */\n readonly isShareable = input(true, { transform: booleanAttribute });\n /** Media type of this item. Drives overlay rendering behaviour. */\n readonly mediaType = input<'image' | 'video' | 'externalVideo'>('image');\n /**\n * The source link to the image/video, that will be shown in the original size (when open image/video in overlay or in orginal size).\n */\n /** Original-resolution URL for the overlay / full-screen view. */\n readonly src = input<string>(undefined);\n /** Caption or metadata string displayed in the overlay. */\n readonly meta = input<string>(undefined);\n /** Description text displayed below the media in the overlay. */\n readonly description = input<string>(undefined);\n /** URL of an embedded audio description for the media (video items). */\n readonly srVideoAudioDescription = input<string>(undefined);\n /** Icon name for the item thumbnail (optional). */\n readonly icon = input<string>(undefined);\n /** Title text displayed on hover and in the overlay header. */\n readonly title = input<string>(undefined);\n /** Consumer-supplied ID for the item; auto-generated UUID if not provided. */\n readonly itemId = input<string>(undefined);\n /**\n * Publication date of the item. Shown in the item caption and in the overlay\n * (next to the \"published\" label).\n */\n readonly publicationDate = input<string>('');\n /**\n * Length of the video (e.g. \"1:01\"). Shown in the item caption for video items.\n */\n readonly videoLength = input<string>('');\n /**\n * Keeps the item caption permanently visible (not only on hover/focus).\n * Forced on for video / external-video items, matching ECL.\n */\n readonly titleAlwaysVisible = input(false, { transform: booleanAttribute });\n /** ARIA label for the thumbnail anchor element. */\n readonly ariaLabel = input<string | null>(null);\n /** Emitted when the user clicks the thumbnail; `EclGalleryItemClickEvent` carries no extra payload. */\n readonly itemClick = output<EclGalleryItemClickEvent>();\n readonly mediaChild = contentChild(EclGalleryMediaDirective);\n readonly galleryPicture = contentChild(EclGalleryPictureDirective);\n\n /**\n * The resolved id of the item. Falls back to a generated UUID when no itemId input is provided.\n */\n readonly resolvedItemId = signal<string>(undefined);\n\n /**\n * Whether the item is currently hidden in the gallery (controlled by the parent gallery).\n */\n readonly isHidden = signal(false);\n\n /**\n * Whether the item is displayed without an overlay (controlled by the parent gallery).\n */\n readonly isNoOverlay = signal(false);\n\n /**\n * Creates id for the title\n */\n readonly titleId = computed<string>(() => `${this.resolvedItemId()}-title`);\n\n /**\n * The role attribute of the item is 'listitem', should not be changed.\n */\n protected role = 'listitem';\n\n /**\n * Binds specific classes for the item. Some depend on some of the properties of the component.\n */\n protected readonly cssClasses = computed<string>(() =>\n [super.getCssClasses('ecl-gallery__item'), this.isHidden() ? 'ecl-gallery__item--hidden' : ''].join(' ').trim());\n\n private externalVideoUrl: SafeResourceUrl;\n private domSanitizer = inject(DomSanitizer);\n private renderer = inject(Renderer2);\n private el = inject(ElementRef);\n\n ngOnInit(): void {\n if (this.isExternalVideo) {\n const iframeUrl = new URL(this.src());\n if (iframeUrl.host.includes('youtube')) {\n this.externalVideoUrl = this.domSanitizer.bypassSecurityTrustResourceUrl(iframeUrl.toString());\n } else {\n this.externalVideoUrl = this.domSanitizer.bypassSecurityTrustResourceUrl(this.src());\n }\n }\n\n this.resolvedItemId.set(this.itemId() ?? crypto.randomUUID());\n }\n\n get isImage(): boolean {\n return this.mediaType() === 'image';\n }\n\n get isVideo(): boolean {\n return this.mediaType() === 'video';\n }\n\n get isExternalVideo(): boolean {\n return this.mediaType() === 'externalVideo';\n }\n\n /**\n * Whether the caption is permanently visible. ECL forces this on for video\n * and embedded-video items, in addition to the explicit `titleAlwaysVisible`.\n */\n get isCaptionAlwaysVisible(): boolean {\n return this.titleAlwaysVisible() || this.isVideo || this.isExternalVideo;\n }\n\n get isOpenInFullScreenPossible(): boolean {\n return this.mediaType() !== 'externalVideo';\n }\n\n getDownloadLink(): string {\n return this.src();\n }\n\n getUrlExternalVideo(): SafeResourceUrl {\n return this.externalVideoUrl;\n }\n\n onFocus(): void {\n this.renderer.selectRootElement(this.el.nativeElement.children[0], true).focus();\n }\n\n protected onItemClick(evt: MouseEvent): void {\n this.itemClick.emit(new EclGalleryItemClickEvent());\n evt.preventDefault();\n }\n}\n",
64121
+ "sourceCode": "import { Component, ElementRef, OnInit, Renderer2, booleanAttribute, computed, inject, input, output, signal, contentChild } from '@angular/core';\nimport { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';\nimport { EUI_ECL_ICON } from '@eui/ecl/components/ecl-icon';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport {\n EclGalleryMediaDirective,\n EclGalleryPictureDirective,\n} from './ecl-gallery-media.directive';\nimport { EclGalleryItemClickEvent } from './events';\nimport { EclGalleryItem } from './models/ecl-gallery-item.model';\n\n/**\n * Represents a single media item — image, video, or external video — within an `ecl-gallery`.\n * Renders the thumbnail in the gallery grid and exposes its data to the parent overlay.\n *\n * - `mediaType` — `'image'` (default), `'video'`, or `'externalVideo'` (iframe-embedded).\n * - `src` is the original-resolution URL; used as the overlay / full-screen source.\n * - `isShareable` controls whether the share button appears in the overlay for this item.\n * - `itemClick` emits `EclGalleryItemClickEvent` when the thumbnail is clicked.\n * - `isHidden` and `isNoOverlay` are set programmatically by the parent gallery component.\n */\n@Component({\n selector: 'ecl-gallery-item',\n templateUrl: './ecl-gallery-item.component.html',\n imports: [...EUI_ECL_ICON],\n host: {\n '[class]': 'cssClasses()',\n '[attr.role]': 'role',\n '(click)': 'onItemClick($event)',\n },\n})\nexport class EclGalleryItemComponent extends ECLBaseDirective implements EclGalleryItem, OnInit {\n /**\n * Can this item be shared, i.e. show/hide share button.\n */\n readonly isShareable = input(true, { transform: booleanAttribute });\n /** Media type of this item. Drives overlay rendering behaviour. */\n readonly mediaType = input<'image' | 'video' | 'externalVideo'>('image');\n /**\n * The source link to the image/video, that will be shown in the original size (when open image/video in overlay or in orginal size).\n */\n /** Original-resolution URL for the overlay / full-screen view. */\n readonly src = input<string>(undefined);\n /** Caption or metadata string displayed in the overlay. */\n readonly meta = input<string>(undefined);\n /** Description text displayed below the media in the overlay. */\n readonly description = input<string>(undefined);\n /** URL of an embedded audio description for the media (video items). */\n readonly srVideoAudioDescription = input<string>(undefined);\n /** Icon name for the item thumbnail (optional). */\n readonly icon = input<string>(undefined);\n /** Title text displayed on hover and in the overlay header. */\n readonly title = input<string>(undefined);\n /** Consumer-supplied ID for the item; auto-generated UUID if not provided. */\n readonly itemId = input<string>(undefined);\n /**\n * Publication date of the item. Shown in the item caption and in the overlay\n * (next to the \"published\" label).\n */\n readonly publicationDate = input<string>('');\n /**\n * Length of the video (e.g. \"1:01\"). Shown in the item caption for video items.\n */\n readonly videoLength = input<string>('');\n /**\n * Keeps the item caption permanently visible (not only on hover/focus).\n * Forced on for video / external-video items, matching ECL.\n */\n readonly titleAlwaysVisible = input(false, { transform: booleanAttribute });\n /** ARIA label for the thumbnail anchor element. */\n readonly ariaLabel = input<string | null>(null);\n /** Emitted when the user clicks the thumbnail; `EclGalleryItemClickEvent` carries no extra payload. */\n readonly itemClick = output<EclGalleryItemClickEvent>();\n readonly mediaChild = contentChild(EclGalleryMediaDirective);\n readonly galleryPicture = contentChild(EclGalleryPictureDirective);\n\n /**\n * The resolved id of the item. Falls back to a generated UUID when no itemId input is provided.\n */\n readonly resolvedItemId = signal<string>(undefined);\n\n /**\n * Whether the item is currently hidden in the gallery (controlled by the parent gallery).\n */\n readonly isHidden = signal(false);\n\n /**\n * Whether the item is displayed without an overlay (controlled by the parent gallery).\n */\n readonly isNoOverlay = signal(false);\n\n /**\n * Creates id for the title\n */\n readonly titleId = computed<string>(() => `${this.resolvedItemId()}-title`);\n\n /**\n * The role attribute of the item is 'listitem', should not be changed.\n */\n protected role = 'listitem';\n\n /**\n * Binds specific classes for the item. Some depend on some of the properties of the component.\n */\n protected readonly cssClasses = computed<string>(() =>\n [super.getCssClasses('ecl-gallery__item'), this.isHidden() ? 'ecl-gallery__item--hidden' : ''].join(' ').trim());\n\n private externalVideoUrl: SafeResourceUrl;\n private domSanitizer = inject(DomSanitizer);\n private renderer = inject(Renderer2);\n private el = inject(ElementRef);\n\n ngOnInit(): void {\n if (this.isExternalVideo) {\n this.externalVideoUrl = this.buildSafeVideoUrl(this.src());\n }\n\n this.resolvedItemId.set(this.itemId() ?? crypto.randomUUID());\n }\n\n get isImage(): boolean {\n return this.mediaType() === 'image';\n }\n\n get isVideo(): boolean {\n return this.mediaType() === 'video';\n }\n\n get isExternalVideo(): boolean {\n return this.mediaType() === 'externalVideo';\n }\n\n /**\n * Whether the caption is permanently visible. ECL forces this on for video\n * and embedded-video items, in addition to the explicit `titleAlwaysVisible`.\n */\n get isCaptionAlwaysVisible(): boolean {\n return this.titleAlwaysVisible() || this.isVideo || this.isExternalVideo;\n }\n\n get isOpenInFullScreenPossible(): boolean {\n return this.mediaType() !== 'externalVideo';\n }\n\n getDownloadLink(): string {\n return this.src();\n }\n\n getUrlExternalVideo(): SafeResourceUrl {\n return this.externalVideoUrl;\n }\n\n onFocus(): void {\n this.renderer.selectRootElement(this.el.nativeElement.children[0], true).focus();\n }\n\n protected onItemClick(evt: MouseEvent): void {\n this.itemClick.emit(new EclGalleryItemClickEvent());\n evt.preventDefault();\n }\n\n /**\n * Builds the trusted resource URL used as the iframe `src` of an external video.\n * Any host is allowed (as upstream ECL), but only absolute `https:` URLs are trusted.\n * This rejects `javascript:`, `data:`, `blob:` and relative/malformed values.\n * Invalid values are not trusted: the iframe gets `about:blank` and a warning is logged.\n * `about:blank` is returned (and not `undefined`) because the iframe `[src]` binding is\n * unconditional and Angular throws NG0904 for any value that is not a SafeResourceUrl.\n */\n private buildSafeVideoUrl(src: string): SafeResourceUrl {\n try {\n const parsed = new URL(src);\n if (parsed.protocol === 'https:') {\n return this.domSanitizer.bypassSecurityTrustResourceUrl(parsed.toString());\n }\n } catch {\n // malformed or relative URL: handled below\n }\n console.warn(`[ecl-gallery-item] External video \"src\" ignored: only absolute https URLs are allowed. Received: \"${src}\"`);\n return this.domSanitizer.bypassSecurityTrustResourceUrl('about:blank');\n }\n\n}\n",
64122
64122
  "assetsDirs": [],
64123
64123
  "styleUrlsData": "",
64124
64124
  "stylesData": "",
64125
64125
  "jsdoctags": [
64126
64126
  {
64127
- "pos": 753,
64128
- "end": 1387,
64127
+ "pos": 837,
64128
+ "end": 1471,
64129
64129
  "kind": 321,
64130
64130
  "id": 0,
64131
64131
  "flags": 16777216,
@@ -64148,7 +64148,7 @@
64148
64148
  "name": "isImage",
64149
64149
  "type": "boolean",
64150
64150
  "returnType": "boolean",
64151
- "line": 127,
64151
+ "line": 122,
64152
64152
  "rawdescription": "\n",
64153
64153
  "description": ""
64154
64154
  }
@@ -64159,7 +64159,7 @@
64159
64159
  "name": "isVideo",
64160
64160
  "type": "boolean",
64161
64161
  "returnType": "boolean",
64162
- "line": 131,
64162
+ "line": 126,
64163
64163
  "rawdescription": "\n",
64164
64164
  "description": ""
64165
64165
  }
@@ -64170,7 +64170,7 @@
64170
64170
  "name": "isExternalVideo",
64171
64171
  "type": "boolean",
64172
64172
  "returnType": "boolean",
64173
- "line": 135,
64173
+ "line": 130,
64174
64174
  "rawdescription": "\n",
64175
64175
  "description": ""
64176
64176
  }
@@ -64181,7 +64181,7 @@
64181
64181
  "name": "isCaptionAlwaysVisible",
64182
64182
  "type": "boolean",
64183
64183
  "returnType": "boolean",
64184
- "line": 143,
64184
+ "line": 138,
64185
64185
  "rawdescription": "\n\nWhether the caption is permanently visible. ECL forces this on for video\nand embedded-video items, in addition to the explicit `titleAlwaysVisible`.\n",
64186
64186
  "description": "<p>Whether the caption is permanently visible. ECL forces this on for video\nand embedded-video items, in addition to the explicit <code>titleAlwaysVisible</code>.</p>\n"
64187
64187
  }
@@ -64192,7 +64192,7 @@
64192
64192
  "name": "isOpenInFullScreenPossible",
64193
64193
  "type": "boolean",
64194
64194
  "returnType": "boolean",
64195
- "line": 147,
64195
+ "line": 142,
64196
64196
  "rawdescription": "\n",
64197
64197
  "description": ""
64198
64198
  }
@@ -106879,7 +106879,7 @@
106879
106879
  "name": "ARROW_SIZE",
106880
106880
  "ctype": "miscellaneous",
106881
106881
  "subtype": "variable",
106882
- "file": "packages/ecl/components/ecl-site-header/login/ecl-site-header-login.component.ts",
106882
+ "file": "packages/ecl/components/ecl-site-header/language/ecl-site-header-language.component.ts",
106883
106883
  "coverageIgnore": false,
106884
106884
  "deprecated": false,
106885
106885
  "deprecationMessage": "",
@@ -106892,7 +106892,7 @@
106892
106892
  "name": "ARROW_SIZE",
106893
106893
  "ctype": "miscellaneous",
106894
106894
  "subtype": "variable",
106895
- "file": "packages/ecl/components/ecl-site-header/language/ecl-site-header-language.component.ts",
106895
+ "file": "packages/ecl/components/ecl-site-header/login/ecl-site-header-login.component.ts",
106896
106896
  "coverageIgnore": false,
106897
106897
  "deprecated": false,
106898
106898
  "deprecationMessage": "",
@@ -108360,6 +108360,21 @@
108360
108360
  }
108361
108361
  ],
108362
108362
  "groupedVariables": {
108363
+ "packages/ecl/components/ecl-site-header/language/ecl-site-header-language.component.ts": [
108364
+ {
108365
+ "name": "ARROW_SIZE",
108366
+ "ctype": "miscellaneous",
108367
+ "subtype": "variable",
108368
+ "file": "packages/ecl/components/ecl-site-header/language/ecl-site-header-language.component.ts",
108369
+ "coverageIgnore": false,
108370
+ "deprecated": false,
108371
+ "deprecationMessage": "",
108372
+ "type": "string",
108373
+ "defaultValue": "'0.5rem'",
108374
+ "rawdescription": "Half the arrow's own width, matching ECL's `arrowSize`.",
108375
+ "description": "<p>Half the arrow&#39;s own width, matching ECL&#39;s <code>arrowSize</code>.</p>\n"
108376
+ }
108377
+ ],
108363
108378
  "packages/ecl/components/ecl-site-header/login/ecl-site-header-login.component.ts": [
108364
108379
  {
108365
108380
  "name": "ARROW_SIZE",
@@ -108388,21 +108403,6 @@
108388
108403
  "description": "<p>Debounce for the resize recomputation, matching ECL&#39;s <code>handleResize</code>.</p>\n"
108389
108404
  }
108390
108405
  ],
108391
- "packages/ecl/components/ecl-site-header/language/ecl-site-header-language.component.ts": [
108392
- {
108393
- "name": "ARROW_SIZE",
108394
- "ctype": "miscellaneous",
108395
- "subtype": "variable",
108396
- "file": "packages/ecl/components/ecl-site-header/language/ecl-site-header-language.component.ts",
108397
- "coverageIgnore": false,
108398
- "deprecated": false,
108399
- "deprecationMessage": "",
108400
- "type": "string",
108401
- "defaultValue": "'0.5rem'",
108402
- "rawdescription": "Half the arrow's own width, matching ECL's `arrowSize`.",
108403
- "description": "<p>Half the arrow&#39;s own width, matching ECL&#39;s <code>arrowSize</code>.</p>\n"
108404
- }
108405
- ],
108406
108406
  "packages/ecl/components/ecl-site-header/search/ecl-site-header-search.component.ts": [
108407
108407
  {
108408
108408
  "name": "ARROW_SIZE",
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-13T13:24:12.036Z, llm-md export.
3
+ > Generated by compodoc 2.0.0 at 2026-11-17T12:23:59.930Z, llm-md export.
4
4
 
5
5
  ## Modules
6
6
 
@@ -128,7 +128,7 @@
128
128
  </ol>
129
129
  <ul class="properties-list">
130
130
  <li>
131
- <b>Version</b> : 22.0.0-alpha.67</li>
131
+ <b>Version</b> : 22.0.0-alpha.69</li>
132
132
  </ul>
133
133
 
134
134
 
@@ -434,11 +434,7 @@ var EclGalleryItemComponent = class EclGalleryItemComponent extends ECLBaseDirec
434
434
  this.el = inject(ElementRef);
435
435
  }
436
436
  ngOnInit() {
437
- if (this.isExternalVideo) {
438
- const iframeUrl = new URL(this.src());
439
- if (iframeUrl.host.includes("youtube")) this.externalVideoUrl = this.domSanitizer.bypassSecurityTrustResourceUrl(iframeUrl.toString());
440
- else this.externalVideoUrl = this.domSanitizer.bypassSecurityTrustResourceUrl(this.src());
441
- }
437
+ if (this.isExternalVideo) this.externalVideoUrl = this.buildSafeVideoUrl(this.src());
442
438
  this.resolvedItemId.set(this.itemId() ?? crypto.randomUUID());
443
439
  }
444
440
  get isImage() {
@@ -469,6 +465,14 @@ var EclGalleryItemComponent = class EclGalleryItemComponent extends ECLBaseDirec
469
465
  this.itemClick.emit(new EclGalleryItemClickEvent());
470
466
  evt.preventDefault();
471
467
  }
468
+ buildSafeVideoUrl(src) {
469
+ try {
470
+ const parsed = new URL(src);
471
+ if (parsed.protocol === "https:") return this.domSanitizer.bypassSecurityTrustResourceUrl(parsed.toString());
472
+ } catch {}
473
+ console.warn(`[ecl-gallery-item] External video "src" ignored: only absolute https URLs are allowed. Received: "${src}"`);
474
+ return this.domSanitizer.bypassSecurityTrustResourceUrl("about:blank");
475
+ }
472
476
  static {
473
477
  this.ɵfac = i0.ɵɵngDeclareFactory({
474
478
  minVersion: "12.0.0",
@@ -1 +1 @@
1
- {"version":3,"file":"eui-ecl-components-ecl-gallery.mjs","names":["i1","i1","i2"],"sources":["../../components/ecl-gallery/events/ecl-gallery.event.ts","../../components/ecl-gallery/events/ecl-gallery-item.event.ts","../../components/ecl-gallery/events/ecl-gallery-item-click.event.ts","../../components/ecl-gallery/events/ecl-gallery-toggle-items.event.ts","../../components/ecl-gallery/ecl-gallery-footer.component.ts","../../components/ecl-gallery/ecl-gallery-footer.component.html","../../components/ecl-gallery/ecl-gallery-media.directive.ts","../../components/ecl-gallery/ecl-gallery-item.component.ts","../../components/ecl-gallery/ecl-gallery-item.component.html","../../components/ecl-gallery/ecl-gallery.component.ts","../../components/ecl-gallery/ecl-gallery.component.html","../../components/ecl-gallery/index.ts"],"sourcesContent":["import { EclBaseEvent } from '@eui/ecl/core';\nimport { EclGalleryItem } from '../models/ecl-gallery-item.model';\n\n/** Emitted when the ECL gallery overlay becomes visible. */\nexport class EclGalleryShowEvent extends EclBaseEvent {}\n/** Emitted when the ECL gallery overlay is closed and hidden. */\nexport class EclGalleryHideEvent extends EclBaseEvent {}\n/**\n * Emitted when the user activates full-screen mode for a gallery item.\n *\n * @param galleryItem The gallery item being displayed full-screen.\n */\nexport class EclGalleryFullScreenEvent extends EclBaseEvent {\n\tconstructor(public galleryItem: EclGalleryItem) {\n\t\tsuper();\n\t}\n}\n/**\n * Emitted when the user triggers the share action for a gallery item.\n *\n * @param galleryItem The gallery item being shared.\n */\nexport class EclGalleryShareEvent extends EclBaseEvent {\n\tconstructor(public galleryItem: EclGalleryItem) {\n\t\tsuper();\n\t}\n}\n","import { EclBaseEvent } from '@eui/ecl/core';\nimport { EclGalleryItem } from '../models/ecl-gallery-item.model';\n\n/**\n * Emitted when a gallery item becomes the active/selected item in the overlay.\n *\n * @param galleryItem The gallery item that is now active.\n */\nexport class EclGalleryItemEvent extends EclBaseEvent {\n\tconstructor(public galleryItem: EclGalleryItem) {\n\t\tsuper();\n\t}\n}","import { EclBaseEvent } from '@eui/ecl/core';\n\n/** Emitted when the user clicks a gallery item thumbnail to open it in the overlay. */\nexport class EclGalleryItemClickEvent extends EclBaseEvent {}","import { EclBaseEvent } from '@eui/ecl/core';\n\n/**\n * Emitted when the user expands or collapses all items in an ECL gallery.\n *\n * @param expandAll `true` when all items are being expanded; `false` when collapsed.\n */\nexport class EclGalleryToggleItemsEvent extends EclBaseEvent {\n\tconstructor(public expandAll: boolean) {\n\t\tsuper();\n\t}\n}","import { Component, OnInit, input, output, signal } from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { EclGalleryToggleItemsEvent } from './events';\nimport { EUI_ECL_BUTTON } from '@eui/ecl/components/ecl-button';\n\n/**\n * Footer area of an `ecl-gallery` component, containing the item count and an optional toggle button\n * that expands or collapses hidden gallery items.\n *\n * - `itemsCount` and `isShowToggleBtn` are set programmatically by the parent `EclGalleryComponent`.\n * - `toggleItems` emits `EclGalleryToggleItemsEvent` when the expand/collapse button is clicked.\n * - `infoId` — optional ID for the info element; auto-generated UUID if not provided.\n */\n@Component({\n selector: 'ecl-gallery-footer',\n templateUrl: './ecl-gallery-footer.component.html',\n imports: [TranslatePipe, ...EUI_ECL_BUTTON],\n host: {\n 'class': 'ecl-gallery__footer',\n },\n})\nexport class EclGalleryFooterComponent implements OnInit {\n /** Optional ID for the info element; defaults to a generated UUID. */\n readonly infoId = input<string>(undefined);\n /**\n * Event, that is emitted when items are expanded/collapsed.\n */\n readonly toggleItems = output<EclGalleryToggleItemsEvent>();\n\n /**\n * Total number of gallery items (set by the parent gallery).\n */\n readonly itemsCount = signal<number>(undefined);\n\n /**\n * Whether the toggle button should be displayed (set by the parent gallery).\n */\n readonly isShowToggleBtn = signal(false);\n\n /**\n * The resolved info id. Falls back to a generated UUID when no infoId input is provided.\n */\n protected readonly resolvedInfoId = signal<string>(undefined);\n\n /**\n * Whether the hidden items are currently expanded.\n */\n protected readonly isExpanded = signal(false);\n\n ngOnInit(): void {\n this.resolvedInfoId.set(this.infoId() ?? crypto.randomUUID());\n }\n\n protected onToggle(): void {\n this.isExpanded.set(!this.isExpanded());\n this.toggleItems.emit(new EclGalleryToggleItemsEvent(this.isExpanded()));\n }\n}\n","<div class=\"ecl-gallery__info\">\n <div class=\"ecl-gallery__info-total\" [id]=\"infoId()\">\n <strong>{{ itemsCount() }}</strong>{{ 'ecl.gallery.MEDIA-FILES-COUNT' | translate }}\n </div>\n @if(isShowToggleBtn()) {\n @if(!isExpanded()) {\n <button [attr.aria-describedby]=\"resolvedInfoId()\" eclButton variant=\"tertiary\" class=\"ecl-gallery__view-all\"\n (click)=\"onToggle()\">\n {{ 'ecl.SHOW-MORE-ITEMS' | translate }}\n </button>\n } @else {\n <button [attr.aria-describedby]=\"resolvedInfoId()\" eclButton variant=\"tertiary\" class=\"ecl-gallery__view-all\"\n (click)=\"onToggle()\">\n {{ 'ecl.common.COLLAPSE' | translate }}\n </button>\n }\n }\n</div>\n<hr class=\"ecl-gallery__footer-divider\" />\n<div class=\"ecl-gallery__footer-link\">\n <ng-content></ng-content>\n</div>\n","import { ChangeDetectorRef, Directive, ElementRef, OnInit, afterNextRender, booleanAttribute, computed, inject, input, signal } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/** Data model for a `<source>` child of an `<img>` or `<video>` element inside an ECL gallery media item. */\nexport class EclGalleryMediaSource {\n src?: string;\n type?: string;\n}\n\n/** Data model for a `<track>` child element of a `<video>` inside an ECL gallery media item. */\nexport class EclGalleryMediaTrack {\n src?: string;\n kind?: string;\n srcLang?: string;\n label?: string;\n}\n\n/** Data model for a `<source>` child element of a `<picture>` inside an ECL gallery picture item. */\nexport class EclGalleryPictureSource {\n srcset? : string;\n media? : string;\n}\n\n/** Data model for the `<img>` child element of a `<picture>` inside an ECL gallery picture item. */\nexport class EclGalleryPictureImage {\n src? : string;\n alt? : string;\n loading?: string;\n}\n\n/**\n * Applies ECL image or video styling to a thumbnail `<img>` or `<video>` element inside an `ecl-gallery-item`.\n * Supports an optional zoom effect on hover and automatically detects whether the host is a video element.\n *\n * - `poster` — poster image URL used when no thumbnail child is provided (video items only).\n * - `hasZoom` — when `true` on a video, adds the `ecl-video--zoom` modifier class.\n */\n@Directive({\n selector: '[eclGalleryMedia], [eclGalleryImage]',\n host: {\n '[class]': 'cssClasses()',\n '[class.ecl-video]': 'isVideo()',\n },\n})\nexport class EclGalleryMediaDirective extends ECLBaseDirective implements OnInit {\n /** Poster image URL used in place of a thumbnail `<source>` for video elements. */\n readonly poster = input<string>(undefined);\n /** When `true` on a video element, adds the `ecl-video--zoom` modifier class on hover. */\n readonly hasZoom = input(false, { transform: booleanAttribute });\n sources: EclGalleryMediaSource[] = [];\n tracks: EclGalleryMediaTrack[] = [];\n\n protected readonly isVideo = signal(false);\n\n /** Applies `ecl-gallery__image` and optional zoom/video ECL classes. */\n protected readonly cssClasses = computed<string>(() =>\n [\n super.getCssClasses('ecl-gallery__image'),\n this.hasZoom() && this.isVideo() ? 'ecl-video--zoom' : '',\n ].join(' ').trim());\n\n private el = inject(ElementRef);\n\n constructor() {\n super();\n afterNextRender(() => {\n this.createGalleryMediaChildren();\n });\n }\n\n ngOnInit(): void {\n this.checkIsVideo();\n }\n\n private checkIsVideo(): void {\n const selector = this.el.nativeElement.tagName;\n this.isVideo.set(selector === 'VIDEO');\n }\n\n private createGalleryMediaChildren(): void {\n if (!this.getHostElement().hasChildNodes) {\n return;\n }\n this.getHostElement().childNodes.forEach((el: HTMLInputElement) => {\n if (el.nodeName === 'SOURCE') {\n const mediaSource = new EclGalleryMediaSource();\n mediaSource.src = el.getAttribute('src');\n mediaSource.type = el.getAttribute('type');\n this.sources.push(mediaSource);\n } else if (el.nodeName === 'TRACK') {\n const mediaTrack = new EclGalleryMediaTrack();\n mediaTrack.src = el.getAttribute('src');\n mediaTrack.kind = el.getAttribute('kind');\n mediaTrack.srcLang = el.getAttribute('srcLang');\n mediaTrack.label = el.getAttribute('label');\n this.tracks.push(mediaTrack);\n }\n });\n }\n\n private getHostElement(): HTMLInputElement {\n return this.el.nativeElement;\n }\n}\n\n/**\n * Applies ECL picture styling to a `<picture>` element inside an `ecl-gallery-item`.\n * Parses child `<source>` and `<img>` elements after render to populate its `sources` and `img` data.\n * Adds `ecl-picture` plus either `ecl-gallery__thumbnail` (legacy) or `ecl-gallery__picture`.\n */\n@Directive({\n selector: 'picture[eclGalleryPicture]',\n host: {\n '[class]': 'cssClasses()',\n },\n})\nexport class EclGalleryPictureDirective extends ECLBaseDirective {\n sources: EclGalleryPictureSource[] = [];\n img: EclGalleryPictureImage ={};\n\n // TODO: to be removed in v19. Thumbnail should be added by user.\n protected readonly isThumbnail = signal(false);\n\n protected readonly cssClasses = computed<string>(() =>\n [super.getCssClasses('ecl-picture'), this.isThumbnail() ? 'ecl-gallery__thumbnail': 'ecl-gallery__picture'].join(' ').trim());\n\n private el = inject(ElementRef);\n private cd = inject(ChangeDetectorRef);\n\n constructor() {\n super();\n afterNextRender(() => {\n this.createGalleryPictureChildren();\n });\n }\n\n private createGalleryPictureChildren(): void {\n if (!this.getHostElement().hasChildNodes()) {\n return;\n }\n this.getHostElement().childNodes.forEach((el: HTMLSourceElement | HTMLImageElement) => {\n if (el.nodeName === 'SOURCE') {\n const pictureSource = new EclGalleryPictureSource();\n pictureSource.srcset = el.getAttribute('srcset');\n pictureSource.media = el.getAttribute('media');\n this.sources.push(pictureSource);\n } else if (el.nodeName === 'IMG') {\n const imageSource = new EclGalleryPictureImage();\n imageSource.src = el.getAttribute('src');\n imageSource.alt = el.getAttribute('alt');\n imageSource.loading = el.getAttribute('loading');\n this.img.src = imageSource.src;\n this.img.alt = imageSource.alt;\n this.img.loading = imageSource.loading;\n\n }\n this.cd.detectChanges();\n });\n }\n\n private getHostElement(): HTMLElement {\n return this.el.nativeElement;\n }\n}\n\n/**\n * Applies ECL thumbnail styling to a `<picture>` element inside an `ecl-gallery-item`.\n * Adds `ecl-picture ecl-gallery__thumbnail` and an optional `ecl-picture--zoom` modifier.\n *\n * - `hasZoom` — when `true`, adds the `ecl-picture--zoom` modifier class.\n */\n@Directive({\n selector: 'picture[eclGalleryThumbnail]',\n host: {\n '[class]': 'cssClasses()',\n '[class.ecl-picture--zoom]': 'hasZoom()',\n },\n})\nexport class EclGalleryThumbnailDirective extends ECLBaseDirective {\n readonly hasZoom = input(false, { transform: booleanAttribute });\n\n protected readonly cssClasses = computed<string>(() =>\n super.getCssClasses('ecl-picture ecl-gallery__thumbnail'));\n}\n","// code-security-audit-disabled: ECL gallery — bypassSecurityTrustResourceUrl used for YouTube/external video iframe src; URL origin is validated (youtube hostname check) before bypassing.\nimport { Component, ElementRef, OnInit, Renderer2, booleanAttribute, computed, inject, input, output, signal, contentChild } from '@angular/core';\nimport { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';\nimport { EUI_ECL_ICON } from '@eui/ecl/components/ecl-icon';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport {\n EclGalleryMediaDirective,\n EclGalleryPictureDirective,\n} from './ecl-gallery-media.directive';\nimport { EclGalleryItemClickEvent } from './events';\nimport { EclGalleryItem } from './models/ecl-gallery-item.model';\n\n/**\n * Represents a single media item — image, video, or external video — within an `ecl-gallery`.\n * Renders the thumbnail in the gallery grid and exposes its data to the parent overlay.\n *\n * - `mediaType` — `'image'` (default), `'video'`, or `'externalVideo'` (iframe-embedded).\n * - `src` is the original-resolution URL; used as the overlay / full-screen source.\n * - `isShareable` controls whether the share button appears in the overlay for this item.\n * - `itemClick` emits `EclGalleryItemClickEvent` when the thumbnail is clicked.\n * - `isHidden` and `isNoOverlay` are set programmatically by the parent gallery component.\n */\n@Component({\n selector: 'ecl-gallery-item',\n templateUrl: './ecl-gallery-item.component.html',\n imports: [...EUI_ECL_ICON],\n host: {\n '[class]': 'cssClasses()',\n '[attr.role]': 'role',\n '(click)': 'onItemClick($event)',\n },\n})\nexport class EclGalleryItemComponent extends ECLBaseDirective implements EclGalleryItem, OnInit {\n /**\n * Can this item be shared, i.e. show/hide share button.\n */\n readonly isShareable = input(true, { transform: booleanAttribute });\n /** Media type of this item. Drives overlay rendering behaviour. */\n readonly mediaType = input<'image' | 'video' | 'externalVideo'>('image');\n /**\n * The source link to the image/video, that will be shown in the original size (when open image/video in overlay or in orginal size).\n */\n /** Original-resolution URL for the overlay / full-screen view. */\n readonly src = input<string>(undefined);\n /** Caption or metadata string displayed in the overlay. */\n readonly meta = input<string>(undefined);\n /** Description text displayed below the media in the overlay. */\n readonly description = input<string>(undefined);\n /** URL of an embedded audio description for the media (video items). */\n readonly srVideoAudioDescription = input<string>(undefined);\n /** Icon name for the item thumbnail (optional). */\n readonly icon = input<string>(undefined);\n /** Title text displayed on hover and in the overlay header. */\n readonly title = input<string>(undefined);\n /** Consumer-supplied ID for the item; auto-generated UUID if not provided. */\n readonly itemId = input<string>(undefined);\n /**\n * Publication date of the item. Shown in the item caption and in the overlay\n * (next to the \"published\" label).\n */\n readonly publicationDate = input<string>('');\n /**\n * Length of the video (e.g. \"1:01\"). Shown in the item caption for video items.\n */\n readonly videoLength = input<string>('');\n /**\n * Keeps the item caption permanently visible (not only on hover/focus).\n * Forced on for video / external-video items, matching ECL.\n */\n readonly titleAlwaysVisible = input(false, { transform: booleanAttribute });\n /** ARIA label for the thumbnail anchor element. */\n readonly ariaLabel = input<string | null>(null);\n /** Emitted when the user clicks the thumbnail; `EclGalleryItemClickEvent` carries no extra payload. */\n readonly itemClick = output<EclGalleryItemClickEvent>();\n readonly mediaChild = contentChild(EclGalleryMediaDirective);\n readonly galleryPicture = contentChild(EclGalleryPictureDirective);\n\n /**\n * The resolved id of the item. Falls back to a generated UUID when no itemId input is provided.\n */\n readonly resolvedItemId = signal<string>(undefined);\n\n /**\n * Whether the item is currently hidden in the gallery (controlled by the parent gallery).\n */\n readonly isHidden = signal(false);\n\n /**\n * Whether the item is displayed without an overlay (controlled by the parent gallery).\n */\n readonly isNoOverlay = signal(false);\n\n /**\n * Creates id for the title\n */\n readonly titleId = computed<string>(() => `${this.resolvedItemId()}-title`);\n\n /**\n * The role attribute of the item is 'listitem', should not be changed.\n */\n protected role = 'listitem';\n\n /**\n * Binds specific classes for the item. Some depend on some of the properties of the component.\n */\n protected readonly cssClasses = computed<string>(() =>\n [super.getCssClasses('ecl-gallery__item'), this.isHidden() ? 'ecl-gallery__item--hidden' : ''].join(' ').trim());\n\n private externalVideoUrl: SafeResourceUrl;\n private domSanitizer = inject(DomSanitizer);\n private renderer = inject(Renderer2);\n private el = inject(ElementRef);\n\n ngOnInit(): void {\n if (this.isExternalVideo) {\n const iframeUrl = new URL(this.src());\n if (iframeUrl.host.includes('youtube')) {\n this.externalVideoUrl = this.domSanitizer.bypassSecurityTrustResourceUrl(iframeUrl.toString());\n } else {\n this.externalVideoUrl = this.domSanitizer.bypassSecurityTrustResourceUrl(this.src());\n }\n }\n\n this.resolvedItemId.set(this.itemId() ?? crypto.randomUUID());\n }\n\n get isImage(): boolean {\n return this.mediaType() === 'image';\n }\n\n get isVideo(): boolean {\n return this.mediaType() === 'video';\n }\n\n get isExternalVideo(): boolean {\n return this.mediaType() === 'externalVideo';\n }\n\n /**\n * Whether the caption is permanently visible. ECL forces this on for video\n * and embedded-video items, in addition to the explicit `titleAlwaysVisible`.\n */\n get isCaptionAlwaysVisible(): boolean {\n return this.titleAlwaysVisible() || this.isVideo || this.isExternalVideo;\n }\n\n get isOpenInFullScreenPossible(): boolean {\n return this.mediaType() !== 'externalVideo';\n }\n\n getDownloadLink(): string {\n return this.src();\n }\n\n getUrlExternalVideo(): SafeResourceUrl {\n return this.externalVideoUrl;\n }\n\n onFocus(): void {\n this.renderer.selectRootElement(this.el.nativeElement.children[0], true).focus();\n }\n\n protected onItemClick(evt: MouseEvent): void {\n this.itemClick.emit(new EclGalleryItemClickEvent());\n evt.preventDefault();\n }\n}\n","<a [href]=\"src()\" class=\"ecl-gallery__item-link\" [class.ecl-gallery__item__link--frozen]=\"isNoOverlay()\" [id]=\"resolvedItemId()\"\n [attr.aria-label]=\"ariaLabel()\">\n <figure class=\"ecl-gallery__image-container\">\n <div class=\"ecl-gallery__icon-zoom-wrapper\">\n <ecl-icon class=\"ecl-gallery__icon-zoom\" iconSet=\"phosphor\" icon=\"arrows-out-simple\" size=\"s\"></ecl-icon>\n </div>\n @if(mediaType() !== 'image') {\n <div class=\"ecl-gallery__item-icon-wrapper\">\n <ecl-icon isInverted class=\"ecl-gallery__item-icon\" iconSet=\"phosphor-fill\" icon=\"play\" size=\"s\"></ecl-icon>\n </div>\n } \n <ng-content select=\"[eclGalleryPicture], [eclGalleryThumbnail], [eclGalleryMedia], [eclGalleryImage]\"></ng-content>\n <figcaption class=\"ecl-gallery__description\"\n [class.ecl-gallery__description--visible]=\"isCaptionAlwaysVisible\">\n @if(videoLength() || publicationDate()) {\n <div class=\"ecl-gallery__item-meta\">\n @if(videoLength()) {\n <span class=\"ecl-gallery__length\">{{ videoLength() }}</span>\n }\n @if(publicationDate()) {\n <span class=\"ecl-gallery__date\">{{ publicationDate() }}</span>\n }\n </div>\n }\n @if(title()) {\n <span class=\"ecl-gallery__title\" [id]=\"titleId()\">\n <span class=\"ecl-gallery__title-text\">{{ title() }}</span>\n </span>\n }\n @if(description()) {\n <span class=\"ecl-gallery__caption\">{{ description() }}</span>\n }\n </figcaption>\n </figure>\n</a>\n","import { BreakpointObserver, Breakpoints } from '@angular/cdk/layout';\nimport { NgTemplateOutlet, isPlatformBrowser } from '@angular/common';\nimport { AfterContentInit, AfterViewInit, Component, DOCUMENT, ElementRef, OnDestroy, PLATFORM_ID, booleanAttribute, computed, inject, numberAttribute, output, input, signal, contentChildren, contentChild, viewChild } from '@angular/core';\nimport { outputToObservable } from '@angular/core/rxjs-interop';\nimport { EUI_ECL_BUTTON } from '@eui/ecl/components/ecl-button';\nimport { EUI_ECL_ICON } from '@eui/ecl/components/ecl-icon';\nimport { EUI_ECL_LINK } from '@eui/ecl/components/ecl-link';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { Subject, delay, fromEvent } from 'rxjs';\nimport { auditTime, takeUntil } from 'rxjs/operators';\nimport { EclGalleryFooterComponent } from './ecl-gallery-footer.component';\nimport { EclGalleryItemComponent } from './ecl-gallery-item.component';\nimport { EclGalleryFullScreenEvent, EclGalleryHideEvent, EclGalleryItemEvent, EclGalleryShareEvent, EclGalleryShowEvent } from './events';\n\n/**\n * Displays a collection of images or videos in a browsable ECL gallery following ECL design standards.\n * Supports overlay navigation with previous/next controls, full-screen opening, item sharing,\n * responsive breakpoint management, and a footer with a configurable \"view all\" toggle.\n *\n * - Layout: `isGrid` + `columns` (2–4) render a uniform grid; `gridTemplate` (`'0'`–`'4'`) applies\n * template-specific thumbnail sizing; `ratio` (`'3-1'`, `'3-2'`) controls thumbnail aspect ratio.\n * - Overlay: disabled by `isNoOverlay`; full-screen via `isOpenInFullScreenPossible`; sharing via `isShareable`.\n * - Visibility: `maxVisibleItems` limits visible thumbnails; `isFullWidth` stretches to full viewport width.\n * - Events: `show`, `hide`, `openFullScreen`, `share`, `itemSwitch` — all emit typed ECL event objects.\n * - Compose with `ecl-gallery-item` children and an optional `ecl-gallery-footer`.\n */\n@Component({\n selector: 'ecl-gallery',\n templateUrl: './ecl-gallery.component.html',\n imports: [TranslatePipe, NgTemplateOutlet, ...EUI_ECL_BUTTON, ...EUI_ECL_ICON, ...EUI_ECL_LINK],\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n host: {\n '[class]': 'cssClasses()',\n '[attr.role]': 'role',\n '(document:keydown.escape)': 'onEscapeKeydownHandler()',\n },\n})\nexport class EclGalleryComponent extends ECLBaseDirective implements AfterContentInit, OnDestroy, AfterViewInit {\n /** Whether items can be opened in full-screen mode. */\n readonly isOpenInFullScreenPossible = input(true, { transform: booleanAttribute });\n /**\n * If the items in the gallery can be shared. I.e. if the link for sharing will be present for each item.\n */\n readonly isShareable = input(true, { transform: booleanAttribute });\n /**\n * If set to true, the gallery will have 100 view width.\n */\n readonly isFullWidth = input(false, { transform: booleanAttribute });\n /**\n * If set to true, no overlay will be displayed when user clicks on an image.\n */\n readonly isNoOverlay = input(false, { transform: booleanAttribute });\n /**\n * If set to false, no title will be displayed when user hover on a gallery item.\n */\n readonly isShowTitleOnHover = input(true, { transform: booleanAttribute });\n /**\n * Number of gallery items to be displayed by default. The rest can be displayed with the 'View all' button.\n */\n readonly maxVisibleItems = input<number, unknown>(undefined, { transform: numberAttribute });\n /**\n * If set to true, a specific class will be applied, so the gallery thumbnails are displayed as a grid, all with same size.\n */\n readonly isGrid = input(false, { transform: booleanAttribute });\n\n /** Number of columns when `isGrid` is `true`. Accepts `2`, `3` (default), or `4`. */\n readonly columns = input<2 | 3 | 4 | number, unknown>(3, { transform: numberAttribute });\n /**\n * This property can be used with 'isGrid' property set to true. By default gridTemplate is 0 and all the thimbnails have same size.\n * If another template value is set, some additional formatting is applied and the thumbnails will have different sizes.\n */\n readonly gridTemplate = input<'0' | '1' | '2' | '3' | '4' | string>('0');\n /**\n * The ratio that will be applied to the gallery thumbnails.\n */\n readonly ratio = input<'3-1' | '3-2' | string>('3-2');\n\n /**\n * Emits event when user clicks on an item to expand it.\n */\n readonly show = output<EclGalleryShowEvent>();\n /**\n * Emits event when an expanded item is closed.\n */\n readonly hide = output<EclGalleryHideEvent>();\n /**\n * Emits event when an item is opened in full screen.\n */\n readonly openFullScreen = output<EclGalleryFullScreenEvent>();\n /**\n * Emits event when an item is shared.\n */\n readonly share = output<EclGalleryShareEvent>();\n /**\n * Emits event when user is browsing items, opened in an overlay.\n */\n readonly itemSwitch = output<EclGalleryItemEvent>();\n\n protected readonly galleryItems = contentChildren(EclGalleryItemComponent);\n protected readonly galleryFooter = contentChild(EclGalleryFooterComponent);\n protected readonly overlayChild = viewChild<ElementRef>('overlay');\n protected readonly headerChild = viewChild<ElementRef>('header');\n protected readonly footerChild = viewChild<ElementRef>('footer');\n\n /**\n * The default role of the component is 'region' and should not be changed.\n */\n protected role = 'region';\n\n /**\n * Applies specific clases to the component, related to the component properties values.\n */\n protected readonly cssClasses = computed<string>(() =>\n [super.getCssClasses('ecl-gallery'),\n this.isFullWidth() ? 'ecl-gallery--full-width' : '',\n this.isGrid() ? 'ecl-gallery--grid' : '',\n this.isGrid() && this.gridTemplate() === '0' ? `ecl-gallery--col-${this.columns()}` : '',\n this.isGrid() ? `ecl-gallery--template-${this.gridTemplate()}`: '',\n this.isGrid() ? `ecl-gallery--ratio-${this.ratio()}`: '',\n !this.isShowTitleOnHover() ? 'ecl-gallery--no-hover' : '',\n this.isNoOverlay() ? 'ecl-gallery--no-overlay' : '',\n ].join(' ').trim());\n\n protected isDialogVisible = false;\n protected isMobile = false;\n protected itemsCount: number;\n protected itemIndex: number;\n protected item: EclGalleryItemComponent;\n\n /**\n * The effective number of visible items. Initialized from the maxVisibleItems input and\n * adjusted internally depending on the current breakpoint.\n */\n private readonly effectiveMaxVisibleItems = signal<number>(undefined);\n private iframeWidth: number;\n private iframeHeight: number;\n private BREAKPOINT_CHANGES_TIMEOUT = 500;\n private destroy$: Subject<boolean> = new Subject<boolean>();\n private visibleItems: number;\n private MAX_VISIBLE_ITEMS_MOBILE = 3;\n private RESOLUTION_16_9_PROPOTION = 16 / 9;\n private RESOLUTION_4_3_PROPOTION = 4 / 3;\n private cdkBreakpointObserver = inject(BreakpointObserver);\n private platformId = inject(PLATFORM_ID);\n private readonly document = inject<Document>(DOCUMENT);\n private readonly window = this.document.defaultView; // Window | null\n\n ngAfterViewInit(): void {\n // Manages the initial display of the gallery, the footer and the visible/hidden items.\n if (isPlatformBrowser(this.platformId) && this.window) {\n this.observeBreakpointChanges();\n fromEvent(this.window, 'resize').pipe(\n auditTime(50),\n takeUntil(this.destroy$)).subscribe(() => {\n this.setIframeDimensions();\n });\n }\n }\n\n ngAfterContentInit(): void {\n this.itemsCount = this.galleryItems().length;\n this.effectiveMaxVisibleItems.set(this.maxVisibleItems() ? this.maxVisibleItems() : this.itemsCount);\n this.visibleItems = this.effectiveMaxVisibleItems();\n const galleryFooter = this.galleryFooter();\n if (galleryFooter) {\n galleryFooter.itemsCount.set(this.itemsCount);\n galleryFooter.isShowToggleBtn.set(this.hasHiddenGaleryItems());\n // Subscribe to 'toggleItems' event from gallery footer, to show or collapse items.\n outputToObservable(galleryFooter.toggleItems).pipe(takeUntil(this.destroy$)).subscribe((evt) => {\n if (evt.expandAll) {\n this.showAllItems();\n } else {\n this.collapseItems();\n }\n });\n }\n\n if (!this.isNoOverlay()) {\n // For each item, subscribe to 'itemClick' event.\n this.galleryItems().forEach((item) => {\n outputToObservable(item.itemClick).pipe(takeUntil(this.destroy$)).subscribe((_) => {\n this.isDialogVisible = true;\n this.item = item;\n this.itemIndex = this.findItemIndex(Array.from(this.galleryItems()), item);\n this.show.emit(new EclGalleryShowEvent());\n if (isPlatformBrowser(this.platformId)) {\n setTimeout(() => this.setIframeDimensions());\n }\n });\n });\n } else {\n this.galleryItems().forEach((item) => item.isNoOverlay.set(true));\n }\n\n if (this.hasHiddenGaleryItems()) {\n this.collapseItems();\n }\n }\n\n ngOnDestroy(): void {\n this.destroy$.next(true);\n this.destroy$.unsubscribe();\n }\n\n /**\n * Emit 'itemSwitch' event, when switching to the previous item. Event contains the new current item.\n * @param evt\n */\n protected onPrevious(evt: MouseEvent): void {\n this.item = this.findPreviousItem(Array.from(this.galleryItems()), this.item);\n\n this.itemIndex = this.findItemIndex(Array.from(this.galleryItems()), this.item);\n\n this.itemSwitch.emit(new EclGalleryItemEvent(this.item));\n }\n\n /**\n * Emit 'itemSwitch' event, when switching to the next item. Event contains the new current item.\n * @param evt\n */\n protected onNext(evt: MouseEvent): void {\n this.item = this.findNextItem(Array.from(this.galleryItems()), this.item);\n this.itemIndex = this.findItemIndex(Array.from(this.galleryItems()), this.item);\n\n this.itemSwitch.emit(new EclGalleryItemEvent(this.item));\n }\n\n /**\n * Emit 'hide' event, when closing item dialog.\n * @param evt\n */\n protected onClose(evt: MouseEvent): void {\n this.item = null;\n this.itemIndex = -1;\n this.isDialogVisible = false;\n this.hide.emit(new EclGalleryHideEvent());\n }\n\n /**\n * On pressing 'esc' key - close the item dialog and emit 'hide' event.\n * @param event\n */\n protected onEscapeKeydownHandler(): void {\n this.isDialogVisible = false;\n this.hide.emit(new EclGalleryHideEvent());\n }\n\n protected onFullScreenOpen(evt: MouseEvent): void {\n this.openFullScreen.emit(new EclGalleryFullScreenEvent(this.item));\n }\n\n protected onShare(evt: MouseEvent): void {\n this.share.emit(new EclGalleryShareEvent(this.item));\n evt.preventDefault();\n }\n\n protected canBeOpenInFullScreen(): boolean {\n return this.isOpenInFullScreenPossible() && this.item?.isOpenInFullScreenPossible;\n }\n\n protected canBeShared(): boolean {\n return this.isShareable() && this.item?.isShareable();\n }\n\n protected getIframeWidth(): number {\n return this.iframeWidth;\n }\n\n protected getIframeHeight(): number {\n return this.iframeHeight;\n }\n\n private setIframeDimensions(): void {\n const { width, height } = this.getCalculatedIframeDimensions();\n this.iframeWidth = width;\n this.iframeHeight = height;\n }\n\n private getCalculatedIframeDimensions(): { width: number; height: number } {\n let width = window.innerWidth;\n let height =\n this.overlayChild().nativeElement.clientHeight -\n this.headerChild().nativeElement.clientHeight -\n this.footerChild().nativeElement.clientHeight;\n if (width > height) {\n const scaledHeight = height * this.RESOLUTION_16_9_PROPOTION;\n if (scaledHeight > width) {\n width = width * 0.95;\n } else {\n width = scaledHeight;\n }\n } else {\n const scaledWith = width * this.RESOLUTION_4_3_PROPOTION;\n if (scaledWith > height) {\n height = height * 0.95;\n } else {\n height = scaledWith;\n }\n }\n return {\n width,\n height,\n };\n }\n\n private findItemIndex(items: EclGalleryItemComponent[], item: EclGalleryItemComponent): number {\n return items.findIndex((it) => it === item) + 1;\n }\n\n private findPreviousItem(items: EclGalleryItemComponent[], item: EclGalleryItemComponent): EclGalleryItemComponent {\n const index = this.findPreviousItemIndex(items, item);\n return items[index];\n }\n\n private findNextItem(items: EclGalleryItemComponent[], item: EclGalleryItemComponent): EclGalleryItemComponent {\n const index = this.findNextItemIndex(items, item);\n return items[index];\n }\n\n private findPreviousItemIndex(items: EclGalleryItemComponent[], item: EclGalleryItemComponent): number {\n const currentIndex = items.findIndex((it) => it === item);\n return currentIndex === 0 ? items.length - 1 : currentIndex - 1;\n }\n\n private findNextItemIndex(items: EclGalleryItemComponent[], item: EclGalleryItemComponent): number {\n const currentIndex = items.findIndex((it) => it === item);\n return currentIndex >= items.length - 1 ? 0 : currentIndex + 1;\n }\n\n private observeBreakpointChanges(): void {\n this.cdkBreakpointObserver\n .observe([Breakpoints.Handset, Breakpoints.Tablet])\n .pipe(takeUntil(this.destroy$), delay(this.BREAKPOINT_CHANGES_TIMEOUT))\n .subscribe((result) => {\n this.isMobile = result.matches;\n if (this.isMobile) {\n this.manageItemsMobile();\n } else {\n this.manageItemsDesktop();\n }\n });\n }\n\n private manageItemsMobile(): void {\n this.effectiveMaxVisibleItems.set(this.MAX_VISIBLE_ITEMS_MOBILE);\n this.collapseItems();\n const galleryFooter = this.galleryFooter();\n if (galleryFooter) {\n galleryFooter.isShowToggleBtn.set(this.hasHiddenGaleryItems());\n }\n }\n\n private manageItemsDesktop(): void {\n this.effectiveMaxVisibleItems.set(this.visibleItems);\n this.getVisibleItems().forEach((elem) => this.showGaleryItem(elem));\n this.collapseItems();\n const galleryFooter = this.galleryFooter();\n if (galleryFooter) {\n galleryFooter.isShowToggleBtn.set(this.hasHiddenGaleryItems());\n }\n }\n\n private hasHiddenGaleryItems(): boolean {\n const maxVisibleItems = this.effectiveMaxVisibleItems();\n if (maxVisibleItems && this.itemsCount > 0 && maxVisibleItems < this.itemsCount) {\n return true;\n } else {\n return false;\n }\n }\n\n private collapseItems(): void {\n this.getHiddenItems().forEach((elem) => this.hideGaleryItem(elem));\n }\n\n private showAllItems(): void {\n const hiddenItems = this.getHiddenItems();\n hiddenItems.forEach((elem) => this.showGaleryItem(elem));\n setTimeout(() => hiddenItems[0].onFocus());\n }\n\n private hideGaleryItem(item: EclGalleryItemComponent): void {\n item.isHidden.set(true);\n }\n\n private showGaleryItem(item: EclGalleryItemComponent): void {\n item.isHidden.set(false);\n }\n\n private getHiddenItems(): EclGalleryItemComponent[] {\n return this.galleryItems().filter((item, cnt) => cnt >= this.effectiveMaxVisibleItems());\n }\n private getVisibleItems(): EclGalleryItemComponent[] {\n return this.galleryItems().filter((item, cnt) => cnt < this.effectiveMaxVisibleItems());\n }\n}\n","<ul class=\"ecl-gallery__list\">\n <ng-content></ng-content>\n</ul>\n\n<ng-content select=\"ecl-gallery-footer\"></ng-content>\n\n<dialog #overlay [attr.open]=\"isDialogVisible || null\" class=\"ecl-gallery__overlay\"\n [attr.aria-label]=\"'ecl.gallery.FULL-SIZE-DISPLAY' | translate\">\n <header #header class=\"ecl-gallery__close\">\n <button (click)=\"onClose($event)\" eclButton class=\"ecl-gallery__close-button\" isIconOnly variant=\"tertiary\" eclStyle=\"inverted\">\n <span eclButtonLabel>\n {{ 'ecl.common.CLOSE' | translate }}\n </span>\n <ecl-icon icon=\"x\" iconSet=\"phosphor\" size=\"m\"></ecl-icon>\n </button>\n </header>\n <section class=\"ecl-gallery__slider\">\n <div class=\"ecl-gallery__slider-media-container\">\n @if(item?.isExternalVideo) {\n <div class=\"ecl-gallery__slider-embed\">\n @if (item?.srVideoAudioDescription()) {\n <div class=\"ecl-gallery__slider-embed-audio\">{{item?.srVideoAudioDescription()}}</div>\n }\n <iframe [src]=\"item?.getUrlExternalVideo()\" [style.width.px]=\"getIframeWidth()\"\n [style.height.px]=\"getIframeHeight()\" [attr.title]=\"item.title() + ' - Video player'\" frameborder=\"0\">\n </iframe>\n </div>\n }\n @if(item?.isImage) {\n <picture class=\"ecl-picture ecl-gallery__picture ecl-gallery__slider-image\">\n @for(el of item.galleryPicture()?.sources; track el.srcset) {\n <source [attr.srcset]=\"el.srcset\" [attr.media]=\" el.media\">\n }\n <img [attr.alt]=\"item?.galleryPicture()?.img.alt || null\"\n [src]=\"item?.galleryPicture()?.img.src\"\n [attr.loading]=\"item?.galleryPicture()?.img.loading || null\" />\n </picture>\n }\n @if(item?.isVideo) {\n <video controls=\"controls\" class=\"ecl-gallery__slider-video\" [attr.aria-label]=\"item.title() + ' - Video player'\"\n [attr.poster]=\"item.mediaChild()?.poster()\" playsinline>\n @for (el of item.mediaChild()?.sources; track el.src) {\n <source [attr.src]=\"el.src\" [attr.type]=\"el.type\" />\n }\n @for (elem of item.mediaChild()?.tracks; track elem.src) {\n <track [attr.src]=\"elem.src\" [attr.kind]=\"elem.kind\" [attr.srcLang]=\"elem.srcLang\"\n [attr.label]=\"elem.label\" />\n }\n </video>\n }\n </div>\n </section>\n <footer #footer class=\"ecl-gallery__detail\">\n <div class=\"ecl-gallery__detail-container\">\n <div class=\"ecl-gallery__pager\">\n <div class=\"ecl-gallery__detail-counter\">\n <span>{{ itemIndex }}</span> {{ 'ecl.common.OF' | translate }} <span>{{ itemsCount }}</span>\n </div>\n <div class=\"ecl-gallery__controls\">\n <button eclButton class=\"ecl-gallery__slider-previous\" variant=\"primary\" eclStyle=\"inverted\" size=\"m\"\n isIconOnly (click)=\"onPrevious($event)\">\n <ecl-icon icon=\"corner-arrow\" size=\"m\" transform=\"rotate-270\"></ecl-icon>\n <span eclButtonLabel>\n {{ 'ecl.common.PREVIOUS' | translate }}\n </span>\n </button>\n <button eclButton class=\"ecl-gallery__slider-next\" variant=\"primary\" eclStyle=\"inverted\" size=\"m\"\n isIconOnly (click)=\"onNext($event)\">\n <span eclButtonLabel>\n {{ 'ecl.common.NEXT' | translate }}\n </span>\n <ecl-icon icon=\"corner-arrow\" size=\"m\" transform=\"rotate-90\"></ecl-icon>\n </button>\n </div>\n </div>\n <div class=\"ecl-gallery__detail-actions\">\n <ng-container *ngTemplateOutlet=\"links\"></ng-container>\n </div>\n </div>\n\n <div class=\"ecl-gallery__detail-actions-mobile\">\n <ng-container *ngTemplateOutlet=\"links\"></ng-container>\n </div>\n\n <div class=\"ecl-gallery__detail-description\">\n @if(item?.title()) {\n <span class=\"ecl-gallery__title\" [id]=\"item?.resolvedItemId()\">\n <span class=\"ecl-gallery__title-text\">{{ item?.title() }}</span>\n </span>\n }\n @if(item?.description()) {\n <span class=\"ecl-gallery__caption\">{{ item?.description() }}</span>\n }\n @if(item?.meta()) {\n <span class=\"ecl-gallery__meta\">{{ item?.meta() }}</span>\n }\n </div>\n </footer>\n</dialog>\n\n<ng-template #links>\n @if(canBeOpenInFullScreen()) {\n <a eclLink [attr.aria-describedby]=\"item?.titleId()\" variant=\"standalone\"\n class=\"ecl-gallery__download\" [href]=\"item?.getDownloadLink()\" target=\"_blank\"\n (click)=\"onFullScreenOpen($event)\" isInverted>\n <span eclLinkLabel>{{ 'ecl.gallery.VIEW-ORIGINAL' | translate }}</span>\n <ecl-icon icon=\"fullscreen\" size=\"2xs\" focusable=\"false\"></ecl-icon>\n </a>\n }\n @if(canBeShared()) {\n <a [attr.aria-describedby]=\"item?.titleId()\" eclLink variant=\"standalone\" isInverted\n class=\"ecl-gallery__share\" href=\"\" (click)=\"onShare($event)\">\n <span eclLinkLabel>{{ 'ecl.common.SHARE' | translate }}</span>\n <ecl-icon icon=\"share\" size=\"2xs\" focusable=\"false\"></ecl-icon>\n </a>\n }\n <div class=\"ecl-gallery__detail-date\" [hidden]=\"!item?.publicationDate()\">\n <ecl-icon iconSet=\"phosphor\" icon=\"calendar-blank\" size=\"2xs\" class=\"ecl-gallery__date-icon\"></ecl-icon>\n <span class=\"ecl-gallery__date-label\">{{ 'ecl.gallery.PUBLISHED' | translate }}</span>\n <span class=\"ecl-gallery__date-value\">{{ item?.publicationDate() }}</span>\n </div>\n</ng-template>","import { EclGalleryFooterComponent } from './ecl-gallery-footer.component';\nimport { EclGalleryItemComponent } from './ecl-gallery-item.component';\nimport {\n EclGalleryMediaDirective,\n EclGalleryPictureDirective,\n EclGalleryThumbnailDirective,\n} from './ecl-gallery-media.directive';\nimport { EclGalleryComponent } from './ecl-gallery.component';\n\nexport * from './ecl-gallery.component';\nexport * from './ecl-gallery-item.component';\nexport * from './ecl-gallery-footer.component';\nexport * from './ecl-gallery-media.directive';\nexport * from './events/index';\nexport * from './models/ecl-gallery-item.model';\n\nexport const EUI_ECL_GALLERY = [\n EclGalleryComponent,\n EclGalleryFooterComponent,\n EclGalleryItemComponent,\n EclGalleryMediaDirective,\n EclGalleryPictureDirective,\n EclGalleryThumbnailDirective,\n] as const;"],"mappings":";;;;;;;;;;;;;;;;AAIA,IAAa,sBAAb,cAAyC,aAAY,CAAG;AAExD,IAAa,sBAAb,cAAyC,aAAY,CAAG;AAMxD,IAAa,4BAAb,cAA+C,aAAY;CAC1D,YAAmB,aAA2B;EAC7C,MAAK;EADa,KAAA,cAAA;CAEnB;AACA;AAMD,IAAa,uBAAb,cAA0C,aAAY;CACrD,YAAmB,aAA2B;EAC7C,MAAK;EADa,KAAA,cAAA;CAEnB;AACA;AClBD,IAAa,sBAAb,cAAyC,aAAY;CACpD,YAAmB,aAA2B;EAC7C,MAAK;EADa,KAAA,cAAA;CAEnB;AACA;ACTD,IAAa,2BAAb,cAA8C,aAAY,CAAG;ACI7D,IAAa,6BAAb,cAAgD,aAAY;CAC3D,YAAmB,WAAkB;EACpC,MAAK;EADa,KAAA,YAAA;CAEnB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ecl-gallery/events/ecl-gallery-item.event.ts","../../components/ecl-gallery/events/ecl-gallery-item-click.event.ts","../../components/ecl-gallery/events/ecl-gallery-toggle-items.event.ts","../../components/ecl-gallery/ecl-gallery-footer.component.ts","../../components/ecl-gallery/ecl-gallery-footer.component.html","../../components/ecl-gallery/ecl-gallery-media.directive.ts","../../components/ecl-gallery/ecl-gallery-item.component.ts","../../components/ecl-gallery/ecl-gallery-item.component.html","../../components/ecl-gallery/ecl-gallery.component.ts","../../components/ecl-gallery/ecl-gallery.component.html","../../components/ecl-gallery/index.ts"],"sourcesContent":["import { EclBaseEvent } from '@eui/ecl/core';\nimport { EclGalleryItem } from '../models/ecl-gallery-item.model';\n\n/** Emitted when the ECL gallery overlay becomes visible. */\nexport class EclGalleryShowEvent extends EclBaseEvent {}\n/** Emitted when the ECL gallery overlay is closed and hidden. */\nexport class EclGalleryHideEvent extends EclBaseEvent {}\n/**\n * Emitted when the user activates full-screen mode for a gallery item.\n *\n * @param galleryItem The gallery item being displayed full-screen.\n */\nexport class EclGalleryFullScreenEvent extends EclBaseEvent {\n\tconstructor(public galleryItem: EclGalleryItem) {\n\t\tsuper();\n\t}\n}\n/**\n * Emitted when the user triggers the share action for a gallery item.\n *\n * @param galleryItem The gallery item being shared.\n */\nexport class EclGalleryShareEvent extends EclBaseEvent {\n\tconstructor(public galleryItem: EclGalleryItem) {\n\t\tsuper();\n\t}\n}\n","import { EclBaseEvent } from '@eui/ecl/core';\nimport { EclGalleryItem } from '../models/ecl-gallery-item.model';\n\n/**\n * Emitted when a gallery item becomes the active/selected item in the overlay.\n *\n * @param galleryItem The gallery item that is now active.\n */\nexport class EclGalleryItemEvent extends EclBaseEvent {\n\tconstructor(public galleryItem: EclGalleryItem) {\n\t\tsuper();\n\t}\n}","import { EclBaseEvent } from '@eui/ecl/core';\n\n/** Emitted when the user clicks a gallery item thumbnail to open it in the overlay. */\nexport class EclGalleryItemClickEvent extends EclBaseEvent {}","import { EclBaseEvent } from '@eui/ecl/core';\n\n/**\n * Emitted when the user expands or collapses all items in an ECL gallery.\n *\n * @param expandAll `true` when all items are being expanded; `false` when collapsed.\n */\nexport class EclGalleryToggleItemsEvent extends EclBaseEvent {\n\tconstructor(public expandAll: boolean) {\n\t\tsuper();\n\t}\n}","import { Component, OnInit, input, output, signal } from '@angular/core';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { EclGalleryToggleItemsEvent } from './events';\nimport { EUI_ECL_BUTTON } from '@eui/ecl/components/ecl-button';\n\n/**\n * Footer area of an `ecl-gallery` component, containing the item count and an optional toggle button\n * that expands or collapses hidden gallery items.\n *\n * - `itemsCount` and `isShowToggleBtn` are set programmatically by the parent `EclGalleryComponent`.\n * - `toggleItems` emits `EclGalleryToggleItemsEvent` when the expand/collapse button is clicked.\n * - `infoId` — optional ID for the info element; auto-generated UUID if not provided.\n */\n@Component({\n selector: 'ecl-gallery-footer',\n templateUrl: './ecl-gallery-footer.component.html',\n imports: [TranslatePipe, ...EUI_ECL_BUTTON],\n host: {\n 'class': 'ecl-gallery__footer',\n },\n})\nexport class EclGalleryFooterComponent implements OnInit {\n /** Optional ID for the info element; defaults to a generated UUID. */\n readonly infoId = input<string>(undefined);\n /**\n * Event, that is emitted when items are expanded/collapsed.\n */\n readonly toggleItems = output<EclGalleryToggleItemsEvent>();\n\n /**\n * Total number of gallery items (set by the parent gallery).\n */\n readonly itemsCount = signal<number>(undefined);\n\n /**\n * Whether the toggle button should be displayed (set by the parent gallery).\n */\n readonly isShowToggleBtn = signal(false);\n\n /**\n * The resolved info id. Falls back to a generated UUID when no infoId input is provided.\n */\n protected readonly resolvedInfoId = signal<string>(undefined);\n\n /**\n * Whether the hidden items are currently expanded.\n */\n protected readonly isExpanded = signal(false);\n\n ngOnInit(): void {\n this.resolvedInfoId.set(this.infoId() ?? crypto.randomUUID());\n }\n\n protected onToggle(): void {\n this.isExpanded.set(!this.isExpanded());\n this.toggleItems.emit(new EclGalleryToggleItemsEvent(this.isExpanded()));\n }\n}\n","<div class=\"ecl-gallery__info\">\n <div class=\"ecl-gallery__info-total\" [id]=\"infoId()\">\n <strong>{{ itemsCount() }}</strong>{{ 'ecl.gallery.MEDIA-FILES-COUNT' | translate }}\n </div>\n @if(isShowToggleBtn()) {\n @if(!isExpanded()) {\n <button [attr.aria-describedby]=\"resolvedInfoId()\" eclButton variant=\"tertiary\" class=\"ecl-gallery__view-all\"\n (click)=\"onToggle()\">\n {{ 'ecl.SHOW-MORE-ITEMS' | translate }}\n </button>\n } @else {\n <button [attr.aria-describedby]=\"resolvedInfoId()\" eclButton variant=\"tertiary\" class=\"ecl-gallery__view-all\"\n (click)=\"onToggle()\">\n {{ 'ecl.common.COLLAPSE' | translate }}\n </button>\n }\n }\n</div>\n<hr class=\"ecl-gallery__footer-divider\" />\n<div class=\"ecl-gallery__footer-link\">\n <ng-content></ng-content>\n</div>\n","import { ChangeDetectorRef, Directive, ElementRef, OnInit, afterNextRender, booleanAttribute, computed, inject, input, signal } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n/** Data model for a `<source>` child of an `<img>` or `<video>` element inside an ECL gallery media item. */\nexport class EclGalleryMediaSource {\n src?: string;\n type?: string;\n}\n\n/** Data model for a `<track>` child element of a `<video>` inside an ECL gallery media item. */\nexport class EclGalleryMediaTrack {\n src?: string;\n kind?: string;\n srcLang?: string;\n label?: string;\n}\n\n/** Data model for a `<source>` child element of a `<picture>` inside an ECL gallery picture item. */\nexport class EclGalleryPictureSource {\n srcset? : string;\n media? : string;\n}\n\n/** Data model for the `<img>` child element of a `<picture>` inside an ECL gallery picture item. */\nexport class EclGalleryPictureImage {\n src? : string;\n alt? : string;\n loading?: string;\n}\n\n/**\n * Applies ECL image or video styling to a thumbnail `<img>` or `<video>` element inside an `ecl-gallery-item`.\n * Supports an optional zoom effect on hover and automatically detects whether the host is a video element.\n *\n * - `poster` — poster image URL used when no thumbnail child is provided (video items only).\n * - `hasZoom` — when `true` on a video, adds the `ecl-video--zoom` modifier class.\n */\n@Directive({\n selector: '[eclGalleryMedia], [eclGalleryImage]',\n host: {\n '[class]': 'cssClasses()',\n '[class.ecl-video]': 'isVideo()',\n },\n})\nexport class EclGalleryMediaDirective extends ECLBaseDirective implements OnInit {\n /** Poster image URL used in place of a thumbnail `<source>` for video elements. */\n readonly poster = input<string>(undefined);\n /** When `true` on a video element, adds the `ecl-video--zoom` modifier class on hover. */\n readonly hasZoom = input(false, { transform: booleanAttribute });\n sources: EclGalleryMediaSource[] = [];\n tracks: EclGalleryMediaTrack[] = [];\n\n protected readonly isVideo = signal(false);\n\n /** Applies `ecl-gallery__image` and optional zoom/video ECL classes. */\n protected readonly cssClasses = computed<string>(() =>\n [\n super.getCssClasses('ecl-gallery__image'),\n this.hasZoom() && this.isVideo() ? 'ecl-video--zoom' : '',\n ].join(' ').trim());\n\n private el = inject(ElementRef);\n\n constructor() {\n super();\n afterNextRender(() => {\n this.createGalleryMediaChildren();\n });\n }\n\n ngOnInit(): void {\n this.checkIsVideo();\n }\n\n private checkIsVideo(): void {\n const selector = this.el.nativeElement.tagName;\n this.isVideo.set(selector === 'VIDEO');\n }\n\n private createGalleryMediaChildren(): void {\n if (!this.getHostElement().hasChildNodes) {\n return;\n }\n this.getHostElement().childNodes.forEach((el: HTMLInputElement) => {\n if (el.nodeName === 'SOURCE') {\n const mediaSource = new EclGalleryMediaSource();\n mediaSource.src = el.getAttribute('src');\n mediaSource.type = el.getAttribute('type');\n this.sources.push(mediaSource);\n } else if (el.nodeName === 'TRACK') {\n const mediaTrack = new EclGalleryMediaTrack();\n mediaTrack.src = el.getAttribute('src');\n mediaTrack.kind = el.getAttribute('kind');\n mediaTrack.srcLang = el.getAttribute('srcLang');\n mediaTrack.label = el.getAttribute('label');\n this.tracks.push(mediaTrack);\n }\n });\n }\n\n private getHostElement(): HTMLInputElement {\n return this.el.nativeElement;\n }\n}\n\n/**\n * Applies ECL picture styling to a `<picture>` element inside an `ecl-gallery-item`.\n * Parses child `<source>` and `<img>` elements after render to populate its `sources` and `img` data.\n * Adds `ecl-picture` plus either `ecl-gallery__thumbnail` (legacy) or `ecl-gallery__picture`.\n */\n@Directive({\n selector: 'picture[eclGalleryPicture]',\n host: {\n '[class]': 'cssClasses()',\n },\n})\nexport class EclGalleryPictureDirective extends ECLBaseDirective {\n sources: EclGalleryPictureSource[] = [];\n img: EclGalleryPictureImage ={};\n\n // TODO: to be removed in v19. Thumbnail should be added by user.\n protected readonly isThumbnail = signal(false);\n\n protected readonly cssClasses = computed<string>(() =>\n [super.getCssClasses('ecl-picture'), this.isThumbnail() ? 'ecl-gallery__thumbnail': 'ecl-gallery__picture'].join(' ').trim());\n\n private el = inject(ElementRef);\n private cd = inject(ChangeDetectorRef);\n\n constructor() {\n super();\n afterNextRender(() => {\n this.createGalleryPictureChildren();\n });\n }\n\n private createGalleryPictureChildren(): void {\n if (!this.getHostElement().hasChildNodes()) {\n return;\n }\n this.getHostElement().childNodes.forEach((el: HTMLSourceElement | HTMLImageElement) => {\n if (el.nodeName === 'SOURCE') {\n const pictureSource = new EclGalleryPictureSource();\n pictureSource.srcset = el.getAttribute('srcset');\n pictureSource.media = el.getAttribute('media');\n this.sources.push(pictureSource);\n } else if (el.nodeName === 'IMG') {\n const imageSource = new EclGalleryPictureImage();\n imageSource.src = el.getAttribute('src');\n imageSource.alt = el.getAttribute('alt');\n imageSource.loading = el.getAttribute('loading');\n this.img.src = imageSource.src;\n this.img.alt = imageSource.alt;\n this.img.loading = imageSource.loading;\n\n }\n this.cd.detectChanges();\n });\n }\n\n private getHostElement(): HTMLElement {\n return this.el.nativeElement;\n }\n}\n\n/**\n * Applies ECL thumbnail styling to a `<picture>` element inside an `ecl-gallery-item`.\n * Adds `ecl-picture ecl-gallery__thumbnail` and an optional `ecl-picture--zoom` modifier.\n *\n * - `hasZoom` — when `true`, adds the `ecl-picture--zoom` modifier class.\n */\n@Directive({\n selector: 'picture[eclGalleryThumbnail]',\n host: {\n '[class]': 'cssClasses()',\n '[class.ecl-picture--zoom]': 'hasZoom()',\n },\n})\nexport class EclGalleryThumbnailDirective extends ECLBaseDirective {\n readonly hasZoom = input(false, { transform: booleanAttribute });\n\n protected readonly cssClasses = computed<string>(() =>\n super.getCssClasses('ecl-picture ecl-gallery__thumbnail'));\n}\n","// code-security-audit-disabled: ECL gallery — bypassSecurityTrustResourceUrl is required for the external video iframe src (Angular blocks unwrapped resource URLs); any host is allowed as in upstream ECL, but only absolute https: URLs are trusted (see buildSafeVideoUrl).\nimport { Component, ElementRef, OnInit, Renderer2, booleanAttribute, computed, inject, input, output, signal, contentChild } from '@angular/core';\nimport { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';\nimport { EUI_ECL_ICON } from '@eui/ecl/components/ecl-icon';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport {\n EclGalleryMediaDirective,\n EclGalleryPictureDirective,\n} from './ecl-gallery-media.directive';\nimport { EclGalleryItemClickEvent } from './events';\nimport { EclGalleryItem } from './models/ecl-gallery-item.model';\n\n/**\n * Represents a single media item — image, video, or external video — within an `ecl-gallery`.\n * Renders the thumbnail in the gallery grid and exposes its data to the parent overlay.\n *\n * - `mediaType` — `'image'` (default), `'video'`, or `'externalVideo'` (iframe-embedded).\n * - `src` is the original-resolution URL; used as the overlay / full-screen source.\n * - `isShareable` controls whether the share button appears in the overlay for this item.\n * - `itemClick` emits `EclGalleryItemClickEvent` when the thumbnail is clicked.\n * - `isHidden` and `isNoOverlay` are set programmatically by the parent gallery component.\n */\n@Component({\n selector: 'ecl-gallery-item',\n templateUrl: './ecl-gallery-item.component.html',\n imports: [...EUI_ECL_ICON],\n host: {\n '[class]': 'cssClasses()',\n '[attr.role]': 'role',\n '(click)': 'onItemClick($event)',\n },\n})\nexport class EclGalleryItemComponent extends ECLBaseDirective implements EclGalleryItem, OnInit {\n /**\n * Can this item be shared, i.e. show/hide share button.\n */\n readonly isShareable = input(true, { transform: booleanAttribute });\n /** Media type of this item. Drives overlay rendering behaviour. */\n readonly mediaType = input<'image' | 'video' | 'externalVideo'>('image');\n /**\n * The source link to the image/video, that will be shown in the original size (when open image/video in overlay or in orginal size).\n */\n /** Original-resolution URL for the overlay / full-screen view. */\n readonly src = input<string>(undefined);\n /** Caption or metadata string displayed in the overlay. */\n readonly meta = input<string>(undefined);\n /** Description text displayed below the media in the overlay. */\n readonly description = input<string>(undefined);\n /** URL of an embedded audio description for the media (video items). */\n readonly srVideoAudioDescription = input<string>(undefined);\n /** Icon name for the item thumbnail (optional). */\n readonly icon = input<string>(undefined);\n /** Title text displayed on hover and in the overlay header. */\n readonly title = input<string>(undefined);\n /** Consumer-supplied ID for the item; auto-generated UUID if not provided. */\n readonly itemId = input<string>(undefined);\n /**\n * Publication date of the item. Shown in the item caption and in the overlay\n * (next to the \"published\" label).\n */\n readonly publicationDate = input<string>('');\n /**\n * Length of the video (e.g. \"1:01\"). Shown in the item caption for video items.\n */\n readonly videoLength = input<string>('');\n /**\n * Keeps the item caption permanently visible (not only on hover/focus).\n * Forced on for video / external-video items, matching ECL.\n */\n readonly titleAlwaysVisible = input(false, { transform: booleanAttribute });\n /** ARIA label for the thumbnail anchor element. */\n readonly ariaLabel = input<string | null>(null);\n /** Emitted when the user clicks the thumbnail; `EclGalleryItemClickEvent` carries no extra payload. */\n readonly itemClick = output<EclGalleryItemClickEvent>();\n readonly mediaChild = contentChild(EclGalleryMediaDirective);\n readonly galleryPicture = contentChild(EclGalleryPictureDirective);\n\n /**\n * The resolved id of the item. Falls back to a generated UUID when no itemId input is provided.\n */\n readonly resolvedItemId = signal<string>(undefined);\n\n /**\n * Whether the item is currently hidden in the gallery (controlled by the parent gallery).\n */\n readonly isHidden = signal(false);\n\n /**\n * Whether the item is displayed without an overlay (controlled by the parent gallery).\n */\n readonly isNoOverlay = signal(false);\n\n /**\n * Creates id for the title\n */\n readonly titleId = computed<string>(() => `${this.resolvedItemId()}-title`);\n\n /**\n * The role attribute of the item is 'listitem', should not be changed.\n */\n protected role = 'listitem';\n\n /**\n * Binds specific classes for the item. Some depend on some of the properties of the component.\n */\n protected readonly cssClasses = computed<string>(() =>\n [super.getCssClasses('ecl-gallery__item'), this.isHidden() ? 'ecl-gallery__item--hidden' : ''].join(' ').trim());\n\n private externalVideoUrl: SafeResourceUrl;\n private domSanitizer = inject(DomSanitizer);\n private renderer = inject(Renderer2);\n private el = inject(ElementRef);\n\n ngOnInit(): void {\n if (this.isExternalVideo) {\n this.externalVideoUrl = this.buildSafeVideoUrl(this.src());\n }\n\n this.resolvedItemId.set(this.itemId() ?? crypto.randomUUID());\n }\n\n get isImage(): boolean {\n return this.mediaType() === 'image';\n }\n\n get isVideo(): boolean {\n return this.mediaType() === 'video';\n }\n\n get isExternalVideo(): boolean {\n return this.mediaType() === 'externalVideo';\n }\n\n /**\n * Whether the caption is permanently visible. ECL forces this on for video\n * and embedded-video items, in addition to the explicit `titleAlwaysVisible`.\n */\n get isCaptionAlwaysVisible(): boolean {\n return this.titleAlwaysVisible() || this.isVideo || this.isExternalVideo;\n }\n\n get isOpenInFullScreenPossible(): boolean {\n return this.mediaType() !== 'externalVideo';\n }\n\n getDownloadLink(): string {\n return this.src();\n }\n\n getUrlExternalVideo(): SafeResourceUrl {\n return this.externalVideoUrl;\n }\n\n onFocus(): void {\n this.renderer.selectRootElement(this.el.nativeElement.children[0], true).focus();\n }\n\n protected onItemClick(evt: MouseEvent): void {\n this.itemClick.emit(new EclGalleryItemClickEvent());\n evt.preventDefault();\n }\n\n /**\n * Builds the trusted resource URL used as the iframe `src` of an external video.\n * Any host is allowed (as upstream ECL), but only absolute `https:` URLs are trusted.\n * This rejects `javascript:`, `data:`, `blob:` and relative/malformed values.\n * Invalid values are not trusted: the iframe gets `about:blank` and a warning is logged.\n * `about:blank` is returned (and not `undefined`) because the iframe `[src]` binding is\n * unconditional and Angular throws NG0904 for any value that is not a SafeResourceUrl.\n */\n private buildSafeVideoUrl(src: string): SafeResourceUrl {\n try {\n const parsed = new URL(src);\n if (parsed.protocol === 'https:') {\n return this.domSanitizer.bypassSecurityTrustResourceUrl(parsed.toString());\n }\n } catch {\n // malformed or relative URL: handled below\n }\n console.warn(`[ecl-gallery-item] External video \"src\" ignored: only absolute https URLs are allowed. Received: \"${src}\"`);\n return this.domSanitizer.bypassSecurityTrustResourceUrl('about:blank');\n }\n\n}\n","<a [href]=\"src()\" class=\"ecl-gallery__item-link\" [class.ecl-gallery__item__link--frozen]=\"isNoOverlay()\" [id]=\"resolvedItemId()\"\n [attr.aria-label]=\"ariaLabel()\">\n <figure class=\"ecl-gallery__image-container\">\n <div class=\"ecl-gallery__icon-zoom-wrapper\">\n <ecl-icon class=\"ecl-gallery__icon-zoom\" iconSet=\"phosphor\" icon=\"arrows-out-simple\" size=\"s\"></ecl-icon>\n </div>\n @if(mediaType() !== 'image') {\n <div class=\"ecl-gallery__item-icon-wrapper\">\n <ecl-icon isInverted class=\"ecl-gallery__item-icon\" iconSet=\"phosphor-fill\" icon=\"play\" size=\"s\"></ecl-icon>\n </div>\n } \n <ng-content select=\"[eclGalleryPicture], [eclGalleryThumbnail], [eclGalleryMedia], [eclGalleryImage]\"></ng-content>\n <figcaption class=\"ecl-gallery__description\"\n [class.ecl-gallery__description--visible]=\"isCaptionAlwaysVisible\">\n @if(videoLength() || publicationDate()) {\n <div class=\"ecl-gallery__item-meta\">\n @if(videoLength()) {\n <span class=\"ecl-gallery__length\">{{ videoLength() }}</span>\n }\n @if(publicationDate()) {\n <span class=\"ecl-gallery__date\">{{ publicationDate() }}</span>\n }\n </div>\n }\n @if(title()) {\n <span class=\"ecl-gallery__title\" [id]=\"titleId()\">\n <span class=\"ecl-gallery__title-text\">{{ title() }}</span>\n </span>\n }\n @if(description()) {\n <span class=\"ecl-gallery__caption\">{{ description() }}</span>\n }\n </figcaption>\n </figure>\n</a>\n","import { BreakpointObserver, Breakpoints } from '@angular/cdk/layout';\nimport { NgTemplateOutlet, isPlatformBrowser } from '@angular/common';\nimport { AfterContentInit, AfterViewInit, Component, DOCUMENT, ElementRef, OnDestroy, PLATFORM_ID, booleanAttribute, computed, inject, numberAttribute, output, input, signal, contentChildren, contentChild, viewChild } from '@angular/core';\nimport { outputToObservable } from '@angular/core/rxjs-interop';\nimport { EUI_ECL_BUTTON } from '@eui/ecl/components/ecl-button';\nimport { EUI_ECL_ICON } from '@eui/ecl/components/ecl-icon';\nimport { EUI_ECL_LINK } from '@eui/ecl/components/ecl-link';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { Subject, delay, fromEvent } from 'rxjs';\nimport { auditTime, takeUntil } from 'rxjs/operators';\nimport { EclGalleryFooterComponent } from './ecl-gallery-footer.component';\nimport { EclGalleryItemComponent } from './ecl-gallery-item.component';\nimport { EclGalleryFullScreenEvent, EclGalleryHideEvent, EclGalleryItemEvent, EclGalleryShareEvent, EclGalleryShowEvent } from './events';\n\n/**\n * Displays a collection of images or videos in a browsable ECL gallery following ECL design standards.\n * Supports overlay navigation with previous/next controls, full-screen opening, item sharing,\n * responsive breakpoint management, and a footer with a configurable \"view all\" toggle.\n *\n * - Layout: `isGrid` + `columns` (2–4) render a uniform grid; `gridTemplate` (`'0'`–`'4'`) applies\n * template-specific thumbnail sizing; `ratio` (`'3-1'`, `'3-2'`) controls thumbnail aspect ratio.\n * - Overlay: disabled by `isNoOverlay`; full-screen via `isOpenInFullScreenPossible`; sharing via `isShareable`.\n * - Visibility: `maxVisibleItems` limits visible thumbnails; `isFullWidth` stretches to full viewport width.\n * - Events: `show`, `hide`, `openFullScreen`, `share`, `itemSwitch` — all emit typed ECL event objects.\n * - Compose with `ecl-gallery-item` children and an optional `ecl-gallery-footer`.\n */\n@Component({\n selector: 'ecl-gallery',\n templateUrl: './ecl-gallery.component.html',\n imports: [TranslatePipe, NgTemplateOutlet, ...EUI_ECL_BUTTON, ...EUI_ECL_ICON, ...EUI_ECL_LINK],\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n host: {\n '[class]': 'cssClasses()',\n '[attr.role]': 'role',\n '(document:keydown.escape)': 'onEscapeKeydownHandler()',\n },\n})\nexport class EclGalleryComponent extends ECLBaseDirective implements AfterContentInit, OnDestroy, AfterViewInit {\n /** Whether items can be opened in full-screen mode. */\n readonly isOpenInFullScreenPossible = input(true, { transform: booleanAttribute });\n /**\n * If the items in the gallery can be shared. I.e. if the link for sharing will be present for each item.\n */\n readonly isShareable = input(true, { transform: booleanAttribute });\n /**\n * If set to true, the gallery will have 100 view width.\n */\n readonly isFullWidth = input(false, { transform: booleanAttribute });\n /**\n * If set to true, no overlay will be displayed when user clicks on an image.\n */\n readonly isNoOverlay = input(false, { transform: booleanAttribute });\n /**\n * If set to false, no title will be displayed when user hover on a gallery item.\n */\n readonly isShowTitleOnHover = input(true, { transform: booleanAttribute });\n /**\n * Number of gallery items to be displayed by default. The rest can be displayed with the 'View all' button.\n */\n readonly maxVisibleItems = input<number, unknown>(undefined, { transform: numberAttribute });\n /**\n * If set to true, a specific class will be applied, so the gallery thumbnails are displayed as a grid, all with same size.\n */\n readonly isGrid = input(false, { transform: booleanAttribute });\n\n /** Number of columns when `isGrid` is `true`. Accepts `2`, `3` (default), or `4`. */\n readonly columns = input<2 | 3 | 4 | number, unknown>(3, { transform: numberAttribute });\n /**\n * This property can be used with 'isGrid' property set to true. By default gridTemplate is 0 and all the thimbnails have same size.\n * If another template value is set, some additional formatting is applied and the thumbnails will have different sizes.\n */\n readonly gridTemplate = input<'0' | '1' | '2' | '3' | '4' | string>('0');\n /**\n * The ratio that will be applied to the gallery thumbnails.\n */\n readonly ratio = input<'3-1' | '3-2' | string>('3-2');\n\n /**\n * Emits event when user clicks on an item to expand it.\n */\n readonly show = output<EclGalleryShowEvent>();\n /**\n * Emits event when an expanded item is closed.\n */\n readonly hide = output<EclGalleryHideEvent>();\n /**\n * Emits event when an item is opened in full screen.\n */\n readonly openFullScreen = output<EclGalleryFullScreenEvent>();\n /**\n * Emits event when an item is shared.\n */\n readonly share = output<EclGalleryShareEvent>();\n /**\n * Emits event when user is browsing items, opened in an overlay.\n */\n readonly itemSwitch = output<EclGalleryItemEvent>();\n\n protected readonly galleryItems = contentChildren(EclGalleryItemComponent);\n protected readonly galleryFooter = contentChild(EclGalleryFooterComponent);\n protected readonly overlayChild = viewChild<ElementRef>('overlay');\n protected readonly headerChild = viewChild<ElementRef>('header');\n protected readonly footerChild = viewChild<ElementRef>('footer');\n\n /**\n * The default role of the component is 'region' and should not be changed.\n */\n protected role = 'region';\n\n /**\n * Applies specific clases to the component, related to the component properties values.\n */\n protected readonly cssClasses = computed<string>(() =>\n [super.getCssClasses('ecl-gallery'),\n this.isFullWidth() ? 'ecl-gallery--full-width' : '',\n this.isGrid() ? 'ecl-gallery--grid' : '',\n this.isGrid() && this.gridTemplate() === '0' ? `ecl-gallery--col-${this.columns()}` : '',\n this.isGrid() ? `ecl-gallery--template-${this.gridTemplate()}`: '',\n this.isGrid() ? `ecl-gallery--ratio-${this.ratio()}`: '',\n !this.isShowTitleOnHover() ? 'ecl-gallery--no-hover' : '',\n this.isNoOverlay() ? 'ecl-gallery--no-overlay' : '',\n ].join(' ').trim());\n\n protected isDialogVisible = false;\n protected isMobile = false;\n protected itemsCount: number;\n protected itemIndex: number;\n protected item: EclGalleryItemComponent;\n\n /**\n * The effective number of visible items. Initialized from the maxVisibleItems input and\n * adjusted internally depending on the current breakpoint.\n */\n private readonly effectiveMaxVisibleItems = signal<number>(undefined);\n private iframeWidth: number;\n private iframeHeight: number;\n private BREAKPOINT_CHANGES_TIMEOUT = 500;\n private destroy$: Subject<boolean> = new Subject<boolean>();\n private visibleItems: number;\n private MAX_VISIBLE_ITEMS_MOBILE = 3;\n private RESOLUTION_16_9_PROPOTION = 16 / 9;\n private RESOLUTION_4_3_PROPOTION = 4 / 3;\n private cdkBreakpointObserver = inject(BreakpointObserver);\n private platformId = inject(PLATFORM_ID);\n private readonly document = inject<Document>(DOCUMENT);\n private readonly window = this.document.defaultView; // Window | null\n\n ngAfterViewInit(): void {\n // Manages the initial display of the gallery, the footer and the visible/hidden items.\n if (isPlatformBrowser(this.platformId) && this.window) {\n this.observeBreakpointChanges();\n fromEvent(this.window, 'resize').pipe(\n auditTime(50),\n takeUntil(this.destroy$)).subscribe(() => {\n this.setIframeDimensions();\n });\n }\n }\n\n ngAfterContentInit(): void {\n this.itemsCount = this.galleryItems().length;\n this.effectiveMaxVisibleItems.set(this.maxVisibleItems() ? this.maxVisibleItems() : this.itemsCount);\n this.visibleItems = this.effectiveMaxVisibleItems();\n const galleryFooter = this.galleryFooter();\n if (galleryFooter) {\n galleryFooter.itemsCount.set(this.itemsCount);\n galleryFooter.isShowToggleBtn.set(this.hasHiddenGaleryItems());\n // Subscribe to 'toggleItems' event from gallery footer, to show or collapse items.\n outputToObservable(galleryFooter.toggleItems).pipe(takeUntil(this.destroy$)).subscribe((evt) => {\n if (evt.expandAll) {\n this.showAllItems();\n } else {\n this.collapseItems();\n }\n });\n }\n\n if (!this.isNoOverlay()) {\n // For each item, subscribe to 'itemClick' event.\n this.galleryItems().forEach((item) => {\n outputToObservable(item.itemClick).pipe(takeUntil(this.destroy$)).subscribe((_) => {\n this.isDialogVisible = true;\n this.item = item;\n this.itemIndex = this.findItemIndex(Array.from(this.galleryItems()), item);\n this.show.emit(new EclGalleryShowEvent());\n if (isPlatformBrowser(this.platformId)) {\n setTimeout(() => this.setIframeDimensions());\n }\n });\n });\n } else {\n this.galleryItems().forEach((item) => item.isNoOverlay.set(true));\n }\n\n if (this.hasHiddenGaleryItems()) {\n this.collapseItems();\n }\n }\n\n ngOnDestroy(): void {\n this.destroy$.next(true);\n this.destroy$.unsubscribe();\n }\n\n /**\n * Emit 'itemSwitch' event, when switching to the previous item. Event contains the new current item.\n * @param evt\n */\n protected onPrevious(evt: MouseEvent): void {\n this.item = this.findPreviousItem(Array.from(this.galleryItems()), this.item);\n\n this.itemIndex = this.findItemIndex(Array.from(this.galleryItems()), this.item);\n\n this.itemSwitch.emit(new EclGalleryItemEvent(this.item));\n }\n\n /**\n * Emit 'itemSwitch' event, when switching to the next item. Event contains the new current item.\n * @param evt\n */\n protected onNext(evt: MouseEvent): void {\n this.item = this.findNextItem(Array.from(this.galleryItems()), this.item);\n this.itemIndex = this.findItemIndex(Array.from(this.galleryItems()), this.item);\n\n this.itemSwitch.emit(new EclGalleryItemEvent(this.item));\n }\n\n /**\n * Emit 'hide' event, when closing item dialog.\n * @param evt\n */\n protected onClose(evt: MouseEvent): void {\n this.item = null;\n this.itemIndex = -1;\n this.isDialogVisible = false;\n this.hide.emit(new EclGalleryHideEvent());\n }\n\n /**\n * On pressing 'esc' key - close the item dialog and emit 'hide' event.\n * @param event\n */\n protected onEscapeKeydownHandler(): void {\n this.isDialogVisible = false;\n this.hide.emit(new EclGalleryHideEvent());\n }\n\n protected onFullScreenOpen(evt: MouseEvent): void {\n this.openFullScreen.emit(new EclGalleryFullScreenEvent(this.item));\n }\n\n protected onShare(evt: MouseEvent): void {\n this.share.emit(new EclGalleryShareEvent(this.item));\n evt.preventDefault();\n }\n\n protected canBeOpenInFullScreen(): boolean {\n return this.isOpenInFullScreenPossible() && this.item?.isOpenInFullScreenPossible;\n }\n\n protected canBeShared(): boolean {\n return this.isShareable() && this.item?.isShareable();\n }\n\n protected getIframeWidth(): number {\n return this.iframeWidth;\n }\n\n protected getIframeHeight(): number {\n return this.iframeHeight;\n }\n\n private setIframeDimensions(): void {\n const { width, height } = this.getCalculatedIframeDimensions();\n this.iframeWidth = width;\n this.iframeHeight = height;\n }\n\n private getCalculatedIframeDimensions(): { width: number; height: number } {\n let width = window.innerWidth;\n let height =\n this.overlayChild().nativeElement.clientHeight -\n this.headerChild().nativeElement.clientHeight -\n this.footerChild().nativeElement.clientHeight;\n if (width > height) {\n const scaledHeight = height * this.RESOLUTION_16_9_PROPOTION;\n if (scaledHeight > width) {\n width = width * 0.95;\n } else {\n width = scaledHeight;\n }\n } else {\n const scaledWith = width * this.RESOLUTION_4_3_PROPOTION;\n if (scaledWith > height) {\n height = height * 0.95;\n } else {\n height = scaledWith;\n }\n }\n return {\n width,\n height,\n };\n }\n\n private findItemIndex(items: EclGalleryItemComponent[], item: EclGalleryItemComponent): number {\n return items.findIndex((it) => it === item) + 1;\n }\n\n private findPreviousItem(items: EclGalleryItemComponent[], item: EclGalleryItemComponent): EclGalleryItemComponent {\n const index = this.findPreviousItemIndex(items, item);\n return items[index];\n }\n\n private findNextItem(items: EclGalleryItemComponent[], item: EclGalleryItemComponent): EclGalleryItemComponent {\n const index = this.findNextItemIndex(items, item);\n return items[index];\n }\n\n private findPreviousItemIndex(items: EclGalleryItemComponent[], item: EclGalleryItemComponent): number {\n const currentIndex = items.findIndex((it) => it === item);\n return currentIndex === 0 ? items.length - 1 : currentIndex - 1;\n }\n\n private findNextItemIndex(items: EclGalleryItemComponent[], item: EclGalleryItemComponent): number {\n const currentIndex = items.findIndex((it) => it === item);\n return currentIndex >= items.length - 1 ? 0 : currentIndex + 1;\n }\n\n private observeBreakpointChanges(): void {\n this.cdkBreakpointObserver\n .observe([Breakpoints.Handset, Breakpoints.Tablet])\n .pipe(takeUntil(this.destroy$), delay(this.BREAKPOINT_CHANGES_TIMEOUT))\n .subscribe((result) => {\n this.isMobile = result.matches;\n if (this.isMobile) {\n this.manageItemsMobile();\n } else {\n this.manageItemsDesktop();\n }\n });\n }\n\n private manageItemsMobile(): void {\n this.effectiveMaxVisibleItems.set(this.MAX_VISIBLE_ITEMS_MOBILE);\n this.collapseItems();\n const galleryFooter = this.galleryFooter();\n if (galleryFooter) {\n galleryFooter.isShowToggleBtn.set(this.hasHiddenGaleryItems());\n }\n }\n\n private manageItemsDesktop(): void {\n this.effectiveMaxVisibleItems.set(this.visibleItems);\n this.getVisibleItems().forEach((elem) => this.showGaleryItem(elem));\n this.collapseItems();\n const galleryFooter = this.galleryFooter();\n if (galleryFooter) {\n galleryFooter.isShowToggleBtn.set(this.hasHiddenGaleryItems());\n }\n }\n\n private hasHiddenGaleryItems(): boolean {\n const maxVisibleItems = this.effectiveMaxVisibleItems();\n if (maxVisibleItems && this.itemsCount > 0 && maxVisibleItems < this.itemsCount) {\n return true;\n } else {\n return false;\n }\n }\n\n private collapseItems(): void {\n this.getHiddenItems().forEach((elem) => this.hideGaleryItem(elem));\n }\n\n private showAllItems(): void {\n const hiddenItems = this.getHiddenItems();\n hiddenItems.forEach((elem) => this.showGaleryItem(elem));\n setTimeout(() => hiddenItems[0].onFocus());\n }\n\n private hideGaleryItem(item: EclGalleryItemComponent): void {\n item.isHidden.set(true);\n }\n\n private showGaleryItem(item: EclGalleryItemComponent): void {\n item.isHidden.set(false);\n }\n\n private getHiddenItems(): EclGalleryItemComponent[] {\n return this.galleryItems().filter((item, cnt) => cnt >= this.effectiveMaxVisibleItems());\n }\n private getVisibleItems(): EclGalleryItemComponent[] {\n return this.galleryItems().filter((item, cnt) => cnt < this.effectiveMaxVisibleItems());\n }\n}\n","<ul class=\"ecl-gallery__list\">\n <ng-content></ng-content>\n</ul>\n\n<ng-content select=\"ecl-gallery-footer\"></ng-content>\n\n<dialog #overlay [attr.open]=\"isDialogVisible || null\" class=\"ecl-gallery__overlay\"\n [attr.aria-label]=\"'ecl.gallery.FULL-SIZE-DISPLAY' | translate\">\n <header #header class=\"ecl-gallery__close\">\n <button (click)=\"onClose($event)\" eclButton class=\"ecl-gallery__close-button\" isIconOnly variant=\"tertiary\" eclStyle=\"inverted\">\n <span eclButtonLabel>\n {{ 'ecl.common.CLOSE' | translate }}\n </span>\n <ecl-icon icon=\"x\" iconSet=\"phosphor\" size=\"m\"></ecl-icon>\n </button>\n </header>\n <section class=\"ecl-gallery__slider\">\n <div class=\"ecl-gallery__slider-media-container\">\n @if(item?.isExternalVideo) {\n <div class=\"ecl-gallery__slider-embed\">\n @if (item?.srVideoAudioDescription()) {\n <div class=\"ecl-gallery__slider-embed-audio\">{{item?.srVideoAudioDescription()}}</div>\n }\n <iframe [src]=\"item?.getUrlExternalVideo()\" [style.width.px]=\"getIframeWidth()\"\n [style.height.px]=\"getIframeHeight()\" [attr.title]=\"item.title() + ' - Video player'\" frameborder=\"0\">\n </iframe>\n </div>\n }\n @if(item?.isImage) {\n <picture class=\"ecl-picture ecl-gallery__picture ecl-gallery__slider-image\">\n @for(el of item.galleryPicture()?.sources; track el.srcset) {\n <source [attr.srcset]=\"el.srcset\" [attr.media]=\" el.media\">\n }\n <img [attr.alt]=\"item?.galleryPicture()?.img.alt || null\"\n [src]=\"item?.galleryPicture()?.img.src\"\n [attr.loading]=\"item?.galleryPicture()?.img.loading || null\" />\n </picture>\n }\n @if(item?.isVideo) {\n <video controls=\"controls\" class=\"ecl-gallery__slider-video\" [attr.aria-label]=\"item.title() + ' - Video player'\"\n [attr.poster]=\"item.mediaChild()?.poster()\" playsinline>\n @for (el of item.mediaChild()?.sources; track el.src) {\n <source [attr.src]=\"el.src\" [attr.type]=\"el.type\" />\n }\n @for (elem of item.mediaChild()?.tracks; track elem.src) {\n <track [attr.src]=\"elem.src\" [attr.kind]=\"elem.kind\" [attr.srcLang]=\"elem.srcLang\"\n [attr.label]=\"elem.label\" />\n }\n </video>\n }\n </div>\n </section>\n <footer #footer class=\"ecl-gallery__detail\">\n <div class=\"ecl-gallery__detail-container\">\n <div class=\"ecl-gallery__pager\">\n <div class=\"ecl-gallery__detail-counter\">\n <span>{{ itemIndex }}</span> {{ 'ecl.common.OF' | translate }} <span>{{ itemsCount }}</span>\n </div>\n <div class=\"ecl-gallery__controls\">\n <button eclButton class=\"ecl-gallery__slider-previous\" variant=\"primary\" eclStyle=\"inverted\" size=\"m\"\n isIconOnly (click)=\"onPrevious($event)\">\n <ecl-icon icon=\"corner-arrow\" size=\"m\" transform=\"rotate-270\"></ecl-icon>\n <span eclButtonLabel>\n {{ 'ecl.common.PREVIOUS' | translate }}\n </span>\n </button>\n <button eclButton class=\"ecl-gallery__slider-next\" variant=\"primary\" eclStyle=\"inverted\" size=\"m\"\n isIconOnly (click)=\"onNext($event)\">\n <span eclButtonLabel>\n {{ 'ecl.common.NEXT' | translate }}\n </span>\n <ecl-icon icon=\"corner-arrow\" size=\"m\" transform=\"rotate-90\"></ecl-icon>\n </button>\n </div>\n </div>\n <div class=\"ecl-gallery__detail-actions\">\n <ng-container *ngTemplateOutlet=\"links\"></ng-container>\n </div>\n </div>\n\n <div class=\"ecl-gallery__detail-actions-mobile\">\n <ng-container *ngTemplateOutlet=\"links\"></ng-container>\n </div>\n\n <div class=\"ecl-gallery__detail-description\">\n @if(item?.title()) {\n <span class=\"ecl-gallery__title\" [id]=\"item?.resolvedItemId()\">\n <span class=\"ecl-gallery__title-text\">{{ item?.title() }}</span>\n </span>\n }\n @if(item?.description()) {\n <span class=\"ecl-gallery__caption\">{{ item?.description() }}</span>\n }\n @if(item?.meta()) {\n <span class=\"ecl-gallery__meta\">{{ item?.meta() }}</span>\n }\n </div>\n </footer>\n</dialog>\n\n<ng-template #links>\n @if(canBeOpenInFullScreen()) {\n <a eclLink [attr.aria-describedby]=\"item?.titleId()\" variant=\"standalone\"\n class=\"ecl-gallery__download\" [href]=\"item?.getDownloadLink()\" target=\"_blank\"\n (click)=\"onFullScreenOpen($event)\" isInverted>\n <span eclLinkLabel>{{ 'ecl.gallery.VIEW-ORIGINAL' | translate }}</span>\n <ecl-icon icon=\"fullscreen\" size=\"2xs\" focusable=\"false\"></ecl-icon>\n </a>\n }\n @if(canBeShared()) {\n <a [attr.aria-describedby]=\"item?.titleId()\" eclLink variant=\"standalone\" isInverted\n class=\"ecl-gallery__share\" href=\"\" (click)=\"onShare($event)\">\n <span eclLinkLabel>{{ 'ecl.common.SHARE' | translate }}</span>\n <ecl-icon icon=\"share\" size=\"2xs\" focusable=\"false\"></ecl-icon>\n </a>\n }\n <div class=\"ecl-gallery__detail-date\" [hidden]=\"!item?.publicationDate()\">\n <ecl-icon iconSet=\"phosphor\" icon=\"calendar-blank\" size=\"2xs\" class=\"ecl-gallery__date-icon\"></ecl-icon>\n <span class=\"ecl-gallery__date-label\">{{ 'ecl.gallery.PUBLISHED' | translate }}</span>\n <span class=\"ecl-gallery__date-value\">{{ item?.publicationDate() }}</span>\n </div>\n</ng-template>","import { EclGalleryFooterComponent } from './ecl-gallery-footer.component';\nimport { EclGalleryItemComponent } from './ecl-gallery-item.component';\nimport {\n EclGalleryMediaDirective,\n EclGalleryPictureDirective,\n EclGalleryThumbnailDirective,\n} from './ecl-gallery-media.directive';\nimport { EclGalleryComponent } from './ecl-gallery.component';\n\nexport * from './ecl-gallery.component';\nexport * from './ecl-gallery-item.component';\nexport * from './ecl-gallery-footer.component';\nexport * from './ecl-gallery-media.directive';\nexport * from './events/index';\nexport * from './models/ecl-gallery-item.model';\n\nexport const EUI_ECL_GALLERY = [\n EclGalleryComponent,\n EclGalleryFooterComponent,\n EclGalleryItemComponent,\n EclGalleryMediaDirective,\n EclGalleryPictureDirective,\n EclGalleryThumbnailDirective,\n] as const;"],"mappings":";;;;;;;;;;;;;;;;AAIA,IAAa,sBAAb,cAAyC,aAAY,CAAG;AAExD,IAAa,sBAAb,cAAyC,aAAY,CAAG;AAMxD,IAAa,4BAAb,cAA+C,aAAY;CAC1D,YAAmB,aAA2B;EAC7C,MAAK;EADa,KAAA,cAAA;CAEnB;AACA;AAMD,IAAa,uBAAb,cAA0C,aAAY;CACrD,YAAmB,aAA2B;EAC7C,MAAK;EADa,KAAA,cAAA;CAEnB;AACA;AClBD,IAAa,sBAAb,cAAyC,aAAY;CACpD,YAAmB,aAA2B;EAC7C,MAAK;EADa,KAAA,cAAA;CAEnB;AACA;ACTD,IAAa,2BAAb,cAA8C,aAAY,CAAG;ACI7D,IAAa,6BAAb,cAAgD,aAAY;CAC3D,YAAmB,WAAkB;EACpC,MAAK;EADa,KAAA,YAAA;CAEnB;AACA;ACUD,IAAa,4BAAb,MAAa,0BAAyB;CARtC,cAAA;EAUa,KAAA,SAAS,MAAc,QAAU,GAAA,YAAA,CAAA,EAAA,WAAA,SAAA,CAAA,+BAAA,CAAA,CAAA;EAIjC,KAAA,cAAc,OAAM;EAKpB,KAAA,aAAa,OAAe,QAAU,GAAA,YAAA,CAAA,EAAA,WAAA,aAAA,CAAA,+B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A;EAAA,MAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,MAAA;EAAA,CAAA;EAAA,MAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,MAAA;EAAA,CAAA;EAAA,gBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,gBAAA;EAAA,CAAA;EAAA,OAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,OAAA;EAAA,CAAA;EAAA,YAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,YAAA;EAAA,CAAA;EAAA,cAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,GAAA,iBAAA,uBAAuB,GAAA,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,eAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,GAAA,iBACzB,yBAAyB,GAAA,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,cAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CACjB,WAAS,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,aAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CACV,UAAQ,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;EAAA,aAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CACR,UAAQ,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;CAAA;AAAA,CAAA;AE7FnE,MAAa,kBAAkB;CAC3B;CACA;CACA;CACA;CACA;CACA;AACM"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/ecl",
3
- "version": "22.0.0-alpha.67",
3
+ "version": "22.0.0-alpha.69",
4
4
  "tag": "next",
5
5
  "description": "eUI ECL components package",
6
6
  "homepage": "https://eui.ecdevops.eu",