@eui/ecl 19.0.2-snapshot-1736167801365 → 19.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (165) hide show
  1. package/components/ecl-breadcrumb/ecl-breadcrumb-container.directive.d.ts +11 -0
  2. package/components/ecl-breadcrumb/ecl-breadcrumb-container.directive.d.ts.map +1 -0
  3. package/components/ecl-breadcrumb/ecl-breadcrumb-segment.component.d.ts +3 -4
  4. package/components/ecl-breadcrumb/ecl-breadcrumb-segment.component.d.ts.map +1 -1
  5. package/components/ecl-breadcrumb/ecl-breadcrumb.component.d.ts +7 -1
  6. package/components/ecl-breadcrumb/ecl-breadcrumb.component.d.ts.map +1 -1
  7. package/components/ecl-breadcrumb/ecl-breadcrumb.module.d.ts +8 -7
  8. package/components/ecl-breadcrumb/ecl-breadcrumb.module.d.ts.map +1 -1
  9. package/components/ecl-breadcrumb/index.d.ts +1 -0
  10. package/components/ecl-breadcrumb/index.d.ts.map +1 -1
  11. package/components/ecl-inpage-navigation/ecl-inpage-navigation-item.component.d.ts +3 -2
  12. package/components/ecl-inpage-navigation/ecl-inpage-navigation-item.component.d.ts.map +1 -1
  13. package/components/ecl-inpage-navigation/ecl-inpage-navigation-list.directive.d.ts +16 -0
  14. package/components/ecl-inpage-navigation/ecl-inpage-navigation-list.directive.d.ts.map +1 -0
  15. package/components/ecl-inpage-navigation/ecl-inpage-navigation.component.d.ts +7 -3
  16. package/components/ecl-inpage-navigation/ecl-inpage-navigation.component.d.ts.map +1 -1
  17. package/components/ecl-inpage-navigation/ecl-inpage-navigation.module.d.ts +7 -6
  18. package/components/ecl-inpage-navigation/ecl-inpage-navigation.module.d.ts.map +1 -1
  19. package/components/ecl-inpage-navigation/index.d.ts +2 -0
  20. package/components/ecl-inpage-navigation/index.d.ts.map +1 -1
  21. package/components/ecl-inpage-navigation/services/ecl-inpage-navigation.service.d.ts +11 -0
  22. package/components/ecl-inpage-navigation/services/ecl-inpage-navigation.service.d.ts.map +1 -0
  23. package/components/ecl-pagination/ecl-pagination-item.component.d.ts +4 -2
  24. package/components/ecl-pagination/ecl-pagination-item.component.d.ts.map +1 -1
  25. package/components/ecl-pagination/ecl-pagination-list.directive.d.ts +8 -0
  26. package/components/ecl-pagination/ecl-pagination-list.directive.d.ts.map +1 -0
  27. package/components/ecl-pagination/ecl-pagination.component.d.ts +4 -1
  28. package/components/ecl-pagination/ecl-pagination.component.d.ts.map +1 -1
  29. package/components/ecl-pagination/ecl-pagination.module.d.ts +7 -6
  30. package/components/ecl-pagination/ecl-pagination.module.d.ts.map +1 -1
  31. package/components/ecl-pagination/index.d.ts +1 -0
  32. package/components/ecl-pagination/index.d.ts.map +1 -1
  33. package/docs/components/EclAccordionComponent.html +2 -2
  34. package/docs/components/EclAccordionItemComponent.html +2 -2
  35. package/docs/components/EclAppComponent.html +2 -2
  36. package/docs/components/EclBannerComponent.html +2 -2
  37. package/docs/components/EclBlockquoteComponent.html +2 -2
  38. package/docs/components/EclBreadcrumbComponent.html +66 -6
  39. package/docs/components/EclBreadcrumbSegmentComponent.html +4 -16
  40. package/docs/components/EclButtonComponent.html +2 -2
  41. package/docs/components/EclCardBodyComponent.html +2 -2
  42. package/docs/components/EclCardComponent.html +2 -2
  43. package/docs/components/EclCarouselComponent.html +2 -2
  44. package/docs/components/EclCarouselItemComponent.html +2 -2
  45. package/docs/components/EclCategoryFilterComponent.html +2 -2
  46. package/docs/components/EclCategoryFilterItemComponent.html +2 -2
  47. package/docs/components/EclCategoryFilterListComponent.html +2 -2
  48. package/docs/components/EclCheckboxHelpComponent.html +2 -2
  49. package/docs/components/EclCheckboxLabelComponent.html +2 -2
  50. package/docs/components/EclContentBlockComponent.html +2 -2
  51. package/docs/components/EclContentItemComponent.html +2 -2
  52. package/docs/components/EclDateBlockComponent.html +2 -2
  53. package/docs/components/EclDescriptionListDefinitionComponent.html +2 -2
  54. package/docs/components/EclExpandableComponent.html +2 -2
  55. package/docs/components/EclFactFiguresComponent.html +2 -2
  56. package/docs/components/EclFactFiguresDescriptionComponent.html +2 -2
  57. package/docs/components/EclFactFiguresItemComponent.html +2 -2
  58. package/docs/components/EclFactFiguresTitleComponent.html +2 -2
  59. package/docs/components/EclFactFiguresValueComponent.html +2 -2
  60. package/docs/components/EclFactFiguresViewAllComponent.html +2 -2
  61. package/docs/components/EclFeaturedComponent.html +2 -2
  62. package/docs/components/EclFeaturedItemComponent.html +2 -2
  63. package/docs/components/EclFeaturedItemDescriptionComponent.html +2 -2
  64. package/docs/components/EclFeaturedItemFooterComponent.html +2 -2
  65. package/docs/components/EclFileComponent.html +2 -2
  66. package/docs/components/EclFileItemComponent.html +2 -2
  67. package/docs/components/EclFileItemsComponent.html +2 -2
  68. package/docs/components/EclFileTaxonomyComponent.html +2 -2
  69. package/docs/components/EclFormGroupComponent.html +2 -2
  70. package/docs/components/EclFormLabelComponent.html +2 -2
  71. package/docs/components/EclGalleryComponent.html +2 -2
  72. package/docs/components/EclGalleryFooterComponent.html +2 -2
  73. package/docs/components/EclGalleryItemComponent.html +2 -2
  74. package/docs/components/EclIconComponent.html +2 -2
  75. package/docs/components/EclInpageNavigationComponent.html +72 -17
  76. package/docs/components/EclInpageNavigationItemComponent.html +46 -3
  77. package/docs/components/EclListIllustrationComponent.html +2 -2
  78. package/docs/components/EclListIllustrationItemComponent.html +2 -2
  79. package/docs/components/EclLoadingIndicatorComponent.html +2 -2
  80. package/docs/components/EclMediaContainerComponent.html +2 -2
  81. package/docs/components/EclMegaMenuComponent.html +2 -2
  82. package/docs/components/EclMegaMenuFeaturedComponent.html +2 -2
  83. package/docs/components/EclMegaMenuInfoComponent.html +2 -2
  84. package/docs/components/EclMegaMenuItemComponent.html +2 -2
  85. package/docs/components/EclMegaMenuSubitemComponent.html +2 -2
  86. package/docs/components/EclMenuComponent.html +2 -2
  87. package/docs/components/EclMenuItemComponent.html +2 -2
  88. package/docs/components/EclMenuMegaComponent.html +2 -2
  89. package/docs/components/EclMenuMegaItemComponent.html +2 -2
  90. package/docs/components/EclModalBodyComponent.html +2 -2
  91. package/docs/components/EclModalComponent.html +2 -2
  92. package/docs/components/EclModalFooterComponent.html +2 -2
  93. package/docs/components/EclModalHeaderComponent.html +2 -2
  94. package/docs/components/EclMultiselectComponent.html +2 -2
  95. package/docs/components/EclMultiselectDropdownComponent.html +2 -2
  96. package/docs/components/EclMultiselectInputComponent.html +2 -2
  97. package/docs/components/EclMultiselectOptgroupComponent.html +2 -2
  98. package/docs/components/EclMultiselectOptionComponent.html +2 -2
  99. package/docs/components/EclNavigationListComponent.html +2 -2
  100. package/docs/components/EclNavigationListItemComponent.html +2 -2
  101. package/docs/components/EclNewsTickerComponent.html +2 -2
  102. package/docs/components/EclNewsTickerItemComponent.html +2 -2
  103. package/docs/components/EclNotificationComponent.html +2 -2
  104. package/docs/components/EclPageHeaderComponent.html +2 -2
  105. package/docs/components/EclPaginationComponent.html +74 -3
  106. package/docs/components/EclPaginationItemComponent.html +72 -3
  107. package/docs/components/EclPopoverComponent.html +2 -2
  108. package/docs/components/EclRadioHelpComponent.html +2 -2
  109. package/docs/components/EclRadioLabelComponent.html +2 -2
  110. package/docs/components/EclRangeBubbleComponent.html +2 -2
  111. package/docs/components/EclRangeValueComponent.html +2 -2
  112. package/docs/components/EclRatingFieldComponent.html +2 -2
  113. package/docs/components/EclSearchFormComponent.html +2 -2
  114. package/docs/components/EclSelectContainerComponent.html +2 -2
  115. package/docs/components/EclSiteFooterComponent.html +2 -2
  116. package/docs/components/EclSiteFooterFixedContentECComponent.html +2 -2
  117. package/docs/components/EclSiteFooterFixedContentEUComponent.html +2 -2
  118. package/docs/components/EclSiteHeaderActionComponent.html +2 -2
  119. package/docs/components/EclSiteHeaderBannerTopComponent.html +2 -2
  120. package/docs/components/EclSiteHeaderComponent.html +2 -2
  121. package/docs/components/EclSiteHeaderEnvironmentComponent.html +2 -2
  122. package/docs/components/EclSiteHeaderLanguageComponent.html +3 -3
  123. package/docs/components/EclSiteHeaderLanguagePopoverComponent.html +2 -2
  124. package/docs/components/EclSiteHeaderLoginComponent.html +2 -2
  125. package/docs/components/EclSiteHeaderNotificationComponent.html +2 -2
  126. package/docs/components/EclSiteHeaderSearchComponent.html +2 -2
  127. package/docs/components/EclSocialMediaFollowComponent.html +2 -2
  128. package/docs/components/EclSocialMediaFollowItemComponent.html +2 -2
  129. package/docs/components/EclSocialMediaShareComponent.html +2 -2
  130. package/docs/components/EclSocialMediaShareItemComponent.html +2 -2
  131. package/docs/components/EclSplashPageComponent.html +2 -2
  132. package/docs/components/EclSplashPageLanguageCategoryComponent.html +2 -2
  133. package/docs/components/EclSplashPageLanguageContainerComponent.html +2 -2
  134. package/docs/components/EclSplashPageLanguageLinkComponent.html +2 -2
  135. package/docs/components/EclStickyContainerComponent.html +2 -2
  136. package/docs/components/EclTabComponent.html +2 -2
  137. package/docs/components/EclTabLabelComponent.html +2 -2
  138. package/docs/components/EclTabMoreComponent.html +2 -2
  139. package/docs/components/EclTableSortButtonComponent.html +2 -2
  140. package/docs/components/EclTabsComponent.html +2 -2
  141. package/docs/components/EclTagComponent.html +2 -2
  142. package/docs/components/EclTimelineComponent.html +2 -2
  143. package/docs/components/EclTimelineItemComponent.html +2 -2
  144. package/docs/components/EclTimelineItemTogglerComponent.html +2 -2
  145. package/docs/dependencies.html +2 -2
  146. package/docs/directives/EclBreadcrumbContainerDirective.html +566 -0
  147. package/docs/directives/EclInpageNavigationListDirective.html +610 -0
  148. package/docs/directives/EclPaginationListDirective.html +497 -0
  149. package/docs/index.html +2 -2
  150. package/docs/injectables/EclInpageNavigationService.html +361 -0
  151. package/docs/js/menu-wc.js +125 -20
  152. package/docs/js/menu-wc_es5.js +1 -1
  153. package/docs/js/search/search_index.js +2 -2
  154. package/docs/miscellaneous/variables.html +65 -1
  155. package/docs/modules/EclInpageNavigationModule.html +61 -4
  156. package/docs/modules/EclPaginationModule.html +52 -4
  157. package/fesm2022/eui-ecl-components-ecl-breadcrumb.mjs +49 -15
  158. package/fesm2022/eui-ecl-components-ecl-breadcrumb.mjs.map +1 -1
  159. package/fesm2022/eui-ecl-components-ecl-inpage-navigation.mjs +95 -32
  160. package/fesm2022/eui-ecl-components-ecl-inpage-navigation.mjs.map +1 -1
  161. package/fesm2022/eui-ecl-components-ecl-pagination.mjs +53 -21
  162. package/fesm2022/eui-ecl-components-ecl-pagination.mjs.map +1 -1
  163. package/fesm2022/eui-ecl-components-ecl-site-header.mjs +2 -2
  164. package/fesm2022/eui-ecl-components-ecl-site-header.mjs.map +1 -1
  165. package/package.json +2 -2
@@ -142,6 +142,9 @@
142
142
  <li>
143
143
  <a href="#COMPONENTS" title="packages/eui/packages/ecl/components/ecl-gallery/ecl-gallery.module.ts" ><b>COMPONENTS</b>&nbsp;&nbsp;&nbsp;(packages/.../ecl-gallery.module.ts)</a>
144
144
  </li>
145
+ <li>
146
+ <a href="#COMPONENTS" title="packages/eui/packages/ecl/components/ecl-inpage-navigation/ecl-inpage-navigation.module.ts" ><b>COMPONENTS</b>&nbsp;&nbsp;&nbsp;(packages/.../ecl-inpage-navigation.module.ts)</a>
147
+ </li>
145
148
  <li>
146
149
  <a href="#COMPONENTS" title="packages/eui/packages/ecl/components/ecl-list/ecl-list.module.ts" ><b>COMPONENTS</b>&nbsp;&nbsp;&nbsp;(packages/.../ecl-list.module.ts)</a>
147
150
  </li>
@@ -172,6 +175,9 @@
172
175
  <li>
173
176
  <a href="#COMPONENTS" title="packages/eui/packages/ecl/components/ecl-page-header/ecl-page-header.module.ts" ><b>COMPONENTS</b>&nbsp;&nbsp;&nbsp;(packages/.../ecl-page-header.module.ts)</a>
174
177
  </li>
178
+ <li>
179
+ <a href="#COMPONENTS" title="packages/eui/packages/ecl/components/ecl-pagination/ecl-pagination.module.ts" ><b>COMPONENTS</b>&nbsp;&nbsp;&nbsp;(packages/.../ecl-pagination.module.ts)</a>
180
+ </li>
175
181
  <li>
176
182
  <a href="#COMPONENTS" title="packages/eui/packages/ecl/components/ecl-popover/ecl-popover.module.ts" ><b>COMPONENTS</b>&nbsp;&nbsp;&nbsp;(packages/.../ecl-popover.module.ts)</a>
177
183
  </li>
@@ -318,7 +324,7 @@
318
324
  </tr>
319
325
  <tr>
320
326
  <td class="col-md-4">
321
- <i>Default value : </i><code>[EclBreadcrumbComponent, EclBreadcrumbSegmentComponent]</code>
327
+ <i>Default value : </i><code>[EclBreadcrumbComponent, EclBreadcrumbSegmentComponent, EclBreadcrumbContainerDirective]</code>
322
328
  </td>
323
329
  </tr>
324
330
 
@@ -596,6 +602,35 @@
596
602
  </tr>
597
603
 
598
604
 
605
+ </tbody>
606
+ </table>
607
+ </section>
608
+ <h3>packages/eui/packages/ecl/components/ecl-inpage-navigation/ecl-inpage-navigation.module.ts</h3>
609
+ <section data-compodoc="block-properties">
610
+ <h3></h3> <table class="table table-sm table-bordered">
611
+ <tbody>
612
+ <tr>
613
+ <td class="col-md-4">
614
+ <a name="COMPONENTS"></a>
615
+ <span class="name">
616
+ <span ><b>COMPONENTS</b></span>
617
+ <a href="#COMPONENTS"><span class="icon ion-ios-link"></span></a>
618
+ </span>
619
+ </td>
620
+ </tr>
621
+ <tr>
622
+ <td class="col-md-4">
623
+ <i>Type : </i> <code>[]</code>
624
+
625
+ </td>
626
+ </tr>
627
+ <tr>
628
+ <td class="col-md-4">
629
+ <i>Default value : </i><code>[EclInpageNavigationComponent, EclInpageNavigationItemComponent, EclInpageNavigationListDirective]</code>
630
+ </td>
631
+ </tr>
632
+
633
+
599
634
  </tbody>
600
635
  </table>
601
636
  </section>
@@ -947,6 +982,35 @@
947
982
  </tr>
948
983
 
949
984
 
985
+ </tbody>
986
+ </table>
987
+ </section>
988
+ <h3>packages/eui/packages/ecl/components/ecl-pagination/ecl-pagination.module.ts</h3>
989
+ <section data-compodoc="block-properties">
990
+ <h3></h3> <table class="table table-sm table-bordered">
991
+ <tbody>
992
+ <tr>
993
+ <td class="col-md-4">
994
+ <a name="COMPONENTS"></a>
995
+ <span class="name">
996
+ <span ><b>COMPONENTS</b></span>
997
+ <a href="#COMPONENTS"><span class="icon ion-ios-link"></span></a>
998
+ </span>
999
+ </td>
1000
+ </tr>
1001
+ <tr>
1002
+ <td class="col-md-4">
1003
+ <i>Type : </i> <code>[]</code>
1004
+
1005
+ </td>
1006
+ </tr>
1007
+ <tr>
1008
+ <td class="col-md-4">
1009
+ <i>Default value : </i><code>[EclPaginationComponent, EclPaginationItemComponent, EclPaginationListDirective]</code>
1010
+ </td>
1011
+ </tr>
1012
+
1013
+
950
1014
  </tbody>
951
1015
  </table>
952
1016
  </section>
@@ -121,10 +121,43 @@
121
121
  title="Official documentation about module declarations"><span class="icon ion-ios-information-circle-outline"></span></a></h3>
122
122
  <ul class="list-group">
123
123
  <li class="list-group-item">
124
- <a href="../components/EclInpageNavigationComponent.html">EclInpageNavigationComponent</a>
124
+ <a href="../components/EclBannerComponent.html">EclBannerComponent</a>
125
125
  </li>
126
126
  <li class="list-group-item">
127
- <a href="../components/EclInpageNavigationItemComponent.html">EclInpageNavigationItemComponent</a>
127
+ <a href="../directives/EclBannerDescriptionDirective.html">EclBannerDescriptionDirective</a>
128
+ </li>
129
+ <li class="list-group-item">
130
+ <a href="../directives/EclBannerDescriptionLinkDirective.html">EclBannerDescriptionLinkDirective</a>
131
+ </li>
132
+ <li class="list-group-item">
133
+ <a href="../directives/EclBannerDescriptionTextDirective.html">EclBannerDescriptionTextDirective</a>
134
+ </li>
135
+ <li class="list-group-item">
136
+ <a href="../directives/EclBannerImageDirective.html">EclBannerImageDirective</a>
137
+ </li>
138
+ <li class="list-group-item">
139
+ <a href="../directives/EclBannerPictureDirective.html">EclBannerPictureDirective</a>
140
+ </li>
141
+ <li class="list-group-item">
142
+ <a href="../directives/EclBannerTitleDirective.html">EclBannerTitleDirective</a>
143
+ </li>
144
+ <li class="list-group-item">
145
+ <a href="../directives/EclBannerTitleLinkDirective.html">EclBannerTitleLinkDirective</a>
146
+ </li>
147
+ <li class="list-group-item">
148
+ <a href="../directives/EclBannerTitleTextDirective.html">EclBannerTitleTextDirective</a>
149
+ </li>
150
+ <li class="list-group-item">
151
+ <a href="../directives/EclBannerVideoDirective.html">EclBannerVideoDirective</a>
152
+ </li>
153
+ </ul>
154
+ </div>
155
+ <div class="col-sm-3">
156
+ <h3>Providers<a href="https://angular.io/api/core/NgModule#providers" target="_blank" rel="noopener noreferrer"
157
+ title="Official documentation about module providers"><span class="icon ion-ios-information-circle-outline"></a></h3>
158
+ <ul class="list-group">
159
+ <li class="list-group-item">
160
+ <a href="../injectables/EclInpageNavigationService.html">EclInpageNavigationService</a>
128
161
  </li>
129
162
  </ul>
130
163
  </div>
@@ -150,10 +183,34 @@
150
183
  class="icon ion-ios-information-circle-outline"></a></h3>
151
184
  <ul class="list-group">
152
185
  <li class="list-group-item">
153
- <a href="../components/EclInpageNavigationComponent.html">EclInpageNavigationComponent</a>
186
+ <a href="../components/EclBannerComponent.html">EclBannerComponent</a>
187
+ </li>
188
+ <li class="list-group-item">
189
+ <a href="../directives/EclBannerDescriptionDirective.html">EclBannerDescriptionDirective</a>
190
+ </li>
191
+ <li class="list-group-item">
192
+ <a href="../directives/EclBannerDescriptionLinkDirective.html">EclBannerDescriptionLinkDirective</a>
193
+ </li>
194
+ <li class="list-group-item">
195
+ <a href="../directives/EclBannerDescriptionTextDirective.html">EclBannerDescriptionTextDirective</a>
196
+ </li>
197
+ <li class="list-group-item">
198
+ <a href="../directives/EclBannerImageDirective.html">EclBannerImageDirective</a>
199
+ </li>
200
+ <li class="list-group-item">
201
+ <a href="../directives/EclBannerPictureDirective.html">EclBannerPictureDirective</a>
202
+ </li>
203
+ <li class="list-group-item">
204
+ <a href="../directives/EclBannerTitleDirective.html">EclBannerTitleDirective</a>
205
+ </li>
206
+ <li class="list-group-item">
207
+ <a href="../directives/EclBannerTitleLinkDirective.html">EclBannerTitleLinkDirective</a>
208
+ </li>
209
+ <li class="list-group-item">
210
+ <a href="../directives/EclBannerTitleTextDirective.html">EclBannerTitleTextDirective</a>
154
211
  </li>
155
212
  <li class="list-group-item">
156
- <a href="../components/EclInpageNavigationItemComponent.html">EclInpageNavigationItemComponent</a>
213
+ <a href="../directives/EclBannerVideoDirective.html">EclBannerVideoDirective</a>
157
214
  </li>
158
215
  </ul>
159
216
  </div>
@@ -121,10 +121,34 @@
121
121
  title="Official documentation about module declarations"><span class="icon ion-ios-information-circle-outline"></span></a></h3>
122
122
  <ul class="list-group">
123
123
  <li class="list-group-item">
124
- <a href="../components/EclPaginationComponent.html">EclPaginationComponent</a>
124
+ <a href="../components/EclBannerComponent.html">EclBannerComponent</a>
125
125
  </li>
126
126
  <li class="list-group-item">
127
- <a href="../components/EclPaginationItemComponent.html">EclPaginationItemComponent</a>
127
+ <a href="../directives/EclBannerDescriptionDirective.html">EclBannerDescriptionDirective</a>
128
+ </li>
129
+ <li class="list-group-item">
130
+ <a href="../directives/EclBannerDescriptionLinkDirective.html">EclBannerDescriptionLinkDirective</a>
131
+ </li>
132
+ <li class="list-group-item">
133
+ <a href="../directives/EclBannerDescriptionTextDirective.html">EclBannerDescriptionTextDirective</a>
134
+ </li>
135
+ <li class="list-group-item">
136
+ <a href="../directives/EclBannerImageDirective.html">EclBannerImageDirective</a>
137
+ </li>
138
+ <li class="list-group-item">
139
+ <a href="../directives/EclBannerPictureDirective.html">EclBannerPictureDirective</a>
140
+ </li>
141
+ <li class="list-group-item">
142
+ <a href="../directives/EclBannerTitleDirective.html">EclBannerTitleDirective</a>
143
+ </li>
144
+ <li class="list-group-item">
145
+ <a href="../directives/EclBannerTitleLinkDirective.html">EclBannerTitleLinkDirective</a>
146
+ </li>
147
+ <li class="list-group-item">
148
+ <a href="../directives/EclBannerTitleTextDirective.html">EclBannerTitleTextDirective</a>
149
+ </li>
150
+ <li class="list-group-item">
151
+ <a href="../directives/EclBannerVideoDirective.html">EclBannerVideoDirective</a>
128
152
  </li>
129
153
  </ul>
130
154
  </div>
@@ -147,10 +171,34 @@
147
171
  class="icon ion-ios-information-circle-outline"></a></h3>
148
172
  <ul class="list-group">
149
173
  <li class="list-group-item">
150
- <a href="../components/EclPaginationComponent.html">EclPaginationComponent</a>
174
+ <a href="../components/EclBannerComponent.html">EclBannerComponent</a>
175
+ </li>
176
+ <li class="list-group-item">
177
+ <a href="../directives/EclBannerDescriptionDirective.html">EclBannerDescriptionDirective</a>
178
+ </li>
179
+ <li class="list-group-item">
180
+ <a href="../directives/EclBannerDescriptionLinkDirective.html">EclBannerDescriptionLinkDirective</a>
181
+ </li>
182
+ <li class="list-group-item">
183
+ <a href="../directives/EclBannerDescriptionTextDirective.html">EclBannerDescriptionTextDirective</a>
184
+ </li>
185
+ <li class="list-group-item">
186
+ <a href="../directives/EclBannerImageDirective.html">EclBannerImageDirective</a>
187
+ </li>
188
+ <li class="list-group-item">
189
+ <a href="../directives/EclBannerPictureDirective.html">EclBannerPictureDirective</a>
190
+ </li>
191
+ <li class="list-group-item">
192
+ <a href="../directives/EclBannerTitleDirective.html">EclBannerTitleDirective</a>
193
+ </li>
194
+ <li class="list-group-item">
195
+ <a href="../directives/EclBannerTitleLinkDirective.html">EclBannerTitleLinkDirective</a>
196
+ </li>
197
+ <li class="list-group-item">
198
+ <a href="../directives/EclBannerTitleTextDirective.html">EclBannerTitleTextDirective</a>
151
199
  </li>
152
200
  <li class="list-group-item">
153
- <a href="../components/EclPaginationItemComponent.html">EclPaginationItemComponent</a>
201
+ <a href="../directives/EclBannerVideoDirective.html">EclBannerVideoDirective</a>
154
202
  </li>
155
203
  </ul>
156
204
  </div>
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { EventEmitter, booleanAttribute, Component, ViewEncapsulation, HostBinding, Input, Output, afterNextRender, ViewChild, ContentChildren, forwardRef, HostListener, NgModule } from '@angular/core';
2
+ import { EventEmitter, booleanAttribute, Component, ViewEncapsulation, HostBinding, Input, Output, Directive, afterNextRender, ViewChild, ContentChild, 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';
@@ -10,7 +10,7 @@ import * as i3 from '@eui/ecl/components/ecl-link';
10
10
  import { EclLinkModule } from '@eui/ecl/components/ecl-link';
11
11
  import * as i4 from '@eui/ecl/components/ecl-icon';
12
12
  import { EclIconModule } from '@eui/ecl/components/ecl-icon';
13
- import * as i2$1 from '@eui/ecl/components/ecl-button';
13
+ import * as i3$1 from '@eui/ecl/components/ecl-button';
14
14
  import { EclButtonModule } from '@eui/ecl/components/ecl-button';
15
15
  import { Subject, takeUntil } from 'rxjs';
16
16
  import { EclBaseEvent, ECLBaseDirective } from '@eui/ecl/core';
@@ -18,11 +18,11 @@ import { EclBaseEvent, ECLBaseDirective } from '@eui/ecl/core';
18
18
  class EclBreadcrumbSegmentClickEvent extends EclBaseEvent {
19
19
  }
20
20
 
21
+ // TODO: ecl-breadcrumb-segment selector is deprecated and should be removed in v20
21
22
  class EclBreadcrumbSegmentComponent extends ECLBaseDirective {
22
- constructor(el, renderer2) {
23
+ constructor(el) {
23
24
  super();
24
25
  this.el = el;
25
- this.renderer2 = renderer2;
26
26
  this.tabIndex = '-1';
27
27
  this.role = 'listitem';
28
28
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
@@ -34,6 +34,9 @@ class EclBreadcrumbSegmentComponent extends ECLBaseDirective {
34
34
  this.isCurrentPage = false;
35
35
  this.isHidden = false;
36
36
  this.segmentClick = new EventEmitter();
37
+ if (el.nativeElement.tagName.toLowerCase() === 'ecl-breadcrumb-segment') {
38
+ console.warn('"ecl-breadcrumb-segment" selector is deprecated; use "li[eclBreadcrumbSegment]" instead.');
39
+ }
37
40
  }
38
41
  get cssClasses() {
39
42
  return [
@@ -48,13 +51,13 @@ class EclBreadcrumbSegmentComponent extends ECLBaseDirective {
48
51
  evt.stopPropagation();
49
52
  }
50
53
  }
51
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", 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.5", 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 }); }
54
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: EclBreadcrumbSegmentComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
55
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.5", type: EclBreadcrumbSegmentComponent, isStandalone: false, selector: "ecl-breadcrumb-segment, li[eclBreadcrumbSegment]", 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
56
  }
54
57
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: EclBreadcrumbSegmentComponent, decorators: [{
55
58
  type: Component,
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
- }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { tabIndex: [{
59
+ args: [{ selector: 'ecl-breadcrumb-segment, li[eclBreadcrumbSegment]', 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>" }]
60
+ }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { tabIndex: [{
58
61
  type: HostBinding,
59
62
  args: ['attr.tabindex']
60
63
  }], role: [{
@@ -87,6 +90,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImpor
87
90
  args: ['class']
88
91
  }] } });
89
92
 
93
+ class EclBreadcrumbContainerDirective extends ECLBaseDirective {
94
+ constructor(el) {
95
+ super();
96
+ this.el = el;
97
+ this.hasClass = true;
98
+ }
99
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: EclBreadcrumbContainerDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
100
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.5", type: EclBreadcrumbContainerDirective, isStandalone: false, selector: "[eclBreadcrumbContainer]", host: { properties: { "class.ecl-breadcrumb__container": "this.hasClass" } }, usesInheritance: true, ngImport: i0 }); }
101
+ }
102
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: EclBreadcrumbContainerDirective, decorators: [{
103
+ type: Directive,
104
+ args: [{
105
+ selector: '[eclBreadcrumbContainer]',
106
+ standalone: false,
107
+ }]
108
+ }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { hasClass: [{
109
+ type: HostBinding,
110
+ args: ['class.ecl-breadcrumb__container']
111
+ }] } });
112
+
90
113
  class EclBreadcrumbComponent extends ECLBaseDirective {
91
114
  constructor(el, translate, renderer) {
92
115
  super();
@@ -124,6 +147,9 @@ class EclBreadcrumbComponent extends ECLBaseDirective {
124
147
  onWindowResize() {
125
148
  this.handleOverflownSegments();
126
149
  }
150
+ get hasContainer() {
151
+ return !!this.eclBreadcrumbContainer;
152
+ }
127
153
  onEllipsisSegmentClick(evt) {
128
154
  this.eclSegments.forEach((segment) => {
129
155
  segment.isHidden = false;
@@ -141,7 +167,12 @@ class EclBreadcrumbComponent extends ECLBaseDirective {
141
167
  if (this.hasEnoughSegments()) {
142
168
  const secondEclSegmentEl = this.eclSegments.get(1).el.nativeElement;
143
169
  const ellipsisSegmentEl = this.eclEllipsisSegment.el.nativeElement;
144
- this.renderer.insertBefore(this.breadcrumbContainer.nativeElement, ellipsisSegmentEl, secondEclSegmentEl);
170
+ if (this.hasContainer) {
171
+ this.renderer.insertBefore(this.eclBreadcrumbContainer.el.nativeElement, ellipsisSegmentEl, secondEclSegmentEl);
172
+ }
173
+ else {
174
+ this.renderer.insertBefore(this.breadcrumbContainer.nativeElement, ellipsisSegmentEl, secondEclSegmentEl);
175
+ }
145
176
  }
146
177
  }
147
178
  handleOverflownSegments() {
@@ -203,11 +234,11 @@ class EclBreadcrumbComponent extends ECLBaseDirective {
203
234
  return this.eclSegments.reduce((width, segmentComponent) => width + segmentComponent.el.nativeElement.offsetWidth, 0);
204
235
  }
205
236
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", 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.5", 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" }] }); }
237
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.0.5", 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: "eclBreadcrumbContainer", first: true, predicate: EclBreadcrumbContainerDirective, descendants: true }, { propertyName: "eclSegments", predicate: i0.forwardRef(() => EclBreadcrumbSegmentComponent), descendants: true }], viewQueries: [{ propertyName: "eclEllipsisSegment", first: true, predicate: ["ellipsisSegment"], descendants: true }, { propertyName: "breadcrumbContainer", first: true, predicate: ["breadcrumbContainer"], descendants: true }], usesInheritance: true, ngImport: i0, template: "@if (!hasContainer) {\n<ol class=\"ecl-breadcrumb__container\" #breadcrumbContainer>\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n</ol>\n} @else {\n<ng-container *ngTemplateOutlet=\"content\"></ng-container>\n}\n<ng-template #content>\n <li eclBreadcrumbSegment #ellipsisSegment [isHidden]=\"true\" isEllipsis>\n <button tabindex=\"0\" eclButton variant=\"ghost\" class=\"ecl-breadcrumb__ellipsis\"\n [attr.aria-label]=\"'ecl.breadcrumb.SHOW-MORE-ITEMS' | translate\" (click)=\"onEllipsisSegmentClick($event)\">\n ...\n </button>\n </li>\n <ng-content></ng-content>\n</ng-template>", styles: [":host{display:block}\n"], dependencies: [{ kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i3$1.EclButtonComponent, selector: "button[eclButton], button[ecl-button], a[eclButton]", inputs: ["isIconOnly", "variant", "containerStyleClass"] }, { kind: "component", type: EclBreadcrumbSegmentComponent, selector: "ecl-breadcrumb-segment, li[eclBreadcrumbSegment]", inputs: ["routerLink", "queryParams", "href", "queryParamsHandling", "isEllipsis", "isCurrentPage", "isHidden"], outputs: ["segmentClick"] }, { kind: "pipe", type: i1$1.TranslatePipe, name: "translate" }] }); }
207
238
  }
208
239
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: EclBreadcrumbComponent, decorators: [{
209
240
  type: Component,
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"] }]
241
+ args: [{ selector: 'ecl-breadcrumb', standalone: false, template: "@if (!hasContainer) {\n<ol class=\"ecl-breadcrumb__container\" #breadcrumbContainer>\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n</ol>\n} @else {\n<ng-container *ngTemplateOutlet=\"content\"></ng-container>\n}\n<ng-template #content>\n <li eclBreadcrumbSegment #ellipsisSegment [isHidden]=\"true\" isEllipsis>\n <button tabindex=\"0\" eclButton variant=\"ghost\" class=\"ecl-breadcrumb__ellipsis\"\n [attr.aria-label]=\"'ecl.breadcrumb.SHOW-MORE-ITEMS' | translate\" (click)=\"onEllipsisSegmentClick($event)\">\n ...\n </button>\n </li>\n <ng-content></ng-content>\n</ng-template>", styles: [":host{display:block}\n"] }]
211
242
  }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1$1.TranslateService }, { type: i0.Renderer2 }], propDecorators: { isExpanded: [{
212
243
  type: Input,
213
244
  args: [{ transform: booleanAttribute }]
@@ -223,9 +254,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImpor
223
254
  }], breadcrumbContainer: [{
224
255
  type: ViewChild,
225
256
  args: ['breadcrumbContainer']
257
+ }], eclBreadcrumbContainer: [{
258
+ type: ContentChild,
259
+ args: [EclBreadcrumbContainerDirective]
226
260
  }], eclSegments: [{
227
261
  type: ContentChildren,
228
- args: [forwardRef(() => EclBreadcrumbSegmentComponent)]
262
+ args: [forwardRef(() => EclBreadcrumbSegmentComponent), { descendants: true }]
229
263
  }], cssClasses: [{
230
264
  type: HostBinding,
231
265
  args: ['class']
@@ -237,10 +271,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImpor
237
271
  args: ['window:resize', ['$event']]
238
272
  }] } });
239
273
 
240
- const COMPONENTS = [EclBreadcrumbComponent, EclBreadcrumbSegmentComponent];
274
+ const COMPONENTS = [EclBreadcrumbComponent, EclBreadcrumbSegmentComponent, EclBreadcrumbContainerDirective];
241
275
  class EclBreadcrumbModule {
242
276
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: EclBreadcrumbModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
243
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.5", ngImport: i0, type: EclBreadcrumbModule, declarations: [EclBreadcrumbComponent, EclBreadcrumbSegmentComponent], imports: [CommonModule, RouterModule, TranslateModule, EclButtonModule, EclLinkModule, EclIconModule], exports: [EclBreadcrumbComponent, EclBreadcrumbSegmentComponent] }); }
277
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.5", ngImport: i0, type: EclBreadcrumbModule, declarations: [EclBreadcrumbComponent, EclBreadcrumbSegmentComponent, EclBreadcrumbContainerDirective], imports: [CommonModule, RouterModule, TranslateModule, EclButtonModule, EclLinkModule, EclIconModule], exports: [EclBreadcrumbComponent, EclBreadcrumbSegmentComponent, EclBreadcrumbContainerDirective] }); }
244
278
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: EclBreadcrumbModule, imports: [CommonModule, RouterModule, TranslateModule, EclButtonModule, EclLinkModule, EclIconModule] }); }
245
279
  }
246
280
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImport: i0, type: EclBreadcrumbModule, decorators: [{
@@ -256,5 +290,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.5", ngImpor
256
290
  * Generated bundle index. Do not edit.
257
291
  */
258
292
 
259
- export { EclBreadcrumbComponent, EclBreadcrumbModule, EclBreadcrumbSegmentClickEvent, EclBreadcrumbSegmentComponent };
293
+ export { EclBreadcrumbComponent, EclBreadcrumbContainerDirective, EclBreadcrumbModule, EclBreadcrumbSegmentClickEvent, EclBreadcrumbSegmentComponent };
260
294
  //# sourceMappingURL=eui-ecl-components-ecl-breadcrumb.mjs.map
@@ -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 { EclLinkModule } from '@eui/ecl/components/ecl-link';\nimport { EclIconModule } from '@eui/ecl/components/ecl-icon';\nimport { EclButtonModule } 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, EclButtonModule, EclLinkModule, EclIconModule],\n exports: [...COMPONENTS],\n declarations: [...COMPONENTS],\n})\nexport class EclBreadcrumbModule {}\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,CA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E,YAAY,EAAE,eAAe,EAAE,eAAe,EAAG,aAAa,EAAE,aAAa,CAAC;AACtG,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-container.directive.ts","../../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// TODO: ecl-breadcrumb-segment selector is deprecated and should be removed in v20\n@Component({\n selector: 'ecl-breadcrumb-segment, li[eclBreadcrumbSegment]',\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) {\n super();\n if (el.nativeElement.tagName.toLowerCase() === 'ecl-breadcrumb-segment') {\n console.warn('\"ecl-breadcrumb-segment\" selector is deprecated; use \"li[eclBreadcrumbSegment]\" instead.');\n }\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 { Directive, ElementRef, HostBinding } from '@angular/core';\nimport { ECLBaseDirective } from '@eui/ecl/core';\n\n@Directive({\n selector: '[eclBreadcrumbContainer]',\n standalone: false,\n})\nexport class EclBreadcrumbContainerDirective extends ECLBaseDirective {\n @HostBinding('class.ecl-breadcrumb__container') hasClass = true;\n constructor(public el: ElementRef) {\n super();\n }\n}\n","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 ContentChild,\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';\nimport { EclBreadcrumbContainerDirective } from './ecl-breadcrumb-container.directive';\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 /**\n * @deprecated To be removed in v20. Not needed, replaced by 'eclBreadcrumbContainer'\n */\n @ViewChild('breadcrumbContainer') breadcrumbContainer: ElementRef;\n\n @ContentChild(EclBreadcrumbContainerDirective) eclBreadcrumbContainer: EclBreadcrumbContainerDirective;\n @ContentChildren(forwardRef(() => EclBreadcrumbSegmentComponent), { descendants: true })\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 get hasContainer(): boolean {\n return !!this.eclBreadcrumbContainer;\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 if (this.hasContainer) {\n this.renderer.insertBefore(this.eclBreadcrumbContainer.el.nativeElement, ellipsisSegmentEl, secondEclSegmentEl);\n } else {\n this.renderer.insertBefore(this.breadcrumbContainer.nativeElement, ellipsisSegmentEl, secondEclSegmentEl);\n } \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","@if (!hasContainer) {\n<ol class=\"ecl-breadcrumb__container\" #breadcrumbContainer>\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\n</ol>\n} @else {\n<ng-container *ngTemplateOutlet=\"content\"></ng-container>\n}\n<ng-template #content>\n <li eclBreadcrumbSegment #ellipsisSegment [isHidden]=\"true\" isEllipsis>\n <button tabindex=\"0\" eclButton variant=\"ghost\" class=\"ecl-breadcrumb__ellipsis\"\n [attr.aria-label]=\"'ecl.breadcrumb.SHOW-MORE-ITEMS' | translate\" (click)=\"onEllipsisSegmentClick($event)\">\n ...\n </button>\n </li>\n <ng-content></ng-content>\n</ng-template>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { RouterModule } from '@angular/router';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { EclLinkModule } from '@eui/ecl/components/ecl-link';\nimport { EclIconModule } from '@eui/ecl/components/ecl-icon';\nimport { EclButtonModule } from '@eui/ecl/components/ecl-button';\nimport { EclBreadcrumbComponent } from './ecl-breadcrumb.component';\nimport { EclBreadcrumbSegmentComponent } from './ecl-breadcrumb-segment.component';\nimport { EclBreadcrumbContainerDirective } from './ecl-breadcrumb-container.directive';\n\nconst COMPONENTS = [EclBreadcrumbComponent, EclBreadcrumbSegmentComponent, EclBreadcrumbContainerDirective];\n@NgModule({\n imports: [CommonModule, RouterModule, TranslateModule, EclButtonModule, EclLinkModule, EclIconModule],\n exports: [...COMPONENTS],\n declarations: [...COMPONENTS],\n})\nexport class EclBreadcrumbModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1","i2","i3","i4.EclBreadcrumbSegmentComponent"],"mappings":";;;;;;;;;;;;;;;;;AAEM,MAAO,8BAA+B,SAAQ,YAAY,CAAA;AAAG;;ACGnE;AAOM,MAAO,6BAA8B,SAAQ,gBAAgB,CAAA;AAiB/D,IAAA,WAAA,CAAmB,EAAc,EAAA;AAC7B,QAAA,KAAK,EAAE;QADQ,IAAE,CAAA,EAAA,GAAF,EAAE;QAhBS,IAAQ,CAAA,QAAA,GAAG,IAAI;QACnB,IAAI,CAAA,IAAA,GAAG,UAAU;;QAGlC,IAAU,CAAA,UAAA,GAAmB,IAAI;QACjC,IAAW,CAAA,WAAA,GAAkB,IAAI;QACjC,IAAI,CAAA,IAAA,GAAG,EAAE;QACT,IAAmB,CAAA,mBAAA,GAAwB,IAAI;QAChB,IAAU,CAAA,UAAA,GAAG,KAAK;QAClB,IAAa,CAAA,aAAA,GAAG,KAAK;QAG7D,IAAQ,CAAA,QAAA,GAA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