@eui/ecl 19.0.2-snapshot-1736167801365 → 19.0.2

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.
Files changed (165) hide show
  1. package/components/ecl-breadcrumb/ecl-breadcrumb-container.directive.d.ts +11 -0
  2. package/components/ecl-breadcrumb/ecl-breadcrumb-container.directive.d.ts.map +1 -0
  3. package/components/ecl-breadcrumb/ecl-breadcrumb-segment.component.d.ts +3 -4
  4. package/components/ecl-breadcrumb/ecl-breadcrumb-segment.component.d.ts.map +1 -1
  5. package/components/ecl-breadcrumb/ecl-breadcrumb.component.d.ts +7 -1
  6. package/components/ecl-breadcrumb/ecl-breadcrumb.component.d.ts.map +1 -1
  7. package/components/ecl-breadcrumb/ecl-breadcrumb.module.d.ts +8 -7
  8. package/components/ecl-breadcrumb/ecl-breadcrumb.module.d.ts.map +1 -1
  9. package/components/ecl-breadcrumb/index.d.ts +1 -0
  10. package/components/ecl-breadcrumb/index.d.ts.map +1 -1
  11. package/components/ecl-inpage-navigation/ecl-inpage-navigation-item.component.d.ts +3 -2
  12. package/components/ecl-inpage-navigation/ecl-inpage-navigation-item.component.d.ts.map +1 -1
  13. package/components/ecl-inpage-navigation/ecl-inpage-navigation-list.directive.d.ts +16 -0
  14. package/components/ecl-inpage-navigation/ecl-inpage-navigation-list.directive.d.ts.map +1 -0
  15. package/components/ecl-inpage-navigation/ecl-inpage-navigation.component.d.ts +7 -3
  16. package/components/ecl-inpage-navigation/ecl-inpage-navigation.component.d.ts.map +1 -1
  17. package/components/ecl-inpage-navigation/ecl-inpage-navigation.module.d.ts +7 -6
  18. package/components/ecl-inpage-navigation/ecl-inpage-navigation.module.d.ts.map +1 -1
  19. package/components/ecl-inpage-navigation/index.d.ts +2 -0
  20. package/components/ecl-inpage-navigation/index.d.ts.map +1 -1
  21. package/components/ecl-inpage-navigation/services/ecl-inpage-navigation.service.d.ts +11 -0
  22. package/components/ecl-inpage-navigation/services/ecl-inpage-navigation.service.d.ts.map +1 -0
  23. package/components/ecl-pagination/ecl-pagination-item.component.d.ts +4 -2
  24. package/components/ecl-pagination/ecl-pagination-item.component.d.ts.map +1 -1
  25. package/components/ecl-pagination/ecl-pagination-list.directive.d.ts +8 -0
  26. package/components/ecl-pagination/ecl-pagination-list.directive.d.ts.map +1 -0
  27. package/components/ecl-pagination/ecl-pagination.component.d.ts +4 -1
  28. package/components/ecl-pagination/ecl-pagination.component.d.ts.map +1 -1
  29. package/components/ecl-pagination/ecl-pagination.module.d.ts +7 -6
  30. package/components/ecl-pagination/ecl-pagination.module.d.ts.map +1 -1
  31. package/components/ecl-pagination/index.d.ts +1 -0
  32. package/components/ecl-pagination/index.d.ts.map +1 -1
  33. package/docs/components/EclAccordionComponent.html +2 -2
  34. package/docs/components/EclAccordionItemComponent.html +2 -2
  35. package/docs/components/EclAppComponent.html +2 -2
  36. package/docs/components/EclBannerComponent.html +2 -2
  37. package/docs/components/EclBlockquoteComponent.html +2 -2
  38. package/docs/components/EclBreadcrumbComponent.html +66 -6
  39. package/docs/components/EclBreadcrumbSegmentComponent.html +4 -16
  40. package/docs/components/EclButtonComponent.html +2 -2
  41. package/docs/components/EclCardBodyComponent.html +2 -2
  42. package/docs/components/EclCardComponent.html +2 -2
  43. package/docs/components/EclCarouselComponent.html +2 -2
  44. package/docs/components/EclCarouselItemComponent.html +2 -2
  45. package/docs/components/EclCategoryFilterComponent.html +2 -2
  46. package/docs/components/EclCategoryFilterItemComponent.html +2 -2
  47. package/docs/components/EclCategoryFilterListComponent.html +2 -2
  48. package/docs/components/EclCheckboxHelpComponent.html +2 -2
  49. package/docs/components/EclCheckboxLabelComponent.html +2 -2
  50. package/docs/components/EclContentBlockComponent.html +2 -2
  51. package/docs/components/EclContentItemComponent.html +2 -2
  52. package/docs/components/EclDateBlockComponent.html +2 -2
  53. package/docs/components/EclDescriptionListDefinitionComponent.html +2 -2
  54. package/docs/components/EclExpandableComponent.html +2 -2
  55. package/docs/components/EclFactFiguresComponent.html +2 -2
  56. package/docs/components/EclFactFiguresDescriptionComponent.html +2 -2
  57. package/docs/components/EclFactFiguresItemComponent.html +2 -2
  58. package/docs/components/EclFactFiguresTitleComponent.html +2 -2
  59. package/docs/components/EclFactFiguresValueComponent.html +2 -2
  60. package/docs/components/EclFactFiguresViewAllComponent.html +2 -2
  61. package/docs/components/EclFeaturedComponent.html +2 -2
  62. package/docs/components/EclFeaturedItemComponent.html +2 -2
  63. package/docs/components/EclFeaturedItemDescriptionComponent.html +2 -2
  64. package/docs/components/EclFeaturedItemFooterComponent.html +2 -2
  65. package/docs/components/EclFileComponent.html +2 -2
  66. package/docs/components/EclFileItemComponent.html +2 -2
  67. package/docs/components/EclFileItemsComponent.html +2 -2
  68. package/docs/components/EclFileTaxonomyComponent.html +2 -2
  69. package/docs/components/EclFormGroupComponent.html +2 -2
  70. package/docs/components/EclFormLabelComponent.html +2 -2
  71. package/docs/components/EclGalleryComponent.html +2 -2
  72. package/docs/components/EclGalleryFooterComponent.html +2 -2
  73. package/docs/components/EclGalleryItemComponent.html +2 -2
  74. package/docs/components/EclIconComponent.html +2 -2
  75. package/docs/components/EclInpageNavigationComponent.html +72 -17
  76. package/docs/components/EclInpageNavigationItemComponent.html +46 -3
  77. package/docs/components/EclListIllustrationComponent.html +2 -2
  78. package/docs/components/EclListIllustrationItemComponent.html +2 -2
  79. package/docs/components/EclLoadingIndicatorComponent.html +2 -2
  80. package/docs/components/EclMediaContainerComponent.html +2 -2
  81. package/docs/components/EclMegaMenuComponent.html +2 -2
  82. package/docs/components/EclMegaMenuFeaturedComponent.html +2 -2
  83. package/docs/components/EclMegaMenuInfoComponent.html +2 -2
  84. package/docs/components/EclMegaMenuItemComponent.html +2 -2
  85. package/docs/components/EclMegaMenuSubitemComponent.html +2 -2
  86. package/docs/components/EclMenuComponent.html +2 -2
  87. package/docs/components/EclMenuItemComponent.html +2 -2
  88. package/docs/components/EclMenuMegaComponent.html +2 -2
  89. package/docs/components/EclMenuMegaItemComponent.html +2 -2
  90. package/docs/components/EclModalBodyComponent.html +2 -2
  91. package/docs/components/EclModalComponent.html +2 -2
  92. package/docs/components/EclModalFooterComponent.html +2 -2
  93. package/docs/components/EclModalHeaderComponent.html +2 -2
  94. package/docs/components/EclMultiselectComponent.html +2 -2
  95. package/docs/components/EclMultiselectDropdownComponent.html +2 -2
  96. package/docs/components/EclMultiselectInputComponent.html +2 -2
  97. package/docs/components/EclMultiselectOptgroupComponent.html +2 -2
  98. package/docs/components/EclMultiselectOptionComponent.html +2 -2
  99. package/docs/components/EclNavigationListComponent.html +2 -2
  100. package/docs/components/EclNavigationListItemComponent.html +2 -2
  101. package/docs/components/EclNewsTickerComponent.html +2 -2
  102. package/docs/components/EclNewsTickerItemComponent.html +2 -2
  103. package/docs/components/EclNotificationComponent.html +2 -2
  104. package/docs/components/EclPageHeaderComponent.html +2 -2
  105. package/docs/components/EclPaginationComponent.html +74 -3
  106. package/docs/components/EclPaginationItemComponent.html +72 -3
  107. package/docs/components/EclPopoverComponent.html +2 -2
  108. package/docs/components/EclRadioHelpComponent.html +2 -2
  109. package/docs/components/EclRadioLabelComponent.html +2 -2
  110. package/docs/components/EclRangeBubbleComponent.html +2 -2
  111. package/docs/components/EclRangeValueComponent.html +2 -2
  112. package/docs/components/EclRatingFieldComponent.html +2 -2
  113. package/docs/components/EclSearchFormComponent.html +2 -2
  114. package/docs/components/EclSelectContainerComponent.html +2 -2
  115. package/docs/components/EclSiteFooterComponent.html +2 -2
  116. package/docs/components/EclSiteFooterFixedContentECComponent.html +2 -2
  117. package/docs/components/EclSiteFooterFixedContentEUComponent.html +2 -2
  118. package/docs/components/EclSiteHeaderActionComponent.html +2 -2
  119. package/docs/components/EclSiteHeaderBannerTopComponent.html +2 -2
  120. package/docs/components/EclSiteHeaderComponent.html +2 -2
  121. package/docs/components/EclSiteHeaderEnvironmentComponent.html +2 -2
  122. package/docs/components/EclSiteHeaderLanguageComponent.html +3 -3
  123. package/docs/components/EclSiteHeaderLanguagePopoverComponent.html +2 -2
  124. package/docs/components/EclSiteHeaderLoginComponent.html +2 -2
  125. package/docs/components/EclSiteHeaderNotificationComponent.html +2 -2
  126. package/docs/components/EclSiteHeaderSearchComponent.html +2 -2
  127. package/docs/components/EclSocialMediaFollowComponent.html +2 -2
  128. package/docs/components/EclSocialMediaFollowItemComponent.html +2 -2
  129. package/docs/components/EclSocialMediaShareComponent.html +2 -2
  130. package/docs/components/EclSocialMediaShareItemComponent.html +2 -2
  131. package/docs/components/EclSplashPageComponent.html +2 -2
  132. package/docs/components/EclSplashPageLanguageCategoryComponent.html +2 -2
  133. package/docs/components/EclSplashPageLanguageContainerComponent.html +2 -2
  134. package/docs/components/EclSplashPageLanguageLinkComponent.html +2 -2
  135. package/docs/components/EclStickyContainerComponent.html +2 -2
  136. package/docs/components/EclTabComponent.html +2 -2
  137. package/docs/components/EclTabLabelComponent.html +2 -2
  138. package/docs/components/EclTabMoreComponent.html +2 -2
  139. package/docs/components/EclTableSortButtonComponent.html +2 -2
  140. package/docs/components/EclTabsComponent.html +2 -2
  141. package/docs/components/EclTagComponent.html +2 -2
  142. package/docs/components/EclTimelineComponent.html +2 -2
  143. package/docs/components/EclTimelineItemComponent.html +2 -2
  144. package/docs/components/EclTimelineItemTogglerComponent.html +2 -2
  145. package/docs/dependencies.html +2 -2
  146. package/docs/directives/EclBreadcrumbContainerDirective.html +566 -0
  147. package/docs/directives/EclInpageNavigationListDirective.html +610 -0
  148. package/docs/directives/EclPaginationListDirective.html +497 -0
  149. package/docs/index.html +2 -2
  150. package/docs/injectables/EclInpageNavigationService.html +361 -0
  151. package/docs/js/menu-wc.js +125 -20
  152. package/docs/js/menu-wc_es5.js +1 -1
  153. package/docs/js/search/search_index.js +2 -2
  154. package/docs/miscellaneous/variables.html +65 -1
  155. package/docs/modules/EclInpageNavigationModule.html +61 -4
  156. package/docs/modules/EclPaginationModule.html +52 -4
  157. package/fesm2022/eui-ecl-components-ecl-breadcrumb.mjs +49 -15
  158. package/fesm2022/eui-ecl-components-ecl-breadcrumb.mjs.map +1 -1
  159. package/fesm2022/eui-ecl-components-ecl-inpage-navigation.mjs +95 -32
  160. package/fesm2022/eui-ecl-components-ecl-inpage-navigation.mjs.map +1 -1
  161. package/fesm2022/eui-ecl-components-ecl-pagination.mjs +53 -21
  162. package/fesm2022/eui-ecl-components-ecl-pagination.mjs.map +1 -1
  163. package/fesm2022/eui-ecl-components-ecl-site-header.mjs +2 -2
  164. package/fesm2022/eui-ecl-components-ecl-site-header.mjs.map +1 -1
  165. package/package.json +2 -2
@@ -1,5 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
- import { EventEmitter, booleanAttribute, Component, ViewEncapsulation, HostBinding, Input, Output, numberAttribute, NgModule } from '@angular/core';
2
+ import { Directive, HostBinding, EventEmitter, booleanAttribute, Component, ViewEncapsulation, Input, Output, numberAttribute, ContentChild, NgModule } from '@angular/core';
3
+ import * as i1$1 from '@angular/common';
3
4
  import { CommonModule } from '@angular/common';
4
5
  import * as i1 from '@angular/router';
5
6
  import { RouterModule } from '@angular/router';
@@ -21,19 +22,29 @@ class EclPaginationEvent extends EclBaseEvent {
21
22
  }
22
23
  }
23
24
 
24
- class EclPaginationItemClickEvent extends EclBaseEvent {
25
- }
26
- class EclPaginationItemComponent extends ECLBaseDirective {
25
+ class EclPaginationListDirective extends ECLBaseDirective {
27
26
  constructor() {
28
27
  super(...arguments);
29
- this.role = 'listitem';
30
- this.isTruncated = false;
31
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
32
- this.routerLink = null;
33
- this.queryParams = null;
34
- this.queryParamsHandling = null;
35
- this.pageClick = new EventEmitter();
28
+ this.hasClass = true;
36
29
  }
30
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: EclPaginationListDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
31
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.5", type: EclPaginationListDirective, isStandalone: false, selector: "[eclPaginationList]", host: { properties: { "class.ecl-pagination__list": "this.hasClass" } }, usesInheritance: true, ngImport: i0 }); }
32
+ }
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: EclPaginationListDirective, decorators: [{
34
+ type: Directive,
35
+ args: [{
36
+ selector: '[eclPaginationList]',
37
+ standalone: false,
38
+ }]
39
+ }], propDecorators: { hasClass: [{
40
+ type: HostBinding,
41
+ args: ['class.ecl-pagination__list']
42
+ }] } });
43
+
44
+ class EclPaginationItemClickEvent extends EclBaseEvent {
45
+ }
46
+ // TODO: ecl-pagination-item selector is deprecated and should be removed in v20
47
+ class EclPaginationItemComponent extends ECLBaseDirective {
37
48
  get cssClasses() {
38
49
  return [
39
50
  super.getCssClasses('ecl-pagination__item'),
@@ -44,6 +55,20 @@ class EclPaginationItemComponent extends ECLBaseDirective {
44
55
  .join(' ')
45
56
  .trim();
46
57
  }
58
+ constructor(el) {
59
+ super();
60
+ this.el = el;
61
+ this.role = 'listitem';
62
+ this.isTruncated = false;
63
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
64
+ this.routerLink = null;
65
+ this.queryParams = null;
66
+ this.queryParamsHandling = null;
67
+ this.pageClick = new EventEmitter();
68
+ if (el.nativeElement.tagName.toLowerCase() === 'ecl-pagination-item') {
69
+ console.warn('"ecl-pagination-item" selector is deprecated; use "li[eclPaginationItem]" instead.');
70
+ }
71
+ }
47
72
  get isIconOnly() {
48
73
  return this.isPrevOrNextVisible();
49
74
  }
@@ -79,13 +104,13 @@ class EclPaginationItemComponent extends ECLBaseDirective {
79
104
  isPrevOrNextVisible() {
80
105
  return this.isPrevious || this.isNext;
81
106
  }
82
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: EclPaginationItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
83
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.5", type: EclPaginationItemComponent, isStandalone: false, selector: "ecl-pagination-item", inputs: { label: "label", ariaLabel: "ariaLabel", pagesCount: "pagesCount", isCurrent: ["isCurrent", "isCurrent", booleanAttribute], isNext: ["isNext", "isNext", booleanAttribute], isPrevious: ["isPrevious", "isPrevious", booleanAttribute], isTruncated: ["isTruncated", "isTruncated", booleanAttribute], routerLink: "routerLink", queryParams: "queryParams", queryParamsHandling: "queryParamsHandling", href: "href" }, outputs: { pageClick: "pageClick" }, host: { properties: { "class": "this.cssClasses", "attr.role": "this.role", "class.ecl-pagination__item--truncation": "this.isTruncated" } }, usesInheritance: true, ngImport: i0, template: "@if (!isCurrent && !isTruncated) {\n@if(routerLink){\n<a eclLink [isIconOnly]=\"isIconOnly\" (keydown.enter)=\"onPageClick($event)\" (click)=\"onPageClick($event)\" variant=\"standalone\"\n attr.aria-label=\"{{ ariaLabel || geti18nPageAriaLabelKey() | translate: { pageNumber: label } }}\"\n [routerLink]=\"routerLink\" [queryParams]=\"queryParams\" [queryParamsHandling]=\"queryParamsHandling\"\n class=\"ecl-pagination__link eui-ecl-u-cursor-pointer\" tabindex=\"{{tabindex ? tabindex : 0}}\">\n @if (isPrevious) {\n <ecl-icon icon=\"corner-arrow\" size=\"xs\" transform=\"rotate-270\"></ecl-icon>\n }\n <span eclLinkLabel>{{ label || geti18nPageLabelKey() | translate }}</span>\n @if (isNext) {\n <ecl-icon icon=\"corner-arrow\" size=\"xs\" transform=\"rotate-90\"></ecl-icon>\n }\n</a>\n}\n\n@if (!routerLink) {\n<a eclLink [isIconOnly]=\"isIconOnly\" (keydown.enter)=\"onPageClick($event)\" (click)=\"onPageClick($event)\" variant=\"standalone\"\n attr.aria-label=\"{{ ariaLabel || geti18nPageAriaLabelKey() | translate: { pageNumber: label } }}\" [attr.href]=\"href\"\n class=\"ecl-pagination__link eui-ecl-u-cursor-pointer\" tabindex=\"{{tabindex ? tabindex : 0}}\">\n @if (isPrevious) {\n <ecl-icon icon=\"corner-arrow\" size=\"xs\" transform=\"rotate-270\"></ecl-icon>\n }\n <span eclLinkLabel>{{ label || geti18nPageLabelKey() | translate }}</span>\n @if (isNext) {\n <ecl-icon icon=\"corner-arrow\" size=\"xs\" transform=\"rotate-90\"></ecl-icon>\n }\n</a>\n}\n}\n\n@else if (isTruncated) {\n<span class=\"ecl-pagination__text ecl-pagination__text--summary\" aria-current=\"true\">\n {{ label }}\n</span>\n}\n@else {\n<span class=\"ecl-pagination__text ecl-pagination__text--summary\" aria-current=\"true\">\n {{ label }}\n</span>\n\n<span class=\"ecl-pagination__text ecl-pagination__text--full\" aria-current=\"true\">\n {{ 'ecl.pagination.PAGE' | translate: { pageNumber: label } }}\n @if(pagesCount) {\n {{ 'ecl.common.OF' | translate}} {{pagesCount}}\n }\n</span>\n}", dependencies: [{ kind: "directive", type: i1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: i2.EclIconComponent, selector: "ecl-icon", inputs: ["iconSet", "icon", "size", "color", "transform", "ariaLabelledby", "role", "title", "ariaHidden", "focusable", "isFlipHorizontal"] }, { kind: "directive", type: i3.EclLinkDirective, selector: "[eclLink]", inputs: ["isInverted", "isIconOnly", "isNoVisited", "variant"] }, { kind: "directive", type: i3.EclLinkLabelDirective, selector: "[eclLinkLabel]" }, { kind: "pipe", type: i4.TranslatePipe, name: "translate" }], encapsulation: i0.ViewEncapsulation.None }); }
107
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: EclPaginationItemComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
108
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.5", type: EclPaginationItemComponent, isStandalone: false, selector: "ecl-pagination-item, li[eclPaginationItem]", inputs: { label: "label", ariaLabel: "ariaLabel", pagesCount: "pagesCount", isCurrent: ["isCurrent", "isCurrent", booleanAttribute], isNext: ["isNext", "isNext", booleanAttribute], isPrevious: ["isPrevious", "isPrevious", booleanAttribute], isTruncated: ["isTruncated", "isTruncated", booleanAttribute], routerLink: "routerLink", queryParams: "queryParams", queryParamsHandling: "queryParamsHandling", href: "href" }, outputs: { pageClick: "pageClick" }, host: { properties: { "class": "this.cssClasses", "attr.role": "this.role", "class.ecl-pagination__item--truncation": "this.isTruncated" } }, usesInheritance: true, ngImport: i0, template: "@if (!isCurrent && !isTruncated) {\n@if(routerLink){\n<a eclLink [isIconOnly]=\"isIconOnly\" (keydown.enter)=\"onPageClick($event)\" (click)=\"onPageClick($event)\" variant=\"standalone\"\n attr.aria-label=\"{{ ariaLabel || geti18nPageAriaLabelKey() | translate: { pageNumber: label } }}\"\n [routerLink]=\"routerLink\" [queryParams]=\"queryParams\" [queryParamsHandling]=\"queryParamsHandling\"\n class=\"ecl-pagination__link eui-ecl-u-cursor-pointer\" tabindex=\"{{tabindex ? tabindex : 0}}\">\n @if (isPrevious) {\n <ecl-icon icon=\"corner-arrow\" size=\"xs\" transform=\"rotate-270\"></ecl-icon>\n }\n <span eclLinkLabel>{{ label || geti18nPageLabelKey() | translate }}</span>\n @if (isNext) {\n <ecl-icon icon=\"corner-arrow\" size=\"xs\" transform=\"rotate-90\"></ecl-icon>\n }\n</a>\n}\n\n@if (!routerLink) {\n<a eclLink [isIconOnly]=\"isIconOnly\" (keydown.enter)=\"onPageClick($event)\" (click)=\"onPageClick($event)\" variant=\"standalone\"\n attr.aria-label=\"{{ ariaLabel || geti18nPageAriaLabelKey() | translate: { pageNumber: label } }}\" [attr.href]=\"href\"\n class=\"ecl-pagination__link eui-ecl-u-cursor-pointer\" tabindex=\"{{tabindex ? tabindex : 0}}\">\n @if (isPrevious) {\n <ecl-icon icon=\"corner-arrow\" size=\"xs\" transform=\"rotate-270\"></ecl-icon>\n }\n <span eclLinkLabel>{{ label || geti18nPageLabelKey() | translate }}</span>\n @if (isNext) {\n <ecl-icon icon=\"corner-arrow\" size=\"xs\" transform=\"rotate-90\"></ecl-icon>\n }\n</a>\n}\n}\n\n@else if (isTruncated) {\n<span class=\"ecl-pagination__text ecl-pagination__text--summary\" aria-current=\"true\">\n {{ label }}\n</span>\n}\n@else {\n<span class=\"ecl-pagination__text ecl-pagination__text--summary\" aria-current=\"true\">\n {{ label }}\n</span>\n\n<span class=\"ecl-pagination__text ecl-pagination__text--full\" aria-current=\"true\">\n {{ 'ecl.pagination.PAGE' | translate: { pageNumber: label } }}\n @if(pagesCount) {\n {{ 'ecl.common.OF' | translate}} {{pagesCount}}\n }\n</span>\n}", dependencies: [{ kind: "directive", type: i1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: i2.EclIconComponent, selector: "ecl-icon", inputs: ["iconSet", "icon", "size", "color", "transform", "ariaLabelledby", "role", "title", "ariaHidden", "focusable", "isFlipHorizontal"] }, { kind: "directive", type: i3.EclLinkDirective, selector: "[eclLink]", inputs: ["isInverted", "isIconOnly", "isNoVisited", "variant"] }, { kind: "directive", type: i3.EclLinkLabelDirective, selector: "[eclLinkLabel]" }, { kind: "pipe", type: i4.TranslatePipe, name: "translate" }], encapsulation: i0.ViewEncapsulation.None }); }
84
109
  }
85
110
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: EclPaginationItemComponent, decorators: [{
86
111
  type: Component,
87
- args: [{ selector: 'ecl-pagination-item', standalone: false, encapsulation: ViewEncapsulation.None, template: "@if (!isCurrent && !isTruncated) {\n@if(routerLink){\n<a eclLink [isIconOnly]=\"isIconOnly\" (keydown.enter)=\"onPageClick($event)\" (click)=\"onPageClick($event)\" variant=\"standalone\"\n attr.aria-label=\"{{ ariaLabel || geti18nPageAriaLabelKey() | translate: { pageNumber: label } }}\"\n [routerLink]=\"routerLink\" [queryParams]=\"queryParams\" [queryParamsHandling]=\"queryParamsHandling\"\n class=\"ecl-pagination__link eui-ecl-u-cursor-pointer\" tabindex=\"{{tabindex ? tabindex : 0}}\">\n @if (isPrevious) {\n <ecl-icon icon=\"corner-arrow\" size=\"xs\" transform=\"rotate-270\"></ecl-icon>\n }\n <span eclLinkLabel>{{ label || geti18nPageLabelKey() | translate }}</span>\n @if (isNext) {\n <ecl-icon icon=\"corner-arrow\" size=\"xs\" transform=\"rotate-90\"></ecl-icon>\n }\n</a>\n}\n\n@if (!routerLink) {\n<a eclLink [isIconOnly]=\"isIconOnly\" (keydown.enter)=\"onPageClick($event)\" (click)=\"onPageClick($event)\" variant=\"standalone\"\n attr.aria-label=\"{{ ariaLabel || geti18nPageAriaLabelKey() | translate: { pageNumber: label } }}\" [attr.href]=\"href\"\n class=\"ecl-pagination__link eui-ecl-u-cursor-pointer\" tabindex=\"{{tabindex ? tabindex : 0}}\">\n @if (isPrevious) {\n <ecl-icon icon=\"corner-arrow\" size=\"xs\" transform=\"rotate-270\"></ecl-icon>\n }\n <span eclLinkLabel>{{ label || geti18nPageLabelKey() | translate }}</span>\n @if (isNext) {\n <ecl-icon icon=\"corner-arrow\" size=\"xs\" transform=\"rotate-90\"></ecl-icon>\n }\n</a>\n}\n}\n\n@else if (isTruncated) {\n<span class=\"ecl-pagination__text ecl-pagination__text--summary\" aria-current=\"true\">\n {{ label }}\n</span>\n}\n@else {\n<span class=\"ecl-pagination__text ecl-pagination__text--summary\" aria-current=\"true\">\n {{ label }}\n</span>\n\n<span class=\"ecl-pagination__text ecl-pagination__text--full\" aria-current=\"true\">\n {{ 'ecl.pagination.PAGE' | translate: { pageNumber: label } }}\n @if(pagesCount) {\n {{ 'ecl.common.OF' | translate}} {{pagesCount}}\n }\n</span>\n}" }]
88
- }], propDecorators: { cssClasses: [{
112
+ args: [{ selector: 'ecl-pagination-item, li[eclPaginationItem]', standalone: false, encapsulation: ViewEncapsulation.None, template: "@if (!isCurrent && !isTruncated) {\n@if(routerLink){\n<a eclLink [isIconOnly]=\"isIconOnly\" (keydown.enter)=\"onPageClick($event)\" (click)=\"onPageClick($event)\" variant=\"standalone\"\n attr.aria-label=\"{{ ariaLabel || geti18nPageAriaLabelKey() | translate: { pageNumber: label } }}\"\n [routerLink]=\"routerLink\" [queryParams]=\"queryParams\" [queryParamsHandling]=\"queryParamsHandling\"\n class=\"ecl-pagination__link eui-ecl-u-cursor-pointer\" tabindex=\"{{tabindex ? tabindex : 0}}\">\n @if (isPrevious) {\n <ecl-icon icon=\"corner-arrow\" size=\"xs\" transform=\"rotate-270\"></ecl-icon>\n }\n <span eclLinkLabel>{{ label || geti18nPageLabelKey() | translate }}</span>\n @if (isNext) {\n <ecl-icon icon=\"corner-arrow\" size=\"xs\" transform=\"rotate-90\"></ecl-icon>\n }\n</a>\n}\n\n@if (!routerLink) {\n<a eclLink [isIconOnly]=\"isIconOnly\" (keydown.enter)=\"onPageClick($event)\" (click)=\"onPageClick($event)\" variant=\"standalone\"\n attr.aria-label=\"{{ ariaLabel || geti18nPageAriaLabelKey() | translate: { pageNumber: label } }}\" [attr.href]=\"href\"\n class=\"ecl-pagination__link eui-ecl-u-cursor-pointer\" tabindex=\"{{tabindex ? tabindex : 0}}\">\n @if (isPrevious) {\n <ecl-icon icon=\"corner-arrow\" size=\"xs\" transform=\"rotate-270\"></ecl-icon>\n }\n <span eclLinkLabel>{{ label || geti18nPageLabelKey() | translate }}</span>\n @if (isNext) {\n <ecl-icon icon=\"corner-arrow\" size=\"xs\" transform=\"rotate-90\"></ecl-icon>\n }\n</a>\n}\n}\n\n@else if (isTruncated) {\n<span class=\"ecl-pagination__text ecl-pagination__text--summary\" aria-current=\"true\">\n {{ label }}\n</span>\n}\n@else {\n<span class=\"ecl-pagination__text ecl-pagination__text--summary\" aria-current=\"true\">\n {{ label }}\n</span>\n\n<span class=\"ecl-pagination__text ecl-pagination__text--full\" aria-current=\"true\">\n {{ 'ecl.pagination.PAGE' | translate: { pageNumber: label } }}\n @if(pagesCount) {\n {{ 'ecl.common.OF' | translate}} {{pagesCount}}\n }\n</span>\n}" }]
113
+ }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { cssClasses: [{
89
114
  type: HostBinding,
90
115
  args: ['class']
91
116
  }], role: [{
@@ -154,6 +179,9 @@ class EclPaginationComponent extends ECLBaseDirective {
154
179
  });
155
180
  }
156
181
  }
182
+ get hasList() {
183
+ return !!this.eclPaginationList;
184
+ }
157
185
  onPreviousPage() {
158
186
  this.model.goToPreviousPage();
159
187
  this.firePageEvent();
@@ -174,11 +202,11 @@ class EclPaginationComponent extends ECLBaseDirective {
174
202
  this.page.next(evt);
175
203
  }
176
204
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: EclPaginationComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
177
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.5", type: EclPaginationComponent, isStandalone: false, selector: "ecl-pagination", inputs: { mode: "mode", totalItems: ["totalItems", "totalItems", numberAttribute], pageSize: ["pageSize", "pageSize", numberAttribute], currentPage: ["currentPage", "currentPage", numberAttribute], pageWindowSize: ["pageWindowSize", "pageWindowSize", numberAttribute] }, outputs: { page: "page" }, host: { properties: { "class.ecl-pagination": "this.cmpClass", "attr.role": "this.role" } }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<ul class=\"ecl-pagination__list\">\n @if (isModeAuto()){\n @if(model.hasPreviousPage()){\n <ecl-pagination-item [isPrevious]=\"true\" (pageClick)=\"onPreviousPage()\"> </ecl-pagination-item>\n }\n @for (page of model.getPages(); track page) {\n <ecl-pagination-item\n [label]=\"page.toString()\"\n [isCurrent]=\"model.getCurrentPage() === page\"\n (pageClick)=\"onPage(page)\"\n [pagesCount]=\"model.getPagesCount().toString()\"\n >\n </ecl-pagination-item>\n }\n\n @if(model.hasNextPage()){\n <ecl-pagination-item [isNext]=\"true\" (pageClick)=\"onNextPage()\"> </ecl-pagination-item>\n }\n }\n\n @if(!isModeAuto()){\n <ng-content></ng-content>\n }\n</ul>\n", styles: [":host{display:block}\n"], dependencies: [{ kind: "component", type: EclPaginationItemComponent, selector: "ecl-pagination-item", inputs: ["label", "ariaLabel", "pagesCount", "isCurrent", "isNext", "isPrevious", "isTruncated", "routerLink", "queryParams", "queryParamsHandling", "href"], outputs: ["pageClick"] }] }); }
205
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.5", type: EclPaginationComponent, isStandalone: false, selector: "ecl-pagination", inputs: { mode: "mode", totalItems: ["totalItems", "totalItems", numberAttribute], pageSize: ["pageSize", "pageSize", numberAttribute], currentPage: ["currentPage", "currentPage", numberAttribute], pageWindowSize: ["pageWindowSize", "pageWindowSize", numberAttribute] }, outputs: { page: "page" }, host: { properties: { "class.ecl-pagination": "this.cmpClass", "attr.role": "this.role" } }, queries: [{ propertyName: "eclPaginationList", first: true, predicate: EclPaginationListDirective, descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "@if(!hasList) {\n <ul class=\"ecl-pagination__list\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </ul>\n } @else {\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n }\n \n <ng-template #content>\n @if (isModeAuto()){\n @if(model.hasPreviousPage()){\n <li eclPaginationItem [isPrevious]=\"true\" (pageClick)=\"onPreviousPage()\"> </li>\n }\n @for (page of model.getPages(); track page) {\n <li eclPaginationItem\n [label]=\"page.toString()\"\n [isCurrent]=\"model.getCurrentPage() === page\"\n (pageClick)=\"onPage(page)\"\n [pagesCount]=\"model.getPagesCount().toString()\">\n </li>\n }\n \n @if(model.hasNextPage()){\n <li eclPaginationItem [isNext]=\"true\" (pageClick)=\"onNextPage()\"> </li>\n }\n }\n \n @if(!isModeAuto()) {\n <ng-content></ng-content>\n }\n </ng-template>", styles: [":host{display:block}\n"], dependencies: [{ kind: "directive", type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: EclPaginationItemComponent, selector: "ecl-pagination-item, li[eclPaginationItem]", inputs: ["label", "ariaLabel", "pagesCount", "isCurrent", "isNext", "isPrevious", "isTruncated", "routerLink", "queryParams", "queryParamsHandling", "href"], outputs: ["pageClick"] }] }); }
178
206
  }
179
207
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: EclPaginationComponent, decorators: [{
180
208
  type: Component,
181
- args: [{ selector: 'ecl-pagination', standalone: false, template: "<ul class=\"ecl-pagination__list\">\n @if (isModeAuto()){\n @if(model.hasPreviousPage()){\n <ecl-pagination-item [isPrevious]=\"true\" (pageClick)=\"onPreviousPage()\"> </ecl-pagination-item>\n }\n @for (page of model.getPages(); track page) {\n <ecl-pagination-item\n [label]=\"page.toString()\"\n [isCurrent]=\"model.getCurrentPage() === page\"\n (pageClick)=\"onPage(page)\"\n [pagesCount]=\"model.getPagesCount().toString()\"\n >\n </ecl-pagination-item>\n }\n\n @if(model.hasNextPage()){\n <ecl-pagination-item [isNext]=\"true\" (pageClick)=\"onNextPage()\"> </ecl-pagination-item>\n }\n }\n\n @if(!isModeAuto()){\n <ng-content></ng-content>\n }\n</ul>\n", styles: [":host{display:block}\n"] }]
209
+ args: [{ selector: 'ecl-pagination', standalone: false, template: "@if(!hasList) {\n <ul class=\"ecl-pagination__list\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </ul>\n } @else {\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n }\n \n <ng-template #content>\n @if (isModeAuto()){\n @if(model.hasPreviousPage()){\n <li eclPaginationItem [isPrevious]=\"true\" (pageClick)=\"onPreviousPage()\"> </li>\n }\n @for (page of model.getPages(); track page) {\n <li eclPaginationItem\n [label]=\"page.toString()\"\n [isCurrent]=\"model.getCurrentPage() === page\"\n (pageClick)=\"onPage(page)\"\n [pagesCount]=\"model.getPagesCount().toString()\">\n </li>\n }\n \n @if(model.hasNextPage()){\n <li eclPaginationItem [isNext]=\"true\" (pageClick)=\"onNextPage()\"> </li>\n }\n }\n \n @if(!isModeAuto()) {\n <ng-content></ng-content>\n }\n </ng-template>", styles: [":host{display:block}\n"] }]
182
210
  }], propDecorators: { mode: [{
183
211
  type: Input
184
212
  }], totalItems: [{
@@ -201,19 +229,23 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImpor
201
229
  }], role: [{
202
230
  type: HostBinding,
203
231
  args: ['attr.role']
232
+ }], eclPaginationList: [{
233
+ type: ContentChild,
234
+ args: [EclPaginationListDirective]
204
235
  }] } });
205
236
 
237
+ const COMPONENTS = [EclPaginationComponent, EclPaginationItemComponent, EclPaginationListDirective];
206
238
  class EclPaginationModule {
207
239
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: EclPaginationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
208
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.5", ngImport: i0, type: EclPaginationModule, declarations: [EclPaginationComponent, EclPaginationItemComponent], imports: [CommonModule, RouterModule, EclIconModule, EclLinkModule, TranslateModule], exports: [EclPaginationComponent, EclPaginationItemComponent] }); }
240
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.5", ngImport: i0, type: EclPaginationModule, declarations: [EclPaginationComponent, EclPaginationItemComponent, EclPaginationListDirective], imports: [CommonModule, RouterModule, EclIconModule, EclLinkModule, TranslateModule], exports: [EclPaginationComponent, EclPaginationItemComponent, EclPaginationListDirective] }); }
209
241
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: EclPaginationModule, imports: [CommonModule, RouterModule, EclIconModule, EclLinkModule, TranslateModule] }); }
210
242
  }
211
243
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: EclPaginationModule, decorators: [{
212
244
  type: NgModule,
213
245
  args: [{
214
246
  imports: [CommonModule, RouterModule, EclIconModule, EclLinkModule, TranslateModule],
215
- exports: [EclPaginationComponent, EclPaginationItemComponent],
216
- declarations: [EclPaginationComponent, EclPaginationItemComponent],
247
+ exports: [...COMPONENTS],
248
+ declarations: [...COMPONENTS],
217
249
  }]
218
250
  }] });
219
251
 
@@ -221,5 +253,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImpor
221
253
  * Generated bundle index. Do not edit.
222
254
  */
223
255
 
224
- export { EclPaginationComponent, EclPaginationEvent, EclPaginationItemClickEvent, EclPaginationItemComponent, EclPaginationModule };
256
+ export { EclPaginationComponent, EclPaginationEvent, EclPaginationItemClickEvent, EclPaginationItemComponent, EclPaginationListDirective, EclPaginationModule };
225
257
  //# sourceMappingURL=eui-ecl-components-ecl-pagination.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"eui-ecl-components-ecl-pagination.mjs","sources":["../../components/ecl-pagination/events/ecl-pagination.event.ts","../../components/ecl-pagination/ecl-pagination-item.component.ts","../../components/ecl-pagination/ecl-pagination-item.component.html","../../components/ecl-pagination/ecl-pagination.component.ts","../../components/ecl-pagination/ecl-pagination.component.html","../../components/ecl-pagination/ecl-pagination.module.ts","../../components/ecl-pagination/eui-ecl-components-ecl-pagination.ts"],"sourcesContent":["import { EclBaseEvent } from '@eui/ecl/core';\n\nexport class EclPaginationEvent extends EclBaseEvent {\n constructor(\n public readonly page: number,\n public readonly showingFrom: number,\n public readonly showingTo: number,\n ) {\n super();\n }\n}","import { Component, EventEmitter, HostBinding, Input, Output, ViewEncapsulation, booleanAttribute } from '@angular/core';\nimport { Params, QueryParamsHandling } from '@angular/router';\nimport { EclBaseEvent } from '@eui/ecl/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\nexport class EclPaginationItemClickEvent extends EclBaseEvent {}\n\n@Component({\n selector: 'ecl-pagination-item',\n templateUrl: './ecl-pagination-item.component.html',\n standalone: false,\n encapsulation: ViewEncapsulation.None,\n})\nexport class EclPaginationItemComponent extends ECLBaseDirective {\n @HostBinding('class')\n get cssClasses(): string {\n return [\n super.getCssClasses('ecl-pagination__item'),\n this.isCurrent ? 'ecl-pagination__item--current' : '',\n this.isNext ? 'ecl-pagination__item--next' : '',\n this.isPrevious ? 'ecl-pagination__item--previous' : '',\n ]\n .join(' ')\n .trim();\n }\n @HostBinding('attr.role') role = 'listitem';\n\n @Input() label: string;\n @Input() ariaLabel: string;\n @Input() pagesCount: string;\n @Input({ transform: booleanAttribute }) isCurrent: boolean;\n @Input({ transform: booleanAttribute }) isNext: boolean;\n @Input({ transform: booleanAttribute }) isPrevious: boolean;\n @Input({ transform: booleanAttribute }) @HostBinding('class.ecl-pagination__item--truncation') isTruncated = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n @Input() routerLink: string | any[] = null;\n @Input() queryParams: Params | null = null;\n @Input() queryParamsHandling: QueryParamsHandling = null;\n @Input() href: string;\n\n @Output() pageClick = new EventEmitter<EclPaginationItemClickEvent>();\n\n get isIconOnly(): boolean {\n return this.isPrevOrNextVisible();\n }\n\n onPageClick(evt: Event): void {\n this.pageClick.next(new EclPaginationItemClickEvent());\n if (!this.href) {\n evt.stopPropagation();\n }\n }\n\n geti18nPageAriaLabelKey(): string {\n let key = '';\n\n if (this.isNext) {\n key = 'ecl.pagination.GO-TO-NEXT-PAGE';\n } else if (this.isPrevious) {\n key = 'ecl.pagination.GO-TO-PREV-PAGE';\n } else {\n key = 'ecl.pagination.GO-TO-PAGE';\n }\n return key;\n }\n\n geti18nPageLabelKey(): string {\n let key = '';\n\n if (this.isNext) {\n key = 'ecl.pagination.NEXT';\n } else if (this.isPrevious) {\n key = 'ecl.pagination.PREVIOUS';\n }\n return key;\n }\n\n isPrevOrNextVisible(): boolean {\n return this.isPrevious || this.isNext;\n }\n}\n","@if (!isCurrent && !isTruncated) {\n@if(routerLink){\n<a eclLink [isIconOnly]=\"isIconOnly\" (keydown.enter)=\"onPageClick($event)\" (click)=\"onPageClick($event)\" variant=\"standalone\"\n attr.aria-label=\"{{ ariaLabel || geti18nPageAriaLabelKey() | translate: { pageNumber: label } }}\"\n [routerLink]=\"routerLink\" [queryParams]=\"queryParams\" [queryParamsHandling]=\"queryParamsHandling\"\n class=\"ecl-pagination__link eui-ecl-u-cursor-pointer\" tabindex=\"{{tabindex ? tabindex : 0}}\">\n @if (isPrevious) {\n <ecl-icon icon=\"corner-arrow\" size=\"xs\" transform=\"rotate-270\"></ecl-icon>\n }\n <span eclLinkLabel>{{ label || geti18nPageLabelKey() | translate }}</span>\n @if (isNext) {\n <ecl-icon icon=\"corner-arrow\" size=\"xs\" transform=\"rotate-90\"></ecl-icon>\n }\n</a>\n}\n\n@if (!routerLink) {\n<a eclLink [isIconOnly]=\"isIconOnly\" (keydown.enter)=\"onPageClick($event)\" (click)=\"onPageClick($event)\" variant=\"standalone\"\n attr.aria-label=\"{{ ariaLabel || geti18nPageAriaLabelKey() | translate: { pageNumber: label } }}\" [attr.href]=\"href\"\n class=\"ecl-pagination__link eui-ecl-u-cursor-pointer\" tabindex=\"{{tabindex ? tabindex : 0}}\">\n @if (isPrevious) {\n <ecl-icon icon=\"corner-arrow\" size=\"xs\" transform=\"rotate-270\"></ecl-icon>\n }\n <span eclLinkLabel>{{ label || geti18nPageLabelKey() | translate }}</span>\n @if (isNext) {\n <ecl-icon icon=\"corner-arrow\" size=\"xs\" transform=\"rotate-90\"></ecl-icon>\n }\n</a>\n}\n}\n\n@else if (isTruncated) {\n<span class=\"ecl-pagination__text ecl-pagination__text--summary\" aria-current=\"true\">\n {{ label }}\n</span>\n}\n@else {\n<span class=\"ecl-pagination__text ecl-pagination__text--summary\" aria-current=\"true\">\n {{ label }}\n</span>\n\n<span class=\"ecl-pagination__text ecl-pagination__text--full\" aria-current=\"true\">\n {{ 'ecl.pagination.PAGE' | translate: { pageNumber: label } }}\n @if(pagesCount) {\n {{ 'ecl.common.OF' | translate}} {{pagesCount}}\n }\n</span>\n}","import { Component, EventEmitter, HostBinding, Input, OnChanges, OnInit, Output, numberAttribute } from '@angular/core';\nimport { DefaultConfig, EuiPagination } from '@eui/base';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclPaginationEvent } from './events/ecl-pagination.event';\n\n@Component({\n selector: 'ecl-pagination',\n templateUrl: './ecl-pagination.component.html',\n standalone: false,\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n})\nexport class EclPaginationComponent extends ECLBaseDirective implements OnInit, OnChanges {\n @Input() mode: 'manual' | 'auto' = 'manual';\n @Input({ transform: numberAttribute }) totalItems: number = DefaultConfig.totalItems;\n @Input({ transform: numberAttribute }) pageSize: number = DefaultConfig.pageSize;\n @Input({ transform: numberAttribute }) currentPage: number = DefaultConfig.currentPage;\n @Input({ transform: numberAttribute }) pageWindowSize: number = DefaultConfig.pageWindowSize;\n\n @Output() page = new EventEmitter<EclPaginationEvent>();\n\n @HostBinding('class.ecl-pagination') cmpClass = true;\n @HostBinding('attr.role') role = 'navigation';\n\n public model = EuiPagination.create();\n\n ngOnInit(): void {\n if (this.isModeAuto()) {\n setTimeout(() => {\n this.firePageEvent();\n });\n }\n }\n\n ngOnChanges(): void {\n if (this.isModeAuto()) {\n this.model = EuiPagination.create({\n totalItems: this.totalItems,\n pageSize: this.pageSize,\n currentPage: this.currentPage,\n pageWindowSize: this.pageWindowSize,\n });\n }\n }\n\n onPreviousPage(): void {\n this.model.goToPreviousPage();\n this.firePageEvent();\n }\n\n onNextPage(): void {\n this.model.goToNextPage();\n this.firePageEvent();\n }\n\n onPage(page: number): void {\n this.model.goToPage(page);\n this.firePageEvent();\n }\n\n isModeAuto(): boolean {\n return this.mode === 'auto';\n }\n\n private firePageEvent(): void {\n const evt = new EclPaginationEvent(this.model.getCurrentPage(), this.model.getShowingFrom(), this.model.getShowingTo());\n\n this.page.next(evt);\n }\n}\n","<ul class=\"ecl-pagination__list\">\n @if (isModeAuto()){\n @if(model.hasPreviousPage()){\n <ecl-pagination-item [isPrevious]=\"true\" (pageClick)=\"onPreviousPage()\"> </ecl-pagination-item>\n }\n @for (page of model.getPages(); track page) {\n <ecl-pagination-item\n [label]=\"page.toString()\"\n [isCurrent]=\"model.getCurrentPage() === page\"\n (pageClick)=\"onPage(page)\"\n [pagesCount]=\"model.getPagesCount().toString()\"\n >\n </ecl-pagination-item>\n }\n\n @if(model.hasNextPage()){\n <ecl-pagination-item [isNext]=\"true\" (pageClick)=\"onNextPage()\"> </ecl-pagination-item>\n }\n }\n\n @if(!isModeAuto()){\n <ng-content></ng-content>\n }\n</ul>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { RouterModule } from '@angular/router';\nimport { EclIconModule } from '@eui/ecl/components/ecl-icon';\nimport { EclLinkModule } from '@eui/ecl/components/ecl-link';\nimport { EclPaginationComponent } from './ecl-pagination.component';\nimport { EclPaginationItemComponent } from './ecl-pagination-item.component';\nimport { TranslateModule } from '@ngx-translate/core';\n\n@NgModule({\n imports: [CommonModule, RouterModule, EclIconModule, EclLinkModule, TranslateModule],\n exports: [EclPaginationComponent, EclPaginationItemComponent],\n declarations: [EclPaginationComponent, EclPaginationItemComponent],\n})\nexport class EclPaginationModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.EclPaginationItemComponent"],"mappings":";;;;;;;;;;;;;;AAEM,MAAO,kBAAmB,SAAQ,YAAY,CAAA;AAChD,IAAA,WAAA,CACoB,IAAY,EACZ,WAAmB,EACnB,SAAiB,EAAA;AAEjC,QAAA,KAAK,EAAE;QAJS,IAAI,CAAA,IAAA,GAAJ,IAAI;QACJ,IAAW,CAAA,WAAA,GAAX,WAAW;QACX,IAAS,CAAA,SAAA,GAAT,SAAS;;AAIh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,EAAA,CAAA;sBAAb;gBAEoC,QAAQ,EAAA,CAAA;sBAA5C,WAAW;uBAAC,sBAAsB;gBACT,IAAI,EAAA,CAAA;sBAA7B,WAAW;uBAAC,WAAW;;;MEbf,mBAAmB,CAAA;8GAAnB,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAnB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,iBAFb,sBAAsB,EAAE,0BAA0B,CAAA,EAAA,OAAA,EAAA,CAFvD,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,eAAe,CACzE,EAAA,OAAA,EAAA,CAAA,sBAAsB,EAAE,0BAA0B,CAAA,EAAA,CAAA,CAAA;+GAGnD,mBAAmB,EAAA,OAAA,EAAA,CAJlB,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,eAAe,CAAA,EAAA,CAAA,CAAA;;2FAI1E,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAL/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,eAAe,CAAC;AACpF,oBAAA,OAAO,EAAE,CAAC,sBAAsB,EAAE,0BAA0B,CAAC;AAC7D,oBAAA,YAAY,EAAE,CAAC,sBAAsB,EAAE,0BAA0B,CAAC;AACrE,iBAAA;;;ACbD;;AAEG;;;;"}
1
+ {"version":3,"file":"eui-ecl-components-ecl-pagination.mjs","sources":["../../components/ecl-pagination/events/ecl-pagination.event.ts","../../components/ecl-pagination/ecl-pagination-list.directive.ts","../../components/ecl-pagination/ecl-pagination-item.component.ts","../../components/ecl-pagination/ecl-pagination-item.component.html","../../components/ecl-pagination/ecl-pagination.component.ts","../../components/ecl-pagination/ecl-pagination.component.html","../../components/ecl-pagination/ecl-pagination.module.ts","../../components/ecl-pagination/eui-ecl-components-ecl-pagination.ts"],"sourcesContent":["import { EclBaseEvent } from '@eui/ecl/core';\n\nexport class EclPaginationEvent extends EclBaseEvent {\n constructor(\n public readonly page: number,\n public readonly showingFrom: number,\n public readonly showingTo: number,\n ) {\n super();\n }\n}","import { Directive, HostBinding } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n@Directive({\n selector: '[eclPaginationList]',\n standalone: false,\n})\nexport class EclPaginationListDirective extends ECLBaseDirective {\n @HostBinding('class.ecl-pagination__list') hasClass = true;\n}","import { Component, ElementRef, EventEmitter, HostBinding, Input, Output, ViewEncapsulation, booleanAttribute } from '@angular/core';\nimport { Params, QueryParamsHandling } from '@angular/router';\nimport { EclBaseEvent } from '@eui/ecl/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\nexport class EclPaginationItemClickEvent extends EclBaseEvent {}\n\n// TODO: ecl-pagination-item selector is deprecated and should be removed in v20\n@Component({\n selector: 'ecl-pagination-item, li[eclPaginationItem]',\n templateUrl: './ecl-pagination-item.component.html',\n standalone: false,\n encapsulation: ViewEncapsulation.None,\n})\nexport class EclPaginationItemComponent extends ECLBaseDirective {\n @HostBinding('class')\n get cssClasses(): string {\n return [\n super.getCssClasses('ecl-pagination__item'),\n this.isCurrent ? 'ecl-pagination__item--current' : '',\n this.isNext ? 'ecl-pagination__item--next' : '',\n this.isPrevious ? 'ecl-pagination__item--previous' : '',\n ]\n .join(' ')\n .trim();\n }\n @HostBinding('attr.role') role = 'listitem';\n\n @Input() label: string;\n @Input() ariaLabel: string;\n @Input() pagesCount: string;\n @Input({ transform: booleanAttribute }) isCurrent: boolean;\n @Input({ transform: booleanAttribute }) isNext: boolean;\n @Input({ transform: booleanAttribute }) isPrevious: boolean;\n @Input({ transform: booleanAttribute }) @HostBinding('class.ecl-pagination__item--truncation') isTruncated = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n @Input() routerLink: string | any[] = null;\n @Input() queryParams: Params | null = null;\n @Input() queryParamsHandling: QueryParamsHandling = null;\n @Input() href: string;\n\n @Output() pageClick = new EventEmitter<EclPaginationItemClickEvent>();\n\n constructor(public el: ElementRef) {\n super();\n if (el.nativeElement.tagName.toLowerCase() === 'ecl-pagination-item') {\n console.warn('\"ecl-pagination-item\" selector is deprecated; use \"li[eclPaginationItem]\" instead.');\n }\n }\n\n get isIconOnly(): boolean {\n return this.isPrevOrNextVisible();\n }\n\n onPageClick(evt: Event): void {\n this.pageClick.next(new EclPaginationItemClickEvent());\n if (!this.href) {\n evt.stopPropagation();\n }\n }\n\n geti18nPageAriaLabelKey(): string {\n let key = '';\n\n if (this.isNext) {\n key = 'ecl.pagination.GO-TO-NEXT-PAGE';\n } else if (this.isPrevious) {\n key = 'ecl.pagination.GO-TO-PREV-PAGE';\n } else {\n key = 'ecl.pagination.GO-TO-PAGE';\n }\n return key;\n }\n\n geti18nPageLabelKey(): string {\n let key = '';\n\n if (this.isNext) {\n key = 'ecl.pagination.NEXT';\n } else if (this.isPrevious) {\n key = 'ecl.pagination.PREVIOUS';\n }\n return key;\n }\n\n isPrevOrNextVisible(): boolean {\n return this.isPrevious || this.isNext;\n }\n}\n","@if (!isCurrent && !isTruncated) {\n@if(routerLink){\n<a eclLink [isIconOnly]=\"isIconOnly\" (keydown.enter)=\"onPageClick($event)\" (click)=\"onPageClick($event)\" variant=\"standalone\"\n attr.aria-label=\"{{ ariaLabel || geti18nPageAriaLabelKey() | translate: { pageNumber: label } }}\"\n [routerLink]=\"routerLink\" [queryParams]=\"queryParams\" [queryParamsHandling]=\"queryParamsHandling\"\n class=\"ecl-pagination__link eui-ecl-u-cursor-pointer\" tabindex=\"{{tabindex ? tabindex : 0}}\">\n @if (isPrevious) {\n <ecl-icon icon=\"corner-arrow\" size=\"xs\" transform=\"rotate-270\"></ecl-icon>\n }\n <span eclLinkLabel>{{ label || geti18nPageLabelKey() | translate }}</span>\n @if (isNext) {\n <ecl-icon icon=\"corner-arrow\" size=\"xs\" transform=\"rotate-90\"></ecl-icon>\n }\n</a>\n}\n\n@if (!routerLink) {\n<a eclLink [isIconOnly]=\"isIconOnly\" (keydown.enter)=\"onPageClick($event)\" (click)=\"onPageClick($event)\" variant=\"standalone\"\n attr.aria-label=\"{{ ariaLabel || geti18nPageAriaLabelKey() | translate: { pageNumber: label } }}\" [attr.href]=\"href\"\n class=\"ecl-pagination__link eui-ecl-u-cursor-pointer\" tabindex=\"{{tabindex ? tabindex : 0}}\">\n @if (isPrevious) {\n <ecl-icon icon=\"corner-arrow\" size=\"xs\" transform=\"rotate-270\"></ecl-icon>\n }\n <span eclLinkLabel>{{ label || geti18nPageLabelKey() | translate }}</span>\n @if (isNext) {\n <ecl-icon icon=\"corner-arrow\" size=\"xs\" transform=\"rotate-90\"></ecl-icon>\n }\n</a>\n}\n}\n\n@else if (isTruncated) {\n<span class=\"ecl-pagination__text ecl-pagination__text--summary\" aria-current=\"true\">\n {{ label }}\n</span>\n}\n@else {\n<span class=\"ecl-pagination__text ecl-pagination__text--summary\" aria-current=\"true\">\n {{ label }}\n</span>\n\n<span class=\"ecl-pagination__text ecl-pagination__text--full\" aria-current=\"true\">\n {{ 'ecl.pagination.PAGE' | translate: { pageNumber: label } }}\n @if(pagesCount) {\n {{ 'ecl.common.OF' | translate}} {{pagesCount}}\n }\n</span>\n}","import { Component, ContentChild, EventEmitter, HostBinding, Input, OnChanges, OnInit, Output, numberAttribute } from '@angular/core';\nimport { DefaultConfig, EuiPagination } from '@eui/base';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclPaginationEvent } from './events/ecl-pagination.event';\nimport { EclPaginationListDirective } from './ecl-pagination-list.directive';\n\n@Component({\n selector: 'ecl-pagination',\n templateUrl: './ecl-pagination.component.html',\n standalone: false,\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n})\nexport class EclPaginationComponent extends ECLBaseDirective implements OnInit, OnChanges {\n @Input() mode: 'manual' | 'auto' = 'manual';\n @Input({ transform: numberAttribute }) totalItems: number = DefaultConfig.totalItems;\n @Input({ transform: numberAttribute }) pageSize: number = DefaultConfig.pageSize;\n @Input({ transform: numberAttribute }) currentPage: number = DefaultConfig.currentPage;\n @Input({ transform: numberAttribute }) pageWindowSize: number = DefaultConfig.pageWindowSize;\n\n @Output() page = new EventEmitter<EclPaginationEvent>();\n\n @HostBinding('class.ecl-pagination') cmpClass = true;\n @HostBinding('attr.role') role = 'navigation';\n\n @ContentChild(EclPaginationListDirective) eclPaginationList: EclPaginationListDirective;\n\n public model = EuiPagination.create();\n\n ngOnInit(): void {\n if (this.isModeAuto()) {\n setTimeout(() => {\n this.firePageEvent();\n });\n }\n }\n\n ngOnChanges(): void {\n if (this.isModeAuto()) {\n this.model = EuiPagination.create({\n totalItems: this.totalItems,\n pageSize: this.pageSize,\n currentPage: this.currentPage,\n pageWindowSize: this.pageWindowSize,\n });\n }\n }\n\n get hasList(): boolean {\n return !!this.eclPaginationList;\n }\n \n onPreviousPage(): void {\n this.model.goToPreviousPage();\n this.firePageEvent();\n }\n\n onNextPage(): void {\n this.model.goToNextPage();\n this.firePageEvent();\n }\n\n onPage(page: number): void {\n this.model.goToPage(page);\n this.firePageEvent();\n }\n\n isModeAuto(): boolean {\n return this.mode === 'auto';\n }\n\n private firePageEvent(): void {\n const evt = new EclPaginationEvent(this.model.getCurrentPage(), this.model.getShowingFrom(), this.model.getShowingTo());\n\n this.page.next(evt);\n }\n}\n","@if(!hasList) {\n <ul class=\"ecl-pagination__list\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n </ul>\n } @else {\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n }\n \n <ng-template #content>\n @if (isModeAuto()){\n @if(model.hasPreviousPage()){\n <li eclPaginationItem [isPrevious]=\"true\" (pageClick)=\"onPreviousPage()\"> </li>\n }\n @for (page of model.getPages(); track page) {\n <li eclPaginationItem\n [label]=\"page.toString()\"\n [isCurrent]=\"model.getCurrentPage() === page\"\n (pageClick)=\"onPage(page)\"\n [pagesCount]=\"model.getPagesCount().toString()\">\n </li>\n }\n \n @if(model.hasNextPage()){\n <li eclPaginationItem [isNext]=\"true\" (pageClick)=\"onNextPage()\"> </li>\n }\n }\n \n @if(!isModeAuto()) {\n <ng-content></ng-content>\n }\n </ng-template>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { RouterModule } from '@angular/router';\nimport { EclIconModule } from '@eui/ecl/components/ecl-icon';\nimport { EclLinkModule } from '@eui/ecl/components/ecl-link';\nimport { EclPaginationComponent } from './ecl-pagination.component';\nimport { EclPaginationItemComponent } from './ecl-pagination-item.component';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { EclPaginationListDirective } from './ecl-pagination-list.directive';\n\nconst COMPONENTS = [EclPaginationComponent, EclPaginationItemComponent, EclPaginationListDirective];\n@NgModule({\n imports: [CommonModule, RouterModule, EclIconModule, EclLinkModule, TranslateModule],\n exports: [...COMPONENTS],\n declarations: [...COMPONENTS],\n})\nexport class EclPaginationModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1","i2.EclPaginationItemComponent"],"mappings":";;;;;;;;;;;;;;;AAEM,MAAO,kBAAmB,SAAQ,YAAY,CAAA;AAChD,IAAA,WAAA,CACoB,IAAY,EACZ,WAAmB,EACnB,SAAiB,EAAA;AAEjC,QAAA,KAAK,EAAE;QAJS,IAAI,CAAA,IAAA,GAAJ,IAAI;QACJ,IAAW,CAAA,WAAA,GAAX,WAAW;QACX,IAAS,CAAA,SAAA,GAAT,SAAS;;AAIhC;;ACHK,MAAO,0BAA2B,SAAQ,gBAAgB,CAAA;AAJhE,IAAA,WAAA,GAAA;;QAK+C,IAAQ,CAAA,QAAA,GAAG,IAAI;AAC7D;8GAFY,0BAA0B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,E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AsB;gBACT,IAAI,EAAA,CAAA;sBAA7B,WAAW;uBAAC,WAAW;gBAEkB,iBAAiB,EAAA,CAAA;sBAA1D,YAAY;uBAAC,0BAA0B;;;AEpB5C,MAAM,UAAU,GAAG,CAAC,sBAAsB,EAAE,0BAA0B,EAAE,0BAA0B,CAAC;MAMtF,mBAAmB,CAAA;8GAAnB,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAAnB,mBAAmB,EAAA,YAAA,EAAA,CANZ,sBAAsB,EAAE,0BAA0B,EAAE,0BAA0B,CAAA,EAAA,OAAA,EAAA,CAEpF,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,eAAe,aAFnE,sBAAsB,EAAE,0BAA0B,EAAE,0BAA0B,CAAA,EAAA,CAAA,CAAA;+GAMrF,mBAAmB,EAAA,OAAA,EAAA,CAJlB,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,eAAe,CAAA,EAAA,CAAA,CAAA;;2FAI1E,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAL/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,eAAe,CAAC;AACpF,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AACxB,oBAAA,YAAY,EAAE,CAAC,GAAG,UAAU,CAAC;AAChC,iBAAA;;;ACfD;;AAEG;;;;"}
@@ -492,7 +492,7 @@ class EclSiteHeaderLanguageComponent extends ECLBaseDirective {
492
492
  });
493
493
  }
494
494
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: EclSiteHeaderLanguageComponent, deps: [{ token: EclAreaDataService }, { token: i2.EclRtlService }, { token: i2.EclThemeService }, { token: GLOBAL_CONFIG_TOKEN, optional: true }, { token: i3$1.I18nService }], target: i0.ɵɵFactoryTarget.Component }); }
495
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.5", type: EclSiteHeaderLanguageComponent, isStandalone: false, selector: "ecl-site-header-language", outputs: { languageClick: "languageClick", languageSelected: "languageSelected" }, host: { listeners: { "eclClickOutside": "onClickOutside()", "document:keydown.escape": "onEscapeKeydownHandler()" }, properties: { "class": "this.cssClasses" } }, viewQueries: [{ propertyName: "languagePopover", first: true, predicate: EclSiteHeaderLanguagePopoverComponent, descendants: true }, { propertyName: "languageLinkElement", first: true, predicate: ["languageLink"], descendants: true, read: ElementRef }], usesInheritance: true, hostDirectives: [{ directive: i2.ECLClickOutsideDirective, outputs: ["eclClickOutside", "eclClickOutside"] }], ngImport: i0, template: "<a\n href=\"#\"\n #languageLink\n class=\"ecl-button ecl-button--tertiary ecl-site-header__language-selector\"\n aria-controls=\"language-list-overlay\"\n role=\"button\"\n [attr.aria-label]=\"'ecl.language-list.SELECT-LANGUAGE-EXT' | translate: { currentLang: getLanguageLabel() }\"\n [attr.aria-expanded]=\"isLanguagesDropdownVisible\"\n (click)=\"onLanguageClick($event)\"\n (keydown.space)=\"onLanguageClick($event)\">\n <span class=\"ecl-site-header__language-icon\">\n <ecl-icon icon=\"global\" size=\"s\" class=\"ecl-site-header__icon\"></ecl-icon>\n </span>\n {{ languageCode | uppercase }}\n</a>\n@if(hasLanguageCodes()) {\n<ecl-site-header-language-popover\n #languagePopover\n [languageCode]=\"languageCode\"\n [euLanguages]=\"euLanguages\"\n [nonEuLanguages]=\"nonEuLanguages\"\n [euColumnsCount]=\"euColumnsCount\"\n [nonEuColumnsCount]=\"nonEuColumnsCount\"\n [isHidden]=\"!isLanguagesDropdownVisible\"\n [isStack]=\"isStack\"\n [isPushRight]=\"isPushRight\"\n [isPushLeft] = \"isPushLeft\"\n [isFull]=\"isFull\"\n [rightPosition]=\"rightPosition\"\n [leftPosition]=\"leftPosition\"\n [languageArrowPosition]=\"languageArrowPosition\"\n (languageSelected)=\"onLanguageSelected($event)\"\n (languageClosed)=\"onLanguageClosed($event)\">\n</ecl-site-header-language-popover>\n}", styles: [":host{display:block}\n"], dependencies: [{ kind: "component", type: i4$1.EclIconComponent, selector: "ecl-icon", inputs: ["iconSet", "icon", "size", "color", "transform", "ariaLabelledby", "role", "title", "ariaHidden", "focusable", "isFlipHorizontal"] }, { kind: "component", type: EclSiteHeaderLanguagePopoverComponent, selector: "ecl-site-header-language-popover", inputs: ["languageCode", "euLanguages", "nonEuLanguages", "euColumnsCount", "nonEuColumnsCount", "isHidden", "isPushRight", "isPushLeft", "isStack", "isFull", "rightPosition", "leftPosition", "languageArrowPosition"], outputs: ["languageClosed", "languageSelected"] }, { kind: "pipe", type: i6$1.UpperCasePipe, name: "uppercase" }, { kind: "pipe", type: i6.TranslatePipe, name: "translate" }] }); }
495
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.5", type: EclSiteHeaderLanguageComponent, isStandalone: false, selector: "ecl-site-header-language", outputs: { languageClick: "languageClick", languageSelected: "languageSelected" }, host: { listeners: { "eclClickOutside": "onClickOutside()", "document:keydown.escape": "onEscapeKeydownHandler()" }, properties: { "class": "this.cssClasses" } }, viewQueries: [{ propertyName: "languagePopover", first: true, predicate: EclSiteHeaderLanguagePopoverComponent, descendants: true }, { propertyName: "languageLinkElement", first: true, predicate: ["languageLink"], descendants: true, read: ElementRef }], usesInheritance: true, hostDirectives: [{ directive: i2.ECLClickOutsideDirective, outputs: ["eclClickOutside", "eclClickOutside"] }], ngImport: i0, template: "<a\n href=\"#\"\n #languageLink\n class=\"ecl-button ecl-button--tertiary ecl-site-header__language-selector\"\n aria-controls=\"language-list-overlay\"\n role=\"button\"\n [attr.aria-label]=\"'ecl.language-list.SELECT-LANGUAGE-EXT' | translate: { currentLang: getLanguageLabel() }\"\n [attr.aria-expanded]=\"isLanguagesDropdownVisible\"\n (click)=\"onLanguageClick($event)\"\n (keydown.space)=\"onLanguageClick($event)\">\n <span class=\"ecl-site-header__language-icon\">\n <ecl-icon icon=\"global\" size=\"s\" class=\"ecl-site-header__icon\"></ecl-icon>\n </span>\n {{ languageCode | uppercase }}\n</a>\n@if(hasLanguageCodes()) {\n<ecl-site-header-language-popover\n #languagePopover\n id=\"language-list-overlay\"\n [languageCode]=\"languageCode\"\n [euLanguages]=\"euLanguages\"\n [nonEuLanguages]=\"nonEuLanguages\"\n [euColumnsCount]=\"euColumnsCount\"\n [nonEuColumnsCount]=\"nonEuColumnsCount\"\n [isHidden]=\"!isLanguagesDropdownVisible\"\n [isStack]=\"isStack\"\n [isPushRight]=\"isPushRight\"\n [isPushLeft] = \"isPushLeft\"\n [isFull]=\"isFull\"\n [rightPosition]=\"rightPosition\"\n [leftPosition]=\"leftPosition\"\n [languageArrowPosition]=\"languageArrowPosition\"\n (languageSelected)=\"onLanguageSelected($event)\"\n (languageClosed)=\"onLanguageClosed($event)\">\n</ecl-site-header-language-popover>\n}", styles: [":host{display:block}\n"], dependencies: [{ kind: "component", type: i4$1.EclIconComponent, selector: "ecl-icon", inputs: ["iconSet", "icon", "size", "color", "transform", "ariaLabelledby", "role", "title", "ariaHidden", "focusable", "isFlipHorizontal"] }, { kind: "component", type: EclSiteHeaderLanguagePopoverComponent, selector: "ecl-site-header-language-popover", inputs: ["languageCode", "euLanguages", "nonEuLanguages", "euColumnsCount", "nonEuColumnsCount", "isHidden", "isPushRight", "isPushLeft", "isStack", "isFull", "rightPosition", "leftPosition", "languageArrowPosition"], outputs: ["languageClosed", "languageSelected"] }, { kind: "pipe", type: i6$1.UpperCasePipe, name: "uppercase" }, { kind: "pipe", type: i6.TranslatePipe, name: "translate" }] }); }
496
496
  }
497
497
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: EclSiteHeaderLanguageComponent, decorators: [{
498
498
  type: Component,
@@ -501,7 +501,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImpor
501
501
  directive: ECLClickOutsideDirective,
502
502
  outputs: ['eclClickOutside'],
503
503
  },
504
- ], template: "<a\n href=\"#\"\n #languageLink\n class=\"ecl-button ecl-button--tertiary ecl-site-header__language-selector\"\n aria-controls=\"language-list-overlay\"\n role=\"button\"\n [attr.aria-label]=\"'ecl.language-list.SELECT-LANGUAGE-EXT' | translate: { currentLang: getLanguageLabel() }\"\n [attr.aria-expanded]=\"isLanguagesDropdownVisible\"\n (click)=\"onLanguageClick($event)\"\n (keydown.space)=\"onLanguageClick($event)\">\n <span class=\"ecl-site-header__language-icon\">\n <ecl-icon icon=\"global\" size=\"s\" class=\"ecl-site-header__icon\"></ecl-icon>\n </span>\n {{ languageCode | uppercase }}\n</a>\n@if(hasLanguageCodes()) {\n<ecl-site-header-language-popover\n #languagePopover\n [languageCode]=\"languageCode\"\n [euLanguages]=\"euLanguages\"\n [nonEuLanguages]=\"nonEuLanguages\"\n [euColumnsCount]=\"euColumnsCount\"\n [nonEuColumnsCount]=\"nonEuColumnsCount\"\n [isHidden]=\"!isLanguagesDropdownVisible\"\n [isStack]=\"isStack\"\n [isPushRight]=\"isPushRight\"\n [isPushLeft] = \"isPushLeft\"\n [isFull]=\"isFull\"\n [rightPosition]=\"rightPosition\"\n [leftPosition]=\"leftPosition\"\n [languageArrowPosition]=\"languageArrowPosition\"\n (languageSelected)=\"onLanguageSelected($event)\"\n (languageClosed)=\"onLanguageClosed($event)\">\n</ecl-site-header-language-popover>\n}", styles: [":host{display:block}\n"] }]
504
+ ], template: "<a\n href=\"#\"\n #languageLink\n class=\"ecl-button ecl-button--tertiary ecl-site-header__language-selector\"\n aria-controls=\"language-list-overlay\"\n role=\"button\"\n [attr.aria-label]=\"'ecl.language-list.SELECT-LANGUAGE-EXT' | translate: { currentLang: getLanguageLabel() }\"\n [attr.aria-expanded]=\"isLanguagesDropdownVisible\"\n (click)=\"onLanguageClick($event)\"\n (keydown.space)=\"onLanguageClick($event)\">\n <span class=\"ecl-site-header__language-icon\">\n <ecl-icon icon=\"global\" size=\"s\" class=\"ecl-site-header__icon\"></ecl-icon>\n </span>\n {{ languageCode | uppercase }}\n</a>\n@if(hasLanguageCodes()) {\n<ecl-site-header-language-popover\n #languagePopover\n id=\"language-list-overlay\"\n [languageCode]=\"languageCode\"\n [euLanguages]=\"euLanguages\"\n [nonEuLanguages]=\"nonEuLanguages\"\n [euColumnsCount]=\"euColumnsCount\"\n [nonEuColumnsCount]=\"nonEuColumnsCount\"\n [isHidden]=\"!isLanguagesDropdownVisible\"\n [isStack]=\"isStack\"\n [isPushRight]=\"isPushRight\"\n [isPushLeft] = \"isPushLeft\"\n [isFull]=\"isFull\"\n [rightPosition]=\"rightPosition\"\n [leftPosition]=\"leftPosition\"\n [languageArrowPosition]=\"languageArrowPosition\"\n (languageSelected)=\"onLanguageSelected($event)\"\n (languageClosed)=\"onLanguageClosed($event)\">\n</ecl-site-header-language-popover>\n}", styles: [":host{display:block}\n"] }]
505
505
  }], ctorParameters: () => [{ type: EclAreaDataService }, { type: i2.EclRtlService }, { type: i2.EclThemeService }, { type: undefined, decorators: [{
506
506
  type: Optional
507
507
  }, {