@eui/ecl 15.0.0-rc.17 → 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.
- package/docs/components/EclAccordionComponent.html +19 -0
- package/docs/components/EclAccordionItemComponent.html +19 -0
- package/docs/components/EclAppComponent.html +19 -0
- package/docs/components/EclBlockquoteComponent.html +19 -0
- package/docs/components/EclBreadcrumbComponent.html +19 -0
- package/docs/components/EclBreadcrumbComponentBase.html +19 -0
- package/docs/components/EclBreadcrumbCoreComponent.html +19 -0
- package/docs/components/EclBreadcrumbCoreSegmentComponent.html +19 -0
- package/docs/components/EclBreadcrumbHarmonisedComponent.html +19 -0
- package/docs/components/EclBreadcrumbHarmonisedSegmentComponent.html +19 -0
- package/docs/components/EclBreadcrumbSegmentComponent.html +19 -0
- package/docs/components/EclBreadcrumbSegmentComponentBase.html +19 -0
- package/docs/components/EclBreadcrumbStandardisedComponent.html +19 -0
- package/docs/components/EclBreadcrumbStandardisedSegmentComponent.html +19 -0
- package/docs/components/EclButtonComponent.html +19 -0
- package/docs/components/EclCardBodyComponent.html +19 -0
- package/docs/components/EclCardComponent.html +19 -0
- package/docs/components/EclCarouselComponent.html +19 -0
- package/docs/components/EclCarouselItemComponent.html +19 -0
- package/docs/components/EclCategoryFilterComponent.html +19 -0
- package/docs/components/EclCategoryFilterItemComponent.html +19 -0
- package/docs/components/EclCategoryFilterListComponent.html +19 -0
- package/docs/components/EclCheckboxHelpComponent.html +19 -0
- package/docs/components/EclCheckboxLabelComponent.html +19 -0
- package/docs/components/EclContentBlockComponent.html +19 -0
- package/docs/components/EclContentItemComponent.html +19 -0
- package/docs/components/EclDateBlockComponent.html +19 -0
- package/docs/components/EclExpandableComponent.html +19 -0
- package/docs/components/EclFactFiguresComponent.html +19 -0
- package/docs/components/EclFactFiguresDescriptionComponent.html +19 -0
- package/docs/components/EclFactFiguresItemComponent.html +19 -0
- package/docs/components/EclFactFiguresTitleComponent.html +19 -0
- package/docs/components/EclFactFiguresValueComponent.html +19 -0
- package/docs/components/EclFactFiguresViewAllComponent.html +19 -0
- package/docs/components/EclFeaturedComponent.html +19 -0
- package/docs/components/EclFeaturedItemComponent.html +19 -0
- package/docs/components/EclFeaturedItemDescriptionComponent.html +19 -0
- package/docs/components/EclFileComponent.html +19 -0
- package/docs/components/EclFileItemComponent.html +19 -0
- package/docs/components/EclFileItemsComponent.html +19 -0
- package/docs/components/EclFileTaxonomyComponent.html +19 -0
- package/docs/components/EclFooterComponentBase.html +19 -0
- package/docs/components/EclFooterCoreComponent.html +19 -0
- package/docs/components/EclFooterHarmonisedComponent.html +19 -0
- package/docs/components/EclFooterStandardisedComponent.html +19 -0
- package/docs/components/EclFormGroupComponent.html +19 -0
- package/docs/components/EclFormLabelComponent.html +19 -0
- package/docs/components/EclGalleryComponent.html +19 -0
- package/docs/components/EclGalleryItemComponent.html +19 -0
- package/docs/components/EclHeroBannerComponent.html +19 -0
- package/docs/components/EclIconComponent.html +19 -0
- package/docs/components/EclInpageNavigationComponent.html +19 -0
- package/docs/components/EclInpageNavigationItemComponent.html +19 -0
- package/docs/components/EclLanguageListComponent.html +19 -0
- package/docs/components/EclLanguageListItemComponent.html +19 -0
- package/docs/components/EclListIllustrationComponent.html +19 -0
- package/docs/components/EclListIllustrationItemComponent.html +19 -0
- package/docs/components/EclMediaContainerComponent.html +19 -0
- package/docs/components/EclMenuComponent.html +19 -0
- package/docs/components/EclMenuItemComponent.html +19 -0
- package/docs/components/EclMenuMegaComponent.html +19 -0
- package/docs/components/EclMenuMegaItemComponent.html +19 -0
- package/docs/components/EclMessageComponent.html +19 -0
- package/docs/components/EclMultiselectComponent.html +19 -0
- package/docs/components/EclNavigationListComponent.html +19 -0
- package/docs/components/EclNavigationListItemComponent.html +19 -0
- package/docs/components/EclNewsTickerComponent.html +147 -6
- package/docs/components/EclNewsTickerItemComponent.html +176 -35
- package/docs/components/EclPageBannerComponent.html +19 -0
- package/docs/components/EclPageHeaderComponent.html +19 -0
- package/docs/components/EclPageHeaderComponentBase.html +19 -0
- package/docs/components/EclPageHeaderCoreComponent.html +19 -0
- package/docs/components/EclPageHeaderHarmonisedComponent.html +19 -0
- package/docs/components/EclPageHeaderStandardisedComponent.html +19 -0
- package/docs/components/EclPaginationComponent.html +19 -0
- package/docs/components/EclPaginationItemComponent.html +19 -0
- package/docs/components/EclRadioHelpComponent.html +19 -0
- package/docs/components/EclRadioLabelComponent.html +19 -0
- package/docs/components/EclRatingFieldComponent.html +19 -0
- package/docs/components/EclSearchFormComponent.html +19 -0
- package/docs/components/EclSiteFooterComponent.html +19 -0
- package/docs/components/EclSiteHeaderActionComponent.html +19 -0
- package/docs/components/EclSiteHeaderActionComponentBase.html +19 -0
- package/docs/components/EclSiteHeaderBannerTopComponent.html +19 -0
- package/docs/components/EclSiteHeaderBannerTopComponentBase.html +19 -0
- package/docs/components/EclSiteHeaderComponent.html +19 -0
- package/docs/components/EclSiteHeaderComponentBase.html +19 -0
- package/docs/components/EclSiteHeaderCoreActionComponent.html +19 -0
- package/docs/components/EclSiteHeaderCoreComponent.html +19 -0
- package/docs/components/EclSiteHeaderCoreLanguageComponent.html +19 -0
- package/docs/components/EclSiteHeaderCoreLoginComponent.html +19 -0
- package/docs/components/EclSiteHeaderCoreSearchComponent.html +19 -0
- package/docs/components/EclSiteHeaderEnvironmentComponent.html +19 -0
- package/docs/components/EclSiteHeaderHarmonisedActionComponent.html +19 -0
- package/docs/components/EclSiteHeaderHarmonisedBannerTopComponent.html +19 -0
- package/docs/components/EclSiteHeaderHarmonisedComponent.html +19 -0
- package/docs/components/EclSiteHeaderHarmonisedLanguageComponent.html +19 -0
- package/docs/components/EclSiteHeaderHarmonisedLoginComponent.html +19 -0
- package/docs/components/EclSiteHeaderHarmonisedSearchComponent.html +19 -0
- package/docs/components/EclSiteHeaderLanguageComponent.html +19 -0
- package/docs/components/EclSiteHeaderLanguageComponentBase.html +19 -0
- package/docs/components/EclSiteHeaderLoginComponent.html +19 -0
- package/docs/components/EclSiteHeaderLoginComponentBase.html +19 -0
- package/docs/components/EclSiteHeaderSearchComponent.html +19 -0
- package/docs/components/EclSiteHeaderSearchComponentBase.html +19 -0
- package/docs/components/EclSiteHeaderStandardisedActionComponent.html +19 -0
- package/docs/components/EclSiteHeaderStandardisedBannerTopComponent.html +19 -0
- package/docs/components/EclSiteHeaderStandardisedComponent.html +19 -0
- package/docs/components/EclSiteHeaderStandardisedLanguageComponent.html +19 -0
- package/docs/components/EclSiteHeaderStandardisedLoginComponent.html +19 -0
- package/docs/components/EclSiteHeaderStandardisedSearchComponent.html +19 -0
- package/docs/components/EclSocialMediaFollowComponent.html +19 -0
- package/docs/components/EclSocialMediaFollowItemComponent.html +19 -0
- package/docs/components/EclSocialMediaShareComponent.html +19 -0
- package/docs/components/EclSocialMediaShareItemComponent.html +19 -0
- package/docs/components/EclSpinnerComponent.html +19 -0
- package/docs/components/EclStickyContainerComponent.html +19 -0
- package/docs/components/EclTabComponent.html +19 -0
- package/docs/components/EclTabLabelComponent.html +19 -0
- package/docs/components/EclTabMoreComponent.html +19 -0
- package/docs/components/EclTabsComponent.html +19 -0
- package/docs/components/EclTagComponent.html +19 -0
- package/docs/components/EclTimelineComponent.html +19 -0
- package/docs/components/EclTimelineItemComponent.html +19 -0
- package/docs/components/EclTimelineItemTogglerComponent.html +19 -0
- package/docs/dependencies.html +3 -1
- package/docs/directives/ECLBaseDirective.html +97 -0
- package/docs/directives/ECLClickOutsideDirective.html +19 -0
- package/docs/directives/EclBlockquoteImageDirective.html +19 -0
- package/docs/directives/EclButtonLabelDirective.html +19 -0
- package/docs/directives/EclCardImageDirective.html +19 -0
- package/docs/directives/EclCheckboxDirective.html +19 -0
- package/docs/directives/EclCheckboxInputDirective.html +19 -0
- package/docs/directives/EclContentBlockDescriptionDirective.html +19 -0
- package/docs/directives/EclContentBlockLabelDirective.html +19 -0
- package/docs/directives/EclContentBlockLabelsDirective.html +19 -0
- package/docs/directives/EclContentBlockLinkDirective.html +19 -0
- package/docs/directives/EclContentBlockLinksContainerDirective.html +19 -0
- package/docs/directives/EclContentBlockLinksDirective.html +19 -0
- package/docs/directives/EclContentBlockListContainerDirective.html +19 -0
- package/docs/directives/EclContentBlockListDirective.html +19 -0
- package/docs/directives/EclContentBlockPrimaryMetaDirective.html +19 -0
- package/docs/directives/EclContentBlockPrimaryMetasDirective.html +19 -0
- package/docs/directives/EclContentBlockSecondaryMetaDirective.html +19 -0
- package/docs/directives/EclContentBlockSecondaryMetaIconDirective.html +19 -0
- package/docs/directives/EclContentBlockSecondaryMetaLabelDirective.html +19 -0
- package/docs/directives/EclContentBlockSecondaryMetasDirective.html +19 -0
- package/docs/directives/EclContentBlockTagDirective.html +19 -0
- package/docs/directives/EclContentBlockTagsDirective.html +19 -0
- package/docs/directives/EclContentBlockTitleDirective.html +19 -0
- package/docs/directives/EclContentItemImageDirective.html +19 -0
- package/docs/directives/EclContentItemPictureDirective.html +19 -0
- package/docs/directives/EclDatePickerDirective.html +19 -0
- package/docs/directives/EclDescriptionListDefinitionDirective.html +19 -0
- package/docs/directives/EclDescriptionListDefinitionItemDirective.html +19 -0
- package/docs/directives/EclDescriptionListDirective.html +19 -0
- package/docs/directives/EclDescriptionListTermDirective.html +19 -0
- package/docs/directives/EclFeaturedItemLinkDirective.html +19 -0
- package/docs/directives/EclFeedbackMessageDirective.html +19 -0
- package/docs/directives/EclFileUploadDirective.html +19 -0
- package/docs/directives/EclFooterCoreColumntDirective.html +19 -0
- package/docs/directives/EclFooterCoreDescriptionDirective.html +19 -0
- package/docs/directives/EclFooterCoreLinkDirective.html +19 -0
- package/docs/directives/EclFooterCoreListDirective.html +19 -0
- package/docs/directives/EclFooterCoreSectionDirective.html +19 -0
- package/docs/directives/EclFooterCoreTitleDirective.html +19 -0
- package/docs/directives/EclFooterCoreTitleLinkDirective.html +19 -0
- package/docs/directives/EclFooterHarmonisedColumnDirective.html +19 -0
- package/docs/directives/EclFooterHarmonisedContentDirective.html +19 -0
- package/docs/directives/EclFooterHarmonisedDescriptionDirective.html +19 -0
- package/docs/directives/EclFooterHarmonisedLinkDirective.html +19 -0
- package/docs/directives/EclFooterHarmonisedListDirective.html +19 -0
- package/docs/directives/EclFooterHarmonisedListItemDirective.html +19 -0
- package/docs/directives/EclFooterHarmonisedLogoDirective.html +19 -0
- package/docs/directives/EclFooterHarmonisedLogoImageDesktopDirective.html +19 -0
- package/docs/directives/EclFooterHarmonisedLogoItemDirective.html +19 -0
- package/docs/directives/EclFooterHarmonisedLogoLinkDirective.html +19 -0
- package/docs/directives/EclFooterHarmonisedLogoListDirective.html +19 -0
- package/docs/directives/EclFooterHarmonisedRowDirective.html +19 -0
- package/docs/directives/EclFooterHarmonisedSectionDirective.html +19 -0
- package/docs/directives/EclFooterStandardisedColumnDirective.html +19 -0
- package/docs/directives/EclFooterStandardisedContentDirective.html +19 -0
- package/docs/directives/EclFooterStandardisedDescriptionDirective.html +19 -0
- package/docs/directives/EclFooterStandardisedLinkDirective.html +19 -0
- package/docs/directives/EclFooterStandardisedLogoImageDesktopDirective.html +19 -0
- package/docs/directives/EclFooterStandardisedLogoLinkDirective.html +19 -0
- package/docs/directives/EclFooterStandardisedRowDirective.html +19 -0
- package/docs/directives/EclFooterStandardisedSectionDirective.html +19 -0
- package/docs/directives/EclGalleryMediaDirective.html +19 -0
- package/docs/directives/EclHelpBlockDirective.html +19 -0
- package/docs/directives/EclHeroBannerCreditDirective.html +19 -0
- package/docs/directives/EclHeroBannerCtaLinkDirective.html +19 -0
- package/docs/directives/EclHeroBannerDescriptionDirective.html +19 -0
- package/docs/directives/EclHeroBannerTitleDirective.html +19 -0
- package/docs/directives/EclHiddenDirective.html +19 -0
- package/docs/directives/EclLabelDirective.html +19 -0
- package/docs/directives/EclLinkDirective.html +89 -1
- package/docs/directives/EclLinkLabelDirective.html +19 -0
- package/docs/directives/EclListIllustrationIconDirective.html +19 -0
- package/docs/directives/EclListIllustrationImageDirective.html +19 -0
- package/docs/directives/EclMediaContainerItemDirective.html +19 -0
- package/docs/directives/EclMessageTitleDirective.html +19 -0
- package/docs/directives/EclMultiselectOptionDirective.html +19 -0
- package/docs/directives/EclNavigationListImageDirective.html +19 -0
- package/docs/directives/EclOrderedListDirective.html +19 -0
- package/docs/directives/EclOrderedListItemDirective.html +19 -0
- package/docs/directives/EclPageBannerCreditDirective.html +19 -0
- package/docs/directives/EclPageBannerCtaLinkDirective.html +19 -0
- package/docs/directives/EclPageBannerDescriptionDirective.html +19 -0
- package/docs/directives/EclPageBannerTitleDirective.html +19 -0
- package/docs/directives/EclPageHeaderCoreDescriptionContainerDirective.html +19 -0
- package/docs/directives/EclPageHeaderCoreDescriptionDirective.html +19 -0
- package/docs/directives/EclPageHeaderCoreDescriptionThumbnailDirective.html +19 -0
- package/docs/directives/EclPageHeaderCoreMetaDirective.html +19 -0
- package/docs/directives/EclPageHeaderCoreMetaItemDirective.html +19 -0
- package/docs/directives/EclPageHeaderCoreTitleDirective.html +19 -0
- package/docs/directives/EclPageHeaderDescriptionContainerDirective.html +19 -0
- package/docs/directives/EclPageHeaderDescriptionDirective.html +19 -0
- package/docs/directives/EclPageHeaderDescriptionThumbnailDirective.html +19 -0
- package/docs/directives/EclPageHeaderHarmonisedDescriptionContainerDirective.html +19 -0
- package/docs/directives/EclPageHeaderHarmonisedDescriptionDirective.html +19 -0
- package/docs/directives/EclPageHeaderHarmonisedDescriptionThumbnailDirective.html +19 -0
- package/docs/directives/EclPageHeaderHarmonisedMetaDirective.html +19 -0
- package/docs/directives/EclPageHeaderHarmonisedMetaItemDirective.html +19 -0
- package/docs/directives/EclPageHeaderHarmonisedTitleDirective.html +19 -0
- package/docs/directives/EclPageHeaderMetaDirective.html +19 -0
- package/docs/directives/EclPageHeaderMetaItemDirective.html +19 -0
- package/docs/directives/EclPageHeaderStandardisedDescriptionContainerDirective.html +19 -0
- package/docs/directives/EclPageHeaderStandardisedDescriptionDirective.html +19 -0
- package/docs/directives/EclPageHeaderStandardisedDescriptionThumbnailDirective.html +19 -0
- package/docs/directives/EclPageHeaderStandardisedMetaDirective.html +19 -0
- package/docs/directives/EclPageHeaderStandardisedMetaItemDirective.html +19 -0
- package/docs/directives/EclPageHeaderStandardisedTitleDirective.html +19 -0
- package/docs/directives/EclPageHeaderTitleDirective.html +19 -0
- package/docs/directives/EclRadioDirective.html +19 -0
- package/docs/directives/EclRadioInputDirective.html +19 -0
- package/docs/directives/EclSelectDirective.html +19 -0
- package/docs/directives/EclSiteFooterColumnDirective.html +19 -0
- package/docs/directives/EclSiteFooterContentDirective.html +19 -0
- package/docs/directives/EclSiteFooterDescriptionDirective.html +19 -0
- package/docs/directives/EclSiteFooterLinkDirective.html +19 -0
- package/docs/directives/EclSiteFooterListDirective.html +19 -0
- package/docs/directives/EclSiteFooterListItemDirective.html +19 -0
- package/docs/directives/EclSiteFooterLogoDirective.html +19 -0
- package/docs/directives/EclSiteFooterLogoImageDesktopDirective.html +19 -0
- package/docs/directives/EclSiteFooterLogoItemDirective.html +19 -0
- package/docs/directives/EclSiteFooterLogoLinkDirective.html +19 -0
- package/docs/directives/EclSiteFooterLogoListDirective.html +19 -0
- package/docs/directives/EclSiteFooterRowDirective.html +19 -0
- package/docs/directives/EclSiteFooterSectionDirective.html +19 -0
- package/docs/directives/EclSiteFooterTitleDirective.html +19 -0
- package/docs/directives/EclSiteFooterTitleLinkDirective.html +19 -0
- package/docs/directives/EclSiteHeaderCoreLoginDescriptionDirective.html +19 -0
- package/docs/directives/EclSiteHeaderCoreLoginSeparatorDirective.html +19 -0
- package/docs/directives/EclSiteHeaderHarmonisedLoginDescriptionDirective.html +19 -0
- package/docs/directives/EclSiteHeaderHarmonisedLoginSeparatorDirective.html +19 -0
- package/docs/directives/EclSiteHeaderLoginDescriptionDirective.html +19 -0
- package/docs/directives/EclSiteHeaderLoginSeparatorDirective.html +19 -0
- package/docs/directives/EclSiteHeaderStandardisedCtaDirective.html +19 -0
- package/docs/directives/EclSiteHeaderStandardisedLoginDescriptionDirective.html +19 -0
- package/docs/directives/EclSiteHeaderStandardisedLoginSeparatorDirective.html +19 -0
- package/docs/directives/EclTableBodyDirective.html +19 -0
- package/docs/directives/EclTableCellDirective.html +19 -0
- package/docs/directives/EclTableCellGroupDirective.html +19 -0
- package/docs/directives/EclTableDirective.html +19 -0
- package/docs/directives/EclTableHeadDirective.html +19 -0
- package/docs/directives/EclTableHeaderDirective.html +19 -0
- package/docs/directives/EclTableRowDirective.html +19 -0
- package/docs/directives/EclTextAreaDirective.html +19 -0
- package/docs/directives/EclTextInputDirective.html +19 -0
- package/docs/directives/EclTimelineItemLabelDirective.html +19 -0
- package/docs/directives/EclTimelineItemTitleDirective.html +19 -0
- package/docs/directives/EclUnorderedListDirective.html +19 -0
- package/docs/directives/EclUnorderedListItemDirective.html +19 -0
- package/docs/js/search/search_index.js +2 -2
- package/esm2020/lib/components/ecl-base.directive.mjs +12 -2
- package/esm2020/lib/components/ecl-link/ecl-link.directive.mjs +10 -6
- package/esm2020/lib/components/ecl-news-ticker/ecl-news-ticker-item.component.mjs +48 -8
- package/esm2020/lib/components/ecl-news-ticker/ecl-news-ticker.component.mjs +46 -19
- package/fesm2015/eui-ecl.mjs +103 -26
- package/fesm2015/eui-ecl.mjs.map +1 -1
- package/fesm2020/eui-ecl.mjs +103 -26
- package/fesm2020/eui-ecl.mjs.map +1 -1
- package/lib/components/ecl-base.directive.d.ts +5 -1
- package/lib/components/ecl-base.directive.d.ts.map +1 -1
- package/lib/components/ecl-link/ecl-link.directive.d.ts +4 -2
- package/lib/components/ecl-link/ecl-link.directive.d.ts.map +1 -1
- package/lib/components/ecl-news-ticker/ecl-news-ticker-item.component.d.ts +13 -5
- package/lib/components/ecl-news-ticker/ecl-news-ticker-item.component.d.ts.map +1 -1
- package/lib/components/ecl-news-ticker/ecl-news-ticker.component.d.ts +7 -2
- package/lib/components/ecl-news-ticker/ecl-news-ticker.component.d.ts.map +1 -1
- package/package.json +1 -1
package/fesm2020/eui-ecl.mjs
CHANGED
|
@@ -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:
|
|
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 {
|
|
@@ -9333,37 +9346,76 @@ class EclNewsTickerItemComponent extends ECLBaseDirective {
|
|
|
9333
9346
|
constructor(el) {
|
|
9334
9347
|
super();
|
|
9335
9348
|
this.el = el;
|
|
9336
|
-
this.
|
|
9349
|
+
this.itemFocused = new EventEmitter();
|
|
9337
9350
|
this.role = 'listitem';
|
|
9351
|
+
this._isCurrent = false;
|
|
9352
|
+
this.destroy$ = new Subject();
|
|
9338
9353
|
}
|
|
9339
9354
|
get cssClasses() {
|
|
9340
9355
|
return [
|
|
9341
9356
|
super.getCssClasses('ecl-news-ticker__slide'),
|
|
9342
9357
|
].join(' ').trim();
|
|
9343
9358
|
}
|
|
9359
|
+
get isCurrent() {
|
|
9360
|
+
return this._isCurrent;
|
|
9361
|
+
}
|
|
9362
|
+
set isCurrent(value) {
|
|
9363
|
+
this._isCurrent = value;
|
|
9364
|
+
if (this.eclLink) {
|
|
9365
|
+
this.setLinkTabindex();
|
|
9366
|
+
}
|
|
9367
|
+
}
|
|
9368
|
+
get isAriahidden() {
|
|
9369
|
+
return !this.isCurrent || undefined;
|
|
9370
|
+
}
|
|
9371
|
+
get isInert() {
|
|
9372
|
+
return !this.isCurrent || undefined;
|
|
9373
|
+
}
|
|
9344
9374
|
ngAfterContentInit() {
|
|
9345
9375
|
if (this.eclLink) {
|
|
9346
9376
|
this.eclLink.class = 'ecl-news-ticker__slide-text';
|
|
9347
9377
|
}
|
|
9378
|
+
if (this.eclLink) {
|
|
9379
|
+
fromEvent(this.eclLink.el.nativeElement, 'focus').pipe(takeUntil(this.destroy$)).subscribe(() => {
|
|
9380
|
+
this.itemFocused.emit();
|
|
9381
|
+
});
|
|
9382
|
+
}
|
|
9383
|
+
}
|
|
9384
|
+
ngOnDestroy() {
|
|
9385
|
+
this.destroy$.next(true);
|
|
9386
|
+
this.destroy$.unsubscribe();
|
|
9387
|
+
}
|
|
9388
|
+
setLinkTabindex() {
|
|
9389
|
+
if (this._isCurrent) {
|
|
9390
|
+
this.eclLink.tabindex = null;
|
|
9391
|
+
}
|
|
9392
|
+
else {
|
|
9393
|
+
this.eclLink.tabindex = -1;
|
|
9394
|
+
}
|
|
9348
9395
|
}
|
|
9349
9396
|
}
|
|
9350
9397
|
/** @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 });
|
|
9351
|
-
/** @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.
|
|
9398
|
+
/** @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" });
|
|
9352
9399
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: EclNewsTickerItemComponent, decorators: [{
|
|
9353
9400
|
type: Component,
|
|
9354
9401
|
args: [{ selector: 'ecl-news-ticker-item', template: "<ng-content></ng-content>\n" }]
|
|
9355
9402
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { eclLink: [{
|
|
9356
9403
|
type: ContentChild,
|
|
9357
9404
|
args: [EclLinkDirective]
|
|
9405
|
+
}], itemFocused: [{
|
|
9406
|
+
type: Output
|
|
9358
9407
|
}], cssClasses: [{
|
|
9359
9408
|
type: HostBinding,
|
|
9360
9409
|
args: ['class']
|
|
9361
|
-
}], ariaHidden: [{
|
|
9362
|
-
type: HostBinding,
|
|
9363
|
-
args: ['attr.aria-hidden']
|
|
9364
9410
|
}], role: [{
|
|
9365
9411
|
type: HostBinding,
|
|
9366
9412
|
args: ['attr.role']
|
|
9413
|
+
}], isAriahidden: [{
|
|
9414
|
+
type: HostBinding,
|
|
9415
|
+
args: ['attr.aria-hidden']
|
|
9416
|
+
}], isInert: [{
|
|
9417
|
+
type: HostBinding,
|
|
9418
|
+
args: ['attr.inert']
|
|
9367
9419
|
}] } });
|
|
9368
9420
|
|
|
9369
9421
|
class EclNewsTickerItemEvent extends EclBaseEvent {
|
|
@@ -9383,6 +9435,8 @@ class EclNewsTickerComponent extends ECLBaseDirective {
|
|
|
9383
9435
|
this.slidesTransform = '';
|
|
9384
9436
|
this.PLAY_INTERVAL = 5000;
|
|
9385
9437
|
this.INIT_DELAY = 300;
|
|
9438
|
+
this.pausePlay = false;
|
|
9439
|
+
this.destroy$ = new Subject();
|
|
9386
9440
|
}
|
|
9387
9441
|
get cssClasses() {
|
|
9388
9442
|
return [
|
|
@@ -9394,6 +9448,7 @@ class EclNewsTickerComponent extends ECLBaseDirective {
|
|
|
9394
9448
|
get itemsCount() {
|
|
9395
9449
|
return this.newsTickerItems.length;
|
|
9396
9450
|
}
|
|
9451
|
+
get isShowControls() { return this.newsTickerItems.length > 1; }
|
|
9397
9452
|
onResize(event) {
|
|
9398
9453
|
setTimeout(() => {
|
|
9399
9454
|
this.resizeTicker();
|
|
@@ -9404,12 +9459,22 @@ class EclNewsTickerComponent extends ECLBaseDirective {
|
|
|
9404
9459
|
setTimeout(() => {
|
|
9405
9460
|
this.initContainer();
|
|
9406
9461
|
}, this.INIT_DELAY);
|
|
9462
|
+
this.newsTickerItems.forEach(item => {
|
|
9463
|
+
item.itemFocused.pipe(takeUntil(this.destroy$))
|
|
9464
|
+
.subscribe(() => {
|
|
9465
|
+
this.cancelAutoplay();
|
|
9466
|
+
});
|
|
9467
|
+
});
|
|
9407
9468
|
}
|
|
9408
9469
|
ngOnDestroy() {
|
|
9409
9470
|
if (this.intervalId) {
|
|
9410
9471
|
clearInterval(this.intervalId);
|
|
9411
9472
|
}
|
|
9412
|
-
this.unsubscribeListener
|
|
9473
|
+
if (this.unsubscribeListener) {
|
|
9474
|
+
this.unsubscribeListener();
|
|
9475
|
+
}
|
|
9476
|
+
this.destroy$.next(true);
|
|
9477
|
+
this.destroy$.unsubscribe();
|
|
9413
9478
|
}
|
|
9414
9479
|
onPrevious() {
|
|
9415
9480
|
this.cancelAutoplay();
|
|
@@ -9439,14 +9504,9 @@ class EclNewsTickerComponent extends ECLBaseDirective {
|
|
|
9439
9504
|
}
|
|
9440
9505
|
this.itemSwitch.next(new EclNewsTickerItemEvent(this.itemIndex));
|
|
9441
9506
|
}
|
|
9442
|
-
|
|
9443
|
-
|
|
9444
|
-
|
|
9445
|
-
}
|
|
9446
|
-
else {
|
|
9447
|
-
clearInterval(this.intervalId);
|
|
9448
|
-
}
|
|
9449
|
-
this.playing = !this.playing;
|
|
9507
|
+
startAutoplay() {
|
|
9508
|
+
this.playing = true;
|
|
9509
|
+
this.intervalId = setInterval(() => this.nextSlide(), this.PLAY_INTERVAL);
|
|
9450
9510
|
}
|
|
9451
9511
|
cancelAutoplay() {
|
|
9452
9512
|
if (this.intervalId) {
|
|
@@ -9454,6 +9514,18 @@ class EclNewsTickerComponent extends ECLBaseDirective {
|
|
|
9454
9514
|
}
|
|
9455
9515
|
this.playing = false;
|
|
9456
9516
|
}
|
|
9517
|
+
onNewsTickerItemMouseOver() {
|
|
9518
|
+
if (this.playing) {
|
|
9519
|
+
this.pausePlay = true;
|
|
9520
|
+
this.cancelAutoplay();
|
|
9521
|
+
}
|
|
9522
|
+
}
|
|
9523
|
+
onNewsTickerItemMouseOut() {
|
|
9524
|
+
if (this.pausePlay) {
|
|
9525
|
+
this.pausePlay = false;
|
|
9526
|
+
this.startAutoplay();
|
|
9527
|
+
}
|
|
9528
|
+
}
|
|
9457
9529
|
moveSlides(item, withTransition) {
|
|
9458
9530
|
if (item) {
|
|
9459
9531
|
const newOffset = item.el.nativeElement.offsetTop;
|
|
@@ -9465,13 +9537,18 @@ class EclNewsTickerComponent extends ECLBaseDirective {
|
|
|
9465
9537
|
}
|
|
9466
9538
|
}
|
|
9467
9539
|
initContainer() {
|
|
9540
|
+
if (this.newsTickerItems.length === 1) {
|
|
9541
|
+
this.resizeTicker();
|
|
9542
|
+
this.moveSlides(this.getFirstItem(this.newsTickerItems.toArray()), false);
|
|
9543
|
+
return;
|
|
9544
|
+
}
|
|
9468
9545
|
this.firstHiddenItem.el.nativeElement.innerHTML = this.getLastContentChild();
|
|
9469
9546
|
this.lastHiddenItem.el.nativeElement.innerHTML = this.getFirstContentChild();
|
|
9470
9547
|
this.unsubscribeListener = this.renderer2.listen(this.slidesContainer, 'transitionend', () => this.checkIndex());
|
|
9471
9548
|
this.resizeTicker();
|
|
9472
9549
|
this.moveSlides(this.getFirstItem(this.newsTickerItems.toArray()), false);
|
|
9473
9550
|
if (this.isAutoplay) {
|
|
9474
|
-
this.
|
|
9551
|
+
this.startAutoplay();
|
|
9475
9552
|
}
|
|
9476
9553
|
}
|
|
9477
9554
|
checkIndex() {
|
|
@@ -9518,15 +9595,15 @@ class EclNewsTickerComponent extends ECLBaseDirective {
|
|
|
9518
9595
|
}
|
|
9519
9596
|
setCurrentSlide(currentItem) {
|
|
9520
9597
|
this.newsTickerItems.forEach(item => {
|
|
9521
|
-
item.
|
|
9598
|
+
item.isCurrent = false;
|
|
9522
9599
|
if (item === currentItem) {
|
|
9523
|
-
item.
|
|
9600
|
+
item.isCurrent = true;
|
|
9524
9601
|
}
|
|
9525
9602
|
});
|
|
9526
9603
|
}
|
|
9527
9604
|
}
|
|
9528
9605
|
/** @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 });
|
|
9529
|
-
/** @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
|
|
9606
|
+
/** @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" }] });
|
|
9530
9607
|
__decorate([
|
|
9531
9608
|
coerceBoolean
|
|
9532
9609
|
], EclNewsTickerComponent.prototype, "isAutoplay", void 0);
|
|
@@ -9535,7 +9612,7 @@ __decorate([
|
|
|
9535
9612
|
], EclNewsTickerComponent.prototype, "slidesContainer", void 0);
|
|
9536
9613
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: EclNewsTickerComponent, decorators: [{
|
|
9537
9614
|
type: Component,
|
|
9538
|
-
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
|
|
9615
|
+
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" }]
|
|
9539
9616
|
}], ctorParameters: function () { return [{ type: i0.Renderer2 }]; }, propDecorators: { isAutoplay: [{
|
|
9540
9617
|
type: Input
|
|
9541
9618
|
}], itemSwitch: [{
|