@eui/ecl 15.0.0-rc.18 → 15.0.0-rc.19

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 (292) hide show
  1. package/docs/components/EclAccordionComponent.html +19 -0
  2. package/docs/components/EclAccordionItemComponent.html +19 -0
  3. package/docs/components/EclAppComponent.html +19 -0
  4. package/docs/components/EclBlockquoteComponent.html +19 -0
  5. package/docs/components/EclBreadcrumbComponent.html +19 -0
  6. package/docs/components/EclBreadcrumbComponentBase.html +19 -0
  7. package/docs/components/EclBreadcrumbCoreComponent.html +19 -0
  8. package/docs/components/EclBreadcrumbCoreSegmentComponent.html +19 -0
  9. package/docs/components/EclBreadcrumbHarmonisedComponent.html +19 -0
  10. package/docs/components/EclBreadcrumbHarmonisedSegmentComponent.html +19 -0
  11. package/docs/components/EclBreadcrumbSegmentComponent.html +19 -0
  12. package/docs/components/EclBreadcrumbSegmentComponentBase.html +19 -0
  13. package/docs/components/EclBreadcrumbStandardisedComponent.html +19 -0
  14. package/docs/components/EclBreadcrumbStandardisedSegmentComponent.html +19 -0
  15. package/docs/components/EclButtonComponent.html +19 -0
  16. package/docs/components/EclCardBodyComponent.html +19 -0
  17. package/docs/components/EclCardComponent.html +19 -0
  18. package/docs/components/EclCarouselComponent.html +19 -0
  19. package/docs/components/EclCarouselItemComponent.html +19 -0
  20. package/docs/components/EclCategoryFilterComponent.html +19 -0
  21. package/docs/components/EclCategoryFilterItemComponent.html +19 -0
  22. package/docs/components/EclCategoryFilterListComponent.html +19 -0
  23. package/docs/components/EclCheckboxHelpComponent.html +19 -0
  24. package/docs/components/EclCheckboxLabelComponent.html +19 -0
  25. package/docs/components/EclContentBlockComponent.html +19 -0
  26. package/docs/components/EclContentItemComponent.html +19 -0
  27. package/docs/components/EclDateBlockComponent.html +19 -0
  28. package/docs/components/EclExpandableComponent.html +19 -0
  29. package/docs/components/EclFactFiguresComponent.html +19 -0
  30. package/docs/components/EclFactFiguresDescriptionComponent.html +19 -0
  31. package/docs/components/EclFactFiguresItemComponent.html +19 -0
  32. package/docs/components/EclFactFiguresTitleComponent.html +19 -0
  33. package/docs/components/EclFactFiguresValueComponent.html +19 -0
  34. package/docs/components/EclFactFiguresViewAllComponent.html +19 -0
  35. package/docs/components/EclFeaturedComponent.html +19 -0
  36. package/docs/components/EclFeaturedItemComponent.html +19 -0
  37. package/docs/components/EclFeaturedItemDescriptionComponent.html +19 -0
  38. package/docs/components/EclFileComponent.html +19 -0
  39. package/docs/components/EclFileItemComponent.html +19 -0
  40. package/docs/components/EclFileItemsComponent.html +19 -0
  41. package/docs/components/EclFileTaxonomyComponent.html +19 -0
  42. package/docs/components/EclFooterComponentBase.html +19 -0
  43. package/docs/components/EclFooterCoreComponent.html +19 -0
  44. package/docs/components/EclFooterHarmonisedComponent.html +19 -0
  45. package/docs/components/EclFooterStandardisedComponent.html +19 -0
  46. package/docs/components/EclFormGroupComponent.html +19 -0
  47. package/docs/components/EclFormLabelComponent.html +19 -0
  48. package/docs/components/EclGalleryComponent.html +19 -0
  49. package/docs/components/EclGalleryItemComponent.html +19 -0
  50. package/docs/components/EclHeroBannerComponent.html +19 -0
  51. package/docs/components/EclIconComponent.html +19 -0
  52. package/docs/components/EclInpageNavigationComponent.html +19 -0
  53. package/docs/components/EclInpageNavigationItemComponent.html +19 -0
  54. package/docs/components/EclLanguageListComponent.html +19 -0
  55. package/docs/components/EclLanguageListItemComponent.html +19 -0
  56. package/docs/components/EclListIllustrationComponent.html +19 -0
  57. package/docs/components/EclListIllustrationItemComponent.html +19 -0
  58. package/docs/components/EclMediaContainerComponent.html +19 -0
  59. package/docs/components/EclMenuComponent.html +19 -0
  60. package/docs/components/EclMenuItemComponent.html +19 -0
  61. package/docs/components/EclMenuMegaComponent.html +19 -0
  62. package/docs/components/EclMenuMegaItemComponent.html +19 -0
  63. package/docs/components/EclMessageComponent.html +19 -0
  64. package/docs/components/EclMultiselectComponent.html +19 -0
  65. package/docs/components/EclNavigationListComponent.html +19 -0
  66. package/docs/components/EclNavigationListItemComponent.html +19 -0
  67. package/docs/components/EclNewsTickerComponent.html +147 -6
  68. package/docs/components/EclNewsTickerItemComponent.html +176 -35
  69. package/docs/components/EclPageBannerComponent.html +19 -0
  70. package/docs/components/EclPageHeaderComponent.html +19 -0
  71. package/docs/components/EclPageHeaderComponentBase.html +19 -0
  72. package/docs/components/EclPageHeaderCoreComponent.html +19 -0
  73. package/docs/components/EclPageHeaderHarmonisedComponent.html +19 -0
  74. package/docs/components/EclPageHeaderStandardisedComponent.html +19 -0
  75. package/docs/components/EclPaginationComponent.html +19 -0
  76. package/docs/components/EclPaginationItemComponent.html +19 -0
  77. package/docs/components/EclRadioHelpComponent.html +19 -0
  78. package/docs/components/EclRadioLabelComponent.html +19 -0
  79. package/docs/components/EclRatingFieldComponent.html +19 -0
  80. package/docs/components/EclSearchFormComponent.html +19 -0
  81. package/docs/components/EclSiteFooterComponent.html +19 -0
  82. package/docs/components/EclSiteHeaderActionComponent.html +19 -0
  83. package/docs/components/EclSiteHeaderActionComponentBase.html +19 -0
  84. package/docs/components/EclSiteHeaderBannerTopComponent.html +19 -0
  85. package/docs/components/EclSiteHeaderBannerTopComponentBase.html +19 -0
  86. package/docs/components/EclSiteHeaderComponent.html +19 -0
  87. package/docs/components/EclSiteHeaderComponentBase.html +19 -0
  88. package/docs/components/EclSiteHeaderCoreActionComponent.html +19 -0
  89. package/docs/components/EclSiteHeaderCoreComponent.html +19 -0
  90. package/docs/components/EclSiteHeaderCoreLanguageComponent.html +19 -0
  91. package/docs/components/EclSiteHeaderCoreLoginComponent.html +19 -0
  92. package/docs/components/EclSiteHeaderCoreSearchComponent.html +19 -0
  93. package/docs/components/EclSiteHeaderEnvironmentComponent.html +19 -0
  94. package/docs/components/EclSiteHeaderHarmonisedActionComponent.html +19 -0
  95. package/docs/components/EclSiteHeaderHarmonisedBannerTopComponent.html +19 -0
  96. package/docs/components/EclSiteHeaderHarmonisedComponent.html +19 -0
  97. package/docs/components/EclSiteHeaderHarmonisedLanguageComponent.html +19 -0
  98. package/docs/components/EclSiteHeaderHarmonisedLoginComponent.html +19 -0
  99. package/docs/components/EclSiteHeaderHarmonisedSearchComponent.html +19 -0
  100. package/docs/components/EclSiteHeaderLanguageComponent.html +19 -0
  101. package/docs/components/EclSiteHeaderLanguageComponentBase.html +19 -0
  102. package/docs/components/EclSiteHeaderLoginComponent.html +19 -0
  103. package/docs/components/EclSiteHeaderLoginComponentBase.html +19 -0
  104. package/docs/components/EclSiteHeaderSearchComponent.html +19 -0
  105. package/docs/components/EclSiteHeaderSearchComponentBase.html +19 -0
  106. package/docs/components/EclSiteHeaderStandardisedActionComponent.html +19 -0
  107. package/docs/components/EclSiteHeaderStandardisedBannerTopComponent.html +19 -0
  108. package/docs/components/EclSiteHeaderStandardisedComponent.html +19 -0
  109. package/docs/components/EclSiteHeaderStandardisedLanguageComponent.html +19 -0
  110. package/docs/components/EclSiteHeaderStandardisedLoginComponent.html +19 -0
  111. package/docs/components/EclSiteHeaderStandardisedSearchComponent.html +19 -0
  112. package/docs/components/EclSocialMediaFollowComponent.html +19 -0
  113. package/docs/components/EclSocialMediaFollowItemComponent.html +19 -0
  114. package/docs/components/EclSocialMediaShareComponent.html +19 -0
  115. package/docs/components/EclSocialMediaShareItemComponent.html +19 -0
  116. package/docs/components/EclSpinnerComponent.html +19 -0
  117. package/docs/components/EclStickyContainerComponent.html +19 -0
  118. package/docs/components/EclTabComponent.html +19 -0
  119. package/docs/components/EclTabLabelComponent.html +19 -0
  120. package/docs/components/EclTabMoreComponent.html +19 -0
  121. package/docs/components/EclTabsComponent.html +19 -0
  122. package/docs/components/EclTagComponent.html +19 -0
  123. package/docs/components/EclTimelineComponent.html +19 -0
  124. package/docs/components/EclTimelineItemComponent.html +19 -0
  125. package/docs/components/EclTimelineItemTogglerComponent.html +19 -0
  126. package/docs/dependencies.html +2 -2
  127. package/docs/directives/ECLBaseDirective.html +97 -0
  128. package/docs/directives/ECLClickOutsideDirective.html +19 -0
  129. package/docs/directives/EclBlockquoteImageDirective.html +19 -0
  130. package/docs/directives/EclButtonLabelDirective.html +19 -0
  131. package/docs/directives/EclCardImageDirective.html +19 -0
  132. package/docs/directives/EclCheckboxDirective.html +19 -0
  133. package/docs/directives/EclCheckboxInputDirective.html +19 -0
  134. package/docs/directives/EclContentBlockDescriptionDirective.html +19 -0
  135. package/docs/directives/EclContentBlockLabelDirective.html +19 -0
  136. package/docs/directives/EclContentBlockLabelsDirective.html +19 -0
  137. package/docs/directives/EclContentBlockLinkDirective.html +19 -0
  138. package/docs/directives/EclContentBlockLinksContainerDirective.html +19 -0
  139. package/docs/directives/EclContentBlockLinksDirective.html +19 -0
  140. package/docs/directives/EclContentBlockListContainerDirective.html +19 -0
  141. package/docs/directives/EclContentBlockListDirective.html +19 -0
  142. package/docs/directives/EclContentBlockPrimaryMetaDirective.html +19 -0
  143. package/docs/directives/EclContentBlockPrimaryMetasDirective.html +19 -0
  144. package/docs/directives/EclContentBlockSecondaryMetaDirective.html +19 -0
  145. package/docs/directives/EclContentBlockSecondaryMetaIconDirective.html +19 -0
  146. package/docs/directives/EclContentBlockSecondaryMetaLabelDirective.html +19 -0
  147. package/docs/directives/EclContentBlockSecondaryMetasDirective.html +19 -0
  148. package/docs/directives/EclContentBlockTagDirective.html +19 -0
  149. package/docs/directives/EclContentBlockTagsDirective.html +19 -0
  150. package/docs/directives/EclContentBlockTitleDirective.html +19 -0
  151. package/docs/directives/EclContentItemImageDirective.html +19 -0
  152. package/docs/directives/EclContentItemPictureDirective.html +19 -0
  153. package/docs/directives/EclDatePickerDirective.html +19 -0
  154. package/docs/directives/EclDescriptionListDefinitionDirective.html +19 -0
  155. package/docs/directives/EclDescriptionListDefinitionItemDirective.html +19 -0
  156. package/docs/directives/EclDescriptionListDirective.html +19 -0
  157. package/docs/directives/EclDescriptionListTermDirective.html +19 -0
  158. package/docs/directives/EclFeaturedItemLinkDirective.html +19 -0
  159. package/docs/directives/EclFeedbackMessageDirective.html +19 -0
  160. package/docs/directives/EclFileUploadDirective.html +19 -0
  161. package/docs/directives/EclFooterCoreColumntDirective.html +19 -0
  162. package/docs/directives/EclFooterCoreDescriptionDirective.html +19 -0
  163. package/docs/directives/EclFooterCoreLinkDirective.html +19 -0
  164. package/docs/directives/EclFooterCoreListDirective.html +19 -0
  165. package/docs/directives/EclFooterCoreSectionDirective.html +19 -0
  166. package/docs/directives/EclFooterCoreTitleDirective.html +19 -0
  167. package/docs/directives/EclFooterCoreTitleLinkDirective.html +19 -0
  168. package/docs/directives/EclFooterHarmonisedColumnDirective.html +19 -0
  169. package/docs/directives/EclFooterHarmonisedContentDirective.html +19 -0
  170. package/docs/directives/EclFooterHarmonisedDescriptionDirective.html +19 -0
  171. package/docs/directives/EclFooterHarmonisedLinkDirective.html +19 -0
  172. package/docs/directives/EclFooterHarmonisedListDirective.html +19 -0
  173. package/docs/directives/EclFooterHarmonisedListItemDirective.html +19 -0
  174. package/docs/directives/EclFooterHarmonisedLogoDirective.html +19 -0
  175. package/docs/directives/EclFooterHarmonisedLogoImageDesktopDirective.html +19 -0
  176. package/docs/directives/EclFooterHarmonisedLogoItemDirective.html +19 -0
  177. package/docs/directives/EclFooterHarmonisedLogoLinkDirective.html +19 -0
  178. package/docs/directives/EclFooterHarmonisedLogoListDirective.html +19 -0
  179. package/docs/directives/EclFooterHarmonisedRowDirective.html +19 -0
  180. package/docs/directives/EclFooterHarmonisedSectionDirective.html +19 -0
  181. package/docs/directives/EclFooterStandardisedColumnDirective.html +19 -0
  182. package/docs/directives/EclFooterStandardisedContentDirective.html +19 -0
  183. package/docs/directives/EclFooterStandardisedDescriptionDirective.html +19 -0
  184. package/docs/directives/EclFooterStandardisedLinkDirective.html +19 -0
  185. package/docs/directives/EclFooterStandardisedLogoImageDesktopDirective.html +19 -0
  186. package/docs/directives/EclFooterStandardisedLogoLinkDirective.html +19 -0
  187. package/docs/directives/EclFooterStandardisedRowDirective.html +19 -0
  188. package/docs/directives/EclFooterStandardisedSectionDirective.html +19 -0
  189. package/docs/directives/EclGalleryMediaDirective.html +19 -0
  190. package/docs/directives/EclHelpBlockDirective.html +19 -0
  191. package/docs/directives/EclHeroBannerCreditDirective.html +19 -0
  192. package/docs/directives/EclHeroBannerCtaLinkDirective.html +19 -0
  193. package/docs/directives/EclHeroBannerDescriptionDirective.html +19 -0
  194. package/docs/directives/EclHeroBannerTitleDirective.html +19 -0
  195. package/docs/directives/EclHiddenDirective.html +19 -0
  196. package/docs/directives/EclLabelDirective.html +19 -0
  197. package/docs/directives/EclLinkDirective.html +89 -1
  198. package/docs/directives/EclLinkLabelDirective.html +19 -0
  199. package/docs/directives/EclListIllustrationIconDirective.html +19 -0
  200. package/docs/directives/EclListIllustrationImageDirective.html +19 -0
  201. package/docs/directives/EclMediaContainerItemDirective.html +19 -0
  202. package/docs/directives/EclMessageTitleDirective.html +19 -0
  203. package/docs/directives/EclMultiselectOptionDirective.html +19 -0
  204. package/docs/directives/EclNavigationListImageDirective.html +19 -0
  205. package/docs/directives/EclOrderedListDirective.html +19 -0
  206. package/docs/directives/EclOrderedListItemDirective.html +19 -0
  207. package/docs/directives/EclPageBannerCreditDirective.html +19 -0
  208. package/docs/directives/EclPageBannerCtaLinkDirective.html +19 -0
  209. package/docs/directives/EclPageBannerDescriptionDirective.html +19 -0
  210. package/docs/directives/EclPageBannerTitleDirective.html +19 -0
  211. package/docs/directives/EclPageHeaderCoreDescriptionContainerDirective.html +19 -0
  212. package/docs/directives/EclPageHeaderCoreDescriptionDirective.html +19 -0
  213. package/docs/directives/EclPageHeaderCoreDescriptionThumbnailDirective.html +19 -0
  214. package/docs/directives/EclPageHeaderCoreMetaDirective.html +19 -0
  215. package/docs/directives/EclPageHeaderCoreMetaItemDirective.html +19 -0
  216. package/docs/directives/EclPageHeaderCoreTitleDirective.html +19 -0
  217. package/docs/directives/EclPageHeaderDescriptionContainerDirective.html +19 -0
  218. package/docs/directives/EclPageHeaderDescriptionDirective.html +19 -0
  219. package/docs/directives/EclPageHeaderDescriptionThumbnailDirective.html +19 -0
  220. package/docs/directives/EclPageHeaderHarmonisedDescriptionContainerDirective.html +19 -0
  221. package/docs/directives/EclPageHeaderHarmonisedDescriptionDirective.html +19 -0
  222. package/docs/directives/EclPageHeaderHarmonisedDescriptionThumbnailDirective.html +19 -0
  223. package/docs/directives/EclPageHeaderHarmonisedMetaDirective.html +19 -0
  224. package/docs/directives/EclPageHeaderHarmonisedMetaItemDirective.html +19 -0
  225. package/docs/directives/EclPageHeaderHarmonisedTitleDirective.html +19 -0
  226. package/docs/directives/EclPageHeaderMetaDirective.html +19 -0
  227. package/docs/directives/EclPageHeaderMetaItemDirective.html +19 -0
  228. package/docs/directives/EclPageHeaderStandardisedDescriptionContainerDirective.html +19 -0
  229. package/docs/directives/EclPageHeaderStandardisedDescriptionDirective.html +19 -0
  230. package/docs/directives/EclPageHeaderStandardisedDescriptionThumbnailDirective.html +19 -0
  231. package/docs/directives/EclPageHeaderStandardisedMetaDirective.html +19 -0
  232. package/docs/directives/EclPageHeaderStandardisedMetaItemDirective.html +19 -0
  233. package/docs/directives/EclPageHeaderStandardisedTitleDirective.html +19 -0
  234. package/docs/directives/EclPageHeaderTitleDirective.html +19 -0
  235. package/docs/directives/EclRadioDirective.html +19 -0
  236. package/docs/directives/EclRadioInputDirective.html +19 -0
  237. package/docs/directives/EclSelectDirective.html +19 -0
  238. package/docs/directives/EclSiteFooterColumnDirective.html +19 -0
  239. package/docs/directives/EclSiteFooterContentDirective.html +19 -0
  240. package/docs/directives/EclSiteFooterDescriptionDirective.html +19 -0
  241. package/docs/directives/EclSiteFooterLinkDirective.html +19 -0
  242. package/docs/directives/EclSiteFooterListDirective.html +19 -0
  243. package/docs/directives/EclSiteFooterListItemDirective.html +19 -0
  244. package/docs/directives/EclSiteFooterLogoDirective.html +19 -0
  245. package/docs/directives/EclSiteFooterLogoImageDesktopDirective.html +19 -0
  246. package/docs/directives/EclSiteFooterLogoItemDirective.html +19 -0
  247. package/docs/directives/EclSiteFooterLogoLinkDirective.html +19 -0
  248. package/docs/directives/EclSiteFooterLogoListDirective.html +19 -0
  249. package/docs/directives/EclSiteFooterRowDirective.html +19 -0
  250. package/docs/directives/EclSiteFooterSectionDirective.html +19 -0
  251. package/docs/directives/EclSiteFooterTitleDirective.html +19 -0
  252. package/docs/directives/EclSiteFooterTitleLinkDirective.html +19 -0
  253. package/docs/directives/EclSiteHeaderCoreLoginDescriptionDirective.html +19 -0
  254. package/docs/directives/EclSiteHeaderCoreLoginSeparatorDirective.html +19 -0
  255. package/docs/directives/EclSiteHeaderHarmonisedLoginDescriptionDirective.html +19 -0
  256. package/docs/directives/EclSiteHeaderHarmonisedLoginSeparatorDirective.html +19 -0
  257. package/docs/directives/EclSiteHeaderLoginDescriptionDirective.html +19 -0
  258. package/docs/directives/EclSiteHeaderLoginSeparatorDirective.html +19 -0
  259. package/docs/directives/EclSiteHeaderStandardisedCtaDirective.html +19 -0
  260. package/docs/directives/EclSiteHeaderStandardisedLoginDescriptionDirective.html +19 -0
  261. package/docs/directives/EclSiteHeaderStandardisedLoginSeparatorDirective.html +19 -0
  262. package/docs/directives/EclTableBodyDirective.html +19 -0
  263. package/docs/directives/EclTableCellDirective.html +19 -0
  264. package/docs/directives/EclTableCellGroupDirective.html +19 -0
  265. package/docs/directives/EclTableDirective.html +19 -0
  266. package/docs/directives/EclTableHeadDirective.html +19 -0
  267. package/docs/directives/EclTableHeaderDirective.html +19 -0
  268. package/docs/directives/EclTableRowDirective.html +19 -0
  269. package/docs/directives/EclTextAreaDirective.html +19 -0
  270. package/docs/directives/EclTextInputDirective.html +19 -0
  271. package/docs/directives/EclTimelineItemLabelDirective.html +19 -0
  272. package/docs/directives/EclTimelineItemTitleDirective.html +19 -0
  273. package/docs/directives/EclUnorderedListDirective.html +19 -0
  274. package/docs/directives/EclUnorderedListItemDirective.html +19 -0
  275. package/docs/js/search/search_index.js +2 -2
  276. package/esm2020/lib/components/ecl-base.directive.mjs +12 -2
  277. package/esm2020/lib/components/ecl-link/ecl-link.directive.mjs +10 -6
  278. package/esm2020/lib/components/ecl-news-ticker/ecl-news-ticker-item.component.mjs +48 -8
  279. package/esm2020/lib/components/ecl-news-ticker/ecl-news-ticker.component.mjs +46 -19
  280. package/fesm2015/eui-ecl.mjs +103 -26
  281. package/fesm2015/eui-ecl.mjs.map +1 -1
  282. package/fesm2020/eui-ecl.mjs +103 -26
  283. package/fesm2020/eui-ecl.mjs.map +1 -1
  284. package/lib/components/ecl-base.directive.d.ts +5 -1
  285. package/lib/components/ecl-base.directive.d.ts.map +1 -1
  286. package/lib/components/ecl-link/ecl-link.directive.d.ts +4 -2
  287. package/lib/components/ecl-link/ecl-link.directive.d.ts.map +1 -1
  288. package/lib/components/ecl-news-ticker/ecl-news-ticker-item.component.d.ts +13 -5
  289. package/lib/components/ecl-news-ticker/ecl-news-ticker-item.component.d.ts.map +1 -1
  290. package/lib/components/ecl-news-ticker/ecl-news-ticker.component.d.ts +7 -2
  291. package/lib/components/ecl-news-ticker/ecl-news-ticker.component.d.ts.map +1 -1
  292. package/package.json +1 -1
@@ -6,6 +6,7 @@ import * as i2 from '@ngx-translate/core';
6
6
  import { TranslateModule } from '@ngx-translate/core';
7
7
  import { __decorate } from 'tslib';
8
8
  import { coerceBoolean, coerceElement, coerceNumber, coerceArray, DefaultConfig, EuiPagination } from '@eui/base';
9
+ import { coerceNumberProperty, coerceBooleanProperty } from '@angular/cdk/coercion';
9
10
  import * as i2$1 from '@eui/core';
10
11
  import { GLOBAL_CONFIG_TOKEN } from '@eui/core';
11
12
  import { ReplaySubject, Subject, takeUntil, switchMap, interval, delay, fromEvent, of } from 'rxjs';
@@ -19,7 +20,6 @@ import { LayoutModule, Breakpoints } from '@angular/cdk/layout';
19
20
  import * as Pikaday from 'pikaday';
20
21
  import * as i1$3 from '@angular/platform-browser';
21
22
  import * as Hammer from 'hammerjs';
22
- import { coerceBooleanProperty } from '@angular/cdk/coercion';
23
23
  import { BaseDirective } from '@eui/components/shared';
24
24
 
25
25
  class EclBaseEvent {
@@ -32,6 +32,10 @@ class EclBaseEvent {
32
32
  }
33
33
 
34
34
  class ECLBaseDirective {
35
+ get tabindex() {
36
+ return this._tabindex || null;
37
+ }
38
+ set tabindex(value) { this._tabindex = coerceNumberProperty(value); }
35
39
  getCssClasses(rootClass) {
36
40
  return [
37
41
  rootClass,
@@ -40,7 +44,7 @@ class ECLBaseDirective {
40
44
  }
41
45
  }
42
46
  /** @nocollapse */ ECLBaseDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: ECLBaseDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
43
- /** @nocollapse */ ECLBaseDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.0", type: ECLBaseDirective, selector: "[eclBase]", inputs: { class: "class", e2eAttr: "e2eAttr" }, host: { properties: { "attr.data-e2e": "this.e2eAttr" } }, ngImport: i0 });
47
+ /** @nocollapse */ ECLBaseDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.0", type: ECLBaseDirective, selector: "[eclBase]", inputs: { class: "class", e2eAttr: "e2eAttr", tabindex: "tabindex" }, host: { properties: { "attr.data-e2e": "this.e2eAttr", "attr.tabindex": "this.tabindex" } }, ngImport: i0 });
44
48
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: ECLBaseDirective, decorators: [{
45
49
  type: Directive,
46
50
  args: [{
@@ -53,6 +57,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImpor
53
57
  args: ['attr.data-e2e']
54
58
  }, {
55
59
  type: Input
60
+ }], tabindex: [{
61
+ type: Input
62
+ }, {
63
+ type: HostBinding,
64
+ args: ['attr.tabindex']
56
65
  }] } });
57
66
 
58
67
  class EclIconComponent extends ECLBaseDirective {
@@ -399,6 +408,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImpor
399
408
  }] });
400
409
 
401
410
  class EclLinkDirective extends ECLBaseDirective {
411
+ constructor(el) {
412
+ super();
413
+ this.el = el;
414
+ }
402
415
  get cssClasses() {
403
416
  return [
404
417
  super.getCssClasses('ecl-link'),
@@ -450,7 +463,7 @@ class EclLinkDirective extends ECLBaseDirective {
450
463
  });
451
464
  }
452
465
  }
453
- /** @nocollapse */ EclLinkDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: EclLinkDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
466
+ /** @nocollapse */ EclLinkDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: EclLinkDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
454
467
  /** @nocollapse */ EclLinkDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.0", type: EclLinkDirective, selector: "[eclLink]", inputs: { variant: "variant", isNegative: "isNegative", isNoVisited: "isNoVisited" }, host: { properties: { "class.ecl-link--negative": "this.isNegative", "class.ecl-link--no-visited": "this.isNoVisited", "class": "this.cssClasses", "class.ecl-link--icon-after": "this.hasRightIcon", "class.ecl-link--icon-before": "this.hasLeftIcon", "class.ecl-link--icon": "this.hasIcon" } }, queries: [{ propertyName: "eclIconComponents", predicate: i0.forwardRef(function () { return EclIconComponent; }) }], usesInheritance: true, ngImport: i0 });
455
468
  __decorate([
456
469
  coerceBoolean
@@ -463,7 +476,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImpor
463
476
  args: [{
464
477
  selector: '[eclLink]'
465
478
  }]
466
- }], propDecorators: { variant: [{
479
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { variant: [{
467
480
  type: Input
468
481
  }], isNegative: [{
469
482
  type: Input
@@ -475,6 +488,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImpor
475
488
  }, {
476
489
  type: HostBinding,
477
490
  args: ['class.ecl-link--no-visited']
491
+ }], eclIconComponents: [{
492
+ type: ContentChildren,
493
+ args: [forwardRef(() => EclIconComponent)]
478
494
  }], cssClasses: [{
479
495
  type: HostBinding,
480
496
  args: ['class']
@@ -487,9 +503,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImpor
487
503
  }], hasIcon: [{
488
504
  type: HostBinding,
489
505
  args: ['class.ecl-link--icon']
490
- }], eclIconComponents: [{
491
- type: ContentChildren,
492
- args: [forwardRef(() => EclIconComponent)]
493
506
  }] } });
494
507
 
495
508
  class EclLanguageListItemClickEvent extends EclBaseEvent {
@@ -9358,37 +9371,76 @@ class EclNewsTickerItemComponent extends ECLBaseDirective {
9358
9371
  constructor(el) {
9359
9372
  super();
9360
9373
  this.el = el;
9361
- this.ariaHidden = true;
9374
+ this.itemFocused = new EventEmitter();
9362
9375
  this.role = 'listitem';
9376
+ this._isCurrent = false;
9377
+ this.destroy$ = new Subject();
9363
9378
  }
9364
9379
  get cssClasses() {
9365
9380
  return [
9366
9381
  super.getCssClasses('ecl-news-ticker__slide'),
9367
9382
  ].join(' ').trim();
9368
9383
  }
9384
+ get isCurrent() {
9385
+ return this._isCurrent;
9386
+ }
9387
+ set isCurrent(value) {
9388
+ this._isCurrent = value;
9389
+ if (this.eclLink) {
9390
+ this.setLinkTabindex();
9391
+ }
9392
+ }
9393
+ get isAriahidden() {
9394
+ return !this.isCurrent || undefined;
9395
+ }
9396
+ get isInert() {
9397
+ return !this.isCurrent || undefined;
9398
+ }
9369
9399
  ngAfterContentInit() {
9370
9400
  if (this.eclLink) {
9371
9401
  this.eclLink.class = 'ecl-news-ticker__slide-text';
9372
9402
  }
9403
+ if (this.eclLink) {
9404
+ fromEvent(this.eclLink.el.nativeElement, 'focus').pipe(takeUntil(this.destroy$)).subscribe(() => {
9405
+ this.itemFocused.emit();
9406
+ });
9407
+ }
9408
+ }
9409
+ ngOnDestroy() {
9410
+ this.destroy$.next(true);
9411
+ this.destroy$.unsubscribe();
9412
+ }
9413
+ setLinkTabindex() {
9414
+ if (this._isCurrent) {
9415
+ this.eclLink.tabindex = null;
9416
+ }
9417
+ else {
9418
+ this.eclLink.tabindex = -1;
9419
+ }
9373
9420
  }
9374
9421
  }
9375
9422
  /** @nocollapse */ EclNewsTickerItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: EclNewsTickerItemComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
9376
- /** @nocollapse */ EclNewsTickerItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.0", type: EclNewsTickerItemComponent, selector: "ecl-news-ticker-item", host: { properties: { "class": "this.cssClasses", "attr.aria-hidden": "this.ariaHidden", "attr.role": "this.role" } }, queries: [{ propertyName: "eclLink", first: true, predicate: EclLinkDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n" });
9423
+ /** @nocollapse */ EclNewsTickerItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.0", type: EclNewsTickerItemComponent, selector: "ecl-news-ticker-item", outputs: { itemFocused: "itemFocused" }, host: { properties: { "class": "this.cssClasses", "attr.role": "this.role", "attr.aria-hidden": "this.isAriahidden", "attr.inert": "this.isInert" } }, queries: [{ propertyName: "eclLink", first: true, predicate: EclLinkDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n" });
9377
9424
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: EclNewsTickerItemComponent, decorators: [{
9378
9425
  type: Component,
9379
9426
  args: [{ selector: 'ecl-news-ticker-item', template: "<ng-content></ng-content>\n" }]
9380
9427
  }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { eclLink: [{
9381
9428
  type: ContentChild,
9382
9429
  args: [EclLinkDirective]
9430
+ }], itemFocused: [{
9431
+ type: Output
9383
9432
  }], cssClasses: [{
9384
9433
  type: HostBinding,
9385
9434
  args: ['class']
9386
- }], ariaHidden: [{
9387
- type: HostBinding,
9388
- args: ['attr.aria-hidden']
9389
9435
  }], role: [{
9390
9436
  type: HostBinding,
9391
9437
  args: ['attr.role']
9438
+ }], isAriahidden: [{
9439
+ type: HostBinding,
9440
+ args: ['attr.aria-hidden']
9441
+ }], isInert: [{
9442
+ type: HostBinding,
9443
+ args: ['attr.inert']
9392
9444
  }] } });
9393
9445
 
9394
9446
  class EclNewsTickerItemEvent extends EclBaseEvent {
@@ -9408,6 +9460,8 @@ class EclNewsTickerComponent extends ECLBaseDirective {
9408
9460
  this.slidesTransform = '';
9409
9461
  this.PLAY_INTERVAL = 5000;
9410
9462
  this.INIT_DELAY = 300;
9463
+ this.pausePlay = false;
9464
+ this.destroy$ = new Subject();
9411
9465
  }
9412
9466
  get cssClasses() {
9413
9467
  return [
@@ -9419,6 +9473,7 @@ class EclNewsTickerComponent extends ECLBaseDirective {
9419
9473
  get itemsCount() {
9420
9474
  return this.newsTickerItems.length;
9421
9475
  }
9476
+ get isShowControls() { return this.newsTickerItems.length > 1; }
9422
9477
  onResize(event) {
9423
9478
  setTimeout(() => {
9424
9479
  this.resizeTicker();
@@ -9429,12 +9484,22 @@ class EclNewsTickerComponent extends ECLBaseDirective {
9429
9484
  setTimeout(() => {
9430
9485
  this.initContainer();
9431
9486
  }, this.INIT_DELAY);
9487
+ this.newsTickerItems.forEach(item => {
9488
+ item.itemFocused.pipe(takeUntil(this.destroy$))
9489
+ .subscribe(() => {
9490
+ this.cancelAutoplay();
9491
+ });
9492
+ });
9432
9493
  }
9433
9494
  ngOnDestroy() {
9434
9495
  if (this.intervalId) {
9435
9496
  clearInterval(this.intervalId);
9436
9497
  }
9437
- this.unsubscribeListener();
9498
+ if (this.unsubscribeListener) {
9499
+ this.unsubscribeListener();
9500
+ }
9501
+ this.destroy$.next(true);
9502
+ this.destroy$.unsubscribe();
9438
9503
  }
9439
9504
  onPrevious() {
9440
9505
  this.cancelAutoplay();
@@ -9464,14 +9529,9 @@ class EclNewsTickerComponent extends ECLBaseDirective {
9464
9529
  }
9465
9530
  this.itemSwitch.next(new EclNewsTickerItemEvent(this.itemIndex));
9466
9531
  }
9467
- togglePlay() {
9468
- if (!this.playing) {
9469
- this.intervalId = setInterval(() => this.nextSlide(), this.PLAY_INTERVAL);
9470
- }
9471
- else {
9472
- clearInterval(this.intervalId);
9473
- }
9474
- this.playing = !this.playing;
9532
+ startAutoplay() {
9533
+ this.playing = true;
9534
+ this.intervalId = setInterval(() => this.nextSlide(), this.PLAY_INTERVAL);
9475
9535
  }
9476
9536
  cancelAutoplay() {
9477
9537
  if (this.intervalId) {
@@ -9479,6 +9539,18 @@ class EclNewsTickerComponent extends ECLBaseDirective {
9479
9539
  }
9480
9540
  this.playing = false;
9481
9541
  }
9542
+ onNewsTickerItemMouseOver() {
9543
+ if (this.playing) {
9544
+ this.pausePlay = true;
9545
+ this.cancelAutoplay();
9546
+ }
9547
+ }
9548
+ onNewsTickerItemMouseOut() {
9549
+ if (this.pausePlay) {
9550
+ this.pausePlay = false;
9551
+ this.startAutoplay();
9552
+ }
9553
+ }
9482
9554
  moveSlides(item, withTransition) {
9483
9555
  if (item) {
9484
9556
  const newOffset = item.el.nativeElement.offsetTop;
@@ -9490,13 +9562,18 @@ class EclNewsTickerComponent extends ECLBaseDirective {
9490
9562
  }
9491
9563
  }
9492
9564
  initContainer() {
9565
+ if (this.newsTickerItems.length === 1) {
9566
+ this.resizeTicker();
9567
+ this.moveSlides(this.getFirstItem(this.newsTickerItems.toArray()), false);
9568
+ return;
9569
+ }
9493
9570
  this.firstHiddenItem.el.nativeElement.innerHTML = this.getLastContentChild();
9494
9571
  this.lastHiddenItem.el.nativeElement.innerHTML = this.getFirstContentChild();
9495
9572
  this.unsubscribeListener = this.renderer2.listen(this.slidesContainer, 'transitionend', () => this.checkIndex());
9496
9573
  this.resizeTicker();
9497
9574
  this.moveSlides(this.getFirstItem(this.newsTickerItems.toArray()), false);
9498
9575
  if (this.isAutoplay) {
9499
- this.togglePlay();
9576
+ this.startAutoplay();
9500
9577
  }
9501
9578
  }
9502
9579
  checkIndex() {
@@ -9543,15 +9620,15 @@ class EclNewsTickerComponent extends ECLBaseDirective {
9543
9620
  }
9544
9621
  setCurrentSlide(currentItem) {
9545
9622
  this.newsTickerItems.forEach(item => {
9546
- item.ariaHidden = true;
9623
+ item.isCurrent = false;
9547
9624
  if (item === currentItem) {
9548
- item.ariaHidden = false;
9625
+ item.isCurrent = true;
9549
9626
  }
9550
9627
  });
9551
9628
  }
9552
9629
  }
9553
9630
  /** @nocollapse */ EclNewsTickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: EclNewsTickerComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
9554
- /** @nocollapse */ EclNewsTickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.0", type: EclNewsTickerComponent, selector: "ecl-news-ticker", inputs: { isAutoplay: "isAutoplay" }, outputs: { itemSwitch: "itemSwitch" }, host: { listeners: { "window:resize": "onResize($event)" }, properties: { "class": "this.cssClasses" } }, queries: [{ propertyName: "newsTickerItems", predicate: EclNewsTickerItemComponent }], viewQueries: [{ propertyName: "firstHiddenItem", first: true, predicate: ["firstHiddenItem"], descendants: true }, { propertyName: "lastHiddenItem", first: true, predicate: ["lastHiddenItem"], descendants: true }, { propertyName: "slidesContainer", first: true, predicate: ["slidesContainer"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"ecl-news-ticker__container\"\n [style.height.px]=\"containerHeight\">\n <ecl-icon icon=\"information\"\n size=\"m\"\n class=\"ecl-news-ticker__icon\"></ecl-icon>\n <div class=\"ecl-news-ticker__content\"\n [style.height.px]=\"contentHeight\">\n <ul class=\"ecl-news-ticker__slides\"\n [style.transition-duration.s]=\"transitionDuration\"\n [style.transform]=\"slidesTransform\"\n #slidesContainer >\n <ecl-news-ticker-item #firstHiddenItem></ecl-news-ticker-item>\n <ng-content></ng-content>\n <ecl-news-ticker-item #lastHiddenItem></ecl-news-ticker-item>\n </ul>\n </div>\n</div>\n\n\n<div class=\"ecl-news-ticker__controls\">\n <button eclButton\n variant=\"primary\"\n class=\"ecl-news-ticker__prev\"\n (click)=\"onPrevious()\">\n <span class=\"ecl-u-sr-only\">\n {{ 'ecl.news-ticker.PREV-NEWS' | translate }}\n </span>\n <ecl-icon isInverted\n icon=\"corner-arrow\"\n size=\"l\"\n transform=\"rotate-270\"\n class=\"ecl-news-ticker__icon-default\"></ecl-icon>\n </button>\n <button eclButton\n variant=\"primary\"\n class=\"ecl-news-ticker__next\"\n (click)=\"onNext()\">\n <span class=\"ecl-u-sr-only\">\n {{ 'ecl.news-ticker.NEXT-NEWS' | translate }}\n </span>\n <ecl-icon isInverted\n icon=\"corner-arrow\"\n size=\"l\"\n transform=\"rotate-90\"\n class=\"ecl-news-ticker__icon-default\"></ecl-icon>\n </button>\n <button \n eclButton \n variant=\"primary\"\n class=\"ecl-news-ticker__play\"\n [class.ecl-u-d-none]=\"playing\"\n (click)=\"togglePlay()\">\n <span class=\"ecl-u-sr-only\">\n {{ 'ecl.news-ticker.AUTO-PLAY' | translate }}\n </span>\n <ecl-icon isInverted\n icon=\"play\"\n size=\"l\"\n class=\"ecl-news-ticker__icon-default\"></ecl-icon>\n <ecl-icon isInverted\n icon=\"play-filled\"\n size=\"l\"\n class=\"ecl-news-ticker__icon-active\"></ecl-icon>\n </button>\n <button\n eclButton \n variant=\"primary\"\n class=\"ecl-news-ticker__pause\"\n [class.ecl-u-d-none]=\"!playing\"\n (click)=\"togglePlay()\">\n <span class=\"ecl-u-sr-only\">\n {{ 'ecl.news-ticker.PAUSE' | translate }}\n </span>\n <ecl-icon isInverted\n icon=\"pause\"\n size=\"l\"\n class=\"ecl-news-ticker__icon-default\"></ecl-icon>\n <ecl-icon isInverted\n icon=\"pause-filled\"\n size=\"l\"\n class=\"ecl-news-ticker__icon-active\"></ecl-icon>\n </button>\n <div class=\"ecl-news-ticker__counter\">\n <span class=\"ecl-news-ticker__counter--current\"> {{ itemIndex }}</span> \n {{ 'ecl.common.OF' | translate }}\n <span class=\"ecl-news-ticker__counter--max\">{{ itemsCount }}</span>\n </div>\n</div>\n", dependencies: [{ kind: "component", type: EclButtonComponent, selector: "button[eclButton], button[ecl-button], a[eclButton]", inputs: ["variant", "containerStyleClass"] }, { kind: "component", type: EclIconComponent, selector: "ecl-icon", inputs: ["iconSet", "icon", "size", "color", "transform", "ariaLabelledby", "role", "isInverted", "ariaHidden", "focusable"] }, { kind: "component", type: EclNewsTickerItemComponent, selector: "ecl-news-ticker-item" }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }] });
9631
+ /** @nocollapse */ EclNewsTickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.0", type: EclNewsTickerComponent, selector: "ecl-news-ticker", inputs: { isAutoplay: "isAutoplay" }, outputs: { itemSwitch: "itemSwitch" }, host: { listeners: { "window:resize": "onResize($event)" }, properties: { "class": "this.cssClasses" } }, queries: [{ propertyName: "newsTickerItems", predicate: EclNewsTickerItemComponent }], viewQueries: [{ propertyName: "firstHiddenItem", first: true, predicate: ["firstHiddenItem"], descendants: true }, { propertyName: "lastHiddenItem", first: true, predicate: ["lastHiddenItem"], descendants: true }, { propertyName: "slidesContainer", first: true, predicate: ["slidesContainer"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"ecl-news-ticker__container\"\n [style.height.px]=\"containerHeight\">\n <ecl-icon icon=\"information\"\n size=\"m\"\n class=\"ecl-news-ticker__icon\"></ecl-icon>\n <div class=\"ecl-news-ticker__content\"\n [style.height.px]=\"contentHeight\">\n <ul class=\"ecl-news-ticker__slides\"\n [style.transition-duration.s]=\"transitionDuration\"\n [style.transform]=\"slidesTransform\"\n (mouseover)=\"onNewsTickerItemMouseOver()\"\n (mouseout)=\"onNewsTickerItemMouseOut()\"\n #slidesContainer>\n <ecl-news-ticker-item #firstHiddenItem *ngIf=\"isShowControls\"></ecl-news-ticker-item>\n <ng-content></ng-content>\n <ecl-news-ticker-item #lastHiddenItem *ngIf=\"isShowControls\"></ecl-news-ticker-item>\n </ul>\n </div>\n</div>\n\n\n<div class=\"ecl-news-ticker__controls\" *ngIf=\"isShowControls\">\n <button eclButton\n variant=\"primary\"\n class=\"ecl-news-ticker__prev\"\n (click)=\"onPrevious()\">\n <span class=\"ecl-u-sr-only\">\n {{ 'ecl.news-ticker.PREV-NEWS' | translate }}\n </span>\n <ecl-icon isInverted\n icon=\"corner-arrow\"\n size=\"l\"\n transform=\"rotate-270\"\n class=\"ecl-news-ticker__icon-default\"></ecl-icon>\n </button>\n <button eclButton\n variant=\"primary\"\n class=\"ecl-news-ticker__next\"\n (click)=\"onNext()\">\n <span class=\"ecl-u-sr-only\">\n {{ 'ecl.news-ticker.NEXT-NEWS' | translate }}\n </span>\n <ecl-icon isInverted\n icon=\"corner-arrow\"\n size=\"l\"\n transform=\"rotate-90\"\n class=\"ecl-news-ticker__icon-default\"></ecl-icon>\n </button>\n <button \n eclButton \n variant=\"primary\"\n class=\"ecl-news-ticker__play\"\n [class.ecl-u-d-none]=\"playing\"\n (click)=\"startAutoplay()\">\n <span class=\"ecl-u-sr-only\">\n {{ 'ecl.news-ticker.AUTO-PLAY' | translate }}\n </span>\n <ecl-icon isInverted\n icon=\"play\"\n size=\"l\"\n class=\"ecl-news-ticker__icon-default\"></ecl-icon>\n <ecl-icon isInverted\n icon=\"play-filled\"\n size=\"l\"\n class=\"ecl-news-ticker__icon-active\"></ecl-icon>\n </button>\n <button\n eclButton \n variant=\"primary\"\n class=\"ecl-news-ticker__pause\"\n [class.ecl-u-d-none]=\"!playing\"\n (click)=\"cancelAutoplay()\">\n <span class=\"ecl-u-sr-only\">\n {{ 'ecl.news-ticker.PAUSE' | translate }}\n </span>\n <ecl-icon isInverted\n icon=\"pause\"\n size=\"l\"\n class=\"ecl-news-ticker__icon-default\"></ecl-icon>\n <ecl-icon isInverted\n icon=\"pause-filled\"\n size=\"l\"\n class=\"ecl-news-ticker__icon-active\"></ecl-icon>\n </button>\n <div class=\"ecl-news-ticker__counter\">\n <span class=\"ecl-news-ticker__counter--current\"> {{ itemIndex }}</span> \n {{ 'ecl.common.OF' | translate }}\n <span class=\"ecl-news-ticker__counter--max\">{{ itemsCount }}</span>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: EclButtonComponent, selector: "button[eclButton], button[ecl-button], a[eclButton]", inputs: ["variant", "containerStyleClass"] }, { kind: "component", type: EclIconComponent, selector: "ecl-icon", inputs: ["iconSet", "icon", "size", "color", "transform", "ariaLabelledby", "role", "isInverted", "ariaHidden", "focusable"] }, { kind: "component", type: EclNewsTickerItemComponent, selector: "ecl-news-ticker-item", outputs: ["itemFocused"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }] });
9555
9632
  __decorate([
9556
9633
  coerceBoolean
9557
9634
  ], EclNewsTickerComponent.prototype, "isAutoplay", void 0);
@@ -9560,7 +9637,7 @@ __decorate([
9560
9637
  ], EclNewsTickerComponent.prototype, "slidesContainer", void 0);
9561
9638
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: EclNewsTickerComponent, decorators: [{
9562
9639
  type: Component,
9563
- args: [{ selector: 'ecl-news-ticker', template: "<div class=\"ecl-news-ticker__container\"\n [style.height.px]=\"containerHeight\">\n <ecl-icon icon=\"information\"\n size=\"m\"\n class=\"ecl-news-ticker__icon\"></ecl-icon>\n <div class=\"ecl-news-ticker__content\"\n [style.height.px]=\"contentHeight\">\n <ul class=\"ecl-news-ticker__slides\"\n [style.transition-duration.s]=\"transitionDuration\"\n [style.transform]=\"slidesTransform\"\n #slidesContainer >\n <ecl-news-ticker-item #firstHiddenItem></ecl-news-ticker-item>\n <ng-content></ng-content>\n <ecl-news-ticker-item #lastHiddenItem></ecl-news-ticker-item>\n </ul>\n </div>\n</div>\n\n\n<div class=\"ecl-news-ticker__controls\">\n <button eclButton\n variant=\"primary\"\n class=\"ecl-news-ticker__prev\"\n (click)=\"onPrevious()\">\n <span class=\"ecl-u-sr-only\">\n {{ 'ecl.news-ticker.PREV-NEWS' | translate }}\n </span>\n <ecl-icon isInverted\n icon=\"corner-arrow\"\n size=\"l\"\n transform=\"rotate-270\"\n class=\"ecl-news-ticker__icon-default\"></ecl-icon>\n </button>\n <button eclButton\n variant=\"primary\"\n class=\"ecl-news-ticker__next\"\n (click)=\"onNext()\">\n <span class=\"ecl-u-sr-only\">\n {{ 'ecl.news-ticker.NEXT-NEWS' | translate }}\n </span>\n <ecl-icon isInverted\n icon=\"corner-arrow\"\n size=\"l\"\n transform=\"rotate-90\"\n class=\"ecl-news-ticker__icon-default\"></ecl-icon>\n </button>\n <button \n eclButton \n variant=\"primary\"\n class=\"ecl-news-ticker__play\"\n [class.ecl-u-d-none]=\"playing\"\n (click)=\"togglePlay()\">\n <span class=\"ecl-u-sr-only\">\n {{ 'ecl.news-ticker.AUTO-PLAY' | translate }}\n </span>\n <ecl-icon isInverted\n icon=\"play\"\n size=\"l\"\n class=\"ecl-news-ticker__icon-default\"></ecl-icon>\n <ecl-icon isInverted\n icon=\"play-filled\"\n size=\"l\"\n class=\"ecl-news-ticker__icon-active\"></ecl-icon>\n </button>\n <button\n eclButton \n variant=\"primary\"\n class=\"ecl-news-ticker__pause\"\n [class.ecl-u-d-none]=\"!playing\"\n (click)=\"togglePlay()\">\n <span class=\"ecl-u-sr-only\">\n {{ 'ecl.news-ticker.PAUSE' | translate }}\n </span>\n <ecl-icon isInverted\n icon=\"pause\"\n size=\"l\"\n class=\"ecl-news-ticker__icon-default\"></ecl-icon>\n <ecl-icon isInverted\n icon=\"pause-filled\"\n size=\"l\"\n class=\"ecl-news-ticker__icon-active\"></ecl-icon>\n </button>\n <div class=\"ecl-news-ticker__counter\">\n <span class=\"ecl-news-ticker__counter--current\"> {{ itemIndex }}</span> \n {{ 'ecl.common.OF' | translate }}\n <span class=\"ecl-news-ticker__counter--max\">{{ itemsCount }}</span>\n </div>\n</div>\n" }]
9640
+ args: [{ selector: 'ecl-news-ticker', template: "<div class=\"ecl-news-ticker__container\"\n [style.height.px]=\"containerHeight\">\n <ecl-icon icon=\"information\"\n size=\"m\"\n class=\"ecl-news-ticker__icon\"></ecl-icon>\n <div class=\"ecl-news-ticker__content\"\n [style.height.px]=\"contentHeight\">\n <ul class=\"ecl-news-ticker__slides\"\n [style.transition-duration.s]=\"transitionDuration\"\n [style.transform]=\"slidesTransform\"\n (mouseover)=\"onNewsTickerItemMouseOver()\"\n (mouseout)=\"onNewsTickerItemMouseOut()\"\n #slidesContainer>\n <ecl-news-ticker-item #firstHiddenItem *ngIf=\"isShowControls\"></ecl-news-ticker-item>\n <ng-content></ng-content>\n <ecl-news-ticker-item #lastHiddenItem *ngIf=\"isShowControls\"></ecl-news-ticker-item>\n </ul>\n </div>\n</div>\n\n\n<div class=\"ecl-news-ticker__controls\" *ngIf=\"isShowControls\">\n <button eclButton\n variant=\"primary\"\n class=\"ecl-news-ticker__prev\"\n (click)=\"onPrevious()\">\n <span class=\"ecl-u-sr-only\">\n {{ 'ecl.news-ticker.PREV-NEWS' | translate }}\n </span>\n <ecl-icon isInverted\n icon=\"corner-arrow\"\n size=\"l\"\n transform=\"rotate-270\"\n class=\"ecl-news-ticker__icon-default\"></ecl-icon>\n </button>\n <button eclButton\n variant=\"primary\"\n class=\"ecl-news-ticker__next\"\n (click)=\"onNext()\">\n <span class=\"ecl-u-sr-only\">\n {{ 'ecl.news-ticker.NEXT-NEWS' | translate }}\n </span>\n <ecl-icon isInverted\n icon=\"corner-arrow\"\n size=\"l\"\n transform=\"rotate-90\"\n class=\"ecl-news-ticker__icon-default\"></ecl-icon>\n </button>\n <button \n eclButton \n variant=\"primary\"\n class=\"ecl-news-ticker__play\"\n [class.ecl-u-d-none]=\"playing\"\n (click)=\"startAutoplay()\">\n <span class=\"ecl-u-sr-only\">\n {{ 'ecl.news-ticker.AUTO-PLAY' | translate }}\n </span>\n <ecl-icon isInverted\n icon=\"play\"\n size=\"l\"\n class=\"ecl-news-ticker__icon-default\"></ecl-icon>\n <ecl-icon isInverted\n icon=\"play-filled\"\n size=\"l\"\n class=\"ecl-news-ticker__icon-active\"></ecl-icon>\n </button>\n <button\n eclButton \n variant=\"primary\"\n class=\"ecl-news-ticker__pause\"\n [class.ecl-u-d-none]=\"!playing\"\n (click)=\"cancelAutoplay()\">\n <span class=\"ecl-u-sr-only\">\n {{ 'ecl.news-ticker.PAUSE' | translate }}\n </span>\n <ecl-icon isInverted\n icon=\"pause\"\n size=\"l\"\n class=\"ecl-news-ticker__icon-default\"></ecl-icon>\n <ecl-icon isInverted\n icon=\"pause-filled\"\n size=\"l\"\n class=\"ecl-news-ticker__icon-active\"></ecl-icon>\n </button>\n <div class=\"ecl-news-ticker__counter\">\n <span class=\"ecl-news-ticker__counter--current\"> {{ itemIndex }}</span> \n {{ 'ecl.common.OF' | translate }}\n <span class=\"ecl-news-ticker__counter--max\">{{ itemsCount }}</span>\n </div>\n</div>\n" }]
9564
9641
  }], ctorParameters: function () { return [{ type: i0.Renderer2 }]; }, propDecorators: { isAutoplay: [{
9565
9642
  type: Input
9566
9643
  }], itemSwitch: [{