@eui/ecl 19.0.0-next.8 → 19.0.0-next.9

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 (198) hide show
  1. package/components/ecl-accordion/ecl-accordion-item.component.d.ts.map +1 -1
  2. package/components/ecl-banner/ecl-banner.component.d.ts.map +1 -1
  3. package/components/ecl-breadcrumb/ecl-breadcrumb-segment.component.d.ts.map +1 -1
  4. package/components/ecl-breadcrumb/ecl-breadcrumb.component.d.ts.map +1 -1
  5. package/components/ecl-button/ecl-button.component.d.ts.map +1 -1
  6. package/components/ecl-card/ecl-card-picture.directive.d.ts.map +1 -1
  7. package/components/ecl-carousel/ecl-carousel-item.component.d.ts.map +1 -1
  8. package/components/ecl-carousel/ecl-carousel.component.d.ts.map +1 -1
  9. package/components/ecl-checkbox/ecl-checkbox-help.component.d.ts.map +1 -1
  10. package/components/ecl-checkbox/ecl-checkbox-label.component.d.ts.map +1 -1
  11. package/components/ecl-checkbox/ecl-checkbox.directive.d.ts.map +1 -1
  12. package/components/ecl-content-item/ecl-content-item-image.directive.d.ts.map +1 -1
  13. package/components/ecl-content-item/ecl-content-item.component.d.ts.map +1 -1
  14. package/components/ecl-expandable/ecl-expandable.component.d.ts.map +1 -1
  15. package/components/ecl-fact-figures/ecl-fact-figures.component.d.ts.map +1 -1
  16. package/components/ecl-featured/ecl-featured.component.d.ts.map +1 -1
  17. package/components/ecl-file/ecl-file-item/ecl-file-item.component.d.ts.map +1 -1
  18. package/components/ecl-file/ecl-file-items/ecl-file-items.component.d.ts.map +1 -1
  19. package/components/ecl-file-upload/ecl-file-upload.directive.d.ts.map +1 -1
  20. package/components/ecl-form-label/ecl-form-label.component.d.ts.map +1 -1
  21. package/components/ecl-gallery/ecl-gallery-item.component.d.ts.map +1 -1
  22. package/components/ecl-gallery/ecl-gallery-media.directive.d.ts.map +1 -1
  23. package/components/ecl-gallery/ecl-gallery.component.d.ts.map +1 -1
  24. package/components/ecl-help-block/ecl-help-block.directive.d.ts.map +1 -1
  25. package/components/ecl-icon/ecl-icon.component.d.ts.map +1 -1
  26. package/components/ecl-link/ecl-link.directive.d.ts.map +1 -1
  27. package/components/ecl-list/ecl-list.directive.d.ts.map +1 -1
  28. package/components/ecl-list-illustration/ecl-list-illustration-picture.directive.d.ts.map +1 -1
  29. package/components/ecl-list-illustration/ecl-list-illustration.component.d.ts.map +1 -1
  30. package/components/ecl-loading-indicator/ecl-loading-indicator.component.d.ts.map +1 -1
  31. package/components/ecl-media-container/ecl-media-container.component.d.ts.map +1 -1
  32. package/components/ecl-mega-menu/ecl-mega-menu-subitem/ecl-mega-menu-subitem.component.d.ts.map +1 -1
  33. package/components/ecl-menu/ecl-menu/ecl-menu.component.d.ts.map +1 -1
  34. package/components/ecl-menu/ecl-menu-mega/ecl-menu-mega-item.component.d.ts.map +1 -1
  35. package/components/ecl-modal/ecl-modal-body.component.d.ts.map +1 -1
  36. package/components/ecl-multiselect/ecl-multiselect-dropdown/ecl-multiselect-dropdown.component.d.ts.map +1 -1
  37. package/components/ecl-multiselect/ecl-multiselect-input/ecl-multiselect-input.component.d.ts.map +1 -1
  38. package/components/ecl-multiselect/ecl-multiselect-option/ecl-multiselect-option.component.d.ts.map +1 -1
  39. package/components/ecl-multiselect/ecl-multiselect.component.d.ts.map +1 -1
  40. package/components/ecl-navigation-list/ecl-navigation-list.component.d.ts.map +1 -1
  41. package/components/ecl-news-ticker/ecl-news-ticker.component.d.ts.map +1 -1
  42. package/components/ecl-notification/ecl-notification.component.d.ts.map +1 -1
  43. package/components/ecl-page-header/ecl-page-header-title.directive.d.ts.map +1 -1
  44. package/components/ecl-pagination/ecl-pagination-item.component.d.ts.map +1 -1
  45. package/components/ecl-pagination/ecl-pagination.component.d.ts.map +1 -1
  46. package/components/ecl-radio/ecl-radio-help.component.d.ts.map +1 -1
  47. package/components/ecl-radio/ecl-radio-label.component.d.ts.map +1 -1
  48. package/components/ecl-radio/ecl-radio.directive.d.ts.map +1 -1
  49. package/components/ecl-range/ecl-range.directive.d.ts.map +1 -1
  50. package/components/ecl-rating-field/ecl-rating-field.component.d.ts.map +1 -1
  51. package/components/ecl-select/ecl-select-container.component.d.ts.map +1 -1
  52. package/components/ecl-select/ecl-select.directive.d.ts.map +1 -1
  53. package/components/ecl-site-footer/ecl-footer-elements/ec/ecl-site-footer-fixed-content.d.ts.map +1 -1
  54. package/components/ecl-site-footer/ecl-footer-elements/ecl-site-footer-list.directive.d.ts.map +1 -1
  55. package/components/ecl-site-footer/ecl-footer-elements/ecl-site-footer-section.directive.d.ts.map +1 -1
  56. package/components/ecl-site-footer/ecl-footer-elements/ecl-site-footer-title.directive.d.ts.map +1 -1
  57. package/components/ecl-site-footer/ecl-footer-elements/eu/ecl-site-footer-fixed-content.d.ts.map +1 -1
  58. package/components/ecl-site-footer/ecl-site-footer.component.d.ts.map +1 -1
  59. package/components/ecl-site-header/login/ecl-site-header-login.component.d.ts.map +1 -1
  60. package/components/ecl-social-media-follow/ecl-social-media-follow.component.d.ts.map +1 -1
  61. package/components/ecl-social-media-share/ecl-social-media-share.component.d.ts.map +1 -1
  62. package/components/ecl-sticky-container/ecl-sticky-container.component.d.ts.map +1 -1
  63. package/components/ecl-table/ecl-table.directive.d.ts.map +1 -1
  64. package/components/ecl-tabs/ecl-tab-more.component.d.ts.map +1 -1
  65. package/components/ecl-tabs/ecl-tab.component.d.ts.map +1 -1
  66. package/components/ecl-tag/ecl-tag.component.d.ts.map +1 -1
  67. package/components/ecl-text-area/ecl-text-area.directive.d.ts.map +1 -1
  68. package/components/ecl-text-input/ecl-text-input.directive.d.ts.map +1 -1
  69. package/components/ecl-timeline/ecl-timeline-item-toggler.component.d.ts.map +1 -1
  70. package/components/ecl-timeline/ecl-timeline-item.component.d.ts.map +1 -1
  71. package/core/ecl-base.directive.d.ts.map +1 -1
  72. package/docs/dependencies.html +30 -30
  73. package/docs/js/search/search_index.js +2 -2
  74. package/fesm2022/eui-ecl-components-ecl-accordion.mjs +12 -11
  75. package/fesm2022/eui-ecl-components-ecl-accordion.mjs.map +1 -1
  76. package/fesm2022/eui-ecl-components-ecl-app.mjs +8 -8
  77. package/fesm2022/eui-ecl-components-ecl-app.mjs.map +1 -1
  78. package/fesm2022/eui-ecl-components-ecl-banner.mjs +35 -35
  79. package/fesm2022/eui-ecl-components-ecl-banner.mjs.map +1 -1
  80. package/fesm2022/eui-ecl-components-ecl-blockquote.mjs +14 -14
  81. package/fesm2022/eui-ecl-components-ecl-blockquote.mjs.map +1 -1
  82. package/fesm2022/eui-ecl-components-ecl-breadcrumb.mjs +11 -11
  83. package/fesm2022/eui-ecl-components-ecl-breadcrumb.mjs.map +1 -1
  84. package/fesm2022/eui-ecl-components-ecl-button.mjs +11 -11
  85. package/fesm2022/eui-ecl-components-ecl-button.mjs.map +1 -1
  86. package/fesm2022/eui-ecl-components-ecl-card.mjs +17 -17
  87. package/fesm2022/eui-ecl-components-ecl-card.mjs.map +1 -1
  88. package/fesm2022/eui-ecl-components-ecl-carousel.mjs +11 -11
  89. package/fesm2022/eui-ecl-components-ecl-carousel.mjs.map +1 -1
  90. package/fesm2022/eui-ecl-components-ecl-category-filter.mjs +14 -14
  91. package/fesm2022/eui-ecl-components-ecl-category-filter.mjs.map +1 -1
  92. package/fesm2022/eui-ecl-components-ecl-checkbox.mjs +17 -17
  93. package/fesm2022/eui-ecl-components-ecl-checkbox.mjs.map +1 -1
  94. package/fesm2022/eui-ecl-components-ecl-content-block.mjs +59 -59
  95. package/fesm2022/eui-ecl-components-ecl-content-block.mjs.map +1 -1
  96. package/fesm2022/eui-ecl-components-ecl-content-item.mjs +14 -14
  97. package/fesm2022/eui-ecl-components-ecl-content-item.mjs.map +1 -1
  98. package/fesm2022/eui-ecl-components-ecl-date-block.mjs +8 -8
  99. package/fesm2022/eui-ecl-components-ecl-date-block.mjs.map +1 -1
  100. package/fesm2022/eui-ecl-components-ecl-date-picker.mjs +8 -8
  101. package/fesm2022/eui-ecl-components-ecl-date-picker.mjs.map +1 -1
  102. package/fesm2022/eui-ecl-components-ecl-expandable.mjs +9 -8
  103. package/fesm2022/eui-ecl-components-ecl-expandable.mjs.map +1 -1
  104. package/fesm2022/eui-ecl-components-ecl-fact-figures.mjs +23 -23
  105. package/fesm2022/eui-ecl-components-ecl-fact-figures.mjs.map +1 -1
  106. package/fesm2022/eui-ecl-components-ecl-featured.mjs +26 -26
  107. package/fesm2022/eui-ecl-components-ecl-featured.mjs.map +1 -1
  108. package/fesm2022/eui-ecl-components-ecl-feedback-message.mjs +8 -8
  109. package/fesm2022/eui-ecl-components-ecl-feedback-message.mjs.map +1 -1
  110. package/fesm2022/eui-ecl-components-ecl-file-upload.mjs +8 -8
  111. package/fesm2022/eui-ecl-components-ecl-file-upload.mjs.map +1 -1
  112. package/fesm2022/eui-ecl-components-ecl-file.mjs +36 -35
  113. package/fesm2022/eui-ecl-components-ecl-file.mjs.map +1 -1
  114. package/fesm2022/eui-ecl-components-ecl-form-group.mjs +8 -8
  115. package/fesm2022/eui-ecl-components-ecl-form-group.mjs.map +1 -1
  116. package/fesm2022/eui-ecl-components-ecl-form-label.mjs +11 -11
  117. package/fesm2022/eui-ecl-components-ecl-form-label.mjs.map +1 -1
  118. package/fesm2022/eui-ecl-components-ecl-gallery.mjs +23 -23
  119. package/fesm2022/eui-ecl-components-ecl-gallery.mjs.map +1 -1
  120. package/fesm2022/eui-ecl-components-ecl-help-block.mjs +8 -8
  121. package/fesm2022/eui-ecl-components-ecl-help-block.mjs.map +1 -1
  122. package/fesm2022/eui-ecl-components-ecl-icon.mjs +8 -8
  123. package/fesm2022/eui-ecl-components-ecl-icon.mjs.map +1 -1
  124. package/fesm2022/eui-ecl-components-ecl-inpage-navigation.mjs +11 -11
  125. package/fesm2022/eui-ecl-components-ecl-inpage-navigation.mjs.map +1 -1
  126. package/fesm2022/eui-ecl-components-ecl-label.mjs +8 -8
  127. package/fesm2022/eui-ecl-components-ecl-label.mjs.map +1 -1
  128. package/fesm2022/eui-ecl-components-ecl-link.mjs +11 -11
  129. package/fesm2022/eui-ecl-components-ecl-link.mjs.map +1 -1
  130. package/fesm2022/eui-ecl-components-ecl-list-illustration.mjs +20 -20
  131. package/fesm2022/eui-ecl-components-ecl-list-illustration.mjs.map +1 -1
  132. package/fesm2022/eui-ecl-components-ecl-list.mjs +32 -32
  133. package/fesm2022/eui-ecl-components-ecl-list.mjs.map +1 -1
  134. package/fesm2022/eui-ecl-components-ecl-loading-indicator.mjs +14 -14
  135. package/fesm2022/eui-ecl-components-ecl-loading-indicator.mjs.map +1 -1
  136. package/fesm2022/eui-ecl-components-ecl-media-container.mjs +20 -20
  137. package/fesm2022/eui-ecl-components-ecl-media-container.mjs.map +1 -1
  138. package/fesm2022/eui-ecl-components-ecl-mega-menu.mjs +50 -50
  139. package/fesm2022/eui-ecl-components-ecl-mega-menu.mjs.map +1 -1
  140. package/fesm2022/eui-ecl-components-ecl-menu.mjs +17 -17
  141. package/fesm2022/eui-ecl-components-ecl-menu.mjs.map +1 -1
  142. package/fesm2022/eui-ecl-components-ecl-modal.mjs +26 -26
  143. package/fesm2022/eui-ecl-components-ecl-modal.mjs.map +1 -1
  144. package/fesm2022/eui-ecl-components-ecl-multiselect.mjs +26 -26
  145. package/fesm2022/eui-ecl-components-ecl-multiselect.mjs.map +1 -1
  146. package/fesm2022/eui-ecl-components-ecl-navigation-list.mjs +20 -20
  147. package/fesm2022/eui-ecl-components-ecl-navigation-list.mjs.map +1 -1
  148. package/fesm2022/eui-ecl-components-ecl-news-ticker.mjs +14 -14
  149. package/fesm2022/eui-ecl-components-ecl-news-ticker.mjs.map +1 -1
  150. package/fesm2022/eui-ecl-components-ecl-notification.mjs +11 -11
  151. package/fesm2022/eui-ecl-components-ecl-notification.mjs.map +1 -1
  152. package/fesm2022/eui-ecl-components-ecl-page-header.mjs +38 -38
  153. package/fesm2022/eui-ecl-components-ecl-page-header.mjs.map +1 -1
  154. package/fesm2022/eui-ecl-components-ecl-pagination.mjs +11 -11
  155. package/fesm2022/eui-ecl-components-ecl-pagination.mjs.map +1 -1
  156. package/fesm2022/eui-ecl-components-ecl-popover.mjs +14 -14
  157. package/fesm2022/eui-ecl-components-ecl-popover.mjs.map +1 -1
  158. package/fesm2022/eui-ecl-components-ecl-radio.mjs +17 -17
  159. package/fesm2022/eui-ecl-components-ecl-radio.mjs.map +1 -1
  160. package/fesm2022/eui-ecl-components-ecl-range.mjs +14 -14
  161. package/fesm2022/eui-ecl-components-ecl-range.mjs.map +1 -1
  162. package/fesm2022/eui-ecl-components-ecl-rating-field.mjs +8 -8
  163. package/fesm2022/eui-ecl-components-ecl-rating-field.mjs.map +1 -1
  164. package/fesm2022/eui-ecl-components-ecl-search-form.mjs +8 -8
  165. package/fesm2022/eui-ecl-components-ecl-search-form.mjs.map +1 -1
  166. package/fesm2022/eui-ecl-components-ecl-select.mjs +11 -11
  167. package/fesm2022/eui-ecl-components-ecl-select.mjs.map +1 -1
  168. package/fesm2022/eui-ecl-components-ecl-separator.mjs +8 -8
  169. package/fesm2022/eui-ecl-components-ecl-separator.mjs.map +1 -1
  170. package/fesm2022/eui-ecl-components-ecl-site-footer.mjs +62 -62
  171. package/fesm2022/eui-ecl-components-ecl-site-footer.mjs.map +1 -1
  172. package/fesm2022/eui-ecl-components-ecl-site-header.mjs +50 -50
  173. package/fesm2022/eui-ecl-components-ecl-site-header.mjs.map +1 -1
  174. package/fesm2022/eui-ecl-components-ecl-social-media-follow.mjs +14 -14
  175. package/fesm2022/eui-ecl-components-ecl-social-media-follow.mjs.map +1 -1
  176. package/fesm2022/eui-ecl-components-ecl-social-media-share.mjs +14 -14
  177. package/fesm2022/eui-ecl-components-ecl-social-media-share.mjs.map +1 -1
  178. package/fesm2022/eui-ecl-components-ecl-splash-page.mjs +32 -32
  179. package/fesm2022/eui-ecl-components-ecl-splash-page.mjs.map +1 -1
  180. package/fesm2022/eui-ecl-components-ecl-sticky-container.mjs +8 -8
  181. package/fesm2022/eui-ecl-components-ecl-sticky-container.mjs.map +1 -1
  182. package/fesm2022/eui-ecl-components-ecl-table.mjs +35 -35
  183. package/fesm2022/eui-ecl-components-ecl-table.mjs.map +1 -1
  184. package/fesm2022/eui-ecl-components-ecl-tabs.mjs +17 -17
  185. package/fesm2022/eui-ecl-components-ecl-tabs.mjs.map +1 -1
  186. package/fesm2022/eui-ecl-components-ecl-tag.mjs +17 -17
  187. package/fesm2022/eui-ecl-components-ecl-tag.mjs.map +1 -1
  188. package/fesm2022/eui-ecl-components-ecl-text-area.mjs +8 -8
  189. package/fesm2022/eui-ecl-components-ecl-text-area.mjs.map +1 -1
  190. package/fesm2022/eui-ecl-components-ecl-text-input.mjs +8 -8
  191. package/fesm2022/eui-ecl-components-ecl-text-input.mjs.map +1 -1
  192. package/fesm2022/eui-ecl-components-ecl-timeline.mjs +22 -20
  193. package/fesm2022/eui-ecl-components-ecl-timeline.mjs.map +1 -1
  194. package/fesm2022/eui-ecl-core.mjs +32 -32
  195. package/fesm2022/eui-ecl-core.mjs.map +1 -1
  196. package/fesm2022/eui-ecl.mjs +5 -5
  197. package/fesm2022/eui-ecl.mjs.map +1 -1
  198. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { HostBinding, Input, ChangeDetectionStrategy, ViewEncapsulation, Component, Directive, NgModule } from '@angular/core';
2
+ import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input, HostBinding, Directive, NgModule } from '@angular/core';
3
3
  import { CommonModule } from '@angular/common';
4
4
  import * as i2 from '@eui/ecl/core';
5
5
  import { ECLBaseDirective } from '@eui/ecl/core';
@@ -27,10 +27,10 @@ class EclBlockquoteComponent extends ECLBaseDirective {
27
27
  const language = this.eclLanguageService.getEULanguageOrFallback(this.translateService.currentLang);
28
28
  return language.code;
29
29
  }
30
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-rc.1", ngImport: i0, type: EclBlockquoteComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.TranslateService }, { token: i2.EclLanguageService }], target: i0.ɵɵFactoryTarget.Component }); }
31
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.0-rc.1", type: EclBlockquoteComponent, isStandalone: false, selector: "[eclBlockquote]", inputs: { author: "author" }, host: { properties: { "class": "this.cssClasses" } }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"picture[eclBlockquotePicture]\"></ng-content>\n<div class=\"ecl-blockquote__body\">\n <blockquote class=\"ecl-blockquote__quote\">\n <p class=\"ecl-blockquote__citation\" [attr.lang]=\"getLanguageCode()\">\n <ng-content></ng-content>\n </p>\n @if (hasAuthor) {\n <footer class=\"ecl-blockquote__attribution\">\n <cite class=\"ecl-blockquote__author\">{{ author }}</cite>\n </footer>\n }\n </blockquote>\n</div>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
30
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: EclBlockquoteComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.TranslateService }, { token: i2.EclLanguageService }], target: i0.ɵɵFactoryTarget.Component }); }
31
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.0", type: EclBlockquoteComponent, isStandalone: false, selector: "[eclBlockquote]", inputs: { author: "author" }, host: { properties: { "class": "this.cssClasses" } }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"picture[eclBlockquotePicture]\"></ng-content>\n<div class=\"ecl-blockquote__body\">\n <blockquote class=\"ecl-blockquote__quote\">\n <p class=\"ecl-blockquote__citation\" [attr.lang]=\"getLanguageCode()\">\n <ng-content></ng-content>\n </p>\n @if (hasAuthor) {\n <footer class=\"ecl-blockquote__attribution\">\n <cite class=\"ecl-blockquote__author\">{{ author }}</cite>\n </footer>\n }\n </blockquote>\n</div>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
32
32
  }
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-rc.1", ngImport: i0, type: EclBlockquoteComponent, decorators: [{
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: EclBlockquoteComponent, decorators: [{
34
34
  type: Component,
35
35
  args: [{ selector: '[eclBlockquote]', standalone: false, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content select=\"picture[eclBlockquotePicture]\"></ng-content>\n<div class=\"ecl-blockquote__body\">\n <blockquote class=\"ecl-blockquote__quote\">\n <p class=\"ecl-blockquote__citation\" [attr.lang]=\"getLanguageCode()\">\n <ng-content></ng-content>\n </p>\n @if (hasAuthor) {\n <footer class=\"ecl-blockquote__attribution\">\n <cite class=\"ecl-blockquote__author\">{{ author }}</cite>\n </footer>\n }\n </blockquote>\n</div>\n" }]
36
36
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i1.TranslateService }, { type: i2.EclLanguageService }], propDecorators: { author: [{
@@ -44,10 +44,10 @@ class EclBlockquotePictureDirective extends ECLBaseDirective {
44
44
  get cssClasses() {
45
45
  return [super.getCssClasses('ecl-picture ecl-blockquote__picture')].join(' ').trim();
46
46
  }
47
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-rc.1", ngImport: i0, type: EclBlockquotePictureDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
48
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-rc.1", type: EclBlockquotePictureDirective, isStandalone: false, selector: "picture[eclBlockquotePicture]", host: { properties: { "class": "this.cssClasses" } }, usesInheritance: true, ngImport: i0 }); }
47
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: EclBlockquotePictureDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
48
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0", type: EclBlockquotePictureDirective, isStandalone: false, selector: "picture[eclBlockquotePicture]", host: { properties: { "class": "this.cssClasses" } }, usesInheritance: true, ngImport: i0 }); }
49
49
  }
50
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-rc.1", ngImport: i0, type: EclBlockquotePictureDirective, decorators: [{
50
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: EclBlockquotePictureDirective, decorators: [{
51
51
  type: Directive,
52
52
  args: [{
53
53
  selector: 'picture[eclBlockquotePicture]',
@@ -61,10 +61,10 @@ class EclBlockquoteImageDirective extends ECLBaseDirective {
61
61
  get cssClasses() {
62
62
  return [super.getCssClasses('ecl-blockquote__image')].join(' ').trim();
63
63
  }
64
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-rc.1", ngImport: i0, type: EclBlockquoteImageDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
65
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-rc.1", type: EclBlockquoteImageDirective, isStandalone: false, selector: "img[eclBlockquoteImage]", host: { properties: { "class": "this.cssClasses" } }, usesInheritance: true, ngImport: i0 }); }
64
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: EclBlockquoteImageDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
65
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0", type: EclBlockquoteImageDirective, isStandalone: false, selector: "img[eclBlockquoteImage]", host: { properties: { "class": "this.cssClasses" } }, usesInheritance: true, ngImport: i0 }); }
66
66
  }
67
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-rc.1", ngImport: i0, type: EclBlockquoteImageDirective, decorators: [{
67
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: EclBlockquoteImageDirective, decorators: [{
68
68
  type: Directive,
69
69
  args: [{
70
70
  selector: 'img[eclBlockquoteImage]',
@@ -76,11 +76,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-rc.1", ng
76
76
  }] } });
77
77
 
78
78
  class EclBlockquoteComponentModule {
79
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-rc.1", ngImport: i0, type: EclBlockquoteComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
80
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.0-rc.1", ngImport: i0, type: EclBlockquoteComponentModule, declarations: [EclBlockquoteComponent, EclBlockquoteImageDirective, EclBlockquotePictureDirective], imports: [CommonModule], exports: [EclBlockquoteComponent, EclBlockquoteImageDirective, EclBlockquotePictureDirective] }); }
81
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.0-rc.1", ngImport: i0, type: EclBlockquoteComponentModule, imports: [CommonModule] }); }
79
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: EclBlockquoteComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
80
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.0", ngImport: i0, type: EclBlockquoteComponentModule, declarations: [EclBlockquoteComponent, EclBlockquoteImageDirective, EclBlockquotePictureDirective], imports: [CommonModule], exports: [EclBlockquoteComponent, EclBlockquoteImageDirective, EclBlockquotePictureDirective] }); }
81
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: EclBlockquoteComponentModule, imports: [CommonModule] }); }
82
82
  }
83
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-rc.1", ngImport: i0, type: EclBlockquoteComponentModule, decorators: [{
83
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: EclBlockquoteComponentModule, decorators: [{
84
84
  type: NgModule,
85
85
  args: [{
86
86
  imports: [CommonModule],
@@ -1 +1 @@
1
- {"version":3,"file":"eui-ecl-components-ecl-blockquote.mjs","sources":["../../components/ecl-blockquote/ecl-blockquote.component.ts","../../components/ecl-blockquote/ecl-blockquote.component.html","../../components/ecl-blockquote/ecl-blockquote-picture.directive.ts","../../components/ecl-blockquote/ecl-blockquote.module.ts","../../components/ecl-blockquote/eui-ecl-components-ecl-blockquote.ts"],"sourcesContent":["import { Component, Input, HostBinding, ChangeDetectionStrategy, ViewEncapsulation, OnInit, ChangeDetectorRef } from '@angular/core';\nimport { TranslateService } from '@ngx-translate/core';\n\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclLanguageService } from '@eui/ecl/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: '[eclBlockquote]',\n templateUrl: './ecl-blockquote.component.html',\n standalone: false,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EclBlockquoteComponent extends ECLBaseDirective implements OnInit {\n @Input() author: string;\n\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-blockquote')].join(' ').trim();\n }\n\n constructor(\n private readonly cdRef: ChangeDetectorRef,\n protected translateService: TranslateService,\n protected eclLanguageService: EclLanguageService) {\n super();\n }\n ngOnInit(): void {\n this.translateService.onLangChange.subscribe(() => {\n this.cdRef.detectChanges();\n });\n }\n\n get hasAuthor(): boolean {\n return this.author !== null;\n }\n\n getLanguageCode(): string {\n const language = this.eclLanguageService.getEULanguageOrFallback(this.translateService.currentLang);\n return language.code;\n }\n}\n","<ng-content select=\"picture[eclBlockquotePicture]\"></ng-content>\n<div class=\"ecl-blockquote__body\">\n <blockquote class=\"ecl-blockquote__quote\">\n <p class=\"ecl-blockquote__citation\" [attr.lang]=\"getLanguageCode()\">\n <ng-content></ng-content>\n </p>\n @if (hasAuthor) {\n <footer class=\"ecl-blockquote__attribution\">\n <cite class=\"ecl-blockquote__author\">{{ author }}</cite>\n </footer>\n }\n </blockquote>\n</div>\n","import { Directive, HostBinding } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n@Directive({\n selector: 'picture[eclBlockquotePicture]',\n standalone: false,\n})\nexport class EclBlockquotePictureDirective extends ECLBaseDirective {\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-picture ecl-blockquote__picture')].join(' ').trim();\n }\n}\n\n@Directive({\n selector: 'img[eclBlockquoteImage]',\n standalone: false,\n})\nexport class EclBlockquoteImageDirective extends ECLBaseDirective {\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-blockquote__image')].join(' ').trim();\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { EclBlockquoteComponent } from './ecl-blockquote.component';\nimport { EclBlockquoteImageDirective, EclBlockquotePictureDirective } from './ecl-blockquote-picture.directive';\n\n@NgModule({\n imports: [CommonModule],\n exports: [EclBlockquoteComponent, EclBlockquoteImageDirective, EclBlockquotePictureDirective],\n declarations: [EclBlockquoteComponent, EclBlockquoteImageDirective, EclBlockquotePictureDirective],\n})\nexport class EclBlockquoteComponentModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAcM,MAAO,sBAAuB,SAAQ,gBAAgB,CAAA;AAGxD,IAAA,IACI,UAAU,GAAA;AACV,QAAA,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE;;AAGnE,IAAA,WAAA,CACqB,KAAwB,EAC/B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,EAAE,6BAA6B,CAAC;AAC7F,oBAAA,YAAY,EAAE,CAAC,sBAAsB,EAAE,2BAA2B,EAAE,6BAA6B,CAAC;AACrG,iBAAA;;;ACVD;;AAEG;;;;"}
1
+ {"version":3,"file":"eui-ecl-components-ecl-blockquote.mjs","sources":["../../components/ecl-blockquote/ecl-blockquote.component.ts","../../components/ecl-blockquote/ecl-blockquote.component.html","../../components/ecl-blockquote/ecl-blockquote-picture.directive.ts","../../components/ecl-blockquote/ecl-blockquote.module.ts","../../components/ecl-blockquote/eui-ecl-components-ecl-blockquote.ts"],"sourcesContent":["import { Component, Input, HostBinding, ChangeDetectionStrategy, ViewEncapsulation, OnInit, ChangeDetectorRef } from '@angular/core';\nimport { TranslateService } from '@ngx-translate/core';\n\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclLanguageService } from '@eui/ecl/core';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: '[eclBlockquote]',\n templateUrl: './ecl-blockquote.component.html',\n standalone: false,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class EclBlockquoteComponent extends ECLBaseDirective implements OnInit {\n @Input() author: string;\n\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-blockquote')].join(' ').trim();\n }\n\n constructor(\n private readonly cdRef: ChangeDetectorRef,\n protected translateService: TranslateService,\n protected eclLanguageService: EclLanguageService) {\n super();\n }\n ngOnInit(): void {\n this.translateService.onLangChange.subscribe(() => {\n this.cdRef.detectChanges();\n });\n }\n\n get hasAuthor(): boolean {\n return this.author !== null;\n }\n\n getLanguageCode(): string {\n const language = this.eclLanguageService.getEULanguageOrFallback(this.translateService.currentLang);\n return language.code;\n }\n}\n","<ng-content select=\"picture[eclBlockquotePicture]\"></ng-content>\n<div class=\"ecl-blockquote__body\">\n <blockquote class=\"ecl-blockquote__quote\">\n <p class=\"ecl-blockquote__citation\" [attr.lang]=\"getLanguageCode()\">\n <ng-content></ng-content>\n </p>\n @if (hasAuthor) {\n <footer class=\"ecl-blockquote__attribution\">\n <cite class=\"ecl-blockquote__author\">{{ author }}</cite>\n </footer>\n }\n </blockquote>\n</div>\n","import { Directive, HostBinding } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n@Directive({\n selector: 'picture[eclBlockquotePicture]',\n standalone: false,\n})\nexport class EclBlockquotePictureDirective extends ECLBaseDirective {\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-picture ecl-blockquote__picture')].join(' ').trim();\n }\n}\n\n@Directive({\n selector: 'img[eclBlockquoteImage]',\n standalone: false,\n})\nexport class EclBlockquoteImageDirective extends ECLBaseDirective {\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-blockquote__image')].join(' ').trim();\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { EclBlockquoteComponent } from './ecl-blockquote.component';\nimport { EclBlockquoteImageDirective, EclBlockquotePictureDirective } from './ecl-blockquote-picture.directive';\n\n@NgModule({\n imports: [CommonModule],\n exports: [EclBlockquoteComponent, EclBlockquoteImageDirective, EclBlockquotePictureDirective],\n declarations: [EclBlockquoteComponent, EclBlockquoteImageDirective, EclBlockquotePictureDirective],\n})\nexport class EclBlockquoteComponentModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAcM,MAAO,sBAAuB,SAAQ,gBAAgB,CAAA;AAGxD,IAAA,IACI,UAAU,GAAA;AACV,QAAA,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE;;AAGnE,IAAA,WAAA,CACqB,KAAwB,EAC/B,gBAAkC,EAClC,kBAAsC,EAAA;AAChD,QAAA,KAAK,EAAE;QAHU,IAAK,CAAA,KAAA,GAAL,KAAK;QACZ,IAAgB,CAAA,gBAAA,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D;;AAEG;;;;"}
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { EventEmitter, booleanAttribute, HostBinding, Output, Input, ViewEncapsulation, Component, afterNextRender, HostListener, forwardRef, ContentChildren, ViewChild, NgModule } from '@angular/core';
2
+ import { EventEmitter, booleanAttribute, Component, ViewEncapsulation, HostBinding, Input, Output, afterNextRender, ViewChild, ContentChildren, forwardRef, HostListener, NgModule } from '@angular/core';
3
3
  import * as i1 from '@angular/common';
4
4
  import { CommonModule } from '@angular/common';
5
5
  import * as i2 from '@angular/router';
@@ -48,10 +48,10 @@ class EclBreadcrumbSegmentComponent extends ECLBaseDirective {
48
48
  evt.stopPropagation();
49
49
  }
50
50
  }
51
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-rc.1", ngImport: i0, type: EclBreadcrumbSegmentComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
52
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.0-rc.1", type: EclBreadcrumbSegmentComponent, isStandalone: false, selector: "ecl-breadcrumb-segment", inputs: { routerLink: "routerLink", queryParams: "queryParams", href: "href", queryParamsHandling: "queryParamsHandling", isEllipsis: ["isEllipsis", "isEllipsis", booleanAttribute], isCurrentPage: ["isCurrentPage", "isCurrentPage", booleanAttribute], isHidden: ["isHidden", "isHidden", booleanAttribute] }, outputs: { segmentClick: "segmentClick" }, host: { properties: { "attr.tabindex": "this.tabIndex", "attr.role": "this.role", "attr.aria-hidden": "this.isHidden", "class": "this.cssClasses" } }, usesInheritance: true, ngImport: i0, template: "@if (!isEllipsis) {\n@if (!isCurrentPage && href) {\n<a eclLink variant=\"standalone\" [isNoVisited]=\"true\" [href]=\"href\" tabindex=\"0\" (click)=\"onSegmentClick($event)\"\n class=\"ecl-breadcrumb__link\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n</a>\n}\n@if (!isCurrentPage && !href) {\n<a eclLink [routerLink]=\"routerLink\" [queryParams]=\"queryParams\" [queryParamsHandling]=\"queryParamsHandling\"\n variant=\"standalone\" [isNoVisited]=\"true\" tabindex=\"0\" (click)=\"onSegmentClick($event)\"\n class=\"ecl-breadcrumb__link\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n</a>\n}\n} @else {\n<ng-container *ngTemplateOutlet=\"content\"></ng-container>\n}\n\n@if (isCurrentPage) {\n<ng-container *ngTemplateOutlet=\"content\"></ng-container>\n} @else {\n<ecl-icon role=\"presentation\" icon=\"corner-arrow\" ariaHidden=\"true\" focusable=\"false\" size=\"fluid\"\n class=\"ecl-breadcrumb__icon\">\n</ecl-icon>\n}\n<ng-template #content>\n <ng-content></ng-content>\n</ng-template>", dependencies: [{ kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i3.EclLinkDirective, selector: "[eclLink]", inputs: ["isInverted", "isIconOnly", "isNoVisited", "variant"] }, { kind: "component", type: i4.EclIconComponent, selector: "ecl-icon", inputs: ["iconSet", "icon", "size", "color", "transform", "ariaLabelledby", "role", "title", "ariaHidden", "focusable", "isFlipHorizontal"] }], encapsulation: i0.ViewEncapsulation.None }); }
51
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: EclBreadcrumbSegmentComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
52
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.0", type: EclBreadcrumbSegmentComponent, isStandalone: false, selector: "ecl-breadcrumb-segment", inputs: { routerLink: "routerLink", queryParams: "queryParams", href: "href", queryParamsHandling: "queryParamsHandling", isEllipsis: ["isEllipsis", "isEllipsis", booleanAttribute], isCurrentPage: ["isCurrentPage", "isCurrentPage", booleanAttribute], isHidden: ["isHidden", "isHidden", booleanAttribute] }, outputs: { segmentClick: "segmentClick" }, host: { properties: { "attr.tabindex": "this.tabIndex", "attr.role": "this.role", "attr.aria-hidden": "this.isHidden", "class": "this.cssClasses" } }, usesInheritance: true, ngImport: i0, template: "@if (!isEllipsis) {\n@if (!isCurrentPage && href) {\n<a eclLink variant=\"standalone\" [isNoVisited]=\"true\" [href]=\"href\" tabindex=\"0\" (click)=\"onSegmentClick($event)\"\n class=\"ecl-breadcrumb__link\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n</a>\n}\n@if (!isCurrentPage && !href) {\n<a eclLink [routerLink]=\"routerLink\" [queryParams]=\"queryParams\" [queryParamsHandling]=\"queryParamsHandling\"\n variant=\"standalone\" [isNoVisited]=\"true\" tabindex=\"0\" (click)=\"onSegmentClick($event)\"\n class=\"ecl-breadcrumb__link\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n</a>\n}\n} @else {\n<ng-container *ngTemplateOutlet=\"content\"></ng-container>\n}\n\n@if (isCurrentPage) {\n<ng-container *ngTemplateOutlet=\"content\"></ng-container>\n} @else {\n<ecl-icon role=\"presentation\" icon=\"corner-arrow\" ariaHidden=\"true\" focusable=\"false\" size=\"fluid\"\n class=\"ecl-breadcrumb__icon\">\n</ecl-icon>\n}\n<ng-template #content>\n <ng-content></ng-content>\n</ng-template>", dependencies: [{ kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i3.EclLinkDirective, selector: "[eclLink]", inputs: ["isInverted", "isIconOnly", "isNoVisited", "variant"] }, { kind: "component", type: i4.EclIconComponent, selector: "ecl-icon", inputs: ["iconSet", "icon", "size", "color", "transform", "ariaLabelledby", "role", "title", "ariaHidden", "focusable", "isFlipHorizontal"] }], encapsulation: i0.ViewEncapsulation.None }); }
53
53
  }
54
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-rc.1", ngImport: i0, type: EclBreadcrumbSegmentComponent, decorators: [{
54
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: EclBreadcrumbSegmentComponent, decorators: [{
55
55
  type: Component,
56
56
  args: [{ selector: 'ecl-breadcrumb-segment', standalone: false, encapsulation: ViewEncapsulation.None, template: "@if (!isEllipsis) {\n@if (!isCurrentPage && href) {\n<a eclLink variant=\"standalone\" [isNoVisited]=\"true\" [href]=\"href\" tabindex=\"0\" (click)=\"onSegmentClick($event)\"\n class=\"ecl-breadcrumb__link\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n</a>\n}\n@if (!isCurrentPage && !href) {\n<a eclLink [routerLink]=\"routerLink\" [queryParams]=\"queryParams\" [queryParamsHandling]=\"queryParamsHandling\"\n variant=\"standalone\" [isNoVisited]=\"true\" tabindex=\"0\" (click)=\"onSegmentClick($event)\"\n class=\"ecl-breadcrumb__link\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n</a>\n}\n} @else {\n<ng-container *ngTemplateOutlet=\"content\"></ng-container>\n}\n\n@if (isCurrentPage) {\n<ng-container *ngTemplateOutlet=\"content\"></ng-container>\n} @else {\n<ecl-icon role=\"presentation\" icon=\"corner-arrow\" ariaHidden=\"true\" focusable=\"false\" size=\"fluid\"\n class=\"ecl-breadcrumb__icon\">\n</ecl-icon>\n}\n<ng-template #content>\n <ng-content></ng-content>\n</ng-template>" }]
57
57
  }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { tabIndex: [{
@@ -202,10 +202,10 @@ class EclBreadcrumbComponent extends ECLBaseDirective {
202
202
  getSegmentsTotalWidth() {
203
203
  return this.eclSegments.reduce((width, segmentComponent) => width + segmentComponent.el.nativeElement.offsetWidth, 0);
204
204
  }
205
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-rc.1", ngImport: i0, type: EclBreadcrumbComponent, deps: [{ token: i0.ElementRef }, { token: i1$1.TranslateService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
206
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.0.0-rc.1", type: EclBreadcrumbComponent, isStandalone: false, selector: "ecl-breadcrumb", inputs: { isExpanded: ["isExpanded", "isExpanded", booleanAttribute] }, host: { listeners: { "window:resize": "onWindowResize($event)" }, properties: { "attr.role": "this.role", "attr.aria-label": "this.ariaLabel", "class": "this.cssClasses", "attr.data-ecl-auto-initialized": "this.autoInitialized" } }, queries: [{ propertyName: "eclSegments", predicate: i0.forwardRef(() => EclBreadcrumbSegmentComponent) }], viewQueries: [{ propertyName: "eclEllipsisSegment", first: true, predicate: ["ellipsisSegment"], descendants: true }, { propertyName: "breadcrumbContainer", first: true, predicate: ["breadcrumbContainer"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<ol class=\"ecl-breadcrumb__container\" #breadcrumbContainer>\n <ecl-breadcrumb-segment #ellipsisSegment [isHidden]=\"true\" isEllipsis>\n <button\n tabindex=\"0\"\n eclButton\n variant=\"ghost\"\n class=\"ecl-breadcrumb__ellipsis\"\n [attr.aria-label]=\"'ecl.breadcrumb.SHOW-MORE-ITEMS' | translate\"\n (click)=\"onEllipsisSegmentClick($event)\">\n ...\n </button>\n </ecl-breadcrumb-segment>\n <ng-content></ng-content>\n</ol>\n", styles: [":host{display:block}\n"], dependencies: [{ kind: "component", type: i2$1.EclButtonComponent, selector: "button[eclButton], button[ecl-button], a[eclButton]", inputs: ["isIconOnly", "variant", "containerStyleClass"] }, { kind: "component", type: EclBreadcrumbSegmentComponent, selector: "ecl-breadcrumb-segment", inputs: ["routerLink", "queryParams", "href", "queryParamsHandling", "isEllipsis", "isCurrentPage", "isHidden"], outputs: ["segmentClick"] }, { kind: "pipe", type: i1$1.TranslatePipe, name: "translate" }] }); }
205
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: EclBreadcrumbComponent, deps: [{ token: i0.ElementRef }, { token: i1$1.TranslateService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
206
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.0.0", type: EclBreadcrumbComponent, isStandalone: false, selector: "ecl-breadcrumb", inputs: { isExpanded: ["isExpanded", "isExpanded", booleanAttribute] }, host: { listeners: { "window:resize": "onWindowResize($event)" }, properties: { "attr.role": "this.role", "attr.aria-label": "this.ariaLabel", "class": "this.cssClasses", "attr.data-ecl-auto-initialized": "this.autoInitialized" } }, queries: [{ propertyName: "eclSegments", predicate: i0.forwardRef(() => EclBreadcrumbSegmentComponent) }], viewQueries: [{ propertyName: "eclEllipsisSegment", first: true, predicate: ["ellipsisSegment"], descendants: true }, { propertyName: "breadcrumbContainer", first: true, predicate: ["breadcrumbContainer"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<ol class=\"ecl-breadcrumb__container\" #breadcrumbContainer>\n <ecl-breadcrumb-segment #ellipsisSegment [isHidden]=\"true\" isEllipsis>\n <button\n tabindex=\"0\"\n eclButton\n variant=\"ghost\"\n class=\"ecl-breadcrumb__ellipsis\"\n [attr.aria-label]=\"'ecl.breadcrumb.SHOW-MORE-ITEMS' | translate\"\n (click)=\"onEllipsisSegmentClick($event)\">\n ...\n </button>\n </ecl-breadcrumb-segment>\n <ng-content></ng-content>\n</ol>\n", styles: [":host{display:block}\n"], dependencies: [{ kind: "component", type: i2$1.EclButtonComponent, selector: "button[eclButton], button[ecl-button], a[eclButton]", inputs: ["isIconOnly", "variant", "containerStyleClass"] }, { kind: "component", type: EclBreadcrumbSegmentComponent, selector: "ecl-breadcrumb-segment", inputs: ["routerLink", "queryParams", "href", "queryParamsHandling", "isEllipsis", "isCurrentPage", "isHidden"], outputs: ["segmentClick"] }, { kind: "pipe", type: i1$1.TranslatePipe, name: "translate" }] }); }
207
207
  }
208
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-rc.1", ngImport: i0, type: EclBreadcrumbComponent, decorators: [{
208
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: EclBreadcrumbComponent, decorators: [{
209
209
  type: Component,
210
210
  args: [{ selector: 'ecl-breadcrumb', standalone: false, template: "<ol class=\"ecl-breadcrumb__container\" #breadcrumbContainer>\n <ecl-breadcrumb-segment #ellipsisSegment [isHidden]=\"true\" isEllipsis>\n <button\n tabindex=\"0\"\n eclButton\n variant=\"ghost\"\n class=\"ecl-breadcrumb__ellipsis\"\n [attr.aria-label]=\"'ecl.breadcrumb.SHOW-MORE-ITEMS' | translate\"\n (click)=\"onEllipsisSegmentClick($event)\">\n ...\n </button>\n </ecl-breadcrumb-segment>\n <ng-content></ng-content>\n</ol>\n", styles: [":host{display:block}\n"] }]
211
211
  }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1$1.TranslateService }, { type: i0.Renderer2 }], propDecorators: { isExpanded: [{
@@ -239,11 +239,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-rc.1", ng
239
239
 
240
240
  const COMPONENTS = [EclBreadcrumbComponent, EclBreadcrumbSegmentComponent];
241
241
  class EclBreadcrumbComponentModule {
242
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-rc.1", ngImport: i0, type: EclBreadcrumbComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
243
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.0-rc.1", ngImport: i0, type: EclBreadcrumbComponentModule, declarations: [EclBreadcrumbComponent, EclBreadcrumbSegmentComponent], imports: [CommonModule, RouterModule, TranslateModule, EclButtonComponentModule, EclLinkDirectiveModule, EclIconComponentModule], exports: [EclBreadcrumbComponent, EclBreadcrumbSegmentComponent] }); }
244
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.0-rc.1", ngImport: i0, type: EclBreadcrumbComponentModule, imports: [CommonModule, RouterModule, TranslateModule, EclButtonComponentModule, EclLinkDirectiveModule, EclIconComponentModule] }); }
242
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: EclBreadcrumbComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
243
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.0", ngImport: i0, type: EclBreadcrumbComponentModule, declarations: [EclBreadcrumbComponent, EclBreadcrumbSegmentComponent], imports: [CommonModule, RouterModule, TranslateModule, EclButtonComponentModule, EclLinkDirectiveModule, EclIconComponentModule], exports: [EclBreadcrumbComponent, EclBreadcrumbSegmentComponent] }); }
244
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: EclBreadcrumbComponentModule, imports: [CommonModule, RouterModule, TranslateModule, EclButtonComponentModule, EclLinkDirectiveModule, EclIconComponentModule] }); }
245
245
  }
246
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-rc.1", ngImport: i0, type: EclBreadcrumbComponentModule, decorators: [{
246
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: EclBreadcrumbComponentModule, decorators: [{
247
247
  type: NgModule,
248
248
  args: [{
249
249
  imports: [CommonModule, RouterModule, TranslateModule, EclButtonComponentModule, EclLinkDirectiveModule, EclIconComponentModule],
@@ -1 +1 @@
1
- {"version":3,"file":"eui-ecl-components-ecl-breadcrumb.mjs","sources":["../../components/ecl-breadcrumb/events/ecl-breadcrumb-segment-click.event.ts","../../components/ecl-breadcrumb/ecl-breadcrumb-segment.component.ts","../../components/ecl-breadcrumb/ecl-breadcrumb-segment.component.html","../../components/ecl-breadcrumb/ecl-breadcrumb.component.ts","../../components/ecl-breadcrumb/ecl-breadcrumb.component.html","../../components/ecl-breadcrumb/ecl-breadcrumb.module.ts","../../components/ecl-breadcrumb/eui-ecl-components-ecl-breadcrumb.ts"],"sourcesContent":["import { EclBaseEvent } from '@eui/ecl/core';\n\nexport class EclBreadcrumbSegmentClickEvent extends EclBaseEvent {}","import { Component, ElementRef, EventEmitter, HostBinding, Input, Output, Renderer2, ViewEncapsulation, booleanAttribute } from '@angular/core';\nimport { Params, QueryParamsHandling } from '@angular/router';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclBreadcrumbSegmentClickEvent } from './events/ecl-breadcrumb-segment-click.event';\n\n@Component({\n selector: 'ecl-breadcrumb-segment',\n templateUrl: './ecl-breadcrumb-segment.component.html',\n standalone: false,\n encapsulation: ViewEncapsulation.None,\n})\nexport class EclBreadcrumbSegmentComponent extends ECLBaseDirective {\n @HostBinding('attr.tabindex') tabIndex = '-1';\n @HostBinding('attr.role') role = 'listitem';\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n @Input() routerLink: string | any[] = null;\n @Input() queryParams: Params | null = null;\n @Input() href = '';\n @Input() queryParamsHandling: QueryParamsHandling = null;\n @Input({ transform: booleanAttribute }) isEllipsis = false;\n @Input({ transform: booleanAttribute }) isCurrentPage = false;\n @Input({ transform: booleanAttribute })\n @HostBinding('attr.aria-hidden')\n isHidden = false;\n\n @Output() segmentClick = new EventEmitter<EclBreadcrumbSegmentClickEvent>();\n\n constructor(public el: ElementRef, private renderer2: Renderer2) {\n super();\n }\n\n @HostBinding('class')\n get cssClasses(): string {\n return [\n super.getCssClasses('ecl-breadcrumb__segment'),\n this.isCurrentPage ? 'ecl-breadcrumb__current-page' : '',\n this.isEllipsis ? 'ecl-breadcrumb__segment--ellipsis' : '',\n ].join(' ').trim();\n }\n\n onSegmentClick(evt: MouseEvent): void {\n this.segmentClick.next(new EclBreadcrumbSegmentClickEvent());\n if (!this.href) {\n evt.stopPropagation();\n }\n }\n}\n","@if (!isEllipsis) {\n@if (!isCurrentPage && href) {\n<a eclLink variant=\"standalone\" [isNoVisited]=\"true\" [href]=\"href\" tabindex=\"0\" (click)=\"onSegmentClick($event)\"\n class=\"ecl-breadcrumb__link\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n</a>\n}\n@if (!isCurrentPage && !href) {\n<a eclLink [routerLink]=\"routerLink\" [queryParams]=\"queryParams\" [queryParamsHandling]=\"queryParamsHandling\"\n variant=\"standalone\" [isNoVisited]=\"true\" tabindex=\"0\" (click)=\"onSegmentClick($event)\"\n class=\"ecl-breadcrumb__link\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n</a>\n}\n} @else {\n<ng-container *ngTemplateOutlet=\"content\"></ng-container>\n}\n\n@if (isCurrentPage) {\n<ng-container *ngTemplateOutlet=\"content\"></ng-container>\n} @else {\n<ecl-icon role=\"presentation\" icon=\"corner-arrow\" ariaHidden=\"true\" focusable=\"false\" size=\"fluid\"\n class=\"ecl-breadcrumb__icon\">\n</ecl-icon>\n}\n<ng-template #content>\n <ng-content></ng-content>\n</ng-template>","import {\n Component,\n ContentChildren,\n ElementRef,\n HostBinding,\n Input,\n OnDestroy,\n OnInit,\n QueryList,\n Renderer2,\n ViewChild,\n booleanAttribute,\n forwardRef,\n HostListener,\n afterNextRender,\n} from '@angular/core';\nimport { TranslateService } from '@ngx-translate/core';\nimport { Subject, takeUntil } from 'rxjs';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclBreadcrumbSegmentComponent } from './ecl-breadcrumb-segment.component';\n\n@Component({\n selector: 'ecl-breadcrumb',\n templateUrl: './ecl-breadcrumb.component.html',\n standalone: false,\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n})\nexport class EclBreadcrumbComponent extends ECLBaseDirective implements OnInit, OnDestroy {\n\n @Input({ transform: booleanAttribute }) isExpanded = false;\n @HostBinding('attr.role') role = 'navigation';\n @HostBinding('attr.aria-label') ariaLabel;\n\n @ViewChild('ellipsisSegment') eclEllipsisSegment: EclBreadcrumbSegmentComponent;\n @ViewChild('breadcrumbContainer') breadcrumbContainer: ElementRef;\n\n @ContentChildren(forwardRef(() => EclBreadcrumbSegmentComponent))\n eclSegments: QueryList<EclBreadcrumbSegmentComponent>;\n\n private destroy$: Subject<boolean> = new Subject<boolean>();\n private nonStaticSegments: EclBreadcrumbSegmentComponent[] = [];\n\n constructor(\n private el: ElementRef,\n private translate: TranslateService,\n private renderer: Renderer2,\n ) {\n super();\n afterNextRender(() => {\n this.init();\n this.handleOverflownSegments();\n });\n }\n\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-breadcrumb'),\n this.isExpanded ? 'ecl-breadcrumb--wrap' : 'ecl-breadcrumb--collapsed'].join(' ').trim();\n }\n\n @HostBinding('attr.data-ecl-auto-initialized')\n get autoInitialized(): boolean | null {\n return this.isExpanded || null;\n }\n\n ngOnInit(): void {\n this.translate\n .stream('ecl.breadcrumb.YOU-ARE-HERE')\n .pipe(takeUntil(this.destroy$))\n .subscribe((text) => {\n this.ariaLabel = text;\n });\n }\n\n ngOnDestroy(): void {\n this.destroy$.next(true);\n this.destroy$.unsubscribe();\n }\n\n @HostListener('window:resize', ['$event'])\n onWindowResize(): void {\n this.handleOverflownSegments();\n }\n\n onEllipsisSegmentClick(evt: MouseEvent): void {\n this.eclSegments.forEach((segment) => {\n segment.isHidden = false;\n });\n this.hideEllipsis();\n this.isExpanded = true;\n }\n\n private init(): void {\n setTimeout(() => {\n this.insertEllipsisSegmentIntoPosition();\n this.handleStaticAndNonStaticSegments();\n });\n }\n\n private insertEllipsisSegmentIntoPosition(): void {\n if (this.hasEnoughSegments()) {\n const secondEclSegmentEl: HTMLElement = this.eclSegments.get(1).el.nativeElement;\n const ellipsisSegmentEl: HTMLElement = this.eclEllipsisSegment.el.nativeElement;\n this.renderer.insertBefore(this.breadcrumbContainer.nativeElement, ellipsisSegmentEl, secondEclSegmentEl);\n }\n }\n\n private handleOverflownSegments(): void {\n if (this.hasEnoughSegments()) {\n setTimeout(() => {\n if (this.isBreadcrumbOverflowed()) {\n this.hideNonStaticSegments();\n this.showEllipsis();\n this.collapse();\n } else {\n this.hideEllipsis();\n this.showNonStaticSegments()\n this.expand();\n }\n });\n }\n }\n\n private hideNonStaticSegments(): void {\n this.nonStaticSegments.forEach((segment) => {\n segment.isHidden = true;\n });\n }\n\n private showNonStaticSegments(): void {\n this.nonStaticSegments.forEach((segment) => {\n segment.isHidden = false;\n });\n }\n\n private collapse(): void {\n this.isExpanded = false;\n }\n\n private expand(): void {\n this.isExpanded = true;\n }\n\n private hideEllipsis(): void {\n this.eclEllipsisSegment.isHidden = true;\n }\n\n private showEllipsis(): void {\n this.eclEllipsisSegment.isHidden = false;\n }\n\n private hasEnoughSegments(): boolean {\n return this.eclSegments && this.eclSegments.length > 3;\n }\n\n private handleStaticAndNonStaticSegments(): void {\n if (this.hasEnoughSegments()) {\n this.nonStaticSegments = this.eclSegments.toArray().slice(1, this.eclSegments.length - 2);\n }\n }\n\n private isBreadcrumbOverflowed(): boolean {\n const breadcrumbTotalWidth = this.getBreadcrumbTotalWidth();\n const segmentsTotalWidth = this.getSegmentsTotalWidth();\n const marginOfError = 1.1;\n\n return segmentsTotalWidth * marginOfError >= breadcrumbTotalWidth;\n }\n\n private getBreadcrumbTotalWidth(): number {\n return this.el.nativeElement.offsetWidth;\n }\n\n private getSegmentsTotalWidth(): number {\n return this.eclSegments.reduce((width: number, segmentComponent) => width + segmentComponent.el.nativeElement.offsetWidth, 0);\n }\n}\n","<ol class=\"ecl-breadcrumb__container\" #breadcrumbContainer>\n <ecl-breadcrumb-segment #ellipsisSegment [isHidden]=\"true\" isEllipsis>\n <button\n tabindex=\"0\"\n eclButton\n variant=\"ghost\"\n class=\"ecl-breadcrumb__ellipsis\"\n [attr.aria-label]=\"'ecl.breadcrumb.SHOW-MORE-ITEMS' | translate\"\n (click)=\"onEllipsisSegmentClick($event)\">\n ...\n </button>\n </ecl-breadcrumb-segment>\n <ng-content></ng-content>\n</ol>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { RouterModule } from '@angular/router';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { EclLinkDirectiveModule } from '@eui/ecl/components/ecl-link';\nimport { EclIconComponentModule } from '@eui/ecl/components/ecl-icon';\nimport { EclButtonComponentModule } from '@eui/ecl/components/ecl-button';\nimport { EclBreadcrumbComponent } from './ecl-breadcrumb.component';\nimport { EclBreadcrumbSegmentComponent } from './ecl-breadcrumb-segment.component';\n\nconst COMPONENTS = [EclBreadcrumbComponent, EclBreadcrumbSegmentComponent];\n@NgModule({\n imports: [CommonModule, RouterModule, TranslateModule, EclButtonComponentModule, EclLinkDirectiveModule, EclIconComponentModule],\n exports: [...COMPONENTS],\n declarations: [...COMPONENTS],\n})\nexport class EclBreadcrumbComponentModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1","i2","i3.EclBreadcrumbSegmentComponent"],"mappings":";;;;;;;;;;;;;;;;;AAEM,MAAO,8BAA+B,SAAQ,YAAY,CAAA;AAAG;;ACS7D,MAAO,6BAA8B,SAAQ,gBAAgB,CAAA;IAiB/D,WAAmB,CAAA,EAAc,EAAU,SAAoB,EAAA;AAC3D,QAAA,KAAK,EAAE;QADQ,IAAE,CAAA,EAAA,GAAF,EAAE;QAAsB,IAAS,CAAA,SAAA,GAAT,SAAS;QAhBtB,IAAQ,CAAA,QAAA,GAAG,IAAI;QACnB,IAAI,CAAA,IAAA,GAAG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oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AACxB,oBAAA,YAAY,EAAE,CAAC,GAAG,UAAU,CAAC;AAChC,iBAAA;;;ACfD;;AAEG;;;;"}
1
+ {"version":3,"file":"eui-ecl-components-ecl-breadcrumb.mjs","sources":["../../components/ecl-breadcrumb/events/ecl-breadcrumb-segment-click.event.ts","../../components/ecl-breadcrumb/ecl-breadcrumb-segment.component.ts","../../components/ecl-breadcrumb/ecl-breadcrumb-segment.component.html","../../components/ecl-breadcrumb/ecl-breadcrumb.component.ts","../../components/ecl-breadcrumb/ecl-breadcrumb.component.html","../../components/ecl-breadcrumb/ecl-breadcrumb.module.ts","../../components/ecl-breadcrumb/eui-ecl-components-ecl-breadcrumb.ts"],"sourcesContent":["import { EclBaseEvent } from '@eui/ecl/core';\n\nexport class EclBreadcrumbSegmentClickEvent extends EclBaseEvent {}","import { Component, ElementRef, EventEmitter, HostBinding, Input, Output, Renderer2, ViewEncapsulation, booleanAttribute } from '@angular/core';\nimport { Params, QueryParamsHandling } from '@angular/router';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclBreadcrumbSegmentClickEvent } from './events/ecl-breadcrumb-segment-click.event';\n\n@Component({\n selector: 'ecl-breadcrumb-segment',\n templateUrl: './ecl-breadcrumb-segment.component.html',\n standalone: false,\n encapsulation: ViewEncapsulation.None,\n})\nexport class EclBreadcrumbSegmentComponent extends ECLBaseDirective {\n @HostBinding('attr.tabindex') tabIndex = '-1';\n @HostBinding('attr.role') role = 'listitem';\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n @Input() routerLink: string | any[] = null;\n @Input() queryParams: Params | null = null;\n @Input() href = '';\n @Input() queryParamsHandling: QueryParamsHandling = null;\n @Input({ transform: booleanAttribute }) isEllipsis = false;\n @Input({ transform: booleanAttribute }) isCurrentPage = false;\n @Input({ transform: booleanAttribute })\n @HostBinding('attr.aria-hidden')\n isHidden = false;\n\n @Output() segmentClick = new EventEmitter<EclBreadcrumbSegmentClickEvent>();\n\n constructor(public el: ElementRef, private renderer2: Renderer2) {\n super();\n }\n\n @HostBinding('class')\n get cssClasses(): string {\n return [\n super.getCssClasses('ecl-breadcrumb__segment'),\n this.isCurrentPage ? 'ecl-breadcrumb__current-page' : '',\n this.isEllipsis ? 'ecl-breadcrumb__segment--ellipsis' : '',\n ].join(' ').trim();\n }\n\n onSegmentClick(evt: MouseEvent): void {\n this.segmentClick.next(new EclBreadcrumbSegmentClickEvent());\n if (!this.href) {\n evt.stopPropagation();\n }\n }\n}\n","@if (!isEllipsis) {\n@if (!isCurrentPage && href) {\n<a eclLink variant=\"standalone\" [isNoVisited]=\"true\" [href]=\"href\" tabindex=\"0\" (click)=\"onSegmentClick($event)\"\n class=\"ecl-breadcrumb__link\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n</a>\n}\n@if (!isCurrentPage && !href) {\n<a eclLink [routerLink]=\"routerLink\" [queryParams]=\"queryParams\" [queryParamsHandling]=\"queryParamsHandling\"\n variant=\"standalone\" [isNoVisited]=\"true\" tabindex=\"0\" (click)=\"onSegmentClick($event)\"\n class=\"ecl-breadcrumb__link\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n</a>\n}\n} @else {\n<ng-container *ngTemplateOutlet=\"content\"></ng-container>\n}\n\n@if (isCurrentPage) {\n<ng-container *ngTemplateOutlet=\"content\"></ng-container>\n} @else {\n<ecl-icon role=\"presentation\" icon=\"corner-arrow\" ariaHidden=\"true\" focusable=\"false\" size=\"fluid\"\n class=\"ecl-breadcrumb__icon\">\n</ecl-icon>\n}\n<ng-template #content>\n <ng-content></ng-content>\n</ng-template>","import {\n Component,\n ContentChildren,\n ElementRef,\n HostBinding,\n Input,\n OnDestroy,\n OnInit,\n QueryList,\n Renderer2,\n ViewChild,\n booleanAttribute,\n forwardRef,\n HostListener,\n afterNextRender,\n} from '@angular/core';\nimport { TranslateService } from '@ngx-translate/core';\nimport { Subject, takeUntil } from 'rxjs';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclBreadcrumbSegmentComponent } from './ecl-breadcrumb-segment.component';\n\n@Component({\n selector: 'ecl-breadcrumb',\n templateUrl: './ecl-breadcrumb.component.html',\n standalone: false,\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n})\nexport class EclBreadcrumbComponent extends ECLBaseDirective implements OnInit, OnDestroy {\n\n @Input({ transform: booleanAttribute }) isExpanded = false;\n @HostBinding('attr.role') role = 'navigation';\n @HostBinding('attr.aria-label') ariaLabel;\n\n @ViewChild('ellipsisSegment') eclEllipsisSegment: EclBreadcrumbSegmentComponent;\n @ViewChild('breadcrumbContainer') breadcrumbContainer: ElementRef;\n\n @ContentChildren(forwardRef(() => EclBreadcrumbSegmentComponent))\n eclSegments: QueryList<EclBreadcrumbSegmentComponent>;\n\n private destroy$: Subject<boolean> = new Subject<boolean>();\n private nonStaticSegments: EclBreadcrumbSegmentComponent[] = [];\n\n constructor(\n private el: ElementRef,\n private translate: TranslateService,\n private renderer: Renderer2,\n ) {\n super();\n afterNextRender(() => {\n this.init();\n this.handleOverflownSegments();\n });\n }\n\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-breadcrumb'),\n this.isExpanded ? 'ecl-breadcrumb--wrap' : 'ecl-breadcrumb--collapsed'].join(' ').trim();\n }\n\n @HostBinding('attr.data-ecl-auto-initialized')\n get autoInitialized(): boolean | null {\n return this.isExpanded || null;\n }\n\n ngOnInit(): void {\n this.translate\n .stream('ecl.breadcrumb.YOU-ARE-HERE')\n .pipe(takeUntil(this.destroy$))\n .subscribe((text) => {\n this.ariaLabel = text;\n });\n }\n\n ngOnDestroy(): void {\n this.destroy$.next(true);\n this.destroy$.unsubscribe();\n }\n\n @HostListener('window:resize', ['$event'])\n onWindowResize(): void {\n this.handleOverflownSegments();\n }\n\n onEllipsisSegmentClick(evt: MouseEvent): void {\n this.eclSegments.forEach((segment) => {\n segment.isHidden = false;\n });\n this.hideEllipsis();\n this.isExpanded = true;\n }\n\n private init(): void {\n setTimeout(() => {\n this.insertEllipsisSegmentIntoPosition();\n this.handleStaticAndNonStaticSegments();\n });\n }\n\n private insertEllipsisSegmentIntoPosition(): void {\n if (this.hasEnoughSegments()) {\n const secondEclSegmentEl: HTMLElement = this.eclSegments.get(1).el.nativeElement;\n const ellipsisSegmentEl: HTMLElement = this.eclEllipsisSegment.el.nativeElement;\n this.renderer.insertBefore(this.breadcrumbContainer.nativeElement, ellipsisSegmentEl, secondEclSegmentEl);\n }\n }\n\n private handleOverflownSegments(): void {\n if (this.hasEnoughSegments()) {\n setTimeout(() => {\n if (this.isBreadcrumbOverflowed()) {\n this.hideNonStaticSegments();\n this.showEllipsis();\n this.collapse();\n } else {\n this.hideEllipsis();\n this.showNonStaticSegments()\n this.expand();\n }\n });\n }\n }\n\n private hideNonStaticSegments(): void {\n this.nonStaticSegments.forEach((segment) => {\n segment.isHidden = true;\n });\n }\n\n private showNonStaticSegments(): void {\n this.nonStaticSegments.forEach((segment) => {\n segment.isHidden = false;\n });\n }\n\n private collapse(): void {\n this.isExpanded = false;\n }\n\n private expand(): void {\n this.isExpanded = true;\n }\n\n private hideEllipsis(): void {\n this.eclEllipsisSegment.isHidden = true;\n }\n\n private showEllipsis(): void {\n this.eclEllipsisSegment.isHidden = false;\n }\n\n private hasEnoughSegments(): boolean {\n return this.eclSegments && this.eclSegments.length > 3;\n }\n\n private handleStaticAndNonStaticSegments(): void {\n if (this.hasEnoughSegments()) {\n this.nonStaticSegments = this.eclSegments.toArray().slice(1, this.eclSegments.length - 2);\n }\n }\n\n private isBreadcrumbOverflowed(): boolean {\n const breadcrumbTotalWidth = this.getBreadcrumbTotalWidth();\n const segmentsTotalWidth = this.getSegmentsTotalWidth();\n const marginOfError = 1.1;\n\n return segmentsTotalWidth * marginOfError >= breadcrumbTotalWidth;\n }\n\n private getBreadcrumbTotalWidth(): number {\n return this.el.nativeElement.offsetWidth;\n }\n\n private getSegmentsTotalWidth(): number {\n return this.eclSegments.reduce((width: number, segmentComponent) => width + segmentComponent.el.nativeElement.offsetWidth, 0);\n }\n}\n","<ol class=\"ecl-breadcrumb__container\" #breadcrumbContainer>\n <ecl-breadcrumb-segment #ellipsisSegment [isHidden]=\"true\" isEllipsis>\n <button\n tabindex=\"0\"\n eclButton\n variant=\"ghost\"\n class=\"ecl-breadcrumb__ellipsis\"\n [attr.aria-label]=\"'ecl.breadcrumb.SHOW-MORE-ITEMS' | translate\"\n (click)=\"onEllipsisSegmentClick($event)\">\n ...\n </button>\n </ecl-breadcrumb-segment>\n <ng-content></ng-content>\n</ol>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { RouterModule } from '@angular/router';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { EclLinkDirectiveModule } from '@eui/ecl/components/ecl-link';\nimport { EclIconComponentModule } from '@eui/ecl/components/ecl-icon';\nimport { EclButtonComponentModule } from '@eui/ecl/components/ecl-button';\nimport { EclBreadcrumbComponent } from './ecl-breadcrumb.component';\nimport { EclBreadcrumbSegmentComponent } from './ecl-breadcrumb-segment.component';\n\nconst COMPONENTS = [EclBreadcrumbComponent, EclBreadcrumbSegmentComponent];\n@NgModule({\n imports: [CommonModule, RouterModule, TranslateModule, EclButtonComponentModule, EclLinkDirectiveModule, EclIconComponentModule],\n exports: [...COMPONENTS],\n declarations: [...COMPONENTS],\n})\nexport class EclBreadcrumbComponentModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1","i2","i3.EclBreadcrumbSegmentComponent"],"mappings":";;;;;;;;;;;;;;;;;AAEM,MAAO,8BAA+B,SAAQ,YAAY,CAAA;AAAG;;ACS7D,MAAO,6BAA8B,SAAQ,gBAAgB,CAAA;IAiB/D,WAAmB,CAAA,EAAc,EAAU,SAAoB,EAAA;AAC3D,QAAA,KAAK,EAAE;QADQ,IAAE,CAAA,EAAA,GAAF,EAAE;QAAsB,IAAS,CAAA,SAAA,GAAT,SAAS;QAhBtB,IAAQ,CAAA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BAAwB,EAAG,sBAAsB,EAAE,sBAAsB,CAAC;AACjI,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AACxB,oBAAA,YAAY,EAAE,CAAC,GAAG,UAAU,CAAC;AAChC,iBAAA;;;ACfD;;AAEG;;;;"}
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { booleanAttribute, HostBinding, forwardRef, ContentChildren, Input, Component, Directive, NgModule } from '@angular/core';
2
+ import { booleanAttribute, Component, Input, ContentChildren, forwardRef, HostBinding, Directive, NgModule } from '@angular/core';
3
3
  import * as i1 from '@angular/common';
4
4
  import { CommonModule } from '@angular/common';
5
5
  import { EclIconComponent, EclIconComponentModule } from '@eui/ecl/components/ecl-icon';
@@ -31,10 +31,10 @@ class EclButtonComponent extends ECLBaseDirective {
31
31
  onFocus() {
32
32
  this.el.nativeElement.focus();
33
33
  }
34
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-rc.1", ngImport: i0, type: EclButtonComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
35
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.0-rc.1", type: EclButtonComponent, isStandalone: false, selector: "button[eclButton], button[ecl-button], a[eclButton]", inputs: { isIconOnly: ["isIconOnly", "isIconOnly", booleanAttribute], variant: "variant", containerStyleClass: "containerStyleClass" }, host: { properties: { "class": "this.cssClasses" } }, queries: [{ propertyName: "iconComponents", predicate: i0.forwardRef(() => EclIconComponent) }], usesInheritance: true, ngImport: i0, template: "@if (hasIcon) {\n <span class=\"ecl-button__container {{ containerStyleClass }}\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n</span>\n}\n@else {\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n}\n<ng-template #content>\n <ng-content></ng-content>\n</ng-template>\n", dependencies: [{ kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
34
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: EclButtonComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
35
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.0", type: EclButtonComponent, isStandalone: false, selector: "button[eclButton], button[ecl-button], a[eclButton]", inputs: { isIconOnly: ["isIconOnly", "isIconOnly", booleanAttribute], variant: "variant", containerStyleClass: "containerStyleClass" }, host: { properties: { "class": "this.cssClasses" } }, queries: [{ propertyName: "iconComponents", predicate: i0.forwardRef(() => EclIconComponent) }], usesInheritance: true, ngImport: i0, template: "@if (hasIcon) {\n <span class=\"ecl-button__container {{ containerStyleClass }}\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n</span>\n}\n@else {\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n}\n<ng-template #content>\n <ng-content></ng-content>\n</ng-template>\n", dependencies: [{ kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
36
36
  }
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-rc.1", ngImport: i0, type: EclButtonComponent, decorators: [{
37
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: EclButtonComponent, decorators: [{
38
38
  type: Component,
39
39
  args: [{ selector: 'button[eclButton], button[ecl-button], a[eclButton]', standalone: false, template: "@if (hasIcon) {\n <span class=\"ecl-button__container {{ containerStyleClass }}\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n</span>\n}\n@else {\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n}\n<ng-template #content>\n <ng-content></ng-content>\n</ng-template>\n" }]
40
40
  }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { isIconOnly: [{
@@ -56,10 +56,10 @@ class EclButtonLabelDirective extends ECLBaseDirective {
56
56
  get cssClasses() {
57
57
  return [super.getCssClasses('ecl-button__label')].join(' ').trim();
58
58
  }
59
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-rc.1", ngImport: i0, type: EclButtonLabelDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
60
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-rc.1", type: EclButtonLabelDirective, isStandalone: false, selector: "[eclButtonLabel]", host: { properties: { "class": "this.cssClasses" } }, usesInheritance: true, ngImport: i0 }); }
59
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: EclButtonLabelDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
60
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0", type: EclButtonLabelDirective, isStandalone: false, selector: "[eclButtonLabel]", host: { properties: { "class": "this.cssClasses" } }, usesInheritance: true, ngImport: i0 }); }
61
61
  }
62
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-rc.1", ngImport: i0, type: EclButtonLabelDirective, decorators: [{
62
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: EclButtonLabelDirective, decorators: [{
63
63
  type: Directive,
64
64
  args: [{
65
65
  selector: '[eclButtonLabel]',
@@ -71,11 +71,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-rc.1", ng
71
71
  }] } });
72
72
 
73
73
  class EclButtonComponentModule {
74
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-rc.1", ngImport: i0, type: EclButtonComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
75
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.0-rc.1", ngImport: i0, type: EclButtonComponentModule, declarations: [EclButtonComponent, EclButtonLabelDirective], imports: [CommonModule, EclIconComponentModule], exports: [EclButtonComponent, EclButtonLabelDirective] }); }
76
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.0-rc.1", ngImport: i0, type: EclButtonComponentModule, imports: [CommonModule, EclIconComponentModule] }); }
74
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: EclButtonComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
75
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.0", ngImport: i0, type: EclButtonComponentModule, declarations: [EclButtonComponent, EclButtonLabelDirective], imports: [CommonModule, EclIconComponentModule], exports: [EclButtonComponent, EclButtonLabelDirective] }); }
76
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: EclButtonComponentModule, imports: [CommonModule, EclIconComponentModule] }); }
77
77
  }
78
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-rc.1", ngImport: i0, type: EclButtonComponentModule, decorators: [{
78
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: EclButtonComponentModule, decorators: [{
79
79
  type: NgModule,
80
80
  args: [{
81
81
  imports: [CommonModule, EclIconComponentModule],
@@ -1 +1 @@
1
- {"version":3,"file":"eui-ecl-components-ecl-button.mjs","sources":["../../components/ecl-button/ecl-button.component.ts","../../components/ecl-button/ecl-button.component.html","../../components/ecl-button/ecl-button-label.directive.ts","../../components/ecl-button/ecl-button.module.ts","../../components/ecl-button/eui-ecl-components-ecl-button.ts"],"sourcesContent":["import { booleanAttribute, Component, ContentChildren, ElementRef, forwardRef, HostBinding, Input, QueryList,\n AfterViewInit } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclIconComponent } from '@eui/ecl/components/ecl-icon';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'button[eclButton], button[ecl-button], a[eclButton]',\n templateUrl: './ecl-button.component.html',\n standalone: false,\n})\nexport class EclButtonComponent extends ECLBaseDirective implements AfterViewInit {\n\n @Input({ transform: booleanAttribute }) isIconOnly = false;\n @Input() variant: 'primary' | 'secondary' | 'tertiary' | 'cta' | 'ghost' | 'ghost-inverted' = 'primary';\n @Input() containerStyleClass: string;\n\n @ContentChildren(forwardRef(() => EclIconComponent)) iconComponents: QueryList<EclIconComponent>;\n\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-button'), `ecl-button--${this.variant}`,\n this.isIconOnly ? 'ecl-button--icon-only' : ''].join(' ').trim();\n }\n\n get hasIcon(): boolean {\n return this.iconComponents.length > 0;\n }\n\n constructor(public el: ElementRef) {\n super();\n }\n\n ngAfterViewInit(): void {\n if (this.iconComponents) {\n setTimeout(() => {\n this.iconComponents.forEach((icn) => {\n icn.baseDirective.class = 'ecl-button__icon';\n });\n });\n }\n }\n\n onFocus(): void {\n this.el.nativeElement.focus();\n }\n}\n","@if (hasIcon) {\n <span class=\"ecl-button__container {{ containerStyleClass }}\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n</span>\n}\n@else {\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n}\n<ng-template #content>\n <ng-content></ng-content>\n</ng-template>\n","import { Directive, HostBinding } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n@Directive({\n selector: '[eclButtonLabel]',\n standalone: false,\n})\nexport class EclButtonLabelDirective extends ECLBaseDirective {\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-button__label')].join(' ').trim();\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { EclIconComponentModule } from '@eui/ecl/components/ecl-icon';\nimport { EclButtonComponent } from './ecl-button.component';\nimport { EclButtonLabelDirective } from './ecl-button-label.directive';\n\n@NgModule({\n imports: [CommonModule, EclIconComponentModule],\n exports: [EclButtonComponent, EclButtonLabelDirective],\n declarations: [EclButtonComponent, EclButtonLabelDirective],\n})\nexport class EclButtonComponentModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAWM,MAAO,kBAAmB,SAAQ,gBAAgB,CAAA;AAQpD,IAAA,IACI,UAAU,GAAA;AACV,QAAA,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,YAAY,CAAC,EAAE,CAAe,YAAA,EAAA,IAAI,CAAC,OAAO,CAAE,CAAA;AACpE,YAAA,IAAI,CAAC,UAAU,GAAG,uBAAuB,GAAG,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE;;AAGxE,IAAA,IAAI,OAAO,GAAA;AACP,QAAA,OAAO,IAAI,CAAC,cAAc,CAAC,MAAM,GAAG,CAAC;;AAGzC,IAAA,WAAA,CAAmB,EAAc,EAAA;AAC7B,QAAA,KAAK,EAAE;QADQ,IAAE,CAAA,EAAA,GAAF,EAAE;QAhBmB,IAAU,CAAA,UAAA,GAAG,KAAK;QACjD,IAAO,CAAA,OAAA,GAA8E,SAAS;;IAmBvG,eAAe,GAAA;AACX,QAAA,IAAI,IAAI,CAAC,cAAc,EAAE;YACrB,UAAU,CAAC,MAAK;gBACZ,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,GAAG,KAAI;AAChC,oBAAA,GAAG,CAAC,aAAa,CAAC,KAAK,GAAG,kBAAkB;AAChD,iBAAC,CAAC;AACN,aAAC,CAAC;;;IAIV,OAAO,GAAA;AACH,QAAA,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,KAAK,EAAE;;mHAjCxB,kBAAkB,EAAA,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C,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBALpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,sBAAsB,CAAC;AAC/C,oBAAA,OAAO,EAAE,CAAC,kBAAkB,EAAE,uBAAuB,CAAC;AACtD,oBAAA,YAAY,EAAE,CAAC,kBAAkB,EAAE,uBAAuB,CAAC;AAC9D,iBAAA;;;ACVD;;AAEG;;;;"}
1
+ {"version":3,"file":"eui-ecl-components-ecl-button.mjs","sources":["../../components/ecl-button/ecl-button.component.ts","../../components/ecl-button/ecl-button.component.html","../../components/ecl-button/ecl-button-label.directive.ts","../../components/ecl-button/ecl-button.module.ts","../../components/ecl-button/eui-ecl-components-ecl-button.ts"],"sourcesContent":["import { booleanAttribute, Component, ContentChildren, ElementRef, forwardRef, HostBinding, Input, QueryList,\n AfterViewInit } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclIconComponent } from '@eui/ecl/components/ecl-icon';\n\n@Component({\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'button[eclButton], button[ecl-button], a[eclButton]',\n templateUrl: './ecl-button.component.html',\n standalone: false,\n})\nexport class EclButtonComponent extends ECLBaseDirective implements AfterViewInit {\n\n @Input({ transform: booleanAttribute }) isIconOnly = false;\n @Input() variant: 'primary' | 'secondary' | 'tertiary' | 'cta' | 'ghost' | 'ghost-inverted' = 'primary';\n @Input() containerStyleClass: string;\n\n @ContentChildren(forwardRef(() => EclIconComponent)) iconComponents: QueryList<EclIconComponent>;\n\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-button'), `ecl-button--${this.variant}`,\n this.isIconOnly ? 'ecl-button--icon-only' : ''].join(' ').trim();\n }\n\n get hasIcon(): boolean {\n return this.iconComponents.length > 0;\n }\n\n constructor(public el: ElementRef) {\n super();\n }\n\n ngAfterViewInit(): void {\n if (this.iconComponents) {\n setTimeout(() => {\n this.iconComponents.forEach((icn) => {\n icn.baseDirective.class = 'ecl-button__icon';\n });\n });\n }\n }\n\n onFocus(): void {\n this.el.nativeElement.focus();\n }\n}\n","@if (hasIcon) {\n <span class=\"ecl-button__container {{ containerStyleClass }}\">\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n</span>\n}\n@else {\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n}\n<ng-template #content>\n <ng-content></ng-content>\n</ng-template>\n","import { Directive, HostBinding } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n@Directive({\n selector: '[eclButtonLabel]',\n standalone: false,\n})\nexport class EclButtonLabelDirective extends ECLBaseDirective {\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-button__label')].join(' ').trim();\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { EclIconComponentModule } from '@eui/ecl/components/ecl-icon';\nimport { EclButtonComponent } from './ecl-button.component';\nimport { EclButtonLabelDirective } from './ecl-button-label.directive';\n\n@NgModule({\n imports: [CommonModule, EclIconComponentModule],\n exports: [EclButtonComponent, EclButtonLabelDirective],\n declarations: [EclButtonComponent, EclButtonLabelDirective],\n})\nexport class EclButtonComponentModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAWM,MAAO,kBAAmB,SAAQ,gBAAgB,CAAA;AAQpD,IAAA,IACI,UAAU,GAAA;AACV,QAAA,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,YAAY,CAAC,EAAE,CAAe,YAAA,EAAA,IAAI,CAAC,OAAO,CAAE,CAAA;AACpE,YAAA,IAAI,CAAC,UAAU,GAAG,uBAAuB,GAAG,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE;;AAGxE,IAAA,IAAI,OAAO,GAAA;AACP,QAAA,OAAO,IAAI,CAAC,cAAc,CAAC,MAAM,GAAG,CAAC;;AAGzC,IAAA,WAA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BAAA,UAAU,EAAE,KAAK;AACpB,iBAAA;8BAGO,UAAU,EAAA,CAAA;sBADb,WAAW;uBAAC,OAAO;;;MCGX,wBAAwB,CAAA;8GAAxB,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAAxB,wBAAwB,EAAA,YAAA,EAAA,CAFlB,kBAAkB,EAAE,uBAAuB,CAAA,EAAA,OAAA,EAAA,CAFhD,YAAY,EAAE,sBAAsB,CAAA,EAAA,OAAA,EAAA,CACpC,kBAAkB,EAAE,uBAAuB,CAAA,EAAA,CAAA,CAAA;+GAG5C,wBAAwB,EAAA,OAAA,EAAA,CAJvB,YAAY,EAAE,sBAAsB,CAAA,EAAA,CAAA,CAAA;;2FAIrC,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBALpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,sBAAsB,CAAC;AAC/C,oBAAA,OAAO,EAAE,CAAC,kBAAkB,EAAE,uBAAuB,CAAC;AACtD,oBAAA,YAAY,EAAE,CAAC,kBAAkB,EAAE,uBAAuB,CAAC;AAC9D,iBAAA;;;ACVD;;AAEG;;;;"}
@@ -1,6 +1,6 @@
1
1
  import { CommonModule } from '@angular/common';
2
2
  import * as i0 from '@angular/core';
3
- import { HostBinding, Component, booleanAttribute, Input, Directive, forwardRef, ContentChild, NgModule } from '@angular/core';
3
+ import { Component, HostBinding, booleanAttribute, Directive, Input, ContentChild, forwardRef, NgModule } from '@angular/core';
4
4
  import { RouterModule } from '@angular/router';
5
5
  import { EclIconComponentModule } from '@eui/ecl/components/ecl-icon';
6
6
  import { EclLabelDirectiveModule } from '@eui/ecl/components/ecl-label';
@@ -11,10 +11,10 @@ class EclCardBodyComponent extends ECLBaseDirective {
11
11
  get cssClasses() {
12
12
  return [super.getCssClasses('ecl-card__body')].join(' ').trim();
13
13
  }
14
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-rc.1", ngImport: i0, type: EclCardBodyComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
15
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.0-rc.1", type: EclCardBodyComponent, isStandalone: false, selector: "ecl-card-body", host: { properties: { "class": "this.cssClasses" } }, usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"] }); }
14
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: EclCardBodyComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
15
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.0", type: EclCardBodyComponent, isStandalone: false, selector: "ecl-card-body", host: { properties: { "class": "this.cssClasses" } }, usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"] }); }
16
16
  }
17
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-rc.1", ngImport: i0, type: EclCardBodyComponent, decorators: [{
17
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: EclCardBodyComponent, decorators: [{
18
18
  type: Component,
19
19
  args: [{ selector: 'ecl-card-body', standalone: false, template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"] }]
20
20
  }], propDecorators: { cssClasses: [{
@@ -30,10 +30,10 @@ class EclCardPictureDirective extends ECLBaseDirective {
30
30
  get cssClasses() {
31
31
  return [super.getCssClasses('ecl-picture ecl-card__picture')].join(' ').trim();
32
32
  }
33
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-rc.1", ngImport: i0, type: EclCardPictureDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
34
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.0.0-rc.1", type: EclCardPictureDirective, isStandalone: false, selector: "picture[eclCardPicture]", inputs: { hasZoom: ["hasZoom", "hasZoom", booleanAttribute] }, host: { properties: { "class": "this.cssClasses", "class.ecl-picture--zoom": "this.hasZoom" } }, usesInheritance: true, ngImport: i0 }); }
33
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: EclCardPictureDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
34
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.0.0", type: EclCardPictureDirective, isStandalone: false, selector: "picture[eclCardPicture]", inputs: { hasZoom: ["hasZoom", "hasZoom", booleanAttribute] }, host: { properties: { "class": "this.cssClasses", "class.ecl-picture--zoom": "this.hasZoom" } }, usesInheritance: true, ngImport: i0 }); }
35
35
  }
36
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-rc.1", ngImport: i0, type: EclCardPictureDirective, decorators: [{
36
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: EclCardPictureDirective, decorators: [{
37
37
  type: Directive,
38
38
  args: [{
39
39
  selector: 'picture[eclCardPicture]',
@@ -57,10 +57,10 @@ class EclCardImageDirective extends ECLBaseDirective {
57
57
  super();
58
58
  this.el = el;
59
59
  }
60
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-rc.1", ngImport: i0, type: EclCardImageDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
61
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-rc.1", type: EclCardImageDirective, isStandalone: false, selector: "img[eclCardImage]", host: { properties: { "class": "this.cssClasses" } }, usesInheritance: true, ngImport: i0 }); }
60
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: EclCardImageDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
61
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0", type: EclCardImageDirective, isStandalone: false, selector: "img[eclCardImage]", host: { properties: { "class": "this.cssClasses" } }, usesInheritance: true, ngImport: i0 }); }
62
62
  }
63
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-rc.1", ngImport: i0, type: EclCardImageDirective, decorators: [{
63
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: EclCardImageDirective, decorators: [{
64
64
  type: Directive,
65
65
  args: [{
66
66
  selector: 'img[eclCardImage]',
@@ -96,10 +96,10 @@ class EclCardComponent extends ECLBaseDirective {
96
96
  }
97
97
  }
98
98
  }
99
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-rc.1", ngImport: i0, type: EclCardComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
100
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.0-rc.1", type: EclCardComponent, isStandalone: false, selector: "ecl-card", host: { properties: { "attr.role": "this.role", "class": "this.cssClasses" } }, queries: [{ propertyName: "eclContentBlock", first: true, predicate: i0.forwardRef(() => EclContentBlockComponent), descendants: true }, { propertyName: "eclContentBlockTitle", first: true, predicate: i0.forwardRef(() => EclContentBlockTitleDirective), descendants: true }, { propertyName: "eclCardImage", first: true, predicate: i0.forwardRef(() => EclCardImageDirective), descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"] }); }
99
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: EclCardComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
100
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.0", type: EclCardComponent, isStandalone: false, selector: "ecl-card", host: { properties: { "attr.role": "this.role", "class": "this.cssClasses" } }, queries: [{ propertyName: "eclContentBlock", first: true, predicate: i0.forwardRef(() => EclContentBlockComponent), descendants: true }, { propertyName: "eclContentBlockTitle", first: true, predicate: i0.forwardRef(() => EclContentBlockTitleDirective), descendants: true }, { propertyName: "eclCardImage", first: true, predicate: i0.forwardRef(() => EclCardImageDirective), descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"] }); }
101
101
  }
102
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-rc.1", ngImport: i0, type: EclCardComponent, decorators: [{
102
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: EclCardComponent, decorators: [{
103
103
  type: Component,
104
104
  args: [{ selector: 'ecl-card', standalone: false, template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"] }]
105
105
  }], ctorParameters: () => [{ type: i0.Renderer2 }], propDecorators: { role: [{
@@ -121,11 +121,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-rc.1", ng
121
121
 
122
122
  const COMPONENTS = [EclCardComponent, EclCardBodyComponent, EclCardPictureDirective, EclCardImageDirective];
123
123
  class EclCardComponentModule {
124
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-rc.1", ngImport: i0, type: EclCardComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
125
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.0-rc.1", ngImport: i0, type: EclCardComponentModule, declarations: [EclCardComponent, EclCardBodyComponent, EclCardPictureDirective, EclCardImageDirective], imports: [CommonModule, RouterModule, EclIconComponentModule, EclLabelDirectiveModule], exports: [EclCardComponent, EclCardBodyComponent, EclCardPictureDirective, EclCardImageDirective] }); }
126
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.0-rc.1", ngImport: i0, type: EclCardComponentModule, imports: [CommonModule, RouterModule, EclIconComponentModule, EclLabelDirectiveModule] }); }
124
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: EclCardComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
125
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.0", ngImport: i0, type: EclCardComponentModule, declarations: [EclCardComponent, EclCardBodyComponent, EclCardPictureDirective, EclCardImageDirective], imports: [CommonModule, RouterModule, EclIconComponentModule, EclLabelDirectiveModule], exports: [EclCardComponent, EclCardBodyComponent, EclCardPictureDirective, EclCardImageDirective] }); }
126
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: EclCardComponentModule, imports: [CommonModule, RouterModule, EclIconComponentModule, EclLabelDirectiveModule] }); }
127
127
  }
128
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-rc.1", ngImport: i0, type: EclCardComponentModule, decorators: [{
128
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: EclCardComponentModule, decorators: [{
129
129
  type: NgModule,
130
130
  args: [{
131
131
  imports: [CommonModule, RouterModule, EclIconComponentModule, EclLabelDirectiveModule],
@@ -1 +1 @@
1
- {"version":3,"file":"eui-ecl-components-ecl-card.mjs","sources":["../../components/ecl-card/ecl-card-body.component.ts","../../components/ecl-card/ecl-card-body.component.html","../../components/ecl-card/ecl-card-picture.directive.ts","../../components/ecl-card/ecl-card.component.ts","../../components/ecl-card/ecl-card.component.html","../../components/ecl-card/ecl-card.module.ts","../../components/ecl-card/eui-ecl-components-ecl-card.ts"],"sourcesContent":["import { Component, HostBinding } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n@Component({\n selector: 'ecl-card-body',\n templateUrl: './ecl-card-body.component.html',\n standalone: false,\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n})\nexport class EclCardBodyComponent extends ECLBaseDirective {\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-card__body')].join(' ').trim();\n }\n}\n","<ng-content></ng-content>\n","import { Directive, HostBinding, ElementRef, Input, booleanAttribute } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n@Directive({\n selector: 'picture[eclCardPicture]',\n standalone: false,\n})\nexport class EclCardPictureDirective extends ECLBaseDirective {\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-picture ecl-card__picture')].join(' ').trim();\n }\n\n @Input({ transform: booleanAttribute }) @HostBinding('class.ecl-picture--zoom') hasZoom = false;\n}\n\n@Directive({\n selector: 'img[eclCardImage]',\n standalone: false,\n})\nexport class EclCardImageDirective extends ECLBaseDirective {\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-card__image')].join(' ').trim();\n }\n\n constructor(public el: ElementRef) {\n super();\n }\n}\n","import { Component, HostBinding, ContentChild, Renderer2, AfterViewInit, forwardRef } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclContentBlockComponent, EclContentBlockTitleDirective } from '@eui/ecl/components/ecl-content-block';\nimport { EclCardImageDirective } from './ecl-card-picture.directive';\n\n@Component({\n selector: 'ecl-card',\n templateUrl: './ecl-card.component.html',\n standalone: false,\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n})\nexport class EclCardComponent extends ECLBaseDirective implements AfterViewInit {\n @HostBinding('attr.role') role = 'article';\n\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-card')].join(' ').trim();\n }\n\n @ContentChild(forwardRef(() => EclContentBlockComponent), { descendants: true }) eclContentBlock: EclContentBlockComponent;\n @ContentChild(forwardRef(() => EclContentBlockTitleDirective), { descendants: true }) eclContentBlockTitle: EclContentBlockTitleDirective;\n @ContentChild(forwardRef(() => EclCardImageDirective), { descendants: true }) eclCardImage: EclCardImageDirective;\n\n constructor(private renderer: Renderer2) {\n super();\n }\n\n ngAfterViewInit(): void {\n this.attachClickEventToImage();\n\n if (this.eclContentBlock) {\n setTimeout(() => this.eclContentBlock.class = 'ecl-card__content-block');\n }\n }\n\n private attachClickEventToImage(): void {\n if (this.eclContentBlockTitle && this.eclContentBlockTitle.eclLink) {\n if (this.eclCardImage) {\n this.renderer.setStyle(this.eclCardImage.el.nativeElement, 'cursor', 'pointer');\n this.renderer.listen(this.eclCardImage.el.nativeElement, 'click', () => {\n this.eclContentBlockTitle.eclLink.onClick();\n });\n }\n }\n }\n}\n","<ng-content></ng-content>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { RouterModule } from '@angular/router';\nimport { EclIconComponentModule } from '@eui/ecl/components/ecl-icon';\nimport { EclLabelDirectiveModule } from '@eui/ecl/components/ecl-label';\nimport { EclCardBodyComponent } from './ecl-card-body.component';\nimport { EclCardComponent } from './ecl-card.component';\nimport { EclCardPictureDirective, EclCardImageDirective } from './ecl-card-picture.directive';\n\nconst COMPONENTS = [EclCardComponent, EclCardBodyComponent, EclCardPictureDirective, EclCardImageDirective];\n@NgModule({\n imports: [CommonModule, RouterModule, EclIconComponentModule, EclLabelDirectiveModule],\n exports: [...COMPONENTS],\n declarations: [...COMPONENTS],\n})\nexport class EclCardComponentModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAeM,MAAO,oBAAqB,SAAQ,gBAAgB,CAAA;AACtD,IAAA,IACI,UAAU,GAAA;AACV,QAAA,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC,CAAC,IAAI,CAA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,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;oHAAtB,sBAAsB,EAAA,YAAA,EAAA,CANf,gBAAgB,EAAE,oBAAoB,EAAE,uBAAuB,EAAE,qBAAqB,CAAA,EAAA,OAAA,EAAA,CAE5F,YAAY,EAAE,YAAY,EAAE,sBAAsB,EAAE,uBAAuB,CAFrE,EAAA,OAAA,EAAA,CAAA,gBAAgB,EAAE,oBAAoB,EAAE,uBAAuB,EAAE,qBAAqB,CAAA,EAAA,CAAA,CAAA;AAM7F,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,aAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,sBAAsB,YAJrB,YAAY,EAAE,YAAY,EAAE,sBAAsB,EAAE,uBAAuB,CAAA,EAAA,CAAA,CAAA;;gGAI5E,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBALlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,sBAAsB,EAAE,uBAAuB,CAAC;AACtF,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AACxB,oBAAA,YAAY,EAAE,CAAC,GAAG,UAAU,CAAC;AAChC,iBAAA;;;ACdD;;AAEG;;;;"}
1
+ {"version":3,"file":"eui-ecl-components-ecl-card.mjs","sources":["../../components/ecl-card/ecl-card-body.component.ts","../../components/ecl-card/ecl-card-body.component.html","../../components/ecl-card/ecl-card-picture.directive.ts","../../components/ecl-card/ecl-card.component.ts","../../components/ecl-card/ecl-card.component.html","../../components/ecl-card/ecl-card.module.ts","../../components/ecl-card/eui-ecl-components-ecl-card.ts"],"sourcesContent":["import { Component, HostBinding } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n@Component({\n selector: 'ecl-card-body',\n templateUrl: './ecl-card-body.component.html',\n standalone: false,\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n})\nexport class EclCardBodyComponent extends ECLBaseDirective {\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-card__body')].join(' ').trim();\n }\n}\n","<ng-content></ng-content>\n","import { Directive, HostBinding, ElementRef, Input, booleanAttribute } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n@Directive({\n selector: 'picture[eclCardPicture]',\n standalone: false,\n})\nexport class EclCardPictureDirective extends ECLBaseDirective {\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-picture ecl-card__picture')].join(' ').trim();\n }\n\n @Input({ transform: booleanAttribute }) @HostBinding('class.ecl-picture--zoom') hasZoom = false;\n}\n\n@Directive({\n selector: 'img[eclCardImage]',\n standalone: false,\n})\nexport class EclCardImageDirective extends ECLBaseDirective {\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-card__image')].join(' ').trim();\n }\n\n constructor(public el: ElementRef) {\n super();\n }\n}\n","import { Component, HostBinding, ContentChild, Renderer2, AfterViewInit, forwardRef } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\nimport { EclContentBlockComponent, EclContentBlockTitleDirective } from '@eui/ecl/components/ecl-content-block';\nimport { EclCardImageDirective } from './ecl-card-picture.directive';\n\n@Component({\n selector: 'ecl-card',\n templateUrl: './ecl-card.component.html',\n standalone: false,\n styles: [\n `\n :host {\n display: block;\n }\n `,\n ],\n})\nexport class EclCardComponent extends ECLBaseDirective implements AfterViewInit {\n @HostBinding('attr.role') role = 'article';\n\n @HostBinding('class')\n get cssClasses(): string {\n return [super.getCssClasses('ecl-card')].join(' ').trim();\n }\n\n @ContentChild(forwardRef(() => EclContentBlockComponent), { descendants: true }) eclContentBlock: EclContentBlockComponent;\n @ContentChild(forwardRef(() => EclContentBlockTitleDirective), { descendants: true }) eclContentBlockTitle: EclContentBlockTitleDirective;\n @ContentChild(forwardRef(() => EclCardImageDirective), { descendants: true }) eclCardImage: EclCardImageDirective;\n\n constructor(private renderer: Renderer2) {\n super();\n }\n\n ngAfterViewInit(): void {\n this.attachClickEventToImage();\n\n if (this.eclContentBlock) {\n setTimeout(() => this.eclContentBlock.class = 'ecl-card__content-block');\n }\n }\n\n private attachClickEventToImage(): void {\n if (this.eclContentBlockTitle && this.eclContentBlockTitle.eclLink) {\n if (this.eclCardImage) {\n this.renderer.setStyle(this.eclCardImage.el.nativeElement, 'cursor', 'pointer');\n this.renderer.listen(this.eclCardImage.el.nativeElement, 'click', () => {\n this.eclContentBlockTitle.eclLink.onClick();\n });\n }\n }\n }\n}\n","<ng-content></ng-content>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { RouterModule } from '@angular/router';\nimport { EclIconComponentModule } from '@eui/ecl/components/ecl-icon';\nimport { EclLabelDirectiveModule } from '@eui/ecl/components/ecl-label';\nimport { EclCardBodyComponent } from './ecl-card-body.component';\nimport { EclCardComponent } from './ecl-card.component';\nimport { EclCardPictureDirective, EclCardImageDirective } from './ecl-card-picture.directive';\n\nconst COMPONENTS = [EclCardComponent, EclCardBodyComponent, EclCardPictureDirective, EclCardImageDirective];\n@NgModule({\n imports: [CommonModule, RouterModule, EclIconComponentModule, EclLabelDirectiveModule],\n exports: [...COMPONENTS],\n declarations: [...COMPONENTS],\n})\nexport class EclCardComponentModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAeM,MAAO,oBAAqB,SAAQ,gBAAgB,CAAA;AACtD,IAAA,IACI,UAAU,GAAA;AACV,QAAA,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE;;8GAH1D,oBAAoB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA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